@univerjs-pro/collaboration-client-ui 0.9.3 → 0.9.4-nightly.202507290713

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 (51) 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/types/index.d.ts +0 -2
  38. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +17 -17
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x8d5cf8=_0x42a6;(function(_0x21f56a,_0x23f662){const _0x556e55=_0x42a6,_0x13e001=_0x21f56a();while(!![]){try{const _0x1b9c0b=parseInt(_0x556e55(0x173))/0x1+-parseInt(_0x556e55(0x17f))/0x2*(-parseInt(_0x556e55(0x297))/0x3)+parseInt(_0x556e55(0x2ae))/0x4*(parseInt(_0x556e55(0x1f6))/0x5)+-parseInt(_0x556e55(0x1fc))/0x6+-parseInt(_0x556e55(0x2d9))/0x7*(-parseInt(_0x556e55(0x26e))/0x8)+-parseInt(_0x556e55(0x238))/0x9*(-parseInt(_0x556e55(0xf4))/0xa)+-parseInt(_0x556e55(0x15e))/0xb;if(_0x1b9c0b===_0x23f662)break;else _0x13e001['push'](_0x13e001['shift']());}catch(_0x4d5c17){_0x13e001['push'](_0x13e001['shift']());}}}(_0x1839,0x3a384));var xt=Object[_0x8d5cf8(0x1a2)],Bt=(_0x4a3959,_0x4da931,_0x40f097)=>_0x4da931 in _0x4a3959?xt(_0x4a3959,_0x4da931,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40f097}):_0x4a3959[_0x4da931]=_0x40f097,_=(_0x3ef867,_0xdf94e1,_0x1376df)=>Bt(_0x3ef867,typeof _0xdf94e1!=_0x8d5cf8(0x25f)?_0xdf94e1+'':_0xdf94e1,_0x1376df);function _0x42a6(_0x5dbe70,_0x3db448){const _0x183984=_0x1839();return _0x42a6=function(_0x42a6b6,_0x3b4522){_0x42a6b6=_0x42a6b6-0xdf;let _0x1d507a=_0x183984[_0x42a6b6];return _0x1d507a;},_0x42a6(_0x5dbe70,_0x3db448);}import{MemberService as _0x4f6dd1,SessionStatus as _0x5650d3,CollaborationSessionService as _0xffc754,CollaborationStatus as _0xbfaff5,CollaborationController as _0x3c6559,ILocalCacheService as _0x483b5d,CollaborationUIEventService as _0xa818b3,CollaborationUIEventId as _0x1855d6,DataLoaderService as _0x5c323b,DocCollaborationEntity as _0x67c9bf,getLocalCacheKey as _0x200d8a,LOCAL_CACHE_INTERVAL as _0x1a33e5,LOCAL_CACHE_INTERVAL_KEY as _0x240bb3,UniverCollaborationClientPlugin as _0x12af4b,CollaborationSocketService as _0x5a249f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1e777a,DEFAULT_WS_SESSION_TICKET_URL as _0xb67a36,UnitStatus as _0x48b077,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x98b0f9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x8dad6a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3c867d,Disposable as _0x32e48f,DOC_RANGE_TYPE as _0x455b31,Inject as _0x1a3b2a,Injector as _0x4fa6a4,IUniverInstanceService as _0x562792,ICommandService as _0x1ea0fe,debounce as _0x4b6109,Rectangle as _0x4e9155,DisposableCollection as _0x27a633,toDisposable as _0x192f45,UniverInstanceType as _0x536f1d,generateRandomId as _0x329535,COLORS as _0x56248b,ColorKit as _0x11d916,ThemeService as _0x1b9233,fromEventSubject as _0x3b4df3,LocaleService as _0x12013b,createIdentifier as _0xe3ec3b,ILogService as _0x30d796,Optional as _0x5e8d02,Workbook as _0x25a725,Tools as _0x5056d7,CommandType as _0x18088c,IConfigService as _0xe1599c,ILocalStorageService as _0x5af182,DependentOn as _0x12c1b8,Plugin as _0x298542,merge as _0x410ec3,registerDependencies as _0x308788,mergeOverrideWithDependencies as _0x122e9c,touchDependencies as _0x4c4c3f}from'@univerjs/core';import{Shape as _0x450e23,Rect as _0x68b4a4,getColor as _0x372ab3,RegularPolygon as _0x2f7e47,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x426709,Vector2 as _0x2a8fa6,SHEET_VIEWPORT_KEY as _0x5a3abf,IRenderManagerService as _0x188bfb}from'@univerjs/engine-render';import{ISocketService as _0x5c790c,WebSocketService as _0x7fdf5b,HTTPService as _0x32f590}from'@univerjs/network';import{IDocClipboardService as _0x27b415,NodePositionConvertToCursor as _0x2582a6,NodePositionConvertToRectRange as _0xe868ed,TEXT_RANGE_LAYER_INDEX as _0xa6a8ec,SetDocZoomRatioOperation as _0x8a025,DocIMEInputManagerService as _0x47c70f,DocStateChangeManagerService as _0xc2758c}from'@univerjs/docs-ui';import{IImageIoService as _0x1ff75a}from'@univerjs/drawing';import{BehaviorSubject as _0xed8a6e,debounceTime as _0x1ab885,takeUntil as _0x1316d6,Subject as _0x5904bd,filter as _0x575a76,switchMap as _0x1ea62d,merge as _0x178454,combineLatest as _0x362697,of as _0x35c99b,fromEvent as _0x517a35,shareReplay as _0x18cde6,mapTo as _0x9e94d0,distinctUntilChanged as _0xf7c20f}from'rxjs';import{ITransformService as _0x1f39b3,CollaborationEvent as _0xfa579d,isTransformMutationFailure as _0xc0c83d,isTransformMutationsWithChangesetSuccess as _0x29221a,RevisionService as _0x2809e3,ISnapshotServerService as _0x20a96e}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xfc2757,RichTextEditingMutation as _0x123bec,DocSelectionManagerService as _0x23c6c6,DocSkeletonManagerService as _0x509d4d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4f91be,serializeRangeWithSheet as _0x462196}from'@univerjs/engine-formula';import{RefRangeService as _0x4c285e,SetSelectionsOperation as _0x4e5dcb,SheetsSelectionsService as _0x277eec,EffectRefRangId as _0x19df72,handleIRemoveRow as _0x4e7836,handleIRemoveCol as _0x2a524e,handleMoveRange as _0x2ea4f6,handleInsertRow as _0x51292b,handleInsertRangeMoveRight as _0x663f6,handleInsertRangeMoveDown as _0x225b5a,handleInsertCol as _0x5d9bb1,handleDeleteRangeMoveUp as _0xe6bb7f,handleDeleteRangeMoveLeft as _0x5cd270,runRefRangeMutations as _0x29e55f,SetWorksheetActivateCommand as _0x9b6d2b}from'@univerjs/sheets';import{map as _0x1239c4,filter as _0x5ee277,throttleTime as _0x3abe66,takeUntil as _0x11d28b,switchMap as _0x1d574f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x34ad35,getCoordByCell as _0x124ed5,getSheetObject as _0xd07a33}from'@univerjs/sheets-ui';import{jsx as _0x4a0075,jsxs as _0x40a0f9}from'react/jsx-runtime';import{useObservable as _0x28ae18,useDependency as _0x23d667,IUIPartsService as _0x471289,BuiltInUIPart as _0x4a708c,connectInjector as _0x534aa2,IBeforeCloseService as _0x6d8e30,IMessageService as _0x4fe881,INotificationService as _0x3b9eb4}from'@univerjs/ui';import{Tooltip as _0x4b28d7,clsx as _0x46accd,MessageType as _0x18e795}from'@univerjs/design';import{forwardRef as _0x3db6fb,useRef as _0x4cc4e7,createElement as _0x291c33,useCallback as _0x301a37}from'react';import{IRemoteInstanceService as _0x5f5a54}from'@univerjs/rpc';var ci=Object[_0x8d5cf8(0x23f)],li=(_0x4bb625,_0x20ac81,_0x15e176,_0x59c7a6)=>{const _0x56baa4=_0x8d5cf8;for(var _0x2892b7=_0x59c7a6>0x1?void 0x0:_0x59c7a6?ci(_0x20ac81,_0x15e176):_0x20ac81,_0x57b45a=_0x4bb625[_0x56baa4(0x18a)]-0x1,_0x563204;_0x57b45a>=0x0;_0x57b45a--)(_0x563204=_0x4bb625[_0x57b45a])&&(_0x2892b7=_0x563204(_0x2892b7)||_0x2892b7);return _0x2892b7;},Ze=(_0x1a7757,_0x4245e2)=>(_0x104bcf,_0x4c0bde)=>_0x4245e2(_0x104bcf,_0x4c0bde,_0x1a7757);let Ue=class extends _0x3c867d{constructor(_0x4f95c2,_0x353673){const _0x29dd95=_0x8d5cf8;super(),this[_0x29dd95(0x116)]=_0x4f95c2,this['_imageIoService']=_0x353673,this[_0x29dd95(0x2e4)]();}[_0x8d5cf8(0x2e4)](){const _0x2749e8=_0x8d5cf8,_0x32212b=this;this[_0x2749e8(0x11e)](this[_0x2749e8(0x116)][_0x2749e8(0x24b)]({'onBeforePasteImage':async _0x2d26f1=>{const _0x1154e6=_0x2749e8,_0x24ebe1=await _0x32212b['_imageIoService'][_0x1154e6(0x2b4)](_0x2d26f1);return _0x24ebe1?{'source':_0x24ebe1[_0x1154e6(0x120)],'imageSourceType':_0x24ebe1[_0x1154e6(0x1bd)]}:null;}}));}};Ue=li([Ze(0x0,_0x27b415),Ze(0x1,_0x1ff75a)],Ue);const Qe=[_0x8d5cf8(0x1bf),_0x8d5cf8(0x21c),_0x8d5cf8(0x1be),_0x8d5cf8(0x2d0),'blue.400','yellow.400'];class He extends _0x32e48f{constructor(){const _0x8855f9=_0x8d5cf8;super(...arguments),_(this,_0x8855f9(0x185),new Map()),_(this,_0x8855f9(0x1c4),0x0);}[_0x8d5cf8(0x189)](_0x5bde3c){const _0x16a187=_0x8d5cf8;if(this[_0x16a187(0x185)]['has'](_0x5bde3c))return this['_assignedColors'][_0x16a187(0x1d0)](_0x5bde3c);const _0xad52c1=Qe[this['_colorIndex']];return this['_colorIndex']=(this[_0x16a187(0x1c4)]+0x1)%Qe[_0x16a187(0x18a)],this['_assignedColors'][_0x16a187(0xfe)](_0x5bde3c,_0xad52c1),_0xad52c1;}}function Rt(_0x221eb9){const _0x5eee66=_0x8d5cf8;let _0x18c08e='';for(const _0x232c02 of _0x221eb9){const {startOffset:_0x2f1f34,endOffset:_0x72afb4,isActive:_0x269709,rangeType:_0x4a206f,segmentId:_0x56d64f,segmentPage:_0x5114e9}=_0x232c02;_0x18c08e[_0x5eee66(0x18a)]&&(_0x18c08e+=','),_0x18c08e+=_0x2f1f34+':'+_0x72afb4+':'+(_0x269709?'1':'0')+':'+_0x4a206f+':'+_0x56d64f+':'+_0x5114e9;}return _0x18c08e;}function _i(_0x490611){const _0xb5c9d7=_0x8d5cf8,_0x165b5d=_0x490611['split'](','),_0x4084ce=[];for(const _0x251fe1 of _0x165b5d){const [_0x4a8ba3,_0x263fec,_0x805f98,_0x5c095d,_0x325184,_0x42e8ae]=_0x251fe1[_0xb5c9d7(0x257)](':');_0x4084ce[_0xb5c9d7(0x2cc)]({'startOffset':Number(_0x4a8ba3),'endOffset':Number(_0x263fec),'collapsed':_0x4a8ba3===_0x263fec,'isActive':_0x805f98==='1','rangeType':_0x5c095d===_0x455b31['TEXT']?_0x455b31[_0xb5c9d7(0x2a4)]:_0x455b31['RECT'],'segmentId':typeof _0x325184==_0xb5c9d7(0x10e)?String(_0x325184):'','segmentPage':Number(_0x42e8ae!=null?_0x42e8ae:-0x1)});}return _0x4084ce[_0xb5c9d7(0x1cf)](_0x38bdb4=>_0x38bdb4[_0xb5c9d7(0x2d5)])||(_0x4084ce[0x0][_0xb5c9d7(0x2d5)]=!0x0),_0x4084ce;}class Fe extends _0x3c867d{constructor(){const _0x5d7ed5=_0x8d5cf8;super(...arguments),_(this,_0x5d7ed5(0x207),new _0xed8a6e(null)),_(this,_0x5d7ed5(0x19a),this[_0x5d7ed5(0x207)][_0x5d7ed5(0x2e2)]());}['syncEditingCollabCursor'](_0xd8d6a4){const {unitID:_0x3695b8,memberID:_0x51bab2,textRanges:_0x2dc09c}=_0xd8d6a4,_0x604e1b=Rt(_0x2dc09c);if(_0x604e1b==='')return;const _0x356d9b={'unitID':_0x3695b8,'memberID':_0x51bab2,'selection':_0x604e1b};this['_collabCursorState$']['next'](_0x356d9b);}}var hi=Object[_0x8d5cf8(0x23f)],ui=(_0x29f45b,_0x4c2dc3,_0x1895d3,_0x590231)=>{const _0xc3b5be=_0x8d5cf8;for(var _0xa02dfb=_0x590231>0x1?void 0x0:_0x590231?hi(_0x4c2dc3,_0x1895d3):_0x4c2dc3,_0x4d6e88=_0x29f45b[_0xc3b5be(0x18a)]-0x1,_0x3dd5f7;_0x4d6e88>=0x0;_0x4d6e88--)(_0x3dd5f7=_0x29f45b[_0x4d6e88])&&(_0xa02dfb=_0x3dd5f7(_0xa02dfb)||_0xa02dfb);return _0xa02dfb;},P=(_0x1a2e49,_0x1324fc)=>(_0x5a8bf8,_0x438aa9)=>_0x1324fc(_0x5a8bf8,_0x438aa9,_0x1a2e49);const di=0x12c,fi=0x64;let Me=class extends _0x3c867d{constructor(_0x3c61dd,_0xf48235,_0x104018,_0x28cf45,_0x1fef14,_0x55c1ba,_0x579bd4,_0x594e4b,_0x2ab014){const _0x161c1a=_0x8d5cf8;super(),_(this,_0x161c1a(0x2a6),!0x1),_(this,_0x161c1a(0x2e4),!0x1),_(this,_0x161c1a(0x2b9),new _0xed8a6e(new Map())),_(this,_0x161c1a(0x20b),this[_0x161c1a(0x2b9)][_0x161c1a(0x2e2)]()),_(this,_0x161c1a(0x267),new _0xed8a6e([])),_(this,_0x161c1a(0x1aa),this[_0x161c1a(0x267)][_0x161c1a(0x141)](_0x1ab885(di))),_(this,_0x161c1a(0x2ad),_0x4b6109(_0x2c9fe4=>{const _0x550ae0=_0x161c1a,_0x2f7f8e={'eventID':_0xfa579d['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x550ae0(0x239)][_0x550ae0(0xf2)](),'selection':Rt(_0x2c9fe4)}};this[_0x550ae0(0x239)]['send'](_0x2f7f8e,this[_0x550ae0(0x18f)]);},fi)),(this['unitID']=_0x3c61dd,this[_0x161c1a(0x239)]=_0xf48235,this['_injector']=_0x104018,this[_0x161c1a(0x168)]=_0x28cf45,this['_memberService']=_0x1fef14,this[_0x161c1a(0x1f2)]=_0x55c1ba,this[_0x161c1a(0x219)]=_0x579bd4,this[_0x161c1a(0x13e)]=_0x594e4b,this[_0x161c1a(0x218)]=_0x2ab014);}get[_0x8d5cf8(0x163)](){const _0x146479=_0x8d5cf8;return this[_0x146479(0x2b9)][_0x146479(0x26f)]();}get[_0x8d5cf8(0x22c)](){const _0x5268e3=_0x8d5cf8;return this[_0x5268e3(0x267)][_0x5268e3(0x26f)]();}[_0x8d5cf8(0x22d)](){const _0x186f48=_0x8d5cf8;super['dispose'](),this[_0x186f48(0x2b9)]['next'](new Map()),this[_0x186f48(0x2b9)][_0x186f48(0xf1)](),this[_0x186f48(0x267)]['next']([]),this[_0x186f48(0x267)][_0x186f48(0xf1)]();}['init'](){const _0x5cdf47=_0x8d5cf8;this[_0x5cdf47(0x2e4)]||(this[_0x5cdf47(0x2e4)]=!0x0,this[_0x5cdf47(0x239)][_0x5cdf47(0x12d)]['pipe'](_0x1316d6(this['dispose$']))[_0x5cdf47(0x1fe)](_0x7fd7aa=>{const _0x9cb2de=_0x5cdf47;_0x7fd7aa===_0x5650d3[_0x9cb2de(0x177)]?this[_0x9cb2de(0x1ed)]():this[_0x9cb2de(0x13f)]();}),this['_session'][_0x5cdf47(0x1f3)]['pipe'](_0x1316d6(this[_0x5cdf47(0xf6)]))[_0x5cdf47(0x1fe)](_0x52e87c=>{const _0x4eda37=_0x5cdf47,_0x7cc7ad=_0x52e87c[_0x4eda37(0xec)];_0x7cc7ad===_0xfa579d['UPDATE_CURSOR']&&this[_0x4eda37(0x137)](_0x52e87c),_0x7cc7ad===_0xfa579d['USERS_LEAVE']&&this[_0x4eda37(0x1c7)](_0x52e87c);}),this['disposeWithMe'](this[_0x5cdf47(0x218)][_0x5cdf47(0x1c0)](_0x828870=>{const _0x3ae84b=_0x5cdf47,_0xafadf6=_0x828870[_0x3ae84b(0x286)];_0xafadf6!=null&&this[_0x3ae84b(0x2a6)]&&_0x828870['id']===_0xfc2757['id']&&_0xafadf6[_0x3ae84b(0x2a8)]===this[_0x3ae84b(0x18f)]&&_0xafadf6['isEditing']===!0x1&&_0xafadf6[_0x3ae84b(0x2b5)][_0x3ae84b(0x18a)]>0x0&&this[_0x3ae84b(0x2ad)](_0xafadf6[_0x3ae84b(0x2b5)]);})),this[_0x5cdf47(0x1f2)][_0x5cdf47(0x19a)][_0x5cdf47(0x141)](_0x1316d6(this[_0x5cdf47(0xf6)]))[_0x5cdf47(0x1fe)](_0x4feb4d=>{const _0x4ebffc=_0x5cdf47;if((_0x4feb4d==null?void 0x0:_0x4feb4d[_0x4ebffc(0x18f)])!==this[_0x4ebffc(0x18f)])return;const _0xb7d0df={'eventID':_0xfa579d[_0x4ebffc(0x1c6)],'data':_0x4feb4d};this[_0x4ebffc(0x137)](_0xb7d0df);}),this[_0x5cdf47(0x11e)](this[_0x5cdf47(0x218)][_0x5cdf47(0x1c0)](_0x1ef778=>{const _0x355203=_0x5cdf47;if(_0x1ef778[_0x355203(0x286)]==null)return;const _0x54b4eb=_0x1ef778[_0x355203(0x286)];if(_0x1ef778['id']!==_0x123bec['id']||_0x54b4eb[_0x355203(0x2a8)]!==this['unitID'])return;const _0x234e13={'id':_0x355203(0x127),'params':_0x54b4eb},_0x398769=this[_0x355203(0x163)];for(const [_0x346dae,_0x2d6941]of _0x398769){const _0x4d4bd3={'id':_0x355203(0x127),'params':{'unitId':this[_0x355203(0x18f)],'actions':null,'textRanges':_0x2d6941[_0x355203(0x2b5)]}},_0x2a687d=this[_0x355203(0x219)]['transformMutation'](_0x234e13,_0x4d4bd3,!0x1);if(_0xc0c83d(_0x2a687d))throw _0x2a687d[_0x355203(0x26b)];_0x398769[_0x355203(0xfe)](_0x346dae,{..._0x2d6941,'ranges':_0x2a687d[_0x355203(0x1e4)][_0x355203(0x286)][_0x355203(0x119)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x398769);});})));}[_0x8d5cf8(0x137)](_0x2439ce){const _0x29302b=_0x8d5cf8;var _0x36d868,_0x19a0b1;const {memberID:_0x31b847,selection:_0x16c131}=_0x2439ce[_0x29302b(0x152)],_0x489b5a=_i(_0x16c131),_0x4b62c9=(_0x19a0b1=(_0x36d868=this[_0x29302b(0x11d)][_0x29302b(0x106)](this[_0x29302b(0x18f)],_0x31b847))==null?void 0x0:_0x36d868[_0x29302b(0x125)])!=null?_0x19a0b1:'Unknown\x20user',_0x2af026={'color':this[_0x29302b(0x168)]['assignAColorForMemberID'](_0x31b847),'name':_0x4b62c9,'ranges':_0x489b5a},_0x2820f9=this[_0x29302b(0x163)];_0x2820f9[_0x29302b(0xfe)](_0x31b847,_0x2af026),this[_0x29302b(0x2b9)][_0x29302b(0x2e6)](_0x2820f9);}[_0x8d5cf8(0x1c7)](_0x2baa7e){const _0x439986=_0x8d5cf8,{memberID:_0x274715}=_0x2baa7e['data'],_0x4b3bf2=this[_0x439986(0x163)];_0x4b3bf2[_0x439986(0x14b)](_0x274715),this[_0x439986(0x2b9)]['next'](_0x4b3bf2);}[_0x8d5cf8(0x1ed)](){const _0x28e0ea=_0x8d5cf8;var _0x3d9d5b;if(this[_0x28e0ea(0x2a6)]=!0x0,((_0x3d9d5b=this['_univerInstanceService'][_0x28e0ea(0x10d)]())==null?void 0x0:_0x3d9d5b[_0x28e0ea(0x248)]())!==this['unitID'])return;const _0xa03a3e=this[_0x28e0ea(0x21b)][_0x28e0ea(0x1d0)](_0x23c6c6)[_0x28e0ea(0x175)]();Array[_0x28e0ea(0xe7)](_0xa03a3e)&&_0xa03a3e[_0x28e0ea(0x18a)]>0x0&&this[_0x28e0ea(0x2ad)](_0xa03a3e);}[_0x8d5cf8(0x13f)](){this['_online']=!0x1;}};Me=ui([P(0x2,_0x1a3b2a(_0x4fa6a4)),P(0x3,_0x1a3b2a(He)),P(0x4,_0x1a3b2a(_0x4f6dd1)),P(0x5,_0x1a3b2a(Fe)),P(0x6,_0x1f39b3),P(0x7,_0x562792),P(0x8,_0x1ea0fe)],Me);var Si=Object[_0x8d5cf8(0x23f)],mi=(_0x403774,_0x56fce2,_0x313fbc,_0x409964)=>{const _0x5690a8=_0x8d5cf8;for(var _0x3b58e=_0x409964>0x1?void 0x0:_0x409964?Si(_0x56fce2,_0x313fbc):_0x56fce2,_0x32e185=_0x403774[_0x5690a8(0x18a)]-0x1,_0x3da8f0;_0x32e185>=0x0;_0x32e185--)(_0x3da8f0=_0x403774[_0x32e185])&&(_0x3b58e=_0x3da8f0(_0x3b58e)||_0x3b58e);return _0x3b58e;},x=(_0x2ea20d,_0x2ccaa3)=>(_0x4f79e7,_0xde8ff6)=>_0x2ccaa3(_0x4f79e7,_0xde8ff6,_0x2ea20d);const Ii=0x12c,vi=0x64,gi=()=>{let _0x1c7cc1=[],_0x31a435=!0x1;return _0x407e82=>{const _0x35f30c=_0x42a6;_0x1c7cc1[_0x35f30c(0x2cc)](_0x407e82),_0x31a435||(_0x31a435=!0x0,setTimeout(()=>{const _0xfc9a52=_0x35f30c;_0x1c7cc1[_0xfc9a52(0x270)](_0x4caef2=>_0x4caef2()),_0x1c7cc1=[],_0x31a435=!0x1;}));};};let Le=class extends _0x3c867d{constructor(_0x44da12,_0x335a93,_0x1d86c6,_0x3f96df,_0x3645d6,_0x2adf1c,_0x4a82b0,_0x253142){const _0x3f943e=_0x8d5cf8;super(),_(this,_0x3f943e(0x2a6),!0x1),_(this,_0x3f943e(0x2e4),!0x1),_(this,_0x3f943e(0x2b9),new _0xed8a6e(new Map())),_(this,_0x3f943e(0x20b),this[_0x3f943e(0x2b9)][_0x3f943e(0x2e2)]()),_(this,_0x3f943e(0x267),new _0xed8a6e([])),_(this,_0x3f943e(0x1aa),this[_0x3f943e(0x267)][_0x3f943e(0x141)](_0x1ab885(Ii))),_(this,_0x3f943e(0x2ad),_0x4b6109((_0x4dc6b7,_0x5a46bf)=>{const _0x5f498c=_0x3f943e,_0x67ad95={'eventID':_0xfa579d['UPDATE_CURSOR'],'data':{'unitID':this[_0x5f498c(0x18f)],'memberID':this[_0x5f498c(0x239)][_0x5f498c(0xf2)](),'selection':_0x462196(_0x4dc6b7,_0x5a46bf['range'])}};this[_0x5f498c(0x239)][_0x5f498c(0x259)](_0x67ad95,this[_0x5f498c(0x18f)]);},vi)),(this[_0x3f943e(0x18f)]=_0x44da12,this['_session']=_0x335a93,this[_0x3f943e(0x21b)]=_0x1d86c6,this[_0x3f943e(0x168)]=_0x3f96df,this[_0x3f943e(0x11d)]=_0x3645d6,this['_univerInstanceService']=_0x2adf1c,this[_0x3f943e(0x218)]=_0x4a82b0,this[_0x3f943e(0x12e)]=_0x253142);}get[_0x8d5cf8(0x163)](){const _0x3adcfa=_0x8d5cf8;return this['_cursorInfo$'][_0x3adcfa(0x26f)]();}get[_0x8d5cf8(0x22c)](){const _0x5e4bfe=_0x8d5cf8;return this[_0x5e4bfe(0x267)][_0x5e4bfe(0x26f)]();}['dispose'](){const _0x401ba4=_0x8d5cf8;super[_0x401ba4(0x22d)](),this[_0x401ba4(0x2b9)][_0x401ba4(0x2e6)](new Map()),this['_cursorInfo$']['complete'](),this[_0x401ba4(0x267)][_0x401ba4(0x2e6)]([]),this['_roomMembers$'][_0x401ba4(0xf1)]();}[_0x8d5cf8(0xe2)](){const _0xbfe3f2=_0x8d5cf8;this[_0xbfe3f2(0x2e4)]||(this['_init']=!0x0,this[_0xbfe3f2(0x239)][_0xbfe3f2(0x12d)]['pipe'](_0x1316d6(this[_0xbfe3f2(0xf6)]))[_0xbfe3f2(0x1fe)](_0x4f787e=>{const _0x2adaa6=_0xbfe3f2;_0x4f787e===_0x5650d3[_0x2adaa6(0x177)]?this['_toggleOnline']():this[_0x2adaa6(0x13f)]();}),this['_session'][_0xbfe3f2(0x1f3)]['pipe'](_0x1316d6(this[_0xbfe3f2(0xf6)]))['subscribe'](_0xc17bd6=>{const _0x2774f7=_0xbfe3f2,_0x58b0d3=_0xc17bd6['eventID'];_0x58b0d3===_0xfa579d[_0x2774f7(0x1c6)]&&this[_0x2774f7(0x137)](_0xc17bd6),_0x58b0d3===_0xfa579d[_0x2774f7(0x264)]&&this[_0x2774f7(0x1c7)](_0xc17bd6);}),this[_0xbfe3f2(0x2e7)](),this['disposeWithMe'](this[_0xbfe3f2(0x218)][_0xbfe3f2(0x1c0)](_0x197992=>{const _0x4fa467=_0xbfe3f2;if(this[_0x4fa467(0x2a6)]&&_0x197992['id']===_0x4e5dcb['id']&&_0x197992[_0x4fa467(0x286)][_0x4fa467(0x2a8)]===this[_0x4fa467(0x18f)]){const _0x4b5041=_0x197992[_0x4fa467(0x286)];this['_updateLocalCursor'](_0x4b5041[_0x4fa467(0x1a6)],_0x4b5041[_0x4fa467(0x1e2)][0x0]);}})));}['_onCursorUpdate'](_0x41862e){const _0x32523f=_0x8d5cf8;var _0x412151,_0x1418e2;const {memberID:_0x3b791e,selection:_0x2f0b74}=_0x41862e[_0x32523f(0x152)],{sheetName:_0x25f3a5,range:_0x564ef3}=_0x4f91be(_0x2f0b74),_0x2fdbd5={'name':(_0x1418e2=(_0x412151=this['_memberService'][_0x32523f(0x106)](this[_0x32523f(0x18f)],_0x3b791e))==null?void 0x0:_0x412151['name'])!=null?_0x1418e2:_0x32523f(0x102),'range':this[_0x32523f(0xdf)](_0x25f3a5,_0x564ef3),'sheetID':_0x25f3a5,'color':this[_0x32523f(0x168)][_0x32523f(0x189)](_0x3b791e),'selection':_0x2f0b74},_0x3ef380=this[_0x32523f(0x163)];_0x3ef380[_0x32523f(0xfe)](_0x3b791e,_0x2fdbd5),this[_0x32523f(0x2b9)][_0x32523f(0x2e6)](_0x3ef380);}[_0x8d5cf8(0x1c7)](_0x5ad9a4){const _0x2aa56e=_0x8d5cf8,{memberID:_0x4b8cb9}=_0x5ad9a4[_0x2aa56e(0x152)],_0x2d6e72=this[_0x2aa56e(0x163)];_0x2d6e72['delete'](_0x4b8cb9),this[_0x2aa56e(0x2b9)][_0x2aa56e(0x2e6)](_0x2d6e72);}[_0x8d5cf8(0xdf)](_0x2f985b,_0xd9e366){const _0xc3ab1e=_0x8d5cf8;var _0x53fbf1,_0x45b315;const _0x37ad25=(_0x45b315=(_0x53fbf1=this[_0xc3ab1e(0x13e)][_0xc3ab1e(0x269)](this[_0xc3ab1e(0x18f)]))==null?void 0x0:_0x53fbf1[_0xc3ab1e(0x1ec)](_0x2f985b))==null?void 0x0:_0x45b315[_0xc3ab1e(0x2bf)]();return(_0x37ad25==null?void 0x0:_0x37ad25['find'](_0xb129fd=>_0x4e9155[_0xc3ab1e(0x165)](_0xb129fd,_0xd9e366)))||_0xd9e366;}[_0x8d5cf8(0x2e7)](){const _0x1154a8=_0x8d5cf8,_0x579df3=new _0x27a633(),_0x204bb8=gi(),_0x59c9cb=()=>{const _0x6159a4=_0x42a6;_0x579df3[_0x6159a4(0x22d)]();const _0x466f24=(_0x5da46d,_0x491e2a,_0x196fb9,_0x491f5a)=>{const _0xf9741=_0x6159a4;let _0x4849bc=[];switch(_0x5da46d['id']){case _0x19df72['DeleteRangeMoveLeftCommandId']:{_0x4849bc=_0x5cd270(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x11f)]:{_0x4849bc=_0xe6bb7f(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x16b)]:{_0x4849bc=_0x5d9bb1(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x2d7)]:{_0x4849bc=_0x225b5a(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x16c)]:{_0x4849bc=_0x663f6(_0x5da46d,_0x491f5a);break;}case _0x19df72['InsertRowCommandId']:{_0x4849bc=_0x51292b(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x1e5)]:{_0x4849bc=_0x2ea4f6(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x143)]:{_0x4849bc=_0x2a524e(_0x5da46d,_0x491f5a);break;}case _0x19df72[_0xf9741(0x294)]:{_0x4849bc=_0x4e7836(_0x5da46d,_0x491f5a);break;}}const _0x552328=_0x29e55f(_0x4849bc,_0x491f5a),_0x400671=this['cursorInfo'][_0xf9741(0x1d0)](_0x491e2a);if(_0x400671&&_0x552328){const _0x1cbf86={..._0x400671,'range':_0x552328};this[_0xf9741(0x163)][_0xf9741(0xfe)](_0x491e2a,_0x1cbf86),_0x204bb8(()=>{const _0x45dacc=_0xf9741,_0xd9b221=this[_0x45dacc(0x12e)]['registerRefRange'](_0x552328,_0x146f15=>(_0xd9b221[_0x45dacc(0x22d)](),_0x466f24(_0x146f15,_0x491e2a,_0x196fb9,_0x552328)));_0x579df3['add'](_0xd9b221);});}return{'redos':[],'undos':[]};};this[_0x6159a4(0x163)][_0x6159a4(0x270)]((_0x239cb1,_0x3da590)=>{const _0x136d0a=_0x6159a4,{range:_0x324df9,sheetID:_0x14e783}=_0x239cb1,_0x2e7049=this[_0x136d0a(0x12e)]['registerRefRange'](_0x324df9,_0x496259=>(_0x2e7049[_0x136d0a(0x22d)](),_0x466f24(_0x496259,_0x3da590,_0x14e783,_0x324df9)));_0x579df3[_0x136d0a(0x1d9)](_0x2e7049);});};this[_0x1154a8(0x11e)](_0x192f45(this[_0x1154a8(0x2b9)][_0x1154a8(0x1fe)](()=>{_0x59c9cb();})));}[_0x8d5cf8(0x1ed)](){const _0x5b6937=_0x8d5cf8;var _0x32fed4,_0x2b3dfe;if(this['_online']=!0x0,((_0x32fed4=this[_0x5b6937(0x13e)][_0x5b6937(0x10d)]())==null?void 0x0:_0x32fed4[_0x5b6937(0x248)]())!==this['unitID'])return;const _0x4111e0=(_0x2b3dfe=this[_0x5b6937(0x21b)][_0x5b6937(0x1d0)](_0x277eec)[_0x5b6937(0x273)]())==null?void 0x0:_0x2b3dfe[0x0],_0xf6a1ba=this['_univerInstanceService'][_0x5b6937(0x1e7)](_0x536f1d[_0x5b6937(0x241)])[_0x5b6937(0x275)]();_0x4111e0&&_0xf6a1ba&&this[_0x5b6937(0x2ad)](_0xf6a1ba[_0x5b6937(0x1b8)](),_0x4111e0);}[_0x8d5cf8(0x13f)](){this['_online']=!0x1;}};Le=mi([x(0x2,_0x1a3b2a(_0x4fa6a4)),x(0x3,_0x1a3b2a(He)),x(0x4,_0x1a3b2a(_0x4f6dd1)),x(0x5,_0x562792),x(0x6,_0x1ea0fe),x(0x7,_0x1a3b2a(_0x4c285e))],Le);var pi=Object[_0x8d5cf8(0x23f)],Ci=(_0x4b5363,_0x109286,_0x8a77fc,_0x6d2835)=>{for(var _0x3cb8fb=_0x6d2835>0x1?void 0x0:_0x6d2835?pi(_0x109286,_0x8a77fc):_0x109286,_0x4476a6=_0x4b5363['length']-0x1,_0x419685;_0x4476a6>=0x0;_0x4476a6--)(_0x419685=_0x4b5363[_0x4476a6])&&(_0x3cb8fb=_0x419685(_0x3cb8fb)||_0x3cb8fb);return _0x3cb8fb;},me=(_0x56d488,_0x4f74ba)=>(_0x57f45e,_0x4907f5)=>_0x4f74ba(_0x57f45e,_0x4907f5,_0x56d488);let F=class extends _0x3c867d{constructor(_0x227837,_0x3331c5,_0x27f0c8){const _0x448b2e=_0x8d5cf8;super(),_(this,_0x448b2e(0x20a),new Map()),_(this,'_entityInit$',new _0x5904bd()),(this[_0x448b2e(0x13e)]=_0x227837,this['_injector']=_0x3331c5,this['_collabSessionService']=_0x27f0c8,this[_0x448b2e(0x2e4)]());}[_0x8d5cf8(0x22d)](){const _0x31f982=_0x8d5cf8;super[_0x31f982(0x22d)](),this['_entityInit$'][_0x31f982(0xf1)](),this[_0x31f982(0x20a)]['forEach'](_0x1946e0=>_0x1946e0[_0x31f982(0x22d)]());}[_0x8d5cf8(0x200)](_0x3543e3){const _0x5d752e=_0x8d5cf8;return this[_0x5d752e(0x20a)][_0x5d752e(0x1d1)](_0x3543e3)?this[_0x5d752e(0x20a)][_0x5d752e(0x1d0)](_0x3543e3)[_0x5d752e(0x20b)]:this['_entityInit$'][_0x5d752e(0x141)](_0x575a76(_0x340657=>_0x340657[_0x5d752e(0x18f)]===_0x3543e3),_0x1ea62d(_0x350043=>_0x350043[_0x5d752e(0x20b)]));}['_init'](){const _0x108894=_0x8d5cf8;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x536f1d[_0x108894(0x241)])[_0x108894(0x141)](_0x1316d6(this[_0x108894(0xf6)]))[_0x108894(0x1fe)](async _0x2eabc6=>{const _0x4b8529=_0x108894,_0x264844=_0x2eabc6[_0x4b8529(0x248)](),_0x323d44=await this[_0x4b8529(0x279)](_0x264844);this[_0x4b8529(0x208)][_0x4b8529(0x2e6)](_0x323d44),this[_0x4b8529(0x20a)]['set'](_0x264844,_0x323d44);}),this[_0x108894(0x13e)][_0x108894(0x17d)](_0x536f1d[_0x108894(0x184)])[_0x108894(0x141)](_0x1316d6(this['dispose$']))[_0x108894(0x141)](_0x575a76(_0x5bd6a5=>!_0x5bd6a5[_0x108894(0x248)]()[_0x108894(0x1b0)]('__')))[_0x108894(0x1fe)](async _0x2787ff=>{const _0x1927e5=_0x108894,_0x3cbd2f=_0x2787ff[_0x1927e5(0x248)](),_0x4d798f=await this[_0x1927e5(0xe1)](_0x3cbd2f);this[_0x1927e5(0x208)][_0x1927e5(0x2e6)](_0x4d798f),this[_0x1927e5(0x20a)][_0x1927e5(0xfe)](_0x3cbd2f,_0x4d798f);}),_0x178454(this['_univerInstanceService'][_0x108894(0x1d5)](_0x536f1d[_0x108894(0x184)]),this[_0x108894(0x13e)]['getTypeOfUnitDisposed$'](_0x536f1d[_0x108894(0x241)]))[_0x108894(0x141)](_0x1316d6(this[_0x108894(0xf6)]))[_0x108894(0x1fe)](_0xbbc7ef=>{const _0x29abb8=_0x108894,_0x3d6692=_0xbbc7ef[_0x29abb8(0x248)](),_0x24a423=this[_0x29abb8(0x20a)][_0x29abb8(0x1d0)](_0x3d6692);_0x24a423&&(_0x24a423[_0x29abb8(0x22d)](),this[_0x29abb8(0x20a)]['delete'](_0x3d6692));});}async[_0x8d5cf8(0x279)](_0x567f0a){const _0x2d8461=_0x8d5cf8,_0x2f6c49=await this[_0x2d8461(0x1ca)][_0x2d8461(0xea)](_0x567f0a),_0x570829=this['_injector']['createInstance'](Le,_0x567f0a,_0x2f6c49);return _0x570829['init'](),_0x570829;}async[_0x8d5cf8(0xe1)](_0x245934){const _0x539a96=_0x8d5cf8,_0x4146d4=await this[_0x539a96(0x1ca)][_0x539a96(0xea)](_0x245934),_0x41fe45=this[_0x539a96(0x21b)][_0x539a96(0x15b)](Me,_0x245934,_0x4146d4);return _0x41fe45[_0x539a96(0xe2)](),_0x41fe45;}};F=Ci([me(0x0,_0x562792),me(0x1,_0x1a3b2a(_0x4fa6a4)),me(0x2,_0x1a3b2a(_0xffc754))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x215424,_0x13cf64){const _0x5ad6ad=_0x8d5cf8;let {radius:_0x14135e,width:_0x3ce495,height:_0x24a917}=_0x13cf64;_0x14135e=_0x14135e!=null?_0x14135e:0x0,_0x3ce495=_0x3ce495!=null?_0x3ce495:0x1e,_0x24a917=_0x24a917!=null?_0x24a917:0x1e;let _0x4a4931=0x0,_0x1e06c6=0x0,_0x37e81d=0x0;_0x4a4931=_0x1e06c6=_0x37e81d=Math[_0x5ad6ad(0x1a8)](_0x14135e,_0x3ce495/0x2,_0x24a917/0x2),_0x215424[_0x5ad6ad(0x1ce)](),_0x215424[_0x5ad6ad(0x28c)](_0x4a4931,0x0),_0x215424[_0x5ad6ad(0x1a5)](_0x3ce495-_0x1e06c6,0x0),_0x215424[_0x5ad6ad(0x24a)](_0x3ce495-_0x1e06c6,_0x1e06c6,_0x1e06c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x215424['lineTo'](_0x3ce495,_0x24a917-_0x37e81d),_0x215424[_0x5ad6ad(0x24a)](_0x3ce495-_0x37e81d,_0x24a917-_0x37e81d,_0x37e81d,0x0,Math['PI']/0x2,!0x1),_0x215424[_0x5ad6ad(0x1a5)](0x0,_0x24a917),_0x215424[_0x5ad6ad(0x1a5)](0x0,_0x4a4931),_0x215424[_0x5ad6ad(0x24a)](_0x4a4931,_0x4a4931,_0x4a4931,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x215424[_0x5ad6ad(0xf3)](),_0x13cf64['fill']&&(_0x215424[_0x5ad6ad(0x222)](),_0x215424[_0x5ad6ad(0x247)]=_0x13cf64[_0x5ad6ad(0x232)],_0x13cf64[_0x5ad6ad(0x1e3)]===_0x5ad6ad(0x1ae)?_0x215424['fill'](_0x5ad6ad(0x1ae)):_0x215424[_0x5ad6ad(0x232)](),_0x215424['restore']());}class ue extends _0x450e23{constructor(_0x4c62d9,_0x3471fe){const _0x76169e=_0x8d5cf8;super(_0x4c62d9,_0x3471fe),_(this,_0x76169e(0x29c)),_(this,_0x76169e(0x10b)),(this['color']=_0x3471fe==null?void 0x0:_0x3471fe[_0x76169e(0x29c)],this[_0x76169e(0x10b)]=_0x3471fe==null?void 0x0:_0x3471fe[_0x76169e(0x10b)]);}static[_0x8d5cf8(0x2c2)](_0x7e5536,_0x333e79){const _0x21bb4d=_0x8d5cf8,{text:_0xb09e1c,color:_0x353df3}=_0x333e79;_0x7e5536[_0x21bb4d(0x222)](),_0x7e5536[_0x21bb4d(0x2d4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1a2f4c=_0x7e5536[_0x21bb4d(0x2d8)](_0xb09e1c)['width'],_0x1803b7=Math[_0x21bb4d(0x1a8)](_0x1a2f4c+0x2*Ie,qe);Oi(_0x7e5536,{'height':te,'radius':0x4,'width':_0x1803b7,'fill':_0x353df3}),_0x7e5536[_0x21bb4d(0x247)]=_0x21bb4d(0x2a0);const _0x49856c=Ie,_0x1593e6=te-Ei,_0x554b75=qe-0x2*Ie;if(_0x1a2f4c>_0x554b75){let _0x5254eb='',_0x100633=0x0;for(const _0x24bfe6 of _0xb09e1c){const _0x45d9e5=_0x7e5536[_0x21bb4d(0x2d8)](_0x24bfe6)[_0x21bb4d(0x2c3)];if(_0x100633+_0x45d9e5<=_0x554b75-_0x7e5536[_0x21bb4d(0x2d8)](_0x21bb4d(0x19c))[_0x21bb4d(0x2c3)])_0x5254eb+=_0x24bfe6,_0x100633+=_0x45d9e5;else{_0x5254eb+='...';break;}}_0x7e5536['fillText'](_0x5254eb,_0x49856c,_0x1593e6);}else _0x7e5536[_0x21bb4d(0x10f)](_0xb09e1c,_0x49856c,_0x1593e6);_0x7e5536[_0x21bb4d(0x118)]();}[_0x8d5cf8(0x263)](_0x33c522){const _0x3d6ee4=_0x8d5cf8;ue[_0x3d6ee4(0x2c2)](_0x33c522,this);}}const ve='collab-text-anchor-',bi='collab-text-range-',Ti=_0x8d5cf8(0x1d7),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x8d5cf8(0x18c);class et{constructor(_0x37af2f,_0x1fe175,_0x51d340,_0xa33c7c){const _0x5e74f3=_0x8d5cf8;_(this,_0x5e74f3(0x1b7),[]),_(this,_0x5e74f3(0x131),null),_(this,_0x5e74f3(0x2b8),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x5e74f3(0x21d),null),(this[_0x5e74f3(0x254)]=_0x37af2f,this[_0x5e74f3(0x244)]=_0x1fe175,this[_0x5e74f3(0x144)]=_0x51d340,this[_0x5e74f3(0x23a)]=_0xa33c7c,this[_0x5e74f3(0x20f)]());}set[_0x8d5cf8(0x123)](_0x131de3){const _0x53dfb9=_0x8d5cf8;_0x131de3?(this[_0x53dfb9(0x1ea)]&&this['_anchorDot'][_0x53dfb9(0x171)](),this[_0x53dfb9(0x2b8)]&&this['_textBubble'][_0x53dfb9(0x115)]()):(this['_anchorDot']&&this[_0x53dfb9(0x1ea)]['show'](),this['_textBubble']&&this[_0x53dfb9(0x2b8)]['hide']());}[_0x8d5cf8(0x22d)](){const _0xe195fa=_0x8d5cf8;for(const _0x2721d7 of this['_shapes'])_0x2721d7['dispose']();this[_0xe195fa(0x2b8)]&&this[_0xe195fa(0x2b8)]['dispose'](),this[_0xe195fa(0x1ea)]&&this[_0xe195fa(0x1ea)][_0xe195fa(0x22d)](),this[_0xe195fa(0x131)]&&this[_0xe195fa(0x131)][_0xe195fa(0x22d)](),this['_eventUnsubscribe']&&this[_0xe195fa(0x21d)]();}[_0x8d5cf8(0x20f)](){const _0x39e3e0=_0x8d5cf8;var _0x4da529;const {_docSkeleton:_0x36cc09,_document:_0x259b09}=this,{color:_0x58f252,name:_0x511952,ranges:_0x26df76}=this['_cursor'],_0xec402e=_0x259b09[_0x39e3e0(0x268)](),{docsLeft:_0x3063b7,docsTop:_0x579156}=_0xec402e,_0x1084a8=new _0x2582a6(_0xec402e,_0x36cc09);for(const {startOffset:_0x439492,endOffset:_0x396908,rangeType:_0x28a136,segmentId:_0x576143,segmentPage:_0x499248,collapsed:_0x336ddf,isActive:_0x40df1a}of _0x26df76){const _0x3412c3=_0x36cc09[_0x39e3e0(0x2ac)](_0x439492,!0x0,_0x576143,_0x499248);let _0x44ca3f=_0x36cc09['findNodePositionByCharIndex'](_0x396908,!0x0,_0x576143,_0x499248);if(_0x44ca3f==null&&(_0x44ca3f=_0x36cc09['findNodePositionByCharIndex'](_0x396908-0x1,!0x1,_0x576143,_0x499248)),_0x40df1a){const {contentBoxPointGroup:_0x48a3ba}=_0x1084a8[_0x39e3e0(0x157)](_0x44ca3f,_0x44ca3f);if(_0x48a3ba[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0x249)](_0x58f252,_0x48a3ba,_0x3063b7,_0x579156,_0x511952),this['_eventUnsubscribe']=this[_0x39e3e0(0x272)]();}if(_0x3412c3&&_0x44ca3f){if(_0x28a136===_0x455b31['RECT']){const _0x2e6c85=new _0xe868ed(_0xec402e,_0x36cc09),{pointGroup:_0x2549d9}=(_0x4da529=_0x2e6c85[_0x39e3e0(0x157)](_0x3412c3,_0x44ca3f))!=null?_0x4da529:{};if(_0x2549d9==null||_0x2549d9[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0xfb)](_0x58f252,_0x2549d9,_0x3063b7,_0x579156);}else{if(!_0x336ddf){const {borderBoxPointGroup:_0x30aa92}=_0x1084a8[_0x39e3e0(0x157)](_0x3412c3,_0x44ca3f);if(_0x30aa92[_0x39e3e0(0x18a)]===0x0)continue;this[_0x39e3e0(0x1e0)](_0x58f252,_0x30aa92,_0x3063b7,_0x579156);}}}}}[_0x8d5cf8(0x249)](_0x532da7,_0xb36eff,_0x5ac513,_0x331302,_0x30bdb3){const _0x15d616=_0x8d5cf8,_0x207c4c=this['_getAnchorBounding'](_0xb36eff),{left:_0x10b432,top:_0x14eaf6,height:_0x14fe1a}=_0x207c4c,_0x307b18=this['_getScale'](),_0x55515b=Di/_0x307b18,_0x3abf47=new _0x68b4a4(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302,'height':_0x14fe1a,'width':Ri,'fill':_0x532da7||_0x372ab3(_0x56248b[_0x15d616(0x161)],0x0),'strokeWidth':_0x55515b,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x3abf47,this['_scene'][_0x15d616(0x1cc)](_0x3abf47,_0xa6a8ec);const _0xfc8cfe=new _0x68b4a4(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302-ge/0x2,'height':ge,'width':ge,'fill':_0x532da7||_0x372ab3(_0x56248b['black'],0x0),'strokeWidth':0x0,'stroke':_0x532da7||_0x372ab3(_0x56248b[_0x15d616(0x161)],0x0),'evented':!0x1});this['_anchorDot']=_0xfc8cfe,this[_0x15d616(0x244)][_0x15d616(0x1cc)](_0xfc8cfe,_0xa6a8ec);const _0x33686e=new ue(ve+_0x329535(G),{'left':_0x10b432+_0x5ac513-_0x55515b,'top':_0x14eaf6+_0x331302-te,'text':_0x30bdb3,'color':_0x532da7});this[_0x15d616(0x2b8)]=_0x33686e,this[_0x15d616(0x244)]['addObject'](_0x33686e,_0xa6a8ec),this['_hover']=!0x1;}['_handleHover'](){const _0xf4edc3=_0x8d5cf8,_0x2d53bb=this[_0xf4edc3(0x131)][_0xf4edc3(0x1f8)][_0xf4edc3(0x1a3)](()=>{this['_hover']=!0x0;}),_0x208892=this[_0xf4edc3(0x131)][_0xf4edc3(0x191)][_0xf4edc3(0x1a3)](()=>{const _0xa29c62=_0xf4edc3;this[_0xa29c62(0x25a)]&&clearTimeout(this['_hideTimer']),this[_0xa29c62(0x25a)]=setTimeout(()=>{const _0x49d4e7=_0xa29c62;this[_0x49d4e7(0x123)]=!0x1;},0x7d0);});return()=>{const _0x104332=_0xf4edc3;_0x2d53bb[_0x104332(0x170)](),_0x208892['unsubscribe']();};}[_0x8d5cf8(0x1e0)](_0x554def,_0x27eb6c,_0x4bd241,_0xcb1f9f){const _0x5559bd=_0x8d5cf8,_0x34fa44=new _0x11d916(_0x554def)[_0x5559bd(0x2af)](0.2)[_0x5559bd(0x230)](),_0x3a31a5=new _0x2f7e47(bi+_0x329535(G),{'pointsGroup':_0x27eb6c,'fill':_0x34fa44||_0x372ab3(_0x56248b[_0x5559bd(0x161)],0.2),'left':_0x4bd241,'top':_0xcb1f9f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5559bd(0x1b7)][_0x5559bd(0x2cc)](_0x3a31a5),this[_0x5559bd(0x244)][_0x5559bd(0x1cc)](_0x3a31a5,_0xa6a8ec);}[_0x8d5cf8(0xfb)](_0x34ed6b,_0x388331,_0x22120a,_0x4c3e79){const _0x3e2e8a=_0x8d5cf8,_0x495f40=new _0x11d916(_0x34ed6b)['setAlpha'](0.2)[_0x3e2e8a(0x230)](),_0xf9cbaa=new _0x2f7e47(Ti+_0x329535(G),{'pointsGroup':_0x388331,'fill':_0x495f40||_0x372ab3(_0x56248b[_0x3e2e8a(0x161)],0.2),'left':_0x22120a,'top':_0x4c3e79,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e2e8a(0x1b7)][_0x3e2e8a(0x2cc)](_0xf9cbaa),this[_0x3e2e8a(0x244)][_0x3e2e8a(0x1cc)](_0xf9cbaa,_0xa6a8ec);}[_0x8d5cf8(0x2ce)](_0x380910){const _0x4bfda1=_0x380910[0x0],_0x1a0d3b=_0x4bfda1[0x0],_0x5f66aa=_0x4bfda1[0x2],{x:_0x30afaa,y:_0x1ca482}=_0x1a0d3b,{x:_0x3a2f29,y:_0xe63f84}=_0x5f66aa;return{'left':_0x30afaa,'top':_0x1ca482,'width':_0x3a2f29-_0x30afaa,'height':_0xe63f84-_0x1ca482};}[_0x8d5cf8(0x179)](){const _0x2ca6be=_0x8d5cf8,{scaleX:_0x34df40,scaleY:_0x527de8}=this['_scene']['getAncestorScale']();return Math[_0x2ca6be(0x117)](_0x34df40,_0x527de8);}}var Ui=Object[_0x8d5cf8(0x23f)],Mi=(_0x2466db,_0x3ec41b,_0x19448e,_0x42d2d1)=>{const _0x3eee64=_0x8d5cf8;for(var _0x2c7c33=_0x42d2d1>0x1?void 0x0:_0x42d2d1?Ui(_0x3ec41b,_0x19448e):_0x3ec41b,_0x24494c=_0x2466db[_0x3eee64(0x18a)]-0x1,_0x383bd5;_0x24494c>=0x0;_0x24494c--)(_0x383bd5=_0x2466db[_0x24494c])&&(_0x2c7c33=_0x383bd5(_0x2c7c33)||_0x2c7c33);return _0x2c7c33;},Q=(_0x205f68,_0x116339)=>(_0x1fa51e,_0x3870ea)=>_0x116339(_0x1fa51e,_0x3870ea,_0x205f68);let Pe=class extends _0x3c867d{constructor(_0x52e5b9,_0xba09d2,_0x119ee9,_0x174f41,_0x1a9710){const _0x3bdd86=_0x8d5cf8;super(),_(this,_0x3bdd86(0x23e),[]),_(this,_0x3bdd86(0x287),[]),(this[_0x3bdd86(0x2a9)]=_0x52e5b9,this[_0x3bdd86(0x299)]=_0xba09d2,this['_collabCursorController']=_0x119ee9,this[_0x3bdd86(0x218)]=_0x174f41,this[_0x3bdd86(0x24d)]=_0x1a9710,this[_0x3bdd86(0x2e4)]());}[_0x8d5cf8(0x2e4)](){const _0x30058c=_0x8d5cf8,_0x2e507c=this[_0x30058c(0x2a9)][_0x30058c(0x2a8)],_0x1ba2d9=this['_docSkeletonManagerService'];this[_0x30058c(0x11e)](_0x362697([this[_0x30058c(0x13d)]['getCollabCursors$'](_0x2e507c),this['_themeService'][_0x30058c(0x158)]])[_0x30058c(0x141)](_0x1239c4(([_0x34bb6a,_0x34c946])=>({'skeleton':_0x1ba2d9['getSkeleton'](),'cursors':[..._0x34bb6a[_0x30058c(0x15d)]()][_0x30058c(0x17b)](_0x35c580=>({..._0x35c580,'color':this[_0x30058c(0x24d)]['getColorFromTheme'](_0x35c580[_0x30058c(0x29c)])}))})))['subscribe'](_0x55bd12=>{const _0x4973ff=_0x30058c;if(this[_0x4973ff(0x162)](),_0x55bd12){const {skeleton:_0x3c4959,cursors:_0x518f66}=_0x55bd12;this['_updateCollabCursors'](_0x3c4959,_0x518f66);}})),this[_0x30058c(0x140)](),this[_0x30058c(0x226)]();}[_0x8d5cf8(0x1f7)](_0x1213c3,_0x1f0cb9){const _0x1b8a72=_0x8d5cf8,{scene:_0x10ae41,mainComponent:_0x55d46f}=this[_0x1b8a72(0x2a9)],_0x5107e5=_0x1f0cb9['map'](_0x571b21=>new et(_0x571b21,_0x10ae41,_0x1213c3,_0x55d46f));this[_0x1b8a72(0x23e)]=_0x5107e5,this[_0x1b8a72(0x287)]=_0x1f0cb9;}[_0x8d5cf8(0x112)](){const _0x71973b=_0x8d5cf8;this[_0x71973b(0x162)]();const {scene:_0x54afed,mainComponent:_0x9d9014}=this[_0x71973b(0x2a9)],_0x29e277=this['_docSkeletonManagerService']['getSkeleton'](),_0x50a149=this[_0x71973b(0x287)]['map'](_0x308b1a=>new et(_0x308b1a,_0x54afed,_0x29e277,_0x9d9014));this[_0x71973b(0x23e)]=_0x50a149;}['_removeCollabCursors'](){const _0x3772e7=_0x8d5cf8;this['_cursorShapes'][_0x3772e7(0x270)](_0x21dce1=>_0x21dce1[_0x3772e7(0x22d)]()),this['_cursorShapes']=[];}[_0x8d5cf8(0x226)](){const _0x13e002=_0x8d5cf8,_0x3b7e10=[_0x8a025['id']];this[_0x13e002(0x11e)](this[_0x13e002(0x218)][_0x13e002(0x1c0)](_0x2593ba=>{const _0x34610=_0x13e002;_0x3b7e10[_0x34610(0x265)](_0x2593ba['id'])&&_0x2593ba[_0x34610(0x286)][_0x34610(0x2a8)]===this[_0x34610(0x2a9)][_0x34610(0x2a8)]&&this[_0x34610(0x112)]();}));}[_0x8d5cf8(0x140)](){const _0x16e46d=_0x8d5cf8;this['disposeWithMe'](_0x3b4df3(this[_0x16e46d(0x2a9)][_0x16e46d(0x1cb)][_0x16e46d(0x186)])[_0x16e46d(0x141)](_0x5ee277(_0xeac87f=>_0xeac87f[_0x16e46d(0x122)]===_0x426709[_0x16e46d(0x10c)]),_0x3abe66(0x10))['subscribe'](()=>{const _0x1db7fe=_0x16e46d;this[_0x1db7fe(0x112)]();}));}};Pe=Mi([Q(0x1,_0x1a3b2a(_0x509d4d)),Q(0x2,_0x1a3b2a(F)),Q(0x3,_0x1ea0fe),Q(0x4,_0x1a3b2a(_0x1b9233))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x450e23{constructor(_0xe6ded3,_0x584004){const _0x44a43d=_0x8d5cf8;super(_0xe6ded3,_0x584004),_(this,_0x44a43d(0x22f)),_(this,'_hovered',!0x1),_(this,_0x44a43d(0x284)),_(this,_0x44a43d(0x2da),''),_(this,_0x44a43d(0x21e),_0x44a43d(0x290)),_(this,_0x44a43d(0x1b1)),(_0x584004&&this[_0x44a43d(0x205)](_0x584004),this[_0x44a43d(0x1f8)]['subscribeEvent'](()=>this[_0x44a43d(0x205)]({'hovered':!0x0})),this[_0x44a43d(0x191)][_0x44a43d(0x1a3)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x8d5cf8(0x205)](_0x1c8932){const _0x3cf3a7=_0x8d5cf8;var _0x353943,_0x3792ff,_0xdfd56f,_0x3a3636,_0x123cf9,_0x1aea31;this['_color']=(_0x353943=_0x1c8932[_0x3cf3a7(0x29c)])!=null?_0x353943:this[_0x3cf3a7(0x22f)],this[_0x3cf3a7(0x190)]=(_0x3792ff=_0x1c8932['hovered'])!=null?_0x3792ff:this[_0x3cf3a7(0x190)],this[_0x3cf3a7(0x284)]=(_0xdfd56f=_0x1c8932['range'])!=null?_0xdfd56f:this[_0x3cf3a7(0x284)],this['_name']=(_0x3a3636=_0x1c8932['name'])!=null?_0x3a3636:this[_0x3cf3a7(0x2da)],this['_labelPosition']=(_0x123cf9=_0x1c8932[_0x3cf3a7(0x211)])!=null?_0x123cf9:this[_0x3cf3a7(0x21e)],this['_backgroundColor']=(_0x1aea31=_0x1c8932[_0x3cf3a7(0x101)])!=null?_0x1aea31:this[_0x3cf3a7(0x1b1)],this[_0x3cf3a7(0x2a3)]({'width':_0x1c8932[_0x3cf3a7(0x2c3)],'height':_0x1c8932[_0x3cf3a7(0xe4)]});}[_0x8d5cf8(0x132)](_0x4e8faa){const _0x2a7d9f=_0x8d5cf8,{row:_0x1458a8,column:_0x29e4e0}=_0x4e8faa;if(_0x1458a8>=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x2dc)]&&_0x1458a8<=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x243)]&&_0x29e4e0>=this['_range']['startColumn']&&_0x29e4e0<=this[_0x2a7d9f(0x284)][_0x2a7d9f(0x26d)]){this[_0x2a7d9f(0x205)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x8d5cf8(0x114)](_0x1b8291){return!0x1;}[_0x8d5cf8(0x263)](_0x24a0e9){const _0x5cb61e=_0x8d5cf8;_0x68b4a4[_0x5cb61e(0x2c2)](_0x24a0e9,{'width':this[_0x5cb61e(0x2c3)],'height':this[_0x5cb61e(0xe4)],'strokeWidth':Pi,'stroke':this[_0x5cb61e(0x22f)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x24a0e9[_0x5cb61e(0x222)](),_0x24a0e9[_0x5cb61e(0x12c)](0x1,0x0,0x0,0x1,this['width'],this[_0x5cb61e(0x21e)]==='bottom'?0x0:-0x14),ue[_0x5cb61e(0x2c2)](_0x24a0e9,{'text':this[_0x5cb61e(0x2da)],'color':this['_color']}),_0x24a0e9[_0x5cb61e(0x118)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4f6bf5,_0x3fa39f,_0x4ed803,_0x584e3a)=>{const _0x430af3=_0x8d5cf8;for(var _0x411370=_0x584e3a>0x1?void 0x0:_0x584e3a?Ai(_0x3fa39f,_0x4ed803):_0x3fa39f,_0xd6c941=_0x4f6bf5[_0x430af3(0x18a)]-0x1,_0x2c1d91;_0xd6c941>=0x0;_0xd6c941--)(_0x2c1d91=_0x4f6bf5[_0xd6c941])&&(_0x411370=_0x2c1d91(_0x411370)||_0x411370);return _0x411370;},pe=(_0x319610,_0x36609d)=>(_0x1b4eda,_0x32b21f)=>_0x36609d(_0x1b4eda,_0x32b21f,_0x319610);const $i=0x1389;let we=class extends _0x3c867d{constructor(_0x2fa9f4,_0x524941,_0x2b4c4b,_0x5ac91f){const _0x42fa96=_0x8d5cf8;super(),_(this,'_cursors',new Set()),_(this,_0x42fa96(0x261),null),(this[_0x42fa96(0x2a9)]=_0x2fa9f4,this['_sheetSkeletonManagerService']=_0x524941,this[_0x42fa96(0x13d)]=_0x2b4c4b,this[_0x42fa96(0x24d)]=_0x5ac91f,this[_0x42fa96(0x2e4)]());}[_0x8d5cf8(0x2e4)](){const _0x214ed7=_0x8d5cf8;this[_0x214ed7(0xf9)][_0x214ed7(0x2bc)]['pipe'](_0x11d28b(this['dispose$']),_0x1d574f(_0x5c9327=>{const _0x62d361=_0x214ed7;if(_0x5c9327){const _0x56cee2=_0x5c9327[_0x62d361(0x209)];return _0x362697(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x62d361(0x2a8)]),this[_0x62d361(0x24d)][_0x62d361(0x158)])['pipe'](_0x1239c4(([_0x4c5eb0,_0x1c35f2])=>{const _0x1ed195=new Map();return _0x4c5eb0['forEach']((_0x3228c8,_0x1d3247)=>{const _0x4eb32f=_0x42a6;if(_0x3228c8[_0x4eb32f(0x1f1)]===_0x56cee2){const _0x51aee6={..._0x3228c8};_0x51aee6[_0x4eb32f(0x29c)]=this[_0x4eb32f(0x24d)][_0x4eb32f(0x28f)](_0x3228c8[_0x4eb32f(0x29c)]),_0x1ed195[_0x4eb32f(0xfe)](_0x1d3247,_0x51aee6);}}),{'skeleton':_0x5c9327,'cursors':_0x1ed195};}));}return _0x35c99b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x32b2a5,cursors:_0xb30171})=>{const _0x272bfc=_0x214ed7;this['_removeCollabCursors'](),_0x32b2a5&&this[_0x272bfc(0x1f7)](_0x32b2a5,_0xb30171);}),this[_0x214ed7(0xf9)][_0x214ed7(0x2bc)][_0x214ed7(0x1fe)](_0x12361b=>{const _0x50fc93=_0x214ed7;if(_0x12361b==null)return;const {skeleton:_0x13fc1f}=_0x12361b,{scene:_0x38f5aa}=this['_context'];_0x38f5aa['onPointerMove$'][_0x50fc93(0x1a3)](_0x4b6109(_0x594013=>{const _0x5b6ef8=_0x50fc93;var _0x37b79d,_0x406f24;const {offsetX:_0x585ec2,offsetY:_0x2b4ac8}=_0x594013,{x:_0x181b04,y:_0x599c58}=_0x38f5aa[_0x5b6ef8(0xed)](_0x2a8fa6[_0x5b6ef8(0x164)]([_0x585ec2,_0x2b4ac8])),{scaleX:_0x96b888,scaleY:_0x18b331}=_0x38f5aa['getAncestorScale'](),_0x3e133f=_0x38f5aa[_0x5b6ef8(0x12a)](_0x5a3abf[_0x5b6ef8(0x1d8)]),_0x5c9eb2=_0x38f5aa[_0x5b6ef8(0x2a5)](_0x2a8fa6[_0x5b6ef8(0x164)]([_0x181b04,_0x599c58]),_0x3e133f),_0x5ecef2=_0x13fc1f['getCellPositionByOffset'](_0x585ec2,_0x2b4ac8,_0x96b888,_0x18b331,_0x5c9eb2);((_0x37b79d=this['_lastPointer'])==null?void 0x0:_0x37b79d[_0x5b6ef8(0x183)])===_0x5ecef2[_0x5b6ef8(0x183)]&&((_0x406f24=this[_0x5b6ef8(0x261)])==null?void 0x0:_0x406f24['row'])===_0x5ecef2['row']||this['_cursors']['forEach'](_0x488fc1=>{_0x488fc1['onMouseMove'](_0x5ecef2);});},0x64));});}[_0x8d5cf8(0x1f7)](_0x5e3870,_0x36252e){const _0x2b7249=_0x8d5cf8;var _0x28a4d1;const _0x407906=(_0x28a4d1=this['_sheetSkeletonManagerService'][_0x2b7249(0x252)]())==null?void 0x0:_0x28a4d1[_0x2b7249(0x180)];if(!_0x407906)return;const _0x268f99=this[_0x2b7249(0x2df)]();if(!_0x268f99)return;this[_0x2b7249(0x287)][_0x2b7249(0x270)](_0x385e24=>{const _0x54e2d5=_0x2b7249;_0x385e24[_0x54e2d5(0x1e1)]();});const {scene:_0x4b65d9}=_0x268f99,_0x44585b=xi(Array[_0x2b7249(0x194)](_0x36252e[_0x2b7249(0x15d)]()))['map'](_0x54b42f=>{const _0x2a7abf=_0x2b7249,{color:_0x40e6ad,range:_0x2d4773,name:_0x3fc083,selection:_0x3d7150,sheetID:_0x1dbf4e}=_0x54b42f,{startColumn:_0x359638,startRow:_0x237ad1,endColumn:_0x4e31af,endRow:_0x3736dd}=_0x2d4773,_0x12e65=_0x124ed5(_0x237ad1,_0x359638,_0x4b65d9,_0x407906),_0x5aa053=_0x124ed5(_0x3736dd,_0x4e31af,_0x4b65d9,_0x407906),{columnHeaderHeightAndMarginTop:_0x358956}=_0x407906,{startX:_0x563011,startY:_0x1df8af}=_0x12e65,{endX:_0x4353cb,endY:_0x5b2398}=_0x5aa053,_0x2b9466=_0x4353cb-_0x563011,_0x3d738f=_0x5b2398-_0x1df8af,_0x14bfbe={'labelPosition':_0x1df8af-_0x358956>=te?_0x2a7abf(0x290):_0x2a7abf(0x29e),'sheetID':_0x1dbf4e,'range':_0x2d4773,'color':_0x40e6ad,'name':_0x3fc083,'selection':_0x3d7150,'left':_0x563011,'top':_0x1df8af,'width':_0x2b9466,'height':_0x3d738f,'evented':!0x1,'zIndex':$i};return new wi(_0x3fc083,_0x14bfbe);});_0x4b65d9['addObjects'](_0x44585b,Li),this[_0x2b7249(0x287)]=new Set(_0x44585b);}[_0x8d5cf8(0x162)](){const _0x3d55ae=_0x8d5cf8;var _0x4d6ac7;(_0x4d6ac7=this[_0x3d55ae(0x287)])==null||_0x4d6ac7[_0x3d55ae(0x270)](_0x1a8e2e=>_0x1a8e2e[_0x3d55ae(0x22d)]());}[_0x8d5cf8(0x2df)](){const _0x54b221=_0x8d5cf8;return _0xd07a33(this[_0x54b221(0x2a9)][_0x54b221(0x147)],this[_0x54b221(0x2a9)]);}};we=yi([pe(0x1,_0x1a3b2a(_0x34ad35)),pe(0x2,_0x1a3b2a(F)),pe(0x3,_0x1a3b2a(_0x1b9233))],we);function xi(_0x4f0ff1){const _0xcc256=_0x8d5cf8,_0xaf3da2=new Map();return _0x4f0ff1[_0xcc256(0x270)](_0xfcdbd4=>{const _0x2d2d20=_0xcc256;if(_0xaf3da2[_0x2d2d20(0x1d1)](_0xfcdbd4[_0x2d2d20(0x182)])){const _0x2d4b7c=_0xaf3da2['get'](_0xfcdbd4[_0x2d2d20(0x182)]);_0x2d4b7c[_0x2d2d20(0x125)]+=',\x20'+_0xfcdbd4['name'];}else _0xaf3da2[_0x2d2d20(0xfe)](_0xfcdbd4[_0x2d2d20(0x182)],_0xfcdbd4);}),Array[_0xcc256(0x194)](_0xaf3da2['values']());}var v=function(){const _0x3ff522=_0x8d5cf8;return v=Object['assign']||function(_0x3b6d9d){const _0x3d2d60=_0x42a6;for(var _0x4fce3c,_0x422dab=0x1,_0x7fd55=arguments['length'];_0x422dab<_0x7fd55;_0x422dab++){_0x4fce3c=arguments[_0x422dab];for(var _0xbe635c in _0x4fce3c)Object['prototype'][_0x3d2d60(0x216)][_0x3d2d60(0x1ef)](_0x4fce3c,_0xbe635c)&&(_0x3b6d9d[_0xbe635c]=_0x4fce3c[_0xbe635c]);}return _0x3b6d9d;},v[_0x3ff522(0x25c)](this,arguments);},Bi=function(_0x38cfe3,_0x32a07b){const _0x21259b=_0x8d5cf8;var _0x3fa260={};for(var _0x58ce59 in _0x38cfe3)Object[_0x21259b(0x245)][_0x21259b(0x216)]['call'](_0x38cfe3,_0x58ce59)&&_0x32a07b[_0x21259b(0x150)](_0x58ce59)<0x0&&(_0x3fa260[_0x58ce59]=_0x38cfe3[_0x58ce59]);if(_0x38cfe3!=null&&typeof Object[_0x21259b(0x188)]=='function'){for(var _0x56ee17=0x0,_0x58ce59=Object[_0x21259b(0x188)](_0x38cfe3);_0x56ee17<_0x58ce59[_0x21259b(0x18a)];_0x56ee17++)_0x32a07b[_0x21259b(0x150)](_0x58ce59[_0x56ee17])<0x0&&Object['prototype'][_0x21259b(0x27f)][_0x21259b(0x1ef)](_0x38cfe3,_0x58ce59[_0x56ee17])&&(_0x3fa260[_0x58ce59[_0x56ee17]]=_0x38cfe3[_0x58ce59[_0x56ee17]]);}return _0x3fa260;},Ye=_0x3db6fb(function(_0xb65920,_0x4bd81b){const _0x388e14=_0x8d5cf8;var _0x47ff63=_0xb65920[_0x388e14(0x19d)],_0x2fc495=_0xb65920['id'],_0x49f798=_0xb65920[_0x388e14(0x18b)],_0x450c35=_0xb65920[_0x388e14(0x17a)],_0x4f7355=Bi(_0xb65920,['icon','id',_0x388e14(0x18b),_0x388e14(0x17a)]),_0x909eb9=_0x388e14(0x1f9)[_0x388e14(0x1ac)](_0x2fc495,'\x20')[_0x388e14(0x1ac)](_0x49f798||'')['trim'](),_0x71c701=_0x4cc4e7('_'[_0x388e14(0x1ac)](Fi()));return Dt(_0x47ff63,''[_0x388e14(0x1ac)](_0x2fc495),{'defIds':_0x47ff63['defIds'],'idSuffix':_0x71c701[_0x388e14(0x13a)]},v({'ref':_0x4bd81b,'className':_0x909eb9},_0x4f7355),_0x450c35);});function Dt(_0x1c5ae8,_0x1363a5,_0x5b034e,_0x34f093,_0x3409ef){const _0x12bdb0=_0x8d5cf8;return _0x291c33(_0x1c5ae8[_0x12bdb0(0x2cf)],v(v({'key':_0x1363a5},ki(_0x1c5ae8,_0x5b034e,_0x3409ef)),_0x34f093),(Hi(_0x1c5ae8,_0x5b034e)['children']||[])[_0x12bdb0(0x246)](function(_0x4cc513,_0xe77bb4){const _0x583d5f=_0x12bdb0;return Dt(_0x4cc513,''[_0x583d5f(0x1ac)](_0x1363a5,'-')[_0x583d5f(0x1ac)](_0x1c5ae8['tag'],'-')[_0x583d5f(0x1ac)](_0xe77bb4),_0x5b034e,void 0x0,_0x3409ef);}));}function ki(_0x40ab2f,_0x31d1b2,_0x4022f8){const _0x362424=_0x8d5cf8;var _0x43c236=v({},_0x40ab2f[_0x362424(0x1eb)]);_0x4022f8!=null&&_0x4022f8[_0x362424(0x1e9)]&&_0x43c236['fill']==='colorChannel1'&&(_0x43c236['fill']=_0x4022f8[_0x362424(0x1e9)]),_0x40ab2f[_0x362424(0x2cf)]===_0x362424(0x103)&&_0x43c236['id']&&(_0x43c236['id']=_0x43c236['id']+_0x31d1b2['idSuffix']),Object['entries'](_0x43c236)[_0x362424(0x270)](function(_0x544660){const _0x17364d=_0x362424;var _0x2166c6=_0x544660[0x0],_0x1d0450=_0x544660[0x1];_0x2166c6===_0x17364d(0x103)&&typeof _0x1d0450==_0x17364d(0x10e)&&(_0x43c236[_0x2166c6]=_0x1d0450[_0x17364d(0x156)](/url\(#(.*)\)/,'url(#$1'[_0x17364d(0x1ac)](_0x31d1b2[_0x17364d(0x262)],')')));});var _0x29d829=_0x31d1b2[_0x362424(0x24f)];return!_0x29d829||_0x29d829[_0x362424(0x18a)]===0x0||(_0x40ab2f[_0x362424(0x2cf)]==='use'&&_0x43c236[_0x362424(0x105)]&&(_0x43c236[_0x362424(0x105)]=_0x43c236[_0x362424(0x105)]+_0x31d1b2[_0x362424(0x262)]),Object[_0x362424(0x2d6)](_0x43c236)['forEach'](function(_0x10a0bd){const _0x371c1f=_0x362424;var _0x5b9a2f=_0x10a0bd[0x0],_0x44d528=_0x10a0bd[0x1];typeof _0x44d528==_0x371c1f(0x10e)&&(_0x43c236[_0x5b9a2f]=_0x44d528['replace'](/url\(#(.*)\)/,_0x371c1f(0x217)[_0x371c1f(0x1ac)](_0x31d1b2[_0x371c1f(0x262)],')')));})),_0x43c236;}function Hi(_0x4a1ed0,_0x2ae535){const _0x7d420c=_0x8d5cf8;var _0x506eab,_0x264913=_0x2ae535[_0x7d420c(0x24f)];return!_0x264913||_0x264913[_0x7d420c(0x18a)]===0x0?_0x4a1ed0:_0x4a1ed0['tag']===_0x7d420c(0x223)&&(!((_0x506eab=_0x4a1ed0[_0x7d420c(0x25b)])===null||_0x506eab===void 0x0)&&_0x506eab[_0x7d420c(0x18a)])?v(v({},_0x4a1ed0),{'children':_0x4a1ed0['children'][_0x7d420c(0x246)](function(_0x391afd){const _0x3aec02=_0x7d420c;return typeof _0x391afd[_0x3aec02(0x1eb)]['id']=='string'&&_0x264913&&_0x264913[_0x3aec02(0x265)](_0x391afd['attrs']['id'])?v(v({},_0x391afd),{'attrs':v(v({},_0x391afd['attrs']),{'id':_0x391afd[_0x3aec02(0x1eb)]['id']+_0x2ae535[_0x3aec02(0x262)]})}):_0x391afd;})}):_0x4a1ed0;}function Fi(){const _0x56ea22=_0x8d5cf8;return Math['random']()[_0x56ea22(0x2c5)](0x24)[_0x56ea22(0xfa)](0x2,0x8);}Ye[_0x8d5cf8(0x11b)]=_0x8d5cf8(0x225);var Yi={'tag':_0x8d5cf8(0x24e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x8d5cf8(0x278),'height':_0x8d5cf8(0x278)},'children':[{'tag':'g','attrs':{'clipPath':_0x8d5cf8(0x2de)},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'stroke':_0x8d5cf8(0xf8),'d':_0x8d5cf8(0x1f5),'strokeLinecap':_0x8d5cf8(0x138),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8d5cf8(0x223),'attrs':{},'children':[{'tag':_0x8d5cf8(0xeb),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'fill':'white','d':_0x8d5cf8(0x27c)}}]}]}],'defIds':[_0x8d5cf8(0x2b1)]},Nt=_0x3db6fb(function(_0x5674cb,_0x39ed90){const _0x3e1231=_0x8d5cf8;return _0x291c33(Ye,Object['assign']({},_0x5674cb,{'id':_0x3e1231(0x167),'ref':_0x39ed90,'icon':Yi}));});Nt[_0x8d5cf8(0x11b)]='OffLineIcon';var ji={'tag':_0x8d5cf8(0x24e),'attrs':{'xmlns':_0x8d5cf8(0x13c),'fill':_0x8d5cf8(0x298),'viewBox':_0x8d5cf8(0x274),'width':_0x8d5cf8(0x278),'height':_0x8d5cf8(0x278)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'stroke':_0x8d5cf8(0xf8),'d':_0x8d5cf8(0x2aa),'strokeLinecap':_0x8d5cf8(0x138),'strokeLinejoin':_0x8d5cf8(0x138),'strokeWidth':1.2}}]},{'tag':_0x8d5cf8(0x223),'attrs':{},'children':[{'tag':_0x8d5cf8(0xeb),'attrs':{'id':_0x8d5cf8(0x166)},'children':[{'tag':_0x8d5cf8(0x28e),'attrs':{'fill':'white','d':_0x8d5cf8(0x27c),'transform':_0x8d5cf8(0x282)}}]}]}],'defIds':[_0x8d5cf8(0x166)]},Ut=_0x3db6fb(function(_0xb26422,_0x20ed85){const _0x395ce0=_0x8d5cf8;return _0x291c33(Ye,Object[_0x395ce0(0x20e)]({},_0xb26422,{'id':'on-line-icon','ref':_0x20ed85,'icon':ji}));});Ut[_0x8d5cf8(0x11b)]=_0x8d5cf8(0x220);function Vi(_0x181e02){const _0x238deb=_0x8d5cf8;switch(_0x181e02){case _0xbfaff5['OFFLINE']:return'collabStatus.offline';case _0xbfaff5['CONFLICT']:return'collabStatus.conflict';case _0xbfaff5['FETCH_MISS']:return'collabStatus.fetchMiss';case _0xbfaff5['NOT_COLLAB']:return _0x238deb(0x2c7);case _0xbfaff5[_0x238deb(0x108)]:case _0xbfaff5['AWAITING_WITH_PENDING']:return _0x238deb(0x14e);case _0xbfaff5['SYNCED']:case _0xbfaff5['PENDING']:return _0x238deb(0x159);}}function Wi(_0x24de14){const _0x1b5673=_0x8d5cf8,{status$:_0x16a5a3}=_0x24de14,_0x2c0281=_0x28ae18(_0x16a5a3,_0xbfaff5[_0x1b5673(0x2e1)]),_0x838e5c=_0x23d667(_0x12013b),_0x33b3bb=_0x23d667(_0xffc754),_0x4edebd=_0x2c0281!==_0xbfaff5[_0x1b5673(0x2a1)],_0x5e03d4=_0x838e5c['t'](Vi(_0x2c0281)),_0x2fc303=_0x4edebd?_0x4a0075(Ut,{}):_0x4a0075(Nt,{}),_0x75f5a3=_0x301a37(()=>{const _0x37e24c=_0x1b5673;_0x4edebd||_0x33b3bb[_0x37e24c(0x17c)]();},[_0x4edebd,_0x33b3bb]);function _0x689f40(){const _0x4a3854=_0x1b5673;return _0x40a0f9(_0x4a3854(0x1db),{'className':'univer-flex\x20univer-items-center','onClick':_0x75f5a3,'children':[_0x4a0075(_0x4a3854(0x1db),{'className':_0x46accd(_0x4a3854(0x2bb),{'univer-text-green-500':_0x4edebd,'univer-text-red-500':!_0x4edebd}),'children':_0x2fc303}),_0x4a0075('div',{'className':_0x4a3854(0x16a),'children':_0x5e03d4})]});}return _0x4edebd?_0x689f40():_0x4a0075(_0x4b28d7,{'title':_0x838e5c['t']('collab-client.tooltip.reconnect'),'children':_0x689f40()});}var Xi=Object[_0x8d5cf8(0x23f)],Gi=(_0x17b960,_0x79ab80,_0x599032,_0x4b23bd)=>{const _0x269ab2=_0x8d5cf8;for(var _0xcb85af=_0x4b23bd>0x1?void 0x0:_0x4b23bd?Xi(_0x79ab80,_0x599032):_0x79ab80,_0x4e547f=_0x17b960[_0x269ab2(0x18a)]-0x1,_0x4245f6;_0x4e547f>=0x0;_0x4e547f--)(_0x4245f6=_0x17b960[_0x4e547f])&&(_0xcb85af=_0x4245f6(_0xcb85af)||_0xcb85af);return _0xcb85af;},q=(_0xb6e74a,_0x108a72)=>(_0x2da28c,_0x74f78c)=>_0x108a72(_0x2da28c,_0x74f78c,_0xb6e74a);let se=class extends _0x32e48f{constructor(_0x263061,_0x113d93,_0x30634b,_0xe5d789){const _0x1fd99d=_0x8d5cf8;super(),_(this,_0x1fd99d(0x1ad),new _0xed8a6e(_0xbfaff5['NOT_COLLAB'])),(this[_0x1fd99d(0x13e)]=_0x263061,this[_0x1fd99d(0x21b)]=_0x113d93,this[_0x1fd99d(0x1c9)]=_0x30634b,this[_0x1fd99d(0x22a)]=_0xe5d789,this[_0x1fd99d(0x221)](),this[_0x1fd99d(0x27e)]());}['_initStatusListener'](){const _0x118fab=_0x8d5cf8;this[_0x118fab(0x11e)](this[_0x118fab(0x13e)]['focused$'][_0x118fab(0x141)](_0x1ea62d(()=>{const _0x185d8b=_0x118fab,_0xfa8f1=this[_0x185d8b(0x13e)][_0x185d8b(0x10d)]();return _0xfa8f1?this[_0x185d8b(0x1c9)]['getCollabEntity$'](_0xfa8f1[_0x185d8b(0x248)]()):_0x35c99b(null);}),_0x1ea62d(_0xcbb1a5=>_0xcbb1a5?_0xcbb1a5[_0x118fab(0x228)]:_0x35c99b(_0xbfaff5[_0x118fab(0x2e1)])))[_0x118fab(0x1fe)](_0x2f4eeb=>{this['_status$']['next'](_0x2f4eeb);}));}[_0x8d5cf8(0x221)](){const _0x175232=_0x8d5cf8;this['disposeWithMe'](this[_0x175232(0x22a)][_0x175232(0xfd)](_0x4a708c[_0x175232(0x1bb)],()=>_0x534aa2(Ki({'status$':this['_status$'][_0x175232(0x2e2)]()}),this['_injector'])));}};se=Gi([q(0x0,_0x562792),q(0x1,_0x1a3b2a(_0x4fa6a4)),q(0x2,_0x1a3b2a(_0x3c6559)),q(0x3,_0x471289)],se);function Ki(_0x3a1f4a){const {status$:_0x57f88a}=_0x3a1f4a;return function(){return _0x4a0075(Wi,{'status$':_0x57f88a});};}var zi=Object[_0x8d5cf8(0x23f)],Ji=(_0x15be67,_0x38f4e7,_0x1b9c6e,_0x481c9a)=>{for(var _0x463d0f=_0x481c9a>0x1?void 0x0:_0x481c9a?zi(_0x38f4e7,_0x1b9c6e):_0x38f4e7,_0x55b794=_0x15be67['length']-0x1,_0x48b582;_0x55b794>=0x0;_0x55b794--)(_0x48b582=_0x15be67[_0x55b794])&&(_0x463d0f=_0x48b582(_0x463d0f)||_0x463d0f);return _0x463d0f;},B=(_0x4b9f2d,_0x22d006)=>(_0x12f499,_0x102cf5)=>_0x22d006(_0x12f499,_0x102cf5,_0x4b9f2d);let ie=class extends _0x32e48f{constructor(_0x5df118,_0x175e8f,_0x178a58,_0x50da3c,_0x557284,_0x278238){const _0x524bb7=_0x8d5cf8;super(),this[_0x524bb7(0x2c8)]=_0x5df118,this[_0x524bb7(0x128)]=_0x175e8f,this['_collaborationUIEventService']=_0x178a58,this[_0x524bb7(0x281)]=_0x50da3c,this['_notificationService']=_0x557284,this[_0x524bb7(0x277)]=_0x278238,this[_0x524bb7(0x1dc)](),this[_0x524bb7(0xee)]();}['_setupBeforeClosingHandler'](){const _0x2e816d=_0x8d5cf8;this[_0x2e816d(0x11e)](this[_0x2e816d(0x2c8)][_0x2e816d(0x1c1)](()=>{const _0x45c059=_0x2e816d;if(this[_0x45c059(0x128)]['saveTaskMap'][_0x45c059(0x1af)])return this['_localeService']['t'](_0x45c059(0x1b2));}));}['_initEvent'](){const _0x54ca5c=_0x8d5cf8;this['disposeWithMe'](this[_0x54ca5c(0x110)]['event$'][_0x54ca5c(0x1fe)](_0x5211c4=>{const _0x45ed2f=_0x54ca5c;_0x5211c4['id']===_0x1855d6['OTHER_CLIENT_EDITING']&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Warning'],'content':this[_0x45ed2f(0x277)]['t']('collaboration.single-unit.warning')}),_0x5211c4['id']===_0x1855d6['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x18e795[_0x45ed2f(0xf5)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x15c))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x2db)]&&this[_0x45ed2f(0x212)][_0x45ed2f(0x115)]({'title':this['_localeService']['t'](_0x45ed2f(0x18e)),'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x1c2)),'type':_0x45ed2f(0x26b),'duration':0x0}),_0x5211c4['id']===_0x1855d6['CONFLICT']&&this['_messageService'][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0x250)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x15c))+'('+_0x5211c4[_0x45ed2f(0x152)]+')'}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x258)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Warning'],'content':this[_0x45ed2f(0x277)]['t'](_0x5211c4[_0x45ed2f(0x152)]||'')}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x293)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0xf5)],'content':this['_localeService']['t'](_0x45ed2f(0x29b))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x1df)]&&this['_messageService'][_0x45ed2f(0x115)]({'type':_0x18e795[_0x45ed2f(0x250)],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x197))}),_0x5211c4['id']===_0x1855d6[_0x45ed2f(0x196)]&&this[_0x45ed2f(0x281)][_0x45ed2f(0x115)]({'type':_0x18e795['Error'],'content':this[_0x45ed2f(0x277)]['t'](_0x45ed2f(0x2a2))});}));}};ie=Ji([B(0x0,_0x6d8e30),B(0x1,_0x483b5d),B(0x2,_0x1a3b2a(_0xa818b3)),B(0x3,_0x4fe881),B(0x4,_0x3b9eb4),B(0x5,_0x1a3b2a(_0x12013b))],ie);const Zi=_0x8d5cf8(0x26a),tt={},Mt=_0xe3ec3b(_0x8d5cf8(0x2c4));var Qi=Object[_0x8d5cf8(0x23f)],qi=(_0x351888,_0x23ce99,_0x249504,_0x2e109f)=>{const _0x3bc885=_0x8d5cf8;for(var _0x1eedd1=_0x2e109f>0x1?void 0x0:_0x2e109f?Qi(_0x23ce99,_0x249504):_0x23ce99,_0x45b7ef=_0x351888[_0x3bc885(0x18a)]-0x1,_0x322bf0;_0x45b7ef>=0x0;_0x45b7ef--)(_0x322bf0=_0x351888[_0x45b7ef])&&(_0x1eedd1=_0x322bf0(_0x1eedd1)||_0x1eedd1);return _0x1eedd1;},K=(_0x2bfba7,_0x22d3db)=>(_0x3efd90,_0x59bd8a)=>_0x22d3db(_0x3efd90,_0x59bd8a,_0x2bfba7);let ne=class extends _0x3c867d{constructor(_0x2d58fc,_0x394075,_0x5d277c,_0x295eb7,_0x200b7b){const _0xd4ac44=_0x8d5cf8;super(),this[_0xd4ac44(0x23b)]=_0x2d58fc,this[_0xd4ac44(0x126)]=_0x394075,this[_0xd4ac44(0x218)]=_0x5d277c,this[_0xd4ac44(0x130)]=_0x295eb7,_0x200b7b?_0x200b7b==null||_0x200b7b[_0xd4ac44(0x25e)]()['then'](()=>this[_0xd4ac44(0x2e4)]()):(this[_0xd4ac44(0x126)][_0xd4ac44(0x22b)]('[CollaborationDataLoaderController]',_0xd4ac44(0x27d)),this[_0xd4ac44(0x2e4)]());}async['_init'](){const _0x3fb31f=_0x8d5cf8,_0x830253=this[_0x3fb31f(0x23b)][_0x3fb31f(0xff)]('unit'),_0x59ba73=this['_urlService']['getParam'](_0x3fb31f(0x122)),_0xbc21dc=this['_urlService'][_0x3fb31f(0xff)](_0x3fb31f(0x2c6));if(!_0x830253||!_0x59ba73){this['_logService'][_0x3fb31f(0x22b)](_0x3fb31f(0x195),_0x3fb31f(0x1b3));return;}const _0x51ec74=await this['_dataLoaderService'][_0x3fb31f(0x14d)](_0x830253,Number(_0x59ba73),_0xbc21dc);_0x51ec74&&_0x51ec74 instanceof _0x25a725&&this[_0x3fb31f(0x142)](_0x51ec74);}async[_0x8d5cf8(0x142)](_0x5bb27d){const _0x205013=_0x8d5cf8;await this[_0x205013(0x224)](_0x5bb27d),_0x5bb27d[_0x205013(0x124)][_0x205013(0x141)](_0x1316d6(this[_0x205013(0xf6)]))[_0x205013(0x1fe)](_0x11f74f=>{_0x11f74f&&this['_updateURLWithCurrentState'](_0x11f74f);}),this[_0x205013(0x23b)]['urlChange$'][_0x205013(0x141)](_0x1316d6(this['dispose$']))['subscribe'](()=>this[_0x205013(0x224)](_0x5bb27d));}[_0x8d5cf8(0x214)](_0x5eb2f4,_0x6614e3=!0x1){const _0x2ccafa=_0x8d5cf8,_0x166d35=this[_0x2ccafa(0x23b)]['getParam']('subunit');_0x5eb2f4[_0x2ccafa(0x1b8)]()!==_0x166d35&&this['_urlService'][_0x2ccafa(0x1c8)](_0x2ccafa(0x2c6),_0x5eb2f4[_0x2ccafa(0x1b8)](),_0x6614e3);}async[_0x8d5cf8(0x224)](_0x229d3c){const _0x2ec91e=_0x8d5cf8;var _0x5a58c6;const _0x500481=this[_0x2ec91e(0x23b)][_0x2ec91e(0xff)](_0x2ec91e(0x2c6));if(!_0x500481||!_0x229d3c['getSheetBySheetId'](_0x500481)){const _0x32e0dc=_0x229d3c['getUnhiddenWorksheets']()[0x0],_0x26a8a1=_0x229d3c[_0x2ec91e(0x1ec)](_0x32e0dc);if(!_0x26a8a1)return;this[_0x2ec91e(0x214)](_0x26a8a1,!0x0),await this[_0x2ec91e(0x218)][_0x2ec91e(0x10a)](_0x9b6d2b['id'],{'unitId':_0x229d3c[_0x2ec91e(0x248)](),'subUnitId':_0x32e0dc});return;}((_0x5a58c6=_0x229d3c[_0x2ec91e(0x275)]())==null?void 0x0:_0x5a58c6[_0x2ec91e(0x1b8)]())!==_0x500481&&await this['_commandService'][_0x2ec91e(0x10a)](_0x9b6d2b['id'],{'unitId':_0x229d3c['getUnitId'](),'subUnitId':_0x500481});}};ne=qi([K(0x0,Mt),K(0x1,_0x30d796),K(0x2,_0x1ea0fe),K(0x3,_0x1a3b2a(_0x5c323b)),K(0x4,_0x5e8d02(_0x5f5a54))],ne);var en=Object[_0x8d5cf8(0x23f)],tn=(_0x39ccbf,_0x48f6d0,_0x2d485e,_0xfe0573)=>{const _0x125eef=_0x8d5cf8;for(var _0x187287=_0xfe0573>0x1?void 0x0:_0xfe0573?en(_0x48f6d0,_0x2d485e):_0x48f6d0,_0x21d7a6=_0x39ccbf[_0x125eef(0x18a)]-0x1,_0x41e85c;_0x21d7a6>=0x0;_0x21d7a6--)(_0x41e85c=_0x39ccbf[_0x21d7a6])&&(_0x187287=_0x41e85c(_0x187287)||_0x187287);return _0x187287;},Ce=(_0x37760a,_0x330b1c)=>(_0x342131,_0x3cfae3)=>_0x330b1c(_0x342131,_0x3cfae3,_0x37760a);let re=class{constructor(_0x1c3938,_0x46fce6,_0x2f2514){const _0x4eae21=_0x8d5cf8;this[_0x4eae21(0x21b)]=_0x1c3938,this[_0x4eae21(0x219)]=_0x46fce6,this[_0x4eae21(0x107)]=_0x2f2514;}['transformIMECache'](_0x512283){const _0x5e87eb=_0x8d5cf8;this[_0x5e87eb(0x1ee)](_0x512283),this[_0x5e87eb(0x1f0)](_0x512283);}[_0x8d5cf8(0x2cd)](_0x16eecc){const _0x2e0d94=_0x8d5cf8,{unitID:_0x7cff02}=_0x16eecc,_0x268296=this[_0x2e0d94(0x107)][_0x2e0d94(0x203)](_0x7cff02)[_0x2e0d94(0x172)](_0x47c70f),{redoCache:_0x188ba8}=_0x268296[_0x2e0d94(0x113)]();if(_0x188ba8[_0x2e0d94(0x18a)]===0x0)return _0x16eecc;let _0x124a3d=_0x5056d7['deepClone'](_0x16eecc[_0x2e0d94(0x135)][0x0]);for(let _0x1f2c82=0x0;_0x1f2c82<_0x188ba8[_0x2e0d94(0x18a)];_0x1f2c82++){const _0x384567={'id':_0x2e0d94(0x127),'params':{..._0x188ba8[_0x1f2c82]}},_0x4dd6e3=this[_0x2e0d94(0x219)][_0x2e0d94(0x283)](_0x124a3d,_0x384567,!0x1);if(_0xc0c83d(_0x4dd6e3))throw _0x4dd6e3[_0x2e0d94(0x26b)];_0x124a3d=_0x4dd6e3['m1Prime'];}return{..._0x5056d7[_0x2e0d94(0x111)](_0x16eecc),'mutations':[_0x124a3d]};}[_0x8d5cf8(0x1ee)](_0x5af8a9){const _0x2c73c9=_0x8d5cf8,{unitID:_0x138a3b}=_0x5af8a9,_0x2acc4b=this[_0x2c73c9(0x107)][_0x2c73c9(0x203)](_0x138a3b)[_0x2c73c9(0x172)](_0x47c70f),{undoCache:_0x54ef7e,redoCache:_0x117d7c}=_0x2acc4b[_0x2c73c9(0x113)]();if(_0x54ef7e[_0x2c73c9(0x18a)]===0x0||_0x117d7c[_0x2c73c9(0x18a)]===0x0)return;const _0x47608a=[],_0x4df027=[];let _0x73b456=_0x5056d7[_0x2c73c9(0x111)](_0x5af8a9[_0x2c73c9(0x135)][0x0]),_0xcfdc8d=_0x5056d7[_0x2c73c9(0x111)](_0x5af8a9['mutations'][0x0]);for(let _0x47e9d3=_0x54ef7e['length']-0x1;_0x47e9d3>=0x0;_0x47e9d3--){const _0x3b15da={'id':_0x2c73c9(0x127),'params':{..._0x54ef7e[_0x47e9d3]}},_0x4e51b3={'id':_0x2c73c9(0x127),'params':{..._0x117d7c[_0x47e9d3]}},_0x1af882=this['_transformService'][_0x2c73c9(0x283)](_0x73b456,_0x3b15da,!0x1),_0xde462e=this[_0x2c73c9(0x219)]['transformMutation'](_0xcfdc8d,_0x4e51b3,!0x1);if(_0xc0c83d(_0x1af882))throw _0x1af882[_0x2c73c9(0x26b)];if(_0xc0c83d(_0xde462e))throw _0xde462e[_0x2c73c9(0x26b)];_0x47608a[_0x2c73c9(0xfc)](_0x1af882[_0x2c73c9(0x1e4)][_0x2c73c9(0x286)]),_0x4df027['unshift'](_0xde462e[_0x2c73c9(0x1e4)][_0x2c73c9(0x286)]),_0x73b456=_0x1af882['m1Prime'],_0xcfdc8d=_0xde462e[_0x2c73c9(0x213)];}_0x2acc4b['setUndoRedoMutationParamsCache']({'undoCache':_0x47608a,'redoCache':_0x4df027});}['_transformPreviousActiveRange'](_0x17539e){const _0x58e392=_0x8d5cf8,{unitID:_0x155d9a}=_0x17539e,_0x3a3535=this[_0x58e392(0x107)][_0x58e392(0x203)](_0x155d9a)[_0x58e392(0x172)](_0x47c70f),_0x323c3f=_0x3a3535[_0x58e392(0x19f)]();if(_0x323c3f==null)return;const _0x5adb5f=[{'id':_0x58e392(0x127),'params':{'unitId':_0x17539e[_0x58e392(0x18f)],'actions':null,'textRanges':[_0x323c3f]}}],_0x297936=this[_0x58e392(0x219)][_0x58e392(0x198)](_0x17539e,_0x5adb5f);if(!_0x29221a(_0x297936))throw _0x297936['error'];const _0x248cbe=_0x297936[_0x58e392(0x1e4)][0x0][_0x58e392(0x286)][_0x58e392(0x119)];Array[_0x58e392(0xe7)](_0x248cbe)&&_0x248cbe[_0x58e392(0x18a)]&&_0x3a3535['setActiveRange'](_0x248cbe[0x0]);}};re=tn([Ce(0x0,_0x1a3b2a(_0x4fa6a4)),Ce(0x1,_0x1f39b3),Ce(0x2,_0x188bfb)],re);var sn=Object[_0x8d5cf8(0x23f)],nn=(_0x311c5c,_0x36eecb,_0x3738fb,_0x3d026f)=>{const _0x2c6d19=_0x8d5cf8;for(var _0x48ce96=_0x3d026f>0x1?void 0x0:_0x3d026f?sn(_0x36eecb,_0x3738fb):_0x36eecb,_0x5cf8d0=_0x311c5c[_0x2c6d19(0x18a)]-0x1,_0x5706ab;_0x5cf8d0>=0x0;_0x5cf8d0--)(_0x5706ab=_0x311c5c[_0x5cf8d0])&&(_0x48ce96=_0x5706ab(_0x48ce96)||_0x48ce96);return _0x48ce96;},Ee=(_0x4b65b9,_0x309291)=>(_0x564130,_0x4ae08f)=>_0x309291(_0x564130,_0x4ae08f,_0x4b65b9);let oe=class{constructor(_0xb4466,_0x3dac05,_0x3a4bf7){const _0x2e2827=_0x8d5cf8;this['_injector']=_0xb4466,this[_0x2e2827(0x219)]=_0x3dac05,this[_0x2e2827(0x1a0)]=_0x3a4bf7;}[_0x8d5cf8(0x169)](_0x58ee70){const _0xb3cf35=_0x8d5cf8;this[_0xb3cf35(0x251)](_0x58ee70);}[_0x8d5cf8(0x2cd)](_0x221d9e){const _0x50e386=_0x8d5cf8,{unitID:_0x136df4}=_0x221d9e,{collaboration:_0x2c6b04}=this[_0x50e386(0x1a0)][_0x50e386(0x151)](_0x136df4);if(_0x2c6b04[_0x50e386(0x18a)]===0x0)return _0x221d9e;let _0x22efd1=_0x5056d7[_0x50e386(0x111)](_0x221d9e[_0x50e386(0x135)][0x0]);for(let _0x2621c4=0x0;_0x2621c4<_0x2c6b04[_0x50e386(0x18a)];_0x2621c4++){const _0x1033ca={'id':_0x50e386(0x127),'params':{'unitId':_0x2c6b04[_0x2621c4]['unitId'],..._0x2c6b04[_0x2621c4]['redoState']}},_0x2b7652=this[_0x50e386(0x219)]['transformMutation'](_0x22efd1,_0x1033ca,!0x1);if(_0xc0c83d(_0x2b7652))throw _0x2b7652[_0x50e386(0x26b)];_0x22efd1=_0x2b7652[_0x50e386(0x213)];}return{..._0x5056d7[_0x50e386(0x111)](_0x221d9e),'mutations':[_0x22efd1]};}[_0x8d5cf8(0x251)](_0x4a7039){const _0x217254=_0x8d5cf8,{unitID:_0x18ec1a}=_0x4a7039,{history:_0x11aef8,collaboration:_0x425a53}=this[_0x217254(0x1a0)][_0x217254(0x151)](_0x18ec1a);if(_0x11aef8[_0x217254(0x18a)]===0x0&&_0x425a53[_0x217254(0x18a)]===0x0)return;const _0x1101de=[],_0x380330=[];let _0x3d7cc5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]),_0x58cad5=_0x5056d7['deepClone'](_0x4a7039[_0x217254(0x135)][0x0]);for(let _0x23e167=_0x11aef8[_0x217254(0x18a)]-0x1;_0x23e167>=0x0;_0x23e167--){const _0xbfee0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11aef8[_0x23e167][_0x217254(0x2a8)],..._0x11aef8[_0x23e167][_0x217254(0x155)]}},_0x4dd6d6={'id':_0x217254(0x127),'params':{'unitId':_0x11aef8[_0x23e167][_0x217254(0x2a8)],..._0x11aef8[_0x23e167][_0x217254(0x2be)]}},_0x1c5c76=this[_0x217254(0x219)][_0x217254(0x283)](_0x3d7cc5,_0xbfee0b,!0x1),_0x4dd999=this['_transformService'][_0x217254(0x283)](_0x58cad5,_0x4dd6d6,!0x1);if(_0xc0c83d(_0x1c5c76))throw _0x1c5c76['error'];if(_0xc0c83d(_0x4dd999))throw _0x4dd999[_0x217254(0x26b)];_0x1101de[_0x217254(0xfc)]({..._0x11aef8[_0x23e167],'undoState':_0x1c5c76[_0x217254(0x1e4)]['params'],'redoState':_0x4dd999['m2Prime'][_0x217254(0x286)]}),_0x3d7cc5=_0x1c5c76[_0x217254(0x213)],_0x58cad5=_0x4dd999[_0x217254(0x213)];}_0x3d7cc5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]),_0x58cad5=_0x5056d7[_0x217254(0x111)](_0x4a7039[_0x217254(0x135)][0x0]);for(let _0x4c30d6=_0x425a53[_0x217254(0x18a)]-0x1;_0x4c30d6>=0x0;_0x4c30d6--){const _0x2a66d8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x425a53[_0x4c30d6][_0x217254(0x2a8)],..._0x425a53[_0x4c30d6]['undoState']}},_0x17f167={'id':_0x217254(0x127),'params':{'unitId':_0x425a53[_0x4c30d6]['unitId'],..._0x425a53[_0x4c30d6][_0x217254(0x2be)]}},_0x52825c=this[_0x217254(0x219)]['transformMutation'](_0x3d7cc5,_0x2a66d8,!0x1),_0x8b62d4=this[_0x217254(0x219)][_0x217254(0x283)](_0x58cad5,_0x17f167,!0x1);if(_0xc0c83d(_0x52825c))throw _0x52825c['error'];if(_0xc0c83d(_0x8b62d4))throw _0x8b62d4[_0x217254(0x26b)];_0x380330[_0x217254(0xfc)]({..._0x425a53[_0x4c30d6],'undoState':_0x52825c[_0x217254(0x1e4)][_0x217254(0x286)],'redoState':_0x8b62d4[_0x217254(0x1e4)][_0x217254(0x286)]}),_0x3d7cc5=_0x52825c[_0x217254(0x213)],_0x58cad5=_0x8b62d4[_0x217254(0x213)];}this[_0x217254(0x1a0)][_0x217254(0x253)](_0x18ec1a,{'history':_0x1101de,'collaboration':_0x380330});}};oe=nn([Ee(0x0,_0x1a3b2a(_0x4fa6a4)),Ee(0x1,_0x1f39b3),Ee(0x2,_0x1a3b2a(_0xc2758c))],oe);var rn=Object[_0x8d5cf8(0x23f)],on=(_0x2c4433,_0x43d49d,_0x171509,_0x5005f9)=>{const _0x1337ad=_0x8d5cf8;for(var _0x21fccf=_0x5005f9>0x1?void 0x0:_0x5005f9?rn(_0x43d49d,_0x171509):_0x43d49d,_0x3a6fa0=_0x2c4433[_0x1337ad(0x18a)]-0x1,_0x4d871b;_0x3a6fa0>=0x0;_0x3a6fa0--)(_0x4d871b=_0x2c4433[_0x3a6fa0])&&(_0x21fccf=_0x4d871b(_0x21fccf)||_0x21fccf);return _0x21fccf;},st=(_0x4de6d2,_0x250b52)=>(_0x360389,_0x3fcb26)=>_0x250b52(_0x360389,_0x3fcb26,_0x4de6d2);let ae=class{constructor(_0x416c5d,_0x30158a){const _0x4ede0b=_0x8d5cf8;this['_injector']=_0x416c5d,this[_0x4ede0b(0x219)]=_0x30158a;}[_0x8d5cf8(0x2b0)](_0x4b4851){const _0x31c6bc=_0x8d5cf8;var _0x5aed86;const _0x4936c9=this['_injector'][_0x31c6bc(0x1d0)](_0x23c6c6),_0x2c0638=(_0x5aed86=_0x4936c9['getDocRanges']())!=null?_0x5aed86:[];if(_0x2c0638['length']===0x0)return;const _0x2c1568=_0x4b4851[_0x31c6bc(0x18f)],_0x7b31b5=[{'id':_0x31c6bc(0x127),'params':{'unitId':_0x2c1568,'actions':null,'textRanges':_0x2c0638}}],_0x31b4cf=this[_0x31c6bc(0x219)]['transformMutationsWithChangeset'](_0x4b4851,_0x7b31b5);if(!_0x29221a(_0x31b4cf))throw _0x31b4cf[_0x31c6bc(0x26b)];const _0x209f84=_0x31b4cf[_0x31c6bc(0x1e4)][0x0][_0x31c6bc(0x286)][_0x31c6bc(0x119)];Array[_0x31c6bc(0xe7)](_0x209f84)&&_0x209f84[_0x31c6bc(0x18a)]&&_0x4936c9[_0x31c6bc(0x206)](_0x209f84,{'unitId':_0x2c1568,'subUnitId':_0x2c1568},!0x1);}};ae=on([st(0x0,_0x1a3b2a(_0x4fa6a4)),st(0x1,_0x1f39b3)],ae);var an=Object[_0x8d5cf8(0x23f)],cn=(_0x5b2e18,_0x5345ea,_0x4bcb4d,_0x30b1f2)=>{const _0x571530=_0x8d5cf8;for(var _0x34c57b=_0x30b1f2>0x1?void 0x0:_0x30b1f2?an(_0x5345ea,_0x4bcb4d):_0x5345ea,_0x2b2ba9=_0x5b2e18[_0x571530(0x18a)]-0x1,_0x546b07;_0x2b2ba9>=0x0;_0x2b2ba9--)(_0x546b07=_0x5b2e18[_0x2b2ba9])&&(_0x34c57b=_0x546b07(_0x34c57b)||_0x34c57b);return _0x34c57b;},U=(_0x1619b9,_0x384811)=>(_0xcfab36,_0x4d94b0)=>_0x384811(_0xcfab36,_0x4d94b0,_0x1619b9);let ce=class extends _0x32e48f{constructor(_0x3a64c2,_0x4b5703,_0x26f655,_0x564129,_0x4913a9,_0x1f6996,_0x25a9a9,_0x40efdd){const _0xe5bf54=_0x8d5cf8;super(),_(this,_0xe5bf54(0x1ad),new _0xed8a6e(_0xbfaff5[_0xe5bf54(0x2e1)])),(this[_0xe5bf54(0x1a0)]=_0x3a64c2,this[_0xe5bf54(0x1c9)]=_0x4b5703,this['_docTransformIMECacheService']=_0x26f655,this['_docTransformStateCacheService']=_0x564129,this[_0xe5bf54(0x25d)]=_0x4913a9,this['_docSyncEditingCollabCursorService']=_0x1f6996,this[_0xe5bf54(0x281)]=_0x25a9a9,this[_0xe5bf54(0x277)]=_0x40efdd,this[_0xe5bf54(0x1bc)]());}[_0x8d5cf8(0x1bc)](){const _0x3f50de=_0x8d5cf8;this[_0x3f50de(0x11e)](this[_0x3f50de(0x1c9)]['entityInit$'][_0x3f50de(0x1fe)](_0x12dd37=>{const _0x395761=_0x3f50de,_0x20948b=this[_0x395761(0x1a0)]['docStateChange$'][_0x395761(0x1fe)](_0x4f2a8b=>{const _0x203866=_0x395761;if(_0x4f2a8b==null)return;const {unitId:_0x167906,redoState:_0x3ae8c8,commandId:_0x181737}=_0x4f2a8b;if(_0x167906!==_0x12dd37[_0x203866(0x18f)])return;const _0x4d1cc5={'id':_0x181737,'type':_0x18088c[_0x203866(0x145)],'params':{'unitId':_0x167906,'actions':_0x3ae8c8[_0x203866(0x29a)],'textRanges':null}};_0x12dd37['onLocalMutation'](_0x4d1cc5);});if(_0x12dd37['disposeWithMe'](_0x20948b),_0x12dd37 instanceof _0x67c9bf){const _0x16230b={'onTransformIME':_0x1dc276=>this[_0x395761(0x2d2)][_0x395761(0x136)](_0x1dc276),'onTransformState':_0x495735=>this[_0x395761(0x174)][_0x395761(0x169)](_0x495735),'onTransformSelections':_0x2e1d47=>this[_0x395761(0x25d)]['transformSelections'](_0x2e1d47),'onSyncEditingCollabCursor':_0x2de4c8=>this[_0x395761(0x204)][_0x395761(0x29f)](_0x2de4c8),'onTransformRemoteChangesetByIMECache':_0x317fd8=>this[_0x395761(0x2d2)][_0x395761(0x2cd)](_0x317fd8),'onTransformRemoteChangesetByStateCache':_0x5a69fb=>this[_0x395761(0x174)]['transformRemoteChangeset'](_0x5a69fb)};_0x12dd37[_0x395761(0x2a7)](_0x16230b);}}));}};ce=cn([U(0x0,_0x1a3b2a(_0xc2758c)),U(0x1,_0x1a3b2a(_0x3c6559)),U(0x2,_0x1a3b2a(re)),U(0x3,_0x1a3b2a(oe)),U(0x4,_0x1a3b2a(ae)),U(0x5,_0x1a3b2a(Fe)),U(0x6,_0x4fe881),U(0x7,_0x1a3b2a(_0x12013b))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x5b1a5b,_0x7b8410,_0x2762e7,_0x365c78)=>{const _0x2a8bcb=_0x8d5cf8;for(var _0x2fb0b0=_0x365c78>0x1?void 0x0:_0x365c78?ln(_0x7b8410,_0x2762e7):_0x7b8410,_0xe8cdd6=_0x5b1a5b[_0x2a8bcb(0x18a)]-0x1,_0x1e6b98;_0xe8cdd6>=0x0;_0xe8cdd6--)(_0x1e6b98=_0x5b1a5b[_0xe8cdd6])&&(_0x2fb0b0=_0x1e6b98(_0x2fb0b0)||_0x2fb0b0);return _0x2fb0b0;},Oe=(_0x1f72b5,_0x23453c)=>(_0xc70bb1,_0x4ff676)=>_0x23453c(_0xc70bb1,_0x4ff676,_0x1f72b5);let Ae=class extends _0x32e48f{constructor(_0x152a51,_0x552332,_0x24778f){const _0x3c7b0b=_0x8d5cf8;super(),_(this,_0x3c7b0b(0x14c),new Map()),_(this,_0x3c7b0b(0x22e),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x152a51,this['_localStorageService']=_0x552332,this[_0x3c7b0b(0x26c)]=_0x24778f);}[_0x8d5cf8(0x229)](){const _0x7aad62=_0x8d5cf8;this[_0x7aad62(0x288)]=!0x0;}[_0x8d5cf8(0xe3)](){const _0x3bba02=_0x8d5cf8;this[_0x3bba02(0x288)]=!0x1;}get[_0x8d5cf8(0x134)](){return this['_saveTaskMap'];}[_0x8d5cf8(0x22d)](){const _0x177f29=_0x8d5cf8;this[_0x177f29(0x260)]()[_0x177f29(0x16d)](()=>super['dispose']());}async[_0x8d5cf8(0x15a)](_0x3d1980){const _0x4fd5e4=_0x8d5cf8;return this[_0x4fd5e4(0x288)]?null:this['_localStorageService'][_0x4fd5e4(0x215)](_0x200d8a(_0x3d1980));}async['saveOfflineData'](_0x1d6639,_0x4aec6f){const _0x575a93=_0x8d5cf8;return!!this[_0x575a93(0x2b7)][_0x575a93(0x1d6)](_0x1d6639,_0x4aec6f);}['updateOfflineData'](_0x374eff,_0x4ee14c,_0xebe9e5,_0x19ef97){const _0x484c57=_0x8d5cf8,_0x21c036=this[_0x484c57(0x26c)][_0x484c57(0x199)](_0x374eff);this['_cachedData'][_0x484c57(0xfe)](_0x374eff,{'unitID':_0x374eff,'type':_0x4ee14c,'awaitingChangeset':_0xebe9e5,'mutations':_0x19ef97,'rev':_0x21c036}),this[_0x484c57(0x22e)][_0x484c57(0x1d1)](_0x374eff)||this[_0x484c57(0x2c1)](_0x374eff);}[_0x8d5cf8(0x2c1)](_0x4abdd1){const _0x2d80e4=_0x8d5cf8,_0x29c059=this[_0x2d80e4(0x1da)]();_0x29c059===0x0?this[_0x2d80e4(0x14f)](_0x4abdd1):this[_0x2d80e4(0x22e)]['set'](_0x4abdd1,setTimeout(()=>this['_saveCache'](_0x4abdd1),_0x29c059));}[_0x8d5cf8(0x1da)](){const _0x16e882=_0x8d5cf8;var _0x3acb7f;return(_0x3acb7f=this[_0x16e882(0x1a4)][_0x16e882(0x1b5)](_0x240bb3))!=null?_0x3acb7f:_0x1a33e5;}[_0x8d5cf8(0x14f)](_0x110518){const _0x5e20cd=_0x8d5cf8,_0x12c5b1=this[_0x5e20cd(0x22e)][_0x5e20cd(0x1d0)](_0x110518);return _0x12c5b1!==void 0x0&&window[_0x5e20cd(0x28a)](_0x12c5b1),this[_0x5e20cd(0x2b7)][_0x5e20cd(0x1d6)](_0x200d8a(_0x110518),this['_cachedData'][_0x5e20cd(0x1d0)](_0x110518))['then'](()=>this['_saveTaskMap']['delete'](_0x110518));}async['exhaustSavingTask'](){const _0x38f91e=_0x8d5cf8,_0x5afae8=[];this[_0x38f91e(0x22e)]['forEach']((_0x5cf65d,_0x25d267)=>{const _0x17651c=_0x38f91e;window[_0x17651c(0x28a)](_0x5cf65d),_0x5afae8[_0x17651c(0x2cc)](this[_0x17651c(0x14f)](_0x25d267)['then'](()=>{const _0x56a708=_0x17651c;this[_0x56a708(0x22e)]['delete'](_0x25d267);}));}),await Promise['all'](_0x5afae8);}};Ae=_n([Oe(0x0,_0xe1599c),Oe(0x1,_0x5af182),Oe(0x2,_0x1a3b2a(_0x2809e3))],Ae);class hn extends _0x3c867d{constructor(){const _0xd6ecd5=_0x8d5cf8;super(),_(this,_0xd6ecd5(0x12b)),this[_0xd6ecd5(0x12b)]=_0x517a35(window,_0xd6ecd5(0x19b))[_0xd6ecd5(0x141)](_0x1316d6(this['dispose$']),_0x18cde6(0x1),_0x9e94d0(void 0x0));}['setParam'](_0x49228e,_0x59fdd6,_0xc2b993=!0x1){const _0x4c4498=_0x8d5cf8,_0x224fa4=new URL(window[_0x4c4498(0x1b9)][_0x4c4498(0x154)]);_0x224fa4[_0x4c4498(0x29d)]['set'](_0x49228e,_0x59fdd6),_0xc2b993?window[_0x4c4498(0x100)][_0x4c4498(0x2e5)]('','',_0x224fa4[_0x4c4498(0x2c5)]()):window[_0x4c4498(0x100)][_0x4c4498(0x233)]('','',_0x224fa4[_0x4c4498(0x2c5)]());}[_0x8d5cf8(0x181)](_0x8e15a8,_0x2dd2db=!0x1){const _0x19306f=_0x8d5cf8,_0x539539=new URL(window[_0x19306f(0x1b9)][_0x19306f(0x154)]);_0x539539['searchParams']['delete'](_0x8e15a8),_0x2dd2db?window[_0x19306f(0x100)]['replaceState']('','',_0x539539['toString']()):window[_0x19306f(0x100)]['pushState']('','',_0x539539[_0x19306f(0x2c5)]());}[_0x8d5cf8(0xff)](_0x22cc8a){const _0xc4eb70=_0x8d5cf8;var _0x488fde;return(_0x488fde=new URL(window[_0xc4eb70(0x1b9)]['href'])[_0xc4eb70(0x29d)][_0xc4eb70(0x1d0)](_0x22cc8a))!=null?_0x488fde:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x8d5cf8(0x23f)],fn=(_0x5bbaa5,_0x41ed03,_0x347bbe)=>_0x41ed03 in _0x5bbaa5?un(_0x5bbaa5,_0x41ed03,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x347bbe}):_0x5bbaa5[_0x41ed03]=_0x347bbe,Sn=(_0x5f4d0e,_0x8fda9b,_0x1217e0,_0x19d6a1)=>{const _0x326fcd=_0x8d5cf8;for(var _0x320972=_0x19d6a1>0x1?void 0x0:_0x19d6a1?dn(_0x8fda9b,_0x1217e0):_0x8fda9b,_0x11ac7=_0x5f4d0e[_0x326fcd(0x18a)]-0x1,_0x25457c;_0x11ac7>=0x0;_0x11ac7--)(_0x25457c=_0x5f4d0e[_0x11ac7])&&(_0x320972=_0x25457c(_0x320972)||_0x320972);return _0x320972;},be=(_0x53027f,_0x334c76)=>(_0x2c4710,_0x4ea046)=>_0x334c76(_0x2c4710,_0x4ea046,_0x53027f),mn=(_0x57f1ee,_0x420ec6,_0x1656df)=>fn(_0x57f1ee,_0x420ec6+'',_0x1656df);const In=_0x8d5cf8(0x292);let ye=class extends _0x298542{constructor(_0x37b55b=tt,_0x25598b,_0x477521,_0x4564b5){const _0x837f13=_0x8d5cf8;super(),this['_config']=_0x37b55b,this[_0x837f13(0x107)]=_0x25598b,this['_injector']=_0x477521,this['_configService']=_0x4564b5;const {..._0x2b4284}=_0x410ec3({},tt,this[_0x837f13(0x227)]);this[_0x837f13(0x1a4)][_0x837f13(0x24c)](Zi,_0x2b4284);}[_0x8d5cf8(0x19e)](){const _0xe484d4=_0x8d5cf8;this[_0xe484d4(0x16f)](),this[_0xe484d4(0x27b)]();}[_0x8d5cf8(0x2ba)](){const _0x36245b=_0x8d5cf8;this[_0x36245b(0x2e0)]();}['_registerDependencies'](){const _0x485f51=_0x8d5cf8;var _0x5719a8;const _0x258264=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x5c790c,{'useClass':_0x7fdf5b}],[_0x483b5d,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x308788(this[_0x485f51(0x21b)],_0x122e9c(_0x258264,(_0x5719a8=this[_0x485f51(0x227)])==null?void 0x0:_0x5719a8[_0x485f51(0x1a9)]));}[_0x8d5cf8(0x2e0)](){const _0x349232=_0x8d5cf8;this[_0x349232(0x11e)](this['_renderManagerService']['registerRenderModule'](_0x536f1d[_0x349232(0x184)],[Pe])),this[_0x349232(0x11e)](this['_renderManagerService']['registerRenderModule'](_0x536f1d[_0x349232(0x241)],[we]));}['_initDependencies'](){_0x4c4c3f(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0x12c1b8(_0x12af4b),be(0x1,_0x188bfb),be(0x2,_0x1a3b2a(_0x4fa6a4)),be(0x3,_0xe1599c)],ye);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x1d8f78,_0x2c33e0,_0x4b9a81,_0x448dea)=>{const _0x2ca18e=_0x8d5cf8;for(var _0x22636b=_0x448dea>0x1?void 0x0:_0x448dea?vn(_0x2c33e0,_0x4b9a81):_0x2c33e0,_0x9fd4be=_0x1d8f78[_0x2ca18e(0x18a)]-0x1,_0x5e93e3;_0x9fd4be>=0x0;_0x9fd4be--)(_0x5e93e3=_0x1d8f78[_0x9fd4be])&&(_0x22636b=_0x5e93e3(_0x22636b)||_0x22636b);return _0x22636b;},z=(_0x11f609,_0x5976df)=>(_0xd77ca9,_0x3285d4)=>_0x5976df(_0xd77ca9,_0x3285d4,_0x11f609);let it=class extends _0x5a249f{constructor(_0x5f4611,_0x19dd46,_0x24261e,_0x33f2a6,_0x246ab7){super(_0x5f4611,_0x19dd46,_0x24261e,_0x33f2a6,_0x246ab7);}async[_0x8d5cf8(0x146)](_0x4233aa){const _0x25a710=_0x8d5cf8,_0x1a948d=await this['_getSessionTicket'](),_0x1a0104=this[_0x25a710(0x1dd)](_0x4233aa,_0x1a948d);return this[_0x25a710(0x28d)](_0x1a0104);}[_0x8d5cf8(0x1dd)](_0x50ed66,_0x2ffd56){const _0x4c3e49=_0x8d5cf8,_0x1f4fc4=typeof window>'u'?new URL(_0x50ed66):new URL(_0x50ed66,window[_0x4c3e49(0x1b9)][_0x4c3e49(0x1f4)]);_0x1f4fc4[_0x4c3e49(0x29d)][_0x4c3e49(0xfe)]('sessionTicket',_0x2ffd56);const _0x1c2c0e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c3e49(0x1b9)]['search']);return _0x1c2c0e['get'](_0x4c3e49(0xef))&&_0x1f4fc4[_0x4c3e49(0x29d)]['set'](_0x4c3e49(0xef),_0x1c2c0e['get'](_0x4c3e49(0xef))),_0x1f4fc4[_0x4c3e49(0x2c5)]();}async[_0x8d5cf8(0x236)](){const _0x3fd55b=_0x8d5cf8;var _0xf6e13b,_0x469adb,_0x1185f3;const _0x17ee69=this[_0x3fd55b(0x1a4)]['getConfig'](_0x1e777a),_0x3a5a7a=(_0xf6e13b=_0x17ee69==null?void 0x0:_0x17ee69['wsSessionTicketUrl'])!=null?_0xf6e13b:_0xb67a36;return(_0x1185f3=(_0x469adb=(await this[_0x3fd55b(0x178)]['get'](_0x3a5a7a,{'headers':{'Content-Type':_0x3fd55b(0x28b)}}))[_0x3fd55b(0x2c9)])==null?void 0x0:_0x469adb[_0x3fd55b(0x237)])!=null?_0x1185f3:'';}};it=gn([z(0x0,_0x1a3b2a(_0x4fa6a4)),z(0x1,_0x1a3b2a(_0x32f590)),z(0x2,_0xe1599c),z(0x3,_0x30d796),z(0x4,_0x20a96e)],it);function _0x1839(){const _0x5376bc=['transformStateCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertColCommandId','InsertRangeMoveRightCommandId','then','editingUnit','_registerDependencies','unsubscribe','hide','with','96378esWAqG','_docTransformStateCacheService','getDocRanges','_unitStatus','ONLINE','_httpService','_getScale','extend','flatMap','reconnect','getTypeOfUnitAdded$','NO_OTHER_CLIENTS_EDITING','136icssns','skeleton','removeParam','selection','column','UNIVER_DOC','_assignedColors','onTransformChange$','UNRECOGNIZED','getOwnPropertySymbols','assignAColorForMemberID','length','className','rgba(255,\x20255,\x20255,\x200.01)','UNDEFINED','permission.title','unitID','_hovered','onPointerLeave$','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','from','[CollaborationDataLoaderController]','SUBMIT_CHANGESET_TIMEOUT','session.connection-failed','transformMutationsWithChangeset','getCurrentRevOfUnit','collabCursorState$','popstate','...','icon','onStarting','getActiveRange','_docStateChangeManagerService','OTHER_CLIENTS_EDITING','defineProperty','subscribeEvent','_configService','lineTo','subUnitId','_unitOnClients','min','override','roomMembers$','post','concat','_status$','evenodd','size','startsWith','_backgroundColor','collaboration-client.offline-data-not-saved','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setTimeout','getConfig','YUUMI_UNABLE_LOAD_URL','_shapes','getSheetId','location','clearInterval','HEADER_MENU','_initEntityListener','imageSourceType','green.600','purple.300','onCommandExecuted','registerBeforeClose','permission.content','EMAIL_VERIFY_CODE_MISMATCH','_colorIndex','APPLY_DUPLICATED','UPDATE_CURSOR','_onCursorDelete','setParam','_collaborationController','_collabSessionService','engine','addObject','WECHAT_HAS_BEEN_BOUND','beginPath','some','get','has','result','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','setItem','collab-rect-range-','VIEW_MAIN','add','_getSaveTimeout','div','_setupBeforeClosingHandler','_createSocketURL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SOCKET_FAILED','_drawTextRange','makeDirty','selections','fillRule','m2Prime','MoveRangeCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','getCurrentUnitForType','APPLY_PERMISSION_DENIED','colorChannel1','_anchorDot','attrs','getSheetBySheetId','_toggleOnline','_transformUndoRedoStack','call','_transformPreviousActiveRange','sheetID','_syncEditingCollabCursorService','event$','origin','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','155rgZIqb','_updateCollabCursors','onPointerEnter$','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','APPLY_REJECT','512874HOHobl','key','subscribe','INVITE_CODE_REQUIRED','getCollabCursors$','_handleLeaveEvent','_handleEvent','getRenderById','_docSyncEditingCollabCursorService','setShapeProps','replaceDocRanges','_collabCursorState$','_entityInit$','sheetId','_entities','cursorInfo$','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assign','_render','LICENSE_IMPORT_SIZE_EXCEEDED','labelPosition','_notificationService','m1Prime','_updateURLWithCurrentState','getItem','hasOwnProperty','url(#$1','_commandService','_transformService','UNAUTHENTICATED','_injector','jiqing.500','_eventUnsubscribe','_labelPosition','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OnLineIcon','_initStatusComponent','save','defs','_updateSubUnitFromURLParams','UniverIcon','_initCommandExecutedListener','_config','status$','disableLocalCache','_uiPartsService','debug','roomMembers','dispose','_saveTaskMap','_color','toRgbString','getUnitStatus$','fill','pushState','ENSURE_SNAPSHOT_EXECUTION','newValue','_getSessionTicket','ticket','1125qBPDFI','_session','_document','_urlService','parse','TOO_MANY_REQUESTS','_cursorShapes','getOwnPropertyDescriptor','NOT_FOUND','UNIVER_SHEET','YUUMI_AI_RUN_FAILED','endRow','_scene','prototype','map','fillStyle','getUnitId','_drawAnchor','arc','addClipboardHook','setConfig','_themeService','svg','defIds','Error','_transformHistoryAndStateStack','getCurrent','setStateCache','_cursor','LOGIN_FAILED','_removeClearOtherTimer','split','JOIN_ROOM_FAILED','send','_hideTimer','children','apply','_docTransformSelectionsService','whenReady','symbol','exhaustSavingTask','_lastPointer','idSuffix','_draw','USERS_LEAVE','includes','COMPLETION_FINISHED','_roomMembers$','getOffsetConfig','getUniverSheetInstance','collaboration-client-ui.config','error','_revisionService','endColumn','140312rETDQw','getValue','forEach','YUUMI_ALL_TABLES_IS_INVALID','_handleHover','getCurrentSelections','0\x200\x2017\x2016','getActiveSheet','disposeUnit','_localeService','1em','_startSheetCollabCursor','_clearOtherTimers','_initDependencies','M0\x200H16V16H0z','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusListener','propertyIsEnumerable','_scheduleClearOtherTimer','_messageService','translate(.97)','transformMutation','_range','invokeId','params','_cursors','_disabled','memberID','clearTimeout','application/json','moveTo','_doCreateSocket','path','getColorFromTheme','top','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SOCKET_FAILED_RETRY','RemoveRowCommandId','addEventListener','storage','4353gfahhp','none','_docSkeletonManagerService','actions','session.will-retry','color','searchParams','bottom','syncEditingCollabCursor','#FFF','OFFLINE','session.collaboration-timeout','transformByState','TEXT','getVpScrollXYInfoByPosToVp','_online','addHandlerCallback','unitId','_context','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','YUUMI_NO_CUBOID_FOR_QUESTION','findNodePositionByCharIndex','_updateLocalCursor','3532YLIbwg','setAlpha','transformSelections','off-line-icon_clip0_910_343','MOBILE_VERIFY_CODE_MISMATCH','_heartbeatTimer','saveImage','ranges','PY_RUNTIME_SCRIPT_ERROR','_localStorageService','_textBubble','_cursorInfo$','onRendered','univer-mr-2\x20univer-flex\x20univer-text-xl','currentSkeleton$','Failed','redoState','getMergeData','SNAPSHOT_INVALID_SNAPSHOT','_scheduleSaving','drawWith','width','uni.network.url-service','toString','subunit','collabStatus.notCollab','_beforeCloseService','body','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ASYNCIO_CANCELLED','push','transformRemoteChangeset','_getAnchorBounding','tag','red.300','LICENSE_MAX_UNITS_EXCEEDED','_docTransformIMECacheService','_handleHeartbeatEvent','font','isActive','entries','InsertRangeMoveDownCommandId','measureText','175MnLABY','_name','PERMISSION_DENIED','startRow','/run/','url(#off-line-icon_clip0_910_343)','_getSheetObject','_registerRenderDependencies','NOT_COLLAB','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','replaceState','next','_onRefRangeChange','_getMergeRange','CHANGESET_REVISION_CONFILICT','_startDocCollabCursor','init','enableLocalCache','height','runOnServer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isArray','INVITE_CODE_ALREADY_BOUND','INTERNAL_ERROR','requireSession','clipPath','eventID','getRelativeToViewportCoord','_initEvent','runId','_handleJoinEvent','complete','getMemberID','closePath','25260GvPWuw','Warning','dispose$','_selfUnitIDs','currentColor','_sheetSkeletonManagerService','substring','_drawRectRange','unshift','registerComponent','set','getParam','history','backgroundColor','Unknown\x20user','mask','_ensureSubject','xlink:href','getMember','_renderManagerService','AWAITING','INVITE_CODE_HAS_BEEN_UES','executeCommand','text','resize','getFocusedUnit','string','fillText','_collaborationUIEventService','deepClone','_refreshCollabCursors','getUndoRedoMutationParamsCache','triggerDblclick','show','_docClipboardService','max','restore','textRanges','LICENSE_DISTRO_REJECTED','displayName','INVALID_ARGUMENT','_memberService','disposeWithMe','DeleteRangeMoveUpCommandId','source','executionId','type','_hover','activeSheet$','name','_logService','doc.mutation.rich-text-editing','_localCacheService','_scheduleHeartbeat','getViewport','urlChange$','transform','sessionStatus$','_refRangeService','_id','_dataLoaderService','_anchor','onMouseMove','SNAPSHOT_HAS_BEEN_REMOVED','saveTaskMap','mutations','transformIMECache','_onCursorUpdate','round','APPLY_REVISION_CONFILICT','current','stringify','http://www.w3.org/2000/svg','_collabCursorController','_univerInstanceService','_toggleOffline','_initResize','pipe','_setupSubUnitSync','RemoveColCommandId','_docSkeleton','MUTATION','createSocket','unit','unload','APPLY_NON_SEQUENTIAL_REVISION','_send','delete','_cachedData','loadUnit','collabStatus.syncing','_saveCache','indexOf','getStateCache','data','EMAIL_HAS_BEEN_BOUND','href','undoState','replace','getRangePointData','currentTheme$','collabStatus.synced','loadOfflineData','createInstance','collaboration.closeRoom','values','7179667iCjoxS','ACTIVE_UNIT_EVENT_CHANNEL','_instanceService','black','_removeCollabCursors','cursorInfo','FromArray','contains','on-line-icon_clip0_910_349','off-line-icon','_colorAssignService'];_0x1839=function(){return _0x5376bc;};return _0x1839();}const nt=0x7530,rt=_0x8d5cf8(0x15f);class Fn extends _0x32e48f{constructor(){const _0x109946=_0x8d5cf8;super(),_(this,_0x109946(0x12f),_0x329535()),_(this,_0x109946(0xf7),new Set()),_(this,_0x109946(0x1a7),new Map()),_(this,_0x109946(0x2b3),null),_(this,_0x109946(0x27a),new Map()),_(this,_0x109946(0x176),new Map()),this[_0x109946(0x2e4)]();}[_0x8d5cf8(0x22d)](){const _0x1a97b1=_0x8d5cf8;super['dispose'](),this['_clearOtherTimers'][_0x1a97b1(0x270)]((_0x2c7a17,_0x1b76b3)=>this[_0x1a97b1(0x256)](_0x1b76b3)),this[_0x1a97b1(0x2b3)]&&window[_0x1a97b1(0x1ba)](this[_0x1a97b1(0x2b3)]);}[_0x8d5cf8(0x231)](_0x5d027c){const _0x28805e=_0x8d5cf8;return this[_0x28805e(0x104)](_0x5d027c)[_0x28805e(0x141)](_0xf7c20f());}[_0x8d5cf8(0x16e)](_0xb6c54d){const _0x31ec23=_0x8d5cf8;this[_0x31ec23(0xf7)][_0x31ec23(0x1af)]===0x0&&this['_scheduleHeartbeat'](),this[_0x31ec23(0xf7)][_0x31ec23(0x1d9)](_0xb6c54d),this['_send']({'type':0x0,'memberID':this[_0x31ec23(0x12f)],'unitIDs':[_0xb6c54d],'isForwarded':!0x1});}[_0x8d5cf8(0x276)](_0x25a912){const _0x4da3d5=_0x8d5cf8;this[_0x4da3d5(0xf7)][_0x4da3d5(0x14b)](_0x25a912),this[_0x4da3d5(0xf7)][_0x4da3d5(0x1af)]===0x0&&this[_0x4da3d5(0x2b3)]&&window[_0x4da3d5(0x1ba)](this['_heartbeatTimer']);}[_0x8d5cf8(0x2e4)](){const _0x292516=_0x8d5cf8;this[_0x292516(0x11e)](_0x192f45(_0x517a35(window,_0x292516(0x296))['subscribe'](_0x2afb60=>{const _0x286ee5=_0x292516;if(_0x2afb60[_0x286ee5(0x1fd)]!==rt||!_0x2afb60[_0x286ee5(0x235)])return;const _0x2f7b06=JSON[_0x286ee5(0x23c)](_0x2afb60[_0x286ee5(0x235)]);this[_0x286ee5(0x202)](_0x2f7b06);}))),window[_0x292516(0x295)](_0x292516(0x148),()=>this[_0x292516(0x14a)]({'type':0x1,'memberID':this[_0x292516(0x12f)],'unitIDs':Array[_0x292516(0x194)](this[_0x292516(0xf7)])}));}['_handleEvent'](_0x769294){const _0x7c8f57=_0x8d5cf8;switch(_0x769294['type']){case 0x0:this[_0x7c8f57(0xf0)](_0x769294);break;case 0x1:this['_handleLeaveEvent'](_0x769294);break;case 0x2:this[_0x7c8f57(0x2d3)](_0x769294);break;}}[_0x8d5cf8(0xf0)](_0x4e4219){const _0x53e697=_0x8d5cf8,{unitIDs:_0xab2f00,memberID:_0x30f4a1,isForwarded:_0x3c5315}=_0x4e4219;_0xab2f00[_0x53e697(0x270)](_0x3339fb=>{const _0x1d3ca6=_0x53e697;if(!_0x3c5315&&this[_0x1d3ca6(0x1a7)][_0x1d3ca6(0x1d1)](_0x3339fb)&&this['_ensureSubject'](_0x3339fb)[_0x1d3ca6(0x2e6)](_0x48b077[_0x1d3ca6(0x1a1)]),!this[_0x1d3ca6(0x1a7)]['has'](_0x3339fb)||!this[_0x1d3ca6(0x1a7)]['get'](_0x3339fb)[_0x1d3ca6(0x1d1)](_0x30f4a1)){const _0x763d40=this[_0x1d3ca6(0x1a7)][_0x1d3ca6(0x1d0)](_0x3339fb)||new Set();_0x763d40[_0x1d3ca6(0x1d9)](_0x30f4a1),this['_unitOnClients'][_0x1d3ca6(0xfe)](_0x3339fb,_0x763d40),this[_0x1d3ca6(0x280)](_0x30f4a1);}}),_0x3c5315||this[_0x53e697(0x14a)]({'type':0x0,'memberID':this[_0x53e697(0x12f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x33df24){const _0x170268=_0x8d5cf8;this[_0x170268(0x256)](_0x33df24);const _0x475159=window[_0x170268(0x1b4)](()=>{const _0x2c9bd3=_0x170268;this['_unitOnClients'][_0x2c9bd3(0x270)](_0x1878e3=>{_0x1878e3['delete'](_0x33df24);});},nt*0x2);this[_0x170268(0x27a)][_0x170268(0xfe)](_0x33df24,_0x475159);}[_0x8d5cf8(0x256)](_0x4b0599){const _0x451b75=_0x8d5cf8;if(this[_0x451b75(0x27a)][_0x451b75(0x1d1)](_0x4b0599)){const _0x582b87=this[_0x451b75(0x27a)][_0x451b75(0x1d0)](_0x4b0599);_0x582b87&&window[_0x451b75(0x28a)](_0x582b87),this['_clearOtherTimers']['set'](_0x4b0599,null);}}[_0x8d5cf8(0x201)](_0x5dedd6){const _0x20ebc3=_0x8d5cf8,{memberID:_0x484985,unitIDs:_0x3bfd4b}=_0x5dedd6;_0x3bfd4b['forEach'](_0x181ac6=>{const _0x5b054d=_0x42a6;var _0x542357;const _0xb6380a=this['_unitOnClients']['get'](_0x181ac6);_0xb6380a&&(_0xb6380a[_0x5b054d(0x14b)](_0x484985),(_0x542357=this[_0x5b054d(0x104)](_0x181ac6))==null||_0x542357[_0x5b054d(0x2e6)](_0xb6380a[_0x5b054d(0x1af)]===0x0?_0x48b077[_0x5b054d(0x17e)]:_0x48b077[_0x5b054d(0x1a1)]));}),this[_0x20ebc3(0x256)](_0x484985);}['_handleHeartbeatEvent'](_0x34ab3f){const _0x4afb0b=_0x8d5cf8;this[_0x4afb0b(0x280)](_0x34ab3f[_0x4afb0b(0x289)]);}[_0x8d5cf8(0x14a)](_0x203106){const _0x472021=_0x8d5cf8;localStorage[_0x472021(0x1d6)](rt,JSON[_0x472021(0x13b)](_0x203106));}[_0x8d5cf8(0x129)](){const _0x4930ca=_0x8d5cf8;this[_0x4930ca(0x2b3)]=window['setInterval'](()=>{const _0x37aa05=_0x4930ca;this[_0x37aa05(0x14a)]({'type':0x2,'memberID':this[_0x37aa05(0x12f)]});},nt);}[_0x8d5cf8(0x104)](_0x327ab7){const _0x2a43e8=_0x8d5cf8;return this[_0x2a43e8(0x176)][_0x2a43e8(0x1d1)](_0x327ab7)||this[_0x2a43e8(0x176)]['set'](_0x327ab7,new _0xed8a6e(_0x48b077[_0x2a43e8(0x17e)])),this[_0x2a43e8(0x176)][_0x2a43e8(0x1d0)](_0x327ab7);}}var Lt=(_0x502a05=>(_0x502a05[_0x502a05[_0x8d5cf8(0x18d)]=0x0]='UNDEFINED',_0x502a05[_0x502a05['OK']=0x1]='OK',_0x502a05[_0x502a05[_0x8d5cf8(0xe9)]=0x2]=_0x8d5cf8(0xe9),_0x502a05[_0x502a05[_0x8d5cf8(0x2db)]=0x3]='PERMISSION_DENIED',_0x502a05[_0x502a05[_0x8d5cf8(0x240)]=0x4]=_0x8d5cf8(0x240),_0x502a05[_0x502a05['UNAUTHENTICATED']=0x5]=_0x8d5cf8(0x21a),_0x502a05[_0x502a05[_0x8d5cf8(0x193)]=0x6]=_0x8d5cf8(0x193),_0x502a05[_0x502a05[_0x8d5cf8(0x11c)]=0x7]=_0x8d5cf8(0x11c),_0x502a05[_0x502a05[_0x8d5cf8(0x23d)]=0x8]=_0x8d5cf8(0x23d),_0x502a05[_0x502a05[_0x8d5cf8(0x266)]=0x9]='COMPLETION_FINISHED',_0x502a05[_0x502a05['LOGIN_FAILED']=0xa]=_0x8d5cf8(0x255),_0x502a05[_0x502a05[_0x8d5cf8(0x2b2)]=0xb]=_0x8d5cf8(0x2b2),_0x502a05[_0x502a05[_0x8d5cf8(0x1d3)]=0xc]=_0x8d5cf8(0x1d3),_0x502a05[_0x502a05[_0x8d5cf8(0x1c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x502a05[_0x502a05[_0x8d5cf8(0x2ca)]=0xe]=_0x8d5cf8(0x2ca),_0x502a05[_0x502a05[_0x8d5cf8(0xe0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x502a05[_0x502a05[_0x8d5cf8(0x2c0)]=0x1771]=_0x8d5cf8(0x2c0),_0x502a05[_0x502a05['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x8d5cf8(0x133),_0x502a05[_0x502a05[_0x8d5cf8(0x234)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x502a05[_0x502a05['APPLY_REJECT']=0x1b59]=_0x8d5cf8(0x1fb),_0x502a05[_0x502a05['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x8d5cf8(0x149),_0x502a05[_0x502a05[_0x8d5cf8(0x139)]=0x1b5b]=_0x8d5cf8(0x139),_0x502a05[_0x502a05[_0x8d5cf8(0x1e8)]=0x1b5c]=_0x8d5cf8(0x1e8),_0x502a05[_0x502a05[_0x8d5cf8(0x1c5)]=0x1b5d]=_0x8d5cf8(0x1c5),_0x502a05[_0x502a05['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x502a05[_0x502a05[_0x8d5cf8(0x2d1)]=0x2329]=_0x8d5cf8(0x2d1),_0x502a05[_0x502a05[_0x8d5cf8(0xe6)]=0x232a]=_0x8d5cf8(0xe6),_0x502a05[_0x502a05[_0x8d5cf8(0x210)]=0x232b]=_0x8d5cf8(0x210),_0x502a05[_0x502a05['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x502a05[_0x502a05[_0x8d5cf8(0x11a)]=0x232d]=_0x8d5cf8(0x11a),_0x502a05[_0x502a05[_0x8d5cf8(0x1b6)]=0x2711]=_0x8d5cf8(0x1b6),_0x502a05[_0x502a05[_0x8d5cf8(0x291)]=0x2712]=_0x8d5cf8(0x291),_0x502a05[_0x502a05[_0x8d5cf8(0x192)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x502a05[_0x502a05[_0x8d5cf8(0x2e3)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x502a05[_0x502a05[_0x8d5cf8(0x2ab)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x502a05[_0x502a05['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x8d5cf8(0x2cb),_0x502a05[_0x502a05[_0x8d5cf8(0x20d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x502a05[_0x502a05[_0x8d5cf8(0x271)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x502a05[_0x502a05[_0x8d5cf8(0x1de)]=0x271e]=_0x8d5cf8(0x1de),_0x502a05[_0x502a05[_0x8d5cf8(0x242)]=0x271f]=_0x8d5cf8(0x242),_0x502a05[_0x502a05[_0x8d5cf8(0x1e6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x502a05[_0x502a05[_0x8d5cf8(0x2b6)]=0x2af9]=_0x8d5cf8(0x2b6),_0x502a05[_0x502a05[_0x8d5cf8(0x109)]=0x2ee1]=_0x8d5cf8(0x109),_0x502a05[_0x502a05[_0x8d5cf8(0x1fa)]=0x2ee2]='INVALID_INVITE_CODE',_0x502a05[_0x502a05[_0x8d5cf8(0x1ff)]=0x2ee3]=_0x8d5cf8(0x1ff),_0x502a05[_0x502a05[_0x8d5cf8(0x20c)]=0x2ee4]=_0x8d5cf8(0x20c),_0x502a05[_0x502a05['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x8d5cf8(0xe8),_0x502a05[_0x502a05[_0x8d5cf8(0x1cd)]=0x32c9]=_0x8d5cf8(0x1cd),_0x502a05[_0x502a05[_0x8d5cf8(0x1d4)]=0x32ca]=_0x8d5cf8(0x1d4),_0x502a05[_0x502a05[_0x8d5cf8(0x153)]=0x32cb]=_0x8d5cf8(0x153),_0x502a05[_0x502a05[_0x8d5cf8(0x187)]=-0x1]=_0x8d5cf8(0x187),_0x502a05))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x1fe3da,_0x5cf389,_0x3cc903,_0x16ff0f)=>{const _0x4fa3c0=_0x8d5cf8;for(var _0x522765=_0x16ff0f>0x1?void 0x0:_0x16ff0f?pn(_0x5cf389,_0x3cc903):_0x5cf389,_0x52ba93=_0x1fe3da[_0x4fa3c0(0x18a)]-0x1,_0x114fc5;_0x52ba93>=0x0;_0x52ba93--)(_0x114fc5=_0x1fe3da[_0x52ba93])&&(_0x522765=_0x114fc5(_0x522765)||_0x522765);return _0x522765;},Te=(_0x111627,_0x4e9652)=>(_0x211941,_0x2f10a5)=>_0x4e9652(_0x211941,_0x2f10a5,_0x111627);let ot=class extends _0x32e48f{constructor(_0x400b9c,_0x4c26a0,_0x4251f2){const _0x5352c0=_0x8d5cf8;super(),this[_0x5352c0(0x160)]=_0x400b9c,this['_httpService']=_0x4c26a0,this[_0x5352c0(0x1a4)]=_0x4251f2;}async[_0x8d5cf8(0xe5)](_0x484e13,_0x390e32,_0x261ea6,..._0x2e30a8){const _0x254c3a=_0x8d5cf8;var _0xb3c9ca,_0x448d1f,_0x2209cd,_0x214080;const _0x14262e=this[_0x254c3a(0x160)][_0x254c3a(0x10d)]();if(!_0x14262e)throw new Error(_0x254c3a(0x21f));const _0x2b2e23=((_0xb3c9ca=this[_0x254c3a(0x1a4)][_0x254c3a(0x1b5)](_0x98b0f9))!=null?_0xb3c9ca:_0x8dad6a)+'/'+_0x484e13+_0x254c3a(0x2dd)+_0x390e32,_0x1b96db=new URL(window['location'][_0x254c3a(0x154)]),_0x275ff8={'scriptId':_0x484e13,'runId':(_0x448d1f=_0x1b96db[_0x254c3a(0x29d)]['get'](_0x254c3a(0xef)))!=null?_0x448d1f:'','function':_0x390e32,'unitId':_0x14262e[_0x254c3a(0x248)](),'argsOfFunction':JSON[_0x254c3a(0x13b)](_0x2e30a8),'invokeId':(_0x2209cd=_0x261ea6[_0x254c3a(0x285)])!=null?_0x2209cd:'','executionId':(_0x214080=_0x261ea6[_0x254c3a(0x121)])!=null?_0x214080:''};try{const _0x157a6e=await this[_0x254c3a(0x178)][_0x254c3a(0x1ab)](_0x2b2e23,{'body':_0x275ff8});return _0x157a6e['body'][_0x254c3a(0x26b)]&&_0x157a6e[_0x254c3a(0x2c9)][_0x254c3a(0x26b)]['code']!==Lt['OK']?_0x254c3a(0x2bd):_0x157a6e[_0x254c3a(0x2c9)][_0x254c3a(0x1d2)];}catch{return _0x254c3a(0x2bd);}}};ot=Cn([Te(0x0,_0x562792),Te(0x1,_0x1a3b2a(_0x32f590)),Te(0x2,_0xe1599c)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1d41aa=_0x3072;(function(_0x23e105,_0x178996){const _0x28090b=_0x3072,_0x27d648=_0x23e105();while(!![]){try{const _0x59726b=-parseInt(_0x28090b(0x1da))/0x1+parseInt(_0x28090b(0x2c0))/0x2*(-parseInt(_0x28090b(0x33a))/0x3)+-parseInt(_0x28090b(0x22f))/0x4+-parseInt(_0x28090b(0x30d))/0x5+parseInt(_0x28090b(0x227))/0x6*(parseInt(_0x28090b(0x306))/0x7)+parseInt(_0x28090b(0x241))/0x8+parseInt(_0x28090b(0x2e4))/0x9*(parseInt(_0x28090b(0x33f))/0xa);if(_0x59726b===_0x178996)break;else _0x27d648['push'](_0x27d648['shift']());}catch(_0xaf3f11){_0x27d648['push'](_0x27d648['shift']());}}}(_0x2222,0xca97c));var xt=Object[_0x1d41aa(0x2b8)],Bt=(_0x3677fc,_0x2b75d8,_0x135568)=>_0x2b75d8 in _0x3677fc?xt(_0x3677fc,_0x2b75d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x135568}):_0x3677fc[_0x2b75d8]=_0x135568,_=(_0x1ae5ba,_0x145309,_0x266994)=>Bt(_0x1ae5ba,typeof _0x145309!=_0x1d41aa(0x1e2)?_0x145309+'':_0x145309,_0x266994);import{MemberService as _0x3cb3a0,SessionStatus as _0x1b4602,CollaborationSessionService as _0x1c2fc3,CollaborationStatus as _0x301b01,CollaborationController as _0x56d127,ILocalCacheService as _0x1255fd,CollaborationUIEventService as _0x34d2ea,CollaborationUIEventId as _0x1e0a6d,DataLoaderService as _0xd33af7,DocCollaborationEntity as _0x28706d,getLocalCacheKey as _0x2d56e6,LOCAL_CACHE_INTERVAL as _0x2f2d81,LOCAL_CACHE_INTERVAL_KEY as _0x5ae75a,UniverCollaborationClientPlugin as _0x484d9a,CollaborationSocketService as _0x305177,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2cd1d6,DEFAULT_WS_SESSION_TICKET_URL as _0x3fdae3,UnitStatus as _0x3edfe1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x47d86e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5dcb76}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x85e892,Disposable as _0x2800ff,DOC_RANGE_TYPE as _0x27bd23,Inject as _0xcce005,Injector as _0x5c6f4f,IUniverInstanceService as _0x3c49dc,ICommandService as _0x268a57,debounce as _0xd88edf,Rectangle as _0x1957ac,DisposableCollection as _0x14c60b,toDisposable as _0x4e6890,UniverInstanceType as _0x357bfd,generateRandomId as _0x575d2b,COLORS as _0x212370,ColorKit as _0x1c1677,ThemeService as _0x4aa273,fromEventSubject as _0x2de1b0,LocaleService as _0x269fd9,createIdentifier as _0x41b18f,ILogService as _0x41e6cd,Optional as _0xab635a,Workbook as _0x38bdf9,Tools as _0x59fb77,CommandType as _0x1c6be8,IConfigService as _0x3022cf,ILocalStorageService as _0x42b910,DependentOn as _0x3ac0fb,Plugin as _0x3780de,merge as _0x523698,registerDependencies as _0x5c8a6a,mergeOverrideWithDependencies as _0x28a7e9,touchDependencies as _0x2857b7}from'@univerjs/core';import{Shape as _0x55a175,Rect as _0x402196,getColor as _0x16e0cb,RegularPolygon as _0x299553,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x407e04,Vector2 as _0x4c714f,SHEET_VIEWPORT_KEY as _0x9746ba,IRenderManagerService as _0x49b12e}from'@univerjs/engine-render';import{ISocketService as _0x1794d9,WebSocketService as _0x493e8a,HTTPService as _0x2febdf}from'@univerjs/network';import{IDocClipboardService as _0x53d506,NodePositionConvertToCursor as _0x149adc,NodePositionConvertToRectRange as _0x572eb2,TEXT_RANGE_LAYER_INDEX as _0x437769,SetDocZoomRatioOperation as _0x331b82,DocIMEInputManagerService as _0x1f4fd3,DocStateChangeManagerService as _0x2b5696}from'@univerjs/docs-ui';import{IImageIoService as _0x101e9a}from'@univerjs/drawing';import{BehaviorSubject as _0x5a2de1,debounceTime as _0x18fe8d,takeUntil as _0xe2ba41,Subject as _0x1c165a,filter as _0x3d4807,switchMap as _0x61b8f7,merge as _0x501ea0,combineLatest as _0x1d7e6d,of as _0x554421,fromEvent as _0x21efab,shareReplay as _0x49522a,mapTo as _0x2771cf,distinctUntilChanged as _0x5c2efb}from'rxjs';import{ITransformService as _0x4ae50f,CollaborationEvent as _0x3c097d,isTransformMutationFailure as _0x30fa04,isTransformMutationsWithChangesetSuccess as _0x2c9078,RevisionService as _0x491b5d,ISnapshotServerService as _0x203215}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xa1f887,RichTextEditingMutation as _0x36e94a,DocSelectionManagerService as _0x27e88a,DocSkeletonManagerService as _0x1948fb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x330145,serializeRangeWithSheet as _0x15c99d}from'@univerjs/engine-formula';import{RefRangeService as _0x2ded4c,SetSelectionsOperation as _0x56a892,SheetsSelectionsService as _0x43c1b1,EffectRefRangId as _0x4b2a02,handleIRemoveRow as _0x5dd125,handleIRemoveCol as _0x2bf895,handleMoveRange as _0x20e0f0,handleInsertRow as _0xf640b4,handleInsertRangeMoveRight as _0x323e2d,handleInsertRangeMoveDown as _0x1f2ca4,handleInsertCol as _0x19ee34,handleDeleteRangeMoveUp as _0x2100d8,handleDeleteRangeMoveLeft as _0x12f3f8,runRefRangeMutations as _0x47d67b,SetWorksheetActivateCommand as _0x158419}from'@univerjs/sheets';import{map as _0x7c1c2c,filter as _0x5ce252,throttleTime as _0x3d96f3,takeUntil as _0x27174a,switchMap as _0x3ea857}from'rxjs/operators';import{SheetSkeletonManagerService as _0x380795,getCoordByCell as _0x1ffdb5,getSheetObject as _0x2629ad}from'@univerjs/sheets-ui';import{jsx as _0x56ab7c,jsxs as _0x5d53a3}from'react/jsx-runtime';import{useObservable as _0x4b86c6,useDependency as _0xd3ad5,IUIPartsService as _0x303682,BuiltInUIPart as _0x5eb0d7,connectInjector as _0x549c57,IBeforeCloseService as _0xa8c410,IMessageService as _0x41c5c4,INotificationService as _0x2555d3}from'@univerjs/ui';import{Tooltip as _0x11b0bf,clsx as _0x484ea5,MessageType as _0x445c63}from'@univerjs/design';import{forwardRef as _0x568c11,useRef as _0x38af19,createElement as _0x225279,useCallback as _0x198673}from'react';import{IRemoteInstanceService as _0x3c7901}from'@univerjs/rpc';var ci=Object[_0x1d41aa(0x248)],li=(_0x3ed819,_0x502998,_0x3c482d,_0x2f7d7f)=>{const _0x274396=_0x1d41aa;for(var _0x18e5de=_0x2f7d7f>0x1?void 0x0:_0x2f7d7f?ci(_0x502998,_0x3c482d):_0x502998,_0x5a945a=_0x3ed819[_0x274396(0x25c)]-0x1,_0x19c107;_0x5a945a>=0x0;_0x5a945a--)(_0x19c107=_0x3ed819[_0x5a945a])&&(_0x18e5de=_0x19c107(_0x18e5de)||_0x18e5de);return _0x18e5de;},Je=(_0x2b641f,_0x1194b8)=>(_0x4a5aab,_0x475f5b)=>_0x1194b8(_0x4a5aab,_0x475f5b,_0x2b641f);let Ne=class extends _0x85e892{constructor(_0x55d09a,_0x24c677){const _0x2fe574=_0x1d41aa;super(),this[_0x2fe574(0x3a5)]=_0x55d09a,this[_0x2fe574(0x23c)]=_0x24c677,this[_0x2fe574(0x2a7)]();}[_0x1d41aa(0x2a7)](){const _0xba29a3=_0x1d41aa,_0x21d074=this;this[_0xba29a3(0x34b)](this[_0xba29a3(0x3a5)][_0xba29a3(0x2d0)]({'onBeforePasteImage':async _0x16e30d=>{const _0x13ef05=_0xba29a3,_0x5e6d02=await _0x21d074[_0x13ef05(0x23c)][_0x13ef05(0x314)](_0x16e30d);return _0x5e6d02?{'source':_0x5e6d02[_0x13ef05(0x273)],'imageSourceType':_0x5e6d02[_0x13ef05(0x36c)]}:null;}}));}};Ne=li([Je(0x0,_0x53d506),Je(0x1,_0x101e9a)],Ne);const Ze=[_0x1d41aa(0x2db),_0x1d41aa(0x289),_0x1d41aa(0x1de),'red.300','blue.400','yellow.400'];class ke extends _0x2800ff{constructor(){const _0x114722=_0x1d41aa;super(...arguments),_(this,_0x114722(0x234),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2458ed){const _0x382ae1=_0x1d41aa;if(this[_0x382ae1(0x234)]['has'](_0x2458ed))return this[_0x382ae1(0x234)][_0x382ae1(0x217)](_0x2458ed);const _0x26eacb=Ze[this[_0x382ae1(0x2e0)]];return this[_0x382ae1(0x2e0)]=(this[_0x382ae1(0x2e0)]+0x1)%Ze[_0x382ae1(0x25c)],this[_0x382ae1(0x234)][_0x382ae1(0x36a)](_0x2458ed,_0x26eacb),_0x26eacb;}}function Rt(_0x6a3881){let _0x445753='';for(const _0x3aa88b of _0x6a3881){const {startOffset:_0x332876,endOffset:_0x217053,isActive:_0x462f86,rangeType:_0x268829,segmentId:_0x10b9ec,segmentPage:_0x490cf5}=_0x3aa88b;_0x445753['length']&&(_0x445753+=','),_0x445753+=_0x332876+':'+_0x217053+':'+(_0x462f86?'1':'0')+':'+_0x268829+':'+_0x10b9ec+':'+_0x490cf5;}return _0x445753;}function _i(_0x4f9c0d){const _0x41072c=_0x1d41aa,_0x5c39b4=_0x4f9c0d[_0x41072c(0x1d7)](','),_0xd6bce1=[];for(const _0x83c195 of _0x5c39b4){const [_0x23ddbc,_0x195a12,_0x3d807f,_0x552844,_0x497b6f,_0x151611]=_0x83c195[_0x41072c(0x1d7)](':');_0xd6bce1[_0x41072c(0x37f)]({'startOffset':Number(_0x23ddbc),'endOffset':Number(_0x195a12),'collapsed':_0x23ddbc===_0x195a12,'isActive':_0x3d807f==='1','rangeType':_0x552844===_0x27bd23[_0x41072c(0x3a2)]?_0x27bd23[_0x41072c(0x3a2)]:_0x27bd23['RECT'],'segmentId':typeof _0x497b6f=='string'?String(_0x497b6f):'','segmentPage':Number(_0x151611!=null?_0x151611:-0x1)});}return _0xd6bce1[_0x41072c(0x28e)](_0x1dcb48=>_0x1dcb48[_0x41072c(0x2e9)])||(_0xd6bce1[0x0][_0x41072c(0x2e9)]=!0x0),_0xd6bce1;}class He extends _0x85e892{constructor(){const _0xc9890f=_0x1d41aa;super(...arguments),_(this,_0xc9890f(0x29a),new _0x5a2de1(null)),_(this,_0xc9890f(0x280),this['_collabCursorState$'][_0xc9890f(0x1ed)]());}[_0x1d41aa(0x343)](_0x54d05a){const {unitID:_0x2c21af,memberID:_0x3b9365,textRanges:_0x193c1a}=_0x54d05a,_0x8de9c4=Rt(_0x193c1a);if(_0x8de9c4==='')return;const _0x577fc8={'unitID':_0x2c21af,'memberID':_0x3b9365,'selection':_0x8de9c4};this['_collabCursorState$']['next'](_0x577fc8);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0xd6b34f,_0x27226b,_0x255cc2,_0x29f7b3)=>{for(var _0x45139d=_0x29f7b3>0x1?void 0x0:_0x29f7b3?hi(_0x27226b,_0x255cc2):_0x27226b,_0x2833bc=_0xd6b34f['length']-0x1,_0x3b71ee;_0x2833bc>=0x0;_0x2833bc--)(_0x3b71ee=_0xd6b34f[_0x2833bc])&&(_0x45139d=_0x3b71ee(_0x45139d)||_0x45139d);return _0x45139d;},P=(_0x25fa10,_0x457800)=>(_0x4fe10a,_0x346f33)=>_0x457800(_0x4fe10a,_0x346f33,_0x25fa10);const di=0x12c,fi=0x64;let Ue=class extends _0x85e892{constructor(_0x599eb3,_0x543edb,_0x5b1840,_0x575b0b,_0x5c57f7,_0x356b93,_0xf7ecc4,_0x47b01c,_0x3d829a){const _0x4069c0=_0x1d41aa;super(),_(this,_0x4069c0(0x304),!0x1),_(this,'_init',!0x1),_(this,_0x4069c0(0x342),new _0x5a2de1(new Map())),_(this,'cursorInfo$',this[_0x4069c0(0x342)][_0x4069c0(0x1ed)]()),_(this,_0x4069c0(0x38d),new _0x5a2de1([])),_(this,_0x4069c0(0x2f0),this[_0x4069c0(0x38d)][_0x4069c0(0x27b)](_0x18fe8d(di))),_(this,_0x4069c0(0x2b4),_0xd88edf(_0x67c601=>{const _0x6e9367=_0x4069c0,_0x220c9f={'eventID':_0x3c097d['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Rt(_0x67c601)}};this['_session'][_0x6e9367(0x2be)](_0x220c9f,this['unitID']);},fi)),(this[_0x4069c0(0x249)]=_0x599eb3,this['_session']=_0x543edb,this[_0x4069c0(0x34f)]=_0x5b1840,this[_0x4069c0(0x348)]=_0x575b0b,this[_0x4069c0(0x270)]=_0x5c57f7,this['_syncEditingCollabCursorService']=_0x356b93,this[_0x4069c0(0x27f)]=_0xf7ecc4,this[_0x4069c0(0x2a5)]=_0x47b01c,this[_0x4069c0(0x354)]=_0x3d829a);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1d41aa(0x2da)](){const _0x18cab1=_0x1d41aa;return this[_0x18cab1(0x38d)]['getValue']();}[_0x1d41aa(0x27e)](){const _0x2000f=_0x1d41aa;super[_0x2000f(0x27e)](),this[_0x2000f(0x342)][_0x2000f(0x3a3)](new Map()),this['_cursorInfo$'][_0x2000f(0x2ca)](),this[_0x2000f(0x38d)][_0x2000f(0x3a3)]([]),this['_roomMembers$']['complete']();}[_0x1d41aa(0x288)](){const _0x23dcbf=_0x1d41aa;this[_0x23dcbf(0x2a7)]||(this['_init']=!0x0,this[_0x23dcbf(0x1df)][_0x23dcbf(0x2c9)][_0x23dcbf(0x27b)](_0xe2ba41(this[_0x23dcbf(0x1ab)]))['subscribe'](_0x3231ea=>{const _0x18fcd0=_0x23dcbf;_0x3231ea===_0x1b4602[_0x18fcd0(0x236)]?this[_0x18fcd0(0x28f)]():this[_0x18fcd0(0x1c5)]();}),this['_session']['event$'][_0x23dcbf(0x27b)](_0xe2ba41(this[_0x23dcbf(0x1ab)]))[_0x23dcbf(0x266)](_0x57de00=>{const _0x223a40=_0x23dcbf,_0x128be8=_0x57de00[_0x223a40(0x382)];_0x128be8===_0x3c097d[_0x223a40(0x27c)]&&this[_0x223a40(0x397)](_0x57de00),_0x128be8===_0x3c097d['USERS_LEAVE']&&this[_0x223a40(0x32a)](_0x57de00);}),this['disposeWithMe'](this[_0x23dcbf(0x354)][_0x23dcbf(0x31a)](_0x4730bb=>{const _0x39f347=_0x23dcbf,_0x4f2dbd=_0x4730bb[_0x39f347(0x2f9)];_0x4f2dbd!=null&&this[_0x39f347(0x304)]&&_0x4730bb['id']===_0xa1f887['id']&&_0x4f2dbd[_0x39f347(0x1a9)]===this['unitID']&&_0x4f2dbd[_0x39f347(0x2b5)]===!0x1&&_0x4f2dbd[_0x39f347(0x34a)][_0x39f347(0x25c)]>0x0&&this[_0x39f347(0x2b4)](_0x4f2dbd[_0x39f347(0x34a)]);})),this[_0x23dcbf(0x33b)][_0x23dcbf(0x280)][_0x23dcbf(0x27b)](_0xe2ba41(this['dispose$']))['subscribe'](_0x504b88=>{const _0xf13983=_0x23dcbf;if((_0x504b88==null?void 0x0:_0x504b88[_0xf13983(0x249)])!==this[_0xf13983(0x249)])return;const _0xe166bb={'eventID':_0x3c097d[_0xf13983(0x27c)],'data':_0x504b88};this[_0xf13983(0x397)](_0xe166bb);}),this['disposeWithMe'](this[_0x23dcbf(0x354)][_0x23dcbf(0x31a)](_0x462dda=>{const _0x5dc913=_0x23dcbf;if(_0x462dda[_0x5dc913(0x2f9)]==null)return;const _0x1df0db=_0x462dda[_0x5dc913(0x2f9)];if(_0x462dda['id']!==_0x36e94a['id']||_0x1df0db[_0x5dc913(0x1a9)]!==this[_0x5dc913(0x249)])return;const _0x47a3c4={'id':'doc.mutation.rich-text-editing','params':_0x1df0db},_0x2e0948=this['cursorInfo'];for(const [_0x5ad74c,_0x5b44fe]of _0x2e0948){const _0x1ca4eb={'id':_0x5dc913(0x328),'params':{'unitId':this[_0x5dc913(0x249)],'actions':null,'textRanges':_0x5b44fe['ranges']}},_0x3a6f91=this['_transformService'][_0x5dc913(0x28b)](_0x47a3c4,_0x1ca4eb,!0x1);if(_0x30fa04(_0x3a6f91))throw _0x3a6f91[_0x5dc913(0x318)];_0x2e0948[_0x5dc913(0x36a)](_0x5ad74c,{..._0x5b44fe,'ranges':_0x3a6f91[_0x5dc913(0x39f)]['params'][_0x5dc913(0x263)]});}queueMicrotask(()=>{const _0xfa1def=_0x5dc913;this[_0xfa1def(0x342)][_0xfa1def(0x3a3)](_0x2e0948);});})));}['_onCursorUpdate'](_0x5f390d){const _0x2aa2cf=_0x1d41aa;var _0x50f94b,_0x45697a;const {memberID:_0x5450a6,selection:_0x4af5fc}=_0x5f390d[_0x2aa2cf(0x355)],_0x487abd=_i(_0x4af5fc),_0x130488=(_0x45697a=(_0x50f94b=this[_0x2aa2cf(0x270)]['getMember'](this[_0x2aa2cf(0x249)],_0x5450a6))==null?void 0x0:_0x50f94b[_0x2aa2cf(0x35e)])!=null?_0x45697a:_0x2aa2cf(0x219),_0x4f206e={'color':this['_colorAssignService'][_0x2aa2cf(0x307)](_0x5450a6),'name':_0x130488,'ranges':_0x487abd},_0x4f4054=this[_0x2aa2cf(0x2bf)];_0x4f4054[_0x2aa2cf(0x36a)](_0x5450a6,_0x4f206e),this[_0x2aa2cf(0x342)][_0x2aa2cf(0x3a3)](_0x4f4054);}[_0x1d41aa(0x32a)](_0x23427d){const _0x3b003d=_0x1d41aa,{memberID:_0x31544d}=_0x23427d[_0x3b003d(0x355)],_0x57b668=this['cursorInfo'];_0x57b668[_0x3b003d(0x375)](_0x31544d),this[_0x3b003d(0x342)][_0x3b003d(0x3a3)](_0x57b668);}[_0x1d41aa(0x28f)](){const _0x270930=_0x1d41aa;var _0x2cedf2;if(this[_0x270930(0x304)]=!0x0,((_0x2cedf2=this[_0x270930(0x2a5)][_0x270930(0x21c)]())==null?void 0x0:_0x2cedf2[_0x270930(0x25f)]())!==this[_0x270930(0x249)])return;const _0x79be31=this[_0x270930(0x34f)][_0x270930(0x217)](_0x27e88a)['getDocRanges']();Array[_0x270930(0x1ba)](_0x79be31)&&_0x79be31[_0x270930(0x25c)]>0x0&&this[_0x270930(0x2b4)](_0x79be31);}[_0x1d41aa(0x1c5)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0xcce005(_0x5c6f4f)),P(0x3,_0xcce005(ke)),P(0x4,_0xcce005(_0x3cb3a0)),P(0x5,_0xcce005(He)),P(0x6,_0x4ae50f),P(0x7,_0x3c49dc),P(0x8,_0x268a57)],Ue);var Si=Object[_0x1d41aa(0x248)],mi=(_0x278be1,_0x15a378,_0x2c2465,_0x2b3281)=>{const _0x5344d9=_0x1d41aa;for(var _0x808a75=_0x2b3281>0x1?void 0x0:_0x2b3281?Si(_0x15a378,_0x2c2465):_0x15a378,_0x48dff5=_0x278be1[_0x5344d9(0x25c)]-0x1,_0x4c1a08;_0x48dff5>=0x0;_0x48dff5--)(_0x4c1a08=_0x278be1[_0x48dff5])&&(_0x808a75=_0x4c1a08(_0x808a75)||_0x808a75);return _0x808a75;},x=(_0x4bac71,_0x15152d)=>(_0x53a589,_0x37db32)=>_0x15152d(_0x53a589,_0x37db32,_0x4bac71);const Ii=0x12c,vi=0x64,gi=()=>{let _0x4b25e5=[],_0x276944=!0x1;return _0x2de8cb=>{const _0x56dfa3=_0x3072;_0x4b25e5[_0x56dfa3(0x37f)](_0x2de8cb),_0x276944||(_0x276944=!0x0,setTimeout(()=>{const _0x41c84a=_0x56dfa3;_0x4b25e5[_0x41c84a(0x384)](_0x3616b6=>_0x3616b6()),_0x4b25e5=[],_0x276944=!0x1;}));};};let Me=class extends _0x85e892{constructor(_0x398c01,_0x16872a,_0x24749a,_0x38dd2e,_0x34b7e9,_0x27a435,_0x45eecd,_0x3fc99e){const _0x1d5f89=_0x1d41aa;super(),_(this,_0x1d5f89(0x304),!0x1),_(this,_0x1d5f89(0x2a7),!0x1),_(this,_0x1d5f89(0x342),new _0x5a2de1(new Map())),_(this,_0x1d5f89(0x204),this[_0x1d5f89(0x342)]['asObservable']()),_(this,_0x1d5f89(0x38d),new _0x5a2de1([])),_(this,_0x1d5f89(0x2f0),this['_roomMembers$'][_0x1d5f89(0x27b)](_0x18fe8d(Ii))),_(this,_0x1d5f89(0x2b4),_0xd88edf((_0x411048,_0xde71e0)=>{const _0x193955=_0x1d5f89,_0x50252a={'eventID':_0x3c097d[_0x193955(0x27c)],'data':{'unitID':this[_0x193955(0x249)],'memberID':this['_session'][_0x193955(0x2d1)](),'selection':_0x15c99d(_0x411048,_0xde71e0[_0x193955(0x298)])}};this['_session'][_0x193955(0x2be)](_0x50252a,this[_0x193955(0x249)]);},vi)),(this['unitID']=_0x398c01,this[_0x1d5f89(0x1df)]=_0x16872a,this['_injector']=_0x24749a,this[_0x1d5f89(0x348)]=_0x38dd2e,this['_memberService']=_0x34b7e9,this[_0x1d5f89(0x2a5)]=_0x27a435,this[_0x1d5f89(0x354)]=_0x45eecd,this[_0x1d5f89(0x2c6)]=_0x3fc99e);}get[_0x1d41aa(0x2bf)](){const _0x383a21=_0x1d41aa;return this['_cursorInfo$'][_0x383a21(0x327)]();}get['roomMembers'](){const _0x179c73=_0x1d41aa;return this[_0x179c73(0x38d)][_0x179c73(0x327)]();}[_0x1d41aa(0x27e)](){const _0x1d8de9=_0x1d41aa;super[_0x1d8de9(0x27e)](),this[_0x1d8de9(0x342)]['next'](new Map()),this[_0x1d8de9(0x342)]['complete'](),this[_0x1d8de9(0x38d)][_0x1d8de9(0x3a3)]([]),this['_roomMembers$'][_0x1d8de9(0x2ca)]();}[_0x1d41aa(0x288)](){const _0x5426e1=_0x1d41aa;this[_0x5426e1(0x2a7)]||(this['_init']=!0x0,this[_0x5426e1(0x1df)][_0x5426e1(0x2c9)]['pipe'](_0xe2ba41(this[_0x5426e1(0x1ab)]))[_0x5426e1(0x266)](_0x3c50a5=>{const _0x316304=_0x5426e1;_0x3c50a5===_0x1b4602['ONLINE']?this[_0x316304(0x28f)]():this[_0x316304(0x1c5)]();}),this[_0x5426e1(0x1df)][_0x5426e1(0x259)][_0x5426e1(0x27b)](_0xe2ba41(this[_0x5426e1(0x1ab)]))[_0x5426e1(0x266)](_0xfcb629=>{const _0x4b33b4=_0x5426e1,_0x3ad519=_0xfcb629[_0x4b33b4(0x382)];_0x3ad519===_0x3c097d['UPDATE_CURSOR']&&this[_0x4b33b4(0x397)](_0xfcb629),_0x3ad519===_0x3c097d[_0x4b33b4(0x32c)]&&this[_0x4b33b4(0x32a)](_0xfcb629);}),this[_0x5426e1(0x360)](),this[_0x5426e1(0x34b)](this[_0x5426e1(0x354)][_0x5426e1(0x31a)](_0x3f2479=>{const _0x5ec9e3=_0x5426e1;if(this['_online']&&_0x3f2479['id']===_0x56a892['id']&&_0x3f2479[_0x5ec9e3(0x2f9)][_0x5ec9e3(0x1a9)]===this[_0x5ec9e3(0x249)]){const _0x2b40f6=_0x3f2479['params'];this['_updateLocalCursor'](_0x2b40f6[_0x5ec9e3(0x370)],_0x2b40f6[_0x5ec9e3(0x366)][0x0]);}})));}[_0x1d41aa(0x397)](_0xee87dc){const _0x484e0a=_0x1d41aa;var _0x5d10bc,_0x2c273c;const {memberID:_0x1d655e,selection:_0x2fe20c}=_0xee87dc[_0x484e0a(0x355)],{sheetName:_0x56a53b,range:_0x349af8}=_0x330145(_0x2fe20c),_0x279c69={'name':(_0x2c273c=(_0x5d10bc=this['_memberService'][_0x484e0a(0x22d)](this['unitID'],_0x1d655e))==null?void 0x0:_0x5d10bc[_0x484e0a(0x35e)])!=null?_0x2c273c:_0x484e0a(0x219),'range':this['_getMergeRange'](_0x56a53b,_0x349af8),'sheetID':_0x56a53b,'color':this[_0x484e0a(0x348)][_0x484e0a(0x307)](_0x1d655e),'selection':_0x2fe20c},_0x13b8d8=this[_0x484e0a(0x2bf)];_0x13b8d8[_0x484e0a(0x36a)](_0x1d655e,_0x279c69),this[_0x484e0a(0x342)][_0x484e0a(0x3a3)](_0x13b8d8);}[_0x1d41aa(0x32a)](_0x33343f){const _0x2f420b=_0x1d41aa,{memberID:_0x637518}=_0x33343f[_0x2f420b(0x355)],_0x2cff47=this[_0x2f420b(0x2bf)];_0x2cff47[_0x2f420b(0x375)](_0x637518),this[_0x2f420b(0x342)][_0x2f420b(0x3a3)](_0x2cff47);}[_0x1d41aa(0x345)](_0x33f153,_0x269fc0){const _0x561adb=_0x1d41aa;var _0x18dc39,_0x3d2729;const _0x395347=(_0x3d2729=(_0x18dc39=this['_univerInstanceService'][_0x561adb(0x371)](this[_0x561adb(0x249)]))==null?void 0x0:_0x18dc39[_0x561adb(0x293)](_0x33f153))==null?void 0x0:_0x3d2729[_0x561adb(0x38e)]();return(_0x395347==null?void 0x0:_0x395347[_0x561adb(0x2ae)](_0x3eb4c1=>_0x1957ac['contains'](_0x3eb4c1,_0x269fc0)))||_0x269fc0;}[_0x1d41aa(0x360)](){const _0x427f80=_0x1d41aa,_0x6183f2=new _0x14c60b(),_0x2dd26b=gi(),_0x2263c0=()=>{const _0x4e33d9=_0x3072;_0x6183f2[_0x4e33d9(0x27e)]();const _0xb6799f=(_0x46b47d,_0x1aa2e1,_0xed922,_0x578b63)=>{const _0x5e1aab=_0x4e33d9;let _0x30d038=[];switch(_0x46b47d['id']){case _0x4b2a02['DeleteRangeMoveLeftCommandId']:{_0x30d038=_0x12f3f8(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x2cb)]:{_0x30d038=_0x2100d8(_0x46b47d,_0x578b63);break;}case _0x4b2a02['InsertColCommandId']:{_0x30d038=_0x19ee34(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x1f9)]:{_0x30d038=_0x1f2ca4(_0x46b47d,_0x578b63);break;}case _0x4b2a02['InsertRangeMoveRightCommandId']:{_0x30d038=_0x323e2d(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x20e)]:{_0x30d038=_0xf640b4(_0x46b47d,_0x578b63);break;}case _0x4b2a02['MoveRangeCommandId']:{_0x30d038=_0x20e0f0(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x21e)]:{_0x30d038=_0x2bf895(_0x46b47d,_0x578b63);break;}case _0x4b2a02['RemoveRowCommandId']:{_0x30d038=_0x5dd125(_0x46b47d,_0x578b63);break;}}const _0x5853db=_0x47d67b(_0x30d038,_0x578b63),_0x473212=this[_0x5e1aab(0x2bf)][_0x5e1aab(0x217)](_0x1aa2e1);if(_0x473212&&_0x5853db){const _0xdcba62={..._0x473212,'range':_0x5853db};this['cursorInfo'][_0x5e1aab(0x36a)](_0x1aa2e1,_0xdcba62),_0x2dd26b(()=>{const _0xc9f270=_0x5e1aab,_0x54cc93=this['_refRangeService']['registerRefRange'](_0x5853db,_0x5ab8bb=>(_0x54cc93['dispose'](),_0xb6799f(_0x5ab8bb,_0x1aa2e1,_0xed922,_0x5853db)));_0x6183f2[_0xc9f270(0x1e9)](_0x54cc93);});}return{'redos':[],'undos':[]};};this[_0x4e33d9(0x2bf)]['forEach']((_0xc3cbdd,_0x42b312)=>{const _0x16b4d8=_0x4e33d9,{range:_0x221644,sheetID:_0x184e8f}=_0xc3cbdd,_0x2d9ed2=this[_0x16b4d8(0x2c6)][_0x16b4d8(0x26f)](_0x221644,_0x57e35e=>(_0x2d9ed2['dispose'](),_0xb6799f(_0x57e35e,_0x42b312,_0x184e8f,_0x221644)));_0x6183f2[_0x16b4d8(0x1e9)](_0x2d9ed2);});};this[_0x427f80(0x34b)](_0x4e6890(this[_0x427f80(0x342)][_0x427f80(0x266)](()=>{_0x2263c0();})));}[_0x1d41aa(0x28f)](){const _0x4929f6=_0x1d41aa;var _0x464cca,_0x289ba5;if(this[_0x4929f6(0x304)]=!0x0,((_0x464cca=this['_univerInstanceService'][_0x4929f6(0x21c)]())==null?void 0x0:_0x464cca[_0x4929f6(0x25f)]())!==this['unitID'])return;const _0x3ea501=(_0x289ba5=this['_injector']['get'](_0x43c1b1)[_0x4929f6(0x35c)]())==null?void 0x0:_0x289ba5[0x0],_0x1330ca=this[_0x4929f6(0x2a5)][_0x4929f6(0x391)](_0x357bfd[_0x4929f6(0x2b1)])['getActiveSheet']();_0x3ea501&&_0x1330ca&&this[_0x4929f6(0x2b4)](_0x1330ca[_0x4929f6(0x1d9)](),_0x3ea501);}[_0x1d41aa(0x1c5)](){const _0x54ebac=_0x1d41aa;this[_0x54ebac(0x304)]=!0x1;}};Me=mi([x(0x2,_0xcce005(_0x5c6f4f)),x(0x3,_0xcce005(ke)),x(0x4,_0xcce005(_0x3cb3a0)),x(0x5,_0x3c49dc),x(0x6,_0x268a57),x(0x7,_0xcce005(_0x2ded4c))],Me);var pi=Object[_0x1d41aa(0x248)],Ci=(_0x2fd5fe,_0x32c093,_0x517bf5,_0x20a716)=>{const _0x107174=_0x1d41aa;for(var _0x42ff2b=_0x20a716>0x1?void 0x0:_0x20a716?pi(_0x32c093,_0x517bf5):_0x32c093,_0x5aa23b=_0x2fd5fe[_0x107174(0x25c)]-0x1,_0x28bae7;_0x5aa23b>=0x0;_0x5aa23b--)(_0x28bae7=_0x2fd5fe[_0x5aa23b])&&(_0x42ff2b=_0x28bae7(_0x42ff2b)||_0x42ff2b);return _0x42ff2b;},me=(_0x441f7b,_0x510068)=>(_0x2dd372,_0x289a2c)=>_0x510068(_0x2dd372,_0x289a2c,_0x441f7b);let F=class extends _0x85e892{constructor(_0x2f5d69,_0x2b29dd,_0x31bb99){const _0x44645e=_0x1d41aa;super(),_(this,'_entities',new Map()),_(this,_0x44645e(0x26b),new _0x1c165a()),(this[_0x44645e(0x2a5)]=_0x2f5d69,this[_0x44645e(0x34f)]=_0x2b29dd,this[_0x44645e(0x32b)]=_0x31bb99,this[_0x44645e(0x2a7)]());}[_0x1d41aa(0x27e)](){const _0xeef10d=_0x1d41aa;super['dispose'](),this[_0xeef10d(0x26b)][_0xeef10d(0x2ca)](),this[_0xeef10d(0x3a6)]['forEach'](_0x45aae4=>_0x45aae4['dispose']());}[_0x1d41aa(0x377)](_0x21b9bf){const _0x2edfcd=_0x1d41aa;return this[_0x2edfcd(0x3a6)][_0x2edfcd(0x1d4)](_0x21b9bf)?this[_0x2edfcd(0x3a6)][_0x2edfcd(0x217)](_0x21b9bf)[_0x2edfcd(0x204)]:this['_entityInit$']['pipe'](_0x3d4807(_0x31abd2=>_0x31abd2[_0x2edfcd(0x249)]===_0x21b9bf),_0x61b8f7(_0x5c1445=>_0x5c1445[_0x2edfcd(0x204)]));}[_0x1d41aa(0x2a7)](){const _0x53a4e7=_0x1d41aa;this[_0x53a4e7(0x2a5)]['getTypeOfUnitAdded$'](_0x357bfd['UNIVER_SHEET'])['pipe'](_0xe2ba41(this[_0x53a4e7(0x1ab)]))[_0x53a4e7(0x266)](async _0x3cac22=>{const _0xe8b91a=_0x53a4e7,_0x1c9486=_0x3cac22['getUnitId'](),_0x4b0e55=await this['_startSheetCollabCursor'](_0x1c9486);this[_0xe8b91a(0x26b)]['next'](_0x4b0e55),this['_entities'][_0xe8b91a(0x36a)](_0x1c9486,_0x4b0e55);}),this['_univerInstanceService'][_0x53a4e7(0x21d)](_0x357bfd['UNIVER_DOC'])[_0x53a4e7(0x27b)](_0xe2ba41(this[_0x53a4e7(0x1ab)]))[_0x53a4e7(0x27b)](_0x3d4807(_0x2de028=>!_0x2de028[_0x53a4e7(0x25f)]()['startsWith']('__')))[_0x53a4e7(0x266)](async _0x58df30=>{const _0x508fc0=_0x53a4e7,_0x5f4987=_0x58df30[_0x508fc0(0x25f)](),_0x1418f2=await this[_0x508fc0(0x28a)](_0x5f4987);this[_0x508fc0(0x26b)]['next'](_0x1418f2),this[_0x508fc0(0x3a6)]['set'](_0x5f4987,_0x1418f2);}),_0x501ea0(this[_0x53a4e7(0x2a5)][_0x53a4e7(0x29d)](_0x357bfd[_0x53a4e7(0x277)]),this[_0x53a4e7(0x2a5)]['getTypeOfUnitDisposed$'](_0x357bfd[_0x53a4e7(0x2b1)]))[_0x53a4e7(0x27b)](_0xe2ba41(this['dispose$']))[_0x53a4e7(0x266)](_0x47cf17=>{const _0x370cc6=_0x53a4e7,_0x5ef130=_0x47cf17[_0x370cc6(0x25f)](),_0x19d122=this[_0x370cc6(0x3a6)]['get'](_0x5ef130);_0x19d122&&(_0x19d122[_0x370cc6(0x27e)](),this['_entities'][_0x370cc6(0x375)](_0x5ef130));});}async[_0x1d41aa(0x2f8)](_0x37aa8a){const _0xed64ed=_0x1d41aa,_0x17c6f4=await this[_0xed64ed(0x32b)][_0xed64ed(0x2a1)](_0x37aa8a),_0x533015=this[_0xed64ed(0x34f)][_0xed64ed(0x32f)](Me,_0x37aa8a,_0x17c6f4);return _0x533015[_0xed64ed(0x288)](),_0x533015;}async[_0x1d41aa(0x28a)](_0x44b579){const _0x6b22b9=_0x1d41aa,_0x56b4b9=await this[_0x6b22b9(0x32b)][_0x6b22b9(0x2a1)](_0x44b579),_0x25f662=this['_injector']['createInstance'](Ue,_0x44b579,_0x56b4b9);return _0x25f662['init'](),_0x25f662;}};F=Ci([me(0x0,_0x3c49dc),me(0x1,_0xcce005(_0x5c6f4f)),me(0x2,_0xcce005(_0x1c2fc3))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x5d4fac,_0x19f36d){const _0x1f5f41=_0x1d41aa;let {radius:_0x609e68,width:_0x17120a,height:_0x1010fb}=_0x19f36d;_0x609e68=_0x609e68!=null?_0x609e68:0x0,_0x17120a=_0x17120a!=null?_0x17120a:0x1e,_0x1010fb=_0x1010fb!=null?_0x1010fb:0x1e;let _0x42e1dc=0x0,_0x1d562a=0x0,_0x163db0=0x0;_0x42e1dc=_0x1d562a=_0x163db0=Math[_0x1f5f41(0x2e8)](_0x609e68,_0x17120a/0x2,_0x1010fb/0x2),_0x5d4fac[_0x1f5f41(0x341)](),_0x5d4fac[_0x1f5f41(0x1f8)](_0x42e1dc,0x0),_0x5d4fac[_0x1f5f41(0x1c9)](_0x17120a-_0x1d562a,0x0),_0x5d4fac[_0x1f5f41(0x26c)](_0x17120a-_0x1d562a,_0x1d562a,_0x1d562a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d4fac[_0x1f5f41(0x1c9)](_0x17120a,_0x1010fb-_0x163db0),_0x5d4fac[_0x1f5f41(0x26c)](_0x17120a-_0x163db0,_0x1010fb-_0x163db0,_0x163db0,0x0,Math['PI']/0x2,!0x1),_0x5d4fac[_0x1f5f41(0x1c9)](0x0,_0x1010fb),_0x5d4fac[_0x1f5f41(0x1c9)](0x0,_0x42e1dc),_0x5d4fac[_0x1f5f41(0x26c)](_0x42e1dc,_0x42e1dc,_0x42e1dc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d4fac[_0x1f5f41(0x211)](),_0x19f36d['fill']&&(_0x5d4fac[_0x1f5f41(0x24d)](),_0x5d4fac[_0x1f5f41(0x31e)]=_0x19f36d[_0x1f5f41(0x2d5)],_0x19f36d['fillRule']===_0x1f5f41(0x24c)?_0x5d4fac[_0x1f5f41(0x2d5)]('evenodd'):_0x5d4fac[_0x1f5f41(0x2d5)](),_0x5d4fac['restore']());}class ue extends _0x55a175{constructor(_0xffcebe,_0x560573){const _0xb86e8a=_0x1d41aa;super(_0xffcebe,_0x560573),_(this,'color'),_(this,'text'),(this[_0xb86e8a(0x1e0)]=_0x560573==null?void 0x0:_0x560573[_0xb86e8a(0x1e0)],this['text']=_0x560573==null?void 0x0:_0x560573['text']);}static[_0x1d41aa(0x24e)](_0x54ff7f,_0x313427){const _0x105b38=_0x1d41aa,{text:_0x29915a,color:_0xc3b207}=_0x313427;_0x54ff7f['save'](),_0x54ff7f[_0x105b38(0x1c2)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a1b15=_0x54ff7f[_0x105b38(0x30e)](_0x29915a)[_0x105b38(0x39a)],_0x30b817=Math[_0x105b38(0x2e8)](_0x3a1b15+0x2*Ie,Qe);Oi(_0x54ff7f,{'height':J,'radius':0x4,'width':_0x30b817,'fill':_0xc3b207}),_0x54ff7f[_0x105b38(0x31e)]=_0x105b38(0x334);const _0x425d6b=Ie,_0x4d5fa6=J-Ei,_0x2a0aa0=Qe-0x2*Ie;if(_0x3a1b15>_0x2a0aa0){let _0x4b1968='',_0x40fcc6=0x0;for(const _0x3a7cf0 of _0x29915a){const _0x4b9943=_0x54ff7f[_0x105b38(0x30e)](_0x3a7cf0)[_0x105b38(0x39a)];if(_0x40fcc6+_0x4b9943<=_0x2a0aa0-_0x54ff7f[_0x105b38(0x30e)](_0x105b38(0x237))[_0x105b38(0x39a)])_0x4b1968+=_0x3a7cf0,_0x40fcc6+=_0x4b9943;else{_0x4b1968+='...';break;}}_0x54ff7f['fillText'](_0x4b1968,_0x425d6b,_0x4d5fa6);}else _0x54ff7f[_0x105b38(0x2a4)](_0x29915a,_0x425d6b,_0x4d5fa6);_0x54ff7f[_0x105b38(0x2aa)]();}[_0x1d41aa(0x378)](_0x32cfd1){const _0x15b6c5=_0x1d41aa;ue[_0x15b6c5(0x24e)](_0x32cfd1,this);}}const ve=_0x1d41aa(0x24b),bi='collab-text-range-',Ti=_0x1d41aa(0x292),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1d41aa(0x2ad);class qe{constructor(_0x26679b,_0x45111e,_0x5af4fe,_0xf18fca){const _0x5aa4a1=_0x1d41aa;_(this,_0x5aa4a1(0x2e6),[]),_(this,_0x5aa4a1(0x325),null),_(this,_0x5aa4a1(0x1c1),null),_(this,'_anchorDot',null),_(this,_0x5aa4a1(0x336),null),_(this,_0x5aa4a1(0x2c8),null),(this['_cursor']=_0x26679b,this[_0x5aa4a1(0x2ef)]=_0x45111e,this[_0x5aa4a1(0x2eb)]=_0x5af4fe,this[_0x5aa4a1(0x1c3)]=_0xf18fca,this['_render']());}set['_hover'](_0xdbac3b){const _0x249e20=_0x1d41aa;_0xdbac3b?(this[_0x249e20(0x230)]&&this[_0x249e20(0x230)][_0x249e20(0x367)](),this['_textBubble']&&this['_textBubble'][_0x249e20(0x1be)]()):(this[_0x249e20(0x230)]&&this[_0x249e20(0x230)]['show'](),this[_0x249e20(0x1c1)]&&this[_0x249e20(0x1c1)][_0x249e20(0x367)]());}['dispose'](){const _0x4c7104=_0x1d41aa;for(const _0x54b1e9 of this[_0x4c7104(0x2e6)])_0x54b1e9[_0x4c7104(0x27e)]();this[_0x4c7104(0x1c1)]&&this[_0x4c7104(0x1c1)]['dispose'](),this[_0x4c7104(0x230)]&&this[_0x4c7104(0x230)]['dispose'](),this[_0x4c7104(0x325)]&&this[_0x4c7104(0x325)][_0x4c7104(0x27e)](),this[_0x4c7104(0x2c8)]&&this[_0x4c7104(0x2c8)]();}['_render'](){const _0x1cd5e0=_0x1d41aa;var _0x104b81;const {_docSkeleton:_0x374c47,_document:_0x2356ba}=this,{color:_0x9ca4a8,name:_0x824043,ranges:_0x383991}=this[_0x1cd5e0(0x294)],_0x19a941=_0x2356ba[_0x1cd5e0(0x1fe)](),{docsLeft:_0x1d87b8,docsTop:_0x474900}=_0x19a941,_0x1e18cd=new _0x149adc(_0x19a941,_0x374c47);for(const {startOffset:_0x7fe0ad,endOffset:_0x2e1ecd,rangeType:_0x2a9cf6,segmentId:_0x2ae871,segmentPage:_0x372704,collapsed:_0x1d7c04,isActive:_0x45c28b}of _0x383991){const _0x312652=_0x374c47['findNodePositionByCharIndex'](_0x7fe0ad,!0x0,_0x2ae871,_0x372704);let _0x1b6baf=_0x374c47[_0x1cd5e0(0x20a)](_0x2e1ecd,!0x0,_0x2ae871,_0x372704);if(_0x1b6baf==null&&(_0x1b6baf=_0x374c47[_0x1cd5e0(0x20a)](_0x2e1ecd-0x1,!0x1,_0x2ae871,_0x372704)),_0x45c28b){const {contentBoxPointGroup:_0x44215d}=_0x1e18cd[_0x1cd5e0(0x1f1)](_0x1b6baf,_0x1b6baf);if(_0x44215d[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x2b9)](_0x9ca4a8,_0x44215d,_0x1d87b8,_0x474900,_0x824043),this[_0x1cd5e0(0x2c8)]=this[_0x1cd5e0(0x269)]();}if(_0x312652&&_0x1b6baf){if(_0x2a9cf6===_0x27bd23['RECT']){const _0x10bddc=new _0x572eb2(_0x19a941,_0x374c47),{pointGroup:_0x16b046}=(_0x104b81=_0x10bddc[_0x1cd5e0(0x1f1)](_0x312652,_0x1b6baf))!=null?_0x104b81:{};if(_0x16b046==null||_0x16b046[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x2a0)](_0x9ca4a8,_0x16b046,_0x1d87b8,_0x474900);}else{if(!_0x1d7c04){const {borderBoxPointGroup:_0x3a641f}=_0x1e18cd[_0x1cd5e0(0x1f1)](_0x312652,_0x1b6baf);if(_0x3a641f[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x224)](_0x9ca4a8,_0x3a641f,_0x1d87b8,_0x474900);}}}}}[_0x1d41aa(0x2b9)](_0x462450,_0x2fd580,_0x5c0564,_0x2e91ce,_0x1eecc8){const _0x4ff942=_0x1d41aa,_0x311e17=this[_0x4ff942(0x388)](_0x2fd580),{left:_0x35f108,top:_0x44b918,height:_0x44d0c8}=_0x311e17,_0xb0f83d=this[_0x4ff942(0x1fb)](),_0x72528c=Di/_0xb0f83d,_0x5ba214=new _0x402196(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce,'height':_0x44d0c8,'width':Ri,'fill':_0x462450||_0x16e0cb(_0x212370['black'],0x0),'strokeWidth':_0x72528c,'stroke':Ni,'evented':!0x0});this[_0x4ff942(0x325)]=_0x5ba214,this['_scene'][_0x4ff942(0x25a)](_0x5ba214,_0x437769);const _0x3afa62=new _0x402196(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce-ge/0x2,'height':ge,'width':ge,'fill':_0x462450||_0x16e0cb(_0x212370[_0x4ff942(0x244)],0x0),'strokeWidth':0x0,'stroke':_0x462450||_0x16e0cb(_0x212370[_0x4ff942(0x244)],0x0),'evented':!0x1});this['_anchorDot']=_0x3afa62,this[_0x4ff942(0x2ef)][_0x4ff942(0x25a)](_0x3afa62,_0x437769);const _0x317807=new ue(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce-J,'text':_0x1eecc8,'color':_0x462450});this['_textBubble']=_0x317807,this[_0x4ff942(0x2ef)][_0x4ff942(0x25a)](_0x317807,_0x437769),this['_hover']=!0x1;}[_0x1d41aa(0x269)](){const _0x31aece=_0x1d41aa,_0x17f52a=this['_anchor'][_0x31aece(0x257)]['subscribeEvent'](()=>{const _0x24ad0d=_0x31aece;this[_0x24ad0d(0x353)]=!0x0;}),_0x5c37a0=this['_anchor'][_0x31aece(0x2dc)]['subscribeEvent'](()=>{const _0x522b5e=_0x31aece;this['_hideTimer']&&clearTimeout(this[_0x522b5e(0x336)]),this[_0x522b5e(0x336)]=setTimeout(()=>{const _0x65233a=_0x522b5e;this[_0x65233a(0x353)]=!0x1;},0x7d0);});return()=>{const _0x105dfe=_0x31aece;_0x17f52a['unsubscribe'](),_0x5c37a0[_0x105dfe(0x347)]();};}['_drawTextRange'](_0x1c982f,_0x1474f8,_0x23d459,_0x4214b7){const _0x47c94c=_0x1d41aa,_0x1af91f=new _0x1c1677(_0x1c982f)['setAlpha'](0.2)[_0x47c94c(0x286)](),_0x1cb153=new _0x299553(bi+_0x575d2b(G),{'pointsGroup':_0x1474f8,'fill':_0x1af91f||_0x16e0cb(_0x212370['black'],0.2),'left':_0x23d459,'top':_0x4214b7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47c94c(0x37f)](_0x1cb153),this[_0x47c94c(0x2ef)][_0x47c94c(0x25a)](_0x1cb153,_0x437769);}[_0x1d41aa(0x2a0)](_0x5b396c,_0x329227,_0x4a14ac,_0x12b44a){const _0x1bf290=_0x1d41aa,_0x1dac99=new _0x1c1677(_0x5b396c)[_0x1bf290(0x37e)](0.2)[_0x1bf290(0x286)](),_0x4ddeb1=new _0x299553(Ti+_0x575d2b(G),{'pointsGroup':_0x329227,'fill':_0x1dac99||_0x16e0cb(_0x212370[_0x1bf290(0x244)],0.2),'left':_0x4a14ac,'top':_0x12b44a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bf290(0x2e6)][_0x1bf290(0x37f)](_0x4ddeb1),this['_scene'][_0x1bf290(0x25a)](_0x4ddeb1,_0x437769);}[_0x1d41aa(0x388)](_0x56ab95){const _0x140875=_0x56ab95[0x0],_0x2e1198=_0x140875[0x0],_0x1002cf=_0x140875[0x2],{x:_0x17a86c,y:_0x3c4c62}=_0x2e1198,{x:_0x303c0a,y:_0x4abca0}=_0x1002cf;return{'left':_0x17a86c,'top':_0x3c4c62,'width':_0x303c0a-_0x17a86c,'height':_0x4abca0-_0x3c4c62};}[_0x1d41aa(0x1fb)](){const _0x338ab0=_0x1d41aa,{scaleX:_0x454571,scaleY:_0x2d1260}=this[_0x338ab0(0x2ef)]['getAncestorScale']();return Math[_0x338ab0(0x319)](_0x454571,_0x2d1260);}}var Ui=Object[_0x1d41aa(0x248)],Mi=(_0x1ddfdc,_0x3e6a07,_0x196602,_0x7efb82)=>{const _0x201d22=_0x1d41aa;for(var _0x3e32e4=_0x7efb82>0x1?void 0x0:_0x7efb82?Ui(_0x3e6a07,_0x196602):_0x3e6a07,_0x28e31e=_0x1ddfdc[_0x201d22(0x25c)]-0x1,_0x56dcf5;_0x28e31e>=0x0;_0x28e31e--)(_0x56dcf5=_0x1ddfdc[_0x28e31e])&&(_0x3e32e4=_0x56dcf5(_0x3e32e4)||_0x3e32e4);return _0x3e32e4;},q=(_0x3901b9,_0x1887ab)=>(_0x1b1e67,_0x17d2fa)=>_0x1887ab(_0x1b1e67,_0x17d2fa,_0x3901b9);let Le=class extends _0x85e892{constructor(_0x41645e,_0x17c9ad,_0x56e4db,_0x113ae7,_0x1ec601){const _0x42573f=_0x1d41aa;super(),_(this,_0x42573f(0x1b0),[]),_(this,_0x42573f(0x321),[]),(this['_context']=_0x41645e,this[_0x42573f(0x3a4)]=_0x17c9ad,this[_0x42573f(0x33c)]=_0x56e4db,this[_0x42573f(0x354)]=_0x113ae7,this[_0x42573f(0x265)]=_0x1ec601,this[_0x42573f(0x2a7)]());}[_0x1d41aa(0x2a7)](){const _0xafed3f=_0x1d41aa,_0x4e9920=this['_context'][_0xafed3f(0x1a9)],_0x27f375=this[_0xafed3f(0x3a4)];this[_0xafed3f(0x34b)](_0x1d7e6d([this[_0xafed3f(0x33c)][_0xafed3f(0x377)](_0x4e9920),this[_0xafed3f(0x265)][_0xafed3f(0x23b)]])[_0xafed3f(0x27b)](_0x7c1c2c(([_0x571f71,_0x3bb055])=>({'skeleton':_0x27f375['getSkeleton'](),'cursors':[..._0x571f71[_0xafed3f(0x2f4)]()][_0xafed3f(0x2a8)](_0x1e1621=>({..._0x1e1621,'color':this['_themeService'][_0xafed3f(0x356)](_0x1e1621[_0xafed3f(0x1e0)])}))})))[_0xafed3f(0x266)](_0x396568=>{const _0x8b5c87=_0xafed3f;if(this['_removeCollabCursors'](),_0x396568){const {skeleton:_0x4f78ce,cursors:_0x3877bd}=_0x396568;this[_0x8b5c87(0x2d7)](_0x4f78ce,_0x3877bd);}})),this[_0xafed3f(0x1d6)](),this[_0xafed3f(0x32d)]();}['_updateCollabCursors'](_0x3462f3,_0x38e78b){const _0x481c77=_0x1d41aa,{scene:_0x2aed7f,mainComponent:_0x18029e}=this['_context'],_0x2593a1=_0x38e78b[_0x481c77(0x38b)](_0xdc9147=>new qe(_0xdc9147,_0x2aed7f,_0x3462f3,_0x18029e));this[_0x481c77(0x1b0)]=_0x2593a1,this[_0x481c77(0x321)]=_0x38e78b;}[_0x1d41aa(0x2fe)](){const _0x148a25=_0x1d41aa;this['_removeCollabCursors']();const {scene:_0x48ea48,mainComponent:_0x2fcf50}=this[_0x148a25(0x23a)],_0xdbb620=this[_0x148a25(0x3a4)][_0x148a25(0x1a4)](),_0x101a3c=this[_0x148a25(0x321)][_0x148a25(0x38b)](_0xe20957=>new qe(_0xe20957,_0x48ea48,_0xdbb620,_0x2fcf50));this['_cursorShapes']=_0x101a3c;}[_0x1d41aa(0x2a3)](){const _0x24852d=_0x1d41aa;this[_0x24852d(0x1b0)]['forEach'](_0xe2d8b2=>_0xe2d8b2[_0x24852d(0x27e)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x143166=_0x1d41aa,_0x2c4939=[_0x331b82['id']];this[_0x143166(0x34b)](this[_0x143166(0x354)]['onCommandExecuted'](_0x238c5d=>{const _0x98488b=_0x143166;_0x2c4939['includes'](_0x238c5d['id'])&&_0x238c5d[_0x98488b(0x2f9)]['unitId']===this[_0x98488b(0x23a)][_0x98488b(0x1a9)]&&this[_0x98488b(0x2fe)]();}));}[_0x1d41aa(0x1d6)](){const _0x101ba0=_0x1d41aa;this[_0x101ba0(0x34b)](_0x2de1b0(this[_0x101ba0(0x23a)][_0x101ba0(0x30c)][_0x101ba0(0x205)])[_0x101ba0(0x27b)](_0x5ce252(_0x3bc462=>_0x3bc462[_0x101ba0(0x1ff)]===_0x407e04['resize']),_0x3d96f3(0x10))[_0x101ba0(0x266)](()=>{const _0x3c15a1=_0x101ba0;this[_0x3c15a1(0x2fe)]();}));}};Le=Mi([q(0x1,_0xcce005(_0x1948fb)),q(0x2,_0xcce005(F)),q(0x3,_0x268a57),q(0x4,_0xcce005(_0x4aa273))],Le);const Li=0x1,Pi=1.5;class wi extends _0x55a175{constructor(_0x555d12,_0x334410){const _0xdb2fc6=_0x1d41aa;super(_0x555d12,_0x334410),_(this,'_color'),_(this,_0xdb2fc6(0x251),!0x1),_(this,_0xdb2fc6(0x2dd)),_(this,_0xdb2fc6(0x1db),''),_(this,_0xdb2fc6(0x36b),_0xdb2fc6(0x29f)),_(this,_0xdb2fc6(0x1b2)),(_0x334410&&this[_0xdb2fc6(0x313)](_0x334410),this[_0xdb2fc6(0x257)][_0xdb2fc6(0x2a2)](()=>this[_0xdb2fc6(0x313)]({'hovered':!0x0})),this[_0xdb2fc6(0x2dc)][_0xdb2fc6(0x2a2)](()=>this[_0xdb2fc6(0x313)]({'hovered':!0x1})));}[_0x1d41aa(0x313)](_0x30f191){const _0x26bf9f=_0x1d41aa;var _0x1d3a96,_0x43cf70,_0x1b2b68,_0x38ba38,_0x226d59,_0x871f91;this[_0x26bf9f(0x28c)]=(_0x1d3a96=_0x30f191[_0x26bf9f(0x1e0)])!=null?_0x1d3a96:this[_0x26bf9f(0x28c)],this[_0x26bf9f(0x251)]=(_0x43cf70=_0x30f191[_0x26bf9f(0x202)])!=null?_0x43cf70:this['_hovered'],this[_0x26bf9f(0x2dd)]=(_0x1b2b68=_0x30f191[_0x26bf9f(0x298)])!=null?_0x1b2b68:this[_0x26bf9f(0x2dd)],this['_name']=(_0x38ba38=_0x30f191[_0x26bf9f(0x35e)])!=null?_0x38ba38:this[_0x26bf9f(0x1db)],this[_0x26bf9f(0x36b)]=(_0x226d59=_0x30f191['labelPosition'])!=null?_0x226d59:this[_0x26bf9f(0x36b)],this[_0x26bf9f(0x1b2)]=(_0x871f91=_0x30f191[_0x26bf9f(0x242)])!=null?_0x871f91:this[_0x26bf9f(0x1b2)],this[_0x26bf9f(0x1ad)]({'width':_0x30f191[_0x26bf9f(0x39a)],'height':_0x30f191[_0x26bf9f(0x2d3)]});}[_0x1d41aa(0x233)](_0x53821a){const _0x1de0cd=_0x1d41aa,{row:_0x2df736,column:_0x1c5d16}=_0x53821a;if(_0x2df736>=this['_range'][_0x1de0cd(0x1f3)]&&_0x2df736<=this[_0x1de0cd(0x2dd)]['endRow']&&_0x1c5d16>=this[_0x1de0cd(0x2dd)]['startColumn']&&_0x1c5d16<=this[_0x1de0cd(0x2dd)]['endColumn']){this[_0x1de0cd(0x313)]({'hovered':!0x0});return;}this[_0x1de0cd(0x313)]({'hovered':!0x1});}[_0x1d41aa(0x2ee)](_0x4f581d){return!0x1;}[_0x1d41aa(0x378)](_0x3ecbfc){const _0x3b0515=_0x1d41aa;_0x402196[_0x3b0515(0x24e)](_0x3ecbfc,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x3b0515(0x28c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3b0515(0x251)]&&(_0x3ecbfc[_0x3b0515(0x24d)](),_0x3ecbfc[_0x3b0515(0x35b)](0x1,0x0,0x0,0x1,this[_0x3b0515(0x39a)],this[_0x3b0515(0x36b)]===_0x3b0515(0x239)?0x0:-J),ue[_0x3b0515(0x24e)](_0x3ecbfc,{'text':this[_0x3b0515(0x1db)],'color':this['_color']}),_0x3ecbfc[_0x3b0515(0x2aa)]());}}var Ai=Object[_0x1d41aa(0x248)],yi=(_0x260388,_0x41a5a0,_0x410e63,_0x3d841a)=>{for(var _0x373be9=_0x3d841a>0x1?void 0x0:_0x3d841a?Ai(_0x41a5a0,_0x410e63):_0x41a5a0,_0x2ac570=_0x260388['length']-0x1,_0x5dc64a;_0x2ac570>=0x0;_0x2ac570--)(_0x5dc64a=_0x260388[_0x2ac570])&&(_0x373be9=_0x5dc64a(_0x373be9)||_0x373be9);return _0x373be9;},pe=(_0x56d718,_0x324cb0)=>(_0x56a7b1,_0x1fa44d)=>_0x324cb0(_0x56a7b1,_0x1fa44d,_0x56d718);const $i=0x1389;let Pe=class extends _0x85e892{constructor(_0x4983a5,_0x2cf139,_0x5d5f74,_0x3b813d){const _0x18b9cf=_0x1d41aa;super(),_(this,_0x18b9cf(0x321),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x4983a5,this[_0x18b9cf(0x324)]=_0x2cf139,this['_collabCursorController']=_0x5d5f74,this[_0x18b9cf(0x265)]=_0x3b813d,this[_0x18b9cf(0x2a7)]());}[_0x1d41aa(0x2a7)](){const _0x2a8d54=_0x1d41aa;this[_0x2a8d54(0x324)]['currentSkeleton$']['pipe'](_0x27174a(this[_0x2a8d54(0x1ab)]),_0x3ea857(_0x5d3750=>{const _0x122c91=_0x2a8d54;if(_0x5d3750){const _0x18c754=_0x5d3750['sheetId'];return _0x1d7e6d(this['_collabCursorController'][_0x122c91(0x377)](this[_0x122c91(0x23a)]['unitId']),this[_0x122c91(0x265)][_0x122c91(0x23b)])[_0x122c91(0x27b)](_0x7c1c2c(([_0x395b4c,_0x125245])=>{const _0x20ce91=_0x122c91,_0x5ad520=new Map();return _0x395b4c[_0x20ce91(0x384)]((_0x1d7fc8,_0x18adfd)=>{const _0x2f6f9a=_0x20ce91;if(_0x1d7fc8['sheetID']===_0x18c754){const _0x4c9ca1={..._0x1d7fc8};_0x4c9ca1[_0x2f6f9a(0x1e0)]=this[_0x2f6f9a(0x265)][_0x2f6f9a(0x356)](_0x1d7fc8[_0x2f6f9a(0x1e0)]),_0x5ad520[_0x2f6f9a(0x36a)](_0x18adfd,_0x4c9ca1);}}),{'skeleton':_0x5d3750,'cursors':_0x5ad520};}));}return _0x554421({'skeleton':null,'cursors':new Map()});}))[_0x2a8d54(0x266)](({skeleton:_0x37c720,cursors:_0x22d1a1})=>{const _0x4d17fd=_0x2a8d54;this[_0x4d17fd(0x2a3)](),_0x37c720&&this[_0x4d17fd(0x2d7)](_0x37c720,_0x22d1a1);}),this[_0x2a8d54(0x324)]['currentSkeleton$']['subscribe'](_0x35c735=>{const _0x39ff95=_0x2a8d54;if(_0x35c735==null)return;const {skeleton:_0x253246}=_0x35c735,{scene:_0x45e26f}=this[_0x39ff95(0x23a)];_0x45e26f[_0x39ff95(0x346)][_0x39ff95(0x2a2)](_0xd88edf(_0x294697=>{const _0x24b2f1=_0x39ff95;var _0x32323b,_0x451f55;const {offsetX:_0x1b1477,offsetY:_0x5812f8}=_0x294697,{x:_0xcfe86e,y:_0x5c454f}=_0x45e26f[_0x24b2f1(0x2df)](_0x4c714f['FromArray']([_0x1b1477,_0x5812f8])),{scaleX:_0x44b92f,scaleY:_0x254675}=_0x45e26f[_0x24b2f1(0x2f1)](),_0xd5cdd8=_0x45e26f[_0x24b2f1(0x210)](_0x9746ba[_0x24b2f1(0x255)]),_0x2e89c7=_0x45e26f[_0x24b2f1(0x220)](_0x4c714f[_0x24b2f1(0x34d)]([_0xcfe86e,_0x5c454f]),_0xd5cdd8),_0x3aea9c=_0x253246[_0x24b2f1(0x1f6)](_0x1b1477,_0x5812f8,_0x44b92f,_0x254675,_0x2e89c7);((_0x32323b=this[_0x24b2f1(0x303)])==null?void 0x0:_0x32323b[_0x24b2f1(0x315)])===_0x3aea9c[_0x24b2f1(0x315)]&&((_0x451f55=this[_0x24b2f1(0x303)])==null?void 0x0:_0x451f55[_0x24b2f1(0x1e7)])===_0x3aea9c[_0x24b2f1(0x1e7)]||this[_0x24b2f1(0x321)][_0x24b2f1(0x384)](_0x20402b=>{const _0x2b1c14=_0x24b2f1;_0x20402b[_0x2b1c14(0x233)](_0x3aea9c);});},0x64));});}['_updateCollabCursors'](_0x13dda4,_0x2ed68a){const _0x176a88=_0x1d41aa;var _0x129494;const _0x5f547b=(_0x129494=this[_0x176a88(0x324)][_0x176a88(0x1a3)]())==null?void 0x0:_0x129494[_0x176a88(0x1a5)];if(!_0x5f547b)return;const _0x170768=this[_0x176a88(0x2ab)]();if(!_0x170768)return;this[_0x176a88(0x321)][_0x176a88(0x384)](_0x24e79b=>{const _0x24cf9d=_0x176a88;_0x24e79b[_0x24cf9d(0x1d5)]();});const {scene:_0x26a83c}=_0x170768,_0x5a6d3a=xi(Array[_0x176a88(0x337)](_0x2ed68a[_0x176a88(0x2f4)]()))[_0x176a88(0x38b)](_0x101a4d=>{const _0x126ccb=_0x176a88,{color:_0x414477,range:_0x424c05,name:_0x379a07,selection:_0x1a5caf,sheetID:_0x43fed7}=_0x101a4d,{startColumn:_0x2ca7d0,startRow:_0x20372c,endColumn:_0x59b702,endRow:_0x2d826a}=_0x424c05,_0x367c07=_0x1ffdb5(_0x20372c,_0x2ca7d0,_0x26a83c,_0x5f547b),_0x396697=_0x1ffdb5(_0x2d826a,_0x59b702,_0x26a83c,_0x5f547b),{columnHeaderHeightAndMarginTop:_0x34f3f1}=_0x5f547b,{startX:_0xcb620c,startY:_0x49ee22}=_0x367c07,{endX:_0x3550e7,endY:_0x19b367}=_0x396697,_0x4b4722=_0x3550e7-_0xcb620c,_0x59a86a=_0x19b367-_0x49ee22,_0x334b3a={'labelPosition':_0x49ee22-_0x34f3f1>=J?_0x126ccb(0x29f):_0x126ccb(0x239),'sheetID':_0x43fed7,'range':_0x424c05,'color':_0x414477,'name':_0x379a07,'selection':_0x1a5caf,'left':_0xcb620c,'top':_0x49ee22,'width':_0x4b4722,'height':_0x59a86a,'evented':!0x1,'zIndex':$i};return new wi(_0x379a07,_0x334b3a);});_0x26a83c[_0x176a88(0x20f)](_0x5a6d3a,Li),this['_cursors']=new Set(_0x5a6d3a);}[_0x1d41aa(0x2a3)](){const _0x173cb8=_0x1d41aa;var _0x3ed16a;(_0x3ed16a=this['_cursors'])==null||_0x3ed16a[_0x173cb8(0x384)](_0x16a06e=>_0x16a06e[_0x173cb8(0x27e)]());}[_0x1d41aa(0x2ab)](){const _0x1751a8=_0x1d41aa;return _0x2629ad(this[_0x1751a8(0x23a)][_0x1751a8(0x311)],this['_context']);}};Pe=yi([pe(0x1,_0xcce005(_0x380795)),pe(0x2,_0xcce005(F)),pe(0x3,_0xcce005(_0x4aa273))],Pe);function xi(_0x13ef00){const _0x208300=_0x1d41aa,_0x5cc704=new Map();return _0x13ef00[_0x208300(0x384)](_0x28bb68=>{const _0x386f78=_0x208300;if(_0x5cc704['has'](_0x28bb68[_0x386f78(0x22c)])){const _0x48e342=_0x5cc704[_0x386f78(0x217)](_0x28bb68['selection']);_0x48e342[_0x386f78(0x35e)]+=',\x20'+_0x28bb68['name'];}else _0x5cc704[_0x386f78(0x36a)](_0x28bb68[_0x386f78(0x22c)],_0x28bb68);}),Array[_0x208300(0x337)](_0x5cc704[_0x208300(0x2f4)]());}var v=function(){const _0x3dde02=_0x1d41aa;return v=Object[_0x3dde02(0x31f)]||function(_0x303fd3){const _0x36c41b=_0x3dde02;for(var _0x1ab404,_0x2bc74a=0x1,_0x53415c=arguments[_0x36c41b(0x25c)];_0x2bc74a<_0x53415c;_0x2bc74a++){_0x1ab404=arguments[_0x2bc74a];for(var _0x5cfa17 in _0x1ab404)Object[_0x36c41b(0x385)][_0x36c41b(0x329)][_0x36c41b(0x379)](_0x1ab404,_0x5cfa17)&&(_0x303fd3[_0x5cfa17]=_0x1ab404[_0x5cfa17]);}return _0x303fd3;},v[_0x3dde02(0x39c)](this,arguments);},Bi=function(_0x51500d,_0x8415ba){const _0x43dc2b=_0x1d41aa;var _0x57fd2e={};for(var _0x9c0ff9 in _0x51500d)Object[_0x43dc2b(0x385)][_0x43dc2b(0x329)]['call'](_0x51500d,_0x9c0ff9)&&_0x8415ba[_0x43dc2b(0x1aa)](_0x9c0ff9)<0x0&&(_0x57fd2e[_0x9c0ff9]=_0x51500d[_0x9c0ff9]);if(_0x51500d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3c2622=0x0,_0x9c0ff9=Object[_0x43dc2b(0x374)](_0x51500d);_0x3c2622<_0x9c0ff9['length'];_0x3c2622++)_0x8415ba[_0x43dc2b(0x1aa)](_0x9c0ff9[_0x3c2622])<0x0&&Object[_0x43dc2b(0x385)]['propertyIsEnumerable'][_0x43dc2b(0x379)](_0x51500d,_0x9c0ff9[_0x3c2622])&&(_0x57fd2e[_0x9c0ff9[_0x3c2622]]=_0x51500d[_0x9c0ff9[_0x3c2622]]);}return _0x57fd2e;},Fe=_0x568c11(function(_0xd5a21,_0x1f20d6){const _0x347ab4=_0x1d41aa;var _0x11ffe7=_0xd5a21['icon'],_0xe59045=_0xd5a21['id'],_0x5424ac=_0xd5a21[_0x347ab4(0x24f)],_0x1dd378=_0xd5a21[_0x347ab4(0x39e)],_0x321c9a=Bi(_0xd5a21,['icon','id',_0x347ab4(0x24f),'extend']),_0x3705ee=_0x347ab4(0x22a)[_0x347ab4(0x394)](_0xe59045,'\x20')[_0x347ab4(0x394)](_0x5424ac||'')[_0x347ab4(0x218)](),_0x4adb93=_0x38af19('_'['concat'](Fi()));return Dt(_0x11ffe7,''[_0x347ab4(0x394)](_0xe59045),{'defIds':_0x11ffe7[_0x347ab4(0x235)],'idSuffix':_0x4adb93[_0x347ab4(0x2ed)]},v({'ref':_0x1f20d6,'className':_0x3705ee},_0x321c9a),_0x1dd378);});function Dt(_0x16f12e,_0x412ddd,_0x126850,_0x291103,_0x5224cb){const _0x3076cb=_0x1d41aa;return _0x225279(_0x16f12e['tag'],v(v({'key':_0x412ddd},ki(_0x16f12e,_0x126850,_0x5224cb)),_0x291103),(Hi(_0x16f12e,_0x126850)[_0x3076cb(0x287)]||[])[_0x3076cb(0x38b)](function(_0xfdd62b,_0x354ba1){const _0x19f50b=_0x3076cb;return Dt(_0xfdd62b,''['concat'](_0x412ddd,'-')[_0x19f50b(0x394)](_0x16f12e[_0x19f50b(0x300)],'-')[_0x19f50b(0x394)](_0x354ba1),_0x126850,void 0x0,_0x5224cb);}));}function ki(_0x3ac80c,_0x28bc20,_0xd91dd){const _0x8b1780=_0x1d41aa;var _0x447d98=v({},_0x3ac80c['attrs']);_0xd91dd!=null&&_0xd91dd[_0x8b1780(0x389)]&&_0x447d98[_0x8b1780(0x2d5)]===_0x8b1780(0x389)&&(_0x447d98['fill']=_0xd91dd['colorChannel1']),_0x3ac80c[_0x8b1780(0x300)]==='mask'&&_0x447d98['id']&&(_0x447d98['id']=_0x447d98['id']+_0x28bc20[_0x8b1780(0x26a)]),Object['entries'](_0x447d98)[_0x8b1780(0x384)](function(_0x5838cb){const _0x3120ed=_0x8b1780;var _0x33656b=_0x5838cb[0x0],_0x25e429=_0x5838cb[0x1];_0x33656b===_0x3120ed(0x2ff)&&typeof _0x25e429==_0x3120ed(0x349)&&(_0x447d98[_0x33656b]=_0x25e429[_0x3120ed(0x282)](/url\(#(.*)\)/,'url(#$1'[_0x3120ed(0x394)](_0x28bc20[_0x3120ed(0x26a)],')')));});var _0x285794=_0x28bc20[_0x8b1780(0x235)];return!_0x285794||_0x285794[_0x8b1780(0x25c)]===0x0||(_0x3ac80c[_0x8b1780(0x300)]===_0x8b1780(0x2bc)&&_0x447d98[_0x8b1780(0x1d0)]&&(_0x447d98['xlink:href']=_0x447d98[_0x8b1780(0x1d0)]+_0x28bc20[_0x8b1780(0x26a)]),Object[_0x8b1780(0x390)](_0x447d98)[_0x8b1780(0x384)](function(_0x20cfc5){const _0x3b57f4=_0x8b1780;var _0x1da12a=_0x20cfc5[0x0],_0x89e729=_0x20cfc5[0x1];typeof _0x89e729==_0x3b57f4(0x349)&&(_0x447d98[_0x1da12a]=_0x89e729[_0x3b57f4(0x282)](/url\(#(.*)\)/,_0x3b57f4(0x223)[_0x3b57f4(0x394)](_0x28bc20['idSuffix'],')')));})),_0x447d98;}function Hi(_0x3c802c,_0xdc9860){const _0x3ccb10=_0x1d41aa;var _0x15e300,_0x4ce9d1=_0xdc9860[_0x3ccb10(0x235)];return!_0x4ce9d1||_0x4ce9d1[_0x3ccb10(0x25c)]===0x0?_0x3c802c:_0x3c802c['tag']===_0x3ccb10(0x212)&&(!((_0x15e300=_0x3c802c[_0x3ccb10(0x287)])===null||_0x15e300===void 0x0)&&_0x15e300[_0x3ccb10(0x25c)])?v(v({},_0x3c802c),{'children':_0x3c802c[_0x3ccb10(0x287)][_0x3ccb10(0x38b)](function(_0x33f189){const _0x2cfcb3=_0x3ccb10;return typeof _0x33f189[_0x2cfcb3(0x1ef)]['id']=='string'&&_0x4ce9d1&&_0x4ce9d1[_0x2cfcb3(0x357)](_0x33f189[_0x2cfcb3(0x1ef)]['id'])?v(v({},_0x33f189),{'attrs':v(v({},_0x33f189[_0x2cfcb3(0x1ef)]),{'id':_0x33f189[_0x2cfcb3(0x1ef)]['id']+_0xdc9860[_0x2cfcb3(0x26a)]})}):_0x33f189;})}):_0x3c802c;}function Fi(){const _0x334225=_0x1d41aa;return Math[_0x334225(0x21f)]()[_0x334225(0x2d8)](0x24)[_0x334225(0x364)](0x2,0x8);}Fe['displayName']=_0x1d41aa(0x1cd);var Yi={'tag':'svg','attrs':{'xmlns':_0x1d41aa(0x291),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1d41aa(0x317),'height':_0x1d41aa(0x317)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d41aa(0x1cc)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'stroke':_0x1d41aa(0x339),'d':_0x1d41aa(0x22e),'strokeLinecap':_0x1d41aa(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d41aa(0x212),'attrs':{},'children':[{'tag':_0x1d41aa(0x351),'attrs':{'id':_0x1d41aa(0x36d)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'fill':_0x1d41aa(0x1e1),'d':_0x1d41aa(0x20d)}}]}]}],'defIds':[_0x1d41aa(0x36d)]},Nt=_0x568c11(function(_0xc978da,_0x1275f6){const _0x1b7bdb=_0x1d41aa;return _0x225279(Fe,Object[_0x1b7bdb(0x31f)]({},_0xc978da,{'id':_0x1b7bdb(0x396),'ref':_0x1275f6,'icon':Yi}));});Nt[_0x1d41aa(0x1b8)]=_0x1d41aa(0x1a8);var ji={'tag':_0x1d41aa(0x1c8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d41aa(0x250),'viewBox':_0x1d41aa(0x33d),'width':'1em','height':_0x1d41aa(0x317)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d41aa(0x3a1)},'children':[{'tag':'path','attrs':{'stroke':_0x1d41aa(0x339),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x1d41aa(0x25e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d41aa(0x1ee)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'fill':_0x1d41aa(0x1e1),'d':_0x1d41aa(0x20d),'transform':_0x1d41aa(0x1f4)}}]}]}],'defIds':[_0x1d41aa(0x1ee)]},Ut=_0x568c11(function(_0x4570cd,_0x471d1e){const _0x50206e=_0x1d41aa;return _0x225279(Fe,Object[_0x50206e(0x31f)]({},_0x4570cd,{'id':_0x50206e(0x1bb),'ref':_0x471d1e,'icon':ji}));});Ut[_0x1d41aa(0x1b8)]=_0x1d41aa(0x381);function Vi(_0x257ab3){const _0x5ef2ea=_0x1d41aa;switch(_0x257ab3){case _0x301b01[_0x5ef2ea(0x297)]:return'collabStatus.offline';case _0x301b01[_0x5ef2ea(0x36f)]:return'collabStatus.conflict';case _0x301b01[_0x5ef2ea(0x216)]:return _0x5ef2ea(0x1fa);case _0x301b01['NOT_COLLAB']:return _0x5ef2ea(0x2c5);case _0x301b01[_0x5ef2ea(0x1af)]:case _0x301b01[_0x5ef2ea(0x302)]:return _0x5ef2ea(0x206);case _0x301b01['SYNCED']:case _0x301b01[_0x5ef2ea(0x2fb)]:return _0x5ef2ea(0x200);}}function Wi(_0xd50b96){const _0x1769e6=_0x1d41aa,{status$:_0x23a0ba}=_0xd50b96,_0x438f66=_0x4b86c6(_0x23a0ba,_0x301b01['NOT_COLLAB']),_0x56eb6c=_0xd3ad5(_0x269fd9),_0x3b3fb8=_0xd3ad5(_0x1c2fc3),_0x12a1cc=_0x438f66!==_0x301b01[_0x1769e6(0x297)],_0x18614a=_0x56eb6c['t'](Vi(_0x438f66)),_0xd2fc98=_0x12a1cc?_0x56ab7c(Ut,{}):_0x56ab7c(Nt,{}),_0x10db1a=_0x198673(()=>{const _0x4144ee=_0x1769e6;_0x12a1cc||_0x3b3fb8[_0x4144ee(0x380)]();},[_0x12a1cc,_0x3b3fb8]);function _0x24f2b9(){const _0x4a29a5=_0x1769e6;return _0x5d53a3('div',{'className':_0x4a29a5(0x2c3),'onClick':_0x10db1a,'children':[_0x56ab7c('div',{'className':_0x484ea5(_0x4a29a5(0x2ac),{'univer-text-green-500':_0x12a1cc,'univer-text-red-500':!_0x12a1cc}),'children':_0xd2fc98}),_0x56ab7c(_0x4a29a5(0x29c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x18614a})]});}return _0x12a1cc?_0x24f2b9():_0x56ab7c(_0x11b0bf,{'title':_0x56eb6c['t'](_0x1769e6(0x1bf)),'children':_0x24f2b9()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x25632e,_0x7e985,_0x55bfc1,_0x4421bf)=>{const _0x85462b=_0x1d41aa;for(var _0x7e57bd=_0x4421bf>0x1?void 0x0:_0x4421bf?Xi(_0x7e985,_0x55bfc1):_0x7e985,_0x3b1530=_0x25632e[_0x85462b(0x25c)]-0x1,_0x581364;_0x3b1530>=0x0;_0x3b1530--)(_0x581364=_0x25632e[_0x3b1530])&&(_0x7e57bd=_0x581364(_0x7e57bd)||_0x7e57bd);return _0x7e57bd;},ee=(_0x5e57ab,_0xa34b16)=>(_0x3be997,_0x1e7d0b)=>_0xa34b16(_0x3be997,_0x1e7d0b,_0x5e57ab);let se=class extends _0x2800ff{constructor(_0x45c933,_0x4fc8ae,_0x4a22c4,_0x24c1f5){const _0x29aac5=_0x1d41aa;super(),_(this,'_status$',new _0x5a2de1(_0x301b01[_0x29aac5(0x1f7)])),(this[_0x29aac5(0x2a5)]=_0x45c933,this[_0x29aac5(0x34f)]=_0x4fc8ae,this[_0x29aac5(0x1e3)]=_0x4a22c4,this[_0x29aac5(0x2d4)]=_0x24c1f5,this[_0x29aac5(0x1bd)](),this[_0x29aac5(0x3a0)]());}[_0x1d41aa(0x3a0)](){const _0x28365c=_0x1d41aa;this[_0x28365c(0x34b)](this[_0x28365c(0x2a5)][_0x28365c(0x1a1)][_0x28365c(0x27b)](_0x61b8f7(()=>{const _0x34043c=_0x28365c,_0x44ebac=this[_0x34043c(0x2a5)][_0x34043c(0x21c)]();return _0x44ebac?this['_collaborationController']['getCollabEntity$'](_0x44ebac[_0x34043c(0x25f)]()):_0x554421(null);}),_0x61b8f7(_0x5a2ec6=>_0x5a2ec6?_0x5a2ec6['status$']:_0x554421(_0x301b01[_0x28365c(0x1f7)])))[_0x28365c(0x266)](_0x5ed244=>{const _0x3b69bb=_0x28365c;this[_0x3b69bb(0x1bc)][_0x3b69bb(0x3a3)](_0x5ed244);}));}['_initStatusComponent'](){const _0x14a2a2=_0x1d41aa;this[_0x14a2a2(0x34b)](this[_0x14a2a2(0x2d4)]['registerComponent'](_0x5eb0d7[_0x14a2a2(0x31b)],()=>_0x549c57(Ki({'status$':this[_0x14a2a2(0x1bc)][_0x14a2a2(0x1ed)]()}),this[_0x14a2a2(0x34f)])));}};se=Gi([ee(0x0,_0x3c49dc),ee(0x1,_0xcce005(_0x5c6f4f)),ee(0x2,_0xcce005(_0x56d127)),ee(0x3,_0x303682)],se);function Ki(_0x496622){const {status$:_0x94d2d5}=_0x496622;return function(){return _0x56ab7c(Wi,{'status$':_0x94d2d5});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4490f0,_0x553287,_0x5b1a1d,_0x52cb68)=>{const _0x736712=_0x1d41aa;for(var _0x176fa1=_0x52cb68>0x1?void 0x0:_0x52cb68?zi(_0x553287,_0x5b1a1d):_0x553287,_0x13f35d=_0x4490f0[_0x736712(0x25c)]-0x1,_0x541f52;_0x13f35d>=0x0;_0x13f35d--)(_0x541f52=_0x4490f0[_0x13f35d])&&(_0x176fa1=_0x541f52(_0x176fa1)||_0x176fa1);return _0x176fa1;},B=(_0x24519a,_0x3cdeb5)=>(_0x17797c,_0x36d478)=>_0x3cdeb5(_0x17797c,_0x36d478,_0x24519a);let ie=class extends _0x2800ff{constructor(_0x276ffc,_0x2c4f96,_0x40e16a,_0x3dbda7,_0x21427a,_0x478455){const _0x1eb75b=_0x1d41aa;super(),this['_beforeCloseService']=_0x276ffc,this[_0x1eb75b(0x2e7)]=_0x2c4f96,this[_0x1eb75b(0x213)]=_0x40e16a,this['_messageService']=_0x3dbda7,this[_0x1eb75b(0x30a)]=_0x21427a,this['_localeService']=_0x478455,this[_0x1eb75b(0x290)](),this[_0x1eb75b(0x1ea)]();}['_setupBeforeClosingHandler'](){const _0x5124c7=_0x1d41aa;this[_0x5124c7(0x34b)](this[_0x5124c7(0x38a)]['registerBeforeClose'](()=>{const _0x38e3d7=_0x5124c7;if(this['_localCacheService']['saveTaskMap'][_0x38e3d7(0x24a)])return this[_0x38e3d7(0x316)]['t'](_0x38e3d7(0x31c));}));}['_initEvent'](){const _0x39d5fc=_0x1d41aa;this[_0x39d5fc(0x34b)](this['_collaborationUIEventService'][_0x39d5fc(0x259)][_0x39d5fc(0x266)](_0x3905c2=>{const _0x4f3c2c=_0x39d5fc;_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x2a9)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this['_localeService']['t'](_0x4f3c2c(0x386))}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x1e8)]&&this['_messageService'][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this[_0x4f3c2c(0x316)]['t'](_0x4f3c2c(0x2b2))}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x365)]&&this['_notificationService'][_0x4f3c2c(0x1be)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x4f3c2c(0x279)),'type':_0x4f3c2c(0x318),'duration':0x0}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x36f)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63['Error'],'content':this[_0x4f3c2c(0x316)]['t'](_0x4f3c2c(0x2b2))+'('+_0x3905c2[_0x4f3c2c(0x355)]+')'}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x246)]&&this['_messageService']['show']({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this['_localeService']['t'](_0x3905c2[_0x4f3c2c(0x355)]||'')}),_0x3905c2['id']===_0x1e0a6d['SOCKET_FAILED_RETRY']&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this[_0x4f3c2c(0x316)]['t']('session.will-retry')}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x1dc)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1eb)],'content':this[_0x4f3c2c(0x316)]['t']('session.connection-failed')}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x252)]&&this[_0x4f3c2c(0x27a)]['show']({'type':_0x445c63[_0x4f3c2c(0x1eb)],'content':this[_0x4f3c2c(0x316)]['t']('session.collaboration-timeout')});}));}};ie=Ji([B(0x0,_0xa8c410),B(0x1,_0x1255fd),B(0x2,_0xcce005(_0x34d2ea)),B(0x3,_0x41c5c4),B(0x4,_0x2555d3),B(0x5,_0xcce005(_0x269fd9))],ie);const Zi=_0x1d41aa(0x1d1),et={},Mt=_0x41b18f('uni.network.url-service');var Qi=Object[_0x1d41aa(0x248)],qi=(_0x5cef0c,_0x51d604,_0x4ad948,_0x273b26)=>{for(var _0x952c4c=_0x273b26>0x1?void 0x0:_0x273b26?Qi(_0x51d604,_0x4ad948):_0x51d604,_0x22ed9=_0x5cef0c['length']-0x1,_0x32b647;_0x22ed9>=0x0;_0x22ed9--)(_0x32b647=_0x5cef0c[_0x22ed9])&&(_0x952c4c=_0x32b647(_0x952c4c)||_0x952c4c);return _0x952c4c;},K=(_0x21860a,_0x577af9)=>(_0x386d4a,_0x2dc26a)=>_0x577af9(_0x386d4a,_0x2dc26a,_0x21860a);let ne=class extends _0x85e892{constructor(_0x4bfe17,_0x3c48c5,_0x3a952d,_0x255a89,_0x121cca){const _0x4486ee=_0x1d41aa;super(),this[_0x4486ee(0x1b1)]=_0x4bfe17,this[_0x4486ee(0x32e)]=_0x3c48c5,this['_commandService']=_0x3a952d,this[_0x4486ee(0x2cd)]=_0x255a89,_0x121cca?_0x121cca==null||_0x121cca['whenReady']()[_0x4486ee(0x276)](()=>this[_0x4486ee(0x2a7)]()):(this[_0x4486ee(0x32e)]['debug'](_0x4486ee(0x2c4),_0x4486ee(0x2de)),this[_0x4486ee(0x2a7)]());}async[_0x1d41aa(0x2a7)](){const _0xc13c43=_0x1d41aa,_0x83eba5=this['_urlService'][_0xc13c43(0x229)](_0xc13c43(0x311)),_0x21ba55=this[_0xc13c43(0x1b1)][_0xc13c43(0x229)](_0xc13c43(0x1ff)),_0x1dcc88=this['_urlService']['getParam'](_0xc13c43(0x358));if(!_0x83eba5||!_0x21ba55){this['_logService'][_0xc13c43(0x21b)](_0xc13c43(0x2c4),_0xc13c43(0x1c6));return;}const _0x11808d=await this[_0xc13c43(0x2cd)][_0xc13c43(0x26d)](_0x83eba5,Number(_0x21ba55),_0x1dcc88);_0x11808d&&_0x11808d instanceof _0x38bdf9&&this[_0xc13c43(0x30f)](_0x11808d);}async[_0x1d41aa(0x30f)](_0x1cf6f1){const _0x4be13e=_0x1d41aa;await this[_0x4be13e(0x352)](_0x1cf6f1),_0x1cf6f1[_0x4be13e(0x326)][_0x4be13e(0x27b)](_0xe2ba41(this[_0x4be13e(0x1ab)]))[_0x4be13e(0x266)](_0x2a5bc5=>{_0x2a5bc5&&this['_updateURLWithCurrentState'](_0x2a5bc5);}),this['_urlService'][_0x4be13e(0x201)]['pipe'](_0xe2ba41(this[_0x4be13e(0x1ab)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1cf6f1));}[_0x1d41aa(0x299)](_0x1f8d1f,_0x2412a2=!0x1){const _0x22ac14=_0x1d41aa,_0xdb5d7b=this[_0x22ac14(0x1b1)][_0x22ac14(0x229)](_0x22ac14(0x358));_0x1f8d1f[_0x22ac14(0x1d9)]()!==_0xdb5d7b&&this[_0x22ac14(0x1b1)][_0x22ac14(0x1b3)]('subunit',_0x1f8d1f[_0x22ac14(0x1d9)](),_0x2412a2);}async[_0x1d41aa(0x352)](_0x43c7d0){const _0x352840=_0x1d41aa;var _0x4d6d3e;const _0x67cbb2=this[_0x352840(0x1b1)][_0x352840(0x229)](_0x352840(0x358));if(!_0x67cbb2||!_0x43c7d0['getSheetBySheetId'](_0x67cbb2)){const _0xbe783c=_0x43c7d0[_0x352840(0x362)]()[0x0],_0x74d7f1=_0x43c7d0[_0x352840(0x293)](_0xbe783c);if(!_0x74d7f1)return;this[_0x352840(0x299)](_0x74d7f1,!0x0),await this[_0x352840(0x354)][_0x352840(0x203)](_0x158419['id'],{'unitId':_0x43c7d0[_0x352840(0x25f)](),'subUnitId':_0xbe783c});return;}((_0x4d6d3e=_0x43c7d0[_0x352840(0x398)]())==null?void 0x0:_0x4d6d3e[_0x352840(0x1d9)]())!==_0x67cbb2&&await this[_0x352840(0x354)][_0x352840(0x203)](_0x158419['id'],{'unitId':_0x43c7d0[_0x352840(0x25f)](),'subUnitId':_0x67cbb2});}};ne=qi([K(0x0,Mt),K(0x1,_0x41e6cd),K(0x2,_0x268a57),K(0x3,_0xcce005(_0xd33af7)),K(0x4,_0xab635a(_0x3c7901))],ne);function _0x3072(_0x535a82,_0x3621fa){const _0x222279=_0x2222();return _0x3072=function(_0x30729b,_0x48118b){_0x30729b=_0x30729b-0x1a1;let _0x3661a2=_0x222279[_0x30729b];return _0x3661a2;},_0x3072(_0x535a82,_0x3621fa);}var en=Object[_0x1d41aa(0x248)],tn=(_0x4bf102,_0x43cf6e,_0x32cca2,_0x20f021)=>{const _0x2dd770=_0x1d41aa;for(var _0x4bc79a=_0x20f021>0x1?void 0x0:_0x20f021?en(_0x43cf6e,_0x32cca2):_0x43cf6e,_0x2d56d0=_0x4bf102[_0x2dd770(0x25c)]-0x1,_0x3945fd;_0x2d56d0>=0x0;_0x2d56d0--)(_0x3945fd=_0x4bf102[_0x2d56d0])&&(_0x4bc79a=_0x3945fd(_0x4bc79a)||_0x4bc79a);return _0x4bc79a;},tt=(_0x4d0605,_0x5ef928)=>(_0x2add49,_0x292244)=>_0x5ef928(_0x2add49,_0x292244,_0x4d0605);let re=class{constructor(_0x53dc9e,_0x3e36f4){const _0x537186=_0x1d41aa;this[_0x537186(0x27f)]=_0x53dc9e,this['_renderManagerService']=_0x3e36f4;}[_0x1d41aa(0x34e)](_0x21fffe){const _0x1aeb1a=_0x1d41aa;this[_0x1aeb1a(0x350)](_0x21fffe),this['_transformPreviousActiveRange'](_0x21fffe);}[_0x1d41aa(0x335)](_0x40d994){const _0x48b300=_0x1d41aa,{unitID:_0x57c323}=_0x40d994,_0x20021d=this['_renderManagerService'][_0x48b300(0x322)](_0x57c323)[_0x48b300(0x2cf)](_0x1f4fd3),{redoCache:_0x18fa1e}=_0x20021d[_0x48b300(0x268)]();if(_0x18fa1e[_0x48b300(0x25c)]===0x0)return _0x40d994;let _0x2b946f=_0x59fb77['deepClone'](_0x40d994[_0x48b300(0x23e)][0x0]);for(let _0xe9c6fc=0x0;_0xe9c6fc<_0x18fa1e[_0x48b300(0x25c)];_0xe9c6fc++){const _0x93f21e={'id':_0x48b300(0x328),'params':{..._0x18fa1e[_0xe9c6fc]}},_0x50f111=this['_transformService'][_0x48b300(0x28b)](_0x2b946f,_0x93f21e,!0x1);if(_0x30fa04(_0x50f111))throw _0x50f111['error'];_0x2b946f=_0x50f111[_0x48b300(0x22b)];}return{..._0x59fb77[_0x48b300(0x214)](_0x40d994),'mutations':[_0x2b946f]};}[_0x1d41aa(0x350)](_0x156b9e){const _0x1d307f=_0x1d41aa,{unitID:_0x5120a2}=_0x156b9e,_0x2311ea=this[_0x1d307f(0x340)][_0x1d307f(0x322)](_0x5120a2)[_0x1d307f(0x2cf)](_0x1f4fd3),{undoCache:_0x5b2c4f,redoCache:_0x5ca951}=_0x2311ea[_0x1d307f(0x268)]();if(_0x5b2c4f[_0x1d307f(0x25c)]===0x0||_0x5ca951['length']===0x0)return;const _0x4802ac=[],_0x5f1522=[];let _0x40184c=_0x59fb77['deepClone'](_0x156b9e[_0x1d307f(0x23e)][0x0]),_0x566f2e=_0x59fb77[_0x1d307f(0x214)](_0x156b9e['mutations'][0x0]);for(let _0x578bf8=_0x5b2c4f[_0x1d307f(0x25c)]-0x1;_0x578bf8>=0x0;_0x578bf8--){const _0x5e8857={'id':_0x1d307f(0x328),'params':{..._0x5b2c4f[_0x578bf8]}},_0x44e225={'id':_0x1d307f(0x328),'params':{..._0x5ca951[_0x578bf8]}},_0x3acbe6=this['_transformService'][_0x1d307f(0x28b)](_0x40184c,_0x5e8857,!0x1),_0x1d2678=this['_transformService'][_0x1d307f(0x28b)](_0x566f2e,_0x44e225,!0x1);if(_0x30fa04(_0x3acbe6))throw _0x3acbe6[_0x1d307f(0x318)];if(_0x30fa04(_0x1d2678))throw _0x1d2678[_0x1d307f(0x318)];_0x4802ac[_0x1d307f(0x37a)](_0x3acbe6[_0x1d307f(0x39f)][_0x1d307f(0x2f9)]),_0x5f1522[_0x1d307f(0x37a)](_0x1d2678[_0x1d307f(0x39f)][_0x1d307f(0x2f9)]),_0x40184c=_0x3acbe6[_0x1d307f(0x22b)],_0x566f2e=_0x1d2678[_0x1d307f(0x22b)];}_0x2311ea['setUndoRedoMutationParamsCache']({'undoCache':_0x4802ac,'redoCache':_0x5f1522});}['_transformPreviousActiveRange'](_0x4fd734){const _0x343730=_0x1d41aa,{unitID:_0x4ee389}=_0x4fd734,_0x2ac45c=this[_0x343730(0x340)][_0x343730(0x322)](_0x4ee389)['with'](_0x1f4fd3),_0x488632=_0x2ac45c[_0x343730(0x23d)]();if(_0x488632==null)return;const _0x1bcfc6=[{'id':_0x343730(0x328),'params':{'unitId':_0x4fd734[_0x343730(0x249)],'actions':null,'textRanges':[_0x488632]}}],_0x3e0457=this['_transformService'][_0x343730(0x37d)](_0x4fd734,_0x1bcfc6);if(!_0x2c9078(_0x3e0457))throw _0x3e0457[_0x343730(0x318)];const _0xe099a6=_0x3e0457['m2Prime'][0x0][_0x343730(0x2f9)][_0x343730(0x263)];Array['isArray'](_0xe099a6)&&_0xe099a6[_0x343730(0x25c)]&&_0x2ac45c[_0x343730(0x207)](_0xe099a6[0x0]);}};re=tn([tt(0x0,_0x4ae50f),tt(0x1,_0x49b12e)],re);var sn=Object[_0x1d41aa(0x248)],nn=(_0x1a2816,_0x1f3521,_0x4af95c,_0x5c57a9)=>{const _0x5a983d=_0x1d41aa;for(var _0x297e3b=_0x5c57a9>0x1?void 0x0:_0x5c57a9?sn(_0x1f3521,_0x4af95c):_0x1f3521,_0x184e25=_0x1a2816[_0x5a983d(0x25c)]-0x1,_0x1b6287;_0x184e25>=0x0;_0x184e25--)(_0x1b6287=_0x1a2816[_0x184e25])&&(_0x297e3b=_0x1b6287(_0x297e3b)||_0x297e3b);return _0x297e3b;},Ce=(_0x4f0adb,_0x3fca27)=>(_0xfd46bb,_0x4cfff4)=>_0x3fca27(_0xfd46bb,_0x4cfff4,_0x4f0adb);let oe=class{constructor(_0x42e153,_0x280900,_0xde2456){const _0x283cb5=_0x1d41aa;this[_0x283cb5(0x34f)]=_0x42e153,this[_0x283cb5(0x27f)]=_0x280900,this['_docStateChangeManagerService']=_0xde2456;}[_0x1d41aa(0x283)](_0x55a586){const _0x1a287e=_0x1d41aa;this[_0x1a287e(0x399)](_0x55a586);}[_0x1d41aa(0x335)](_0x186f96){const _0x52f3f7=_0x1d41aa,{unitID:_0x3883fd}=_0x186f96,{collaboration:_0x553fcf}=this[_0x52f3f7(0x253)][_0x52f3f7(0x285)](_0x3883fd);if(_0x553fcf['length']===0x0)return _0x186f96;let _0x3cad5a=_0x59fb77[_0x52f3f7(0x214)](_0x186f96[_0x52f3f7(0x23e)][0x0]);for(let _0xa95ac6=0x0;_0xa95ac6<_0x553fcf[_0x52f3f7(0x25c)];_0xa95ac6++){const _0x58ed83={'id':_0x52f3f7(0x328),'params':{'unitId':_0x553fcf[_0xa95ac6][_0x52f3f7(0x1a9)],..._0x553fcf[_0xa95ac6]['redoState']}},_0x587c32=this[_0x52f3f7(0x27f)][_0x52f3f7(0x28b)](_0x3cad5a,_0x58ed83,!0x1);if(_0x30fa04(_0x587c32))throw _0x587c32[_0x52f3f7(0x318)];_0x3cad5a=_0x587c32[_0x52f3f7(0x22b)];}return{..._0x59fb77['deepClone'](_0x186f96),'mutations':[_0x3cad5a]};}[_0x1d41aa(0x399)](_0x52cdfa){const _0x5d4b09=_0x1d41aa,{unitID:_0x12edcf}=_0x52cdfa,{history:_0x46442f,collaboration:_0x563c62}=this[_0x5d4b09(0x253)][_0x5d4b09(0x285)](_0x12edcf);if(_0x46442f[_0x5d4b09(0x25c)]===0x0&&_0x563c62['length']===0x0)return;const _0x5653d5=[],_0x3f0bad=[];let _0x332b8b=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]),_0x50e38d=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]);for(let _0x4cfe21=_0x46442f['length']-0x1;_0x4cfe21>=0x0;_0x4cfe21--){const _0x5a4c2f={'id':_0x5d4b09(0x328),'params':{'unitId':_0x46442f[_0x4cfe21][_0x5d4b09(0x1a9)],..._0x46442f[_0x4cfe21]['undoState']}},_0x427fa1={'id':_0x5d4b09(0x328),'params':{'unitId':_0x46442f[_0x4cfe21][_0x5d4b09(0x1a9)],..._0x46442f[_0x4cfe21]['redoState']}},_0x1c4386=this[_0x5d4b09(0x27f)][_0x5d4b09(0x28b)](_0x332b8b,_0x5a4c2f,!0x1),_0x30e35e=this['_transformService'][_0x5d4b09(0x28b)](_0x50e38d,_0x427fa1,!0x1);if(_0x30fa04(_0x1c4386))throw _0x1c4386['error'];if(_0x30fa04(_0x30e35e))throw _0x30e35e[_0x5d4b09(0x318)];_0x5653d5[_0x5d4b09(0x37a)]({..._0x46442f[_0x4cfe21],'undoState':_0x1c4386['m2Prime']['params'],'redoState':_0x30e35e[_0x5d4b09(0x39f)][_0x5d4b09(0x2f9)]}),_0x332b8b=_0x1c4386['m1Prime'],_0x50e38d=_0x30e35e[_0x5d4b09(0x22b)];}_0x332b8b=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]),_0x50e38d=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]);for(let _0x53bb1f=_0x563c62[_0x5d4b09(0x25c)]-0x1;_0x53bb1f>=0x0;_0x53bb1f--){const _0x2fdf07={'id':_0x5d4b09(0x328),'params':{'unitId':_0x563c62[_0x53bb1f][_0x5d4b09(0x1a9)],..._0x563c62[_0x53bb1f]['undoState']}},_0xb6c8fd={'id':_0x5d4b09(0x328),'params':{'unitId':_0x563c62[_0x53bb1f]['unitId'],..._0x563c62[_0x53bb1f][_0x5d4b09(0x323)]}},_0x183ca6=this['_transformService'][_0x5d4b09(0x28b)](_0x332b8b,_0x2fdf07,!0x1),_0x389f39=this[_0x5d4b09(0x27f)][_0x5d4b09(0x28b)](_0x50e38d,_0xb6c8fd,!0x1);if(_0x30fa04(_0x183ca6))throw _0x183ca6[_0x5d4b09(0x318)];if(_0x30fa04(_0x389f39))throw _0x389f39[_0x5d4b09(0x318)];_0x3f0bad[_0x5d4b09(0x37a)]({..._0x563c62[_0x53bb1f],'undoState':_0x183ca6[_0x5d4b09(0x39f)]['params'],'redoState':_0x389f39[_0x5d4b09(0x39f)]['params']}),_0x332b8b=_0x183ca6['m1Prime'],_0x50e38d=_0x389f39['m1Prime'];}this[_0x5d4b09(0x253)][_0x5d4b09(0x368)](_0x12edcf,{'history':_0x5653d5,'collaboration':_0x3f0bad});}};oe=nn([Ce(0x0,_0xcce005(_0x5c6f4f)),Ce(0x1,_0x4ae50f),Ce(0x2,_0xcce005(_0x2b5696))],oe);var rn=Object[_0x1d41aa(0x248)],on=(_0x880a6,_0x5cb858,_0x2a953b,_0x5a0b27)=>{const _0x24b7bf=_0x1d41aa;for(var _0x2e65ce=_0x5a0b27>0x1?void 0x0:_0x5a0b27?rn(_0x5cb858,_0x2a953b):_0x5cb858,_0x3ecdf1=_0x880a6[_0x24b7bf(0x25c)]-0x1,_0x3c6bbe;_0x3ecdf1>=0x0;_0x3ecdf1--)(_0x3c6bbe=_0x880a6[_0x3ecdf1])&&(_0x2e65ce=_0x3c6bbe(_0x2e65ce)||_0x2e65ce);return _0x2e65ce;},st=(_0x3893d1,_0x472c19)=>(_0x521c7a,_0x13af7e)=>_0x472c19(_0x521c7a,_0x13af7e,_0x3893d1);let ae=class{constructor(_0x1427dd,_0x55fa6e){const _0x1b976a=_0x1d41aa;this[_0x1b976a(0x34f)]=_0x1427dd,this[_0x1b976a(0x27f)]=_0x55fa6e;}[_0x1d41aa(0x2b6)](_0x639b7e){const _0x34d28e=_0x1d41aa;var _0x546959;const _0x16cd11=this['_injector'][_0x34d28e(0x217)](_0x27e88a),_0x112b8b=(_0x546959=_0x16cd11[_0x34d28e(0x2f6)]())!=null?_0x546959:[];if(_0x112b8b[_0x34d28e(0x25c)]===0x0)return;const _0x3d3317=_0x639b7e['unitID'],_0x45ef4c=[{'id':_0x34d28e(0x328),'params':{'unitId':_0x3d3317,'actions':null,'textRanges':_0x112b8b}}],_0x5365a8=this[_0x34d28e(0x27f)][_0x34d28e(0x37d)](_0x639b7e,_0x45ef4c);if(!_0x2c9078(_0x5365a8))throw _0x5365a8[_0x34d28e(0x318)];const _0x12147b=_0x5365a8['m2Prime'][0x0][_0x34d28e(0x2f9)][_0x34d28e(0x263)];Array[_0x34d28e(0x1ba)](_0x12147b)&&_0x12147b[_0x34d28e(0x25c)]&&_0x16cd11[_0x34d28e(0x1d8)](_0x12147b,{'unitId':_0x3d3317,'subUnitId':_0x3d3317},!0x1);}};ae=on([st(0x0,_0xcce005(_0x5c6f4f)),st(0x1,_0x4ae50f)],ae);var an=Object[_0x1d41aa(0x248)],cn=(_0x534b18,_0x360546,_0x3d4c15,_0x4f18a3)=>{const _0x100304=_0x1d41aa;for(var _0x25aa7a=_0x4f18a3>0x1?void 0x0:_0x4f18a3?an(_0x360546,_0x3d4c15):_0x360546,_0x3af972=_0x534b18[_0x100304(0x25c)]-0x1,_0x18e66c;_0x3af972>=0x0;_0x3af972--)(_0x18e66c=_0x534b18[_0x3af972])&&(_0x25aa7a=_0x18e66c(_0x25aa7a)||_0x25aa7a);return _0x25aa7a;},N=(_0x1fb679,_0x14dac1)=>(_0x46a7bc,_0x522f96)=>_0x14dac1(_0x46a7bc,_0x522f96,_0x1fb679);let ce=class extends _0x2800ff{constructor(_0x1746a6,_0x117f7f,_0x373b7b,_0x5d77ef,_0x1979f6,_0x589f58,_0x9052d9,_0x5c6ff6){const _0x3db6a0=_0x1d41aa;super(),_(this,_0x3db6a0(0x1bc),new _0x5a2de1(_0x301b01['NOT_COLLAB'])),(this[_0x3db6a0(0x253)]=_0x1746a6,this[_0x3db6a0(0x1e3)]=_0x117f7f,this['_docTransformIMECacheService']=_0x373b7b,this[_0x3db6a0(0x35d)]=_0x5d77ef,this[_0x3db6a0(0x26e)]=_0x1979f6,this['_docSyncEditingCollabCursorService']=_0x589f58,this[_0x3db6a0(0x27a)]=_0x9052d9,this[_0x3db6a0(0x316)]=_0x5c6ff6,this['_initEntityListener']());}[_0x1d41aa(0x361)](){const _0x4957cf=_0x1d41aa;this['disposeWithMe'](this[_0x4957cf(0x1e3)][_0x4957cf(0x38c)][_0x4957cf(0x266)](_0x1628b7=>{const _0xc3a8d5=_0x4957cf,_0x16efd0=this[_0xc3a8d5(0x253)]['docStateChange$'][_0xc3a8d5(0x266)](_0x164a64=>{const _0x199c71=_0xc3a8d5;if(_0x164a64==null)return;const {unitId:_0x375271,redoState:_0x1310ea,commandId:_0x376556}=_0x164a64;if(_0x375271!==_0x1628b7[_0x199c71(0x249)])return;const _0x4efed5={'id':_0x376556,'type':_0x1c6be8[_0x199c71(0x392)],'params':{'unitId':_0x375271,'actions':_0x1310ea[_0x199c71(0x39b)],'textRanges':null}};_0x1628b7[_0x199c71(0x271)](_0x4efed5);});if(_0x1628b7[_0xc3a8d5(0x34b)](_0x16efd0),_0x1628b7 instanceof _0x28706d){const _0x1b946d={'onTransformIME':_0x1fcf27=>this[_0xc3a8d5(0x1c4)][_0xc3a8d5(0x34e)](_0x1fcf27),'onTransformState':_0x48919b=>this[_0xc3a8d5(0x35d)][_0xc3a8d5(0x283)](_0x48919b),'onTransformSelections':_0x366a2b=>this[_0xc3a8d5(0x26e)][_0xc3a8d5(0x2b6)](_0x366a2b),'onSyncEditingCollabCursor':_0x249324=>this['_docSyncEditingCollabCursorService'][_0xc3a8d5(0x343)](_0x249324),'onTransformRemoteChangesetByIMECache':_0x57b0c1=>this[_0xc3a8d5(0x1c4)][_0xc3a8d5(0x335)](_0x57b0c1),'onTransformRemoteChangesetByStateCache':_0x12e82c=>this[_0xc3a8d5(0x35d)][_0xc3a8d5(0x335)](_0x12e82c)};_0x1628b7[_0xc3a8d5(0x308)](_0x1b946d);}}));}};ce=cn([N(0x0,_0xcce005(_0x2b5696)),N(0x1,_0xcce005(_0x56d127)),N(0x2,_0xcce005(re)),N(0x3,_0xcce005(oe)),N(0x4,_0xcce005(ae)),N(0x5,_0xcce005(He)),N(0x6,_0x41c5c4),N(0x7,_0xcce005(_0x269fd9))],ce);var ln=Object[_0x1d41aa(0x248)],_n=(_0x356d59,_0x353cf8,_0x52372f,_0x3ad1e6)=>{const _0x348c74=_0x1d41aa;for(var _0x23a8f6=_0x3ad1e6>0x1?void 0x0:_0x3ad1e6?ln(_0x353cf8,_0x52372f):_0x353cf8,_0x2ca3b6=_0x356d59[_0x348c74(0x25c)]-0x1,_0x58fa8e;_0x2ca3b6>=0x0;_0x2ca3b6--)(_0x58fa8e=_0x356d59[_0x2ca3b6])&&(_0x23a8f6=_0x58fa8e(_0x23a8f6)||_0x23a8f6);return _0x23a8f6;},Ee=(_0xf404b5,_0x1cea03)=>(_0x44e91a,_0x5a1af6)=>_0x1cea03(_0x44e91a,_0x5a1af6,_0xf404b5);let we=class extends _0x2800ff{constructor(_0x3c2850,_0x2b81c6,_0x44e37a){const _0x29b078=_0x1d41aa;super(),_(this,_0x29b078(0x359),new Map()),_(this,_0x29b078(0x2e3),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3c2850,this[_0x29b078(0x267)]=_0x2b81c6,this[_0x29b078(0x1f5)]=_0x44e37a);}[_0x1d41aa(0x383)](){const _0x193a39=_0x1d41aa;this[_0x193a39(0x2e5)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x1d41aa(0x1e5)](){const _0x4acaf3=_0x1d41aa;return this[_0x4acaf3(0x2e3)];}['dispose'](){const _0x583b84=_0x1d41aa;this[_0x583b84(0x1d3)]()[_0x583b84(0x276)](()=>super['dispose']());}async[_0x1d41aa(0x1fc)](_0x3cde5e){const _0x5c5f59=_0x1d41aa;return this[_0x5c5f59(0x2e5)]?null:this[_0x5c5f59(0x267)]['getItem'](_0x2d56e6(_0x3cde5e));}async[_0x1d41aa(0x208)](_0x917b80,_0x49e524){const _0x1e53f1=_0x1d41aa;return!!this[_0x1e53f1(0x267)]['setItem'](_0x917b80,_0x49e524);}[_0x1d41aa(0x228)](_0x6f9d18,_0x3247c8,_0xfbde85,_0x3b9ad4){const _0x465bd2=_0x1d41aa,_0x23b1f=this[_0x465bd2(0x1f5)][_0x465bd2(0x309)](_0x6f9d18);this[_0x465bd2(0x359)]['set'](_0x6f9d18,{'unitID':_0x6f9d18,'type':_0x3247c8,'awaitingChangeset':_0xfbde85,'mutations':_0x3b9ad4,'rev':_0x23b1f}),this[_0x465bd2(0x2e3)]['has'](_0x6f9d18)||this[_0x465bd2(0x262)](_0x6f9d18);}[_0x1d41aa(0x262)](_0x46f3e3){const _0x18f077=_0x1d41aa,_0x57afa8=this['_getSaveTimeout']();_0x57afa8===0x0?this['_saveCache'](_0x46f3e3):this['_saveTaskMap']['set'](_0x46f3e3,setTimeout(()=>this[_0x18f077(0x376)](_0x46f3e3),_0x57afa8));}['_getSaveTimeout'](){const _0x492b38=_0x1d41aa;var _0x1dd562;return(_0x1dd562=this['_configService'][_0x492b38(0x344)](_0x5ae75a))!=null?_0x1dd562:_0x2f2d81;}['_saveCache'](_0x44f832){const _0x4a08a2=_0x1d41aa,_0x2e59c8=this[_0x4a08a2(0x2e3)][_0x4a08a2(0x217)](_0x44f832);return _0x2e59c8!==void 0x0&&window[_0x4a08a2(0x1dd)](_0x2e59c8),this[_0x4a08a2(0x267)][_0x4a08a2(0x1a6)](_0x2d56e6(_0x44f832),this[_0x4a08a2(0x359)][_0x4a08a2(0x217)](_0x44f832))[_0x4a08a2(0x276)](()=>this[_0x4a08a2(0x2e3)]['delete'](_0x44f832));}async[_0x1d41aa(0x1d3)](){const _0x4b7172=_0x1d41aa,_0x155241=[];this[_0x4b7172(0x2e3)]['forEach']((_0x4d6f57,_0x5e82b7)=>{const _0x571659=_0x4b7172;window[_0x571659(0x1dd)](_0x4d6f57),_0x155241[_0x571659(0x37f)](this[_0x571659(0x376)](_0x5e82b7)['then'](()=>{const _0x596cb1=_0x571659;this[_0x596cb1(0x2e3)][_0x596cb1(0x375)](_0x5e82b7);}));}),await Promise[_0x4b7172(0x296)](_0x155241);}};we=_n([Ee(0x0,_0x3022cf),Ee(0x1,_0x42b910),Ee(0x2,_0xcce005(_0x491b5d))],we);class hn extends _0x85e892{constructor(){const _0x5710e1=_0x1d41aa;super(),_(this,_0x5710e1(0x201)),this[_0x5710e1(0x201)]=_0x21efab(window,_0x5710e1(0x1c0))[_0x5710e1(0x27b)](_0xe2ba41(this[_0x5710e1(0x1ab)]),_0x49522a(0x1),_0x2771cf(void 0x0));}[_0x1d41aa(0x1b3)](_0x2bcfa4,_0x52ee1f,_0x28632c=!0x1){const _0x64a2f1=_0x1d41aa,_0x410144=new URL(window[_0x64a2f1(0x295)][_0x64a2f1(0x1e6)]);_0x410144[_0x64a2f1(0x215)][_0x64a2f1(0x36a)](_0x2bcfa4,_0x52ee1f),_0x28632c?window[_0x64a2f1(0x225)]['replaceState']('','',_0x410144[_0x64a2f1(0x2d8)]()):window[_0x64a2f1(0x225)][_0x64a2f1(0x395)]('','',_0x410144[_0x64a2f1(0x2d8)]());}['removeParam'](_0x455013,_0x2ff62c=!0x1){const _0x38df0b=_0x1d41aa,_0x486dcd=new URL(window['location'][_0x38df0b(0x1e6)]);_0x486dcd['searchParams'][_0x38df0b(0x375)](_0x455013),_0x2ff62c?window['history'][_0x38df0b(0x1e4)]('','',_0x486dcd[_0x38df0b(0x2d8)]()):window['history'][_0x38df0b(0x395)]('','',_0x486dcd['toString']());}[_0x1d41aa(0x229)](_0x46187b){const _0x422907=_0x1d41aa;var _0x13b6fa;return(_0x13b6fa=new URL(window['location']['href'])['searchParams'][_0x422907(0x217)](_0x46187b))!=null?_0x13b6fa:void 0x0;}}var un=Object[_0x1d41aa(0x2b8)],dn=Object[_0x1d41aa(0x248)],fn=(_0x1f5882,_0x20e03b,_0x34bab7)=>_0x20e03b in _0x1f5882?un(_0x1f5882,_0x20e03b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34bab7}):_0x1f5882[_0x20e03b]=_0x34bab7,Sn=(_0x3cdccc,_0x41dc99,_0x45e5d3,_0x494542)=>{const _0x5c56ee=_0x1d41aa;for(var _0xac4f79=_0x494542>0x1?void 0x0:_0x494542?dn(_0x41dc99,_0x45e5d3):_0x41dc99,_0x5362b2=_0x3cdccc[_0x5c56ee(0x25c)]-0x1,_0x3d5eb5;_0x5362b2>=0x0;_0x5362b2--)(_0x3d5eb5=_0x3cdccc[_0x5362b2])&&(_0xac4f79=_0x3d5eb5(_0xac4f79)||_0xac4f79);return _0xac4f79;},Oe=(_0xda97fe,_0x117414)=>(_0x24df00,_0x34b23a)=>_0x117414(_0x24df00,_0x34b23a,_0xda97fe),mn=(_0x11b6c6,_0x44ff03,_0x2d2dcf)=>fn(_0x11b6c6,_0x44ff03+'',_0x2d2dcf);const In=_0x1d41aa(0x1b9);let Ae=class extends _0x3780de{constructor(_0x21afa8=et,_0x42c717,_0x2c756e,_0x1f26d6){const _0x2e1bd5=_0x1d41aa;super(),this[_0x2e1bd5(0x243)]=_0x21afa8,this[_0x2e1bd5(0x340)]=_0x42c717,this[_0x2e1bd5(0x34f)]=_0x2c756e,this['_configService']=_0x1f26d6;const {..._0x57d404}=_0x523698({},et,this[_0x2e1bd5(0x243)]);this[_0x2e1bd5(0x23f)][_0x2e1bd5(0x2f2)](Zi,_0x57d404);}[_0x1d41aa(0x1a7)](){const _0x378e28=_0x1d41aa;this[_0x378e28(0x25d)](),this[_0x378e28(0x38f)]();}[_0x1d41aa(0x2b0)](){const _0x1aff42=_0x1d41aa;this[_0x1aff42(0x305)]();}[_0x1d41aa(0x25d)](){const _0x37bd06=_0x1d41aa;var _0x51ee80;const _0x3ca194=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x1794d9,{'useClass':_0x493e8a}],[_0x1255fd,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x5c8a6a(this['_injector'],_0x28a7e9(_0x3ca194,(_0x51ee80=this[_0x37bd06(0x243)])==null?void 0x0:_0x51ee80[_0x37bd06(0x1cf)]));}[_0x1d41aa(0x305)](){const _0x443c7a=_0x1d41aa;this[_0x443c7a(0x34b)](this['_renderManagerService'][_0x443c7a(0x2ea)](_0x357bfd[_0x443c7a(0x277)],[Le])),this['disposeWithMe'](this[_0x443c7a(0x340)][_0x443c7a(0x2ea)](_0x357bfd[_0x443c7a(0x2b1)],[Pe]));}[_0x1d41aa(0x38f)](){_0x2857b7(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x1d41aa(0x1ae),In),Ae=Sn([_0x3ac0fb(_0x484d9a),Oe(0x1,_0x49b12e),Oe(0x2,_0xcce005(_0x5c6f4f)),Oe(0x3,_0x3022cf)],Ae);var vn=Object[_0x1d41aa(0x248)],gn=(_0x291c2b,_0x2eb399,_0x10d8a1,_0x4a8761)=>{const _0x12058c=_0x1d41aa;for(var _0x191dea=_0x4a8761>0x1?void 0x0:_0x4a8761?vn(_0x2eb399,_0x10d8a1):_0x2eb399,_0x1688f0=_0x291c2b[_0x12058c(0x25c)]-0x1,_0x1c162e;_0x1688f0>=0x0;_0x1688f0--)(_0x1c162e=_0x291c2b[_0x1688f0])&&(_0x191dea=_0x1c162e(_0x191dea)||_0x191dea);return _0x191dea;},z=(_0x1239fc,_0x1644a7)=>(_0x44f22d,_0x3977e1)=>_0x1644a7(_0x44f22d,_0x3977e1,_0x1239fc);function _0x2222(){const _0x5928fd=['_doCreateSocket','INVITE_CODE_HAS_BEEN_UES','use','LICENSE_DISTRO_REJECTED','send','cursorInfo','178mrkTdo','APPLY_REVISION_CONFILICT','LOGIN_FAILED','univer-flex\x20univer-items-center','[CollaborationDataLoaderController]','collabStatus.notCollab','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','_eventUnsubscribe','sessionStatus$','complete','DeleteRangeMoveUpCommandId','_handleEvent','_dataLoaderService','INVALID_INVITE_CODE','with','addClipboardHook','getMemberID','invokeId','height','_uiPartsService','fill','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateCollabCursors','toString','YUUMI_SUBSCRIPTION_NOT_FOUND','roomMembers','purple.300','onPointerLeave$','_range','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','_colorIndex','_ensureSubject','USER_NOT_INVITED_CODE','_saveTaskMap','30962421EEbXcK','_disabled','_shapes','_localCacheService','min','isActive','registerRenderModule','_docSkeleton','LICENSE_MAX_UNITS_EXCEEDED','current','triggerDblclick','_scene','roomMembers$','getAncestorScale','setConfig','_selfUnitIDs','values','ALREADY_EXISTS','getDocRanges','path','_startSheetCollabCursor','params','addEventListener','PENDING','_handleHeartbeatEvent','stringify','_refreshCollabCursors','mask','tag','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','_lastPointer','_online','_registerRenderDependencies','721QDvZEs','assignAColorForMemberID','addHandlerCallback','getCurrentRevOfUnit','_notificationService','YUUMI_CONNECTOR_URL_NOT_FOUND','engine','7480750uuZGZf','measureText','_setupSubUnitSync','CHANGESET_REVISION_CONFILICT','unit','_removeClearOtherTimer','setShapeProps','saveImage','column','_localeService','1em','error','max','onCommandExecuted','HEADER_MENU','collaboration-client.offline-data-not-saved','code','fillStyle','assign','YUUMI_NO_CUBOID_FOR_QUESTION','_cursors','getRenderById','redoState','_sheetSkeletonManagerService','_anchor','activeSheet$','getValue','doc.mutation.rich-text-editing','hasOwnProperty','_onCursorDelete','_collabSessionService','USERS_LEAVE','_initCommandExecutedListener','_logService','createInstance','ENSURE_SNAPSHOT_EXECUTION','UNAUTHENTICATED','Failed','unload','#FFF','transformRemoteChangeset','_hideTimer','from','UNRECOGNIZED','currentColor','48309upaMNB','_syncEditingCollabCursorService','_collabCursorController','0\x200\x2017\x2016','APPLY_REJECT','10ghvQdX','_renderManagerService','beginPath','_cursorInfo$','syncEditingCollabCursor','getConfig','_getMergeRange','onPointerMove$','unsubscribe','_colorAssignService','string','ranges','disposeWithMe','EMAIL_HAS_BEEN_BOUND','FromArray','transformIMECache','_injector','_transformUndoRedoStack','clipPath','_updateSubUnitFromURLParams','_hover','_commandService','data','getColorFromTheme','includes','subunit','_cachedData','LICENSE_IMPORT_SIZE_EXCEEDED','transform','getCurrentSelections','_docTransformStateCacheService','name','clearInterval','_onRefRangeChange','_initEntityListener','getUnhiddenWorksheets','ACTIVE_UNIT_EVENT_CHANNEL','substring','PERMISSION_DENIED','selections','hide','setStateCache','newValue','set','_labelPosition','imageSourceType','off-line-icon_clip0_910_343','_handleLeaveEvent','CONFLICT','subUnitId','getUniverSheetInstance','_send','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertySymbols','delete','_saveCache','getCollabCursors$','_draw','call','unshift','storage','_unitStatus','transformMutationsWithChangeset','setAlpha','push','reconnect','OnLineIcon','eventID','disableLocalCache','forEach','prototype','collaboration.single-unit.warning','sessionTicket','_getAnchorBounding','colorChannel1','_beforeCloseService','map','entityInit$','_roomMembers$','getMergeData','_initDependencies','entries','getCurrentUnitForType','MUTATION','INVALID_ARGUMENT','concat','pushState','off-line-icon','_onCursorUpdate','getActiveSheet','_transformHistoryAndStateStack','width','actions','apply','WECHAT_HAS_BEEN_BOUND','extend','m2Prime','_initStatusListener','url(#on-line-icon_clip0_910_349)','TEXT','next','_docSkeletonManagerService','_docClipboardService','_entities','focused$','INVITE_CODE_REQUIRED','getCurrent','getSkeleton','skeleton','setItem','onStarting','OffLineIcon','unitId','indexOf','dispose$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformByState','pluginName','AWAITING','_cursorShapes','_urlService','_backgroundColor','setParam','YUUMI_RATE_OVER_LIMIT','key','_createSocketURL','SNAPSHOT_INVALID_SNAPSHOT','displayName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isArray','on-line-icon','_status$','_initStatusComponent','show','collab-client.tooltip.reconnect','popstate','_textBubble','font','_document','_docTransformIMECacheService','_toggleOffline','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COMPLETION_FINISHED','svg','lineTo','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','url(#off-line-icon_clip0_910_343)','UniverIcon','Warning','override','xlink:href','collaboration-client-ui.config','application/json','exhaustSavingTask','has','makeDirty','_initResize','split','replaceDocRanges','getSheetId','168514vsOsSs','_name','SOCKET_FAILED','clearTimeout','green.600','_session','color','white','symbol','_collaborationController','replaceState','saveTaskMap','href','row','CLOSE_ROOM','add','_initEvent','Error','parse','asObservable','on-line-icon_clip0_910_349','attrs','body','getRangePointData','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startRow','translate(.97)','_revisionService','getCellPositionByOffset','NOT_COLLAB','moveTo','InsertRangeMoveDownCommandId','collabStatus.fetchMiss','_getScale','loadOfflineData','memberID','getOffsetConfig','type','collabStatus.synced','urlChange$','hovered','executeCommand','cursorInfo$','onTransformChange$','collabStatus.syncing','setActiveRange','saveOfflineData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','findNodePositionByCharIndex','_instanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','M0\x200H16V16H0z','InsertRowCommandId','addObjects','getViewport','closePath','defs','_collaborationUIEventService','deepClone','searchParams','FETCH_MISS','get','trim','Unknown\x20user','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','debug','getFocusedUnit','getTypeOfUnitAdded$','RemoveColCommandId','random','getVpScrollXYInfoByPosToVp','OTHER_CLIENTS_EDITING','APPLY_PERMISSION_DENIED','url(#$1','_drawTextRange','history','getUnitStatus$','20964GzhYMR','updateOfflineData','getParam','univerjs-icon\x20univerjs-icon-','m1Prime','selection','getMember','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','4903340XbjrBG','_anchorDot','NO_OTHER_CLIENTS_EDITING','_handleJoinEvent','onMouseMove','_assignedColors','defIds','ONLINE','...','_heartbeatTimer','bottom','_context','currentTheme$','_imageIoService','getActiveRange','mutations','_configService','origin','10826680edbykB','backgroundColor','_config','black','_clearOtherTimers','JOIN_ROOM_FAILED','_id','getOwnPropertyDescriptor','unitID','size','collab-text-anchor-','evenodd','save','drawWith','className','none','_hovered','SUBMIT_CHANGESET_TIMEOUT','_docStateChangeManagerService','PY_RUNTIME_SCRIPT_ERROR','VIEW_MAIN','_scheduleHeartbeat','onPointerEnter$','APPLY_NON_SEQUENTIAL_REVISION','event$','addObject','result','length','_registerDependencies','round','getUnitId','UNDEFINED','post','_scheduleSaving','textRanges','runId','_themeService','subscribe','_localStorageService','getUndoRedoMutationParamsCache','_handleHover','idSuffix','_entityInit$','arc','loadUnit','_docTransformSelectionsService','registerRefRange','_memberService','onLocalMutation','YUUMI_URL_COL_OUT_OF_RANGE','source','NOT_FOUND','search','then','UNIVER_DOC','TOO_MANY_REQUESTS','permission.content','_messageService','pipe','UPDATE_CURSOR','_unitOnClients','dispose','_transformService','collabCursorState$','ticket','replace','transformStateCache','_httpService','getStateCache','toRgbString','children','init','jiqing.500','_startDocCollabCursor','transformMutation','_color','/run/','some','_toggleOnline','_setupBeforeClosingHandler','http://www.w3.org/2000/svg','collab-rect-range-','getSheetBySheetId','_cursor','location','all','OFFLINE','range','_updateURLWithCurrentState','_collabCursorState$','disposeUnit','div','getTypeOfUnitDisposed$','executionId','top','_drawRectRange','requireSession','subscribeEvent','_removeCollabCursors','fillText','_univerInstanceService','YUUMI_AI_RUN_FAILED','_init','flatMap','OTHER_CLIENT_EDITING','restore','_getSheetObject','univer-mr-2\x20univer-flex\x20univer-text-xl','rgba(255,\x20255,\x20255,\x200.01)','find','YUUMI_UNABLE_LOAD_URL','onRendered','UNIVER_SHEET','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','_updateLocalCursor','isEditing','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','defineProperty','_drawAnchor'];_0x2222=function(){return _0x5928fd;};return _0x2222();}let it=class extends _0x305177{constructor(_0x1968d3,_0x3478d5,_0x14333c,_0x5a2c60,_0x5d186c){super(_0x1968d3,_0x3478d5,_0x14333c,_0x5a2c60,_0x5d186c);}async['createSocket'](_0x4c0742){const _0xae711a=_0x1d41aa,_0x5773b6=await this['_getSessionTicket'](),_0x18ae60=this[_0xae711a(0x1b6)](_0x4c0742,_0x5773b6);return this[_0xae711a(0x2ba)](_0x18ae60);}['_createSocketURL'](_0x1256ad,_0x1464ec){const _0x46512d=_0x1d41aa,_0x27f71c=typeof window>'u'?new URL(_0x1256ad):new URL(_0x1256ad,window[_0x46512d(0x295)][_0x46512d(0x240)]);_0x27f71c['searchParams']['set'](_0x46512d(0x387),_0x1464ec);const _0x50fede=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x46512d(0x275)]);return _0x50fede[_0x46512d(0x217)](_0x46512d(0x264))&&_0x27f71c['searchParams']['set'](_0x46512d(0x264),_0x50fede[_0x46512d(0x217)]('runId')),_0x27f71c['toString']();}async['_getSessionTicket'](){const _0x5c10e=_0x1d41aa;var _0x1da45f,_0x4a6214,_0x2184ec;const _0x32795e=this[_0x5c10e(0x23f)]['getConfig'](_0x2cd1d6),_0x488537=(_0x1da45f=_0x32795e==null?void 0x0:_0x32795e['wsSessionTicketUrl'])!=null?_0x1da45f:_0x3fdae3;return(_0x2184ec=(_0x4a6214=(await this[_0x5c10e(0x284)][_0x5c10e(0x217)](_0x488537,{'headers':{'Content-Type':_0x5c10e(0x1d2)}}))[_0x5c10e(0x1f0)])==null?void 0x0:_0x4a6214[_0x5c10e(0x281)])!=null?_0x2184ec:'';}};it=gn([z(0x0,_0xcce005(_0x5c6f4f)),z(0x1,_0xcce005(_0x2febdf)),z(0x2,_0x3022cf),z(0x3,_0x41e6cd),z(0x4,_0x203215)],it);const nt=0x7530,rt=_0x1d41aa(0x363);class Fn extends _0x2800ff{constructor(){const _0x13e908=_0x1d41aa;super(),_(this,_0x13e908(0x247),_0x575d2b()),_(this,_0x13e908(0x2f3),new Set()),_(this,_0x13e908(0x27d),new Map()),_(this,_0x13e908(0x238),null),_(this,_0x13e908(0x245),new Map()),_(this,_0x13e908(0x37c),new Map()),this['_init']();}[_0x1d41aa(0x27e)](){const _0x3fb4eb=_0x1d41aa;super[_0x3fb4eb(0x27e)](),this[_0x3fb4eb(0x245)][_0x3fb4eb(0x384)]((_0x577143,_0x25c08c)=>this[_0x3fb4eb(0x312)](_0x25c08c)),this[_0x3fb4eb(0x238)]&&window[_0x3fb4eb(0x35f)](this[_0x3fb4eb(0x238)]);}[_0x1d41aa(0x226)](_0x510bac){return this['_ensureSubject'](_0x510bac)['pipe'](_0x5c2efb());}['editingUnit'](_0x523aef){const _0x598d70=_0x1d41aa;this['_selfUnitIDs']['size']===0x0&&this[_0x598d70(0x256)](),this['_selfUnitIDs'][_0x598d70(0x1e9)](_0x523aef),this['_send']({'type':0x0,'memberID':this[_0x598d70(0x247)],'unitIDs':[_0x523aef],'isForwarded':!0x1});}[_0x1d41aa(0x29b)](_0x547272){const _0x29f645=_0x1d41aa;this[_0x29f645(0x2f3)][_0x29f645(0x375)](_0x547272),this[_0x29f645(0x2f3)][_0x29f645(0x24a)]===0x0&&this[_0x29f645(0x238)]&&window[_0x29f645(0x35f)](this[_0x29f645(0x238)]);}[_0x1d41aa(0x2a7)](){const _0x2a5545=_0x1d41aa;this['disposeWithMe'](_0x4e6890(_0x21efab(window,_0x2a5545(0x37b))['subscribe'](_0x559e99=>{const _0x1a9587=_0x2a5545;if(_0x559e99[_0x1a9587(0x1b5)]!==rt||!_0x559e99['newValue'])return;const _0x3a4ec2=JSON[_0x1a9587(0x1ec)](_0x559e99[_0x1a9587(0x369)]);this[_0x1a9587(0x2cc)](_0x3a4ec2);}))),window[_0x2a5545(0x2fa)](_0x2a5545(0x333),()=>this[_0x2a5545(0x372)]({'type':0x1,'memberID':this[_0x2a5545(0x247)],'unitIDs':Array[_0x2a5545(0x337)](this[_0x2a5545(0x2f3)])}));}[_0x1d41aa(0x2cc)](_0x1000a5){const _0x4df072=_0x1d41aa;switch(_0x1000a5[_0x4df072(0x1ff)]){case 0x0:this[_0x4df072(0x232)](_0x1000a5);break;case 0x1:this[_0x4df072(0x36e)](_0x1000a5);break;case 0x2:this[_0x4df072(0x2fc)](_0x1000a5);break;}}[_0x1d41aa(0x232)](_0xb06a39){const _0x17cdce=_0x1d41aa,{unitIDs:_0x2d661b,memberID:_0x14fbe5,isForwarded:_0x54459a}=_0xb06a39;_0x2d661b['forEach'](_0x152d06=>{const _0x431465=_0x3072;if(!_0x54459a&&this['_unitOnClients'][_0x431465(0x1d4)](_0x152d06)&&this[_0x431465(0x2e1)](_0x152d06)[_0x431465(0x3a3)](_0x3edfe1[_0x431465(0x221)]),!this[_0x431465(0x27d)][_0x431465(0x1d4)](_0x152d06)||!this['_unitOnClients']['get'](_0x152d06)['has'](_0x14fbe5)){const _0x420dba=this[_0x431465(0x27d)][_0x431465(0x217)](_0x152d06)||new Set();_0x420dba['add'](_0x14fbe5),this['_unitOnClients']['set'](_0x152d06,_0x420dba),this['_scheduleClearOtherTimer'](_0x14fbe5);}}),_0x54459a||this[_0x17cdce(0x372)]({'type':0x0,'memberID':this[_0x17cdce(0x247)],'unitIDs':[...this[_0x17cdce(0x2f3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x132d71){const _0x295e64=_0x1d41aa;this['_removeClearOtherTimer'](_0x132d71);const _0x372209=window['setTimeout'](()=>{const _0x3988fe=_0x3072;this[_0x3988fe(0x27d)][_0x3988fe(0x384)](_0x1fd535=>{const _0xffd714=_0x3988fe;_0x1fd535[_0xffd714(0x375)](_0x132d71);});},nt*0x2);this[_0x295e64(0x245)][_0x295e64(0x36a)](_0x132d71,_0x372209);}[_0x1d41aa(0x312)](_0x30ce5b){const _0x2e9bf2=_0x1d41aa;if(this[_0x2e9bf2(0x245)]['has'](_0x30ce5b)){const _0x127187=this['_clearOtherTimers'][_0x2e9bf2(0x217)](_0x30ce5b);_0x127187&&window[_0x2e9bf2(0x1dd)](_0x127187),this[_0x2e9bf2(0x245)][_0x2e9bf2(0x36a)](_0x30ce5b,null);}}[_0x1d41aa(0x36e)](_0x346e94){const _0x375d52=_0x1d41aa,{memberID:_0x312605,unitIDs:_0x418318}=_0x346e94;_0x418318[_0x375d52(0x384)](_0x3e6f9d=>{const _0x58f543=_0x375d52;var _0x246510;const _0x526dcb=this['_unitOnClients']['get'](_0x3e6f9d);_0x526dcb&&(_0x526dcb[_0x58f543(0x375)](_0x312605),(_0x246510=this[_0x58f543(0x2e1)](_0x3e6f9d))==null||_0x246510[_0x58f543(0x3a3)](_0x526dcb[_0x58f543(0x24a)]===0x0?_0x3edfe1[_0x58f543(0x231)]:_0x3edfe1['OTHER_CLIENTS_EDITING']));}),this[_0x375d52(0x312)](_0x312605);}[_0x1d41aa(0x2fc)](_0x4e40c1){const _0x1fe54c=_0x1d41aa;this[_0x1fe54c(0x301)](_0x4e40c1[_0x1fe54c(0x1fd)]);}[_0x1d41aa(0x372)](_0x5a7274){const _0xca772e=_0x1d41aa;localStorage[_0xca772e(0x1a6)](rt,JSON[_0xca772e(0x2fd)](_0x5a7274));}[_0x1d41aa(0x256)](){const _0x308d1d=_0x1d41aa;this[_0x308d1d(0x238)]=window['setInterval'](()=>{const _0x53ca1f=_0x308d1d;this['_send']({'type':0x2,'memberID':this[_0x53ca1f(0x247)]});},nt);}['_ensureSubject'](_0x17746b){const _0x59831c=_0x1d41aa;return this[_0x59831c(0x37c)][_0x59831c(0x1d4)](_0x17746b)||this[_0x59831c(0x37c)][_0x59831c(0x36a)](_0x17746b,new _0x5a2de1(_0x3edfe1[_0x59831c(0x231)])),this['_unitStatus']['get'](_0x17746b);}}var Lt=(_0x3d4376=>(_0x3d4376[_0x3d4376['UNDEFINED']=0x0]=_0x1d41aa(0x260),_0x3d4376[_0x3d4376['OK']=0x1]='OK',_0x3d4376[_0x3d4376['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3d4376[_0x3d4376[_0x1d41aa(0x365)]=0x3]=_0x1d41aa(0x365),_0x3d4376[_0x3d4376[_0x1d41aa(0x274)]=0x4]=_0x1d41aa(0x274),_0x3d4376[_0x3d4376[_0x1d41aa(0x331)]=0x5]=_0x1d41aa(0x331),_0x3d4376[_0x3d4376[_0x1d41aa(0x2f5)]=0x6]=_0x1d41aa(0x2f5),_0x3d4376[_0x3d4376[_0x1d41aa(0x393)]=0x7]=_0x1d41aa(0x393),_0x3d4376[_0x3d4376[_0x1d41aa(0x278)]=0x8]=_0x1d41aa(0x278),_0x3d4376[_0x3d4376['COMPLETION_FINISHED']=0x9]=_0x1d41aa(0x1c7),_0x3d4376[_0x3d4376[_0x1d41aa(0x2c2)]=0xa]=_0x1d41aa(0x2c2),_0x3d4376[_0x3d4376[_0x1d41aa(0x373)]=0xb]=_0x1d41aa(0x373),_0x3d4376[_0x3d4376[_0x1d41aa(0x209)]=0xc]=_0x1d41aa(0x209),_0x3d4376[_0x3d4376[_0x1d41aa(0x1ca)]=0xd]=_0x1d41aa(0x1ca),_0x3d4376[_0x3d4376[_0x1d41aa(0x1f2)]=0xe]=_0x1d41aa(0x1f2),_0x3d4376[_0x3d4376[_0x1d41aa(0x310)]=0x1389]=_0x1d41aa(0x310),_0x3d4376[_0x3d4376[_0x1d41aa(0x1b7)]=0x1771]=_0x1d41aa(0x1b7),_0x3d4376[_0x3d4376['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3d4376[_0x3d4376[_0x1d41aa(0x330)]=0x1773]=_0x1d41aa(0x330),_0x3d4376[_0x3d4376['APPLY_REJECT']=0x1b59]=_0x1d41aa(0x33e),_0x3d4376[_0x3d4376[_0x1d41aa(0x258)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d4376[_0x3d4376[_0x1d41aa(0x2c1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d4376[_0x3d4376[_0x1d41aa(0x222)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d4376[_0x3d4376['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3d4376[_0x3d4376['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3d4376[_0x3d4376[_0x1d41aa(0x2ec)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3d4376[_0x3d4376[_0x1d41aa(0x2d6)]=0x232a]=_0x1d41aa(0x2d6),_0x3d4376[_0x3d4376[_0x1d41aa(0x35a)]=0x232b]=_0x1d41aa(0x35a),_0x3d4376[_0x3d4376['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d41aa(0x2b7),_0x3d4376[_0x3d4376[_0x1d41aa(0x2bd)]=0x232d]=_0x1d41aa(0x2bd),_0x3d4376[_0x3d4376[_0x1d41aa(0x2af)]=0x2711]=_0x1d41aa(0x2af),_0x3d4376[_0x3d4376['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1d41aa(0x272),_0x3d4376[_0x3d4376[_0x1d41aa(0x1b4)]=0x2713]=_0x1d41aa(0x1b4),_0x3d4376[_0x3d4376['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d41aa(0x2d9),_0x3d4376[_0x3d4376[_0x1d41aa(0x320)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3d4376[_0x3d4376[_0x1d41aa(0x2b3)]=0x271b]=_0x1d41aa(0x2b3),_0x3d4376[_0x3d4376[_0x1d41aa(0x20c)]=0x271c]=_0x1d41aa(0x20c),_0x3d4376[_0x3d4376[_0x1d41aa(0x2c7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3d4376[_0x3d4376[_0x1d41aa(0x21a)]=0x271e]=_0x1d41aa(0x21a),_0x3d4376[_0x3d4376[_0x1d41aa(0x2a6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3d4376[_0x3d4376['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1d41aa(0x30b),_0x3d4376[_0x3d4376[_0x1d41aa(0x254)]=0x2af9]=_0x1d41aa(0x254),_0x3d4376[_0x3d4376[_0x1d41aa(0x2bb)]=0x2ee1]=_0x1d41aa(0x2bb),_0x3d4376[_0x3d4376[_0x1d41aa(0x2ce)]=0x2ee2]=_0x1d41aa(0x2ce),_0x3d4376[_0x3d4376[_0x1d41aa(0x1a2)]=0x2ee3]=_0x1d41aa(0x1a2),_0x3d4376[_0x3d4376[_0x1d41aa(0x2e2)]=0x2ee4]=_0x1d41aa(0x2e2),_0x3d4376[_0x3d4376[_0x1d41aa(0x1cb)]=0x2ee5]=_0x1d41aa(0x1cb),_0x3d4376[_0x3d4376[_0x1d41aa(0x39d)]=0x32c9]=_0x1d41aa(0x39d),_0x3d4376[_0x3d4376['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d4376[_0x3d4376['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1d41aa(0x34c),_0x3d4376[_0x3d4376['UNRECOGNIZED']=-0x1]=_0x1d41aa(0x338),_0x3d4376))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x49e0e9,_0x2b3960,_0x2a110d,_0x517fa2)=>{const _0x302117=_0x1d41aa;for(var _0x3a86f9=_0x517fa2>0x1?void 0x0:_0x517fa2?pn(_0x2b3960,_0x2a110d):_0x2b3960,_0x1f2d9f=_0x49e0e9[_0x302117(0x25c)]-0x1,_0x4dcc69;_0x1f2d9f>=0x0;_0x1f2d9f--)(_0x4dcc69=_0x49e0e9[_0x1f2d9f])&&(_0x3a86f9=_0x4dcc69(_0x3a86f9)||_0x3a86f9);return _0x3a86f9;},be=(_0x394d9c,_0x12cd14)=>(_0x588fa1,_0x222063)=>_0x12cd14(_0x588fa1,_0x222063,_0x394d9c);let ot=class extends _0x2800ff{constructor(_0x51db2b,_0x31bb5a,_0x3f0a82){const _0x3e4e0c=_0x1d41aa;super(),this[_0x3e4e0c(0x20b)]=_0x51db2b,this[_0x3e4e0c(0x284)]=_0x31bb5a,this[_0x3e4e0c(0x23f)]=_0x3f0a82;}async['runOnServer'](_0x191f39,_0x7b91c5,_0x25d0d7,..._0x461a42){const _0x1ca97d=_0x1d41aa;var _0xd7d105,_0x45f71c,_0x11acf9,_0xef770c;const _0x4728ff=this[_0x1ca97d(0x20b)]['getFocusedUnit']();if(!_0x4728ff)throw new Error(_0x1ca97d(0x1ac));const _0x22d406=((_0xd7d105=this[_0x1ca97d(0x23f)][_0x1ca97d(0x344)](_0x47d86e))!=null?_0xd7d105:_0x5dcb76)+'/'+_0x191f39+_0x1ca97d(0x28d)+_0x7b91c5,_0x25e00c=new URL(window[_0x1ca97d(0x295)][_0x1ca97d(0x1e6)]),_0x487443={'scriptId':_0x191f39,'runId':(_0x45f71c=_0x25e00c[_0x1ca97d(0x215)]['get'](_0x1ca97d(0x264)))!=null?_0x45f71c:'','function':_0x7b91c5,'unitId':_0x4728ff[_0x1ca97d(0x25f)](),'argsOfFunction':JSON[_0x1ca97d(0x2fd)](_0x461a42),'invokeId':(_0x11acf9=_0x25d0d7[_0x1ca97d(0x2d2)])!=null?_0x11acf9:'','executionId':(_0xef770c=_0x25d0d7[_0x1ca97d(0x29e)])!=null?_0xef770c:''};try{const _0x20c4c8=await this[_0x1ca97d(0x284)][_0x1ca97d(0x261)](_0x22d406,{'body':_0x487443});return _0x20c4c8[_0x1ca97d(0x1f0)][_0x1ca97d(0x318)]&&_0x20c4c8['body'][_0x1ca97d(0x318)][_0x1ca97d(0x31d)]!==Lt['OK']?_0x1ca97d(0x332):_0x20c4c8[_0x1ca97d(0x1f0)][_0x1ca97d(0x25b)];}catch{return _0x1ca97d(0x332);}}};ot=Cn([be(0x0,_0x3c49dc),be(0x1,_0xcce005(_0x2febdf)),be(0x2,_0x3022cf)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x5ae9c2=_0x3e86;(function(_0x2a3235,_0x1c1c5e){const _0x26d8d8=_0x3e86,_0x203704=_0x2a3235();while(!![]){try{const _0xa54776=-parseInt(_0x26d8d8(0x8d))/0x1*(-parseInt(_0x26d8d8(0x7c))/0x2)+parseInt(_0x26d8d8(0x8e))/0x3*(-parseInt(_0x26d8d8(0x7e))/0x4)+parseInt(_0x26d8d8(0x85))/0x5+-parseInt(_0x26d8d8(0x82))/0x6+-parseInt(_0x26d8d8(0x93))/0x7*(-parseInt(_0x26d8d8(0x86))/0x8)+parseInt(_0x26d8d8(0x8a))/0x9*(parseInt(_0x26d8d8(0x94))/0xa)+parseInt(_0x26d8d8(0x8f))/0xb*(-parseInt(_0x26d8d8(0x8b))/0xc);if(_0xa54776===_0x1c1c5e)break;else _0x203704['push'](_0x203704['shift']());}catch(_0x400a9d){_0x203704['push'](_0x203704['shift']());}}}(_0x509e,0xa67cf));function _0x509e(){const _0x339a69=['30gsdhcK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','735230WoKycU','Collaboration\x20Conflict','376TZhyMc','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1964562kQEwcc','Syncing\x20server\x20data...','Syncing...','5934855pUsacT','1777512EMIUHS','Connection\x20failed,\x20please\x20check\x20your\x20network.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1577007QZjvcx','888ydGeNx','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.','2FJutjF','37578CbwVms','104863KEFgEE','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','14jTtset'];_0x509e=function(){return _0x339a69;};return _0x509e();}const e={'collab-client':{'tooltip':{'reconnect':_0x5ae9c2(0x90)}},'collabStatus':{'fetchMiss':_0x5ae9c2(0x83),'conflict':_0x5ae9c2(0x80),'notCollab':_0x5ae9c2(0x92),'synced':'Synced','syncing':_0x5ae9c2(0x84),'offline':_0x5ae9c2(0x89)},'session':{'connection-failed':_0x5ae9c2(0x87),'will-retry':_0x5ae9c2(0x88),'room-full':_0x5ae9c2(0x91),'collaboration-timeout':_0x5ae9c2(0x7f)},'conflict':{'title':_0x5ae9c2(0x7d),'content':_0x5ae9c2(0x8c)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x5ae9c2(0x95)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5ae9c2(0x81)}},o=e;function _0x3e86(_0xc7d873,_0x24a340){const _0x509e8b=_0x509e();return _0x3e86=function(_0x3e86dd,_0xc8b33d){_0x3e86dd=_0x3e86dd-0x7c;let _0x2d13e8=_0x509e8b[_0x3e86dd];return _0x2d13e8;},_0x3e86(_0xc7d873,_0x24a340);}export{o as default};
1
+ const _0x9dfed6=_0x3756;(function(_0x3a9f9a,_0x3d3f99){const _0x34e9be=_0x3756,_0x37529a=_0x3a9f9a();while(!![]){try{const _0x4ecbe1=-parseInt(_0x34e9be(0x103))/0x1+-parseInt(_0x34e9be(0xfc))/0x2*(parseInt(_0x34e9be(0x10d))/0x3)+-parseInt(_0x34e9be(0xfb))/0x4*(parseInt(_0x34e9be(0x109))/0x5)+-parseInt(_0x34e9be(0x10a))/0x6*(-parseInt(_0x34e9be(0x101))/0x7)+parseInt(_0x34e9be(0x107))/0x8+parseInt(_0x34e9be(0x104))/0x9+-parseInt(_0x34e9be(0xf9))/0xa*(-parseInt(_0x34e9be(0x10c))/0xb);if(_0x4ecbe1===_0x3d3f99)break;else _0x37529a['push'](_0x37529a['shift']());}catch(_0x5bbcf1){_0x37529a['push'](_0x37529a['shift']());}}}(_0x4523,0xaca65));function _0x3756(_0x2aae98,_0x55ae89){const _0x4523f4=_0x4523();return _0x3756=function(_0x3756df,_0x1fc407){_0x3756df=_0x3756df-0xf5;let _0x182144=_0x4523f4[_0x3756df];return _0x182144;},_0x3756(_0x2aae98,_0x55ae89);}const e={'collab-client':{'tooltip':{'reconnect':_0x9dfed6(0x108)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x9dfed6(0xf8),'notCollab':_0x9dfed6(0xfd),'synced':'Synced','syncing':'Syncing...','offline':_0x9dfed6(0xff)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x9dfed6(0xf6),'room-full':_0x9dfed6(0x100),'collaboration-timeout':_0x9dfed6(0x105)},'conflict':{'title':_0x9dfed6(0xf5),'content':_0x9dfed6(0x102)},'permission':{'title':_0x9dfed6(0xf7),'content':_0x9dfed6(0xfe)},'collaboration':{'single-unit':{'warning':_0x9dfed6(0x106)},'closeRoom':_0x9dfed6(0x10b)},'auth':{'needGotoLoginAlert':_0x9dfed6(0xfa)}},o=e;function _0x4523(){const _0xff85b6=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5759744PlbqsA','Click\x20to\x20Reconnect','2095AarxVs','18xUcdJB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11hMMdXF','4071TOfZMa','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Edit\x20conflicts','14206030kDeDKv','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6584PXqIrf','376dPYTJz','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','92183wHMDWh','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.','587755JwsFsS','536760tcsIYZ'];_0x4523=function(){return _0xff85b6;};return _0x4523();}export{o as default};
@@ -1 +1 @@
1
- function _0xb431(){const _0x4fc24c=['Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1026881kIRxBS','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','14458IvEuBc','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1648520NlLQAz','7696810OYpHbZ','342gvEwOW','Collaboration\x20Conflict','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','78JrfXhL','Syncing\x20server\x20data...','15pZeEuM','27BSDSrS','Connection\x20failed,\x20please\x20check\x20your\x20network.','22067595GOTvFX','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','390502qLqxgz','3265176CCRmEn','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0xb431=function(){return _0x4fc24c;};return _0xb431();}const _0x2633dd=_0x1c3d;(function(_0x3bcddb,_0x32c3cc){const _0x5b416d=_0x1c3d,_0x3db0fd=_0x3bcddb();while(!![]){try{const _0x387706=parseInt(_0x5b416d(0x78))/0x1+-parseInt(_0x5b416d(0x7a))/0x2*(-parseInt(_0x5b416d(0x81))/0x3)+parseInt(_0x5b416d(0x7f))/0x4*(parseInt(_0x5b416d(0x86))/0x5)+parseInt(_0x5b416d(0x84))/0x6*(-parseInt(_0x5b416d(0x73))/0x7)+-parseInt(_0x5b416d(0x74))/0x8*(-parseInt(_0x5b416d(0x87))/0x9)+-parseInt(_0x5b416d(0x80))/0xa+-parseInt(_0x5b416d(0x89))/0xb;if(_0x387706===_0x32c3cc)break;else _0x3db0fd['push'](_0x3db0fd['shift']());}catch(_0x41a2e7){_0x3db0fd['push'](_0x3db0fd['shift']());}}}(_0xb431,0xc5f16));function _0x1c3d(_0x2fff86,_0x47c806){const _0xb431bc=_0xb431();return _0x1c3d=function(_0x1c3d50,_0x12012c){_0x1c3d50=_0x1c3d50-0x73;let _0x24e984=_0xb431bc[_0x1c3d50];return _0x24e984;},_0x1c3d(_0x2fff86,_0x47c806);}const e={'collab-client':{'tooltip':{'reconnect':_0x2633dd(0x76)}},'collabStatus':{'fetchMiss':_0x2633dd(0x85),'conflict':'Edit\x20conflicts','notCollab':_0x2633dd(0x7c),'synced':'Synced','syncing':'Syncing...','offline':_0x2633dd(0x8a)},'session':{'connection-failed':_0x2633dd(0x88),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2633dd(0x7b),'collaboration-timeout':_0x2633dd(0x77)},'conflict':{'title':_0x2633dd(0x82),'content':_0x2633dd(0x83)},'permission':{'title':_0x2633dd(0x7d),'content':_0x2633dd(0x7e)},'collaboration':{'single-unit':{'warning':_0x2633dd(0x75)},'closeRoom':_0x2633dd(0x79)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ const _0x1c731e=_0x2ba2;(function(_0x31666c,_0x2d8db2){const _0x1eb7e2=_0x2ba2,_0xc218b5=_0x31666c();while(!![]){try{const _0x578d83=parseInt(_0x1eb7e2(0x79))/0x1*(parseInt(_0x1eb7e2(0x6b))/0x2)+-parseInt(_0x1eb7e2(0x77))/0x3+-parseInt(_0x1eb7e2(0x75))/0x4+-parseInt(_0x1eb7e2(0x6a))/0x5+-parseInt(_0x1eb7e2(0x76))/0x6+-parseInt(_0x1eb7e2(0x6d))/0x7+parseInt(_0x1eb7e2(0x68))/0x8;if(_0x578d83===_0x2d8db2)break;else _0xc218b5['push'](_0xc218b5['shift']());}catch(_0x18f085){_0xc218b5['push'](_0xc218b5['shift']());}}}(_0x41e5,0x76924));function _0x41e5(){const _0x50afe=['Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2697508HwwxxN','870870xXOrDJ','1277778fnEUsn','Syncing\x20server\x20data...','43RdzKRV','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','10732168SsvhXw','Synced','298880tVWMJm','43302COChrV','Local\x20file','3371354OgpTdN','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x41e5=function(){return _0x50afe;};return _0x41e5();}function _0x2ba2(_0x27b6cc,_0x522614){const _0x41e593=_0x41e5();return _0x2ba2=function(_0x2ba26a,_0x560f73){_0x2ba26a=_0x2ba26a-0x67;let _0x154514=_0x41e593[_0x2ba26a];return _0x154514;},_0x2ba2(_0x27b6cc,_0x522614);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x1c731e(0x78),'conflict':'Edit\x20conflicts','notCollab':_0x1c731e(0x6c),'synced':_0x1c731e(0x69),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1c731e(0x6f),'will-retry':_0x1c731e(0x72),'room-full':_0x1c731e(0x7a),'collaboration-timeout':_0x1c731e(0x71)},'conflict':{'title':_0x1c731e(0x70),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x1c731e(0x67),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x1c731e(0x6e)},'closeRoom':_0x1c731e(0x73)},'auth':{'needGotoLoginAlert':_0x1c731e(0x74)}};export{e as default};