@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505021607 → 0.7.0-nightly.202505041606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3b7069=_0xec61;(function(_0x446be9,_0x13fd52){const _0x1b2049=_0xec61,_0x32c5b8=_0x446be9();while(!![]){try{const _0x1a349b=parseInt(_0x1b2049(0x27c))/0x1+-parseInt(_0x1b2049(0x15d))/0x2+parseInt(_0x1b2049(0x1c6))/0x3*(parseInt(_0x1b2049(0x1ff))/0x4)+-parseInt(_0x1b2049(0x263))/0x5*(parseInt(_0x1b2049(0x2a5))/0x6)+-parseInt(_0x1b2049(0x267))/0x7*(-parseInt(_0x1b2049(0x293))/0x8)+parseInt(_0x1b2049(0x30d))/0x9+parseInt(_0x1b2049(0x23b))/0xa;if(_0x1a349b===_0x13fd52)break;else _0x32c5b8['push'](_0x32c5b8['shift']());}catch(_0x2b6f27){_0x32c5b8['push'](_0x32c5b8['shift']());}}}(_0x7593,0x6948a));var $t=Object[_0x3b7069(0x1d8)],xt=(_0x25aa40,_0x432d74,_0x26bb62)=>_0x432d74 in _0x25aa40?$t(_0x25aa40,_0x432d74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26bb62}):_0x25aa40[_0x432d74]=_0x26bb62,_=(_0x2c2742,_0x50f24d,_0x28cda5)=>xt(_0x2c2742,typeof _0x50f24d!=_0x3b7069(0x32b)?_0x50f24d+'':_0x50f24d,_0x28cda5);import{MemberService as _0x1a0112,SessionStatus as _0xeaf30f,CollaborationSessionService as _0x4ec459,CollaborationStatus as _0xbbad33,CollaborationController as _0x5d7669,ILocalCacheService as _0x244f63,CollaborationUIEventService as _0xcb51bc,CollaborationUIEventId as _0x581134,DataLoaderService as _0x26ce16,DocCollaborationEntity as _0x1c3065,getLocalCacheKey as _0x436111,LOCAL_CACHE_INTERVAL as _0x2a96d2,LOCAL_CACHE_INTERVAL_KEY as _0x19bc1e,UniverCollaborationClientPlugin as _0x4af92b,CollaborationSocketService as _0x3fa99f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x551170,DEFAULT_WS_SESSION_TICKET_URL as _0x1595e3,UnitStatus as _0x15d495,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x122358,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x18b7dd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x42b55d,Disposable as _0x2a6f43,DOC_RANGE_TYPE as _0x26cbe3,Inject as _0x2eb28e,Injector as _0x542e55,IUniverInstanceService as _0x5123ac,ICommandService as _0x165616,debounce as _0x9181b4,Rectangle as _0x56636b,DisposableCollection as _0x349bc7,toDisposable as _0x11e171,UniverInstanceType as _0x24a141,Tools as _0x52fcfb,COLORS as _0x250374,ColorKit as _0x1e30eb,ThemeService as _0x27c001,fromEventSubject as _0xe55a90,LocaleService as _0x13db92,createIdentifier as _0x2f6d96,ILogService as _0x895744,Optional as _0x3dd4f8,Workbook as _0x1c4acf,CommandType as _0x45c558,IConfigService as _0x5cf7bf,ILocalStorageService as _0x214c51,DependentOn as _0x2d5c2d,Plugin as _0x53763e,merge as _0x544f55,registerDependencies as _0x26a3e0,mergeOverrideWithDependencies as _0x5dd68d,touchDependencies as _0x570e94,generateRandomId as _0x5f4ef5}from'@univerjs/core';import{Shape as _0x595286,Rect as _0x41dfde,getColor as _0xb9e122,RegularPolygon as _0x36c5ab,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b2a7c,Vector2 as _0x4f7d1a,SHEET_VIEWPORT_KEY as _0x340180,IRenderManagerService as _0x5aabf0}from'@univerjs/engine-render';import{ISocketService as _0x36f1ae,WebSocketService as _0x1e760b,HTTPService as _0x54d883}from'@univerjs/network';import{IDocClipboardService as _0x6d8cdf,NodePositionConvertToCursor as _0x19ecb0,NodePositionConvertToRectRange as _0x136b60,TEXT_RANGE_LAYER_INDEX as _0x2fca54,SetDocZoomRatioOperation as _0x5b58d2,DocIMEInputManagerService as _0x2b5571,DocStateChangeManagerService as _0x4354e7}from'@univerjs/docs-ui';import{IImageIoService as _0x5a824e}from'@univerjs/drawing';import{BehaviorSubject as _0x1ca0e1,debounceTime as _0x52f644,takeUntil as _0x53aa4f,Subject as _0x3bcba6,filter as _0x44ce06,switchMap as _0xa39a1a,merge as _0x5a4399,combineLatest as _0x11d3d0,of as _0x3a7a99,fromEvent as _0x15a092,shareReplay as _0x138b5a,mapTo as _0x513b7b,distinctUntilChanged as _0x52a543}from'rxjs';import{SetTextSelectionsOperation as _0x5811a2,RichTextEditingMutation as _0x52b5f4,DocSelectionManagerService as _0x338695,DocSkeletonManagerService as _0x63e1fe}from'@univerjs/docs';import{ITransformService as _0x25c7bb,CollaborationEvent as _0x531fb4,isTransformMutationFailure as _0x33b899,isTransformMutationsWithChangesetSuccess as _0x360590,RevisionService as _0x2b3960,ISnapshotServerService as _0x2d33d0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x33ed1c,serializeRangeWithSheet as _0xc3548e}from'@univerjs/engine-formula';import{RefRangeService as _0x5873ad,SetSelectionsOperation as _0x443098,SheetsSelectionsService as _0x4166d1,EffectRefRangId as _0x440696,handleIRemoveRow as _0x5a4b68,handleIRemoveCol as _0x1d9791,handleMoveRange as _0x5ebb9b,handleInsertRow as _0x5daebb,handleInsertRangeMoveRight as _0x2445a6,handleInsertRangeMoveDown as _0x45f674,handleInsertCol as _0x647636,handleDeleteRangeMoveUp as _0x4b57a7,handleDeleteRangeMoveLeft as _0x4874fd,runRefRangeMutations as _0x4b660,SetWorksheetActivateCommand as _0x5ab3e3}from'@univerjs/sheets';import{map as _0x1e7307,filter as _0x390658,throttleTime as _0x4cf799,takeUntil as _0x22b71e,switchMap as _0x56af00}from'rxjs/operators';import{SheetSkeletonManagerService as _0x15beaa,getCoordByCell as _0x2a94a5,getSheetObject as _0x114a43}from'@univerjs/sheets-ui';import{jsx as _0x26857e,jsxs as _0x55067f}from'react/jsx-runtime';import{useObservable as _0x24e304,useDependency as _0x1be28e,IUIPartsService as _0x3a8e0c,BuiltInUIPart as _0x60d367,connectInjector as _0x2935ff,IBeforeCloseService as _0x2a626f,IMessageService as _0x3d24af,INotificationService as _0x440292}from'@univerjs/ui';import{Tooltip as _0xa4146e,clsx as _0x58b853,MessageType as _0x5a2a4a}from'@univerjs/design';import{forwardRef as _0x5940ab,useRef as _0xc65301,createElement as _0x5dfcb2,useCallback as _0x11ad7a}from'react';import{IRemoteInstanceService as _0x293cb2}from'@univerjs/rpc';var ci=Object[_0x3b7069(0x325)],li=(_0x277632,_0x420e8f,_0x42889a,_0x103c3f)=>{for(var _0x34bf70=_0x103c3f>0x1?void 0x0:_0x103c3f?ci(_0x420e8f,_0x42889a):_0x420e8f,_0x3e4f0e=_0x277632['length']-0x1,_0x4bbeda;_0x3e4f0e>=0x0;_0x3e4f0e--)(_0x4bbeda=_0x277632[_0x3e4f0e])&&(_0x34bf70=_0x4bbeda(_0x34bf70)||_0x34bf70);return _0x34bf70;},Je=(_0x258da1,_0x5f00df)=>(_0x407b47,_0x21c1e4)=>_0x5f00df(_0x407b47,_0x21c1e4,_0x258da1);let Ne=class extends _0x42b55d{constructor(_0x129541,_0x50c3b9){const _0x3db792=_0x3b7069;super(),this[_0x3db792(0x18b)]=_0x129541,this[_0x3db792(0x2f2)]=_0x50c3b9,this['_init']();}['_init'](){const _0x18c3cd=_0x3b7069,_0x6383fc=this;this[_0x18c3cd(0x261)](this[_0x18c3cd(0x18b)][_0x18c3cd(0x2d8)]({'onBeforePasteImage':async _0x6ddca9=>{const _0x5f294e=_0x18c3cd,_0x19c815=await _0x6383fc['_imageIoService'][_0x5f294e(0x247)](_0x6ddca9);return _0x19c815?{'source':_0x19c815[_0x5f294e(0x270)],'imageSourceType':_0x19c815[_0x5f294e(0x1fb)]}:null;}}));}};Ne=li([Je(0x0,_0x6d8cdf),Je(0x1,_0x5a824e)],Ne);const Ze=[_0x3b7069(0x2c3),_0x3b7069(0x2ce),_0x3b7069(0x1bb),_0x3b7069(0x272),_0x3b7069(0x15a),'gold400'];class ke extends _0x2a6f43{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x3b7069(0x31d)](_0x5de16b){const _0x194103=_0x3b7069;if(this[_0x194103(0x24e)][_0x194103(0x328)](_0x5de16b))return this[_0x194103(0x24e)]['get'](_0x5de16b);const _0x36e78c=Ze[this[_0x194103(0x2ab)]];return this[_0x194103(0x2ab)]=(this[_0x194103(0x2ab)]+0x1)%Ze[_0x194103(0x1f5)],this[_0x194103(0x24e)]['set'](_0x5de16b,_0x36e78c),_0x36e78c;}}function Tt(_0x4e22c1){let _0xdc48a6='';for(const _0x42b760 of _0x4e22c1){const {startOffset:_0x2420be,endOffset:_0x2a2bf0,isActive:_0x2e7312,rangeType:_0x1b1e4e,segmentId:_0x2a0f9a,segmentPage:_0xcea4e3}=_0x42b760;_0xdc48a6['length']&&(_0xdc48a6+=','),_0xdc48a6+=_0x2420be+':'+_0x2a2bf0+':'+(_0x2e7312?'1':'0')+':'+_0x1b1e4e+':'+_0x2a0f9a+':'+_0xcea4e3;}return _0xdc48a6;}function _i(_0x7dff41){const _0x589e63=_0x3b7069,_0x272589=_0x7dff41[_0x589e63(0x15f)](','),_0x2fe8bd=[];for(const _0xa56ca0 of _0x272589){const [_0x583022,_0x101f82,_0x201072,_0x36071c,_0x4a6d69,_0x17f272]=_0xa56ca0['split'](':');_0x2fe8bd[_0x589e63(0x2c5)]({'startOffset':Number(_0x583022),'endOffset':Number(_0x101f82),'collapsed':_0x583022===_0x101f82,'isActive':_0x201072==='1','rangeType':_0x36071c===_0x26cbe3['TEXT']?_0x26cbe3[_0x589e63(0x250)]:_0x26cbe3[_0x589e63(0x1e0)],'segmentId':typeof _0x4a6d69==_0x589e63(0x321)?String(_0x4a6d69):'','segmentPage':Number(_0x17f272!=null?_0x17f272:-0x1)});}return _0x2fe8bd['some'](_0x44e49b=>_0x44e49b[_0x589e63(0x231)])||(_0x2fe8bd[0x0][_0x589e63(0x231)]=!0x0),_0x2fe8bd;}class He extends _0x42b55d{constructor(){const _0x3470e7=_0x3b7069;super(...arguments),_(this,_0x3470e7(0x357),new _0x1ca0e1(null)),_(this,_0x3470e7(0x268),this[_0x3470e7(0x357)][_0x3470e7(0x2c2)]());}[_0x3b7069(0x27a)](_0x334389){const {unitID:_0x20e90c,memberID:_0x4d7819,textRanges:_0x3e9282}=_0x334389,_0x227dad=Tt(_0x3e9282);if(_0x227dad==='')return;const _0x1a4d6c={'unitID':_0x20e90c,'memberID':_0x4d7819,'selection':_0x227dad};this['_collabCursorState$']['next'](_0x1a4d6c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2be18b,_0x35a146,_0x9be3c,_0x38fd4f)=>{for(var _0x4954c6=_0x38fd4f>0x1?void 0x0:_0x38fd4f?hi(_0x35a146,_0x9be3c):_0x35a146,_0x28fda0=_0x2be18b['length']-0x1,_0x56d451;_0x28fda0>=0x0;_0x28fda0--)(_0x56d451=_0x2be18b[_0x28fda0])&&(_0x4954c6=_0x56d451(_0x4954c6)||_0x4954c6);return _0x4954c6;},L=(_0x2129c9,_0x278369)=>(_0xafe3a4,_0x46b9e6)=>_0x278369(_0xafe3a4,_0x46b9e6,_0x2129c9);const di=0x12c,fi=0x64;let Ue=class extends _0x42b55d{constructor(_0x53f86e,_0x490174,_0x39fca9,_0x15d7db,_0x599105,_0x5a77c2,_0x45da7e,_0x8c6f15,_0x5a7833){const _0x153b55=_0x3b7069;super(),_(this,_0x153b55(0x234),!0x1),_(this,_0x153b55(0x353),!0x1),_(this,_0x153b55(0x224),new _0x1ca0e1(new Map())),_(this,_0x153b55(0x291),this[_0x153b55(0x224)][_0x153b55(0x2c2)]()),_(this,_0x153b55(0x330),new _0x1ca0e1([])),_(this,'roomMembers$',this[_0x153b55(0x330)]['pipe'](_0x52f644(di))),_(this,_0x153b55(0x30b),_0x9181b4(_0x24b732=>{const _0x1a1f0d=_0x153b55,_0x2e6b7a={'eventID':_0x531fb4[_0x1a1f0d(0x239)],'data':{'unitID':this[_0x1a1f0d(0x26b)],'memberID':this[_0x1a1f0d(0x24a)][_0x1a1f0d(0x34c)](),'selection':Tt(_0x24b732)}};this['_session'][_0x1a1f0d(0x27f)](_0x2e6b7a,this[_0x1a1f0d(0x26b)]);},fi)),(this[_0x153b55(0x26b)]=_0x53f86e,this['_session']=_0x490174,this[_0x153b55(0x217)]=_0x39fca9,this['_colorAssignService']=_0x15d7db,this['_memberService']=_0x599105,this[_0x153b55(0x1aa)]=_0x5a77c2,this[_0x153b55(0x2a7)]=_0x45da7e,this[_0x153b55(0x335)]=_0x8c6f15,this[_0x153b55(0x17e)]=_0x5a7833);}get[_0x3b7069(0x1e7)](){const _0x305efd=_0x3b7069;return this['_cursorInfo$'][_0x305efd(0x344)]();}get[_0x3b7069(0x255)](){const _0x44233b=_0x3b7069;return this[_0x44233b(0x330)][_0x44233b(0x344)]();}[_0x3b7069(0x2a0)](){const _0x5a299c=_0x3b7069;super['dispose'](),this[_0x5a299c(0x224)][_0x5a299c(0x1ba)](new Map()),this[_0x5a299c(0x224)][_0x5a299c(0x2ee)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x5a299c(0x2ee)]();}[_0x3b7069(0x2a1)](){const _0x2f43bb=_0x3b7069;this[_0x2f43bb(0x353)]||(this[_0x2f43bb(0x353)]=!0x0,this[_0x2f43bb(0x24a)][_0x2f43bb(0x237)][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x371a65=>{const _0x58c23c=_0x2f43bb;_0x371a65===_0xeaf30f[_0x58c23c(0x24b)]?this[_0x58c23c(0x28b)]():this[_0x58c23c(0x180)]();}),this[_0x2f43bb(0x24a)]['event$'][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x4df038=>{const _0x9533d0=_0x2f43bb,_0x2a025e=_0x4df038[_0x9533d0(0x1af)];_0x2a025e===_0x531fb4[_0x9533d0(0x239)]&&this[_0x9533d0(0x31c)](_0x4df038),_0x2a025e===_0x531fb4['USERS_LEAVE']&&this[_0x9533d0(0x2d5)](_0x4df038);}),this[_0x2f43bb(0x261)](this[_0x2f43bb(0x17e)][_0x2f43bb(0x258)](_0x2c4975=>{const _0x5fe251=_0x2f43bb,_0x291f04=_0x2c4975['params'];_0x291f04!=null&&this[_0x5fe251(0x234)]&&_0x2c4975['id']===_0x5811a2['id']&&_0x291f04[_0x5fe251(0x24f)]===this['unitID']&&_0x291f04[_0x5fe251(0x2f1)]===!0x1&&_0x291f04[_0x5fe251(0x27e)][_0x5fe251(0x1f5)]>0x0&&this[_0x5fe251(0x30b)](_0x291f04[_0x5fe251(0x27e)]);})),this[_0x2f43bb(0x1aa)][_0x2f43bb(0x268)][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x40d3aa=>{const _0x4d4f75=_0x2f43bb;if((_0x40d3aa==null?void 0x0:_0x40d3aa[_0x4d4f75(0x26b)])!==this[_0x4d4f75(0x26b)])return;const _0x5de5b1={'eventID':_0x531fb4[_0x4d4f75(0x239)],'data':_0x40d3aa};this[_0x4d4f75(0x31c)](_0x5de5b1);}),this[_0x2f43bb(0x261)](this['_commandService'][_0x2f43bb(0x258)](_0x5d9f91=>{const _0x14c82f=_0x2f43bb;if(_0x5d9f91[_0x14c82f(0x280)]==null)return;const _0x6b7bf=_0x5d9f91[_0x14c82f(0x280)];if(_0x5d9f91['id']!==_0x52b5f4['id']||_0x6b7bf[_0x14c82f(0x24f)]!==this[_0x14c82f(0x26b)])return;const _0x92c0e7={'id':_0x14c82f(0x23c),'params':_0x6b7bf},_0xaf47b7=this[_0x14c82f(0x1e7)];for(const [_0x87c419,_0x3d9724]of _0xaf47b7){const _0x24b19a={'id':_0x14c82f(0x23c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3d9724[_0x14c82f(0x27e)]}},_0x45ba21=this['_transformService'][_0x14c82f(0x2ae)](_0x92c0e7,_0x24b19a,!0x1);if(_0x33b899(_0x45ba21))throw _0x45ba21[_0x14c82f(0x23e)];_0xaf47b7[_0x14c82f(0x15c)](_0x87c419,{..._0x3d9724,'ranges':_0x45ba21[_0x14c82f(0x2c4)][_0x14c82f(0x280)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xaf47b7);});})));}[_0x3b7069(0x31c)](_0x2b6a4d){const _0x4830b6=_0x3b7069;var _0x42db37,_0x51a189;const {memberID:_0x423866,selection:_0x1857b2}=_0x2b6a4d['data'],_0x356ac4=_i(_0x1857b2),_0x17deae=(_0x51a189=(_0x42db37=this[_0x4830b6(0x276)][_0x4830b6(0x1c3)](this[_0x4830b6(0x26b)],_0x423866))==null?void 0x0:_0x42db37[_0x4830b6(0x2cb)])!=null?_0x51a189:'Unknown\x20user',_0x17b077={'color':this[_0x4830b6(0x359)][_0x4830b6(0x31d)](_0x423866),'name':_0x17deae,'ranges':_0x356ac4},_0x35c208=this[_0x4830b6(0x1e7)];_0x35c208[_0x4830b6(0x15c)](_0x423866,_0x17b077),this[_0x4830b6(0x224)][_0x4830b6(0x1ba)](_0x35c208);}[_0x3b7069(0x2d5)](_0x5a583e){const _0x146d4e=_0x3b7069,{memberID:_0x4208a8}=_0x5a583e[_0x146d4e(0x1cf)],_0x3a17d8=this['cursorInfo'];_0x3a17d8[_0x146d4e(0x202)](_0x4208a8),this['_cursorInfo$'][_0x146d4e(0x1ba)](_0x3a17d8);}[_0x3b7069(0x28b)](){const _0x5d8d62=_0x3b7069;var _0xbeaabf;if(this[_0x5d8d62(0x234)]=!0x0,((_0xbeaabf=this[_0x5d8d62(0x335)][_0x5d8d62(0x1f9)]())==null?void 0x0:_0xbeaabf[_0x5d8d62(0x323)]())!==this['unitID'])return;const _0x2bbf93=this[_0x5d8d62(0x217)][_0x5d8d62(0x313)](_0x338695)[_0x5d8d62(0x266)]();Array['isArray'](_0x2bbf93)&&_0x2bbf93[_0x5d8d62(0x1f5)]>0x0&&this['_updateLocalCursor'](_0x2bbf93);}[_0x3b7069(0x180)](){const _0x40ea43=_0x3b7069;this[_0x40ea43(0x234)]=!0x1;}};Ue=ui([L(0x2,_0x2eb28e(_0x542e55)),L(0x3,_0x2eb28e(ke)),L(0x4,_0x2eb28e(_0x1a0112)),L(0x5,_0x2eb28e(He)),L(0x6,_0x25c7bb),L(0x7,_0x5123ac),L(0x8,_0x165616)],Ue);var Si=Object[_0x3b7069(0x325)],mi=(_0x4384c8,_0x243116,_0x28249a,_0x1b0e2e)=>{for(var _0x267f95=_0x1b0e2e>0x1?void 0x0:_0x1b0e2e?Si(_0x243116,_0x28249a):_0x243116,_0x5e208b=_0x4384c8['length']-0x1,_0x3b45ca;_0x5e208b>=0x0;_0x5e208b--)(_0x3b45ca=_0x4384c8[_0x5e208b])&&(_0x267f95=_0x3b45ca(_0x267f95)||_0x267f95);return _0x267f95;},x=(_0x2737da,_0x3082bd)=>(_0x23d0d0,_0x4bc352)=>_0x3082bd(_0x23d0d0,_0x4bc352,_0x2737da);const gi=0x12c,Ii=0x64,vi=()=>{let _0x13c3ae=[],_0x4db219=!0x1;return _0x19ef18=>{_0x13c3ae['push'](_0x19ef18),_0x4db219||(_0x4db219=!0x0,setTimeout(()=>{const _0x45541c=_0xec61;_0x13c3ae[_0x45541c(0x273)](_0x451b89=>_0x451b89()),_0x13c3ae=[],_0x4db219=!0x1;}));};};let Me=class extends _0x42b55d{constructor(_0x32655d,_0x5757cd,_0x2df09e,_0x3b5bb8,_0xbf94d5,_0x333741,_0x29e4f8,_0x521cd5){const _0x31dcda=_0x3b7069;super(),_(this,_0x31dcda(0x234),!0x1),_(this,_0x31dcda(0x353),!0x1),_(this,'_cursorInfo$',new _0x1ca0e1(new Map())),_(this,_0x31dcda(0x291),this[_0x31dcda(0x224)][_0x31dcda(0x2c2)]()),_(this,'_roomMembers$',new _0x1ca0e1([])),_(this,_0x31dcda(0x2be),this[_0x31dcda(0x330)][_0x31dcda(0x19c)](_0x52f644(gi))),_(this,_0x31dcda(0x30b),_0x9181b4((_0x56448d,_0x595151)=>{const _0x1f8e93=_0x31dcda,_0x331129={'eventID':_0x531fb4[_0x1f8e93(0x239)],'data':{'unitID':this[_0x1f8e93(0x26b)],'memberID':this[_0x1f8e93(0x24a)]['getMemberID'](),'selection':_0xc3548e(_0x56448d,_0x595151['range'])}};this['_session']['send'](_0x331129,this['unitID']);},Ii)),(this[_0x31dcda(0x26b)]=_0x32655d,this['_session']=_0x5757cd,this[_0x31dcda(0x217)]=_0x2df09e,this[_0x31dcda(0x359)]=_0x3b5bb8,this[_0x31dcda(0x276)]=_0xbf94d5,this[_0x31dcda(0x335)]=_0x333741,this[_0x31dcda(0x17e)]=_0x29e4f8,this['_refRangeService']=_0x521cd5);}get[_0x3b7069(0x1e7)](){const _0x43e70c=_0x3b7069;return this[_0x43e70c(0x224)][_0x43e70c(0x344)]();}get[_0x3b7069(0x255)](){const _0x4bc5f9=_0x3b7069;return this[_0x4bc5f9(0x330)][_0x4bc5f9(0x344)]();}[_0x3b7069(0x2a0)](){const _0x1fe21e=_0x3b7069;super[_0x1fe21e(0x2a0)](),this[_0x1fe21e(0x224)][_0x1fe21e(0x1ba)](new Map()),this['_cursorInfo$'][_0x1fe21e(0x2ee)](),this['_roomMembers$'][_0x1fe21e(0x1ba)]([]),this[_0x1fe21e(0x330)]['complete']();}[_0x3b7069(0x2a1)](){const _0x513a82=_0x3b7069;this['_init']||(this[_0x513a82(0x353)]=!0x0,this['_session'][_0x513a82(0x237)][_0x513a82(0x19c)](_0x53aa4f(this['dispose$']))['subscribe'](_0x243e84=>{const _0x49cb79=_0x513a82;_0x243e84===_0xeaf30f[_0x49cb79(0x24b)]?this[_0x49cb79(0x28b)]():this[_0x49cb79(0x180)]();}),this[_0x513a82(0x24a)]['event$']['pipe'](_0x53aa4f(this[_0x513a82(0x29d)]))[_0x513a82(0x236)](_0x5f4d19=>{const _0x570646=_0x513a82,_0x559c20=_0x5f4d19[_0x570646(0x1af)];_0x559c20===_0x531fb4[_0x570646(0x239)]&&this[_0x570646(0x31c)](_0x5f4d19),_0x559c20===_0x531fb4[_0x570646(0x2b3)]&&this[_0x570646(0x2d5)](_0x5f4d19);}),this[_0x513a82(0x17a)](),this[_0x513a82(0x261)](this[_0x513a82(0x17e)][_0x513a82(0x258)](_0x179300=>{const _0xeefa4a=_0x513a82;if(this['_online']&&_0x179300['id']===_0x443098['id']&&_0x179300[_0xeefa4a(0x280)]['unitId']===this[_0xeefa4a(0x26b)]){const _0x44ce69=_0x179300[_0xeefa4a(0x280)];this[_0xeefa4a(0x30b)](_0x44ce69['subUnitId'],_0x44ce69[_0xeefa4a(0x25c)][0x0]);}})));}[_0x3b7069(0x31c)](_0x24f57f){const _0x6950b8=_0x3b7069;var _0x9f31a4,_0x46809c;const {memberID:_0x46d704,selection:_0x5bbe74}=_0x24f57f[_0x6950b8(0x1cf)],{sheetName:_0x2bf351,range:_0x1512ba}=_0x33ed1c(_0x5bbe74),_0x1757d3={'name':(_0x46809c=(_0x9f31a4=this[_0x6950b8(0x276)][_0x6950b8(0x1c3)](this[_0x6950b8(0x26b)],_0x46d704))==null?void 0x0:_0x9f31a4['name'])!=null?_0x46809c:_0x6950b8(0x24d),'range':this[_0x6950b8(0x24c)](_0x2bf351,_0x1512ba),'sheetID':_0x2bf351,'color':this['_colorAssignService'][_0x6950b8(0x31d)](_0x46d704),'selection':_0x5bbe74},_0x1ff6f8=this[_0x6950b8(0x1e7)];_0x1ff6f8[_0x6950b8(0x15c)](_0x46d704,_0x1757d3),this['_cursorInfo$'][_0x6950b8(0x1ba)](_0x1ff6f8);}[_0x3b7069(0x2d5)](_0x37c58c){const _0x2a2cca=_0x3b7069,{memberID:_0x581331}=_0x37c58c[_0x2a2cca(0x1cf)],_0x197ef4=this['cursorInfo'];_0x197ef4['delete'](_0x581331),this[_0x2a2cca(0x224)][_0x2a2cca(0x1ba)](_0x197ef4);}[_0x3b7069(0x24c)](_0x2c471b,_0xb4ed44){const _0x119565=_0x3b7069;var _0x1d987e,_0x4c8d12;const _0x2685b7=(_0x4c8d12=(_0x1d987e=this[_0x119565(0x335)][_0x119565(0x30c)](this[_0x119565(0x26b)]))==null?void 0x0:_0x1d987e['getSheetBySheetId'](_0x2c471b))==null?void 0x0:_0x4c8d12[_0x119565(0x1b2)]();return(_0x2685b7==null?void 0x0:_0x2685b7['find'](_0x173b7f=>_0x56636b[_0x119565(0x324)](_0x173b7f,_0xb4ed44)))||_0xb4ed44;}['_onRefRangeChange'](){const _0xe574d7=_0x3b7069,_0x45b292=new _0x349bc7(),_0x465941=vi(),_0x1f98ea=()=>{const _0x72ffb2=_0xec61;_0x45b292[_0x72ffb2(0x2a0)]();const _0x189c83=(_0xdf89b8,_0x8c8c11,_0x2d78f3,_0x3e9b63)=>{const _0x37e609=_0x72ffb2;let _0x4f4f0e=[];switch(_0xdf89b8['id']){case _0x440696[_0x37e609(0x1a4)]:{_0x4f4f0e=_0x4874fd(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x208)]:{_0x4f4f0e=_0x4b57a7(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x290)]:{_0x4f4f0e=_0x647636(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2b7)]:{_0x4f4f0e=_0x45f674(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2e1)]:{_0x4f4f0e=_0x2445a6(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2f8)]:{_0x4f4f0e=_0x5daebb(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2e0)]:{_0x4f4f0e=_0x5ebb9b(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x189)]:{_0x4f4f0e=_0x1d9791(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x16e)]:{_0x4f4f0e=_0x5a4b68(_0xdf89b8,_0x3e9b63);break;}}const _0x1f4810=_0x4b660(_0x4f4f0e,_0x3e9b63),_0xccdaa1=this[_0x37e609(0x1e7)]['get'](_0x8c8c11);if(_0xccdaa1&&_0x1f4810){const _0x2796e5={..._0xccdaa1,'range':_0x1f4810};this['cursorInfo'][_0x37e609(0x15c)](_0x8c8c11,_0x2796e5),_0x465941(()=>{const _0x423c65=_0x37e609,_0x1fb862=this[_0x423c65(0x2b1)][_0x423c65(0x1fa)](_0x1f4810,_0xd95ac9=>(_0x1fb862[_0x423c65(0x2a0)](),_0x189c83(_0xd95ac9,_0x8c8c11,_0x2d78f3,_0x1f4810)));_0x45b292[_0x423c65(0x1fe)](_0x1fb862);});}return{'redos':[],'undos':[]};};this[_0x72ffb2(0x1e7)][_0x72ffb2(0x273)]((_0x5649b7,_0x146837)=>{const _0x2055eb=_0x72ffb2,{range:_0x192255,sheetID:_0x4d731c}=_0x5649b7,_0x4412a1=this['_refRangeService']['registerRefRange'](_0x192255,_0x464060=>(_0x4412a1[_0x2055eb(0x2a0)](),_0x189c83(_0x464060,_0x146837,_0x4d731c,_0x192255)));_0x45b292[_0x2055eb(0x1fe)](_0x4412a1);});};this[_0xe574d7(0x261)](_0x11e171(this[_0xe574d7(0x224)]['subscribe'](()=>{_0x1f98ea();})));}['_toggleOnline'](){const _0x188373=_0x3b7069;var _0x51acdf,_0x483626;if(this['_online']=!0x0,((_0x51acdf=this[_0x188373(0x335)]['getFocusedUnit']())==null?void 0x0:_0x51acdf[_0x188373(0x323)]())!==this[_0x188373(0x26b)])return;const _0x989fab=(_0x483626=this[_0x188373(0x217)][_0x188373(0x313)](_0x4166d1)[_0x188373(0x194)]())==null?void 0x0:_0x483626[0x0],_0x5babae=this[_0x188373(0x335)][_0x188373(0x22f)](_0x24a141[_0x188373(0x257)])[_0x188373(0x169)]();_0x989fab&&_0x5babae&&this['_updateLocalCursor'](_0x5babae['getSheetId'](),_0x989fab);}[_0x3b7069(0x180)](){const _0x300a9f=_0x3b7069;this[_0x300a9f(0x234)]=!0x1;}};Me=mi([x(0x2,_0x2eb28e(_0x542e55)),x(0x3,_0x2eb28e(ke)),x(0x4,_0x2eb28e(_0x1a0112)),x(0x5,_0x5123ac),x(0x6,_0x165616),x(0x7,_0x2eb28e(_0x5873ad))],Me);var pi=Object[_0x3b7069(0x325)],Ci=(_0x3f1882,_0x3380b7,_0xa723f,_0x3f60f8)=>{const _0x4b2b86=_0x3b7069;for(var _0xeaeae3=_0x3f60f8>0x1?void 0x0:_0x3f60f8?pi(_0x3380b7,_0xa723f):_0x3380b7,_0x507d7f=_0x3f1882[_0x4b2b86(0x1f5)]-0x1,_0xa9a67c;_0x507d7f>=0x0;_0x507d7f--)(_0xa9a67c=_0x3f1882[_0x507d7f])&&(_0xeaeae3=_0xa9a67c(_0xeaeae3)||_0xeaeae3);return _0xeaeae3;},Se=(_0x18a020,_0x180906)=>(_0x2319aa,_0x41ddfa)=>_0x180906(_0x2319aa,_0x41ddfa,_0x18a020);let H=class extends _0x42b55d{constructor(_0xc97621,_0x1356d5,_0x44077d){const _0x5ea1ef=_0x3b7069;super(),_(this,_0x5ea1ef(0x292),new Map()),_(this,_0x5ea1ef(0x1ac),new _0x3bcba6()),(this[_0x5ea1ef(0x335)]=_0xc97621,this[_0x5ea1ef(0x217)]=_0x1356d5,this['_collabSessionService']=_0x44077d,this['_init']());}[_0x3b7069(0x2a0)](){const _0x20b14d=_0x3b7069;super[_0x20b14d(0x2a0)](),this[_0x20b14d(0x1ac)][_0x20b14d(0x2ee)](),this[_0x20b14d(0x292)][_0x20b14d(0x273)](_0x3cbd21=>_0x3cbd21['dispose']());}[_0x3b7069(0x16c)](_0x48f835){const _0x27c3f4=_0x3b7069;return this['_entities'][_0x27c3f4(0x328)](_0x48f835)?this['_entities'][_0x27c3f4(0x313)](_0x48f835)['cursorInfo$']:this['_entityInit$'][_0x27c3f4(0x19c)](_0x44ce06(_0x115292=>_0x115292[_0x27c3f4(0x26b)]===_0x48f835),_0xa39a1a(_0x13c917=>_0x13c917['cursorInfo$']));}[_0x3b7069(0x353)](){const _0x6e379a=_0x3b7069;this['_univerInstanceService'][_0x6e379a(0x298)](_0x24a141['UNIVER_SHEET'])[_0x6e379a(0x19c)](_0x53aa4f(this[_0x6e379a(0x29d)]))[_0x6e379a(0x236)](async _0x4e7f7c=>{const _0x950c38=_0x6e379a,_0x378703=_0x4e7f7c[_0x950c38(0x323)](),_0x2471a0=await this[_0x950c38(0x348)](_0x378703);this[_0x950c38(0x1ac)][_0x950c38(0x1ba)](_0x2471a0),this[_0x950c38(0x292)][_0x950c38(0x15c)](_0x378703,_0x2471a0);}),this[_0x6e379a(0x335)][_0x6e379a(0x298)](_0x24a141[_0x6e379a(0x20b)])['pipe'](_0x53aa4f(this[_0x6e379a(0x29d)]))[_0x6e379a(0x19c)](_0x44ce06(_0x5667cb=>!_0x5667cb[_0x6e379a(0x323)]()[_0x6e379a(0x2fa)]('__')))[_0x6e379a(0x236)](async _0x40346d=>{const _0x333235=_0x6e379a,_0x3d3eee=_0x40346d['getUnitId'](),_0x46ca02=await this[_0x333235(0x295)](_0x3d3eee);this[_0x333235(0x1ac)][_0x333235(0x1ba)](_0x46ca02),this[_0x333235(0x292)][_0x333235(0x15c)](_0x3d3eee,_0x46ca02);}),_0x5a4399(this[_0x6e379a(0x335)][_0x6e379a(0x2a8)](_0x24a141[_0x6e379a(0x20b)]),this['_univerInstanceService'][_0x6e379a(0x2a8)](_0x24a141['UNIVER_SHEET']))[_0x6e379a(0x19c)](_0x53aa4f(this['dispose$']))[_0x6e379a(0x236)](_0xd85b21=>{const _0x3bfa65=_0x6e379a,_0x34e897=_0xd85b21['getUnitId'](),_0x2a1c21=this[_0x3bfa65(0x292)][_0x3bfa65(0x313)](_0x34e897);_0x2a1c21&&(_0x2a1c21[_0x3bfa65(0x2a0)](),this[_0x3bfa65(0x292)][_0x3bfa65(0x202)](_0x34e897));});}async[_0x3b7069(0x348)](_0x228b30){const _0x4f2c40=_0x3b7069,_0x479d97=await this[_0x4f2c40(0x1dc)][_0x4f2c40(0x1e3)](_0x228b30),_0x600b7f=this[_0x4f2c40(0x217)][_0x4f2c40(0x222)](Me,_0x228b30,_0x479d97);return _0x600b7f[_0x4f2c40(0x2a1)](),_0x600b7f;}async['_startDocCollabCursor'](_0x206a18){const _0x52f9d5=_0x3b7069,_0x4f5e3a=await this[_0x52f9d5(0x1dc)][_0x52f9d5(0x1e3)](_0x206a18),_0x2c6e79=this[_0x52f9d5(0x217)][_0x52f9d5(0x222)](Ue,_0x206a18,_0x4f5e3a);return _0x2c6e79['init'](),_0x2c6e79;}};H=Ci([Se(0x0,_0x5123ac),Se(0x1,_0x2eb28e(_0x542e55)),Se(0x2,_0x2eb28e(_0x4ec459))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x24f71c,_0x3cc6db){const _0x5ed8ef=_0x3b7069;let {radius:_0x3ac33f,width:_0x77d457,height:_0x2ad381}=_0x3cc6db;_0x3ac33f=_0x3ac33f!=null?_0x3ac33f:0x0,_0x77d457=_0x77d457!=null?_0x77d457:0x1e,_0x2ad381=_0x2ad381!=null?_0x2ad381:0x1e;let _0x24c21e=0x0,_0x1fb7f6=0x0,_0x4af26e=0x0;_0x24c21e=_0x1fb7f6=_0x4af26e=Math[_0x5ed8ef(0x354)](_0x3ac33f,_0x77d457/0x2,_0x2ad381/0x2),_0x24f71c[_0x5ed8ef(0x287)](),_0x24f71c['moveTo'](_0x24c21e,0x0),_0x24f71c[_0x5ed8ef(0x2db)](_0x77d457-_0x1fb7f6,0x0),_0x24f71c['arc'](_0x77d457-_0x1fb7f6,_0x1fb7f6,_0x1fb7f6,Math['PI']*0x3/0x2,0x0,!0x1),_0x24f71c[_0x5ed8ef(0x2db)](_0x77d457,_0x2ad381-_0x4af26e),_0x24f71c[_0x5ed8ef(0x21d)](_0x77d457-_0x4af26e,_0x2ad381-_0x4af26e,_0x4af26e,0x0,Math['PI']/0x2,!0x1),_0x24f71c[_0x5ed8ef(0x2db)](0x0,_0x2ad381),_0x24f71c[_0x5ed8ef(0x2db)](0x0,_0x24c21e),_0x24f71c[_0x5ed8ef(0x21d)](_0x24c21e,_0x24c21e,_0x24c21e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x24f71c[_0x5ed8ef(0x302)](),_0x3cc6db['fill']&&(_0x24f71c['save'](),_0x24f71c[_0x5ed8ef(0x2eb)]=_0x3cc6db[_0x5ed8ef(0x2ad)],_0x3cc6db['fillRule']===_0x5ed8ef(0x2f6)?_0x24f71c[_0x5ed8ef(0x2ad)](_0x5ed8ef(0x2f6)):_0x24f71c[_0x5ed8ef(0x2ad)](),_0x24f71c[_0x5ed8ef(0x2e6)]());}class he extends _0x595286{constructor(_0x105884,_0x3c27c5){const _0x2c6f49=_0x3b7069;super(_0x105884,_0x3c27c5),_(this,'color'),_(this,_0x2c6f49(0x26a)),(this['color']=_0x3c27c5==null?void 0x0:_0x3c27c5[_0x2c6f49(0x277)],this['text']=_0x3c27c5==null?void 0x0:_0x3c27c5[_0x2c6f49(0x26a)]);}static[_0x3b7069(0x230)](_0x5bbcba,_0x5aaf8c){const _0xe2a08e=_0x3b7069,{text:_0x51e75b,color:_0x3360c4}=_0x5aaf8c;_0x5bbcba[_0xe2a08e(0x2ed)](),_0x5bbcba[_0xe2a08e(0x201)]=_0xe2a08e(0x2fd);const _0x3444c8=_0x5bbcba[_0xe2a08e(0x262)](_0x51e75b)[_0xe2a08e(0x1fc)],_0x3efef7=Math['min'](_0x3444c8+0x2*me,Qe);Oi(_0x5bbcba,{'height':ee,'radius':0x4,'width':_0x3efef7,'fill':_0x3360c4}),_0x5bbcba[_0xe2a08e(0x2eb)]=_0xe2a08e(0x1c2);const _0x5d041f=me,_0x43b349=ee-Ei,_0x48a74d=Qe-0x2*me;if(_0x3444c8>_0x48a74d){let _0x4208d0='',_0x4d3d67=0x0;for(const _0x2d7b2d of _0x51e75b){const _0x410a54=_0x5bbcba[_0xe2a08e(0x262)](_0x2d7b2d)[_0xe2a08e(0x1fc)];if(_0x4d3d67+_0x410a54<=_0x48a74d-_0x5bbcba[_0xe2a08e(0x262)]('...')[_0xe2a08e(0x1fc)])_0x4208d0+=_0x2d7b2d,_0x4d3d67+=_0x410a54;else{_0x4208d0+=_0xe2a08e(0x2bc);break;}}_0x5bbcba[_0xe2a08e(0x1e2)](_0x4208d0,_0x5d041f,_0x43b349);}else _0x5bbcba['fillText'](_0x51e75b,_0x5d041f,_0x43b349);_0x5bbcba[_0xe2a08e(0x2e6)]();}[_0x3b7069(0x174)](_0x5e3cdb){const _0x58b649=_0x3b7069;he[_0x58b649(0x230)](_0x5e3cdb,this);}}const ge=_0x3b7069(0x1e6),bi=_0x3b7069(0x1a1),Ti=_0x3b7069(0x31e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3b7069(0x327);class qe{constructor(_0x1f4bda,_0x47c40f,_0x535967,_0x341e3e){const _0x25013a=_0x3b7069;_(this,_0x25013a(0x2cc),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x25013a(0x1cd),null),_(this,_0x25013a(0x342),null),_(this,_0x25013a(0x349),null),(this[_0x25013a(0x29b)]=_0x1f4bda,this[_0x25013a(0x338)]=_0x47c40f,this['_docSkeleton']=_0x535967,this['_document']=_0x341e3e,this[_0x25013a(0x2ca)]());}set[_0x3b7069(0x305)](_0x3210af){const _0x310821=_0x3b7069;_0x3210af?(this[_0x310821(0x1cd)]&&this[_0x310821(0x1cd)][_0x310821(0x31b)](),this[_0x310821(0x307)]&&this[_0x310821(0x307)][_0x310821(0x20a)]()):(this[_0x310821(0x1cd)]&&this[_0x310821(0x1cd)]['show'](),this['_textBubble']&&this[_0x310821(0x307)]['hide']());}[_0x3b7069(0x2a0)](){const _0x2896a3=_0x3b7069;for(const _0x576f08 of this[_0x2896a3(0x2cc)])_0x576f08[_0x2896a3(0x2a0)]();this[_0x2896a3(0x307)]&&this[_0x2896a3(0x307)][_0x2896a3(0x2a0)](),this[_0x2896a3(0x1cd)]&&this['_anchorDot']['dispose'](),this[_0x2896a3(0x1f2)]&&this[_0x2896a3(0x1f2)]['dispose'](),this[_0x2896a3(0x349)]&&this['_eventUnsubscribe']();}[_0x3b7069(0x2ca)](){const _0x57738b=_0x3b7069;var _0x53460b;const {_docSkeleton:_0x440e8b,_document:_0x2d5c8a}=this,{color:_0x2eb3c2,name:_0x4300af,ranges:_0x321d20}=this[_0x57738b(0x29b)],_0x5ac355=_0x2d5c8a[_0x57738b(0x2d9)](),{docsLeft:_0x35c72a,docsTop:_0x4dcc24}=_0x5ac355,_0x137fab=new _0x19ecb0(_0x5ac355,_0x440e8b);for(const {startOffset:_0x34cdd4,endOffset:_0x38c839,rangeType:_0x57bd31,segmentId:_0x1a53c2,segmentPage:_0x5bb2c4,collapsed:_0x5c4df3,isActive:_0x26694b}of _0x321d20){const _0x587371=_0x440e8b[_0x57738b(0x2d4)](_0x34cdd4,!0x0,_0x1a53c2,_0x5bb2c4);let _0x2c8eaf=_0x440e8b['findNodePositionByCharIndex'](_0x38c839,!0x0,_0x1a53c2,_0x5bb2c4);if(_0x2c8eaf==null&&(_0x2c8eaf=_0x440e8b['findNodePositionByCharIndex'](_0x38c839-0x1,!0x1,_0x1a53c2,_0x5bb2c4)),_0x26694b){const {contentBoxPointGroup:_0x1763d1}=_0x137fab[_0x57738b(0x2e9)](_0x2c8eaf,_0x2c8eaf);if(_0x1763d1[_0x57738b(0x1f5)]===0x0)continue;this[_0x57738b(0x1f3)](_0x2eb3c2,_0x1763d1,_0x35c72a,_0x4dcc24,_0x4300af),this[_0x57738b(0x349)]=this['_handleHover']();}if(_0x587371&&_0x2c8eaf){if(_0x57bd31===_0x26cbe3['RECT']){const _0x14d406=new _0x136b60(_0x5ac355,_0x440e8b),{pointGroup:_0x845523}=(_0x53460b=_0x14d406[_0x57738b(0x2e9)](_0x587371,_0x2c8eaf))!=null?_0x53460b:{};if(_0x845523==null||_0x845523[_0x57738b(0x1f5)]===0x0)continue;this[_0x57738b(0x1c9)](_0x2eb3c2,_0x845523,_0x35c72a,_0x4dcc24);}else{if(!_0x5c4df3){const {borderBoxPointGroup:_0x16791c}=_0x137fab[_0x57738b(0x2e9)](_0x587371,_0x2c8eaf);if(_0x16791c[_0x57738b(0x1f5)]===0x0)continue;this['_drawTextRange'](_0x2eb3c2,_0x16791c,_0x35c72a,_0x4dcc24);}}}}}['_drawAnchor'](_0x1754c7,_0x360e7e,_0x259423,_0x51f621,_0x49569d){const _0x36df88=_0x3b7069,_0x2f44c0=this[_0x36df88(0x155)](_0x360e7e),{left:_0x239cc6,top:_0x3f2942,height:_0x1ca915}=_0x2f44c0,_0x23a2a5=this[_0x36df88(0x188)](),_0x2c51d8=Di/_0x23a2a5,_0x2d68ae=new _0x41dfde(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621,'height':_0x1ca915,'width':Ri,'fill':_0x1754c7||_0xb9e122(_0x250374['black'],0x0),'strokeWidth':_0x2c51d8,'stroke':Ni,'evented':!0x0});this[_0x36df88(0x1f2)]=_0x2d68ae,this[_0x36df88(0x338)]['addObject'](_0x2d68ae,_0x2fca54);const _0x575dc8=new _0x41dfde(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1754c7||_0xb9e122(_0x250374[_0x36df88(0x2dd)],0x0),'strokeWidth':0x0,'stroke':_0x1754c7||_0xb9e122(_0x250374[_0x36df88(0x2dd)],0x0),'evented':!0x1});this[_0x36df88(0x1cd)]=_0x575dc8,this[_0x36df88(0x338)][_0x36df88(0x1e5)](_0x575dc8,_0x2fca54);const _0x153ecd=new he(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621-ee,'text':_0x49569d,'color':_0x1754c7});this[_0x36df88(0x307)]=_0x153ecd,this['_scene'][_0x36df88(0x1e5)](_0x153ecd,_0x2fca54),this[_0x36df88(0x305)]=!0x1;}[_0x3b7069(0x341)](){const _0x12752c=_0x3b7069,_0x4b7efb=this['_anchor'][_0x12752c(0x1e9)][_0x12752c(0x2aa)](()=>{this['_hover']=!0x0;}),_0x274adc=this[_0x12752c(0x1f2)][_0x12752c(0x312)][_0x12752c(0x2aa)](()=>{const _0x38590a=_0x12752c;this[_0x38590a(0x342)]&&clearTimeout(this[_0x38590a(0x342)]),this[_0x38590a(0x342)]=setTimeout(()=>{const _0x5a26e9=_0x38590a;this[_0x5a26e9(0x305)]=!0x1;},0x7d0);});return()=>{const _0x25764f=_0x12752c;_0x4b7efb[_0x25764f(0x244)](),_0x274adc[_0x25764f(0x244)]();};}[_0x3b7069(0x33b)](_0x29bd7b,_0x4daf42,_0x427da1,_0x4d936c){const _0x2f5565=_0x3b7069,_0x2fdbfd=new _0x1e30eb(_0x29bd7b)[_0x2f5565(0x28c)](0.2)[_0x2f5565(0x21a)](),_0x4b3477=new _0x36c5ab(bi+_0x52fcfb['generateRandomId'](X),{'pointsGroup':_0x4daf42,'fill':_0x2fdbfd||_0xb9e122(_0x250374[_0x2f5565(0x2dd)],0.2),'left':_0x427da1,'top':_0x4d936c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f5565(0x2cc)][_0x2f5565(0x2c5)](_0x4b3477),this['_scene'][_0x2f5565(0x1e5)](_0x4b3477,_0x2fca54);}[_0x3b7069(0x1c9)](_0xbbd75a,_0x1b17cb,_0x467eba,_0x450019){const _0x2bb281=_0x3b7069,_0x1256a8=new _0x1e30eb(_0xbbd75a)['setAlpha'](0.2)[_0x2bb281(0x21a)](),_0x311248=new _0x36c5ab(Ti+_0x52fcfb['generateRandomId'](X),{'pointsGroup':_0x1b17cb,'fill':_0x1256a8||_0xb9e122(_0x250374[_0x2bb281(0x2dd)],0.2),'left':_0x467eba,'top':_0x450019,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2bb281(0x2c5)](_0x311248),this['_scene'][_0x2bb281(0x1e5)](_0x311248,_0x2fca54);}[_0x3b7069(0x155)](_0x5b31bb){const _0x4b219f=_0x5b31bb[0x0],_0x1f1546=_0x4b219f[0x0],_0x3f565e=_0x4b219f[0x2],{x:_0x3da394,y:_0xbbeea0}=_0x1f1546,{x:_0x5f772,y:_0x250b93}=_0x3f565e;return{'left':_0x3da394,'top':_0xbbeea0,'width':_0x5f772-_0x3da394,'height':_0x250b93-_0xbbeea0};}[_0x3b7069(0x188)](){const _0x5f230b=_0x3b7069,{scaleX:_0x39095d,scaleY:_0x3f1ec1}=this[_0x5f230b(0x338)][_0x5f230b(0x167)]();return Math[_0x5f230b(0x22c)](_0x39095d,_0x3f1ec1);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x250243,_0x1f24d9,_0x2eca60,_0x362933)=>{const _0x3bbabf=_0x3b7069;for(var _0x46bed0=_0x362933>0x1?void 0x0:_0x362933?Ui(_0x1f24d9,_0x2eca60):_0x1f24d9,_0x3d092b=_0x250243[_0x3bbabf(0x1f5)]-0x1,_0x50beef;_0x3d092b>=0x0;_0x3d092b--)(_0x50beef=_0x250243[_0x3d092b])&&(_0x46bed0=_0x50beef(_0x46bed0)||_0x46bed0);return _0x46bed0;},Z=(_0x217226,_0x50530a)=>(_0x1fdfdc,_0x425800)=>_0x50530a(_0x1fdfdc,_0x425800,_0x217226);let Pe=class extends _0x42b55d{constructor(_0x430bbc,_0x1d9f52,_0x5b08ee,_0x5b8723,_0x485c19){const _0x1daa78=_0x3b7069;super(),_(this,_0x1daa78(0x260),[]),_(this,'_cursors',[]),(this[_0x1daa78(0x332)]=_0x430bbc,this['_docSkeletonManagerService']=_0x1d9f52,this[_0x1daa78(0x1b3)]=_0x5b08ee,this[_0x1daa78(0x17e)]=_0x5b8723,this[_0x1daa78(0x1a3)]=_0x485c19,this[_0x1daa78(0x353)]());}[_0x3b7069(0x353)](){const _0x2c495d=_0x3b7069,_0x26a2c0=this[_0x2c495d(0x332)][_0x2c495d(0x24f)],_0x522452=this['_docSkeletonManagerService'];this[_0x2c495d(0x261)](_0x11d3d0([this[_0x2c495d(0x1b3)]['getCollabCursors$'](_0x26a2c0),this[_0x2c495d(0x1a3)][_0x2c495d(0x2f3)]])[_0x2c495d(0x19c)](_0x1e7307(([_0x2d3d1f,_0x5d6f20])=>({'skeleton':_0x522452[_0x2c495d(0x339)](),'cursors':[..._0x2d3d1f[_0x2c495d(0x154)]()][_0x2c495d(0x214)](_0x39f91e=>({..._0x39f91e,'color':_0x5d6f20[_0x39f91e[_0x2c495d(0x277)]]}))})))['subscribe'](_0x6d0547=>{const _0x4b40e6=_0x2c495d;if(this[_0x4b40e6(0x289)](),_0x6d0547){const {skeleton:_0x1d433e,cursors:_0x1fdbb8}=_0x6d0547;this[_0x4b40e6(0x190)](_0x1d433e,_0x1fdbb8);}})),this[_0x2c495d(0x1a7)](),this[_0x2c495d(0x311)]();}[_0x3b7069(0x190)](_0x32faa6,_0x4564a5){const _0x14a88=_0x3b7069,{scene:_0x5e5884,mainComponent:_0x2f5c5b}=this[_0x14a88(0x332)],_0x498cf4=_0x4564a5[_0x14a88(0x215)](_0x3bd271=>new qe(_0x3bd271,_0x5e5884,_0x32faa6,_0x2f5c5b));this[_0x14a88(0x260)]=_0x498cf4,this[_0x14a88(0x1b6)]=_0x4564a5;}[_0x3b7069(0x33f)](){const _0x28c93b=_0x3b7069;this[_0x28c93b(0x289)]();const {scene:_0xc45550,mainComponent:_0x3e4636}=this['_context'],_0x28c238=this[_0x28c93b(0x279)][_0x28c93b(0x339)](),_0x1782de=this['_cursors']['map'](_0x32f145=>new qe(_0x32f145,_0xc45550,_0x28c238,_0x3e4636));this[_0x28c93b(0x260)]=_0x1782de;}[_0x3b7069(0x289)](){const _0x55e17c=_0x3b7069;this[_0x55e17c(0x260)][_0x55e17c(0x273)](_0x3f6fa5=>_0x3f6fa5['dispose']()),this['_cursorShapes']=[];}[_0x3b7069(0x311)](){const _0x15a043=_0x3b7069,_0x4d9437=[_0x5b58d2['id']];this[_0x15a043(0x261)](this['_commandService'][_0x15a043(0x258)](_0x5df26a=>{const _0x55c589=_0x15a043;_0x4d9437['includes'](_0x5df26a['id'])&&_0x5df26a[_0x55c589(0x280)]['unitId']===this['_context']['unitId']&&this[_0x55c589(0x33f)]();}));}['_initResize'](){const _0x27d31a=_0x3b7069;this[_0x27d31a(0x261)](_0xe55a90(this[_0x27d31a(0x332)][_0x27d31a(0x1a9)]['onTransformChange$'])[_0x27d31a(0x19c)](_0x390658(_0x184242=>_0x184242['type']===_0x4b2a7c['resize']),_0x4cf799(0x10))[_0x27d31a(0x236)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x2eb28e(_0x63e1fe)),Z(0x2,_0x2eb28e(H)),Z(0x3,_0x165616),Z(0x4,_0x2eb28e(_0x27c001))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x595286{constructor(_0xef7227,_0x4b0645){const _0x191878=_0x3b7069;super(_0xef7227,_0x4b0645),_(this,_0x191878(0x259)),_(this,_0x191878(0x211),!0x1),_(this,_0x191878(0x264)),_(this,_0x191878(0x206),''),_(this,_0x191878(0x198),_0x191878(0x32e)),_(this,_0x191878(0x28d)),(_0x4b0645&&this[_0x191878(0x179)](_0x4b0645),this[_0x191878(0x1e9)][_0x191878(0x2aa)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x191878(0x312)][_0x191878(0x2aa)](()=>this[_0x191878(0x179)]({'hovered':!0x1})));}[_0x3b7069(0x179)](_0x3e7c96){const _0x3b05d0=_0x3b7069;var _0x341215,_0x203b2c,_0x52f9ab,_0x4ee0f7,_0x1698e3,_0x1c22ab;this[_0x3b05d0(0x259)]=(_0x341215=_0x3e7c96[_0x3b05d0(0x277)])!=null?_0x341215:this[_0x3b05d0(0x259)],this[_0x3b05d0(0x211)]=(_0x203b2c=_0x3e7c96[_0x3b05d0(0x303)])!=null?_0x203b2c:this['_hovered'],this[_0x3b05d0(0x264)]=(_0x52f9ab=_0x3e7c96[_0x3b05d0(0x2c8)])!=null?_0x52f9ab:this[_0x3b05d0(0x264)],this['_name']=(_0x4ee0f7=_0x3e7c96[_0x3b05d0(0x2cb)])!=null?_0x4ee0f7:this[_0x3b05d0(0x206)],this[_0x3b05d0(0x198)]=(_0x1698e3=_0x3e7c96['labelPosition'])!=null?_0x1698e3:this[_0x3b05d0(0x198)],this['_backgroundColor']=(_0x1c22ab=_0x3e7c96[_0x3b05d0(0x33d)])!=null?_0x1c22ab:this[_0x3b05d0(0x28d)],this[_0x3b05d0(0x19b)]({'width':_0x3e7c96[_0x3b05d0(0x1fc)],'height':_0x3e7c96[_0x3b05d0(0x2bd)]});}[_0x3b7069(0x183)](_0x27d3dd){const _0x150a38=_0x3b7069,{row:_0x3b9c3e,column:_0x2a8244}=_0x27d3dd;if(_0x3b9c3e>=this[_0x150a38(0x264)][_0x150a38(0x1a6)]&&_0x3b9c3e<=this[_0x150a38(0x264)][_0x150a38(0x18f)]&&_0x2a8244>=this[_0x150a38(0x264)][_0x150a38(0x34d)]&&_0x2a8244<=this[_0x150a38(0x264)][_0x150a38(0x1ec)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x150a38(0x179)]({'hovered':!0x1});}[_0x3b7069(0x17f)](_0x48577d){return!0x1;}[_0x3b7069(0x174)](_0x4dfdeb){const _0x156159=_0x3b7069;_0x41dfde[_0x156159(0x230)](_0x4dfdeb,{'width':this[_0x156159(0x1fc)],'height':this[_0x156159(0x2bd)],'strokeWidth':Li,'stroke':this[_0x156159(0x259)],'evented':!0x1,'fill':this[_0x156159(0x28d)]}),this['_hovered']&&(_0x4dfdeb['save'](),_0x4dfdeb[_0x156159(0x1b0)](0x1,0x0,0x0,0x1,this['width'],this[_0x156159(0x198)]==='bottom'?0x0:-0x14),he[_0x156159(0x230)](_0x4dfdeb,{'text':this['_name'],'color':this[_0x156159(0x259)]}),_0x4dfdeb['restore']());}}var Ai=Object[_0x3b7069(0x325)],yi=(_0x4cbac1,_0x54d5b6,_0x503df5,_0x3ebc2a)=>{const _0x3b8d51=_0x3b7069;for(var _0x296a12=_0x3ebc2a>0x1?void 0x0:_0x3ebc2a?Ai(_0x54d5b6,_0x503df5):_0x54d5b6,_0x1432d5=_0x4cbac1[_0x3b8d51(0x1f5)]-0x1,_0x37c0c2;_0x1432d5>=0x0;_0x1432d5--)(_0x37c0c2=_0x4cbac1[_0x1432d5])&&(_0x296a12=_0x37c0c2(_0x296a12)||_0x296a12);return _0x296a12;},ve=(_0x466d19,_0x43fe19)=>(_0x11ab63,_0x2b5ed2)=>_0x43fe19(_0x11ab63,_0x2b5ed2,_0x466d19);const $i=0x1389;let Le=class extends _0x42b55d{constructor(_0x3e9753,_0x5a7be6,_0x12f93e,_0x549490){const _0xf3428d=_0x3b7069;super(),_(this,_0xf3428d(0x1b6),new Set()),_(this,_0xf3428d(0x30a),null),(this[_0xf3428d(0x332)]=_0x3e9753,this[_0xf3428d(0x256)]=_0x5a7be6,this['_collabCursorController']=_0x12f93e,this['_themeService']=_0x549490,this[_0xf3428d(0x353)]());}[_0x3b7069(0x353)](){const _0x3d536f=_0x3b7069;this[_0x3d536f(0x256)][_0x3d536f(0x17c)][_0x3d536f(0x19c)](_0x22b71e(this[_0x3d536f(0x29d)]),_0x56af00(_0x3170ca=>{const _0x39f84d=_0x3d536f;if(_0x3170ca){const _0x1f9508=_0x3170ca['sheetId'];return _0x11d3d0(this['_collabCursorController']['getCollabCursors$'](this[_0x39f84d(0x332)][_0x39f84d(0x24f)]),this['_themeService'][_0x39f84d(0x2f3)])['pipe'](_0x1e7307(([_0xdec42e,_0xa68426])=>{const _0x1d8695=_0x39f84d,_0x3a7fc6=new Map();return _0xdec42e[_0x1d8695(0x273)]((_0xd92c29,_0x1d0218)=>{const _0x41089c=_0x1d8695;if(_0xd92c29[_0x41089c(0x26f)]===_0x1f9508){const _0x4705f3={..._0xd92c29};_0x4705f3[_0x41089c(0x277)]=_0xa68426[_0xd92c29[_0x41089c(0x277)]],_0x3a7fc6['set'](_0x1d0218,_0x4705f3);}}),{'skeleton':_0x3170ca,'cursors':_0x3a7fc6};}));}return _0x3a7a99({'skeleton':null,'cursors':new Map()});}))[_0x3d536f(0x236)](({skeleton:_0x2eb352,cursors:_0x404a68})=>{const _0x5aa27c=_0x3d536f;this[_0x5aa27c(0x289)](),_0x2eb352&&this[_0x5aa27c(0x190)](_0x2eb352,_0x404a68);}),this[_0x3d536f(0x256)]['currentSkeleton$'][_0x3d536f(0x236)](_0x53be5a=>{const _0x447f69=_0x3d536f;if(_0x53be5a==null)return;const {skeleton:_0x2f7aec}=_0x53be5a,{scene:_0x153725}=this[_0x447f69(0x332)];_0x153725['onPointerMove$'][_0x447f69(0x2aa)](_0x9181b4(_0xc217d4=>{const _0x18c46a=_0x447f69;var _0x3cf30d,_0x3e1cd4;const {offsetX:_0x4ebe8a,offsetY:_0x498abb}=_0xc217d4,{x:_0xf37010,y:_0x2dd086}=_0x153725[_0x18c46a(0x17b)](_0x4f7d1a[_0x18c46a(0x22d)]([_0x4ebe8a,_0x498abb])),{scaleX:_0x21f3bf,scaleY:_0x4d1ad9}=_0x153725[_0x18c46a(0x167)](),_0x240d61=_0x153725[_0x18c46a(0x197)](_0x340180['VIEW_MAIN']),_0x1f89f1=_0x153725[_0x18c46a(0x22e)](_0x4f7d1a['FromArray']([_0xf37010,_0x2dd086]),_0x240d61),_0xbe6f16=_0x2f7aec[_0x18c46a(0x315)](_0x4ebe8a,_0x498abb,_0x21f3bf,_0x4d1ad9,_0x1f89f1);((_0x3cf30d=this[_0x18c46a(0x30a)])==null?void 0x0:_0x3cf30d['column'])===_0xbe6f16[_0x18c46a(0x207)]&&((_0x3e1cd4=this[_0x18c46a(0x30a)])==null?void 0x0:_0x3e1cd4['row'])===_0xbe6f16[_0x18c46a(0x21e)]||this['_cursors']['forEach'](_0x3fadfc=>{_0x3fadfc['onMouseMove'](_0xbe6f16);});},0x64));});}[_0x3b7069(0x190)](_0x31fe80,_0x401988){const _0x1d678c=_0x3b7069;var _0x4b3866;const _0x254f79=(_0x4b3866=this[_0x1d678c(0x256)]['getCurrent']())==null?void 0x0:_0x4b3866[_0x1d678c(0x19e)];if(!_0x254f79)return;const _0xcc0491=this[_0x1d678c(0x309)]();if(!_0xcc0491)return;this[_0x1d678c(0x1b6)]['forEach'](_0x4dfa62=>{const _0x3cf88d=_0x1d678c;_0x4dfa62[_0x3cf88d(0x1d7)]();});const {scene:_0x188a3f}=_0xcc0491,_0x3ccff5=xi(Array[_0x1d678c(0x2ff)](_0x401988[_0x1d678c(0x154)]()))[_0x1d678c(0x215)](_0xb5023c=>{const _0xc7f0bd=_0x1d678c,{color:_0x279724,range:_0x3a3dfd,name:_0x11525a,selection:_0x53966c,sheetID:_0x2922a9}=_0xb5023c,{startColumn:_0x494851,startRow:_0x2f8645,endColumn:_0x42cda8,endRow:_0x460122}=_0x3a3dfd,_0x3c4ee5=_0x2a94a5(_0x2f8645,_0x494851,_0x188a3f,_0x254f79),_0x4bf012=_0x2a94a5(_0x460122,_0x42cda8,_0x188a3f,_0x254f79),{columnHeaderHeightAndMarginTop:_0x3830a3}=_0x254f79,{startX:_0x51e9e7,startY:_0x11f3a7}=_0x3c4ee5,{endX:_0x195f14,endY:_0x2ad52f}=_0x4bf012,_0x11529a=_0x195f14-_0x51e9e7,_0xc4c8a7=_0x2ad52f-_0x11f3a7,_0x3951cd={'labelPosition':_0x11f3a7-_0x3830a3>=ee?_0xc7f0bd(0x32e):_0xc7f0bd(0x2a6),'sheetID':_0x2922a9,'range':_0x3a3dfd,'color':_0x279724,'name':_0x11525a,'selection':_0x53966c,'left':_0x51e9e7,'top':_0x11f3a7,'width':_0x11529a,'height':_0xc4c8a7,'evented':!0x1,'zIndex':$i};return new wi(_0x11525a,_0x3951cd);});_0x188a3f['addObjects'](_0x3ccff5,Pi),this[_0x1d678c(0x1b6)]=new Set(_0x3ccff5);}['_removeCollabCursors'](){const _0x2fa532=_0x3b7069;var _0x9999b3;(_0x9999b3=this[_0x2fa532(0x1b6)])==null||_0x9999b3['forEach'](_0xe05581=>_0xe05581[_0x2fa532(0x2a0)]());}[_0x3b7069(0x309)](){const _0x28e14a=_0x3b7069;return _0x114a43(this[_0x28e14a(0x332)][_0x28e14a(0x251)],this[_0x28e14a(0x332)]);}};Le=yi([ve(0x1,_0x2eb28e(_0x15beaa)),ve(0x2,_0x2eb28e(H)),ve(0x3,_0x2eb28e(_0x27c001))],Le);function xi(_0x3b1312){const _0x4d3a98=_0x3b7069,_0x4de338=new Map();return _0x3b1312[_0x4d3a98(0x273)](_0x10bfe2=>{const _0x1a2f37=_0x4d3a98;if(_0x4de338[_0x1a2f37(0x328)](_0x10bfe2['selection'])){const _0x162c5c=_0x4de338[_0x1a2f37(0x313)](_0x10bfe2[_0x1a2f37(0x178)]);_0x162c5c[_0x1a2f37(0x2cb)]+=',\x20'+_0x10bfe2[_0x1a2f37(0x2cb)];}else _0x4de338[_0x1a2f37(0x15c)](_0x10bfe2['selection'],_0x10bfe2);}),Array[_0x4d3a98(0x2ff)](_0x4de338[_0x4d3a98(0x154)]());}var v=function(){const _0xe4f286=_0x3b7069;return v=Object[_0xe4f286(0x212)]||function(_0xee3ba3){const _0x220ede=_0xe4f286;for(var _0x15e16c,_0x32b39c=0x1,_0x241535=arguments[_0x220ede(0x1f5)];_0x32b39c<_0x241535;_0x32b39c++){_0x15e16c=arguments[_0x32b39c];for(var _0x1994a6 in _0x15e16c)Object['prototype']['hasOwnProperty']['call'](_0x15e16c,_0x1994a6)&&(_0xee3ba3[_0x1994a6]=_0x15e16c[_0x1994a6]);}return _0xee3ba3;},v['apply'](this,arguments);},Bi=function(_0x3d169d,_0x146c97){const _0x338e22=_0x3b7069;var _0x2b6e08={};for(var _0x42e681 in _0x3d169d)Object['prototype'][_0x338e22(0x299)][_0x338e22(0x229)](_0x3d169d,_0x42e681)&&_0x146c97[_0x338e22(0x282)](_0x42e681)<0x0&&(_0x2b6e08[_0x42e681]=_0x3d169d[_0x42e681]);if(_0x3d169d!=null&&typeof Object['getOwnPropertySymbols']==_0x338e22(0x19d)){for(var _0x111023=0x0,_0x42e681=Object['getOwnPropertySymbols'](_0x3d169d);_0x111023<_0x42e681[_0x338e22(0x1f5)];_0x111023++)_0x146c97[_0x338e22(0x282)](_0x42e681[_0x111023])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3d169d,_0x42e681[_0x111023])&&(_0x2b6e08[_0x42e681[_0x111023]]=_0x3d169d[_0x42e681[_0x111023]]);}return _0x2b6e08;},je=_0x5940ab(function(_0x19857a,_0x1c71b0){const _0x1c79ac=_0x3b7069;var _0x2fbd0f=_0x19857a['icon'],_0x5e0d11=_0x19857a['id'],_0x274521=_0x19857a[_0x1c79ac(0x33e)],_0x4c11c3=_0x19857a[_0x1c79ac(0x2bf)],_0x3a34b6=Bi(_0x19857a,['icon','id',_0x1c79ac(0x33e),_0x1c79ac(0x2bf)]),_0x29a2bd=_0x1c79ac(0x320)[_0x1c79ac(0x2c6)](_0x5e0d11,'\x20')[_0x1c79ac(0x2c6)](_0x274521||'')[_0x1c79ac(0x241)](),_0x446c3a=_0xc65301('_'[_0x1c79ac(0x2c6)](ji()));return Rt(_0x2fbd0f,''[_0x1c79ac(0x2c6)](_0x5e0d11),{'defIds':_0x2fbd0f['defIds'],'idSuffix':_0x446c3a['current']},v({'ref':_0x1c71b0,'className':_0x29a2bd},_0x3a34b6),_0x4c11c3);});function Rt(_0xbf02ca,_0x4dbbb8,_0x5874da,_0x59061e,_0x3cb3fa){const _0x2e844e=_0x3b7069;return _0x5dfcb2(_0xbf02ca[_0x2e844e(0x185)],v(v({'key':_0x4dbbb8},ki(_0xbf02ca,_0x5874da,_0x3cb3fa)),_0x59061e),(Hi(_0xbf02ca,_0x5874da)[_0x2e844e(0x1be)]||[])[_0x2e844e(0x215)](function(_0x35d5a7,_0x2533d3){const _0x2273c8=_0x2e844e;return Rt(_0x35d5a7,''[_0x2273c8(0x2c6)](_0x4dbbb8,'-')[_0x2273c8(0x2c6)](_0xbf02ca[_0x2273c8(0x185)],'-')[_0x2273c8(0x2c6)](_0x2533d3),_0x5874da,void 0x0,_0x3cb3fa);}));}function ki(_0x2a990e,_0xcbd075,_0x69bfff){const _0x498ddd=_0x3b7069;var _0x1b68be=v({},_0x2a990e[_0x498ddd(0x168)]);_0x69bfff!=null&&_0x69bfff[_0x498ddd(0x228)]&&_0x1b68be['fill']===_0x498ddd(0x228)&&(_0x1b68be[_0x498ddd(0x2ad)]=_0x69bfff[_0x498ddd(0x228)]),_0x2a990e[_0x498ddd(0x185)]===_0x498ddd(0x355)&&_0x1b68be['id']&&(_0x1b68be['id']=_0x1b68be['id']+_0xcbd075[_0x498ddd(0x25f)]),Object['entries'](_0x1b68be)[_0x498ddd(0x273)](function(_0x11077f){const _0x7b079=_0x498ddd;var _0x4dbcde=_0x11077f[0x0],_0x22925d=_0x11077f[0x1];_0x4dbcde==='mask'&&typeof _0x22925d==_0x7b079(0x321)&&(_0x1b68be[_0x4dbcde]=_0x22925d[_0x7b079(0x31a)](/url\(#(.*)\)/,_0x7b079(0x2f5)[_0x7b079(0x2c6)](_0xcbd075[_0x7b079(0x25f)],')')));});var _0x1c8980=_0xcbd075['defIds'];return!_0x1c8980||_0x1c8980[_0x498ddd(0x1f5)]===0x0||(_0x2a990e[_0x498ddd(0x185)]===_0x498ddd(0x2b2)&&_0x1b68be[_0x498ddd(0x18e)]&&(_0x1b68be['xlink:href']=_0x1b68be[_0x498ddd(0x18e)]+_0xcbd075[_0x498ddd(0x25f)]),Object['entries'](_0x1b68be)['forEach'](function(_0x59137f){const _0x4c73b1=_0x498ddd;var _0x13f406=_0x59137f[0x0],_0x3201a0=_0x59137f[0x1];typeof _0x3201a0==_0x4c73b1(0x321)&&(_0x1b68be[_0x13f406]=_0x3201a0[_0x4c73b1(0x31a)](/url\(#(.*)\)/,_0x4c73b1(0x2f5)[_0x4c73b1(0x2c6)](_0xcbd075[_0x4c73b1(0x25f)],')')));})),_0x1b68be;}function Hi(_0x205f5a,_0x5cbf05){const _0x9d9cfb=_0x3b7069;var _0x50e21d,_0x67a726=_0x5cbf05[_0x9d9cfb(0x218)];return!_0x67a726||_0x67a726[_0x9d9cfb(0x1f5)]===0x0?_0x205f5a:_0x205f5a['tag']===_0x9d9cfb(0x184)&&(!((_0x50e21d=_0x205f5a[_0x9d9cfb(0x1be)])===null||_0x50e21d===void 0x0)&&_0x50e21d[_0x9d9cfb(0x1f5)])?v(v({},_0x205f5a),{'children':_0x205f5a[_0x9d9cfb(0x1be)][_0x9d9cfb(0x215)](function(_0x1b0ec4){const _0x324872=_0x9d9cfb;return typeof _0x1b0ec4[_0x324872(0x168)]['id']==_0x324872(0x321)&&_0x67a726&&_0x67a726[_0x324872(0x282)](_0x1b0ec4[_0x324872(0x168)]['id'])>-0x1?v(v({},_0x1b0ec4),{'attrs':v(v({},_0x1b0ec4[_0x324872(0x168)]),{'id':_0x1b0ec4[_0x324872(0x168)]['id']+_0x5cbf05[_0x324872(0x25f)]})}):_0x1b0ec4;})}):_0x205f5a;}function ji(){const _0x3738d4=_0x3b7069;return Math[_0x3738d4(0x20e)]()['toString'](0x24)[_0x3738d4(0x34a)](0x2,0x8);}je[_0x3b7069(0x1d6)]='UniverIcon';var Yi={'tag':_0x3b7069(0x2ea),'attrs':{'fill':'none','viewBox':_0x3b7069(0x300),'width':_0x3b7069(0x347),'height':_0x3b7069(0x347)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b7069(0x2f7)},'children':[{'tag':_0x3b7069(0x219),'attrs':{'stroke':'currentColor','d':_0x3b7069(0x1c7),'strokeLinecap':_0x3b7069(0x358),'strokeLinejoin':_0x3b7069(0x358),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3b7069(0x161),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3b7069(0x219),'attrs':{'fill':'#fff','d':_0x3b7069(0x171)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x5940ab(function(_0x6ae935,_0x1cf479){const _0x70ab49=_0x3b7069;return _0x5dfcb2(je,Object[_0x70ab49(0x212)]({},_0x6ae935,{'id':'off-line-single','ref':_0x1cf479,'icon':Yi}));});Dt[_0x3b7069(0x1d6)]=_0x3b7069(0x23d);var Wi={'tag':_0x3b7069(0x2ea),'attrs':{'fill':_0x3b7069(0x2cd),'viewBox':_0x3b7069(0x21c),'width':_0x3b7069(0x347),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3b7069(0x223)},'children':[{'tag':_0x3b7069(0x219),'attrs':{'stroke':_0x3b7069(0x182),'d':_0x3b7069(0x2d6),'strokeLinecap':_0x3b7069(0x358),'strokeLinejoin':_0x3b7069(0x358),'strokeWidth':1.2}}]},{'tag':_0x3b7069(0x184),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3b7069(0x2f4)},'children':[{'tag':'path','attrs':{'fill':_0x3b7069(0x1b8),'d':_0x3b7069(0x171),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3b7069(0x2f4)]},Nt=_0x5940ab(function(_0x3aebe1,_0x2ddaea){const _0x2de876=_0x3b7069;return _0x5dfcb2(je,Object[_0x2de876(0x212)]({},_0x3aebe1,{'id':'on-line-single','ref':_0x2ddaea,'icon':Wi}));});Nt[_0x3b7069(0x1d6)]=_0x3b7069(0x2d2);function Fi(_0x2a2fe4){const _0x3ee43f=_0x3b7069;switch(_0x2a2fe4){case _0xbbad33[_0x3ee43f(0x274)]:return _0x3ee43f(0x243);case _0xbbad33[_0x3ee43f(0x158)]:return _0x3ee43f(0x164);case _0xbbad33[_0x3ee43f(0x1dd)]:return'collabStatus.fetchMiss';case _0xbbad33[_0x3ee43f(0x1d3)]:return _0x3ee43f(0x2df);case _0xbbad33['AWAITING']:case _0xbbad33[_0x3ee43f(0x17d)]:return'collabStatus.syncing';case _0xbbad33[_0x3ee43f(0x288)]:case _0xbbad33[_0x3ee43f(0x209)]:return _0x3ee43f(0x31f);}}function Vi(_0x3176de){const _0x2152b5=_0x3b7069,{status$:_0x4df755}=_0x3176de,_0x4f3811=_0x24e304(_0x4df755,_0xbbad33[_0x2152b5(0x1d3)]),_0x3a4744=_0x1be28e(_0x13db92),_0x5004ff=_0x1be28e(_0x4ec459),_0x3bab66=_0x4f3811!==_0xbbad33[_0x2152b5(0x274)],_0x3faa99=_0x3a4744['t'](Fi(_0x4f3811)),_0x32cf3d=_0x3bab66?_0x26857e(Nt,{}):_0x26857e(Dt,{}),_0x2a6b97=_0x11ad7a(()=>{_0x3bab66||_0x5004ff['reconnect']();},[_0x3bab66,_0x5004ff]);function _0x50893a(){const _0x21a8e6=_0x2152b5;return _0x55067f(_0x21a8e6(0x23a),{'className':_0x21a8e6(0x32c),'onClick':_0x2a6b97,'children':[_0x26857e('div',{'className':_0x58b853(_0x21a8e6(0x159),_0x3bab66?_0x21a8e6(0x1f0):'univer-text-red-500'),'children':_0x32cf3d}),_0x26857e('div',{'className':_0x21a8e6(0x306),'children':_0x3faa99})]});}return _0x3bab66?_0x50893a():_0x26857e(_0xa4146e,{'title':_0x3a4744['t'](_0x2152b5(0x1a5)),'children':_0x50893a()});}var Xi=Object[_0x3b7069(0x325)],Gi=(_0x30dcbe,_0x397806,_0x4dd30d,_0x2a1016)=>{const _0x2b97b8=_0x3b7069;for(var _0x39f5e1=_0x2a1016>0x1?void 0x0:_0x2a1016?Xi(_0x397806,_0x4dd30d):_0x397806,_0x1e8676=_0x30dcbe[_0x2b97b8(0x1f5)]-0x1,_0x279209;_0x1e8676>=0x0;_0x1e8676--)(_0x279209=_0x30dcbe[_0x1e8676])&&(_0x39f5e1=_0x279209(_0x39f5e1)||_0x39f5e1);return _0x39f5e1;},Q=(_0x53c10c,_0x29fd16)=>(_0x3d2475,_0x567c57)=>_0x29fd16(_0x3d2475,_0x567c57,_0x53c10c);let te=class extends _0x2a6f43{constructor(_0xbb31ae,_0x394a46,_0x3dcde3,_0x39f9f0){const _0x1a3529=_0x3b7069;super(),_(this,'_status$',new _0x1ca0e1(_0xbbad33[_0x1a3529(0x1d3)])),(this['_univerInstanceService']=_0xbb31ae,this[_0x1a3529(0x217)]=_0x394a46,this[_0x1a3529(0x1ed)]=_0x3dcde3,this['_uiPartsService']=_0x39f9f0,this[_0x1a3529(0x29f)](),this[_0x1a3529(0x195)]());}['_initStatusListener'](){const _0x4f220a=_0x3b7069;this[_0x4f220a(0x261)](this[_0x4f220a(0x335)][_0x4f220a(0x30f)][_0x4f220a(0x19c)](_0xa39a1a(()=>{const _0x5007ab=_0x4f220a,_0x15df0f=this[_0x5007ab(0x335)][_0x5007ab(0x1f9)]();return _0x15df0f?this[_0x5007ab(0x1ed)][_0x5007ab(0x26e)](_0x15df0f['getUnitId']()):_0x3a7a99(null);}),_0xa39a1a(_0x86b078=>_0x86b078?_0x86b078[_0x4f220a(0x221)]:_0x3a7a99(_0xbbad33[_0x4f220a(0x1d3)])))[_0x4f220a(0x236)](_0x35994a=>{const _0x27df36=_0x4f220a;this[_0x27df36(0x1f8)][_0x27df36(0x1ba)](_0x35994a);}));}[_0x3b7069(0x29f)](){const _0x439dd8=_0x3b7069;this[_0x439dd8(0x261)](this['_uiPartsService'][_0x439dd8(0x32a)](_0x60d367['HEADER_MENU'],()=>_0x2935ff(Ki({'status$':this['_status$'][_0x439dd8(0x2c2)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5123ac),Q(0x1,_0x2eb28e(_0x542e55)),Q(0x2,_0x2eb28e(_0x5d7669)),Q(0x3,_0x3a8e0c)],te);function Ki(_0x5d2b55){const {status$:_0x37457e}=_0x5d2b55;return function(){return _0x26857e(Vi,{'status$':_0x37457e});};}var zi=Object[_0x3b7069(0x325)],Ji=(_0x24a863,_0x292883,_0x562f38,_0xa5928f)=>{const _0x382267=_0x3b7069;for(var _0x386af9=_0xa5928f>0x1?void 0x0:_0xa5928f?zi(_0x292883,_0x562f38):_0x292883,_0x528237=_0x24a863[_0x382267(0x1f5)]-0x1,_0x310cb5;_0x528237>=0x0;_0x528237--)(_0x310cb5=_0x24a863[_0x528237])&&(_0x386af9=_0x310cb5(_0x386af9)||_0x386af9);return _0x386af9;},B=(_0x3a7122,_0x270b5d)=>(_0x175f5a,_0x599c8b)=>_0x270b5d(_0x175f5a,_0x599c8b,_0x3a7122);let se=class extends _0x2a6f43{constructor(_0x4a861c,_0x406529,_0x33b0bf,_0x57df12,_0x92dcc4,_0x93f213){const _0x1b9561=_0x3b7069;super(),this['_beforeCloseService']=_0x4a861c,this[_0x1b9561(0x20c)]=_0x406529,this['_collaborationUIEventService']=_0x33b0bf,this[_0x1b9561(0x1ea)]=_0x57df12,this[_0x1b9561(0x1da)]=_0x92dcc4,this[_0x1b9561(0x15b)]=_0x93f213,this[_0x1b9561(0x235)](),this[_0x1b9561(0x249)]();}[_0x3b7069(0x235)](){const _0x38613d=_0x3b7069;this['disposeWithMe'](this[_0x38613d(0x1d2)][_0x38613d(0x32d)](()=>{const _0x1f32d4=_0x38613d;if(this[_0x1f32d4(0x20c)][_0x1f32d4(0x203)][_0x1f32d4(0x331)])return this[_0x1f32d4(0x15b)]['t'](_0x1f32d4(0x301));}));}[_0x3b7069(0x249)](){const _0x36c2ae=_0x3b7069;this[_0x36c2ae(0x261)](this['_collaborationUIEventService'][_0x36c2ae(0x343)][_0x36c2ae(0x236)](_0x9cb22e=>{const _0x4ad48c=_0x36c2ae;_0x9cb22e['id']===_0x581134[_0x4ad48c(0x205)]&&this[_0x4ad48c(0x1ea)]['show']({'type':_0x5a2a4a['Warning'],'content':this[_0x4ad48c(0x15b)]['t']('collaboration.single-unit.warning')}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x1ad)]&&this['_messageService'][_0x4ad48c(0x20a)]({'type':_0x5a2a4a['Warning'],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x1de))}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x318)]&&this[_0x4ad48c(0x1da)][_0x4ad48c(0x20a)]({'title':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x2a2)),'content':this['_localeService']['t'](_0x4ad48c(0x20d)),'type':_0x4ad48c(0x23e),'duration':0x0}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x158)]&&this['_messageService']['show']({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this['_localeService']['t'](_0x4ad48c(0x1de))+'('+_0x9cb22e[_0x4ad48c(0x1cf)]+')'}),_0x9cb22e['id']===_0x581134['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x5a2a4a[_0x4ad48c(0x20f)],'content':this[_0x4ad48c(0x15b)]['t'](_0x9cb22e[_0x4ad48c(0x1cf)]||'')}),_0x9cb22e['id']===_0x581134['SOCKET_FAILED_RETRY']&&this[_0x4ad48c(0x1ea)][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x20f)],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x314))}),_0x9cb22e['id']===_0x581134['SOCKET_FAILED']&&this[_0x4ad48c(0x1ea)][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x27d))}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x15e)]&&this['_messageService'][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2a626f),B(0x1,_0x244f63),B(0x2,_0x2eb28e(_0xcb51bc)),B(0x3,_0x3d24af),B(0x4,_0x440292),B(0x5,_0x2eb28e(_0x13db92))],se);const Zi=_0x3b7069(0x1b9),et={},Ut=_0x2f6d96(_0x3b7069(0x2b9));var Qi=Object[_0x3b7069(0x325)],qi=(_0x32829a,_0x11cd4f,_0x54b4a2,_0x4d2e45)=>{const _0x15530c=_0x3b7069;for(var _0x241628=_0x4d2e45>0x1?void 0x0:_0x4d2e45?Qi(_0x11cd4f,_0x54b4a2):_0x11cd4f,_0x35d700=_0x32829a[_0x15530c(0x1f5)]-0x1,_0x591ee4;_0x35d700>=0x0;_0x35d700--)(_0x591ee4=_0x32829a[_0x35d700])&&(_0x241628=_0x591ee4(_0x241628)||_0x241628);return _0x241628;},G=(_0x3d6855,_0x1c6655)=>(_0x273c87,_0x4221ad)=>_0x1c6655(_0x273c87,_0x4221ad,_0x3d6855);let ie=class extends _0x42b55d{constructor(_0xee19f3,_0xa8b834,_0x2d817f,_0x5789c5,_0x84cc4b){const _0x534942=_0x3b7069;super(),this[_0x534942(0x192)]=_0xee19f3,this[_0x534942(0x220)]=_0xa8b834,this[_0x534942(0x17e)]=_0x2d817f,this[_0x534942(0x2a9)]=_0x5789c5,_0x84cc4b?_0x84cc4b==null||_0x84cc4b[_0x534942(0x193)]()[_0x534942(0x2b6)](()=>this[_0x534942(0x353)]()):(this[_0x534942(0x220)][_0x534942(0x286)](_0x534942(0x172),_0x534942(0x2d1)),this[_0x534942(0x353)]());}async[_0x3b7069(0x353)](){const _0x21b7b8=_0x3b7069,_0x374c43=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)](_0x21b7b8(0x251)),_0x645c16=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)](_0x21b7b8(0x278)),_0x25d581=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)]('subunit');if(!_0x374c43||!_0x645c16){this[_0x21b7b8(0x220)]['debug'](_0x21b7b8(0x172),_0x21b7b8(0x25b));return;}const _0x5adba8=await this['_dataLoaderService'][_0x21b7b8(0x283)](_0x374c43,Number(_0x645c16),_0x25d581);_0x5adba8&&_0x5adba8 instanceof _0x1c4acf&&this[_0x21b7b8(0x1c5)](_0x5adba8);}async[_0x3b7069(0x1c5)](_0x29cfd2){const _0x399732=_0x3b7069;await this['_updateSubUnitFromURLParams'](_0x29cfd2),_0x29cfd2[_0x399732(0x265)][_0x399732(0x19c)](_0x53aa4f(this[_0x399732(0x29d)]))[_0x399732(0x236)](_0x3efca4=>{const _0x53cc11=_0x399732;_0x3efca4&&this[_0x53cc11(0x2ac)](_0x3efca4);}),this[_0x399732(0x192)][_0x399732(0x1ee)]['pipe'](_0x53aa4f(this['dispose$']))[_0x399732(0x236)](()=>this[_0x399732(0x22b)](_0x29cfd2));}[_0x3b7069(0x2ac)](_0x272547,_0x469294=!0x1){const _0xbf50a2=_0x3b7069,_0x1300f7=this[_0xbf50a2(0x192)]['getParam']('subunit');_0x272547[_0xbf50a2(0x2de)]()!==_0x1300f7&&this['_urlService'][_0xbf50a2(0x191)](_0xbf50a2(0x2bb),_0x272547[_0xbf50a2(0x2de)](),_0x469294);}async[_0x3b7069(0x22b)](_0x30f484){const _0x137be8=_0x3b7069;var _0x3fcae7;const _0x5ac7b6=this['_urlService']['getParam'](_0x137be8(0x2bb));if(!_0x5ac7b6||!_0x30f484[_0x137be8(0x196)](_0x5ac7b6)){const _0x1ceec8=_0x30f484[_0x137be8(0x227)]()[0x0],_0x14568d=_0x30f484[_0x137be8(0x196)](_0x1ceec8);if(!_0x14568d)return;this['_updateURLWithCurrentState'](_0x14568d,!0x0),await this[_0x137be8(0x17e)][_0x137be8(0x2fb)](_0x5ab3e3['id'],{'unitId':_0x30f484[_0x137be8(0x323)](),'subUnitId':_0x1ceec8});return;}((_0x3fcae7=_0x30f484[_0x137be8(0x169)]())==null?void 0x0:_0x3fcae7[_0x137be8(0x2de)]())!==_0x5ac7b6&&await this[_0x137be8(0x17e)][_0x137be8(0x2fb)](_0x5ab3e3['id'],{'unitId':_0x30f484[_0x137be8(0x323)](),'subUnitId':_0x5ac7b6});}};ie=qi([G(0x0,Ut),G(0x1,_0x895744),G(0x2,_0x165616),G(0x3,_0x2eb28e(_0x26ce16)),G(0x4,_0x3dd4f8(_0x293cb2))],ie);var en=Object[_0x3b7069(0x325)],tn=(_0xe28216,_0x30ef4f,_0x4ebe71,_0x10c7f2)=>{for(var _0x28d552=_0x10c7f2>0x1?void 0x0:_0x10c7f2?en(_0x30ef4f,_0x4ebe71):_0x30ef4f,_0x5286ae=_0xe28216['length']-0x1,_0x3f9b52;_0x5286ae>=0x0;_0x5286ae--)(_0x3f9b52=_0xe28216[_0x5286ae])&&(_0x28d552=_0x3f9b52(_0x28d552)||_0x28d552);return _0x28d552;},pe=(_0x21262f,_0x13ee83)=>(_0x17e04e,_0x8d7cfe)=>_0x13ee83(_0x17e04e,_0x8d7cfe,_0x21262f);let ne=class{constructor(_0x2c1b67,_0x2009df,_0x572183){const _0x5b917b=_0x3b7069;this[_0x5b917b(0x217)]=_0x2c1b67,this[_0x5b917b(0x2a7)]=_0x2009df,this[_0x5b917b(0x25a)]=_0x572183;}[_0x3b7069(0x2b4)](_0x253844){this['_transformUndoRedoStack'](_0x253844),this['_transformPreviousActiveRange'](_0x253844);}['transformRemoteChangeset'](_0x5e8999){const _0x22ff3b=_0x3b7069,{unitID:_0x474d9c}=_0x5e8999,_0x486e61=this[_0x22ff3b(0x25a)][_0x22ff3b(0x322)](_0x474d9c)[_0x22ff3b(0x345)](_0x2b5571),{redoCache:_0x33fb9d}=_0x486e61[_0x22ff3b(0x232)]();if(_0x33fb9d[_0x22ff3b(0x1f5)]===0x0)return _0x5e8999;let _0x203961=_0x52fcfb[_0x22ff3b(0x2af)](_0x5e8999[_0x22ff3b(0x175)][0x0]);for(let _0x34a942=0x0;_0x34a942<_0x33fb9d[_0x22ff3b(0x1f5)];_0x34a942++){const _0x5bc422={'id':'doc.mutation.rich-text-editing','params':{..._0x33fb9d[_0x34a942]}},_0x3f5813=this[_0x22ff3b(0x2a7)]['transformMutation'](_0x203961,_0x5bc422,!0x1);if(_0x33b899(_0x3f5813))throw _0x3f5813[_0x22ff3b(0x23e)];_0x203961=_0x3f5813['m1Prime'];}return{..._0x52fcfb[_0x22ff3b(0x2af)](_0x5e8999),'mutations':[_0x203961]};}[_0x3b7069(0x1a8)](_0x2830a1){const _0x32693f=_0x3b7069,{unitID:_0x89a791}=_0x2830a1,_0x5680bf=this[_0x32693f(0x25a)][_0x32693f(0x322)](_0x89a791)[_0x32693f(0x345)](_0x2b5571),{undoCache:_0x5250c7,redoCache:_0x50401b}=_0x5680bf[_0x32693f(0x232)]();if(_0x5250c7[_0x32693f(0x1f5)]===0x0||_0x50401b[_0x32693f(0x1f5)]===0x0)return;const _0x17a2c5=[],_0x483642=[];let _0x253aff=_0x52fcfb[_0x32693f(0x2af)](_0x2830a1[_0x32693f(0x175)][0x0]),_0x1e2ff8=_0x52fcfb[_0x32693f(0x2af)](_0x2830a1[_0x32693f(0x175)][0x0]);for(let _0x2244a2=_0x5250c7[_0x32693f(0x1f5)]-0x1;_0x2244a2>=0x0;_0x2244a2--){const _0x344259={'id':'doc.mutation.rich-text-editing','params':{..._0x5250c7[_0x2244a2]}},_0x39407a={'id':_0x32693f(0x23c),'params':{..._0x50401b[_0x2244a2]}},_0x2bb9f9=this['_transformService'][_0x32693f(0x2ae)](_0x253aff,_0x344259,!0x1),_0x172d21=this[_0x32693f(0x2a7)]['transformMutation'](_0x1e2ff8,_0x39407a,!0x1);if(_0x33b899(_0x2bb9f9))throw _0x2bb9f9['error'];if(_0x33b899(_0x172d21))throw _0x172d21['error'];_0x17a2c5[_0x32693f(0x1e8)](_0x2bb9f9[_0x32693f(0x2c4)][_0x32693f(0x280)]),_0x483642['unshift'](_0x172d21['m2Prime']['params']),_0x253aff=_0x2bb9f9[_0x32693f(0x34e)],_0x1e2ff8=_0x172d21[_0x32693f(0x34e)];}_0x5680bf[_0x32693f(0x2a3)]({'undoCache':_0x17a2c5,'redoCache':_0x483642});}[_0x3b7069(0x25d)](_0x24f054){const _0x5e7d8b=_0x3b7069,{unitID:_0x28fc36}=_0x24f054,_0x5a1a27=this['_renderManagerService'][_0x5e7d8b(0x322)](_0x28fc36)[_0x5e7d8b(0x345)](_0x2b5571),_0x1d4c70=_0x5a1a27[_0x5e7d8b(0x181)]();if(_0x1d4c70==null)return;const _0x58f974=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24f054['unitID'],'actions':null,'textRanges':[_0x1d4c70]}}],_0x38dc0c=this[_0x5e7d8b(0x2a7)]['transformMutationsWithChangeset'](_0x24f054,_0x58f974);if(!_0x360590(_0x38dc0c))throw _0x38dc0c[_0x5e7d8b(0x23e)];const _0x395b66=_0x38dc0c[_0x5e7d8b(0x2c4)][0x0][_0x5e7d8b(0x280)][_0x5e7d8b(0x2e7)];Array[_0x5e7d8b(0x1d9)](_0x395b66)&&_0x395b66[_0x5e7d8b(0x1f5)]&&_0x5a1a27[_0x5e7d8b(0x254)](_0x395b66[0x0]);}};ne=tn([pe(0x0,_0x2eb28e(_0x542e55)),pe(0x1,_0x25c7bb),pe(0x2,_0x5aabf0)],ne);var sn=Object[_0x3b7069(0x325)],nn=(_0x587120,_0x5cd171,_0x44913b,_0x4dcfdd)=>{for(var _0x1df20c=_0x4dcfdd>0x1?void 0x0:_0x4dcfdd?sn(_0x5cd171,_0x44913b):_0x5cd171,_0x2b5544=_0x587120['length']-0x1,_0x4052ce;_0x2b5544>=0x0;_0x2b5544--)(_0x4052ce=_0x587120[_0x2b5544])&&(_0x1df20c=_0x4052ce(_0x1df20c)||_0x1df20c);return _0x1df20c;},Ce=(_0x132220,_0x1b6c3e)=>(_0x11ae41,_0x169928)=>_0x1b6c3e(_0x11ae41,_0x169928,_0x132220);let re=class{constructor(_0x3b0d70,_0x3224a7,_0x1afbcf){const _0x1b2171=_0x3b7069;this['_injector']=_0x3b0d70,this[_0x1b2171(0x2a7)]=_0x3224a7,this['_docStateChangeManagerService']=_0x1afbcf;}[_0x3b7069(0x253)](_0x28406a){const _0x167cd7=_0x3b7069;this[_0x167cd7(0x356)](_0x28406a);}[_0x3b7069(0x1ce)](_0x1df948){const _0x3489f7=_0x3b7069,{unitID:_0x2a646e}=_0x1df948,{collaboration:_0x3245ed}=this[_0x3489f7(0x2cf)]['getStateCache'](_0x2a646e);if(_0x3245ed[_0x3489f7(0x1f5)]===0x0)return _0x1df948;let _0x3d20b6=_0x52fcfb['deepClone'](_0x1df948['mutations'][0x0]);for(let _0x5060f6=0x0;_0x5060f6<_0x3245ed[_0x3489f7(0x1f5)];_0x5060f6++){const _0x4b4256={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3245ed[_0x5060f6][_0x3489f7(0x24f)],..._0x3245ed[_0x5060f6]['redoState']}},_0x243911=this['_transformService']['transformMutation'](_0x3d20b6,_0x4b4256,!0x1);if(_0x33b899(_0x243911))throw _0x243911['error'];_0x3d20b6=_0x243911['m1Prime'];}return{..._0x52fcfb[_0x3489f7(0x2af)](_0x1df948),'mutations':[_0x3d20b6]};}['_transformHistoryAndStateStack'](_0x129135){const _0x740419=_0x3b7069,{unitID:_0x5dfe76}=_0x129135,{history:_0x3a3e96,collaboration:_0x138f1f}=this[_0x740419(0x2cf)][_0x740419(0x1c4)](_0x5dfe76);if(_0x3a3e96[_0x740419(0x1f5)]===0x0&&_0x138f1f[_0x740419(0x1f5)]===0x0)return;const _0x5dce6b=[],_0x42cb40=[];let _0x26743a=_0x52fcfb['deepClone'](_0x129135[_0x740419(0x175)][0x0]),_0x1427dd=_0x52fcfb[_0x740419(0x2af)](_0x129135[_0x740419(0x175)][0x0]);for(let _0x2678aa=_0x3a3e96[_0x740419(0x1f5)]-0x1;_0x2678aa>=0x0;_0x2678aa--){const _0x4f7fee={'id':_0x740419(0x23c),'params':{'unitId':_0x3a3e96[_0x2678aa][_0x740419(0x24f)],..._0x3a3e96[_0x2678aa]['undoState']}},_0xefa411={'id':_0x740419(0x23c),'params':{'unitId':_0x3a3e96[_0x2678aa][_0x740419(0x24f)],..._0x3a3e96[_0x2678aa][_0x740419(0x18c)]}},_0x2e6abd=this['_transformService'][_0x740419(0x2ae)](_0x26743a,_0x4f7fee,!0x1),_0x43c08d=this['_transformService'][_0x740419(0x2ae)](_0x1427dd,_0xefa411,!0x1);if(_0x33b899(_0x2e6abd))throw _0x2e6abd[_0x740419(0x23e)];if(_0x33b899(_0x43c08d))throw _0x43c08d[_0x740419(0x23e)];_0x5dce6b['unshift']({..._0x3a3e96[_0x2678aa],'undoState':_0x2e6abd[_0x740419(0x2c4)][_0x740419(0x280)],'redoState':_0x43c08d['m2Prime']['params']}),_0x26743a=_0x2e6abd[_0x740419(0x34e)],_0x1427dd=_0x43c08d['m1Prime'];}_0x26743a=_0x52fcfb[_0x740419(0x2af)](_0x129135[_0x740419(0x175)][0x0]),_0x1427dd=_0x52fcfb[_0x740419(0x2af)](_0x129135['mutations'][0x0]);for(let _0x8dc2fb=_0x138f1f['length']-0x1;_0x8dc2fb>=0x0;_0x8dc2fb--){const _0x4d1203={'id':_0x740419(0x23c),'params':{'unitId':_0x138f1f[_0x8dc2fb][_0x740419(0x24f)],..._0x138f1f[_0x8dc2fb][_0x740419(0x1bf)]}},_0x4c56da={'id':_0x740419(0x23c),'params':{'unitId':_0x138f1f[_0x8dc2fb][_0x740419(0x24f)],..._0x138f1f[_0x8dc2fb][_0x740419(0x18c)]}},_0x57d202=this[_0x740419(0x2a7)][_0x740419(0x2ae)](_0x26743a,_0x4d1203,!0x1),_0x3f751e=this[_0x740419(0x2a7)]['transformMutation'](_0x1427dd,_0x4c56da,!0x1);if(_0x33b899(_0x57d202))throw _0x57d202['error'];if(_0x33b899(_0x3f751e))throw _0x3f751e[_0x740419(0x23e)];_0x42cb40[_0x740419(0x1e8)]({..._0x138f1f[_0x8dc2fb],'undoState':_0x57d202['m2Prime'][_0x740419(0x280)],'redoState':_0x3f751e[_0x740419(0x2c4)][_0x740419(0x280)]}),_0x26743a=_0x57d202[_0x740419(0x34e)],_0x1427dd=_0x3f751e[_0x740419(0x34e)];}this[_0x740419(0x2cf)][_0x740419(0x351)](_0x5dfe76,{'history':_0x5dce6b,'collaboration':_0x42cb40});}};function _0x7593(){const _0x5079ea=['_updateURLWithCurrentState','fill','transformMutation','deepClone','addHandlerCallback','_refRangeService','use','USERS_LEAVE','transformIMECache','_handleHeartbeatEvent','then','InsertRangeMoveDownCommandId','pushState','uni.network.url-service','_docSyncEditingCollabCursorService','subunit','...','height','roomMembers$','extend','newValue','onRendered','asObservable','purple300','m2Prime','push','concat','history','range','NO_OTHER_CLIENTS_EDITING','_render','name','_shapes','none','jiqing500','_docStateChangeManagerService','UNRECOGNIZED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OnLineSingle','invokeId','findNodePositionByCharIndex','_onCursorDelete','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','LICENSE_EXPORT_SIZE_EXCEEDED','addClipboardHook','getOffsetConfig','searchParams','lineTo','INVITE_CODE_HAS_BEEN_UES','black','getSheetId','collabStatus.notCollab','MoveRangeCommandId','InsertRangeMoveRightCommandId','CHANGESET_REVISION_CONFILICT','getUnitStatus$','_initDependencies','_scheduleClearOtherTimer','restore','textRanges','INVITE_CODE_REQUIRED','getRangePointData','svg','fillStyle','Error','save','complete','APPLY_REJECT','INVALID_ARGUMENT','isEditing','_imageIoService','currentTheme$','on-line-single_clip0_910_349','url(#$1','evenodd','url(#off-line-single_clip0_910_343)','InsertRowCommandId','toString','startsWith','executeCommand','entityInit$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeClearOtherTimer','from','0\x200\x2016\x2016','collaboration-client.offline-data-not-saved','closePath','hovered','YUUMI_ASYNCIO_CANCELLED','_hover','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_textBubble','YUUMI_ALL_TABLES_IS_INVALID','_getSheetObject','_lastPointer','_updateLocalCursor','getUniverSheetInstance','4882725coTqHh','YUUMI_TABLE_NOT_FOUND_IN_UNIT','focused$','APPLY_PERMISSION_DENIED','_initCommandExecutedListener','onPointerLeave$','get','session.will-retry','getCellPositionByOffset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_config','PERMISSION_DENIED','setTimeout','replace','hide','_onCursorUpdate','assignAColorForMemberID','collab-rect-range-','collabStatus.synced','univerjs-icon\x20univerjs-icon-','string','getRenderById','getUnitId','contains','getOwnPropertyDescriptor','SNAPSHOT_INVALID_SNAPSHOT','rgba(255,\x20255,\x20255,\x200.01)','has','_unitOnClients','registerComponent','symbol','univer-flex\x20univer-items-center','registerBeforeClose','top','saveOfflineData','_roomMembers$','size','_context','_localStorageService','_heartbeatTimer','_univerInstanceService','exhaustSavingTask','YUUMI_UNABLE_LOAD_URL','_scene','getSkeleton','INVALID_INVITE_CODE','_drawTextRange','APPLY_NON_SEQUENTIAL_REVISION','backgroundColor','className','_refreshCollabCursors','ENSURE_SNAPSHOT_EXECUTION','_handleHover','_hideTimer','event$','getValue','with','actions','1em','_startSheetCollabCursor','_eventUnsubscribe','substring','application/json','getMemberID','startColumn','m1Prime','INVITE_CODE_ALREADY_BOUND','_httpService','setStateCache','setConfig','_init','min','mask','_transformHistoryAndStateStack','_collabCursorState$','round','_colorAssignService','_createSocketURL','values','_getAnchorBounding','YUUMI_SUBSCRIPTION_NOT_FOUND','storage','CONFLICT','univer-flex\x20univer-mr-2\x20univer-text-[20px]','blue400','_localeService','set','1474922kJXNcA','SUBMIT_CHANGESET_TIMEOUT','split','_configService','clipPath','runId','_cachedData','collabStatus.conflict','location','_docTransformIMECacheService','getAncestorScale','attrs','getActiveSheet','NOT_FOUND','docStateChange$','getCollabCursors$','result','RemoveRowCommandId','OTHER_CLIENTS_EDITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','M0\x200H16V16H0z','[CollaborationDataLoaderController]','popstate','_draw','mutations','_clearOtherTimers','_saveCache','selection','setShapeProps','_onRefRangeChange','getRelativeToViewportCoord','currentSkeleton$','AWAITING_WITH_PENDING','_commandService','triggerDblclick','_toggleOffline','getActiveRange','currentColor','onMouseMove','defs','tag','MOBILE_HAS_BEEN_BOUND','_send','_getScale','RemoveColCommandId','_doCreateSocket','_docClipboardService','redoState','key','xlink:href','endRow','_updateCollabCursors','setParam','_urlService','whenReady','getCurrentSelections','_initStatusListener','getSheetBySheetId','getViewport','_labelPosition','code','setItem','transformByState','pipe','function','skeleton','_disabled','PY_RUNTIME_SCRIPT_ERROR','collab-text-range-','MUTATION','_themeService','DeleteRangeMoveLeftCommandId','collab-client.tooltip.reconnect','startRow','_initResize','_transformUndoRedoStack','engine','_syncEditingCollabCursorService','_instanceService','_entityInit$','CLOSE_ROOM','executionId','eventID','transform','YUUMI_AI_RUN_FAILED','getMergeData','_collabCursorController','clearTimeout','override','_cursors','TOO_MANY_REQUESTS','#fff','collaboration-client-ui.config','next','verdancy600','_getSaveTimeout','_saveTaskMap','children','undoState','getConfig','_id','#FFF','getMember','getStateCache','_setupSubUnitSync','54DHRGlQ','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','generateRandomId','_drawRectRange','_registerRenderDependencies','setInterval','_ensureSubject','_anchorDot','transformRemoteChangeset','data','WECHAT_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','_beforeCloseService','NOT_COLLAB','COMPLETION_FINISHED','_getSessionTicket','displayName','makeDirty','defineProperty','isArray','_notificationService','stringify','_collabSessionService','FETCH_MISS','collaboration.closeRoom','_handleJoinEvent','RECT','USER_NOT_INVITED_CODE','fillText','requireSession','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addObject','collab-text-anchor-','cursorInfo','unshift','onPointerEnter$','_messageService','_registerDependencies','endColumn','_collaborationController','urlChange$','Failed','univer-text-green-500','_handleLeaveEvent','_anchor','_drawAnchor','YUUMI_URL_COL_OUT_OF_RANGE','length','body','getParam','_status$','getFocusedUnit','registerRefRange','imageSourceType','width','enableLocalCache','add','55708WTWSmh','_revisionService','font','delete','saveTaskMap','transformSelections','OTHER_CLIENT_EDITING','_name','column','DeleteRangeMoveUpCommandId','PENDING','show','UNIVER_DOC','_localCacheService','permission.content','random','Warning','_initEntityListener','_hovered','assign','INTERNAL_ERROR','flatMap','map','all','_injector','defIds','path','toRgbString','_handleEvent','0\x200\x2017\x2016','arc','row','_scheduleHeartbeat','_logService','status$','createInstance','url(#on-line-single_clip0_910_349)','_cursorInfo$','registerRenderModule','updateOfflineData','getUnhiddenWorksheets','colorChannel1','call','ticket','_updateSubUnitFromURLParams','max','FromArray','getVpScrollXYInfoByPosToVp','getCurrentUnitForType','drawWith','isActive','getUndoRedoMutationParamsCache','_scheduleSaving','_online','_setupBeforeClosingHandler','subscribe','sessionStatus$','UNAUTHENTICATED','UPDATE_CURSOR','div','2855380NlnCUU','doc.mutation.rich-text-editing','OffLineSingle','error','_docTransformStateCacheService','replaceDocRanges','trim','CONNECTOR_DATA_TOO_LARGE','collabStatus.offline','unsubscribe','ALREADY_EXISTS','editingUnit','saveImage','getCurrentRevOfUnit','_initEvent','_session','ONLINE','_getMergeRange','Unknown\x20user','_assignedColors','unitId','TEXT','unit','search','transformStateCache','setActiveRange','roomMembers','_sheetSkeletonManagerService','UNIVER_SHEET','onCommandExecuted','_color','_renderManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','selections','_transformPreviousActiveRange','replaceState','idSuffix','_cursorShapes','disposeWithMe','measureText','105MzYYjc','_range','activeSheet$','getDocRanges','7IfSidh','collabCursorState$','addEventListener','text','unitID','/run/','_selfUnitIDs','getCollabEntity$','sheetID','source','LICENSE_IMPORT_SIZE_EXCEEDED','red300','forEach','OFFLINE','UNDEFINED','_memberService','color','type','_docSkeletonManagerService','syncEditingCollabCursor','sessionTicket','790714KbomYM','session.connection-failed','ranges','send','params','href','indexOf','loadUnit','EMAIL_HAS_BEEN_BOUND','createSocket','debug','beginPath','SYNCED','_removeCollabCursors','YUUMI_RATE_OVER_LIMIT','_toggleOnline','setAlpha','_backgroundColor','SNAPSHOT_HAS_BEEN_REMOVED','_docTransformSelectionsService','InsertColCommandId','cursorInfo$','_entities','1207832YxPvpe','post','_startDocCollabCursor','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitAdded$','hasOwnProperty','disableLocalCache','_cursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','dispose$','APPLY_DUPLICATED','_initStatusComponent','dispose','init','permission.title','setUndoRedoMutationParamsCache','clearInterval','243354lQnfrJ','bottom','_transformService','getTypeOfUnitDisposed$','_dataLoaderService','subscribeEvent','_colorIndex'];_0x7593=function(){return _0x5079ea;};return _0x7593();}re=nn([Ce(0x0,_0x2eb28e(_0x542e55)),Ce(0x1,_0x25c7bb),Ce(0x2,_0x2eb28e(_0x4354e7))],re);var rn=Object[_0x3b7069(0x325)],on=(_0xae70f9,_0x3a9a07,_0x2e93ee,_0x207a73)=>{const _0x5e0fcc=_0x3b7069;for(var _0x273c66=_0x207a73>0x1?void 0x0:_0x207a73?rn(_0x3a9a07,_0x2e93ee):_0x3a9a07,_0x5a4700=_0xae70f9[_0x5e0fcc(0x1f5)]-0x1,_0x3ab0ff;_0x5a4700>=0x0;_0x5a4700--)(_0x3ab0ff=_0xae70f9[_0x5a4700])&&(_0x273c66=_0x3ab0ff(_0x273c66)||_0x273c66);return _0x273c66;},tt=(_0x415705,_0x103f02)=>(_0x42ac73,_0x494f09)=>_0x103f02(_0x42ac73,_0x494f09,_0x415705);let oe=class{constructor(_0x4ecfa0,_0x483a1e){const _0x5aa1af=_0x3b7069;this[_0x5aa1af(0x217)]=_0x4ecfa0,this[_0x5aa1af(0x2a7)]=_0x483a1e;}[_0x3b7069(0x204)](_0x4b09d9){const _0x6bebb3=_0x3b7069;var _0x3c3db2;const _0x4959d8=this[_0x6bebb3(0x217)]['get'](_0x338695),_0x4d26fc=(_0x3c3db2=_0x4959d8['getDocRanges']())!=null?_0x3c3db2:[];if(_0x4d26fc[_0x6bebb3(0x1f5)]===0x0)return;const _0x40e517=_0x4b09d9['unitID'],_0x3433a8=[{'id':_0x6bebb3(0x23c),'params':{'unitId':_0x40e517,'actions':null,'textRanges':_0x4d26fc}}],_0x35ebe4=this[_0x6bebb3(0x2a7)]['transformMutationsWithChangeset'](_0x4b09d9,_0x3433a8);if(!_0x360590(_0x35ebe4))throw _0x35ebe4['error'];const _0x166f99=_0x35ebe4[_0x6bebb3(0x2c4)][0x0]['params'][_0x6bebb3(0x2e7)];Array['isArray'](_0x166f99)&&_0x166f99['length']&&_0x4959d8[_0x6bebb3(0x240)](_0x166f99,{'unitId':_0x40e517,'subUnitId':_0x40e517},!0x1);}};oe=on([tt(0x0,_0x2eb28e(_0x542e55)),tt(0x1,_0x25c7bb)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3a0348,_0x33a31b,_0x1a6c38,_0x428fbf)=>{for(var _0x46f949=_0x428fbf>0x1?void 0x0:_0x428fbf?an(_0x33a31b,_0x1a6c38):_0x33a31b,_0x4ad673=_0x3a0348['length']-0x1,_0x320e04;_0x4ad673>=0x0;_0x4ad673--)(_0x320e04=_0x3a0348[_0x4ad673])&&(_0x46f949=_0x320e04(_0x46f949)||_0x46f949);return _0x46f949;},U=(_0x507e0e,_0x2319f9)=>(_0x4be4c2,_0x4f9c92)=>_0x2319f9(_0x4be4c2,_0x4f9c92,_0x507e0e);let ae=class extends _0x2a6f43{constructor(_0x27a268,_0x376097,_0x1bd9f2,_0xce0485,_0x25c39d,_0x2a2221,_0x36f5fa,_0x40bf5d){const _0x41069a=_0x3b7069;super(),_(this,_0x41069a(0x1f8),new _0x1ca0e1(_0xbbad33[_0x41069a(0x1d3)])),(this['_docStateChangeManagerService']=_0x27a268,this[_0x41069a(0x1ed)]=_0x376097,this[_0x41069a(0x166)]=_0x1bd9f2,this[_0x41069a(0x23f)]=_0xce0485,this['_docTransformSelectionsService']=_0x25c39d,this[_0x41069a(0x2ba)]=_0x2a2221,this['_messageService']=_0x36f5fa,this[_0x41069a(0x15b)]=_0x40bf5d,this[_0x41069a(0x210)]());}[_0x3b7069(0x210)](){const _0xf9e3ab=_0x3b7069;this[_0xf9e3ab(0x261)](this[_0xf9e3ab(0x1ed)][_0xf9e3ab(0x2fc)]['subscribe'](_0x474d6a=>{const _0x2da63e=_0xf9e3ab,_0x3bdda8=this[_0x2da63e(0x2cf)][_0x2da63e(0x16b)][_0x2da63e(0x236)](_0x4f5846=>{const _0x1ba6fd=_0x2da63e;if(_0x4f5846==null)return;const {unitId:_0x18536a,redoState:_0x1eef8c,commandId:_0xc24ad2}=_0x4f5846;if(_0x18536a!==_0x474d6a[_0x1ba6fd(0x26b)])return;const _0x257125={'id':_0xc24ad2,'type':_0x45c558[_0x1ba6fd(0x1a2)],'params':{'unitId':_0x18536a,'actions':_0x1eef8c[_0x1ba6fd(0x346)],'textRanges':null}};_0x474d6a['onLocalMutation'](_0x257125);});if(_0x474d6a[_0x2da63e(0x261)](_0x3bdda8),_0x474d6a instanceof _0x1c3065){const _0x3b5ab8={'onTransformIME':_0x4d6f8f=>this[_0x2da63e(0x166)][_0x2da63e(0x2b4)](_0x4d6f8f),'onTransformState':_0xe1e026=>this[_0x2da63e(0x23f)][_0x2da63e(0x253)](_0xe1e026),'onTransformSelections':_0x287d21=>this[_0x2da63e(0x28f)][_0x2da63e(0x204)](_0x287d21),'onSyncEditingCollabCursor':_0x522ed3=>this[_0x2da63e(0x2ba)][_0x2da63e(0x27a)](_0x522ed3),'onTransformRemoteChangesetByIMECache':_0x1462ed=>this[_0x2da63e(0x166)][_0x2da63e(0x1ce)](_0x1462ed),'onTransformRemoteChangesetByStateCache':_0x401507=>this[_0x2da63e(0x23f)][_0x2da63e(0x1ce)](_0x401507)};_0x474d6a[_0x2da63e(0x2b0)](_0x3b5ab8);}}));}};ae=cn([U(0x0,_0x2eb28e(_0x4354e7)),U(0x1,_0x2eb28e(_0x5d7669)),U(0x2,_0x2eb28e(ne)),U(0x3,_0x2eb28e(re)),U(0x4,_0x2eb28e(oe)),U(0x5,_0x2eb28e(He)),U(0x6,_0x3d24af),U(0x7,_0x2eb28e(_0x13db92))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x50d76f,_0x7777e8,_0x126d4b,_0x492fe1)=>{const _0xfcd60d=_0x3b7069;for(var _0x2d03c9=_0x492fe1>0x1?void 0x0:_0x492fe1?ln(_0x7777e8,_0x126d4b):_0x7777e8,_0x27362f=_0x50d76f[_0xfcd60d(0x1f5)]-0x1,_0x355b22;_0x27362f>=0x0;_0x27362f--)(_0x355b22=_0x50d76f[_0x27362f])&&(_0x2d03c9=_0x355b22(_0x2d03c9)||_0x2d03c9);return _0x2d03c9;},Ee=(_0x4976d2,_0x3c1b42)=>(_0x5ecd5b,_0x470aeb)=>_0x3c1b42(_0x5ecd5b,_0x470aeb,_0x4976d2);let we=class extends _0x2a6f43{constructor(_0x2cbc77,_0x5c1951,_0x523175){const _0x3405aa=_0x3b7069;super(),_(this,_0x3405aa(0x163),new Map()),_(this,_0x3405aa(0x1bd),new Map()),_(this,'_disabled',!0x1),(this[_0x3405aa(0x160)]=_0x2cbc77,this[_0x3405aa(0x333)]=_0x5c1951,this[_0x3405aa(0x200)]=_0x523175);}[_0x3b7069(0x29a)](){this['_disabled']=!0x0;}[_0x3b7069(0x1fd)](){const _0x440761=_0x3b7069;this[_0x440761(0x19f)]=!0x1;}get[_0x3b7069(0x203)](){const _0x1dabdc=_0x3b7069;return this[_0x1dabdc(0x1bd)];}[_0x3b7069(0x2a0)](){const _0x14f5b2=_0x3b7069;this[_0x14f5b2(0x336)]()[_0x14f5b2(0x2b6)](()=>super[_0x14f5b2(0x2a0)]());}async['loadOfflineData'](_0x215ada){const _0xc7a599=_0x3b7069;return this['_disabled']?null:this[_0xc7a599(0x333)]['getItem'](_0x436111(_0x215ada));}async[_0x3b7069(0x32f)](_0x4d4410,_0x5b28dd){const _0x4c6b92=_0x3b7069;return!!this[_0x4c6b92(0x333)]['setItem'](_0x4d4410,_0x5b28dd);}[_0x3b7069(0x226)](_0x4016da,_0x41c17e,_0x14af4d,_0x28d82c){const _0x5783ca=_0x3b7069,_0x28beb0=this[_0x5783ca(0x200)][_0x5783ca(0x248)](_0x4016da);this[_0x5783ca(0x163)][_0x5783ca(0x15c)](_0x4016da,{'unitID':_0x4016da,'type':_0x41c17e,'awaitingChangeset':_0x14af4d,'mutations':_0x28d82c,'rev':_0x28beb0}),this[_0x5783ca(0x1bd)][_0x5783ca(0x328)](_0x4016da)||this[_0x5783ca(0x233)](_0x4016da);}['_scheduleSaving'](_0x4118fb){const _0x4c4d0c=_0x3b7069,_0x1338ba=this[_0x4c4d0c(0x1bc)]();_0x1338ba===0x0?this['_saveCache'](_0x4118fb):this[_0x4c4d0c(0x1bd)]['set'](_0x4118fb,setTimeout(()=>this[_0x4c4d0c(0x177)](_0x4118fb),_0x1338ba));}[_0x3b7069(0x1bc)](){const _0x559d6f=_0x3b7069;var _0x52a5df;return(_0x52a5df=this['_configService'][_0x559d6f(0x1c0)](_0x19bc1e))!=null?_0x52a5df:_0x2a96d2;}[_0x3b7069(0x177)](_0x41a963){const _0x2e68e7=_0x3b7069,_0x3825cd=this[_0x2e68e7(0x1bd)][_0x2e68e7(0x313)](_0x41a963);return _0x3825cd!==void 0x0&&window[_0x2e68e7(0x1b4)](_0x3825cd),this[_0x2e68e7(0x333)][_0x2e68e7(0x19a)](_0x436111(_0x41a963),this[_0x2e68e7(0x163)][_0x2e68e7(0x313)](_0x41a963))['then'](()=>this[_0x2e68e7(0x1bd)]['delete'](_0x41a963));}async[_0x3b7069(0x336)](){const _0x67ddfb=_0x3b7069,_0x374712=[];this[_0x67ddfb(0x1bd)][_0x67ddfb(0x273)]((_0x147c60,_0x4c81e6)=>{const _0xaac4c4=_0x67ddfb;window['clearTimeout'](_0x147c60),_0x374712[_0xaac4c4(0x2c5)](this[_0xaac4c4(0x177)](_0x4c81e6)[_0xaac4c4(0x2b6)](()=>{const _0x281a7a=_0xaac4c4;this['_saveTaskMap'][_0x281a7a(0x202)](_0x4c81e6);}));}),await Promise[_0x67ddfb(0x216)](_0x374712);}};we=_n([Ee(0x0,_0x5cf7bf),Ee(0x1,_0x214c51),Ee(0x2,_0x2eb28e(_0x2b3960))],we);function _0xec61(_0xadf0e9,_0x2a1322){const _0x7593ad=_0x7593();return _0xec61=function(_0xec6117,_0x23a527){_0xec6117=_0xec6117-0x153;let _0x13abef=_0x7593ad[_0xec6117];return _0x13abef;},_0xec61(_0xadf0e9,_0x2a1322);}class hn extends _0x42b55d{constructor(){const _0x23a699=_0x3b7069;super(),_(this,'urlChange$'),this[_0x23a699(0x1ee)]=_0x15a092(window,_0x23a699(0x173))[_0x23a699(0x19c)](_0x53aa4f(this[_0x23a699(0x29d)]),_0x138b5a(0x1),_0x513b7b(void 0x0));}[_0x3b7069(0x191)](_0x52a6f2,_0x23e567,_0x17135d=!0x1){const _0x1c1786=_0x3b7069,_0x17a9a0=new URL(window[_0x1c1786(0x165)][_0x1c1786(0x281)]);_0x17a9a0['searchParams'][_0x1c1786(0x15c)](_0x52a6f2,_0x23e567),_0x17135d?window[_0x1c1786(0x2c7)][_0x1c1786(0x25e)]('','',_0x17a9a0[_0x1c1786(0x2f9)]()):window['history'][_0x1c1786(0x2b8)]('','',_0x17a9a0[_0x1c1786(0x2f9)]());}['removeParam'](_0x42a48d,_0x2bd005=!0x1){const _0x188bee=_0x3b7069,_0x123095=new URL(window[_0x188bee(0x165)][_0x188bee(0x281)]);_0x123095[_0x188bee(0x2da)][_0x188bee(0x202)](_0x42a48d),_0x2bd005?window[_0x188bee(0x2c7)]['replaceState']('','',_0x123095[_0x188bee(0x2f9)]()):window['history'][_0x188bee(0x2b8)]('','',_0x123095['toString']());}['getParam'](_0x3c62ff){const _0x58c5cb=_0x3b7069;var _0x5e6c26;return(_0x5e6c26=new URL(window[_0x58c5cb(0x165)][_0x58c5cb(0x281)])[_0x58c5cb(0x2da)]['get'](_0x3c62ff))!=null?_0x5e6c26:void 0x0;}}var un=Object[_0x3b7069(0x1d8)],dn=Object[_0x3b7069(0x325)],fn=(_0x51c16e,_0x493a9f,_0x255e21)=>_0x493a9f in _0x51c16e?un(_0x51c16e,_0x493a9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x255e21}):_0x51c16e[_0x493a9f]=_0x255e21,Sn=(_0x2261bc,_0x20d751,_0x11aa94,_0x5ed758)=>{const _0x137d99=_0x3b7069;for(var _0x4898cd=_0x5ed758>0x1?void 0x0:_0x5ed758?dn(_0x20d751,_0x11aa94):_0x20d751,_0x5cfc5b=_0x2261bc[_0x137d99(0x1f5)]-0x1,_0x333679;_0x5cfc5b>=0x0;_0x5cfc5b--)(_0x333679=_0x2261bc[_0x5cfc5b])&&(_0x4898cd=_0x333679(_0x4898cd)||_0x4898cd);return _0x4898cd;},Oe=(_0x5dfdd1,_0x41c3f2)=>(_0x1bb1a8,_0x47d2c2)=>_0x41c3f2(_0x1bb1a8,_0x47d2c2,_0x5dfdd1),mn=(_0x2338b5,_0x444edd,_0x15b68e)=>fn(_0x2338b5,_0x444edd+'',_0x15b68e);const gn=_0x3b7069(0x1e4);let Ae=class extends _0x53763e{constructor(_0xa5e47e=et,_0x1ff2b1,_0x234f67,_0x39aa35){const _0x543bdc=_0x3b7069;super(),this['_config']=_0xa5e47e,this['_renderManagerService']=_0x1ff2b1,this['_injector']=_0x234f67,this['_configService']=_0x39aa35;const {..._0x3350a3}=_0x544f55({},et,this[_0x543bdc(0x317)]);this['_configService'][_0x543bdc(0x352)](Zi,_0x3350a3);}['onStarting'](){const _0xb6722d=_0x3b7069;this[_0xb6722d(0x1eb)](),this['_initDependencies']();}[_0x3b7069(0x2c1)](){const _0x57d7fa=_0x3b7069;this[_0x57d7fa(0x1ca)]();}[_0x3b7069(0x1eb)](){const _0x171aae=_0x3b7069;var _0x11ea9b;const _0x1c6d4a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x36f1ae,{'useClass':_0x1e760b}],[_0x244f63,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x26a3e0(this[_0x171aae(0x217)],_0x5dd68d(_0x1c6d4a,(_0x11ea9b=this['_config'])==null?void 0x0:_0x11ea9b[_0x171aae(0x1b5)]));}[_0x3b7069(0x1ca)](){const _0x3f4e20=_0x3b7069;this['disposeWithMe'](this['_renderManagerService'][_0x3f4e20(0x225)](_0x24a141[_0x3f4e20(0x20b)],[Pe])),this[_0x3f4e20(0x261)](this[_0x3f4e20(0x25a)][_0x3f4e20(0x225)](_0x24a141[_0x3f4e20(0x257)],[Le]));}[_0x3b7069(0x2e4)](){const _0x520142=_0x3b7069;_0x570e94(this[_0x520142(0x217)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2d5c2d(_0x4af92b),Oe(0x1,_0x5aabf0),Oe(0x2,_0x2eb28e(_0x542e55)),Oe(0x3,_0x5cf7bf)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x19165f,_0x27d2ab,_0x271e5a,_0x2748fe)=>{const _0x349f7f=_0x3b7069;for(var _0x3ff4a2=_0x2748fe>0x1?void 0x0:_0x2748fe?In(_0x27d2ab,_0x271e5a):_0x27d2ab,_0x4bf799=_0x19165f[_0x349f7f(0x1f5)]-0x1,_0x1e2776;_0x4bf799>=0x0;_0x4bf799--)(_0x1e2776=_0x19165f[_0x4bf799])&&(_0x3ff4a2=_0x1e2776(_0x3ff4a2)||_0x3ff4a2);return _0x3ff4a2;},K=(_0x33b8b1,_0x2af11c)=>(_0xfe5d7d,_0x168528)=>_0x2af11c(_0xfe5d7d,_0x168528,_0x33b8b1);let st=class extends _0x3fa99f{constructor(_0x4dcf75,_0xc5fb35,_0x501771,_0x34af3a,_0x4e81f8){super(_0x4dcf75,_0xc5fb35,_0x501771,_0x34af3a,_0x4e81f8);}async[_0x3b7069(0x285)](_0x51cd97){const _0x58471e=_0x3b7069,_0x28d70f=await this[_0x58471e(0x1d5)](),_0x43cacb=this['_createSocketURL'](_0x51cd97,_0x28d70f);return this[_0x58471e(0x18a)](_0x43cacb);}[_0x3b7069(0x153)](_0x1f0f1e,_0x3d35b4){const _0x458115=_0x3b7069,_0x518f1d=typeof window>'u'?new URL(_0x1f0f1e):new URL(_0x1f0f1e,window['location']['origin']);_0x518f1d[_0x458115(0x2da)][_0x458115(0x15c)](_0x458115(0x27b),_0x3d35b4);const _0x5b49ad=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x458115(0x165)][_0x458115(0x252)]);return _0x5b49ad[_0x458115(0x313)](_0x458115(0x162))&&_0x518f1d[_0x458115(0x2da)][_0x458115(0x15c)](_0x458115(0x162),_0x5b49ad[_0x458115(0x313)](_0x458115(0x162))),_0x518f1d[_0x458115(0x2f9)]();}async[_0x3b7069(0x1d5)](){const _0x5428b2=_0x3b7069;var _0x57a8dc,_0x4262ff,_0x243783;const _0x1da0ab=this[_0x5428b2(0x160)][_0x5428b2(0x1c0)](_0x551170),_0x4c131d=(_0x57a8dc=_0x1da0ab==null?void 0x0:_0x1da0ab['wsSessionTicketUrl'])!=null?_0x57a8dc:_0x1595e3;return(_0x243783=(_0x4262ff=(await this['_httpService'][_0x5428b2(0x313)](_0x4c131d,{'headers':{'Content-Type':_0x5428b2(0x34b)}}))[_0x5428b2(0x1f6)])==null?void 0x0:_0x4262ff[_0x5428b2(0x22a)])!=null?_0x243783:'';}};st=vn([K(0x0,_0x2eb28e(_0x542e55)),K(0x1,_0x2eb28e(_0x54d883)),K(0x2,_0x5cf7bf),K(0x3,_0x895744),K(0x4,_0x2d33d0)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x2a6f43{constructor(){const _0x886fb=_0x3b7069;super(),_(this,'_id',_0x5f4ef5()),_(this,_0x886fb(0x26d),new Set()),_(this,_0x886fb(0x329),new Map()),_(this,_0x886fb(0x334),null),_(this,_0x886fb(0x176),new Map()),_(this,_0x886fb(0x296),new Map()),this[_0x886fb(0x353)]();}[_0x3b7069(0x2a0)](){const _0x3274a8=_0x3b7069;super[_0x3274a8(0x2a0)](),this[_0x3274a8(0x176)]['forEach']((_0x2c17e8,_0x1425a1)=>this[_0x3274a8(0x2fe)](_0x1425a1)),this[_0x3274a8(0x334)]&&window[_0x3274a8(0x2a4)](this[_0x3274a8(0x334)]);}[_0x3b7069(0x2e3)](_0x243576){const _0x4107db=_0x3b7069;return this[_0x4107db(0x1cc)](_0x243576)[_0x4107db(0x19c)](_0x52a543());}[_0x3b7069(0x246)](_0x130bac){const _0x2b02dc=_0x3b7069;this[_0x2b02dc(0x26d)][_0x2b02dc(0x331)]===0x0&&this[_0x2b02dc(0x21f)](),this[_0x2b02dc(0x26d)][_0x2b02dc(0x1fe)](_0x130bac),this[_0x2b02dc(0x187)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x130bac],'isForwarded':!0x1});}['disposeUnit'](_0x39f926){const _0x5d2819=_0x3b7069;this[_0x5d2819(0x26d)][_0x5d2819(0x202)](_0x39f926),this[_0x5d2819(0x26d)]['size']===0x0&&this[_0x5d2819(0x334)]&&window[_0x5d2819(0x2a4)](this[_0x5d2819(0x334)]);}[_0x3b7069(0x353)](){const _0x4e3d06=_0x3b7069;this[_0x4e3d06(0x261)](_0x11e171(_0x15a092(window,_0x4e3d06(0x157))[_0x4e3d06(0x236)](_0x50f47f=>{const _0x4fcc2=_0x4e3d06;if(_0x50f47f[_0x4fcc2(0x18d)]!==nt||!_0x50f47f[_0x4fcc2(0x2c0)])return;const _0x524350=JSON['parse'](_0x50f47f[_0x4fcc2(0x2c0)]);this[_0x4fcc2(0x21b)](_0x524350);}))),window[_0x4e3d06(0x269)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4e3d06(0x2ff)](this[_0x4e3d06(0x26d)])}));}[_0x3b7069(0x21b)](_0x1d855d){const _0x4fade2=_0x3b7069;switch(_0x1d855d[_0x4fade2(0x278)]){case 0x0:this[_0x4fade2(0x1df)](_0x1d855d);break;case 0x1:this['_handleLeaveEvent'](_0x1d855d);break;case 0x2:this['_handleHeartbeatEvent'](_0x1d855d);break;}}[_0x3b7069(0x1df)](_0xb39e1e){const _0x432fb9=_0x3b7069,{unitIDs:_0x46e914,memberID:_0x1faef7,isForwarded:_0x3ae255}=_0xb39e1e;_0x46e914[_0x432fb9(0x273)](_0x3297d0=>{const _0x186166=_0x432fb9;if(!_0x3ae255&&this['_unitOnClients'][_0x186166(0x328)](_0x3297d0)&&this[_0x186166(0x1cc)](_0x3297d0)[_0x186166(0x1ba)](_0x15d495[_0x186166(0x16f)]),!this[_0x186166(0x329)][_0x186166(0x328)](_0x3297d0)||!this[_0x186166(0x329)][_0x186166(0x313)](_0x3297d0)[_0x186166(0x328)](_0x1faef7)){const _0xa68308=this[_0x186166(0x329)][_0x186166(0x313)](_0x3297d0)||new Set();_0xa68308[_0x186166(0x1fe)](_0x1faef7),this[_0x186166(0x329)][_0x186166(0x15c)](_0x3297d0,_0xa68308),this['_scheduleClearOtherTimer'](_0x1faef7);}}),_0x3ae255||this['_send']({'type':0x0,'memberID':this[_0x432fb9(0x1c1)],'unitIDs':[...this[_0x432fb9(0x26d)]],'isForwarded':!0x0});}[_0x3b7069(0x2e5)](_0xc64985){const _0x2de926=_0x3b7069;this[_0x2de926(0x2fe)](_0xc64985);const _0x390de9=window[_0x2de926(0x319)](()=>{this['_unitOnClients']['forEach'](_0x4c8fd1=>{const _0x4ed4ab=_0xec61;_0x4c8fd1[_0x4ed4ab(0x202)](_0xc64985);});},it*0x2);this[_0x2de926(0x176)]['set'](_0xc64985,_0x390de9);}[_0x3b7069(0x2fe)](_0x16bc74){const _0x247b4a=_0x3b7069;if(this[_0x247b4a(0x176)][_0x247b4a(0x328)](_0x16bc74)){const _0x196d70=this[_0x247b4a(0x176)]['get'](_0x16bc74);_0x196d70&&window[_0x247b4a(0x1b4)](_0x196d70),this[_0x247b4a(0x176)]['set'](_0x16bc74,null);}}[_0x3b7069(0x1f1)](_0x5714b3){const _0x4789d2=_0x3b7069,{memberID:_0x401aa4,unitIDs:_0x217346}=_0x5714b3;_0x217346[_0x4789d2(0x273)](_0x5040ab=>{const _0x356506=_0x4789d2;var _0x46ff91;const _0x231cf2=this['_unitOnClients'][_0x356506(0x313)](_0x5040ab);_0x231cf2&&(_0x231cf2['delete'](_0x401aa4),(_0x46ff91=this[_0x356506(0x1cc)](_0x5040ab))==null||_0x46ff91[_0x356506(0x1ba)](_0x231cf2['size']===0x0?_0x15d495[_0x356506(0x2c9)]:_0x15d495[_0x356506(0x16f)]));}),this[_0x4789d2(0x2fe)](_0x401aa4);}[_0x3b7069(0x2b5)](_0x3ee7ea){const _0x5822dc=_0x3b7069;this[_0x5822dc(0x2e5)](_0x3ee7ea['memberID']);}[_0x3b7069(0x187)](_0x5724e7){const _0x31df22=_0x3b7069;localStorage[_0x31df22(0x19a)](nt,JSON[_0x31df22(0x1db)](_0x5724e7));}['_scheduleHeartbeat'](){const _0x75f64b=_0x3b7069;this[_0x75f64b(0x334)]=window[_0x75f64b(0x1cb)](()=>{const _0x5c4560=_0x75f64b;this[_0x5c4560(0x187)]({'type':0x2,'memberID':this[_0x5c4560(0x1c1)]});},it);}[_0x3b7069(0x1cc)](_0x5eef59){const _0x20b860=_0x3b7069;return this[_0x20b860(0x296)][_0x20b860(0x328)](_0x5eef59)||this[_0x20b860(0x296)][_0x20b860(0x15c)](_0x5eef59,new _0x1ca0e1(_0x15d495[_0x20b860(0x2c9)])),this[_0x20b860(0x296)]['get'](_0x5eef59);}}var Mt=(_0x2facb2=>(_0x2facb2[_0x2facb2[_0x3b7069(0x275)]=0x0]=_0x3b7069(0x275),_0x2facb2[_0x2facb2['OK']=0x1]='OK',_0x2facb2[_0x2facb2['INTERNAL_ERROR']=0x2]=_0x3b7069(0x213),_0x2facb2[_0x2facb2[_0x3b7069(0x318)]=0x3]=_0x3b7069(0x318),_0x2facb2[_0x2facb2[_0x3b7069(0x16a)]=0x4]=_0x3b7069(0x16a),_0x2facb2[_0x2facb2['UNAUTHENTICATED']=0x5]=_0x3b7069(0x238),_0x2facb2[_0x2facb2[_0x3b7069(0x245)]=0x6]=_0x3b7069(0x245),_0x2facb2[_0x2facb2[_0x3b7069(0x2f0)]=0x7]='INVALID_ARGUMENT',_0x2facb2[_0x2facb2[_0x3b7069(0x1b7)]=0x8]=_0x3b7069(0x1b7),_0x2facb2[_0x2facb2[_0x3b7069(0x1d4)]=0x9]='COMPLETION_FINISHED',_0x2facb2[_0x2facb2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2facb2[_0x2facb2[_0x3b7069(0x2e2)]=0x1389]=_0x3b7069(0x2e2),_0x2facb2[_0x2facb2[_0x3b7069(0x326)]=0x1771]=_0x3b7069(0x326),_0x2facb2[_0x2facb2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3b7069(0x28e),_0x2facb2[_0x2facb2[_0x3b7069(0x340)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2facb2[_0x2facb2['APPLY_REJECT']=0x1b59]=_0x3b7069(0x2ef),_0x2facb2[_0x2facb2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3b7069(0x33c),_0x2facb2[_0x2facb2['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2facb2[_0x2facb2[_0x3b7069(0x310)]=0x1b5c]=_0x3b7069(0x310),_0x2facb2[_0x2facb2[_0x3b7069(0x29e)]=0x1b5d]='APPLY_DUPLICATED',_0x2facb2[_0x2facb2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3b7069(0x242),_0x2facb2[_0x2facb2[_0x3b7069(0x1d1)]=0x2329]=_0x3b7069(0x1d1),_0x2facb2[_0x2facb2[_0x3b7069(0x29c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2facb2[_0x2facb2[_0x3b7069(0x271)]=0x232b]=_0x3b7069(0x271),_0x2facb2[_0x2facb2[_0x3b7069(0x2d7)]=0x232c]=_0x3b7069(0x2d7),_0x2facb2[_0x2facb2['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x2facb2[_0x2facb2[_0x3b7069(0x337)]=0x2711]=_0x3b7069(0x337),_0x2facb2[_0x2facb2[_0x3b7069(0x1f4)]=0x2712]=_0x3b7069(0x1f4),_0x2facb2[_0x2facb2[_0x3b7069(0x28a)]=0x2713]=_0x3b7069(0x28a),_0x2facb2[_0x2facb2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3b7069(0x156),_0x2facb2[_0x2facb2[_0x3b7069(0x297)]=0x271a]=_0x3b7069(0x297),_0x2facb2[_0x2facb2[_0x3b7069(0x304)]=0x271b]=_0x3b7069(0x304),_0x2facb2[_0x2facb2[_0x3b7069(0x30e)]=0x271c]=_0x3b7069(0x30e),_0x2facb2[_0x2facb2[_0x3b7069(0x308)]=0x271d]=_0x3b7069(0x308),_0x2facb2[_0x2facb2['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3b7069(0x316),_0x2facb2[_0x2facb2[_0x3b7069(0x1b1)]=0x271f]=_0x3b7069(0x1b1),_0x2facb2[_0x2facb2[_0x3b7069(0x1a0)]=0x2af9]=_0x3b7069(0x1a0),_0x2facb2[_0x2facb2[_0x3b7069(0x2dc)]=0x2ee1]=_0x3b7069(0x2dc),_0x2facb2[_0x2facb2[_0x3b7069(0x33a)]=0x2ee2]=_0x3b7069(0x33a),_0x2facb2[_0x2facb2[_0x3b7069(0x2e8)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2facb2[_0x2facb2[_0x3b7069(0x1e1)]=0x2ee4]=_0x3b7069(0x1e1),_0x2facb2[_0x2facb2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3b7069(0x34f),_0x2facb2[_0x2facb2[_0x3b7069(0x1d0)]=0x32c9]=_0x3b7069(0x1d0),_0x2facb2[_0x2facb2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3b7069(0x186),_0x2facb2[_0x2facb2[_0x3b7069(0x284)]=0x32cb]=_0x3b7069(0x284),_0x2facb2[_0x2facb2[_0x3b7069(0x2d0)]=-0x1]='UNRECOGNIZED',_0x2facb2))(Mt||{}),pn=Object[_0x3b7069(0x325)],Cn=(_0x268083,_0x5d22cd,_0x25c75c,_0xa97819)=>{for(var _0x22237f=_0xa97819>0x1?void 0x0:_0xa97819?pn(_0x5d22cd,_0x25c75c):_0x5d22cd,_0x1c1202=_0x268083['length']-0x1,_0x46ddf0;_0x1c1202>=0x0;_0x1c1202--)(_0x46ddf0=_0x268083[_0x1c1202])&&(_0x22237f=_0x46ddf0(_0x22237f)||_0x22237f);return _0x22237f;},be=(_0xa5036b,_0xb42377)=>(_0x5ad8ce,_0x602aec)=>_0xb42377(_0x5ad8ce,_0x602aec,_0xa5036b);let rt=class extends _0x2a6f43{constructor(_0x3eca8d,_0x2c3bb3,_0x137e22){const _0x58ccc4=_0x3b7069;super(),this[_0x58ccc4(0x1ab)]=_0x3eca8d,this[_0x58ccc4(0x350)]=_0x2c3bb3,this['_configService']=_0x137e22;}async['runOnServer'](_0x19dd8e,_0x4fa808,_0x1b3e70,..._0x21be20){const _0x3ac2b4=_0x3b7069;var _0x2acec4,_0x3d6959,_0x57e4c6,_0x5f018e;const _0x1a53a4=this['_instanceService']['getFocusedUnit']();if(!_0x1a53a4)throw new Error(_0x3ac2b4(0x170));const _0x2087fc=((_0x2acec4=this[_0x3ac2b4(0x160)][_0x3ac2b4(0x1c0)](_0x122358))!=null?_0x2acec4:_0x18b7dd)+'/'+_0x19dd8e+_0x3ac2b4(0x26c)+_0x4fa808,_0xcff584=new URL(window['location'][_0x3ac2b4(0x281)]),_0x4dcebd={'scriptId':_0x19dd8e,'runId':(_0x3d6959=_0xcff584[_0x3ac2b4(0x2da)][_0x3ac2b4(0x313)](_0x3ac2b4(0x162)))!=null?_0x3d6959:'','function':_0x4fa808,'unitId':_0x1a53a4[_0x3ac2b4(0x323)](),'argsOfFunction':JSON[_0x3ac2b4(0x1db)](_0x21be20),'invokeId':(_0x57e4c6=_0x1b3e70[_0x3ac2b4(0x2d3)])!=null?_0x57e4c6:'','executionId':(_0x5f018e=_0x1b3e70[_0x3ac2b4(0x1ae)])!=null?_0x5f018e:''};try{const _0x304c36=await this[_0x3ac2b4(0x350)][_0x3ac2b4(0x294)](_0x2087fc,{'body':_0x4dcebd});return _0x304c36['body']['error']&&_0x304c36[_0x3ac2b4(0x1f6)][_0x3ac2b4(0x23e)][_0x3ac2b4(0x199)]!==Mt['OK']?_0x3ac2b4(0x1ef):_0x304c36[_0x3ac2b4(0x1f6)][_0x3ac2b4(0x16d)];}catch{return _0x3ac2b4(0x1ef);}}};rt=Cn([be(0x0,_0x5123ac),be(0x1,_0x2eb28e(_0x54d883)),be(0x2,_0x5cf7bf)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1ea2c4=_0x3e8b;(function(_0x12f869,_0x115a37){const _0x4205b5=_0x3e8b,_0x4f03d2=_0x12f869();while(!![]){try{const _0x4062e5=-parseInt(_0x4205b5(0x17e))/0x1*(parseInt(_0x4205b5(0xdd))/0x2)+parseInt(_0x4205b5(0x295))/0x3+parseInt(_0x4205b5(0x285))/0x4+-parseInt(_0x4205b5(0x2c1))/0x5+-parseInt(_0x4205b5(0xe1))/0x6+-parseInt(_0x4205b5(0xef))/0x7+-parseInt(_0x4205b5(0x154))/0x8*(-parseInt(_0x4205b5(0x1e2))/0x9);if(_0x4062e5===_0x115a37)break;else _0x4f03d2['push'](_0x4f03d2['shift']());}catch(_0x1c8e03){_0x4f03d2['push'](_0x4f03d2['shift']());}}}(_0x242c,0x59768));var $t=Object[_0x1ea2c4(0x28b)],xt=(_0x162f29,_0x186549,_0x14f479)=>_0x186549 in _0x162f29?$t(_0x162f29,_0x186549,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14f479}):_0x162f29[_0x186549]=_0x14f479,_=(_0x167b84,_0x453454,_0x3d9111)=>xt(_0x167b84,typeof _0x453454!='symbol'?_0x453454+'':_0x453454,_0x3d9111);import{MemberService as _0xca28cd,SessionStatus as _0x23ee66,CollaborationSessionService as _0x2352e1,CollaborationStatus as _0x2b26de,CollaborationController as _0x23b738,ILocalCacheService as _0x499d1f,CollaborationUIEventService as _0x34d3bc,CollaborationUIEventId as _0x3ded85,DataLoaderService as _0x5c1275,DocCollaborationEntity as _0x4dd7d2,getLocalCacheKey as _0xba75f3,LOCAL_CACHE_INTERVAL as _0x47642c,LOCAL_CACHE_INTERVAL_KEY as _0xb57ae2,UniverCollaborationClientPlugin as _0x3a6109,CollaborationSocketService as _0x1910af,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x478b16,DEFAULT_WS_SESSION_TICKET_URL as _0x2286bd,UnitStatus as _0x59f7ec,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x28ed06,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cdf72}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x15e0fe,Disposable as _0x5e7e9c,DOC_RANGE_TYPE as _0x303fd1,Inject as _0x2c28ac,Injector as _0x2ed78b,IUniverInstanceService as _0x610794,ICommandService as _0x2d7c40,debounce as _0x3c4131,Rectangle as _0x3326d3,DisposableCollection as _0x22b265,toDisposable as _0x2d320c,UniverInstanceType as _0x1bd797,Tools as _0xd617dc,COLORS as _0x1ca1fd,ColorKit as _0x1fa4b2,ThemeService as _0x20c7fb,fromEventSubject as _0x350e85,LocaleService as _0x4a6cd3,createIdentifier as _0x4f6e10,ILogService as _0x463af4,Optional as _0x4825e0,Workbook as _0x58fbb2,CommandType as _0x1e0f44,IConfigService as _0x27f9c2,ILocalStorageService as _0x69e3ca,DependentOn as _0x65fe66,Plugin as _0x47280b,merge as _0x488cf5,registerDependencies as _0x4703ee,mergeOverrideWithDependencies as _0x1ed3b1,touchDependencies as _0x530746,generateRandomId as _0x3fb607}from'@univerjs/core';import{Shape as _0x4e7874,Rect as _0x5a781a,getColor as _0xd1944e,RegularPolygon as _0x29e9da,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2a0c74,Vector2 as _0x55ebca,SHEET_VIEWPORT_KEY as _0x670b59,IRenderManagerService as _0x29a565}from'@univerjs/engine-render';import{ISocketService as _0x555e4a,WebSocketService as _0x44eec7,HTTPService as _0x418212}from'@univerjs/network';import{IDocClipboardService as _0x534134,NodePositionConvertToCursor as _0x205c2f,NodePositionConvertToRectRange as _0x379e91,TEXT_RANGE_LAYER_INDEX as _0x8fb040,SetDocZoomRatioOperation as _0x41fc4b,DocIMEInputManagerService as _0x46af31,DocStateChangeManagerService as _0x4b06af}from'@univerjs/docs-ui';import{IImageIoService as _0x22392c}from'@univerjs/drawing';import{BehaviorSubject as _0x10a4a9,debounceTime as _0x37f242,takeUntil as _0x4c6dcf,Subject as _0xd2bab0,filter as _0x5a9f25,switchMap as _0x3c2b2f,merge as _0x16bc38,combineLatest as _0x132635,of as _0x1da7a7,fromEvent as _0xe1bcd6,shareReplay as _0xd67cdb,mapTo as _0x3e61d7,distinctUntilChanged as _0x520fb6}from'rxjs';import{SetTextSelectionsOperation as _0x379421,RichTextEditingMutation as _0x330494,DocSelectionManagerService as _0x439c02,DocSkeletonManagerService as _0x43cc1e}from'@univerjs/docs';import{ITransformService as _0x1064e2,CollaborationEvent as _0x45f904,isTransformMutationFailure as _0x1280c2,isTransformMutationsWithChangesetSuccess as _0xb0953b,RevisionService as _0x101987,ISnapshotServerService as _0x470f49}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3e4016,serializeRangeWithSheet as _0x25ddc9}from'@univerjs/engine-formula';import{RefRangeService as _0x38f2c6,SetSelectionsOperation as _0x3ac398,SheetsSelectionsService as _0x459614,EffectRefRangId as _0x3d73ea,handleIRemoveRow as _0x5b40d0,handleIRemoveCol as _0x36e958,handleMoveRange as _0x16d9c5,handleInsertRow as _0x4c4126,handleInsertRangeMoveRight as _0x182f49,handleInsertRangeMoveDown as _0x1f8b91,handleInsertCol as _0x373ba9,handleDeleteRangeMoveUp as _0x47b53a,handleDeleteRangeMoveLeft as _0x2f9898,runRefRangeMutations as _0x44f27e,SetWorksheetActivateCommand as _0xeabcb2}from'@univerjs/sheets';import{map as _0x1715d5,filter as _0x4a40cb,throttleTime as _0x510e1e,takeUntil as _0x4f88ed,switchMap as _0x17c9a5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2878d8,getCoordByCell as _0x2ac45a,getSheetObject as _0x14f9c0}from'@univerjs/sheets-ui';import{jsx as _0x46fa34,jsxs as _0xad7a6a}from'react/jsx-runtime';import{useObservable as _0x1cc5fe,useDependency as _0x1ac2e6,IUIPartsService as _0x3f3b82,BuiltInUIPart as _0x3fb8e2,connectInjector as _0x40a413,IBeforeCloseService as _0x2f9cbb,IMessageService as _0xa0ddb0,INotificationService as _0x34bb3c}from'@univerjs/ui';import{Tooltip as _0x5957bd,clsx as _0x507046,MessageType as _0x4265c6}from'@univerjs/design';import{forwardRef as _0x507e46,useRef as _0x36b027,createElement as _0x9ecbb4,useCallback as _0x39c0bd}from'react';function _0x242c(){const _0x1fcef1=['univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','className','flatMap','_entities','sessionStatus$','VIEW_MAIN','_imageIoService','_startDocCollabCursor','getCollabEntity$','EMAIL_HAS_BEEN_BOUND','mask','concat','PY_RUNTIME_SCRIPT_ERROR','getConfig','lineTo','mutations','onTransformChange$','source','_httpService','_collaborationController','registerRefRange','YUUMI_SUBSCRIPTION_NOT_FOUND','startColumn','_assignedColors','updateOfflineData','collab-client.tooltip.reconnect','_registerDependencies','ALREADY_EXISTS','UNAUTHENTICATED','UNDEFINED','dispose$','LOGIN_FAILED','_labelPosition','NO_OTHER_CLIENTS_EDITING','unshift','roomMembers','_handleLeaveEvent','2898484preMki','getRangePointData','textRanges','collabStatus.conflict','USER_NOT_INVITED_CODE','_init','defineProperty','off-line-single','_getSheetObject','save','entries','_drawRectRange','on-line-single','push','_handleJoinEvent','urlChange$','1856460RdMJsc','UNIVER_SHEET','location','_hover','setUndoRedoMutationParamsCache','getOwnPropertyDescriptor','disableLocalCache','getCollabCursors$','getCurrentRevOfUnit','_toggleOnline','JOIN_ROOM_FAILED','univer-text-green-500','xlink:href','transformMutation','parse','function','show','LICENSE_DISTRO_REJECTED','memberID','_toggleOffline','restore','_updateSubUnitFromURLParams','_injector','getOwnPropertySymbols','dispose','colorChannel1','setShapeProps','delete','range','resize','getUnitId','addObjects','_config','_drawTextRange','ticket','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','createInstance','getVpScrollXYInfoByPosToVp','getMember','collab-rect-range-','svg','getItem','from','1390850yxHNFh','_cachedData','on-line-single_clip0_910_349','_cursor','replace','ranges','_colorAssignService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','some','FromArray','Error','tag','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','clipPath','unsubscribe','OTHER_CLIENTS_EDITING','getMemberID','MUTATION','_onCursorUpdate','_collabCursorState$','CONNECTOR_DATA_TOO_LARGE','getSheetId','AWAITING','stringify','string','add','_themeService','assign','_cursorInfo$','findNodePositionByCharIndex','ACTIVE_UNIT_EVENT_CHANNEL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.config','OTHER_CLIENT_EDITING','2jQDzEW','_handleHeartbeatEvent','size','[CollaborationDataLoaderController]','2575014tDsBPk','result','setAlpha','INVITE_CODE_REQUIRED','_transformUndoRedoStack','_id','_getSessionTicket','application/json','_anchorDot','InsertRowCommandId','_entityInit$','clearTimeout','requireSession','SNAPSHOT_INVALID_SNAPSHOT','1058645UmdeCM','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REJECT','url(#on-line-single_clip0_910_349)','next','_revisionService','getCurrentUnitForType','_renderManagerService','_initStatusListener','permission.content','_messageService','transformIMECache','univerjs-icon\x20univerjs-icon-','executeCommand','currentSkeleton$','univer-text-red-500','storage','width','getTypeOfUnitAdded$','m1Prime','roomMembers$','round','sessionTicket','InsertRangeMoveRightCommandId','path','forEach','_scheduleSaving','getDocRanges','getSheetBySheetId','generateRandomId','_initResize','_docSkeleton','drawWith','APPLY_REVISION_CONFILICT','_handleEvent','values','makeDirty','APPLY_NON_SEQUENTIAL_REVISION','_roomMembers$','params','getTypeOfUnitDisposed$','_initEvent','contains','_transformService','engine','bottom','type','getFocusedUnit','executionId','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo$','_eventUnsubscribe','_localCacheService','disposeUnit','_docTransformSelectionsService','_colorIndex','whenReady','collabStatus.notCollab','replaceState','_cursors','focused$','font','attrs','SOCKET_FAILED','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','_syncEditingCollabCursorService','_scene','COMPLETION_FINISHED','_heartbeatTimer','DeleteRangeMoveLeftCommandId','history','_setupBeforeClosingHandler','_scheduleHeartbeat','column','INTERNAL_ERROR','searchParams','name','subscribe','length','extend','pipe','0\x200\x2017\x2016','...','evenodd','ENSURE_SNAPSHOT_EXECUTION','YUUMI_RATE_OVER_LIMIT','color','_shapes','idSuffix','_saveCache','_localeService','getViewport','_docSkeletonManagerService','_drawAnchor','clearInterval','0\x200\x2016\x2016','/run/','defs','_refRangeService','measureText','_hideTimer','3488UUQqWT','_univerInstanceService','onPointerMove$','prototype','getUndoRedoMutationParamsCache','_urlService','collaboration-client.offline-data-not-saved','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','syncEditingCollabCursor','_removeClearOtherTimer','_instanceService','get','transformByState','collabStatus.offline','startRow','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','labelPosition','with','rgba(255,\x20255,\x20255,\x200.01)','_docTransformIMECacheService','_scheduleClearOtherTimer','fillText','runOnServer','hide','OFFLINE','collaboration.closeRoom','init','post','eventID','getSkeleton','red300','substring','_docTransformStateCacheService','onRendered','_localStorageService','_unitOnClients','find','currentTheme$','RECT','imageSourceType','168131rdPtmK','_textBubble','blue400','_saveTaskMap','pluginName','collab-text-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setItem','setActiveRange','row','selection','getMergeData','_dataLoaderService','isEditing','_commandService','Warning','_memberService','transform','_transformPreviousActiveRange','beginPath','_transformHistoryAndStateStack','collaboration.single-unit.warning','_removeCollabCursors','toString','AWAITING_WITH_PENDING','selections','getAncestorScale','_collaborationUIEventService','setConfig','permission.title','collabStatus.syncing','registerRenderModule','session.will-retry','set','propertyIsEnumerable','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','PERMISSION_DENIED','unitId','FETCH_MISS','UniverIcon','MOBILE_HAS_BEEN_BOUND','undoState','actions','setStateCache','fillStyle','YUUMI_ASYNCIO_CANCELLED','saveImage','override','replaceDocRanges','addObject','purple300','_draw','deepClone','saveOfflineData','_updateURLWithCurrentState','_backgroundColor','YUUMI_ALL_TABLES_IS_INVALID','isActive','NOT_FOUND','_status$','map','_selfUnitIDs','Failed','_setupSubUnitSync','newValue','_render','USERS_LEAVE','_configService','UNIVER_DOC','_docSyncEditingCollabCursorService','UPDATE_CURSOR','disposeWithMe','_unitStatus','setParam','_logService','_range','height','collabCursorState$','apply','url(#off-line-single_clip0_910_343)','#fff','HEADER_MENU','_getAnchorBounding','_clearOtherTimers','has','getValue','getStateCache','hovered','transformRemoteChangeset','jiqing500','fillRule','send','_anchor','getRelativeToViewportCoord','asObservable','addClipboardHook','then','children','black','1026hFwSpX','complete','_sheetSkeletonManagerService','_docClipboardService','fill','_context','transformStateCache','triggerDblclick','defIds','_getScale','WECHAT_HAS_BEEN_BOUND','_uiPartsService','doc.mutation.rich-text-editing','1em','currentColor','cursorInfo','_document','OnLineSingle','M0\x200H16V16H0z','_ensureSubject','_startSheetCollabCursor','call','onMouseMove','_collabCursorController','popstate','#FFF','_createSocketURL','InsertColCommandId','_getMergeRange','_initCommandExecutedListener','RemoveColCommandId','onCommandExecuted','INVALID_INVITE_CODE','enableLocalCache','RemoveRowCommandId','none','getParam','univer-flex\x20univer-items-center','isArray','_beforeCloseService','getRenderById','m2Prime','APPLY_PERMISSION_DENIED','split','addHandlerCallback','collab-text-anchor-','onPointerEnter$','assignAColorForMemberID','search','off-line-single_clip0_910_343','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','debug','subscribeEvent','div','runId','error','_onRefRangeChange','text','unitID','endRow','_online','saveTaskMap','data','includes','_updateLocalCursor','_session','onLocalMutation','APPLY_DUPLICATED','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initEntityListener','random','_cursorShapes','getCellPositionByOffset','_updateCollabCursors','getUnhiddenWorksheets','skeleton','setTimeout','toRgbString','_initStatusComponent','YUUMI_URL_COL_OUT_OF_RANGE','ONLINE','_name','SUBMIT_CHANGESET_TIMEOUT','subUnitId','_notificationService','key','top','session.connection-failed','indexOf','href','UNRECOGNIZED','uni.network.url-service','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','redoState','url(#$1','_color','displayName','unit','_disabled','SYNCED','YUUMI_UNABLE_LOAD_URL','icon','CONFLICT','body','origin','_docStateChangeManagerService','_collabSessionService','_registerRenderDependencies','_onCursorDelete','arc','univer-flex\x20univer-mr-2\x20univer-text-[20px]','pushState','Unknown\x20user','exhaustSavingTask','activeSheet$','max','_send','TEXT','subunit','min','code','collabStatus.synced','_hovered','event$'];_0x242c=function(){return _0x1fcef1;};return _0x242c();}import{IRemoteInstanceService as _0x1b2577}from'@univerjs/rpc';var ci=Object[_0x1ea2c4(0x29a)],li=(_0x163b12,_0xda692a,_0x4459e9,_0x3a3869)=>{const _0x13dbc5=_0x1ea2c4;for(var _0x4f2183=_0x3a3869>0x1?void 0x0:_0x3a3869?ci(_0xda692a,_0x4459e9):_0xda692a,_0x5d0f75=_0x163b12[_0x13dbc5(0x13d)]-0x1,_0x1fb4dc;_0x5d0f75>=0x0;_0x5d0f75--)(_0x1fb4dc=_0x163b12[_0x5d0f75])&&(_0x4f2183=_0x1fb4dc(_0x4f2183)||_0x4f2183);return _0x4f2183;},Je=(_0x4b9de1,_0x5d098b)=>(_0x128722,_0xc468e4)=>_0x5d098b(_0x128722,_0xc468e4,_0x4b9de1);let Ne=class extends _0x15e0fe{constructor(_0x3c6806,_0x487e88){const _0x500c0d=_0x1ea2c4;super(),this[_0x500c0d(0x1e5)]=_0x3c6806,this[_0x500c0d(0x266)]=_0x487e88,this[_0x500c0d(0x28a)]();}[_0x1ea2c4(0x28a)](){const _0x36fc95=_0x1ea2c4,_0x18d0d6=this;this[_0x36fc95(0x1c6)](this[_0x36fc95(0x1e5)][_0x36fc95(0x1de)]({'onBeforePasteImage':async _0x5034f3=>{const _0xb6ec11=_0x36fc95,_0x26de95=await _0x18d0d6[_0xb6ec11(0x266)][_0xb6ec11(0x1ad)](_0x5034f3);return _0x26de95?{'source':_0x26de95[_0xb6ec11(0x271)],'imageSourceType':_0x26de95[_0xb6ec11(0x17d)]}:null;}}));}};Ne=li([Je(0x0,_0x534134),Je(0x1,_0x22392c)],Ne);const Ze=[_0x1ea2c4(0x1b1),_0x1ea2c4(0x1d8),'verdancy600',_0x1ea2c4(0x174),_0x1ea2c4(0x180),'gold400'];class ke extends _0x5e7e9c{constructor(){const _0x4e0d8c=_0x1ea2c4;super(...arguments),_(this,_0x4e0d8c(0x277),new Map()),_(this,'_colorIndex',0x0);}[_0x1ea2c4(0x211)](_0x3c919e){const _0x53a1c1=_0x1ea2c4;if(this[_0x53a1c1(0x277)][_0x53a1c1(0x1d3)](_0x3c919e))return this['_assignedColors'][_0x53a1c1(0x160)](_0x3c919e);const _0x53c9f6=Ze[this['_colorIndex']];return this[_0x53a1c1(0x126)]=(this[_0x53a1c1(0x126)]+0x1)%Ze[_0x53a1c1(0x13d)],this[_0x53a1c1(0x277)][_0x53a1c1(0x19f)](_0x3c919e,_0x53c9f6),_0x53c9f6;}}function Tt(_0x3515f5){const _0x5eb143=_0x1ea2c4;let _0x2f5745='';for(const _0x174640 of _0x3515f5){const {startOffset:_0x77183f,endOffset:_0x3e9a0d,isActive:_0x5d4571,rangeType:_0x4bd81f,segmentId:_0x54e3bb,segmentPage:_0x2ae343}=_0x174640;_0x2f5745[_0x5eb143(0x13d)]&&(_0x2f5745+=','),_0x2f5745+=_0x77183f+':'+_0x3e9a0d+':'+(_0x5d4571?'1':'0')+':'+_0x4bd81f+':'+_0x54e3bb+':'+_0x2ae343;}return _0x2f5745;}function _i(_0xeca0cf){const _0x2dda7c=_0x1ea2c4,_0x467483=_0xeca0cf['split'](','),_0x39e203=[];for(const _0x33f260 of _0x467483){const [_0x42c6dc,_0x5f47ef,_0x2e7eff,_0x32762c,_0x28ef47,_0x2f6dc9]=_0x33f260[_0x2dda7c(0x20d)](':');_0x39e203[_0x2dda7c(0x292)]({'startOffset':Number(_0x42c6dc),'endOffset':Number(_0x5f47ef),'collapsed':_0x42c6dc===_0x5f47ef,'isActive':_0x2e7eff==='1','rangeType':_0x32762c===_0x303fd1['TEXT']?_0x303fd1[_0x2dda7c(0x259)]:_0x303fd1[_0x2dda7c(0x17c)],'segmentId':typeof _0x28ef47==_0x2dda7c(0xd3)?String(_0x28ef47):'','segmentPage':Number(_0x2f6dc9!=null?_0x2f6dc9:-0x1)});}return _0x39e203[_0x2dda7c(0x2c9)](_0x4e88d5=>_0x4e88d5['isActive'])||(_0x39e203[0x0][_0x2dda7c(0x1b8)]=!0x0),_0x39e203;}class He extends _0x15e0fe{constructor(){const _0x335478=_0x1ea2c4;super(...arguments),_(this,_0x335478(0x2d4),new _0x10a4a9(null)),_(this,_0x335478(0x1cc),this['_collabCursorState$'][_0x335478(0x1dd)]());}['syncEditingCollabCursor'](_0x15e4a3){const _0x4004f2=_0x1ea2c4,{unitID:_0x114789,memberID:_0x42f2ee,textRanges:_0x1094b9}=_0x15e4a3,_0x41a795=Tt(_0x1094b9);if(_0x41a795==='')return;const _0x46c92b={'unitID':_0x114789,'memberID':_0x42f2ee,'selection':_0x41a795};this[_0x4004f2(0x2d4)][_0x4004f2(0xf3)](_0x46c92b);}}var hi=Object[_0x1ea2c4(0x29a)],ui=(_0x2e34fb,_0x555264,_0x573e30,_0x1c7d50)=>{const _0x55c8c6=_0x1ea2c4;for(var _0x556ad=_0x1c7d50>0x1?void 0x0:_0x1c7d50?hi(_0x555264,_0x573e30):_0x555264,_0x452af7=_0x2e34fb[_0x55c8c6(0x13d)]-0x1,_0x258d83;_0x452af7>=0x0;_0x452af7--)(_0x258d83=_0x2e34fb[_0x452af7])&&(_0x556ad=_0x258d83(_0x556ad)||_0x556ad);return _0x556ad;},L=(_0x59aaca,_0xcd9039)=>(_0x59a438,_0x49b33c)=>_0xcd9039(_0x59a438,_0x49b33c,_0x59aaca);const di=0x12c,fi=0x64;let Ue=class extends _0x15e0fe{constructor(_0x2a006b,_0x4ed38d,_0x3c02c7,_0x19915e,_0x2e0cd6,_0x25e99c,_0x491832,_0x35607f,_0x5e78a9){const _0x545763=_0x1ea2c4;super(),_(this,_0x545763(0x21f),!0x1),_(this,_0x545763(0x28a),!0x1),_(this,_0x545763(0xd7),new _0x10a4a9(new Map())),_(this,'cursorInfo$',this[_0x545763(0xd7)][_0x545763(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x545763(0x103),this[_0x545763(0x115)][_0x545763(0x13f)](_0x37f242(di))),_(this,_0x545763(0x223),_0x3c4131(_0x3c6bcb=>{const _0x1b22c7=_0x545763,_0x2be221={'eventID':_0x45f904['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b22c7(0x21d)],'memberID':this[_0x1b22c7(0x224)][_0x1b22c7(0x2d1)](),'selection':Tt(_0x3c6bcb)}};this[_0x1b22c7(0x224)]['send'](_0x2be221,this[_0x1b22c7(0x21d)]);},fi)),(this[_0x545763(0x21d)]=_0x2a006b,this[_0x545763(0x224)]=_0x4ed38d,this[_0x545763(0x2ab)]=_0x3c02c7,this[_0x545763(0x2c7)]=_0x19915e,this['_memberService']=_0x2e0cd6,this[_0x545763(0x130)]=_0x25e99c,this[_0x545763(0x11a)]=_0x491832,this[_0x545763(0x155)]=_0x35607f,this[_0x545763(0x18c)]=_0x5e78a9);}get[_0x1ea2c4(0x1f1)](){const _0x315381=_0x1ea2c4;return this[_0x315381(0xd7)][_0x315381(0x1d4)]();}get[_0x1ea2c4(0x283)](){const _0x283554=_0x1ea2c4;return this[_0x283554(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x49ede4=_0x1ea2c4;super[_0x49ede4(0x2ad)](),this[_0x49ede4(0xd7)][_0x49ede4(0xf3)](new Map()),this[_0x49ede4(0xd7)]['complete'](),this[_0x49ede4(0x115)]['next']([]),this[_0x49ede4(0x115)][_0x49ede4(0x1e3)]();}[_0x1ea2c4(0x170)](){const _0x118210=_0x1ea2c4;this['_init']||(this['_init']=!0x0,this[_0x118210(0x224)][_0x118210(0x264)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x5c47eb=>{const _0x30f1e0=_0x118210;_0x5c47eb===_0x23ee66[_0x30f1e0(0x234)]?this[_0x30f1e0(0x29e)]():this['_toggleOffline']();}),this[_0x118210(0x224)][_0x118210(0x25f)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))['subscribe'](_0x56bf9e=>{const _0x5f87b3=_0x118210,_0x434800=_0x56bf9e[_0x5f87b3(0x172)];_0x434800===_0x45f904['UPDATE_CURSOR']&&this[_0x5f87b3(0x2d3)](_0x56bf9e),_0x434800===_0x45f904[_0x5f87b3(0x1c1)]&&this[_0x5f87b3(0x250)](_0x56bf9e);}),this[_0x118210(0x1c6)](this['_commandService']['onCommandExecuted'](_0x46895b=>{const _0xddcdc9=_0x118210,_0x5c944b=_0x46895b[_0xddcdc9(0x116)];_0x5c944b!=null&&this[_0xddcdc9(0x21f)]&&_0x46895b['id']===_0x379421['id']&&_0x5c944b['unitId']===this[_0xddcdc9(0x21d)]&&_0x5c944b[_0xddcdc9(0x18b)]===!0x1&&_0x5c944b[_0xddcdc9(0x2c6)][_0xddcdc9(0x13d)]>0x0&&this[_0xddcdc9(0x223)](_0x5c944b[_0xddcdc9(0x2c6)]);})),this[_0x118210(0x130)][_0x118210(0x1cc)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x11a3b5=>{const _0x2a24fa=_0x118210;if((_0x11a3b5==null?void 0x0:_0x11a3b5[_0x2a24fa(0x21d)])!==this[_0x2a24fa(0x21d)])return;const _0x1fb274={'eventID':_0x45f904[_0x2a24fa(0x1c5)],'data':_0x11a3b5};this[_0x2a24fa(0x2d3)](_0x1fb274);}),this['disposeWithMe'](this['_commandService'][_0x118210(0x201)](_0x3018a8=>{const _0x68530=_0x118210;if(_0x3018a8[_0x68530(0x116)]==null)return;const _0x2818e8=_0x3018a8['params'];if(_0x3018a8['id']!==_0x330494['id']||_0x2818e8[_0x68530(0x1a4)]!==this[_0x68530(0x21d)])return;const _0x2f585b={'id':'doc.mutation.rich-text-editing','params':_0x2818e8},_0xe78e1b=this[_0x68530(0x1f1)];for(const [_0x5ecca8,_0x36a4c7]of _0xe78e1b){const _0x415b90={'id':_0x68530(0x1ee),'params':{'unitId':this[_0x68530(0x21d)],'actions':null,'textRanges':_0x36a4c7[_0x68530(0x2c6)]}},_0x17eb40=this[_0x68530(0x11a)]['transformMutation'](_0x2f585b,_0x415b90,!0x1);if(_0x1280c2(_0x17eb40))throw _0x17eb40['error'];_0xe78e1b['set'](_0x5ecca8,{..._0x36a4c7,'ranges':_0x17eb40['m2Prime'][_0x68530(0x116)][_0x68530(0x287)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xe78e1b);});})));}[_0x1ea2c4(0x2d3)](_0x342a16){const _0x464593=_0x1ea2c4;var _0x2d8df8,_0xd74a5f;const {memberID:_0x400a1e,selection:_0x1c2d00}=_0x342a16[_0x464593(0x221)],_0x23af0d=_i(_0x1c2d00),_0x1ac746=(_0xd74a5f=(_0x2d8df8=this['_memberService'][_0x464593(0x2bc)](this[_0x464593(0x21d)],_0x400a1e))==null?void 0x0:_0x2d8df8['name'])!=null?_0xd74a5f:_0x464593(0x254),_0xd54116={'color':this['_colorAssignService'][_0x464593(0x211)](_0x400a1e),'name':_0x1ac746,'ranges':_0x23af0d},_0x51a41d=this[_0x464593(0x1f1)];_0x51a41d[_0x464593(0x19f)](_0x400a1e,_0xd54116),this['_cursorInfo$'][_0x464593(0xf3)](_0x51a41d);}[_0x1ea2c4(0x250)](_0x2a460b){const _0x44ae3e=_0x1ea2c4,{memberID:_0x1f1c4a}=_0x2a460b[_0x44ae3e(0x221)],_0x488e39=this[_0x44ae3e(0x1f1)];_0x488e39[_0x44ae3e(0x2b0)](_0x1f1c4a),this[_0x44ae3e(0xd7)]['next'](_0x488e39);}[_0x1ea2c4(0x29e)](){const _0x1a98af=_0x1ea2c4;var _0x39b973;if(this[_0x1a98af(0x21f)]=!0x0,((_0x39b973=this[_0x1a98af(0x155)]['getFocusedUnit']())==null?void 0x0:_0x39b973['getUnitId']())!==this[_0x1a98af(0x21d)])return;const _0x9dbe13=this[_0x1a98af(0x2ab)][_0x1a98af(0x160)](_0x439c02)[_0x1a98af(0x10a)]();Array[_0x1a98af(0x208)](_0x9dbe13)&&_0x9dbe13['length']>0x0&&this[_0x1a98af(0x223)](_0x9dbe13);}['_toggleOffline'](){const _0x38cc61=_0x1ea2c4;this[_0x38cc61(0x21f)]=!0x1;}};Ue=ui([L(0x2,_0x2c28ac(_0x2ed78b)),L(0x3,_0x2c28ac(ke)),L(0x4,_0x2c28ac(_0xca28cd)),L(0x5,_0x2c28ac(He)),L(0x6,_0x1064e2),L(0x7,_0x610794),L(0x8,_0x2d7c40)],Ue);var Si=Object[_0x1ea2c4(0x29a)],mi=(_0x59e6f8,_0x80b7b1,_0x2e98a7,_0x38cbd6)=>{for(var _0x29ba47=_0x38cbd6>0x1?void 0x0:_0x38cbd6?Si(_0x80b7b1,_0x2e98a7):_0x80b7b1,_0x44b63d=_0x59e6f8['length']-0x1,_0xc92e15;_0x44b63d>=0x0;_0x44b63d--)(_0xc92e15=_0x59e6f8[_0x44b63d])&&(_0x29ba47=_0xc92e15(_0x29ba47)||_0x29ba47);return _0x29ba47;},x=(_0x154400,_0x15ec52)=>(_0x4c0747,_0x98d60d)=>_0x15ec52(_0x4c0747,_0x98d60d,_0x154400);const gi=0x12c,Ii=0x64,vi=()=>{let _0x3a654f=[],_0x2cea67=!0x1;return _0x59e574=>{const _0x568713=_0x3e8b;_0x3a654f[_0x568713(0x292)](_0x59e574),_0x2cea67||(_0x2cea67=!0x0,setTimeout(()=>{_0x3a654f['forEach'](_0xdaabf1=>_0xdaabf1()),_0x3a654f=[],_0x2cea67=!0x1;}));};};let Me=class extends _0x15e0fe{constructor(_0x240b63,_0x1fc117,_0x4e36a0,_0x1024b5,_0x4e0306,_0x2c05dc,_0x3551ad,_0x226239){const _0x274aea=_0x1ea2c4;super(),_(this,_0x274aea(0x21f),!0x1),_(this,_0x274aea(0x28a),!0x1),_(this,'_cursorInfo$',new _0x10a4a9(new Map())),_(this,_0x274aea(0x121),this['_cursorInfo$'][_0x274aea(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x274aea(0x103),this[_0x274aea(0x115)]['pipe'](_0x37f242(gi))),_(this,_0x274aea(0x223),_0x3c4131((_0xc47c2d,_0x251e80)=>{const _0x43de93=_0x274aea,_0xb7b057={'eventID':_0x45f904[_0x43de93(0x1c5)],'data':{'unitID':this[_0x43de93(0x21d)],'memberID':this[_0x43de93(0x224)][_0x43de93(0x2d1)](),'selection':_0x25ddc9(_0xc47c2d,_0x251e80[_0x43de93(0x2b1)])}};this[_0x43de93(0x224)][_0x43de93(0x1da)](_0xb7b057,this[_0x43de93(0x21d)]);},Ii)),(this['unitID']=_0x240b63,this[_0x274aea(0x224)]=_0x1fc117,this[_0x274aea(0x2ab)]=_0x4e36a0,this[_0x274aea(0x2c7)]=_0x1024b5,this['_memberService']=_0x4e0306,this[_0x274aea(0x155)]=_0x2c05dc,this['_commandService']=_0x3551ad,this[_0x274aea(0x151)]=_0x226239);}get[_0x1ea2c4(0x1f1)](){const _0x323ed7=_0x1ea2c4;return this[_0x323ed7(0xd7)]['getValue']();}get[_0x1ea2c4(0x283)](){const _0x4e9919=_0x1ea2c4;return this[_0x4e9919(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x3cb337=_0x1ea2c4;super[_0x3cb337(0x2ad)](),this[_0x3cb337(0xd7)][_0x3cb337(0xf3)](new Map()),this['_cursorInfo$'][_0x3cb337(0x1e3)](),this[_0x3cb337(0x115)][_0x3cb337(0xf3)]([]),this[_0x3cb337(0x115)]['complete']();}['init'](){const _0x4cb620=_0x1ea2c4;this[_0x4cb620(0x28a)]||(this[_0x4cb620(0x28a)]=!0x0,this['_session']['sessionStatus$'][_0x4cb620(0x13f)](_0x4c6dcf(this['dispose$']))[_0x4cb620(0x13c)](_0x1e37b7=>{const _0x3c0f9a=_0x4cb620;_0x1e37b7===_0x23ee66['ONLINE']?this['_toggleOnline']():this[_0x3c0f9a(0x2a8)]();}),this[_0x4cb620(0x224)]['event$']['pipe'](_0x4c6dcf(this[_0x4cb620(0x27e)]))[_0x4cb620(0x13c)](_0x354291=>{const _0x456356=_0x4cb620,_0x38a34a=_0x354291[_0x456356(0x172)];_0x38a34a===_0x45f904['UPDATE_CURSOR']&&this[_0x456356(0x2d3)](_0x354291),_0x38a34a===_0x45f904[_0x456356(0x1c1)]&&this['_onCursorDelete'](_0x354291);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x4cb620(0x201)](_0x12b9f8=>{const _0xa52312=_0x4cb620;if(this['_online']&&_0x12b9f8['id']===_0x3ac398['id']&&_0x12b9f8[_0xa52312(0x116)][_0xa52312(0x1a4)]===this[_0xa52312(0x21d)]){const _0x230f5c=_0x12b9f8['params'];this['_updateLocalCursor'](_0x230f5c[_0xa52312(0x237)],_0x230f5c[_0xa52312(0x197)][0x0]);}})));}[_0x1ea2c4(0x2d3)](_0x2137c2){const _0x35d29d=_0x1ea2c4;var _0x1cfd71,_0x4b9440;const {memberID:_0x3514f6,selection:_0x4443d8}=_0x2137c2[_0x35d29d(0x221)],{sheetName:_0x359344,range:_0x598cb4}=_0x3e4016(_0x4443d8),_0x305771={'name':(_0x4b9440=(_0x1cfd71=this[_0x35d29d(0x18e)]['getMember'](this[_0x35d29d(0x21d)],_0x3514f6))==null?void 0x0:_0x1cfd71['name'])!=null?_0x4b9440:_0x35d29d(0x254),'range':this[_0x35d29d(0x1fe)](_0x359344,_0x598cb4),'sheetID':_0x359344,'color':this[_0x35d29d(0x2c7)][_0x35d29d(0x211)](_0x3514f6),'selection':_0x4443d8},_0x32488e=this['cursorInfo'];_0x32488e[_0x35d29d(0x19f)](_0x3514f6,_0x305771),this[_0x35d29d(0xd7)]['next'](_0x32488e);}[_0x1ea2c4(0x250)](_0x14d3e5){const _0x3baf44=_0x1ea2c4,{memberID:_0x8d528f}=_0x14d3e5['data'],_0x4508b9=this['cursorInfo'];_0x4508b9['delete'](_0x8d528f),this[_0x3baf44(0xd7)][_0x3baf44(0xf3)](_0x4508b9);}[_0x1ea2c4(0x1fe)](_0x382de3,_0xcbecbe){const _0x4dc48b=_0x1ea2c4;var _0x3e6024,_0x29e462;const _0x1ad943=(_0x29e462=(_0x3e6024=this[_0x4dc48b(0x155)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3e6024[_0x4dc48b(0x10b)](_0x382de3))==null?void 0x0:_0x29e462[_0x4dc48b(0x189)]();return(_0x1ad943==null?void 0x0:_0x1ad943[_0x4dc48b(0x17a)](_0x31f128=>_0x3326d3[_0x4dc48b(0x119)](_0x31f128,_0xcbecbe)))||_0xcbecbe;}[_0x1ea2c4(0x21b)](){const _0x3e4a78=_0x1ea2c4,_0x55e631=new _0x22b265(),_0x5cf35e=vi(),_0x552334=()=>{const _0x3254c1=_0x3e8b;_0x55e631['dispose']();const _0x2143e8=(_0x18c956,_0x300022,_0x287b7f,_0x2144fa)=>{const _0x1d5b4a=_0x3e8b;let _0x5b17a5=[];switch(_0x18c956['id']){case _0x3d73ea[_0x1d5b4a(0x134)]:{_0x5b17a5=_0x2f9898(_0x18c956,_0x2144fa);break;}case _0x3d73ea['DeleteRangeMoveUpCommandId']:{_0x5b17a5=_0x47b53a(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x1fd)]:{_0x5b17a5=_0x373ba9(_0x18c956,_0x2144fa);break;}case _0x3d73ea['InsertRangeMoveDownCommandId']:{_0x5b17a5=_0x1f8b91(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x106)]:{_0x5b17a5=_0x182f49(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0xea)]:{_0x5b17a5=_0x4c4126(_0x18c956,_0x2144fa);break;}case _0x3d73ea['MoveRangeCommandId']:{_0x5b17a5=_0x16d9c5(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x200)]:{_0x5b17a5=_0x36e958(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x204)]:{_0x5b17a5=_0x5b40d0(_0x18c956,_0x2144fa);break;}}const _0x55850c=_0x44f27e(_0x5b17a5,_0x2144fa),_0x57b7b5=this['cursorInfo'][_0x1d5b4a(0x160)](_0x300022);if(_0x57b7b5&&_0x55850c){const _0x5892bd={..._0x57b7b5,'range':_0x55850c};this[_0x1d5b4a(0x1f1)][_0x1d5b4a(0x19f)](_0x300022,_0x5892bd),_0x5cf35e(()=>{const _0x1798f1=_0x1d5b4a,_0x53f1af=this['_refRangeService']['registerRefRange'](_0x55850c,_0x54734a=>(_0x53f1af[_0x1798f1(0x2ad)](),_0x2143e8(_0x54734a,_0x300022,_0x287b7f,_0x55850c)));_0x55e631['add'](_0x53f1af);});}return{'redos':[],'undos':[]};};this[_0x3254c1(0x1f1)]['forEach']((_0x2a30d3,_0x566a0a)=>{const _0x2cbdea=_0x3254c1,{range:_0x5306b1,sheetID:_0x566b64}=_0x2a30d3,_0x22fc54=this['_refRangeService'][_0x2cbdea(0x274)](_0x5306b1,_0x482e1e=>(_0x22fc54[_0x2cbdea(0x2ad)](),_0x2143e8(_0x482e1e,_0x566a0a,_0x566b64,_0x5306b1)));_0x55e631[_0x2cbdea(0xd4)](_0x22fc54);});};this[_0x3e4a78(0x1c6)](_0x2d320c(this[_0x3e4a78(0xd7)][_0x3e4a78(0x13c)](()=>{_0x552334();})));}[_0x1ea2c4(0x29e)](){const _0x443dbf=_0x1ea2c4;var _0x16b7f1,_0x496dd9;if(this['_online']=!0x0,((_0x16b7f1=this[_0x443dbf(0x155)][_0x443dbf(0x11e)]())==null?void 0x0:_0x16b7f1[_0x443dbf(0x2b3)]())!==this[_0x443dbf(0x21d)])return;const _0x4e248c=(_0x496dd9=this['_injector'][_0x443dbf(0x160)](_0x459614)[_0x443dbf(0x227)]())==null?void 0x0:_0x496dd9[0x0],_0x4b4915=this[_0x443dbf(0x155)][_0x443dbf(0xf5)](_0x1bd797[_0x443dbf(0x296)])['getActiveSheet']();_0x4e248c&&_0x4b4915&&this['_updateLocalCursor'](_0x4b4915[_0x443dbf(0xd0)](),_0x4e248c);}[_0x1ea2c4(0x2a8)](){const _0x3bc4d6=_0x1ea2c4;this[_0x3bc4d6(0x21f)]=!0x1;}};Me=mi([x(0x2,_0x2c28ac(_0x2ed78b)),x(0x3,_0x2c28ac(ke)),x(0x4,_0x2c28ac(_0xca28cd)),x(0x5,_0x610794),x(0x6,_0x2d7c40),x(0x7,_0x2c28ac(_0x38f2c6))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x130eea,_0x2d9d0a,_0x97df87,_0x593490)=>{for(var _0x1a838d=_0x593490>0x1?void 0x0:_0x593490?pi(_0x2d9d0a,_0x97df87):_0x2d9d0a,_0x398cda=_0x130eea['length']-0x1,_0x89c8f0;_0x398cda>=0x0;_0x398cda--)(_0x89c8f0=_0x130eea[_0x398cda])&&(_0x1a838d=_0x89c8f0(_0x1a838d)||_0x1a838d);return _0x1a838d;},Se=(_0x1915b6,_0x162890)=>(_0x649cc4,_0x18a351)=>_0x162890(_0x649cc4,_0x18a351,_0x1915b6);let H=class extends _0x15e0fe{constructor(_0x5ce2a8,_0x4cf8ed,_0x3e15a5){const _0x53b9ba=_0x1ea2c4;super(),_(this,_0x53b9ba(0x263),new Map()),_(this,_0x53b9ba(0xeb),new _0xd2bab0()),(this[_0x53b9ba(0x155)]=_0x5ce2a8,this[_0x53b9ba(0x2ab)]=_0x4cf8ed,this[_0x53b9ba(0x24e)]=_0x3e15a5,this[_0x53b9ba(0x28a)]());}[_0x1ea2c4(0x2ad)](){const _0x2f7ec1=_0x1ea2c4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x4c81f5=>_0x4c81f5[_0x2f7ec1(0x2ad)]());}[_0x1ea2c4(0x29c)](_0x561a67){const _0x2dd05d=_0x1ea2c4;return this[_0x2dd05d(0x263)][_0x2dd05d(0x1d3)](_0x561a67)?this[_0x2dd05d(0x263)][_0x2dd05d(0x160)](_0x561a67)[_0x2dd05d(0x121)]:this[_0x2dd05d(0xeb)][_0x2dd05d(0x13f)](_0x5a9f25(_0x47f136=>_0x47f136['unitID']===_0x561a67),_0x3c2b2f(_0x3ed17e=>_0x3ed17e['cursorInfo$']));}[_0x1ea2c4(0x28a)](){const _0x2d08c9=_0x1ea2c4;this['_univerInstanceService'][_0x2d08c9(0x101)](_0x1bd797['UNIVER_SHEET'])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13c)](async _0x36f210=>{const _0x40a818=_0x2d08c9,_0x260c02=_0x36f210['getUnitId'](),_0x4c9c89=await this[_0x40a818(0x1f6)](_0x260c02);this[_0x40a818(0xeb)]['next'](_0x4c9c89),this[_0x40a818(0x263)][_0x40a818(0x19f)](_0x260c02,_0x4c9c89);}),this[_0x2d08c9(0x155)]['getTypeOfUnitAdded$'](_0x1bd797[_0x2d08c9(0x1c3)])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13f)](_0x5a9f25(_0x3a4bdc=>!_0x3a4bdc[_0x2d08c9(0x2b3)]()['startsWith']('__')))[_0x2d08c9(0x13c)](async _0x45eab1=>{const _0x32c32e=_0x2d08c9,_0x4bbd38=_0x45eab1[_0x32c32e(0x2b3)](),_0x200485=await this[_0x32c32e(0x267)](_0x4bbd38);this[_0x32c32e(0xeb)][_0x32c32e(0xf3)](_0x200485),this[_0x32c32e(0x263)]['set'](_0x4bbd38,_0x200485);}),_0x16bc38(this['_univerInstanceService'][_0x2d08c9(0x117)](_0x1bd797[_0x2d08c9(0x1c3)]),this[_0x2d08c9(0x155)][_0x2d08c9(0x117)](_0x1bd797['UNIVER_SHEET']))[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))['subscribe'](_0x4d9b70=>{const _0x35989c=_0x2d08c9,_0x3d1d6a=_0x4d9b70['getUnitId'](),_0x28a56d=this[_0x35989c(0x263)][_0x35989c(0x160)](_0x3d1d6a);_0x28a56d&&(_0x28a56d[_0x35989c(0x2ad)](),this['_entities'][_0x35989c(0x2b0)](_0x3d1d6a));});}async[_0x1ea2c4(0x1f6)](_0x4ee29e){const _0x47193e=_0x1ea2c4,_0x514a99=await this[_0x47193e(0x24e)][_0x47193e(0xed)](_0x4ee29e),_0x2597c2=this['_injector'][_0x47193e(0x2ba)](Me,_0x4ee29e,_0x514a99);return _0x2597c2[_0x47193e(0x170)](),_0x2597c2;}async[_0x1ea2c4(0x267)](_0x48978b){const _0x13d51c=_0x1ea2c4,_0x528b65=await this[_0x13d51c(0x24e)][_0x13d51c(0xed)](_0x48978b),_0x458e91=this[_0x13d51c(0x2ab)][_0x13d51c(0x2ba)](Ue,_0x48978b,_0x528b65);return _0x458e91[_0x13d51c(0x170)](),_0x458e91;}};H=Ci([Se(0x0,_0x610794),Se(0x1,_0x2c28ac(_0x2ed78b)),Se(0x2,_0x2c28ac(_0x2352e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x177a99,_0x399999){const _0x2ebb0e=_0x1ea2c4;let {radius:_0x27f3d5,width:_0x3c67f5,height:_0x448428}=_0x399999;_0x27f3d5=_0x27f3d5!=null?_0x27f3d5:0x0,_0x3c67f5=_0x3c67f5!=null?_0x3c67f5:0x1e,_0x448428=_0x448428!=null?_0x448428:0x1e;let _0x10b2bc=0x0,_0x5eccf8=0x0,_0x39519d=0x0;_0x10b2bc=_0x5eccf8=_0x39519d=Math[_0x2ebb0e(0x25b)](_0x27f3d5,_0x3c67f5/0x2,_0x448428/0x2),_0x177a99[_0x2ebb0e(0x191)](),_0x177a99['moveTo'](_0x10b2bc,0x0),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5-_0x5eccf8,0x0),_0x177a99[_0x2ebb0e(0x251)](_0x3c67f5-_0x5eccf8,_0x5eccf8,_0x5eccf8,Math['PI']*0x3/0x2,0x0,!0x1),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5,_0x448428-_0x39519d),_0x177a99['arc'](_0x3c67f5-_0x39519d,_0x448428-_0x39519d,_0x39519d,0x0,Math['PI']/0x2,!0x1),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x448428),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x10b2bc),_0x177a99['arc'](_0x10b2bc,_0x10b2bc,_0x10b2bc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x177a99['closePath'](),_0x399999['fill']&&(_0x177a99[_0x2ebb0e(0x28e)](),_0x177a99[_0x2ebb0e(0x1ab)]=_0x399999[_0x2ebb0e(0x1e6)],_0x399999[_0x2ebb0e(0x1d9)]===_0x2ebb0e(0x142)?_0x177a99[_0x2ebb0e(0x1e6)]('evenodd'):_0x177a99['fill'](),_0x177a99['restore']());}class he extends _0x4e7874{constructor(_0x45592b,_0x340ffa){const _0x3ab0d0=_0x1ea2c4;super(_0x45592b,_0x340ffa),_(this,_0x3ab0d0(0x145)),_(this,'text'),(this[_0x3ab0d0(0x145)]=_0x340ffa==null?void 0x0:_0x340ffa['color'],this[_0x3ab0d0(0x21c)]=_0x340ffa==null?void 0x0:_0x340ffa[_0x3ab0d0(0x21c)]);}static[_0x1ea2c4(0x10f)](_0x5caf23,_0xa056f6){const _0x15d016=_0x1ea2c4,{text:_0x5d5406,color:_0x883881}=_0xa056f6;_0x5caf23['save'](),_0x5caf23[_0x15d016(0x12c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1be820=_0x5caf23['measureText'](_0x5d5406)[_0x15d016(0x100)],_0x4972da=Math[_0x15d016(0x25b)](_0x1be820+0x2*me,Qe);Oi(_0x5caf23,{'height':ee,'radius':0x4,'width':_0x4972da,'fill':_0x883881}),_0x5caf23[_0x15d016(0x1ab)]=_0x15d016(0x1fb);const _0x8bb2eb=me,_0x3a82cb=ee-Ei,_0x1752c1=Qe-0x2*me;if(_0x1be820>_0x1752c1){let _0x294981='',_0x2a61d6=0x0;for(const _0x27bc8e of _0x5d5406){const _0x22c42d=_0x5caf23[_0x15d016(0x152)](_0x27bc8e)[_0x15d016(0x100)];if(_0x2a61d6+_0x22c42d<=_0x1752c1-_0x5caf23['measureText'](_0x15d016(0x141))[_0x15d016(0x100)])_0x294981+=_0x27bc8e,_0x2a61d6+=_0x22c42d;else{_0x294981+='...';break;}}_0x5caf23[_0x15d016(0x16b)](_0x294981,_0x8bb2eb,_0x3a82cb);}else _0x5caf23[_0x15d016(0x16b)](_0x5d5406,_0x8bb2eb,_0x3a82cb);_0x5caf23['restore']();}[_0x1ea2c4(0x1b2)](_0x225c5c){const _0x4edeef=_0x1ea2c4;he[_0x4edeef(0x10f)](_0x225c5c,this);}}const ge=_0x1ea2c4(0x20f),bi=_0x1ea2c4(0x183),Ti=_0x1ea2c4(0x2bd),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x1ea2c4(0x168);class qe{constructor(_0x531177,_0x52146c,_0x413164,_0x3aae0a){const _0x47716d=_0x1ea2c4;_(this,_0x47716d(0x146),[]),_(this,_0x47716d(0x1db),null),_(this,_0x47716d(0x17f),null),_(this,'_anchorDot',null),_(this,_0x47716d(0x153),null),_(this,_0x47716d(0x122),null),(this[_0x47716d(0x2c4)]=_0x531177,this[_0x47716d(0x131)]=_0x52146c,this[_0x47716d(0x10e)]=_0x413164,this[_0x47716d(0x1f2)]=_0x3aae0a,this[_0x47716d(0x1c0)]());}set[_0x1ea2c4(0x298)](_0x26a434){const _0x42ae42=_0x1ea2c4;_0x26a434?(this[_0x42ae42(0xe9)]&&this['_anchorDot'][_0x42ae42(0x16d)](),this['_textBubble']&&this[_0x42ae42(0x17f)]['show']()):(this[_0x42ae42(0xe9)]&&this[_0x42ae42(0xe9)][_0x42ae42(0x2a5)](),this[_0x42ae42(0x17f)]&&this[_0x42ae42(0x17f)][_0x42ae42(0x16d)]());}[_0x1ea2c4(0x2ad)](){const _0x35d89c=_0x1ea2c4;for(const _0x1e77d5 of this['_shapes'])_0x1e77d5[_0x35d89c(0x2ad)]();this[_0x35d89c(0x17f)]&&this[_0x35d89c(0x17f)][_0x35d89c(0x2ad)](),this[_0x35d89c(0xe9)]&&this['_anchorDot'][_0x35d89c(0x2ad)](),this['_anchor']&&this[_0x35d89c(0x1db)]['dispose'](),this[_0x35d89c(0x122)]&&this[_0x35d89c(0x122)]();}[_0x1ea2c4(0x1c0)](){const _0x585958=_0x1ea2c4;var _0x4a1ccc;const {_docSkeleton:_0x37615a,_document:_0x29cf7f}=this,{color:_0x566ec4,name:_0x53def1,ranges:_0x4a6002}=this[_0x585958(0x2c4)],_0x1929e1=_0x29cf7f['getOffsetConfig'](),{docsLeft:_0x5589a0,docsTop:_0x4ce761}=_0x1929e1,_0x811917=new _0x205c2f(_0x1929e1,_0x37615a);for(const {startOffset:_0x3fd0f1,endOffset:_0x318e9a,rangeType:_0x3c2d87,segmentId:_0x5b4eb7,segmentPage:_0x5e41be,collapsed:_0x179933,isActive:_0x3b912a}of _0x4a6002){const _0x36de84=_0x37615a['findNodePositionByCharIndex'](_0x3fd0f1,!0x0,_0x5b4eb7,_0x5e41be);let _0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a,!0x0,_0x5b4eb7,_0x5e41be);if(_0x38dae8==null&&(_0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a-0x1,!0x1,_0x5b4eb7,_0x5e41be)),_0x3b912a){const {contentBoxPointGroup:_0x21f236}=_0x811917[_0x585958(0x286)](_0x38dae8,_0x38dae8);if(_0x21f236[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x14c)](_0x566ec4,_0x21f236,_0x5589a0,_0x4ce761,_0x53def1),this[_0x585958(0x122)]=this['_handleHover']();}if(_0x36de84&&_0x38dae8){if(_0x3c2d87===_0x303fd1[_0x585958(0x17c)]){const _0x5d3f9e=new _0x379e91(_0x1929e1,_0x37615a),{pointGroup:_0x51d04c}=(_0x4a1ccc=_0x5d3f9e[_0x585958(0x286)](_0x36de84,_0x38dae8))!=null?_0x4a1ccc:{};if(_0x51d04c==null||_0x51d04c[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x290)](_0x566ec4,_0x51d04c,_0x5589a0,_0x4ce761);}else{if(!_0x179933){const {borderBoxPointGroup:_0x3a51f6}=_0x811917[_0x585958(0x286)](_0x36de84,_0x38dae8);if(_0x3a51f6[_0x585958(0x13d)]===0x0)continue;this['_drawTextRange'](_0x566ec4,_0x3a51f6,_0x5589a0,_0x4ce761);}}}}}[_0x1ea2c4(0x14c)](_0x167805,_0x48d603,_0x108a91,_0x203a50,_0x4b3fa6){const _0x3db01f=_0x1ea2c4,_0x597911=this[_0x3db01f(0x1d1)](_0x48d603),{left:_0x35d8d7,top:_0x32b912,height:_0x3f1401}=_0x597911,_0x5056c6=this[_0x3db01f(0x1eb)](),_0x5a437a=Di/_0x5056c6,_0x43b9c4=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50,'height':_0x3f1401,'width':Ri,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':_0x5a437a,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x43b9c4,this[_0x3db01f(0x131)]['addObject'](_0x43b9c4,_0x8fb040);const _0x362828=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':0x0,'stroke':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'evented':!0x1});this[_0x3db01f(0xe9)]=_0x362828,this[_0x3db01f(0x131)][_0x3db01f(0x1b0)](_0x362828,_0x8fb040);const _0x5d8658=new he(ge+_0xd617dc['generateRandomId'](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-ee,'text':_0x4b3fa6,'color':_0x167805});this['_textBubble']=_0x5d8658,this[_0x3db01f(0x131)]['addObject'](_0x5d8658,_0x8fb040),this[_0x3db01f(0x298)]=!0x1;}['_handleHover'](){const _0x5ebf1b=_0x1ea2c4,_0x173f9f=this[_0x5ebf1b(0x1db)]['onPointerEnter$'][_0x5ebf1b(0x217)](()=>{this['_hover']=!0x0;}),_0x19f945=this[_0x5ebf1b(0x1db)]['onPointerLeave$'][_0x5ebf1b(0x217)](()=>{const _0x225a26=_0x5ebf1b;this['_hideTimer']&&clearTimeout(this[_0x225a26(0x153)]),this[_0x225a26(0x153)]=setTimeout(()=>{const _0x476603=_0x225a26;this[_0x476603(0x298)]=!0x1;},0x7d0);});return()=>{const _0x20c965=_0x5ebf1b;_0x173f9f[_0x20c965(0x2cf)](),_0x19f945[_0x20c965(0x2cf)]();};}[_0x1ea2c4(0x2b6)](_0x274575,_0x5564ef,_0x2c5e79,_0x1bc479){const _0x46ac5d=_0x1ea2c4,_0x584e40=new _0x1fa4b2(_0x274575)[_0x46ac5d(0xe3)](0.2)['toRgbString'](),_0x4d043b=new _0x29e9da(bi+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x5564ef,'fill':_0x584e40||_0xd1944e(_0x1ca1fd[_0x46ac5d(0x1e1)],0.2),'left':_0x2c5e79,'top':_0x1bc479,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ac5d(0x146)][_0x46ac5d(0x292)](_0x4d043b),this['_scene']['addObject'](_0x4d043b,_0x8fb040);}[_0x1ea2c4(0x290)](_0xaee26f,_0x32edc1,_0x549fd5,_0x28f721){const _0x2d998e=_0x1ea2c4,_0xe27916=new _0x1fa4b2(_0xaee26f)[_0x2d998e(0xe3)](0.2)[_0x2d998e(0x231)](),_0x970aa1=new _0x29e9da(Ti+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x32edc1,'fill':_0xe27916||_0xd1944e(_0x1ca1fd[_0x2d998e(0x1e1)],0.2),'left':_0x549fd5,'top':_0x28f721,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d998e(0x146)][_0x2d998e(0x292)](_0x970aa1),this['_scene']['addObject'](_0x970aa1,_0x8fb040);}['_getAnchorBounding'](_0x18d58b){const _0x314657=_0x18d58b[0x0],_0x2f6c1c=_0x314657[0x0],_0x3313c9=_0x314657[0x2],{x:_0x487eae,y:_0x53a713}=_0x2f6c1c,{x:_0x3ff0a4,y:_0x57774e}=_0x3313c9;return{'left':_0x487eae,'top':_0x53a713,'width':_0x3ff0a4-_0x487eae,'height':_0x57774e-_0x53a713};}[_0x1ea2c4(0x1eb)](){const _0x4901d3=_0x1ea2c4,{scaleX:_0xcc6817,scaleY:_0x309a7f}=this[_0x4901d3(0x131)][_0x4901d3(0x198)]();return Math[_0x4901d3(0x257)](_0xcc6817,_0x309a7f);}}var Ui=Object[_0x1ea2c4(0x29a)],Mi=(_0x5ec937,_0x5ccf95,_0x28e5b9,_0x42ac01)=>{const _0x26af0c=_0x1ea2c4;for(var _0x53f8a0=_0x42ac01>0x1?void 0x0:_0x42ac01?Ui(_0x5ccf95,_0x28e5b9):_0x5ccf95,_0x5a3377=_0x5ec937[_0x26af0c(0x13d)]-0x1,_0x111bc7;_0x5a3377>=0x0;_0x5a3377--)(_0x111bc7=_0x5ec937[_0x5a3377])&&(_0x53f8a0=_0x111bc7(_0x53f8a0)||_0x53f8a0);return _0x53f8a0;},Z=(_0x5ea727,_0x53f892)=>(_0x4d6345,_0x127feb)=>_0x53f892(_0x4d6345,_0x127feb,_0x5ea727);let Pe=class extends _0x15e0fe{constructor(_0x23782f,_0x5594ac,_0x334ecd,_0x36b947,_0x5b2d6e){const _0x2ac80f=_0x1ea2c4;super(),_(this,_0x2ac80f(0x22b),[]),_(this,_0x2ac80f(0x12a),[]),(this[_0x2ac80f(0x1e7)]=_0x23782f,this[_0x2ac80f(0x14b)]=_0x5594ac,this[_0x2ac80f(0x1f9)]=_0x334ecd,this['_commandService']=_0x36b947,this[_0x2ac80f(0xd5)]=_0x5b2d6e,this['_init']());}[_0x1ea2c4(0x28a)](){const _0x3629bb=_0x1ea2c4,_0x348cc5=this['_context'][_0x3629bb(0x1a4)],_0x2976fe=this[_0x3629bb(0x14b)];this[_0x3629bb(0x1c6)](_0x132635([this['_collabCursorController']['getCollabCursors$'](_0x348cc5),this[_0x3629bb(0xd5)][_0x3629bb(0x17b)]])[_0x3629bb(0x13f)](_0x1715d5(([_0x54b67c,_0x1c4b03])=>({'skeleton':_0x2976fe[_0x3629bb(0x173)](),'cursors':[..._0x54b67c[_0x3629bb(0x112)]()][_0x3629bb(0x262)](_0x400b82=>({..._0x400b82,'color':_0x1c4b03[_0x400b82[_0x3629bb(0x145)]]}))})))[_0x3629bb(0x13c)](_0x205c52=>{const _0x5bd2fd=_0x3629bb;if(this[_0x5bd2fd(0x194)](),_0x205c52){const {skeleton:_0x54c047,cursors:_0x2181a1}=_0x205c52;this['_updateCollabCursors'](_0x54c047,_0x2181a1);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x1ea2c4(0x22d)](_0xdf5091,_0x4a1bb9){const _0x57ba59=_0x1ea2c4,{scene:_0x312ada,mainComponent:_0x5f059b}=this[_0x57ba59(0x1e7)],_0x4736fa=_0x4a1bb9['map'](_0x3c7bfa=>new qe(_0x3c7bfa,_0x312ada,_0xdf5091,_0x5f059b));this[_0x57ba59(0x22b)]=_0x4736fa,this['_cursors']=_0x4a1bb9;}[_0x1ea2c4(0x1a1)](){const _0x256711=_0x1ea2c4;this['_removeCollabCursors']();const {scene:_0x99f3b1,mainComponent:_0x43d0ce}=this['_context'],_0xf60fb4=this[_0x256711(0x14b)]['getSkeleton'](),_0x35951d=this[_0x256711(0x12a)]['map'](_0x1da6a7=>new qe(_0x1da6a7,_0x99f3b1,_0xf60fb4,_0x43d0ce));this[_0x256711(0x22b)]=_0x35951d;}['_removeCollabCursors'](){const _0x3d667e=_0x1ea2c4;this['_cursorShapes']['forEach'](_0x29f979=>_0x29f979[_0x3d667e(0x2ad)]()),this['_cursorShapes']=[];}[_0x1ea2c4(0x1ff)](){const _0x35bebc=_0x1ea2c4,_0x3076f8=[_0x41fc4b['id']];this[_0x35bebc(0x1c6)](this[_0x35bebc(0x18c)]['onCommandExecuted'](_0xb25918=>{const _0x30e3e1=_0x35bebc;_0x3076f8[_0x30e3e1(0x222)](_0xb25918['id'])&&_0xb25918[_0x30e3e1(0x116)][_0x30e3e1(0x1a4)]===this[_0x30e3e1(0x1e7)][_0x30e3e1(0x1a4)]&&this['_refreshCollabCursors']();}));}[_0x1ea2c4(0x10d)](){const _0x3efd9f=_0x1ea2c4;this[_0x3efd9f(0x1c6)](_0x350e85(this['_context'][_0x3efd9f(0x11b)][_0x3efd9f(0x270)])['pipe'](_0x4a40cb(_0x33d5e4=>_0x33d5e4[_0x3efd9f(0x11d)]===_0x2a0c74[_0x3efd9f(0x2b2)]),_0x510e1e(0x10))['subscribe'](()=>{const _0x2bde3e=_0x3efd9f;this[_0x2bde3e(0x1a1)]();}));}};Pe=Mi([Z(0x1,_0x2c28ac(_0x43cc1e)),Z(0x2,_0x2c28ac(H)),Z(0x3,_0x2d7c40),Z(0x4,_0x2c28ac(_0x20c7fb))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4e7874{constructor(_0x2fc7e9,_0x1949bf){const _0x3fe5df=_0x1ea2c4;super(_0x2fc7e9,_0x1949bf),_(this,_0x3fe5df(0x243)),_(this,_0x3fe5df(0x25e),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x3fe5df(0x280),_0x3fe5df(0x23a)),_(this,_0x3fe5df(0x1b6)),(_0x1949bf&&this[_0x3fe5df(0x2af)](_0x1949bf),this[_0x3fe5df(0x210)][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x1})));}[_0x1ea2c4(0x2af)](_0x404382){const _0x4c0110=_0x1ea2c4;var _0x175102,_0x34270a,_0x1c91e2,_0x9ac92,_0x37de78,_0x3ee556;this[_0x4c0110(0x243)]=(_0x175102=_0x404382[_0x4c0110(0x145)])!=null?_0x175102:this[_0x4c0110(0x243)],this['_hovered']=(_0x34270a=_0x404382[_0x4c0110(0x1d6)])!=null?_0x34270a:this[_0x4c0110(0x25e)],this[_0x4c0110(0x1ca)]=(_0x1c91e2=_0x404382[_0x4c0110(0x2b1)])!=null?_0x1c91e2:this[_0x4c0110(0x1ca)],this[_0x4c0110(0x235)]=(_0x9ac92=_0x404382[_0x4c0110(0x13b)])!=null?_0x9ac92:this[_0x4c0110(0x235)],this['_labelPosition']=(_0x37de78=_0x404382[_0x4c0110(0x166)])!=null?_0x37de78:this[_0x4c0110(0x280)],this[_0x4c0110(0x1b6)]=(_0x3ee556=_0x404382['backgroundColor'])!=null?_0x3ee556:this['_backgroundColor'],this[_0x4c0110(0x161)]({'width':_0x404382[_0x4c0110(0x100)],'height':_0x404382['height']});}[_0x1ea2c4(0x1f8)](_0x2de966){const _0x49ca65=_0x1ea2c4,{row:_0x1425da,column:_0x3b5a7d}=_0x2de966;if(_0x1425da>=this['_range'][_0x49ca65(0x163)]&&_0x1425da<=this[_0x49ca65(0x1ca)][_0x49ca65(0x21e)]&&_0x3b5a7d>=this[_0x49ca65(0x1ca)][_0x49ca65(0x276)]&&_0x3b5a7d<=this[_0x49ca65(0x1ca)]['endColumn']){this[_0x49ca65(0x2af)]({'hovered':!0x0});return;}this[_0x49ca65(0x2af)]({'hovered':!0x1});}[_0x1ea2c4(0x1e9)](_0x310534){return!0x1;}['_draw'](_0x18adc1){const _0x41a04b=_0x1ea2c4;_0x5a781a[_0x41a04b(0x10f)](_0x18adc1,{'width':this[_0x41a04b(0x100)],'height':this[_0x41a04b(0x1cb)],'strokeWidth':Li,'stroke':this[_0x41a04b(0x243)],'evented':!0x1,'fill':this[_0x41a04b(0x1b6)]}),this[_0x41a04b(0x25e)]&&(_0x18adc1[_0x41a04b(0x28e)](),_0x18adc1[_0x41a04b(0x18f)](0x1,0x0,0x0,0x1,this[_0x41a04b(0x100)],this['_labelPosition']===_0x41a04b(0x11c)?0x0:-0x14),he['drawWith'](_0x18adc1,{'text':this['_name'],'color':this[_0x41a04b(0x243)]}),_0x18adc1[_0x41a04b(0x2a9)]());}}var Ai=Object[_0x1ea2c4(0x29a)],yi=(_0x2a2934,_0x3a0513,_0x1398d2,_0xf38a07)=>{const _0x315170=_0x1ea2c4;for(var _0xc24a7b=_0xf38a07>0x1?void 0x0:_0xf38a07?Ai(_0x3a0513,_0x1398d2):_0x3a0513,_0x548934=_0x2a2934[_0x315170(0x13d)]-0x1,_0xaa0bf3;_0x548934>=0x0;_0x548934--)(_0xaa0bf3=_0x2a2934[_0x548934])&&(_0xc24a7b=_0xaa0bf3(_0xc24a7b)||_0xc24a7b);return _0xc24a7b;},ve=(_0x2d4429,_0x18d764)=>(_0x1b75d2,_0x40cc4e)=>_0x18d764(_0x1b75d2,_0x40cc4e,_0x2d4429);const $i=0x1389;let Le=class extends _0x15e0fe{constructor(_0x4d3b2f,_0x4c62c4,_0x35a8b0,_0x2e5491){const _0x528af7=_0x1ea2c4;super(),_(this,_0x528af7(0x12a),new Set()),_(this,'_lastPointer',null),(this[_0x528af7(0x1e7)]=_0x4d3b2f,this[_0x528af7(0x1e4)]=_0x4c62c4,this['_collabCursorController']=_0x35a8b0,this[_0x528af7(0xd5)]=_0x2e5491,this[_0x528af7(0x28a)]());}['_init'](){const _0x2bbe4e=_0x1ea2c4;this[_0x2bbe4e(0x1e4)][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13f)](_0x4f88ed(this[_0x2bbe4e(0x27e)]),_0x17c9a5(_0x538652=>{const _0x27e0e1=_0x2bbe4e;if(_0x538652){const _0x53353c=_0x538652['sheetId'];return _0x132635(this['_collabCursorController'][_0x27e0e1(0x29c)](this[_0x27e0e1(0x1e7)][_0x27e0e1(0x1a4)]),this[_0x27e0e1(0xd5)][_0x27e0e1(0x17b)])[_0x27e0e1(0x13f)](_0x1715d5(([_0x2d0eff,_0x38fe07])=>{const _0x37cb92=_0x27e0e1,_0x2cf6ab=new Map();return _0x2d0eff[_0x37cb92(0x108)]((_0x42d89a,_0x3e14f5)=>{const _0x42c159=_0x37cb92;if(_0x42d89a['sheetID']===_0x53353c){const _0x2a6e7a={..._0x42d89a};_0x2a6e7a[_0x42c159(0x145)]=_0x38fe07[_0x42d89a['color']],_0x2cf6ab[_0x42c159(0x19f)](_0x3e14f5,_0x2a6e7a);}}),{'skeleton':_0x538652,'cursors':_0x2cf6ab};}));}return _0x1da7a7({'skeleton':null,'cursors':new Map()});}))[_0x2bbe4e(0x13c)](({skeleton:_0x2af63c,cursors:_0x51f70})=>{const _0x131b61=_0x2bbe4e;this[_0x131b61(0x194)](),_0x2af63c&&this[_0x131b61(0x22d)](_0x2af63c,_0x51f70);}),this['_sheetSkeletonManagerService'][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13c)](_0x40a89f=>{const _0x564b1e=_0x2bbe4e;if(_0x40a89f==null)return;const {skeleton:_0x256f44}=_0x40a89f,{scene:_0x10f7b5}=this['_context'];_0x10f7b5[_0x564b1e(0x156)][_0x564b1e(0x217)](_0x3c4131(_0x16b10d=>{const _0x2432c7=_0x564b1e;var _0x6785fc,_0x91c094;const {offsetX:_0xeaccc3,offsetY:_0x760b28}=_0x16b10d,{x:_0x1e9f11,y:_0x29ba59}=_0x10f7b5[_0x2432c7(0x1dc)](_0x55ebca[_0x2432c7(0x2ca)]([_0xeaccc3,_0x760b28])),{scaleX:_0x5f4888,scaleY:_0x244076}=_0x10f7b5[_0x2432c7(0x198)](),_0x1ee03b=_0x10f7b5[_0x2432c7(0x14a)](_0x670b59[_0x2432c7(0x265)]),_0x22ab83=_0x10f7b5[_0x2432c7(0x2bb)](_0x55ebca[_0x2432c7(0x2ca)]([_0x1e9f11,_0x29ba59]),_0x1ee03b),_0x1db3db=_0x256f44[_0x2432c7(0x22c)](_0xeaccc3,_0x760b28,_0x5f4888,_0x244076,_0x22ab83);((_0x6785fc=this['_lastPointer'])==null?void 0x0:_0x6785fc['column'])===_0x1db3db[_0x2432c7(0x138)]&&((_0x91c094=this['_lastPointer'])==null?void 0x0:_0x91c094[_0x2432c7(0x187)])===_0x1db3db['row']||this[_0x2432c7(0x12a)][_0x2432c7(0x108)](_0x8f72bd=>{const _0x491cee=_0x2432c7;_0x8f72bd[_0x491cee(0x1f8)](_0x1db3db);});},0x64));});}[_0x1ea2c4(0x22d)](_0x49785a,_0x5c9d49){const _0x16cb52=_0x1ea2c4;var _0x46dfa1;const _0x6f2575=(_0x46dfa1=this[_0x16cb52(0x1e4)]['getCurrent']())==null?void 0x0:_0x46dfa1[_0x16cb52(0x22f)];if(!_0x6f2575)return;const _0x440fb7=this['_getSheetObject']();if(!_0x440fb7)return;this[_0x16cb52(0x12a)][_0x16cb52(0x108)](_0x440b61=>{const _0x6ec82e=_0x16cb52;_0x440b61[_0x6ec82e(0x113)]();});const {scene:_0x592533}=_0x440fb7,_0x25675c=xi(Array['from'](_0x5c9d49['values']()))['map'](_0x340873=>{const _0x524218=_0x16cb52,{color:_0x264de1,range:_0x5b0e8c,name:_0x56ce2a,selection:_0x26bee2,sheetID:_0x4d0595}=_0x340873,{startColumn:_0x415479,startRow:_0x2d9f86,endColumn:_0xd39e66,endRow:_0x5bd91f}=_0x5b0e8c,_0xa28e4d=_0x2ac45a(_0x2d9f86,_0x415479,_0x592533,_0x6f2575),_0x137a62=_0x2ac45a(_0x5bd91f,_0xd39e66,_0x592533,_0x6f2575),{columnHeaderHeightAndMarginTop:_0x40cbea}=_0x6f2575,{startX:_0x45f243,startY:_0x5c16ba}=_0xa28e4d,{endX:_0x31b708,endY:_0x2bbaf8}=_0x137a62,_0x10d3ba=_0x31b708-_0x45f243,_0x1e4cbb=_0x2bbaf8-_0x5c16ba,_0x2ef6dd={'labelPosition':_0x5c16ba-_0x40cbea>=ee?'top':_0x524218(0x11c),'sheetID':_0x4d0595,'range':_0x5b0e8c,'color':_0x264de1,'name':_0x56ce2a,'selection':_0x26bee2,'left':_0x45f243,'top':_0x5c16ba,'width':_0x10d3ba,'height':_0x1e4cbb,'evented':!0x1,'zIndex':$i};return new wi(_0x56ce2a,_0x2ef6dd);});_0x592533[_0x16cb52(0x2b4)](_0x25675c,Pi),this[_0x16cb52(0x12a)]=new Set(_0x25675c);}[_0x1ea2c4(0x194)](){const _0x1f726e=_0x1ea2c4;var _0x44d080;(_0x44d080=this[_0x1f726e(0x12a)])==null||_0x44d080[_0x1f726e(0x108)](_0x37d9a9=>_0x37d9a9['dispose']());}[_0x1ea2c4(0x28d)](){const _0x2fe56e=_0x1ea2c4;return _0x14f9c0(this['_context'][_0x2fe56e(0x245)],this[_0x2fe56e(0x1e7)]);}};Le=yi([ve(0x1,_0x2c28ac(_0x2878d8)),ve(0x2,_0x2c28ac(H)),ve(0x3,_0x2c28ac(_0x20c7fb))],Le);function xi(_0x31d80e){const _0x169095=_0x1ea2c4,_0x4364cf=new Map();return _0x31d80e['forEach'](_0x5d1b1e=>{const _0xef6722=_0x3e8b;if(_0x4364cf[_0xef6722(0x1d3)](_0x5d1b1e['selection'])){const _0x5c6c76=_0x4364cf[_0xef6722(0x160)](_0x5d1b1e['selection']);_0x5c6c76[_0xef6722(0x13b)]+=',\x20'+_0x5d1b1e['name'];}else _0x4364cf[_0xef6722(0x19f)](_0x5d1b1e[_0xef6722(0x188)],_0x5d1b1e);}),Array[_0x169095(0x2c0)](_0x4364cf[_0x169095(0x112)]());}var v=function(){const _0x18cb26=_0x1ea2c4;return v=Object[_0x18cb26(0xd6)]||function(_0x471e6b){const _0x2228b5=_0x18cb26;for(var _0x20f27a,_0x4a75ae=0x1,_0x5a5bc0=arguments[_0x2228b5(0x13d)];_0x4a75ae<_0x5a5bc0;_0x4a75ae++){_0x20f27a=arguments[_0x4a75ae];for(var _0x23c1a0 in _0x20f27a)Object[_0x2228b5(0x157)][_0x2228b5(0x2b9)][_0x2228b5(0x1f7)](_0x20f27a,_0x23c1a0)&&(_0x471e6b[_0x23c1a0]=_0x20f27a[_0x23c1a0]);}return _0x471e6b;},v[_0x18cb26(0x1cd)](this,arguments);},Bi=function(_0x29e40c,_0x76879){const _0x3d28ec=_0x1ea2c4;var _0x5e7fb3={};for(var _0x1eff6e in _0x29e40c)Object[_0x3d28ec(0x157)][_0x3d28ec(0x2b9)][_0x3d28ec(0x1f7)](_0x29e40c,_0x1eff6e)&&_0x76879[_0x3d28ec(0x23c)](_0x1eff6e)<0x0&&(_0x5e7fb3[_0x1eff6e]=_0x29e40c[_0x1eff6e]);if(_0x29e40c!=null&&typeof Object[_0x3d28ec(0x2ac)]==_0x3d28ec(0x2a4)){for(var _0x46c723=0x0,_0x1eff6e=Object[_0x3d28ec(0x2ac)](_0x29e40c);_0x46c723<_0x1eff6e['length'];_0x46c723++)_0x76879[_0x3d28ec(0x23c)](_0x1eff6e[_0x46c723])<0x0&&Object[_0x3d28ec(0x157)][_0x3d28ec(0x1a0)]['call'](_0x29e40c,_0x1eff6e[_0x46c723])&&(_0x5e7fb3[_0x1eff6e[_0x46c723]]=_0x29e40c[_0x1eff6e[_0x46c723]]);}return _0x5e7fb3;},je=_0x507e46(function(_0xc73c56,_0x2a7c95){const _0x281d41=_0x1ea2c4;var _0x2fe8b0=_0xc73c56[_0x281d41(0x249)],_0x6fe4fd=_0xc73c56['id'],_0x3f0817=_0xc73c56[_0x281d41(0x261)],_0x3d3b4d=_0xc73c56['extend'],_0x3ab047=Bi(_0xc73c56,['icon','id',_0x281d41(0x261),_0x281d41(0x13e)]),_0x17586b=_0x281d41(0xfb)[_0x281d41(0x26b)](_0x6fe4fd,'\x20')[_0x281d41(0x26b)](_0x3f0817||'')['trim'](),_0x49dce6=_0x36b027('_'[_0x281d41(0x26b)](ji()));return Rt(_0x2fe8b0,''['concat'](_0x6fe4fd),{'defIds':_0x2fe8b0[_0x281d41(0x1ea)],'idSuffix':_0x49dce6['current']},v({'ref':_0x2a7c95,'className':_0x17586b},_0x3ab047),_0x3d3b4d);});function Rt(_0x591b45,_0x46189e,_0x34a93d,_0x35553e,_0x8113d4){const _0x1cfe69=_0x1ea2c4;return _0x9ecbb4(_0x591b45[_0x1cfe69(0x2cc)],v(v({'key':_0x46189e},ki(_0x591b45,_0x34a93d,_0x8113d4)),_0x35553e),(Hi(_0x591b45,_0x34a93d)[_0x1cfe69(0x1e0)]||[])['map'](function(_0x2abd97,_0x575832){const _0x2e0102=_0x1cfe69;return Rt(_0x2abd97,''[_0x2e0102(0x26b)](_0x46189e,'-')[_0x2e0102(0x26b)](_0x591b45[_0x2e0102(0x2cc)],'-')[_0x2e0102(0x26b)](_0x575832),_0x34a93d,void 0x0,_0x8113d4);}));}function ki(_0x12e56f,_0x4a8cbd,_0x248509){const _0x3757d7=_0x1ea2c4;var _0x3d67ea=v({},_0x12e56f['attrs']);_0x248509!=null&&_0x248509[_0x3757d7(0x2ae)]&&_0x3d67ea[_0x3757d7(0x1e6)]===_0x3757d7(0x2ae)&&(_0x3d67ea[_0x3757d7(0x1e6)]=_0x248509['colorChannel1']),_0x12e56f[_0x3757d7(0x2cc)]===_0x3757d7(0x26a)&&_0x3d67ea['id']&&(_0x3d67ea['id']=_0x3d67ea['id']+_0x4a8cbd['idSuffix']),Object[_0x3757d7(0x28f)](_0x3d67ea)[_0x3757d7(0x108)](function(_0x259a29){const _0x2ebe9b=_0x3757d7;var _0x187624=_0x259a29[0x0],_0x467fb6=_0x259a29[0x1];_0x187624===_0x2ebe9b(0x26a)&&typeof _0x467fb6==_0x2ebe9b(0xd3)&&(_0x3d67ea[_0x187624]=_0x467fb6[_0x2ebe9b(0x2c5)](/url\(#(.*)\)/,_0x2ebe9b(0x242)[_0x2ebe9b(0x26b)](_0x4a8cbd[_0x2ebe9b(0x147)],')')));});var _0x2a6d7b=_0x4a8cbd['defIds'];return!_0x2a6d7b||_0x2a6d7b['length']===0x0||(_0x12e56f['tag']==='use'&&_0x3d67ea[_0x3757d7(0x2a1)]&&(_0x3d67ea[_0x3757d7(0x2a1)]=_0x3d67ea[_0x3757d7(0x2a1)]+_0x4a8cbd[_0x3757d7(0x147)]),Object['entries'](_0x3d67ea)[_0x3757d7(0x108)](function(_0x2da02b){const _0x172d4e=_0x3757d7;var _0x2d28e3=_0x2da02b[0x0],_0x223697=_0x2da02b[0x1];typeof _0x223697==_0x172d4e(0xd3)&&(_0x3d67ea[_0x2d28e3]=_0x223697['replace'](/url\(#(.*)\)/,'url(#$1'[_0x172d4e(0x26b)](_0x4a8cbd[_0x172d4e(0x147)],')')));})),_0x3d67ea;}function Hi(_0x5caba3,_0xed0944){const _0x3fc73f=_0x1ea2c4;var _0x2b07ee,_0x10f423=_0xed0944[_0x3fc73f(0x1ea)];return!_0x10f423||_0x10f423[_0x3fc73f(0x13d)]===0x0?_0x5caba3:_0x5caba3['tag']===_0x3fc73f(0x150)&&(!((_0x2b07ee=_0x5caba3[_0x3fc73f(0x1e0)])===null||_0x2b07ee===void 0x0)&&_0x2b07ee[_0x3fc73f(0x13d)])?v(v({},_0x5caba3),{'children':_0x5caba3[_0x3fc73f(0x1e0)][_0x3fc73f(0x1bb)](function(_0xe79a9c){const _0x5658a7=_0x3fc73f;return typeof _0xe79a9c[_0x5658a7(0x12d)]['id']==_0x5658a7(0xd3)&&_0x10f423&&_0x10f423[_0x5658a7(0x23c)](_0xe79a9c[_0x5658a7(0x12d)]['id'])>-0x1?v(v({},_0xe79a9c),{'attrs':v(v({},_0xe79a9c[_0x5658a7(0x12d)]),{'id':_0xe79a9c[_0x5658a7(0x12d)]['id']+_0xed0944[_0x5658a7(0x147)]})}):_0xe79a9c;})}):_0x5caba3;}function ji(){const _0x4fff58=_0x1ea2c4;return Math[_0x4fff58(0x22a)]()[_0x4fff58(0x195)](0x24)[_0x4fff58(0x175)](0x2,0x8);}je[_0x1ea2c4(0x244)]=_0x1ea2c4(0x1a6);var Yi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x14e),'width':_0x1ea2c4(0x1ef),'height':_0x1ea2c4(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0x1ce)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x12f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':_0x1ea2c4(0x2ce),'attrs':{'id':_0x1ea2c4(0x213)},'children':[{'tag':'path','attrs':{'fill':_0x1ea2c4(0x1cf),'d':_0x1ea2c4(0x1f4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x507e46(function(_0x5d1f0f,_0x51931b){const _0x381c5b=_0x1ea2c4;return _0x9ecbb4(je,Object['assign']({},_0x5d1f0f,{'id':_0x381c5b(0x28c),'ref':_0x51931b,'icon':Yi}));});Dt[_0x1ea2c4(0x244)]='OffLineSingle';var Wi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x140),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0xf2)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x2cd),'strokeLinecap':'round','strokeLinejoin':_0x1ea2c4(0x104),'strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'fill':_0x1ea2c4(0x1cf),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1ea2c4(0x2c3)]},Nt=_0x507e46(function(_0x922b27,_0x281f46){const _0x3e4fb7=_0x1ea2c4;return _0x9ecbb4(je,Object[_0x3e4fb7(0xd6)]({},_0x922b27,{'id':_0x3e4fb7(0x291),'ref':_0x281f46,'icon':Wi}));});Nt['displayName']=_0x1ea2c4(0x1f3);function Fi(_0x1be5ab){const _0x3de81a=_0x1ea2c4;switch(_0x1be5ab){case _0x2b26de[_0x3de81a(0x16e)]:return _0x3de81a(0x162);case _0x2b26de[_0x3de81a(0x24a)]:return _0x3de81a(0x288);case _0x2b26de[_0x3de81a(0x1a5)]:return'collabStatus.fetchMiss';case _0x2b26de[_0x3de81a(0x15b)]:return _0x3de81a(0x128);case _0x2b26de[_0x3de81a(0xd1)]:case _0x2b26de[_0x3de81a(0x196)]:return _0x3de81a(0x19c);case _0x2b26de[_0x3de81a(0x247)]:case _0x2b26de['PENDING']:return _0x3de81a(0x25d);}}function Vi(_0x1df97f){const _0x34f5e9=_0x1ea2c4,{status$:_0x3e578a}=_0x1df97f,_0x41ba28=_0x1cc5fe(_0x3e578a,_0x2b26de['NOT_COLLAB']),_0x15862e=_0x1ac2e6(_0x4a6cd3),_0x3f0fe1=_0x1ac2e6(_0x2352e1),_0x380cf2=_0x41ba28!==_0x2b26de['OFFLINE'],_0x2c2e81=_0x15862e['t'](Fi(_0x41ba28)),_0x1c9a6b=_0x380cf2?_0x46fa34(Nt,{}):_0x46fa34(Dt,{}),_0xaa0c2b=_0x39c0bd(()=>{_0x380cf2||_0x3f0fe1['reconnect']();},[_0x380cf2,_0x3f0fe1]);function _0x4ceafe(){const _0x5091c3=_0x3e8b;return _0xad7a6a(_0x5091c3(0x218),{'className':_0x5091c3(0x207),'onClick':_0xaa0c2b,'children':[_0x46fa34(_0x5091c3(0x218),{'className':_0x507046(_0x5091c3(0x252),_0x380cf2?_0x5091c3(0x2a0):_0x5091c3(0xfe)),'children':_0x1c9a6b}),_0x46fa34(_0x5091c3(0x218),{'className':_0x5091c3(0x260),'children':_0x2c2e81})]});}return _0x380cf2?_0x4ceafe():_0x46fa34(_0x5957bd,{'title':_0x15862e['t'](_0x34f5e9(0x279)),'children':_0x4ceafe()});}var Xi=Object[_0x1ea2c4(0x29a)],Gi=(_0x120e2a,_0x100ed8,_0x2da571,_0x2b3181)=>{const _0x510335=_0x1ea2c4;for(var _0x370f6e=_0x2b3181>0x1?void 0x0:_0x2b3181?Xi(_0x100ed8,_0x2da571):_0x100ed8,_0x27886b=_0x120e2a[_0x510335(0x13d)]-0x1,_0x3244a7;_0x27886b>=0x0;_0x27886b--)(_0x3244a7=_0x120e2a[_0x27886b])&&(_0x370f6e=_0x3244a7(_0x370f6e)||_0x370f6e);return _0x370f6e;},Q=(_0x1d18f3,_0x3f940f)=>(_0x121e69,_0x5dc6f6)=>_0x3f940f(_0x121e69,_0x5dc6f6,_0x1d18f3);let te=class extends _0x5e7e9c{constructor(_0x1d4043,_0xc9f344,_0x31cef3,_0x23ce2c){const _0x1731cd=_0x1ea2c4;super(),_(this,'_status$',new _0x10a4a9(_0x2b26de[_0x1731cd(0x15b)])),(this[_0x1731cd(0x155)]=_0x1d4043,this[_0x1731cd(0x2ab)]=_0xc9f344,this[_0x1731cd(0x273)]=_0x31cef3,this[_0x1731cd(0x1ed)]=_0x23ce2c,this[_0x1731cd(0x232)](),this[_0x1731cd(0xf7)]());}['_initStatusListener'](){const _0x44d959=_0x1ea2c4;this[_0x44d959(0x1c6)](this[_0x44d959(0x155)][_0x44d959(0x12b)]['pipe'](_0x3c2b2f(()=>{const _0x1a3735=_0x44d959,_0x11e608=this[_0x1a3735(0x155)][_0x1a3735(0x11e)]();return _0x11e608?this[_0x1a3735(0x273)][_0x1a3735(0x268)](_0x11e608['getUnitId']()):_0x1da7a7(null);}),_0x3c2b2f(_0x29c0b0=>_0x29c0b0?_0x29c0b0['status$']:_0x1da7a7(_0x2b26de['NOT_COLLAB'])))['subscribe'](_0x12e538=>{const _0x14877e=_0x44d959;this[_0x14877e(0x1ba)][_0x14877e(0xf3)](_0x12e538);}));}['_initStatusComponent'](){const _0x274c9e=_0x1ea2c4;this['disposeWithMe'](this[_0x274c9e(0x1ed)]['registerComponent'](_0x3fb8e2[_0x274c9e(0x1d0)],()=>_0x40a413(Ki({'status$':this[_0x274c9e(0x1ba)][_0x274c9e(0x1dd)]()}),this[_0x274c9e(0x2ab)])));}};te=Gi([Q(0x0,_0x610794),Q(0x1,_0x2c28ac(_0x2ed78b)),Q(0x2,_0x2c28ac(_0x23b738)),Q(0x3,_0x3f3b82)],te);function Ki(_0x461047){const {status$:_0x114db5}=_0x461047;return function(){return _0x46fa34(Vi,{'status$':_0x114db5});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x422b14,_0x33e493,_0x577f80,_0x329ec5)=>{const _0x3b6afb=_0x1ea2c4;for(var _0x592345=_0x329ec5>0x1?void 0x0:_0x329ec5?zi(_0x33e493,_0x577f80):_0x33e493,_0x4adebb=_0x422b14[_0x3b6afb(0x13d)]-0x1,_0x1f371e;_0x4adebb>=0x0;_0x4adebb--)(_0x1f371e=_0x422b14[_0x4adebb])&&(_0x592345=_0x1f371e(_0x592345)||_0x592345);return _0x592345;},B=(_0x1030d0,_0x47f20f)=>(_0x119410,_0x5e3cf2)=>_0x47f20f(_0x119410,_0x5e3cf2,_0x1030d0);let se=class extends _0x5e7e9c{constructor(_0x18b148,_0x306b9e,_0x5598a4,_0x483b44,_0x39cdd3,_0x5fb265){const _0x1000f7=_0x1ea2c4;super(),this[_0x1000f7(0x209)]=_0x18b148,this[_0x1000f7(0x123)]=_0x306b9e,this[_0x1000f7(0x199)]=_0x5598a4,this[_0x1000f7(0xf9)]=_0x483b44,this[_0x1000f7(0x238)]=_0x39cdd3,this[_0x1000f7(0x149)]=_0x5fb265,this[_0x1000f7(0x136)](),this['_initEvent']();}[_0x1ea2c4(0x136)](){const _0x38b8be=_0x1ea2c4;this[_0x38b8be(0x1c6)](this[_0x38b8be(0x209)]['registerBeforeClose'](()=>{const _0x1a16a3=_0x38b8be;if(this[_0x1a16a3(0x123)]['saveTaskMap'][_0x1a16a3(0xdf)])return this[_0x1a16a3(0x149)]['t'](_0x1a16a3(0x15a));}));}[_0x1ea2c4(0x118)](){const _0xfc9123=_0x1ea2c4;this[_0xfc9123(0x1c6)](this[_0xfc9123(0x199)][_0xfc9123(0x25f)][_0xfc9123(0x13c)](_0x506713=>{const _0x38ba9d=_0xfc9123;_0x506713['id']===_0x3ded85[_0x38ba9d(0xdc)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6['Warning'],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x193))}),_0x506713['id']===_0x3ded85['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))}),_0x506713['id']===_0x3ded85['PERMISSION_DENIED']&&this[_0x38ba9d(0x238)][_0x38ba9d(0x2a5)]({'title':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x19b)),'content':this['_localeService']['t'](_0x38ba9d(0xf8)),'type':_0x38ba9d(0x21a),'duration':0x0}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x24a)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))+'('+_0x506713[_0x38ba9d(0x221)]+')'}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x29f)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x506713[_0x38ba9d(0x221)]||'')}),_0x506713['id']===_0x3ded85['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x38ba9d(0x19e))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x12e)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this['_localeService']['t'](_0x38ba9d(0x23b))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x236)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x165))});}));}};se=Ji([B(0x0,_0x2f9cbb),B(0x1,_0x499d1f),B(0x2,_0x2c28ac(_0x34d3bc)),B(0x3,_0xa0ddb0),B(0x4,_0x34bb3c),B(0x5,_0x2c28ac(_0x4a6cd3))],se);const Zi=_0x1ea2c4(0xdb),et={},Ut=_0x4f6e10(_0x1ea2c4(0x23f));var Qi=Object[_0x1ea2c4(0x29a)],qi=(_0x4fa061,_0x349943,_0x3c8160,_0x4897f9)=>{const _0x4e23e0=_0x1ea2c4;for(var _0x451924=_0x4897f9>0x1?void 0x0:_0x4897f9?Qi(_0x349943,_0x3c8160):_0x349943,_0x7e6c4=_0x4fa061[_0x4e23e0(0x13d)]-0x1,_0xea2e1d;_0x7e6c4>=0x0;_0x7e6c4--)(_0xea2e1d=_0x4fa061[_0x7e6c4])&&(_0x451924=_0xea2e1d(_0x451924)||_0x451924);return _0x451924;},G=(_0x217671,_0x54ab58)=>(_0x313b23,_0x14d4a7)=>_0x54ab58(_0x313b23,_0x14d4a7,_0x217671);let ie=class extends _0x15e0fe{constructor(_0x3ab5b6,_0x2db368,_0x6221f8,_0x2d3069,_0x30d6cb){const _0x592c29=_0x1ea2c4;super(),this[_0x592c29(0x159)]=_0x3ab5b6,this[_0x592c29(0x1c9)]=_0x2db368,this[_0x592c29(0x18c)]=_0x6221f8,this[_0x592c29(0x18a)]=_0x2d3069,_0x30d6cb?_0x30d6cb==null||_0x30d6cb[_0x592c29(0x127)]()['then'](()=>this[_0x592c29(0x28a)]()):(this[_0x592c29(0x1c9)][_0x592c29(0x216)]('[CollaborationDataLoaderController]',_0x592c29(0xda)),this[_0x592c29(0x28a)]());}async['_init'](){const _0x282130=_0x1ea2c4,_0x3cba99=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x245)),_0x49b53e=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x11d)),_0x26324e=this['_urlService'][_0x282130(0x206)]('subunit');if(!_0x3cba99||!_0x49b53e){this[_0x282130(0x1c9)]['debug'](_0x282130(0xe0),_0x282130(0x2c8));return;}const _0x4d028e=await this[_0x282130(0x18a)]['loadUnit'](_0x3cba99,Number(_0x49b53e),_0x26324e);_0x4d028e&&_0x4d028e instanceof _0x58fbb2&&this['_setupSubUnitSync'](_0x4d028e);}async[_0x1ea2c4(0x1be)](_0x1e6c12){const _0x5413e9=_0x1ea2c4;await this['_updateSubUnitFromURLParams'](_0x1e6c12),_0x1e6c12[_0x5413e9(0x256)][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](_0x17272b=>{_0x17272b&&this['_updateURLWithCurrentState'](_0x17272b);}),this['_urlService']['urlChange$'][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](()=>this['_updateSubUnitFromURLParams'](_0x1e6c12));}[_0x1ea2c4(0x1b5)](_0x128f69,_0x4f8855=!0x1){const _0x4dec57=_0x1ea2c4,_0x495200=this['_urlService'][_0x4dec57(0x206)]('subunit');_0x128f69[_0x4dec57(0xd0)]()!==_0x495200&&this[_0x4dec57(0x159)][_0x4dec57(0x1c8)](_0x4dec57(0x25a),_0x128f69[_0x4dec57(0xd0)](),_0x4f8855);}async[_0x1ea2c4(0x2aa)](_0x476c7b){const _0x12988e=_0x1ea2c4;var _0x21393f;const _0x231529=this[_0x12988e(0x159)][_0x12988e(0x206)](_0x12988e(0x25a));if(!_0x231529||!_0x476c7b[_0x12988e(0x10b)](_0x231529)){const _0x3cb11e=_0x476c7b[_0x12988e(0x22e)]()[0x0],_0xef3fa=_0x476c7b[_0x12988e(0x10b)](_0x3cb11e);if(!_0xef3fa)return;this['_updateURLWithCurrentState'](_0xef3fa,!0x0),await this['_commandService'][_0x12988e(0xfc)](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x3cb11e});return;}((_0x21393f=_0x476c7b['getActiveSheet']())==null?void 0x0:_0x21393f[_0x12988e(0xd0)]())!==_0x231529&&await this['_commandService']['executeCommand'](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x231529});}};ie=qi([G(0x0,Ut),G(0x1,_0x463af4),G(0x2,_0x2d7c40),G(0x3,_0x2c28ac(_0x5c1275)),G(0x4,_0x4825e0(_0x1b2577))],ie);var en=Object[_0x1ea2c4(0x29a)],tn=(_0x23fdfa,_0x2f7d93,_0x3dd8ab,_0x1c24a7)=>{for(var _0x5632e1=_0x1c24a7>0x1?void 0x0:_0x1c24a7?en(_0x2f7d93,_0x3dd8ab):_0x2f7d93,_0x33bd65=_0x23fdfa['length']-0x1,_0x3e543b;_0x33bd65>=0x0;_0x33bd65--)(_0x3e543b=_0x23fdfa[_0x33bd65])&&(_0x5632e1=_0x3e543b(_0x5632e1)||_0x5632e1);return _0x5632e1;},pe=(_0x571db8,_0x2e6f3f)=>(_0x5a9f6b,_0x5abbde)=>_0x2e6f3f(_0x5a9f6b,_0x5abbde,_0x571db8);let ne=class{constructor(_0xa935eb,_0x27184d,_0x6ab1bf){const _0x46bfab=_0x1ea2c4;this[_0x46bfab(0x2ab)]=_0xa935eb,this[_0x46bfab(0x11a)]=_0x27184d,this[_0x46bfab(0xf6)]=_0x6ab1bf;}[_0x1ea2c4(0xfa)](_0x45b024){const _0x2aa910=_0x1ea2c4;this[_0x2aa910(0xe5)](_0x45b024),this[_0x2aa910(0x190)](_0x45b024);}[_0x1ea2c4(0x1d7)](_0x52ba1e){const _0x35f2b6=_0x1ea2c4,{unitID:_0x3eb481}=_0x52ba1e,_0x41d6aa=this[_0x35f2b6(0xf6)][_0x35f2b6(0x20a)](_0x3eb481)[_0x35f2b6(0x167)](_0x46af31),{redoCache:_0x46825d}=_0x41d6aa['getUndoRedoMutationParamsCache']();if(_0x46825d[_0x35f2b6(0x13d)]===0x0)return _0x52ba1e;let _0xc99208=_0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e[_0x35f2b6(0x26f)][0x0]);for(let _0x49b9c5=0x0;_0x49b9c5<_0x46825d[_0x35f2b6(0x13d)];_0x49b9c5++){const _0x36c24d={'id':'doc.mutation.rich-text-editing','params':{..._0x46825d[_0x49b9c5]}},_0x1a4572=this[_0x35f2b6(0x11a)][_0x35f2b6(0x2a2)](_0xc99208,_0x36c24d,!0x1);if(_0x1280c2(_0x1a4572))throw _0x1a4572['error'];_0xc99208=_0x1a4572[_0x35f2b6(0x102)];}return{..._0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e),'mutations':[_0xc99208]};}[_0x1ea2c4(0xe5)](_0x54eeae){const _0x59c3a6=_0x1ea2c4,{unitID:_0x53e436}=_0x54eeae,_0x2a640a=this[_0x59c3a6(0xf6)][_0x59c3a6(0x20a)](_0x53e436)[_0x59c3a6(0x167)](_0x46af31),{undoCache:_0x4a66ac,redoCache:_0x1acbc6}=_0x2a640a[_0x59c3a6(0x158)]();if(_0x4a66ac['length']===0x0||_0x1acbc6[_0x59c3a6(0x13d)]===0x0)return;const _0x42f591=[],_0x465cb6=[];let _0x43bc20=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae[_0x59c3a6(0x26f)][0x0]),_0x1a2764=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae['mutations'][0x0]);for(let _0x283aeb=_0x4a66ac[_0x59c3a6(0x13d)]-0x1;_0x283aeb>=0x0;_0x283aeb--){const _0x16e4be={'id':_0x59c3a6(0x1ee),'params':{..._0x4a66ac[_0x283aeb]}},_0x28f443={'id':_0x59c3a6(0x1ee),'params':{..._0x1acbc6[_0x283aeb]}},_0x4546dc=this['_transformService'][_0x59c3a6(0x2a2)](_0x43bc20,_0x16e4be,!0x1),_0x54279f=this[_0x59c3a6(0x11a)][_0x59c3a6(0x2a2)](_0x1a2764,_0x28f443,!0x1);if(_0x1280c2(_0x4546dc))throw _0x4546dc['error'];if(_0x1280c2(_0x54279f))throw _0x54279f['error'];_0x42f591[_0x59c3a6(0x282)](_0x4546dc[_0x59c3a6(0x20b)][_0x59c3a6(0x116)]),_0x465cb6[_0x59c3a6(0x282)](_0x54279f['m2Prime'][_0x59c3a6(0x116)]),_0x43bc20=_0x4546dc[_0x59c3a6(0x102)],_0x1a2764=_0x54279f[_0x59c3a6(0x102)];}_0x2a640a[_0x59c3a6(0x299)]({'undoCache':_0x42f591,'redoCache':_0x465cb6});}[_0x1ea2c4(0x190)](_0x43c2ae){const _0x9ceeea=_0x1ea2c4,{unitID:_0xbef1f4}=_0x43c2ae,_0x4e39aa=this['_renderManagerService'][_0x9ceeea(0x20a)](_0xbef1f4)[_0x9ceeea(0x167)](_0x46af31),_0x2d8e14=_0x4e39aa['getActiveRange']();if(_0x2d8e14==null)return;const _0x54628e=[{'id':_0x9ceeea(0x1ee),'params':{'unitId':_0x43c2ae['unitID'],'actions':null,'textRanges':[_0x2d8e14]}}],_0x2bc654=this[_0x9ceeea(0x11a)]['transformMutationsWithChangeset'](_0x43c2ae,_0x54628e);if(!_0xb0953b(_0x2bc654))throw _0x2bc654['error'];const _0x20845c=_0x2bc654[_0x9ceeea(0x20b)][0x0][_0x9ceeea(0x116)][_0x9ceeea(0x287)];Array[_0x9ceeea(0x208)](_0x20845c)&&_0x20845c[_0x9ceeea(0x13d)]&&_0x4e39aa[_0x9ceeea(0x186)](_0x20845c[0x0]);}};ne=tn([pe(0x0,_0x2c28ac(_0x2ed78b)),pe(0x1,_0x1064e2),pe(0x2,_0x29a565)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4e875d,_0x2f7f8f,_0xa5c3cf,_0x39655f)=>{const _0x2aef3c=_0x1ea2c4;for(var _0x25a292=_0x39655f>0x1?void 0x0:_0x39655f?sn(_0x2f7f8f,_0xa5c3cf):_0x2f7f8f,_0x1c27a2=_0x4e875d[_0x2aef3c(0x13d)]-0x1,_0x5c07e0;_0x1c27a2>=0x0;_0x1c27a2--)(_0x5c07e0=_0x4e875d[_0x1c27a2])&&(_0x25a292=_0x5c07e0(_0x25a292)||_0x25a292);return _0x25a292;},Ce=(_0x2eb2fb,_0x5374ea)=>(_0x4a35cb,_0x12b2ca)=>_0x5374ea(_0x4a35cb,_0x12b2ca,_0x2eb2fb);let re=class{constructor(_0x27f57e,_0x31c04e,_0x29fb30){const _0x2a8bbd=_0x1ea2c4;this[_0x2a8bbd(0x2ab)]=_0x27f57e,this[_0x2a8bbd(0x11a)]=_0x31c04e,this[_0x2a8bbd(0x24d)]=_0x29fb30;}[_0x1ea2c4(0x1e8)](_0x1c5c5d){const _0x68f556=_0x1ea2c4;this[_0x68f556(0x192)](_0x1c5c5d);}[_0x1ea2c4(0x1d7)](_0x316451){const _0x58efe3=_0x1ea2c4,{unitID:_0x225ebe}=_0x316451,{collaboration:_0x1df765}=this[_0x58efe3(0x24d)][_0x58efe3(0x1d5)](_0x225ebe);if(_0x1df765[_0x58efe3(0x13d)]===0x0)return _0x316451;let _0x40df57=_0xd617dc[_0x58efe3(0x1b3)](_0x316451['mutations'][0x0]);for(let _0x475dfe=0x0;_0x475dfe<_0x1df765[_0x58efe3(0x13d)];_0x475dfe++){const _0x84305b={'id':_0x58efe3(0x1ee),'params':{'unitId':_0x1df765[_0x475dfe][_0x58efe3(0x1a4)],..._0x1df765[_0x475dfe][_0x58efe3(0x241)]}},_0x148690=this[_0x58efe3(0x11a)][_0x58efe3(0x2a2)](_0x40df57,_0x84305b,!0x1);if(_0x1280c2(_0x148690))throw _0x148690[_0x58efe3(0x21a)];_0x40df57=_0x148690['m1Prime'];}return{..._0xd617dc[_0x58efe3(0x1b3)](_0x316451),'mutations':[_0x40df57]};}[_0x1ea2c4(0x192)](_0x4f54f3){const _0x143764=_0x1ea2c4,{unitID:_0x38c372}=_0x4f54f3,{history:_0x4257a9,collaboration:_0x34959e}=this[_0x143764(0x24d)][_0x143764(0x1d5)](_0x38c372);if(_0x4257a9['length']===0x0&&_0x34959e[_0x143764(0x13d)]===0x0)return;const _0x2b9c09=[],_0x182407=[];let _0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3[_0x143764(0x26f)][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2fba2f=_0x4257a9[_0x143764(0x13d)]-0x1;_0x2fba2f>=0x0;_0x2fba2f--){const _0x48ee1={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x1a8)]}},_0x396ede={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x241)]}},_0x356620=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2647c0,_0x48ee1,!0x1),_0x2ba6c3=this[_0x143764(0x11a)]['transformMutation'](_0x2bce3a,_0x396ede,!0x1);if(_0x1280c2(_0x356620))throw _0x356620[_0x143764(0x21a)];if(_0x1280c2(_0x2ba6c3))throw _0x2ba6c3[_0x143764(0x21a)];_0x2b9c09['unshift']({..._0x4257a9[_0x2fba2f],'undoState':_0x356620[_0x143764(0x20b)][_0x143764(0x116)],'redoState':_0x2ba6c3[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x356620[_0x143764(0x102)],_0x2bce3a=_0x2ba6c3['m1Prime'];}_0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2cb5eb=_0x34959e['length']-0x1;_0x2cb5eb>=0x0;_0x2cb5eb--){const _0x1df1f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34959e[_0x2cb5eb][_0x143764(0x1a4)],..._0x34959e[_0x2cb5eb][_0x143764(0x1a8)]}},_0x145154={'id':_0x143764(0x1ee),'params':{'unitId':_0x34959e[_0x2cb5eb]['unitId'],..._0x34959e[_0x2cb5eb][_0x143764(0x241)]}},_0x50e62c=this[_0x143764(0x11a)]['transformMutation'](_0x2647c0,_0x1df1f9,!0x1),_0x185e5f=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2bce3a,_0x145154,!0x1);if(_0x1280c2(_0x50e62c))throw _0x50e62c[_0x143764(0x21a)];if(_0x1280c2(_0x185e5f))throw _0x185e5f[_0x143764(0x21a)];_0x182407[_0x143764(0x282)]({..._0x34959e[_0x2cb5eb],'undoState':_0x50e62c[_0x143764(0x20b)]['params'],'redoState':_0x185e5f[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x50e62c[_0x143764(0x102)],_0x2bce3a=_0x185e5f[_0x143764(0x102)];}this['_docStateChangeManagerService'][_0x143764(0x1aa)](_0x38c372,{'history':_0x2b9c09,'collaboration':_0x182407});}};re=nn([Ce(0x0,_0x2c28ac(_0x2ed78b)),Ce(0x1,_0x1064e2),Ce(0x2,_0x2c28ac(_0x4b06af))],re);var rn=Object[_0x1ea2c4(0x29a)],on=(_0x1d50e8,_0x19d252,_0x2ddb45,_0x351d13)=>{const _0x538650=_0x1ea2c4;for(var _0x2cc3a7=_0x351d13>0x1?void 0x0:_0x351d13?rn(_0x19d252,_0x2ddb45):_0x19d252,_0x291e71=_0x1d50e8[_0x538650(0x13d)]-0x1,_0x32d873;_0x291e71>=0x0;_0x291e71--)(_0x32d873=_0x1d50e8[_0x291e71])&&(_0x2cc3a7=_0x32d873(_0x2cc3a7)||_0x2cc3a7);return _0x2cc3a7;},tt=(_0x550626,_0x495571)=>(_0x337226,_0x56ce85)=>_0x495571(_0x337226,_0x56ce85,_0x550626);let oe=class{constructor(_0x314b4c,_0x5aee3e){const _0x4fdd64=_0x1ea2c4;this[_0x4fdd64(0x2ab)]=_0x314b4c,this[_0x4fdd64(0x11a)]=_0x5aee3e;}['transformSelections'](_0x3e8baa){const _0x1f59a0=_0x1ea2c4;var _0xef065b;const _0x2d7da5=this[_0x1f59a0(0x2ab)][_0x1f59a0(0x160)](_0x439c02),_0x152cf5=(_0xef065b=_0x2d7da5['getDocRanges']())!=null?_0xef065b:[];if(_0x152cf5[_0x1f59a0(0x13d)]===0x0)return;const _0x3a91ac=_0x3e8baa[_0x1f59a0(0x21d)],_0x3fd709=[{'id':_0x1f59a0(0x1ee),'params':{'unitId':_0x3a91ac,'actions':null,'textRanges':_0x152cf5}}],_0x5c7b0d=this[_0x1f59a0(0x11a)]['transformMutationsWithChangeset'](_0x3e8baa,_0x3fd709);if(!_0xb0953b(_0x5c7b0d))throw _0x5c7b0d[_0x1f59a0(0x21a)];const _0x31285c=_0x5c7b0d[_0x1f59a0(0x20b)][0x0][_0x1f59a0(0x116)]['textRanges'];Array['isArray'](_0x31285c)&&_0x31285c[_0x1f59a0(0x13d)]&&_0x2d7da5[_0x1f59a0(0x1af)](_0x31285c,{'unitId':_0x3a91ac,'subUnitId':_0x3a91ac},!0x1);}};oe=on([tt(0x0,_0x2c28ac(_0x2ed78b)),tt(0x1,_0x1064e2)],oe);var an=Object[_0x1ea2c4(0x29a)],cn=(_0xfbf903,_0x54b0f2,_0x260fe3,_0x300252)=>{const _0x3681aa=_0x1ea2c4;for(var _0x3cc4a7=_0x300252>0x1?void 0x0:_0x300252?an(_0x54b0f2,_0x260fe3):_0x54b0f2,_0x49c9b1=_0xfbf903[_0x3681aa(0x13d)]-0x1,_0x39f640;_0x49c9b1>=0x0;_0x49c9b1--)(_0x39f640=_0xfbf903[_0x49c9b1])&&(_0x3cc4a7=_0x39f640(_0x3cc4a7)||_0x3cc4a7);return _0x3cc4a7;},U=(_0x429134,_0x18ee8c)=>(_0x37386f,_0x115220)=>_0x18ee8c(_0x37386f,_0x115220,_0x429134);let ae=class extends _0x5e7e9c{constructor(_0x21bfe6,_0x49a95a,_0x42f461,_0x49a3df,_0x2adad8,_0x162f49,_0xe1f121,_0x306815){const _0x27546d=_0x1ea2c4;super(),_(this,_0x27546d(0x1ba),new _0x10a4a9(_0x2b26de[_0x27546d(0x15b)])),(this[_0x27546d(0x24d)]=_0x21bfe6,this['_collaborationController']=_0x49a95a,this[_0x27546d(0x169)]=_0x42f461,this[_0x27546d(0x176)]=_0x49a3df,this[_0x27546d(0x125)]=_0x2adad8,this[_0x27546d(0x1c4)]=_0x162f49,this[_0x27546d(0xf9)]=_0xe1f121,this[_0x27546d(0x149)]=_0x306815,this[_0x27546d(0x229)]());}[_0x1ea2c4(0x229)](){const _0x32e9a8=_0x1ea2c4;this[_0x32e9a8(0x1c6)](this['_collaborationController']['entityInit$'][_0x32e9a8(0x13c)](_0x3c28cf=>{const _0x1cea2a=_0x32e9a8,_0x39e6a6=this[_0x1cea2a(0x24d)]['docStateChange$'][_0x1cea2a(0x13c)](_0x34fa99=>{const _0x5ba332=_0x1cea2a;if(_0x34fa99==null)return;const {unitId:_0x53a626,redoState:_0x2f5dbc,commandId:_0x4803ec}=_0x34fa99;if(_0x53a626!==_0x3c28cf[_0x5ba332(0x21d)])return;const _0x2985ad={'id':_0x4803ec,'type':_0x1e0f44[_0x5ba332(0x2d2)],'params':{'unitId':_0x53a626,'actions':_0x2f5dbc[_0x5ba332(0x1a9)],'textRanges':null}};_0x3c28cf[_0x5ba332(0x225)](_0x2985ad);});if(_0x3c28cf['disposeWithMe'](_0x39e6a6),_0x3c28cf instanceof _0x4dd7d2){const _0x3fad86={'onTransformIME':_0x535f9d=>this['_docTransformIMECacheService'][_0x1cea2a(0xfa)](_0x535f9d),'onTransformState':_0x228e76=>this['_docTransformStateCacheService'][_0x1cea2a(0x1e8)](_0x228e76),'onTransformSelections':_0x151a32=>this[_0x1cea2a(0x125)]['transformSelections'](_0x151a32),'onSyncEditingCollabCursor':_0x3e0631=>this[_0x1cea2a(0x1c4)][_0x1cea2a(0x15d)](_0x3e0631),'onTransformRemoteChangesetByIMECache':_0x44738f=>this[_0x1cea2a(0x169)]['transformRemoteChangeset'](_0x44738f),'onTransformRemoteChangesetByStateCache':_0x24f95f=>this[_0x1cea2a(0x176)][_0x1cea2a(0x1d7)](_0x24f95f)};_0x3c28cf[_0x1cea2a(0x20e)](_0x3fad86);}}));}};ae=cn([U(0x0,_0x2c28ac(_0x4b06af)),U(0x1,_0x2c28ac(_0x23b738)),U(0x2,_0x2c28ac(ne)),U(0x3,_0x2c28ac(re)),U(0x4,_0x2c28ac(oe)),U(0x5,_0x2c28ac(He)),U(0x6,_0xa0ddb0),U(0x7,_0x2c28ac(_0x4a6cd3))],ae);var ln=Object[_0x1ea2c4(0x29a)],_n=(_0x2337cb,_0x123139,_0x5a2b0,_0x38a713)=>{const _0x3595b1=_0x1ea2c4;for(var _0xe05ad0=_0x38a713>0x1?void 0x0:_0x38a713?ln(_0x123139,_0x5a2b0):_0x123139,_0x3bf15c=_0x2337cb[_0x3595b1(0x13d)]-0x1,_0x337770;_0x3bf15c>=0x0;_0x3bf15c--)(_0x337770=_0x2337cb[_0x3bf15c])&&(_0xe05ad0=_0x337770(_0xe05ad0)||_0xe05ad0);return _0xe05ad0;},Ee=(_0x245f81,_0x5d5b13)=>(_0x4a1b33,_0x2be931)=>_0x5d5b13(_0x4a1b33,_0x2be931,_0x245f81);let we=class extends _0x5e7e9c{constructor(_0x802b41,_0x27e7e4,_0x49da73){const _0x7e0aeb=_0x1ea2c4;super(),_(this,_0x7e0aeb(0x2c2),new Map()),_(this,_0x7e0aeb(0x181),new Map()),_(this,_0x7e0aeb(0x246),!0x1),(this['_configService']=_0x802b41,this[_0x7e0aeb(0x178)]=_0x27e7e4,this['_revisionService']=_0x49da73);}[_0x1ea2c4(0x29b)](){this['_disabled']=!0x0;}[_0x1ea2c4(0x203)](){const _0x4465a3=_0x1ea2c4;this[_0x4465a3(0x246)]=!0x1;}get[_0x1ea2c4(0x220)](){const _0x448a92=_0x1ea2c4;return this[_0x448a92(0x181)];}[_0x1ea2c4(0x2ad)](){const _0x573b2c=_0x1ea2c4;this[_0x573b2c(0x255)]()[_0x573b2c(0x1df)](()=>super['dispose']());}async['loadOfflineData'](_0x2a4c13){const _0xf11c46=_0x1ea2c4;return this[_0xf11c46(0x246)]?null:this[_0xf11c46(0x178)][_0xf11c46(0x2bf)](_0xba75f3(_0x2a4c13));}async[_0x1ea2c4(0x1b4)](_0x2929ee,_0x318285){const _0x44b271=_0x1ea2c4;return!!this[_0x44b271(0x178)][_0x44b271(0x185)](_0x2929ee,_0x318285);}[_0x1ea2c4(0x278)](_0x4aa26e,_0x2db988,_0x826278,_0x86843a){const _0x454418=_0x1ea2c4,_0x28f481=this[_0x454418(0xf4)][_0x454418(0x29d)](_0x4aa26e);this[_0x454418(0x2c2)][_0x454418(0x19f)](_0x4aa26e,{'unitID':_0x4aa26e,'type':_0x2db988,'awaitingChangeset':_0x826278,'mutations':_0x86843a,'rev':_0x28f481}),this['_saveTaskMap'][_0x454418(0x1d3)](_0x4aa26e)||this['_scheduleSaving'](_0x4aa26e);}[_0x1ea2c4(0x109)](_0x17971b){const _0x279502=_0x1ea2c4,_0x3abf40=this['_getSaveTimeout']();_0x3abf40===0x0?this['_saveCache'](_0x17971b):this[_0x279502(0x181)][_0x279502(0x19f)](_0x17971b,setTimeout(()=>this[_0x279502(0x148)](_0x17971b),_0x3abf40));}['_getSaveTimeout'](){const _0xb921f5=_0x1ea2c4;var _0x22c396;return(_0x22c396=this[_0xb921f5(0x1c2)][_0xb921f5(0x26d)](_0xb57ae2))!=null?_0x22c396:_0x47642c;}[_0x1ea2c4(0x148)](_0xdcea61){const _0x4f5faa=_0x1ea2c4,_0xa90404=this[_0x4f5faa(0x181)][_0x4f5faa(0x160)](_0xdcea61);return _0xa90404!==void 0x0&&window[_0x4f5faa(0xec)](_0xa90404),this[_0x4f5faa(0x178)][_0x4f5faa(0x185)](_0xba75f3(_0xdcea61),this[_0x4f5faa(0x2c2)][_0x4f5faa(0x160)](_0xdcea61))['then'](()=>this[_0x4f5faa(0x181)][_0x4f5faa(0x2b0)](_0xdcea61));}async[_0x1ea2c4(0x255)](){const _0x5865a5=_0x1ea2c4,_0x3d2e17=[];this[_0x5865a5(0x181)][_0x5865a5(0x108)]((_0x16d987,_0x5e8b78)=>{const _0x550697=_0x5865a5;window['clearTimeout'](_0x16d987),_0x3d2e17[_0x550697(0x292)](this[_0x550697(0x148)](_0x5e8b78)[_0x550697(0x1df)](()=>{const _0x12f564=_0x550697;this[_0x12f564(0x181)][_0x12f564(0x2b0)](_0x5e8b78);}));}),await Promise['all'](_0x3d2e17);}};we=_n([Ee(0x0,_0x27f9c2),Ee(0x1,_0x69e3ca),Ee(0x2,_0x2c28ac(_0x101987))],we);class hn extends _0x15e0fe{constructor(){const _0x36a26c=_0x1ea2c4;super(),_(this,_0x36a26c(0x294)),this[_0x36a26c(0x294)]=_0xe1bcd6(window,_0x36a26c(0x1fa))[_0x36a26c(0x13f)](_0x4c6dcf(this[_0x36a26c(0x27e)]),_0xd67cdb(0x1),_0x3e61d7(void 0x0));}[_0x1ea2c4(0x1c8)](_0xcf764b,_0x55aa43,_0x41901e=!0x1){const _0x5eeb51=_0x1ea2c4,_0x21a406=new URL(window['location'][_0x5eeb51(0x23d)]);_0x21a406[_0x5eeb51(0x13a)][_0x5eeb51(0x19f)](_0xcf764b,_0x55aa43),_0x41901e?window[_0x5eeb51(0x135)][_0x5eeb51(0x129)]('','',_0x21a406['toString']()):window['history'][_0x5eeb51(0x253)]('','',_0x21a406[_0x5eeb51(0x195)]());}['removeParam'](_0x51d540,_0x3dadf7=!0x1){const _0x15f6a0=_0x1ea2c4,_0x3d3f28=new URL(window['location'][_0x15f6a0(0x23d)]);_0x3d3f28[_0x15f6a0(0x13a)]['delete'](_0x51d540),_0x3dadf7?window[_0x15f6a0(0x135)][_0x15f6a0(0x129)]('','',_0x3d3f28[_0x15f6a0(0x195)]()):window['history']['pushState']('','',_0x3d3f28['toString']());}['getParam'](_0x1d4b5b){const _0x39323c=_0x1ea2c4;var _0x4fd893;return(_0x4fd893=new URL(window[_0x39323c(0x297)][_0x39323c(0x23d)])['searchParams'][_0x39323c(0x160)](_0x1d4b5b))!=null?_0x4fd893:void 0x0;}}var un=Object[_0x1ea2c4(0x28b)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x14a035,_0x34c4ab,_0x3ea8e5)=>_0x34c4ab in _0x14a035?un(_0x14a035,_0x34c4ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea8e5}):_0x14a035[_0x34c4ab]=_0x3ea8e5,Sn=(_0x13957f,_0x28431c,_0x18a004,_0x1568ce)=>{const _0x347b4c=_0x1ea2c4;for(var _0x4f9c5a=_0x1568ce>0x1?void 0x0:_0x1568ce?dn(_0x28431c,_0x18a004):_0x28431c,_0x5e49aa=_0x13957f[_0x347b4c(0x13d)]-0x1,_0x3e9883;_0x5e49aa>=0x0;_0x5e49aa--)(_0x3e9883=_0x13957f[_0x5e49aa])&&(_0x4f9c5a=_0x3e9883(_0x4f9c5a)||_0x4f9c5a);return _0x4f9c5a;},Oe=(_0x248c2c,_0x490085)=>(_0x4f4aad,_0x629f24)=>_0x490085(_0x4f4aad,_0x629f24,_0x248c2c),mn=(_0x4c2530,_0x2c4995,_0x50a5be)=>fn(_0x4c2530,_0x2c4995+'',_0x50a5be);const gn=_0x1ea2c4(0x1a2);let Ae=class extends _0x47280b{constructor(_0x2cc691=et,_0x2a6eed,_0x3a3d25,_0x323ba1){const _0x33732f=_0x1ea2c4;super(),this[_0x33732f(0x2b5)]=_0x2cc691,this[_0x33732f(0xf6)]=_0x2a6eed,this['_injector']=_0x3a3d25,this[_0x33732f(0x1c2)]=_0x323ba1;const {..._0x4ae3b2}=_0x488cf5({},et,this[_0x33732f(0x2b5)]);this[_0x33732f(0x1c2)][_0x33732f(0x19a)](Zi,_0x4ae3b2);}['onStarting'](){const _0x4db686=_0x1ea2c4;this[_0x4db686(0x27a)](),this[_0x4db686(0x215)]();}[_0x1ea2c4(0x177)](){this['_registerRenderDependencies']();}[_0x1ea2c4(0x27a)](){const _0x2f98e9=_0x1ea2c4;var _0x4025e1;const _0x531a61=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x555e4a,{'useClass':_0x44eec7}],[_0x499d1f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4703ee(this[_0x2f98e9(0x2ab)],_0x1ed3b1(_0x531a61,(_0x4025e1=this[_0x2f98e9(0x2b5)])==null?void 0x0:_0x4025e1[_0x2f98e9(0x1ae)]));}[_0x1ea2c4(0x24f)](){const _0x3e4a8e=_0x1ea2c4;this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x1c3)],[Pe])),this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x296)],[Le]));}[_0x1ea2c4(0x215)](){const _0xcef0a5=_0x1ea2c4;_0x530746(this[_0xcef0a5(0x2ab)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ea2c4(0x182),gn),Ae=Sn([_0x65fe66(_0x3a6109),Oe(0x1,_0x29a565),Oe(0x2,_0x2c28ac(_0x2ed78b)),Oe(0x3,_0x27f9c2)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x5e3805,_0x1f37d3,_0x1beb17,_0x42a699)=>{const _0x2516a0=_0x1ea2c4;for(var _0x68745c=_0x42a699>0x1?void 0x0:_0x42a699?In(_0x1f37d3,_0x1beb17):_0x1f37d3,_0x5f1add=_0x5e3805[_0x2516a0(0x13d)]-0x1,_0x527b4c;_0x5f1add>=0x0;_0x5f1add--)(_0x527b4c=_0x5e3805[_0x5f1add])&&(_0x68745c=_0x527b4c(_0x68745c)||_0x68745c);return _0x68745c;},K=(_0x1f3316,_0x11536a)=>(_0x5ae2ff,_0x3d860b)=>_0x11536a(_0x5ae2ff,_0x3d860b,_0x1f3316);let st=class extends _0x1910af{constructor(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884){super(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884);}async['createSocket'](_0x54ea52){const _0x13270e=_0x1ea2c4,_0x4e28a0=await this[_0x13270e(0xe7)](),_0x479339=this['_createSocketURL'](_0x54ea52,_0x4e28a0);return this['_doCreateSocket'](_0x479339);}[_0x1ea2c4(0x1fc)](_0x3cf909,_0x5a92c7){const _0x3ad0e8=_0x1ea2c4,_0x22dfa0=typeof window>'u'?new URL(_0x3cf909):new URL(_0x3cf909,window[_0x3ad0e8(0x297)][_0x3ad0e8(0x24c)]);_0x22dfa0[_0x3ad0e8(0x13a)][_0x3ad0e8(0x19f)](_0x3ad0e8(0x105),_0x5a92c7);const _0x371525=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3ad0e8(0x297)][_0x3ad0e8(0x212)]);return _0x371525[_0x3ad0e8(0x160)]('runId')&&_0x22dfa0[_0x3ad0e8(0x13a)]['set']('runId',_0x371525[_0x3ad0e8(0x160)](_0x3ad0e8(0x219))),_0x22dfa0[_0x3ad0e8(0x195)]();}async[_0x1ea2c4(0xe7)](){const _0x4cb5da=_0x1ea2c4;var _0x1679b2,_0x57d81c,_0x25c848;const _0x5e8edb=this['_configService'][_0x4cb5da(0x26d)](_0x478b16),_0x523745=(_0x1679b2=_0x5e8edb==null?void 0x0:_0x5e8edb['wsSessionTicketUrl'])!=null?_0x1679b2:_0x2286bd;return(_0x25c848=(_0x57d81c=(await this['_httpService'][_0x4cb5da(0x160)](_0x523745,{'headers':{'Content-Type':_0x4cb5da(0xe8)}}))[_0x4cb5da(0x24b)])==null?void 0x0:_0x57d81c[_0x4cb5da(0x2b7)])!=null?_0x25c848:'';}};st=vn([K(0x0,_0x2c28ac(_0x2ed78b)),K(0x1,_0x2c28ac(_0x418212)),K(0x2,_0x27f9c2),K(0x3,_0x463af4),K(0x4,_0x470f49)],st);const it=0x7530,nt=_0x1ea2c4(0xd9);class jn extends _0x5e7e9c{constructor(){const _0x114000=_0x1ea2c4;super(),_(this,'_id',_0x3fb607()),_(this,_0x114000(0x1bc),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x114000(0x133),null),_(this,_0x114000(0x1d2),new Map()),_(this,_0x114000(0x1c7),new Map()),this['_init']();}[_0x1ea2c4(0x2ad)](){const _0x4a44f3=_0x1ea2c4;super[_0x4a44f3(0x2ad)](),this[_0x4a44f3(0x1d2)]['forEach']((_0x5ade59,_0x525e04)=>this[_0x4a44f3(0x15e)](_0x525e04)),this[_0x4a44f3(0x133)]&&window[_0x4a44f3(0x14d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4e83cf){const _0x30a128=_0x1ea2c4;return this[_0x30a128(0x1f5)](_0x4e83cf)[_0x30a128(0x13f)](_0x520fb6());}['editingUnit'](_0x449b78){const _0x334064=_0x1ea2c4;this['_selfUnitIDs'][_0x334064(0xdf)]===0x0&&this[_0x334064(0x137)](),this['_selfUnitIDs']['add'](_0x449b78),this[_0x334064(0x258)]({'type':0x0,'memberID':this[_0x334064(0xe6)],'unitIDs':[_0x449b78],'isForwarded':!0x1});}[_0x1ea2c4(0x124)](_0x1704ad){const _0x1b46cf=_0x1ea2c4;this['_selfUnitIDs'][_0x1b46cf(0x2b0)](_0x1704ad),this[_0x1b46cf(0x1bc)]['size']===0x0&&this[_0x1b46cf(0x133)]&&window[_0x1b46cf(0x14d)](this[_0x1b46cf(0x133)]);}[_0x1ea2c4(0x28a)](){const _0x46f4c5=_0x1ea2c4;this[_0x46f4c5(0x1c6)](_0x2d320c(_0xe1bcd6(window,_0x46f4c5(0xff))['subscribe'](_0x2c46bd=>{const _0x1b7482=_0x46f4c5;if(_0x2c46bd[_0x1b7482(0x239)]!==nt||!_0x2c46bd[_0x1b7482(0x1bf)])return;const _0x578001=JSON[_0x1b7482(0x2a3)](_0x2c46bd[_0x1b7482(0x1bf)]);this[_0x1b7482(0x111)](_0x578001);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x46f4c5(0xe6)],'unitIDs':Array['from'](this[_0x46f4c5(0x1bc)])}));}[_0x1ea2c4(0x111)](_0x5afbfb){const _0x368f2f=_0x1ea2c4;switch(_0x5afbfb[_0x368f2f(0x11d)]){case 0x0:this['_handleJoinEvent'](_0x5afbfb);break;case 0x1:this[_0x368f2f(0x284)](_0x5afbfb);break;case 0x2:this[_0x368f2f(0xde)](_0x5afbfb);break;}}[_0x1ea2c4(0x293)](_0x21029c){const _0x3cfa6b=_0x1ea2c4,{unitIDs:_0x5030eb,memberID:_0x4663da,isForwarded:_0x2c4f4e}=_0x21029c;_0x5030eb[_0x3cfa6b(0x108)](_0x3f0815=>{const _0x3217ee=_0x3cfa6b;if(!_0x2c4f4e&&this[_0x3217ee(0x179)]['has'](_0x3f0815)&&this[_0x3217ee(0x1f5)](_0x3f0815)['next'](_0x59f7ec['OTHER_CLIENTS_EDITING']),!this[_0x3217ee(0x179)]['has'](_0x3f0815)||!this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)['has'](_0x4663da)){const _0x4aa1f4=this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)||new Set();_0x4aa1f4[_0x3217ee(0xd4)](_0x4663da),this['_unitOnClients']['set'](_0x3f0815,_0x4aa1f4),this[_0x3217ee(0x16a)](_0x4663da);}}),_0x2c4f4e||this[_0x3cfa6b(0x258)]({'type':0x0,'memberID':this[_0x3cfa6b(0xe6)],'unitIDs':[...this[_0x3cfa6b(0x1bc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xa88158){const _0x39077e=_0x1ea2c4;this[_0x39077e(0x15e)](_0xa88158);const _0x30fb59=window[_0x39077e(0x230)](()=>{this['_unitOnClients']['forEach'](_0x344d19=>{const _0x573de6=_0x3e8b;_0x344d19[_0x573de6(0x2b0)](_0xa88158);});},it*0x2);this[_0x39077e(0x1d2)]['set'](_0xa88158,_0x30fb59);}['_removeClearOtherTimer'](_0x5e2ad0){const _0x20486e=_0x1ea2c4;if(this[_0x20486e(0x1d2)]['has'](_0x5e2ad0)){const _0x6d08d5=this['_clearOtherTimers'][_0x20486e(0x160)](_0x5e2ad0);_0x6d08d5&&window[_0x20486e(0xec)](_0x6d08d5),this[_0x20486e(0x1d2)][_0x20486e(0x19f)](_0x5e2ad0,null);}}[_0x1ea2c4(0x284)](_0x3ebce1){const _0x336d02=_0x1ea2c4,{memberID:_0x1aef5f,unitIDs:_0x2adbf4}=_0x3ebce1;_0x2adbf4[_0x336d02(0x108)](_0x25f1eb=>{const _0x29ab63=_0x336d02;var _0x45b851;const _0x93418a=this['_unitOnClients']['get'](_0x25f1eb);_0x93418a&&(_0x93418a[_0x29ab63(0x2b0)](_0x1aef5f),(_0x45b851=this[_0x29ab63(0x1f5)](_0x25f1eb))==null||_0x45b851[_0x29ab63(0xf3)](_0x93418a[_0x29ab63(0xdf)]===0x0?_0x59f7ec[_0x29ab63(0x281)]:_0x59f7ec[_0x29ab63(0x2d0)]));}),this['_removeClearOtherTimer'](_0x1aef5f);}[_0x1ea2c4(0xde)](_0x462c2f){const _0x13e3a3=_0x1ea2c4;this[_0x13e3a3(0x16a)](_0x462c2f[_0x13e3a3(0x2a7)]);}[_0x1ea2c4(0x258)](_0x6df235){const _0x38f548=_0x1ea2c4;localStorage['setItem'](nt,JSON[_0x38f548(0xd2)](_0x6df235));}['_scheduleHeartbeat'](){const _0x5291da=_0x1ea2c4;this[_0x5291da(0x133)]=window['setInterval'](()=>{const _0x3edade=_0x5291da;this[_0x3edade(0x258)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x883e38){const _0x55d77d=_0x1ea2c4;return this[_0x55d77d(0x1c7)]['has'](_0x883e38)||this[_0x55d77d(0x1c7)][_0x55d77d(0x19f)](_0x883e38,new _0x10a4a9(_0x59f7ec['NO_OTHER_CLIENTS_EDITING'])),this[_0x55d77d(0x1c7)][_0x55d77d(0x160)](_0x883e38);}}function _0x3e8b(_0x197f61,_0x5da11c){const _0x242c60=_0x242c();return _0x3e8b=function(_0x3e8b78,_0x4ace9a){_0x3e8b78=_0x3e8b78-0xcf;let _0x31569c=_0x242c60[_0x3e8b78];return _0x31569c;},_0x3e8b(_0x197f61,_0x5da11c);}var Mt=(_0x1e55a9=>(_0x1e55a9[_0x1e55a9['UNDEFINED']=0x0]=_0x1ea2c4(0x27d),_0x1e55a9[_0x1e55a9['OK']=0x1]='OK',_0x1e55a9[_0x1e55a9['INTERNAL_ERROR']=0x2]=_0x1ea2c4(0x139),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a3)]=0x3]=_0x1ea2c4(0x1a3),_0x1e55a9[_0x1e55a9['NOT_FOUND']=0x4]=_0x1ea2c4(0x1b9),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27c)]=0x5]=_0x1ea2c4(0x27c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27b)]=0x6]=_0x1ea2c4(0x27b),_0x1e55a9[_0x1e55a9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1e55a9[_0x1e55a9['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x132)]=0x9]=_0x1ea2c4(0x132),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27f)]=0xa]=_0x1ea2c4(0x27f),_0x1e55a9[_0x1e55a9['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0xee)]=0x1771]=_0x1ea2c4(0xee),_0x1e55a9[_0x1e55a9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1ea2c4(0xf0),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x143)]=0x1773]=_0x1ea2c4(0x143),_0x1e55a9[_0x1e55a9['APPLY_REJECT']=0x1b59]=_0x1ea2c4(0xf1),_0x1e55a9[_0x1e55a9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1ea2c4(0x114),_0x1e55a9[_0x1e55a9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ea2c4(0x110),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x20c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x226)]=0x1b5d]=_0x1ea2c4(0x226),_0x1e55a9[_0x1e55a9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ea2c4(0xcf),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x214)]=0x2329]=_0x1ea2c4(0x214),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x228)]=0x232a]=_0x1ea2c4(0x228),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x120)]=0x232c]=_0x1ea2c4(0x120),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2a6)]=0x232d]=_0x1ea2c4(0x2a6),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x248)]=0x2711]=_0x1ea2c4(0x248),_0x1e55a9[_0x1e55a9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1ea2c4(0x233),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x144)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x275)]=0x2714]=_0x1ea2c4(0x275),_0x1e55a9[_0x1e55a9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ac)]=0x271b]=_0x1ea2c4(0x1ac),_0x1e55a9[_0x1e55a9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ea2c4(0x15c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1b7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x240)]=0x271e]=_0x1ea2c4(0x240),_0x1e55a9[_0x1e55a9['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x26c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x164)]=0x2ee1]=_0x1ea2c4(0x164),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x202)]=0x2ee2]=_0x1ea2c4(0x202),_0x1e55a9[_0x1e55a9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ea2c4(0xe4),_0x1e55a9[_0x1e55a9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1ea2c4(0x289),_0x1e55a9[_0x1e55a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ec)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x269)]=0x32cb]=_0x1ea2c4(0x269),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x23e)]=-0x1]=_0x1ea2c4(0x23e),_0x1e55a9))(Mt||{}),pn=Object[_0x1ea2c4(0x29a)],Cn=(_0x2e06f4,_0x38235c,_0x3de329,_0x564f5d)=>{const _0x104afe=_0x1ea2c4;for(var _0xb0c273=_0x564f5d>0x1?void 0x0:_0x564f5d?pn(_0x38235c,_0x3de329):_0x38235c,_0x4c8e9d=_0x2e06f4[_0x104afe(0x13d)]-0x1,_0x550704;_0x4c8e9d>=0x0;_0x4c8e9d--)(_0x550704=_0x2e06f4[_0x4c8e9d])&&(_0xb0c273=_0x550704(_0xb0c273)||_0xb0c273);return _0xb0c273;},be=(_0x4dcb01,_0x280576)=>(_0x1cce7d,_0x425855)=>_0x280576(_0x1cce7d,_0x425855,_0x4dcb01);let rt=class extends _0x5e7e9c{constructor(_0x4c6952,_0x476f52,_0x593821){const _0x237eff=_0x1ea2c4;super(),this[_0x237eff(0x15f)]=_0x4c6952,this[_0x237eff(0x272)]=_0x476f52,this[_0x237eff(0x1c2)]=_0x593821;}async[_0x1ea2c4(0x16c)](_0x28b5fd,_0x50fca8,_0x328b6f,..._0x47cb68){const _0x313573=_0x1ea2c4;var _0x3c8101,_0x49859f,_0x521703,_0x600c34;const _0x56e826=this['_instanceService'][_0x313573(0x11e)]();if(!_0x56e826)throw new Error(_0x313573(0x184));const _0x4e16fe=((_0x3c8101=this[_0x313573(0x1c2)][_0x313573(0x26d)](_0x28ed06))!=null?_0x3c8101:_0x5cdf72)+'/'+_0x28b5fd+_0x313573(0x14f)+_0x50fca8,_0x16c611=new URL(window[_0x313573(0x297)]['href']),_0x46b5be={'scriptId':_0x28b5fd,'runId':(_0x49859f=_0x16c611[_0x313573(0x13a)]['get'](_0x313573(0x219)))!=null?_0x49859f:'','function':_0x50fca8,'unitId':_0x56e826[_0x313573(0x2b3)](),'argsOfFunction':JSON[_0x313573(0xd2)](_0x47cb68),'invokeId':(_0x521703=_0x328b6f['invokeId'])!=null?_0x521703:'','executionId':(_0x600c34=_0x328b6f[_0x313573(0x11f)])!=null?_0x600c34:''};try{const _0x5cde6c=await this[_0x313573(0x272)][_0x313573(0x171)](_0x4e16fe,{'body':_0x46b5be});return _0x5cde6c[_0x313573(0x24b)]['error']&&_0x5cde6c[_0x313573(0x24b)][_0x313573(0x21a)][_0x313573(0x25c)]!==Mt['OK']?'Failed':_0x5cde6c[_0x313573(0x24b)][_0x313573(0xe2)];}catch{return _0x313573(0x1bd);}}};rt=Cn([be(0x0,_0x610794),be(0x1,_0x2c28ac(_0x418212)),be(0x2,_0x27f9c2)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x3a3e(){const _0x2556cc=['63mySRuY','Authentication\x20Error','811646ctRCjq','50AeWkOl','Synced','146145rjlUfa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','78yqPilo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','348wreCUW','3716586ZGSoAd','Syncing\x20server\x20data...','384enGUqp','22440696WBvNGg','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','106qZlAIk','78856GVHViN','7918qPRQhs','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict'];_0x3a3e=function(){return _0x2556cc;};return _0x3a3e();}const _0x152b3f=_0x4b5c;(function(_0x5e651e,_0x11b6ed){const _0x54e2a7=_0x4b5c,_0x4d8519=_0x5e651e();while(!![]){try{const _0x259933=parseInt(_0x54e2a7(0x207))/0x1*(-parseInt(_0x54e2a7(0x205))/0x2)+-parseInt(_0x54e2a7(0x1fb))/0x3*(-parseInt(_0x54e2a7(0x1fe))/0x4)+parseInt(_0x54e2a7(0x1f6))/0x5*(-parseInt(_0x54e2a7(0x1f8))/0x6)+-parseInt(_0x54e2a7(0x1f1))/0x7*(parseInt(_0x54e2a7(0x206))/0x8)+-parseInt(_0x54e2a7(0x1fc))/0x9+-parseInt(_0x54e2a7(0x1f4))/0xa*(parseInt(_0x54e2a7(0x1f3))/0xb)+parseInt(_0x54e2a7(0x1ff))/0xc;if(_0x259933===_0x11b6ed)break;else _0x4d8519['push'](_0x4d8519['shift']());}catch(_0x2df3c0){_0x4d8519['push'](_0x4d8519['shift']());}}}(_0x3a3e,0x33816));function _0x4b5c(_0x131ace,_0x37f3a2){const _0x3a3ebe=_0x3a3e();return _0x4b5c=function(_0x4b5c37,_0x2168cb){_0x4b5c37=_0x4b5c37-0x1ee;let _0x15a892=_0x3a3ebe[_0x4b5c37];return _0x15a892;},_0x4b5c(_0x131ace,_0x37f3a2);}const e={'collab-client':{'tooltip':{'reconnect':_0x152b3f(0x1ee)}},'collabStatus':{'fetchMiss':_0x152b3f(0x1fd),'conflict':_0x152b3f(0x204),'notCollab':'Local\x20file','synced':_0x152b3f(0x1f5),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x152b3f(0x201),'will-retry':_0x152b3f(0x1fa),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x152b3f(0x1ef)},'conflict':{'title':_0x152b3f(0x1f0),'content':_0x152b3f(0x202)},'permission':{'title':_0x152b3f(0x1f2),'content':_0x152b3f(0x200)},'collaboration':{'single-unit':{'warning':_0x152b3f(0x1f7)},'closeRoom':_0x152b3f(0x203)},'auth':{'needGotoLoginAlert':_0x152b3f(0x1f9)}};export{e as default};
1
+ function _0xe5e5(){const _0x39fd59=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','23057lOHKax','91NijrRS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3056510JDvvPf','23196nFuhhf','1620orsDaz','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','321939uxXUnW','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','18766ncPOhe','1926636vbYNDn','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\x20Conflict','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','39RwlSMx','22irXqfp','Syncing\x20server\x20data...','107148CsUAmY','Authentication\x20Error','32jpWCuo','Synced','Edit\x20conflicts'];_0xe5e5=function(){return _0x39fd59;};return _0xe5e5();}const _0x357051=_0x2b33;(function(_0x41230b,_0x2d90b0){const _0x965bc2=_0x2b33,_0x5f37b8=_0x41230b();while(!![]){try{const _0x28d043=-parseInt(_0x965bc2(0xcb))/0x1*(parseInt(_0x965bc2(0xc3))/0x2)+parseInt(_0x965bc2(0xc2))/0x3*(parseInt(_0x965bc2(0xcf))/0x4)+parseInt(_0x965bc2(0xce))/0x5+parseInt(_0x965bc2(0xc5))/0x6*(parseInt(_0x965bc2(0xcc))/0x7)+-parseInt(_0x965bc2(0xc7))/0x8*(parseInt(_0x965bc2(0xb9))/0x9)+parseInt(_0x965bc2(0xd0))/0xa*(-parseInt(_0x965bc2(0xbb))/0xb)+parseInt(_0x965bc2(0xbc))/0xc;if(_0x28d043===_0x2d90b0)break;else _0x5f37b8['push'](_0x5f37b8['shift']());}catch(_0x5131d5){_0x5f37b8['push'](_0x5f37b8['shift']());}}}(_0xe5e5,0x63329));function _0x2b33(_0x15de2d,_0x41638e){const _0xe5e58c=_0xe5e5();return _0x2b33=function(_0x2b336a,_0x474c9a){_0x2b336a=_0x2b336a-0xb8;let _0x24fd03=_0xe5e58c[_0x2b336a];return _0x24fd03;},_0x2b33(_0x15de2d,_0x41638e);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x357051(0xc4),'conflict':_0x357051(0xc9),'notCollab':_0x357051(0xbf),'synced':_0x357051(0xc8),'syncing':'Syncing...','offline':_0x357051(0xb8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x357051(0xc0),'collaboration-timeout':_0x357051(0xca)},'conflict':{'title':_0x357051(0xbe),'content':_0x357051(0xd1)},'permission':{'title':_0x357051(0xc6),'content':_0x357051(0xbd)},'collaboration':{'single-unit':{'warning':_0x357051(0xc1)},'closeRoom':_0x357051(0xba)},'auth':{'needGotoLoginAlert':_0x357051(0xcd)}};export{e as default};
@@ -1 +1 @@
1
- const _0x6a87be=_0xcaec;(function(_0x4dc9ab,_0x22ebd4){const _0x29de53=_0xcaec,_0x43b02b=_0x4dc9ab();while(!![]){try{const _0x12a25c=parseInt(_0x29de53(0x1e0))/0x1+parseInt(_0x29de53(0x1ec))/0x2*(parseInt(_0x29de53(0x1e7))/0x3)+-parseInt(_0x29de53(0x1f2))/0x4*(-parseInt(_0x29de53(0x1f3))/0x5)+-parseInt(_0x29de53(0x1e9))/0x6*(parseInt(_0x29de53(0x1df))/0x7)+-parseInt(_0x29de53(0x1e6))/0x8+parseInt(_0x29de53(0x1ea))/0x9+parseInt(_0x29de53(0x1e4))/0xa*(-parseInt(_0x29de53(0x1f0))/0xb);if(_0x12a25c===_0x22ebd4)break;else _0x43b02b['push'](_0x43b02b['shift']());}catch(_0x496d2c){_0x43b02b['push'](_0x43b02b['shift']());}}}(_0xc410,0x2d481));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x6a87be(0x1ef),'notCollab':_0x6a87be(0x1ee),'synced':_0x6a87be(0x1e3),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x6a87be(0x1e5)},'session':{'connection-failed':_0x6a87be(0x1e8),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x6a87be(0x1eb)},'conflict':{'title':_0x6a87be(0x1ed),'content':_0x6a87be(0x1f1)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x6a87be(0x1e1)},'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':_0x6a87be(0x1f4)},'auth':{'needGotoLoginAlert':_0x6a87be(0x1e2)}};function _0xcaec(_0x1faa1c,_0x9df42c){const _0xc41036=_0xc410();return _0xcaec=function(_0xcaec33,_0x1dd7f2){_0xcaec33=_0xcaec33-0x1df;let _0x4e827b=_0xc41036[_0xcaec33];return _0x4e827b;},_0xcaec(_0x1faa1c,_0x9df42c);}export{o as default};function _0xc410(){const _0x38aa58=['2462859XDsUki','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','566VWNwFX','تداخل\x20همکاری','پرونده\x20محلی','تداخل\x20ویرایش','9933ihqeEO','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2116HoeDpw','1735KFDprE','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','831537hDqkXR','366430SNADDZ','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','3390etkrvF','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','649920hgiRbw','1119EqBxgG','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','18dVBHMA'];_0xc410=function(){return _0x38aa58;};return _0xc410();}
1
+ function _0x2134(){const _0x3074d9=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','1671252sQNwyz','1859680qezQld','1658790NDCWuj','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','153mCfMJG','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','564304tFEWVM','3980hymkNS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','همگام\x20سازی','پرونده\x20محلی','خطای\x20اعتبارسنجی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','7016OivOMK','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','7805dCfQAv','884750OrJEaK','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','244VNndGe'];_0x2134=function(){return _0x3074d9;};return _0x2134();}const _0x166229=_0x1559;function _0x1559(_0x43416a,_0x5497d9){const _0x2134ff=_0x2134();return _0x1559=function(_0x15596d,_0x48ab94){_0x15596d=_0x15596d-0xb1;let _0x1a122d=_0x2134ff[_0x15596d];return _0x1a122d;},_0x1559(_0x43416a,_0x5497d9);}(function(_0x17ec9a,_0xce4a5d){const _0x2143c2=_0x1559,_0x5021d6=_0x17ec9a();while(!![]){try{const _0x3efe14=-parseInt(_0x2143c2(0xc1))/0x1*(-parseInt(_0x2143c2(0xb8))/0x2)+parseInt(_0x2143c2(0xbc))/0x3+parseInt(_0x2143c2(0xc0))/0x4+-parseInt(_0x2143c2(0xbb))/0x5+parseInt(_0x2143c2(0xba))/0x6+parseInt(_0x2143c2(0xb5))/0x7*(parseInt(_0x2143c2(0xb1))/0x8)+parseInt(_0x2143c2(0xbe))/0x9*(-parseInt(_0x2143c2(0xb6))/0xa);if(_0x3efe14===_0xce4a5d)break;else _0x5021d6['push'](_0x5021d6['shift']());}catch(_0x549225){_0x5021d6['push'](_0x5021d6['shift']());}}}(_0x2134,0x88b50));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x166229(0xc2),'conflict':_0x166229(0xb4),'notCollab':_0x166229(0xc5),'synced':_0x166229(0xc4),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x166229(0xbd),'will-retry':_0x166229(0xb3),'room-full':_0x166229(0xc7),'collaboration-timeout':_0x166229(0xb9)},'conflict':{'title':'تداخل\x20همکاری','content':_0x166229(0xb2)},'permission':{'title':_0x166229(0xc6),'content':_0x166229(0xc3)},'collaboration':{'single-unit':{'warning':_0x166229(0xb7)},'closeRoom':_0x166229(0xbf)},'auth':{'needGotoLoginAlert':_0x166229(0xc8)}};export{o as default};