@univerjs-pro/collaboration-client-ui 0.10.1 → 0.10.2-nightly.202508071209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +5 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x523cc0=_0xde4b;(function(_0x53d570,_0x23e5c6){const _0x5514a7=_0xde4b,_0x581e35=_0x53d570();while(!![]){try{const _0x4a4d5e=-parseInt(_0x5514a7(0x221))/0x1*(parseInt(_0x5514a7(0x25e))/0x2)+-parseInt(_0x5514a7(0x36a))/0x3+parseInt(_0x5514a7(0x187))/0x4*(parseInt(_0x5514a7(0x1c4))/0x5)+-parseInt(_0x5514a7(0x207))/0x6*(-parseInt(_0x5514a7(0x31b))/0x7)+parseInt(_0x5514a7(0x1cb))/0x8*(-parseInt(_0x5514a7(0x243))/0x9)+-parseInt(_0x5514a7(0x24e))/0xa+parseInt(_0x5514a7(0x363))/0xb;if(_0x4a4d5e===_0x23e5c6)break;else _0x581e35['push'](_0x581e35['shift']());}catch(_0x8d8f62){_0x581e35['push'](_0x581e35['shift']());}}}(_0x40fc,0xc520c));var xt=Object['defineProperty'],Bt=(_0x2f32a9,_0x23d04e,_0xf35d30)=>_0x23d04e in _0x2f32a9?xt(_0x2f32a9,_0x23d04e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf35d30}):_0x2f32a9[_0x23d04e]=_0xf35d30,_=(_0x27198e,_0xb40fe8,_0x438073)=>Bt(_0x27198e,typeof _0xb40fe8!=_0x523cc0(0x194)?_0xb40fe8+'':_0xb40fe8,_0x438073);import{MemberService as _0x2acc1a,SessionStatus as _0x43a474,CollaborationSessionService as _0x69028c,CollaborationStatus as _0xd94271,CollaborationController as _0xd0f008,ILocalCacheService as _0xdbe57e,CollaborationUIEventService as _0x3b2d36,CollaborationUIEventId as _0x5a62db,DataLoaderService as _0x35fed9,DocCollaborationEntity as _0x7ab8e3,getLocalCacheKey as _0xccfab1,LOCAL_CACHE_INTERVAL as _0x30944d,LOCAL_CACHE_INTERVAL_KEY as _0x10a9f1,UniverCollaborationClientPlugin as _0x1b2ecd,CollaborationSocketService as _0x202441,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x48c40a,DEFAULT_WS_SESSION_TICKET_URL as _0x469a54,UnitStatus as _0x1070de,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31095e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f1758}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x250310,Disposable as _0x194f9f,DOC_RANGE_TYPE as _0x597991,Inject as _0x580399,Injector as _0x4c907f,IUniverInstanceService as _0x2302ae,ICommandService as _0x51013e,debounce as _0x349ab2,Rectangle as _0x272c87,DisposableCollection as _0x32ea59,toDisposable as _0x330c70,UniverInstanceType as _0x4e8f3d,generateRandomId as _0xabdb9a,COLORS as _0x10d7c9,ColorKit as _0x90eef7,ThemeService as _0x2974b7,fromEventSubject as _0x1c3817,LocaleService as _0x531c26,createIdentifier as _0x475a6e,ILogService as _0x4c2c44,Optional as _0xcce982,Workbook as _0x4bef46,Tools as _0x32180a,CommandType as _0xde50b7,IConfigService as _0x3e9cdd,ILocalStorageService as _0x7d85eb,DependentOn as _0x3f9a21,Plugin as _0x1e00b1,merge as _0x2692fd,registerDependencies as _0x4a5b8c,mergeOverrideWithDependencies as _0xcce9f5,touchDependencies as _0xd2cd02}from'@univerjs/core';import{Shape as _0x5a7599,Rect as _0x12f909,getColor as _0x409d3e,RegularPolygon as _0x5979f2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x43ed7c,Vector2 as _0x4e5bff,SHEET_VIEWPORT_KEY as _0x17ad04,IRenderManagerService as _0x51e1fa}from'@univerjs/engine-render';import{ISocketService as _0xc9a6,WebSocketService as _0x40c4c6,HTTPService as _0x50b86c}from'@univerjs/network';import{IDocClipboardService as _0x3db46d,NodePositionConvertToCursor as _0xfdeb82,NodePositionConvertToRectRange as _0x3f42db,TEXT_RANGE_LAYER_INDEX as _0xc8f6da,SetDocZoomRatioOperation as _0x2507f0,DocIMEInputManagerService as _0x2d0939,DocStateChangeManagerService as _0x5ef5f1}from'@univerjs/docs-ui';import{IImageIoService as _0x11f810}from'@univerjs/drawing';import{BehaviorSubject as _0x576a38,debounceTime as _0xed01e6,takeUntil as _0x14b24a,Subject as _0x55daec,filter as _0x5645c0,switchMap as _0x3578a5,merge as _0x18c8a3,combineLatest as _0x5ac57b,of as _0x384327,fromEvent as _0x32c97b,shareReplay as _0x1de38f,mapTo as _0xee19f8,distinctUntilChanged as _0xe9047e}from'rxjs';import{ITransformService as _0x1c1b18,CollaborationEvent as _0x4c0560,isTransformMutationFailure as _0x5bbade,isTransformMutationsWithChangesetSuccess as _0x3e8902,RevisionService as _0x7d8534,ISnapshotServerService as _0x25762a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x164804,RichTextEditingMutation as _0x832ad4,DocSelectionManagerService as _0x25c659,DocSkeletonManagerService as _0x8e2a0e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x26fb37,serializeRangeWithSheet as _0xb12619}from'@univerjs/engine-formula';import{RefRangeService as _0x266747,SetSelectionsOperation as _0x41a69a,SheetsSelectionsService as _0x314f30,EffectRefRangId as _0x20b64a,handleIRemoveRow as _0x3e1a4c,handleIRemoveCol as _0x15c330,handleMoveRange as _0x2329af,handleInsertRow as _0x5cf6f3,handleInsertRangeMoveRight as _0x310062,handleInsertRangeMoveDown as _0x362706,handleInsertCol as _0x4fd146,handleDeleteRangeMoveUp as _0x1f2d06,handleDeleteRangeMoveLeft as _0x4e568e,runRefRangeMutations as _0x5eb068,SetWorksheetActivateCommand as _0x2864a5}from'@univerjs/sheets';import{map as _0x3a3a0a,filter as _0x3cfc55,throttleTime as _0x3a640c,takeUntil as _0x5893a2,switchMap as _0x265f54}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3af8af,getCoordByCell as _0x471e08,getSheetObject as _0x1a8701}from'@univerjs/sheets-ui';import{jsx as _0x85015b,jsxs as _0x34d18d}from'react/jsx-runtime';import{useObservable as _0x4355ac,useDependency as _0x4c0f39,IUIPartsService as _0x31fa2b,BuiltInUIPart as _0x2302b6,connectInjector as _0xb0a9ab,IBeforeCloseService as _0x1f9d51,IMessageService as _0x9d999b,INotificationService as _0xcfe7ba}from'@univerjs/ui';import{Tooltip as _0x5603c1,clsx as _0x44bc42,MessageType as _0x539cb1}from'@univerjs/design';import{forwardRef as _0x2b4648,useRef as _0x39e6cb,createElement as _0x10f343,useCallback as _0x42fed3}from'react';import{IRemoteInstanceService as _0x31498c}from'@univerjs/rpc';var ci=Object[_0x523cc0(0x1dd)],li=(_0x3db23d,_0x4ba783,_0x462009,_0x5cebe4)=>{for(var _0x3b052a=_0x5cebe4>0x1?void 0x0:_0x5cebe4?ci(_0x4ba783,_0x462009):_0x4ba783,_0x51304f=_0x3db23d['length']-0x1,_0x53e195;_0x51304f>=0x0;_0x51304f--)(_0x53e195=_0x3db23d[_0x51304f])&&(_0x3b052a=_0x53e195(_0x3b052a)||_0x3b052a);return _0x3b052a;},Je=(_0x3be226,_0x28374b)=>(_0x5737b6,_0x2a83bc)=>_0x28374b(_0x5737b6,_0x2a83bc,_0x3be226);let Ne=class extends _0x250310{constructor(_0x2fd0cc,_0x19cff5){const _0x1c688c=_0x523cc0;super(),this[_0x1c688c(0x1ea)]=_0x2fd0cc,this[_0x1c688c(0x245)]=_0x19cff5,this[_0x1c688c(0x2eb)]();}[_0x523cc0(0x2eb)](){const _0xdde070=_0x523cc0,_0x3535c5=this;this[_0xdde070(0x25f)](this[_0xdde070(0x1ea)][_0xdde070(0x2bb)]({'onBeforePasteImage':async _0x3e79aa=>{const _0x734303=_0xdde070,_0x1816fb=await _0x3535c5[_0x734303(0x245)][_0x734303(0x262)](_0x3e79aa);return _0x1816fb?{'source':_0x1816fb[_0x734303(0x241)],'imageSourceType':_0x1816fb['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x3db46d),Je(0x1,_0x11f810)],Ne);const Ze=[_0x523cc0(0x1c2),_0x523cc0(0x230),_0x523cc0(0x293),_0x523cc0(0x2e6),_0x523cc0(0x1ff),'yellow.400'];class ke extends _0x194f9f{constructor(){const _0x994113=_0x523cc0;super(...arguments),_(this,_0x994113(0x371),new Map()),_(this,_0x994113(0x284),0x0);}[_0x523cc0(0x33a)](_0x5c90b9){const _0xf42b56=_0x523cc0;if(this[_0xf42b56(0x371)][_0xf42b56(0x236)](_0x5c90b9))return this['_assignedColors'][_0xf42b56(0x37c)](_0x5c90b9);const _0x3da467=Ze[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0xf42b56(0x2e7)],this[_0xf42b56(0x371)][_0xf42b56(0x36f)](_0x5c90b9,_0x3da467),_0x3da467;}}function Rt(_0x3d8cf2){const _0x45451a=_0x523cc0;let _0x225392='';for(const _0x364af1 of _0x3d8cf2){const {startOffset:_0x466e5,endOffset:_0x32d84b,isActive:_0x45dd31,rangeType:_0x12876b,segmentId:_0x243da4,segmentPage:_0x54b68c}=_0x364af1;_0x225392[_0x45451a(0x2e7)]&&(_0x225392+=','),_0x225392+=_0x466e5+':'+_0x32d84b+':'+(_0x45dd31?'1':'0')+':'+_0x12876b+':'+_0x243da4+':'+_0x54b68c;}return _0x225392;}function _i(_0xfc1829){const _0x55b400=_0x523cc0,_0x47f710=_0xfc1829['split'](','),_0x57d459=[];for(const _0x23d1eb of _0x47f710){const [_0x1def69,_0xd25be7,_0x2ebcee,_0x1da9e6,_0x4bf671,_0x1c829d]=_0x23d1eb['split'](':');_0x57d459['push']({'startOffset':Number(_0x1def69),'endOffset':Number(_0xd25be7),'collapsed':_0x1def69===_0xd25be7,'isActive':_0x2ebcee==='1','rangeType':_0x1da9e6===_0x597991[_0x55b400(0x1d2)]?_0x597991[_0x55b400(0x1d2)]:_0x597991[_0x55b400(0x2e9)],'segmentId':typeof _0x4bf671==_0x55b400(0x242)?String(_0x4bf671):'','segmentPage':Number(_0x1c829d!=null?_0x1c829d:-0x1)});}return _0x57d459[_0x55b400(0x257)](_0x226e50=>_0x226e50[_0x55b400(0x222)])||(_0x57d459[0x0][_0x55b400(0x222)]=!0x0),_0x57d459;}class He extends _0x250310{constructor(){const _0x222746=_0x523cc0;super(...arguments),_(this,'_collabCursorState$',new _0x576a38(null)),_(this,_0x222746(0x189),this['_collabCursorState$']['asObservable']());}[_0x523cc0(0x19b)](_0xdb20c2){const _0x3e1160=_0x523cc0,{unitID:_0x105e3a,memberID:_0x3dd277,textRanges:_0x33ce08}=_0xdb20c2,_0x518f4b=Rt(_0x33ce08);if(_0x518f4b==='')return;const _0x4e5818={'unitID':_0x105e3a,'memberID':_0x3dd277,'selection':_0x518f4b};this[_0x3e1160(0x298)][_0x3e1160(0x2f5)](_0x4e5818);}}var hi=Object[_0x523cc0(0x1dd)],ui=(_0x1afb99,_0x3b87eb,_0x3dca16,_0x2f5012)=>{const _0x5079be=_0x523cc0;for(var _0x4cc553=_0x2f5012>0x1?void 0x0:_0x2f5012?hi(_0x3b87eb,_0x3dca16):_0x3b87eb,_0x20a3f8=_0x1afb99[_0x5079be(0x2e7)]-0x1,_0x29b411;_0x20a3f8>=0x0;_0x20a3f8--)(_0x29b411=_0x1afb99[_0x20a3f8])&&(_0x4cc553=_0x29b411(_0x4cc553)||_0x4cc553);return _0x4cc553;},P=(_0xbb3f67,_0xd1db6a)=>(_0x5b38f2,_0xd0bd2d)=>_0xd1db6a(_0x5b38f2,_0xd0bd2d,_0xbb3f67);const di=0x12c,fi=0x64;let Ue=class extends _0x250310{constructor(_0x315d28,_0x592b8c,_0x2c5cfb,_0x59a8cf,_0x5278ad,_0x3eeee7,_0x302691,_0x2aa821,_0x536082){const _0x2e7c2b=_0x523cc0;super(),_(this,_0x2e7c2b(0x296),!0x1),_(this,_0x2e7c2b(0x2eb),!0x1),_(this,_0x2e7c2b(0x29c),new _0x576a38(new Map())),_(this,_0x2e7c2b(0x1d7),this[_0x2e7c2b(0x29c)][_0x2e7c2b(0x28f)]()),_(this,_0x2e7c2b(0x297),new _0x576a38([])),_(this,'roomMembers$',this[_0x2e7c2b(0x297)]['pipe'](_0xed01e6(di))),_(this,_0x2e7c2b(0x217),_0x349ab2(_0x3bdf69=>{const _0x3be774=_0x2e7c2b,_0x353ad8={'eventID':_0x4c0560[_0x3be774(0x27f)],'data':{'unitID':this[_0x3be774(0x2ed)],'memberID':this[_0x3be774(0x336)]['getMemberID'](),'selection':Rt(_0x3bdf69)}};this[_0x3be774(0x336)][_0x3be774(0x22d)](_0x353ad8,this['unitID']);},fi)),(this['unitID']=_0x315d28,this[_0x2e7c2b(0x336)]=_0x592b8c,this[_0x2e7c2b(0x2e1)]=_0x2c5cfb,this[_0x2e7c2b(0x213)]=_0x59a8cf,this[_0x2e7c2b(0x331)]=_0x5278ad,this[_0x2e7c2b(0x282)]=_0x3eeee7,this[_0x2e7c2b(0x25c)]=_0x302691,this[_0x2e7c2b(0x2fb)]=_0x2aa821,this[_0x2e7c2b(0x227)]=_0x536082);}get[_0x523cc0(0x1bd)](){const _0x48a861=_0x523cc0;return this[_0x48a861(0x29c)][_0x48a861(0x27d)]();}get[_0x523cc0(0x1cf)](){const _0x52aa77=_0x523cc0;return this[_0x52aa77(0x297)][_0x52aa77(0x27d)]();}['dispose'](){const _0x51dba7=_0x523cc0;super[_0x51dba7(0x2f4)](),this[_0x51dba7(0x29c)]['next'](new Map()),this[_0x51dba7(0x29c)][_0x51dba7(0x358)](),this[_0x51dba7(0x297)][_0x51dba7(0x2f5)]([]),this[_0x51dba7(0x297)][_0x51dba7(0x358)]();}['init'](){const _0x345739=_0x523cc0;this[_0x345739(0x2eb)]||(this[_0x345739(0x2eb)]=!0x0,this[_0x345739(0x336)][_0x345739(0x2e3)][_0x345739(0x255)](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0x8725b6=>{const _0x336c87=_0x345739;_0x8725b6===_0x43a474[_0x336c87(0x239)]?this[_0x336c87(0x283)]():this[_0x336c87(0x23a)]();}),this[_0x345739(0x336)]['event$']['pipe'](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0xda5bfa=>{const _0x5d28fa=_0x345739,_0x28f319=_0xda5bfa[_0x5d28fa(0x22e)];_0x28f319===_0x4c0560[_0x5d28fa(0x27f)]&&this[_0x5d28fa(0x269)](_0xda5bfa),_0x28f319===_0x4c0560[_0x5d28fa(0x23e)]&&this[_0x5d28fa(0x198)](_0xda5bfa);}),this[_0x345739(0x25f)](this[_0x345739(0x227)][_0x345739(0x1a6)](_0x4fe193=>{const _0x19ab42=_0x345739,_0x5f286d=_0x4fe193[_0x19ab42(0x32e)];_0x5f286d!=null&&this[_0x19ab42(0x296)]&&_0x4fe193['id']===_0x164804['id']&&_0x5f286d['unitId']===this['unitID']&&_0x5f286d[_0x19ab42(0x1ab)]===!0x1&&_0x5f286d['ranges'][_0x19ab42(0x2e7)]>0x0&&this['_updateLocalCursor'](_0x5f286d[_0x19ab42(0x21d)]);})),this[_0x345739(0x282)][_0x345739(0x189)]['pipe'](_0x14b24a(this[_0x345739(0x265)]))[_0x345739(0x2a9)](_0xb9dada=>{const _0x185d83=_0x345739;if((_0xb9dada==null?void 0x0:_0xb9dada[_0x185d83(0x2ed)])!==this[_0x185d83(0x2ed)])return;const _0x3c5691={'eventID':_0x4c0560['UPDATE_CURSOR'],'data':_0xb9dada};this[_0x185d83(0x269)](_0x3c5691);}),this[_0x345739(0x25f)](this[_0x345739(0x227)][_0x345739(0x1a6)](_0x549005=>{const _0x23d3c7=_0x345739;if(_0x549005['params']==null)return;const _0x4e8cb8=_0x549005[_0x23d3c7(0x32e)];if(_0x549005['id']!==_0x832ad4['id']||_0x4e8cb8['unitId']!==this[_0x23d3c7(0x2ed)])return;const _0x5831db={'id':'doc.mutation.rich-text-editing','params':_0x4e8cb8},_0x396994=this[_0x23d3c7(0x1bd)];for(const [_0x19b9fe,_0x269be6]of _0x396994){const _0x224536={'id':_0x23d3c7(0x2ee),'params':{'unitId':this[_0x23d3c7(0x2ed)],'actions':null,'textRanges':_0x269be6[_0x23d3c7(0x21d)]}},_0x42bb44=this[_0x23d3c7(0x25c)][_0x23d3c7(0x252)](_0x5831db,_0x224536,!0x1);if(_0x5bbade(_0x42bb44))throw _0x42bb44[_0x23d3c7(0x26d)];_0x396994[_0x23d3c7(0x36f)](_0x19b9fe,{..._0x269be6,'ranges':_0x42bb44[_0x23d3c7(0x327)]['params'][_0x23d3c7(0x2bd)]});}queueMicrotask(()=>{const _0x1cb968=_0x23d3c7;this[_0x1cb968(0x29c)][_0x1cb968(0x2f5)](_0x396994);});})));}[_0x523cc0(0x269)](_0x407d3f){const _0x52430b=_0x523cc0;var _0x4218b1,_0x3dd9e1;const {memberID:_0x20fd19,selection:_0x5e787b}=_0x407d3f[_0x52430b(0x1e1)],_0x589e8c=_i(_0x5e787b),_0x223df2=(_0x3dd9e1=(_0x4218b1=this[_0x52430b(0x331)][_0x52430b(0x22a)](this[_0x52430b(0x2ed)],_0x20fd19))==null?void 0x0:_0x4218b1['name'])!=null?_0x3dd9e1:_0x52430b(0x23d),_0x31aae0={'color':this[_0x52430b(0x213)]['assignAColorForMemberID'](_0x20fd19),'name':_0x223df2,'ranges':_0x589e8c},_0x29e40f=this[_0x52430b(0x1bd)];_0x29e40f[_0x52430b(0x36f)](_0x20fd19,_0x31aae0),this[_0x52430b(0x29c)][_0x52430b(0x2f5)](_0x29e40f);}[_0x523cc0(0x198)](_0x5b53b3){const _0x38f9c5=_0x523cc0,{memberID:_0x2ae0db}=_0x5b53b3[_0x38f9c5(0x1e1)],_0xf88388=this[_0x38f9c5(0x1bd)];_0xf88388['delete'](_0x2ae0db),this[_0x38f9c5(0x29c)][_0x38f9c5(0x2f5)](_0xf88388);}[_0x523cc0(0x283)](){const _0x3d16a6=_0x523cc0;var _0x2d1c9e;if(this[_0x3d16a6(0x296)]=!0x0,((_0x2d1c9e=this[_0x3d16a6(0x2fb)][_0x3d16a6(0x1a7)]())==null?void 0x0:_0x2d1c9e[_0x3d16a6(0x2b8)]())!==this[_0x3d16a6(0x2ed)])return;const _0x54e9dd=this[_0x3d16a6(0x2e1)][_0x3d16a6(0x37c)](_0x25c659)[_0x3d16a6(0x2c0)]();Array['isArray'](_0x54e9dd)&&_0x54e9dd[_0x3d16a6(0x2e7)]>0x0&&this[_0x3d16a6(0x217)](_0x54e9dd);}[_0x523cc0(0x23a)](){const _0x1ffa73=_0x523cc0;this[_0x1ffa73(0x296)]=!0x1;}};Ue=ui([P(0x2,_0x580399(_0x4c907f)),P(0x3,_0x580399(ke)),P(0x4,_0x580399(_0x2acc1a)),P(0x5,_0x580399(He)),P(0x6,_0x1c1b18),P(0x7,_0x2302ae),P(0x8,_0x51013e)],Ue);var Si=Object[_0x523cc0(0x1dd)],mi=(_0x52bbbf,_0xc5291a,_0x59b3ef,_0x2dc317)=>{const _0x14b3de=_0x523cc0;for(var _0x564f70=_0x2dc317>0x1?void 0x0:_0x2dc317?Si(_0xc5291a,_0x59b3ef):_0xc5291a,_0x4778fe=_0x52bbbf[_0x14b3de(0x2e7)]-0x1,_0x3fb664;_0x4778fe>=0x0;_0x4778fe--)(_0x3fb664=_0x52bbbf[_0x4778fe])&&(_0x564f70=_0x3fb664(_0x564f70)||_0x564f70);return _0x564f70;},x=(_0x84ad4a,_0x3c0b5c)=>(_0x260a43,_0x487580)=>_0x3c0b5c(_0x260a43,_0x487580,_0x84ad4a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x232950=[],_0x2a4159=!0x1;return _0x341355=>{const _0x4e2752=_0xde4b;_0x232950[_0x4e2752(0x2c1)](_0x341355),_0x2a4159||(_0x2a4159=!0x0,setTimeout(()=>{const _0x15ba0f=_0x4e2752;_0x232950[_0x15ba0f(0x339)](_0x221105=>_0x221105()),_0x232950=[],_0x2a4159=!0x1;}));};};let Me=class extends _0x250310{constructor(_0x90b484,_0x5488a7,_0x638113,_0x1a24b6,_0x6c93b2,_0x192f21,_0x50f60f,_0x3c90d6){const _0x42832d=_0x523cc0;super(),_(this,'_online',!0x1),_(this,_0x42832d(0x2eb),!0x1),_(this,'_cursorInfo$',new _0x576a38(new Map())),_(this,_0x42832d(0x1d7),this[_0x42832d(0x29c)][_0x42832d(0x28f)]()),_(this,_0x42832d(0x297),new _0x576a38([])),_(this,_0x42832d(0x288),this['_roomMembers$'][_0x42832d(0x255)](_0xed01e6(Ii))),_(this,_0x42832d(0x217),_0x349ab2((_0x2e414b,_0x153aee)=>{const _0x26f2e9=_0x42832d,_0x86c9b4={'eventID':_0x4c0560[_0x26f2e9(0x27f)],'data':{'unitID':this[_0x26f2e9(0x2ed)],'memberID':this[_0x26f2e9(0x336)][_0x26f2e9(0x387)](),'selection':_0xb12619(_0x2e414b,_0x153aee['range'])}};this['_session']['send'](_0x86c9b4,this['unitID']);},vi)),(this[_0x42832d(0x2ed)]=_0x90b484,this[_0x42832d(0x336)]=_0x5488a7,this[_0x42832d(0x2e1)]=_0x638113,this[_0x42832d(0x213)]=_0x1a24b6,this[_0x42832d(0x331)]=_0x6c93b2,this[_0x42832d(0x2fb)]=_0x192f21,this[_0x42832d(0x227)]=_0x50f60f,this[_0x42832d(0x1d3)]=_0x3c90d6);}get[_0x523cc0(0x1bd)](){const _0x4cf473=_0x523cc0;return this['_cursorInfo$'][_0x4cf473(0x27d)]();}get[_0x523cc0(0x1cf)](){const _0x1028a8=_0x523cc0;return this['_roomMembers$'][_0x1028a8(0x27d)]();}[_0x523cc0(0x2f4)](){const _0x49cc3c=_0x523cc0;super[_0x49cc3c(0x2f4)](),this['_cursorInfo$'][_0x49cc3c(0x2f5)](new Map()),this[_0x49cc3c(0x29c)][_0x49cc3c(0x358)](),this['_roomMembers$'][_0x49cc3c(0x2f5)]([]),this[_0x49cc3c(0x297)][_0x49cc3c(0x358)]();}[_0x523cc0(0x1c8)](){const _0x17496f=_0x523cc0;this['_init']||(this[_0x17496f(0x2eb)]=!0x0,this['_session'][_0x17496f(0x2e3)]['pipe'](_0x14b24a(this[_0x17496f(0x265)]))[_0x17496f(0x2a9)](_0x23b862=>{const _0x27a197=_0x17496f;_0x23b862===_0x43a474['ONLINE']?this[_0x27a197(0x283)]():this['_toggleOffline']();}),this[_0x17496f(0x336)][_0x17496f(0x292)][_0x17496f(0x255)](_0x14b24a(this[_0x17496f(0x265)]))[_0x17496f(0x2a9)](_0x2fb00d=>{const _0x49aed6=_0x17496f,_0x799479=_0x2fb00d[_0x49aed6(0x22e)];_0x799479===_0x4c0560['UPDATE_CURSOR']&&this[_0x49aed6(0x269)](_0x2fb00d),_0x799479===_0x4c0560[_0x49aed6(0x23e)]&&this[_0x49aed6(0x198)](_0x2fb00d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x17496f(0x227)][_0x17496f(0x1a6)](_0xce136b=>{const _0x41c44e=_0x17496f;if(this[_0x41c44e(0x296)]&&_0xce136b['id']===_0x41a69a['id']&&_0xce136b['params'][_0x41c44e(0x1b6)]===this['unitID']){const _0x1598b8=_0xce136b[_0x41c44e(0x32e)];this['_updateLocalCursor'](_0x1598b8['subUnitId'],_0x1598b8[_0x41c44e(0x2e8)][0x0]);}})));}[_0x523cc0(0x269)](_0x412e1d){const _0x12f80b=_0x523cc0;var _0xf7e718,_0x452f57;const {memberID:_0x4d145f,selection:_0x11bb1c}=_0x412e1d['data'],{sheetName:_0x208514,range:_0x2ce9f0}=_0x26fb37(_0x11bb1c),_0x1b9f45={'name':(_0x452f57=(_0xf7e718=this[_0x12f80b(0x331)][_0x12f80b(0x22a)](this[_0x12f80b(0x2ed)],_0x4d145f))==null?void 0x0:_0xf7e718['name'])!=null?_0x452f57:_0x12f80b(0x23d),'range':this[_0x12f80b(0x1e6)](_0x208514,_0x2ce9f0),'sheetID':_0x208514,'color':this['_colorAssignService'][_0x12f80b(0x33a)](_0x4d145f),'selection':_0x11bb1c},_0x4b4972=this[_0x12f80b(0x1bd)];_0x4b4972[_0x12f80b(0x36f)](_0x4d145f,_0x1b9f45),this[_0x12f80b(0x29c)]['next'](_0x4b4972);}[_0x523cc0(0x198)](_0xc2b406){const _0x4a587a=_0x523cc0,{memberID:_0x4fc9fd}=_0xc2b406[_0x4a587a(0x1e1)],_0x25fc67=this[_0x4a587a(0x1bd)];_0x25fc67['delete'](_0x4fc9fd),this[_0x4a587a(0x29c)][_0x4a587a(0x2f5)](_0x25fc67);}[_0x523cc0(0x1e6)](_0x168147,_0x58103c){const _0x588309=_0x523cc0;var _0x567cbe,_0x1fbdb5;const _0x2189b1=(_0x1fbdb5=(_0x567cbe=this[_0x588309(0x2fb)][_0x588309(0x32d)](this['unitID']))==null?void 0x0:_0x567cbe['getSheetBySheetId'](_0x168147))==null?void 0x0:_0x1fbdb5[_0x588309(0x22b)]();return(_0x2189b1==null?void 0x0:_0x2189b1['find'](_0x36a840=>_0x272c87[_0x588309(0x202)](_0x36a840,_0x58103c)))||_0x58103c;}[_0x523cc0(0x229)](){const _0x31080a=_0x523cc0,_0x531e53=new _0x32ea59(),_0x442435=gi(),_0x498871=()=>{const _0x120a7b=_0xde4b;_0x531e53[_0x120a7b(0x2f4)]();const _0x198d02=(_0x46b679,_0x27a029,_0x4af5c4,_0x56e43f)=>{const _0x3824a4=_0x120a7b;let _0x278e70=[];switch(_0x46b679['id']){case _0x20b64a[_0x3824a4(0x2ff)]:{_0x278e70=_0x4e568e(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x370)]:{_0x278e70=_0x1f2d06(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x2ce)]:{_0x278e70=_0x4fd146(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x1c9)]:{_0x278e70=_0x362706(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x379)]:{_0x278e70=_0x310062(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x291)]:{_0x278e70=_0x5cf6f3(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x197)]:{_0x278e70=_0x2329af(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x232)]:{_0x278e70=_0x15c330(_0x46b679,_0x56e43f);break;}case _0x20b64a[_0x3824a4(0x24b)]:{_0x278e70=_0x3e1a4c(_0x46b679,_0x56e43f);break;}}const _0x9733e2=_0x5eb068(_0x278e70,_0x56e43f),_0x4ad209=this['cursorInfo'][_0x3824a4(0x37c)](_0x27a029);if(_0x4ad209&&_0x9733e2){const _0x2861b9={..._0x4ad209,'range':_0x9733e2};this[_0x3824a4(0x1bd)][_0x3824a4(0x36f)](_0x27a029,_0x2861b9),_0x442435(()=>{const _0x443ff8=_0x3824a4,_0x22e6a4=this[_0x443ff8(0x1d3)]['registerRefRange'](_0x9733e2,_0x52aba0=>(_0x22e6a4['dispose'](),_0x198d02(_0x52aba0,_0x27a029,_0x4af5c4,_0x9733e2)));_0x531e53[_0x443ff8(0x238)](_0x22e6a4);});}return{'redos':[],'undos':[]};};this[_0x120a7b(0x1bd)][_0x120a7b(0x339)]((_0x2cc997,_0x40190d)=>{const _0x2ee543=_0x120a7b,{range:_0x5133e0,sheetID:_0x3aefee}=_0x2cc997,_0x35ff56=this[_0x2ee543(0x1d3)]['registerRefRange'](_0x5133e0,_0x34483f=>(_0x35ff56[_0x2ee543(0x2f4)](),_0x198d02(_0x34483f,_0x40190d,_0x3aefee,_0x5133e0)));_0x531e53[_0x2ee543(0x238)](_0x35ff56);});};this[_0x31080a(0x25f)](_0x330c70(this['_cursorInfo$'][_0x31080a(0x2a9)](()=>{_0x498871();})));}[_0x523cc0(0x283)](){const _0x1cbd03=_0x523cc0;var _0xf20d44,_0x3c2dac;if(this['_online']=!0x0,((_0xf20d44=this[_0x1cbd03(0x2fb)][_0x1cbd03(0x1a7)]())==null?void 0x0:_0xf20d44[_0x1cbd03(0x2b8)]())!==this['unitID'])return;const _0x5bdb36=(_0x3c2dac=this[_0x1cbd03(0x2e1)][_0x1cbd03(0x37c)](_0x314f30)[_0x1cbd03(0x27e)]())==null?void 0x0:_0x3c2dac[0x0],_0x1a8aee=this[_0x1cbd03(0x2fb)]['getCurrentUnitForType'](_0x4e8f3d[_0x1cbd03(0x1df)])[_0x1cbd03(0x237)]();_0x5bdb36&&_0x1a8aee&&this[_0x1cbd03(0x217)](_0x1a8aee['getSheetId'](),_0x5bdb36);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x580399(_0x4c907f)),x(0x3,_0x580399(ke)),x(0x4,_0x580399(_0x2acc1a)),x(0x5,_0x2302ae),x(0x6,_0x51013e),x(0x7,_0x580399(_0x266747))],Me);var pi=Object[_0x523cc0(0x1dd)],Ci=(_0x17e410,_0x2e9e01,_0x2cd06a,_0x48420e)=>{const _0x146786=_0x523cc0;for(var _0x51936b=_0x48420e>0x1?void 0x0:_0x48420e?pi(_0x2e9e01,_0x2cd06a):_0x2e9e01,_0x4f1b00=_0x17e410[_0x146786(0x2e7)]-0x1,_0x5c8dc2;_0x4f1b00>=0x0;_0x4f1b00--)(_0x5c8dc2=_0x17e410[_0x4f1b00])&&(_0x51936b=_0x5c8dc2(_0x51936b)||_0x51936b);return _0x51936b;},me=(_0x360ff3,_0x3d9c2c)=>(_0x43067a,_0x6c0b9f)=>_0x3d9c2c(_0x43067a,_0x6c0b9f,_0x360ff3);let F=class extends _0x250310{constructor(_0xdb74ad,_0x31b2b3,_0x5e8d40){const _0x5d6a0b=_0x523cc0;super(),_(this,_0x5d6a0b(0x192),new Map()),_(this,_0x5d6a0b(0x2a8),new _0x55daec()),(this[_0x5d6a0b(0x2fb)]=_0xdb74ad,this[_0x5d6a0b(0x2e1)]=_0x31b2b3,this['_collabSessionService']=_0x5e8d40,this['_init']());}[_0x523cc0(0x2f4)](){const _0x57cded=_0x523cc0;super[_0x57cded(0x2f4)](),this[_0x57cded(0x2a8)][_0x57cded(0x358)](),this[_0x57cded(0x192)][_0x57cded(0x339)](_0x5c7639=>_0x5c7639['dispose']());}[_0x523cc0(0x2b4)](_0x27f889){const _0x5f22e7=_0x523cc0;return this['_entities'][_0x5f22e7(0x236)](_0x27f889)?this[_0x5f22e7(0x192)][_0x5f22e7(0x37c)](_0x27f889)['cursorInfo$']:this['_entityInit$'][_0x5f22e7(0x255)](_0x5645c0(_0x567141=>_0x567141[_0x5f22e7(0x2ed)]===_0x27f889),_0x3578a5(_0x41db23=>_0x41db23[_0x5f22e7(0x1d7)]));}[_0x523cc0(0x2eb)](){const _0x4db576=_0x523cc0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4e8f3d['UNIVER_SHEET'])['pipe'](_0x14b24a(this['dispose$']))['subscribe'](async _0x370b2a=>{const _0x48f414=_0xde4b,_0x100229=_0x370b2a[_0x48f414(0x2b8)](),_0x16e4d7=await this[_0x48f414(0x2d2)](_0x100229);this[_0x48f414(0x2a8)][_0x48f414(0x2f5)](_0x16e4d7),this[_0x48f414(0x192)][_0x48f414(0x36f)](_0x100229,_0x16e4d7);}),this[_0x4db576(0x2fb)]['getTypeOfUnitAdded$'](_0x4e8f3d[_0x4db576(0x272)])[_0x4db576(0x255)](_0x14b24a(this[_0x4db576(0x265)]))[_0x4db576(0x255)](_0x5645c0(_0x532538=>!_0x532538[_0x4db576(0x2b8)]()[_0x4db576(0x2c4)]('__')))[_0x4db576(0x2a9)](async _0x4a6b96=>{const _0x3fd33c=_0x4db576,_0x200209=_0x4a6b96['getUnitId'](),_0xa3c8aa=await this['_startDocCollabCursor'](_0x200209);this[_0x3fd33c(0x2a8)][_0x3fd33c(0x2f5)](_0xa3c8aa),this[_0x3fd33c(0x192)][_0x3fd33c(0x36f)](_0x200209,_0xa3c8aa);}),_0x18c8a3(this[_0x4db576(0x2fb)][_0x4db576(0x2f0)](_0x4e8f3d[_0x4db576(0x272)]),this['_univerInstanceService'][_0x4db576(0x2f0)](_0x4e8f3d[_0x4db576(0x1df)]))['pipe'](_0x14b24a(this[_0x4db576(0x265)]))[_0x4db576(0x2a9)](_0xc0c613=>{const _0x9185e4=_0x4db576,_0x2f540f=_0xc0c613[_0x9185e4(0x2b8)](),_0x23be17=this['_entities'][_0x9185e4(0x37c)](_0x2f540f);_0x23be17&&(_0x23be17[_0x9185e4(0x2f4)](),this['_entities'][_0x9185e4(0x313)](_0x2f540f));});}async[_0x523cc0(0x2d2)](_0x14c75e){const _0x6846fd=_0x523cc0,_0x5b78b9=await this['_collabSessionService'][_0x6846fd(0x1b7)](_0x14c75e),_0x426724=this[_0x6846fd(0x2e1)][_0x6846fd(0x254)](Me,_0x14c75e,_0x5b78b9);return _0x426724['init'](),_0x426724;}async[_0x523cc0(0x304)](_0x50819f){const _0x15dcbf=_0x523cc0,_0x11df87=await this[_0x15dcbf(0x341)][_0x15dcbf(0x1b7)](_0x50819f),_0x1e9d7a=this[_0x15dcbf(0x2e1)][_0x15dcbf(0x254)](Ue,_0x50819f,_0x11df87);return _0x1e9d7a[_0x15dcbf(0x1c8)](),_0x1e9d7a;}};F=Ci([me(0x0,_0x2302ae),me(0x1,_0x580399(_0x4c907f)),me(0x2,_0x580399(_0x69028c))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xd4970e,_0x44e20a){const _0x303e40=_0x523cc0;let {radius:_0x574b78,width:_0xae47b6,height:_0x174b91}=_0x44e20a;_0x574b78=_0x574b78!=null?_0x574b78:0x0,_0xae47b6=_0xae47b6!=null?_0xae47b6:0x1e,_0x174b91=_0x174b91!=null?_0x174b91:0x1e;let _0x468453=0x0,_0x171c0b=0x0,_0x1013dc=0x0;_0x468453=_0x171c0b=_0x1013dc=Math['min'](_0x574b78,_0xae47b6/0x2,_0x174b91/0x2),_0xd4970e[_0x303e40(0x279)](),_0xd4970e[_0x303e40(0x2aa)](_0x468453,0x0),_0xd4970e[_0x303e40(0x26f)](_0xae47b6-_0x171c0b,0x0),_0xd4970e[_0x303e40(0x250)](_0xae47b6-_0x171c0b,_0x171c0b,_0x171c0b,Math['PI']*0x3/0x2,0x0,!0x1),_0xd4970e[_0x303e40(0x26f)](_0xae47b6,_0x174b91-_0x1013dc),_0xd4970e[_0x303e40(0x250)](_0xae47b6-_0x1013dc,_0x174b91-_0x1013dc,_0x1013dc,0x0,Math['PI']/0x2,!0x1),_0xd4970e[_0x303e40(0x26f)](0x0,_0x174b91),_0xd4970e[_0x303e40(0x26f)](0x0,_0x468453),_0xd4970e['arc'](_0x468453,_0x468453,_0x468453,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd4970e[_0x303e40(0x215)](),_0x44e20a['fill']&&(_0xd4970e['save'](),_0xd4970e[_0x303e40(0x1e9)]=_0x44e20a['fill'],_0x44e20a['fillRule']===_0x303e40(0x299)?_0xd4970e[_0x303e40(0x253)](_0x303e40(0x299)):_0xd4970e[_0x303e40(0x253)](),_0xd4970e[_0x303e40(0x1e0)]());}class ue extends _0x5a7599{constructor(_0x471518,_0x56458a){const _0x5a0627=_0x523cc0;super(_0x471518,_0x56458a),_(this,_0x5a0627(0x2a2)),_(this,_0x5a0627(0x338)),(this[_0x5a0627(0x2a2)]=_0x56458a==null?void 0x0:_0x56458a['color'],this[_0x5a0627(0x338)]=_0x56458a==null?void 0x0:_0x56458a['text']);}static[_0x523cc0(0x2a1)](_0x20deb6,_0x4d2122){const _0x576663=_0x523cc0,{text:_0x163f6f,color:_0x40c141}=_0x4d2122;_0x20deb6[_0x576663(0x21b)](),_0x20deb6[_0x576663(0x34a)]=_0x576663(0x2a7);const _0x54730f=_0x20deb6['measureText'](_0x163f6f)[_0x576663(0x319)],_0x90f51b=Math[_0x576663(0x1a9)](_0x54730f+0x2*Ie,Qe);Oi(_0x20deb6,{'height':J,'radius':0x4,'width':_0x90f51b,'fill':_0x40c141}),_0x20deb6[_0x576663(0x1e9)]=_0x576663(0x251);const _0x181a9e=Ie,_0x58f608=J-Ei,_0x6eb46c=Qe-0x2*Ie;if(_0x54730f>_0x6eb46c){let _0x19c3f6='',_0x264b98=0x0;for(const _0x4ef21c of _0x163f6f){const _0xc3e411=_0x20deb6['measureText'](_0x4ef21c)[_0x576663(0x319)];if(_0x264b98+_0xc3e411<=_0x6eb46c-_0x20deb6[_0x576663(0x18d)](_0x576663(0x2c9))[_0x576663(0x319)])_0x19c3f6+=_0x4ef21c,_0x264b98+=_0xc3e411;else{_0x19c3f6+=_0x576663(0x2c9);break;}}_0x20deb6[_0x576663(0x278)](_0x19c3f6,_0x181a9e,_0x58f608);}else _0x20deb6['fillText'](_0x163f6f,_0x181a9e,_0x58f608);_0x20deb6[_0x576663(0x1e0)]();}[_0x523cc0(0x286)](_0x10326b){const _0x1fdd5b=_0x523cc0;ue[_0x1fdd5b(0x2a1)](_0x10326b,this);}}const ve='collab-text-anchor-',bi='collab-text-range-',Ti=_0x523cc0(0x28c),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1e1ef5,_0x13aa51,_0x28787a,_0x32bd70){const _0x213b78=_0x523cc0;_(this,'_shapes',[]),_(this,_0x213b78(0x248),null),_(this,_0x213b78(0x1e5),null),_(this,_0x213b78(0x1a3),null),_(this,'_hideTimer',null),_(this,_0x213b78(0x31e),null),(this[_0x213b78(0x1d9)]=_0x1e1ef5,this[_0x213b78(0x287)]=_0x13aa51,this[_0x213b78(0x1bc)]=_0x28787a,this['_document']=_0x32bd70,this['_render']());}set['_hover'](_0x50ff4a){const _0x2b0039=_0x523cc0;_0x50ff4a?(this[_0x2b0039(0x1a3)]&&this[_0x2b0039(0x1a3)][_0x2b0039(0x20c)](),this[_0x2b0039(0x1e5)]&&this[_0x2b0039(0x1e5)]['show']()):(this['_anchorDot']&&this[_0x2b0039(0x1a3)]['show'](),this[_0x2b0039(0x1e5)]&&this[_0x2b0039(0x1e5)][_0x2b0039(0x20c)]());}[_0x523cc0(0x2f4)](){const _0x131384=_0x523cc0;for(const _0xa2660e of this[_0x131384(0x1d1)])_0xa2660e[_0x131384(0x2f4)]();this[_0x131384(0x1e5)]&&this[_0x131384(0x1e5)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x131384(0x2f4)](),this[_0x131384(0x248)]&&this[_0x131384(0x248)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x509745=_0x523cc0;var _0x1c055f;const {_docSkeleton:_0x32d6b3,_document:_0x5c9771}=this,{color:_0x5cd9cf,name:_0x3d0d19,ranges:_0x1d6c67}=this['_cursor'],_0x23f80a=_0x5c9771[_0x509745(0x30a)](),{docsLeft:_0x36e0d4,docsTop:_0x49c713}=_0x23f80a,_0x146ee0=new _0xfdeb82(_0x23f80a,_0x32d6b3);for(const {startOffset:_0x387241,endOffset:_0x4493b0,rangeType:_0x458508,segmentId:_0x541009,segmentPage:_0x43006f,collapsed:_0x30578a,isActive:_0x2a7cb9}of _0x1d6c67){const _0xe1ad50=_0x32d6b3['findNodePositionByCharIndex'](_0x387241,!0x0,_0x541009,_0x43006f);let _0x20f0dd=_0x32d6b3[_0x509745(0x19d)](_0x4493b0,!0x0,_0x541009,_0x43006f);if(_0x20f0dd==null&&(_0x20f0dd=_0x32d6b3[_0x509745(0x19d)](_0x4493b0-0x1,!0x1,_0x541009,_0x43006f)),_0x2a7cb9){const {contentBoxPointGroup:_0x7a1a56}=_0x146ee0[_0x509745(0x226)](_0x20f0dd,_0x20f0dd);if(_0x7a1a56[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x31d)](_0x5cd9cf,_0x7a1a56,_0x36e0d4,_0x49c713,_0x3d0d19),this[_0x509745(0x31e)]=this[_0x509745(0x27c)]();}if(_0xe1ad50&&_0x20f0dd){if(_0x458508===_0x597991['RECT']){const _0x48bce8=new _0x3f42db(_0x23f80a,_0x32d6b3),{pointGroup:_0x1e0c26}=(_0x1c055f=_0x48bce8[_0x509745(0x226)](_0xe1ad50,_0x20f0dd))!=null?_0x1c055f:{};if(_0x1e0c26==null||_0x1e0c26[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x260)](_0x5cd9cf,_0x1e0c26,_0x36e0d4,_0x49c713);}else{if(!_0x30578a){const {borderBoxPointGroup:_0xec41fe}=_0x146ee0[_0x509745(0x226)](_0xe1ad50,_0x20f0dd);if(_0xec41fe[_0x509745(0x2e7)]===0x0)continue;this[_0x509745(0x340)](_0x5cd9cf,_0xec41fe,_0x36e0d4,_0x49c713);}}}}}[_0x523cc0(0x31d)](_0x3ba97b,_0x52aa45,_0x23cabf,_0x50ea03,_0x6e541b){const _0x19a15d=_0x523cc0,_0x5c6e5f=this[_0x19a15d(0x349)](_0x52aa45),{left:_0x447eb4,top:_0x1a4f88,height:_0x551ad2}=_0x5c6e5f,_0x176fc2=this[_0x19a15d(0x333)](),_0x19bc16=Di/_0x176fc2,_0x532abb=new _0x12f909(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03,'height':_0x551ad2,'width':Ri,'fill':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'strokeWidth':_0x19bc16,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x532abb,this['_scene'][_0x19a15d(0x31f)](_0x532abb,_0xc8f6da);const _0x198b17=new _0x12f909(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03-ge/0x2,'height':ge,'width':ge,'fill':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x3ba97b||_0x409d3e(_0x10d7c9[_0x19a15d(0x223)],0x0),'evented':!0x1});this[_0x19a15d(0x1a3)]=_0x198b17,this[_0x19a15d(0x287)]['addObject'](_0x198b17,_0xc8f6da);const _0x41dd77=new ue(ve+_0xabdb9a(G),{'left':_0x447eb4+_0x23cabf-_0x19bc16,'top':_0x1a4f88+_0x50ea03-J,'text':_0x6e541b,'color':_0x3ba97b});this[_0x19a15d(0x1e5)]=_0x41dd77,this[_0x19a15d(0x287)][_0x19a15d(0x31f)](_0x41dd77,_0xc8f6da),this[_0x19a15d(0x1e8)]=!0x1;}['_handleHover'](){const _0x352794=_0x523cc0,_0x5db185=this[_0x352794(0x248)]['onPointerEnter$'][_0x352794(0x344)](()=>{const _0x11f7b0=_0x352794;this[_0x11f7b0(0x1e8)]=!0x0;}),_0x58c50b=this[_0x352794(0x248)]['onPointerLeave$'][_0x352794(0x344)](()=>{const _0x529510=_0x352794;this[_0x529510(0x360)]&&clearTimeout(this[_0x529510(0x360)]),this[_0x529510(0x360)]=setTimeout(()=>{const _0x27ba03=_0x529510;this[_0x27ba03(0x1e8)]=!0x1;},0x7d0);});return()=>{const _0x474bdb=_0x352794;_0x5db185[_0x474bdb(0x384)](),_0x58c50b['unsubscribe']();};}[_0x523cc0(0x340)](_0x140a4a,_0x50a093,_0x898af6,_0x271017){const _0x3e7701=_0x523cc0,_0x587b57=new _0x90eef7(_0x140a4a)[_0x3e7701(0x204)](0.2)[_0x3e7701(0x294)](),_0x2bb627=new _0x5979f2(bi+_0xabdb9a(G),{'pointsGroup':_0x50a093,'fill':_0x587b57||_0x409d3e(_0x10d7c9[_0x3e7701(0x223)],0.2),'left':_0x898af6,'top':_0x271017,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2bb627),this[_0x3e7701(0x287)]['addObject'](_0x2bb627,_0xc8f6da);}[_0x523cc0(0x260)](_0x4c395c,_0x485cc7,_0x201728,_0x59ace5){const _0x162e6d=_0x523cc0,_0x49f0bd=new _0x90eef7(_0x4c395c)['setAlpha'](0.2)[_0x162e6d(0x294)](),_0x4b2804=new _0x5979f2(Ti+_0xabdb9a(G),{'pointsGroup':_0x485cc7,'fill':_0x49f0bd||_0x409d3e(_0x10d7c9['black'],0.2),'left':_0x201728,'top':_0x59ace5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x162e6d(0x1d1)][_0x162e6d(0x2c1)](_0x4b2804),this[_0x162e6d(0x287)][_0x162e6d(0x31f)](_0x4b2804,_0xc8f6da);}[_0x523cc0(0x349)](_0x2ec439){const _0x4fc51b=_0x2ec439[0x0],_0x136a33=_0x4fc51b[0x0],_0x2fd454=_0x4fc51b[0x2],{x:_0x5ab716,y:_0x2e6cf0}=_0x136a33,{x:_0x159cc8,y:_0x16169f}=_0x2fd454;return{'left':_0x5ab716,'top':_0x2e6cf0,'width':_0x159cc8-_0x5ab716,'height':_0x16169f-_0x2e6cf0};}['_getScale'](){const _0x2cb7a7=_0x523cc0,{scaleX:_0x2a3266,scaleY:_0x5892c2}=this[_0x2cb7a7(0x287)][_0x2cb7a7(0x2be)]();return Math['max'](_0x2a3266,_0x5892c2);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x2066bc,_0x24e297,_0x41b53e,_0x44474b)=>{for(var _0x169fc2=_0x44474b>0x1?void 0x0:_0x44474b?Ui(_0x24e297,_0x41b53e):_0x24e297,_0x2f57bc=_0x2066bc['length']-0x1,_0xc5a9f4;_0x2f57bc>=0x0;_0x2f57bc--)(_0xc5a9f4=_0x2066bc[_0x2f57bc])&&(_0x169fc2=_0xc5a9f4(_0x169fc2)||_0x169fc2);return _0x169fc2;},q=(_0x351947,_0x42ffb4)=>(_0x3d77e7,_0x3cc85d)=>_0x42ffb4(_0x3d77e7,_0x3cc85d,_0x351947);let Le=class extends _0x250310{constructor(_0x2059b9,_0x1c36c1,_0x2da7cd,_0x27cb18,_0x402393){const _0x539c68=_0x523cc0;super(),_(this,'_cursorShapes',[]),_(this,_0x539c68(0x309),[]),(this[_0x539c68(0x1a0)]=_0x2059b9,this[_0x539c68(0x2ec)]=_0x1c36c1,this[_0x539c68(0x2f9)]=_0x2da7cd,this[_0x539c68(0x227)]=_0x27cb18,this['_themeService']=_0x402393,this[_0x539c68(0x2eb)]());}[_0x523cc0(0x2eb)](){const _0x4f9569=_0x523cc0,_0x25c55a=this['_context']['unitId'],_0x63a57b=this[_0x4f9569(0x2ec)];this[_0x4f9569(0x25f)](_0x5ac57b([this['_collabCursorController'][_0x4f9569(0x2b4)](_0x25c55a),this[_0x4f9569(0x28d)][_0x4f9569(0x320)]])[_0x4f9569(0x255)](_0x3a3a0a(([_0x19c68f,_0x4517d3])=>({'skeleton':_0x63a57b[_0x4f9569(0x2a5)](),'cursors':[..._0x19c68f[_0x4f9569(0x367)]()][_0x4f9569(0x26b)](_0x2d432b=>({..._0x2d432b,'color':this['_themeService'][_0x4f9569(0x247)](_0x2d432b[_0x4f9569(0x2a2)])}))})))[_0x4f9569(0x2a9)](_0x33a868=>{const _0x43f261=_0x4f9569;if(this[_0x43f261(0x277)](),_0x33a868){const {skeleton:_0x1a34c4,cursors:_0x345521}=_0x33a868;this['_updateCollabCursors'](_0x1a34c4,_0x345521);}})),this[_0x4f9569(0x345)](),this[_0x4f9569(0x353)]();}[_0x523cc0(0x270)](_0x5a6983,_0x34b90b){const _0xc44a9=_0x523cc0,{scene:_0x440e25,mainComponent:_0x3233ef}=this[_0xc44a9(0x1a0)],_0x269eab=_0x34b90b[_0xc44a9(0x1d4)](_0x40f918=>new qe(_0x40f918,_0x440e25,_0x5a6983,_0x3233ef));this[_0xc44a9(0x32a)]=_0x269eab,this['_cursors']=_0x34b90b;}['_refreshCollabCursors'](){const _0x2c56f1=_0x523cc0;this['_removeCollabCursors']();const {scene:_0x92d082,mainComponent:_0x4531cb}=this['_context'],_0x3b09ff=this['_docSkeletonManagerService']['getSkeleton'](),_0x474de5=this[_0x2c56f1(0x309)][_0x2c56f1(0x1d4)](_0x594e82=>new qe(_0x594e82,_0x92d082,_0x3b09ff,_0x4531cb));this[_0x2c56f1(0x32a)]=_0x474de5;}['_removeCollabCursors'](){const _0x15c88b=_0x523cc0;this[_0x15c88b(0x32a)][_0x15c88b(0x339)](_0x4cd547=>_0x4cd547['dispose']()),this['_cursorShapes']=[];}[_0x523cc0(0x353)](){const _0x203d95=_0x523cc0,_0x587a1e=[_0x2507f0['id']];this[_0x203d95(0x25f)](this['_commandService'][_0x203d95(0x1a6)](_0x40764e=>{const _0x49f5cc=_0x203d95;_0x587a1e['includes'](_0x40764e['id'])&&_0x40764e[_0x49f5cc(0x32e)][_0x49f5cc(0x1b6)]===this[_0x49f5cc(0x1a0)][_0x49f5cc(0x1b6)]&&this[_0x49f5cc(0x375)]();}));}[_0x523cc0(0x345)](){const _0x42351d=_0x523cc0;this[_0x42351d(0x25f)](_0x1c3817(this[_0x42351d(0x1a0)][_0x42351d(0x33f)]['onTransformChange$'])[_0x42351d(0x255)](_0x3cfc55(_0x3d4fef=>_0x3d4fef[_0x42351d(0x2fe)]===_0x43ed7c[_0x42351d(0x1d6)]),_0x3a640c(0x10))[_0x42351d(0x2a9)](()=>{const _0x35a9a8=_0x42351d;this[_0x35a9a8(0x375)]();}));}};Le=Mi([q(0x1,_0x580399(_0x8e2a0e)),q(0x2,_0x580399(F)),q(0x3,_0x51013e),q(0x4,_0x580399(_0x2974b7))],Le);const Li=0x1,Pi=1.5;class wi extends _0x5a7599{constructor(_0x5b13c8,_0x346d28){const _0x14bd8d=_0x523cc0;super(_0x5b13c8,_0x346d28),_(this,_0x14bd8d(0x1db)),_(this,_0x14bd8d(0x240),!0x1),_(this,_0x14bd8d(0x1d5)),_(this,_0x14bd8d(0x2d7),''),_(this,_0x14bd8d(0x2f2),_0x14bd8d(0x372)),_(this,_0x14bd8d(0x1f9)),(_0x346d28&&this[_0x14bd8d(0x314)](_0x346d28),this[_0x14bd8d(0x318)][_0x14bd8d(0x344)](()=>this[_0x14bd8d(0x314)]({'hovered':!0x0})),this[_0x14bd8d(0x312)][_0x14bd8d(0x344)](()=>this[_0x14bd8d(0x314)]({'hovered':!0x1})));}[_0x523cc0(0x314)](_0x3e4e6e){const _0x39cd19=_0x523cc0;var _0x34479b,_0x303f11,_0x127621,_0x6af2f5,_0x2179ee,_0xb51cb1;this['_color']=(_0x34479b=_0x3e4e6e['color'])!=null?_0x34479b:this[_0x39cd19(0x1db)],this[_0x39cd19(0x240)]=(_0x303f11=_0x3e4e6e[_0x39cd19(0x317)])!=null?_0x303f11:this[_0x39cd19(0x240)],this['_range']=(_0x127621=_0x3e4e6e[_0x39cd19(0x2c5)])!=null?_0x127621:this[_0x39cd19(0x1d5)],this['_name']=(_0x6af2f5=_0x3e4e6e['name'])!=null?_0x6af2f5:this[_0x39cd19(0x2d7)],this['_labelPosition']=(_0x2179ee=_0x3e4e6e['labelPosition'])!=null?_0x2179ee:this[_0x39cd19(0x2f2)],this['_backgroundColor']=(_0xb51cb1=_0x3e4e6e[_0x39cd19(0x334)])!=null?_0xb51cb1:this[_0x39cd19(0x1f9)],this[_0x39cd19(0x380)]({'width':_0x3e4e6e[_0x39cd19(0x319)],'height':_0x3e4e6e[_0x39cd19(0x2dc)]});}['onMouseMove'](_0x30eb0a){const _0x2635c3=_0x523cc0,{row:_0x1b4659,column:_0x3e995d}=_0x30eb0a;if(_0x1b4659>=this['_range'][_0x2635c3(0x2ea)]&&_0x1b4659<=this[_0x2635c3(0x1d5)][_0x2635c3(0x305)]&&_0x3e995d>=this[_0x2635c3(0x1d5)]['startColumn']&&_0x3e995d<=this['_range'][_0x2635c3(0x235)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2635c3(0x314)]({'hovered':!0x1});}[_0x523cc0(0x37a)](_0x150139){return!0x1;}['_draw'](_0x24d51d){const _0x5915b3=_0x523cc0;_0x12f909['drawWith'](_0x24d51d,{'width':this['width'],'height':this[_0x5915b3(0x2dc)],'strokeWidth':Pi,'stroke':this[_0x5915b3(0x1db)],'evented':!0x1,'fill':this[_0x5915b3(0x1f9)]}),this['_hovered']&&(_0x24d51d[_0x5915b3(0x21b)](),_0x24d51d[_0x5915b3(0x22f)](0x1,0x0,0x0,0x1,this[_0x5915b3(0x319)],this['_labelPosition']===_0x5915b3(0x310)?0x0:-J),ue[_0x5915b3(0x2a1)](_0x24d51d,{'text':this[_0x5915b3(0x2d7)],'color':this['_color']}),_0x24d51d[_0x5915b3(0x1e0)]());}}var Ai=Object[_0x523cc0(0x1dd)],yi=(_0x53ec41,_0x24f885,_0xba34d0,_0x151ae9)=>{const _0x420e67=_0x523cc0;for(var _0x484e35=_0x151ae9>0x1?void 0x0:_0x151ae9?Ai(_0x24f885,_0xba34d0):_0x24f885,_0x55283c=_0x53ec41[_0x420e67(0x2e7)]-0x1,_0x95ac04;_0x55283c>=0x0;_0x55283c--)(_0x95ac04=_0x53ec41[_0x55283c])&&(_0x484e35=_0x95ac04(_0x484e35)||_0x484e35);return _0x484e35;},pe=(_0x4477c5,_0x1d6c62)=>(_0x59baa0,_0x3256ae)=>_0x1d6c62(_0x59baa0,_0x3256ae,_0x4477c5);const $i=0x1389;let Pe=class extends _0x250310{constructor(_0x2fa959,_0x503cd0,_0xdf687c,_0x553803){const _0x4cd14b=_0x523cc0;super(),_(this,_0x4cd14b(0x309),new Set()),_(this,_0x4cd14b(0x324),null),(this['_context']=_0x2fa959,this[_0x4cd14b(0x256)]=_0x503cd0,this[_0x4cd14b(0x2f9)]=_0xdf687c,this[_0x4cd14b(0x28d)]=_0x553803,this['_init']());}[_0x523cc0(0x2eb)](){const _0x2ca6af=_0x523cc0;this[_0x2ca6af(0x256)][_0x2ca6af(0x2d3)][_0x2ca6af(0x255)](_0x5893a2(this[_0x2ca6af(0x265)]),_0x265f54(_0x308a95=>{const _0x49ddf3=_0x2ca6af;if(_0x308a95){const _0x559af8=_0x308a95[_0x49ddf3(0x274)];return _0x5ac57b(this[_0x49ddf3(0x2f9)][_0x49ddf3(0x2b4)](this[_0x49ddf3(0x1a0)]['unitId']),this[_0x49ddf3(0x28d)]['currentTheme$'])[_0x49ddf3(0x255)](_0x3a3a0a(([_0x59c0fd,_0x3b2003])=>{const _0x2a629c=_0x49ddf3,_0x5bdbb7=new Map();return _0x59c0fd[_0x2a629c(0x339)]((_0x4723c7,_0x33eba5)=>{const _0x34d8f6=_0x2a629c;if(_0x4723c7[_0x34d8f6(0x366)]===_0x559af8){const _0x53e40b={..._0x4723c7};_0x53e40b[_0x34d8f6(0x2a2)]=this['_themeService'][_0x34d8f6(0x247)](_0x4723c7[_0x34d8f6(0x2a2)]),_0x5bdbb7['set'](_0x33eba5,_0x53e40b);}}),{'skeleton':_0x308a95,'cursors':_0x5bdbb7};}));}return _0x384327({'skeleton':null,'cursors':new Map()});}))[_0x2ca6af(0x2a9)](({skeleton:_0x850b75,cursors:_0x44138f})=>{const _0x430586=_0x2ca6af;this['_removeCollabCursors'](),_0x850b75&&this[_0x430586(0x270)](_0x850b75,_0x44138f);}),this[_0x2ca6af(0x256)][_0x2ca6af(0x2d3)]['subscribe'](_0x47f527=>{const _0x6846cb=_0x2ca6af;if(_0x47f527==null)return;const {skeleton:_0x266e3a}=_0x47f527,{scene:_0x2d5a15}=this[_0x6846cb(0x1a0)];_0x2d5a15['onPointerMove$'][_0x6846cb(0x344)](_0x349ab2(_0x8622d7=>{const _0x4457f2=_0x6846cb;var _0xc2e0a3,_0x3b219a;const {offsetX:_0x39b658,offsetY:_0x52411e}=_0x8622d7,{x:_0x45b4cb,y:_0x445425}=_0x2d5a15[_0x4457f2(0x1ed)](_0x4e5bff[_0x4457f2(0x263)]([_0x39b658,_0x52411e])),{scaleX:_0x100bc1,scaleY:_0x4c1a35}=_0x2d5a15[_0x4457f2(0x2be)](),_0x1d79cf=_0x2d5a15[_0x4457f2(0x1ac)](_0x17ad04['VIEW_MAIN']),_0x123ad1=_0x2d5a15[_0x4457f2(0x2d9)](_0x4e5bff[_0x4457f2(0x263)]([_0x45b4cb,_0x445425]),_0x1d79cf),_0x38c1a4=_0x266e3a[_0x4457f2(0x2c2)](_0x39b658,_0x52411e,_0x100bc1,_0x4c1a35,_0x123ad1);((_0xc2e0a3=this[_0x4457f2(0x324)])==null?void 0x0:_0xc2e0a3[_0x4457f2(0x2f3)])===_0x38c1a4[_0x4457f2(0x2f3)]&&((_0x3b219a=this[_0x4457f2(0x324)])==null?void 0x0:_0x3b219a[_0x4457f2(0x1fd)])===_0x38c1a4[_0x4457f2(0x1fd)]||this[_0x4457f2(0x309)][_0x4457f2(0x339)](_0xaacbf1=>{_0xaacbf1['onMouseMove'](_0x38c1a4);});},0x64));});}[_0x523cc0(0x270)](_0x41a619,_0x3a33e5){const _0x57a640=_0x523cc0;var _0x2058a7;const _0x158f17=(_0x2058a7=this[_0x57a640(0x256)][_0x57a640(0x325)]())==null?void 0x0:_0x2058a7[_0x57a640(0x335)];if(!_0x158f17)return;const _0x4eb1cb=this['_getSheetObject']();if(!_0x4eb1cb)return;this[_0x57a640(0x309)][_0x57a640(0x339)](_0x5778aa=>{const _0x425764=_0x57a640;_0x5778aa[_0x425764(0x19e)]();});const {scene:_0x8123c}=_0x4eb1cb,_0x40ff13=xi(Array[_0x57a640(0x330)](_0x3a33e5[_0x57a640(0x367)]()))[_0x57a640(0x1d4)](_0x3c00f2=>{const _0x48b6fd=_0x57a640,{color:_0x3bdeba,range:_0xb11188,name:_0x213109,selection:_0x5bfe15,sheetID:_0x211840}=_0x3c00f2,{startColumn:_0x2cae89,startRow:_0x2bb0b6,endColumn:_0x45104f,endRow:_0x179e53}=_0xb11188,_0x5a1d33=_0x471e08(_0x2bb0b6,_0x2cae89,_0x8123c,_0x158f17),_0x5f4c43=_0x471e08(_0x179e53,_0x45104f,_0x8123c,_0x158f17),{columnHeaderHeightAndMarginTop:_0x3ccb25}=_0x158f17,{startX:_0x5c5517,startY:_0x45ac45}=_0x5a1d33,{endX:_0x4634bc,endY:_0x20a8b2}=_0x5f4c43,_0xcb02b0=_0x4634bc-_0x5c5517,_0x23bf6a=_0x20a8b2-_0x45ac45,_0x3ef52e={'labelPosition':_0x45ac45-_0x3ccb25>=J?_0x48b6fd(0x372):_0x48b6fd(0x310),'sheetID':_0x211840,'range':_0xb11188,'color':_0x3bdeba,'name':_0x213109,'selection':_0x5bfe15,'left':_0x5c5517,'top':_0x45ac45,'width':_0xcb02b0,'height':_0x23bf6a,'evented':!0x1,'zIndex':$i};return new wi(_0x213109,_0x3ef52e);});_0x8123c[_0x57a640(0x348)](_0x40ff13,Li),this[_0x57a640(0x309)]=new Set(_0x40ff13);}[_0x523cc0(0x277)](){const _0x17fd79=_0x523cc0;var _0x5eba5b;(_0x5eba5b=this[_0x17fd79(0x309)])==null||_0x5eba5b[_0x17fd79(0x339)](_0x1ecc8f=>_0x1ecc8f['dispose']());}[_0x523cc0(0x2cd)](){const _0x2396bb=_0x523cc0;return _0x1a8701(this[_0x2396bb(0x1a0)][_0x2396bb(0x1f3)],this[_0x2396bb(0x1a0)]);}};Pe=yi([pe(0x1,_0x580399(_0x3af8af)),pe(0x2,_0x580399(F)),pe(0x3,_0x580399(_0x2974b7))],Pe);function xi(_0x49ad8c){const _0x2dead5=_0x523cc0,_0x236f24=new Map();return _0x49ad8c[_0x2dead5(0x339)](_0x277580=>{const _0x3428fd=_0x2dead5;if(_0x236f24['has'](_0x277580[_0x3428fd(0x2cf)])){const _0x20f7ec=_0x236f24[_0x3428fd(0x37c)](_0x277580[_0x3428fd(0x2cf)]);_0x20f7ec['name']+=',\x20'+_0x277580[_0x3428fd(0x1b8)];}else _0x236f24['set'](_0x277580[_0x3428fd(0x2cf)],_0x277580);}),Array['from'](_0x236f24['values']());}var v=function(){return v=Object['assign']||function(_0x449412){const _0x410727=_0xde4b;for(var _0x4de3b4,_0x39bc3a=0x1,_0x333180=arguments[_0x410727(0x2e7)];_0x39bc3a<_0x333180;_0x39bc3a++){_0x4de3b4=arguments[_0x39bc3a];for(var _0x737b32 in _0x4de3b4)Object['prototype'][_0x410727(0x2cc)][_0x410727(0x1d8)](_0x4de3b4,_0x737b32)&&(_0x449412[_0x737b32]=_0x4de3b4[_0x737b32]);}return _0x449412;},v['apply'](this,arguments);},Bi=function(_0x2e1bc9,_0x2a959d){const _0x417308=_0x523cc0;var _0x5a39fd={};for(var _0x1ad1b2 in _0x2e1bc9)Object[_0x417308(0x2fc)][_0x417308(0x2cc)][_0x417308(0x1d8)](_0x2e1bc9,_0x1ad1b2)&&_0x2a959d[_0x417308(0x33e)](_0x1ad1b2)<0x0&&(_0x5a39fd[_0x1ad1b2]=_0x2e1bc9[_0x1ad1b2]);if(_0x2e1bc9!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0xe39213=0x0,_0x1ad1b2=Object[_0x417308(0x1fb)](_0x2e1bc9);_0xe39213<_0x1ad1b2[_0x417308(0x2e7)];_0xe39213++)_0x2a959d[_0x417308(0x33e)](_0x1ad1b2[_0xe39213])<0x0&&Object[_0x417308(0x2fc)][_0x417308(0x23f)][_0x417308(0x1d8)](_0x2e1bc9,_0x1ad1b2[_0xe39213])&&(_0x5a39fd[_0x1ad1b2[_0xe39213]]=_0x2e1bc9[_0x1ad1b2[_0xe39213]]);}return _0x5a39fd;},Fe=_0x2b4648(function(_0x5f420f,_0x3345b4){const _0x10c223=_0x523cc0;var _0x1ae869=_0x5f420f[_0x10c223(0x1af)],_0x1547df=_0x5f420f['id'],_0x2e8843=_0x5f420f[_0x10c223(0x2da)],_0x430b58=_0x5f420f['extend'],_0x629cfc=Bi(_0x5f420f,['icon','id','className',_0x10c223(0x37d)]),_0x228910=_0x10c223(0x210)['concat'](_0x1547df,'\x20')['concat'](_0x2e8843||'')['trim'](),_0x105f05=_0x39e6cb('_'[_0x10c223(0x342)](Fi()));return Dt(_0x1ae869,''['concat'](_0x1547df),{'defIds':_0x1ae869[_0x10c223(0x306)],'idSuffix':_0x105f05[_0x10c223(0x31c)]},v({'ref':_0x3345b4,'className':_0x228910},_0x629cfc),_0x430b58);});function Dt(_0x22054f,_0x54f423,_0x5862e9,_0x9e4212,_0x47e55e){const _0x439406=_0x523cc0;return _0x10f343(_0x22054f['tag'],v(v({'key':_0x54f423},ki(_0x22054f,_0x5862e9,_0x47e55e)),_0x9e4212),(Hi(_0x22054f,_0x5862e9)[_0x439406(0x206)]||[])[_0x439406(0x1d4)](function(_0x20f9f4,_0x2d24d0){const _0x58a412=_0x439406;return Dt(_0x20f9f4,''['concat'](_0x54f423,'-')[_0x58a412(0x342)](_0x22054f[_0x58a412(0x307)],'-')[_0x58a412(0x342)](_0x2d24d0),_0x5862e9,void 0x0,_0x47e55e);}));}function ki(_0x1dba3f,_0x23a1d4,_0x55c052){const _0x1f03f7=_0x523cc0;var _0x4e72e5=v({},_0x1dba3f[_0x1f03f7(0x308)]);_0x55c052!=null&&_0x55c052['colorChannel1']&&_0x4e72e5[_0x1f03f7(0x253)]===_0x1f03f7(0x27b)&&(_0x4e72e5[_0x1f03f7(0x253)]=_0x55c052[_0x1f03f7(0x27b)]),_0x1dba3f['tag']===_0x1f03f7(0x1c0)&&_0x4e72e5['id']&&(_0x4e72e5['id']=_0x4e72e5['id']+_0x23a1d4[_0x1f03f7(0x290)]),Object[_0x1f03f7(0x1b1)](_0x4e72e5)[_0x1f03f7(0x339)](function(_0x1c65e8){const _0x22818b=_0x1f03f7;var _0x175237=_0x1c65e8[0x0],_0x58f6ac=_0x1c65e8[0x1];_0x175237===_0x22818b(0x1c0)&&typeof _0x58f6ac=='string'&&(_0x4e72e5[_0x175237]=_0x58f6ac[_0x22818b(0x24c)](/url\(#(.*)\)/,_0x22818b(0x214)[_0x22818b(0x342)](_0x23a1d4[_0x22818b(0x290)],')')));});var _0x3d186a=_0x23a1d4['defIds'];return!_0x3d186a||_0x3d186a[_0x1f03f7(0x2e7)]===0x0||(_0x1dba3f['tag']===_0x1f03f7(0x30b)&&_0x4e72e5[_0x1f03f7(0x188)]&&(_0x4e72e5['xlink:href']=_0x4e72e5['xlink:href']+_0x23a1d4[_0x1f03f7(0x290)]),Object[_0x1f03f7(0x1b1)](_0x4e72e5)[_0x1f03f7(0x339)](function(_0x39d7f3){const _0x52c49e=_0x1f03f7;var _0x57c0ac=_0x39d7f3[0x0],_0x260042=_0x39d7f3[0x1];typeof _0x260042==_0x52c49e(0x242)&&(_0x4e72e5[_0x57c0ac]=_0x260042[_0x52c49e(0x24c)](/url\(#(.*)\)/,_0x52c49e(0x214)['concat'](_0x23a1d4[_0x52c49e(0x290)],')')));})),_0x4e72e5;}function Hi(_0x231371,_0x300cac){const _0x49d603=_0x523cc0;var _0x51f758,_0x2ef282=_0x300cac[_0x49d603(0x306)];return!_0x2ef282||_0x2ef282[_0x49d603(0x2e7)]===0x0?_0x231371:_0x231371[_0x49d603(0x307)]===_0x49d603(0x1f6)&&(!((_0x51f758=_0x231371['children'])===null||_0x51f758===void 0x0)&&_0x51f758[_0x49d603(0x2e7)])?v(v({},_0x231371),{'children':_0x231371[_0x49d603(0x206)]['map'](function(_0x262065){const _0x192109=_0x49d603;return typeof _0x262065[_0x192109(0x308)]['id']==_0x192109(0x242)&&_0x2ef282&&_0x2ef282[_0x192109(0x1fa)](_0x262065['attrs']['id'])?v(v({},_0x262065),{'attrs':v(v({},_0x262065[_0x192109(0x308)]),{'id':_0x262065[_0x192109(0x308)]['id']+_0x300cac[_0x192109(0x290)]})}):_0x262065;})}):_0x231371;}function Fi(){const _0x437a7e=_0x523cc0;return Math[_0x437a7e(0x2b3)]()[_0x437a7e(0x29a)](0x24)[_0x437a7e(0x26c)](0x2,0x8);}Fe[_0x523cc0(0x191)]=_0x523cc0(0x26e);var Yi={'tag':_0x523cc0(0x20f),'attrs':{'xmlns':_0x523cc0(0x1d0),'fill':_0x523cc0(0x1ce),'viewBox':_0x523cc0(0x219),'width':_0x523cc0(0x2dd),'height':_0x523cc0(0x2dd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'stroke':_0x523cc0(0x1f5),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x523cc0(0x218),'strokeLinejoin':_0x523cc0(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x523cc0(0x1c7),'attrs':{'id':_0x523cc0(0x30e)},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'fill':_0x523cc0(0x295),'d':_0x523cc0(0x382)}}]}]}],'defIds':[_0x523cc0(0x30e)]},Nt=_0x2b4648(function(_0x3db504,_0x2a9198){const _0x1d9735=_0x523cc0;return _0x10f343(Fe,Object[_0x1d9735(0x311)]({},_0x3db504,{'id':_0x1d9735(0x1c3),'ref':_0x2a9198,'icon':Yi}));});Nt[_0x523cc0(0x191)]='OffLineIcon';var ji={'tag':_0x523cc0(0x20f),'attrs':{'xmlns':_0x523cc0(0x1d0),'fill':_0x523cc0(0x1ce),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x523cc0(0x1ef),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x523cc0(0x218),'strokeLinejoin':_0x523cc0(0x218),'strokeWidth':1.2}}]},{'tag':_0x523cc0(0x1f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x523cc0(0x33c)},'children':[{'tag':'path','attrs':{'fill':_0x523cc0(0x295),'d':_0x523cc0(0x382),'transform':_0x523cc0(0x1b9)}}]}]}],'defIds':[_0x523cc0(0x33c)]},Ut=_0x2b4648(function(_0x5cb5b9,_0x3f6d1b){const _0xb91445=_0x523cc0;return _0x10f343(Fe,Object[_0xb91445(0x311)]({},_0x5cb5b9,{'id':'on-line-icon','ref':_0x3f6d1b,'icon':ji}));});Ut[_0x523cc0(0x191)]='OnLineIcon';function Vi(_0x1d447b){const _0x499717=_0x523cc0;switch(_0x1d447b){case _0xd94271['OFFLINE']:return _0x499717(0x190);case _0xd94271[_0x499717(0x2f6)]:return _0x499717(0x37b);case _0xd94271['FETCH_MISS']:return _0x499717(0x29e);case _0xd94271[_0x499717(0x34d)]:return _0x499717(0x2fa);case _0xd94271['AWAITING']:case _0xd94271[_0x499717(0x1b2)]:return _0x499717(0x2ac);case _0xd94271['SYNCED']:case _0xd94271[_0x499717(0x2e5)]:return'collabStatus.synced';}}function Wi(_0xb7276){const _0x28a6e5=_0x523cc0,{status$:_0x475573}=_0xb7276,_0x45ca76=_0x4355ac(_0x475573,_0xd94271[_0x28a6e5(0x34d)]),_0x8d52e3=_0x4c0f39(_0x531c26),_0x13b2d7=_0x4c0f39(_0x69028c),_0x418947=_0x45ca76!==_0xd94271['OFFLINE'],_0x4c0581=_0x8d52e3['t'](Vi(_0x45ca76)),_0x5926aa=_0x418947?_0x85015b(Ut,{}):_0x85015b(Nt,{}),_0xc3362c=_0x42fed3(()=>{_0x418947||_0x13b2d7['reconnect']();},[_0x418947,_0x13b2d7]);function _0xabbe99(){const _0x25b881=_0x28a6e5;return _0x34d18d('div',{'className':_0x25b881(0x24a),'onClick':_0xc3362c,'children':[_0x85015b(_0x25b881(0x2bc),{'className':_0x44bc42('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x418947,'univer-text-red-500':!_0x418947}),'children':_0x5926aa}),_0x85015b(_0x25b881(0x2bc),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c0581})]});}return _0x418947?_0xabbe99():_0x85015b(_0x5603c1,{'title':_0x8d52e3['t'](_0x28a6e5(0x28b)),'children':_0xabbe99()});}var Xi=Object[_0x523cc0(0x1dd)],Gi=(_0x555314,_0x2b298b,_0x5162b1,_0x470283)=>{const _0x320385=_0x523cc0;for(var _0x532889=_0x470283>0x1?void 0x0:_0x470283?Xi(_0x2b298b,_0x5162b1):_0x2b298b,_0x1486a3=_0x555314[_0x320385(0x2e7)]-0x1,_0x33c7f8;_0x1486a3>=0x0;_0x1486a3--)(_0x33c7f8=_0x555314[_0x1486a3])&&(_0x532889=_0x33c7f8(_0x532889)||_0x532889);return _0x532889;},ee=(_0x42c422,_0x4eac36)=>(_0x5e98c1,_0x7e70c7)=>_0x4eac36(_0x5e98c1,_0x7e70c7,_0x42c422);let se=class extends _0x194f9f{constructor(_0x1aee45,_0x44e313,_0x18e7af,_0x55c4de){const _0x32862d=_0x523cc0;super(),_(this,_0x32862d(0x234),new _0x576a38(_0xd94271['NOT_COLLAB'])),(this[_0x32862d(0x2fb)]=_0x1aee45,this[_0x32862d(0x2e1)]=_0x44e313,this[_0x32862d(0x220)]=_0x18e7af,this[_0x32862d(0x268)]=_0x55c4de,this[_0x32862d(0x1fc)](),this[_0x32862d(0x196)]());}['_initStatusListener'](){const _0x13932a=_0x523cc0;this[_0x13932a(0x25f)](this['_univerInstanceService'][_0x13932a(0x273)][_0x13932a(0x255)](_0x3578a5(()=>{const _0x3bcb44=_0x13932a,_0x30e1ce=this[_0x3bcb44(0x2fb)][_0x3bcb44(0x1a7)]();return _0x30e1ce?this[_0x3bcb44(0x220)][_0x3bcb44(0x368)](_0x30e1ce[_0x3bcb44(0x2b8)]()):_0x384327(null);}),_0x3578a5(_0x25e5e6=>_0x25e5e6?_0x25e5e6['status$']:_0x384327(_0xd94271[_0x13932a(0x34d)])))['subscribe'](_0x1117e2=>{const _0xeb6739=_0x13932a;this['_status$'][_0xeb6739(0x2f5)](_0x1117e2);}));}[_0x523cc0(0x1fc)](){const _0x52a68d=_0x523cc0;this[_0x52a68d(0x25f)](this[_0x52a68d(0x268)]['registerComponent'](_0x2302b6[_0x52a68d(0x2f1)],()=>_0xb0a9ab(Ki({'status$':this[_0x52a68d(0x234)][_0x52a68d(0x28f)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x2302ae),ee(0x1,_0x580399(_0x4c907f)),ee(0x2,_0x580399(_0xd0f008)),ee(0x3,_0x31fa2b)],se);function Ki(_0x57d2b8){const {status$:_0x359a17}=_0x57d2b8;return function(){return _0x85015b(Wi,{'status$':_0x359a17});};}var zi=Object[_0x523cc0(0x1dd)],Ji=(_0x462280,_0x1499ce,_0x4c30e3,_0x5549ee)=>{const _0x3332ca=_0x523cc0;for(var _0x578727=_0x5549ee>0x1?void 0x0:_0x5549ee?zi(_0x1499ce,_0x4c30e3):_0x1499ce,_0x3df611=_0x462280[_0x3332ca(0x2e7)]-0x1,_0x573ce1;_0x3df611>=0x0;_0x3df611--)(_0x573ce1=_0x462280[_0x3df611])&&(_0x578727=_0x573ce1(_0x578727)||_0x578727);return _0x578727;},B=(_0x366ca4,_0x6eef4)=>(_0x16291e,_0x253b78)=>_0x6eef4(_0x16291e,_0x253b78,_0x366ca4);let ie=class extends _0x194f9f{constructor(_0x369bef,_0x31355a,_0x1d47d1,_0x22fb38,_0x5564ca,_0x2bdb3c){const _0x3df6a2=_0x523cc0;super(),this[_0x3df6a2(0x261)]=_0x369bef,this[_0x3df6a2(0x2d6)]=_0x31355a,this[_0x3df6a2(0x1aa)]=_0x1d47d1,this[_0x3df6a2(0x203)]=_0x22fb38,this[_0x3df6a2(0x2fd)]=_0x5564ca,this[_0x3df6a2(0x1f2)]=_0x2bdb3c,this[_0x3df6a2(0x267)](),this['_initEvent']();}[_0x523cc0(0x267)](){const _0x42983e=_0x523cc0;this[_0x42983e(0x25f)](this[_0x42983e(0x261)]['registerBeforeClose'](()=>{const _0x338a0a=_0x42983e;if(this[_0x338a0a(0x2d6)]['saveTaskMap']['size'])return this[_0x338a0a(0x1f2)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x523cc0(0x1f8)](){const _0x2c32b3=_0x523cc0;this[_0x2c32b3(0x25f)](this[_0x2c32b3(0x1aa)][_0x2c32b3(0x292)][_0x2c32b3(0x2a9)](_0xa505d2=>{const _0x59e936=_0x2c32b3;_0xa505d2['id']===_0x5a62db[_0x59e936(0x2e4)]&&this[_0x59e936(0x203)][_0x59e936(0x33b)]({'type':_0x539cb1['Warning'],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x193))}),_0xa505d2['id']===_0x5a62db['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x539cb1[_0x59e936(0x357)],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x19a))}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x302)]&&this[_0x59e936(0x2fd)][_0x59e936(0x33b)]({'title':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x2af)),'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x316)),'type':_0x59e936(0x26d),'duration':0x0}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x2f6)]&&this[_0x59e936(0x203)][_0x59e936(0x33b)]({'type':_0x539cb1[_0x59e936(0x374)],'content':this['_localeService']['t'](_0x59e936(0x19a))+'('+_0xa505d2[_0x59e936(0x1e1)]+')'}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x225)]&&this[_0x59e936(0x203)]['show']({'type':_0x539cb1[_0x59e936(0x357)],'content':this['_localeService']['t'](_0xa505d2[_0x59e936(0x1e1)]||'')}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x209)]&&this['_messageService'][_0x59e936(0x33b)]({'type':_0x539cb1[_0x59e936(0x357)],'content':this['_localeService']['t'](_0x59e936(0x383))}),_0xa505d2['id']===_0x5a62db['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x539cb1['Error'],'content':this[_0x59e936(0x1f2)]['t']('session.connection-failed')}),_0xa505d2['id']===_0x5a62db[_0x59e936(0x1be)]&&this[_0x59e936(0x203)]['show']({'type':_0x539cb1['Error'],'content':this[_0x59e936(0x1f2)]['t'](_0x59e936(0x362))});}));}};ie=Ji([B(0x0,_0x1f9d51),B(0x1,_0xdbe57e),B(0x2,_0x580399(_0x3b2d36)),B(0x3,_0x9d999b),B(0x4,_0xcfe7ba),B(0x5,_0x580399(_0x531c26))],ie);const Zi='collaboration-client-ui.config',et={},Mt=_0x475a6e(_0x523cc0(0x315));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x283ae3,_0x45c016,_0x3e1d07,_0x3bb7cb)=>{const _0x46bcb3=_0x523cc0;for(var _0x175aac=_0x3bb7cb>0x1?void 0x0:_0x3bb7cb?Qi(_0x45c016,_0x3e1d07):_0x45c016,_0x52dca3=_0x283ae3[_0x46bcb3(0x2e7)]-0x1,_0x3f3a1d;_0x52dca3>=0x0;_0x52dca3--)(_0x3f3a1d=_0x283ae3[_0x52dca3])&&(_0x175aac=_0x3f3a1d(_0x175aac)||_0x175aac);return _0x175aac;},K=(_0x1df9f9,_0x113efd)=>(_0x3e1838,_0x5126f6)=>_0x113efd(_0x3e1838,_0x5126f6,_0x1df9f9);let ne=class extends _0x250310{constructor(_0x494f4c,_0x6c7c2c,_0x3698b8,_0x3fb68c,_0x31b703){const _0x2801b5=_0x523cc0;super(),this[_0x2801b5(0x249)]=_0x494f4c,this['_logService']=_0x6c7c2c,this[_0x2801b5(0x227)]=_0x3698b8,this[_0x2801b5(0x18a)]=_0x3fb68c,_0x31b703?_0x31b703==null||_0x31b703[_0x2801b5(0x281)]()[_0x2801b5(0x27a)](()=>this[_0x2801b5(0x2eb)]()):(this[_0x2801b5(0x35b)][_0x2801b5(0x1ad)](_0x2801b5(0x1de),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x523cc0(0x2eb)](){const _0x181c67=_0x523cc0,_0x36db23=this[_0x181c67(0x249)][_0x181c67(0x2b5)](_0x181c67(0x1f3)),_0x524aca=this[_0x181c67(0x249)][_0x181c67(0x2b5)]('type'),_0x5e8a9e=this[_0x181c67(0x249)]['getParam']('subunit');if(!_0x36db23||!_0x524aca){this[_0x181c67(0x35b)]['debug'](_0x181c67(0x1de),_0x181c67(0x301));return;}const _0x1cc1a5=await this['_dataLoaderService'][_0x181c67(0x34b)](_0x36db23,Number(_0x524aca),_0x5e8a9e);_0x1cc1a5&&_0x1cc1a5 instanceof _0x4bef46&&this[_0x181c67(0x1ae)](_0x1cc1a5);}async[_0x523cc0(0x1ae)](_0x512bdc){const _0x40f5e6=_0x523cc0;await this[_0x40f5e6(0x25b)](_0x512bdc),_0x512bdc['activeSheet$']['pipe'](_0x14b24a(this['dispose$']))['subscribe'](_0x2feca0=>{const _0x2126a4=_0x40f5e6;_0x2feca0&&this[_0x2126a4(0x376)](_0x2feca0);}),this[_0x40f5e6(0x249)][_0x40f5e6(0x1da)][_0x40f5e6(0x255)](_0x14b24a(this[_0x40f5e6(0x265)]))[_0x40f5e6(0x2a9)](()=>this[_0x40f5e6(0x25b)](_0x512bdc));}[_0x523cc0(0x376)](_0x3bcae6,_0x57d0c3=!0x1){const _0x557c33=_0x523cc0,_0x8deb7e=this[_0x557c33(0x249)]['getParam'](_0x557c33(0x25d));_0x3bcae6['getSheetId']()!==_0x8deb7e&&this[_0x557c33(0x249)]['setParam'](_0x557c33(0x25d),_0x3bcae6[_0x557c33(0x186)](),_0x57d0c3);}async['_updateSubUnitFromURLParams'](_0x407695){const _0x1a420e=_0x523cc0;var _0x58ba6a;const _0x24479d=this[_0x1a420e(0x249)][_0x1a420e(0x2b5)](_0x1a420e(0x25d));if(!_0x24479d||!_0x407695[_0x1a420e(0x2b1)](_0x24479d)){const _0x184c51=_0x407695[_0x1a420e(0x1b0)]()[0x0],_0x371e0a=_0x407695['getSheetBySheetId'](_0x184c51);if(!_0x371e0a)return;this['_updateURLWithCurrentState'](_0x371e0a,!0x0),await this['_commandService'][_0x1a420e(0x1bf)](_0x2864a5['id'],{'unitId':_0x407695[_0x1a420e(0x2b8)](),'subUnitId':_0x184c51});return;}((_0x58ba6a=_0x407695[_0x1a420e(0x237)]())==null?void 0x0:_0x58ba6a['getSheetId']())!==_0x24479d&&await this[_0x1a420e(0x227)][_0x1a420e(0x1bf)](_0x2864a5['id'],{'unitId':_0x407695['getUnitId'](),'subUnitId':_0x24479d});}};ne=qi([K(0x0,Mt),K(0x1,_0x4c2c44),K(0x2,_0x51013e),K(0x3,_0x580399(_0x35fed9)),K(0x4,_0xcce982(_0x31498c))],ne);var en=Object[_0x523cc0(0x1dd)],tn=(_0x4adfaf,_0x5095f9,_0x49a40f,_0x481ccc)=>{const _0x2bc555=_0x523cc0;for(var _0x1e4cf3=_0x481ccc>0x1?void 0x0:_0x481ccc?en(_0x5095f9,_0x49a40f):_0x5095f9,_0x4397b3=_0x4adfaf[_0x2bc555(0x2e7)]-0x1,_0x47a70b;_0x4397b3>=0x0;_0x4397b3--)(_0x47a70b=_0x4adfaf[_0x4397b3])&&(_0x1e4cf3=_0x47a70b(_0x1e4cf3)||_0x1e4cf3);return _0x1e4cf3;},tt=(_0x5d2658,_0x337958)=>(_0x25f540,_0x2f3e05)=>_0x337958(_0x25f540,_0x2f3e05,_0x5d2658);let re=class{constructor(_0x18031e,_0x2df90e){const _0x2fc00c=_0x523cc0;this['_transformService']=_0x18031e,this[_0x2fc00c(0x364)]=_0x2df90e;}[_0x523cc0(0x2b2)](_0xc30cdc){const _0x21d228=_0x523cc0;this[_0x21d228(0x2c8)](_0xc30cdc),this['_transformPreviousActiveRange'](_0xc30cdc);}[_0x523cc0(0x343)](_0x171b67){const _0x280c57=_0x523cc0,{unitID:_0x53754a}=_0x171b67,_0x160cea=this[_0x280c57(0x364)][_0x280c57(0x36b)](_0x53754a)[_0x280c57(0x289)](_0x2d0939),{redoCache:_0x3a817a}=_0x160cea[_0x280c57(0x2e0)]();if(_0x3a817a[_0x280c57(0x2e7)]===0x0)return _0x171b67;let _0x55c1f2=_0x32180a[_0x280c57(0x2c6)](_0x171b67[_0x280c57(0x2d4)][0x0]);for(let _0x3f7521=0x0;_0x3f7521<_0x3a817a[_0x280c57(0x2e7)];_0x3f7521++){const _0x4bd3e2={'id':_0x280c57(0x2ee),'params':{..._0x3a817a[_0x3f7521]}},_0x2a1ed2=this[_0x280c57(0x25c)][_0x280c57(0x252)](_0x55c1f2,_0x4bd3e2,!0x1);if(_0x5bbade(_0x2a1ed2))throw _0x2a1ed2[_0x280c57(0x26d)];_0x55c1f2=_0x2a1ed2[_0x280c57(0x2bf)];}return{..._0x32180a[_0x280c57(0x2c6)](_0x171b67),'mutations':[_0x55c1f2]};}[_0x523cc0(0x2c8)](_0x34b1a8){const _0x2ede24=_0x523cc0,{unitID:_0x3263fc}=_0x34b1a8,_0x2edd87=this['_renderManagerService']['getRenderById'](_0x3263fc)[_0x2ede24(0x289)](_0x2d0939),{undoCache:_0x5b7830,redoCache:_0x4378fb}=_0x2edd87['getUndoRedoMutationParamsCache']();if(_0x5b7830['length']===0x0||_0x4378fb[_0x2ede24(0x2e7)]===0x0)return;const _0x1ab0a5=[],_0x38847d=[];let _0x6ae107=_0x32180a[_0x2ede24(0x2c6)](_0x34b1a8['mutations'][0x0]),_0x20790c=_0x32180a['deepClone'](_0x34b1a8['mutations'][0x0]);for(let _0x2e971f=_0x5b7830['length']-0x1;_0x2e971f>=0x0;_0x2e971f--){const _0x5a85b5={'id':_0x2ede24(0x2ee),'params':{..._0x5b7830[_0x2e971f]}},_0x52e9fd={'id':'doc.mutation.rich-text-editing','params':{..._0x4378fb[_0x2e971f]}},_0x544925=this[_0x2ede24(0x25c)][_0x2ede24(0x252)](_0x6ae107,_0x5a85b5,!0x1),_0x388249=this['_transformService'][_0x2ede24(0x252)](_0x20790c,_0x52e9fd,!0x1);if(_0x5bbade(_0x544925))throw _0x544925[_0x2ede24(0x26d)];if(_0x5bbade(_0x388249))throw _0x388249[_0x2ede24(0x26d)];_0x1ab0a5[_0x2ede24(0x32b)](_0x544925[_0x2ede24(0x327)][_0x2ede24(0x32e)]),_0x38847d[_0x2ede24(0x32b)](_0x388249[_0x2ede24(0x327)][_0x2ede24(0x32e)]),_0x6ae107=_0x544925['m1Prime'],_0x20790c=_0x388249['m1Prime'];}_0x2edd87[_0x2ede24(0x216)]({'undoCache':_0x1ab0a5,'redoCache':_0x38847d});}[_0x523cc0(0x246)](_0xd8470a){const _0x1cab83=_0x523cc0,{unitID:_0x2c71da}=_0xd8470a,_0x4d781f=this[_0x1cab83(0x364)][_0x1cab83(0x36b)](_0x2c71da)[_0x1cab83(0x289)](_0x2d0939),_0x5d7627=_0x4d781f['getActiveRange']();if(_0x5d7627==null)return;const _0x3fa2b2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd8470a['unitID'],'actions':null,'textRanges':[_0x5d7627]}}],_0x502404=this['_transformService'][_0x1cab83(0x208)](_0xd8470a,_0x3fa2b2);if(!_0x3e8902(_0x502404))throw _0x502404[_0x1cab83(0x26d)];const _0x5882c8=_0x502404[_0x1cab83(0x327)][0x0][_0x1cab83(0x32e)][_0x1cab83(0x2bd)];Array[_0x1cab83(0x2db)](_0x5882c8)&&_0x5882c8['length']&&_0x4d781f[_0x1cab83(0x377)](_0x5882c8[0x0]);}};re=tn([tt(0x0,_0x1c1b18),tt(0x1,_0x51e1fa)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x490a72,_0x530ae5,_0x372e13,_0x4cfe5e)=>{const _0x22e637=_0x523cc0;for(var _0xc27aa6=_0x4cfe5e>0x1?void 0x0:_0x4cfe5e?sn(_0x530ae5,_0x372e13):_0x530ae5,_0x1508ab=_0x490a72[_0x22e637(0x2e7)]-0x1,_0x55a2bf;_0x1508ab>=0x0;_0x1508ab--)(_0x55a2bf=_0x490a72[_0x1508ab])&&(_0xc27aa6=_0x55a2bf(_0xc27aa6)||_0xc27aa6);return _0xc27aa6;},Ce=(_0x1c8987,_0x2fec51)=>(_0xff25b5,_0x2930c3)=>_0x2fec51(_0xff25b5,_0x2930c3,_0x1c8987);let oe=class{constructor(_0x51b0e4,_0x1c4a35,_0xc4798e){const _0x526029=_0x523cc0;this[_0x526029(0x2e1)]=_0x51b0e4,this['_transformService']=_0x1c4a35,this[_0x526029(0x2d0)]=_0xc4798e;}['transformStateCache'](_0x4a727f){const _0xabd17b=_0x523cc0;this[_0xabd17b(0x322)](_0x4a727f);}[_0x523cc0(0x343)](_0x3d5b74){const _0x1e6a90=_0x523cc0,{unitID:_0x37dd1a}=_0x3d5b74,{collaboration:_0x18eccf}=this[_0x1e6a90(0x2d0)][_0x1e6a90(0x19c)](_0x37dd1a);if(_0x18eccf['length']===0x0)return _0x3d5b74;let _0x520d52=_0x32180a[_0x1e6a90(0x2c6)](_0x3d5b74[_0x1e6a90(0x2d4)][0x0]);for(let _0x1c5704=0x0;_0x1c5704<_0x18eccf[_0x1e6a90(0x2e7)];_0x1c5704++){const _0x5c458b={'id':_0x1e6a90(0x2ee),'params':{'unitId':_0x18eccf[_0x1c5704][_0x1e6a90(0x1b6)],..._0x18eccf[_0x1c5704]['redoState']}},_0x20c575=this[_0x1e6a90(0x25c)][_0x1e6a90(0x252)](_0x520d52,_0x5c458b,!0x1);if(_0x5bbade(_0x20c575))throw _0x20c575['error'];_0x520d52=_0x20c575[_0x1e6a90(0x2bf)];}return{..._0x32180a[_0x1e6a90(0x2c6)](_0x3d5b74),'mutations':[_0x520d52]};}[_0x523cc0(0x322)](_0x7e7353){const _0x11917a=_0x523cc0,{unitID:_0x24474f}=_0x7e7353,{history:_0x132140,collaboration:_0x436111}=this[_0x11917a(0x2d0)][_0x11917a(0x19c)](_0x24474f);if(_0x132140['length']===0x0&&_0x436111[_0x11917a(0x2e7)]===0x0)return;const _0x318500=[],_0x204178=[];let _0x3d1e5a=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]),_0x11a4dc=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]);for(let _0x3629a4=_0x132140[_0x11917a(0x2e7)]-0x1;_0x3629a4>=0x0;_0x3629a4--){const _0x228cb4={'id':_0x11917a(0x2ee),'params':{'unitId':_0x132140[_0x3629a4][_0x11917a(0x1b6)],..._0x132140[_0x3629a4][_0x11917a(0x18f)]}},_0x133646={'id':_0x11917a(0x2ee),'params':{'unitId':_0x132140[_0x3629a4][_0x11917a(0x1b6)],..._0x132140[_0x3629a4][_0x11917a(0x2f8)]}},_0x467d40=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x3d1e5a,_0x228cb4,!0x1),_0xb860ab=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x11a4dc,_0x133646,!0x1);if(_0x5bbade(_0x467d40))throw _0x467d40[_0x11917a(0x26d)];if(_0x5bbade(_0xb860ab))throw _0xb860ab[_0x11917a(0x26d)];_0x318500[_0x11917a(0x32b)]({..._0x132140[_0x3629a4],'undoState':_0x467d40[_0x11917a(0x327)]['params'],'redoState':_0xb860ab[_0x11917a(0x327)][_0x11917a(0x32e)]}),_0x3d1e5a=_0x467d40[_0x11917a(0x2bf)],_0x11a4dc=_0xb860ab['m1Prime'];}_0x3d1e5a=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]),_0x11a4dc=_0x32180a[_0x11917a(0x2c6)](_0x7e7353[_0x11917a(0x2d4)][0x0]);for(let _0x307c11=_0x436111[_0x11917a(0x2e7)]-0x1;_0x307c11>=0x0;_0x307c11--){const _0x2af53c={'id':_0x11917a(0x2ee),'params':{'unitId':_0x436111[_0x307c11][_0x11917a(0x1b6)],..._0x436111[_0x307c11][_0x11917a(0x18f)]}},_0x398d1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x436111[_0x307c11][_0x11917a(0x1b6)],..._0x436111[_0x307c11][_0x11917a(0x2f8)]}},_0x41ed3f=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x3d1e5a,_0x2af53c,!0x1),_0x2e597e=this[_0x11917a(0x25c)][_0x11917a(0x252)](_0x11a4dc,_0x398d1e,!0x1);if(_0x5bbade(_0x41ed3f))throw _0x41ed3f[_0x11917a(0x26d)];if(_0x5bbade(_0x2e597e))throw _0x2e597e[_0x11917a(0x26d)];_0x204178[_0x11917a(0x32b)]({..._0x436111[_0x307c11],'undoState':_0x41ed3f[_0x11917a(0x327)]['params'],'redoState':_0x2e597e['m2Prime']['params']}),_0x3d1e5a=_0x41ed3f['m1Prime'],_0x11a4dc=_0x2e597e[_0x11917a(0x2bf)];}this[_0x11917a(0x2d0)][_0x11917a(0x1eb)](_0x24474f,{'history':_0x318500,'collaboration':_0x204178});}};oe=nn([Ce(0x0,_0x580399(_0x4c907f)),Ce(0x1,_0x1c1b18),Ce(0x2,_0x580399(_0x5ef5f1))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2946e7,_0x24394f,_0x36e2a1,_0x15a595)=>{const _0xc1650a=_0x523cc0;for(var _0x1dd7b1=_0x15a595>0x1?void 0x0:_0x15a595?rn(_0x24394f,_0x36e2a1):_0x24394f,_0x362142=_0x2946e7[_0xc1650a(0x2e7)]-0x1,_0x2cc7f2;_0x362142>=0x0;_0x362142--)(_0x2cc7f2=_0x2946e7[_0x362142])&&(_0x1dd7b1=_0x2cc7f2(_0x1dd7b1)||_0x1dd7b1);return _0x1dd7b1;},st=(_0x471016,_0x55f523)=>(_0x261d2b,_0x3cb667)=>_0x55f523(_0x261d2b,_0x3cb667,_0x471016);let ae=class{constructor(_0x4c5278,_0x1a9a4e){const _0x3df610=_0x523cc0;this[_0x3df610(0x2e1)]=_0x4c5278,this['_transformService']=_0x1a9a4e;}['transformSelections'](_0x16951a){const _0x336fa7=_0x523cc0;var _0x2496f5;const _0x3be93f=this[_0x336fa7(0x2e1)][_0x336fa7(0x37c)](_0x25c659),_0x4d9633=(_0x2496f5=_0x3be93f[_0x336fa7(0x2c0)]())!=null?_0x2496f5:[];if(_0x4d9633[_0x336fa7(0x2e7)]===0x0)return;const _0x5e970d=_0x16951a[_0x336fa7(0x2ed)],_0x4334e2=[{'id':_0x336fa7(0x2ee),'params':{'unitId':_0x5e970d,'actions':null,'textRanges':_0x4d9633}}],_0x240aa7=this[_0x336fa7(0x25c)]['transformMutationsWithChangeset'](_0x16951a,_0x4334e2);if(!_0x3e8902(_0x240aa7))throw _0x240aa7[_0x336fa7(0x26d)];const _0x3a2afc=_0x240aa7[_0x336fa7(0x327)][0x0][_0x336fa7(0x32e)][_0x336fa7(0x2bd)];Array[_0x336fa7(0x2db)](_0x3a2afc)&&_0x3a2afc[_0x336fa7(0x2e7)]&&_0x3be93f[_0x336fa7(0x37e)](_0x3a2afc,{'unitId':_0x5e970d,'subUnitId':_0x5e970d},!0x1);}};ae=on([st(0x0,_0x580399(_0x4c907f)),st(0x1,_0x1c1b18)],ae);var an=Object[_0x523cc0(0x1dd)],cn=(_0xa5bfea,_0x1057a1,_0x1e9310,_0x3aabab)=>{for(var _0xcb1a74=_0x3aabab>0x1?void 0x0:_0x3aabab?an(_0x1057a1,_0x1e9310):_0x1057a1,_0x150884=_0xa5bfea['length']-0x1,_0x29e80;_0x150884>=0x0;_0x150884--)(_0x29e80=_0xa5bfea[_0x150884])&&(_0xcb1a74=_0x29e80(_0xcb1a74)||_0xcb1a74);return _0xcb1a74;},N=(_0xa55504,_0x4d09d0)=>(_0x3e4c3d,_0x4a1b19)=>_0x4d09d0(_0x3e4c3d,_0x4a1b19,_0xa55504);let ce=class extends _0x194f9f{constructor(_0x1d762b,_0x438413,_0x4fe513,_0x3b1915,_0x109194,_0x107b2b,_0x4384ad,_0x1d4e00){const _0x408dc6=_0x523cc0;super(),_(this,_0x408dc6(0x234),new _0x576a38(_0xd94271[_0x408dc6(0x34d)])),(this[_0x408dc6(0x2d0)]=_0x1d762b,this[_0x408dc6(0x220)]=_0x438413,this[_0x408dc6(0x1ca)]=_0x4fe513,this[_0x408dc6(0x285)]=_0x3b1915,this['_docTransformSelectionsService']=_0x109194,this[_0x408dc6(0x20d)]=_0x107b2b,this[_0x408dc6(0x203)]=_0x4384ad,this['_localeService']=_0x1d4e00,this[_0x408dc6(0x2b7)]());}[_0x523cc0(0x2b7)](){const _0x49845b=_0x523cc0;this[_0x49845b(0x25f)](this['_collaborationController']['entityInit$'][_0x49845b(0x2a9)](_0xe41605=>{const _0x505e56=_0x49845b,_0xc406a9=this[_0x505e56(0x2d0)][_0x505e56(0x32c)][_0x505e56(0x2a9)](_0x1536af=>{const _0x3810b9=_0x505e56;if(_0x1536af==null)return;const {unitId:_0x3d36bb,redoState:_0x23de28,commandId:_0x1224b7}=_0x1536af;if(_0x3d36bb!==_0xe41605[_0x3810b9(0x2ed)])return;const _0x540591={'id':_0x1224b7,'type':_0xde50b7[_0x3810b9(0x359)],'params':{'unitId':_0x3d36bb,'actions':_0x23de28[_0x3810b9(0x2c7)],'textRanges':null}};_0xe41605['onLocalMutation'](_0x540591);});if(_0xe41605[_0x505e56(0x25f)](_0xc406a9),_0xe41605 instanceof _0x7ab8e3){const _0x7d6bb={'onTransformIME':_0x250f91=>this[_0x505e56(0x1ca)][_0x505e56(0x2b2)](_0x250f91),'onTransformState':_0x49e047=>this[_0x505e56(0x285)]['transformStateCache'](_0x49e047),'onTransformSelections':_0x18ac7b=>this[_0x505e56(0x2d5)]['transformSelections'](_0x18ac7b),'onSyncEditingCollabCursor':_0x42c3e0=>this[_0x505e56(0x20d)][_0x505e56(0x19b)](_0x42c3e0),'onTransformRemoteChangesetByIMECache':_0x162274=>this[_0x505e56(0x1ca)][_0x505e56(0x343)](_0x162274),'onTransformRemoteChangesetByStateCache':_0x1e3eed=>this[_0x505e56(0x285)][_0x505e56(0x343)](_0x1e3eed)};_0xe41605['addHandlerCallback'](_0x7d6bb);}}));}};ce=cn([N(0x0,_0x580399(_0x5ef5f1)),N(0x1,_0x580399(_0xd0f008)),N(0x2,_0x580399(re)),N(0x3,_0x580399(oe)),N(0x4,_0x580399(ae)),N(0x5,_0x580399(He)),N(0x6,_0x9d999b),N(0x7,_0x580399(_0x531c26))],ce);var ln=Object[_0x523cc0(0x1dd)],_n=(_0x27020c,_0xd0dd06,_0x16c0ee,_0x212c10)=>{for(var _0x178c65=_0x212c10>0x1?void 0x0:_0x212c10?ln(_0xd0dd06,_0x16c0ee):_0xd0dd06,_0x3ff693=_0x27020c['length']-0x1,_0x260d16;_0x3ff693>=0x0;_0x3ff693--)(_0x260d16=_0x27020c[_0x3ff693])&&(_0x178c65=_0x260d16(_0x178c65)||_0x178c65);return _0x178c65;},Ee=(_0x18d131,_0xbc1339)=>(_0x34a6ec,_0x1b5b39)=>_0xbc1339(_0x34a6ec,_0x1b5b39,_0x18d131);let we=class extends _0x194f9f{constructor(_0x5565a8,_0x2fbd41,_0x20f5f7){const _0x154669=_0x523cc0;super(),_(this,_0x154669(0x332),new Map()),_(this,_0x154669(0x31a),new Map()),_(this,'_disabled',!0x1),(this[_0x154669(0x205)]=_0x5565a8,this[_0x154669(0x352)]=_0x2fbd41,this[_0x154669(0x2a4)]=_0x20f5f7);}[_0x523cc0(0x1e2)](){const _0x37d03a=_0x523cc0;this[_0x37d03a(0x30f)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x523cc0(0x29f)](){const _0xfa820e=_0x523cc0;return this[_0xfa820e(0x31a)];}['dispose'](){const _0xf486eb=_0x523cc0;this['exhaustSavingTask']()[_0xf486eb(0x27a)](()=>super[_0xf486eb(0x2f4)]());}async[_0x523cc0(0x1cc)](_0xe5ad70){const _0x5c291b=_0x523cc0;return this[_0x5c291b(0x30f)]?null:this[_0x5c291b(0x352)][_0x5c291b(0x228)](_0xccfab1(_0xe5ad70));}async[_0x523cc0(0x231)](_0x209b64,_0x5421cf){const _0x35b5a2=_0x523cc0;return!!this['_localStorageService'][_0x35b5a2(0x1f4)](_0x209b64,_0x5421cf);}[_0x523cc0(0x18b)](_0x5ea1ed,_0x16fbcf,_0x2f63ee,_0x16687f){const _0x385ba0=_0x523cc0,_0x541303=this[_0x385ba0(0x2a4)][_0x385ba0(0x1f1)](_0x5ea1ed);this[_0x385ba0(0x332)][_0x385ba0(0x36f)](_0x5ea1ed,{'unitID':_0x5ea1ed,'type':_0x16fbcf,'awaitingChangeset':_0x2f63ee,'mutations':_0x16687f,'rev':_0x541303}),this[_0x385ba0(0x31a)][_0x385ba0(0x236)](_0x5ea1ed)||this[_0x385ba0(0x1b5)](_0x5ea1ed);}[_0x523cc0(0x1b5)](_0x3e81aa){const _0xcb41f9=_0x523cc0,_0x20410f=this['_getSaveTimeout']();_0x20410f===0x0?this['_saveCache'](_0x3e81aa):this[_0xcb41f9(0x31a)]['set'](_0x3e81aa,setTimeout(()=>this[_0xcb41f9(0x275)](_0x3e81aa),_0x20410f));}[_0x523cc0(0x21c)](){const _0x57ebac=_0x523cc0;var _0x55e5bd;return(_0x55e5bd=this[_0x57ebac(0x205)][_0x57ebac(0x35a)](_0x10a9f1))!=null?_0x55e5bd:_0x30944d;}['_saveCache'](_0x221e07){const _0x314fd0=_0x523cc0,_0x1fd6dd=this[_0x314fd0(0x31a)][_0x314fd0(0x37c)](_0x221e07);return _0x1fd6dd!==void 0x0&&window[_0x314fd0(0x1ec)](_0x1fd6dd),this[_0x314fd0(0x352)][_0x314fd0(0x1f4)](_0xccfab1(_0x221e07),this[_0x314fd0(0x332)]['get'](_0x221e07))[_0x314fd0(0x27a)](()=>this[_0x314fd0(0x31a)]['delete'](_0x221e07));}async[_0x523cc0(0x2a3)](){const _0x59a2a2=[];this['_saveTaskMap']['forEach']((_0x22a42c,_0x2ed3ae)=>{const _0x512828=_0xde4b;window[_0x512828(0x1ec)](_0x22a42c),_0x59a2a2[_0x512828(0x2c1)](this['_saveCache'](_0x2ed3ae)['then'](()=>{const _0x136c50=_0x512828;this[_0x136c50(0x31a)][_0x136c50(0x313)](_0x2ed3ae);}));}),await Promise['all'](_0x59a2a2);}};we=_n([Ee(0x0,_0x3e9cdd),Ee(0x1,_0x7d85eb),Ee(0x2,_0x580399(_0x7d8534))],we);function _0xde4b(_0x14f26a,_0x195fd8){const _0x40fc92=_0x40fc();return _0xde4b=function(_0xde4b89,_0x3f8261){_0xde4b89=_0xde4b89-0x185;let _0x51b06a=_0x40fc92[_0xde4b89];return _0x51b06a;},_0xde4b(_0x14f26a,_0x195fd8);}class hn extends _0x250310{constructor(){const _0x2eeb4b=_0x523cc0;super(),_(this,_0x2eeb4b(0x1da)),this['urlChange$']=_0x32c97b(window,_0x2eeb4b(0x32f))['pipe'](_0x14b24a(this[_0x2eeb4b(0x265)]),_0x1de38f(0x1),_0xee19f8(void 0x0));}[_0x523cc0(0x22c)](_0x44e033,_0xd71235,_0x4847bd=!0x1){const _0x3c4db9=_0x523cc0,_0x43e56c=new URL(window[_0x3c4db9(0x351)]['href']);_0x43e56c[_0x3c4db9(0x2ba)][_0x3c4db9(0x36f)](_0x44e033,_0xd71235),_0x4847bd?window[_0x3c4db9(0x1c5)][_0x3c4db9(0x244)]('','',_0x43e56c['toString']()):window[_0x3c4db9(0x1c5)][_0x3c4db9(0x1e3)]('','',_0x43e56c['toString']());}['removeParam'](_0x358205,_0x4256c5=!0x1){const _0x4465d0=_0x523cc0,_0x3fe3b3=new URL(window[_0x4465d0(0x351)][_0x4465d0(0x201)]);_0x3fe3b3[_0x4465d0(0x2ba)][_0x4465d0(0x313)](_0x358205),_0x4256c5?window[_0x4465d0(0x1c5)]['replaceState']('','',_0x3fe3b3['toString']()):window[_0x4465d0(0x1c5)]['pushState']('','',_0x3fe3b3[_0x4465d0(0x29a)]());}[_0x523cc0(0x2b5)](_0x14395b){const _0x4b8878=_0x523cc0;var _0x3fa15b;return(_0x3fa15b=new URL(window[_0x4b8878(0x351)]['href'])[_0x4b8878(0x2ba)]['get'](_0x14395b))!=null?_0x3fa15b:void 0x0;}}var un=Object[_0x523cc0(0x2d1)],dn=Object[_0x523cc0(0x1dd)],fn=(_0x5ec1cb,_0x246a4f,_0x441311)=>_0x246a4f in _0x5ec1cb?un(_0x5ec1cb,_0x246a4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x441311}):_0x5ec1cb[_0x246a4f]=_0x441311,Sn=(_0x5602f7,_0xbded7e,_0x16d052,_0x531b52)=>{const _0x2b82b3=_0x523cc0;for(var _0x302a2a=_0x531b52>0x1?void 0x0:_0x531b52?dn(_0xbded7e,_0x16d052):_0xbded7e,_0x174945=_0x5602f7[_0x2b82b3(0x2e7)]-0x1,_0x1b1d12;_0x174945>=0x0;_0x174945--)(_0x1b1d12=_0x5602f7[_0x174945])&&(_0x302a2a=_0x1b1d12(_0x302a2a)||_0x302a2a);return _0x302a2a;},Oe=(_0x15b534,_0x2f511b)=>(_0x5c6d61,_0x105bf5)=>_0x2f511b(_0x5c6d61,_0x105bf5,_0x15b534),mn=(_0x550b23,_0x160306,_0x3c8314)=>fn(_0x550b23,_0x160306+'',_0x3c8314);const In=_0x523cc0(0x381);let Ae=class extends _0x1e00b1{constructor(_0xed164a=et,_0x37fa9d,_0xbacc5f,_0x5a1e57){const _0x4b8e85=_0x523cc0;super(),this[_0x4b8e85(0x1a2)]=_0xed164a,this[_0x4b8e85(0x364)]=_0x37fa9d,this[_0x4b8e85(0x2e1)]=_0xbacc5f,this[_0x4b8e85(0x205)]=_0x5a1e57;const {..._0x448071}=_0x2692fd({},et,this['_config']);this['_configService'][_0x4b8e85(0x369)](Zi,_0x448071);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x523cc0(0x34e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x52dc57=_0x523cc0;var _0x2265ff;const _0x2bd1fb=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0xc9a6,{'useClass':_0x40c4c6}],[_0xdbe57e,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x4a5b8c(this['_injector'],_0xcce9f5(_0x2bd1fb,(_0x2265ff=this['_config'])==null?void 0x0:_0x2265ff[_0x52dc57(0x233)]));}[_0x523cc0(0x30c)](){const _0x431516=_0x523cc0;this[_0x431516(0x25f)](this[_0x431516(0x364)][_0x431516(0x355)](_0x4e8f3d[_0x431516(0x272)],[Le])),this[_0x431516(0x25f)](this[_0x431516(0x364)][_0x431516(0x355)](_0x4e8f3d['UNIVER_SHEET'],[Pe]));}[_0x523cc0(0x337)](){const _0x2161f3=_0x523cc0;_0xd2cd02(this[_0x2161f3(0x2e1)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x523cc0(0x1fe),In),Ae=Sn([_0x3f9a21(_0x1b2ecd),Oe(0x1,_0x51e1fa),Oe(0x2,_0x580399(_0x4c907f)),Oe(0x3,_0x3e9cdd)],Ae);var vn=Object[_0x523cc0(0x1dd)],gn=(_0x5f42b5,_0x5428db,_0x19e1ed,_0x26b878)=>{const _0x1c7a8d=_0x523cc0;for(var _0x38c92c=_0x26b878>0x1?void 0x0:_0x26b878?vn(_0x5428db,_0x19e1ed):_0x5428db,_0x5a8b6c=_0x5f42b5[_0x1c7a8d(0x2e7)]-0x1,_0x67d3f5;_0x5a8b6c>=0x0;_0x5a8b6c--)(_0x67d3f5=_0x5f42b5[_0x5a8b6c])&&(_0x38c92c=_0x67d3f5(_0x38c92c)||_0x38c92c);return _0x38c92c;},z=(_0x100296,_0x56bf1f)=>(_0x5aa5fd,_0x1e40a9)=>_0x56bf1f(_0x5aa5fd,_0x1e40a9,_0x100296);let it=class extends _0x202441{constructor(_0x5d94c0,_0x2ad01d,_0x43079e,_0x407d4a,_0x22124a){super(_0x5d94c0,_0x2ad01d,_0x43079e,_0x407d4a,_0x22124a);}async[_0x523cc0(0x20b)](_0x18b566){const _0x569893=_0x523cc0,_0x2c21d0=await this[_0x569893(0x1dc)](),_0x3c94bd=this[_0x569893(0x1e4)](_0x18b566,_0x2c21d0);return this[_0x569893(0x29d)](_0x3c94bd);}['_createSocketURL'](_0x504475,_0x3ea39a){const _0x519259=_0x523cc0,_0x3a11ba=typeof window>'u'?new URL(_0x504475):new URL(_0x504475,window['location'][_0x519259(0x19f)]);_0x3a11ba[_0x519259(0x2ba)]['set'](_0x519259(0x2ab),_0x3ea39a);const _0x441b2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x519259(0x351)][_0x519259(0x323)]);return _0x441b2b['get'](_0x519259(0x329))&&_0x3a11ba['searchParams'][_0x519259(0x36f)](_0x519259(0x329),_0x441b2b['get'](_0x519259(0x329))),_0x3a11ba[_0x519259(0x29a)]();}async[_0x523cc0(0x1dc)](){const _0x41d331=_0x523cc0;var _0x23ec62,_0x42af03,_0x8c76cd;const _0x3cfb83=this[_0x41d331(0x205)][_0x41d331(0x35a)](_0x48c40a),_0xc9d69b=(_0x23ec62=_0x3cfb83==null?void 0x0:_0x3cfb83[_0x41d331(0x2f7)])!=null?_0x23ec62:_0x469a54;return(_0x8c76cd=(_0x42af03=(await this[_0x41d331(0x200)][_0x41d331(0x37c)](_0xc9d69b,{'headers':{'Content-Type':_0x41d331(0x2b0)}}))[_0x41d331(0x199)])==null?void 0x0:_0x42af03[_0x41d331(0x1a8)])!=null?_0x8c76cd:'';}};it=gn([z(0x0,_0x580399(_0x4c907f)),z(0x1,_0x580399(_0x50b86c)),z(0x2,_0x3e9cdd),z(0x3,_0x4c2c44),z(0x4,_0x25762a)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x194f9f{constructor(){const _0x2d3401=_0x523cc0;super(),_(this,_0x2d3401(0x18e),_0xabdb9a()),_(this,_0x2d3401(0x386),new Set()),_(this,_0x2d3401(0x350),new Map()),_(this,_0x2d3401(0x35d),null),_(this,_0x2d3401(0x365),new Map()),_(this,_0x2d3401(0x21f),new Map()),this[_0x2d3401(0x2eb)]();}['dispose'](){const _0x4e9010=_0x523cc0;super[_0x4e9010(0x2f4)](),this['_clearOtherTimers']['forEach']((_0x3c32f7,_0x3cb917)=>this[_0x4e9010(0x373)](_0x3cb917)),this[_0x4e9010(0x35d)]&&window[_0x4e9010(0x33d)](this[_0x4e9010(0x35d)]);}[_0x523cc0(0x1ee)](_0x443da3){const _0x23cdbf=_0x523cc0;return this[_0x23cdbf(0x2ef)](_0x443da3)['pipe'](_0xe9047e());}[_0x523cc0(0x37f)](_0x581453){const _0x399d77=_0x523cc0;this['_selfUnitIDs'][_0x399d77(0x23b)]===0x0&&this[_0x399d77(0x28e)](),this[_0x399d77(0x386)]['add'](_0x581453),this['_send']({'type':0x0,'memberID':this[_0x399d77(0x18e)],'unitIDs':[_0x581453],'isForwarded':!0x1});}['disposeUnit'](_0x459e80){const _0x191358=_0x523cc0;this[_0x191358(0x386)][_0x191358(0x313)](_0x459e80),this[_0x191358(0x386)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x523cc0(0x2eb)](){const _0x55ccf3=_0x523cc0;this[_0x55ccf3(0x25f)](_0x330c70(_0x32c97b(window,_0x55ccf3(0x258))[_0x55ccf3(0x2a9)](_0x12ff72=>{const _0x2d23de=_0x55ccf3;if(_0x12ff72[_0x2d23de(0x34f)]!==rt||!_0x12ff72[_0x2d23de(0x35f)])return;const _0x490aef=JSON['parse'](_0x12ff72[_0x2d23de(0x35f)]);this['_handleEvent'](_0x490aef);}))),window[_0x55ccf3(0x30d)]('unload',()=>this[_0x55ccf3(0x185)]({'type':0x1,'memberID':this[_0x55ccf3(0x18e)],'unitIDs':Array[_0x55ccf3(0x330)](this[_0x55ccf3(0x386)])}));}[_0x523cc0(0x36c)](_0x4d87d0){const _0x42b644=_0x523cc0;switch(_0x4d87d0[_0x42b644(0x2fe)]){case 0x0:this['_handleJoinEvent'](_0x4d87d0);break;case 0x1:this[_0x42b644(0x1ba)](_0x4d87d0);break;case 0x2:this[_0x42b644(0x2df)](_0x4d87d0);break;}}[_0x523cc0(0x264)](_0x5df339){const _0x35896a=_0x523cc0,{unitIDs:_0x2cf638,memberID:_0x4882b5,isForwarded:_0x1fc9f3}=_0x5df339;_0x2cf638[_0x35896a(0x339)](_0x5189a0=>{const _0x391323=_0x35896a;if(!_0x1fc9f3&&this[_0x391323(0x350)][_0x391323(0x236)](_0x5189a0)&&this[_0x391323(0x2ef)](_0x5189a0)[_0x391323(0x2f5)](_0x1070de[_0x391323(0x2ae)]),!this[_0x391323(0x350)][_0x391323(0x236)](_0x5189a0)||!this[_0x391323(0x350)][_0x391323(0x37c)](_0x5189a0)[_0x391323(0x236)](_0x4882b5)){const _0x277707=this[_0x391323(0x350)][_0x391323(0x37c)](_0x5189a0)||new Set();_0x277707[_0x391323(0x238)](_0x4882b5),this[_0x391323(0x350)][_0x391323(0x36f)](_0x5189a0,_0x277707),this[_0x391323(0x29b)](_0x4882b5);}}),_0x1fc9f3||this[_0x35896a(0x185)]({'type':0x0,'memberID':this[_0x35896a(0x18e)],'unitIDs':[...this[_0x35896a(0x386)]],'isForwarded':!0x0});}[_0x523cc0(0x29b)](_0x5d4103){const _0x2d7fe1=_0x523cc0;this[_0x2d7fe1(0x373)](_0x5d4103);const _0x31ae33=window[_0x2d7fe1(0x21a)](()=>{const _0x5336cf=_0x2d7fe1;this[_0x5336cf(0x350)][_0x5336cf(0x339)](_0x324452=>{const _0x54d94c=_0x5336cf;_0x324452[_0x54d94c(0x313)](_0x5d4103);});},nt*0x2);this['_clearOtherTimers'][_0x2d7fe1(0x36f)](_0x5d4103,_0x31ae33);}['_removeClearOtherTimer'](_0x33d86f){const _0x510051=_0x523cc0;if(this['_clearOtherTimers'][_0x510051(0x236)](_0x33d86f)){const _0x3bad9a=this['_clearOtherTimers'][_0x510051(0x37c)](_0x33d86f);_0x3bad9a&&window[_0x510051(0x1ec)](_0x3bad9a),this[_0x510051(0x365)][_0x510051(0x36f)](_0x33d86f,null);}}[_0x523cc0(0x1ba)](_0x155124){const _0x1bd135=_0x523cc0,{memberID:_0x126d41,unitIDs:_0x5689b6}=_0x155124;_0x5689b6['forEach'](_0x406b13=>{const _0x2c4653=_0xde4b;var _0x5a1d9a;const _0xb1cd59=this[_0x2c4653(0x350)][_0x2c4653(0x37c)](_0x406b13);_0xb1cd59&&(_0xb1cd59[_0x2c4653(0x313)](_0x126d41),(_0x5a1d9a=this[_0x2c4653(0x2ef)](_0x406b13))==null||_0x5a1d9a[_0x2c4653(0x2f5)](_0xb1cd59[_0x2c4653(0x23b)]===0x0?_0x1070de[_0x2c4653(0x1b3)]:_0x1070de[_0x2c4653(0x2ae)]));}),this[_0x1bd135(0x373)](_0x126d41);}[_0x523cc0(0x2df)](_0x7ac738){const _0x3eb002=_0x523cc0;this[_0x3eb002(0x29b)](_0x7ac738[_0x3eb002(0x2b9)]);}[_0x523cc0(0x185)](_0x218883){const _0x5252ad=_0x523cc0;localStorage[_0x5252ad(0x1f4)](rt,JSON['stringify'](_0x218883));}['_scheduleHeartbeat'](){const _0x95a1c2=_0x523cc0;this['_heartbeatTimer']=window[_0x95a1c2(0x328)](()=>{const _0x1e45ae=_0x95a1c2;this[_0x1e45ae(0x185)]({'type':0x2,'memberID':this[_0x1e45ae(0x18e)]});},nt);}[_0x523cc0(0x2ef)](_0x485995){const _0xcc7734=_0x523cc0;return this[_0xcc7734(0x21f)][_0xcc7734(0x236)](_0x485995)||this[_0xcc7734(0x21f)]['set'](_0x485995,new _0x576a38(_0x1070de['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xcc7734(0x37c)](_0x485995);}}var Lt=(_0x2a1700=>(_0x2a1700[_0x2a1700[_0x523cc0(0x266)]=0x0]=_0x523cc0(0x266),_0x2a1700[_0x2a1700['OK']=0x1]='OK',_0x2a1700[_0x2a1700[_0x523cc0(0x35c)]=0x2]='INTERNAL_ERROR',_0x2a1700[_0x2a1700['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2a1700[_0x2a1700[_0x523cc0(0x385)]=0x4]=_0x523cc0(0x385),_0x2a1700[_0x2a1700[_0x523cc0(0x2de)]=0x5]=_0x523cc0(0x2de),_0x2a1700[_0x2a1700[_0x523cc0(0x20e)]=0x6]=_0x523cc0(0x20e),_0x2a1700[_0x2a1700[_0x523cc0(0x1f0)]=0x7]=_0x523cc0(0x1f0),_0x2a1700[_0x2a1700[_0x523cc0(0x1c6)]=0x8]='TOO_MANY_REQUESTS',_0x2a1700[_0x2a1700['COMPLETION_FINISHED']=0x9]=_0x523cc0(0x2ca),_0x2a1700[_0x2a1700[_0x523cc0(0x259)]=0xa]=_0x523cc0(0x259),_0x2a1700[_0x2a1700[_0x523cc0(0x354)]=0xb]=_0x523cc0(0x354),_0x2a1700[_0x2a1700[_0x523cc0(0x36d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x2c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2a1700[_0x2a1700[_0x523cc0(0x326)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x34c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2a1700[_0x2a1700[_0x523cc0(0x388)]=0x1771]=_0x523cc0(0x388),_0x2a1700[_0x2a1700[_0x523cc0(0x361)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2a1700[_0x2a1700['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a1700[_0x2a1700[_0x523cc0(0x378)]=0x1b59]=_0x523cc0(0x378),_0x2a1700[_0x2a1700[_0x523cc0(0x346)]=0x1b5a]=_0x523cc0(0x346),_0x2a1700[_0x2a1700[_0x523cc0(0x18c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a1700[_0x2a1700['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x523cc0(0x276),_0x2a1700[_0x2a1700[_0x523cc0(0x24d)]=0x1b5d]=_0x523cc0(0x24d),_0x2a1700[_0x2a1700[_0x523cc0(0x26a)]=0x1f41]=_0x523cc0(0x26a),_0x2a1700[_0x2a1700[_0x523cc0(0x212)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2a1700[_0x2a1700[_0x523cc0(0x2a0)]=0x232a]=_0x523cc0(0x2a0),_0x2a1700[_0x2a1700[_0x523cc0(0x1cd)]=0x232b]=_0x523cc0(0x1cd),_0x2a1700[_0x2a1700[_0x523cc0(0x1e7)]=0x232c]=_0x523cc0(0x1e7),_0x2a1700[_0x2a1700[_0x523cc0(0x1a5)]=0x232d]=_0x523cc0(0x1a5),_0x2a1700[_0x2a1700[_0x523cc0(0x35e)]=0x2711]=_0x523cc0(0x35e),_0x2a1700[_0x2a1700[_0x523cc0(0x24f)]=0x2712]=_0x523cc0(0x24f),_0x2a1700[_0x2a1700[_0x523cc0(0x347)]=0x2713]=_0x523cc0(0x347),_0x2a1700[_0x2a1700[_0x523cc0(0x300)]=0x2714]=_0x523cc0(0x300),_0x2a1700[_0x2a1700[_0x523cc0(0x224)]=0x271a]=_0x523cc0(0x224),_0x2a1700[_0x2a1700[_0x523cc0(0x23c)]=0x271b]=_0x523cc0(0x23c),_0x2a1700[_0x2a1700[_0x523cc0(0x1f7)]=0x271c]=_0x523cc0(0x1f7),_0x2a1700[_0x2a1700['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x523cc0(0x303),_0x2a1700[_0x2a1700[_0x523cc0(0x21e)]=0x271e]=_0x523cc0(0x21e),_0x2a1700[_0x2a1700[_0x523cc0(0x1bb)]=0x271f]=_0x523cc0(0x1bb),_0x2a1700[_0x2a1700[_0x523cc0(0x195)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2a1700[_0x2a1700['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x523cc0(0x356),_0x2a1700[_0x2a1700['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x523cc0(0x1a1),_0x2a1700[_0x2a1700['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x2a1700[_0x2a1700[_0x523cc0(0x2cb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a1700[_0x2a1700[_0x523cc0(0x2e2)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2a1700[_0x2a1700[_0x523cc0(0x2a6)]=0x2ee5]=_0x523cc0(0x2a6),_0x2a1700[_0x2a1700['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x523cc0(0x1c1),_0x2a1700[_0x2a1700[_0x523cc0(0x280)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2a1700[_0x2a1700['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x523cc0(0x2d8),_0x2a1700[_0x2a1700['UNRECOGNIZED']=-0x1]=_0x523cc0(0x1b4),_0x2a1700))(Lt||{}),pn=Object[_0x523cc0(0x1dd)],Cn=(_0x353a7e,_0x530a70,_0x77ec26,_0x1b41c4)=>{const _0x27524b=_0x523cc0;for(var _0x2d14fc=_0x1b41c4>0x1?void 0x0:_0x1b41c4?pn(_0x530a70,_0x77ec26):_0x530a70,_0x3ab649=_0x353a7e[_0x27524b(0x2e7)]-0x1,_0x337649;_0x3ab649>=0x0;_0x3ab649--)(_0x337649=_0x353a7e[_0x3ab649])&&(_0x2d14fc=_0x337649(_0x2d14fc)||_0x2d14fc);return _0x2d14fc;},be=(_0x240369,_0x451634)=>(_0xdc0dd,_0x184ef2)=>_0x451634(_0xdc0dd,_0x184ef2,_0x240369);let ot=class extends _0x194f9f{constructor(_0xdcf5e7,_0x5cc523,_0x3a0491){const _0x2aa016=_0x523cc0;super(),this[_0x2aa016(0x2b6)]=_0xdcf5e7,this[_0x2aa016(0x200)]=_0x5cc523,this[_0x2aa016(0x205)]=_0x3a0491;}async[_0x523cc0(0x211)](_0x23cfd2,_0x5851b3,_0x49100a,..._0x2257f8){const _0x52f6ef=_0x523cc0;var _0x97bab1,_0x3bb01a,_0x2f31bf,_0x5f556f;const _0x3ea9cc=this[_0x52f6ef(0x2b6)]['getFocusedUnit']();if(!_0x3ea9cc)throw new Error(_0x52f6ef(0x1a4));const _0x8780a0=((_0x97bab1=this['_configService']['getConfig'](_0x31095e))!=null?_0x97bab1:_0x5f1758)+'/'+_0x23cfd2+_0x52f6ef(0x36e)+_0x5851b3,_0x13ddca=new URL(window[_0x52f6ef(0x351)]['href']),_0x1d24eb={'scriptId':_0x23cfd2,'runId':(_0x3bb01a=_0x13ddca[_0x52f6ef(0x2ba)]['get'](_0x52f6ef(0x329)))!=null?_0x3bb01a:'','function':_0x5851b3,'unitId':_0x3ea9cc[_0x52f6ef(0x2b8)](),'argsOfFunction':JSON[_0x52f6ef(0x271)](_0x2257f8),'invokeId':(_0x2f31bf=_0x49100a['invokeId'])!=null?_0x2f31bf:'','executionId':(_0x5f556f=_0x49100a[_0x52f6ef(0x25a)])!=null?_0x5f556f:''};try{const _0x3b467c=await this[_0x52f6ef(0x200)][_0x52f6ef(0x321)](_0x8780a0,{'body':_0x1d24eb});return _0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x26d)]&&_0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x26d)][_0x52f6ef(0x2ad)]!==Lt['OK']?_0x52f6ef(0x20a):_0x3b467c[_0x52f6ef(0x199)][_0x52f6ef(0x28a)];}catch{return'Failed';}}};function _0x40fc(){const _0x3f581a=['send','eventID','transform','jiqing.500','saveOfflineData','RemoveColCommandId','override','_status$','endColumn','has','getActiveSheet','add','ONLINE','_toggleOffline','size','YUUMI_ASYNCIO_CANCELLED','Unknown\x20user','USERS_LEAVE','propertyIsEnumerable','_hovered','source','string','369eVlkju','replaceState','_imageIoService','_transformPreviousActiveRange','getColorFromTheme','_anchor','_urlService','univer-flex\x20univer-items-center','RemoveRowCommandId','replace','APPLY_DUPLICATED','11280420HmIngx','YUUMI_URL_COL_OUT_OF_RANGE','arc','#FFF','transformMutation','fill','createInstance','pipe','_sheetSkeletonManagerService','some','storage','LOGIN_FAILED','executionId','_updateSubUnitFromURLParams','_transformService','subunit','822596awwcit','disposeWithMe','_drawRectRange','_beforeCloseService','saveImage','FromArray','_handleJoinEvent','dispose$','UNDEFINED','_setupBeforeClosingHandler','_uiPartsService','_onCursorUpdate','CONNECTOR_DATA_TOO_LARGE','flatMap','substring','error','UniverIcon','lineTo','_updateCollabCursors','stringify','UNIVER_DOC','focused$','sheetId','_saveCache','APPLY_PERMISSION_DENIED','_removeCollabCursors','fillText','beginPath','then','colorChannel1','_handleHover','getValue','getCurrentSelections','UPDATE_CURSOR','MOBILE_HAS_BEEN_BOUND','whenReady','_syncEditingCollabCursorService','_toggleOnline','_colorIndex','_docTransformStateCacheService','_draw','_scene','roomMembers$','with','result','collab-client.tooltip.reconnect','collab-rect-range-','_themeService','_scheduleHeartbeat','asObservable','idSuffix','InsertRowCommandId','event$','green.600','toRgbString','white','_online','_roomMembers$','_collabCursorState$','evenodd','toString','_scheduleClearOtherTimer','_cursorInfo$','_doCreateSocket','collabStatus.fetchMiss','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','drawWith','color','exhaustSavingTask','_revisionService','getSkeleton','INVITE_CODE_ALREADY_BOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entityInit$','subscribe','moveTo','sessionTicket','collabStatus.syncing','code','OTHER_CLIENTS_EDITING','permission.title','application/json','getSheetBySheetId','transformIMECache','random','getCollabCursors$','getParam','_instanceService','_initEntityListener','getUnitId','memberID','searchParams','addClipboardHook','div','textRanges','getAncestorScale','m1Prime','getDocRanges','push','getCellPositionByOffset','EMAIL_VERIFY_CODE_MISMATCH','startsWith','range','deepClone','actions','_transformUndoRedoStack','...','COMPLETION_FINISHED','INVITE_CODE_REQUIRED','hasOwnProperty','_getSheetObject','InsertColCommandId','selection','_docStateChangeManagerService','defineProperty','_startSheetCollabCursor','currentSkeleton$','mutations','_docTransformSelectionsService','_localCacheService','_name','EMAIL_HAS_BEEN_BOUND','getVpScrollXYInfoByPosToVp','className','isArray','height','1em','UNAUTHENTICATED','_handleHeartbeatEvent','getUndoRedoMutationParamsCache','_injector','USER_NOT_INVITED_CODE','sessionStatus$','OTHER_CLIENT_EDITING','PENDING','red.300','length','selections','RECT','startRow','_init','_docSkeletonManagerService','unitID','doc.mutation.rich-text-editing','_ensureSubject','getTypeOfUnitDisposed$','HEADER_MENU','_labelPosition','column','dispose','next','CONFLICT','wsSessionTicketUrl','redoState','_collabCursorController','collabStatus.notCollab','_univerInstanceService','prototype','_notificationService','type','DeleteRangeMoveLeftCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERMISSION_DENIED','YUUMI_ALL_TABLES_IS_INVALID','_startDocCollabCursor','endRow','defIds','tag','attrs','_cursors','getOffsetConfig','use','_registerRenderDependencies','addEventListener','off-line-icon_clip0_910_343','_disabled','bottom','assign','onPointerLeave$','delete','setShapeProps','uni.network.url-service','permission.content','hovered','onPointerEnter$','width','_saveTaskMap','9467836GjnULS','current','_drawAnchor','_eventUnsubscribe','addObject','currentTheme$','post','_transformHistoryAndStateStack','search','_lastPointer','getCurrent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','setInterval','runId','_cursorShapes','unshift','docStateChange$','getUniverSheetInstance','params','popstate','from','_memberService','_cachedData','_getScale','backgroundColor','skeleton','_session','_initDependencies','text','forEach','assignAColorForMemberID','show','on-line-icon_clip0_910_349','clearInterval','indexOf','engine','_drawTextRange','_collabSessionService','concat','transformRemoteChangeset','subscribeEvent','_initResize','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','addObjects','_getAnchorBounding','font','loadUnit','CHANGESET_REVISION_CONFILICT','NOT_COLLAB','onRendered','key','_unitOnClients','location','_localStorageService','_initCommandExecutedListener','MOBILE_VERIFY_CODE_MISMATCH','registerRenderModule','PY_RUNTIME_SCRIPT_ERROR','Warning','complete','MUTATION','getConfig','_logService','INTERNAL_ERROR','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','newValue','_hideTimer','SNAPSHOT_HAS_BEEN_REMOVED','session.collaboration-timeout','12355827NNbUAs','_renderManagerService','_clearOtherTimers','sheetID','values','getCollabEntity$','setConfig','1629474prvfoh','getRenderById','_handleEvent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/run/','set','DeleteRangeMoveUpCommandId','_assignedColors','top','_removeClearOtherTimer','Error','_refreshCollabCursors','_updateURLWithCurrentState','setActiveRange','APPLY_REJECT','InsertRangeMoveRightCommandId','triggerDblclick','collabStatus.conflict','get','extend','replaceDocRanges','editingUnit','transformByState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','session.will-retry','unsubscribe','NOT_FOUND','_selfUnitIDs','getMemberID','SNAPSHOT_INVALID_SNAPSHOT','_send','getSheetId','24MYqPcR','xlink:href','collabCursorState$','_dataLoaderService','updateOfflineData','APPLY_REVISION_CONFILICT','measureText','_id','undoState','collabStatus.offline','displayName','_entities','collaboration.single-unit.warning','symbol','YUUMI_CONNECTOR_URL_NOT_FOUND','_initStatusListener','MoveRangeCommandId','_onCursorDelete','body','collaboration.closeRoom','syncEditingCollabCursor','getStateCache','findNodePositionByCharIndex','makeDirty','origin','_context','INVITE_CODE_HAS_BEEN_UES','_config','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_DISTRO_REJECTED','onCommandExecuted','getFocusedUnit','ticket','min','_collaborationUIEventService','isEditing','getViewport','debug','_setupSubUnitSync','icon','getUnhiddenWorksheets','entries','AWAITING_WITH_PENDING','NO_OTHER_CLIENTS_EDITING','UNRECOGNIZED','_scheduleSaving','unitId','requireSession','name','translate(.97)','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','_docSkeleton','cursorInfo','SUBMIT_CHANGESET_TIMEOUT','executeCommand','mask','WECHAT_HAS_BEEN_BOUND','purple.300','off-line-icon','1197725jUXHyz','history','TOO_MANY_REQUESTS','clipPath','init','InsertRangeMoveDownCommandId','_docTransformIMECacheService','119384Ykweft','loadOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','none','roomMembers','http://www.w3.org/2000/svg','_shapes','TEXT','_refRangeService','map','_range','resize','cursorInfo$','call','_cursor','urlChange$','_color','_getSessionTicket','getOwnPropertyDescriptor','[CollaborationDataLoaderController]','UNIVER_SHEET','restore','data','disableLocalCache','pushState','_createSocketURL','_textBubble','_getMergeRange','LICENSE_EXPORT_SIZE_EXCEEDED','_hover','fillStyle','_docClipboardService','setStateCache','clearTimeout','getRelativeToViewportCoord','getUnitStatus$','path','INVALID_ARGUMENT','getCurrentRevOfUnit','_localeService','unit','setItem','currentColor','defs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initEvent','_backgroundColor','includes','getOwnPropertySymbols','_initStatusComponent','row','pluginName','blue.400','_httpService','href','contains','_messageService','setAlpha','_configService','children','6wemdbq','transformMutationsWithChangeset','SOCKET_FAILED_RETRY','Failed','createSocket','hide','_docSyncEditingCollabCursorService','ALREADY_EXISTS','svg','univerjs-icon\x20univerjs-icon-','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','url(#$1','closePath','setUndoRedoMutationParamsCache','_updateLocalCursor','round','0\x200\x2016\x2016','setTimeout','save','_getSaveTimeout','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_unitStatus','_collaborationController','2sPWTlZ','isActive','black','YUUMI_NO_CUBOID_FOR_QUESTION','JOIN_ROOM_FAILED','getRangePointData','_commandService','getItem','_onRefRangeChange','getMember','getMergeData','setParam'];_0x40fc=function(){return _0x3f581a;};return _0x40fc();}ot=Cn([be(0x0,_0x2302ae),be(0x1,_0x580399(_0x50b86c)),be(0x2,_0x3e9cdd)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x500288=_0x4620;(function(_0xab2877,_0x102d29){const _0x51f0a1=_0x4620,_0x4296b0=_0xab2877();while(!![]){try{const _0x331ea9=-parseInt(_0x51f0a1(0x22f))/0x1+-parseInt(_0x51f0a1(0x2e7))/0x2+-parseInt(_0x51f0a1(0x265))/0x3*(-parseInt(_0x51f0a1(0x188))/0x4)+parseInt(_0x51f0a1(0x24c))/0x5*(parseInt(_0x51f0a1(0x2ab))/0x6)+parseInt(_0x51f0a1(0x20c))/0x7+parseInt(_0x51f0a1(0x1d0))/0x8*(-parseInt(_0x51f0a1(0x273))/0x9)+-parseInt(_0x51f0a1(0x231))/0xa*(-parseInt(_0x51f0a1(0x12a))/0xb);if(_0x331ea9===_0x102d29)break;else _0x4296b0['push'](_0x4296b0['shift']());}catch(_0x123ff3){_0x4296b0['push'](_0x4296b0['shift']());}}}(_0x4837,0x8698c));var xt=Object['defineProperty'],Bt=(_0x95c60,_0x34f86f,_0x316a3f)=>_0x34f86f in _0x95c60?xt(_0x95c60,_0x34f86f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x316a3f}):_0x95c60[_0x34f86f]=_0x316a3f,_=(_0x27dccc,_0x493e6c,_0x19ac0e)=>Bt(_0x27dccc,typeof _0x493e6c!='symbol'?_0x493e6c+'':_0x493e6c,_0x19ac0e);import{jsx as _0x4d97a9,jsxs as _0x57f719}from'react/jsx-runtime';import{CollaborationStatus as _0x3b730c,CollaborationSessionService as _0x3c9281,CollaborationController as _0x4f4384,DataLoaderService as _0x143720,MemberService as _0x466ce6,SessionStatus as _0x132cde,ILocalCacheService as _0x1dca6c,CollaborationUIEventService as _0xb7bdb0,CollaborationUIEventId as _0x3d8442,DocCollaborationEntity as _0x54ea0e,getLocalCacheKey as _0x532502,LOCAL_CACHE_INTERVAL as _0x9da4b,LOCAL_CACHE_INTERVAL_KEY as _0x2ce6be,UniverCollaborationClientPlugin as _0x1dbd38,CollaborationSocketService as _0x33bbb4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x57af48,DEFAULT_WS_SESSION_TICKET_URL as _0x4900e9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x416ee2,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3040b6,UnitStatus as _0x481762}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1a4e46,IUniverInstanceService as _0x1f5daf,Inject as _0x29d4e7,Injector as _0x1331ea,Disposable as _0x524ae9,createIdentifier as _0x5bd349,ILogService as _0x3aa1cd,ICommandService as _0x2a0638,Optional as _0x3025a3,RxDisposable as _0x55b711,Workbook as _0x1ac6c9,DOC_RANGE_TYPE as _0x2bb2eb,debounce as _0x5740aa,Rectangle as _0x5eec72,DisposableCollection as _0x5d4b44,toDisposable as _0x11aff7,UniverInstanceType as _0xe27841,generateRandomId as _0x26c34b,COLORS as _0x47d404,ColorKit as _0x1334d2,ThemeService as _0x13cdd2,fromEventSubject as _0x548587,Tools as _0x5bb7e7,CommandType as _0x8ab22b,IConfigService as _0x4672a1,ILocalStorageService as _0xc74818,DependentOn as _0x5d7680,Plugin as _0x5b3e7c,merge as _0x4994bc,registerDependencies as _0x3dfc66,mergeOverrideWithDependencies as _0x3d8fb8,touchDependencies as _0x3a7741}from'@univerjs/core';import{useObservable as _0x1499b2,useDependency as _0x19fe12,IUIPartsService as _0x2321f7,BuiltInUIPart as _0x3780ff,connectInjector as _0x17ea89,IBeforeCloseService as _0x37b10d,IMessageService as _0x9960b9,INotificationService as _0xba4b65}from'@univerjs/ui';import{BehaviorSubject as _0x37238b,switchMap as _0x46a50d,of as _0x4b03ff,takeUntil as _0x1d5417,debounceTime as _0x3af6bc,Subject as _0x9030f1,filter as _0x35e55d,merge as _0x31aca5,combineLatest as _0x5dec17,fromEvent as _0x47ab78,shareReplay as _0x1ab397,mapTo as _0x2bdcff,distinctUntilChanged as _0x54865e}from'rxjs';import{Tooltip as _0x307ceb,clsx as _0x4e233b,MessageType as _0x102315}from'@univerjs/design';import{forwardRef as _0x13e59d,useRef as _0x2f7ae6,createElement as _0x38aac1,useCallback as _0x53c257}from'react';import{IRemoteInstanceService as _0x17138b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x8c3b2d,RefRangeService as _0x1debcf,SetSelectionsOperation as _0x548e18,SheetsSelectionsService as _0x2c62c8,EffectRefRangId as _0x147eb0,handleIRemoveRow as _0x372365,handleIRemoveCol as _0x3e7366,handleMoveRange as _0x2bb159,handleInsertRow as _0x5aa757,handleInsertRangeMoveRight as _0x3ad337,handleInsertRangeMoveDown as _0x594b60,handleInsertCol as _0x5ee7cf,handleDeleteRangeMoveUp as _0x40642a,handleDeleteRangeMoveLeft as _0x5426a7,runRefRangeMutations as _0x5d5133}from'@univerjs/sheets';import{Shape as _0x3913e1,Rect as _0x214183,getColor as _0x5d1051,RegularPolygon as _0x467483,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4f3db6,Vector2 as _0x3f1670,SHEET_VIEWPORT_KEY as _0x5997be,IRenderManagerService as _0x43d9aa}from'@univerjs/engine-render';import{ISocketService as _0x1bf5ea,WebSocketService as _0xf56ce8,HTTPService as _0x37bdb9}from'@univerjs/network';import{IDocClipboardService as _0x2e15ab,NodePositionConvertToCursor as _0x53ce59,NodePositionConvertToRectRange as _0x1eae0a,TEXT_RANGE_LAYER_INDEX as _0x17d5c5,SetDocZoomRatioOperation as _0x152d92,DocIMEInputManagerService as _0x74d2d0,DocStateChangeManagerService as _0x16ecba}from'@univerjs/docs-ui';import{IImageIoService as _0x255ca0}from'@univerjs/drawing';import{ITransformService as _0x28a0e1,CollaborationEvent as _0x4303b0,isTransformMutationFailure as _0x2ef4e9,isTransformMutationsWithChangesetSuccess as _0x4c5293,RevisionService as _0x265c86,ISnapshotServerService as _0x47d3bc}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x536c63,RichTextEditingMutation as _0x1285e7,DocSelectionManagerService as _0x23a93b,DocSkeletonManagerService as _0x27766d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3060d3,serializeRangeWithSheet as _0x1fe9b8}from'@univerjs/engine-formula';import{map as _0x549194,filter as _0x2e35f8,throttleTime as _0xfa0af0,takeUntil as _0x4354c5,switchMap as _0x27f32c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3794fc,getCoordByCell as _0x57b823,getSheetObject as _0x298dd9}from'@univerjs/sheets-ui';var v=function(){const _0x5b0c81=_0x4620;return v=Object[_0x5b0c81(0x2a7)]||function(_0x4fcac0){const _0x538599=_0x5b0c81;for(var _0x2b4b58,_0x1bd595=0x1,_0x52f73a=arguments[_0x538599(0x212)];_0x1bd595<_0x52f73a;_0x1bd595++){_0x2b4b58=arguments[_0x1bd595];for(var _0x52d1eb in _0x2b4b58)Object[_0x538599(0x2e5)][_0x538599(0x27a)]['call'](_0x2b4b58,_0x52d1eb)&&(_0x4fcac0[_0x52d1eb]=_0x2b4b58[_0x52d1eb]);}return _0x4fcac0;},v[_0x5b0c81(0x222)](this,arguments);},ci=function(_0x4e1fb0,_0x342542){const _0x485de0=_0x4620;var _0x488eac={};for(var _0x2fc507 in _0x4e1fb0)Object[_0x485de0(0x2e5)][_0x485de0(0x27a)][_0x485de0(0x2d8)](_0x4e1fb0,_0x2fc507)&&_0x342542[_0x485de0(0x145)](_0x2fc507)<0x0&&(_0x488eac[_0x2fc507]=_0x4e1fb0[_0x2fc507]);if(_0x4e1fb0!=null&&typeof Object[_0x485de0(0x271)]==_0x485de0(0x211)){for(var _0x5e30be=0x0,_0x2fc507=Object[_0x485de0(0x271)](_0x4e1fb0);_0x5e30be<_0x2fc507['length'];_0x5e30be++)_0x342542[_0x485de0(0x145)](_0x2fc507[_0x5e30be])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x485de0(0x2d8)](_0x4e1fb0,_0x2fc507[_0x5e30be])&&(_0x488eac[_0x2fc507[_0x5e30be]]=_0x4e1fb0[_0x2fc507[_0x5e30be]]);}return _0x488eac;},ke=_0x13e59d(function(_0x310875,_0x52aba2){const _0x53e09b=_0x4620;var _0x5121cf=_0x310875[_0x53e09b(0x179)],_0x1f0eaf=_0x310875['id'],_0x42f324=_0x310875[_0x53e09b(0x1ef)],_0x1bc45d=_0x310875['extend'],_0x431d94=ci(_0x310875,[_0x53e09b(0x179),'id',_0x53e09b(0x1ef),_0x53e09b(0x12d)]),_0x145657=_0x53e09b(0x2a6)[_0x53e09b(0x1b4)](_0x1f0eaf,'\x20')['concat'](_0x42f324||'')[_0x53e09b(0x210)](),_0x4df718=_0x2f7ae6('_'['concat'](hi()));return Rt(_0x5121cf,''[_0x53e09b(0x1b4)](_0x1f0eaf),{'defIds':_0x5121cf['defIds'],'idSuffix':_0x4df718['current']},v({'ref':_0x52aba2,'className':_0x145657},_0x431d94),_0x1bc45d);});function Rt(_0x42eb66,_0x6ac0e6,_0x509cf7,_0x97265,_0x370d5a){const _0x4f7de2=_0x4620;return _0x38aac1(_0x42eb66[_0x4f7de2(0x2c5)],v(v({'key':_0x6ac0e6},li(_0x42eb66,_0x509cf7,_0x370d5a)),_0x97265),(_i(_0x42eb66,_0x509cf7)[_0x4f7de2(0x28c)]||[])[_0x4f7de2(0x170)](function(_0x3e2617,_0xf655ce){const _0x43784d=_0x4f7de2;return Rt(_0x3e2617,''['concat'](_0x6ac0e6,'-')['concat'](_0x42eb66['tag'],'-')[_0x43784d(0x1b4)](_0xf655ce),_0x509cf7,void 0x0,_0x370d5a);}));}function li(_0x56b2c1,_0x197a1c,_0x260bd2){const _0x2581f5=_0x4620;var _0x385d34=v({},_0x56b2c1[_0x2581f5(0x283)]);_0x260bd2!=null&&_0x260bd2[_0x2581f5(0x30a)]&&_0x385d34['fill']===_0x2581f5(0x30a)&&(_0x385d34['fill']=_0x260bd2[_0x2581f5(0x30a)]),_0x56b2c1[_0x2581f5(0x2c5)]==='mask'&&_0x385d34['id']&&(_0x385d34['id']=_0x385d34['id']+_0x197a1c['idSuffix']),Object[_0x2581f5(0x1ee)](_0x385d34)[_0x2581f5(0x17c)](function(_0x4b7c4e){const _0x4197ed=_0x2581f5;var _0x111e06=_0x4b7c4e[0x0],_0x1ad707=_0x4b7c4e[0x1];_0x111e06===_0x4197ed(0x267)&&typeof _0x1ad707==_0x4197ed(0x328)&&(_0x385d34[_0x111e06]=_0x1ad707[_0x4197ed(0x20b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x197a1c[_0x4197ed(0x1fa)],')')));});var _0x19661a=_0x197a1c[_0x2581f5(0x223)];return!_0x19661a||_0x19661a[_0x2581f5(0x212)]===0x0||(_0x56b2c1[_0x2581f5(0x2c5)]===_0x2581f5(0x1ad)&&_0x385d34[_0x2581f5(0x20d)]&&(_0x385d34[_0x2581f5(0x20d)]=_0x385d34['xlink:href']+_0x197a1c[_0x2581f5(0x1fa)]),Object[_0x2581f5(0x1ee)](_0x385d34)[_0x2581f5(0x17c)](function(_0x1a77c5){const _0x2f7a7a=_0x2581f5;var _0x24e414=_0x1a77c5[0x0],_0x311155=_0x1a77c5[0x1];typeof _0x311155==_0x2f7a7a(0x328)&&(_0x385d34[_0x24e414]=_0x311155[_0x2f7a7a(0x20b)](/url\(#(.*)\)/,_0x2f7a7a(0x159)[_0x2f7a7a(0x1b4)](_0x197a1c[_0x2f7a7a(0x1fa)],')')));})),_0x385d34;}function _i(_0x3ee135,_0x3d9bf8){const _0x515a18=_0x4620;var _0x509ada,_0x61b366=_0x3d9bf8[_0x515a18(0x223)];return!_0x61b366||_0x61b366['length']===0x0?_0x3ee135:_0x3ee135[_0x515a18(0x2c5)]===_0x515a18(0x187)&&(!((_0x509ada=_0x3ee135[_0x515a18(0x28c)])===null||_0x509ada===void 0x0)&&_0x509ada[_0x515a18(0x212)])?v(v({},_0x3ee135),{'children':_0x3ee135[_0x515a18(0x28c)][_0x515a18(0x170)](function(_0x46987f){const _0x2806e3=_0x515a18;return typeof _0x46987f[_0x2806e3(0x283)]['id']==_0x2806e3(0x328)&&_0x61b366&&_0x61b366['includes'](_0x46987f[_0x2806e3(0x283)]['id'])?v(v({},_0x46987f),{'attrs':v(v({},_0x46987f['attrs']),{'id':_0x46987f[_0x2806e3(0x283)]['id']+_0x3d9bf8['idSuffix']})}):_0x46987f;})}):_0x3ee135;}function hi(){const _0x37663b=_0x4620;return Math[_0x37663b(0x168)]()[_0x37663b(0x162)](0x24)['substring'](0x2,0x8);}ke[_0x500288(0x227)]=_0x500288(0x254);var ui={'tag':_0x500288(0x16a),'attrs':{'xmlns':_0x500288(0x327),'fill':'none','viewBox':_0x500288(0x157),'width':_0x500288(0x316),'height':_0x500288(0x316)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x500288(0x173),'attrs':{'stroke':_0x500288(0x214),'d':_0x500288(0x1e5),'strokeLinecap':'round','strokeLinejoin':_0x500288(0x2fe),'strokeWidth':1.2}}]},{'tag':_0x500288(0x187),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x500288(0x22e),'d':_0x500288(0x288)}}]}]}],'defIds':[_0x500288(0x19a)]},Dt=_0x13e59d(function(_0x3daaa0,_0x591313){const _0x18f293=_0x500288;return _0x38aac1(ke,Object['assign']({},_0x3daaa0,{'id':_0x18f293(0x2a9),'ref':_0x591313,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':'svg','attrs':{'xmlns':_0x500288(0x327),'fill':_0x500288(0x2cc),'viewBox':_0x500288(0x143),'width':_0x500288(0x316),'height':_0x500288(0x316)},'children':[{'tag':'g','attrs':{'clipPath':_0x500288(0x2f3)},'children':[{'tag':'path','attrs':{'stroke':_0x500288(0x214),'d':_0x500288(0x2c6),'strokeLinecap':'round','strokeLinejoin':_0x500288(0x2fe),'strokeWidth':1.2}}]},{'tag':_0x500288(0x187),'attrs':{},'children':[{'tag':_0x500288(0x13a),'attrs':{'id':_0x500288(0x2d0)},'children':[{'tag':_0x500288(0x173),'attrs':{'fill':'white','d':_0x500288(0x288),'transform':_0x500288(0x220)}}]}]}],'defIds':[_0x500288(0x2d0)]},Nt=_0x13e59d(function(_0x17251f,_0x3fb4a2){const _0x35c3df=_0x500288;return _0x38aac1(ke,Object[_0x35c3df(0x2a7)]({},_0x17251f,{'id':_0x35c3df(0x238),'ref':_0x3fb4a2,'icon':di}));});Nt[_0x500288(0x227)]=_0x500288(0x204);function fi(_0x33ff3d){const _0x58e91e=_0x500288;switch(_0x33ff3d){case _0x3b730c[_0x58e91e(0x1ce)]:return _0x58e91e(0x246);case _0x3b730c[_0x58e91e(0x174)]:return _0x58e91e(0x2d3);case _0x3b730c[_0x58e91e(0x156)]:return _0x58e91e(0x2d6);case _0x3b730c[_0x58e91e(0x2f7)]:return'collabStatus.notCollab';case _0x3b730c[_0x58e91e(0x266)]:case _0x3b730c[_0x58e91e(0x243)]:return _0x58e91e(0x2ac);case _0x3b730c[_0x58e91e(0x1cb)]:case _0x3b730c['PENDING']:return _0x58e91e(0x225);}}function Si(_0x5344ff){const _0x2dfc9e=_0x500288,{status$:_0x37d8db}=_0x5344ff,_0x1cf4d4=_0x1499b2(_0x37d8db,_0x3b730c[_0x2dfc9e(0x2f7)]),_0x46507f=_0x19fe12(_0x1a4e46),_0x44a535=_0x19fe12(_0x3c9281),_0x3ac516=_0x1cf4d4!==_0x3b730c[_0x2dfc9e(0x1ce)],_0x72e7de=_0x46507f['t'](fi(_0x1cf4d4)),_0x91d208=_0x3ac516?_0x4d97a9(Nt,{}):_0x4d97a9(Dt,{}),_0x511bf8=_0x53c257(()=>{_0x3ac516||_0x44a535['reconnect']();},[_0x3ac516,_0x44a535]);function _0x5251a8(){const _0x71da22=_0x2dfc9e;return _0x57f719(_0x71da22(0x319),{'className':_0x71da22(0x2de),'onClick':_0x511bf8,'children':[_0x4d97a9('div',{'className':_0x4e233b(_0x71da22(0x30e),{'univer-text-green-500':_0x3ac516,'univer-text-red-500':!_0x3ac516}),'children':_0x91d208}),_0x4d97a9(_0x71da22(0x319),{'className':_0x71da22(0x252),'children':_0x72e7de})]});}return _0x3ac516?_0x5251a8():_0x4d97a9(_0x307ceb,{'title':_0x46507f['t'](_0x2dfc9e(0x281)),'children':_0x5251a8()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x311a53,_0x318c2e,_0x4f6341,_0x1311c7)=>{const _0x89cf8=_0x500288;for(var _0x5b362c=_0x1311c7>0x1?void 0x0:_0x1311c7?mi(_0x318c2e,_0x4f6341):_0x318c2e,_0x44612b=_0x311a53[_0x89cf8(0x212)]-0x1,_0x43570d;_0x44612b>=0x0;_0x44612b--)(_0x43570d=_0x311a53[_0x44612b])&&(_0x5b362c=_0x43570d(_0x5b362c)||_0x5b362c);return _0x5b362c;},q=(_0x18a01c,_0x289b97)=>(_0x399341,_0x4c24a7)=>_0x289b97(_0x399341,_0x4c24a7,_0x18a01c);let se=class extends _0x524ae9{constructor(_0x166963,_0x8e23b1,_0x609cba,_0x400da1){const _0x11cc45=_0x500288;super(),_(this,_0x11cc45(0x31e),new _0x37238b(_0x3b730c[_0x11cc45(0x2f7)])),(this[_0x11cc45(0x16d)]=_0x166963,this[_0x11cc45(0x2c3)]=_0x8e23b1,this[_0x11cc45(0x302)]=_0x609cba,this[_0x11cc45(0x2fa)]=_0x400da1,this['_initStatusComponent'](),this[_0x11cc45(0x240)]());}['_initStatusListener'](){const _0x4e2644=_0x500288;this['disposeWithMe'](this['_univerInstanceService'][_0x4e2644(0x1ca)]['pipe'](_0x46a50d(()=>{const _0x1f7545=_0x4e2644,_0x551c92=this['_univerInstanceService'][_0x1f7545(0x1af)]();return _0x551c92?this[_0x1f7545(0x302)][_0x1f7545(0x309)](_0x551c92[_0x1f7545(0x301)]()):_0x4b03ff(null);}),_0x46a50d(_0x3637de=>_0x3637de?_0x3637de[_0x4e2644(0x198)]:_0x4b03ff(_0x3b730c[_0x4e2644(0x2f7)])))[_0x4e2644(0x219)](_0x2018ee=>{const _0x5079ca=_0x4e2644;this[_0x5079ca(0x31e)][_0x5079ca(0x152)](_0x2018ee);}));}[_0x500288(0x14a)](){const _0x299a7d=_0x500288;this[_0x299a7d(0x2f1)](this[_0x299a7d(0x2fa)][_0x299a7d(0x2f2)](_0x3780ff['HEADER_MENU'],()=>_0x17ea89(vi({'status$':this[_0x299a7d(0x31e)][_0x299a7d(0x14b)]()}),this[_0x299a7d(0x2c3)])));}};se=Ii([q(0x0,_0x1f5daf),q(0x1,_0x29d4e7(_0x1331ea)),q(0x2,_0x29d4e7(_0x4f4384)),q(0x3,_0x2321f7)],se);function vi(_0x59da21){const {status$:_0x49738e}=_0x59da21;return function(){return _0x4d97a9(Si,{'status$':_0x49738e});};}const Ut=_0x5bd349(_0x500288(0x207));var gi=Object[_0x500288(0x1c8)],pi=(_0x233f5c,_0x5c291e,_0x4cc44c,_0x1d7f54)=>{const _0x3d00d1=_0x500288;for(var _0x11d26c=_0x1d7f54>0x1?void 0x0:_0x1d7f54?gi(_0x5c291e,_0x4cc44c):_0x5c291e,_0x31662d=_0x233f5c[_0x3d00d1(0x212)]-0x1,_0x4f85c0;_0x31662d>=0x0;_0x31662d--)(_0x4f85c0=_0x233f5c[_0x31662d])&&(_0x11d26c=_0x4f85c0(_0x11d26c)||_0x11d26c);return _0x11d26c;},G=(_0x26b5ba,_0x262665)=>(_0x384da0,_0x33fb90)=>_0x262665(_0x384da0,_0x33fb90,_0x26b5ba);let ie=class extends _0x55b711{constructor(_0x30271f,_0x109915,_0x5a73fa,_0x14cdfd,_0x407047){const _0x556078=_0x500288;super(),this[_0x556078(0x131)]=_0x30271f,this[_0x556078(0x2ad)]=_0x109915,this[_0x556078(0x2ee)]=_0x5a73fa,this[_0x556078(0x2bd)]=_0x14cdfd,_0x407047?_0x407047==null||_0x407047[_0x556078(0x22c)]()['then'](()=>this[_0x556078(0x2f0)]()):(this['_logService'][_0x556078(0x18c)]('[CollaborationDataLoaderController]',_0x556078(0x1e8)),this[_0x556078(0x2f0)]());}async[_0x500288(0x2f0)](){const _0x20cdce=_0x500288,_0xb067c=this[_0x20cdce(0x131)][_0x20cdce(0x300)]('unit'),_0x5a6d20=this[_0x20cdce(0x131)][_0x20cdce(0x300)](_0x20cdce(0x314)),_0x3e13ac=this[_0x20cdce(0x131)][_0x20cdce(0x300)]('subunit');if(!_0xb067c||!_0x5a6d20){this[_0x20cdce(0x2ad)][_0x20cdce(0x18c)](_0x20cdce(0x135),_0x20cdce(0x1eb));return;}const _0x26a97e=await this[_0x20cdce(0x2bd)]['loadUnit'](_0xb067c,Number(_0x5a6d20),_0x3e13ac);_0x26a97e&&_0x26a97e instanceof _0x1ac6c9&&this['_setupSubUnitSync'](_0x26a97e);}async['_setupSubUnitSync'](_0x3a889a){const _0x588485=_0x500288;await this['_updateSubUnitFromURLParams'](_0x3a889a),_0x3a889a['activeSheet$']['pipe'](_0x1d5417(this['dispose$']))['subscribe'](_0x50d01a=>{_0x50d01a&&this['_updateURLWithCurrentState'](_0x50d01a);}),this[_0x588485(0x131)]['urlChange$'][_0x588485(0x1f2)](_0x1d5417(this['dispose$']))['subscribe'](()=>this[_0x588485(0x17d)](_0x3a889a));}['_updateURLWithCurrentState'](_0x3300ef,_0x25c49d=!0x1){const _0x39c582=_0x500288,_0x443af4=this[_0x39c582(0x131)][_0x39c582(0x300)]('subunit');_0x3300ef['getSheetId']()!==_0x443af4&&this[_0x39c582(0x131)]['setParam'](_0x39c582(0x166),_0x3300ef['getSheetId'](),_0x25c49d);}async[_0x500288(0x17d)](_0x494b43){const _0x15466c=_0x500288;var _0x59e31c;const _0x8f4e9c=this['_urlService'][_0x15466c(0x300)]('subunit');if(!_0x8f4e9c||!_0x494b43[_0x15466c(0x326)](_0x8f4e9c)){const _0x2572d0=_0x494b43['getUnhiddenWorksheets']()[0x0],_0x45208d=_0x494b43[_0x15466c(0x326)](_0x2572d0);if(!_0x45208d)return;this[_0x15466c(0x15f)](_0x45208d,!0x0),await this[_0x15466c(0x2ee)]['executeCommand'](_0x8c3b2d['id'],{'unitId':_0x494b43[_0x15466c(0x301)](),'subUnitId':_0x2572d0});return;}((_0x59e31c=_0x494b43[_0x15466c(0x2b8)]())==null?void 0x0:_0x59e31c[_0x15466c(0x25d)]())!==_0x8f4e9c&&await this[_0x15466c(0x2ee)][_0x15466c(0x2a8)](_0x8c3b2d['id'],{'unitId':_0x494b43['getUnitId'](),'subUnitId':_0x8f4e9c});}};ie=pi([G(0x0,Ut),G(0x1,_0x3aa1cd),G(0x2,_0x2a0638),G(0x3,_0x29d4e7(_0x143720)),G(0x4,_0x3025a3(_0x17138b))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x57052a,_0x35faea,_0x2b0af3,_0x19b85c)=>{const _0x1294cb=_0x500288;for(var _0x51d0be=_0x19b85c>0x1?void 0x0:_0x19b85c?Ci(_0x35faea,_0x2b0af3):_0x35faea,_0x502b8a=_0x57052a[_0x1294cb(0x212)]-0x1,_0x7e5cd9;_0x502b8a>=0x0;_0x502b8a--)(_0x7e5cd9=_0x57052a[_0x502b8a])&&(_0x51d0be=_0x7e5cd9(_0x51d0be)||_0x51d0be);return _0x51d0be;},Je=(_0x2f230a,_0x55965b)=>(_0x94f813,_0x25bed4)=>_0x55965b(_0x94f813,_0x25bed4,_0x2f230a);let Ne=class extends _0x55b711{constructor(_0x3a9bd8,_0x56d42b){const _0x503445=_0x500288;super(),this[_0x503445(0x2d4)]=_0x3a9bd8,this['_imageIoService']=_0x56d42b,this[_0x503445(0x2f0)]();}[_0x500288(0x2f0)](){const _0x584d7e=_0x500288,_0x133aaa=this;this[_0x584d7e(0x2f1)](this[_0x584d7e(0x2d4)][_0x584d7e(0x1c0)]({'onBeforePasteImage':async _0x2d49ed=>{const _0x2a4f74=_0x584d7e,_0x1ae354=await _0x133aaa[_0x2a4f74(0x19f)][_0x2a4f74(0x242)](_0x2d49ed);return _0x1ae354?{'source':_0x1ae354[_0x2a4f74(0x1a2)],'imageSourceType':_0x1ae354['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x2e15ab),Je(0x1,_0x255ca0)],Ne);function _0x4620(_0x24322e,_0xdd9fa6){const _0x483763=_0x4837();return _0x4620=function(_0x4620e7,_0x11265f){_0x4620e7=_0x4620e7-0x125;let _0x16ae39=_0x483763[_0x4620e7];return _0x16ae39;},_0x4620(_0x24322e,_0xdd9fa6);}const Ze=[_0x500288(0x172),_0x500288(0x16b),'green.600',_0x500288(0x2cd),_0x500288(0x26f),_0x500288(0x23d)];class He extends _0x524ae9{constructor(){const _0x4e8207=_0x500288;super(...arguments),_(this,_0x4e8207(0x147),new Map()),_(this,_0x4e8207(0x1ab),0x0);}[_0x500288(0x2af)](_0x47e580){const _0x253e6d=_0x500288;if(this['_assignedColors'][_0x253e6d(0x1db)](_0x47e580))return this['_assignedColors'][_0x253e6d(0x14d)](_0x47e580);const _0x28c2dc=Ze[this['_colorIndex']];return this[_0x253e6d(0x1ab)]=(this['_colorIndex']+0x1)%Ze[_0x253e6d(0x212)],this['_assignedColors'][_0x253e6d(0x292)](_0x47e580,_0x28c2dc),_0x28c2dc;}}function Mt(_0x12c78f){const _0x17a93a=_0x500288;let _0x1eefbf='';for(const _0x381a61 of _0x12c78f){const {startOffset:_0x188a22,endOffset:_0x515081,isActive:_0x26cafc,rangeType:_0x4012aa,segmentId:_0x2cd0fb,segmentPage:_0x5a50c5}=_0x381a61;_0x1eefbf[_0x17a93a(0x212)]&&(_0x1eefbf+=','),_0x1eefbf+=_0x188a22+':'+_0x515081+':'+(_0x26cafc?'1':'0')+':'+_0x4012aa+':'+_0x2cd0fb+':'+_0x5a50c5;}return _0x1eefbf;}function Oi(_0x12260d){const _0x59cf61=_0x500288,_0x31b597=_0x12260d['split'](','),_0x2fe0c6=[];for(const _0x5b498b of _0x31b597){const [_0x40dd74,_0x64fcd5,_0x35d97b,_0x5462d4,_0x1f825d,_0x557d74]=_0x5b498b[_0x59cf61(0x297)](':');_0x2fe0c6['push']({'startOffset':Number(_0x40dd74),'endOffset':Number(_0x64fcd5),'collapsed':_0x40dd74===_0x64fcd5,'isActive':_0x35d97b==='1','rangeType':_0x5462d4===_0x2bb2eb[_0x59cf61(0x2ed)]?_0x2bb2eb[_0x59cf61(0x2ed)]:_0x2bb2eb[_0x59cf61(0x263)],'segmentId':typeof _0x1f825d==_0x59cf61(0x328)?String(_0x1f825d):'','segmentPage':Number(_0x557d74!=null?_0x557d74:-0x1)});}return _0x2fe0c6[_0x59cf61(0x1f3)](_0x40098b=>_0x40098b[_0x59cf61(0x14c)])||(_0x2fe0c6[0x0][_0x59cf61(0x14c)]=!0x0),_0x2fe0c6;}class Fe extends _0x55b711{constructor(){const _0x4315da=_0x500288;super(...arguments),_(this,_0x4315da(0x26b),new _0x37238b(null)),_(this,_0x4315da(0x311),this[_0x4315da(0x26b)]['asObservable']());}[_0x500288(0x148)](_0x4aab3b){const _0x57a213=_0x500288,{unitID:_0x13c0ed,memberID:_0x1f3c43,textRanges:_0x48a9d4}=_0x4aab3b,_0x1de4a0=Mt(_0x48a9d4);if(_0x1de4a0==='')return;const _0x432e8c={'unitID':_0x13c0ed,'memberID':_0x1f3c43,'selection':_0x1de4a0};this[_0x57a213(0x26b)][_0x57a213(0x152)](_0x432e8c);}}var bi=Object[_0x500288(0x1c8)],Ti=(_0x2a5add,_0x162b79,_0x1e76ed,_0x4ab4ad)=>{const _0x57adad=_0x500288;for(var _0x1bced9=_0x4ab4ad>0x1?void 0x0:_0x4ab4ad?bi(_0x162b79,_0x1e76ed):_0x162b79,_0x3dd51b=_0x2a5add[_0x57adad(0x212)]-0x1,_0x4a98c5;_0x3dd51b>=0x0;_0x3dd51b--)(_0x4a98c5=_0x2a5add[_0x3dd51b])&&(_0x1bced9=_0x4a98c5(_0x1bced9)||_0x1bced9);return _0x1bced9;},P=(_0x502943,_0x8c1cf)=>(_0x16cf95,_0x54410d)=>_0x8c1cf(_0x16cf95,_0x54410d,_0x502943);const Ri=0x12c,Di=0x64;let Ue=class extends _0x55b711{constructor(_0x1f921d,_0x1c6de0,_0x524afa,_0x3b6e33,_0x37483f,_0x2f4722,_0x29373f,_0x63bbca,_0x28dc3e){const _0x20aec6=_0x500288;super(),_(this,_0x20aec6(0x289),!0x1),_(this,_0x20aec6(0x2f0),!0x1),_(this,_0x20aec6(0x279),new _0x37238b(new Map())),_(this,'cursorInfo$',this[_0x20aec6(0x279)]['asObservable']()),_(this,_0x20aec6(0x2e3),new _0x37238b([])),_(this,'roomMembers$',this[_0x20aec6(0x2e3)][_0x20aec6(0x1f2)](_0x3af6bc(Ri))),_(this,_0x20aec6(0x17e),_0x5740aa(_0x4d1fbf=>{const _0x47e8cb=_0x20aec6,_0x16e885={'eventID':_0x4303b0[_0x47e8cb(0x232)],'data':{'unitID':this[_0x47e8cb(0x1b2)],'memberID':this[_0x47e8cb(0x270)][_0x47e8cb(0x125)](),'selection':Mt(_0x4d1fbf)}};this[_0x47e8cb(0x270)][_0x47e8cb(0x192)](_0x16e885,this['unitID']);},Di)),(this['unitID']=_0x1f921d,this['_session']=_0x1c6de0,this[_0x20aec6(0x2c3)]=_0x524afa,this[_0x20aec6(0x20a)]=_0x3b6e33,this[_0x20aec6(0x2d7)]=_0x37483f,this[_0x20aec6(0x2ae)]=_0x2f4722,this[_0x20aec6(0x2b7)]=_0x29373f,this['_univerInstanceService']=_0x63bbca,this[_0x20aec6(0x2ee)]=_0x28dc3e);}get[_0x500288(0x250)](){const _0x417cb6=_0x500288;return this[_0x417cb6(0x279)]['getValue']();}get[_0x500288(0x1cd)](){const _0x21f365=_0x500288;return this[_0x21f365(0x2e3)]['getValue']();}[_0x500288(0x30b)](){const _0x2f66ec=_0x500288;super[_0x2f66ec(0x30b)](),this['_cursorInfo$'][_0x2f66ec(0x152)](new Map()),this[_0x2f66ec(0x279)][_0x2f66ec(0x323)](),this[_0x2f66ec(0x2e3)][_0x2f66ec(0x152)]([]),this[_0x2f66ec(0x2e3)]['complete']();}[_0x500288(0x137)](){const _0x416f06=_0x500288;this[_0x416f06(0x2f0)]||(this[_0x416f06(0x2f0)]=!0x0,this[_0x416f06(0x270)][_0x416f06(0x2ba)][_0x416f06(0x1f2)](_0x1d5417(this['dispose$']))[_0x416f06(0x219)](_0x3c12f4=>{const _0x45494a=_0x416f06;_0x3c12f4===_0x132cde[_0x45494a(0x180)]?this[_0x45494a(0x18a)]():this[_0x45494a(0x1c2)]();}),this[_0x416f06(0x270)]['event$'][_0x416f06(0x1f2)](_0x1d5417(this[_0x416f06(0x184)]))['subscribe'](_0x553b76=>{const _0x27df54=_0x416f06,_0x486a78=_0x553b76[_0x27df54(0x1fb)];_0x486a78===_0x4303b0[_0x27df54(0x232)]&&this[_0x27df54(0x1f7)](_0x553b76),_0x486a78===_0x4303b0[_0x27df54(0x2d9)]&&this[_0x27df54(0x2a3)](_0x553b76);}),this[_0x416f06(0x2f1)](this[_0x416f06(0x2ee)][_0x416f06(0x31a)](_0x16b201=>{const _0x2a300f=_0x416f06,_0x43032d=_0x16b201['params'];_0x43032d!=null&&this[_0x2a300f(0x289)]&&_0x16b201['id']===_0x536c63['id']&&_0x43032d[_0x2a300f(0x310)]===this[_0x2a300f(0x1b2)]&&_0x43032d[_0x2a300f(0x13d)]===!0x1&&_0x43032d[_0x2a300f(0x259)]['length']>0x0&&this[_0x2a300f(0x17e)](_0x43032d[_0x2a300f(0x259)]);})),this[_0x416f06(0x2ae)][_0x416f06(0x311)][_0x416f06(0x1f2)](_0x1d5417(this[_0x416f06(0x184)]))[_0x416f06(0x219)](_0x4c535a=>{const _0x3e6f6b=_0x416f06;if((_0x4c535a==null?void 0x0:_0x4c535a[_0x3e6f6b(0x1b2)])!==this[_0x3e6f6b(0x1b2)])return;const _0x34420e={'eventID':_0x4303b0['UPDATE_CURSOR'],'data':_0x4c535a};this['_onCursorUpdate'](_0x34420e);}),this[_0x416f06(0x2f1)](this[_0x416f06(0x2ee)][_0x416f06(0x31a)](_0x37b29b=>{const _0x556593=_0x416f06;if(_0x37b29b[_0x556593(0x1e4)]==null)return;const _0xf2b72a=_0x37b29b['params'];if(_0x37b29b['id']!==_0x1285e7['id']||_0xf2b72a[_0x556593(0x310)]!==this['unitID'])return;const _0x3bd1f4={'id':_0x556593(0x244),'params':_0xf2b72a},_0x23f378=this[_0x556593(0x250)];for(const [_0x28a31a,_0x8d1c16]of _0x23f378){const _0x143669={'id':_0x556593(0x244),'params':{'unitId':this[_0x556593(0x1b2)],'actions':null,'textRanges':_0x8d1c16['ranges']}},_0x18b292=this[_0x556593(0x2b7)]['transformMutation'](_0x3bd1f4,_0x143669,!0x1);if(_0x2ef4e9(_0x18b292))throw _0x18b292[_0x556593(0x2b4)];_0x23f378[_0x556593(0x292)](_0x28a31a,{..._0x8d1c16,'ranges':_0x18b292['m2Prime']['params'][_0x556593(0x307)]});}queueMicrotask(()=>{const _0x46eb9d=_0x556593;this[_0x46eb9d(0x279)][_0x46eb9d(0x152)](_0x23f378);});})));}[_0x500288(0x1f7)](_0x1c3e5a){const _0x5759ac=_0x500288;var _0x3095a7,_0x3ea291;const {memberID:_0x471c85,selection:_0x3cee12}=_0x1c3e5a['data'],_0x2692e6=Oi(_0x3cee12),_0x3bbb02=(_0x3ea291=(_0x3095a7=this[_0x5759ac(0x2d7)][_0x5759ac(0x25f)](this[_0x5759ac(0x1b2)],_0x471c85))==null?void 0x0:_0x3095a7[_0x5759ac(0x130)])!=null?_0x3ea291:_0x5759ac(0x27f),_0x25a554={'color':this[_0x5759ac(0x20a)][_0x5759ac(0x2af)](_0x471c85),'name':_0x3bbb02,'ranges':_0x2692e6},_0x9e36f4=this[_0x5759ac(0x250)];_0x9e36f4[_0x5759ac(0x292)](_0x471c85,_0x25a554),this['_cursorInfo$'][_0x5759ac(0x152)](_0x9e36f4);}[_0x500288(0x2a3)](_0x168ae9){const _0x361080=_0x500288,{memberID:_0x285260}=_0x168ae9[_0x361080(0x164)],_0x4a4f6f=this[_0x361080(0x250)];_0x4a4f6f['delete'](_0x285260),this[_0x361080(0x279)]['next'](_0x4a4f6f);}[_0x500288(0x18a)](){const _0x5e7ded=_0x500288;var _0xbbd1d5;if(this[_0x5e7ded(0x289)]=!0x0,((_0xbbd1d5=this['_univerInstanceService'][_0x5e7ded(0x1af)]())==null?void 0x0:_0xbbd1d5[_0x5e7ded(0x301)]())!==this['unitID'])return;const _0x308c44=this[_0x5e7ded(0x2c3)][_0x5e7ded(0x14d)](_0x23a93b)[_0x5e7ded(0x2d5)]();Array[_0x5e7ded(0x1d1)](_0x308c44)&&_0x308c44[_0x5e7ded(0x212)]>0x0&&this[_0x5e7ded(0x17e)](_0x308c44);}[_0x500288(0x1c2)](){const _0x1fd863=_0x500288;this[_0x1fd863(0x289)]=!0x1;}};Ue=Ti([P(0x2,_0x29d4e7(_0x1331ea)),P(0x3,_0x29d4e7(He)),P(0x4,_0x29d4e7(_0x466ce6)),P(0x5,_0x29d4e7(Fe)),P(0x6,_0x28a0e1),P(0x7,_0x1f5daf),P(0x8,_0x2a0638)],Ue);function _0x4837(){const _0x48bb6b=['values','onPointerMove$','status$','_revisionService','off-line-icon_clip0_910_343','InsertRowCommandId','getValue','NOT_FOUND','_shapes','_imageIoService','USER_NOT_INVITED_CODE','YUUMI_NO_CUBOID_FOR_QUESTION','source','_color','permission.title','setUndoRedoMutationParamsCache','getViewport','RemoveColCommandId','getUndoRedoMutationParamsCache','transform','_scheduleSaving','_colorIndex','_updateCollabCursors','use','createInstance','getFocusedUnit','PERMISSION_DENIED','add','unitID','YUUMI_RATE_OVER_LIMIT','concat','getOffsetConfig','hide','registerBeforeClose','_docStateChangeManagerService','moveTo','from','LICENSE_MAX_UNITS_EXCEEDED','_entities','getTypeOfUnitAdded$','registerRefRange','exhaustSavingTask','addClipboardHook','APPLY_PERMISSION_DENIED','_toggleOffline','then','width','_name','UNRECOGNIZED','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','hovered','focused$','SYNCED','saveOfflineData','roomMembers','OFFLINE','runOnServer','2152EZPpan','isArray','PY_RUNTIME_SCRIPT_ERROR','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collaboration-client.offline-data-not-saved','endColumn','currentTheme$','ALREADY_EXISTS','location','search','ticket','has','getUnitStatus$','clearInterval','_getMergeRange','docStateChange$','_transformUndoRedoStack','_transformHistoryAndStateStack','parse','_heartbeatTimer','params','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','unit','INVALID_INVITE_CODE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENSURE_SNAPSHOT_EXECUTION','_getSheetObject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleEvent','_drawRectRange','entries','className','_instanceService','_hovered','pipe','some','_localCacheService','collab-rect-range-','code','_onCursorUpdate','includes','range','idSuffix','eventID','row','_registerRenderDependencies','OTHER_CLIENTS_EDITING','JOIN_ROOM_FAILED','_setupBeforeClosingHandler','_collabSessionService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setInterval','OnLineIcon','roomMembers$','LICENSE_DISTRO_REJECTED','uni.network.url-service','sheetId','removeParam','_colorAssignService','replace','949921UQVVRz','xlink:href','_getSaveTimeout','setAlpha','trim','function','length','min','currentColor','_textBubble','pushState','MOBILE_HAS_BEEN_BOUND','href','subscribe','YUUMI_AI_RUN_FAILED','_removeCollabCursors','addObject','_initDependencies','_transformPreviousActiveRange','addObjects','translate(.97)','_scheduleClearOtherTimer','apply','defIds','_ensureSubject','collabStatus.synced','closePath','displayName','requireSession','YUUMI_URL_COL_OUT_OF_RANGE','session.will-retry','getRangePointData','whenReady','LICENSE_IMPORT_SIZE_EXCEEDED','white','239597uXXuTv','clearTimeout','3061930kZZOWD','UPDATE_CURSOR','fill','getRenderById','APPLY_REVISION_CONFILICT','labelPosition','unsubscribe','on-line-icon','toRgbString','_document','onMouseMove','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','yellow.400','_renderManagerService','max','_initStatusListener','registerRenderModule','saveImage','AWAITING_WITH_PENDING','doc.mutation.rich-text-editing','updateOfflineData','collabStatus.offline','override','YUUMI_ALL_TABLES_IS_INVALID','_getAnchorBounding','pluginName','makeDirty','1115ZJItVX','memberID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','size','cursorInfo','application/json','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','black','UniverIcon','result','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TOO_MANY_REQUESTS','body','ranges','event$','disposeUnit','getColorFromTheme','getSheetId','WECHAT_HAS_BEEN_BOUND','getMember','MoveRangeCommandId','_anchor','transformByState','RECT','_getSessionTicket','14019xGfXRd','AWAITING','mask','OTHER_CLIENT_EDITING','getConfig','transformMutation','_collabCursorState$','redoState','delete','SOCKET_FAILED_RETRY','blue.400','_session','getOwnPropertySymbols','_clearOtherTimers','15867xKjFVV','_localStorageService','_backgroundColor','searchParams','UNIVER_SHEET','m1Prime','_cursorInfo$','hasOwnProperty','drawWith','getTypeOfUnitDisposed$','_docTransformIMECacheService','RemoveRowCommandId','Unknown\x20user','_initEntityListener','collab-client.tooltip.reconnect','disableLocalCache','attrs','Failed','_scene','unshift','_hover','M0\x200H16V16H0z','_online','onStarting','APPLY_NON_SEQUENTIAL_REVISION','children','CLOSE_ROOM','_range','_startSheetCollabCursor','_handleJoinEvent','onPointerLeave$','set','replaceState','mutations','getStateCache','selections','split','collaboration.closeRoom','getActiveRange','_selfUnitIDs','find','INVITE_CODE_ALREADY_BOUND','_messageService','height','getCollabCursors$','_localeService','UNIVER_DOC','arc','_onCursorDelete','_config','setStateCache','univerjs-icon\x20univerjs-icon-','assign','executeCommand','off-line-icon','executionId','17046pkHwlx','collabStatus.syncing','_logService','_syncEditingCollabCursorService','assignAColorForMemberID','InsertColCommandId','INVALID_ARGUMENT','post','[RemoteUniscriptService]:\x20no\x20focused\x20unit','error','text','FromArray','_transformService','getActiveSheet','getMergeData','sessionStatus$','VIEW_MAIN','Error','_dataLoaderService','column','SOCKET_FAILED','push','InsertRangeMoveDownCommandId','EMAIL_VERIFY_CODE_MISMATCH','_injector','_eventUnsubscribe','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','transformRemoteChangeset','onPointerEnter$','collab-text-range-','_cursors','_cachedData','none','red.300','loadOfflineData','NO_OTHER_CLIENTS_EDITING','on-line-icon_clip0_910_349','deepClone','_entityInit$','collabStatus.conflict','_docClipboardService','getDocRanges','collabStatus.fetchMiss','_memberService','call','USERS_LEAVE','_doCreateSocket','_onRefRangeChange','_sheetSkeletonManagerService','invokeId','univer-flex\x20univer-items-center','currentSkeleton$','undoState','getAncestorScale','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers$','_disabled','prototype','_initEvent','728298GPzpJD','transformSelections','top','getUniverSheetInstance','APPLY_REJECT','_context','TEXT','_commandService','contains','_init','disposeWithMe','registerComponent','url(#on-line-icon_clip0_910_349)','_cursor','INVITE_CODE_REQUIRED','_removeClearOtherTimer','NOT_COLLAB','measureText','CHANGESET_REVISION_CONFILICT','_uiPartsService','m2Prime','startsWith','_getScale','round','#FFF','getParam','getUnitId','_collaborationController','_registerDependencies','fillText','_initResize','transformIMECache','textRanges','ACTIVE_UNIT_EVENT_CHANNEL','getCollabEntity$','colorChannel1','dispose','replaceDocRanges','collaboration-client-ui.config','univer-mr-2\x20univer-flex\x20univer-text-xl','_id','unitId','collabCursorState$','DeleteRangeMoveLeftCommandId','getSkeleton','type','with','1em','cursorInfo$','_labelPosition','div','onCommandExecuted','_configService','color','_hideTimer','_status$','_collabCursorController','lineTo','YUUMI_UNABLE_LOAD_URL','restore','complete','_lastPointer','runId','getSheetBySheetId','http://www.w3.org/2000/svg','string','INVITE_CODE_HAS_BEEN_UES','getMemberID','_anchorDot','_cursorShapes','_drawTextRange','_render','22PcoqfD','UNDEFINED','unload','extend','urlChange$','APPLY_DUPLICATED','name','_urlService','session.connection-failed','_scheduleHeartbeat','stringify','[CollaborationDataLoaderController]','rgba(255,\x20255,\x20255,\x200.01)','init','_docSkeletonManagerService','_docTransformSelectionsService','clipPath','...','setItem','isEditing','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','subscribeEvent','createSocket','EMAIL_HAS_BEEN_BOUND','0\x200\x2017\x2016','beginPath','indexOf','SNAPSHOT_INVALID_SNAPSHOT','_assignedColors','syncEditingCollabCursor','_drawAnchor','_initStatusComponent','asObservable','isActive','get','wsSessionTicketUrl','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SUBMIT_CHANGESET_TIMEOUT','_draw','next','setShapeProps','YUUMI_CONNECTOR_URL_NOT_FOUND','show','FETCH_MISS','0\x200\x2016\x2016','_refRangeService','url(#$1','findNodePositionByCharIndex','startColumn','subUnitId','newValue','YUUMI_ASYNCIO_CANCELLED','_updateURLWithCurrentState','getVpScrollXYInfoByPosToVp','evenodd','toString','_handleHover','data','InsertRangeMoveRightCommandId','subunit','transformStateCache','random','/run/','svg','jiqing.500','_unitOnClients','_univerInstanceService','SNAPSHOT_HAS_BEEN_REMOVED','_unitStatus','map','_themeService','purple.300','path','CONFLICT','_createSocketURL','popstate','history','_beforeCloseService','icon','saveTaskMap','save','forEach','_updateSubUnitFromURLParams','_updateLocalCursor','_collaborationUIEventService','ONLINE','setActiveRange','_saveTaskMap','getRelativeToViewportCoord','dispose$','fillStyle','resize','defs','212AwgLvX','storage','_toggleOnline','_send','debug','triggerDblclick','Warning','onLocalMutation','_docSyncEditingCollabCursorService','_handleHeartbeatEvent','send','_docTransformStateCacheService','INTERNAL_ERROR','CONNECTOR_DATA_TOO_LARGE'];_0x4837=function(){return _0x48bb6b;};return _0x4837();}var Ni=Object[_0x500288(0x1c8)],Ui=(_0x5ad015,_0x1b4a23,_0x3e6183,_0x4b7167)=>{const _0x5a0c42=_0x500288;for(var _0x12236d=_0x4b7167>0x1?void 0x0:_0x4b7167?Ni(_0x1b4a23,_0x3e6183):_0x1b4a23,_0x2e1320=_0x5ad015[_0x5a0c42(0x212)]-0x1,_0x566971;_0x2e1320>=0x0;_0x2e1320--)(_0x566971=_0x5ad015[_0x2e1320])&&(_0x12236d=_0x566971(_0x12236d)||_0x12236d);return _0x12236d;},x=(_0x41b38a,_0x6372b5)=>(_0x5bf887,_0x565a87)=>_0x6372b5(_0x5bf887,_0x565a87,_0x41b38a);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x399458=[],_0x3dd00b=!0x1;return _0x434a99=>{const _0x31ec99=_0x4620;_0x399458[_0x31ec99(0x2c0)](_0x434a99),_0x3dd00b||(_0x3dd00b=!0x0,setTimeout(()=>{const _0x2bacc8=_0x31ec99;_0x399458[_0x2bacc8(0x17c)](_0x59965=>_0x59965()),_0x399458=[],_0x3dd00b=!0x1;}));};};let Me=class extends _0x55b711{constructor(_0x4f9220,_0xa766bd,_0x45b832,_0x5f3611,_0x1d62c8,_0xb6c7ad,_0x57d247,_0x33d989){const _0x19f405=_0x500288;super(),_(this,_0x19f405(0x289),!0x1),_(this,'_init',!0x1),_(this,_0x19f405(0x279),new _0x37238b(new Map())),_(this,_0x19f405(0x317),this['_cursorInfo$']['asObservable']()),_(this,_0x19f405(0x2e3),new _0x37238b([])),_(this,_0x19f405(0x205),this['_roomMembers$']['pipe'](_0x3af6bc(Mi))),_(this,_0x19f405(0x17e),_0x5740aa((_0x313e0c,_0x22e406)=>{const _0x45cccd=_0x19f405,_0x453a42={'eventID':_0x4303b0[_0x45cccd(0x232)],'data':{'unitID':this[_0x45cccd(0x1b2)],'memberID':this['_session'][_0x45cccd(0x125)](),'selection':_0x1fe9b8(_0x313e0c,_0x22e406[_0x45cccd(0x1f9)])}};this[_0x45cccd(0x270)]['send'](_0x453a42,this[_0x45cccd(0x1b2)]);},Li)),(this[_0x19f405(0x1b2)]=_0x4f9220,this['_session']=_0xa766bd,this['_injector']=_0x45b832,this[_0x19f405(0x20a)]=_0x5f3611,this[_0x19f405(0x2d7)]=_0x1d62c8,this[_0x19f405(0x16d)]=_0xb6c7ad,this[_0x19f405(0x2ee)]=_0x57d247,this[_0x19f405(0x158)]=_0x33d989);}get[_0x500288(0x250)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x1ad676=_0x500288;return this[_0x1ad676(0x2e3)][_0x1ad676(0x19c)]();}['dispose'](){const _0x4ea8f5=_0x500288;super[_0x4ea8f5(0x30b)](),this[_0x4ea8f5(0x279)][_0x4ea8f5(0x152)](new Map()),this['_cursorInfo$'][_0x4ea8f5(0x323)](),this[_0x4ea8f5(0x2e3)][_0x4ea8f5(0x152)]([]),this['_roomMembers$'][_0x4ea8f5(0x323)]();}['init'](){const _0x22a907=_0x500288;this[_0x22a907(0x2f0)]||(this[_0x22a907(0x2f0)]=!0x0,this[_0x22a907(0x270)]['sessionStatus$'][_0x22a907(0x1f2)](_0x1d5417(this[_0x22a907(0x184)]))[_0x22a907(0x219)](_0x1e2d91=>{const _0x5c5f55=_0x22a907;_0x1e2d91===_0x132cde[_0x5c5f55(0x180)]?this[_0x5c5f55(0x18a)]():this[_0x5c5f55(0x1c2)]();}),this[_0x22a907(0x270)][_0x22a907(0x25a)][_0x22a907(0x1f2)](_0x1d5417(this[_0x22a907(0x184)]))['subscribe'](_0x2ba931=>{const _0x63ff94=_0x22a907,_0x5a47dd=_0x2ba931[_0x63ff94(0x1fb)];_0x5a47dd===_0x4303b0[_0x63ff94(0x232)]&&this[_0x63ff94(0x1f7)](_0x2ba931),_0x5a47dd===_0x4303b0[_0x63ff94(0x2d9)]&&this[_0x63ff94(0x2a3)](_0x2ba931);}),this[_0x22a907(0x2db)](),this[_0x22a907(0x2f1)](this[_0x22a907(0x2ee)][_0x22a907(0x31a)](_0x1724f5=>{const _0x1bb259=_0x22a907;if(this[_0x1bb259(0x289)]&&_0x1724f5['id']===_0x548e18['id']&&_0x1724f5[_0x1bb259(0x1e4)]['unitId']===this[_0x1bb259(0x1b2)]){const _0x208406=_0x1724f5[_0x1bb259(0x1e4)];this[_0x1bb259(0x17e)](_0x208406[_0x1bb259(0x15c)],_0x208406[_0x1bb259(0x296)][0x0]);}})));}[_0x500288(0x1f7)](_0x5c0d66){const _0x276e86=_0x500288;var _0x17550f,_0x112709;const {memberID:_0x40c08b,selection:_0x3dec75}=_0x5c0d66[_0x276e86(0x164)],{sheetName:_0x4c5f8a,range:_0x179481}=_0x3060d3(_0x3dec75),_0x332abe={'name':(_0x112709=(_0x17550f=this[_0x276e86(0x2d7)][_0x276e86(0x25f)](this[_0x276e86(0x1b2)],_0x40c08b))==null?void 0x0:_0x17550f[_0x276e86(0x130)])!=null?_0x112709:'Unknown\x20user','range':this[_0x276e86(0x1de)](_0x4c5f8a,_0x179481),'sheetID':_0x4c5f8a,'color':this[_0x276e86(0x20a)][_0x276e86(0x2af)](_0x40c08b),'selection':_0x3dec75},_0x15ac24=this[_0x276e86(0x250)];_0x15ac24['set'](_0x40c08b,_0x332abe),this[_0x276e86(0x279)][_0x276e86(0x152)](_0x15ac24);}[_0x500288(0x2a3)](_0xd279){const _0x532387=_0x500288,{memberID:_0x94dcb0}=_0xd279[_0x532387(0x164)],_0x230f47=this[_0x532387(0x250)];_0x230f47[_0x532387(0x26d)](_0x94dcb0),this[_0x532387(0x279)]['next'](_0x230f47);}['_getMergeRange'](_0x181c10,_0x56860a){const _0x288e90=_0x500288;var _0x136ae8,_0x5a3304;const _0x1cabc0=(_0x5a3304=(_0x136ae8=this[_0x288e90(0x16d)][_0x288e90(0x2ea)](this[_0x288e90(0x1b2)]))==null?void 0x0:_0x136ae8['getSheetBySheetId'](_0x181c10))==null?void 0x0:_0x5a3304[_0x288e90(0x2b9)]();return(_0x1cabc0==null?void 0x0:_0x1cabc0[_0x288e90(0x29b)](_0x2ef56d=>_0x5eec72[_0x288e90(0x2ef)](_0x2ef56d,_0x56860a)))||_0x56860a;}[_0x500288(0x2db)](){const _0x4f1787=_0x500288,_0x4fa200=new _0x5d4b44(),_0x112a07=Pi(),_0x21e6f3=()=>{const _0x2d7f12=_0x4620;_0x4fa200[_0x2d7f12(0x30b)]();const _0x55e7ce=(_0x59a374,_0xbc9aed,_0x56d3e7,_0xb186b3)=>{const _0x3e451c=_0x2d7f12;let _0x4b2c96=[];switch(_0x59a374['id']){case _0x147eb0[_0x3e451c(0x312)]:{_0x4b2c96=_0x5426a7(_0x59a374,_0xb186b3);break;}case _0x147eb0['DeleteRangeMoveUpCommandId']:{_0x4b2c96=_0x40642a(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x2b0)]:{_0x4b2c96=_0x5ee7cf(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x2c1)]:{_0x4b2c96=_0x594b60(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x165)]:{_0x4b2c96=_0x3ad337(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x19b)]:{_0x4b2c96=_0x5aa757(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x260)]:{_0x4b2c96=_0x2bb159(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x1a7)]:{_0x4b2c96=_0x3e7366(_0x59a374,_0xb186b3);break;}case _0x147eb0[_0x3e451c(0x27e)]:{_0x4b2c96=_0x372365(_0x59a374,_0xb186b3);break;}}const _0x5551ca=_0x5d5133(_0x4b2c96,_0xb186b3),_0x5b570d=this[_0x3e451c(0x250)][_0x3e451c(0x14d)](_0xbc9aed);if(_0x5b570d&&_0x5551ca){const _0x4191fd={..._0x5b570d,'range':_0x5551ca};this['cursorInfo']['set'](_0xbc9aed,_0x4191fd),_0x112a07(()=>{const _0x2d1da0=_0x3e451c,_0x33beaf=this[_0x2d1da0(0x158)][_0x2d1da0(0x1be)](_0x5551ca,_0xb64787=>(_0x33beaf[_0x2d1da0(0x30b)](),_0x55e7ce(_0xb64787,_0xbc9aed,_0x56d3e7,_0x5551ca)));_0x4fa200[_0x2d1da0(0x1b1)](_0x33beaf);});}return{'redos':[],'undos':[]};};this[_0x2d7f12(0x250)][_0x2d7f12(0x17c)]((_0x218f9c,_0x50c752)=>{const _0x3529bb=_0x2d7f12,{range:_0x14c72e,sheetID:_0x118799}=_0x218f9c,_0x2c05c2=this['_refRangeService'][_0x3529bb(0x1be)](_0x14c72e,_0x38c1b5=>(_0x2c05c2[_0x3529bb(0x30b)](),_0x55e7ce(_0x38c1b5,_0x50c752,_0x118799,_0x14c72e)));_0x4fa200[_0x3529bb(0x1b1)](_0x2c05c2);});};this[_0x4f1787(0x2f1)](_0x11aff7(this[_0x4f1787(0x279)][_0x4f1787(0x219)](()=>{_0x21e6f3();})));}[_0x500288(0x18a)](){const _0x2e655c=_0x500288;var _0x123b8d,_0x4c0585;if(this[_0x2e655c(0x289)]=!0x0,((_0x123b8d=this[_0x2e655c(0x16d)]['getFocusedUnit']())==null?void 0x0:_0x123b8d['getUnitId']())!==this['unitID'])return;const _0x37a754=(_0x4c0585=this['_injector'][_0x2e655c(0x14d)](_0x2c62c8)['getCurrentSelections']())==null?void 0x0:_0x4c0585[0x0],_0x2f6bb2=this[_0x2e655c(0x16d)]['getCurrentUnitForType'](_0xe27841['UNIVER_SHEET'])['getActiveSheet']();_0x37a754&&_0x2f6bb2&&this[_0x2e655c(0x17e)](_0x2f6bb2[_0x2e655c(0x25d)](),_0x37a754);}[_0x500288(0x1c2)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x29d4e7(_0x1331ea)),x(0x3,_0x29d4e7(He)),x(0x4,_0x29d4e7(_0x466ce6)),x(0x5,_0x1f5daf),x(0x6,_0x2a0638),x(0x7,_0x29d4e7(_0x1debcf))],Me);var wi=Object[_0x500288(0x1c8)],Ai=(_0x519244,_0x3fa407,_0x3ff464,_0x52b1fa)=>{const _0x283875=_0x500288;for(var _0x3f14ee=_0x52b1fa>0x1?void 0x0:_0x52b1fa?wi(_0x3fa407,_0x3ff464):_0x3fa407,_0x3b12ac=_0x519244[_0x283875(0x212)]-0x1,_0x5bc2d8;_0x3b12ac>=0x0;_0x3b12ac--)(_0x5bc2d8=_0x519244[_0x3b12ac])&&(_0x3f14ee=_0x5bc2d8(_0x3f14ee)||_0x3f14ee);return _0x3f14ee;},me=(_0x3a35a1,_0x5bdef7)=>(_0x18b2fc,_0x29e80a)=>_0x5bdef7(_0x18b2fc,_0x29e80a,_0x3a35a1);let F=class extends _0x55b711{constructor(_0x5dcf95,_0x5e2a2b,_0x462803){const _0x4e20ca=_0x500288;super(),_(this,_0x4e20ca(0x1bc),new Map()),_(this,'_entityInit$',new _0x9030f1()),(this['_univerInstanceService']=_0x5dcf95,this[_0x4e20ca(0x2c3)]=_0x5e2a2b,this[_0x4e20ca(0x201)]=_0x462803,this[_0x4e20ca(0x2f0)]());}[_0x500288(0x30b)](){const _0x47c132=_0x500288;super['dispose'](),this['_entityInit$'][_0x47c132(0x323)](),this[_0x47c132(0x1bc)][_0x47c132(0x17c)](_0x4f4800=>_0x4f4800[_0x47c132(0x30b)]());}[_0x500288(0x29f)](_0x208fb1){const _0x4d8f9e=_0x500288;return this[_0x4d8f9e(0x1bc)][_0x4d8f9e(0x1db)](_0x208fb1)?this['_entities'][_0x4d8f9e(0x14d)](_0x208fb1)[_0x4d8f9e(0x317)]:this[_0x4d8f9e(0x2d2)][_0x4d8f9e(0x1f2)](_0x35e55d(_0x1b87cb=>_0x1b87cb[_0x4d8f9e(0x1b2)]===_0x208fb1),_0x46a50d(_0x1735ef=>_0x1735ef[_0x4d8f9e(0x317)]));}[_0x500288(0x2f0)](){const _0x5d6602=_0x500288;this[_0x5d6602(0x16d)][_0x5d6602(0x1bd)](_0xe27841['UNIVER_SHEET'])[_0x5d6602(0x1f2)](_0x1d5417(this['dispose$']))[_0x5d6602(0x219)](async _0x3c81f5=>{const _0x550c22=_0x5d6602,_0xd6e753=_0x3c81f5['getUnitId'](),_0xab0ecc=await this[_0x550c22(0x28f)](_0xd6e753);this[_0x550c22(0x2d2)]['next'](_0xab0ecc),this['_entities'][_0x550c22(0x292)](_0xd6e753,_0xab0ecc);}),this[_0x5d6602(0x16d)]['getTypeOfUnitAdded$'](_0xe27841[_0x5d6602(0x2a1)])[_0x5d6602(0x1f2)](_0x1d5417(this['dispose$']))['pipe'](_0x35e55d(_0x259b4d=>!_0x259b4d['getUnitId']()[_0x5d6602(0x2fc)]('__')))[_0x5d6602(0x219)](async _0x362219=>{const _0x2e3332=_0x5d6602,_0x41391b=_0x362219[_0x2e3332(0x301)](),_0x36b4b3=await this['_startDocCollabCursor'](_0x41391b);this[_0x2e3332(0x2d2)][_0x2e3332(0x152)](_0x36b4b3),this[_0x2e3332(0x1bc)]['set'](_0x41391b,_0x36b4b3);}),_0x31aca5(this[_0x5d6602(0x16d)][_0x5d6602(0x27c)](_0xe27841[_0x5d6602(0x2a1)]),this[_0x5d6602(0x16d)][_0x5d6602(0x27c)](_0xe27841[_0x5d6602(0x277)]))['pipe'](_0x1d5417(this[_0x5d6602(0x184)]))['subscribe'](_0x222e4f=>{const _0xab818b=_0x5d6602,_0x3d4b9b=_0x222e4f[_0xab818b(0x301)](),_0x17fb83=this[_0xab818b(0x1bc)][_0xab818b(0x14d)](_0x3d4b9b);_0x17fb83&&(_0x17fb83[_0xab818b(0x30b)](),this[_0xab818b(0x1bc)][_0xab818b(0x26d)](_0x3d4b9b));});}async['_startSheetCollabCursor'](_0xca8c68){const _0x2479d4=_0x500288,_0x37ff6a=await this[_0x2479d4(0x201)][_0x2479d4(0x228)](_0xca8c68),_0x1ec8ee=this[_0x2479d4(0x2c3)][_0x2479d4(0x1ae)](Me,_0xca8c68,_0x37ff6a);return _0x1ec8ee[_0x2479d4(0x137)](),_0x1ec8ee;}async['_startDocCollabCursor'](_0x4affaf){const _0x5e075d=_0x500288,_0x268494=await this[_0x5e075d(0x201)]['requireSession'](_0x4affaf),_0x1e6b07=this['_injector']['createInstance'](Ue,_0x4affaf,_0x268494);return _0x1e6b07['init'](),_0x1e6b07;}};F=Ai([me(0x0,_0x1f5daf),me(0x1,_0x29d4e7(_0x1331ea)),me(0x2,_0x29d4e7(_0x3c9281))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x259e2b,_0x1cca97){const _0x16415c=_0x500288;let {radius:_0x18c61c,width:_0x29f7ad,height:_0x2637db}=_0x1cca97;_0x18c61c=_0x18c61c!=null?_0x18c61c:0x0,_0x29f7ad=_0x29f7ad!=null?_0x29f7ad:0x1e,_0x2637db=_0x2637db!=null?_0x2637db:0x1e;let _0x5d999d=0x0,_0x966e3a=0x0,_0x2e98fc=0x0;_0x5d999d=_0x966e3a=_0x2e98fc=Math[_0x16415c(0x213)](_0x18c61c,_0x29f7ad/0x2,_0x2637db/0x2),_0x259e2b[_0x16415c(0x144)](),_0x259e2b[_0x16415c(0x1b9)](_0x5d999d,0x0),_0x259e2b['lineTo'](_0x29f7ad-_0x966e3a,0x0),_0x259e2b[_0x16415c(0x2a2)](_0x29f7ad-_0x966e3a,_0x966e3a,_0x966e3a,Math['PI']*0x3/0x2,0x0,!0x1),_0x259e2b[_0x16415c(0x320)](_0x29f7ad,_0x2637db-_0x2e98fc),_0x259e2b[_0x16415c(0x2a2)](_0x29f7ad-_0x2e98fc,_0x2637db-_0x2e98fc,_0x2e98fc,0x0,Math['PI']/0x2,!0x1),_0x259e2b[_0x16415c(0x320)](0x0,_0x2637db),_0x259e2b[_0x16415c(0x320)](0x0,_0x5d999d),_0x259e2b[_0x16415c(0x2a2)](_0x5d999d,_0x5d999d,_0x5d999d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x259e2b[_0x16415c(0x226)](),_0x1cca97[_0x16415c(0x233)]&&(_0x259e2b[_0x16415c(0x17b)](),_0x259e2b[_0x16415c(0x185)]=_0x1cca97[_0x16415c(0x233)],_0x1cca97['fillRule']===_0x16415c(0x161)?_0x259e2b[_0x16415c(0x233)](_0x16415c(0x161)):_0x259e2b[_0x16415c(0x233)](),_0x259e2b[_0x16415c(0x322)]());}class ue extends _0x3913e1{constructor(_0x445ef0,_0x216cf5){const _0x5ef652=_0x500288;super(_0x445ef0,_0x216cf5),_(this,'color'),_(this,_0x5ef652(0x2b5)),(this[_0x5ef652(0x31c)]=_0x216cf5==null?void 0x0:_0x216cf5['color'],this[_0x5ef652(0x2b5)]=_0x216cf5==null?void 0x0:_0x216cf5['text']);}static['drawWith'](_0x1161c1,_0x4a7f87){const _0x18d042=_0x500288,{text:_0x253164,color:_0x501d5a}=_0x4a7f87;_0x1161c1[_0x18d042(0x17b)](),_0x1161c1['font']=_0x18d042(0x23c);const _0x388d45=_0x1161c1[_0x18d042(0x2f8)](_0x253164)[_0x18d042(0x1c4)],_0x199254=Math[_0x18d042(0x213)](_0x388d45+0x2*Ie,Qe);$i(_0x1161c1,{'height':J,'radius':0x4,'width':_0x199254,'fill':_0x501d5a}),_0x1161c1[_0x18d042(0x185)]=_0x18d042(0x2ff);const _0xbbb777=Ie,_0x2ac399=J-yi,_0x3625d2=Qe-0x2*Ie;if(_0x388d45>_0x3625d2){let _0x33ee76='',_0x334e3a=0x0;for(const _0x1de571 of _0x253164){const _0xf494e8=_0x1161c1[_0x18d042(0x2f8)](_0x1de571)['width'];if(_0x334e3a+_0xf494e8<=_0x3625d2-_0x1161c1['measureText']('...')['width'])_0x33ee76+=_0x1de571,_0x334e3a+=_0xf494e8;else{_0x33ee76+=_0x18d042(0x13b);break;}}_0x1161c1[_0x18d042(0x304)](_0x33ee76,_0xbbb777,_0x2ac399);}else _0x1161c1[_0x18d042(0x304)](_0x253164,_0xbbb777,_0x2ac399);_0x1161c1['restore']();}[_0x500288(0x151)](_0x3f9d7a){const _0x22827d=_0x500288;ue[_0x22827d(0x27b)](_0x3f9d7a,this);}}const ve='collab-text-anchor-',xi=_0x500288(0x2c9),Bi=_0x500288(0x1f5),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x500288(0x136);class qe{constructor(_0x599de0,_0x312663,_0x20a822,_0x4e5f2e){const _0x425773=_0x500288;_(this,_0x425773(0x19e),[]),_(this,_0x425773(0x261),null),_(this,_0x425773(0x215),null),_(this,_0x425773(0x126),null),_(this,_0x425773(0x31d),null),_(this,_0x425773(0x2c4),null),(this[_0x425773(0x2f4)]=_0x599de0,this['_scene']=_0x312663,this['_docSkeleton']=_0x20a822,this[_0x425773(0x23a)]=_0x4e5f2e,this[_0x425773(0x129)]());}set[_0x500288(0x287)](_0x1b1b5f){const _0x141299=_0x500288;_0x1b1b5f?(this[_0x141299(0x126)]&&this[_0x141299(0x126)][_0x141299(0x1b6)](),this['_textBubble']&&this[_0x141299(0x215)][_0x141299(0x155)]()):(this['_anchorDot']&&this[_0x141299(0x126)]['show'](),this[_0x141299(0x215)]&&this[_0x141299(0x215)][_0x141299(0x1b6)]());}[_0x500288(0x30b)](){const _0x4d723f=_0x500288;for(const _0x375de3 of this[_0x4d723f(0x19e)])_0x375de3[_0x4d723f(0x30b)]();this[_0x4d723f(0x215)]&&this[_0x4d723f(0x215)][_0x4d723f(0x30b)](),this[_0x4d723f(0x126)]&&this['_anchorDot'][_0x4d723f(0x30b)](),this[_0x4d723f(0x261)]&&this[_0x4d723f(0x261)][_0x4d723f(0x30b)](),this['_eventUnsubscribe']&&this[_0x4d723f(0x2c4)]();}[_0x500288(0x129)](){const _0x1df632=_0x500288;var _0x37c293;const {_docSkeleton:_0x436f13,_document:_0x521bdf}=this,{color:_0x4e6251,name:_0x358c2a,ranges:_0x302bba}=this[_0x1df632(0x2f4)],_0x2b17ff=_0x521bdf[_0x1df632(0x1b5)](),{docsLeft:_0x16c0f6,docsTop:_0x23645b}=_0x2b17ff,_0x27b801=new _0x53ce59(_0x2b17ff,_0x436f13);for(const {startOffset:_0x1592ff,endOffset:_0x320462,rangeType:_0x3daaad,segmentId:_0x4117a,segmentPage:_0x4c37fd,collapsed:_0x11fee2,isActive:_0x5eee8c}of _0x302bba){const _0x3cae29=_0x436f13[_0x1df632(0x15a)](_0x1592ff,!0x0,_0x4117a,_0x4c37fd);let _0x5c1c80=_0x436f13[_0x1df632(0x15a)](_0x320462,!0x0,_0x4117a,_0x4c37fd);if(_0x5c1c80==null&&(_0x5c1c80=_0x436f13[_0x1df632(0x15a)](_0x320462-0x1,!0x1,_0x4117a,_0x4c37fd)),_0x5eee8c){const {contentBoxPointGroup:_0x17c6a5}=_0x27b801[_0x1df632(0x22b)](_0x5c1c80,_0x5c1c80);if(_0x17c6a5['length']===0x0)continue;this[_0x1df632(0x149)](_0x4e6251,_0x17c6a5,_0x16c0f6,_0x23645b,_0x358c2a),this[_0x1df632(0x2c4)]=this[_0x1df632(0x163)]();}if(_0x3cae29&&_0x5c1c80){if(_0x3daaad===_0x2bb2eb['RECT']){const _0x1117b9=new _0x1eae0a(_0x2b17ff,_0x436f13),{pointGroup:_0x36b05a}=(_0x37c293=_0x1117b9[_0x1df632(0x22b)](_0x3cae29,_0x5c1c80))!=null?_0x37c293:{};if(_0x36b05a==null||_0x36b05a[_0x1df632(0x212)]===0x0)continue;this[_0x1df632(0x1ed)](_0x4e6251,_0x36b05a,_0x16c0f6,_0x23645b);}else{if(!_0x11fee2){const {borderBoxPointGroup:_0x4eae7b}=_0x27b801[_0x1df632(0x22b)](_0x3cae29,_0x5c1c80);if(_0x4eae7b[_0x1df632(0x212)]===0x0)continue;this[_0x1df632(0x128)](_0x4e6251,_0x4eae7b,_0x16c0f6,_0x23645b);}}}}}['_drawAnchor'](_0x55fb90,_0x4e3b98,_0x1c742d,_0x4f9955,_0x2ed692){const _0xbae8dc=_0x500288,_0x46a6d6=this[_0xbae8dc(0x249)](_0x4e3b98),{left:_0x68df07,top:_0x4dc8d1,height:_0x1005af}=_0x46a6d6,_0x28837c=this[_0xbae8dc(0x2fd)](),_0x5cbcbd=Hi/_0x28837c,_0x5658d8=new _0x214183(ve+_0x26c34b(K),{'left':_0x68df07+_0x1c742d-_0x5cbcbd,'top':_0x4dc8d1+_0x4f9955,'height':_0x1005af,'width':ki,'fill':_0x55fb90||_0x5d1051(_0x47d404[_0xbae8dc(0x253)],0x0),'strokeWidth':_0x5cbcbd,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x5658d8,this[_0xbae8dc(0x285)][_0xbae8dc(0x21c)](_0x5658d8,_0x17d5c5);const _0x12aa6c=new _0x214183(ve+_0x26c34b(K),{'left':_0x68df07+_0x1c742d-_0x5cbcbd,'top':_0x4dc8d1+_0x4f9955-ge/0x2,'height':ge,'width':ge,'fill':_0x55fb90||_0x5d1051(_0x47d404[_0xbae8dc(0x253)],0x0),'strokeWidth':0x0,'stroke':_0x55fb90||_0x5d1051(_0x47d404[_0xbae8dc(0x253)],0x0),'evented':!0x1});this[_0xbae8dc(0x126)]=_0x12aa6c,this[_0xbae8dc(0x285)][_0xbae8dc(0x21c)](_0x12aa6c,_0x17d5c5);const _0x3353e9=new ue(ve+_0x26c34b(K),{'left':_0x68df07+_0x1c742d-_0x5cbcbd,'top':_0x4dc8d1+_0x4f9955-J,'text':_0x2ed692,'color':_0x55fb90});this[_0xbae8dc(0x215)]=_0x3353e9,this[_0xbae8dc(0x285)][_0xbae8dc(0x21c)](_0x3353e9,_0x17d5c5),this[_0xbae8dc(0x287)]=!0x1;}[_0x500288(0x163)](){const _0xa74a0f=_0x500288,_0x28a3e0=this['_anchor'][_0xa74a0f(0x2c8)][_0xa74a0f(0x140)](()=>{const _0x3c336d=_0xa74a0f;this[_0x3c336d(0x287)]=!0x0;}),_0x58d726=this[_0xa74a0f(0x261)][_0xa74a0f(0x291)][_0xa74a0f(0x140)](()=>{const _0x2579ff=_0xa74a0f;this[_0x2579ff(0x31d)]&&clearTimeout(this[_0x2579ff(0x31d)]),this[_0x2579ff(0x31d)]=setTimeout(()=>{const _0x2b4de3=_0x2579ff;this[_0x2b4de3(0x287)]=!0x1;},0x7d0);});return()=>{const _0x2d919f=_0xa74a0f;_0x28a3e0[_0x2d919f(0x237)](),_0x58d726[_0x2d919f(0x237)]();};}['_drawTextRange'](_0x3553f5,_0x46b18d,_0x45c62e,_0x44a745){const _0x29e680=_0x500288,_0x52b50d=new _0x1334d2(_0x3553f5)[_0x29e680(0x20f)](0.2)[_0x29e680(0x239)](),_0x1edd49=new _0x467483(xi+_0x26c34b(K),{'pointsGroup':_0x46b18d,'fill':_0x52b50d||_0x5d1051(_0x47d404[_0x29e680(0x253)],0.2),'left':_0x45c62e,'top':_0x44a745,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29e680(0x19e)][_0x29e680(0x2c0)](_0x1edd49),this['_scene']['addObject'](_0x1edd49,_0x17d5c5);}[_0x500288(0x1ed)](_0x340309,_0x2cf0e2,_0x1e8c01,_0x4b8663){const _0x145894=_0x500288,_0x528778=new _0x1334d2(_0x340309)[_0x145894(0x20f)](0.2)[_0x145894(0x239)](),_0x50b279=new _0x467483(Bi+_0x26c34b(K),{'pointsGroup':_0x2cf0e2,'fill':_0x528778||_0x5d1051(_0x47d404['black'],0.2),'left':_0x1e8c01,'top':_0x4b8663,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x145894(0x19e)][_0x145894(0x2c0)](_0x50b279),this['_scene'][_0x145894(0x21c)](_0x50b279,_0x17d5c5);}[_0x500288(0x249)](_0x4fb39e){const _0x12bd03=_0x4fb39e[0x0],_0xee0d58=_0x12bd03[0x0],_0x13021a=_0x12bd03[0x2],{x:_0x87176c,y:_0x1e4f6c}=_0xee0d58,{x:_0x4b72dc,y:_0x408c63}=_0x13021a;return{'left':_0x87176c,'top':_0x1e4f6c,'width':_0x4b72dc-_0x87176c,'height':_0x408c63-_0x1e4f6c};}[_0x500288(0x2fd)](){const _0x214c5c=_0x500288,{scaleX:_0x18d1a2,scaleY:_0x249054}=this['_scene'][_0x214c5c(0x2e1)]();return Math[_0x214c5c(0x23f)](_0x18d1a2,_0x249054);}}var Yi=Object[_0x500288(0x1c8)],ji=(_0xf00a6f,_0x3b04b1,_0x488738,_0x2b2054)=>{const _0x5bb329=_0x500288;for(var _0x12c97c=_0x2b2054>0x1?void 0x0:_0x2b2054?Yi(_0x3b04b1,_0x488738):_0x3b04b1,_0x519eca=_0xf00a6f[_0x5bb329(0x212)]-0x1,_0x4fa387;_0x519eca>=0x0;_0x519eca--)(_0x4fa387=_0xf00a6f[_0x519eca])&&(_0x12c97c=_0x4fa387(_0x12c97c)||_0x12c97c);return _0x12c97c;},ee=(_0x4da2e7,_0x15cba1)=>(_0x198116,_0x128286)=>_0x15cba1(_0x198116,_0x128286,_0x4da2e7);let Le=class extends _0x55b711{constructor(_0x4ba9f4,_0x4b4116,_0x41fb1a,_0xd83b02,_0x3234ed){const _0x3dea46=_0x500288;super(),_(this,_0x3dea46(0x127),[]),_(this,_0x3dea46(0x2ca),[]),(this[_0x3dea46(0x2ec)]=_0x4ba9f4,this[_0x3dea46(0x138)]=_0x4b4116,this[_0x3dea46(0x31f)]=_0x41fb1a,this[_0x3dea46(0x2ee)]=_0xd83b02,this[_0x3dea46(0x171)]=_0x3234ed,this[_0x3dea46(0x2f0)]());}[_0x500288(0x2f0)](){const _0x26e2f1=_0x500288,_0x545943=this[_0x26e2f1(0x2ec)][_0x26e2f1(0x310)],_0x1c50e6=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x5dec17([this[_0x26e2f1(0x31f)][_0x26e2f1(0x29f)](_0x545943),this[_0x26e2f1(0x171)][_0x26e2f1(0x1d6)]])[_0x26e2f1(0x1f2)](_0x549194(([_0x19057c,_0x5d9e55])=>({'skeleton':_0x1c50e6[_0x26e2f1(0x313)](),'cursors':[..._0x19057c[_0x26e2f1(0x196)]()]['flatMap'](_0x2abdc0=>({..._0x2abdc0,'color':this[_0x26e2f1(0x171)][_0x26e2f1(0x25c)](_0x2abdc0[_0x26e2f1(0x31c)])}))})))[_0x26e2f1(0x219)](_0x17040e=>{const _0x5114a4=_0x26e2f1;if(this[_0x5114a4(0x21b)](),_0x17040e){const {skeleton:_0x4c9758,cursors:_0x50a6a4}=_0x17040e;this[_0x5114a4(0x1ac)](_0x4c9758,_0x50a6a4);}})),this[_0x26e2f1(0x305)](),this['_initCommandExecutedListener']();}[_0x500288(0x1ac)](_0x542dac,_0xa231c3){const _0x172f03=_0x500288,{scene:_0x27d350,mainComponent:_0x135d43}=this[_0x172f03(0x2ec)],_0xb37efd=_0xa231c3[_0x172f03(0x170)](_0x4123ad=>new qe(_0x4123ad,_0x27d350,_0x542dac,_0x135d43));this['_cursorShapes']=_0xb37efd,this[_0x172f03(0x2ca)]=_0xa231c3;}['_refreshCollabCursors'](){const _0x25bfc7=_0x500288;this[_0x25bfc7(0x21b)]();const {scene:_0xffe9f5,mainComponent:_0x4053cd}=this[_0x25bfc7(0x2ec)],_0x888f2b=this[_0x25bfc7(0x138)][_0x25bfc7(0x313)](),_0xd7c3ae=this['_cursors'][_0x25bfc7(0x170)](_0x5c12a1=>new qe(_0x5c12a1,_0xffe9f5,_0x888f2b,_0x4053cd));this[_0x25bfc7(0x127)]=_0xd7c3ae;}[_0x500288(0x21b)](){const _0x417c0c=_0x500288;this[_0x417c0c(0x127)][_0x417c0c(0x17c)](_0x6153be=>_0x6153be['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2fe299=_0x500288,_0x421837=[_0x152d92['id']];this['disposeWithMe'](this[_0x2fe299(0x2ee)][_0x2fe299(0x31a)](_0x167667=>{const _0x27a164=_0x2fe299;_0x421837[_0x27a164(0x1f8)](_0x167667['id'])&&_0x167667['params'][_0x27a164(0x310)]===this[_0x27a164(0x2ec)][_0x27a164(0x310)]&&this['_refreshCollabCursors']();}));}[_0x500288(0x305)](){const _0x14cec0=_0x500288;this[_0x14cec0(0x2f1)](_0x548587(this[_0x14cec0(0x2ec)]['engine']['onTransformChange$'])[_0x14cec0(0x1f2)](_0x2e35f8(_0xb8765f=>_0xb8765f['type']===_0x4f3db6[_0x14cec0(0x186)]),_0xfa0af0(0x10))[_0x14cec0(0x219)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x29d4e7(_0x27766d)),ee(0x2,_0x29d4e7(F)),ee(0x3,_0x2a0638),ee(0x4,_0x29d4e7(_0x13cdd2))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x3913e1{constructor(_0x177f3a,_0x562f22){const _0x5663ec=_0x500288;super(_0x177f3a,_0x562f22),_(this,'_color'),_(this,_0x5663ec(0x1f1),!0x1),_(this,_0x5663ec(0x28e)),_(this,_0x5663ec(0x1c5),''),_(this,_0x5663ec(0x318),_0x5663ec(0x2e9)),_(this,_0x5663ec(0x275)),(_0x562f22&&this[_0x5663ec(0x153)](_0x562f22),this[_0x5663ec(0x2c8)][_0x5663ec(0x140)](()=>this[_0x5663ec(0x153)]({'hovered':!0x0})),this[_0x5663ec(0x291)][_0x5663ec(0x140)](()=>this[_0x5663ec(0x153)]({'hovered':!0x1})));}[_0x500288(0x153)](_0x59d3fa){const _0xc6f042=_0x500288;var _0x110e11,_0x1a504e,_0x290402,_0x210297,_0x4c3619,_0x400162;this['_color']=(_0x110e11=_0x59d3fa[_0xc6f042(0x31c)])!=null?_0x110e11:this['_color'],this[_0xc6f042(0x1f1)]=(_0x1a504e=_0x59d3fa[_0xc6f042(0x1c9)])!=null?_0x1a504e:this['_hovered'],this[_0xc6f042(0x28e)]=(_0x290402=_0x59d3fa[_0xc6f042(0x1f9)])!=null?_0x290402:this[_0xc6f042(0x28e)],this[_0xc6f042(0x1c5)]=(_0x210297=_0x59d3fa['name'])!=null?_0x210297:this[_0xc6f042(0x1c5)],this[_0xc6f042(0x318)]=(_0x4c3619=_0x59d3fa[_0xc6f042(0x236)])!=null?_0x4c3619:this[_0xc6f042(0x318)],this[_0xc6f042(0x275)]=(_0x400162=_0x59d3fa['backgroundColor'])!=null?_0x400162:this[_0xc6f042(0x275)],this[_0xc6f042(0x262)]({'width':_0x59d3fa[_0xc6f042(0x1c4)],'height':_0x59d3fa['height']});}[_0x500288(0x23b)](_0x16f7d1){const _0xe8386=_0x500288,{row:_0xc83f14,column:_0x503574}=_0x16f7d1;if(_0xc83f14>=this[_0xe8386(0x28e)]['startRow']&&_0xc83f14<=this[_0xe8386(0x28e)]['endRow']&&_0x503574>=this[_0xe8386(0x28e)][_0xe8386(0x15b)]&&_0x503574<=this['_range'][_0xe8386(0x1d5)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe8386(0x153)]({'hovered':!0x1});}[_0x500288(0x18d)](_0x1fbd88){return!0x1;}[_0x500288(0x151)](_0x11e36b){const _0x33e641=_0x500288;_0x214183[_0x33e641(0x27b)](_0x11e36b,{'width':this[_0x33e641(0x1c4)],'height':this[_0x33e641(0x29e)],'strokeWidth':Wi,'stroke':this[_0x33e641(0x1a3)],'evented':!0x1,'fill':this[_0x33e641(0x275)]}),this[_0x33e641(0x1f1)]&&(_0x11e36b['save'](),_0x11e36b[_0x33e641(0x1a9)](0x1,0x0,0x0,0x1,this['width'],this[_0x33e641(0x318)]==='bottom'?0x0:-J),ue[_0x33e641(0x27b)](_0x11e36b,{'text':this[_0x33e641(0x1c5)],'color':this[_0x33e641(0x1a3)]}),_0x11e36b[_0x33e641(0x322)]());}}var Gi=Object[_0x500288(0x1c8)],Ki=(_0x14dc4c,_0x2abbe5,_0x121dc7,_0x40b55d)=>{for(var _0xbc25=_0x40b55d>0x1?void 0x0:_0x40b55d?Gi(_0x2abbe5,_0x121dc7):_0x2abbe5,_0x5b2120=_0x14dc4c['length']-0x1,_0x25c188;_0x5b2120>=0x0;_0x5b2120--)(_0x25c188=_0x14dc4c[_0x5b2120])&&(_0xbc25=_0x25c188(_0xbc25)||_0xbc25);return _0xbc25;},pe=(_0x6e21be,_0x14da7e)=>(_0x5e2d13,_0x2b720b)=>_0x14da7e(_0x5e2d13,_0x2b720b,_0x6e21be);const zi=0x1389;let Pe=class extends _0x55b711{constructor(_0x4b353b,_0x3d8416,_0xc14564,_0x52f186){const _0x5766e3=_0x500288;super(),_(this,_0x5766e3(0x2ca),new Set()),_(this,_0x5766e3(0x324),null),(this[_0x5766e3(0x2ec)]=_0x4b353b,this[_0x5766e3(0x2dc)]=_0x3d8416,this['_collabCursorController']=_0xc14564,this[_0x5766e3(0x171)]=_0x52f186,this[_0x5766e3(0x2f0)]());}['_init'](){const _0x203805=_0x500288;this[_0x203805(0x2dc)]['currentSkeleton$'][_0x203805(0x1f2)](_0x4354c5(this['dispose$']),_0x27f32c(_0xa8c6e0=>{const _0x2eadc9=_0x203805;if(_0xa8c6e0){const _0x5e2173=_0xa8c6e0[_0x2eadc9(0x208)];return _0x5dec17(this['_collabCursorController'][_0x2eadc9(0x29f)](this[_0x2eadc9(0x2ec)]['unitId']),this[_0x2eadc9(0x171)][_0x2eadc9(0x1d6)])[_0x2eadc9(0x1f2)](_0x549194(([_0x308f76,_0x56dcd7])=>{const _0xcba9e9=_0x2eadc9,_0x28ef34=new Map();return _0x308f76[_0xcba9e9(0x17c)]((_0x1794d0,_0xa77a30)=>{const _0x5aa429=_0xcba9e9;if(_0x1794d0['sheetID']===_0x5e2173){const _0x70a90e={..._0x1794d0};_0x70a90e[_0x5aa429(0x31c)]=this['_themeService'][_0x5aa429(0x25c)](_0x1794d0[_0x5aa429(0x31c)]),_0x28ef34['set'](_0xa77a30,_0x70a90e);}}),{'skeleton':_0xa8c6e0,'cursors':_0x28ef34};}));}return _0x4b03ff({'skeleton':null,'cursors':new Map()});}))[_0x203805(0x219)](({skeleton:_0x18d3d9,cursors:_0x4de1dd})=>{this['_removeCollabCursors'](),_0x18d3d9&&this['_updateCollabCursors'](_0x18d3d9,_0x4de1dd);}),this['_sheetSkeletonManagerService'][_0x203805(0x2df)][_0x203805(0x219)](_0x55c312=>{const _0xda1582=_0x203805;if(_0x55c312==null)return;const {skeleton:_0x23d700}=_0x55c312,{scene:_0x1f3b02}=this[_0xda1582(0x2ec)];_0x1f3b02[_0xda1582(0x197)]['subscribeEvent'](_0x5740aa(_0x41e672=>{const _0x16defa=_0xda1582;var _0x332d7f,_0x5d7882;const {offsetX:_0x5a2bd5,offsetY:_0x1da44e}=_0x41e672,{x:_0x2d9de5,y:_0x15499c}=_0x1f3b02[_0x16defa(0x183)](_0x3f1670['FromArray']([_0x5a2bd5,_0x1da44e])),{scaleX:_0x1f0ba0,scaleY:_0x46d9de}=_0x1f3b02[_0x16defa(0x2e1)](),_0x5051cc=_0x1f3b02[_0x16defa(0x1a6)](_0x5997be[_0x16defa(0x2bb)]),_0x1686a4=_0x1f3b02[_0x16defa(0x160)](_0x3f1670[_0x16defa(0x2b6)]([_0x2d9de5,_0x15499c]),_0x5051cc),_0x346772=_0x23d700['getCellPositionByOffset'](_0x5a2bd5,_0x1da44e,_0x1f0ba0,_0x46d9de,_0x1686a4);((_0x332d7f=this[_0x16defa(0x324)])==null?void 0x0:_0x332d7f[_0x16defa(0x2be)])===_0x346772[_0x16defa(0x2be)]&&((_0x5d7882=this[_0x16defa(0x324)])==null?void 0x0:_0x5d7882[_0x16defa(0x1fc)])===_0x346772[_0x16defa(0x1fc)]||this['_cursors'][_0x16defa(0x17c)](_0x484ec2=>{const _0x1d9109=_0x16defa;_0x484ec2[_0x1d9109(0x23b)](_0x346772);});},0x64));});}[_0x500288(0x1ac)](_0x2e0bba,_0x11515a){const _0x44731e=_0x500288;var _0x5e6d00;const _0x2679fe=(_0x5e6d00=this[_0x44731e(0x2dc)]['getCurrent']())==null?void 0x0:_0x5e6d00['skeleton'];if(!_0x2679fe)return;const _0x202526=this[_0x44731e(0x1ea)]();if(!_0x202526)return;this['_cursors'][_0x44731e(0x17c)](_0x2828d5=>{const _0x274698=_0x44731e;_0x2828d5[_0x274698(0x24b)]();});const {scene:_0x4ad77a}=_0x202526,_0x1e6492=Ji(Array['from'](_0x11515a[_0x44731e(0x196)]()))[_0x44731e(0x170)](_0x3ea5bf=>{const _0x1a0d6c=_0x44731e,{color:_0x1f7a1f,range:_0x2bcd8e,name:_0x274159,selection:_0x232309,sheetID:_0xd53277}=_0x3ea5bf,{startColumn:_0x16df9f,startRow:_0x363319,endColumn:_0xadf92c,endRow:_0x462cb4}=_0x2bcd8e,_0x13ec99=_0x57b823(_0x363319,_0x16df9f,_0x4ad77a,_0x2679fe),_0x37fd6e=_0x57b823(_0x462cb4,_0xadf92c,_0x4ad77a,_0x2679fe),{columnHeaderHeightAndMarginTop:_0x19f6ca}=_0x2679fe,{startX:_0x51a064,startY:_0x1b13d3}=_0x13ec99,{endX:_0x3703d6,endY:_0x3d3564}=_0x37fd6e,_0x45ab14=_0x3703d6-_0x51a064,_0x35702f=_0x3d3564-_0x1b13d3,_0x235a8a={'labelPosition':_0x1b13d3-_0x19f6ca>=J?_0x1a0d6c(0x2e9):'bottom','sheetID':_0xd53277,'range':_0x2bcd8e,'color':_0x1f7a1f,'name':_0x274159,'selection':_0x232309,'left':_0x51a064,'top':_0x1b13d3,'width':_0x45ab14,'height':_0x35702f,'evented':!0x1,'zIndex':zi};return new Xi(_0x274159,_0x235a8a);});_0x4ad77a[_0x44731e(0x21f)](_0x1e6492,Vi),this['_cursors']=new Set(_0x1e6492);}[_0x500288(0x21b)](){const _0x489e9e=_0x500288;var _0x1298f2;(_0x1298f2=this[_0x489e9e(0x2ca)])==null||_0x1298f2[_0x489e9e(0x17c)](_0x5b5663=>_0x5b5663[_0x489e9e(0x30b)]());}[_0x500288(0x1ea)](){const _0x493e6d=_0x500288;return _0x298dd9(this[_0x493e6d(0x2ec)][_0x493e6d(0x1e6)],this[_0x493e6d(0x2ec)]);}};Pe=Ki([pe(0x1,_0x29d4e7(_0x3794fc)),pe(0x2,_0x29d4e7(F)),pe(0x3,_0x29d4e7(_0x13cdd2))],Pe);function Ji(_0x32a0a5){const _0x55f343=_0x500288,_0x25a40d=new Map();return _0x32a0a5['forEach'](_0x5adcc0=>{const _0xe04242=_0x4620;if(_0x25a40d[_0xe04242(0x1db)](_0x5adcc0['selection'])){const _0x4d612d=_0x25a40d[_0xe04242(0x14d)](_0x5adcc0['selection']);_0x4d612d[_0xe04242(0x130)]+=',\x20'+_0x5adcc0[_0xe04242(0x130)];}else _0x25a40d[_0xe04242(0x292)](_0x5adcc0['selection'],_0x5adcc0);}),Array[_0x55f343(0x1ba)](_0x25a40d[_0x55f343(0x196)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x19e206,_0x1d8e71,_0x5afc2e,_0x4ed785)=>{const _0x505907=_0x500288;for(var _0x52b728=_0x4ed785>0x1?void 0x0:_0x4ed785?Zi(_0x1d8e71,_0x5afc2e):_0x1d8e71,_0x23a239=_0x19e206[_0x505907(0x212)]-0x1,_0x58e378;_0x23a239>=0x0;_0x23a239--)(_0x58e378=_0x19e206[_0x23a239])&&(_0x52b728=_0x58e378(_0x52b728)||_0x52b728);return _0x52b728;},B=(_0x2374e3,_0x214167)=>(_0x5d896e,_0x11045d)=>_0x214167(_0x5d896e,_0x11045d,_0x2374e3);let ne=class extends _0x524ae9{constructor(_0xb8ac06,_0x84dfbb,_0x668f56,_0x20c855,_0x4c5126,_0x4d2c9a){const _0x20e70d=_0x500288;super(),this[_0x20e70d(0x178)]=_0xb8ac06,this[_0x20e70d(0x1f4)]=_0x84dfbb,this[_0x20e70d(0x17f)]=_0x668f56,this['_messageService']=_0x20c855,this['_notificationService']=_0x4c5126,this['_localeService']=_0x4d2c9a,this['_setupBeforeClosingHandler'](),this[_0x20e70d(0x2e6)]();}[_0x500288(0x200)](){const _0x10f933=_0x500288;this[_0x10f933(0x2f1)](this['_beforeCloseService'][_0x10f933(0x1b7)](()=>{const _0x24d1a1=_0x10f933;if(this[_0x24d1a1(0x1f4)][_0x24d1a1(0x17a)][_0x24d1a1(0x24f)])return this[_0x24d1a1(0x2a0)]['t'](_0x24d1a1(0x1d4));}));}[_0x500288(0x2e6)](){const _0x1364eb=_0x500288;this['disposeWithMe'](this[_0x1364eb(0x17f)][_0x1364eb(0x25a)]['subscribe'](_0x12a360=>{const _0x4b7a0e=_0x1364eb;_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x268)]&&this['_messageService'][_0x4b7a0e(0x155)]({'type':_0x102315[_0x4b7a0e(0x18e)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x28d)]&&this[_0x4b7a0e(0x29d)][_0x4b7a0e(0x155)]({'type':_0x102315['Warning'],'content':this[_0x4b7a0e(0x2a0)]['t'](_0x4b7a0e(0x298))}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x1b0)]&&this['_notificationService'][_0x4b7a0e(0x155)]({'title':this[_0x4b7a0e(0x2a0)]['t'](_0x4b7a0e(0x1a4)),'content':this['_localeService']['t']('permission.content'),'type':_0x4b7a0e(0x2b4),'duration':0x0}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x174)]&&this[_0x4b7a0e(0x29d)]['show']({'type':_0x102315[_0x4b7a0e(0x2bc)],'content':this[_0x4b7a0e(0x2a0)]['t'](_0x4b7a0e(0x298))+'('+_0x12a360[_0x4b7a0e(0x164)]+')'}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x1ff)]&&this['_messageService'][_0x4b7a0e(0x155)]({'type':_0x102315[_0x4b7a0e(0x18e)],'content':this[_0x4b7a0e(0x2a0)]['t'](_0x12a360[_0x4b7a0e(0x164)]||'')}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x26e)]&&this[_0x4b7a0e(0x29d)][_0x4b7a0e(0x155)]({'type':_0x102315[_0x4b7a0e(0x18e)],'content':this[_0x4b7a0e(0x2a0)]['t'](_0x4b7a0e(0x22a))}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x2bf)]&&this[_0x4b7a0e(0x29d)][_0x4b7a0e(0x155)]({'type':_0x102315['Error'],'content':this[_0x4b7a0e(0x2a0)]['t'](_0x4b7a0e(0x132))}),_0x12a360['id']===_0x3d8442[_0x4b7a0e(0x150)]&&this[_0x4b7a0e(0x29d)][_0x4b7a0e(0x155)]({'type':_0x102315[_0x4b7a0e(0x2bc)],'content':this[_0x4b7a0e(0x2a0)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x37b10d),B(0x1,_0x1dca6c),B(0x2,_0x29d4e7(_0xb7bdb0)),B(0x3,_0x9960b9),B(0x4,_0xba4b65),B(0x5,_0x29d4e7(_0x1a4e46))],ne);const qi=_0x500288(0x30d),et={};var en=Object[_0x500288(0x1c8)],tn=(_0x5a7300,_0x22fb0a,_0x5846b1,_0x4df271)=>{const _0x1d092f=_0x500288;for(var _0x490761=_0x4df271>0x1?void 0x0:_0x4df271?en(_0x22fb0a,_0x5846b1):_0x22fb0a,_0x4def72=_0x5a7300[_0x1d092f(0x212)]-0x1,_0x6c2f41;_0x4def72>=0x0;_0x4def72--)(_0x6c2f41=_0x5a7300[_0x4def72])&&(_0x490761=_0x6c2f41(_0x490761)||_0x490761);return _0x490761;},tt=(_0x8af728,_0xf36ea)=>(_0x19746d,_0x2c4e0f)=>_0xf36ea(_0x19746d,_0x2c4e0f,_0x8af728);let re=class{constructor(_0x35b0c6,_0x4853e4){const _0x88a5cb=_0x500288;this['_transformService']=_0x35b0c6,this[_0x88a5cb(0x23e)]=_0x4853e4;}['transformIMECache'](_0x38996f){const _0x5c4347=_0x500288;this[_0x5c4347(0x1e0)](_0x38996f),this[_0x5c4347(0x21e)](_0x38996f);}[_0x500288(0x2c7)](_0x27646e){const _0x3fecf0=_0x500288,{unitID:_0x208223}=_0x27646e,_0x4bd7cc=this['_renderManagerService'][_0x3fecf0(0x234)](_0x208223)[_0x3fecf0(0x315)](_0x74d2d0),{redoCache:_0x59a12c}=_0x4bd7cc[_0x3fecf0(0x1a8)]();if(_0x59a12c[_0x3fecf0(0x212)]===0x0)return _0x27646e;let _0x20fed3=_0x5bb7e7[_0x3fecf0(0x2d1)](_0x27646e[_0x3fecf0(0x294)][0x0]);for(let _0x13cc43=0x0;_0x13cc43<_0x59a12c[_0x3fecf0(0x212)];_0x13cc43++){const _0x41c853={'id':'doc.mutation.rich-text-editing','params':{..._0x59a12c[_0x13cc43]}},_0x2e92cf=this[_0x3fecf0(0x2b7)]['transformMutation'](_0x20fed3,_0x41c853,!0x1);if(_0x2ef4e9(_0x2e92cf))throw _0x2e92cf[_0x3fecf0(0x2b4)];_0x20fed3=_0x2e92cf['m1Prime'];}return{..._0x5bb7e7[_0x3fecf0(0x2d1)](_0x27646e),'mutations':[_0x20fed3]};}[_0x500288(0x1e0)](_0x3b2ce9){const _0xd5ec98=_0x500288,{unitID:_0xf914cb}=_0x3b2ce9,_0x1b2bf0=this['_renderManagerService'][_0xd5ec98(0x234)](_0xf914cb)[_0xd5ec98(0x315)](_0x74d2d0),{undoCache:_0x3f8197,redoCache:_0x5dab4f}=_0x1b2bf0['getUndoRedoMutationParamsCache']();if(_0x3f8197['length']===0x0||_0x5dab4f[_0xd5ec98(0x212)]===0x0)return;const _0x5f0994=[],_0xbb739f=[];let _0x374390=_0x5bb7e7[_0xd5ec98(0x2d1)](_0x3b2ce9[_0xd5ec98(0x294)][0x0]),_0x3728bd=_0x5bb7e7[_0xd5ec98(0x2d1)](_0x3b2ce9[_0xd5ec98(0x294)][0x0]);for(let _0x27fb5f=_0x3f8197[_0xd5ec98(0x212)]-0x1;_0x27fb5f>=0x0;_0x27fb5f--){const _0x5cad1d={'id':_0xd5ec98(0x244),'params':{..._0x3f8197[_0x27fb5f]}},_0x312001={'id':'doc.mutation.rich-text-editing','params':{..._0x5dab4f[_0x27fb5f]}},_0x1b5c79=this[_0xd5ec98(0x2b7)][_0xd5ec98(0x26a)](_0x374390,_0x5cad1d,!0x1),_0x9a7e9e=this['_transformService'][_0xd5ec98(0x26a)](_0x3728bd,_0x312001,!0x1);if(_0x2ef4e9(_0x1b5c79))throw _0x1b5c79[_0xd5ec98(0x2b4)];if(_0x2ef4e9(_0x9a7e9e))throw _0x9a7e9e[_0xd5ec98(0x2b4)];_0x5f0994[_0xd5ec98(0x286)](_0x1b5c79['m2Prime'][_0xd5ec98(0x1e4)]),_0xbb739f[_0xd5ec98(0x286)](_0x9a7e9e[_0xd5ec98(0x2fb)]['params']),_0x374390=_0x1b5c79[_0xd5ec98(0x278)],_0x3728bd=_0x9a7e9e['m1Prime'];}_0x1b2bf0[_0xd5ec98(0x1a5)]({'undoCache':_0x5f0994,'redoCache':_0xbb739f});}[_0x500288(0x21e)](_0x1e4069){const _0x3c5682=_0x500288,{unitID:_0x27605b}=_0x1e4069,_0x51caee=this[_0x3c5682(0x23e)]['getRenderById'](_0x27605b)[_0x3c5682(0x315)](_0x74d2d0),_0x20963e=_0x51caee[_0x3c5682(0x299)]();if(_0x20963e==null)return;const _0x4722=[{'id':_0x3c5682(0x244),'params':{'unitId':_0x1e4069['unitID'],'actions':null,'textRanges':[_0x20963e]}}],_0x543e1f=this[_0x3c5682(0x2b7)]['transformMutationsWithChangeset'](_0x1e4069,_0x4722);if(!_0x4c5293(_0x543e1f))throw _0x543e1f[_0x3c5682(0x2b4)];const _0x19d696=_0x543e1f[_0x3c5682(0x2fb)][0x0][_0x3c5682(0x1e4)]['textRanges'];Array[_0x3c5682(0x1d1)](_0x19d696)&&_0x19d696['length']&&_0x51caee[_0x3c5682(0x181)](_0x19d696[0x0]);}};re=tn([tt(0x0,_0x28a0e1),tt(0x1,_0x43d9aa)],re);var sn=Object[_0x500288(0x1c8)],nn=(_0x3cc595,_0x399162,_0x4c5ed1,_0x1eed48)=>{const _0x4b59d5=_0x500288;for(var _0x4e3419=_0x1eed48>0x1?void 0x0:_0x1eed48?sn(_0x399162,_0x4c5ed1):_0x399162,_0x3b60bd=_0x3cc595[_0x4b59d5(0x212)]-0x1,_0x174522;_0x3b60bd>=0x0;_0x3b60bd--)(_0x174522=_0x3cc595[_0x3b60bd])&&(_0x4e3419=_0x174522(_0x4e3419)||_0x4e3419);return _0x4e3419;},Ce=(_0x209389,_0x5ba438)=>(_0x2af093,_0x4bbb89)=>_0x5ba438(_0x2af093,_0x4bbb89,_0x209389);let oe=class{constructor(_0x523f2f,_0x5cebef,_0x1f4443){const _0x49c055=_0x500288;this[_0x49c055(0x2c3)]=_0x523f2f,this['_transformService']=_0x5cebef,this[_0x49c055(0x1b8)]=_0x1f4443;}[_0x500288(0x167)](_0x2875fa){this['_transformHistoryAndStateStack'](_0x2875fa);}[_0x500288(0x2c7)](_0x43146d){const _0x12f951=_0x500288,{unitID:_0x27c2a0}=_0x43146d,{collaboration:_0x2f6687}=this[_0x12f951(0x1b8)][_0x12f951(0x295)](_0x27c2a0);if(_0x2f6687[_0x12f951(0x212)]===0x0)return _0x43146d;let _0x27d05b=_0x5bb7e7[_0x12f951(0x2d1)](_0x43146d['mutations'][0x0]);for(let _0x379c1a=0x0;_0x379c1a<_0x2f6687['length'];_0x379c1a++){const _0x234861={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6687[_0x379c1a]['unitId'],..._0x2f6687[_0x379c1a]['redoState']}},_0x46b770=this[_0x12f951(0x2b7)][_0x12f951(0x26a)](_0x27d05b,_0x234861,!0x1);if(_0x2ef4e9(_0x46b770))throw _0x46b770['error'];_0x27d05b=_0x46b770[_0x12f951(0x278)];}return{..._0x5bb7e7['deepClone'](_0x43146d),'mutations':[_0x27d05b]};}[_0x500288(0x1e1)](_0x4f0141){const _0x238f70=_0x500288,{unitID:_0x405be2}=_0x4f0141,{history:_0x5d64ca,collaboration:_0x4d67ab}=this['_docStateChangeManagerService']['getStateCache'](_0x405be2);if(_0x5d64ca[_0x238f70(0x212)]===0x0&&_0x4d67ab[_0x238f70(0x212)]===0x0)return;const _0x3d2026=[],_0x3ea0f0=[];let _0x21fc8e=_0x5bb7e7['deepClone'](_0x4f0141[_0x238f70(0x294)][0x0]),_0x5eaeb3=_0x5bb7e7[_0x238f70(0x2d1)](_0x4f0141[_0x238f70(0x294)][0x0]);for(let _0xc34864=_0x5d64ca[_0x238f70(0x212)]-0x1;_0xc34864>=0x0;_0xc34864--){const _0x311f66={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d64ca[_0xc34864]['unitId'],..._0x5d64ca[_0xc34864][_0x238f70(0x2e0)]}},_0x273416={'id':_0x238f70(0x244),'params':{'unitId':_0x5d64ca[_0xc34864][_0x238f70(0x310)],..._0x5d64ca[_0xc34864]['redoState']}},_0x4c91db=this[_0x238f70(0x2b7)][_0x238f70(0x26a)](_0x21fc8e,_0x311f66,!0x1),_0x29ff02=this[_0x238f70(0x2b7)]['transformMutation'](_0x5eaeb3,_0x273416,!0x1);if(_0x2ef4e9(_0x4c91db))throw _0x4c91db['error'];if(_0x2ef4e9(_0x29ff02))throw _0x29ff02[_0x238f70(0x2b4)];_0x3d2026[_0x238f70(0x286)]({..._0x5d64ca[_0xc34864],'undoState':_0x4c91db[_0x238f70(0x2fb)][_0x238f70(0x1e4)],'redoState':_0x29ff02['m2Prime'][_0x238f70(0x1e4)]}),_0x21fc8e=_0x4c91db['m1Prime'],_0x5eaeb3=_0x29ff02[_0x238f70(0x278)];}_0x21fc8e=_0x5bb7e7[_0x238f70(0x2d1)](_0x4f0141[_0x238f70(0x294)][0x0]),_0x5eaeb3=_0x5bb7e7[_0x238f70(0x2d1)](_0x4f0141[_0x238f70(0x294)][0x0]);for(let _0x2d9502=_0x4d67ab[_0x238f70(0x212)]-0x1;_0x2d9502>=0x0;_0x2d9502--){const _0xc601b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d67ab[_0x2d9502]['unitId'],..._0x4d67ab[_0x2d9502][_0x238f70(0x2e0)]}},_0x44c6fd={'id':_0x238f70(0x244),'params':{'unitId':_0x4d67ab[_0x2d9502][_0x238f70(0x310)],..._0x4d67ab[_0x2d9502][_0x238f70(0x26c)]}},_0x2e6ea0=this['_transformService'][_0x238f70(0x26a)](_0x21fc8e,_0xc601b,!0x1),_0x42d02f=this[_0x238f70(0x2b7)][_0x238f70(0x26a)](_0x5eaeb3,_0x44c6fd,!0x1);if(_0x2ef4e9(_0x2e6ea0))throw _0x2e6ea0['error'];if(_0x2ef4e9(_0x42d02f))throw _0x42d02f[_0x238f70(0x2b4)];_0x3ea0f0[_0x238f70(0x286)]({..._0x4d67ab[_0x2d9502],'undoState':_0x2e6ea0[_0x238f70(0x2fb)][_0x238f70(0x1e4)],'redoState':_0x42d02f[_0x238f70(0x2fb)][_0x238f70(0x1e4)]}),_0x21fc8e=_0x2e6ea0[_0x238f70(0x278)],_0x5eaeb3=_0x42d02f[_0x238f70(0x278)];}this[_0x238f70(0x1b8)][_0x238f70(0x2a5)](_0x405be2,{'history':_0x3d2026,'collaboration':_0x3ea0f0});}};oe=nn([Ce(0x0,_0x29d4e7(_0x1331ea)),Ce(0x1,_0x28a0e1),Ce(0x2,_0x29d4e7(_0x16ecba))],oe);var rn=Object[_0x500288(0x1c8)],on=(_0x445b86,_0x21bb2e,_0x30e576,_0x3e0e0f)=>{const _0x50226e=_0x500288;for(var _0x2f4a66=_0x3e0e0f>0x1?void 0x0:_0x3e0e0f?rn(_0x21bb2e,_0x30e576):_0x21bb2e,_0xe789f7=_0x445b86[_0x50226e(0x212)]-0x1,_0x2d0855;_0xe789f7>=0x0;_0xe789f7--)(_0x2d0855=_0x445b86[_0xe789f7])&&(_0x2f4a66=_0x2d0855(_0x2f4a66)||_0x2f4a66);return _0x2f4a66;},st=(_0x5d2d5e,_0xfd53b)=>(_0x25721e,_0x3afaad)=>_0xfd53b(_0x25721e,_0x3afaad,_0x5d2d5e);let ae=class{constructor(_0x28ec0e,_0x48176c){const _0x28c9bb=_0x500288;this['_injector']=_0x28ec0e,this[_0x28c9bb(0x2b7)]=_0x48176c;}[_0x500288(0x2e8)](_0x1736d6){const _0x2d9a64=_0x500288;var _0x351cc4;const _0x14c1ed=this[_0x2d9a64(0x2c3)][_0x2d9a64(0x14d)](_0x23a93b),_0x17257f=(_0x351cc4=_0x14c1ed[_0x2d9a64(0x2d5)]())!=null?_0x351cc4:[];if(_0x17257f[_0x2d9a64(0x212)]===0x0)return;const _0x398df2=_0x1736d6['unitID'],_0x403db0=[{'id':_0x2d9a64(0x244),'params':{'unitId':_0x398df2,'actions':null,'textRanges':_0x17257f}}],_0x412749=this[_0x2d9a64(0x2b7)]['transformMutationsWithChangeset'](_0x1736d6,_0x403db0);if(!_0x4c5293(_0x412749))throw _0x412749['error'];const _0x441bdd=_0x412749[_0x2d9a64(0x2fb)][0x0][_0x2d9a64(0x1e4)][_0x2d9a64(0x307)];Array[_0x2d9a64(0x1d1)](_0x441bdd)&&_0x441bdd['length']&&_0x14c1ed[_0x2d9a64(0x30c)](_0x441bdd,{'unitId':_0x398df2,'subUnitId':_0x398df2},!0x1);}};ae=on([st(0x0,_0x29d4e7(_0x1331ea)),st(0x1,_0x28a0e1)],ae);var an=Object[_0x500288(0x1c8)],cn=(_0x34d19a,_0x374026,_0x2d520b,_0x3819de)=>{const _0x573a7a=_0x500288;for(var _0x47ce1f=_0x3819de>0x1?void 0x0:_0x3819de?an(_0x374026,_0x2d520b):_0x374026,_0x4f6e1f=_0x34d19a[_0x573a7a(0x212)]-0x1,_0x16c551;_0x4f6e1f>=0x0;_0x4f6e1f--)(_0x16c551=_0x34d19a[_0x4f6e1f])&&(_0x47ce1f=_0x16c551(_0x47ce1f)||_0x47ce1f);return _0x47ce1f;},N=(_0x3110af,_0x1148aa)=>(_0x14e362,_0x1e2c14)=>_0x1148aa(_0x14e362,_0x1e2c14,_0x3110af);let ce=class extends _0x524ae9{constructor(_0x16dc83,_0x1a9d0e,_0x34180e,_0x2850ae,_0x1b4b0a,_0x14a3e9,_0x5a45e0,_0x18f256){const _0x2d8cf1=_0x500288;super(),_(this,'_status$',new _0x37238b(_0x3b730c[_0x2d8cf1(0x2f7)])),(this[_0x2d8cf1(0x1b8)]=_0x16dc83,this[_0x2d8cf1(0x302)]=_0x1a9d0e,this[_0x2d8cf1(0x27d)]=_0x34180e,this['_docTransformStateCacheService']=_0x2850ae,this[_0x2d8cf1(0x139)]=_0x1b4b0a,this[_0x2d8cf1(0x190)]=_0x14a3e9,this[_0x2d8cf1(0x29d)]=_0x5a45e0,this[_0x2d8cf1(0x2a0)]=_0x18f256,this[_0x2d8cf1(0x280)]());}[_0x500288(0x280)](){const _0x141a5e=_0x500288;this['disposeWithMe'](this[_0x141a5e(0x302)]['entityInit$'][_0x141a5e(0x219)](_0x38efc1=>{const _0x4cf06c=_0x141a5e,_0x3fc21f=this[_0x4cf06c(0x1b8)][_0x4cf06c(0x1df)][_0x4cf06c(0x219)](_0x53b193=>{const _0x3061c5=_0x4cf06c;if(_0x53b193==null)return;const {unitId:_0x3cd8f3,redoState:_0x5162c1,commandId:_0x5896f1}=_0x53b193;if(_0x3cd8f3!==_0x38efc1[_0x3061c5(0x1b2)])return;const _0x362004={'id':_0x5896f1,'type':_0x8ab22b['MUTATION'],'params':{'unitId':_0x3cd8f3,'actions':_0x5162c1['actions'],'textRanges':null}};_0x38efc1[_0x3061c5(0x18f)](_0x362004);});if(_0x38efc1['disposeWithMe'](_0x3fc21f),_0x38efc1 instanceof _0x54ea0e){const _0x2788e7={'onTransformIME':_0x575461=>this[_0x4cf06c(0x27d)][_0x4cf06c(0x306)](_0x575461),'onTransformState':_0x1b6420=>this[_0x4cf06c(0x193)][_0x4cf06c(0x167)](_0x1b6420),'onTransformSelections':_0x2d1557=>this[_0x4cf06c(0x139)][_0x4cf06c(0x2e8)](_0x2d1557),'onSyncEditingCollabCursor':_0x3cfb93=>this[_0x4cf06c(0x190)][_0x4cf06c(0x148)](_0x3cfb93),'onTransformRemoteChangesetByIMECache':_0x124284=>this['_docTransformIMECacheService'][_0x4cf06c(0x2c7)](_0x124284),'onTransformRemoteChangesetByStateCache':_0x4a1859=>this[_0x4cf06c(0x193)][_0x4cf06c(0x2c7)](_0x4a1859)};_0x38efc1['addHandlerCallback'](_0x2788e7);}}));}};ce=cn([N(0x0,_0x29d4e7(_0x16ecba)),N(0x1,_0x29d4e7(_0x4f4384)),N(0x2,_0x29d4e7(re)),N(0x3,_0x29d4e7(oe)),N(0x4,_0x29d4e7(ae)),N(0x5,_0x29d4e7(Fe)),N(0x6,_0x9960b9),N(0x7,_0x29d4e7(_0x1a4e46))],ce);var ln=Object[_0x500288(0x1c8)],_n=(_0x498d05,_0x46436b,_0x45bcb7,_0x29acff)=>{for(var _0x3b90f9=_0x29acff>0x1?void 0x0:_0x29acff?ln(_0x46436b,_0x45bcb7):_0x46436b,_0x4aab00=_0x498d05['length']-0x1,_0x237f88;_0x4aab00>=0x0;_0x4aab00--)(_0x237f88=_0x498d05[_0x4aab00])&&(_0x3b90f9=_0x237f88(_0x3b90f9)||_0x3b90f9);return _0x3b90f9;},Ee=(_0x16d467,_0x2d1fd6)=>(_0x1b93dd,_0x3ae137)=>_0x2d1fd6(_0x1b93dd,_0x3ae137,_0x16d467);let we=class extends _0x524ae9{constructor(_0x3639e6,_0x51a318,_0x373730){const _0x2a6796=_0x500288;super(),_(this,_0x2a6796(0x2cb),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x2a6796(0x2e4),!0x1),(this['_configService']=_0x3639e6,this[_0x2a6796(0x274)]=_0x51a318,this[_0x2a6796(0x199)]=_0x373730);}[_0x500288(0x282)](){const _0x5133b3=_0x500288;this[_0x5133b3(0x2e4)]=!0x0;}['enableLocalCache'](){const _0x23edea=_0x500288;this[_0x23edea(0x2e4)]=!0x1;}get['saveTaskMap'](){const _0x147551=_0x500288;return this[_0x147551(0x182)];}[_0x500288(0x30b)](){const _0x20a202=_0x500288;this['exhaustSavingTask']()['then'](()=>super[_0x20a202(0x30b)]());}async[_0x500288(0x2ce)](_0xeee770){const _0x3208d2=_0x500288;return this[_0x3208d2(0x2e4)]?null:this[_0x3208d2(0x274)]['getItem'](_0x532502(_0xeee770));}async[_0x500288(0x1cc)](_0x2423bd,_0x1ca8e7){const _0x392938=_0x500288;return!!this[_0x392938(0x274)][_0x392938(0x13c)](_0x2423bd,_0x1ca8e7);}[_0x500288(0x245)](_0x366419,_0x1ee6da,_0x144d44,_0x771c2b){const _0x469caf=_0x500288,_0x4c765f=this['_revisionService']['getCurrentRevOfUnit'](_0x366419);this['_cachedData'][_0x469caf(0x292)](_0x366419,{'unitID':_0x366419,'type':_0x1ee6da,'awaitingChangeset':_0x144d44,'mutations':_0x771c2b,'rev':_0x4c765f}),this[_0x469caf(0x182)]['has'](_0x366419)||this[_0x469caf(0x1aa)](_0x366419);}[_0x500288(0x1aa)](_0xd33714){const _0xbd6930=_0x500288,_0xfa86bf=this[_0xbd6930(0x20e)]();_0xfa86bf===0x0?this['_saveCache'](_0xd33714):this[_0xbd6930(0x182)][_0xbd6930(0x292)](_0xd33714,setTimeout(()=>this['_saveCache'](_0xd33714),_0xfa86bf));}[_0x500288(0x20e)](){const _0x3783ab=_0x500288;var _0x214c49;return(_0x214c49=this[_0x3783ab(0x31b)][_0x3783ab(0x269)](_0x2ce6be))!=null?_0x214c49:_0x9da4b;}[_0x500288(0x13f)](_0x2ead38){const _0x2a5de1=_0x500288,_0x552c12=this[_0x2a5de1(0x182)][_0x2a5de1(0x14d)](_0x2ead38);return _0x552c12!==void 0x0&&window[_0x2a5de1(0x230)](_0x552c12),this[_0x2a5de1(0x274)][_0x2a5de1(0x13c)](_0x532502(_0x2ead38),this[_0x2a5de1(0x2cb)][_0x2a5de1(0x14d)](_0x2ead38))[_0x2a5de1(0x1c3)](()=>this[_0x2a5de1(0x182)][_0x2a5de1(0x26d)](_0x2ead38));}async[_0x500288(0x1bf)](){const _0x22933e=_0x500288,_0x38a916=[];this[_0x22933e(0x182)][_0x22933e(0x17c)]((_0x47400c,_0x2d1fc9)=>{const _0x512034=_0x22933e;window[_0x512034(0x230)](_0x47400c),_0x38a916['push'](this[_0x512034(0x13f)](_0x2d1fc9)['then'](()=>{const _0x4169c1=_0x512034;this['_saveTaskMap'][_0x4169c1(0x26d)](_0x2d1fc9);}));}),await Promise['all'](_0x38a916);}};we=_n([Ee(0x0,_0x4672a1),Ee(0x1,_0xc74818),Ee(0x2,_0x29d4e7(_0x265c86))],we);class hn extends _0x55b711{constructor(){const _0x379016=_0x500288;super(),_(this,'urlChange$'),this[_0x379016(0x12e)]=_0x47ab78(window,_0x379016(0x176))[_0x379016(0x1f2)](_0x1d5417(this['dispose$']),_0x1ab397(0x1),_0x2bdcff(void 0x0));}['setParam'](_0x2ab608,_0x379e5c,_0x5596ab=!0x1){const _0x1c3beb=_0x500288,_0x13f185=new URL(window[_0x1c3beb(0x1d8)]['href']);_0x13f185[_0x1c3beb(0x276)][_0x1c3beb(0x292)](_0x2ab608,_0x379e5c),_0x5596ab?window[_0x1c3beb(0x177)]['replaceState']('','',_0x13f185[_0x1c3beb(0x162)]()):window['history'][_0x1c3beb(0x216)]('','',_0x13f185[_0x1c3beb(0x162)]());}[_0x500288(0x209)](_0x1f6c7a,_0x2a9ff9=!0x1){const _0x512d12=_0x500288,_0x2c35bd=new URL(window[_0x512d12(0x1d8)][_0x512d12(0x218)]);_0x2c35bd[_0x512d12(0x276)][_0x512d12(0x26d)](_0x1f6c7a),_0x2a9ff9?window[_0x512d12(0x177)][_0x512d12(0x293)]('','',_0x2c35bd['toString']()):window['history'][_0x512d12(0x216)]('','',_0x2c35bd[_0x512d12(0x162)]());}[_0x500288(0x300)](_0x5e2a15){const _0x2b1fe3=_0x500288;var _0x3c3e6c;return(_0x3c3e6c=new URL(window[_0x2b1fe3(0x1d8)][_0x2b1fe3(0x218)])[_0x2b1fe3(0x276)][_0x2b1fe3(0x14d)](_0x5e2a15))!=null?_0x3c3e6c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x22ac2d,_0x4c4a14,_0x10975c)=>_0x4c4a14 in _0x22ac2d?un(_0x22ac2d,_0x4c4a14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10975c}):_0x22ac2d[_0x4c4a14]=_0x10975c,Sn=(_0x3bc1ca,_0x114596,_0x7843e8,_0x282325)=>{const _0x4f132f=_0x500288;for(var _0x5349a4=_0x282325>0x1?void 0x0:_0x282325?dn(_0x114596,_0x7843e8):_0x114596,_0x234a44=_0x3bc1ca[_0x4f132f(0x212)]-0x1,_0x320d5b;_0x234a44>=0x0;_0x234a44--)(_0x320d5b=_0x3bc1ca[_0x234a44])&&(_0x5349a4=_0x320d5b(_0x5349a4)||_0x5349a4);return _0x5349a4;},Oe=(_0x2e1585,_0x4ae3e2)=>(_0x348204,_0x341b54)=>_0x4ae3e2(_0x348204,_0x341b54,_0x2e1585),mn=(_0x1440c7,_0x381f7e,_0x56fa7c)=>fn(_0x1440c7,_0x381f7e+'',_0x56fa7c);const In=_0x500288(0x1d3);let Ae=class extends _0x5b3e7c{constructor(_0x2cf2e2=et,_0x477ca1,_0xd9350d,_0x5adb6d){const _0x2c8b7b=_0x500288;super(),this['_config']=_0x2cf2e2,this[_0x2c8b7b(0x23e)]=_0x477ca1,this[_0x2c8b7b(0x2c3)]=_0xd9350d,this['_configService']=_0x5adb6d;const {..._0x1d2ce5}=_0x4994bc({},et,this[_0x2c8b7b(0x2a4)]);this[_0x2c8b7b(0x31b)]['setConfig'](qi,_0x1d2ce5);}[_0x500288(0x28a)](){const _0x5c1990=_0x500288;this['_registerDependencies'](),this[_0x5c1990(0x21d)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x500288(0x303)](){const _0x490a55=_0x500288;var _0x3facfb;const _0x2d1006=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1bf5ea,{'useClass':_0xf56ce8}],[_0x1dca6c,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x3dfc66(this[_0x490a55(0x2c3)],_0x3d8fb8(_0x2d1006,(_0x3facfb=this[_0x490a55(0x2a4)])==null?void 0x0:_0x3facfb[_0x490a55(0x247)]));}[_0x500288(0x1fd)](){const _0x10cdc1=_0x500288;this[_0x10cdc1(0x2f1)](this[_0x10cdc1(0x23e)][_0x10cdc1(0x241)](_0xe27841[_0x10cdc1(0x2a1)],[Le])),this['disposeWithMe'](this[_0x10cdc1(0x23e)][_0x10cdc1(0x241)](_0xe27841[_0x10cdc1(0x277)],[Pe]));}[_0x500288(0x21d)](){_0x3a7741(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x500288(0x24a),In),Ae=Sn([_0x5d7680(_0x1dbd38),Oe(0x1,_0x43d9aa),Oe(0x2,_0x29d4e7(_0x1331ea)),Oe(0x3,_0x4672a1)],Ae);var vn=Object[_0x500288(0x1c8)],gn=(_0x46f2e9,_0x19b99d,_0x19ef6e,_0x29bc8d)=>{const _0x8cb52=_0x500288;for(var _0x200284=_0x29bc8d>0x1?void 0x0:_0x29bc8d?vn(_0x19b99d,_0x19ef6e):_0x19b99d,_0xfcd89a=_0x46f2e9[_0x8cb52(0x212)]-0x1,_0x4e1413;_0xfcd89a>=0x0;_0xfcd89a--)(_0x4e1413=_0x46f2e9[_0xfcd89a])&&(_0x200284=_0x4e1413(_0x200284)||_0x200284);return _0x200284;},z=(_0x336109,_0x319ec2)=>(_0x438347,_0xff18cd)=>_0x319ec2(_0x438347,_0xff18cd,_0x336109);let it=class extends _0x33bbb4{constructor(_0x4f5321,_0x461a05,_0x322739,_0x44c77f,_0x534e94){super(_0x4f5321,_0x461a05,_0x322739,_0x44c77f,_0x534e94);}async[_0x500288(0x141)](_0x1f02e2){const _0x4ed3f=_0x500288,_0x2ed406=await this[_0x4ed3f(0x264)](),_0x5c9a10=this[_0x4ed3f(0x175)](_0x1f02e2,_0x2ed406);return this[_0x4ed3f(0x2da)](_0x5c9a10);}[_0x500288(0x175)](_0x4b1631,_0x96c133){const _0x3c1264=_0x500288,_0x7e860d=typeof window>'u'?new URL(_0x4b1631):new URL(_0x4b1631,window[_0x3c1264(0x1d8)]['origin']);_0x7e860d['searchParams']['set']('sessionTicket',_0x96c133);const _0x1445c6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3c1264(0x1d8)][_0x3c1264(0x1d9)]);return _0x1445c6['get'](_0x3c1264(0x325))&&_0x7e860d[_0x3c1264(0x276)]['set'](_0x3c1264(0x325),_0x1445c6['get'](_0x3c1264(0x325))),_0x7e860d[_0x3c1264(0x162)]();}async[_0x500288(0x264)](){const _0x4d72aa=_0x500288;var _0x577059,_0x1bbd14,_0xc222ac;const _0xda68bb=this[_0x4d72aa(0x31b)]['getConfig'](_0x57af48),_0x5336e2=(_0x577059=_0xda68bb==null?void 0x0:_0xda68bb[_0x4d72aa(0x14e)])!=null?_0x577059:_0x4900e9;return(_0xc222ac=(_0x1bbd14=(await this['_httpService']['get'](_0x5336e2,{'headers':{'Content-Type':_0x4d72aa(0x251)}}))[_0x4d72aa(0x258)])==null?void 0x0:_0x1bbd14[_0x4d72aa(0x1da)])!=null?_0xc222ac:'';}};it=gn([z(0x0,_0x29d4e7(_0x1331ea)),z(0x1,_0x29d4e7(_0x37bdb9)),z(0x2,_0x4672a1),z(0x3,_0x3aa1cd),z(0x4,_0x47d3bc)],it);var Lt=(_0x32182e=>(_0x32182e[_0x32182e['UNDEFINED']=0x0]=_0x500288(0x12b),_0x32182e[_0x32182e['OK']=0x1]='OK',_0x32182e[_0x32182e[_0x500288(0x194)]=0x2]=_0x500288(0x194),_0x32182e[_0x32182e[_0x500288(0x1b0)]=0x3]=_0x500288(0x1b0),_0x32182e[_0x32182e[_0x500288(0x19d)]=0x4]='NOT_FOUND',_0x32182e[_0x32182e['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x32182e[_0x32182e[_0x500288(0x1d7)]=0x6]='ALREADY_EXISTS',_0x32182e[_0x32182e[_0x500288(0x2b1)]=0x7]=_0x500288(0x2b1),_0x32182e[_0x32182e['TOO_MANY_REQUESTS']=0x8]=_0x500288(0x257),_0x32182e[_0x32182e['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x32182e[_0x32182e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x32182e[_0x32182e[_0x500288(0x1c7)]=0xb]=_0x500288(0x1c7),_0x32182e[_0x32182e[_0x500288(0x24e)]=0xc]=_0x500288(0x24e),_0x32182e[_0x32182e[_0x500288(0x2c2)]=0xd]=_0x500288(0x2c2),_0x32182e[_0x32182e[_0x500288(0x202)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x32182e[_0x32182e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x500288(0x2f9),_0x32182e[_0x32182e[_0x500288(0x146)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x32182e[_0x32182e[_0x500288(0x16e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x32182e[_0x32182e[_0x500288(0x1e9)]=0x1773]=_0x500288(0x1e9),_0x32182e[_0x32182e['APPLY_REJECT']=0x1b59]=_0x500288(0x2eb),_0x32182e[_0x32182e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x500288(0x28b),_0x32182e[_0x32182e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x500288(0x235),_0x32182e[_0x32182e[_0x500288(0x1c1)]=0x1b5c]=_0x500288(0x1c1),_0x32182e[_0x32182e[_0x500288(0x12f)]=0x1b5d]='APPLY_DUPLICATED',_0x32182e[_0x32182e[_0x500288(0x195)]=0x1f41]=_0x500288(0x195),_0x32182e[_0x32182e[_0x500288(0x1bb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x32182e[_0x32182e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x500288(0x256),_0x32182e[_0x32182e[_0x500288(0x22d)]=0x232b]=_0x500288(0x22d),_0x32182e[_0x32182e[_0x500288(0x2e2)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x32182e[_0x32182e[_0x500288(0x206)]=0x232d]=_0x500288(0x206),_0x32182e[_0x32182e[_0x500288(0x321)]=0x2711]=_0x500288(0x321),_0x32182e[_0x32182e[_0x500288(0x229)]=0x2712]=_0x500288(0x229),_0x32182e[_0x32182e[_0x500288(0x1b3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x32182e[_0x32182e[_0x500288(0x13e)]=0x2714]=_0x500288(0x13e),_0x32182e[_0x32182e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x500288(0x1a1),_0x32182e[_0x32182e[_0x500288(0x15e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x32182e[_0x32182e[_0x500288(0x14f)]=0x271c]=_0x500288(0x14f),_0x32182e[_0x32182e[_0x500288(0x248)]=0x271d]=_0x500288(0x248),_0x32182e[_0x32182e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x32182e[_0x32182e[_0x500288(0x21a)]=0x271f]=_0x500288(0x21a),_0x32182e[_0x32182e[_0x500288(0x154)]=0x2720]=_0x500288(0x154),_0x32182e[_0x32182e[_0x500288(0x1d2)]=0x2af9]=_0x500288(0x1d2),_0x32182e[_0x32182e[_0x500288(0x329)]=0x2ee1]=_0x500288(0x329),_0x32182e[_0x32182e[_0x500288(0x1e7)]=0x2ee2]=_0x500288(0x1e7),_0x32182e[_0x32182e[_0x500288(0x2f5)]=0x2ee3]=_0x500288(0x2f5),_0x32182e[_0x32182e[_0x500288(0x1a0)]=0x2ee4]=_0x500288(0x1a0),_0x32182e[_0x32182e[_0x500288(0x29c)]=0x2ee5]=_0x500288(0x29c),_0x32182e[_0x32182e[_0x500288(0x25e)]=0x32c9]=_0x500288(0x25e),_0x32182e[_0x32182e[_0x500288(0x217)]=0x32ca]=_0x500288(0x217),_0x32182e[_0x32182e[_0x500288(0x142)]=0x32cb]=_0x500288(0x142),_0x32182e[_0x32182e['UNRECOGNIZED']=-0x1]=_0x500288(0x1c6),_0x32182e))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x221455,_0x36c98a,_0x537e92,_0x3a0de5)=>{const _0x209037=_0x500288;for(var _0x3c29f6=_0x3a0de5>0x1?void 0x0:_0x3a0de5?pn(_0x36c98a,_0x537e92):_0x36c98a,_0x149d57=_0x221455[_0x209037(0x212)]-0x1,_0x49338f;_0x149d57>=0x0;_0x149d57--)(_0x49338f=_0x221455[_0x149d57])&&(_0x3c29f6=_0x49338f(_0x3c29f6)||_0x3c29f6);return _0x3c29f6;},be=(_0x346ec2,_0x38abb)=>(_0x223ea6,_0x1f62ef)=>_0x38abb(_0x223ea6,_0x1f62ef,_0x346ec2);let nt=class extends _0x524ae9{constructor(_0x3857bb,_0x2f3d04,_0x634130){const _0x5f0c25=_0x500288;super(),this[_0x5f0c25(0x1f0)]=_0x3857bb,this['_httpService']=_0x2f3d04,this[_0x5f0c25(0x31b)]=_0x634130;}async[_0x500288(0x1cf)](_0x5c134d,_0x30dafb,_0x5b41fb,..._0x526ae6){const _0x86d43=_0x500288;var _0x5b8d36,_0xe68b0e,_0x4099d8,_0x4effed;const _0x440c2c=this[_0x86d43(0x1f0)][_0x86d43(0x1af)]();if(!_0x440c2c)throw new Error(_0x86d43(0x2b3));const _0x70cdb2=((_0x5b8d36=this['_configService'][_0x86d43(0x269)](_0x416ee2))!=null?_0x5b8d36:_0x3040b6)+'/'+_0x5c134d+_0x86d43(0x169)+_0x30dafb,_0x403693=new URL(window['location']['href']),_0x1df7ba={'scriptId':_0x5c134d,'runId':(_0xe68b0e=_0x403693[_0x86d43(0x276)][_0x86d43(0x14d)](_0x86d43(0x325)))!=null?_0xe68b0e:'','function':_0x30dafb,'unitId':_0x440c2c['getUnitId'](),'argsOfFunction':JSON[_0x86d43(0x134)](_0x526ae6),'invokeId':(_0x4099d8=_0x5b41fb[_0x86d43(0x2dd)])!=null?_0x4099d8:'','executionId':(_0x4effed=_0x5b41fb[_0x86d43(0x2aa)])!=null?_0x4effed:''};try{const _0xcb2df=await this['_httpService'][_0x86d43(0x2b2)](_0x70cdb2,{'body':_0x1df7ba});return _0xcb2df[_0x86d43(0x258)][_0x86d43(0x2b4)]&&_0xcb2df[_0x86d43(0x258)][_0x86d43(0x2b4)][_0x86d43(0x1f6)]!==Lt['OK']?_0x86d43(0x284):_0xcb2df[_0x86d43(0x258)][_0x86d43(0x255)];}catch{return _0x86d43(0x284);}}};nt=Cn([be(0x0,_0x1f5daf),be(0x1,_0x29d4e7(_0x37bdb9)),be(0x2,_0x4672a1)],nt);const rt=0x7530,ot=_0x500288(0x308);class Fn extends _0x524ae9{constructor(){const _0x13b3b3=_0x500288;super(),_(this,_0x13b3b3(0x30f),_0x26c34b()),_(this,'_selfUnitIDs',new Set()),_(this,_0x13b3b3(0x16c),new Map()),_(this,_0x13b3b3(0x1e3),null),_(this,_0x13b3b3(0x272),new Map()),_(this,'_unitStatus',new Map()),this[_0x13b3b3(0x2f0)]();}[_0x500288(0x30b)](){const _0x58896c=_0x500288;super['dispose'](),this[_0x58896c(0x272)][_0x58896c(0x17c)]((_0xbbe8ec,_0x1783c6)=>this[_0x58896c(0x2f6)](_0x1783c6)),this[_0x58896c(0x1e3)]&&window[_0x58896c(0x1dd)](this[_0x58896c(0x1e3)]);}[_0x500288(0x1dc)](_0x314d48){const _0x36d041=_0x500288;return this[_0x36d041(0x224)](_0x314d48)[_0x36d041(0x1f2)](_0x54865e());}['editingUnit'](_0x3cd8c1){const _0xb970b2=_0x500288;this[_0xb970b2(0x29a)][_0xb970b2(0x24f)]===0x0&&this[_0xb970b2(0x133)](),this[_0xb970b2(0x29a)][_0xb970b2(0x1b1)](_0x3cd8c1),this[_0xb970b2(0x18b)]({'type':0x0,'memberID':this[_0xb970b2(0x30f)],'unitIDs':[_0x3cd8c1],'isForwarded':!0x1});}[_0x500288(0x25b)](_0x3b585e){const _0x375a09=_0x500288;this[_0x375a09(0x29a)]['delete'](_0x3b585e),this[_0x375a09(0x29a)][_0x375a09(0x24f)]===0x0&&this[_0x375a09(0x1e3)]&&window[_0x375a09(0x1dd)](this[_0x375a09(0x1e3)]);}[_0x500288(0x2f0)](){const _0x536d4f=_0x500288;this[_0x536d4f(0x2f1)](_0x11aff7(_0x47ab78(window,_0x536d4f(0x189))['subscribe'](_0x2b36e8=>{const _0x5476b5=_0x536d4f;if(_0x2b36e8['key']!==ot||!_0x2b36e8[_0x5476b5(0x15d)])return;const _0x189ac7=JSON[_0x5476b5(0x1e2)](_0x2b36e8[_0x5476b5(0x15d)]);this[_0x5476b5(0x1ec)](_0x189ac7);}))),window['addEventListener'](_0x536d4f(0x12c),()=>this[_0x536d4f(0x18b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x536d4f(0x1ba)](this[_0x536d4f(0x29a)])}));}[_0x500288(0x1ec)](_0x9d3579){const _0x3863d8=_0x500288;switch(_0x9d3579[_0x3863d8(0x314)]){case 0x0:this['_handleJoinEvent'](_0x9d3579);break;case 0x1:this['_handleLeaveEvent'](_0x9d3579);break;case 0x2:this[_0x3863d8(0x191)](_0x9d3579);break;}}[_0x500288(0x290)](_0x467809){const _0x1ef104=_0x500288,{unitIDs:_0x1098dd,memberID:_0x136b28,isForwarded:_0x531ad0}=_0x467809;_0x1098dd[_0x1ef104(0x17c)](_0x1b32eb=>{const _0x38a1a9=_0x1ef104;if(!_0x531ad0&&this[_0x38a1a9(0x16c)][_0x38a1a9(0x1db)](_0x1b32eb)&&this[_0x38a1a9(0x224)](_0x1b32eb)[_0x38a1a9(0x152)](_0x481762['OTHER_CLIENTS_EDITING']),!this[_0x38a1a9(0x16c)][_0x38a1a9(0x1db)](_0x1b32eb)||!this[_0x38a1a9(0x16c)][_0x38a1a9(0x14d)](_0x1b32eb)[_0x38a1a9(0x1db)](_0x136b28)){const _0x2a3986=this[_0x38a1a9(0x16c)][_0x38a1a9(0x14d)](_0x1b32eb)||new Set();_0x2a3986[_0x38a1a9(0x1b1)](_0x136b28),this['_unitOnClients'][_0x38a1a9(0x292)](_0x1b32eb,_0x2a3986),this['_scheduleClearOtherTimer'](_0x136b28);}}),_0x531ad0||this[_0x1ef104(0x18b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1ef104(0x29a)]],'isForwarded':!0x0});}[_0x500288(0x221)](_0x5ba38d){const _0x543a82=_0x500288;this[_0x543a82(0x2f6)](_0x5ba38d);const _0x14ff3f=window['setTimeout'](()=>{const _0x56fb6f=_0x543a82;this['_unitOnClients'][_0x56fb6f(0x17c)](_0xe37e12=>{_0xe37e12['delete'](_0x5ba38d);});},rt*0x2);this[_0x543a82(0x272)][_0x543a82(0x292)](_0x5ba38d,_0x14ff3f);}['_removeClearOtherTimer'](_0x43bec4){const _0x3dcf5a=_0x500288;if(this[_0x3dcf5a(0x272)][_0x3dcf5a(0x1db)](_0x43bec4)){const _0x3a3aed=this[_0x3dcf5a(0x272)][_0x3dcf5a(0x14d)](_0x43bec4);_0x3a3aed&&window[_0x3dcf5a(0x230)](_0x3a3aed),this[_0x3dcf5a(0x272)][_0x3dcf5a(0x292)](_0x43bec4,null);}}['_handleLeaveEvent'](_0x114c77){const _0x4fc994=_0x500288,{memberID:_0x52ba26,unitIDs:_0x468ad7}=_0x114c77;_0x468ad7[_0x4fc994(0x17c)](_0xa0ec8e=>{const _0xe6a55=_0x4fc994;var _0x2863ff;const _0x1cf6d8=this[_0xe6a55(0x16c)][_0xe6a55(0x14d)](_0xa0ec8e);_0x1cf6d8&&(_0x1cf6d8[_0xe6a55(0x26d)](_0x52ba26),(_0x2863ff=this[_0xe6a55(0x224)](_0xa0ec8e))==null||_0x2863ff['next'](_0x1cf6d8[_0xe6a55(0x24f)]===0x0?_0x481762[_0xe6a55(0x2cf)]:_0x481762[_0xe6a55(0x1fe)]));}),this['_removeClearOtherTimer'](_0x52ba26);}[_0x500288(0x191)](_0x30aa7e){const _0x199912=_0x500288;this[_0x199912(0x221)](_0x30aa7e[_0x199912(0x24d)]);}[_0x500288(0x18b)](_0x301352){localStorage['setItem'](ot,JSON['stringify'](_0x301352));}[_0x500288(0x133)](){const _0x51fb2a=_0x500288;this['_heartbeatTimer']=window[_0x51fb2a(0x203)](()=>{const _0x384414=_0x51fb2a;this['_send']({'type':0x2,'memberID':this[_0x384414(0x30f)]});},rt);}['_ensureSubject'](_0x3c75ac){const _0x7de85e=_0x500288;return this[_0x7de85e(0x16f)]['has'](_0x3c75ac)||this[_0x7de85e(0x16f)]['set'](_0x3c75ac,new _0x37238b(_0x481762[_0x7de85e(0x2cf)])),this['_unitStatus'][_0x7de85e(0x14d)](_0x3c75ac);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x21614a=_0x2984;(function(_0x4ab283,_0x46dfd4){const _0x417df4=_0x2984,_0x237ee1=_0x4ab283();while(!![]){try{const _0x726f38=-parseInt(_0x417df4(0x15c))/0x1+-parseInt(_0x417df4(0x15e))/0x2*(parseInt(_0x417df4(0x154))/0x3)+-parseInt(_0x417df4(0x153))/0x4+-parseInt(_0x417df4(0x15d))/0x5*(parseInt(_0x417df4(0x160))/0x6)+parseInt(_0x417df4(0x151))/0x7*(-parseInt(_0x417df4(0x158))/0x8)+-parseInt(_0x417df4(0x155))/0x9+-parseInt(_0x417df4(0x156))/0xa*(-parseInt(_0x417df4(0x14f))/0xb);if(_0x726f38===_0x46dfd4)break;else _0x237ee1['push'](_0x237ee1['shift']());}catch(_0x5c1022){_0x237ee1['push'](_0x237ee1['shift']());}}}(_0x3c9b,0xaf36b));const e={'collab-client':{'tooltip':{'reconnect':_0x21614a(0x14e)}},'collabStatus':{'fetchMiss':_0x21614a(0x15a),'conflict':_0x21614a(0x14d),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x21614a(0x159),'offline':_0x21614a(0x157)},'session':{'connection-failed':_0x21614a(0x15f),'will-retry':_0x21614a(0x14c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x21614a(0x15b),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x21614a(0x150),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x21614a(0x161)},'auth':{'needGotoLoginAlert':_0x21614a(0x152)}},o=e;export{o as default};function _0x2984(_0x5825f1,_0xf276ee){const _0x3c9bee=_0x3c9b();return _0x2984=function(_0x29842d,_0x5bb67f){_0x29842d=_0x29842d-0x14c;let _0x18db66=_0x3c9bee[_0x29842d];return _0x18db66;},_0x2984(_0x5825f1,_0xf276ee);}function _0x3c9b(){const _0x46aa06=['47375qjgbvJ','1991326JwHtxR','Connection\x20failed,\x20please\x20check\x20your\x20network.','444aEBPKl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Click\x20to\x20Reconnect','34859Trpfyx','Authentication\x20Error','35357BaDMkL','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4278980jAZmog','3FfEwEA','2543643IurbgQ','14250pDdktr','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','408farYMW','Syncing...','Syncing\x20server\x20data...','Collaboration\x20Conflict','491364DPnCCo'];_0x3c9b=function(){return _0x46aa06;};return _0x3c9b();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x107c01=_0x319a;function _0x1755(){const _0x2c43df=['251279FiKSls','Edit\x20conflicts','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2280MJPouR','168509UIOczR','Connection\x20failed,\x20please\x20check\x20your\x20network.','775985vDZQhz','15678vKuLvP','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','272752noVJZf','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','12mIjisg','508rZwBcn','Authentication\x20Error','2064rOQeZl','Click\x20to\x20Reconnect','282640oGZXKP','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x1755=function(){return _0x2c43df;};return _0x1755();}function _0x319a(_0x50c212,_0x42339b){const _0x1755c0=_0x1755();return _0x319a=function(_0x319a0f,_0x5aa14a){_0x319a0f=_0x319a0f-0x14e;let _0x339a35=_0x1755c0[_0x319a0f];return _0x339a35;},_0x319a(_0x50c212,_0x42339b);}(function(_0x55b92d,_0x38c23f){const _0x1c0d95=_0x319a,_0x3f415c=_0x55b92d();while(!![]){try{const _0x161963=-parseInt(_0x1c0d95(0x166))/0x1+parseInt(_0x1c0d95(0x158))/0x2*(-parseInt(_0x1c0d95(0x15a))/0x3)+-parseInt(_0x1c0d95(0x153))/0x4+parseInt(_0x1c0d95(0x14f))/0x5+-parseInt(_0x1c0d95(0x157))/0x6*(parseInt(_0x1c0d95(0x161))/0x7)+parseInt(_0x1c0d95(0x15c))/0x8+parseInt(_0x1c0d95(0x150))/0x9*(parseInt(_0x1c0d95(0x165))/0xa);if(_0x161963===_0x38c23f)break;else _0x3f415c['push'](_0x3f415c['shift']());}catch(_0x57e0e2){_0x3f415c['push'](_0x3f415c['shift']());}}}(_0x1755,0x1980c));const e={'collab-client':{'tooltip':{'reconnect':_0x107c01(0x15b)}},'collabStatus':{'fetchMiss':_0x107c01(0x15f),'conflict':_0x107c01(0x162),'notCollab':_0x107c01(0x156),'synced':_0x107c01(0x163),'syncing':'Syncing...','offline':_0x107c01(0x15d)},'session':{'connection-failed':_0x107c01(0x14e),'will-retry':_0x107c01(0x155),'room-full':_0x107c01(0x151),'collaboration-timeout':_0x107c01(0x154)},'conflict':{'title':_0x107c01(0x152),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x107c01(0x159),'content':_0x107c01(0x164)},'collaboration':{'single-unit':{'warning':_0x107c01(0x160)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x107c01(0x15e)}};export{e as default};
|