@univerjs-pro/collaboration-client-ui 0.9.2 → 0.9.3-nightly.202507250750

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 (52) 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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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/types/index.d.ts +0 -2
  38. package/lib/types/locale/ca-ES.d.ts +3 -0
  39. package/lib/types/locale/es-ES.d.ts +3 -0
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -0
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -0
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +34 -18
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1cbc19=_0x564b;(function(_0x23b61a,_0x579243){const _0x5dac25=_0x564b,_0x1cb686=_0x23b61a();while(!![]){try{const _0x46b5fe=parseInt(_0x5dac25(0x3ad))/0x1+-parseInt(_0x5dac25(0x3a1))/0x2+parseInt(_0x5dac25(0x322))/0x3*(parseInt(_0x5dac25(0x27a))/0x4)+parseInt(_0x5dac25(0x1db))/0x5+parseInt(_0x5dac25(0x35a))/0x6+-parseInt(_0x5dac25(0x1f8))/0x7+-parseInt(_0x5dac25(0x1e4))/0x8*(parseInt(_0x5dac25(0x1e2))/0x9);if(_0x46b5fe===_0x579243)break;else _0x1cb686['push'](_0x1cb686['shift']());}catch(_0x4df8ce){_0x1cb686['push'](_0x1cb686['shift']());}}}(_0x3429,0xcb896));var $t=Object['defineProperty'],xt=(_0x141720,_0x5cc3db,_0x1dc99e)=>_0x5cc3db in _0x141720?$t(_0x141720,_0x5cc3db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dc99e}):_0x141720[_0x5cc3db]=_0x1dc99e,_=(_0x49a2fd,_0x337555,_0x1b63f1)=>xt(_0x49a2fd,typeof _0x337555!=_0x1cbc19(0x349)?_0x337555+'':_0x337555,_0x1b63f1);import{MemberService as _0x3989fe,SessionStatus as _0x5bb2cc,CollaborationSessionService as _0x443056,CollaborationStatus as _0x3032ea,CollaborationController as _0x50cc70,ILocalCacheService as _0x2e78bc,CollaborationUIEventService as _0x391f14,CollaborationUIEventId as _0xeda082,DataLoaderService as _0x73e358,DocCollaborationEntity as _0x504317,getLocalCacheKey as _0x2b1609,LOCAL_CACHE_INTERVAL as _0x159cd5,LOCAL_CACHE_INTERVAL_KEY as _0x4a626d,UniverCollaborationClientPlugin as _0xf3bf43,CollaborationSocketService as _0x4e2b88,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x519290,DEFAULT_WS_SESSION_TICKET_URL as _0x39cb2b,UnitStatus as _0x1df699,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1e3f75,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x276976}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x12295e,Disposable as _0x24e7ca,DOC_RANGE_TYPE as _0x550f69,Inject as _0x460d70,Injector as _0x8c3420,IUniverInstanceService as _0x1993ec,ICommandService as _0x23450b,debounce as _0x35b72c,Rectangle as _0x39c7bf,DisposableCollection as _0x596d87,toDisposable as _0x420647,UniverInstanceType as _0x2a22a6,Tools as _0x453c0c,COLORS as _0x33d253,ColorKit as _0x1a2afe,ThemeService as _0x5a6429,fromEventSubject as _0x15f510,LocaleService as _0x321c7b,createIdentifier as _0x3caba9,ILogService as _0x638860,Optional as _0x49c732,Workbook as _0x38cdc1,CommandType as _0x41ca5a,IConfigService as _0x2739c1,ILocalStorageService as _0x132acd,DependentOn as _0x4ea337,Plugin as _0x23ebed,merge as _0x3cc24b,registerDependencies as _0x16dd07,mergeOverrideWithDependencies as _0x395178,touchDependencies as _0x6413eb,generateRandomId as _0x35b457}from'@univerjs/core';import{Shape as _0x52b8b4,Rect as _0x13b364,getColor as _0x2b558e,RegularPolygon as _0x478641,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1d9195,Vector2 as _0x1cfb90,SHEET_VIEWPORT_KEY as _0x2cd879,IRenderManagerService as _0x3df113}from'@univerjs/engine-render';import{ISocketService as _0x53aefd,WebSocketService as _0x21e790,HTTPService as _0x299043}from'@univerjs/network';import{IDocClipboardService as _0x44ff19,NodePositionConvertToCursor as _0x2b265b,NodePositionConvertToRectRange as _0x553fcb,TEXT_RANGE_LAYER_INDEX as _0x52d738,SetDocZoomRatioOperation as _0xe373af,DocIMEInputManagerService as _0x578196,DocStateChangeManagerService as _0x110598}from'@univerjs/docs-ui';import{IImageIoService as _0x50d189}from'@univerjs/drawing';import{BehaviorSubject as _0x4646ea,debounceTime as _0x128147,takeUntil as _0x3f150b,Subject as _0x4e418c,filter as _0x1124be,switchMap as _0x5c1c28,merge as _0x467ca4,combineLatest as _0x932e52,of as _0x82a43a,fromEvent as _0x5f26e5,shareReplay as _0x341492,mapTo as _0x48054e,distinctUntilChanged as _0x152f18}from'rxjs';import{ITransformService as _0x424378,CollaborationEvent as _0xf8d7c6,isTransformMutationFailure as _0x282eb9,isTransformMutationsWithChangesetSuccess as _0x24acc7,RevisionService as _0x506b89,ISnapshotServerService as _0x21daf6}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2c4647,RichTextEditingMutation as _0x3e9496,DocSelectionManagerService as _0x45d978,DocSkeletonManagerService as _0x539b57}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x39dc67,serializeRangeWithSheet as _0x20b019}from'@univerjs/engine-formula';import{RefRangeService as _0x1c58d5,SetSelectionsOperation as _0x292a76,SheetsSelectionsService as _0x287725,EffectRefRangId as _0x5ad4aa,handleIRemoveRow as _0xf48f59,handleIRemoveCol as _0x179d6a,handleMoveRange as _0x338d9f,handleInsertRow as _0xfaf1ee,handleInsertRangeMoveRight as _0x414dab,handleInsertRangeMoveDown as _0x157c00,handleInsertCol as _0x379221,handleDeleteRangeMoveUp as _0x1c66da,handleDeleteRangeMoveLeft as _0x128f61,runRefRangeMutations as _0x397b3f,SetWorksheetActivateCommand as _0x2fb5d0}from'@univerjs/sheets';import{map as _0x21917f,filter as _0x163d28,throttleTime as _0x12e749,takeUntil as _0x33324f,switchMap as _0x3c77fd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x41a95c,getCoordByCell as _0x3894f8,getSheetObject as _0x53c735}from'@univerjs/sheets-ui';import{jsx as _0x3d8dd8,jsxs as _0x43064e}from'react/jsx-runtime';import{useObservable as _0x145c69,useDependency as _0x229f2a,IUIPartsService as _0x66b7ea,BuiltInUIPart as _0x2e5948,connectInjector as _0xe16bd3,IBeforeCloseService as _0x11c63a,IMessageService as _0x1e6986,INotificationService as _0x41077c}from'@univerjs/ui';import{Tooltip as _0x8ebd63,clsx as _0x220fa7,MessageType as _0x4f7c78}from'@univerjs/design';import{forwardRef as _0x30bae2,useRef as _0x5497fc,createElement as _0x14d164,useCallback as _0x39ef0c}from'react';import{IRemoteInstanceService as _0x4f1177}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3f25e2,_0x303081,_0x32879f,_0x30e106)=>{const _0x5b82bb=_0x1cbc19;for(var _0x8b05f0=_0x30e106>0x1?void 0x0:_0x30e106?ci(_0x303081,_0x32879f):_0x303081,_0x37f631=_0x3f25e2[_0x5b82bb(0x292)]-0x1,_0x428061;_0x37f631>=0x0;_0x37f631--)(_0x428061=_0x3f25e2[_0x37f631])&&(_0x8b05f0=_0x428061(_0x8b05f0)||_0x8b05f0);return _0x8b05f0;},Je=(_0x25dab3,_0xb8ceb)=>(_0x1431b3,_0x5d9ddb)=>_0xb8ceb(_0x1431b3,_0x5d9ddb,_0x25dab3);let Ne=class extends _0x12295e{constructor(_0x424c22,_0x7aea4e){const _0x1cb549=_0x1cbc19;super(),this[_0x1cb549(0x277)]=_0x424c22,this[_0x1cb549(0x29a)]=_0x7aea4e,this[_0x1cb549(0x207)]();}[_0x1cbc19(0x207)](){const _0x268a8e=_0x1cbc19,_0x1ee8eb=this;this[_0x268a8e(0x287)](this[_0x268a8e(0x277)]['addClipboardHook']({'onBeforePasteImage':async _0x531175=>{const _0x1e820e=_0x268a8e,_0x282053=await _0x1ee8eb[_0x1e820e(0x29a)][_0x1e820e(0x2f8)](_0x531175);return _0x282053?{'source':_0x282053[_0x1e820e(0x30c)],'imageSourceType':_0x282053['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x44ff19),Je(0x1,_0x50d189)],Ne);const Ze=[_0x1cbc19(0x217),_0x1cbc19(0x32a),_0x1cbc19(0x20c),_0x1cbc19(0x338),_0x1cbc19(0x339),'yellow.400'];class ke extends _0x24e7ca{constructor(){const _0x3d5719=_0x1cbc19;super(...arguments),_(this,_0x3d5719(0x273),new Map()),_(this,_0x3d5719(0x36a),0x0);}[_0x1cbc19(0x34e)](_0x1c8da5){const _0x484fcd=_0x1cbc19;if(this[_0x484fcd(0x273)][_0x484fcd(0x23e)](_0x1c8da5))return this[_0x484fcd(0x273)][_0x484fcd(0x31b)](_0x1c8da5);const _0x369276=Ze[this[_0x484fcd(0x36a)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x484fcd(0x292)],this['_assignedColors'][_0x484fcd(0x325)](_0x1c8da5,_0x369276),_0x369276;}}function Tt(_0x1a77c9){const _0x16332a=_0x1cbc19;let _0x3a27c8='';for(const _0x45b178 of _0x1a77c9){const {startOffset:_0x3122b6,endOffset:_0x1f4246,isActive:_0x515dea,rangeType:_0x4f6f01,segmentId:_0x413fd5,segmentPage:_0xe35c1e}=_0x45b178;_0x3a27c8[_0x16332a(0x292)]&&(_0x3a27c8+=','),_0x3a27c8+=_0x3122b6+':'+_0x1f4246+':'+(_0x515dea?'1':'0')+':'+_0x4f6f01+':'+_0x413fd5+':'+_0xe35c1e;}return _0x3a27c8;}function _i(_0x8cb7a){const _0x59a38d=_0x1cbc19,_0x5efdbb=_0x8cb7a[_0x59a38d(0x1cc)](','),_0x5980a1=[];for(const _0x3b77ac of _0x5efdbb){const [_0x303376,_0x2573ef,_0x565bcd,_0x5e794a,_0x336709,_0x169776]=_0x3b77ac['split'](':');_0x5980a1[_0x59a38d(0x21f)]({'startOffset':Number(_0x303376),'endOffset':Number(_0x2573ef),'collapsed':_0x303376===_0x2573ef,'isActive':_0x565bcd==='1','rangeType':_0x5e794a===_0x550f69[_0x59a38d(0x39e)]?_0x550f69[_0x59a38d(0x39e)]:_0x550f69['RECT'],'segmentId':typeof _0x336709==_0x59a38d(0x384)?String(_0x336709):'','segmentPage':Number(_0x169776!=null?_0x169776:-0x1)});}return _0x5980a1['some'](_0x1dfba9=>_0x1dfba9['isActive'])||(_0x5980a1[0x0][_0x59a38d(0x2c5)]=!0x0),_0x5980a1;}class He extends _0x12295e{constructor(){const _0x2aad85=_0x1cbc19;super(...arguments),_(this,_0x2aad85(0x2cc),new _0x4646ea(null)),_(this,_0x2aad85(0x3be),this[_0x2aad85(0x2cc)][_0x2aad85(0x337)]());}[_0x1cbc19(0x246)](_0x1fe6a5){const _0x5e1397=_0x1cbc19,{unitID:_0x39d87d,memberID:_0xe2911a,textRanges:_0x49997e}=_0x1fe6a5,_0x98e6f6=Tt(_0x49997e);if(_0x98e6f6==='')return;const _0x46fd49={'unitID':_0x39d87d,'memberID':_0xe2911a,'selection':_0x98e6f6};this[_0x5e1397(0x2cc)]['next'](_0x46fd49);}}var hi=Object[_0x1cbc19(0x24d)],ui=(_0x3bab4c,_0x5908e6,_0x198ad9,_0x2940d5)=>{const _0x226acb=_0x1cbc19;for(var _0x2ff5c6=_0x2940d5>0x1?void 0x0:_0x2940d5?hi(_0x5908e6,_0x198ad9):_0x5908e6,_0x29d2ab=_0x3bab4c[_0x226acb(0x292)]-0x1,_0x180caf;_0x29d2ab>=0x0;_0x29d2ab--)(_0x180caf=_0x3bab4c[_0x29d2ab])&&(_0x2ff5c6=_0x180caf(_0x2ff5c6)||_0x2ff5c6);return _0x2ff5c6;},P=(_0xe1a81,_0x466225)=>(_0x21fa1b,_0x7aa946)=>_0x466225(_0x21fa1b,_0x7aa946,_0xe1a81);const di=0x12c,fi=0x64;let Ue=class extends _0x12295e{constructor(_0x57ce6a,_0x4d5f45,_0x3f750d,_0x3aa969,_0xadbf6b,_0x1debc4,_0x257c63,_0x500f74,_0x49314b){const _0x2f3cdd=_0x1cbc19;super(),_(this,_0x2f3cdd(0x22c),!0x1),_(this,'_init',!0x1),_(this,_0x2f3cdd(0x266),new _0x4646ea(new Map())),_(this,_0x2f3cdd(0x1ea),this[_0x2f3cdd(0x266)][_0x2f3cdd(0x337)]()),_(this,_0x2f3cdd(0x2a8),new _0x4646ea([])),_(this,_0x2f3cdd(0x2df),this[_0x2f3cdd(0x2a8)][_0x2f3cdd(0x297)](_0x128147(di))),_(this,_0x2f3cdd(0x2eb),_0x35b72c(_0x246ab7=>{const _0x10b3e1=_0x2f3cdd,_0x488443={'eventID':_0xf8d7c6[_0x10b3e1(0x200)],'data':{'unitID':this[_0x10b3e1(0x2cf)],'memberID':this[_0x10b3e1(0x272)]['getMemberID'](),'selection':Tt(_0x246ab7)}};this[_0x10b3e1(0x272)][_0x10b3e1(0x219)](_0x488443,this[_0x10b3e1(0x2cf)]);},fi)),(this[_0x2f3cdd(0x2cf)]=_0x57ce6a,this['_session']=_0x4d5f45,this['_injector']=_0x3f750d,this[_0x2f3cdd(0x24c)]=_0x3aa969,this['_memberService']=_0xadbf6b,this[_0x2f3cdd(0x23f)]=_0x1debc4,this[_0x2f3cdd(0x3ca)]=_0x257c63,this['_univerInstanceService']=_0x500f74,this[_0x2f3cdd(0x1dc)]=_0x49314b);}get[_0x1cbc19(0x2cd)](){const _0x2953b0=_0x1cbc19;return this[_0x2953b0(0x266)][_0x2953b0(0x1f3)]();}get[_0x1cbc19(0x27c)](){const _0x5f28d5=_0x1cbc19;return this['_roomMembers$'][_0x5f28d5(0x1f3)]();}[_0x1cbc19(0x280)](){const _0x190abb=_0x1cbc19;super[_0x190abb(0x280)](),this[_0x190abb(0x266)]['next'](new Map()),this['_cursorInfo$'][_0x190abb(0x2ba)](),this[_0x190abb(0x2a8)]['next']([]),this[_0x190abb(0x2a8)][_0x190abb(0x2ba)]();}['init'](){const _0x36cb03=_0x1cbc19;this[_0x36cb03(0x207)]||(this[_0x36cb03(0x207)]=!0x0,this['_session'][_0x36cb03(0x260)]['pipe'](_0x3f150b(this[_0x36cb03(0x3b3)]))[_0x36cb03(0x2da)](_0x4c69f7=>{const _0x29681a=_0x36cb03;_0x4c69f7===_0x5bb2cc[_0x29681a(0x324)]?this[_0x29681a(0x1d7)]():this[_0x29681a(0x1e6)]();}),this[_0x36cb03(0x272)][_0x36cb03(0x31a)][_0x36cb03(0x297)](_0x3f150b(this[_0x36cb03(0x3b3)]))[_0x36cb03(0x2da)](_0x25d010=>{const _0x495afe=_0x36cb03,_0xf910b2=_0x25d010['eventID'];_0xf910b2===_0xf8d7c6[_0x495afe(0x200)]&&this[_0x495afe(0x249)](_0x25d010),_0xf910b2===_0xf8d7c6['USERS_LEAVE']&&this[_0x495afe(0x336)](_0x25d010);}),this['disposeWithMe'](this[_0x36cb03(0x1dc)]['onCommandExecuted'](_0x4a249c=>{const _0x328f0a=_0x36cb03,_0x4bc572=_0x4a249c[_0x328f0a(0x305)];_0x4bc572!=null&&this[_0x328f0a(0x22c)]&&_0x4a249c['id']===_0x2c4647['id']&&_0x4bc572[_0x328f0a(0x378)]===this[_0x328f0a(0x2cf)]&&_0x4bc572[_0x328f0a(0x3c3)]===!0x1&&_0x4bc572['ranges']['length']>0x0&&this[_0x328f0a(0x2eb)](_0x4bc572['ranges']);})),this[_0x36cb03(0x23f)][_0x36cb03(0x3be)][_0x36cb03(0x297)](_0x3f150b(this[_0x36cb03(0x3b3)]))[_0x36cb03(0x2da)](_0x39934b=>{const _0x117024=_0x36cb03;if((_0x39934b==null?void 0x0:_0x39934b[_0x117024(0x2cf)])!==this[_0x117024(0x2cf)])return;const _0x1f1d09={'eventID':_0xf8d7c6[_0x117024(0x200)],'data':_0x39934b};this['_onCursorUpdate'](_0x1f1d09);}),this[_0x36cb03(0x287)](this[_0x36cb03(0x1dc)]['onCommandExecuted'](_0x27adcf=>{const _0x12ef6b=_0x36cb03;if(_0x27adcf['params']==null)return;const _0xa481a6=_0x27adcf[_0x12ef6b(0x305)];if(_0x27adcf['id']!==_0x3e9496['id']||_0xa481a6[_0x12ef6b(0x378)]!==this[_0x12ef6b(0x2cf)])return;const _0x3be694={'id':_0x12ef6b(0x334),'params':_0xa481a6},_0x3a6f9e=this['cursorInfo'];for(const [_0x5a1c15,_0x4b63d2]of _0x3a6f9e){const _0x2efaa8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x12ef6b(0x2cf)],'actions':null,'textRanges':_0x4b63d2[_0x12ef6b(0x2f4)]}},_0x290157=this[_0x12ef6b(0x3ca)]['transformMutation'](_0x3be694,_0x2efaa8,!0x1);if(_0x282eb9(_0x290157))throw _0x290157[_0x12ef6b(0x24f)];_0x3a6f9e[_0x12ef6b(0x325)](_0x5a1c15,{..._0x4b63d2,'ranges':_0x290157[_0x12ef6b(0x256)]['params'][_0x12ef6b(0x2ac)]});}queueMicrotask(()=>{const _0x13f1a0=_0x12ef6b;this[_0x13f1a0(0x266)][_0x13f1a0(0x29e)](_0x3a6f9e);});})));}[_0x1cbc19(0x249)](_0x17bc0a){const _0x5b09a1=_0x1cbc19;var _0x4c6316,_0x2498d6;const {memberID:_0x2284cd,selection:_0x31f4a7}=_0x17bc0a[_0x5b09a1(0x35c)],_0x1be419=_i(_0x31f4a7),_0x5996e6=(_0x2498d6=(_0x4c6316=this[_0x5b09a1(0x399)][_0x5b09a1(0x1dd)](this['unitID'],_0x2284cd))==null?void 0x0:_0x4c6316[_0x5b09a1(0x223)])!=null?_0x2498d6:_0x5b09a1(0x376),_0x3d70e1={'color':this[_0x5b09a1(0x24c)][_0x5b09a1(0x34e)](_0x2284cd),'name':_0x5996e6,'ranges':_0x1be419},_0x5b8f4a=this[_0x5b09a1(0x2cd)];_0x5b8f4a[_0x5b09a1(0x325)](_0x2284cd,_0x3d70e1),this[_0x5b09a1(0x266)]['next'](_0x5b8f4a);}['_onCursorDelete'](_0x3015e0){const _0x2f5510=_0x1cbc19,{memberID:_0x417c59}=_0x3015e0['data'],_0x5d09bd=this[_0x2f5510(0x2cd)];_0x5d09bd[_0x2f5510(0x2f3)](_0x417c59),this['_cursorInfo$']['next'](_0x5d09bd);}[_0x1cbc19(0x1d7)](){const _0x4b99bc=_0x1cbc19;var _0x132fa5;if(this[_0x4b99bc(0x22c)]=!0x0,((_0x132fa5=this[_0x4b99bc(0x2bd)][_0x4b99bc(0x341)]())==null?void 0x0:_0x132fa5[_0x4b99bc(0x3aa)]())!==this['unitID'])return;const _0x3a4416=this[_0x4b99bc(0x3b6)][_0x4b99bc(0x31b)](_0x45d978)['getDocRanges']();Array['isArray'](_0x3a4416)&&_0x3a4416['length']>0x0&&this[_0x4b99bc(0x2eb)](_0x3a4416);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x460d70(_0x8c3420)),P(0x3,_0x460d70(ke)),P(0x4,_0x460d70(_0x3989fe)),P(0x5,_0x460d70(He)),P(0x6,_0x424378),P(0x7,_0x1993ec),P(0x8,_0x23450b)],Ue);var Si=Object[_0x1cbc19(0x24d)],mi=(_0x30011f,_0x584779,_0x2162e1,_0x2f993f)=>{const _0x96376d=_0x1cbc19;for(var _0x533e9e=_0x2f993f>0x1?void 0x0:_0x2f993f?Si(_0x584779,_0x2162e1):_0x584779,_0x315bac=_0x30011f[_0x96376d(0x292)]-0x1,_0x55ae18;_0x315bac>=0x0;_0x315bac--)(_0x55ae18=_0x30011f[_0x315bac])&&(_0x533e9e=_0x55ae18(_0x533e9e)||_0x533e9e);return _0x533e9e;},x=(_0x430aa6,_0x59b4b0)=>(_0x2ee832,_0x136f42)=>_0x59b4b0(_0x2ee832,_0x136f42,_0x430aa6);const Ii=0x12c,gi=0x64,vi=()=>{let _0xcfe645=[],_0x3c53c5=!0x1;return _0x32bc33=>{_0xcfe645['push'](_0x32bc33),_0x3c53c5||(_0x3c53c5=!0x0,setTimeout(()=>{_0xcfe645['forEach'](_0x263c57=>_0x263c57()),_0xcfe645=[],_0x3c53c5=!0x1;}));};};let Me=class extends _0x12295e{constructor(_0x186489,_0x37c10b,_0x3823cd,_0x1a8150,_0x23d4dc,_0xc609cd,_0x5c0ac7,_0x3f1f03){const _0x281ff1=_0x1cbc19;super(),_(this,'_online',!0x1),_(this,_0x281ff1(0x207),!0x1),_(this,_0x281ff1(0x266),new _0x4646ea(new Map())),_(this,_0x281ff1(0x1ea),this['_cursorInfo$']['asObservable']()),_(this,_0x281ff1(0x2a8),new _0x4646ea([])),_(this,_0x281ff1(0x2df),this[_0x281ff1(0x2a8)][_0x281ff1(0x297)](_0x128147(Ii))),_(this,_0x281ff1(0x2eb),_0x35b72c((_0x1fbce0,_0x2527dc)=>{const _0x3864a9=_0x281ff1,_0x5e867b={'eventID':_0xf8d7c6['UPDATE_CURSOR'],'data':{'unitID':this[_0x3864a9(0x2cf)],'memberID':this[_0x3864a9(0x272)]['getMemberID'](),'selection':_0x20b019(_0x1fbce0,_0x2527dc[_0x3864a9(0x2a6)])}};this['_session']['send'](_0x5e867b,this[_0x3864a9(0x2cf)]);},gi)),(this[_0x281ff1(0x2cf)]=_0x186489,this[_0x281ff1(0x272)]=_0x37c10b,this[_0x281ff1(0x3b6)]=_0x3823cd,this['_colorAssignService']=_0x1a8150,this[_0x281ff1(0x399)]=_0x23d4dc,this[_0x281ff1(0x2bd)]=_0xc609cd,this[_0x281ff1(0x1dc)]=_0x5c0ac7,this[_0x281ff1(0x2d0)]=_0x3f1f03);}get['cursorInfo'](){const _0x4ef37d=_0x1cbc19;return this[_0x4ef37d(0x266)]['getValue']();}get['roomMembers'](){const _0x5e857c=_0x1cbc19;return this[_0x5e857c(0x2a8)][_0x5e857c(0x1f3)]();}[_0x1cbc19(0x280)](){const _0x493568=_0x1cbc19;super['dispose'](),this[_0x493568(0x266)][_0x493568(0x29e)](new Map()),this[_0x493568(0x266)][_0x493568(0x2ba)](),this['_roomMembers$'][_0x493568(0x29e)]([]),this['_roomMembers$'][_0x493568(0x2ba)]();}[_0x1cbc19(0x326)](){const _0xadf2e1=_0x1cbc19;this[_0xadf2e1(0x207)]||(this['_init']=!0x0,this[_0xadf2e1(0x272)][_0xadf2e1(0x260)]['pipe'](_0x3f150b(this[_0xadf2e1(0x3b3)]))['subscribe'](_0x10c262=>{const _0x405fb2=_0xadf2e1;_0x10c262===_0x5bb2cc[_0x405fb2(0x324)]?this[_0x405fb2(0x1d7)]():this[_0x405fb2(0x1e6)]();}),this['_session'][_0xadf2e1(0x31a)][_0xadf2e1(0x297)](_0x3f150b(this['dispose$']))['subscribe'](_0x407f9f=>{const _0x5bd121=_0xadf2e1,_0x4d41c6=_0x407f9f['eventID'];_0x4d41c6===_0xf8d7c6['UPDATE_CURSOR']&&this[_0x5bd121(0x249)](_0x407f9f),_0x4d41c6===_0xf8d7c6[_0x5bd121(0x2e0)]&&this[_0x5bd121(0x336)](_0x407f9f);}),this[_0xadf2e1(0x1f7)](),this[_0xadf2e1(0x287)](this[_0xadf2e1(0x1dc)][_0xadf2e1(0x1d9)](_0xa202b3=>{const _0x550b5a=_0xadf2e1;if(this[_0x550b5a(0x22c)]&&_0xa202b3['id']===_0x292a76['id']&&_0xa202b3['params'][_0x550b5a(0x378)]===this['unitID']){const _0x37febe=_0xa202b3[_0x550b5a(0x305)];this[_0x550b5a(0x2eb)](_0x37febe[_0x550b5a(0x24e)],_0x37febe[_0x550b5a(0x26f)][0x0]);}})));}[_0x1cbc19(0x249)](_0x27e027){const _0x40b80c=_0x1cbc19;var _0x2d0e6a,_0x4fd8e3;const {memberID:_0x585e19,selection:_0x4cf4b9}=_0x27e027['data'],{sheetName:_0x56915d,range:_0x8080bb}=_0x39dc67(_0x4cf4b9),_0x1aa873={'name':(_0x4fd8e3=(_0x2d0e6a=this['_memberService'][_0x40b80c(0x1dd)](this[_0x40b80c(0x2cf)],_0x585e19))==null?void 0x0:_0x2d0e6a[_0x40b80c(0x223)])!=null?_0x4fd8e3:_0x40b80c(0x376),'range':this[_0x40b80c(0x1d0)](_0x56915d,_0x8080bb),'sheetID':_0x56915d,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x585e19),'selection':_0x4cf4b9},_0x1f5e91=this['cursorInfo'];_0x1f5e91['set'](_0x585e19,_0x1aa873),this[_0x40b80c(0x266)][_0x40b80c(0x29e)](_0x1f5e91);}[_0x1cbc19(0x336)](_0x541549){const _0x54f21e=_0x1cbc19,{memberID:_0x2ee439}=_0x541549[_0x54f21e(0x35c)],_0x256007=this[_0x54f21e(0x2cd)];_0x256007[_0x54f21e(0x2f3)](_0x2ee439),this['_cursorInfo$'][_0x54f21e(0x29e)](_0x256007);}[_0x1cbc19(0x1d0)](_0x3846d0,_0x2f1a45){const _0x80ae2f=_0x1cbc19;var _0x172fa1,_0x96d3b7;const _0x14f3b1=(_0x96d3b7=(_0x172fa1=this[_0x80ae2f(0x2bd)][_0x80ae2f(0x33c)](this[_0x80ae2f(0x2cf)]))==null?void 0x0:_0x172fa1['getSheetBySheetId'](_0x3846d0))==null?void 0x0:_0x96d3b7[_0x80ae2f(0x293)]();return(_0x14f3b1==null?void 0x0:_0x14f3b1[_0x80ae2f(0x2a2)](_0x97deb7=>_0x39c7bf[_0x80ae2f(0x320)](_0x97deb7,_0x2f1a45)))||_0x2f1a45;}[_0x1cbc19(0x1f7)](){const _0x4d2db0=_0x1cbc19,_0x1e448f=new _0x596d87(),_0x12688b=vi(),_0x4b6e58=()=>{const _0x5788bb=_0x564b;_0x1e448f[_0x5788bb(0x280)]();const _0x3aef58=(_0x379d51,_0x5f28f9,_0x4b6150,_0x30b886)=>{const _0x27a406=_0x5788bb;let _0x4ac1b2=[];switch(_0x379d51['id']){case _0x5ad4aa[_0x27a406(0x1ee)]:{_0x4ac1b2=_0x128f61(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x317)]:{_0x4ac1b2=_0x1c66da(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x3c7)]:{_0x4ac1b2=_0x379221(_0x379d51,_0x30b886);break;}case _0x5ad4aa['InsertRangeMoveDownCommandId']:{_0x4ac1b2=_0x157c00(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x2d2)]:{_0x4ac1b2=_0x414dab(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x368)]:{_0x4ac1b2=_0xfaf1ee(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x33a)]:{_0x4ac1b2=_0x338d9f(_0x379d51,_0x30b886);break;}case _0x5ad4aa[_0x27a406(0x265)]:{_0x4ac1b2=_0x179d6a(_0x379d51,_0x30b886);break;}case _0x5ad4aa['RemoveRowCommandId']:{_0x4ac1b2=_0xf48f59(_0x379d51,_0x30b886);break;}}const _0x5de67e=_0x397b3f(_0x4ac1b2,_0x30b886),_0x4eef00=this[_0x27a406(0x2cd)][_0x27a406(0x31b)](_0x5f28f9);if(_0x4eef00&&_0x5de67e){const _0x1207d2={..._0x4eef00,'range':_0x5de67e};this['cursorInfo'][_0x27a406(0x325)](_0x5f28f9,_0x1207d2),_0x12688b(()=>{const _0x48492c=_0x27a406,_0x39c61e=this['_refRangeService'][_0x48492c(0x35d)](_0x5de67e,_0x2f900f=>(_0x39c61e[_0x48492c(0x280)](),_0x3aef58(_0x2f900f,_0x5f28f9,_0x4b6150,_0x5de67e)));_0x1e448f[_0x48492c(0x2ee)](_0x39c61e);});}return{'redos':[],'undos':[]};};this[_0x5788bb(0x2cd)]['forEach']((_0x417e24,_0x510ab5)=>{const _0x2eac26=_0x5788bb,{range:_0x15ab1e,sheetID:_0x32be19}=_0x417e24,_0x1aede6=this[_0x2eac26(0x2d0)]['registerRefRange'](_0x15ab1e,_0x3121fa=>(_0x1aede6[_0x2eac26(0x280)](),_0x3aef58(_0x3121fa,_0x510ab5,_0x32be19,_0x15ab1e)));_0x1e448f[_0x2eac26(0x2ee)](_0x1aede6);});};this[_0x4d2db0(0x287)](_0x420647(this[_0x4d2db0(0x266)]['subscribe'](()=>{_0x4b6e58();})));}[_0x1cbc19(0x1d7)](){const _0x5c36d1=_0x1cbc19;var _0x11dc83,_0x1f0533;if(this['_online']=!0x0,((_0x11dc83=this[_0x5c36d1(0x2bd)]['getFocusedUnit']())==null?void 0x0:_0x11dc83['getUnitId']())!==this[_0x5c36d1(0x2cf)])return;const _0x4d71aa=(_0x1f0533=this[_0x5c36d1(0x3b6)][_0x5c36d1(0x31b)](_0x287725)['getCurrentSelections']())==null?void 0x0:_0x1f0533[0x0],_0x47d032=this[_0x5c36d1(0x2bd)][_0x5c36d1(0x1f5)](_0x2a22a6['UNIVER_SHEET'])[_0x5c36d1(0x3ba)]();_0x4d71aa&&_0x47d032&&this[_0x5c36d1(0x2eb)](_0x47d032[_0x5c36d1(0x2fe)](),_0x4d71aa);}[_0x1cbc19(0x1e6)](){const _0xeed36f=_0x1cbc19;this[_0xeed36f(0x22c)]=!0x1;}};Me=mi([x(0x2,_0x460d70(_0x8c3420)),x(0x3,_0x460d70(ke)),x(0x4,_0x460d70(_0x3989fe)),x(0x5,_0x1993ec),x(0x6,_0x23450b),x(0x7,_0x460d70(_0x1c58d5))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x133d83,_0x394b69,_0x56dba5,_0x3774f8)=>{for(var _0x597404=_0x3774f8>0x1?void 0x0:_0x3774f8?pi(_0x394b69,_0x56dba5):_0x394b69,_0x39f248=_0x133d83['length']-0x1,_0x59fe13;_0x39f248>=0x0;_0x39f248--)(_0x59fe13=_0x133d83[_0x39f248])&&(_0x597404=_0x59fe13(_0x597404)||_0x597404);return _0x597404;},Se=(_0x3bdd44,_0x2f3c48)=>(_0x3717d1,_0x3f81f5)=>_0x2f3c48(_0x3717d1,_0x3f81f5,_0x3bdd44);let H=class extends _0x12295e{constructor(_0x352e98,_0x26ef8b,_0x44cc90){const _0x30a698=_0x1cbc19;super(),_(this,_0x30a698(0x2bb),new Map()),_(this,_0x30a698(0x286),new _0x4e418c()),(this[_0x30a698(0x2bd)]=_0x352e98,this[_0x30a698(0x3b6)]=_0x26ef8b,this[_0x30a698(0x279)]=_0x44cc90,this[_0x30a698(0x207)]());}[_0x1cbc19(0x280)](){const _0x59c29f=_0x1cbc19;super[_0x59c29f(0x280)](),this[_0x59c29f(0x286)][_0x59c29f(0x2ba)](),this['_entities']['forEach'](_0xa45df9=>_0xa45df9[_0x59c29f(0x280)]());}[_0x1cbc19(0x395)](_0x6ace76){const _0x17a492=_0x1cbc19;return this[_0x17a492(0x2bb)]['has'](_0x6ace76)?this['_entities'][_0x17a492(0x31b)](_0x6ace76)[_0x17a492(0x1ea)]:this['_entityInit$'][_0x17a492(0x297)](_0x1124be(_0x4c6d00=>_0x4c6d00[_0x17a492(0x2cf)]===_0x6ace76),_0x5c1c28(_0x25bd48=>_0x25bd48[_0x17a492(0x1ea)]));}[_0x1cbc19(0x207)](){const _0x2a88ee=_0x1cbc19;this[_0x2a88ee(0x2bd)][_0x2a88ee(0x32e)](_0x2a22a6[_0x2a88ee(0x2ec)])[_0x2a88ee(0x297)](_0x3f150b(this['dispose$']))[_0x2a88ee(0x2da)](async _0x476fb5=>{const _0x4e77a7=_0x2a88ee,_0x451732=_0x476fb5['getUnitId'](),_0x3c0f19=await this[_0x4e77a7(0x1d6)](_0x451732);this[_0x4e77a7(0x286)][_0x4e77a7(0x29e)](_0x3c0f19),this[_0x4e77a7(0x2bb)]['set'](_0x451732,_0x3c0f19);}),this[_0x2a88ee(0x2bd)][_0x2a88ee(0x32e)](_0x2a22a6[_0x2a88ee(0x1eb)])[_0x2a88ee(0x297)](_0x3f150b(this[_0x2a88ee(0x3b3)]))[_0x2a88ee(0x297)](_0x1124be(_0x42c8e7=>!_0x42c8e7[_0x2a88ee(0x3aa)]()[_0x2a88ee(0x1ed)]('__')))[_0x2a88ee(0x2da)](async _0x74fdf2=>{const _0x468f12=_0x2a88ee,_0x21279d=_0x74fdf2['getUnitId'](),_0x5acb1f=await this['_startDocCollabCursor'](_0x21279d);this[_0x468f12(0x286)]['next'](_0x5acb1f),this[_0x468f12(0x2bb)][_0x468f12(0x325)](_0x21279d,_0x5acb1f);}),_0x467ca4(this['_univerInstanceService'][_0x2a88ee(0x1d2)](_0x2a22a6[_0x2a88ee(0x1eb)]),this[_0x2a88ee(0x2bd)][_0x2a88ee(0x1d2)](_0x2a22a6[_0x2a88ee(0x2ec)]))[_0x2a88ee(0x297)](_0x3f150b(this[_0x2a88ee(0x3b3)]))[_0x2a88ee(0x2da)](_0x46d82e=>{const _0x39549d=_0x2a88ee,_0x550175=_0x46d82e['getUnitId'](),_0x1f9cae=this[_0x39549d(0x2bb)][_0x39549d(0x31b)](_0x550175);_0x1f9cae&&(_0x1f9cae['dispose'](),this[_0x39549d(0x2bb)][_0x39549d(0x2f3)](_0x550175));});}async[_0x1cbc19(0x1d6)](_0x159ea7){const _0x14d03f=_0x1cbc19,_0x500ed2=await this[_0x14d03f(0x279)][_0x14d03f(0x29c)](_0x159ea7),_0x4dfc78=this[_0x14d03f(0x3b6)][_0x14d03f(0x29d)](Me,_0x159ea7,_0x500ed2);return _0x4dfc78[_0x14d03f(0x326)](),_0x4dfc78;}async['_startDocCollabCursor'](_0x123fb8){const _0xbb8b50=_0x1cbc19,_0x5d0651=await this['_collabSessionService'][_0xbb8b50(0x29c)](_0x123fb8),_0x1d1454=this[_0xbb8b50(0x3b6)][_0xbb8b50(0x29d)](Ue,_0x123fb8,_0x5d0651);return _0x1d1454[_0xbb8b50(0x326)](),_0x1d1454;}};H=Ci([Se(0x0,_0x1993ec),Se(0x1,_0x460d70(_0x8c3420)),Se(0x2,_0x460d70(_0x443056))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5bb554,_0x10f128){const _0xfe88c6=_0x1cbc19;let {radius:_0x9b05a3,width:_0x25e03b,height:_0xed62d7}=_0x10f128;_0x9b05a3=_0x9b05a3!=null?_0x9b05a3:0x0,_0x25e03b=_0x25e03b!=null?_0x25e03b:0x1e,_0xed62d7=_0xed62d7!=null?_0xed62d7:0x1e;let _0x527b4f=0x0,_0xa52f59=0x0,_0x383391=0x0;_0x527b4f=_0xa52f59=_0x383391=Math[_0xfe88c6(0x26d)](_0x9b05a3,_0x25e03b/0x2,_0xed62d7/0x2),_0x5bb554[_0xfe88c6(0x34d)](),_0x5bb554[_0xfe88c6(0x362)](_0x527b4f,0x0),_0x5bb554[_0xfe88c6(0x312)](_0x25e03b-_0xa52f59,0x0),_0x5bb554[_0xfe88c6(0x370)](_0x25e03b-_0xa52f59,_0xa52f59,_0xa52f59,Math['PI']*0x3/0x2,0x0,!0x1),_0x5bb554[_0xfe88c6(0x312)](_0x25e03b,_0xed62d7-_0x383391),_0x5bb554[_0xfe88c6(0x370)](_0x25e03b-_0x383391,_0xed62d7-_0x383391,_0x383391,0x0,Math['PI']/0x2,!0x1),_0x5bb554[_0xfe88c6(0x312)](0x0,_0xed62d7),_0x5bb554['lineTo'](0x0,_0x527b4f),_0x5bb554[_0xfe88c6(0x370)](_0x527b4f,_0x527b4f,_0x527b4f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5bb554[_0xfe88c6(0x3bd)](),_0x10f128[_0xfe88c6(0x1f1)]&&(_0x5bb554['save'](),_0x5bb554['fillStyle']=_0x10f128[_0xfe88c6(0x1f1)],_0x10f128[_0xfe88c6(0x237)]==='evenodd'?_0x5bb554[_0xfe88c6(0x1f1)](_0xfe88c6(0x2d1)):_0x5bb554[_0xfe88c6(0x1f1)](),_0x5bb554[_0xfe88c6(0x38d)]());}class he extends _0x52b8b4{constructor(_0x11e6d8,_0x239795){const _0x3d9afb=_0x1cbc19;super(_0x11e6d8,_0x239795),_(this,'color'),_(this,_0x3d9afb(0x2a9)),(this[_0x3d9afb(0x32d)]=_0x239795==null?void 0x0:_0x239795[_0x3d9afb(0x32d)],this['text']=_0x239795==null?void 0x0:_0x239795[_0x3d9afb(0x2a9)]);}static[_0x1cbc19(0x2e9)](_0x1d6ce7,_0x17adb0){const _0x232af8=_0x1cbc19,{text:_0x40db4c,color:_0x58b629}=_0x17adb0;_0x1d6ce7[_0x232af8(0x22e)](),_0x1d6ce7[_0x232af8(0x26a)]=_0x232af8(0x205);const _0x26d11d=_0x1d6ce7[_0x232af8(0x33e)](_0x40db4c)[_0x232af8(0x340)],_0x9deb6f=Math['min'](_0x26d11d+0x2*me,Qe);Oi(_0x1d6ce7,{'height':ee,'radius':0x4,'width':_0x9deb6f,'fill':_0x58b629}),_0x1d6ce7['fillStyle']=_0x232af8(0x281);const _0x519c67=me,_0x4dd833=ee-Ei,_0x110dec=Qe-0x2*me;if(_0x26d11d>_0x110dec){let _0x30ae65='',_0x314cea=0x0;for(const _0x336519 of _0x40db4c){const _0x1a0eb5=_0x1d6ce7[_0x232af8(0x33e)](_0x336519)['width'];if(_0x314cea+_0x1a0eb5<=_0x110dec-_0x1d6ce7['measureText'](_0x232af8(0x283))[_0x232af8(0x340)])_0x30ae65+=_0x336519,_0x314cea+=_0x1a0eb5;else{_0x30ae65+='...';break;}}_0x1d6ce7[_0x232af8(0x3b8)](_0x30ae65,_0x519c67,_0x4dd833);}else _0x1d6ce7[_0x232af8(0x3b8)](_0x40db4c,_0x519c67,_0x4dd833);_0x1d6ce7[_0x232af8(0x38d)]();}['_draw'](_0x3a069e){he['drawWith'](_0x3a069e,this);}}const Ie=_0x1cbc19(0x20f),bi='collab-text-range-',Ti=_0x1cbc19(0x25b),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2c443c,_0x32890d,_0x348587,_0x61eed2){const _0x4e3774=_0x1cbc19;_(this,_0x4e3774(0x28d),[]),_(this,_0x4e3774(0x2f9),null),_(this,_0x4e3774(0x295),null),_(this,_0x4e3774(0x288),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x4e3774(0x211)]=_0x2c443c,this[_0x4e3774(0x2fc)]=_0x32890d,this[_0x4e3774(0x2c7)]=_0x348587,this[_0x4e3774(0x3bb)]=_0x61eed2,this['_render']());}set[_0x1cbc19(0x1e9)](_0x4558e9){const _0x36d670=_0x1cbc19;_0x4558e9?(this[_0x36d670(0x288)]&&this[_0x36d670(0x288)][_0x36d670(0x26c)](),this[_0x36d670(0x295)]&&this[_0x36d670(0x295)][_0x36d670(0x2f6)]()):(this[_0x36d670(0x288)]&&this[_0x36d670(0x288)][_0x36d670(0x2f6)](),this['_textBubble']&&this['_textBubble'][_0x36d670(0x26c)]());}[_0x1cbc19(0x280)](){const _0x11ede7=_0x1cbc19;for(const _0x69ef4f of this[_0x11ede7(0x28d)])_0x69ef4f[_0x11ede7(0x280)]();this[_0x11ede7(0x295)]&&this['_textBubble'][_0x11ede7(0x280)](),this[_0x11ede7(0x288)]&&this[_0x11ede7(0x288)][_0x11ede7(0x280)](),this[_0x11ede7(0x2f9)]&&this[_0x11ede7(0x2f9)]['dispose'](),this[_0x11ede7(0x38b)]&&this[_0x11ede7(0x38b)]();}[_0x1cbc19(0x3ae)](){const _0x38aca6=_0x1cbc19;var _0x1055b2;const {_docSkeleton:_0xd8120e,_document:_0x1b2a83}=this,{color:_0x4634fe,name:_0x44aaf3,ranges:_0x68d205}=this[_0x38aca6(0x211)],_0x12c7c1=_0x1b2a83[_0x38aca6(0x240)](),{docsLeft:_0x59310b,docsTop:_0x4cc304}=_0x12c7c1,_0x15aa4c=new _0x2b265b(_0x12c7c1,_0xd8120e);for(const {startOffset:_0x116e65,endOffset:_0x1ea993,rangeType:_0x4aa04b,segmentId:_0x10e2e9,segmentPage:_0x1a120c,collapsed:_0x308fb6,isActive:_0x7e4264}of _0x68d205){const _0x43c66c=_0xd8120e['findNodePositionByCharIndex'](_0x116e65,!0x0,_0x10e2e9,_0x1a120c);let _0x376e37=_0xd8120e[_0x38aca6(0x2e3)](_0x1ea993,!0x0,_0x10e2e9,_0x1a120c);if(_0x376e37==null&&(_0x376e37=_0xd8120e[_0x38aca6(0x2e3)](_0x1ea993-0x1,!0x1,_0x10e2e9,_0x1a120c)),_0x7e4264){const {contentBoxPointGroup:_0x185726}=_0x15aa4c[_0x38aca6(0x2b5)](_0x376e37,_0x376e37);if(_0x185726['length']===0x0)continue;this[_0x38aca6(0x209)](_0x4634fe,_0x185726,_0x59310b,_0x4cc304,_0x44aaf3),this['_eventUnsubscribe']=this[_0x38aca6(0x2ab)]();}if(_0x43c66c&&_0x376e37){if(_0x4aa04b===_0x550f69['RECT']){const _0xd7ef37=new _0x553fcb(_0x12c7c1,_0xd8120e),{pointGroup:_0x1dd91e}=(_0x1055b2=_0xd7ef37[_0x38aca6(0x2b5)](_0x43c66c,_0x376e37))!=null?_0x1055b2:{};if(_0x1dd91e==null||_0x1dd91e['length']===0x0)continue;this[_0x38aca6(0x241)](_0x4634fe,_0x1dd91e,_0x59310b,_0x4cc304);}else{if(!_0x308fb6){const {borderBoxPointGroup:_0x5dfee1}=_0x15aa4c[_0x38aca6(0x2b5)](_0x43c66c,_0x376e37);if(_0x5dfee1[_0x38aca6(0x292)]===0x0)continue;this[_0x38aca6(0x347)](_0x4634fe,_0x5dfee1,_0x59310b,_0x4cc304);}}}}}[_0x1cbc19(0x209)](_0x2cf0e7,_0x5f180e,_0x4c82fb,_0x4d3260,_0x8e841a){const _0x31c810=_0x1cbc19,_0xdd48f1=this[_0x31c810(0x269)](_0x5f180e),{left:_0x3d0279,top:_0x23e3a0,height:_0x3573c0}=_0xdd48f1,_0x5dba89=this['_getScale'](),_0x32bf86=Di/_0x5dba89,_0x224dfe=new _0x13b364(Ie+_0x453c0c[_0x31c810(0x363)](X),{'left':_0x3d0279+_0x4c82fb-_0x32bf86,'top':_0x23e3a0+_0x4d3260,'height':_0x3573c0,'width':Ri,'fill':_0x2cf0e7||_0x2b558e(_0x33d253[_0x31c810(0x2ae)],0x0),'strokeWidth':_0x32bf86,'stroke':Ni,'evented':!0x0});this[_0x31c810(0x2f9)]=_0x224dfe,this[_0x31c810(0x2fc)]['addObject'](_0x224dfe,_0x52d738);const _0x350ecf=new _0x13b364(Ie+_0x453c0c[_0x31c810(0x363)](X),{'left':_0x3d0279+_0x4c82fb-_0x32bf86,'top':_0x23e3a0+_0x4d3260-ge/0x2,'height':ge,'width':ge,'fill':_0x2cf0e7||_0x2b558e(_0x33d253[_0x31c810(0x2ae)],0x0),'strokeWidth':0x0,'stroke':_0x2cf0e7||_0x2b558e(_0x33d253[_0x31c810(0x2ae)],0x0),'evented':!0x1});this['_anchorDot']=_0x350ecf,this[_0x31c810(0x2fc)]['addObject'](_0x350ecf,_0x52d738);const _0x4e2c1f=new he(Ie+_0x453c0c[_0x31c810(0x363)](X),{'left':_0x3d0279+_0x4c82fb-_0x32bf86,'top':_0x23e3a0+_0x4d3260-ee,'text':_0x8e841a,'color':_0x2cf0e7});this[_0x31c810(0x295)]=_0x4e2c1f,this[_0x31c810(0x2fc)][_0x31c810(0x234)](_0x4e2c1f,_0x52d738),this[_0x31c810(0x1e9)]=!0x1;}[_0x1cbc19(0x2ab)](){const _0x361e40=_0x1cbc19,_0x550f9c=this['_anchor'][_0x361e40(0x2fd)]['subscribeEvent'](()=>{const _0x570a3c=_0x361e40;this[_0x570a3c(0x1e9)]=!0x0;}),_0x10b203=this[_0x361e40(0x2f9)][_0x361e40(0x21a)][_0x361e40(0x1fc)](()=>{const _0x41a112=_0x361e40;this[_0x41a112(0x329)]&&clearTimeout(this['_hideTimer']),this[_0x41a112(0x329)]=setTimeout(()=>{const _0xc9670a=_0x41a112;this[_0xc9670a(0x1e9)]=!0x1;},0x7d0);});return()=>{const _0x4bf237=_0x361e40;_0x550f9c[_0x4bf237(0x243)](),_0x10b203['unsubscribe']();};}[_0x1cbc19(0x347)](_0x318744,_0x55ee39,_0x3b8693,_0xd1fe5a){const _0x243dab=_0x1cbc19,_0x251dfd=new _0x1a2afe(_0x318744)[_0x243dab(0x30d)](0.2)[_0x243dab(0x32f)](),_0x460988=new _0x478641(bi+_0x453c0c[_0x243dab(0x363)](X),{'pointsGroup':_0x55ee39,'fill':_0x251dfd||_0x2b558e(_0x33d253[_0x243dab(0x2ae)],0.2),'left':_0x3b8693,'top':_0xd1fe5a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x243dab(0x28d)]['push'](_0x460988),this['_scene'][_0x243dab(0x234)](_0x460988,_0x52d738);}[_0x1cbc19(0x241)](_0x268db6,_0x23a0f6,_0x32fd80,_0x50917d){const _0x4afe96=_0x1cbc19,_0x1d696e=new _0x1a2afe(_0x268db6)['setAlpha'](0.2)[_0x4afe96(0x32f)](),_0x58ed66=new _0x478641(Ti+_0x453c0c[_0x4afe96(0x363)](X),{'pointsGroup':_0x23a0f6,'fill':_0x1d696e||_0x2b558e(_0x33d253[_0x4afe96(0x2ae)],0.2),'left':_0x32fd80,'top':_0x50917d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4afe96(0x21f)](_0x58ed66),this['_scene'][_0x4afe96(0x234)](_0x58ed66,_0x52d738);}[_0x1cbc19(0x269)](_0x18d969){const _0x5072c1=_0x18d969[0x0],_0x5b21a9=_0x5072c1[0x0],_0x30e8ca=_0x5072c1[0x2],{x:_0x211e4a,y:_0x251da}=_0x5b21a9,{x:_0x62c8cb,y:_0x23a788}=_0x30e8ca;return{'left':_0x211e4a,'top':_0x251da,'width':_0x62c8cb-_0x211e4a,'height':_0x23a788-_0x251da};}[_0x1cbc19(0x1ca)](){const _0x5a5e4c=_0x1cbc19,{scaleX:_0x1c07b9,scaleY:_0x5bfe1c}=this[_0x5a5e4c(0x2fc)]['getAncestorScale']();return Math['max'](_0x1c07b9,_0x5bfe1c);}}var Ui=Object[_0x1cbc19(0x24d)],Mi=(_0x312167,_0x512947,_0x540a,_0x40fff1)=>{const _0x394a63=_0x1cbc19;for(var _0x147532=_0x40fff1>0x1?void 0x0:_0x40fff1?Ui(_0x512947,_0x540a):_0x512947,_0x520e17=_0x312167[_0x394a63(0x292)]-0x1,_0x3c0aee;_0x520e17>=0x0;_0x520e17--)(_0x3c0aee=_0x312167[_0x520e17])&&(_0x147532=_0x3c0aee(_0x147532)||_0x147532);return _0x147532;},Z=(_0xc1fe25,_0x49be38)=>(_0x29aa76,_0x4115ba)=>_0x49be38(_0x29aa76,_0x4115ba,_0xc1fe25);let Le=class extends _0x12295e{constructor(_0x54ca8a,_0x2d8c36,_0x269fe5,_0x5a17fa,_0x4350fc){const _0x55c315=_0x1cbc19;super(),_(this,'_cursorShapes',[]),_(this,_0x55c315(0x3a9),[]),(this[_0x55c315(0x3b0)]=_0x54ca8a,this['_docSkeletonManagerService']=_0x2d8c36,this[_0x55c315(0x222)]=_0x269fe5,this[_0x55c315(0x1dc)]=_0x5a17fa,this[_0x55c315(0x244)]=_0x4350fc,this[_0x55c315(0x207)]());}[_0x1cbc19(0x207)](){const _0x23f9e3=_0x1cbc19,_0x29fe1f=this[_0x23f9e3(0x3b0)]['unitId'],_0x2ea258=this[_0x23f9e3(0x1d3)];this[_0x23f9e3(0x287)](_0x932e52([this['_collabCursorController'][_0x23f9e3(0x395)](_0x29fe1f),this['_themeService']['currentTheme$']])[_0x23f9e3(0x297)](_0x21917f(([_0x52e1e0,_0x5528e5])=>({'skeleton':_0x2ea258[_0x23f9e3(0x1f9)](),'cursors':[..._0x52e1e0[_0x23f9e3(0x25f)]()]['flatMap'](_0x4da562=>({..._0x4da562,'color':this[_0x23f9e3(0x244)][_0x23f9e3(0x2b4)](_0x4da562[_0x23f9e3(0x32d)])}))})))[_0x23f9e3(0x2da)](_0x3ee089=>{const _0x4fabc4=_0x23f9e3;if(this[_0x4fabc4(0x35f)](),_0x3ee089){const {skeleton:_0x542aac,cursors:_0x3bbf68}=_0x3ee089;this['_updateCollabCursors'](_0x542aac,_0x3bbf68);}})),this[_0x23f9e3(0x34a)](),this['_initCommandExecutedListener']();}[_0x1cbc19(0x1ce)](_0x31bfb2,_0x5bd2b0){const _0x153a43=_0x1cbc19,{scene:_0x3d81d4,mainComponent:_0x5521d7}=this[_0x153a43(0x3b0)],_0x2bc000=_0x5bd2b0[_0x153a43(0x1fa)](_0x31bc23=>new qe(_0x31bc23,_0x3d81d4,_0x31bfb2,_0x5521d7));this[_0x153a43(0x2c3)]=_0x2bc000,this[_0x153a43(0x3a9)]=_0x5bd2b0;}['_refreshCollabCursors'](){const _0x5b0f2d=_0x1cbc19;this[_0x5b0f2d(0x35f)]();const {scene:_0x441f44,mainComponent:_0x4381f0}=this[_0x5b0f2d(0x3b0)],_0x1739e0=this['_docSkeletonManagerService']['getSkeleton'](),_0x17be11=this[_0x5b0f2d(0x3a9)][_0x5b0f2d(0x1fa)](_0x15cb82=>new qe(_0x15cb82,_0x441f44,_0x1739e0,_0x4381f0));this[_0x5b0f2d(0x2c3)]=_0x17be11;}[_0x1cbc19(0x35f)](){const _0x18b3d3=_0x1cbc19;this[_0x18b3d3(0x2c3)][_0x18b3d3(0x2f1)](_0x5bf90a=>_0x5bf90a[_0x18b3d3(0x280)]()),this[_0x18b3d3(0x2c3)]=[];}['_initCommandExecutedListener'](){const _0xb1728f=_0x1cbc19,_0x10fab=[_0xe373af['id']];this[_0xb1728f(0x287)](this[_0xb1728f(0x1dc)][_0xb1728f(0x1d9)](_0x2f69c0=>{const _0x325862=_0xb1728f;_0x10fab['includes'](_0x2f69c0['id'])&&_0x2f69c0[_0x325862(0x305)]['unitId']===this['_context']['unitId']&&this[_0x325862(0x27f)]();}));}['_initResize'](){const _0x1d74d8=_0x1cbc19;this['disposeWithMe'](_0x15f510(this[_0x1d74d8(0x3b0)]['engine']['onTransformChange$'])[_0x1d74d8(0x297)](_0x163d28(_0x1c5386=>_0x1c5386[_0x1d74d8(0x261)]===_0x1d9195[_0x1d74d8(0x2b2)]),_0x12e749(0x10))['subscribe'](()=>{const _0x5431f9=_0x1d74d8;this[_0x5431f9(0x27f)]();}));}};Le=Mi([Z(0x1,_0x460d70(_0x539b57)),Z(0x2,_0x460d70(H)),Z(0x3,_0x23450b),Z(0x4,_0x460d70(_0x5a6429))],Le);const Li=0x1,Pi=1.5;class wi extends _0x52b8b4{constructor(_0x1b6e17,_0x5dd8fd){const _0x1730f8=_0x1cbc19;super(_0x1b6e17,_0x5dd8fd),_(this,_0x1730f8(0x2be)),_(this,_0x1730f8(0x3c0),!0x1),_(this,'_range'),_(this,_0x1730f8(0x2ed),''),_(this,'_labelPosition',_0x1730f8(0x2f2)),_(this,_0x1730f8(0x2d7)),(_0x5dd8fd&&this[_0x1730f8(0x1da)](_0x5dd8fd),this[_0x1730f8(0x2fd)][_0x1730f8(0x1fc)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1730f8(0x1fc)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x359ff1){const _0x57fe53=_0x1cbc19;var _0x9cc026,_0x1df212,_0x27ef01,_0x4085ce,_0x2daa4b,_0x4009e3;this[_0x57fe53(0x2be)]=(_0x9cc026=_0x359ff1[_0x57fe53(0x32d)])!=null?_0x9cc026:this[_0x57fe53(0x2be)],this[_0x57fe53(0x3c0)]=(_0x1df212=_0x359ff1[_0x57fe53(0x331)])!=null?_0x1df212:this[_0x57fe53(0x3c0)],this['_range']=(_0x27ef01=_0x359ff1[_0x57fe53(0x2a6)])!=null?_0x27ef01:this[_0x57fe53(0x333)],this['_name']=(_0x4085ce=_0x359ff1[_0x57fe53(0x223)])!=null?_0x4085ce:this[_0x57fe53(0x2ed)],this[_0x57fe53(0x247)]=(_0x2daa4b=_0x359ff1['labelPosition'])!=null?_0x2daa4b:this[_0x57fe53(0x247)],this[_0x57fe53(0x2d7)]=(_0x4009e3=_0x359ff1[_0x57fe53(0x3b2)])!=null?_0x4009e3:this[_0x57fe53(0x2d7)],this['transformByState']({'width':_0x359ff1[_0x57fe53(0x340)],'height':_0x359ff1[_0x57fe53(0x1e5)]});}[_0x1cbc19(0x387)](_0x500c8d){const _0x3ad4f8=_0x1cbc19,{row:_0x3b62a6,column:_0x4d4fa6}=_0x500c8d;if(_0x3b62a6>=this[_0x3ad4f8(0x333)][_0x3ad4f8(0x1e7)]&&_0x3b62a6<=this['_range']['endRow']&&_0x4d4fa6>=this[_0x3ad4f8(0x333)][_0x3ad4f8(0x300)]&&_0x4d4fa6<=this[_0x3ad4f8(0x333)][_0x3ad4f8(0x225)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3ad4f8(0x1da)]({'hovered':!0x1});}['triggerDblclick'](_0x398bb4){return!0x1;}['_draw'](_0x1d6806){const _0x237367=_0x1cbc19;_0x13b364[_0x237367(0x2e9)](_0x1d6806,{'width':this['width'],'height':this[_0x237367(0x1e5)],'strokeWidth':Pi,'stroke':this[_0x237367(0x2be)],'evented':!0x1,'fill':this[_0x237367(0x2d7)]}),this[_0x237367(0x3c0)]&&(_0x1d6806['save'](),_0x1d6806[_0x237367(0x3c4)](0x1,0x0,0x0,0x1,this[_0x237367(0x340)],this[_0x237367(0x247)]===_0x237367(0x290)?0x0:-0x14),he['drawWith'](_0x1d6806,{'text':this[_0x237367(0x2ed)],'color':this['_color']}),_0x1d6806[_0x237367(0x38d)]());}}var Ai=Object[_0x1cbc19(0x24d)],yi=(_0x4e2c8c,_0x591a45,_0x409b2d,_0x5c1981)=>{for(var _0x3a302e=_0x5c1981>0x1?void 0x0:_0x5c1981?Ai(_0x591a45,_0x409b2d):_0x591a45,_0x1d9332=_0x4e2c8c['length']-0x1,_0x408ae4;_0x1d9332>=0x0;_0x1d9332--)(_0x408ae4=_0x4e2c8c[_0x1d9332])&&(_0x3a302e=_0x408ae4(_0x3a302e)||_0x3a302e);return _0x3a302e;},ve=(_0x387f84,_0x9b3266)=>(_0x443970,_0x511d1d)=>_0x9b3266(_0x443970,_0x511d1d,_0x387f84);const $i=0x1389;let Pe=class extends _0x12295e{constructor(_0x191dc7,_0x4a0294,_0x15f349,_0x55ff7f){const _0x49d99d=_0x1cbc19;super(),_(this,_0x49d99d(0x3a9),new Set()),_(this,'_lastPointer',null),(this[_0x49d99d(0x3b0)]=_0x191dc7,this[_0x49d99d(0x3b4)]=_0x4a0294,this[_0x49d99d(0x222)]=_0x15f349,this[_0x49d99d(0x244)]=_0x55ff7f,this['_init']());}['_init'](){const _0x43e104=_0x1cbc19;this[_0x43e104(0x3b4)][_0x43e104(0x22f)][_0x43e104(0x297)](_0x33324f(this[_0x43e104(0x3b3)]),_0x3c77fd(_0x1dfffc=>{const _0x2744be=_0x43e104;if(_0x1dfffc){const _0x5c9583=_0x1dfffc[_0x2744be(0x394)];return _0x932e52(this[_0x2744be(0x222)][_0x2744be(0x395)](this[_0x2744be(0x3b0)][_0x2744be(0x378)]),this[_0x2744be(0x244)][_0x2744be(0x30e)])[_0x2744be(0x297)](_0x21917f(([_0x476d84,_0x15fbf2])=>{const _0x209759=_0x2744be,_0x501c74=new Map();return _0x476d84[_0x209759(0x2f1)]((_0x235ba6,_0x7cd739)=>{const _0x1179b4=_0x209759;if(_0x235ba6[_0x1179b4(0x206)]===_0x5c9583){const _0x1fb40d={..._0x235ba6};_0x1fb40d[_0x1179b4(0x32d)]=this[_0x1179b4(0x244)][_0x1179b4(0x2b4)](_0x235ba6[_0x1179b4(0x32d)]),_0x501c74[_0x1179b4(0x325)](_0x7cd739,_0x1fb40d);}}),{'skeleton':_0x1dfffc,'cursors':_0x501c74};}));}return _0x82a43a({'skeleton':null,'cursors':new Map()});}))[_0x43e104(0x2da)](({skeleton:_0x2aec93,cursors:_0x46f457})=>{const _0x5066b5=_0x43e104;this['_removeCollabCursors'](),_0x2aec93&&this[_0x5066b5(0x1ce)](_0x2aec93,_0x46f457);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x43e104(0x2da)](_0x2f51d0=>{const _0x56b585=_0x43e104;if(_0x2f51d0==null)return;const {skeleton:_0x5daa50}=_0x2f51d0,{scene:_0x228148}=this[_0x56b585(0x3b0)];_0x228148[_0x56b585(0x372)][_0x56b585(0x1fc)](_0x35b72c(_0x2c0951=>{const _0xb21529=_0x56b585;var _0x1c388d,_0x1f85da;const {offsetX:_0x3c8140,offsetY:_0x46db8f}=_0x2c0951,{x:_0xafeb74,y:_0x340f5a}=_0x228148[_0xb21529(0x2c4)](_0x1cfb90[_0xb21529(0x1c7)]([_0x3c8140,_0x46db8f])),{scaleX:_0x388c71,scaleY:_0x214b1d}=_0x228148['getAncestorScale'](),_0x3b14b2=_0x228148[_0xb21529(0x302)](_0x2cd879['VIEW_MAIN']),_0x48cfde=_0x228148[_0xb21529(0x313)](_0x1cfb90[_0xb21529(0x1c7)]([_0xafeb74,_0x340f5a]),_0x3b14b2),_0x52870d=_0x5daa50[_0xb21529(0x251)](_0x3c8140,_0x46db8f,_0x388c71,_0x214b1d,_0x48cfde);((_0x1c388d=this[_0xb21529(0x2c8)])==null?void 0x0:_0x1c388d[_0xb21529(0x233)])===_0x52870d['column']&&((_0x1f85da=this[_0xb21529(0x2c8)])==null?void 0x0:_0x1f85da[_0xb21529(0x3a8)])===_0x52870d[_0xb21529(0x3a8)]||this['_cursors'][_0xb21529(0x2f1)](_0xcf69ed=>{_0xcf69ed['onMouseMove'](_0x52870d);});},0x64));});}['_updateCollabCursors'](_0x559938,_0x11c95e){const _0x4e1cc4=_0x1cbc19;var _0x55fa43;const _0x308f03=(_0x55fa43=this[_0x4e1cc4(0x3b4)][_0x4e1cc4(0x306)]())==null?void 0x0:_0x55fa43[_0x4e1cc4(0x204)];if(!_0x308f03)return;const _0x4fdfbb=this['_getSheetObject']();if(!_0x4fdfbb)return;this[_0x4e1cc4(0x3a9)][_0x4e1cc4(0x2f1)](_0x54a5b5=>{_0x54a5b5['makeDirty']();});const {scene:_0x491827}=_0x4fdfbb,_0x5b6055=xi(Array['from'](_0x11c95e['values']()))[_0x4e1cc4(0x1fa)](_0x1b9ca5=>{const _0x459392=_0x4e1cc4,{color:_0xf15388,range:_0x2b6e92,name:_0x10e427,selection:_0x278651,sheetID:_0x576d47}=_0x1b9ca5,{startColumn:_0x3a856a,startRow:_0x12eb66,endColumn:_0x2087cd,endRow:_0x5bf657}=_0x2b6e92,_0x3b3efb=_0x3894f8(_0x12eb66,_0x3a856a,_0x491827,_0x308f03),_0x139ec5=_0x3894f8(_0x5bf657,_0x2087cd,_0x491827,_0x308f03),{columnHeaderHeightAndMarginTop:_0x22644b}=_0x308f03,{startX:_0x4be9ed,startY:_0x1139fb}=_0x3b3efb,{endX:_0x37d4ea,endY:_0x90e74b}=_0x139ec5,_0x909c3=_0x37d4ea-_0x4be9ed,_0x4b601d=_0x90e74b-_0x1139fb,_0x461125={'labelPosition':_0x1139fb-_0x22644b>=ee?_0x459392(0x2f2):_0x459392(0x290),'sheetID':_0x576d47,'range':_0x2b6e92,'color':_0xf15388,'name':_0x10e427,'selection':_0x278651,'left':_0x4be9ed,'top':_0x1139fb,'width':_0x909c3,'height':_0x4b601d,'evented':!0x1,'zIndex':$i};return new wi(_0x10e427,_0x461125);});_0x491827[_0x4e1cc4(0x31d)](_0x5b6055,Li),this[_0x4e1cc4(0x3a9)]=new Set(_0x5b6055);}[_0x1cbc19(0x35f)](){const _0x3fbe5d=_0x1cbc19;var _0x495357;(_0x495357=this['_cursors'])==null||_0x495357[_0x3fbe5d(0x2f1)](_0x394d21=>_0x394d21['dispose']());}[_0x1cbc19(0x1f4)](){const _0x3ed4cc=_0x1cbc19;return _0x53c735(this[_0x3ed4cc(0x3b0)][_0x3ed4cc(0x226)],this[_0x3ed4cc(0x3b0)]);}};Pe=yi([ve(0x1,_0x460d70(_0x41a95c)),ve(0x2,_0x460d70(H)),ve(0x3,_0x460d70(_0x5a6429))],Pe);function xi(_0x102627){const _0x5c349a=_0x1cbc19,_0x3dff83=new Map();return _0x102627[_0x5c349a(0x2f1)](_0x51139d=>{const _0x1d6fbf=_0x5c349a;if(_0x3dff83[_0x1d6fbf(0x23e)](_0x51139d[_0x1d6fbf(0x2fa)])){const _0xdd519=_0x3dff83[_0x1d6fbf(0x31b)](_0x51139d['selection']);_0xdd519['name']+=',\x20'+_0x51139d[_0x1d6fbf(0x223)];}else _0x3dff83['set'](_0x51139d[_0x1d6fbf(0x2fa)],_0x51139d);}),Array[_0x5c349a(0x2e4)](_0x3dff83[_0x5c349a(0x25f)]());}var v=function(){const _0x4d7db6=_0x1cbc19;return v=Object['assign']||function(_0x1ae8f4){const _0x22aefa=_0x564b;for(var _0x1c53c3,_0x160c04=0x1,_0x3139f6=arguments[_0x22aefa(0x292)];_0x160c04<_0x3139f6;_0x160c04++){_0x1c53c3=arguments[_0x160c04];for(var _0x3f8609 in _0x1c53c3)Object['prototype'][_0x22aefa(0x39b)][_0x22aefa(0x245)](_0x1c53c3,_0x3f8609)&&(_0x1ae8f4[_0x3f8609]=_0x1c53c3[_0x3f8609]);}return _0x1ae8f4;},v[_0x4d7db6(0x3a3)](this,arguments);},Bi=function(_0x54193b,_0x2b232b){const _0x549094=_0x1cbc19;var _0x56cfec={};for(var _0x32c168 in _0x54193b)Object[_0x549094(0x23d)][_0x549094(0x39b)][_0x549094(0x245)](_0x54193b,_0x32c168)&&_0x2b232b['indexOf'](_0x32c168)<0x0&&(_0x56cfec[_0x32c168]=_0x54193b[_0x32c168]);if(_0x54193b!=null&&typeof Object[_0x549094(0x227)]==_0x549094(0x323)){for(var _0x4c34d2=0x0,_0x32c168=Object['getOwnPropertySymbols'](_0x54193b);_0x4c34d2<_0x32c168['length'];_0x4c34d2++)_0x2b232b[_0x549094(0x38a)](_0x32c168[_0x4c34d2])<0x0&&Object[_0x549094(0x23d)][_0x549094(0x224)][_0x549094(0x245)](_0x54193b,_0x32c168[_0x4c34d2])&&(_0x56cfec[_0x32c168[_0x4c34d2]]=_0x54193b[_0x32c168[_0x4c34d2]]);}return _0x56cfec;},Fe=_0x30bae2(function(_0x136a54,_0x4cd618){const _0x4a7367=_0x1cbc19;var _0x433368=_0x136a54[_0x4a7367(0x365)],_0x5db6e2=_0x136a54['id'],_0xf32d19=_0x136a54[_0x4a7367(0x2a0)],_0x5d6807=_0x136a54[_0x4a7367(0x36b)],_0x48aa07=Bi(_0x136a54,[_0x4a7367(0x365),'id',_0x4a7367(0x2a0),_0x4a7367(0x36b)]),_0x3d6b69=_0x4a7367(0x388)[_0x4a7367(0x311)](_0x5db6e2,'\x20')[_0x4a7367(0x311)](_0xf32d19||'')[_0x4a7367(0x2c0)](),_0x5f289e=_0x5497fc('_'['concat'](Fi()));return Rt(_0x433368,''[_0x4a7367(0x311)](_0x5db6e2),{'defIds':_0x433368[_0x4a7367(0x30a)],'idSuffix':_0x5f289e[_0x4a7367(0x250)]},v({'ref':_0x4cd618,'className':_0x3d6b69},_0x48aa07),_0x5d6807);});function Rt(_0x59bfe1,_0x35dd09,_0x574c86,_0xe2a3b9,_0x55872c){const _0x47d39b=_0x1cbc19;return _0x14d164(_0x59bfe1[_0x47d39b(0x2ca)],v(v({'key':_0x35dd09},ki(_0x59bfe1,_0x574c86,_0x55872c)),_0xe2a3b9),(Hi(_0x59bfe1,_0x574c86)['children']||[])[_0x47d39b(0x1fa)](function(_0x4bc7a3,_0x1a548f){const _0x502d97=_0x47d39b;return Rt(_0x4bc7a3,''['concat'](_0x35dd09,'-')[_0x502d97(0x311)](_0x59bfe1[_0x502d97(0x2ca)],'-')['concat'](_0x1a548f),_0x574c86,void 0x0,_0x55872c);}));}function ki(_0x2e526d,_0x3a50e7,_0x2a30f3){const _0x1e8b47=_0x1cbc19;var _0x5abdc7=v({},_0x2e526d['attrs']);_0x2a30f3!=null&&_0x2a30f3[_0x1e8b47(0x35b)]&&_0x5abdc7[_0x1e8b47(0x1f1)]===_0x1e8b47(0x35b)&&(_0x5abdc7['fill']=_0x2a30f3[_0x1e8b47(0x35b)]),_0x2e526d['tag']===_0x1e8b47(0x396)&&_0x5abdc7['id']&&(_0x5abdc7['id']=_0x5abdc7['id']+_0x3a50e7[_0x1e8b47(0x23c)]),Object[_0x1e8b47(0x2b6)](_0x5abdc7)['forEach'](function(_0x2f00d6){const _0x4db73d=_0x1e8b47;var _0x32ebec=_0x2f00d6[0x0],_0xde7a04=_0x2f00d6[0x1];_0x32ebec===_0x4db73d(0x396)&&typeof _0xde7a04==_0x4db73d(0x384)&&(_0x5abdc7[_0x32ebec]=_0xde7a04[_0x4db73d(0x2d9)](/url\(#(.*)\)/,_0x4db73d(0x366)[_0x4db73d(0x311)](_0x3a50e7[_0x4db73d(0x23c)],')')));});var _0x161d4c=_0x3a50e7[_0x1e8b47(0x30a)];return!_0x161d4c||_0x161d4c['length']===0x0||(_0x2e526d[_0x1e8b47(0x2ca)]===_0x1e8b47(0x359)&&_0x5abdc7[_0x1e8b47(0x37c)]&&(_0x5abdc7['xlink:href']=_0x5abdc7[_0x1e8b47(0x37c)]+_0x3a50e7[_0x1e8b47(0x23c)]),Object[_0x1e8b47(0x2b6)](_0x5abdc7)[_0x1e8b47(0x2f1)](function(_0x484c3b){const _0x546022=_0x1e8b47;var _0x145364=_0x484c3b[0x0],_0x27ce26=_0x484c3b[0x1];typeof _0x27ce26==_0x546022(0x384)&&(_0x5abdc7[_0x145364]=_0x27ce26[_0x546022(0x2d9)](/url\(#(.*)\)/,_0x546022(0x366)['concat'](_0x3a50e7[_0x546022(0x23c)],')')));})),_0x5abdc7;}function Hi(_0x303665,_0x2da953){const _0x1bb061=_0x1cbc19;var _0xdebe4d,_0x1b07bb=_0x2da953[_0x1bb061(0x30a)];return!_0x1b07bb||_0x1b07bb['length']===0x0?_0x303665:_0x303665[_0x1bb061(0x2ca)]===_0x1bb061(0x3ce)&&(!((_0xdebe4d=_0x303665['children'])===null||_0xdebe4d===void 0x0)&&_0xdebe4d[_0x1bb061(0x292)])?v(v({},_0x303665),{'children':_0x303665['children'][_0x1bb061(0x1fa)](function(_0x301748){const _0x4b87a8=_0x1bb061;return typeof _0x301748[_0x4b87a8(0x335)]['id']=='string'&&_0x1b07bb&&_0x1b07bb[_0x4b87a8(0x2a1)](_0x301748[_0x4b87a8(0x335)]['id'])?v(v({},_0x301748),{'attrs':v(v({},_0x301748[_0x4b87a8(0x335)]),{'id':_0x301748[_0x4b87a8(0x335)]['id']+_0x2da953[_0x4b87a8(0x23c)]})}):_0x301748;})}):_0x303665;}function Fi(){const _0x586fe1=_0x1cbc19;return Math[_0x586fe1(0x274)]()['toString'](0x24)[_0x586fe1(0x239)](0x2,0x8);}Fe['displayName']=_0x1cbc19(0x360);var Yi={'tag':'svg','attrs':{'xmlns':_0x1cbc19(0x3cd),'fill':'none','viewBox':_0x1cbc19(0x386),'width':_0x1cbc19(0x3c6),'height':_0x1cbc19(0x3c6)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cbc19(0x38c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x1cbc19(0x212),'strokeLinejoin':_0x1cbc19(0x212),'strokeWidth':1.2}}]},{'tag':_0x1cbc19(0x3ce),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1cbc19(0x355)},'children':[{'tag':_0x1cbc19(0x2d3),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1cbc19(0x355)]},Dt=_0x30bae2(function(_0x1c304f,_0x57b510){const _0x59c332=_0x1cbc19;return _0x14d164(Fe,Object[_0x59c332(0x229)]({},_0x1c304f,{'id':_0x59c332(0x28f),'ref':_0x57b510,'icon':Yi}));});Dt[_0x1cbc19(0x351)]=_0x1cbc19(0x310);var ji={'tag':_0x1cbc19(0x308),'attrs':{'xmlns':_0x1cbc19(0x3cd),'fill':_0x1cbc19(0x28e),'viewBox':_0x1cbc19(0x379),'width':_0x1cbc19(0x3c6),'height':_0x1cbc19(0x3c6)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cbc19(0x3b7)},'children':[{'tag':_0x1cbc19(0x2d3),'attrs':{'stroke':_0x1cbc19(0x252),'d':_0x1cbc19(0x2ce),'strokeLinecap':_0x1cbc19(0x212),'strokeLinejoin':_0x1cbc19(0x212),'strokeWidth':1.2}}]},{'tag':_0x1cbc19(0x3ce),'attrs':{},'children':[{'tag':_0x1cbc19(0x29f),'attrs':{'id':_0x1cbc19(0x3af)},'children':[{'tag':_0x1cbc19(0x2d3),'attrs':{'fill':'white','d':_0x1cbc19(0x22a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1cbc19(0x3af)]},Nt=_0x30bae2(function(_0x6eb3ec,_0x5d3f80){const _0x37ccbe=_0x1cbc19;return _0x14d164(Fe,Object['assign']({},_0x6eb3ec,{'id':_0x37ccbe(0x2b3),'ref':_0x5d3f80,'icon':ji}));});Nt['displayName']=_0x1cbc19(0x2a5);function Vi(_0x3cdae6){const _0x543393=_0x1cbc19;switch(_0x3cdae6){case _0x3032ea[_0x543393(0x270)]:return _0x543393(0x34f);case _0x3032ea[_0x543393(0x20d)]:return _0x543393(0x285);case _0x3032ea[_0x543393(0x381)]:return _0x543393(0x307);case _0x3032ea['NOT_COLLAB']:return _0x543393(0x33d);case _0x3032ea['AWAITING']:case _0x3032ea[_0x543393(0x3a6)]:return'collabStatus.syncing';case _0x3032ea[_0x543393(0x3b1)]:case _0x3032ea['PENDING']:return _0x543393(0x304);}}function Wi(_0x4f0c64){const _0x9e7ae0=_0x1cbc19,{status$:_0x32f91b}=_0x4f0c64,_0x52cdf2=_0x145c69(_0x32f91b,_0x3032ea[_0x9e7ae0(0x344)]),_0x4df6c4=_0x229f2a(_0x321c7b),_0x598ea6=_0x229f2a(_0x443056),_0x68b220=_0x52cdf2!==_0x3032ea[_0x9e7ae0(0x270)],_0x54ff20=_0x4df6c4['t'](Vi(_0x52cdf2)),_0x19c13c=_0x68b220?_0x3d8dd8(Nt,{}):_0x3d8dd8(Dt,{}),_0x36eda4=_0x39ef0c(()=>{_0x68b220||_0x598ea6['reconnect']();},[_0x68b220,_0x598ea6]);function _0x585b50(){const _0x28b6f5=_0x9e7ae0;return _0x43064e(_0x28b6f5(0x2ef),{'className':_0x28b6f5(0x3a5),'onClick':_0x36eda4,'children':[_0x3d8dd8(_0x28b6f5(0x2ef),{'className':_0x220fa7(_0x28b6f5(0x275),{'univer-text-green-500':_0x68b220,'univer-text-red-500':!_0x68b220}),'children':_0x19c13c}),_0x3d8dd8(_0x28b6f5(0x2ef),{'className':_0x28b6f5(0x391),'children':_0x54ff20})]});}return _0x68b220?_0x585b50():_0x3d8dd8(_0x8ebd63,{'title':_0x4df6c4['t']('collab-client.tooltip.reconnect'),'children':_0x585b50()});}var Xi=Object[_0x1cbc19(0x24d)],Gi=(_0x3b51bc,_0x1077c2,_0x2e04f6,_0x426557)=>{const _0x252245=_0x1cbc19;for(var _0x3b8955=_0x426557>0x1?void 0x0:_0x426557?Xi(_0x1077c2,_0x2e04f6):_0x1077c2,_0x3d4782=_0x3b51bc[_0x252245(0x292)]-0x1,_0x1b50e9;_0x3d4782>=0x0;_0x3d4782--)(_0x1b50e9=_0x3b51bc[_0x3d4782])&&(_0x3b8955=_0x1b50e9(_0x3b8955)||_0x3b8955);return _0x3b8955;},Q=(_0x41a6da,_0x40e056)=>(_0x46be99,_0x46b0cc)=>_0x40e056(_0x46be99,_0x46b0cc,_0x41a6da);let te=class extends _0x24e7ca{constructor(_0x53712a,_0x3e4de7,_0x50b62f,_0x170eff){const _0x964364=_0x1cbc19;super(),_(this,_0x964364(0x1c8),new _0x4646ea(_0x3032ea[_0x964364(0x344)])),(this[_0x964364(0x2bd)]=_0x53712a,this[_0x964364(0x3b6)]=_0x3e4de7,this[_0x964364(0x301)]=_0x50b62f,this[_0x964364(0x1d1)]=_0x170eff,this[_0x964364(0x1fb)](),this[_0x964364(0x319)]());}['_initStatusListener'](){const _0x52628=_0x1cbc19;this['disposeWithMe'](this[_0x52628(0x2bd)]['focused$'][_0x52628(0x297)](_0x5c1c28(()=>{const _0x488585=_0x52628,_0x3485d8=this[_0x488585(0x2bd)][_0x488585(0x341)]();return _0x3485d8?this['_collaborationController'][_0x488585(0x25a)](_0x3485d8[_0x488585(0x3aa)]()):_0x82a43a(null);}),_0x5c1c28(_0x352c94=>_0x352c94?_0x352c94[_0x52628(0x37b)]:_0x82a43a(_0x3032ea[_0x52628(0x344)])))[_0x52628(0x2da)](_0x5c983a=>{const _0x31d02b=_0x52628;this['_status$'][_0x31d02b(0x29e)](_0x5c983a);}));}[_0x1cbc19(0x1fb)](){const _0x2b6366=_0x1cbc19;this[_0x2b6366(0x287)](this['_uiPartsService']['registerComponent'](_0x2e5948[_0x2b6366(0x1cd)],()=>_0xe16bd3(Ki({'status$':this['_status$'][_0x2b6366(0x337)]()}),this[_0x2b6366(0x3b6)])));}};function _0x3429(){const _0xea4ab8=['override','selections','OFFLINE','transformRemoteChangeset','_session','_assignedColors','random','univer-mr-2\x20univer-flex\x20univer-text-xl','_initEvent','_docClipboardService','/run/','_collabSessionService','244592bZpkgK','YUUMI_SUBSCRIPTION_NOT_FOUND','roomMembers','editingUnit','UNAUTHENTICATED','_refreshCollabCursors','dispose','#FFF','getSheetBySheetId','...','session.will-retry','collabStatus.conflict','_entityInit$','disposeWithMe','_anchorDot','pluginName','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clearTimeout','stringify','_shapes','none','off-line-icon','bottom','PY_RUNTIME_SCRIPT_ERROR','length','getMergeData','_selfUnitIDs','_textBubble','disableLocalCache','pipe','setActiveRange','runId','_imageIoService','UNDEFINED','requireSession','createInstance','next','clipPath','className','includes','find','SUBMIT_CHANGESET_TIMEOUT','urlChange$','OnLineIcon','range','location','_roomMembers$','text','_beforeCloseService','_handleHover','textRanges','parse','black','_docTransformSelectionsService','_localeService','_updateURLWithCurrentState','resize','on-line-icon','getColorFromTheme','getRangePointData','entries','APPLY_PERMISSION_DENIED','createSocket','_collaborationUIEventService','complete','_entities','memberID','_univerInstanceService','_color','_renderManagerService','trim','searchParams','_dataLoaderService','_cursorShapes','getRelativeToViewportCoord','isActive','setConfig','_docSkeleton','_lastPointer','pushState','tag','mutations','_collabCursorState$','cursorInfo','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','unitID','_refRangeService','evenodd','InsertRangeMoveRightCommandId','path','clearInterval','PERMISSION_DENIED','APPLY_REVISION_CONFILICT','_backgroundColor','key','replace','subscribe','_urlService','collaboration-client.offline-data-not-saved','_saveTaskMap','transformStateCache','roomMembers$','USERS_LEAVE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','from','permission.content','CLOSE_ROOM','ticket','_revisionService','drawWith','YUUMI_AI_RUN_FAILED','_updateLocalCursor','UNIVER_SHEET','_name','add','div','APPLY_NON_SEQUENTIAL_REVISION','forEach','top','delete','ranges','with','show','href','saveImage','_anchor','selection','toString','_scene','onPointerEnter$','getSheetId','getItem','startColumn','_collaborationController','getViewport','_id','collabStatus.synced','params','getCurrent','collabStatus.fetchMiss','svg','enableLocalCache','defIds','LICENSE_DISTRO_REJECTED','source','setAlpha','currentTheme$','INVALID_INVITE_CODE','OffLineIcon','concat','lineTo','getVpScrollXYInfoByPosToVp','_getSessionTicket','MOBILE_HAS_BEEN_BOUND','registerBeforeClose','DeleteRangeMoveUpCommandId','history','_initStatusListener','event$','get','_logService','addObjects','setUndoRedoMutationParamsCache','YUUMI_CONNECTOR_URL_NOT_FOUND','contains','_docSyncEditingCollabCursorService','66unkiOk','function','ONLINE','set','init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_ensureSubject','_hideTimer','jiqing.500','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.connection-failed','color','getTypeOfUnitAdded$','toRgbString','ALREADY_EXISTS','hovered','onRendered','_range','doc.mutation.rich-text-editing','attrs','_onCursorDelete','asObservable','red.300','blue.400','MoveRangeCommandId','collaboration.single-unit.warning','getUniverSheetInstance','collabStatus.notCollab','measureText','getUnitStatus$','width','getFocusedUnit','LICENSE_MAX_UNITS_EXCEEDED','search','NOT_COLLAB','code','saveTaskMap','_drawTextRange','collaboration.closeRoom','symbol','_initResize','_disabled','disposeUnit','beginPath','assignAColorForMemberID','collabStatus.offline','_doCreateSocket','displayName','getActiveRange','CONNECTOR_DATA_TOO_LARGE','addEventListener','off-line-icon_clip0_910_343','JOIN_ROOM_FAILED','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','use','8390142TCxHhX','colorChannel1','data','registerRefRange','NO_OTHER_CLIENTS_EDITING','_removeCollabCursors','UniverIcon','onLocalMutation','moveTo','generateRandomId','getUnhiddenWorksheets','icon','url(#$1','body','InsertRowCommandId','ENSURE_SNAPSHOT_EXECUTION','_colorIndex','extend','getConfig','permission.title','YUUMI_UNABLE_LOAD_URL','_setupBeforeClosingHandler','arc','exhaustSavingTask','onPointerMove$','getStateCache','_localCacheService','replaceDocRanges','Unknown\x20user','transformMutationsWithChangeset','unitId','0\x200\x2017\x2016','getRenderById','status$','xlink:href','_docTransformStateCacheService','docStateChange$','getUndoRedoMutationParamsCache','_localStorageService','FETCH_MISS','USER_NOT_INVITED_CODE','undoState','string','uni.network.url-service','0\x200\x2016\x2016','onMouseMove','univerjs-icon\x20univerjs-icon-','_handleEvent','indexOf','_eventUnsubscribe','url(#off-line-icon_clip0_910_343)','restore','getCurrentRevOfUnit','session.collaboration-timeout','_getSaveTimeout','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','newValue','registerRenderModule','sheetId','getCollabCursors$','mask','unload','_removeClearOtherTimer','_memberService','entityInit$','hasOwnProperty','Error','_instanceService','TEXT','INVITE_CODE_REQUIRED','Warning','1320480BKFAKB','_clearOtherTimers','apply','COMPLETION_FINISHED','univer-flex\x20univer-items-center','AWAITING_WITH_PENDING','_handleLeaveEvent','row','_cursors','getUnitId','Failed','LOGIN_FAILED','1461446xWxAZo','_render','on-line-icon_clip0_910_349','_context','SYNCED','backgroundColor','dispose$','_sheetSkeletonManagerService','application/json','_injector','url(#on-line-icon_clip0_910_349)','fillText','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveSheet','_document','MOBILE_VERIFY_CODE_MISMATCH','closePath','collabCursorState$','_setupSubUnitSync','_hovered','YUUMI_RATE_OVER_LIMIT','popstate','isEditing','transform','_handleJoinEvent','1em','InsertColCommandId','YUUMI_URL_COL_OUT_OF_RANGE','then','_transformService','updateOfflineData','m1Prime','http://www.w3.org/2000/svg','defs','UNRECOGNIZED','_createSocketURL','FromArray','_status$','_docTransformIMECacheService','_getScale','wsSessionTicketUrl','split','HEADER_MENU','_updateCollabCursors','_scheduleClearOtherTimer','_getMergeRange','_uiPartsService','getTypeOfUnitDisposed$','_docSkeletonManagerService','runOnServer','EMAIL_VERIFY_CODE_MISMATCH','_startSheetCollabCursor','_toggleOnline','setItem','onCommandExecuted','setShapeProps','5625000cDmZoT','_commandService','getMember','debug','executeCommand','unshift','WECHAT_HAS_BEEN_BOUND','13428zGbuAe','getDocRanges','16080ocDbJb','height','_toggleOffline','startRow','[CollaborationDataLoaderController]','_hover','cursorInfo$','UNIVER_DOC','isArray','startsWith','DeleteRangeMoveLeftCommandId','INVITE_CODE_HAS_BEEN_UES','_cachedData','fill','NOT_FOUND','getValue','_getSheetObject','getCurrentUnitForType','setStateCache','_onRefRangeChange','5860491MTauNu','getSkeleton','map','_initStatusComponent','subscribeEvent','origin','_notificationService','_initEntityListener','UPDATE_CURSOR','SNAPSHOT_HAS_BEEN_REMOVED','ACTIVE_UNIT_EVENT_CHANNEL','_config','skeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sheetID','_init','_docStateChangeManagerService','_drawAnchor','SNAPSHOT_INVALID_SNAPSHOT','APPLY_REJECT','green.600','CONFLICT','loadUnit','collab-text-anchor-','replaceState','_cursor','round','size','subunit','result','_messageService','purple.300','saveOfflineData','send','onPointerLeave$','_saveCache','INVALID_ARGUMENT','transformIMECache','transformMutation','push','_heartbeatTimer','_transformHistoryAndStateStack','_collabCursorController','name','propertyIsEnumerable','endColumn','unit','getOwnPropertySymbols','addHandlerCallback','assign','M0\x200H16V16H0z','YUUMI_ALL_TABLES_IS_INVALID','_online','YUUMI_NO_CUBOID_FOR_QUESTION','save','currentSkeleton$','TOO_MANY_REQUESTS','INTERNAL_ERROR','removeParam','column','addObject','post','onStarting','fillRule','_registerRenderDependencies','substring','_transformPreviousActiveRange','_send','idSuffix','prototype','has','_syncEditingCollabCursorService','getOffsetConfig','_drawRectRange','OTHER_CLIENTS_EDITING','unsubscribe','_themeService','call','syncEditingCollabCursor','_labelPosition','_unitStatus','_onCursorUpdate','_unitOnClients','deepClone','_colorAssignService','getOwnPropertyDescriptor','subUnitId','error','current','getCellPositionByOffset','currentColor','_registerDependencies','_handleHeartbeatEvent','_scheduleSaving','m2Prime','getParam','_httpService','setParam','getCollabEntity$','collab-rect-range-','YUUMI_ASYNCIO_CANCELLED','activeSheet$','whenReady','values','sessionStatus$','type','transformSelections','CHANGESET_REVISION_CONFILICT','_updateSubUnitFromURLParams','RemoveColCommandId','_cursorInfo$','MUTATION','EMAIL_HAS_BEEN_BOUND','_getAnchorBounding','font','_configService','hide','min'];_0x3429=function(){return _0xea4ab8;};return _0x3429();}te=Gi([Q(0x0,_0x1993ec),Q(0x1,_0x460d70(_0x8c3420)),Q(0x2,_0x460d70(_0x50cc70)),Q(0x3,_0x66b7ea)],te);function Ki(_0x5e815b){const {status$:_0x3306c1}=_0x5e815b;return function(){return _0x3d8dd8(Wi,{'status$':_0x3306c1});};}var zi=Object[_0x1cbc19(0x24d)],Ji=(_0x2d9c20,_0x525298,_0x56ebf2,_0x59a5ef)=>{const _0x212dbc=_0x1cbc19;for(var _0x176b15=_0x59a5ef>0x1?void 0x0:_0x59a5ef?zi(_0x525298,_0x56ebf2):_0x525298,_0x22b325=_0x2d9c20[_0x212dbc(0x292)]-0x1,_0xd87b2c;_0x22b325>=0x0;_0x22b325--)(_0xd87b2c=_0x2d9c20[_0x22b325])&&(_0x176b15=_0xd87b2c(_0x176b15)||_0x176b15);return _0x176b15;},B=(_0x437cd8,_0x1c99d5)=>(_0x2c2062,_0x39597e)=>_0x1c99d5(_0x2c2062,_0x39597e,_0x437cd8);let se=class extends _0x24e7ca{constructor(_0x5e7c43,_0x180e4d,_0x5c675e,_0x1c38c8,_0x37710b,_0x21b0ae){const _0x3fed25=_0x1cbc19;super(),this[_0x3fed25(0x2aa)]=_0x5e7c43,this['_localCacheService']=_0x180e4d,this['_collaborationUIEventService']=_0x5c675e,this['_messageService']=_0x1c38c8,this[_0x3fed25(0x1fe)]=_0x37710b,this[_0x3fed25(0x2b0)]=_0x21b0ae,this[_0x3fed25(0x36f)](),this[_0x3fed25(0x276)]();}[_0x1cbc19(0x36f)](){const _0x844d60=_0x1cbc19;this['disposeWithMe'](this[_0x844d60(0x2aa)][_0x844d60(0x316)](()=>{const _0x36218d=_0x844d60;if(this[_0x36218d(0x374)][_0x36218d(0x346)]['size'])return this[_0x36218d(0x2b0)]['t'](_0x36218d(0x2dc));}));}['_initEvent'](){const _0x5b720c=_0x1cbc19;this['disposeWithMe'](this[_0x5b720c(0x2b9)][_0x5b720c(0x31a)][_0x5b720c(0x2da)](_0x14bdf5=>{const _0x2d0b12=_0x5b720c;_0x14bdf5['id']===_0xeda082['OTHER_CLIENT_EDITING']&&this[_0x2d0b12(0x216)][_0x2d0b12(0x2f6)]({'type':_0x4f7c78[_0x2d0b12(0x3a0)],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x33b))}),_0x14bdf5['id']===_0xeda082[_0x2d0b12(0x2e6)]&&this[_0x2d0b12(0x216)][_0x2d0b12(0x2f6)]({'type':_0x4f7c78['Warning'],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x348))}),_0x14bdf5['id']===_0xeda082[_0x2d0b12(0x2d5)]&&this[_0x2d0b12(0x1fe)][_0x2d0b12(0x2f6)]({'title':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x36d)),'content':this['_localeService']['t'](_0x2d0b12(0x2e5)),'type':'error','duration':0x0}),_0x14bdf5['id']===_0xeda082[_0x2d0b12(0x20d)]&&this[_0x2d0b12(0x216)][_0x2d0b12(0x2f6)]({'type':_0x4f7c78[_0x2d0b12(0x39c)],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x348))+'('+_0x14bdf5[_0x2d0b12(0x35c)]+')'}),_0x14bdf5['id']===_0xeda082[_0x2d0b12(0x356)]&&this[_0x2d0b12(0x216)][_0x2d0b12(0x2f6)]({'type':_0x4f7c78[_0x2d0b12(0x3a0)],'content':this['_localeService']['t'](_0x14bdf5[_0x2d0b12(0x35c)]||'')}),_0x14bdf5['id']===_0xeda082['SOCKET_FAILED_RETRY']&&this[_0x2d0b12(0x216)]['show']({'type':_0x4f7c78['Warning'],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x284))}),_0x14bdf5['id']===_0xeda082['SOCKET_FAILED']&&this['_messageService'][_0x2d0b12(0x2f6)]({'type':_0x4f7c78[_0x2d0b12(0x39c)],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x32c))}),_0x14bdf5['id']===_0xeda082[_0x2d0b12(0x2a3)]&&this[_0x2d0b12(0x216)][_0x2d0b12(0x2f6)]({'type':_0x4f7c78['Error'],'content':this[_0x2d0b12(0x2b0)]['t'](_0x2d0b12(0x38f))});}));}};se=Ji([B(0x0,_0x11c63a),B(0x1,_0x2e78bc),B(0x2,_0x460d70(_0x391f14)),B(0x3,_0x1e6986),B(0x4,_0x41077c),B(0x5,_0x460d70(_0x321c7b))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x3caba9(_0x1cbc19(0x385));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x27e000,_0x3db2cf,_0x2c9374,_0x5d9f34)=>{const _0x44f11f=_0x1cbc19;for(var _0x3518be=_0x5d9f34>0x1?void 0x0:_0x5d9f34?Qi(_0x3db2cf,_0x2c9374):_0x3db2cf,_0x20e522=_0x27e000[_0x44f11f(0x292)]-0x1,_0x5a1dbf;_0x20e522>=0x0;_0x20e522--)(_0x5a1dbf=_0x27e000[_0x20e522])&&(_0x3518be=_0x5a1dbf(_0x3518be)||_0x3518be);return _0x3518be;},G=(_0x3635d9,_0x55b39e)=>(_0x47d50e,_0xf7a37a)=>_0x55b39e(_0x47d50e,_0xf7a37a,_0x3635d9);let ie=class extends _0x12295e{constructor(_0x19a9f4,_0xf01516,_0x493038,_0x5913e5,_0x40f6d1){const _0x1479db=_0x1cbc19;super(),this[_0x1479db(0x2db)]=_0x19a9f4,this[_0x1479db(0x31c)]=_0xf01516,this[_0x1479db(0x1dc)]=_0x493038,this[_0x1479db(0x2c2)]=_0x5913e5,_0x40f6d1?_0x40f6d1==null||_0x40f6d1[_0x1479db(0x25e)]()[_0x1479db(0x3c9)](()=>this[_0x1479db(0x207)]()):(this[_0x1479db(0x31c)][_0x1479db(0x1de)](_0x1479db(0x1e8),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1479db(0x207)]());}async[_0x1cbc19(0x207)](){const _0x25f944=_0x1cbc19,_0x5a8880=this[_0x25f944(0x2db)][_0x25f944(0x257)](_0x25f944(0x226)),_0xf2165f=this['_urlService'][_0x25f944(0x257)](_0x25f944(0x261)),_0x41078f=this[_0x25f944(0x2db)][_0x25f944(0x257)](_0x25f944(0x214));if(!_0x5a8880||!_0xf2165f){this[_0x25f944(0x31c)][_0x25f944(0x1de)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2230e0=await this[_0x25f944(0x2c2)][_0x25f944(0x20e)](_0x5a8880,Number(_0xf2165f),_0x41078f);_0x2230e0&&_0x2230e0 instanceof _0x38cdc1&&this[_0x25f944(0x3bf)](_0x2230e0);}async[_0x1cbc19(0x3bf)](_0x460037){const _0x30ce3a=_0x1cbc19;await this[_0x30ce3a(0x264)](_0x460037),_0x460037[_0x30ce3a(0x25d)][_0x30ce3a(0x297)](_0x3f150b(this['dispose$']))[_0x30ce3a(0x2da)](_0x358ea4=>{const _0x5cbf62=_0x30ce3a;_0x358ea4&&this[_0x5cbf62(0x2b1)](_0x358ea4);}),this[_0x30ce3a(0x2db)]['urlChange$'][_0x30ce3a(0x297)](_0x3f150b(this[_0x30ce3a(0x3b3)]))[_0x30ce3a(0x2da)](()=>this['_updateSubUnitFromURLParams'](_0x460037));}[_0x1cbc19(0x2b1)](_0x4863e4,_0x747eae=!0x1){const _0x2b627e=_0x1cbc19,_0x30b433=this[_0x2b627e(0x2db)][_0x2b627e(0x257)]('subunit');_0x4863e4['getSheetId']()!==_0x30b433&&this[_0x2b627e(0x2db)]['setParam'](_0x2b627e(0x214),_0x4863e4[_0x2b627e(0x2fe)](),_0x747eae);}async[_0x1cbc19(0x264)](_0x522559){const _0x586c94=_0x1cbc19;var _0x4b5cfc;const _0x2ced8e=this[_0x586c94(0x2db)][_0x586c94(0x257)](_0x586c94(0x214));if(!_0x2ced8e||!_0x522559[_0x586c94(0x282)](_0x2ced8e)){const _0x5b4ea8=_0x522559[_0x586c94(0x364)]()[0x0],_0x1c117e=_0x522559['getSheetBySheetId'](_0x5b4ea8);if(!_0x1c117e)return;this[_0x586c94(0x2b1)](_0x1c117e,!0x0),await this[_0x586c94(0x1dc)][_0x586c94(0x1df)](_0x2fb5d0['id'],{'unitId':_0x522559[_0x586c94(0x3aa)](),'subUnitId':_0x5b4ea8});return;}((_0x4b5cfc=_0x522559['getActiveSheet']())==null?void 0x0:_0x4b5cfc[_0x586c94(0x2fe)]())!==_0x2ced8e&&await this[_0x586c94(0x1dc)][_0x586c94(0x1df)](_0x2fb5d0['id'],{'unitId':_0x522559['getUnitId'](),'subUnitId':_0x2ced8e});}};ie=qi([G(0x0,Ut),G(0x1,_0x638860),G(0x2,_0x23450b),G(0x3,_0x460d70(_0x73e358)),G(0x4,_0x49c732(_0x4f1177))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x4d705a,_0x11c2ae,_0x234fe7,_0x261c75)=>{const _0x496cfb=_0x1cbc19;for(var _0x16eb30=_0x261c75>0x1?void 0x0:_0x261c75?en(_0x11c2ae,_0x234fe7):_0x11c2ae,_0x22f267=_0x4d705a[_0x496cfb(0x292)]-0x1,_0x4f7428;_0x22f267>=0x0;_0x22f267--)(_0x4f7428=_0x4d705a[_0x22f267])&&(_0x16eb30=_0x4f7428(_0x16eb30)||_0x16eb30);return _0x16eb30;},pe=(_0x12ba67,_0x2474e7)=>(_0x4caaee,_0x4b4c72)=>_0x2474e7(_0x4caaee,_0x4b4c72,_0x12ba67);let ne=class{constructor(_0x469b58,_0x27744d,_0x127121){const _0x3e953f=_0x1cbc19;this[_0x3e953f(0x3b6)]=_0x469b58,this[_0x3e953f(0x3ca)]=_0x27744d,this[_0x3e953f(0x2bf)]=_0x127121;}[_0x1cbc19(0x21d)](_0x3121f7){const _0x45415a=_0x1cbc19;this['_transformUndoRedoStack'](_0x3121f7),this[_0x45415a(0x23a)](_0x3121f7);}['transformRemoteChangeset'](_0x1a59e5){const _0x5e2864=_0x1cbc19,{unitID:_0x3b60b9}=_0x1a59e5,_0x5192a5=this[_0x5e2864(0x2bf)][_0x5e2864(0x37a)](_0x3b60b9)[_0x5e2864(0x2f5)](_0x578196),{redoCache:_0x1156ac}=_0x5192a5[_0x5e2864(0x37f)]();if(_0x1156ac[_0x5e2864(0x292)]===0x0)return _0x1a59e5;let _0xaa6d4d=_0x453c0c[_0x5e2864(0x24b)](_0x1a59e5[_0x5e2864(0x2cb)][0x0]);for(let _0x3b7f2b=0x0;_0x3b7f2b<_0x1156ac[_0x5e2864(0x292)];_0x3b7f2b++){const _0x18bb57={'id':'doc.mutation.rich-text-editing','params':{..._0x1156ac[_0x3b7f2b]}},_0x1dcff4=this['_transformService']['transformMutation'](_0xaa6d4d,_0x18bb57,!0x1);if(_0x282eb9(_0x1dcff4))throw _0x1dcff4['error'];_0xaa6d4d=_0x1dcff4['m1Prime'];}return{..._0x453c0c[_0x5e2864(0x24b)](_0x1a59e5),'mutations':[_0xaa6d4d]};}['_transformUndoRedoStack'](_0x27e803){const _0xdb18e8=_0x1cbc19,{unitID:_0x1afb25}=_0x27e803,_0x28bd16=this[_0xdb18e8(0x2bf)][_0xdb18e8(0x37a)](_0x1afb25)[_0xdb18e8(0x2f5)](_0x578196),{undoCache:_0x4216a5,redoCache:_0x4d2076}=_0x28bd16['getUndoRedoMutationParamsCache']();if(_0x4216a5[_0xdb18e8(0x292)]===0x0||_0x4d2076[_0xdb18e8(0x292)]===0x0)return;const _0x2b5136=[],_0xc9eb0=[];let _0x29f1f0=_0x453c0c[_0xdb18e8(0x24b)](_0x27e803[_0xdb18e8(0x2cb)][0x0]),_0x42128c=_0x453c0c['deepClone'](_0x27e803[_0xdb18e8(0x2cb)][0x0]);for(let _0x3ab2d5=_0x4216a5[_0xdb18e8(0x292)]-0x1;_0x3ab2d5>=0x0;_0x3ab2d5--){const _0x197971={'id':_0xdb18e8(0x334),'params':{..._0x4216a5[_0x3ab2d5]}},_0x3e5f39={'id':_0xdb18e8(0x334),'params':{..._0x4d2076[_0x3ab2d5]}},_0x28bec4=this['_transformService'][_0xdb18e8(0x21e)](_0x29f1f0,_0x197971,!0x1),_0x30742a=this['_transformService'][_0xdb18e8(0x21e)](_0x42128c,_0x3e5f39,!0x1);if(_0x282eb9(_0x28bec4))throw _0x28bec4[_0xdb18e8(0x24f)];if(_0x282eb9(_0x30742a))throw _0x30742a['error'];_0x2b5136['unshift'](_0x28bec4[_0xdb18e8(0x256)][_0xdb18e8(0x305)]),_0xc9eb0[_0xdb18e8(0x1e0)](_0x30742a[_0xdb18e8(0x256)][_0xdb18e8(0x305)]),_0x29f1f0=_0x28bec4[_0xdb18e8(0x3cc)],_0x42128c=_0x30742a[_0xdb18e8(0x3cc)];}_0x28bd16[_0xdb18e8(0x31e)]({'undoCache':_0x2b5136,'redoCache':_0xc9eb0});}[_0x1cbc19(0x23a)](_0xb2f327){const _0x212469=_0x1cbc19,{unitID:_0xedf163}=_0xb2f327,_0x4ebc8c=this['_renderManagerService'][_0x212469(0x37a)](_0xedf163)[_0x212469(0x2f5)](_0x578196),_0x5ec7ca=_0x4ebc8c[_0x212469(0x352)]();if(_0x5ec7ca==null)return;const _0x82ef43=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb2f327[_0x212469(0x2cf)],'actions':null,'textRanges':[_0x5ec7ca]}}],_0x3f7823=this[_0x212469(0x3ca)][_0x212469(0x377)](_0xb2f327,_0x82ef43);if(!_0x24acc7(_0x3f7823))throw _0x3f7823[_0x212469(0x24f)];const _0x27ba8b=_0x3f7823[_0x212469(0x256)][0x0]['params'][_0x212469(0x2ac)];Array[_0x212469(0x1ec)](_0x27ba8b)&&_0x27ba8b[_0x212469(0x292)]&&_0x4ebc8c[_0x212469(0x298)](_0x27ba8b[0x0]);}};ne=tn([pe(0x0,_0x460d70(_0x8c3420)),pe(0x1,_0x424378),pe(0x2,_0x3df113)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x6c9e8b,_0x493d8c,_0x296096,_0x5652c6)=>{const _0x17e218=_0x1cbc19;for(var _0x15474d=_0x5652c6>0x1?void 0x0:_0x5652c6?sn(_0x493d8c,_0x296096):_0x493d8c,_0x3721d0=_0x6c9e8b[_0x17e218(0x292)]-0x1,_0x5c44af;_0x3721d0>=0x0;_0x3721d0--)(_0x5c44af=_0x6c9e8b[_0x3721d0])&&(_0x15474d=_0x5c44af(_0x15474d)||_0x15474d);return _0x15474d;},Ce=(_0x16fb6c,_0xc20674)=>(_0x14e7a8,_0x145a4d)=>_0xc20674(_0x14e7a8,_0x145a4d,_0x16fb6c);let re=class{constructor(_0x102849,_0x291e91,_0x7e8be2){const _0x42b7d3=_0x1cbc19;this[_0x42b7d3(0x3b6)]=_0x102849,this[_0x42b7d3(0x3ca)]=_0x291e91,this['_docStateChangeManagerService']=_0x7e8be2;}[_0x1cbc19(0x2de)](_0x3bb947){const _0x20a35f=_0x1cbc19;this[_0x20a35f(0x221)](_0x3bb947);}['transformRemoteChangeset'](_0x53edd7){const _0x16e93e=_0x1cbc19,{unitID:_0xf655b1}=_0x53edd7,{collaboration:_0x34529c}=this[_0x16e93e(0x208)][_0x16e93e(0x373)](_0xf655b1);if(_0x34529c[_0x16e93e(0x292)]===0x0)return _0x53edd7;let _0x5e2988=_0x453c0c['deepClone'](_0x53edd7['mutations'][0x0]);for(let _0x317ab2=0x0;_0x317ab2<_0x34529c['length'];_0x317ab2++){const _0x5a90de={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34529c[_0x317ab2]['unitId'],..._0x34529c[_0x317ab2]['redoState']}},_0x1bb6b5=this[_0x16e93e(0x3ca)][_0x16e93e(0x21e)](_0x5e2988,_0x5a90de,!0x1);if(_0x282eb9(_0x1bb6b5))throw _0x1bb6b5[_0x16e93e(0x24f)];_0x5e2988=_0x1bb6b5[_0x16e93e(0x3cc)];}return{..._0x453c0c[_0x16e93e(0x24b)](_0x53edd7),'mutations':[_0x5e2988]};}[_0x1cbc19(0x221)](_0x406445){const _0x1be9e3=_0x1cbc19,{unitID:_0x4faf72}=_0x406445,{history:_0xf1e607,collaboration:_0xc83e43}=this[_0x1be9e3(0x208)][_0x1be9e3(0x373)](_0x4faf72);if(_0xf1e607[_0x1be9e3(0x292)]===0x0&&_0xc83e43[_0x1be9e3(0x292)]===0x0)return;const _0x38b574=[],_0x2ba6c6=[];let _0x1f45cf=_0x453c0c[_0x1be9e3(0x24b)](_0x406445[_0x1be9e3(0x2cb)][0x0]),_0x5d4348=_0x453c0c[_0x1be9e3(0x24b)](_0x406445[_0x1be9e3(0x2cb)][0x0]);for(let _0x439efe=_0xf1e607['length']-0x1;_0x439efe>=0x0;_0x439efe--){const _0x2c044f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf1e607[_0x439efe][_0x1be9e3(0x378)],..._0xf1e607[_0x439efe][_0x1be9e3(0x383)]}},_0x1583b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf1e607[_0x439efe][_0x1be9e3(0x378)],..._0xf1e607[_0x439efe]['redoState']}},_0x3ecf44=this['_transformService']['transformMutation'](_0x1f45cf,_0x2c044f,!0x1),_0x3bd81b=this[_0x1be9e3(0x3ca)][_0x1be9e3(0x21e)](_0x5d4348,_0x1583b,!0x1);if(_0x282eb9(_0x3ecf44))throw _0x3ecf44[_0x1be9e3(0x24f)];if(_0x282eb9(_0x3bd81b))throw _0x3bd81b[_0x1be9e3(0x24f)];_0x38b574[_0x1be9e3(0x1e0)]({..._0xf1e607[_0x439efe],'undoState':_0x3ecf44[_0x1be9e3(0x256)]['params'],'redoState':_0x3bd81b[_0x1be9e3(0x256)][_0x1be9e3(0x305)]}),_0x1f45cf=_0x3ecf44[_0x1be9e3(0x3cc)],_0x5d4348=_0x3bd81b[_0x1be9e3(0x3cc)];}_0x1f45cf=_0x453c0c[_0x1be9e3(0x24b)](_0x406445['mutations'][0x0]),_0x5d4348=_0x453c0c['deepClone'](_0x406445[_0x1be9e3(0x2cb)][0x0]);for(let _0x3b142f=_0xc83e43['length']-0x1;_0x3b142f>=0x0;_0x3b142f--){const _0x1f5b6f={'id':_0x1be9e3(0x334),'params':{'unitId':_0xc83e43[_0x3b142f][_0x1be9e3(0x378)],..._0xc83e43[_0x3b142f]['undoState']}},_0x53521e={'id':_0x1be9e3(0x334),'params':{'unitId':_0xc83e43[_0x3b142f][_0x1be9e3(0x378)],..._0xc83e43[_0x3b142f]['redoState']}},_0x54470e=this[_0x1be9e3(0x3ca)][_0x1be9e3(0x21e)](_0x1f45cf,_0x1f5b6f,!0x1),_0x2f4297=this[_0x1be9e3(0x3ca)]['transformMutation'](_0x5d4348,_0x53521e,!0x1);if(_0x282eb9(_0x54470e))throw _0x54470e['error'];if(_0x282eb9(_0x2f4297))throw _0x2f4297[_0x1be9e3(0x24f)];_0x2ba6c6['unshift']({..._0xc83e43[_0x3b142f],'undoState':_0x54470e[_0x1be9e3(0x256)]['params'],'redoState':_0x2f4297['m2Prime'][_0x1be9e3(0x305)]}),_0x1f45cf=_0x54470e[_0x1be9e3(0x3cc)],_0x5d4348=_0x2f4297[_0x1be9e3(0x3cc)];}this[_0x1be9e3(0x208)][_0x1be9e3(0x1f6)](_0x4faf72,{'history':_0x38b574,'collaboration':_0x2ba6c6});}};re=nn([Ce(0x0,_0x460d70(_0x8c3420)),Ce(0x1,_0x424378),Ce(0x2,_0x460d70(_0x110598))],re);var rn=Object[_0x1cbc19(0x24d)],on=(_0x241d11,_0x24204d,_0x1043e3,_0x5267dc)=>{const _0x480144=_0x1cbc19;for(var _0xaeae2e=_0x5267dc>0x1?void 0x0:_0x5267dc?rn(_0x24204d,_0x1043e3):_0x24204d,_0x1d212e=_0x241d11[_0x480144(0x292)]-0x1,_0x4f8766;_0x1d212e>=0x0;_0x1d212e--)(_0x4f8766=_0x241d11[_0x1d212e])&&(_0xaeae2e=_0x4f8766(_0xaeae2e)||_0xaeae2e);return _0xaeae2e;},tt=(_0x374866,_0x2e8543)=>(_0xb472f9,_0x2120d6)=>_0x2e8543(_0xb472f9,_0x2120d6,_0x374866);let oe=class{constructor(_0x437e63,_0x5471b6){const _0x51e617=_0x1cbc19;this[_0x51e617(0x3b6)]=_0x437e63,this[_0x51e617(0x3ca)]=_0x5471b6;}[_0x1cbc19(0x262)](_0x1139bf){const _0x51b108=_0x1cbc19;var _0xebe3f9;const _0x38c059=this[_0x51b108(0x3b6)]['get'](_0x45d978),_0x3a1426=(_0xebe3f9=_0x38c059[_0x51b108(0x1e3)]())!=null?_0xebe3f9:[];if(_0x3a1426[_0x51b108(0x292)]===0x0)return;const _0x6180=_0x1139bf[_0x51b108(0x2cf)],_0x5de687=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x6180,'actions':null,'textRanges':_0x3a1426}}],_0x59849d=this[_0x51b108(0x3ca)]['transformMutationsWithChangeset'](_0x1139bf,_0x5de687);if(!_0x24acc7(_0x59849d))throw _0x59849d[_0x51b108(0x24f)];const _0x504e54=_0x59849d[_0x51b108(0x256)][0x0][_0x51b108(0x305)]['textRanges'];Array[_0x51b108(0x1ec)](_0x504e54)&&_0x504e54['length']&&_0x38c059[_0x51b108(0x375)](_0x504e54,{'unitId':_0x6180,'subUnitId':_0x6180},!0x1);}};oe=on([tt(0x0,_0x460d70(_0x8c3420)),tt(0x1,_0x424378)],oe);var an=Object[_0x1cbc19(0x24d)],cn=(_0x53f8d4,_0x48ec7f,_0x166f00,_0x3df787)=>{const _0x25f521=_0x1cbc19;for(var _0x35879e=_0x3df787>0x1?void 0x0:_0x3df787?an(_0x48ec7f,_0x166f00):_0x48ec7f,_0x3e75ab=_0x53f8d4[_0x25f521(0x292)]-0x1,_0x4e1586;_0x3e75ab>=0x0;_0x3e75ab--)(_0x4e1586=_0x53f8d4[_0x3e75ab])&&(_0x35879e=_0x4e1586(_0x35879e)||_0x35879e);return _0x35879e;},U=(_0x950c20,_0x53b99b)=>(_0xf86eab,_0x53bc49)=>_0x53b99b(_0xf86eab,_0x53bc49,_0x950c20);let ae=class extends _0x24e7ca{constructor(_0x12be1e,_0x5c919d,_0x203634,_0x283247,_0x34bc9d,_0x253c2d,_0x285561,_0x5743a5){const _0x514f26=_0x1cbc19;super(),_(this,_0x514f26(0x1c8),new _0x4646ea(_0x3032ea['NOT_COLLAB'])),(this[_0x514f26(0x208)]=_0x12be1e,this[_0x514f26(0x301)]=_0x5c919d,this[_0x514f26(0x1c9)]=_0x203634,this[_0x514f26(0x37d)]=_0x283247,this[_0x514f26(0x2af)]=_0x34bc9d,this[_0x514f26(0x321)]=_0x253c2d,this['_messageService']=_0x285561,this[_0x514f26(0x2b0)]=_0x5743a5,this[_0x514f26(0x1ff)]());}[_0x1cbc19(0x1ff)](){const _0x54a3ab=_0x1cbc19;this[_0x54a3ab(0x287)](this[_0x54a3ab(0x301)][_0x54a3ab(0x39a)][_0x54a3ab(0x2da)](_0x253bd4=>{const _0x8fbbc0=_0x54a3ab,_0x3e4d7e=this[_0x8fbbc0(0x208)][_0x8fbbc0(0x37e)][_0x8fbbc0(0x2da)](_0x13ed49=>{const _0x52b1c0=_0x8fbbc0;if(_0x13ed49==null)return;const {unitId:_0x26449f,redoState:_0x5eca80,commandId:_0x4e2eb9}=_0x13ed49;if(_0x26449f!==_0x253bd4['unitID'])return;const _0x3d323d={'id':_0x4e2eb9,'type':_0x41ca5a[_0x52b1c0(0x267)],'params':{'unitId':_0x26449f,'actions':_0x5eca80['actions'],'textRanges':null}};_0x253bd4[_0x52b1c0(0x361)](_0x3d323d);});if(_0x253bd4[_0x8fbbc0(0x287)](_0x3e4d7e),_0x253bd4 instanceof _0x504317){const _0x305865={'onTransformIME':_0x4cb217=>this['_docTransformIMECacheService']['transformIMECache'](_0x4cb217),'onTransformState':_0x148185=>this[_0x8fbbc0(0x37d)][_0x8fbbc0(0x2de)](_0x148185),'onTransformSelections':_0x52ff4b=>this['_docTransformSelectionsService'][_0x8fbbc0(0x262)](_0x52ff4b),'onSyncEditingCollabCursor':_0x3f01d7=>this['_docSyncEditingCollabCursorService'][_0x8fbbc0(0x246)](_0x3f01d7),'onTransformRemoteChangesetByIMECache':_0x2447b7=>this[_0x8fbbc0(0x1c9)][_0x8fbbc0(0x271)](_0x2447b7),'onTransformRemoteChangesetByStateCache':_0x4df971=>this['_docTransformStateCacheService'][_0x8fbbc0(0x271)](_0x4df971)};_0x253bd4[_0x8fbbc0(0x228)](_0x305865);}}));}};ae=cn([U(0x0,_0x460d70(_0x110598)),U(0x1,_0x460d70(_0x50cc70)),U(0x2,_0x460d70(ne)),U(0x3,_0x460d70(re)),U(0x4,_0x460d70(oe)),U(0x5,_0x460d70(He)),U(0x6,_0x1e6986),U(0x7,_0x460d70(_0x321c7b))],ae);function _0x564b(_0x36f4c5,_0x4cf578){const _0x3429c7=_0x3429();return _0x564b=function(_0x564b96,_0x309942){_0x564b96=_0x564b96-0x1c5;let _0x3a2100=_0x3429c7[_0x564b96];return _0x3a2100;},_0x564b(_0x36f4c5,_0x4cf578);}var ln=Object['getOwnPropertyDescriptor'],_n=(_0x81bbb2,_0x373d3c,_0x663f67,_0x44894a)=>{for(var _0x41fb35=_0x44894a>0x1?void 0x0:_0x44894a?ln(_0x373d3c,_0x663f67):_0x373d3c,_0x3a8249=_0x81bbb2['length']-0x1,_0x52da16;_0x3a8249>=0x0;_0x3a8249--)(_0x52da16=_0x81bbb2[_0x3a8249])&&(_0x41fb35=_0x52da16(_0x41fb35)||_0x41fb35);return _0x41fb35;},Ee=(_0x4f81df,_0x438d8d)=>(_0x1361a0,_0x454127)=>_0x438d8d(_0x1361a0,_0x454127,_0x4f81df);let we=class extends _0x24e7ca{constructor(_0x11e15d,_0x17c9cf,_0x1ccc31){const _0x470b12=_0x1cbc19;super(),_(this,'_cachedData',new Map()),_(this,_0x470b12(0x2dd),new Map()),_(this,_0x470b12(0x34b),!0x1),(this[_0x470b12(0x26b)]=_0x11e15d,this[_0x470b12(0x380)]=_0x17c9cf,this[_0x470b12(0x2e8)]=_0x1ccc31);}[_0x1cbc19(0x296)](){const _0x4d3548=_0x1cbc19;this[_0x4d3548(0x34b)]=!0x0;}[_0x1cbc19(0x309)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x25596f=_0x1cbc19;return this[_0x25596f(0x2dd)];}[_0x1cbc19(0x280)](){const _0x65f21b=_0x1cbc19;this[_0x65f21b(0x371)]()['then'](()=>super[_0x65f21b(0x280)]());}async['loadOfflineData'](_0x28916d){const _0x324062=_0x1cbc19;return this[_0x324062(0x34b)]?null:this[_0x324062(0x380)][_0x324062(0x2ff)](_0x2b1609(_0x28916d));}async[_0x1cbc19(0x218)](_0x412c0a,_0x367291){const _0x522905=_0x1cbc19;return!!this[_0x522905(0x380)]['setItem'](_0x412c0a,_0x367291);}[_0x1cbc19(0x3cb)](_0x11e6f4,_0x352889,_0x13bb12,_0x1517fd){const _0x21b664=_0x1cbc19,_0x1947ee=this[_0x21b664(0x2e8)][_0x21b664(0x38e)](_0x11e6f4);this[_0x21b664(0x1f0)][_0x21b664(0x325)](_0x11e6f4,{'unitID':_0x11e6f4,'type':_0x352889,'awaitingChangeset':_0x13bb12,'mutations':_0x1517fd,'rev':_0x1947ee}),this['_saveTaskMap']['has'](_0x11e6f4)||this[_0x21b664(0x255)](_0x11e6f4);}[_0x1cbc19(0x255)](_0x26a6cd){const _0x31e4ce=_0x1cbc19,_0x10620f=this['_getSaveTimeout']();_0x10620f===0x0?this[_0x31e4ce(0x21b)](_0x26a6cd):this[_0x31e4ce(0x2dd)]['set'](_0x26a6cd,setTimeout(()=>this['_saveCache'](_0x26a6cd),_0x10620f));}[_0x1cbc19(0x390)](){const _0x467458=_0x1cbc19;var _0x29bce6;return(_0x29bce6=this[_0x467458(0x26b)]['getConfig'](_0x4a626d))!=null?_0x29bce6:_0x159cd5;}[_0x1cbc19(0x21b)](_0x4f3351){const _0x7bd924=_0x1cbc19,_0x238df7=this[_0x7bd924(0x2dd)]['get'](_0x4f3351);return _0x238df7!==void 0x0&&window[_0x7bd924(0x28b)](_0x238df7),this[_0x7bd924(0x380)]['setItem'](_0x2b1609(_0x4f3351),this[_0x7bd924(0x1f0)][_0x7bd924(0x31b)](_0x4f3351))[_0x7bd924(0x3c9)](()=>this[_0x7bd924(0x2dd)][_0x7bd924(0x2f3)](_0x4f3351));}async[_0x1cbc19(0x371)](){const _0x425250=_0x1cbc19,_0x2a2894=[];this[_0x425250(0x2dd)][_0x425250(0x2f1)]((_0x49ac76,_0x417873)=>{const _0x5cd4ae=_0x425250;window[_0x5cd4ae(0x28b)](_0x49ac76),_0x2a2894[_0x5cd4ae(0x21f)](this[_0x5cd4ae(0x21b)](_0x417873)[_0x5cd4ae(0x3c9)](()=>{const _0x33feba=_0x5cd4ae;this[_0x33feba(0x2dd)][_0x33feba(0x2f3)](_0x417873);}));}),await Promise['all'](_0x2a2894);}};we=_n([Ee(0x0,_0x2739c1),Ee(0x1,_0x132acd),Ee(0x2,_0x460d70(_0x506b89))],we);class hn extends _0x12295e{constructor(){const _0x124aa7=_0x1cbc19;super(),_(this,_0x124aa7(0x2a4)),this[_0x124aa7(0x2a4)]=_0x5f26e5(window,_0x124aa7(0x3c2))['pipe'](_0x3f150b(this['dispose$']),_0x341492(0x1),_0x48054e(void 0x0));}[_0x1cbc19(0x259)](_0x376156,_0x1ae7c4,_0x10eea9=!0x1){const _0x519d60=_0x1cbc19,_0x3f3c35=new URL(window[_0x519d60(0x2a7)][_0x519d60(0x2f7)]);_0x3f3c35['searchParams'][_0x519d60(0x325)](_0x376156,_0x1ae7c4),_0x10eea9?window[_0x519d60(0x318)][_0x519d60(0x210)]('','',_0x3f3c35[_0x519d60(0x2fb)]()):window[_0x519d60(0x318)][_0x519d60(0x2c9)]('','',_0x3f3c35['toString']());}[_0x1cbc19(0x232)](_0x2492de,_0x3af909=!0x1){const _0x5e6685=_0x1cbc19,_0x373cbc=new URL(window[_0x5e6685(0x2a7)][_0x5e6685(0x2f7)]);_0x373cbc[_0x5e6685(0x2c1)][_0x5e6685(0x2f3)](_0x2492de),_0x3af909?window[_0x5e6685(0x318)][_0x5e6685(0x210)]('','',_0x373cbc['toString']()):window[_0x5e6685(0x318)]['pushState']('','',_0x373cbc['toString']());}[_0x1cbc19(0x257)](_0xa2946f){const _0x1ccbc4=_0x1cbc19;var _0x47c4f1;return(_0x47c4f1=new URL(window[_0x1ccbc4(0x2a7)]['href'])[_0x1ccbc4(0x2c1)][_0x1ccbc4(0x31b)](_0xa2946f))!=null?_0x47c4f1:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x1cbc19(0x24d)],fn=(_0x1f4b55,_0x39e0bb,_0x57a226)=>_0x39e0bb in _0x1f4b55?un(_0x1f4b55,_0x39e0bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57a226}):_0x1f4b55[_0x39e0bb]=_0x57a226,Sn=(_0x26c2cb,_0x13b9bd,_0x37c0d4,_0x8995af)=>{const _0x30a8ae=_0x1cbc19;for(var _0xefc249=_0x8995af>0x1?void 0x0:_0x8995af?dn(_0x13b9bd,_0x37c0d4):_0x13b9bd,_0x314eab=_0x26c2cb[_0x30a8ae(0x292)]-0x1,_0x1cf9f9;_0x314eab>=0x0;_0x314eab--)(_0x1cf9f9=_0x26c2cb[_0x314eab])&&(_0xefc249=_0x1cf9f9(_0xefc249)||_0xefc249);return _0xefc249;},Oe=(_0x57dece,_0x549a1c)=>(_0x113fd4,_0x4eb352)=>_0x549a1c(_0x113fd4,_0x4eb352,_0x57dece),mn=(_0x193200,_0x441d31,_0x3edd08)=>fn(_0x193200,_0x441d31+'',_0x3edd08);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x23ebed{constructor(_0x30d1f7=et,_0x431dc8,_0x2c59e4,_0x2aee5e){const _0x126e90=_0x1cbc19;super(),this['_config']=_0x30d1f7,this[_0x126e90(0x2bf)]=_0x431dc8,this[_0x126e90(0x3b6)]=_0x2c59e4,this[_0x126e90(0x26b)]=_0x2aee5e;const {..._0x447709}=_0x3cc24b({},et,this[_0x126e90(0x203)]);this[_0x126e90(0x26b)][_0x126e90(0x2c6)](Zi,_0x447709);}[_0x1cbc19(0x236)](){const _0x114f95=_0x1cbc19;this[_0x114f95(0x253)](),this['_initDependencies']();}[_0x1cbc19(0x332)](){const _0x99bf4a=_0x1cbc19;this[_0x99bf4a(0x238)]();}[_0x1cbc19(0x253)](){const _0x16bca1=_0x1cbc19;var _0x1ae24f;const _0x169abe=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x53aefd,{'useClass':_0x21e790}],[_0x2e78bc,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x16dd07(this[_0x16bca1(0x3b6)],_0x395178(_0x169abe,(_0x1ae24f=this[_0x16bca1(0x203)])==null?void 0x0:_0x1ae24f[_0x16bca1(0x26e)]));}[_0x1cbc19(0x238)](){const _0x538093=_0x1cbc19;this[_0x538093(0x287)](this[_0x538093(0x2bf)][_0x538093(0x393)](_0x2a22a6[_0x538093(0x1eb)],[Le])),this[_0x538093(0x287)](this[_0x538093(0x2bf)][_0x538093(0x393)](_0x2a22a6[_0x538093(0x2ec)],[Pe]));}['_initDependencies'](){const _0x1722a9=_0x1cbc19;_0x6413eb(this[_0x1722a9(0x3b6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1cbc19(0x289),In),Ae=Sn([_0x4ea337(_0xf3bf43),Oe(0x1,_0x3df113),Oe(0x2,_0x460d70(_0x8c3420)),Oe(0x3,_0x2739c1)],Ae);var gn=Object[_0x1cbc19(0x24d)],vn=(_0x5309b0,_0x3cadd7,_0x1798dc,_0x299e45)=>{for(var _0x51fdb3=_0x299e45>0x1?void 0x0:_0x299e45?gn(_0x3cadd7,_0x1798dc):_0x3cadd7,_0x57cb49=_0x5309b0['length']-0x1,_0x21481c;_0x57cb49>=0x0;_0x57cb49--)(_0x21481c=_0x5309b0[_0x57cb49])&&(_0x51fdb3=_0x21481c(_0x51fdb3)||_0x51fdb3);return _0x51fdb3;},K=(_0x541bde,_0x58dddf)=>(_0x202192,_0x173505)=>_0x58dddf(_0x202192,_0x173505,_0x541bde);let st=class extends _0x4e2b88{constructor(_0xffc0c8,_0x185928,_0x23f2ce,_0x5cf706,_0x381554){super(_0xffc0c8,_0x185928,_0x23f2ce,_0x5cf706,_0x381554);}async[_0x1cbc19(0x2b8)](_0x1e8dfa){const _0xdd2dfd=_0x1cbc19,_0x147020=await this[_0xdd2dfd(0x314)](),_0x2bedbc=this[_0xdd2dfd(0x1c6)](_0x1e8dfa,_0x147020);return this[_0xdd2dfd(0x350)](_0x2bedbc);}[_0x1cbc19(0x1c6)](_0x12a752,_0x227365){const _0x2b7c16=_0x1cbc19,_0x415537=typeof window>'u'?new URL(_0x12a752):new URL(_0x12a752,window[_0x2b7c16(0x2a7)][_0x2b7c16(0x1fd)]);_0x415537[_0x2b7c16(0x2c1)][_0x2b7c16(0x325)]('sessionTicket',_0x227365);const _0x315007=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2b7c16(0x2a7)][_0x2b7c16(0x343)]);return _0x315007[_0x2b7c16(0x31b)](_0x2b7c16(0x299))&&_0x415537[_0x2b7c16(0x2c1)][_0x2b7c16(0x325)]('runId',_0x315007[_0x2b7c16(0x31b)](_0x2b7c16(0x299))),_0x415537['toString']();}async['_getSessionTicket'](){const _0x32dad4=_0x1cbc19;var _0x50b6c4,_0x3ddef8,_0x4b6d06;const _0x26b1fc=this[_0x32dad4(0x26b)][_0x32dad4(0x36c)](_0x519290),_0x40aba5=(_0x50b6c4=_0x26b1fc==null?void 0x0:_0x26b1fc[_0x32dad4(0x1cb)])!=null?_0x50b6c4:_0x39cb2b;return(_0x4b6d06=(_0x3ddef8=(await this['_httpService'][_0x32dad4(0x31b)](_0x40aba5,{'headers':{'Content-Type':_0x32dad4(0x3b5)}}))[_0x32dad4(0x367)])==null?void 0x0:_0x3ddef8[_0x32dad4(0x2e7)])!=null?_0x4b6d06:'';}};st=vn([K(0x0,_0x460d70(_0x8c3420)),K(0x1,_0x460d70(_0x299043)),K(0x2,_0x2739c1),K(0x3,_0x638860),K(0x4,_0x21daf6)],st);const it=0x7530,nt=_0x1cbc19(0x202);class Fn extends _0x24e7ca{constructor(){const _0x3f995c=_0x1cbc19;super(),_(this,_0x3f995c(0x303),_0x35b457()),_(this,_0x3f995c(0x294),new Set()),_(this,_0x3f995c(0x24a),new Map()),_(this,_0x3f995c(0x220),null),_(this,_0x3f995c(0x3a2),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x1cbc19(0x280)](){const _0xd42c72=_0x1cbc19;super[_0xd42c72(0x280)](),this['_clearOtherTimers'][_0xd42c72(0x2f1)]((_0x3da07d,_0x57b11c)=>this[_0xd42c72(0x398)](_0x57b11c)),this[_0xd42c72(0x220)]&&window['clearInterval'](this[_0xd42c72(0x220)]);}[_0x1cbc19(0x33f)](_0xdeca08){const _0x4f8637=_0x1cbc19;return this[_0x4f8637(0x328)](_0xdeca08)[_0x4f8637(0x297)](_0x152f18());}[_0x1cbc19(0x27d)](_0x24b90f){const _0x1c830c=_0x1cbc19;this[_0x1c830c(0x294)][_0x1c830c(0x213)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1c830c(0x2ee)](_0x24b90f),this[_0x1c830c(0x23b)]({'type':0x0,'memberID':this[_0x1c830c(0x303)],'unitIDs':[_0x24b90f],'isForwarded':!0x1});}[_0x1cbc19(0x34c)](_0xadef4e){const _0x1854d8=_0x1cbc19;this['_selfUnitIDs'][_0x1854d8(0x2f3)](_0xadef4e),this[_0x1854d8(0x294)][_0x1854d8(0x213)]===0x0&&this[_0x1854d8(0x220)]&&window[_0x1854d8(0x2d4)](this[_0x1854d8(0x220)]);}[_0x1cbc19(0x207)](){const _0x4b5df3=_0x1cbc19;this[_0x4b5df3(0x287)](_0x420647(_0x5f26e5(window,'storage')['subscribe'](_0x42986a=>{const _0x51c45b=_0x4b5df3;if(_0x42986a[_0x51c45b(0x2d8)]!==nt||!_0x42986a[_0x51c45b(0x392)])return;const _0x31a28a=JSON[_0x51c45b(0x2ad)](_0x42986a[_0x51c45b(0x392)]);this[_0x51c45b(0x389)](_0x31a28a);}))),window[_0x4b5df3(0x354)](_0x4b5df3(0x397),()=>this[_0x4b5df3(0x23b)]({'type':0x1,'memberID':this[_0x4b5df3(0x303)],'unitIDs':Array[_0x4b5df3(0x2e4)](this[_0x4b5df3(0x294)])}));}[_0x1cbc19(0x389)](_0x1877e2){const _0x54d02c=_0x1cbc19;switch(_0x1877e2[_0x54d02c(0x261)]){case 0x0:this['_handleJoinEvent'](_0x1877e2);break;case 0x1:this[_0x54d02c(0x3a7)](_0x1877e2);break;case 0x2:this[_0x54d02c(0x254)](_0x1877e2);break;}}[_0x1cbc19(0x3c5)](_0x117f73){const _0xbf10b2=_0x1cbc19,{unitIDs:_0x1013c1,memberID:_0x21359c,isForwarded:_0x3a1257}=_0x117f73;_0x1013c1['forEach'](_0x1d9c16=>{const _0xe53ab2=_0x564b;if(!_0x3a1257&&this[_0xe53ab2(0x24a)][_0xe53ab2(0x23e)](_0x1d9c16)&&this['_ensureSubject'](_0x1d9c16)[_0xe53ab2(0x29e)](_0x1df699[_0xe53ab2(0x242)]),!this[_0xe53ab2(0x24a)][_0xe53ab2(0x23e)](_0x1d9c16)||!this['_unitOnClients'][_0xe53ab2(0x31b)](_0x1d9c16)['has'](_0x21359c)){const _0xdd7e9=this[_0xe53ab2(0x24a)][_0xe53ab2(0x31b)](_0x1d9c16)||new Set();_0xdd7e9[_0xe53ab2(0x2ee)](_0x21359c),this[_0xe53ab2(0x24a)][_0xe53ab2(0x325)](_0x1d9c16,_0xdd7e9),this[_0xe53ab2(0x1cf)](_0x21359c);}}),_0x3a1257||this[_0xbf10b2(0x23b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1cbc19(0x1cf)](_0x3f6b2f){const _0x5953f4=_0x1cbc19;this[_0x5953f4(0x398)](_0x3f6b2f);const _0x5e4296=window['setTimeout'](()=>{const _0x199d4d=_0x5953f4;this['_unitOnClients'][_0x199d4d(0x2f1)](_0x38c5e7=>{const _0xeb2699=_0x199d4d;_0x38c5e7[_0xeb2699(0x2f3)](_0x3f6b2f);});},it*0x2);this[_0x5953f4(0x3a2)]['set'](_0x3f6b2f,_0x5e4296);}[_0x1cbc19(0x398)](_0x5d858a){const _0x41c7aa=_0x1cbc19;if(this['_clearOtherTimers']['has'](_0x5d858a)){const _0x57a669=this[_0x41c7aa(0x3a2)][_0x41c7aa(0x31b)](_0x5d858a);_0x57a669&&window['clearTimeout'](_0x57a669),this['_clearOtherTimers'][_0x41c7aa(0x325)](_0x5d858a,null);}}[_0x1cbc19(0x3a7)](_0x59e76b){const _0x16af75=_0x1cbc19,{memberID:_0x305805,unitIDs:_0x25d230}=_0x59e76b;_0x25d230[_0x16af75(0x2f1)](_0x416ca7=>{const _0x19448a=_0x16af75;var _0x136a40;const _0x1f3e72=this['_unitOnClients'][_0x19448a(0x31b)](_0x416ca7);_0x1f3e72&&(_0x1f3e72[_0x19448a(0x2f3)](_0x305805),(_0x136a40=this[_0x19448a(0x328)](_0x416ca7))==null||_0x136a40[_0x19448a(0x29e)](_0x1f3e72[_0x19448a(0x213)]===0x0?_0x1df699[_0x19448a(0x35e)]:_0x1df699[_0x19448a(0x242)]));}),this[_0x16af75(0x398)](_0x305805);}[_0x1cbc19(0x254)](_0x1ed4c2){const _0x4eed80=_0x1cbc19;this[_0x4eed80(0x1cf)](_0x1ed4c2[_0x4eed80(0x2bc)]);}['_send'](_0x481f46){const _0x5e1e12=_0x1cbc19;localStorage[_0x5e1e12(0x1d8)](nt,JSON[_0x5e1e12(0x28c)](_0x481f46));}['_scheduleHeartbeat'](){const _0x46058c=_0x1cbc19;this[_0x46058c(0x220)]=window['setInterval'](()=>{const _0x2868ae=_0x46058c;this[_0x2868ae(0x23b)]({'type':0x2,'memberID':this[_0x2868ae(0x303)]});},it);}[_0x1cbc19(0x328)](_0x29ca28){const _0x1d5a57=_0x1cbc19;return this['_unitStatus']['has'](_0x29ca28)||this[_0x1d5a57(0x248)][_0x1d5a57(0x325)](_0x29ca28,new _0x4646ea(_0x1df699[_0x1d5a57(0x35e)])),this[_0x1d5a57(0x248)]['get'](_0x29ca28);}}var Mt=(_0x5914a9=>(_0x5914a9[_0x5914a9[_0x1cbc19(0x29b)]=0x0]='UNDEFINED',_0x5914a9[_0x5914a9['OK']=0x1]='OK',_0x5914a9[_0x5914a9[_0x1cbc19(0x231)]=0x2]='INTERNAL_ERROR',_0x5914a9[_0x5914a9['PERMISSION_DENIED']=0x3]=_0x1cbc19(0x2d5),_0x5914a9[_0x5914a9[_0x1cbc19(0x1f2)]=0x4]=_0x1cbc19(0x1f2),_0x5914a9[_0x5914a9['UNAUTHENTICATED']=0x5]=_0x1cbc19(0x27e),_0x5914a9[_0x5914a9['ALREADY_EXISTS']=0x6]=_0x1cbc19(0x330),_0x5914a9[_0x5914a9[_0x1cbc19(0x21c)]=0x7]='INVALID_ARGUMENT',_0x5914a9[_0x5914a9[_0x1cbc19(0x230)]=0x8]=_0x1cbc19(0x230),_0x5914a9[_0x5914a9[_0x1cbc19(0x3a4)]=0x9]=_0x1cbc19(0x3a4),_0x5914a9[_0x5914a9[_0x1cbc19(0x3ac)]=0xa]=_0x1cbc19(0x3ac),_0x5914a9[_0x5914a9[_0x1cbc19(0x3bc)]=0xb]=_0x1cbc19(0x3bc),_0x5914a9[_0x5914a9[_0x1cbc19(0x28a)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5914a9[_0x5914a9[_0x1cbc19(0x1d5)]=0xd]=_0x1cbc19(0x1d5),_0x5914a9[_0x5914a9[_0x1cbc19(0x3b9)]=0xe]=_0x1cbc19(0x3b9),_0x5914a9[_0x5914a9[_0x1cbc19(0x263)]=0x1389]=_0x1cbc19(0x263),_0x5914a9[_0x5914a9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1cbc19(0x20a),_0x5914a9[_0x5914a9[_0x1cbc19(0x201)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5914a9[_0x5914a9[_0x1cbc19(0x369)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5914a9[_0x5914a9['APPLY_REJECT']=0x1b59]=_0x1cbc19(0x20b),_0x5914a9[_0x5914a9[_0x1cbc19(0x2f0)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5914a9[_0x5914a9[_0x1cbc19(0x2d6)]=0x1b5b]=_0x1cbc19(0x2d6),_0x5914a9[_0x5914a9[_0x1cbc19(0x2b7)]=0x1b5c]=_0x1cbc19(0x2b7),_0x5914a9[_0x5914a9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5914a9[_0x5914a9[_0x1cbc19(0x353)]=0x1f41]=_0x1cbc19(0x353),_0x5914a9[_0x5914a9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1cbc19(0x342),_0x5914a9[_0x5914a9[_0x1cbc19(0x2e1)]=0x232a]=_0x1cbc19(0x2e1),_0x5914a9[_0x5914a9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1cbc19(0x2e2),_0x5914a9[_0x5914a9[_0x1cbc19(0x357)]=0x232c]=_0x1cbc19(0x357),_0x5914a9[_0x5914a9[_0x1cbc19(0x30b)]=0x232d]=_0x1cbc19(0x30b),_0x5914a9[_0x5914a9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1cbc19(0x36e),_0x5914a9[_0x5914a9[_0x1cbc19(0x3c8)]=0x2712]=_0x1cbc19(0x3c8),_0x5914a9[_0x5914a9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1cbc19(0x3c1),_0x5914a9[_0x5914a9[_0x1cbc19(0x27b)]=0x2714]=_0x1cbc19(0x27b),_0x5914a9[_0x5914a9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1cbc19(0x22d),_0x5914a9[_0x5914a9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1cbc19(0x25c),_0x5914a9[_0x5914a9[_0x1cbc19(0x32b)]=0x271c]=_0x1cbc19(0x32b),_0x5914a9[_0x5914a9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1cbc19(0x22b),_0x5914a9[_0x5914a9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1cbc19(0x327),_0x5914a9[_0x5914a9[_0x1cbc19(0x2ea)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5914a9[_0x5914a9[_0x1cbc19(0x31f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5914a9[_0x5914a9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1cbc19(0x291),_0x5914a9[_0x5914a9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1cbc19(0x1ef),_0x5914a9[_0x5914a9[_0x1cbc19(0x30f)]=0x2ee2]='INVALID_INVITE_CODE',_0x5914a9[_0x5914a9[_0x1cbc19(0x39f)]=0x2ee3]=_0x1cbc19(0x39f),_0x5914a9[_0x5914a9[_0x1cbc19(0x382)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5914a9[_0x5914a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1cbc19(0x358),_0x5914a9[_0x5914a9[_0x1cbc19(0x1e1)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5914a9[_0x5914a9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1cbc19(0x315),_0x5914a9[_0x5914a9[_0x1cbc19(0x268)]=0x32cb]=_0x1cbc19(0x268),_0x5914a9[_0x5914a9[_0x1cbc19(0x1c5)]=-0x1]=_0x1cbc19(0x1c5),_0x5914a9))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x296df4,_0x486477,_0x41d705,_0x1c7ac6)=>{const _0x38bc8b=_0x1cbc19;for(var _0x1a715b=_0x1c7ac6>0x1?void 0x0:_0x1c7ac6?pn(_0x486477,_0x41d705):_0x486477,_0x178fd1=_0x296df4[_0x38bc8b(0x292)]-0x1,_0x10182f;_0x178fd1>=0x0;_0x178fd1--)(_0x10182f=_0x296df4[_0x178fd1])&&(_0x1a715b=_0x10182f(_0x1a715b)||_0x1a715b);return _0x1a715b;},be=(_0x564b00,_0x1e30e3)=>(_0x446e44,_0x156d0f)=>_0x1e30e3(_0x446e44,_0x156d0f,_0x564b00);let rt=class extends _0x24e7ca{constructor(_0x278ed8,_0x1092b6,_0xfe7450){const _0x51c992=_0x1cbc19;super(),this[_0x51c992(0x39d)]=_0x278ed8,this[_0x51c992(0x258)]=_0x1092b6,this['_configService']=_0xfe7450;}async[_0x1cbc19(0x1d4)](_0x20423f,_0x2bd73c,_0x25ab0f,..._0x4a19ee){const _0x24bffc=_0x1cbc19;var _0x5c6aa,_0x6bbab0,_0x40484b,_0x40b812;const _0x507158=this[_0x24bffc(0x39d)][_0x24bffc(0x341)]();if(!_0x507158)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x42dfd5=((_0x5c6aa=this['_configService'][_0x24bffc(0x36c)](_0x1e3f75))!=null?_0x5c6aa:_0x276976)+'/'+_0x20423f+_0x24bffc(0x278)+_0x2bd73c,_0x3586=new URL(window['location'][_0x24bffc(0x2f7)]),_0x34f868={'scriptId':_0x20423f,'runId':(_0x6bbab0=_0x3586[_0x24bffc(0x2c1)][_0x24bffc(0x31b)](_0x24bffc(0x299)))!=null?_0x6bbab0:'','function':_0x2bd73c,'unitId':_0x507158[_0x24bffc(0x3aa)](),'argsOfFunction':JSON[_0x24bffc(0x28c)](_0x4a19ee),'invokeId':(_0x40484b=_0x25ab0f['invokeId'])!=null?_0x40484b:'','executionId':(_0x40b812=_0x25ab0f['executionId'])!=null?_0x40b812:''};try{const _0x136c58=await this[_0x24bffc(0x258)][_0x24bffc(0x235)](_0x42dfd5,{'body':_0x34f868});return _0x136c58[_0x24bffc(0x367)]['error']&&_0x136c58[_0x24bffc(0x367)][_0x24bffc(0x24f)][_0x24bffc(0x345)]!==Mt['OK']?_0x24bffc(0x3ab):_0x136c58[_0x24bffc(0x367)][_0x24bffc(0x215)];}catch{return _0x24bffc(0x3ab);}}};rt=Cn([be(0x0,_0x1993ec),be(0x1,_0x460d70(_0x299043)),be(0x2,_0x2739c1)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1762ac=_0x182c;(function(_0x1d0016,_0x2ca6c8){const _0x5a9ea9=_0x182c,_0x2bb12d=_0x1d0016();while(!![]){try{const _0x4ee766=parseInt(_0x5a9ea9(0xfa))/0x1*(-parseInt(_0x5a9ea9(0x250))/0x2)+parseInt(_0x5a9ea9(0x219))/0x3*(-parseInt(_0x5a9ea9(0x2cf))/0x4)+-parseInt(_0x5a9ea9(0x28b))/0x5+parseInt(_0x5a9ea9(0x190))/0x6*(-parseInt(_0x5a9ea9(0x1f0))/0x7)+-parseInt(_0x5a9ea9(0xdc))/0x8+-parseInt(_0x5a9ea9(0x1ff))/0x9*(parseInt(_0x5a9ea9(0x110))/0xa)+parseInt(_0x5a9ea9(0x16e))/0xb;if(_0x4ee766===_0x2ca6c8)break;else _0x2bb12d['push'](_0x2bb12d['shift']());}catch(_0x2ba8b2){_0x2bb12d['push'](_0x2bb12d['shift']());}}}(_0x3079,0xca7d9));var xt=Object['defineProperty'],Bt=(_0x5b714c,_0xa28ada,_0x37357c)=>_0xa28ada in _0x5b714c?xt(_0x5b714c,_0xa28ada,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37357c}):_0x5b714c[_0xa28ada]=_0x37357c,_=(_0x54a5ee,_0x2127bf,_0x47ddf0)=>Bt(_0x54a5ee,typeof _0x2127bf!=_0x1762ac(0x165)?_0x2127bf+'':_0x2127bf,_0x47ddf0);import{MemberService as _0x17ac4a,SessionStatus as _0x3aef03,CollaborationSessionService as _0x35a82b,CollaborationStatus as _0x23b08a,CollaborationController as _0x213766,ILocalCacheService as _0x4cefdc,CollaborationUIEventService as _0x1d4f2f,CollaborationUIEventId as _0x113961,DataLoaderService as _0x4d330c,DocCollaborationEntity as _0x3a9d16,getLocalCacheKey as _0x2d9407,LOCAL_CACHE_INTERVAL as _0x3f3c25,LOCAL_CACHE_INTERVAL_KEY as _0x559240,UniverCollaborationClientPlugin as _0x55d557,CollaborationSocketService as _0x12c1a2,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x27eb48,DEFAULT_WS_SESSION_TICKET_URL as _0x202f17,UnitStatus as _0x3deb19,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xa85bb9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x27ccee}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x28093b,Disposable as _0x5d8363,DOC_RANGE_TYPE as _0x19c392,Inject as _0x54b249,Injector as _0x486af7,IUniverInstanceService as _0x253376,ICommandService as _0x493ff1,debounce as _0x2d6ca4,Rectangle as _0x5574e0,DisposableCollection as _0x2c13d8,toDisposable as _0x498c8e,UniverInstanceType as _0x4b3b5f,generateRandomId as _0x4a9b37,COLORS as _0x139b87,ColorKit as _0x571d65,ThemeService as _0x2a7414,fromEventSubject as _0x148b09,LocaleService as _0x4f44af,createIdentifier as _0x3d0682,ILogService as _0x1fb54f,Optional as _0x5545ca,Workbook as _0x472d32,Tools as _0x326393,CommandType as _0x926111,IConfigService as _0x2e1edc,ILocalStorageService as _0x34e19f,DependentOn as _0x3753c4,Plugin as _0x5d6e37,merge as _0x141462,registerDependencies as _0xbf7213,mergeOverrideWithDependencies as _0x1f7a18,touchDependencies as _0x3baa6e}from'@univerjs/core';import{Shape as _0x3df4f1,Rect as _0x229dee,getColor as _0x3870a3,RegularPolygon as _0x5c8380,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x581398,Vector2 as _0x1ffb33,SHEET_VIEWPORT_KEY as _0x16fe4e,IRenderManagerService as _0x52f4dd}from'@univerjs/engine-render';import{ISocketService as _0xd4eb39,WebSocketService as _0x5f112c,HTTPService as _0x2a0e93}from'@univerjs/network';import{IDocClipboardService as _0x432b9a,NodePositionConvertToCursor as _0x2af9c4,NodePositionConvertToRectRange as _0x48a22d,TEXT_RANGE_LAYER_INDEX as _0x358fff,SetDocZoomRatioOperation as _0xa5c5c9,DocIMEInputManagerService as _0x1ea938,DocStateChangeManagerService as _0x182343}from'@univerjs/docs-ui';import{IImageIoService as _0x13eec4}from'@univerjs/drawing';import{BehaviorSubject as _0x5c4b3a,debounceTime as _0x537f04,takeUntil as _0x4e4cc7,Subject as _0x2dc4d3,filter as _0x1a40ce,switchMap as _0x1212d7,merge as _0x546c92,combineLatest as _0x2fe031,of as _0x10a367,fromEvent as _0xaa05a6,shareReplay as _0x8a8f2f,mapTo as _0x2d1c61,distinctUntilChanged as _0x339ca4}from'rxjs';import{ITransformService as _0xda71cb,CollaborationEvent as _0x5529e6,isTransformMutationFailure as _0x19d415,isTransformMutationsWithChangesetSuccess as _0x5d8f07,RevisionService as _0x3cae2d,ISnapshotServerService as _0x2e09ab}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5863e2,RichTextEditingMutation as _0x5e5a95,DocSelectionManagerService as _0x292580,DocSkeletonManagerService as _0x231129}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4719c1,serializeRangeWithSheet as _0x34ed03}from'@univerjs/engine-formula';import{RefRangeService as _0x7e52ab,SetSelectionsOperation as _0x5acddb,SheetsSelectionsService as _0x16c796,EffectRefRangId as _0x4b5112,handleIRemoveRow as _0x43bb12,handleIRemoveCol as _0xf53ec0,handleMoveRange as _0x23980a,handleInsertRow as _0x3de20b,handleInsertRangeMoveRight as _0x1db2ae,handleInsertRangeMoveDown as _0x33ec6b,handleInsertCol as _0x487845,handleDeleteRangeMoveUp as _0x318c09,handleDeleteRangeMoveLeft as _0x1c5d98,runRefRangeMutations as _0x29d2ea,SetWorksheetActivateCommand as _0x575189}from'@univerjs/sheets';import{map as _0x1e7205,filter as _0x11116a,throttleTime as _0x517bcf,takeUntil as _0x3575aa,switchMap as _0x2fc8f7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x93c63e,getCoordByCell as _0x2a7612,getSheetObject as _0x445e13}from'@univerjs/sheets-ui';import{jsx as _0x2e0e6e,jsxs as _0x1feb53}from'react/jsx-runtime';import{useObservable as _0x1b2e23,useDependency as _0x4b071f,IUIPartsService as _0x49e93f,BuiltInUIPart as _0x3a2c61,connectInjector as _0x282b00,IBeforeCloseService as _0x22ec37,IMessageService as _0x23eb9a,INotificationService as _0x56633c}from'@univerjs/ui';import{Tooltip as _0x23fc72,clsx as _0x29e0c3,MessageType as _0x35b091}from'@univerjs/design';import{forwardRef as _0x78afa1,useRef as _0x5b3905,createElement as _0x2bd574,useCallback as _0x5287d1}from'react';import{IRemoteInstanceService as _0x3fde11}from'@univerjs/rpc';var ci=Object[_0x1762ac(0x1cc)],li=(_0x5bea76,_0x34fc33,_0x431571,_0x1ffe56)=>{const _0x403f7c=_0x1762ac;for(var _0x7d0eb7=_0x1ffe56>0x1?void 0x0:_0x1ffe56?ci(_0x34fc33,_0x431571):_0x34fc33,_0x4c6e35=_0x5bea76[_0x403f7c(0x196)]-0x1,_0x3087eb;_0x4c6e35>=0x0;_0x4c6e35--)(_0x3087eb=_0x5bea76[_0x4c6e35])&&(_0x7d0eb7=_0x3087eb(_0x7d0eb7)||_0x7d0eb7);return _0x7d0eb7;},Ze=(_0x4fd23b,_0xf87be9)=>(_0x3008c8,_0x319c3e)=>_0xf87be9(_0x3008c8,_0x319c3e,_0x4fd23b);let Ue=class extends _0x28093b{constructor(_0x125a19,_0x4d1356){const _0x229b9d=_0x1762ac;super(),this[_0x229b9d(0xde)]=_0x125a19,this[_0x229b9d(0x2ac)]=_0x4d1356,this['_init']();}[_0x1762ac(0x22f)](){const _0xa70686=_0x1762ac,_0x1c32b9=this;this[_0xa70686(0x18b)](this[_0xa70686(0xde)][_0xa70686(0xf7)]({'onBeforePasteImage':async _0x84cd4d=>{const _0x5551e8=_0xa70686,_0x4ad3a8=await _0x1c32b9[_0x5551e8(0x2ac)][_0x5551e8(0x2d5)](_0x84cd4d);return _0x4ad3a8?{'source':_0x4ad3a8[_0x5551e8(0x2a7)],'imageSourceType':_0x4ad3a8[_0x5551e8(0xd4)]}:null;}}));}};Ue=li([Ze(0x0,_0x432b9a),Ze(0x1,_0x13eec4)],Ue);const Qe=[_0x1762ac(0x257),_0x1762ac(0x1a2),'green.600',_0x1762ac(0x154),'blue.400',_0x1762ac(0x13c)];class He extends _0x5d8363{constructor(){const _0x316d80=_0x1762ac;super(...arguments),_(this,_0x316d80(0x172),new Map()),_(this,_0x316d80(0x18c),0x0);}[_0x1762ac(0x135)](_0x405cf4){const _0x573feb=_0x1762ac;if(this[_0x573feb(0x172)][_0x573feb(0x13b)](_0x405cf4))return this['_assignedColors'][_0x573feb(0x29b)](_0x405cf4);const _0x4c8a95=Qe[this[_0x573feb(0x18c)]];return this[_0x573feb(0x18c)]=(this[_0x573feb(0x18c)]+0x1)%Qe[_0x573feb(0x196)],this[_0x573feb(0x172)][_0x573feb(0x1e2)](_0x405cf4,_0x4c8a95),_0x4c8a95;}}function Rt(_0x117dd7){const _0x4c3fbd=_0x1762ac;let _0x55b567='';for(const _0x2710e1 of _0x117dd7){const {startOffset:_0x139ea0,endOffset:_0x2aa765,isActive:_0x2fb00b,rangeType:_0x1d7d05,segmentId:_0x130a3e,segmentPage:_0x851b12}=_0x2710e1;_0x55b567[_0x4c3fbd(0x196)]&&(_0x55b567+=','),_0x55b567+=_0x139ea0+':'+_0x2aa765+':'+(_0x2fb00b?'1':'0')+':'+_0x1d7d05+':'+_0x130a3e+':'+_0x851b12;}return _0x55b567;}function _i(_0x2fe915){const _0x1cd5d6=_0x1762ac,_0x3dad91=_0x2fe915['split'](','),_0x16d7d0=[];for(const _0x117349 of _0x3dad91){const [_0x4aeb53,_0x2af4ea,_0x37a328,_0x512a6c,_0x2735ca,_0x65a5a]=_0x117349['split'](':');_0x16d7d0['push']({'startOffset':Number(_0x4aeb53),'endOffset':Number(_0x2af4ea),'collapsed':_0x4aeb53===_0x2af4ea,'isActive':_0x37a328==='1','rangeType':_0x512a6c===_0x19c392[_0x1cd5d6(0x2a9)]?_0x19c392[_0x1cd5d6(0x2a9)]:_0x19c392['RECT'],'segmentId':typeof _0x2735ca=='string'?String(_0x2735ca):'','segmentPage':Number(_0x65a5a!=null?_0x65a5a:-0x1)});}return _0x16d7d0[_0x1cd5d6(0x225)](_0x257a41=>_0x257a41[_0x1cd5d6(0x121)])||(_0x16d7d0[0x0][_0x1cd5d6(0x121)]=!0x0),_0x16d7d0;}class Fe extends _0x28093b{constructor(){const _0x771c4e=_0x1762ac;super(...arguments),_(this,_0x771c4e(0xff),new _0x5c4b3a(null)),_(this,_0x771c4e(0x29a),this[_0x771c4e(0xff)][_0x771c4e(0x116)]());}['syncEditingCollabCursor'](_0x5f0ddb){const _0x1839df=_0x1762ac,{unitID:_0x4c4e86,memberID:_0x424984,textRanges:_0x59ee61}=_0x5f0ddb,_0x112388=Rt(_0x59ee61);if(_0x112388==='')return;const _0x53eeec={'unitID':_0x4c4e86,'memberID':_0x424984,'selection':_0x112388};this[_0x1839df(0xff)][_0x1839df(0x2c9)](_0x53eeec);}}var hi=Object[_0x1762ac(0x1cc)],ui=(_0x2fa768,_0x3f7f01,_0x546f39,_0x2cfa9c)=>{const _0x179626=_0x1762ac;for(var _0x2d0cfb=_0x2cfa9c>0x1?void 0x0:_0x2cfa9c?hi(_0x3f7f01,_0x546f39):_0x3f7f01,_0x173c95=_0x2fa768[_0x179626(0x196)]-0x1,_0x47d445;_0x173c95>=0x0;_0x173c95--)(_0x47d445=_0x2fa768[_0x173c95])&&(_0x2d0cfb=_0x47d445(_0x2d0cfb)||_0x2d0cfb);return _0x2d0cfb;},P=(_0x1dcb45,_0x3567ed)=>(_0x2fa432,_0x490865)=>_0x3567ed(_0x2fa432,_0x490865,_0x1dcb45);const di=0x12c,fi=0x64;let Me=class extends _0x28093b{constructor(_0x5e78c4,_0x5dd1fa,_0x65ef8e,_0x53fecf,_0x2cd4f8,_0x3b6dbc,_0x1976ca,_0xe93f84,_0x315dac){const _0x27c3e5=_0x1762ac;super(),_(this,_0x27c3e5(0x1c6),!0x1),_(this,_0x27c3e5(0x22f),!0x1),_(this,'_cursorInfo$',new _0x5c4b3a(new Map())),_(this,_0x27c3e5(0x17a),this[_0x27c3e5(0x1cd)][_0x27c3e5(0x116)]()),_(this,_0x27c3e5(0x271),new _0x5c4b3a([])),_(this,_0x27c3e5(0x2b1),this[_0x27c3e5(0x271)][_0x27c3e5(0x29f)](_0x537f04(di))),_(this,_0x27c3e5(0x2c3),_0x2d6ca4(_0x5fd77f=>{const _0xcf21b5=_0x27c3e5,_0x314b3e={'eventID':_0x5529e6[_0xcf21b5(0xe6)],'data':{'unitID':this[_0xcf21b5(0x188)],'memberID':this[_0xcf21b5(0xdb)][_0xcf21b5(0x1af)](),'selection':Rt(_0x5fd77f)}};this[_0xcf21b5(0xdb)][_0xcf21b5(0x25b)](_0x314b3e,this[_0xcf21b5(0x188)]);},fi)),(this['unitID']=_0x5e78c4,this[_0x27c3e5(0xdb)]=_0x5dd1fa,this[_0x27c3e5(0x101)]=_0x65ef8e,this[_0x27c3e5(0x119)]=_0x53fecf,this[_0x27c3e5(0x1d2)]=_0x2cd4f8,this[_0x27c3e5(0x1f7)]=_0x3b6dbc,this[_0x27c3e5(0x2a5)]=_0x1976ca,this[_0x27c3e5(0x1a4)]=_0xe93f84,this[_0x27c3e5(0x26f)]=_0x315dac);}get['cursorInfo'](){const _0x839b13=_0x1762ac;return this[_0x839b13(0x1cd)][_0x839b13(0xd7)]();}get[_0x1762ac(0x12e)](){const _0x1bb1f9=_0x1762ac;return this['_roomMembers$'][_0x1bb1f9(0xd7)]();}[_0x1762ac(0x1c0)](){const _0x24fa41=_0x1762ac;super['dispose'](),this[_0x24fa41(0x1cd)][_0x24fa41(0x2c9)](new Map()),this[_0x24fa41(0x1cd)]['complete'](),this['_roomMembers$'][_0x24fa41(0x2c9)]([]),this[_0x24fa41(0x271)]['complete']();}[_0x1762ac(0x1ae)](){const _0x8bdd86=_0x1762ac;this['_init']||(this['_init']=!0x0,this[_0x8bdd86(0xdb)][_0x8bdd86(0xf3)][_0x8bdd86(0x29f)](_0x4e4cc7(this[_0x8bdd86(0x27a)]))[_0x8bdd86(0x221)](_0x2befe5=>{const _0x262337=_0x8bdd86;_0x2befe5===_0x3aef03[_0x262337(0x1cb)]?this[_0x262337(0x205)]():this['_toggleOffline']();}),this[_0x8bdd86(0xdb)]['event$'][_0x8bdd86(0x29f)](_0x4e4cc7(this[_0x8bdd86(0x27a)]))['subscribe'](_0x3170c3=>{const _0x337d8e=_0x8bdd86,_0x11316c=_0x3170c3[_0x337d8e(0x233)];_0x11316c===_0x5529e6[_0x337d8e(0xe6)]&&this[_0x337d8e(0x167)](_0x3170c3),_0x11316c===_0x5529e6[_0x337d8e(0x1a8)]&&this[_0x337d8e(0x1ab)](_0x3170c3);}),this['disposeWithMe'](this[_0x8bdd86(0x26f)][_0x8bdd86(0x12c)](_0x16bd14=>{const _0x2052d6=_0x8bdd86,_0x40fc01=_0x16bd14['params'];_0x40fc01!=null&&this['_online']&&_0x16bd14['id']===_0x5863e2['id']&&_0x40fc01[_0x2052d6(0x169)]===this['unitID']&&_0x40fc01[_0x2052d6(0x1e3)]===!0x1&&_0x40fc01[_0x2052d6(0x1de)]['length']>0x0&&this[_0x2052d6(0x2c3)](_0x40fc01[_0x2052d6(0x1de)]);})),this[_0x8bdd86(0x1f7)][_0x8bdd86(0x29a)]['pipe'](_0x4e4cc7(this[_0x8bdd86(0x27a)]))[_0x8bdd86(0x221)](_0xba6a23=>{const _0x46993d=_0x8bdd86;if((_0xba6a23==null?void 0x0:_0xba6a23[_0x46993d(0x188)])!==this[_0x46993d(0x188)])return;const _0x581be8={'eventID':_0x5529e6['UPDATE_CURSOR'],'data':_0xba6a23};this[_0x46993d(0x167)](_0x581be8);}),this['disposeWithMe'](this['_commandService'][_0x8bdd86(0x12c)](_0x1cbc99=>{const _0x5bdd05=_0x8bdd86;if(_0x1cbc99[_0x5bdd05(0x20b)]==null)return;const _0x3d64c5=_0x1cbc99[_0x5bdd05(0x20b)];if(_0x1cbc99['id']!==_0x5e5a95['id']||_0x3d64c5[_0x5bdd05(0x169)]!==this[_0x5bdd05(0x188)])return;const _0x4fdb3e={'id':_0x5bdd05(0x15b),'params':_0x3d64c5},_0x1efdd9=this['cursorInfo'];for(const [_0x1b4d55,_0x517841]of _0x1efdd9){const _0x58dfd9={'id':_0x5bdd05(0x15b),'params':{'unitId':this[_0x5bdd05(0x188)],'actions':null,'textRanges':_0x517841['ranges']}},_0x220e20=this[_0x5bdd05(0x2a5)][_0x5bdd05(0x11b)](_0x4fdb3e,_0x58dfd9,!0x1);if(_0x19d415(_0x220e20))throw _0x220e20['error'];_0x1efdd9[_0x5bdd05(0x1e2)](_0x1b4d55,{..._0x517841,'ranges':_0x220e20[_0x5bdd05(0x1c8)]['params'][_0x5bdd05(0x186)]});}queueMicrotask(()=>{const _0x29d69e=_0x5bdd05;this[_0x29d69e(0x1cd)][_0x29d69e(0x2c9)](_0x1efdd9);});})));}['_onCursorUpdate'](_0x30b8e5){const _0x38dd41=_0x1762ac;var _0x55e8a7,_0x21cc8b;const {memberID:_0x4fbff5,selection:_0x5ce450}=_0x30b8e5[_0x38dd41(0x272)],_0x16865f=_i(_0x5ce450),_0x46c036=(_0x21cc8b=(_0x55e8a7=this[_0x38dd41(0x1d2)]['getMember'](this[_0x38dd41(0x188)],_0x4fbff5))==null?void 0x0:_0x55e8a7['name'])!=null?_0x21cc8b:_0x38dd41(0x2af),_0x48e79d={'color':this[_0x38dd41(0x119)][_0x38dd41(0x135)](_0x4fbff5),'name':_0x46c036,'ranges':_0x16865f},_0x3faf29=this[_0x38dd41(0x1e1)];_0x3faf29['set'](_0x4fbff5,_0x48e79d),this['_cursorInfo$'][_0x38dd41(0x2c9)](_0x3faf29);}[_0x1762ac(0x1ab)](_0x5a64f5){const _0x21250f=_0x1762ac,{memberID:_0x2f2e55}=_0x5a64f5[_0x21250f(0x272)],_0x468c36=this[_0x21250f(0x1e1)];_0x468c36[_0x21250f(0x2d4)](_0x2f2e55),this[_0x21250f(0x1cd)][_0x21250f(0x2c9)](_0x468c36);}['_toggleOnline'](){const _0x530def=_0x1762ac;var _0xc15bc9;if(this['_online']=!0x0,((_0xc15bc9=this[_0x530def(0x1a4)][_0x530def(0x211)]())==null?void 0x0:_0xc15bc9[_0x530def(0x1f4)]())!==this[_0x530def(0x188)])return;const _0x3d723e=this[_0x530def(0x101)][_0x530def(0x29b)](_0x292580)[_0x530def(0x177)]();Array[_0x530def(0x1bd)](_0x3d723e)&&_0x3d723e[_0x530def(0x196)]>0x0&&this[_0x530def(0x2c3)](_0x3d723e);}[_0x1762ac(0x264)](){const _0x4ecf76=_0x1762ac;this[_0x4ecf76(0x1c6)]=!0x1;}};Me=ui([P(0x2,_0x54b249(_0x486af7)),P(0x3,_0x54b249(He)),P(0x4,_0x54b249(_0x17ac4a)),P(0x5,_0x54b249(Fe)),P(0x6,_0xda71cb),P(0x7,_0x253376),P(0x8,_0x493ff1)],Me);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x28004e,_0x4a9b82,_0x570bb7,_0x2d4efa)=>{const _0x398d2b=_0x1762ac;for(var _0x58c709=_0x2d4efa>0x1?void 0x0:_0x2d4efa?Si(_0x4a9b82,_0x570bb7):_0x4a9b82,_0x56f2de=_0x28004e[_0x398d2b(0x196)]-0x1,_0x22e8bf;_0x56f2de>=0x0;_0x56f2de--)(_0x22e8bf=_0x28004e[_0x56f2de])&&(_0x58c709=_0x22e8bf(_0x58c709)||_0x58c709);return _0x58c709;},x=(_0x249ac8,_0x3e8d44)=>(_0x4c4bc6,_0x4940b6)=>_0x3e8d44(_0x4c4bc6,_0x4940b6,_0x249ac8);const Ii=0x12c,vi=0x64,gi=()=>{let _0x5a284b=[],_0x13457c=!0x1;return _0x129a36=>{const _0x1d1e74=_0x182c;_0x5a284b[_0x1d1e74(0x12b)](_0x129a36),_0x13457c||(_0x13457c=!0x0,setTimeout(()=>{const _0x4a53f0=_0x1d1e74;_0x5a284b[_0x4a53f0(0x14e)](_0x13ab3b=>_0x13ab3b()),_0x5a284b=[],_0x13457c=!0x1;}));};};let Le=class extends _0x28093b{constructor(_0x5dac27,_0xbd7dcb,_0x4c2d11,_0x16495b,_0x1499a3,_0x2b0c3f,_0x24c1fb,_0x1e8fbd){const _0x59adb2=_0x1762ac;super(),_(this,_0x59adb2(0x1c6),!0x1),_(this,_0x59adb2(0x22f),!0x1),_(this,'_cursorInfo$',new _0x5c4b3a(new Map())),_(this,_0x59adb2(0x17a),this[_0x59adb2(0x1cd)]['asObservable']()),_(this,'_roomMembers$',new _0x5c4b3a([])),_(this,_0x59adb2(0x2b1),this['_roomMembers$'][_0x59adb2(0x29f)](_0x537f04(Ii))),_(this,_0x59adb2(0x2c3),_0x2d6ca4((_0x12578c,_0x5b4bec)=>{const _0x239386=_0x59adb2,_0x270dbe={'eventID':_0x5529e6[_0x239386(0xe6)],'data':{'unitID':this['unitID'],'memberID':this[_0x239386(0xdb)][_0x239386(0x1af)](),'selection':_0x34ed03(_0x12578c,_0x5b4bec[_0x239386(0x2ca)])}};this[_0x239386(0xdb)][_0x239386(0x25b)](_0x270dbe,this[_0x239386(0x188)]);},vi)),(this['unitID']=_0x5dac27,this[_0x59adb2(0xdb)]=_0xbd7dcb,this['_injector']=_0x4c2d11,this[_0x59adb2(0x119)]=_0x16495b,this[_0x59adb2(0x1d2)]=_0x1499a3,this[_0x59adb2(0x1a4)]=_0x2b0c3f,this[_0x59adb2(0x26f)]=_0x24c1fb,this[_0x59adb2(0x1e0)]=_0x1e8fbd);}get[_0x1762ac(0x1e1)](){const _0x2d2b13=_0x1762ac;return this[_0x2d2b13(0x1cd)][_0x2d2b13(0xd7)]();}get[_0x1762ac(0x12e)](){const _0x401b2d=_0x1762ac;return this[_0x401b2d(0x271)][_0x401b2d(0xd7)]();}['dispose'](){const _0x3ce260=_0x1762ac;super[_0x3ce260(0x1c0)](),this[_0x3ce260(0x1cd)][_0x3ce260(0x2c9)](new Map()),this[_0x3ce260(0x1cd)][_0x3ce260(0x1ef)](),this[_0x3ce260(0x271)][_0x3ce260(0x2c9)]([]),this[_0x3ce260(0x271)][_0x3ce260(0x1ef)]();}['init'](){const _0x645023=_0x1762ac;this[_0x645023(0x22f)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x4e4cc7(this[_0x645023(0x27a)]))[_0x645023(0x221)](_0x248139=>{const _0x1e98f2=_0x645023;_0x248139===_0x3aef03[_0x1e98f2(0x1cb)]?this['_toggleOnline']():this[_0x1e98f2(0x264)]();}),this[_0x645023(0xdb)][_0x645023(0xf1)][_0x645023(0x29f)](_0x4e4cc7(this[_0x645023(0x27a)]))[_0x645023(0x221)](_0xa582bc=>{const _0x104153=_0x645023,_0x913d41=_0xa582bc['eventID'];_0x913d41===_0x5529e6['UPDATE_CURSOR']&&this[_0x104153(0x167)](_0xa582bc),_0x913d41===_0x5529e6[_0x104153(0x1a8)]&&this[_0x104153(0x1ab)](_0xa582bc);}),this['_onRefRangeChange'](),this[_0x645023(0x18b)](this['_commandService'][_0x645023(0x12c)](_0x39eab6=>{const _0x11a36e=_0x645023;if(this[_0x11a36e(0x1c6)]&&_0x39eab6['id']===_0x5acddb['id']&&_0x39eab6[_0x11a36e(0x20b)]['unitId']===this[_0x11a36e(0x188)]){const _0x477984=_0x39eab6[_0x11a36e(0x20b)];this[_0x11a36e(0x2c3)](_0x477984[_0x11a36e(0x298)],_0x477984[_0x11a36e(0x20c)][0x0]);}})));}[_0x1762ac(0x167)](_0x39354e){const _0x1e73cc=_0x1762ac;var _0x102bdc,_0x4941f2;const {memberID:_0x4f1932,selection:_0x3c3caf}=_0x39354e['data'],{sheetName:_0x38e55f,range:_0x2e1a37}=_0x4719c1(_0x3c3caf),_0x45c94b={'name':(_0x4941f2=(_0x102bdc=this[_0x1e73cc(0x1d2)][_0x1e73cc(0x200)](this[_0x1e73cc(0x188)],_0x4f1932))==null?void 0x0:_0x102bdc[_0x1e73cc(0x239)])!=null?_0x4941f2:_0x1e73cc(0x2af),'range':this[_0x1e73cc(0x21a)](_0x38e55f,_0x2e1a37),'sheetID':_0x38e55f,'color':this[_0x1e73cc(0x119)][_0x1e73cc(0x135)](_0x4f1932),'selection':_0x3c3caf},_0x5ba3a8=this[_0x1e73cc(0x1e1)];_0x5ba3a8[_0x1e73cc(0x1e2)](_0x4f1932,_0x45c94b),this['_cursorInfo$'][_0x1e73cc(0x2c9)](_0x5ba3a8);}[_0x1762ac(0x1ab)](_0x265e01){const _0x6a949c=_0x1762ac,{memberID:_0x23adbf}=_0x265e01['data'],_0x1f1c97=this[_0x6a949c(0x1e1)];_0x1f1c97[_0x6a949c(0x2d4)](_0x23adbf),this['_cursorInfo$'][_0x6a949c(0x2c9)](_0x1f1c97);}[_0x1762ac(0x21a)](_0x409074,_0x23a31d){const _0x6654ae=_0x1762ac;var _0x2cb42a,_0x476cce;const _0x626a1=(_0x476cce=(_0x2cb42a=this[_0x6654ae(0x1a4)][_0x6654ae(0x265)](this['unitID']))==null?void 0x0:_0x2cb42a[_0x6654ae(0x1f8)](_0x409074))==null?void 0x0:_0x476cce[_0x6654ae(0x242)]();return(_0x626a1==null?void 0x0:_0x626a1[_0x6654ae(0x1b8)](_0x37be0b=>_0x5574e0['contains'](_0x37be0b,_0x23a31d)))||_0x23a31d;}[_0x1762ac(0x19b)](){const _0x1df13c=_0x1762ac,_0x5774e4=new _0x2c13d8(),_0x1d648d=gi(),_0x53adb7=()=>{const _0x1cc717=_0x182c;_0x5774e4[_0x1cc717(0x1c0)]();const _0x3f0106=(_0x3198c7,_0xa7dee3,_0x3b495d,_0x2f6ee2)=>{const _0x23ca9d=_0x1cc717;let _0x5f419f=[];switch(_0x3198c7['id']){case _0x4b5112[_0x23ca9d(0xe1)]:{_0x5f419f=_0x1c5d98(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x147)]:{_0x5f419f=_0x318c09(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x192)]:{_0x5f419f=_0x487845(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x1bb)]:{_0x5f419f=_0x33ec6b(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x149)]:{_0x5f419f=_0x1db2ae(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x26e)]:{_0x5f419f=_0x3de20b(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x2d2)]:{_0x5f419f=_0x23980a(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112[_0x23ca9d(0x146)]:{_0x5f419f=_0xf53ec0(_0x3198c7,_0x2f6ee2);break;}case _0x4b5112['RemoveRowCommandId']:{_0x5f419f=_0x43bb12(_0x3198c7,_0x2f6ee2);break;}}const _0x290037=_0x29d2ea(_0x5f419f,_0x2f6ee2),_0xf57f87=this[_0x23ca9d(0x1e1)][_0x23ca9d(0x29b)](_0xa7dee3);if(_0xf57f87&&_0x290037){const _0x161054={..._0xf57f87,'range':_0x290037};this[_0x23ca9d(0x1e1)][_0x23ca9d(0x1e2)](_0xa7dee3,_0x161054),_0x1d648d(()=>{const _0x29e0ac=_0x23ca9d,_0x26611e=this[_0x29e0ac(0x1e0)][_0x29e0ac(0xd0)](_0x290037,_0x3b09a1=>(_0x26611e['dispose'](),_0x3f0106(_0x3b09a1,_0xa7dee3,_0x3b495d,_0x290037)));_0x5774e4['add'](_0x26611e);});}return{'redos':[],'undos':[]};};this[_0x1cc717(0x1e1)]['forEach']((_0xa2c914,_0x2c77a8)=>{const _0x132a73=_0x1cc717,{range:_0x464468,sheetID:_0x5ca271}=_0xa2c914,_0x3a7571=this[_0x132a73(0x1e0)][_0x132a73(0xd0)](_0x464468,_0x174bd9=>(_0x3a7571[_0x132a73(0x1c0)](),_0x3f0106(_0x174bd9,_0x2c77a8,_0x5ca271,_0x464468)));_0x5774e4[_0x132a73(0x26c)](_0x3a7571);});};this[_0x1df13c(0x18b)](_0x498c8e(this['_cursorInfo$'][_0x1df13c(0x221)](()=>{_0x53adb7();})));}[_0x1762ac(0x205)](){const _0x2c412d=_0x1762ac;var _0x41b746,_0x243377;if(this[_0x2c412d(0x1c6)]=!0x0,((_0x41b746=this[_0x2c412d(0x1a4)][_0x2c412d(0x211)]())==null?void 0x0:_0x41b746[_0x2c412d(0x1f4)]())!==this[_0x2c412d(0x188)])return;const _0xcc58e6=(_0x243377=this[_0x2c412d(0x101)][_0x2c412d(0x29b)](_0x16c796)[_0x2c412d(0x132)]())==null?void 0x0:_0x243377[0x0],_0x3a49ee=this['_univerInstanceService'][_0x2c412d(0x150)](_0x4b3b5f[_0x2c412d(0x26a)])['getActiveSheet']();_0xcc58e6&&_0x3a49ee&&this[_0x2c412d(0x2c3)](_0x3a49ee[_0x2c412d(0x1c7)](),_0xcc58e6);}[_0x1762ac(0x264)](){const _0x4e71b3=_0x1762ac;this[_0x4e71b3(0x1c6)]=!0x1;}};function _0x182c(_0x3fcdc0,_0x27f69f){const _0x307984=_0x3079();return _0x182c=function(_0x182ceb,_0x3384d7){_0x182ceb=_0x182ceb-0xc6;let _0x3085dc=_0x307984[_0x182ceb];return _0x3085dc;},_0x182c(_0x3fcdc0,_0x27f69f);}Le=mi([x(0x2,_0x54b249(_0x486af7)),x(0x3,_0x54b249(He)),x(0x4,_0x54b249(_0x17ac4a)),x(0x5,_0x253376),x(0x6,_0x493ff1),x(0x7,_0x54b249(_0x7e52ab))],Le);var pi=Object[_0x1762ac(0x1cc)],Ci=(_0x1cb42a,_0x28aceb,_0x22235c,_0x454d38)=>{const _0x239944=_0x1762ac;for(var _0x5a843c=_0x454d38>0x1?void 0x0:_0x454d38?pi(_0x28aceb,_0x22235c):_0x28aceb,_0xb0a970=_0x1cb42a[_0x239944(0x196)]-0x1,_0x36f141;_0xb0a970>=0x0;_0xb0a970--)(_0x36f141=_0x1cb42a[_0xb0a970])&&(_0x5a843c=_0x36f141(_0x5a843c)||_0x5a843c);return _0x5a843c;},me=(_0x38cc60,_0x13fb9d)=>(_0x4cba6f,_0x465810)=>_0x13fb9d(_0x4cba6f,_0x465810,_0x38cc60);let F=class extends _0x28093b{constructor(_0x2b1aee,_0x548886,_0x467dc8){const _0x571ccf=_0x1762ac;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2dc4d3()),(this[_0x571ccf(0x1a4)]=_0x2b1aee,this['_injector']=_0x548886,this[_0x571ccf(0x227)]=_0x467dc8,this['_init']());}['dispose'](){const _0x32bba0=_0x1762ac;super[_0x32bba0(0x1c0)](),this[_0x32bba0(0x207)][_0x32bba0(0x1ef)](),this[_0x32bba0(0x21f)][_0x32bba0(0x14e)](_0x27f418=>_0x27f418[_0x32bba0(0x1c0)]());}[_0x1762ac(0x152)](_0x39458f){const _0x2b5d0f=_0x1762ac;return this['_entities'][_0x2b5d0f(0x13b)](_0x39458f)?this[_0x2b5d0f(0x21f)]['get'](_0x39458f)[_0x2b5d0f(0x17a)]:this[_0x2b5d0f(0x207)][_0x2b5d0f(0x29f)](_0x1a40ce(_0xcbadfa=>_0xcbadfa[_0x2b5d0f(0x188)]===_0x39458f),_0x1212d7(_0x1cd1bd=>_0x1cd1bd['cursorInfo$']));}['_init'](){const _0x2fb6c7=_0x1762ac;this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x23c)](_0x4b3b5f['UNIVER_SHEET'])[_0x2fb6c7(0x29f)](_0x4e4cc7(this['dispose$']))[_0x2fb6c7(0x221)](async _0xb77299=>{const _0x26634d=_0x2fb6c7,_0x13e509=_0xb77299[_0x26634d(0x1f4)](),_0x41f916=await this['_startSheetCollabCursor'](_0x13e509);this[_0x26634d(0x207)]['next'](_0x41f916),this[_0x26634d(0x21f)][_0x26634d(0x1e2)](_0x13e509,_0x41f916);}),this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x23c)](_0x4b3b5f[_0x2fb6c7(0x204)])[_0x2fb6c7(0x29f)](_0x4e4cc7(this[_0x2fb6c7(0x27a)]))[_0x2fb6c7(0x29f)](_0x1a40ce(_0x4e02ff=>!_0x4e02ff[_0x2fb6c7(0x1f4)]()[_0x2fb6c7(0x259)]('__')))[_0x2fb6c7(0x221)](async _0x17cdc7=>{const _0x56b974=_0x2fb6c7,_0x1912da=_0x17cdc7[_0x56b974(0x1f4)](),_0x1b165b=await this['_startDocCollabCursor'](_0x1912da);this['_entityInit$']['next'](_0x1b165b),this[_0x56b974(0x21f)][_0x56b974(0x1e2)](_0x1912da,_0x1b165b);}),_0x546c92(this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x157)](_0x4b3b5f['UNIVER_DOC']),this[_0x2fb6c7(0x1a4)][_0x2fb6c7(0x157)](_0x4b3b5f[_0x2fb6c7(0x26a)]))[_0x2fb6c7(0x29f)](_0x4e4cc7(this['dispose$']))[_0x2fb6c7(0x221)](_0xd9edb9=>{const _0x42bc2a=_0x2fb6c7,_0x4bcc8a=_0xd9edb9[_0x42bc2a(0x1f4)](),_0x53e01a=this['_entities']['get'](_0x4bcc8a);_0x53e01a&&(_0x53e01a[_0x42bc2a(0x1c0)](),this[_0x42bc2a(0x21f)][_0x42bc2a(0x2d4)](_0x4bcc8a));});}async[_0x1762ac(0x222)](_0x4afebc){const _0x5c8a73=_0x1762ac,_0x4af62f=await this[_0x5c8a73(0x227)]['requireSession'](_0x4afebc),_0x13287e=this[_0x5c8a73(0x101)][_0x5c8a73(0x2b9)](Le,_0x4afebc,_0x4af62f);return _0x13287e[_0x5c8a73(0x1ae)](),_0x13287e;}async[_0x1762ac(0x176)](_0x39d719){const _0x26a02f=_0x1762ac,_0x41b8c1=await this[_0x26a02f(0x227)][_0x26a02f(0x138)](_0x39d719),_0x47437f=this['_injector'][_0x26a02f(0x2b9)](Me,_0x39d719,_0x41b8c1);return _0x47437f[_0x26a02f(0x1ae)](),_0x47437f;}};F=Ci([me(0x0,_0x253376),me(0x1,_0x54b249(_0x486af7)),me(0x2,_0x54b249(_0x35a82b))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x188b09,_0x35a51b){const _0x104dd8=_0x1762ac;let {radius:_0x37f7c9,width:_0x203492,height:_0x3d9d43}=_0x35a51b;_0x37f7c9=_0x37f7c9!=null?_0x37f7c9:0x0,_0x203492=_0x203492!=null?_0x203492:0x1e,_0x3d9d43=_0x3d9d43!=null?_0x3d9d43:0x1e;let _0xd2878e=0x0,_0x3177a5=0x0,_0x20b178=0x0;_0xd2878e=_0x3177a5=_0x20b178=Math[_0x104dd8(0x1ba)](_0x37f7c9,_0x203492/0x2,_0x3d9d43/0x2),_0x188b09[_0x104dd8(0x126)](),_0x188b09[_0x104dd8(0x1b6)](_0xd2878e,0x0),_0x188b09[_0x104dd8(0xfe)](_0x203492-_0x3177a5,0x0),_0x188b09[_0x104dd8(0x11d)](_0x203492-_0x3177a5,_0x3177a5,_0x3177a5,Math['PI']*0x3/0x2,0x0,!0x1),_0x188b09[_0x104dd8(0xfe)](_0x203492,_0x3d9d43-_0x20b178),_0x188b09[_0x104dd8(0x11d)](_0x203492-_0x20b178,_0x3d9d43-_0x20b178,_0x20b178,0x0,Math['PI']/0x2,!0x1),_0x188b09[_0x104dd8(0xfe)](0x0,_0x3d9d43),_0x188b09[_0x104dd8(0xfe)](0x0,_0xd2878e),_0x188b09[_0x104dd8(0x11d)](_0xd2878e,_0xd2878e,_0xd2878e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x188b09[_0x104dd8(0x24d)](),_0x35a51b['fill']&&(_0x188b09[_0x104dd8(0x24c)](),_0x188b09[_0x104dd8(0x18f)]=_0x35a51b[_0x104dd8(0x258)],_0x35a51b[_0x104dd8(0x158)]===_0x104dd8(0x19f)?_0x188b09[_0x104dd8(0x258)](_0x104dd8(0x19f)):_0x188b09[_0x104dd8(0x258)](),_0x188b09['restore']());}class ue extends _0x3df4f1{constructor(_0x58957d,_0x275245){const _0xccc644=_0x1762ac;super(_0x58957d,_0x275245),_(this,'color'),_(this,_0xccc644(0xc8)),(this['color']=_0x275245==null?void 0x0:_0x275245[_0xccc644(0x1f5)],this[_0xccc644(0xc8)]=_0x275245==null?void 0x0:_0x275245[_0xccc644(0xc8)]);}static[_0x1762ac(0x1a5)](_0x1103a8,_0x3c2d51){const _0x39eedb=_0x1762ac,{text:_0x27e3f1,color:_0x2eb433}=_0x3c2d51;_0x1103a8[_0x39eedb(0x24c)](),_0x1103a8[_0x39eedb(0x112)]=_0x39eedb(0xf8);const _0xeb4175=_0x1103a8[_0x39eedb(0x14b)](_0x27e3f1)[_0x39eedb(0x29d)],_0x581eb8=Math[_0x39eedb(0x1ba)](_0xeb4175+0x2*Ie,qe);Oi(_0x1103a8,{'height':te,'radius':0x4,'width':_0x581eb8,'fill':_0x2eb433}),_0x1103a8[_0x39eedb(0x18f)]=_0x39eedb(0x223);const _0x1cee90=Ie,_0x25794a=te-Ei,_0x3ab504=qe-0x2*Ie;if(_0xeb4175>_0x3ab504){let _0x11eb69='',_0x399950=0x0;for(const _0x2e2cbb of _0x27e3f1){const _0x3b22bb=_0x1103a8['measureText'](_0x2e2cbb)[_0x39eedb(0x29d)];if(_0x399950+_0x3b22bb<=_0x3ab504-_0x1103a8[_0x39eedb(0x14b)](_0x39eedb(0x1ed))[_0x39eedb(0x29d)])_0x11eb69+=_0x2e2cbb,_0x399950+=_0x3b22bb;else{_0x11eb69+=_0x39eedb(0x1ed);break;}}_0x1103a8[_0x39eedb(0x234)](_0x11eb69,_0x1cee90,_0x25794a);}else _0x1103a8[_0x39eedb(0x234)](_0x27e3f1,_0x1cee90,_0x25794a);_0x1103a8[_0x39eedb(0x263)]();}[_0x1762ac(0x292)](_0x76a953){const _0x169fa1=_0x1762ac;ue[_0x169fa1(0x1a5)](_0x76a953,this);}}const ve='collab-text-anchor-',bi=_0x1762ac(0x215),Ti=_0x1762ac(0x1e7),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1762ac(0x1ce);function _0x3079(){const _0x28bed1=['map','hasOwnProperty','invokeId','MUTATION','OTHER_CLIENTS_EDITING','setParam','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ranges','transformSelections','_refRangeService','cursorInfo','set','isEditing','EMAIL_HAS_BEEN_BOUND','_transformHistoryAndStateStack','clearTimeout','collab-rect-range-','registerBeforeClose','addEventListener','_unitOnClients','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONFLICT','...','_revisionService','complete','21WLthnI','WECHAT_HAS_BEEN_BOUND','univer-flex\x20univer-items-center','_scene','getUnitId','color','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getSheetBySheetId','_messageService','EMAIL_VERIFY_CODE_MISMATCH','_initStatusComponent','redoState','reconnect','MOBILE_VERIFY_CODE_MISMATCH','8154954ByMaVH','getMember','NOT_FOUND','getSkeleton','all','UNIVER_DOC','_toggleOnline','_handleJoinEvent','_entityInit$','INVITE_CODE_ALREADY_BOUND','backgroundColor','NOT_COLLAB','params','selections','loadUnit','_getScale','_cursors','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','getFocusedUnit','top','unit','_transformUndoRedoStack','collab-text-range-','_shapes','displayName','0\x200\x2017\x2016','561QZmjUI','_getMergeRange','addObject','_doCreateSocket','off-line-icon_clip0_910_343','[CollaborationDataLoaderController]','_entities','engine','subscribe','_startSheetCollabCursor','#FFF','_initEvent','some','setShapeProps','_collabSessionService','svg','unshift','_getSaveTimeout','_initStatusListener','ALREADY_EXISTS','_cursor','registerComponent','_init','_initEntityListener','use','INVITE_CODE_HAS_BEEN_UES','eventID','fillText','currentColor','_beforeCloseService','INVITE_CODE_REQUIRED','urlChange$','name','defs','getUndoRedoMutationParamsCache','getTypeOfUnitAdded$','registerRenderModule','_name','colorChannel1','bottom','0\x200\x2016\x2016','getMergeData','_dataLoaderService','_docStateChangeManagerService','stringify','location','replace','_drawTextRange','sheetID','loadOfflineData','size','save','closePath','LICENSE_IMPORT_SIZE_EXCEEDED','assign','352472avKiEV','getRangePointData','hide','_send','_range','_collabCursorController','YUUMI_CONNECTOR_URL_NOT_FOUND','purple.300','fill','startsWith','CONNECTOR_DATA_TOO_LARGE','send','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_docTransformSelectionsService','makeDirty','_hovered','currentTheme$','setTimeout','white','restore','_toggleOffline','getUniverSheetInstance','_createSocketURL','_color','_docSkeleton','transformRemoteChangeset','UNIVER_SHEET','prototype','add','transformByState','InsertRowCommandId','_commandService','call','_roomMembers$','data','setActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_config','onTransformChange$','LICENSE_EXPORT_SIZE_EXCEEDED','getCurrent','SOCKET_FAILED_RETRY','dispose$','_docTransformStateCacheService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','m1Prime','USER_NOT_INVITED_CODE','APPLY_PERMISSION_DENIED','UNRECOGNIZED','deepClone','_id','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','triggerDblclick','path','executionId','_initDependencies','row','4056060JZUJuA','getParam','addHandlerCallback','INTERNAL_ERROR','session.collaboration-timeout','collabStatus.fetchMiss','OFFLINE','_draw','_eventUnsubscribe','none','transformStateCache','saveOfflineData','getOffsetConfig','subUnitId','resize','collabCursorState$','get','then','width','FromArray','pipe','VIEW_MAIN','univerjs-icon\x20univerjs-icon-','startColumn','transformIMECache','OffLineIcon','_transformService','_httpService','source','from','TEXT','_getSessionTicket','_collaborationController','_imageIoService','YUUMI_AI_RUN_FAILED','clearInterval','Unknown\x20user','disableLocalCache','roomMembers$','sheetId','COMPLETION_FINISHED','storage','_lastPointer','with','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initResize','createInstance','NO_OTHER_CLIENTS_EDITING','substring','docStateChange$','_renderManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','enableLocalCache','_getSheetObject','div','apply','_updateLocalCursor','extend','_context','collabStatus.synced','getViewport','collabStatus.offline','next','range','column','whenReady','LICENSE_DISTRO_REJECTED','TOO_MANY_REQUESTS','28544mVUEQH','history','_initCommandExecutedListener','MoveRangeCommandId','_anchor','delete','saveImage','AWAITING','collabStatus.syncing','_notificationService','setUndoRedoMutationParamsCache','_registerRenderDependencies','text','LOGIN_FAILED','_selfUnitIDs','off-line-icon','_sheetSkeletonManagerService','body','_disabled','_backgroundColor','registerRefRange','FETCH_MISS','_urlService','collabStatus.notCollab','imageSourceType','_document','_collaborationUIEventService','getValue','endColumn','INVALID_ARGUMENT','toString','_session','2200304rdxAua','url(#$1','_docClipboardService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVALID_INVITE_CODE','DeleteRangeMoveLeftCommandId','_saveTaskMap','executeCommand','Failed','findNodePositionByCharIndex','UPDATE_CURSOR','_labelPosition','LICENSE_MAX_UNITS_EXCEEDED','type','entries','translate(.97)','_cachedData','exhaustSavingTask','string','_localCacheService','_hideTimer','event$','YUUMI_URL_COL_OUT_OF_RANGE','sessionStatus$','className','updateOfflineData','children','addClipboardHook','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','8gncEPa','propertyIsEnumerable','search','collabStatus.conflict','lineTo','_collabCursorState$','_removeClearOtherTimer','_injector','replaceDocRanges','idSuffix','_localStorageService','permission.title','ENSURE_SNAPSHOT_EXECUTION','_textBubble','getOwnPropertySymbols','_unitStatus','SNAPSHOT_HAS_BEEN_REMOVED','_scheduleHeartbeat','_status$','disposeUnit','setAlpha','endRow','10hVnSiZ','origin','font','http://www.w3.org/2000/svg','_handleHover','_themeService','asObservable','unsubscribe','error','_colorAssignService','toRgbString','transformMutation','SNAPSHOT_INVALID_SNAPSHOT','arc','_removeCollabCursors','Warning','collaboration.closeRoom','isActive','tag','YUUMI_UNABLE_LOAD_URL','HEADER_MENU','_registerDependencies','beginPath','onPointerLeave$','editingUnit','APPLY_REVISION_CONFILICT','setInterval','push','onCommandExecuted','getCellPositionByOffset','roomMembers','getVpScrollXYInfoByPosToVp','popstate','_transformPreviousActiveRange','getCurrentSelections','getItem','entityInit$','assignAColorForMemberID','collaboration.single-unit.warning','_uiPartsService','requireSession','_drawAnchor','show','has','yellow.400','uni.network.url-service','SUBMIT_CHANGESET_TIMEOUT','OTHER_CLIENT_EDITING','APPLY_DUPLICATED','trim','attrs','OnLineIcon','getAncestorScale','mutations','RemoveColCommandId','DeleteRangeMoveUpCommandId','clipPath','InsertRangeMoveRightCommandId','searchParams','measureText','_scheduleClearOtherTimer','MOBILE_HAS_BEEN_BOUND','forEach','xlink:href','getCurrentUnitForType','/run/','getCollabCursors$','ACTIVE_UNIT_EVENT_CHANNEL','red.300','defineProperty','_handleLeaveEvent','getTypeOfUnitDisposed$','fillRule','replaceState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','APPLY_REJECT','url(#off-line-icon_clip0_910_343)','_setupSubUnitSync','indexOf','UniverIcon','_handleHeartbeatEvent','icon','_handleEvent','_getAnchorBounding','symbol','parse','_onCursorUpdate','getColorFromTheme','unitId','debug','_cursorShapes','addObjects','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','71011809XSoMiK','RECT','_configService','black','_assignedColors','_render','getRenderById','url(#on-line-icon_clip0_910_349)','_startDocCollabCursor','getDocRanges','PENDING','_drawRectRange','cursorInfo$','concat','_docTransformIMECacheService','code','_setupBeforeClosingHandler','PERMISSION_DENIED','mask','random','getCollabEntity$','UNAUTHENTICATED','getStateCache','_saveCache','textRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','unitID','onPointerEnter$','status$','disposeWithMe','_colorIndex','APPLY_NON_SEQUENTIAL_REVISION','round','fillStyle','1779084mrareD','SOCKET_FAILED','InsertColCommandId','includes','session.will-retry','activeSheet$','length','session.connection-failed','subscribeEvent','function','subunit','_onRefRangeChange','saveTaskMap','_updateCollabCursors','getRelativeToViewportCoord','evenodd','newValue','onStarting','jiqing.500','_refreshCollabCursors','_univerInstanceService','drawWith','values','_docSyncEditingCollabCursorService','USERS_LEAVE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_instanceService','_onCursorDelete','currentSkeleton$','YUUMI_SUBSCRIPTION_NOT_FOUND','init','getMemberID','_ensureSubject','getUnitStatus$','1em','wsSessionTicketUrl','UNDEFINED','_anchorDot','moveTo','height','find','_hover','min','InsertRangeMoveDownCommandId','JOIN_ROOM_FAILED','isArray','onMouseMove','_updateURLWithCurrentState','dispose','_clearOtherTimers','PY_RUNTIME_SCRIPT_ERROR','_localeService','href','defIds','_online','getSheetId','m2Prime','_scheduleSaving','runId','ONLINE','getOwnPropertyDescriptor','_cursorInfo$','rgba(255,\x20255,\x20255,\x200.01)','selection','_logService','pushState','_memberService','transformMutationsWithChangeset','syncEditingCollabCursor','getActiveSheet'];_0x3079=function(){return _0x28bed1;};return _0x3079();}class et{constructor(_0x3e622e,_0xbc1d2b,_0x44989b,_0x45483e){const _0x1010f3=_0x1762ac;_(this,_0x1010f3(0x216),[]),_(this,_0x1010f3(0x2d3),null),_(this,_0x1010f3(0x107),null),_(this,_0x1010f3(0x1b5),null),_(this,_0x1010f3(0xf0),null),_(this,_0x1010f3(0x293),null),(this[_0x1010f3(0x22d)]=_0x3e622e,this[_0x1010f3(0x1f3)]=_0xbc1d2b,this[_0x1010f3(0x268)]=_0x44989b,this[_0x1010f3(0xd5)]=_0x45483e,this['_render']());}set[_0x1762ac(0x1b9)](_0x348220){const _0x4848ee=_0x1762ac;_0x348220?(this['_anchorDot']&&this[_0x4848ee(0x1b5)][_0x4848ee(0x252)](),this[_0x4848ee(0x107)]&&this['_textBubble'][_0x4848ee(0x13a)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x4848ee(0x107)]&&this['_textBubble'][_0x4848ee(0x252)]());}[_0x1762ac(0x1c0)](){const _0x2c4ab0=_0x1762ac;for(const _0x4bad35 of this[_0x2c4ab0(0x216)])_0x4bad35[_0x2c4ab0(0x1c0)]();this[_0x2c4ab0(0x107)]&&this[_0x2c4ab0(0x107)]['dispose'](),this[_0x2c4ab0(0x1b5)]&&this['_anchorDot']['dispose'](),this[_0x2c4ab0(0x2d3)]&&this['_anchor'][_0x2c4ab0(0x1c0)](),this[_0x2c4ab0(0x293)]&&this[_0x2c4ab0(0x293)]();}[_0x1762ac(0x173)](){const _0x3a7ca1=_0x1762ac;var _0x5debed;const {_docSkeleton:_0x5070c1,_document:_0x499691}=this,{color:_0x3ff9ee,name:_0xd3cb64,ranges:_0x292182}=this[_0x3a7ca1(0x22d)],_0x37ab30=_0x499691[_0x3a7ca1(0x297)](),{docsLeft:_0x1275e8,docsTop:_0x27fbae}=_0x37ab30,_0x28dd3c=new _0x2af9c4(_0x37ab30,_0x5070c1);for(const {startOffset:_0x339118,endOffset:_0x540bd6,rangeType:_0x43a291,segmentId:_0x479fce,segmentPage:_0x3d5d1f,collapsed:_0x46b5e2,isActive:_0x3c3c33}of _0x292182){const _0x14fece=_0x5070c1[_0x3a7ca1(0xe5)](_0x339118,!0x0,_0x479fce,_0x3d5d1f);let _0x5af286=_0x5070c1['findNodePositionByCharIndex'](_0x540bd6,!0x0,_0x479fce,_0x3d5d1f);if(_0x5af286==null&&(_0x5af286=_0x5070c1['findNodePositionByCharIndex'](_0x540bd6-0x1,!0x1,_0x479fce,_0x3d5d1f)),_0x3c3c33){const {contentBoxPointGroup:_0x2ad341}=_0x28dd3c[_0x3a7ca1(0x251)](_0x5af286,_0x5af286);if(_0x2ad341[_0x3a7ca1(0x196)]===0x0)continue;this[_0x3a7ca1(0x139)](_0x3ff9ee,_0x2ad341,_0x1275e8,_0x27fbae,_0xd3cb64),this[_0x3a7ca1(0x293)]=this[_0x3a7ca1(0x114)]();}if(_0x14fece&&_0x5af286){if(_0x43a291===_0x19c392[_0x3a7ca1(0x16f)]){const _0x29cc2=new _0x48a22d(_0x37ab30,_0x5070c1),{pointGroup:_0x54c2cc}=(_0x5debed=_0x29cc2[_0x3a7ca1(0x251)](_0x14fece,_0x5af286))!=null?_0x5debed:{};if(_0x54c2cc==null||_0x54c2cc['length']===0x0)continue;this[_0x3a7ca1(0x179)](_0x3ff9ee,_0x54c2cc,_0x1275e8,_0x27fbae);}else{if(!_0x46b5e2){const {borderBoxPointGroup:_0x44e3d6}=_0x28dd3c['getRangePointData'](_0x14fece,_0x5af286);if(_0x44e3d6[_0x3a7ca1(0x196)]===0x0)continue;this[_0x3a7ca1(0x248)](_0x3ff9ee,_0x44e3d6,_0x1275e8,_0x27fbae);}}}}}['_drawAnchor'](_0x3f53b0,_0x84eb63,_0xd8e47,_0x5b7a01,_0x3a45df){const _0x1d28fc=_0x1762ac,_0x175ab3=this[_0x1d28fc(0x164)](_0x84eb63),{left:_0x1f2d21,top:_0x41a0b8,height:_0x271b4c}=_0x175ab3,_0x59e394=this[_0x1d28fc(0x20e)](),_0x115946=Di/_0x59e394,_0x8a8a88=new _0x229dee(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01,'height':_0x271b4c,'width':Ri,'fill':_0x3f53b0||_0x3870a3(_0x139b87[_0x1d28fc(0x171)],0x0),'strokeWidth':_0x115946,'stroke':Ni,'evented':!0x0});this[_0x1d28fc(0x2d3)]=_0x8a8a88,this['_scene'][_0x1d28fc(0x21b)](_0x8a8a88,_0x358fff);const _0x5f1d1a=new _0x229dee(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01-ge/0x2,'height':ge,'width':ge,'fill':_0x3f53b0||_0x3870a3(_0x139b87['black'],0x0),'strokeWidth':0x0,'stroke':_0x3f53b0||_0x3870a3(_0x139b87[_0x1d28fc(0x171)],0x0),'evented':!0x1});this[_0x1d28fc(0x1b5)]=_0x5f1d1a,this[_0x1d28fc(0x1f3)][_0x1d28fc(0x21b)](_0x5f1d1a,_0x358fff);const _0x500f17=new ue(ve+_0x4a9b37(G),{'left':_0x1f2d21+_0xd8e47-_0x115946,'top':_0x41a0b8+_0x5b7a01-te,'text':_0x3a45df,'color':_0x3f53b0});this[_0x1d28fc(0x107)]=_0x500f17,this[_0x1d28fc(0x1f3)]['addObject'](_0x500f17,_0x358fff),this['_hover']=!0x1;}[_0x1762ac(0x114)](){const _0x326654=_0x1762ac,_0x304589=this['_anchor'][_0x326654(0x189)][_0x326654(0x198)](()=>{const _0x2dd22b=_0x326654;this[_0x2dd22b(0x1b9)]=!0x0;}),_0x2c1abb=this[_0x326654(0x2d3)][_0x326654(0x127)][_0x326654(0x198)](()=>{const _0x4af4a7=_0x326654;this[_0x4af4a7(0xf0)]&&clearTimeout(this[_0x4af4a7(0xf0)]),this[_0x4af4a7(0xf0)]=setTimeout(()=>{const _0x29a9d6=_0x4af4a7;this[_0x29a9d6(0x1b9)]=!0x1;},0x7d0);});return()=>{const _0x36755e=_0x326654;_0x304589[_0x36755e(0x117)](),_0x2c1abb[_0x36755e(0x117)]();};}['_drawTextRange'](_0x2c340d,_0xff6cb5,_0x5b81d0,_0x4486a0){const _0x120660=_0x1762ac,_0x3f806d=new _0x571d65(_0x2c340d)['setAlpha'](0.2)[_0x120660(0x11a)](),_0x5e46b8=new _0x5c8380(bi+_0x4a9b37(G),{'pointsGroup':_0xff6cb5,'fill':_0x3f806d||_0x3870a3(_0x139b87['black'],0.2),'left':_0x5b81d0,'top':_0x4486a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x120660(0x216)][_0x120660(0x12b)](_0x5e46b8),this['_scene'][_0x120660(0x21b)](_0x5e46b8,_0x358fff);}[_0x1762ac(0x179)](_0x300ff6,_0x3b48e4,_0x4ff83b,_0x4e363a){const _0x57723c=_0x1762ac,_0x2d3d1a=new _0x571d65(_0x300ff6)[_0x57723c(0x10e)](0.2)[_0x57723c(0x11a)](),_0x24f5bc=new _0x5c8380(Ti+_0x4a9b37(G),{'pointsGroup':_0x3b48e4,'fill':_0x2d3d1a||_0x3870a3(_0x139b87['black'],0.2),'left':_0x4ff83b,'top':_0x4e363a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x57723c(0x12b)](_0x24f5bc),this[_0x57723c(0x1f3)][_0x57723c(0x21b)](_0x24f5bc,_0x358fff);}[_0x1762ac(0x164)](_0x5c543a){const _0x30089b=_0x5c543a[0x0],_0x3d206b=_0x30089b[0x0],_0x51467f=_0x30089b[0x2],{x:_0x23ab70,y:_0xd5f35d}=_0x3d206b,{x:_0x40819f,y:_0x532838}=_0x51467f;return{'left':_0x23ab70,'top':_0xd5f35d,'width':_0x40819f-_0x23ab70,'height':_0x532838-_0xd5f35d};}[_0x1762ac(0x20e)](){const _0x5829b1=_0x1762ac,{scaleX:_0x4679ed,scaleY:_0x2b2367}=this[_0x5829b1(0x1f3)][_0x5829b1(0x144)]();return Math['max'](_0x4679ed,_0x2b2367);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x23a316,_0x551acc,_0x50df53,_0x2f24a6)=>{for(var _0x46358b=_0x2f24a6>0x1?void 0x0:_0x2f24a6?Ui(_0x551acc,_0x50df53):_0x551acc,_0x55dadc=_0x23a316['length']-0x1,_0x1007c4;_0x55dadc>=0x0;_0x55dadc--)(_0x1007c4=_0x23a316[_0x55dadc])&&(_0x46358b=_0x1007c4(_0x46358b)||_0x46358b);return _0x46358b;},Q=(_0x13dd4a,_0x169d1f)=>(_0x369c35,_0x4a2c91)=>_0x169d1f(_0x369c35,_0x4a2c91,_0x13dd4a);let Pe=class extends _0x28093b{constructor(_0x45e582,_0x54a11c,_0x27df3e,_0x3436d7,_0x5e48af){const _0x397dca=_0x1762ac;super(),_(this,_0x397dca(0x16b),[]),_(this,'_cursors',[]),(this[_0x397dca(0x2c5)]=_0x45e582,this['_docSkeletonManagerService']=_0x54a11c,this[_0x397dca(0x255)]=_0x27df3e,this['_commandService']=_0x3436d7,this[_0x397dca(0x115)]=_0x5e48af,this['_init']());}[_0x1762ac(0x22f)](){const _0x1ad086=_0x1762ac,_0xa5b1b3=this[_0x1ad086(0x2c5)][_0x1ad086(0x169)],_0x558f66=this[_0x1ad086(0xf9)];this['disposeWithMe'](_0x2fe031([this[_0x1ad086(0x255)][_0x1ad086(0x152)](_0xa5b1b3),this[_0x1ad086(0x115)][_0x1ad086(0x260)]])[_0x1ad086(0x29f)](_0x1e7205(([_0x210333,_0x1d6afa])=>({'skeleton':_0x558f66[_0x1ad086(0x202)](),'cursors':[..._0x210333[_0x1ad086(0x1a6)]()]['flatMap'](_0x5c5b04=>({..._0x5c5b04,'color':this[_0x1ad086(0x115)][_0x1ad086(0x168)](_0x5c5b04[_0x1ad086(0x1f5)])}))})))[_0x1ad086(0x221)](_0x4a1469=>{const _0x5c9811=_0x1ad086;if(this[_0x5c9811(0x11e)](),_0x4a1469){const {skeleton:_0xa70d96,cursors:_0x4b70dd}=_0x4a1469;this[_0x5c9811(0x19d)](_0xa70d96,_0x4b70dd);}})),this[_0x1ad086(0x2b8)](),this[_0x1ad086(0x2d1)]();}[_0x1762ac(0x19d)](_0x366174,_0x33bd93){const _0x3bd24c=_0x1762ac,{scene:_0x14b2ee,mainComponent:_0x137d47}=this[_0x3bd24c(0x2c5)],_0x2dffe0=_0x33bd93[_0x3bd24c(0x1d6)](_0x290c50=>new et(_0x290c50,_0x14b2ee,_0x366174,_0x137d47));this['_cursorShapes']=_0x2dffe0,this['_cursors']=_0x33bd93;}[_0x1762ac(0x1a3)](){const _0x552a99=_0x1762ac;this[_0x552a99(0x11e)]();const {scene:_0x709c16,mainComponent:_0x230693}=this[_0x552a99(0x2c5)],_0x3ed16b=this[_0x552a99(0xf9)]['getSkeleton'](),_0x2fbe20=this[_0x552a99(0x20f)]['map'](_0x4da4bc=>new et(_0x4da4bc,_0x709c16,_0x3ed16b,_0x230693));this['_cursorShapes']=_0x2fbe20;}['_removeCollabCursors'](){const _0x34a1f2=_0x1762ac;this[_0x34a1f2(0x16b)]['forEach'](_0x25a505=>_0x25a505[_0x34a1f2(0x1c0)]()),this[_0x34a1f2(0x16b)]=[];}[_0x1762ac(0x2d1)](){const _0x229b20=_0x1762ac,_0x73713b=[_0xa5c5c9['id']];this[_0x229b20(0x18b)](this[_0x229b20(0x26f)][_0x229b20(0x12c)](_0x33ad7e=>{const _0x1be3f0=_0x229b20;_0x73713b[_0x1be3f0(0x193)](_0x33ad7e['id'])&&_0x33ad7e[_0x1be3f0(0x20b)]['unitId']===this[_0x1be3f0(0x2c5)][_0x1be3f0(0x169)]&&this[_0x1be3f0(0x1a3)]();}));}[_0x1762ac(0x2b8)](){const _0x359659=_0x1762ac;this[_0x359659(0x18b)](_0x148b09(this['_context'][_0x359659(0x220)][_0x359659(0x276)])['pipe'](_0x11116a(_0xe3b99c=>_0xe3b99c[_0x359659(0xe9)]===_0x581398[_0x359659(0x299)]),_0x517bcf(0x10))[_0x359659(0x221)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Q(0x1,_0x54b249(_0x231129)),Q(0x2,_0x54b249(F)),Q(0x3,_0x493ff1),Q(0x4,_0x54b249(_0x2a7414))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x3df4f1{constructor(_0x2407a8,_0x289088){const _0x18cddf=_0x1762ac;super(_0x2407a8,_0x289088),_(this,_0x18cddf(0x267)),_(this,_0x18cddf(0x25f),!0x1),_(this,_0x18cddf(0x254)),_(this,_0x18cddf(0x23e),''),_(this,_0x18cddf(0xe7),_0x18cddf(0x212)),_(this,_0x18cddf(0xcf)),(_0x289088&&this[_0x18cddf(0x226)](_0x289088),this[_0x18cddf(0x189)][_0x18cddf(0x198)](()=>this[_0x18cddf(0x226)]({'hovered':!0x0})),this[_0x18cddf(0x127)][_0x18cddf(0x198)](()=>this[_0x18cddf(0x226)]({'hovered':!0x1})));}[_0x1762ac(0x226)](_0x22190b){const _0x394e01=_0x1762ac;var _0xbd2f3c,_0x162993,_0x578442,_0x4dbce9,_0x2ff009,_0x794403;this[_0x394e01(0x267)]=(_0xbd2f3c=_0x22190b['color'])!=null?_0xbd2f3c:this[_0x394e01(0x267)],this[_0x394e01(0x25f)]=(_0x162993=_0x22190b['hovered'])!=null?_0x162993:this[_0x394e01(0x25f)],this[_0x394e01(0x254)]=(_0x578442=_0x22190b['range'])!=null?_0x578442:this[_0x394e01(0x254)],this['_name']=(_0x4dbce9=_0x22190b[_0x394e01(0x239)])!=null?_0x4dbce9:this[_0x394e01(0x23e)],this[_0x394e01(0xe7)]=(_0x2ff009=_0x22190b['labelPosition'])!=null?_0x2ff009:this[_0x394e01(0xe7)],this[_0x394e01(0xcf)]=(_0x794403=_0x22190b[_0x394e01(0x209)])!=null?_0x794403:this[_0x394e01(0xcf)],this[_0x394e01(0x26d)]({'width':_0x22190b[_0x394e01(0x29d)],'height':_0x22190b[_0x394e01(0x1b7)]});}[_0x1762ac(0x1be)](_0x37c557){const _0x32e01d=_0x1762ac,{row:_0x181a76,column:_0x119256}=_0x37c557;if(_0x181a76>=this[_0x32e01d(0x254)]['startRow']&&_0x181a76<=this[_0x32e01d(0x254)][_0x32e01d(0x10f)]&&_0x119256>=this[_0x32e01d(0x254)][_0x32e01d(0x2a2)]&&_0x119256<=this[_0x32e01d(0x254)][_0x32e01d(0xd8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x32e01d(0x226)]({'hovered':!0x1});}[_0x1762ac(0x286)](_0x5f498d){return!0x1;}[_0x1762ac(0x292)](_0x1622b3){const _0x53ece6=_0x1762ac;_0x229dee['drawWith'](_0x1622b3,{'width':this[_0x53ece6(0x29d)],'height':this[_0x53ece6(0x1b7)],'strokeWidth':Pi,'stroke':this[_0x53ece6(0x267)],'evented':!0x1,'fill':this[_0x53ece6(0xcf)]}),this[_0x53ece6(0x25f)]&&(_0x1622b3[_0x53ece6(0x24c)](),_0x1622b3['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x53ece6(0x240)?0x0:-0x14),ue[_0x53ece6(0x1a5)](_0x1622b3,{'text':this[_0x53ece6(0x23e)],'color':this[_0x53ece6(0x267)]}),_0x1622b3[_0x53ece6(0x263)]());}}var Ai=Object[_0x1762ac(0x1cc)],yi=(_0xd89016,_0x29a97d,_0x40a986,_0x30072e)=>{const _0x5405c6=_0x1762ac;for(var _0x20276a=_0x30072e>0x1?void 0x0:_0x30072e?Ai(_0x29a97d,_0x40a986):_0x29a97d,_0x316cf4=_0xd89016[_0x5405c6(0x196)]-0x1,_0x38f296;_0x316cf4>=0x0;_0x316cf4--)(_0x38f296=_0xd89016[_0x316cf4])&&(_0x20276a=_0x38f296(_0x20276a)||_0x20276a);return _0x20276a;},pe=(_0x2ce239,_0x48135f)=>(_0x3bce26,_0xaf4c51)=>_0x48135f(_0x3bce26,_0xaf4c51,_0x2ce239);const $i=0x1389;let we=class extends _0x28093b{constructor(_0x468e53,_0x1c8fb3,_0x285cc4,_0x22f76a){const _0x59901a=_0x1762ac;super(),_(this,_0x59901a(0x20f),new Set()),_(this,_0x59901a(0x2b5),null),(this[_0x59901a(0x2c5)]=_0x468e53,this[_0x59901a(0xcc)]=_0x1c8fb3,this[_0x59901a(0x255)]=_0x285cc4,this[_0x59901a(0x115)]=_0x22f76a,this[_0x59901a(0x22f)]());}[_0x1762ac(0x22f)](){const _0x46f47f=_0x1762ac;this[_0x46f47f(0xcc)][_0x46f47f(0x1ac)][_0x46f47f(0x29f)](_0x3575aa(this[_0x46f47f(0x27a)]),_0x2fc8f7(_0x57cedf=>{const _0x447d5a=_0x46f47f;if(_0x57cedf){const _0x2a2bc8=_0x57cedf[_0x447d5a(0x2b2)];return _0x2fe031(this[_0x447d5a(0x255)][_0x447d5a(0x152)](this[_0x447d5a(0x2c5)][_0x447d5a(0x169)]),this[_0x447d5a(0x115)]['currentTheme$'])['pipe'](_0x1e7205(([_0x5c1a6a,_0x225c5b])=>{const _0x416420=_0x447d5a,_0x407432=new Map();return _0x5c1a6a[_0x416420(0x14e)]((_0x2e55f7,_0x1963ed)=>{const _0x2016aa=_0x416420;if(_0x2e55f7[_0x2016aa(0x249)]===_0x2a2bc8){const _0xd5a283={..._0x2e55f7};_0xd5a283[_0x2016aa(0x1f5)]=this['_themeService']['getColorFromTheme'](_0x2e55f7[_0x2016aa(0x1f5)]),_0x407432['set'](_0x1963ed,_0xd5a283);}}),{'skeleton':_0x57cedf,'cursors':_0x407432};}));}return _0x10a367({'skeleton':null,'cursors':new Map()});}))[_0x46f47f(0x221)](({skeleton:_0x3b300d,cursors:_0x5cd7dd})=>{const _0x220809=_0x46f47f;this[_0x220809(0x11e)](),_0x3b300d&&this[_0x220809(0x19d)](_0x3b300d,_0x5cd7dd);}),this['_sheetSkeletonManagerService'][_0x46f47f(0x1ac)][_0x46f47f(0x221)](_0x2d7867=>{if(_0x2d7867==null)return;const {skeleton:_0x5854b8}=_0x2d7867,{scene:_0x268cb0}=this['_context'];_0x268cb0['onPointerMove$']['subscribeEvent'](_0x2d6ca4(_0x47997b=>{const _0x128fb9=_0x182c;var _0x249ee6,_0xa858b9;const {offsetX:_0x229b81,offsetY:_0x36c063}=_0x47997b,{x:_0x4694f3,y:_0x23c46c}=_0x268cb0[_0x128fb9(0x19e)](_0x1ffb33[_0x128fb9(0x29e)]([_0x229b81,_0x36c063])),{scaleX:_0x592c6c,scaleY:_0x4ab90f}=_0x268cb0[_0x128fb9(0x144)](),_0x2a7cea=_0x268cb0[_0x128fb9(0x2c7)](_0x16fe4e[_0x128fb9(0x2a0)]),_0x502b31=_0x268cb0[_0x128fb9(0x12f)](_0x1ffb33[_0x128fb9(0x29e)]([_0x4694f3,_0x23c46c]),_0x2a7cea),_0x1aa057=_0x5854b8[_0x128fb9(0x12d)](_0x229b81,_0x36c063,_0x592c6c,_0x4ab90f,_0x502b31);((_0x249ee6=this['_lastPointer'])==null?void 0x0:_0x249ee6['column'])===_0x1aa057[_0x128fb9(0x2cb)]&&((_0xa858b9=this[_0x128fb9(0x2b5)])==null?void 0x0:_0xa858b9[_0x128fb9(0x28a)])===_0x1aa057[_0x128fb9(0x28a)]||this[_0x128fb9(0x20f)][_0x128fb9(0x14e)](_0x5e5e54=>{const _0x2337b2=_0x128fb9;_0x5e5e54[_0x2337b2(0x1be)](_0x1aa057);});},0x64));});}[_0x1762ac(0x19d)](_0x131f2e,_0xab0c22){const _0x2f9bfd=_0x1762ac;var _0x1dfd7d;const _0x509a37=(_0x1dfd7d=this['_sheetSkeletonManagerService'][_0x2f9bfd(0x278)]())==null?void 0x0:_0x1dfd7d['skeleton'];if(!_0x509a37)return;const _0x44c9bb=this['_getSheetObject']();if(!_0x44c9bb)return;this['_cursors']['forEach'](_0x16ff99=>{const _0x1daa92=_0x2f9bfd;_0x16ff99[_0x1daa92(0x25e)]();});const {scene:_0x42deaa}=_0x44c9bb,_0x5ace05=xi(Array['from'](_0xab0c22[_0x2f9bfd(0x1a6)]()))['map'](_0x47e65d=>{const _0x35cb8c=_0x2f9bfd,{color:_0x88c92,range:_0x2c0ecf,name:_0x1ed975,selection:_0x5a6820,sheetID:_0x397864}=_0x47e65d,{startColumn:_0xe75856,startRow:_0x44d89d,endColumn:_0x2c55a4,endRow:_0x4dca19}=_0x2c0ecf,_0x1ebadb=_0x2a7612(_0x44d89d,_0xe75856,_0x42deaa,_0x509a37),_0x1e3229=_0x2a7612(_0x4dca19,_0x2c55a4,_0x42deaa,_0x509a37),{columnHeaderHeightAndMarginTop:_0x4a7bb3}=_0x509a37,{startX:_0x1ce70a,startY:_0x3b7d13}=_0x1ebadb,{endX:_0x20e83f,endY:_0x37cbb7}=_0x1e3229,_0x3aa5a9=_0x20e83f-_0x1ce70a,_0x4e4979=_0x37cbb7-_0x3b7d13,_0x30ab39={'labelPosition':_0x3b7d13-_0x4a7bb3>=te?_0x35cb8c(0x212):_0x35cb8c(0x240),'sheetID':_0x397864,'range':_0x2c0ecf,'color':_0x88c92,'name':_0x1ed975,'selection':_0x5a6820,'left':_0x1ce70a,'top':_0x3b7d13,'width':_0x3aa5a9,'height':_0x4e4979,'evented':!0x1,'zIndex':$i};return new wi(_0x1ed975,_0x30ab39);});_0x42deaa[_0x2f9bfd(0x16c)](_0x5ace05,Li),this[_0x2f9bfd(0x20f)]=new Set(_0x5ace05);}[_0x1762ac(0x11e)](){const _0x543af1=_0x1762ac;var _0x6959be;(_0x6959be=this[_0x543af1(0x20f)])==null||_0x6959be[_0x543af1(0x14e)](_0x31fe4a=>_0x31fe4a[_0x543af1(0x1c0)]());}[_0x1762ac(0x2c0)](){const _0x4530e3=_0x1762ac;return _0x445e13(this['_context'][_0x4530e3(0x213)],this[_0x4530e3(0x2c5)]);}};we=yi([pe(0x1,_0x54b249(_0x93c63e)),pe(0x2,_0x54b249(F)),pe(0x3,_0x54b249(_0x2a7414))],we);function xi(_0x2ba29f){const _0x3b4d2f=_0x1762ac,_0x4f173d=new Map();return _0x2ba29f['forEach'](_0x396fe1=>{const _0x37227e=_0x182c;if(_0x4f173d['has'](_0x396fe1[_0x37227e(0x1cf)])){const _0x38f31c=_0x4f173d[_0x37227e(0x29b)](_0x396fe1['selection']);_0x38f31c['name']+=',\x20'+_0x396fe1[_0x37227e(0x239)];}else _0x4f173d[_0x37227e(0x1e2)](_0x396fe1[_0x37227e(0x1cf)],_0x396fe1);}),Array[_0x3b4d2f(0x2a8)](_0x4f173d[_0x3b4d2f(0x1a6)]());}var v=function(){const _0x374cad=_0x1762ac;return v=Object[_0x374cad(0x24f)]||function(_0x11ce4d){const _0x2cf76c=_0x374cad;for(var _0x5b7443,_0x3d222c=0x1,_0x405994=arguments[_0x2cf76c(0x196)];_0x3d222c<_0x405994;_0x3d222c++){_0x5b7443=arguments[_0x3d222c];for(var _0x3ff31a in _0x5b7443)Object[_0x2cf76c(0x26b)][_0x2cf76c(0x1d7)][_0x2cf76c(0x270)](_0x5b7443,_0x3ff31a)&&(_0x11ce4d[_0x3ff31a]=_0x5b7443[_0x3ff31a]);}return _0x11ce4d;},v[_0x374cad(0x2c2)](this,arguments);},Bi=function(_0x1df6f2,_0x18e637){const _0x191f47=_0x1762ac;var _0xeb6629={};for(var _0x322187 in _0x1df6f2)Object[_0x191f47(0x26b)][_0x191f47(0x1d7)][_0x191f47(0x270)](_0x1df6f2,_0x322187)&&_0x18e637['indexOf'](_0x322187)<0x0&&(_0xeb6629[_0x322187]=_0x1df6f2[_0x322187]);if(_0x1df6f2!=null&&typeof Object[_0x191f47(0x108)]==_0x191f47(0x199)){for(var _0x2c05ab=0x0,_0x322187=Object[_0x191f47(0x108)](_0x1df6f2);_0x2c05ab<_0x322187[_0x191f47(0x196)];_0x2c05ab++)_0x18e637[_0x191f47(0x15f)](_0x322187[_0x2c05ab])<0x0&&Object[_0x191f47(0x26b)][_0x191f47(0xfb)][_0x191f47(0x270)](_0x1df6f2,_0x322187[_0x2c05ab])&&(_0xeb6629[_0x322187[_0x2c05ab]]=_0x1df6f2[_0x322187[_0x2c05ab]]);}return _0xeb6629;},Ye=_0x78afa1(function(_0x2cb889,_0x5c3caf){const _0x1f554d=_0x1762ac;var _0x137f98=_0x2cb889[_0x1f554d(0x162)],_0x51f36a=_0x2cb889['id'],_0x35d815=_0x2cb889[_0x1f554d(0xf4)],_0x34a30c=_0x2cb889[_0x1f554d(0x2c4)],_0x1e8082=Bi(_0x2cb889,[_0x1f554d(0x162),'id','className',_0x1f554d(0x2c4)]),_0x2ff1e6=_0x1f554d(0x2a1)[_0x1f554d(0x17b)](_0x51f36a,'\x20')[_0x1f554d(0x17b)](_0x35d815||'')[_0x1f554d(0x141)](),_0xf5bb97=_0x5b3905('_'[_0x1f554d(0x17b)](Fi()));return Dt(_0x137f98,''[_0x1f554d(0x17b)](_0x51f36a),{'defIds':_0x137f98[_0x1f554d(0x1c5)],'idSuffix':_0xf5bb97['current']},v({'ref':_0x5c3caf,'className':_0x2ff1e6},_0x1e8082),_0x34a30c);});function Dt(_0x1927db,_0x46ae39,_0x12545d,_0x559605,_0x366d2a){const _0x2152f9=_0x1762ac;return _0x2bd574(_0x1927db[_0x2152f9(0x122)],v(v({'key':_0x46ae39},ki(_0x1927db,_0x12545d,_0x366d2a)),_0x559605),(Hi(_0x1927db,_0x12545d)[_0x2152f9(0xf6)]||[])['map'](function(_0x350bc8,_0x2b1788){const _0x393b71=_0x2152f9;return Dt(_0x350bc8,''[_0x393b71(0x17b)](_0x46ae39,'-')[_0x393b71(0x17b)](_0x1927db[_0x393b71(0x122)],'-')[_0x393b71(0x17b)](_0x2b1788),_0x12545d,void 0x0,_0x366d2a);}));}function ki(_0x1d379a,_0xadc2cf,_0x34050b){const _0x50623b=_0x1762ac;var _0xc5068a=v({},_0x1d379a[_0x50623b(0x142)]);_0x34050b!=null&&_0x34050b['colorChannel1']&&_0xc5068a[_0x50623b(0x258)]===_0x50623b(0x23f)&&(_0xc5068a[_0x50623b(0x258)]=_0x34050b[_0x50623b(0x23f)]),_0x1d379a[_0x50623b(0x122)]===_0x50623b(0x180)&&_0xc5068a['id']&&(_0xc5068a['id']=_0xc5068a['id']+_0xadc2cf[_0x50623b(0x103)]),Object['entries'](_0xc5068a)[_0x50623b(0x14e)](function(_0x612e9){const _0x55253a=_0x50623b;var _0x236f0e=_0x612e9[0x0],_0x11c6e7=_0x612e9[0x1];_0x236f0e===_0x55253a(0x180)&&typeof _0x11c6e7==_0x55253a(0xee)&&(_0xc5068a[_0x236f0e]=_0x11c6e7['replace'](/url\(#(.*)\)/,_0x55253a(0xdd)[_0x55253a(0x17b)](_0xadc2cf[_0x55253a(0x103)],')')));});var _0x429192=_0xadc2cf['defIds'];return!_0x429192||_0x429192[_0x50623b(0x196)]===0x0||(_0x1d379a['tag']===_0x50623b(0x231)&&_0xc5068a[_0x50623b(0x14f)]&&(_0xc5068a[_0x50623b(0x14f)]=_0xc5068a[_0x50623b(0x14f)]+_0xadc2cf[_0x50623b(0x103)]),Object[_0x50623b(0xea)](_0xc5068a)[_0x50623b(0x14e)](function(_0x28a094){const _0x3a9303=_0x50623b;var _0x37cbc8=_0x28a094[0x0],_0x53f86a=_0x28a094[0x1];typeof _0x53f86a==_0x3a9303(0xee)&&(_0xc5068a[_0x37cbc8]=_0x53f86a[_0x3a9303(0x247)](/url\(#(.*)\)/,'url(#$1'[_0x3a9303(0x17b)](_0xadc2cf[_0x3a9303(0x103)],')')));})),_0xc5068a;}function Hi(_0x2d9597,_0x2cc86b){const _0xdbdd76=_0x1762ac;var _0x5d394a,_0x4ff16d=_0x2cc86b['defIds'];return!_0x4ff16d||_0x4ff16d[_0xdbdd76(0x196)]===0x0?_0x2d9597:_0x2d9597['tag']==='defs'&&(!((_0x5d394a=_0x2d9597[_0xdbdd76(0xf6)])===null||_0x5d394a===void 0x0)&&_0x5d394a['length'])?v(v({},_0x2d9597),{'children':_0x2d9597['children'][_0xdbdd76(0x1d6)](function(_0x2e1aca){const _0x2ecdd8=_0xdbdd76;return typeof _0x2e1aca[_0x2ecdd8(0x142)]['id']=='string'&&_0x4ff16d&&_0x4ff16d[_0x2ecdd8(0x193)](_0x2e1aca[_0x2ecdd8(0x142)]['id'])?v(v({},_0x2e1aca),{'attrs':v(v({},_0x2e1aca[_0x2ecdd8(0x142)]),{'id':_0x2e1aca[_0x2ecdd8(0x142)]['id']+_0x2cc86b[_0x2ecdd8(0x103)]})}):_0x2e1aca;})}):_0x2d9597;}function Fi(){const _0x5642b4=_0x1762ac;return Math[_0x5642b4(0x181)]()[_0x5642b4(0xda)](0x24)[_0x5642b4(0x2bb)](0x2,0x8);}Ye[_0x1762ac(0x217)]=_0x1762ac(0x160);var Yi={'tag':'svg','attrs':{'xmlns':_0x1762ac(0x113),'fill':_0x1762ac(0x294),'viewBox':_0x1762ac(0x241),'width':_0x1762ac(0x1b2),'height':_0x1762ac(0x1b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1762ac(0x15d)},'children':[{'tag':'path','attrs':{'stroke':_0x1762ac(0x235),'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':_0x1762ac(0x18e),'strokeLinejoin':_0x1762ac(0x18e),'strokeWidth':1.2}}]},{'tag':_0x1762ac(0x23a),'attrs':{},'children':[{'tag':_0x1762ac(0x148),'attrs':{'id':_0x1762ac(0x21d)},'children':[{'tag':'path','attrs':{'fill':_0x1762ac(0x262),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0x78afa1(function(_0x5bfd9b,_0x57870e){const _0x5d6d42=_0x1762ac;return _0x2bd574(Ye,Object[_0x5d6d42(0x24f)]({},_0x5bfd9b,{'id':_0x5d6d42(0xcb),'ref':_0x57870e,'icon':Yi}));});Nt['displayName']=_0x1762ac(0x2a4);var ji={'tag':_0x1762ac(0x228),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1762ac(0x294),'viewBox':_0x1762ac(0x218),'width':_0x1762ac(0x1b2),'height':_0x1762ac(0x1b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1762ac(0x175)},'children':[{'tag':_0x1762ac(0x287),'attrs':{'stroke':_0x1762ac(0x235),'d':_0x1762ac(0x210),'strokeLinecap':'round','strokeLinejoin':_0x1762ac(0x18e),'strokeWidth':1.2}}]},{'tag':_0x1762ac(0x23a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1762ac(0xeb)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0x78afa1(function(_0x577db1,_0x481be6){const _0x143f9c=_0x1762ac;return _0x2bd574(Ye,Object[_0x143f9c(0x24f)]({},_0x577db1,{'id':'on-line-icon','ref':_0x481be6,'icon':ji}));});Ut[_0x1762ac(0x217)]=_0x1762ac(0x143);function Vi(_0x9828e){const _0x6b66d4=_0x1762ac;switch(_0x9828e){case _0x23b08a[_0x6b66d4(0x291)]:return _0x6b66d4(0x2c8);case _0x23b08a[_0x6b66d4(0x1ec)]:return _0x6b66d4(0xfd);case _0x23b08a[_0x6b66d4(0xd1)]:return _0x6b66d4(0x290);case _0x23b08a['NOT_COLLAB']:return _0x6b66d4(0xd3);case _0x23b08a[_0x6b66d4(0x2d6)]:case _0x23b08a['AWAITING_WITH_PENDING']:return _0x6b66d4(0x2d7);case _0x23b08a['SYNCED']:case _0x23b08a[_0x6b66d4(0x178)]:return _0x6b66d4(0x2c6);}}function Wi(_0x53b320){const _0x559d3c=_0x1762ac,{status$:_0x231966}=_0x53b320,_0xfe1915=_0x1b2e23(_0x231966,_0x23b08a[_0x559d3c(0x20a)]),_0x2d9185=_0x4b071f(_0x4f44af),_0x597043=_0x4b071f(_0x35a82b),_0x44d30d=_0xfe1915!==_0x23b08a[_0x559d3c(0x291)],_0x430cc8=_0x2d9185['t'](Vi(_0xfe1915)),_0x2f321a=_0x44d30d?_0x2e0e6e(Ut,{}):_0x2e0e6e(Nt,{}),_0x2f039b=_0x5287d1(()=>{const _0x45f1c7=_0x559d3c;_0x44d30d||_0x597043[_0x45f1c7(0x1fd)]();},[_0x44d30d,_0x597043]);function _0x27d8e8(){const _0xaabf4d=_0x559d3c;return _0x1feb53(_0xaabf4d(0x2c1),{'className':_0xaabf4d(0x1f2),'onClick':_0x2f039b,'children':[_0x2e0e6e(_0xaabf4d(0x2c1),{'className':_0x29e0c3(_0xaabf4d(0x187),{'univer-text-green-500':_0x44d30d,'univer-text-red-500':!_0x44d30d}),'children':_0x2f321a}),_0x2e0e6e(_0xaabf4d(0x2c1),{'className':_0xaabf4d(0x16d),'children':_0x430cc8})]});}return _0x44d30d?_0x27d8e8():_0x2e0e6e(_0x23fc72,{'title':_0x2d9185['t']('collab-client.tooltip.reconnect'),'children':_0x27d8e8()});}var Xi=Object[_0x1762ac(0x1cc)],Gi=(_0x1a9a98,_0x44f6ed,_0x3180df,_0x3549eb)=>{const _0xaab492=_0x1762ac;for(var _0x560545=_0x3549eb>0x1?void 0x0:_0x3549eb?Xi(_0x44f6ed,_0x3180df):_0x44f6ed,_0x25e985=_0x1a9a98[_0xaab492(0x196)]-0x1,_0x22da92;_0x25e985>=0x0;_0x25e985--)(_0x22da92=_0x1a9a98[_0x25e985])&&(_0x560545=_0x22da92(_0x560545)||_0x560545);return _0x560545;},q=(_0x2b429d,_0x368007)=>(_0x3f3dc8,_0x1e7b18)=>_0x368007(_0x3f3dc8,_0x1e7b18,_0x2b429d);let se=class extends _0x5d8363{constructor(_0x36776d,_0x5bb95a,_0x509ef4,_0x12968f){const _0x109ca4=_0x1762ac;super(),_(this,_0x109ca4(0x10c),new _0x5c4b3a(_0x23b08a[_0x109ca4(0x20a)])),(this[_0x109ca4(0x1a4)]=_0x36776d,this[_0x109ca4(0x101)]=_0x5bb95a,this[_0x109ca4(0x2ab)]=_0x509ef4,this[_0x109ca4(0x137)]=_0x12968f,this['_initStatusComponent'](),this[_0x109ca4(0x22b)]());}[_0x1762ac(0x22b)](){const _0x6dd2da=_0x1762ac;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x6dd2da(0x29f)](_0x1212d7(()=>{const _0x1c0053=_0x6dd2da,_0x465dc8=this['_univerInstanceService'][_0x1c0053(0x211)]();return _0x465dc8?this['_collaborationController'][_0x1c0053(0x182)](_0x465dc8[_0x1c0053(0x1f4)]()):_0x10a367(null);}),_0x1212d7(_0x8a93ce=>_0x8a93ce?_0x8a93ce[_0x6dd2da(0x18a)]:_0x10a367(_0x23b08a[_0x6dd2da(0x20a)])))['subscribe'](_0x39ce56=>{const _0x4455f1=_0x6dd2da;this['_status$'][_0x4455f1(0x2c9)](_0x39ce56);}));}[_0x1762ac(0x1fb)](){const _0x354630=_0x1762ac;this[_0x354630(0x18b)](this[_0x354630(0x137)][_0x354630(0x22e)](_0x3a2c61[_0x354630(0x124)],()=>_0x282b00(Ki({'status$':this[_0x354630(0x10c)][_0x354630(0x116)]()}),this[_0x354630(0x101)])));}};se=Gi([q(0x0,_0x253376),q(0x1,_0x54b249(_0x486af7)),q(0x2,_0x54b249(_0x213766)),q(0x3,_0x49e93f)],se);function Ki(_0x2962c9){const {status$:_0x5e6396}=_0x2962c9;return function(){return _0x2e0e6e(Wi,{'status$':_0x5e6396});};}var zi=Object[_0x1762ac(0x1cc)],Ji=(_0xb0d54d,_0x47f7e9,_0xd45d63,_0x205a65)=>{for(var _0x5f2ef6=_0x205a65>0x1?void 0x0:_0x205a65?zi(_0x47f7e9,_0xd45d63):_0x47f7e9,_0x4e15da=_0xb0d54d['length']-0x1,_0x4861c7;_0x4e15da>=0x0;_0x4e15da--)(_0x4861c7=_0xb0d54d[_0x4e15da])&&(_0x5f2ef6=_0x4861c7(_0x5f2ef6)||_0x5f2ef6);return _0x5f2ef6;},B=(_0x20742a,_0x5da155)=>(_0xd499bc,_0x35feaa)=>_0x5da155(_0xd499bc,_0x35feaa,_0x20742a);let ie=class extends _0x5d8363{constructor(_0x2b8d05,_0x533257,_0x18969f,_0x32039b,_0x4670f8,_0x5e6ac1){const _0x309c84=_0x1762ac;super(),this[_0x309c84(0x236)]=_0x2b8d05,this[_0x309c84(0xef)]=_0x533257,this[_0x309c84(0xd6)]=_0x18969f,this[_0x309c84(0x1f9)]=_0x32039b,this['_notificationService']=_0x4670f8,this[_0x309c84(0x1c3)]=_0x5e6ac1,this['_setupBeforeClosingHandler'](),this[_0x309c84(0x224)]();}[_0x1762ac(0x17e)](){const _0x502517=_0x1762ac;this[_0x502517(0x18b)](this[_0x502517(0x236)][_0x502517(0x1e8)](()=>{const _0x461ded=_0x502517;if(this[_0x461ded(0xef)][_0x461ded(0x19c)]['size'])return this[_0x461ded(0x1c3)]['t'](_0x461ded(0x1f6));}));}['_initEvent'](){const _0x12a09a=_0x1762ac;this['disposeWithMe'](this[_0x12a09a(0xd6)][_0x12a09a(0xf1)][_0x12a09a(0x221)](_0x474f8c=>{const _0x35e713=_0x12a09a;_0x474f8c['id']===_0x113961[_0x35e713(0x13f)]&&this['_messageService'][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x136))}),_0x474f8c['id']===_0x113961[_0x35e713(0x284)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x120))}),_0x474f8c['id']===_0x113961[_0x35e713(0x17f)]&&this[_0x35e713(0x2d8)][_0x35e713(0x13a)]({'title':this['_localeService']['t'](_0x35e713(0x105)),'content':this[_0x35e713(0x1c3)]['t']('permission.content'),'type':_0x35e713(0x118),'duration':0x0}),_0x474f8c['id']===_0x113961['CONFLICT']&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x120))+'('+_0x474f8c[_0x35e713(0x272)]+')'}),_0x474f8c['id']===_0x113961[_0x35e713(0x1bc)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x474f8c[_0x35e713(0x272)]||'')}),_0x474f8c['id']===_0x113961[_0x35e713(0x279)]&&this[_0x35e713(0x1f9)][_0x35e713(0x13a)]({'type':_0x35b091[_0x35e713(0x11f)],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x194))}),_0x474f8c['id']===_0x113961[_0x35e713(0x191)]&&this['_messageService']['show']({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x197))}),_0x474f8c['id']===_0x113961[_0x35e713(0x13e)]&&this[_0x35e713(0x1f9)]['show']({'type':_0x35b091['Error'],'content':this[_0x35e713(0x1c3)]['t'](_0x35e713(0x28f))});}));}};ie=Ji([B(0x0,_0x22ec37),B(0x1,_0x4cefdc),B(0x2,_0x54b249(_0x1d4f2f)),B(0x3,_0x23eb9a),B(0x4,_0x56633c),B(0x5,_0x54b249(_0x4f44af))],ie);const Zi='collaboration-client-ui.config',tt={},Mt=_0x3d0682(_0x1762ac(0x13d));var Qi=Object[_0x1762ac(0x1cc)],qi=(_0x3cdacc,_0x248bb7,_0x5a974b,_0x53e51f)=>{const _0x86f4fc=_0x1762ac;for(var _0x5edd82=_0x53e51f>0x1?void 0x0:_0x53e51f?Qi(_0x248bb7,_0x5a974b):_0x248bb7,_0x3af575=_0x3cdacc[_0x86f4fc(0x196)]-0x1,_0x4c72e9;_0x3af575>=0x0;_0x3af575--)(_0x4c72e9=_0x3cdacc[_0x3af575])&&(_0x5edd82=_0x4c72e9(_0x5edd82)||_0x5edd82);return _0x5edd82;},K=(_0x36116d,_0x1377ae)=>(_0x258736,_0x1ad1d0)=>_0x1377ae(_0x258736,_0x1ad1d0,_0x36116d);let ne=class extends _0x28093b{constructor(_0x5bd040,_0x3f58d9,_0x471dd2,_0x2eb954,_0x2db582){const _0x23f02c=_0x1762ac;super(),this['_urlService']=_0x5bd040,this[_0x23f02c(0x1d0)]=_0x3f58d9,this[_0x23f02c(0x26f)]=_0x471dd2,this['_dataLoaderService']=_0x2eb954,_0x2db582?_0x2db582==null||_0x2db582[_0x23f02c(0x2cc)]()['then'](()=>this[_0x23f02c(0x22f)]()):(this[_0x23f02c(0x1d0)][_0x23f02c(0x16a)]('[CollaborationDataLoaderController]',_0x23f02c(0x1a9)),this[_0x23f02c(0x22f)]());}async[_0x1762ac(0x22f)](){const _0x8b507c=_0x1762ac,_0x4e816e=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)]('unit'),_0x1d60b7=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)](_0x8b507c(0xe9)),_0x1a538b=this[_0x8b507c(0xd2)][_0x8b507c(0x28c)](_0x8b507c(0x19a));if(!_0x4e816e||!_0x1d60b7){this[_0x8b507c(0x1d0)]['debug'](_0x8b507c(0x21e),_0x8b507c(0x2b7));return;}const _0x2bee41=await this[_0x8b507c(0x243)][_0x8b507c(0x20d)](_0x4e816e,Number(_0x1d60b7),_0x1a538b);_0x2bee41&&_0x2bee41 instanceof _0x472d32&&this[_0x8b507c(0x15e)](_0x2bee41);}async[_0x1762ac(0x15e)](_0x56db32){const _0xbd1dcd=_0x1762ac;await this['_updateSubUnitFromURLParams'](_0x56db32),_0x56db32[_0xbd1dcd(0x195)]['pipe'](_0x4e4cc7(this[_0xbd1dcd(0x27a)]))[_0xbd1dcd(0x221)](_0x1dc570=>{const _0x5702fd=_0xbd1dcd;_0x1dc570&&this[_0x5702fd(0x1bf)](_0x1dc570);}),this['_urlService'][_0xbd1dcd(0x238)]['pipe'](_0x4e4cc7(this[_0xbd1dcd(0x27a)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x56db32));}[_0x1762ac(0x1bf)](_0x200d63,_0x4f2bab=!0x1){const _0x50f47b=_0x1762ac,_0x4b3828=this['_urlService'][_0x50f47b(0x28c)](_0x50f47b(0x19a));_0x200d63[_0x50f47b(0x1c7)]()!==_0x4b3828&&this[_0x50f47b(0xd2)][_0x50f47b(0x1db)](_0x50f47b(0x19a),_0x200d63[_0x50f47b(0x1c7)](),_0x4f2bab);}async['_updateSubUnitFromURLParams'](_0x4b4778){const _0xc7a261=_0x1762ac;var _0x1b00ba;const _0x54eca3=this[_0xc7a261(0xd2)][_0xc7a261(0x28c)]('subunit');if(!_0x54eca3||!_0x4b4778['getSheetBySheetId'](_0x54eca3)){const _0x2dcab2=_0x4b4778['getUnhiddenWorksheets']()[0x0],_0x19ff24=_0x4b4778[_0xc7a261(0x1f8)](_0x2dcab2);if(!_0x19ff24)return;this[_0xc7a261(0x1bf)](_0x19ff24,!0x0),await this['_commandService']['executeCommand'](_0x575189['id'],{'unitId':_0x4b4778[_0xc7a261(0x1f4)](),'subUnitId':_0x2dcab2});return;}((_0x1b00ba=_0x4b4778[_0xc7a261(0x1d5)]())==null?void 0x0:_0x1b00ba['getSheetId']())!==_0x54eca3&&await this[_0xc7a261(0x26f)][_0xc7a261(0xe3)](_0x575189['id'],{'unitId':_0x4b4778[_0xc7a261(0x1f4)](),'subUnitId':_0x54eca3});}};ne=qi([K(0x0,Mt),K(0x1,_0x1fb54f),K(0x2,_0x493ff1),K(0x3,_0x54b249(_0x4d330c)),K(0x4,_0x5545ca(_0x3fde11))],ne);var en=Object[_0x1762ac(0x1cc)],tn=(_0x1eafbd,_0x50f233,_0x56de93,_0x1e46a0)=>{const _0x5cf0c=_0x1762ac;for(var _0x3e2a01=_0x1e46a0>0x1?void 0x0:_0x1e46a0?en(_0x50f233,_0x56de93):_0x50f233,_0xb701db=_0x1eafbd[_0x5cf0c(0x196)]-0x1,_0x4cd1df;_0xb701db>=0x0;_0xb701db--)(_0x4cd1df=_0x1eafbd[_0xb701db])&&(_0x3e2a01=_0x4cd1df(_0x3e2a01)||_0x3e2a01);return _0x3e2a01;},Ce=(_0x56121a,_0x1a62e9)=>(_0x331e9d,_0x3f834c)=>_0x1a62e9(_0x331e9d,_0x3f834c,_0x56121a);let re=class{constructor(_0x5b747d,_0x579bec,_0x584c78){const _0x547b3a=_0x1762ac;this[_0x547b3a(0x101)]=_0x5b747d,this[_0x547b3a(0x2a5)]=_0x579bec,this[_0x547b3a(0x2bd)]=_0x584c78;}['transformIMECache'](_0x12f940){const _0xf4b06c=_0x1762ac;this[_0xf4b06c(0x214)](_0x12f940),this[_0xf4b06c(0x131)](_0x12f940);}[_0x1762ac(0x269)](_0x530ba8){const _0x144bd5=_0x1762ac,{unitID:_0x33deac}=_0x530ba8,_0x35561a=this[_0x144bd5(0x2bd)][_0x144bd5(0x174)](_0x33deac)[_0x144bd5(0x2b6)](_0x1ea938),{redoCache:_0x5e8b3c}=_0x35561a['getUndoRedoMutationParamsCache']();if(_0x5e8b3c[_0x144bd5(0x196)]===0x0)return _0x530ba8;let _0x2537c5=_0x326393[_0x144bd5(0x282)](_0x530ba8[_0x144bd5(0x145)][0x0]);for(let _0x5af27e=0x0;_0x5af27e<_0x5e8b3c[_0x144bd5(0x196)];_0x5af27e++){const _0x2eb2d0={'id':_0x144bd5(0x15b),'params':{..._0x5e8b3c[_0x5af27e]}},_0x2a8713=this[_0x144bd5(0x2a5)]['transformMutation'](_0x2537c5,_0x2eb2d0,!0x1);if(_0x19d415(_0x2a8713))throw _0x2a8713[_0x144bd5(0x118)];_0x2537c5=_0x2a8713[_0x144bd5(0x27e)];}return{..._0x326393['deepClone'](_0x530ba8),'mutations':[_0x2537c5]};}[_0x1762ac(0x214)](_0x26d37f){const _0x498bb2=_0x1762ac,{unitID:_0x53a4dd}=_0x26d37f,_0x35e038=this[_0x498bb2(0x2bd)][_0x498bb2(0x174)](_0x53a4dd)[_0x498bb2(0x2b6)](_0x1ea938),{undoCache:_0x504e9b,redoCache:_0x31b80a}=_0x35e038[_0x498bb2(0x23b)]();if(_0x504e9b[_0x498bb2(0x196)]===0x0||_0x31b80a['length']===0x0)return;const _0x45d2c3=[],_0x15933f=[];let _0x29499d=_0x326393[_0x498bb2(0x282)](_0x26d37f[_0x498bb2(0x145)][0x0]),_0x26dc1c=_0x326393[_0x498bb2(0x282)](_0x26d37f['mutations'][0x0]);for(let _0x6a8593=_0x504e9b[_0x498bb2(0x196)]-0x1;_0x6a8593>=0x0;_0x6a8593--){const _0x3112b1={'id':'doc.mutation.rich-text-editing','params':{..._0x504e9b[_0x6a8593]}},_0xc659bf={'id':_0x498bb2(0x15b),'params':{..._0x31b80a[_0x6a8593]}},_0x2204f8=this[_0x498bb2(0x2a5)]['transformMutation'](_0x29499d,_0x3112b1,!0x1),_0x18ac8f=this[_0x498bb2(0x2a5)][_0x498bb2(0x11b)](_0x26dc1c,_0xc659bf,!0x1);if(_0x19d415(_0x2204f8))throw _0x2204f8[_0x498bb2(0x118)];if(_0x19d415(_0x18ac8f))throw _0x18ac8f[_0x498bb2(0x118)];_0x45d2c3['unshift'](_0x2204f8['m2Prime'][_0x498bb2(0x20b)]),_0x15933f[_0x498bb2(0x229)](_0x18ac8f['m2Prime']['params']),_0x29499d=_0x2204f8[_0x498bb2(0x27e)],_0x26dc1c=_0x18ac8f[_0x498bb2(0x27e)];}_0x35e038[_0x498bb2(0xc6)]({'undoCache':_0x45d2c3,'redoCache':_0x15933f});}[_0x1762ac(0x131)](_0x1c1ded){const _0x505ea9=_0x1762ac,{unitID:_0x1f1e89}=_0x1c1ded,_0x16ad48=this[_0x505ea9(0x2bd)]['getRenderById'](_0x1f1e89)['with'](_0x1ea938),_0x1892b1=_0x16ad48['getActiveRange']();if(_0x1892b1==null)return;const _0x10b8a8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c1ded['unitID'],'actions':null,'textRanges':[_0x1892b1]}}],_0x56cc67=this[_0x505ea9(0x2a5)][_0x505ea9(0x1d3)](_0x1c1ded,_0x10b8a8);if(!_0x5d8f07(_0x56cc67))throw _0x56cc67[_0x505ea9(0x118)];const _0x5a394a=_0x56cc67[_0x505ea9(0x1c8)][0x0][_0x505ea9(0x20b)][_0x505ea9(0x186)];Array[_0x505ea9(0x1bd)](_0x5a394a)&&_0x5a394a['length']&&_0x16ad48[_0x505ea9(0x273)](_0x5a394a[0x0]);}};re=tn([Ce(0x0,_0x54b249(_0x486af7)),Ce(0x1,_0xda71cb),Ce(0x2,_0x52f4dd)],re);var sn=Object[_0x1762ac(0x1cc)],nn=(_0x5928fa,_0x106452,_0x2e48a6,_0x36f3b3)=>{const _0xe87b11=_0x1762ac;for(var _0x2b0b73=_0x36f3b3>0x1?void 0x0:_0x36f3b3?sn(_0x106452,_0x2e48a6):_0x106452,_0x22e5bd=_0x5928fa[_0xe87b11(0x196)]-0x1,_0x176b61;_0x22e5bd>=0x0;_0x22e5bd--)(_0x176b61=_0x5928fa[_0x22e5bd])&&(_0x2b0b73=_0x176b61(_0x2b0b73)||_0x2b0b73);return _0x2b0b73;},Ee=(_0x93aa32,_0x49a8ba)=>(_0x139112,_0x5c2ed7)=>_0x49a8ba(_0x139112,_0x5c2ed7,_0x93aa32);let oe=class{constructor(_0x407250,_0x23cc94,_0x489e2f){const _0x5c13d4=_0x1762ac;this[_0x5c13d4(0x101)]=_0x407250,this[_0x5c13d4(0x2a5)]=_0x23cc94,this[_0x5c13d4(0x244)]=_0x489e2f;}['transformStateCache'](_0x1b6b25){const _0x14fc04=_0x1762ac;this[_0x14fc04(0x1e5)](_0x1b6b25);}[_0x1762ac(0x269)](_0x43186b){const _0x1ab786=_0x1762ac,{unitID:_0x134d52}=_0x43186b,{collaboration:_0xbb8d4}=this[_0x1ab786(0x244)][_0x1ab786(0x184)](_0x134d52);if(_0xbb8d4['length']===0x0)return _0x43186b;let _0x7d6cb4=_0x326393[_0x1ab786(0x282)](_0x43186b['mutations'][0x0]);for(let _0x25875a=0x0;_0x25875a<_0xbb8d4[_0x1ab786(0x196)];_0x25875a++){const _0x469821={'id':_0x1ab786(0x15b),'params':{'unitId':_0xbb8d4[_0x25875a][_0x1ab786(0x169)],..._0xbb8d4[_0x25875a][_0x1ab786(0x1fc)]}},_0x34fb84=this['_transformService']['transformMutation'](_0x7d6cb4,_0x469821,!0x1);if(_0x19d415(_0x34fb84))throw _0x34fb84[_0x1ab786(0x118)];_0x7d6cb4=_0x34fb84[_0x1ab786(0x27e)];}return{..._0x326393[_0x1ab786(0x282)](_0x43186b),'mutations':[_0x7d6cb4]};}[_0x1762ac(0x1e5)](_0x2bce49){const _0x33ccd3=_0x1762ac,{unitID:_0x28233e}=_0x2bce49,{history:_0x30f059,collaboration:_0x4de355}=this['_docStateChangeManagerService']['getStateCache'](_0x28233e);if(_0x30f059[_0x33ccd3(0x196)]===0x0&&_0x4de355[_0x33ccd3(0x196)]===0x0)return;const _0x13b593=[],_0x3719d0=[];let _0x27fffc=_0x326393[_0x33ccd3(0x282)](_0x2bce49['mutations'][0x0]),_0x458b40=_0x326393['deepClone'](_0x2bce49[_0x33ccd3(0x145)][0x0]);for(let _0x33c8da=_0x30f059[_0x33ccd3(0x196)]-0x1;_0x33c8da>=0x0;_0x33c8da--){const _0x279df2={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x30f059[_0x33c8da]['unitId'],..._0x30f059[_0x33c8da]['undoState']}},_0x29ca9f={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x30f059[_0x33c8da]['unitId'],..._0x30f059[_0x33c8da][_0x33ccd3(0x1fc)]}},_0x43c4d0=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x27fffc,_0x279df2,!0x1),_0x21cf80=this['_transformService'][_0x33ccd3(0x11b)](_0x458b40,_0x29ca9f,!0x1);if(_0x19d415(_0x43c4d0))throw _0x43c4d0[_0x33ccd3(0x118)];if(_0x19d415(_0x21cf80))throw _0x21cf80[_0x33ccd3(0x118)];_0x13b593[_0x33ccd3(0x229)]({..._0x30f059[_0x33c8da],'undoState':_0x43c4d0['m2Prime'][_0x33ccd3(0x20b)],'redoState':_0x21cf80[_0x33ccd3(0x1c8)]['params']}),_0x27fffc=_0x43c4d0[_0x33ccd3(0x27e)],_0x458b40=_0x21cf80[_0x33ccd3(0x27e)];}_0x27fffc=_0x326393[_0x33ccd3(0x282)](_0x2bce49[_0x33ccd3(0x145)][0x0]),_0x458b40=_0x326393[_0x33ccd3(0x282)](_0x2bce49[_0x33ccd3(0x145)][0x0]);for(let _0x3ef95d=_0x4de355[_0x33ccd3(0x196)]-0x1;_0x3ef95d>=0x0;_0x3ef95d--){const _0x3ae590={'id':_0x33ccd3(0x15b),'params':{'unitId':_0x4de355[_0x3ef95d][_0x33ccd3(0x169)],..._0x4de355[_0x3ef95d]['undoState']}},_0x5c000d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4de355[_0x3ef95d][_0x33ccd3(0x169)],..._0x4de355[_0x3ef95d]['redoState']}},_0xe537b8=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x27fffc,_0x3ae590,!0x1),_0x500bd4=this[_0x33ccd3(0x2a5)][_0x33ccd3(0x11b)](_0x458b40,_0x5c000d,!0x1);if(_0x19d415(_0xe537b8))throw _0xe537b8['error'];if(_0x19d415(_0x500bd4))throw _0x500bd4[_0x33ccd3(0x118)];_0x3719d0['unshift']({..._0x4de355[_0x3ef95d],'undoState':_0xe537b8[_0x33ccd3(0x1c8)][_0x33ccd3(0x20b)],'redoState':_0x500bd4[_0x33ccd3(0x1c8)][_0x33ccd3(0x20b)]}),_0x27fffc=_0xe537b8[_0x33ccd3(0x27e)],_0x458b40=_0x500bd4[_0x33ccd3(0x27e)];}this[_0x33ccd3(0x244)]['setStateCache'](_0x28233e,{'history':_0x13b593,'collaboration':_0x3719d0});}};oe=nn([Ee(0x0,_0x54b249(_0x486af7)),Ee(0x1,_0xda71cb),Ee(0x2,_0x54b249(_0x182343))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x1d2cb7,_0x23f28a,_0x12221b,_0x5363e1)=>{const _0x17b137=_0x1762ac;for(var _0x184841=_0x5363e1>0x1?void 0x0:_0x5363e1?rn(_0x23f28a,_0x12221b):_0x23f28a,_0x57e74d=_0x1d2cb7[_0x17b137(0x196)]-0x1,_0x5c5895;_0x57e74d>=0x0;_0x57e74d--)(_0x5c5895=_0x1d2cb7[_0x57e74d])&&(_0x184841=_0x5c5895(_0x184841)||_0x184841);return _0x184841;},st=(_0x47b59f,_0x1d802e)=>(_0xfa7a4d,_0x13e9ea)=>_0x1d802e(_0xfa7a4d,_0x13e9ea,_0x47b59f);let ae=class{constructor(_0x4df778,_0x335152){const _0x1bf779=_0x1762ac;this['_injector']=_0x4df778,this[_0x1bf779(0x2a5)]=_0x335152;}[_0x1762ac(0x1df)](_0x3b1bbf){const _0x30c055=_0x1762ac;var _0x253131;const _0x5acb81=this['_injector'][_0x30c055(0x29b)](_0x292580),_0x3c18a7=(_0x253131=_0x5acb81[_0x30c055(0x177)]())!=null?_0x253131:[];if(_0x3c18a7[_0x30c055(0x196)]===0x0)return;const _0x509637=_0x3b1bbf[_0x30c055(0x188)],_0x258712=[{'id':_0x30c055(0x15b),'params':{'unitId':_0x509637,'actions':null,'textRanges':_0x3c18a7}}],_0x163935=this[_0x30c055(0x2a5)]['transformMutationsWithChangeset'](_0x3b1bbf,_0x258712);if(!_0x5d8f07(_0x163935))throw _0x163935['error'];const _0x4ab8bf=_0x163935[_0x30c055(0x1c8)][0x0]['params'][_0x30c055(0x186)];Array['isArray'](_0x4ab8bf)&&_0x4ab8bf[_0x30c055(0x196)]&&_0x5acb81[_0x30c055(0x102)](_0x4ab8bf,{'unitId':_0x509637,'subUnitId':_0x509637},!0x1);}};ae=on([st(0x0,_0x54b249(_0x486af7)),st(0x1,_0xda71cb)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x36e894,_0x355c12,_0x177244,_0x28cac7)=>{const _0x367705=_0x1762ac;for(var _0x1cc42b=_0x28cac7>0x1?void 0x0:_0x28cac7?an(_0x355c12,_0x177244):_0x355c12,_0x10168a=_0x36e894[_0x367705(0x196)]-0x1,_0x58f557;_0x10168a>=0x0;_0x10168a--)(_0x58f557=_0x36e894[_0x10168a])&&(_0x1cc42b=_0x58f557(_0x1cc42b)||_0x1cc42b);return _0x1cc42b;},U=(_0x505631,_0x54dbd3)=>(_0x2563c3,_0x2b0bd3)=>_0x54dbd3(_0x2563c3,_0x2b0bd3,_0x505631);let ce=class extends _0x5d8363{constructor(_0x2bd7b0,_0x29cca1,_0x41a951,_0x334414,_0x31e165,_0x5780fd,_0x15c2dd,_0x13f661){const _0x213c64=_0x1762ac;super(),_(this,'_status$',new _0x5c4b3a(_0x23b08a[_0x213c64(0x20a)])),(this[_0x213c64(0x244)]=_0x2bd7b0,this[_0x213c64(0x2ab)]=_0x29cca1,this[_0x213c64(0x17c)]=_0x41a951,this[_0x213c64(0x27b)]=_0x334414,this[_0x213c64(0x25d)]=_0x31e165,this[_0x213c64(0x1a7)]=_0x5780fd,this[_0x213c64(0x1f9)]=_0x15c2dd,this[_0x213c64(0x1c3)]=_0x13f661,this[_0x213c64(0x230)]());}[_0x1762ac(0x230)](){const _0x3f6733=_0x1762ac;this[_0x3f6733(0x18b)](this[_0x3f6733(0x2ab)][_0x3f6733(0x134)]['subscribe'](_0x57187a=>{const _0x27b5b7=_0x3f6733,_0x4dd1fb=this[_0x27b5b7(0x244)][_0x27b5b7(0x2bc)][_0x27b5b7(0x221)](_0x2610b8=>{const _0x4beb7b=_0x27b5b7;if(_0x2610b8==null)return;const {unitId:_0x20a26d,redoState:_0x2cf63e,commandId:_0x3a9400}=_0x2610b8;if(_0x20a26d!==_0x57187a[_0x4beb7b(0x188)])return;const _0x27d549={'id':_0x3a9400,'type':_0x926111[_0x4beb7b(0x1d9)],'params':{'unitId':_0x20a26d,'actions':_0x2cf63e['actions'],'textRanges':null}};_0x57187a['onLocalMutation'](_0x27d549);});if(_0x57187a[_0x27b5b7(0x18b)](_0x4dd1fb),_0x57187a instanceof _0x3a9d16){const _0x52a996={'onTransformIME':_0x1838de=>this[_0x27b5b7(0x17c)][_0x27b5b7(0x2a3)](_0x1838de),'onTransformState':_0x4ddb6a=>this[_0x27b5b7(0x27b)][_0x27b5b7(0x295)](_0x4ddb6a),'onTransformSelections':_0x47c000=>this['_docTransformSelectionsService'][_0x27b5b7(0x1df)](_0x47c000),'onSyncEditingCollabCursor':_0x4e9aaf=>this[_0x27b5b7(0x1a7)][_0x27b5b7(0x1d4)](_0x4e9aaf),'onTransformRemoteChangesetByIMECache':_0x567ccc=>this[_0x27b5b7(0x17c)][_0x27b5b7(0x269)](_0x567ccc),'onTransformRemoteChangesetByStateCache':_0x353ce5=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x353ce5)};_0x57187a[_0x27b5b7(0x28d)](_0x52a996);}}));}};ce=cn([U(0x0,_0x54b249(_0x182343)),U(0x1,_0x54b249(_0x213766)),U(0x2,_0x54b249(re)),U(0x3,_0x54b249(oe)),U(0x4,_0x54b249(ae)),U(0x5,_0x54b249(Fe)),U(0x6,_0x23eb9a),U(0x7,_0x54b249(_0x4f44af))],ce);var ln=Object[_0x1762ac(0x1cc)],_n=(_0x2c956c,_0x36b736,_0x3cd2df,_0x209e1e)=>{const _0x229550=_0x1762ac;for(var _0xf27b87=_0x209e1e>0x1?void 0x0:_0x209e1e?ln(_0x36b736,_0x3cd2df):_0x36b736,_0xc5bd28=_0x2c956c[_0x229550(0x196)]-0x1,_0x5e9aff;_0xc5bd28>=0x0;_0xc5bd28--)(_0x5e9aff=_0x2c956c[_0xc5bd28])&&(_0xf27b87=_0x5e9aff(_0xf27b87)||_0xf27b87);return _0xf27b87;},Oe=(_0x504d70,_0x1d35e9)=>(_0x5c01f6,_0x5edeca)=>_0x1d35e9(_0x5c01f6,_0x5edeca,_0x504d70);let Ae=class extends _0x5d8363{constructor(_0xb2fdbb,_0x1fe579,_0x171b83){const _0x4dc2b7=_0x1762ac;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb2fdbb,this['_localStorageService']=_0x1fe579,this[_0x4dc2b7(0x1ee)]=_0x171b83);}[_0x1762ac(0x2b0)](){const _0x4da5cb=_0x1762ac;this[_0x4da5cb(0xce)]=!0x0;}[_0x1762ac(0x2bf)](){this['_disabled']=!0x1;}get[_0x1762ac(0x19c)](){const _0x4f74f3=_0x1762ac;return this[_0x4f74f3(0xe2)];}[_0x1762ac(0x1c0)](){const _0x2beb5a=_0x1762ac;this[_0x2beb5a(0xed)]()['then'](()=>super['dispose']());}async[_0x1762ac(0x24a)](_0x209fc2){const _0x4f9693=_0x1762ac;return this['_disabled']?null:this[_0x4f9693(0x104)][_0x4f9693(0x133)](_0x2d9407(_0x209fc2));}async[_0x1762ac(0x296)](_0x5de7ff,_0xfebeaa){const _0x4d3a47=_0x1762ac;return!!this[_0x4d3a47(0x104)][_0x4d3a47(0x1dc)](_0x5de7ff,_0xfebeaa);}[_0x1762ac(0xf5)](_0x4b1dbd,_0x17c179,_0x2f0d67,_0x362f37){const _0xa47cf2=_0x1762ac,_0xaa369e=this[_0xa47cf2(0x1ee)]['getCurrentRevOfUnit'](_0x4b1dbd);this[_0xa47cf2(0xec)][_0xa47cf2(0x1e2)](_0x4b1dbd,{'unitID':_0x4b1dbd,'type':_0x17c179,'awaitingChangeset':_0x2f0d67,'mutations':_0x362f37,'rev':_0xaa369e}),this[_0xa47cf2(0xe2)][_0xa47cf2(0x13b)](_0x4b1dbd)||this[_0xa47cf2(0x1c9)](_0x4b1dbd);}[_0x1762ac(0x1c9)](_0x1c5aab){const _0x5c367d=_0x1762ac,_0x59291a=this[_0x5c367d(0x22a)]();_0x59291a===0x0?this['_saveCache'](_0x1c5aab):this[_0x5c367d(0xe2)][_0x5c367d(0x1e2)](_0x1c5aab,setTimeout(()=>this[_0x5c367d(0x185)](_0x1c5aab),_0x59291a));}[_0x1762ac(0x22a)](){const _0xe0d93a=_0x1762ac;var _0x4d7f26;return(_0x4d7f26=this[_0xe0d93a(0x170)]['getConfig'](_0x559240))!=null?_0x4d7f26:_0x3f3c25;}[_0x1762ac(0x185)](_0x1487b1){const _0x2ffc71=_0x1762ac,_0x3ec27e=this[_0x2ffc71(0xe2)][_0x2ffc71(0x29b)](_0x1487b1);return _0x3ec27e!==void 0x0&&window['clearTimeout'](_0x3ec27e),this[_0x2ffc71(0x104)]['setItem'](_0x2d9407(_0x1487b1),this[_0x2ffc71(0xec)][_0x2ffc71(0x29b)](_0x1487b1))[_0x2ffc71(0x29c)](()=>this[_0x2ffc71(0xe2)]['delete'](_0x1487b1));}async[_0x1762ac(0xed)](){const _0x486970=_0x1762ac,_0x482de8=[];this[_0x486970(0xe2)][_0x486970(0x14e)]((_0x3b58d7,_0x4708fb)=>{const _0x4c31b7=_0x486970;window[_0x4c31b7(0x1e6)](_0x3b58d7),_0x482de8[_0x4c31b7(0x12b)](this[_0x4c31b7(0x185)](_0x4708fb)['then'](()=>{const _0xf82a42=_0x4c31b7;this[_0xf82a42(0xe2)][_0xf82a42(0x2d4)](_0x4708fb);}));}),await Promise[_0x486970(0x203)](_0x482de8);}};Ae=_n([Oe(0x0,_0x2e1edc),Oe(0x1,_0x34e19f),Oe(0x2,_0x54b249(_0x3cae2d))],Ae);class hn extends _0x28093b{constructor(){const _0x569282=_0x1762ac;super(),_(this,_0x569282(0x238)),this['urlChange$']=_0xaa05a6(window,_0x569282(0x130))[_0x569282(0x29f)](_0x4e4cc7(this[_0x569282(0x27a)]),_0x8a8f2f(0x1),_0x2d1c61(void 0x0));}[_0x1762ac(0x1db)](_0x224844,_0x4f065f,_0x3114c6=!0x1){const _0x1a7cd0=_0x1762ac,_0x197272=new URL(window[_0x1a7cd0(0x246)][_0x1a7cd0(0x1c4)]);_0x197272[_0x1a7cd0(0x14a)]['set'](_0x224844,_0x4f065f),_0x3114c6?window[_0x1a7cd0(0x2d0)][_0x1a7cd0(0x159)]('','',_0x197272[_0x1a7cd0(0xda)]()):window[_0x1a7cd0(0x2d0)][_0x1a7cd0(0x1d1)]('','',_0x197272['toString']());}['removeParam'](_0xb0aee7,_0x1cf605=!0x1){const _0x46b695=_0x1762ac,_0xe57b36=new URL(window['location'][_0x46b695(0x1c4)]);_0xe57b36[_0x46b695(0x14a)][_0x46b695(0x2d4)](_0xb0aee7),_0x1cf605?window['history'][_0x46b695(0x159)]('','',_0xe57b36[_0x46b695(0xda)]()):window[_0x46b695(0x2d0)][_0x46b695(0x1d1)]('','',_0xe57b36[_0x46b695(0xda)]());}['getParam'](_0x23dc60){const _0xebb7e0=_0x1762ac;var _0x1e5f52;return(_0x1e5f52=new URL(window[_0xebb7e0(0x246)][_0xebb7e0(0x1c4)])['searchParams'][_0xebb7e0(0x29b)](_0x23dc60))!=null?_0x1e5f52:void 0x0;}}var un=Object[_0x1762ac(0x155)],dn=Object[_0x1762ac(0x1cc)],fn=(_0xb8dc2d,_0x647249,_0x34ca8c)=>_0x647249 in _0xb8dc2d?un(_0xb8dc2d,_0x647249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34ca8c}):_0xb8dc2d[_0x647249]=_0x34ca8c,Sn=(_0x219d25,_0x43d972,_0x48d62e,_0x296b5e)=>{for(var _0x562137=_0x296b5e>0x1?void 0x0:_0x296b5e?dn(_0x43d972,_0x48d62e):_0x43d972,_0x31217d=_0x219d25['length']-0x1,_0x58b715;_0x31217d>=0x0;_0x31217d--)(_0x58b715=_0x219d25[_0x31217d])&&(_0x562137=_0x58b715(_0x562137)||_0x562137);return _0x562137;},be=(_0x1cb7e8,_0x220649)=>(_0x1aa0f4,_0x47b328)=>_0x220649(_0x1aa0f4,_0x47b328,_0x1cb7e8),mn=(_0x93d4a0,_0x51dfa4,_0xc57bdb)=>fn(_0x93d4a0,_0x51dfa4+'',_0xc57bdb);const In=_0x1762ac(0xdf);let ye=class extends _0x5d6e37{constructor(_0x2827f6=tt,_0x51ef1a,_0x5aaf59,_0x19936f){const _0x20c47b=_0x1762ac;super(),this['_config']=_0x2827f6,this[_0x20c47b(0x2bd)]=_0x51ef1a,this['_injector']=_0x5aaf59,this['_configService']=_0x19936f;const {..._0x1a6b75}=_0x141462({},tt,this[_0x20c47b(0x275)]);this[_0x20c47b(0x170)]['setConfig'](Zi,_0x1a6b75);}[_0x1762ac(0x1a1)](){const _0xd9ba66=_0x1762ac;this[_0xd9ba66(0x125)](),this[_0xd9ba66(0x289)]();}['onRendered'](){const _0x4da74d=_0x1762ac;this[_0x4da74d(0xc7)]();}[_0x1762ac(0x125)](){const _0x3da93c=_0x1762ac;var _0xca79d4;const _0x69b91f=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0xd4eb39,{'useClass':_0x5f112c}],[_0x4cefdc,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0xbf7213(this[_0x3da93c(0x101)],_0x1f7a18(_0x69b91f,(_0xca79d4=this[_0x3da93c(0x275)])==null?void 0x0:_0xca79d4['override']));}[_0x1762ac(0xc7)](){const _0x19090a=_0x1762ac;this[_0x19090a(0x18b)](this[_0x19090a(0x2bd)][_0x19090a(0x23d)](_0x4b3b5f[_0x19090a(0x204)],[Pe])),this[_0x19090a(0x18b)](this[_0x19090a(0x2bd)][_0x19090a(0x23d)](_0x4b3b5f[_0x19090a(0x26a)],[we]));}[_0x1762ac(0x289)](){const _0x256001=_0x1762ac;_0x3baa6e(this[_0x256001(0x101)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0x3753c4(_0x55d557),be(0x1,_0x52f4dd),be(0x2,_0x54b249(_0x486af7)),be(0x3,_0x2e1edc)],ye);var vn=Object[_0x1762ac(0x1cc)],gn=(_0x5d9987,_0x4bd7da,_0x48c40b,_0xc57e64)=>{const _0x263ac4=_0x1762ac;for(var _0x1a43f3=_0xc57e64>0x1?void 0x0:_0xc57e64?vn(_0x4bd7da,_0x48c40b):_0x4bd7da,_0x2f93c5=_0x5d9987[_0x263ac4(0x196)]-0x1,_0x434f02;_0x2f93c5>=0x0;_0x2f93c5--)(_0x434f02=_0x5d9987[_0x2f93c5])&&(_0x1a43f3=_0x434f02(_0x1a43f3)||_0x1a43f3);return _0x1a43f3;},z=(_0x27b00f,_0xf6b533)=>(_0x91f157,_0x2211df)=>_0xf6b533(_0x91f157,_0x2211df,_0x27b00f);let it=class extends _0x12c1a2{constructor(_0x52e70e,_0xc043db,_0x389038,_0x370a49,_0x16a474){super(_0x52e70e,_0xc043db,_0x389038,_0x370a49,_0x16a474);}async['createSocket'](_0x91fdc3){const _0x3b5c70=_0x1762ac,_0xed7c2a=await this[_0x3b5c70(0x2aa)](),_0x44a70b=this[_0x3b5c70(0x266)](_0x91fdc3,_0xed7c2a);return this[_0x3b5c70(0x21c)](_0x44a70b);}[_0x1762ac(0x266)](_0x5e6475,_0x5496bf){const _0x44a2e0=_0x1762ac,_0xa29fc0=typeof window>'u'?new URL(_0x5e6475):new URL(_0x5e6475,window['location'][_0x44a2e0(0x111)]);_0xa29fc0[_0x44a2e0(0x14a)][_0x44a2e0(0x1e2)]('sessionTicket',_0x5496bf);const _0x484830=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a2e0(0x246)][_0x44a2e0(0xfc)]);return _0x484830[_0x44a2e0(0x29b)]('runId')&&_0xa29fc0['searchParams'][_0x44a2e0(0x1e2)]('runId',_0x484830[_0x44a2e0(0x29b)]('runId')),_0xa29fc0[_0x44a2e0(0xda)]();}async[_0x1762ac(0x2aa)](){const _0x48f315=_0x1762ac;var _0x289482,_0x46eca2,_0x39dbb2;const _0x5d40e3=this['_configService']['getConfig'](_0x27eb48),_0x174eb6=(_0x289482=_0x5d40e3==null?void 0x0:_0x5d40e3[_0x48f315(0x1b3)])!=null?_0x289482:_0x202f17;return(_0x39dbb2=(_0x46eca2=(await this[_0x48f315(0x2a6)]['get'](_0x174eb6,{'headers':{'Content-Type':'application/json'}}))[_0x48f315(0xcd)])==null?void 0x0:_0x46eca2['ticket'])!=null?_0x39dbb2:'';}};it=gn([z(0x0,_0x54b249(_0x486af7)),z(0x1,_0x54b249(_0x2a0e93)),z(0x2,_0x2e1edc),z(0x3,_0x1fb54f),z(0x4,_0x2e09ab)],it);const nt=0x7530,rt=_0x1762ac(0x153);class Fn extends _0x5d8363{constructor(){const _0x31afc7=_0x1762ac;super(),_(this,_0x31afc7(0x283),_0x4a9b37()),_(this,'_selfUnitIDs',new Set()),_(this,_0x31afc7(0x1ea),new Map()),_(this,_0x31afc7(0x27c),null),_(this,_0x31afc7(0x1c1),new Map()),_(this,'_unitStatus',new Map()),this[_0x31afc7(0x22f)]();}[_0x1762ac(0x1c0)](){const _0x3c01ba=_0x1762ac;super[_0x3c01ba(0x1c0)](),this[_0x3c01ba(0x1c1)]['forEach']((_0x4e7cc0,_0x5c9fec)=>this[_0x3c01ba(0x100)](_0x5c9fec)),this['_heartbeatTimer']&&window[_0x3c01ba(0x2ae)](this[_0x3c01ba(0x27c)]);}[_0x1762ac(0x1b1)](_0xbae460){const _0x557569=_0x1762ac;return this[_0x557569(0x1b0)](_0xbae460)[_0x557569(0x29f)](_0x339ca4());}[_0x1762ac(0x128)](_0x2e9392){const _0x39ec30=_0x1762ac;this[_0x39ec30(0xca)]['size']===0x0&&this[_0x39ec30(0x10b)](),this[_0x39ec30(0xca)][_0x39ec30(0x26c)](_0x2e9392),this[_0x39ec30(0x253)]({'type':0x0,'memberID':this[_0x39ec30(0x283)],'unitIDs':[_0x2e9392],'isForwarded':!0x1});}[_0x1762ac(0x10d)](_0x2e46da){const _0x36f363=_0x1762ac;this[_0x36f363(0xca)][_0x36f363(0x2d4)](_0x2e46da),this[_0x36f363(0xca)][_0x36f363(0x24b)]===0x0&&this[_0x36f363(0x27c)]&&window[_0x36f363(0x2ae)](this[_0x36f363(0x27c)]);}[_0x1762ac(0x22f)](){const _0x26ac31=_0x1762ac;this['disposeWithMe'](_0x498c8e(_0xaa05a6(window,_0x26ac31(0x2b4))[_0x26ac31(0x221)](_0x2dca52=>{const _0x404abd=_0x26ac31;if(_0x2dca52['key']!==rt||!_0x2dca52[_0x404abd(0x1a0)])return;const _0x5e1ec5=JSON[_0x404abd(0x166)](_0x2dca52[_0x404abd(0x1a0)]);this[_0x404abd(0x163)](_0x5e1ec5);}))),window[_0x26ac31(0x1e9)]('unload',()=>this[_0x26ac31(0x253)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x26ac31(0xca)])}));}[_0x1762ac(0x163)](_0x5d6353){const _0x2c5b92=_0x1762ac;switch(_0x5d6353['type']){case 0x0:this[_0x2c5b92(0x206)](_0x5d6353);break;case 0x1:this[_0x2c5b92(0x156)](_0x5d6353);break;case 0x2:this[_0x2c5b92(0x161)](_0x5d6353);break;}}[_0x1762ac(0x206)](_0x5ea9d9){const _0x3e0e71=_0x1762ac,{unitIDs:_0x3217c,memberID:_0x1f5138,isForwarded:_0x478275}=_0x5ea9d9;_0x3217c[_0x3e0e71(0x14e)](_0x53dfd4=>{const _0x471560=_0x3e0e71;if(!_0x478275&&this['_unitOnClients']['has'](_0x53dfd4)&&this[_0x471560(0x1b0)](_0x53dfd4)[_0x471560(0x2c9)](_0x3deb19[_0x471560(0x1da)]),!this[_0x471560(0x1ea)]['has'](_0x53dfd4)||!this[_0x471560(0x1ea)]['get'](_0x53dfd4)[_0x471560(0x13b)](_0x1f5138)){const _0x42ad28=this[_0x471560(0x1ea)][_0x471560(0x29b)](_0x53dfd4)||new Set();_0x42ad28['add'](_0x1f5138),this[_0x471560(0x1ea)][_0x471560(0x1e2)](_0x53dfd4,_0x42ad28),this[_0x471560(0x14c)](_0x1f5138);}}),_0x478275||this[_0x3e0e71(0x253)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1762ac(0x14c)](_0x1ed2fe){const _0x4000f7=_0x1762ac;this[_0x4000f7(0x100)](_0x1ed2fe);const _0xfda757=window[_0x4000f7(0x261)](()=>{const _0x2d0534=_0x4000f7;this[_0x2d0534(0x1ea)][_0x2d0534(0x14e)](_0x38b023=>{const _0x4c5056=_0x2d0534;_0x38b023[_0x4c5056(0x2d4)](_0x1ed2fe);});},nt*0x2);this[_0x4000f7(0x1c1)][_0x4000f7(0x1e2)](_0x1ed2fe,_0xfda757);}[_0x1762ac(0x100)](_0x26c518){const _0x171488=_0x1762ac;if(this[_0x171488(0x1c1)]['has'](_0x26c518)){const _0x2c9cef=this[_0x171488(0x1c1)][_0x171488(0x29b)](_0x26c518);_0x2c9cef&&window['clearTimeout'](_0x2c9cef),this[_0x171488(0x1c1)][_0x171488(0x1e2)](_0x26c518,null);}}[_0x1762ac(0x156)](_0x4ecefd){const {memberID:_0x5c124d,unitIDs:_0x538d90}=_0x4ecefd;_0x538d90['forEach'](_0xa2c5e4=>{const _0x96d566=_0x182c;var _0xaa00a6;const _0x5bc496=this[_0x96d566(0x1ea)][_0x96d566(0x29b)](_0xa2c5e4);_0x5bc496&&(_0x5bc496[_0x96d566(0x2d4)](_0x5c124d),(_0xaa00a6=this[_0x96d566(0x1b0)](_0xa2c5e4))==null||_0xaa00a6[_0x96d566(0x2c9)](_0x5bc496[_0x96d566(0x24b)]===0x0?_0x3deb19[_0x96d566(0x2ba)]:_0x3deb19[_0x96d566(0x1da)]));}),this['_removeClearOtherTimer'](_0x5c124d);}[_0x1762ac(0x161)](_0x459cc9){const _0xdae6d6=_0x1762ac;this[_0xdae6d6(0x14c)](_0x459cc9['memberID']);}['_send'](_0x155167){const _0xcdd41c=_0x1762ac;localStorage[_0xcdd41c(0x1dc)](rt,JSON['stringify'](_0x155167));}[_0x1762ac(0x10b)](){const _0x101b5e=_0x1762ac;this[_0x101b5e(0x27c)]=window[_0x101b5e(0x12a)](()=>{const _0x93c282=_0x101b5e;this[_0x93c282(0x253)]({'type':0x2,'memberID':this[_0x93c282(0x283)]});},nt);}['_ensureSubject'](_0x32e798){const _0x50e9b4=_0x1762ac;return this['_unitStatus'][_0x50e9b4(0x13b)](_0x32e798)||this[_0x50e9b4(0x109)]['set'](_0x32e798,new _0x5c4b3a(_0x3deb19[_0x50e9b4(0x2ba)])),this[_0x50e9b4(0x109)][_0x50e9b4(0x29b)](_0x32e798);}}var Lt=(_0x4ffb7a=>(_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1b4)]=0x0]='UNDEFINED',_0x4ffb7a[_0x4ffb7a['OK']=0x1]='OK',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x28e)]=0x2]=_0x1762ac(0x28e),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x17f)]=0x3]=_0x1762ac(0x17f),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x201)]=0x4]='NOT_FOUND',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x183)]=0x5]=_0x1762ac(0x183),_0x4ffb7a[_0x4ffb7a['ALREADY_EXISTS']=0x6]=_0x1762ac(0x22c),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xd9)]=0x7]=_0x1762ac(0xd9),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x2ce)]=0x8]=_0x1762ac(0x2ce),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x2b3)]=0x9]=_0x1762ac(0x2b3),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xc9)]=0xa]=_0x1762ac(0xc9),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1fe)]=0xb]=_0x1762ac(0x1fe),_0x4ffb7a[_0x4ffb7a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1762ac(0x1dd),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1fa)]=0xd]=_0x1762ac(0x1fa),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x25c)]=0xe]=_0x1762ac(0x25c),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x27d)]=0x1389]=_0x1762ac(0x27d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x11c)]=0x1771]=_0x1762ac(0x11c),_0x4ffb7a[_0x4ffb7a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1762ac(0x10a),_0x4ffb7a[_0x4ffb7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1762ac(0x106),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x15c)]=0x1b59]='APPLY_REJECT',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x18d)]=0x1b5a]=_0x1762ac(0x18d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x129)]=0x1b5b]=_0x1762ac(0x129),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x280)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x140)]=0x1b5d]=_0x1762ac(0x140),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x25a)]=0x1f41]=_0x1762ac(0x25a),_0x4ffb7a[_0x4ffb7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1762ac(0xe8),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x15a)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x24e)]=0x232b]=_0x1762ac(0x24e),_0x4ffb7a[_0x4ffb7a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1762ac(0x277),_0x4ffb7a[_0x4ffb7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1762ac(0x2cd),_0x4ffb7a[_0x4ffb7a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1762ac(0x123),_0x4ffb7a[_0x4ffb7a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1762ac(0xf2),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x285)]=0x2713]=_0x1762ac(0x285),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1ad)]=0x2714]=_0x1762ac(0x1ad),_0x4ffb7a[_0x4ffb7a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1762ac(0x2be),_0x4ffb7a[_0x4ffb7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4ffb7a[_0x4ffb7a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4ffb7a[_0x4ffb7a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1eb)]=0x271e]=_0x1762ac(0x1eb),_0x4ffb7a[_0x4ffb7a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1762ac(0x2ad),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x256)]=0x2720]=_0x1762ac(0x256),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1c2)]=0x2af9]=_0x1762ac(0x1c2),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x232)]=0x2ee1]=_0x1762ac(0x232),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0xe0)]=0x2ee2]=_0x1762ac(0xe0),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x237)]=0x2ee3]=_0x1762ac(0x237),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x27f)]=0x2ee4]=_0x1762ac(0x27f),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x208)]=0x2ee5]=_0x1762ac(0x208),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1f1)]=0x32c9]=_0x1762ac(0x1f1),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x14d)]=0x32ca]=_0x1762ac(0x14d),_0x4ffb7a[_0x4ffb7a[_0x1762ac(0x1e4)]=0x32cb]=_0x1762ac(0x1e4),_0x4ffb7a[_0x4ffb7a['UNRECOGNIZED']=-0x1]=_0x1762ac(0x281),_0x4ffb7a))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x438695,_0x2bcdd7,_0x221465,_0x580f50)=>{const _0x2b60ff=_0x1762ac;for(var _0x4192ae=_0x580f50>0x1?void 0x0:_0x580f50?pn(_0x2bcdd7,_0x221465):_0x2bcdd7,_0x5c7629=_0x438695[_0x2b60ff(0x196)]-0x1,_0x384cbd;_0x5c7629>=0x0;_0x5c7629--)(_0x384cbd=_0x438695[_0x5c7629])&&(_0x4192ae=_0x384cbd(_0x4192ae)||_0x4192ae);return _0x4192ae;},Te=(_0x1db001,_0x3bcf5f)=>(_0x248c52,_0x589423)=>_0x3bcf5f(_0x248c52,_0x589423,_0x1db001);let ot=class extends _0x5d8363{constructor(_0xd8f660,_0x58ce48,_0x54fe45){const _0x3d1d98=_0x1762ac;super(),this[_0x3d1d98(0x1aa)]=_0xd8f660,this[_0x3d1d98(0x2a6)]=_0x58ce48,this[_0x3d1d98(0x170)]=_0x54fe45;}async['runOnServer'](_0x44fd4a,_0x37f933,_0x47132a,..._0x364e1e){const _0x5a00c5=_0x1762ac;var _0x543876,_0x2f1a61,_0x48c285,_0x38a20f;const _0x261f35=this[_0x5a00c5(0x1aa)][_0x5a00c5(0x211)]();if(!_0x261f35)throw new Error(_0x5a00c5(0x274));const _0x5e172e=((_0x543876=this[_0x5a00c5(0x170)]['getConfig'](_0xa85bb9))!=null?_0x543876:_0x27ccee)+'/'+_0x44fd4a+_0x5a00c5(0x151)+_0x37f933,_0x3db02e=new URL(window[_0x5a00c5(0x246)]['href']),_0x541219={'scriptId':_0x44fd4a,'runId':(_0x2f1a61=_0x3db02e[_0x5a00c5(0x14a)][_0x5a00c5(0x29b)](_0x5a00c5(0x1ca)))!=null?_0x2f1a61:'','function':_0x37f933,'unitId':_0x261f35['getUnitId'](),'argsOfFunction':JSON[_0x5a00c5(0x245)](_0x364e1e),'invokeId':(_0x48c285=_0x47132a[_0x5a00c5(0x1d8)])!=null?_0x48c285:'','executionId':(_0x38a20f=_0x47132a[_0x5a00c5(0x288)])!=null?_0x38a20f:''};try{const _0x51fa20=await this[_0x5a00c5(0x2a6)]['post'](_0x5e172e,{'body':_0x541219});return _0x51fa20[_0x5a00c5(0xcd)][_0x5a00c5(0x118)]&&_0x51fa20[_0x5a00c5(0xcd)][_0x5a00c5(0x118)][_0x5a00c5(0x17d)]!==Lt['OK']?_0x5a00c5(0xe4):_0x51fa20['body']['result'];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x253376),Te(0x1,_0x54b249(_0x2a0e93)),Te(0x2,_0x2e1edc)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -0,0 +1 @@
1
+ const _0x3ea37b=_0x3687;function _0x3687(_0x231b0f,_0x4e438a){const _0x11dc2b=_0x11dc();return _0x3687=function(_0x3687dc,_0x22f72b){_0x3687dc=_0x3687dc-0x1e5;let _0x603622=_0x11dc2b[_0x3687dc];return _0x603622;},_0x3687(_0x231b0f,_0x4e438a);}(function(_0x264e98,_0x31cb1e){const _0x3e2dcf=_0x3687,_0xcb301=_0x264e98();while(!![]){try{const _0x4d460c=parseInt(_0x3e2dcf(0x1e9))/0x1+-parseInt(_0x3e2dcf(0x1fa))/0x2+-parseInt(_0x3e2dcf(0x1ea))/0x3+-parseInt(_0x3e2dcf(0x1f2))/0x4+-parseInt(_0x3e2dcf(0x1ed))/0x5+parseInt(_0x3e2dcf(0x1f4))/0x6+parseInt(_0x3e2dcf(0x1f9))/0x7*(parseInt(_0x3e2dcf(0x1f6))/0x8);if(_0x4d460c===_0x31cb1e)break;else _0xcb301['push'](_0xcb301['shift']());}catch(_0x463618){_0xcb301['push'](_0xcb301['shift']());}}}(_0x11dc,0xa4849));const e={'collab-client':{'tooltip':{'reconnect':_0x3ea37b(0x1e5)}},'collabStatus':{'fetchMiss':_0x3ea37b(0x1f7),'conflict':'Edit\x20conflicts','notCollab':_0x3ea37b(0x1f0),'synced':_0x3ea37b(0x1e7),'syncing':_0x3ea37b(0x1ee),'offline':_0x3ea37b(0x1f3)},'session':{'connection-failed':_0x3ea37b(0x1ec),'will-retry':_0x3ea37b(0x1f5),'room-full':_0x3ea37b(0x1e8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3ea37b(0x1eb)},'permission':{'title':_0x3ea37b(0x1e6),'content':_0x3ea37b(0x1f1)},'collaboration':{'single-unit':{'warning':_0x3ea37b(0x1ef)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x3ea37b(0x1f8)}},o=e;export{o as default};function _0x11dc(){const _0x3912e8=['2790475YRyhWA','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2161416APTPhg','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1577796MomNby','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','584hFgRHC','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','106589BfRGsv','236784rfOQqj','Click\x20to\x20Reconnect','Authentication\x20Error','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','595750ciOsJX','238743vrCyyO','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,\x20please\x20check\x20your\x20network.'];_0x11dc=function(){return _0x3912e8;};return _0x11dc();}
@@ -1 +1 @@
1
- const _0x28abf0=_0x3b65;(function(_0x303fdf,_0x5a005d){const _0x2018e1=_0x3b65,_0x4eb6d4=_0x303fdf();while(!![]){try{const _0x27cc60=parseInt(_0x2018e1(0x13b))/0x1+parseInt(_0x2018e1(0x12f))/0x2+-parseInt(_0x2018e1(0x138))/0x3*(parseInt(_0x2018e1(0x12c))/0x4)+parseInt(_0x2018e1(0x131))/0x5*(parseInt(_0x2018e1(0x13f))/0x6)+-parseInt(_0x2018e1(0x130))/0x7+-parseInt(_0x2018e1(0x135))/0x8*(parseInt(_0x2018e1(0x141))/0x9)+parseInt(_0x2018e1(0x144))/0xa*(parseInt(_0x2018e1(0x13e))/0xb);if(_0x27cc60===_0x5a005d)break;else _0x4eb6d4['push'](_0x4eb6d4['shift']());}catch(_0x63fb3){_0x4eb6d4['push'](_0x4eb6d4['shift']());}}}(_0x3289,0x59cc4));function _0x3b65(_0x1e50cf,_0x8c805d){const _0x328996=_0x3289();return _0x3b65=function(_0x3b6585,_0x515957){_0x3b6585=_0x3b6585-0x12b;let _0x45b224=_0x328996[_0x3b6585];return _0x45b224;},_0x3b65(_0x1e50cf,_0x8c805d);}const e={'collab-client':{'tooltip':{'reconnect':_0x28abf0(0x12b)}},'collabStatus':{'fetchMiss':_0x28abf0(0x136),'conflict':_0x28abf0(0x139),'notCollab':'Local\x20file','synced':_0x28abf0(0x143),'syncing':_0x28abf0(0x13d),'offline':_0x28abf0(0x140)},'session':{'connection-failed':_0x28abf0(0x137),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x28abf0(0x142),'collaboration-timeout':_0x28abf0(0x13c)},'conflict':{'title':_0x28abf0(0x132),'content':_0x28abf0(0x13a)},'permission':{'title':_0x28abf0(0x133),'content':_0x28abf0(0x12d)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x28abf0(0x12e)},'auth':{'needGotoLoginAlert':_0x28abf0(0x134)}};export{e as default};function _0x3289(){const _0x41c5a5=['69hEItfI','Edit\x20conflicts','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.','395631FsHqOV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','18623YtGEfy','78IoRxbE','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1283994mMoGWY','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','720unAjfg','Click\x20to\x20Reconnect','1844eMGmLk','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','320882zKBoKr','790146RnKgYa','37945rEfosB','Collaboration\x20Conflict','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','16aubloi','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x3289=function(){return _0x41c5a5;};return _0x3289();}
1
+ function _0x10d5(_0xe286da,_0x45a65a){const _0x255ad6=_0x255a();return _0x10d5=function(_0x10d58a,_0x426684){_0x10d58a=_0x10d58a-0xda;let _0x5adc30=_0x255ad6[_0x10d58a];return _0x5adc30;},_0x10d5(_0xe286da,_0x45a65a);}function _0x255a(){const _0x44ad7a=['10034ZKPpzA','488577iMpZia','31hvfAZB','8wIUdFv','Connection\x20failed,\x20please\x20check\x20your\x20network.','1931245JvAShk','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Synced','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','1448209BgjaDy','2032308RZkJwC','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8LGeACc','6crQwEo','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1216870QBTXsS','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20Conflict','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.','Edit\x20conflicts','10109561eYsclb'];_0x255a=function(){return _0x44ad7a;};return _0x255a();}const _0x466041=_0x10d5;(function(_0x4aa901,_0x26647a){const _0x469509=_0x10d5,_0x166805=_0x4aa901();while(!![]){try{const _0x33890a=parseInt(_0x469509(0xee))/0x1*(parseInt(_0x469509(0xec))/0x2)+-parseInt(_0x469509(0xed))/0x3*(parseInt(_0x469509(0xef))/0x4)+-parseInt(_0x469509(0xf1))/0x5*(parseInt(_0x469509(0xe2))/0x6)+parseInt(_0x469509(0xdc))/0x7*(parseInt(_0x469509(0xe1))/0x8)+-parseInt(_0x469509(0xdd))/0x9+-parseInt(_0x469509(0xe6))/0xa+parseInt(_0x469509(0xeb))/0xb;if(_0x33890a===_0x26647a)break;else _0x166805['push'](_0x166805['shift']());}catch(_0x4517a6){_0x166805['push'](_0x166805['shift']());}}}(_0x255a,0x3632f));const e={'collab-client':{'tooltip':{'reconnect':_0x466041(0xf5)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x466041(0xea),'notCollab':_0x466041(0xdb),'synced':_0x466041(0xf4),'syncing':_0x466041(0xf3),'offline':_0x466041(0xe0)},'session':{'connection-failed':_0x466041(0xf0),'will-retry':_0x466041(0xde),'room-full':_0x466041(0xe3),'collaboration-timeout':_0x466041(0xe4)},'conflict':{'title':_0x466041(0xe8),'content':_0x466041(0xe9)},'permission':{'title':_0x466041(0xdf),'content':_0x466041(0xe7)},'collaboration':{'single-unit':{'warning':_0x466041(0xda)},'closeRoom':_0x466041(0xf2)},'auth':{'needGotoLoginAlert':_0x466041(0xe5)}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x54643c=_0x3c0f;(function(_0x5a45fa,_0x4395c1){const _0x3a455d=_0x3c0f,_0x409d5c=_0x5a45fa();while(!![]){try{const _0x32a2e8=parseInt(_0x3a455d(0x1eb))/0x1*(-parseInt(_0x3a455d(0x1e7))/0x2)+-parseInt(_0x3a455d(0x1ed))/0x3*(-parseInt(_0x3a455d(0x1e1))/0x4)+parseInt(_0x3a455d(0x1f2))/0x5*(parseInt(_0x3a455d(0x1f0))/0x6)+-parseInt(_0x3a455d(0x1e3))/0x7+-parseInt(_0x3a455d(0x1e4))/0x8+parseInt(_0x3a455d(0x1df))/0x9+parseInt(_0x3a455d(0x1ea))/0xa*(parseInt(_0x3a455d(0x1e0))/0xb);if(_0x32a2e8===_0x4395c1)break;else _0x409d5c['push'](_0x409d5c['shift']());}catch(_0x225340){_0x409d5c['push'](_0x409d5c['shift']());}}}(_0x161b,0x26494));function _0x3c0f(_0x24f4a8,_0x367afa){const _0x161b32=_0x161b();return _0x3c0f=function(_0x3c0f3d,_0x21b031){_0x3c0f3d=_0x3c0f3d-0x1de;let _0x76d47=_0x161b32[_0x3c0f3d];return _0x76d47;},_0x3c0f(_0x24f4a8,_0x367afa);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x54643c(0x1e5),'conflict':'Edit\x20conflicts','notCollab':_0x54643c(0x1e9),'synced':'Synced','syncing':_0x54643c(0x1e8),'offline':_0x54643c(0x1ef)},'session':{'connection-failed':_0x54643c(0x1f3),'will-retry':_0x54643c(0x1e2),'room-full':_0x54643c(0x1e6),'collaboration-timeout':_0x54643c(0x1de)},'conflict':{'title':_0x54643c(0x1f1),'content':_0x54643c(0x1ee)},'permission':{'title':_0x54643c(0x1ec),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'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;function _0x161b(){const _0x53f94f=['Syncing...','Local\x20file','14780XqVpOU','1tfbWzC','Authentication\x20Error','165MmDZzQ','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','62730UBnqWS','Collaboration\x20Conflict','115JEPStr','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1069587PiMLpk','2112UwoeFP','1688pDOkNr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1111019refaxs','572784ZxioKw','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','558318abwPfY'];_0x161b=function(){return _0x53f94f;};return _0x161b();}export{o as default};