@univerjs-pro/collaboration-client-ui 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -19
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4b78(_0x6f668e,_0x3b5ef6){const _0x4d6727=_0x4d67();return _0x4b78=function(_0x4b7875,_0x1e6ddc){_0x4b7875=_0x4b7875-0x72;let _0x167e15=_0x4d6727[_0x4b7875];return _0x167e15;},_0x4b78(_0x6f668e,_0x3b5ef6);}const _0x23ff9b=_0x4b78;(function(_0x39df2f,_0x23a174){const _0x4e0c9c=_0x4b78,_0x52c71a=_0x39df2f();while(!![]){try{const _0x260956=parseInt(_0x4e0c9c(0xa0))/0x1+-parseInt(_0x4e0c9c(0x1da))/0x2+parseInt(_0x4e0c9c(0x7f))/0x3+-parseInt(_0x4e0c9c(0xe9))/0x4+-parseInt(_0x4e0c9c(0xac))/0x5*(parseInt(_0x4e0c9c(0x8a))/0x6)+-parseInt(_0x4e0c9c(0x26e))/0x7+parseInt(_0x4e0c9c(0x1d0))/0x8;if(_0x260956===_0x23a174)break;else _0x52c71a['push'](_0x52c71a['shift']());}catch(_0x57b204){_0x52c71a['push'](_0x52c71a['shift']());}}}(_0x4d67,0x19397));var Bt=Object['defineProperty'],Ht=(_0x738909,_0x53404c,_0x4da627)=>_0x53404c in _0x738909?Bt(_0x738909,_0x53404c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4da627}):_0x738909[_0x53404c]=_0x4da627,h=(_0x3f6ef4,_0x56956b,_0x2d6397)=>Ht(_0x3f6ef4,typeof _0x56956b!=_0x23ff9b(0x183)?_0x56956b+'':_0x56956b,_0x2d6397);import{MemberService as _0x1e6aed,SessionStatus as _0x30b592,CollaborationSessionService as _0xce6fa8,CollaborationStatus as _0x3cfde1,CollaborationController as _0x1eec7a,ILocalCacheService as _0x3c8f5a,CollaborationUIEventService as _0x41f22d,CollaborationUIEventId as _0x222a16,DataLoaderService as _0x20e5b6,DocCollaborationEntity as _0x53d445,getLocalCacheKey as _0x3ce03f,LOCAL_CACHE_INTERVAL as _0x18f4f4,LOCAL_CACHE_INTERVAL_KEY as _0x4bfb93,UniverCollaborationClientPlugin as _0x316f4e,CollaborationSocketService as _0x4d5aa8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x11b14b,DEFAULT_WS_SESSION_TICKET_URL as _0x31d3af,UnitStatus as _0x32effc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x9a5b6d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x512cab}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fd355,Disposable as _0x5e0670,DOC_RANGE_TYPE as _0x33c34c,Inject as _0xd50dcd,Injector as _0x8ce219,IUniverInstanceService as _0x1c8a5a,ICommandService as _0x53b5ba,debounce as _0x243cd5,Rectangle as _0x37b674,DisposableCollection as _0x5c60c1,toDisposable as _0x1a3234,UniverInstanceType as _0x149593,Tools as _0x51080d,COLORS as _0x4c2b95,ColorKit as _0x156116,ThemeService as _0x22b1c4,fromEventSubject as _0x10720b,LocaleService as _0xb5b2d6,createIdentifier as _0x108fd3,ILogService as _0x258406,Optional as _0x232a3e,Workbook as _0x4c6c97,CommandType as _0x17ad1c,IConfigService as _0x533f06,ILocalStorageService as _0x157b96,DependentOn as _0x592d51,Plugin as _0x7903e7,merge as _0x4a2b0c,registerDependencies as _0x4a94d2,mergeOverrideWithDependencies as _0x45e2a7,touchDependencies as _0x3c9714,generateRandomId as _0x1a78d2}from'@univerjs/core';import{Shape as _0x14aaa8,Rect as _0x1e54b6,getColor as _0x4cfbce,RegularPolygon as _0x10e032,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x46db6b,Vector2 as _0x427e4c,SHEET_VIEWPORT_KEY as _0x58b01f,IRenderManagerService as _0x4ce077}from'@univerjs/engine-render';import{ISocketService as _0x1c8e0f,WebSocketService as _0x5dc691,HTTPService as _0x1c7672}from'@univerjs/network';import{IDocClipboardService as _0x3b1559,NodePositionConvertToCursor as _0x176d42,NodePositionConvertToRectRange as _0x37153b,TEXT_RANGE_LAYER_INDEX as _0x427468,SetDocZoomRatioOperation as _0x18c470,DocIMEInputManagerService as _0x130d6b,DocStateChangeManagerService as _0x1abd4c}from'@univerjs/docs-ui';import{IImageIoService as _0x12c027}from'@univerjs/drawing';import{BehaviorSubject as _0x3de8b5,debounceTime as _0x3d5e13,takeUntil as _0x1c0f4d,Subject as _0x10a984,filter as _0x1d88bc,switchMap as _0x13c98e,merge as _0x5219b5,combineLatest as _0x1e76ec,of as _0x2c084f,fromEvent as _0x37d196,shareReplay as _0x196db8,mapTo as _0x4fd666,distinctUntilChanged as _0x2a0d31}from'rxjs';import{SetTextSelectionsOperation as _0x2bd00b,RichTextEditingMutation as _0x82c37c,DocSelectionManagerService as _0x312df4,DocSkeletonManagerService as _0x56c1b1}from'@univerjs/docs';import{ITransformService as _0x49f577,CollaborationEvent as _0x3e60bd,isTransformMutationFailure as _0x2cb5ce,isTransformMutationsWithChangesetSuccess as _0x36a096,RevisionService as _0x1a68c1,ISnapshotServerService as _0x3b2333}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xac2669,serializeRangeWithSheet as _0x432398}from'@univerjs/engine-formula';import{RefRangeService as _0x28bb15,SetSelectionsOperation as _0x556967,SheetsSelectionsService as _0x278c4e,EffectRefRangId as _0x55d3b7,handleIRemoveRow as _0xa7c699,handleIRemoveCol as _0x4c91ca,handleMoveRange as _0x5e7e62,handleInsertRow as _0x1f4dfe,handleInsertRangeMoveRight as _0x37251f,handleInsertRangeMoveDown as _0x94f7f0,handleInsertCol as _0x5051d8,handleDeleteRangeMoveUp as _0x27968f,handleDeleteRangeMoveLeft as _0x300843,runRefRangeMutations as _0x279240,SetWorksheetActivateCommand as _0x54975b}from'@univerjs/sheets';import{map as _0x3e2a29,filter as _0x3df35f,throttleTime as _0x56e452,takeUntil as _0x368f80,switchMap as _0x563ac8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x412f9c,getCoordByCell as _0x1e4ed8,getSheetObject as _0x2f4bbe}from'@univerjs/sheets-ui';import{jsx as _0x2d8f0e,jsxs as _0x47ae1c}from'react/jsx-runtime';import{useObservable as _0x38f826,useDependency as _0x3dc95d,IUIPartsService as _0x59a6ed,BuiltInUIPart as _0x328fad,connectInjector as _0x3ce672,IBeforeCloseService as _0x29d9c9,IMessageService as _0x155886,INotificationService as _0x55ef19}from'@univerjs/ui';import{Tooltip as _0xdfabb5,MessageType as _0x3d4a36}from'@univerjs/design';import{forwardRef as _0x2a5173,useRef as _0x9ab032,createElement as _0x3f9b60,useCallback as _0x5f2aa7}from'react';import{IRemoteInstanceService as _0x40301a}from'@univerjs/rpc';var hi=Object[_0x23ff9b(0xe8)],_i=(_0x1167c5,_0x36595b,_0x122dcb,_0x18e6f1)=>{const _0x13fbe0=_0x23ff9b;for(var _0x3b4201=_0x18e6f1>0x1?void 0x0:_0x18e6f1?hi(_0x36595b,_0x122dcb):_0x36595b,_0x5c4db9=_0x1167c5[_0x13fbe0(0x1f4)]-0x1,_0x43c6b0;_0x5c4db9>=0x0;_0x5c4db9--)(_0x43c6b0=_0x1167c5[_0x5c4db9])&&(_0x3b4201=_0x43c6b0(_0x3b4201)||_0x3b4201);return _0x3b4201;},Ze=(_0x2721f4,_0x503e24)=>(_0x4471a5,_0x492cb5)=>_0x503e24(_0x4471a5,_0x492cb5,_0x2721f4);let Me=class extends _0x1fd355{constructor(_0x5d61b6,_0x336177){const _0x39b911=_0x23ff9b;super(),this['_docClipboardService']=_0x5d61b6,this[_0x39b911(0x24e)]=_0x336177,this['_init']();}[_0x23ff9b(0x16f)](){const _0x4bd5a7=_0x23ff9b,_0x42d308=this;this[_0x4bd5a7(0x20c)](this[_0x4bd5a7(0xcf)][_0x4bd5a7(0x11d)]({'onBeforePasteImage':async _0x3ad56b=>{const _0x4bfd0=_0x4bd5a7,_0x1f7932=await _0x42d308[_0x4bfd0(0x24e)][_0x4bfd0(0x253)](_0x3ad56b);return _0x1f7932?{'source':_0x1f7932[_0x4bfd0(0x165)],'imageSourceType':_0x1f7932[_0x4bfd0(0x14a)]}:null;}}));}};Me=_i([Ze(0x0,_0x3b1559),Ze(0x1,_0x12c027)],Me);const qe=[_0x23ff9b(0x12a),_0x23ff9b(0xfb),_0x23ff9b(0x19f),_0x23ff9b(0x15a),_0x23ff9b(0x1e0),'gold400'];class He extends _0x5e0670{constructor(){const _0x16d50d=_0x23ff9b;super(...arguments),h(this,_0x16d50d(0x16e),new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x1486eb){const _0x22b2d8=_0x23ff9b;if(this['_assignedColors'][_0x22b2d8(0x232)](_0x1486eb))return this[_0x22b2d8(0x16e)][_0x22b2d8(0xe1)](_0x1486eb);const _0x21f9bb=qe[this[_0x22b2d8(0x204)]];return this[_0x22b2d8(0x204)]=(this[_0x22b2d8(0x204)]+0x1)%qe[_0x22b2d8(0x1f4)],this['_assignedColors'][_0x22b2d8(0x144)](_0x1486eb,_0x21f9bb),_0x21f9bb;}}function Dt(_0xcedd80){let _0x496edf='';for(const _0x5c6b10 of _0xcedd80){const {startOffset:_0x5893a8,endOffset:_0x349cf9,isActive:_0x532744,rangeType:_0x46712d,segmentId:_0x1bd813,segmentPage:_0x5e9d11}=_0x5c6b10;_0x496edf['length']&&(_0x496edf+=','),_0x496edf+=_0x5893a8+':'+_0x349cf9+':'+(_0x532744?'1':'0')+':'+_0x46712d+':'+_0x1bd813+':'+_0x5e9d11;}return _0x496edf;}function ui(_0x18e498){const _0x953b95=_0x23ff9b,_0x30a70b=_0x18e498['split'](','),_0x38628c=[];for(const _0x40eec9 of _0x30a70b){const [_0x23f921,_0x1092a3,_0x329b37,_0x4deba6,_0x19a681,_0xedf54]=_0x40eec9['split'](':');_0x38628c['push']({'startOffset':Number(_0x23f921),'endOffset':Number(_0x1092a3),'collapsed':_0x23f921===_0x1092a3,'isActive':_0x329b37==='1','rangeType':_0x4deba6===_0x33c34c[_0x953b95(0x187)]?_0x33c34c[_0x953b95(0x187)]:_0x33c34c['RECT'],'segmentId':typeof _0x19a681==_0x953b95(0x143)?String(_0x19a681):'','segmentPage':Number(_0xedf54!=null?_0xedf54:-0x1)});}return _0x38628c['some'](_0x5dd61c=>_0x5dd61c[_0x953b95(0xdb)])||(_0x38628c[0x0][_0x953b95(0xdb)]=!0x0),_0x38628c;}class je extends _0x1fd355{constructor(){const _0x4882c5=_0x23ff9b;super(...arguments),h(this,'_collabCursorState$',new _0x3de8b5(null)),h(this,_0x4882c5(0xe5),this[_0x4882c5(0x153)][_0x4882c5(0x13e)]());}['syncEditingCollabCursor'](_0x5ecefd){const _0x2d5c9b=_0x23ff9b,{unitID:_0x470fea,memberID:_0x36f817,textRanges:_0x3c7ee0}=_0x5ecefd,_0x2b9c35=Dt(_0x3c7ee0);if(_0x2b9c35==='')return;const _0x4a293b={'unitID':_0x470fea,'memberID':_0x36f817,'selection':_0x2b9c35};this['_collabCursorState$'][_0x2d5c9b(0x1ec)](_0x4a293b);}}var di=Object[_0x23ff9b(0xe8)],fi=(_0x144de3,_0x389a43,_0x8c4e3e,_0xcf9125)=>{const _0x52ec04=_0x23ff9b;for(var _0x401bb3=_0xcf9125>0x1?void 0x0:_0xcf9125?di(_0x389a43,_0x8c4e3e):_0x389a43,_0x53436a=_0x144de3[_0x52ec04(0x1f4)]-0x1,_0x1aa17b;_0x53436a>=0x0;_0x53436a--)(_0x1aa17b=_0x144de3[_0x53436a])&&(_0x401bb3=_0x1aa17b(_0x401bb3)||_0x401bb3);return _0x401bb3;},U=(_0x2cbd1f,_0x581dce)=>(_0x573fa6,_0x1d7313)=>_0x581dce(_0x573fa6,_0x1d7313,_0x2cbd1f);const Si=0x12c,mi=0x64;let Ne=class extends _0x1fd355{constructor(_0x331139,_0x172e32,_0x597e0c,_0x33d114,_0x8aed5b,_0x150586,_0x16e537,_0x43d847,_0x1a5b17){const _0x2ba79a=_0x23ff9b;super(),h(this,_0x2ba79a(0x24f),!0x1),h(this,_0x2ba79a(0x16f),!0x1),h(this,_0x2ba79a(0x8f),new _0x3de8b5(new Map())),h(this,'cursorInfo$',this[_0x2ba79a(0x8f)][_0x2ba79a(0x13e)]()),h(this,_0x2ba79a(0x151),new _0x3de8b5([])),h(this,_0x2ba79a(0x115),this[_0x2ba79a(0x151)][_0x2ba79a(0x24d)](_0x3d5e13(Si))),h(this,_0x2ba79a(0x7c),_0x243cd5(_0x54d4d5=>{const _0x522502=_0x2ba79a,_0xbb06eb={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':{'unitID':this[_0x522502(0xb4)],'memberID':this[_0x522502(0xdc)]['getMemberID'](),'selection':Dt(_0x54d4d5)}};this['_session'][_0x522502(0x203)](_0xbb06eb,this['unitID']);},mi)),(this[_0x2ba79a(0xb4)]=_0x331139,this[_0x2ba79a(0xdc)]=_0x172e32,this['_injector']=_0x597e0c,this[_0x2ba79a(0x176)]=_0x33d114,this[_0x2ba79a(0x1d2)]=_0x8aed5b,this['_syncEditingCollabCursorService']=_0x150586,this[_0x2ba79a(0x10b)]=_0x16e537,this['_univerInstanceService']=_0x43d847,this[_0x2ba79a(0x1fc)]=_0x1a5b17);}get[_0x23ff9b(0x185)](){const _0x44c13e=_0x23ff9b;return this['_cursorInfo$'][_0x44c13e(0x1c3)]();}get[_0x23ff9b(0x8c)](){const _0x5b804e=_0x23ff9b;return this['_roomMembers$'][_0x5b804e(0x1c3)]();}[_0x23ff9b(0x244)](){const _0x412324=_0x23ff9b;super['dispose'](),this[_0x412324(0x8f)]['next'](new Map()),this[_0x412324(0x8f)][_0x412324(0x25c)](),this[_0x412324(0x151)]['next']([]),this[_0x412324(0x151)][_0x412324(0x25c)]();}[_0x23ff9b(0x25b)](){const _0xf6724f=_0x23ff9b;this['_init']||(this[_0xf6724f(0x16f)]=!0x0,this['_session'][_0xf6724f(0x1a7)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))[_0xf6724f(0xa6)](_0x28a9f3=>{const _0x3a29db=_0xf6724f;_0x28a9f3===_0x30b592[_0x3a29db(0x269)]?this['_toggleOnline']():this[_0x3a29db(0x1b8)]();}),this[_0xf6724f(0xdc)][_0xf6724f(0x259)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))['subscribe'](_0x379914=>{const _0x851809=_0xf6724f,_0x7cf6b0=_0x379914[_0x851809(0x213)];_0x7cf6b0===_0x3e60bd['UPDATE_CURSOR']&&this[_0x851809(0x173)](_0x379914),_0x7cf6b0===_0x3e60bd[_0x851809(0x1be)]&&this[_0x851809(0x89)](_0x379914);}),this[_0xf6724f(0x20c)](this[_0xf6724f(0x1fc)][_0xf6724f(0xda)](_0x2ad439=>{const _0x5f5477=_0xf6724f,_0x19995c=_0x2ad439[_0x5f5477(0x1f0)];_0x19995c!=null&&this[_0x5f5477(0x24f)]&&_0x2ad439['id']===_0x2bd00b['id']&&_0x19995c[_0x5f5477(0x1fa)]===this[_0x5f5477(0xb4)]&&_0x19995c[_0x5f5477(0xd5)]===!0x1&&_0x19995c['ranges'][_0x5f5477(0x1f4)]>0x0&&this[_0x5f5477(0x7c)](_0x19995c[_0x5f5477(0x145)]);})),this[_0xf6724f(0x181)][_0xf6724f(0xe5)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))['subscribe'](_0x333adf=>{const _0x4ea1f3=_0xf6724f;if((_0x333adf==null?void 0x0:_0x333adf['unitID'])!==this['unitID'])return;const _0x45e09d={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':_0x333adf};this[_0x4ea1f3(0x173)](_0x45e09d);}),this[_0xf6724f(0x20c)](this[_0xf6724f(0x1fc)][_0xf6724f(0xda)](_0x4dc104=>{const _0x3ecc2d=_0xf6724f;if(_0x4dc104[_0x3ecc2d(0x1f0)]==null)return;const _0x58c5ff=_0x4dc104['params'];if(_0x4dc104['id']!==_0x82c37c['id']||_0x58c5ff[_0x3ecc2d(0x1fa)]!==this['unitID'])return;const _0x3f6565={'id':'doc.mutation.rich-text-editing','params':_0x58c5ff},_0x3e6d93=this[_0x3ecc2d(0x185)];for(const [_0x1e0e37,_0x2c7419]of _0x3e6d93){const _0x5504af={'id':_0x3ecc2d(0x137),'params':{'unitId':this[_0x3ecc2d(0xb4)],'actions':null,'textRanges':_0x2c7419[_0x3ecc2d(0x145)]}},_0x1b16ca=this['_transformService']['transformMutation'](_0x3f6565,_0x5504af,!0x1);if(_0x2cb5ce(_0x1b16ca))throw _0x1b16ca[_0x3ecc2d(0xb9)];_0x3e6d93['set'](_0x1e0e37,{..._0x2c7419,'ranges':_0x1b16ca['m2Prime']['params'][_0x3ecc2d(0xbb)]});}queueMicrotask(()=>{const _0xa927a6=_0x3ecc2d;this[_0xa927a6(0x8f)][_0xa927a6(0x1ec)](_0x3e6d93);});})));}[_0x23ff9b(0x173)](_0x95d2f6){const _0x48cb64=_0x23ff9b;var _0x420be2,_0x10e2bc;const {memberID:_0x3f3176,selection:_0x3bd0b6}=_0x95d2f6[_0x48cb64(0x1d7)],_0x4aff61=ui(_0x3bd0b6),_0x45fd16=(_0x10e2bc=(_0x420be2=this[_0x48cb64(0x1d2)][_0x48cb64(0x1ce)](this['unitID'],_0x3f3176))==null?void 0x0:_0x420be2[_0x48cb64(0x194)])!=null?_0x10e2bc:_0x48cb64(0x18a),_0x49b0fd={'color':this[_0x48cb64(0x176)][_0x48cb64(0x15d)](_0x3f3176),'name':_0x45fd16,'ranges':_0x4aff61},_0x523b8f=this[_0x48cb64(0x185)];_0x523b8f[_0x48cb64(0x144)](_0x3f3176,_0x49b0fd),this[_0x48cb64(0x8f)][_0x48cb64(0x1ec)](_0x523b8f);}[_0x23ff9b(0x89)](_0x399b63){const _0x4df15d=_0x23ff9b,{memberID:_0x43b4e4}=_0x399b63[_0x4df15d(0x1d7)],_0x16f4df=this[_0x4df15d(0x185)];_0x16f4df[_0x4df15d(0x223)](_0x43b4e4),this[_0x4df15d(0x8f)]['next'](_0x16f4df);}['_toggleOnline'](){const _0xa15b37=_0x23ff9b;var _0xbe3e34;if(this[_0xa15b37(0x24f)]=!0x0,((_0xbe3e34=this[_0xa15b37(0x1cd)][_0xa15b37(0x19e)]())==null?void 0x0:_0xbe3e34[_0xa15b37(0x15b)]())!==this[_0xa15b37(0xb4)])return;const _0x594ab4=this[_0xa15b37(0x25e)][_0xa15b37(0xe1)](_0x312df4)[_0xa15b37(0x1d3)]();Array['isArray'](_0x594ab4)&&_0x594ab4[_0xa15b37(0x1f4)]>0x0&&this[_0xa15b37(0x7c)](_0x594ab4);}['_toggleOffline'](){const _0x21e6e8=_0x23ff9b;this[_0x21e6e8(0x24f)]=!0x1;}};Ne=fi([U(0x2,_0xd50dcd(_0x8ce219)),U(0x3,_0xd50dcd(He)),U(0x4,_0xd50dcd(_0x1e6aed)),U(0x5,_0xd50dcd(je)),U(0x6,_0x49f577),U(0x7,_0x1c8a5a),U(0x8,_0x53b5ba)],Ne);var gi=Object[_0x23ff9b(0xe8)],vi=(_0xcd955c,_0xfa782c,_0x363528,_0x4877ef)=>{const _0x45b9b3=_0x23ff9b;for(var _0x276553=_0x4877ef>0x1?void 0x0:_0x4877ef?gi(_0xfa782c,_0x363528):_0xfa782c,_0x503219=_0xcd955c[_0x45b9b3(0x1f4)]-0x1,_0x2c646e;_0x503219>=0x0;_0x503219--)(_0x2c646e=_0xcd955c[_0x503219])&&(_0x276553=_0x2c646e(_0x276553)||_0x276553);return _0x276553;},x=(_0x4530e5,_0x2b34be)=>(_0xc8e900,_0x40f711)=>_0x2b34be(_0xc8e900,_0x40f711,_0x4530e5);const Ii=0x12c,pi=0x64,Ci=()=>{let _0x4b0eae=[],_0x1f5e50=!0x1;return _0x3c5134=>{_0x4b0eae['push'](_0x3c5134),_0x1f5e50||(_0x1f5e50=!0x0,setTimeout(()=>{const _0x5dbc79=_0x4b78;_0x4b0eae[_0x5dbc79(0x222)](_0x1e64ff=>_0x1e64ff()),_0x4b0eae=[],_0x1f5e50=!0x1;}));};};let we=class extends _0x1fd355{constructor(_0x430ffc,_0x34456d,_0x4ce286,_0x3f7967,_0x29bb2b,_0x2b7872,_0x593926,_0x8dec0){const _0x5a4cb2=_0x23ff9b;super(),h(this,_0x5a4cb2(0x24f),!0x1),h(this,_0x5a4cb2(0x16f),!0x1),h(this,'_cursorInfo$',new _0x3de8b5(new Map())),h(this,_0x5a4cb2(0x13a),this[_0x5a4cb2(0x8f)][_0x5a4cb2(0x13e)]()),h(this,_0x5a4cb2(0x151),new _0x3de8b5([])),h(this,_0x5a4cb2(0x115),this['_roomMembers$'][_0x5a4cb2(0x24d)](_0x3d5e13(Ii))),h(this,_0x5a4cb2(0x7c),_0x243cd5((_0x34f8cf,_0x364a4a)=>{const _0x5e78a5=_0x5a4cb2,_0x4000d9={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5e78a5(0xdc)][_0x5e78a5(0x1c7)](),'selection':_0x432398(_0x34f8cf,_0x364a4a['range'])}};this[_0x5e78a5(0xdc)][_0x5e78a5(0x203)](_0x4000d9,this[_0x5e78a5(0xb4)]);},pi)),(this['unitID']=_0x430ffc,this['_session']=_0x34456d,this[_0x5a4cb2(0x25e)]=_0x4ce286,this[_0x5a4cb2(0x176)]=_0x3f7967,this[_0x5a4cb2(0x1d2)]=_0x29bb2b,this[_0x5a4cb2(0x1cd)]=_0x2b7872,this[_0x5a4cb2(0x1fc)]=_0x593926,this[_0x5a4cb2(0x12b)]=_0x8dec0);}get[_0x23ff9b(0x185)](){const _0x5c34b4=_0x23ff9b;return this['_cursorInfo$'][_0x5c34b4(0x1c3)]();}get[_0x23ff9b(0x8c)](){const _0x3a5e75=_0x23ff9b;return this[_0x3a5e75(0x151)][_0x3a5e75(0x1c3)]();}[_0x23ff9b(0x244)](){const _0x5aa224=_0x23ff9b;super[_0x5aa224(0x244)](),this[_0x5aa224(0x8f)][_0x5aa224(0x1ec)](new Map()),this[_0x5aa224(0x8f)][_0x5aa224(0x25c)](),this[_0x5aa224(0x151)][_0x5aa224(0x1ec)]([]),this[_0x5aa224(0x151)][_0x5aa224(0x25c)]();}[_0x23ff9b(0x25b)](){const _0x2bb883=_0x23ff9b;this[_0x2bb883(0x16f)]||(this[_0x2bb883(0x16f)]=!0x0,this[_0x2bb883(0xdc)][_0x2bb883(0x1a7)]['pipe'](_0x1c0f4d(this[_0x2bb883(0x9d)]))['subscribe'](_0x1c5828=>{const _0x1e4a77=_0x2bb883;_0x1c5828===_0x30b592[_0x1e4a77(0x269)]?this[_0x1e4a77(0xee)]():this['_toggleOffline']();}),this[_0x2bb883(0xdc)][_0x2bb883(0x259)][_0x2bb883(0x24d)](_0x1c0f4d(this[_0x2bb883(0x9d)]))[_0x2bb883(0xa6)](_0x206cbf=>{const _0x4f1948=_0x2bb883,_0x5eb99e=_0x206cbf[_0x4f1948(0x213)];_0x5eb99e===_0x3e60bd[_0x4f1948(0x237)]&&this[_0x4f1948(0x173)](_0x206cbf),_0x5eb99e===_0x3e60bd[_0x4f1948(0x1be)]&&this[_0x4f1948(0x89)](_0x206cbf);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2bb883(0x1fc)][_0x2bb883(0xda)](_0x3f85c3=>{const _0x53a6ea=_0x2bb883;if(this[_0x53a6ea(0x24f)]&&_0x3f85c3['id']===_0x556967['id']&&_0x3f85c3[_0x53a6ea(0x1f0)][_0x53a6ea(0x1fa)]===this[_0x53a6ea(0xb4)]){const _0x4182fc=_0x3f85c3['params'];this[_0x53a6ea(0x7c)](_0x4182fc[_0x53a6ea(0x98)],_0x4182fc[_0x53a6ea(0x117)][0x0]);}})));}['_onCursorUpdate'](_0x56926f){const _0x3ef7aa=_0x23ff9b;var _0x423ff4,_0x4c598e;const {memberID:_0x370e7d,selection:_0x4adb25}=_0x56926f[_0x3ef7aa(0x1d7)],{sheetName:_0x2bd0b4,range:_0x491f5b}=_0xac2669(_0x4adb25),_0x20d2c1={'name':(_0x4c598e=(_0x423ff4=this['_memberService'][_0x3ef7aa(0x1ce)](this['unitID'],_0x370e7d))==null?void 0x0:_0x423ff4[_0x3ef7aa(0x194)])!=null?_0x4c598e:_0x3ef7aa(0x18a),'range':this[_0x3ef7aa(0x12d)](_0x2bd0b4,_0x491f5b),'sheetID':_0x2bd0b4,'color':this['_colorAssignService'][_0x3ef7aa(0x15d)](_0x370e7d),'selection':_0x4adb25},_0x190278=this[_0x3ef7aa(0x185)];_0x190278['set'](_0x370e7d,_0x20d2c1),this[_0x3ef7aa(0x8f)]['next'](_0x190278);}['_onCursorDelete'](_0x49133b){const _0x1a87e7=_0x23ff9b,{memberID:_0x3dc14b}=_0x49133b[_0x1a87e7(0x1d7)],_0x54818d=this[_0x1a87e7(0x185)];_0x54818d['delete'](_0x3dc14b),this[_0x1a87e7(0x8f)]['next'](_0x54818d);}[_0x23ff9b(0x12d)](_0x2fdd6f,_0x5b1eae){const _0x26d6a3=_0x23ff9b;var _0x549e30,_0x4f19d0;const _0x51cd9a=(_0x4f19d0=(_0x549e30=this[_0x26d6a3(0x1cd)][_0x26d6a3(0xd8)](this['unitID']))==null?void 0x0:_0x549e30['getSheetBySheetId'](_0x2fdd6f))==null?void 0x0:_0x4f19d0[_0x26d6a3(0x21c)]();return(_0x51cd9a==null?void 0x0:_0x51cd9a[_0x26d6a3(0x264)](_0x3a16c8=>_0x37b674['contains'](_0x3a16c8,_0x5b1eae)))||_0x5b1eae;}[_0x23ff9b(0x198)](){const _0x5e5aef=_0x23ff9b,_0x4734f1=new _0x5c60c1(),_0x55bd57=Ci(),_0x243f78=()=>{const _0x20b145=_0x4b78;_0x4734f1[_0x20b145(0x244)]();const _0x5730f7=(_0xabc745,_0x13d08c,_0x13522b,_0x487efc)=>{const _0x540ece=_0x20b145;let _0x2be3cc=[];switch(_0xabc745['id']){case _0x55d3b7['DeleteRangeMoveLeftCommandId']:{_0x2be3cc=_0x300843(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x157)]:{_0x2be3cc=_0x27968f(_0xabc745,_0x487efc);break;}case _0x55d3b7['InsertColCommandId']:{_0x2be3cc=_0x5051d8(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x79)]:{_0x2be3cc=_0x94f7f0(_0xabc745,_0x487efc);break;}case _0x55d3b7['InsertRangeMoveRightCommandId']:{_0x2be3cc=_0x37251f(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x1bf)]:{_0x2be3cc=_0x1f4dfe(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x13f)]:{_0x2be3cc=_0x5e7e62(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x255)]:{_0x2be3cc=_0x4c91ca(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0xa3)]:{_0x2be3cc=_0xa7c699(_0xabc745,_0x487efc);break;}}const _0x2d3d95=_0x279240(_0x2be3cc,_0x487efc),_0x1a1e32=this['cursorInfo'][_0x540ece(0xe1)](_0x13d08c);if(_0x1a1e32&&_0x2d3d95){const _0x4d8b4e={..._0x1a1e32,'range':_0x2d3d95};this['cursorInfo'][_0x540ece(0x144)](_0x13d08c,_0x4d8b4e),_0x55bd57(()=>{const _0xb6523b=_0x540ece,_0x42767b=this[_0xb6523b(0x12b)][_0xb6523b(0xf2)](_0x2d3d95,_0x2f0e66=>(_0x42767b['dispose'](),_0x5730f7(_0x2f0e66,_0x13d08c,_0x13522b,_0x2d3d95)));_0x4734f1['add'](_0x42767b);});}return{'redos':[],'undos':[]};};this[_0x20b145(0x185)][_0x20b145(0x222)]((_0x4468fc,_0xb56eb5)=>{const _0x535b80=_0x20b145,{range:_0x41278d,sheetID:_0x6c542a}=_0x4468fc,_0x3353bb=this['_refRangeService'][_0x535b80(0xf2)](_0x41278d,_0x359ac5=>(_0x3353bb['dispose'](),_0x5730f7(_0x359ac5,_0xb56eb5,_0x6c542a,_0x41278d)));_0x4734f1['add'](_0x3353bb);});};this[_0x5e5aef(0x20c)](_0x1a3234(this[_0x5e5aef(0x8f)][_0x5e5aef(0xa6)](()=>{_0x243f78();})));}[_0x23ff9b(0xee)](){const _0x3fc34e=_0x23ff9b;var _0x132142,_0x315d1e;if(this['_online']=!0x0,((_0x132142=this[_0x3fc34e(0x1cd)]['getFocusedUnit']())==null?void 0x0:_0x132142[_0x3fc34e(0x15b)]())!==this[_0x3fc34e(0xb4)])return;const _0x328223=(_0x315d1e=this[_0x3fc34e(0x25e)][_0x3fc34e(0xe1)](_0x278c4e)[_0x3fc34e(0x190)]())==null?void 0x0:_0x315d1e[0x0],_0x24e404=this[_0x3fc34e(0x1cd)]['getCurrentUnitForType'](_0x149593[_0x3fc34e(0x73)])[_0x3fc34e(0x1b4)]();_0x328223&&_0x24e404&&this[_0x3fc34e(0x7c)](_0x24e404[_0x3fc34e(0x1b2)](),_0x328223);}[_0x23ff9b(0x1b8)](){const _0x2b54b0=_0x23ff9b;this[_0x2b54b0(0x24f)]=!0x1;}};we=vi([x(0x2,_0xd50dcd(_0x8ce219)),x(0x3,_0xd50dcd(He)),x(0x4,_0xd50dcd(_0x1e6aed)),x(0x5,_0x1c8a5a),x(0x6,_0x53b5ba),x(0x7,_0xd50dcd(_0x28bb15))],we);var bi=Object[_0x23ff9b(0xe8)],Ei=(_0x44f815,_0xea8596,_0x322c01,_0x3af2a2)=>{const _0x469128=_0x23ff9b;for(var _0x53161b=_0x3af2a2>0x1?void 0x0:_0x3af2a2?bi(_0xea8596,_0x322c01):_0xea8596,_0x55d640=_0x44f815[_0x469128(0x1f4)]-0x1,_0x3abfa3;_0x55d640>=0x0;_0x55d640--)(_0x3abfa3=_0x44f815[_0x55d640])&&(_0x53161b=_0x3abfa3(_0x53161b)||_0x53161b);return _0x53161b;},me=(_0xe0b36,_0x860ad3)=>(_0x2cd425,_0x3c202f)=>_0x860ad3(_0x2cd425,_0x3c202f,_0xe0b36);let H=class extends _0x1fd355{constructor(_0x3a5837,_0x471a79,_0xc20e2c){const _0x1c9c8=_0x23ff9b;super(),h(this,'_entities',new Map()),h(this,'_entityInit$',new _0x10a984()),(this[_0x1c9c8(0x1cd)]=_0x3a5837,this[_0x1c9c8(0x25e)]=_0x471a79,this[_0x1c9c8(0x22d)]=_0xc20e2c,this[_0x1c9c8(0x16f)]());}[_0x23ff9b(0x244)](){const _0x17b1cd=_0x23ff9b;super[_0x17b1cd(0x244)](),this[_0x17b1cd(0x233)][_0x17b1cd(0x25c)](),this['_entities'][_0x17b1cd(0x222)](_0x570866=>_0x570866['dispose']());}[_0x23ff9b(0x14e)](_0x5d8c75){const _0x8c0d3d=_0x23ff9b;return this[_0x8c0d3d(0xc8)][_0x8c0d3d(0x232)](_0x5d8c75)?this[_0x8c0d3d(0xc8)][_0x8c0d3d(0xe1)](_0x5d8c75)[_0x8c0d3d(0x13a)]:this[_0x8c0d3d(0x233)][_0x8c0d3d(0x24d)](_0x1d88bc(_0x5ce0dd=>_0x5ce0dd[_0x8c0d3d(0xb4)]===_0x5d8c75),_0x13c98e(_0x82073c=>_0x82073c['cursorInfo$']));}['_init'](){const _0x451972=_0x23ff9b;this[_0x451972(0x1cd)][_0x451972(0x1c5)](_0x149593[_0x451972(0x73)])[_0x451972(0x24d)](_0x1c0f4d(this[_0x451972(0x9d)]))[_0x451972(0xa6)](async _0x437148=>{const _0x426915=_0x451972,_0x3761ba=_0x437148['getUnitId'](),_0x2ac7a7=await this[_0x426915(0xfc)](_0x3761ba);this[_0x426915(0x233)][_0x426915(0x1ec)](_0x2ac7a7),this['_entities'][_0x426915(0x144)](_0x3761ba,_0x2ac7a7);}),this[_0x451972(0x1cd)][_0x451972(0x1c5)](_0x149593[_0x451972(0x25f)])[_0x451972(0x24d)](_0x1c0f4d(this[_0x451972(0x9d)]))[_0x451972(0x24d)](_0x1d88bc(_0x2b0087=>!_0x2b0087[_0x451972(0x15b)]()[_0x451972(0x7e)]('__')))[_0x451972(0xa6)](async _0x973cd4=>{const _0x3f77f2=_0x451972,_0x5b0b71=_0x973cd4['getUnitId'](),_0x2202e2=await this[_0x3f77f2(0xec)](_0x5b0b71);this['_entityInit$']['next'](_0x2202e2),this[_0x3f77f2(0xc8)]['set'](_0x5b0b71,_0x2202e2);}),_0x5219b5(this[_0x451972(0x1cd)]['getTypeOfUnitDisposed$'](_0x149593[_0x451972(0x25f)]),this[_0x451972(0x1cd)][_0x451972(0x120)](_0x149593['UNIVER_SHEET']))[_0x451972(0x24d)](_0x1c0f4d(this['dispose$']))[_0x451972(0xa6)](_0x4a71c8=>{const _0x59db02=_0x451972,_0x5cfb19=_0x4a71c8[_0x59db02(0x15b)](),_0x227d10=this['_entities'][_0x59db02(0xe1)](_0x5cfb19);_0x227d10&&(_0x227d10[_0x59db02(0x244)](),this[_0x59db02(0xc8)][_0x59db02(0x223)](_0x5cfb19));});}async[_0x23ff9b(0xfc)](_0x286ca2){const _0x18296e=_0x23ff9b,_0x275166=await this[_0x18296e(0x22d)][_0x18296e(0xf6)](_0x286ca2),_0xb6a1b1=this['_injector']['createInstance'](we,_0x286ca2,_0x275166);return _0xb6a1b1[_0x18296e(0x25b)](),_0xb6a1b1;}async['_startDocCollabCursor'](_0x54dfb1){const _0x19600d=_0x23ff9b,_0x4cbc1d=await this[_0x19600d(0x22d)]['requireSession'](_0x54dfb1),_0x1c28ad=this[_0x19600d(0x25e)][_0x19600d(0x1ab)](Ne,_0x54dfb1,_0x4cbc1d);return _0x1c28ad[_0x19600d(0x25b)](),_0x1c28ad;}};H=Ei([me(0x0,_0x1c8a5a),me(0x1,_0xd50dcd(_0x8ce219)),me(0x2,_0xd50dcd(_0xce6fa8))],H);const te=0x14,Qe=0xc8,ge=0x4,Oi=0x5;function Ti(_0x25b35f,_0xf88c78){const _0x31c8be=_0x23ff9b;let {radius:_0x3ece06,width:_0x10d038,height:_0x3d3f20}=_0xf88c78;_0x3ece06=_0x3ece06!=null?_0x3ece06:0x0,_0x10d038=_0x10d038!=null?_0x10d038:0x1e,_0x3d3f20=_0x3d3f20!=null?_0x3d3f20:0x1e;let _0x4f4db7=0x0,_0xa2b181=0x0,_0x17e51b=0x0;_0x4f4db7=_0xa2b181=_0x17e51b=Math[_0x31c8be(0x1ba)](_0x3ece06,_0x10d038/0x2,_0x3d3f20/0x2),_0x25b35f[_0x31c8be(0xf8)](),_0x25b35f[_0x31c8be(0x1eb)](_0x4f4db7,0x0),_0x25b35f[_0x31c8be(0x1c8)](_0x10d038-_0xa2b181,0x0),_0x25b35f[_0x31c8be(0x229)](_0x10d038-_0xa2b181,_0xa2b181,_0xa2b181,Math['PI']*0x3/0x2,0x0,!0x1),_0x25b35f[_0x31c8be(0x1c8)](_0x10d038,_0x3d3f20-_0x17e51b),_0x25b35f[_0x31c8be(0x229)](_0x10d038-_0x17e51b,_0x3d3f20-_0x17e51b,_0x17e51b,0x0,Math['PI']/0x2,!0x1),_0x25b35f[_0x31c8be(0x1c8)](0x0,_0x3d3f20),_0x25b35f[_0x31c8be(0x1c8)](0x0,_0x4f4db7),_0x25b35f[_0x31c8be(0x229)](_0x4f4db7,_0x4f4db7,_0x4f4db7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x25b35f[_0x31c8be(0x1e9)](),_0xf88c78[_0x31c8be(0x107)]&&(_0x25b35f['save'](),_0x25b35f['fillStyle']=_0xf88c78['fill'],_0xf88c78[_0x31c8be(0x25d)]===_0x31c8be(0xae)?_0x25b35f['fill'](_0x31c8be(0xae)):_0x25b35f[_0x31c8be(0x107)](),_0x25b35f['restore']());}class ue extends _0x14aaa8{constructor(_0x3f4573,_0x2909c1){const _0x123e07=_0x23ff9b;super(_0x3f4573,_0x2909c1),h(this,'color'),h(this,_0x123e07(0x9b)),(this[_0x123e07(0x104)]=_0x2909c1==null?void 0x0:_0x2909c1[_0x123e07(0x104)],this[_0x123e07(0x9b)]=_0x2909c1==null?void 0x0:_0x2909c1['text']);}static['drawWith'](_0x106848,_0x37cc5b){const _0x1239ed=_0x23ff9b,{text:_0x94f4ba,color:_0x59f4f1}=_0x37cc5b;_0x106848[_0x1239ed(0xd4)](),_0x106848[_0x1239ed(0xa8)]=_0x1239ed(0x1fe);const _0x2cc39e=_0x106848[_0x1239ed(0xfe)](_0x94f4ba)['width'],_0x29e9eb=Math[_0x1239ed(0x1ba)](_0x2cc39e+0x2*ge,Qe);Ti(_0x106848,{'height':te,'radius':0x4,'width':_0x29e9eb,'fill':_0x59f4f1}),_0x106848['fillStyle']=_0x1239ed(0xcc);const _0x7828a0=ge,_0x16c19e=te-Oi,_0x253439=Qe-0x2*ge;if(_0x2cc39e>_0x253439){let _0x8393f8='',_0xd7c83a=0x0;for(const _0x5d3435 of _0x94f4ba){const _0x4be9a3=_0x106848[_0x1239ed(0xfe)](_0x5d3435)[_0x1239ed(0x20f)];if(_0xd7c83a+_0x4be9a3<=_0x253439-_0x106848[_0x1239ed(0xfe)](_0x1239ed(0x192))[_0x1239ed(0x20f)])_0x8393f8+=_0x5d3435,_0xd7c83a+=_0x4be9a3;else{_0x8393f8+=_0x1239ed(0x192);break;}}_0x106848[_0x1239ed(0x18c)](_0x8393f8,_0x7828a0,_0x16c19e);}else _0x106848[_0x1239ed(0x18c)](_0x94f4ba,_0x7828a0,_0x16c19e);_0x106848[_0x1239ed(0x240)]();}[_0x23ff9b(0x1ad)](_0x19b1db){const _0xe02971=_0x23ff9b;ue[_0xe02971(0xea)](_0x19b1db,this);}}const ve=_0x23ff9b(0x23a),Ri=_0x23ff9b(0x152),Di=_0x23ff9b(0x214),V=0x6,Pi=1.5,Ie=0x4,Mi=1.5,Ni=_0x23ff9b(0x188);class et{constructor(_0x253a6c,_0x5e83b3,_0x3f30ab,_0x187207){const _0x2366ab=_0x23ff9b;h(this,'_shapes',[]),h(this,_0x2366ab(0x82),null),h(this,_0x2366ab(0x247),null),h(this,'_anchorDot',null),h(this,_0x2366ab(0x23f),null),h(this,_0x2366ab(0x1e8),null),(this[_0x2366ab(0xaf)]=_0x253a6c,this[_0x2366ab(0x224)]=_0x5e83b3,this[_0x2366ab(0x230)]=_0x3f30ab,this['_document']=_0x187207,this[_0x2366ab(0x1df)]());}set[_0x23ff9b(0x25a)](_0x4936a2){const _0x426508=_0x23ff9b;_0x4936a2?(this['_anchorDot']&&this[_0x426508(0xb6)][_0x426508(0x138)](),this[_0x426508(0x247)]&&this['_textBubble'][_0x426508(0x11e)]()):(this[_0x426508(0xb6)]&&this[_0x426508(0xb6)][_0x426508(0x11e)](),this[_0x426508(0x247)]&&this['_textBubble']['hide']());}['dispose'](){const _0x36100e=_0x23ff9b;for(const _0x341fa7 of this[_0x36100e(0x10a)])_0x341fa7[_0x36100e(0x244)]();this[_0x36100e(0x247)]&&this[_0x36100e(0x247)][_0x36100e(0x244)](),this['_anchorDot']&&this[_0x36100e(0xb6)][_0x36100e(0x244)](),this[_0x36100e(0x82)]&&this[_0x36100e(0x82)][_0x36100e(0x244)](),this[_0x36100e(0x1e8)]&&this['_eventUnsubscribe']();}[_0x23ff9b(0x1df)](){const _0x50c62c=_0x23ff9b;var _0x5aa70b;const {_docSkeleton:_0x5cd3c6,_document:_0xed715a}=this,{color:_0x413bf5,name:_0xfed329,ranges:_0x1e6d36}=this[_0x50c62c(0xaf)],_0x4ed3c1=_0xed715a[_0x50c62c(0x172)](),{docsLeft:_0x2df656,docsTop:_0x5edcbc}=_0x4ed3c1,_0x2dd21e=new _0x176d42(_0x4ed3c1,_0x5cd3c6);for(const {startOffset:_0x19e45b,endOffset:_0x18c9ac,rangeType:_0xd49ef,segmentId:_0x58fb2f,segmentPage:_0x349ee6,collapsed:_0x315209,isActive:_0x40b981}of _0x1e6d36){const _0x4bef3a=_0x5cd3c6[_0x50c62c(0x221)](_0x19e45b,!0x0,_0x58fb2f,_0x349ee6);let _0x5e2039=_0x5cd3c6[_0x50c62c(0x221)](_0x18c9ac,!0x0,_0x58fb2f,_0x349ee6);if(_0x5e2039==null&&(_0x5e2039=_0x5cd3c6['findNodePositionByCharIndex'](_0x18c9ac-0x1,!0x1,_0x58fb2f,_0x349ee6)),_0x40b981){const {contentBoxPointGroup:_0x217641}=_0x2dd21e[_0x50c62c(0x133)](_0x5e2039,_0x5e2039);if(_0x217641[_0x50c62c(0x1f4)]===0x0)continue;this[_0x50c62c(0x220)](_0x413bf5,_0x217641,_0x2df656,_0x5edcbc,_0xfed329),this['_eventUnsubscribe']=this[_0x50c62c(0x95)]();}if(_0x4bef3a&&_0x5e2039){if(_0xd49ef===_0x33c34c['RECT']){const _0x230dc0=new _0x37153b(_0x4ed3c1,_0x5cd3c6),{pointGroup:_0x499276}=(_0x5aa70b=_0x230dc0[_0x50c62c(0x133)](_0x4bef3a,_0x5e2039))!=null?_0x5aa70b:{};if(_0x499276==null||_0x499276[_0x50c62c(0x1f4)]===0x0)continue;this[_0x50c62c(0x101)](_0x413bf5,_0x499276,_0x2df656,_0x5edcbc);}else{if(!_0x315209){const {borderBoxPointGroup:_0x5dc8b2}=_0x2dd21e[_0x50c62c(0x133)](_0x4bef3a,_0x5e2039);if(_0x5dc8b2['length']===0x0)continue;this[_0x50c62c(0x182)](_0x413bf5,_0x5dc8b2,_0x2df656,_0x5edcbc);}}}}}[_0x23ff9b(0x220)](_0x558eee,_0x230b16,_0xf248f4,_0x393e2e,_0x2e4ce2){const _0x35ebce=_0x23ff9b,_0x24bfb2=this[_0x35ebce(0x251)](_0x230b16),{left:_0x534eea,top:_0x13e8ad,height:_0x51cd23}=_0x24bfb2,_0x1dec6d=this[_0x35ebce(0x103)](),_0x2f5e78=Mi/_0x1dec6d,_0x410c28=new _0x1e54b6(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e,'height':_0x51cd23,'width':Pi,'fill':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'strokeWidth':_0x2f5e78,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x410c28,this['_scene'][_0x35ebce(0x11f)](_0x410c28,_0x427468);const _0x2f80c8=new _0x1e54b6(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'strokeWidth':0x0,'stroke':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'evented':!0x1});this[_0x35ebce(0xb6)]=_0x2f80c8,this[_0x35ebce(0x224)][_0x35ebce(0x11f)](_0x2f80c8,_0x427468);const _0xf1ab00=new ue(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e-te,'text':_0x2e4ce2,'color':_0x558eee});this[_0x35ebce(0x247)]=_0xf1ab00,this[_0x35ebce(0x224)][_0x35ebce(0x11f)](_0xf1ab00,_0x427468),this['_hover']=!0x1;}['_handleHover'](){const _0x221555=_0x23ff9b,_0x1a26ae=this['_anchor'][_0x221555(0x83)][_0x221555(0x161)](()=>{const _0x35953b=_0x221555;this[_0x35953b(0x25a)]=!0x0;}),_0xf28020=this[_0x221555(0x82)][_0x221555(0x92)][_0x221555(0x161)](()=>{const _0x1800e0=_0x221555;this[_0x1800e0(0x23f)]&&clearTimeout(this['_hideTimer']),this[_0x1800e0(0x23f)]=setTimeout(()=>{const _0x2e679e=_0x1800e0;this[_0x2e679e(0x25a)]=!0x1;},0x7d0);});return()=>{const _0x5e43e5=_0x221555;_0x1a26ae[_0x5e43e5(0x128)](),_0xf28020[_0x5e43e5(0x128)]();};}[_0x23ff9b(0x182)](_0x375779,_0x5c410f,_0x1d2d72,_0x4fff56){const _0x2cdefd=_0x23ff9b,_0x15c75e=new _0x156116(_0x375779)[_0x2cdefd(0xd9)](0.2)[_0x2cdefd(0x164)](),_0xd09668=new _0x10e032(Ri+_0x51080d[_0x2cdefd(0x1d4)](V),{'pointsGroup':_0x5c410f,'fill':_0x15c75e||_0x4cfbce(_0x4c2b95[_0x2cdefd(0x201)],0.2),'left':_0x1d2d72,'top':_0x4fff56,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cdefd(0x10a)][_0x2cdefd(0x8e)](_0xd09668),this['_scene'][_0x2cdefd(0x11f)](_0xd09668,_0x427468);}[_0x23ff9b(0x101)](_0xd8727c,_0x996cb7,_0x12eb03,_0x38c0d0){const _0x1f4f3d=_0x23ff9b,_0x32976f=new _0x156116(_0xd8727c)[_0x1f4f3d(0xd9)](0.2)[_0x1f4f3d(0x164)](),_0x457721=new _0x10e032(Di+_0x51080d[_0x1f4f3d(0x1d4)](V),{'pointsGroup':_0x996cb7,'fill':_0x32976f||_0x4cfbce(_0x4c2b95[_0x1f4f3d(0x201)],0.2),'left':_0x12eb03,'top':_0x38c0d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f4f3d(0x10a)][_0x1f4f3d(0x8e)](_0x457721),this[_0x1f4f3d(0x224)][_0x1f4f3d(0x11f)](_0x457721,_0x427468);}[_0x23ff9b(0x251)](_0x14d95c){const _0x168125=_0x14d95c[0x0],_0x1d9e38=_0x168125[0x0],_0x4284bf=_0x168125[0x2],{x:_0x145357,y:_0x10e2a6}=_0x1d9e38,{x:_0x33de53,y:_0x23d91f}=_0x4284bf;return{'left':_0x145357,'top':_0x10e2a6,'width':_0x33de53-_0x145357,'height':_0x23d91f-_0x10e2a6};}[_0x23ff9b(0x103)](){const _0x46b211=_0x23ff9b,{scaleX:_0xe1753c,scaleY:_0x49a5f1}=this[_0x46b211(0x224)][_0x46b211(0x1a9)]();return Math['max'](_0xe1753c,_0x49a5f1);}}var wi=Object['getOwnPropertyDescriptor'],Ui=(_0x2e2d46,_0x10711a,_0x2c71cc,_0x1426fb)=>{const _0x5b7df5=_0x23ff9b;for(var _0x3adf03=_0x1426fb>0x1?void 0x0:_0x1426fb?wi(_0x10711a,_0x2c71cc):_0x10711a,_0x3ea86c=_0x2e2d46[_0x5b7df5(0x1f4)]-0x1,_0x11db31;_0x3ea86c>=0x0;_0x3ea86c--)(_0x11db31=_0x2e2d46[_0x3ea86c])&&(_0x3adf03=_0x11db31(_0x3adf03)||_0x3adf03);return _0x3adf03;},q=(_0x34b3a5,_0xcf2c47)=>(_0x3d4a09,_0x28b9d9)=>_0xcf2c47(_0x3d4a09,_0x28b9d9,_0x34b3a5);let Ue=class extends _0x1fd355{constructor(_0x7dfcba,_0x5032fa,_0x353154,_0x3e528f,_0x3708bf){const _0xd551e2=_0x23ff9b;super(),h(this,_0xd551e2(0x105),[]),h(this,_0xd551e2(0x10e),[]),(this[_0xd551e2(0x189)]=_0x7dfcba,this['_docSkeletonManagerService']=_0x5032fa,this[_0xd551e2(0x15e)]=_0x353154,this[_0xd551e2(0x1fc)]=_0x3e528f,this[_0xd551e2(0x11b)]=_0x3708bf,this[_0xd551e2(0x16f)]());}[_0x23ff9b(0x16f)](){const _0x532b31=_0x23ff9b,_0x3b90c6=this[_0x532b31(0x189)][_0x532b31(0x1fa)],_0x2d113b=this[_0x532b31(0xf9)];this[_0x532b31(0x20c)](_0x1e76ec([this[_0x532b31(0x15e)]['getCollabCursors$'](_0x3b90c6),this[_0x532b31(0x11b)][_0x532b31(0x8b)]])[_0x532b31(0x24d)](_0x3e2a29(([_0x9168fa,_0x2b08cf])=>({'skeleton':_0x2d113b[_0x532b31(0x180)](),'cursors':[..._0x9168fa[_0x532b31(0x196)]()]['flatMap'](_0x44c0b5=>({..._0x44c0b5,'color':_0x2b08cf[_0x44c0b5[_0x532b31(0x104)]]}))})))[_0x532b31(0xa6)](_0x48b793=>{const _0x3f2276=_0x532b31;if(this[_0x3f2276(0x23b)](),_0x48b793){const {skeleton:_0x44cc08,cursors:_0x1cf3a8}=_0x48b793;this[_0x3f2276(0xc0)](_0x44cc08,_0x1cf3a8);}})),this['_initResize'](),this[_0x532b31(0x121)]();}[_0x23ff9b(0xc0)](_0x5ebd4e,_0xceb71a){const _0xadd4e=_0x23ff9b,{scene:_0x196092,mainComponent:_0x132017}=this['_context'],_0x4a0ec0=_0xceb71a['map'](_0x79be9b=>new et(_0x79be9b,_0x196092,_0x5ebd4e,_0x132017));this['_cursorShapes']=_0x4a0ec0,this[_0xadd4e(0x10e)]=_0xceb71a;}['_refreshCollabCursors'](){const _0x22834e=_0x23ff9b;this[_0x22834e(0x23b)]();const {scene:_0x5c84fc,mainComponent:_0x51a4e9}=this[_0x22834e(0x189)],_0x517e68=this[_0x22834e(0xf9)][_0x22834e(0x180)](),_0x63d4a7=this[_0x22834e(0x10e)][_0x22834e(0x1c0)](_0x348da7=>new et(_0x348da7,_0x5c84fc,_0x517e68,_0x51a4e9));this[_0x22834e(0x105)]=_0x63d4a7;}[_0x23ff9b(0x23b)](){const _0x31fa2=_0x23ff9b;this[_0x31fa2(0x105)][_0x31fa2(0x222)](_0x5327e8=>_0x5327e8[_0x31fa2(0x244)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x4ca9b6=_0x23ff9b,_0x17a78e=[_0x18c470['id']];this[_0x4ca9b6(0x20c)](this['_commandService'][_0x4ca9b6(0xda)](_0x2373a4=>{const _0x4961b6=_0x4ca9b6;_0x17a78e[_0x4961b6(0xa2)](_0x2373a4['id'])&&_0x2373a4['params'][_0x4961b6(0x1fa)]===this[_0x4961b6(0x189)][_0x4961b6(0x1fa)]&&this[_0x4961b6(0x1a0)]();}));}['_initResize'](){const _0x1d957c=_0x23ff9b;this[_0x1d957c(0x20c)](_0x10720b(this[_0x1d957c(0x189)][_0x1d957c(0x160)][_0x1d957c(0xa7)])[_0x1d957c(0x24d)](_0x3df35f(_0x11c24a=>_0x11c24a[_0x1d957c(0x239)]===_0x46db6b['resize']),_0x56e452(0x10))[_0x1d957c(0xa6)](()=>{const _0xcbac70=_0x1d957c;this[_0xcbac70(0x1a0)]();}));}};Ue=Ui([q(0x1,_0xd50dcd(_0x56c1b1)),q(0x2,_0xd50dcd(H)),q(0x3,_0x53b5ba),q(0x4,_0xd50dcd(_0x22b1c4))],Ue);const Li=0x1,Ai=1.5;class yi extends _0x14aaa8{constructor(_0x57a033,_0x3d4486){const _0x50a478=_0x23ff9b;super(_0x57a033,_0x3d4486),h(this,_0x50a478(0x208)),h(this,_0x50a478(0xc3),!0x1),h(this,_0x50a478(0x24b)),h(this,_0x50a478(0x216),''),h(this,_0x50a478(0x113),_0x50a478(0x81)),h(this,_0x50a478(0x167)),(_0x3d4486&&this[_0x50a478(0x142)](_0x3d4486),this[_0x50a478(0x83)][_0x50a478(0x161)](()=>this[_0x50a478(0x142)]({'hovered':!0x0})),this[_0x50a478(0x92)][_0x50a478(0x161)](()=>this[_0x50a478(0x142)]({'hovered':!0x1})));}[_0x23ff9b(0x142)](_0x3f0cb5){const _0x508b23=_0x23ff9b;var _0x33d801,_0x6377f6,_0x4d4be7,_0x19598f,_0xb446e1,_0x35839f;this[_0x508b23(0x208)]=(_0x33d801=_0x3f0cb5[_0x508b23(0x104)])!=null?_0x33d801:this['_color'],this[_0x508b23(0xc3)]=(_0x6377f6=_0x3f0cb5[_0x508b23(0xc4)])!=null?_0x6377f6:this[_0x508b23(0xc3)],this[_0x508b23(0x24b)]=(_0x4d4be7=_0x3f0cb5[_0x508b23(0xdf)])!=null?_0x4d4be7:this[_0x508b23(0x24b)],this[_0x508b23(0x216)]=(_0x19598f=_0x3f0cb5[_0x508b23(0x194)])!=null?_0x19598f:this[_0x508b23(0x216)],this[_0x508b23(0x113)]=(_0xb446e1=_0x3f0cb5['labelPosition'])!=null?_0xb446e1:this[_0x508b23(0x113)],this[_0x508b23(0x167)]=(_0x35839f=_0x3f0cb5['backgroundColor'])!=null?_0x35839f:this[_0x508b23(0x167)],this['transformByState']({'width':_0x3f0cb5[_0x508b23(0x20f)],'height':_0x3f0cb5[_0x508b23(0x1d9)]});}[_0x23ff9b(0xdd)](_0x27d44a){const _0x518664=_0x23ff9b,{row:_0x12cc8c,column:_0x223ea3}=_0x27d44a;if(_0x12cc8c>=this['_range'][_0x518664(0x1cc)]&&_0x12cc8c<=this[_0x518664(0x24b)]['endRow']&&_0x223ea3>=this['_range'][_0x518664(0x1b0)]&&_0x223ea3<=this[_0x518664(0x24b)][_0x518664(0x257)]){this[_0x518664(0x142)]({'hovered':!0x0});return;}this[_0x518664(0x142)]({'hovered':!0x1});}[_0x23ff9b(0x184)](_0x140080){return!0x1;}['_draw'](_0x12b0d8){const _0x360a59=_0x23ff9b;_0x1e54b6[_0x360a59(0xea)](_0x12b0d8,{'width':this[_0x360a59(0x20f)],'height':this[_0x360a59(0x1d9)],'strokeWidth':Ai,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x360a59(0x167)]}),this['_hovered']&&(_0x12b0d8['save'](),_0x12b0d8[_0x360a59(0x126)](0x1,0x0,0x0,0x1,this[_0x360a59(0x20f)],this[_0x360a59(0x113)]===_0x360a59(0x146)?0x0:-0x14),ue['drawWith'](_0x12b0d8,{'text':this[_0x360a59(0x216)],'color':this[_0x360a59(0x208)]}),_0x12b0d8[_0x360a59(0x240)]());}}var $i=Object[_0x23ff9b(0xe8)],xi=(_0x2ffc20,_0xa823c8,_0x3c6873,_0x453c96)=>{const _0x38386b=_0x23ff9b;for(var _0x5cfd59=_0x453c96>0x1?void 0x0:_0x453c96?$i(_0xa823c8,_0x3c6873):_0xa823c8,_0x221178=_0x2ffc20[_0x38386b(0x1f4)]-0x1,_0x43c498;_0x221178>=0x0;_0x221178--)(_0x43c498=_0x2ffc20[_0x221178])&&(_0x5cfd59=_0x43c498(_0x5cfd59)||_0x5cfd59);return _0x5cfd59;},pe=(_0xdba6b5,_0x4b277a)=>(_0x4d4933,_0x5d0726)=>_0x4b277a(_0x4d4933,_0x5d0726,_0xdba6b5);const ki=0x1389;let Le=class extends _0x1fd355{constructor(_0x1816a1,_0x2532b8,_0x35745e,_0x34110a){const _0x24eb7f=_0x23ff9b;super(),h(this,_0x24eb7f(0x10e),new Set()),h(this,_0x24eb7f(0x12c),null),(this[_0x24eb7f(0x189)]=_0x1816a1,this[_0x24eb7f(0xb1)]=_0x2532b8,this[_0x24eb7f(0x15e)]=_0x35745e,this[_0x24eb7f(0x11b)]=_0x34110a,this['_init']());}[_0x23ff9b(0x16f)](){const _0x459f67=_0x23ff9b;this[_0x459f67(0xb1)][_0x459f67(0xcd)][_0x459f67(0x24d)](_0x368f80(this[_0x459f67(0x9d)]),_0x563ac8(_0x227c1d=>{const _0x71149=_0x459f67;if(_0x227c1d){const _0xf50a05=_0x227c1d[_0x71149(0x1b9)];return _0x1e76ec(this[_0x71149(0x15e)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x71149(0x8b)])[_0x71149(0x24d)](_0x3e2a29(([_0x3e5196,_0x425bdd])=>{const _0xc3825f=_0x71149,_0x2c9b89=new Map();return _0x3e5196[_0xc3825f(0x222)]((_0x1b4b95,_0x35eea8)=>{const _0x215e6a=_0xc3825f;if(_0x1b4b95['sheetID']===_0xf50a05){const _0x2db8b7={..._0x1b4b95};_0x2db8b7[_0x215e6a(0x104)]=_0x425bdd[_0x1b4b95[_0x215e6a(0x104)]],_0x2c9b89['set'](_0x35eea8,_0x2db8b7);}}),{'skeleton':_0x227c1d,'cursors':_0x2c9b89};}));}return _0x2c084f({'skeleton':null,'cursors':new Map()});}))[_0x459f67(0xa6)](({skeleton:_0x14080c,cursors:_0x3f567a})=>{const _0x1dea6c=_0x459f67;this[_0x1dea6c(0x23b)](),_0x14080c&&this['_updateCollabCursors'](_0x14080c,_0x3f567a);}),this[_0x459f67(0xb1)][_0x459f67(0xcd)][_0x459f67(0xa6)](_0x240257=>{const _0x23bfce=_0x459f67;if(_0x240257==null)return;const {skeleton:_0x5cf193}=_0x240257,{scene:_0x3fcb3e}=this[_0x23bfce(0x189)];_0x3fcb3e[_0x23bfce(0x72)][_0x23bfce(0x161)](_0x243cd5(_0x5e3986=>{const _0x535923=_0x23bfce;var _0x406acb,_0x4bca0f;const {offsetX:_0x214517,offsetY:_0x5df8dc}=_0x5e3986,{x:_0x4b536b,y:_0x119aaf}=_0x3fcb3e[_0x535923(0x250)](_0x427e4c['FromArray']([_0x214517,_0x5df8dc])),{scaleX:_0x135b26,scaleY:_0x109bd3}=_0x3fcb3e[_0x535923(0x1a9)](),_0x167ffd=_0x3fcb3e[_0x535923(0xa9)](_0x58b01f['VIEW_MAIN']),_0x4699b6=_0x3fcb3e[_0x535923(0xca)](_0x427e4c['FromArray']([_0x4b536b,_0x119aaf]),_0x167ffd),_0x355464=_0x5cf193[_0x535923(0x10d)](_0x214517,_0x5df8dc,_0x135b26,_0x109bd3,_0x4699b6);((_0x406acb=this['_lastPointer'])==null?void 0x0:_0x406acb[_0x535923(0x193)])===_0x355464[_0x535923(0x193)]&&((_0x4bca0f=this[_0x535923(0x12c)])==null?void 0x0:_0x4bca0f['row'])===_0x355464[_0x535923(0x10c)]||this[_0x535923(0x10e)][_0x535923(0x222)](_0x403201=>{_0x403201['onMouseMove'](_0x355464);});},0x64));});}[_0x23ff9b(0xc0)](_0x46feb0,_0x1189ec){const _0x456ad8=_0x23ff9b;var _0x9377a2;const _0x37be30=(_0x9377a2=this[_0x456ad8(0xb1)][_0x456ad8(0xe0)]())==null?void 0x0:_0x9377a2[_0x456ad8(0x88)];if(!_0x37be30)return;const _0x4a69d3=this['_getSheetObject']();if(!_0x4a69d3)return;this[_0x456ad8(0x10e)][_0x456ad8(0x222)](_0x12302b=>{const _0x23cd7c=_0x456ad8;_0x12302b[_0x23cd7c(0xd3)]();});const {scene:_0x3cbe24}=_0x4a69d3,_0xf144a=Bi(Array[_0x456ad8(0x14d)](_0x1189ec[_0x456ad8(0x196)]()))[_0x456ad8(0x1c0)](_0x2f4cff=>{const _0x4dbdc8=_0x456ad8,{color:_0x112419,range:_0x319f45,name:_0x18545b,selection:_0x45b341,sheetID:_0x27dfcd}=_0x2f4cff,{startColumn:_0x44513a,startRow:_0x186b4d,endColumn:_0x32a40b,endRow:_0x24aa58}=_0x319f45,_0x668310=_0x1e4ed8(_0x186b4d,_0x44513a,_0x3cbe24,_0x37be30),_0x50ffc3=_0x1e4ed8(_0x24aa58,_0x32a40b,_0x3cbe24,_0x37be30),{columnHeaderHeightAndMarginTop:_0x376ef6}=_0x37be30,{startX:_0x245ee3,startY:_0x2f6ed9}=_0x668310,{endX:_0x5e3777,endY:_0x2d08e7}=_0x50ffc3,_0x597206=_0x5e3777-_0x245ee3,_0x2df018=_0x2d08e7-_0x2f6ed9,_0xa444d3={'labelPosition':_0x2f6ed9-_0x376ef6>=te?_0x4dbdc8(0x81):'bottom','sheetID':_0x27dfcd,'range':_0x319f45,'color':_0x112419,'name':_0x18545b,'selection':_0x45b341,'left':_0x245ee3,'top':_0x2f6ed9,'width':_0x597206,'height':_0x2df018,'evented':!0x1,'zIndex':ki};return new yi(_0x18545b,_0xa444d3);});_0x3cbe24[_0x456ad8(0xed)](_0xf144a,Li),this[_0x456ad8(0x10e)]=new Set(_0xf144a);}['_removeCollabCursors'](){const _0x534909=_0x23ff9b;var _0x1b1241;(_0x1b1241=this[_0x534909(0x10e)])==null||_0x1b1241['forEach'](_0x2048f4=>_0x2048f4[_0x534909(0x244)]());}[_0x23ff9b(0x162)](){const _0x3d98c9=_0x23ff9b;return _0x2f4bbe(this[_0x3d98c9(0x189)][_0x3d98c9(0x147)],this['_context']);}};Le=xi([pe(0x1,_0xd50dcd(_0x412f9c)),pe(0x2,_0xd50dcd(H)),pe(0x3,_0xd50dcd(_0x22b1c4))],Le);function Bi(_0x5c9171){const _0x1d3fcb=_0x23ff9b,_0x5259a3=new Map();return _0x5c9171[_0x1d3fcb(0x222)](_0x686eb9=>{const _0x3c9eb9=_0x1d3fcb;if(_0x5259a3[_0x3c9eb9(0x232)](_0x686eb9['selection'])){const _0x3b4024=_0x5259a3[_0x3c9eb9(0xe1)](_0x686eb9[_0x3c9eb9(0x254)]);_0x3b4024['name']+=',\x20'+_0x686eb9['name'];}else _0x5259a3[_0x3c9eb9(0x144)](_0x686eb9[_0x3c9eb9(0x254)],_0x686eb9);}),Array['from'](_0x5259a3['values']());}var I=function(){const _0x2ed486=_0x23ff9b;return I=Object[_0x2ed486(0x118)]||function(_0x130878){const _0xa42c91=_0x2ed486;for(var _0x5dfbe2,_0x4f647e=0x1,_0x1e45d8=arguments['length'];_0x4f647e<_0x1e45d8;_0x4f647e++){_0x5dfbe2=arguments[_0x4f647e];for(var _0x25b4f3 in _0x5dfbe2)Object[_0xa42c91(0x1b3)][_0xa42c91(0x215)][_0xa42c91(0x26d)](_0x5dfbe2,_0x25b4f3)&&(_0x130878[_0x25b4f3]=_0x5dfbe2[_0x25b4f3]);}return _0x130878;},I[_0x2ed486(0x1af)](this,arguments);},Hi=function(_0x1ad8a4,_0x4fb76e){const _0x41276d=_0x23ff9b;var _0x58c119={};for(var _0x1ce235 in _0x1ad8a4)Object[_0x41276d(0x1b3)][_0x41276d(0x215)]['call'](_0x1ad8a4,_0x1ce235)&&_0x4fb76e[_0x41276d(0x231)](_0x1ce235)<0x0&&(_0x58c119[_0x1ce235]=_0x1ad8a4[_0x1ce235]);if(_0x1ad8a4!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3a3c0c=0x0,_0x1ce235=Object[_0x41276d(0xe2)](_0x1ad8a4);_0x3a3c0c<_0x1ce235[_0x41276d(0x1f4)];_0x3a3c0c++)_0x4fb76e[_0x41276d(0x231)](_0x1ce235[_0x3a3c0c])<0x0&&Object[_0x41276d(0x1b3)][_0x41276d(0xc7)]['call'](_0x1ad8a4,_0x1ce235[_0x3a3c0c])&&(_0x58c119[_0x1ce235[_0x3a3c0c]]=_0x1ad8a4[_0x1ce235[_0x3a3c0c]]);}return _0x58c119;},We=_0x2a5173(function(_0x526229,_0x114f05){const _0x3e74ad=_0x23ff9b;var _0x5a2b18=_0x526229[_0x3e74ad(0x248)],_0x4bf489=_0x526229['id'],_0x24f4a7=_0x526229['className'],_0x954c19=_0x526229[_0x3e74ad(0xce)],_0x250b14=Hi(_0x526229,['icon','id',_0x3e74ad(0x149),'extend']),_0x5941bc=_0x3e74ad(0x108)[_0x3e74ad(0x227)](_0x4bf489,'\x20')[_0x3e74ad(0x227)](_0x24f4a7||'')[_0x3e74ad(0x13c)](),_0x395e5d=_0x9ab032('_'[_0x3e74ad(0x227)](Fi()));return Pt(_0x5a2b18,''[_0x3e74ad(0x227)](_0x4bf489),{'defIds':_0x5a2b18[_0x3e74ad(0xe3)],'idSuffix':_0x395e5d[_0x3e74ad(0x12e)]},I({'ref':_0x114f05,'className':_0x5941bc},_0x250b14),_0x954c19);});function Pt(_0x548a34,_0x50f47c,_0x12447c,_0x24c771,_0x47afe5){const _0x315eb2=_0x23ff9b;return _0x3f9b60(_0x548a34[_0x315eb2(0x125)],I(I({'key':_0x50f47c},ji(_0x548a34,_0x12447c,_0x47afe5)),_0x24c771),(Wi(_0x548a34,_0x12447c)[_0x315eb2(0x219)]||[])[_0x315eb2(0x1c0)](function(_0x2f2ef7,_0x497fa4){const _0x226ca1=_0x315eb2;return Pt(_0x2f2ef7,''[_0x226ca1(0x227)](_0x50f47c,'-')[_0x226ca1(0x227)](_0x548a34[_0x226ca1(0x125)],'-')[_0x226ca1(0x227)](_0x497fa4),_0x12447c,void 0x0,_0x47afe5);}));}function ji(_0x45a382,_0xb21b0e,_0x2dbf03){const _0x46fc3a=_0x23ff9b;var _0x5e53d6=I({},_0x45a382[_0x46fc3a(0xd0)]);_0x2dbf03!=null&&_0x2dbf03[_0x46fc3a(0x136)]&&_0x5e53d6[_0x46fc3a(0x107)]===_0x46fc3a(0x136)&&(_0x5e53d6[_0x46fc3a(0x107)]=_0x2dbf03[_0x46fc3a(0x136)]),_0x45a382['tag']==='mask'&&_0x5e53d6['id']&&(_0x5e53d6['id']=_0x5e53d6['id']+_0xb21b0e[_0x46fc3a(0x1f6)]),Object[_0x46fc3a(0x16d)](_0x5e53d6)[_0x46fc3a(0x222)](function(_0x29c5fe){const _0x2b57f8=_0x46fc3a;var _0x4dc73f=_0x29c5fe[0x0],_0x3aaac1=_0x29c5fe[0x1];_0x4dc73f==='mask'&&typeof _0x3aaac1==_0x2b57f8(0x143)&&(_0x5e53d6[_0x4dc73f]=_0x3aaac1[_0x2b57f8(0x243)](/url\(#(.*)\)/,_0x2b57f8(0x1c6)[_0x2b57f8(0x227)](_0xb21b0e[_0x2b57f8(0x1f6)],')')));});var _0x43d265=_0xb21b0e[_0x46fc3a(0xe3)];return!_0x43d265||_0x43d265[_0x46fc3a(0x1f4)]===0x0||(_0x45a382[_0x46fc3a(0x125)]===_0x46fc3a(0x1b7)&&_0x5e53d6['xlink:href']&&(_0x5e53d6[_0x46fc3a(0x21b)]=_0x5e53d6[_0x46fc3a(0x21b)]+_0xb21b0e[_0x46fc3a(0x1f6)]),Object[_0x46fc3a(0x16d)](_0x5e53d6)[_0x46fc3a(0x222)](function(_0x2fb263){const _0x1881a9=_0x46fc3a;var _0x40e897=_0x2fb263[0x0],_0x3f9935=_0x2fb263[0x1];typeof _0x3f9935==_0x1881a9(0x143)&&(_0x5e53d6[_0x40e897]=_0x3f9935[_0x1881a9(0x243)](/url\(#(.*)\)/,_0x1881a9(0x1c6)['concat'](_0xb21b0e[_0x1881a9(0x1f6)],')')));})),_0x5e53d6;}function Wi(_0x297dd7,_0x390e5c){const _0x17b4ed=_0x23ff9b;var _0x4c4998,_0x26f835=_0x390e5c[_0x17b4ed(0xe3)];return!_0x26f835||_0x26f835[_0x17b4ed(0x1f4)]===0x0?_0x297dd7:_0x297dd7[_0x17b4ed(0x125)]==='defs'&&(!((_0x4c4998=_0x297dd7['children'])===null||_0x4c4998===void 0x0)&&_0x4c4998[_0x17b4ed(0x1f4)])?I(I({},_0x297dd7),{'children':_0x297dd7[_0x17b4ed(0x219)]['map'](function(_0x5044e0){const _0x430ba9=_0x17b4ed;return typeof _0x5044e0[_0x430ba9(0xd0)]['id']==_0x430ba9(0x143)&&_0x26f835&&_0x26f835[_0x430ba9(0x231)](_0x5044e0['attrs']['id'])>-0x1?I(I({},_0x5044e0),{'attrs':I(I({},_0x5044e0[_0x430ba9(0xd0)]),{'id':_0x5044e0[_0x430ba9(0xd0)]['id']+_0x390e5c[_0x430ba9(0x1f6)]})}):_0x5044e0;})}):_0x297dd7;}function Fi(){const _0x576cd6=_0x23ff9b;return Math[_0x576cd6(0x211)]()[_0x576cd6(0x12f)](0x24)[_0x576cd6(0xb5)](0x2,0x8);}We['displayName']=_0x23ff9b(0x258);var Yi={'tag':_0x23ff9b(0x175),'attrs':{'fill':'none','viewBox':_0x23ff9b(0x77),'width':_0x23ff9b(0x242),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x23ff9b(0x134)},'children':[{'tag':_0x23ff9b(0x84),'attrs':{'stroke':'currentColor','d':_0x23ff9b(0x1ff),'strokeLinecap':'round','strokeLinejoin':_0x23ff9b(0x14c),'strokeWidth':1.2}}]},{'tag':_0x23ff9b(0x86),'attrs':{},'children':[{'tag':_0x23ff9b(0xd7),'attrs':{'id':_0x23ff9b(0x74)},'children':[{'tag':'path','attrs':{'fill':_0x23ff9b(0x16c),'d':_0x23ff9b(0x174)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x2a5173(function(_0x4b1798,_0x57bf8d){const _0x368f34=_0x23ff9b;return _0x3f9b60(We,Object[_0x368f34(0x118)]({},_0x4b1798,{'id':_0x368f34(0x1c2),'ref':_0x57bf8d,'icon':Yi}));});Mt['displayName']=_0x23ff9b(0x1de);var Xi={'tag':_0x23ff9b(0x175),'attrs':{'fill':_0x23ff9b(0xb0),'viewBox':_0x23ff9b(0xfa),'width':_0x23ff9b(0x242),'height':_0x23ff9b(0x242)},'children':[{'tag':'g','attrs':{'clipPath':_0x23ff9b(0x1f3)},'children':[{'tag':'path','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':'round','strokeLinejoin':_0x23ff9b(0x14c),'strokeWidth':1.2}}]},{'tag':_0x23ff9b(0x86),'attrs':{},'children':[{'tag':_0x23ff9b(0xd7),'attrs':{'id':_0x23ff9b(0x1a8)},'children':[{'tag':_0x23ff9b(0x84),'attrs':{'fill':_0x23ff9b(0x16c),'d':'M0\x200H16V16H0z','transform':_0x23ff9b(0x111)}}]}]}],'defIds':[_0x23ff9b(0x1a8)]},Nt=_0x2a5173(function(_0x366452,_0x3ea718){const _0x3ddd05=_0x23ff9b;return _0x3f9b60(We,Object[_0x3ddd05(0x118)]({},_0x366452,{'id':_0x3ddd05(0x140),'ref':_0x3ea718,'icon':Xi}));});Nt[_0x23ff9b(0x1bd)]='OnLineSingle';function wt(_0x57dc4a){const _0x38aade=_0x23ff9b;var _0x4dcc6e,_0x4573e2,_0x4f5888='';if(typeof _0x57dc4a==_0x38aade(0x143)||typeof _0x57dc4a==_0x38aade(0xc5))_0x4f5888+=_0x57dc4a;else{if(typeof _0x57dc4a==_0x38aade(0x90)){if(Array[_0x38aade(0x21d)](_0x57dc4a)){var _0x319f8f=_0x57dc4a['length'];for(_0x4dcc6e=0x0;_0x4dcc6e<_0x319f8f;_0x4dcc6e++)_0x57dc4a[_0x4dcc6e]&&(_0x4573e2=wt(_0x57dc4a[_0x4dcc6e]))&&(_0x4f5888&&(_0x4f5888+='\x20'),_0x4f5888+=_0x4573e2);}else{for(_0x4573e2 in _0x57dc4a)_0x57dc4a[_0x4573e2]&&(_0x4f5888&&(_0x4f5888+='\x20'),_0x4f5888+=_0x4573e2);}}}return _0x4f5888;}function tt(){const _0x3f4d56=_0x23ff9b;for(var _0x5e748e,_0x35ae5e,_0x3d9971=0x0,_0x1f691c='',_0x5eec98=arguments[_0x3f4d56(0x1f4)];_0x3d9971<_0x5eec98;_0x3d9971++)(_0x5e748e=arguments[_0x3d9971])&&(_0x35ae5e=wt(_0x5e748e))&&(_0x1f691c&&(_0x1f691c+='\x20'),_0x1f691c+=_0x35ae5e);return _0x1f691c;}const Vi='univer-online-status-icon',Gi='univer-online-status-title',Ki='univer-online-status',zi='univer-online',Ji='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Gi,'onlineStatus':Ki,'online':zi,'offline':Ji};function Zi(_0x1c5443){const _0x516539=_0x23ff9b;switch(_0x1c5443){case _0x3cfde1['OFFLINE']:return _0x516539(0x22f);case _0x3cfde1['CONFLICT']:return _0x516539(0xb3);case _0x3cfde1[_0x516539(0x1dd)]:return'collabStatus.fetchMiss';case _0x3cfde1[_0x516539(0xaa)]:return _0x516539(0x236);case _0x3cfde1['AWAITING']:case _0x3cfde1[_0x516539(0xe6)]:return _0x516539(0x16b);case _0x3cfde1[_0x516539(0x21a)]:case _0x3cfde1['PENDING']:return _0x516539(0x186);}}function qi(_0x1c917c){const _0xd06de1=_0x23ff9b,{status$:_0x5010f1}=_0x1c917c,_0x4c5447=_0x38f826(_0x5010f1,_0x3cfde1[_0xd06de1(0xaa)]),_0x50ef57=_0x3dc95d(_0xb5b2d6),_0x3a82ad=_0x3dc95d(_0xce6fa8),_0x33dfff=_0x4c5447!==_0x3cfde1[_0xd06de1(0xf0)],_0x4ab9cc=_0x50ef57['t'](Zi(_0x4c5447)),_0x1450dd=tt(G['onlineStatus'],{[G[_0xd06de1(0x1d5)]]:_0x33dfff,[G[_0xd06de1(0x1d1)]]:!_0x33dfff}),_0x440a3d=_0x33dfff?_0x2d8f0e(Nt,{}):_0x2d8f0e(Mt,{}),_0x859590=_0x5f2aa7(()=>{const _0x549c1c=_0xd06de1;_0x33dfff||_0x3a82ad[_0x549c1c(0x18d)]();},[_0x33dfff,_0x3a82ad]);function _0x16bcff(){const _0x1654e2=_0xd06de1;return _0x47ae1c('div',{'className':tt(_0x1450dd,_0x1654e2(0x17b)),'onClick':_0x859590,'children':[_0x2d8f0e(_0x1654e2(0x18e),{'className':G[_0x1654e2(0xd6)],'children':_0x440a3d}),_0x2d8f0e(_0x1654e2(0x18e),{'className':G[_0x1654e2(0x112)],'children':_0x4ab9cc})]});}return _0x33dfff?_0x16bcff():_0x2d8f0e(_0xdfabb5,{'title':_0x50ef57['t']('collab-client.tooltip.reconnect'),'children':_0x16bcff()});}var Qi=Object['getOwnPropertyDescriptor'],en=(_0x26e044,_0x758e49,_0x1295bc,_0x5ae514)=>{const _0x2b6a24=_0x23ff9b;for(var _0x546166=_0x5ae514>0x1?void 0x0:_0x5ae514?Qi(_0x758e49,_0x1295bc):_0x758e49,_0x49a211=_0x26e044[_0x2b6a24(0x1f4)]-0x1,_0x2eb856;_0x49a211>=0x0;_0x49a211--)(_0x2eb856=_0x26e044[_0x49a211])&&(_0x546166=_0x2eb856(_0x546166)||_0x546166);return _0x546166;},Q=(_0x39ae7c,_0x559306)=>(_0x5569b1,_0x2157aa)=>_0x559306(_0x5569b1,_0x2157aa,_0x39ae7c);let se=class extends _0x5e0670{constructor(_0x473503,_0x2bd1b6,_0x1126a1,_0x164830){const _0x406f32=_0x23ff9b;super(),h(this,_0x406f32(0x9a),new _0x3de8b5(_0x3cfde1[_0x406f32(0xaa)])),(this[_0x406f32(0x1cd)]=_0x473503,this['_injector']=_0x2bd1b6,this[_0x406f32(0x1a2)]=_0x1126a1,this[_0x406f32(0x15f)]=_0x164830,this[_0x406f32(0xf4)](),this[_0x406f32(0x197)]());}['_initStatusListener'](){const _0x3c095d=_0x23ff9b;this[_0x3c095d(0x20c)](this[_0x3c095d(0x1cd)]['focused$'][_0x3c095d(0x24d)](_0x13c98e(()=>{const _0x35c9fd=_0x3c095d,_0x36da19=this[_0x35c9fd(0x1cd)]['getFocusedUnit']();return _0x36da19?this[_0x35c9fd(0x1a2)]['getCollabEntity$'](_0x36da19[_0x35c9fd(0x15b)]()):_0x2c084f(null);}),_0x13c98e(_0x346684=>_0x346684?_0x346684[_0x3c095d(0x17f)]:_0x2c084f(_0x3cfde1[_0x3c095d(0xaa)])))['subscribe'](_0x5477d5=>{const _0x615ea5=_0x3c095d;this[_0x615ea5(0x9a)][_0x615ea5(0x1ec)](_0x5477d5);}));}[_0x23ff9b(0xf4)](){const _0x124b4b=_0x23ff9b;this['disposeWithMe'](this[_0x124b4b(0x15f)][_0x124b4b(0x210)](_0x328fad[_0x124b4b(0x17e)],()=>_0x3ce672(tn({'status$':this[_0x124b4b(0x9a)][_0x124b4b(0x13e)]()}),this[_0x124b4b(0x25e)])));}};se=en([Q(0x0,_0x1c8a5a),Q(0x1,_0xd50dcd(_0x8ce219)),Q(0x2,_0xd50dcd(_0x1eec7a)),Q(0x3,_0x59a6ed)],se);function tn(_0x6086e7){const {status$:_0x5099f8}=_0x6086e7;return function(){return _0x2d8f0e(qi,{'status$':_0x5099f8});};}var sn=Object[_0x23ff9b(0xe8)],nn=(_0x79bc53,_0xfb0b86,_0x594d58,_0x17dd9d)=>{for(var _0x43714e=_0x17dd9d>0x1?void 0x0:_0x17dd9d?sn(_0xfb0b86,_0x594d58):_0xfb0b86,_0x1faee0=_0x79bc53['length']-0x1,_0x47f57;_0x1faee0>=0x0;_0x1faee0--)(_0x47f57=_0x79bc53[_0x1faee0])&&(_0x43714e=_0x47f57(_0x43714e)||_0x43714e);return _0x43714e;},k=(_0x5e82d5,_0x4612f7)=>(_0x10ab9c,_0xd70c1a)=>_0x4612f7(_0x10ab9c,_0xd70c1a,_0x5e82d5);let ie=class extends _0x5e0670{constructor(_0x1aa3b2,_0x267fde,_0x3b8c64,_0x60127f,_0x2ab7b8,_0x357580){const _0x2c4eac=_0x23ff9b;super(),this['_beforeCloseService']=_0x1aa3b2,this[_0x2c4eac(0x234)]=_0x267fde,this[_0x2c4eac(0x170)]=_0x3b8c64,this[_0x2c4eac(0x21e)]=_0x60127f,this['_notificationService']=_0x2ab7b8,this[_0x2c4eac(0x1d6)]=_0x357580,this[_0x2c4eac(0x1e3)](),this[_0x2c4eac(0xde)]();}[_0x23ff9b(0x1e3)](){const _0x4054a1=_0x23ff9b;this[_0x4054a1(0x20c)](this[_0x4054a1(0x1f9)][_0x4054a1(0x148)](()=>{const _0x185a25=_0x4054a1;if(this[_0x185a25(0x234)][_0x185a25(0x11c)][_0x185a25(0x256)])return this[_0x185a25(0x1d6)]['t'](_0x185a25(0x97));}));}[_0x23ff9b(0xde)](){const _0x33bc55=_0x23ff9b;this[_0x33bc55(0x20c)](this[_0x33bc55(0x170)]['event$'][_0x33bc55(0xa6)](_0x5de985=>{const _0x9d8652=_0x33bc55;_0x5de985['id']===_0x222a16[_0x9d8652(0x1c1)]&&this['_messageService']['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this['_localeService']['t'](_0x9d8652(0x15c))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x1f1)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x85))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x1a3)]&&this['_notificationService'][_0x9d8652(0x11e)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x1f7)),'type':_0x9d8652(0xb9),'duration':0x0}),_0x5de985['id']===_0x222a16['CONFLICT']&&this['_messageService'][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('collaboration.closeRoom')+'('+_0x5de985[_0x9d8652(0x1d7)]+')'}),_0x5de985['id']===_0x222a16[_0x9d8652(0xc6)]&&this[_0x9d8652(0x21e)]['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x5de985['data']||'')}),_0x5de985['id']===_0x222a16['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x1e4))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x20d)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('session.connection-failed')}),_0x5de985['id']===_0x222a16[_0x9d8652(0x22b)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('session.collaboration-timeout')});}));}};ie=nn([k(0x0,_0x29d9c9),k(0x1,_0x3c8f5a),k(0x2,_0xd50dcd(_0x41f22d)),k(0x3,_0x155886),k(0x4,_0x55ef19),k(0x5,_0xd50dcd(_0xb5b2d6))],ie);const rn=_0x23ff9b(0x1ca),st={},Ut=_0x108fd3(_0x23ff9b(0x1c9));var on=Object[_0x23ff9b(0xe8)],an=(_0x1cfdf8,_0x26f80a,_0x5541e4,_0x587ce9)=>{for(var _0x4258fb=_0x587ce9>0x1?void 0x0:_0x587ce9?on(_0x26f80a,_0x5541e4):_0x26f80a,_0x1c94a3=_0x1cfdf8['length']-0x1,_0x2e7540;_0x1c94a3>=0x0;_0x1c94a3--)(_0x2e7540=_0x1cfdf8[_0x1c94a3])&&(_0x4258fb=_0x2e7540(_0x4258fb)||_0x4258fb);return _0x4258fb;},K=(_0x4b0062,_0x33e6a7)=>(_0x5956e0,_0x358f4a)=>_0x33e6a7(_0x5956e0,_0x358f4a,_0x4b0062);let ne=class extends _0x1fd355{constructor(_0x42f1c7,_0x9c29c8,_0x216462,_0x3f31f9,_0x528156){const _0x47c160=_0x23ff9b;super(),this[_0x47c160(0xbc)]=_0x42f1c7,this[_0x47c160(0xc2)]=_0x9c29c8,this[_0x47c160(0x1fc)]=_0x216462,this[_0x47c160(0x260)]=_0x3f31f9,_0x528156?_0x528156==null||_0x528156[_0x47c160(0xef)]()[_0x47c160(0x13b)](()=>this['_init']()):(this[_0x47c160(0xc2)][_0x47c160(0x154)](_0x47c160(0x262),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x47c160(0x16f)]());}async[_0x23ff9b(0x16f)](){const _0x1dde85=_0x23ff9b,_0x3d8d9c=this[_0x1dde85(0xbc)]['getParam'](_0x1dde85(0x147)),_0xe021e4=this[_0x1dde85(0xbc)][_0x1dde85(0x100)](_0x1dde85(0x239)),_0x294de3=this[_0x1dde85(0xbc)][_0x1dde85(0x100)](_0x1dde85(0x263));if(!_0x3d8d9c||!_0xe021e4){this[_0x1dde85(0xc2)][_0x1dde85(0x154)](_0x1dde85(0x262),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x309507=await this[_0x1dde85(0x260)][_0x1dde85(0x1b6)](_0x3d8d9c,Number(_0xe021e4),_0x294de3);_0x309507&&_0x309507 instanceof _0x4c6c97&&this['_setupSubUnitSync'](_0x309507);}async[_0x23ff9b(0x235)](_0x4f504c){const _0x70dfc2=_0x23ff9b;await this[_0x70dfc2(0x158)](_0x4f504c),_0x4f504c[_0x70dfc2(0xbd)][_0x70dfc2(0x24d)](_0x1c0f4d(this[_0x70dfc2(0x9d)]))['subscribe'](_0x53e060=>{const _0x17b8f4=_0x70dfc2;_0x53e060&&this[_0x17b8f4(0x18f)](_0x53e060);}),this[_0x70dfc2(0xbc)][_0x70dfc2(0x131)][_0x70dfc2(0x24d)](_0x1c0f4d(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4f504c));}[_0x23ff9b(0x18f)](_0x31e962,_0x4ff1f3=!0x1){const _0x194c86=_0x23ff9b,_0x2e7845=this[_0x194c86(0xbc)]['getParam']('subunit');_0x31e962[_0x194c86(0x1b2)]()!==_0x2e7845&&this['_urlService'][_0x194c86(0x22c)](_0x194c86(0x263),_0x31e962[_0x194c86(0x1b2)](),_0x4ff1f3);}async[_0x23ff9b(0x158)](_0x16f60e){const _0x5945cf=_0x23ff9b;var _0x2ced71;const _0x4184f9=this[_0x5945cf(0xbc)]['getParam'](_0x5945cf(0x263));if(!_0x4184f9||!_0x16f60e[_0x5945cf(0x19d)](_0x4184f9)){const _0x1efaf2=_0x16f60e[_0x5945cf(0x199)]()[0x0],_0x1f1ba8=_0x16f60e[_0x5945cf(0x19d)](_0x1efaf2);if(!_0x1f1ba8)return;this['_updateURLWithCurrentState'](_0x1f1ba8,!0x0),await this[_0x5945cf(0x1fc)][_0x5945cf(0xe4)](_0x54975b['id'],{'unitId':_0x16f60e[_0x5945cf(0x15b)](),'subUnitId':_0x1efaf2});return;}((_0x2ced71=_0x16f60e[_0x5945cf(0x1b4)]())==null?void 0x0:_0x2ced71[_0x5945cf(0x1b2)]())!==_0x4184f9&&await this[_0x5945cf(0x1fc)]['executeCommand'](_0x54975b['id'],{'unitId':_0x16f60e['getUnitId'](),'subUnitId':_0x4184f9});}};ne=an([K(0x0,Ut),K(0x1,_0x258406),K(0x2,_0x53b5ba),K(0x3,_0xd50dcd(_0x20e5b6)),K(0x4,_0x232a3e(_0x40301a))],ne);var cn=Object[_0x23ff9b(0xe8)],ln=(_0x5835be,_0x2a1173,_0x24a2ed,_0x37f6f1)=>{const _0xaa3dfd=_0x23ff9b;for(var _0x5785ae=_0x37f6f1>0x1?void 0x0:_0x37f6f1?cn(_0x2a1173,_0x24a2ed):_0x2a1173,_0x1c6d54=_0x5835be[_0xaa3dfd(0x1f4)]-0x1,_0x2e6a43;_0x1c6d54>=0x0;_0x1c6d54--)(_0x2e6a43=_0x5835be[_0x1c6d54])&&(_0x5785ae=_0x2e6a43(_0x5785ae)||_0x5785ae);return _0x5785ae;},Ce=(_0x860b65,_0x1a2b08)=>(_0xcf5382,_0x3ad923)=>_0x1a2b08(_0xcf5382,_0x3ad923,_0x860b65);let re=class{constructor(_0x3f3386,_0x528914,_0x2df618){const _0x125b15=_0x23ff9b;this['_injector']=_0x3f3386,this[_0x125b15(0x10b)]=_0x528914,this['_renderManagerService']=_0x2df618;}[_0x23ff9b(0x169)](_0x510be3){const _0x1639a4=_0x23ff9b;this[_0x1639a4(0xab)](_0x510be3),this[_0x1639a4(0x178)](_0x510be3);}[_0x23ff9b(0x191)](_0x1b169e){const _0x5cc59a=_0x23ff9b,{unitID:_0x461322}=_0x1b169e,_0x1da9d9=this[_0x5cc59a(0x127)]['getRenderById'](_0x461322)[_0x5cc59a(0x163)](_0x130d6b),{redoCache:_0x522225}=_0x1da9d9[_0x5cc59a(0x159)]();if(_0x522225[_0x5cc59a(0x1f4)]===0x0)return _0x1b169e;let _0x1afc65=_0x51080d[_0x5cc59a(0x156)](_0x1b169e[_0x5cc59a(0x17d)][0x0]);for(let _0x3adf33=0x0;_0x3adf33<_0x522225[_0x5cc59a(0x1f4)];_0x3adf33++){const _0x5c3cab={'id':_0x5cc59a(0x137),'params':{..._0x522225[_0x3adf33]}},_0x1a281d=this[_0x5cc59a(0x10b)]['transformMutation'](_0x1afc65,_0x5c3cab,!0x1);if(_0x2cb5ce(_0x1a281d))throw _0x1a281d[_0x5cc59a(0xb9)];_0x1afc65=_0x1a281d[_0x5cc59a(0x1ac)];}return{..._0x51080d[_0x5cc59a(0x156)](_0x1b169e),'mutations':[_0x1afc65]};}[_0x23ff9b(0xab)](_0x32e06e){const _0x2f5fbe=_0x23ff9b,{unitID:_0x491ee2}=_0x32e06e,_0x461bdd=this['_renderManagerService']['getRenderById'](_0x491ee2)[_0x2f5fbe(0x163)](_0x130d6b),{undoCache:_0x5178b5,redoCache:_0x35e222}=_0x461bdd[_0x2f5fbe(0x159)]();if(_0x5178b5['length']===0x0||_0x35e222[_0x2f5fbe(0x1f4)]===0x0)return;const _0x57806a=[],_0xaafe59=[];let _0x488c1e=_0x51080d['deepClone'](_0x32e06e['mutations'][0x0]),_0x51d38b=_0x51080d['deepClone'](_0x32e06e[_0x2f5fbe(0x17d)][0x0]);for(let _0x1c86f6=_0x5178b5[_0x2f5fbe(0x1f4)]-0x1;_0x1c86f6>=0x0;_0x1c86f6--){const _0xaba8d2={'id':_0x2f5fbe(0x137),'params':{..._0x5178b5[_0x1c86f6]}},_0x12e3e1={'id':_0x2f5fbe(0x137),'params':{..._0x35e222[_0x1c86f6]}},_0x66d90e=this[_0x2f5fbe(0x10b)][_0x2f5fbe(0xeb)](_0x488c1e,_0xaba8d2,!0x1),_0x54a3a3=this['_transformService'][_0x2f5fbe(0xeb)](_0x51d38b,_0x12e3e1,!0x1);if(_0x2cb5ce(_0x66d90e))throw _0x66d90e[_0x2f5fbe(0xb9)];if(_0x2cb5ce(_0x54a3a3))throw _0x54a3a3[_0x2f5fbe(0xb9)];_0x57806a['unshift'](_0x66d90e['m2Prime'][_0x2f5fbe(0x1f0)]),_0xaafe59[_0x2f5fbe(0xc9)](_0x54a3a3[_0x2f5fbe(0x80)][_0x2f5fbe(0x1f0)]),_0x488c1e=_0x66d90e[_0x2f5fbe(0x1ac)],_0x51d38b=_0x54a3a3[_0x2f5fbe(0x1ac)];}_0x461bdd[_0x2f5fbe(0x123)]({'undoCache':_0x57806a,'redoCache':_0xaafe59});}[_0x23ff9b(0x178)](_0x2d772c){const _0x5d93ce=_0x23ff9b,{unitID:_0x1578ac}=_0x2d772c,_0x2c5e04=this['_renderManagerService'][_0x5d93ce(0x1e1)](_0x1578ac)[_0x5d93ce(0x163)](_0x130d6b),_0x290083=_0x2c5e04[_0x5d93ce(0x209)]();if(_0x290083==null)return;const _0x4f7399=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d772c[_0x5d93ce(0xb4)],'actions':null,'textRanges':[_0x290083]}}],_0xe34c4a=this[_0x5d93ce(0x10b)][_0x5d93ce(0x1ef)](_0x2d772c,_0x4f7399);if(!_0x36a096(_0xe34c4a))throw _0xe34c4a[_0x5d93ce(0xb9)];const _0x56bd47=_0xe34c4a[_0x5d93ce(0x80)][0x0]['params'][_0x5d93ce(0xbb)];Array['isArray'](_0x56bd47)&&_0x56bd47[_0x5d93ce(0x1f4)]&&_0x2c5e04[_0x5d93ce(0xf5)](_0x56bd47[0x0]);}};function _0x4d67(){const _0x2941fe=['cursorInfo$','then','trim','/run/','asObservable','MoveRangeCommandId','on-line-single','setInterval','setShapeProps','string','set','ranges','bottom','unit','registerBeforeClose','className','imageSourceType','YUUMI_SUBSCRIPTION_NOT_FOUND','round','from','getCollabCursors$','getItem','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_roomMembers$','collab-text-range-','_collabCursorState$','debug','NO_OTHER_CLIENTS_EDITING','deepClone','DeleteRangeMoveUpCommandId','_updateSubUnitFromURLParams','getUndoRedoMutationParamsCache','red300','getUnitId','collaboration.single-unit.warning','assignAColorForMemberID','_collabCursorController','_uiPartsService','engine','subscribeEvent','_getSheetObject','with','toRgbString','source','getConfig','_backgroundColor','ALREADY_EXISTS','transformIMECache','MUTATION','collabStatus.syncing','#fff','entries','_assignedColors','_init','_collaborationUIEventService','clearTimeout','getOffsetConfig','_onCursorUpdate','M0\x200H16V16H0z','svg','_colorAssignService','entityInit$','_transformPreviousActiveRange','_unitStatus','_doCreateSocket','univer-flex\x20univer-items-center','post','mutations','HEADER_MENU','status$','getSkeleton','_syncEditingCollabCursorService','_drawTextRange','symbol','triggerDblclick','cursorInfo','collabStatus.synced','TEXT','rgba(255,\x20255,\x20255,\x200.01)','_context','Unknown\x20user','_registerDependencies','fillText','reconnect','div','_updateURLWithCurrentState','getCurrentSelections','transformRemoteChangeset','...','column','name','UNDEFINED','values','_initStatusListener','_onRefRangeChange','getUnhiddenWorksheets','code','enableLocalCache','addHandlerCallback','getSheetBySheetId','getFocusedUnit','verdancy600','_refreshCollabCursors','LICENSE_IMPORT_SIZE_EXCEEDED','_collaborationController','PERMISSION_DENIED','_docTransformStateCacheService','_unitOnClients','_saveCache','sessionStatus$','on-line-single_clip0_910_349','getAncestorScale','wsSessionTicketUrl','createInstance','m1Prime','_draw','ENSURE_SNAPSHOT_EXECUTION','apply','startColumn','override','getSheetId','prototype','getActiveSheet','search','loadUnit','use','_toggleOffline','sheetId','min','getUnitStatus$','updateOfflineData','displayName','USERS_LEAVE','InsertRowCommandId','map','OTHER_CLIENT_EDITING','off-line-single','getValue','application/json','getTypeOfUnitAdded$','url(#$1','getMemberID','lineTo','uni.network.url-service','collaboration-client-ui.config','_clearOtherTimers','startRow','_univerInstanceService','getMember','ACTIVE_UNIT_EVENT_CHANNEL','3181392YlKtyb','offline','_memberService','getDocRanges','generateRandomId','online','_localeService','data','_createSocketURL','height','166026gFrzwj','_instanceService','_send','FETCH_MISS','OffLineSingle','_render','blue400','getRenderById','redoState','_setupBeforeClosingHandler','session.will-retry','disableLocalCache','_docTransformSelectionsService','onRendered','_eventUnsubscribe','closePath','editingUnit','moveTo','next','_handleHeartbeatEvent','replaceDocRanges','transformMutationsWithChangeset','params','CLOSE_ROOM','setStateCache','url(#on-line-single_clip0_910_349)','length','_ensureSubject','idSuffix','permission.content','_getSaveTimeout','_beforeCloseService','unitId','disposeUnit','_commandService','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','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','_handleLeaveEvent','black','YUUMI_RATE_OVER_LIMIT','send','_colorIndex','YUUMI_UNABLE_LOAD_URL','UNRECOGNIZED','body','_color','getActiveRange','onLocalMutation','executionId','disposeWithMe','SOCKET_FAILED','OTHER_CLIENTS_EDITING','width','registerComponent','random','Error','eventID','collab-rect-range-','hasOwnProperty','_name','NOT_FOUND','INTERNAL_ERROR','children','SYNCED','xlink:href','getMergeData','isArray','_messageService','CONNECTOR_DATA_TOO_LARGE','_drawAnchor','findNodePositionByCharIndex','forEach','delete','_scene','ticket','LICENSE_MAX_UNITS_EXCEEDED','concat','PY_RUNTIME_SCRIPT_ERROR','arc','parse','SUBMIT_CHANGESET_TIMEOUT','setParam','_collabSessionService','getCurrentRevOfUnit','collabStatus.offline','_docSkeleton','indexOf','has','_entityInit$','_localCacheService','_setupSubUnitSync','collabStatus.notCollab','UPDATE_CURSOR','YUUMI_URL_COL_OUT_OF_RANGE','type','collab-text-anchor-','_removeCollabCursors','_revisionService','_handleJoinEvent','storage','_hideTimer','restore','actions','1em','replace','dispose','_removeClearOtherTimer','getStateCache','_textBubble','icon','SNAPSHOT_INVALID_SNAPSHOT','undoState','_range','_localStorageService','pipe','_imageIoService','_online','getRelativeToViewportCoord','_getAnchorBounding','APPLY_REVISION_CONFILICT','saveImage','selection','RemoveColCommandId','size','endColumn','UniverIcon','event$','_hover','init','complete','fillRule','_injector','UNIVER_DOC','_dataLoaderService','_disabled','[CollaborationDataLoaderController]','subunit','find','removeParam','_registerRenderDependencies','newValue','add','ONLINE','location','clearInterval','_docStateChangeManagerService','call','998606DJAtfm','onPointerMove$','UNIVER_SHEET','off-line-single_clip0_910_343','SNAPSHOT_HAS_BEEN_REMOVED','loadOfflineData','0\x200\x2016\x2016','INVALID_ARGUMENT','InsertRangeMoveDownCommandId','memberID','href','_updateLocalCursor','LICENSE_DISTRO_REJECTED','startsWith','3465JdSMmC','m2Prime','top','_anchor','onPointerEnter$','path','collaboration.closeRoom','defs','syncEditingCollabCursor','skeleton','_onCursorDelete','11064vEqgmW','currentTheme$','roomMembers','saveOfflineData','push','_cursorInfo$','object','replaceState','onPointerLeave$','APPLY_DUPLICATED','docStateChange$','_handleHover','APPLY_PERMISSION_DENIED','collaboration-client.offline-data-not-saved','subUnitId','result','_status$','text','APPLY_NON_SEQUENTIAL_REVISION','dispose$','_transformHistoryAndStateStack','_initEntityListener','103269kicKBC','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','includes','RemoveRowCommandId','_scheduleHeartbeat','pluginName','subscribe','onTransformChange$','font','getViewport','NOT_COLLAB','_transformUndoRedoStack','425Swgvci','pushState','evenodd','_cursor','none','_sheetSkeletonManagerService','all','collabStatus.conflict','unitID','substring','_anchorDot','key','_docTransformIMECacheService','error','_heartbeatTimer','textRanges','_urlService','activeSheet$','_config','setItem','_updateCollabCursors','UNAUTHENTICATED','_logService','_hovered','hovered','number','JOIN_ROOM_FAILED','propertyIsEnumerable','_entities','unshift','getVpScrollXYInfoByPosToVp','registerRenderModule','#FFF','currentSkeleton$','extend','_docClipboardService','attrs','TOO_MANY_REQUESTS','searchParams','makeDirty','save','isEditing','onlineStatusIcon','clipPath','getUniverSheetInstance','setAlpha','onCommandExecuted','isActive','_session','onMouseMove','_initEvent','range','getCurrent','get','getOwnPropertySymbols','defIds','executeCommand','collabCursorState$','AWAITING_WITH_PENDING','exhaustSavingTask','getOwnPropertyDescriptor','65472UCPknh','drawWith','transformMutation','_startDocCollabCursor','addObjects','_toggleOnline','whenReady','OFFLINE','_id','registerRefRange','_handleEvent','_initStatusComponent','setActiveRange','requireSession','transformSelections','beginPath','_docSkeletonManagerService','0\x200\x2017\x2016','jiqing500','_startSheetCollabCursor','setTimeout','measureText','_selfUnitIDs','getParam','_drawRectRange','APPLY_REJECT','_getScale','color','_cursorShapes','_getSessionTicket','fill','univerjs-icon\x20univerjs-icon-','CHANGESET_REVISION_CONFILICT','_shapes','_transformService','row','getCellPositionByOffset','_cursors','COMPLETION_FINISHED','_saveTaskMap','translate(.97)','onlineStatusTitle','_labelPosition','history','roomMembers$','runId','selections','assign','origin','_httpService','_themeService','saveTaskMap','addClipboardHook','show','addObject','getTypeOfUnitDisposed$','_initCommandExecutedListener','createSocket','setUndoRedoMutationParamsCache','_configService','tag','transform','_renderManagerService','unsubscribe','_scheduleSaving','purple300','_refRangeService','_lastPointer','_getMergeRange','current','toString','_initDependencies','urlChange$','_scheduleClearOtherTimer','getRangePointData','url(#off-line-single_clip0_910_343)','Warning','colorChannel1','doc.mutation.rich-text-editing','hide','onStarting'];_0x4d67=function(){return _0x2941fe;};return _0x4d67();}re=ln([Ce(0x0,_0xd50dcd(_0x8ce219)),Ce(0x1,_0x49f577),Ce(0x2,_0x4ce077)],re);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x58406f,_0x29cf77,_0x3c792c,_0x22315c)=>{const _0x5c939c=_0x23ff9b;for(var _0x15d22d=_0x22315c>0x1?void 0x0:_0x22315c?hn(_0x29cf77,_0x3c792c):_0x29cf77,_0x52d716=_0x58406f[_0x5c939c(0x1f4)]-0x1,_0x11bd98;_0x52d716>=0x0;_0x52d716--)(_0x11bd98=_0x58406f[_0x52d716])&&(_0x15d22d=_0x11bd98(_0x15d22d)||_0x15d22d);return _0x15d22d;},be=(_0x2bdc96,_0x241ed5)=>(_0x59d6b0,_0x569e11)=>_0x241ed5(_0x59d6b0,_0x569e11,_0x2bdc96);let oe=class{constructor(_0x4f3c50,_0x2ee992,_0x17b15f){const _0x4fc56a=_0x23ff9b;this['_injector']=_0x4f3c50,this['_transformService']=_0x2ee992,this[_0x4fc56a(0x26c)]=_0x17b15f;}['transformStateCache'](_0x19ab9d){const _0x3933de=_0x23ff9b;this[_0x3933de(0x9e)](_0x19ab9d);}[_0x23ff9b(0x191)](_0x2df072){const _0x5daddc=_0x23ff9b,{unitID:_0x56bef8}=_0x2df072,{collaboration:_0x23098b}=this['_docStateChangeManagerService'][_0x5daddc(0x246)](_0x56bef8);if(_0x23098b[_0x5daddc(0x1f4)]===0x0)return _0x2df072;let _0x13e45f=_0x51080d[_0x5daddc(0x156)](_0x2df072['mutations'][0x0]);for(let _0x547161=0x0;_0x547161<_0x23098b['length'];_0x547161++){const _0x131d7a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23098b[_0x547161][_0x5daddc(0x1fa)],..._0x23098b[_0x547161][_0x5daddc(0x1e2)]}},_0x31640a=this[_0x5daddc(0x10b)]['transformMutation'](_0x13e45f,_0x131d7a,!0x1);if(_0x2cb5ce(_0x31640a))throw _0x31640a[_0x5daddc(0xb9)];_0x13e45f=_0x31640a[_0x5daddc(0x1ac)];}return{..._0x51080d['deepClone'](_0x2df072),'mutations':[_0x13e45f]};}[_0x23ff9b(0x9e)](_0x56432f){const _0x1343fe=_0x23ff9b,{unitID:_0x509d11}=_0x56432f,{history:_0x108450,collaboration:_0xf3ccfc}=this[_0x1343fe(0x26c)][_0x1343fe(0x246)](_0x509d11);if(_0x108450['length']===0x0&&_0xf3ccfc[_0x1343fe(0x1f4)]===0x0)return;const _0x12ea1d=[],_0x25d72b=[];let _0x1bc2da=_0x51080d[_0x1343fe(0x156)](_0x56432f[_0x1343fe(0x17d)][0x0]),_0x56dcb0=_0x51080d[_0x1343fe(0x156)](_0x56432f[_0x1343fe(0x17d)][0x0]);for(let _0x48944f=_0x108450['length']-0x1;_0x48944f>=0x0;_0x48944f--){const _0x576c8e={'id':_0x1343fe(0x137),'params':{'unitId':_0x108450[_0x48944f][_0x1343fe(0x1fa)],..._0x108450[_0x48944f][_0x1343fe(0x24a)]}},_0x294ece={'id':_0x1343fe(0x137),'params':{'unitId':_0x108450[_0x48944f]['unitId'],..._0x108450[_0x48944f]['redoState']}},_0x46c9ab=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x1bc2da,_0x576c8e,!0x1),_0x2c36cb=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x56dcb0,_0x294ece,!0x1);if(_0x2cb5ce(_0x46c9ab))throw _0x46c9ab[_0x1343fe(0xb9)];if(_0x2cb5ce(_0x2c36cb))throw _0x2c36cb[_0x1343fe(0xb9)];_0x12ea1d[_0x1343fe(0xc9)]({..._0x108450[_0x48944f],'undoState':_0x46c9ab['m2Prime'][_0x1343fe(0x1f0)],'redoState':_0x2c36cb[_0x1343fe(0x80)][_0x1343fe(0x1f0)]}),_0x1bc2da=_0x46c9ab[_0x1343fe(0x1ac)],_0x56dcb0=_0x2c36cb[_0x1343fe(0x1ac)];}_0x1bc2da=_0x51080d[_0x1343fe(0x156)](_0x56432f['mutations'][0x0]),_0x56dcb0=_0x51080d['deepClone'](_0x56432f[_0x1343fe(0x17d)][0x0]);for(let _0x20bd8a=_0xf3ccfc[_0x1343fe(0x1f4)]-0x1;_0x20bd8a>=0x0;_0x20bd8a--){const _0xcec5cf={'id':_0x1343fe(0x137),'params':{'unitId':_0xf3ccfc[_0x20bd8a]['unitId'],..._0xf3ccfc[_0x20bd8a][_0x1343fe(0x24a)]}},_0x3376b9={'id':_0x1343fe(0x137),'params':{'unitId':_0xf3ccfc[_0x20bd8a][_0x1343fe(0x1fa)],..._0xf3ccfc[_0x20bd8a][_0x1343fe(0x1e2)]}},_0x1ea1ee=this['_transformService']['transformMutation'](_0x1bc2da,_0xcec5cf,!0x1),_0x2c63a8=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x56dcb0,_0x3376b9,!0x1);if(_0x2cb5ce(_0x1ea1ee))throw _0x1ea1ee['error'];if(_0x2cb5ce(_0x2c63a8))throw _0x2c63a8[_0x1343fe(0xb9)];_0x25d72b[_0x1343fe(0xc9)]({..._0xf3ccfc[_0x20bd8a],'undoState':_0x1ea1ee[_0x1343fe(0x80)]['params'],'redoState':_0x2c63a8[_0x1343fe(0x80)][_0x1343fe(0x1f0)]}),_0x1bc2da=_0x1ea1ee[_0x1343fe(0x1ac)],_0x56dcb0=_0x2c63a8['m1Prime'];}this[_0x1343fe(0x26c)][_0x1343fe(0x1f2)](_0x509d11,{'history':_0x12ea1d,'collaboration':_0x25d72b});}};oe=_n([be(0x0,_0xd50dcd(_0x8ce219)),be(0x1,_0x49f577),be(0x2,_0xd50dcd(_0x1abd4c))],oe);var un=Object['getOwnPropertyDescriptor'],dn=(_0x7e8e12,_0x5d3290,_0x2112d2,_0xf2516)=>{const _0xa8d663=_0x23ff9b;for(var _0x85e76a=_0xf2516>0x1?void 0x0:_0xf2516?un(_0x5d3290,_0x2112d2):_0x5d3290,_0x5e10f4=_0x7e8e12[_0xa8d663(0x1f4)]-0x1,_0x347e01;_0x5e10f4>=0x0;_0x5e10f4--)(_0x347e01=_0x7e8e12[_0x5e10f4])&&(_0x85e76a=_0x347e01(_0x85e76a)||_0x85e76a);return _0x85e76a;},it=(_0x11b9c3,_0x2e5f08)=>(_0x4a9ce3,_0x1a3660)=>_0x2e5f08(_0x4a9ce3,_0x1a3660,_0x11b9c3);let ae=class{constructor(_0x375fdd,_0x5dbd0f){const _0x3ac82c=_0x23ff9b;this[_0x3ac82c(0x25e)]=_0x375fdd,this[_0x3ac82c(0x10b)]=_0x5dbd0f;}['transformSelections'](_0x42e91e){const _0x34f42d=_0x23ff9b;var _0x5ebcc0;const _0x5b2958=this[_0x34f42d(0x25e)][_0x34f42d(0xe1)](_0x312df4),_0x21689a=(_0x5ebcc0=_0x5b2958[_0x34f42d(0x1d3)]())!=null?_0x5ebcc0:[];if(_0x21689a[_0x34f42d(0x1f4)]===0x0)return;const _0x15a984=_0x42e91e[_0x34f42d(0xb4)],_0x32a027=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15a984,'actions':null,'textRanges':_0x21689a}}],_0x4c7c42=this[_0x34f42d(0x10b)]['transformMutationsWithChangeset'](_0x42e91e,_0x32a027);if(!_0x36a096(_0x4c7c42))throw _0x4c7c42[_0x34f42d(0xb9)];const _0xefccc3=_0x4c7c42[_0x34f42d(0x80)][0x0][_0x34f42d(0x1f0)][_0x34f42d(0xbb)];Array[_0x34f42d(0x21d)](_0xefccc3)&&_0xefccc3[_0x34f42d(0x1f4)]&&_0x5b2958[_0x34f42d(0x1ee)](_0xefccc3,{'unitId':_0x15a984,'subUnitId':_0x15a984},!0x1);}};ae=dn([it(0x0,_0xd50dcd(_0x8ce219)),it(0x1,_0x49f577)],ae);var fn=Object[_0x23ff9b(0xe8)],Sn=(_0x3985cb,_0x54e9ea,_0x24a95c,_0x2007c8)=>{const _0x459a13=_0x23ff9b;for(var _0x1a918c=_0x2007c8>0x1?void 0x0:_0x2007c8?fn(_0x54e9ea,_0x24a95c):_0x54e9ea,_0x4a42a6=_0x3985cb[_0x459a13(0x1f4)]-0x1,_0x10a28c;_0x4a42a6>=0x0;_0x4a42a6--)(_0x10a28c=_0x3985cb[_0x4a42a6])&&(_0x1a918c=_0x10a28c(_0x1a918c)||_0x1a918c);return _0x1a918c;},M=(_0x131231,_0x5eb984)=>(_0x3d794b,_0x566a35)=>_0x5eb984(_0x3d794b,_0x566a35,_0x131231);let ce=class extends _0x5e0670{constructor(_0x6406d8,_0x5806ee,_0x4a70f0,_0x3225b1,_0x5e301f,_0x3903e8,_0x31d4b8,_0x150146){const _0x21a964=_0x23ff9b;super(),h(this,_0x21a964(0x9a),new _0x3de8b5(_0x3cfde1[_0x21a964(0xaa)])),(this[_0x21a964(0x26c)]=_0x6406d8,this[_0x21a964(0x1a2)]=_0x5806ee,this[_0x21a964(0xb8)]=_0x4a70f0,this[_0x21a964(0x1a4)]=_0x3225b1,this['_docTransformSelectionsService']=_0x5e301f,this['_docSyncEditingCollabCursorService']=_0x3903e8,this[_0x21a964(0x21e)]=_0x31d4b8,this['_localeService']=_0x150146,this[_0x21a964(0x9f)]());}[_0x23ff9b(0x9f)](){const _0x21269e=_0x23ff9b;this['disposeWithMe'](this[_0x21269e(0x1a2)][_0x21269e(0x177)][_0x21269e(0xa6)](_0x4f3d4e=>{const _0x254611=_0x21269e,_0x302cec=this[_0x254611(0x26c)][_0x254611(0x94)]['subscribe'](_0x4cb16f=>{const _0x304425=_0x254611;if(_0x4cb16f==null)return;const {unitId:_0x450548,redoState:_0x43ecd8,commandId:_0x1bd54c}=_0x4cb16f;if(_0x450548!==_0x4f3d4e[_0x304425(0xb4)])return;const _0x3d0363={'id':_0x1bd54c,'type':_0x17ad1c[_0x304425(0x16a)],'params':{'unitId':_0x450548,'actions':_0x43ecd8[_0x304425(0x241)],'textRanges':null}};_0x4f3d4e[_0x304425(0x20a)](_0x3d0363);});if(_0x4f3d4e[_0x254611(0x20c)](_0x302cec),_0x4f3d4e instanceof _0x53d445){const _0x4f7e5d={'onTransformIME':_0x44d2bd=>this[_0x254611(0xb8)][_0x254611(0x169)](_0x44d2bd),'onTransformState':_0x1a9dce=>this['_docTransformStateCacheService']['transformStateCache'](_0x1a9dce),'onTransformSelections':_0x310664=>this[_0x254611(0x1e6)][_0x254611(0xf7)](_0x310664),'onSyncEditingCollabCursor':_0x38e09c=>this['_docSyncEditingCollabCursorService'][_0x254611(0x87)](_0x38e09c),'onTransformRemoteChangesetByIMECache':_0x265f0a=>this[_0x254611(0xb8)][_0x254611(0x191)](_0x265f0a),'onTransformRemoteChangesetByStateCache':_0x9ceeae=>this[_0x254611(0x1a4)][_0x254611(0x191)](_0x9ceeae)};_0x4f3d4e[_0x254611(0x19c)](_0x4f7e5d);}}));}};ce=Sn([M(0x0,_0xd50dcd(_0x1abd4c)),M(0x1,_0xd50dcd(_0x1eec7a)),M(0x2,_0xd50dcd(re)),M(0x3,_0xd50dcd(oe)),M(0x4,_0xd50dcd(ae)),M(0x5,_0xd50dcd(je)),M(0x6,_0x155886),M(0x7,_0xd50dcd(_0xb5b2d6))],ce);var mn=Object[_0x23ff9b(0xe8)],gn=(_0x37c92a,_0x26daf7,_0x33c288,_0x56cde8)=>{const _0x560233=_0x23ff9b;for(var _0x281a06=_0x56cde8>0x1?void 0x0:_0x56cde8?mn(_0x26daf7,_0x33c288):_0x26daf7,_0x30f610=_0x37c92a[_0x560233(0x1f4)]-0x1,_0x5c983a;_0x30f610>=0x0;_0x30f610--)(_0x5c983a=_0x37c92a[_0x30f610])&&(_0x281a06=_0x5c983a(_0x281a06)||_0x281a06);return _0x281a06;},Ee=(_0x3b6d07,_0x5754a3)=>(_0x286c86,_0x298ec1)=>_0x5754a3(_0x286c86,_0x298ec1,_0x3b6d07);let Ae=class extends _0x5e0670{constructor(_0x5e5b06,_0x10ad70,_0x2004c3){const _0x4c9548=_0x23ff9b;super(),h(this,_0x4c9548(0x1fd),new Map()),h(this,_0x4c9548(0x110),new Map()),h(this,_0x4c9548(0x261),!0x1),(this[_0x4c9548(0x124)]=_0x5e5b06,this[_0x4c9548(0x24c)]=_0x10ad70,this[_0x4c9548(0x23c)]=_0x2004c3);}[_0x23ff9b(0x1e5)](){const _0x54290c=_0x23ff9b;this[_0x54290c(0x261)]=!0x0;}[_0x23ff9b(0x19b)](){const _0x4ebb0d=_0x23ff9b;this[_0x4ebb0d(0x261)]=!0x1;}get['saveTaskMap'](){const _0x2ce68b=_0x23ff9b;return this[_0x2ce68b(0x110)];}['dispose'](){const _0x24a0ee=_0x23ff9b;this[_0x24a0ee(0xe7)]()[_0x24a0ee(0x13b)](()=>super[_0x24a0ee(0x244)]());}async[_0x23ff9b(0x76)](_0x3a4d23){const _0x449aca=_0x23ff9b;return this[_0x449aca(0x261)]?null:this[_0x449aca(0x24c)][_0x449aca(0x14f)](_0x3ce03f(_0x3a4d23));}async[_0x23ff9b(0x8d)](_0x26d68f,_0x5d6b20){const _0xcf4d45=_0x23ff9b;return!!this[_0xcf4d45(0x24c)][_0xcf4d45(0xbf)](_0x26d68f,_0x5d6b20);}[_0x23ff9b(0x1bc)](_0x27822a,_0x172173,_0x63ba2b,_0x25d923){const _0x58fd6b=_0x23ff9b,_0x55a41f=this[_0x58fd6b(0x23c)][_0x58fd6b(0x22e)](_0x27822a);this[_0x58fd6b(0x1fd)][_0x58fd6b(0x144)](_0x27822a,{'unitID':_0x27822a,'type':_0x172173,'awaitingChangeset':_0x63ba2b,'mutations':_0x25d923,'rev':_0x55a41f}),this[_0x58fd6b(0x110)][_0x58fd6b(0x232)](_0x27822a)||this[_0x58fd6b(0x129)](_0x27822a);}['_scheduleSaving'](_0xb321c5){const _0x519c9d=_0x23ff9b,_0x34e293=this[_0x519c9d(0x1f8)]();_0x34e293===0x0?this[_0x519c9d(0x1a6)](_0xb321c5):this['_saveTaskMap'][_0x519c9d(0x144)](_0xb321c5,setTimeout(()=>this[_0x519c9d(0x1a6)](_0xb321c5),_0x34e293));}[_0x23ff9b(0x1f8)](){const _0x49e346=_0x23ff9b;var _0x291110;return(_0x291110=this[_0x49e346(0x124)][_0x49e346(0x166)](_0x4bfb93))!=null?_0x291110:_0x18f4f4;}[_0x23ff9b(0x1a6)](_0x43faa5){const _0x1722d2=_0x23ff9b,_0x9b2150=this['_saveTaskMap'][_0x1722d2(0xe1)](_0x43faa5);return _0x9b2150!==void 0x0&&window[_0x1722d2(0x171)](_0x9b2150),this[_0x1722d2(0x24c)][_0x1722d2(0xbf)](_0x3ce03f(_0x43faa5),this[_0x1722d2(0x1fd)][_0x1722d2(0xe1)](_0x43faa5))[_0x1722d2(0x13b)](()=>this['_saveTaskMap']['delete'](_0x43faa5));}async['exhaustSavingTask'](){const _0x14783e=_0x23ff9b,_0x18a76b=[];this[_0x14783e(0x110)][_0x14783e(0x222)]((_0x25e2ab,_0x545033)=>{const _0x5f2c50=_0x14783e;window[_0x5f2c50(0x171)](_0x25e2ab),_0x18a76b[_0x5f2c50(0x8e)](this[_0x5f2c50(0x1a6)](_0x545033)['then'](()=>{const _0x1a24f6=_0x5f2c50;this['_saveTaskMap'][_0x1a24f6(0x223)](_0x545033);}));}),await Promise[_0x14783e(0xb2)](_0x18a76b);}};Ae=gn([Ee(0x0,_0x533f06),Ee(0x1,_0x157b96),Ee(0x2,_0xd50dcd(_0x1a68c1))],Ae);class vn extends _0x1fd355{constructor(){const _0x145c17=_0x23ff9b;super(),h(this,_0x145c17(0x131)),this[_0x145c17(0x131)]=_0x37d196(window,'popstate')[_0x145c17(0x24d)](_0x1c0f4d(this[_0x145c17(0x9d)]),_0x196db8(0x1),_0x4fd666(void 0x0));}[_0x23ff9b(0x22c)](_0x4c7797,_0x31abd6,_0x3bbefd=!0x1){const _0x1e1456=_0x23ff9b,_0x2dc445=new URL(window['location'][_0x1e1456(0x7b)]);_0x2dc445[_0x1e1456(0xd2)]['set'](_0x4c7797,_0x31abd6),_0x3bbefd?window[_0x1e1456(0x114)][_0x1e1456(0x91)]('','',_0x2dc445[_0x1e1456(0x12f)]()):window[_0x1e1456(0x114)]['pushState']('','',_0x2dc445[_0x1e1456(0x12f)]());}[_0x23ff9b(0x265)](_0x2bb96e,_0xecb162=!0x1){const _0x38da1c=_0x23ff9b,_0x501adc=new URL(window[_0x38da1c(0x26a)][_0x38da1c(0x7b)]);_0x501adc[_0x38da1c(0xd2)][_0x38da1c(0x223)](_0x2bb96e),_0xecb162?window[_0x38da1c(0x114)][_0x38da1c(0x91)]('','',_0x501adc[_0x38da1c(0x12f)]()):window[_0x38da1c(0x114)][_0x38da1c(0xad)]('','',_0x501adc[_0x38da1c(0x12f)]());}[_0x23ff9b(0x100)](_0x27d374){const _0x46cc1e=_0x23ff9b;var _0x1f01c3;return(_0x1f01c3=new URL(window['location'][_0x46cc1e(0x7b)])[_0x46cc1e(0xd2)]['get'](_0x27d374))!=null?_0x1f01c3:void 0x0;}}var In=Object['defineProperty'],pn=Object[_0x23ff9b(0xe8)],Cn=(_0x52031a,_0x94a6d4,_0x44c048)=>_0x94a6d4 in _0x52031a?In(_0x52031a,_0x94a6d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44c048}):_0x52031a[_0x94a6d4]=_0x44c048,bn=(_0x512589,_0x220cec,_0x599e57,_0x57f749)=>{const _0x4b5480=_0x23ff9b;for(var _0x4cb21b=_0x57f749>0x1?void 0x0:_0x57f749?pn(_0x220cec,_0x599e57):_0x220cec,_0x33728f=_0x512589[_0x4b5480(0x1f4)]-0x1,_0x2ff5cd;_0x33728f>=0x0;_0x33728f--)(_0x2ff5cd=_0x512589[_0x33728f])&&(_0x4cb21b=_0x2ff5cd(_0x4cb21b)||_0x4cb21b);return _0x4cb21b;},Oe=(_0x148264,_0x4e784b)=>(_0x268841,_0xdbf247)=>_0x4e784b(_0x268841,_0xdbf247,_0x148264),En=(_0x43249a,_0x1bfc49,_0x1225f9)=>Cn(_0x43249a,_0x1bfc49+'',_0x1225f9);const On=_0x23ff9b(0xa1);let ye=class extends _0x7903e7{constructor(_0xc64e4d=st,_0x28652a,_0x1dccc9,_0x3035af){const _0x2df6df=_0x23ff9b;super(),this[_0x2df6df(0xbe)]=_0xc64e4d,this['_renderManagerService']=_0x28652a,this[_0x2df6df(0x25e)]=_0x1dccc9,this[_0x2df6df(0x124)]=_0x3035af;const {..._0x5e1ce1}=_0x4a2b0c({},st,this[_0x2df6df(0xbe)]);this['_configService']['setConfig'](rn,_0x5e1ce1);}[_0x23ff9b(0x139)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x23ff9b(0x1e7)](){const _0x5a8781=_0x23ff9b;this[_0x5a8781(0x266)]();}[_0x23ff9b(0x18b)](){const _0x2cd6fa=_0x23ff9b;var _0x37c794;const _0x40398a=[[He],[ae],[re],[oe],[je],[Ut,{'useClass':vn}],[_0x1c8e0f,{'useClass':_0x5dc691}],[_0x3c8f5a,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4a94d2(this['_injector'],_0x45e2a7(_0x40398a,(_0x37c794=this['_config'])==null?void 0x0:_0x37c794[_0x2cd6fa(0x1b1)]));}[_0x23ff9b(0x266)](){const _0x4dec5a=_0x23ff9b;this[_0x4dec5a(0x20c)](this['_renderManagerService'][_0x4dec5a(0xcb)](_0x149593[_0x4dec5a(0x25f)],[Ue])),this[_0x4dec5a(0x20c)](this[_0x4dec5a(0x127)]['registerRenderModule'](_0x149593['UNIVER_SHEET'],[Le]));}[_0x23ff9b(0x130)](){const _0x49b40f=_0x23ff9b;_0x3c9714(this[_0x49b40f(0x25e)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x23ff9b(0xa5),On),ye=bn([_0x592d51(_0x316f4e),Oe(0x1,_0x4ce077),Oe(0x2,_0xd50dcd(_0x8ce219)),Oe(0x3,_0x533f06)],ye);var Tn=Object['getOwnPropertyDescriptor'],Rn=(_0x4d67d6,_0x58876f,_0x45ecd4,_0x2c6030)=>{const _0x24028f=_0x23ff9b;for(var _0x41ec84=_0x2c6030>0x1?void 0x0:_0x2c6030?Tn(_0x58876f,_0x45ecd4):_0x58876f,_0x451668=_0x4d67d6[_0x24028f(0x1f4)]-0x1,_0x41b96a;_0x451668>=0x0;_0x451668--)(_0x41b96a=_0x4d67d6[_0x451668])&&(_0x41ec84=_0x41b96a(_0x41ec84)||_0x41ec84);return _0x41ec84;},z=(_0x3482b7,_0xa8413b)=>(_0x506418,_0x279c22)=>_0xa8413b(_0x506418,_0x279c22,_0x3482b7);let nt=class extends _0x4d5aa8{constructor(_0x31cfd8,_0x1e0c10,_0x518ddc,_0x16dadc,_0x534084){super(_0x31cfd8,_0x1e0c10,_0x518ddc,_0x16dadc,_0x534084);}async[_0x23ff9b(0x122)](_0x190d6b){const _0x369f30=_0x23ff9b,_0x149fba=await this[_0x369f30(0x106)](),_0x23ce41=this['_createSocketURL'](_0x190d6b,_0x149fba);return this[_0x369f30(0x17a)](_0x23ce41);}[_0x23ff9b(0x1d8)](_0x322536,_0x48fbc1){const _0xb4201f=_0x23ff9b,_0x43bd61=typeof window>'u'?new URL(_0x322536):new URL(_0x322536,window[_0xb4201f(0x26a)][_0xb4201f(0x119)]);_0x43bd61[_0xb4201f(0xd2)]['set']('sessionTicket',_0x48fbc1);const _0x5a81c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb4201f(0x26a)][_0xb4201f(0x1b5)]);return _0x5a81c9[_0xb4201f(0xe1)]('runId')&&_0x43bd61[_0xb4201f(0xd2)][_0xb4201f(0x144)](_0xb4201f(0x116),_0x5a81c9[_0xb4201f(0xe1)](_0xb4201f(0x116))),_0x43bd61[_0xb4201f(0x12f)]();}async[_0x23ff9b(0x106)](){const _0x35af0c=_0x23ff9b;var _0x541212,_0xa036a2,_0x196675;const _0x2cd1b4=this[_0x35af0c(0x124)][_0x35af0c(0x166)](_0x11b14b),_0x5d27ed=(_0x541212=_0x2cd1b4==null?void 0x0:_0x2cd1b4[_0x35af0c(0x1aa)])!=null?_0x541212:_0x31d3af;return(_0x196675=(_0xa036a2=(await this[_0x35af0c(0x11a)][_0x35af0c(0xe1)](_0x5d27ed,{'headers':{'Content-Type':_0x35af0c(0x1c4)}}))[_0x35af0c(0x207)])==null?void 0x0:_0xa036a2[_0x35af0c(0x225)])!=null?_0x196675:'';}};nt=Rn([z(0x0,_0xd50dcd(_0x8ce219)),z(0x1,_0xd50dcd(_0x1c7672)),z(0x2,_0x533f06),z(0x3,_0x258406),z(0x4,_0x3b2333)],nt);const rt=0x7530,ot=_0x23ff9b(0x1cf);class Kn extends _0x5e0670{constructor(){const _0x5a0828=_0x23ff9b;super(),h(this,_0x5a0828(0xf1),_0x1a78d2()),h(this,_0x5a0828(0xff),new Set()),h(this,_0x5a0828(0x1a5),new Map()),h(this,_0x5a0828(0xba),null),h(this,_0x5a0828(0x1cb),new Map()),h(this,_0x5a0828(0x179),new Map()),this['_init']();}[_0x23ff9b(0x244)](){const _0x47f8fb=_0x23ff9b;super['dispose'](),this[_0x47f8fb(0x1cb)][_0x47f8fb(0x222)]((_0x44bde4,_0x30774f)=>this[_0x47f8fb(0x245)](_0x30774f)),this['_heartbeatTimer']&&window[_0x47f8fb(0x26b)](this[_0x47f8fb(0xba)]);}[_0x23ff9b(0x1bb)](_0x3e5c37){const _0x280249=_0x23ff9b;return this[_0x280249(0x1f5)](_0x3e5c37)[_0x280249(0x24d)](_0x2a0d31());}[_0x23ff9b(0x1ea)](_0x337a8f){const _0x39350b=_0x23ff9b;this[_0x39350b(0xff)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x39350b(0x268)](_0x337a8f),this['_send']({'type':0x0,'memberID':this[_0x39350b(0xf1)],'unitIDs':[_0x337a8f],'isForwarded':!0x1});}[_0x23ff9b(0x1fb)](_0x56a8a9){const _0x2d53a2=_0x23ff9b;this[_0x2d53a2(0xff)][_0x2d53a2(0x223)](_0x56a8a9),this[_0x2d53a2(0xff)]['size']===0x0&&this[_0x2d53a2(0xba)]&&window[_0x2d53a2(0x26b)](this['_heartbeatTimer']);}['_init'](){const _0x3bb23c=_0x23ff9b;this[_0x3bb23c(0x20c)](_0x1a3234(_0x37d196(window,_0x3bb23c(0x23e))[_0x3bb23c(0xa6)](_0x3efcb8=>{const _0xc420ea=_0x3bb23c;if(_0x3efcb8[_0xc420ea(0xb7)]!==ot||!_0x3efcb8[_0xc420ea(0x267)])return;const _0x385178=JSON[_0xc420ea(0x22a)](_0x3efcb8['newValue']);this['_handleEvent'](_0x385178);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3bb23c(0xff)])}));}[_0x23ff9b(0xf3)](_0x54ec1d){const _0x104981=_0x23ff9b;switch(_0x54ec1d[_0x104981(0x239)]){case 0x0:this['_handleJoinEvent'](_0x54ec1d);break;case 0x1:this[_0x104981(0x200)](_0x54ec1d);break;case 0x2:this[_0x104981(0x1ed)](_0x54ec1d);break;}}[_0x23ff9b(0x23d)](_0x3d8ba0){const _0x3a2a1f=_0x23ff9b,{unitIDs:_0x2d3f4d,memberID:_0x5edd40,isForwarded:_0x1aa94c}=_0x3d8ba0;_0x2d3f4d['forEach'](_0xd900ef=>{const _0x3a45b5=_0x4b78;if(!_0x1aa94c&&this[_0x3a45b5(0x1a5)][_0x3a45b5(0x232)](_0xd900ef)&&this[_0x3a45b5(0x1f5)](_0xd900ef)[_0x3a45b5(0x1ec)](_0x32effc[_0x3a45b5(0x20e)]),!this[_0x3a45b5(0x1a5)][_0x3a45b5(0x232)](_0xd900ef)||!this['_unitOnClients'][_0x3a45b5(0xe1)](_0xd900ef)[_0x3a45b5(0x232)](_0x5edd40)){const _0x5e189c=this[_0x3a45b5(0x1a5)]['get'](_0xd900ef)||new Set();_0x5e189c[_0x3a45b5(0x268)](_0x5edd40),this[_0x3a45b5(0x1a5)][_0x3a45b5(0x144)](_0xd900ef,_0x5e189c),this[_0x3a45b5(0x132)](_0x5edd40);}}),_0x1aa94c||this[_0x3a2a1f(0x1dc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3a2a1f(0xff)]],'isForwarded':!0x0});}[_0x23ff9b(0x132)](_0x1e10f5){const _0x241a43=_0x23ff9b;this[_0x241a43(0x245)](_0x1e10f5);const _0x5f2434=window[_0x241a43(0xfd)](()=>{const _0x31ded7=_0x241a43;this[_0x31ded7(0x1a5)]['forEach'](_0x36dac4=>{_0x36dac4['delete'](_0x1e10f5);});},rt*0x2);this[_0x241a43(0x1cb)][_0x241a43(0x144)](_0x1e10f5,_0x5f2434);}[_0x23ff9b(0x245)](_0x3d8265){const _0x242a26=_0x23ff9b;if(this[_0x242a26(0x1cb)]['has'](_0x3d8265)){const _0x5e5809=this[_0x242a26(0x1cb)][_0x242a26(0xe1)](_0x3d8265);_0x5e5809&&window[_0x242a26(0x171)](_0x5e5809),this['_clearOtherTimers']['set'](_0x3d8265,null);}}[_0x23ff9b(0x200)](_0x2a4985){const _0x199b42=_0x23ff9b,{memberID:_0x50a7e8,unitIDs:_0xd54a59}=_0x2a4985;_0xd54a59[_0x199b42(0x222)](_0xc6be1b=>{const _0x2e4e0c=_0x199b42;var _0x417f71;const _0x5991f7=this['_unitOnClients'][_0x2e4e0c(0xe1)](_0xc6be1b);_0x5991f7&&(_0x5991f7[_0x2e4e0c(0x223)](_0x50a7e8),(_0x417f71=this[_0x2e4e0c(0x1f5)](_0xc6be1b))==null||_0x417f71[_0x2e4e0c(0x1ec)](_0x5991f7[_0x2e4e0c(0x256)]===0x0?_0x32effc['NO_OTHER_CLIENTS_EDITING']:_0x32effc[_0x2e4e0c(0x20e)]));}),this[_0x199b42(0x245)](_0x50a7e8);}[_0x23ff9b(0x1ed)](_0x4494ac){const _0x220281=_0x23ff9b;this[_0x220281(0x132)](_0x4494ac[_0x220281(0x7a)]);}[_0x23ff9b(0x1dc)](_0x40e614){const _0x181dd6=_0x23ff9b;localStorage[_0x181dd6(0xbf)](ot,JSON['stringify'](_0x40e614));}[_0x23ff9b(0xa4)](){const _0x1b4b08=_0x23ff9b;this['_heartbeatTimer']=window[_0x1b4b08(0x141)](()=>{const _0x4c1fb2=_0x1b4b08;this[_0x4c1fb2(0x1dc)]({'type':0x2,'memberID':this[_0x4c1fb2(0xf1)]});},rt);}[_0x23ff9b(0x1f5)](_0x1a4512){const _0x38ad0c=_0x23ff9b;return this[_0x38ad0c(0x179)][_0x38ad0c(0x232)](_0x1a4512)||this[_0x38ad0c(0x179)][_0x38ad0c(0x144)](_0x1a4512,new _0x3de8b5(_0x32effc[_0x38ad0c(0x155)])),this[_0x38ad0c(0x179)][_0x38ad0c(0xe1)](_0x1a4512);}}var Lt=(_0x14f3fd=>(_0x14f3fd[_0x14f3fd[_0x23ff9b(0x195)]=0x0]=_0x23ff9b(0x195),_0x14f3fd[_0x14f3fd['OK']=0x1]='OK',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x218)]=0x2]=_0x23ff9b(0x218),_0x14f3fd[_0x14f3fd['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x14f3fd[_0x14f3fd['NOT_FOUND']=0x4]=_0x23ff9b(0x217),_0x14f3fd[_0x14f3fd[_0x23ff9b(0xc1)]=0x5]='UNAUTHENTICATED',_0x14f3fd[_0x14f3fd['ALREADY_EXISTS']=0x6]=_0x23ff9b(0x168),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x78)]=0x7]=_0x23ff9b(0x78),_0x14f3fd[_0x14f3fd[_0x23ff9b(0xd1)]=0x8]=_0x23ff9b(0xd1),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x10f)]=0x9]=_0x23ff9b(0x10f),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x109)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x249)]=0x1771]=_0x23ff9b(0x249),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x75)]=0x1772]=_0x23ff9b(0x75),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x1ae)]=0x1773]=_0x23ff9b(0x1ae),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x102)]=0x1b59]=_0x23ff9b(0x102),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x9c)]=0x1b5a]=_0x23ff9b(0x9c),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x252)]=0x1b5b]=_0x23ff9b(0x252),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x96)]=0x1b5c]=_0x23ff9b(0x96),_0x14f3fd[_0x14f3fd['APPLY_DUPLICATED']=0x1b5d]=_0x23ff9b(0x93),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x21f)]=0x1f41]=_0x23ff9b(0x21f),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x226)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x150)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x1a1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x14f3fd[_0x14f3fd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x7d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x14f3fd[_0x14f3fd['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x23ff9b(0x205),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x238)]=0x2712]=_0x23ff9b(0x238),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x202)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x14f3fd[_0x14f3fd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x23ff9b(0x14b),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x228)]=0x2af9]=_0x23ff9b(0x228),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x206)]=-0x1]=_0x23ff9b(0x206),_0x14f3fd))(Lt||{}),Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x114f67,_0x19c981,_0x1c24e6,_0x24cf7d)=>{const _0x2d0f6c=_0x23ff9b;for(var _0x3c78a9=_0x24cf7d>0x1?void 0x0:_0x24cf7d?Dn(_0x19c981,_0x1c24e6):_0x19c981,_0x566e19=_0x114f67[_0x2d0f6c(0x1f4)]-0x1,_0x5bef03;_0x566e19>=0x0;_0x566e19--)(_0x5bef03=_0x114f67[_0x566e19])&&(_0x3c78a9=_0x5bef03(_0x3c78a9)||_0x3c78a9);return _0x3c78a9;},Te=(_0x253bf4,_0xaa268a)=>(_0x4d0d3,_0x58730d)=>_0xaa268a(_0x4d0d3,_0x58730d,_0x253bf4);let at=class extends _0x5e0670{constructor(_0x8cd926,_0xcd882f,_0x51fa98){const _0x5f5d0e=_0x23ff9b;super(),this[_0x5f5d0e(0x1db)]=_0x8cd926,this[_0x5f5d0e(0x11a)]=_0xcd882f,this[_0x5f5d0e(0x124)]=_0x51fa98;}async['runOnServer'](_0x59d624,_0x450deb,_0x5d336e,..._0x36059f){const _0x5ab986=_0x23ff9b;var _0x586f80,_0x58bda4,_0xdde835,_0x41a915;const _0x794422=this[_0x5ab986(0x1db)][_0x5ab986(0x19e)]();if(!_0x794422)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x11fc42=((_0x586f80=this[_0x5ab986(0x124)][_0x5ab986(0x166)](_0x9a5b6d))!=null?_0x586f80:_0x512cab)+'/'+_0x59d624+_0x5ab986(0x13d)+_0x450deb,_0x40f65d=new URL(window[_0x5ab986(0x26a)]['href']),_0x177d55={'scriptId':_0x59d624,'runId':(_0x58bda4=_0x40f65d[_0x5ab986(0xd2)][_0x5ab986(0xe1)]('runId'))!=null?_0x58bda4:'','function':_0x450deb,'unitId':_0x794422['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x36059f),'invokeId':(_0xdde835=_0x5d336e['invokeId'])!=null?_0xdde835:'','executionId':(_0x41a915=_0x5d336e[_0x5ab986(0x20b)])!=null?_0x41a915:''};try{const _0x568b47=await this['_httpService'][_0x5ab986(0x17c)](_0x11fc42,{'body':_0x177d55});return _0x568b47[_0x5ab986(0x207)][_0x5ab986(0xb9)]&&_0x568b47[_0x5ab986(0x207)][_0x5ab986(0xb9)][_0x5ab986(0x19a)]!==Lt['OK']?'Failed':_0x568b47[_0x5ab986(0x207)][_0x5ab986(0x99)];}catch{return'Failed';}}};at=Pn([Te(0x0,_0x1c8a5a),Te(0x1,_0xd50dcd(_0x1c7672)),Te(0x2,_0x533f06)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,qi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,at as RemoteUniscriptService,yi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Kn as WebBrowserSingleActiveUnitService,vn as WebURLService};
|
|
1
|
+
const _0x3339d5=_0x587f;(function(_0x15a19e,_0xf06337){const _0x183a74=_0x587f,_0xb09226=_0x15a19e();while(!![]){try{const _0x38e3c9=parseInt(_0x183a74(0x126))/0x1+parseInt(_0x183a74(0x1a6))/0x2*(-parseInt(_0x183a74(0xe1))/0x3)+parseInt(_0x183a74(0xc1))/0x4+-parseInt(_0x183a74(0x241))/0x5+-parseInt(_0x183a74(0x1be))/0x6+parseInt(_0x183a74(0xf6))/0x7+parseInt(_0x183a74(0x19f))/0x8;if(_0x38e3c9===_0xf06337)break;else _0xb09226['push'](_0xb09226['shift']());}catch(_0x3d3538){_0xb09226['push'](_0xb09226['shift']());}}}(_0x414c,0xc62eb));var kt=Object[_0x3339d5(0x102)],Bt=(_0x353da2,_0x4ec6af,_0x5443a1)=>_0x4ec6af in _0x353da2?kt(_0x353da2,_0x4ec6af,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5443a1}):_0x353da2[_0x4ec6af]=_0x5443a1,h=(_0x4c2b6d,_0x5090b3,_0x3c9607)=>Bt(_0x4c2b6d,typeof _0x5090b3!='symbol'?_0x5090b3+'':_0x5090b3,_0x3c9607);import{MemberService as _0x433a68,SessionStatus as _0x2d1dd8,CollaborationSessionService as _0x212484,CollaborationStatus as _0x41f6d3,CollaborationController as _0x2a81e4,ILocalCacheService as _0x3bff1c,CollaborationUIEventService as _0x67f5fc,CollaborationUIEventId as _0x265463,DataLoaderService as _0x49491c,DocCollaborationEntity as _0x5ebf78,getLocalCacheKey as _0x3ea19b,LOCAL_CACHE_INTERVAL as _0x57c8e3,LOCAL_CACHE_INTERVAL_KEY as _0x421815,UniverCollaborationClientPlugin as _0x21de00,CollaborationSocketService as _0x449592,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x510817,DEFAULT_WS_SESSION_TICKET_URL as _0x220565,UnitStatus as _0x27a9b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x26174b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4aa098}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x560405,Disposable as _0x2bd1d4,DOC_RANGE_TYPE as _0x30e664,Inject as _0x482cd6,Injector as _0x3c7991,IUniverInstanceService as _0x4b01c1,ICommandService as _0x4514f4,debounce as _0x4d3bad,Rectangle as _0x3d7f1b,DisposableCollection as _0x3f5349,toDisposable as _0x12fcb9,UniverInstanceType as _0x3fe5fd,Tools as _0x44d009,COLORS as _0x220bae,ColorKit as _0x3b232c,ThemeService as _0x3afe55,fromEventSubject as _0x497e49,LocaleService as _0x5497a5,createIdentifier as _0x2a5f17,ILogService as _0x4d7927,Optional as _0x3d7ff8,Workbook as _0x587ddd,CommandType as _0x13761c,IConfigService as _0x449af2,ILocalStorageService as _0x5017ac,DependentOn as _0x1917f6,Plugin as _0x92c45,merge as _0x219969,registerDependencies as _0x4f1a3f,mergeOverrideWithDependencies as _0x7fa595,touchDependencies as _0x4b86e1,generateRandomId as _0x1eae00}from'@univerjs/core';import{Shape as _0x15a83f,Rect as _0x4b981c,getColor as _0x2e2eef,RegularPolygon as _0xa367a7,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xd4f0f0,Vector2 as _0x4ea2cd,SHEET_VIEWPORT_KEY as _0x59b954,IRenderManagerService as _0x1d30b1}from'@univerjs/engine-render';import{ISocketService as _0x5bb4bb,WebSocketService as _0x39824d,HTTPService as _0x577891}from'@univerjs/network';import{IDocClipboardService as _0x4f9c70,NodePositionConvertToCursor as _0x1de406,NodePositionConvertToRectRange as _0x413958,TEXT_RANGE_LAYER_INDEX as _0x1f3793,SetDocZoomRatioOperation as _0x24ceeb,DocIMEInputManagerService as _0x340d1f,DocStateChangeManagerService as _0x1d3dda}from'@univerjs/docs-ui';import{IImageIoService as _0x4d3129}from'@univerjs/drawing';import{BehaviorSubject as _0x2a8032,debounceTime as _0x43bed1,takeUntil as _0x535f62,Subject as _0x12f9d1,filter as _0x3c6f92,switchMap as _0x493419,merge as _0x493055,combineLatest as _0x12e470,of as _0x46a1eb,fromEvent as _0x4b29d5,shareReplay as _0x188ffe,mapTo as _0x2b8fca,distinctUntilChanged as _0x459010}from'rxjs';import{SetTextSelectionsOperation as _0x3d0e26,RichTextEditingMutation as _0x1ccc48,DocSelectionManagerService as _0x5a4d54,DocSkeletonManagerService as _0x4b21f1}from'@univerjs/docs';import{ITransformService as _0x4fdee5,CollaborationEvent as _0x2558b2,isTransformMutationFailure as _0x300d8c,isTransformMutationsWithChangesetSuccess as _0x4c6bf8,RevisionService as _0x174477,ISnapshotServerService as _0x231dc3}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x122fc0,serializeRangeWithSheet as _0x37a7fe}from'@univerjs/engine-formula';import{RefRangeService as _0x1f5a4c,SetSelectionsOperation as _0x5cb96c,SheetsSelectionsService as _0x537fa8,EffectRefRangId as _0x391a0c,handleIRemoveRow as _0x35b3fb,handleIRemoveCol as _0x17365a,handleMoveRange as _0x221d35,handleInsertRow as _0x48ddf8,handleInsertRangeMoveRight as _0x31528e,handleInsertRangeMoveDown as _0x5225b6,handleInsertCol as _0x3f4bdd,handleDeleteRangeMoveUp as _0x34af19,handleDeleteRangeMoveLeft as _0x45ba43,runRefRangeMutations as _0x3a7a88,SetWorksheetActivateCommand as _0x2fe2a3}from'@univerjs/sheets';import{map as _0x28fd14,filter as _0x2bfcd1,throttleTime as _0xcf782a,takeUntil as _0x48338a,switchMap as _0x34d2e9}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35c5fe,getCoordByCell as _0x365891,getSheetObject as _0x742b9b}from'@univerjs/sheets-ui';import{jsx as _0x2f3542,jsxs as _0x120244}from'react/jsx-runtime';import{useObservable as _0x4cb4ae,useDependency as _0x2b548a,IUIPartsService as _0x25df11,BuiltInUIPart as _0x3f1d44,connectInjector as _0x52732,IBeforeCloseService as _0x506cd9,IMessageService as _0x4b68b1,INotificationService as _0x142dbc}from'@univerjs/ui';import{clsx as _0x15b967,Tooltip as _0x10b901,MessageType as _0xa98450}from'@univerjs/design';function _0x414c(){const _0x30b5cb=['_shapes','CLOSE_ROOM','session.connection-failed','url(#on-line-single_clip0_910_349)','push','_drawRectRange','InsertRowCommandId','createInstance','getUnitStatus$','row','_handleEvent','stringify','NO_OTHER_CLIENTS_EDITING','onCommandExecuted','NOT_FOUND','textRanges','toString','transformMutation','OTHER_CLIENTS_EDITING','subscribeEvent','_drawTextRange','restore','column','SOCKET_FAILED','_getScale','className','origin','collab-client.tooltip.reconnect','#fff','loadUnit','Error','Unknown\x20user','collab-rect-range-','_initEvent','_config','storage','INTERNAL_ERROR','popstate','height','roomMembers$','svg','transformIMECache','getFocusedUnit','focused$','clearTimeout','univerjs-icon\x20univerjs-icon-','APPLY_DUPLICATED','registerRenderModule','OFFLINE','transformByState','disposeWithMe','skeleton','propertyIsEnumerable','from','_color','complete','disposeUnit','univer-flex\x20univer-items-center','_cursorShapes','APPLY_REVISION_CONFILICT','_selfUnitIDs','hovered','m1Prime','RECT','send','with','newValue','bottom','getTypeOfUnitDisposed$','getStateCache','colorChannel1','univer-online-status-icon','getUndoRedoMutationParamsCache','getCurrentSelections','_anchor','_docTransformStateCacheService','onlineStatus','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','_httpService','_onCursorDelete','_initStatusListener','labelPosition','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeCollabCursors','fillText','findNodePositionByCharIndex','length','cursorInfo','measureText','icon','AWAITING','syncEditingCollabCursor','CHANGESET_REVISION_CONFILICT','_localeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','call','_docSkeleton','getUnitId','transformSelections','_anchorDot','_context','getSheetId','verdancy600','univer-online','_document','eventID','url(#$1','executeCommand','4975800opbJev','[CollaborationDataLoaderController]','_initResize','_getSaveTimeout','roomMembers','session.will-retry','UNIVER_SHEET','m2Prime','jiqing500','getOwnPropertySymbols','_hovered','_registerDependencies','getMergeData','addObject','_refreshCollabCursors','engine','trim','SOCKET_FAILED_RETRY','_localCacheService','collabCursorState$','_localStorageService','_hover','clearInterval','runId','YUUMI_SUBSCRIPTION_NOT_FOUND','path','startColumn','substring','docStateChange$','override','_getSheetObject','DeleteRangeMoveUpCommandId','unitID','hide','collabStatus.synced','saveImage','saveOfflineData','_refRangeService','getUniverSheetInstance','editingUnit','_render','_notificationService','all','_toggleOffline','OTHER_CLIENT_EDITING','_transformPreviousActiveRange','_instanceService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SNAPSHOT_INVALID_SNAPSHOT','collabStatus.fetchMiss','xlink:href','onlineStatusTitle','dispose','PERMISSION_DENIED','_collaborationController','evenodd','runOnServer','get','unit','entityInit$','_transformService','_transformHistoryAndStateStack','invokeId','_hideTimer','online','currentTheme$','UNDEFINED','getCurrentRevOfUnit','fillRule','selection','offline','onTransformChange$','string','use','_setupBeforeClosingHandler','black','sessionStatus$','saveTaskMap','range','unitId','_saveCache','_initCommandExecutedListener','mask','setInterval','permission.content','prototype','show','undoState','post','APPLY_NON_SEQUENTIAL_REVISION','clipPath','UNAUTHENTICATED','_scene','collaboration-client.offline-data-not-saved','tag','univer-online-status','YUUMI_RATE_OVER_LIMIT','ticket','_textBubble','collabStatus.notCollab','_registerRenderDependencies','M0\x200H16V16H0z','updateOfflineData','_colorIndex','_setupSubUnitSync','_imageIoService','getActiveSheet','InsertRangeMoveRightCommandId','OnLineSingle','onPointerEnter$','code','setAlpha','moveTo','_updateURLWithCurrentState','CONFLICT','#FFF','width','_assignedColors','_disabled','assignAColorForMemberID','_cursors','_backgroundColor','urlChange$','NOT_COLLAB','subunit','_docTransformIMECacheService','_scheduleClearOtherTimer','263796NkuTrW','APPLY_REJECT','_startSheetCollabCursor','setUndoRedoMutationParamsCache','actions','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','_updateCollabCursors','unsubscribe','_handleHover','event$','_collabSessionService','_cursor','idSuffix','forEach','_getMergeRange','_docSkeletonManagerService','transformMutationsWithChangeset','MUTATION','isEditing','getOwnPropertyDescriptor','getParam','add','selections','univer-online-status-title','MoveRangeCommandId','memberID','div','triggerDblclick','getDocRanges','_getAnchorBounding','135UwnHxX','_messageService','_handleHeartbeatEvent','has','_commandService','location','UniverIcon','closePath','unload','setTimeout','createSocket','_saveTaskMap','_collaborationUIEventService','fillStyle','pipe','error','getRenderById','_handleJoinEvent','_status$','_onCursorUpdate','VIEW_MAIN','3367966BZQGlM','min','_memberService','params','_docClipboardService','_injector','next','top','_init','1em','fill','currentSkeleton$','defineProperty','data','univer-offline','_ensureSubject','beginPath','_createSocketURL','UNIVER_DOC','getCollabEntity$','key','collabStatus.offline','LICENSE_DISTRO_REJECTED','collaboration.single-unit.warning','requireSession','_toggleOnline','getItem','_getSessionTicket','_sheetSkeletonManagerService','save','AWAITING_WITH_PENDING','InsertColCommandId','type','random','defIds','values','UNRECOGNIZED','_roomMembers$','generateRandomId','searchParams','concat','_range','body','doc.mutation.rich-text-editing','name','subUnitId','_online','resize','1495971AkzGIj','_urlService','subscribe','_configService','color','/run/','onMouseMove','_eventUnsubscribe','result','then','ALREADY_EXISTS','font','_docStateChangeManagerService','_labelPosition','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','parse','cursorInfo$','addObjects','pushState','ENSURE_SNAPSHOT_EXECUTION','_handleLeaveEvent','LICENSE_IMPORT_SIZE_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','LICENSE_MAX_UNITS_EXCEEDED','flatMap','_id','getSheetBySheetId','debug','_initEntityListener','sheetID','getCurrent','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','_startDocCollabCursor','_initDependencies','_updateSubUnitFromURLParams','entries','PY_RUNTIME_SCRIPT_ERROR','_draw','endRow','on-line-single_clip0_910_349','JOIN_ROOM_FAILED','collabStatus.syncing','lineTo','_beforeCloseService','sheetId','href','USERS_LEAVE','_unitOnClients','_entityInit$','registerBeforeClose','enableLocalCache','transformStateCache','application/json','apply','hasOwnProperty','_cursorInfo$','DeleteRangeMoveLeftCommandId','round','toRgbString','executionId','map','getConfig','SYNCED','LICENSE_EXPORT_SIZE_EXCEEDED','history','OffLineSingle','_clearOtherTimers','source','_colorAssignService','some','on-line-single','asObservable','_onRefRangeChange','attrs','UPDATE_CURSOR','registerRefRange','children','disableLocalCache','displayName','contains','RemoveColCommandId','0\x200\x2016\x2016','collab-text-anchor-','mutations','backgroundColor','_scheduleSaving','uni.network.url-service','replaceState','_revisionService','getRangePointData','setConfig','init','getAncestorScale','TEXT','onPointerLeave$','setParam','set','getTypeOfUnitAdded$','defs','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onlineStatusIcon','_docTransformSelectionsService','_collabCursorController','redoState','size','_collabCursorState$','isArray','_dataLoaderService','COMPLETION_FINISHED','indexOf','_transformUndoRedoStack','replace','arc','endColumn','getValue','_themeService','YUUMI_UNABLE_LOAD_URL','delete','extend','11886456jZgvwH','currentColor','deepClone','_univerInstanceService','purple300','_cachedData','addHandlerCallback','34350FyrGXZ','Warning','addClipboardHook','text','_logService','_initStatusComponent','whenReady','_syncEditingCollabCursorService','...','ONLINE','dispose$','_lastPointer','getCollabCursors$','_name','transformRemoteChangeset','_session','drawWith','onStarting','off-line-single','setShapeProps','startsWith','isActive','_send','_renderManagerService','5694450UuIXkw','collabStatus.conflict','removeParam','INVALID_ARGUMENT','_entities','current','collaboration.closeRoom','search','registerComponent','_doCreateSocket','getMemberID','collab-text-range-','PENDING','unshift','SNAPSHOT_HAS_BEEN_REMOVED','assign','setItem','_heartbeatTimer','_unitStatus','_updateLocalCursor','FromArray','YUUMI_URL_COL_OUT_OF_RANGE','ranges'];_0x414c=function(){return _0x30b5cb;};return _0x414c();}import{forwardRef as _0x3649c0,useRef as _0x1d45fc,createElement as _0x8a5a6d,useCallback as _0x1a2357}from'react';import{IRemoteInstanceService as _0x3cab73}from'@univerjs/rpc';var li=Object[_0x3339d5(0xd6)],hi=(_0xd79004,_0x21859d,_0x56b87a,_0x33387e)=>{const _0x8230e=_0x3339d5;for(var _0x5051e9=_0x33387e>0x1?void 0x0:_0x33387e?li(_0x21859d,_0x56b87a):_0x21859d,_0x3b7c8e=_0xd79004[_0x8230e(0x22b)]-0x1,_0x42444f;_0x3b7c8e>=0x0;_0x3b7c8e--)(_0x42444f=_0xd79004[_0x3b7c8e])&&(_0x5051e9=_0x42444f(_0x5051e9)||_0x5051e9);return _0x5051e9;},qe=(_0x473363,_0xda0a57)=>(_0x17ba0d,_0x34b8af)=>_0xda0a57(_0x17ba0d,_0x34b8af,_0x473363);let Me=class extends _0x560405{constructor(_0x4fa64b,_0x20eeb){const _0x23f53f=_0x3339d5;super(),this[_0x23f53f(0xfa)]=_0x4fa64b,this[_0x23f53f(0xab)]=_0x20eeb,this[_0x23f53f(0xfe)]();}[_0x3339d5(0xfe)](){const _0x562b14=_0x3339d5,_0x94c657=this;this[_0x562b14(0x207)](this[_0x562b14(0xfa)][_0x562b14(0x1a8)]({'onBeforePasteImage':async _0x4c188d=>{const _0x25371d=_0x562b14,_0x2edf05=await _0x94c657['_imageIoService'][_0x25371d(0x264)](_0x4c188d);return _0x2edf05?{'source':_0x2edf05[_0x25371d(0x16b)],'imageSourceType':_0x2edf05['imageSourceType']}:null;}}));}};Me=hi([qe(0x0,_0x4f9c70),qe(0x1,_0x4d3129)],Me);const Qe=[_0x3339d5(0x1a3),_0x3339d5(0x249),_0x3339d5(0x23b),'red300','blue400','gold400'];class He extends _0x2bd1d4{constructor(){const _0x18a7a3=_0x3339d5;super(...arguments),h(this,_0x18a7a3(0xb7),new Map()),h(this,_0x18a7a3(0xa9),0x0);}[_0x3339d5(0xb9)](_0xf4cb4a){const _0x27d8da=_0x3339d5;if(this[_0x27d8da(0xb7)][_0x27d8da(0xe4)](_0xf4cb4a))return this[_0x27d8da(0xb7)][_0x27d8da(0x27a)](_0xf4cb4a);const _0x56aa9c=Qe[this[_0x27d8da(0xa9)]];return this['_colorIndex']=(this[_0x27d8da(0xa9)]+0x1)%Qe['length'],this[_0x27d8da(0xb7)]['set'](_0xf4cb4a,_0x56aa9c),_0x56aa9c;}}function Dt(_0x42e575){const _0xb9e93c=_0x3339d5;let _0x2fcbfd='';for(const _0x411b09 of _0x42e575){const {startOffset:_0x25b37c,endOffset:_0x3f0af1,isActive:_0x3ae70a,rangeType:_0x406d25,segmentId:_0x1e051d,segmentPage:_0x1992d}=_0x411b09;_0x2fcbfd[_0xb9e93c(0x22b)]&&(_0x2fcbfd+=','),_0x2fcbfd+=_0x25b37c+':'+_0x3f0af1+':'+(_0x3ae70a?'1':'0')+':'+_0x406d25+':'+_0x1e051d+':'+_0x1992d;}return _0x2fcbfd;}function _i(_0x270b16){const _0x4f0667=_0x3339d5,_0x3fcd59=_0x270b16['split'](','),_0x2f4424=[];for(const _0x5d0c5d of _0x3fcd59){const [_0x2e0388,_0x490099,_0x1494a6,_0x27861a,_0x1ac4e1,_0x1d9e73]=_0x5d0c5d['split'](':');_0x2f4424['push']({'startOffset':Number(_0x2e0388),'endOffset':Number(_0x490099),'collapsed':_0x2e0388===_0x490099,'isActive':_0x1494a6==='1','rangeType':_0x27861a===_0x30e664[_0x4f0667(0x185)]?_0x30e664[_0x4f0667(0x185)]:_0x30e664[_0x4f0667(0x214)],'segmentId':typeof _0x1ac4e1==_0x4f0667(0x289)?String(_0x1ac4e1):'','segmentPage':Number(_0x1d9e73!=null?_0x1d9e73:-0x1)});}return _0x2f4424[_0x4f0667(0x16d)](_0x27e1e4=>_0x27e1e4['isActive'])||(_0x2f4424[0x0][_0x4f0667(0x1bb)]=!0x0),_0x2f4424;}class je extends _0x560405{constructor(){const _0x3fabc9=_0x3339d5;super(...arguments),h(this,_0x3fabc9(0x191),new _0x2a8032(null)),h(this,_0x3fabc9(0x254),this[_0x3fabc9(0x191)][_0x3fabc9(0x16f)]());}[_0x3339d5(0x230)](_0x575d69){const _0x4fca1f=_0x3339d5,{unitID:_0x4091f5,memberID:_0x58af83,textRanges:_0x277f68}=_0x575d69,_0x18b16b=Dt(_0x277f68);if(_0x18b16b==='')return;const _0x9fc8e0={'unitID':_0x4091f5,'memberID':_0x58af83,'selection':_0x18b16b};this[_0x4fca1f(0x191)]['next'](_0x9fc8e0);}}var ui=Object[_0x3339d5(0xd6)],di=(_0x108aeb,_0x2d5697,_0x2ebe0e,_0x39379c)=>{const _0xe22e0=_0x3339d5;for(var _0x381a9c=_0x39379c>0x1?void 0x0:_0x39379c?ui(_0x2d5697,_0x2ebe0e):_0x2d5697,_0x16579b=_0x108aeb[_0xe22e0(0x22b)]-0x1,_0x57acb0;_0x16579b>=0x0;_0x16579b--)(_0x57acb0=_0x108aeb[_0x16579b])&&(_0x381a9c=_0x57acb0(_0x381a9c)||_0x381a9c);return _0x381a9c;},U=(_0x169161,_0x2a3ddc)=>(_0x154c7b,_0x3a4d42)=>_0x2a3ddc(_0x154c7b,_0x3a4d42,_0x169161);const fi=0x12c,Si=0x64;let Ne=class extends _0x560405{constructor(_0x1c8cab,_0x1bd95,_0x3e7862,_0x177d19,_0x49fbfe,_0xb9a7e4,_0x900648,_0x169adc,_0x2f6c49){const _0x23b0ec=_0x3339d5;super(),h(this,_0x23b0ec(0x124),!0x1),h(this,_0x23b0ec(0xfe),!0x1),h(this,'_cursorInfo$',new _0x2a8032(new Map())),h(this,_0x23b0ec(0x137),this[_0x23b0ec(0x15f)][_0x23b0ec(0x16f)]()),h(this,_0x23b0ec(0x11b),new _0x2a8032([])),h(this,'roomMembers$',this[_0x23b0ec(0x11b)][_0x23b0ec(0xef)](_0x43bed1(fi))),h(this,_0x23b0ec(0x1d1),_0x4d3bad(_0x15d9a1=>{const _0x341886=_0x23b0ec,_0x5886e3={'eventID':_0x2558b2[_0x341886(0x172)],'data':{'unitID':this[_0x341886(0x261)],'memberID':this['_session']['getMemberID'](),'selection':Dt(_0x15d9a1)}};this['_session'][_0x341886(0x215)](_0x5886e3,this[_0x341886(0x261)]);},Si)),(this['unitID']=_0x1c8cab,this['_session']=_0x1bd95,this[_0x23b0ec(0xfb)]=_0x3e7862,this[_0x23b0ec(0x16c)]=_0x177d19,this[_0x23b0ec(0xf8)]=_0x49fbfe,this[_0x23b0ec(0x1ad)]=_0xb9a7e4,this['_transformService']=_0x900648,this['_univerInstanceService']=_0x169adc,this['_commandService']=_0x2f6c49);}get[_0x3339d5(0x22c)](){const _0x1adaea=_0x3339d5;return this[_0x1adaea(0x15f)][_0x1adaea(0x19a)]();}get['roomMembers'](){const _0x484b72=_0x3339d5;return this[_0x484b72(0x11b)]['getValue']();}[_0x3339d5(0x275)](){const _0x44a74b=_0x3339d5;super[_0x44a74b(0x275)](),this[_0x44a74b(0x15f)][_0x44a74b(0xfc)](new Map()),this[_0x44a74b(0x15f)]['complete'](),this[_0x44a74b(0x11b)]['next']([]),this['_roomMembers$']['complete']();}['init'](){const _0x3f7fd1=_0x3339d5;this[_0x3f7fd1(0xfe)]||(this[_0x3f7fd1(0xfe)]=!0x0,this[_0x3f7fd1(0x1b5)][_0x3f7fd1(0x28d)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))['subscribe'](_0x4f6681=>{const _0x1a4de7=_0x3f7fd1;_0x4f6681===_0x2d1dd8[_0x1a4de7(0x1af)]?this['_toggleOnline']():this[_0x1a4de7(0x26c)]();}),this['_session'][_0x3f7fd1(0xcc)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))[_0x3f7fd1(0x128)](_0x3742d=>{const _0x3090f9=_0x3f7fd1,_0x3154d2=_0x3742d['eventID'];_0x3154d2===_0x2558b2['UPDATE_CURSOR']&&this[_0x3090f9(0xf4)](_0x3742d),_0x3154d2===_0x2558b2['USERS_LEAVE']&&this[_0x3090f9(0x224)](_0x3742d);}),this[_0x3f7fd1(0x207)](this[_0x3f7fd1(0xe5)][_0x3f7fd1(0x1e2)](_0xda6587=>{const _0x11cd7c=_0x3f7fd1,_0x52d0fb=_0xda6587[_0x11cd7c(0xf9)];_0x52d0fb!=null&&this[_0x11cd7c(0x124)]&&_0xda6587['id']===_0x3d0e26['id']&&_0x52d0fb[_0x11cd7c(0x290)]===this[_0x11cd7c(0x261)]&&_0x52d0fb[_0x11cd7c(0xd5)]===!0x1&&_0x52d0fb[_0x11cd7c(0x1d4)][_0x11cd7c(0x22b)]>0x0&&this[_0x11cd7c(0x1d1)](_0x52d0fb[_0x11cd7c(0x1d4)]);})),this[_0x3f7fd1(0x1ad)][_0x3f7fd1(0x254)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))[_0x3f7fd1(0x128)](_0x67cdfa=>{const _0x4d1263=_0x3f7fd1;if((_0x67cdfa==null?void 0x0:_0x67cdfa[_0x4d1263(0x261)])!==this[_0x4d1263(0x261)])return;const _0x3b3e64={'eventID':_0x2558b2[_0x4d1263(0x172)],'data':_0x67cdfa};this[_0x4d1263(0xf4)](_0x3b3e64);}),this['disposeWithMe'](this[_0x3f7fd1(0xe5)][_0x3f7fd1(0x1e2)](_0x405259=>{const _0x54962a=_0x3f7fd1;if(_0x405259['params']==null)return;const _0x10552d=_0x405259[_0x54962a(0xf9)];if(_0x405259['id']!==_0x1ccc48['id']||_0x10552d[_0x54962a(0x290)]!==this[_0x54962a(0x261)])return;const _0x365c15={'id':_0x54962a(0x121),'params':_0x10552d},_0x5b23d7=this['cursorInfo'];for(const [_0x5087af,_0x4f357f]of _0x5b23d7){const _0x36a9fd={'id':_0x54962a(0x121),'params':{'unitId':this[_0x54962a(0x261)],'actions':null,'textRanges':_0x4f357f['ranges']}},_0x1a6b3a=this['_transformService'][_0x54962a(0x1e6)](_0x365c15,_0x36a9fd,!0x1);if(_0x300d8c(_0x1a6b3a))throw _0x1a6b3a[_0x54962a(0xf0)];_0x5b23d7[_0x54962a(0x188)](_0x5087af,{..._0x4f357f,'ranges':_0x1a6b3a[_0x54962a(0x248)][_0x54962a(0xf9)]['textRanges']});}queueMicrotask(()=>{const _0x148c10=_0x54962a;this['_cursorInfo$'][_0x148c10(0xfc)](_0x5b23d7);});})));}[_0x3339d5(0xf4)](_0xbfcf18){const _0x2cb94b=_0x3339d5;var _0x1dbbad,_0x63ab6c;const {memberID:_0x2b1232,selection:_0x26322b}=_0xbfcf18['data'],_0x27a31c=_i(_0x26322b),_0x4dc837=(_0x63ab6c=(_0x1dbbad=this[_0x2cb94b(0xf8)]['getMember'](this[_0x2cb94b(0x261)],_0x2b1232))==null?void 0x0:_0x1dbbad[_0x2cb94b(0x122)])!=null?_0x63ab6c:_0x2cb94b(0x1f4),_0x2b045d={'color':this[_0x2cb94b(0x16c)][_0x2cb94b(0xb9)](_0x2b1232),'name':_0x4dc837,'ranges':_0x27a31c},_0x56ca7c=this[_0x2cb94b(0x22c)];_0x56ca7c[_0x2cb94b(0x188)](_0x2b1232,_0x2b045d),this[_0x2cb94b(0x15f)][_0x2cb94b(0xfc)](_0x56ca7c);}['_onCursorDelete'](_0x595ae4){const _0x32040b=_0x3339d5,{memberID:_0x52abf3}=_0x595ae4[_0x32040b(0x103)],_0x33226f=this[_0x32040b(0x22c)];_0x33226f[_0x32040b(0x19d)](_0x52abf3),this[_0x32040b(0x15f)][_0x32040b(0xfc)](_0x33226f);}[_0x3339d5(0x10f)](){const _0x523aaa=_0x3339d5;var _0x111c10;if(this[_0x523aaa(0x124)]=!0x0,((_0x111c10=this[_0x523aaa(0x1a2)][_0x523aaa(0x1ff)]())==null?void 0x0:_0x111c10['getUnitId']())!==this[_0x523aaa(0x261)])return;const _0x3ac476=this[_0x523aaa(0xfb)][_0x523aaa(0x27a)](_0x5a4d54)[_0x523aaa(0xdf)]();Array[_0x523aaa(0x192)](_0x3ac476)&&_0x3ac476[_0x523aaa(0x22b)]>0x0&&this[_0x523aaa(0x1d1)](_0x3ac476);}[_0x3339d5(0x26c)](){const _0x4acd0c=_0x3339d5;this[_0x4acd0c(0x124)]=!0x1;}};Ne=di([U(0x2,_0x482cd6(_0x3c7991)),U(0x3,_0x482cd6(He)),U(0x4,_0x482cd6(_0x433a68)),U(0x5,_0x482cd6(je)),U(0x6,_0x4fdee5),U(0x7,_0x4b01c1),U(0x8,_0x4514f4)],Ne);var mi=Object[_0x3339d5(0xd6)],gi=(_0x1ffa8b,_0x381ca0,_0x4712e6,_0x3071cd)=>{for(var _0x1a9229=_0x3071cd>0x1?void 0x0:_0x3071cd?mi(_0x381ca0,_0x4712e6):_0x381ca0,_0x154646=_0x1ffa8b['length']-0x1,_0x42053b;_0x154646>=0x0;_0x154646--)(_0x42053b=_0x1ffa8b[_0x154646])&&(_0x1a9229=_0x42053b(_0x1a9229)||_0x1a9229);return _0x1a9229;},x=(_0x2f4c3d,_0x263933)=>(_0x15f5bd,_0x250ecc)=>_0x263933(_0x15f5bd,_0x250ecc,_0x2f4c3d);const vi=0x12c,Ii=0x64,pi=()=>{let _0x54ef17=[],_0x4e4482=!0x1;return _0x2e1c2a=>{const _0x51a763=_0x587f;_0x54ef17[_0x51a763(0x1d9)](_0x2e1c2a),_0x4e4482||(_0x4e4482=!0x0,setTimeout(()=>{const _0x20d084=_0x51a763;_0x54ef17[_0x20d084(0xd0)](_0x459e31=>_0x459e31()),_0x54ef17=[],_0x4e4482=!0x1;}));};};let we=class extends _0x560405{constructor(_0x4935b8,_0x670c8f,_0x329eb6,_0x3379cb,_0x94e10c,_0x59413c,_0x21de18,_0x296d78){const _0x2be48a=_0x3339d5;super(),h(this,_0x2be48a(0x124),!0x1),h(this,_0x2be48a(0xfe),!0x1),h(this,_0x2be48a(0x15f),new _0x2a8032(new Map())),h(this,_0x2be48a(0x137),this[_0x2be48a(0x15f)]['asObservable']()),h(this,_0x2be48a(0x11b),new _0x2a8032([])),h(this,_0x2be48a(0x1fc),this[_0x2be48a(0x11b)][_0x2be48a(0xef)](_0x43bed1(vi))),h(this,_0x2be48a(0x1d1),_0x4d3bad((_0x379a51,_0x34f536)=>{const _0x1bff48=_0x2be48a,_0x50ba00={'eventID':_0x2558b2[_0x1bff48(0x172)],'data':{'unitID':this[_0x1bff48(0x261)],'memberID':this[_0x1bff48(0x1b5)][_0x1bff48(0x1c8)](),'selection':_0x37a7fe(_0x379a51,_0x34f536[_0x1bff48(0x28f)])}};this[_0x1bff48(0x1b5)][_0x1bff48(0x215)](_0x50ba00,this[_0x1bff48(0x261)]);},Ii)),(this[_0x2be48a(0x261)]=_0x4935b8,this[_0x2be48a(0x1b5)]=_0x670c8f,this['_injector']=_0x329eb6,this[_0x2be48a(0x16c)]=_0x3379cb,this['_memberService']=_0x94e10c,this[_0x2be48a(0x1a2)]=_0x59413c,this['_commandService']=_0x21de18,this[_0x2be48a(0x266)]=_0x296d78);}get[_0x3339d5(0x22c)](){const _0x39495d=_0x3339d5;return this[_0x39495d(0x15f)][_0x39495d(0x19a)]();}get[_0x3339d5(0x245)](){const _0x2cdb22=_0x3339d5;return this['_roomMembers$'][_0x2cdb22(0x19a)]();}[_0x3339d5(0x275)](){const _0x503cbe=_0x3339d5;super['dispose'](),this[_0x503cbe(0x15f)][_0x503cbe(0xfc)](new Map()),this[_0x503cbe(0x15f)]['complete'](),this[_0x503cbe(0x11b)]['next']([]),this[_0x503cbe(0x11b)][_0x503cbe(0x20c)]();}[_0x3339d5(0x183)](){const _0x519b84=_0x3339d5;this[_0x519b84(0xfe)]||(this['_init']=!0x0,this[_0x519b84(0x1b5)][_0x519b84(0x28d)][_0x519b84(0xef)](_0x535f62(this['dispose$']))[_0x519b84(0x128)](_0x3e1aa7=>{const _0x4f8048=_0x519b84;_0x3e1aa7===_0x2d1dd8['ONLINE']?this[_0x4f8048(0x10f)]():this['_toggleOffline']();}),this[_0x519b84(0x1b5)]['event$'][_0x519b84(0xef)](_0x535f62(this[_0x519b84(0x1b0)]))[_0x519b84(0x128)](_0x6f01c5=>{const _0x208915=_0x519b84,_0x284aaf=_0x6f01c5[_0x208915(0x23e)];_0x284aaf===_0x2558b2[_0x208915(0x172)]&&this[_0x208915(0xf4)](_0x6f01c5),_0x284aaf===_0x2558b2[_0x208915(0x156)]&&this[_0x208915(0x224)](_0x6f01c5);}),this[_0x519b84(0x170)](),this[_0x519b84(0x207)](this['_commandService'][_0x519b84(0x1e2)](_0x1a47b7=>{const _0x5bda53=_0x519b84;if(this[_0x5bda53(0x124)]&&_0x1a47b7['id']===_0x5cb96c['id']&&_0x1a47b7[_0x5bda53(0xf9)][_0x5bda53(0x290)]===this[_0x5bda53(0x261)]){const _0x54c037=_0x1a47b7['params'];this[_0x5bda53(0x1d1)](_0x54c037[_0x5bda53(0x123)],_0x54c037[_0x5bda53(0xd9)][0x0]);}})));}[_0x3339d5(0xf4)](_0x380580){const _0x1ed5af=_0x3339d5;var _0x3ba7b4,_0x575981;const {memberID:_0x45f8c6,selection:_0x32fe87}=_0x380580[_0x1ed5af(0x103)],{sheetName:_0x35d9df,range:_0x1b1497}=_0x122fc0(_0x32fe87),_0x594b0d={'name':(_0x575981=(_0x3ba7b4=this[_0x1ed5af(0xf8)]['getMember'](this['unitID'],_0x45f8c6))==null?void 0x0:_0x3ba7b4[_0x1ed5af(0x122)])!=null?_0x575981:_0x1ed5af(0x1f4),'range':this[_0x1ed5af(0xd1)](_0x35d9df,_0x1b1497),'sheetID':_0x35d9df,'color':this[_0x1ed5af(0x16c)][_0x1ed5af(0xb9)](_0x45f8c6),'selection':_0x32fe87},_0x242410=this[_0x1ed5af(0x22c)];_0x242410[_0x1ed5af(0x188)](_0x45f8c6,_0x594b0d),this['_cursorInfo$'][_0x1ed5af(0xfc)](_0x242410);}[_0x3339d5(0x224)](_0x107547){const _0x4c6850=_0x3339d5,{memberID:_0x3b3510}=_0x107547[_0x4c6850(0x103)],_0x4482a4=this[_0x4c6850(0x22c)];_0x4482a4[_0x4c6850(0x19d)](_0x3b3510),this[_0x4c6850(0x15f)]['next'](_0x4482a4);}['_getMergeRange'](_0x42a402,_0x99610e){const _0x108d80=_0x3339d5;var _0x33bcdd,_0x366d09;const _0x3a8115=(_0x366d09=(_0x33bcdd=this[_0x108d80(0x1a2)][_0x108d80(0x267)](this[_0x108d80(0x261)]))==null?void 0x0:_0x33bcdd['getSheetBySheetId'](_0x42a402))==null?void 0x0:_0x366d09[_0x108d80(0x24d)]();return(_0x3a8115==null?void 0x0:_0x3a8115['find'](_0x4c4cf6=>_0x3d7f1b[_0x108d80(0x177)](_0x4c4cf6,_0x99610e)))||_0x99610e;}[_0x3339d5(0x170)](){const _0x168c65=_0x3339d5,_0x55c5cd=new _0x3f5349(),_0x5e3d8f=pi(),_0x48236f=()=>{const _0x5ef537=_0x587f;_0x55c5cd[_0x5ef537(0x275)]();const _0x459928=(_0x22bdd1,_0x2b4d03,_0x49378d,_0x210ae4)=>{const _0x1749af=_0x5ef537;let _0x597a2a=[];switch(_0x22bdd1['id']){case _0x391a0c[_0x1749af(0x160)]:{_0x597a2a=_0x45ba43(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x260)]:{_0x597a2a=_0x34af19(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x115)]:{_0x597a2a=_0x3f4bdd(_0x22bdd1,_0x210ae4);break;}case _0x391a0c['InsertRangeMoveDownCommandId']:{_0x597a2a=_0x5225b6(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0xad)]:{_0x597a2a=_0x31528e(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x1db)]:{_0x597a2a=_0x48ddf8(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0xdb)]:{_0x597a2a=_0x221d35(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x178)]:{_0x597a2a=_0x17365a(_0x22bdd1,_0x210ae4);break;}case _0x391a0c['RemoveRowCommandId']:{_0x597a2a=_0x35b3fb(_0x22bdd1,_0x210ae4);break;}}const _0x3f29af=_0x3a7a88(_0x597a2a,_0x210ae4),_0x32d6c8=this[_0x1749af(0x22c)][_0x1749af(0x27a)](_0x2b4d03);if(_0x32d6c8&&_0x3f29af){const _0x45ba34={..._0x32d6c8,'range':_0x3f29af};this[_0x1749af(0x22c)][_0x1749af(0x188)](_0x2b4d03,_0x45ba34),_0x5e3d8f(()=>{const _0x11638f=_0x1749af,_0x532360=this[_0x11638f(0x266)][_0x11638f(0x173)](_0x3f29af,_0x3d2ac4=>(_0x532360[_0x11638f(0x275)](),_0x459928(_0x3d2ac4,_0x2b4d03,_0x49378d,_0x3f29af)));_0x55c5cd[_0x11638f(0xd8)](_0x532360);});}return{'redos':[],'undos':[]};};this[_0x5ef537(0x22c)][_0x5ef537(0xd0)]((_0x1da4e4,_0x268d28)=>{const _0xabb08d=_0x5ef537,{range:_0x25ebcd,sheetID:_0x2c8993}=_0x1da4e4,_0x1ced2a=this[_0xabb08d(0x266)]['registerRefRange'](_0x25ebcd,_0xc1938d=>(_0x1ced2a[_0xabb08d(0x275)](),_0x459928(_0xc1938d,_0x268d28,_0x2c8993,_0x25ebcd)));_0x55c5cd[_0xabb08d(0xd8)](_0x1ced2a);});};this[_0x168c65(0x207)](_0x12fcb9(this[_0x168c65(0x15f)][_0x168c65(0x128)](()=>{_0x48236f();})));}[_0x3339d5(0x10f)](){const _0x2db657=_0x3339d5;var _0x882cd9,_0xb8d6d1;if(this[_0x2db657(0x124)]=!0x0,((_0x882cd9=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x882cd9[_0x2db657(0x236)]())!==this[_0x2db657(0x261)])return;const _0x3aeef9=(_0xb8d6d1=this['_injector'][_0x2db657(0x27a)](_0x537fa8)[_0x2db657(0x21e)]())==null?void 0x0:_0xb8d6d1[0x0],_0xc0143f=this['_univerInstanceService']['getCurrentUnitForType'](_0x3fe5fd[_0x2db657(0x247)])[_0x2db657(0xac)]();_0x3aeef9&&_0xc0143f&&this[_0x2db657(0x1d1)](_0xc0143f[_0x2db657(0x23a)](),_0x3aeef9);}[_0x3339d5(0x26c)](){this['_online']=!0x1;}};we=gi([x(0x2,_0x482cd6(_0x3c7991)),x(0x3,_0x482cd6(He)),x(0x4,_0x482cd6(_0x433a68)),x(0x5,_0x4b01c1),x(0x6,_0x4514f4),x(0x7,_0x482cd6(_0x1f5a4c))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x505355,_0x59ef4d,_0x39fa28,_0x2d9aa8)=>{const _0x54658e=_0x3339d5;for(var _0x30e3a2=_0x2d9aa8>0x1?void 0x0:_0x2d9aa8?Ci(_0x59ef4d,_0x39fa28):_0x59ef4d,_0x5b45f2=_0x505355[_0x54658e(0x22b)]-0x1,_0x524279;_0x5b45f2>=0x0;_0x5b45f2--)(_0x524279=_0x505355[_0x5b45f2])&&(_0x30e3a2=_0x524279(_0x30e3a2)||_0x30e3a2);return _0x30e3a2;},me=(_0x2eba5e,_0x932cee)=>(_0x10eda4,_0x44b0c8)=>_0x932cee(_0x10eda4,_0x44b0c8,_0x2eba5e);let H=class extends _0x560405{constructor(_0x2c22e0,_0x2c4f32,_0x5a3c70){const _0x18f95d=_0x3339d5;super(),h(this,_0x18f95d(0x1c2),new Map()),h(this,_0x18f95d(0x158),new _0x12f9d1()),(this[_0x18f95d(0x1a2)]=_0x2c22e0,this['_injector']=_0x2c4f32,this[_0x18f95d(0xcd)]=_0x5a3c70,this[_0x18f95d(0xfe)]());}[_0x3339d5(0x275)](){const _0x4f61bc=_0x3339d5;super[_0x4f61bc(0x275)](),this[_0x4f61bc(0x158)][_0x4f61bc(0x20c)](),this['_entities'][_0x4f61bc(0xd0)](_0x2b5cb0=>_0x2b5cb0[_0x4f61bc(0x275)]());}[_0x3339d5(0x1b2)](_0x3a4b68){const _0x1f2e19=_0x3339d5;return this[_0x1f2e19(0x1c2)][_0x1f2e19(0xe4)](_0x3a4b68)?this['_entities'][_0x1f2e19(0x27a)](_0x3a4b68)['cursorInfo$']:this[_0x1f2e19(0x158)]['pipe'](_0x3c6f92(_0x594f2e=>_0x594f2e[_0x1f2e19(0x261)]===_0x3a4b68),_0x493419(_0x191603=>_0x191603[_0x1f2e19(0x137)]));}[_0x3339d5(0xfe)](){const _0xb08a7c=_0x3339d5;this[_0xb08a7c(0x1a2)][_0xb08a7c(0x189)](_0x3fe5fd[_0xb08a7c(0x247)])[_0xb08a7c(0xef)](_0x535f62(this[_0xb08a7c(0x1b0)]))[_0xb08a7c(0x128)](async _0x3cf48c=>{const _0x557b2b=_0xb08a7c,_0x43882d=_0x3cf48c[_0x557b2b(0x236)](),_0x4afe8f=await this[_0x557b2b(0xc3)](_0x43882d);this[_0x557b2b(0x158)][_0x557b2b(0xfc)](_0x4afe8f),this[_0x557b2b(0x1c2)][_0x557b2b(0x188)](_0x43882d,_0x4afe8f);}),this[_0xb08a7c(0x1a2)][_0xb08a7c(0x189)](_0x3fe5fd[_0xb08a7c(0x108)])[_0xb08a7c(0xef)](_0x535f62(this[_0xb08a7c(0x1b0)]))['pipe'](_0x3c6f92(_0x295612=>!_0x295612[_0xb08a7c(0x236)]()[_0xb08a7c(0x1ba)]('__')))[_0xb08a7c(0x128)](async _0x50686b=>{const _0x4f2742=_0xb08a7c,_0x2472e3=_0x50686b[_0x4f2742(0x236)](),_0x26feac=await this[_0x4f2742(0x148)](_0x2472e3);this[_0x4f2742(0x158)][_0x4f2742(0xfc)](_0x26feac),this[_0x4f2742(0x1c2)]['set'](_0x2472e3,_0x26feac);}),_0x493055(this[_0xb08a7c(0x1a2)][_0xb08a7c(0x219)](_0x3fe5fd['UNIVER_DOC']),this[_0xb08a7c(0x1a2)][_0xb08a7c(0x219)](_0x3fe5fd[_0xb08a7c(0x247)]))[_0xb08a7c(0xef)](_0x535f62(this['dispose$']))[_0xb08a7c(0x128)](_0x18c0cb=>{const _0x3372ed=_0xb08a7c,_0x16161b=_0x18c0cb[_0x3372ed(0x236)](),_0x374e32=this['_entities'][_0x3372ed(0x27a)](_0x16161b);_0x374e32&&(_0x374e32['dispose'](),this[_0x3372ed(0x1c2)][_0x3372ed(0x19d)](_0x16161b));});}async[_0x3339d5(0xc3)](_0x2ed82f){const _0x4dff92=_0x3339d5,_0xa19d9a=await this[_0x4dff92(0xcd)]['requireSession'](_0x2ed82f),_0x5ef09d=this[_0x4dff92(0xfb)][_0x4dff92(0x1dc)](we,_0x2ed82f,_0xa19d9a);return _0x5ef09d['init'](),_0x5ef09d;}async[_0x3339d5(0x148)](_0x4be027){const _0x2766f9=_0x3339d5,_0x3f4552=await this['_collabSessionService'][_0x2766f9(0x10e)](_0x4be027),_0x430c5c=this['_injector'][_0x2766f9(0x1dc)](Ne,_0x4be027,_0x3f4552);return _0x430c5c[_0x2766f9(0x183)](),_0x430c5c;}};H=bi([me(0x0,_0x4b01c1),me(0x1,_0x482cd6(_0x3c7991)),me(0x2,_0x482cd6(_0x212484))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x262242,_0x163a70){const _0xe73c8d=_0x3339d5;let {radius:_0x1b6578,width:_0x3b5fcd,height:_0x24a6ac}=_0x163a70;_0x1b6578=_0x1b6578!=null?_0x1b6578:0x0,_0x3b5fcd=_0x3b5fcd!=null?_0x3b5fcd:0x1e,_0x24a6ac=_0x24a6ac!=null?_0x24a6ac:0x1e;let _0x3f53f9=0x0,_0x20ed9b=0x0,_0x23da12=0x0;_0x3f53f9=_0x20ed9b=_0x23da12=Math[_0xe73c8d(0xf7)](_0x1b6578,_0x3b5fcd/0x2,_0x24a6ac/0x2),_0x262242[_0xe73c8d(0x106)](),_0x262242[_0xe73c8d(0xb2)](_0x3f53f9,0x0),_0x262242[_0xe73c8d(0x152)](_0x3b5fcd-_0x20ed9b,0x0),_0x262242[_0xe73c8d(0x198)](_0x3b5fcd-_0x20ed9b,_0x20ed9b,_0x20ed9b,Math['PI']*0x3/0x2,0x0,!0x1),_0x262242[_0xe73c8d(0x152)](_0x3b5fcd,_0x24a6ac-_0x23da12),_0x262242['arc'](_0x3b5fcd-_0x23da12,_0x24a6ac-_0x23da12,_0x23da12,0x0,Math['PI']/0x2,!0x1),_0x262242['lineTo'](0x0,_0x24a6ac),_0x262242[_0xe73c8d(0x152)](0x0,_0x3f53f9),_0x262242['arc'](_0x3f53f9,_0x3f53f9,_0x3f53f9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x262242[_0xe73c8d(0xe8)](),_0x163a70[_0xe73c8d(0x100)]&&(_0x262242[_0xe73c8d(0x113)](),_0x262242[_0xe73c8d(0xee)]=_0x163a70[_0xe73c8d(0x100)],_0x163a70[_0xe73c8d(0x285)]===_0xe73c8d(0x278)?_0x262242['fill'](_0xe73c8d(0x278)):_0x262242[_0xe73c8d(0x100)](),_0x262242[_0xe73c8d(0x1ea)]());}class ue extends _0x15a83f{constructor(_0x1cdd74,_0x14f725){const _0x53e56e=_0x3339d5;super(_0x1cdd74,_0x14f725),h(this,_0x53e56e(0x12a)),h(this,_0x53e56e(0x1a9)),(this['color']=_0x14f725==null?void 0x0:_0x14f725[_0x53e56e(0x12a)],this['text']=_0x14f725==null?void 0x0:_0x14f725[_0x53e56e(0x1a9)]);}static['drawWith'](_0x26404b,_0x5e5ea8){const _0x3db308=_0x3339d5,{text:_0x279791,color:_0x180a1c}=_0x5e5ea8;_0x26404b[_0x3db308(0x113)](),_0x26404b[_0x3db308(0x131)]=_0x3db308(0x270);const _0x4cfaef=_0x26404b[_0x3db308(0x22d)](_0x279791)[_0x3db308(0xb6)],_0x379a1e=Math['min'](_0x4cfaef+0x2*ge,et);Oi(_0x26404b,{'height':te,'radius':0x4,'width':_0x379a1e,'fill':_0x180a1c}),_0x26404b[_0x3db308(0xee)]=_0x3db308(0xb5);const _0x53225c=ge,_0x442a74=te-Ei,_0x99f790=et-0x2*ge;if(_0x4cfaef>_0x99f790){let _0x3de7be='',_0x5ca893=0x0;for(const _0x2123dd of _0x279791){const _0x3c8157=_0x26404b[_0x3db308(0x22d)](_0x2123dd)[_0x3db308(0xb6)];if(_0x5ca893+_0x3c8157<=_0x99f790-_0x26404b[_0x3db308(0x22d)]('...')[_0x3db308(0xb6)])_0x3de7be+=_0x2123dd,_0x5ca893+=_0x3c8157;else{_0x3de7be+=_0x3db308(0x1ae);break;}}_0x26404b[_0x3db308(0x229)](_0x3de7be,_0x53225c,_0x442a74);}else _0x26404b[_0x3db308(0x229)](_0x279791,_0x53225c,_0x442a74);_0x26404b[_0x3db308(0x1ea)]();}[_0x3339d5(0x14d)](_0x5b6cd3){ue['drawWith'](_0x5b6cd3,this);}}const ve=_0x3339d5(0x17a),Ti=_0x3339d5(0x1c9),Ri=_0x3339d5(0x1f5),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi=_0x3339d5(0x13d);class tt{constructor(_0x12e727,_0xc2dd9e,_0x5bee17,_0x2aaf14){const _0x2bfc7f=_0x3339d5;h(this,_0x2bfc7f(0x1d5),[]),h(this,_0x2bfc7f(0x21f),null),h(this,'_textBubble',null),h(this,_0x2bfc7f(0x238),null),h(this,_0x2bfc7f(0x280),null),h(this,'_eventUnsubscribe',null),(this[_0x2bfc7f(0xce)]=_0x12e727,this[_0x2bfc7f(0x29d)]=_0xc2dd9e,this[_0x2bfc7f(0x235)]=_0x5bee17,this[_0x2bfc7f(0x23d)]=_0x2aaf14,this[_0x2bfc7f(0x269)]());}set['_hover'](_0x5da514){const _0x21db8e=_0x3339d5;_0x5da514?(this[_0x21db8e(0x238)]&&this[_0x21db8e(0x238)][_0x21db8e(0x262)](),this[_0x21db8e(0xa4)]&&this['_textBubble'][_0x21db8e(0x297)]()):(this[_0x21db8e(0x238)]&&this['_anchorDot'][_0x21db8e(0x297)](),this[_0x21db8e(0xa4)]&&this[_0x21db8e(0xa4)][_0x21db8e(0x262)]());}['dispose'](){const _0x2a8760=_0x3339d5;for(const _0x5171a9 of this[_0x2a8760(0x1d5)])_0x5171a9['dispose']();this[_0x2a8760(0xa4)]&&this[_0x2a8760(0xa4)]['dispose'](),this[_0x2a8760(0x238)]&&this[_0x2a8760(0x238)]['dispose'](),this[_0x2a8760(0x21f)]&&this[_0x2a8760(0x21f)]['dispose'](),this[_0x2a8760(0x12d)]&&this[_0x2a8760(0x12d)]();}[_0x3339d5(0x269)](){const _0x3a67ad=_0x3339d5;var _0x8f69;const {_docSkeleton:_0x2221f3,_document:_0x4d7173}=this,{color:_0x4f5d3e,name:_0x57d722,ranges:_0x53e335}=this[_0x3a67ad(0xce)],_0x1c236c=_0x4d7173['getOffsetConfig'](),{docsLeft:_0x912645,docsTop:_0x50d2e5}=_0x1c236c,_0x2ab258=new _0x1de406(_0x1c236c,_0x2221f3);for(const {startOffset:_0x12ac67,endOffset:_0x52a912,rangeType:_0x459c7a,segmentId:_0x171cdc,segmentPage:_0x530270,collapsed:_0x10f525,isActive:_0x22a37d}of _0x53e335){const _0x3bf031=_0x2221f3[_0x3a67ad(0x22a)](_0x12ac67,!0x0,_0x171cdc,_0x530270);let _0x1e6a77=_0x2221f3[_0x3a67ad(0x22a)](_0x52a912,!0x0,_0x171cdc,_0x530270);if(_0x1e6a77==null&&(_0x1e6a77=_0x2221f3[_0x3a67ad(0x22a)](_0x52a912-0x1,!0x1,_0x171cdc,_0x530270)),_0x22a37d){const {contentBoxPointGroup:_0x39944d}=_0x2ab258[_0x3a67ad(0x181)](_0x1e6a77,_0x1e6a77);if(_0x39944d[_0x3a67ad(0x22b)]===0x0)continue;this['_drawAnchor'](_0x4f5d3e,_0x39944d,_0x912645,_0x50d2e5,_0x57d722),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3bf031&&_0x1e6a77){if(_0x459c7a===_0x30e664[_0x3a67ad(0x214)]){const _0x198bb5=new _0x413958(_0x1c236c,_0x2221f3),{pointGroup:_0x24c502}=(_0x8f69=_0x198bb5['getRangePointData'](_0x3bf031,_0x1e6a77))!=null?_0x8f69:{};if(_0x24c502==null||_0x24c502['length']===0x0)continue;this[_0x3a67ad(0x1da)](_0x4f5d3e,_0x24c502,_0x912645,_0x50d2e5);}else{if(!_0x10f525){const {borderBoxPointGroup:_0x17f8f5}=_0x2ab258[_0x3a67ad(0x181)](_0x3bf031,_0x1e6a77);if(_0x17f8f5[_0x3a67ad(0x22b)]===0x0)continue;this['_drawTextRange'](_0x4f5d3e,_0x17f8f5,_0x912645,_0x50d2e5);}}}}}['_drawAnchor'](_0x242a0f,_0x231536,_0x48baa9,_0x3f5747,_0x5cb6f4){const _0x4c67c6=_0x3339d5,_0x23a84f=this[_0x4c67c6(0xe0)](_0x231536),{left:_0x324ae4,top:_0x19c55d,height:_0xfc181b}=_0x23a84f,_0x2d279d=this['_getScale'](),_0x1ea22c=Pi/_0x2d279d,_0x262375=new _0x4b981c(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747,'height':_0xfc181b,'width':Di,'fill':_0x242a0f||_0x2e2eef(_0x220bae[_0x4c67c6(0x28c)],0x0),'strokeWidth':_0x1ea22c,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x262375,this[_0x4c67c6(0x29d)]['addObject'](_0x262375,_0x1f3793);const _0x3ff1b6=new _0x4b981c(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x242a0f||_0x2e2eef(_0x220bae[_0x4c67c6(0x28c)],0x0),'strokeWidth':0x0,'stroke':_0x242a0f||_0x2e2eef(_0x220bae['black'],0x0),'evented':!0x1});this[_0x4c67c6(0x238)]=_0x3ff1b6,this[_0x4c67c6(0x29d)][_0x4c67c6(0x24e)](_0x3ff1b6,_0x1f3793);const _0xe2f43b=new ue(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747-te,'text':_0x5cb6f4,'color':_0x242a0f});this[_0x4c67c6(0xa4)]=_0xe2f43b,this[_0x4c67c6(0x29d)]['addObject'](_0xe2f43b,_0x1f3793),this[_0x4c67c6(0x256)]=!0x1;}[_0x3339d5(0xcb)](){const _0x2020f0=_0x3339d5,_0x41ee0e=this['_anchor'][_0x2020f0(0xaf)][_0x2020f0(0x1e8)](()=>{const _0x166955=_0x2020f0;this[_0x166955(0x256)]=!0x0;}),_0x1452e6=this[_0x2020f0(0x21f)][_0x2020f0(0x186)][_0x2020f0(0x1e8)](()=>{const _0x590459=_0x2020f0;this[_0x590459(0x280)]&&clearTimeout(this[_0x590459(0x280)]),this[_0x590459(0x280)]=setTimeout(()=>{const _0x3e07ea=_0x590459;this[_0x3e07ea(0x256)]=!0x1;},0x7d0);});return()=>{const _0x516a50=_0x2020f0;_0x41ee0e[_0x516a50(0xca)](),_0x1452e6[_0x516a50(0xca)]();};}[_0x3339d5(0x1e9)](_0x3c8bc9,_0x17c39a,_0x35a7a0,_0x1a8275){const _0x262fca=_0x3339d5,_0x5abbf2=new _0x3b232c(_0x3c8bc9)[_0x262fca(0xb1)](0.2)[_0x262fca(0x162)](),_0x407981=new _0xa367a7(Ti+_0x44d009[_0x262fca(0x11c)](V),{'pointsGroup':_0x17c39a,'fill':_0x5abbf2||_0x2e2eef(_0x220bae[_0x262fca(0x28c)],0.2),'left':_0x35a7a0,'top':_0x1a8275,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x262fca(0x1d9)](_0x407981),this[_0x262fca(0x29d)][_0x262fca(0x24e)](_0x407981,_0x1f3793);}[_0x3339d5(0x1da)](_0x3ca5b6,_0x504fb3,_0xb58e5a,_0x545cad){const _0x1054d8=_0x3339d5,_0x375271=new _0x3b232c(_0x3ca5b6)[_0x1054d8(0xb1)](0.2)[_0x1054d8(0x162)](),_0x1e058a=new _0xa367a7(Ri+_0x44d009[_0x1054d8(0x11c)](V),{'pointsGroup':_0x504fb3,'fill':_0x375271||_0x2e2eef(_0x220bae[_0x1054d8(0x28c)],0.2),'left':_0xb58e5a,'top':_0x545cad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1054d8(0x1d5)]['push'](_0x1e058a),this[_0x1054d8(0x29d)][_0x1054d8(0x24e)](_0x1e058a,_0x1f3793);}['_getAnchorBounding'](_0x4c7f58){const _0x31f42a=_0x4c7f58[0x0],_0xb78fcf=_0x31f42a[0x0],_0x8f29cb=_0x31f42a[0x2],{x:_0x1dacc5,y:_0x41f4ee}=_0xb78fcf,{x:_0x1d448c,y:_0x2cab85}=_0x8f29cb;return{'left':_0x1dacc5,'top':_0x41f4ee,'width':_0x1d448c-_0x1dacc5,'height':_0x2cab85-_0x41f4ee};}[_0x3339d5(0x1ed)](){const _0x3d739e=_0x3339d5,{scaleX:_0x4fb0e5,scaleY:_0x16d8e6}=this[_0x3d739e(0x29d)][_0x3d739e(0x184)]();return Math['max'](_0x4fb0e5,_0x16d8e6);}}var Ni=Object[_0x3339d5(0xd6)],wi=(_0x53b503,_0xb86ac,_0x5d50cf,_0x1d6480)=>{for(var _0x5d4247=_0x1d6480>0x1?void 0x0:_0x1d6480?Ni(_0xb86ac,_0x5d50cf):_0xb86ac,_0x562db6=_0x53b503['length']-0x1,_0x3d3746;_0x562db6>=0x0;_0x562db6--)(_0x3d3746=_0x53b503[_0x562db6])&&(_0x5d4247=_0x3d3746(_0x5d4247)||_0x5d4247);return _0x5d4247;},q=(_0x27eceb,_0x18dbe9)=>(_0x41aff0,_0x257dfb)=>_0x18dbe9(_0x41aff0,_0x257dfb,_0x27eceb);let Ue=class extends _0x560405{constructor(_0x7bead4,_0x68db75,_0x3d4fed,_0x550c6d,_0x2000c4){const _0x2e9e39=_0x3339d5;super(),h(this,_0x2e9e39(0x20f),[]),h(this,'_cursors',[]),(this['_context']=_0x7bead4,this[_0x2e9e39(0xd2)]=_0x68db75,this[_0x2e9e39(0x18e)]=_0x3d4fed,this[_0x2e9e39(0xe5)]=_0x550c6d,this['_themeService']=_0x2000c4,this[_0x2e9e39(0xfe)]());}[_0x3339d5(0xfe)](){const _0x54d57d=_0x3339d5,_0xbdab17=this[_0x54d57d(0x239)][_0x54d57d(0x290)],_0x2d98bd=this[_0x54d57d(0xd2)];this['disposeWithMe'](_0x12e470([this['_collabCursorController']['getCollabCursors$'](_0xbdab17),this['_themeService'][_0x54d57d(0x282)]])[_0x54d57d(0xef)](_0x28fd14(([_0x5d5dad,_0x4c634f])=>({'skeleton':_0x2d98bd[_0x54d57d(0x135)](),'cursors':[..._0x5d5dad['values']()][_0x54d57d(0x13f)](_0x1947e3=>({..._0x1947e3,'color':_0x4c634f[_0x1947e3[_0x54d57d(0x12a)]]}))})))[_0x54d57d(0x128)](_0x1b1aab=>{const _0x30da44=_0x54d57d;if(this['_removeCollabCursors'](),_0x1b1aab){const {skeleton:_0x5b1e8c,cursors:_0x9ef9a4}=_0x1b1aab;this[_0x30da44(0xc9)](_0x5b1e8c,_0x9ef9a4);}})),this['_initResize'](),this[_0x54d57d(0x292)]();}['_updateCollabCursors'](_0x2e90a5,_0x57e45d){const _0x2c01c2=_0x3339d5,{scene:_0x55ecc7,mainComponent:_0x25583d}=this[_0x2c01c2(0x239)],_0x435b01=_0x57e45d[_0x2c01c2(0x164)](_0x578834=>new tt(_0x578834,_0x55ecc7,_0x2e90a5,_0x25583d));this[_0x2c01c2(0x20f)]=_0x435b01,this[_0x2c01c2(0xba)]=_0x57e45d;}[_0x3339d5(0x24f)](){const _0x4028bf=_0x3339d5;this[_0x4028bf(0x228)]();const {scene:_0x3fae0f,mainComponent:_0x106e76}=this[_0x4028bf(0x239)],_0x2c56d9=this[_0x4028bf(0xd2)]['getSkeleton'](),_0x4f3b15=this[_0x4028bf(0xba)][_0x4028bf(0x164)](_0xa76367=>new tt(_0xa76367,_0x3fae0f,_0x2c56d9,_0x106e76));this[_0x4028bf(0x20f)]=_0x4f3b15;}[_0x3339d5(0x228)](){const _0x4ae828=_0x3339d5;this[_0x4ae828(0x20f)]['forEach'](_0x4988a0=>_0x4988a0[_0x4ae828(0x275)]()),this['_cursorShapes']=[];}[_0x3339d5(0x292)](){const _0x26eb83=_0x3339d5,_0x5c24df=[_0x24ceeb['id']];this[_0x26eb83(0x207)](this[_0x26eb83(0xe5)][_0x26eb83(0x1e2)](_0x4822a3=>{const _0x9ce1c2=_0x26eb83;_0x5c24df['includes'](_0x4822a3['id'])&&_0x4822a3[_0x9ce1c2(0xf9)][_0x9ce1c2(0x290)]===this[_0x9ce1c2(0x239)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3339d5(0x243)](){const _0x28e835=_0x3339d5;this[_0x28e835(0x207)](_0x497e49(this[_0x28e835(0x239)][_0x28e835(0x250)][_0x28e835(0x288)])[_0x28e835(0xef)](_0x2bfcd1(_0x35ce2a=>_0x35ce2a['type']===_0xd4f0f0[_0x28e835(0x125)]),_0xcf782a(0x10))[_0x28e835(0x128)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([q(0x1,_0x482cd6(_0x4b21f1)),q(0x2,_0x482cd6(H)),q(0x3,_0x4514f4),q(0x4,_0x482cd6(_0x3afe55))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x15a83f{constructor(_0x31435c,_0x1b6e2e){const _0x1a4083=_0x3339d5;super(_0x31435c,_0x1b6e2e),h(this,_0x1a4083(0x20b)),h(this,_0x1a4083(0x24b),!0x1),h(this,_0x1a4083(0x11f)),h(this,'_name',''),h(this,_0x1a4083(0x133),_0x1a4083(0xfd)),h(this,_0x1a4083(0xbb)),(_0x1b6e2e&&this[_0x1a4083(0x1b9)](_0x1b6e2e),this[_0x1a4083(0xaf)][_0x1a4083(0x1e8)](()=>this[_0x1a4083(0x1b9)]({'hovered':!0x0})),this[_0x1a4083(0x186)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3e3675){const _0x3d09e9=_0x3339d5;var _0x53de59,_0x2b0275,_0xc69647,_0x210524,_0x31ca26,_0x1d1fb2;this[_0x3d09e9(0x20b)]=(_0x53de59=_0x3e3675['color'])!=null?_0x53de59:this['_color'],this[_0x3d09e9(0x24b)]=(_0x2b0275=_0x3e3675[_0x3d09e9(0x212)])!=null?_0x2b0275:this['_hovered'],this[_0x3d09e9(0x11f)]=(_0xc69647=_0x3e3675[_0x3d09e9(0x28f)])!=null?_0xc69647:this[_0x3d09e9(0x11f)],this['_name']=(_0x210524=_0x3e3675[_0x3d09e9(0x122)])!=null?_0x210524:this[_0x3d09e9(0x1b3)],this[_0x3d09e9(0x133)]=(_0x31ca26=_0x3e3675[_0x3d09e9(0x226)])!=null?_0x31ca26:this['_labelPosition'],this[_0x3d09e9(0xbb)]=(_0x1d1fb2=_0x3e3675[_0x3d09e9(0x17c)])!=null?_0x1d1fb2:this['_backgroundColor'],this[_0x3d09e9(0x206)]({'width':_0x3e3675[_0x3d09e9(0xb6)],'height':_0x3e3675['height']});}[_0x3339d5(0x12c)](_0x45cd0e){const _0x49a5cd=_0x3339d5,{row:_0x2fb44a,column:_0x1845af}=_0x45cd0e;if(_0x2fb44a>=this[_0x49a5cd(0x11f)]['startRow']&&_0x2fb44a<=this[_0x49a5cd(0x11f)][_0x49a5cd(0x14e)]&&_0x1845af>=this['_range'][_0x49a5cd(0x25b)]&&_0x1845af<=this[_0x49a5cd(0x11f)][_0x49a5cd(0x199)]){this[_0x49a5cd(0x1b9)]({'hovered':!0x0});return;}this[_0x49a5cd(0x1b9)]({'hovered':!0x1});}[_0x3339d5(0xde)](_0x2ca4f0){return!0x1;}['_draw'](_0x32b159){const _0x582b68=_0x3339d5;_0x4b981c[_0x582b68(0x1b6)](_0x32b159,{'width':this['width'],'height':this[_0x582b68(0x1fb)],'strokeWidth':Li,'stroke':this[_0x582b68(0x20b)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x32b159[_0x582b68(0x113)](),_0x32b159['transform'](0x1,0x0,0x0,0x1,this[_0x582b68(0xb6)],this['_labelPosition']===_0x582b68(0x218)?0x0:-0x14),ue[_0x582b68(0x1b6)](_0x32b159,{'text':this[_0x582b68(0x1b3)],'color':this['_color']}),_0x32b159[_0x582b68(0x1ea)]());}}var yi=Object[_0x3339d5(0xd6)],$i=(_0x49d92c,_0x55458a,_0x19589c,_0x34c472)=>{const _0x195ced=_0x3339d5;for(var _0x1cf7a8=_0x34c472>0x1?void 0x0:_0x34c472?yi(_0x55458a,_0x19589c):_0x55458a,_0x25b0d4=_0x49d92c[_0x195ced(0x22b)]-0x1,_0x250050;_0x25b0d4>=0x0;_0x25b0d4--)(_0x250050=_0x49d92c[_0x25b0d4])&&(_0x1cf7a8=_0x250050(_0x1cf7a8)||_0x1cf7a8);return _0x1cf7a8;},pe=(_0x5614ed,_0x1a8fd5)=>(_0x43dcaf,_0x55f20e)=>_0x1a8fd5(_0x43dcaf,_0x55f20e,_0x5614ed);const xi=0x1389;let Le=class extends _0x560405{constructor(_0x1b4f7f,_0x3a47a3,_0x46c8c2,_0x12b02e){const _0xaa57e2=_0x3339d5;super(),h(this,_0xaa57e2(0xba),new Set()),h(this,'_lastPointer',null),(this['_context']=_0x1b4f7f,this[_0xaa57e2(0x112)]=_0x3a47a3,this[_0xaa57e2(0x18e)]=_0x46c8c2,this[_0xaa57e2(0x19b)]=_0x12b02e,this[_0xaa57e2(0xfe)]());}[_0x3339d5(0xfe)](){const _0x1aebca=_0x3339d5;this['_sheetSkeletonManagerService'][_0x1aebca(0x101)][_0x1aebca(0xef)](_0x48338a(this['dispose$']),_0x34d2e9(_0x1b01d8=>{const _0x3c1933=_0x1aebca;if(_0x1b01d8){const _0x4fcc1d=_0x1b01d8[_0x3c1933(0x154)];return _0x12e470(this[_0x3c1933(0x18e)][_0x3c1933(0x1b2)](this[_0x3c1933(0x239)][_0x3c1933(0x290)]),this['_themeService']['currentTheme$'])[_0x3c1933(0xef)](_0x28fd14(([_0x1912a8,_0x3b706d])=>{const _0x5a7195=new Map();return _0x1912a8['forEach']((_0x58869f,_0x336622)=>{const _0x4abb1c=_0x587f;if(_0x58869f[_0x4abb1c(0x144)]===_0x4fcc1d){const _0x42a4c0={..._0x58869f};_0x42a4c0['color']=_0x3b706d[_0x58869f[_0x4abb1c(0x12a)]],_0x5a7195[_0x4abb1c(0x188)](_0x336622,_0x42a4c0);}}),{'skeleton':_0x1b01d8,'cursors':_0x5a7195};}));}return _0x46a1eb({'skeleton':null,'cursors':new Map()});}))[_0x1aebca(0x128)](({skeleton:_0x1d8c14,cursors:_0x3f7b01})=>{const _0x23c049=_0x1aebca;this[_0x23c049(0x228)](),_0x1d8c14&&this[_0x23c049(0xc9)](_0x1d8c14,_0x3f7b01);}),this[_0x1aebca(0x112)]['currentSkeleton$'][_0x1aebca(0x128)](_0x7cbd61=>{const _0x2fd7ff=_0x1aebca;if(_0x7cbd61==null)return;const {skeleton:_0x188db8}=_0x7cbd61,{scene:_0x30041c}=this['_context'];_0x30041c['onPointerMove$'][_0x2fd7ff(0x1e8)](_0x4d3bad(_0x363c19=>{const _0x3604b6=_0x2fd7ff;var _0x27789d,_0x2ffeaa;const {offsetX:_0x4ab4d6,offsetY:_0x1b85d3}=_0x363c19,{x:_0x52c312,y:_0x2219da}=_0x30041c['getRelativeToViewportCoord'](_0x4ea2cd['FromArray']([_0x4ab4d6,_0x1b85d3])),{scaleX:_0x2b0f5b,scaleY:_0x4f1c0e}=_0x30041c[_0x3604b6(0x184)](),_0xe9064b=_0x30041c['getViewport'](_0x59b954[_0x3604b6(0xf5)]),_0x480069=_0x30041c['getVpScrollXYInfoByPosToVp'](_0x4ea2cd[_0x3604b6(0x1d2)]([_0x52c312,_0x2219da]),_0xe9064b),_0x37a974=_0x188db8['getCellPositionByOffset'](_0x4ab4d6,_0x1b85d3,_0x2b0f5b,_0x4f1c0e,_0x480069);((_0x27789d=this[_0x3604b6(0x1b1)])==null?void 0x0:_0x27789d[_0x3604b6(0x1eb)])===_0x37a974[_0x3604b6(0x1eb)]&&((_0x2ffeaa=this[_0x3604b6(0x1b1)])==null?void 0x0:_0x2ffeaa[_0x3604b6(0x1de)])===_0x37a974[_0x3604b6(0x1de)]||this[_0x3604b6(0xba)][_0x3604b6(0xd0)](_0x5821ca=>{_0x5821ca['onMouseMove'](_0x37a974);});},0x64));});}['_updateCollabCursors'](_0x570ac7,_0x54e188){const _0x990a7d=_0x3339d5;var _0x1f9f39;const _0x341a8d=(_0x1f9f39=this['_sheetSkeletonManagerService'][_0x990a7d(0x145)]())==null?void 0x0:_0x1f9f39[_0x990a7d(0x208)];if(!_0x341a8d)return;const _0x3f0b84=this[_0x990a7d(0x25f)]();if(!_0x3f0b84)return;this[_0x990a7d(0xba)]['forEach'](_0x22e51c=>{_0x22e51c['makeDirty']();});const {scene:_0x587e8b}=_0x3f0b84,_0x429947=ki(Array['from'](_0x54e188[_0x990a7d(0x119)]()))[_0x990a7d(0x164)](_0x4f8d72=>{const {color:_0x152998,range:_0x5303d6,name:_0x115c17,selection:_0x48c23c,sheetID:_0x44f843}=_0x4f8d72,{startColumn:_0x392bac,startRow:_0x12d9d8,endColumn:_0x408295,endRow:_0x3e7fb4}=_0x5303d6,_0x286e62=_0x365891(_0x12d9d8,_0x392bac,_0x587e8b,_0x341a8d),_0x2fd9b4=_0x365891(_0x3e7fb4,_0x408295,_0x587e8b,_0x341a8d),{columnHeaderHeightAndMarginTop:_0xf0aeb7}=_0x341a8d,{startX:_0x4cb4af,startY:_0x3ab5fa}=_0x286e62,{endX:_0x5962cd,endY:_0x4fde8a}=_0x2fd9b4,_0xcb198b=_0x5962cd-_0x4cb4af,_0x17627a=_0x4fde8a-_0x3ab5fa,_0x381cbd={'labelPosition':_0x3ab5fa-_0xf0aeb7>=te?'top':'bottom','sheetID':_0x44f843,'range':_0x5303d6,'color':_0x152998,'name':_0x115c17,'selection':_0x48c23c,'left':_0x4cb4af,'top':_0x3ab5fa,'width':_0xcb198b,'height':_0x17627a,'evented':!0x1,'zIndex':xi};return new Ai(_0x115c17,_0x381cbd);});_0x587e8b[_0x990a7d(0x138)](_0x429947,Ui),this[_0x990a7d(0xba)]=new Set(_0x429947);}['_removeCollabCursors'](){const _0xd2de7e=_0x3339d5;var _0x48e05;(_0x48e05=this[_0xd2de7e(0xba)])==null||_0x48e05[_0xd2de7e(0xd0)](_0x2405a6=>_0x2405a6['dispose']());}[_0x3339d5(0x25f)](){const _0x221100=_0x3339d5;return _0x742b9b(this[_0x221100(0x239)][_0x221100(0x27b)],this['_context']);}};Le=$i([pe(0x1,_0x482cd6(_0x35c5fe)),pe(0x2,_0x482cd6(H)),pe(0x3,_0x482cd6(_0x3afe55))],Le);function ki(_0x253b71){const _0x9d3690=_0x3339d5,_0x21582c=new Map();return _0x253b71[_0x9d3690(0xd0)](_0x594089=>{const _0x39983f=_0x9d3690;if(_0x21582c['has'](_0x594089['selection'])){const _0x4449bf=_0x21582c[_0x39983f(0x27a)](_0x594089[_0x39983f(0x286)]);_0x4449bf[_0x39983f(0x122)]+=',\x20'+_0x594089['name'];}else _0x21582c[_0x39983f(0x188)](_0x594089['selection'],_0x594089);}),Array['from'](_0x21582c[_0x9d3690(0x119)]());}var I=function(){const _0x84a141=_0x3339d5;return I=Object['assign']||function(_0x23d71a){const _0x9d4e46=_0x587f;for(var _0x2d594f,_0x289120=0x1,_0x1a03ef=arguments[_0x9d4e46(0x22b)];_0x289120<_0x1a03ef;_0x289120++){_0x2d594f=arguments[_0x289120];for(var _0x4531c5 in _0x2d594f)Object[_0x9d4e46(0x296)][_0x9d4e46(0x15e)][_0x9d4e46(0x234)](_0x2d594f,_0x4531c5)&&(_0x23d71a[_0x4531c5]=_0x2d594f[_0x4531c5]);}return _0x23d71a;},I[_0x84a141(0x15d)](this,arguments);},Bi=function(_0x5431df,_0x34d904){const _0x2a6faf=_0x3339d5;var _0x221c04={};for(var _0x183f0e in _0x5431df)Object[_0x2a6faf(0x296)]['hasOwnProperty'][_0x2a6faf(0x234)](_0x5431df,_0x183f0e)&&_0x34d904[_0x2a6faf(0x195)](_0x183f0e)<0x0&&(_0x221c04[_0x183f0e]=_0x5431df[_0x183f0e]);if(_0x5431df!=null&&typeof Object[_0x2a6faf(0x24a)]=='function'){for(var _0x17b9de=0x0,_0x183f0e=Object[_0x2a6faf(0x24a)](_0x5431df);_0x17b9de<_0x183f0e[_0x2a6faf(0x22b)];_0x17b9de++)_0x34d904[_0x2a6faf(0x195)](_0x183f0e[_0x17b9de])<0x0&&Object['prototype'][_0x2a6faf(0x209)][_0x2a6faf(0x234)](_0x5431df,_0x183f0e[_0x17b9de])&&(_0x221c04[_0x183f0e[_0x17b9de]]=_0x5431df[_0x183f0e[_0x17b9de]]);}return _0x221c04;},We=_0x3649c0(function(_0x17d842,_0x52be8e){const _0x1712da=_0x3339d5;var _0x2e653e=_0x17d842[_0x1712da(0x22e)],_0x5164eb=_0x17d842['id'],_0x8482d6=_0x17d842['className'],_0x179cc0=_0x17d842[_0x1712da(0x19e)],_0x1fd063=Bi(_0x17d842,['icon','id',_0x1712da(0x1ee),_0x1712da(0x19e)]),_0x3c1385=_0x1712da(0x202)[_0x1712da(0x11e)](_0x5164eb,'\x20')[_0x1712da(0x11e)](_0x8482d6||'')[_0x1712da(0x251)](),_0x57c543=_0x1d45fc('_'['concat'](Wi()));return Pt(_0x2e653e,''[_0x1712da(0x11e)](_0x5164eb),{'defIds':_0x2e653e[_0x1712da(0x118)],'idSuffix':_0x57c543[_0x1712da(0x1c3)]},I({'ref':_0x52be8e,'className':_0x3c1385},_0x1fd063),_0x179cc0);});function Pt(_0x50747e,_0x11e203,_0x1886d5,_0x2262a2,_0x5ddb0d){const _0x30a9b4=_0x3339d5;return _0x8a5a6d(_0x50747e[_0x30a9b4(0xa0)],I(I({'key':_0x11e203},Hi(_0x50747e,_0x1886d5,_0x5ddb0d)),_0x2262a2),(ji(_0x50747e,_0x1886d5)[_0x30a9b4(0x174)]||[])[_0x30a9b4(0x164)](function(_0x1bf80b,_0x501f9f){const _0x55500c=_0x30a9b4;return Pt(_0x1bf80b,''[_0x55500c(0x11e)](_0x11e203,'-')[_0x55500c(0x11e)](_0x50747e['tag'],'-')[_0x55500c(0x11e)](_0x501f9f),_0x1886d5,void 0x0,_0x5ddb0d);}));}function Hi(_0x2f0fc7,_0x5a6e17,_0x4555a3){const _0x10fa08=_0x3339d5;var _0x2b3a1c=I({},_0x2f0fc7[_0x10fa08(0x171)]);_0x4555a3!=null&&_0x4555a3[_0x10fa08(0x21b)]&&_0x2b3a1c[_0x10fa08(0x100)]===_0x10fa08(0x21b)&&(_0x2b3a1c[_0x10fa08(0x100)]=_0x4555a3[_0x10fa08(0x21b)]),_0x2f0fc7['tag']===_0x10fa08(0x293)&&_0x2b3a1c['id']&&(_0x2b3a1c['id']=_0x2b3a1c['id']+_0x5a6e17[_0x10fa08(0xcf)]),Object[_0x10fa08(0x14b)](_0x2b3a1c)[_0x10fa08(0xd0)](function(_0x2d5ac5){const _0x4e3860=_0x10fa08;var _0x180888=_0x2d5ac5[0x0],_0x1a10d9=_0x2d5ac5[0x1];_0x180888===_0x4e3860(0x293)&&typeof _0x1a10d9=='string'&&(_0x2b3a1c[_0x180888]=_0x1a10d9[_0x4e3860(0x197)](/url\(#(.*)\)/,_0x4e3860(0x23f)['concat'](_0x5a6e17[_0x4e3860(0xcf)],')')));});var _0xf96287=_0x5a6e17[_0x10fa08(0x118)];return!_0xf96287||_0xf96287[_0x10fa08(0x22b)]===0x0||(_0x2f0fc7[_0x10fa08(0xa0)]===_0x10fa08(0x28a)&&_0x2b3a1c[_0x10fa08(0x273)]&&(_0x2b3a1c[_0x10fa08(0x273)]=_0x2b3a1c['xlink:href']+_0x5a6e17[_0x10fa08(0xcf)]),Object[_0x10fa08(0x14b)](_0x2b3a1c)['forEach'](function(_0x168a1f){const _0x3a271e=_0x10fa08;var _0x3aa21a=_0x168a1f[0x0],_0x56f342=_0x168a1f[0x1];typeof _0x56f342==_0x3a271e(0x289)&&(_0x2b3a1c[_0x3aa21a]=_0x56f342[_0x3a271e(0x197)](/url\(#(.*)\)/,_0x3a271e(0x23f)[_0x3a271e(0x11e)](_0x5a6e17[_0x3a271e(0xcf)],')')));})),_0x2b3a1c;}function ji(_0x24a94d,_0x18a807){const _0x4966df=_0x3339d5;var _0x275df0,_0x2c4013=_0x18a807[_0x4966df(0x118)];return!_0x2c4013||_0x2c4013[_0x4966df(0x22b)]===0x0?_0x24a94d:_0x24a94d[_0x4966df(0xa0)]===_0x4966df(0x18a)&&(!((_0x275df0=_0x24a94d[_0x4966df(0x174)])===null||_0x275df0===void 0x0)&&_0x275df0[_0x4966df(0x22b)])?I(I({},_0x24a94d),{'children':_0x24a94d[_0x4966df(0x174)][_0x4966df(0x164)](function(_0x133186){const _0x31c5bf=_0x4966df;return typeof _0x133186['attrs']['id']==_0x31c5bf(0x289)&&_0x2c4013&&_0x2c4013['indexOf'](_0x133186[_0x31c5bf(0x171)]['id'])>-0x1?I(I({},_0x133186),{'attrs':I(I({},_0x133186[_0x31c5bf(0x171)]),{'id':_0x133186[_0x31c5bf(0x171)]['id']+_0x18a807[_0x31c5bf(0xcf)]})}):_0x133186;})}):_0x24a94d;}function Wi(){const _0x2281e9=_0x3339d5;return Math[_0x2281e9(0x117)]()[_0x2281e9(0x1e5)](0x24)[_0x2281e9(0x25c)](0x2,0x8);}We[_0x3339d5(0x176)]=_0x3339d5(0xe7);var Fi={'tag':_0x3339d5(0x1fd),'attrs':{'fill':'none','viewBox':_0x3339d5(0x179),'width':_0x3339d5(0xff),'height':_0x3339d5(0xff)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3339d5(0x25a),'attrs':{'stroke':_0x3339d5(0x1a0),'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':_0x3339d5(0x161),'strokeLinejoin':_0x3339d5(0x161),'strokeWidth':1.2}}]},{'tag':_0x3339d5(0x18a),'attrs':{},'children':[{'tag':_0x3339d5(0x29b),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3339d5(0x1f1),'d':_0x3339d5(0xa7)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x3649c0(function(_0xeecfda,_0x1d49d2){const _0x8cfc36=_0x3339d5;return _0x8a5a6d(We,Object[_0x8cfc36(0x1cd)]({},_0xeecfda,{'id':_0x8cfc36(0x1b8),'ref':_0x1d49d2,'icon':Fi}));});Mt[_0x3339d5(0x176)]=_0x3339d5(0x169);var Yi={'tag':_0x3339d5(0x1fd),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3339d5(0xff),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3339d5(0x1d8)},'children':[{'tag':_0x3339d5(0x25a),'attrs':{'stroke':_0x3339d5(0x1a0),'d':_0x3339d5(0x222),'strokeLinecap':_0x3339d5(0x161),'strokeLinejoin':_0x3339d5(0x161),'strokeWidth':1.2}}]},{'tag':_0x3339d5(0x18a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x3339d5(0x14f)]},Nt=_0x3649c0(function(_0x28e83a,_0x12fda8){const _0xd252bc=_0x3339d5;return _0x8a5a6d(We,Object['assign']({},_0x28e83a,{'id':_0xd252bc(0x16e),'ref':_0x12fda8,'icon':Yi}));});Nt['displayName']=_0x3339d5(0xae);const Xi=_0x3339d5(0x21c),Vi=_0x3339d5(0xda),Gi=_0x3339d5(0xa1),Ki=_0x3339d5(0x23c),zi=_0x3339d5(0x104),G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x30f006){const _0x33e129=_0x3339d5;switch(_0x30f006){case _0x41f6d3[_0x33e129(0x205)]:return _0x33e129(0x10b);case _0x41f6d3['CONFLICT']:return _0x33e129(0x1bf);case _0x41f6d3['FETCH_MISS']:return _0x33e129(0x272);case _0x41f6d3[_0x33e129(0xbd)]:return _0x33e129(0xa5);case _0x41f6d3[_0x33e129(0x22f)]:case _0x41f6d3[_0x33e129(0x114)]:return _0x33e129(0x151);case _0x41f6d3[_0x33e129(0x166)]:case _0x41f6d3[_0x33e129(0x1ca)]:return _0x33e129(0x263);}}function Zi(_0x3cd688){const _0x4349a1=_0x3339d5,{status$:_0x2d1eb5}=_0x3cd688,_0x257537=_0x4cb4ae(_0x2d1eb5,_0x41f6d3[_0x4349a1(0xbd)]),_0x4a90d0=_0x2b548a(_0x5497a5),_0x58349c=_0x2b548a(_0x212484),_0x12dc12=_0x257537!==_0x41f6d3[_0x4349a1(0x205)],_0x24c179=_0x4a90d0['t'](Ji(_0x257537)),_0xa66956=_0x15b967(G[_0x4349a1(0x221)],{[G[_0x4349a1(0x281)]]:_0x12dc12,[G[_0x4349a1(0x287)]]:!_0x12dc12}),_0x24c004=_0x12dc12?_0x2f3542(Nt,{}):_0x2f3542(Mt,{}),_0x3e4f0f=_0x1a2357(()=>{_0x12dc12||_0x58349c['reconnect']();},[_0x12dc12,_0x58349c]);function _0x538514(){const _0x58df0f=_0x4349a1;return _0x120244(_0x58df0f(0xdd),{'className':_0x15b967(_0xa66956,_0x58df0f(0x20e)),'onClick':_0x3e4f0f,'children':[_0x2f3542(_0x58df0f(0xdd),{'className':G[_0x58df0f(0x18c)],'children':_0x24c004}),_0x2f3542('div',{'className':G[_0x58df0f(0x274)],'children':_0x24c179})]});}return _0x12dc12?_0x538514():_0x2f3542(_0x10b901,{'title':_0x4a90d0['t'](_0x4349a1(0x1f0)),'children':_0x538514()});}var qi=Object[_0x3339d5(0xd6)],Qi=(_0x24ea19,_0x4f74a1,_0x4cab64,_0x51f25e)=>{const _0xf078cf=_0x3339d5;for(var _0x461364=_0x51f25e>0x1?void 0x0:_0x51f25e?qi(_0x4f74a1,_0x4cab64):_0x4f74a1,_0x228b50=_0x24ea19[_0xf078cf(0x22b)]-0x1,_0x1738d5;_0x228b50>=0x0;_0x228b50--)(_0x1738d5=_0x24ea19[_0x228b50])&&(_0x461364=_0x1738d5(_0x461364)||_0x461364);return _0x461364;},Q=(_0x16f952,_0x324e76)=>(_0x128830,_0x3463aa)=>_0x324e76(_0x128830,_0x3463aa,_0x16f952);let se=class extends _0x2bd1d4{constructor(_0x221e5a,_0x5b0345,_0x4c3113,_0x4d5fa5){const _0x4d9cb0=_0x3339d5;super(),h(this,_0x4d9cb0(0xf3),new _0x2a8032(_0x41f6d3[_0x4d9cb0(0xbd)])),(this['_univerInstanceService']=_0x221e5a,this[_0x4d9cb0(0xfb)]=_0x5b0345,this[_0x4d9cb0(0x277)]=_0x4c3113,this['_uiPartsService']=_0x4d5fa5,this[_0x4d9cb0(0x1ab)](),this[_0x4d9cb0(0x225)]());}[_0x3339d5(0x225)](){const _0x5afcc0=_0x3339d5;this[_0x5afcc0(0x207)](this[_0x5afcc0(0x1a2)][_0x5afcc0(0x200)][_0x5afcc0(0xef)](_0x493419(()=>{const _0xfab9e8=_0x5afcc0,_0x2a3288=this[_0xfab9e8(0x1a2)]['getFocusedUnit']();return _0x2a3288?this[_0xfab9e8(0x277)][_0xfab9e8(0x109)](_0x2a3288['getUnitId']()):_0x46a1eb(null);}),_0x493419(_0x3d856b=>_0x3d856b?_0x3d856b['status$']:_0x46a1eb(_0x41f6d3[_0x5afcc0(0xbd)])))[_0x5afcc0(0x128)](_0x507340=>{const _0x3e5ad1=_0x5afcc0;this[_0x3e5ad1(0xf3)][_0x3e5ad1(0xfc)](_0x507340);}));}[_0x3339d5(0x1ab)](){const _0x127371=_0x3339d5;this['disposeWithMe'](this['_uiPartsService'][_0x127371(0x1c6)](_0x3f1d44['HEADER_MENU'],()=>_0x52732(en({'status$':this[_0x127371(0xf3)][_0x127371(0x16f)]()}),this[_0x127371(0xfb)])));}};se=Qi([Q(0x0,_0x4b01c1),Q(0x1,_0x482cd6(_0x3c7991)),Q(0x2,_0x482cd6(_0x2a81e4)),Q(0x3,_0x25df11)],se);function en(_0x54cdcf){const {status$:_0x40f988}=_0x54cdcf;return function(){return _0x2f3542(Zi,{'status$':_0x40f988});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x58f9d5,_0x22f122,_0x4c73a3,_0x3614d8)=>{const _0x336b23=_0x3339d5;for(var _0x2b5565=_0x3614d8>0x1?void 0x0:_0x3614d8?tn(_0x22f122,_0x4c73a3):_0x22f122,_0x1a382a=_0x58f9d5[_0x336b23(0x22b)]-0x1,_0x3f31ec;_0x1a382a>=0x0;_0x1a382a--)(_0x3f31ec=_0x58f9d5[_0x1a382a])&&(_0x2b5565=_0x3f31ec(_0x2b5565)||_0x2b5565);return _0x2b5565;},k=(_0xeb134d,_0x18517a)=>(_0x117f08,_0x18ef06)=>_0x18517a(_0x117f08,_0x18ef06,_0xeb134d);let ie=class extends _0x2bd1d4{constructor(_0x5be753,_0x2f5572,_0x3f8a13,_0x5cbf9e,_0x5a300f,_0xbf83df){const _0x1608de=_0x3339d5;super(),this['_beforeCloseService']=_0x5be753,this[_0x1608de(0x253)]=_0x2f5572,this[_0x1608de(0xed)]=_0x3f8a13,this[_0x1608de(0xe2)]=_0x5cbf9e,this['_notificationService']=_0x5a300f,this['_localeService']=_0xbf83df,this[_0x1608de(0x28b)](),this['_initEvent']();}[_0x3339d5(0x28b)](){const _0x29585e=_0x3339d5;this[_0x29585e(0x207)](this[_0x29585e(0x153)][_0x29585e(0x159)](()=>{const _0x51d217=_0x29585e;if(this[_0x51d217(0x253)][_0x51d217(0x28e)][_0x51d217(0x190)])return this[_0x51d217(0x232)]['t'](_0x51d217(0x9f));}));}[_0x3339d5(0x1f6)](){const _0x134dcc=_0x3339d5;this[_0x134dcc(0x207)](this['_collaborationUIEventService'][_0x134dcc(0xcc)][_0x134dcc(0x128)](_0x18b969=>{const _0x1107df=_0x134dcc;_0x18b969['id']===_0x265463[_0x1107df(0x26d)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x10d))}),_0x18b969['id']===_0x265463[_0x1107df(0x1d6)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x1c4))}),_0x18b969['id']===_0x265463['PERMISSION_DENIED']&&this[_0x1107df(0x26a)][_0x1107df(0x297)]({'title':this[_0x1107df(0x232)]['t']('permission.title'),'content':this['_localeService']['t'](_0x1107df(0x295)),'type':_0x1107df(0xf0),'duration':0x0}),_0x18b969['id']===_0x265463[_0x1107df(0xb4)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1f3)],'content':this['_localeService']['t'](_0x1107df(0x1c4))+'('+_0x18b969[_0x1107df(0x103)]+')'}),_0x18b969['id']===_0x265463[_0x1107df(0x150)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x18b969[_0x1107df(0x103)]||'')}),_0x18b969['id']===_0x265463[_0x1107df(0x252)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x246))}),_0x18b969['id']===_0x265463[_0x1107df(0x1ec)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450['Error'],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x1d7))}),_0x18b969['id']===_0x265463[_0x1107df(0xc8)]&&this['_messageService']['show']({'type':_0xa98450[_0x1107df(0x1f3)],'content':this[_0x1107df(0x232)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x506cd9),k(0x1,_0x3bff1c),k(0x2,_0x482cd6(_0x67f5fc)),k(0x3,_0x4b68b1),k(0x4,_0x142dbc),k(0x5,_0x482cd6(_0x5497a5))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x2a5f17(_0x3339d5(0x17e));var rn=Object[_0x3339d5(0xd6)],on=(_0x2384de,_0x5fd9e9,_0x4e4c52,_0x5b6cc4)=>{const _0x75c377=_0x3339d5;for(var _0x5b91d8=_0x5b6cc4>0x1?void 0x0:_0x5b6cc4?rn(_0x5fd9e9,_0x4e4c52):_0x5fd9e9,_0x1450a4=_0x2384de[_0x75c377(0x22b)]-0x1,_0x3ec1cc;_0x1450a4>=0x0;_0x1450a4--)(_0x3ec1cc=_0x2384de[_0x1450a4])&&(_0x5b91d8=_0x3ec1cc(_0x5b91d8)||_0x5b91d8);return _0x5b91d8;},K=(_0x52810b,_0x5b5e8c)=>(_0x171140,_0x4c99b2)=>_0x5b5e8c(_0x171140,_0x4c99b2,_0x52810b);let ne=class extends _0x560405{constructor(_0x21f2d5,_0x250725,_0x4f126f,_0x751721,_0xe34f20){const _0xf94ec=_0x3339d5;super(),this[_0xf94ec(0x127)]=_0x21f2d5,this[_0xf94ec(0x1aa)]=_0x250725,this['_commandService']=_0x4f126f,this['_dataLoaderService']=_0x751721,_0xe34f20?_0xe34f20==null||_0xe34f20[_0xf94ec(0x1ac)]()['then'](()=>this[_0xf94ec(0xfe)]()):(this[_0xf94ec(0x1aa)]['debug'](_0xf94ec(0x242),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xf94ec(0xfe)]());}async[_0x3339d5(0xfe)](){const _0x11334f=_0x3339d5,_0x373176=this[_0x11334f(0x127)]['getParam'](_0x11334f(0x27b)),_0x1539ef=this['_urlService'][_0x11334f(0xd7)](_0x11334f(0x116)),_0x5b4ba7=this['_urlService'][_0x11334f(0xd7)](_0x11334f(0xbe));if(!_0x373176||!_0x1539ef){this[_0x11334f(0x1aa)][_0x11334f(0x142)](_0x11334f(0x242),_0x11334f(0x227));return;}const _0x13edec=await this[_0x11334f(0x193)][_0x11334f(0x1f2)](_0x373176,Number(_0x1539ef),_0x5b4ba7);_0x13edec&&_0x13edec instanceof _0x587ddd&&this[_0x11334f(0xaa)](_0x13edec);}async['_setupSubUnitSync'](_0x12a61f){const _0x287f0d=_0x3339d5;await this[_0x287f0d(0x14a)](_0x12a61f),_0x12a61f['activeSheet$'][_0x287f0d(0xef)](_0x535f62(this['dispose$']))[_0x287f0d(0x128)](_0x56c63b=>{const _0x52bee0=_0x287f0d;_0x56c63b&&this[_0x52bee0(0xb3)](_0x56c63b);}),this[_0x287f0d(0x127)][_0x287f0d(0xbc)][_0x287f0d(0xef)](_0x535f62(this[_0x287f0d(0x1b0)]))[_0x287f0d(0x128)](()=>this[_0x287f0d(0x14a)](_0x12a61f));}[_0x3339d5(0xb3)](_0x2b7e75,_0x533743=!0x1){const _0x497ec5=_0x3339d5,_0x39dafc=this['_urlService'][_0x497ec5(0xd7)]('subunit');_0x2b7e75[_0x497ec5(0x23a)]()!==_0x39dafc&&this[_0x497ec5(0x127)]['setParam'](_0x497ec5(0xbe),_0x2b7e75[_0x497ec5(0x23a)](),_0x533743);}async[_0x3339d5(0x14a)](_0x4bed20){const _0x59e028=_0x3339d5;var _0x355552;const _0x2188ac=this[_0x59e028(0x127)]['getParam'](_0x59e028(0xbe));if(!_0x2188ac||!_0x4bed20[_0x59e028(0x141)](_0x2188ac)){const _0x175657=_0x4bed20['getUnhiddenWorksheets']()[0x0],_0x2b46b7=_0x4bed20[_0x59e028(0x141)](_0x175657);if(!_0x2b46b7)return;this[_0x59e028(0xb3)](_0x2b46b7,!0x0),await this[_0x59e028(0xe5)]['executeCommand'](_0x2fe2a3['id'],{'unitId':_0x4bed20[_0x59e028(0x236)](),'subUnitId':_0x175657});return;}((_0x355552=_0x4bed20[_0x59e028(0xac)]())==null?void 0x0:_0x355552[_0x59e028(0x23a)]())!==_0x2188ac&&await this[_0x59e028(0xe5)][_0x59e028(0x240)](_0x2fe2a3['id'],{'unitId':_0x4bed20[_0x59e028(0x236)](),'subUnitId':_0x2188ac});}};ne=on([K(0x0,wt),K(0x1,_0x4d7927),K(0x2,_0x4514f4),K(0x3,_0x482cd6(_0x49491c)),K(0x4,_0x3d7ff8(_0x3cab73))],ne);var an=Object[_0x3339d5(0xd6)],cn=(_0x4828e7,_0x31087e,_0x2867a7,_0x523ed0)=>{const _0x2ae9ee=_0x3339d5;for(var _0x3b20e1=_0x523ed0>0x1?void 0x0:_0x523ed0?an(_0x31087e,_0x2867a7):_0x31087e,_0x5d6c11=_0x4828e7[_0x2ae9ee(0x22b)]-0x1,_0x507d96;_0x5d6c11>=0x0;_0x5d6c11--)(_0x507d96=_0x4828e7[_0x5d6c11])&&(_0x3b20e1=_0x507d96(_0x3b20e1)||_0x3b20e1);return _0x3b20e1;},Ce=(_0x340297,_0x1efe5e)=>(_0x57c028,_0x3a8870)=>_0x1efe5e(_0x57c028,_0x3a8870,_0x340297);let re=class{constructor(_0x85e891,_0x35445c,_0x4cfce2){const _0x43ca5e=_0x3339d5;this[_0x43ca5e(0xfb)]=_0x85e891,this['_transformService']=_0x35445c,this['_renderManagerService']=_0x4cfce2;}[_0x3339d5(0x1fe)](_0x16c0e9){const _0x5d6c73=_0x3339d5;this[_0x5d6c73(0x196)](_0x16c0e9),this[_0x5d6c73(0x26e)](_0x16c0e9);}['transformRemoteChangeset'](_0x15bc2e){const _0x10bc3b=_0x3339d5,{unitID:_0x2a1123}=_0x15bc2e,_0x4e4f99=this[_0x10bc3b(0x1bd)][_0x10bc3b(0xf1)](_0x2a1123)['with'](_0x340d1f),{redoCache:_0x196204}=_0x4e4f99[_0x10bc3b(0x21d)]();if(_0x196204[_0x10bc3b(0x22b)]===0x0)return _0x15bc2e;let _0x3aca92=_0x44d009['deepClone'](_0x15bc2e[_0x10bc3b(0x17b)][0x0]);for(let _0x3cb192=0x0;_0x3cb192<_0x196204[_0x10bc3b(0x22b)];_0x3cb192++){const _0xecfd29={'id':_0x10bc3b(0x121),'params':{..._0x196204[_0x3cb192]}},_0x745ce2=this[_0x10bc3b(0x27d)][_0x10bc3b(0x1e6)](_0x3aca92,_0xecfd29,!0x1);if(_0x300d8c(_0x745ce2))throw _0x745ce2[_0x10bc3b(0xf0)];_0x3aca92=_0x745ce2['m1Prime'];}return{..._0x44d009[_0x10bc3b(0x1a1)](_0x15bc2e),'mutations':[_0x3aca92]};}[_0x3339d5(0x196)](_0x5c24a8){const _0x4bf08b=_0x3339d5,{unitID:_0x523794}=_0x5c24a8,_0x1130cc=this[_0x4bf08b(0x1bd)][_0x4bf08b(0xf1)](_0x523794)['with'](_0x340d1f),{undoCache:_0x54fcff,redoCache:_0x8c3243}=_0x1130cc['getUndoRedoMutationParamsCache']();if(_0x54fcff[_0x4bf08b(0x22b)]===0x0||_0x8c3243[_0x4bf08b(0x22b)]===0x0)return;const _0xd2bc78=[],_0x91724f=[];let _0x40240c=_0x44d009['deepClone'](_0x5c24a8['mutations'][0x0]),_0x4aa796=_0x44d009[_0x4bf08b(0x1a1)](_0x5c24a8[_0x4bf08b(0x17b)][0x0]);for(let _0x3e730d=_0x54fcff[_0x4bf08b(0x22b)]-0x1;_0x3e730d>=0x0;_0x3e730d--){const _0x4350cb={'id':_0x4bf08b(0x121),'params':{..._0x54fcff[_0x3e730d]}},_0x2225a4={'id':'doc.mutation.rich-text-editing','params':{..._0x8c3243[_0x3e730d]}},_0x355222=this[_0x4bf08b(0x27d)]['transformMutation'](_0x40240c,_0x4350cb,!0x1),_0x2c1dbf=this[_0x4bf08b(0x27d)][_0x4bf08b(0x1e6)](_0x4aa796,_0x2225a4,!0x1);if(_0x300d8c(_0x355222))throw _0x355222['error'];if(_0x300d8c(_0x2c1dbf))throw _0x2c1dbf[_0x4bf08b(0xf0)];_0xd2bc78['unshift'](_0x355222[_0x4bf08b(0x248)][_0x4bf08b(0xf9)]),_0x91724f[_0x4bf08b(0x1cb)](_0x2c1dbf[_0x4bf08b(0x248)]['params']),_0x40240c=_0x355222[_0x4bf08b(0x213)],_0x4aa796=_0x2c1dbf[_0x4bf08b(0x213)];}_0x1130cc[_0x4bf08b(0xc4)]({'undoCache':_0xd2bc78,'redoCache':_0x91724f});}[_0x3339d5(0x26e)](_0x1b024e){const _0x4bd9ea=_0x3339d5,{unitID:_0x5b5567}=_0x1b024e,_0x2af9a8=this[_0x4bd9ea(0x1bd)]['getRenderById'](_0x5b5567)[_0x4bd9ea(0x216)](_0x340d1f),_0x5e279a=_0x2af9a8['getActiveRange']();if(_0x5e279a==null)return;const _0x5f53ad=[{'id':_0x4bd9ea(0x121),'params':{'unitId':_0x1b024e[_0x4bd9ea(0x261)],'actions':null,'textRanges':[_0x5e279a]}}],_0x5207fc=this[_0x4bd9ea(0x27d)][_0x4bd9ea(0xd3)](_0x1b024e,_0x5f53ad);if(!_0x4c6bf8(_0x5207fc))throw _0x5207fc[_0x4bd9ea(0xf0)];const _0x4d7b3a=_0x5207fc[_0x4bd9ea(0x248)][0x0][_0x4bd9ea(0xf9)][_0x4bd9ea(0x1e4)];Array[_0x4bd9ea(0x192)](_0x4d7b3a)&&_0x4d7b3a[_0x4bd9ea(0x22b)]&&_0x2af9a8['setActiveRange'](_0x4d7b3a[0x0]);}};re=cn([Ce(0x0,_0x482cd6(_0x3c7991)),Ce(0x1,_0x4fdee5),Ce(0x2,_0x1d30b1)],re);var ln=Object[_0x3339d5(0xd6)],hn=(_0x58617f,_0x3a545a,_0x43061e,_0x49a060)=>{for(var _0xf2405f=_0x49a060>0x1?void 0x0:_0x49a060?ln(_0x3a545a,_0x43061e):_0x3a545a,_0x28dc8d=_0x58617f['length']-0x1,_0x558fa5;_0x28dc8d>=0x0;_0x28dc8d--)(_0x558fa5=_0x58617f[_0x28dc8d])&&(_0xf2405f=_0x558fa5(_0xf2405f)||_0xf2405f);return _0xf2405f;},be=(_0x4711c2,_0x19ed80)=>(_0x4a15dc,_0x407584)=>_0x19ed80(_0x4a15dc,_0x407584,_0x4711c2);let oe=class{constructor(_0x6c2ec5,_0x4a1a85,_0x1f3571){const _0x5db8f8=_0x3339d5;this['_injector']=_0x6c2ec5,this[_0x5db8f8(0x27d)]=_0x4a1a85,this[_0x5db8f8(0x132)]=_0x1f3571;}[_0x3339d5(0x15b)](_0xf25340){const _0xc77ef2=_0x3339d5;this[_0xc77ef2(0x27e)](_0xf25340);}[_0x3339d5(0x1b4)](_0x3346f1){const _0x3df029=_0x3339d5,{unitID:_0xc48682}=_0x3346f1,{collaboration:_0x1ce0a8}=this[_0x3df029(0x132)][_0x3df029(0x21a)](_0xc48682);if(_0x1ce0a8['length']===0x0)return _0x3346f1;let _0x259bb1=_0x44d009[_0x3df029(0x1a1)](_0x3346f1[_0x3df029(0x17b)][0x0]);for(let _0x1ee595=0x0;_0x1ee595<_0x1ce0a8[_0x3df029(0x22b)];_0x1ee595++){const _0x3fe8ad={'id':_0x3df029(0x121),'params':{'unitId':_0x1ce0a8[_0x1ee595][_0x3df029(0x290)],..._0x1ce0a8[_0x1ee595]['redoState']}},_0x1b5b0e=this[_0x3df029(0x27d)]['transformMutation'](_0x259bb1,_0x3fe8ad,!0x1);if(_0x300d8c(_0x1b5b0e))throw _0x1b5b0e[_0x3df029(0xf0)];_0x259bb1=_0x1b5b0e[_0x3df029(0x213)];}return{..._0x44d009['deepClone'](_0x3346f1),'mutations':[_0x259bb1]};}[_0x3339d5(0x27e)](_0x49aa08){const _0x3c68f9=_0x3339d5,{unitID:_0x14b3a2}=_0x49aa08,{history:_0x317fe7,collaboration:_0x363ec4}=this['_docStateChangeManagerService']['getStateCache'](_0x14b3a2);if(_0x317fe7[_0x3c68f9(0x22b)]===0x0&&_0x363ec4[_0x3c68f9(0x22b)]===0x0)return;const _0x3065ae=[],_0x3e77cc=[];let _0xd6ec10=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]),_0x384aee=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]);for(let _0x906e6d=_0x317fe7[_0x3c68f9(0x22b)]-0x1;_0x906e6d>=0x0;_0x906e6d--){const _0x334446={'id':_0x3c68f9(0x121),'params':{'unitId':_0x317fe7[_0x906e6d][_0x3c68f9(0x290)],..._0x317fe7[_0x906e6d][_0x3c68f9(0x298)]}},_0x413646={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317fe7[_0x906e6d][_0x3c68f9(0x290)],..._0x317fe7[_0x906e6d][_0x3c68f9(0x18f)]}},_0x53f071=this[_0x3c68f9(0x27d)][_0x3c68f9(0x1e6)](_0xd6ec10,_0x334446,!0x1),_0xc3d99d=this['_transformService']['transformMutation'](_0x384aee,_0x413646,!0x1);if(_0x300d8c(_0x53f071))throw _0x53f071[_0x3c68f9(0xf0)];if(_0x300d8c(_0xc3d99d))throw _0xc3d99d['error'];_0x3065ae[_0x3c68f9(0x1cb)]({..._0x317fe7[_0x906e6d],'undoState':_0x53f071['m2Prime'][_0x3c68f9(0xf9)],'redoState':_0xc3d99d[_0x3c68f9(0x248)][_0x3c68f9(0xf9)]}),_0xd6ec10=_0x53f071[_0x3c68f9(0x213)],_0x384aee=_0xc3d99d['m1Prime'];}_0xd6ec10=_0x44d009['deepClone'](_0x49aa08['mutations'][0x0]),_0x384aee=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]);for(let _0x546bcb=_0x363ec4['length']-0x1;_0x546bcb>=0x0;_0x546bcb--){const _0x41f4b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x363ec4[_0x546bcb]['unitId'],..._0x363ec4[_0x546bcb]['undoState']}},_0x52ddb3={'id':_0x3c68f9(0x121),'params':{'unitId':_0x363ec4[_0x546bcb][_0x3c68f9(0x290)],..._0x363ec4[_0x546bcb]['redoState']}},_0x118d45=this['_transformService']['transformMutation'](_0xd6ec10,_0x41f4b9,!0x1),_0x49ff81=this[_0x3c68f9(0x27d)][_0x3c68f9(0x1e6)](_0x384aee,_0x52ddb3,!0x1);if(_0x300d8c(_0x118d45))throw _0x118d45['error'];if(_0x300d8c(_0x49ff81))throw _0x49ff81['error'];_0x3e77cc['unshift']({..._0x363ec4[_0x546bcb],'undoState':_0x118d45[_0x3c68f9(0x248)][_0x3c68f9(0xf9)],'redoState':_0x49ff81[_0x3c68f9(0x248)][_0x3c68f9(0xf9)]}),_0xd6ec10=_0x118d45[_0x3c68f9(0x213)],_0x384aee=_0x49ff81[_0x3c68f9(0x213)];}this['_docStateChangeManagerService']['setStateCache'](_0x14b3a2,{'history':_0x3065ae,'collaboration':_0x3e77cc});}};oe=hn([be(0x0,_0x482cd6(_0x3c7991)),be(0x1,_0x4fdee5),be(0x2,_0x482cd6(_0x1d3dda))],oe);var _n=Object[_0x3339d5(0xd6)],un=(_0x34e19a,_0x2f0012,_0x5d4513,_0x15cfdd)=>{const _0x5b1eb4=_0x3339d5;for(var _0xa3c4fe=_0x15cfdd>0x1?void 0x0:_0x15cfdd?_n(_0x2f0012,_0x5d4513):_0x2f0012,_0x56dfca=_0x34e19a[_0x5b1eb4(0x22b)]-0x1,_0x41c848;_0x56dfca>=0x0;_0x56dfca--)(_0x41c848=_0x34e19a[_0x56dfca])&&(_0xa3c4fe=_0x41c848(_0xa3c4fe)||_0xa3c4fe);return _0xa3c4fe;},it=(_0x30730b,_0x14145c)=>(_0x3ea699,_0x540eff)=>_0x14145c(_0x3ea699,_0x540eff,_0x30730b);function _0x587f(_0x195f81,_0x388bcd){const _0x414c73=_0x414c();return _0x587f=function(_0x587f54,_0x5dad12){_0x587f54=_0x587f54-0x9f;let _0x4e6d0d=_0x414c73[_0x587f54];return _0x4e6d0d;},_0x587f(_0x195f81,_0x388bcd);}let ae=class{constructor(_0x56d4d5,_0x1f7903){const _0x428bdd=_0x3339d5;this[_0x428bdd(0xfb)]=_0x56d4d5,this[_0x428bdd(0x27d)]=_0x1f7903;}[_0x3339d5(0x237)](_0x449ecc){const _0x45c97f=_0x3339d5;var _0x10feca;const _0x56ed0a=this[_0x45c97f(0xfb)][_0x45c97f(0x27a)](_0x5a4d54),_0x31cbe4=(_0x10feca=_0x56ed0a['getDocRanges']())!=null?_0x10feca:[];if(_0x31cbe4[_0x45c97f(0x22b)]===0x0)return;const _0x4a119a=_0x449ecc[_0x45c97f(0x261)],_0x5e91d2=[{'id':_0x45c97f(0x121),'params':{'unitId':_0x4a119a,'actions':null,'textRanges':_0x31cbe4}}],_0x4d984f=this[_0x45c97f(0x27d)][_0x45c97f(0xd3)](_0x449ecc,_0x5e91d2);if(!_0x4c6bf8(_0x4d984f))throw _0x4d984f[_0x45c97f(0xf0)];const _0x1c83e2=_0x4d984f['m2Prime'][0x0][_0x45c97f(0xf9)][_0x45c97f(0x1e4)];Array[_0x45c97f(0x192)](_0x1c83e2)&&_0x1c83e2[_0x45c97f(0x22b)]&&_0x56ed0a['replaceDocRanges'](_0x1c83e2,{'unitId':_0x4a119a,'subUnitId':_0x4a119a},!0x1);}};ae=un([it(0x0,_0x482cd6(_0x3c7991)),it(0x1,_0x4fdee5)],ae);var dn=Object[_0x3339d5(0xd6)],fn=(_0x4da4e1,_0x50931b,_0x5c01f6,_0x429b46)=>{const _0x318aa4=_0x3339d5;for(var _0x5245ec=_0x429b46>0x1?void 0x0:_0x429b46?dn(_0x50931b,_0x5c01f6):_0x50931b,_0x45c351=_0x4da4e1[_0x318aa4(0x22b)]-0x1,_0x507c2c;_0x45c351>=0x0;_0x45c351--)(_0x507c2c=_0x4da4e1[_0x45c351])&&(_0x5245ec=_0x507c2c(_0x5245ec)||_0x5245ec);return _0x5245ec;},M=(_0x4e3099,_0x544da7)=>(_0x5054df,_0x11a874)=>_0x544da7(_0x5054df,_0x11a874,_0x4e3099);let ce=class extends _0x2bd1d4{constructor(_0x5ce60b,_0x42d74e,_0x573627,_0x8b49b2,_0x48c5b2,_0x2dc140,_0x5affed,_0x5dbc90){const _0x2368ef=_0x3339d5;super(),h(this,'_status$',new _0x2a8032(_0x41f6d3[_0x2368ef(0xbd)])),(this[_0x2368ef(0x132)]=_0x5ce60b,this[_0x2368ef(0x277)]=_0x42d74e,this[_0x2368ef(0xbf)]=_0x573627,this['_docTransformStateCacheService']=_0x8b49b2,this[_0x2368ef(0x18d)]=_0x48c5b2,this['_docSyncEditingCollabCursorService']=_0x2dc140,this['_messageService']=_0x5affed,this[_0x2368ef(0x232)]=_0x5dbc90,this['_initEntityListener']());}[_0x3339d5(0x143)](){const _0x2c0a4c=_0x3339d5;this[_0x2c0a4c(0x207)](this[_0x2c0a4c(0x277)][_0x2c0a4c(0x27c)][_0x2c0a4c(0x128)](_0xcdbe64=>{const _0x21a6a8=_0x2c0a4c,_0x4212f0=this[_0x21a6a8(0x132)][_0x21a6a8(0x25d)][_0x21a6a8(0x128)](_0x32398e=>{const _0x3f457b=_0x21a6a8;if(_0x32398e==null)return;const {unitId:_0x199c54,redoState:_0x6a053c,commandId:_0x148ab0}=_0x32398e;if(_0x199c54!==_0xcdbe64['unitID'])return;const _0x487b4b={'id':_0x148ab0,'type':_0x13761c[_0x3f457b(0xd4)],'params':{'unitId':_0x199c54,'actions':_0x6a053c[_0x3f457b(0xc5)],'textRanges':null}};_0xcdbe64['onLocalMutation'](_0x487b4b);});if(_0xcdbe64[_0x21a6a8(0x207)](_0x4212f0),_0xcdbe64 instanceof _0x5ebf78){const _0x2809a2={'onTransformIME':_0x7b16ac=>this[_0x21a6a8(0xbf)][_0x21a6a8(0x1fe)](_0x7b16ac),'onTransformState':_0x2b7f7c=>this[_0x21a6a8(0x220)][_0x21a6a8(0x15b)](_0x2b7f7c),'onTransformSelections':_0x537f94=>this[_0x21a6a8(0x18d)]['transformSelections'](_0x537f94),'onSyncEditingCollabCursor':_0x3e5828=>this['_docSyncEditingCollabCursorService'][_0x21a6a8(0x230)](_0x3e5828),'onTransformRemoteChangesetByIMECache':_0x50b939=>this[_0x21a6a8(0xbf)][_0x21a6a8(0x1b4)](_0x50b939),'onTransformRemoteChangesetByStateCache':_0x822aa7=>this[_0x21a6a8(0x220)][_0x21a6a8(0x1b4)](_0x822aa7)};_0xcdbe64[_0x21a6a8(0x1a5)](_0x2809a2);}}));}};ce=fn([M(0x0,_0x482cd6(_0x1d3dda)),M(0x1,_0x482cd6(_0x2a81e4)),M(0x2,_0x482cd6(re)),M(0x3,_0x482cd6(oe)),M(0x4,_0x482cd6(ae)),M(0x5,_0x482cd6(je)),M(0x6,_0x4b68b1),M(0x7,_0x482cd6(_0x5497a5))],ce);var Sn=Object[_0x3339d5(0xd6)],mn=(_0x285674,_0x34a966,_0x24ddc0,_0x2f7dbc)=>{for(var _0x3f1d9d=_0x2f7dbc>0x1?void 0x0:_0x2f7dbc?Sn(_0x34a966,_0x24ddc0):_0x34a966,_0x5143d7=_0x285674['length']-0x1,_0x95b73f;_0x5143d7>=0x0;_0x5143d7--)(_0x95b73f=_0x285674[_0x5143d7])&&(_0x3f1d9d=_0x95b73f(_0x3f1d9d)||_0x3f1d9d);return _0x3f1d9d;},Ee=(_0x49c88e,_0x30e75b)=>(_0x5ad021,_0x540286)=>_0x30e75b(_0x5ad021,_0x540286,_0x49c88e);let Ae=class extends _0x2bd1d4{constructor(_0x3204f7,_0x42675c,_0x14b791){const _0x29e399=_0x3339d5;super(),h(this,_0x29e399(0x1a4),new Map()),h(this,_0x29e399(0xec),new Map()),h(this,_0x29e399(0xb8),!0x1),(this[_0x29e399(0x129)]=_0x3204f7,this[_0x29e399(0x255)]=_0x42675c,this[_0x29e399(0x180)]=_0x14b791);}[_0x3339d5(0x175)](){this['_disabled']=!0x0;}[_0x3339d5(0x15a)](){const _0x346b1a=_0x3339d5;this[_0x346b1a(0xb8)]=!0x1;}get['saveTaskMap'](){const _0x458e9a=_0x3339d5;return this[_0x458e9a(0xec)];}[_0x3339d5(0x275)](){const _0x3478d7=_0x3339d5;this['exhaustSavingTask']()['then'](()=>super[_0x3478d7(0x275)]());}async['loadOfflineData'](_0x427795){const _0xf140e0=_0x3339d5;return this[_0xf140e0(0xb8)]?null:this[_0xf140e0(0x255)][_0xf140e0(0x110)](_0x3ea19b(_0x427795));}async[_0x3339d5(0x265)](_0x1ecc08,_0xb15aaa){const _0x1f20d6=_0x3339d5;return!!this[_0x1f20d6(0x255)][_0x1f20d6(0x1ce)](_0x1ecc08,_0xb15aaa);}[_0x3339d5(0xa8)](_0x30e895,_0x347ad7,_0x14ab21,_0x305ac4){const _0x3a8351=_0x3339d5,_0x45f724=this['_revisionService'][_0x3a8351(0x284)](_0x30e895);this[_0x3a8351(0x1a4)]['set'](_0x30e895,{'unitID':_0x30e895,'type':_0x347ad7,'awaitingChangeset':_0x14ab21,'mutations':_0x305ac4,'rev':_0x45f724}),this[_0x3a8351(0xec)][_0x3a8351(0xe4)](_0x30e895)||this[_0x3a8351(0x17d)](_0x30e895);}[_0x3339d5(0x17d)](_0x545bd2){const _0xd03a27=_0x3339d5,_0x22171f=this[_0xd03a27(0x244)]();_0x22171f===0x0?this[_0xd03a27(0x291)](_0x545bd2):this[_0xd03a27(0xec)]['set'](_0x545bd2,setTimeout(()=>this['_saveCache'](_0x545bd2),_0x22171f));}[_0x3339d5(0x244)](){const _0x54aeba=_0x3339d5;var _0x4f2484;return(_0x4f2484=this['_configService'][_0x54aeba(0x165)](_0x421815))!=null?_0x4f2484:_0x57c8e3;}[_0x3339d5(0x291)](_0x1a250a){const _0x182138=_0x3339d5,_0xdc0033=this[_0x182138(0xec)][_0x182138(0x27a)](_0x1a250a);return _0xdc0033!==void 0x0&&window[_0x182138(0x201)](_0xdc0033),this['_localStorageService'][_0x182138(0x1ce)](_0x3ea19b(_0x1a250a),this[_0x182138(0x1a4)][_0x182138(0x27a)](_0x1a250a))[_0x182138(0x12f)](()=>this['_saveTaskMap'][_0x182138(0x19d)](_0x1a250a));}async['exhaustSavingTask'](){const _0x1f4d1f=_0x3339d5,_0x4e8928=[];this[_0x1f4d1f(0xec)]['forEach']((_0x32ae69,_0x54df89)=>{const _0x52e8e4=_0x1f4d1f;window[_0x52e8e4(0x201)](_0x32ae69),_0x4e8928['push'](this[_0x52e8e4(0x291)](_0x54df89)[_0x52e8e4(0x12f)](()=>{const _0x460587=_0x52e8e4;this[_0x460587(0xec)][_0x460587(0x19d)](_0x54df89);}));}),await Promise[_0x1f4d1f(0x26b)](_0x4e8928);}};Ae=mn([Ee(0x0,_0x449af2),Ee(0x1,_0x5017ac),Ee(0x2,_0x482cd6(_0x174477))],Ae);class gn extends _0x560405{constructor(){const _0x13f85f=_0x3339d5;super(),h(this,_0x13f85f(0xbc)),this[_0x13f85f(0xbc)]=_0x4b29d5(window,_0x13f85f(0x1fa))[_0x13f85f(0xef)](_0x535f62(this[_0x13f85f(0x1b0)]),_0x188ffe(0x1),_0x2b8fca(void 0x0));}[_0x3339d5(0x187)](_0x36ddb7,_0x56b4c4,_0x4b631a=!0x1){const _0x3056b9=_0x3339d5,_0x483047=new URL(window['location']['href']);_0x483047[_0x3056b9(0x11d)][_0x3056b9(0x188)](_0x36ddb7,_0x56b4c4),_0x4b631a?window[_0x3056b9(0x168)][_0x3056b9(0x17f)]('','',_0x483047['toString']()):window[_0x3056b9(0x168)][_0x3056b9(0x139)]('','',_0x483047[_0x3056b9(0x1e5)]());}[_0x3339d5(0x1c0)](_0x22c96f,_0x588b4a=!0x1){const _0x164a1d=_0x3339d5,_0x2f9380=new URL(window[_0x164a1d(0xe6)][_0x164a1d(0x155)]);_0x2f9380[_0x164a1d(0x11d)]['delete'](_0x22c96f),_0x588b4a?window[_0x164a1d(0x168)][_0x164a1d(0x17f)]('','',_0x2f9380[_0x164a1d(0x1e5)]()):window['history'][_0x164a1d(0x139)]('','',_0x2f9380[_0x164a1d(0x1e5)]());}[_0x3339d5(0xd7)](_0x182cd5){const _0x53f8d0=_0x3339d5;var _0x543f49;return(_0x543f49=new URL(window[_0x53f8d0(0xe6)][_0x53f8d0(0x155)])[_0x53f8d0(0x11d)][_0x53f8d0(0x27a)](_0x182cd5))!=null?_0x543f49:void 0x0;}}var vn=Object[_0x3339d5(0x102)],In=Object[_0x3339d5(0xd6)],pn=(_0x69aa80,_0x2541e,_0x3a5ed3)=>_0x2541e in _0x69aa80?vn(_0x69aa80,_0x2541e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a5ed3}):_0x69aa80[_0x2541e]=_0x3a5ed3,Cn=(_0x482cd7,_0x5cc856,_0x3b308e,_0x2f1761)=>{const _0x5111f8=_0x3339d5;for(var _0x2bd32a=_0x2f1761>0x1?void 0x0:_0x2f1761?In(_0x5cc856,_0x3b308e):_0x5cc856,_0x3adf86=_0x482cd7[_0x5111f8(0x22b)]-0x1,_0x55572d;_0x3adf86>=0x0;_0x3adf86--)(_0x55572d=_0x482cd7[_0x3adf86])&&(_0x2bd32a=_0x55572d(_0x2bd32a)||_0x2bd32a);return _0x2bd32a;},Oe=(_0x4a0954,_0x1ecad0)=>(_0xab5397,_0x1e532b)=>_0x1ecad0(_0xab5397,_0x1e532b,_0x4a0954),bn=(_0x242899,_0x334d34,_0x46ab1e)=>pn(_0x242899,_0x334d34+'',_0x46ab1e);const En=_0x3339d5(0x233);let ye=class extends _0x92c45{constructor(_0x23bfb2=st,_0x587771,_0x4014ed,_0x114148){const _0x193aa7=_0x3339d5;super(),this[_0x193aa7(0x1f7)]=_0x23bfb2,this[_0x193aa7(0x1bd)]=_0x587771,this['_injector']=_0x4014ed,this[_0x193aa7(0x129)]=_0x114148;const {..._0x465657}=_0x219969({},st,this[_0x193aa7(0x1f7)]);this['_configService'][_0x193aa7(0x182)](nn,_0x465657);}[_0x3339d5(0x1b7)](){const _0xfd7fd1=_0x3339d5;this['_registerDependencies'](),this[_0xfd7fd1(0x149)]();}['onRendered'](){const _0x329f10=_0x3339d5;this[_0x329f10(0xa6)]();}[_0x3339d5(0x24c)](){const _0x2165bd=_0x3339d5;var _0x5af498;const _0x4f588e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x5bb4bb,{'useClass':_0x39824d}],[_0x3bff1c,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4f1a3f(this[_0x2165bd(0xfb)],_0x7fa595(_0x4f588e,(_0x5af498=this['_config'])==null?void 0x0:_0x5af498[_0x2165bd(0x25e)]));}['_registerRenderDependencies'](){const _0x2e127f=_0x3339d5;this['disposeWithMe'](this[_0x2e127f(0x1bd)][_0x2e127f(0x204)](_0x3fe5fd[_0x2e127f(0x108)],[Ue])),this['disposeWithMe'](this['_renderManagerService'][_0x2e127f(0x204)](_0x3fe5fd['UNIVER_SHEET'],[Le]));}[_0x3339d5(0x149)](){_0x4b86e1(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x1917f6(_0x21de00),Oe(0x1,_0x1d30b1),Oe(0x2,_0x482cd6(_0x3c7991)),Oe(0x3,_0x449af2)],ye);var On=Object[_0x3339d5(0xd6)],Tn=(_0xb62ac1,_0x38aa9d,_0x28ca33,_0x52e9b7)=>{const _0x46c967=_0x3339d5;for(var _0x11e527=_0x52e9b7>0x1?void 0x0:_0x52e9b7?On(_0x38aa9d,_0x28ca33):_0x38aa9d,_0x5b55f6=_0xb62ac1[_0x46c967(0x22b)]-0x1,_0x4b7249;_0x5b55f6>=0x0;_0x5b55f6--)(_0x4b7249=_0xb62ac1[_0x5b55f6])&&(_0x11e527=_0x4b7249(_0x11e527)||_0x11e527);return _0x11e527;},z=(_0x455b70,_0x2b03d0)=>(_0x1986ee,_0x1a3416)=>_0x2b03d0(_0x1986ee,_0x1a3416,_0x455b70);let nt=class extends _0x449592{constructor(_0x596ab8,_0x46d1be,_0x379252,_0x1a72e7,_0x5a3f34){super(_0x596ab8,_0x46d1be,_0x379252,_0x1a72e7,_0x5a3f34);}async[_0x3339d5(0xeb)](_0x22c77d){const _0x1b3e15=_0x3339d5,_0x572ad2=await this[_0x1b3e15(0x111)](),_0x49e884=this['_createSocketURL'](_0x22c77d,_0x572ad2);return this[_0x1b3e15(0x1c7)](_0x49e884);}[_0x3339d5(0x107)](_0x3af894,_0x32d743){const _0x1b14dd=_0x3339d5,_0x156717=typeof window>'u'?new URL(_0x3af894):new URL(_0x3af894,window[_0x1b14dd(0xe6)][_0x1b14dd(0x1ef)]);_0x156717['searchParams']['set']('sessionTicket',_0x32d743);const _0x19d242=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1b14dd(0x1c5)]);return _0x19d242[_0x1b14dd(0x27a)](_0x1b14dd(0x258))&&_0x156717['searchParams'][_0x1b14dd(0x188)](_0x1b14dd(0x258),_0x19d242[_0x1b14dd(0x27a)](_0x1b14dd(0x258))),_0x156717[_0x1b14dd(0x1e5)]();}async['_getSessionTicket'](){const _0xc87834=_0x3339d5;var _0x32afc4,_0x4d4fd1,_0x1f19d3;const _0x682e79=this['_configService'][_0xc87834(0x165)](_0x510817),_0x3ecf54=(_0x32afc4=_0x682e79==null?void 0x0:_0x682e79['wsSessionTicketUrl'])!=null?_0x32afc4:_0x220565;return(_0x1f19d3=(_0x4d4fd1=(await this[_0xc87834(0x223)][_0xc87834(0x27a)](_0x3ecf54,{'headers':{'Content-Type':_0xc87834(0x15c)}}))[_0xc87834(0x120)])==null?void 0x0:_0x4d4fd1[_0xc87834(0xa3)])!=null?_0x1f19d3:'';}};nt=Tn([z(0x0,_0x482cd6(_0x3c7991)),z(0x1,_0x482cd6(_0x577891)),z(0x2,_0x449af2),z(0x3,_0x4d7927),z(0x4,_0x231dc3)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x2bd1d4{constructor(){const _0x4ffadb=_0x3339d5;super(),h(this,'_id',_0x1eae00()),h(this,_0x4ffadb(0x211),new Set()),h(this,_0x4ffadb(0x157),new Map()),h(this,_0x4ffadb(0x1cf),null),h(this,_0x4ffadb(0x16a),new Map()),h(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x5415b1=_0x3339d5;super['dispose'](),this[_0x5415b1(0x16a)][_0x5415b1(0xd0)]((_0x2ac996,_0x277b81)=>this['_removeClearOtherTimer'](_0x277b81)),this[_0x5415b1(0x1cf)]&&window[_0x5415b1(0x257)](this[_0x5415b1(0x1cf)]);}[_0x3339d5(0x1dd)](_0x553db2){const _0x375a75=_0x3339d5;return this['_ensureSubject'](_0x553db2)[_0x375a75(0xef)](_0x459010());}[_0x3339d5(0x268)](_0x20744e){const _0x15527f=_0x3339d5;this[_0x15527f(0x211)][_0x15527f(0x190)]===0x0&&this[_0x15527f(0x147)](),this[_0x15527f(0x211)][_0x15527f(0xd8)](_0x20744e),this[_0x15527f(0x1bc)]({'type':0x0,'memberID':this[_0x15527f(0x140)],'unitIDs':[_0x20744e],'isForwarded':!0x1});}[_0x3339d5(0x20d)](_0x510105){const _0x287ca2=_0x3339d5;this['_selfUnitIDs']['delete'](_0x510105),this[_0x287ca2(0x211)][_0x287ca2(0x190)]===0x0&&this[_0x287ca2(0x1cf)]&&window[_0x287ca2(0x257)](this[_0x287ca2(0x1cf)]);}['_init'](){const _0x1b76e9=_0x3339d5;this['disposeWithMe'](_0x12fcb9(_0x4b29d5(window,_0x1b76e9(0x1f8))['subscribe'](_0x5e23b0=>{const _0x31617d=_0x1b76e9;if(_0x5e23b0[_0x31617d(0x10a)]!==ot||!_0x5e23b0[_0x31617d(0x217)])return;const _0x18c3f4=JSON[_0x31617d(0x136)](_0x5e23b0[_0x31617d(0x217)]);this[_0x31617d(0x1df)](_0x18c3f4);}))),window['addEventListener'](_0x1b76e9(0xe9),()=>this[_0x1b76e9(0x1bc)]({'type':0x1,'memberID':this[_0x1b76e9(0x140)],'unitIDs':Array[_0x1b76e9(0x20a)](this[_0x1b76e9(0x211)])}));}[_0x3339d5(0x1df)](_0x151711){const _0x315904=_0x3339d5;switch(_0x151711[_0x315904(0x116)]){case 0x0:this[_0x315904(0xf2)](_0x151711);break;case 0x1:this[_0x315904(0x13b)](_0x151711);break;case 0x2:this[_0x315904(0xe3)](_0x151711);break;}}[_0x3339d5(0xf2)](_0x5c0005){const _0x30d6cd=_0x3339d5,{unitIDs:_0x5c4d76,memberID:_0x2152f9,isForwarded:_0x271e9e}=_0x5c0005;_0x5c4d76[_0x30d6cd(0xd0)](_0x42caf1=>{const _0x72768b=_0x30d6cd;if(!_0x271e9e&&this[_0x72768b(0x157)]['has'](_0x42caf1)&&this[_0x72768b(0x105)](_0x42caf1)[_0x72768b(0xfc)](_0x27a9b0['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x72768b(0xe4)](_0x42caf1)||!this['_unitOnClients'][_0x72768b(0x27a)](_0x42caf1)[_0x72768b(0xe4)](_0x2152f9)){const _0x2d3a5b=this[_0x72768b(0x157)]['get'](_0x42caf1)||new Set();_0x2d3a5b[_0x72768b(0xd8)](_0x2152f9),this[_0x72768b(0x157)]['set'](_0x42caf1,_0x2d3a5b),this['_scheduleClearOtherTimer'](_0x2152f9);}}),_0x271e9e||this[_0x30d6cd(0x1bc)]({'type':0x0,'memberID':this[_0x30d6cd(0x140)],'unitIDs':[...this[_0x30d6cd(0x211)]],'isForwarded':!0x0});}[_0x3339d5(0xc0)](_0x2ba3fc){const _0x4f9547=_0x3339d5;this[_0x4f9547(0xc6)](_0x2ba3fc);const _0x48f98d=window[_0x4f9547(0xea)](()=>{const _0x50b17a=_0x4f9547;this['_unitOnClients'][_0x50b17a(0xd0)](_0x421ff1=>{const _0x556b91=_0x50b17a;_0x421ff1[_0x556b91(0x19d)](_0x2ba3fc);});},rt*0x2);this[_0x4f9547(0x16a)][_0x4f9547(0x188)](_0x2ba3fc,_0x48f98d);}[_0x3339d5(0xc6)](_0x5846ae){const _0x33ef4f=_0x3339d5;if(this[_0x33ef4f(0x16a)][_0x33ef4f(0xe4)](_0x5846ae)){const _0x18bb2c=this[_0x33ef4f(0x16a)][_0x33ef4f(0x27a)](_0x5846ae);_0x18bb2c&&window[_0x33ef4f(0x201)](_0x18bb2c),this[_0x33ef4f(0x16a)][_0x33ef4f(0x188)](_0x5846ae,null);}}[_0x3339d5(0x13b)](_0x52a8d0){const _0x34fd70=_0x3339d5,{memberID:_0x4bc72b,unitIDs:_0x3437e9}=_0x52a8d0;_0x3437e9[_0x34fd70(0xd0)](_0x46ffd0=>{const _0x1c25bd=_0x34fd70;var _0x286481;const _0x12a9dc=this[_0x1c25bd(0x157)][_0x1c25bd(0x27a)](_0x46ffd0);_0x12a9dc&&(_0x12a9dc[_0x1c25bd(0x19d)](_0x4bc72b),(_0x286481=this[_0x1c25bd(0x105)](_0x46ffd0))==null||_0x286481[_0x1c25bd(0xfc)](_0x12a9dc[_0x1c25bd(0x190)]===0x0?_0x27a9b0['NO_OTHER_CLIENTS_EDITING']:_0x27a9b0[_0x1c25bd(0x1e7)]));}),this['_removeClearOtherTimer'](_0x4bc72b);}[_0x3339d5(0xe3)](_0x1b83bb){const _0x1c5ada=_0x3339d5;this[_0x1c5ada(0xc0)](_0x1b83bb[_0x1c5ada(0xdc)]);}['_send'](_0x502188){const _0x4b576c=_0x3339d5;localStorage['setItem'](ot,JSON[_0x4b576c(0x1e0)](_0x502188));}[_0x3339d5(0x147)](){const _0x5c8546=_0x3339d5;this[_0x5c8546(0x1cf)]=window[_0x5c8546(0x294)](()=>{const _0x12ef22=_0x5c8546;this['_send']({'type':0x2,'memberID':this[_0x12ef22(0x140)]});},rt);}['_ensureSubject'](_0x5cafc8){const _0x4fc3fe=_0x3339d5;return this[_0x4fc3fe(0x1d0)]['has'](_0x5cafc8)||this[_0x4fc3fe(0x1d0)]['set'](_0x5cafc8,new _0x2a8032(_0x27a9b0[_0x4fc3fe(0x1e1)])),this[_0x4fc3fe(0x1d0)][_0x4fc3fe(0x27a)](_0x5cafc8);}}var Ut=(_0x379d79=>(_0x379d79[_0x379d79[_0x3339d5(0x283)]=0x0]=_0x3339d5(0x283),_0x379d79[_0x379d79['OK']=0x1]='OK',_0x379d79[_0x379d79[_0x3339d5(0x1f9)]=0x2]='INTERNAL_ERROR',_0x379d79[_0x379d79[_0x3339d5(0x276)]=0x3]=_0x3339d5(0x276),_0x379d79[_0x379d79[_0x3339d5(0x1e3)]=0x4]=_0x3339d5(0x1e3),_0x379d79[_0x379d79[_0x3339d5(0x29c)]=0x5]=_0x3339d5(0x29c),_0x379d79[_0x379d79[_0x3339d5(0x130)]=0x6]=_0x3339d5(0x130),_0x379d79[_0x379d79[_0x3339d5(0x1c1)]=0x7]=_0x3339d5(0x1c1),_0x379d79[_0x379d79['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x379d79[_0x379d79[_0x3339d5(0x194)]=0x9]=_0x3339d5(0x194),_0x379d79[_0x379d79[_0x3339d5(0x231)]=0x1389]=_0x3339d5(0x231),_0x379d79[_0x379d79[_0x3339d5(0x271)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x379d79[_0x379d79[_0x3339d5(0x1cc)]=0x1772]=_0x3339d5(0x1cc),_0x379d79[_0x379d79[_0x3339d5(0x13a)]=0x1773]=_0x3339d5(0x13a),_0x379d79[_0x379d79[_0x3339d5(0xc2)]=0x1b59]=_0x3339d5(0xc2),_0x379d79[_0x379d79[_0x3339d5(0x29a)]=0x1b5a]=_0x3339d5(0x29a),_0x379d79[_0x379d79['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3339d5(0x210),_0x379d79[_0x379d79[_0x3339d5(0xc7)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x379d79[_0x379d79[_0x3339d5(0x203)]=0x1b5d]=_0x3339d5(0x203),_0x379d79[_0x379d79[_0x3339d5(0x146)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x379d79[_0x379d79[_0x3339d5(0x13e)]=0x2329]=_0x3339d5(0x13e),_0x379d79[_0x379d79[_0x3339d5(0x134)]=0x232a]=_0x3339d5(0x134),_0x379d79[_0x379d79['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3339d5(0x13c),_0x379d79[_0x379d79[_0x3339d5(0x167)]=0x232c]=_0x3339d5(0x167),_0x379d79[_0x379d79['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3339d5(0x10c),_0x379d79[_0x379d79[_0x3339d5(0x19c)]=0x2711]=_0x3339d5(0x19c),_0x379d79[_0x379d79[_0x3339d5(0x1d3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x379d79[_0x379d79[_0x3339d5(0xa2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x379d79[_0x379d79[_0x3339d5(0x259)]=0x2714]=_0x3339d5(0x259),_0x379d79[_0x379d79[_0x3339d5(0x14c)]=0x2af9]=_0x3339d5(0x14c),_0x379d79[_0x379d79[_0x3339d5(0x11a)]=-0x1]=_0x3339d5(0x11a),_0x379d79))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x4964d3,_0x1a97d5,_0x5869a6,_0x551e27)=>{for(var _0x361a6a=_0x551e27>0x1?void 0x0:_0x551e27?Rn(_0x1a97d5,_0x5869a6):_0x1a97d5,_0x2d3447=_0x4964d3['length']-0x1,_0xa3d884;_0x2d3447>=0x0;_0x2d3447--)(_0xa3d884=_0x4964d3[_0x2d3447])&&(_0x361a6a=_0xa3d884(_0x361a6a)||_0x361a6a);return _0x361a6a;},Te=(_0x3f1a9d,_0x103a4a)=>(_0x5cf44d,_0x4b5f5d)=>_0x103a4a(_0x5cf44d,_0x4b5f5d,_0x3f1a9d);let at=class extends _0x2bd1d4{constructor(_0x4293bc,_0x5ee093,_0x92c2e2){const _0x36e744=_0x3339d5;super(),this[_0x36e744(0x26f)]=_0x4293bc,this[_0x36e744(0x223)]=_0x5ee093,this[_0x36e744(0x129)]=_0x92c2e2;}async[_0x3339d5(0x279)](_0x990d19,_0x10bd0c,_0x150a7d,..._0xd3202d){const _0x2b01bd=_0x3339d5;var _0x2a295b,_0x37fccd,_0x59270d,_0xba2bc4;const _0x3776b3=this[_0x2b01bd(0x26f)]['getFocusedUnit']();if(!_0x3776b3)throw new Error(_0x2b01bd(0x18b));const _0x32ceee=((_0x2a295b=this[_0x2b01bd(0x129)]['getConfig'](_0x26174b))!=null?_0x2a295b:_0x4aa098)+'/'+_0x990d19+_0x2b01bd(0x12b)+_0x10bd0c,_0x44eaa6=new URL(window['location'][_0x2b01bd(0x155)]),_0x22f9ef={'scriptId':_0x990d19,'runId':(_0x37fccd=_0x44eaa6[_0x2b01bd(0x11d)][_0x2b01bd(0x27a)](_0x2b01bd(0x258)))!=null?_0x37fccd:'','function':_0x10bd0c,'unitId':_0x3776b3[_0x2b01bd(0x236)](),'argsOfFunction':JSON['stringify'](_0xd3202d),'invokeId':(_0x59270d=_0x150a7d[_0x2b01bd(0x27f)])!=null?_0x59270d:'','executionId':(_0xba2bc4=_0x150a7d[_0x2b01bd(0x163)])!=null?_0xba2bc4:''};try{const _0x1d5a90=await this[_0x2b01bd(0x223)][_0x2b01bd(0x299)](_0x32ceee,{'body':_0x22f9ef});return _0x1d5a90[_0x2b01bd(0x120)][_0x2b01bd(0xf0)]&&_0x1d5a90['body'][_0x2b01bd(0xf0)][_0x2b01bd(0xb0)]!==Ut['OK']?'Failed':_0x1d5a90[_0x2b01bd(0x120)][_0x2b01bd(0x12e)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x4b01c1),Te(0x1,_0x482cd6(_0x577891)),Te(0x2,_0x449af2)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x162bfb=_0x11fd;(function(_0x3b4c84,_0x57c8cb){const _0x3b130e=_0x11fd,_0x52bd81=_0x3b4c84();while(!![]){try{const _0x5cd758=-parseInt(_0x3b130e(0x86))/0x1+parseInt(_0x3b130e(0x85))/0x2*(-parseInt(_0x3b130e(0x80))/0x3)+parseInt(_0x3b130e(0x81))/0x4+-parseInt(_0x3b130e(0x77))/0x5+parseInt(_0x3b130e(0x7d))/0x6+-parseInt(_0x3b130e(0x79))/0x7+-parseInt(_0x3b130e(0x84))/0x8*(-parseInt(_0x3b130e(0x72))/0x9);if(_0x5cd758===_0x57c8cb)break;else _0x52bd81['push'](_0x52bd81['shift']());}catch(_0x4ec40c){_0x52bd81['push'](_0x52bd81['shift']());}}}(_0x47d9,0xab464));function _0x11fd(_0x2025aa,_0x7bc4ac){const _0x47d9d7=_0x47d9();return _0x11fd=function(_0x11fd3f,_0x1c2eac){_0x11fd3f=_0x11fd3f-0x70;let _0x430a55=_0x47d9d7[_0x11fd3f];return _0x430a55;},_0x11fd(_0x2025aa,_0x7bc4ac);}const e={'collab-client':{'tooltip':{'reconnect':_0x162bfb(0x73)}},'collabStatus':{'fetchMiss':_0x162bfb(0x7b),'conflict':'Edit\x20conflicts','notCollab':_0x162bfb(0x7e),'synced':_0x162bfb(0x7c),'syncing':_0x162bfb(0x83),'offline':_0x162bfb(0x78)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x162bfb(0x76),'room-full':_0x162bfb(0x75),'collaboration-timeout':_0x162bfb(0x70)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x162bfb(0x7f)},'permission':{'title':'Authentication\x20Error','content':_0x162bfb(0x71)},'collaboration':{'single-unit':{'warning':_0x162bfb(0x7a)},'closeRoom':_0x162bfb(0x82)},'auth':{'needGotoLoginAlert':_0x162bfb(0x74)}};export{e as default};function _0x47d9(){const _0x47bfbb=['Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','6065945qkANfo','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1157730IdaPwS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Synced','5913114VRENSd','Local\x20file','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.','15ZWPiSe','5345920DLLPot','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','32lmClFs','64250mKkHDG','592019qDyYGI','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1149219cZQLOa'];_0x47d9=function(){return _0x47bfbb;};return _0x47d9();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3f487d=_0x1370;function _0x1370(_0x18e229,_0x950bbf){const _0x3b5993=_0x3b59();return _0x1370=function(_0x137083,_0x5c1ff7){_0x137083=_0x137083-0x11f;let _0x3055f3=_0x3b5993[_0x137083];return _0x3055f3;},_0x1370(_0x18e229,_0x950bbf);}function _0x3b59(){const _0x567c53=['14147bJnVHr','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','65yHAzMI','418804ypFvmX','1220530ljcwpC','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','11913yxvyiN','همگام\x20سازی','84772dfKzJg','1548ghIWno','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی...','1sCGRcP','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','3270LaZflP','3322197QNNhlJ','318oTvNwf','8BsQPHe'];_0x3b59=function(){return _0x567c53;};return _0x3b59();}(function(_0x56a90f,_0x2f6eca){const _0x151975=_0x1370,_0x159193=_0x56a90f();while(!![]){try{const _0x4e41c2=parseInt(_0x151975(0x132))/0x1*(parseInt(_0x151975(0x127))/0x2)+parseInt(_0x151975(0x11f))/0x3+parseInt(_0x151975(0x12e))/0x4*(parseInt(_0x151975(0x126))/0x5)+-parseInt(_0x151975(0x121))/0x6*(-parseInt(_0x151975(0x123))/0x7)+parseInt(_0x151975(0x122))/0x8*(-parseInt(_0x151975(0x120))/0x9)+parseInt(_0x151975(0x128))/0xa+-parseInt(_0x151975(0x12c))/0xb*(parseInt(_0x151975(0x12f))/0xc);if(_0x4e41c2===_0x2f6eca)break;else _0x159193['push'](_0x159193['shift']());}catch(_0x324a8c){_0x159193['push'](_0x159193['shift']());}}}(_0x3b59,0x325f7));const o={'collab-client':{'tooltip':{'reconnect':_0x3f487d(0x129)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x3f487d(0x12d),'syncing':_0x3f487d(0x131),'offline':_0x3f487d(0x130)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3f487d(0x124),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x3f487d(0x12b)},'conflict':{'title':_0x3f487d(0x125),'content':_0x3f487d(0x135)},'permission':{'title':_0x3f487d(0x12a),'content':_0x3f487d(0x133)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x3f487d(0x134)},'auth':{'needGotoLoginAlert':_0x3f487d(0x136)}};export{o as default};
|