@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507171607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5496c8=_0x6cac;(function(_0x13df48,_0x21634e){const _0x6edbcb=_0x6cac,_0xfa43e6=_0x13df48();while(!![]){try{const _0x1d84d9=-parseInt(_0x6edbcb(0x20f))/0x1*(-parseInt(_0x6edbcb(0x37f))/0x2)+parseInt(_0x6edbcb(0x282))/0x3+parseInt(_0x6edbcb(0x266))/0x4+parseInt(_0x6edbcb(0x268))/0x5*(-parseInt(_0x6edbcb(0x27b))/0x6)+parseInt(_0x6edbcb(0x186))/0x7+parseInt(_0x6edbcb(0x370))/0x8*(parseInt(_0x6edbcb(0x245))/0x9)+-parseInt(_0x6edbcb(0x305))/0xa;if(_0x1d84d9===_0x21634e)break;else _0xfa43e6['push'](_0xfa43e6['shift']());}catch(_0x3af6c9){_0xfa43e6['push'](_0xfa43e6['shift']());}}}(_0x245d,0x51423));var $t=Object[_0x5496c8(0x32b)],xt=(_0x131102,_0x409342,_0x5df24f)=>_0x409342 in _0x131102?$t(_0x131102,_0x409342,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5df24f}):_0x131102[_0x409342]=_0x5df24f,_=(_0xc8a10f,_0x24d438,_0x4a4d46)=>xt(_0xc8a10f,typeof _0x24d438!=_0x5496c8(0x29d)?_0x24d438+'':_0x24d438,_0x4a4d46);import{MemberService as _0x43aa5d,SessionStatus as _0x129f6f,CollaborationSessionService as _0x1a4927,CollaborationStatus as _0x233496,CollaborationController as _0x4f31e7,ILocalCacheService as _0x190cd5,CollaborationUIEventService as _0x2e7e56,CollaborationUIEventId as _0x180ec1,DataLoaderService as _0x2883d1,DocCollaborationEntity as _0x5a146d,getLocalCacheKey as _0x31ca79,LOCAL_CACHE_INTERVAL as _0x145f4a,LOCAL_CACHE_INTERVAL_KEY as _0x52f700,UniverCollaborationClientPlugin as _0x44064c,CollaborationSocketService as _0x2736e8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xedf722,DEFAULT_WS_SESSION_TICKET_URL as _0x521449,UnitStatus as _0x295889,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3fc2aa,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x122fe8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2d29f3,Disposable as _0x192abb,DOC_RANGE_TYPE as _0xe9b024,Inject as _0x3809cb,Injector as _0x23463c,IUniverInstanceService as _0x46dfe1,ICommandService as _0x316b08,debounce as _0x14767a,Rectangle as _0x104712,DisposableCollection as _0x2db222,toDisposable as _0x3ad409,UniverInstanceType as _0x2c4d43,Tools as _0x2ae11c,COLORS as _0x26d74c,ColorKit as _0x3014a8,ThemeService as _0x1990ec,fromEventSubject as _0x202ff4,LocaleService as _0x59fd0b,createIdentifier as _0x40a27e,ILogService as _0x396721,Optional as _0x4da117,Workbook as _0x567be3,CommandType as _0x409a82,IConfigService as _0x36b46d,ILocalStorageService as _0x577f40,DependentOn as _0x33b788,Plugin as _0x374d6d,merge as _0x509630,registerDependencies as _0x399daa,mergeOverrideWithDependencies as _0x9417b2,touchDependencies as _0x21d869,generateRandomId as _0x3a76f8}from'@univerjs/core';import{Shape as _0x2eab77,Rect as _0x2a40d6,getColor as _0x5f45b9,RegularPolygon as _0x10ee4c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2d5b14,Vector2 as _0x400011,SHEET_VIEWPORT_KEY as _0x4e1e0e,IRenderManagerService as _0x3e7629}from'@univerjs/engine-render';import{ISocketService as _0xa620ed,WebSocketService as _0x454ec9,HTTPService as _0x242867}from'@univerjs/network';import{IDocClipboardService as _0x577536,NodePositionConvertToCursor as _0x4a08ca,NodePositionConvertToRectRange as _0x185494,TEXT_RANGE_LAYER_INDEX as _0x28d7cc,SetDocZoomRatioOperation as _0x15999c,DocIMEInputManagerService as _0x1d4c7b,DocStateChangeManagerService as _0x473259}from'@univerjs/docs-ui';import{IImageIoService as _0x2a2252}from'@univerjs/drawing';import{BehaviorSubject as _0x4033d5,debounceTime as _0x5a6a6c,takeUntil as _0x2926d6,Subject as _0x32cec9,filter as _0x2c0f64,switchMap as _0x4de612,merge as _0x47f7dd,combineLatest as _0x35f2c6,of as _0x254efc,fromEvent as _0x5d13c1,shareReplay as _0x4bd4aa,mapTo as _0x5784fc,distinctUntilChanged as _0x5a4047}from'rxjs';import{ITransformService as _0x230ef4,CollaborationEvent as _0x5d9723,isTransformMutationFailure as _0x5f1a7f,isTransformMutationsWithChangesetSuccess as _0x38dac8,RevisionService as _0x12b76f,ISnapshotServerService as _0x2f5a1f}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2e3a9d,RichTextEditingMutation as _0x409b92,DocSelectionManagerService as _0x41a6af,DocSkeletonManagerService as _0x498924}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5d8c15,serializeRangeWithSheet as _0x2399d5}from'@univerjs/engine-formula';import{RefRangeService as _0x3b6199,SetSelectionsOperation as _0x23e01c,SheetsSelectionsService as _0x1d4f82,EffectRefRangId as _0x1dee37,handleIRemoveRow as _0x144700,handleIRemoveCol as _0xa52e43,handleMoveRange as _0x5d6335,handleInsertRow as _0x1333ff,handleInsertRangeMoveRight as _0x576c40,handleInsertRangeMoveDown as _0x44b7bd,handleInsertCol as _0x2163f3,handleDeleteRangeMoveUp as _0x4204c2,handleDeleteRangeMoveLeft as _0x47dd03,runRefRangeMutations as _0x4d32ed,SetWorksheetActivateCommand as _0x2b7b9a}from'@univerjs/sheets';import{map as _0x49e3a1,filter as _0x5368cc,throttleTime as _0x4395ea,takeUntil as _0x16d4ad,switchMap as _0x4dd329}from'rxjs/operators';import{SheetSkeletonManagerService as _0xdcdb09,getCoordByCell as _0x9de0b8,getSheetObject as _0x6dc969}from'@univerjs/sheets-ui';import{jsx as _0x382f18,jsxs as _0x1ce99a}from'react/jsx-runtime';import{useObservable as _0x29134c,useDependency as _0x16b63e,IUIPartsService as _0x1c8b87,BuiltInUIPart as _0x260eb4,connectInjector as _0x2003da,IBeforeCloseService as _0x1efba6,IMessageService as _0x35577b,INotificationService as _0x1bb4f7}from'@univerjs/ui';import{Tooltip as _0x1692f3,clsx as _0x3650f3,MessageType as _0x3095bf}from'@univerjs/design';import{forwardRef as _0x4bb54e,useRef as _0x3194c0,createElement as _0x1e6f58,useCallback as _0x531d14}from'react';import{IRemoteInstanceService as _0x47fa38}from'@univerjs/rpc';var ci=Object[_0x5496c8(0x1cb)],li=(_0x19a8d8,_0x5acce3,_0x18973a,_0x2b5fa3)=>{const _0x5a8a6f=_0x5496c8;for(var _0x395035=_0x2b5fa3>0x1?void 0x0:_0x2b5fa3?ci(_0x5acce3,_0x18973a):_0x5acce3,_0x2f57a8=_0x19a8d8[_0x5a8a6f(0x2dc)]-0x1,_0x1f0ae2;_0x2f57a8>=0x0;_0x2f57a8--)(_0x1f0ae2=_0x19a8d8[_0x2f57a8])&&(_0x395035=_0x1f0ae2(_0x395035)||_0x395035);return _0x395035;},Je=(_0x4f46e2,_0x423439)=>(_0x12795f,_0x2164b6)=>_0x423439(_0x12795f,_0x2164b6,_0x4f46e2);let Ne=class extends _0x2d29f3{constructor(_0x115c8f,_0x406270){const _0x37014c=_0x5496c8;super(),this[_0x37014c(0x2e7)]=_0x115c8f,this[_0x37014c(0x33a)]=_0x406270,this['_init']();}[_0x5496c8(0x21d)](){const _0x37d38f=_0x5496c8,_0x5c8064=this;this[_0x37d38f(0x18f)](this['_docClipboardService'][_0x37d38f(0x2d7)]({'onBeforePasteImage':async _0x286af3=>{const _0x4b1373=_0x37d38f,_0x5c6204=await _0x5c8064[_0x4b1373(0x33a)][_0x4b1373(0x358)](_0x286af3);return _0x5c6204?{'source':_0x5c6204[_0x4b1373(0x225)],'imageSourceType':_0x5c6204[_0x4b1373(0x215)]}:null;}}));}};Ne=li([Je(0x0,_0x577536),Je(0x1,_0x2a2252)],Ne);const Ze=[_0x5496c8(0x208),'jiqing.500','green.600',_0x5496c8(0x2e9),_0x5496c8(0x36b),_0x5496c8(0x1be)];class ke extends _0x192abb{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x54c0d4){const _0x35f1f7=_0x5496c8;if(this[_0x35f1f7(0x1a3)][_0x35f1f7(0x2aa)](_0x54c0d4))return this[_0x35f1f7(0x1a3)]['get'](_0x54c0d4);const _0x11424a=Ze[this[_0x35f1f7(0x388)]];return this[_0x35f1f7(0x388)]=(this['_colorIndex']+0x1)%Ze[_0x35f1f7(0x2dc)],this[_0x35f1f7(0x1a3)][_0x35f1f7(0x2b6)](_0x54c0d4,_0x11424a),_0x11424a;}}function Tt(_0x204ed5){const _0xfe6802=_0x5496c8;let _0x3df125='';for(const _0x1ed134 of _0x204ed5){const {startOffset:_0x247d7a,endOffset:_0x5daecd,isActive:_0x1563f9,rangeType:_0x157334,segmentId:_0x1432c6,segmentPage:_0x2af4d3}=_0x1ed134;_0x3df125[_0xfe6802(0x2dc)]&&(_0x3df125+=','),_0x3df125+=_0x247d7a+':'+_0x5daecd+':'+(_0x1563f9?'1':'0')+':'+_0x157334+':'+_0x1432c6+':'+_0x2af4d3;}return _0x3df125;}function _i(_0xc5fec2){const _0x39a9d2=_0x5496c8,_0x469e02=_0xc5fec2['split'](','),_0x367922=[];for(const _0x28c683 of _0x469e02){const [_0x54723f,_0x37a88f,_0x1c17f9,_0x328ce6,_0x68d046,_0x488669]=_0x28c683['split'](':');_0x367922[_0x39a9d2(0x2fc)]({'startOffset':Number(_0x54723f),'endOffset':Number(_0x37a88f),'collapsed':_0x54723f===_0x37a88f,'isActive':_0x1c17f9==='1','rangeType':_0x328ce6===_0xe9b024[_0x39a9d2(0x280)]?_0xe9b024[_0x39a9d2(0x280)]:_0xe9b024[_0x39a9d2(0x1f0)],'segmentId':typeof _0x68d046==_0x39a9d2(0x32f)?String(_0x68d046):'','segmentPage':Number(_0x488669!=null?_0x488669:-0x1)});}return _0x367922[_0x39a9d2(0x1a8)](_0x44abec=>_0x44abec[_0x39a9d2(0x37b)])||(_0x367922[0x0]['isActive']=!0x0),_0x367922;}class He extends _0x2d29f3{constructor(){const _0x24c7a8=_0x5496c8;super(...arguments),_(this,_0x24c7a8(0x1b7),new _0x4033d5(null)),_(this,_0x24c7a8(0x19c),this[_0x24c7a8(0x1b7)][_0x24c7a8(0x1d2)]());}[_0x5496c8(0x2b2)](_0x54588a){const _0x45a5e2=_0x5496c8,{unitID:_0x2c60cd,memberID:_0x1d9f0f,textRanges:_0x294af9}=_0x54588a,_0x358524=Tt(_0x294af9);if(_0x358524==='')return;const _0x22da73={'unitID':_0x2c60cd,'memberID':_0x1d9f0f,'selection':_0x358524};this[_0x45a5e2(0x1b7)][_0x45a5e2(0x2f8)](_0x22da73);}}var hi=Object[_0x5496c8(0x1cb)],ui=(_0x5d3c96,_0x5f2f85,_0x4ddc03,_0x5ce599)=>{const _0x432576=_0x5496c8;for(var _0x19ab15=_0x5ce599>0x1?void 0x0:_0x5ce599?hi(_0x5f2f85,_0x4ddc03):_0x5f2f85,_0x350cb3=_0x5d3c96[_0x432576(0x2dc)]-0x1,_0x53af82;_0x350cb3>=0x0;_0x350cb3--)(_0x53af82=_0x5d3c96[_0x350cb3])&&(_0x19ab15=_0x53af82(_0x19ab15)||_0x19ab15);return _0x19ab15;},P=(_0x3695d5,_0x36c4a7)=>(_0x328dbc,_0x210b00)=>_0x36c4a7(_0x328dbc,_0x210b00,_0x3695d5);const di=0x12c,fi=0x64;let Ue=class extends _0x2d29f3{constructor(_0x3f7fc0,_0x5a1a5f,_0x388ba3,_0x198ea9,_0x2d5751,_0xab478,_0x2ebc81,_0x510309,_0x5c51c4){const _0xa09110=_0x5496c8;super(),_(this,_0xa09110(0x230),!0x1),_(this,_0xa09110(0x21d),!0x1),_(this,_0xa09110(0x385),new _0x4033d5(new Map())),_(this,_0xa09110(0x38c),this[_0xa09110(0x385)]['asObservable']()),_(this,'_roomMembers$',new _0x4033d5([])),_(this,'roomMembers$',this['_roomMembers$'][_0xa09110(0x394)](_0x5a6a6c(di))),_(this,_0xa09110(0x1a1),_0x14767a(_0x4c2334=>{const _0xdc9996=_0xa09110,_0x271404={'eventID':_0x5d9723[_0xdc9996(0x25d)],'data':{'unitID':this[_0xdc9996(0x368)],'memberID':this[_0xdc9996(0x209)][_0xdc9996(0x379)](),'selection':Tt(_0x4c2334)}};this['_session']['send'](_0x271404,this[_0xdc9996(0x368)]);},fi)),(this[_0xa09110(0x368)]=_0x3f7fc0,this[_0xa09110(0x209)]=_0x5a1a5f,this[_0xa09110(0x233)]=_0x388ba3,this[_0xa09110(0x192)]=_0x198ea9,this[_0xa09110(0x293)]=_0x2d5751,this[_0xa09110(0x212)]=_0xab478,this[_0xa09110(0x32a)]=_0x2ebc81,this[_0xa09110(0x205)]=_0x510309,this[_0xa09110(0x224)]=_0x5c51c4);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5496c8(0x1cf)](){const _0xed1fc3=_0x5496c8;return this[_0xed1fc3(0x238)]['getValue']();}[_0x5496c8(0x359)](){const _0x12da26=_0x5496c8;super[_0x12da26(0x359)](),this['_cursorInfo$'][_0x12da26(0x2f8)](new Map()),this[_0x12da26(0x385)]['complete'](),this[_0x12da26(0x238)]['next']([]),this[_0x12da26(0x238)][_0x12da26(0x297)]();}[_0x5496c8(0x2df)](){const _0x4d89e0=_0x5496c8;this[_0x4d89e0(0x21d)]||(this[_0x4d89e0(0x21d)]=!0x0,this['_session'][_0x4d89e0(0x37c)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0xd0f99d=>{const _0x5c38b6=_0x4d89e0;_0xd0f99d===_0x129f6f[_0x5c38b6(0x347)]?this[_0x5c38b6(0x1ab)]():this[_0x5c38b6(0x1e1)]();}),this[_0x4d89e0(0x209)][_0x4d89e0(0x31b)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0x4584b0=>{const _0x596fd6=_0x4d89e0,_0x223c54=_0x4584b0['eventID'];_0x223c54===_0x5d9723['UPDATE_CURSOR']&&this[_0x596fd6(0x244)](_0x4584b0),_0x223c54===_0x5d9723[_0x596fd6(0x37a)]&&this[_0x596fd6(0x36a)](_0x4584b0);}),this[_0x4d89e0(0x18f)](this[_0x4d89e0(0x224)][_0x4d89e0(0x321)](_0x95ab5b=>{const _0x2e315d=_0x4d89e0,_0x164565=_0x95ab5b[_0x2e315d(0x31f)];_0x164565!=null&&this[_0x2e315d(0x230)]&&_0x95ab5b['id']===_0x2e3a9d['id']&&_0x164565[_0x2e315d(0x200)]===this[_0x2e315d(0x368)]&&_0x164565[_0x2e315d(0x26b)]===!0x1&&_0x164565[_0x2e315d(0x1c6)]['length']>0x0&&this[_0x2e315d(0x1a1)](_0x164565['ranges']);})),this['_syncEditingCollabCursorService'][_0x4d89e0(0x19c)]['pipe'](_0x2926d6(this[_0x4d89e0(0x18b)]))[_0x4d89e0(0x334)](_0x57193a=>{const _0x34c1e8=_0x4d89e0;if((_0x57193a==null?void 0x0:_0x57193a['unitID'])!==this[_0x34c1e8(0x368)])return;const _0x354522={'eventID':_0x5d9723[_0x34c1e8(0x25d)],'data':_0x57193a};this[_0x34c1e8(0x244)](_0x354522);}),this[_0x4d89e0(0x18f)](this[_0x4d89e0(0x224)][_0x4d89e0(0x321)](_0x13f4b4=>{const _0x5ecc29=_0x4d89e0;if(_0x13f4b4[_0x5ecc29(0x31f)]==null)return;const _0x2c4c3d=_0x13f4b4['params'];if(_0x13f4b4['id']!==_0x409b92['id']||_0x2c4c3d[_0x5ecc29(0x200)]!==this[_0x5ecc29(0x368)])return;const _0x26eef6={'id':_0x5ecc29(0x383),'params':_0x2c4c3d},_0x3e6e25=this[_0x5ecc29(0x23c)];for(const [_0x4bd5c1,_0x16ce0a]of _0x3e6e25){const _0x2a4b84={'id':_0x5ecc29(0x383),'params':{'unitId':this[_0x5ecc29(0x368)],'actions':null,'textRanges':_0x16ce0a[_0x5ecc29(0x1c6)]}},_0x2aef92=this[_0x5ecc29(0x32a)][_0x5ecc29(0x1e0)](_0x26eef6,_0x2a4b84,!0x1);if(_0x5f1a7f(_0x2aef92))throw _0x2aef92['error'];_0x3e6e25[_0x5ecc29(0x2b6)](_0x4bd5c1,{..._0x16ce0a,'ranges':_0x2aef92[_0x5ecc29(0x2a8)][_0x5ecc29(0x31f)][_0x5ecc29(0x289)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3e6e25);});})));}[_0x5496c8(0x244)](_0x15926a){const _0x83dd9f=_0x5496c8;var _0xbe0f01,_0x3bce0a;const {memberID:_0x2fc17b,selection:_0x21e25b}=_0x15926a[_0x83dd9f(0x1c3)],_0x330558=_i(_0x21e25b),_0x75adc4=(_0x3bce0a=(_0xbe0f01=this[_0x83dd9f(0x293)]['getMember'](this[_0x83dd9f(0x368)],_0x2fc17b))==null?void 0x0:_0xbe0f01[_0x83dd9f(0x187)])!=null?_0x3bce0a:'Unknown\x20user',_0x5b465d={'color':this[_0x83dd9f(0x192)][_0x83dd9f(0x2ea)](_0x2fc17b),'name':_0x75adc4,'ranges':_0x330558},_0x36a0c9=this[_0x83dd9f(0x23c)];_0x36a0c9[_0x83dd9f(0x2b6)](_0x2fc17b,_0x5b465d),this['_cursorInfo$']['next'](_0x36a0c9);}[_0x5496c8(0x36a)](_0x1f9537){const _0x36f1ec=_0x5496c8,{memberID:_0x4a51b9}=_0x1f9537['data'],_0x40cbcd=this[_0x36f1ec(0x23c)];_0x40cbcd[_0x36f1ec(0x2a2)](_0x4a51b9),this['_cursorInfo$'][_0x36f1ec(0x2f8)](_0x40cbcd);}[_0x5496c8(0x1ab)](){const _0x7709a9=_0x5496c8;var _0x1f9ff1;if(this[_0x7709a9(0x230)]=!0x0,((_0x1f9ff1=this[_0x7709a9(0x205)][_0x7709a9(0x263)]())==null?void 0x0:_0x1f9ff1[_0x7709a9(0x237)]())!==this[_0x7709a9(0x368)])return;const _0x1f77fe=this[_0x7709a9(0x233)][_0x7709a9(0x1fb)](_0x41a6af)[_0x7709a9(0x2ab)]();Array['isArray'](_0x1f77fe)&&_0x1f77fe[_0x7709a9(0x2dc)]>0x0&&this[_0x7709a9(0x1a1)](_0x1f77fe);}[_0x5496c8(0x1e1)](){const _0x1acbd4=_0x5496c8;this[_0x1acbd4(0x230)]=!0x1;}};Ue=ui([P(0x2,_0x3809cb(_0x23463c)),P(0x3,_0x3809cb(ke)),P(0x4,_0x3809cb(_0x43aa5d)),P(0x5,_0x3809cb(He)),P(0x6,_0x230ef4),P(0x7,_0x46dfe1),P(0x8,_0x316b08)],Ue);var Si=Object[_0x5496c8(0x1cb)],mi=(_0x52cced,_0x9bbb78,_0x59f72d,_0x7e2840)=>{for(var _0x1eff11=_0x7e2840>0x1?void 0x0:_0x7e2840?Si(_0x9bbb78,_0x59f72d):_0x9bbb78,_0x55bd81=_0x52cced['length']-0x1,_0x4e4db2;_0x55bd81>=0x0;_0x55bd81--)(_0x4e4db2=_0x52cced[_0x55bd81])&&(_0x1eff11=_0x4e4db2(_0x1eff11)||_0x1eff11);return _0x1eff11;},x=(_0x12a9d4,_0x42ce52)=>(_0xca9757,_0x141d5e)=>_0x42ce52(_0xca9757,_0x141d5e,_0x12a9d4);const Ii=0x12c,gi=0x64,vi=()=>{let _0x4f325a=[],_0x129197=!0x1;return _0x487aa8=>{const _0x4e79b0=_0x6cac;_0x4f325a[_0x4e79b0(0x2fc)](_0x487aa8),_0x129197||(_0x129197=!0x0,setTimeout(()=>{const _0x1ec256=_0x4e79b0;_0x4f325a[_0x1ec256(0x34d)](_0x40ea48=>_0x40ea48()),_0x4f325a=[],_0x129197=!0x1;}));};};let Me=class extends _0x2d29f3{constructor(_0x592f48,_0x1aa77c,_0x48851b,_0x488601,_0x3c976a,_0x3147ca,_0x3d86e9,_0x434a36){const _0x29386d=_0x5496c8;super(),_(this,_0x29386d(0x230),!0x1),_(this,_0x29386d(0x21d),!0x1),_(this,_0x29386d(0x385),new _0x4033d5(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x29386d(0x1d2)]()),_(this,_0x29386d(0x238),new _0x4033d5([])),_(this,_0x29386d(0x2cb),this[_0x29386d(0x238)][_0x29386d(0x394)](_0x5a6a6c(Ii))),_(this,_0x29386d(0x1a1),_0x14767a((_0xbb44e5,_0xed5586)=>{const _0x3c1100=_0x29386d,_0x445a29={'eventID':_0x5d9723[_0x3c1100(0x25d)],'data':{'unitID':this['unitID'],'memberID':this[_0x3c1100(0x209)]['getMemberID'](),'selection':_0x2399d5(_0xbb44e5,_0xed5586[_0x3c1100(0x29c)])}};this['_session'][_0x3c1100(0x251)](_0x445a29,this[_0x3c1100(0x368)]);},gi)),(this['unitID']=_0x592f48,this['_session']=_0x1aa77c,this['_injector']=_0x48851b,this[_0x29386d(0x192)]=_0x488601,this[_0x29386d(0x293)]=_0x3c976a,this[_0x29386d(0x205)]=_0x3147ca,this[_0x29386d(0x224)]=_0x3d86e9,this['_refRangeService']=_0x434a36);}get[_0x5496c8(0x23c)](){const _0x45ada5=_0x5496c8;return this['_cursorInfo$'][_0x45ada5(0x24e)]();}get[_0x5496c8(0x1cf)](){const _0x23217c=_0x5496c8;return this[_0x23217c(0x238)]['getValue']();}[_0x5496c8(0x359)](){const _0x175db1=_0x5496c8;super[_0x175db1(0x359)](),this[_0x175db1(0x385)][_0x175db1(0x2f8)](new Map()),this[_0x175db1(0x385)][_0x175db1(0x297)](),this[_0x175db1(0x238)][_0x175db1(0x2f8)]([]),this[_0x175db1(0x238)]['complete']();}[_0x5496c8(0x2df)](){const _0x8b6a94=_0x5496c8;this[_0x8b6a94(0x21d)]||(this[_0x8b6a94(0x21d)]=!0x0,this[_0x8b6a94(0x209)][_0x8b6a94(0x37c)][_0x8b6a94(0x394)](_0x2926d6(this['dispose$']))[_0x8b6a94(0x334)](_0x41da9a=>{const _0x27cd47=_0x8b6a94;_0x41da9a===_0x129f6f['ONLINE']?this[_0x27cd47(0x1ab)]():this[_0x27cd47(0x1e1)]();}),this[_0x8b6a94(0x209)][_0x8b6a94(0x31b)][_0x8b6a94(0x394)](_0x2926d6(this[_0x8b6a94(0x18b)]))[_0x8b6a94(0x334)](_0x1823fc=>{const _0x16f910=_0x8b6a94,_0x40dc55=_0x1823fc[_0x16f910(0x2d0)];_0x40dc55===_0x5d9723['UPDATE_CURSOR']&&this[_0x16f910(0x244)](_0x1823fc),_0x40dc55===_0x5d9723['USERS_LEAVE']&&this[_0x16f910(0x36a)](_0x1823fc);}),this[_0x8b6a94(0x2d6)](),this[_0x8b6a94(0x18f)](this[_0x8b6a94(0x224)][_0x8b6a94(0x321)](_0xc2581a=>{const _0x26f2f1=_0x8b6a94;if(this[_0x26f2f1(0x230)]&&_0xc2581a['id']===_0x23e01c['id']&&_0xc2581a[_0x26f2f1(0x31f)][_0x26f2f1(0x200)]===this['unitID']){const _0x12291a=_0xc2581a[_0x26f2f1(0x31f)];this[_0x26f2f1(0x1a1)](_0x12291a[_0x26f2f1(0x1b9)],_0x12291a[_0x26f2f1(0x389)][0x0]);}})));}[_0x5496c8(0x244)](_0x5e87c8){const _0x2f363d=_0x5496c8;var _0x4d339a,_0x1c03e9;const {memberID:_0x576d27,selection:_0x5f5b2c}=_0x5e87c8[_0x2f363d(0x1c3)],{sheetName:_0x22f8ba,range:_0x471d2e}=_0x5d8c15(_0x5f5b2c),_0x40b78b={'name':(_0x1c03e9=(_0x4d339a=this['_memberService'][_0x2f363d(0x1d4)](this[_0x2f363d(0x368)],_0x576d27))==null?void 0x0:_0x4d339a[_0x2f363d(0x187)])!=null?_0x1c03e9:_0x2f363d(0x1b0),'range':this[_0x2f363d(0x273)](_0x22f8ba,_0x471d2e),'sheetID':_0x22f8ba,'color':this['_colorAssignService'][_0x2f363d(0x2ea)](_0x576d27),'selection':_0x5f5b2c},_0xc74b5b=this['cursorInfo'];_0xc74b5b[_0x2f363d(0x2b6)](_0x576d27,_0x40b78b),this[_0x2f363d(0x385)][_0x2f363d(0x2f8)](_0xc74b5b);}[_0x5496c8(0x36a)](_0xcdc06f){const _0x499e6a=_0x5496c8,{memberID:_0x22e599}=_0xcdc06f[_0x499e6a(0x1c3)],_0x23ea2b=this[_0x499e6a(0x23c)];_0x23ea2b[_0x499e6a(0x2a2)](_0x22e599),this['_cursorInfo$'][_0x499e6a(0x2f8)](_0x23ea2b);}['_getMergeRange'](_0x3abf02,_0xa60ce7){const _0x459c66=_0x5496c8;var _0x5098c0,_0x303c96;const _0xfbfa45=(_0x303c96=(_0x5098c0=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x5098c0[_0x459c66(0x1b1)](_0x3abf02))==null?void 0x0:_0x303c96[_0x459c66(0x1db)]();return(_0xfbfa45==null?void 0x0:_0xfbfa45[_0x459c66(0x250)](_0x2d3b72=>_0x104712[_0x459c66(0x29e)](_0x2d3b72,_0xa60ce7)))||_0xa60ce7;}['_onRefRangeChange'](){const _0x1876ec=_0x5496c8,_0x1a1c30=new _0x2db222(),_0x1c4db6=vi(),_0x41589e=()=>{const _0x1baffc=_0x6cac;_0x1a1c30[_0x1baffc(0x359)]();const _0x55d0a4=(_0x1199a1,_0x47f327,_0x562f77,_0x58f473)=>{const _0x40772e=_0x1baffc;let _0x4272b7=[];switch(_0x1199a1['id']){case _0x1dee37[_0x40772e(0x308)]:{_0x4272b7=_0x47dd03(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x26a)]:{_0x4272b7=_0x4204c2(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x22a)]:{_0x4272b7=_0x2163f3(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x2be)]:{_0x4272b7=_0x44b7bd(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x1e2)]:{_0x4272b7=_0x576c40(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x2bc)]:{_0x4272b7=_0x1333ff(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x218)]:{_0x4272b7=_0x5d6335(_0x1199a1,_0x58f473);break;}case _0x1dee37['RemoveColCommandId']:{_0x4272b7=_0xa52e43(_0x1199a1,_0x58f473);break;}case _0x1dee37[_0x40772e(0x316)]:{_0x4272b7=_0x144700(_0x1199a1,_0x58f473);break;}}const _0x18a84e=_0x4d32ed(_0x4272b7,_0x58f473),_0x226f11=this['cursorInfo'][_0x40772e(0x1fb)](_0x47f327);if(_0x226f11&&_0x18a84e){const _0x3853f5={..._0x226f11,'range':_0x18a84e};this[_0x40772e(0x23c)][_0x40772e(0x2b6)](_0x47f327,_0x3853f5),_0x1c4db6(()=>{const _0x4d0a8a=_0x40772e,_0xb1292d=this[_0x4d0a8a(0x1b4)][_0x4d0a8a(0x2ce)](_0x18a84e,_0x4a22e0=>(_0xb1292d[_0x4d0a8a(0x359)](),_0x55d0a4(_0x4a22e0,_0x47f327,_0x562f77,_0x18a84e)));_0x1a1c30[_0x4d0a8a(0x286)](_0xb1292d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1baffc(0x34d)]((_0xb9cde4,_0x4b9650)=>{const _0x25bdc7=_0x1baffc,{range:_0x28304e,sheetID:_0x5d165e}=_0xb9cde4,_0x1eed35=this[_0x25bdc7(0x1b4)][_0x25bdc7(0x2ce)](_0x28304e,_0xc7e855=>(_0x1eed35[_0x25bdc7(0x359)](),_0x55d0a4(_0xc7e855,_0x4b9650,_0x5d165e,_0x28304e)));_0x1a1c30['add'](_0x1eed35);});};this['disposeWithMe'](_0x3ad409(this[_0x1876ec(0x385)][_0x1876ec(0x334)](()=>{_0x41589e();})));}['_toggleOnline'](){const _0x51518c=_0x5496c8;var _0x5b36d5,_0xc77654;if(this[_0x51518c(0x230)]=!0x0,((_0x5b36d5=this[_0x51518c(0x205)][_0x51518c(0x263)]())==null?void 0x0:_0x5b36d5[_0x51518c(0x237)]())!==this[_0x51518c(0x368)])return;const _0x5f3adb=(_0xc77654=this['_injector'][_0x51518c(0x1fb)](_0x1d4f82)[_0x51518c(0x227)]())==null?void 0x0:_0xc77654[0x0],_0x2072f6=this[_0x51518c(0x205)]['getCurrentUnitForType'](_0x2c4d43[_0x51518c(0x18e)])[_0x51518c(0x378)]();_0x5f3adb&&_0x2072f6&&this[_0x51518c(0x1a1)](_0x2072f6[_0x51518c(0x353)](),_0x5f3adb);}[_0x5496c8(0x1e1)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x3809cb(_0x23463c)),x(0x3,_0x3809cb(ke)),x(0x4,_0x3809cb(_0x43aa5d)),x(0x5,_0x46dfe1),x(0x6,_0x316b08),x(0x7,_0x3809cb(_0x3b6199))],Me);var pi=Object[_0x5496c8(0x1cb)],Ci=(_0x15a9c6,_0x17fd1c,_0x5bb0cd,_0x43ea17)=>{const _0x3a00b2=_0x5496c8;for(var _0x27307b=_0x43ea17>0x1?void 0x0:_0x43ea17?pi(_0x17fd1c,_0x5bb0cd):_0x17fd1c,_0x2cf0d1=_0x15a9c6[_0x3a00b2(0x2dc)]-0x1,_0xe28c2a;_0x2cf0d1>=0x0;_0x2cf0d1--)(_0xe28c2a=_0x15a9c6[_0x2cf0d1])&&(_0x27307b=_0xe28c2a(_0x27307b)||_0x27307b);return _0x27307b;},Se=(_0xe160b4,_0x2f0f4b)=>(_0x152868,_0x5cfe54)=>_0x2f0f4b(_0x152868,_0x5cfe54,_0xe160b4);let H=class extends _0x2d29f3{constructor(_0x14687e,_0xf53035,_0x3941d1){const _0x561137=_0x5496c8;super(),_(this,_0x561137(0x312),new Map()),_(this,_0x561137(0x204),new _0x32cec9()),(this[_0x561137(0x205)]=_0x14687e,this['_injector']=_0xf53035,this[_0x561137(0x20e)]=_0x3941d1,this['_init']());}[_0x5496c8(0x359)](){const _0x1958ae=_0x5496c8;super[_0x1958ae(0x359)](),this[_0x1958ae(0x204)][_0x1958ae(0x297)](),this[_0x1958ae(0x312)][_0x1958ae(0x34d)](_0x1957b6=>_0x1957b6[_0x1958ae(0x359)]());}['getCollabCursors$'](_0x234592){const _0x3c60d3=_0x5496c8;return this[_0x3c60d3(0x312)]['has'](_0x234592)?this[_0x3c60d3(0x312)][_0x3c60d3(0x1fb)](_0x234592)[_0x3c60d3(0x38c)]:this['_entityInit$']['pipe'](_0x2c0f64(_0x473c8b=>_0x473c8b[_0x3c60d3(0x368)]===_0x234592),_0x4de612(_0x3a2210=>_0x3a2210[_0x3c60d3(0x38c)]));}[_0x5496c8(0x21d)](){const _0x357d94=_0x5496c8;this[_0x357d94(0x205)][_0x357d94(0x346)](_0x2c4d43[_0x357d94(0x18e)])['pipe'](_0x2926d6(this[_0x357d94(0x18b)]))[_0x357d94(0x334)](async _0x537875=>{const _0x58d28c=_0x357d94,_0x1b06e0=_0x537875[_0x58d28c(0x237)](),_0x53be7f=await this[_0x58d28c(0x27a)](_0x1b06e0);this[_0x58d28c(0x204)][_0x58d28c(0x2f8)](_0x53be7f),this[_0x58d28c(0x312)]['set'](_0x1b06e0,_0x53be7f);}),this[_0x357d94(0x205)][_0x357d94(0x346)](_0x2c4d43[_0x357d94(0x371)])[_0x357d94(0x394)](_0x2926d6(this[_0x357d94(0x18b)]))['pipe'](_0x2c0f64(_0x4fceff=>!_0x4fceff['getUnitId']()[_0x357d94(0x2e8)]('__')))[_0x357d94(0x334)](async _0x46ed66=>{const _0x4e19cc=_0x357d94,_0xa2b4c2=_0x46ed66[_0x4e19cc(0x237)](),_0x2d3a7c=await this['_startDocCollabCursor'](_0xa2b4c2);this['_entityInit$'][_0x4e19cc(0x2f8)](_0x2d3a7c),this[_0x4e19cc(0x312)][_0x4e19cc(0x2b6)](_0xa2b4c2,_0x2d3a7c);}),_0x47f7dd(this[_0x357d94(0x205)]['getTypeOfUnitDisposed$'](_0x2c4d43[_0x357d94(0x371)]),this[_0x357d94(0x205)][_0x357d94(0x2e0)](_0x2c4d43[_0x357d94(0x18e)]))[_0x357d94(0x394)](_0x2926d6(this['dispose$']))[_0x357d94(0x334)](_0x4ad642=>{const _0x17c34a=_0x357d94,_0x42ddf0=_0x4ad642[_0x17c34a(0x237)](),_0x2527b7=this[_0x17c34a(0x312)][_0x17c34a(0x1fb)](_0x42ddf0);_0x2527b7&&(_0x2527b7[_0x17c34a(0x359)](),this[_0x17c34a(0x312)][_0x17c34a(0x2a2)](_0x42ddf0));});}async[_0x5496c8(0x27a)](_0x233e4f){const _0x3546bf=_0x5496c8,_0x1834e4=await this[_0x3546bf(0x20e)]['requireSession'](_0x233e4f),_0x398769=this[_0x3546bf(0x233)][_0x3546bf(0x1c2)](Me,_0x233e4f,_0x1834e4);return _0x398769[_0x3546bf(0x2df)](),_0x398769;}async[_0x5496c8(0x19b)](_0x5b2455){const _0x3534e5=_0x5496c8,_0x578d5c=await this[_0x3534e5(0x20e)][_0x3534e5(0x2c0)](_0x5b2455),_0x26d6f2=this['_injector'][_0x3534e5(0x1c2)](Ue,_0x5b2455,_0x578d5c);return _0x26d6f2[_0x3534e5(0x2df)](),_0x26d6f2;}};H=Ci([Se(0x0,_0x46dfe1),Se(0x1,_0x3809cb(_0x23463c)),Se(0x2,_0x3809cb(_0x1a4927))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x26dd32,_0xfbe0db){const _0x2af12d=_0x5496c8;let {radius:_0x2c490b,width:_0x31aaec,height:_0xa274f7}=_0xfbe0db;_0x2c490b=_0x2c490b!=null?_0x2c490b:0x0,_0x31aaec=_0x31aaec!=null?_0x31aaec:0x1e,_0xa274f7=_0xa274f7!=null?_0xa274f7:0x1e;let _0x2caaab=0x0,_0x525104=0x0,_0x18c2fe=0x0;_0x2caaab=_0x525104=_0x18c2fe=Math['min'](_0x2c490b,_0x31aaec/0x2,_0xa274f7/0x2),_0x26dd32[_0x2af12d(0x36c)](),_0x26dd32[_0x2af12d(0x364)](_0x2caaab,0x0),_0x26dd32[_0x2af12d(0x323)](_0x31aaec-_0x525104,0x0),_0x26dd32[_0x2af12d(0x33b)](_0x31aaec-_0x525104,_0x525104,_0x525104,Math['PI']*0x3/0x2,0x0,!0x1),_0x26dd32[_0x2af12d(0x323)](_0x31aaec,_0xa274f7-_0x18c2fe),_0x26dd32[_0x2af12d(0x33b)](_0x31aaec-_0x18c2fe,_0xa274f7-_0x18c2fe,_0x18c2fe,0x0,Math['PI']/0x2,!0x1),_0x26dd32[_0x2af12d(0x323)](0x0,_0xa274f7),_0x26dd32[_0x2af12d(0x323)](0x0,_0x2caaab),_0x26dd32[_0x2af12d(0x33b)](_0x2caaab,_0x2caaab,_0x2caaab,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x26dd32[_0x2af12d(0x2f3)](),_0xfbe0db['fill']&&(_0x26dd32['save'](),_0x26dd32[_0x2af12d(0x32d)]=_0xfbe0db[_0x2af12d(0x1f7)],_0xfbe0db['fillRule']===_0x2af12d(0x1f8)?_0x26dd32[_0x2af12d(0x1f7)](_0x2af12d(0x1f8)):_0x26dd32[_0x2af12d(0x1f7)](),_0x26dd32[_0x2af12d(0x1d9)]());}class he extends _0x2eab77{constructor(_0xc1de1a,_0x17239d){const _0x55b4dd=_0x5496c8;super(_0xc1de1a,_0x17239d),_(this,_0x55b4dd(0x23b)),_(this,_0x55b4dd(0x213)),(this[_0x55b4dd(0x23b)]=_0x17239d==null?void 0x0:_0x17239d[_0x55b4dd(0x23b)],this[_0x55b4dd(0x213)]=_0x17239d==null?void 0x0:_0x17239d[_0x55b4dd(0x213)]);}static['drawWith'](_0x58c3d3,_0x120b84){const _0xccfd37=_0x5496c8,{text:_0x52daba,color:_0x3abd77}=_0x120b84;_0x58c3d3[_0xccfd37(0x1ae)](),_0x58c3d3['font']=_0xccfd37(0x36f);const _0x346854=_0x58c3d3['measureText'](_0x52daba)[_0xccfd37(0x336)],_0x2f266c=Math[_0xccfd37(0x38e)](_0x346854+0x2*me,Qe);Oi(_0x58c3d3,{'height':ee,'radius':0x4,'width':_0x2f266c,'fill':_0x3abd77}),_0x58c3d3[_0xccfd37(0x32d)]=_0xccfd37(0x28c);const _0x374d99=me,_0xdb19fa=ee-Ei,_0x35e22f=Qe-0x2*me;if(_0x346854>_0x35e22f){let _0x379bbe='',_0x17fc75=0x0;for(const _0x142abb of _0x52daba){const _0x1fa298=_0x58c3d3['measureText'](_0x142abb)[_0xccfd37(0x336)];if(_0x17fc75+_0x1fa298<=_0x35e22f-_0x58c3d3[_0xccfd37(0x1ba)]('...')['width'])_0x379bbe+=_0x142abb,_0x17fc75+=_0x1fa298;else{_0x379bbe+=_0xccfd37(0x1fd);break;}}_0x58c3d3[_0xccfd37(0x276)](_0x379bbe,_0x374d99,_0xdb19fa);}else _0x58c3d3['fillText'](_0x52daba,_0x374d99,_0xdb19fa);_0x58c3d3[_0xccfd37(0x1d9)]();}[_0x5496c8(0x258)](_0xfadbb5){const _0x2239e3=_0x5496c8;he[_0x2239e3(0x365)](_0xfadbb5,this);}}const Ie=_0x5496c8(0x203),bi='collab-text-range-',Ti=_0x5496c8(0x27c),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x304099,_0x484fbe,_0x463f6d,_0x4cd727){const _0x71536c=_0x5496c8;_(this,_0x71536c(0x2fd),[]),_(this,'_anchor',null),_(this,_0x71536c(0x2cc),null),_(this,_0x71536c(0x38a),null),_(this,_0x71536c(0x275),null),_(this,_0x71536c(0x30a),null),(this[_0x71536c(0x384)]=_0x304099,this['_scene']=_0x484fbe,this[_0x71536c(0x2a4)]=_0x463f6d,this[_0x71536c(0x2d3)]=_0x4cd727,this[_0x71536c(0x21a)]());}set['_hover'](_0xb69697){const _0x5412a6=_0x5496c8;_0xb69697?(this[_0x5412a6(0x38a)]&&this[_0x5412a6(0x38a)][_0x5412a6(0x300)](),this['_textBubble']&&this[_0x5412a6(0x2cc)]['show']()):(this['_anchorDot']&&this[_0x5412a6(0x38a)][_0x5412a6(0x24a)](),this[_0x5412a6(0x2cc)]&&this[_0x5412a6(0x2cc)]['hide']());}[_0x5496c8(0x359)](){const _0x19ac85=_0x5496c8;for(const _0x308b6b of this[_0x19ac85(0x2fd)])_0x308b6b[_0x19ac85(0x359)]();this['_textBubble']&&this['_textBubble'][_0x19ac85(0x359)](),this[_0x19ac85(0x38a)]&&this[_0x19ac85(0x38a)][_0x19ac85(0x359)](),this[_0x19ac85(0x24b)]&&this['_anchor'][_0x19ac85(0x359)](),this[_0x19ac85(0x30a)]&&this[_0x19ac85(0x30a)]();}[_0x5496c8(0x21a)](){const _0x10e425=_0x5496c8;var _0x2badc5;const {_docSkeleton:_0x2ce299,_document:_0x25c413}=this,{color:_0x56d6fb,name:_0x13df8f,ranges:_0x487d5b}=this[_0x10e425(0x384)],_0x3eb6d8=_0x25c413[_0x10e425(0x2a0)](),{docsLeft:_0x4cccb9,docsTop:_0x1686d2}=_0x3eb6d8,_0x3a142c=new _0x4a08ca(_0x3eb6d8,_0x2ce299);for(const {startOffset:_0x28296a,endOffset:_0x5adc53,rangeType:_0x394a13,segmentId:_0xd343d9,segmentPage:_0x253e38,collapsed:_0x1a06e5,isActive:_0xb0f73a}of _0x487d5b){const _0x2f471e=_0x2ce299[_0x10e425(0x2e4)](_0x28296a,!0x0,_0xd343d9,_0x253e38);let _0x2e5642=_0x2ce299[_0x10e425(0x2e4)](_0x5adc53,!0x0,_0xd343d9,_0x253e38);if(_0x2e5642==null&&(_0x2e5642=_0x2ce299['findNodePositionByCharIndex'](_0x5adc53-0x1,!0x1,_0xd343d9,_0x253e38)),_0xb0f73a){const {contentBoxPointGroup:_0x152e6b}=_0x3a142c[_0x10e425(0x2e2)](_0x2e5642,_0x2e5642);if(_0x152e6b[_0x10e425(0x2dc)]===0x0)continue;this[_0x10e425(0x2da)](_0x56d6fb,_0x152e6b,_0x4cccb9,_0x1686d2,_0x13df8f),this[_0x10e425(0x30a)]=this[_0x10e425(0x20c)]();}if(_0x2f471e&&_0x2e5642){if(_0x394a13===_0xe9b024[_0x10e425(0x1f0)]){const _0x1644de=new _0x185494(_0x3eb6d8,_0x2ce299),{pointGroup:_0x1ba63b}=(_0x2badc5=_0x1644de[_0x10e425(0x2e2)](_0x2f471e,_0x2e5642))!=null?_0x2badc5:{};if(_0x1ba63b==null||_0x1ba63b['length']===0x0)continue;this[_0x10e425(0x247)](_0x56d6fb,_0x1ba63b,_0x4cccb9,_0x1686d2);}else{if(!_0x1a06e5){const {borderBoxPointGroup:_0x9ba0b6}=_0x3a142c[_0x10e425(0x2e2)](_0x2f471e,_0x2e5642);if(_0x9ba0b6[_0x10e425(0x2dc)]===0x0)continue;this['_drawTextRange'](_0x56d6fb,_0x9ba0b6,_0x4cccb9,_0x1686d2);}}}}}[_0x5496c8(0x2da)](_0x3c86b9,_0x1daa1a,_0x253cd0,_0x129b7f,_0x601039){const _0x56009d=_0x5496c8,_0x4a7e00=this[_0x56009d(0x304)](_0x1daa1a),{left:_0x380535,top:_0x16227a,height:_0x424e95}=_0x4a7e00,_0x4b40c4=this['_getScale'](),_0x4398a9=Di/_0x4b40c4,_0x32707d=new _0x2a40d6(Ie+_0x2ae11c['generateRandomId'](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f,'height':_0x424e95,'width':Ri,'fill':_0x3c86b9||_0x5f45b9(_0x26d74c['black'],0x0),'strokeWidth':_0x4398a9,'stroke':Ni,'evented':!0x0});this[_0x56009d(0x24b)]=_0x32707d,this[_0x56009d(0x1b6)][_0x56009d(0x288)](_0x32707d,_0x28d7cc);const _0x2275c9=new _0x2a40d6(Ie+_0x2ae11c['generateRandomId'](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f-ge/0x2,'height':ge,'width':ge,'fill':_0x3c86b9||_0x5f45b9(_0x26d74c['black'],0x0),'strokeWidth':0x0,'stroke':_0x3c86b9||_0x5f45b9(_0x26d74c[_0x56009d(0x221)],0x0),'evented':!0x1});this[_0x56009d(0x38a)]=_0x2275c9,this[_0x56009d(0x1b6)][_0x56009d(0x288)](_0x2275c9,_0x28d7cc);const _0x2eac48=new he(Ie+_0x2ae11c[_0x56009d(0x27e)](X),{'left':_0x380535+_0x253cd0-_0x4398a9,'top':_0x16227a+_0x129b7f-ee,'text':_0x601039,'color':_0x3c86b9});this[_0x56009d(0x2cc)]=_0x2eac48,this[_0x56009d(0x1b6)]['addObject'](_0x2eac48,_0x28d7cc),this['_hover']=!0x1;}[_0x5496c8(0x20c)](){const _0x4648cd=_0x5496c8,_0x481429=this[_0x4648cd(0x24b)][_0x4648cd(0x267)]['subscribeEvent'](()=>{const _0x5490e0=_0x4648cd;this[_0x5490e0(0x23e)]=!0x0;}),_0x86b901=this[_0x4648cd(0x24b)][_0x4648cd(0x2fe)]['subscribeEvent'](()=>{const _0x90563f=_0x4648cd;this['_hideTimer']&&clearTimeout(this[_0x90563f(0x275)]),this[_0x90563f(0x275)]=setTimeout(()=>{const _0x11891c=_0x90563f;this[_0x11891c(0x23e)]=!0x1;},0x7d0);});return()=>{const _0x2d2b3f=_0x4648cd;_0x481429[_0x2d2b3f(0x1e9)](),_0x86b901[_0x2d2b3f(0x1e9)]();};}['_drawTextRange'](_0x4058a8,_0x5b508c,_0x4ce319,_0x214ac1){const _0x2485aa=_0x5496c8,_0x11e6b2=new _0x3014a8(_0x4058a8)['setAlpha'](0.2)[_0x2485aa(0x2c7)](),_0x1adedb=new _0x10ee4c(bi+_0x2ae11c['generateRandomId'](X),{'pointsGroup':_0x5b508c,'fill':_0x11e6b2||_0x5f45b9(_0x26d74c[_0x2485aa(0x221)],0.2),'left':_0x4ce319,'top':_0x214ac1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2485aa(0x2fd)][_0x2485aa(0x2fc)](_0x1adedb),this[_0x2485aa(0x1b6)][_0x2485aa(0x288)](_0x1adedb,_0x28d7cc);}[_0x5496c8(0x247)](_0xab79e,_0x2fafc4,_0x79e368,_0x389a9d){const _0x4c5b40=_0x5496c8,_0x9d5faf=new _0x3014a8(_0xab79e)['setAlpha'](0.2)[_0x4c5b40(0x2c7)](),_0x454012=new _0x10ee4c(Ti+_0x2ae11c[_0x4c5b40(0x27e)](X),{'pointsGroup':_0x2fafc4,'fill':_0x9d5faf||_0x5f45b9(_0x26d74c['black'],0.2),'left':_0x79e368,'top':_0x389a9d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c5b40(0x2fd)][_0x4c5b40(0x2fc)](_0x454012),this['_scene'][_0x4c5b40(0x288)](_0x454012,_0x28d7cc);}[_0x5496c8(0x304)](_0x228175){const _0x3f0fcd=_0x228175[0x0],_0x2249e9=_0x3f0fcd[0x0],_0x4243c9=_0x3f0fcd[0x2],{x:_0x4d3bdf,y:_0x381486}=_0x2249e9,{x:_0x3d5dde,y:_0x13ab79}=_0x4243c9;return{'left':_0x4d3bdf,'top':_0x381486,'width':_0x3d5dde-_0x4d3bdf,'height':_0x13ab79-_0x381486};}[_0x5496c8(0x19d)](){const _0xa49903=_0x5496c8,{scaleX:_0x282dc9,scaleY:_0x116c5a}=this[_0xa49903(0x1b6)]['getAncestorScale']();return Math[_0xa49903(0x2b0)](_0x282dc9,_0x116c5a);}}var Ui=Object[_0x5496c8(0x1cb)],Mi=(_0x27fb80,_0x5a65fb,_0x3cda7e,_0x4a3e50)=>{for(var _0xef9a79=_0x4a3e50>0x1?void 0x0:_0x4a3e50?Ui(_0x5a65fb,_0x3cda7e):_0x5a65fb,_0x18e63d=_0x27fb80['length']-0x1,_0x3ffb86;_0x18e63d>=0x0;_0x18e63d--)(_0x3ffb86=_0x27fb80[_0x18e63d])&&(_0xef9a79=_0x3ffb86(_0xef9a79)||_0xef9a79);return _0xef9a79;},Z=(_0x47f9a4,_0x37ac79)=>(_0x18af66,_0x106b8c)=>_0x37ac79(_0x18af66,_0x106b8c,_0x47f9a4);let Le=class extends _0x2d29f3{constructor(_0x5862fb,_0xde1ae3,_0x136039,_0x1d5717,_0x3484db){const _0x299ca5=_0x5496c8;super(),_(this,'_cursorShapes',[]),_(this,_0x299ca5(0x1c9),[]),(this[_0x299ca5(0x2b7)]=_0x5862fb,this[_0x299ca5(0x235)]=_0xde1ae3,this['_collabCursorController']=_0x136039,this[_0x299ca5(0x224)]=_0x1d5717,this[_0x299ca5(0x319)]=_0x3484db,this[_0x299ca5(0x21d)]());}[_0x5496c8(0x21d)](){const _0x32d38c=_0x5496c8,_0x1f6dc8=this[_0x32d38c(0x2b7)][_0x32d38c(0x200)],_0x220876=this[_0x32d38c(0x235)];this[_0x32d38c(0x18f)](_0x35f2c6([this[_0x32d38c(0x21b)]['getCollabCursors$'](_0x1f6dc8),this[_0x32d38c(0x319)][_0x32d38c(0x1c5)]])[_0x32d38c(0x394)](_0x49e3a1(([_0x5a62ab,_0x333b67])=>({'skeleton':_0x220876[_0x32d38c(0x290)](),'cursors':[..._0x5a62ab[_0x32d38c(0x35c)]()][_0x32d38c(0x191)](_0x148c29=>({..._0x148c29,'color':this[_0x32d38c(0x319)][_0x32d38c(0x361)](_0x148c29['color'])}))})))[_0x32d38c(0x334)](_0x4dc7a1=>{const _0x1b869d=_0x32d38c;if(this[_0x1b869d(0x28e)](),_0x4dc7a1){const {skeleton:_0xe7e633,cursors:_0x310f0a}=_0x4dc7a1;this['_updateCollabCursors'](_0xe7e633,_0x310f0a);}})),this[_0x32d38c(0x1ff)](),this['_initCommandExecutedListener']();}[_0x5496c8(0x2cf)](_0x3ce5f0,_0x47f2a8){const _0x30f8bf=_0x5496c8,{scene:_0x4fd076,mainComponent:_0x34d29d}=this['_context'],_0x5886ca=_0x47f2a8[_0x30f8bf(0x1bc)](_0x2b18ad=>new qe(_0x2b18ad,_0x4fd076,_0x3ce5f0,_0x34d29d));this['_cursorShapes']=_0x5886ca,this['_cursors']=_0x47f2a8;}[_0x5496c8(0x301)](){const _0x3c0dc0=_0x5496c8;this['_removeCollabCursors']();const {scene:_0x427b89,mainComponent:_0x4d5d59}=this[_0x3c0dc0(0x2b7)],_0x459e4b=this[_0x3c0dc0(0x235)][_0x3c0dc0(0x290)](),_0x444499=this['_cursors']['map'](_0x2b5aad=>new qe(_0x2b5aad,_0x427b89,_0x459e4b,_0x4d5d59));this[_0x3c0dc0(0x22c)]=_0x444499;}[_0x5496c8(0x28e)](){const _0x136dc8=_0x5496c8;this['_cursorShapes'][_0x136dc8(0x34d)](_0x174e1c=>_0x174e1c['dispose']()),this[_0x136dc8(0x22c)]=[];}[_0x5496c8(0x2b9)](){const _0xf16bd=_0x5496c8,_0x3225eb=[_0x15999c['id']];this[_0xf16bd(0x18f)](this[_0xf16bd(0x224)][_0xf16bd(0x321)](_0x4a0272=>{const _0x45ebef=_0xf16bd;_0x3225eb['includes'](_0x4a0272['id'])&&_0x4a0272[_0x45ebef(0x31f)]['unitId']===this['_context']['unitId']&&this[_0x45ebef(0x301)]();}));}[_0x5496c8(0x1ff)](){const _0x2131ee=_0x5496c8;this[_0x2131ee(0x18f)](_0x202ff4(this['_context'][_0x2131ee(0x269)][_0x2131ee(0x390)])[_0x2131ee(0x394)](_0x5368cc(_0x2617af=>_0x2617af[_0x2131ee(0x2c1)]===_0x2d5b14[_0x2131ee(0x355)]),_0x4395ea(0x10))['subscribe'](()=>{const _0x1c798d=_0x2131ee;this[_0x1c798d(0x301)]();}));}};Le=Mi([Z(0x1,_0x3809cb(_0x498924)),Z(0x2,_0x3809cb(H)),Z(0x3,_0x316b08),Z(0x4,_0x3809cb(_0x1990ec))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2eab77{constructor(_0x41a0b7,_0x301e28){const _0x2c777a=_0x5496c8;super(_0x41a0b7,_0x301e28),_(this,_0x2c777a(0x2ad)),_(this,'_hovered',!0x1),_(this,_0x2c777a(0x214)),_(this,_0x2c777a(0x229),''),_(this,_0x2c777a(0x27f),_0x2c777a(0x220)),_(this,'_backgroundColor'),(_0x301e28&&this[_0x2c777a(0x1a4)](_0x301e28),this['onPointerEnter$'][_0x2c777a(0x242)](()=>this[_0x2c777a(0x1a4)]({'hovered':!0x0})),this[_0x2c777a(0x2fe)][_0x2c777a(0x242)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5496c8(0x1a4)](_0x94e58a){const _0x52f1ff=_0x5496c8;var _0x1a1835,_0x2b2fe8,_0xbf2705,_0x6cb8,_0x172b4b,_0x54328e;this[_0x52f1ff(0x2ad)]=(_0x1a1835=_0x94e58a[_0x52f1ff(0x23b)])!=null?_0x1a1835:this['_color'],this['_hovered']=(_0x2b2fe8=_0x94e58a[_0x52f1ff(0x239)])!=null?_0x2b2fe8:this['_hovered'],this[_0x52f1ff(0x214)]=(_0xbf2705=_0x94e58a[_0x52f1ff(0x29c)])!=null?_0xbf2705:this['_range'],this[_0x52f1ff(0x229)]=(_0x6cb8=_0x94e58a[_0x52f1ff(0x187)])!=null?_0x6cb8:this[_0x52f1ff(0x229)],this[_0x52f1ff(0x27f)]=(_0x172b4b=_0x94e58a[_0x52f1ff(0x21e)])!=null?_0x172b4b:this[_0x52f1ff(0x27f)],this['_backgroundColor']=(_0x54328e=_0x94e58a[_0x52f1ff(0x226)])!=null?_0x54328e:this['_backgroundColor'],this[_0x52f1ff(0x26d)]({'width':_0x94e58a[_0x52f1ff(0x336)],'height':_0x94e58a['height']});}[_0x5496c8(0x1a6)](_0x596806){const _0x2c7fc5=_0x5496c8,{row:_0xc515dc,column:_0x2c5b56}=_0x596806;if(_0xc515dc>=this['_range'][_0x2c7fc5(0x28a)]&&_0xc515dc<=this[_0x2c7fc5(0x214)]['endRow']&&_0x2c5b56>=this[_0x2c7fc5(0x214)][_0x2c7fc5(0x2e6)]&&_0x2c5b56<=this[_0x2c7fc5(0x214)][_0x2c7fc5(0x357)]){this[_0x2c7fc5(0x1a4)]({'hovered':!0x0});return;}this[_0x2c7fc5(0x1a4)]({'hovered':!0x1});}[_0x5496c8(0x201)](_0x51109a){return!0x1;}[_0x5496c8(0x258)](_0x363b43){const _0x49e2b7=_0x5496c8;_0x2a40d6[_0x49e2b7(0x365)](_0x363b43,{'width':this[_0x49e2b7(0x336)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x49e2b7(0x2ad)],'evented':!0x1,'fill':this[_0x49e2b7(0x24f)]}),this['_hovered']&&(_0x363b43['save'](),_0x363b43[_0x49e2b7(0x1d3)](0x1,0x0,0x0,0x1,this['width'],this[_0x49e2b7(0x27f)]==='bottom'?0x0:-0x14),he['drawWith'](_0x363b43,{'text':this['_name'],'color':this[_0x49e2b7(0x2ad)]}),_0x363b43[_0x49e2b7(0x1d9)]());}}var Ai=Object[_0x5496c8(0x1cb)],yi=(_0x1378b6,_0xf27484,_0x32d408,_0x2f3e87)=>{const _0x3c4021=_0x5496c8;for(var _0x36eab6=_0x2f3e87>0x1?void 0x0:_0x2f3e87?Ai(_0xf27484,_0x32d408):_0xf27484,_0x350de2=_0x1378b6[_0x3c4021(0x2dc)]-0x1,_0x579a40;_0x350de2>=0x0;_0x350de2--)(_0x579a40=_0x1378b6[_0x350de2])&&(_0x36eab6=_0x579a40(_0x36eab6)||_0x36eab6);return _0x36eab6;},ve=(_0x1e423f,_0x26d093)=>(_0x39eb01,_0x483a1b)=>_0x26d093(_0x39eb01,_0x483a1b,_0x1e423f);const $i=0x1389;let Pe=class extends _0x2d29f3{constructor(_0x35aceb,_0x583fb9,_0x10dc80,_0x42291d){const _0x524917=_0x5496c8;super(),_(this,_0x524917(0x1c9),new Set()),_(this,_0x524917(0x342),null),(this[_0x524917(0x2b7)]=_0x35aceb,this[_0x524917(0x1fa)]=_0x583fb9,this[_0x524917(0x21b)]=_0x10dc80,this[_0x524917(0x319)]=_0x42291d,this['_init']());}['_init'](){const _0x19fced=_0x5496c8;this[_0x19fced(0x1fa)][_0x19fced(0x257)][_0x19fced(0x394)](_0x16d4ad(this[_0x19fced(0x18b)]),_0x4dd329(_0x4d4437=>{const _0x3106d7=_0x19fced;if(_0x4d4437){const _0x3a3d74=_0x4d4437[_0x3106d7(0x367)];return _0x35f2c6(this['_collabCursorController'][_0x3106d7(0x197)](this[_0x3106d7(0x2b7)]['unitId']),this['_themeService'][_0x3106d7(0x1c5)])[_0x3106d7(0x394)](_0x49e3a1(([_0x2e6069,_0x588992])=>{const _0x35f586=_0x3106d7,_0x2b642f=new Map();return _0x2e6069[_0x35f586(0x34d)]((_0x1c4156,_0x409024)=>{const _0x408fc9=_0x35f586;if(_0x1c4156[_0x408fc9(0x23d)]===_0x3a3d74){const _0x3337cc={..._0x1c4156};_0x3337cc[_0x408fc9(0x23b)]=this[_0x408fc9(0x319)]['getColorFromTheme'](_0x1c4156['color']),_0x2b642f[_0x408fc9(0x2b6)](_0x409024,_0x3337cc);}}),{'skeleton':_0x4d4437,'cursors':_0x2b642f};}));}return _0x254efc({'skeleton':null,'cursors':new Map()});}))[_0x19fced(0x334)](({skeleton:_0x1c8e6d,cursors:_0x15533a})=>{const _0x8ec83c=_0x19fced;this[_0x8ec83c(0x28e)](),_0x1c8e6d&&this['_updateCollabCursors'](_0x1c8e6d,_0x15533a);}),this['_sheetSkeletonManagerService'][_0x19fced(0x257)]['subscribe'](_0x54402c=>{const _0x1188ce=_0x19fced;if(_0x54402c==null)return;const {skeleton:_0x395e30}=_0x54402c,{scene:_0x283bf4}=this['_context'];_0x283bf4[_0x1188ce(0x2ed)][_0x1188ce(0x242)](_0x14767a(_0x5c0a6e=>{const _0x564022=_0x1188ce;var _0x5302c1,_0x54f162;const {offsetX:_0x5b76f8,offsetY:_0x22d2d2}=_0x5c0a6e,{x:_0x3b519f,y:_0x57be85}=_0x283bf4[_0x564022(0x1f9)](_0x400011['FromArray']([_0x5b76f8,_0x22d2d2])),{scaleX:_0x25cc76,scaleY:_0x5b5eee}=_0x283bf4[_0x564022(0x344)](),_0xf04cb=_0x283bf4[_0x564022(0x1e3)](_0x4e1e0e[_0x564022(0x318)]),_0x593806=_0x283bf4[_0x564022(0x350)](_0x400011[_0x564022(0x255)]([_0x3b519f,_0x57be85]),_0xf04cb),_0x5b0973=_0x395e30['getCellPositionByOffset'](_0x5b76f8,_0x22d2d2,_0x25cc76,_0x5b5eee,_0x593806);((_0x5302c1=this[_0x564022(0x342)])==null?void 0x0:_0x5302c1[_0x564022(0x246)])===_0x5b0973[_0x564022(0x246)]&&((_0x54f162=this[_0x564022(0x342)])==null?void 0x0:_0x54f162['row'])===_0x5b0973[_0x564022(0x2bf)]||this['_cursors'][_0x564022(0x34d)](_0x49de70=>{const _0x3ce788=_0x564022;_0x49de70[_0x3ce788(0x1a6)](_0x5b0973);});},0x64));});}[_0x5496c8(0x2cf)](_0x4b2d47,_0x2109f1){const _0x4c869c=_0x5496c8;var _0x4830a3;const _0x401142=(_0x4830a3=this[_0x4c869c(0x1fa)][_0x4c869c(0x252)]())==null?void 0x0:_0x4830a3[_0x4c869c(0x1e7)];if(!_0x401142)return;const _0x23efd8=this['_getSheetObject']();if(!_0x23efd8)return;this[_0x4c869c(0x1c9)]['forEach'](_0x16add4=>{const _0x35e369=_0x4c869c;_0x16add4[_0x35e369(0x386)]();});const {scene:_0x43ca1}=_0x23efd8,_0x584b2=xi(Array[_0x4c869c(0x391)](_0x2109f1[_0x4c869c(0x35c)]()))[_0x4c869c(0x1bc)](_0x2167d0=>{const _0x13a6d1=_0x4c869c,{color:_0x2ecc70,range:_0x26e8b0,name:_0x3495a8,selection:_0x33297a,sheetID:_0x303015}=_0x2167d0,{startColumn:_0x59eab3,startRow:_0x19fd1b,endColumn:_0x1b88ea,endRow:_0x12efb5}=_0x26e8b0,_0x113bf9=_0x9de0b8(_0x19fd1b,_0x59eab3,_0x43ca1,_0x401142),_0x17ff75=_0x9de0b8(_0x12efb5,_0x1b88ea,_0x43ca1,_0x401142),{columnHeaderHeightAndMarginTop:_0x4859e8}=_0x401142,{startX:_0x3a07c4,startY:_0x46cb66}=_0x113bf9,{endX:_0x3062c6,endY:_0x461a65}=_0x17ff75,_0x309d83=_0x3062c6-_0x3a07c4,_0x2638c8=_0x461a65-_0x46cb66,_0x4dc1a7={'labelPosition':_0x46cb66-_0x4859e8>=ee?_0x13a6d1(0x220):_0x13a6d1(0x382),'sheetID':_0x303015,'range':_0x26e8b0,'color':_0x2ecc70,'name':_0x3495a8,'selection':_0x33297a,'left':_0x3a07c4,'top':_0x46cb66,'width':_0x309d83,'height':_0x2638c8,'evented':!0x1,'zIndex':$i};return new wi(_0x3495a8,_0x4dc1a7);});_0x43ca1[_0x4c869c(0x299)](_0x584b2,Li),this[_0x4c869c(0x1c9)]=new Set(_0x584b2);}['_removeCollabCursors'](){const _0x4901b4=_0x5496c8;var _0x18ab94;(_0x18ab94=this[_0x4901b4(0x1c9)])==null||_0x18ab94['forEach'](_0x21db0f=>_0x21db0f[_0x4901b4(0x359)]());}[_0x5496c8(0x270)](){const _0x3c3a19=_0x5496c8;return _0x6dc969(this['_context']['unit'],this[_0x3c3a19(0x2b7)]);}};Pe=yi([ve(0x1,_0x3809cb(_0xdcdb09)),ve(0x2,_0x3809cb(H)),ve(0x3,_0x3809cb(_0x1990ec))],Pe);function xi(_0x22cda7){const _0x2d92d7=_0x5496c8,_0x16bb7c=new Map();return _0x22cda7[_0x2d92d7(0x34d)](_0x49527c=>{const _0x4dd8d1=_0x2d92d7;if(_0x16bb7c[_0x4dd8d1(0x2aa)](_0x49527c['selection'])){const _0x5de719=_0x16bb7c[_0x4dd8d1(0x1fb)](_0x49527c[_0x4dd8d1(0x310)]);_0x5de719[_0x4dd8d1(0x187)]+=',\x20'+_0x49527c[_0x4dd8d1(0x187)];}else _0x16bb7c[_0x4dd8d1(0x2b6)](_0x49527c['selection'],_0x49527c);}),Array[_0x2d92d7(0x391)](_0x16bb7c['values']());}var v=function(){const _0x1cf78e=_0x5496c8;return v=Object[_0x1cf78e(0x211)]||function(_0x1a1f38){const _0x37285d=_0x1cf78e;for(var _0x362bcd,_0x1cff4a=0x1,_0x646c1a=arguments[_0x37285d(0x2dc)];_0x1cff4a<_0x646c1a;_0x1cff4a++){_0x362bcd=arguments[_0x1cff4a];for(var _0x13ee95 in _0x362bcd)Object['prototype'][_0x37285d(0x348)][_0x37285d(0x1c0)](_0x362bcd,_0x13ee95)&&(_0x1a1f38[_0x13ee95]=_0x362bcd[_0x13ee95]);}return _0x1a1f38;},v[_0x1cf78e(0x31a)](this,arguments);},Bi=function(_0x253ce3,_0x199b03){const _0x520959=_0x5496c8;var _0x60b428={};for(var _0x59b66a in _0x253ce3)Object[_0x520959(0x1c8)][_0x520959(0x348)][_0x520959(0x1c0)](_0x253ce3,_0x59b66a)&&_0x199b03[_0x520959(0x343)](_0x59b66a)<0x0&&(_0x60b428[_0x59b66a]=_0x253ce3[_0x59b66a]);if(_0x253ce3!=null&&typeof Object[_0x520959(0x35b)]=='function'){for(var _0x1bb2c2=0x0,_0x59b66a=Object[_0x520959(0x35b)](_0x253ce3);_0x1bb2c2<_0x59b66a[_0x520959(0x2dc)];_0x1bb2c2++)_0x199b03[_0x520959(0x343)](_0x59b66a[_0x1bb2c2])<0x0&&Object['prototype'][_0x520959(0x2fa)][_0x520959(0x1c0)](_0x253ce3,_0x59b66a[_0x1bb2c2])&&(_0x60b428[_0x59b66a[_0x1bb2c2]]=_0x253ce3[_0x59b66a[_0x1bb2c2]]);}return _0x60b428;},Fe=_0x4bb54e(function(_0x5ef4b2,_0x230a5e){const _0x2cfcf2=_0x5496c8;var _0x3b05e3=_0x5ef4b2[_0x2cfcf2(0x2af)],_0x2f7975=_0x5ef4b2['id'],_0x21f3f6=_0x5ef4b2[_0x2cfcf2(0x25a)],_0x19f6b4=_0x5ef4b2[_0x2cfcf2(0x1ed)],_0x1f2021=Bi(_0x5ef4b2,[_0x2cfcf2(0x2af),'id',_0x2cfcf2(0x25a),_0x2cfcf2(0x1ed)]),_0x22e393=_0x2cfcf2(0x317)[_0x2cfcf2(0x396)](_0x2f7975,'\x20')[_0x2cfcf2(0x396)](_0x21f3f6||'')['trim'](),_0x4aa191=_0x3194c0('_'[_0x2cfcf2(0x396)](Fi()));return Rt(_0x3b05e3,''[_0x2cfcf2(0x396)](_0x2f7975),{'defIds':_0x3b05e3[_0x2cfcf2(0x2c5)],'idSuffix':_0x4aa191[_0x2cfcf2(0x1bd)]},v({'ref':_0x230a5e,'className':_0x22e393},_0x1f2021),_0x19f6b4);});function Rt(_0x52f867,_0x25c282,_0x571827,_0x5ea036,_0x10333e){const _0x5be3a9=_0x5496c8;return _0x1e6f58(_0x52f867['tag'],v(v({'key':_0x25c282},ki(_0x52f867,_0x571827,_0x10333e)),_0x5ea036),(Hi(_0x52f867,_0x571827)[_0x5be3a9(0x27d)]||[])[_0x5be3a9(0x1bc)](function(_0x296d29,_0x531b54){const _0x4e52be=_0x5be3a9;return Rt(_0x296d29,''[_0x4e52be(0x396)](_0x25c282,'-')['concat'](_0x52f867[_0x4e52be(0x1a0)],'-')[_0x4e52be(0x396)](_0x531b54),_0x571827,void 0x0,_0x10333e);}));}function ki(_0x5d6fd0,_0x3927ab,_0x1cd9be){const _0x53df43=_0x5496c8;var _0x381c36=v({},_0x5d6fd0[_0x53df43(0x322)]);_0x1cd9be!=null&&_0x1cd9be[_0x53df43(0x26e)]&&_0x381c36['fill']===_0x53df43(0x26e)&&(_0x381c36[_0x53df43(0x1f7)]=_0x1cd9be[_0x53df43(0x26e)]),_0x5d6fd0['tag']===_0x53df43(0x279)&&_0x381c36['id']&&(_0x381c36['id']=_0x381c36['id']+_0x3927ab[_0x53df43(0x254)]),Object[_0x53df43(0x1b5)](_0x381c36)[_0x53df43(0x34d)](function(_0x50eebd){const _0x508162=_0x53df43;var _0xfca8c1=_0x50eebd[0x0],_0x2744c=_0x50eebd[0x1];_0xfca8c1==='mask'&&typeof _0x2744c=='string'&&(_0x381c36[_0xfca8c1]=_0x2744c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x508162(0x396)](_0x3927ab[_0x508162(0x254)],')')));});var _0x3f8d9b=_0x3927ab[_0x53df43(0x2c5)];return!_0x3f8d9b||_0x3f8d9b[_0x53df43(0x2dc)]===0x0||(_0x5d6fd0[_0x53df43(0x1a0)]===_0x53df43(0x231)&&_0x381c36[_0x53df43(0x33f)]&&(_0x381c36[_0x53df43(0x33f)]=_0x381c36[_0x53df43(0x33f)]+_0x3927ab['idSuffix']),Object[_0x53df43(0x1b5)](_0x381c36)[_0x53df43(0x34d)](function(_0x49198f){const _0x248a60=_0x53df43;var _0x20ffb0=_0x49198f[0x0],_0x21f66c=_0x49198f[0x1];typeof _0x21f66c==_0x248a60(0x32f)&&(_0x381c36[_0x20ffb0]=_0x21f66c[_0x248a60(0x2c9)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3927ab[_0x248a60(0x254)],')')));})),_0x381c36;}function Hi(_0x13d32f,_0x225efb){const _0x4ef89d=_0x5496c8;var _0x53ab1a,_0x2e476c=_0x225efb[_0x4ef89d(0x2c5)];return!_0x2e476c||_0x2e476c[_0x4ef89d(0x2dc)]===0x0?_0x13d32f:_0x13d32f[_0x4ef89d(0x1a0)]===_0x4ef89d(0x2ac)&&(!((_0x53ab1a=_0x13d32f[_0x4ef89d(0x27d)])===null||_0x53ab1a===void 0x0)&&_0x53ab1a[_0x4ef89d(0x2dc)])?v(v({},_0x13d32f),{'children':_0x13d32f[_0x4ef89d(0x27d)][_0x4ef89d(0x1bc)](function(_0x5e3481){const _0x328ba7=_0x4ef89d;return typeof _0x5e3481[_0x328ba7(0x322)]['id']==_0x328ba7(0x32f)&&_0x2e476c&&_0x2e476c[_0x328ba7(0x372)](_0x5e3481[_0x328ba7(0x322)]['id'])?v(v({},_0x5e3481),{'attrs':v(v({},_0x5e3481['attrs']),{'id':_0x5e3481[_0x328ba7(0x322)]['id']+_0x225efb[_0x328ba7(0x254)]})}):_0x5e3481;})}):_0x13d32f;}function Fi(){const _0x2d24a9=_0x5496c8;return Math[_0x2d24a9(0x326)]()[_0x2d24a9(0x1ef)](0x24)[_0x2d24a9(0x338)](0x2,0x8);}Fe[_0x5496c8(0x24c)]=_0x5496c8(0x189);var Yi={'tag':'svg','attrs':{'xmlns':_0x5496c8(0x1ee),'fill':_0x5496c8(0x1aa),'viewBox':_0x5496c8(0x19f),'width':_0x5496c8(0x2a3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5496c8(0x362)},'children':[{'tag':'path','attrs':{'stroke':_0x5496c8(0x196),'d':_0x5496c8(0x29a),'strokeLinecap':'round','strokeLinejoin':_0x5496c8(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x5496c8(0x2ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'fill':_0x5496c8(0x1e8),'d':_0x5496c8(0x25f)}}]}]}],'defIds':[_0x5496c8(0x277)]},Dt=_0x4bb54e(function(_0x3525a8,_0x461a8a){const _0x302e47=_0x5496c8;return _0x1e6f58(Fe,Object[_0x302e47(0x211)]({},_0x3525a8,{'id':_0x302e47(0x363),'ref':_0x461a8a,'icon':Yi}));});Dt[_0x5496c8(0x24c)]=_0x5496c8(0x26c);var ji={'tag':_0x5496c8(0x1de),'attrs':{'xmlns':_0x5496c8(0x1ee),'fill':'none','viewBox':_0x5496c8(0x199),'width':_0x5496c8(0x2a3),'height':_0x5496c8(0x2a3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'stroke':_0x5496c8(0x196),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5496c8(0x1c1),'strokeLinejoin':_0x5496c8(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x5496c8(0x2ac),'attrs':{},'children':[{'tag':_0x5496c8(0x198),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5496c8(0x35f),'attrs':{'fill':_0x5496c8(0x1e8),'d':_0x5496c8(0x25f),'transform':_0x5496c8(0x294)}}]}]}],'defIds':[_0x5496c8(0x2f9)]},Nt=_0x4bb54e(function(_0x410be1,_0x144f18){const _0x12763d=_0x5496c8;return _0x1e6f58(Fe,Object[_0x12763d(0x211)]({},_0x410be1,{'id':_0x12763d(0x28d),'ref':_0x144f18,'icon':ji}));});Nt['displayName']=_0x5496c8(0x29b);function Vi(_0x3ee12c){const _0x3a280f=_0x5496c8;switch(_0x3ee12c){case _0x233496['OFFLINE']:return _0x3a280f(0x2fb);case _0x233496[_0x3a280f(0x375)]:return _0x3a280f(0x19e);case _0x233496[_0x3a280f(0x314)]:return'collabStatus.fetchMiss';case _0x233496[_0x3a280f(0x2c6)]:return'collabStatus.notCollab';case _0x233496['AWAITING']:case _0x233496[_0x3a280f(0x398)]:return _0x3a280f(0x33c);case _0x233496[_0x3a280f(0x1bf)]:case _0x233496[_0x3a280f(0x287)]:return _0x3a280f(0x2f7);}}function Wi(_0x3d744e){const _0x4874c9=_0x5496c8,{status$:_0x1cf90d}=_0x3d744e,_0x30b207=_0x29134c(_0x1cf90d,_0x233496[_0x4874c9(0x2c6)]),_0x44276d=_0x16b63e(_0x59fd0b),_0x3f27c1=_0x16b63e(_0x1a4927),_0x551ba1=_0x30b207!==_0x233496[_0x4874c9(0x241)],_0x51dece=_0x44276d['t'](Vi(_0x30b207)),_0x288462=_0x551ba1?_0x382f18(Nt,{}):_0x382f18(Dt,{}),_0x4d1430=_0x531d14(()=>{_0x551ba1||_0x3f27c1['reconnect']();},[_0x551ba1,_0x3f27c1]);function _0x213a2c(){const _0x42ba1a=_0x4874c9;return _0x1ce99a('div',{'className':_0x42ba1a(0x2b5),'onClick':_0x4d1430,'children':[_0x382f18(_0x42ba1a(0x34e),{'className':_0x3650f3(_0x42ba1a(0x1e6),{'univer-text-green-500':_0x551ba1,'univer-text-red-500':!_0x551ba1}),'children':_0x288462}),_0x382f18(_0x42ba1a(0x34e),{'className':_0x42ba1a(0x1fc),'children':_0x51dece})]});}return _0x551ba1?_0x213a2c():_0x382f18(_0x1692f3,{'title':_0x44276d['t'](_0x4874c9(0x329)),'children':_0x213a2c()});}function _0x245d(){const _0x3016b6=['_saveTaskMap','editingUnit','stringify','params','_updateURLWithCurrentState','onCommandExecuted','attrs','lineTo','COMPLETION_FINISHED','getCurrentRevOfUnit','random','setInterval','docStateChange$','collab-client.tooltip.reconnect','_transformService','defineProperty','_collaborationController','fillStyle','UNRECOGNIZED','string','SNAPSHOT_HAS_BEEN_REMOVED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scheduleHeartbeat','isArray','subscribe','_selfUnitIDs','width','MOBILE_VERIFY_CODE_MISMATCH','substring','_transformPreviousActiveRange','_imageIoService','arc','collabStatus.syncing','_logService','_urlService','xlink:href','loadOfflineData','transformStateCache','_lastPointer','indexOf','getAncestorScale','MUTATION','getTypeOfUnitAdded$','ONLINE','hasOwnProperty','UNDEFINED','removeParam','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleLeaveEvent','forEach','div','_id','getVpScrollXYInfoByPosToVp','LOGIN_FAILED','EMAIL_VERIFY_CODE_MISMATCH','getSheetId','JOIN_ROOM_FAILED','resize','href','endColumn','saveImage','dispose','_instanceService','getOwnPropertySymbols','values','_registerDependencies','_initStatusComponent','path','deepClone','getColorFromTheme','url(#off-line-icon_clip0_910_343)','off-line-icon','moveTo','drawWith','_renderManagerService','sheetId','unitID','clearInterval','_onCursorDelete','blue.400','beginPath','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','8lpHlmI','UNIVER_DOC','includes','_createSocketURL','pushState','CONFLICT','uni.network.url-service','_clearOtherTimers','getActiveSheet','getMemberID','USERS_LEAVE','isActive','sessionStatus$','APPLY_DUPLICATED','CONNECTOR_DATA_TOO_LARGE','956798XdyPhV','size','EMAIL_HAS_BEEN_BOUND','bottom','doc.mutation.rich-text-editing','_cursor','_cursorInfo$','makeDirty','INTERNAL_ERROR','_colorIndex','selections','_anchorDot','[CollaborationDataLoaderController]','cursorInfo$','_scheduleClearOtherTimer','min','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onTransformChange$','from','getUndoRedoMutationParamsCache','_docTransformSelectionsService','pipe','redoState','concat','SNAPSHOT_INVALID_SNAPSHOT','AWAITING_WITH_PENDING','activeSheet$','then','3786027RWdVie','name','LICENSE_MAX_UNITS_EXCEEDED','UniverIcon','session.connection-failed','dispose$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','location','UNIVER_SHEET','disposeWithMe','popstate','flatMap','_colorAssignService','_dataLoaderService','_scheduleSaving','NOT_FOUND','currentColor','getCollabCursors$','clipPath','0\x200\x2017\x2016','setStateCache','_startDocCollabCursor','collabCursorState$','_getScale','collabStatus.conflict','0\x200\x2016\x2016','tag','_updateLocalCursor','_initEntityListener','_assignedColors','setShapeProps','replaceState','onMouseMove','loadUnit','some','_setupBeforeClosingHandler','none','_toggleOnline','_messageService','m1Prime','save','_localCacheService','Unknown\x20user','getSheetBySheetId','unit','_collaborationUIEventService','_refRangeService','entries','_scene','_collabCursorState$','_unitStatus','subUnitId','measureText','CHANGESET_REVISION_CONFILICT','map','current','yellow.400','SYNCED','call','round','createInstance','data','YUUMI_ASYNCIO_CANCELLED','currentTheme$','ranges','getConfig','prototype','_cursors','_config','getOwnPropertyDescriptor','PY_RUNTIME_SCRIPT_ERROR','LICENSE_DISTRO_REJECTED','MOBILE_HAS_BEEN_BOUND','roomMembers','memberID','debug','asObservable','transform','getMember','transformRemoteChangeset','HEADER_MENU','unshift','INVITE_CODE_REQUIRED','restore','Warning','getMergeData','_getSessionTicket','TOO_MANY_REQUESTS','svg','setParam','transformMutation','_toggleOffline','InsertRangeMoveRightCommandId','getViewport','USER_NOT_INVITED_CODE','permission.content','univer-mr-2\x20univer-flex\x20univer-text-xl','skeleton','white','unsubscribe','_initStatusListener','_configService','session.collaboration-timeout','extend','http://www.w3.org/2000/svg','toString','RECT','INVALID_INVITE_CODE','transformIMECache','_setupSubUnitSync','executionId','collaboration.closeRoom','origin','fill','evenodd','getRelativeToViewportCoord','_sheetSkeletonManagerService','get','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','...','OTHER_CLIENTS_EDITING','_initResize','unitId','triggerDblclick','status$','collab-text-anchor-','_entityInit$','_univerInstanceService','Failed','_registerRenderDependencies','purple.300','_session','entityInit$','APPLY_REVISION_CONFILICT','_handleHover','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabSessionService','1GPFDxW','setActiveRange','assign','_syncEditingCollabCursorService','text','_range','imageSourceType','history','_handleJoinEvent','MoveRangeCommandId','SOCKET_FAILED','_render','_collabCursorController','getUnhiddenWorksheets','_init','labelPosition','code','top','black','_cachedData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_commandService','source','backgroundColor','getCurrentSelections','sessionTicket','_name','InsertColCommandId','_docStateChangeManagerService','_cursorShapes','_send','getRenderById','_notificationService','_online','use','error','_injector','UNAUTHENTICATED','_docSkeletonManagerService','_handleEvent','getUnitId','_roomMembers$','hovered','transformMutationsWithChangeset','color','cursorInfo','sheetID','_hover','clearTimeout','getItem','OFFLINE','subscribeEvent','CLOSE_ROOM','_onCursorUpdate','3496329AbinBj','column','_drawRectRange','_revisionService','_transformHistoryAndStateStack','show','_anchor','displayName','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getValue','_backgroundColor','find','send','getCurrent','_disabled','idSuffix','FromArray','_initEvent','currentSkeleton$','_draw','LICENSE_IMPORT_SIZE_EXCEEDED','className','_localStorageService','storage','UPDATE_CURSOR','subunit','M0\x200H16V16H0z','_doCreateSocket','/run/','_docTransformStateCacheService','getFocusedUnit','_heartbeatTimer','SUBMIT_CHANGESET_TIMEOUT','6108IBhBlD','onPointerEnter$','4715CrWONp','engine','DeleteRangeMoveUpCommandId','isEditing','OffLineIcon','transformByState','colorChannel1','application/json','_getSheetObject','all','YUUMI_URL_COL_OUT_OF_RANGE','_getMergeRange','key','_hideTimer','fillText','off-line-icon_clip0_910_343','search','mask','_startSheetCollabCursor','2466JSMNjg','collab-rect-range-','children','generateRandomId','_labelPosition','TEXT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1735269vTwhCC','mutations','registerBeforeClose','collaboration-client-ui.config','add','PENDING','addObject','textRanges','startRow','exhaustSavingTask','#FFF','on-line-icon','_removeCollabCursors','override','getSkeleton','_docTransformIMECacheService','disableLocalCache','_memberService','translate(.97)','YUUMI_NO_CUBOID_FOR_QUESTION','createSocket','complete','YUUMI_RATE_OVER_LIMIT','addObjects','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','OnLineIcon','range','symbol','contains','newValue','getOffsetConfig','Error','delete','1em','_docSkeleton','ALREADY_EXISTS','_getSaveTimeout','APPLY_PERMISSION_DENIED','m2Prime','YUUMI_UNABLE_LOAD_URL','has','getDocRanges','defs','_color','APPLY_REJECT','icon','max','_transformUndoRedoStack','syncEditingCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','unload','univer-flex\x20univer-items-center','set','_context','onLocalMutation','_initCommandExecutedListener','_status$','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','addEventListener','InsertRangeMoveDownCommandId','row','requireSession','type','_unitOnClients','_initDependencies','WECHAT_HAS_BEEN_BOUND','defIds','NOT_COLLAB','toRgbString','invokeId','replace','YUUMI_AI_RUN_FAILED','roomMembers$','_textBubble','_updateSubUnitFromURLParams','registerRefRange','_updateCollabCursors','eventID','NO_OTHER_CLIENTS_EDITING','_saveCache','_document','saveOfflineData','_handleHeartbeatEvent','_onRefRangeChange','addClipboardHook','_removeClearOtherTimer','post','_drawAnchor','ENSURE_SNAPSHOT_EXECUTION','length','searchParams','OTHER_CLIENT_EDITING','init','getTypeOfUnitDisposed$','_localeService','getRangePointData','permission.title','findNodePositionByCharIndex','getCollabEntity$','startColumn','_docClipboardService','startsWith','red.300','assignAColorForMemberID','body','ticket','onPointerMove$','runOnServer','runId','transformSelections','getStateCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','closePath','YUUMI_CONNECTOR_URL_NOT_FOUND','INVALID_ARGUMENT','registerRenderModule','collabStatus.synced','next','on-line-icon_clip0_910_349','propertyIsEnumerable','collabStatus.offline','push','_shapes','onPointerLeave$','getParam','hide','_refreshCollabCursors','_httpService','saveTaskMap','_getAnchorBounding','12672830tQAfJF','undoState','_docSyncEditingCollabCursorService','DeleteRangeMoveLeftCommandId','INVITE_CODE_HAS_BEEN_UES','_eventUnsubscribe','setItem','with','urlChange$','enableLocalCache','_ensureSubject','selection','onStarting','_entities','wsSessionTicketUrl','FETCH_MISS','focused$','RemoveRowCommandId','univerjs-icon\x20univerjs-icon-','VIEW_MAIN','_themeService','apply','event$'];_0x245d=function(){return _0x3016b6;};return _0x245d();}var Xi=Object[_0x5496c8(0x1cb)],Gi=(_0x449e55,_0x4fb6d3,_0x31f787,_0x28c430)=>{const _0x4c5bef=_0x5496c8;for(var _0x228790=_0x28c430>0x1?void 0x0:_0x28c430?Xi(_0x4fb6d3,_0x31f787):_0x4fb6d3,_0x1521c9=_0x449e55[_0x4c5bef(0x2dc)]-0x1,_0x3dd8a2;_0x1521c9>=0x0;_0x1521c9--)(_0x3dd8a2=_0x449e55[_0x1521c9])&&(_0x228790=_0x3dd8a2(_0x228790)||_0x228790);return _0x228790;},Q=(_0x39455f,_0x422605)=>(_0x28db0c,_0x1fda4b)=>_0x422605(_0x28db0c,_0x1fda4b,_0x39455f);let te=class extends _0x192abb{constructor(_0x2e3600,_0x4849e9,_0x423b01,_0xf42ef9){const _0x369eef=_0x5496c8;super(),_(this,_0x369eef(0x2ba),new _0x4033d5(_0x233496[_0x369eef(0x2c6)])),(this[_0x369eef(0x205)]=_0x2e3600,this['_injector']=_0x4849e9,this['_collaborationController']=_0x423b01,this['_uiPartsService']=_0xf42ef9,this[_0x369eef(0x35e)](),this[_0x369eef(0x1ea)]());}[_0x5496c8(0x1ea)](){const _0xbd6ae3=_0x5496c8;this[_0xbd6ae3(0x18f)](this['_univerInstanceService'][_0xbd6ae3(0x315)]['pipe'](_0x4de612(()=>{const _0x22ebb9=_0xbd6ae3,_0x2a6e2f=this['_univerInstanceService'][_0x22ebb9(0x263)]();return _0x2a6e2f?this[_0x22ebb9(0x32c)][_0x22ebb9(0x2e5)](_0x2a6e2f[_0x22ebb9(0x237)]()):_0x254efc(null);}),_0x4de612(_0x28f84e=>_0x28f84e?_0x28f84e[_0xbd6ae3(0x202)]:_0x254efc(_0x233496[_0xbd6ae3(0x2c6)])))[_0xbd6ae3(0x334)](_0x72e063=>{const _0x151282=_0xbd6ae3;this[_0x151282(0x2ba)][_0x151282(0x2f8)](_0x72e063);}));}[_0x5496c8(0x35e)](){const _0x6747ba=_0x5496c8;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x260eb4[_0x6747ba(0x1d6)],()=>_0x2003da(Ki({'status$':this['_status$']['asObservable']()}),this[_0x6747ba(0x233)])));}};te=Gi([Q(0x0,_0x46dfe1),Q(0x1,_0x3809cb(_0x23463c)),Q(0x2,_0x3809cb(_0x4f31e7)),Q(0x3,_0x1c8b87)],te);function Ki(_0x37fc03){const {status$:_0x22c423}=_0x37fc03;return function(){return _0x382f18(Wi,{'status$':_0x22c423});};}var zi=Object[_0x5496c8(0x1cb)],Ji=(_0x241379,_0x2d28c9,_0x524c93,_0x72339b)=>{const _0x5c4e4c=_0x5496c8;for(var _0x470cbe=_0x72339b>0x1?void 0x0:_0x72339b?zi(_0x2d28c9,_0x524c93):_0x2d28c9,_0x44639b=_0x241379[_0x5c4e4c(0x2dc)]-0x1,_0x4aa998;_0x44639b>=0x0;_0x44639b--)(_0x4aa998=_0x241379[_0x44639b])&&(_0x470cbe=_0x4aa998(_0x470cbe)||_0x470cbe);return _0x470cbe;},B=(_0x1b4783,_0x15a8c5)=>(_0x52de41,_0x1f3228)=>_0x15a8c5(_0x52de41,_0x1f3228,_0x1b4783);let se=class extends _0x192abb{constructor(_0x369960,_0xbd801e,_0x4f347f,_0x548ee7,_0x4be975,_0x45366e){const _0x647eba=_0x5496c8;super(),this['_beforeCloseService']=_0x369960,this[_0x647eba(0x1af)]=_0xbd801e,this[_0x647eba(0x1b3)]=_0x4f347f,this[_0x647eba(0x1ac)]=_0x548ee7,this[_0x647eba(0x22f)]=_0x4be975,this[_0x647eba(0x2e1)]=_0x45366e,this['_setupBeforeClosingHandler'](),this[_0x647eba(0x256)]();}[_0x5496c8(0x1a9)](){const _0x3c7e11=_0x5496c8;this[_0x3c7e11(0x18f)](this['_beforeCloseService'][_0x3c7e11(0x284)](()=>{const _0x2c67ca=_0x3c7e11;if(this[_0x2c67ca(0x1af)][_0x2c67ca(0x303)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x5496c8(0x256)](){const _0x3244ac=_0x5496c8;this[_0x3244ac(0x18f)](this[_0x3244ac(0x1b3)][_0x3244ac(0x31b)][_0x3244ac(0x334)](_0x5e6bdc=>{const _0x58cfdf=_0x3244ac;_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x2de)]&&this[_0x58cfdf(0x1ac)]['show']({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('collaboration.single-unit.warning')}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x243)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('collaboration.closeRoom')}),_0x5e6bdc['id']===_0x180ec1['PERMISSION_DENIED']&&this[_0x58cfdf(0x22f)][_0x58cfdf(0x24a)]({'title':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x2e3)),'content':this['_localeService']['t'](_0x58cfdf(0x1e5)),'type':_0x58cfdf(0x232),'duration':0x0}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x375)]&&this['_messageService'][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this['_localeService']['t'](_0x58cfdf(0x1f5))+'('+_0x5e6bdc[_0x58cfdf(0x1c3)]+')'}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x354)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf['Warning'],'content':this['_localeService']['t'](_0x5e6bdc[_0x58cfdf(0x1c3)]||'')}),_0x5e6bdc['id']===_0x180ec1['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x3095bf[_0x58cfdf(0x1da)],'content':this[_0x58cfdf(0x2e1)]['t']('session.will-retry')}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x219)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x18a))}),_0x5e6bdc['id']===_0x180ec1[_0x58cfdf(0x265)]&&this[_0x58cfdf(0x1ac)][_0x58cfdf(0x24a)]({'type':_0x3095bf[_0x58cfdf(0x2a1)],'content':this[_0x58cfdf(0x2e1)]['t'](_0x58cfdf(0x1ec))});}));}};se=Ji([B(0x0,_0x1efba6),B(0x1,_0x190cd5),B(0x2,_0x3809cb(_0x2e7e56)),B(0x3,_0x35577b),B(0x4,_0x1bb4f7),B(0x5,_0x3809cb(_0x59fd0b))],se);const Zi=_0x5496c8(0x285),et={},Ut=_0x40a27e(_0x5496c8(0x376));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x9e303a,_0x78e8ba,_0x3f0a74,_0x47fbee)=>{const _0x35197d=_0x5496c8;for(var _0x43b772=_0x47fbee>0x1?void 0x0:_0x47fbee?Qi(_0x78e8ba,_0x3f0a74):_0x78e8ba,_0x4283b2=_0x9e303a[_0x35197d(0x2dc)]-0x1,_0x7d68dd;_0x4283b2>=0x0;_0x4283b2--)(_0x7d68dd=_0x9e303a[_0x4283b2])&&(_0x43b772=_0x7d68dd(_0x43b772)||_0x43b772);return _0x43b772;},G=(_0x39c0f7,_0x559954)=>(_0x8e5224,_0x15d63a)=>_0x559954(_0x8e5224,_0x15d63a,_0x39c0f7);let ie=class extends _0x2d29f3{constructor(_0x2ee549,_0x9866cf,_0x8fbbcd,_0x3d020a,_0x7f64f2){const _0x5b4da0=_0x5496c8;super(),this[_0x5b4da0(0x33e)]=_0x2ee549,this[_0x5b4da0(0x33d)]=_0x9866cf,this[_0x5b4da0(0x224)]=_0x8fbbcd,this[_0x5b4da0(0x193)]=_0x3d020a,_0x7f64f2?_0x7f64f2==null||_0x7f64f2['whenReady']()[_0x5b4da0(0x185)](()=>this[_0x5b4da0(0x21d)]()):(this[_0x5b4da0(0x33d)][_0x5b4da0(0x1d1)](_0x5b4da0(0x38b),_0x5b4da0(0x18c)),this[_0x5b4da0(0x21d)]());}async[_0x5496c8(0x21d)](){const _0x5a653d=_0x5496c8,_0xcea512=this['_urlService'][_0x5a653d(0x2ff)](_0x5a653d(0x1b2)),_0x2ff19f=this[_0x5a653d(0x33e)]['getParam'](_0x5a653d(0x2c1)),_0x1a6a61=this[_0x5a653d(0x33e)][_0x5a653d(0x2ff)](_0x5a653d(0x25e));if(!_0xcea512||!_0x2ff19f){this[_0x5a653d(0x33d)][_0x5a653d(0x1d1)]('[CollaborationDataLoaderController]',_0x5a653d(0x281));return;}const _0x2fe5de=await this[_0x5a653d(0x193)][_0x5a653d(0x1a7)](_0xcea512,Number(_0x2ff19f),_0x1a6a61);_0x2fe5de&&_0x2fe5de instanceof _0x567be3&&this['_setupSubUnitSync'](_0x2fe5de);}async[_0x5496c8(0x1f3)](_0x258cbd){const _0x3fe812=_0x5496c8;await this[_0x3fe812(0x2cd)](_0x258cbd),_0x258cbd[_0x3fe812(0x399)][_0x3fe812(0x394)](_0x2926d6(this['dispose$']))['subscribe'](_0x35c49d=>{const _0x12ce92=_0x3fe812;_0x35c49d&&this[_0x12ce92(0x320)](_0x35c49d);}),this['_urlService'][_0x3fe812(0x30d)][_0x3fe812(0x394)](_0x2926d6(this[_0x3fe812(0x18b)]))[_0x3fe812(0x334)](()=>this[_0x3fe812(0x2cd)](_0x258cbd));}['_updateURLWithCurrentState'](_0x44a7ee,_0x137fb=!0x1){const _0x3a85a0=_0x5496c8,_0x4f0834=this[_0x3a85a0(0x33e)][_0x3a85a0(0x2ff)](_0x3a85a0(0x25e));_0x44a7ee[_0x3a85a0(0x353)]()!==_0x4f0834&&this['_urlService']['setParam']('subunit',_0x44a7ee['getSheetId'](),_0x137fb);}async[_0x5496c8(0x2cd)](_0x3edba6){const _0x31fcca=_0x5496c8;var _0x34296f;const _0x52fafd=this[_0x31fcca(0x33e)]['getParam'](_0x31fcca(0x25e));if(!_0x52fafd||!_0x3edba6[_0x31fcca(0x1b1)](_0x52fafd)){const _0x492f2e=_0x3edba6[_0x31fcca(0x21c)]()[0x0],_0x5c1c5f=_0x3edba6[_0x31fcca(0x1b1)](_0x492f2e);if(!_0x5c1c5f)return;this[_0x31fcca(0x320)](_0x5c1c5f,!0x0),await this[_0x31fcca(0x224)][_0x31fcca(0x36e)](_0x2b7b9a['id'],{'unitId':_0x3edba6[_0x31fcca(0x237)](),'subUnitId':_0x492f2e});return;}((_0x34296f=_0x3edba6[_0x31fcca(0x378)]())==null?void 0x0:_0x34296f[_0x31fcca(0x353)]())!==_0x52fafd&&await this[_0x31fcca(0x224)][_0x31fcca(0x36e)](_0x2b7b9a['id'],{'unitId':_0x3edba6[_0x31fcca(0x237)](),'subUnitId':_0x52fafd});}};ie=qi([G(0x0,Ut),G(0x1,_0x396721),G(0x2,_0x316b08),G(0x3,_0x3809cb(_0x2883d1)),G(0x4,_0x4da117(_0x47fa38))],ie);var en=Object[_0x5496c8(0x1cb)],tn=(_0x26ba0b,_0xf22d51,_0x3f08ed,_0x5c304d)=>{const _0x51d3ae=_0x5496c8;for(var _0x35936b=_0x5c304d>0x1?void 0x0:_0x5c304d?en(_0xf22d51,_0x3f08ed):_0xf22d51,_0x51850d=_0x26ba0b[_0x51d3ae(0x2dc)]-0x1,_0xf13a66;_0x51850d>=0x0;_0x51850d--)(_0xf13a66=_0x26ba0b[_0x51850d])&&(_0x35936b=_0xf13a66(_0x35936b)||_0x35936b);return _0x35936b;},pe=(_0x5a648c,_0x1b3b0a)=>(_0x3838cf,_0x14ef88)=>_0x1b3b0a(_0x3838cf,_0x14ef88,_0x5a648c);let ne=class{constructor(_0x1fa861,_0x3cf9d5,_0xcb693){const _0xf0f67b=_0x5496c8;this[_0xf0f67b(0x233)]=_0x1fa861,this['_transformService']=_0x3cf9d5,this[_0xf0f67b(0x366)]=_0xcb693;}[_0x5496c8(0x1f2)](_0xc163e7){const _0xfce90d=_0x5496c8;this[_0xfce90d(0x2b1)](_0xc163e7),this[_0xfce90d(0x339)](_0xc163e7);}[_0x5496c8(0x1d5)](_0x4d91a7){const _0x2719f9=_0x5496c8,{unitID:_0x1b658d}=_0x4d91a7,_0xa84ceb=this[_0x2719f9(0x366)][_0x2719f9(0x22e)](_0x1b658d)[_0x2719f9(0x30c)](_0x1d4c7b),{redoCache:_0x53a134}=_0xa84ceb[_0x2719f9(0x392)]();if(_0x53a134[_0x2719f9(0x2dc)]===0x0)return _0x4d91a7;let _0x3eb1bf=_0x2ae11c[_0x2719f9(0x360)](_0x4d91a7['mutations'][0x0]);for(let _0x20f754=0x0;_0x20f754<_0x53a134[_0x2719f9(0x2dc)];_0x20f754++){const _0xbc4da9={'id':'doc.mutation.rich-text-editing','params':{..._0x53a134[_0x20f754]}},_0x57e691=this['_transformService'][_0x2719f9(0x1e0)](_0x3eb1bf,_0xbc4da9,!0x1);if(_0x5f1a7f(_0x57e691))throw _0x57e691['error'];_0x3eb1bf=_0x57e691[_0x2719f9(0x1ad)];}return{..._0x2ae11c[_0x2719f9(0x360)](_0x4d91a7),'mutations':[_0x3eb1bf]};}['_transformUndoRedoStack'](_0x8b8898){const _0x428253=_0x5496c8,{unitID:_0x247e8b}=_0x8b8898,_0x1403c3=this[_0x428253(0x366)][_0x428253(0x22e)](_0x247e8b)[_0x428253(0x30c)](_0x1d4c7b),{undoCache:_0x278ba1,redoCache:_0xa2801a}=_0x1403c3[_0x428253(0x392)]();if(_0x278ba1[_0x428253(0x2dc)]===0x0||_0xa2801a[_0x428253(0x2dc)]===0x0)return;const _0x3e95b5=[],_0xd3af93=[];let _0x3177ec=_0x2ae11c[_0x428253(0x360)](_0x8b8898['mutations'][0x0]),_0x237bce=_0x2ae11c['deepClone'](_0x8b8898[_0x428253(0x283)][0x0]);for(let _0xe46e7c=_0x278ba1['length']-0x1;_0xe46e7c>=0x0;_0xe46e7c--){const _0x266d22={'id':_0x428253(0x383),'params':{..._0x278ba1[_0xe46e7c]}},_0xb7cb7e={'id':_0x428253(0x383),'params':{..._0xa2801a[_0xe46e7c]}},_0x563270=this[_0x428253(0x32a)][_0x428253(0x1e0)](_0x3177ec,_0x266d22,!0x1),_0x41ecae=this[_0x428253(0x32a)][_0x428253(0x1e0)](_0x237bce,_0xb7cb7e,!0x1);if(_0x5f1a7f(_0x563270))throw _0x563270[_0x428253(0x232)];if(_0x5f1a7f(_0x41ecae))throw _0x41ecae[_0x428253(0x232)];_0x3e95b5[_0x428253(0x1d7)](_0x563270['m2Prime'][_0x428253(0x31f)]),_0xd3af93[_0x428253(0x1d7)](_0x41ecae[_0x428253(0x2a8)][_0x428253(0x31f)]),_0x3177ec=_0x563270['m1Prime'],_0x237bce=_0x41ecae[_0x428253(0x1ad)];}_0x1403c3['setUndoRedoMutationParamsCache']({'undoCache':_0x3e95b5,'redoCache':_0xd3af93});}['_transformPreviousActiveRange'](_0x51f54b){const _0x2b60ed=_0x5496c8,{unitID:_0x420eee}=_0x51f54b,_0x3c61f9=this[_0x2b60ed(0x366)][_0x2b60ed(0x22e)](_0x420eee)[_0x2b60ed(0x30c)](_0x1d4c7b),_0x184e86=_0x3c61f9['getActiveRange']();if(_0x184e86==null)return;const _0x5056a1=[{'id':_0x2b60ed(0x383),'params':{'unitId':_0x51f54b[_0x2b60ed(0x368)],'actions':null,'textRanges':[_0x184e86]}}],_0x3df9f3=this[_0x2b60ed(0x32a)][_0x2b60ed(0x23a)](_0x51f54b,_0x5056a1);if(!_0x38dac8(_0x3df9f3))throw _0x3df9f3[_0x2b60ed(0x232)];const _0x4d58db=_0x3df9f3[_0x2b60ed(0x2a8)][0x0][_0x2b60ed(0x31f)][_0x2b60ed(0x289)];Array[_0x2b60ed(0x333)](_0x4d58db)&&_0x4d58db[_0x2b60ed(0x2dc)]&&_0x3c61f9[_0x2b60ed(0x210)](_0x4d58db[0x0]);}};ne=tn([pe(0x0,_0x3809cb(_0x23463c)),pe(0x1,_0x230ef4),pe(0x2,_0x3e7629)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x578507,_0x331c8a,_0x584cd,_0xc16af6)=>{const _0x308f95=_0x5496c8;for(var _0x21c73e=_0xc16af6>0x1?void 0x0:_0xc16af6?sn(_0x331c8a,_0x584cd):_0x331c8a,_0x1b60d7=_0x578507[_0x308f95(0x2dc)]-0x1,_0x41bcc9;_0x1b60d7>=0x0;_0x1b60d7--)(_0x41bcc9=_0x578507[_0x1b60d7])&&(_0x21c73e=_0x41bcc9(_0x21c73e)||_0x21c73e);return _0x21c73e;},Ce=(_0x30f974,_0x314236)=>(_0x15250e,_0x25bb9e)=>_0x314236(_0x15250e,_0x25bb9e,_0x30f974);let re=class{constructor(_0x31a163,_0x4e3cfd,_0x122fc3){const _0x99c6db=_0x5496c8;this[_0x99c6db(0x233)]=_0x31a163,this[_0x99c6db(0x32a)]=_0x4e3cfd,this[_0x99c6db(0x22b)]=_0x122fc3;}[_0x5496c8(0x341)](_0x5caf3f){const _0x178e54=_0x5496c8;this[_0x178e54(0x249)](_0x5caf3f);}[_0x5496c8(0x1d5)](_0x518c29){const _0x515e8b=_0x5496c8,{unitID:_0x4e5023}=_0x518c29,{collaboration:_0x2143c4}=this[_0x515e8b(0x22b)]['getStateCache'](_0x4e5023);if(_0x2143c4[_0x515e8b(0x2dc)]===0x0)return _0x518c29;let _0x57c2a3=_0x2ae11c[_0x515e8b(0x360)](_0x518c29[_0x515e8b(0x283)][0x0]);for(let _0x5cacc9=0x0;_0x5cacc9<_0x2143c4[_0x515e8b(0x2dc)];_0x5cacc9++){const _0x8d1a38={'id':_0x515e8b(0x383),'params':{'unitId':_0x2143c4[_0x5cacc9][_0x515e8b(0x200)],..._0x2143c4[_0x5cacc9][_0x515e8b(0x395)]}},_0x135aa4=this[_0x515e8b(0x32a)]['transformMutation'](_0x57c2a3,_0x8d1a38,!0x1);if(_0x5f1a7f(_0x135aa4))throw _0x135aa4[_0x515e8b(0x232)];_0x57c2a3=_0x135aa4[_0x515e8b(0x1ad)];}return{..._0x2ae11c['deepClone'](_0x518c29),'mutations':[_0x57c2a3]};}['_transformHistoryAndStateStack'](_0x238f9c){const _0x23f57=_0x5496c8,{unitID:_0x58ab42}=_0x238f9c,{history:_0x2fc61a,collaboration:_0x21b5b9}=this['_docStateChangeManagerService'][_0x23f57(0x2f1)](_0x58ab42);if(_0x2fc61a[_0x23f57(0x2dc)]===0x0&&_0x21b5b9[_0x23f57(0x2dc)]===0x0)return;const _0x1f709f=[],_0x3793af=[];let _0x401d98=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]),_0x3a7783=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]);for(let _0x398d88=_0x2fc61a[_0x23f57(0x2dc)]-0x1;_0x398d88>=0x0;_0x398d88--){const _0x3a2d8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fc61a[_0x398d88][_0x23f57(0x200)],..._0x2fc61a[_0x398d88][_0x23f57(0x306)]}},_0x1d3199={'id':_0x23f57(0x383),'params':{'unitId':_0x2fc61a[_0x398d88][_0x23f57(0x200)],..._0x2fc61a[_0x398d88][_0x23f57(0x395)]}},_0x2af81e=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x401d98,_0x3a2d8d,!0x1),_0x155aa9=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x3a7783,_0x1d3199,!0x1);if(_0x5f1a7f(_0x2af81e))throw _0x2af81e[_0x23f57(0x232)];if(_0x5f1a7f(_0x155aa9))throw _0x155aa9[_0x23f57(0x232)];_0x1f709f[_0x23f57(0x1d7)]({..._0x2fc61a[_0x398d88],'undoState':_0x2af81e[_0x23f57(0x2a8)]['params'],'redoState':_0x155aa9[_0x23f57(0x2a8)][_0x23f57(0x31f)]}),_0x401d98=_0x2af81e[_0x23f57(0x1ad)],_0x3a7783=_0x155aa9[_0x23f57(0x1ad)];}_0x401d98=_0x2ae11c['deepClone'](_0x238f9c[_0x23f57(0x283)][0x0]),_0x3a7783=_0x2ae11c[_0x23f57(0x360)](_0x238f9c[_0x23f57(0x283)][0x0]);for(let _0x9dbcf7=_0x21b5b9[_0x23f57(0x2dc)]-0x1;_0x9dbcf7>=0x0;_0x9dbcf7--){const _0x30e00c={'id':_0x23f57(0x383),'params':{'unitId':_0x21b5b9[_0x9dbcf7][_0x23f57(0x200)],..._0x21b5b9[_0x9dbcf7][_0x23f57(0x306)]}},_0x56aad2={'id':_0x23f57(0x383),'params':{'unitId':_0x21b5b9[_0x9dbcf7][_0x23f57(0x200)],..._0x21b5b9[_0x9dbcf7][_0x23f57(0x395)]}},_0x4f1160=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x401d98,_0x30e00c,!0x1),_0x363c85=this[_0x23f57(0x32a)][_0x23f57(0x1e0)](_0x3a7783,_0x56aad2,!0x1);if(_0x5f1a7f(_0x4f1160))throw _0x4f1160['error'];if(_0x5f1a7f(_0x363c85))throw _0x363c85['error'];_0x3793af[_0x23f57(0x1d7)]({..._0x21b5b9[_0x9dbcf7],'undoState':_0x4f1160[_0x23f57(0x2a8)][_0x23f57(0x31f)],'redoState':_0x363c85[_0x23f57(0x2a8)][_0x23f57(0x31f)]}),_0x401d98=_0x4f1160[_0x23f57(0x1ad)],_0x3a7783=_0x363c85['m1Prime'];}this[_0x23f57(0x22b)][_0x23f57(0x19a)](_0x58ab42,{'history':_0x1f709f,'collaboration':_0x3793af});}};re=nn([Ce(0x0,_0x3809cb(_0x23463c)),Ce(0x1,_0x230ef4),Ce(0x2,_0x3809cb(_0x473259))],re);var rn=Object[_0x5496c8(0x1cb)],on=(_0x130951,_0x4f6c0e,_0x4726bf,_0x503cdb)=>{for(var _0x5a6753=_0x503cdb>0x1?void 0x0:_0x503cdb?rn(_0x4f6c0e,_0x4726bf):_0x4f6c0e,_0x5c7b3d=_0x130951['length']-0x1,_0x57cc3f;_0x5c7b3d>=0x0;_0x5c7b3d--)(_0x57cc3f=_0x130951[_0x5c7b3d])&&(_0x5a6753=_0x57cc3f(_0x5a6753)||_0x5a6753);return _0x5a6753;},tt=(_0x9747f1,_0x55b29c)=>(_0x271866,_0x4104a6)=>_0x55b29c(_0x271866,_0x4104a6,_0x9747f1);let oe=class{constructor(_0x2edc6a,_0x203ace){const _0x356d69=_0x5496c8;this['_injector']=_0x2edc6a,this[_0x356d69(0x32a)]=_0x203ace;}[_0x5496c8(0x2f0)](_0xf3f56d){const _0x1ea9c6=_0x5496c8;var _0x5bc4b1;const _0x2f2218=this[_0x1ea9c6(0x233)][_0x1ea9c6(0x1fb)](_0x41a6af),_0x408c95=(_0x5bc4b1=_0x2f2218[_0x1ea9c6(0x2ab)]())!=null?_0x5bc4b1:[];if(_0x408c95[_0x1ea9c6(0x2dc)]===0x0)return;const _0x149da2=_0xf3f56d[_0x1ea9c6(0x368)],_0x68f4ab=[{'id':_0x1ea9c6(0x383),'params':{'unitId':_0x149da2,'actions':null,'textRanges':_0x408c95}}],_0x165363=this[_0x1ea9c6(0x32a)]['transformMutationsWithChangeset'](_0xf3f56d,_0x68f4ab);if(!_0x38dac8(_0x165363))throw _0x165363[_0x1ea9c6(0x232)];const _0x3d0e13=_0x165363[_0x1ea9c6(0x2a8)][0x0][_0x1ea9c6(0x31f)][_0x1ea9c6(0x289)];Array[_0x1ea9c6(0x333)](_0x3d0e13)&&_0x3d0e13[_0x1ea9c6(0x2dc)]&&_0x2f2218['replaceDocRanges'](_0x3d0e13,{'unitId':_0x149da2,'subUnitId':_0x149da2},!0x1);}};oe=on([tt(0x0,_0x3809cb(_0x23463c)),tt(0x1,_0x230ef4)],oe);var an=Object[_0x5496c8(0x1cb)],cn=(_0x1ea5ce,_0x13c1ec,_0xe13f34,_0x5113d2)=>{for(var _0x1ab595=_0x5113d2>0x1?void 0x0:_0x5113d2?an(_0x13c1ec,_0xe13f34):_0x13c1ec,_0xdca830=_0x1ea5ce['length']-0x1,_0xfec5c4;_0xdca830>=0x0;_0xdca830--)(_0xfec5c4=_0x1ea5ce[_0xdca830])&&(_0x1ab595=_0xfec5c4(_0x1ab595)||_0x1ab595);return _0x1ab595;},U=(_0x3a48cd,_0x5b744d)=>(_0x5c4298,_0x32a15a)=>_0x5b744d(_0x5c4298,_0x32a15a,_0x3a48cd);let ae=class extends _0x192abb{constructor(_0x418e34,_0x3507b3,_0x146bf3,_0x129eec,_0xce6a0a,_0x2abd7a,_0x3021c6,_0xa1bc0f){const _0x242ed9=_0x5496c8;super(),_(this,_0x242ed9(0x2ba),new _0x4033d5(_0x233496[_0x242ed9(0x2c6)])),(this[_0x242ed9(0x22b)]=_0x418e34,this[_0x242ed9(0x32c)]=_0x3507b3,this['_docTransformIMECacheService']=_0x146bf3,this[_0x242ed9(0x262)]=_0x129eec,this['_docTransformSelectionsService']=_0xce6a0a,this[_0x242ed9(0x307)]=_0x2abd7a,this[_0x242ed9(0x1ac)]=_0x3021c6,this[_0x242ed9(0x2e1)]=_0xa1bc0f,this[_0x242ed9(0x1a2)]());}[_0x5496c8(0x1a2)](){const _0x5802a5=_0x5496c8;this[_0x5802a5(0x18f)](this[_0x5802a5(0x32c)][_0x5802a5(0x20a)][_0x5802a5(0x334)](_0x54cfe4=>{const _0xbae416=_0x5802a5,_0x2803a4=this[_0xbae416(0x22b)][_0xbae416(0x328)][_0xbae416(0x334)](_0xa48eae=>{const _0x52c85c=_0xbae416;if(_0xa48eae==null)return;const {unitId:_0x54d6bb,redoState:_0x368856,commandId:_0x412ff0}=_0xa48eae;if(_0x54d6bb!==_0x54cfe4[_0x52c85c(0x368)])return;const _0x4d410e={'id':_0x412ff0,'type':_0x409a82[_0x52c85c(0x345)],'params':{'unitId':_0x54d6bb,'actions':_0x368856['actions'],'textRanges':null}};_0x54cfe4[_0x52c85c(0x2b8)](_0x4d410e);});if(_0x54cfe4[_0xbae416(0x18f)](_0x2803a4),_0x54cfe4 instanceof _0x5a146d){const _0x5391be={'onTransformIME':_0x4d800a=>this[_0xbae416(0x291)][_0xbae416(0x1f2)](_0x4d800a),'onTransformState':_0x13f58c=>this[_0xbae416(0x262)]['transformStateCache'](_0x13f58c),'onTransformSelections':_0x24d829=>this[_0xbae416(0x393)][_0xbae416(0x2f0)](_0x24d829),'onSyncEditingCollabCursor':_0x3c13c8=>this['_docSyncEditingCollabCursorService'][_0xbae416(0x2b2)](_0x3c13c8),'onTransformRemoteChangesetByIMECache':_0x31c127=>this[_0xbae416(0x291)][_0xbae416(0x1d5)](_0x31c127),'onTransformRemoteChangesetByStateCache':_0x566a87=>this[_0xbae416(0x262)][_0xbae416(0x1d5)](_0x566a87)};_0x54cfe4['addHandlerCallback'](_0x5391be);}}));}};ae=cn([U(0x0,_0x3809cb(_0x473259)),U(0x1,_0x3809cb(_0x4f31e7)),U(0x2,_0x3809cb(ne)),U(0x3,_0x3809cb(re)),U(0x4,_0x3809cb(oe)),U(0x5,_0x3809cb(He)),U(0x6,_0x35577b),U(0x7,_0x3809cb(_0x59fd0b))],ae);var ln=Object[_0x5496c8(0x1cb)],_n=(_0x3d2d96,_0x5d9d06,_0xe9039c,_0xaa0cb8)=>{const _0x398e70=_0x5496c8;for(var _0x2531e6=_0xaa0cb8>0x1?void 0x0:_0xaa0cb8?ln(_0x5d9d06,_0xe9039c):_0x5d9d06,_0x2ffc41=_0x3d2d96[_0x398e70(0x2dc)]-0x1,_0x49c0d0;_0x2ffc41>=0x0;_0x2ffc41--)(_0x49c0d0=_0x3d2d96[_0x2ffc41])&&(_0x2531e6=_0x49c0d0(_0x2531e6)||_0x2531e6);return _0x2531e6;},Ee=(_0x544117,_0x3868dd)=>(_0x3b1190,_0x192702)=>_0x3868dd(_0x3b1190,_0x192702,_0x544117);let we=class extends _0x192abb{constructor(_0x455d06,_0x4205d7,_0x74eb54){const _0x5700ca=_0x5496c8;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5700ca(0x253),!0x1),(this[_0x5700ca(0x1eb)]=_0x455d06,this[_0x5700ca(0x25b)]=_0x4205d7,this['_revisionService']=_0x74eb54);}[_0x5496c8(0x292)](){const _0x4e469a=_0x5496c8;this[_0x4e469a(0x253)]=!0x0;}[_0x5496c8(0x30e)](){this['_disabled']=!0x1;}get[_0x5496c8(0x303)](){const _0x2d315c=_0x5496c8;return this[_0x2d315c(0x31c)];}[_0x5496c8(0x359)](){const _0xa62bf1=_0x5496c8;this[_0xa62bf1(0x28b)]()['then'](()=>super[_0xa62bf1(0x359)]());}async[_0x5496c8(0x340)](_0x1868b7){const _0x383bba=_0x5496c8;return this[_0x383bba(0x253)]?null:this[_0x383bba(0x25b)][_0x383bba(0x240)](_0x31ca79(_0x1868b7));}async[_0x5496c8(0x2d4)](_0xd46a6,_0x3bf4e5){const _0x2cfacc=_0x5496c8;return!!this['_localStorageService'][_0x2cfacc(0x30b)](_0xd46a6,_0x3bf4e5);}['updateOfflineData'](_0x31f7b4,_0x2d3f1c,_0x4c12fb,_0x2bb444){const _0x45139e=_0x5496c8,_0x3f9e3d=this[_0x45139e(0x248)][_0x45139e(0x325)](_0x31f7b4);this['_cachedData'][_0x45139e(0x2b6)](_0x31f7b4,{'unitID':_0x31f7b4,'type':_0x2d3f1c,'awaitingChangeset':_0x4c12fb,'mutations':_0x2bb444,'rev':_0x3f9e3d}),this[_0x45139e(0x31c)][_0x45139e(0x2aa)](_0x31f7b4)||this[_0x45139e(0x194)](_0x31f7b4);}[_0x5496c8(0x194)](_0x19dcba){const _0x19da5b=_0x5496c8,_0x19007d=this[_0x19da5b(0x2a6)]();_0x19007d===0x0?this[_0x19da5b(0x2d2)](_0x19dcba):this[_0x19da5b(0x31c)][_0x19da5b(0x2b6)](_0x19dcba,setTimeout(()=>this[_0x19da5b(0x2d2)](_0x19dcba),_0x19007d));}[_0x5496c8(0x2a6)](){const _0x397ec7=_0x5496c8;var _0x3a6f54;return(_0x3a6f54=this[_0x397ec7(0x1eb)]['getConfig'](_0x52f700))!=null?_0x3a6f54:_0x145f4a;}[_0x5496c8(0x2d2)](_0x580b67){const _0x186a99=_0x5496c8,_0x5bd7f9=this[_0x186a99(0x31c)]['get'](_0x580b67);return _0x5bd7f9!==void 0x0&&window[_0x186a99(0x23f)](_0x5bd7f9),this[_0x186a99(0x25b)][_0x186a99(0x30b)](_0x31ca79(_0x580b67),this[_0x186a99(0x222)]['get'](_0x580b67))['then'](()=>this['_saveTaskMap'][_0x186a99(0x2a2)](_0x580b67));}async[_0x5496c8(0x28b)](){const _0x502e02=_0x5496c8,_0x1830e9=[];this[_0x502e02(0x31c)][_0x502e02(0x34d)]((_0x4d8a9d,_0x3feae3)=>{const _0x2f6f42=_0x502e02;window[_0x2f6f42(0x23f)](_0x4d8a9d),_0x1830e9['push'](this[_0x2f6f42(0x2d2)](_0x3feae3)['then'](()=>{const _0x1c0cc7=_0x2f6f42;this[_0x1c0cc7(0x31c)][_0x1c0cc7(0x2a2)](_0x3feae3);}));}),await Promise[_0x502e02(0x271)](_0x1830e9);}};we=_n([Ee(0x0,_0x36b46d),Ee(0x1,_0x577f40),Ee(0x2,_0x3809cb(_0x12b76f))],we);class hn extends _0x2d29f3{constructor(){const _0x3a3a83=_0x5496c8;super(),_(this,_0x3a3a83(0x30d)),this['urlChange$']=_0x5d13c1(window,_0x3a3a83(0x190))['pipe'](_0x2926d6(this[_0x3a3a83(0x18b)]),_0x4bd4aa(0x1),_0x5784fc(void 0x0));}[_0x5496c8(0x1df)](_0x5369ab,_0x1cc3e3,_0x415621=!0x1){const _0xb6c311=_0x5496c8,_0x94ce6c=new URL(window[_0xb6c311(0x18d)][_0xb6c311(0x356)]);_0x94ce6c['searchParams'][_0xb6c311(0x2b6)](_0x5369ab,_0x1cc3e3),_0x415621?window['history'][_0xb6c311(0x1a5)]('','',_0x94ce6c[_0xb6c311(0x1ef)]()):window['history'][_0xb6c311(0x374)]('','',_0x94ce6c[_0xb6c311(0x1ef)]());}[_0x5496c8(0x34a)](_0x4894ea,_0x27ec70=!0x1){const _0x45ac79=_0x5496c8,_0xdbde05=new URL(window[_0x45ac79(0x18d)][_0x45ac79(0x356)]);_0xdbde05['searchParams'][_0x45ac79(0x2a2)](_0x4894ea),_0x27ec70?window[_0x45ac79(0x216)]['replaceState']('','',_0xdbde05[_0x45ac79(0x1ef)]()):window[_0x45ac79(0x216)][_0x45ac79(0x374)]('','',_0xdbde05[_0x45ac79(0x1ef)]());}[_0x5496c8(0x2ff)](_0x405b3c){const _0x3bc264=_0x5496c8;var _0xf8881;return(_0xf8881=new URL(window[_0x3bc264(0x18d)][_0x3bc264(0x356)])[_0x3bc264(0x2dd)][_0x3bc264(0x1fb)](_0x405b3c))!=null?_0xf8881:void 0x0;}}var un=Object[_0x5496c8(0x32b)],dn=Object[_0x5496c8(0x1cb)],fn=(_0x2b24b6,_0x35f39c,_0x2b629c)=>_0x35f39c in _0x2b24b6?un(_0x2b24b6,_0x35f39c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b629c}):_0x2b24b6[_0x35f39c]=_0x2b629c,Sn=(_0x5d4a5c,_0x3a16f3,_0x56f5c7,_0x6353f0)=>{const _0x4183db=_0x5496c8;for(var _0x3b3c8d=_0x6353f0>0x1?void 0x0:_0x6353f0?dn(_0x3a16f3,_0x56f5c7):_0x3a16f3,_0x435a3b=_0x5d4a5c[_0x4183db(0x2dc)]-0x1,_0x37f377;_0x435a3b>=0x0;_0x435a3b--)(_0x37f377=_0x5d4a5c[_0x435a3b])&&(_0x3b3c8d=_0x37f377(_0x3b3c8d)||_0x3b3c8d);return _0x3b3c8d;},Oe=(_0x5e2f79,_0x21186e)=>(_0x14297d,_0x19cf53)=>_0x21186e(_0x14297d,_0x19cf53,_0x5e2f79),mn=(_0x14e512,_0x36e23a,_0x3d96a3)=>fn(_0x14e512,_0x36e23a+'',_0x3d96a3);const In=_0x5496c8(0x38f);let Ae=class extends _0x374d6d{constructor(_0x36390a=et,_0x5d3683,_0x5cb856,_0x52af28){const _0xeeb359=_0x5496c8;super(),this[_0xeeb359(0x1ca)]=_0x36390a,this[_0xeeb359(0x366)]=_0x5d3683,this['_injector']=_0x5cb856,this[_0xeeb359(0x1eb)]=_0x52af28;const {..._0x1be567}=_0x509630({},et,this[_0xeeb359(0x1ca)]);this[_0xeeb359(0x1eb)]['setConfig'](Zi,_0x1be567);}[_0x5496c8(0x311)](){const _0x4a797f=_0x5496c8;this[_0x4a797f(0x35d)](),this[_0x4a797f(0x2c3)]();}['onRendered'](){const _0x3b2233=_0x5496c8;this[_0x3b2233(0x207)]();}[_0x5496c8(0x35d)](){const _0x4b9c70=_0x5496c8;var _0x158ba0;const _0x174a42=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xa620ed,{'useClass':_0x454ec9}],[_0x190cd5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x399daa(this['_injector'],_0x9417b2(_0x174a42,(_0x158ba0=this[_0x4b9c70(0x1ca)])==null?void 0x0:_0x158ba0[_0x4b9c70(0x28f)]));}[_0x5496c8(0x207)](){const _0x543ecb=_0x5496c8;this[_0x543ecb(0x18f)](this['_renderManagerService']['registerRenderModule'](_0x2c4d43[_0x543ecb(0x371)],[Le])),this[_0x543ecb(0x18f)](this[_0x543ecb(0x366)][_0x543ecb(0x2f6)](_0x2c4d43[_0x543ecb(0x18e)],[Pe]));}['_initDependencies'](){const _0x4b2e95=_0x5496c8;_0x21d869(this[_0x4b2e95(0x233)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x33b788(_0x44064c),Oe(0x1,_0x3e7629),Oe(0x2,_0x3809cb(_0x23463c)),Oe(0x3,_0x36b46d)],Ae);var gn=Object[_0x5496c8(0x1cb)],vn=(_0x5ed928,_0x34fd66,_0x45183a,_0x5ee834)=>{const _0x58d795=_0x5496c8;for(var _0x24dbb0=_0x5ee834>0x1?void 0x0:_0x5ee834?gn(_0x34fd66,_0x45183a):_0x34fd66,_0x2e559=_0x5ed928[_0x58d795(0x2dc)]-0x1,_0x336539;_0x2e559>=0x0;_0x2e559--)(_0x336539=_0x5ed928[_0x2e559])&&(_0x24dbb0=_0x336539(_0x24dbb0)||_0x24dbb0);return _0x24dbb0;},K=(_0x3bbf92,_0x5b4f47)=>(_0x3d70ae,_0x42fbff)=>_0x5b4f47(_0x3d70ae,_0x42fbff,_0x3bbf92);let st=class extends _0x2736e8{constructor(_0x3f706a,_0x587683,_0x3d8836,_0x2b328a,_0x1ea374){super(_0x3f706a,_0x587683,_0x3d8836,_0x2b328a,_0x1ea374);}async[_0x5496c8(0x296)](_0x205695){const _0x418651=_0x5496c8,_0x4a9d29=await this[_0x418651(0x1dc)](),_0x2ea8ae=this[_0x418651(0x373)](_0x205695,_0x4a9d29);return this[_0x418651(0x260)](_0x2ea8ae);}[_0x5496c8(0x373)](_0x68d1c9,_0x32282a){const _0x453340=_0x5496c8,_0xea290a=typeof window>'u'?new URL(_0x68d1c9):new URL(_0x68d1c9,window['location'][_0x453340(0x1f6)]);_0xea290a[_0x453340(0x2dd)][_0x453340(0x2b6)](_0x453340(0x228),_0x32282a);const _0x2c0d36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x453340(0x18d)][_0x453340(0x278)]);return _0x2c0d36['get'](_0x453340(0x2ef))&&_0xea290a[_0x453340(0x2dd)][_0x453340(0x2b6)](_0x453340(0x2ef),_0x2c0d36[_0x453340(0x1fb)]('runId')),_0xea290a['toString']();}async[_0x5496c8(0x1dc)](){const _0x5d479b=_0x5496c8;var _0x1780ee,_0x2b0f91,_0x36568e;const _0x327de3=this[_0x5d479b(0x1eb)]['getConfig'](_0xedf722),_0x3aa228=(_0x1780ee=_0x327de3==null?void 0x0:_0x327de3[_0x5d479b(0x313)])!=null?_0x1780ee:_0x521449;return(_0x36568e=(_0x2b0f91=(await this[_0x5d479b(0x302)][_0x5d479b(0x1fb)](_0x3aa228,{'headers':{'Content-Type':_0x5d479b(0x26f)}}))[_0x5d479b(0x2eb)])==null?void 0x0:_0x2b0f91[_0x5d479b(0x2ec)])!=null?_0x36568e:'';}};st=vn([K(0x0,_0x3809cb(_0x23463c)),K(0x1,_0x3809cb(_0x242867)),K(0x2,_0x36b46d),K(0x3,_0x396721),K(0x4,_0x2f5a1f)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x192abb{constructor(){const _0xb2ad52=_0x5496c8;super(),_(this,'_id',_0x3a76f8()),_(this,_0xb2ad52(0x335),new Set()),_(this,_0xb2ad52(0x2c2),new Map()),_(this,_0xb2ad52(0x264),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0xb2ad52(0x21d)]();}[_0x5496c8(0x359)](){const _0x4a9da4=_0x5496c8;super[_0x4a9da4(0x359)](),this[_0x4a9da4(0x377)][_0x4a9da4(0x34d)]((_0x862f17,_0x582d2e)=>this[_0x4a9da4(0x2d8)](_0x582d2e)),this[_0x4a9da4(0x264)]&&window[_0x4a9da4(0x369)](this[_0x4a9da4(0x264)]);}['getUnitStatus$'](_0x32dc8d){const _0x320bc6=_0x5496c8;return this[_0x320bc6(0x30f)](_0x32dc8d)['pipe'](_0x5a4047());}[_0x5496c8(0x31d)](_0x45bc61){const _0x2b47d0=_0x5496c8;this[_0x2b47d0(0x335)][_0x2b47d0(0x380)]===0x0&&this[_0x2b47d0(0x332)](),this[_0x2b47d0(0x335)][_0x2b47d0(0x286)](_0x45bc61),this['_send']({'type':0x0,'memberID':this[_0x2b47d0(0x34f)],'unitIDs':[_0x45bc61],'isForwarded':!0x1});}['disposeUnit'](_0x39b627){const _0x5dadb5=_0x5496c8;this['_selfUnitIDs'][_0x5dadb5(0x2a2)](_0x39b627),this[_0x5dadb5(0x335)][_0x5dadb5(0x380)]===0x0&&this[_0x5dadb5(0x264)]&&window[_0x5dadb5(0x369)](this[_0x5dadb5(0x264)]);}[_0x5496c8(0x21d)](){const _0x5b9db4=_0x5496c8;this[_0x5b9db4(0x18f)](_0x3ad409(_0x5d13c1(window,_0x5b9db4(0x25c))[_0x5b9db4(0x334)](_0x321040=>{const _0x475d94=_0x5b9db4;if(_0x321040[_0x475d94(0x274)]!==nt||!_0x321040[_0x475d94(0x29f)])return;const _0x214426=JSON['parse'](_0x321040[_0x475d94(0x29f)]);this['_handleEvent'](_0x214426);}))),window[_0x5b9db4(0x2bd)](_0x5b9db4(0x2b4),()=>this[_0x5b9db4(0x22d)]({'type':0x1,'memberID':this[_0x5b9db4(0x34f)],'unitIDs':Array[_0x5b9db4(0x391)](this[_0x5b9db4(0x335)])}));}[_0x5496c8(0x236)](_0x265ad4){const _0x545c71=_0x5496c8;switch(_0x265ad4['type']){case 0x0:this['_handleJoinEvent'](_0x265ad4);break;case 0x1:this[_0x545c71(0x34c)](_0x265ad4);break;case 0x2:this[_0x545c71(0x2d5)](_0x265ad4);break;}}[_0x5496c8(0x217)](_0x284fa9){const _0x2130a8=_0x5496c8,{unitIDs:_0x46691e,memberID:_0x82f337,isForwarded:_0x500072}=_0x284fa9;_0x46691e[_0x2130a8(0x34d)](_0x4b1588=>{const _0x4047d2=_0x2130a8;if(!_0x500072&&this[_0x4047d2(0x2c2)]['has'](_0x4b1588)&&this[_0x4047d2(0x30f)](_0x4b1588)[_0x4047d2(0x2f8)](_0x295889['OTHER_CLIENTS_EDITING']),!this[_0x4047d2(0x2c2)][_0x4047d2(0x2aa)](_0x4b1588)||!this['_unitOnClients']['get'](_0x4b1588)[_0x4047d2(0x2aa)](_0x82f337)){const _0xf85434=this[_0x4047d2(0x2c2)][_0x4047d2(0x1fb)](_0x4b1588)||new Set();_0xf85434[_0x4047d2(0x286)](_0x82f337),this[_0x4047d2(0x2c2)][_0x4047d2(0x2b6)](_0x4b1588,_0xf85434),this[_0x4047d2(0x38d)](_0x82f337);}}),_0x500072||this[_0x2130a8(0x22d)]({'type':0x0,'memberID':this[_0x2130a8(0x34f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x8bbd2f){const _0x100725=_0x5496c8;this[_0x100725(0x2d8)](_0x8bbd2f);const _0x353a57=window['setTimeout'](()=>{const _0x10e719=_0x100725;this[_0x10e719(0x2c2)][_0x10e719(0x34d)](_0x5df274=>{const _0x1452a5=_0x10e719;_0x5df274[_0x1452a5(0x2a2)](_0x8bbd2f);});},it*0x2);this['_clearOtherTimers'][_0x100725(0x2b6)](_0x8bbd2f,_0x353a57);}[_0x5496c8(0x2d8)](_0x279854){const _0x2d4a96=_0x5496c8;if(this[_0x2d4a96(0x377)]['has'](_0x279854)){const _0x4ab7e7=this[_0x2d4a96(0x377)][_0x2d4a96(0x1fb)](_0x279854);_0x4ab7e7&&window[_0x2d4a96(0x23f)](_0x4ab7e7),this[_0x2d4a96(0x377)][_0x2d4a96(0x2b6)](_0x279854,null);}}['_handleLeaveEvent'](_0x266248){const _0x48acdf=_0x5496c8,{memberID:_0x4df98c,unitIDs:_0x19671e}=_0x266248;_0x19671e[_0x48acdf(0x34d)](_0x15a6cd=>{const _0x179170=_0x48acdf;var _0xbfce97;const _0x39be4e=this[_0x179170(0x2c2)][_0x179170(0x1fb)](_0x15a6cd);_0x39be4e&&(_0x39be4e[_0x179170(0x2a2)](_0x4df98c),(_0xbfce97=this[_0x179170(0x30f)](_0x15a6cd))==null||_0xbfce97['next'](_0x39be4e[_0x179170(0x380)]===0x0?_0x295889[_0x179170(0x2d1)]:_0x295889[_0x179170(0x1fe)]));}),this['_removeClearOtherTimer'](_0x4df98c);}[_0x5496c8(0x2d5)](_0x244c40){const _0x1a04c1=_0x5496c8;this[_0x1a04c1(0x38d)](_0x244c40[_0x1a04c1(0x1d0)]);}[_0x5496c8(0x22d)](_0x2f54eb){const _0x542a19=_0x5496c8;localStorage[_0x542a19(0x30b)](nt,JSON[_0x542a19(0x31e)](_0x2f54eb));}[_0x5496c8(0x332)](){const _0x415e8c=_0x5496c8;this[_0x415e8c(0x264)]=window[_0x415e8c(0x327)](()=>{const _0x48ea64=_0x415e8c;this[_0x48ea64(0x22d)]({'type':0x2,'memberID':this['_id']});},it);}[_0x5496c8(0x30f)](_0x36bc32){const _0x4a5a78=_0x5496c8;return this[_0x4a5a78(0x1b8)][_0x4a5a78(0x2aa)](_0x36bc32)||this[_0x4a5a78(0x1b8)]['set'](_0x36bc32,new _0x4033d5(_0x295889[_0x4a5a78(0x2d1)])),this[_0x4a5a78(0x1b8)][_0x4a5a78(0x1fb)](_0x36bc32);}}var Mt=(_0x1d3684=>(_0x1d3684[_0x1d3684['UNDEFINED']=0x0]=_0x5496c8(0x349),_0x1d3684[_0x1d3684['OK']=0x1]='OK',_0x1d3684[_0x1d3684[_0x5496c8(0x387)]=0x2]=_0x5496c8(0x387),_0x1d3684[_0x1d3684['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1d3684[_0x1d3684[_0x5496c8(0x195)]=0x4]=_0x5496c8(0x195),_0x1d3684[_0x1d3684[_0x5496c8(0x234)]=0x5]=_0x5496c8(0x234),_0x1d3684[_0x1d3684[_0x5496c8(0x2a5)]=0x6]=_0x5496c8(0x2a5),_0x1d3684[_0x1d3684['INVALID_ARGUMENT']=0x7]=_0x5496c8(0x2f5),_0x1d3684[_0x1d3684[_0x5496c8(0x1dd)]=0x8]=_0x5496c8(0x1dd),_0x1d3684[_0x1d3684[_0x5496c8(0x324)]=0x9]=_0x5496c8(0x324),_0x1d3684[_0x1d3684[_0x5496c8(0x351)]=0xa]=_0x5496c8(0x351),_0x1d3684[_0x1d3684[_0x5496c8(0x337)]=0xb]=_0x5496c8(0x337),_0x1d3684[_0x1d3684[_0x5496c8(0x223)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d3684[_0x1d3684[_0x5496c8(0x352)]=0xd]=_0x5496c8(0x352),_0x1d3684[_0x1d3684[_0x5496c8(0x34b)]=0xe]=_0x5496c8(0x34b),_0x1d3684[_0x1d3684[_0x5496c8(0x1bb)]=0x1389]=_0x5496c8(0x1bb),_0x1d3684[_0x1d3684[_0x5496c8(0x397)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1d3684[_0x1d3684[_0x5496c8(0x330)]=0x1772]=_0x5496c8(0x330),_0x1d3684[_0x1d3684['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5496c8(0x2db),_0x1d3684[_0x1d3684['APPLY_REJECT']=0x1b59]=_0x5496c8(0x2ae),_0x1d3684[_0x1d3684[_0x5496c8(0x2bb)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1d3684[_0x1d3684[_0x5496c8(0x20b)]=0x1b5b]=_0x5496c8(0x20b),_0x1d3684[_0x1d3684[_0x5496c8(0x2a7)]=0x1b5c]=_0x5496c8(0x2a7),_0x1d3684[_0x1d3684[_0x5496c8(0x37d)]=0x1b5d]='APPLY_DUPLICATED',_0x1d3684[_0x1d3684[_0x5496c8(0x37e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1d3684[_0x1d3684[_0x5496c8(0x188)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1d3684[_0x1d3684[_0x5496c8(0x20d)]=0x232a]=_0x5496c8(0x20d),_0x1d3684[_0x1d3684[_0x5496c8(0x259)]=0x232b]=_0x5496c8(0x259),_0x1d3684[_0x1d3684[_0x5496c8(0x2b3)]=0x232c]=_0x5496c8(0x2b3),_0x1d3684[_0x1d3684[_0x5496c8(0x1cd)]=0x232d]=_0x5496c8(0x1cd),_0x1d3684[_0x1d3684['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5496c8(0x2a9),_0x1d3684[_0x1d3684['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5496c8(0x272),_0x1d3684[_0x1d3684[_0x5496c8(0x298)]=0x2713]=_0x5496c8(0x298),_0x1d3684[_0x1d3684['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1d3684[_0x1d3684['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5496c8(0x295),_0x1d3684[_0x1d3684['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5496c8(0x1c4),_0x1d3684[_0x1d3684[_0x5496c8(0x24d)]=0x271c]=_0x5496c8(0x24d),_0x1d3684[_0x1d3684[_0x5496c8(0x36d)]=0x271d]=_0x5496c8(0x36d),_0x1d3684[_0x1d3684[_0x5496c8(0x2f2)]=0x271e]=_0x5496c8(0x2f2),_0x1d3684[_0x1d3684[_0x5496c8(0x2ca)]=0x271f]=_0x5496c8(0x2ca),_0x1d3684[_0x1d3684['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5496c8(0x2f4),_0x1d3684[_0x1d3684['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5496c8(0x1cc),_0x1d3684[_0x1d3684[_0x5496c8(0x309)]=0x2ee1]=_0x5496c8(0x309),_0x1d3684[_0x1d3684[_0x5496c8(0x1f1)]=0x2ee2]=_0x5496c8(0x1f1),_0x1d3684[_0x1d3684[_0x5496c8(0x1d8)]=0x2ee3]=_0x5496c8(0x1d8),_0x1d3684[_0x1d3684[_0x5496c8(0x1e4)]=0x2ee4]=_0x5496c8(0x1e4),_0x1d3684[_0x1d3684['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d3684[_0x1d3684['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5496c8(0x2c4),_0x1d3684[_0x1d3684[_0x5496c8(0x1ce)]=0x32ca]=_0x5496c8(0x1ce),_0x1d3684[_0x1d3684['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5496c8(0x381),_0x1d3684[_0x1d3684[_0x5496c8(0x32e)]=-0x1]=_0x5496c8(0x32e),_0x1d3684))(Mt||{}),pn=Object[_0x5496c8(0x1cb)],Cn=(_0x5b4b6a,_0x5e11ee,_0x4b762e,_0x29b4c3)=>{const _0x38534e=_0x5496c8;for(var _0x387891=_0x29b4c3>0x1?void 0x0:_0x29b4c3?pn(_0x5e11ee,_0x4b762e):_0x5e11ee,_0x5470fc=_0x5b4b6a[_0x38534e(0x2dc)]-0x1,_0x345b17;_0x5470fc>=0x0;_0x5470fc--)(_0x345b17=_0x5b4b6a[_0x5470fc])&&(_0x387891=_0x345b17(_0x387891)||_0x387891);return _0x387891;},be=(_0x569bae,_0x5ac5d5)=>(_0x1f43f1,_0x207be7)=>_0x5ac5d5(_0x1f43f1,_0x207be7,_0x569bae);let rt=class extends _0x192abb{constructor(_0x4627ce,_0x2883d6,_0x540424){const _0x19446d=_0x5496c8;super(),this[_0x19446d(0x35a)]=_0x4627ce,this[_0x19446d(0x302)]=_0x2883d6,this[_0x19446d(0x1eb)]=_0x540424;}async[_0x5496c8(0x2ee)](_0x55e2d1,_0x347a70,_0x1ef577,..._0x2f75d7){const _0x4ddb88=_0x5496c8;var _0x5462a8,_0x19d18c,_0x5ab088,_0x37748b;const _0x950dc6=this[_0x4ddb88(0x35a)]['getFocusedUnit']();if(!_0x950dc6)throw new Error(_0x4ddb88(0x331));const _0x12bbb8=((_0x5462a8=this[_0x4ddb88(0x1eb)][_0x4ddb88(0x1c7)](_0x3fc2aa))!=null?_0x5462a8:_0x122fe8)+'/'+_0x55e2d1+_0x4ddb88(0x261)+_0x347a70,_0x2f6884=new URL(window['location'][_0x4ddb88(0x356)]),_0x4fa244={'scriptId':_0x55e2d1,'runId':(_0x19d18c=_0x2f6884[_0x4ddb88(0x2dd)][_0x4ddb88(0x1fb)](_0x4ddb88(0x2ef)))!=null?_0x19d18c:'','function':_0x347a70,'unitId':_0x950dc6[_0x4ddb88(0x237)](),'argsOfFunction':JSON[_0x4ddb88(0x31e)](_0x2f75d7),'invokeId':(_0x5ab088=_0x1ef577[_0x4ddb88(0x2c8)])!=null?_0x5ab088:'','executionId':(_0x37748b=_0x1ef577[_0x4ddb88(0x1f4)])!=null?_0x37748b:''};try{const _0x405d9e=await this['_httpService'][_0x4ddb88(0x2d9)](_0x12bbb8,{'body':_0x4fa244});return _0x405d9e[_0x4ddb88(0x2eb)]['error']&&_0x405d9e[_0x4ddb88(0x2eb)][_0x4ddb88(0x232)][_0x4ddb88(0x21f)]!==Mt['OK']?'Failed':_0x405d9e[_0x4ddb88(0x2eb)]['result'];}catch{return _0x4ddb88(0x206);}}};function _0x6cac(_0x15aa0f,_0x2b9cdf){const _0x245daa=_0x245d();return _0x6cac=function(_0x6cacc0,_0x43f75e){_0x6cacc0=_0x6cacc0-0x185;let _0x1914f4=_0x245daa[_0x6cacc0];return _0x1914f4;},_0x6cac(_0x15aa0f,_0x2b9cdf);}rt=Cn([be(0x0,_0x46dfe1),be(0x1,_0x3809cb(_0x242867)),be(0x2,_0x36b46d)],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 _0x18de5d=_0xe352;(function(_0x539628,_0x206b3a){const _0x320601=_0xe352,_0x3f8ea6=_0x539628();while(!![]){try{const _0x4a6dba=-parseInt(_0x320601(0x16c))/0x1+parseInt(_0x320601(0x1a0))/0x2+-parseInt(_0x320601(0x2e8))/0x3+parseInt(_0x320601(0x1ed))/0x4+-parseInt(_0x320601(0x196))/0x5*(parseInt(_0x320601(0x2b2))/0x6)+parseInt(_0x320601(0x264))/0x7+parseInt(_0x320601(0x2d4))/0x8*(parseInt(_0x320601(0x1b7))/0x9);if(_0x4a6dba===_0x206b3a)break;else _0x3f8ea6['push'](_0x3f8ea6['shift']());}catch(_0x30283f){_0x3f8ea6['push'](_0x3f8ea6['shift']());}}}(_0x550c,0x8235c));var xt=Object[_0x18de5d(0x103)],Bt=(_0x2116f0,_0x1ac8c8,_0x4f8560)=>_0x1ac8c8 in _0x2116f0?xt(_0x2116f0,_0x1ac8c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f8560}):_0x2116f0[_0x1ac8c8]=_0x4f8560,_=(_0x2f967e,_0x2a3d7e,_0x2df058)=>Bt(_0x2f967e,typeof _0x2a3d7e!='symbol'?_0x2a3d7e+'':_0x2a3d7e,_0x2df058);import{MemberService as _0x2ab735,SessionStatus as _0x27f434,CollaborationSessionService as _0x1d5bd1,CollaborationStatus as _0x192957,CollaborationController as _0x1167f7,ILocalCacheService as _0x273c40,CollaborationUIEventService as _0x39fba4,CollaborationUIEventId as _0x300448,DataLoaderService as _0x47cfe2,DocCollaborationEntity as _0x6aac4f,getLocalCacheKey as _0x124539,LOCAL_CACHE_INTERVAL as _0x19264a,LOCAL_CACHE_INTERVAL_KEY as _0xbb93be,UniverCollaborationClientPlugin as _0x2a1d4f,CollaborationSocketService as _0x48f06e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ad869,DEFAULT_WS_SESSION_TICKET_URL as _0x45f8f1,UnitStatus as _0x337f3c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x283f6e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x7603b3}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xe69302,Disposable as _0x5e9afd,DOC_RANGE_TYPE as _0x2b092a,Inject as _0x27c970,Injector as _0x7beb97,IUniverInstanceService as _0x48742b,ICommandService as _0x222f85,debounce as _0x43c58c,Rectangle as _0x2955bb,DisposableCollection as _0x2316aa,toDisposable as _0x354fba,UniverInstanceType as _0x4ab320,generateRandomId as _0x32a801,COLORS as _0x846643,ColorKit as _0x58f8b0,ThemeService as _0x4803fd,fromEventSubject as _0x2126c5,LocaleService as _0x15b547,createIdentifier as _0x2c805a,ILogService as _0x1ad422,Optional as _0x2dd769,Workbook as _0x2050e1,Tools as _0x5c24bc,CommandType as _0x632a67,IConfigService as _0x5a44c0,ILocalStorageService as _0x41414d,DependentOn as _0x59014c,Plugin as _0x794544,merge as _0x15a876,registerDependencies as _0xf2e9b9,mergeOverrideWithDependencies as _0x689443,touchDependencies as _0x404b43}from'@univerjs/core';import{Shape as _0x19e2fb,Rect as _0x5622b6,getColor as _0x2bf2b5,RegularPolygon as _0x193968,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23d10c,Vector2 as _0x1a0c82,SHEET_VIEWPORT_KEY as _0x398043,IRenderManagerService as _0x4e12ea}from'@univerjs/engine-render';import{ISocketService as _0x10d7cb,WebSocketService as _0x45968c,HTTPService as _0x509113}from'@univerjs/network';import{IDocClipboardService as _0x47e1fb,NodePositionConvertToCursor as _0x4a24af,NodePositionConvertToRectRange as _0xeaf467,TEXT_RANGE_LAYER_INDEX as _0x4607b1,SetDocZoomRatioOperation as _0x398063,DocIMEInputManagerService as _0x159c0f,DocStateChangeManagerService as _0x4eed79}from'@univerjs/docs-ui';import{IImageIoService as _0x27d845}from'@univerjs/drawing';import{BehaviorSubject as _0x431026,debounceTime as _0x30f68d,takeUntil as _0x136ebe,Subject as _0x5abbbf,filter as _0x2f6546,switchMap as _0x4c6389,merge as _0x1d4312,combineLatest as _0x1e9bc8,of as _0x265266,fromEvent as _0x560f4a,shareReplay as _0x536179,mapTo as _0x45eac3,distinctUntilChanged as _0x314626}from'rxjs';import{ITransformService as _0x4bff0c,CollaborationEvent as _0x47eac6,isTransformMutationFailure as _0x19dd6d,isTransformMutationsWithChangesetSuccess as _0x26ca1a,RevisionService as _0x2cd314,ISnapshotServerService as _0x431378}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x46d39b,RichTextEditingMutation as _0x4f828a,DocSelectionManagerService as _0x2bc17f,DocSkeletonManagerService as _0x3e3ad0}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x57d5d6,serializeRangeWithSheet as _0x3447d2}from'@univerjs/engine-formula';import{RefRangeService as _0x1267ae,SetSelectionsOperation as _0x11570d,SheetsSelectionsService as _0x155772,EffectRefRangId as _0x268c74,handleIRemoveRow as _0x42f8fe,handleIRemoveCol as _0x5bc5bd,handleMoveRange as _0x4f2e52,handleInsertRow as _0x25acd8,handleInsertRangeMoveRight as _0x5cde96,handleInsertRangeMoveDown as _0x20c12d,handleInsertCol as _0x3d548,handleDeleteRangeMoveUp as _0x20da51,handleDeleteRangeMoveLeft as _0x16e682,runRefRangeMutations as _0x4e0653,SetWorksheetActivateCommand as _0x3381d9}from'@univerjs/sheets';import{map as _0x38bf7e,filter as _0x35cd04,throttleTime as _0x5c573a,takeUntil as _0x3906c5,switchMap as _0x3bf2d8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1f8045,getCoordByCell as _0x2ab3df,getSheetObject as _0x16ddec}from'@univerjs/sheets-ui';import{jsx as _0x619bd9,jsxs as _0x5737ed}from'react/jsx-runtime';import{useObservable as _0xbc7e0b,useDependency as _0x5a7d83,IUIPartsService as _0x3637ea,BuiltInUIPart as _0x5c1c60,connectInjector as _0x50b3d9,IBeforeCloseService as _0x4a1c48,IMessageService as _0x2796cd,INotificationService as _0x519ea3}from'@univerjs/ui';import{Tooltip as _0x5a73ab,clsx as _0x569fc6,MessageType as _0x95506e}from'@univerjs/design';import{forwardRef as _0x17dafc,useRef as _0x72d1d7,createElement as _0x100c76,useCallback as _0x30bc1f}from'react';import{IRemoteInstanceService as _0x2fef78}from'@univerjs/rpc';var ci=Object[_0x18de5d(0x1d6)],li=(_0x3b0329,_0x1777d2,_0x4adeaa,_0x413c02)=>{for(var _0x2d409c=_0x413c02>0x1?void 0x0:_0x413c02?ci(_0x1777d2,_0x4adeaa):_0x1777d2,_0x538502=_0x3b0329['length']-0x1,_0x50f89c;_0x538502>=0x0;_0x538502--)(_0x50f89c=_0x3b0329[_0x538502])&&(_0x2d409c=_0x50f89c(_0x2d409c)||_0x2d409c);return _0x2d409c;},Ze=(_0x1ca19a,_0x151444)=>(_0x5a5b52,_0xaf8f2c)=>_0x151444(_0x5a5b52,_0xaf8f2c,_0x1ca19a);let Ue=class extends _0xe69302{constructor(_0x2308c7,_0x39f586){const _0x4a4eee=_0x18de5d;super(),this['_docClipboardService']=_0x2308c7,this[_0x4a4eee(0x171)]=_0x39f586,this['_init']();}[_0x18de5d(0x1e9)](){const _0x48ef44=_0x18de5d,_0x1cd049=this;this[_0x48ef44(0x235)](this[_0x48ef44(0x2fb)][_0x48ef44(0x1d8)]({'onBeforePasteImage':async _0x5c8ce2=>{const _0x197130=_0x48ef44,_0x1677b8=await _0x1cd049[_0x197130(0x171)][_0x197130(0x257)](_0x5c8ce2);return _0x1677b8?{'source':_0x1677b8[_0x197130(0x120)],'imageSourceType':_0x1677b8[_0x197130(0x280)]}:null;}}));}};Ue=li([Ze(0x0,_0x47e1fb),Ze(0x1,_0x27d845)],Ue);const Qe=['purple.300',_0x18de5d(0x285),_0x18de5d(0x156),_0x18de5d(0x2f0),_0x18de5d(0xfe),_0x18de5d(0x2b9)];class He extends _0x5e9afd{constructor(){const _0x3116d0=_0x18de5d;super(...arguments),_(this,_0x3116d0(0x1b5),new Map()),_(this,_0x3116d0(0x249),0x0);}[_0x18de5d(0xfc)](_0xbc4e9f){const _0x1deb8b=_0x18de5d;if(this[_0x1deb8b(0x1b5)][_0x1deb8b(0x145)](_0xbc4e9f))return this[_0x1deb8b(0x1b5)][_0x1deb8b(0x160)](_0xbc4e9f);const _0x4cd6c2=Qe[this[_0x1deb8b(0x249)]];return this[_0x1deb8b(0x249)]=(this[_0x1deb8b(0x249)]+0x1)%Qe['length'],this['_assignedColors']['set'](_0xbc4e9f,_0x4cd6c2),_0x4cd6c2;}}function Rt(_0x3a4090){let _0xf71c61='';for(const _0x13a2fd of _0x3a4090){const {startOffset:_0x34ce22,endOffset:_0x1fec14,isActive:_0x292828,rangeType:_0x46c1a0,segmentId:_0x2f8427,segmentPage:_0x573955}=_0x13a2fd;_0xf71c61['length']&&(_0xf71c61+=','),_0xf71c61+=_0x34ce22+':'+_0x1fec14+':'+(_0x292828?'1':'0')+':'+_0x46c1a0+':'+_0x2f8427+':'+_0x573955;}return _0xf71c61;}function _i(_0x2ad37f){const _0xc5e969=_0x18de5d,_0x283561=_0x2ad37f[_0xc5e969(0x12e)](','),_0x2cf88f=[];for(const _0x4aa9ca of _0x283561){const [_0x53d7a1,_0x2bec17,_0x3f8b2f,_0x51f1f5,_0xeae4a4,_0x122df1]=_0x4aa9ca['split'](':');_0x2cf88f[_0xc5e969(0x276)]({'startOffset':Number(_0x53d7a1),'endOffset':Number(_0x2bec17),'collapsed':_0x53d7a1===_0x2bec17,'isActive':_0x3f8b2f==='1','rangeType':_0x51f1f5===_0x2b092a[_0xc5e969(0x181)]?_0x2b092a['TEXT']:_0x2b092a['RECT'],'segmentId':typeof _0xeae4a4==_0xc5e969(0x219)?String(_0xeae4a4):'','segmentPage':Number(_0x122df1!=null?_0x122df1:-0x1)});}return _0x2cf88f[_0xc5e969(0x2f8)](_0x2bfb83=>_0x2bfb83['isActive'])||(_0x2cf88f[0x0][_0xc5e969(0x129)]=!0x0),_0x2cf88f;}class Fe extends _0xe69302{constructor(){const _0x95e672=_0x18de5d;super(...arguments),_(this,_0x95e672(0x263),new _0x431026(null)),_(this,_0x95e672(0x2b1),this[_0x95e672(0x263)]['asObservable']());}[_0x18de5d(0x1f6)](_0x2ad0e2){const _0x38331d=_0x18de5d,{unitID:_0x56dfd5,memberID:_0x3dfd1c,textRanges:_0x37eafe}=_0x2ad0e2,_0x588136=Rt(_0x37eafe);if(_0x588136==='')return;const _0x1f7bb6={'unitID':_0x56dfd5,'memberID':_0x3dfd1c,'selection':_0x588136};this[_0x38331d(0x263)]['next'](_0x1f7bb6);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x37b7f4,_0x124bc9,_0xa21ab9,_0x40c78f)=>{const _0x57e1ba=_0x18de5d;for(var _0x1019af=_0x40c78f>0x1?void 0x0:_0x40c78f?hi(_0x124bc9,_0xa21ab9):_0x124bc9,_0x5eacae=_0x37b7f4[_0x57e1ba(0x17c)]-0x1,_0x40f6f9;_0x5eacae>=0x0;_0x5eacae--)(_0x40f6f9=_0x37b7f4[_0x5eacae])&&(_0x1019af=_0x40f6f9(_0x1019af)||_0x1019af);return _0x1019af;},P=(_0x1d24bd,_0x4bcecc)=>(_0x20ee84,_0xa1595c)=>_0x4bcecc(_0x20ee84,_0xa1595c,_0x1d24bd);const di=0x12c,fi=0x64;let Me=class extends _0xe69302{constructor(_0x397788,_0x481e78,_0x3a675a,_0x192124,_0x394eff,_0x441285,_0x5bcfb3,_0xdf5c9f,_0x3ef3aa){const _0x497bd4=_0x18de5d;super(),_(this,'_online',!0x1),_(this,_0x497bd4(0x1e9),!0x1),_(this,_0x497bd4(0x2b7),new _0x431026(new Map())),_(this,'cursorInfo$',this[_0x497bd4(0x2b7)][_0x497bd4(0x277)]()),_(this,_0x497bd4(0x132),new _0x431026([])),_(this,_0x497bd4(0x12d),this[_0x497bd4(0x132)]['pipe'](_0x30f68d(di))),_(this,_0x497bd4(0x127),_0x43c58c(_0x17ec88=>{const _0x6f3075=_0x497bd4,_0x28f410={'eventID':_0x47eac6[_0x6f3075(0x126)],'data':{'unitID':this['unitID'],'memberID':this[_0x6f3075(0x2d7)]['getMemberID'](),'selection':Rt(_0x17ec88)}};this['_session'][_0x6f3075(0x292)](_0x28f410,this['unitID']);},fi)),(this[_0x497bd4(0x1b1)]=_0x397788,this['_session']=_0x481e78,this[_0x497bd4(0x174)]=_0x3a675a,this['_colorAssignService']=_0x192124,this[_0x497bd4(0x20d)]=_0x394eff,this[_0x497bd4(0x23f)]=_0x441285,this['_transformService']=_0x5bcfb3,this[_0x497bd4(0x2e4)]=_0xdf5c9f,this['_commandService']=_0x3ef3aa);}get[_0x18de5d(0x2cd)](){const _0x5561de=_0x18de5d;return this['_cursorInfo$'][_0x5561de(0x26e)]();}get['roomMembers'](){const _0x29b98c=_0x18de5d;return this['_roomMembers$'][_0x29b98c(0x26e)]();}[_0x18de5d(0x182)](){const _0x4214f1=_0x18de5d;super[_0x4214f1(0x182)](),this['_cursorInfo$'][_0x4214f1(0x1b8)](new Map()),this[_0x4214f1(0x2b7)][_0x4214f1(0x115)](),this[_0x4214f1(0x132)][_0x4214f1(0x1b8)]([]),this[_0x4214f1(0x132)][_0x4214f1(0x115)]();}[_0x18de5d(0x26a)](){const _0xe7ace=_0x18de5d;this[_0xe7ace(0x1e9)]||(this[_0xe7ace(0x1e9)]=!0x0,this['_session']['sessionStatus$'][_0xe7ace(0x1d4)](_0x136ebe(this[_0xe7ace(0x10f)]))['subscribe'](_0x4b1289=>{const _0xd1c543=_0xe7ace;_0x4b1289===_0x27f434[_0xd1c543(0x1a2)]?this[_0xd1c543(0x180)]():this[_0xd1c543(0x1ac)]();}),this[_0xe7ace(0x2d7)]['event$'][_0xe7ace(0x1d4)](_0x136ebe(this['dispose$']))[_0xe7ace(0x18c)](_0x1b1a31=>{const _0xa72d96=_0xe7ace,_0x395939=_0x1b1a31[_0xa72d96(0x2a3)];_0x395939===_0x47eac6[_0xa72d96(0x126)]&&this[_0xa72d96(0x1b9)](_0x1b1a31),_0x395939===_0x47eac6[_0xa72d96(0x118)]&&this[_0xa72d96(0x26d)](_0x1b1a31);}),this[_0xe7ace(0x235)](this[_0xe7ace(0x1d3)][_0xe7ace(0x2ba)](_0x3e224e=>{const _0x4323d8=_0xe7ace,_0x1efcbd=_0x3e224e['params'];_0x1efcbd!=null&&this[_0x4323d8(0x2b4)]&&_0x3e224e['id']===_0x46d39b['id']&&_0x1efcbd['unitId']===this[_0x4323d8(0x1b1)]&&_0x1efcbd['isEditing']===!0x1&&_0x1efcbd['ranges'][_0x4323d8(0x17c)]>0x0&&this[_0x4323d8(0x127)](_0x1efcbd[_0x4323d8(0x168)]);})),this[_0xe7ace(0x23f)][_0xe7ace(0x2b1)][_0xe7ace(0x1d4)](_0x136ebe(this[_0xe7ace(0x10f)]))[_0xe7ace(0x18c)](_0x5c0575=>{const _0xd7b9f3=_0xe7ace;if((_0x5c0575==null?void 0x0:_0x5c0575['unitID'])!==this[_0xd7b9f3(0x1b1)])return;const _0x129995={'eventID':_0x47eac6[_0xd7b9f3(0x126)],'data':_0x5c0575};this['_onCursorUpdate'](_0x129995);}),this['disposeWithMe'](this[_0xe7ace(0x1d3)][_0xe7ace(0x2ba)](_0x3fc1f0=>{const _0xce76b3=_0xe7ace;if(_0x3fc1f0[_0xce76b3(0x13e)]==null)return;const _0x19e7f3=_0x3fc1f0[_0xce76b3(0x13e)];if(_0x3fc1f0['id']!==_0x4f828a['id']||_0x19e7f3[_0xce76b3(0x1bf)]!==this[_0xce76b3(0x1b1)])return;const _0x30e3cd={'id':'doc.mutation.rich-text-editing','params':_0x19e7f3},_0x3212d2=this[_0xce76b3(0x2cd)];for(const [_0x558d14,_0x552a09]of _0x3212d2){const _0x120820={'id':_0xce76b3(0x13b),'params':{'unitId':this[_0xce76b3(0x1b1)],'actions':null,'textRanges':_0x552a09[_0xce76b3(0x168)]}},_0x372732=this[_0xce76b3(0x14b)]['transformMutation'](_0x30e3cd,_0x120820,!0x1);if(_0x19dd6d(_0x372732))throw _0x372732[_0xce76b3(0x1dc)];_0x3212d2[_0xce76b3(0x255)](_0x558d14,{..._0x552a09,'ranges':_0x372732[_0xce76b3(0x2a2)][_0xce76b3(0x13e)][_0xce76b3(0x201)]});}queueMicrotask(()=>{const _0x3b4f62=_0xce76b3;this[_0x3b4f62(0x2b7)][_0x3b4f62(0x1b8)](_0x3212d2);});})));}[_0x18de5d(0x1b9)](_0x514944){const _0x1d4291=_0x18de5d;var _0x561372,_0xd4149b;const {memberID:_0x47b7c1,selection:_0x14fbef}=_0x514944[_0x1d4291(0x21a)],_0x239e3c=_i(_0x14fbef),_0xcd340a=(_0xd4149b=(_0x561372=this[_0x1d4291(0x20d)][_0x1d4291(0x2bd)](this[_0x1d4291(0x1b1)],_0x47b7c1))==null?void 0x0:_0x561372[_0x1d4291(0x296)])!=null?_0xd4149b:_0x1d4291(0x135),_0x2eb67c={'color':this[_0x1d4291(0x184)]['assignAColorForMemberID'](_0x47b7c1),'name':_0xcd340a,'ranges':_0x239e3c},_0xff9db0=this['cursorInfo'];_0xff9db0['set'](_0x47b7c1,_0x2eb67c),this[_0x1d4291(0x2b7)][_0x1d4291(0x1b8)](_0xff9db0);}[_0x18de5d(0x26d)](_0x187fd2){const _0x32e5aa=_0x18de5d,{memberID:_0xed3b12}=_0x187fd2[_0x32e5aa(0x21a)],_0x3d488f=this[_0x32e5aa(0x2cd)];_0x3d488f[_0x32e5aa(0x27f)](_0xed3b12),this[_0x32e5aa(0x2b7)]['next'](_0x3d488f);}['_toggleOnline'](){const _0xdb4936=_0x18de5d;var _0x53abb5;if(this[_0xdb4936(0x2b4)]=!0x0,((_0x53abb5=this['_univerInstanceService'][_0xdb4936(0x233)]())==null?void 0x0:_0x53abb5[_0xdb4936(0x1b2)]())!==this[_0xdb4936(0x1b1)])return;const _0x3bbe83=this[_0xdb4936(0x174)][_0xdb4936(0x160)](_0x2bc17f)[_0xdb4936(0x2dd)]();Array[_0xdb4936(0x16d)](_0x3bbe83)&&_0x3bbe83[_0xdb4936(0x17c)]>0x0&&this[_0xdb4936(0x127)](_0x3bbe83);}[_0x18de5d(0x1ac)](){const _0x101e71=_0x18de5d;this[_0x101e71(0x2b4)]=!0x1;}};Me=ui([P(0x2,_0x27c970(_0x7beb97)),P(0x3,_0x27c970(He)),P(0x4,_0x27c970(_0x2ab735)),P(0x5,_0x27c970(Fe)),P(0x6,_0x4bff0c),P(0x7,_0x48742b),P(0x8,_0x222f85)],Me);var Si=Object[_0x18de5d(0x1d6)],mi=(_0x24f94c,_0x3c354a,_0x2534c3,_0x5675d1)=>{const _0x5d6638=_0x18de5d;for(var _0x570f0c=_0x5675d1>0x1?void 0x0:_0x5675d1?Si(_0x3c354a,_0x2534c3):_0x3c354a,_0x28657a=_0x24f94c[_0x5d6638(0x17c)]-0x1,_0x167d35;_0x28657a>=0x0;_0x28657a--)(_0x167d35=_0x24f94c[_0x28657a])&&(_0x570f0c=_0x167d35(_0x570f0c)||_0x570f0c);return _0x570f0c;},x=(_0x59592a,_0x5b478a)=>(_0x43db47,_0x21fc52)=>_0x5b478a(_0x43db47,_0x21fc52,_0x59592a);function _0x550c(){const _0x3779dd=['AWAITING','doc.mutation.rich-text-editing','OFFLINE','#FFF','params','status$','_initStatusListener','HEADER_MENU','getSkeleton','_revisionService','getTypeOfUnitAdded$','has','className','triggerDblclick','APPLY_REVISION_CONFILICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collab-text-range-','_transformService','_messageService','save','newValue','transformMutationsWithChangeset','prototype','colorChannel1','uni.network.url-service','_draw','SNAPSHOT_INVALID_SNAPSHOT','NOT_FOUND','green.600','displayName','RECT','_status$','roomMembers','top','_removeClearOtherTimer','_getSessionTicket','stringify','_drawRectRange','get','fillRule','_context','assign','Failed','addObject','_unitOnClients','YUUMI_UNABLE_LOAD_URL','ranges','_handleHover','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','283824wNeHdc','isArray','_instanceService','extend','MUTATION','_imageIoService','_getScale','focused$','_injector','beginPath','setStateCache','_lastPointer','YUUMI_SUBSCRIPTION_NOT_FOUND','setTimeout','subunit','collab-client.tooltip.reconnect','length','current','wsSessionTicketUrl','subscribeEvent','_toggleOnline','TEXT','dispose','0\x200\x2017\x2016','_colorAssignService','_onRefRangeChange','clipPath','getUndoRedoMutationParamsCache','indexOf','EMAIL_HAS_BEEN_BOUND','registerBeforeClose','UNIVER_SHEET','subscribe','INVALID_INVITE_CODE','startColumn','LICENSE_DISTRO_REJECTED','white','session.will-retry','find','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','skeleton','YUUMI_RATE_OVER_LIMIT','1734550zXPFnH','_collabSessionService','getUnitStatus$','_getSheetObject','m1Prime','_drawTextRange','getSheetId','getCurrent','_httpService','_initEvent','1535942tHcRoK','_updateCollabCursors','ONLINE','InsertColCommandId','APPLY_NON_SEQUENTIAL_REVISION','createInstance','SNAPSHOT_HAS_BEEN_REMOVED','MOBILE_HAS_BEEN_BOUND','on-line-icon','clearTimeout','_initStatusComponent','sheetID','_toggleOffline','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getSaveTimeout','_scheduleSaving','updateOfflineData','unitID','getUnitId','_entities','add','_assignedColors','_getAnchorBounding','49581ixzoSy','next','_onCursorUpdate','OnLineIcon','USER_NOT_INVITED_CODE','_cachedData','body','trim','unitId','_refRangeService','removeParam','YUUMI_ALL_TABLES_IS_INVALID','mutations','_updateSubUnitFromURLParams','_localStorageService','none','endColumn','unit','requireSession','_eventUnsubscribe','labelPosition','_localeService','SYNCED','_initDependencies','INTERNAL_ERROR','_setupSubUnitSync','InsertRowCommandId','OTHER_CLIENT_EDITING','_commandService','pipe','type','getOwnPropertyDescriptor','setAlpha','addClipboardHook','_document','VIEW_MAIN','_removeCollabCursors','error','getOwnPropertySymbols','_configService','width','replaceState','saveOfflineData','svg','redoState','FromArray','_updateURLWithCurrentState','CONNECTOR_DATA_TOO_LARGE','idSuffix','backgroundColor','_init','_beforeCloseService','_hideTimer','MoveRangeCommandId','1296452JnLVcW','_entityInit$','round','_config','APPLY_DUPLICATED','_initResize','_cursor','runOnServer','cursorInfo$','syncEditingCollabCursor','UniverIcon','text','Error','LICENSE_EXPORT_SIZE_EXCEEDED','_urlService','_dataLoaderService','onRendered','_send','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','RemoveColCommandId','textRanges','INVITE_CODE_ALREADY_BOUND','hide','deepClone','getRangePointData','moveTo','_docTransformSelectionsService','_handleJoinEvent','restore','endRow','exhaustSavingTask','registerRenderModule','_memberService','_name','getActiveSheet','executionId','color','getUnhiddenWorksheets','SOCKET_FAILED','_docSyncEditingCollabCursorService','CONFLICT','_registerDependencies','executeCommand','translate(.97)','string','data','entityInit$','enableLocalCache','_transformHistoryAndStateStack','div','path','history','_disabled','findNodePositionByCharIndex','clearInterval','post','_cursorShapes','_docSkeletonManagerService','_transformPreviousActiveRange','_color','setShapeProps','_docStateChangeManagerService','selections','_labelPosition','whenReady','transformIMECache','INVITE_CODE_REQUIRED','call','pluginName','getMemberID','getFocusedUnit','_notificationService','disposeWithMe','docStateChange$','getCurrentUnitForType','resize','PY_RUNTIME_SCRIPT_ERROR','currentTheme$','transform','RemoveRowCommandId','collabStatus.synced','from','_syncEditingCollabCursorService','collaboration-client-ui.config','_cursors','CLOSE_ROOM','sheetId','hovered','tag','_renderManagerService','_themeService','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','_colorIndex','Warning','...','_handleEvent','_collaborationUIEventService','saveTaskMap','CHANGESET_REVISION_CONFILICT','_docSkeleton','getSheetBySheetId','APPLY_PERMISSION_DENIED','_ensureSubject','reconnect','set','collaboration.single-unit.warning','saveImage','collabStatus.fetchMiss','OTHER_CLIENTS_EDITING','key','_scene','size','rgba(255,\x20255,\x20255,\x200.01)','transformByState','NOT_COLLAB','selection','off-line-icon_clip0_910_343','UNIVER_DOC','_collabCursorState$','2691472kqzpfF','PENDING','_drawAnchor','InsertRangeMoveRightCommandId','AWAITING_WITH_PENDING','setParam','init','onPointerLeave$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorDelete','getValue','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','_docTransformIMECacheService','UNAUTHENTICATED','SUBMIT_CHANGESET_TIMEOUT','search','1em','push','asObservable','xlink:href','_handleHeartbeatEvent','_shapes','min','onPointerEnter$','runId','_handleLeaveEvent','delete','imageSourceType','includes','disableLocalCache','MOBILE_VERIFY_CODE_MISMATCH','attrs','jiqing.500','PERMISSION_DENIED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','href','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','getParam','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','onLocalMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','send','LICENSE_MAX_UNITS_EXCEEDED','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','name','LICENSE_IMPORT_SIZE_EXCEEDED','NO_OTHER_CLIENTS_EDITING','_uiPartsService','transformSelections','collaboration.closeRoom','getActiveRange','getStateCache','getOffsetConfig','onTransformChange$','_id','propertyIsEnumerable','m2Prime','eventID','_collaborationController','replace','bottom','collabStatus.conflict','INVITE_CODE_HAS_BEEN_UES','application/json','with','getVpScrollXYInfoByPosToVp','WECHAT_HAS_BEEN_BOUND','_transformUndoRedoStack','concat','0\x200\x2016\x2016','defs','collabCursorState$','18czLtQj','_startDocCollabCursor','_online','forEach','permission.title','_cursorInfo$','YUUMI_AI_RUN_FAILED','yellow.400','onCommandExecuted','getRelativeToViewportCoord','currentSkeleton$','getMember','popstate','replaceDocRanges','OffLineIcon','_anchorDot','defIds','_collabCursorController','http://www.w3.org/2000/svg','currentColor','drawWith','column','editingUnit','url(#$1','_localCacheService','map','lineTo','cursorInfo','ticket','range','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getTypeOfUnitDisposed$','/run/','parse','1624YTUKVl','getRenderById','_createSocketURL','_session','_saveCache','COMPLETION_FINISHED','setInterval','_heartbeatTimer','searchParams','getDocRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','startRow','getItem','then','EMAIL_VERIFY_CODE_MISMATCH','_hover','_univerInstanceService','getConfig','DeleteRangeMoveLeftCommandId','_registerRenderDependencies','2211039VvVZIJ','transformRemoteChangeset','result','pushState','_scheduleClearOtherTimer','transformStateCache','height','off-line-icon','red.300','_hovered','show','_unitStatus','_saveTaskMap','event$','UNRECOGNIZED','actions','some','_startSheetCollabCursor','getCollabEntity$','_docClipboardService','mask','InsertRangeMoveDownCommandId','getAncestorScale','onPointerMove$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unsubscribe','setItem','assignAColorForMemberID','values','blue.400','evenodd','_setupBeforeClosingHandler','_logService','_clearOtherTimers','defineProperty','debug','location','session.connection-failed','function','memberID','TOO_MANY_REQUESTS','black','arc','FETCH_MISS','INVALID_ARGUMENT','urlChange$','dispose$','_backgroundColor','permission.content','getViewport','toString','_render','complete','unshift','ALREADY_EXISTS','USERS_LEAVE','LOGIN_FAILED','fillStyle','_anchor','_scheduleHeartbeat','[CollaborationDataLoaderController]','_range','entries','source','icon','disposeUnit','transformMutation','fill','YUUMI_CONNECTOR_URL_NOT_FOUND','UPDATE_CURSOR','_updateLocalCursor','measureText','isActive','on-line-icon_clip0_910_349','session.collaboration-timeout','_textBubble','roomMembers$','split','collab-text-anchor-','children','toRgbString','_roomMembers$','getColorFromTheme','_initEntityListener','Unknown\x20user','row','startsWith','getCollabCursors$','_refreshCollabCursors'];_0x550c=function(){return _0x3779dd;};return _0x550c();}const Ii=0x12c,vi=0x64,gi=()=>{let _0x605527=[],_0x55384e=!0x1;return _0x1d60bc=>{const _0x293950=_0xe352;_0x605527[_0x293950(0x276)](_0x1d60bc),_0x55384e||(_0x55384e=!0x0,setTimeout(()=>{const _0x213397=_0x293950;_0x605527[_0x213397(0x2b5)](_0x43adba=>_0x43adba()),_0x605527=[],_0x55384e=!0x1;}));};};let Le=class extends _0xe69302{constructor(_0x1fcd4b,_0x498796,_0x1e863d,_0x1265c4,_0x22dace,_0x2c37c4,_0x1f590e,_0x3270c4){const _0x512633=_0x18de5d;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x512633(0x2b7),new _0x431026(new Map())),_(this,_0x512633(0x1f5),this[_0x512633(0x2b7)][_0x512633(0x277)]()),_(this,'_roomMembers$',new _0x431026([])),_(this,_0x512633(0x12d),this[_0x512633(0x132)][_0x512633(0x1d4)](_0x30f68d(Ii))),_(this,_0x512633(0x127),_0x43c58c((_0x1ea4e9,_0x5d538e)=>{const _0x5528f2=_0x512633,_0x1389ba={'eventID':_0x47eac6[_0x5528f2(0x126)],'data':{'unitID':this[_0x5528f2(0x1b1)],'memberID':this['_session'][_0x5528f2(0x232)](),'selection':_0x3447d2(_0x1ea4e9,_0x5d538e[_0x5528f2(0x2cf)])}};this[_0x5528f2(0x2d7)][_0x5528f2(0x292)](_0x1389ba,this[_0x5528f2(0x1b1)]);},vi)),(this[_0x512633(0x1b1)]=_0x1fcd4b,this[_0x512633(0x2d7)]=_0x498796,this['_injector']=_0x1e863d,this[_0x512633(0x184)]=_0x1265c4,this[_0x512633(0x20d)]=_0x22dace,this['_univerInstanceService']=_0x2c37c4,this[_0x512633(0x1d3)]=_0x1f590e,this[_0x512633(0x1c0)]=_0x3270c4);}get[_0x18de5d(0x2cd)](){const _0x3dc059=_0x18de5d;return this['_cursorInfo$'][_0x3dc059(0x26e)]();}get[_0x18de5d(0x15a)](){const _0x2fd496=_0x18de5d;return this[_0x2fd496(0x132)][_0x2fd496(0x26e)]();}[_0x18de5d(0x182)](){const _0x395495=_0x18de5d;super[_0x395495(0x182)](),this[_0x395495(0x2b7)][_0x395495(0x1b8)](new Map()),this[_0x395495(0x2b7)][_0x395495(0x115)](),this['_roomMembers$'][_0x395495(0x1b8)]([]),this[_0x395495(0x132)][_0x395495(0x115)]();}[_0x18de5d(0x26a)](){const _0xf04b66=_0x18de5d;this[_0xf04b66(0x1e9)]||(this['_init']=!0x0,this[_0xf04b66(0x2d7)]['sessionStatus$']['pipe'](_0x136ebe(this[_0xf04b66(0x10f)]))[_0xf04b66(0x18c)](_0x597887=>{const _0x57c8a1=_0xf04b66;_0x597887===_0x27f434[_0x57c8a1(0x1a2)]?this[_0x57c8a1(0x180)]():this[_0x57c8a1(0x1ac)]();}),this[_0xf04b66(0x2d7)][_0xf04b66(0x2f5)]['pipe'](_0x136ebe(this[_0xf04b66(0x10f)]))[_0xf04b66(0x18c)](_0x4e13db=>{const _0x354505=_0xf04b66,_0x10c879=_0x4e13db[_0x354505(0x2a3)];_0x10c879===_0x47eac6[_0x354505(0x126)]&&this[_0x354505(0x1b9)](_0x4e13db),_0x10c879===_0x47eac6['USERS_LEAVE']&&this[_0x354505(0x26d)](_0x4e13db);}),this[_0xf04b66(0x185)](),this['disposeWithMe'](this[_0xf04b66(0x1d3)]['onCommandExecuted'](_0x336d5c=>{const _0x1b5d31=_0xf04b66;if(this[_0x1b5d31(0x2b4)]&&_0x336d5c['id']===_0x11570d['id']&&_0x336d5c[_0x1b5d31(0x13e)][_0x1b5d31(0x1bf)]===this[_0x1b5d31(0x1b1)]){const _0x497913=_0x336d5c[_0x1b5d31(0x13e)];this[_0x1b5d31(0x127)](_0x497913['subUnitId'],_0x497913[_0x1b5d31(0x22b)][0x0]);}})));}[_0x18de5d(0x1b9)](_0x4cf568){const _0x75b7bc=_0x18de5d;var _0x34cafd,_0x5d6a53;const {memberID:_0xe0858a,selection:_0x5cf89e}=_0x4cf568['data'],{sheetName:_0x3ac7fb,range:_0x5a4fed}=_0x57d5d6(_0x5cf89e),_0x3f7884={'name':(_0x5d6a53=(_0x34cafd=this[_0x75b7bc(0x20d)][_0x75b7bc(0x2bd)](this[_0x75b7bc(0x1b1)],_0xe0858a))==null?void 0x0:_0x34cafd[_0x75b7bc(0x296)])!=null?_0x5d6a53:_0x75b7bc(0x135),'range':this['_getMergeRange'](_0x3ac7fb,_0x5a4fed),'sheetID':_0x3ac7fb,'color':this[_0x75b7bc(0x184)][_0x75b7bc(0xfc)](_0xe0858a),'selection':_0x5cf89e},_0x3e6dcc=this['cursorInfo'];_0x3e6dcc[_0x75b7bc(0x255)](_0xe0858a,_0x3f7884),this['_cursorInfo$'][_0x75b7bc(0x1b8)](_0x3e6dcc);}[_0x18de5d(0x26d)](_0x31d8f5){const _0x221e5c=_0x18de5d,{memberID:_0x562810}=_0x31d8f5[_0x221e5c(0x21a)],_0x541109=this[_0x221e5c(0x2cd)];_0x541109[_0x221e5c(0x27f)](_0x562810),this[_0x221e5c(0x2b7)]['next'](_0x541109);}['_getMergeRange'](_0x425288,_0x2916f3){const _0x439437=_0x18de5d;var _0x9da2cd,_0x33c79a;const _0x3746f6=(_0x33c79a=(_0x9da2cd=this[_0x439437(0x2e4)]['getUniverSheetInstance'](this[_0x439437(0x1b1)]))==null?void 0x0:_0x9da2cd[_0x439437(0x251)](_0x425288))==null?void 0x0:_0x33c79a['getMergeData']();return(_0x3746f6==null?void 0x0:_0x3746f6[_0x439437(0x192)](_0x7b508e=>_0x2955bb['contains'](_0x7b508e,_0x2916f3)))||_0x2916f3;}[_0x18de5d(0x185)](){const _0x14b569=_0x18de5d,_0xfbd5b=new _0x2316aa(),_0x4e9ebc=gi(),_0x2abdf0=()=>{const _0x4f0eff=_0xe352;_0xfbd5b['dispose']();const _0x5b8954=(_0x1ca71a,_0x2c20ed,_0x2123e9,_0x4e453b)=>{const _0x42ee78=_0xe352;let _0x29a1a2=[];switch(_0x1ca71a['id']){case _0x268c74[_0x42ee78(0x2e6)]:{_0x29a1a2=_0x16e682(_0x1ca71a,_0x4e453b);break;}case _0x268c74['DeleteRangeMoveUpCommandId']:{_0x29a1a2=_0x20da51(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1a3)]:{_0x29a1a2=_0x3d548(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x2fd)]:{_0x29a1a2=_0x20c12d(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x267)]:{_0x29a1a2=_0x5cde96(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1d1)]:{_0x29a1a2=_0x25acd8(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1ec)]:{_0x29a1a2=_0x4f2e52(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x200)]:{_0x29a1a2=_0x5bc5bd(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x23c)]:{_0x29a1a2=_0x42f8fe(_0x1ca71a,_0x4e453b);break;}}const _0x138a03=_0x4e0653(_0x29a1a2,_0x4e453b),_0x6d604c=this[_0x42ee78(0x2cd)]['get'](_0x2c20ed);if(_0x6d604c&&_0x138a03){const _0x47af96={..._0x6d604c,'range':_0x138a03};this[_0x42ee78(0x2cd)][_0x42ee78(0x255)](_0x2c20ed,_0x47af96),_0x4e9ebc(()=>{const _0x1daeef=_0x42ee78,_0x2f06bd=this[_0x1daeef(0x1c0)][_0x1daeef(0x289)](_0x138a03,_0x3be73e=>(_0x2f06bd[_0x1daeef(0x182)](),_0x5b8954(_0x3be73e,_0x2c20ed,_0x2123e9,_0x138a03)));_0xfbd5b[_0x1daeef(0x1b4)](_0x2f06bd);});}return{'redos':[],'undos':[]};};this[_0x4f0eff(0x2cd)]['forEach']((_0x381e70,_0x179baa)=>{const _0x4937fd=_0x4f0eff,{range:_0x47332f,sheetID:_0x111cdb}=_0x381e70,_0x4980a1=this[_0x4937fd(0x1c0)][_0x4937fd(0x289)](_0x47332f,_0x3131ca=>(_0x4980a1[_0x4937fd(0x182)](),_0x5b8954(_0x3131ca,_0x179baa,_0x111cdb,_0x47332f)));_0xfbd5b[_0x4937fd(0x1b4)](_0x4980a1);});};this[_0x14b569(0x235)](_0x354fba(this[_0x14b569(0x2b7)][_0x14b569(0x18c)](()=>{_0x2abdf0();})));}[_0x18de5d(0x180)](){const _0x49ec3d=_0x18de5d;var _0x24519d,_0x4dd234;if(this[_0x49ec3d(0x2b4)]=!0x0,((_0x24519d=this['_univerInstanceService'][_0x49ec3d(0x233)]())==null?void 0x0:_0x24519d['getUnitId']())!==this[_0x49ec3d(0x1b1)])return;const _0xe4ca87=(_0x4dd234=this[_0x49ec3d(0x174)][_0x49ec3d(0x160)](_0x155772)['getCurrentSelections']())==null?void 0x0:_0x4dd234[0x0],_0x3eb6a5=this[_0x49ec3d(0x2e4)][_0x49ec3d(0x237)](_0x4ab320[_0x49ec3d(0x18b)])[_0x49ec3d(0x20f)]();_0xe4ca87&&_0x3eb6a5&&this['_updateLocalCursor'](_0x3eb6a5['getSheetId'](),_0xe4ca87);}[_0x18de5d(0x1ac)](){const _0x555c84=_0x18de5d;this[_0x555c84(0x2b4)]=!0x1;}};Le=mi([x(0x2,_0x27c970(_0x7beb97)),x(0x3,_0x27c970(He)),x(0x4,_0x27c970(_0x2ab735)),x(0x5,_0x48742b),x(0x6,_0x222f85),x(0x7,_0x27c970(_0x1267ae))],Le);var pi=Object[_0x18de5d(0x1d6)],Ci=(_0x182aa8,_0x4f415b,_0x4b32f9,_0x5b0e63)=>{const _0xef7b09=_0x18de5d;for(var _0x4f40af=_0x5b0e63>0x1?void 0x0:_0x5b0e63?pi(_0x4f415b,_0x4b32f9):_0x4f415b,_0x22f178=_0x182aa8[_0xef7b09(0x17c)]-0x1,_0x443338;_0x22f178>=0x0;_0x22f178--)(_0x443338=_0x182aa8[_0x22f178])&&(_0x4f40af=_0x443338(_0x4f40af)||_0x4f40af);return _0x4f40af;},me=(_0x454637,_0x561a9e)=>(_0xa4522b,_0x47ebc8)=>_0x561a9e(_0xa4522b,_0x47ebc8,_0x454637);let F=class extends _0xe69302{constructor(_0x19ebbc,_0x516d8b,_0x331b28){const _0x4053b7=_0x18de5d;super(),_(this,_0x4053b7(0x1b3),new Map()),_(this,'_entityInit$',new _0x5abbbf()),(this[_0x4053b7(0x2e4)]=_0x19ebbc,this[_0x4053b7(0x174)]=_0x516d8b,this['_collabSessionService']=_0x331b28,this[_0x4053b7(0x1e9)]());}['dispose'](){const _0x3b8cce=_0x18de5d;super[_0x3b8cce(0x182)](),this[_0x3b8cce(0x1ee)][_0x3b8cce(0x115)](),this[_0x3b8cce(0x1b3)]['forEach'](_0x1da028=>_0x1da028['dispose']());}['getCollabCursors$'](_0x457342){const _0x3e7918=_0x18de5d;return this[_0x3e7918(0x1b3)][_0x3e7918(0x145)](_0x457342)?this[_0x3e7918(0x1b3)]['get'](_0x457342)[_0x3e7918(0x1f5)]:this[_0x3e7918(0x1ee)]['pipe'](_0x2f6546(_0x6c92a3=>_0x6c92a3[_0x3e7918(0x1b1)]===_0x457342),_0x4c6389(_0x37a492=>_0x37a492[_0x3e7918(0x1f5)]));}['_init'](){const _0x2b2413=_0x18de5d;this['_univerInstanceService'][_0x2b2413(0x144)](_0x4ab320[_0x2b2413(0x18b)])[_0x2b2413(0x1d4)](_0x136ebe(this[_0x2b2413(0x10f)]))['subscribe'](async _0x5cba56=>{const _0x130d79=_0x2b2413,_0x3ca585=_0x5cba56['getUnitId'](),_0x1a6570=await this['_startSheetCollabCursor'](_0x3ca585);this[_0x130d79(0x1ee)][_0x130d79(0x1b8)](_0x1a6570),this[_0x130d79(0x1b3)][_0x130d79(0x255)](_0x3ca585,_0x1a6570);}),this[_0x2b2413(0x2e4)]['getTypeOfUnitAdded$'](_0x4ab320['UNIVER_DOC'])[_0x2b2413(0x1d4)](_0x136ebe(this[_0x2b2413(0x10f)]))[_0x2b2413(0x1d4)](_0x2f6546(_0xf27d95=>!_0xf27d95['getUnitId']()[_0x2b2413(0x137)]('__')))['subscribe'](async _0x51ab17=>{const _0x39e865=_0x2b2413,_0x4d4831=_0x51ab17['getUnitId'](),_0x3a1b0b=await this['_startDocCollabCursor'](_0x4d4831);this['_entityInit$'][_0x39e865(0x1b8)](_0x3a1b0b),this['_entities'][_0x39e865(0x255)](_0x4d4831,_0x3a1b0b);}),_0x1d4312(this['_univerInstanceService'][_0x2b2413(0x2d1)](_0x4ab320[_0x2b2413(0x262)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ab320[_0x2b2413(0x18b)]))['pipe'](_0x136ebe(this['dispose$']))[_0x2b2413(0x18c)](_0x4caa3f=>{const _0x57a051=_0x2b2413,_0x61f245=_0x4caa3f[_0x57a051(0x1b2)](),_0x2c9baa=this[_0x57a051(0x1b3)][_0x57a051(0x160)](_0x61f245);_0x2c9baa&&(_0x2c9baa[_0x57a051(0x182)](),this['_entities'][_0x57a051(0x27f)](_0x61f245));});}async[_0x18de5d(0x2f9)](_0x27377){const _0x4facbd=_0x18de5d,_0x50ce24=await this['_collabSessionService'][_0x4facbd(0x1c9)](_0x27377),_0x3d915b=this[_0x4facbd(0x174)][_0x4facbd(0x1a5)](Le,_0x27377,_0x50ce24);return _0x3d915b[_0x4facbd(0x26a)](),_0x3d915b;}async[_0x18de5d(0x2b3)](_0x2cb456){const _0x11685d=_0x18de5d,_0x58b287=await this[_0x11685d(0x197)][_0x11685d(0x1c9)](_0x2cb456),_0x5a0d63=this[_0x11685d(0x174)][_0x11685d(0x1a5)](Me,_0x2cb456,_0x58b287);return _0x5a0d63[_0x11685d(0x26a)](),_0x5a0d63;}};F=Ci([me(0x0,_0x48742b),me(0x1,_0x27c970(_0x7beb97)),me(0x2,_0x27c970(_0x1d5bd1))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x194f31,_0xdc2a0e){const _0x424bd5=_0x18de5d;let {radius:_0x4b72b7,width:_0x597820,height:_0xfdcbf}=_0xdc2a0e;_0x4b72b7=_0x4b72b7!=null?_0x4b72b7:0x0,_0x597820=_0x597820!=null?_0x597820:0x1e,_0xfdcbf=_0xfdcbf!=null?_0xfdcbf:0x1e;let _0x504237=0x0,_0x45a1a1=0x0,_0x3418ae=0x0;_0x504237=_0x45a1a1=_0x3418ae=Math[_0x424bd5(0x27b)](_0x4b72b7,_0x597820/0x2,_0xfdcbf/0x2),_0x194f31[_0x424bd5(0x175)](),_0x194f31[_0x424bd5(0x206)](_0x504237,0x0),_0x194f31[_0x424bd5(0x2cc)](_0x597820-_0x45a1a1,0x0),_0x194f31[_0x424bd5(0x10b)](_0x597820-_0x45a1a1,_0x45a1a1,_0x45a1a1,Math['PI']*0x3/0x2,0x0,!0x1),_0x194f31[_0x424bd5(0x2cc)](_0x597820,_0xfdcbf-_0x3418ae),_0x194f31[_0x424bd5(0x10b)](_0x597820-_0x3418ae,_0xfdcbf-_0x3418ae,_0x3418ae,0x0,Math['PI']/0x2,!0x1),_0x194f31[_0x424bd5(0x2cc)](0x0,_0xfdcbf),_0x194f31[_0x424bd5(0x2cc)](0x0,_0x504237),_0x194f31[_0x424bd5(0x10b)](_0x504237,_0x504237,_0x504237,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x194f31['closePath'](),_0xdc2a0e['fill']&&(_0x194f31['save'](),_0x194f31[_0x424bd5(0x11a)]=_0xdc2a0e[_0x424bd5(0x124)],_0xdc2a0e[_0x424bd5(0x161)]==='evenodd'?_0x194f31[_0x424bd5(0x124)](_0x424bd5(0xff)):_0x194f31[_0x424bd5(0x124)](),_0x194f31[_0x424bd5(0x209)]());}class ue extends _0x19e2fb{constructor(_0x253ec6,_0x5665cd){const _0x4a5cc7=_0x18de5d;super(_0x253ec6,_0x5665cd),_(this,_0x4a5cc7(0x211)),_(this,_0x4a5cc7(0x1f8)),(this[_0x4a5cc7(0x211)]=_0x5665cd==null?void 0x0:_0x5665cd[_0x4a5cc7(0x211)],this['text']=_0x5665cd==null?void 0x0:_0x5665cd[_0x4a5cc7(0x1f8)]);}static[_0x18de5d(0x2c6)](_0x286f53,_0x5c20ef){const _0x2b3996=_0x18de5d,{text:_0x38af46,color:_0x261709}=_0x5c20ef;_0x286f53[_0x2b3996(0x14d)](),_0x286f53['font']=_0x2b3996(0x2d0);const _0x80f30f=_0x286f53['measureText'](_0x38af46)[_0x2b3996(0x1df)],_0x553288=Math[_0x2b3996(0x27b)](_0x80f30f+0x2*Ie,qe);Oi(_0x286f53,{'height':te,'radius':0x4,'width':_0x553288,'fill':_0x261709}),_0x286f53[_0x2b3996(0x11a)]=_0x2b3996(0x13d);const _0x37c788=Ie,_0x364c44=te-Ei,_0x59d281=qe-0x2*Ie;if(_0x80f30f>_0x59d281){let _0x9bd1d2='',_0x4a31bb=0x0;for(const _0x2a4d23 of _0x38af46){const _0x1d7f47=_0x286f53[_0x2b3996(0x128)](_0x2a4d23)['width'];if(_0x4a31bb+_0x1d7f47<=_0x59d281-_0x286f53['measureText'](_0x2b3996(0x24b))[_0x2b3996(0x1df)])_0x9bd1d2+=_0x2a4d23,_0x4a31bb+=_0x1d7f47;else{_0x9bd1d2+='...';break;}}_0x286f53['fillText'](_0x9bd1d2,_0x37c788,_0x364c44);}else _0x286f53['fillText'](_0x38af46,_0x37c788,_0x364c44);_0x286f53[_0x2b3996(0x209)]();}[_0x18de5d(0x153)](_0x21be0b){const _0x3b7d06=_0x18de5d;ue[_0x3b7d06(0x2c6)](_0x21be0b,this);}}const ve=_0x18de5d(0x12f),bi=_0x18de5d(0x14a),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x18de5d(0x25d);class et{constructor(_0x433762,_0x4d1b82,_0x4e4137,_0xd53a62){const _0x559f26=_0x18de5d;_(this,_0x559f26(0x27a),[]),_(this,_0x559f26(0x11b),null),_(this,'_textBubble',null),_(this,_0x559f26(0x2c1),null),_(this,_0x559f26(0x1eb),null),_(this,_0x559f26(0x1ca),null),(this[_0x559f26(0x1f3)]=_0x433762,this[_0x559f26(0x25b)]=_0x4d1b82,this[_0x559f26(0x250)]=_0x4e4137,this[_0x559f26(0x1d9)]=_0xd53a62,this[_0x559f26(0x114)]());}set['_hover'](_0x2982d6){const _0x255658=_0x18de5d;_0x2982d6?(this['_anchorDot']&&this[_0x255658(0x2c1)][_0x255658(0x203)](),this[_0x255658(0x12c)]&&this[_0x255658(0x12c)]['show']()):(this[_0x255658(0x2c1)]&&this[_0x255658(0x2c1)][_0x255658(0x2f2)](),this['_textBubble']&&this[_0x255658(0x12c)]['hide']());}[_0x18de5d(0x182)](){const _0x49baed=_0x18de5d;for(const _0x4b1ecd of this['_shapes'])_0x4b1ecd['dispose']();this[_0x49baed(0x12c)]&&this['_textBubble'][_0x49baed(0x182)](),this[_0x49baed(0x2c1)]&&this[_0x49baed(0x2c1)][_0x49baed(0x182)](),this[_0x49baed(0x11b)]&&this[_0x49baed(0x11b)][_0x49baed(0x182)](),this[_0x49baed(0x1ca)]&&this[_0x49baed(0x1ca)]();}[_0x18de5d(0x114)](){const _0x48f2a2=_0x18de5d;var _0x3bfe55;const {_docSkeleton:_0x3e42a0,_document:_0x112c2d}=this,{color:_0x3cfd68,name:_0x4f9dc0,ranges:_0x5682fd}=this['_cursor'],_0x5a87a0=_0x112c2d[_0x48f2a2(0x29e)](),{docsLeft:_0x39b05e,docsTop:_0x124799}=_0x5a87a0,_0x241b3d=new _0x4a24af(_0x5a87a0,_0x3e42a0);for(const {startOffset:_0x375006,endOffset:_0x44ff48,rangeType:_0xa29c9,segmentId:_0x312d4e,segmentPage:_0x470ce9,collapsed:_0x234797,isActive:_0x37f094}of _0x5682fd){const _0x6df95a=_0x3e42a0[_0x48f2a2(0x222)](_0x375006,!0x0,_0x312d4e,_0x470ce9);let _0x1ed12f=_0x3e42a0[_0x48f2a2(0x222)](_0x44ff48,!0x0,_0x312d4e,_0x470ce9);if(_0x1ed12f==null&&(_0x1ed12f=_0x3e42a0[_0x48f2a2(0x222)](_0x44ff48-0x1,!0x1,_0x312d4e,_0x470ce9)),_0x37f094){const {contentBoxPointGroup:_0x34a828}=_0x241b3d[_0x48f2a2(0x205)](_0x1ed12f,_0x1ed12f);if(_0x34a828[_0x48f2a2(0x17c)]===0x0)continue;this[_0x48f2a2(0x266)](_0x3cfd68,_0x34a828,_0x39b05e,_0x124799,_0x4f9dc0),this['_eventUnsubscribe']=this[_0x48f2a2(0x169)]();}if(_0x6df95a&&_0x1ed12f){if(_0xa29c9===_0x2b092a[_0x48f2a2(0x158)]){const _0x323b52=new _0xeaf467(_0x5a87a0,_0x3e42a0),{pointGroup:_0x32a0ef}=(_0x3bfe55=_0x323b52[_0x48f2a2(0x205)](_0x6df95a,_0x1ed12f))!=null?_0x3bfe55:{};if(_0x32a0ef==null||_0x32a0ef[_0x48f2a2(0x17c)]===0x0)continue;this[_0x48f2a2(0x15f)](_0x3cfd68,_0x32a0ef,_0x39b05e,_0x124799);}else{if(!_0x234797){const {borderBoxPointGroup:_0x28edb4}=_0x241b3d[_0x48f2a2(0x205)](_0x6df95a,_0x1ed12f);if(_0x28edb4[_0x48f2a2(0x17c)]===0x0)continue;this['_drawTextRange'](_0x3cfd68,_0x28edb4,_0x39b05e,_0x124799);}}}}}[_0x18de5d(0x266)](_0x38dfd0,_0x3b2145,_0xc61ee8,_0x483191,_0x2a8aab){const _0x235b27=_0x18de5d,_0x42ec14=this['_getAnchorBounding'](_0x3b2145),{left:_0x545976,top:_0x304db8,height:_0x483e36}=_0x42ec14,_0x52e573=this[_0x235b27(0x172)](),_0x3b918e=Di/_0x52e573,_0x3d166d=new _0x5622b6(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191,'height':_0x483e36,'width':Ri,'fill':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'strokeWidth':_0x3b918e,'stroke':Ni,'evented':!0x0});this[_0x235b27(0x11b)]=_0x3d166d,this[_0x235b27(0x25b)][_0x235b27(0x165)](_0x3d166d,_0x4607b1);const _0x1c0be0=new _0x5622b6(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191-ge/0x2,'height':ge,'width':ge,'fill':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'strokeWidth':0x0,'stroke':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'evented':!0x1});this[_0x235b27(0x2c1)]=_0x1c0be0,this['_scene'][_0x235b27(0x165)](_0x1c0be0,_0x4607b1);const _0x1280d6=new ue(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191-te,'text':_0x2a8aab,'color':_0x38dfd0});this[_0x235b27(0x12c)]=_0x1280d6,this['_scene'][_0x235b27(0x165)](_0x1280d6,_0x4607b1),this[_0x235b27(0x2e3)]=!0x1;}['_handleHover'](){const _0x24d864=_0x18de5d,_0xf50ce0=this[_0x24d864(0x11b)][_0x24d864(0x27c)][_0x24d864(0x17f)](()=>{this['_hover']=!0x0;}),_0x568159=this[_0x24d864(0x11b)][_0x24d864(0x26b)][_0x24d864(0x17f)](()=>{const _0x2089ea=_0x24d864;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2089ea(0x1eb)]=setTimeout(()=>{const _0xf6d84f=_0x2089ea;this[_0xf6d84f(0x2e3)]=!0x1;},0x7d0);});return()=>{const _0x129f63=_0x24d864;_0xf50ce0[_0x129f63(0xfa)](),_0x568159[_0x129f63(0xfa)]();};}[_0x18de5d(0x19b)](_0x21d756,_0x3dc613,_0x3bc746,_0x49db34){const _0x2631eb=_0x18de5d,_0xa8acdf=new _0x58f8b0(_0x21d756)[_0x2631eb(0x1d7)](0.2)[_0x2631eb(0x131)](),_0x38d5b2=new _0x193968(bi+_0x32a801(G),{'pointsGroup':_0x3dc613,'fill':_0xa8acdf||_0x2bf2b5(_0x846643['black'],0.2),'left':_0x3bc746,'top':_0x49db34,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2631eb(0x27a)][_0x2631eb(0x276)](_0x38d5b2),this[_0x2631eb(0x25b)]['addObject'](_0x38d5b2,_0x4607b1);}['_drawRectRange'](_0x34d9a4,_0x13fb20,_0x323e8d,_0x16a948){const _0x3b7df5=_0x18de5d,_0x38e661=new _0x58f8b0(_0x34d9a4)[_0x3b7df5(0x1d7)](0.2)['toRgbString'](),_0x37cf6d=new _0x193968(Ti+_0x32a801(G),{'pointsGroup':_0x13fb20,'fill':_0x38e661||_0x2bf2b5(_0x846643['black'],0.2),'left':_0x323e8d,'top':_0x16a948,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x37cf6d),this['_scene'][_0x3b7df5(0x165)](_0x37cf6d,_0x4607b1);}[_0x18de5d(0x1b6)](_0x4d84b8){const _0x49bb7f=_0x4d84b8[0x0],_0x4e1f5f=_0x49bb7f[0x0],_0x497a94=_0x49bb7f[0x2],{x:_0x127b66,y:_0x491d69}=_0x4e1f5f,{x:_0x2129ed,y:_0x2f0603}=_0x497a94;return{'left':_0x127b66,'top':_0x491d69,'width':_0x2129ed-_0x127b66,'height':_0x2f0603-_0x491d69};}[_0x18de5d(0x172)](){const _0x18e8ad=_0x18de5d,{scaleX:_0x46acf9,scaleY:_0x2914f9}=this[_0x18e8ad(0x25b)][_0x18e8ad(0xf7)]();return Math['max'](_0x46acf9,_0x2914f9);}}var Ui=Object[_0x18de5d(0x1d6)],Mi=(_0x382d67,_0x21e41e,_0x2ba522,_0x535c54)=>{const _0x1cab90=_0x18de5d;for(var _0x269889=_0x535c54>0x1?void 0x0:_0x535c54?Ui(_0x21e41e,_0x2ba522):_0x21e41e,_0x119fc7=_0x382d67[_0x1cab90(0x17c)]-0x1,_0x2d6d48;_0x119fc7>=0x0;_0x119fc7--)(_0x2d6d48=_0x382d67[_0x119fc7])&&(_0x269889=_0x2d6d48(_0x269889)||_0x269889);return _0x269889;},Q=(_0x497978,_0x33ad42)=>(_0x4743f0,_0x2f5468)=>_0x33ad42(_0x4743f0,_0x2f5468,_0x497978);let Pe=class extends _0xe69302{constructor(_0x5ae77,_0xc468a8,_0x225923,_0x1cb035,_0x38ccd5){const _0x5f5d6d=_0x18de5d;super(),_(this,_0x5f5d6d(0x225),[]),_(this,_0x5f5d6d(0x241),[]),(this['_context']=_0x5ae77,this[_0x5f5d6d(0x226)]=_0xc468a8,this[_0x5f5d6d(0x2c3)]=_0x225923,this[_0x5f5d6d(0x1d3)]=_0x1cb035,this['_themeService']=_0x38ccd5,this['_init']());}[_0x18de5d(0x1e9)](){const _0x28453f=_0x18de5d,_0x1f9c00=this['_context']['unitId'],_0x122f98=this['_docSkeletonManagerService'];this[_0x28453f(0x235)](_0x1e9bc8([this[_0x28453f(0x2c3)][_0x28453f(0x138)](_0x1f9c00),this[_0x28453f(0x247)]['currentTheme$']])['pipe'](_0x38bf7e(([_0xd7ca7f,_0x147c00])=>({'skeleton':_0x122f98[_0x28453f(0x142)](),'cursors':[..._0xd7ca7f['values']()][_0x28453f(0x288)](_0x2fa4c5=>({..._0x2fa4c5,'color':this[_0x28453f(0x247)][_0x28453f(0x133)](_0x2fa4c5['color'])}))})))[_0x28453f(0x18c)](_0x43e205=>{const _0x5d64f9=_0x28453f;if(this[_0x5d64f9(0x1db)](),_0x43e205){const {skeleton:_0x999ccc,cursors:_0x3c45f5}=_0x43e205;this[_0x5d64f9(0x1a1)](_0x999ccc,_0x3c45f5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x18de5d(0x1a1)](_0x1e5e0d,_0xa0468){const _0x2a5ee2=_0x18de5d,{scene:_0x21cd64,mainComponent:_0x32aaca}=this[_0x2a5ee2(0x162)],_0x45b484=_0xa0468['map'](_0x2a231e=>new et(_0x2a231e,_0x21cd64,_0x1e5e0d,_0x32aaca));this['_cursorShapes']=_0x45b484,this[_0x2a5ee2(0x241)]=_0xa0468;}[_0x18de5d(0x139)](){const _0x1fedf1=_0x18de5d;this['_removeCollabCursors']();const {scene:_0x39ac70,mainComponent:_0xef2168}=this['_context'],_0x3b7e74=this['_docSkeletonManagerService'][_0x1fedf1(0x142)](),_0x1761a1=this[_0x1fedf1(0x241)][_0x1fedf1(0x2cb)](_0x31521c=>new et(_0x31521c,_0x39ac70,_0x3b7e74,_0xef2168));this[_0x1fedf1(0x225)]=_0x1761a1;}[_0x18de5d(0x1db)](){const _0x4993d3=_0x18de5d;this['_cursorShapes']['forEach'](_0x440594=>_0x440594['dispose']()),this[_0x4993d3(0x225)]=[];}['_initCommandExecutedListener'](){const _0x20e005=_0x18de5d,_0x9e4856=[_0x398063['id']];this[_0x20e005(0x235)](this[_0x20e005(0x1d3)]['onCommandExecuted'](_0x314b05=>{const _0x2a2578=_0x20e005;_0x9e4856[_0x2a2578(0x281)](_0x314b05['id'])&&_0x314b05['params'][_0x2a2578(0x1bf)]===this[_0x2a2578(0x162)][_0x2a2578(0x1bf)]&&this[_0x2a2578(0x139)]();}));}[_0x18de5d(0x1f2)](){const _0x471122=_0x18de5d;this[_0x471122(0x235)](_0x2126c5(this[_0x471122(0x162)]['engine'][_0x471122(0x29f)])[_0x471122(0x1d4)](_0x35cd04(_0x36fe2e=>_0x36fe2e[_0x471122(0x1d5)]===_0x23d10c[_0x471122(0x238)]),_0x5c573a(0x10))['subscribe'](()=>{const _0x25a0b8=_0x471122;this[_0x25a0b8(0x139)]();}));}};Pe=Mi([Q(0x1,_0x27c970(_0x3e3ad0)),Q(0x2,_0x27c970(F)),Q(0x3,_0x222f85),Q(0x4,_0x27c970(_0x4803fd))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x19e2fb{constructor(_0x5a2b71,_0x402093){const _0x31774f=_0x18de5d;super(_0x5a2b71,_0x402093),_(this,_0x31774f(0x228)),_(this,_0x31774f(0x2f1),!0x1),_(this,_0x31774f(0x11e)),_(this,_0x31774f(0x20e),''),_(this,_0x31774f(0x22c),_0x31774f(0x15b)),_(this,'_backgroundColor'),(_0x402093&&this[_0x31774f(0x229)](_0x402093),this['onPointerEnter$'][_0x31774f(0x17f)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x31774f(0x26b)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x18de5d(0x229)](_0x16ca94){const _0x295124=_0x18de5d;var _0x5ecc47,_0x448d4d,_0x211449,_0x2d15b0,_0x3b0857,_0x1c415f;this[_0x295124(0x228)]=(_0x5ecc47=_0x16ca94[_0x295124(0x211)])!=null?_0x5ecc47:this['_color'],this[_0x295124(0x2f1)]=(_0x448d4d=_0x16ca94[_0x295124(0x244)])!=null?_0x448d4d:this[_0x295124(0x2f1)],this['_range']=(_0x211449=_0x16ca94['range'])!=null?_0x211449:this[_0x295124(0x11e)],this[_0x295124(0x20e)]=(_0x2d15b0=_0x16ca94['name'])!=null?_0x2d15b0:this[_0x295124(0x20e)],this[_0x295124(0x22c)]=(_0x3b0857=_0x16ca94[_0x295124(0x1cb)])!=null?_0x3b0857:this[_0x295124(0x22c)],this[_0x295124(0x110)]=(_0x1c415f=_0x16ca94[_0x295124(0x1e8)])!=null?_0x1c415f:this[_0x295124(0x110)],this[_0x295124(0x25e)]({'width':_0x16ca94[_0x295124(0x1df)],'height':_0x16ca94[_0x295124(0x2ee)]});}['onMouseMove'](_0x3613c4){const _0x948c69=_0x18de5d,{row:_0x4bcf31,column:_0xa75a3c}=_0x3613c4;if(_0x4bcf31>=this[_0x948c69(0x11e)][_0x948c69(0x2df)]&&_0x4bcf31<=this[_0x948c69(0x11e)][_0x948c69(0x20a)]&&_0xa75a3c>=this[_0x948c69(0x11e)][_0x948c69(0x18e)]&&_0xa75a3c<=this[_0x948c69(0x11e)][_0x948c69(0x1c7)]){this[_0x948c69(0x229)]({'hovered':!0x0});return;}this[_0x948c69(0x229)]({'hovered':!0x1});}[_0x18de5d(0x147)](_0x43f3df){return!0x1;}[_0x18de5d(0x153)](_0x21e5e0){const _0x5f4e66=_0x18de5d;_0x5622b6[_0x5f4e66(0x2c6)](_0x21e5e0,{'width':this[_0x5f4e66(0x1df)],'height':this[_0x5f4e66(0x2ee)],'strokeWidth':Pi,'stroke':this[_0x5f4e66(0x228)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5f4e66(0x2f1)]&&(_0x21e5e0['save'](),_0x21e5e0[_0x5f4e66(0x23b)](0x1,0x0,0x0,0x1,this[_0x5f4e66(0x1df)],this[_0x5f4e66(0x22c)]===_0x5f4e66(0x2a6)?0x0:-0x14),ue['drawWith'](_0x21e5e0,{'text':this[_0x5f4e66(0x20e)],'color':this[_0x5f4e66(0x228)]}),_0x21e5e0[_0x5f4e66(0x209)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x17bb08,_0x542bec,_0x395f81,_0x77c96d)=>{const _0x301e8e=_0x18de5d;for(var _0x413188=_0x77c96d>0x1?void 0x0:_0x77c96d?Ai(_0x542bec,_0x395f81):_0x542bec,_0x18a8ad=_0x17bb08[_0x301e8e(0x17c)]-0x1,_0xbab088;_0x18a8ad>=0x0;_0x18a8ad--)(_0xbab088=_0x17bb08[_0x18a8ad])&&(_0x413188=_0xbab088(_0x413188)||_0x413188);return _0x413188;},pe=(_0x57ff63,_0xd73fcd)=>(_0x1afddd,_0x255611)=>_0xd73fcd(_0x1afddd,_0x255611,_0x57ff63);const $i=0x1389;let we=class extends _0xe69302{constructor(_0x4dbe7d,_0x55dbc5,_0x959386,_0x56c963){const _0x435836=_0x18de5d;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x435836(0x162)]=_0x4dbe7d,this[_0x435836(0x28f)]=_0x55dbc5,this[_0x435836(0x2c3)]=_0x959386,this['_themeService']=_0x56c963,this[_0x435836(0x1e9)]());}[_0x18de5d(0x1e9)](){const _0x4aed9b=_0x18de5d;this[_0x4aed9b(0x28f)][_0x4aed9b(0x2bc)]['pipe'](_0x3906c5(this[_0x4aed9b(0x10f)]),_0x3bf2d8(_0x455f94=>{const _0x32db36=_0x4aed9b;if(_0x455f94){const _0x1c1608=_0x455f94[_0x32db36(0x243)];return _0x1e9bc8(this[_0x32db36(0x2c3)]['getCollabCursors$'](this[_0x32db36(0x162)][_0x32db36(0x1bf)]),this[_0x32db36(0x247)][_0x32db36(0x23a)])[_0x32db36(0x1d4)](_0x38bf7e(([_0x456751,_0x30bb3c])=>{const _0x5dc595=_0x32db36,_0x2453a7=new Map();return _0x456751[_0x5dc595(0x2b5)]((_0x41519f,_0x242b1a)=>{const _0x59924a=_0x5dc595;if(_0x41519f[_0x59924a(0x1ab)]===_0x1c1608){const _0xcf8246={..._0x41519f};_0xcf8246[_0x59924a(0x211)]=this[_0x59924a(0x247)][_0x59924a(0x133)](_0x41519f['color']),_0x2453a7[_0x59924a(0x255)](_0x242b1a,_0xcf8246);}}),{'skeleton':_0x455f94,'cursors':_0x2453a7};}));}return _0x265266({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xee8128,cursors:_0x19f70a})=>{this['_removeCollabCursors'](),_0xee8128&&this['_updateCollabCursors'](_0xee8128,_0x19f70a);}),this[_0x4aed9b(0x28f)][_0x4aed9b(0x2bc)][_0x4aed9b(0x18c)](_0x464ed4=>{const _0x410204=_0x4aed9b;if(_0x464ed4==null)return;const {skeleton:_0x1c0704}=_0x464ed4,{scene:_0x45bb80}=this[_0x410204(0x162)];_0x45bb80[_0x410204(0xf8)][_0x410204(0x17f)](_0x43c58c(_0x1cd67f=>{const _0x370315=_0x410204;var _0x34f87d,_0x361b44;const {offsetX:_0x36724e,offsetY:_0x33db99}=_0x1cd67f,{x:_0x506c26,y:_0xced4d1}=_0x45bb80[_0x370315(0x2bb)](_0x1a0c82[_0x370315(0x1e4)]([_0x36724e,_0x33db99])),{scaleX:_0x64d61f,scaleY:_0x33db0a}=_0x45bb80[_0x370315(0xf7)](),_0x430740=_0x45bb80[_0x370315(0x112)](_0x398043[_0x370315(0x1da)]),_0x19c18f=_0x45bb80[_0x370315(0x2ab)](_0x1a0c82[_0x370315(0x1e4)]([_0x506c26,_0xced4d1]),_0x430740),_0x5e6d9d=_0x1c0704['getCellPositionByOffset'](_0x36724e,_0x33db99,_0x64d61f,_0x33db0a,_0x19c18f);((_0x34f87d=this[_0x370315(0x177)])==null?void 0x0:_0x34f87d[_0x370315(0x2c7)])===_0x5e6d9d['column']&&((_0x361b44=this[_0x370315(0x177)])==null?void 0x0:_0x361b44[_0x370315(0x136)])===_0x5e6d9d[_0x370315(0x136)]||this[_0x370315(0x241)]['forEach'](_0x1e90a1=>{_0x1e90a1['onMouseMove'](_0x5e6d9d);});},0x64));});}[_0x18de5d(0x1a1)](_0x35abd3,_0x90d223){const _0xeb401b=_0x18de5d;var _0x1fe9ae;const _0x4cfbef=(_0x1fe9ae=this[_0xeb401b(0x28f)][_0xeb401b(0x19d)]())==null?void 0x0:_0x1fe9ae[_0xeb401b(0x194)];if(!_0x4cfbef)return;const _0x195c9d=this[_0xeb401b(0x199)]();if(!_0x195c9d)return;this[_0xeb401b(0x241)]['forEach'](_0x24d83f=>{_0x24d83f['makeDirty']();});const {scene:_0x1fa897}=_0x195c9d,_0x2732ef=xi(Array[_0xeb401b(0x23e)](_0x90d223[_0xeb401b(0xfd)]()))[_0xeb401b(0x2cb)](_0x23cb32=>{const _0x5d8bfb=_0xeb401b,{color:_0x145655,range:_0x310ba0,name:_0x94fc3e,selection:_0x26a3fa,sheetID:_0x588644}=_0x23cb32,{startColumn:_0x546f4d,startRow:_0x5adde7,endColumn:_0x1d7a10,endRow:_0x5c418d}=_0x310ba0,_0x4cc33f=_0x2ab3df(_0x5adde7,_0x546f4d,_0x1fa897,_0x4cfbef),_0x377053=_0x2ab3df(_0x5c418d,_0x1d7a10,_0x1fa897,_0x4cfbef),{columnHeaderHeightAndMarginTop:_0x578298}=_0x4cfbef,{startX:_0x1c2f2d,startY:_0x22fbdf}=_0x4cc33f,{endX:_0xae57a5,endY:_0x9f9a37}=_0x377053,_0x12e8f4=_0xae57a5-_0x1c2f2d,_0x343549=_0x9f9a37-_0x22fbdf,_0x425245={'labelPosition':_0x22fbdf-_0x578298>=te?_0x5d8bfb(0x15b):_0x5d8bfb(0x2a6),'sheetID':_0x588644,'range':_0x310ba0,'color':_0x145655,'name':_0x94fc3e,'selection':_0x26a3fa,'left':_0x1c2f2d,'top':_0x22fbdf,'width':_0x12e8f4,'height':_0x343549,'evented':!0x1,'zIndex':$i};return new wi(_0x94fc3e,_0x425245);});_0x1fa897['addObjects'](_0x2732ef,Li),this[_0xeb401b(0x241)]=new Set(_0x2732ef);}[_0x18de5d(0x1db)](){const _0x18bfcf=_0x18de5d;var _0x159bea;(_0x159bea=this['_cursors'])==null||_0x159bea[_0x18bfcf(0x2b5)](_0xf0e856=>_0xf0e856['dispose']());}['_getSheetObject'](){const _0x45d673=_0x18de5d;return _0x16ddec(this[_0x45d673(0x162)][_0x45d673(0x1c8)],this[_0x45d673(0x162)]);}};we=yi([pe(0x1,_0x27c970(_0x1f8045)),pe(0x2,_0x27c970(F)),pe(0x3,_0x27c970(_0x4803fd))],we);function _0xe352(_0x28d236,_0x5eb3d4){const _0x550c1e=_0x550c();return _0xe352=function(_0xe35265,_0x5ae3f6){_0xe35265=_0xe35265-0xf7;let _0xa5358f=_0x550c1e[_0xe35265];return _0xa5358f;},_0xe352(_0x28d236,_0x5eb3d4);}function xi(_0x1cb789){const _0x1a6bfd=_0x18de5d,_0x1acd0e=new Map();return _0x1cb789[_0x1a6bfd(0x2b5)](_0x2f5b04=>{const _0x21d0ed=_0x1a6bfd;if(_0x1acd0e['has'](_0x2f5b04[_0x21d0ed(0x260)])){const _0x5e628b=_0x1acd0e[_0x21d0ed(0x160)](_0x2f5b04[_0x21d0ed(0x260)]);_0x5e628b['name']+=',\x20'+_0x2f5b04['name'];}else _0x1acd0e[_0x21d0ed(0x255)](_0x2f5b04['selection'],_0x2f5b04);}),Array[_0x1a6bfd(0x23e)](_0x1acd0e['values']());}var v=function(){return v=Object['assign']||function(_0x85fabc){const _0x4fb987=_0xe352;for(var _0x37b188,_0x2390da=0x1,_0x20a6b7=arguments[_0x4fb987(0x17c)];_0x2390da<_0x20a6b7;_0x2390da++){_0x37b188=arguments[_0x2390da];for(var _0x470547 in _0x37b188)Object[_0x4fb987(0x150)]['hasOwnProperty'][_0x4fb987(0x230)](_0x37b188,_0x470547)&&(_0x85fabc[_0x470547]=_0x37b188[_0x470547]);}return _0x85fabc;},v['apply'](this,arguments);},Bi=function(_0x5f149e,_0x5e851e){const _0x5627a4=_0x18de5d;var _0x3556b2={};for(var _0x269477 in _0x5f149e)Object[_0x5627a4(0x150)]['hasOwnProperty'][_0x5627a4(0x230)](_0x5f149e,_0x269477)&&_0x5e851e[_0x5627a4(0x188)](_0x269477)<0x0&&(_0x3556b2[_0x269477]=_0x5f149e[_0x269477]);if(_0x5f149e!=null&&typeof Object[_0x5627a4(0x1dd)]==_0x5627a4(0x107)){for(var _0x2b7331=0x0,_0x269477=Object['getOwnPropertySymbols'](_0x5f149e);_0x2b7331<_0x269477[_0x5627a4(0x17c)];_0x2b7331++)_0x5e851e[_0x5627a4(0x188)](_0x269477[_0x2b7331])<0x0&&Object[_0x5627a4(0x150)][_0x5627a4(0x2a1)][_0x5627a4(0x230)](_0x5f149e,_0x269477[_0x2b7331])&&(_0x3556b2[_0x269477[_0x2b7331]]=_0x5f149e[_0x269477[_0x2b7331]]);}return _0x3556b2;},Ye=_0x17dafc(function(_0x3bf69d,_0x3ed1c6){const _0x1a08f3=_0x18de5d;var _0x389b5a=_0x3bf69d['icon'],_0x10577b=_0x3bf69d['id'],_0x33be26=_0x3bf69d[_0x1a08f3(0x146)],_0x5c3411=_0x3bf69d[_0x1a08f3(0x16f)],_0x39a249=Bi(_0x3bf69d,[_0x1a08f3(0x121),'id',_0x1a08f3(0x146),'extend']),_0x159fc6='univerjs-icon\x20univerjs-icon-'[_0x1a08f3(0x2ae)](_0x10577b,'\x20')['concat'](_0x33be26||'')[_0x1a08f3(0x1be)](),_0x4a1292=_0x72d1d7('_'[_0x1a08f3(0x2ae)](Fi()));return Dt(_0x389b5a,''['concat'](_0x10577b),{'defIds':_0x389b5a['defIds'],'idSuffix':_0x4a1292[_0x1a08f3(0x17d)]},v({'ref':_0x3ed1c6,'className':_0x159fc6},_0x39a249),_0x5c3411);});function Dt(_0x353860,_0x1ec888,_0x23093a,_0x48a699,_0x9ec5e4){const _0x26b85b=_0x18de5d;return _0x100c76(_0x353860[_0x26b85b(0x245)],v(v({'key':_0x1ec888},ki(_0x353860,_0x23093a,_0x9ec5e4)),_0x48a699),(Hi(_0x353860,_0x23093a)[_0x26b85b(0x130)]||[])['map'](function(_0x3f6d47,_0x17be01){const _0x407f48=_0x26b85b;return Dt(_0x3f6d47,''[_0x407f48(0x2ae)](_0x1ec888,'-')[_0x407f48(0x2ae)](_0x353860[_0x407f48(0x245)],'-')[_0x407f48(0x2ae)](_0x17be01),_0x23093a,void 0x0,_0x9ec5e4);}));}function ki(_0x5540f9,_0x13f871,_0x2cbcec){const _0x52d2fd=_0x18de5d;var _0x73fc47=v({},_0x5540f9[_0x52d2fd(0x284)]);_0x2cbcec!=null&&_0x2cbcec[_0x52d2fd(0x151)]&&_0x73fc47[_0x52d2fd(0x124)]===_0x52d2fd(0x151)&&(_0x73fc47[_0x52d2fd(0x124)]=_0x2cbcec[_0x52d2fd(0x151)]),_0x5540f9['tag']===_0x52d2fd(0x2fc)&&_0x73fc47['id']&&(_0x73fc47['id']=_0x73fc47['id']+_0x13f871['idSuffix']),Object[_0x52d2fd(0x11f)](_0x73fc47)[_0x52d2fd(0x2b5)](function(_0x4f48a8){const _0x1707d8=_0x52d2fd;var _0x20dff6=_0x4f48a8[0x0],_0x5059bc=_0x4f48a8[0x1];_0x20dff6===_0x1707d8(0x2fc)&&typeof _0x5059bc==_0x1707d8(0x219)&&(_0x73fc47[_0x20dff6]=_0x5059bc[_0x1707d8(0x2a5)](/url\(#(.*)\)/,_0x1707d8(0x2c9)['concat'](_0x13f871[_0x1707d8(0x1e7)],')')));});var _0x5c703f=_0x13f871[_0x52d2fd(0x2c2)];return!_0x5c703f||_0x5c703f[_0x52d2fd(0x17c)]===0x0||(_0x5540f9[_0x52d2fd(0x245)]==='use'&&_0x73fc47['xlink:href']&&(_0x73fc47[_0x52d2fd(0x278)]=_0x73fc47[_0x52d2fd(0x278)]+_0x13f871[_0x52d2fd(0x1e7)]),Object[_0x52d2fd(0x11f)](_0x73fc47)['forEach'](function(_0x136cd5){const _0x57912a=_0x52d2fd;var _0x5ec6ef=_0x136cd5[0x0],_0x224d21=_0x136cd5[0x1];typeof _0x224d21==_0x57912a(0x219)&&(_0x73fc47[_0x5ec6ef]=_0x224d21['replace'](/url\(#(.*)\)/,'url(#$1'[_0x57912a(0x2ae)](_0x13f871[_0x57912a(0x1e7)],')')));})),_0x73fc47;}function Hi(_0x4cf303,_0x5aad2f){const _0x2fdefc=_0x18de5d;var _0x1409cf,_0x5860c9=_0x5aad2f[_0x2fdefc(0x2c2)];return!_0x5860c9||_0x5860c9['length']===0x0?_0x4cf303:_0x4cf303[_0x2fdefc(0x245)]==='defs'&&(!((_0x1409cf=_0x4cf303[_0x2fdefc(0x130)])===null||_0x1409cf===void 0x0)&&_0x1409cf[_0x2fdefc(0x17c)])?v(v({},_0x4cf303),{'children':_0x4cf303[_0x2fdefc(0x130)][_0x2fdefc(0x2cb)](function(_0x259dbc){const _0x277d48=_0x2fdefc;return typeof _0x259dbc[_0x277d48(0x284)]['id']=='string'&&_0x5860c9&&_0x5860c9[_0x277d48(0x281)](_0x259dbc[_0x277d48(0x284)]['id'])?v(v({},_0x259dbc),{'attrs':v(v({},_0x259dbc[_0x277d48(0x284)]),{'id':_0x259dbc[_0x277d48(0x284)]['id']+_0x5aad2f[_0x277d48(0x1e7)]})}):_0x259dbc;})}):_0x4cf303;}function Fi(){const _0x1b7980=_0x18de5d;return Math['random']()[_0x1b7980(0x113)](0x24)['substring'](0x2,0x8);}Ye[_0x18de5d(0x157)]=_0x18de5d(0x1f7);var Yi={'tag':_0x18de5d(0x1e2),'attrs':{'xmlns':_0x18de5d(0x2c4),'fill':_0x18de5d(0x1c6),'viewBox':_0x18de5d(0x2af),'width':_0x18de5d(0x275),'height':_0x18de5d(0x275)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x18de5d(0x2c5),'d':_0x18de5d(0x1ff),'strokeLinecap':_0x18de5d(0x1ef),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18de5d(0x2b0),'attrs':{},'children':[{'tag':_0x18de5d(0x186),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18de5d(0x261)]},Nt=_0x17dafc(function(_0x17cea6,_0x5d8587){const _0x158981=_0x18de5d;return _0x100c76(Ye,Object[_0x158981(0x163)]({},_0x17cea6,{'id':_0x158981(0x2ef),'ref':_0x5d8587,'icon':Yi}));});Nt[_0x18de5d(0x157)]=_0x18de5d(0x2c0);var ji={'tag':_0x18de5d(0x1e2),'attrs':{'xmlns':_0x18de5d(0x2c4),'fill':'none','viewBox':_0x18de5d(0x183),'width':_0x18de5d(0x275),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x18de5d(0x21f),'attrs':{'stroke':_0x18de5d(0x2c5),'d':_0x18de5d(0x248),'strokeLinecap':_0x18de5d(0x1ef),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18de5d(0x2b0),'attrs':{},'children':[{'tag':_0x18de5d(0x186),'attrs':{'id':_0x18de5d(0x12a)},'children':[{'tag':_0x18de5d(0x21f),'attrs':{'fill':_0x18de5d(0x190),'d':'M0\x200H16V16H0z','transform':_0x18de5d(0x218)}}]}]}],'defIds':[_0x18de5d(0x12a)]},Ut=_0x17dafc(function(_0x7c7666,_0x3c6e35){const _0x538f78=_0x18de5d;return _0x100c76(Ye,Object['assign']({},_0x7c7666,{'id':_0x538f78(0x1a8),'ref':_0x3c6e35,'icon':ji}));});Ut[_0x18de5d(0x157)]=_0x18de5d(0x1ba);function Vi(_0x2056ac){const _0x214e73=_0x18de5d;switch(_0x2056ac){case _0x192957['OFFLINE']:return'collabStatus.offline';case _0x192957[_0x214e73(0x215)]:return _0x214e73(0x2a7);case _0x192957[_0x214e73(0x10c)]:return _0x214e73(0x258);case _0x192957['NOT_COLLAB']:return'collabStatus.notCollab';case _0x192957[_0x214e73(0x13a)]:case _0x192957[_0x214e73(0x268)]:return'collabStatus.syncing';case _0x192957[_0x214e73(0x1cd)]:case _0x192957[_0x214e73(0x265)]:return _0x214e73(0x23d);}}function Wi(_0x2de32d){const _0x47da40=_0x18de5d,{status$:_0x127bbb}=_0x2de32d,_0x3e6e50=_0xbc7e0b(_0x127bbb,_0x192957[_0x47da40(0x25f)]),_0x465324=_0x5a7d83(_0x15b547),_0xbfd5a2=_0x5a7d83(_0x1d5bd1),_0x5eb2f6=_0x3e6e50!==_0x192957[_0x47da40(0x13c)],_0x28d4cc=_0x465324['t'](Vi(_0x3e6e50)),_0x3a5e07=_0x5eb2f6?_0x619bd9(Ut,{}):_0x619bd9(Nt,{}),_0x44bf4b=_0x30bc1f(()=>{const _0x34471e=_0x47da40;_0x5eb2f6||_0xbfd5a2[_0x34471e(0x254)]();},[_0x5eb2f6,_0xbfd5a2]);function _0x22f71a(){const _0xf96b07=_0x47da40;return _0x5737ed('div',{'className':_0xf96b07(0x28e),'onClick':_0x44bf4b,'children':[_0x619bd9(_0xf96b07(0x21e),{'className':_0x569fc6('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5eb2f6,'univer-text-red-500':!_0x5eb2f6}),'children':_0x3a5e07}),_0x619bd9('div',{'className':_0xf96b07(0x149),'children':_0x28d4cc})]});}return _0x5eb2f6?_0x22f71a():_0x619bd9(_0x5a73ab,{'title':_0x465324['t'](_0x47da40(0x17b)),'children':_0x22f71a()});}var Xi=Object[_0x18de5d(0x1d6)],Gi=(_0x27d2a8,_0x51f50b,_0x24acba,_0x2782a0)=>{for(var _0x2c5d98=_0x2782a0>0x1?void 0x0:_0x2782a0?Xi(_0x51f50b,_0x24acba):_0x51f50b,_0x4d9d8f=_0x27d2a8['length']-0x1,_0x2831fb;_0x4d9d8f>=0x0;_0x4d9d8f--)(_0x2831fb=_0x27d2a8[_0x4d9d8f])&&(_0x2c5d98=_0x2831fb(_0x2c5d98)||_0x2c5d98);return _0x2c5d98;},q=(_0x3a1806,_0x3c04e6)=>(_0x1b52b9,_0x21720a)=>_0x3c04e6(_0x1b52b9,_0x21720a,_0x3a1806);let se=class extends _0x5e9afd{constructor(_0x48f559,_0x309ae5,_0x15220b,_0xdac10a){const _0x18e00e=_0x18de5d;super(),_(this,'_status$',new _0x431026(_0x192957[_0x18e00e(0x25f)])),(this[_0x18e00e(0x2e4)]=_0x48f559,this[_0x18e00e(0x174)]=_0x309ae5,this[_0x18e00e(0x2a4)]=_0x15220b,this[_0x18e00e(0x299)]=_0xdac10a,this['_initStatusComponent'](),this[_0x18e00e(0x140)]());}[_0x18de5d(0x140)](){const _0x2a175b=_0x18de5d;this[_0x2a175b(0x235)](this['_univerInstanceService'][_0x2a175b(0x173)][_0x2a175b(0x1d4)](_0x4c6389(()=>{const _0x23f626=_0x2a175b,_0x3ad274=this[_0x23f626(0x2e4)][_0x23f626(0x233)]();return _0x3ad274?this[_0x23f626(0x2a4)][_0x23f626(0x2fa)](_0x3ad274[_0x23f626(0x1b2)]()):_0x265266(null);}),_0x4c6389(_0x5e38a9=>_0x5e38a9?_0x5e38a9[_0x2a175b(0x13f)]:_0x265266(_0x192957['NOT_COLLAB'])))[_0x2a175b(0x18c)](_0x123600=>{const _0x4f8d34=_0x2a175b;this[_0x4f8d34(0x159)][_0x4f8d34(0x1b8)](_0x123600);}));}[_0x18de5d(0x1aa)](){const _0x3058f1=_0x18de5d;this[_0x3058f1(0x235)](this[_0x3058f1(0x299)]['registerComponent'](_0x5c1c60[_0x3058f1(0x141)],()=>_0x50b3d9(Ki({'status$':this[_0x3058f1(0x159)]['asObservable']()}),this[_0x3058f1(0x174)])));}};se=Gi([q(0x0,_0x48742b),q(0x1,_0x27c970(_0x7beb97)),q(0x2,_0x27c970(_0x1167f7)),q(0x3,_0x3637ea)],se);function Ki(_0x4d0846){const {status$:_0x249fcb}=_0x4d0846;return function(){return _0x619bd9(Wi,{'status$':_0x249fcb});};}var zi=Object[_0x18de5d(0x1d6)],Ji=(_0x20500a,_0x453874,_0x441260,_0xa0c62c)=>{for(var _0x18acce=_0xa0c62c>0x1?void 0x0:_0xa0c62c?zi(_0x453874,_0x441260):_0x453874,_0x5be4ab=_0x20500a['length']-0x1,_0x246622;_0x5be4ab>=0x0;_0x5be4ab--)(_0x246622=_0x20500a[_0x5be4ab])&&(_0x18acce=_0x246622(_0x18acce)||_0x18acce);return _0x18acce;},B=(_0x538738,_0x37d63f)=>(_0x1d15c1,_0x3a82c4)=>_0x37d63f(_0x1d15c1,_0x3a82c4,_0x538738);let ie=class extends _0x5e9afd{constructor(_0x1658cc,_0x1b5ccc,_0x231a0d,_0x532547,_0x299c18,_0x24e7f7){const _0x262fee=_0x18de5d;super(),this[_0x262fee(0x1ea)]=_0x1658cc,this[_0x262fee(0x2ca)]=_0x1b5ccc,this['_collaborationUIEventService']=_0x231a0d,this[_0x262fee(0x14c)]=_0x532547,this[_0x262fee(0x234)]=_0x299c18,this['_localeService']=_0x24e7f7,this[_0x262fee(0x100)](),this['_initEvent']();}[_0x18de5d(0x100)](){const _0x518f58=_0x18de5d;this[_0x518f58(0x235)](this[_0x518f58(0x1ea)][_0x518f58(0x18a)](()=>{const _0x1d59a1=_0x518f58;if(this[_0x1d59a1(0x2ca)][_0x1d59a1(0x24e)]['size'])return this[_0x1d59a1(0x1cc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x18de5d(0x19f)](){const _0x34e779=_0x18de5d;this[_0x34e779(0x235)](this[_0x34e779(0x24d)][_0x34e779(0x2f5)]['subscribe'](_0x21c51d=>{const _0x264d6a=_0x34e779;_0x21c51d['id']===_0x300448[_0x264d6a(0x1d2)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e[_0x264d6a(0x24a)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x256))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x242)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Warning'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x29b))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x286)]&&this[_0x264d6a(0x234)]['show']({'title':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x2b6)),'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x111)),'type':_0x264d6a(0x1dc),'duration':0x0}),_0x21c51d['id']===_0x300448[_0x264d6a(0x215)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e[_0x264d6a(0x1f9)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x29b))+'('+_0x21c51d[_0x264d6a(0x21a)]+')'}),_0x21c51d['id']===_0x300448['JOIN_ROOM_FAILED']&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Warning'],'content':this[_0x264d6a(0x1cc)]['t'](_0x21c51d[_0x264d6a(0x21a)]||'')}),_0x21c51d['id']===_0x300448['SOCKET_FAILED_RETRY']&&this[_0x264d6a(0x14c)]['show']({'type':_0x95506e[_0x264d6a(0x24a)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x191))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x213)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Error'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x106))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x273)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Error'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x12b))});}));}};ie=Ji([B(0x0,_0x4a1c48),B(0x1,_0x273c40),B(0x2,_0x27c970(_0x39fba4)),B(0x3,_0x2796cd),B(0x4,_0x519ea3),B(0x5,_0x27c970(_0x15b547))],ie);const Zi=_0x18de5d(0x240),tt={},Mt=_0x2c805a(_0x18de5d(0x152));var Qi=Object[_0x18de5d(0x1d6)],qi=(_0x53ad59,_0x50536a,_0xc1134b,_0xba604)=>{const _0xa1cc94=_0x18de5d;for(var _0x3fb4fd=_0xba604>0x1?void 0x0:_0xba604?Qi(_0x50536a,_0xc1134b):_0x50536a,_0x194dcc=_0x53ad59[_0xa1cc94(0x17c)]-0x1,_0x44e0ee;_0x194dcc>=0x0;_0x194dcc--)(_0x44e0ee=_0x53ad59[_0x194dcc])&&(_0x3fb4fd=_0x44e0ee(_0x3fb4fd)||_0x3fb4fd);return _0x3fb4fd;},K=(_0x2c6517,_0x11ad52)=>(_0x59d9fb,_0xe7dcfe)=>_0x11ad52(_0x59d9fb,_0xe7dcfe,_0x2c6517);let ne=class extends _0xe69302{constructor(_0x4f38e3,_0x502f83,_0x522966,_0x224632,_0x407cdb){const _0x507013=_0x18de5d;super(),this[_0x507013(0x1fb)]=_0x4f38e3,this[_0x507013(0x101)]=_0x502f83,this[_0x507013(0x1d3)]=_0x522966,this[_0x507013(0x1fc)]=_0x224632,_0x407cdb?_0x407cdb==null||_0x407cdb[_0x507013(0x22d)]()[_0x507013(0x2e1)](()=>this['_init']()):(this[_0x507013(0x101)]['debug'](_0x507013(0x11d),_0x507013(0x1ad)),this[_0x507013(0x1e9)]());}async[_0x18de5d(0x1e9)](){const _0x33d3e7=_0x18de5d,_0x2d87be=this['_urlService'][_0x33d3e7(0x28d)](_0x33d3e7(0x1c8)),_0x2d02c2=this['_urlService'][_0x33d3e7(0x28d)]('type'),_0x49cefa=this[_0x33d3e7(0x1fb)][_0x33d3e7(0x28d)](_0x33d3e7(0x17a));if(!_0x2d87be||!_0x2d02c2){this[_0x33d3e7(0x101)][_0x33d3e7(0x104)](_0x33d3e7(0x11d),_0x33d3e7(0x193));return;}const _0x5d9da4=await this['_dataLoaderService']['loadUnit'](_0x2d87be,Number(_0x2d02c2),_0x49cefa);_0x5d9da4&&_0x5d9da4 instanceof _0x2050e1&&this[_0x33d3e7(0x1d0)](_0x5d9da4);}async[_0x18de5d(0x1d0)](_0x1e0bef){const _0x119951=_0x18de5d;await this[_0x119951(0x1c4)](_0x1e0bef),_0x1e0bef['activeSheet$'][_0x119951(0x1d4)](_0x136ebe(this[_0x119951(0x10f)]))[_0x119951(0x18c)](_0x2a467e=>{const _0x529ff0=_0x119951;_0x2a467e&&this[_0x529ff0(0x1e5)](_0x2a467e);}),this[_0x119951(0x1fb)][_0x119951(0x10e)][_0x119951(0x1d4)](_0x136ebe(this['dispose$']))[_0x119951(0x18c)](()=>this[_0x119951(0x1c4)](_0x1e0bef));}[_0x18de5d(0x1e5)](_0x1de47e,_0x1324c4=!0x1){const _0x573841=_0x18de5d,_0x5c9809=this[_0x573841(0x1fb)]['getParam'](_0x573841(0x17a));_0x1de47e[_0x573841(0x19c)]()!==_0x5c9809&&this[_0x573841(0x1fb)][_0x573841(0x269)]('subunit',_0x1de47e[_0x573841(0x19c)](),_0x1324c4);}async[_0x18de5d(0x1c4)](_0x1f18e3){const _0x9ccf69=_0x18de5d;var _0x33e590;const _0x5e034c=this[_0x9ccf69(0x1fb)][_0x9ccf69(0x28d)](_0x9ccf69(0x17a));if(!_0x5e034c||!_0x1f18e3[_0x9ccf69(0x251)](_0x5e034c)){const _0x12588a=_0x1f18e3[_0x9ccf69(0x212)]()[0x0],_0x1e0c21=_0x1f18e3[_0x9ccf69(0x251)](_0x12588a);if(!_0x1e0c21)return;this[_0x9ccf69(0x1e5)](_0x1e0c21,!0x0),await this['_commandService'][_0x9ccf69(0x217)](_0x3381d9['id'],{'unitId':_0x1f18e3['getUnitId'](),'subUnitId':_0x12588a});return;}((_0x33e590=_0x1f18e3[_0x9ccf69(0x20f)]())==null?void 0x0:_0x33e590[_0x9ccf69(0x19c)]())!==_0x5e034c&&await this[_0x9ccf69(0x1d3)][_0x9ccf69(0x217)](_0x3381d9['id'],{'unitId':_0x1f18e3[_0x9ccf69(0x1b2)](),'subUnitId':_0x5e034c});}};ne=qi([K(0x0,Mt),K(0x1,_0x1ad422),K(0x2,_0x222f85),K(0x3,_0x27c970(_0x47cfe2)),K(0x4,_0x2dd769(_0x2fef78))],ne);var en=Object[_0x18de5d(0x1d6)],tn=(_0xa78c34,_0x20ff4a,_0x598956,_0x2806a3)=>{const _0x30a6e1=_0x18de5d;for(var _0x21746d=_0x2806a3>0x1?void 0x0:_0x2806a3?en(_0x20ff4a,_0x598956):_0x20ff4a,_0x5ea9c6=_0xa78c34[_0x30a6e1(0x17c)]-0x1,_0x31e04f;_0x5ea9c6>=0x0;_0x5ea9c6--)(_0x31e04f=_0xa78c34[_0x5ea9c6])&&(_0x21746d=_0x31e04f(_0x21746d)||_0x21746d);return _0x21746d;},Ce=(_0x3e2f62,_0x47efe5)=>(_0x1e86c3,_0x32b0d8)=>_0x47efe5(_0x1e86c3,_0x32b0d8,_0x3e2f62);let re=class{constructor(_0x368967,_0x43ef93,_0x189368){const _0x2890d4=_0x18de5d;this['_injector']=_0x368967,this[_0x2890d4(0x14b)]=_0x43ef93,this['_renderManagerService']=_0x189368;}['transformIMECache'](_0x2899bf){const _0x5b44e5=_0x18de5d;this[_0x5b44e5(0x2ad)](_0x2899bf),this['_transformPreviousActiveRange'](_0x2899bf);}[_0x18de5d(0x2e9)](_0x463802){const _0x2c05ad=_0x18de5d,{unitID:_0x356235}=_0x463802,_0x51ba02=this[_0x2c05ad(0x246)][_0x2c05ad(0x2d5)](_0x356235)[_0x2c05ad(0x2aa)](_0x159c0f),{redoCache:_0x3670b4}=_0x51ba02[_0x2c05ad(0x187)]();if(_0x3670b4[_0x2c05ad(0x17c)]===0x0)return _0x463802;let _0xc7f726=_0x5c24bc[_0x2c05ad(0x204)](_0x463802[_0x2c05ad(0x1c3)][0x0]);for(let _0x680cda=0x0;_0x680cda<_0x3670b4[_0x2c05ad(0x17c)];_0x680cda++){const _0x1ada6d={'id':_0x2c05ad(0x13b),'params':{..._0x3670b4[_0x680cda]}},_0x1cf9a4=this[_0x2c05ad(0x14b)][_0x2c05ad(0x123)](_0xc7f726,_0x1ada6d,!0x1);if(_0x19dd6d(_0x1cf9a4))throw _0x1cf9a4['error'];_0xc7f726=_0x1cf9a4[_0x2c05ad(0x19a)];}return{..._0x5c24bc[_0x2c05ad(0x204)](_0x463802),'mutations':[_0xc7f726]};}[_0x18de5d(0x2ad)](_0x2ce86a){const _0x591905=_0x18de5d,{unitID:_0x380fa3}=_0x2ce86a,_0x21069d=this[_0x591905(0x246)][_0x591905(0x2d5)](_0x380fa3)[_0x591905(0x2aa)](_0x159c0f),{undoCache:_0x404398,redoCache:_0x2459e0}=_0x21069d[_0x591905(0x187)]();if(_0x404398[_0x591905(0x17c)]===0x0||_0x2459e0['length']===0x0)return;const _0x45e4d5=[],_0x57e92f=[];let _0x57b007=_0x5c24bc[_0x591905(0x204)](_0x2ce86a[_0x591905(0x1c3)][0x0]),_0x539acd=_0x5c24bc['deepClone'](_0x2ce86a['mutations'][0x0]);for(let _0x2bcf71=_0x404398[_0x591905(0x17c)]-0x1;_0x2bcf71>=0x0;_0x2bcf71--){const _0x13c6ac={'id':_0x591905(0x13b),'params':{..._0x404398[_0x2bcf71]}},_0x5c16c9={'id':_0x591905(0x13b),'params':{..._0x2459e0[_0x2bcf71]}},_0x4498c7=this[_0x591905(0x14b)]['transformMutation'](_0x57b007,_0x13c6ac,!0x1),_0x5764cf=this['_transformService'][_0x591905(0x123)](_0x539acd,_0x5c16c9,!0x1);if(_0x19dd6d(_0x4498c7))throw _0x4498c7[_0x591905(0x1dc)];if(_0x19dd6d(_0x5764cf))throw _0x5764cf['error'];_0x45e4d5[_0x591905(0x116)](_0x4498c7[_0x591905(0x2a2)][_0x591905(0x13e)]),_0x57e92f[_0x591905(0x116)](_0x5764cf['m2Prime']['params']),_0x57b007=_0x4498c7[_0x591905(0x19a)],_0x539acd=_0x5764cf[_0x591905(0x19a)];}_0x21069d[_0x591905(0x16a)]({'undoCache':_0x45e4d5,'redoCache':_0x57e92f});}[_0x18de5d(0x227)](_0x1d8ab4){const _0x20faad=_0x18de5d,{unitID:_0x5061b4}=_0x1d8ab4,_0x28b1c3=this[_0x20faad(0x246)][_0x20faad(0x2d5)](_0x5061b4)[_0x20faad(0x2aa)](_0x159c0f),_0x53763b=_0x28b1c3[_0x20faad(0x29c)]();if(_0x53763b==null)return;const _0x10edea=[{'id':_0x20faad(0x13b),'params':{'unitId':_0x1d8ab4[_0x20faad(0x1b1)],'actions':null,'textRanges':[_0x53763b]}}],_0x5975f3=this[_0x20faad(0x14b)][_0x20faad(0x14f)](_0x1d8ab4,_0x10edea);if(!_0x26ca1a(_0x5975f3))throw _0x5975f3[_0x20faad(0x1dc)];const _0x5c25c7=_0x5975f3[_0x20faad(0x2a2)][0x0][_0x20faad(0x13e)]['textRanges'];Array[_0x20faad(0x16d)](_0x5c25c7)&&_0x5c25c7[_0x20faad(0x17c)]&&_0x28b1c3['setActiveRange'](_0x5c25c7[0x0]);}};re=tn([Ce(0x0,_0x27c970(_0x7beb97)),Ce(0x1,_0x4bff0c),Ce(0x2,_0x4e12ea)],re);var sn=Object[_0x18de5d(0x1d6)],nn=(_0x205d84,_0x4dd9bc,_0x2f1049,_0x4c35c5)=>{const _0x44861d=_0x18de5d;for(var _0x114660=_0x4c35c5>0x1?void 0x0:_0x4c35c5?sn(_0x4dd9bc,_0x2f1049):_0x4dd9bc,_0x56c43c=_0x205d84[_0x44861d(0x17c)]-0x1,_0x18cf1b;_0x56c43c>=0x0;_0x56c43c--)(_0x18cf1b=_0x205d84[_0x56c43c])&&(_0x114660=_0x18cf1b(_0x114660)||_0x114660);return _0x114660;},Ee=(_0x57f0e0,_0x43b420)=>(_0x4bb855,_0x353822)=>_0x43b420(_0x4bb855,_0x353822,_0x57f0e0);let oe=class{constructor(_0x5dd3ac,_0x11f1dd,_0x16f138){const _0x15e844=_0x18de5d;this[_0x15e844(0x174)]=_0x5dd3ac,this[_0x15e844(0x14b)]=_0x11f1dd,this[_0x15e844(0x22a)]=_0x16f138;}[_0x18de5d(0x2ed)](_0xd2a0b){this['_transformHistoryAndStateStack'](_0xd2a0b);}[_0x18de5d(0x2e9)](_0x3124c2){const _0x1b7e4a=_0x18de5d,{unitID:_0x248597}=_0x3124c2,{collaboration:_0x43b9db}=this[_0x1b7e4a(0x22a)][_0x1b7e4a(0x29d)](_0x248597);if(_0x43b9db[_0x1b7e4a(0x17c)]===0x0)return _0x3124c2;let _0xe0faab=_0x5c24bc[_0x1b7e4a(0x204)](_0x3124c2[_0x1b7e4a(0x1c3)][0x0]);for(let _0x3a376a=0x0;_0x3a376a<_0x43b9db[_0x1b7e4a(0x17c)];_0x3a376a++){const _0x5d2268={'id':_0x1b7e4a(0x13b),'params':{'unitId':_0x43b9db[_0x3a376a][_0x1b7e4a(0x1bf)],..._0x43b9db[_0x3a376a][_0x1b7e4a(0x1e3)]}},_0xd8949a=this['_transformService'][_0x1b7e4a(0x123)](_0xe0faab,_0x5d2268,!0x1);if(_0x19dd6d(_0xd8949a))throw _0xd8949a['error'];_0xe0faab=_0xd8949a[_0x1b7e4a(0x19a)];}return{..._0x5c24bc[_0x1b7e4a(0x204)](_0x3124c2),'mutations':[_0xe0faab]};}[_0x18de5d(0x21d)](_0x3e5fda){const _0xbdafa8=_0x18de5d,{unitID:_0xacc8de}=_0x3e5fda,{history:_0x1f71c2,collaboration:_0x31148d}=this[_0xbdafa8(0x22a)][_0xbdafa8(0x29d)](_0xacc8de);if(_0x1f71c2[_0xbdafa8(0x17c)]===0x0&&_0x31148d['length']===0x0)return;const _0x477338=[],_0x4fa39b=[];let _0x51ace8=_0x5c24bc['deepClone'](_0x3e5fda['mutations'][0x0]),_0x5227d6=_0x5c24bc[_0xbdafa8(0x204)](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]);for(let _0x57df23=_0x1f71c2[_0xbdafa8(0x17c)]-0x1;_0x57df23>=0x0;_0x57df23--){const _0x1e8092={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f71c2[_0x57df23][_0xbdafa8(0x1bf)],..._0x1f71c2[_0x57df23]['undoState']}},_0x54dc2f={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x1f71c2[_0x57df23]['unitId'],..._0x1f71c2[_0x57df23][_0xbdafa8(0x1e3)]}},_0x3101c5=this['_transformService']['transformMutation'](_0x51ace8,_0x1e8092,!0x1),_0x550a1c=this['_transformService']['transformMutation'](_0x5227d6,_0x54dc2f,!0x1);if(_0x19dd6d(_0x3101c5))throw _0x3101c5['error'];if(_0x19dd6d(_0x550a1c))throw _0x550a1c[_0xbdafa8(0x1dc)];_0x477338[_0xbdafa8(0x116)]({..._0x1f71c2[_0x57df23],'undoState':_0x3101c5[_0xbdafa8(0x2a2)][_0xbdafa8(0x13e)],'redoState':_0x550a1c[_0xbdafa8(0x2a2)][_0xbdafa8(0x13e)]}),_0x51ace8=_0x3101c5[_0xbdafa8(0x19a)],_0x5227d6=_0x550a1c[_0xbdafa8(0x19a)];}_0x51ace8=_0x5c24bc['deepClone'](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]),_0x5227d6=_0x5c24bc[_0xbdafa8(0x204)](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]);for(let _0x144aa6=_0x31148d['length']-0x1;_0x144aa6>=0x0;_0x144aa6--){const _0x5eb3a2={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x31148d[_0x144aa6][_0xbdafa8(0x1bf)],..._0x31148d[_0x144aa6]['undoState']}},_0x7852c3={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x31148d[_0x144aa6][_0xbdafa8(0x1bf)],..._0x31148d[_0x144aa6][_0xbdafa8(0x1e3)]}},_0x58b3b7=this['_transformService']['transformMutation'](_0x51ace8,_0x5eb3a2,!0x1),_0x34ffee=this['_transformService']['transformMutation'](_0x5227d6,_0x7852c3,!0x1);if(_0x19dd6d(_0x58b3b7))throw _0x58b3b7[_0xbdafa8(0x1dc)];if(_0x19dd6d(_0x34ffee))throw _0x34ffee[_0xbdafa8(0x1dc)];_0x4fa39b[_0xbdafa8(0x116)]({..._0x31148d[_0x144aa6],'undoState':_0x58b3b7['m2Prime'][_0xbdafa8(0x13e)],'redoState':_0x34ffee['m2Prime'][_0xbdafa8(0x13e)]}),_0x51ace8=_0x58b3b7['m1Prime'],_0x5227d6=_0x34ffee[_0xbdafa8(0x19a)];}this[_0xbdafa8(0x22a)][_0xbdafa8(0x176)](_0xacc8de,{'history':_0x477338,'collaboration':_0x4fa39b});}};oe=nn([Ee(0x0,_0x27c970(_0x7beb97)),Ee(0x1,_0x4bff0c),Ee(0x2,_0x27c970(_0x4eed79))],oe);var rn=Object[_0x18de5d(0x1d6)],on=(_0x27c2bb,_0xd3f915,_0x3a69fb,_0x16bb7c)=>{const _0x5905b5=_0x18de5d;for(var _0x1fb320=_0x16bb7c>0x1?void 0x0:_0x16bb7c?rn(_0xd3f915,_0x3a69fb):_0xd3f915,_0x1266b3=_0x27c2bb[_0x5905b5(0x17c)]-0x1,_0x32bebc;_0x1266b3>=0x0;_0x1266b3--)(_0x32bebc=_0x27c2bb[_0x1266b3])&&(_0x1fb320=_0x32bebc(_0x1fb320)||_0x1fb320);return _0x1fb320;},st=(_0x561613,_0x13c307)=>(_0x5242da,_0x3cdbd1)=>_0x13c307(_0x5242da,_0x3cdbd1,_0x561613);let ae=class{constructor(_0xf1bc8,_0x147243){const _0x5312c2=_0x18de5d;this[_0x5312c2(0x174)]=_0xf1bc8,this[_0x5312c2(0x14b)]=_0x147243;}[_0x18de5d(0x29a)](_0x223114){const _0x29ca9f=_0x18de5d;var _0x5f3783;const _0x3e536e=this['_injector'][_0x29ca9f(0x160)](_0x2bc17f),_0x383ec1=(_0x5f3783=_0x3e536e[_0x29ca9f(0x2dd)]())!=null?_0x5f3783:[];if(_0x383ec1[_0x29ca9f(0x17c)]===0x0)return;const _0x546e6c=_0x223114[_0x29ca9f(0x1b1)],_0x540ac6=[{'id':_0x29ca9f(0x13b),'params':{'unitId':_0x546e6c,'actions':null,'textRanges':_0x383ec1}}],_0x190ac8=this[_0x29ca9f(0x14b)][_0x29ca9f(0x14f)](_0x223114,_0x540ac6);if(!_0x26ca1a(_0x190ac8))throw _0x190ac8[_0x29ca9f(0x1dc)];const _0x11cdd5=_0x190ac8[_0x29ca9f(0x2a2)][0x0]['params'][_0x29ca9f(0x201)];Array['isArray'](_0x11cdd5)&&_0x11cdd5[_0x29ca9f(0x17c)]&&_0x3e536e[_0x29ca9f(0x2bf)](_0x11cdd5,{'unitId':_0x546e6c,'subUnitId':_0x546e6c},!0x1);}};ae=on([st(0x0,_0x27c970(_0x7beb97)),st(0x1,_0x4bff0c)],ae);var an=Object[_0x18de5d(0x1d6)],cn=(_0x32229a,_0x464de5,_0x10b226,_0x5c2a1e)=>{const _0x1a2519=_0x18de5d;for(var _0x368615=_0x5c2a1e>0x1?void 0x0:_0x5c2a1e?an(_0x464de5,_0x10b226):_0x464de5,_0x2e3a94=_0x32229a[_0x1a2519(0x17c)]-0x1,_0x1ac82e;_0x2e3a94>=0x0;_0x2e3a94--)(_0x1ac82e=_0x32229a[_0x2e3a94])&&(_0x368615=_0x1ac82e(_0x368615)||_0x368615);return _0x368615;},U=(_0x236dc6,_0x4fed26)=>(_0x3b2521,_0x1d4cf2)=>_0x4fed26(_0x3b2521,_0x1d4cf2,_0x236dc6);let ce=class extends _0x5e9afd{constructor(_0x27c62d,_0x5e850f,_0x4b8b54,_0x16a06e,_0x4707d8,_0x4315b4,_0x340968,_0x2a735b){const _0x4758fe=_0x18de5d;super(),_(this,_0x4758fe(0x159),new _0x431026(_0x192957[_0x4758fe(0x25f)])),(this[_0x4758fe(0x22a)]=_0x27c62d,this[_0x4758fe(0x2a4)]=_0x5e850f,this[_0x4758fe(0x271)]=_0x4b8b54,this[_0x4758fe(0x28c)]=_0x16a06e,this[_0x4758fe(0x207)]=_0x4707d8,this[_0x4758fe(0x214)]=_0x4315b4,this[_0x4758fe(0x14c)]=_0x340968,this[_0x4758fe(0x1cc)]=_0x2a735b,this[_0x4758fe(0x134)]());}[_0x18de5d(0x134)](){const _0x15f79a=_0x18de5d;this[_0x15f79a(0x235)](this[_0x15f79a(0x2a4)][_0x15f79a(0x21b)][_0x15f79a(0x18c)](_0x370436=>{const _0x41083=_0x15f79a,_0x355a78=this[_0x41083(0x22a)][_0x41083(0x236)]['subscribe'](_0x4bb14e=>{const _0x143aa6=_0x41083;if(_0x4bb14e==null)return;const {unitId:_0x5aa714,redoState:_0x41cf3f,commandId:_0x14a67d}=_0x4bb14e;if(_0x5aa714!==_0x370436[_0x143aa6(0x1b1)])return;const _0x346f07={'id':_0x14a67d,'type':_0x632a67[_0x143aa6(0x170)],'params':{'unitId':_0x5aa714,'actions':_0x41cf3f[_0x143aa6(0x2f7)],'textRanges':null}};_0x370436[_0x143aa6(0x290)](_0x346f07);});if(_0x370436[_0x41083(0x235)](_0x355a78),_0x370436 instanceof _0x6aac4f){const _0x3724de={'onTransformIME':_0x230f84=>this['_docTransformIMECacheService'][_0x41083(0x22e)](_0x230f84),'onTransformState':_0x25a077=>this[_0x41083(0x28c)]['transformStateCache'](_0x25a077),'onTransformSelections':_0x597942=>this['_docTransformSelectionsService'][_0x41083(0x29a)](_0x597942),'onSyncEditingCollabCursor':_0x324199=>this['_docSyncEditingCollabCursorService'][_0x41083(0x1f6)](_0x324199),'onTransformRemoteChangesetByIMECache':_0x94352f=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x94352f),'onTransformRemoteChangesetByStateCache':_0x25faeb=>this[_0x41083(0x28c)][_0x41083(0x2e9)](_0x25faeb)};_0x370436['addHandlerCallback'](_0x3724de);}}));}};ce=cn([U(0x0,_0x27c970(_0x4eed79)),U(0x1,_0x27c970(_0x1167f7)),U(0x2,_0x27c970(re)),U(0x3,_0x27c970(oe)),U(0x4,_0x27c970(ae)),U(0x5,_0x27c970(Fe)),U(0x6,_0x2796cd),U(0x7,_0x27c970(_0x15b547))],ce);var ln=Object[_0x18de5d(0x1d6)],_n=(_0xf8e75d,_0x12df8e,_0x2d1f83,_0x92cf1e)=>{const _0x1c69c1=_0x18de5d;for(var _0x578482=_0x92cf1e>0x1?void 0x0:_0x92cf1e?ln(_0x12df8e,_0x2d1f83):_0x12df8e,_0x1b1a08=_0xf8e75d[_0x1c69c1(0x17c)]-0x1,_0x3d54ea;_0x1b1a08>=0x0;_0x1b1a08--)(_0x3d54ea=_0xf8e75d[_0x1b1a08])&&(_0x578482=_0x3d54ea(_0x578482)||_0x578482);return _0x578482;},Oe=(_0x5696dc,_0xcce7fa)=>(_0x1f7f14,_0x3f4498)=>_0xcce7fa(_0x1f7f14,_0x3f4498,_0x5696dc);let Ae=class extends _0x5e9afd{constructor(_0x50777e,_0x1752c1,_0x411def){const _0x3ee822=_0x18de5d;super(),_(this,_0x3ee822(0x1bc),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3ee822(0x221),!0x1),(this['_configService']=_0x50777e,this[_0x3ee822(0x1c5)]=_0x1752c1,this[_0x3ee822(0x143)]=_0x411def);}[_0x18de5d(0x282)](){this['_disabled']=!0x0;}[_0x18de5d(0x21c)](){this['_disabled']=!0x1;}get[_0x18de5d(0x24e)](){const _0x3324d0=_0x18de5d;return this[_0x3324d0(0x2f4)];}[_0x18de5d(0x182)](){const _0x1486fc=_0x18de5d;this[_0x1486fc(0x20b)]()['then'](()=>super[_0x1486fc(0x182)]());}async['loadOfflineData'](_0x2d2391){const _0x27902f=_0x18de5d;return this['_disabled']?null:this[_0x27902f(0x1c5)][_0x27902f(0x2e0)](_0x124539(_0x2d2391));}async[_0x18de5d(0x1e1)](_0x43b9d0,_0x7f07ec){const _0x117a2f=_0x18de5d;return!!this[_0x117a2f(0x1c5)][_0x117a2f(0xfb)](_0x43b9d0,_0x7f07ec);}[_0x18de5d(0x1b0)](_0x3f4d43,_0x491809,_0x3b2164,_0x4d15bf){const _0x398597=_0x18de5d,_0xfe8b12=this[_0x398597(0x143)]['getCurrentRevOfUnit'](_0x3f4d43);this['_cachedData'][_0x398597(0x255)](_0x3f4d43,{'unitID':_0x3f4d43,'type':_0x491809,'awaitingChangeset':_0x3b2164,'mutations':_0x4d15bf,'rev':_0xfe8b12}),this[_0x398597(0x2f4)][_0x398597(0x145)](_0x3f4d43)||this[_0x398597(0x1af)](_0x3f4d43);}['_scheduleSaving'](_0x468d95){const _0x307e9b=_0x18de5d,_0x4b50d3=this[_0x307e9b(0x1ae)]();_0x4b50d3===0x0?this[_0x307e9b(0x2d8)](_0x468d95):this[_0x307e9b(0x2f4)][_0x307e9b(0x255)](_0x468d95,setTimeout(()=>this[_0x307e9b(0x2d8)](_0x468d95),_0x4b50d3));}[_0x18de5d(0x1ae)](){const _0x19cd19=_0x18de5d;var _0x24194f;return(_0x24194f=this[_0x19cd19(0x1de)][_0x19cd19(0x2e5)](_0xbb93be))!=null?_0x24194f:_0x19264a;}[_0x18de5d(0x2d8)](_0x3e7973){const _0x10c252=_0x18de5d,_0x169618=this['_saveTaskMap']['get'](_0x3e7973);return _0x169618!==void 0x0&&window[_0x10c252(0x1a9)](_0x169618),this[_0x10c252(0x1c5)][_0x10c252(0xfb)](_0x124539(_0x3e7973),this['_cachedData']['get'](_0x3e7973))[_0x10c252(0x2e1)](()=>this[_0x10c252(0x2f4)][_0x10c252(0x27f)](_0x3e7973));}async[_0x18de5d(0x20b)](){const _0x3b5d0a=_0x18de5d,_0xbb2288=[];this['_saveTaskMap'][_0x3b5d0a(0x2b5)]((_0x1b1665,_0x2cde74)=>{const _0x3ffe4a=_0x3b5d0a;window['clearTimeout'](_0x1b1665),_0xbb2288[_0x3ffe4a(0x276)](this[_0x3ffe4a(0x2d8)](_0x2cde74)[_0x3ffe4a(0x2e1)](()=>{const _0x44c5a8=_0x3ffe4a;this[_0x44c5a8(0x2f4)][_0x44c5a8(0x27f)](_0x2cde74);}));}),await Promise['all'](_0xbb2288);}};Ae=_n([Oe(0x0,_0x5a44c0),Oe(0x1,_0x41414d),Oe(0x2,_0x27c970(_0x2cd314))],Ae);class hn extends _0xe69302{constructor(){const _0xa5711c=_0x18de5d;super(),_(this,_0xa5711c(0x10e)),this['urlChange$']=_0x560f4a(window,_0xa5711c(0x2be))[_0xa5711c(0x1d4)](_0x136ebe(this['dispose$']),_0x536179(0x1),_0x45eac3(void 0x0));}[_0x18de5d(0x269)](_0x2f76fd,_0x381e39,_0x1b50fc=!0x1){const _0x40b0f0=_0x18de5d,_0x186c6d=new URL(window[_0x40b0f0(0x105)][_0x40b0f0(0x28a)]);_0x186c6d[_0x40b0f0(0x2dc)][_0x40b0f0(0x255)](_0x2f76fd,_0x381e39),_0x1b50fc?window[_0x40b0f0(0x220)][_0x40b0f0(0x1e0)]('','',_0x186c6d[_0x40b0f0(0x113)]()):window[_0x40b0f0(0x220)][_0x40b0f0(0x2eb)]('','',_0x186c6d['toString']());}[_0x18de5d(0x1c1)](_0x5c0d30,_0x147fcb=!0x1){const _0x480cdf=_0x18de5d,_0x11c1ad=new URL(window[_0x480cdf(0x105)]['href']);_0x11c1ad[_0x480cdf(0x2dc)][_0x480cdf(0x27f)](_0x5c0d30),_0x147fcb?window[_0x480cdf(0x220)][_0x480cdf(0x1e0)]('','',_0x11c1ad[_0x480cdf(0x113)]()):window[_0x480cdf(0x220)][_0x480cdf(0x2eb)]('','',_0x11c1ad[_0x480cdf(0x113)]());}['getParam'](_0x176495){const _0x5459a4=_0x18de5d;var _0x533ce5;return(_0x533ce5=new URL(window[_0x5459a4(0x105)][_0x5459a4(0x28a)])[_0x5459a4(0x2dc)][_0x5459a4(0x160)](_0x176495))!=null?_0x533ce5:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x18de5d(0x1d6)],fn=(_0x29351e,_0x283835,_0x4c4a59)=>_0x283835 in _0x29351e?un(_0x29351e,_0x283835,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4a59}):_0x29351e[_0x283835]=_0x4c4a59,Sn=(_0x4e71a6,_0x2039d2,_0x5bf0e5,_0x438fb0)=>{const _0x214e88=_0x18de5d;for(var _0x5b4a60=_0x438fb0>0x1?void 0x0:_0x438fb0?dn(_0x2039d2,_0x5bf0e5):_0x2039d2,_0x2f09a0=_0x4e71a6[_0x214e88(0x17c)]-0x1,_0x5294ca;_0x2f09a0>=0x0;_0x2f09a0--)(_0x5294ca=_0x4e71a6[_0x2f09a0])&&(_0x5b4a60=_0x5294ca(_0x5b4a60)||_0x5b4a60);return _0x5b4a60;},be=(_0x2151c6,_0x1e6efa)=>(_0x4837c4,_0x18d462)=>_0x1e6efa(_0x4837c4,_0x18d462,_0x2151c6),mn=(_0x3c4bd0,_0x467376,_0x16b49e)=>fn(_0x3c4bd0,_0x467376+'',_0x16b49e);const In=_0x18de5d(0x2de);let ye=class extends _0x794544{constructor(_0x384247=tt,_0x5987ca,_0x119357,_0x1d0966){const _0x4638f3=_0x18de5d;super(),this[_0x4638f3(0x1f0)]=_0x384247,this['_renderManagerService']=_0x5987ca,this[_0x4638f3(0x174)]=_0x119357,this['_configService']=_0x1d0966;const {..._0x6039cb}=_0x15a876({},tt,this[_0x4638f3(0x1f0)]);this['_configService']['setConfig'](Zi,_0x6039cb);}['onStarting'](){const _0x27e700=_0x18de5d;this[_0x27e700(0x216)](),this[_0x27e700(0x1ce)]();}[_0x18de5d(0x1fd)](){const _0xfcb17b=_0x18de5d;this[_0xfcb17b(0x2e7)]();}[_0x18de5d(0x216)](){const _0x2bb65f=_0x18de5d;var _0x566a2b;const _0xbeaa16=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x10d7cb,{'useClass':_0x45968c}],[_0x273c40,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0xf2e9b9(this[_0x2bb65f(0x174)],_0x689443(_0xbeaa16,(_0x566a2b=this[_0x2bb65f(0x1f0)])==null?void 0x0:_0x566a2b['override']));}[_0x18de5d(0x2e7)](){const _0x1eeeff=_0x18de5d;this[_0x1eeeff(0x235)](this[_0x1eeeff(0x246)][_0x1eeeff(0x20c)](_0x4ab320[_0x1eeeff(0x262)],[Pe])),this[_0x1eeeff(0x235)](this[_0x1eeeff(0x246)][_0x1eeeff(0x20c)](_0x4ab320[_0x1eeeff(0x18b)],[we]));}['_initDependencies'](){_0x404b43(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,_0x18de5d(0x231),In),ye=Sn([_0x59014c(_0x2a1d4f),be(0x1,_0x4e12ea),be(0x2,_0x27c970(_0x7beb97)),be(0x3,_0x5a44c0)],ye);var vn=Object[_0x18de5d(0x1d6)],gn=(_0x3ad327,_0x3ab29f,_0x1badbe,_0x4ce640)=>{const _0x361707=_0x18de5d;for(var _0x41a75b=_0x4ce640>0x1?void 0x0:_0x4ce640?vn(_0x3ab29f,_0x1badbe):_0x3ab29f,_0x3d4064=_0x3ad327[_0x361707(0x17c)]-0x1,_0xa6247f;_0x3d4064>=0x0;_0x3d4064--)(_0xa6247f=_0x3ad327[_0x3d4064])&&(_0x41a75b=_0xa6247f(_0x41a75b)||_0x41a75b);return _0x41a75b;},z=(_0x4f0671,_0x490e23)=>(_0x362057,_0x1ae9e5)=>_0x490e23(_0x362057,_0x1ae9e5,_0x4f0671);let it=class extends _0x48f06e{constructor(_0x25e5aa,_0x240d6f,_0x338bb5,_0x4d063d,_0x46d76d){super(_0x25e5aa,_0x240d6f,_0x338bb5,_0x4d063d,_0x46d76d);}async['createSocket'](_0x45fd33){const _0x40c2c2=_0x18de5d,_0x747e6b=await this[_0x40c2c2(0x15d)](),_0x150b8a=this[_0x40c2c2(0x2d6)](_0x45fd33,_0x747e6b);return this[_0x40c2c2(0x294)](_0x150b8a);}[_0x18de5d(0x2d6)](_0x754fd4,_0x1acb73){const _0x3122de=_0x18de5d,_0x4bebf7=typeof window>'u'?new URL(_0x754fd4):new URL(_0x754fd4,window[_0x3122de(0x105)]['origin']);_0x4bebf7[_0x3122de(0x2dc)]['set']('sessionTicket',_0x1acb73);const _0x1310a7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3122de(0x105)][_0x3122de(0x274)]);return _0x1310a7[_0x3122de(0x160)](_0x3122de(0x27d))&&_0x4bebf7[_0x3122de(0x2dc)][_0x3122de(0x255)]('runId',_0x1310a7[_0x3122de(0x160)](_0x3122de(0x27d))),_0x4bebf7['toString']();}async[_0x18de5d(0x15d)](){const _0x1be64d=_0x18de5d;var _0x50c250,_0x493355,_0x32d6f7;const _0x3207f0=this['_configService']['getConfig'](_0x5ad869),_0x113f1e=(_0x50c250=_0x3207f0==null?void 0x0:_0x3207f0[_0x1be64d(0x17e)])!=null?_0x50c250:_0x45f8f1;return(_0x32d6f7=(_0x493355=(await this[_0x1be64d(0x19e)][_0x1be64d(0x160)](_0x113f1e,{'headers':{'Content-Type':_0x1be64d(0x2a9)}}))[_0x1be64d(0x1bd)])==null?void 0x0:_0x493355[_0x1be64d(0x2ce)])!=null?_0x32d6f7:'';}};it=gn([z(0x0,_0x27c970(_0x7beb97)),z(0x1,_0x27c970(_0x509113)),z(0x2,_0x5a44c0),z(0x3,_0x1ad422),z(0x4,_0x431378)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x5e9afd{constructor(){const _0x43143b=_0x18de5d;super(),_(this,_0x43143b(0x2a0),_0x32a801()),_(this,_0x43143b(0x270),new Set()),_(this,_0x43143b(0x166),new Map()),_(this,_0x43143b(0x2db),null),_(this,_0x43143b(0x102),new Map()),_(this,'_unitStatus',new Map()),this[_0x43143b(0x1e9)]();}['dispose'](){const _0x3513ad=_0x18de5d;super[_0x3513ad(0x182)](),this[_0x3513ad(0x102)][_0x3513ad(0x2b5)]((_0x47acab,_0xe13277)=>this[_0x3513ad(0x15c)](_0xe13277)),this[_0x3513ad(0x2db)]&&window[_0x3513ad(0x223)](this['_heartbeatTimer']);}[_0x18de5d(0x198)](_0x502dce){const _0x567d3d=_0x18de5d;return this[_0x567d3d(0x253)](_0x502dce)['pipe'](_0x314626());}[_0x18de5d(0x2c8)](_0x27f8fd){const _0x501f62=_0x18de5d;this[_0x501f62(0x270)][_0x501f62(0x25c)]===0x0&&this[_0x501f62(0x11c)](),this[_0x501f62(0x270)][_0x501f62(0x1b4)](_0x27f8fd),this[_0x501f62(0x1fe)]({'type':0x0,'memberID':this[_0x501f62(0x2a0)],'unitIDs':[_0x27f8fd],'isForwarded':!0x1});}[_0x18de5d(0x122)](_0x4be429){const _0xd8d203=_0x18de5d;this['_selfUnitIDs'][_0xd8d203(0x27f)](_0x4be429),this[_0xd8d203(0x270)][_0xd8d203(0x25c)]===0x0&&this['_heartbeatTimer']&&window[_0xd8d203(0x223)](this[_0xd8d203(0x2db)]);}[_0x18de5d(0x1e9)](){const _0xc581ac=_0x18de5d;this[_0xc581ac(0x235)](_0x354fba(_0x560f4a(window,'storage')[_0xc581ac(0x18c)](_0x20fba4=>{const _0x46da4f=_0xc581ac;if(_0x20fba4[_0x46da4f(0x25a)]!==rt||!_0x20fba4[_0x46da4f(0x14e)])return;const _0x40763b=JSON[_0x46da4f(0x2d3)](_0x20fba4[_0x46da4f(0x14e)]);this[_0x46da4f(0x24c)](_0x40763b);}))),window['addEventListener']('unload',()=>this[_0xc581ac(0x1fe)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xc581ac(0x23e)](this['_selfUnitIDs'])}));}[_0x18de5d(0x24c)](_0xea0dfd){const _0x4704f4=_0x18de5d;switch(_0xea0dfd[_0x4704f4(0x1d5)]){case 0x0:this[_0x4704f4(0x208)](_0xea0dfd);break;case 0x1:this[_0x4704f4(0x27e)](_0xea0dfd);break;case 0x2:this[_0x4704f4(0x279)](_0xea0dfd);break;}}[_0x18de5d(0x208)](_0x42ff31){const _0x4c0c4a=_0x18de5d,{unitIDs:_0x1eda9b,memberID:_0x3fb5cd,isForwarded:_0x4cf761}=_0x42ff31;_0x1eda9b[_0x4c0c4a(0x2b5)](_0x13df23=>{const _0x5ed984=_0x4c0c4a;if(!_0x4cf761&&this[_0x5ed984(0x166)][_0x5ed984(0x145)](_0x13df23)&&this[_0x5ed984(0x253)](_0x13df23)[_0x5ed984(0x1b8)](_0x337f3c[_0x5ed984(0x259)]),!this[_0x5ed984(0x166)]['has'](_0x13df23)||!this[_0x5ed984(0x166)]['get'](_0x13df23)[_0x5ed984(0x145)](_0x3fb5cd)){const _0x11dd52=this[_0x5ed984(0x166)]['get'](_0x13df23)||new Set();_0x11dd52[_0x5ed984(0x1b4)](_0x3fb5cd),this[_0x5ed984(0x166)][_0x5ed984(0x255)](_0x13df23,_0x11dd52),this[_0x5ed984(0x2ec)](_0x3fb5cd);}}),_0x4cf761||this[_0x4c0c4a(0x1fe)]({'type':0x0,'memberID':this[_0x4c0c4a(0x2a0)],'unitIDs':[...this[_0x4c0c4a(0x270)]],'isForwarded':!0x0});}[_0x18de5d(0x2ec)](_0x95e4a){const _0x4c810d=_0x18de5d;this[_0x4c810d(0x15c)](_0x95e4a);const _0x1124b3=window[_0x4c810d(0x179)](()=>{const _0x329b4b=_0x4c810d;this[_0x329b4b(0x166)]['forEach'](_0x5ecdce=>{_0x5ecdce['delete'](_0x95e4a);});},nt*0x2);this[_0x4c810d(0x102)][_0x4c810d(0x255)](_0x95e4a,_0x1124b3);}[_0x18de5d(0x15c)](_0x1868c7){const _0x44884a=_0x18de5d;if(this[_0x44884a(0x102)][_0x44884a(0x145)](_0x1868c7)){const _0x3eb309=this[_0x44884a(0x102)][_0x44884a(0x160)](_0x1868c7);_0x3eb309&&window[_0x44884a(0x1a9)](_0x3eb309),this[_0x44884a(0x102)][_0x44884a(0x255)](_0x1868c7,null);}}['_handleLeaveEvent'](_0x35350c){const _0x151688=_0x18de5d,{memberID:_0x2b3455,unitIDs:_0x2be24f}=_0x35350c;_0x2be24f[_0x151688(0x2b5)](_0x53d293=>{const _0x5802a9=_0x151688;var _0x4a1cd1;const _0x21db04=this[_0x5802a9(0x166)][_0x5802a9(0x160)](_0x53d293);_0x21db04&&(_0x21db04[_0x5802a9(0x27f)](_0x2b3455),(_0x4a1cd1=this['_ensureSubject'](_0x53d293))==null||_0x4a1cd1[_0x5802a9(0x1b8)](_0x21db04['size']===0x0?_0x337f3c['NO_OTHER_CLIENTS_EDITING']:_0x337f3c[_0x5802a9(0x259)]));}),this['_removeClearOtherTimer'](_0x2b3455);}[_0x18de5d(0x279)](_0x54267d){const _0x7db791=_0x18de5d;this[_0x7db791(0x2ec)](_0x54267d[_0x7db791(0x108)]);}['_send'](_0x2e44c2){const _0x247f54=_0x18de5d;localStorage[_0x247f54(0xfb)](rt,JSON[_0x247f54(0x15e)](_0x2e44c2));}[_0x18de5d(0x11c)](){const _0x201fc4=_0x18de5d;this[_0x201fc4(0x2db)]=window[_0x201fc4(0x2da)](()=>{const _0x4b07c2=_0x201fc4;this[_0x4b07c2(0x1fe)]({'type':0x2,'memberID':this[_0x4b07c2(0x2a0)]});},nt);}[_0x18de5d(0x253)](_0x1a780f){const _0x2b96fa=_0x18de5d;return this[_0x2b96fa(0x2f3)][_0x2b96fa(0x145)](_0x1a780f)||this[_0x2b96fa(0x2f3)][_0x2b96fa(0x255)](_0x1a780f,new _0x431026(_0x337f3c[_0x2b96fa(0x298)])),this[_0x2b96fa(0x2f3)][_0x2b96fa(0x160)](_0x1a780f);}}var Lt=(_0x580ea0=>(_0x580ea0[_0x580ea0['UNDEFINED']=0x0]='UNDEFINED',_0x580ea0[_0x580ea0['OK']=0x1]='OK',_0x580ea0[_0x580ea0[_0x18de5d(0x1cf)]=0x2]='INTERNAL_ERROR',_0x580ea0[_0x580ea0[_0x18de5d(0x286)]=0x3]=_0x18de5d(0x286),_0x580ea0[_0x580ea0[_0x18de5d(0x155)]=0x4]='NOT_FOUND',_0x580ea0[_0x580ea0[_0x18de5d(0x272)]=0x5]=_0x18de5d(0x272),_0x580ea0[_0x580ea0['ALREADY_EXISTS']=0x6]=_0x18de5d(0x117),_0x580ea0[_0x580ea0[_0x18de5d(0x10d)]=0x7]='INVALID_ARGUMENT',_0x580ea0[_0x580ea0[_0x18de5d(0x109)]=0x8]=_0x18de5d(0x109),_0x580ea0[_0x580ea0[_0x18de5d(0x2d9)]=0x9]=_0x18de5d(0x2d9),_0x580ea0[_0x580ea0[_0x18de5d(0x119)]=0xa]='LOGIN_FAILED',_0x580ea0[_0x580ea0[_0x18de5d(0x283)]=0xb]=_0x18de5d(0x283),_0x580ea0[_0x580ea0[_0x18de5d(0x26c)]=0xc]=_0x18de5d(0x26c),_0x580ea0[_0x580ea0[_0x18de5d(0x2e2)]=0xd]=_0x18de5d(0x2e2),_0x580ea0[_0x580ea0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x580ea0[_0x580ea0[_0x18de5d(0x24f)]=0x1389]=_0x18de5d(0x24f),_0x580ea0[_0x580ea0[_0x18de5d(0x154)]=0x1771]=_0x18de5d(0x154),_0x580ea0[_0x580ea0[_0x18de5d(0x1a6)]=0x1772]=_0x18de5d(0x1a6),_0x580ea0[_0x580ea0[_0x18de5d(0x295)]=0x1773]=_0x18de5d(0x295),_0x580ea0[_0x580ea0['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x580ea0[_0x580ea0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x18de5d(0x1a4),_0x580ea0[_0x580ea0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x18de5d(0x148),_0x580ea0[_0x580ea0[_0x18de5d(0x252)]=0x1b5c]=_0x18de5d(0x252),_0x580ea0[_0x580ea0[_0x18de5d(0x1f1)]=0x1b5d]=_0x18de5d(0x1f1),_0x580ea0[_0x580ea0[_0x18de5d(0x1e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x580ea0[_0x580ea0[_0x18de5d(0x293)]=0x2329]=_0x18de5d(0x293),_0x580ea0[_0x580ea0[_0x18de5d(0x287)]=0x232a]=_0x18de5d(0x287),_0x580ea0[_0x580ea0[_0x18de5d(0x297)]=0x232b]=_0x18de5d(0x297),_0x580ea0[_0x580ea0[_0x18de5d(0x1fa)]=0x232c]=_0x18de5d(0x1fa),_0x580ea0[_0x580ea0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x18de5d(0x18f),_0x580ea0[_0x580ea0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x18de5d(0x167),_0x580ea0[_0x580ea0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x580ea0[_0x580ea0[_0x18de5d(0x195)]=0x2713]=_0x18de5d(0x195),_0x580ea0[_0x580ea0[_0x18de5d(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x580ea0[_0x580ea0[_0x18de5d(0x26f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x580ea0[_0x580ea0[_0x18de5d(0x28b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x580ea0[_0x580ea0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x18de5d(0x16b),_0x580ea0[_0x580ea0[_0x18de5d(0x1c2)]=0x271d]=_0x18de5d(0x1c2),_0x580ea0[_0x580ea0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x18de5d(0x291),_0x580ea0[_0x580ea0[_0x18de5d(0x2b8)]=0x271f]=_0x18de5d(0x2b8),_0x580ea0[_0x580ea0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x18de5d(0x125),_0x580ea0[_0x580ea0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x18de5d(0x239),_0x580ea0[_0x580ea0[_0x18de5d(0x2a8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x580ea0[_0x580ea0[_0x18de5d(0x18d)]=0x2ee2]=_0x18de5d(0x18d),_0x580ea0[_0x580ea0[_0x18de5d(0x22f)]=0x2ee3]=_0x18de5d(0x22f),_0x580ea0[_0x580ea0[_0x18de5d(0x1bb)]=0x2ee4]=_0x18de5d(0x1bb),_0x580ea0[_0x580ea0[_0x18de5d(0x202)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x580ea0[_0x580ea0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x18de5d(0x2ac),_0x580ea0[_0x580ea0[_0x18de5d(0x1a7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x580ea0[_0x580ea0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x18de5d(0x189),_0x580ea0[_0x580ea0[_0x18de5d(0x2f6)]=-0x1]='UNRECOGNIZED',_0x580ea0))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4399d8,_0x1c8d74,_0x36f32f,_0x4ecb3f)=>{for(var _0x2ff832=_0x4ecb3f>0x1?void 0x0:_0x4ecb3f?pn(_0x1c8d74,_0x36f32f):_0x1c8d74,_0x764c8f=_0x4399d8['length']-0x1,_0x23af0f;_0x764c8f>=0x0;_0x764c8f--)(_0x23af0f=_0x4399d8[_0x764c8f])&&(_0x2ff832=_0x23af0f(_0x2ff832)||_0x2ff832);return _0x2ff832;},Te=(_0x320781,_0x3474ae)=>(_0x35e2ba,_0x4da75e)=>_0x3474ae(_0x35e2ba,_0x4da75e,_0x320781);let ot=class extends _0x5e9afd{constructor(_0x504be8,_0x5a33ca,_0x35c8fe){const _0x55de4d=_0x18de5d;super(),this[_0x55de4d(0x16e)]=_0x504be8,this[_0x55de4d(0x19e)]=_0x5a33ca,this[_0x55de4d(0x1de)]=_0x35c8fe;}async[_0x18de5d(0x1f4)](_0x31bf07,_0x2082ed,_0x41daad,..._0x428ec7){const _0x37c91e=_0x18de5d;var _0x41362f,_0x1b809d,_0x4b8aef,_0x4be3fc;const _0x3e3020=this['_instanceService']['getFocusedUnit']();if(!_0x3e3020)throw new Error(_0x37c91e(0xf9));const _0x2ca308=((_0x41362f=this[_0x37c91e(0x1de)][_0x37c91e(0x2e5)](_0x283f6e))!=null?_0x41362f:_0x7603b3)+'/'+_0x31bf07+_0x37c91e(0x2d2)+_0x2082ed,_0x33d88=new URL(window[_0x37c91e(0x105)]['href']),_0x3d2f17={'scriptId':_0x31bf07,'runId':(_0x1b809d=_0x33d88[_0x37c91e(0x2dc)][_0x37c91e(0x160)](_0x37c91e(0x27d)))!=null?_0x1b809d:'','function':_0x2082ed,'unitId':_0x3e3020[_0x37c91e(0x1b2)](),'argsOfFunction':JSON[_0x37c91e(0x15e)](_0x428ec7),'invokeId':(_0x4b8aef=_0x41daad['invokeId'])!=null?_0x4b8aef:'','executionId':(_0x4be3fc=_0x41daad[_0x37c91e(0x210)])!=null?_0x4be3fc:''};try{const _0x1494fe=await this[_0x37c91e(0x19e)][_0x37c91e(0x224)](_0x2ca308,{'body':_0x3d2f17});return _0x1494fe['body'][_0x37c91e(0x1dc)]&&_0x1494fe['body']['error']['code']!==Lt['OK']?_0x37c91e(0x164):_0x1494fe[_0x37c91e(0x1bd)][_0x37c91e(0x2ea)];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x48742b),Te(0x1,_0x27c970(_0x509113)),Te(0x2,_0x5a44c0)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0xa18dfd=_0x36e8;function _0xbb96(){const _0x2813d6=['11hTpyWJ','2570490xYJoQQ','544680MrUcdK','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1032LEXOrU','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.','Authentication\x20Error','Syncing...','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','58654muZeAc','14OpKdtY','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','113244mKMNFT','195088tcRSQp','6QrXosX','585ASIXTB','Click\x20to\x20Reconnect','6972410bcapXI','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts'];_0xbb96=function(){return _0x2813d6;};return _0xbb96();}function _0x36e8(_0x1e6d03,_0x5536ea){const _0xbb9610=_0xbb96();return _0x36e8=function(_0x36e851,_0x12608e){_0x36e851=_0x36e851-0xaf;let _0x97e319=_0xbb9610[_0x36e851];return _0x97e319;},_0x36e8(_0x1e6d03,_0x5536ea);}(function(_0x3ac0c3,_0x1c09a9){const _0x1a6d17=_0x36e8,_0x1b25e4=_0x3ac0c3();while(!![]){try{const _0x34d541=-parseInt(_0x1a6d17(0xaf))/0x1+parseInt(_0x1a6d17(0xc3))/0x2*(-parseInt(_0x1a6d17(0xb0))/0x3)+-parseInt(_0x1a6d17(0xbb))/0x4*(parseInt(_0x1a6d17(0xb1))/0x5)+parseInt(_0x1a6d17(0xc7))/0x6*(-parseInt(_0x1a6d17(0xc4))/0x7)+parseInt(_0x1a6d17(0xb8))/0x8+-parseInt(_0x1a6d17(0xb7))/0x9+parseInt(_0x1a6d17(0xb3))/0xa*(parseInt(_0x1a6d17(0xb6))/0xb);if(_0x34d541===_0x1c09a9)break;else _0x1b25e4['push'](_0x1b25e4['shift']());}catch(_0x3ba344){_0x1b25e4['push'](_0x1b25e4['shift']());}}}(_0xbb96,0x26958));const e={'collab-client':{'tooltip':{'reconnect':_0xa18dfd(0xb2)}},'collabStatus':{'fetchMiss':_0xa18dfd(0xc0),'conflict':_0xa18dfd(0xb5),'notCollab':'Local\x20file','synced':_0xa18dfd(0xc6),'syncing':_0xa18dfd(0xbf),'offline':_0xa18dfd(0xba)},'session':{'connection-failed':_0xa18dfd(0xbd),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xa18dfd(0xc2),'content':_0xa18dfd(0xbc)},'permission':{'title':_0xa18dfd(0xbe),'content':_0xa18dfd(0xb9)},'collaboration':{'single-unit':{'warning':_0xa18dfd(0xb4)},'closeRoom':_0xa18dfd(0xc5)},'auth':{'needGotoLoginAlert':_0xa18dfd(0xc1)}},o=e;export{o as default};
1
+ function _0xcff2(){const _0x3e0eba=['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.','10463496VRoSrD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2820087RTtoZV','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts','3RsJlHp','Synced','130NhxxfW','594AloQzV','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','987352tKHBcu','6450264jMOLFt','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','443182EsDCuV','Click\x20to\x20Reconnect','7587440guhzCI','79435NCwwIe','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0xcff2=function(){return _0x3e0eba;};return _0xcff2();}function _0x3f9e(_0x3d5621,_0x558194){const _0xcff22f=_0xcff2();return _0x3f9e=function(_0x3f9e04,_0x3ffd2a){_0x3f9e04=_0x3f9e04-0x7a;let _0xae46dd=_0xcff22f[_0x3f9e04];return _0xae46dd;},_0x3f9e(_0x3d5621,_0x558194);}const _0x1387c6=_0x3f9e;(function(_0x380846,_0x274cc9){const _0xfcdeee=_0x3f9e,_0x1e371a=_0x380846();while(!![]){try{const _0x5567ce=-parseInt(_0xfcdeee(0x86))/0x1+parseInt(_0xfcdeee(0x89))/0x2*(parseInt(_0xfcdeee(0x7e))/0x3)+-parseInt(_0xfcdeee(0x87))/0x4+-parseInt(_0xfcdeee(0x8c))/0x5*(-parseInt(_0xfcdeee(0x81))/0x6)+-parseInt(_0xfcdeee(0x8b))/0x7+-parseInt(_0xfcdeee(0x90))/0x8+parseInt(_0xfcdeee(0x7b))/0x9*(parseInt(_0xfcdeee(0x80))/0xa);if(_0x5567ce===_0x274cc9)break;else _0x1e371a['push'](_0x1e371a['shift']());}catch(_0x4007f8){_0x1e371a['push'](_0x1e371a['shift']());}}}(_0xcff2,0xd5e38));const e={'collab-client':{'tooltip':{'reconnect':_0x1387c6(0x8a)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1387c6(0x7d),'notCollab':_0x1387c6(0x84),'synced':_0x1387c6(0x7f),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1387c6(0x7c),'will-retry':_0x1387c6(0x82),'room-full':_0x1387c6(0x8e),'collaboration-timeout':_0x1387c6(0x83)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1387c6(0x8f)},'permission':{'title':_0x1387c6(0x8d),'content':_0x1387c6(0x88)},'collaboration':{'single-unit':{'warning':_0x1387c6(0x7a)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1387c6(0x85)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x2982e3=_0x22e2;function _0x1d2b(){const _0x451045=['2gonrOA','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.','513390avECsK','Local\x20file','1803666jqwFQi','Edit\x20conflicts','Click\x20to\x20Reconnect','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','597480inTecI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','555249jalfUz','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1281772WzLjjC','16mkEPNk','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','235858WTggKZ','5182983gKibFm','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x1d2b=function(){return _0x451045;};return _0x1d2b();}(function(_0x3be2a2,_0x209c7f){const _0x4c8b97=_0x22e2,_0x48932e=_0x3be2a2();while(!![]){try{const _0x6d0d1d=-parseInt(_0x4c8b97(0xc4))/0x1*(parseInt(_0x4c8b97(0xcd))/0x2)+-parseInt(_0x4c8b97(0xc2))/0x3+parseInt(_0x4c8b97(0xc7))/0x4+-parseInt(_0x4c8b97(0xcf))/0x5+-parseInt(_0x4c8b97(0xd1))/0x6+-parseInt(_0x4c8b97(0xca))/0x7+-parseInt(_0x4c8b97(0xc8))/0x8*(-parseInt(_0x4c8b97(0xcb))/0x9);if(_0x6d0d1d===_0x209c7f)break;else _0x48932e['push'](_0x48932e['shift']());}catch(_0x4fb1f6){_0x48932e['push'](_0x48932e['shift']());}}}(_0x1d2b,0x448f9));function _0x22e2(_0x38a6a8,_0x35433a){const _0x1d2b71=_0x1d2b();return _0x22e2=function(_0x22e252,_0xf1dd33){_0x22e252=_0x22e252-0xc1;let _0x3ff110=_0x1d2b71[_0x22e252];return _0x3ff110;},_0x22e2(_0x38a6a8,_0x35433a);}const e={'collab-client':{'tooltip':{'reconnect':_0x2982e3(0xd3)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2982e3(0xd2),'notCollab':_0x2982e3(0xd0),'synced':_0x2982e3(0xc1),'syncing':_0x2982e3(0xc5),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2982e3(0xd7),'will-retry':_0x2982e3(0xcc),'room-full':_0x2982e3(0xc3),'collaboration-timeout':_0x2982e3(0xd5)},'conflict':{'title':_0x2982e3(0xd4),'content':_0x2982e3(0xce)},'permission':{'title':_0x2982e3(0xd6),'content':_0x2982e3(0xc6)},'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':_0x2982e3(0xc9)}};export{e as default};
1
+ function _0x26aa(){const _0xabdc62=['7373480Baxcgp','Authentication\x20Error','6ctmZrD','48IlyYrT','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','1cMMRHa','72HdDxMr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','99781YFZWSY','Connection\x20failed,\x20please\x20check\x20your\x20network.','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','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Edit\x20conflicts','2280WnkMsu','225795EUunQJ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','2771858fzcEEY','1468010KNUQqU','5479355UdmkSb','878920eHFZcC'];_0x26aa=function(){return _0xabdc62;};return _0x26aa();}const _0x36131c=_0xe6d7;(function(_0x370658,_0x4bfb90){const _0x587dc9=_0xe6d7,_0x10a8b3=_0x370658();while(!![]){try{const _0x20b2d9=-parseInt(_0x587dc9(0xec))/0x1*(parseInt(_0x587dc9(0xe0))/0x2)+parseInt(_0x587dc9(0xdd))/0x3*(parseInt(_0x587dc9(0xe7))/0x4)+-parseInt(_0x587dc9(0xe1))/0x5*(-parseInt(_0x587dc9(0xe6))/0x6)+parseInt(_0x587dc9(0xe2))/0x7+parseInt(_0x587dc9(0xe3))/0x8*(-parseInt(_0x587dc9(0xed))/0x9)+-parseInt(_0x587dc9(0xe4))/0xa+parseInt(_0x587dc9(0xf0))/0xb*(parseInt(_0x587dc9(0xdc))/0xc);if(_0x20b2d9===_0x4bfb90)break;else _0x10a8b3['push'](_0x10a8b3['shift']());}catch(_0x1c33d8){_0x10a8b3['push'](_0x10a8b3['shift']());}}}(_0x26aa,0xab1a8));function _0xe6d7(_0x4e3ed9,_0x3921d3){const _0x26aafc=_0x26aa();return _0xe6d7=function(_0xe6d7be,_0x91b4b0){_0xe6d7be=_0xe6d7be-0xdb;let _0x4e09c4=_0x26aafc[_0xe6d7be];return _0x4e09c4;},_0xe6d7(_0x4e3ed9,_0x3921d3);}const e={'collab-client':{'tooltip':{'reconnect':_0x36131c(0xf5)}},'collabStatus':{'fetchMiss':_0x36131c(0xdf),'conflict':_0x36131c(0xdb),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x36131c(0xef),'offline':_0x36131c(0xf3)},'session':{'connection-failed':_0x36131c(0xf1),'will-retry':_0x36131c(0xe8),'room-full':_0x36131c(0xde),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x36131c(0xeb),'content':_0x36131c(0xf2)},'permission':{'title':_0x36131c(0xe5),'content':_0x36131c(0xf4)},'collaboration':{'single-unit':{'warning':_0x36131c(0xe9)},'closeRoom':_0x36131c(0xea)},'auth':{'needGotoLoginAlert':_0x36131c(0xee)}};export{e as default};