@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507181608

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xb934fa=_0xa951;(function(_0x506327,_0x496b18){const _0x14e9ac=_0xa951,_0xfecdec=_0x506327();while(!![]){try{const _0x39bd4a=-parseInt(_0x14e9ac(0x1de))/0x1*(parseInt(_0x14e9ac(0x22a))/0x2)+parseInt(_0x14e9ac(0x1e6))/0x3*(-parseInt(_0x14e9ac(0x10e))/0x4)+-parseInt(_0x14e9ac(0xd6))/0x5+-parseInt(_0x14e9ac(0x1a9))/0x6*(-parseInt(_0x14e9ac(0xe9))/0x7)+parseInt(_0x14e9ac(0x1ce))/0x8+-parseInt(_0x14e9ac(0x103))/0x9*(parseInt(_0x14e9ac(0xf0))/0xa)+parseInt(_0x14e9ac(0x229))/0xb*(parseInt(_0x14e9ac(0x18f))/0xc);if(_0x39bd4a===_0x496b18)break;else _0xfecdec['push'](_0xfecdec['shift']());}catch(_0x1766aa){_0xfecdec['push'](_0xfecdec['shift']());}}}(_0x3b8e,0xebb32));var xt=Object[_0xb934fa(0x2e1)],Bt=(_0x985279,_0x4427c6,_0x4c8120)=>_0x4427c6 in _0x985279?xt(_0x985279,_0x4427c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c8120}):_0x985279[_0x4427c6]=_0x4c8120,_=(_0x1ce92c,_0x443964,_0x2c2fd4)=>Bt(_0x1ce92c,typeof _0x443964!='symbol'?_0x443964+'':_0x443964,_0x2c2fd4);import{MemberService as _0x1264aa,SessionStatus as _0x57b0e7,CollaborationSessionService as _0x57c567,CollaborationStatus as _0x5116e8,CollaborationController as _0x5d2352,ILocalCacheService as _0x5caa1c,CollaborationUIEventService as _0x3a3153,CollaborationUIEventId as _0x346bff,DataLoaderService as _0x56c772,DocCollaborationEntity as _0xbad9f8,getLocalCacheKey as _0x21b8bc,LOCAL_CACHE_INTERVAL as _0x2cd666,LOCAL_CACHE_INTERVAL_KEY as _0x2eb720,UniverCollaborationClientPlugin as _0x558812,CollaborationSocketService as _0x2afce0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29f867,DEFAULT_WS_SESSION_TICKET_URL as _0x34c6ac,UnitStatus as _0x4b62bd,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3b0e6c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3fc829}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xe5d784,Disposable as _0x39b506,DOC_RANGE_TYPE as _0x4bad4c,Inject as _0x45d71d,Injector as _0x327790,IUniverInstanceService as _0x501819,ICommandService as _0x22d3f6,debounce as _0x55b0ad,Rectangle as _0x5af18c,DisposableCollection as _0x5dab93,toDisposable as _0x41f926,UniverInstanceType as _0x58ec08,generateRandomId as _0x269f9,COLORS as _0x1156cb,ColorKit as _0x52af0e,ThemeService as _0x3b4c67,fromEventSubject as _0x1962c9,LocaleService as _0x45c1f5,createIdentifier as _0x2b6dff,ILogService as _0x62682,Optional as _0x1ebe5e,Workbook as _0x12a0e0,Tools as _0x54c234,CommandType as _0xceca2a,IConfigService as _0xb60a07,ILocalStorageService as _0x22024e,DependentOn as _0xea7a49,Plugin as _0x48fd04,merge as _0x2f2e70,registerDependencies as _0x5fa611,mergeOverrideWithDependencies as _0x50f88a,touchDependencies as _0x598ccf}from'@univerjs/core';import{Shape as _0x1e0fb0,Rect as _0xb220e1,getColor as _0xdcc1d2,RegularPolygon as _0xfc8c5e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x13c955,Vector2 as _0x163b36,SHEET_VIEWPORT_KEY as _0xe77fad,IRenderManagerService as _0x2ce009}from'@univerjs/engine-render';import{ISocketService as _0xaa4d69,WebSocketService as _0x5699e5,HTTPService as _0x2d5d37}from'@univerjs/network';import{IDocClipboardService as _0x4c6cd0,NodePositionConvertToCursor as _0x4d7874,NodePositionConvertToRectRange as _0x479240,TEXT_RANGE_LAYER_INDEX as _0x20fc12,SetDocZoomRatioOperation as _0x514515,DocIMEInputManagerService as _0x11ab77,DocStateChangeManagerService as _0x2f3ab2}from'@univerjs/docs-ui';import{IImageIoService as _0x494a51}from'@univerjs/drawing';import{BehaviorSubject as _0xb446e,debounceTime as _0x137834,takeUntil as _0x5023c9,Subject as _0x2764ed,filter as _0x23e369,switchMap as _0x270e7f,merge as _0x1e7663,combineLatest as _0x5c74bb,of as _0xb7c481,fromEvent as _0x29b797,shareReplay as _0x5bfbef,mapTo as _0x449b84,distinctUntilChanged as _0x2f38dc}from'rxjs';import{ITransformService as _0x4c1858,CollaborationEvent as _0x5b1ef6,isTransformMutationFailure as _0x54ca96,isTransformMutationsWithChangesetSuccess as _0x4c9336,RevisionService as _0x330ac4,ISnapshotServerService as _0x2536d0}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x60d2c7,RichTextEditingMutation as _0x17219e,DocSelectionManagerService as _0x363a42,DocSkeletonManagerService as _0x29096d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x37eab4,serializeRangeWithSheet as _0xfe85cb}from'@univerjs/engine-formula';import{RefRangeService as _0x203c56,SetSelectionsOperation as _0x1edfed,SheetsSelectionsService as _0x493287,EffectRefRangId as _0x242508,handleIRemoveRow as _0x5da61a,handleIRemoveCol as _0x95db7,handleMoveRange as _0x281c3d,handleInsertRow as _0x49aad9,handleInsertRangeMoveRight as _0x1d5fcb,handleInsertRangeMoveDown as _0x46de16,handleInsertCol as _0x306443,handleDeleteRangeMoveUp as _0x1c549f,handleDeleteRangeMoveLeft as _0x53c231,runRefRangeMutations as _0x45e560,SetWorksheetActivateCommand as _0x402dde}from'@univerjs/sheets';import{map as _0x3f8b85,filter as _0x118486,throttleTime as _0x1b802e,takeUntil as _0x170170,switchMap as _0x2b84d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x990327,getCoordByCell as _0x2215c6,getSheetObject as _0x1de5f2}from'@univerjs/sheets-ui';import{jsx as _0x5d97e8,jsxs as _0x39e503}from'react/jsx-runtime';import{useObservable as _0x2a35fb,useDependency as _0x39ca09,IUIPartsService as _0x3f7786,BuiltInUIPart as _0x56d0dc,connectInjector as _0x17782a,IBeforeCloseService as _0x29e94c,IMessageService as _0x1ea12f,INotificationService as _0x359add}from'@univerjs/ui';import{Tooltip as _0x50c788,clsx as _0x2f9a76,MessageType as _0x4a72e3}from'@univerjs/design';import{forwardRef as _0xefd32e,useRef as _0x15176a,createElement as _0x4f054a,useCallback as _0x6d348b}from'react';import{IRemoteInstanceService as _0x4e84c4}from'@univerjs/rpc';var ci=Object[_0xb934fa(0x190)],li=(_0x47a5f0,_0x13f558,_0x2bf82b,_0x3b0e80)=>{const _0x486ae0=_0xb934fa;for(var _0x95140e=_0x3b0e80>0x1?void 0x0:_0x3b0e80?ci(_0x13f558,_0x2bf82b):_0x13f558,_0x1dbaeb=_0x47a5f0[_0x486ae0(0x29d)]-0x1,_0x26e7d4;_0x1dbaeb>=0x0;_0x1dbaeb--)(_0x26e7d4=_0x47a5f0[_0x1dbaeb])&&(_0x95140e=_0x26e7d4(_0x95140e)||_0x95140e);return _0x95140e;},Ze=(_0x94a01c,_0x558a6a)=>(_0x299a15,_0x3e25a6)=>_0x558a6a(_0x299a15,_0x3e25a6,_0x94a01c);let Ue=class extends _0xe5d784{constructor(_0x64e23c,_0x117e38){const _0x23b27e=_0xb934fa;super(),this[_0x23b27e(0x2d4)]=_0x64e23c,this[_0x23b27e(0x135)]=_0x117e38,this[_0x23b27e(0x127)]();}[_0xb934fa(0x127)](){const _0x5580c6=_0xb934fa,_0x1df165=this;this['disposeWithMe'](this[_0x5580c6(0x2d4)][_0x5580c6(0x17f)]({'onBeforePasteImage':async _0xf09172=>{const _0x38d2d2=_0x5580c6,_0x36ed5d=await _0x1df165[_0x38d2d2(0x135)][_0x38d2d2(0x264)](_0xf09172);return _0x36ed5d?{'source':_0x36ed5d[_0x38d2d2(0x288)],'imageSourceType':_0x36ed5d['imageSourceType']}:null;}}));}};Ue=li([Ze(0x0,_0x4c6cd0),Ze(0x1,_0x494a51)],Ue);const Qe=['purple.300',_0xb934fa(0x1f3),_0xb934fa(0x2cb),_0xb934fa(0xfb),_0xb934fa(0x237),_0xb934fa(0x1e1)];class He extends _0x39b506{constructor(){const _0x4c9b7c=_0xb934fa;super(...arguments),_(this,_0x4c9b7c(0x1e9),new Map()),_(this,_0x4c9b7c(0x122),0x0);}[_0xb934fa(0x20d)](_0x34f767){const _0x51af7c=_0xb934fa;if(this[_0x51af7c(0x1e9)]['has'](_0x34f767))return this[_0x51af7c(0x1e9)][_0x51af7c(0x23f)](_0x34f767);const _0x2d5856=Qe[this[_0x51af7c(0x122)]];return this['_colorIndex']=(this[_0x51af7c(0x122)]+0x1)%Qe['length'],this[_0x51af7c(0x1e9)][_0x51af7c(0x2d6)](_0x34f767,_0x2d5856),_0x2d5856;}}function Rt(_0x4ec0ba){const _0x1bc719=_0xb934fa;let _0x441655='';for(const _0x1bd442 of _0x4ec0ba){const {startOffset:_0x3932f4,endOffset:_0x21c5bd,isActive:_0x5a9037,rangeType:_0x59d23f,segmentId:_0x7770,segmentPage:_0x4aa52e}=_0x1bd442;_0x441655[_0x1bc719(0x29d)]&&(_0x441655+=','),_0x441655+=_0x3932f4+':'+_0x21c5bd+':'+(_0x5a9037?'1':'0')+':'+_0x59d23f+':'+_0x7770+':'+_0x4aa52e;}return _0x441655;}function _i(_0x19808b){const _0x5a125b=_0xb934fa,_0x182be4=_0x19808b[_0x5a125b(0x16d)](','),_0x124c3e=[];for(const _0x27a7ca of _0x182be4){const [_0x413f97,_0x97a90e,_0x301cd0,_0x4547f3,_0x819487,_0x27cc2]=_0x27a7ca['split'](':');_0x124c3e[_0x5a125b(0x154)]({'startOffset':Number(_0x413f97),'endOffset':Number(_0x97a90e),'collapsed':_0x413f97===_0x97a90e,'isActive':_0x301cd0==='1','rangeType':_0x4547f3===_0x4bad4c[_0x5a125b(0xf8)]?_0x4bad4c[_0x5a125b(0xf8)]:_0x4bad4c[_0x5a125b(0x240)],'segmentId':typeof _0x819487==_0x5a125b(0x14b)?String(_0x819487):'','segmentPage':Number(_0x27cc2!=null?_0x27cc2:-0x1)});}return _0x124c3e[_0x5a125b(0x21e)](_0x40966b=>_0x40966b[_0x5a125b(0x27a)])||(_0x124c3e[0x0][_0x5a125b(0x27a)]=!0x0),_0x124c3e;}class Fe extends _0xe5d784{constructor(){const _0xefbf03=_0xb934fa;super(...arguments),_(this,'_collabCursorState$',new _0xb446e(null)),_(this,_0xefbf03(0x1b9),this[_0xefbf03(0x220)][_0xefbf03(0x21a)]());}[_0xb934fa(0x142)](_0x5c360d){const _0x567552=_0xb934fa,{unitID:_0x181a3b,memberID:_0x5eb5b0,textRanges:_0x3c602c}=_0x5c360d,_0x3acd55=Rt(_0x3c602c);if(_0x3acd55==='')return;const _0x490365={'unitID':_0x181a3b,'memberID':_0x5eb5b0,'selection':_0x3acd55};this['_collabCursorState$'][_0x567552(0x115)](_0x490365);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x65822,_0x3064dc,_0x48f357,_0x4e76ac)=>{for(var _0x6c1759=_0x4e76ac>0x1?void 0x0:_0x4e76ac?hi(_0x3064dc,_0x48f357):_0x3064dc,_0x19b040=_0x65822['length']-0x1,_0x11a159;_0x19b040>=0x0;_0x19b040--)(_0x11a159=_0x65822[_0x19b040])&&(_0x6c1759=_0x11a159(_0x6c1759)||_0x6c1759);return _0x6c1759;},P=(_0x7366e5,_0x486084)=>(_0x2e02d9,_0x5bc726)=>_0x486084(_0x2e02d9,_0x5bc726,_0x7366e5);const di=0x12c,fi=0x64;let Me=class extends _0xe5d784{constructor(_0x459332,_0x360c16,_0x5bdb00,_0x36568e,_0x4e5889,_0x261333,_0x20585c,_0x20c05a,_0x48e888){const _0x2c331f=_0xb934fa;super(),_(this,_0x2c331f(0x15f),!0x1),_(this,_0x2c331f(0x127),!0x1),_(this,_0x2c331f(0x22d),new _0xb446e(new Map())),_(this,'cursorInfo$',this[_0x2c331f(0x22d)][_0x2c331f(0x21a)]()),_(this,_0x2c331f(0x22c),new _0xb446e([])),_(this,_0x2c331f(0x1c8),this[_0x2c331f(0x22c)]['pipe'](_0x137834(di))),_(this,_0x2c331f(0xf2),_0x55b0ad(_0x23ec16=>{const _0x2c6886=_0x2c331f,_0x59cfd8={'eventID':_0x5b1ef6[_0x2c6886(0x26a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2c6886(0x1f1)](),'selection':Rt(_0x23ec16)}};this[_0x2c6886(0x13a)][_0x2c6886(0x2aa)](_0x59cfd8,this['unitID']);},fi)),(this['unitID']=_0x459332,this[_0x2c331f(0x13a)]=_0x360c16,this[_0x2c331f(0x2af)]=_0x5bdb00,this[_0x2c331f(0x158)]=_0x36568e,this['_memberService']=_0x4e5889,this[_0x2c331f(0x233)]=_0x261333,this['_transformService']=_0x20585c,this[_0x2c331f(0x134)]=_0x20c05a,this[_0x2c331f(0x1b1)]=_0x48e888);}get[_0xb934fa(0x108)](){const _0x5e03b7=_0xb934fa;return this[_0x5e03b7(0x22d)][_0x5e03b7(0x1d7)]();}get[_0xb934fa(0x289)](){const _0x11f21a=_0xb934fa;return this['_roomMembers$'][_0x11f21a(0x1d7)]();}[_0xb934fa(0x23b)](){const _0x4b64e3=_0xb934fa;super[_0x4b64e3(0x23b)](),this[_0x4b64e3(0x22d)][_0x4b64e3(0x115)](new Map()),this[_0x4b64e3(0x22d)][_0x4b64e3(0x1d2)](),this[_0x4b64e3(0x22c)][_0x4b64e3(0x115)]([]),this[_0x4b64e3(0x22c)]['complete']();}[_0xb934fa(0x293)](){const _0x4822bc=_0xb934fa;this[_0x4822bc(0x127)]||(this[_0x4822bc(0x127)]=!0x0,this[_0x4822bc(0x13a)][_0x4822bc(0x2bc)][_0x4822bc(0x224)](_0x5023c9(this[_0x4822bc(0x13e)]))[_0x4822bc(0x140)](_0x45371c=>{const _0x3b0e85=_0x4822bc;_0x45371c===_0x57b0e7[_0x3b0e85(0x18c)]?this[_0x3b0e85(0xe0)]():this['_toggleOffline']();}),this[_0x4822bc(0x13a)][_0x4822bc(0xea)][_0x4822bc(0x224)](_0x5023c9(this[_0x4822bc(0x13e)]))[_0x4822bc(0x140)](_0x54a5e8=>{const _0x2737ef=_0x4822bc,_0x956644=_0x54a5e8[_0x2737ef(0x1f5)];_0x956644===_0x5b1ef6[_0x2737ef(0x26a)]&&this[_0x2737ef(0x169)](_0x54a5e8),_0x956644===_0x5b1ef6[_0x2737ef(0x151)]&&this[_0x2737ef(0x107)](_0x54a5e8);}),this[_0x4822bc(0x226)](this[_0x4822bc(0x1b1)][_0x4822bc(0xeb)](_0x2577e0=>{const _0x478753=_0x4822bc,_0x500268=_0x2577e0['params'];_0x500268!=null&&this[_0x478753(0x15f)]&&_0x2577e0['id']===_0x60d2c7['id']&&_0x500268[_0x478753(0x265)]===this[_0x478753(0x2de)]&&_0x500268[_0x478753(0x189)]===!0x1&&_0x500268['ranges'][_0x478753(0x29d)]>0x0&&this[_0x478753(0xf2)](_0x500268[_0x478753(0x192)]);})),this[_0x4822bc(0x233)][_0x4822bc(0x1b9)][_0x4822bc(0x224)](_0x5023c9(this['dispose$']))[_0x4822bc(0x140)](_0x5b2c86=>{const _0x5bb024=_0x4822bc;if((_0x5b2c86==null?void 0x0:_0x5b2c86[_0x5bb024(0x2de)])!==this['unitID'])return;const _0x1cee36={'eventID':_0x5b1ef6[_0x5bb024(0x26a)],'data':_0x5b2c86};this[_0x5bb024(0x169)](_0x1cee36);}),this[_0x4822bc(0x226)](this[_0x4822bc(0x1b1)][_0x4822bc(0xeb)](_0x12be12=>{const _0x17c0c9=_0x4822bc;if(_0x12be12[_0x17c0c9(0x290)]==null)return;const _0x207bfa=_0x12be12[_0x17c0c9(0x290)];if(_0x12be12['id']!==_0x17219e['id']||_0x207bfa[_0x17c0c9(0x265)]!==this['unitID'])return;const _0x1b704d={'id':'doc.mutation.rich-text-editing','params':_0x207bfa},_0x1e5ab0=this['cursorInfo'];for(const [_0x555090,_0x15c3c5]of _0x1e5ab0){const _0x291998={'id':_0x17c0c9(0x11e),'params':{'unitId':this[_0x17c0c9(0x2de)],'actions':null,'textRanges':_0x15c3c5[_0x17c0c9(0x192)]}},_0x4ca98d=this[_0x17c0c9(0x1dc)][_0x17c0c9(0x141)](_0x1b704d,_0x291998,!0x1);if(_0x54ca96(_0x4ca98d))throw _0x4ca98d[_0x17c0c9(0x244)];_0x1e5ab0[_0x17c0c9(0x2d6)](_0x555090,{..._0x15c3c5,'ranges':_0x4ca98d[_0x17c0c9(0x1ae)]['params'][_0x17c0c9(0x28e)]});}queueMicrotask(()=>{const _0x5dafe2=_0x17c0c9;this[_0x5dafe2(0x22d)][_0x5dafe2(0x115)](_0x1e5ab0);});})));}[_0xb934fa(0x169)](_0x3496fe){const _0x4b74ed=_0xb934fa;var _0x39b6fb,_0x3d183f;const {memberID:_0x4748ef,selection:_0x5a542c}=_0x3496fe[_0x4b74ed(0xe3)],_0x125706=_i(_0x5a542c),_0x2eb3e0=(_0x3d183f=(_0x39b6fb=this[_0x4b74ed(0x1f4)][_0x4b74ed(0x176)](this[_0x4b74ed(0x2de)],_0x4748ef))==null?void 0x0:_0x39b6fb[_0x4b74ed(0x24a)])!=null?_0x3d183f:_0x4b74ed(0x2a6),_0x448ba6={'color':this[_0x4b74ed(0x158)]['assignAColorForMemberID'](_0x4748ef),'name':_0x2eb3e0,'ranges':_0x125706},_0x3908cc=this[_0x4b74ed(0x108)];_0x3908cc[_0x4b74ed(0x2d6)](_0x4748ef,_0x448ba6),this[_0x4b74ed(0x22d)]['next'](_0x3908cc);}[_0xb934fa(0x107)](_0x59c1b0){const _0x2f646c=_0xb934fa,{memberID:_0x5d9d2e}=_0x59c1b0[_0x2f646c(0xe3)],_0x531ff3=this[_0x2f646c(0x108)];_0x531ff3[_0x2f646c(0x145)](_0x5d9d2e),this['_cursorInfo$'][_0x2f646c(0x115)](_0x531ff3);}[_0xb934fa(0xe0)](){const _0x586bf6=_0xb934fa;var _0x48ee53;if(this[_0x586bf6(0x15f)]=!0x0,((_0x48ee53=this[_0x586bf6(0x134)][_0x586bf6(0x1a7)]())==null?void 0x0:_0x48ee53[_0x586bf6(0x254)]())!==this['unitID'])return;const _0x20cbc7=this[_0x586bf6(0x2af)]['get'](_0x363a42)[_0x586bf6(0x17a)]();Array['isArray'](_0x20cbc7)&&_0x20cbc7[_0x586bf6(0x29d)]>0x0&&this[_0x586bf6(0xf2)](_0x20cbc7);}[_0xb934fa(0x119)](){const _0x4b1ebe=_0xb934fa;this[_0x4b1ebe(0x15f)]=!0x1;}};Me=ui([P(0x2,_0x45d71d(_0x327790)),P(0x3,_0x45d71d(He)),P(0x4,_0x45d71d(_0x1264aa)),P(0x5,_0x45d71d(Fe)),P(0x6,_0x4c1858),P(0x7,_0x501819),P(0x8,_0x22d3f6)],Me);var Si=Object[_0xb934fa(0x190)],mi=(_0x1a435f,_0x5981d6,_0x3e7b90,_0x5c8f7e)=>{const _0x4617cb=_0xb934fa;for(var _0x5e99bd=_0x5c8f7e>0x1?void 0x0:_0x5c8f7e?Si(_0x5981d6,_0x3e7b90):_0x5981d6,_0x59df78=_0x1a435f[_0x4617cb(0x29d)]-0x1,_0x3f4253;_0x59df78>=0x0;_0x59df78--)(_0x3f4253=_0x1a435f[_0x59df78])&&(_0x5e99bd=_0x3f4253(_0x5e99bd)||_0x5e99bd);return _0x5e99bd;},x=(_0x22a594,_0x331927)=>(_0x3d5891,_0x587861)=>_0x331927(_0x3d5891,_0x587861,_0x22a594);const Ii=0x12c,vi=0x64,gi=()=>{let _0x52f5c5=[],_0xcf9354=!0x1;return _0x33298a=>{const _0x53c93b=_0xa951;_0x52f5c5[_0x53c93b(0x154)](_0x33298a),_0xcf9354||(_0xcf9354=!0x0,setTimeout(()=>{const _0x40d277=_0x53c93b;_0x52f5c5[_0x40d277(0x21f)](_0x7f9e27=>_0x7f9e27()),_0x52f5c5=[],_0xcf9354=!0x1;}));};};let Le=class extends _0xe5d784{constructor(_0x14aba3,_0x3847fe,_0x28c74b,_0x3af348,_0x554918,_0x4ae23a,_0x298326,_0xc059b6){const _0xe4a8a9=_0xb934fa;super(),_(this,_0xe4a8a9(0x15f),!0x1),_(this,_0xe4a8a9(0x127),!0x1),_(this,_0xe4a8a9(0x22d),new _0xb446e(new Map())),_(this,_0xe4a8a9(0x18a),this[_0xe4a8a9(0x22d)][_0xe4a8a9(0x21a)]()),_(this,_0xe4a8a9(0x22c),new _0xb446e([])),_(this,_0xe4a8a9(0x1c8),this[_0xe4a8a9(0x22c)][_0xe4a8a9(0x224)](_0x137834(Ii))),_(this,_0xe4a8a9(0xf2),_0x55b0ad((_0x53887d,_0x5765af)=>{const _0x99a8e0=_0xe4a8a9,_0xfbf352={'eventID':_0x5b1ef6[_0x99a8e0(0x26a)],'data':{'unitID':this[_0x99a8e0(0x2de)],'memberID':this['_session'][_0x99a8e0(0x1f1)](),'selection':_0xfe85cb(_0x53887d,_0x5765af[_0x99a8e0(0x1b2)])}};this[_0x99a8e0(0x13a)][_0x99a8e0(0x2aa)](_0xfbf352,this['unitID']);},vi)),(this[_0xe4a8a9(0x2de)]=_0x14aba3,this['_session']=_0x3847fe,this[_0xe4a8a9(0x2af)]=_0x28c74b,this[_0xe4a8a9(0x158)]=_0x3af348,this['_memberService']=_0x554918,this[_0xe4a8a9(0x134)]=_0x4ae23a,this['_commandService']=_0x298326,this[_0xe4a8a9(0x2b9)]=_0xc059b6);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0xb934fa(0x289)](){const _0x504147=_0xb934fa;return this[_0x504147(0x22c)]['getValue']();}[_0xb934fa(0x23b)](){const _0x23530a=_0xb934fa;super[_0x23530a(0x23b)](),this[_0x23530a(0x22d)]['next'](new Map()),this[_0x23530a(0x22d)][_0x23530a(0x1d2)](),this[_0x23530a(0x22c)][_0x23530a(0x115)]([]),this[_0x23530a(0x22c)]['complete']();}['init'](){const _0x52558d=_0xb934fa;this['_init']||(this[_0x52558d(0x127)]=!0x0,this[_0x52558d(0x13a)][_0x52558d(0x2bc)]['pipe'](_0x5023c9(this[_0x52558d(0x13e)]))['subscribe'](_0x30887b=>{const _0x51640c=_0x52558d;_0x30887b===_0x57b0e7[_0x51640c(0x18c)]?this[_0x51640c(0xe0)]():this[_0x51640c(0x119)]();}),this[_0x52558d(0x13a)]['event$'][_0x52558d(0x224)](_0x5023c9(this['dispose$']))[_0x52558d(0x140)](_0xc0bd5=>{const _0x50dd0d=_0x52558d,_0x5beed2=_0xc0bd5[_0x50dd0d(0x1f5)];_0x5beed2===_0x5b1ef6['UPDATE_CURSOR']&&this[_0x50dd0d(0x169)](_0xc0bd5),_0x5beed2===_0x5b1ef6[_0x50dd0d(0x151)]&&this[_0x50dd0d(0x107)](_0xc0bd5);}),this[_0x52558d(0x217)](),this[_0x52558d(0x226)](this['_commandService']['onCommandExecuted'](_0x38ca2d=>{const _0x134532=_0x52558d;if(this[_0x134532(0x15f)]&&_0x38ca2d['id']===_0x1edfed['id']&&_0x38ca2d['params'][_0x134532(0x265)]===this['unitID']){const _0x1cbce3=_0x38ca2d[_0x134532(0x290)];this[_0x134532(0xf2)](_0x1cbce3['subUnitId'],_0x1cbce3[_0x134532(0x19f)][0x0]);}})));}[_0xb934fa(0x169)](_0x2abc60){const _0x542758=_0xb934fa;var _0x4cfc8d,_0x3340e0;const {memberID:_0x1ed9e8,selection:_0x1c0a8b}=_0x2abc60[_0x542758(0xe3)],{sheetName:_0x4d91ac,range:_0x7690a0}=_0x37eab4(_0x1c0a8b),_0x109158={'name':(_0x3340e0=(_0x4cfc8d=this['_memberService'][_0x542758(0x176)](this[_0x542758(0x2de)],_0x1ed9e8))==null?void 0x0:_0x4cfc8d[_0x542758(0x24a)])!=null?_0x3340e0:_0x542758(0x2a6),'range':this[_0x542758(0xe2)](_0x4d91ac,_0x7690a0),'sheetID':_0x4d91ac,'color':this[_0x542758(0x158)][_0x542758(0x20d)](_0x1ed9e8),'selection':_0x1c0a8b},_0x529a4d=this[_0x542758(0x108)];_0x529a4d[_0x542758(0x2d6)](_0x1ed9e8,_0x109158),this['_cursorInfo$'][_0x542758(0x115)](_0x529a4d);}[_0xb934fa(0x107)](_0x4389d7){const _0x1f10ac=_0xb934fa,{memberID:_0x4329d1}=_0x4389d7['data'],_0x242c40=this[_0x1f10ac(0x108)];_0x242c40[_0x1f10ac(0x145)](_0x4329d1),this[_0x1f10ac(0x22d)][_0x1f10ac(0x115)](_0x242c40);}[_0xb934fa(0xe2)](_0x3ef096,_0x455a69){const _0x8a723f=_0xb934fa;var _0x1b5889,_0x3067c9;const _0x1cffab=(_0x3067c9=(_0x1b5889=this[_0x8a723f(0x134)][_0x8a723f(0x1ec)](this[_0x8a723f(0x2de)]))==null?void 0x0:_0x1b5889[_0x8a723f(0x22b)](_0x3ef096))==null?void 0x0:_0x3067c9[_0x8a723f(0x10f)]();return(_0x1cffab==null?void 0x0:_0x1cffab['find'](_0x493f2c=>_0x5af18c[_0x8a723f(0x1d0)](_0x493f2c,_0x455a69)))||_0x455a69;}[_0xb934fa(0x217)](){const _0x3bae02=_0xb934fa,_0x46ea1c=new _0x5dab93(),_0x5c1090=gi(),_0x739bc4=()=>{const _0x1a373a=_0xa951;_0x46ea1c[_0x1a373a(0x23b)]();const _0x5c2cf8=(_0x4d76be,_0x46df38,_0x4698df,_0x1d756d)=>{const _0x502b47=_0x1a373a;let _0xd668dd=[];switch(_0x4d76be['id']){case _0x242508[_0x502b47(0x1b7)]:{_0xd668dd=_0x53c231(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x28a)]:{_0xd668dd=_0x1c549f(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0xe4)]:{_0xd668dd=_0x306443(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x150)]:{_0xd668dd=_0x46de16(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x275)]:{_0xd668dd=_0x1d5fcb(_0x4d76be,_0x1d756d);break;}case _0x242508['InsertRowCommandId']:{_0xd668dd=_0x49aad9(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0xdd)]:{_0xd668dd=_0x281c3d(_0x4d76be,_0x1d756d);break;}case _0x242508['RemoveColCommandId']:{_0xd668dd=_0x95db7(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x21d)]:{_0xd668dd=_0x5da61a(_0x4d76be,_0x1d756d);break;}}const _0x2365bf=_0x45e560(_0xd668dd,_0x1d756d),_0x509f13=this[_0x502b47(0x108)][_0x502b47(0x23f)](_0x46df38);if(_0x509f13&&_0x2365bf){const _0x732864={..._0x509f13,'range':_0x2365bf};this[_0x502b47(0x108)][_0x502b47(0x2d6)](_0x46df38,_0x732864),_0x5c1090(()=>{const _0x3c761b=_0x502b47,_0x3afa06=this[_0x3c761b(0x2b9)]['registerRefRange'](_0x2365bf,_0x43f382=>(_0x3afa06[_0x3c761b(0x23b)](),_0x5c2cf8(_0x43f382,_0x46df38,_0x4698df,_0x2365bf)));_0x46ea1c[_0x3c761b(0x2be)](_0x3afa06);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1a373a(0x21f)]((_0x36b388,_0x529e64)=>{const _0x4cb547=_0x1a373a,{range:_0x1145c9,sheetID:_0x5197bd}=_0x36b388,_0x1f2438=this[_0x4cb547(0x2b9)][_0x4cb547(0x24e)](_0x1145c9,_0x516191=>(_0x1f2438[_0x4cb547(0x23b)](),_0x5c2cf8(_0x516191,_0x529e64,_0x5197bd,_0x1145c9)));_0x46ea1c['add'](_0x1f2438);});};this[_0x3bae02(0x226)](_0x41f926(this[_0x3bae02(0x22d)][_0x3bae02(0x140)](()=>{_0x739bc4();})));}[_0xb934fa(0xe0)](){const _0x46cfe6=_0xb934fa;var _0x1d8680,_0x22d15d;if(this['_online']=!0x0,((_0x1d8680=this[_0x46cfe6(0x134)][_0x46cfe6(0x1a7)]())==null?void 0x0:_0x1d8680[_0x46cfe6(0x254)]())!==this[_0x46cfe6(0x2de)])return;const _0x243321=(_0x22d15d=this[_0x46cfe6(0x2af)][_0x46cfe6(0x23f)](_0x493287)['getCurrentSelections']())==null?void 0x0:_0x22d15d[0x0],_0x1f3a0a=this['_univerInstanceService']['getCurrentUnitForType'](_0x58ec08['UNIVER_SHEET'])[_0x46cfe6(0x1af)]();_0x243321&&_0x1f3a0a&&this['_updateLocalCursor'](_0x1f3a0a[_0x46cfe6(0x171)](),_0x243321);}['_toggleOffline'](){const _0x4db777=_0xb934fa;this[_0x4db777(0x15f)]=!0x1;}};Le=mi([x(0x2,_0x45d71d(_0x327790)),x(0x3,_0x45d71d(He)),x(0x4,_0x45d71d(_0x1264aa)),x(0x5,_0x501819),x(0x6,_0x22d3f6),x(0x7,_0x45d71d(_0x203c56))],Le);var pi=Object[_0xb934fa(0x190)],Ci=(_0x20f681,_0xcce5e6,_0x13b50f,_0x123315)=>{const _0x3f9c4b=_0xb934fa;for(var _0xe165a9=_0x123315>0x1?void 0x0:_0x123315?pi(_0xcce5e6,_0x13b50f):_0xcce5e6,_0xf33dae=_0x20f681[_0x3f9c4b(0x29d)]-0x1,_0x2288f6;_0xf33dae>=0x0;_0xf33dae--)(_0x2288f6=_0x20f681[_0xf33dae])&&(_0xe165a9=_0x2288f6(_0xe165a9)||_0xe165a9);return _0xe165a9;},me=(_0x158bea,_0x1fe0bd)=>(_0x1b5ebd,_0x173184)=>_0x1fe0bd(_0x1b5ebd,_0x173184,_0x158bea);let F=class extends _0xe5d784{constructor(_0x520cca,_0x2966da,_0x15c751){const _0x4243d5=_0xb934fa;super(),_(this,_0x4243d5(0x24f),new Map()),_(this,'_entityInit$',new _0x2764ed()),(this[_0x4243d5(0x134)]=_0x520cca,this['_injector']=_0x2966da,this['_collabSessionService']=_0x15c751,this[_0x4243d5(0x127)]());}[_0xb934fa(0x23b)](){const _0x4d73a6=_0xb934fa;super[_0x4d73a6(0x23b)](),this[_0x4d73a6(0x2c7)][_0x4d73a6(0x1d2)](),this['_entities']['forEach'](_0x53ac3a=>_0x53ac3a['dispose']());}['getCollabCursors$'](_0x1a9533){const _0x411d36=_0xb934fa;return this[_0x411d36(0x24f)]['has'](_0x1a9533)?this[_0x411d36(0x24f)]['get'](_0x1a9533)[_0x411d36(0x18a)]:this[_0x411d36(0x2c7)][_0x411d36(0x224)](_0x23e369(_0x5adaed=>_0x5adaed[_0x411d36(0x2de)]===_0x1a9533),_0x270e7f(_0x5ecc00=>_0x5ecc00[_0x411d36(0x18a)]));}[_0xb934fa(0x127)](){const _0xb7cd01=_0xb934fa;this['_univerInstanceService'][_0xb7cd01(0x26b)](_0x58ec08[_0xb7cd01(0x261)])[_0xb7cd01(0x224)](_0x5023c9(this[_0xb7cd01(0x13e)]))[_0xb7cd01(0x140)](async _0x39a020=>{const _0xf22dcc=_0xb7cd01,_0x2c75b8=_0x39a020[_0xf22dcc(0x254)](),_0x321745=await this[_0xf22dcc(0x2ce)](_0x2c75b8);this[_0xf22dcc(0x2c7)][_0xf22dcc(0x115)](_0x321745),this[_0xf22dcc(0x24f)][_0xf22dcc(0x2d6)](_0x2c75b8,_0x321745);}),this['_univerInstanceService'][_0xb7cd01(0x26b)](_0x58ec08[_0xb7cd01(0x196)])['pipe'](_0x5023c9(this[_0xb7cd01(0x13e)]))['pipe'](_0x23e369(_0x513d88=>!_0x513d88[_0xb7cd01(0x254)]()['startsWith']('__')))[_0xb7cd01(0x140)](async _0x300093=>{const _0x36a905=_0xb7cd01,_0x57f665=_0x300093[_0x36a905(0x254)](),_0x280290=await this[_0x36a905(0x2c1)](_0x57f665);this[_0x36a905(0x2c7)][_0x36a905(0x115)](_0x280290),this[_0x36a905(0x24f)]['set'](_0x57f665,_0x280290);}),_0x1e7663(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x58ec08[_0xb7cd01(0x196)]),this[_0xb7cd01(0x134)]['getTypeOfUnitDisposed$'](_0x58ec08[_0xb7cd01(0x261)]))['pipe'](_0x5023c9(this[_0xb7cd01(0x13e)]))[_0xb7cd01(0x140)](_0xfe0dd4=>{const _0x4b6133=_0xb7cd01,_0xab5bc9=_0xfe0dd4[_0x4b6133(0x254)](),_0x47502d=this[_0x4b6133(0x24f)]['get'](_0xab5bc9);_0x47502d&&(_0x47502d['dispose'](),this['_entities'][_0x4b6133(0x145)](_0xab5bc9));});}async['_startSheetCollabCursor'](_0x24a2b2){const _0x2968a4=_0xb934fa,_0x3e8845=await this[_0x2968a4(0x17c)][_0x2968a4(0x14d)](_0x24a2b2),_0x25c5fc=this['_injector'][_0x2968a4(0x16b)](Le,_0x24a2b2,_0x3e8845);return _0x25c5fc['init'](),_0x25c5fc;}async['_startDocCollabCursor'](_0x2c6281){const _0x1907bd=_0xb934fa,_0x28b18c=await this['_collabSessionService'][_0x1907bd(0x14d)](_0x2c6281),_0xa6a6fc=this['_injector'][_0x1907bd(0x16b)](Me,_0x2c6281,_0x28b18c);return _0xa6a6fc[_0x1907bd(0x293)](),_0xa6a6fc;}};F=Ci([me(0x0,_0x501819),me(0x1,_0x45d71d(_0x327790)),me(0x2,_0x45d71d(_0x57c567))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xb2bbe7,_0x39a2e1){const _0x3abcc6=_0xb934fa;let {radius:_0x1498d9,width:_0x5cf446,height:_0x27c1cd}=_0x39a2e1;_0x1498d9=_0x1498d9!=null?_0x1498d9:0x0,_0x5cf446=_0x5cf446!=null?_0x5cf446:0x1e,_0x27c1cd=_0x27c1cd!=null?_0x27c1cd:0x1e;let _0x44f94b=0x0,_0x59b7dd=0x0,_0x324db3=0x0;_0x44f94b=_0x59b7dd=_0x324db3=Math['min'](_0x1498d9,_0x5cf446/0x2,_0x27c1cd/0x2),_0xb2bbe7['beginPath'](),_0xb2bbe7[_0x3abcc6(0x212)](_0x44f94b,0x0),_0xb2bbe7[_0x3abcc6(0x166)](_0x5cf446-_0x59b7dd,0x0),_0xb2bbe7['arc'](_0x5cf446-_0x59b7dd,_0x59b7dd,_0x59b7dd,Math['PI']*0x3/0x2,0x0,!0x1),_0xb2bbe7['lineTo'](_0x5cf446,_0x27c1cd-_0x324db3),_0xb2bbe7['arc'](_0x5cf446-_0x324db3,_0x27c1cd-_0x324db3,_0x324db3,0x0,Math['PI']/0x2,!0x1),_0xb2bbe7[_0x3abcc6(0x166)](0x0,_0x27c1cd),_0xb2bbe7[_0x3abcc6(0x166)](0x0,_0x44f94b),_0xb2bbe7[_0x3abcc6(0x2d2)](_0x44f94b,_0x44f94b,_0x44f94b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb2bbe7[_0x3abcc6(0x276)](),_0x39a2e1[_0x3abcc6(0x16e)]&&(_0xb2bbe7[_0x3abcc6(0x2d8)](),_0xb2bbe7['fillStyle']=_0x39a2e1[_0x3abcc6(0x16e)],_0x39a2e1[_0x3abcc6(0x1aa)]===_0x3abcc6(0x2cc)?_0xb2bbe7[_0x3abcc6(0x16e)](_0x3abcc6(0x2cc)):_0xb2bbe7[_0x3abcc6(0x16e)](),_0xb2bbe7[_0x3abcc6(0x181)]());}class ue extends _0x1e0fb0{constructor(_0x25acd9,_0x27b44b){const _0x3c8c1e=_0xb934fa;super(_0x25acd9,_0x27b44b),_(this,'color'),_(this,_0x3c8c1e(0xd9)),(this[_0x3c8c1e(0x259)]=_0x27b44b==null?void 0x0:_0x27b44b[_0x3c8c1e(0x259)],this[_0x3c8c1e(0xd9)]=_0x27b44b==null?void 0x0:_0x27b44b[_0x3c8c1e(0xd9)]);}static['drawWith'](_0x59927d,_0xa8411d){const _0x33022c=_0xb934fa,{text:_0x15e298,color:_0xa25bf2}=_0xa8411d;_0x59927d[_0x33022c(0x2d8)](),_0x59927d[_0x33022c(0x280)]=_0x33022c(0x193);const _0x455b0f=_0x59927d[_0x33022c(0x250)](_0x15e298)['width'],_0x274db1=Math[_0x33022c(0x234)](_0x455b0f+0x2*Ie,qe);Oi(_0x59927d,{'height':te,'radius':0x4,'width':_0x274db1,'fill':_0xa25bf2}),_0x59927d[_0x33022c(0x197)]=_0x33022c(0x24d);const _0x55d54a=Ie,_0x269744=te-Ei,_0x4da06e=qe-0x2*Ie;if(_0x455b0f>_0x4da06e){let _0x205f87='',_0x5173d1=0x0;for(const _0x3a91a2 of _0x15e298){const _0x6f2644=_0x59927d['measureText'](_0x3a91a2)[_0x33022c(0x1ed)];if(_0x5173d1+_0x6f2644<=_0x4da06e-_0x59927d[_0x33022c(0x250)](_0x33022c(0x106))[_0x33022c(0x1ed)])_0x205f87+=_0x3a91a2,_0x5173d1+=_0x6f2644;else{_0x205f87+=_0x33022c(0x106);break;}}_0x59927d[_0x33022c(0x179)](_0x205f87,_0x55d54a,_0x269744);}else _0x59927d[_0x33022c(0x179)](_0x15e298,_0x55d54a,_0x269744);_0x59927d[_0x33022c(0x181)]();}[_0xb934fa(0x1f2)](_0xe3c1c9){const _0x56e493=_0xb934fa;ue[_0x56e493(0x167)](_0xe3c1c9,this);}}const ve=_0xb934fa(0x1b6),bi=_0xb934fa(0x2d0),Ti=_0xb934fa(0x2ac),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0xb934fa(0x248);class et{constructor(_0x47dc0a,_0x6e7a47,_0x491da7,_0x2efb7b){const _0x2250a6=_0xb934fa;_(this,_0x2250a6(0x129),[]),_(this,_0x2250a6(0x1f7),null),_(this,_0x2250a6(0x2a9),null),_(this,_0x2250a6(0x2a3),null),_(this,_0x2250a6(0xec),null),_(this,_0x2250a6(0x180),null),(this[_0x2250a6(0x101)]=_0x47dc0a,this[_0x2250a6(0x173)]=_0x6e7a47,this[_0x2250a6(0x17b)]=_0x491da7,this[_0x2250a6(0x1bf)]=_0x2efb7b,this[_0x2250a6(0x19c)]());}set[_0xb934fa(0x27f)](_0x18bf1e){const _0xb97a9a=_0xb934fa;_0x18bf1e?(this[_0xb97a9a(0x2a3)]&&this[_0xb97a9a(0x2a3)][_0xb97a9a(0x21b)](),this[_0xb97a9a(0x2a9)]&&this['_textBubble']['show']()):(this[_0xb97a9a(0x2a3)]&&this['_anchorDot'][_0xb97a9a(0xde)](),this['_textBubble']&&this['_textBubble'][_0xb97a9a(0x21b)]());}[_0xb934fa(0x23b)](){const _0x534a76=_0xb934fa;for(const _0x3eb826 of this[_0x534a76(0x129)])_0x3eb826[_0x534a76(0x23b)]();this[_0x534a76(0x2a9)]&&this[_0x534a76(0x2a9)][_0x534a76(0x23b)](),this[_0x534a76(0x2a3)]&&this['_anchorDot'][_0x534a76(0x23b)](),this[_0x534a76(0x1f7)]&&this[_0x534a76(0x1f7)]['dispose'](),this[_0x534a76(0x180)]&&this[_0x534a76(0x180)]();}[_0xb934fa(0x19c)](){const _0x2e4137=_0xb934fa;var _0x5bfd09;const {_docSkeleton:_0x59edde,_document:_0x302421}=this,{color:_0x18dac9,name:_0x25205e,ranges:_0x298894}=this['_cursor'],_0x375df3=_0x302421['getOffsetConfig'](),{docsLeft:_0x4277be,docsTop:_0x5b0584}=_0x375df3,_0x48d727=new _0x4d7874(_0x375df3,_0x59edde);for(const {startOffset:_0x239725,endOffset:_0x3387c9,rangeType:_0x39c8c1,segmentId:_0x488743,segmentPage:_0x594bd1,collapsed:_0x22df8f,isActive:_0x34fd10}of _0x298894){const _0x933e49=_0x59edde['findNodePositionByCharIndex'](_0x239725,!0x0,_0x488743,_0x594bd1);let _0x19bc7f=_0x59edde['findNodePositionByCharIndex'](_0x3387c9,!0x0,_0x488743,_0x594bd1);if(_0x19bc7f==null&&(_0x19bc7f=_0x59edde[_0x2e4137(0x1b5)](_0x3387c9-0x1,!0x1,_0x488743,_0x594bd1)),_0x34fd10){const {contentBoxPointGroup:_0x4d40ce}=_0x48d727[_0x2e4137(0x138)](_0x19bc7f,_0x19bc7f);if(_0x4d40ce[_0x2e4137(0x29d)]===0x0)continue;this[_0x2e4137(0x16c)](_0x18dac9,_0x4d40ce,_0x4277be,_0x5b0584,_0x25205e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x933e49&&_0x19bc7f){if(_0x39c8c1===_0x4bad4c['RECT']){const _0x1ab58e=new _0x479240(_0x375df3,_0x59edde),{pointGroup:_0x507d75}=(_0x5bfd09=_0x1ab58e[_0x2e4137(0x138)](_0x933e49,_0x19bc7f))!=null?_0x5bfd09:{};if(_0x507d75==null||_0x507d75['length']===0x0)continue;this['_drawRectRange'](_0x18dac9,_0x507d75,_0x4277be,_0x5b0584);}else{if(!_0x22df8f){const {borderBoxPointGroup:_0x5cfb59}=_0x48d727[_0x2e4137(0x138)](_0x933e49,_0x19bc7f);if(_0x5cfb59['length']===0x0)continue;this[_0x2e4137(0x159)](_0x18dac9,_0x5cfb59,_0x4277be,_0x5b0584);}}}}}['_drawAnchor'](_0x29d470,_0x3f860b,_0x5a6d15,_0x27fe01,_0x9b844c){const _0x12d96d=_0xb934fa,_0x39ede3=this[_0x12d96d(0x185)](_0x3f860b),{left:_0x51cf8c,top:_0xfeb388,height:_0x309430}=_0x39ede3,_0x1b0b67=this[_0x12d96d(0x2a1)](),_0x49b61a=Di/_0x1b0b67,_0x6caabc=new _0xb220e1(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01,'height':_0x309430,'width':Ri,'fill':_0x29d470||_0xdcc1d2(_0x1156cb['black'],0x0),'strokeWidth':_0x49b61a,'stroke':Ni,'evented':!0x0});this[_0x12d96d(0x1f7)]=_0x6caabc,this[_0x12d96d(0x173)]['addObject'](_0x6caabc,_0x20fc12);const _0x5cc34d=new _0xb220e1(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01-ge/0x2,'height':ge,'width':ge,'fill':_0x29d470||_0xdcc1d2(_0x1156cb[_0x12d96d(0x1bd)],0x0),'strokeWidth':0x0,'stroke':_0x29d470||_0xdcc1d2(_0x1156cb['black'],0x0),'evented':!0x1});this[_0x12d96d(0x2a3)]=_0x5cc34d,this[_0x12d96d(0x173)][_0x12d96d(0x1e4)](_0x5cc34d,_0x20fc12);const _0x2c7f95=new ue(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01-te,'text':_0x9b844c,'color':_0x29d470});this[_0x12d96d(0x2a9)]=_0x2c7f95,this[_0x12d96d(0x173)][_0x12d96d(0x1e4)](_0x2c7f95,_0x20fc12),this[_0x12d96d(0x27f)]=!0x1;}[_0xb934fa(0x19d)](){const _0x2b7df4=_0xb934fa,_0x3f262f=this[_0x2b7df4(0x1f7)]['onPointerEnter$'][_0x2b7df4(0x1d8)](()=>{const _0x2ebda2=_0x2b7df4;this[_0x2ebda2(0x27f)]=!0x0;}),_0x516d22=this[_0x2b7df4(0x1f7)][_0x2b7df4(0x299)]['subscribeEvent'](()=>{const _0x37a3d2=_0x2b7df4;this[_0x37a3d2(0xec)]&&clearTimeout(this[_0x37a3d2(0xec)]),this[_0x37a3d2(0xec)]=setTimeout(()=>{const _0x4d44eb=_0x37a3d2;this[_0x4d44eb(0x27f)]=!0x1;},0x7d0);});return()=>{const _0x2a031f=_0x2b7df4;_0x3f262f[_0x2a031f(0x292)](),_0x516d22[_0x2a031f(0x292)]();};}[_0xb934fa(0x159)](_0x29046f,_0x5954d0,_0x334825,_0xe403a2){const _0x39b441=_0xb934fa,_0x207952=new _0x52af0e(_0x29046f)[_0x39b441(0x227)](0.2)['toRgbString'](),_0x154a28=new _0xfc8c5e(bi+_0x269f9(G),{'pointsGroup':_0x5954d0,'fill':_0x207952||_0xdcc1d2(_0x1156cb[_0x39b441(0x1bd)],0.2),'left':_0x334825,'top':_0xe403a2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x154a28),this[_0x39b441(0x173)][_0x39b441(0x1e4)](_0x154a28,_0x20fc12);}[_0xb934fa(0x16a)](_0x3ef05a,_0x37c878,_0x34bb39,_0x438793){const _0x484bce=_0xb934fa,_0x158a6d=new _0x52af0e(_0x3ef05a)['setAlpha'](0.2)[_0x484bce(0x13b)](),_0x147515=new _0xfc8c5e(Ti+_0x269f9(G),{'pointsGroup':_0x37c878,'fill':_0x158a6d||_0xdcc1d2(_0x1156cb[_0x484bce(0x1bd)],0.2),'left':_0x34bb39,'top':_0x438793,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x484bce(0x129)][_0x484bce(0x154)](_0x147515),this[_0x484bce(0x173)]['addObject'](_0x147515,_0x20fc12);}[_0xb934fa(0x185)](_0x8370aa){const _0x5b853e=_0x8370aa[0x0],_0x50fbf2=_0x5b853e[0x0],_0x531482=_0x5b853e[0x2],{x:_0x16b64b,y:_0x454f3f}=_0x50fbf2,{x:_0x23e194,y:_0x2e0727}=_0x531482;return{'left':_0x16b64b,'top':_0x454f3f,'width':_0x23e194-_0x16b64b,'height':_0x2e0727-_0x454f3f};}[_0xb934fa(0x2a1)](){const _0x5dd2a9=_0xb934fa,{scaleX:_0x282536,scaleY:_0x4ddd31}=this[_0x5dd2a9(0x173)]['getAncestorScale']();return Math[_0x5dd2a9(0x202)](_0x282536,_0x4ddd31);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x525f74,_0xb671f,_0x4a5e1f,_0x29443f)=>{const _0x4eed67=_0xb934fa;for(var _0x14f4d8=_0x29443f>0x1?void 0x0:_0x29443f?Ui(_0xb671f,_0x4a5e1f):_0xb671f,_0x469c36=_0x525f74[_0x4eed67(0x29d)]-0x1,_0xc9f9f;_0x469c36>=0x0;_0x469c36--)(_0xc9f9f=_0x525f74[_0x469c36])&&(_0x14f4d8=_0xc9f9f(_0x14f4d8)||_0x14f4d8);return _0x14f4d8;},Q=(_0x39f9a8,_0x2f3bca)=>(_0x30b604,_0x45f511)=>_0x2f3bca(_0x30b604,_0x45f511,_0x39f9a8);let Pe=class extends _0xe5d784{constructor(_0x3e1181,_0x394344,_0x127de1,_0x3706c1,_0x3cb043){const _0x412554=_0xb934fa;super(),_(this,'_cursorShapes',[]),_(this,_0x412554(0x100),[]),(this[_0x412554(0x294)]=_0x3e1181,this['_docSkeletonManagerService']=_0x394344,this[_0x412554(0x274)]=_0x127de1,this[_0x412554(0x1b1)]=_0x3706c1,this[_0x412554(0x26c)]=_0x3cb043,this[_0x412554(0x127)]());}[_0xb934fa(0x127)](){const _0x5b790a=_0xb934fa,_0x41507c=this['_context'][_0x5b790a(0x265)],_0x9f0786=this[_0x5b790a(0x287)];this[_0x5b790a(0x226)](_0x5c74bb([this['_collabCursorController'][_0x5b790a(0x1fc)](_0x41507c),this[_0x5b790a(0x26c)][_0x5b790a(0x245)]])[_0x5b790a(0x224)](_0x3f8b85(([_0x2c81d1,_0xa0def5])=>({'skeleton':_0x9f0786[_0x5b790a(0x18d)](),'cursors':[..._0x2c81d1[_0x5b790a(0x15a)]()][_0x5b790a(0x243)](_0x23c94e=>({..._0x23c94e,'color':this['_themeService'][_0x5b790a(0x257)](_0x23c94e[_0x5b790a(0x259)])}))})))[_0x5b790a(0x140)](_0x23a535=>{const _0x2ce371=_0x5b790a;if(this[_0x2ce371(0x1ad)](),_0x23a535){const {skeleton:_0x53fced,cursors:_0x57dced}=_0x23a535;this[_0x2ce371(0x23e)](_0x53fced,_0x57dced);}})),this[_0x5b790a(0x18b)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x43cbc0,_0x17ca28){const _0xa8b34a=_0xb934fa,{scene:_0x40ad64,mainComponent:_0x27960d}=this[_0xa8b34a(0x294)],_0x545b6d=_0x17ca28[_0xa8b34a(0x285)](_0x316489=>new et(_0x316489,_0x40ad64,_0x43cbc0,_0x27960d));this[_0xa8b34a(0x286)]=_0x545b6d,this['_cursors']=_0x17ca28;}['_refreshCollabCursors'](){const _0x2e3667=_0xb934fa;this[_0x2e3667(0x1ad)]();const {scene:_0x26ddd8,mainComponent:_0x305eda}=this[_0x2e3667(0x294)],_0x336b68=this[_0x2e3667(0x287)][_0x2e3667(0x18d)](),_0x40aefc=this['_cursors'][_0x2e3667(0x285)](_0x5eb1bd=>new et(_0x5eb1bd,_0x26ddd8,_0x336b68,_0x305eda));this[_0x2e3667(0x286)]=_0x40aefc;}['_removeCollabCursors'](){const _0x3120bd=_0xb934fa;this['_cursorShapes'][_0x3120bd(0x21f)](_0x38628d=>_0x38628d[_0x3120bd(0x23b)]()),this[_0x3120bd(0x286)]=[];}['_initCommandExecutedListener'](){const _0x3ca4ba=_0xb934fa,_0x2b963f=[_0x514515['id']];this[_0x3ca4ba(0x226)](this[_0x3ca4ba(0x1b1)][_0x3ca4ba(0xeb)](_0x2f5c46=>{const _0x2710e5=_0x3ca4ba;_0x2b963f[_0x2710e5(0x146)](_0x2f5c46['id'])&&_0x2f5c46['params'][_0x2710e5(0x265)]===this[_0x2710e5(0x294)][_0x2710e5(0x265)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x56a7c0=_0xb934fa;this[_0x56a7c0(0x226)](_0x1962c9(this[_0x56a7c0(0x294)][_0x56a7c0(0x1b8)][_0x56a7c0(0x1be)])[_0x56a7c0(0x224)](_0x118486(_0x439e8f=>_0x439e8f['type']===_0x13c955[_0x56a7c0(0x1c9)]),_0x1b802e(0x10))[_0x56a7c0(0x140)](()=>{const _0x4bb91f=_0x56a7c0;this[_0x4bb91f(0x12a)]();}));}};Pe=Mi([Q(0x1,_0x45d71d(_0x29096d)),Q(0x2,_0x45d71d(F)),Q(0x3,_0x22d3f6),Q(0x4,_0x45d71d(_0x3b4c67))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x1e0fb0{constructor(_0x24a073,_0xacb64){const _0x5c67be=_0xb934fa;super(_0x24a073,_0xacb64),_(this,_0x5c67be(0xf4)),_(this,_0x5c67be(0x29a),!0x1),_(this,_0x5c67be(0x206)),_(this,_0x5c67be(0x15b),''),_(this,'_labelPosition','top'),_(this,_0x5c67be(0x105)),(_0xacb64&&this[_0x5c67be(0x109)](_0xacb64),this[_0x5c67be(0x11f)][_0x5c67be(0x1d8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c67be(0x299)][_0x5c67be(0x1d8)](()=>this[_0x5c67be(0x109)]({'hovered':!0x1})));}[_0xb934fa(0x109)](_0x228cd9){const _0x35bd26=_0xb934fa;var _0x1e8396,_0x690e56,_0x304807,_0x50ebde,_0x51ad7d,_0x2a880f;this['_color']=(_0x1e8396=_0x228cd9[_0x35bd26(0x259)])!=null?_0x1e8396:this['_color'],this[_0x35bd26(0x29a)]=(_0x690e56=_0x228cd9[_0x35bd26(0x2c8)])!=null?_0x690e56:this[_0x35bd26(0x29a)],this[_0x35bd26(0x206)]=(_0x304807=_0x228cd9[_0x35bd26(0x1b2)])!=null?_0x304807:this[_0x35bd26(0x206)],this[_0x35bd26(0x15b)]=(_0x50ebde=_0x228cd9['name'])!=null?_0x50ebde:this[_0x35bd26(0x15b)],this[_0x35bd26(0x1e8)]=(_0x51ad7d=_0x228cd9['labelPosition'])!=null?_0x51ad7d:this[_0x35bd26(0x1e8)],this[_0x35bd26(0x105)]=(_0x2a880f=_0x228cd9[_0x35bd26(0x263)])!=null?_0x2a880f:this[_0x35bd26(0x105)],this['transformByState']({'width':_0x228cd9[_0x35bd26(0x1ed)],'height':_0x228cd9[_0x35bd26(0x2bb)]});}[_0xb934fa(0x246)](_0x419a12){const _0x352144=_0xb934fa,{row:_0x8ec0a4,column:_0x1a7ae2}=_0x419a12;if(_0x8ec0a4>=this[_0x352144(0x206)][_0x352144(0x194)]&&_0x8ec0a4<=this[_0x352144(0x206)][_0x352144(0xfc)]&&_0x1a7ae2>=this[_0x352144(0x206)][_0x352144(0x266)]&&_0x1a7ae2<=this[_0x352144(0x206)]['endColumn']){this[_0x352144(0x109)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xb934fa(0x1ff)](_0x3f825a){return!0x1;}['_draw'](_0x3952d5){const _0x345642=_0xb934fa;_0xb220e1[_0x345642(0x167)](_0x3952d5,{'width':this[_0x345642(0x1ed)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x345642(0xf4)],'evented':!0x1,'fill':this[_0x345642(0x105)]}),this[_0x345642(0x29a)]&&(_0x3952d5['save'](),_0x3952d5[_0x345642(0x15e)](0x1,0x0,0x0,0x1,this[_0x345642(0x1ed)],this[_0x345642(0x1e8)]===_0x345642(0x1f8)?0x0:-0x14),ue[_0x345642(0x167)](_0x3952d5,{'text':this[_0x345642(0x15b)],'color':this[_0x345642(0xf4)]}),_0x3952d5[_0x345642(0x181)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x8f2be2,_0x22ca22,_0x272961,_0x4ca1f6)=>{const _0x5b7a4f=_0xb934fa;for(var _0x5f342e=_0x4ca1f6>0x1?void 0x0:_0x4ca1f6?Ai(_0x22ca22,_0x272961):_0x22ca22,_0xec7e21=_0x8f2be2[_0x5b7a4f(0x29d)]-0x1,_0x458dd5;_0xec7e21>=0x0;_0xec7e21--)(_0x458dd5=_0x8f2be2[_0xec7e21])&&(_0x5f342e=_0x458dd5(_0x5f342e)||_0x5f342e);return _0x5f342e;},pe=(_0x21f801,_0x1e267c)=>(_0x14e747,_0x395369)=>_0x1e267c(_0x14e747,_0x395369,_0x21f801);const $i=0x1389;let we=class extends _0xe5d784{constructor(_0x124f3b,_0x30bdea,_0x55c88f,_0x130aee){const _0x3f85a2=_0xb934fa;super(),_(this,_0x3f85a2(0x100),new Set()),_(this,'_lastPointer',null),(this[_0x3f85a2(0x294)]=_0x124f3b,this[_0x3f85a2(0xe7)]=_0x30bdea,this[_0x3f85a2(0x274)]=_0x55c88f,this['_themeService']=_0x130aee,this[_0x3f85a2(0x127)]());}[_0xb934fa(0x127)](){const _0x38e543=_0xb934fa;this[_0x38e543(0xe7)][_0x38e543(0x160)]['pipe'](_0x170170(this[_0x38e543(0x13e)]),_0x2b84d7(_0x4bffe1=>{const _0x29cba7=_0x38e543;if(_0x4bffe1){const _0x165912=_0x4bffe1[_0x29cba7(0x2d5)];return _0x5c74bb(this[_0x29cba7(0x274)]['getCollabCursors$'](this[_0x29cba7(0x294)]['unitId']),this[_0x29cba7(0x26c)][_0x29cba7(0x245)])[_0x29cba7(0x224)](_0x3f8b85(([_0x47e01b,_0x582c29])=>{const _0x5938c0=_0x29cba7,_0x2128e4=new Map();return _0x47e01b[_0x5938c0(0x21f)]((_0x55e9c9,_0x3196f9)=>{const _0x4393f8=_0x5938c0;if(_0x55e9c9['sheetID']===_0x165912){const _0x206c4d={..._0x55e9c9};_0x206c4d[_0x4393f8(0x259)]=this[_0x4393f8(0x26c)][_0x4393f8(0x257)](_0x55e9c9[_0x4393f8(0x259)]),_0x2128e4[_0x4393f8(0x2d6)](_0x3196f9,_0x206c4d);}}),{'skeleton':_0x4bffe1,'cursors':_0x2128e4};}));}return _0xb7c481({'skeleton':null,'cursors':new Map()});}))[_0x38e543(0x140)](({skeleton:_0x183dbb,cursors:_0x413a28})=>{const _0x449064=_0x38e543;this[_0x449064(0x1ad)](),_0x183dbb&&this[_0x449064(0x23e)](_0x183dbb,_0x413a28);}),this[_0x38e543(0xe7)]['currentSkeleton$'][_0x38e543(0x140)](_0x45f0a8=>{const _0x398595=_0x38e543;if(_0x45f0a8==null)return;const {skeleton:_0x5614d6}=_0x45f0a8,{scene:_0x21ecda}=this[_0x398595(0x294)];_0x21ecda[_0x398595(0xfe)][_0x398595(0x1d8)](_0x55b0ad(_0x221755=>{const _0x379046=_0x398595;var _0x32708c,_0xe7c426;const {offsetX:_0x536acd,offsetY:_0x3740c2}=_0x221755,{x:_0x9bb81b,y:_0x57acd1}=_0x21ecda[_0x379046(0x1f6)](_0x163b36[_0x379046(0x2a4)]([_0x536acd,_0x3740c2])),{scaleX:_0x25e08a,scaleY:_0x2dac51}=_0x21ecda[_0x379046(0x12b)](),_0x277edc=_0x21ecda[_0x379046(0x213)](_0xe77fad[_0x379046(0x10a)]),_0x3858c9=_0x21ecda[_0x379046(0x187)](_0x163b36[_0x379046(0x2a4)]([_0x9bb81b,_0x57acd1]),_0x277edc),_0x557b83=_0x5614d6[_0x379046(0xe8)](_0x536acd,_0x3740c2,_0x25e08a,_0x2dac51,_0x3858c9);((_0x32708c=this[_0x379046(0x172)])==null?void 0x0:_0x32708c[_0x379046(0x111)])===_0x557b83['column']&&((_0xe7c426=this[_0x379046(0x172)])==null?void 0x0:_0xe7c426[_0x379046(0x208)])===_0x557b83[_0x379046(0x208)]||this[_0x379046(0x100)][_0x379046(0x21f)](_0x592d05=>{const _0x21e69a=_0x379046;_0x592d05[_0x21e69a(0x246)](_0x557b83);});},0x64));});}[_0xb934fa(0x23e)](_0x372cce,_0x4dcfd2){const _0x311f5f=_0xb934fa;var _0x41f53f;const _0x207975=(_0x41f53f=this[_0x311f5f(0xe7)][_0x311f5f(0x13d)]())==null?void 0x0:_0x41f53f[_0x311f5f(0x253)];if(!_0x207975)return;const _0x4b30f1=this[_0x311f5f(0x163)]();if(!_0x4b30f1)return;this[_0x311f5f(0x100)][_0x311f5f(0x21f)](_0x183cf9=>{const _0x126313=_0x311f5f;_0x183cf9[_0x126313(0x29e)]();});const {scene:_0x468e0d}=_0x4b30f1,_0x1b6249=xi(Array[_0x311f5f(0x24c)](_0x4dcfd2[_0x311f5f(0x15a)]()))[_0x311f5f(0x285)](_0x2bfa84=>{const _0x376998=_0x311f5f,{color:_0x23232,range:_0x30211f,name:_0x101d3d,selection:_0x391ab5,sheetID:_0x34621a}=_0x2bfa84,{startColumn:_0x255ca1,startRow:_0x465442,endColumn:_0x55971f,endRow:_0x36eb9c}=_0x30211f,_0x29eb3f=_0x2215c6(_0x465442,_0x255ca1,_0x468e0d,_0x207975),_0x2cecb7=_0x2215c6(_0x36eb9c,_0x55971f,_0x468e0d,_0x207975),{columnHeaderHeightAndMarginTop:_0x20eb79}=_0x207975,{startX:_0x57534c,startY:_0xf0e8ea}=_0x29eb3f,{endX:_0x33e9e3,endY:_0x259d6a}=_0x2cecb7,_0x54075f=_0x33e9e3-_0x57534c,_0x2348c2=_0x259d6a-_0xf0e8ea,_0x4cc66d={'labelPosition':_0xf0e8ea-_0x20eb79>=te?_0x376998(0x149):_0x376998(0x1f8),'sheetID':_0x34621a,'range':_0x30211f,'color':_0x23232,'name':_0x101d3d,'selection':_0x391ab5,'left':_0x57534c,'top':_0xf0e8ea,'width':_0x54075f,'height':_0x2348c2,'evented':!0x1,'zIndex':$i};return new wi(_0x101d3d,_0x4cc66d);});_0x468e0d[_0x311f5f(0xfa)](_0x1b6249,Li),this[_0x311f5f(0x100)]=new Set(_0x1b6249);}[_0xb934fa(0x1ad)](){const _0x5d81dd=_0xb934fa;var _0x3fc407;(_0x3fc407=this[_0x5d81dd(0x100)])==null||_0x3fc407[_0x5d81dd(0x21f)](_0x28a50d=>_0x28a50d[_0x5d81dd(0x23b)]());}[_0xb934fa(0x163)](){const _0x4ebfdf=_0xb934fa;return _0x1de5f2(this[_0x4ebfdf(0x294)]['unit'],this['_context']);}};we=yi([pe(0x1,_0x45d71d(_0x990327)),pe(0x2,_0x45d71d(F)),pe(0x3,_0x45d71d(_0x3b4c67))],we);function xi(_0x836400){const _0xc5d8db=_0xb934fa,_0x1518de=new Map();return _0x836400['forEach'](_0xad53ec=>{const _0x1c8d7d=_0xa951;if(_0x1518de[_0x1c8d7d(0x1ee)](_0xad53ec[_0x1c8d7d(0x271)])){const _0xb5d649=_0x1518de['get'](_0xad53ec[_0x1c8d7d(0x271)]);_0xb5d649['name']+=',\x20'+_0xad53ec['name'];}else _0x1518de['set'](_0xad53ec[_0x1c8d7d(0x271)],_0xad53ec);}),Array[_0xc5d8db(0x24c)](_0x1518de[_0xc5d8db(0x15a)]());}var v=function(){const _0x338a14=_0xb934fa;return v=Object[_0x338a14(0x221)]||function(_0x8ee2ae){const _0x19f849=_0x338a14;for(var _0x3aad70,_0x189a5e=0x1,_0x136762=arguments[_0x19f849(0x29d)];_0x189a5e<_0x136762;_0x189a5e++){_0x3aad70=arguments[_0x189a5e];for(var _0x26fd4b in _0x3aad70)Object[_0x19f849(0x157)][_0x19f849(0xe6)][_0x19f849(0x18e)](_0x3aad70,_0x26fd4b)&&(_0x8ee2ae[_0x26fd4b]=_0x3aad70[_0x26fd4b]);}return _0x8ee2ae;},v[_0x338a14(0x27c)](this,arguments);},Bi=function(_0x380fe5,_0x30b7e7){const _0x22c00c=_0xb934fa;var _0x1c37de={};for(var _0x318be8 in _0x380fe5)Object[_0x22c00c(0x157)]['hasOwnProperty'][_0x22c00c(0x18e)](_0x380fe5,_0x318be8)&&_0x30b7e7[_0x22c00c(0x2b1)](_0x318be8)<0x0&&(_0x1c37de[_0x318be8]=_0x380fe5[_0x318be8]);if(_0x380fe5!=null&&typeof Object[_0x22c00c(0x112)]==_0x22c00c(0x1bb)){for(var _0x2c1d80=0x0,_0x318be8=Object[_0x22c00c(0x112)](_0x380fe5);_0x2c1d80<_0x318be8[_0x22c00c(0x29d)];_0x2c1d80++)_0x30b7e7[_0x22c00c(0x2b1)](_0x318be8[_0x2c1d80])<0x0&&Object[_0x22c00c(0x157)][_0x22c00c(0x203)][_0x22c00c(0x18e)](_0x380fe5,_0x318be8[_0x2c1d80])&&(_0x1c37de[_0x318be8[_0x2c1d80]]=_0x380fe5[_0x318be8[_0x2c1d80]]);}return _0x1c37de;},Ye=_0xefd32e(function(_0x3daee4,_0xa1684d){const _0x23e1e3=_0xb934fa;var _0x4fc129=_0x3daee4[_0x23e1e3(0x1a2)],_0x5f023c=_0x3daee4['id'],_0x3bc93a=_0x3daee4['className'],_0x540ce9=_0x3daee4['extend'],_0x95c2f0=Bi(_0x3daee4,[_0x23e1e3(0x1a2),'id',_0x23e1e3(0xd5),_0x23e1e3(0x1cc)]),_0x40e753=_0x23e1e3(0x1da)['concat'](_0x5f023c,'\x20')[_0x23e1e3(0xda)](_0x3bc93a||'')['trim'](),_0x954ebf=_0x15176a('_'[_0x23e1e3(0xda)](Fi()));return Dt(_0x4fc129,''[_0x23e1e3(0xda)](_0x5f023c),{'defIds':_0x4fc129[_0x23e1e3(0x256)],'idSuffix':_0x954ebf['current']},v({'ref':_0xa1684d,'className':_0x40e753},_0x95c2f0),_0x540ce9);});function Dt(_0x1e2bbf,_0x2c6f03,_0x56fce6,_0x535824,_0x5336b1){const _0xa491a8=_0xb934fa;return _0x4f054a(_0x1e2bbf[_0xa491a8(0x19a)],v(v({'key':_0x2c6f03},ki(_0x1e2bbf,_0x56fce6,_0x5336b1)),_0x535824),(Hi(_0x1e2bbf,_0x56fce6)[_0xa491a8(0x1dd)]||[])[_0xa491a8(0x285)](function(_0x1c2713,_0x280636){const _0x4ee866=_0xa491a8;return Dt(_0x1c2713,''['concat'](_0x2c6f03,'-')['concat'](_0x1e2bbf[_0x4ee866(0x19a)],'-')['concat'](_0x280636),_0x56fce6,void 0x0,_0x5336b1);}));}function ki(_0xd7cc6c,_0x1889af,_0xa33fb2){const _0x211263=_0xb934fa;var _0x4bb9c2=v({},_0xd7cc6c[_0x211263(0xdb)]);_0xa33fb2!=null&&_0xa33fb2[_0x211263(0x162)]&&_0x4bb9c2['fill']===_0x211263(0x162)&&(_0x4bb9c2[_0x211263(0x16e)]=_0xa33fb2[_0x211263(0x162)]),_0xd7cc6c[_0x211263(0x19a)]==='mask'&&_0x4bb9c2['id']&&(_0x4bb9c2['id']=_0x4bb9c2['id']+_0x1889af[_0x211263(0x1ef)]),Object[_0x211263(0x1db)](_0x4bb9c2)['forEach'](function(_0x551259){const _0x353a66=_0x211263;var _0x436419=_0x551259[0x0],_0x524c82=_0x551259[0x1];_0x436419===_0x353a66(0x21c)&&typeof _0x524c82=='string'&&(_0x4bb9c2[_0x436419]=_0x524c82[_0x353a66(0x132)](/url\(#(.*)\)/,_0x353a66(0x273)[_0x353a66(0xda)](_0x1889af[_0x353a66(0x1ef)],')')));});var _0x580bfa=_0x1889af[_0x211263(0x256)];return!_0x580bfa||_0x580bfa[_0x211263(0x29d)]===0x0||(_0xd7cc6c[_0x211263(0x19a)]===_0x211263(0x1d6)&&_0x4bb9c2[_0x211263(0x110)]&&(_0x4bb9c2[_0x211263(0x110)]=_0x4bb9c2[_0x211263(0x110)]+_0x1889af[_0x211263(0x1ef)]),Object[_0x211263(0x1db)](_0x4bb9c2)[_0x211263(0x21f)](function(_0x57069b){const _0x46f535=_0x211263;var _0x45a214=_0x57069b[0x0],_0x1e39b0=_0x57069b[0x1];typeof _0x1e39b0==_0x46f535(0x14b)&&(_0x4bb9c2[_0x45a214]=_0x1e39b0[_0x46f535(0x132)](/url\(#(.*)\)/,_0x46f535(0x273)[_0x46f535(0xda)](_0x1889af['idSuffix'],')')));})),_0x4bb9c2;}function Hi(_0x14d8e1,_0xc9c893){const _0x545c56=_0xb934fa;var _0x130287,_0xf9426=_0xc9c893[_0x545c56(0x256)];return!_0xf9426||_0xf9426[_0x545c56(0x29d)]===0x0?_0x14d8e1:_0x14d8e1['tag']===_0x545c56(0x2b0)&&(!((_0x130287=_0x14d8e1[_0x545c56(0x1dd)])===null||_0x130287===void 0x0)&&_0x130287[_0x545c56(0x29d)])?v(v({},_0x14d8e1),{'children':_0x14d8e1[_0x545c56(0x1dd)][_0x545c56(0x285)](function(_0x5ba0f6){const _0x3dd94a=_0x545c56;return typeof _0x5ba0f6[_0x3dd94a(0xdb)]['id']==_0x3dd94a(0x14b)&&_0xf9426&&_0xf9426[_0x3dd94a(0x146)](_0x5ba0f6[_0x3dd94a(0xdb)]['id'])?v(v({},_0x5ba0f6),{'attrs':v(v({},_0x5ba0f6[_0x3dd94a(0xdb)]),{'id':_0x5ba0f6[_0x3dd94a(0xdb)]['id']+_0xc9c893[_0x3dd94a(0x1ef)]})}):_0x5ba0f6;})}):_0x14d8e1;}function Fi(){const _0x5c2d3c=_0xb934fa;return Math['random']()[_0x5c2d3c(0x184)](0x24)[_0x5c2d3c(0x2d9)](0x2,0x8);}Ye[_0xb934fa(0x23a)]='UniverIcon';var Yi={'tag':_0xb934fa(0x2d1),'attrs':{'xmlns':_0xb934fa(0x284),'fill':_0xb934fa(0x2ab),'viewBox':_0xb934fa(0x27e),'width':_0xb934fa(0x249),'height':_0xb934fa(0x249)},'children':[{'tag':'g','attrs':{'clipPath':_0xb934fa(0x25f)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'stroke':_0xb934fa(0x2b4),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xb934fa(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb934fa(0x2b0),'attrs':{},'children':[{'tag':_0xb934fa(0x1a0),'attrs':{'id':_0xb934fa(0x14c)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'fill':_0xb934fa(0x1ab),'d':_0xb934fa(0x15c)}}]}]}],'defIds':[_0xb934fa(0x14c)]},Nt=_0xefd32e(function(_0x2fc6a5,_0xe37bbd){return _0x4f054a(Ye,Object['assign']({},_0x2fc6a5,{'id':'off-line-icon','ref':_0xe37bbd,'icon':Yi}));});Nt[_0xb934fa(0x23a)]=_0xb934fa(0x2c0);var ji={'tag':_0xb934fa(0x2d1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xb934fa(0x2ab),'viewBox':_0xb934fa(0x258),'width':_0xb934fa(0x249),'height':_0xb934fa(0x249)},'children':[{'tag':'g','attrs':{'clipPath':_0xb934fa(0x272)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'stroke':_0xb934fa(0x2b4),'d':_0xb934fa(0x219),'strokeLinecap':_0xb934fa(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb934fa(0x2b0),'attrs':{},'children':[{'tag':_0xb934fa(0x1a0),'attrs':{'id':_0xb934fa(0x29b)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'fill':_0xb934fa(0x1ab),'d':'M0\x200H16V16H0z','transform':_0xb934fa(0x11a)}}]}]}],'defIds':[_0xb934fa(0x29b)]},Ut=_0xefd32e(function(_0x40760a,_0x393ec1){const _0x3a025a=_0xb934fa;return _0x4f054a(Ye,Object[_0x3a025a(0x221)]({},_0x40760a,{'id':_0x3a025a(0x2c4),'ref':_0x393ec1,'icon':ji}));});Ut[_0xb934fa(0x23a)]='OnLineIcon';function _0x3b8e(){const _0x5b960a=['ALREADY_EXISTS','tag','COMPLETION_FINISHED','_render','_handleHover','getCurrentRevOfUnit','selections','clipPath','[RemoteUniscriptService]:\x20no\x20focused\x20unit','icon','CONNECTOR_DATA_TOO_LARGE','setActiveRange','getUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getFocusedUnit','registerRenderModule','6kNEeZw','fillRule','white','replaceDocRanges','_removeCollabCursors','m2Prime','getActiveSheet','NOT_FOUND','_commandService','range','_localStorageService','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','collab-text-anchor-','DeleteRangeMoveLeftCommandId','engine','collabCursorState$','_initEntityListener','function','_dataLoaderService','black','onTransformChange$','_document','YUUMI_URL_COL_OUT_OF_RANGE','round','invokeId','_initDependencies','EMAIL_VERIFY_CODE_MISMATCH','registerComponent','LICENSE_MAX_UNITS_EXCEEDED','newValue','roomMembers$','resize','MOBILE_HAS_BEEN_BOUND','_heartbeatTimer','extend','unload','3308440WqKzzJ','_renderManagerService','contains','disposeUnit','complete','_cachedData','_removeClearOtherTimer','MOBILE_VERIFY_CODE_MISMATCH','use','getValue','subscribeEvent','unshift','univerjs-icon\x20univerjs-icon-','entries','_transformService','children','402ZVBQTZ','activeSheet$','removeParam','yellow.400','searchParams','registerBeforeClose','addObject','TOO_MANY_REQUESTS','4777524ZMhPGx','_docSyncEditingCollabCursorService','_labelPosition','_assignedColors','permission.content','focused$','getUniverSheetInstance','width','has','idSuffix','unit','getMemberID','_draw','jiqing.500','_memberService','eventID','getRelativeToViewportCoord','_anchor','bottom','_updateURLWithCurrentState','WECHAT_HAS_BEEN_BOUND','addEventListener','getCollabCursors$','_disabled','session.connection-failed','triggerDblclick','_logService','body','max','propertyIsEnumerable','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','_range','_unitStatus','row','_scheduleHeartbeat','APPLY_DUPLICATED','getStateCache','INVALID_ARGUMENT','assignAColorForMemberID','OFFLINE','setConfig','transformRemoteChangeset','YUUMI_RATE_OVER_LIMIT','moveTo','getViewport','whenReady','location','getParam','_onRefRangeChange','pushState','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','asObservable','hide','mask','RemoveRowCommandId','some','forEach','_collabCursorState$','assign','CONFLICT','_saveTaskMap','pipe','then','disposeWithMe','setAlpha','LOGIN_FAILED','495kMUSLn','7078qciTOt','getSheetBySheetId','_roomMembers$','_cursorInfo$','setStateCache','_setupBeforeClosingHandler','SYNCED','APPLY_REJECT','MUTATION','_syncEditingCollabCursorService','min','_collaborationController','HEADER_MENU','blue.400','YUUMI_ALL_TABLES_IS_INVALID','collabStatus.syncing','displayName','dispose','_transformHistoryAndStateStack','collabStatus.synced','_updateCollabCursors','get','RECT','YUUMI_ASYNCIO_CANCELLED','clearTimeout','flatMap','error','currentTheme$','onMouseMove','collaboration-client-ui.config','rgba(255,\x20255,\x20255,\x200.01)','1em','name','setParam','from','#FFF','registerRefRange','_entities','measureText','onRendered','_localeService','skeleton','getUnitId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defIds','getColorFromTheme','0\x200\x2017\x2016','color','_initStatusComponent','runId','_handleJoinEvent','_docTransformIMECacheService','CHANGESET_REVISION_CONFILICT','url(#off-line-icon_clip0_910_343)','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','_handleEvent','backgroundColor','saveImage','unitId','startColumn','addHandlerCallback','collaboration-client.offline-data-not-saved','_unitOnClients','UPDATE_CURSOR','getTypeOfUnitAdded$','_themeService','clearInterval','transformMutationsWithChangeset','AWAITING_WITH_PENDING','editingUnit','selection','url(#on-line-icon_clip0_910_349)','url(#$1','_collabCursorController','InsertRangeMoveRightCommandId','closePath','uni.network.url-service','onLocalMutation','_initStatusListener','isActive','_createSocketURL','apply','_id','0\x200\x2016\x2016','_hover','font','_messageService','PENDING','_selfUnitIDs','http://www.w3.org/2000/svg','map','_cursorShapes','_docSkeletonManagerService','source','roomMembers','DeleteRangeMoveUpCommandId','_notificationService','_uiPartsService','INVITE_CODE_ALREADY_BOUND','textRanges','redoState','params','collabStatus.notCollab','unsubscribe','init','_context','search','actions','YUUMI_AI_RUN_FAILED','debug','onPointerLeave$','_hovered','on-line-icon_clip0_910_349','YUUMI_CONNECTOR_URL_NOT_FOUND','length','makeDirty','CLOSE_ROOM','_status$','_getScale','_docTransformSelectionsService','_anchorDot','FromArray','APPLY_NON_SEQUENTIAL_REVISION','Unknown\x20user','_handleHeartbeatEvent','_send','_textBubble','send','none','collab-rect-range-','docStateChange$','popstate','_injector','defs','indexOf','sessionTicket','UNRECOGNIZED','currentColor','exhaustSavingTask','OTHER_CLIENTS_EDITING','UNDEFINED','saveTaskMap','_refRangeService','code','height','sessionStatus$','_docStateChangeManagerService','add','size','OffLineIcon','_startDocCollabCursor','isArray','getRenderById','on-line-icon','Warning','replaceState','_entityInit$','hovered','_transformPreviousActiveRange','_getSaveTimeout','green.600','evenodd','_ensureSubject','_startSheetCollabCursor','LICENSE_DISTRO_REJECTED','collab-text-range-','svg','arc','mutations','_docClipboardService','sheetId','set','_scheduleClearOtherTimer','save','substring','executeCommand','ACTIVE_UNIT_EVENT_CHANNEL','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-mr-2\x20univer-flex\x20univer-text-xl','unitID','_config','INVITE_CODE_HAS_BEEN_UES','defineProperty','SUBMIT_CHANGESET_TIMEOUT','with','className','6059675IBCaIb','parse','_saveCache','text','concat','attrs','reconnect','MoveRangeCommandId','show','storage','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','_getMergeRange','data','InsertColCommandId','permission.title','hasOwnProperty','_sheetSkeletonManagerService','getCellPositionByOffset','5078563AHBgfA','event$','onCommandExecuted','_hideTimer','type','_httpService','executionId','55740lrljyG','_scheduleSaving','_updateLocalCursor','_localCacheService','_color','_transformUndoRedoStack','saveOfflineData','deepClone','TEXT','getCollabEntity$','addObjects','red.300','endRow','setUndoRedoMutationParamsCache','onPointerMove$','ENSURE_SNAPSHOT_EXECUTION','_cursors','_cursor','_collaborationUIEventService','297fqFEZc','UNAUTHENTICATED','_backgroundColor','...','_onCursorDelete','cursorInfo','setShapeProps','VIEW_MAIN','transformIMECache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LICENSE_IMPORT_SIZE_EXCEEDED','4RMjfOx','getMergeData','xlink:href','column','getOwnPropertySymbols','Error','_registerRenderDependencies','next','transformSelections','subunit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOffline','translate(.97)','_setupSubUnitSync','path','href','doc.mutation.rich-text-editing','onPointerEnter$','div','setItem','_colorIndex','status$','setTimeout','SNAPSHOT_HAS_BEEN_REMOVED','transformStateCache','_init','getUnitStatus$','_shapes','_refreshCollabCursors','getAncestorScale','JOIN_ROOM_FAILED','getUnhiddenWorksheets','application/json','stringify','FETCH_MISS','univer-flex\x20univer-items-center','replace','_configService','_univerInstanceService','_imageIoService','urlChange$','_urlService','getRangePointData','history','_session','toRgbString','USER_NOT_INVITED_CODE','getCurrent','dispose$','getConfig','subscribe','transformMutation','syncEditingCollabCursor','APPLY_REVISION_CONFILICT','_doCreateSocket','delete','includes','OTHER_CLIENT_EDITING','PERMISSION_DENIED','top','origin','string','off-line-icon_clip0_910_343','requireSession','INVALID_INVITE_CODE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveDownCommandId','USERS_LEAVE','_registerDependencies','NOT_COLLAB','push','override','INTERNAL_ERROR','prototype','_colorAssignService','_drawTextRange','values','_name','M0\x200H16V16H0z','_clearOtherTimers','transform','_online','currentSkeleton$','post','colorChannel1','_getSheetObject','INVITE_CODE_REQUIRED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','drawWith','_beforeCloseService','_onCursorUpdate','_drawRectRange','createInstance','_drawAnchor','split','fill','m1Prime','_updateSubUnitFromURLParams','getSheetId','_lastPointer','_scene','setInterval','EMAIL_HAS_BEEN_BOUND','getMember','collaboration.closeRoom','memberID','fillText','getDocRanges','_docSkeleton','_collabSessionService','_revisionService','PY_RUNTIME_SCRIPT_ERROR','addClipboardHook','_eventUnsubscribe','restore','[CollaborationDataLoaderController]','collabStatus.conflict','toString','_getAnchorBounding','undoState','getVpScrollXYInfoByPosToVp','_docTransformStateCacheService','isEditing','cursorInfo$','_initResize','ONLINE','getSkeleton','call','1129980qEtesO','getOwnPropertyDescriptor','_handleLeaveEvent','ranges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','startRow','_getSessionTicket','UNIVER_DOC','fillStyle','disableLocalCache'];_0x3b8e=function(){return _0x5b960a;};return _0x3b8e();}function Vi(_0x433d3c){const _0x199cf0=_0xb934fa;switch(_0x433d3c){case _0x5116e8[_0x199cf0(0x20e)]:return'collabStatus.offline';case _0x5116e8[_0x199cf0(0x222)]:return _0x199cf0(0x183);case _0x5116e8[_0x199cf0(0x130)]:return'collabStatus.fetchMiss';case _0x5116e8[_0x199cf0(0x153)]:return _0x199cf0(0x291);case _0x5116e8['AWAITING']:case _0x5116e8[_0x199cf0(0x26f)]:return _0x199cf0(0x239);case _0x5116e8[_0x199cf0(0x230)]:case _0x5116e8[_0x199cf0(0x282)]:return _0x199cf0(0x23d);}}function Wi(_0x1f77fd){const _0x2031ff=_0xb934fa,{status$:_0x5e43e9}=_0x1f77fd,_0x5e333f=_0x2a35fb(_0x5e43e9,_0x5116e8['NOT_COLLAB']),_0x81c5e3=_0x39ca09(_0x45c1f5),_0x2bb074=_0x39ca09(_0x57c567),_0x19129e=_0x5e333f!==_0x5116e8[_0x2031ff(0x20e)],_0x5c92f5=_0x81c5e3['t'](Vi(_0x5e333f)),_0x2cd0cc=_0x19129e?_0x5d97e8(Ut,{}):_0x5d97e8(Nt,{}),_0xf5404a=_0x6d348b(()=>{const _0x42171c=_0x2031ff;_0x19129e||_0x2bb074[_0x42171c(0xdc)]();},[_0x19129e,_0x2bb074]);function _0x19e05c(){const _0x3f6f55=_0x2031ff;return _0x39e503(_0x3f6f55(0x120),{'className':_0x3f6f55(0x131),'onClick':_0xf5404a,'children':[_0x5d97e8(_0x3f6f55(0x120),{'className':_0x2f9a76(_0x3f6f55(0x2dd),{'univer-text-green-500':_0x19129e,'univer-text-red-500':!_0x19129e}),'children':_0x2cd0cc}),_0x5d97e8('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c92f5})]});}return _0x19129e?_0x19e05c():_0x5d97e8(_0x50c788,{'title':_0x81c5e3['t']('collab-client.tooltip.reconnect'),'children':_0x19e05c()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2a7a99,_0x253384,_0x5ae3c1,_0x1f2d8d)=>{const _0x2c7a90=_0xb934fa;for(var _0xb2ff79=_0x1f2d8d>0x1?void 0x0:_0x1f2d8d?Xi(_0x253384,_0x5ae3c1):_0x253384,_0x1553b6=_0x2a7a99[_0x2c7a90(0x29d)]-0x1,_0x2009db;_0x1553b6>=0x0;_0x1553b6--)(_0x2009db=_0x2a7a99[_0x1553b6])&&(_0xb2ff79=_0x2009db(_0xb2ff79)||_0xb2ff79);return _0xb2ff79;},q=(_0x263007,_0x1e1b7a)=>(_0x48a8cf,_0x296452)=>_0x1e1b7a(_0x48a8cf,_0x296452,_0x263007);let se=class extends _0x39b506{constructor(_0x1b0b66,_0xf1c223,_0x10a190,_0x92813e){const _0xd6d1a6=_0xb934fa;super(),_(this,_0xd6d1a6(0x2a0),new _0xb446e(_0x5116e8[_0xd6d1a6(0x153)])),(this[_0xd6d1a6(0x134)]=_0x1b0b66,this['_injector']=_0xf1c223,this[_0xd6d1a6(0x235)]=_0x10a190,this[_0xd6d1a6(0x28c)]=_0x92813e,this[_0xd6d1a6(0x25a)](),this[_0xd6d1a6(0x279)]());}['_initStatusListener'](){const _0x5c03a2=_0xb934fa;this['disposeWithMe'](this[_0x5c03a2(0x134)][_0x5c03a2(0x1eb)][_0x5c03a2(0x224)](_0x270e7f(()=>{const _0x5312c2=_0x5c03a2,_0x241c07=this[_0x5312c2(0x134)][_0x5312c2(0x1a7)]();return _0x241c07?this[_0x5312c2(0x235)][_0x5312c2(0xf9)](_0x241c07['getUnitId']()):_0xb7c481(null);}),_0x270e7f(_0x40d47a=>_0x40d47a?_0x40d47a[_0x5c03a2(0x123)]:_0xb7c481(_0x5116e8['NOT_COLLAB'])))['subscribe'](_0x4a5f99=>{const _0x26d2f3=_0x5c03a2;this[_0x26d2f3(0x2a0)]['next'](_0x4a5f99);}));}[_0xb934fa(0x25a)](){const _0x34cc70=_0xb934fa;this['disposeWithMe'](this[_0x34cc70(0x28c)][_0x34cc70(0x1c5)](_0x56d0dc[_0x34cc70(0x236)],()=>_0x17782a(Ki({'status$':this['_status$'][_0x34cc70(0x21a)]()}),this[_0x34cc70(0x2af)])));}};se=Gi([q(0x0,_0x501819),q(0x1,_0x45d71d(_0x327790)),q(0x2,_0x45d71d(_0x5d2352)),q(0x3,_0x3f7786)],se);function Ki(_0x3909b8){const {status$:_0x17a0dd}=_0x3909b8;return function(){return _0x5d97e8(Wi,{'status$':_0x17a0dd});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x3e0689,_0x11c109,_0x1c3742,_0x18920e)=>{const _0x60cb70=_0xb934fa;for(var _0x12de1f=_0x18920e>0x1?void 0x0:_0x18920e?zi(_0x11c109,_0x1c3742):_0x11c109,_0x52e88b=_0x3e0689[_0x60cb70(0x29d)]-0x1,_0x2ea055;_0x52e88b>=0x0;_0x52e88b--)(_0x2ea055=_0x3e0689[_0x52e88b])&&(_0x12de1f=_0x2ea055(_0x12de1f)||_0x12de1f);return _0x12de1f;},B=(_0x12ee67,_0x11ee93)=>(_0x49bc48,_0x476396)=>_0x11ee93(_0x49bc48,_0x476396,_0x12ee67);let ie=class extends _0x39b506{constructor(_0xbf9a6c,_0x3978b0,_0x3070e0,_0x29b3a3,_0x172c74,_0xcdb834){const _0x3767a9=_0xb934fa;super(),this[_0x3767a9(0x168)]=_0xbf9a6c,this[_0x3767a9(0xf3)]=_0x3978b0,this[_0x3767a9(0x102)]=_0x3070e0,this['_messageService']=_0x29b3a3,this[_0x3767a9(0x28b)]=_0x172c74,this['_localeService']=_0xcdb834,this[_0x3767a9(0x22f)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x43d8ee=_0xb934fa;this['disposeWithMe'](this[_0x43d8ee(0x168)][_0x43d8ee(0x1e3)](()=>{const _0x5cd181=_0x43d8ee;if(this[_0x5cd181(0xf3)]['saveTaskMap'][_0x5cd181(0x2bf)])return this[_0x5cd181(0x252)]['t'](_0x5cd181(0x268));}));}['_initEvent'](){const _0x5848d7=_0xb934fa;this[_0x5848d7(0x226)](this[_0x5848d7(0x102)][_0x5848d7(0xea)]['subscribe'](_0x3cdf4f=>{const _0x3695ec=_0x5848d7;_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x147)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('collaboration.single-unit.warning')}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x29f)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('collaboration.closeRoom')}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x148)]&&this[_0x3695ec(0x28b)]['show']({'title':this['_localeService']['t'](_0x3695ec(0xe5)),'content':this['_localeService']['t'](_0x3695ec(0x1ea)),'type':_0x3695ec(0x244),'duration':0x0}),_0x3cdf4f['id']===_0x346bff['CONFLICT']&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this[_0x3695ec(0x252)]['t'](_0x3695ec(0x177))+'('+_0x3cdf4f[_0x3695ec(0xe3)]+')'}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x12c)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this['_localeService']['t'](_0x3cdf4f[_0x3695ec(0xe3)]||'')}),_0x3cdf4f['id']===_0x346bff['SOCKET_FAILED_RETRY']&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('session.will-retry')}),_0x3cdf4f['id']===_0x346bff['SOCKET_FAILED']&&this['_messageService'][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this[_0x3695ec(0x252)]['t'](_0x3695ec(0x1fe))}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x2e2)]&&this[_0x3695ec(0x281)]['show']({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this['_localeService']['t'](_0x3695ec(0x205))});}));}};ie=Ji([B(0x0,_0x29e94c),B(0x1,_0x5caa1c),B(0x2,_0x45d71d(_0x3a3153)),B(0x3,_0x1ea12f),B(0x4,_0x359add),B(0x5,_0x45d71d(_0x45c1f5))],ie);const Zi=_0xb934fa(0x247),tt={},Mt=_0x2b6dff(_0xb934fa(0x277));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x50c2fd,_0x52c779,_0xc5f05d,_0x214648)=>{for(var _0x4ef8e1=_0x214648>0x1?void 0x0:_0x214648?Qi(_0x52c779,_0xc5f05d):_0x52c779,_0x4176fa=_0x50c2fd['length']-0x1,_0x414504;_0x4176fa>=0x0;_0x4176fa--)(_0x414504=_0x50c2fd[_0x4176fa])&&(_0x4ef8e1=_0x414504(_0x4ef8e1)||_0x4ef8e1);return _0x4ef8e1;},K=(_0x44f4cb,_0x58e768)=>(_0x454f79,_0x3ace7d)=>_0x58e768(_0x454f79,_0x3ace7d,_0x44f4cb);let ne=class extends _0xe5d784{constructor(_0x11e5cf,_0x10f9b9,_0x4ead24,_0x384195,_0x4dec22){const _0x87e76=_0xb934fa;super(),this['_urlService']=_0x11e5cf,this[_0x87e76(0x200)]=_0x10f9b9,this[_0x87e76(0x1b1)]=_0x4ead24,this[_0x87e76(0x1bc)]=_0x384195,_0x4dec22?_0x4dec22==null||_0x4dec22[_0x87e76(0x214)]()[_0x87e76(0x225)](()=>this['_init']()):(this[_0x87e76(0x200)]['debug']('[CollaborationDataLoaderController]',_0x87e76(0x255)),this[_0x87e76(0x127)]());}async['_init'](){const _0x56421d=_0xb934fa,_0x2278e1=this[_0x56421d(0x137)][_0x56421d(0x216)](_0x56421d(0x1f0)),_0x43b43b=this['_urlService'][_0x56421d(0x216)](_0x56421d(0xed)),_0x516c6a=this[_0x56421d(0x137)][_0x56421d(0x216)](_0x56421d(0x117));if(!_0x2278e1||!_0x43b43b){this[_0x56421d(0x200)][_0x56421d(0x298)](_0x56421d(0x182),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x100f7f=await this[_0x56421d(0x1bc)]['loadUnit'](_0x2278e1,Number(_0x43b43b),_0x516c6a);_0x100f7f&&_0x100f7f instanceof _0x12a0e0&&this['_setupSubUnitSync'](_0x100f7f);}async[_0xb934fa(0x11b)](_0x1227c1){const _0x1c41bc=_0xb934fa;await this[_0x1c41bc(0x170)](_0x1227c1),_0x1227c1[_0x1c41bc(0x1df)][_0x1c41bc(0x224)](_0x5023c9(this['dispose$']))[_0x1c41bc(0x140)](_0x47d373=>{const _0x145da4=_0x1c41bc;_0x47d373&&this[_0x145da4(0x1f9)](_0x47d373);}),this[_0x1c41bc(0x137)][_0x1c41bc(0x136)][_0x1c41bc(0x224)](_0x5023c9(this['dispose$']))['subscribe'](()=>this[_0x1c41bc(0x170)](_0x1227c1));}['_updateURLWithCurrentState'](_0x42ed99,_0x3cafb3=!0x1){const _0x5b35f6=_0xb934fa,_0x3452a5=this[_0x5b35f6(0x137)][_0x5b35f6(0x216)](_0x5b35f6(0x117));_0x42ed99[_0x5b35f6(0x171)]()!==_0x3452a5&&this[_0x5b35f6(0x137)][_0x5b35f6(0x24b)]('subunit',_0x42ed99['getSheetId'](),_0x3cafb3);}async[_0xb934fa(0x170)](_0x5a5839){const _0xa8e99f=_0xb934fa;var _0x342217;const _0x44a892=this[_0xa8e99f(0x137)][_0xa8e99f(0x216)](_0xa8e99f(0x117));if(!_0x44a892||!_0x5a5839[_0xa8e99f(0x22b)](_0x44a892)){const _0x439ea1=_0x5a5839[_0xa8e99f(0x12d)]()[0x0],_0x302a29=_0x5a5839['getSheetBySheetId'](_0x439ea1);if(!_0x302a29)return;this[_0xa8e99f(0x1f9)](_0x302a29,!0x0),await this[_0xa8e99f(0x1b1)][_0xa8e99f(0x2da)](_0x402dde['id'],{'unitId':_0x5a5839[_0xa8e99f(0x254)](),'subUnitId':_0x439ea1});return;}((_0x342217=_0x5a5839[_0xa8e99f(0x1af)]())==null?void 0x0:_0x342217[_0xa8e99f(0x171)]())!==_0x44a892&&await this[_0xa8e99f(0x1b1)][_0xa8e99f(0x2da)](_0x402dde['id'],{'unitId':_0x5a5839[_0xa8e99f(0x254)](),'subUnitId':_0x44a892});}};ne=qi([K(0x0,Mt),K(0x1,_0x62682),K(0x2,_0x22d3f6),K(0x3,_0x45d71d(_0x56c772)),K(0x4,_0x1ebe5e(_0x4e84c4))],ne);var en=Object[_0xb934fa(0x190)],tn=(_0x21df82,_0x349a49,_0x691948,_0x3a9e46)=>{const _0x2fe899=_0xb934fa;for(var _0x57217e=_0x3a9e46>0x1?void 0x0:_0x3a9e46?en(_0x349a49,_0x691948):_0x349a49,_0x5c6651=_0x21df82[_0x2fe899(0x29d)]-0x1,_0x1449d6;_0x5c6651>=0x0;_0x5c6651--)(_0x1449d6=_0x21df82[_0x5c6651])&&(_0x57217e=_0x1449d6(_0x57217e)||_0x57217e);return _0x57217e;},Ce=(_0x58221b,_0x10a78c)=>(_0x377a70,_0x3e58f4)=>_0x10a78c(_0x377a70,_0x3e58f4,_0x58221b);let re=class{constructor(_0x140f7f,_0x3c64cd,_0xc77dc7){const _0x30b5c2=_0xb934fa;this[_0x30b5c2(0x2af)]=_0x140f7f,this[_0x30b5c2(0x1dc)]=_0x3c64cd,this[_0x30b5c2(0x1cf)]=_0xc77dc7;}[_0xb934fa(0x10b)](_0xbad308){const _0x3542c5=_0xb934fa;this[_0x3542c5(0xf5)](_0xbad308),this[_0x3542c5(0x2c9)](_0xbad308);}[_0xb934fa(0x210)](_0x530e1e){const _0x3bf342=_0xb934fa,{unitID:_0x122fdd}=_0x530e1e,_0x432b6a=this[_0x3bf342(0x1cf)]['getRenderById'](_0x122fdd)[_0x3bf342(0x2e3)](_0x11ab77),{redoCache:_0x5d4fcf}=_0x432b6a[_0x3bf342(0x1a5)]();if(_0x5d4fcf[_0x3bf342(0x29d)]===0x0)return _0x530e1e;let _0x632828=_0x54c234['deepClone'](_0x530e1e[_0x3bf342(0x2d3)][0x0]);for(let _0x2ab4af=0x0;_0x2ab4af<_0x5d4fcf[_0x3bf342(0x29d)];_0x2ab4af++){const _0x4d3bc4={'id':'doc.mutation.rich-text-editing','params':{..._0x5d4fcf[_0x2ab4af]}},_0x205bb2=this[_0x3bf342(0x1dc)]['transformMutation'](_0x632828,_0x4d3bc4,!0x1);if(_0x54ca96(_0x205bb2))throw _0x205bb2[_0x3bf342(0x244)];_0x632828=_0x205bb2['m1Prime'];}return{..._0x54c234[_0x3bf342(0xf7)](_0x530e1e),'mutations':[_0x632828]};}[_0xb934fa(0xf5)](_0x380c87){const _0x18fe1b=_0xb934fa,{unitID:_0x48d25b}=_0x380c87,_0x51dcf2=this[_0x18fe1b(0x1cf)][_0x18fe1b(0x2c3)](_0x48d25b)[_0x18fe1b(0x2e3)](_0x11ab77),{undoCache:_0x297a7e,redoCache:_0x5c0965}=_0x51dcf2[_0x18fe1b(0x1a5)]();if(_0x297a7e['length']===0x0||_0x5c0965[_0x18fe1b(0x29d)]===0x0)return;const _0x32a5c6=[],_0xaa8922=[];let _0x464d34=_0x54c234[_0x18fe1b(0xf7)](_0x380c87['mutations'][0x0]),_0x14c558=_0x54c234[_0x18fe1b(0xf7)](_0x380c87[_0x18fe1b(0x2d3)][0x0]);for(let _0x29620e=_0x297a7e[_0x18fe1b(0x29d)]-0x1;_0x29620e>=0x0;_0x29620e--){const _0x5aa1d7={'id':_0x18fe1b(0x11e),'params':{..._0x297a7e[_0x29620e]}},_0x321f6c={'id':_0x18fe1b(0x11e),'params':{..._0x5c0965[_0x29620e]}},_0x74cec7=this['_transformService'][_0x18fe1b(0x141)](_0x464d34,_0x5aa1d7,!0x1),_0x2b89be=this[_0x18fe1b(0x1dc)][_0x18fe1b(0x141)](_0x14c558,_0x321f6c,!0x1);if(_0x54ca96(_0x74cec7))throw _0x74cec7[_0x18fe1b(0x244)];if(_0x54ca96(_0x2b89be))throw _0x2b89be[_0x18fe1b(0x244)];_0x32a5c6[_0x18fe1b(0x1d9)](_0x74cec7['m2Prime'][_0x18fe1b(0x290)]),_0xaa8922[_0x18fe1b(0x1d9)](_0x2b89be[_0x18fe1b(0x1ae)][_0x18fe1b(0x290)]),_0x464d34=_0x74cec7[_0x18fe1b(0x16f)],_0x14c558=_0x2b89be[_0x18fe1b(0x16f)];}_0x51dcf2[_0x18fe1b(0xfd)]({'undoCache':_0x32a5c6,'redoCache':_0xaa8922});}[_0xb934fa(0x2c9)](_0x267109){const _0x44908a=_0xb934fa,{unitID:_0x3c2860}=_0x267109,_0x555dd0=this[_0x44908a(0x1cf)][_0x44908a(0x2c3)](_0x3c2860)[_0x44908a(0x2e3)](_0x11ab77),_0x585e53=_0x555dd0['getActiveRange']();if(_0x585e53==null)return;const _0x4747bd=[{'id':_0x44908a(0x11e),'params':{'unitId':_0x267109[_0x44908a(0x2de)],'actions':null,'textRanges':[_0x585e53]}}],_0x248a6b=this[_0x44908a(0x1dc)]['transformMutationsWithChangeset'](_0x267109,_0x4747bd);if(!_0x4c9336(_0x248a6b))throw _0x248a6b[_0x44908a(0x244)];const _0x47b7f9=_0x248a6b[_0x44908a(0x1ae)][0x0][_0x44908a(0x290)]['textRanges'];Array[_0x44908a(0x2c2)](_0x47b7f9)&&_0x47b7f9[_0x44908a(0x29d)]&&_0x555dd0[_0x44908a(0x1a4)](_0x47b7f9[0x0]);}};function _0xa951(_0xb22de0,_0x49e41a){const _0x3b8ec2=_0x3b8e();return _0xa951=function(_0xa951d2,_0x49333e){_0xa951d2=_0xa951d2-0xd5;let _0x4aeef6=_0x3b8ec2[_0xa951d2];return _0x4aeef6;},_0xa951(_0xb22de0,_0x49e41a);}re=tn([Ce(0x0,_0x45d71d(_0x327790)),Ce(0x1,_0x4c1858),Ce(0x2,_0x2ce009)],re);var sn=Object[_0xb934fa(0x190)],nn=(_0x48a028,_0x28b651,_0x4b99c8,_0x2c54b9)=>{const _0x3364a6=_0xb934fa;for(var _0x28eda7=_0x2c54b9>0x1?void 0x0:_0x2c54b9?sn(_0x28b651,_0x4b99c8):_0x28b651,_0x57137b=_0x48a028[_0x3364a6(0x29d)]-0x1,_0x33372a;_0x57137b>=0x0;_0x57137b--)(_0x33372a=_0x48a028[_0x57137b])&&(_0x28eda7=_0x33372a(_0x28eda7)||_0x28eda7);return _0x28eda7;},Ee=(_0x20b886,_0x410ed8)=>(_0x36756c,_0x37f10f)=>_0x410ed8(_0x36756c,_0x37f10f,_0x20b886);let oe=class{constructor(_0x3d0b8b,_0x54d01f,_0x95866f){const _0x221291=_0xb934fa;this['_injector']=_0x3d0b8b,this[_0x221291(0x1dc)]=_0x54d01f,this[_0x221291(0x2bd)]=_0x95866f;}[_0xb934fa(0x126)](_0x359bf2){const _0x251833=_0xb934fa;this[_0x251833(0x23c)](_0x359bf2);}['transformRemoteChangeset'](_0x14d6b2){const _0x33eea9=_0xb934fa,{unitID:_0x3abac5}=_0x14d6b2,{collaboration:_0x5a3898}=this[_0x33eea9(0x2bd)][_0x33eea9(0x20b)](_0x3abac5);if(_0x5a3898[_0x33eea9(0x29d)]===0x0)return _0x14d6b2;let _0x254871=_0x54c234[_0x33eea9(0xf7)](_0x14d6b2[_0x33eea9(0x2d3)][0x0]);for(let _0x583e53=0x0;_0x583e53<_0x5a3898[_0x33eea9(0x29d)];_0x583e53++){const _0x4d2d35={'id':_0x33eea9(0x11e),'params':{'unitId':_0x5a3898[_0x583e53][_0x33eea9(0x265)],..._0x5a3898[_0x583e53][_0x33eea9(0x28f)]}},_0x437908=this[_0x33eea9(0x1dc)][_0x33eea9(0x141)](_0x254871,_0x4d2d35,!0x1);if(_0x54ca96(_0x437908))throw _0x437908['error'];_0x254871=_0x437908[_0x33eea9(0x16f)];}return{..._0x54c234[_0x33eea9(0xf7)](_0x14d6b2),'mutations':[_0x254871]};}[_0xb934fa(0x23c)](_0x2acdcf){const _0x1fd971=_0xb934fa,{unitID:_0x59f503}=_0x2acdcf,{history:_0x4b4520,collaboration:_0x5ecb09}=this['_docStateChangeManagerService'][_0x1fd971(0x20b)](_0x59f503);if(_0x4b4520[_0x1fd971(0x29d)]===0x0&&_0x5ecb09[_0x1fd971(0x29d)]===0x0)return;const _0x35dd42=[],_0x348da6=[];let _0x12a3cc=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]),_0x50de7e=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]);for(let _0x3b42cd=_0x4b4520[_0x1fd971(0x29d)]-0x1;_0x3b42cd>=0x0;_0x3b42cd--){const _0x7729f1={'id':_0x1fd971(0x11e),'params':{'unitId':_0x4b4520[_0x3b42cd][_0x1fd971(0x265)],..._0x4b4520[_0x3b42cd][_0x1fd971(0x186)]}},_0x2c7288={'id':_0x1fd971(0x11e),'params':{'unitId':_0x4b4520[_0x3b42cd][_0x1fd971(0x265)],..._0x4b4520[_0x3b42cd][_0x1fd971(0x28f)]}},_0x174342=this['_transformService'][_0x1fd971(0x141)](_0x12a3cc,_0x7729f1,!0x1),_0x45db7e=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x50de7e,_0x2c7288,!0x1);if(_0x54ca96(_0x174342))throw _0x174342['error'];if(_0x54ca96(_0x45db7e))throw _0x45db7e[_0x1fd971(0x244)];_0x35dd42['unshift']({..._0x4b4520[_0x3b42cd],'undoState':_0x174342[_0x1fd971(0x1ae)][_0x1fd971(0x290)],'redoState':_0x45db7e['m2Prime'][_0x1fd971(0x290)]}),_0x12a3cc=_0x174342[_0x1fd971(0x16f)],_0x50de7e=_0x45db7e[_0x1fd971(0x16f)];}_0x12a3cc=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]),_0x50de7e=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]);for(let _0x287d23=_0x5ecb09[_0x1fd971(0x29d)]-0x1;_0x287d23>=0x0;_0x287d23--){const _0x57bce8={'id':_0x1fd971(0x11e),'params':{'unitId':_0x5ecb09[_0x287d23]['unitId'],..._0x5ecb09[_0x287d23][_0x1fd971(0x186)]}},_0x139fe2={'id':_0x1fd971(0x11e),'params':{'unitId':_0x5ecb09[_0x287d23][_0x1fd971(0x265)],..._0x5ecb09[_0x287d23][_0x1fd971(0x28f)]}},_0x37da5a=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x12a3cc,_0x57bce8,!0x1),_0x922e0a=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x50de7e,_0x139fe2,!0x1);if(_0x54ca96(_0x37da5a))throw _0x37da5a[_0x1fd971(0x244)];if(_0x54ca96(_0x922e0a))throw _0x922e0a[_0x1fd971(0x244)];_0x348da6[_0x1fd971(0x1d9)]({..._0x5ecb09[_0x287d23],'undoState':_0x37da5a[_0x1fd971(0x1ae)][_0x1fd971(0x290)],'redoState':_0x922e0a[_0x1fd971(0x1ae)][_0x1fd971(0x290)]}),_0x12a3cc=_0x37da5a[_0x1fd971(0x16f)],_0x50de7e=_0x922e0a[_0x1fd971(0x16f)];}this[_0x1fd971(0x2bd)][_0x1fd971(0x22e)](_0x59f503,{'history':_0x35dd42,'collaboration':_0x348da6});}};oe=nn([Ee(0x0,_0x45d71d(_0x327790)),Ee(0x1,_0x4c1858),Ee(0x2,_0x45d71d(_0x2f3ab2))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x1c8ff4,_0x36ea38,_0x23de17,_0x4513dc)=>{const _0x3bdf20=_0xb934fa;for(var _0x45e598=_0x4513dc>0x1?void 0x0:_0x4513dc?rn(_0x36ea38,_0x23de17):_0x36ea38,_0x1e117a=_0x1c8ff4[_0x3bdf20(0x29d)]-0x1,_0x5ee29b;_0x1e117a>=0x0;_0x1e117a--)(_0x5ee29b=_0x1c8ff4[_0x1e117a])&&(_0x45e598=_0x5ee29b(_0x45e598)||_0x45e598);return _0x45e598;},st=(_0x4070aa,_0x1d5240)=>(_0x379d6d,_0x252046)=>_0x1d5240(_0x379d6d,_0x252046,_0x4070aa);let ae=class{constructor(_0x4789dd,_0x54eb8b){const _0x3e5f32=_0xb934fa;this['_injector']=_0x4789dd,this[_0x3e5f32(0x1dc)]=_0x54eb8b;}[_0xb934fa(0x116)](_0x278713){const _0x113ddc=_0xb934fa;var _0x251d1d;const _0x20a855=this[_0x113ddc(0x2af)][_0x113ddc(0x23f)](_0x363a42),_0x53981d=(_0x251d1d=_0x20a855[_0x113ddc(0x17a)]())!=null?_0x251d1d:[];if(_0x53981d[_0x113ddc(0x29d)]===0x0)return;const _0x38e2eb=_0x278713[_0x113ddc(0x2de)],_0x9a1234=[{'id':_0x113ddc(0x11e),'params':{'unitId':_0x38e2eb,'actions':null,'textRanges':_0x53981d}}],_0x27593f=this[_0x113ddc(0x1dc)][_0x113ddc(0x26e)](_0x278713,_0x9a1234);if(!_0x4c9336(_0x27593f))throw _0x27593f['error'];const _0x28572f=_0x27593f['m2Prime'][0x0]['params'][_0x113ddc(0x28e)];Array['isArray'](_0x28572f)&&_0x28572f[_0x113ddc(0x29d)]&&_0x20a855[_0x113ddc(0x1ac)](_0x28572f,{'unitId':_0x38e2eb,'subUnitId':_0x38e2eb},!0x1);}};ae=on([st(0x0,_0x45d71d(_0x327790)),st(0x1,_0x4c1858)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1adf4b,_0x1de46c,_0x354f17,_0x338502)=>{for(var _0x306ddc=_0x338502>0x1?void 0x0:_0x338502?an(_0x1de46c,_0x354f17):_0x1de46c,_0x22ea50=_0x1adf4b['length']-0x1,_0x1a73ce;_0x22ea50>=0x0;_0x22ea50--)(_0x1a73ce=_0x1adf4b[_0x22ea50])&&(_0x306ddc=_0x1a73ce(_0x306ddc)||_0x306ddc);return _0x306ddc;},U=(_0x3a46a6,_0x370d85)=>(_0xfe9d04,_0x5906b4)=>_0x370d85(_0xfe9d04,_0x5906b4,_0x3a46a6);let ce=class extends _0x39b506{constructor(_0x584fcd,_0x69e102,_0x538dc1,_0x463edc,_0x39cfd4,_0x50c4be,_0x3ff2fb,_0x2d6f52){const _0x4ff0b9=_0xb934fa;super(),_(this,_0x4ff0b9(0x2a0),new _0xb446e(_0x5116e8['NOT_COLLAB'])),(this[_0x4ff0b9(0x2bd)]=_0x584fcd,this['_collaborationController']=_0x69e102,this['_docTransformIMECacheService']=_0x538dc1,this['_docTransformStateCacheService']=_0x463edc,this[_0x4ff0b9(0x2a2)]=_0x39cfd4,this['_docSyncEditingCollabCursorService']=_0x50c4be,this[_0x4ff0b9(0x281)]=_0x3ff2fb,this[_0x4ff0b9(0x252)]=_0x2d6f52,this[_0x4ff0b9(0x1ba)]());}[_0xb934fa(0x1ba)](){const _0x505800=_0xb934fa;this[_0x505800(0x226)](this['_collaborationController']['entityInit$']['subscribe'](_0x3dee13=>{const _0x116ea5=_0x505800,_0x3615c4=this[_0x116ea5(0x2bd)][_0x116ea5(0x2ad)]['subscribe'](_0x2d176e=>{const _0x5821f6=_0x116ea5;if(_0x2d176e==null)return;const {unitId:_0x4d3828,redoState:_0x1e04c1,commandId:_0x31d62c}=_0x2d176e;if(_0x4d3828!==_0x3dee13[_0x5821f6(0x2de)])return;const _0x217357={'id':_0x31d62c,'type':_0xceca2a[_0x5821f6(0x232)],'params':{'unitId':_0x4d3828,'actions':_0x1e04c1[_0x5821f6(0x296)],'textRanges':null}};_0x3dee13[_0x5821f6(0x278)](_0x217357);});if(_0x3dee13['disposeWithMe'](_0x3615c4),_0x3dee13 instanceof _0xbad9f8){const _0x3ebbf9={'onTransformIME':_0x4cf844=>this[_0x116ea5(0x25d)][_0x116ea5(0x10b)](_0x4cf844),'onTransformState':_0x362e7a=>this[_0x116ea5(0x188)][_0x116ea5(0x126)](_0x362e7a),'onTransformSelections':_0x5a3e08=>this['_docTransformSelectionsService'][_0x116ea5(0x116)](_0x5a3e08),'onSyncEditingCollabCursor':_0x294356=>this[_0x116ea5(0x1e7)][_0x116ea5(0x142)](_0x294356),'onTransformRemoteChangesetByIMECache':_0x289ad6=>this[_0x116ea5(0x25d)][_0x116ea5(0x210)](_0x289ad6),'onTransformRemoteChangesetByStateCache':_0x3e2d9b=>this[_0x116ea5(0x188)][_0x116ea5(0x210)](_0x3e2d9b)};_0x3dee13[_0x116ea5(0x267)](_0x3ebbf9);}}));}};ce=cn([U(0x0,_0x45d71d(_0x2f3ab2)),U(0x1,_0x45d71d(_0x5d2352)),U(0x2,_0x45d71d(re)),U(0x3,_0x45d71d(oe)),U(0x4,_0x45d71d(ae)),U(0x5,_0x45d71d(Fe)),U(0x6,_0x1ea12f),U(0x7,_0x45d71d(_0x45c1f5))],ce);var ln=Object[_0xb934fa(0x190)],_n=(_0x362e6e,_0x5a965b,_0x557e43,_0x6c0d41)=>{for(var _0x1b8324=_0x6c0d41>0x1?void 0x0:_0x6c0d41?ln(_0x5a965b,_0x557e43):_0x5a965b,_0xc00fd8=_0x362e6e['length']-0x1,_0x48db4f;_0xc00fd8>=0x0;_0xc00fd8--)(_0x48db4f=_0x362e6e[_0xc00fd8])&&(_0x1b8324=_0x48db4f(_0x1b8324)||_0x1b8324);return _0x1b8324;},Oe=(_0x1cd2e4,_0x5b4faf)=>(_0x1b86fe,_0x4bc41a)=>_0x5b4faf(_0x1b86fe,_0x4bc41a,_0x1cd2e4);let Ae=class extends _0x39b506{constructor(_0x407959,_0x26b9e6,_0x50909f){const _0x5478fa=_0xb934fa;super(),_(this,_0x5478fa(0x1d3),new Map()),_(this,_0x5478fa(0x223),new Map()),_(this,_0x5478fa(0x1fd),!0x1),(this[_0x5478fa(0x133)]=_0x407959,this['_localStorageService']=_0x26b9e6,this[_0x5478fa(0x17d)]=_0x50909f);}[_0xb934fa(0x198)](){const _0x4f5a21=_0xb934fa;this[_0x4f5a21(0x1fd)]=!0x0;}['enableLocalCache'](){const _0x1d0480=_0xb934fa;this[_0x1d0480(0x1fd)]=!0x1;}get[_0xb934fa(0x2b8)](){return this['_saveTaskMap'];}['dispose'](){const _0x2b2aaa=_0xb934fa;this[_0x2b2aaa(0x2b5)]()[_0x2b2aaa(0x225)](()=>super[_0x2b2aaa(0x23b)]());}async['loadOfflineData'](_0x11d33e){const _0x538b5d=_0xb934fa;return this['_disabled']?null:this[_0x538b5d(0x1b3)]['getItem'](_0x21b8bc(_0x11d33e));}async[_0xb934fa(0xf6)](_0x3f3000,_0x40df3f){const _0x2d3db6=_0xb934fa;return!!this['_localStorageService'][_0x2d3db6(0x121)](_0x3f3000,_0x40df3f);}['updateOfflineData'](_0x1f421c,_0x5aa532,_0x3e2fbb,_0x1fa1d9){const _0x10c286=_0xb934fa,_0x49d89a=this[_0x10c286(0x17d)][_0x10c286(0x19e)](_0x1f421c);this[_0x10c286(0x1d3)]['set'](_0x1f421c,{'unitID':_0x1f421c,'type':_0x5aa532,'awaitingChangeset':_0x3e2fbb,'mutations':_0x1fa1d9,'rev':_0x49d89a}),this[_0x10c286(0x223)][_0x10c286(0x1ee)](_0x1f421c)||this['_scheduleSaving'](_0x1f421c);}[_0xb934fa(0xf1)](_0x3f5c75){const _0x4fdaf0=_0xb934fa,_0x3de8f9=this[_0x4fdaf0(0x2ca)]();_0x3de8f9===0x0?this[_0x4fdaf0(0xd8)](_0x3f5c75):this['_saveTaskMap'][_0x4fdaf0(0x2d6)](_0x3f5c75,setTimeout(()=>this[_0x4fdaf0(0xd8)](_0x3f5c75),_0x3de8f9));}[_0xb934fa(0x2ca)](){const _0x1c1652=_0xb934fa;var _0xbc67e4;return(_0xbc67e4=this[_0x1c1652(0x133)][_0x1c1652(0x13f)](_0x2eb720))!=null?_0xbc67e4:_0x2cd666;}[_0xb934fa(0xd8)](_0x355a15){const _0x52d76d=_0xb934fa,_0x5ef54d=this['_saveTaskMap'][_0x52d76d(0x23f)](_0x355a15);return _0x5ef54d!==void 0x0&&window[_0x52d76d(0x242)](_0x5ef54d),this[_0x52d76d(0x1b3)][_0x52d76d(0x121)](_0x21b8bc(_0x355a15),this[_0x52d76d(0x1d3)][_0x52d76d(0x23f)](_0x355a15))['then'](()=>this[_0x52d76d(0x223)][_0x52d76d(0x145)](_0x355a15));}async[_0xb934fa(0x2b5)](){const _0x21ad24=_0xb934fa,_0x28762c=[];this[_0x21ad24(0x223)][_0x21ad24(0x21f)]((_0x1d03b3,_0x1c90fe)=>{const _0x4ba15b=_0x21ad24;window[_0x4ba15b(0x242)](_0x1d03b3),_0x28762c[_0x4ba15b(0x154)](this[_0x4ba15b(0xd8)](_0x1c90fe)[_0x4ba15b(0x225)](()=>{const _0x61c146=_0x4ba15b;this['_saveTaskMap'][_0x61c146(0x145)](_0x1c90fe);}));}),await Promise['all'](_0x28762c);}};Ae=_n([Oe(0x0,_0xb60a07),Oe(0x1,_0x22024e),Oe(0x2,_0x45d71d(_0x330ac4))],Ae);class hn extends _0xe5d784{constructor(){const _0xc26ded=_0xb934fa;super(),_(this,_0xc26ded(0x136)),this[_0xc26ded(0x136)]=_0x29b797(window,_0xc26ded(0x2ae))['pipe'](_0x5023c9(this[_0xc26ded(0x13e)]),_0x5bfbef(0x1),_0x449b84(void 0x0));}[_0xb934fa(0x24b)](_0x4246a0,_0x5663e8,_0x19b31b=!0x1){const _0x5c12a7=_0xb934fa,_0x3f80ff=new URL(window[_0x5c12a7(0x215)][_0x5c12a7(0x11d)]);_0x3f80ff[_0x5c12a7(0x1e2)][_0x5c12a7(0x2d6)](_0x4246a0,_0x5663e8),_0x19b31b?window[_0x5c12a7(0x139)][_0x5c12a7(0x2c6)]('','',_0x3f80ff['toString']()):window[_0x5c12a7(0x139)][_0x5c12a7(0x218)]('','',_0x3f80ff[_0x5c12a7(0x184)]());}[_0xb934fa(0x1e0)](_0x182da3,_0x163609=!0x1){const _0xd98291=_0xb934fa,_0x376eed=new URL(window[_0xd98291(0x215)]['href']);_0x376eed[_0xd98291(0x1e2)]['delete'](_0x182da3),_0x163609?window[_0xd98291(0x139)][_0xd98291(0x2c6)]('','',_0x376eed[_0xd98291(0x184)]()):window['history']['pushState']('','',_0x376eed['toString']());}[_0xb934fa(0x216)](_0x54aedd){const _0x38780c=_0xb934fa;var _0x41bf16;return(_0x41bf16=new URL(window[_0x38780c(0x215)]['href'])[_0x38780c(0x1e2)]['get'](_0x54aedd))!=null?_0x41bf16:void 0x0;}}var un=Object[_0xb934fa(0x2e1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4a3c68,_0x484c48,_0x46c565)=>_0x484c48 in _0x4a3c68?un(_0x4a3c68,_0x484c48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46c565}):_0x4a3c68[_0x484c48]=_0x46c565,Sn=(_0x198ddc,_0x371e64,_0x3b968c,_0x4919ed)=>{const _0x5be624=_0xb934fa;for(var _0x95f718=_0x4919ed>0x1?void 0x0:_0x4919ed?dn(_0x371e64,_0x3b968c):_0x371e64,_0x4df8ef=_0x198ddc[_0x5be624(0x29d)]-0x1,_0x7aa6b8;_0x4df8ef>=0x0;_0x4df8ef--)(_0x7aa6b8=_0x198ddc[_0x4df8ef])&&(_0x95f718=_0x7aa6b8(_0x95f718)||_0x95f718);return _0x95f718;},be=(_0x224999,_0x2f8239)=>(_0x1e05e5,_0x290da4)=>_0x2f8239(_0x1e05e5,_0x290da4,_0x224999),mn=(_0x5baa92,_0x327241,_0xc4f650)=>fn(_0x5baa92,_0x327241+'',_0xc4f650);const In=_0xb934fa(0x10c);let ye=class extends _0x48fd04{constructor(_0x467002=tt,_0x46d725,_0x439a2f,_0x28a888){const _0x51c30e=_0xb934fa;super(),this[_0x51c30e(0x2df)]=_0x467002,this[_0x51c30e(0x1cf)]=_0x46d725,this[_0x51c30e(0x2af)]=_0x439a2f,this[_0x51c30e(0x133)]=_0x28a888;const {..._0x410639}=_0x2f2e70({},tt,this[_0x51c30e(0x2df)]);this[_0x51c30e(0x133)][_0x51c30e(0x20f)](Zi,_0x410639);}['onStarting'](){const _0x3edd8d=_0xb934fa;this[_0x3edd8d(0x152)](),this[_0x3edd8d(0x1c3)]();}[_0xb934fa(0x251)](){const _0x2cb325=_0xb934fa;this[_0x2cb325(0x114)]();}[_0xb934fa(0x152)](){const _0x494b6d=_0xb934fa;var _0x460924;const _0x844ac4=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0xaa4d69,{'useClass':_0x5699e5}],[_0x5caa1c,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x5fa611(this[_0x494b6d(0x2af)],_0x50f88a(_0x844ac4,(_0x460924=this[_0x494b6d(0x2df)])==null?void 0x0:_0x460924[_0x494b6d(0x155)]));}['_registerRenderDependencies'](){const _0x43d1ba=_0xb934fa;this['disposeWithMe'](this['_renderManagerService'][_0x43d1ba(0x1a8)](_0x58ec08['UNIVER_DOC'],[Pe])),this[_0x43d1ba(0x226)](this['_renderManagerService']['registerRenderModule'](_0x58ec08['UNIVER_SHEET'],[we]));}[_0xb934fa(0x1c3)](){const _0x53e350=_0xb934fa;_0x598ccf(this[_0x53e350(0x2af)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0xea7a49(_0x558812),be(0x1,_0x2ce009),be(0x2,_0x45d71d(_0x327790)),be(0x3,_0xb60a07)],ye);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x4070f2,_0x20a0a0,_0x40b49a,_0x466d84)=>{const _0x2f4765=_0xb934fa;for(var _0x5f3563=_0x466d84>0x1?void 0x0:_0x466d84?vn(_0x20a0a0,_0x40b49a):_0x20a0a0,_0x59b938=_0x4070f2[_0x2f4765(0x29d)]-0x1,_0x39fcdf;_0x59b938>=0x0;_0x59b938--)(_0x39fcdf=_0x4070f2[_0x59b938])&&(_0x5f3563=_0x39fcdf(_0x5f3563)||_0x5f3563);return _0x5f3563;},z=(_0x271e12,_0x488559)=>(_0x9e6594,_0x573391)=>_0x488559(_0x9e6594,_0x573391,_0x271e12);let it=class extends _0x2afce0{constructor(_0x1d6196,_0x2377f9,_0x5cfb20,_0x1dfea1,_0x526bd3){super(_0x1d6196,_0x2377f9,_0x5cfb20,_0x1dfea1,_0x526bd3);}async['createSocket'](_0x506eec){const _0xda8459=_0xb934fa,_0x5a31ca=await this[_0xda8459(0x195)](),_0x37a5af=this[_0xda8459(0x27b)](_0x506eec,_0x5a31ca);return this[_0xda8459(0x144)](_0x37a5af);}[_0xb934fa(0x27b)](_0x4d5e47,_0x46d688){const _0x15ded7=_0xb934fa,_0x89c6dd=typeof window>'u'?new URL(_0x4d5e47):new URL(_0x4d5e47,window[_0x15ded7(0x215)][_0x15ded7(0x14a)]);_0x89c6dd['searchParams'][_0x15ded7(0x2d6)](_0x15ded7(0x2b2),_0x46d688);const _0xbae6ca=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15ded7(0x215)][_0x15ded7(0x295)]);return _0xbae6ca[_0x15ded7(0x23f)](_0x15ded7(0x25b))&&_0x89c6dd[_0x15ded7(0x1e2)][_0x15ded7(0x2d6)](_0x15ded7(0x25b),_0xbae6ca['get'](_0x15ded7(0x25b))),_0x89c6dd['toString']();}async['_getSessionTicket'](){const _0x52513f=_0xb934fa;var _0xefdd3d,_0x3094d8,_0x488d7d;const _0x4e07df=this[_0x52513f(0x133)][_0x52513f(0x13f)](_0x29f867),_0x440236=(_0xefdd3d=_0x4e07df==null?void 0x0:_0x4e07df['wsSessionTicketUrl'])!=null?_0xefdd3d:_0x34c6ac;return(_0x488d7d=(_0x3094d8=(await this['_httpService'][_0x52513f(0x23f)](_0x440236,{'headers':{'Content-Type':_0x52513f(0x12e)}}))['body'])==null?void 0x0:_0x3094d8['ticket'])!=null?_0x488d7d:'';}};it=gn([z(0x0,_0x45d71d(_0x327790)),z(0x1,_0x45d71d(_0x2d5d37)),z(0x2,_0xb60a07),z(0x3,_0x62682),z(0x4,_0x2536d0)],it);const nt=0x7530,rt=_0xb934fa(0x2db);class Fn extends _0x39b506{constructor(){const _0x2194e8=_0xb934fa;super(),_(this,_0x2194e8(0x27d),_0x269f9()),_(this,_0x2194e8(0x283),new Set()),_(this,_0x2194e8(0x269),new Map()),_(this,_0x2194e8(0x1cb),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x2194e8(0x127)]();}['dispose'](){const _0x1e2768=_0xb934fa;super[_0x1e2768(0x23b)](),this[_0x1e2768(0x15d)][_0x1e2768(0x21f)]((_0x39b502,_0x326c85)=>this[_0x1e2768(0x1d4)](_0x326c85)),this[_0x1e2768(0x1cb)]&&window[_0x1e2768(0x26d)](this[_0x1e2768(0x1cb)]);}[_0xb934fa(0x128)](_0x3151d9){const _0x3f6b0b=_0xb934fa;return this['_ensureSubject'](_0x3151d9)[_0x3f6b0b(0x224)](_0x2f38dc());}[_0xb934fa(0x270)](_0x3c2625){const _0x5032e9=_0xb934fa;this[_0x5032e9(0x283)]['size']===0x0&&this[_0x5032e9(0x209)](),this[_0x5032e9(0x283)][_0x5032e9(0x2be)](_0x3c2625),this['_send']({'type':0x0,'memberID':this[_0x5032e9(0x27d)],'unitIDs':[_0x3c2625],'isForwarded':!0x1});}[_0xb934fa(0x1d1)](_0x191680){const _0x4bd776=_0xb934fa;this['_selfUnitIDs']['delete'](_0x191680),this[_0x4bd776(0x283)]['size']===0x0&&this[_0x4bd776(0x1cb)]&&window[_0x4bd776(0x26d)](this[_0x4bd776(0x1cb)]);}[_0xb934fa(0x127)](){const _0xbdbde=_0xb934fa;this[_0xbdbde(0x226)](_0x41f926(_0x29b797(window,_0xbdbde(0xdf))[_0xbdbde(0x140)](_0x42e5d0=>{const _0x5741bf=_0xbdbde;if(_0x42e5d0['key']!==rt||!_0x42e5d0[_0x5741bf(0x1c7)])return;const _0x264588=JSON[_0x5741bf(0xd7)](_0x42e5d0[_0x5741bf(0x1c7)]);this[_0x5741bf(0x262)](_0x264588);}))),window[_0xbdbde(0x1fb)](_0xbdbde(0x1cd),()=>this[_0xbdbde(0x2a8)]({'type':0x1,'memberID':this[_0xbdbde(0x27d)],'unitIDs':Array[_0xbdbde(0x24c)](this[_0xbdbde(0x283)])}));}[_0xb934fa(0x262)](_0xffd55a){const _0x49a1a6=_0xb934fa;switch(_0xffd55a[_0x49a1a6(0xed)]){case 0x0:this[_0x49a1a6(0x25c)](_0xffd55a);break;case 0x1:this[_0x49a1a6(0x191)](_0xffd55a);break;case 0x2:this[_0x49a1a6(0x2a7)](_0xffd55a);break;}}[_0xb934fa(0x25c)](_0x3489bd){const _0x3c0dad=_0xb934fa,{unitIDs:_0x28f932,memberID:_0x17a55d,isForwarded:_0x3b2876}=_0x3489bd;_0x28f932[_0x3c0dad(0x21f)](_0x54d3a9=>{const _0x4d9aac=_0x3c0dad;if(!_0x3b2876&&this[_0x4d9aac(0x269)][_0x4d9aac(0x1ee)](_0x54d3a9)&&this[_0x4d9aac(0x2cd)](_0x54d3a9)[_0x4d9aac(0x115)](_0x4b62bd[_0x4d9aac(0x2b6)]),!this[_0x4d9aac(0x269)][_0x4d9aac(0x1ee)](_0x54d3a9)||!this[_0x4d9aac(0x269)]['get'](_0x54d3a9)[_0x4d9aac(0x1ee)](_0x17a55d)){const _0x2ec47b=this['_unitOnClients'][_0x4d9aac(0x23f)](_0x54d3a9)||new Set();_0x2ec47b['add'](_0x17a55d),this['_unitOnClients'][_0x4d9aac(0x2d6)](_0x54d3a9,_0x2ec47b),this[_0x4d9aac(0x2d7)](_0x17a55d);}}),_0x3b2876||this[_0x3c0dad(0x2a8)]({'type':0x0,'memberID':this[_0x3c0dad(0x27d)],'unitIDs':[...this[_0x3c0dad(0x283)]],'isForwarded':!0x0});}[_0xb934fa(0x2d7)](_0x2cea13){const _0x2c0080=_0xb934fa;this[_0x2c0080(0x1d4)](_0x2cea13);const _0x3171ed=window[_0x2c0080(0x124)](()=>{const _0x21047d=_0x2c0080;this['_unitOnClients'][_0x21047d(0x21f)](_0x9c8f58=>{const _0x2be1da=_0x21047d;_0x9c8f58[_0x2be1da(0x145)](_0x2cea13);});},nt*0x2);this[_0x2c0080(0x15d)][_0x2c0080(0x2d6)](_0x2cea13,_0x3171ed);}[_0xb934fa(0x1d4)](_0x5638cd){const _0x29d942=_0xb934fa;if(this[_0x29d942(0x15d)]['has'](_0x5638cd)){const _0x27fbd9=this['_clearOtherTimers'][_0x29d942(0x23f)](_0x5638cd);_0x27fbd9&&window[_0x29d942(0x242)](_0x27fbd9),this[_0x29d942(0x15d)][_0x29d942(0x2d6)](_0x5638cd,null);}}[_0xb934fa(0x191)](_0x17c55c){const _0x5489ef=_0xb934fa,{memberID:_0x3bc58c,unitIDs:_0x3730e5}=_0x17c55c;_0x3730e5[_0x5489ef(0x21f)](_0x55e4a7=>{const _0x3ca4d7=_0x5489ef;var _0x1570d2;const _0x2a7ac2=this['_unitOnClients'][_0x3ca4d7(0x23f)](_0x55e4a7);_0x2a7ac2&&(_0x2a7ac2['delete'](_0x3bc58c),(_0x1570d2=this[_0x3ca4d7(0x2cd)](_0x55e4a7))==null||_0x1570d2[_0x3ca4d7(0x115)](_0x2a7ac2[_0x3ca4d7(0x2bf)]===0x0?_0x4b62bd[_0x3ca4d7(0x1b4)]:_0x4b62bd[_0x3ca4d7(0x2b6)]));}),this[_0x5489ef(0x1d4)](_0x3bc58c);}['_handleHeartbeatEvent'](_0x115dd9){const _0x4169c7=_0xb934fa;this[_0x4169c7(0x2d7)](_0x115dd9[_0x4169c7(0x178)]);}['_send'](_0x1df848){const _0x60fbef=_0xb934fa;localStorage['setItem'](rt,JSON[_0x60fbef(0x12f)](_0x1df848));}['_scheduleHeartbeat'](){const _0x2f0231=_0xb934fa;this[_0x2f0231(0x1cb)]=window[_0x2f0231(0x174)](()=>{const _0x568fe0=_0x2f0231;this['_send']({'type':0x2,'memberID':this[_0x568fe0(0x27d)]});},nt);}['_ensureSubject'](_0x363d82){const _0x2a4ad2=_0xb934fa;return this[_0x2a4ad2(0x207)]['has'](_0x363d82)||this[_0x2a4ad2(0x207)][_0x2a4ad2(0x2d6)](_0x363d82,new _0xb446e(_0x4b62bd[_0x2a4ad2(0x1b4)])),this['_unitStatus'][_0x2a4ad2(0x23f)](_0x363d82);}}var Lt=(_0x5257f6=>(_0x5257f6[_0x5257f6[_0xb934fa(0x2b7)]=0x0]=_0xb934fa(0x2b7),_0x5257f6[_0x5257f6['OK']=0x1]='OK',_0x5257f6[_0x5257f6[_0xb934fa(0x156)]=0x2]=_0xb934fa(0x156),_0x5257f6[_0x5257f6[_0xb934fa(0x148)]=0x3]=_0xb934fa(0x148),_0x5257f6[_0x5257f6[_0xb934fa(0x1b0)]=0x4]=_0xb934fa(0x1b0),_0x5257f6[_0x5257f6[_0xb934fa(0x104)]=0x5]='UNAUTHENTICATED',_0x5257f6[_0x5257f6[_0xb934fa(0x199)]=0x6]=_0xb934fa(0x199),_0x5257f6[_0x5257f6['INVALID_ARGUMENT']=0x7]=_0xb934fa(0x20c),_0x5257f6[_0x5257f6[_0xb934fa(0x1e5)]=0x8]=_0xb934fa(0x1e5),_0x5257f6[_0x5257f6[_0xb934fa(0x19b)]=0x9]=_0xb934fa(0x19b),_0x5257f6[_0x5257f6[_0xb934fa(0x228)]=0xa]=_0xb934fa(0x228),_0x5257f6[_0x5257f6[_0xb934fa(0x1d5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5257f6[_0x5257f6[_0xb934fa(0x2dc)]=0xc]=_0xb934fa(0x2dc),_0x5257f6[_0x5257f6[_0xb934fa(0x1c4)]=0xd]=_0xb934fa(0x1c4),_0x5257f6[_0x5257f6[_0xb934fa(0x14f)]=0xe]=_0xb934fa(0x14f),_0x5257f6[_0x5257f6[_0xb934fa(0x25e)]=0x1389]=_0xb934fa(0x25e),_0x5257f6[_0x5257f6[_0xb934fa(0x204)]=0x1771]=_0xb934fa(0x204),_0x5257f6[_0x5257f6[_0xb934fa(0x125)]=0x1772]=_0xb934fa(0x125),_0x5257f6[_0x5257f6[_0xb934fa(0xff)]=0x1773]=_0xb934fa(0xff),_0x5257f6[_0x5257f6[_0xb934fa(0x231)]=0x1b59]=_0xb934fa(0x231),_0x5257f6[_0x5257f6[_0xb934fa(0x2a5)]=0x1b5a]=_0xb934fa(0x2a5),_0x5257f6[_0x5257f6[_0xb934fa(0x143)]=0x1b5b]=_0xb934fa(0x143),_0x5257f6[_0x5257f6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5257f6[_0x5257f6['APPLY_DUPLICATED']=0x1b5d]=_0xb934fa(0x20a),_0x5257f6[_0x5257f6[_0xb934fa(0x1a3)]=0x1f41]=_0xb934fa(0x1a3),_0x5257f6[_0x5257f6[_0xb934fa(0x1c6)]=0x2329]=_0xb934fa(0x1c6),_0x5257f6[_0x5257f6[_0xb934fa(0x165)]=0x232a]=_0xb934fa(0x165),_0x5257f6[_0x5257f6['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xb934fa(0x10d),_0x5257f6[_0x5257f6[_0xb934fa(0xe1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5257f6[_0x5257f6['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb934fa(0x2cf),_0x5257f6[_0x5257f6[_0xb934fa(0x260)]=0x2711]=_0xb934fa(0x260),_0x5257f6[_0x5257f6[_0xb934fa(0x1c0)]=0x2712]=_0xb934fa(0x1c0),_0x5257f6[_0x5257f6[_0xb934fa(0x211)]=0x2713]=_0xb934fa(0x211),_0x5257f6[_0x5257f6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5257f6[_0x5257f6['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5257f6[_0x5257f6['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xb934fa(0x241),_0x5257f6[_0x5257f6[_0xb934fa(0x118)]=0x271c]=_0xb934fa(0x118),_0x5257f6[_0x5257f6[_0xb934fa(0x238)]=0x271d]=_0xb934fa(0x238),_0x5257f6[_0x5257f6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xb934fa(0x1a6),_0x5257f6[_0x5257f6[_0xb934fa(0x297)]=0x271f]=_0xb934fa(0x297),_0x5257f6[_0x5257f6[_0xb934fa(0x29c)]=0x2720]=_0xb934fa(0x29c),_0x5257f6[_0x5257f6[_0xb934fa(0x17e)]=0x2af9]=_0xb934fa(0x17e),_0x5257f6[_0x5257f6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xb934fa(0x2e0),_0x5257f6[_0x5257f6[_0xb934fa(0x14e)]=0x2ee2]=_0xb934fa(0x14e),_0x5257f6[_0x5257f6[_0xb934fa(0x164)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5257f6[_0x5257f6[_0xb934fa(0x13c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5257f6[_0x5257f6[_0xb934fa(0x28d)]=0x2ee5]=_0xb934fa(0x28d),_0x5257f6[_0x5257f6[_0xb934fa(0x1fa)]=0x32c9]=_0xb934fa(0x1fa),_0x5257f6[_0x5257f6[_0xb934fa(0x1ca)]=0x32ca]=_0xb934fa(0x1ca),_0x5257f6[_0x5257f6[_0xb934fa(0x175)]=0x32cb]=_0xb934fa(0x175),_0x5257f6[_0x5257f6[_0xb934fa(0x2b3)]=-0x1]='UNRECOGNIZED',_0x5257f6))(Lt||{}),pn=Object[_0xb934fa(0x190)],Cn=(_0x590e09,_0x2065ca,_0x529705,_0x2fb3c1)=>{const _0x327ccb=_0xb934fa;for(var _0x29b93f=_0x2fb3c1>0x1?void 0x0:_0x2fb3c1?pn(_0x2065ca,_0x529705):_0x2065ca,_0x39007d=_0x590e09[_0x327ccb(0x29d)]-0x1,_0x2f8c8f;_0x39007d>=0x0;_0x39007d--)(_0x2f8c8f=_0x590e09[_0x39007d])&&(_0x29b93f=_0x2f8c8f(_0x29b93f)||_0x29b93f);return _0x29b93f;},Te=(_0xc9058d,_0x16211e)=>(_0x438825,_0x40497f)=>_0x16211e(_0x438825,_0x40497f,_0xc9058d);let ot=class extends _0x39b506{constructor(_0x4d670b,_0x22a522,_0x4822be){const _0x13c473=_0xb934fa;super(),this['_instanceService']=_0x4d670b,this[_0x13c473(0xee)]=_0x22a522,this['_configService']=_0x4822be;}async['runOnServer'](_0x23813d,_0x5a0910,_0x5a742e,..._0x55aa8a){const _0x2db2a0=_0xb934fa;var _0x1ac522,_0x36eea0,_0x590a91,_0x189fdd;const _0x52cc52=this['_instanceService']['getFocusedUnit']();if(!_0x52cc52)throw new Error(_0x2db2a0(0x1a1));const _0x21f68d=((_0x1ac522=this['_configService'][_0x2db2a0(0x13f)](_0x3b0e6c))!=null?_0x1ac522:_0x3fc829)+'/'+_0x23813d+'/run/'+_0x5a0910,_0x10a4bb=new URL(window['location'][_0x2db2a0(0x11d)]),_0x373ebd={'scriptId':_0x23813d,'runId':(_0x36eea0=_0x10a4bb[_0x2db2a0(0x1e2)][_0x2db2a0(0x23f)](_0x2db2a0(0x25b)))!=null?_0x36eea0:'','function':_0x5a0910,'unitId':_0x52cc52['getUnitId'](),'argsOfFunction':JSON[_0x2db2a0(0x12f)](_0x55aa8a),'invokeId':(_0x590a91=_0x5a742e[_0x2db2a0(0x1c2)])!=null?_0x590a91:'','executionId':(_0x189fdd=_0x5a742e[_0x2db2a0(0xef)])!=null?_0x189fdd:''};try{const _0x45db32=await this[_0x2db2a0(0xee)][_0x2db2a0(0x161)](_0x21f68d,{'body':_0x373ebd});return _0x45db32[_0x2db2a0(0x201)][_0x2db2a0(0x244)]&&_0x45db32[_0x2db2a0(0x201)][_0x2db2a0(0x244)][_0x2db2a0(0x2ba)]!==Lt['OK']?'Failed':_0x45db32[_0x2db2a0(0x201)]['result'];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x501819),Te(0x1,_0x45d71d(_0x2d5d37)),Te(0x2,_0xb60a07)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x163b90=_0x30ea;(function(_0x5c11a3,_0x4f7eca){const _0xf1543f=_0x30ea,_0x6d85ef=_0x5c11a3();while(!![]){try{const _0x3e3c2f=parseInt(_0xf1543f(0xe4))/0x1*(-parseInt(_0xf1543f(0xfe))/0x2)+parseInt(_0xf1543f(0x273))/0x3+parseInt(_0xf1543f(0x28f))/0x4*(-parseInt(_0xf1543f(0x184))/0x5)+parseInt(_0xf1543f(0x10e))/0x6+parseInt(_0xf1543f(0x15f))/0x7*(parseInt(_0xf1543f(0x1b3))/0x8)+parseInt(_0xf1543f(0x10c))/0x9+parseInt(_0xf1543f(0x240))/0xa;if(_0x3e3c2f===_0x4f7eca)break;else _0x6d85ef['push'](_0x6d85ef['shift']());}catch(_0x48163c){_0x6d85ef['push'](_0x6d85ef['shift']());}}}(_0x3a7f,0xdc916));var xt=Object['defineProperty'],Bt=(_0x104967,_0x4e7c24,_0x1ea738)=>_0x4e7c24 in _0x104967?xt(_0x104967,_0x4e7c24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ea738}):_0x104967[_0x4e7c24]=_0x1ea738,_=(_0x5beb8e,_0x19ffba,_0x59a876)=>Bt(_0x5beb8e,typeof _0x19ffba!='symbol'?_0x19ffba+'':_0x19ffba,_0x59a876);import{MemberService as _0x55b3c1,SessionStatus as _0x41e033,CollaborationSessionService as _0x64397a,CollaborationStatus as _0x2a04bf,CollaborationController as _0x53a290,ILocalCacheService as _0x1189d6,CollaborationUIEventService as _0x5d2fa7,CollaborationUIEventId as _0x566cf6,DataLoaderService as _0x5763a5,DocCollaborationEntity as _0x232f91,getLocalCacheKey as _0x4cf464,LOCAL_CACHE_INTERVAL as _0x3b78ca,LOCAL_CACHE_INTERVAL_KEY as _0x316d49,UniverCollaborationClientPlugin as _0x583ada,CollaborationSocketService as _0xa4e37e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x119690,DEFAULT_WS_SESSION_TICKET_URL as _0x3ea74b,UnitStatus as _0x409584,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1c2f69,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x51c021}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x24bb3b,Disposable as _0x514786,DOC_RANGE_TYPE as _0x211be7,Inject as _0xe4d2b5,Injector as _0x5b513d,IUniverInstanceService as _0x8cba3f,ICommandService as _0xdb13dc,debounce as _0x5d4f62,Rectangle as _0x24253e,DisposableCollection as _0x38c65a,toDisposable as _0x3eabb5,UniverInstanceType as _0x36b1a7,generateRandomId as _0x5e883b,COLORS as _0x4324c8,ColorKit as _0x5d957e,ThemeService as _0x3e708f,fromEventSubject as _0x1fd535,LocaleService as _0x38c994,createIdentifier as _0x2a53e4,ILogService as _0x3bb633,Optional as _0x53efe8,Workbook as _0x179de7,Tools as _0x3ee9ed,CommandType as _0x562dac,IConfigService as _0x3e99f6,ILocalStorageService as _0x132c1a,DependentOn as _0x471963,Plugin as _0xb005cc,merge as _0x29ca65,registerDependencies as _0x28911d,mergeOverrideWithDependencies as _0x2b2316,touchDependencies as _0xfd41f3}from'@univerjs/core';import{Shape as _0x86beb2,Rect as _0x521d58,getColor as _0x20c176,RegularPolygon as _0x61497b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f4629,Vector2 as _0x2a744f,SHEET_VIEWPORT_KEY as _0x3251cc,IRenderManagerService as _0x38659a}from'@univerjs/engine-render';import{ISocketService as _0x153317,WebSocketService as _0x414310,HTTPService as _0x48ded4}from'@univerjs/network';import{IDocClipboardService as _0x451438,NodePositionConvertToCursor as _0x36c519,NodePositionConvertToRectRange as _0xb411cc,TEXT_RANGE_LAYER_INDEX as _0x2817b7,SetDocZoomRatioOperation as _0x22b199,DocIMEInputManagerService as _0x2daf5d,DocStateChangeManagerService as _0x29f00f}from'@univerjs/docs-ui';import{IImageIoService as _0x2c8102}from'@univerjs/drawing';import{BehaviorSubject as _0x12ab3a,debounceTime as _0x1d84e1,takeUntil as _0x52c0b7,Subject as _0x130e38,filter as _0x3c5d6a,switchMap as _0x46fe91,merge as _0x52dd6b,combineLatest as _0x491a6c,of as _0xba8c7b,fromEvent as _0x16ca35,shareReplay as _0x3397f6,mapTo as _0x5062a5,distinctUntilChanged as _0x5aede7}from'rxjs';import{ITransformService as _0x3113cf,CollaborationEvent as _0x1c2028,isTransformMutationFailure as _0x5ecd23,isTransformMutationsWithChangesetSuccess as _0x112ac1,RevisionService as _0x1aa674,ISnapshotServerService as _0x5b1164}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x35ca4d,RichTextEditingMutation as _0xface44,DocSelectionManagerService as _0x2f4de8,DocSkeletonManagerService as _0x574676}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x29d2ff,serializeRangeWithSheet as _0x112af0}from'@univerjs/engine-formula';import{RefRangeService as _0x1d400e,SetSelectionsOperation as _0x2064e5,SheetsSelectionsService as _0x1247b4,EffectRefRangId as _0x51a5e4,handleIRemoveRow as _0x595b24,handleIRemoveCol as _0xb0e69e,handleMoveRange as _0x27acd2,handleInsertRow as _0x4143be,handleInsertRangeMoveRight as _0x5f3e49,handleInsertRangeMoveDown as _0x3841ca,handleInsertCol as _0x196557,handleDeleteRangeMoveUp as _0x5b5a84,handleDeleteRangeMoveLeft as _0x4de730,runRefRangeMutations as _0x4b277e,SetWorksheetActivateCommand as _0x6b49ca}from'@univerjs/sheets';import{map as _0x2ca3e9,filter as _0x31dd46,throttleTime as _0x1cb29f,takeUntil as _0x14bb95,switchMap as _0x442366}from'rxjs/operators';import{SheetSkeletonManagerService as _0x56a165,getCoordByCell as _0x3bad88,getSheetObject as _0x53a0cb}from'@univerjs/sheets-ui';import{jsx as _0x8162f5,jsxs as _0xf28f61}from'react/jsx-runtime';import{useObservable as _0x9d5159,useDependency as _0x256d1e,IUIPartsService as _0x1523e0,BuiltInUIPart as _0x51cdcb,connectInjector as _0x25fec0,IBeforeCloseService as _0x22dd84,IMessageService as _0x36f47c,INotificationService as _0x1f91f5}from'@univerjs/ui';import{Tooltip as _0x4b24c1,clsx as _0x3cabc2,MessageType as _0x2f8c05}from'@univerjs/design';import{forwardRef as _0x56ae08,useRef as _0x1be626,createElement as _0x3ace0b,useCallback as _0x2f7411}from'react';import{IRemoteInstanceService as _0x4c3728}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x245bc8,_0x24cf64,_0x5acfa6,_0x52051d)=>{const _0x14f218=_0x30ea;for(var _0x26984d=_0x52051d>0x1?void 0x0:_0x52051d?ci(_0x24cf64,_0x5acfa6):_0x24cf64,_0x288e3e=_0x245bc8[_0x14f218(0x256)]-0x1,_0x1a7ece;_0x288e3e>=0x0;_0x288e3e--)(_0x1a7ece=_0x245bc8[_0x288e3e])&&(_0x26984d=_0x1a7ece(_0x26984d)||_0x26984d);return _0x26984d;},Ze=(_0x3a0c8f,_0x45de96)=>(_0x354331,_0x489f91)=>_0x45de96(_0x354331,_0x489f91,_0x3a0c8f);let Ue=class extends _0x24bb3b{constructor(_0xdf2a4b,_0x3c5034){const _0x44154b=_0x30ea;super(),this[_0x44154b(0x1ef)]=_0xdf2a4b,this[_0x44154b(0x15a)]=_0x3c5034,this[_0x44154b(0x25c)]();}[_0x163b90(0x25c)](){const _0x416ff7=_0x163b90,_0x471413=this;this[_0x416ff7(0x1fa)](this[_0x416ff7(0x1ef)][_0x416ff7(0x13f)]({'onBeforePasteImage':async _0x12a043=>{const _0x37ee3c=_0x416ff7,_0x23cc40=await _0x471413[_0x37ee3c(0x15a)][_0x37ee3c(0xc9)](_0x12a043);return _0x23cc40?{'source':_0x23cc40['source'],'imageSourceType':_0x23cc40[_0x37ee3c(0x226)]}:null;}}));}};Ue=li([Ze(0x0,_0x451438),Ze(0x1,_0x2c8102)],Ue);const Qe=[_0x163b90(0x126),'jiqing.500',_0x163b90(0x1f4),_0x163b90(0xee),_0x163b90(0x265),'yellow.400'];class He extends _0x514786{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x163b90(0x1fe)](_0x22ba20){const _0x4b1ee2=_0x163b90;if(this[_0x4b1ee2(0xfd)]['has'](_0x22ba20))return this['_assignedColors'][_0x4b1ee2(0x20d)](_0x22ba20);const _0x4d61f4=Qe[this[_0x4b1ee2(0x1a6)]];return this[_0x4b1ee2(0x1a6)]=(this[_0x4b1ee2(0x1a6)]+0x1)%Qe[_0x4b1ee2(0x256)],this['_assignedColors'][_0x4b1ee2(0x244)](_0x22ba20,_0x4d61f4),_0x4d61f4;}}function Rt(_0x4bd850){let _0x2840c7='';for(const _0x894cfe of _0x4bd850){const {startOffset:_0x1b34b4,endOffset:_0x59370f,isActive:_0x2366d1,rangeType:_0x360054,segmentId:_0x4ff8ff,segmentPage:_0x2b0025}=_0x894cfe;_0x2840c7['length']&&(_0x2840c7+=','),_0x2840c7+=_0x1b34b4+':'+_0x59370f+':'+(_0x2366d1?'1':'0')+':'+_0x360054+':'+_0x4ff8ff+':'+_0x2b0025;}return _0x2840c7;}function _i(_0x5a2704){const _0x34df90=_0x163b90,_0x10730b=_0x5a2704[_0x34df90(0x18b)](','),_0x4ce7d1=[];for(const _0x56f3d5 of _0x10730b){const [_0x29c33d,_0x581106,_0xd5aee2,_0x48a791,_0x577c5c,_0x5376db]=_0x56f3d5['split'](':');_0x4ce7d1[_0x34df90(0x1c5)]({'startOffset':Number(_0x29c33d),'endOffset':Number(_0x581106),'collapsed':_0x29c33d===_0x581106,'isActive':_0xd5aee2==='1','rangeType':_0x48a791===_0x211be7['TEXT']?_0x211be7[_0x34df90(0x144)]:_0x211be7[_0x34df90(0x180)],'segmentId':typeof _0x577c5c==_0x34df90(0x1d2)?String(_0x577c5c):'','segmentPage':Number(_0x5376db!=null?_0x5376db:-0x1)});}return _0x4ce7d1['some'](_0x303047=>_0x303047[_0x34df90(0x1c3)])||(_0x4ce7d1[0x0]['isActive']=!0x0),_0x4ce7d1;}class Fe extends _0x24bb3b{constructor(){const _0x53152d=_0x163b90;super(...arguments),_(this,_0x53152d(0xf7),new _0x12ab3a(null)),_(this,'collabCursorState$',this[_0x53152d(0xf7)][_0x53152d(0x22a)]());}[_0x163b90(0x26e)](_0x464c7e){const _0x4990e1=_0x163b90,{unitID:_0xd35a20,memberID:_0x52b47d,textRanges:_0x25a697}=_0x464c7e,_0x2aeaa7=Rt(_0x25a697);if(_0x2aeaa7==='')return;const _0x31e854={'unitID':_0xd35a20,'memberID':_0x52b47d,'selection':_0x2aeaa7};this[_0x4990e1(0xf7)][_0x4990e1(0x166)](_0x31e854);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x56e7fc,_0x21fe7b,_0xf6bcd6,_0x22c4b3)=>{const _0x51789f=_0x163b90;for(var _0x3670de=_0x22c4b3>0x1?void 0x0:_0x22c4b3?hi(_0x21fe7b,_0xf6bcd6):_0x21fe7b,_0x3a4423=_0x56e7fc[_0x51789f(0x256)]-0x1,_0x29591d;_0x3a4423>=0x0;_0x3a4423--)(_0x29591d=_0x56e7fc[_0x3a4423])&&(_0x3670de=_0x29591d(_0x3670de)||_0x3670de);return _0x3670de;},P=(_0x17a43a,_0x27bcdc)=>(_0xc392b3,_0x120a67)=>_0x27bcdc(_0xc392b3,_0x120a67,_0x17a43a);const di=0x12c,fi=0x64;let Me=class extends _0x24bb3b{constructor(_0x5c7cfb,_0x32a27b,_0xb94b6f,_0x53883c,_0x26179c,_0x4ffba4,_0x290234,_0x3e2c04,_0x5efb45){const _0x4faf5b=_0x163b90;super(),_(this,_0x4faf5b(0x284),!0x1),_(this,_0x4faf5b(0x25c),!0x1),_(this,_0x4faf5b(0x193),new _0x12ab3a(new Map())),_(this,_0x4faf5b(0x1cf),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x12ab3a([])),_(this,_0x4faf5b(0x1b7),this[_0x4faf5b(0x257)][_0x4faf5b(0x13c)](_0x1d84e1(di))),_(this,_0x4faf5b(0x28d),_0x5d4f62(_0x3dd9ca=>{const _0x37b1c8=_0x4faf5b,_0x38f6c3={'eventID':_0x1c2028[_0x37b1c8(0x106)],'data':{'unitID':this[_0x37b1c8(0x103)],'memberID':this['_session'][_0x37b1c8(0x188)](),'selection':Rt(_0x3dd9ca)}};this[_0x37b1c8(0x19b)]['send'](_0x38f6c3,this[_0x37b1c8(0x103)]);},fi)),(this[_0x4faf5b(0x103)]=_0x5c7cfb,this[_0x4faf5b(0x19b)]=_0x32a27b,this['_injector']=_0xb94b6f,this['_colorAssignService']=_0x53883c,this[_0x4faf5b(0x2aa)]=_0x26179c,this[_0x4faf5b(0xd5)]=_0x4ffba4,this[_0x4faf5b(0x12c)]=_0x290234,this[_0x4faf5b(0x16f)]=_0x3e2c04,this[_0x4faf5b(0x245)]=_0x5efb45);}get[_0x163b90(0x2c0)](){const _0x52a7c0=_0x163b90;return this[_0x52a7c0(0x193)][_0x52a7c0(0x1d7)]();}get[_0x163b90(0x279)](){const _0x1b6beb=_0x163b90;return this[_0x1b6beb(0x257)][_0x1b6beb(0x1d7)]();}[_0x163b90(0x2bc)](){const _0x2fe20f=_0x163b90;super['dispose'](),this['_cursorInfo$'][_0x2fe20f(0x166)](new Map()),this[_0x2fe20f(0x193)][_0x2fe20f(0x173)](),this['_roomMembers$'][_0x2fe20f(0x166)]([]),this[_0x2fe20f(0x257)]['complete']();}[_0x163b90(0x102)](){const _0x1b94b0=_0x163b90;this[_0x1b94b0(0x25c)]||(this[_0x1b94b0(0x25c)]=!0x0,this[_0x1b94b0(0x19b)][_0x1b94b0(0x128)][_0x1b94b0(0x13c)](_0x52c0b7(this[_0x1b94b0(0x1c1)]))[_0x1b94b0(0x201)](_0x10e3f5=>{const _0x1045e2=_0x1b94b0;_0x10e3f5===_0x41e033['ONLINE']?this['_toggleOnline']():this[_0x1045e2(0x1b4)]();}),this[_0x1b94b0(0x19b)][_0x1b94b0(0x2ac)]['pipe'](_0x52c0b7(this['dispose$']))[_0x1b94b0(0x201)](_0x717e61=>{const _0x2de645=_0x1b94b0,_0x127d87=_0x717e61[_0x2de645(0x228)];_0x127d87===_0x1c2028[_0x2de645(0x106)]&&this[_0x2de645(0x1b2)](_0x717e61),_0x127d87===_0x1c2028['USERS_LEAVE']&&this[_0x2de645(0x2b6)](_0x717e61);}),this[_0x1b94b0(0x1fa)](this[_0x1b94b0(0x245)]['onCommandExecuted'](_0x3c5947=>{const _0xae0e66=_0x1b94b0,_0x3ac9b9=_0x3c5947[_0xae0e66(0x214)];_0x3ac9b9!=null&&this['_online']&&_0x3c5947['id']===_0x35ca4d['id']&&_0x3ac9b9[_0xae0e66(0x22e)]===this[_0xae0e66(0x103)]&&_0x3ac9b9[_0xae0e66(0x232)]===!0x1&&_0x3ac9b9[_0xae0e66(0x253)][_0xae0e66(0x256)]>0x0&&this[_0xae0e66(0x28d)](_0x3ac9b9['ranges']);})),this[_0x1b94b0(0xd5)][_0x1b94b0(0x22b)]['pipe'](_0x52c0b7(this[_0x1b94b0(0x1c1)]))['subscribe'](_0x3a804c=>{const _0x792013=_0x1b94b0;if((_0x3a804c==null?void 0x0:_0x3a804c[_0x792013(0x103)])!==this[_0x792013(0x103)])return;const _0x1fdfb3={'eventID':_0x1c2028['UPDATE_CURSOR'],'data':_0x3a804c};this[_0x792013(0x1b2)](_0x1fdfb3);}),this[_0x1b94b0(0x1fa)](this[_0x1b94b0(0x245)][_0x1b94b0(0x169)](_0x33dfd4=>{const _0x47c041=_0x1b94b0;if(_0x33dfd4[_0x47c041(0x214)]==null)return;const _0x25b77a=_0x33dfd4['params'];if(_0x33dfd4['id']!==_0xface44['id']||_0x25b77a[_0x47c041(0x22e)]!==this[_0x47c041(0x103)])return;const _0x16c54c={'id':_0x47c041(0x1ec),'params':_0x25b77a},_0x274c26=this[_0x47c041(0x2c0)];for(const [_0x2bb966,_0x3a46b6]of _0x274c26){const _0x4c6f0f={'id':_0x47c041(0x1ec),'params':{'unitId':this[_0x47c041(0x103)],'actions':null,'textRanges':_0x3a46b6[_0x47c041(0x253)]}},_0x21e735=this[_0x47c041(0x12c)][_0x47c041(0x1e5)](_0x16c54c,_0x4c6f0f,!0x1);if(_0x5ecd23(_0x21e735))throw _0x21e735[_0x47c041(0x1e7)];_0x274c26['set'](_0x2bb966,{..._0x3a46b6,'ranges':_0x21e735[_0x47c041(0x19f)][_0x47c041(0x214)][_0x47c041(0x132)]});}queueMicrotask(()=>{const _0x3523c2=_0x47c041;this[_0x3523c2(0x193)][_0x3523c2(0x166)](_0x274c26);});})));}[_0x163b90(0x1b2)](_0x1c4f5c){const _0x28fdf1=_0x163b90;var _0x59b704,_0x236f78;const {memberID:_0x22be0a,selection:_0x13997c}=_0x1c4f5c['data'],_0x2f1427=_i(_0x13997c),_0x494d97=(_0x236f78=(_0x59b704=this[_0x28fdf1(0x2aa)][_0x28fdf1(0x29a)](this['unitID'],_0x22be0a))==null?void 0x0:_0x59b704[_0x28fdf1(0x27b)])!=null?_0x236f78:_0x28fdf1(0xd4),_0xed90f6={'color':this[_0x28fdf1(0xd8)][_0x28fdf1(0x1fe)](_0x22be0a),'name':_0x494d97,'ranges':_0x2f1427},_0x53c05b=this[_0x28fdf1(0x2c0)];_0x53c05b[_0x28fdf1(0x244)](_0x22be0a,_0xed90f6),this[_0x28fdf1(0x193)]['next'](_0x53c05b);}[_0x163b90(0x2b6)](_0x3c42da){const _0x320e99=_0x163b90,{memberID:_0x46586f}=_0x3c42da['data'],_0x434181=this['cursorInfo'];_0x434181[_0x320e99(0x289)](_0x46586f),this['_cursorInfo$'][_0x320e99(0x166)](_0x434181);}[_0x163b90(0x251)](){const _0x331709=_0x163b90;var _0x55927c;if(this[_0x331709(0x284)]=!0x0,((_0x55927c=this['_univerInstanceService'][_0x331709(0x20c)]())==null?void 0x0:_0x55927c[_0x331709(0x275)]())!==this[_0x331709(0x103)])return;const _0x39b230=this['_injector'][_0x331709(0x20d)](_0x2f4de8)['getDocRanges']();Array[_0x331709(0x1b8)](_0x39b230)&&_0x39b230[_0x331709(0x256)]>0x0&&this[_0x331709(0x28d)](_0x39b230);}[_0x163b90(0x1b4)](){this['_online']=!0x1;}};Me=ui([P(0x2,_0xe4d2b5(_0x5b513d)),P(0x3,_0xe4d2b5(He)),P(0x4,_0xe4d2b5(_0x55b3c1)),P(0x5,_0xe4d2b5(Fe)),P(0x6,_0x3113cf),P(0x7,_0x8cba3f),P(0x8,_0xdb13dc)],Me);var Si=Object[_0x163b90(0x146)],mi=(_0xb72481,_0x1754f1,_0x33d97b,_0x4eab03)=>{const _0x44ed22=_0x163b90;for(var _0x46bb41=_0x4eab03>0x1?void 0x0:_0x4eab03?Si(_0x1754f1,_0x33d97b):_0x1754f1,_0xef44f4=_0xb72481[_0x44ed22(0x256)]-0x1,_0x23605c;_0xef44f4>=0x0;_0xef44f4--)(_0x23605c=_0xb72481[_0xef44f4])&&(_0x46bb41=_0x23605c(_0x46bb41)||_0x46bb41);return _0x46bb41;},x=(_0x3ca12a,_0x38a08f)=>(_0x1f8d00,_0x347a76)=>_0x38a08f(_0x1f8d00,_0x347a76,_0x3ca12a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x59a4dd=[],_0x542afb=!0x1;return _0x5165aa=>{const _0x5b13e1=_0x30ea;_0x59a4dd[_0x5b13e1(0x1c5)](_0x5165aa),_0x542afb||(_0x542afb=!0x0,setTimeout(()=>{const _0x402118=_0x5b13e1;_0x59a4dd[_0x402118(0x2c4)](_0xd09b1f=>_0xd09b1f()),_0x59a4dd=[],_0x542afb=!0x1;}));};};let Le=class extends _0x24bb3b{constructor(_0x5d1146,_0x3a98ac,_0x42f718,_0x1bbba9,_0x56a068,_0x1bb085,_0x211c07,_0xf5e43b){const _0x168a9e=_0x163b90;super(),_(this,'_online',!0x1),_(this,_0x168a9e(0x25c),!0x1),_(this,_0x168a9e(0x193),new _0x12ab3a(new Map())),_(this,_0x168a9e(0x1cf),this[_0x168a9e(0x193)][_0x168a9e(0x22a)]()),_(this,_0x168a9e(0x257),new _0x12ab3a([])),_(this,_0x168a9e(0x1b7),this['_roomMembers$'][_0x168a9e(0x13c)](_0x1d84e1(Ii))),_(this,'_updateLocalCursor',_0x5d4f62((_0x2978ea,_0x2cf549)=>{const _0x3ce715=_0x168a9e,_0x37361a={'eventID':_0x1c2028[_0x3ce715(0x106)],'data':{'unitID':this[_0x3ce715(0x103)],'memberID':this[_0x3ce715(0x19b)][_0x3ce715(0x188)](),'selection':_0x112af0(_0x2978ea,_0x2cf549[_0x3ce715(0x21e)])}};this[_0x3ce715(0x19b)][_0x3ce715(0xce)](_0x37361a,this[_0x3ce715(0x103)]);},vi)),(this['unitID']=_0x5d1146,this[_0x168a9e(0x19b)]=_0x3a98ac,this[_0x168a9e(0x1e2)]=_0x42f718,this[_0x168a9e(0xd8)]=_0x1bbba9,this[_0x168a9e(0x2aa)]=_0x56a068,this[_0x168a9e(0x16f)]=_0x1bb085,this[_0x168a9e(0x245)]=_0x211c07,this['_refRangeService']=_0xf5e43b);}get['cursorInfo'](){const _0x3382d1=_0x163b90;return this[_0x3382d1(0x193)][_0x3382d1(0x1d7)]();}get[_0x163b90(0x279)](){const _0x349b85=_0x163b90;return this[_0x349b85(0x257)][_0x349b85(0x1d7)]();}[_0x163b90(0x2bc)](){const _0x3ec600=_0x163b90;super['dispose'](),this[_0x3ec600(0x193)]['next'](new Map()),this[_0x3ec600(0x193)]['complete'](),this[_0x3ec600(0x257)]['next']([]),this[_0x3ec600(0x257)][_0x3ec600(0x173)]();}[_0x163b90(0x102)](){const _0x44db9b=_0x163b90;this['_init']||(this[_0x44db9b(0x25c)]=!0x0,this[_0x44db9b(0x19b)][_0x44db9b(0x128)][_0x44db9b(0x13c)](_0x52c0b7(this[_0x44db9b(0x1c1)]))[_0x44db9b(0x201)](_0x359ad1=>{const _0x4b70ba=_0x44db9b;_0x359ad1===_0x41e033[_0x4b70ba(0xdc)]?this['_toggleOnline']():this[_0x4b70ba(0x1b4)]();}),this[_0x44db9b(0x19b)][_0x44db9b(0x2ac)][_0x44db9b(0x13c)](_0x52c0b7(this[_0x44db9b(0x1c1)]))[_0x44db9b(0x201)](_0x502d25=>{const _0x5ea39c=_0x44db9b,_0x277886=_0x502d25[_0x5ea39c(0x228)];_0x277886===_0x1c2028['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x502d25),_0x277886===_0x1c2028['USERS_LEAVE']&&this['_onCursorDelete'](_0x502d25);}),this[_0x44db9b(0xe6)](),this['disposeWithMe'](this[_0x44db9b(0x245)][_0x44db9b(0x169)](_0x51ef7e=>{const _0x254049=_0x44db9b;if(this['_online']&&_0x51ef7e['id']===_0x2064e5['id']&&_0x51ef7e[_0x254049(0x214)][_0x254049(0x22e)]===this[_0x254049(0x103)]){const _0x3811f4=_0x51ef7e[_0x254049(0x214)];this[_0x254049(0x28d)](_0x3811f4[_0x254049(0xe1)],_0x3811f4[_0x254049(0x194)][0x0]);}})));}['_onCursorUpdate'](_0x530a4f){const _0x29f02d=_0x163b90;var _0x4664ae,_0x140305;const {memberID:_0x15c638,selection:_0x29e533}=_0x530a4f[_0x29f02d(0x263)],{sheetName:_0x177ccc,range:_0x1c71a6}=_0x29d2ff(_0x29e533),_0x72e792={'name':(_0x140305=(_0x4664ae=this[_0x29f02d(0x2aa)][_0x29f02d(0x29a)](this[_0x29f02d(0x103)],_0x15c638))==null?void 0x0:_0x4664ae['name'])!=null?_0x140305:_0x29f02d(0xd4),'range':this[_0x29f02d(0x133)](_0x177ccc,_0x1c71a6),'sheetID':_0x177ccc,'color':this['_colorAssignService'][_0x29f02d(0x1fe)](_0x15c638),'selection':_0x29e533},_0x3fffec=this[_0x29f02d(0x2c0)];_0x3fffec['set'](_0x15c638,_0x72e792),this[_0x29f02d(0x193)][_0x29f02d(0x166)](_0x3fffec);}['_onCursorDelete'](_0x2a9202){const _0x112034=_0x163b90,{memberID:_0x274561}=_0x2a9202[_0x112034(0x263)],_0x178fc9=this['cursorInfo'];_0x178fc9[_0x112034(0x289)](_0x274561),this[_0x112034(0x193)][_0x112034(0x166)](_0x178fc9);}['_getMergeRange'](_0x122111,_0x4366e4){const _0x2232ce=_0x163b90;var _0x9dc87a,_0x3411fd;const _0x44db4c=(_0x3411fd=(_0x9dc87a=this[_0x2232ce(0x16f)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dc87a['getSheetBySheetId'](_0x122111))==null?void 0x0:_0x3411fd[_0x2232ce(0xdf)]();return(_0x44db4c==null?void 0x0:_0x44db4c[_0x2232ce(0x285)](_0x6bd07c=>_0x24253e[_0x2232ce(0x174)](_0x6bd07c,_0x4366e4)))||_0x4366e4;}['_onRefRangeChange'](){const _0xead396=_0x163b90,_0x1a34bf=new _0x38c65a(),_0x283e8a=gi(),_0x253516=()=>{const _0x4287b0=_0x30ea;_0x1a34bf[_0x4287b0(0x2bc)]();const _0x2e17ea=(_0x3442e5,_0x33de91,_0x52fa79,_0xe34d2d)=>{const _0x48f639=_0x4287b0;let _0x3f075d=[];switch(_0x3442e5['id']){case _0x51a5e4[_0x48f639(0x1d9)]:{_0x3f075d=_0x4de730(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xbb)]:{_0x3f075d=_0x5b5a84(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xd3)]:{_0x3f075d=_0x196557(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0xc2)]:{_0x3f075d=_0x3841ca(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x1a2)]:{_0x3f075d=_0x5f3e49(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x207)]:{_0x3f075d=_0x4143be(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4['MoveRangeCommandId']:{_0x3f075d=_0x27acd2(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4[_0x48f639(0x268)]:{_0x3f075d=_0xb0e69e(_0x3442e5,_0xe34d2d);break;}case _0x51a5e4['RemoveRowCommandId']:{_0x3f075d=_0x595b24(_0x3442e5,_0xe34d2d);break;}}const _0x2eb18d=_0x4b277e(_0x3f075d,_0xe34d2d),_0x956a6e=this[_0x48f639(0x2c0)]['get'](_0x33de91);if(_0x956a6e&&_0x2eb18d){const _0x587d56={..._0x956a6e,'range':_0x2eb18d};this[_0x48f639(0x2c0)][_0x48f639(0x244)](_0x33de91,_0x587d56),_0x283e8a(()=>{const _0x2751fd=_0x48f639,_0x2a146f=this[_0x2751fd(0x1d5)][_0x2751fd(0x158)](_0x2eb18d,_0x3ea2f5=>(_0x2a146f[_0x2751fd(0x2bc)](),_0x2e17ea(_0x3ea2f5,_0x33de91,_0x52fa79,_0x2eb18d)));_0x1a34bf[_0x2751fd(0x270)](_0x2a146f);});}return{'redos':[],'undos':[]};};this[_0x4287b0(0x2c0)][_0x4287b0(0x2c4)]((_0x1897f9,_0x596d27)=>{const _0xb7f003=_0x4287b0,{range:_0x529666,sheetID:_0x16a57a}=_0x1897f9,_0x5f2bc5=this['_refRangeService']['registerRefRange'](_0x529666,_0x1d4a84=>(_0x5f2bc5[_0xb7f003(0x2bc)](),_0x2e17ea(_0x1d4a84,_0x596d27,_0x16a57a,_0x529666)));_0x1a34bf[_0xb7f003(0x270)](_0x5f2bc5);});};this[_0xead396(0x1fa)](_0x3eabb5(this[_0xead396(0x193)][_0xead396(0x201)](()=>{_0x253516();})));}[_0x163b90(0x251)](){const _0x15aec6=_0x163b90;var _0x4fef77,_0x1affaa;if(this[_0x15aec6(0x284)]=!0x0,((_0x4fef77=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4fef77[_0x15aec6(0x275)]())!==this[_0x15aec6(0x103)])return;const _0xcf5873=(_0x1affaa=this[_0x15aec6(0x1e2)]['get'](_0x1247b4)[_0x15aec6(0x22c)]())==null?void 0x0:_0x1affaa[0x0],_0x2e2f06=this[_0x15aec6(0x16f)]['getCurrentUnitForType'](_0x36b1a7[_0x15aec6(0x287)])['getActiveSheet']();_0xcf5873&&_0x2e2f06&&this['_updateLocalCursor'](_0x2e2f06[_0x15aec6(0x139)](),_0xcf5873);}[_0x163b90(0x1b4)](){const _0x1f099d=_0x163b90;this[_0x1f099d(0x284)]=!0x1;}};Le=mi([x(0x2,_0xe4d2b5(_0x5b513d)),x(0x3,_0xe4d2b5(He)),x(0x4,_0xe4d2b5(_0x55b3c1)),x(0x5,_0x8cba3f),x(0x6,_0xdb13dc),x(0x7,_0xe4d2b5(_0x1d400e))],Le);var pi=Object[_0x163b90(0x146)],Ci=(_0x3f14f8,_0x60d610,_0x56e2cf,_0x58f704)=>{const _0x39817e=_0x163b90;for(var _0x40a39f=_0x58f704>0x1?void 0x0:_0x58f704?pi(_0x60d610,_0x56e2cf):_0x60d610,_0x5dc674=_0x3f14f8[_0x39817e(0x256)]-0x1,_0x35ba6a;_0x5dc674>=0x0;_0x5dc674--)(_0x35ba6a=_0x3f14f8[_0x5dc674])&&(_0x40a39f=_0x35ba6a(_0x40a39f)||_0x40a39f);return _0x40a39f;},me=(_0x2a5fa1,_0x24a41f)=>(_0x3d220b,_0x24a142)=>_0x24a41f(_0x3d220b,_0x24a142,_0x2a5fa1);let F=class extends _0x24bb3b{constructor(_0x4b215e,_0x2d5548,_0x34ba3e){const _0x311f3e=_0x163b90;super(),_(this,_0x311f3e(0xcb),new Map()),_(this,_0x311f3e(0xeb),new _0x130e38()),(this['_univerInstanceService']=_0x4b215e,this['_injector']=_0x2d5548,this['_collabSessionService']=_0x34ba3e,this[_0x311f3e(0x25c)]());}[_0x163b90(0x2bc)](){const _0x3b9aa5=_0x163b90;super[_0x3b9aa5(0x2bc)](),this[_0x3b9aa5(0xeb)]['complete'](),this[_0x3b9aa5(0xcb)]['forEach'](_0x4c7d9d=>_0x4c7d9d[_0x3b9aa5(0x2bc)]());}['getCollabCursors$'](_0xccb7ae){const _0x932bb8=_0x163b90;return this['_entities'][_0x932bb8(0x2bb)](_0xccb7ae)?this[_0x932bb8(0xcb)][_0x932bb8(0x20d)](_0xccb7ae)[_0x932bb8(0x1cf)]:this['_entityInit$'][_0x932bb8(0x13c)](_0x3c5d6a(_0x4d8b0e=>_0x4d8b0e[_0x932bb8(0x103)]===_0xccb7ae),_0x46fe91(_0x225a46=>_0x225a46[_0x932bb8(0x1cf)]));}[_0x163b90(0x25c)](){const _0x293504=_0x163b90;this[_0x293504(0x16f)][_0x293504(0x2a6)](_0x36b1a7[_0x293504(0x287)])[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x201)](async _0x1c9e86=>{const _0xf559cc=_0x293504,_0x41b516=_0x1c9e86[_0xf559cc(0x275)](),_0x28fc87=await this['_startSheetCollabCursor'](_0x41b516);this[_0xf559cc(0xeb)][_0xf559cc(0x166)](_0x28fc87),this[_0xf559cc(0xcb)][_0xf559cc(0x244)](_0x41b516,_0x28fc87);}),this[_0x293504(0x16f)][_0x293504(0x2a6)](_0x36b1a7[_0x293504(0x21b)])[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x13c)](_0x3c5d6a(_0x45b75e=>!_0x45b75e['getUnitId']()[_0x293504(0x152)]('__')))['subscribe'](async _0x525d7c=>{const _0x20998b=_0x293504,_0x5597bc=_0x525d7c[_0x20998b(0x275)](),_0x575225=await this[_0x20998b(0x14a)](_0x5597bc);this[_0x20998b(0xeb)][_0x20998b(0x166)](_0x575225),this[_0x20998b(0xcb)][_0x20998b(0x244)](_0x5597bc,_0x575225);}),_0x52dd6b(this[_0x293504(0x16f)][_0x293504(0xc8)](_0x36b1a7[_0x293504(0x21b)]),this['_univerInstanceService'][_0x293504(0xc8)](_0x36b1a7[_0x293504(0x287)]))[_0x293504(0x13c)](_0x52c0b7(this[_0x293504(0x1c1)]))[_0x293504(0x201)](_0x3b2e80=>{const _0x54bc72=_0x293504,_0x43fd65=_0x3b2e80[_0x54bc72(0x275)](),_0xe962dc=this[_0x54bc72(0xcb)][_0x54bc72(0x20d)](_0x43fd65);_0xe962dc&&(_0xe962dc['dispose'](),this[_0x54bc72(0xcb)]['delete'](_0x43fd65));});}async[_0x163b90(0xc0)](_0x58033){const _0x1b283e=_0x163b90,_0x556596=await this['_collabSessionService'][_0x1b283e(0xb9)](_0x58033),_0x4490fc=this[_0x1b283e(0x1e2)][_0x1b283e(0x2a3)](Le,_0x58033,_0x556596);return _0x4490fc[_0x1b283e(0x102)](),_0x4490fc;}async[_0x163b90(0x14a)](_0x24d0ef){const _0x25d776=_0x163b90,_0x2c6b11=await this['_collabSessionService'][_0x25d776(0xb9)](_0x24d0ef),_0x5a584a=this['_injector'][_0x25d776(0x2a3)](Me,_0x24d0ef,_0x2c6b11);return _0x5a584a['init'](),_0x5a584a;}};F=Ci([me(0x0,_0x8cba3f),me(0x1,_0xe4d2b5(_0x5b513d)),me(0x2,_0xe4d2b5(_0x64397a))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x34bbb0,_0x48e816){const _0x3beadb=_0x163b90;let {radius:_0x2d1a5c,width:_0x517e49,height:_0x491c9a}=_0x48e816;_0x2d1a5c=_0x2d1a5c!=null?_0x2d1a5c:0x0,_0x517e49=_0x517e49!=null?_0x517e49:0x1e,_0x491c9a=_0x491c9a!=null?_0x491c9a:0x1e;let _0x5692ad=0x0,_0x1c3c45=0x0,_0x44cbe7=0x0;_0x5692ad=_0x1c3c45=_0x44cbe7=Math[_0x3beadb(0x160)](_0x2d1a5c,_0x517e49/0x2,_0x491c9a/0x2),_0x34bbb0[_0x3beadb(0x145)](),_0x34bbb0[_0x3beadb(0x208)](_0x5692ad,0x0),_0x34bbb0[_0x3beadb(0x137)](_0x517e49-_0x1c3c45,0x0),_0x34bbb0['arc'](_0x517e49-_0x1c3c45,_0x1c3c45,_0x1c3c45,Math['PI']*0x3/0x2,0x0,!0x1),_0x34bbb0[_0x3beadb(0x137)](_0x517e49,_0x491c9a-_0x44cbe7),_0x34bbb0['arc'](_0x517e49-_0x44cbe7,_0x491c9a-_0x44cbe7,_0x44cbe7,0x0,Math['PI']/0x2,!0x1),_0x34bbb0[_0x3beadb(0x137)](0x0,_0x491c9a),_0x34bbb0[_0x3beadb(0x137)](0x0,_0x5692ad),_0x34bbb0[_0x3beadb(0x149)](_0x5692ad,_0x5692ad,_0x5692ad,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34bbb0[_0x3beadb(0xf6)](),_0x48e816['fill']&&(_0x34bbb0[_0x3beadb(0x105)](),_0x34bbb0[_0x3beadb(0x1be)]=_0x48e816[_0x3beadb(0xfc)],_0x48e816[_0x3beadb(0x1a7)]===_0x3beadb(0x1a5)?_0x34bbb0[_0x3beadb(0xfc)](_0x3beadb(0x1a5)):_0x34bbb0['fill'](),_0x34bbb0[_0x3beadb(0x295)]());}class ue extends _0x86beb2{constructor(_0x1a25b5,_0x4203df){const _0x4be8a5=_0x163b90;super(_0x1a25b5,_0x4203df),_(this,_0x4be8a5(0x2ae)),_(this,_0x4be8a5(0x248)),(this['color']=_0x4203df==null?void 0x0:_0x4203df[_0x4be8a5(0x2ae)],this[_0x4be8a5(0x248)]=_0x4203df==null?void 0x0:_0x4203df[_0x4be8a5(0x248)]);}static[_0x163b90(0x1c4)](_0x4ef3d3,_0xa8760){const _0x3017e3=_0x163b90,{text:_0x2cbef7,color:_0x449c3f}=_0xa8760;_0x4ef3d3['save'](),_0x4ef3d3[_0x3017e3(0x1da)]=_0x3017e3(0x1e6);const _0x4d3e31=_0x4ef3d3['measureText'](_0x2cbef7)[_0x3017e3(0x1d0)],_0x4041ba=Math[_0x3017e3(0x160)](_0x4d3e31+0x2*Ie,qe);Oi(_0x4ef3d3,{'height':te,'radius':0x4,'width':_0x4041ba,'fill':_0x449c3f}),_0x4ef3d3[_0x3017e3(0x1be)]='#FFF';const _0x583890=Ie,_0x12dc95=te-Ei,_0x47c1dd=qe-0x2*Ie;if(_0x4d3e31>_0x47c1dd){let _0x95ace4='',_0x4f8616=0x0;for(const _0x186c90 of _0x2cbef7){const _0x1a0e59=_0x4ef3d3[_0x3017e3(0x203)](_0x186c90)[_0x3017e3(0x1d0)];if(_0x4f8616+_0x1a0e59<=_0x47c1dd-_0x4ef3d3[_0x3017e3(0x203)](_0x3017e3(0x17f))[_0x3017e3(0x1d0)])_0x95ace4+=_0x186c90,_0x4f8616+=_0x1a0e59;else{_0x95ace4+=_0x3017e3(0x17f);break;}}_0x4ef3d3['fillText'](_0x95ace4,_0x583890,_0x12dc95);}else _0x4ef3d3[_0x3017e3(0x278)](_0x2cbef7,_0x583890,_0x12dc95);_0x4ef3d3[_0x3017e3(0x295)]();}['_draw'](_0xd8ec1c){const _0x14ebd0=_0x163b90;ue[_0x14ebd0(0x1c4)](_0xd8ec1c,this);}}function _0x3a7f(){const _0x164566=['_send','subscribeEvent','M0\x200H16V16H0z','getCurrentRevOfUnit','closePath','_collabCursorState$','_themeService','univer-flex\x20univer-items-center','top','_collaborationUIEventService','fill','_assignedColors','1209086LIUBvO','_initEvent','_setupSubUnitSync','Failed','init','unitID','ticket','save','UPDATE_CURSOR','_render','session.will-retry','UNDEFINED','engine','YUUMI_AI_RUN_FAILED','8524152WOZMqQ','currentSkeleton$','4301868AxFVio','getUndoRedoMutationParamsCache','toRgbString','setUndoRedoMutationParamsCache','runOnServer','off-line-icon_clip0_910_343','unshift','YUUMI_RATE_OVER_LIMIT','transform','_docStateChangeManagerService','_docTransformIMECacheService','_cursorShapes','_clearOtherTimers','getParam','application/json','SOCKET_FAILED_RETRY','addObject','post','_cachedData','addHandlerCallback','_sheetSkeletonManagerService','disableLocalCache','pluginName','with','purple.300','focused$','sessionStatus$','getSkeleton','Warning','redoState','_transformService','onPointerLeave$','_docTransformStateCacheService','activeSheet$','defIds','_status$','textRanges','_getMergeRange','div','urlChange$','collabStatus.offline','lineTo','TOO_MANY_REQUESTS','getSheetId','_urlService','extend','pipe','currentTheme$','concat','addClipboardHook','INVITE_CODE_REQUIRED','stringify','children','_getSheetObject','TEXT','beginPath','getOwnPropertyDescriptor','apply','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','arc','_startDocCollabCursor','loadOfflineData','transformMutationsWithChangeset','EMAIL_VERIFY_CODE_MISMATCH','Error','_cursors','from','_cursor','startsWith','getCollabCursors$','entries','setAlpha','_id','_createSocketURL','registerRefRange','icon','_imageIoService','_getSaveTimeout','OFFLINE','size','_eventUnsubscribe','1946ODNNsC','min','_docSkeleton','_unitStatus','replaceDocRanges','white','transformRemoteChangeset','next','setShapeProps','xlink:href','onCommandExecuted','resize','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_ALREADY_BOUND','removeParam','_univerInstanceService','APPLY_PERMISSION_DENIED','APPLY_REVISION_CONFILICT','black','complete','contains','CONFLICT','entityInit$','createSocket','PERMISSION_DENIED','getItem','registerRenderModule','setConfig','_initDependencies','_hovered','_configService','...','RECT','clearInterval','currentColor','mask','4710paDLDI','_initCommandExecutedListener','_saveCache','saveOfflineData','getMemberID','call','href','split','_messageService','search','exhaustSavingTask','displayName','COMPLETION_FINISHED','PY_RUNTIME_SCRIPT_ERROR','includes','_cursorInfo$','selections','_context','http://www.w3.org/2000/svg','replace','_drawAnchor','_saveTaskMap','clearTimeout','_session','path','_textBubble','_scheduleSaving','m2Prime','none','1em','InsertRangeMoveRightCommandId','_notificationService','SUBMIT_CHANGESET_TIMEOUT','evenodd','_colorIndex','fillRule','makeDirty','then','memberID','use','bottom','_shapes','univer-mr-2\x20univer-flex\x20univer-text-xl','_disabled','getSheetBySheetId','LOGIN_FAILED','_onCursorUpdate','38256mdPvod','_toggleOffline','_anchorDot','_unitOnClients','roomMembers$','isArray','all','NOT_COLLAB','YUUMI_ALL_TABLES_IS_INVALID','_lastPointer','whenReady','fillStyle','collabStatus.synced','permission.content','dispose$','deepClone','isActive','drawWith','push','_scene','svg','_document','_collaborationController','_initResize','_name','collabStatus.syncing','_instanceService','attrs','cursorInfo$','width','getStateCache','string','selection','VIEW_MAIN','_refRangeService','setItem','getValue','_getSessionTicket','DeleteRangeMoveLeftCommandId','font','column','_range','_updateSubUnitFromURLParams','UniverIcon','pushState','findNodePositionByCharIndex','_initEntityListener','_injector','_logService','INVALID_INVITE_CODE','transformMutation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','error','setTimeout','NOT_FOUND','on-line-icon_clip0_910_349','getRelativeToViewportCoord','doc.mutation.rich-text-editing','tag','defs','_docClipboardService','_handleJoinEvent','getCurrent','_dataLoaderService','USER_NOT_INVITED_CODE','green.600','propertyIsEnumerable','popstate','APPLY_REJECT','executeCommand','sessionTicket','disposeWithMe','replaceState','getActiveRange','endColumn','assignAColorForMemberID','_handleLeaveEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','subscribe','addObjects','measureText','_renderManagerService','executionId','_color','InsertRowCommandId','moveTo','_collabCursorController','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','on-line-icon','getFocusedUnit','get','_handleHover','MOBILE_HAS_BEEN_BOUND','hide','MOBILE_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','_scheduleHeartbeat','params','OffLineIcon','code','flatMap','setInterval','MUTATION','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNIVER_DOC','transformSelections','SNAPSHOT_INVALID_SNAPSHOT','range','AWAITING_WITH_PENDING','FromArray','CHANGESET_REVISION_CONFILICT','_setupBeforeClosingHandler','_transformHistoryAndStateStack','onPointerMove$','YUUMI_ASYNCIO_CANCELLED','imageSourceType','registerBeforeClose','eventID','className','asObservable','collabCursorState$','getCurrentSelections','_drawRectRange','unitId','registerComponent','location','hasOwnProperty','isEditing','transformIMECache','collaboration-client.offline-data-not-saved','getAncestorScale','_handleHeartbeatEvent','getColorFromTheme','round','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','enableLocalCache','_scheduleClearOtherTimer','unit','url(#$1','assign','1184560KeQzPn','_removeClearOtherTimer','getCellPositionByOffset','_heartbeatTimer','set','_commandService','YUUMI_SUBSCRIPTION_NOT_FOUND','getConfig','text','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','collabStatus.notCollab','undoState','defineProperty','body','EMAIL_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','_toggleOnline','origin','ranges','ALREADY_EXISTS','toString','length','_roomMembers$','_localStorageService','prototype','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_init','FETCH_MISS','_getScale','collab-client.tooltip.reconnect','unsubscribe','_registerDependencies','CONNECTOR_DATA_TOO_LARGE','data','LICENSE_IMPORT_SIZE_EXCEEDED','blue.400','uni.network.url-service','0\x200\x2016\x2016','RemoveColCommandId','mutations','getOffsetConfig','reconnect','saveTaskMap','_initStatusListener','syncEditingCollabCursor','show','add','collab-text-anchor-','_refreshCollabCursors','2266560Vvtwre','substring','getUnitId','startRow','LICENSE_MAX_UNITS_EXCEEDED','fillText','roomMembers','YUUMI_NO_CUBOID_FOR_QUESTION','name','subunit','m1Prime','getRenderById','LICENSE_EXPORT_SIZE_EXCEEDED','newValue','_transformUndoRedoStack','_ensureSubject','actions','_online','find','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_SHEET','PENDING','delete','addEventListener','INVALID_ARGUMENT','/run/','_updateLocalCursor','row','7452qNzlJX','type','LICENSE_DISTRO_REJECTED','[CollaborationDataLoaderController]','values','_updateCollabCursors','restore','_doCreateSocket','APPLY_DUPLICATED','off-line-icon','_httpService','getMember','_config','_anchor','HEADER_MENU','docStateChange$','function','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collaboration.closeRoom','searchParams','createInstance','_transformPreviousActiveRange','skeleton','getTypeOfUnitAdded$','_handleEvent','INTERNAL_ERROR','_updateURLWithCurrentState','_memberService','_initStatusComponent','event$','override','color','_drawTextRange','collab-rect-range-','map','debug','height','_labelPosition','_hideTimer','_onCursorDelete','UNAUTHENTICATED','_selfUnitIDs','setActiveRange','setStateCache','has','dispose','_draw','_beforeCloseService','_localeService','cursorInfo','setParam','YUUMI_UNABLE_LOAD_URL','idSuffix','forEach','OnLineIcon','requireSession','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DeleteRangeMoveUpCommandId','session.connection-failed','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','ENSURE_SNAPSHOT_EXECUTION','runId','_startSheetCollabCursor','permission.title','InsertRangeMoveDownCommandId','OTHER_CLIENTS_EDITING','invokeId','onMouseMove','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','updateOfflineData','getTypeOfUnitDisposed$','saveImage','clipPath','_entities','_registerRenderDependencies','_revisionService','send','session.collaboration-timeout','_removeCollabCursors','getRangePointData','sheetId','InsertColCommandId','Unknown\x20user','_syncEditingCollabCursorService','triggerDblclick','collaboration-client-ui.config','_colorAssignService','_getAnchorBounding','_backgroundColor','onPointerEnter$','ONLINE','wsSessionTicketUrl','random','getMergeData','INVITE_CODE_HAS_BEEN_UES','subUnitId','status$','url(#on-line-icon_clip0_910_349)','2RCtjpD','_localCacheService','_onRefRangeChange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','max','_hover','url(#off-line-icon_clip0_910_343)','_entityInit$','_docTransformSelectionsService','unload','red.300','colorChannel1','collab-text-range-','history'];_0x3a7f=function(){return _0x164566;};return _0x3a7f();}const ve=_0x163b90(0x271),bi=_0x163b90(0xf0),Ti=_0x163b90(0x2b0),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class et{constructor(_0x36384e,_0x5c655f,_0xd28a57,_0x1141a8){const _0x119b55=_0x163b90;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x119b55(0x19d),null),_(this,'_anchorDot',null),_(this,_0x119b55(0x2b5),null),_(this,_0x119b55(0x15e),null),(this[_0x119b55(0x151)]=_0x36384e,this[_0x119b55(0x1c6)]=_0x5c655f,this[_0x119b55(0x161)]=_0xd28a57,this[_0x119b55(0x1c8)]=_0x1141a8,this[_0x119b55(0x107)]());}set['_hover'](_0x45f999){const _0x5b1c13=_0x163b90;_0x45f999?(this[_0x5b1c13(0x1b5)]&&this['_anchorDot'][_0x5b1c13(0x210)](),this[_0x5b1c13(0x19d)]&&this[_0x5b1c13(0x19d)]['show']()):(this[_0x5b1c13(0x1b5)]&&this['_anchorDot'][_0x5b1c13(0x26f)](),this['_textBubble']&&this[_0x5b1c13(0x19d)][_0x5b1c13(0x210)]());}[_0x163b90(0x2bc)](){const _0x67ddc4=_0x163b90;for(const _0xb601ca of this[_0x67ddc4(0x1ad)])_0xb601ca[_0x67ddc4(0x2bc)]();this['_textBubble']&&this[_0x67ddc4(0x19d)]['dispose'](),this[_0x67ddc4(0x1b5)]&&this[_0x67ddc4(0x1b5)][_0x67ddc4(0x2bc)](),this['_anchor']&&this[_0x67ddc4(0x29c)]['dispose'](),this[_0x67ddc4(0x15e)]&&this[_0x67ddc4(0x15e)]();}[_0x163b90(0x107)](){const _0x4aa40b=_0x163b90;var _0x5f2549;const {_docSkeleton:_0x2f2e23,_document:_0x4d35e9}=this,{color:_0x5f37a6,name:_0x2fafa3,ranges:_0x449d3f}=this[_0x4aa40b(0x151)],_0x136c7a=_0x4d35e9[_0x4aa40b(0x26a)](),{docsLeft:_0x1a1687,docsTop:_0x2c6627}=_0x136c7a,_0x1fc417=new _0x36c519(_0x136c7a,_0x2f2e23);for(const {startOffset:_0x580fbb,endOffset:_0x528990,rangeType:_0x147cd4,segmentId:_0x55aa43,segmentPage:_0x3896f3,collapsed:_0x54c52d,isActive:_0x39a11e}of _0x449d3f){const _0x256a66=_0x2f2e23[_0x4aa40b(0x1e0)](_0x580fbb,!0x0,_0x55aa43,_0x3896f3);let _0xb9f897=_0x2f2e23[_0x4aa40b(0x1e0)](_0x528990,!0x0,_0x55aa43,_0x3896f3);if(_0xb9f897==null&&(_0xb9f897=_0x2f2e23[_0x4aa40b(0x1e0)](_0x528990-0x1,!0x1,_0x55aa43,_0x3896f3)),_0x39a11e){const {contentBoxPointGroup:_0x5ad880}=_0x1fc417[_0x4aa40b(0xd1)](_0xb9f897,_0xb9f897);if(_0x5ad880['length']===0x0)continue;this[_0x4aa40b(0x198)](_0x5f37a6,_0x5ad880,_0x1a1687,_0x2c6627,_0x2fafa3),this[_0x4aa40b(0x15e)]=this[_0x4aa40b(0x20e)]();}if(_0x256a66&&_0xb9f897){if(_0x147cd4===_0x211be7[_0x4aa40b(0x180)]){const _0x29c7ba=new _0xb411cc(_0x136c7a,_0x2f2e23),{pointGroup:_0x3780e3}=(_0x5f2549=_0x29c7ba[_0x4aa40b(0xd1)](_0x256a66,_0xb9f897))!=null?_0x5f2549:{};if(_0x3780e3==null||_0x3780e3[_0x4aa40b(0x256)]===0x0)continue;this[_0x4aa40b(0x22d)](_0x5f37a6,_0x3780e3,_0x1a1687,_0x2c6627);}else{if(!_0x54c52d){const {borderBoxPointGroup:_0x10531f}=_0x1fc417[_0x4aa40b(0xd1)](_0x256a66,_0xb9f897);if(_0x10531f['length']===0x0)continue;this['_drawTextRange'](_0x5f37a6,_0x10531f,_0x1a1687,_0x2c6627);}}}}}[_0x163b90(0x198)](_0x46979a,_0x44bd80,_0x500afe,_0x6043c,_0x21d948){const _0x19504e=_0x163b90,_0x4da379=this[_0x19504e(0xd9)](_0x44bd80),{left:_0x14b4bf,top:_0x14d9ce,height:_0x6a64ae}=_0x4da379,_0x26f3e8=this[_0x19504e(0x25e)](),_0x51fd3c=Di/_0x26f3e8,_0x2a41a9=new _0x521d58(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c,'height':_0x6a64ae,'width':Ri,'fill':_0x46979a||_0x20c176(_0x4324c8[_0x19504e(0x172)],0x0),'strokeWidth':_0x51fd3c,'stroke':Ni,'evented':!0x0});this[_0x19504e(0x29c)]=_0x2a41a9,this['_scene'][_0x19504e(0x11e)](_0x2a41a9,_0x2817b7);const _0x548f8a=new _0x521d58(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c-ge/0x2,'height':ge,'width':ge,'fill':_0x46979a||_0x20c176(_0x4324c8['black'],0x0),'strokeWidth':0x0,'stroke':_0x46979a||_0x20c176(_0x4324c8[_0x19504e(0x172)],0x0),'evented':!0x1});this[_0x19504e(0x1b5)]=_0x548f8a,this[_0x19504e(0x1c6)][_0x19504e(0x11e)](_0x548f8a,_0x2817b7);const _0x234548=new ue(ve+_0x5e883b(G),{'left':_0x14b4bf+_0x500afe-_0x51fd3c,'top':_0x14d9ce+_0x6043c-te,'text':_0x21d948,'color':_0x46979a});this[_0x19504e(0x19d)]=_0x234548,this[_0x19504e(0x1c6)][_0x19504e(0x11e)](_0x234548,_0x2817b7),this['_hover']=!0x1;}[_0x163b90(0x20e)](){const _0x2d5595=_0x163b90,_0x1a157e=this[_0x2d5595(0x29c)][_0x2d5595(0xdb)][_0x2d5595(0xf3)](()=>{const _0x4fa228=_0x2d5595;this[_0x4fa228(0xe9)]=!0x0;}),_0x14f60f=this[_0x2d5595(0x29c)][_0x2d5595(0x12d)][_0x2d5595(0xf3)](()=>{const _0x3c18fe=_0x2d5595;this[_0x3c18fe(0x2b5)]&&clearTimeout(this[_0x3c18fe(0x2b5)]),this[_0x3c18fe(0x2b5)]=setTimeout(()=>{const _0x78678a=_0x3c18fe;this[_0x78678a(0xe9)]=!0x1;},0x7d0);});return()=>{const _0x29cacf=_0x2d5595;_0x1a157e[_0x29cacf(0x260)](),_0x14f60f[_0x29cacf(0x260)]();};}[_0x163b90(0x2af)](_0x1538d7,_0x144ce1,_0x30020d,_0x2e86e5){const _0x503ea8=_0x163b90,_0x4253d8=new _0x5d957e(_0x1538d7)[_0x503ea8(0x155)](0.2)[_0x503ea8(0x110)](),_0x40c7e2=new _0x61497b(bi+_0x5e883b(G),{'pointsGroup':_0x144ce1,'fill':_0x4253d8||_0x20c176(_0x4324c8['black'],0.2),'left':_0x30020d,'top':_0x2e86e5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x503ea8(0x1ad)][_0x503ea8(0x1c5)](_0x40c7e2),this['_scene'][_0x503ea8(0x11e)](_0x40c7e2,_0x2817b7);}[_0x163b90(0x22d)](_0xca2270,_0x3f6041,_0x3da62c,_0x3de0f7){const _0x3ec318=_0x163b90,_0x348656=new _0x5d957e(_0xca2270)[_0x3ec318(0x155)](0.2)['toRgbString'](),_0x4e0b84=new _0x61497b(Ti+_0x5e883b(G),{'pointsGroup':_0x3f6041,'fill':_0x348656||_0x20c176(_0x4324c8[_0x3ec318(0x172)],0.2),'left':_0x3da62c,'top':_0x3de0f7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ec318(0x1ad)][_0x3ec318(0x1c5)](_0x4e0b84),this[_0x3ec318(0x1c6)][_0x3ec318(0x11e)](_0x4e0b84,_0x2817b7);}['_getAnchorBounding'](_0x14a8f3){const _0x2feda9=_0x14a8f3[0x0],_0x3cb6b3=_0x2feda9[0x0],_0xb06216=_0x2feda9[0x2],{x:_0x3b91c9,y:_0xee99f4}=_0x3cb6b3,{x:_0x29aacc,y:_0x1a147f}=_0xb06216;return{'left':_0x3b91c9,'top':_0xee99f4,'width':_0x29aacc-_0x3b91c9,'height':_0x1a147f-_0xee99f4};}['_getScale'](){const _0x16ecfb=_0x163b90,{scaleX:_0x56f158,scaleY:_0x389f25}=this['_scene'][_0x16ecfb(0x235)]();return Math[_0x16ecfb(0xe8)](_0x56f158,_0x389f25);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x271829,_0x350d1d,_0x1b03e1,_0x21d7bb)=>{const _0x49b751=_0x163b90;for(var _0x2fa3ab=_0x21d7bb>0x1?void 0x0:_0x21d7bb?Ui(_0x350d1d,_0x1b03e1):_0x350d1d,_0x5af0c3=_0x271829[_0x49b751(0x256)]-0x1,_0x29aaf5;_0x5af0c3>=0x0;_0x5af0c3--)(_0x29aaf5=_0x271829[_0x5af0c3])&&(_0x2fa3ab=_0x29aaf5(_0x2fa3ab)||_0x2fa3ab);return _0x2fa3ab;},Q=(_0x157d8d,_0x2ccb40)=>(_0x4a2d9c,_0x2104c4)=>_0x2ccb40(_0x4a2d9c,_0x2104c4,_0x157d8d);let Pe=class extends _0x24bb3b{constructor(_0x5b8f7c,_0x25a9b0,_0x2570bb,_0x1715a4,_0x467259){const _0x4600a0=_0x163b90;super(),_(this,_0x4600a0(0x119),[]),_(this,_0x4600a0(0x14f),[]),(this[_0x4600a0(0x195)]=_0x5b8f7c,this[_0x4600a0(0x212)]=_0x25a9b0,this['_collabCursorController']=_0x2570bb,this[_0x4600a0(0x245)]=_0x1715a4,this['_themeService']=_0x467259,this['_init']());}[_0x163b90(0x25c)](){const _0x4ebea5=_0x163b90,_0x1c832e=this[_0x4ebea5(0x195)][_0x4ebea5(0x22e)],_0x4ed3e4=this[_0x4ebea5(0x212)];this[_0x4ebea5(0x1fa)](_0x491a6c([this[_0x4ebea5(0x209)][_0x4ebea5(0x153)](_0x1c832e),this[_0x4ebea5(0xf8)][_0x4ebea5(0x13d)]])[_0x4ebea5(0x13c)](_0x2ca3e9(([_0x37ca4e,_0x190d88])=>({'skeleton':_0x4ed3e4[_0x4ebea5(0x129)](),'cursors':[..._0x37ca4e[_0x4ebea5(0x293)]()][_0x4ebea5(0x217)](_0x2b9567=>({..._0x2b9567,'color':this[_0x4ebea5(0xf8)][_0x4ebea5(0x237)](_0x2b9567['color'])}))})))[_0x4ebea5(0x201)](_0x3384e3=>{const _0x4c6544=_0x4ebea5;if(this[_0x4c6544(0xd0)](),_0x3384e3){const {skeleton:_0x4001a8,cursors:_0x4d7ee7}=_0x3384e3;this[_0x4c6544(0x294)](_0x4001a8,_0x4d7ee7);}})),this['_initResize'](),this[_0x4ebea5(0x185)]();}['_updateCollabCursors'](_0x58f8bf,_0x3f370e){const _0x2be10a=_0x163b90,{scene:_0x4a5841,mainComponent:_0x436459}=this[_0x2be10a(0x195)],_0x46a66b=_0x3f370e['map'](_0x5653c1=>new et(_0x5653c1,_0x4a5841,_0x58f8bf,_0x436459));this[_0x2be10a(0x119)]=_0x46a66b,this[_0x2be10a(0x14f)]=_0x3f370e;}['_refreshCollabCursors'](){const _0x110cc6=_0x163b90;this[_0x110cc6(0xd0)]();const {scene:_0x4a0f5d,mainComponent:_0x378a5e}=this[_0x110cc6(0x195)],_0x4b7c1=this['_docSkeletonManagerService']['getSkeleton'](),_0x113512=this[_0x110cc6(0x14f)]['map'](_0x410b13=>new et(_0x410b13,_0x4a0f5d,_0x4b7c1,_0x378a5e));this[_0x110cc6(0x119)]=_0x113512;}[_0x163b90(0xd0)](){const _0x59c4df=_0x163b90;this[_0x59c4df(0x119)][_0x59c4df(0x2c4)](_0x5bc286=>_0x5bc286[_0x59c4df(0x2bc)]()),this[_0x59c4df(0x119)]=[];}[_0x163b90(0x185)](){const _0x20a316=_0x163b90,_0x2b811a=[_0x22b199['id']];this[_0x20a316(0x1fa)](this[_0x20a316(0x245)][_0x20a316(0x169)](_0x2618a2=>{const _0x5cc534=_0x20a316;_0x2b811a[_0x5cc534(0x192)](_0x2618a2['id'])&&_0x2618a2[_0x5cc534(0x214)][_0x5cc534(0x22e)]===this['_context']['unitId']&&this[_0x5cc534(0x272)]();}));}[_0x163b90(0x1ca)](){const _0x1caa1e=_0x163b90;this[_0x1caa1e(0x1fa)](_0x1fd535(this[_0x1caa1e(0x195)][_0x1caa1e(0x10a)]['onTransformChange$'])[_0x1caa1e(0x13c)](_0x31dd46(_0x4dc026=>_0x4dc026[_0x1caa1e(0x290)]===_0x3f4629[_0x1caa1e(0x16a)]),_0x1cb29f(0x10))['subscribe'](()=>{const _0x782a02=_0x1caa1e;this[_0x782a02(0x272)]();}));}};Pe=Mi([Q(0x1,_0xe4d2b5(_0x574676)),Q(0x2,_0xe4d2b5(F)),Q(0x3,_0xdb13dc),Q(0x4,_0xe4d2b5(_0x3e708f))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x86beb2{constructor(_0x45e92e,_0x213f5e){const _0xfdbeb7=_0x163b90;super(_0x45e92e,_0x213f5e),_(this,'_color'),_(this,_0xfdbeb7(0x17d),!0x1),_(this,_0xfdbeb7(0x1dc)),_(this,_0xfdbeb7(0x1cb),''),_(this,_0xfdbeb7(0x2b4),_0xfdbeb7(0xfa)),_(this,_0xfdbeb7(0xda)),(_0x213f5e&&this[_0xfdbeb7(0x167)](_0x213f5e),this[_0xfdbeb7(0xdb)][_0xfdbeb7(0xf3)](()=>this[_0xfdbeb7(0x167)]({'hovered':!0x0})),this[_0xfdbeb7(0x12d)][_0xfdbeb7(0xf3)](()=>this[_0xfdbeb7(0x167)]({'hovered':!0x1})));}['setShapeProps'](_0x17bdc6){const _0xc3ad20=_0x163b90;var _0x48e4b5,_0xb7c5cb,_0x44c338,_0x1e863f,_0x1dd035,_0x4dafc6;this['_color']=(_0x48e4b5=_0x17bdc6[_0xc3ad20(0x2ae)])!=null?_0x48e4b5:this[_0xc3ad20(0x206)],this['_hovered']=(_0xb7c5cb=_0x17bdc6['hovered'])!=null?_0xb7c5cb:this[_0xc3ad20(0x17d)],this[_0xc3ad20(0x1dc)]=(_0x44c338=_0x17bdc6[_0xc3ad20(0x21e)])!=null?_0x44c338:this[_0xc3ad20(0x1dc)],this['_name']=(_0x1e863f=_0x17bdc6[_0xc3ad20(0x27b)])!=null?_0x1e863f:this[_0xc3ad20(0x1cb)],this[_0xc3ad20(0x2b4)]=(_0x1dd035=_0x17bdc6['labelPosition'])!=null?_0x1dd035:this[_0xc3ad20(0x2b4)],this[_0xc3ad20(0xda)]=(_0x4dafc6=_0x17bdc6['backgroundColor'])!=null?_0x4dafc6:this['_backgroundColor'],this['transformByState']({'width':_0x17bdc6[_0xc3ad20(0x1d0)],'height':_0x17bdc6[_0xc3ad20(0x2b3)]});}['onMouseMove'](_0x50ef10){const _0x1d5288=_0x163b90,{row:_0x5d1a5d,column:_0x141a49}=_0x50ef10;if(_0x5d1a5d>=this[_0x1d5288(0x1dc)][_0x1d5288(0x276)]&&_0x5d1a5d<=this[_0x1d5288(0x1dc)]['endRow']&&_0x141a49>=this[_0x1d5288(0x1dc)]['startColumn']&&_0x141a49<=this[_0x1d5288(0x1dc)][_0x1d5288(0x1fd)]){this[_0x1d5288(0x167)]({'hovered':!0x0});return;}this[_0x1d5288(0x167)]({'hovered':!0x1});}[_0x163b90(0xd6)](_0x27bae5){return!0x1;}[_0x163b90(0x2bd)](_0x3dbd18){const _0x2cbdac=_0x163b90;_0x521d58['drawWith'](_0x3dbd18,{'width':this['width'],'height':this[_0x2cbdac(0x2b3)],'strokeWidth':Pi,'stroke':this[_0x2cbdac(0x206)],'evented':!0x1,'fill':this[_0x2cbdac(0xda)]}),this['_hovered']&&(_0x3dbd18['save'](),_0x3dbd18[_0x2cbdac(0x116)](0x1,0x0,0x0,0x1,this[_0x2cbdac(0x1d0)],this[_0x2cbdac(0x2b4)]==='bottom'?0x0:-0x14),ue['drawWith'](_0x3dbd18,{'text':this[_0x2cbdac(0x1cb)],'color':this[_0x2cbdac(0x206)]}),_0x3dbd18[_0x2cbdac(0x295)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x26e12e,_0x19e616,_0x9a5dfb,_0x6f4fc1)=>{for(var _0x5af016=_0x6f4fc1>0x1?void 0x0:_0x6f4fc1?Ai(_0x19e616,_0x9a5dfb):_0x19e616,_0x197858=_0x26e12e['length']-0x1,_0x3a9773;_0x197858>=0x0;_0x197858--)(_0x3a9773=_0x26e12e[_0x197858])&&(_0x5af016=_0x3a9773(_0x5af016)||_0x5af016);return _0x5af016;},pe=(_0x5a10ec,_0x2e5a79)=>(_0x401e6e,_0x2da248)=>_0x2e5a79(_0x401e6e,_0x2da248,_0x5a10ec);const $i=0x1389;let we=class extends _0x24bb3b{constructor(_0x3512de,_0x9afd52,_0x31d881,_0x35cd18){const _0x2288ee=_0x163b90;super(),_(this,_0x2288ee(0x14f),new Set()),_(this,_0x2288ee(0x1bc),null),(this[_0x2288ee(0x195)]=_0x3512de,this[_0x2288ee(0x122)]=_0x9afd52,this[_0x2288ee(0x209)]=_0x31d881,this[_0x2288ee(0xf8)]=_0x35cd18,this['_init']());}[_0x163b90(0x25c)](){const _0x2016ec=_0x163b90;this['_sheetSkeletonManagerService'][_0x2016ec(0x10d)]['pipe'](_0x14bb95(this[_0x2016ec(0x1c1)]),_0x442366(_0x2dd514=>{const _0x4a5088=_0x2016ec;if(_0x2dd514){const _0x20cbde=_0x2dd514[_0x4a5088(0xd2)];return _0x491a6c(this['_collabCursorController'][_0x4a5088(0x153)](this['_context'][_0x4a5088(0x22e)]),this['_themeService'][_0x4a5088(0x13d)])[_0x4a5088(0x13c)](_0x2ca3e9(([_0x3ea8b9,_0x20b889])=>{const _0x2eaa1b=_0x4a5088,_0x55e7db=new Map();return _0x3ea8b9[_0x2eaa1b(0x2c4)]((_0x1f6376,_0x3c9005)=>{const _0x10c431=_0x2eaa1b;if(_0x1f6376['sheetID']===_0x20cbde){const _0xeacf6b={..._0x1f6376};_0xeacf6b['color']=this[_0x10c431(0xf8)][_0x10c431(0x237)](_0x1f6376['color']),_0x55e7db[_0x10c431(0x244)](_0x3c9005,_0xeacf6b);}}),{'skeleton':_0x2dd514,'cursors':_0x55e7db};}));}return _0xba8c7b({'skeleton':null,'cursors':new Map()});}))[_0x2016ec(0x201)](({skeleton:_0x4a27e5,cursors:_0x3117ca})=>{const _0x2cc2af=_0x2016ec;this['_removeCollabCursors'](),_0x4a27e5&&this[_0x2cc2af(0x294)](_0x4a27e5,_0x3117ca);}),this['_sheetSkeletonManagerService'][_0x2016ec(0x10d)][_0x2016ec(0x201)](_0x350459=>{const _0x4e4e09=_0x2016ec;if(_0x350459==null)return;const {skeleton:_0x49516e}=_0x350459,{scene:_0x237ea9}=this[_0x4e4e09(0x195)];_0x237ea9[_0x4e4e09(0x224)]['subscribeEvent'](_0x5d4f62(_0x4471da=>{const _0x3690d0=_0x4e4e09;var _0x47c435,_0x4cf3c7;const {offsetX:_0x2455d5,offsetY:_0x1800cc}=_0x4471da,{x:_0x7e6ffb,y:_0x544e10}=_0x237ea9[_0x3690d0(0x1eb)](_0x2a744f[_0x3690d0(0x220)]([_0x2455d5,_0x1800cc])),{scaleX:_0x494d8a,scaleY:_0x1811ec}=_0x237ea9[_0x3690d0(0x235)](),_0x18a466=_0x237ea9['getViewport'](_0x3251cc[_0x3690d0(0x1d4)]),_0xa574a5=_0x237ea9['getVpScrollXYInfoByPosToVp'](_0x2a744f[_0x3690d0(0x220)]([_0x7e6ffb,_0x544e10]),_0x18a466),_0x3e44af=_0x49516e[_0x3690d0(0x242)](_0x2455d5,_0x1800cc,_0x494d8a,_0x1811ec,_0xa574a5);((_0x47c435=this['_lastPointer'])==null?void 0x0:_0x47c435['column'])===_0x3e44af[_0x3690d0(0x1db)]&&((_0x4cf3c7=this['_lastPointer'])==null?void 0x0:_0x4cf3c7[_0x3690d0(0x28e)])===_0x3e44af['row']||this[_0x3690d0(0x14f)][_0x3690d0(0x2c4)](_0x2fc49b=>{const _0x2c51d3=_0x3690d0;_0x2fc49b[_0x2c51d3(0xc5)](_0x3e44af);});},0x64));});}[_0x163b90(0x294)](_0x393f2e,_0x257a1b){const _0x2961e7=_0x163b90;var _0x1cbcd6;const _0x12df2b=(_0x1cbcd6=this[_0x2961e7(0x122)][_0x2961e7(0x1f1)]())==null?void 0x0:_0x1cbcd6[_0x2961e7(0x2a5)];if(!_0x12df2b)return;const _0x533a22=this[_0x2961e7(0x143)]();if(!_0x533a22)return;this[_0x2961e7(0x14f)][_0x2961e7(0x2c4)](_0x45aeee=>{const _0x5a2c95=_0x2961e7;_0x45aeee[_0x5a2c95(0x1a8)]();});const {scene:_0x58fa85}=_0x533a22,_0x30e76a=xi(Array[_0x2961e7(0x150)](_0x257a1b[_0x2961e7(0x293)]()))[_0x2961e7(0x2b1)](_0x68b119=>{const _0x1d9a9e=_0x2961e7,{color:_0x3b2783,range:_0x55de9e,name:_0xcbd1df,selection:_0x14f0b6,sheetID:_0x807379}=_0x68b119,{startColumn:_0x565afa,startRow:_0x47b80e,endColumn:_0x1b022f,endRow:_0x4d2ee2}=_0x55de9e,_0x3f41f1=_0x3bad88(_0x47b80e,_0x565afa,_0x58fa85,_0x12df2b),_0x4cd6e4=_0x3bad88(_0x4d2ee2,_0x1b022f,_0x58fa85,_0x12df2b),{columnHeaderHeightAndMarginTop:_0x4eb342}=_0x12df2b,{startX:_0x4418f5,startY:_0x214af7}=_0x3f41f1,{endX:_0x1c73a5,endY:_0x389a56}=_0x4cd6e4,_0x4ba770=_0x1c73a5-_0x4418f5,_0x1339f9=_0x389a56-_0x214af7,_0x936766={'labelPosition':_0x214af7-_0x4eb342>=te?'top':_0x1d9a9e(0x1ac),'sheetID':_0x807379,'range':_0x55de9e,'color':_0x3b2783,'name':_0xcbd1df,'selection':_0x14f0b6,'left':_0x4418f5,'top':_0x214af7,'width':_0x4ba770,'height':_0x1339f9,'evented':!0x1,'zIndex':$i};return new wi(_0xcbd1df,_0x936766);});_0x58fa85[_0x2961e7(0x202)](_0x30e76a,Li),this[_0x2961e7(0x14f)]=new Set(_0x30e76a);}['_removeCollabCursors'](){const _0xfea0cb=_0x163b90;var _0x59798e;(_0x59798e=this[_0xfea0cb(0x14f)])==null||_0x59798e['forEach'](_0x5c233f=>_0x5c233f['dispose']());}['_getSheetObject'](){const _0xdf3fa7=_0x163b90;return _0x53a0cb(this[_0xdf3fa7(0x195)][_0xdf3fa7(0x23d)],this[_0xdf3fa7(0x195)]);}};we=yi([pe(0x1,_0xe4d2b5(_0x56a165)),pe(0x2,_0xe4d2b5(F)),pe(0x3,_0xe4d2b5(_0x3e708f))],we);function xi(_0x4321b5){const _0x2cc319=_0x163b90,_0xd486b1=new Map();return _0x4321b5[_0x2cc319(0x2c4)](_0x33948f=>{const _0x467e02=_0x2cc319;if(_0xd486b1[_0x467e02(0x2bb)](_0x33948f['selection'])){const _0x5768fd=_0xd486b1[_0x467e02(0x20d)](_0x33948f['selection']);_0x5768fd['name']+=',\x20'+_0x33948f[_0x467e02(0x27b)];}else _0xd486b1[_0x467e02(0x244)](_0x33948f[_0x467e02(0x1d3)],_0x33948f);}),Array[_0x2cc319(0x150)](_0xd486b1[_0x2cc319(0x293)]());}var v=function(){const _0x34e341=_0x163b90;return v=Object['assign']||function(_0x57382b){const _0x5a45bf=_0x30ea;for(var _0xfe8bcc,_0x14804a=0x1,_0x4f1449=arguments[_0x5a45bf(0x256)];_0x14804a<_0x4f1449;_0x14804a++){_0xfe8bcc=arguments[_0x14804a];for(var _0x587b71 in _0xfe8bcc)Object[_0x5a45bf(0x259)][_0x5a45bf(0x231)][_0x5a45bf(0x189)](_0xfe8bcc,_0x587b71)&&(_0x57382b[_0x587b71]=_0xfe8bcc[_0x587b71]);}return _0x57382b;},v[_0x34e341(0x147)](this,arguments);},Bi=function(_0x4d90f1,_0x36cdfe){const _0xd2b7dc=_0x163b90;var _0x34528f={};for(var _0x97365 in _0x4d90f1)Object[_0xd2b7dc(0x259)][_0xd2b7dc(0x231)][_0xd2b7dc(0x189)](_0x4d90f1,_0x97365)&&_0x36cdfe['indexOf'](_0x97365)<0x0&&(_0x34528f[_0x97365]=_0x4d90f1[_0x97365]);if(_0x4d90f1!=null&&typeof Object['getOwnPropertySymbols']==_0xd2b7dc(0x29f)){for(var _0x43adc4=0x0,_0x97365=Object['getOwnPropertySymbols'](_0x4d90f1);_0x43adc4<_0x97365['length'];_0x43adc4++)_0x36cdfe['indexOf'](_0x97365[_0x43adc4])<0x0&&Object['prototype'][_0xd2b7dc(0x1f5)][_0xd2b7dc(0x189)](_0x4d90f1,_0x97365[_0x43adc4])&&(_0x34528f[_0x97365[_0x43adc4]]=_0x4d90f1[_0x97365[_0x43adc4]]);}return _0x34528f;},Ye=_0x56ae08(function(_0x113731,_0x5be6d3){const _0xf84c6a=_0x163b90;var _0x50cd97=_0x113731[_0xf84c6a(0x159)],_0x21cd77=_0x113731['id'],_0x40d777=_0x113731[_0xf84c6a(0x229)],_0x2d9cf5=_0x113731[_0xf84c6a(0x13b)],_0x5252a5=Bi(_0x113731,[_0xf84c6a(0x159),'id',_0xf84c6a(0x229),'extend']),_0x2a23ac='univerjs-icon\x20univerjs-icon-'[_0xf84c6a(0x13e)](_0x21cd77,'\x20')[_0xf84c6a(0x13e)](_0x40d777||'')['trim'](),_0x4b5bd9=_0x1be626('_'[_0xf84c6a(0x13e)](Fi()));return Dt(_0x50cd97,''['concat'](_0x21cd77),{'defIds':_0x50cd97[_0xf84c6a(0x130)],'idSuffix':_0x4b5bd9['current']},v({'ref':_0x5be6d3,'className':_0x2a23ac},_0x5252a5),_0x2d9cf5);});function Dt(_0x4ff2db,_0x377831,_0x5b063b,_0x347853,_0x2a91ad){const _0x5a7252=_0x163b90;return _0x3ace0b(_0x4ff2db[_0x5a7252(0x1ed)],v(v({'key':_0x377831},ki(_0x4ff2db,_0x5b063b,_0x2a91ad)),_0x347853),(Hi(_0x4ff2db,_0x5b063b)[_0x5a7252(0x142)]||[])[_0x5a7252(0x2b1)](function(_0x460abc,_0x3e9324){const _0x53f649=_0x5a7252;return Dt(_0x460abc,''[_0x53f649(0x13e)](_0x377831,'-')[_0x53f649(0x13e)](_0x4ff2db['tag'],'-')[_0x53f649(0x13e)](_0x3e9324),_0x5b063b,void 0x0,_0x2a91ad);}));}function ki(_0x63083,_0x1c8cff,_0x24cbb5){const _0x462b89=_0x163b90;var _0x4670b2=v({},_0x63083[_0x462b89(0x1ce)]);_0x24cbb5!=null&&_0x24cbb5['colorChannel1']&&_0x4670b2['fill']===_0x462b89(0xef)&&(_0x4670b2[_0x462b89(0xfc)]=_0x24cbb5[_0x462b89(0xef)]),_0x63083[_0x462b89(0x1ed)]===_0x462b89(0x183)&&_0x4670b2['id']&&(_0x4670b2['id']=_0x4670b2['id']+_0x1c8cff['idSuffix']),Object[_0x462b89(0x154)](_0x4670b2)[_0x462b89(0x2c4)](function(_0x5addb7){const _0xc2221e=_0x462b89;var _0xb84fe6=_0x5addb7[0x0],_0x8e199f=_0x5addb7[0x1];_0xb84fe6===_0xc2221e(0x183)&&typeof _0x8e199f==_0xc2221e(0x1d2)&&(_0x4670b2[_0xb84fe6]=_0x8e199f[_0xc2221e(0x197)](/url\(#(.*)\)/,_0xc2221e(0x23e)[_0xc2221e(0x13e)](_0x1c8cff[_0xc2221e(0x2c3)],')')));});var _0x468d54=_0x1c8cff[_0x462b89(0x130)];return!_0x468d54||_0x468d54['length']===0x0||(_0x63083[_0x462b89(0x1ed)]===_0x462b89(0x1ab)&&_0x4670b2['xlink:href']&&(_0x4670b2['xlink:href']=_0x4670b2[_0x462b89(0x168)]+_0x1c8cff[_0x462b89(0x2c3)]),Object[_0x462b89(0x154)](_0x4670b2)[_0x462b89(0x2c4)](function(_0x382a80){const _0x5d4536=_0x462b89;var _0x30cb4f=_0x382a80[0x0],_0x5e751b=_0x382a80[0x1];typeof _0x5e751b==_0x5d4536(0x1d2)&&(_0x4670b2[_0x30cb4f]=_0x5e751b[_0x5d4536(0x197)](/url\(#(.*)\)/,_0x5d4536(0x23e)[_0x5d4536(0x13e)](_0x1c8cff[_0x5d4536(0x2c3)],')')));})),_0x4670b2;}function Hi(_0x1b7840,_0x198db3){const _0x4155df=_0x163b90;var _0x45c874,_0x40307c=_0x198db3[_0x4155df(0x130)];return!_0x40307c||_0x40307c['length']===0x0?_0x1b7840:_0x1b7840[_0x4155df(0x1ed)]===_0x4155df(0x1ee)&&(!((_0x45c874=_0x1b7840[_0x4155df(0x142)])===null||_0x45c874===void 0x0)&&_0x45c874[_0x4155df(0x256)])?v(v({},_0x1b7840),{'children':_0x1b7840[_0x4155df(0x142)][_0x4155df(0x2b1)](function(_0x364bf3){const _0x31fa87=_0x4155df;return typeof _0x364bf3[_0x31fa87(0x1ce)]['id']==_0x31fa87(0x1d2)&&_0x40307c&&_0x40307c[_0x31fa87(0x192)](_0x364bf3[_0x31fa87(0x1ce)]['id'])?v(v({},_0x364bf3),{'attrs':v(v({},_0x364bf3[_0x31fa87(0x1ce)]),{'id':_0x364bf3['attrs']['id']+_0x198db3[_0x31fa87(0x2c3)]})}):_0x364bf3;})}):_0x1b7840;}function Fi(){const _0x337407=_0x163b90;return Math[_0x337407(0xde)]()[_0x337407(0x255)](0x24)[_0x337407(0x274)](0x2,0x8);}Ye[_0x163b90(0x18f)]=_0x163b90(0x1de);var Yi={'tag':'svg','attrs':{'xmlns':_0x163b90(0x196),'fill':_0x163b90(0x1a0),'viewBox':_0x163b90(0x267),'width':_0x163b90(0x1a1),'height':_0x163b90(0x1a1)},'children':[{'tag':'g','attrs':{'clipPath':_0x163b90(0xea)},'children':[{'tag':'path','attrs':{'stroke':_0x163b90(0x182),'d':_0x163b90(0x20a),'strokeLinecap':_0x163b90(0x238),'strokeLinejoin':_0x163b90(0x238),'strokeWidth':1.2}}]},{'tag':_0x163b90(0x1ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x163b90(0x164),'d':_0x163b90(0xf4)}}]}]}],'defIds':[_0x163b90(0x113)]},Nt=_0x56ae08(function(_0x4e35c0,_0x15083c){const _0x5db360=_0x163b90;return _0x3ace0b(Ye,Object[_0x5db360(0x23f)]({},_0x4e35c0,{'id':_0x5db360(0x298),'ref':_0x15083c,'icon':Yi}));});Nt[_0x163b90(0x18f)]=_0x163b90(0x215);var ji={'tag':_0x163b90(0x1c7),'attrs':{'xmlns':_0x163b90(0x196),'fill':_0x163b90(0x1a0),'viewBox':'0\x200\x2017\x2016','width':_0x163b90(0x1a1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x163b90(0xe3)},'children':[{'tag':_0x163b90(0x19c),'attrs':{'stroke':_0x163b90(0x182),'d':_0x163b90(0xbd),'strokeLinecap':_0x163b90(0x238),'strokeLinejoin':_0x163b90(0x238),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x163b90(0xca),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x163b90(0x19c),'attrs':{'fill':_0x163b90(0x164),'d':_0x163b90(0xf4),'transform':'translate(.97)'}}]}]}],'defIds':[_0x163b90(0x1ea)]},Ut=_0x56ae08(function(_0x16b42d,_0x24cc2a){const _0xd64c0=_0x163b90;return _0x3ace0b(Ye,Object[_0xd64c0(0x23f)]({},_0x16b42d,{'id':_0xd64c0(0x20b),'ref':_0x24cc2a,'icon':ji}));});Ut[_0x163b90(0x18f)]=_0x163b90(0x2c5);function Vi(_0x26fad7){const _0x2eb986=_0x163b90;switch(_0x26fad7){case _0x2a04bf[_0x2eb986(0x15c)]:return _0x2eb986(0x136);case _0x2a04bf[_0x2eb986(0x175)]:return'collabStatus.conflict';case _0x2a04bf[_0x2eb986(0x25d)]:return _0x2eb986(0x23a);case _0x2a04bf['NOT_COLLAB']:return _0x2eb986(0x24b);case _0x2a04bf['AWAITING']:case _0x2a04bf[_0x2eb986(0x21f)]:return _0x2eb986(0x1cc);case _0x2a04bf['SYNCED']:case _0x2a04bf[_0x2eb986(0x288)]:return _0x2eb986(0x1bf);}}function Wi(_0x28090a){const _0x10e8da=_0x163b90,{status$:_0x5d8354}=_0x28090a,_0x19c400=_0x9d5159(_0x5d8354,_0x2a04bf[_0x10e8da(0x1ba)]),_0x52afa6=_0x256d1e(_0x38c994),_0xd9401a=_0x256d1e(_0x64397a),_0x250529=_0x19c400!==_0x2a04bf[_0x10e8da(0x15c)],_0xedd262=_0x52afa6['t'](Vi(_0x19c400)),_0x1993f0=_0x250529?_0x8162f5(Ut,{}):_0x8162f5(Nt,{}),_0x4422ff=_0x2f7411(()=>{const _0x11113d=_0x10e8da;_0x250529||_0xd9401a[_0x11113d(0x26b)]();},[_0x250529,_0xd9401a]);function _0x4df123(){const _0x400201=_0x10e8da;return _0xf28f61('div',{'className':_0x400201(0xf9),'onClick':_0x4422ff,'children':[_0x8162f5(_0x400201(0x134),{'className':_0x3cabc2(_0x400201(0x1ae),{'univer-text-green-500':_0x250529,'univer-text-red-500':!_0x250529}),'children':_0x1993f0}),_0x8162f5(_0x400201(0x134),{'className':_0x400201(0x21a),'children':_0xedd262})]});}return _0x250529?_0x4df123():_0x8162f5(_0x4b24c1,{'title':_0x52afa6['t'](_0x10e8da(0x25f)),'children':_0x4df123()});}var Xi=Object[_0x163b90(0x146)],Gi=(_0x55b6b1,_0x357701,_0x874d68,_0x58e64a)=>{for(var _0x37a813=_0x58e64a>0x1?void 0x0:_0x58e64a?Xi(_0x357701,_0x874d68):_0x357701,_0x2ed4a7=_0x55b6b1['length']-0x1,_0x3a0e45;_0x2ed4a7>=0x0;_0x2ed4a7--)(_0x3a0e45=_0x55b6b1[_0x2ed4a7])&&(_0x37a813=_0x3a0e45(_0x37a813)||_0x37a813);return _0x37a813;},q=(_0x585a61,_0x23d4aa)=>(_0x27c4e1,_0x5bfc51)=>_0x23d4aa(_0x27c4e1,_0x5bfc51,_0x585a61);let se=class extends _0x514786{constructor(_0x389cdb,_0x380372,_0x5cebe7,_0x204e44){const _0x1063d3=_0x163b90;super(),_(this,'_status$',new _0x12ab3a(_0x2a04bf[_0x1063d3(0x1ba)])),(this[_0x1063d3(0x16f)]=_0x389cdb,this[_0x1063d3(0x1e2)]=_0x380372,this['_collaborationController']=_0x5cebe7,this['_uiPartsService']=_0x204e44,this[_0x1063d3(0x2ab)](),this[_0x1063d3(0x26d)]());}[_0x163b90(0x26d)](){const _0x33c854=_0x163b90;this[_0x33c854(0x1fa)](this[_0x33c854(0x16f)][_0x33c854(0x127)][_0x33c854(0x13c)](_0x46fe91(()=>{const _0x59fc98=_0x33c854,_0x2fc10c=this['_univerInstanceService'][_0x59fc98(0x20c)]();return _0x2fc10c?this[_0x59fc98(0x1c9)]['getCollabEntity$'](_0x2fc10c['getUnitId']()):_0xba8c7b(null);}),_0x46fe91(_0x286ec8=>_0x286ec8?_0x286ec8[_0x33c854(0xe2)]:_0xba8c7b(_0x2a04bf[_0x33c854(0x1ba)])))['subscribe'](_0x182599=>{const _0xdc9fd0=_0x33c854;this[_0xdc9fd0(0x131)][_0xdc9fd0(0x166)](_0x182599);}));}[_0x163b90(0x2ab)](){const _0x521848=_0x163b90;this[_0x521848(0x1fa)](this['_uiPartsService'][_0x521848(0x22f)](_0x51cdcb[_0x521848(0x29d)],()=>_0x25fec0(Ki({'status$':this['_status$'][_0x521848(0x22a)]()}),this[_0x521848(0x1e2)])));}};se=Gi([q(0x0,_0x8cba3f),q(0x1,_0xe4d2b5(_0x5b513d)),q(0x2,_0xe4d2b5(_0x53a290)),q(0x3,_0x1523e0)],se);function Ki(_0x396ac3){const {status$:_0x52807d}=_0x396ac3;return function(){return _0x8162f5(Wi,{'status$':_0x52807d});};}var zi=Object[_0x163b90(0x146)],Ji=(_0x46d640,_0x3bfa26,_0x465fee,_0x23ba67)=>{for(var _0x20e513=_0x23ba67>0x1?void 0x0:_0x23ba67?zi(_0x3bfa26,_0x465fee):_0x3bfa26,_0x349412=_0x46d640['length']-0x1,_0x2296f6;_0x349412>=0x0;_0x349412--)(_0x2296f6=_0x46d640[_0x349412])&&(_0x20e513=_0x2296f6(_0x20e513)||_0x20e513);return _0x20e513;},B=(_0x2f9148,_0x86ed89)=>(_0x455ba1,_0x55e442)=>_0x86ed89(_0x455ba1,_0x55e442,_0x2f9148);let ie=class extends _0x514786{constructor(_0x1a9f38,_0x218dfa,_0x52e463,_0x5e2d9d,_0x16d1fb,_0x55fa89){const _0x372c90=_0x163b90;super(),this[_0x372c90(0x2be)]=_0x1a9f38,this['_localCacheService']=_0x218dfa,this[_0x372c90(0xfb)]=_0x52e463,this[_0x372c90(0x18c)]=_0x5e2d9d,this[_0x372c90(0x1a3)]=_0x16d1fb,this[_0x372c90(0x2bf)]=_0x55fa89,this[_0x372c90(0x222)](),this['_initEvent']();}[_0x163b90(0x222)](){const _0x498276=_0x163b90;this['disposeWithMe'](this[_0x498276(0x2be)][_0x498276(0x227)](()=>{const _0x3eb6f4=_0x498276;if(this[_0x3eb6f4(0xe5)][_0x3eb6f4(0x26c)][_0x3eb6f4(0x15d)])return this[_0x3eb6f4(0x2bf)]['t'](_0x3eb6f4(0x234));}));}[_0x163b90(0xff)](){const _0x337d60=_0x163b90;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x337d60(0x201)](_0x36127a=>{const _0x52cc5a=_0x337d60;_0x36127a['id']===_0x566cf6['OTHER_CLIENT_EDITING']&&this[_0x52cc5a(0x18c)]['show']({'type':_0x2f8c05['Warning'],'content':this[_0x52cc5a(0x2bf)]['t']('collaboration.single-unit.warning')}),_0x36127a['id']===_0x566cf6['CLOSE_ROOM']&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x12a)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x2a1))}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x178)]&&this['_notificationService'][_0x52cc5a(0x26f)]({'title':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0xc1)),'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x1c0)),'type':_0x52cc5a(0x1e7),'duration':0x0}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x175)]&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x14e)],'content':this[_0x52cc5a(0x2bf)]['t']('collaboration.closeRoom')+'('+_0x36127a['data']+')'}),_0x36127a['id']===_0x566cf6['JOIN_ROOM_FAILED']&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05['Warning'],'content':this[_0x52cc5a(0x2bf)]['t'](_0x36127a[_0x52cc5a(0x263)]||'')}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x11d)]&&this[_0x52cc5a(0x18c)][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x12a)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0x108))}),_0x36127a['id']===_0x566cf6['SOCKET_FAILED']&&this[_0x52cc5a(0x18c)]['show']({'type':_0x2f8c05['Error'],'content':this['_localeService']['t'](_0x52cc5a(0xbc))}),_0x36127a['id']===_0x566cf6[_0x52cc5a(0x1a4)]&&this['_messageService'][_0x52cc5a(0x26f)]({'type':_0x2f8c05[_0x52cc5a(0x14e)],'content':this[_0x52cc5a(0x2bf)]['t'](_0x52cc5a(0xcf))});}));}};ie=Ji([B(0x0,_0x22dd84),B(0x1,_0x1189d6),B(0x2,_0xe4d2b5(_0x5d2fa7)),B(0x3,_0x36f47c),B(0x4,_0x1f91f5),B(0x5,_0xe4d2b5(_0x38c994))],ie);const Zi=_0x163b90(0xd7),tt={},Mt=_0x2a53e4(_0x163b90(0x266));var Qi=Object[_0x163b90(0x146)],qi=(_0x3f247e,_0x2feaab,_0x1c6086,_0x45c98a)=>{const _0x56c417=_0x163b90;for(var _0x323b71=_0x45c98a>0x1?void 0x0:_0x45c98a?Qi(_0x2feaab,_0x1c6086):_0x2feaab,_0x766fa8=_0x3f247e[_0x56c417(0x256)]-0x1,_0x16b5d8;_0x766fa8>=0x0;_0x766fa8--)(_0x16b5d8=_0x3f247e[_0x766fa8])&&(_0x323b71=_0x16b5d8(_0x323b71)||_0x323b71);return _0x323b71;},K=(_0x5c42ae,_0x5e9a5b)=>(_0x5cb899,_0x32bfee)=>_0x5e9a5b(_0x5cb899,_0x32bfee,_0x5c42ae);let ne=class extends _0x24bb3b{constructor(_0x40b90b,_0x5f3cba,_0x4188e2,_0x199229,_0x30f10b){const _0x576774=_0x163b90;super(),this[_0x576774(0x13a)]=_0x40b90b,this[_0x576774(0x1e3)]=_0x5f3cba,this[_0x576774(0x245)]=_0x4188e2,this[_0x576774(0x1f2)]=_0x199229,_0x30f10b?_0x30f10b==null||_0x30f10b[_0x576774(0x1bd)]()[_0x576774(0x1a9)](()=>this[_0x576774(0x25c)]()):(this['_logService'][_0x576774(0x2b2)](_0x576774(0x292),_0x576774(0xc6)),this['_init']());}async[_0x163b90(0x25c)](){const _0x41dfbb=_0x163b90,_0x349810=this['_urlService'][_0x41dfbb(0x11b)](_0x41dfbb(0x23d)),_0x4802a8=this[_0x41dfbb(0x13a)][_0x41dfbb(0x11b)]('type'),_0xeb1042=this[_0x41dfbb(0x13a)][_0x41dfbb(0x11b)](_0x41dfbb(0x27c));if(!_0x349810||!_0x4802a8){this['_logService'][_0x41dfbb(0x2b2)](_0x41dfbb(0x292),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x253791=await this['_dataLoaderService']['loadUnit'](_0x349810,Number(_0x4802a8),_0xeb1042);_0x253791&&_0x253791 instanceof _0x179de7&&this[_0x41dfbb(0x100)](_0x253791);}async[_0x163b90(0x100)](_0x551b30){const _0x2ca68f=_0x163b90;await this[_0x2ca68f(0x1dd)](_0x551b30),_0x551b30[_0x2ca68f(0x12f)][_0x2ca68f(0x13c)](_0x52c0b7(this[_0x2ca68f(0x1c1)]))[_0x2ca68f(0x201)](_0x282e0c=>{const _0x483fa1=_0x2ca68f;_0x282e0c&&this[_0x483fa1(0x2a9)](_0x282e0c);}),this[_0x2ca68f(0x13a)][_0x2ca68f(0x135)][_0x2ca68f(0x13c)](_0x52c0b7(this[_0x2ca68f(0x1c1)]))[_0x2ca68f(0x201)](()=>this[_0x2ca68f(0x1dd)](_0x551b30));}[_0x163b90(0x2a9)](_0x4cf75d,_0x275ff6=!0x1){const _0x4b7ad9=_0x163b90,_0x1362ab=this[_0x4b7ad9(0x13a)][_0x4b7ad9(0x11b)](_0x4b7ad9(0x27c));_0x4cf75d['getSheetId']()!==_0x1362ab&&this[_0x4b7ad9(0x13a)]['setParam'](_0x4b7ad9(0x27c),_0x4cf75d[_0x4b7ad9(0x139)](),_0x275ff6);}async[_0x163b90(0x1dd)](_0x3d478a){const _0x44da5f=_0x163b90;var _0x723b27;const _0x3b9b07=this[_0x44da5f(0x13a)]['getParam'](_0x44da5f(0x27c));if(!_0x3b9b07||!_0x3d478a[_0x44da5f(0x1b0)](_0x3b9b07)){const _0x542053=_0x3d478a['getUnhiddenWorksheets']()[0x0],_0x14b5dc=_0x3d478a[_0x44da5f(0x1b0)](_0x542053);if(!_0x14b5dc)return;this['_updateURLWithCurrentState'](_0x14b5dc,!0x0),await this['_commandService']['executeCommand'](_0x6b49ca['id'],{'unitId':_0x3d478a['getUnitId'](),'subUnitId':_0x542053});return;}((_0x723b27=_0x3d478a['getActiveSheet']())==null?void 0x0:_0x723b27[_0x44da5f(0x139)]())!==_0x3b9b07&&await this[_0x44da5f(0x245)][_0x44da5f(0x1f8)](_0x6b49ca['id'],{'unitId':_0x3d478a[_0x44da5f(0x275)](),'subUnitId':_0x3b9b07});}};ne=qi([K(0x0,Mt),K(0x1,_0x3bb633),K(0x2,_0xdb13dc),K(0x3,_0xe4d2b5(_0x5763a5)),K(0x4,_0x53efe8(_0x4c3728))],ne);var en=Object[_0x163b90(0x146)],tn=(_0x18c77c,_0x2f75f2,_0xc0084a,_0xfb7a2f)=>{for(var _0x534fe8=_0xfb7a2f>0x1?void 0x0:_0xfb7a2f?en(_0x2f75f2,_0xc0084a):_0x2f75f2,_0x5cff94=_0x18c77c['length']-0x1,_0x4f69bf;_0x5cff94>=0x0;_0x5cff94--)(_0x4f69bf=_0x18c77c[_0x5cff94])&&(_0x534fe8=_0x4f69bf(_0x534fe8)||_0x534fe8);return _0x534fe8;},Ce=(_0xd1ecab,_0x490e42)=>(_0x118394,_0x1dfb6b)=>_0x490e42(_0x118394,_0x1dfb6b,_0xd1ecab);let re=class{constructor(_0x4cc609,_0x20e8ab,_0x525ad7){const _0xf76386=_0x163b90;this[_0xf76386(0x1e2)]=_0x4cc609,this['_transformService']=_0x20e8ab,this[_0xf76386(0x204)]=_0x525ad7;}[_0x163b90(0x233)](_0xc8e1c5){const _0xcb6c30=_0x163b90;this[_0xcb6c30(0x281)](_0xc8e1c5),this[_0xcb6c30(0x2a4)](_0xc8e1c5);}['transformRemoteChangeset'](_0x392595){const _0x3e3fd0=_0x163b90,{unitID:_0x11b178}=_0x392595,_0x2f4cbc=this['_renderManagerService']['getRenderById'](_0x11b178)[_0x3e3fd0(0x125)](_0x2daf5d),{redoCache:_0x5b4647}=_0x2f4cbc['getUndoRedoMutationParamsCache']();if(_0x5b4647[_0x3e3fd0(0x256)]===0x0)return _0x392595;let _0x57b9ad=_0x3ee9ed[_0x3e3fd0(0x1c2)](_0x392595[_0x3e3fd0(0x269)][0x0]);for(let _0x4e1efd=0x0;_0x4e1efd<_0x5b4647[_0x3e3fd0(0x256)];_0x4e1efd++){const _0x1058aa={'id':_0x3e3fd0(0x1ec),'params':{..._0x5b4647[_0x4e1efd]}},_0x5a537b=this[_0x3e3fd0(0x12c)][_0x3e3fd0(0x1e5)](_0x57b9ad,_0x1058aa,!0x1);if(_0x5ecd23(_0x5a537b))throw _0x5a537b[_0x3e3fd0(0x1e7)];_0x57b9ad=_0x5a537b[_0x3e3fd0(0x27d)];}return{..._0x3ee9ed[_0x3e3fd0(0x1c2)](_0x392595),'mutations':[_0x57b9ad]};}[_0x163b90(0x281)](_0x10aa08){const _0x3d5c75=_0x163b90,{unitID:_0x1e80b9}=_0x10aa08,_0x7ca182=this[_0x3d5c75(0x204)][_0x3d5c75(0x27e)](_0x1e80b9)[_0x3d5c75(0x125)](_0x2daf5d),{undoCache:_0x4ce541,redoCache:_0x57afcd}=_0x7ca182[_0x3d5c75(0x10f)]();if(_0x4ce541[_0x3d5c75(0x256)]===0x0||_0x57afcd[_0x3d5c75(0x256)]===0x0)return;const _0x29909a=[],_0x43dfc8=[];let _0x1ff22b=_0x3ee9ed[_0x3d5c75(0x1c2)](_0x10aa08[_0x3d5c75(0x269)][0x0]),_0x15732a=_0x3ee9ed[_0x3d5c75(0x1c2)](_0x10aa08[_0x3d5c75(0x269)][0x0]);for(let _0x4e1d28=_0x4ce541[_0x3d5c75(0x256)]-0x1;_0x4e1d28>=0x0;_0x4e1d28--){const _0x329a49={'id':_0x3d5c75(0x1ec),'params':{..._0x4ce541[_0x4e1d28]}},_0x212b7e={'id':_0x3d5c75(0x1ec),'params':{..._0x57afcd[_0x4e1d28]}},_0x233929=this[_0x3d5c75(0x12c)][_0x3d5c75(0x1e5)](_0x1ff22b,_0x329a49,!0x1),_0x3a6f05=this['_transformService'][_0x3d5c75(0x1e5)](_0x15732a,_0x212b7e,!0x1);if(_0x5ecd23(_0x233929))throw _0x233929[_0x3d5c75(0x1e7)];if(_0x5ecd23(_0x3a6f05))throw _0x3a6f05[_0x3d5c75(0x1e7)];_0x29909a[_0x3d5c75(0x114)](_0x233929[_0x3d5c75(0x19f)][_0x3d5c75(0x214)]),_0x43dfc8[_0x3d5c75(0x114)](_0x3a6f05[_0x3d5c75(0x19f)][_0x3d5c75(0x214)]),_0x1ff22b=_0x233929['m1Prime'],_0x15732a=_0x3a6f05[_0x3d5c75(0x27d)];}_0x7ca182[_0x3d5c75(0x111)]({'undoCache':_0x29909a,'redoCache':_0x43dfc8});}[_0x163b90(0x2a4)](_0xa4277a){const _0x1a2e2f=_0x163b90,{unitID:_0x372497}=_0xa4277a,_0xa45a0a=this[_0x1a2e2f(0x204)][_0x1a2e2f(0x27e)](_0x372497)['with'](_0x2daf5d),_0x20da13=_0xa45a0a[_0x1a2e2f(0x1fc)]();if(_0x20da13==null)return;const _0x2226e5=[{'id':_0x1a2e2f(0x1ec),'params':{'unitId':_0xa4277a['unitID'],'actions':null,'textRanges':[_0x20da13]}}],_0xad64a0=this[_0x1a2e2f(0x12c)]['transformMutationsWithChangeset'](_0xa4277a,_0x2226e5);if(!_0x112ac1(_0xad64a0))throw _0xad64a0[_0x1a2e2f(0x1e7)];const _0x17e307=_0xad64a0[_0x1a2e2f(0x19f)][0x0]['params'][_0x1a2e2f(0x132)];Array['isArray'](_0x17e307)&&_0x17e307[_0x1a2e2f(0x256)]&&_0xa45a0a[_0x1a2e2f(0x2b9)](_0x17e307[0x0]);}};re=tn([Ce(0x0,_0xe4d2b5(_0x5b513d)),Ce(0x1,_0x3113cf),Ce(0x2,_0x38659a)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x18f8c8,_0x3114bf,_0x4a99b4,_0x8635f6)=>{for(var _0x555fef=_0x8635f6>0x1?void 0x0:_0x8635f6?sn(_0x3114bf,_0x4a99b4):_0x3114bf,_0x4ebc54=_0x18f8c8['length']-0x1,_0x3ad4b8;_0x4ebc54>=0x0;_0x4ebc54--)(_0x3ad4b8=_0x18f8c8[_0x4ebc54])&&(_0x555fef=_0x3ad4b8(_0x555fef)||_0x555fef);return _0x555fef;},Ee=(_0x1d8198,_0x3e5587)=>(_0x14d55d,_0x45650c)=>_0x3e5587(_0x14d55d,_0x45650c,_0x1d8198);let oe=class{constructor(_0x38ec47,_0x4cbe03,_0x384ed3){const _0x3c61ed=_0x163b90;this['_injector']=_0x38ec47,this[_0x3c61ed(0x12c)]=_0x4cbe03,this[_0x3c61ed(0x117)]=_0x384ed3;}['transformStateCache'](_0x1b9b11){const _0x3a78d0=_0x163b90;this[_0x3a78d0(0x223)](_0x1b9b11);}[_0x163b90(0x165)](_0x25213b){const _0x13a724=_0x163b90,{unitID:_0x223473}=_0x25213b,{collaboration:_0xc5f4da}=this[_0x13a724(0x117)][_0x13a724(0x1d1)](_0x223473);if(_0xc5f4da['length']===0x0)return _0x25213b;let _0x351a50=_0x3ee9ed['deepClone'](_0x25213b[_0x13a724(0x269)][0x0]);for(let _0x5f381a=0x0;_0x5f381a<_0xc5f4da['length'];_0x5f381a++){const _0x2de650={'id':_0x13a724(0x1ec),'params':{'unitId':_0xc5f4da[_0x5f381a][_0x13a724(0x22e)],..._0xc5f4da[_0x5f381a][_0x13a724(0x12b)]}},_0xc9d051=this[_0x13a724(0x12c)][_0x13a724(0x1e5)](_0x351a50,_0x2de650,!0x1);if(_0x5ecd23(_0xc9d051))throw _0xc9d051[_0x13a724(0x1e7)];_0x351a50=_0xc9d051['m1Prime'];}return{..._0x3ee9ed['deepClone'](_0x25213b),'mutations':[_0x351a50]};}[_0x163b90(0x223)](_0x39e172){const _0x33b3f0=_0x163b90,{unitID:_0x34e16c}=_0x39e172,{history:_0x5ea26b,collaboration:_0x3325cc}=this[_0x33b3f0(0x117)][_0x33b3f0(0x1d1)](_0x34e16c);if(_0x5ea26b['length']===0x0&&_0x3325cc['length']===0x0)return;const _0x4c6eef=[],_0x3dea52=[];let _0x4795e1=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]),_0x586cd9=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]);for(let _0x42157b=_0x5ea26b[_0x33b3f0(0x256)]-0x1;_0x42157b>=0x0;_0x42157b--){const _0x3d3be2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea26b[_0x42157b][_0x33b3f0(0x22e)],..._0x5ea26b[_0x42157b][_0x33b3f0(0x24c)]}},_0x5b424f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea26b[_0x42157b][_0x33b3f0(0x22e)],..._0x5ea26b[_0x42157b][_0x33b3f0(0x12b)]}},_0x19444a=this[_0x33b3f0(0x12c)][_0x33b3f0(0x1e5)](_0x4795e1,_0x3d3be2,!0x1),_0x25f710=this[_0x33b3f0(0x12c)]['transformMutation'](_0x586cd9,_0x5b424f,!0x1);if(_0x5ecd23(_0x19444a))throw _0x19444a['error'];if(_0x5ecd23(_0x25f710))throw _0x25f710['error'];_0x4c6eef[_0x33b3f0(0x114)]({..._0x5ea26b[_0x42157b],'undoState':_0x19444a['m2Prime']['params'],'redoState':_0x25f710[_0x33b3f0(0x19f)][_0x33b3f0(0x214)]}),_0x4795e1=_0x19444a[_0x33b3f0(0x27d)],_0x586cd9=_0x25f710[_0x33b3f0(0x27d)];}_0x4795e1=_0x3ee9ed[_0x33b3f0(0x1c2)](_0x39e172[_0x33b3f0(0x269)][0x0]),_0x586cd9=_0x3ee9ed['deepClone'](_0x39e172[_0x33b3f0(0x269)][0x0]);for(let _0x431c30=_0x3325cc[_0x33b3f0(0x256)]-0x1;_0x431c30>=0x0;_0x431c30--){const _0x5bbdfa={'id':_0x33b3f0(0x1ec),'params':{'unitId':_0x3325cc[_0x431c30][_0x33b3f0(0x22e)],..._0x3325cc[_0x431c30][_0x33b3f0(0x24c)]}},_0x7f8bcd={'id':_0x33b3f0(0x1ec),'params':{'unitId':_0x3325cc[_0x431c30][_0x33b3f0(0x22e)],..._0x3325cc[_0x431c30][_0x33b3f0(0x12b)]}},_0x58b9f=this['_transformService']['transformMutation'](_0x4795e1,_0x5bbdfa,!0x1),_0x407d3c=this['_transformService'][_0x33b3f0(0x1e5)](_0x586cd9,_0x7f8bcd,!0x1);if(_0x5ecd23(_0x58b9f))throw _0x58b9f[_0x33b3f0(0x1e7)];if(_0x5ecd23(_0x407d3c))throw _0x407d3c[_0x33b3f0(0x1e7)];_0x3dea52[_0x33b3f0(0x114)]({..._0x3325cc[_0x431c30],'undoState':_0x58b9f['m2Prime'][_0x33b3f0(0x214)],'redoState':_0x407d3c['m2Prime'][_0x33b3f0(0x214)]}),_0x4795e1=_0x58b9f[_0x33b3f0(0x27d)],_0x586cd9=_0x407d3c[_0x33b3f0(0x27d)];}this['_docStateChangeManagerService'][_0x33b3f0(0x2ba)](_0x34e16c,{'history':_0x4c6eef,'collaboration':_0x3dea52});}};oe=nn([Ee(0x0,_0xe4d2b5(_0x5b513d)),Ee(0x1,_0x3113cf),Ee(0x2,_0xe4d2b5(_0x29f00f))],oe);var rn=Object[_0x163b90(0x146)],on=(_0x575aa3,_0x173a77,_0x54f215,_0x4e4c21)=>{for(var _0x5e3b50=_0x4e4c21>0x1?void 0x0:_0x4e4c21?rn(_0x173a77,_0x54f215):_0x173a77,_0x5702bc=_0x575aa3['length']-0x1,_0x274635;_0x5702bc>=0x0;_0x5702bc--)(_0x274635=_0x575aa3[_0x5702bc])&&(_0x5e3b50=_0x274635(_0x5e3b50)||_0x5e3b50);return _0x5e3b50;},st=(_0x32cc60,_0x2b2a66)=>(_0x3d858c,_0x17701e)=>_0x2b2a66(_0x3d858c,_0x17701e,_0x32cc60);let ae=class{constructor(_0x520090,_0x4414eb){const _0x521f3f=_0x163b90;this[_0x521f3f(0x1e2)]=_0x520090,this[_0x521f3f(0x12c)]=_0x4414eb;}['transformSelections'](_0x23f1cd){const _0x279e5c=_0x163b90;var _0xf9034b;const _0x16e5ea=this[_0x279e5c(0x1e2)][_0x279e5c(0x20d)](_0x2f4de8),_0x49bd89=(_0xf9034b=_0x16e5ea[_0x279e5c(0x249)]())!=null?_0xf9034b:[];if(_0x49bd89['length']===0x0)return;const _0x5d680b=_0x23f1cd[_0x279e5c(0x103)],_0x23216a=[{'id':_0x279e5c(0x1ec),'params':{'unitId':_0x5d680b,'actions':null,'textRanges':_0x49bd89}}],_0x5d0093=this[_0x279e5c(0x12c)][_0x279e5c(0x14c)](_0x23f1cd,_0x23216a);if(!_0x112ac1(_0x5d0093))throw _0x5d0093[_0x279e5c(0x1e7)];const _0x26a597=_0x5d0093[_0x279e5c(0x19f)][0x0][_0x279e5c(0x214)][_0x279e5c(0x132)];Array[_0x279e5c(0x1b8)](_0x26a597)&&_0x26a597[_0x279e5c(0x256)]&&_0x16e5ea[_0x279e5c(0x163)](_0x26a597,{'unitId':_0x5d680b,'subUnitId':_0x5d680b},!0x1);}};ae=on([st(0x0,_0xe4d2b5(_0x5b513d)),st(0x1,_0x3113cf)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x15cf61,_0x52c8a9,_0x30f6b3,_0x2b05e8)=>{const _0x255950=_0x163b90;for(var _0x529e83=_0x2b05e8>0x1?void 0x0:_0x2b05e8?an(_0x52c8a9,_0x30f6b3):_0x52c8a9,_0x173ee5=_0x15cf61[_0x255950(0x256)]-0x1,_0x195461;_0x173ee5>=0x0;_0x173ee5--)(_0x195461=_0x15cf61[_0x173ee5])&&(_0x529e83=_0x195461(_0x529e83)||_0x529e83);return _0x529e83;},U=(_0x4eda7f,_0x2dc3eb)=>(_0x32a8b9,_0x59a3e5)=>_0x2dc3eb(_0x32a8b9,_0x59a3e5,_0x4eda7f);let ce=class extends _0x514786{constructor(_0x27904c,_0x1a082,_0x46b390,_0x40a188,_0x372829,_0xbb43b4,_0xaecd05,_0xd8ccb6){const _0x391127=_0x163b90;super(),_(this,_0x391127(0x131),new _0x12ab3a(_0x2a04bf[_0x391127(0x1ba)])),(this[_0x391127(0x117)]=_0x27904c,this[_0x391127(0x1c9)]=_0x1a082,this[_0x391127(0x118)]=_0x46b390,this[_0x391127(0x12e)]=_0x40a188,this[_0x391127(0xec)]=_0x372829,this[_0x391127(0x250)]=_0xbb43b4,this[_0x391127(0x18c)]=_0xaecd05,this[_0x391127(0x2bf)]=_0xd8ccb6,this['_initEntityListener']());}[_0x163b90(0x1e1)](){const _0x46050d=_0x163b90;this[_0x46050d(0x1fa)](this['_collaborationController'][_0x46050d(0x176)][_0x46050d(0x201)](_0xd0343=>{const _0x12be49=_0x46050d,_0x1c30e2=this[_0x12be49(0x117)][_0x12be49(0x29e)][_0x12be49(0x201)](_0x238ca5=>{const _0x272b38=_0x12be49;if(_0x238ca5==null)return;const {unitId:_0x218e96,redoState:_0x4dd575,commandId:_0x485e0e}=_0x238ca5;if(_0x218e96!==_0xd0343[_0x272b38(0x103)])return;const _0x5f91c0={'id':_0x485e0e,'type':_0x562dac[_0x272b38(0x219)],'params':{'unitId':_0x218e96,'actions':_0x4dd575[_0x272b38(0x283)],'textRanges':null}};_0xd0343['onLocalMutation'](_0x5f91c0);});if(_0xd0343['disposeWithMe'](_0x1c30e2),_0xd0343 instanceof _0x232f91){const _0x428858={'onTransformIME':_0x3fc422=>this[_0x12be49(0x118)][_0x12be49(0x233)](_0x3fc422),'onTransformState':_0x80c70e=>this[_0x12be49(0x12e)]['transformStateCache'](_0x80c70e),'onTransformSelections':_0x3e5d4e=>this[_0x12be49(0xec)][_0x12be49(0x21c)](_0x3e5d4e),'onSyncEditingCollabCursor':_0x46f97b=>this[_0x12be49(0x250)][_0x12be49(0x26e)](_0x46f97b),'onTransformRemoteChangesetByIMECache':_0x4bd346=>this[_0x12be49(0x118)]['transformRemoteChangeset'](_0x4bd346),'onTransformRemoteChangesetByStateCache':_0x4cd477=>this['_docTransformStateCacheService'][_0x12be49(0x165)](_0x4cd477)};_0xd0343[_0x12be49(0x121)](_0x428858);}}));}};ce=cn([U(0x0,_0xe4d2b5(_0x29f00f)),U(0x1,_0xe4d2b5(_0x53a290)),U(0x2,_0xe4d2b5(re)),U(0x3,_0xe4d2b5(oe)),U(0x4,_0xe4d2b5(ae)),U(0x5,_0xe4d2b5(Fe)),U(0x6,_0x36f47c),U(0x7,_0xe4d2b5(_0x38c994))],ce);var ln=Object[_0x163b90(0x146)],_n=(_0x4249ef,_0x6d6bc2,_0xe5e0a2,_0x4dc5b7)=>{const _0x3b0238=_0x163b90;for(var _0x3375ad=_0x4dc5b7>0x1?void 0x0:_0x4dc5b7?ln(_0x6d6bc2,_0xe5e0a2):_0x6d6bc2,_0xdecab1=_0x4249ef[_0x3b0238(0x256)]-0x1,_0x15b92d;_0xdecab1>=0x0;_0xdecab1--)(_0x15b92d=_0x4249ef[_0xdecab1])&&(_0x3375ad=_0x15b92d(_0x3375ad)||_0x3375ad);return _0x3375ad;},Oe=(_0x476344,_0x1b2118)=>(_0x4d6790,_0x1357db)=>_0x1b2118(_0x4d6790,_0x1357db,_0x476344);let Ae=class extends _0x514786{constructor(_0x4fbd0c,_0x5bb748,_0x37c907){const _0x2701bc=_0x163b90;super(),_(this,'_cachedData',new Map()),_(this,_0x2701bc(0x199),new Map()),_(this,'_disabled',!0x1),(this[_0x2701bc(0x17e)]=_0x4fbd0c,this[_0x2701bc(0x258)]=_0x5bb748,this['_revisionService']=_0x37c907);}[_0x163b90(0x123)](){this['_disabled']=!0x0;}[_0x163b90(0x23b)](){this['_disabled']=!0x1;}get[_0x163b90(0x26c)](){return this['_saveTaskMap'];}[_0x163b90(0x2bc)](){const _0x2afffd=_0x163b90;this[_0x2afffd(0x18e)]()['then'](()=>super[_0x2afffd(0x2bc)]());}async[_0x163b90(0x14b)](_0x3cff75){const _0x47f88b=_0x163b90;return this[_0x47f88b(0x1af)]?null:this[_0x47f88b(0x258)][_0x47f88b(0x179)](_0x4cf464(_0x3cff75));}async[_0x163b90(0x187)](_0x44d0be,_0x4c5d6b){const _0x5dbba4=_0x163b90;return!!this['_localStorageService'][_0x5dbba4(0x1d6)](_0x44d0be,_0x4c5d6b);}[_0x163b90(0xc7)](_0x2c0da5,_0x31bae7,_0x402422,_0xf1a4c2){const _0x2c0f94=_0x163b90,_0x7de19=this[_0x2c0f94(0xcd)][_0x2c0f94(0xf5)](_0x2c0da5);this[_0x2c0f94(0x120)]['set'](_0x2c0da5,{'unitID':_0x2c0da5,'type':_0x31bae7,'awaitingChangeset':_0x402422,'mutations':_0xf1a4c2,'rev':_0x7de19}),this[_0x2c0f94(0x199)][_0x2c0f94(0x2bb)](_0x2c0da5)||this[_0x2c0f94(0x19e)](_0x2c0da5);}['_scheduleSaving'](_0x5a0629){const _0x110745=_0x163b90,_0x14eff7=this[_0x110745(0x15b)]();_0x14eff7===0x0?this[_0x110745(0x186)](_0x5a0629):this[_0x110745(0x199)]['set'](_0x5a0629,setTimeout(()=>this[_0x110745(0x186)](_0x5a0629),_0x14eff7));}[_0x163b90(0x15b)](){const _0x3ed449=_0x163b90;var _0x559d79;return(_0x559d79=this[_0x3ed449(0x17e)][_0x3ed449(0x247)](_0x316d49))!=null?_0x559d79:_0x3b78ca;}[_0x163b90(0x186)](_0x32e4b9){const _0x3fc946=_0x163b90,_0x2eda9f=this[_0x3fc946(0x199)][_0x3fc946(0x20d)](_0x32e4b9);return _0x2eda9f!==void 0x0&&window['clearTimeout'](_0x2eda9f),this[_0x3fc946(0x258)]['setItem'](_0x4cf464(_0x32e4b9),this[_0x3fc946(0x120)][_0x3fc946(0x20d)](_0x32e4b9))['then'](()=>this[_0x3fc946(0x199)][_0x3fc946(0x289)](_0x32e4b9));}async[_0x163b90(0x18e)](){const _0x1b3b06=_0x163b90,_0x5c1a03=[];this[_0x1b3b06(0x199)]['forEach']((_0x13a5ea,_0x399804)=>{const _0x5116ad=_0x1b3b06;window['clearTimeout'](_0x13a5ea),_0x5c1a03['push'](this[_0x5116ad(0x186)](_0x399804)[_0x5116ad(0x1a9)](()=>{const _0x431ae2=_0x5116ad;this[_0x431ae2(0x199)]['delete'](_0x399804);}));}),await Promise[_0x1b3b06(0x1b9)](_0x5c1a03);}};Ae=_n([Oe(0x0,_0x3e99f6),Oe(0x1,_0x132c1a),Oe(0x2,_0xe4d2b5(_0x1aa674))],Ae);class hn extends _0x24bb3b{constructor(){const _0x40e63f=_0x163b90;super(),_(this,_0x40e63f(0x135)),this[_0x40e63f(0x135)]=_0x16ca35(window,_0x40e63f(0x1f6))['pipe'](_0x52c0b7(this['dispose$']),_0x3397f6(0x1),_0x5062a5(void 0x0));}[_0x163b90(0x2c1)](_0x5765ab,_0x3a835b,_0x420e50=!0x1){const _0xa53ef9=_0x163b90,_0x3bc7ff=new URL(window['location']['href']);_0x3bc7ff['searchParams'][_0xa53ef9(0x244)](_0x5765ab,_0x3a835b),_0x420e50?window[_0xa53ef9(0xf1)][_0xa53ef9(0x1fb)]('','',_0x3bc7ff[_0xa53ef9(0x255)]()):window[_0xa53ef9(0xf1)][_0xa53ef9(0x1df)]('','',_0x3bc7ff[_0xa53ef9(0x255)]());}[_0x163b90(0x16e)](_0x3053ca,_0x58d4a3=!0x1){const _0x48cf92=_0x163b90,_0x4d8a44=new URL(window['location'][_0x48cf92(0x18a)]);_0x4d8a44[_0x48cf92(0x2a2)][_0x48cf92(0x289)](_0x3053ca),_0x58d4a3?window[_0x48cf92(0xf1)]['replaceState']('','',_0x4d8a44['toString']()):window[_0x48cf92(0xf1)][_0x48cf92(0x1df)]('','',_0x4d8a44['toString']());}[_0x163b90(0x11b)](_0x577506){const _0x33b59=_0x163b90;var _0x102662;return(_0x102662=new URL(window['location']['href'])['searchParams'][_0x33b59(0x20d)](_0x577506))!=null?_0x102662:void 0x0;}}var un=Object[_0x163b90(0x24d)],dn=Object[_0x163b90(0x146)],fn=(_0xe8568,_0x170eb4,_0x2d0a79)=>_0x170eb4 in _0xe8568?un(_0xe8568,_0x170eb4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0a79}):_0xe8568[_0x170eb4]=_0x2d0a79,Sn=(_0x50cded,_0x551617,_0x22819a,_0x2f248a)=>{for(var _0x3a9080=_0x2f248a>0x1?void 0x0:_0x2f248a?dn(_0x551617,_0x22819a):_0x551617,_0x2bf166=_0x50cded['length']-0x1,_0x2c8680;_0x2bf166>=0x0;_0x2bf166--)(_0x2c8680=_0x50cded[_0x2bf166])&&(_0x3a9080=_0x2c8680(_0x3a9080)||_0x3a9080);return _0x3a9080;},be=(_0x3d57e6,_0x4e6c96)=>(_0x3245c9,_0x1cbb89)=>_0x4e6c96(_0x3245c9,_0x1cbb89,_0x3d57e6),mn=(_0x38021f,_0x9bf784,_0x466259)=>fn(_0x38021f,_0x9bf784+'',_0x466259);const In=_0x163b90(0x2a0);let ye=class extends _0xb005cc{constructor(_0x41ff0b=tt,_0x406827,_0x49d6d0,_0xf2f56a){const _0x22897a=_0x163b90;super(),this['_config']=_0x41ff0b,this['_renderManagerService']=_0x406827,this[_0x22897a(0x1e2)]=_0x49d6d0,this[_0x22897a(0x17e)]=_0xf2f56a;const {..._0xdd99f2}=_0x29ca65({},tt,this['_config']);this[_0x22897a(0x17e)][_0x22897a(0x17b)](Zi,_0xdd99f2);}['onStarting'](){const _0xd4b6ef=_0x163b90;this[_0xd4b6ef(0x261)](),this[_0xd4b6ef(0x17c)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x163b90(0x261)](){const _0x270a00=_0x163b90;var _0x4c15c9;const _0x4bf7e4=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x153317,{'useClass':_0x414310}],[_0x1189d6,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x28911d(this[_0x270a00(0x1e2)],_0x2b2316(_0x4bf7e4,(_0x4c15c9=this[_0x270a00(0x29b)])==null?void 0x0:_0x4c15c9[_0x270a00(0x2ad)]));}[_0x163b90(0xcc)](){const _0x504e28=_0x163b90;this[_0x504e28(0x1fa)](this[_0x504e28(0x204)][_0x504e28(0x17a)](_0x36b1a7[_0x504e28(0x21b)],[Pe])),this[_0x504e28(0x1fa)](this[_0x504e28(0x204)][_0x504e28(0x17a)](_0x36b1a7[_0x504e28(0x287)],[we]));}[_0x163b90(0x17c)](){const _0x2802bb=_0x163b90;_0xfd41f3(this[_0x2802bb(0x1e2)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,_0x163b90(0x124),In),ye=Sn([_0x471963(_0x583ada),be(0x1,_0x38659a),be(0x2,_0xe4d2b5(_0x5b513d)),be(0x3,_0x3e99f6)],ye);function _0x30ea(_0x12b658,_0xd1ec68){const _0x3a7fd3=_0x3a7f();return _0x30ea=function(_0x30ea5f,_0x53006){_0x30ea5f=_0x30ea5f-0xb9;let _0x390993=_0x3a7fd3[_0x30ea5f];return _0x390993;},_0x30ea(_0x12b658,_0xd1ec68);}var vn=Object[_0x163b90(0x146)],gn=(_0x3576e4,_0x2f5572,_0x240745,_0xf25b68)=>{for(var _0x40ca73=_0xf25b68>0x1?void 0x0:_0xf25b68?vn(_0x2f5572,_0x240745):_0x2f5572,_0x361f7f=_0x3576e4['length']-0x1,_0x45b85a;_0x361f7f>=0x0;_0x361f7f--)(_0x45b85a=_0x3576e4[_0x361f7f])&&(_0x40ca73=_0x45b85a(_0x40ca73)||_0x40ca73);return _0x40ca73;},z=(_0xe706f4,_0x5f45ea)=>(_0xcf5ffb,_0x748a53)=>_0x5f45ea(_0xcf5ffb,_0x748a53,_0xe706f4);let it=class extends _0xa4e37e{constructor(_0x42570b,_0xfea02b,_0xb9be7d,_0x3bb50d,_0x439258){super(_0x42570b,_0xfea02b,_0xb9be7d,_0x3bb50d,_0x439258);}async[_0x163b90(0x177)](_0x886942){const _0x3ce4ac=_0x163b90,_0x548edf=await this['_getSessionTicket'](),_0x2f0a75=this[_0x3ce4ac(0x157)](_0x886942,_0x548edf);return this[_0x3ce4ac(0x296)](_0x2f0a75);}[_0x163b90(0x157)](_0x513a19,_0x59b50a){const _0xa748af=_0x163b90,_0x3feb09=typeof window>'u'?new URL(_0x513a19):new URL(_0x513a19,window['location'][_0xa748af(0x252)]);_0x3feb09[_0xa748af(0x2a2)][_0xa748af(0x244)](_0xa748af(0x1f9),_0x59b50a);const _0x1b0862=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa748af(0x230)][_0xa748af(0x18d)]);return _0x1b0862[_0xa748af(0x20d)]('runId')&&_0x3feb09[_0xa748af(0x2a2)][_0xa748af(0x244)](_0xa748af(0xbf),_0x1b0862[_0xa748af(0x20d)](_0xa748af(0xbf))),_0x3feb09['toString']();}async[_0x163b90(0x1d8)](){const _0x4d7407=_0x163b90;var _0x962d7e,_0xad6b49,_0x102872;const _0x45d736=this[_0x4d7407(0x17e)][_0x4d7407(0x247)](_0x119690),_0x3266e7=(_0x962d7e=_0x45d736==null?void 0x0:_0x45d736[_0x4d7407(0xdd)])!=null?_0x962d7e:_0x3ea74b;return(_0x102872=(_0xad6b49=(await this[_0x4d7407(0x299)][_0x4d7407(0x20d)](_0x3266e7,{'headers':{'Content-Type':_0x4d7407(0x11c)}}))[_0x4d7407(0x24e)])==null?void 0x0:_0xad6b49[_0x4d7407(0x104)])!=null?_0x102872:'';}};it=gn([z(0x0,_0xe4d2b5(_0x5b513d)),z(0x1,_0xe4d2b5(_0x48ded4)),z(0x2,_0x3e99f6),z(0x3,_0x3bb633),z(0x4,_0x5b1164)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x514786{constructor(){const _0x33d9ed=_0x163b90;super(),_(this,_0x33d9ed(0x156),_0x5e883b()),_(this,_0x33d9ed(0x2b8),new Set()),_(this,_0x33d9ed(0x1b6),new Map()),_(this,_0x33d9ed(0x243),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x33d9ed(0x162),new Map()),this[_0x33d9ed(0x25c)]();}[_0x163b90(0x2bc)](){const _0x480bc7=_0x163b90;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x29b43a,_0x4486c4)=>this['_removeClearOtherTimer'](_0x4486c4)),this[_0x480bc7(0x243)]&&window['clearInterval'](this[_0x480bc7(0x243)]);}['getUnitStatus$'](_0x5cb359){const _0x3448e4=_0x163b90;return this[_0x3448e4(0x282)](_0x5cb359)[_0x3448e4(0x13c)](_0x5aede7());}['editingUnit'](_0xe507f2){const _0x2718a7=_0x163b90;this[_0x2718a7(0x2b8)][_0x2718a7(0x15d)]===0x0&&this[_0x2718a7(0x213)](),this['_selfUnitIDs'][_0x2718a7(0x270)](_0xe507f2),this[_0x2718a7(0xf2)]({'type':0x0,'memberID':this[_0x2718a7(0x156)],'unitIDs':[_0xe507f2],'isForwarded':!0x1});}['disposeUnit'](_0x116b01){const _0x54f3d2=_0x163b90;this[_0x54f3d2(0x2b8)][_0x54f3d2(0x289)](_0x116b01),this[_0x54f3d2(0x2b8)]['size']===0x0&&this[_0x54f3d2(0x243)]&&window[_0x54f3d2(0x181)](this[_0x54f3d2(0x243)]);}[_0x163b90(0x25c)](){const _0xda409e=_0x163b90;this['disposeWithMe'](_0x3eabb5(_0x16ca35(window,'storage')[_0xda409e(0x201)](_0x4037c1=>{const _0x4a9504=_0xda409e;if(_0x4037c1['key']!==rt||!_0x4037c1[_0x4a9504(0x280)])return;const _0x59eca9=JSON['parse'](_0x4037c1[_0x4a9504(0x280)]);this[_0x4a9504(0x2a7)](_0x59eca9);}))),window[_0xda409e(0x28a)](_0xda409e(0xed),()=>this[_0xda409e(0xf2)]({'type':0x1,'memberID':this[_0xda409e(0x156)],'unitIDs':Array['from'](this[_0xda409e(0x2b8)])}));}[_0x163b90(0x2a7)](_0x1e11ea){const _0x3b97fe=_0x163b90;switch(_0x1e11ea[_0x3b97fe(0x290)]){case 0x0:this[_0x3b97fe(0x1f0)](_0x1e11ea);break;case 0x1:this['_handleLeaveEvent'](_0x1e11ea);break;case 0x2:this['_handleHeartbeatEvent'](_0x1e11ea);break;}}[_0x163b90(0x1f0)](_0x41fbef){const _0x122247=_0x163b90,{unitIDs:_0x29c338,memberID:_0x579914,isForwarded:_0x40619d}=_0x41fbef;_0x29c338[_0x122247(0x2c4)](_0x46e42d=>{const _0x21d582=_0x122247;if(!_0x40619d&&this[_0x21d582(0x1b6)][_0x21d582(0x2bb)](_0x46e42d)&&this[_0x21d582(0x282)](_0x46e42d)[_0x21d582(0x166)](_0x409584['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x21d582(0x2bb)](_0x46e42d)||!this[_0x21d582(0x1b6)]['get'](_0x46e42d)[_0x21d582(0x2bb)](_0x579914)){const _0x2f1144=this[_0x21d582(0x1b6)]['get'](_0x46e42d)||new Set();_0x2f1144['add'](_0x579914),this[_0x21d582(0x1b6)][_0x21d582(0x244)](_0x46e42d,_0x2f1144),this[_0x21d582(0x23c)](_0x579914);}}),_0x40619d||this[_0x122247(0xf2)]({'type':0x0,'memberID':this[_0x122247(0x156)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x163b90(0x23c)](_0x503540){const _0x59230d=_0x163b90;this[_0x59230d(0x241)](_0x503540);const _0xb6ceb0=window[_0x59230d(0x1e8)](()=>{const _0x4edef1=_0x59230d;this[_0x4edef1(0x1b6)][_0x4edef1(0x2c4)](_0x4937cc=>{_0x4937cc['delete'](_0x503540);});},nt*0x2);this['_clearOtherTimers'][_0x59230d(0x244)](_0x503540,_0xb6ceb0);}['_removeClearOtherTimer'](_0x5ca4c6){const _0x27b7e6=_0x163b90;if(this[_0x27b7e6(0x11a)][_0x27b7e6(0x2bb)](_0x5ca4c6)){const _0x1a35a5=this[_0x27b7e6(0x11a)][_0x27b7e6(0x20d)](_0x5ca4c6);_0x1a35a5&&window[_0x27b7e6(0x19a)](_0x1a35a5),this['_clearOtherTimers'][_0x27b7e6(0x244)](_0x5ca4c6,null);}}[_0x163b90(0x1ff)](_0x49ec76){const _0x1578ba=_0x163b90,{memberID:_0xd3508c,unitIDs:_0x3af644}=_0x49ec76;_0x3af644['forEach'](_0x4249f5=>{const _0x15774d=_0x30ea;var _0x528b57;const _0x525b9b=this[_0x15774d(0x1b6)]['get'](_0x4249f5);_0x525b9b&&(_0x525b9b[_0x15774d(0x289)](_0xd3508c),(_0x528b57=this[_0x15774d(0x282)](_0x4249f5))==null||_0x528b57[_0x15774d(0x166)](_0x525b9b['size']===0x0?_0x409584[_0x15774d(0x16c)]:_0x409584[_0x15774d(0xc3)]));}),this[_0x1578ba(0x241)](_0xd3508c);}[_0x163b90(0x236)](_0x2c3c28){const _0x392250=_0x163b90;this[_0x392250(0x23c)](_0x2c3c28[_0x392250(0x1aa)]);}[_0x163b90(0xf2)](_0x3b7a9d){const _0x3c741b=_0x163b90;localStorage[_0x3c741b(0x1d6)](rt,JSON[_0x3c741b(0x141)](_0x3b7a9d));}[_0x163b90(0x213)](){const _0x15636f=_0x163b90;this[_0x15636f(0x243)]=window[_0x15636f(0x218)](()=>{const _0x259ecb=_0x15636f;this['_send']({'type':0x2,'memberID':this[_0x259ecb(0x156)]});},nt);}[_0x163b90(0x282)](_0x3639bf){const _0x43c8ec=_0x163b90;return this[_0x43c8ec(0x162)][_0x43c8ec(0x2bb)](_0x3639bf)||this['_unitStatus'][_0x43c8ec(0x244)](_0x3639bf,new _0x12ab3a(_0x409584[_0x43c8ec(0x16c)])),this[_0x43c8ec(0x162)][_0x43c8ec(0x20d)](_0x3639bf);}}var Lt=(_0x474d36=>(_0x474d36[_0x474d36[_0x163b90(0x109)]=0x0]=_0x163b90(0x109),_0x474d36[_0x474d36['OK']=0x1]='OK',_0x474d36[_0x474d36[_0x163b90(0x2a8)]=0x2]=_0x163b90(0x2a8),_0x474d36[_0x474d36[_0x163b90(0x178)]=0x3]=_0x163b90(0x178),_0x474d36[_0x474d36[_0x163b90(0x1e9)]=0x4]=_0x163b90(0x1e9),_0x474d36[_0x474d36['UNAUTHENTICATED']=0x5]=_0x163b90(0x2b7),_0x474d36[_0x474d36[_0x163b90(0x254)]=0x6]='ALREADY_EXISTS',_0x474d36[_0x474d36[_0x163b90(0x28b)]=0x7]=_0x163b90(0x28b),_0x474d36[_0x474d36[_0x163b90(0x138)]=0x8]=_0x163b90(0x138),_0x474d36[_0x474d36[_0x163b90(0x190)]=0x9]=_0x163b90(0x190),_0x474d36[_0x474d36['LOGIN_FAILED']=0xa]=_0x163b90(0x1b1),_0x474d36[_0x474d36['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x163b90(0x211),_0x474d36[_0x474d36[_0x163b90(0xba)]=0xc]=_0x163b90(0xba),_0x474d36[_0x474d36[_0x163b90(0x14d)]=0xd]=_0x163b90(0x14d),_0x474d36[_0x474d36[_0x163b90(0x16b)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x474d36[_0x474d36[_0x163b90(0x221)]=0x1389]=_0x163b90(0x221),_0x474d36[_0x474d36[_0x163b90(0x21d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x474d36[_0x474d36['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x163b90(0x24a),_0x474d36[_0x474d36[_0x163b90(0xbe)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x474d36[_0x474d36[_0x163b90(0x1f7)]=0x1b59]=_0x163b90(0x1f7),_0x474d36[_0x474d36['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x163b90(0x286),_0x474d36[_0x474d36[_0x163b90(0x171)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x474d36[_0x474d36[_0x163b90(0x170)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x474d36[_0x474d36[_0x163b90(0x297)]=0x1b5d]='APPLY_DUPLICATED',_0x474d36[_0x474d36[_0x163b90(0x262)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x474d36[_0x474d36[_0x163b90(0x277)]=0x2329]=_0x163b90(0x277),_0x474d36[_0x474d36[_0x163b90(0x239)]=0x232a]=_0x163b90(0x239),_0x474d36[_0x474d36[_0x163b90(0x264)]=0x232b]=_0x163b90(0x264),_0x474d36[_0x474d36[_0x163b90(0x27f)]=0x232c]=_0x163b90(0x27f),_0x474d36[_0x474d36[_0x163b90(0x291)]=0x232d]=_0x163b90(0x291),_0x474d36[_0x474d36[_0x163b90(0x2c2)]=0x2711]=_0x163b90(0x2c2),_0x474d36[_0x474d36[_0x163b90(0x25b)]=0x2712]=_0x163b90(0x25b),_0x474d36[_0x474d36['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x163b90(0x115),_0x474d36[_0x474d36[_0x163b90(0x246)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x474d36[_0x474d36[_0x163b90(0x27a)]=0x271a]=_0x163b90(0x27a),_0x474d36[_0x474d36[_0x163b90(0x225)]=0x271b]=_0x163b90(0x225),_0x474d36[_0x474d36['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x474d36[_0x474d36[_0x163b90(0x1bb)]=0x271d]=_0x163b90(0x1bb),_0x474d36[_0x474d36['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x163b90(0x148),_0x474d36[_0x474d36[_0x163b90(0x10b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x474d36[_0x474d36['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x163b90(0x200),_0x474d36[_0x474d36[_0x163b90(0x191)]=0x2af9]=_0x163b90(0x191),_0x474d36[_0x474d36[_0x163b90(0xe0)]=0x2ee1]=_0x163b90(0xe0),_0x474d36[_0x474d36[_0x163b90(0x1e4)]=0x2ee2]=_0x163b90(0x1e4),_0x474d36[_0x474d36[_0x163b90(0x140)]=0x2ee3]=_0x163b90(0x140),_0x474d36[_0x474d36[_0x163b90(0x1f3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x474d36[_0x474d36[_0x163b90(0x16d)]=0x2ee5]=_0x163b90(0x16d),_0x474d36[_0x474d36[_0x163b90(0x25a)]=0x32c9]=_0x163b90(0x25a),_0x474d36[_0x474d36[_0x163b90(0x20f)]=0x32ca]=_0x163b90(0x20f),_0x474d36[_0x474d36['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x163b90(0x24f),_0x474d36[_0x474d36['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x474d36))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x277f2a,_0x25e8bc,_0x1afca6,_0xf65b3f)=>{const _0x1c0a3c=_0x163b90;for(var _0xab0035=_0xf65b3f>0x1?void 0x0:_0xf65b3f?pn(_0x25e8bc,_0x1afca6):_0x25e8bc,_0x2f08fc=_0x277f2a[_0x1c0a3c(0x256)]-0x1,_0x51fef7;_0x2f08fc>=0x0;_0x2f08fc--)(_0x51fef7=_0x277f2a[_0x2f08fc])&&(_0xab0035=_0x51fef7(_0xab0035)||_0xab0035);return _0xab0035;},Te=(_0x277f7b,_0x50385d)=>(_0x139f5d,_0x5abc03)=>_0x50385d(_0x139f5d,_0x5abc03,_0x277f7b);let ot=class extends _0x514786{constructor(_0x5b2af3,_0x5b88d4,_0x24dd16){const _0x4e56b1=_0x163b90;super(),this['_instanceService']=_0x5b2af3,this['_httpService']=_0x5b88d4,this[_0x4e56b1(0x17e)]=_0x24dd16;}async[_0x163b90(0x112)](_0x2156fa,_0xf48e99,_0x86f4dc,..._0x5f0a49){const _0x43aa5d=_0x163b90;var _0x498df1,_0x555498,_0x461654,_0x5db8ea;const _0x13b1fb=this[_0x43aa5d(0x1cd)][_0x43aa5d(0x20c)]();if(!_0x13b1fb)throw new Error(_0x43aa5d(0xe7));const _0x9e07db=((_0x498df1=this[_0x43aa5d(0x17e)]['getConfig'](_0x1c2f69))!=null?_0x498df1:_0x51c021)+'/'+_0x2156fa+_0x43aa5d(0x28c)+_0xf48e99,_0x3994a9=new URL(window[_0x43aa5d(0x230)][_0x43aa5d(0x18a)]),_0x48b744={'scriptId':_0x2156fa,'runId':(_0x555498=_0x3994a9[_0x43aa5d(0x2a2)][_0x43aa5d(0x20d)](_0x43aa5d(0xbf)))!=null?_0x555498:'','function':_0xf48e99,'unitId':_0x13b1fb['getUnitId'](),'argsOfFunction':JSON[_0x43aa5d(0x141)](_0x5f0a49),'invokeId':(_0x461654=_0x86f4dc[_0x43aa5d(0xc4)])!=null?_0x461654:'','executionId':(_0x5db8ea=_0x86f4dc[_0x43aa5d(0x205)])!=null?_0x5db8ea:''};try{const _0x65e36=await this[_0x43aa5d(0x299)][_0x43aa5d(0x11f)](_0x9e07db,{'body':_0x48b744});return _0x65e36['body']['error']&&_0x65e36[_0x43aa5d(0x24e)][_0x43aa5d(0x1e7)][_0x43aa5d(0x216)]!==Lt['OK']?_0x43aa5d(0x101):_0x65e36['body']['result'];}catch{return _0x43aa5d(0x101);}}};ot=Cn([Te(0x0,_0x8cba3f),Te(0x1,_0xe4d2b5(_0x48ded4)),Te(0x2,_0x3e99f6)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x526a(_0x594c2d,_0x17e62a){const _0x7ea34e=_0x7ea3();return _0x526a=function(_0x526a0b,_0x26af35){_0x526a0b=_0x526a0b-0xcb;let _0x2907f0=_0x7ea34e[_0x526a0b];return _0x2907f0;},_0x526a(_0x594c2d,_0x17e62a);}const _0x31e357=_0x526a;function _0x7ea3(){const _0x3fbd49=['28vufRlx','6URysSO','767582IrseGe','7940142bLWHYX','1147995KsDbbW','Collaboration\x20Conflict','4onQuJh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','26267483qXTyyG','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2025090EHQgIj','Syncing...','643096QaucLQ','Synced','10cntGdn','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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2458272EnQfLG','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Syncing\x20server\x20data...'];_0x7ea3=function(){return _0x3fbd49;};return _0x7ea3();}(function(_0x18c255,_0x287eaa){const _0x1d4ab6=_0x526a,_0x25c870=_0x18c255();while(!![]){try{const _0x27570b=parseInt(_0x1d4ab6(0xcd))/0x1+-parseInt(_0x1d4ab6(0xdd))/0x2*(parseInt(_0x1d4ab6(0xdc))/0x3)+parseInt(_0x1d4ab6(0xe1))/0x4*(parseInt(_0x1d4ab6(0xdf))/0x5)+parseInt(_0x1d4ab6(0xcb))/0x6+parseInt(_0x1d4ab6(0xdb))/0x7*(-parseInt(_0x1d4ab6(0xd6))/0x8)+-parseInt(_0x1d4ab6(0xde))/0x9+parseInt(_0x1d4ab6(0xcf))/0xa*(parseInt(_0x1d4ab6(0xe4))/0xb);if(_0x27570b===_0x287eaa)break;else _0x25c870['push'](_0x25c870['shift']());}catch(_0x156869){_0x25c870['push'](_0x25c870['shift']());}}}(_0x7ea3,0xaf967));const e={'collab-client':{'tooltip':{'reconnect':_0x31e357(0xd7)}},'collabStatus':{'fetchMiss':_0x31e357(0xda),'conflict':_0x31e357(0xd9),'notCollab':_0x31e357(0xd3),'synced':_0x31e357(0xce),'syncing':_0x31e357(0xcc),'offline':_0x31e357(0xd2)},'session':{'connection-failed':_0x31e357(0xe3),'will-retry':_0x31e357(0xd1),'room-full':_0x31e357(0xe5),'collaboration-timeout':_0x31e357(0xd8)},'conflict':{'title':_0x31e357(0xe0),'content':_0x31e357(0xd0)},'permission':{'title':'Authentication\x20Error','content':_0x31e357(0xd5)},'collaboration':{'single-unit':{'warning':_0x31e357(0xe2)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x31e357(0xd4)}},o=e;export{o as default};
1
+ const _0x253693=_0x4978;function _0x4978(_0x5f4cd2,_0x14f05d){const _0x3d2269=_0x3d22();return _0x4978=function(_0x49784b,_0x3de94f){_0x49784b=_0x49784b-0xc4;let _0x4b9877=_0x3d2269[_0x49784b];return _0x4b9877;},_0x4978(_0x5f4cd2,_0x14f05d);}(function(_0x31b846,_0x1d1805){const _0x2c2635=_0x4978,_0x27ef1c=_0x31b846();while(!![]){try{const _0xb8a1ab=-parseInt(_0x2c2635(0xcb))/0x1*(parseInt(_0x2c2635(0xd4))/0x2)+-parseInt(_0x2c2635(0xcf))/0x3+-parseInt(_0x2c2635(0xd3))/0x4+-parseInt(_0x2c2635(0xd0))/0x5*(parseInt(_0x2c2635(0xd9))/0x6)+-parseInt(_0x2c2635(0xd8))/0x7+-parseInt(_0x2c2635(0xd2))/0x8*(-parseInt(_0x2c2635(0xd7))/0x9)+parseInt(_0x2c2635(0xc8))/0xa;if(_0xb8a1ab===_0x1d1805)break;else _0x27ef1c['push'](_0x27ef1c['shift']());}catch(_0x4f04da){_0x27ef1c['push'](_0x27ef1c['shift']());}}}(_0x3d22,0x37d12));function _0x3d22(){const _0xd919b0=['Collaboration\x20Conflict','Synced','10717990EIBhVK','Authentication\x20Error','Click\x20to\x20Reconnect','2kcfbgR','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','483177UkPXzA','5xcwFZe','Local\x20file','32lcnKbx','1230192OGljRJ','372758nezWpL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','317943SAccyl','862526fcaEvt','119388zsSJcZ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x3d22=function(){return _0xd919b0;};return _0x3d22();}const e={'collab-client':{'tooltip':{'reconnect':_0x253693(0xca)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x253693(0xcc),'notCollab':_0x253693(0xd1),'synced':_0x253693(0xc7),'syncing':_0x253693(0xc4),'offline':_0x253693(0xc5)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x253693(0xda),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x253693(0xce)},'conflict':{'title':_0x253693(0xc6),'content':_0x253693(0xd6)},'permission':{'title':_0x253693(0xc9),'content':_0x253693(0xcd)},'collaboration':{'single-unit':{'warning':_0x253693(0xd5)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- function _0x5e12(){const _0x3a04b1=['32787nfkvhn','446230mezuYO','2LQmmvc','32492gStzdr','393108sxjOYl','12DwnCwa','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Connection\x20failed,\x20please\x20check\x20your\x20network.','51923RqgTqL','25HiFpGH','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7nRUGvz','1090606ViwVfu','176607XeDAHJ','Syncing...','136kYbRDg','Synced','Click\x20to\x20Reconnect'];_0x5e12=function(){return _0x3a04b1;};return _0x5e12();}const _0x41c133=_0x4c14;function _0x4c14(_0x406292,_0xc789c8){const _0x5e123d=_0x5e12();return _0x4c14=function(_0x4c145b,_0x76fd2e){_0x4c145b=_0x4c145b-0x1d6;let _0x24b61d=_0x5e123d[_0x4c145b];return _0x24b61d;},_0x4c14(_0x406292,_0xc789c8);}(function(_0x294e6c,_0x2f05a5){const _0x4d5f6e=_0x4c14,_0x2683c1=_0x294e6c();while(!![]){try{const _0x379ecc=-parseInt(_0x4d5f6e(0x1ea))/0x1*(parseInt(_0x4d5f6e(0x1e4))/0x2)+-parseInt(_0x4d5f6e(0x1dd))/0x3+-parseInt(_0x4d5f6e(0x1e5))/0x4*(-parseInt(_0x4d5f6e(0x1eb))/0x5)+-parseInt(_0x4d5f6e(0x1e6))/0x6*(-parseInt(_0x4d5f6e(0x1db))/0x7)+-parseInt(_0x4d5f6e(0x1df))/0x8*(-parseInt(_0x4d5f6e(0x1e2))/0x9)+-parseInt(_0x4d5f6e(0x1e3))/0xa+parseInt(_0x4d5f6e(0x1dc))/0xb*(parseInt(_0x4d5f6e(0x1e7))/0xc);if(_0x379ecc===_0x2f05a5)break;else _0x2683c1['push'](_0x2683c1['shift']());}catch(_0x4e3a2b){_0x2683c1['push'](_0x2683c1['shift']());}}}(_0x5e12,0x1b4b3));const e={'collab-client':{'tooltip':{'reconnect':_0x41c133(0x1e1)}},'collabStatus':{'fetchMiss':_0x41c133(0x1d6),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x41c133(0x1e0),'syncing':_0x41c133(0x1de),'offline':_0x41c133(0x1d8)},'session':{'connection-failed':_0x41c133(0x1e9),'will-retry':_0x41c133(0x1e8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x41c133(0x1ec)},'conflict':{'title':_0x41c133(0x1d7),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x41c133(0x1d9)},'collaboration':{'single-unit':{'warning':_0x41c133(0x1da)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ function _0x2055(_0x54f5f1,_0x251392){const _0xcfbfc0=_0xcfbf();return _0x2055=function(_0x2055f3,_0x410441){_0x2055f3=_0x2055f3-0x1c5;let _0x47e9f3=_0xcfbfc0[_0x2055f3];return _0x47e9f3;},_0x2055(_0x54f5f1,_0x251392);}const _0x5669c9=_0x2055;(function(_0x13ee9a,_0x4a6ce5){const _0x41ca8c=_0x2055,_0x56eb8e=_0x13ee9a();while(!![]){try{const _0x1f2e08=parseInt(_0x41ca8c(0x1d1))/0x1*(-parseInt(_0x41ca8c(0x1c7))/0x2)+-parseInt(_0x41ca8c(0x1c8))/0x3+parseInt(_0x41ca8c(0x1c9))/0x4*(parseInt(_0x41ca8c(0x1cb))/0x5)+parseInt(_0x41ca8c(0x1d7))/0x6*(-parseInt(_0x41ca8c(0x1d3))/0x7)+-parseInt(_0x41ca8c(0x1c5))/0x8+-parseInt(_0x41ca8c(0x1da))/0x9*(parseInt(_0x41ca8c(0x1c6))/0xa)+parseInt(_0x41ca8c(0x1d6))/0xb*(parseInt(_0x41ca8c(0x1cd))/0xc);if(_0x1f2e08===_0x4a6ce5)break;else _0x56eb8e['push'](_0x56eb8e['shift']());}catch(_0x52b88d){_0x56eb8e['push'](_0x56eb8e['shift']());}}}(_0xcfbf,0x2dac6));const e={'collab-client':{'tooltip':{'reconnect':_0x5669c9(0x1ce)}},'collabStatus':{'fetchMiss':_0x5669c9(0x1d8),'conflict':_0x5669c9(0x1d9),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x5669c9(0x1d4),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x5669c9(0x1d2),'collaboration-timeout':_0x5669c9(0x1ca)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x5669c9(0x1d5)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x5669c9(0x1d0)},'closeRoom':_0x5669c9(0x1cc)},'auth':{'needGotoLoginAlert':_0x5669c9(0x1cf)}};export{e as default};function _0xcfbf(){const _0x5e262d=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','551299YdmFGZ','Syncing...','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.','35453FdMRlt','6EMajgN','Syncing\x20server\x20data...','Edit\x20conflicts','110043NPhjKZ','34152EfsqmA','280UQIOgV','4382prOczI','662730DiPESw','80HiwjgE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','89135fDKUoj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2844WgqHLF','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','131aHUqUe'];_0xcfbf=function(){return _0x5e262d;};return _0xcfbf();}