@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504251607
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/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 +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3d495f=_0x5750;(function(_0x592943,_0x59231a){const _0x5a865a=_0x5750,_0x1a45c1=_0x592943();while(!![]){try{const _0xf71f30=parseInt(_0x5a865a(0x3c6))/0x1*(parseInt(_0x5a865a(0x2c0))/0x2)+parseInt(_0x5a865a(0x2b2))/0x3*(-parseInt(_0x5a865a(0x27a))/0x4)+parseInt(_0x5a865a(0x241))/0x5*(-parseInt(_0x5a865a(0x3a1))/0x6)+-parseInt(_0x5a865a(0x1e9))/0x7+parseInt(_0x5a865a(0x32b))/0x8+-parseInt(_0x5a865a(0x2c9))/0x9+parseInt(_0x5a865a(0x3ce))/0xa;if(_0xf71f30===_0x59231a)break;else _0x1a45c1['push'](_0x1a45c1['shift']());}catch(_0x51e6da){_0x1a45c1['push'](_0x1a45c1['shift']());}}}(_0x207e,0x998dc));var Bt=Object['defineProperty'],kt=(_0x546261,_0xf0d578,_0x481c4e)=>_0xf0d578 in _0x546261?Bt(_0x546261,_0xf0d578,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x481c4e}):_0x546261[_0xf0d578]=_0x481c4e,_=(_0x4af705,_0x2a12ae,_0x2f58c9)=>kt(_0x4af705,typeof _0x2a12ae!=_0x3d495f(0x1d7)?_0x2a12ae+'':_0x2a12ae,_0x2f58c9);import{MemberService as _0x39dede,SessionStatus as _0x5deb02,CollaborationSessionService as _0x54008c,CollaborationStatus as _0x55f2a1,CollaborationController as _0x3bd700,ILocalCacheService as _0x38eb01,CollaborationUIEventService as _0x32db01,CollaborationUIEventId as _0x2575ef,DataLoaderService as _0x2fbab3,DocCollaborationEntity as _0xe49363,getLocalCacheKey as _0xfb044,LOCAL_CACHE_INTERVAL as _0x5260b6,LOCAL_CACHE_INTERVAL_KEY as _0x18680b,UniverCollaborationClientPlugin as _0x40245c,CollaborationSocketService as _0x1d14cf,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b02ed,DEFAULT_WS_SESSION_TICKET_URL as _0x25d808,UnitStatus as _0x99867e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x139bd4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d1769}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1c69ed,Disposable as _0x2bd763,DOC_RANGE_TYPE as _0x25141a,Inject as _0x4717f3,Injector as _0x277842,IUniverInstanceService as _0x81b094,ICommandService as _0x5cb5ba,debounce as _0x2cfcb8,Rectangle as _0x5c0cf9,DisposableCollection as _0x13ca0a,toDisposable as _0x11b652,UniverInstanceType as _0x4cbff4,Tools as _0x43bfb7,COLORS as _0x5ac74e,ColorKit as _0x50ee9a,ThemeService as _0x538320,fromEventSubject as _0x5169a6,LocaleService as _0x32e24e,createIdentifier as _0x2de4d0,ILogService as _0x1d5b3c,Optional as _0x3174cb,Workbook as _0x357042,CommandType as _0x34af56,IConfigService as _0x19b0f2,ILocalStorageService as _0x4f16c5,DependentOn as _0x50576f,Plugin as _0x52db42,merge as _0x23e7a9,registerDependencies as _0x4cae5a,mergeOverrideWithDependencies as _0x5d2efa,touchDependencies as _0x389040,generateRandomId as _0xacd06e}from'@univerjs/core';import{Shape as _0x1d903e,Rect as _0x2ae15f,getColor as _0x5e3459,RegularPolygon as _0xe38266,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3505d3,Vector2 as _0x1d8f20,SHEET_VIEWPORT_KEY as _0x1e347f,IRenderManagerService as _0x1512c0}from'@univerjs/engine-render';import{ISocketService as _0x8647d5,WebSocketService as _0x2537ef,HTTPService as _0x22986c}from'@univerjs/network';import{IDocClipboardService as _0x350af8,NodePositionConvertToCursor as _0x173986,NodePositionConvertToRectRange as _0x157a55,TEXT_RANGE_LAYER_INDEX as _0x4669aa,SetDocZoomRatioOperation as _0x59b9a7,DocIMEInputManagerService as _0x41e6c1,DocStateChangeManagerService as _0x469af6}from'@univerjs/docs-ui';import{IImageIoService as _0x1e3215}from'@univerjs/drawing';import{BehaviorSubject as _0x6d4d17,debounceTime as _0x19d081,takeUntil as _0x57635b,Subject as _0x1e705c,filter as _0x31a7e5,switchMap as _0x17be33,merge as _0x3340f5,combineLatest as _0x1f37ba,of as _0x63efda,fromEvent as _0x43f52a,shareReplay as _0xede5bd,mapTo as _0x7a715b,distinctUntilChanged as _0x50c3ed}from'rxjs';import{SetTextSelectionsOperation as _0x4a56e0,RichTextEditingMutation as _0x133c5a,DocSelectionManagerService as _0x3bb8e3,DocSkeletonManagerService as _0x4395a8}from'@univerjs/docs';import{ITransformService as _0x430651,CollaborationEvent as _0x377536,isTransformMutationFailure as _0x201746,isTransformMutationsWithChangesetSuccess as _0x190776,RevisionService as _0x1f3e90,ISnapshotServerService as _0x50fe31}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5db811,serializeRangeWithSheet as _0x1fd37b}from'@univerjs/engine-formula';import{RefRangeService as _0x459113,SetSelectionsOperation as _0x21a797,SheetsSelectionsService as _0x599812,EffectRefRangId as _0x3d8dda,handleIRemoveRow as _0x2c7443,handleIRemoveCol as _0x1f7d1e,handleMoveRange as _0x42c9df,handleInsertRow as _0x404863,handleInsertRangeMoveRight as _0xd3f415,handleInsertRangeMoveDown as _0x405d83,handleInsertCol as _0x516705,handleDeleteRangeMoveUp as _0x168fca,handleDeleteRangeMoveLeft as _0x34fe3d,runRefRangeMutations as _0xde73c5,SetWorksheetActivateCommand as _0x55886c}from'@univerjs/sheets';import{map as _0x3443d7,filter as _0x144ef3,throttleTime as _0x542388,takeUntil as _0x1a34b0,switchMap as _0x17f6e8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x57b2ef,getCoordByCell as _0x93a073,getSheetObject as _0x3c04d1}from'@univerjs/sheets-ui';import{jsx as _0x530166,jsxs as _0x1c2e46}from'react/jsx-runtime';import{useObservable as _0x257186,useDependency as _0x171cee,IUIPartsService as _0x29080a,BuiltInUIPart as _0x1ed8ec,connectInjector as _0x38f0ac,IBeforeCloseService as _0x54122b,IMessageService as _0xc0d35f,INotificationService as _0x480648}from'@univerjs/ui';import{clsx as _0x39ea86,Tooltip as _0x1b6ae3,MessageType as _0x5db9e7}from'@univerjs/design';import{forwardRef as _0x3c0a1c,useRef as _0x559a8e,createElement as _0x3726b6,useCallback as _0x1033b9}from'react';import{IRemoteInstanceService as _0x322134}from'@univerjs/rpc';var li=Object[_0x3d495f(0x3da)],_i=(_0x48b4e3,_0x126347,_0x183f91,_0x5a2c0d)=>{const _0x1933ac=_0x3d495f;for(var _0x19e2cd=_0x5a2c0d>0x1?void 0x0:_0x5a2c0d?li(_0x126347,_0x183f91):_0x126347,_0x1c5ac4=_0x48b4e3[_0x1933ac(0x3a6)]-0x1,_0x120bb3;_0x1c5ac4>=0x0;_0x1c5ac4--)(_0x120bb3=_0x48b4e3[_0x1c5ac4])&&(_0x19e2cd=_0x120bb3(_0x19e2cd)||_0x19e2cd);return _0x19e2cd;},Qe=(_0x192975,_0x58a726)=>(_0x2a754e,_0x4d662e)=>_0x58a726(_0x2a754e,_0x4d662e,_0x192975);let Ue=class extends _0x1c69ed{constructor(_0x185663,_0x4e5262){const _0x10be80=_0x3d495f;super(),this[_0x10be80(0x250)]=_0x185663,this['_imageIoService']=_0x4e5262,this[_0x10be80(0x293)]();}['_init'](){const _0xddc95=_0x3d495f,_0x539148=this;this['disposeWithMe'](this[_0xddc95(0x250)]['addClipboardHook']({'onBeforePasteImage':async _0x529120=>{const _0x1ace1c=_0xddc95,_0x2b875b=await _0x539148['_imageIoService'][_0x1ace1c(0x3bf)](_0x529120);return _0x2b875b?{'source':_0x2b875b[_0x1ace1c(0x224)],'imageSourceType':_0x2b875b['imageSourceType']}:null;}}));}};function _0x5750(_0x2f5d14,_0xf87423){const _0x207e55=_0x207e();return _0x5750=function(_0x5750ac,_0xb008af){_0x5750ac=_0x5750ac-0x1cd;let _0x253390=_0x207e55[_0x5750ac];return _0x253390;},_0x5750(_0x2f5d14,_0xf87423);}Ue=_i([Qe(0x0,_0x350af8),Qe(0x1,_0x1e3215)],Ue);const qe=[_0x3d495f(0x2f1),_0x3d495f(0x377),_0x3d495f(0x333),_0x3d495f(0x282),_0x3d495f(0x2bd),_0x3d495f(0x383)];class He extends _0x2bd763{constructor(){const _0x2de6df=_0x3d495f;super(...arguments),_(this,_0x2de6df(0x2b5),new Map()),_(this,_0x2de6df(0x2a2),0x0);}['assignAColorForMemberID'](_0x43d6c6){const _0x250671=_0x3d495f;if(this[_0x250671(0x2b5)]['has'](_0x43d6c6))return this[_0x250671(0x2b5)][_0x250671(0x31f)](_0x43d6c6);const _0x52fde4=qe[this[_0x250671(0x2a2)]];return this[_0x250671(0x2a2)]=(this['_colorIndex']+0x1)%qe['length'],this[_0x250671(0x2b5)][_0x250671(0x262)](_0x43d6c6,_0x52fde4),_0x52fde4;}}function Dt(_0xb15ff8){const _0x548fd5=_0x3d495f;let _0xabf1a9='';for(const _0x3e02e7 of _0xb15ff8){const {startOffset:_0x5e7185,endOffset:_0xdd3bb3,isActive:_0x501652,rangeType:_0x37b381,segmentId:_0x14944d,segmentPage:_0x412d1d}=_0x3e02e7;_0xabf1a9[_0x548fd5(0x3a6)]&&(_0xabf1a9+=','),_0xabf1a9+=_0x5e7185+':'+_0xdd3bb3+':'+(_0x501652?'1':'0')+':'+_0x37b381+':'+_0x14944d+':'+_0x412d1d;}return _0xabf1a9;}function hi(_0x6f8e96){const _0x54ae18=_0x3d495f,_0x2ace2e=_0x6f8e96['split'](','),_0x1d3c0c=[];for(const _0x4fbc93 of _0x2ace2e){const [_0x4c495f,_0x466930,_0x427095,_0x3b8571,_0xe1e454,_0x5a95ef]=_0x4fbc93[_0x54ae18(0x28c)](':');_0x1d3c0c[_0x54ae18(0x3cb)]({'startOffset':Number(_0x4c495f),'endOffset':Number(_0x466930),'collapsed':_0x4c495f===_0x466930,'isActive':_0x427095==='1','rangeType':_0x3b8571===_0x25141a[_0x54ae18(0x2ce)]?_0x25141a[_0x54ae18(0x2ce)]:_0x25141a[_0x54ae18(0x270)],'segmentId':typeof _0xe1e454==_0x54ae18(0x3aa)?String(_0xe1e454):'','segmentPage':Number(_0x5a95ef!=null?_0x5a95ef:-0x1)});}return _0x1d3c0c[_0x54ae18(0x200)](_0x13b559=>_0x13b559[_0x54ae18(0x252)])||(_0x1d3c0c[0x0][_0x54ae18(0x252)]=!0x0),_0x1d3c0c;}class je extends _0x1c69ed{constructor(){const _0x5e21a2=_0x3d495f;super(...arguments),_(this,_0x5e21a2(0x368),new _0x6d4d17(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x5e21a2(0x32c)]());}[_0x3d495f(0x387)](_0x1dd362){const _0x18f98d=_0x3d495f,{unitID:_0x24ef59,memberID:_0x12d3c4,textRanges:_0x4e3486}=_0x1dd362,_0x502332=Dt(_0x4e3486);if(_0x502332==='')return;const _0x50db6f={'unitID':_0x24ef59,'memberID':_0x12d3c4,'selection':_0x502332};this[_0x18f98d(0x368)][_0x18f98d(0x22c)](_0x50db6f);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x3f934d,_0x440ed3,_0x47bbe6,_0x4d29d0)=>{const _0x412249=_0x3d495f;for(var _0x429899=_0x4d29d0>0x1?void 0x0:_0x4d29d0?ui(_0x440ed3,_0x47bbe6):_0x440ed3,_0x57fddc=_0x3f934d[_0x412249(0x3a6)]-0x1,_0x3006c0;_0x57fddc>=0x0;_0x57fddc--)(_0x3006c0=_0x3f934d[_0x57fddc])&&(_0x429899=_0x3006c0(_0x429899)||_0x429899);return _0x429899;},w=(_0xaf29d5,_0x4c6f5a)=>(_0x35a9b7,_0x2abf43)=>_0x4c6f5a(_0x35a9b7,_0x2abf43,_0xaf29d5);const fi=0x12c,Si=0x64;let Me=class extends _0x1c69ed{constructor(_0x20929c,_0x522c1e,_0x44b220,_0x100c24,_0x11fd8a,_0x55c551,_0x28ab36,_0x1e56ba,_0x570997){const _0xc9f38f=_0x3d495f;super(),_(this,_0xc9f38f(0x30c),!0x1),_(this,_0xc9f38f(0x293),!0x1),_(this,'_cursorInfo$',new _0x6d4d17(new Map())),_(this,_0xc9f38f(0x272),this['_cursorInfo$'][_0xc9f38f(0x32c)]()),_(this,_0xc9f38f(0x351),new _0x6d4d17([])),_(this,_0xc9f38f(0x3af),this['_roomMembers$'][_0xc9f38f(0x28d)](_0x19d081(fi))),_(this,'_updateLocalCursor',_0x2cfcb8(_0x2033e4=>{const _0x1ce4bb=_0xc9f38f,_0x351ed8={'eventID':_0x377536[_0x1ce4bb(0x2c1)],'data':{'unitID':this[_0x1ce4bb(0x1e7)],'memberID':this[_0x1ce4bb(0x313)][_0x1ce4bb(0x32d)](),'selection':Dt(_0x2033e4)}};this[_0x1ce4bb(0x313)][_0x1ce4bb(0x3ad)](_0x351ed8,this['unitID']);},Si)),(this[_0xc9f38f(0x1e7)]=_0x20929c,this[_0xc9f38f(0x313)]=_0x522c1e,this['_injector']=_0x44b220,this[_0xc9f38f(0x3d8)]=_0x100c24,this['_memberService']=_0x11fd8a,this[_0xc9f38f(0x358)]=_0x55c551,this[_0xc9f38f(0x34c)]=_0x28ab36,this[_0xc9f38f(0x2e0)]=_0x1e56ba,this[_0xc9f38f(0x217)]=_0x570997);}get[_0x3d495f(0x2f3)](){const _0x322cc9=_0x3d495f;return this[_0x322cc9(0x25f)]['getValue']();}get['roomMembers'](){const _0x2834a4=_0x3d495f;return this[_0x2834a4(0x351)][_0x2834a4(0x3b6)]();}[_0x3d495f(0x2b4)](){const _0x48f3bb=_0x3d495f;super[_0x48f3bb(0x2b4)](),this[_0x48f3bb(0x25f)]['next'](new Map()),this[_0x48f3bb(0x25f)][_0x48f3bb(0x2af)](),this[_0x48f3bb(0x351)][_0x48f3bb(0x22c)]([]),this[_0x48f3bb(0x351)][_0x48f3bb(0x2af)]();}['init'](){const _0xe8a24=_0x3d495f;this[_0xe8a24(0x293)]||(this['_init']=!0x0,this[_0xe8a24(0x313)][_0xe8a24(0x300)][_0xe8a24(0x28d)](_0x57635b(this[_0xe8a24(0x296)]))[_0xe8a24(0x330)](_0x1b5d20=>{const _0x37fbc9=_0xe8a24;_0x1b5d20===_0x5deb02[_0x37fbc9(0x38c)]?this[_0x37fbc9(0x32f)]():this[_0x37fbc9(0x33e)]();}),this[_0xe8a24(0x313)][_0xe8a24(0x3d7)]['pipe'](_0x57635b(this['dispose$']))[_0xe8a24(0x330)](_0x3f7aba=>{const _0x42cd2c=_0xe8a24,_0x4ede8e=_0x3f7aba[_0x42cd2c(0x3b2)];_0x4ede8e===_0x377536['UPDATE_CURSOR']&&this[_0x42cd2c(0x304)](_0x3f7aba),_0x4ede8e===_0x377536[_0x42cd2c(0x2d9)]&&this[_0x42cd2c(0x3b9)](_0x3f7aba);}),this[_0xe8a24(0x275)](this[_0xe8a24(0x217)][_0xe8a24(0x25b)](_0x246573=>{const _0x17f2f9=_0xe8a24,_0xc6184c=_0x246573[_0x17f2f9(0x320)];_0xc6184c!=null&&this[_0x17f2f9(0x30c)]&&_0x246573['id']===_0x4a56e0['id']&&_0xc6184c[_0x17f2f9(0x388)]===this['unitID']&&_0xc6184c[_0x17f2f9(0x1d3)]===!0x1&&_0xc6184c[_0x17f2f9(0x395)]['length']>0x0&&this['_updateLocalCursor'](_0xc6184c[_0x17f2f9(0x395)]);})),this[_0xe8a24(0x358)][_0xe8a24(0x288)]['pipe'](_0x57635b(this[_0xe8a24(0x296)]))[_0xe8a24(0x330)](_0x2e2e85=>{const _0x32854e=_0xe8a24;if((_0x2e2e85==null?void 0x0:_0x2e2e85[_0x32854e(0x1e7)])!==this[_0x32854e(0x1e7)])return;const _0x4cdfb6={'eventID':_0x377536[_0x32854e(0x2c1)],'data':_0x2e2e85};this[_0x32854e(0x304)](_0x4cdfb6);}),this['disposeWithMe'](this[_0xe8a24(0x217)][_0xe8a24(0x25b)](_0x2de3df=>{const _0x2141b6=_0xe8a24;if(_0x2de3df[_0x2141b6(0x320)]==null)return;const _0x4840c3=_0x2de3df['params'];if(_0x2de3df['id']!==_0x133c5a['id']||_0x4840c3['unitId']!==this[_0x2141b6(0x1e7)])return;const _0x3ef1bc={'id':_0x2141b6(0x26f),'params':_0x4840c3},_0x49f4ac=this[_0x2141b6(0x2f3)];for(const [_0x337502,_0x20c1a3]of _0x49f4ac){const _0x3bcc38={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2141b6(0x1e7)],'actions':null,'textRanges':_0x20c1a3[_0x2141b6(0x395)]}},_0x1139f2=this[_0x2141b6(0x34c)][_0x2141b6(0x258)](_0x3ef1bc,_0x3bcc38,!0x1);if(_0x201746(_0x1139f2))throw _0x1139f2[_0x2141b6(0x372)];_0x49f4ac[_0x2141b6(0x262)](_0x337502,{..._0x20c1a3,'ranges':_0x1139f2[_0x2141b6(0x367)]['params'][_0x2141b6(0x2e6)]});}queueMicrotask(()=>{const _0x220771=_0x2141b6;this[_0x220771(0x25f)][_0x220771(0x22c)](_0x49f4ac);});})));}[_0x3d495f(0x304)](_0x1ec56d){const _0x5a83a2=_0x3d495f;var _0xfe59e1,_0x25b573;const {memberID:_0x3a1a91,selection:_0x5b8479}=_0x1ec56d[_0x5a83a2(0x1cf)],_0x36798d=hi(_0x5b8479),_0x625b80=(_0x25b573=(_0xfe59e1=this[_0x5a83a2(0x2fc)][_0x5a83a2(0x285)](this['unitID'],_0x3a1a91))==null?void 0x0:_0xfe59e1[_0x5a83a2(0x3c1)])!=null?_0x25b573:_0x5a83a2(0x1d9),_0x1cbe8c={'color':this[_0x5a83a2(0x3d8)][_0x5a83a2(0x2b7)](_0x3a1a91),'name':_0x625b80,'ranges':_0x36798d},_0x57a646=this[_0x5a83a2(0x2f3)];_0x57a646[_0x5a83a2(0x262)](_0x3a1a91,_0x1cbe8c),this[_0x5a83a2(0x25f)][_0x5a83a2(0x22c)](_0x57a646);}[_0x3d495f(0x3b9)](_0x3efa39){const _0x58a336=_0x3d495f,{memberID:_0xae758b}=_0x3efa39[_0x58a336(0x1cf)],_0x5c38d0=this[_0x58a336(0x2f3)];_0x5c38d0[_0x58a336(0x1f6)](_0xae758b),this[_0x58a336(0x25f)][_0x58a336(0x22c)](_0x5c38d0);}[_0x3d495f(0x32f)](){const _0x3250cf=_0x3d495f;var _0x3bae1f;if(this['_online']=!0x0,((_0x3bae1f=this['_univerInstanceService'][_0x3250cf(0x297)]())==null?void 0x0:_0x3bae1f[_0x3250cf(0x26b)]())!==this[_0x3250cf(0x1e7)])return;const _0x503ac1=this[_0x3250cf(0x2ec)][_0x3250cf(0x31f)](_0x3bb8e3)[_0x3250cf(0x384)]();Array[_0x3250cf(0x29a)](_0x503ac1)&&_0x503ac1[_0x3250cf(0x3a6)]>0x0&&this[_0x3250cf(0x1d8)](_0x503ac1);}[_0x3d495f(0x33e)](){const _0x334038=_0x3d495f;this[_0x334038(0x30c)]=!0x1;}};Me=di([w(0x2,_0x4717f3(_0x277842)),w(0x3,_0x4717f3(He)),w(0x4,_0x4717f3(_0x39dede)),w(0x5,_0x4717f3(je)),w(0x6,_0x430651),w(0x7,_0x81b094),w(0x8,_0x5cb5ba)],Me);var mi=Object[_0x3d495f(0x3da)],gi=(_0x27700f,_0x11b3a1,_0x99eca4,_0xf51a74)=>{const _0x291b24=_0x3d495f;for(var _0x16438c=_0xf51a74>0x1?void 0x0:_0xf51a74?mi(_0x11b3a1,_0x99eca4):_0x11b3a1,_0x15e57e=_0x27700f[_0x291b24(0x3a6)]-0x1,_0x37acd5;_0x15e57e>=0x0;_0x15e57e--)(_0x37acd5=_0x27700f[_0x15e57e])&&(_0x16438c=_0x37acd5(_0x16438c)||_0x16438c);return _0x16438c;},x=(_0x21dbc3,_0x5a0c79)=>(_0x5d278c,_0x4836c0)=>_0x5a0c79(_0x5d278c,_0x4836c0,_0x21dbc3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5eff1b=[],_0x56e77b=!0x1;return _0x149e4f=>{const _0x2c4d16=_0x5750;_0x5eff1b[_0x2c4d16(0x3cb)](_0x149e4f),_0x56e77b||(_0x56e77b=!0x0,setTimeout(()=>{const _0x2156d0=_0x2c4d16;_0x5eff1b[_0x2156d0(0x281)](_0x85b7a6=>_0x85b7a6()),_0x5eff1b=[],_0x56e77b=!0x1;}));};};let Pe=class extends _0x1c69ed{constructor(_0x19d54d,_0x5eb92e,_0x26c404,_0x32505a,_0x4c6d6c,_0x283fc4,_0x4e7e91,_0x41aa7a){const _0x478240=_0x3d495f;super(),_(this,_0x478240(0x30c),!0x1),_(this,_0x478240(0x293),!0x1),_(this,_0x478240(0x25f),new _0x6d4d17(new Map())),_(this,_0x478240(0x272),this[_0x478240(0x25f)][_0x478240(0x32c)]()),_(this,_0x478240(0x351),new _0x6d4d17([])),_(this,_0x478240(0x3af),this[_0x478240(0x351)][_0x478240(0x28d)](_0x19d081(vi))),_(this,_0x478240(0x1d8),_0x2cfcb8((_0x450e3f,_0x6df1a3)=>{const _0x50bff0=_0x478240,_0x25b4f7={'eventID':_0x377536['UPDATE_CURSOR'],'data':{'unitID':this[_0x50bff0(0x1e7)],'memberID':this[_0x50bff0(0x313)][_0x50bff0(0x32d)](),'selection':_0x1fd37b(_0x450e3f,_0x6df1a3[_0x50bff0(0x306)])}};this[_0x50bff0(0x313)][_0x50bff0(0x3ad)](_0x25b4f7,this[_0x50bff0(0x1e7)]);},Ii)),(this['unitID']=_0x19d54d,this['_session']=_0x5eb92e,this[_0x478240(0x2ec)]=_0x26c404,this[_0x478240(0x3d8)]=_0x32505a,this[_0x478240(0x2fc)]=_0x4c6d6c,this[_0x478240(0x2e0)]=_0x283fc4,this[_0x478240(0x217)]=_0x4e7e91,this[_0x478240(0x24e)]=_0x41aa7a);}get[_0x3d495f(0x2f3)](){const _0x483366=_0x3d495f;return this['_cursorInfo$'][_0x483366(0x3b6)]();}get[_0x3d495f(0x279)](){const _0x51e215=_0x3d495f;return this[_0x51e215(0x351)][_0x51e215(0x3b6)]();}['dispose'](){const _0x4f0f89=_0x3d495f;super[_0x4f0f89(0x2b4)](),this[_0x4f0f89(0x25f)][_0x4f0f89(0x22c)](new Map()),this[_0x4f0f89(0x25f)][_0x4f0f89(0x2af)](),this[_0x4f0f89(0x351)][_0x4f0f89(0x22c)]([]),this[_0x4f0f89(0x351)]['complete']();}[_0x3d495f(0x36d)](){const _0x143ba9=_0x3d495f;this[_0x143ba9(0x293)]||(this[_0x143ba9(0x293)]=!0x0,this['_session'][_0x143ba9(0x300)][_0x143ba9(0x28d)](_0x57635b(this[_0x143ba9(0x296)]))[_0x143ba9(0x330)](_0x464d3f=>{const _0x149cc1=_0x143ba9;_0x464d3f===_0x5deb02[_0x149cc1(0x38c)]?this[_0x149cc1(0x32f)]():this['_toggleOffline']();}),this[_0x143ba9(0x313)][_0x143ba9(0x3d7)][_0x143ba9(0x28d)](_0x57635b(this[_0x143ba9(0x296)]))[_0x143ba9(0x330)](_0x1519e7=>{const _0x415f41=_0x143ba9,_0x203fbf=_0x1519e7[_0x415f41(0x3b2)];_0x203fbf===_0x377536[_0x415f41(0x2c1)]&&this['_onCursorUpdate'](_0x1519e7),_0x203fbf===_0x377536[_0x415f41(0x2d9)]&&this[_0x415f41(0x3b9)](_0x1519e7);}),this[_0x143ba9(0x1f8)](),this[_0x143ba9(0x275)](this[_0x143ba9(0x217)][_0x143ba9(0x25b)](_0x5a422b=>{const _0x261511=_0x143ba9;if(this[_0x261511(0x30c)]&&_0x5a422b['id']===_0x21a797['id']&&_0x5a422b[_0x261511(0x320)][_0x261511(0x388)]===this[_0x261511(0x1e7)]){const _0x2ad156=_0x5a422b[_0x261511(0x320)];this['_updateLocalCursor'](_0x2ad156[_0x261511(0x20f)],_0x2ad156[_0x261511(0x3c2)][0x0]);}})));}[_0x3d495f(0x304)](_0xa8ec90){const _0x3f783d=_0x3d495f;var _0x2b4a29,_0x57fb99;const {memberID:_0x1cdb18,selection:_0x13f347}=_0xa8ec90[_0x3f783d(0x1cf)],{sheetName:_0x3b417b,range:_0x4a9250}=_0x5db811(_0x13f347),_0x552cc3={'name':(_0x57fb99=(_0x2b4a29=this[_0x3f783d(0x2fc)][_0x3f783d(0x285)](this[_0x3f783d(0x1e7)],_0x1cdb18))==null?void 0x0:_0x2b4a29[_0x3f783d(0x3c1)])!=null?_0x57fb99:_0x3f783d(0x1d9),'range':this[_0x3f783d(0x2ef)](_0x3b417b,_0x4a9250),'sheetID':_0x3b417b,'color':this[_0x3f783d(0x3d8)][_0x3f783d(0x2b7)](_0x1cdb18),'selection':_0x13f347},_0x480b26=this[_0x3f783d(0x2f3)];_0x480b26[_0x3f783d(0x262)](_0x1cdb18,_0x552cc3),this[_0x3f783d(0x25f)][_0x3f783d(0x22c)](_0x480b26);}['_onCursorDelete'](_0x2d25e4){const _0x3ca983=_0x3d495f,{memberID:_0x8a76e}=_0x2d25e4[_0x3ca983(0x1cf)],_0x59ef38=this[_0x3ca983(0x2f3)];_0x59ef38[_0x3ca983(0x1f6)](_0x8a76e),this['_cursorInfo$'][_0x3ca983(0x22c)](_0x59ef38);}[_0x3d495f(0x2ef)](_0x1f2a5b,_0x18db0f){const _0x4f14a2=_0x3d495f;var _0x5a0697,_0x9826cb;const _0x397161=(_0x9826cb=(_0x5a0697=this[_0x4f14a2(0x2e0)][_0x4f14a2(0x382)](this['unitID']))==null?void 0x0:_0x5a0697[_0x4f14a2(0x1fb)](_0x1f2a5b))==null?void 0x0:_0x9826cb['getMergeData']();return(_0x397161==null?void 0x0:_0x397161[_0x4f14a2(0x2c2)](_0x11e99e=>_0x5c0cf9[_0x4f14a2(0x2f8)](_0x11e99e,_0x18db0f)))||_0x18db0f;}[_0x3d495f(0x1f8)](){const _0xf43fbd=_0x3d495f,_0xdecf8f=new _0x13ca0a(),_0x336abc=pi(),_0x49491b=()=>{const _0x866939=_0x5750;_0xdecf8f[_0x866939(0x2b4)]();const _0x197675=(_0x173b7f,_0x4bcec9,_0x395bdf,_0x262004)=>{const _0x3ff7ef=_0x866939;let _0x2c4599=[];switch(_0x173b7f['id']){case _0x3d8dda[_0x3ff7ef(0x314)]:{_0x2c4599=_0x34fe3d(_0x173b7f,_0x262004);break;}case _0x3d8dda['DeleteRangeMoveUpCommandId']:{_0x2c4599=_0x168fca(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x32e)]:{_0x2c4599=_0x516705(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x2e2)]:{_0x2c4599=_0x405d83(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x1fe)]:{_0x2c4599=_0xd3f415(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x27f)]:{_0x2c4599=_0x404863(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x230)]:{_0x2c4599=_0x42c9df(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x35c)]:{_0x2c4599=_0x1f7d1e(_0x173b7f,_0x262004);break;}case _0x3d8dda[_0x3ff7ef(0x2c8)]:{_0x2c4599=_0x2c7443(_0x173b7f,_0x262004);break;}}const _0x2ca76f=_0xde73c5(_0x2c4599,_0x262004),_0x493768=this[_0x3ff7ef(0x2f3)][_0x3ff7ef(0x31f)](_0x4bcec9);if(_0x493768&&_0x2ca76f){const _0x48bd57={..._0x493768,'range':_0x2ca76f};this[_0x3ff7ef(0x2f3)][_0x3ff7ef(0x262)](_0x4bcec9,_0x48bd57),_0x336abc(()=>{const _0x3e760d=_0x3ff7ef,_0x1f2fde=this[_0x3e760d(0x24e)][_0x3e760d(0x261)](_0x2ca76f,_0x146064=>(_0x1f2fde[_0x3e760d(0x2b4)](),_0x197675(_0x146064,_0x4bcec9,_0x395bdf,_0x2ca76f)));_0xdecf8f['add'](_0x1f2fde);});}return{'redos':[],'undos':[]};};this[_0x866939(0x2f3)][_0x866939(0x281)]((_0x2fb110,_0x5e5a4f)=>{const _0x4a5b00=_0x866939,{range:_0x304f4e,sheetID:_0x531307}=_0x2fb110,_0xe7256f=this[_0x4a5b00(0x24e)][_0x4a5b00(0x261)](_0x304f4e,_0x5dd6be=>(_0xe7256f['dispose'](),_0x197675(_0x5dd6be,_0x5e5a4f,_0x531307,_0x304f4e)));_0xdecf8f['add'](_0xe7256f);});};this[_0xf43fbd(0x275)](_0x11b652(this[_0xf43fbd(0x25f)][_0xf43fbd(0x330)](()=>{_0x49491b();})));}['_toggleOnline'](){const _0x59b487=_0x3d495f;var _0x57a425,_0x205a0e;if(this['_online']=!0x0,((_0x57a425=this['_univerInstanceService'][_0x59b487(0x297)]())==null?void 0x0:_0x57a425[_0x59b487(0x26b)]())!==this[_0x59b487(0x1e7)])return;const _0x4c63ee=(_0x205a0e=this[_0x59b487(0x2ec)][_0x59b487(0x31f)](_0x599812)[_0x59b487(0x1ea)]())==null?void 0x0:_0x205a0e[0x0],_0x1fe964=this[_0x59b487(0x2e0)][_0x59b487(0x1ec)](_0x4cbff4['UNIVER_SHEET'])[_0x59b487(0x36c)]();_0x4c63ee&&_0x1fe964&&this['_updateLocalCursor'](_0x1fe964[_0x59b487(0x25d)](),_0x4c63ee);}[_0x3d495f(0x33e)](){this['_online']=!0x1;}};Pe=gi([x(0x2,_0x4717f3(_0x277842)),x(0x3,_0x4717f3(He)),x(0x4,_0x4717f3(_0x39dede)),x(0x5,_0x81b094),x(0x6,_0x5cb5ba),x(0x7,_0x4717f3(_0x459113))],Pe);var Ci=Object[_0x3d495f(0x3da)],Ei=(_0x378696,_0x3fc665,_0x5466f2,_0x78550d)=>{const _0x41726e=_0x3d495f;for(var _0x305a9e=_0x78550d>0x1?void 0x0:_0x78550d?Ci(_0x3fc665,_0x5466f2):_0x3fc665,_0x3e0da2=_0x378696[_0x41726e(0x3a6)]-0x1,_0x4fe4de;_0x3e0da2>=0x0;_0x3e0da2--)(_0x4fe4de=_0x378696[_0x3e0da2])&&(_0x305a9e=_0x4fe4de(_0x305a9e)||_0x305a9e);return _0x305a9e;},me=(_0x5a3524,_0x40269b)=>(_0x385b65,_0x233e57)=>_0x40269b(_0x385b65,_0x233e57,_0x5a3524);let H=class extends _0x1c69ed{constructor(_0x269542,_0x4d496e,_0x4a8398){const _0x36fe50=_0x3d495f;super(),_(this,_0x36fe50(0x322),new Map()),_(this,_0x36fe50(0x311),new _0x1e705c()),(this[_0x36fe50(0x2e0)]=_0x269542,this['_injector']=_0x4d496e,this[_0x36fe50(0x21b)]=_0x4a8398,this[_0x36fe50(0x293)]());}['dispose'](){const _0x49ef2c=_0x3d495f;super['dispose'](),this['_entityInit$']['complete'](),this[_0x49ef2c(0x322)][_0x49ef2c(0x281)](_0x3b9656=>_0x3b9656['dispose']());}[_0x3d495f(0x38a)](_0x24e29e){const _0x393582=_0x3d495f;return this[_0x393582(0x322)][_0x393582(0x3ab)](_0x24e29e)?this[_0x393582(0x322)]['get'](_0x24e29e)[_0x393582(0x272)]:this[_0x393582(0x311)][_0x393582(0x28d)](_0x31a7e5(_0x30a471=>_0x30a471['unitID']===_0x24e29e),_0x17be33(_0x28f7fc=>_0x28f7fc['cursorInfo$']));}['_init'](){const _0xdb7b07=_0x3d495f;this[_0xdb7b07(0x2e0)][_0xdb7b07(0x360)](_0x4cbff4[_0xdb7b07(0x391)])['pipe'](_0x57635b(this['dispose$']))[_0xdb7b07(0x330)](async _0x372965=>{const _0x5d6b59=_0xdb7b07,_0x56bc1f=_0x372965[_0x5d6b59(0x26b)](),_0x278568=await this[_0x5d6b59(0x1ff)](_0x56bc1f);this[_0x5d6b59(0x311)]['next'](_0x278568),this[_0x5d6b59(0x322)][_0x5d6b59(0x262)](_0x56bc1f,_0x278568);}),this[_0xdb7b07(0x2e0)]['getTypeOfUnitAdded$'](_0x4cbff4[_0xdb7b07(0x273)])[_0xdb7b07(0x28d)](_0x57635b(this['dispose$']))[_0xdb7b07(0x28d)](_0x31a7e5(_0x5ea96e=>!_0x5ea96e[_0xdb7b07(0x26b)]()[_0xdb7b07(0x31b)]('__')))['subscribe'](async _0x397db4=>{const _0x3a821c=_0xdb7b07,_0x271241=_0x397db4[_0x3a821c(0x26b)](),_0x50f482=await this[_0x3a821c(0x3b5)](_0x271241);this[_0x3a821c(0x311)][_0x3a821c(0x22c)](_0x50f482),this[_0x3a821c(0x322)][_0x3a821c(0x262)](_0x271241,_0x50f482);}),_0x3340f5(this['_univerInstanceService'][_0xdb7b07(0x1fa)](_0x4cbff4['UNIVER_DOC']),this[_0xdb7b07(0x2e0)][_0xdb7b07(0x1fa)](_0x4cbff4[_0xdb7b07(0x391)]))[_0xdb7b07(0x28d)](_0x57635b(this[_0xdb7b07(0x296)]))[_0xdb7b07(0x330)](_0x28f01d=>{const _0x266f3f=_0xdb7b07,_0x4a008e=_0x28f01d[_0x266f3f(0x26b)](),_0x1f8768=this[_0x266f3f(0x322)][_0x266f3f(0x31f)](_0x4a008e);_0x1f8768&&(_0x1f8768[_0x266f3f(0x2b4)](),this[_0x266f3f(0x322)][_0x266f3f(0x1f6)](_0x4a008e));});}async['_startSheetCollabCursor'](_0x3cc4e6){const _0x53efac=_0x3d495f,_0x700c38=await this[_0x53efac(0x21b)][_0x53efac(0x277)](_0x3cc4e6),_0x274969=this[_0x53efac(0x2ec)][_0x53efac(0x271)](Pe,_0x3cc4e6,_0x700c38);return _0x274969['init'](),_0x274969;}async[_0x3d495f(0x3b5)](_0xb59e76){const _0x34e147=_0x3d495f,_0x116e8c=await this['_collabSessionService']['requireSession'](_0xb59e76),_0x31a4fe=this[_0x34e147(0x2ec)]['createInstance'](Me,_0xb59e76,_0x116e8c);return _0x31a4fe[_0x34e147(0x36d)](),_0x31a4fe;}};H=Ei([me(0x0,_0x81b094),me(0x1,_0x4717f3(_0x277842)),me(0x2,_0x4717f3(_0x54008c))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x3fee5d,_0x2c27df){const _0x397333=_0x3d495f;let {radius:_0x101f57,width:_0x1fbc8b,height:_0x11c1b0}=_0x2c27df;_0x101f57=_0x101f57!=null?_0x101f57:0x0,_0x1fbc8b=_0x1fbc8b!=null?_0x1fbc8b:0x1e,_0x11c1b0=_0x11c1b0!=null?_0x11c1b0:0x1e;let _0x397079=0x0,_0x12fc84=0x0,_0x43eab2=0x0;_0x397079=_0x12fc84=_0x43eab2=Math['min'](_0x101f57,_0x1fbc8b/0x2,_0x11c1b0/0x2),_0x3fee5d[_0x397333(0x33c)](),_0x3fee5d[_0x397333(0x3b4)](_0x397079,0x0),_0x3fee5d[_0x397333(0x238)](_0x1fbc8b-_0x12fc84,0x0),_0x3fee5d['arc'](_0x1fbc8b-_0x12fc84,_0x12fc84,_0x12fc84,Math['PI']*0x3/0x2,0x0,!0x1),_0x3fee5d[_0x397333(0x238)](_0x1fbc8b,_0x11c1b0-_0x43eab2),_0x3fee5d[_0x397333(0x3b0)](_0x1fbc8b-_0x43eab2,_0x11c1b0-_0x43eab2,_0x43eab2,0x0,Math['PI']/0x2,!0x1),_0x3fee5d['lineTo'](0x0,_0x11c1b0),_0x3fee5d['lineTo'](0x0,_0x397079),_0x3fee5d[_0x397333(0x3b0)](_0x397079,_0x397079,_0x397079,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3fee5d[_0x397333(0x35e)](),_0x2c27df[_0x397333(0x2a7)]&&(_0x3fee5d['save'](),_0x3fee5d[_0x397333(0x211)]=_0x2c27df[_0x397333(0x2a7)],_0x2c27df[_0x397333(0x33d)]===_0x397333(0x38b)?_0x3fee5d[_0x397333(0x2a7)](_0x397333(0x38b)):_0x3fee5d[_0x397333(0x2a7)](),_0x3fee5d[_0x397333(0x2a9)]());}class ue extends _0x1d903e{constructor(_0x56ec7c,_0x15b6a4){const _0x27c451=_0x3d495f;super(_0x56ec7c,_0x15b6a4),_(this,_0x27c451(0x1fd)),_(this,_0x27c451(0x245)),(this[_0x27c451(0x1fd)]=_0x15b6a4==null?void 0x0:_0x15b6a4['color'],this['text']=_0x15b6a4==null?void 0x0:_0x15b6a4[_0x27c451(0x245)]);}static[_0x3d495f(0x346)](_0xb01d09,_0x40cb28){const _0x503e52=_0x3d495f,{text:_0x203cfa,color:_0x3d9848}=_0x40cb28;_0xb01d09[_0x503e52(0x366)](),_0xb01d09['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x530e00=_0xb01d09[_0x503e52(0x2f7)](_0x203cfa)['width'],_0x2fb356=Math[_0x503e52(0x365)](_0x530e00+0x2*ge,et);Oi(_0xb01d09,{'height':te,'radius':0x4,'width':_0x2fb356,'fill':_0x3d9848}),_0xb01d09[_0x503e52(0x211)]='#FFF';const _0x34ff4a=ge,_0x4a75a1=te-bi,_0x2b6f92=et-0x2*ge;if(_0x530e00>_0x2b6f92){let _0x12d9cb='',_0x37db45=0x0;for(const _0x4abeae of _0x203cfa){const _0xd136f6=_0xb01d09[_0x503e52(0x2f7)](_0x4abeae)[_0x503e52(0x1e0)];if(_0x37db45+_0xd136f6<=_0x2b6f92-_0xb01d09[_0x503e52(0x2f7)](_0x503e52(0x328))[_0x503e52(0x1e0)])_0x12d9cb+=_0x4abeae,_0x37db45+=_0xd136f6;else{_0x12d9cb+='...';break;}}_0xb01d09[_0x503e52(0x28f)](_0x12d9cb,_0x34ff4a,_0x4a75a1);}else _0xb01d09[_0x503e52(0x28f)](_0x203cfa,_0x34ff4a,_0x4a75a1);_0xb01d09['restore']();}['_draw'](_0x2afadb){ue['drawWith'](_0x2afadb,this);}}const ve=_0x3d495f(0x339),Ti=_0x3d495f(0x2ad),Ri=_0x3d495f(0x20b),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x3d495f(0x208);class tt{constructor(_0x4cfbf5,_0x1a67da,_0x2f7fbf,_0x50ee9c){const _0xb81e3=_0x3d495f;_(this,_0xb81e3(0x25c),[]),_(this,_0xb81e3(0x3cf),null),_(this,_0xb81e3(0x28a),null),_(this,'_anchorDot',null),_(this,_0xb81e3(0x3bb),null),_(this,_0xb81e3(0x3a4),null),(this[_0xb81e3(0x29f)]=_0x4cfbf5,this[_0xb81e3(0x350)]=_0x1a67da,this[_0xb81e3(0x260)]=_0x2f7fbf,this['_document']=_0x50ee9c,this[_0xb81e3(0x1e8)]());}set[_0x3d495f(0x21f)](_0x3a996a){const _0x51e9e5=_0x3d495f;_0x3a996a?(this[_0x51e9e5(0x338)]&&this[_0x51e9e5(0x338)][_0x51e9e5(0x236)](),this[_0x51e9e5(0x28a)]&&this[_0x51e9e5(0x28a)][_0x51e9e5(0x2c7)]()):(this[_0x51e9e5(0x338)]&&this[_0x51e9e5(0x338)][_0x51e9e5(0x2c7)](),this[_0x51e9e5(0x28a)]&&this[_0x51e9e5(0x28a)][_0x51e9e5(0x236)]());}[_0x3d495f(0x2b4)](){const _0x31f754=_0x3d495f;for(const _0x467339 of this[_0x31f754(0x25c)])_0x467339[_0x31f754(0x2b4)]();this[_0x31f754(0x28a)]&&this[_0x31f754(0x28a)]['dispose'](),this[_0x31f754(0x338)]&&this[_0x31f754(0x338)][_0x31f754(0x2b4)](),this['_anchor']&&this[_0x31f754(0x3cf)][_0x31f754(0x2b4)](),this[_0x31f754(0x3a4)]&&this[_0x31f754(0x3a4)]();}['_render'](){const _0x5c90b6=_0x3d495f;var _0x53db72;const {_docSkeleton:_0xfb5b5a,_document:_0x3243f4}=this,{color:_0x4d4d72,name:_0x1a0dc0,ranges:_0x47aea4}=this[_0x5c90b6(0x29f)],_0x25fd2d=_0x3243f4['getOffsetConfig'](),{docsLeft:_0x381feb,docsTop:_0x3379b8}=_0x25fd2d,_0x5f97a4=new _0x173986(_0x25fd2d,_0xfb5b5a);for(const {startOffset:_0x2b3180,endOffset:_0x433904,rangeType:_0x371ccb,segmentId:_0xa767f1,segmentPage:_0x545251,collapsed:_0x2c1bc6,isActive:_0x4817a0}of _0x47aea4){const _0x360dc2=_0xfb5b5a[_0x5c90b6(0x376)](_0x2b3180,!0x0,_0xa767f1,_0x545251);let _0x1d363d=_0xfb5b5a['findNodePositionByCharIndex'](_0x433904,!0x0,_0xa767f1,_0x545251);if(_0x1d363d==null&&(_0x1d363d=_0xfb5b5a[_0x5c90b6(0x376)](_0x433904-0x1,!0x1,_0xa767f1,_0x545251)),_0x4817a0){const {contentBoxPointGroup:_0x222716}=_0x5f97a4[_0x5c90b6(0x3b8)](_0x1d363d,_0x1d363d);if(_0x222716[_0x5c90b6(0x3a6)]===0x0)continue;this[_0x5c90b6(0x2a0)](_0x4d4d72,_0x222716,_0x381feb,_0x3379b8,_0x1a0dc0),this[_0x5c90b6(0x3a4)]=this['_handleHover']();}if(_0x360dc2&&_0x1d363d){if(_0x371ccb===_0x25141a[_0x5c90b6(0x270)]){const _0x13b490=new _0x157a55(_0x25fd2d,_0xfb5b5a),{pointGroup:_0x36774c}=(_0x53db72=_0x13b490['getRangePointData'](_0x360dc2,_0x1d363d))!=null?_0x53db72:{};if(_0x36774c==null||_0x36774c['length']===0x0)continue;this['_drawRectRange'](_0x4d4d72,_0x36774c,_0x381feb,_0x3379b8);}else{if(!_0x2c1bc6){const {borderBoxPointGroup:_0x465afc}=_0x5f97a4[_0x5c90b6(0x3b8)](_0x360dc2,_0x1d363d);if(_0x465afc['length']===0x0)continue;this[_0x5c90b6(0x2df)](_0x4d4d72,_0x465afc,_0x381feb,_0x3379b8);}}}}}[_0x3d495f(0x2a0)](_0x14fb33,_0x566000,_0x3b15d8,_0x47fdf6,_0x3acce2){const _0x4656e7=_0x3d495f,_0x1f01c1=this['_getAnchorBounding'](_0x566000),{left:_0x2c6c20,top:_0x4c9185,height:_0x579215}=_0x1f01c1,_0xfaa0ed=this[_0x4656e7(0x22a)](),_0x180960=Ni/_0xfaa0ed,_0x51c6c7=new _0x2ae15f(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6,'height':_0x579215,'width':Di,'fill':_0x14fb33||_0x5e3459(_0x5ac74e[_0x4656e7(0x21d)],0x0),'strokeWidth':_0x180960,'stroke':Ui,'evented':!0x0});this['_anchor']=_0x51c6c7,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x51c6c7,_0x4669aa);const _0x42ac28=new _0x2ae15f(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14fb33||_0x5e3459(_0x5ac74e[_0x4656e7(0x21d)],0x0),'strokeWidth':0x0,'stroke':_0x14fb33||_0x5e3459(_0x5ac74e['black'],0x0),'evented':!0x1});this[_0x4656e7(0x338)]=_0x42ac28,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x42ac28,_0x4669aa);const _0x13e66d=new ue(ve+_0x43bfb7[_0x4656e7(0x3b1)](X),{'left':_0x2c6c20+_0x3b15d8-_0x180960,'top':_0x4c9185+_0x47fdf6-te,'text':_0x3acce2,'color':_0x14fb33});this['_textBubble']=_0x13e66d,this[_0x4656e7(0x350)][_0x4656e7(0x23a)](_0x13e66d,_0x4669aa),this['_hover']=!0x1;}[_0x3d495f(0x3c0)](){const _0x5b6963=_0x3d495f,_0x1a15b5=this[_0x5b6963(0x3cf)][_0x5b6963(0x233)][_0x5b6963(0x225)](()=>{const _0x4c83e9=_0x5b6963;this[_0x4c83e9(0x21f)]=!0x0;}),_0x403dba=this[_0x5b6963(0x3cf)][_0x5b6963(0x34e)][_0x5b6963(0x225)](()=>{const _0x1dc43c=_0x5b6963;this[_0x1dc43c(0x3bb)]&&clearTimeout(this[_0x1dc43c(0x3bb)]),this[_0x1dc43c(0x3bb)]=setTimeout(()=>{const _0x151a80=_0x1dc43c;this[_0x151a80(0x21f)]=!0x1;},0x7d0);});return()=>{const _0x4597bc=_0x5b6963;_0x1a15b5['unsubscribe'](),_0x403dba[_0x4597bc(0x227)]();};}[_0x3d495f(0x2df)](_0x4eafd2,_0xa2a7c8,_0x2a03e0,_0x77eae4){const _0x49883e=_0x3d495f,_0x357645=new _0x50ee9a(_0x4eafd2)[_0x49883e(0x2eb)](0.2)[_0x49883e(0x2bc)](),_0x557290=new _0xe38266(Ti+_0x43bfb7[_0x49883e(0x3b1)](X),{'pointsGroup':_0xa2a7c8,'fill':_0x357645||_0x5e3459(_0x5ac74e[_0x49883e(0x21d)],0.2),'left':_0x2a03e0,'top':_0x77eae4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49883e(0x25c)][_0x49883e(0x3cb)](_0x557290),this[_0x49883e(0x350)][_0x49883e(0x23a)](_0x557290,_0x4669aa);}[_0x3d495f(0x2ab)](_0x340f1d,_0x523bb7,_0x56807d,_0x4c6433){const _0x89fd8=_0x3d495f,_0x25fe74=new _0x50ee9a(_0x340f1d)[_0x89fd8(0x2eb)](0.2)[_0x89fd8(0x2bc)](),_0x410057=new _0xe38266(Ri+_0x43bfb7[_0x89fd8(0x3b1)](X),{'pointsGroup':_0x523bb7,'fill':_0x25fe74||_0x5e3459(_0x5ac74e['black'],0.2),'left':_0x56807d,'top':_0x4c6433,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x89fd8(0x25c)][_0x89fd8(0x3cb)](_0x410057),this[_0x89fd8(0x350)][_0x89fd8(0x23a)](_0x410057,_0x4669aa);}[_0x3d495f(0x2db)](_0x57e1b8){const _0xcf2fba=_0x57e1b8[0x0],_0x49020c=_0xcf2fba[0x0],_0x35770f=_0xcf2fba[0x2],{x:_0x6b0501,y:_0x20cdd7}=_0x49020c,{x:_0x30d104,y:_0x69472}=_0x35770f;return{'left':_0x6b0501,'top':_0x20cdd7,'width':_0x30d104-_0x6b0501,'height':_0x69472-_0x20cdd7};}['_getScale'](){const _0x4b0a9d=_0x3d495f,{scaleX:_0x128b65,scaleY:_0x2c5d6b}=this[_0x4b0a9d(0x350)][_0x4b0a9d(0x239)]();return Math['max'](_0x128b65,_0x2c5d6b);}}var Mi=Object[_0x3d495f(0x3da)],Pi=(_0x2364ea,_0x2c371a,_0x44ad51,_0x4f77fc)=>{const _0x50b342=_0x3d495f;for(var _0x281ce9=_0x4f77fc>0x1?void 0x0:_0x4f77fc?Mi(_0x2c371a,_0x44ad51):_0x2c371a,_0x56c3e0=_0x2364ea[_0x50b342(0x3a6)]-0x1,_0x6d13fb;_0x56c3e0>=0x0;_0x56c3e0--)(_0x6d13fb=_0x2364ea[_0x56c3e0])&&(_0x281ce9=_0x6d13fb(_0x281ce9)||_0x281ce9);return _0x281ce9;},Q=(_0x5aedea,_0x55a4b8)=>(_0x4904e1,_0xe8d011)=>_0x55a4b8(_0x4904e1,_0xe8d011,_0x5aedea);let we=class extends _0x1c69ed{constructor(_0x10fa3e,_0x4e9bb3,_0xeb6ae6,_0x4222a8,_0x37d683){const _0x9db6aa=_0x3d495f;super(),_(this,'_cursorShapes',[]),_(this,_0x9db6aa(0x36e),[]),(this[_0x9db6aa(0x22d)]=_0x10fa3e,this[_0x9db6aa(0x3d5)]=_0x4e9bb3,this[_0x9db6aa(0x2b1)]=_0xeb6ae6,this[_0x9db6aa(0x217)]=_0x4222a8,this[_0x9db6aa(0x2cc)]=_0x37d683,this[_0x9db6aa(0x293)]());}[_0x3d495f(0x293)](){const _0x562aa1=_0x3d495f,_0x107019=this[_0x562aa1(0x22d)][_0x562aa1(0x388)],_0x1df7db=this['_docSkeletonManagerService'];this[_0x562aa1(0x275)](_0x1f37ba([this[_0x562aa1(0x2b1)][_0x562aa1(0x38a)](_0x107019),this[_0x562aa1(0x2cc)][_0x562aa1(0x390)]])[_0x562aa1(0x28d)](_0x3443d7(([_0x4dca92,_0x58c579])=>({'skeleton':_0x1df7db[_0x562aa1(0x240)](),'cursors':[..._0x4dca92[_0x562aa1(0x36f)]()][_0x562aa1(0x2d3)](_0x4cf48f=>({..._0x4cf48f,'color':_0x58c579[_0x4cf48f[_0x562aa1(0x1fd)]]}))})))['subscribe'](_0x2ce904=>{const _0xc8f6be=_0x562aa1;if(this[_0xc8f6be(0x1cd)](),_0x2ce904){const {skeleton:_0x30cceb,cursors:_0xb68b40}=_0x2ce904;this[_0xc8f6be(0x1e5)](_0x30cceb,_0xb68b40);}})),this[_0x562aa1(0x1f2)](),this[_0x562aa1(0x2b3)]();}[_0x3d495f(0x1e5)](_0x51045f,_0x4a2376){const _0x4e8de8=_0x3d495f,{scene:_0x5800de,mainComponent:_0x184b97}=this['_context'],_0x1d0d27=_0x4a2376['map'](_0x4a2c1d=>new tt(_0x4a2c1d,_0x5800de,_0x51045f,_0x184b97));this[_0x4e8de8(0x33a)]=_0x1d0d27,this[_0x4e8de8(0x36e)]=_0x4a2376;}[_0x3d495f(0x3a5)](){const _0x432ce9=_0x3d495f;this[_0x432ce9(0x1cd)]();const {scene:_0x4abbba,mainComponent:_0x203976}=this[_0x432ce9(0x22d)],_0x2aee65=this[_0x432ce9(0x3d5)]['getSkeleton'](),_0xef8749=this[_0x432ce9(0x36e)]['map'](_0x3bad17=>new tt(_0x3bad17,_0x4abbba,_0x2aee65,_0x203976));this[_0x432ce9(0x33a)]=_0xef8749;}[_0x3d495f(0x1cd)](){const _0x14e3fc=_0x3d495f;this[_0x14e3fc(0x33a)]['forEach'](_0x4e4ae1=>_0x4e4ae1[_0x14e3fc(0x2b4)]()),this['_cursorShapes']=[];}[_0x3d495f(0x2b3)](){const _0x5de463=_0x3d495f,_0x2986f5=[_0x59b9a7['id']];this[_0x5de463(0x275)](this[_0x5de463(0x217)][_0x5de463(0x25b)](_0x157b91=>{const _0x499870=_0x5de463;_0x2986f5[_0x499870(0x3cc)](_0x157b91['id'])&&_0x157b91[_0x499870(0x320)]['unitId']===this[_0x499870(0x22d)][_0x499870(0x388)]&&this[_0x499870(0x3a5)]();}));}[_0x3d495f(0x1f2)](){const _0xe62f8a=_0x3d495f;this[_0xe62f8a(0x275)](_0x5169a6(this['_context']['engine'][_0xe62f8a(0x25a)])[_0xe62f8a(0x28d)](_0x144ef3(_0x4e9d82=>_0x4e9d82[_0xe62f8a(0x204)]===_0x3505d3['resize']),_0x542388(0x10))[_0xe62f8a(0x330)](()=>{const _0xc5d549=_0xe62f8a;this[_0xc5d549(0x3a5)]();}));}};we=Pi([Q(0x1,_0x4717f3(_0x4395a8)),Q(0x2,_0x4717f3(H)),Q(0x3,_0x5cb5ba),Q(0x4,_0x4717f3(_0x538320))],we);const wi=0x1,Li=1.5;class Ai extends _0x1d903e{constructor(_0x1f832c,_0x476ffe){const _0x18c927=_0x3d495f;super(_0x1f832c,_0x476ffe),_(this,_0x18c927(0x23b)),_(this,_0x18c927(0x2d2),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x18c927(0x26e),_0x18c927(0x348)),_(this,_0x18c927(0x2d6)),(_0x476ffe&&this[_0x18c927(0x2ed)](_0x476ffe),this[_0x18c927(0x233)][_0x18c927(0x225)](()=>this[_0x18c927(0x2ed)]({'hovered':!0x0})),this[_0x18c927(0x34e)][_0x18c927(0x225)](()=>this[_0x18c927(0x2ed)]({'hovered':!0x1})));}[_0x3d495f(0x2ed)](_0x2d332e){const _0x4ad5f1=_0x3d495f;var _0x63b78a,_0x294ff8,_0x2e3f33,_0x20d779,_0x3504f6,_0x3e8260;this['_color']=(_0x63b78a=_0x2d332e[_0x4ad5f1(0x1fd)])!=null?_0x63b78a:this['_color'],this[_0x4ad5f1(0x2d2)]=(_0x294ff8=_0x2d332e[_0x4ad5f1(0x389)])!=null?_0x294ff8:this[_0x4ad5f1(0x2d2)],this[_0x4ad5f1(0x2ff)]=(_0x2e3f33=_0x2d332e[_0x4ad5f1(0x306)])!=null?_0x2e3f33:this[_0x4ad5f1(0x2ff)],this[_0x4ad5f1(0x23e)]=(_0x20d779=_0x2d332e[_0x4ad5f1(0x3c1)])!=null?_0x20d779:this[_0x4ad5f1(0x23e)],this[_0x4ad5f1(0x26e)]=(_0x3504f6=_0x2d332e[_0x4ad5f1(0x253)])!=null?_0x3504f6:this['_labelPosition'],this[_0x4ad5f1(0x2d6)]=(_0x3e8260=_0x2d332e[_0x4ad5f1(0x2dc)])!=null?_0x3e8260:this[_0x4ad5f1(0x2d6)],this[_0x4ad5f1(0x20e)]({'width':_0x2d332e['width'],'height':_0x2d332e['height']});}[_0x3d495f(0x39c)](_0x44f85e){const _0x3f3fb4=_0x3d495f,{row:_0x83b2bd,column:_0x211f6a}=_0x44f85e;if(_0x83b2bd>=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x342)]&&_0x83b2bd<=this[_0x3f3fb4(0x2ff)]['endRow']&&_0x211f6a>=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x27d)]&&_0x211f6a<=this[_0x3f3fb4(0x2ff)][_0x3f3fb4(0x242)]){this[_0x3f3fb4(0x2ed)]({'hovered':!0x0});return;}this[_0x3f3fb4(0x2ed)]({'hovered':!0x1});}[_0x3d495f(0x21e)](_0x3df625){return!0x1;}[_0x3d495f(0x237)](_0x521fe3){const _0xed336a=_0x3d495f;_0x2ae15f[_0xed336a(0x346)](_0x521fe3,{'width':this['width'],'height':this[_0xed336a(0x398)],'strokeWidth':Li,'stroke':this[_0xed336a(0x23b)],'evented':!0x1,'fill':this[_0xed336a(0x2d6)]}),this[_0xed336a(0x2d2)]&&(_0x521fe3[_0xed336a(0x366)](),_0x521fe3[_0xed336a(0x1d5)](0x1,0x0,0x0,0x1,this[_0xed336a(0x1e0)],this['_labelPosition']==='bottom'?0x0:-0x14),ue[_0xed336a(0x346)](_0x521fe3,{'text':this[_0xed336a(0x23e)],'color':this[_0xed336a(0x23b)]}),_0x521fe3[_0xed336a(0x2a9)]());}}var yi=Object[_0x3d495f(0x3da)],$i=(_0x238a01,_0x3417c2,_0x11e860,_0x48be3c)=>{const _0x4067ad=_0x3d495f;for(var _0xf33d09=_0x48be3c>0x1?void 0x0:_0x48be3c?yi(_0x3417c2,_0x11e860):_0x3417c2,_0x177685=_0x238a01[_0x4067ad(0x3a6)]-0x1,_0x7584ae;_0x177685>=0x0;_0x177685--)(_0x7584ae=_0x238a01[_0x177685])&&(_0xf33d09=_0x7584ae(_0xf33d09)||_0xf33d09);return _0xf33d09;},pe=(_0x4327d1,_0x5ae705)=>(_0x1a99c4,_0x4b8d2c)=>_0x5ae705(_0x1a99c4,_0x4b8d2c,_0x4327d1);const xi=0x1389;let Le=class extends _0x1c69ed{constructor(_0x21661e,_0x15637f,_0x10c422,_0x1b9fb8){const _0x36b450=_0x3d495f;super(),_(this,'_cursors',new Set()),_(this,_0x36b450(0x229),null),(this[_0x36b450(0x22d)]=_0x21661e,this[_0x36b450(0x301)]=_0x15637f,this[_0x36b450(0x2b1)]=_0x10c422,this[_0x36b450(0x2cc)]=_0x1b9fb8,this[_0x36b450(0x293)]());}['_init'](){const _0x2ce5a4=_0x3d495f;this[_0x2ce5a4(0x301)][_0x2ce5a4(0x29e)][_0x2ce5a4(0x28d)](_0x1a34b0(this[_0x2ce5a4(0x296)]),_0x17f6e8(_0x2f8ccb=>{const _0x3e5826=_0x2ce5a4;if(_0x2f8ccb){const _0x591a19=_0x2f8ccb[_0x3e5826(0x37e)];return _0x1f37ba(this[_0x3e5826(0x2b1)][_0x3e5826(0x38a)](this[_0x3e5826(0x22d)][_0x3e5826(0x388)]),this[_0x3e5826(0x2cc)][_0x3e5826(0x390)])['pipe'](_0x3443d7(([_0x314955,_0xba1197])=>{const _0x2cedc7=_0x3e5826,_0x10a62b=new Map();return _0x314955[_0x2cedc7(0x281)]((_0x26a7f3,_0xe1a9bf)=>{const _0x187e18=_0x2cedc7;if(_0x26a7f3[_0x187e18(0x1ed)]===_0x591a19){const _0xd805d2={..._0x26a7f3};_0xd805d2['color']=_0xba1197[_0x26a7f3['color']],_0x10a62b['set'](_0xe1a9bf,_0xd805d2);}}),{'skeleton':_0x2f8ccb,'cursors':_0x10a62b};}));}return _0x63efda({'skeleton':null,'cursors':new Map()});}))[_0x2ce5a4(0x330)](({skeleton:_0x412ba8,cursors:_0x8944d0})=>{const _0x280d8c=_0x2ce5a4;this[_0x280d8c(0x1cd)](),_0x412ba8&&this['_updateCollabCursors'](_0x412ba8,_0x8944d0);}),this[_0x2ce5a4(0x301)][_0x2ce5a4(0x29e)][_0x2ce5a4(0x330)](_0xdde3cb=>{const _0x5914b9=_0x2ce5a4;if(_0xdde3cb==null)return;const {skeleton:_0x3e17a9}=_0xdde3cb,{scene:_0x23833c}=this['_context'];_0x23833c[_0x5914b9(0x2e9)][_0x5914b9(0x225)](_0x2cfcb8(_0x5c5732=>{const _0x38af8a=_0x5914b9;var _0x9cb920,_0x2a67dd;const {offsetX:_0x2f37d2,offsetY:_0x2a3bc6}=_0x5c5732,{x:_0x42d1b3,y:_0x4861d0}=_0x23833c[_0x38af8a(0x3b3)](_0x1d8f20[_0x38af8a(0x305)]([_0x2f37d2,_0x2a3bc6])),{scaleX:_0x49d91c,scaleY:_0x311da6}=_0x23833c[_0x38af8a(0x239)](),_0x8c88d1=_0x23833c[_0x38af8a(0x2f5)](_0x1e347f[_0x38af8a(0x1e4)]),_0x27dc70=_0x23833c[_0x38af8a(0x24a)](_0x1d8f20[_0x38af8a(0x305)]([_0x42d1b3,_0x4861d0]),_0x8c88d1),_0x140810=_0x3e17a9[_0x38af8a(0x226)](_0x2f37d2,_0x2a3bc6,_0x49d91c,_0x311da6,_0x27dc70);((_0x9cb920=this[_0x38af8a(0x229)])==null?void 0x0:_0x9cb920['column'])===_0x140810[_0x38af8a(0x256)]&&((_0x2a67dd=this[_0x38af8a(0x229)])==null?void 0x0:_0x2a67dd[_0x38af8a(0x1f9)])===_0x140810[_0x38af8a(0x1f9)]||this[_0x38af8a(0x36e)][_0x38af8a(0x281)](_0x3dd804=>{const _0x10b3d5=_0x38af8a;_0x3dd804[_0x10b3d5(0x39c)](_0x140810);});},0x64));});}[_0x3d495f(0x1e5)](_0x2d33a4,_0x3339dc){const _0x3bd03a=_0x3d495f;var _0x5c7d76;const _0x415fd7=(_0x5c7d76=this['_sheetSkeletonManagerService'][_0x3bd03a(0x278)]())==null?void 0x0:_0x5c7d76[_0x3bd03a(0x1d0)];if(!_0x415fd7)return;const _0x5d85b9=this['_getSheetObject']();if(!_0x5d85b9)return;this[_0x3bd03a(0x36e)][_0x3bd03a(0x281)](_0x65ca13=>{_0x65ca13['makeDirty']();});const {scene:_0x2b281b}=_0x5d85b9,_0x9087c1=Bi(Array[_0x3bd03a(0x2d5)](_0x3339dc[_0x3bd03a(0x36f)]()))[_0x3bd03a(0x1f1)](_0x2f57f9=>{const _0x193500=_0x3bd03a,{color:_0x1478a9,range:_0x23dbb8,name:_0x2946f4,selection:_0x4e065e,sheetID:_0x466470}=_0x2f57f9,{startColumn:_0x1b393e,startRow:_0x16c683,endColumn:_0x24d45b,endRow:_0x1f98ff}=_0x23dbb8,_0x1791c8=_0x93a073(_0x16c683,_0x1b393e,_0x2b281b,_0x415fd7),_0x5cdfb7=_0x93a073(_0x1f98ff,_0x24d45b,_0x2b281b,_0x415fd7),{columnHeaderHeightAndMarginTop:_0x39c2a9}=_0x415fd7,{startX:_0x2a7ed5,startY:_0x54fb7c}=_0x1791c8,{endX:_0x23c5cc,endY:_0x4cdc57}=_0x5cdfb7,_0x4138b8=_0x23c5cc-_0x2a7ed5,_0x4323fa=_0x4cdc57-_0x54fb7c,_0x4dbffc={'labelPosition':_0x54fb7c-_0x39c2a9>=te?_0x193500(0x348):'bottom','sheetID':_0x466470,'range':_0x23dbb8,'color':_0x1478a9,'name':_0x2946f4,'selection':_0x4e065e,'left':_0x2a7ed5,'top':_0x54fb7c,'width':_0x4138b8,'height':_0x4323fa,'evented':!0x1,'zIndex':xi};return new Ai(_0x2946f4,_0x4dbffc);});_0x2b281b[_0x3bd03a(0x2c4)](_0x9087c1,wi),this[_0x3bd03a(0x36e)]=new Set(_0x9087c1);}[_0x3d495f(0x1cd)](){const _0x94a52c=_0x3d495f;var _0x4cfcbf;(_0x4cfcbf=this[_0x94a52c(0x36e)])==null||_0x4cfcbf['forEach'](_0xa7e664=>_0xa7e664['dispose']());}[_0x3d495f(0x3d0)](){const _0x325f74=_0x3d495f;return _0x3c04d1(this[_0x325f74(0x22d)][_0x325f74(0x37b)],this[_0x325f74(0x22d)]);}};Le=$i([pe(0x1,_0x4717f3(_0x57b2ef)),pe(0x2,_0x4717f3(H)),pe(0x3,_0x4717f3(_0x538320))],Le);function Bi(_0x84527c){const _0x1aaf9f=_0x3d495f,_0x44aa0d=new Map();return _0x84527c['forEach'](_0x54c14c=>{const _0x4091bd=_0x5750;if(_0x44aa0d[_0x4091bd(0x3ab)](_0x54c14c[_0x4091bd(0x31d)])){const _0x13ec9c=_0x44aa0d[_0x4091bd(0x31f)](_0x54c14c[_0x4091bd(0x31d)]);_0x13ec9c['name']+=',\x20'+_0x54c14c[_0x4091bd(0x3c1)];}else _0x44aa0d[_0x4091bd(0x262)](_0x54c14c[_0x4091bd(0x31d)],_0x54c14c);}),Array[_0x1aaf9f(0x2d5)](_0x44aa0d['values']());}var I=function(){const _0x2c1001=_0x3d495f;return I=Object[_0x2c1001(0x269)]||function(_0x15d7db){const _0x1cd2b1=_0x2c1001;for(var _0x229211,_0x4010c4=0x1,_0x55db5a=arguments[_0x1cd2b1(0x3a6)];_0x4010c4<_0x55db5a;_0x4010c4++){_0x229211=arguments[_0x4010c4];for(var _0x4316d4 in _0x229211)Object[_0x1cd2b1(0x27b)]['hasOwnProperty'][_0x1cd2b1(0x374)](_0x229211,_0x4316d4)&&(_0x15d7db[_0x4316d4]=_0x229211[_0x4316d4]);}return _0x15d7db;},I[_0x2c1001(0x2fd)](this,arguments);},ki=function(_0x49ced8,_0x4481d4){const _0x1fc620=_0x3d495f;var _0x5ab1c8={};for(var _0x49d88b in _0x49ced8)Object[_0x1fc620(0x27b)][_0x1fc620(0x2ea)]['call'](_0x49ced8,_0x49d88b)&&_0x4481d4['indexOf'](_0x49d88b)<0x0&&(_0x5ab1c8[_0x49d88b]=_0x49ced8[_0x49d88b]);if(_0x49ced8!=null&&typeof Object[_0x1fc620(0x310)]=='function'){for(var _0xe9d144=0x0,_0x49d88b=Object[_0x1fc620(0x310)](_0x49ced8);_0xe9d144<_0x49d88b[_0x1fc620(0x3a6)];_0xe9d144++)_0x4481d4[_0x1fc620(0x392)](_0x49d88b[_0xe9d144])<0x0&&Object[_0x1fc620(0x27b)]['propertyIsEnumerable'][_0x1fc620(0x374)](_0x49ced8,_0x49d88b[_0xe9d144])&&(_0x5ab1c8[_0x49d88b[_0xe9d144]]=_0x49ced8[_0x49d88b[_0xe9d144]]);}return _0x5ab1c8;},We=_0x3c0a1c(function(_0x2b793b,_0x16c73b){const _0x121794=_0x3d495f;var _0x539fc4=_0x2b793b[_0x121794(0x2b9)],_0x3881b5=_0x2b793b['id'],_0x2c0eb9=_0x2b793b[_0x121794(0x26c)],_0x223df9=_0x2b793b[_0x121794(0x356)],_0x5aa41b=ki(_0x2b793b,[_0x121794(0x2b9),'id',_0x121794(0x26c),_0x121794(0x356)]),_0x11d671=_0x121794(0x2d0)[_0x121794(0x274)](_0x3881b5,'\x20')[_0x121794(0x274)](_0x2c0eb9||'')[_0x121794(0x221)](),_0xd583de=_0x559a8e('_'['concat'](Wi()));return Nt(_0x539fc4,''['concat'](_0x3881b5),{'defIds':_0x539fc4[_0x121794(0x23f)],'idSuffix':_0xd583de[_0x121794(0x2b0)]},I({'ref':_0x16c73b,'className':_0x11d671},_0x5aa41b),_0x223df9);});function Nt(_0x3347d6,_0x22b77e,_0xa6cd7e,_0x36a024,_0x5148fa){const _0x114044=_0x3d495f;return _0x3726b6(_0x3347d6[_0x114044(0x223)],I(I({'key':_0x22b77e},Hi(_0x3347d6,_0xa6cd7e,_0x5148fa)),_0x36a024),(ji(_0x3347d6,_0xa6cd7e)['children']||[])['map'](function(_0x589e7d,_0x2d39b1){const _0x56ff29=_0x114044;return Nt(_0x589e7d,''['concat'](_0x22b77e,'-')[_0x56ff29(0x274)](_0x3347d6[_0x56ff29(0x223)],'-')[_0x56ff29(0x274)](_0x2d39b1),_0xa6cd7e,void 0x0,_0x5148fa);}));}function Hi(_0x2871a2,_0x279092,_0x3758a4){const _0x41348c=_0x3d495f;var _0x3303f2=I({},_0x2871a2['attrs']);_0x3758a4!=null&&_0x3758a4[_0x41348c(0x347)]&&_0x3303f2[_0x41348c(0x2a7)]==='colorChannel1'&&(_0x3303f2['fill']=_0x3758a4[_0x41348c(0x347)]),_0x2871a2['tag']===_0x41348c(0x21c)&&_0x3303f2['id']&&(_0x3303f2['id']=_0x3303f2['id']+_0x279092[_0x41348c(0x2f6)]),Object[_0x41348c(0x3cd)](_0x3303f2)[_0x41348c(0x281)](function(_0x3eb0b8){const _0x2d7902=_0x41348c;var _0x4a46b1=_0x3eb0b8[0x0],_0x5af78d=_0x3eb0b8[0x1];_0x4a46b1===_0x2d7902(0x21c)&&typeof _0x5af78d=='string'&&(_0x3303f2[_0x4a46b1]=_0x5af78d[_0x2d7902(0x22e)](/url\(#(.*)\)/,_0x2d7902(0x267)['concat'](_0x279092[_0x2d7902(0x2f6)],')')));});var _0x5e5a79=_0x279092[_0x41348c(0x23f)];return!_0x5e5a79||_0x5e5a79['length']===0x0||(_0x2871a2[_0x41348c(0x223)]===_0x41348c(0x327)&&_0x3303f2[_0x41348c(0x1db)]&&(_0x3303f2[_0x41348c(0x1db)]=_0x3303f2[_0x41348c(0x1db)]+_0x279092[_0x41348c(0x2f6)]),Object['entries'](_0x3303f2)[_0x41348c(0x281)](function(_0xa28f4f){const _0x25dd85=_0x41348c;var _0x1b8abf=_0xa28f4f[0x0],_0x73dc4e=_0xa28f4f[0x1];typeof _0x73dc4e=='string'&&(_0x3303f2[_0x1b8abf]=_0x73dc4e[_0x25dd85(0x22e)](/url\(#(.*)\)/,'url(#$1'[_0x25dd85(0x274)](_0x279092[_0x25dd85(0x2f6)],')')));})),_0x3303f2;}function ji(_0x1ed950,_0x235af4){const _0x4f1543=_0x3d495f;var _0x555541,_0x32d803=_0x235af4[_0x4f1543(0x23f)];return!_0x32d803||_0x32d803[_0x4f1543(0x3a6)]===0x0?_0x1ed950:_0x1ed950[_0x4f1543(0x223)]===_0x4f1543(0x1da)&&(!((_0x555541=_0x1ed950[_0x4f1543(0x266)])===null||_0x555541===void 0x0)&&_0x555541[_0x4f1543(0x3a6)])?I(I({},_0x1ed950),{'children':_0x1ed950[_0x4f1543(0x266)]['map'](function(_0x3aaa33){const _0xf5c307=_0x4f1543;return typeof _0x3aaa33['attrs']['id']==_0xf5c307(0x3aa)&&_0x32d803&&_0x32d803[_0xf5c307(0x392)](_0x3aaa33['attrs']['id'])>-0x1?I(I({},_0x3aaa33),{'attrs':I(I({},_0x3aaa33[_0xf5c307(0x2d4)]),{'id':_0x3aaa33[_0xf5c307(0x2d4)]['id']+_0x235af4[_0xf5c307(0x2f6)]})}):_0x3aaa33;})}):_0x1ed950;}function Wi(){const _0x393757=_0x3d495f;return Math[_0x393757(0x3d6)]()[_0x393757(0x303)](0x24)[_0x393757(0x302)](0x2,0x8);}We[_0x3d495f(0x3a3)]=_0x3d495f(0x3ae);var Fi={'tag':'svg','attrs':{'fill':_0x3d495f(0x341),'viewBox':_0x3d495f(0x31a),'width':_0x3d495f(0x381),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3d495f(0x386)},'children':[{'tag':_0x3d495f(0x336),'attrs':{'stroke':_0x3d495f(0x3a2),'d':_0x3d495f(0x23d),'strokeLinecap':'round','strokeLinejoin':_0x3d495f(0x39d),'strokeWidth':1.2}}]},{'tag':_0x3d495f(0x1da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d495f(0x20c)},'children':[{'tag':_0x3d495f(0x336),'attrs':{'fill':_0x3d495f(0x202),'d':_0x3d495f(0x2bf)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x3c0a1c(function(_0xaef385,_0x23d901){const _0x395abf=_0x3d495f;return _0x3726b6(We,Object[_0x395abf(0x269)]({},_0xaef385,{'id':_0x395abf(0x36b),'ref':_0x23d901,'icon':Fi}));});Ut[_0x3d495f(0x3a3)]='OffLineSingle';var Yi={'tag':_0x3d495f(0x2c3),'attrs':{'fill':_0x3d495f(0x341),'viewBox':_0x3d495f(0x207),'width':_0x3d495f(0x381),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3d495f(0x336),'attrs':{'stroke':_0x3d495f(0x3a2),'d':_0x3d495f(0x2e3),'strokeLinecap':_0x3d495f(0x39d),'strokeLinejoin':_0x3d495f(0x39d),'strokeWidth':1.2}}]},{'tag':_0x3d495f(0x1da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d495f(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x3d495f(0x202),'d':_0x3d495f(0x2bf),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3d495f(0x23c)]},Mt=_0x3c0a1c(function(_0x4c2901,_0x5975f3){const _0xc50385=_0x3d495f;return _0x3726b6(We,Object[_0xc50385(0x269)]({},_0x4c2901,{'id':_0xc50385(0x2c5),'ref':_0x5975f3,'icon':Yi}));});Mt['displayName']=_0x3d495f(0x34a);const Vi=_0x3d495f(0x371),Xi='univer-online-status-title',Gi=_0x3d495f(0x2cf),Ki=_0x3d495f(0x248),zi=_0x3d495f(0x228),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x184058){const _0x5113f7=_0x3d495f;switch(_0x184058){case _0x55f2a1[_0x5113f7(0x1ef)]:return _0x5113f7(0x218);case _0x55f2a1[_0x5113f7(0x2ee)]:return _0x5113f7(0x24c);case _0x55f2a1[_0x5113f7(0x2e7)]:return _0x5113f7(0x3dc);case _0x55f2a1[_0x5113f7(0x2fb)]:return'collabStatus.notCollab';case _0x55f2a1[_0x5113f7(0x3db)]:case _0x55f2a1[_0x5113f7(0x2f4)]:return _0x5113f7(0x2a3);case _0x55f2a1[_0x5113f7(0x2f2)]:case _0x55f2a1['PENDING']:return'collabStatus.synced';}}function Zi(_0x362a8e){const _0x36d259=_0x3d495f,{status$:_0x125bd4}=_0x362a8e,_0x46ae5f=_0x257186(_0x125bd4,_0x55f2a1[_0x36d259(0x2fb)]),_0x1bf422=_0x171cee(_0x32e24e),_0x5ceeeb=_0x171cee(_0x54008c),_0x3158ab=_0x46ae5f!==_0x55f2a1['OFFLINE'],_0xd86d5f=_0x1bf422['t'](Ji(_0x46ae5f)),_0x4d27ea=_0x39ea86(G[_0x36d259(0x2d1)],{[G[_0x36d259(0x312)]]:_0x3158ab,[G['offline']]:!_0x3158ab}),_0x597b71=_0x3158ab?_0x530166(Mt,{}):_0x530166(Ut,{}),_0x350a66=_0x1033b9(()=>{const _0x59f165=_0x36d259;_0x3158ab||_0x5ceeeb[_0x59f165(0x3d3)]();},[_0x3158ab,_0x5ceeeb]);function _0x1a8c26(){const _0x14b333=_0x36d259;return _0x1c2e46(_0x14b333(0x2a8),{'className':_0x39ea86(_0x4d27ea,_0x14b333(0x24f)),'onClick':_0x350a66,'children':[_0x530166(_0x14b333(0x2a8),{'className':G[_0x14b333(0x2e5)],'children':_0x597b71}),_0x530166(_0x14b333(0x2a8),{'className':G[_0x14b333(0x24b)],'children':_0xd86d5f})]});}return _0x3158ab?_0x1a8c26():_0x530166(_0x1b6ae3,{'title':_0x1bf422['t'](_0x36d259(0x1d1)),'children':_0x1a8c26()});}var Qi=Object[_0x3d495f(0x3da)],qi=(_0x502955,_0x4aa8a0,_0x19f6b4,_0x5c20b1)=>{const _0x202b89=_0x3d495f;for(var _0xfcbe10=_0x5c20b1>0x1?void 0x0:_0x5c20b1?Qi(_0x4aa8a0,_0x19f6b4):_0x4aa8a0,_0x5aba29=_0x502955[_0x202b89(0x3a6)]-0x1,_0x441fe6;_0x5aba29>=0x0;_0x5aba29--)(_0x441fe6=_0x502955[_0x5aba29])&&(_0xfcbe10=_0x441fe6(_0xfcbe10)||_0xfcbe10);return _0xfcbe10;},q=(_0x3cacac,_0x3bb5a7)=>(_0x1cce1d,_0x46dd86)=>_0x3bb5a7(_0x1cce1d,_0x46dd86,_0x3cacac);let se=class extends _0x2bd763{constructor(_0x1d2945,_0x31978d,_0x141e6b,_0x1c2fc2){const _0x13f0f4=_0x3d495f;super(),_(this,_0x13f0f4(0x31c),new _0x6d4d17(_0x55f2a1[_0x13f0f4(0x2fb)])),(this[_0x13f0f4(0x2e0)]=_0x1d2945,this[_0x13f0f4(0x2ec)]=_0x31978d,this[_0x13f0f4(0x1f4)]=_0x141e6b,this[_0x13f0f4(0x29d)]=_0x1c2fc2,this[_0x13f0f4(0x343)](),this[_0x13f0f4(0x308)]());}[_0x3d495f(0x308)](){const _0x4b06ef=_0x3d495f;this[_0x4b06ef(0x275)](this[_0x4b06ef(0x2e0)]['focused$'][_0x4b06ef(0x28d)](_0x17be33(()=>{const _0x54c441=_0x4b06ef,_0x21f4f8=this[_0x54c441(0x2e0)]['getFocusedUnit']();return _0x21f4f8?this['_collaborationController'][_0x54c441(0x3bd)](_0x21f4f8[_0x54c441(0x26b)]()):_0x63efda(null);}),_0x17be33(_0x22ee41=>_0x22ee41?_0x22ee41['status$']:_0x63efda(_0x55f2a1[_0x4b06ef(0x2fb)])))[_0x4b06ef(0x330)](_0x41f8a9=>{const _0x51de99=_0x4b06ef;this[_0x51de99(0x31c)][_0x51de99(0x22c)](_0x41f8a9);}));}[_0x3d495f(0x343)](){const _0x113a58=_0x3d495f;this[_0x113a58(0x275)](this[_0x113a58(0x29d)][_0x113a58(0x34b)](_0x1ed8ec[_0x113a58(0x370)],()=>_0x38f0ac(en({'status$':this[_0x113a58(0x31c)][_0x113a58(0x32c)]()}),this[_0x113a58(0x2ec)])));}};se=qi([q(0x0,_0x81b094),q(0x1,_0x4717f3(_0x277842)),q(0x2,_0x4717f3(_0x3bd700)),q(0x3,_0x29080a)],se);function en(_0x2b3d8b){const {status$:_0x22c2f2}=_0x2b3d8b;return function(){return _0x530166(Zi,{'status$':_0x22c2f2});};}var tn=Object[_0x3d495f(0x3da)],sn=(_0x159ed5,_0x33d505,_0x32796b,_0x3bb16e)=>{const _0x53e0fe=_0x3d495f;for(var _0x162643=_0x3bb16e>0x1?void 0x0:_0x3bb16e?tn(_0x33d505,_0x32796b):_0x33d505,_0x157161=_0x159ed5[_0x53e0fe(0x3a6)]-0x1,_0x605a3;_0x157161>=0x0;_0x157161--)(_0x605a3=_0x159ed5[_0x157161])&&(_0x162643=_0x605a3(_0x162643)||_0x162643);return _0x162643;},B=(_0x4b8df7,_0x12c8bf)=>(_0x385a1c,_0x23f9ee)=>_0x12c8bf(_0x385a1c,_0x23f9ee,_0x4b8df7);let ie=class extends _0x2bd763{constructor(_0x59796f,_0x126d8a,_0x190c47,_0x5c90e3,_0xe1ceac,_0x265214){const _0x4bb3a8=_0x3d495f;super(),this[_0x4bb3a8(0x29b)]=_0x59796f,this[_0x4bb3a8(0x396)]=_0x126d8a,this['_collaborationUIEventService']=_0x190c47,this[_0x4bb3a8(0x2da)]=_0x5c90e3,this[_0x4bb3a8(0x27c)]=_0xe1ceac,this['_localeService']=_0x265214,this[_0x4bb3a8(0x37c)](),this[_0x4bb3a8(0x287)]();}[_0x3d495f(0x37c)](){const _0x2e2e74=_0x3d495f;this[_0x2e2e74(0x275)](this['_beforeCloseService'][_0x2e2e74(0x321)](()=>{const _0x1405d8=_0x2e2e74;if(this['_localCacheService'][_0x1405d8(0x323)]['size'])return this[_0x1405d8(0x38f)]['t'](_0x1405d8(0x38e));}));}[_0x3d495f(0x287)](){const _0x5cf01c=_0x3d495f;this[_0x5cf01c(0x275)](this['_collaborationUIEventService'][_0x5cf01c(0x3d7)][_0x5cf01c(0x330)](_0x1dd3da=>{const _0x91d160=_0x5cf01c;_0x1dd3da['id']===_0x2575ef['OTHER_CLIENT_EDITING']&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7['Warning'],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x373))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x352)]&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x20d))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x37a)]&&this['_notificationService'][_0x91d160(0x2c7)]({'title':this[_0x91d160(0x38f)]['t']('permission.title'),'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x349)),'type':_0x91d160(0x372),'duration':0x0}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x2ee)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this[_0x91d160(0x38f)]['t']('collaboration.closeRoom')+'('+_0x1dd3da[_0x91d160(0x1cf)]+')'}),_0x1dd3da['id']===_0x2575ef['JOIN_ROOM_FAILED']&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this[_0x91d160(0x38f)]['t'](_0x1dd3da[_0x91d160(0x1cf)]||'')}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x30a)]&&this[_0x91d160(0x2da)][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x1f0)],'content':this['_localeService']['t'](_0x91d160(0x1df))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x39f)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this['_localeService']['t'](_0x91d160(0x318))}),_0x1dd3da['id']===_0x2575ef[_0x91d160(0x334)]&&this['_messageService'][_0x91d160(0x2c7)]({'type':_0x5db9e7[_0x91d160(0x276)],'content':this[_0x91d160(0x38f)]['t'](_0x91d160(0x329))});}));}};ie=sn([B(0x0,_0x54122b),B(0x1,_0x38eb01),B(0x2,_0x4717f3(_0x32db01)),B(0x3,_0xc0d35f),B(0x4,_0x480648),B(0x5,_0x4717f3(_0x32e24e))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x2de4d0(_0x3d495f(0x30f));var rn=Object[_0x3d495f(0x3da)],on=(_0x3183fe,_0xdaca16,_0x17e98b,_0x465c7a)=>{const _0x468822=_0x3d495f;for(var _0x56ff8a=_0x465c7a>0x1?void 0x0:_0x465c7a?rn(_0xdaca16,_0x17e98b):_0xdaca16,_0x3c6298=_0x3183fe[_0x468822(0x3a6)]-0x1,_0x178ce8;_0x3c6298>=0x0;_0x3c6298--)(_0x178ce8=_0x3183fe[_0x3c6298])&&(_0x56ff8a=_0x178ce8(_0x56ff8a)||_0x56ff8a);return _0x56ff8a;},K=(_0x53e15f,_0x57a780)=>(_0x2d503f,_0x216c2b)=>_0x57a780(_0x2d503f,_0x216c2b,_0x53e15f);let ne=class extends _0x1c69ed{constructor(_0x923ec0,_0x1a5539,_0x4cb700,_0x261cbe,_0x283fd0){const _0x2f72d6=_0x3d495f;super(),this[_0x2f72d6(0x234)]=_0x923ec0,this[_0x2f72d6(0x309)]=_0x1a5539,this['_commandService']=_0x4cb700,this['_dataLoaderService']=_0x261cbe,_0x283fd0?_0x283fd0==null||_0x283fd0['whenReady']()[_0x2f72d6(0x2a5)](()=>this['_init']()):(this[_0x2f72d6(0x309)][_0x2f72d6(0x2e4)](_0x2f72d6(0x1de),_0x2f72d6(0x299)),this[_0x2f72d6(0x293)]());}async['_init'](){const _0x151e32=_0x3d495f,_0x55031f=this[_0x151e32(0x234)][_0x151e32(0x220)](_0x151e32(0x37b)),_0x2a2b1f=this['_urlService']['getParam']('type'),_0xc4a717=this[_0x151e32(0x234)][_0x151e32(0x220)](_0x151e32(0x37d));if(!_0x55031f||!_0x2a2b1f){this['_logService'][_0x151e32(0x2e4)](_0x151e32(0x1de),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1e28ca=await this[_0x151e32(0x353)][_0x151e32(0x1f3)](_0x55031f,Number(_0x2a2b1f),_0xc4a717);_0x1e28ca&&_0x1e28ca instanceof _0x357042&&this['_setupSubUnitSync'](_0x1e28ca);}async['_setupSubUnitSync'](_0x361180){const _0xe7ddf2=_0x3d495f;await this['_updateSubUnitFromURLParams'](_0x361180),_0x361180[_0xe7ddf2(0x21a)]['pipe'](_0x57635b(this[_0xe7ddf2(0x296)]))['subscribe'](_0x5afbf3=>{const _0x29786f=_0xe7ddf2;_0x5afbf3&&this[_0x29786f(0x2cb)](_0x5afbf3);}),this[_0xe7ddf2(0x234)]['urlChange$'][_0xe7ddf2(0x28d)](_0x57635b(this[_0xe7ddf2(0x296)]))['subscribe'](()=>this[_0xe7ddf2(0x2fe)](_0x361180));}[_0x3d495f(0x2cb)](_0x3ac88d,_0x1c51b8=!0x1){const _0x541e3b=_0x3d495f,_0x5860f7=this[_0x541e3b(0x234)][_0x541e3b(0x220)](_0x541e3b(0x37d));_0x3ac88d[_0x541e3b(0x25d)]()!==_0x5860f7&&this[_0x541e3b(0x234)][_0x541e3b(0x28e)](_0x541e3b(0x37d),_0x3ac88d[_0x541e3b(0x25d)](),_0x1c51b8);}async[_0x3d495f(0x2fe)](_0x333794){const _0x1731d0=_0x3d495f;var _0x2bd310;const _0xea2cd9=this[_0x1731d0(0x234)][_0x1731d0(0x220)](_0x1731d0(0x37d));if(!_0xea2cd9||!_0x333794[_0x1731d0(0x1fb)](_0xea2cd9)){const _0x443ef9=_0x333794[_0x1731d0(0x326)]()[0x0],_0x11b6ab=_0x333794[_0x1731d0(0x1fb)](_0x443ef9);if(!_0x11b6ab)return;this['_updateURLWithCurrentState'](_0x11b6ab,!0x0),await this[_0x1731d0(0x217)][_0x1731d0(0x298)](_0x55886c['id'],{'unitId':_0x333794[_0x1731d0(0x26b)](),'subUnitId':_0x443ef9});return;}((_0x2bd310=_0x333794[_0x1731d0(0x36c)]())==null?void 0x0:_0x2bd310[_0x1731d0(0x25d)]())!==_0xea2cd9&&await this[_0x1731d0(0x217)][_0x1731d0(0x298)](_0x55886c['id'],{'unitId':_0x333794[_0x1731d0(0x26b)](),'subUnitId':_0xea2cd9});}};ne=on([K(0x0,Pt),K(0x1,_0x1d5b3c),K(0x2,_0x5cb5ba),K(0x3,_0x4717f3(_0x2fbab3)),K(0x4,_0x3174cb(_0x322134))],ne);var an=Object[_0x3d495f(0x3da)],cn=(_0x3dce9b,_0x31b5cf,_0x187719,_0x45ce94)=>{const _0x5a9f2e=_0x3d495f;for(var _0x592da1=_0x45ce94>0x1?void 0x0:_0x45ce94?an(_0x31b5cf,_0x187719):_0x31b5cf,_0x2f02ef=_0x3dce9b[_0x5a9f2e(0x3a6)]-0x1,_0x556314;_0x2f02ef>=0x0;_0x2f02ef--)(_0x556314=_0x3dce9b[_0x2f02ef])&&(_0x592da1=_0x556314(_0x592da1)||_0x592da1);return _0x592da1;},Ce=(_0x410ce9,_0x3944c9)=>(_0x512a27,_0x32cba6)=>_0x3944c9(_0x512a27,_0x32cba6,_0x410ce9);let re=class{constructor(_0x16eba8,_0x501bbb,_0xbcd88d){const _0xcd73bd=_0x3d495f;this['_injector']=_0x16eba8,this[_0xcd73bd(0x34c)]=_0x501bbb,this[_0xcd73bd(0x295)]=_0xbcd88d;}['transformIMECache'](_0x1d2082){const _0x164bbb=_0x3d495f;this['_transformUndoRedoStack'](_0x1d2082),this[_0x164bbb(0x364)](_0x1d2082);}[_0x3d495f(0x206)](_0x997a5a){const _0xb7e43a=_0x3d495f,{unitID:_0x2452e3}=_0x997a5a,_0x2ae17e=this[_0xb7e43a(0x295)][_0xb7e43a(0x397)](_0x2452e3)[_0xb7e43a(0x251)](_0x41e6c1),{redoCache:_0x37893d}=_0x2ae17e['getUndoRedoMutationParamsCache']();if(_0x37893d[_0xb7e43a(0x3a6)]===0x0)return _0x997a5a;let _0x4dabcb=_0x43bfb7['deepClone'](_0x997a5a[_0xb7e43a(0x36a)][0x0]);for(let _0x52586e=0x0;_0x52586e<_0x37893d[_0xb7e43a(0x3a6)];_0x52586e++){const _0x584609={'id':_0xb7e43a(0x26f),'params':{..._0x37893d[_0x52586e]}},_0x4cbd1c=this[_0xb7e43a(0x34c)]['transformMutation'](_0x4dabcb,_0x584609,!0x1);if(_0x201746(_0x4cbd1c))throw _0x4cbd1c[_0xb7e43a(0x372)];_0x4dabcb=_0x4cbd1c['m1Prime'];}return{..._0x43bfb7[_0xb7e43a(0x283)](_0x997a5a),'mutations':[_0x4dabcb]};}['_transformUndoRedoStack'](_0x294318){const _0x4f59ea=_0x3d495f,{unitID:_0x5d6ebb}=_0x294318,_0xd9ffb6=this[_0x4f59ea(0x295)]['getRenderById'](_0x5d6ebb)[_0x4f59ea(0x251)](_0x41e6c1),{undoCache:_0x108f7d,redoCache:_0x5b1444}=_0xd9ffb6[_0x4f59ea(0x203)]();if(_0x108f7d[_0x4f59ea(0x3a6)]===0x0||_0x5b1444[_0x4f59ea(0x3a6)]===0x0)return;const _0x16c82b=[],_0x2500cb=[];let _0x1c02de=_0x43bfb7['deepClone'](_0x294318[_0x4f59ea(0x36a)][0x0]),_0x4e2aac=_0x43bfb7[_0x4f59ea(0x283)](_0x294318[_0x4f59ea(0x36a)][0x0]);for(let _0x2164a6=_0x108f7d[_0x4f59ea(0x3a6)]-0x1;_0x2164a6>=0x0;_0x2164a6--){const _0x40990c={'id':_0x4f59ea(0x26f),'params':{..._0x108f7d[_0x2164a6]}},_0x45eb47={'id':'doc.mutation.rich-text-editing','params':{..._0x5b1444[_0x2164a6]}},_0xbbfadc=this[_0x4f59ea(0x34c)]['transformMutation'](_0x1c02de,_0x40990c,!0x1),_0x5aa6ad=this[_0x4f59ea(0x34c)][_0x4f59ea(0x258)](_0x4e2aac,_0x45eb47,!0x1);if(_0x201746(_0xbbfadc))throw _0xbbfadc[_0x4f59ea(0x372)];if(_0x201746(_0x5aa6ad))throw _0x5aa6ad[_0x4f59ea(0x372)];_0x16c82b[_0x4f59ea(0x335)](_0xbbfadc[_0x4f59ea(0x367)]['params']),_0x2500cb['unshift'](_0x5aa6ad[_0x4f59ea(0x367)]['params']),_0x1c02de=_0xbbfadc[_0x4f59ea(0x24d)],_0x4e2aac=_0x5aa6ad['m1Prime'];}_0xd9ffb6['setUndoRedoMutationParamsCache']({'undoCache':_0x16c82b,'redoCache':_0x2500cb});}[_0x3d495f(0x364)](_0x24e23e){const _0x5b9eeb=_0x3d495f,{unitID:_0x369777}=_0x24e23e,_0x1494e5=this[_0x5b9eeb(0x295)][_0x5b9eeb(0x397)](_0x369777)['with'](_0x41e6c1),_0xd0ea10=_0x1494e5['getActiveRange']();if(_0xd0ea10==null)return;const _0xd0fe23=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24e23e['unitID'],'actions':null,'textRanges':[_0xd0ea10]}}],_0x584f81=this['_transformService']['transformMutationsWithChangeset'](_0x24e23e,_0xd0fe23);if(!_0x190776(_0x584f81))throw _0x584f81['error'];const _0x4a0704=_0x584f81[_0x5b9eeb(0x367)][0x0][_0x5b9eeb(0x320)][_0x5b9eeb(0x2e6)];Array[_0x5b9eeb(0x29a)](_0x4a0704)&&_0x4a0704[_0x5b9eeb(0x3a6)]&&_0x1494e5[_0x5b9eeb(0x380)](_0x4a0704[0x0]);}};re=cn([Ce(0x0,_0x4717f3(_0x277842)),Ce(0x1,_0x430651),Ce(0x2,_0x1512c0)],re);var ln=Object[_0x3d495f(0x3da)],_n=(_0x23a815,_0x4c495b,_0x371076,_0x5bebd1)=>{const _0x40fa24=_0x3d495f;for(var _0x2e89d7=_0x5bebd1>0x1?void 0x0:_0x5bebd1?ln(_0x4c495b,_0x371076):_0x4c495b,_0x1710e7=_0x23a815[_0x40fa24(0x3a6)]-0x1,_0x26a984;_0x1710e7>=0x0;_0x1710e7--)(_0x26a984=_0x23a815[_0x1710e7])&&(_0x2e89d7=_0x26a984(_0x2e89d7)||_0x2e89d7);return _0x2e89d7;},Ee=(_0x31ed97,_0x2daa83)=>(_0xd03876,_0x4c22bb)=>_0x2daa83(_0xd03876,_0x4c22bb,_0x31ed97);let oe=class{constructor(_0x393e8c,_0x381f03,_0x312d4b){const _0x58c7aa=_0x3d495f;this['_injector']=_0x393e8c,this[_0x58c7aa(0x34c)]=_0x381f03,this['_docStateChangeManagerService']=_0x312d4b;}[_0x3d495f(0x3c4)](_0x4433d0){this['_transformHistoryAndStateStack'](_0x4433d0);}[_0x3d495f(0x206)](_0x1fd94a){const _0x33bfe0=_0x3d495f,{unitID:_0x56417e}=_0x1fd94a,{collaboration:_0x25550e}=this['_docStateChangeManagerService'][_0x33bfe0(0x3d1)](_0x56417e);if(_0x25550e[_0x33bfe0(0x3a6)]===0x0)return _0x1fd94a;let _0xdc505a=_0x43bfb7[_0x33bfe0(0x283)](_0x1fd94a['mutations'][0x0]);for(let _0x44d3e0=0x0;_0x44d3e0<_0x25550e['length'];_0x44d3e0++){const _0x52ef27={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25550e[_0x44d3e0][_0x33bfe0(0x388)],..._0x25550e[_0x44d3e0]['redoState']}},_0x4eb991=this[_0x33bfe0(0x34c)][_0x33bfe0(0x258)](_0xdc505a,_0x52ef27,!0x1);if(_0x201746(_0x4eb991))throw _0x4eb991[_0x33bfe0(0x372)];_0xdc505a=_0x4eb991['m1Prime'];}return{..._0x43bfb7['deepClone'](_0x1fd94a),'mutations':[_0xdc505a]};}[_0x3d495f(0x33b)](_0x1d8a9e){const _0x57bb11=_0x3d495f,{unitID:_0x159805}=_0x1d8a9e,{history:_0x39e41c,collaboration:_0x184d9b}=this[_0x57bb11(0x291)]['getStateCache'](_0x159805);if(_0x39e41c[_0x57bb11(0x3a6)]===0x0&&_0x184d9b[_0x57bb11(0x3a6)]===0x0)return;const _0x5eb138=[],_0x551d98=[];let _0x56742f=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]),_0x4d8fd3=_0x43bfb7['deepClone'](_0x1d8a9e[_0x57bb11(0x36a)][0x0]);for(let _0x426c6b=_0x39e41c[_0x57bb11(0x3a6)]-0x1;_0x426c6b>=0x0;_0x426c6b--){const _0x3af660={'id':_0x57bb11(0x26f),'params':{'unitId':_0x39e41c[_0x426c6b][_0x57bb11(0x388)],..._0x39e41c[_0x426c6b][_0x57bb11(0x219)]}},_0x48d827={'id':_0x57bb11(0x26f),'params':{'unitId':_0x39e41c[_0x426c6b][_0x57bb11(0x388)],..._0x39e41c[_0x426c6b][_0x57bb11(0x375)]}},_0x3645d4=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x56742f,_0x3af660,!0x1),_0x374c14=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x4d8fd3,_0x48d827,!0x1);if(_0x201746(_0x3645d4))throw _0x3645d4[_0x57bb11(0x372)];if(_0x201746(_0x374c14))throw _0x374c14[_0x57bb11(0x372)];_0x5eb138['unshift']({..._0x39e41c[_0x426c6b],'undoState':_0x3645d4['m2Prime'][_0x57bb11(0x320)],'redoState':_0x374c14[_0x57bb11(0x367)][_0x57bb11(0x320)]}),_0x56742f=_0x3645d4[_0x57bb11(0x24d)],_0x4d8fd3=_0x374c14[_0x57bb11(0x24d)];}_0x56742f=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]),_0x4d8fd3=_0x43bfb7[_0x57bb11(0x283)](_0x1d8a9e[_0x57bb11(0x36a)][0x0]);for(let _0x85aa0d=_0x184d9b['length']-0x1;_0x85aa0d>=0x0;_0x85aa0d--){const _0x531012={'id':_0x57bb11(0x26f),'params':{'unitId':_0x184d9b[_0x85aa0d][_0x57bb11(0x388)],..._0x184d9b[_0x85aa0d][_0x57bb11(0x219)]}},_0xc359da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184d9b[_0x85aa0d][_0x57bb11(0x388)],..._0x184d9b[_0x85aa0d]['redoState']}},_0x5c76ad=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x56742f,_0x531012,!0x1),_0xc63b0=this[_0x57bb11(0x34c)][_0x57bb11(0x258)](_0x4d8fd3,_0xc359da,!0x1);if(_0x201746(_0x5c76ad))throw _0x5c76ad[_0x57bb11(0x372)];if(_0x201746(_0xc63b0))throw _0xc63b0[_0x57bb11(0x372)];_0x551d98[_0x57bb11(0x335)]({..._0x184d9b[_0x85aa0d],'undoState':_0x5c76ad[_0x57bb11(0x367)]['params'],'redoState':_0xc63b0[_0x57bb11(0x367)]['params']}),_0x56742f=_0x5c76ad[_0x57bb11(0x24d)],_0x4d8fd3=_0xc63b0[_0x57bb11(0x24d)];}this[_0x57bb11(0x291)][_0x57bb11(0x2f0)](_0x159805,{'history':_0x5eb138,'collaboration':_0x551d98});}};oe=_n([Ee(0x0,_0x4717f3(_0x277842)),Ee(0x1,_0x430651),Ee(0x2,_0x4717f3(_0x469af6))],oe);var hn=Object[_0x3d495f(0x3da)],un=(_0x487fa3,_0x52aca1,_0x30f3e0,_0x537a63)=>{const _0x32b336=_0x3d495f;for(var _0x57bebb=_0x537a63>0x1?void 0x0:_0x537a63?hn(_0x52aca1,_0x30f3e0):_0x52aca1,_0x5b0532=_0x487fa3[_0x32b336(0x3a6)]-0x1,_0x5f1845;_0x5b0532>=0x0;_0x5b0532--)(_0x5f1845=_0x487fa3[_0x5b0532])&&(_0x57bebb=_0x5f1845(_0x57bebb)||_0x57bebb);return _0x57bebb;},it=(_0x4b7c20,_0x15f44c)=>(_0x1c50cf,_0x192f23)=>_0x15f44c(_0x1c50cf,_0x192f23,_0x4b7c20);let ae=class{constructor(_0x51f623,_0x1d837e){this['_injector']=_0x51f623,this['_transformService']=_0x1d837e;}['transformSelections'](_0x5cf974){const _0x53d509=_0x3d495f;var _0x633494;const _0x4c5059=this[_0x53d509(0x2ec)][_0x53d509(0x31f)](_0x3bb8e3),_0x359ee8=(_0x633494=_0x4c5059[_0x53d509(0x384)]())!=null?_0x633494:[];if(_0x359ee8['length']===0x0)return;const _0x300db2=_0x5cf974[_0x53d509(0x1e7)],_0x17f123=[{'id':_0x53d509(0x26f),'params':{'unitId':_0x300db2,'actions':null,'textRanges':_0x359ee8}}],_0x4cecc3=this[_0x53d509(0x34c)][_0x53d509(0x2d8)](_0x5cf974,_0x17f123);if(!_0x190776(_0x4cecc3))throw _0x4cecc3[_0x53d509(0x372)];const _0x1d1789=_0x4cecc3[_0x53d509(0x367)][0x0][_0x53d509(0x320)][_0x53d509(0x2e6)];Array[_0x53d509(0x29a)](_0x1d1789)&&_0x1d1789['length']&&_0x4c5059[_0x53d509(0x357)](_0x1d1789,{'unitId':_0x300db2,'subUnitId':_0x300db2},!0x1);}};ae=un([it(0x0,_0x4717f3(_0x277842)),it(0x1,_0x430651)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x4f35b6,_0x37c79d,_0x5a508b,_0x530ab0)=>{const _0xb2f13c=_0x3d495f;for(var _0x4f7cc2=_0x530ab0>0x1?void 0x0:_0x530ab0?dn(_0x37c79d,_0x5a508b):_0x37c79d,_0x40711e=_0x4f35b6[_0xb2f13c(0x3a6)]-0x1,_0x35e495;_0x40711e>=0x0;_0x40711e--)(_0x35e495=_0x4f35b6[_0x40711e])&&(_0x4f7cc2=_0x35e495(_0x4f7cc2)||_0x4f7cc2);return _0x4f7cc2;},U=(_0x353989,_0x247799)=>(_0xe79879,_0x2f3c2c)=>_0x247799(_0xe79879,_0x2f3c2c,_0x353989);let ce=class extends _0x2bd763{constructor(_0x32825c,_0x59ec89,_0x2d1ac7,_0x5532d0,_0x5e9795,_0x5b22e4,_0x2dc26e,_0x385ce6){const _0x7a17d0=_0x3d495f;super(),_(this,_0x7a17d0(0x31c),new _0x6d4d17(_0x55f2a1[_0x7a17d0(0x2fb)])),(this[_0x7a17d0(0x291)]=_0x32825c,this['_collaborationController']=_0x59ec89,this[_0x7a17d0(0x201)]=_0x2d1ac7,this['_docTransformStateCacheService']=_0x5532d0,this[_0x7a17d0(0x255)]=_0x5e9795,this[_0x7a17d0(0x3c3)]=_0x5b22e4,this['_messageService']=_0x2dc26e,this[_0x7a17d0(0x38f)]=_0x385ce6,this['_initEntityListener']());}[_0x3d495f(0x3d4)](){const _0x255973=_0x3d495f;this[_0x255973(0x275)](this[_0x255973(0x1f4)]['entityInit$'][_0x255973(0x330)](_0x973587=>{const _0x40f979=_0x255973,_0x4bbce8=this[_0x40f979(0x291)][_0x40f979(0x2ac)]['subscribe'](_0x44c768=>{const _0x409176=_0x40f979;if(_0x44c768==null)return;const {unitId:_0x51596a,redoState:_0x11b420,commandId:_0x10b8e4}=_0x44c768;if(_0x51596a!==_0x973587[_0x409176(0x1e7)])return;const _0x38ea00={'id':_0x10b8e4,'type':_0x34af56['MUTATION'],'params':{'unitId':_0x51596a,'actions':_0x11b420[_0x409176(0x3b7)],'textRanges':null}};_0x973587[_0x409176(0x254)](_0x38ea00);});if(_0x973587['disposeWithMe'](_0x4bbce8),_0x973587 instanceof _0xe49363){const _0x47738a={'onTransformIME':_0x23740e=>this[_0x40f979(0x201)]['transformIMECache'](_0x23740e),'onTransformState':_0x525181=>this[_0x40f979(0x2a4)]['transformStateCache'](_0x525181),'onTransformSelections':_0x30288b=>this[_0x40f979(0x255)][_0x40f979(0x28b)](_0x30288b),'onSyncEditingCollabCursor':_0x53fad5=>this[_0x40f979(0x3c3)][_0x40f979(0x387)](_0x53fad5),'onTransformRemoteChangesetByIMECache':_0xf77a9a=>this[_0x40f979(0x201)][_0x40f979(0x206)](_0xf77a9a),'onTransformRemoteChangesetByStateCache':_0x31f236=>this[_0x40f979(0x2a4)][_0x40f979(0x206)](_0x31f236)};_0x973587[_0x40f979(0x2a6)](_0x47738a);}}));}};function _0x207e(){const _0xaf5065=['beginPath','fillRule','_toggleOffline','LICENSE_IMPORT_SIZE_EXCEEDED','add','none','startRow','_initStatusComponent','saveOfflineData','size','drawWith','colorChannel1','top','permission.content','OnLineSingle','registerComponent','_transformService','origin','onPointerLeave$','_scheduleClearOtherTimer','_scene','_roomMembers$','CLOSE_ROOM','_dataLoaderService','updateOfflineData','getCurrentRevOfUnit','extend','replaceDocRanges','_syncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_INVITE_CODE','editingUnit','RemoveColCommandId','LICENSE_MAX_UNITS_EXCEEDED','closePath','_disabled','getTypeOfUnitAdded$','INVITE_CODE_HAS_BEEN_UES','post','_registerDependencies','_transformPreviousActiveRange','min','save','m2Prime','_collabCursorState$','href','mutations','off-line-single','getActiveSheet','init','_cursors','values','HEADER_MENU','univer-online-status-icon','error','collaboration.single-unit.warning','call','redoState','findNodePositionByCharIndex','jiqing500','invokeId','registerRenderModule','PERMISSION_DENIED','unit','_setupBeforeClosingHandler','subunit','sheetId','_cachedData','setActiveRange','1em','getUniverSheetInstance','gold400','getDocRanges','_revisionService','url(#off-line-single_clip0_910_343)','syncEditingCollabCursor','unitId','hovered','getCollabCursors$','evenodd','ONLINE','setTimeout','collaboration-client.offline-data-not-saved','_localeService','currentTheme$','UNIVER_SHEET','indexOf','_unitStatus','SNAPSHOT_INVALID_SNAPSHOT','ranges','_localCacheService','getRenderById','height','loadOfflineData','PY_RUNTIME_SCRIPT_ERROR','_getSaveTimeout','onMouseMove','round','runId','SOCKET_FAILED','ALREADY_EXISTS','2314212xYGtEC','currentColor','displayName','_eventUnsubscribe','_refreshCollabCursors','length','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','TOO_MANY_REQUESTS','_httpService','string','has','ENSURE_SNAPSHOT_EXECUTION','send','UniverIcon','roomMembers$','arc','generateRandomId','eventID','getRelativeToViewportCoord','moveTo','_startDocCollabCursor','getValue','actions','getRangePointData','_onCursorDelete','YUUMI_SUBSCRIPTION_NOT_FOUND','_hideTimer','INVITE_CODE_REQUIRED','getCollabEntity$','_config','saveImage','_handleHover','name','selections','_docSyncEditingCollabCursorService','transformStateCache','exhaustSavingTask','29807yHkfvz','_saveTaskMap','popstate','NOT_FOUND','getUnitStatus$','push','includes','entries','32860740EmCuSo','_anchor','_getSheetObject','getStateCache','createSocket','reconnect','_initEntityListener','_docSkeletonManagerService','random','event$','_colorAssignService','memberID','getOwnPropertyDescriptor','AWAITING','collabStatus.fetchMiss','_removeCollabCursors','location','data','skeleton','collab-client.tooltip.reconnect','_configService','isEditing','wsSessionTicketUrl','transform','newValue','symbol','_updateLocalCursor','Unknown\x20user','defs','xlink:href','disposeUnit','MOBILE_HAS_BEEN_BOUND','[CollaborationDataLoaderController]','session.will-retry','width','INVITE_CODE_ALREADY_BOUND','_registerRenderDependencies','result','VIEW_MAIN','_updateCollabCursors','replaceState','unitID','_render','2008251liknmb','getCurrentSelections','USER_NOT_INVITED_CODE','getCurrentUnitForType','sheetID','setInterval','OFFLINE','Warning','map','_initResize','loadUnit','_collaborationController','INVALID_ARGUMENT','delete','INTERNAL_ERROR','_onRefRangeChange','row','getTypeOfUnitDisposed$','getSheetBySheetId','APPLY_REVISION_CONFILICT','color','InsertRangeMoveRightCommandId','_startSheetCollabCursor','some','_docTransformIMECacheService','#fff','getUndoRedoMutationParamsCache','type','history','transformRemoteChangeset','0\x200\x2017\x2016','rgba(255,\x20255,\x20255,\x200.01)','urlChange$','search','collab-rect-range-','off-line-single_clip0_910_343','collaboration.closeRoom','transformByState','subUnitId','APPLY_REJECT','fillStyle','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_RATE_OVER_LIMIT','_instanceService','UNAUTHENTICATED','_createSocketURL','_commandService','collabStatus.offline','undoState','activeSheet$','_collabSessionService','mask','black','triggerDblclick','_hover','getParam','trim','_localStorageService','tag','source','subscribeEvent','getCellPositionByOffset','unsubscribe','univer-offline','_lastPointer','_getScale','_send','next','_context','replace','runOnServer','MoveRangeCommandId','clearInterval','UNRECOGNIZED','onPointerEnter$','_urlService','YUUMI_UNABLE_LOAD_URL','hide','_draw','lineTo','getAncestorScale','addObject','_color','on-line-single_clip0_910_349','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','_name','defIds','getSkeleton','15zphkeW','endColumn','_handleEvent','LOGIN_FAILED','text','_heartbeatTimer','_id','univer-online','YUUMI_URL_COL_OUT_OF_RANGE','getVpScrollXYInfoByPosToVp','onlineStatusTitle','collabStatus.conflict','m1Prime','_refRangeService','univer-flex\x20univer-items-center','_docClipboardService','with','isActive','labelPosition','onLocalMutation','_docTransformSelectionsService','column','ticket','transformMutation','_ensureSubject','onTransformChange$','onCommandExecuted','_shapes','getSheetId','sessionTicket','_cursorInfo$','_docSkeleton','registerRefRange','set','_scheduleSaving','CHANGESET_REVISION_CONFILICT','_clearOtherTimers','children','url(#$1','NO_OTHER_CLIENTS_EDITING','assign','_handleLeaveEvent','getUnitId','className','setItem','_labelPosition','doc.mutation.rich-text-editing','RECT','createInstance','cursorInfo$','UNIVER_DOC','concat','disposeWithMe','Error','requireSession','getCurrent','roomMembers','1924AUzvtA','prototype','_notificationService','startColumn','override','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','forEach','red300','deepClone','key','getMember','_doCreateSocket','_initEvent','collabCursorState$','/run/','_textBubble','transformSelections','split','pipe','setParam','fillText','searchParams','_docStateChangeManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_init','_unitOnClients','_renderManagerService','dispose$','getFocusedUnit','executeCommand','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','_beforeCloseService','_selfUnitIDs','_uiPartsService','currentSkeleton$','_cursor','_drawAnchor','WECHAT_HAS_BEEN_BOUND','_colorIndex','collabStatus.syncing','_docTransformStateCacheService','then','addHandlerCallback','fill','div','restore','_saveCache','_drawRectRange','docStateChange$','collab-text-range-','_getSessionTicket','complete','current','_collabCursorController','6192MhoCAf','_initCommandExecutedListener','dispose','_assignedColors','YUUMI_ASYNCIO_CANCELLED','assignAColorForMemberID','YUUMI_NO_CUBOID_FOR_QUESTION','icon','setConfig','pluginName','toRgbString','blue400','_scheduleHeartbeat','M0\x200H16V16H0z','18owKCqS','UPDATE_CURSOR','find','svg','addObjects','on-line-single','parse','show','RemoveRowCommandId','5150583zSrKnM','executionId','_updateURLWithCurrentState','_themeService','body','TEXT','univer-online-status','univerjs-icon\x20univerjs-icon-','onlineStatus','_hovered','flatMap','attrs','from','_backgroundColor','EMAIL_HAS_BEEN_BOUND','transformMutationsWithChangeset','USERS_LEAVE','_messageService','_getAnchorBounding','backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','getConfig','_drawTextRange','_univerInstanceService','OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','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','debug','onlineStatusIcon','textRanges','FETCH_MISS','UNDEFINED','onPointerMove$','hasOwnProperty','setAlpha','_injector','setShapeProps','CONFLICT','_getMergeRange','setStateCache','purple300','SYNCED','cursorInfo','AWAITING_WITH_PENDING','getViewport','idSuffix','measureText','contains','removeParam','Failed','NOT_COLLAB','_memberService','apply','_updateSubUnitFromURLParams','_range','sessionStatus$','_sheetSkeletonManagerService','substring','toString','_onCursorUpdate','FromArray','range','unload','_initStatusListener','_logService','SOCKET_FAILED_RETRY','APPLY_PERMISSION_DENIED','_online','_initDependencies','addEventListener','uni.network.url-service','getOwnPropertySymbols','_entityInit$','online','_session','DeleteRangeMoveLeftCommandId','onStarting','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','session.connection-failed','clearTimeout','0\x200\x2016\x2016','startsWith','_status$','selection','disableLocalCache','get','params','registerBeforeClose','_entities','saveTaskMap','LICENSE_DISTRO_REJECTED','_removeClearOtherTimer','getUnhiddenWorksheets','use','...','session.collaboration-timeout','pushState','669512YsNmgX','asObservable','getMemberID','InsertColCommandId','_toggleOnline','subscribe','_handleJoinEvent','defineProperty','verdancy600','SUBMIT_CHANGESET_TIMEOUT','unshift','path','code','_anchorDot','collab-text-anchor-','_cursorShapes','_transformHistoryAndStateStack'];_0x207e=function(){return _0xaf5065;};return _0x207e();}ce=fn([U(0x0,_0x4717f3(_0x469af6)),U(0x1,_0x4717f3(_0x3bd700)),U(0x2,_0x4717f3(re)),U(0x3,_0x4717f3(oe)),U(0x4,_0x4717f3(ae)),U(0x5,_0x4717f3(je)),U(0x6,_0xc0d35f),U(0x7,_0x4717f3(_0x32e24e))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x115c33,_0x3b732a,_0x134fe5,_0x5ae5d3)=>{const _0x13133f=_0x3d495f;for(var _0x41692c=_0x5ae5d3>0x1?void 0x0:_0x5ae5d3?Sn(_0x3b732a,_0x134fe5):_0x3b732a,_0x40df27=_0x115c33[_0x13133f(0x3a6)]-0x1,_0x4019aa;_0x40df27>=0x0;_0x40df27--)(_0x4019aa=_0x115c33[_0x40df27])&&(_0x41692c=_0x4019aa(_0x41692c)||_0x41692c);return _0x41692c;},be=(_0x3377c8,_0x3ba556)=>(_0x325ba0,_0x42ebcd)=>_0x3ba556(_0x325ba0,_0x42ebcd,_0x3377c8);let Ae=class extends _0x2bd763{constructor(_0x267665,_0x131687,_0x3edf4c){const _0x249e88=_0x3d495f;super(),_(this,_0x249e88(0x37f),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x249e88(0x35f),!0x1),(this[_0x249e88(0x1d2)]=_0x267665,this[_0x249e88(0x222)]=_0x131687,this[_0x249e88(0x385)]=_0x3edf4c);}[_0x3d495f(0x31e)](){const _0x3ab4b2=_0x3d495f;this[_0x3ab4b2(0x35f)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x5e0a9b=_0x3d495f;return this[_0x5e0a9b(0x3c7)];}['dispose'](){const _0x2fd749=_0x3d495f;this[_0x2fd749(0x3c5)]()[_0x2fd749(0x2a5)](()=>super[_0x2fd749(0x2b4)]());}async[_0x3d495f(0x399)](_0x29c01f){const _0x2597b1=_0x3d495f;return this[_0x2597b1(0x35f)]?null:this[_0x2597b1(0x222)]['getItem'](_0xfb044(_0x29c01f));}async[_0x3d495f(0x344)](_0x37d1e4,_0x2e6ca9){const _0x59048f=_0x3d495f;return!!this['_localStorageService'][_0x59048f(0x26d)](_0x37d1e4,_0x2e6ca9);}[_0x3d495f(0x354)](_0x1d31a8,_0x31d592,_0x4f3f47,_0x379b1c){const _0x21978e=_0x3d495f,_0x1662cd=this[_0x21978e(0x385)][_0x21978e(0x355)](_0x1d31a8);this[_0x21978e(0x37f)][_0x21978e(0x262)](_0x1d31a8,{'unitID':_0x1d31a8,'type':_0x31d592,'awaitingChangeset':_0x4f3f47,'mutations':_0x379b1c,'rev':_0x1662cd}),this[_0x21978e(0x3c7)][_0x21978e(0x3ab)](_0x1d31a8)||this[_0x21978e(0x263)](_0x1d31a8);}['_scheduleSaving'](_0x360c4f){const _0x3c4f3b=_0x3d495f,_0x20fbee=this[_0x3c4f3b(0x39b)]();_0x20fbee===0x0?this['_saveCache'](_0x360c4f):this[_0x3c4f3b(0x3c7)][_0x3c4f3b(0x262)](_0x360c4f,setTimeout(()=>this[_0x3c4f3b(0x2aa)](_0x360c4f),_0x20fbee));}[_0x3d495f(0x39b)](){const _0x50c4cd=_0x3d495f;var _0x5a19e3;return(_0x5a19e3=this[_0x50c4cd(0x1d2)][_0x50c4cd(0x2de)](_0x18680b))!=null?_0x5a19e3:_0x5260b6;}[_0x3d495f(0x2aa)](_0x57f73a){const _0xd057ba=_0x3d495f,_0x2b2620=this[_0xd057ba(0x3c7)]['get'](_0x57f73a);return _0x2b2620!==void 0x0&&window[_0xd057ba(0x319)](_0x2b2620),this['_localStorageService'][_0xd057ba(0x26d)](_0xfb044(_0x57f73a),this[_0xd057ba(0x37f)]['get'](_0x57f73a))['then'](()=>this[_0xd057ba(0x3c7)][_0xd057ba(0x1f6)](_0x57f73a));}async[_0x3d495f(0x3c5)](){const _0x29585f=_0x3d495f,_0x204a79=[];this[_0x29585f(0x3c7)][_0x29585f(0x281)]((_0x2ba191,_0x50854a)=>{const _0x21dc4c=_0x29585f;window[_0x21dc4c(0x319)](_0x2ba191),_0x204a79['push'](this['_saveCache'](_0x50854a)[_0x21dc4c(0x2a5)](()=>{this['_saveTaskMap']['delete'](_0x50854a);}));}),await Promise['all'](_0x204a79);}};Ae=mn([be(0x0,_0x19b0f2),be(0x1,_0x4f16c5),be(0x2,_0x4717f3(_0x1f3e90))],Ae);class gn extends _0x1c69ed{constructor(){const _0x1193e6=_0x3d495f;super(),_(this,_0x1193e6(0x209)),this[_0x1193e6(0x209)]=_0x43f52a(window,_0x1193e6(0x3c8))['pipe'](_0x57635b(this['dispose$']),_0xede5bd(0x1),_0x7a715b(void 0x0));}[_0x3d495f(0x28e)](_0x585ff2,_0x29c922,_0x52864e=!0x1){const _0xeea948=_0x3d495f,_0x3f1c70=new URL(window[_0xeea948(0x1ce)][_0xeea948(0x369)]);_0x3f1c70['searchParams'][_0xeea948(0x262)](_0x585ff2,_0x29c922),_0x52864e?window[_0xeea948(0x205)]['replaceState']('','',_0x3f1c70[_0xeea948(0x303)]()):window[_0xeea948(0x205)]['pushState']('','',_0x3f1c70[_0xeea948(0x303)]());}[_0x3d495f(0x2f9)](_0x1beda3,_0x244833=!0x1){const _0x32c577=_0x3d495f,_0x37fc03=new URL(window[_0x32c577(0x1ce)][_0x32c577(0x369)]);_0x37fc03['searchParams'][_0x32c577(0x1f6)](_0x1beda3),_0x244833?window[_0x32c577(0x205)][_0x32c577(0x1e6)]('','',_0x37fc03['toString']()):window[_0x32c577(0x205)][_0x32c577(0x32a)]('','',_0x37fc03['toString']());}[_0x3d495f(0x220)](_0x45135e){const _0x38ba03=_0x3d495f;var _0xec1af5;return(_0xec1af5=new URL(window[_0x38ba03(0x1ce)][_0x38ba03(0x369)])[_0x38ba03(0x290)][_0x38ba03(0x31f)](_0x45135e))!=null?_0xec1af5:void 0x0;}}var vn=Object[_0x3d495f(0x332)],In=Object[_0x3d495f(0x3da)],pn=(_0x20dea5,_0x4f6ab4,_0x158edb)=>_0x4f6ab4 in _0x20dea5?vn(_0x20dea5,_0x4f6ab4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x158edb}):_0x20dea5[_0x4f6ab4]=_0x158edb,Cn=(_0x1d17fc,_0x1146da,_0x4bfacf,_0x4a3b59)=>{const _0x2ff315=_0x3d495f;for(var _0x1c94ec=_0x4a3b59>0x1?void 0x0:_0x4a3b59?In(_0x1146da,_0x4bfacf):_0x1146da,_0x2de1a5=_0x1d17fc[_0x2ff315(0x3a6)]-0x1,_0x319cf5;_0x2de1a5>=0x0;_0x2de1a5--)(_0x319cf5=_0x1d17fc[_0x2de1a5])&&(_0x1c94ec=_0x319cf5(_0x1c94ec)||_0x1c94ec);return _0x1c94ec;},Oe=(_0x116b9a,_0x4dd782)=>(_0x388bf7,_0x860c9b)=>_0x4dd782(_0x388bf7,_0x860c9b,_0x116b9a),En=(_0x5a5b35,_0x62921b,_0x56f24b)=>pn(_0x5a5b35,_0x62921b+'',_0x56f24b);const bn=_0x3d495f(0x3a7);let ye=class extends _0x52db42{constructor(_0x382fee=st,_0x4fb9dd,_0x1a9466,_0x3ec43e){const _0x2648db=_0x3d495f;super(),this[_0x2648db(0x3be)]=_0x382fee,this['_renderManagerService']=_0x4fb9dd,this[_0x2648db(0x2ec)]=_0x1a9466,this[_0x2648db(0x1d2)]=_0x3ec43e;const {..._0x4e9333}=_0x23e7a9({},st,this['_config']);this['_configService'][_0x2648db(0x2ba)](nn,_0x4e9333);}[_0x3d495f(0x315)](){const _0x20a54c=_0x3d495f;this[_0x20a54c(0x363)](),this[_0x20a54c(0x30d)]();}['onRendered'](){const _0x1a267d=_0x3d495f;this[_0x1a267d(0x1e2)]();}[_0x3d495f(0x363)](){const _0x909c13=_0x3d495f;var _0x26d642;const _0x9946ea=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x8647d5,{'useClass':_0x2537ef}],[_0x38eb01,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4cae5a(this[_0x909c13(0x2ec)],_0x5d2efa(_0x9946ea,(_0x26d642=this[_0x909c13(0x3be)])==null?void 0x0:_0x26d642[_0x909c13(0x27e)]));}['_registerRenderDependencies'](){const _0x178eb2=_0x3d495f;this[_0x178eb2(0x275)](this[_0x178eb2(0x295)][_0x178eb2(0x379)](_0x4cbff4[_0x178eb2(0x273)],[we])),this[_0x178eb2(0x275)](this[_0x178eb2(0x295)]['registerRenderModule'](_0x4cbff4[_0x178eb2(0x391)],[Le]));}[_0x3d495f(0x30d)](){const _0x5eb412=_0x3d495f;_0x389040(this[_0x5eb412(0x2ec)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x3d495f(0x2bb),bn),ye=Cn([_0x50576f(_0x40245c),Oe(0x1,_0x1512c0),Oe(0x2,_0x4717f3(_0x277842)),Oe(0x3,_0x19b0f2)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x34bee1,_0x410257,_0x34cadb,_0x44e136)=>{const _0x8de0a6=_0x3d495f;for(var _0x2adbe2=_0x44e136>0x1?void 0x0:_0x44e136?On(_0x410257,_0x34cadb):_0x410257,_0x187af9=_0x34bee1[_0x8de0a6(0x3a6)]-0x1,_0x4ecd63;_0x187af9>=0x0;_0x187af9--)(_0x4ecd63=_0x34bee1[_0x187af9])&&(_0x2adbe2=_0x4ecd63(_0x2adbe2)||_0x2adbe2);return _0x2adbe2;},z=(_0x34dc88,_0x50b458)=>(_0x1bff26,_0x43d81a)=>_0x50b458(_0x1bff26,_0x43d81a,_0x34dc88);let nt=class extends _0x1d14cf{constructor(_0x3aab73,_0x590b74,_0x1ba2d3,_0x27b827,_0x55853b){super(_0x3aab73,_0x590b74,_0x1ba2d3,_0x27b827,_0x55853b);}async[_0x3d495f(0x3d2)](_0x42a4cd){const _0x5e3f85=_0x3d495f,_0x5259f5=await this[_0x5e3f85(0x2ae)](),_0x64847a=this[_0x5e3f85(0x216)](_0x42a4cd,_0x5259f5);return this[_0x5e3f85(0x286)](_0x64847a);}[_0x3d495f(0x216)](_0x3ce54b,_0x42e699){const _0x3f87be=_0x3d495f,_0x235a42=typeof window>'u'?new URL(_0x3ce54b):new URL(_0x3ce54b,window['location'][_0x3f87be(0x34d)]);_0x235a42[_0x3f87be(0x290)][_0x3f87be(0x262)](_0x3f87be(0x25e),_0x42e699);const _0xc5f84e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f87be(0x1ce)][_0x3f87be(0x20a)]);return _0xc5f84e['get']('runId')&&_0x235a42[_0x3f87be(0x290)]['set'](_0x3f87be(0x39e),_0xc5f84e['get'](_0x3f87be(0x39e))),_0x235a42['toString']();}async[_0x3d495f(0x2ae)](){const _0x34dee1=_0x3d495f;var _0x2ab39b,_0x138866,_0x5ddc84;const _0x15fc15=this['_configService'][_0x34dee1(0x2de)](_0x3b02ed),_0x235b2f=(_0x2ab39b=_0x15fc15==null?void 0x0:_0x15fc15[_0x34dee1(0x1d4)])!=null?_0x2ab39b:_0x25d808;return(_0x5ddc84=(_0x138866=(await this[_0x34dee1(0x3a9)][_0x34dee1(0x31f)](_0x235b2f,{'headers':{'Content-Type':'application/json'}}))[_0x34dee1(0x2cd)])==null?void 0x0:_0x138866[_0x34dee1(0x257)])!=null?_0x5ddc84:'';}};nt=Tn([z(0x0,_0x4717f3(_0x277842)),z(0x1,_0x4717f3(_0x22986c)),z(0x2,_0x19b0f2),z(0x3,_0x1d5b3c),z(0x4,_0x50fe31)],nt);const rt=0x7530,ot=_0x3d495f(0x212);class Gn extends _0x2bd763{constructor(){const _0x4886b1=_0x3d495f;super(),_(this,'_id',_0xacd06e()),_(this,_0x4886b1(0x29c),new Set()),_(this,_0x4886b1(0x294),new Map()),_(this,_0x4886b1(0x246),null),_(this,_0x4886b1(0x265),new Map()),_(this,_0x4886b1(0x393),new Map()),this['_init']();}[_0x3d495f(0x2b4)](){const _0xe54124=_0x3d495f;super[_0xe54124(0x2b4)](),this['_clearOtherTimers']['forEach']((_0x4a528d,_0x26ac6e)=>this[_0xe54124(0x325)](_0x26ac6e)),this['_heartbeatTimer']&&window[_0xe54124(0x231)](this[_0xe54124(0x246)]);}[_0x3d495f(0x3ca)](_0x1af44a){const _0x3f3352=_0x3d495f;return this['_ensureSubject'](_0x1af44a)[_0x3f3352(0x28d)](_0x50c3ed());}[_0x3d495f(0x35b)](_0x4f079e){const _0xaa29f4=_0x3d495f;this[_0xaa29f4(0x29c)][_0xaa29f4(0x345)]===0x0&&this[_0xaa29f4(0x2be)](),this[_0xaa29f4(0x29c)]['add'](_0x4f079e),this[_0xaa29f4(0x22b)]({'type':0x0,'memberID':this[_0xaa29f4(0x247)],'unitIDs':[_0x4f079e],'isForwarded':!0x1});}[_0x3d495f(0x1dc)](_0x247283){const _0x4ffe5b=_0x3d495f;this[_0x4ffe5b(0x29c)]['delete'](_0x247283),this['_selfUnitIDs'][_0x4ffe5b(0x345)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4ffe5b(0x246)]);}[_0x3d495f(0x293)](){const _0x5b0aa5=_0x3d495f;this[_0x5b0aa5(0x275)](_0x11b652(_0x43f52a(window,'storage')[_0x5b0aa5(0x330)](_0x135784=>{const _0x35644a=_0x5b0aa5;if(_0x135784[_0x35644a(0x284)]!==ot||!_0x135784[_0x35644a(0x1d6)])return;const _0x49e0be=JSON[_0x35644a(0x2c6)](_0x135784[_0x35644a(0x1d6)]);this[_0x35644a(0x243)](_0x49e0be);}))),window[_0x5b0aa5(0x30e)](_0x5b0aa5(0x307),()=>this[_0x5b0aa5(0x22b)]({'type':0x1,'memberID':this[_0x5b0aa5(0x247)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x3d495f(0x243)](_0x5f0b8c){const _0x1f9494=_0x3d495f;switch(_0x5f0b8c[_0x1f9494(0x204)]){case 0x0:this[_0x1f9494(0x331)](_0x5f0b8c);break;case 0x1:this[_0x1f9494(0x26a)](_0x5f0b8c);break;case 0x2:this['_handleHeartbeatEvent'](_0x5f0b8c);break;}}['_handleJoinEvent'](_0x120bd6){const _0x3db5be=_0x3d495f,{unitIDs:_0x1dc39c,memberID:_0x334c8f,isForwarded:_0x42f202}=_0x120bd6;_0x1dc39c[_0x3db5be(0x281)](_0x42cc45=>{const _0x2e9fb6=_0x3db5be;if(!_0x42f202&&this[_0x2e9fb6(0x294)]['has'](_0x42cc45)&&this['_ensureSubject'](_0x42cc45)[_0x2e9fb6(0x22c)](_0x99867e[_0x2e9fb6(0x2e1)]),!this[_0x2e9fb6(0x294)][_0x2e9fb6(0x3ab)](_0x42cc45)||!this['_unitOnClients'][_0x2e9fb6(0x31f)](_0x42cc45)['has'](_0x334c8f)){const _0x2dc22e=this[_0x2e9fb6(0x294)]['get'](_0x42cc45)||new Set();_0x2dc22e[_0x2e9fb6(0x340)](_0x334c8f),this[_0x2e9fb6(0x294)][_0x2e9fb6(0x262)](_0x42cc45,_0x2dc22e),this[_0x2e9fb6(0x34f)](_0x334c8f);}}),_0x42f202||this[_0x3db5be(0x22b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3db5be(0x29c)]],'isForwarded':!0x0});}[_0x3d495f(0x34f)](_0x2d478f){const _0x4b9a52=_0x3d495f;this[_0x4b9a52(0x325)](_0x2d478f);const _0x1c2265=window[_0x4b9a52(0x38d)](()=>{const _0x862288=_0x4b9a52;this[_0x862288(0x294)][_0x862288(0x281)](_0x3df993=>{const _0x316edc=_0x862288;_0x3df993[_0x316edc(0x1f6)](_0x2d478f);});},rt*0x2);this[_0x4b9a52(0x265)][_0x4b9a52(0x262)](_0x2d478f,_0x1c2265);}[_0x3d495f(0x325)](_0x27fd42){const _0x51b944=_0x3d495f;if(this[_0x51b944(0x265)][_0x51b944(0x3ab)](_0x27fd42)){const _0x3e74e7=this[_0x51b944(0x265)][_0x51b944(0x31f)](_0x27fd42);_0x3e74e7&&window[_0x51b944(0x319)](_0x3e74e7),this[_0x51b944(0x265)][_0x51b944(0x262)](_0x27fd42,null);}}[_0x3d495f(0x26a)](_0x4b2dc8){const _0x2e7e37=_0x3d495f,{memberID:_0x30a7dc,unitIDs:_0x2d73ec}=_0x4b2dc8;_0x2d73ec['forEach'](_0x20ed4d=>{const _0x1fee6a=_0x5750;var _0x3eacc3;const _0x349bf9=this[_0x1fee6a(0x294)][_0x1fee6a(0x31f)](_0x20ed4d);_0x349bf9&&(_0x349bf9[_0x1fee6a(0x1f6)](_0x30a7dc),(_0x3eacc3=this['_ensureSubject'](_0x20ed4d))==null||_0x3eacc3[_0x1fee6a(0x22c)](_0x349bf9[_0x1fee6a(0x345)]===0x0?_0x99867e[_0x1fee6a(0x268)]:_0x99867e[_0x1fee6a(0x2e1)]));}),this[_0x2e7e37(0x325)](_0x30a7dc);}['_handleHeartbeatEvent'](_0x440b97){const _0x5d35f2=_0x3d495f;this[_0x5d35f2(0x34f)](_0x440b97[_0x5d35f2(0x3d9)]);}[_0x3d495f(0x22b)](_0x5dead5){const _0x253df6=_0x3d495f;localStorage[_0x253df6(0x26d)](ot,JSON['stringify'](_0x5dead5));}[_0x3d495f(0x2be)](){const _0xb30264=_0x3d495f;this['_heartbeatTimer']=window[_0xb30264(0x1ee)](()=>{const _0x1be3d6=_0xb30264;this[_0x1be3d6(0x22b)]({'type':0x2,'memberID':this[_0x1be3d6(0x247)]});},rt);}[_0x3d495f(0x259)](_0x20a501){const _0x4c3671=_0x3d495f;return this[_0x4c3671(0x393)]['has'](_0x20a501)||this['_unitStatus'][_0x4c3671(0x262)](_0x20a501,new _0x6d4d17(_0x99867e['NO_OTHER_CLIENTS_EDITING'])),this[_0x4c3671(0x393)][_0x4c3671(0x31f)](_0x20a501);}}var wt=(_0x3a212b=>(_0x3a212b[_0x3a212b['UNDEFINED']=0x0]=_0x3d495f(0x2e8),_0x3a212b[_0x3a212b['OK']=0x1]='OK',_0x3a212b[_0x3a212b[_0x3d495f(0x1f7)]=0x2]='INTERNAL_ERROR',_0x3a212b[_0x3a212b['PERMISSION_DENIED']=0x3]=_0x3d495f(0x37a),_0x3a212b[_0x3a212b[_0x3d495f(0x3c9)]=0x4]='NOT_FOUND',_0x3a212b[_0x3a212b[_0x3d495f(0x215)]=0x5]=_0x3d495f(0x215),_0x3a212b[_0x3a212b['ALREADY_EXISTS']=0x6]=_0x3d495f(0x3a0),_0x3a212b[_0x3a212b[_0x3d495f(0x1f5)]=0x7]='INVALID_ARGUMENT',_0x3a212b[_0x3a212b['TOO_MANY_REQUESTS']=0x8]=_0x3d495f(0x3a8),_0x3a212b[_0x3a212b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3a212b[_0x3a212b[_0x3d495f(0x244)]=0xa]='LOGIN_FAILED',_0x3a212b[_0x3a212b[_0x3d495f(0x264)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3a212b[_0x3a212b[_0x3d495f(0x394)]=0x1771]=_0x3d495f(0x394),_0x3a212b[_0x3a212b[_0x3d495f(0x359)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a212b[_0x3a212b[_0x3d495f(0x3ac)]=0x1773]=_0x3d495f(0x3ac),_0x3a212b[_0x3a212b[_0x3d495f(0x210)]=0x1b59]=_0x3d495f(0x210),_0x3a212b[_0x3a212b[_0x3d495f(0x2dd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3a212b[_0x3a212b[_0x3d495f(0x1fc)]=0x1b5b]=_0x3d495f(0x1fc),_0x3a212b[_0x3a212b[_0x3d495f(0x30b)]=0x1b5c]=_0x3d495f(0x30b),_0x3a212b[_0x3a212b['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3a212b[_0x3a212b[_0x3d495f(0x316)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a212b[_0x3a212b[_0x3d495f(0x35d)]=0x2329]=_0x3d495f(0x35d),_0x3a212b[_0x3a212b[_0x3d495f(0x292)]=0x232a]=_0x3d495f(0x292),_0x3a212b[_0x3a212b[_0x3d495f(0x33f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3a212b[_0x3a212b[_0x3d495f(0x317)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3a212b[_0x3a212b[_0x3d495f(0x324)]=0x232d]=_0x3d495f(0x324),_0x3a212b[_0x3a212b[_0x3d495f(0x235)]=0x2711]=_0x3d495f(0x235),_0x3a212b[_0x3a212b[_0x3d495f(0x249)]=0x2712]=_0x3d495f(0x249),_0x3a212b[_0x3a212b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3d495f(0x213),_0x3a212b[_0x3a212b[_0x3d495f(0x3ba)]=0x2714]=_0x3d495f(0x3ba),_0x3a212b[_0x3a212b[_0x3d495f(0x2b8)]=0x271a]=_0x3d495f(0x2b8),_0x3a212b[_0x3a212b[_0x3d495f(0x2b6)]=0x271b]=_0x3d495f(0x2b6),_0x3a212b[_0x3a212b[_0x3d495f(0x39a)]=0x2af9]=_0x3d495f(0x39a),_0x3a212b[_0x3a212b[_0x3d495f(0x361)]=0x2ee1]=_0x3d495f(0x361),_0x3a212b[_0x3a212b['INVALID_INVITE_CODE']=0x2ee2]=_0x3d495f(0x35a),_0x3a212b[_0x3a212b[_0x3d495f(0x3bc)]=0x2ee3]=_0x3d495f(0x3bc),_0x3a212b[_0x3a212b[_0x3d495f(0x1eb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3a212b[_0x3a212b[_0x3d495f(0x1e1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3a212b[_0x3a212b[_0x3d495f(0x2a1)]=0x32c9]=_0x3d495f(0x2a1),_0x3a212b[_0x3a212b[_0x3d495f(0x1dd)]=0x32ca]=_0x3d495f(0x1dd),_0x3a212b[_0x3a212b[_0x3d495f(0x2d7)]=0x32cb]=_0x3d495f(0x2d7),_0x3a212b[_0x3a212b[_0x3d495f(0x232)]=-0x1]=_0x3d495f(0x232),_0x3a212b))(wt||{}),Rn=Object[_0x3d495f(0x3da)],Dn=(_0x4e5ab9,_0x992ce,_0x3f9399,_0x148c8a)=>{const _0x26f323=_0x3d495f;for(var _0x43193a=_0x148c8a>0x1?void 0x0:_0x148c8a?Rn(_0x992ce,_0x3f9399):_0x992ce,_0x40153d=_0x4e5ab9[_0x26f323(0x3a6)]-0x1,_0x5848e8;_0x40153d>=0x0;_0x40153d--)(_0x5848e8=_0x4e5ab9[_0x40153d])&&(_0x43193a=_0x5848e8(_0x43193a)||_0x43193a);return _0x43193a;},Te=(_0x5aaa3f,_0x1ad403)=>(_0x2c86e0,_0x5574da)=>_0x1ad403(_0x2c86e0,_0x5574da,_0x5aaa3f);let at=class extends _0x2bd763{constructor(_0x3333de,_0x20a2d7,_0x4a4a01){const _0x34dccd=_0x3d495f;super(),this[_0x34dccd(0x214)]=_0x3333de,this[_0x34dccd(0x3a9)]=_0x20a2d7,this[_0x34dccd(0x1d2)]=_0x4a4a01;}async[_0x3d495f(0x22f)](_0x26dd36,_0x110f22,_0x511383,..._0x1e86dc){const _0x504c77=_0x3d495f;var _0x56834b,_0x2f4a72,_0x55fb9d,_0x2d5d75;const _0x223c66=this[_0x504c77(0x214)][_0x504c77(0x297)]();if(!_0x223c66)throw new Error(_0x504c77(0x280));const _0x1282fe=((_0x56834b=this['_configService'][_0x504c77(0x2de)](_0x139bd4))!=null?_0x56834b:_0x4d1769)+'/'+_0x26dd36+_0x504c77(0x289)+_0x110f22,_0x38df3d=new URL(window[_0x504c77(0x1ce)][_0x504c77(0x369)]),_0x1ade98={'scriptId':_0x26dd36,'runId':(_0x2f4a72=_0x38df3d[_0x504c77(0x290)]['get'](_0x504c77(0x39e)))!=null?_0x2f4a72:'','function':_0x110f22,'unitId':_0x223c66[_0x504c77(0x26b)](),'argsOfFunction':JSON['stringify'](_0x1e86dc),'invokeId':(_0x55fb9d=_0x511383[_0x504c77(0x378)])!=null?_0x55fb9d:'','executionId':(_0x2d5d75=_0x511383[_0x504c77(0x2ca)])!=null?_0x2d5d75:''};try{const _0x3ab9a3=await this['_httpService'][_0x504c77(0x362)](_0x1282fe,{'body':_0x1ade98});return _0x3ab9a3['body']['error']&&_0x3ab9a3[_0x504c77(0x2cd)][_0x504c77(0x372)][_0x504c77(0x337)]!==wt['OK']?_0x504c77(0x2fa):_0x3ab9a3['body'][_0x504c77(0x1e3)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x81b094),Te(0x1,_0x4717f3(_0x22986c)),Te(0x2,_0x19b0f2)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x41d137=_0x17bd;(function(_0x3e630c,_0xe7b503){const _0x1a9f2f=_0x17bd,_0x5864b8=_0x3e630c();while(!![]){try{const _0x3fd893=-parseInt(_0x1a9f2f(0x238))/0x1+-parseInt(_0x1a9f2f(0x2a0))/0x2+parseInt(_0x1a9f2f(0x37a))/0x3*(-parseInt(_0x1a9f2f(0x20a))/0x4)+-parseInt(_0x1a9f2f(0x293))/0x5+-parseInt(_0x1a9f2f(0x2ba))/0x6*(-parseInt(_0x1a9f2f(0x2c6))/0x7)+-parseInt(_0x1a9f2f(0x19e))/0x8*(-parseInt(_0x1a9f2f(0x2f3))/0x9)+-parseInt(_0x1a9f2f(0x1f5))/0xa*(-parseInt(_0x1a9f2f(0x2c4))/0xb);if(_0x3fd893===_0xe7b503)break;else _0x5864b8['push'](_0x5864b8['shift']());}catch(_0x20a5f7){_0x5864b8['push'](_0x5864b8['shift']());}}}(_0x8cbe,0x1d283));var Bt=Object[_0x41d137(0x32d)],kt=(_0x2c4281,_0x444f73,_0x46015b)=>_0x444f73 in _0x2c4281?Bt(_0x2c4281,_0x444f73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46015b}):_0x2c4281[_0x444f73]=_0x46015b,_=(_0x103980,_0x5ec7cc,_0xe9c62b)=>kt(_0x103980,typeof _0x5ec7cc!='symbol'?_0x5ec7cc+'':_0x5ec7cc,_0xe9c62b);import{MemberService as _0x1ba5eb,SessionStatus as _0x5c4b59,CollaborationSessionService as _0x2c138c,CollaborationStatus as _0x42d234,CollaborationController as _0x1aa3d4,ILocalCacheService as _0x5e070b,CollaborationUIEventService as _0x29ba97,CollaborationUIEventId as _0x29c40c,DataLoaderService as _0x339712,DocCollaborationEntity as _0x24f9ff,getLocalCacheKey as _0x2d2e1f,LOCAL_CACHE_INTERVAL as _0x3e037a,LOCAL_CACHE_INTERVAL_KEY as _0x2cb466,UniverCollaborationClientPlugin as _0x25e069,CollaborationSocketService as _0x452d1f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3f8e87,DEFAULT_WS_SESSION_TICKET_URL as _0x3a7a3c,UnitStatus as _0x4774b6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x8bb861,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3dd5a0}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3ef275,Disposable as _0x198e47,DOC_RANGE_TYPE as _0x5f41a0,Inject as _0x3a1974,Injector as _0x1f6b0d,IUniverInstanceService as _0x24a29d,ICommandService as _0x3396f3,debounce as _0x2f7b2f,Rectangle as _0x10a00a,DisposableCollection as _0x23aece,toDisposable as _0x20ad76,UniverInstanceType as _0x117ba1,Tools as _0x5d774a,COLORS as _0x29a475,ColorKit as _0x503f62,ThemeService as _0x4fd64a,fromEventSubject as _0x34e3a2,LocaleService as _0x45b110,createIdentifier as _0x2d8bec,ILogService as _0x2b7ba4,Optional as _0x12e768,Workbook as _0x3d6ddc,CommandType as _0x1581fb,IConfigService as _0x112c91,ILocalStorageService as _0xe5ed7a,DependentOn as _0x3d2610,Plugin as _0x3699cf,merge as _0x585368,registerDependencies as _0x5f03e4,mergeOverrideWithDependencies as _0x3a2b91,touchDependencies as _0x482089,generateRandomId as _0x3377e7}from'@univerjs/core';import{Shape as _0x41fd04,Rect as _0x3a5db9,getColor as _0x52b25d,RegularPolygon as _0x44dd2b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1b44d7,Vector2 as _0x43e449,SHEET_VIEWPORT_KEY as _0x4d5ce0,IRenderManagerService as _0xbd89a5}from'@univerjs/engine-render';import{ISocketService as _0x3dc321,WebSocketService as _0x368449,HTTPService as _0xeb991}from'@univerjs/network';import{IDocClipboardService as _0x43ae9d,NodePositionConvertToCursor as _0x516cc8,NodePositionConvertToRectRange as _0x50c7f1,TEXT_RANGE_LAYER_INDEX as _0x2f18e3,SetDocZoomRatioOperation as _0x36b69f,DocIMEInputManagerService as _0x5cabfc,DocStateChangeManagerService as _0x181732}from'@univerjs/docs-ui';import{IImageIoService as _0xf9fde}from'@univerjs/drawing';import{BehaviorSubject as _0x58f5ef,debounceTime as _0x4ad4ea,takeUntil as _0x40a759,Subject as _0x79defd,filter as _0x26d390,switchMap as _0x26c63c,merge as _0x2a129b,combineLatest as _0xa8e622,of as _0xc70046,fromEvent as _0x449daf,shareReplay as _0x4b4586,mapTo as _0x25fe52,distinctUntilChanged as _0x1c12e6}from'rxjs';import{SetTextSelectionsOperation as _0x5a389f,RichTextEditingMutation as _0x5c9e02,DocSelectionManagerService as _0x48a050,DocSkeletonManagerService as _0x160e87}from'@univerjs/docs';import{ITransformService as _0x37cdab,CollaborationEvent as _0x5a037b,isTransformMutationFailure as _0x21e20a,isTransformMutationsWithChangesetSuccess as _0x212c4a,RevisionService as _0x11cfdb,ISnapshotServerService as _0x1c8368}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x50849f,serializeRangeWithSheet as _0x188133}from'@univerjs/engine-formula';import{RefRangeService as _0x3f099b,SetSelectionsOperation as _0x378006,SheetsSelectionsService as _0x209b34,EffectRefRangId as _0x21f9f9,handleIRemoveRow as _0xb44a06,handleIRemoveCol as _0x1ce9f3,handleMoveRange as _0x2322cb,handleInsertRow as _0x1c4a7,handleInsertRangeMoveRight as _0x40c794,handleInsertRangeMoveDown as _0x580c1c,handleInsertCol as _0x5ed2a2,handleDeleteRangeMoveUp as _0x72304c,handleDeleteRangeMoveLeft as _0x5e3799,runRefRangeMutations as _0x34dfb0,SetWorksheetActivateCommand as _0x1ac356}from'@univerjs/sheets';import{map as _0x93a7f6,filter as _0x360d68,throttleTime as _0x50588c,takeUntil as _0xe85748,switchMap as _0xcb980e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2b1a22,getCoordByCell as _0x102fed,getSheetObject as _0x17327e}from'@univerjs/sheets-ui';import{jsx as _0xcf01a5,jsxs as _0x1ffe02}from'react/jsx-runtime';import{useObservable as _0x1c038a,useDependency as _0x2e7c5a,IUIPartsService as _0xeb5280,BuiltInUIPart as _0x2a2f76,connectInjector as _0x265879,IBeforeCloseService as _0x1132d1,IMessageService as _0x318612,INotificationService as _0x32cd36}from'@univerjs/ui';import{clsx as _0x30288c,Tooltip as _0x541a46,MessageType as _0x9c3522}from'@univerjs/design';import{forwardRef as _0x5c3141,useRef as _0x121b2b,createElement as _0x199889,useCallback as _0x1b67b7}from'react';import{IRemoteInstanceService as _0x2c8359}from'@univerjs/rpc';var li=Object[_0x41d137(0x1a0)],_i=(_0x44009c,_0x51a25b,_0xbfa7d3,_0x221511)=>{for(var _0x5256bd=_0x221511>0x1?void 0x0:_0x221511?li(_0x51a25b,_0xbfa7d3):_0x51a25b,_0x5f3a1b=_0x44009c['length']-0x1,_0x39fc31;_0x5f3a1b>=0x0;_0x5f3a1b--)(_0x39fc31=_0x44009c[_0x5f3a1b])&&(_0x5256bd=_0x39fc31(_0x5256bd)||_0x5256bd);return _0x5256bd;},Qe=(_0x56c663,_0x43f78a)=>(_0x25ed71,_0x89f3ea)=>_0x43f78a(_0x25ed71,_0x89f3ea,_0x56c663);let Ue=class extends _0x3ef275{constructor(_0x1d556d,_0x102680){super(),this['_docClipboardService']=_0x1d556d,this['_imageIoService']=_0x102680,this['_init']();}[_0x41d137(0x243)](){const _0x2037f0=_0x41d137,_0xc9e86e=this;this['disposeWithMe'](this['_docClipboardService'][_0x2037f0(0x225)]({'onBeforePasteImage':async _0x12cb86=>{const _0x3a89cd=_0x2037f0,_0x326770=await _0xc9e86e[_0x3a89cd(0x340)]['saveImage'](_0x12cb86);return _0x326770?{'source':_0x326770[_0x3a89cd(0x2d8)],'imageSourceType':_0x326770[_0x3a89cd(0x282)]}:null;}}));}};Ue=_i([Qe(0x0,_0x43ae9d),Qe(0x1,_0xf9fde)],Ue);const qe=[_0x41d137(0x372),_0x41d137(0x235),_0x41d137(0x22e),'red300',_0x41d137(0x196),_0x41d137(0x2c0)];class He extends _0x198e47{constructor(){const _0x481dad=_0x41d137;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x481dad(0x1c5),0x0);}[_0x41d137(0x1d3)](_0xc3a2ec){const _0x3d127b=_0x41d137;if(this[_0x3d127b(0x272)][_0x3d127b(0x25c)](_0xc3a2ec))return this['_assignedColors']['get'](_0xc3a2ec);const _0x310707=qe[this['_colorIndex']];return this[_0x3d127b(0x1c5)]=(this['_colorIndex']+0x1)%qe['length'],this[_0x3d127b(0x272)][_0x3d127b(0x228)](_0xc3a2ec,_0x310707),_0x310707;}}function Dt(_0x1c1a1a){const _0xbf3e7c=_0x41d137;let _0x169a57='';for(const _0x380052 of _0x1c1a1a){const {startOffset:_0x187591,endOffset:_0x8523f8,isActive:_0x2494d9,rangeType:_0x5257cb,segmentId:_0x2e5986,segmentPage:_0x38d3eb}=_0x380052;_0x169a57[_0xbf3e7c(0x36f)]&&(_0x169a57+=','),_0x169a57+=_0x187591+':'+_0x8523f8+':'+(_0x2494d9?'1':'0')+':'+_0x5257cb+':'+_0x2e5986+':'+_0x38d3eb;}return _0x169a57;}function hi(_0x419331){const _0x8c3854=_0x41d137,_0x211e0d=_0x419331[_0x8c3854(0x1f7)](','),_0x2fb422=[];for(const _0x3f2339 of _0x211e0d){const [_0xeb7777,_0x4edfa0,_0x15f443,_0x1550b7,_0x24bb41,_0x227b34]=_0x3f2339['split'](':');_0x2fb422[_0x8c3854(0x198)]({'startOffset':Number(_0xeb7777),'endOffset':Number(_0x4edfa0),'collapsed':_0xeb7777===_0x4edfa0,'isActive':_0x15f443==='1','rangeType':_0x1550b7===_0x5f41a0['TEXT']?_0x5f41a0[_0x8c3854(0x21c)]:_0x5f41a0[_0x8c3854(0x2f9)],'segmentId':typeof _0x24bb41==_0x8c3854(0x25e)?String(_0x24bb41):'','segmentPage':Number(_0x227b34!=null?_0x227b34:-0x1)});}return _0x2fb422[_0x8c3854(0x2fc)](_0x3d9748=>_0x3d9748[_0x8c3854(0x223)])||(_0x2fb422[0x0]['isActive']=!0x0),_0x2fb422;}class je extends _0x3ef275{constructor(){const _0x46d9a1=_0x41d137;super(...arguments),_(this,_0x46d9a1(0x21e),new _0x58f5ef(null)),_(this,_0x46d9a1(0x374),this[_0x46d9a1(0x21e)]['asObservable']());}['syncEditingCollabCursor'](_0x56997f){const _0x1a6644=_0x41d137,{unitID:_0x1eaf89,memberID:_0x191363,textRanges:_0x1fbc4d}=_0x56997f,_0x4a0437=Dt(_0x1fbc4d);if(_0x4a0437==='')return;const _0x432450={'unitID':_0x1eaf89,'memberID':_0x191363,'selection':_0x4a0437};this[_0x1a6644(0x21e)]['next'](_0x432450);}}var ui=Object[_0x41d137(0x1a0)],di=(_0x5bf645,_0x2d775a,_0x188c18,_0x19ecf2)=>{const _0x97cea9=_0x41d137;for(var _0x4166c7=_0x19ecf2>0x1?void 0x0:_0x19ecf2?ui(_0x2d775a,_0x188c18):_0x2d775a,_0x248780=_0x5bf645[_0x97cea9(0x36f)]-0x1,_0xd440d;_0x248780>=0x0;_0x248780--)(_0xd440d=_0x5bf645[_0x248780])&&(_0x4166c7=_0xd440d(_0x4166c7)||_0x4166c7);return _0x4166c7;},w=(_0x37907e,_0x6462f)=>(_0x2f8263,_0x5e0058)=>_0x6462f(_0x2f8263,_0x5e0058,_0x37907e);const fi=0x12c,Si=0x64;let Me=class extends _0x3ef275{constructor(_0x3a2136,_0x5c78dd,_0x8cb2fa,_0x282c6c,_0xebac85,_0x495397,_0x2a3698,_0xbcf82e,_0x180d5b){const _0x5b4564=_0x41d137;super(),_(this,_0x5b4564(0x1ff),!0x1),_(this,_0x5b4564(0x243),!0x1),_(this,_0x5b4564(0x2e2),new _0x58f5ef(new Map())),_(this,_0x5b4564(0x344),this[_0x5b4564(0x2e2)][_0x5b4564(0x1b4)]()),_(this,'_roomMembers$',new _0x58f5ef([])),_(this,_0x5b4564(0x291),this[_0x5b4564(0x25f)][_0x5b4564(0x1b8)](_0x4ad4ea(fi))),_(this,'_updateLocalCursor',_0x2f7b2f(_0x4af915=>{const _0xf66d5e=_0x5b4564,_0x26c18e={'eventID':_0x5a037b[_0xf66d5e(0x342)],'data':{'unitID':this[_0xf66d5e(0x262)],'memberID':this[_0xf66d5e(0x378)][_0xf66d5e(0x36b)](),'selection':Dt(_0x4af915)}};this[_0xf66d5e(0x378)][_0xf66d5e(0x1a4)](_0x26c18e,this[_0xf66d5e(0x262)]);},Si)),(this[_0x5b4564(0x262)]=_0x3a2136,this[_0x5b4564(0x378)]=_0x5c78dd,this[_0x5b4564(0x20c)]=_0x8cb2fa,this['_colorAssignService']=_0x282c6c,this[_0x5b4564(0x250)]=_0xebac85,this['_syncEditingCollabCursorService']=_0x495397,this['_transformService']=_0x2a3698,this[_0x5b4564(0x2ef)]=_0xbcf82e,this[_0x5b4564(0x380)]=_0x180d5b);}get[_0x41d137(0x1e4)](){const _0x337682=_0x41d137;return this['_cursorInfo$'][_0x337682(0x335)]();}get[_0x41d137(0x2b8)](){const _0x19cf49=_0x41d137;return this[_0x19cf49(0x25f)][_0x19cf49(0x335)]();}[_0x41d137(0x208)](){const _0x2b17df=_0x41d137;super[_0x2b17df(0x208)](),this['_cursorInfo$'][_0x2b17df(0x348)](new Map()),this['_cursorInfo$'][_0x2b17df(0x341)](),this[_0x2b17df(0x25f)][_0x2b17df(0x348)]([]),this[_0x2b17df(0x25f)][_0x2b17df(0x341)]();}[_0x41d137(0x31a)](){const _0x2d970a=_0x41d137;this[_0x2d970a(0x243)]||(this[_0x2d970a(0x243)]=!0x0,this['_session']['sessionStatus$'][_0x2d970a(0x1b8)](_0x40a759(this[_0x2d970a(0x1a1)]))['subscribe'](_0x491008=>{const _0x2c6581=_0x2d970a;_0x491008===_0x5c4b59['ONLINE']?this[_0x2c6581(0x242)]():this['_toggleOffline']();}),this[_0x2d970a(0x378)]['event$'][_0x2d970a(0x1b8)](_0x40a759(this[_0x2d970a(0x1a1)]))[_0x2d970a(0x255)](_0x47a8e0=>{const _0x32bec1=_0x2d970a,_0x23fa07=_0x47a8e0[_0x32bec1(0x38b)];_0x23fa07===_0x5a037b['UPDATE_CURSOR']&&this[_0x32bec1(0x309)](_0x47a8e0),_0x23fa07===_0x5a037b[_0x32bec1(0x1fa)]&&this[_0x32bec1(0x217)](_0x47a8e0);}),this['disposeWithMe'](this['_commandService'][_0x2d970a(0x22d)](_0x4d8559=>{const _0x5cad0b=_0x2d970a,_0x26d0a4=_0x4d8559['params'];_0x26d0a4!=null&&this[_0x5cad0b(0x1ff)]&&_0x4d8559['id']===_0x5a389f['id']&&_0x26d0a4[_0x5cad0b(0x1ec)]===this[_0x5cad0b(0x262)]&&_0x26d0a4[_0x5cad0b(0x215)]===!0x1&&_0x26d0a4[_0x5cad0b(0x2dc)][_0x5cad0b(0x36f)]>0x0&&this[_0x5cad0b(0x381)](_0x26d0a4[_0x5cad0b(0x2dc)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2d970a(0x1b8)](_0x40a759(this['dispose$']))[_0x2d970a(0x255)](_0x132990=>{const _0x596d64=_0x2d970a;if((_0x132990==null?void 0x0:_0x132990['unitID'])!==this[_0x596d64(0x262)])return;const _0x27cb90={'eventID':_0x5a037b[_0x596d64(0x342)],'data':_0x132990};this[_0x596d64(0x309)](_0x27cb90);}),this[_0x2d970a(0x1c6)](this['_commandService'][_0x2d970a(0x22d)](_0x5b0eaf=>{const _0x8eb93f=_0x2d970a;if(_0x5b0eaf[_0x8eb93f(0x244)]==null)return;const _0x577255=_0x5b0eaf[_0x8eb93f(0x244)];if(_0x5b0eaf['id']!==_0x5c9e02['id']||_0x577255['unitId']!==this[_0x8eb93f(0x262)])return;const _0xef723a={'id':'doc.mutation.rich-text-editing','params':_0x577255},_0x59641e=this[_0x8eb93f(0x1e4)];for(const [_0x129c88,_0x25feb5]of _0x59641e){const _0xf2f535={'id':_0x8eb93f(0x336),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x25feb5[_0x8eb93f(0x2dc)]}},_0x3b534e=this[_0x8eb93f(0x34b)][_0x8eb93f(0x300)](_0xef723a,_0xf2f535,!0x1);if(_0x21e20a(_0x3b534e))throw _0x3b534e[_0x8eb93f(0x36c)];_0x59641e['set'](_0x129c88,{..._0x25feb5,'ranges':_0x3b534e[_0x8eb93f(0x232)][_0x8eb93f(0x244)][_0x8eb93f(0x1cd)]});}queueMicrotask(()=>{const _0x51e6dc=_0x8eb93f;this[_0x51e6dc(0x2e2)][_0x51e6dc(0x348)](_0x59641e);});})));}[_0x41d137(0x309)](_0x135e0f){const _0x14b51b=_0x41d137;var _0x2c2279,_0x347a13;const {memberID:_0x3a7ac9,selection:_0xc25a79}=_0x135e0f[_0x14b51b(0x2ae)],_0x27e687=hi(_0xc25a79),_0x7f4cf5=(_0x347a13=(_0x2c2279=this[_0x14b51b(0x250)]['getMember'](this[_0x14b51b(0x262)],_0x3a7ac9))==null?void 0x0:_0x2c2279[_0x14b51b(0x2f1)])!=null?_0x347a13:_0x14b51b(0x2ad),_0x3a7e7d={'color':this[_0x14b51b(0x1cc)][_0x14b51b(0x1d3)](_0x3a7ac9),'name':_0x7f4cf5,'ranges':_0x27e687},_0x214aee=this[_0x14b51b(0x1e4)];_0x214aee[_0x14b51b(0x228)](_0x3a7ac9,_0x3a7e7d),this[_0x14b51b(0x2e2)][_0x14b51b(0x348)](_0x214aee);}[_0x41d137(0x217)](_0x1c6c9a){const _0x4c83c3=_0x41d137,{memberID:_0x5c2d5c}=_0x1c6c9a['data'],_0x2b39e7=this['cursorInfo'];_0x2b39e7[_0x4c83c3(0x2b4)](_0x5c2d5c),this[_0x4c83c3(0x2e2)][_0x4c83c3(0x348)](_0x2b39e7);}[_0x41d137(0x242)](){const _0x2da64d=_0x41d137;var _0x25c041;if(this[_0x2da64d(0x1ff)]=!0x0,((_0x25c041=this[_0x2da64d(0x2ef)][_0x2da64d(0x1b1)]())==null?void 0x0:_0x25c041[_0x2da64d(0x218)]())!==this['unitID'])return;const _0x45b0db=this[_0x2da64d(0x20c)][_0x2da64d(0x1de)](_0x48a050)[_0x2da64d(0x1a8)]();Array[_0x2da64d(0x1e0)](_0x45b0db)&&_0x45b0db[_0x2da64d(0x36f)]>0x0&&this[_0x2da64d(0x381)](_0x45b0db);}[_0x41d137(0x1c9)](){const _0x4287fd=_0x41d137;this[_0x4287fd(0x1ff)]=!0x1;}};Me=di([w(0x2,_0x3a1974(_0x1f6b0d)),w(0x3,_0x3a1974(He)),w(0x4,_0x3a1974(_0x1ba5eb)),w(0x5,_0x3a1974(je)),w(0x6,_0x37cdab),w(0x7,_0x24a29d),w(0x8,_0x3396f3)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x3907b1,_0x4810ae,_0x5da67c,_0x52fa72)=>{const _0x516ee2=_0x41d137;for(var _0x4663ac=_0x52fa72>0x1?void 0x0:_0x52fa72?mi(_0x4810ae,_0x5da67c):_0x4810ae,_0x38cea3=_0x3907b1[_0x516ee2(0x36f)]-0x1,_0x390c0c;_0x38cea3>=0x0;_0x38cea3--)(_0x390c0c=_0x3907b1[_0x38cea3])&&(_0x4663ac=_0x390c0c(_0x4663ac)||_0x4663ac);return _0x4663ac;},x=(_0x22a373,_0x1533c8)=>(_0x13163e,_0x3f2504)=>_0x1533c8(_0x13163e,_0x3f2504,_0x22a373);const vi=0x12c,Ii=0x64,pi=()=>{let _0x35b014=[],_0x2214cd=!0x1;return _0x33e466=>{const _0x140d87=_0x17bd;_0x35b014[_0x140d87(0x198)](_0x33e466),_0x2214cd||(_0x2214cd=!0x0,setTimeout(()=>{_0x35b014['forEach'](_0x20f61c=>_0x20f61c()),_0x35b014=[],_0x2214cd=!0x1;}));};};let Pe=class extends _0x3ef275{constructor(_0x421393,_0x2f7425,_0x2d7b47,_0x87c766,_0x5e9a81,_0x3b9898,_0x4a7f98,_0x410655){const _0x140471=_0x41d137;super(),_(this,_0x140471(0x1ff),!0x1),_(this,_0x140471(0x243),!0x1),_(this,_0x140471(0x2e2),new _0x58f5ef(new Map())),_(this,'cursorInfo$',this[_0x140471(0x2e2)][_0x140471(0x1b4)]()),_(this,_0x140471(0x25f),new _0x58f5ef([])),_(this,_0x140471(0x291),this[_0x140471(0x25f)][_0x140471(0x1b8)](_0x4ad4ea(vi))),_(this,_0x140471(0x381),_0x2f7b2f((_0x2f193d,_0x1d8313)=>{const _0x30a487=_0x140471,_0x47015e={'eventID':_0x5a037b['UPDATE_CURSOR'],'data':{'unitID':this[_0x30a487(0x262)],'memberID':this[_0x30a487(0x378)]['getMemberID'](),'selection':_0x188133(_0x2f193d,_0x1d8313['range'])}};this[_0x30a487(0x378)][_0x30a487(0x1a4)](_0x47015e,this[_0x30a487(0x262)]);},Ii)),(this['unitID']=_0x421393,this[_0x140471(0x378)]=_0x2f7425,this[_0x140471(0x20c)]=_0x2d7b47,this['_colorAssignService']=_0x87c766,this[_0x140471(0x250)]=_0x5e9a81,this[_0x140471(0x2ef)]=_0x3b9898,this[_0x140471(0x380)]=_0x4a7f98,this[_0x140471(0x1a2)]=_0x410655);}get[_0x41d137(0x1e4)](){const _0x2c8e25=_0x41d137;return this[_0x2c8e25(0x2e2)][_0x2c8e25(0x335)]();}get[_0x41d137(0x2b8)](){const _0xa1514=_0x41d137;return this['_roomMembers$'][_0xa1514(0x335)]();}[_0x41d137(0x208)](){const _0x4f4adb=_0x41d137;super[_0x4f4adb(0x208)](),this[_0x4f4adb(0x2e2)][_0x4f4adb(0x348)](new Map()),this[_0x4f4adb(0x2e2)]['complete'](),this[_0x4f4adb(0x25f)][_0x4f4adb(0x348)]([]),this[_0x4f4adb(0x25f)]['complete']();}['init'](){const _0x39ab04=_0x41d137;this['_init']||(this[_0x39ab04(0x243)]=!0x0,this['_session'][_0x39ab04(0x307)]['pipe'](_0x40a759(this['dispose$']))['subscribe'](_0x2f51f9=>{const _0x151dfc=_0x39ab04;_0x2f51f9===_0x5c4b59['ONLINE']?this[_0x151dfc(0x242)]():this[_0x151dfc(0x1c9)]();}),this[_0x39ab04(0x378)][_0x39ab04(0x33c)][_0x39ab04(0x1b8)](_0x40a759(this['dispose$']))[_0x39ab04(0x255)](_0x5f3c5b=>{const _0x17068c=_0x39ab04,_0x3e3ef4=_0x5f3c5b[_0x17068c(0x38b)];_0x3e3ef4===_0x5a037b['UPDATE_CURSOR']&&this[_0x17068c(0x309)](_0x5f3c5b),_0x3e3ef4===_0x5a037b[_0x17068c(0x1fa)]&&this[_0x17068c(0x217)](_0x5f3c5b);}),this[_0x39ab04(0x24c)](),this[_0x39ab04(0x1c6)](this[_0x39ab04(0x380)][_0x39ab04(0x22d)](_0x59a787=>{const _0x3b8e73=_0x39ab04;if(this[_0x3b8e73(0x1ff)]&&_0x59a787['id']===_0x378006['id']&&_0x59a787[_0x3b8e73(0x244)][_0x3b8e73(0x1ec)]===this[_0x3b8e73(0x262)]){const _0xe05038=_0x59a787[_0x3b8e73(0x244)];this[_0x3b8e73(0x381)](_0xe05038['subUnitId'],_0xe05038[_0x3b8e73(0x2a4)][0x0]);}})));}[_0x41d137(0x309)](_0x56d6dc){const _0x3537e4=_0x41d137;var _0x1f7f7b,_0x515799;const {memberID:_0x1983d2,selection:_0x15c0a7}=_0x56d6dc[_0x3537e4(0x2ae)],{sheetName:_0x1dd9fe,range:_0x3bc431}=_0x50849f(_0x15c0a7),_0x4e4a2f={'name':(_0x515799=(_0x1f7f7b=this[_0x3537e4(0x250)]['getMember'](this['unitID'],_0x1983d2))==null?void 0x0:_0x1f7f7b[_0x3537e4(0x2f1)])!=null?_0x515799:_0x3537e4(0x2ad),'range':this[_0x3537e4(0x20d)](_0x1dd9fe,_0x3bc431),'sheetID':_0x1dd9fe,'color':this[_0x3537e4(0x1cc)][_0x3537e4(0x1d3)](_0x1983d2),'selection':_0x15c0a7},_0x172d4c=this[_0x3537e4(0x1e4)];_0x172d4c[_0x3537e4(0x228)](_0x1983d2,_0x4e4a2f),this[_0x3537e4(0x2e2)][_0x3537e4(0x348)](_0x172d4c);}[_0x41d137(0x217)](_0x10b4c5){const _0x51c4d9=_0x41d137,{memberID:_0x3e3789}=_0x10b4c5['data'],_0x628db6=this[_0x51c4d9(0x1e4)];_0x628db6['delete'](_0x3e3789),this[_0x51c4d9(0x2e2)]['next'](_0x628db6);}[_0x41d137(0x20d)](_0x22a00a,_0x25828d){const _0x510eb7=_0x41d137;var _0x28ef8d,_0x342625;const _0x290752=(_0x342625=(_0x28ef8d=this[_0x510eb7(0x2ef)][_0x510eb7(0x1da)](this[_0x510eb7(0x262)]))==null?void 0x0:_0x28ef8d[_0x510eb7(0x207)](_0x22a00a))==null?void 0x0:_0x342625['getMergeData']();return(_0x290752==null?void 0x0:_0x290752[_0x510eb7(0x317)](_0xd409ba=>_0x10a00a[_0x510eb7(0x203)](_0xd409ba,_0x25828d)))||_0x25828d;}['_onRefRangeChange'](){const _0x25e72e=_0x41d137,_0x5cb6a0=new _0x23aece(),_0x585401=pi(),_0x3c1743=()=>{_0x5cb6a0['dispose']();const _0x8b8ba4=(_0x98c8e4,_0x18e443,_0x1bce45,_0x329c9e)=>{const _0x12ea48=_0x17bd;let _0x588809=[];switch(_0x98c8e4['id']){case _0x21f9f9['DeleteRangeMoveLeftCommandId']:{_0x588809=_0x5e3799(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2bf)]:{_0x588809=_0x72304c(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x1bb)]:{_0x588809=_0x5ed2a2(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x22f)]:{_0x588809=_0x580c1c(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x276)]:{_0x588809=_0x40c794(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2e0)]:{_0x588809=_0x1c4a7(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x367)]:{_0x588809=_0x2322cb(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2be)]:{_0x588809=_0x1ce9f3(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x28d)]:{_0x588809=_0xb44a06(_0x98c8e4,_0x329c9e);break;}}const _0x139037=_0x34dfb0(_0x588809,_0x329c9e),_0xd372fb=this['cursorInfo'][_0x12ea48(0x1de)](_0x18e443);if(_0xd372fb&&_0x139037){const _0x2f2ae4={..._0xd372fb,'range':_0x139037};this[_0x12ea48(0x1e4)][_0x12ea48(0x228)](_0x18e443,_0x2f2ae4),_0x585401(()=>{const _0x4e46cb=_0x12ea48,_0x1d23aa=this[_0x4e46cb(0x1a2)][_0x4e46cb(0x226)](_0x139037,_0x3986c9=>(_0x1d23aa[_0x4e46cb(0x208)](),_0x8b8ba4(_0x3986c9,_0x18e443,_0x1bce45,_0x139037)));_0x5cb6a0[_0x4e46cb(0x237)](_0x1d23aa);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1f42d0,_0xedf8df)=>{const _0xaaef1a=_0x17bd,{range:_0x21b79f,sheetID:_0x43b5d3}=_0x1f42d0,_0x4bfa80=this[_0xaaef1a(0x1a2)]['registerRefRange'](_0x21b79f,_0x3e9c82=>(_0x4bfa80['dispose'](),_0x8b8ba4(_0x3e9c82,_0xedf8df,_0x43b5d3,_0x21b79f)));_0x5cb6a0[_0xaaef1a(0x237)](_0x4bfa80);});};this[_0x25e72e(0x1c6)](_0x20ad76(this[_0x25e72e(0x2e2)][_0x25e72e(0x255)](()=>{_0x3c1743();})));}[_0x41d137(0x242)](){const _0x294baf=_0x41d137;var _0x1727c1,_0x5cbaad;if(this['_online']=!0x0,((_0x1727c1=this['_univerInstanceService'][_0x294baf(0x1b1)]())==null?void 0x0:_0x1727c1['getUnitId']())!==this['unitID'])return;const _0x249889=(_0x5cbaad=this[_0x294baf(0x20c)]['get'](_0x209b34)[_0x294baf(0x304)]())==null?void 0x0:_0x5cbaad[0x0],_0x5da6c9=this[_0x294baf(0x2ef)][_0x294baf(0x33f)](_0x117ba1[_0x294baf(0x2a9)])[_0x294baf(0x328)]();_0x249889&&_0x5da6c9&&this[_0x294baf(0x381)](_0x5da6c9[_0x294baf(0x2d4)](),_0x249889);}['_toggleOffline'](){const _0x1e1825=_0x41d137;this[_0x1e1825(0x1ff)]=!0x1;}};function _0x8cbe(){const _0x2f60fe=['onStarting','sessionStatus$','height','_onCursorUpdate','LOGIN_FAILED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','history','_getSheetObject','size','#fff','map','tag','enableLocalCache','off-line-single','Error','startColumn','override','find','_cachedData','_scheduleHeartbeat','init','onPointerEnter$','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','_backgroundColor','exhaustSavingTask','_lastPointer','use','beginPath','onRendered','_initEntityListener','max','onPointerLeave$','black','getActiveSheet','_config','uni.network.url-service','getCollabEntity$','_revisionService','defineProperty','defIds','_handleHover','collabStatus.conflict','PY_RUNTIME_SCRIPT_ERROR','idSuffix','getConfig','getParam','getValue','doc.mutation.rich-text-editing','_docTransformSelectionsService','searchParams','replace','bottom','APPLY_PERMISSION_DENIED','event$','whenReady','startRow','getCurrentUnitForType','_imageIoService','complete','UPDATE_CURSOR','currentColor','cursorInfo$','_textBubble','mutations','_sheetSkeletonManagerService','next','collab-client.tooltip.reconnect','resize','_transformService','NOT_FOUND','unshift','urlChange$','_transformHistoryAndStateStack','flatMap','_handleLeaveEvent','getOwnPropertySymbols','_send','_initStatusComponent','LICENSE_DISTRO_REJECTED','actions','color','pluginName','_httpService','replaceDocRanges','getVpScrollXYInfoByPosToVp','_cursor','width','clipPath','univer-online-status-title','moveTo','pushState','sheetID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_SUBSCRIPTION_NOT_FOUND','syncEditingCollabCursor','clearTimeout','MoveRangeCommandId','_configService','transformRemoteChangeset','entries','getMemberID','error','INVITE_CODE_HAS_BEEN_UES','_initStatusListener','length','/run/','url(#$1','purple300','subscribeEvent','collabCursorState$','permission.content','search','assign','_session','...','15FHKoNM','_themeService','addHandlerCallback','invokeId','current','getCellPositionByOffset','_commandService','_updateLocalCursor','_shapes','_handleJoinEvent','startsWith','INVITE_CODE_ALREADY_BOUND','runOnServer','_notificationService','focused$','_setupBeforeClosingHandler','INVALID_ARGUMENT','eventID','getActiveRange','_entities','attrs','COMPLETION_FINISHED','_entityInit$','collab-text-anchor-','onlineStatus','OTHER_CLIENTS_EDITING','runId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getAnchorBounding','univerjs-icon\x20univerjs-icon-','OTHER_CLIENT_EDITING','transformByState','setShapeProps','getUnitStatus$','blue400','with','push','collab-text-range-','_drawAnchor','FETCH_MISS','editingUnit','YUUMI_NO_CUBOID_FOR_QUESTION','1851760tAPveH','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','getOwnPropertyDescriptor','dispose$','_refRangeService','substring','send','row','deepClone','_localeService','getDocRanges','registerComponent','_registerRenderDependencies','_removeClearOtherTimer','JOIN_ROOM_FAILED','div','_refreshCollabCursors','#FFF','status$','getFocusedUnit','makeDirty','_unitOnClients','asObservable','_context','measureText','href','pipe','ticket','collaboration.closeRoom','InsertColCommandId','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','collab-rect-range-','subunit','getCurrentRevOfUnit','url(#on-line-single_clip0_910_349)','PERMISSION_DENIED','path','type','_heartbeatTimer','_colorIndex','disposeWithMe','collaboration-client.offline-data-not-saved','NO_OTHER_CLIENTS_EDITING','_toggleOffline','location','transformSelections','_colorAssignService','textRanges','from','executeCommand','getCollabCursors$','getAncestorScale','entityInit$','assignAColorForMemberID','_collaborationController','UNAUTHENTICATED','executionId','body','_startDocCollabCursor','all','getUniverSheetInstance','getTypeOfUnitAdded$','APPLY_REJECT','_removeCollabCursors','get','SYNCED','isArray','debug','transformStateCache','_docSyncEditingCollabCursorService','cursorInfo','off-line-single_clip0_910_343','_transformPreviousActiveRange','_labelPosition','on-line-single','fill','_initCommandExecutedListener','_docStateChangeManagerService','unitId','_eventUnsubscribe','_hovered','_docTransformStateCacheService','setActiveRange','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','generateRandomId','_range','130tWrLLP','TOO_MANY_REQUESTS','split','fillRule','AWAITING','USERS_LEAVE','offline','getItem','none','LICENSE_IMPORT_SIZE_EXCEEDED','_online','setUndoRedoMutationParamsCache','getRelativeToViewportCoord','closePath','contains','LICENSE_MAX_UNITS_EXCEEDED','drawWith','setItem','getSheetBySheetId','dispose','setStateCache','27212McPIYQ','session.collaboration-timeout','_injector','_getMergeRange','apply','extend','online','ENSURE_SNAPSHOT_EXECUTION','_handleEvent','_disabled','onlineStatusIcon','isEditing','_hover','_onCursorDelete','getUnitId','transform','then','setParam','TEXT','_selfUnitIDs','_collabCursorState$','getTypeOfUnitDisposed$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_render','_scene','isActive','_ensureSubject','addClipboardHook','registerRefRange','url(#off-line-single_clip0_910_343)','set','createSocket','FromArray','Failed','_saveTaskMap','onCommandExecuted','verdancy600','InsertRangeMoveDownCommandId','YUUMI_RATE_OVER_LIMIT','top','m2Prime','[CollaborationDataLoaderController]','collabStatus.notCollab','jiqing500','registerBeforeClose','add','102246ttjmNu','saveTaskMap','_clearOtherTimers','_handleHeartbeatEvent','0\x200\x2017\x2016','INTERNAL_ERROR','permission.title','1em','prototype','_saveCache','_toggleOnline','_init','params','setAlpha','collabStatus.offline','onPointerMove$','concat','evenodd','0\x200\x2016\x2016','_initDependencies','_onRefRangeChange','colorChannel1','min','removeParam','_memberService','m1Prime','_cursorShapes','fillText','function','subscribe','backgroundColor','getCurrent','getRenderById','saveOfflineData','_instanceService','_cursors','has','UNIVER_DOC','string','_roomMembers$','_updateSubUnitFromURLParams','_messageService','unitID','getStateCache','mask','addObject','result','unit','_setupSubUnitSync','column','key','toString','CONFLICT','fillStyle','collaboration.single-unit.warning','YUUMI_UNABLE_LOAD_URL','_id','arc','_assignedColors','range','unload','text','InsertRangeMoveRightCommandId','storage','currentSkeleton$','_scheduleClearOtherTimer','_localStorageService','_docSkeletonManagerService','loadOfflineData','show','getRangePointData','Warning','EMAIL_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','imageSourceType','disposeUnit','CHANGESET_REVISION_CONFILICT','displayName','loadUnit','_docTransformIMECacheService','MUTATION','origin','_collaborationUIEventService','replaceState','_collabSessionService','RemoveRowCommandId','_getScale','values','_collabCursorController','roomMembers$','registerRenderModule','829480pOJvrE','createInstance','_uiPartsService','updateOfflineData','className','NOT_COLLAB','hide','_unitStatus','_urlService','triggerDblclick','_scheduleSaving','defs','requireSession','148222NHuiwr','session.will-retry','hasOwnProperty','collabStatus.syncing','selections','APPLY_NON_SEQUENTIAL_REVISION','engine','disableLocalCache','memberID','UNIVER_SHEET','call','UniverIcon','_updateCollabCursors','Unknown\x20user','data','UNRECOGNIZED','labelPosition','session.connection-failed','onLocalMutation','getUnhiddenWorksheets','delete','VIEW_MAIN','on-line-single_clip0_910_349','_hideTimer','roomMembers','_startSheetCollabCursor','37956DvaICA','currentTheme$','children','YUUMI_URL_COL_OUT_OF_RANGE','RemoveColCommandId','DeleteRangeMoveUpCommandId','gold400','restore','_drawRectRange','selection','153989ehVwze','propertyIsEnumerable','91ENCbGa','UNDEFINED','_localCacheService','onMouseMove','_name','_color','forEach','transformMutationsWithChangeset','sheetId','_status$','_dataLoaderService','endRow','stringify','_draw','getSheetId','_updateURLWithCurrentState','save','redoState','source','INVALID_INVITE_CODE','_anchorDot','_initEvent','ranges','_transformUndoRedoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','InsertRowCommandId','_beforeCloseService','_cursorInfo$','includes','findNodePositionByCharIndex','_docSkeleton','SNAPSHOT_HAS_BEEN_REMOVED','_getSessionTicket','_drawTextRange','_getSaveTimeout','undoState','YUUMI_ASYNCIO_CANCELLED','newValue','_anchor','OFFLINE','_univerInstanceService','getOffsetConfig','name','toRgbString','9vxStfQ','docStateChange$','activeSheet$','rgba(255,\x20255,\x20255,\x200.01)','_renderManagerService','collaboration-client-ui.config','RECT','xlink:href','svg','some','reconnect','indexOf','M0\x200H16V16H0z','transformMutation','round','_logService','icon','getCurrentSelections','APPLY_DUPLICATED'];_0x8cbe=function(){return _0x2f60fe;};return _0x8cbe();}Pe=gi([x(0x2,_0x3a1974(_0x1f6b0d)),x(0x3,_0x3a1974(He)),x(0x4,_0x3a1974(_0x1ba5eb)),x(0x5,_0x24a29d),x(0x6,_0x3396f3),x(0x7,_0x3a1974(_0x3f099b))],Pe);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x485eb1,_0x41071d,_0x1eb44e,_0x26a022)=>{for(var _0x342c1b=_0x26a022>0x1?void 0x0:_0x26a022?Ci(_0x41071d,_0x1eb44e):_0x41071d,_0x30115c=_0x485eb1['length']-0x1,_0x4288e7;_0x30115c>=0x0;_0x30115c--)(_0x4288e7=_0x485eb1[_0x30115c])&&(_0x342c1b=_0x4288e7(_0x342c1b)||_0x342c1b);return _0x342c1b;},me=(_0x5595c5,_0x5b1071)=>(_0xd2fb0e,_0x5a7045)=>_0x5b1071(_0xd2fb0e,_0x5a7045,_0x5595c5);let H=class extends _0x3ef275{constructor(_0x41ded4,_0x5ad5e0,_0x1d3d68){const _0x12e3a8=_0x41d137;super(),_(this,_0x12e3a8(0x38d),new Map()),_(this,_0x12e3a8(0x390),new _0x79defd()),(this[_0x12e3a8(0x2ef)]=_0x41ded4,this[_0x12e3a8(0x20c)]=_0x5ad5e0,this['_collabSessionService']=_0x1d3d68,this['_init']());}[_0x41d137(0x208)](){const _0x2186da=_0x41d137;super['dispose'](),this[_0x2186da(0x390)][_0x2186da(0x341)](),this['_entities'][_0x2186da(0x2cc)](_0x3b163e=>_0x3b163e[_0x2186da(0x208)]());}['getCollabCursors$'](_0x48fc7b){const _0x1873a9=_0x41d137;return this['_entities']['has'](_0x48fc7b)?this['_entities'][_0x1873a9(0x1de)](_0x48fc7b)[_0x1873a9(0x344)]:this[_0x1873a9(0x390)]['pipe'](_0x26d390(_0x2156aa=>_0x2156aa[_0x1873a9(0x262)]===_0x48fc7b),_0x26c63c(_0xbca3bf=>_0xbca3bf[_0x1873a9(0x344)]));}[_0x41d137(0x243)](){const _0x3d7bdd=_0x41d137;this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x1db)](_0x117ba1[_0x3d7bdd(0x2a9)])[_0x3d7bdd(0x1b8)](_0x40a759(this['dispose$']))['subscribe'](async _0x3a08ac=>{const _0x23d37b=_0x3d7bdd,_0x4621d8=_0x3a08ac['getUnitId'](),_0x9f846e=await this[_0x23d37b(0x2b9)](_0x4621d8);this[_0x23d37b(0x390)]['next'](_0x9f846e),this[_0x23d37b(0x38d)][_0x23d37b(0x228)](_0x4621d8,_0x9f846e);}),this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x1db)](_0x117ba1['UNIVER_DOC'])[_0x3d7bdd(0x1b8)](_0x40a759(this[_0x3d7bdd(0x1a1)]))[_0x3d7bdd(0x1b8)](_0x26d390(_0x54aba9=>!_0x54aba9[_0x3d7bdd(0x218)]()[_0x3d7bdd(0x384)]('__')))[_0x3d7bdd(0x255)](async _0xac650f=>{const _0x2b29de=_0x3d7bdd,_0x1190d6=_0xac650f[_0x2b29de(0x218)](),_0x3534d7=await this[_0x2b29de(0x1d8)](_0x1190d6);this['_entityInit$'][_0x2b29de(0x348)](_0x3534d7),this[_0x2b29de(0x38d)]['set'](_0x1190d6,_0x3534d7);}),_0x2a129b(this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x21f)](_0x117ba1[_0x3d7bdd(0x25d)]),this[_0x3d7bdd(0x2ef)]['getTypeOfUnitDisposed$'](_0x117ba1[_0x3d7bdd(0x2a9)]))[_0x3d7bdd(0x1b8)](_0x40a759(this[_0x3d7bdd(0x1a1)]))[_0x3d7bdd(0x255)](_0x376a0f=>{const _0x3b41bc=_0x3d7bdd,_0x5da81f=_0x376a0f[_0x3b41bc(0x218)](),_0x2c3a63=this[_0x3b41bc(0x38d)][_0x3b41bc(0x1de)](_0x5da81f);_0x2c3a63&&(_0x2c3a63[_0x3b41bc(0x208)](),this[_0x3b41bc(0x38d)]['delete'](_0x5da81f));});}async[_0x41d137(0x2b9)](_0x4ec36d){const _0x55b029=_0x41d137,_0x703d2c=await this[_0x55b029(0x28c)]['requireSession'](_0x4ec36d),_0x9da12b=this[_0x55b029(0x20c)]['createInstance'](Pe,_0x4ec36d,_0x703d2c);return _0x9da12b['init'](),_0x9da12b;}async[_0x41d137(0x1d8)](_0x4b3cfc){const _0x4a9622=_0x41d137,_0x2385ac=await this[_0x4a9622(0x28c)][_0x4a9622(0x29f)](_0x4b3cfc),_0x3c1296=this['_injector'][_0x4a9622(0x294)](Me,_0x4b3cfc,_0x2385ac);return _0x3c1296[_0x4a9622(0x31a)](),_0x3c1296;}};H=Ei([me(0x0,_0x24a29d),me(0x1,_0x3a1974(_0x1f6b0d)),me(0x2,_0x3a1974(_0x2c138c))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0xef0289,_0x2a36c3){const _0x342515=_0x41d137;let {radius:_0x55d3a1,width:_0x3c5b80,height:_0x430235}=_0x2a36c3;_0x55d3a1=_0x55d3a1!=null?_0x55d3a1:0x0,_0x3c5b80=_0x3c5b80!=null?_0x3c5b80:0x1e,_0x430235=_0x430235!=null?_0x430235:0x1e;let _0x31017d=0x0,_0x459867=0x0,_0x5edc5e=0x0;_0x31017d=_0x459867=_0x5edc5e=Math['min'](_0x55d3a1,_0x3c5b80/0x2,_0x430235/0x2),_0xef0289[_0x342515(0x322)](),_0xef0289[_0x342515(0x360)](_0x31017d,0x0),_0xef0289[_0x342515(0x2df)](_0x3c5b80-_0x459867,0x0),_0xef0289[_0x342515(0x271)](_0x3c5b80-_0x459867,_0x459867,_0x459867,Math['PI']*0x3/0x2,0x0,!0x1),_0xef0289[_0x342515(0x2df)](_0x3c5b80,_0x430235-_0x5edc5e),_0xef0289[_0x342515(0x271)](_0x3c5b80-_0x5edc5e,_0x430235-_0x5edc5e,_0x5edc5e,0x0,Math['PI']/0x2,!0x1),_0xef0289[_0x342515(0x2df)](0x0,_0x430235),_0xef0289[_0x342515(0x2df)](0x0,_0x31017d),_0xef0289['arc'](_0x31017d,_0x31017d,_0x31017d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xef0289[_0x342515(0x202)](),_0x2a36c3[_0x342515(0x1e9)]&&(_0xef0289[_0x342515(0x2d6)](),_0xef0289[_0x342515(0x26d)]=_0x2a36c3[_0x342515(0x1e9)],_0x2a36c3[_0x342515(0x1f8)]===_0x342515(0x249)?_0xef0289[_0x342515(0x1e9)](_0x342515(0x249)):_0xef0289[_0x342515(0x1e9)](),_0xef0289[_0x342515(0x2c1)]());}class ue extends _0x41fd04{constructor(_0x59a7ac,_0x187d56){const _0x36dade=_0x41d137;super(_0x59a7ac,_0x187d56),_(this,_0x36dade(0x357)),_(this,_0x36dade(0x275)),(this[_0x36dade(0x357)]=_0x187d56==null?void 0x0:_0x187d56[_0x36dade(0x357)],this[_0x36dade(0x275)]=_0x187d56==null?void 0x0:_0x187d56['text']);}static[_0x41d137(0x205)](_0x595ad7,_0x4f79bd){const _0x595b43=_0x41d137,{text:_0x34681d,color:_0x3ba78b}=_0x4f79bd;_0x595ad7['save'](),_0x595ad7['font']=_0x595b43(0x18f);const _0x239c52=_0x595ad7[_0x595b43(0x1b6)](_0x34681d)[_0x595b43(0x35d)],_0x588597=Math[_0x595b43(0x24e)](_0x239c52+0x2*ge,et);Oi(_0x595ad7,{'height':te,'radius':0x4,'width':_0x588597,'fill':_0x3ba78b}),_0x595ad7['fillStyle']=_0x595b43(0x1af);const _0x11a9e9=ge,_0x2d65bf=te-bi,_0x16f2fc=et-0x2*ge;if(_0x239c52>_0x16f2fc){let _0x4afac0='',_0x5d4bab=0x0;for(const _0x26121 of _0x34681d){const _0xd90756=_0x595ad7[_0x595b43(0x1b6)](_0x26121)[_0x595b43(0x35d)];if(_0x5d4bab+_0xd90756<=_0x16f2fc-_0x595ad7[_0x595b43(0x1b6)](_0x595b43(0x379))[_0x595b43(0x35d)])_0x4afac0+=_0x26121,_0x5d4bab+=_0xd90756;else{_0x4afac0+=_0x595b43(0x379);break;}}_0x595ad7[_0x595b43(0x253)](_0x4afac0,_0x11a9e9,_0x2d65bf);}else _0x595ad7[_0x595b43(0x253)](_0x34681d,_0x11a9e9,_0x2d65bf);_0x595ad7[_0x595b43(0x2c1)]();}[_0x41d137(0x2d3)](_0x1077f3){ue['drawWith'](_0x1077f3,this);}}const ve=_0x41d137(0x18b),Ti=_0x41d137(0x199),Ri=_0x41d137(0x1bd),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x41d137(0x2f6);class tt{constructor(_0xecfec4,_0x4edb67,_0x415695,_0x1ec485){const _0x2122f2=_0x41d137;_(this,_0x2122f2(0x382),[]),_(this,'_anchor',null),_(this,_0x2122f2(0x345),null),_(this,'_anchorDot',null),_(this,_0x2122f2(0x2b7),null),_(this,_0x2122f2(0x1ed),null),(this['_cursor']=_0xecfec4,this['_scene']=_0x4edb67,this[_0x2122f2(0x2e5)]=_0x415695,this['_document']=_0x1ec485,this[_0x2122f2(0x221)]());}set[_0x41d137(0x216)](_0x5b0293){const _0x59716a=_0x41d137;_0x5b0293?(this[_0x59716a(0x2da)]&&this[_0x59716a(0x2da)][_0x59716a(0x299)](),this[_0x59716a(0x345)]&&this[_0x59716a(0x345)][_0x59716a(0x27d)]()):(this[_0x59716a(0x2da)]&&this[_0x59716a(0x2da)][_0x59716a(0x27d)](),this[_0x59716a(0x345)]&&this[_0x59716a(0x345)][_0x59716a(0x299)]());}[_0x41d137(0x208)](){const _0x1ff42e=_0x41d137;for(const _0x499b5b of this['_shapes'])_0x499b5b[_0x1ff42e(0x208)]();this[_0x1ff42e(0x345)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1ff42e(0x208)](),this[_0x1ff42e(0x2ed)]&&this['_anchor'][_0x1ff42e(0x208)](),this[_0x1ff42e(0x1ed)]&&this[_0x1ff42e(0x1ed)]();}[_0x41d137(0x221)](){const _0x528b8b=_0x41d137;var _0xc67b20;const {_docSkeleton:_0x2a1706,_document:_0x1017e3}=this,{color:_0x130f49,name:_0x501a19,ranges:_0xc32a21}=this[_0x528b8b(0x35c)],_0x2364e5=_0x1017e3[_0x528b8b(0x2f0)](),{docsLeft:_0x582fc3,docsTop:_0x35bf8e}=_0x2364e5,_0xc46c68=new _0x516cc8(_0x2364e5,_0x2a1706);for(const {startOffset:_0x1c6988,endOffset:_0x55d5e2,rangeType:_0x41ea5e,segmentId:_0x58bf21,segmentPage:_0x50f0e4,collapsed:_0x6539f9,isActive:_0x3c8208}of _0xc32a21){const _0x3dcb60=_0x2a1706[_0x528b8b(0x2e4)](_0x1c6988,!0x0,_0x58bf21,_0x50f0e4);let _0x477c95=_0x2a1706[_0x528b8b(0x2e4)](_0x55d5e2,!0x0,_0x58bf21,_0x50f0e4);if(_0x477c95==null&&(_0x477c95=_0x2a1706[_0x528b8b(0x2e4)](_0x55d5e2-0x1,!0x1,_0x58bf21,_0x50f0e4)),_0x3c8208){const {contentBoxPointGroup:_0x1c10d3}=_0xc46c68[_0x528b8b(0x27e)](_0x477c95,_0x477c95);if(_0x1c10d3['length']===0x0)continue;this['_drawAnchor'](_0x130f49,_0x1c10d3,_0x582fc3,_0x35bf8e,_0x501a19),this['_eventUnsubscribe']=this[_0x528b8b(0x32f)]();}if(_0x3dcb60&&_0x477c95){if(_0x41ea5e===_0x5f41a0[_0x528b8b(0x2f9)]){const _0x1c7ffb=new _0x50c7f1(_0x2364e5,_0x2a1706),{pointGroup:_0x55a385}=(_0xc67b20=_0x1c7ffb['getRangePointData'](_0x3dcb60,_0x477c95))!=null?_0xc67b20:{};if(_0x55a385==null||_0x55a385['length']===0x0)continue;this[_0x528b8b(0x2c2)](_0x130f49,_0x55a385,_0x582fc3,_0x35bf8e);}else{if(!_0x6539f9){const {borderBoxPointGroup:_0x31cccd}=_0xc46c68[_0x528b8b(0x27e)](_0x3dcb60,_0x477c95);if(_0x31cccd[_0x528b8b(0x36f)]===0x0)continue;this[_0x528b8b(0x2e8)](_0x130f49,_0x31cccd,_0x582fc3,_0x35bf8e);}}}}}[_0x41d137(0x19a)](_0x1699cc,_0x44427c,_0x473d68,_0x35a8b0,_0x40adb4){const _0x1b4f0c=_0x41d137,_0x3b356d=this[_0x1b4f0c(0x190)](_0x44427c),{left:_0x1e10d4,top:_0x5865b3,height:_0x3b0051}=_0x3b356d,_0x49d78a=this[_0x1b4f0c(0x28e)](),_0x1193c1=Ni/_0x49d78a,_0x3134ff=new _0x3a5db9(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0,'height':_0x3b0051,'width':Di,'fill':_0x1699cc||_0x52b25d(_0x29a475[_0x1b4f0c(0x327)],0x0),'strokeWidth':_0x1193c1,'stroke':Ui,'evented':!0x0});this['_anchor']=_0x3134ff,this['_scene'][_0x1b4f0c(0x265)](_0x3134ff,_0x2f18e3);const _0xede3=new _0x3a5db9(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1699cc||_0x52b25d(_0x29a475[_0x1b4f0c(0x327)],0x0),'strokeWidth':0x0,'stroke':_0x1699cc||_0x52b25d(_0x29a475['black'],0x0),'evented':!0x1});this[_0x1b4f0c(0x2da)]=_0xede3,this[_0x1b4f0c(0x222)]['addObject'](_0xede3,_0x2f18e3);const _0x310cf6=new ue(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0-te,'text':_0x40adb4,'color':_0x1699cc});this[_0x1b4f0c(0x345)]=_0x310cf6,this[_0x1b4f0c(0x222)]['addObject'](_0x310cf6,_0x2f18e3),this[_0x1b4f0c(0x216)]=!0x1;}[_0x41d137(0x32f)](){const _0x193445=_0x41d137,_0x274316=this['_anchor'][_0x193445(0x31b)][_0x193445(0x373)](()=>{const _0x44310d=_0x193445;this[_0x44310d(0x216)]=!0x0;}),_0x2d3bcd=this['_anchor'][_0x193445(0x326)][_0x193445(0x373)](()=>{const _0x419ca5=_0x193445;this[_0x419ca5(0x2b7)]&&clearTimeout(this[_0x419ca5(0x2b7)]),this[_0x419ca5(0x2b7)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55c74a=_0x193445;_0x274316[_0x55c74a(0x1f2)](),_0x2d3bcd['unsubscribe']();};}[_0x41d137(0x2e8)](_0x12c652,_0x30916f,_0x5e91f5,_0x296fe4){const _0x59cf25=_0x41d137,_0x2779a9=new _0x503f62(_0x12c652)[_0x59cf25(0x245)](0.2)[_0x59cf25(0x2f2)](),_0x1c7e1e=new _0x44dd2b(Ti+_0x5d774a[_0x59cf25(0x1f3)](X),{'pointsGroup':_0x30916f,'fill':_0x2779a9||_0x52b25d(_0x29a475[_0x59cf25(0x327)],0.2),'left':_0x5e91f5,'top':_0x296fe4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x59cf25(0x198)](_0x1c7e1e),this[_0x59cf25(0x222)][_0x59cf25(0x265)](_0x1c7e1e,_0x2f18e3);}[_0x41d137(0x2c2)](_0x562f56,_0x515442,_0x140ab3,_0x31974e){const _0x2b1ae=_0x41d137,_0x1a0bf9=new _0x503f62(_0x562f56)['setAlpha'](0.2)[_0x2b1ae(0x2f2)](),_0x3f5be5=new _0x44dd2b(Ri+_0x5d774a[_0x2b1ae(0x1f3)](X),{'pointsGroup':_0x515442,'fill':_0x1a0bf9||_0x52b25d(_0x29a475[_0x2b1ae(0x327)],0.2),'left':_0x140ab3,'top':_0x31974e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b1ae(0x382)][_0x2b1ae(0x198)](_0x3f5be5),this[_0x2b1ae(0x222)][_0x2b1ae(0x265)](_0x3f5be5,_0x2f18e3);}['_getAnchorBounding'](_0x1ccbff){const _0x41cb9f=_0x1ccbff[0x0],_0x3b68d2=_0x41cb9f[0x0],_0x1a60d5=_0x41cb9f[0x2],{x:_0x2548aa,y:_0x40f3a8}=_0x3b68d2,{x:_0x5b53ab,y:_0x2855e8}=_0x1a60d5;return{'left':_0x2548aa,'top':_0x40f3a8,'width':_0x5b53ab-_0x2548aa,'height':_0x2855e8-_0x40f3a8};}[_0x41d137(0x28e)](){const _0x5ba0d5=_0x41d137,{scaleX:_0x466a64,scaleY:_0xf2b7a0}=this[_0x5ba0d5(0x222)][_0x5ba0d5(0x1d1)]();return Math[_0x5ba0d5(0x325)](_0x466a64,_0xf2b7a0);}}var Mi=Object[_0x41d137(0x1a0)],Pi=(_0xc087f6,_0x189835,_0x1bfc95,_0x32ac3e)=>{for(var _0x17842e=_0x32ac3e>0x1?void 0x0:_0x32ac3e?Mi(_0x189835,_0x1bfc95):_0x189835,_0x240527=_0xc087f6['length']-0x1,_0x265e4b;_0x240527>=0x0;_0x240527--)(_0x265e4b=_0xc087f6[_0x240527])&&(_0x17842e=_0x265e4b(_0x17842e)||_0x17842e);return _0x17842e;},Q=(_0x4d1701,_0x3294a4)=>(_0x4c5137,_0x502eee)=>_0x3294a4(_0x4c5137,_0x502eee,_0x4d1701);let we=class extends _0x3ef275{constructor(_0x197966,_0x1b1364,_0x5eca05,_0xb3790,_0xe8c5a3){const _0x55375a=_0x41d137;super(),_(this,_0x55375a(0x252),[]),_(this,_0x55375a(0x25b),[]),(this[_0x55375a(0x1b5)]=_0x197966,this['_docSkeletonManagerService']=_0x1b1364,this['_collabCursorController']=_0x5eca05,this[_0x55375a(0x380)]=_0xb3790,this[_0x55375a(0x37b)]=_0xe8c5a3,this['_init']());}[_0x41d137(0x243)](){const _0x5a0bed=_0x41d137,_0xd6012f=this[_0x5a0bed(0x1b5)][_0x5a0bed(0x1ec)],_0x39f7ec=this[_0x5a0bed(0x27b)];this['disposeWithMe'](_0xa8e622([this[_0x5a0bed(0x290)][_0x5a0bed(0x1d0)](_0xd6012f),this['_themeService'][_0x5a0bed(0x2bb)]])['pipe'](_0x93a7f6(([_0x476ad7,_0x38ddbe])=>({'skeleton':_0x39f7ec['getSkeleton'](),'cursors':[..._0x476ad7[_0x5a0bed(0x28f)]()][_0x5a0bed(0x350)](_0x31e017=>({..._0x31e017,'color':_0x38ddbe[_0x31e017[_0x5a0bed(0x357)]]}))})))[_0x5a0bed(0x255)](_0x229097=>{const _0x38b68b=_0x5a0bed;if(this[_0x38b68b(0x1dd)](),_0x229097){const {skeleton:_0xd30981,cursors:_0x312a8a}=_0x229097;this[_0x38b68b(0x2ac)](_0xd30981,_0x312a8a);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x190c41,_0x162eaf){const _0xdeae92=_0x41d137,{scene:_0x5c7330,mainComponent:_0x30eaa9}=this[_0xdeae92(0x1b5)],_0x49b309=_0x162eaf[_0xdeae92(0x310)](_0x373cf5=>new tt(_0x373cf5,_0x5c7330,_0x190c41,_0x30eaa9));this[_0xdeae92(0x252)]=_0x49b309,this['_cursors']=_0x162eaf;}[_0x41d137(0x1ae)](){const _0x46e4ef=_0x41d137;this[_0x46e4ef(0x1dd)]();const {scene:_0x10ec25,mainComponent:_0x1471fe}=this[_0x46e4ef(0x1b5)],_0x2a448a=this[_0x46e4ef(0x27b)]['getSkeleton'](),_0x51ce80=this[_0x46e4ef(0x25b)][_0x46e4ef(0x310)](_0x2ca016=>new tt(_0x2ca016,_0x10ec25,_0x2a448a,_0x1471fe));this[_0x46e4ef(0x252)]=_0x51ce80;}[_0x41d137(0x1dd)](){const _0x16585d=_0x41d137;this['_cursorShapes'][_0x16585d(0x2cc)](_0x5bea4f=>_0x5bea4f[_0x16585d(0x208)]()),this[_0x16585d(0x252)]=[];}[_0x41d137(0x1ea)](){const _0x4200cc=_0x41d137,_0x478f58=[_0x36b69f['id']];this['disposeWithMe'](this[_0x4200cc(0x380)][_0x4200cc(0x22d)](_0x503bb5=>{const _0x2bd145=_0x4200cc;_0x478f58[_0x2bd145(0x2e3)](_0x503bb5['id'])&&_0x503bb5['params']['unitId']===this[_0x2bd145(0x1b5)][_0x2bd145(0x1ec)]&&this[_0x2bd145(0x1ae)]();}));}['_initResize'](){const _0x3fc665=_0x41d137;this['disposeWithMe'](_0x34e3a2(this[_0x3fc665(0x1b5)][_0x3fc665(0x2a6)]['onTransformChange$'])['pipe'](_0x360d68(_0xbe6b2d=>_0xbe6b2d[_0x3fc665(0x1c3)]===_0x1b44d7[_0x3fc665(0x34a)]),_0x50588c(0x10))['subscribe'](()=>{const _0x9d163=_0x3fc665;this[_0x9d163(0x1ae)]();}));}};we=Pi([Q(0x1,_0x3a1974(_0x160e87)),Q(0x2,_0x3a1974(H)),Q(0x3,_0x3396f3),Q(0x4,_0x3a1974(_0x4fd64a))],we);const wi=0x1,Li=1.5;class Ai extends _0x41fd04{constructor(_0x18d47b,_0x3c7a93){const _0x488e0e=_0x41d137;super(_0x18d47b,_0x3c7a93),_(this,'_color'),_(this,_0x488e0e(0x1ee),!0x1),_(this,'_range'),_(this,_0x488e0e(0x2ca),''),_(this,'_labelPosition',_0x488e0e(0x231)),_(this,_0x488e0e(0x31e)),(_0x3c7a93&&this['setShapeProps'](_0x3c7a93),this[_0x488e0e(0x31b)][_0x488e0e(0x373)](()=>this[_0x488e0e(0x194)]({'hovered':!0x0})),this[_0x488e0e(0x326)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5dfc0f){const _0x388688=_0x41d137;var _0xb1a7a5,_0x23f25e,_0x261527,_0x24879b,_0x3c8afd,_0x381bc7;this[_0x388688(0x2cb)]=(_0xb1a7a5=_0x5dfc0f[_0x388688(0x357)])!=null?_0xb1a7a5:this['_color'],this['_hovered']=(_0x23f25e=_0x5dfc0f[_0x388688(0x31d)])!=null?_0x23f25e:this[_0x388688(0x1ee)],this[_0x388688(0x1f4)]=(_0x261527=_0x5dfc0f[_0x388688(0x273)])!=null?_0x261527:this['_range'],this[_0x388688(0x2ca)]=(_0x24879b=_0x5dfc0f[_0x388688(0x2f1)])!=null?_0x24879b:this[_0x388688(0x2ca)],this[_0x388688(0x1e7)]=(_0x3c8afd=_0x5dfc0f[_0x388688(0x2b0)])!=null?_0x3c8afd:this[_0x388688(0x1e7)],this[_0x388688(0x31e)]=(_0x381bc7=_0x5dfc0f[_0x388688(0x256)])!=null?_0x381bc7:this[_0x388688(0x31e)],this[_0x388688(0x193)]({'width':_0x5dfc0f[_0x388688(0x35d)],'height':_0x5dfc0f['height']});}['onMouseMove'](_0x37fdd2){const _0xf7ed8a=_0x41d137,{row:_0x30d8b3,column:_0x1e4a79}=_0x37fdd2;if(_0x30d8b3>=this['_range'][_0xf7ed8a(0x33e)]&&_0x30d8b3<=this[_0xf7ed8a(0x1f4)][_0xf7ed8a(0x2d1)]&&_0x1e4a79>=this[_0xf7ed8a(0x1f4)][_0xf7ed8a(0x315)]&&_0x1e4a79<=this[_0xf7ed8a(0x1f4)]['endColumn']){this[_0xf7ed8a(0x194)]({'hovered':!0x0});return;}this[_0xf7ed8a(0x194)]({'hovered':!0x1});}[_0x41d137(0x29c)](_0x5a4cce){return!0x1;}[_0x41d137(0x2d3)](_0x160869){const _0x3f9362=_0x41d137;_0x3a5db9[_0x3f9362(0x205)](_0x160869,{'width':this['width'],'height':this[_0x3f9362(0x308)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3f9362(0x31e)]}),this[_0x3f9362(0x1ee)]&&(_0x160869['save'](),_0x160869[_0x3f9362(0x219)](0x1,0x0,0x0,0x1,this[_0x3f9362(0x35d)],this[_0x3f9362(0x1e7)]===_0x3f9362(0x33a)?0x0:-0x14),ue[_0x3f9362(0x205)](_0x160869,{'text':this['_name'],'color':this[_0x3f9362(0x2cb)]}),_0x160869[_0x3f9362(0x2c1)]());}}var yi=Object[_0x41d137(0x1a0)],$i=(_0x165639,_0x17ec6b,_0x2befce,_0x36890a)=>{const _0x55c7d3=_0x41d137;for(var _0xf5ea62=_0x36890a>0x1?void 0x0:_0x36890a?yi(_0x17ec6b,_0x2befce):_0x17ec6b,_0x3f56aa=_0x165639[_0x55c7d3(0x36f)]-0x1,_0x3dc8d3;_0x3f56aa>=0x0;_0x3f56aa--)(_0x3dc8d3=_0x165639[_0x3f56aa])&&(_0xf5ea62=_0x3dc8d3(_0xf5ea62)||_0xf5ea62);return _0xf5ea62;},pe=(_0x52a363,_0x31e127)=>(_0x2e00fb,_0x505858)=>_0x31e127(_0x2e00fb,_0x505858,_0x52a363);const xi=0x1389;let Le=class extends _0x3ef275{constructor(_0xef7a83,_0x440edc,_0x5ea74a,_0x358c9f){const _0x16f6c0=_0x41d137;super(),_(this,'_cursors',new Set()),_(this,_0x16f6c0(0x320),null),(this[_0x16f6c0(0x1b5)]=_0xef7a83,this['_sheetSkeletonManagerService']=_0x440edc,this['_collabCursorController']=_0x5ea74a,this[_0x16f6c0(0x37b)]=_0x358c9f,this[_0x16f6c0(0x243)]());}[_0x41d137(0x243)](){const _0x49804c=_0x41d137;this[_0x49804c(0x347)][_0x49804c(0x278)]['pipe'](_0xe85748(this[_0x49804c(0x1a1)]),_0xcb980e(_0x5d48ba=>{const _0x4dc41e=_0x49804c;if(_0x5d48ba){const _0x1a7f36=_0x5d48ba[_0x4dc41e(0x2ce)];return _0xa8e622(this[_0x4dc41e(0x290)]['getCollabCursors$'](this[_0x4dc41e(0x1b5)]['unitId']),this['_themeService'][_0x4dc41e(0x2bb)])['pipe'](_0x93a7f6(([_0x4379b3,_0x5646f6])=>{const _0x3aec83=new Map();return _0x4379b3['forEach']((_0x188c42,_0x28266b)=>{const _0x1d6581=_0x17bd;if(_0x188c42[_0x1d6581(0x362)]===_0x1a7f36){const _0x27090c={..._0x188c42};_0x27090c[_0x1d6581(0x357)]=_0x5646f6[_0x188c42[_0x1d6581(0x357)]],_0x3aec83[_0x1d6581(0x228)](_0x28266b,_0x27090c);}}),{'skeleton':_0x5d48ba,'cursors':_0x3aec83};}));}return _0xc70046({'skeleton':null,'cursors':new Map()});}))[_0x49804c(0x255)](({skeleton:_0x46fea0,cursors:_0x3eedae})=>{const _0x28f71c=_0x49804c;this[_0x28f71c(0x1dd)](),_0x46fea0&&this[_0x28f71c(0x2ac)](_0x46fea0,_0x3eedae);}),this[_0x49804c(0x347)][_0x49804c(0x278)][_0x49804c(0x255)](_0x2beb6a=>{const _0xe7a221=_0x49804c;if(_0x2beb6a==null)return;const {skeleton:_0x5051c4}=_0x2beb6a,{scene:_0x3f70c4}=this[_0xe7a221(0x1b5)];_0x3f70c4[_0xe7a221(0x247)][_0xe7a221(0x373)](_0x2f7b2f(_0x3806e6=>{const _0x2ce4c6=_0xe7a221;var _0x45d5a9,_0x183e5a;const {offsetX:_0x3e6ba7,offsetY:_0xb10525}=_0x3806e6,{x:_0xd57d11,y:_0x484a3d}=_0x3f70c4[_0x2ce4c6(0x201)](_0x43e449[_0x2ce4c6(0x22a)]([_0x3e6ba7,_0xb10525])),{scaleX:_0x5cec91,scaleY:_0x4c3ce0}=_0x3f70c4[_0x2ce4c6(0x1d1)](),_0x33195e=_0x3f70c4['getViewport'](_0x4d5ce0[_0x2ce4c6(0x2b5)]),_0x533d00=_0x3f70c4[_0x2ce4c6(0x35b)](_0x43e449[_0x2ce4c6(0x22a)]([_0xd57d11,_0x484a3d]),_0x33195e),_0x47707f=_0x5051c4[_0x2ce4c6(0x37f)](_0x3e6ba7,_0xb10525,_0x5cec91,_0x4c3ce0,_0x533d00);((_0x45d5a9=this[_0x2ce4c6(0x320)])==null?void 0x0:_0x45d5a9[_0x2ce4c6(0x269)])===_0x47707f['column']&&((_0x183e5a=this[_0x2ce4c6(0x320)])==null?void 0x0:_0x183e5a[_0x2ce4c6(0x1a5)])===_0x47707f[_0x2ce4c6(0x1a5)]||this[_0x2ce4c6(0x25b)][_0x2ce4c6(0x2cc)](_0x5f25ba=>{const _0xc98867=_0x2ce4c6;_0x5f25ba[_0xc98867(0x2c9)](_0x47707f);});},0x64));});}[_0x41d137(0x2ac)](_0x58e5f2,_0x3aaf0e){const _0xab1898=_0x41d137;var _0x421ddf;const _0x5f1385=(_0x421ddf=this[_0xab1898(0x347)][_0xab1898(0x257)]())==null?void 0x0:_0x421ddf['skeleton'];if(!_0x5f1385)return;const _0x480378=this[_0xab1898(0x30d)]();if(!_0x480378)return;this[_0xab1898(0x25b)][_0xab1898(0x2cc)](_0x2b318e=>{const _0xe9a976=_0xab1898;_0x2b318e[_0xe9a976(0x1b2)]();});const {scene:_0x18662d}=_0x480378,_0x59bc67=Bi(Array['from'](_0x3aaf0e[_0xab1898(0x28f)]()))[_0xab1898(0x310)](_0x10cd99=>{const _0x38e572=_0xab1898,{color:_0x56760f,range:_0x52c183,name:_0x542373,selection:_0x114621,sheetID:_0x44233d}=_0x10cd99,{startColumn:_0x399c3b,startRow:_0x173ca3,endColumn:_0x235079,endRow:_0x2a7475}=_0x52c183,_0x245c8f=_0x102fed(_0x173ca3,_0x399c3b,_0x18662d,_0x5f1385),_0x57e378=_0x102fed(_0x2a7475,_0x235079,_0x18662d,_0x5f1385),{columnHeaderHeightAndMarginTop:_0x46ec62}=_0x5f1385,{startX:_0x46a59b,startY:_0x1ff1cd}=_0x245c8f,{endX:_0x56c825,endY:_0x1f8163}=_0x57e378,_0x2aaeaa=_0x56c825-_0x46a59b,_0x73fdb0=_0x1f8163-_0x1ff1cd,_0x27b5d7={'labelPosition':_0x1ff1cd-_0x46ec62>=te?_0x38e572(0x231):_0x38e572(0x33a),'sheetID':_0x44233d,'range':_0x52c183,'color':_0x56760f,'name':_0x542373,'selection':_0x114621,'left':_0x46a59b,'top':_0x1ff1cd,'width':_0x2aaeaa,'height':_0x73fdb0,'evented':!0x1,'zIndex':xi};return new Ai(_0x542373,_0x27b5d7);});_0x18662d['addObjects'](_0x59bc67,wi),this[_0xab1898(0x25b)]=new Set(_0x59bc67);}[_0x41d137(0x1dd)](){const _0xcbdcee=_0x41d137;var _0x327be9;(_0x327be9=this[_0xcbdcee(0x25b)])==null||_0x327be9[_0xcbdcee(0x2cc)](_0x1c0af4=>_0x1c0af4['dispose']());}[_0x41d137(0x30d)](){const _0x2cbea1=_0x41d137;return _0x17327e(this[_0x2cbea1(0x1b5)][_0x2cbea1(0x267)],this[_0x2cbea1(0x1b5)]);}};Le=$i([pe(0x1,_0x3a1974(_0x2b1a22)),pe(0x2,_0x3a1974(H)),pe(0x3,_0x3a1974(_0x4fd64a))],Le);function Bi(_0x3522c1){const _0x5b4d58=_0x41d137,_0xafda39=new Map();return _0x3522c1[_0x5b4d58(0x2cc)](_0x32db4a=>{const _0x46f6bd=_0x5b4d58;if(_0xafda39[_0x46f6bd(0x25c)](_0x32db4a['selection'])){const _0x500d93=_0xafda39[_0x46f6bd(0x1de)](_0x32db4a[_0x46f6bd(0x2c3)]);_0x500d93[_0x46f6bd(0x2f1)]+=',\x20'+_0x32db4a[_0x46f6bd(0x2f1)];}else _0xafda39[_0x46f6bd(0x228)](_0x32db4a[_0x46f6bd(0x2c3)],_0x32db4a);}),Array[_0x5b4d58(0x1ce)](_0xafda39[_0x5b4d58(0x28f)]());}var I=function(){const _0xcda998=_0x41d137;return I=Object[_0xcda998(0x377)]||function(_0x2a1e85){const _0x178f80=_0xcda998;for(var _0x4117c7,_0x15c1aa=0x1,_0x4141c0=arguments['length'];_0x15c1aa<_0x4141c0;_0x15c1aa++){_0x4117c7=arguments[_0x15c1aa];for(var _0x5a793c in _0x4117c7)Object[_0x178f80(0x240)][_0x178f80(0x2a2)][_0x178f80(0x2aa)](_0x4117c7,_0x5a793c)&&(_0x2a1e85[_0x5a793c]=_0x4117c7[_0x5a793c]);}return _0x2a1e85;},I[_0xcda998(0x20e)](this,arguments);},ki=function(_0x36b608,_0x46395f){const _0x51204a=_0x41d137;var _0x5b410b={};for(var _0x587cb7 in _0x36b608)Object[_0x51204a(0x240)][_0x51204a(0x2a2)]['call'](_0x36b608,_0x587cb7)&&_0x46395f[_0x51204a(0x2fe)](_0x587cb7)<0x0&&(_0x5b410b[_0x587cb7]=_0x36b608[_0x587cb7]);if(_0x36b608!=null&&typeof Object[_0x51204a(0x352)]==_0x51204a(0x254)){for(var _0x3aff10=0x0,_0x587cb7=Object[_0x51204a(0x352)](_0x36b608);_0x3aff10<_0x587cb7[_0x51204a(0x36f)];_0x3aff10++)_0x46395f[_0x51204a(0x2fe)](_0x587cb7[_0x3aff10])<0x0&&Object[_0x51204a(0x240)][_0x51204a(0x2c5)][_0x51204a(0x2aa)](_0x36b608,_0x587cb7[_0x3aff10])&&(_0x5b410b[_0x587cb7[_0x3aff10]]=_0x36b608[_0x587cb7[_0x3aff10]]);}return _0x5b410b;},We=_0x5c3141(function(_0x13ade8,_0x17fe14){const _0x17df1b=_0x41d137;var _0x577eb7=_0x13ade8['icon'],_0x2d4795=_0x13ade8['id'],_0x3fd358=_0x13ade8['className'],_0x4de0de=_0x13ade8[_0x17df1b(0x20f)],_0x308588=ki(_0x13ade8,[_0x17df1b(0x303),'id',_0x17df1b(0x297),_0x17df1b(0x20f)]),_0x13b4d2=_0x17df1b(0x191)[_0x17df1b(0x248)](_0x2d4795,'\x20')['concat'](_0x3fd358||'')['trim'](),_0x1b4f3b=_0x121b2b('_'[_0x17df1b(0x248)](Wi()));return Nt(_0x577eb7,''[_0x17df1b(0x248)](_0x2d4795),{'defIds':_0x577eb7['defIds'],'idSuffix':_0x1b4f3b[_0x17df1b(0x37e)]},I({'ref':_0x17fe14,'className':_0x13b4d2},_0x308588),_0x4de0de);});function _0x17bd(_0x5eb6e5,_0x494f61){const _0x8cbe48=_0x8cbe();return _0x17bd=function(_0x17bdf7,_0x52b7bf){_0x17bdf7=_0x17bdf7-0x18b;let _0xf5c770=_0x8cbe48[_0x17bdf7];return _0xf5c770;},_0x17bd(_0x5eb6e5,_0x494f61);}function Nt(_0x514d88,_0x345bfc,_0x3e2dfc,_0xfda519,_0x20f640){const _0x4e1407=_0x41d137;return _0x199889(_0x514d88[_0x4e1407(0x311)],I(I({'key':_0x345bfc},Hi(_0x514d88,_0x3e2dfc,_0x20f640)),_0xfda519),(ji(_0x514d88,_0x3e2dfc)[_0x4e1407(0x2bc)]||[])[_0x4e1407(0x310)](function(_0x24260e,_0x573b31){const _0x27c5e9=_0x4e1407;return Nt(_0x24260e,''[_0x27c5e9(0x248)](_0x345bfc,'-')[_0x27c5e9(0x248)](_0x514d88['tag'],'-')[_0x27c5e9(0x248)](_0x573b31),_0x3e2dfc,void 0x0,_0x20f640);}));}function Hi(_0x31c217,_0x5496be,_0x1eb61d){const _0xf7411d=_0x41d137;var _0x4daaf2=I({},_0x31c217[_0xf7411d(0x38e)]);_0x1eb61d!=null&&_0x1eb61d['colorChannel1']&&_0x4daaf2[_0xf7411d(0x1e9)]==='colorChannel1'&&(_0x4daaf2[_0xf7411d(0x1e9)]=_0x1eb61d[_0xf7411d(0x24d)]),_0x31c217['tag']===_0xf7411d(0x264)&&_0x4daaf2['id']&&(_0x4daaf2['id']=_0x4daaf2['id']+_0x5496be[_0xf7411d(0x332)]),Object[_0xf7411d(0x36a)](_0x4daaf2)[_0xf7411d(0x2cc)](function(_0xd00f66){const _0x58de3b=_0xf7411d;var _0x28dccb=_0xd00f66[0x0],_0x3c2da8=_0xd00f66[0x1];_0x28dccb===_0x58de3b(0x264)&&typeof _0x3c2da8==_0x58de3b(0x25e)&&(_0x4daaf2[_0x28dccb]=_0x3c2da8['replace'](/url\(#(.*)\)/,_0x58de3b(0x371)['concat'](_0x5496be[_0x58de3b(0x332)],')')));});var _0x41305b=_0x5496be['defIds'];return!_0x41305b||_0x41305b[_0xf7411d(0x36f)]===0x0||(_0x31c217[_0xf7411d(0x311)]===_0xf7411d(0x321)&&_0x4daaf2[_0xf7411d(0x2fa)]&&(_0x4daaf2['xlink:href']=_0x4daaf2[_0xf7411d(0x2fa)]+_0x5496be['idSuffix']),Object['entries'](_0x4daaf2)[_0xf7411d(0x2cc)](function(_0x5a2f0f){const _0x5f1d17=_0xf7411d;var _0x3efc24=_0x5a2f0f[0x0],_0x48140e=_0x5a2f0f[0x1];typeof _0x48140e==_0x5f1d17(0x25e)&&(_0x4daaf2[_0x3efc24]=_0x48140e[_0x5f1d17(0x339)](/url\(#(.*)\)/,_0x5f1d17(0x371)['concat'](_0x5496be['idSuffix'],')')));})),_0x4daaf2;}function ji(_0x36e83a,_0x1a0cac){const _0x42502a=_0x41d137;var _0x30a95c,_0x34a34a=_0x1a0cac[_0x42502a(0x32e)];return!_0x34a34a||_0x34a34a[_0x42502a(0x36f)]===0x0?_0x36e83a:_0x36e83a[_0x42502a(0x311)]==='defs'&&(!((_0x30a95c=_0x36e83a['children'])===null||_0x30a95c===void 0x0)&&_0x30a95c[_0x42502a(0x36f)])?I(I({},_0x36e83a),{'children':_0x36e83a['children']['map'](function(_0x174c01){const _0x17b21c=_0x42502a;return typeof _0x174c01[_0x17b21c(0x38e)]['id']==_0x17b21c(0x25e)&&_0x34a34a&&_0x34a34a['indexOf'](_0x174c01[_0x17b21c(0x38e)]['id'])>-0x1?I(I({},_0x174c01),{'attrs':I(I({},_0x174c01['attrs']),{'id':_0x174c01[_0x17b21c(0x38e)]['id']+_0x1a0cac[_0x17b21c(0x332)]})}):_0x174c01;})}):_0x36e83a;}function Wi(){const _0x254841=_0x41d137;return Math['random']()[_0x254841(0x26b)](0x24)[_0x254841(0x1a3)](0x2,0x8);}We[_0x41d137(0x285)]=_0x41d137(0x2ab);var Fi={'tag':'svg','attrs':{'fill':_0x41d137(0x1fd),'viewBox':_0x41d137(0x24a),'width':_0x41d137(0x23f),'height':_0x41d137(0x23f)},'children':[{'tag':'g','attrs':{'clipPath':_0x41d137(0x227)},'children':[{'tag':_0x41d137(0x1c2),'attrs':{'stroke':_0x41d137(0x343),'d':_0x41d137(0x19f),'strokeLinecap':_0x41d137(0x301),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41d137(0x29e),'attrs':{},'children':[{'tag':_0x41d137(0x35e),'attrs':{'id':_0x41d137(0x1e5)},'children':[{'tag':'path','attrs':{'fill':_0x41d137(0x30f),'d':_0x41d137(0x2ff)}}]}]}],'defIds':[_0x41d137(0x1e5)]},Ut=_0x5c3141(function(_0x542d3a,_0x514e75){const _0xbc8d5f=_0x41d137;return _0x199889(We,Object[_0xbc8d5f(0x377)]({},_0x542d3a,{'id':_0xbc8d5f(0x313),'ref':_0x514e75,'icon':Fi}));});Ut[_0x41d137(0x285)]='OffLineSingle';var Yi={'tag':_0x41d137(0x2fb),'attrs':{'fill':_0x41d137(0x1fd),'viewBox':_0x41d137(0x23c),'width':_0x41d137(0x23f),'height':_0x41d137(0x23f)},'children':[{'tag':'g','attrs':{'clipPath':_0x41d137(0x1c0)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x41d137(0x1bc),'strokeLinecap':_0x41d137(0x301),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41d137(0x29e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x41d137(0x2b6)},'children':[{'tag':_0x41d137(0x1c2),'attrs':{'fill':'#fff','d':_0x41d137(0x2ff),'transform':'translate(.97)'}}]}]}],'defIds':[_0x41d137(0x2b6)]},Mt=_0x5c3141(function(_0x5cdd3e,_0x113d54){const _0x4268c6=_0x41d137;return _0x199889(We,Object[_0x4268c6(0x377)]({},_0x5cdd3e,{'id':_0x4268c6(0x1e8),'ref':_0x113d54,'icon':Yi}));});Mt['displayName']='OnLineSingle';const Vi='univer-online-status-icon',Xi=_0x41d137(0x35f),Gi='univer-online-status',Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xa484b5){const _0x56c02d=_0x41d137;switch(_0xa484b5){case _0x42d234[_0x56c02d(0x2ee)]:return _0x56c02d(0x246);case _0x42d234[_0x56c02d(0x26c)]:return _0x56c02d(0x330);case _0x42d234[_0x56c02d(0x19b)]:return'collabStatus.fetchMiss';case _0x42d234['NOT_COLLAB']:return _0x56c02d(0x234);case _0x42d234[_0x56c02d(0x1f9)]:case _0x42d234['AWAITING_WITH_PENDING']:return _0x56c02d(0x2a3);case _0x42d234[_0x56c02d(0x1df)]:case _0x42d234['PENDING']:return'collabStatus.synced';}}function Zi(_0x4dc315){const _0x48dbc8=_0x41d137,{status$:_0x1977fa}=_0x4dc315,_0x1873d4=_0x1c038a(_0x1977fa,_0x42d234[_0x48dbc8(0x298)]),_0x32e402=_0x2e7c5a(_0x45b110),_0x49b6ae=_0x2e7c5a(_0x2c138c),_0x292da3=_0x1873d4!==_0x42d234[_0x48dbc8(0x2ee)],_0x452eb5=_0x32e402['t'](Ji(_0x1873d4)),_0x30dfa2=_0x30288c(G[_0x48dbc8(0x18c)],{[G[_0x48dbc8(0x210)]]:_0x292da3,[G[_0x48dbc8(0x1fb)]]:!_0x292da3}),_0x182cf8=_0x292da3?_0xcf01a5(Mt,{}):_0xcf01a5(Ut,{}),_0x3a1c0f=_0x1b67b7(()=>{const _0x5b404f=_0x48dbc8;_0x292da3||_0x49b6ae[_0x5b404f(0x2fd)]();},[_0x292da3,_0x49b6ae]);function _0x2f2c56(){const _0x3478b1=_0x48dbc8;return _0x1ffe02(_0x3478b1(0x1ad),{'className':_0x30288c(_0x30dfa2,'univer-flex\x20univer-items-center'),'onClick':_0x3a1c0f,'children':[_0xcf01a5(_0x3478b1(0x1ad),{'className':G[_0x3478b1(0x214)],'children':_0x182cf8}),_0xcf01a5(_0x3478b1(0x1ad),{'className':G['onlineStatusTitle'],'children':_0x452eb5})]});}return _0x292da3?_0x2f2c56():_0xcf01a5(_0x541a46,{'title':_0x32e402['t'](_0x48dbc8(0x349)),'children':_0x2f2c56()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x16cf35,_0x323bcf,_0x48d877,_0x55d594)=>{const _0x1dea09=_0x41d137;for(var _0x3a835d=_0x55d594>0x1?void 0x0:_0x55d594?Qi(_0x323bcf,_0x48d877):_0x323bcf,_0x3cb135=_0x16cf35[_0x1dea09(0x36f)]-0x1,_0x2bdd50;_0x3cb135>=0x0;_0x3cb135--)(_0x2bdd50=_0x16cf35[_0x3cb135])&&(_0x3a835d=_0x2bdd50(_0x3a835d)||_0x3a835d);return _0x3a835d;},q=(_0x8ab30e,_0x958da5)=>(_0x1e3fcd,_0x37e57b)=>_0x958da5(_0x1e3fcd,_0x37e57b,_0x8ab30e);let se=class extends _0x198e47{constructor(_0x26f962,_0x4dcb3c,_0x2897bf,_0x44ce28){const _0x53c94e=_0x41d137;super(),_(this,_0x53c94e(0x2cf),new _0x58f5ef(_0x42d234['NOT_COLLAB'])),(this[_0x53c94e(0x2ef)]=_0x26f962,this[_0x53c94e(0x20c)]=_0x4dcb3c,this[_0x53c94e(0x1d4)]=_0x2897bf,this[_0x53c94e(0x295)]=_0x44ce28,this[_0x53c94e(0x354)](),this[_0x53c94e(0x36e)]());}['_initStatusListener'](){const _0x42a6b3=_0x41d137;this[_0x42a6b3(0x1c6)](this[_0x42a6b3(0x2ef)][_0x42a6b3(0x388)][_0x42a6b3(0x1b8)](_0x26c63c(()=>{const _0x4fdf06=_0x42a6b3,_0x2824a6=this[_0x4fdf06(0x2ef)]['getFocusedUnit']();return _0x2824a6?this['_collaborationController'][_0x4fdf06(0x32b)](_0x2824a6[_0x4fdf06(0x218)]()):_0xc70046(null);}),_0x26c63c(_0x5dace8=>_0x5dace8?_0x5dace8[_0x42a6b3(0x1b0)]:_0xc70046(_0x42d234[_0x42a6b3(0x298)])))[_0x42a6b3(0x255)](_0x2e481d=>{const _0x54af47=_0x42a6b3;this[_0x54af47(0x2cf)][_0x54af47(0x348)](_0x2e481d);}));}[_0x41d137(0x354)](){const _0x1f710f=_0x41d137;this['disposeWithMe'](this[_0x1f710f(0x295)][_0x1f710f(0x1a9)](_0x2a2f76['HEADER_MENU'],()=>_0x265879(en({'status$':this[_0x1f710f(0x2cf)][_0x1f710f(0x1b4)]()}),this[_0x1f710f(0x20c)])));}};se=qi([q(0x0,_0x24a29d),q(0x1,_0x3a1974(_0x1f6b0d)),q(0x2,_0x3a1974(_0x1aa3d4)),q(0x3,_0xeb5280)],se);function en(_0x41dd83){const {status$:_0x425ef9}=_0x41dd83;return function(){return _0xcf01a5(Zi,{'status$':_0x425ef9});};}var tn=Object[_0x41d137(0x1a0)],sn=(_0x5a2c32,_0x41f0e3,_0x54e318,_0x5553fc)=>{const _0x50b64a=_0x41d137;for(var _0x2f6513=_0x5553fc>0x1?void 0x0:_0x5553fc?tn(_0x41f0e3,_0x54e318):_0x41f0e3,_0x4c42b7=_0x5a2c32[_0x50b64a(0x36f)]-0x1,_0x57c872;_0x4c42b7>=0x0;_0x4c42b7--)(_0x57c872=_0x5a2c32[_0x4c42b7])&&(_0x2f6513=_0x57c872(_0x2f6513)||_0x2f6513);return _0x2f6513;},B=(_0x3b9f31,_0x47d5ce)=>(_0x2412bc,_0x83da30)=>_0x47d5ce(_0x2412bc,_0x83da30,_0x3b9f31);let ie=class extends _0x198e47{constructor(_0x1bbff6,_0x2b9f0b,_0x14f7c3,_0x48dfab,_0x13b20a,_0xf424b1){const _0xaaca6e=_0x41d137;super(),this[_0xaaca6e(0x2e1)]=_0x1bbff6,this[_0xaaca6e(0x2c8)]=_0x2b9f0b,this[_0xaaca6e(0x28a)]=_0x14f7c3,this[_0xaaca6e(0x261)]=_0x48dfab,this['_notificationService']=_0x13b20a,this[_0xaaca6e(0x1a7)]=_0xf424b1,this[_0xaaca6e(0x389)](),this[_0xaaca6e(0x2db)]();}[_0x41d137(0x389)](){const _0xbca7cb=_0x41d137;this[_0xbca7cb(0x1c6)](this[_0xbca7cb(0x2e1)][_0xbca7cb(0x236)](()=>{const _0x42f110=_0xbca7cb;if(this[_0x42f110(0x2c8)]['saveTaskMap'][_0x42f110(0x30e)])return this['_localeService']['t'](_0x42f110(0x1c7));}));}[_0x41d137(0x2db)](){const _0x379294=_0x41d137;this[_0x379294(0x1c6)](this[_0x379294(0x28a)][_0x379294(0x33c)][_0x379294(0x255)](_0x36e620=>{const _0x3f5252=_0x379294;_0x36e620['id']===_0x29c40c[_0x3f5252(0x192)]&&this['_messageService'][_0x3f5252(0x27d)]({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x26e))}),_0x36e620['id']===_0x29c40c['CLOSE_ROOM']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x1ba))}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x1c1)]&&this[_0x3f5252(0x387)]['show']({'title':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x23e)),'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x375)),'type':_0x3f5252(0x36c),'duration':0x0}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x26c)]&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522['Error'],'content':this['_localeService']['t'](_0x3f5252(0x1ba))+'('+_0x36e620[_0x3f5252(0x2ae)]+')'}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x1ac)]&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x27f)],'content':this[_0x3f5252(0x1a7)]['t'](_0x36e620[_0x3f5252(0x2ae)]||'')}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x281)]&&this[_0x3f5252(0x261)]['show']({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x2a1))}),_0x36e620['id']===_0x29c40c['SOCKET_FAILED']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x314)],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x2b1))}),_0x36e620['id']===_0x29c40c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x314)],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x20b))});}));}};ie=sn([B(0x0,_0x1132d1),B(0x1,_0x5e070b),B(0x2,_0x3a1974(_0x29ba97)),B(0x3,_0x318612),B(0x4,_0x32cd36),B(0x5,_0x3a1974(_0x45b110))],ie);const nn=_0x41d137(0x2f8),st={},Pt=_0x2d8bec(_0x41d137(0x32a));var rn=Object[_0x41d137(0x1a0)],on=(_0x28a2b6,_0x51a0f6,_0x56b17e,_0x133489)=>{for(var _0x16d688=_0x133489>0x1?void 0x0:_0x133489?rn(_0x51a0f6,_0x56b17e):_0x51a0f6,_0x3402a7=_0x28a2b6['length']-0x1,_0x5652d9;_0x3402a7>=0x0;_0x3402a7--)(_0x5652d9=_0x28a2b6[_0x3402a7])&&(_0x16d688=_0x5652d9(_0x16d688)||_0x16d688);return _0x16d688;},K=(_0x490d86,_0x263d2c)=>(_0x2b5ccb,_0x54a240)=>_0x263d2c(_0x2b5ccb,_0x54a240,_0x490d86);let ne=class extends _0x3ef275{constructor(_0x4af4c6,_0x171d49,_0x1a18dc,_0x27a17d,_0x4b033e){const _0x5ca6bb=_0x41d137;super(),this['_urlService']=_0x4af4c6,this['_logService']=_0x171d49,this['_commandService']=_0x1a18dc,this['_dataLoaderService']=_0x27a17d,_0x4b033e?_0x4b033e==null||_0x4b033e[_0x5ca6bb(0x33d)]()[_0x5ca6bb(0x21a)](()=>this['_init']()):(this[_0x5ca6bb(0x302)][_0x5ca6bb(0x1e1)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x42c638=_0x41d137,_0x5491e3=this[_0x42c638(0x29b)][_0x42c638(0x334)](_0x42c638(0x267)),_0x1fe8df=this[_0x42c638(0x29b)]['getParam'](_0x42c638(0x1c3)),_0x58bf65=this['_urlService'][_0x42c638(0x334)]('subunit');if(!_0x5491e3||!_0x1fe8df){this[_0x42c638(0x302)][_0x42c638(0x1e1)](_0x42c638(0x233),_0x42c638(0x220));return;}const _0x4cf35a=await this[_0x42c638(0x2d0)][_0x42c638(0x286)](_0x5491e3,Number(_0x1fe8df),_0x58bf65);_0x4cf35a&&_0x4cf35a instanceof _0x3d6ddc&&this[_0x42c638(0x268)](_0x4cf35a);}async[_0x41d137(0x268)](_0x51edd5){const _0x4a0fbd=_0x41d137;await this[_0x4a0fbd(0x260)](_0x51edd5),_0x51edd5[_0x4a0fbd(0x2f5)]['pipe'](_0x40a759(this[_0x4a0fbd(0x1a1)]))['subscribe'](_0x36bdae=>{const _0x341d9b=_0x4a0fbd;_0x36bdae&&this[_0x341d9b(0x2d5)](_0x36bdae);}),this[_0x4a0fbd(0x29b)][_0x4a0fbd(0x34e)][_0x4a0fbd(0x1b8)](_0x40a759(this[_0x4a0fbd(0x1a1)]))[_0x4a0fbd(0x255)](()=>this[_0x4a0fbd(0x260)](_0x51edd5));}[_0x41d137(0x2d5)](_0x5cdfad,_0xd69eaf=!0x1){const _0xbe566c=_0x41d137,_0x36eb44=this[_0xbe566c(0x29b)][_0xbe566c(0x334)](_0xbe566c(0x1be));_0x5cdfad['getSheetId']()!==_0x36eb44&&this[_0xbe566c(0x29b)]['setParam']('subunit',_0x5cdfad['getSheetId'](),_0xd69eaf);}async[_0x41d137(0x260)](_0x1785bc){const _0x3f89d3=_0x41d137;var _0x47c2f1;const _0x3e474a=this['_urlService'][_0x3f89d3(0x334)](_0x3f89d3(0x1be));if(!_0x3e474a||!_0x1785bc['getSheetBySheetId'](_0x3e474a)){const _0x1b30d1=_0x1785bc[_0x3f89d3(0x2b3)]()[0x0],_0x246151=_0x1785bc[_0x3f89d3(0x207)](_0x1b30d1);if(!_0x246151)return;this['_updateURLWithCurrentState'](_0x246151,!0x0),await this[_0x3f89d3(0x380)]['executeCommand'](_0x1ac356['id'],{'unitId':_0x1785bc[_0x3f89d3(0x218)](),'subUnitId':_0x1b30d1});return;}((_0x47c2f1=_0x1785bc[_0x3f89d3(0x328)]())==null?void 0x0:_0x47c2f1[_0x3f89d3(0x2d4)]())!==_0x3e474a&&await this[_0x3f89d3(0x380)][_0x3f89d3(0x1cf)](_0x1ac356['id'],{'unitId':_0x1785bc[_0x3f89d3(0x218)](),'subUnitId':_0x3e474a});}};ne=on([K(0x0,Pt),K(0x1,_0x2b7ba4),K(0x2,_0x3396f3),K(0x3,_0x3a1974(_0x339712)),K(0x4,_0x12e768(_0x2c8359))],ne);var an=Object[_0x41d137(0x1a0)],cn=(_0x1e0ce5,_0xae00a2,_0x2f3c43,_0x419e6d)=>{for(var _0x322d4e=_0x419e6d>0x1?void 0x0:_0x419e6d?an(_0xae00a2,_0x2f3c43):_0xae00a2,_0x43fa52=_0x1e0ce5['length']-0x1,_0x518082;_0x43fa52>=0x0;_0x43fa52--)(_0x518082=_0x1e0ce5[_0x43fa52])&&(_0x322d4e=_0x518082(_0x322d4e)||_0x322d4e);return _0x322d4e;},Ce=(_0x296915,_0xa19b7a)=>(_0x558cc0,_0x26f661)=>_0xa19b7a(_0x558cc0,_0x26f661,_0x296915);let re=class{constructor(_0x2eb729,_0x44fe18,_0xc78b4c){const _0x571b1f=_0x41d137;this[_0x571b1f(0x20c)]=_0x2eb729,this[_0x571b1f(0x34b)]=_0x44fe18,this[_0x571b1f(0x2f7)]=_0xc78b4c;}['transformIMECache'](_0x7eef23){const _0x2fc475=_0x41d137;this[_0x2fc475(0x2dd)](_0x7eef23),this[_0x2fc475(0x1e6)](_0x7eef23);}['transformRemoteChangeset'](_0xc8df52){const _0x41aaf5=_0x41d137,{unitID:_0x1e89f6}=_0xc8df52,_0x39b4ae=this[_0x41aaf5(0x2f7)][_0x41aaf5(0x258)](_0x1e89f6)[_0x41aaf5(0x197)](_0x5cabfc),{redoCache:_0x3fa30b}=_0x39b4ae['getUndoRedoMutationParamsCache']();if(_0x3fa30b[_0x41aaf5(0x36f)]===0x0)return _0xc8df52;let _0x589ec8=_0x5d774a[_0x41aaf5(0x1a6)](_0xc8df52[_0x41aaf5(0x346)][0x0]);for(let _0x3434bf=0x0;_0x3434bf<_0x3fa30b[_0x41aaf5(0x36f)];_0x3434bf++){const _0x40da31={'id':'doc.mutation.rich-text-editing','params':{..._0x3fa30b[_0x3434bf]}},_0x2ec184=this['_transformService'][_0x41aaf5(0x300)](_0x589ec8,_0x40da31,!0x1);if(_0x21e20a(_0x2ec184))throw _0x2ec184[_0x41aaf5(0x36c)];_0x589ec8=_0x2ec184[_0x41aaf5(0x251)];}return{..._0x5d774a['deepClone'](_0xc8df52),'mutations':[_0x589ec8]};}[_0x41d137(0x2dd)](_0x9ccc5f){const _0x2b506b=_0x41d137,{unitID:_0x94d468}=_0x9ccc5f,_0x5ef427=this['_renderManagerService'][_0x2b506b(0x258)](_0x94d468)[_0x2b506b(0x197)](_0x5cabfc),{undoCache:_0x31224a,redoCache:_0x200ce8}=_0x5ef427['getUndoRedoMutationParamsCache']();if(_0x31224a[_0x2b506b(0x36f)]===0x0||_0x200ce8['length']===0x0)return;const _0x38cff4=[],_0x49bda2=[];let _0x5eb5c8=_0x5d774a[_0x2b506b(0x1a6)](_0x9ccc5f[_0x2b506b(0x346)][0x0]),_0x4ef899=_0x5d774a[_0x2b506b(0x1a6)](_0x9ccc5f[_0x2b506b(0x346)][0x0]);for(let _0x706a32=_0x31224a[_0x2b506b(0x36f)]-0x1;_0x706a32>=0x0;_0x706a32--){const _0x33eec2={'id':_0x2b506b(0x336),'params':{..._0x31224a[_0x706a32]}},_0x3fca21={'id':_0x2b506b(0x336),'params':{..._0x200ce8[_0x706a32]}},_0x453763=this['_transformService'][_0x2b506b(0x300)](_0x5eb5c8,_0x33eec2,!0x1),_0x5ab93e=this[_0x2b506b(0x34b)]['transformMutation'](_0x4ef899,_0x3fca21,!0x1);if(_0x21e20a(_0x453763))throw _0x453763[_0x2b506b(0x36c)];if(_0x21e20a(_0x5ab93e))throw _0x5ab93e[_0x2b506b(0x36c)];_0x38cff4['unshift'](_0x453763[_0x2b506b(0x232)]['params']),_0x49bda2[_0x2b506b(0x34d)](_0x5ab93e[_0x2b506b(0x232)][_0x2b506b(0x244)]),_0x5eb5c8=_0x453763[_0x2b506b(0x251)],_0x4ef899=_0x5ab93e['m1Prime'];}_0x5ef427[_0x2b506b(0x200)]({'undoCache':_0x38cff4,'redoCache':_0x49bda2});}['_transformPreviousActiveRange'](_0xd92d1){const _0x546dc4=_0x41d137,{unitID:_0x1007f9}=_0xd92d1,_0x26f3f5=this['_renderManagerService'][_0x546dc4(0x258)](_0x1007f9)['with'](_0x5cabfc),_0x38a62f=_0x26f3f5[_0x546dc4(0x38c)]();if(_0x38a62f==null)return;const _0x1d1afd=[{'id':_0x546dc4(0x336),'params':{'unitId':_0xd92d1[_0x546dc4(0x262)],'actions':null,'textRanges':[_0x38a62f]}}],_0x2085cf=this[_0x546dc4(0x34b)]['transformMutationsWithChangeset'](_0xd92d1,_0x1d1afd);if(!_0x212c4a(_0x2085cf))throw _0x2085cf[_0x546dc4(0x36c)];const _0x183a06=_0x2085cf[_0x546dc4(0x232)][0x0][_0x546dc4(0x244)]['textRanges'];Array[_0x546dc4(0x1e0)](_0x183a06)&&_0x183a06[_0x546dc4(0x36f)]&&_0x26f3f5[_0x546dc4(0x1f0)](_0x183a06[0x0]);}};re=cn([Ce(0x0,_0x3a1974(_0x1f6b0d)),Ce(0x1,_0x37cdab),Ce(0x2,_0xbd89a5)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0xfc2d34,_0x30b21d,_0x5234bc,_0x1f57d6)=>{const _0x2ac730=_0x41d137;for(var _0x313533=_0x1f57d6>0x1?void 0x0:_0x1f57d6?ln(_0x30b21d,_0x5234bc):_0x30b21d,_0x3cf1f7=_0xfc2d34[_0x2ac730(0x36f)]-0x1,_0x3d1266;_0x3cf1f7>=0x0;_0x3cf1f7--)(_0x3d1266=_0xfc2d34[_0x3cf1f7])&&(_0x313533=_0x3d1266(_0x313533)||_0x313533);return _0x313533;},Ee=(_0x60acd8,_0x12fe49)=>(_0x253708,_0xbd65a6)=>_0x12fe49(_0x253708,_0xbd65a6,_0x60acd8);let oe=class{constructor(_0x5b1be1,_0x1bc1e5,_0x25b273){const _0x57926b=_0x41d137;this[_0x57926b(0x20c)]=_0x5b1be1,this[_0x57926b(0x34b)]=_0x1bc1e5,this[_0x57926b(0x1eb)]=_0x25b273;}[_0x41d137(0x1e2)](_0x571bc8){const _0x5966c4=_0x41d137;this[_0x5966c4(0x34f)](_0x571bc8);}['transformRemoteChangeset'](_0x53a5b6){const _0xb5f3c4=_0x41d137,{unitID:_0x3963b0}=_0x53a5b6,{collaboration:_0x47e2ec}=this[_0xb5f3c4(0x1eb)][_0xb5f3c4(0x263)](_0x3963b0);if(_0x47e2ec['length']===0x0)return _0x53a5b6;let _0x41dac7=_0x5d774a[_0xb5f3c4(0x1a6)](_0x53a5b6[_0xb5f3c4(0x346)][0x0]);for(let _0xf45a39=0x0;_0xf45a39<_0x47e2ec[_0xb5f3c4(0x36f)];_0xf45a39++){const _0x4d53c5={'id':_0xb5f3c4(0x336),'params':{'unitId':_0x47e2ec[_0xf45a39][_0xb5f3c4(0x1ec)],..._0x47e2ec[_0xf45a39]['redoState']}},_0x59d54a=this[_0xb5f3c4(0x34b)][_0xb5f3c4(0x300)](_0x41dac7,_0x4d53c5,!0x1);if(_0x21e20a(_0x59d54a))throw _0x59d54a[_0xb5f3c4(0x36c)];_0x41dac7=_0x59d54a[_0xb5f3c4(0x251)];}return{..._0x5d774a[_0xb5f3c4(0x1a6)](_0x53a5b6),'mutations':[_0x41dac7]};}[_0x41d137(0x34f)](_0x51942f){const _0x3b84ed=_0x41d137,{unitID:_0xc1640b}=_0x51942f,{history:_0x4bd459,collaboration:_0x172c42}=this[_0x3b84ed(0x1eb)][_0x3b84ed(0x263)](_0xc1640b);if(_0x4bd459['length']===0x0&&_0x172c42[_0x3b84ed(0x36f)]===0x0)return;const _0x9142b2=[],_0x65f17c=[];let _0xd4826d=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]),_0x4fd434=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f['mutations'][0x0]);for(let _0x532dc6=_0x4bd459[_0x3b84ed(0x36f)]-0x1;_0x532dc6>=0x0;_0x532dc6--){const _0x1b6203={'id':_0x3b84ed(0x336),'params':{'unitId':_0x4bd459[_0x532dc6][_0x3b84ed(0x1ec)],..._0x4bd459[_0x532dc6][_0x3b84ed(0x2ea)]}},_0x44ef42={'id':_0x3b84ed(0x336),'params':{'unitId':_0x4bd459[_0x532dc6][_0x3b84ed(0x1ec)],..._0x4bd459[_0x532dc6]['redoState']}},_0x310abe=this[_0x3b84ed(0x34b)]['transformMutation'](_0xd4826d,_0x1b6203,!0x1),_0x3c97ab=this['_transformService']['transformMutation'](_0x4fd434,_0x44ef42,!0x1);if(_0x21e20a(_0x310abe))throw _0x310abe[_0x3b84ed(0x36c)];if(_0x21e20a(_0x3c97ab))throw _0x3c97ab['error'];_0x9142b2[_0x3b84ed(0x34d)]({..._0x4bd459[_0x532dc6],'undoState':_0x310abe[_0x3b84ed(0x232)][_0x3b84ed(0x244)],'redoState':_0x3c97ab[_0x3b84ed(0x232)][_0x3b84ed(0x244)]}),_0xd4826d=_0x310abe[_0x3b84ed(0x251)],_0x4fd434=_0x3c97ab[_0x3b84ed(0x251)];}_0xd4826d=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]),_0x4fd434=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]);for(let _0xdf3deb=_0x172c42[_0x3b84ed(0x36f)]-0x1;_0xdf3deb>=0x0;_0xdf3deb--){const _0x4f3d77={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x172c42[_0xdf3deb][_0x3b84ed(0x1ec)],..._0x172c42[_0xdf3deb]['undoState']}},_0x49d92f={'id':_0x3b84ed(0x336),'params':{'unitId':_0x172c42[_0xdf3deb][_0x3b84ed(0x1ec)],..._0x172c42[_0xdf3deb][_0x3b84ed(0x2d7)]}},_0x343883=this[_0x3b84ed(0x34b)]['transformMutation'](_0xd4826d,_0x4f3d77,!0x1),_0x48112c=this[_0x3b84ed(0x34b)]['transformMutation'](_0x4fd434,_0x49d92f,!0x1);if(_0x21e20a(_0x343883))throw _0x343883[_0x3b84ed(0x36c)];if(_0x21e20a(_0x48112c))throw _0x48112c[_0x3b84ed(0x36c)];_0x65f17c['unshift']({..._0x172c42[_0xdf3deb],'undoState':_0x343883[_0x3b84ed(0x232)][_0x3b84ed(0x244)],'redoState':_0x48112c[_0x3b84ed(0x232)][_0x3b84ed(0x244)]}),_0xd4826d=_0x343883[_0x3b84ed(0x251)],_0x4fd434=_0x48112c[_0x3b84ed(0x251)];}this[_0x3b84ed(0x1eb)][_0x3b84ed(0x209)](_0xc1640b,{'history':_0x9142b2,'collaboration':_0x65f17c});}};oe=_n([Ee(0x0,_0x3a1974(_0x1f6b0d)),Ee(0x1,_0x37cdab),Ee(0x2,_0x3a1974(_0x181732))],oe);var hn=Object[_0x41d137(0x1a0)],un=(_0xd2eaef,_0x12c101,_0x5e5076,_0x19327b)=>{const _0x55f17f=_0x41d137;for(var _0x40e13d=_0x19327b>0x1?void 0x0:_0x19327b?hn(_0x12c101,_0x5e5076):_0x12c101,_0x5f4f6b=_0xd2eaef[_0x55f17f(0x36f)]-0x1,_0x5873af;_0x5f4f6b>=0x0;_0x5f4f6b--)(_0x5873af=_0xd2eaef[_0x5f4f6b])&&(_0x40e13d=_0x5873af(_0x40e13d)||_0x40e13d);return _0x40e13d;},it=(_0x328091,_0x581afe)=>(_0x4a5a66,_0x3b91e0)=>_0x581afe(_0x4a5a66,_0x3b91e0,_0x328091);let ae=class{constructor(_0x2ff1e3,_0x5946f4){const _0x22b77a=_0x41d137;this[_0x22b77a(0x20c)]=_0x2ff1e3,this[_0x22b77a(0x34b)]=_0x5946f4;}['transformSelections'](_0x324426){const _0x2e0bfd=_0x41d137;var _0x258cad;const _0x2d4f6b=this['_injector'][_0x2e0bfd(0x1de)](_0x48a050),_0x28372b=(_0x258cad=_0x2d4f6b['getDocRanges']())!=null?_0x258cad:[];if(_0x28372b['length']===0x0)return;const _0x581947=_0x324426[_0x2e0bfd(0x262)],_0x5a3e45=[{'id':_0x2e0bfd(0x336),'params':{'unitId':_0x581947,'actions':null,'textRanges':_0x28372b}}],_0x64323e=this[_0x2e0bfd(0x34b)][_0x2e0bfd(0x2cd)](_0x324426,_0x5a3e45);if(!_0x212c4a(_0x64323e))throw _0x64323e[_0x2e0bfd(0x36c)];const _0x5b07de=_0x64323e['m2Prime'][0x0][_0x2e0bfd(0x244)][_0x2e0bfd(0x1cd)];Array[_0x2e0bfd(0x1e0)](_0x5b07de)&&_0x5b07de[_0x2e0bfd(0x36f)]&&_0x2d4f6b[_0x2e0bfd(0x35a)](_0x5b07de,{'unitId':_0x581947,'subUnitId':_0x581947},!0x1);}};ae=un([it(0x0,_0x3a1974(_0x1f6b0d)),it(0x1,_0x37cdab)],ae);var dn=Object[_0x41d137(0x1a0)],fn=(_0x64d5d2,_0x21aa65,_0x1a938f,_0x5ca27a)=>{const _0x4ab483=_0x41d137;for(var _0x1eef20=_0x5ca27a>0x1?void 0x0:_0x5ca27a?dn(_0x21aa65,_0x1a938f):_0x21aa65,_0x3fa1f0=_0x64d5d2[_0x4ab483(0x36f)]-0x1,_0x23cc57;_0x3fa1f0>=0x0;_0x3fa1f0--)(_0x23cc57=_0x64d5d2[_0x3fa1f0])&&(_0x1eef20=_0x23cc57(_0x1eef20)||_0x1eef20);return _0x1eef20;},U=(_0xdb053c,_0x6beb9f)=>(_0x2ba942,_0x508d8c)=>_0x6beb9f(_0x2ba942,_0x508d8c,_0xdb053c);let ce=class extends _0x198e47{constructor(_0x326253,_0x128b7a,_0xd7a0a4,_0x17715e,_0x3ce40a,_0x2b9c74,_0x55c937,_0x36fe0){const _0x4f4ebf=_0x41d137;super(),_(this,_0x4f4ebf(0x2cf),new _0x58f5ef(_0x42d234['NOT_COLLAB'])),(this[_0x4f4ebf(0x1eb)]=_0x326253,this[_0x4f4ebf(0x1d4)]=_0x128b7a,this[_0x4f4ebf(0x287)]=_0xd7a0a4,this[_0x4f4ebf(0x1ef)]=_0x17715e,this[_0x4f4ebf(0x337)]=_0x3ce40a,this[_0x4f4ebf(0x1e3)]=_0x2b9c74,this[_0x4f4ebf(0x261)]=_0x55c937,this[_0x4f4ebf(0x1a7)]=_0x36fe0,this[_0x4f4ebf(0x324)]());}['_initEntityListener'](){const _0x191ee0=_0x41d137;this['disposeWithMe'](this[_0x191ee0(0x1d4)][_0x191ee0(0x1d2)][_0x191ee0(0x255)](_0x4e6a1d=>{const _0x3cf376=_0x191ee0,_0x34b6d1=this[_0x3cf376(0x1eb)][_0x3cf376(0x2f4)][_0x3cf376(0x255)](_0x8e8cbb=>{const _0x4bb06c=_0x3cf376;if(_0x8e8cbb==null)return;const {unitId:_0x1436fa,redoState:_0x1b2861,commandId:_0x21130b}=_0x8e8cbb;if(_0x1436fa!==_0x4e6a1d[_0x4bb06c(0x262)])return;const _0x2bf902={'id':_0x21130b,'type':_0x1581fb[_0x4bb06c(0x288)],'params':{'unitId':_0x1436fa,'actions':_0x1b2861[_0x4bb06c(0x356)],'textRanges':null}};_0x4e6a1d[_0x4bb06c(0x2b2)](_0x2bf902);});if(_0x4e6a1d[_0x3cf376(0x1c6)](_0x34b6d1),_0x4e6a1d instanceof _0x24f9ff){const _0x3fe881={'onTransformIME':_0x4ac6e2=>this[_0x3cf376(0x287)]['transformIMECache'](_0x4ac6e2),'onTransformState':_0x269b6d=>this[_0x3cf376(0x1ef)][_0x3cf376(0x1e2)](_0x269b6d),'onTransformSelections':_0x4f292b=>this[_0x3cf376(0x337)][_0x3cf376(0x1cb)](_0x4f292b),'onSyncEditingCollabCursor':_0x2c3ed8=>this[_0x3cf376(0x1e3)][_0x3cf376(0x365)](_0x2c3ed8),'onTransformRemoteChangesetByIMECache':_0x4198b5=>this[_0x3cf376(0x287)][_0x3cf376(0x369)](_0x4198b5),'onTransformRemoteChangesetByStateCache':_0x48104e=>this[_0x3cf376(0x1ef)][_0x3cf376(0x369)](_0x48104e)};_0x4e6a1d[_0x3cf376(0x37c)](_0x3fe881);}}));}};ce=fn([U(0x0,_0x3a1974(_0x181732)),U(0x1,_0x3a1974(_0x1aa3d4)),U(0x2,_0x3a1974(re)),U(0x3,_0x3a1974(oe)),U(0x4,_0x3a1974(ae)),U(0x5,_0x3a1974(je)),U(0x6,_0x318612),U(0x7,_0x3a1974(_0x45b110))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x3e70ea,_0x13f55c,_0x144713,_0x1887a1)=>{const _0x2cd266=_0x41d137;for(var _0x149441=_0x1887a1>0x1?void 0x0:_0x1887a1?Sn(_0x13f55c,_0x144713):_0x13f55c,_0x3481a5=_0x3e70ea[_0x2cd266(0x36f)]-0x1,_0x2dd5f3;_0x3481a5>=0x0;_0x3481a5--)(_0x2dd5f3=_0x3e70ea[_0x3481a5])&&(_0x149441=_0x2dd5f3(_0x149441)||_0x149441);return _0x149441;},be=(_0x5355e1,_0x30eb1c)=>(_0x1caec2,_0x2d84f9)=>_0x30eb1c(_0x1caec2,_0x2d84f9,_0x5355e1);let Ae=class extends _0x198e47{constructor(_0xe8e28,_0x5b092e,_0x10a35c){const _0x227316=_0x41d137;super(),_(this,_0x227316(0x318),new Map()),_(this,_0x227316(0x22c),new Map()),_(this,'_disabled',!0x1),(this[_0x227316(0x368)]=_0xe8e28,this['_localStorageService']=_0x5b092e,this[_0x227316(0x32c)]=_0x10a35c);}[_0x41d137(0x2a7)](){this['_disabled']=!0x0;}[_0x41d137(0x312)](){this['_disabled']=!0x1;}get[_0x41d137(0x239)](){const _0xae7589=_0x41d137;return this[_0xae7589(0x22c)];}[_0x41d137(0x208)](){const _0x1ec163=_0x41d137;this[_0x1ec163(0x31f)]()[_0x1ec163(0x21a)](()=>super[_0x1ec163(0x208)]());}async[_0x41d137(0x27c)](_0x158cca){const _0x333c4d=_0x41d137;return this[_0x333c4d(0x213)]?null:this['_localStorageService'][_0x333c4d(0x1fc)](_0x2d2e1f(_0x158cca));}async[_0x41d137(0x259)](_0x340e79,_0x19eb22){const _0x1eff23=_0x41d137;return!!this['_localStorageService'][_0x1eff23(0x206)](_0x340e79,_0x19eb22);}[_0x41d137(0x296)](_0x40051f,_0x386f87,_0x39ca7c,_0x5b56f4){const _0x409dee=_0x41d137,_0x34b3dd=this[_0x409dee(0x32c)][_0x409dee(0x1bf)](_0x40051f);this['_cachedData'][_0x409dee(0x228)](_0x40051f,{'unitID':_0x40051f,'type':_0x386f87,'awaitingChangeset':_0x39ca7c,'mutations':_0x5b56f4,'rev':_0x34b3dd}),this[_0x409dee(0x22c)][_0x409dee(0x25c)](_0x40051f)||this[_0x409dee(0x29d)](_0x40051f);}[_0x41d137(0x29d)](_0x387848){const _0xc68aca=_0x41d137,_0x256fed=this[_0xc68aca(0x2e9)]();_0x256fed===0x0?this[_0xc68aca(0x241)](_0x387848):this[_0xc68aca(0x22c)][_0xc68aca(0x228)](_0x387848,setTimeout(()=>this[_0xc68aca(0x241)](_0x387848),_0x256fed));}['_getSaveTimeout'](){const _0x122350=_0x41d137;var _0x24d6a9;return(_0x24d6a9=this[_0x122350(0x368)][_0x122350(0x333)](_0x2cb466))!=null?_0x24d6a9:_0x3e037a;}[_0x41d137(0x241)](_0x15a5e7){const _0x11fdde=_0x41d137,_0x2b39fc=this[_0x11fdde(0x22c)][_0x11fdde(0x1de)](_0x15a5e7);return _0x2b39fc!==void 0x0&&window['clearTimeout'](_0x2b39fc),this[_0x11fdde(0x27a)][_0x11fdde(0x206)](_0x2d2e1f(_0x15a5e7),this[_0x11fdde(0x318)][_0x11fdde(0x1de)](_0x15a5e7))[_0x11fdde(0x21a)](()=>this[_0x11fdde(0x22c)][_0x11fdde(0x2b4)](_0x15a5e7));}async[_0x41d137(0x31f)](){const _0x528b3e=_0x41d137,_0x3efb2c=[];this[_0x528b3e(0x22c)][_0x528b3e(0x2cc)]((_0x30a96b,_0x1a89f6)=>{const _0x2331cd=_0x528b3e;window[_0x2331cd(0x366)](_0x30a96b),_0x3efb2c[_0x2331cd(0x198)](this['_saveCache'](_0x1a89f6)[_0x2331cd(0x21a)](()=>{const _0x380c44=_0x2331cd;this[_0x380c44(0x22c)][_0x380c44(0x2b4)](_0x1a89f6);}));}),await Promise[_0x528b3e(0x1d9)](_0x3efb2c);}};Ae=mn([be(0x0,_0x112c91),be(0x1,_0xe5ed7a),be(0x2,_0x3a1974(_0x11cfdb))],Ae);class gn extends _0x3ef275{constructor(){const _0x3ea0=_0x41d137;super(),_(this,_0x3ea0(0x34e)),this['urlChange$']=_0x449daf(window,'popstate')[_0x3ea0(0x1b8)](_0x40a759(this[_0x3ea0(0x1a1)]),_0x4b4586(0x1),_0x25fe52(void 0x0));}[_0x41d137(0x21b)](_0x2ead70,_0x3081c1,_0xcb24a8=!0x1){const _0x2b1e6f=_0x41d137,_0x3d2760=new URL(window[_0x2b1e6f(0x1ca)][_0x2b1e6f(0x1b7)]);_0x3d2760[_0x2b1e6f(0x338)]['set'](_0x2ead70,_0x3081c1),_0xcb24a8?window[_0x2b1e6f(0x30c)][_0x2b1e6f(0x28b)]('','',_0x3d2760[_0x2b1e6f(0x26b)]()):window['history'][_0x2b1e6f(0x361)]('','',_0x3d2760[_0x2b1e6f(0x26b)]());}[_0x41d137(0x24f)](_0x3b757b,_0x41b944=!0x1){const _0x3989c1=_0x41d137,_0x47d30f=new URL(window[_0x3989c1(0x1ca)][_0x3989c1(0x1b7)]);_0x47d30f[_0x3989c1(0x338)][_0x3989c1(0x2b4)](_0x3b757b),_0x41b944?window[_0x3989c1(0x30c)][_0x3989c1(0x28b)]('','',_0x47d30f['toString']()):window[_0x3989c1(0x30c)][_0x3989c1(0x361)]('','',_0x47d30f[_0x3989c1(0x26b)]());}[_0x41d137(0x334)](_0x8bc956){const _0x282001=_0x41d137;var _0xad3bd5;return(_0xad3bd5=new URL(window[_0x282001(0x1ca)][_0x282001(0x1b7)])[_0x282001(0x338)][_0x282001(0x1de)](_0x8bc956))!=null?_0xad3bd5:void 0x0;}}var vn=Object[_0x41d137(0x32d)],In=Object['getOwnPropertyDescriptor'],pn=(_0x20cc8,_0x104fd7,_0x4b82d3)=>_0x104fd7 in _0x20cc8?vn(_0x20cc8,_0x104fd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b82d3}):_0x20cc8[_0x104fd7]=_0x4b82d3,Cn=(_0x5416a6,_0x49352e,_0x452e4b,_0xe668d8)=>{const _0x43f4fc=_0x41d137;for(var _0x983ef0=_0xe668d8>0x1?void 0x0:_0xe668d8?In(_0x49352e,_0x452e4b):_0x49352e,_0x584790=_0x5416a6[_0x43f4fc(0x36f)]-0x1,_0x256d3f;_0x584790>=0x0;_0x584790--)(_0x256d3f=_0x5416a6[_0x584790])&&(_0x983ef0=_0x256d3f(_0x983ef0)||_0x983ef0);return _0x983ef0;},Oe=(_0x5f096c,_0x5eecfe)=>(_0x18d959,_0x2834da)=>_0x5eecfe(_0x18d959,_0x2834da,_0x5f096c),En=(_0x467bbd,_0x22ac97,_0x13483b)=>pn(_0x467bbd,_0x22ac97+'',_0x13483b);const bn=_0x41d137(0x30b);let ye=class extends _0x3699cf{constructor(_0x5462b0=st,_0x5b512b,_0x3653c2,_0x5dff89){const _0x537669=_0x41d137;super(),this[_0x537669(0x329)]=_0x5462b0,this['_renderManagerService']=_0x5b512b,this[_0x537669(0x20c)]=_0x3653c2,this['_configService']=_0x5dff89;const {..._0x3315fd}=_0x585368({},st,this['_config']);this['_configService']['setConfig'](nn,_0x3315fd);}[_0x41d137(0x306)](){const _0x10b163=_0x41d137;this['_registerDependencies'](),this[_0x10b163(0x24b)]();}[_0x41d137(0x323)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4bedf7=_0x41d137;var _0x134a21;const _0x31310d=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x3dc321,{'useClass':_0x368449}],[_0x5e070b,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x5f03e4(this[_0x4bedf7(0x20c)],_0x3a2b91(_0x31310d,(_0x134a21=this[_0x4bedf7(0x329)])==null?void 0x0:_0x134a21[_0x4bedf7(0x316)]));}[_0x41d137(0x1aa)](){const _0x58afbb=_0x41d137;this[_0x58afbb(0x1c6)](this[_0x58afbb(0x2f7)][_0x58afbb(0x292)](_0x117ba1[_0x58afbb(0x25d)],[we])),this[_0x58afbb(0x1c6)](this['_renderManagerService'][_0x58afbb(0x292)](_0x117ba1[_0x58afbb(0x2a9)],[Le]));}[_0x41d137(0x24b)](){_0x482089(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x41d137(0x358),bn),ye=Cn([_0x3d2610(_0x25e069),Oe(0x1,_0xbd89a5),Oe(0x2,_0x3a1974(_0x1f6b0d)),Oe(0x3,_0x112c91)],ye);var On=Object[_0x41d137(0x1a0)],Tn=(_0x5332b2,_0x36eb79,_0x288122,_0x45d692)=>{for(var _0x499951=_0x45d692>0x1?void 0x0:_0x45d692?On(_0x36eb79,_0x288122):_0x36eb79,_0x68417e=_0x5332b2['length']-0x1,_0x129328;_0x68417e>=0x0;_0x68417e--)(_0x129328=_0x5332b2[_0x68417e])&&(_0x499951=_0x129328(_0x499951)||_0x499951);return _0x499951;},z=(_0x114919,_0x15d14b)=>(_0x137581,_0x5429e8)=>_0x15d14b(_0x137581,_0x5429e8,_0x114919);let nt=class extends _0x452d1f{constructor(_0x3f001e,_0x386a50,_0x17cafc,_0x113564,_0x68f0b0){super(_0x3f001e,_0x386a50,_0x17cafc,_0x113564,_0x68f0b0);}async[_0x41d137(0x229)](_0x3f6b34){const _0x4a9dd6=_0x41d137,_0x3744dc=await this[_0x4a9dd6(0x2e7)](),_0x703eaf=this['_createSocketURL'](_0x3f6b34,_0x3744dc);return this['_doCreateSocket'](_0x703eaf);}['_createSocketURL'](_0x39aeb0,_0xe95782){const _0x5a6fd8=_0x41d137,_0x2a216d=typeof window>'u'?new URL(_0x39aeb0):new URL(_0x39aeb0,window[_0x5a6fd8(0x1ca)][_0x5a6fd8(0x289)]);_0x2a216d[_0x5a6fd8(0x338)]['set']('sessionTicket',_0xe95782);const _0x32b72d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a6fd8(0x1ca)][_0x5a6fd8(0x376)]);return _0x32b72d[_0x5a6fd8(0x1de)]('runId')&&_0x2a216d[_0x5a6fd8(0x338)][_0x5a6fd8(0x228)]('runId',_0x32b72d[_0x5a6fd8(0x1de)]('runId')),_0x2a216d[_0x5a6fd8(0x26b)]();}async['_getSessionTicket'](){const _0x536e30=_0x41d137;var _0x4ec97b,_0x242876,_0xc44367;const _0x51e74d=this[_0x536e30(0x368)][_0x536e30(0x333)](_0x3f8e87),_0x27814d=(_0x4ec97b=_0x51e74d==null?void 0x0:_0x51e74d['wsSessionTicketUrl'])!=null?_0x4ec97b:_0x3a7a3c;return(_0xc44367=(_0x242876=(await this[_0x536e30(0x359)][_0x536e30(0x1de)](_0x27814d,{'headers':{'Content-Type':'application/json'}}))[_0x536e30(0x1d7)])==null?void 0x0:_0x242876[_0x536e30(0x1b9)])!=null?_0xc44367:'';}};nt=Tn([z(0x0,_0x3a1974(_0x1f6b0d)),z(0x1,_0x3a1974(_0xeb991)),z(0x2,_0x112c91),z(0x3,_0x2b7ba4),z(0x4,_0x1c8368)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x198e47{constructor(){const _0x29251f=_0x41d137;super(),_(this,'_id',_0x3377e7()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x29251f(0x23a),new Map()),_(this,_0x29251f(0x29a),new Map()),this[_0x29251f(0x243)]();}[_0x41d137(0x208)](){const _0x261b7=_0x41d137;super[_0x261b7(0x208)](),this[_0x261b7(0x23a)]['forEach']((_0x5a5c06,_0x2fbab0)=>this['_removeClearOtherTimer'](_0x2fbab0)),this[_0x261b7(0x1c4)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x41d137(0x195)](_0x4a9573){const _0x159d17=_0x41d137;return this[_0x159d17(0x224)](_0x4a9573)['pipe'](_0x1c12e6());}[_0x41d137(0x19c)](_0x3d4819){const _0xaaf31c=_0x41d137;this[_0xaaf31c(0x21d)][_0xaaf31c(0x30e)]===0x0&&this['_scheduleHeartbeat'](),this[_0xaaf31c(0x21d)][_0xaaf31c(0x237)](_0x3d4819),this[_0xaaf31c(0x353)]({'type':0x0,'memberID':this[_0xaaf31c(0x270)],'unitIDs':[_0x3d4819],'isForwarded':!0x1});}[_0x41d137(0x283)](_0x1ca4e0){const _0x50f5f9=_0x41d137;this['_selfUnitIDs']['delete'](_0x1ca4e0),this['_selfUnitIDs'][_0x50f5f9(0x30e)]===0x0&&this[_0x50f5f9(0x1c4)]&&window['clearInterval'](this[_0x50f5f9(0x1c4)]);}[_0x41d137(0x243)](){const _0x287cca=_0x41d137;this['disposeWithMe'](_0x20ad76(_0x449daf(window,_0x287cca(0x277))[_0x287cca(0x255)](_0x23b1ab=>{const _0x2844ae=_0x287cca;if(_0x23b1ab[_0x2844ae(0x26a)]!==ot||!_0x23b1ab[_0x2844ae(0x2ec)])return;const _0x3af6f4=JSON['parse'](_0x23b1ab[_0x2844ae(0x2ec)]);this[_0x2844ae(0x212)](_0x3af6f4);}))),window['addEventListener'](_0x287cca(0x274),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x287cca(0x1ce)](this[_0x287cca(0x21d)])}));}[_0x41d137(0x212)](_0x565f6a){const _0x186e54=_0x41d137;switch(_0x565f6a[_0x186e54(0x1c3)]){case 0x0:this[_0x186e54(0x383)](_0x565f6a);break;case 0x1:this[_0x186e54(0x351)](_0x565f6a);break;case 0x2:this[_0x186e54(0x23b)](_0x565f6a);break;}}['_handleJoinEvent'](_0x580866){const _0x1f06c5=_0x41d137,{unitIDs:_0x5b3b0d,memberID:_0x276599,isForwarded:_0x56de39}=_0x580866;_0x5b3b0d[_0x1f06c5(0x2cc)](_0x142809=>{const _0x2ff135=_0x1f06c5;if(!_0x56de39&&this[_0x2ff135(0x1b3)][_0x2ff135(0x25c)](_0x142809)&&this[_0x2ff135(0x224)](_0x142809)[_0x2ff135(0x348)](_0x4774b6[_0x2ff135(0x18d)]),!this[_0x2ff135(0x1b3)]['has'](_0x142809)||!this[_0x2ff135(0x1b3)]['get'](_0x142809)[_0x2ff135(0x25c)](_0x276599)){const _0x549728=this[_0x2ff135(0x1b3)][_0x2ff135(0x1de)](_0x142809)||new Set();_0x549728['add'](_0x276599),this[_0x2ff135(0x1b3)][_0x2ff135(0x228)](_0x142809,_0x549728),this[_0x2ff135(0x279)](_0x276599);}}),_0x56de39||this[_0x1f06c5(0x353)]({'type':0x0,'memberID':this[_0x1f06c5(0x270)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x41d137(0x279)](_0x160a50){const _0x3fbca6=_0x41d137;this[_0x3fbca6(0x1ab)](_0x160a50);const _0xf7ea87=window['setTimeout'](()=>{const _0x1d066a=_0x3fbca6;this[_0x1d066a(0x1b3)][_0x1d066a(0x2cc)](_0x3f68b3=>{const _0x482a31=_0x1d066a;_0x3f68b3[_0x482a31(0x2b4)](_0x160a50);});},rt*0x2);this[_0x3fbca6(0x23a)]['set'](_0x160a50,_0xf7ea87);}[_0x41d137(0x1ab)](_0x1cca20){const _0x564ee2=_0x41d137;if(this[_0x564ee2(0x23a)][_0x564ee2(0x25c)](_0x1cca20)){const _0x2e35eb=this[_0x564ee2(0x23a)]['get'](_0x1cca20);_0x2e35eb&&window[_0x564ee2(0x366)](_0x2e35eb),this[_0x564ee2(0x23a)]['set'](_0x1cca20,null);}}['_handleLeaveEvent'](_0x3e60e6){const _0x1d5c72=_0x41d137,{memberID:_0x533564,unitIDs:_0x19908b}=_0x3e60e6;_0x19908b[_0x1d5c72(0x2cc)](_0x3e04f7=>{const _0x2df4f4=_0x1d5c72;var _0x57e58e;const _0x583d84=this[_0x2df4f4(0x1b3)][_0x2df4f4(0x1de)](_0x3e04f7);_0x583d84&&(_0x583d84[_0x2df4f4(0x2b4)](_0x533564),(_0x57e58e=this[_0x2df4f4(0x224)](_0x3e04f7))==null||_0x57e58e[_0x2df4f4(0x348)](_0x583d84[_0x2df4f4(0x30e)]===0x0?_0x4774b6['NO_OTHER_CLIENTS_EDITING']:_0x4774b6['OTHER_CLIENTS_EDITING']));}),this[_0x1d5c72(0x1ab)](_0x533564);}[_0x41d137(0x23b)](_0x420958){const _0x46938e=_0x41d137;this[_0x46938e(0x279)](_0x420958[_0x46938e(0x2a8)]);}[_0x41d137(0x353)](_0xd15d35){const _0x4df06=_0x41d137;localStorage['setItem'](ot,JSON[_0x4df06(0x2d2)](_0xd15d35));}[_0x41d137(0x319)](){const _0x462096=_0x41d137;this[_0x462096(0x1c4)]=window['setInterval'](()=>{const _0x33eec1=_0x462096;this['_send']({'type':0x2,'memberID':this[_0x33eec1(0x270)]});},rt);}[_0x41d137(0x224)](_0x4aef36){const _0xe8fe1a=_0x41d137;return this['_unitStatus']['has'](_0x4aef36)||this[_0xe8fe1a(0x29a)][_0xe8fe1a(0x228)](_0x4aef36,new _0x58f5ef(_0x4774b6[_0xe8fe1a(0x1c8)])),this['_unitStatus']['get'](_0x4aef36);}}var wt=(_0x844d69=>(_0x844d69[_0x844d69[_0x41d137(0x2c7)]=0x0]=_0x41d137(0x2c7),_0x844d69[_0x844d69['OK']=0x1]='OK',_0x844d69[_0x844d69[_0x41d137(0x23d)]=0x2]=_0x41d137(0x23d),_0x844d69[_0x844d69[_0x41d137(0x1c1)]=0x3]=_0x41d137(0x1c1),_0x844d69[_0x844d69[_0x41d137(0x34c)]=0x4]=_0x41d137(0x34c),_0x844d69[_0x844d69[_0x41d137(0x1d5)]=0x5]=_0x41d137(0x1d5),_0x844d69[_0x844d69['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x844d69[_0x844d69['INVALID_ARGUMENT']=0x7]=_0x41d137(0x38a),_0x844d69[_0x844d69[_0x41d137(0x1f6)]=0x8]=_0x41d137(0x1f6),_0x844d69[_0x844d69[_0x41d137(0x38f)]=0x9]=_0x41d137(0x38f),_0x844d69[_0x844d69[_0x41d137(0x30a)]=0xa]=_0x41d137(0x30a),_0x844d69[_0x844d69[_0x41d137(0x284)]=0x1389]=_0x41d137(0x284),_0x844d69[_0x844d69[_0x41d137(0x1f1)]=0x1771]=_0x41d137(0x1f1),_0x844d69[_0x844d69[_0x41d137(0x2e6)]=0x1772]=_0x41d137(0x2e6),_0x844d69[_0x844d69[_0x41d137(0x211)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x844d69[_0x844d69[_0x41d137(0x1dc)]=0x1b59]=_0x41d137(0x1dc),_0x844d69[_0x844d69[_0x41d137(0x2a5)]=0x1b5a]=_0x41d137(0x2a5),_0x844d69[_0x844d69['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x844d69[_0x844d69[_0x41d137(0x33b)]=0x1b5c]=_0x41d137(0x33b),_0x844d69[_0x844d69[_0x41d137(0x305)]=0x1b5d]=_0x41d137(0x305),_0x844d69[_0x844d69['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x844d69[_0x844d69[_0x41d137(0x204)]=0x2329]=_0x41d137(0x204),_0x844d69[_0x844d69[_0x41d137(0x2de)]=0x232a]=_0x41d137(0x2de),_0x844d69[_0x844d69[_0x41d137(0x1fe)]=0x232b]=_0x41d137(0x1fe),_0x844d69[_0x844d69['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41d137(0x31c),_0x844d69[_0x844d69[_0x41d137(0x355)]=0x232d]=_0x41d137(0x355),_0x844d69[_0x844d69['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41d137(0x26f),_0x844d69[_0x844d69[_0x41d137(0x2bd)]=0x2712]=_0x41d137(0x2bd),_0x844d69[_0x844d69[_0x41d137(0x230)]=0x2713]=_0x41d137(0x230),_0x844d69[_0x844d69['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x41d137(0x364),_0x844d69[_0x844d69[_0x41d137(0x19d)]=0x271a]=_0x41d137(0x19d),_0x844d69[_0x844d69['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x41d137(0x2eb),_0x844d69[_0x844d69['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x41d137(0x331),_0x844d69[_0x844d69[_0x41d137(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x844d69[_0x844d69[_0x41d137(0x2d9)]=0x2ee2]=_0x41d137(0x2d9),_0x844d69[_0x844d69['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x844d69[_0x844d69['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x844d69[_0x844d69[_0x41d137(0x385)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x844d69[_0x844d69['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x844d69[_0x844d69['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x844d69[_0x844d69[_0x41d137(0x280)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x844d69[_0x844d69[_0x41d137(0x2af)]=-0x1]='UNRECOGNIZED',_0x844d69))(wt||{}),Rn=Object[_0x41d137(0x1a0)],Dn=(_0x2354e1,_0x1c905a,_0x3c5c21,_0x1a4bdf)=>{const _0x992d86=_0x41d137;for(var _0x53d721=_0x1a4bdf>0x1?void 0x0:_0x1a4bdf?Rn(_0x1c905a,_0x3c5c21):_0x1c905a,_0x25ffe0=_0x2354e1[_0x992d86(0x36f)]-0x1,_0x1ef674;_0x25ffe0>=0x0;_0x25ffe0--)(_0x1ef674=_0x2354e1[_0x25ffe0])&&(_0x53d721=_0x1ef674(_0x53d721)||_0x53d721);return _0x53d721;},Te=(_0x3e6c42,_0x4ff584)=>(_0x27333e,_0x498fcd)=>_0x4ff584(_0x27333e,_0x498fcd,_0x3e6c42);let at=class extends _0x198e47{constructor(_0x128b46,_0x5a8e44,_0x2025e3){const _0x273ba5=_0x41d137;super(),this['_instanceService']=_0x128b46,this[_0x273ba5(0x359)]=_0x5a8e44,this[_0x273ba5(0x368)]=_0x2025e3;}async[_0x41d137(0x386)](_0x29ee3b,_0x1f2d5d,_0x6043c8,..._0xf17cec){const _0x54a9fc=_0x41d137;var _0x5a9879,_0x575b0c,_0x14ead2,_0x21044a;const _0x37d10e=this[_0x54a9fc(0x25a)][_0x54a9fc(0x1b1)]();if(!_0x37d10e)throw new Error(_0x54a9fc(0x363));const _0x36ec2d=((_0x5a9879=this[_0x54a9fc(0x368)][_0x54a9fc(0x333)](_0x8bb861))!=null?_0x5a9879:_0x3dd5a0)+'/'+_0x29ee3b+_0x54a9fc(0x370)+_0x1f2d5d,_0x4e7d7c=new URL(window['location'][_0x54a9fc(0x1b7)]),_0xd39979={'scriptId':_0x29ee3b,'runId':(_0x575b0c=_0x4e7d7c[_0x54a9fc(0x338)][_0x54a9fc(0x1de)](_0x54a9fc(0x18e)))!=null?_0x575b0c:'','function':_0x1f2d5d,'unitId':_0x37d10e['getUnitId'](),'argsOfFunction':JSON[_0x54a9fc(0x2d2)](_0xf17cec),'invokeId':(_0x14ead2=_0x6043c8[_0x54a9fc(0x37d)])!=null?_0x14ead2:'','executionId':(_0x21044a=_0x6043c8[_0x54a9fc(0x1d6)])!=null?_0x21044a:''};try{const _0x3a7cd4=await this['_httpService']['post'](_0x36ec2d,{'body':_0xd39979});return _0x3a7cd4[_0x54a9fc(0x1d7)]['error']&&_0x3a7cd4['body']['error']['code']!==wt['OK']?_0x54a9fc(0x22b):_0x3a7cd4[_0x54a9fc(0x1d7)][_0x54a9fc(0x266)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x24a29d),Te(0x1,_0x3a1974(_0xeb991)),Te(0x2,_0x112c91)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2682f1=_0x4bbc;function _0x4bbc(_0x210ff0,_0xc8d0ba){const _0x43758d=_0x4375();return _0x4bbc=function(_0x4bbc66,_0x9b423c){_0x4bbc66=_0x4bbc66-0xfd;let _0x5b28e8=_0x43758d[_0x4bbc66];return _0x5b28e8;},_0x4bbc(_0x210ff0,_0xc8d0ba);}(function(_0x495b32,_0x5629a2){const _0x4cec4e=_0x4bbc,_0x72dc3=_0x495b32();while(!![]){try{const _0x3c7268=-parseInt(_0x4cec4e(0x105))/0x1*(-parseInt(_0x4cec4e(0x108))/0x2)+-parseInt(_0x4cec4e(0xfe))/0x3+parseInt(_0x4cec4e(0x100))/0x4*(parseInt(_0x4cec4e(0x102))/0x5)+parseInt(_0x4cec4e(0x10f))/0x6*(parseInt(_0x4cec4e(0x10c))/0x7)+parseInt(_0x4cec4e(0x10a))/0x8*(-parseInt(_0x4cec4e(0x110))/0x9)+-parseInt(_0x4cec4e(0x114))/0xa*(-parseInt(_0x4cec4e(0x104))/0xb)+-parseInt(_0x4cec4e(0x101))/0xc*(parseInt(_0x4cec4e(0x117))/0xd);if(_0x3c7268===_0x5629a2)break;else _0x72dc3['push'](_0x72dc3['shift']());}catch(_0x21110a){_0x72dc3['push'](_0x72dc3['shift']());}}}(_0x4375,0x5145f));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2682f1(0x103),'conflict':'Edit\x20conflicts','notCollab':_0x2682f1(0xff),'synced':_0x2682f1(0x10b),'syncing':_0x2682f1(0x107),'offline':_0x2682f1(0x113)},'session':{'connection-failed':_0x2682f1(0x10e),'will-retry':_0x2682f1(0x10d),'room-full':_0x2682f1(0x109),'collaboration-timeout':_0x2682f1(0xfd)},'conflict':{'title':_0x2682f1(0x116),'content':_0x2682f1(0x112)},'permission':{'title':'Authentication\x20Error','content':_0x2682f1(0x111)},'collaboration':{'single-unit':{'warning':_0x2682f1(0x106)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2682f1(0x115)}};function _0x4375(){const _0x2f9f55=['299ilZuJi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1221015kJqIvW','Local\x20file','400hXsHrs','395796dOKGQU','15815TBRjGp','Syncing\x20server\x20data...','2789259bPHYFi','122684JBAvDA','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','8GOpBpt','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','232NwJHdA','Synced','7EGlvzA','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Connection\x20failed,\x20please\x20check\x20your\x20network.','2815518rEOHQm','9729ryXZnR','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','10NRFIgf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict'];_0x4375=function(){return _0x2f9f55;};return _0x4375();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x587860=_0x23be;(function(_0x34afe7,_0x519bfe){const _0x40edcd=_0x23be,_0x3939dd=_0x34afe7();while(!![]){try{const _0x10ad23=-parseInt(_0x40edcd(0x175))/0x1+-parseInt(_0x40edcd(0x179))/0x2+-parseInt(_0x40edcd(0x170))/0x3+parseInt(_0x40edcd(0x16a))/0x4*(-parseInt(_0x40edcd(0x172))/0x5)+parseInt(_0x40edcd(0x16c))/0x6*(parseInt(_0x40edcd(0x16d))/0x7)+-parseInt(_0x40edcd(0x178))/0x8+-parseInt(_0x40edcd(0x174))/0x9*(-parseInt(_0x40edcd(0x17c))/0xa);if(_0x10ad23===_0x519bfe)break;else _0x3939dd['push'](_0x3939dd['shift']());}catch(_0x25861e){_0x3939dd['push'](_0x3939dd['shift']());}}}(_0x22e4,0x33897));const o={'collab-client':{'tooltip':{'reconnect':_0x587860(0x176)}},'collabStatus':{'fetchMiss':_0x587860(0x171),'conflict':_0x587860(0x173),'notCollab':_0x587860(0x169),'synced':'همگام\x20سازی','syncing':_0x587860(0x17a),'offline':_0x587860(0x16f)},'session':{'connection-failed':_0x587860(0x177),'will-retry':_0x587860(0x16e),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x587860(0x16b)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x587860(0x17b)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x23be(_0x198752,_0xc1ab50){const _0x22e4ba=_0x22e4();return _0x23be=function(_0x23beef,_0x4e1458){_0x23beef=_0x23beef-0x169;let _0x38d438=_0x22e4ba[_0x23beef];return _0x38d438;},_0x23be(_0x198752,_0xc1ab50);}export{o as default};function _0x22e4(){const _0x2755ee=['تداخل\x20ویرایش','8948133JTWwRX','354810MlyaEV','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','296224NcJWUg','385868KmRJdf','در\x20حال\x20همگام\x20سازی...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','10RpQbKU','پرونده\x20محلی','192GbUBPp','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','55704MwiiEk','112TXfqvd','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','86598jnFscP','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','33130YVhJAJ'];_0x22e4=function(){return _0x2755ee;};return _0x22e4();}
|