@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506181607 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x69e053=_0x2094;(function(_0x2125b9,_0x102664){const _0x580a11=_0x2094,_0x3506d2=_0x2125b9();while(!![]){try{const _0x132877=-parseInt(_0x580a11(0x308))/0x1*(-parseInt(_0x580a11(0x1e7))/0x2)+parseInt(_0x580a11(0x33b))/0x3*(-parseInt(_0x580a11(0x1ad))/0x4)+parseInt(_0x580a11(0x352))/0x5*(-parseInt(_0x580a11(0x26e))/0x6)+parseInt(_0x580a11(0x30c))/0x7+parseInt(_0x580a11(0x31b))/0x8*(parseInt(_0x580a11(0x23b))/0x9)+parseInt(_0x580a11(0x2ff))/0xa*(parseInt(_0x580a11(0x2ee))/0xb)+-parseInt(_0x580a11(0x286))/0xc;if(_0x132877===_0x102664)break;else _0x3506d2['push'](_0x3506d2['shift']());}catch(_0xaf429c){_0x3506d2['push'](_0x3506d2['shift']());}}}(_0xc62b,0x747db));var $t=Object[_0x69e053(0x303)],xt=(_0x1fb132,_0x2bba00,_0x220689)=>_0x2bba00 in _0x1fb132?$t(_0x1fb132,_0x2bba00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x220689}):_0x1fb132[_0x2bba00]=_0x220689,_=(_0x50ed74,_0x2b7cc0,_0xf9a151)=>xt(_0x50ed74,typeof _0x2b7cc0!=_0x69e053(0x2c2)?_0x2b7cc0+'':_0x2b7cc0,_0xf9a151);import{MemberService as _0x4a74af,SessionStatus as _0x81ca18,CollaborationSessionService as _0x544921,CollaborationStatus as _0x2c5ad0,CollaborationController as _0x226cfe,ILocalCacheService as _0x25f3f0,CollaborationUIEventService as _0xae6817,CollaborationUIEventId as _0x17f4d0,DataLoaderService as _0x2186e2,DocCollaborationEntity as _0x4dd820,getLocalCacheKey as _0x4d1854,LOCAL_CACHE_INTERVAL as _0x1fa765,LOCAL_CACHE_INTERVAL_KEY as _0xa37187,UniverCollaborationClientPlugin as _0x3084ce,CollaborationSocketService as _0x441d7a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3801a2,DEFAULT_WS_SESSION_TICKET_URL as _0x40221c,UnitStatus as _0x14fa32,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x23f086,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f2c2f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2e9bdd,Disposable as _0x404876,DOC_RANGE_TYPE as _0x5c07ca,Inject as _0x1edcbc,Injector as _0x30157b,IUniverInstanceService as _0x72afad,ICommandService as _0x2bd5c6,debounce as _0x255206,Rectangle as _0x4e0777,DisposableCollection as _0x2a2f84,toDisposable as _0x35e3cc,UniverInstanceType as _0xb39e56,Tools as _0x469588,COLORS as _0x3995cb,ColorKit as _0x50846d,ThemeService as _0x669f82,fromEventSubject as _0x68d662,LocaleService as _0x7c2e8c,createIdentifier as _0x30c947,ILogService as _0x501a2f,Optional as _0x166217,Workbook as _0x5c97a8,CommandType as _0x326183,IConfigService as _0x4c46e3,ILocalStorageService as _0x324daf,DependentOn as _0x10f61f,Plugin as _0x29f8cb,merge as _0x5a8922,registerDependencies as _0x3c1be9,mergeOverrideWithDependencies as _0x268866,touchDependencies as _0x4e6fb0,generateRandomId as _0x301c9e}from'@univerjs/core';import{Shape as _0x5a67bd,Rect as _0x4c78f6,getColor as _0x4b2883,RegularPolygon as _0x1d218e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44d47e,Vector2 as _0x462525,SHEET_VIEWPORT_KEY as _0x5b0074,IRenderManagerService as _0x364408}from'@univerjs/engine-render';import{ISocketService as _0xfcca70,WebSocketService as _0x4a7658,HTTPService as _0x3f722f}from'@univerjs/network';import{IDocClipboardService as _0x263301,NodePositionConvertToCursor as _0xe67241,NodePositionConvertToRectRange as _0x573a8f,TEXT_RANGE_LAYER_INDEX as _0x43d054,SetDocZoomRatioOperation as _0x2c60ef,DocIMEInputManagerService as _0x40ad3c,DocStateChangeManagerService as _0x4204ce}from'@univerjs/docs-ui';import{IImageIoService as _0x29cbfb}from'@univerjs/drawing';import{BehaviorSubject as _0x69ec1c,debounceTime as _0x31b0de,takeUntil as _0x44ca8,Subject as _0x51c9dc,filter as _0x552ef5,switchMap as _0x60c435,merge as _0x103602,combineLatest as _0xd72e73,of as _0xd879b8,fromEvent as _0x1b944e,shareReplay as _0x345a65,mapTo as _0x37148e,distinctUntilChanged as _0x3814c9}from'rxjs';import{SetTextSelectionsOperation as _0xdd06aa,RichTextEditingMutation as _0x593f34,DocSelectionManagerService as _0x3bfb9b,DocSkeletonManagerService as _0x36f904}from'@univerjs/docs';import{ITransformService as _0x50f90f,CollaborationEvent as _0x2a2437,isTransformMutationFailure as _0x472ce9,isTransformMutationsWithChangesetSuccess as _0x3f31fc,RevisionService as _0x55dc2e,ISnapshotServerService as _0x5bd623}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x246cfb,serializeRangeWithSheet as _0x304c66}from'@univerjs/engine-formula';import{RefRangeService as _0xb95e43,SetSelectionsOperation as _0x55a42c,SheetsSelectionsService as _0x113517,EffectRefRangId as _0x33d190,handleIRemoveRow as _0x126d27,handleIRemoveCol as _0x42644f,handleMoveRange as _0x3c6acf,handleInsertRow as _0x367e59,handleInsertRangeMoveRight as _0x508845,handleInsertRangeMoveDown as _0x29e748,handleInsertCol as _0x38ecfb,handleDeleteRangeMoveUp as _0x24a714,handleDeleteRangeMoveLeft as _0x9e2cc1,runRefRangeMutations as _0x7172f3,SetWorksheetActivateCommand as _0x26159f}from'@univerjs/sheets';import{map as _0x1f7c41,filter as _0x38db37,throttleTime as _0x562977,takeUntil as _0x55354a,switchMap as _0x279d5a}from'rxjs/operators';import{SheetSkeletonManagerService as _0xa14f88,getCoordByCell as _0x2efb09,getSheetObject as _0x461c8d}from'@univerjs/sheets-ui';import{jsx as _0x130579,jsxs as _0x55e4d8}from'react/jsx-runtime';import{useObservable as _0x5211a7,useDependency as _0x4d6731,IUIPartsService as _0x17e2dc,BuiltInUIPart as _0x4cf15d,connectInjector as _0x5cc765,IBeforeCloseService as _0x3aca32,IMessageService as _0x4d61bb,INotificationService as _0x5b6f74}from'@univerjs/ui';import{Tooltip as _0x30c09d,clsx as _0x25b0bb,MessageType as _0x585ede}from'@univerjs/design';import{forwardRef as _0x4f8fed,useRef as _0x13e355,createElement as _0x567240,useCallback as _0x18a898}from'react';import{IRemoteInstanceService as _0x3bfd4b}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x24e984,_0x85150e,_0xac1cc0,_0x137e2e)=>{for(var _0xf8bb9f=_0x137e2e>0x1?void 0x0:_0x137e2e?ci(_0x85150e,_0xac1cc0):_0x85150e,_0x4c0cfb=_0x24e984['length']-0x1,_0xff10da;_0x4c0cfb>=0x0;_0x4c0cfb--)(_0xff10da=_0x24e984[_0x4c0cfb])&&(_0xf8bb9f=_0xff10da(_0xf8bb9f)||_0xf8bb9f);return _0xf8bb9f;},Je=(_0x320578,_0x39fa7b)=>(_0x592692,_0x2ae97a)=>_0x39fa7b(_0x592692,_0x2ae97a,_0x320578);let Ne=class extends _0x2e9bdd{constructor(_0x45e2c2,_0x54ad32){const _0xad8944=_0x69e053;super(),this[_0xad8944(0x1b2)]=_0x45e2c2,this[_0xad8944(0x2b4)]=_0x54ad32,this[_0xad8944(0x344)]();}[_0x69e053(0x344)](){const _0xdb040d=_0x69e053,_0x34310e=this;this[_0xdb040d(0x18c)](this[_0xdb040d(0x1b2)][_0xdb040d(0x243)]({'onBeforePasteImage':async _0x3a3675=>{const _0x1ec26d=_0xdb040d,_0x3f8451=await _0x34310e[_0x1ec26d(0x2b4)]['saveImage'](_0x3a3675);return _0x3f8451?{'source':_0x3f8451['source'],'imageSourceType':_0x3f8451['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x263301),Je(0x1,_0x29cbfb)],Ne);const Ze=[_0x69e053(0x27b),_0x69e053(0x229),'green.600',_0x69e053(0x357),_0x69e053(0x31d),'yellow.400'];class ke extends _0x404876{constructor(){const _0x3708d8=_0x69e053;super(...arguments),_(this,_0x3708d8(0x169),new Map()),_(this,_0x3708d8(0x16f),0x0);}[_0x69e053(0x184)](_0xbe449c){const _0x2a7a74=_0x69e053;if(this[_0x2a7a74(0x169)][_0x2a7a74(0x289)](_0xbe449c))return this['_assignedColors'][_0x2a7a74(0x2a0)](_0xbe449c);const _0x125e3c=Ze[this[_0x2a7a74(0x16f)]];return this[_0x2a7a74(0x16f)]=(this[_0x2a7a74(0x16f)]+0x1)%Ze[_0x2a7a74(0x306)],this['_assignedColors'][_0x2a7a74(0x2e7)](_0xbe449c,_0x125e3c),_0x125e3c;}}function Tt(_0x203166){const _0x39b7fa=_0x69e053;let _0x5e7fee='';for(const _0x2d4fa3 of _0x203166){const {startOffset:_0x1c3544,endOffset:_0x518316,isActive:_0x167c68,rangeType:_0x39e952,segmentId:_0x150e0b,segmentPage:_0x135ade}=_0x2d4fa3;_0x5e7fee[_0x39b7fa(0x306)]&&(_0x5e7fee+=','),_0x5e7fee+=_0x1c3544+':'+_0x518316+':'+(_0x167c68?'1':'0')+':'+_0x39e952+':'+_0x150e0b+':'+_0x135ade;}return _0x5e7fee;}function _i(_0x47b3da){const _0x59af73=_0x69e053,_0x504e35=_0x47b3da[_0x59af73(0x1c1)](','),_0xd714fd=[];for(const _0x55a601 of _0x504e35){const [_0x220d5f,_0x50ff34,_0x1c53f6,_0x4841d6,_0x132ec0,_0x3c1de4]=_0x55a601[_0x59af73(0x1c1)](':');_0xd714fd[_0x59af73(0x1a5)]({'startOffset':Number(_0x220d5f),'endOffset':Number(_0x50ff34),'collapsed':_0x220d5f===_0x50ff34,'isActive':_0x1c53f6==='1','rangeType':_0x4841d6===_0x5c07ca[_0x59af73(0x2d7)]?_0x5c07ca['TEXT']:_0x5c07ca['RECT'],'segmentId':typeof _0x132ec0==_0x59af73(0x21b)?String(_0x132ec0):'','segmentPage':Number(_0x3c1de4!=null?_0x3c1de4:-0x1)});}return _0xd714fd[_0x59af73(0x1e3)](_0x2fe536=>_0x2fe536['isActive'])||(_0xd714fd[0x0][_0x59af73(0x165)]=!0x0),_0xd714fd;}class He extends _0x2e9bdd{constructor(){const _0x16392d=_0x69e053;super(...arguments),_(this,'_collabCursorState$',new _0x69ec1c(null)),_(this,_0x16392d(0x2c1),this[_0x16392d(0x24b)]['asObservable']());}['syncEditingCollabCursor'](_0x2a4b4e){const _0x381475=_0x69e053,{unitID:_0x22ff9c,memberID:_0x4872e7,textRanges:_0x46bd32}=_0x2a4b4e,_0x2f1266=Tt(_0x46bd32);if(_0x2f1266==='')return;const _0x5a1871={'unitID':_0x22ff9c,'memberID':_0x4872e7,'selection':_0x2f1266};this[_0x381475(0x24b)][_0x381475(0x309)](_0x5a1871);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0xeaabf2,_0x230312,_0x41dfb7,_0x226134)=>{const _0x20acd4=_0x69e053;for(var _0x488e2f=_0x226134>0x1?void 0x0:_0x226134?hi(_0x230312,_0x41dfb7):_0x230312,_0x432535=_0xeaabf2[_0x20acd4(0x306)]-0x1,_0x5c038c;_0x432535>=0x0;_0x432535--)(_0x5c038c=_0xeaabf2[_0x432535])&&(_0x488e2f=_0x5c038c(_0x488e2f)||_0x488e2f);return _0x488e2f;},P=(_0x24671c,_0x385f6f)=>(_0x1d3c56,_0x2ab3d0)=>_0x385f6f(_0x1d3c56,_0x2ab3d0,_0x24671c);const di=0x12c,fi=0x64;function _0x2094(_0x2d8b4f,_0x1d559d){const _0xc62b24=_0xc62b();return _0x2094=function(_0x209418,_0x4e1a56){_0x209418=_0x209418-0x14e;let _0x1da181=_0xc62b24[_0x209418];return _0x1da181;},_0x2094(_0x2d8b4f,_0x1d559d);}let Ue=class extends _0x2e9bdd{constructor(_0x4c9387,_0x733276,_0x5bba5c,_0x30bd44,_0x33d00a,_0x19c73c,_0x50cb54,_0x438e59,_0xfd6994){const _0x3c219b=_0x69e053;super(),_(this,_0x3c219b(0x2a6),!0x1),_(this,_0x3c219b(0x344),!0x1),_(this,_0x3c219b(0x209),new _0x69ec1c(new Map())),_(this,_0x3c219b(0x28f),this[_0x3c219b(0x209)][_0x3c219b(0x31a)]()),_(this,_0x3c219b(0x164),new _0x69ec1c([])),_(this,_0x3c219b(0x235),this[_0x3c219b(0x164)][_0x3c219b(0x21d)](_0x31b0de(di))),_(this,_0x3c219b(0x1f6),_0x255206(_0x4523b5=>{const _0x137195=_0x3c219b,_0x44fe54={'eventID':_0x2a2437[_0x137195(0x2cc)],'data':{'unitID':this[_0x137195(0x319)],'memberID':this[_0x137195(0x2f2)][_0x137195(0x2ef)](),'selection':Tt(_0x4523b5)}};this[_0x137195(0x2f2)][_0x137195(0x316)](_0x44fe54,this[_0x137195(0x319)]);},fi)),(this[_0x3c219b(0x319)]=_0x4c9387,this[_0x3c219b(0x2f2)]=_0x733276,this['_injector']=_0x5bba5c,this[_0x3c219b(0x268)]=_0x30bd44,this[_0x3c219b(0x2de)]=_0x33d00a,this[_0x3c219b(0x1dd)]=_0x19c73c,this[_0x3c219b(0x247)]=_0x50cb54,this['_univerInstanceService']=_0x438e59,this[_0x3c219b(0x2fd)]=_0xfd6994);}get['cursorInfo'](){const _0x3b6bbc=_0x69e053;return this[_0x3b6bbc(0x209)]['getValue']();}get['roomMembers'](){const _0x20c8ea=_0x69e053;return this[_0x20c8ea(0x164)][_0x20c8ea(0x356)]();}['dispose'](){const _0x5f49f9=_0x69e053;super[_0x5f49f9(0x2d4)](),this['_cursorInfo$'][_0x5f49f9(0x309)](new Map()),this[_0x5f49f9(0x209)][_0x5f49f9(0x33e)](),this[_0x5f49f9(0x164)][_0x5f49f9(0x309)]([]),this['_roomMembers$'][_0x5f49f9(0x33e)]();}[_0x69e053(0x1e4)](){const _0x4d3a47=_0x69e053;this[_0x4d3a47(0x344)]||(this['_init']=!0x0,this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1f8)][_0x4d3a47(0x21d)](_0x44ca8(this[_0x4d3a47(0x347)]))['subscribe'](_0x3c655b=>{const _0x90147c=_0x4d3a47;_0x3c655b===_0x81ca18[_0x90147c(0x28e)]?this[_0x90147c(0x1e5)]():this[_0x90147c(0x21a)]();}),this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1a3)][_0x4d3a47(0x21d)](_0x44ca8(this['dispose$']))['subscribe'](_0x338755=>{const _0x1078dc=_0x4d3a47,_0x6dfdf2=_0x338755[_0x1078dc(0x321)];_0x6dfdf2===_0x2a2437[_0x1078dc(0x2cc)]&&this['_onCursorUpdate'](_0x338755),_0x6dfdf2===_0x2a2437[_0x1078dc(0x19d)]&&this[_0x1078dc(0x22b)](_0x338755);}),this['disposeWithMe'](this['_commandService'][_0x4d3a47(0x32f)](_0x44a9b3=>{const _0xb5c7a4=_0x4d3a47,_0x34d3ce=_0x44a9b3[_0xb5c7a4(0x210)];_0x34d3ce!=null&&this['_online']&&_0x44a9b3['id']===_0xdd06aa['id']&&_0x34d3ce[_0xb5c7a4(0x228)]===this['unitID']&&_0x34d3ce[_0xb5c7a4(0x208)]===!0x1&&_0x34d3ce[_0xb5c7a4(0x304)][_0xb5c7a4(0x306)]>0x0&&this[_0xb5c7a4(0x1f6)](_0x34d3ce['ranges']);})),this[_0x4d3a47(0x1dd)]['collabCursorState$']['pipe'](_0x44ca8(this[_0x4d3a47(0x347)]))[_0x4d3a47(0x20d)](_0x3481a9=>{const _0x5da0b9=_0x4d3a47;if((_0x3481a9==null?void 0x0:_0x3481a9[_0x5da0b9(0x319)])!==this['unitID'])return;const _0x368416={'eventID':_0x2a2437['UPDATE_CURSOR'],'data':_0x3481a9};this[_0x5da0b9(0x2c6)](_0x368416);}),this['disposeWithMe'](this[_0x4d3a47(0x2fd)][_0x4d3a47(0x32f)](_0x450ed2=>{const _0x40e28e=_0x4d3a47;if(_0x450ed2[_0x40e28e(0x210)]==null)return;const _0x570c9a=_0x450ed2[_0x40e28e(0x210)];if(_0x450ed2['id']!==_0x593f34['id']||_0x570c9a[_0x40e28e(0x228)]!==this['unitID'])return;const _0x346175={'id':_0x40e28e(0x163),'params':_0x570c9a},_0x2fbefd=this[_0x40e28e(0x2e8)];for(const [_0x40bd6c,_0x1c8603]of _0x2fbefd){const _0x26586c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x40e28e(0x319)],'actions':null,'textRanges':_0x1c8603['ranges']}},_0x28a6c5=this['_transformService']['transformMutation'](_0x346175,_0x26586c,!0x1);if(_0x472ce9(_0x28a6c5))throw _0x28a6c5[_0x40e28e(0x216)];_0x2fbefd[_0x40e28e(0x2e7)](_0x40bd6c,{..._0x1c8603,'ranges':_0x28a6c5[_0x40e28e(0x2f7)][_0x40e28e(0x210)][_0x40e28e(0x307)]});}queueMicrotask(()=>{const _0x3861b0=_0x40e28e;this[_0x3861b0(0x209)][_0x3861b0(0x309)](_0x2fbefd);});})));}[_0x69e053(0x2c6)](_0x3ee9d0){const _0x4f7fac=_0x69e053;var _0x4bb829,_0x45c4c1;const {memberID:_0x2f2c04,selection:_0x37d98e}=_0x3ee9d0['data'],_0x21e94c=_i(_0x37d98e),_0x2a03ac=(_0x45c4c1=(_0x4bb829=this[_0x4f7fac(0x2de)][_0x4f7fac(0x195)](this['unitID'],_0x2f2c04))==null?void 0x0:_0x4bb829['name'])!=null?_0x45c4c1:_0x4f7fac(0x26a),_0x40a7bd={'color':this[_0x4f7fac(0x268)][_0x4f7fac(0x184)](_0x2f2c04),'name':_0x2a03ac,'ranges':_0x21e94c},_0x3e44b6=this['cursorInfo'];_0x3e44b6['set'](_0x2f2c04,_0x40a7bd),this[_0x4f7fac(0x209)][_0x4f7fac(0x309)](_0x3e44b6);}[_0x69e053(0x22b)](_0x40689a){const _0xfca5fa=_0x69e053,{memberID:_0x4d9f51}=_0x40689a['data'],_0x3f43e6=this[_0xfca5fa(0x2e8)];_0x3f43e6[_0xfca5fa(0x20b)](_0x4d9f51),this[_0xfca5fa(0x209)]['next'](_0x3f43e6);}[_0x69e053(0x1e5)](){const _0x3ec1f0=_0x69e053;var _0x25d7a5;if(this[_0x3ec1f0(0x2a6)]=!0x0,((_0x25d7a5=this[_0x3ec1f0(0x30a)][_0x3ec1f0(0x348)]())==null?void 0x0:_0x25d7a5['getUnitId']())!==this[_0x3ec1f0(0x319)])return;const _0xd86dfe=this['_injector']['get'](_0x3bfb9b)[_0x3ec1f0(0x161)]();Array[_0x3ec1f0(0x227)](_0xd86dfe)&&_0xd86dfe[_0x3ec1f0(0x306)]>0x0&&this[_0x3ec1f0(0x1f6)](_0xd86dfe);}[_0x69e053(0x21a)](){const _0x595a9d=_0x69e053;this[_0x595a9d(0x2a6)]=!0x1;}};Ue=ui([P(0x2,_0x1edcbc(_0x30157b)),P(0x3,_0x1edcbc(ke)),P(0x4,_0x1edcbc(_0x4a74af)),P(0x5,_0x1edcbc(He)),P(0x6,_0x50f90f),P(0x7,_0x72afad),P(0x8,_0x2bd5c6)],Ue);var Si=Object[_0x69e053(0x221)],mi=(_0x3a6765,_0x3badae,_0x56d437,_0x3b8dbf)=>{const _0x3cde66=_0x69e053;for(var _0xb87c1=_0x3b8dbf>0x1?void 0x0:_0x3b8dbf?Si(_0x3badae,_0x56d437):_0x3badae,_0x75c04c=_0x3a6765[_0x3cde66(0x306)]-0x1,_0x4fc8cb;_0x75c04c>=0x0;_0x75c04c--)(_0x4fc8cb=_0x3a6765[_0x75c04c])&&(_0xb87c1=_0x4fc8cb(_0xb87c1)||_0xb87c1);return _0xb87c1;},x=(_0x97c715,_0x2a7cf4)=>(_0x2e3b43,_0x2289f8)=>_0x2a7cf4(_0x2e3b43,_0x2289f8,_0x97c715);const Ii=0x12c,gi=0x64,vi=()=>{let _0x48e032=[],_0x550666=!0x1;return _0x1b519d=>{const _0x21bd6d=_0x2094;_0x48e032[_0x21bd6d(0x1a5)](_0x1b519d),_0x550666||(_0x550666=!0x0,setTimeout(()=>{const _0x455f63=_0x21bd6d;_0x48e032[_0x455f63(0x2b5)](_0x516ed1=>_0x516ed1()),_0x48e032=[],_0x550666=!0x1;}));};};let Me=class extends _0x2e9bdd{constructor(_0x5c27e5,_0x17664f,_0x3e0877,_0x4fc799,_0x356cd0,_0x4f24fa,_0x1ba172,_0x46970d){const _0x29a2ca=_0x69e053;super(),_(this,_0x29a2ca(0x2a6),!0x1),_(this,_0x29a2ca(0x344),!0x1),_(this,_0x29a2ca(0x209),new _0x69ec1c(new Map())),_(this,_0x29a2ca(0x28f),this[_0x29a2ca(0x209)]['asObservable']()),_(this,_0x29a2ca(0x164),new _0x69ec1c([])),_(this,_0x29a2ca(0x235),this[_0x29a2ca(0x164)][_0x29a2ca(0x21d)](_0x31b0de(Ii))),_(this,_0x29a2ca(0x1f6),_0x255206((_0x55f6c3,_0x4ec27c)=>{const _0x24a705=_0x29a2ca,_0x11432d={'eventID':_0x2a2437[_0x24a705(0x2cc)],'data':{'unitID':this[_0x24a705(0x319)],'memberID':this[_0x24a705(0x2f2)][_0x24a705(0x2ef)](),'selection':_0x304c66(_0x55f6c3,_0x4ec27c[_0x24a705(0x14e)])}};this[_0x24a705(0x2f2)]['send'](_0x11432d,this['unitID']);},gi)),(this['unitID']=_0x5c27e5,this[_0x29a2ca(0x2f2)]=_0x17664f,this[_0x29a2ca(0x248)]=_0x3e0877,this[_0x29a2ca(0x268)]=_0x4fc799,this[_0x29a2ca(0x2de)]=_0x356cd0,this['_univerInstanceService']=_0x4f24fa,this['_commandService']=_0x1ba172,this[_0x29a2ca(0x1ff)]=_0x46970d);}get[_0x69e053(0x2e8)](){const _0x4f0d96=_0x69e053;return this[_0x4f0d96(0x209)][_0x4f0d96(0x356)]();}get[_0x69e053(0x224)](){const _0x787040=_0x69e053;return this['_roomMembers$'][_0x787040(0x356)]();}[_0x69e053(0x2d4)](){const _0x4665e1=_0x69e053;super['dispose'](),this[_0x4665e1(0x209)][_0x4665e1(0x309)](new Map()),this[_0x4665e1(0x209)][_0x4665e1(0x33e)](),this['_roomMembers$']['next']([]),this[_0x4665e1(0x164)]['complete']();}['init'](){const _0xf04d27=_0x69e053;this[_0xf04d27(0x344)]||(this[_0xf04d27(0x344)]=!0x0,this['_session'][_0xf04d27(0x1f8)]['pipe'](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x3c5988=>{const _0x544d81=_0xf04d27;_0x3c5988===_0x81ca18[_0x544d81(0x28e)]?this[_0x544d81(0x1e5)]():this[_0x544d81(0x21a)]();}),this[_0xf04d27(0x2f2)][_0xf04d27(0x1a3)][_0xf04d27(0x21d)](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x2779b2=>{const _0x630f95=_0xf04d27,_0x3f8452=_0x2779b2[_0x630f95(0x321)];_0x3f8452===_0x2a2437[_0x630f95(0x2cc)]&&this[_0x630f95(0x2c6)](_0x2779b2),_0x3f8452===_0x2a2437[_0x630f95(0x19d)]&&this[_0x630f95(0x22b)](_0x2779b2);}),this[_0xf04d27(0x264)](),this['disposeWithMe'](this[_0xf04d27(0x2fd)][_0xf04d27(0x32f)](_0x30f6f9=>{const _0x3c802c=_0xf04d27;if(this['_online']&&_0x30f6f9['id']===_0x55a42c['id']&&_0x30f6f9['params'][_0x3c802c(0x228)]===this['unitID']){const _0x40a353=_0x30f6f9[_0x3c802c(0x210)];this[_0x3c802c(0x1f6)](_0x40a353[_0x3c802c(0x2e5)],_0x40a353[_0x3c802c(0x2bc)][0x0]);}})));}['_onCursorUpdate'](_0x8d01bd){const _0x46c9aa=_0x69e053;var _0x3d0fec,_0x1716fb;const {memberID:_0x2cd0da,selection:_0x1faa39}=_0x8d01bd[_0x46c9aa(0x1ea)],{sheetName:_0x22e5aa,range:_0x5a30b0}=_0x246cfb(_0x1faa39),_0xa528df={'name':(_0x1716fb=(_0x3d0fec=this[_0x46c9aa(0x2de)]['getMember'](this['unitID'],_0x2cd0da))==null?void 0x0:_0x3d0fec[_0x46c9aa(0x338)])!=null?_0x1716fb:_0x46c9aa(0x26a),'range':this[_0x46c9aa(0x1b1)](_0x22e5aa,_0x5a30b0),'sheetID':_0x22e5aa,'color':this[_0x46c9aa(0x268)]['assignAColorForMemberID'](_0x2cd0da),'selection':_0x1faa39},_0x589c6f=this['cursorInfo'];_0x589c6f['set'](_0x2cd0da,_0xa528df),this[_0x46c9aa(0x209)][_0x46c9aa(0x309)](_0x589c6f);}[_0x69e053(0x22b)](_0x37d520){const _0x481ee5=_0x69e053,{memberID:_0x27f6bf}=_0x37d520[_0x481ee5(0x1ea)],_0x433ead=this[_0x481ee5(0x2e8)];_0x433ead[_0x481ee5(0x20b)](_0x27f6bf),this[_0x481ee5(0x209)][_0x481ee5(0x309)](_0x433ead);}[_0x69e053(0x1b1)](_0x38e9a0,_0xc10ca3){const _0x44e891=_0x69e053;var _0x340b24,_0xf018d4;const _0x31b4a2=(_0xf018d4=(_0x340b24=this[_0x44e891(0x30a)][_0x44e891(0x349)](this['unitID']))==null?void 0x0:_0x340b24[_0x44e891(0x158)](_0x38e9a0))==null?void 0x0:_0xf018d4[_0x44e891(0x18b)]();return(_0x31b4a2==null?void 0x0:_0x31b4a2[_0x44e891(0x2e3)](_0xe90a69=>_0x4e0777['contains'](_0xe90a69,_0xc10ca3)))||_0xc10ca3;}[_0x69e053(0x264)](){const _0x454862=_0x69e053,_0x8d42c2=new _0x2a2f84(),_0x2ec031=vi(),_0x1ada35=()=>{const _0xf72433=_0x2094;_0x8d42c2[_0xf72433(0x2d4)]();const _0x15d5ef=(_0x286b3d,_0x17a302,_0x5d7bbd,_0x20a13f)=>{const _0x505663=_0xf72433;let _0x8fdcd9=[];switch(_0x286b3d['id']){case _0x33d190[_0x505663(0x2e2)]:{_0x8fdcd9=_0x9e2cc1(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x234)]:{_0x8fdcd9=_0x24a714(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x332)]:{_0x8fdcd9=_0x38ecfb(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x182)]:{_0x8fdcd9=_0x29e748(_0x286b3d,_0x20a13f);break;}case _0x33d190['InsertRangeMoveRightCommandId']:{_0x8fdcd9=_0x508845(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x27f)]:{_0x8fdcd9=_0x367e59(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x21c)]:{_0x8fdcd9=_0x3c6acf(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x1dc)]:{_0x8fdcd9=_0x42644f(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x28d)]:{_0x8fdcd9=_0x126d27(_0x286b3d,_0x20a13f);break;}}const _0x453d8e=_0x7172f3(_0x8fdcd9,_0x20a13f),_0x439b4d=this[_0x505663(0x2e8)][_0x505663(0x2a0)](_0x17a302);if(_0x439b4d&&_0x453d8e){const _0x26e737={..._0x439b4d,'range':_0x453d8e};this[_0x505663(0x2e8)][_0x505663(0x2e7)](_0x17a302,_0x26e737),_0x2ec031(()=>{const _0xcae58d=_0x505663,_0x4c3bf5=this[_0xcae58d(0x1ff)]['registerRefRange'](_0x453d8e,_0x4cc757=>(_0x4c3bf5[_0xcae58d(0x2d4)](),_0x15d5ef(_0x4cc757,_0x17a302,_0x5d7bbd,_0x453d8e)));_0x8d42c2[_0xcae58d(0x185)](_0x4c3bf5);});}return{'redos':[],'undos':[]};};this[_0xf72433(0x2e8)]['forEach']((_0x263521,_0x147b78)=>{const _0x3c9fd0=_0xf72433,{range:_0x4753e0,sheetID:_0x28a471}=_0x263521,_0x3d028e=this['_refRangeService'][_0x3c9fd0(0x1f3)](_0x4753e0,_0x207b3e=>(_0x3d028e[_0x3c9fd0(0x2d4)](),_0x15d5ef(_0x207b3e,_0x147b78,_0x28a471,_0x4753e0)));_0x8d42c2[_0x3c9fd0(0x185)](_0x3d028e);});};this[_0x454862(0x18c)](_0x35e3cc(this['_cursorInfo$'][_0x454862(0x20d)](()=>{_0x1ada35();})));}[_0x69e053(0x1e5)](){const _0x13d3f5=_0x69e053;var _0x296235,_0x512312;if(this[_0x13d3f5(0x2a6)]=!0x0,((_0x296235=this[_0x13d3f5(0x30a)]['getFocusedUnit']())==null?void 0x0:_0x296235['getUnitId']())!==this['unitID'])return;const _0x25a529=(_0x512312=this[_0x13d3f5(0x248)][_0x13d3f5(0x2a0)](_0x113517)[_0x13d3f5(0x1bf)]())==null?void 0x0:_0x512312[0x0],_0x49d892=this[_0x13d3f5(0x30a)]['getCurrentUnitForType'](_0xb39e56['UNIVER_SHEET'])[_0x13d3f5(0x253)]();_0x25a529&&_0x49d892&&this['_updateLocalCursor'](_0x49d892[_0x13d3f5(0x226)](),_0x25a529);}['_toggleOffline'](){const _0x1cdb11=_0x69e053;this[_0x1cdb11(0x2a6)]=!0x1;}};Me=mi([x(0x2,_0x1edcbc(_0x30157b)),x(0x3,_0x1edcbc(ke)),x(0x4,_0x1edcbc(_0x4a74af)),x(0x5,_0x72afad),x(0x6,_0x2bd5c6),x(0x7,_0x1edcbc(_0xb95e43))],Me);var pi=Object[_0x69e053(0x221)],Ci=(_0x25679d,_0x19d4e9,_0x24999b,_0x4b756e)=>{const _0x4a6ddb=_0x69e053;for(var _0x3a598e=_0x4b756e>0x1?void 0x0:_0x4b756e?pi(_0x19d4e9,_0x24999b):_0x19d4e9,_0x4e570d=_0x25679d[_0x4a6ddb(0x306)]-0x1,_0x3b48dd;_0x4e570d>=0x0;_0x4e570d--)(_0x3b48dd=_0x25679d[_0x4e570d])&&(_0x3a598e=_0x3b48dd(_0x3a598e)||_0x3a598e);return _0x3a598e;},Se=(_0x5613c3,_0x204215)=>(_0x54fbce,_0x5a6544)=>_0x204215(_0x54fbce,_0x5a6544,_0x5613c3);let H=class extends _0x2e9bdd{constructor(_0x15ee33,_0x456ddd,_0x434120){const _0x4a5800=_0x69e053;super(),_(this,_0x4a5800(0x2c9),new Map()),_(this,_0x4a5800(0x23d),new _0x51c9dc()),(this[_0x4a5800(0x30a)]=_0x15ee33,this[_0x4a5800(0x248)]=_0x456ddd,this['_collabSessionService']=_0x434120,this[_0x4a5800(0x344)]());}[_0x69e053(0x2d4)](){const _0x20173b=_0x69e053;super['dispose'](),this[_0x20173b(0x23d)][_0x20173b(0x33e)](),this[_0x20173b(0x2c9)][_0x20173b(0x2b5)](_0x52226f=>_0x52226f[_0x20173b(0x2d4)]());}['getCollabCursors$'](_0x1e8158){const _0x5654f4=_0x69e053;return this[_0x5654f4(0x2c9)][_0x5654f4(0x289)](_0x1e8158)?this[_0x5654f4(0x2c9)][_0x5654f4(0x2a0)](_0x1e8158)[_0x5654f4(0x28f)]:this['_entityInit$']['pipe'](_0x552ef5(_0x4bad70=>_0x4bad70[_0x5654f4(0x319)]===_0x1e8158),_0x60c435(_0x4d5ce3=>_0x4d5ce3[_0x5654f4(0x28f)]));}[_0x69e053(0x344)](){const _0x1ac6b4=_0x69e053;this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x20c)])['pipe'](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](async _0x5a3360=>{const _0xf55543=_0x1ac6b4,_0x338b73=_0x5a3360[_0xf55543(0x213)](),_0x4dc865=await this['_startSheetCollabCursor'](_0x338b73);this[_0xf55543(0x23d)]['next'](_0x4dc865),this[_0xf55543(0x2c9)][_0xf55543(0x2e7)](_0x338b73,_0x4dc865);}),this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x1f5)])[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x21d)](_0x552ef5(_0x3e0678=>!_0x3e0678['getUnitId']()[_0x1ac6b4(0x359)]('__')))[_0x1ac6b4(0x20d)](async _0x51f6f0=>{const _0x4f416b=_0x1ac6b4,_0x35b8c9=_0x51f6f0['getUnitId'](),_0x4496de=await this[_0x4f416b(0x33f)](_0x35b8c9);this['_entityInit$']['next'](_0x4496de),this[_0x4f416b(0x2c9)][_0x4f416b(0x2e7)](_0x35b8c9,_0x4496de);}),_0x103602(this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x2e4)](_0xb39e56['UNIVER_DOC']),this['_univerInstanceService'][_0x1ac6b4(0x2e4)](_0xb39e56[_0x1ac6b4(0x20c)]))[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](_0x237391=>{const _0x2fff44=_0x1ac6b4,_0x3d271a=_0x237391[_0x2fff44(0x213)](),_0x315aa9=this['_entities'][_0x2fff44(0x2a0)](_0x3d271a);_0x315aa9&&(_0x315aa9[_0x2fff44(0x2d4)](),this['_entities'][_0x2fff44(0x20b)](_0x3d271a));});}async[_0x69e053(0x2b8)](_0x1201e1){const _0x2f237a=_0x69e053,_0x1663e0=await this['_collabSessionService'][_0x2f237a(0x1ac)](_0x1201e1),_0x1e36a1=this[_0x2f237a(0x248)]['createInstance'](Me,_0x1201e1,_0x1663e0);return _0x1e36a1[_0x2f237a(0x1e4)](),_0x1e36a1;}async[_0x69e053(0x33f)](_0x4cb750){const _0x531e39=_0x69e053,_0x5c463a=await this['_collabSessionService'][_0x531e39(0x1ac)](_0x4cb750),_0x4c61ac=this['_injector'][_0x531e39(0x1c9)](Ue,_0x4cb750,_0x5c463a);return _0x4c61ac['init'](),_0x4c61ac;}};H=Ci([Se(0x0,_0x72afad),Se(0x1,_0x1edcbc(_0x30157b)),Se(0x2,_0x1edcbc(_0x544921))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x436f87,_0x5c727f){const _0x3595bd=_0x69e053;let {radius:_0x368a10,width:_0x2849ce,height:_0x2558cf}=_0x5c727f;_0x368a10=_0x368a10!=null?_0x368a10:0x0,_0x2849ce=_0x2849ce!=null?_0x2849ce:0x1e,_0x2558cf=_0x2558cf!=null?_0x2558cf:0x1e;let _0x400b62=0x0,_0x1fc650=0x0,_0x35f7bb=0x0;_0x400b62=_0x1fc650=_0x35f7bb=Math[_0x3595bd(0x24c)](_0x368a10,_0x2849ce/0x2,_0x2558cf/0x2),_0x436f87[_0x3595bd(0x150)](),_0x436f87[_0x3595bd(0x212)](_0x400b62,0x0),_0x436f87[_0x3595bd(0x16d)](_0x2849ce-_0x1fc650,0x0),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x1fc650,_0x1fc650,_0x1fc650,Math['PI']*0x3/0x2,0x0,!0x1),_0x436f87[_0x3595bd(0x16d)](_0x2849ce,_0x2558cf-_0x35f7bb),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x35f7bb,_0x2558cf-_0x35f7bb,_0x35f7bb,0x0,Math['PI']/0x2,!0x1),_0x436f87['lineTo'](0x0,_0x2558cf),_0x436f87[_0x3595bd(0x16d)](0x0,_0x400b62),_0x436f87['arc'](_0x400b62,_0x400b62,_0x400b62,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x436f87['closePath'](),_0x5c727f[_0x3595bd(0x284)]&&(_0x436f87[_0x3595bd(0x298)](),_0x436f87[_0x3595bd(0x1a2)]=_0x5c727f[_0x3595bd(0x284)],_0x5c727f[_0x3595bd(0x236)]===_0x3595bd(0x1cb)?_0x436f87['fill'](_0x3595bd(0x1cb)):_0x436f87[_0x3595bd(0x284)](),_0x436f87['restore']());}class he extends _0x5a67bd{constructor(_0x5e3b8e,_0x1d15a7){const _0x26a209=_0x69e053;super(_0x5e3b8e,_0x1d15a7),_(this,_0x26a209(0x300)),_(this,_0x26a209(0x2e0)),(this[_0x26a209(0x300)]=_0x1d15a7==null?void 0x0:_0x1d15a7['color'],this[_0x26a209(0x2e0)]=_0x1d15a7==null?void 0x0:_0x1d15a7[_0x26a209(0x2e0)]);}static['drawWith'](_0x752809,_0x4c03cb){const _0x3b1ce6=_0x69e053,{text:_0x12842e,color:_0x58360c}=_0x4c03cb;_0x752809[_0x3b1ce6(0x298)](),_0x752809[_0x3b1ce6(0x345)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x14a3cd=_0x752809['measureText'](_0x12842e)[_0x3b1ce6(0x23c)],_0x538f82=Math['min'](_0x14a3cd+0x2*me,Qe);Oi(_0x752809,{'height':ee,'radius':0x4,'width':_0x538f82,'fill':_0x58360c}),_0x752809[_0x3b1ce6(0x1a2)]=_0x3b1ce6(0x280);const _0x5c999b=me,_0x3549fe=ee-Ei,_0x5c3a76=Qe-0x2*me;if(_0x14a3cd>_0x5c3a76){let _0x297d63='',_0x5b1f67=0x0;for(const _0x1a05e5 of _0x12842e){const _0x42ad5b=_0x752809[_0x3b1ce6(0x246)](_0x1a05e5)[_0x3b1ce6(0x23c)];if(_0x5b1f67+_0x42ad5b<=_0x5c3a76-_0x752809[_0x3b1ce6(0x246)]('...')['width'])_0x297d63+=_0x1a05e5,_0x5b1f67+=_0x42ad5b;else{_0x297d63+=_0x3b1ce6(0x215);break;}}_0x752809['fillText'](_0x297d63,_0x5c999b,_0x3549fe);}else _0x752809[_0x3b1ce6(0x198)](_0x12842e,_0x5c999b,_0x3549fe);_0x752809[_0x3b1ce6(0x32a)]();}[_0x69e053(0x2c0)](_0x5beb9b){const _0x4069c8=_0x69e053;he[_0x4069c8(0x2dc)](_0x5beb9b,this);}}const Ie=_0x69e053(0x328),bi=_0x69e053(0x1e0),Ti=_0x69e053(0x2a3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x69e053(0x1b4);class qe{constructor(_0x51be3f,_0x58189a,_0x2b8aa6,_0x13242c){const _0x3b721c=_0x69e053;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x3b721c(0x167),null),_(this,_0x3b721c(0x274),null),_(this,'_eventUnsubscribe',null),(this[_0x3b721c(0x17c)]=_0x51be3f,this[_0x3b721c(0x26c)]=_0x58189a,this[_0x3b721c(0x22f)]=_0x2b8aa6,this[_0x3b721c(0x19a)]=_0x13242c,this[_0x3b721c(0x1db)]());}set[_0x69e053(0x260)](_0x3e258c){const _0x578046=_0x69e053;_0x3e258c?(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x19b)](),this['_textBubble']&&this[_0x578046(0x17b)][_0x578046(0x1d5)]()):(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x1d5)](),this['_textBubble']&&this[_0x578046(0x17b)]['hide']());}[_0x69e053(0x2d4)](){const _0x33b3bf=_0x69e053;for(const _0x4b5f16 of this['_shapes'])_0x4b5f16[_0x33b3bf(0x2d4)]();this[_0x33b3bf(0x17b)]&&this[_0x33b3bf(0x17b)]['dispose'](),this[_0x33b3bf(0x167)]&&this['_anchorDot'][_0x33b3bf(0x2d4)](),this[_0x33b3bf(0x1ca)]&&this[_0x33b3bf(0x1ca)][_0x33b3bf(0x2d4)](),this['_eventUnsubscribe']&&this[_0x33b3bf(0x244)]();}[_0x69e053(0x1db)](){const _0x49f7cf=_0x69e053;var _0x50c2de;const {_docSkeleton:_0x76ffbb,_document:_0x1d60cb}=this,{color:_0x16ca17,name:_0x4e302c,ranges:_0x1d669a}=this[_0x49f7cf(0x17c)],_0x2976e5=_0x1d60cb[_0x49f7cf(0x15b)](),{docsLeft:_0x32a617,docsTop:_0x26a7f0}=_0x2976e5,_0x26b3c8=new _0xe67241(_0x2976e5,_0x76ffbb);for(const {startOffset:_0x2af2bc,endOffset:_0x2bc5de,rangeType:_0x235bff,segmentId:_0x54d790,segmentPage:_0x280c11,collapsed:_0x48d985,isActive:_0x35d4af}of _0x1d669a){const _0x5e5a79=_0x76ffbb[_0x49f7cf(0x174)](_0x2af2bc,!0x0,_0x54d790,_0x280c11);let _0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de,!0x0,_0x54d790,_0x280c11);if(_0x265f66==null&&(_0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de-0x1,!0x1,_0x54d790,_0x280c11)),_0x35d4af){const {contentBoxPointGroup:_0x324c43}=_0x26b3c8[_0x49f7cf(0x230)](_0x265f66,_0x265f66);if(_0x324c43[_0x49f7cf(0x306)]===0x0)continue;this['_drawAnchor'](_0x16ca17,_0x324c43,_0x32a617,_0x26a7f0,_0x4e302c),this[_0x49f7cf(0x244)]=this[_0x49f7cf(0x2df)]();}if(_0x5e5a79&&_0x265f66){if(_0x235bff===_0x5c07ca[_0x49f7cf(0x296)]){const _0x2514ba=new _0x573a8f(_0x2976e5,_0x76ffbb),{pointGroup:_0x2bc578}=(_0x50c2de=_0x2514ba[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66))!=null?_0x50c2de:{};if(_0x2bc578==null||_0x2bc578['length']===0x0)continue;this[_0x49f7cf(0x327)](_0x16ca17,_0x2bc578,_0x32a617,_0x26a7f0);}else{if(!_0x48d985){const {borderBoxPointGroup:_0x16460e}=_0x26b3c8[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66);if(_0x16460e[_0x49f7cf(0x306)]===0x0)continue;this[_0x49f7cf(0x2d5)](_0x16ca17,_0x16460e,_0x32a617,_0x26a7f0);}}}}}[_0x69e053(0x1c7)](_0x6cdc88,_0x57ff4,_0x282f36,_0x2779ba,_0x45351c){const _0x226ab2=_0x69e053,_0x177a63=this['_getAnchorBounding'](_0x57ff4),{left:_0x3d37ac,top:_0x2020f4,height:_0x2a4c00}=_0x177a63,_0x1ee162=this[_0x226ab2(0x180)](),_0x5e205c=Di/_0x1ee162,_0x1a5446=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba,'height':_0x2a4c00,'width':Ri,'fill':_0x6cdc88||_0x4b2883(_0x3995cb['black'],0x0),'strokeWidth':_0x5e205c,'stroke':Ni,'evented':!0x0});this[_0x226ab2(0x1ca)]=_0x1a5446,this['_scene'][_0x226ab2(0x270)](_0x1a5446,_0x43d054);const _0x878bf8=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ge/0x2,'height':ge,'width':ge,'fill':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'strokeWidth':0x0,'stroke':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'evented':!0x1});this['_anchorDot']=_0x878bf8,this[_0x226ab2(0x26c)][_0x226ab2(0x270)](_0x878bf8,_0x43d054);const _0x5b4cbc=new he(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ee,'text':_0x45351c,'color':_0x6cdc88});this[_0x226ab2(0x17b)]=_0x5b4cbc,this[_0x226ab2(0x26c)]['addObject'](_0x5b4cbc,_0x43d054),this[_0x226ab2(0x260)]=!0x1;}[_0x69e053(0x2df)](){const _0xd7c36a=_0x69e053,_0x1152cd=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x162)][_0xd7c36a(0x287)](()=>{this['_hover']=!0x0;}),_0x4d7268=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x19f)][_0xd7c36a(0x287)](()=>{const _0x3f77bd=_0xd7c36a;this[_0x3f77bd(0x274)]&&clearTimeout(this[_0x3f77bd(0x274)]),this['_hideTimer']=setTimeout(()=>{const _0x13e244=_0x3f77bd;this[_0x13e244(0x260)]=!0x1;},0x7d0);});return()=>{_0x1152cd['unsubscribe'](),_0x4d7268['unsubscribe']();};}[_0x69e053(0x2d5)](_0x5c283f,_0x3a292d,_0x45f33f,_0x55d620){const _0x32ef45=_0x69e053,_0x3e3b7a=new _0x50846d(_0x5c283f)[_0x32ef45(0x211)](0.2)[_0x32ef45(0x17a)](),_0x461712=new _0x1d218e(bi+_0x469588[_0x32ef45(0x2fa)](X),{'pointsGroup':_0x3a292d,'fill':_0x3e3b7a||_0x4b2883(_0x3995cb[_0x32ef45(0x18f)],0.2),'left':_0x45f33f,'top':_0x55d620,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x32ef45(0x1a5)](_0x461712),this['_scene'][_0x32ef45(0x270)](_0x461712,_0x43d054);}[_0x69e053(0x327)](_0x1dc69f,_0xf6c089,_0x579bf1,_0x82538c){const _0x445fe7=_0x69e053,_0x9f898c=new _0x50846d(_0x1dc69f)['setAlpha'](0.2)[_0x445fe7(0x17a)](),_0x2a1c86=new _0x1d218e(Ti+_0x469588['generateRandomId'](X),{'pointsGroup':_0xf6c089,'fill':_0x9f898c||_0x4b2883(_0x3995cb[_0x445fe7(0x18f)],0.2),'left':_0x579bf1,'top':_0x82538c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445fe7(0x292)]['push'](_0x2a1c86),this[_0x445fe7(0x26c)][_0x445fe7(0x270)](_0x2a1c86,_0x43d054);}['_getAnchorBounding'](_0x3bc28d){const _0x3dba2c=_0x3bc28d[0x0],_0x409425=_0x3dba2c[0x0],_0x29a110=_0x3dba2c[0x2],{x:_0x468b7f,y:_0x27bf1b}=_0x409425,{x:_0x3cbbaf,y:_0x23893f}=_0x29a110;return{'left':_0x468b7f,'top':_0x27bf1b,'width':_0x3cbbaf-_0x468b7f,'height':_0x23893f-_0x27bf1b};}[_0x69e053(0x180)](){const _0x54b5d6=_0x69e053,{scaleX:_0x2d2502,scaleY:_0x540393}=this['_scene']['getAncestorScale']();return Math[_0x54b5d6(0x237)](_0x2d2502,_0x540393);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x14ded8,_0x2bec5c,_0x325c54,_0x1edeaa)=>{const _0x35eead=_0x69e053;for(var _0x31bf06=_0x1edeaa>0x1?void 0x0:_0x1edeaa?Ui(_0x2bec5c,_0x325c54):_0x2bec5c,_0x20b312=_0x14ded8[_0x35eead(0x306)]-0x1,_0x4ea702;_0x20b312>=0x0;_0x20b312--)(_0x4ea702=_0x14ded8[_0x20b312])&&(_0x31bf06=_0x4ea702(_0x31bf06)||_0x31bf06);return _0x31bf06;},Z=(_0x47c7fe,_0x12eb7f)=>(_0x3721b0,_0x5e9d86)=>_0x12eb7f(_0x3721b0,_0x5e9d86,_0x47c7fe);let we=class extends _0x2e9bdd{constructor(_0x2f6eda,_0x530c29,_0x4da2a4,_0x46e424,_0xac1193){const _0x17a7ef=_0x69e053;super(),_(this,_0x17a7ef(0x355),[]),_(this,_0x17a7ef(0x2f5),[]),(this[_0x17a7ef(0x2ae)]=_0x2f6eda,this['_docSkeletonManagerService']=_0x530c29,this[_0x17a7ef(0x238)]=_0x4da2a4,this[_0x17a7ef(0x2fd)]=_0x46e424,this[_0x17a7ef(0x1b7)]=_0xac1193,this['_init']());}['_init'](){const _0x3b416e=_0x69e053,_0x1eec07=this[_0x3b416e(0x2ae)][_0x3b416e(0x228)],_0x4d5d44=this[_0x3b416e(0x15e)];this[_0x3b416e(0x18c)](_0xd72e73([this[_0x3b416e(0x238)]['getCollabCursors$'](_0x1eec07),this['_themeService'][_0x3b416e(0x299)]])[_0x3b416e(0x21d)](_0x1f7c41(([_0x577273,_0x2c7a17])=>({'skeleton':_0x4d5d44[_0x3b416e(0x172)](),'cursors':[..._0x577273[_0x3b416e(0x25b)]()][_0x3b416e(0x1d6)](_0x1d44e3=>({..._0x1d44e3,'color':this['_themeService'][_0x3b416e(0x250)](_0x1d44e3[_0x3b416e(0x300)])}))})))[_0x3b416e(0x20d)](_0x4fed2c=>{const _0x4c0786=_0x3b416e;if(this[_0x4c0786(0x31f)](),_0x4fed2c){const {skeleton:_0x4813ee,cursors:_0x28e4bb}=_0x4fed2c;this['_updateCollabCursors'](_0x4813ee,_0x28e4bb);}})),this[_0x3b416e(0x27a)](),this[_0x3b416e(0x322)]();}[_0x69e053(0x1a1)](_0x530d5b,_0x7421ab){const _0x146376=_0x69e053,{scene:_0xe2e1d2,mainComponent:_0x566289}=this[_0x146376(0x2ae)],_0x1e58bb=_0x7421ab['map'](_0xd53f98=>new qe(_0xd53f98,_0xe2e1d2,_0x530d5b,_0x566289));this[_0x146376(0x355)]=_0x1e58bb,this[_0x146376(0x2f5)]=_0x7421ab;}['_refreshCollabCursors'](){const _0xe636a0=_0x69e053;this[_0xe636a0(0x31f)]();const {scene:_0x5fc96c,mainComponent:_0x20e5a1}=this[_0xe636a0(0x2ae)],_0x358717=this['_docSkeletonManagerService'][_0xe636a0(0x172)](),_0x3667c8=this[_0xe636a0(0x2f5)][_0xe636a0(0x2b7)](_0x20dee6=>new qe(_0x20dee6,_0x5fc96c,_0x358717,_0x20e5a1));this['_cursorShapes']=_0x3667c8;}['_removeCollabCursors'](){const _0x226d5c=_0x69e053;this[_0x226d5c(0x355)][_0x226d5c(0x2b5)](_0x479771=>_0x479771['dispose']()),this[_0x226d5c(0x355)]=[];}[_0x69e053(0x322)](){const _0x1a303c=_0x69e053,_0x34d862=[_0x2c60ef['id']];this[_0x1a303c(0x18c)](this['_commandService'][_0x1a303c(0x32f)](_0x20ec91=>{const _0x3be2a5=_0x1a303c;_0x34d862[_0x3be2a5(0x16a)](_0x20ec91['id'])&&_0x20ec91[_0x3be2a5(0x210)][_0x3be2a5(0x228)]===this['_context'][_0x3be2a5(0x228)]&&this[_0x3be2a5(0x189)]();}));}[_0x69e053(0x27a)](){const _0x2e7b75=_0x69e053;this[_0x2e7b75(0x18c)](_0x68d662(this[_0x2e7b75(0x2ae)][_0x2e7b75(0x32e)][_0x2e7b75(0x154)])[_0x2e7b75(0x21d)](_0x38db37(_0x5cf04b=>_0x5cf04b['type']===_0x44d47e[_0x2e7b75(0x2db)]),_0x562977(0x10))[_0x2e7b75(0x20d)](()=>{const _0x101d51=_0x2e7b75;this[_0x101d51(0x189)]();}));}};we=Mi([Z(0x1,_0x1edcbc(_0x36f904)),Z(0x2,_0x1edcbc(H)),Z(0x3,_0x2bd5c6),Z(0x4,_0x1edcbc(_0x669f82))],we);const wi=0x1,Pi=1.5;class Li extends _0x5a67bd{constructor(_0x5e93aa,_0x204815){const _0x2a82a5=_0x69e053;super(_0x5e93aa,_0x204815),_(this,_0x2a82a5(0x2f1)),_(this,_0x2a82a5(0x2af),!0x1),_(this,_0x2a82a5(0x32c)),_(this,_0x2a82a5(0x1c5),''),_(this,'_labelPosition','top'),_(this,_0x2a82a5(0x2f4)),(_0x204815&&this[_0x2a82a5(0x1f7)](_0x204815),this[_0x2a82a5(0x162)]['subscribeEvent'](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x0})),this[_0x2a82a5(0x19f)][_0x2a82a5(0x287)](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x1})));}[_0x69e053(0x1f7)](_0x4722e4){const _0x105b43=_0x69e053;var _0x5b461f,_0x5cfb0b,_0x4b2033,_0x2f85ee,_0x406748,_0x5948fe;this['_color']=(_0x5b461f=_0x4722e4['color'])!=null?_0x5b461f:this['_color'],this['_hovered']=(_0x5cfb0b=_0x4722e4[_0x105b43(0x351)])!=null?_0x5cfb0b:this[_0x105b43(0x2af)],this['_range']=(_0x4b2033=_0x4722e4['range'])!=null?_0x4b2033:this[_0x105b43(0x32c)],this[_0x105b43(0x1c5)]=(_0x2f85ee=_0x4722e4['name'])!=null?_0x2f85ee:this[_0x105b43(0x1c5)],this[_0x105b43(0x34c)]=(_0x406748=_0x4722e4[_0x105b43(0x1d2)])!=null?_0x406748:this['_labelPosition'],this[_0x105b43(0x2f4)]=(_0x5948fe=_0x4722e4[_0x105b43(0x17e)])!=null?_0x5948fe:this[_0x105b43(0x2f4)],this[_0x105b43(0x1af)]({'width':_0x4722e4['width'],'height':_0x4722e4[_0x105b43(0x311)]});}[_0x69e053(0x242)](_0x52e3a4){const _0x1298bd=_0x69e053,{row:_0x55984e,column:_0x2dcf38}=_0x52e3a4;if(_0x55984e>=this[_0x1298bd(0x32c)][_0x1298bd(0x205)]&&_0x55984e<=this[_0x1298bd(0x32c)][_0x1298bd(0x1a9)]&&_0x2dcf38>=this[_0x1298bd(0x32c)][_0x1298bd(0x334)]&&_0x2dcf38<=this[_0x1298bd(0x32c)]['endColumn']){this[_0x1298bd(0x1f7)]({'hovered':!0x0});return;}this[_0x1298bd(0x1f7)]({'hovered':!0x1});}[_0x69e053(0x18d)](_0x48e105){return!0x1;}['_draw'](_0x25735d){const _0x31d4b7=_0x69e053;_0x4c78f6['drawWith'](_0x25735d,{'width':this['width'],'height':this[_0x31d4b7(0x311)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31d4b7(0x2af)]&&(_0x25735d['save'](),_0x25735d[_0x31d4b7(0x1ce)](0x1,0x0,0x0,0x1,this[_0x31d4b7(0x23c)],this[_0x31d4b7(0x34c)]===_0x31d4b7(0x16c)?0x0:-0x14),he[_0x31d4b7(0x2dc)](_0x25735d,{'text':this[_0x31d4b7(0x1c5)],'color':this['_color']}),_0x25735d[_0x31d4b7(0x32a)]());}}var Ai=Object[_0x69e053(0x221)],yi=(_0x396a39,_0x38da40,_0x9109bb,_0x4f2bbf)=>{const _0x525817=_0x69e053;for(var _0xf109e6=_0x4f2bbf>0x1?void 0x0:_0x4f2bbf?Ai(_0x38da40,_0x9109bb):_0x38da40,_0x10de49=_0x396a39[_0x525817(0x306)]-0x1,_0x3b998c;_0x10de49>=0x0;_0x10de49--)(_0x3b998c=_0x396a39[_0x10de49])&&(_0xf109e6=_0x3b998c(_0xf109e6)||_0xf109e6);return _0xf109e6;},ve=(_0x573e3a,_0x1d69c5)=>(_0x1e1b73,_0x5bd5f7)=>_0x1d69c5(_0x1e1b73,_0x5bd5f7,_0x573e3a);const $i=0x1389;let Pe=class extends _0x2e9bdd{constructor(_0x594234,_0x24831a,_0x582ad9,_0x55bc81){const _0x6e78d6=_0x69e053;super(),_(this,_0x6e78d6(0x2f5),new Set()),_(this,_0x6e78d6(0x1ee),null),(this[_0x6e78d6(0x2ae)]=_0x594234,this[_0x6e78d6(0x29a)]=_0x24831a,this[_0x6e78d6(0x238)]=_0x582ad9,this['_themeService']=_0x55bc81,this[_0x6e78d6(0x344)]());}[_0x69e053(0x344)](){const _0x4523fa=_0x69e053;this['_sheetSkeletonManagerService'][_0x4523fa(0x24a)][_0x4523fa(0x21d)](_0x55354a(this[_0x4523fa(0x347)]),_0x279d5a(_0x452572=>{const _0x270f75=_0x4523fa;if(_0x452572){const _0xcb7b5d=_0x452572[_0x270f75(0x2a7)];return _0xd72e73(this[_0x270f75(0x238)][_0x270f75(0x1c0)](this[_0x270f75(0x2ae)]['unitId']),this[_0x270f75(0x1b7)][_0x270f75(0x299)])[_0x270f75(0x21d)](_0x1f7c41(([_0x128d31,_0x2645d8])=>{const _0x1520a4=new Map();return _0x128d31['forEach']((_0x124181,_0x12b771)=>{const _0x24d6ae=_0x2094;if(_0x124181[_0x24d6ae(0x23e)]===_0xcb7b5d){const _0x421205={..._0x124181};_0x421205[_0x24d6ae(0x300)]=this['_themeService'][_0x24d6ae(0x250)](_0x124181[_0x24d6ae(0x300)]),_0x1520a4['set'](_0x12b771,_0x421205);}}),{'skeleton':_0x452572,'cursors':_0x1520a4};}));}return _0xd879b8({'skeleton':null,'cursors':new Map()});}))[_0x4523fa(0x20d)](({skeleton:_0x44f3b4,cursors:_0x29be4a})=>{const _0x23d7fc=_0x4523fa;this[_0x23d7fc(0x31f)](),_0x44f3b4&&this[_0x23d7fc(0x1a1)](_0x44f3b4,_0x29be4a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4523fa(0x20d)](_0x69616e=>{const _0x1b9b67=_0x4523fa;if(_0x69616e==null)return;const {skeleton:_0x28ebc4}=_0x69616e,{scene:_0xbff414}=this[_0x1b9b67(0x2ae)];_0xbff414[_0x1b9b67(0x2fc)][_0x1b9b67(0x287)](_0x255206(_0x16387d=>{const _0x4faab3=_0x1b9b67;var _0x576761,_0x474911;const {offsetX:_0x20c048,offsetY:_0xb327a5}=_0x16387d,{x:_0x3449dd,y:_0x503ffe}=_0xbff414[_0x4faab3(0x203)](_0x462525[_0x4faab3(0x2dd)]([_0x20c048,_0xb327a5])),{scaleX:_0xab24e4,scaleY:_0x2e76f1}=_0xbff414[_0x4faab3(0x258)](),_0x4407d5=_0xbff414[_0x4faab3(0x1da)](_0x5b0074['VIEW_MAIN']),_0x112330=_0xbff414[_0x4faab3(0x2d2)](_0x462525[_0x4faab3(0x2dd)]([_0x3449dd,_0x503ffe]),_0x4407d5),_0x684dc3=_0x28ebc4[_0x4faab3(0x2d1)](_0x20c048,_0xb327a5,_0xab24e4,_0x2e76f1,_0x112330);((_0x576761=this[_0x4faab3(0x1ee)])==null?void 0x0:_0x576761[_0x4faab3(0x320)])===_0x684dc3[_0x4faab3(0x320)]&&((_0x474911=this['_lastPointer'])==null?void 0x0:_0x474911[_0x4faab3(0x23f)])===_0x684dc3[_0x4faab3(0x23f)]||this[_0x4faab3(0x2f5)]['forEach'](_0x250b84=>{const _0x17a6af=_0x4faab3;_0x250b84[_0x17a6af(0x242)](_0x684dc3);});},0x64));});}[_0x69e053(0x1a1)](_0x552ed8,_0xafafaf){const _0x560c93=_0x69e053;var _0x4472a8;const _0x3c0b78=(_0x4472a8=this[_0x560c93(0x29a)][_0x560c93(0x272)]())==null?void 0x0:_0x4472a8[_0x560c93(0x29e)];if(!_0x3c0b78)return;const _0xc13618=this[_0x560c93(0x2a5)]();if(!_0xc13618)return;this[_0x560c93(0x2f5)][_0x560c93(0x2b5)](_0xdbd2d7=>{const _0x48dc65=_0x560c93;_0xdbd2d7[_0x48dc65(0x188)]();});const {scene:_0x15d9d2}=_0xc13618,_0x20d0ef=xi(Array[_0x560c93(0x341)](_0xafafaf['values']()))['map'](_0x13f27a=>{const _0x312f41=_0x560c93,{color:_0x52f77f,range:_0x2f6108,name:_0x410668,selection:_0x57360c,sheetID:_0x9cac7}=_0x13f27a,{startColumn:_0x19e071,startRow:_0x570acd,endColumn:_0x4025f7,endRow:_0x22ebca}=_0x2f6108,_0x5b210b=_0x2efb09(_0x570acd,_0x19e071,_0x15d9d2,_0x3c0b78),_0x3badaa=_0x2efb09(_0x22ebca,_0x4025f7,_0x15d9d2,_0x3c0b78),{columnHeaderHeightAndMarginTop:_0x18eee2}=_0x3c0b78,{startX:_0x4b392f,startY:_0xb52c6d}=_0x5b210b,{endX:_0x14e3f0,endY:_0x3d9b2b}=_0x3badaa,_0x3e087f=_0x14e3f0-_0x4b392f,_0x2ec4de=_0x3d9b2b-_0xb52c6d,_0x40cec9={'labelPosition':_0xb52c6d-_0x18eee2>=ee?_0x312f41(0x2c8):_0x312f41(0x16c),'sheetID':_0x9cac7,'range':_0x2f6108,'color':_0x52f77f,'name':_0x410668,'selection':_0x57360c,'left':_0x4b392f,'top':_0xb52c6d,'width':_0x3e087f,'height':_0x2ec4de,'evented':!0x1,'zIndex':$i};return new Li(_0x410668,_0x40cec9);});_0x15d9d2[_0x560c93(0x214)](_0x20d0ef,wi),this[_0x560c93(0x2f5)]=new Set(_0x20d0ef);}['_removeCollabCursors'](){const _0x448567=_0x69e053;var _0x5f595f;(_0x5f595f=this['_cursors'])==null||_0x5f595f[_0x448567(0x2b5)](_0x5603c0=>_0x5603c0[_0x448567(0x2d4)]());}[_0x69e053(0x2a5)](){return _0x461c8d(this['_context']['unit'],this['_context']);}};Pe=yi([ve(0x1,_0x1edcbc(_0xa14f88)),ve(0x2,_0x1edcbc(H)),ve(0x3,_0x1edcbc(_0x669f82))],Pe);function xi(_0x2a0742){const _0x1248ef=_0x69e053,_0x238b3f=new Map();return _0x2a0742[_0x1248ef(0x2b5)](_0x18822a=>{const _0xc35c44=_0x1248ef;if(_0x238b3f[_0xc35c44(0x289)](_0x18822a[_0xc35c44(0x2ec)])){const _0x2277e2=_0x238b3f[_0xc35c44(0x2a0)](_0x18822a[_0xc35c44(0x2ec)]);_0x2277e2['name']+=',\x20'+_0x18822a[_0xc35c44(0x338)];}else _0x238b3f['set'](_0x18822a[_0xc35c44(0x2ec)],_0x18822a);}),Array[_0x1248ef(0x341)](_0x238b3f[_0x1248ef(0x25b)]());}var v=function(){const _0x323005=_0x69e053;return v=Object[_0x323005(0x278)]||function(_0x3a8681){const _0x3df1fd=_0x323005;for(var _0x52fc82,_0x2dff1b=0x1,_0x59d0e9=arguments[_0x3df1fd(0x306)];_0x2dff1b<_0x59d0e9;_0x2dff1b++){_0x52fc82=arguments[_0x2dff1b];for(var _0x32c00f in _0x52fc82)Object[_0x3df1fd(0x200)][_0x3df1fd(0x25c)]['call'](_0x52fc82,_0x32c00f)&&(_0x3a8681[_0x32c00f]=_0x52fc82[_0x32c00f]);}return _0x3a8681;},v['apply'](this,arguments);},Bi=function(_0x4dd70b,_0x2c5cfe){const _0x127fb0=_0x69e053;var _0x395975={};for(var _0x68e85e in _0x4dd70b)Object[_0x127fb0(0x200)][_0x127fb0(0x25c)][_0x127fb0(0x1d9)](_0x4dd70b,_0x68e85e)&&_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e)<0x0&&(_0x395975[_0x68e85e]=_0x4dd70b[_0x68e85e]);if(_0x4dd70b!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1ab9d3=0x0,_0x68e85e=Object[_0x127fb0(0x192)](_0x4dd70b);_0x1ab9d3<_0x68e85e['length'];_0x1ab9d3++)_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e[_0x1ab9d3])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4dd70b,_0x68e85e[_0x1ab9d3])&&(_0x395975[_0x68e85e[_0x1ab9d3]]=_0x4dd70b[_0x68e85e[_0x1ab9d3]]);}return _0x395975;},je=_0x4f8fed(function(_0x38c511,_0x2ac0a2){const _0x30598f=_0x69e053;var _0x16fcc7=_0x38c511[_0x30598f(0x333)],_0x41de81=_0x38c511['id'],_0x56cca3=_0x38c511[_0x30598f(0x318)],_0x24207b=_0x38c511[_0x30598f(0x220)],_0x2e8f1a=Bi(_0x38c511,['icon','id',_0x30598f(0x318),_0x30598f(0x220)]),_0xbb9c50=_0x30598f(0x239)[_0x30598f(0x21f)](_0x41de81,'\x20')[_0x30598f(0x21f)](_0x56cca3||'')['trim'](),_0x31dbb4=_0x13e355('_'[_0x30598f(0x21f)](ji()));return Rt(_0x16fcc7,''[_0x30598f(0x21f)](_0x41de81),{'defIds':_0x16fcc7[_0x30598f(0x2eb)],'idSuffix':_0x31dbb4[_0x30598f(0x24f)]},v({'ref':_0x2ac0a2,'className':_0xbb9c50},_0x2e8f1a),_0x24207b);});function Rt(_0x2e2365,_0x31ad57,_0x7b915d,_0x198c7a,_0x1d9be2){const _0x1fd9f4=_0x69e053;return _0x567240(_0x2e2365[_0x1fd9f4(0x2a8)],v(v({'key':_0x31ad57},ki(_0x2e2365,_0x7b915d,_0x1d9be2)),_0x198c7a),(Hi(_0x2e2365,_0x7b915d)['children']||[])[_0x1fd9f4(0x2b7)](function(_0x147cb9,_0x4acceb){const _0x6bd6f9=_0x1fd9f4;return Rt(_0x147cb9,''[_0x6bd6f9(0x21f)](_0x31ad57,'-')['concat'](_0x2e2365['tag'],'-')[_0x6bd6f9(0x21f)](_0x4acceb),_0x7b915d,void 0x0,_0x1d9be2);}));}function ki(_0x6f5f50,_0x56c187,_0x332fd3){const _0x595b0a=_0x69e053;var _0x3b0fae=v({},_0x6f5f50[_0x595b0a(0x1e1)]);_0x332fd3!=null&&_0x332fd3[_0x595b0a(0x2f0)]&&_0x3b0fae[_0x595b0a(0x284)]==='colorChannel1'&&(_0x3b0fae[_0x595b0a(0x284)]=_0x332fd3[_0x595b0a(0x2f0)]),_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x1d7)&&_0x3b0fae['id']&&(_0x3b0fae['id']=_0x3b0fae['id']+_0x56c187['idSuffix']),Object[_0x595b0a(0x34d)](_0x3b0fae)[_0x595b0a(0x2b5)](function(_0x326e4f){const _0x3ac33d=_0x595b0a;var _0x1316f0=_0x326e4f[0x0],_0x318de0=_0x326e4f[0x1];_0x1316f0===_0x3ac33d(0x1d7)&&typeof _0x318de0==_0x3ac33d(0x21b)&&(_0x3b0fae[_0x1316f0]=_0x318de0[_0x3ac33d(0x31c)](/url\(#(.*)\)/,_0x3ac33d(0x1a4)['concat'](_0x56c187[_0x3ac33d(0x358)],')')));});var _0x3cf7b3=_0x56c187[_0x595b0a(0x2eb)];return!_0x3cf7b3||_0x3cf7b3[_0x595b0a(0x306)]===0x0||(_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x271)&&_0x3b0fae[_0x595b0a(0x256)]&&(_0x3b0fae[_0x595b0a(0x256)]=_0x3b0fae[_0x595b0a(0x256)]+_0x56c187[_0x595b0a(0x358)]),Object[_0x595b0a(0x34d)](_0x3b0fae)['forEach'](function(_0x446bd7){const _0x430b82=_0x595b0a;var _0x10a148=_0x446bd7[0x0],_0x502229=_0x446bd7[0x1];typeof _0x502229==_0x430b82(0x21b)&&(_0x3b0fae[_0x10a148]=_0x502229[_0x430b82(0x31c)](/url\(#(.*)\)/,'url(#$1'[_0x430b82(0x21f)](_0x56c187['idSuffix'],')')));})),_0x3b0fae;}function Hi(_0x4b3d7f,_0x1f33e4){const _0x9178e=_0x69e053;var _0x4dc356,_0x1a46b4=_0x1f33e4['defIds'];return!_0x1a46b4||_0x1a46b4[_0x9178e(0x306)]===0x0?_0x4b3d7f:_0x4b3d7f[_0x9178e(0x2a8)]===_0x9178e(0x23a)&&(!((_0x4dc356=_0x4b3d7f[_0x9178e(0x16b)])===null||_0x4dc356===void 0x0)&&_0x4dc356[_0x9178e(0x306)])?v(v({},_0x4b3d7f),{'children':_0x4b3d7f[_0x9178e(0x16b)][_0x9178e(0x2b7)](function(_0x22ec9a){const _0x56d13b=_0x9178e;return typeof _0x22ec9a[_0x56d13b(0x1e1)]['id']==_0x56d13b(0x21b)&&_0x1a46b4&&_0x1a46b4[_0x56d13b(0x16a)](_0x22ec9a['attrs']['id'])?v(v({},_0x22ec9a),{'attrs':v(v({},_0x22ec9a[_0x56d13b(0x1e1)]),{'id':_0x22ec9a[_0x56d13b(0x1e1)]['id']+_0x1f33e4[_0x56d13b(0x358)]})}):_0x22ec9a;})}):_0x4b3d7f;}function ji(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}je[_0x69e053(0x2f8)]=_0x69e053(0x34b);var Yi={'tag':_0x69e053(0x20e),'attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x2a9),'width':_0x69e053(0x22c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x15f)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2ab),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':_0x69e053(0x23a),'attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x231)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':_0x69e053(0x329)}}]}]}],'defIds':[_0x69e053(0x231)]},Dt=_0x4f8fed(function(_0xa1bb46,_0x38abab){const _0x15cd76=_0x69e053;return _0x567240(je,Object['assign']({},_0xa1bb46,{'id':_0x15cd76(0x34a),'ref':_0x38abab,'icon':Yi}));});Dt[_0x69e053(0x2f8)]='OffLineIcon';var Fi={'tag':'svg','attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x315),'width':_0x69e053(0x22c),'height':_0x69e053(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x2b1)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2b9),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x2cb)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':'M0\x200H16V16H0z','transform':_0x69e053(0x196)}}]}]}],'defIds':[_0x69e053(0x2cb)]},Nt=_0x4f8fed(function(_0x4436e0,_0x3e785d){const _0x53ad48=_0x69e053;return _0x567240(je,Object[_0x53ad48(0x278)]({},_0x4436e0,{'id':'on-line-icon','ref':_0x3e785d,'icon':Fi}));});Nt['displayName']=_0x69e053(0x305);function Wi(_0x324681){const _0x3c36e2=_0x69e053;switch(_0x324681){case _0x2c5ad0['OFFLINE']:return'collabStatus.offline';case _0x2c5ad0[_0x3c36e2(0x176)]:return _0x3c36e2(0x1fa);case _0x2c5ad0['FETCH_MISS']:return _0x3c36e2(0x2c7);case _0x2c5ad0['NOT_COLLAB']:return _0x3c36e2(0x22a);case _0x2c5ad0[_0x3c36e2(0x1cd)]:case _0x2c5ad0[_0x3c36e2(0x2a4)]:return _0x3c36e2(0x1f4);case _0x2c5ad0[_0x3c36e2(0x32b)]:case _0x2c5ad0[_0x3c36e2(0x2d6)]:return _0x3c36e2(0x34f);}}function Vi(_0x4aff99){const _0x2bcb9c=_0x69e053,{status$:_0x120312}=_0x4aff99,_0x384912=_0x5211a7(_0x120312,_0x2c5ad0[_0x2bcb9c(0x1ef)]),_0x481319=_0x4d6731(_0x7c2e8c),_0x5e3dca=_0x4d6731(_0x544921),_0x2f5fb1=_0x384912!==_0x2c5ad0[_0x2bcb9c(0x1bd)],_0x5b5a34=_0x481319['t'](Wi(_0x384912)),_0x2e57b6=_0x2f5fb1?_0x130579(Nt,{}):_0x130579(Dt,{}),_0x429bdb=_0x18a898(()=>{const _0x35cf3f=_0x2bcb9c;_0x2f5fb1||_0x5e3dca[_0x35cf3f(0x157)]();},[_0x2f5fb1,_0x5e3dca]);function _0x3977f7(){const _0x57f833=_0x2bcb9c;return _0x55e4d8('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x429bdb,'children':[_0x130579('div',{'className':_0x25b0bb(_0x57f833(0x317),{'univer-text-green-500':_0x2f5fb1,'univer-text-red-500':!_0x2f5fb1}),'children':_0x2e57b6}),_0x130579(_0x57f833(0x17d),{'className':_0x57f833(0x240),'children':_0x5b5a34})]});}return _0x2f5fb1?_0x3977f7():_0x130579(_0x30c09d,{'title':_0x481319['t'](_0x2bcb9c(0x206)),'children':_0x3977f7()});}var Xi=Object[_0x69e053(0x221)],Gi=(_0x564122,_0x872c21,_0x298b11,_0x2b1301)=>{const _0xa5bfdc=_0x69e053;for(var _0x5f4f0d=_0x2b1301>0x1?void 0x0:_0x2b1301?Xi(_0x872c21,_0x298b11):_0x872c21,_0x451011=_0x564122[_0xa5bfdc(0x306)]-0x1,_0x153b5e;_0x451011>=0x0;_0x451011--)(_0x153b5e=_0x564122[_0x451011])&&(_0x5f4f0d=_0x153b5e(_0x5f4f0d)||_0x5f4f0d);return _0x5f4f0d;},Q=(_0x33161b,_0x258d03)=>(_0x1d6867,_0x321902)=>_0x258d03(_0x1d6867,_0x321902,_0x33161b);let te=class extends _0x404876{constructor(_0x4de84d,_0x171a07,_0x5a275d,_0x68a1a5){const _0x154198=_0x69e053;super(),_(this,'_status$',new _0x69ec1c(_0x2c5ad0[_0x154198(0x1ef)])),(this[_0x154198(0x30a)]=_0x4de84d,this[_0x154198(0x248)]=_0x171a07,this[_0x154198(0x194)]=_0x5a275d,this[_0x154198(0x273)]=_0x68a1a5,this[_0x154198(0x173)](),this[_0x154198(0x336)]());}[_0x69e053(0x336)](){const _0x2e7535=_0x69e053;this[_0x2e7535(0x18c)](this[_0x2e7535(0x30a)]['focused$']['pipe'](_0x60c435(()=>{const _0x1ef458=_0x2e7535,_0x29b741=this[_0x1ef458(0x30a)][_0x1ef458(0x348)]();return _0x29b741?this['_collaborationController'][_0x1ef458(0x1d1)](_0x29b741['getUnitId']()):_0xd879b8(null);}),_0x60c435(_0x528248=>_0x528248?_0x528248[_0x2e7535(0x257)]:_0xd879b8(_0x2c5ad0[_0x2e7535(0x1ef)])))['subscribe'](_0x360d50=>{const _0x11d959=_0x2e7535;this[_0x11d959(0x218)][_0x11d959(0x309)](_0x360d50);}));}[_0x69e053(0x173)](){const _0x3e48b8=_0x69e053;this['disposeWithMe'](this['_uiPartsService'][_0x3e48b8(0x28c)](_0x4cf15d['HEADER_MENU'],()=>_0x5cc765(Ki({'status$':this[_0x3e48b8(0x218)]['asObservable']()}),this[_0x3e48b8(0x248)])));}};te=Gi([Q(0x0,_0x72afad),Q(0x1,_0x1edcbc(_0x30157b)),Q(0x2,_0x1edcbc(_0x226cfe)),Q(0x3,_0x17e2dc)],te);function Ki(_0x4b95b6){const {status$:_0x5287d8}=_0x4b95b6;return function(){return _0x130579(Vi,{'status$':_0x5287d8});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x44d548,_0x1ea1ec,_0x5ee2ad,_0x405915)=>{const _0x1abcfb=_0x69e053;for(var _0x556886=_0x405915>0x1?void 0x0:_0x405915?zi(_0x1ea1ec,_0x5ee2ad):_0x1ea1ec,_0x185cab=_0x44d548[_0x1abcfb(0x306)]-0x1,_0x3c6563;_0x185cab>=0x0;_0x185cab--)(_0x3c6563=_0x44d548[_0x185cab])&&(_0x556886=_0x3c6563(_0x556886)||_0x556886);return _0x556886;},B=(_0x3b6fe3,_0x46955b)=>(_0xaae7c5,_0x47a29f)=>_0x46955b(_0xaae7c5,_0x47a29f,_0x3b6fe3);let se=class extends _0x404876{constructor(_0x5289b4,_0x47bf8e,_0x12140f,_0x26a30d,_0x191da7,_0x3a30e0){const _0x2d077a=_0x69e053;super(),this['_beforeCloseService']=_0x5289b4,this[_0x2d077a(0x20f)]=_0x47bf8e,this[_0x2d077a(0x2a1)]=_0x12140f,this[_0x2d077a(0x2d3)]=_0x26a30d,this[_0x2d077a(0x26d)]=_0x191da7,this[_0x2d077a(0x193)]=_0x3a30e0,this[_0x2d077a(0x27c)](),this[_0x2d077a(0x313)]();}[_0x69e053(0x27c)](){const _0x6d8deb=_0x69e053;this[_0x6d8deb(0x18c)](this[_0x6d8deb(0x2d9)]['registerBeforeClose'](()=>{const _0x545b4c=_0x6d8deb;if(this[_0x545b4c(0x20f)][_0x545b4c(0x1c4)][_0x545b4c(0x266)])return this[_0x545b4c(0x193)]['t'](_0x545b4c(0x178));}));}[_0x69e053(0x313)](){const _0x5f08a6=_0x69e053;this[_0x5f08a6(0x18c)](this[_0x5f08a6(0x2a1)][_0x5f08a6(0x1a3)][_0x5f08a6(0x20d)](_0x20f83e=>{const _0x54eb96=_0x5f08a6;_0x20f83e['id']===_0x17f4d0['OTHER_CLIENT_EDITING']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2aa))}),_0x20f83e['id']===_0x17f4d0['CLOSE_ROOM']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this['_localeService']['t'](_0x54eb96(0x2f9))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x156)]&&this['_notificationService'][_0x54eb96(0x1d5)]({'title':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x160)),'content':this[_0x54eb96(0x193)]['t']('permission.content'),'type':_0x54eb96(0x216),'duration':0x0}),_0x20f83e['id']===_0x17f4d0['CONFLICT']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2f9))+'('+_0x20f83e[_0x54eb96(0x1ea)]+')'}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x20a)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x20f83e[_0x54eb96(0x1ea)]||'')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x181)]&&this[_0x54eb96(0x2d3)]['show']({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t']('session.will-retry')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x2c5)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x324))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x179)]&&this['_messageService'][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x1f2))});}));}};se=Ji([B(0x0,_0x3aca32),B(0x1,_0x25f3f0),B(0x2,_0x1edcbc(_0xae6817)),B(0x3,_0x4d61bb),B(0x4,_0x5b6f74),B(0x5,_0x1edcbc(_0x7c2e8c))],se);const Zi=_0x69e053(0x1d3),et={},Ut=_0x30c947(_0x69e053(0x30f));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x334619,_0x2017fe,_0x1b31aa,_0x3d840c)=>{const _0x1effd6=_0x69e053;for(var _0x1e2fc0=_0x3d840c>0x1?void 0x0:_0x3d840c?Qi(_0x2017fe,_0x1b31aa):_0x2017fe,_0xb542c=_0x334619[_0x1effd6(0x306)]-0x1,_0x5362e5;_0xb542c>=0x0;_0xb542c--)(_0x5362e5=_0x334619[_0xb542c])&&(_0x1e2fc0=_0x5362e5(_0x1e2fc0)||_0x1e2fc0);return _0x1e2fc0;},G=(_0x114ad5,_0x41a75b)=>(_0x41c025,_0x31e7c6)=>_0x41a75b(_0x41c025,_0x31e7c6,_0x114ad5);let ie=class extends _0x2e9bdd{constructor(_0x5b1295,_0x58664e,_0x21613b,_0x1ccf20,_0x1ac008){const _0x58def2=_0x69e053;super(),this['_urlService']=_0x5b1295,this[_0x58def2(0x2d0)]=_0x58664e,this[_0x58def2(0x2fd)]=_0x21613b,this[_0x58def2(0x275)]=_0x1ccf20,_0x1ac008?_0x1ac008==null||_0x1ac008['whenReady']()[_0x58def2(0x15a)](()=>this[_0x58def2(0x344)]()):(this[_0x58def2(0x2d0)][_0x58def2(0x2f3)](_0x58def2(0x1fd),_0x58def2(0x28a)),this[_0x58def2(0x344)]());}async[_0x69e053(0x344)](){const _0x2d8d81=_0x69e053,_0x4b0fd9=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x16e)),_0xd5139b=this['_urlService']['getParam'](_0x2d8d81(0x241)),_0x54a36f=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x22e));if(!_0x4b0fd9||!_0xd5139b){this['_logService'][_0x2d8d81(0x2f3)](_0x2d8d81(0x1fd),_0x2d8d81(0x25d));return;}const _0x2d7c0a=await this[_0x2d8d81(0x275)][_0x2d8d81(0x30d)](_0x4b0fd9,Number(_0xd5139b),_0x54a36f);_0x2d7c0a&&_0x2d7c0a instanceof _0x5c97a8&&this[_0x2d8d81(0x1aa)](_0x2d7c0a);}async['_setupSubUnitSync'](_0x259805){const _0x510d96=_0x69e053;await this[_0x510d96(0x255)](_0x259805),_0x259805[_0x510d96(0x2e1)][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))['subscribe'](_0x1b19c9=>{const _0x1be9c7=_0x510d96;_0x1b19c9&&this[_0x1be9c7(0x1c8)](_0x1b19c9);}),this[_0x510d96(0x2fb)]['urlChange$'][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))[_0x510d96(0x20d)](()=>this['_updateSubUnitFromURLParams'](_0x259805));}[_0x69e053(0x1c8)](_0x39e153,_0x6e03f7=!0x1){const _0x15c646=_0x69e053,_0x4e89c1=this[_0x15c646(0x2fb)][_0x15c646(0x33d)](_0x15c646(0x22e));_0x39e153['getSheetId']()!==_0x4e89c1&&this[_0x15c646(0x2fb)][_0x15c646(0x18a)](_0x15c646(0x22e),_0x39e153[_0x15c646(0x226)](),_0x6e03f7);}async[_0x69e053(0x255)](_0x407e0f){const _0x11057a=_0x69e053;var _0x32fb63;const _0xd85834=this[_0x11057a(0x2fb)][_0x11057a(0x33d)](_0x11057a(0x22e));if(!_0xd85834||!_0x407e0f[_0x11057a(0x158)](_0xd85834)){const _0x4c5d52=_0x407e0f['getUnhiddenWorksheets']()[0x0],_0x35c62c=_0x407e0f[_0x11057a(0x158)](_0x4c5d52);if(!_0x35c62c)return;this['_updateURLWithCurrentState'](_0x35c62c,!0x0),await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f['getUnitId'](),'subUnitId':_0x4c5d52});return;}((_0x32fb63=_0x407e0f['getActiveSheet']())==null?void 0x0:_0x32fb63[_0x11057a(0x226)]())!==_0xd85834&&await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f[_0x11057a(0x213)](),'subUnitId':_0xd85834});}};ie=qi([G(0x0,Ut),G(0x1,_0x501a2f),G(0x2,_0x2bd5c6),G(0x3,_0x1edcbc(_0x2186e2)),G(0x4,_0x166217(_0x3bfd4b))],ie);var en=Object[_0x69e053(0x221)],tn=(_0x3e44fd,_0x59e251,_0x5b7e0b,_0x297bc9)=>{const _0x122b8c=_0x69e053;for(var _0x56a053=_0x297bc9>0x1?void 0x0:_0x297bc9?en(_0x59e251,_0x5b7e0b):_0x59e251,_0x486dab=_0x3e44fd[_0x122b8c(0x306)]-0x1,_0x12ba94;_0x486dab>=0x0;_0x486dab--)(_0x12ba94=_0x3e44fd[_0x486dab])&&(_0x56a053=_0x12ba94(_0x56a053)||_0x56a053);return _0x56a053;},pe=(_0x2892c7,_0x346382)=>(_0x26a080,_0x31e06f)=>_0x346382(_0x26a080,_0x31e06f,_0x2892c7);let ne=class{constructor(_0x2cbfe7,_0x3ea270,_0x21e010){this['_injector']=_0x2cbfe7,this['_transformService']=_0x3ea270,this['_renderManagerService']=_0x21e010;}[_0x69e053(0x223)](_0x3d28fe){const _0x2c37fc=_0x69e053;this[_0x2c37fc(0x1eb)](_0x3d28fe),this[_0x2c37fc(0x254)](_0x3d28fe);}[_0x69e053(0x1c6)](_0x4f98ce){const _0xc0d20b=_0x69e053,{unitID:_0x36eded}=_0x4f98ce,_0x5c6391=this[_0xc0d20b(0x302)][_0xc0d20b(0x190)](_0x36eded)[_0xc0d20b(0x28b)](_0x40ad3c),{redoCache:_0x29b1ae}=_0x5c6391['getUndoRedoMutationParamsCache']();if(_0x29b1ae[_0xc0d20b(0x306)]===0x0)return _0x4f98ce;let _0x325de3=_0x469588[_0xc0d20b(0x17f)](_0x4f98ce[_0xc0d20b(0x282)][0x0]);for(let _0x29597f=0x0;_0x29597f<_0x29b1ae['length'];_0x29597f++){const _0x556d01={'id':_0xc0d20b(0x163),'params':{..._0x29b1ae[_0x29597f]}},_0x4ca053=this[_0xc0d20b(0x247)][_0xc0d20b(0x19e)](_0x325de3,_0x556d01,!0x1);if(_0x472ce9(_0x4ca053))throw _0x4ca053['error'];_0x325de3=_0x4ca053[_0xc0d20b(0x291)];}return{..._0x469588[_0xc0d20b(0x17f)](_0x4f98ce),'mutations':[_0x325de3]};}['_transformUndoRedoStack'](_0x426a14){const _0x46e3a9=_0x69e053,{unitID:_0x56ed66}=_0x426a14,_0x3d1624=this[_0x46e3a9(0x302)][_0x46e3a9(0x190)](_0x56ed66)[_0x46e3a9(0x28b)](_0x40ad3c),{undoCache:_0x23aff9,redoCache:_0x5ef4e2}=_0x3d1624[_0x46e3a9(0x335)]();if(_0x23aff9[_0x46e3a9(0x306)]===0x0||_0x5ef4e2[_0x46e3a9(0x306)]===0x0)return;const _0x632dfc=[],_0x57c2bf=[];let _0x7118be=_0x469588[_0x46e3a9(0x17f)](_0x426a14[_0x46e3a9(0x282)][0x0]),_0x50993f=_0x469588[_0x46e3a9(0x17f)](_0x426a14['mutations'][0x0]);for(let _0x3b2217=_0x23aff9[_0x46e3a9(0x306)]-0x1;_0x3b2217>=0x0;_0x3b2217--){const _0x2f4455={'id':_0x46e3a9(0x163),'params':{..._0x23aff9[_0x3b2217]}},_0x128aed={'id':_0x46e3a9(0x163),'params':{..._0x5ef4e2[_0x3b2217]}},_0x51c468=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x7118be,_0x2f4455,!0x1),_0x48d9c3=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x50993f,_0x128aed,!0x1);if(_0x472ce9(_0x51c468))throw _0x51c468[_0x46e3a9(0x216)];if(_0x472ce9(_0x48d9c3))throw _0x48d9c3[_0x46e3a9(0x216)];_0x632dfc['unshift'](_0x51c468[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x57c2bf[_0x46e3a9(0x31e)](_0x48d9c3[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x7118be=_0x51c468[_0x46e3a9(0x291)],_0x50993f=_0x48d9c3[_0x46e3a9(0x291)];}_0x3d1624['setUndoRedoMutationParamsCache']({'undoCache':_0x632dfc,'redoCache':_0x57c2bf});}[_0x69e053(0x254)](_0x1f5a65){const _0x4c8a91=_0x69e053,{unitID:_0x1d8cd8}=_0x1f5a65,_0x204fb2=this[_0x4c8a91(0x302)][_0x4c8a91(0x190)](_0x1d8cd8)[_0x4c8a91(0x28b)](_0x40ad3c),_0xe6409d=_0x204fb2[_0x4c8a91(0x33c)]();if(_0xe6409d==null)return;const _0xaf6e53=[{'id':_0x4c8a91(0x163),'params':{'unitId':_0x1f5a65[_0x4c8a91(0x319)],'actions':null,'textRanges':[_0xe6409d]}}],_0x2d2459=this[_0x4c8a91(0x247)][_0x4c8a91(0x1b3)](_0x1f5a65,_0xaf6e53);if(!_0x3f31fc(_0x2d2459))throw _0x2d2459[_0x4c8a91(0x216)];const _0x4c4390=_0x2d2459['m2Prime'][0x0][_0x4c8a91(0x210)]['textRanges'];Array[_0x4c8a91(0x227)](_0x4c4390)&&_0x4c4390[_0x4c8a91(0x306)]&&_0x204fb2[_0x4c8a91(0x201)](_0x4c4390[0x0]);}};ne=tn([pe(0x0,_0x1edcbc(_0x30157b)),pe(0x1,_0x50f90f),pe(0x2,_0x364408)],ne);var sn=Object[_0x69e053(0x221)],nn=(_0x513aee,_0x1b314f,_0x391691,_0x20ba5d)=>{const _0xaccee=_0x69e053;for(var _0x48d3f7=_0x20ba5d>0x1?void 0x0:_0x20ba5d?sn(_0x1b314f,_0x391691):_0x1b314f,_0x561aed=_0x513aee[_0xaccee(0x306)]-0x1,_0x859e15;_0x561aed>=0x0;_0x561aed--)(_0x859e15=_0x513aee[_0x561aed])&&(_0x48d3f7=_0x859e15(_0x48d3f7)||_0x48d3f7);return _0x48d3f7;},Ce=(_0x4aade9,_0x5e6b1e)=>(_0x25bcec,_0x5d7558)=>_0x5e6b1e(_0x25bcec,_0x5d7558,_0x4aade9);let re=class{constructor(_0xa1d77,_0x1755d7,_0x24e3ee){const _0x47ee4b=_0x69e053;this[_0x47ee4b(0x248)]=_0xa1d77,this[_0x47ee4b(0x247)]=_0x1755d7,this['_docStateChangeManagerService']=_0x24e3ee;}['transformStateCache'](_0x1cba6a){const _0x1c9b10=_0x69e053;this[_0x1c9b10(0x232)](_0x1cba6a);}[_0x69e053(0x1c6)](_0x49b454){const _0xea4429=_0x69e053,{unitID:_0x5415bc}=_0x49b454,{collaboration:_0x3c16f7}=this[_0xea4429(0x197)][_0xea4429(0x27e)](_0x5415bc);if(_0x3c16f7[_0xea4429(0x306)]===0x0)return _0x49b454;let _0x50e861=_0x469588[_0xea4429(0x17f)](_0x49b454[_0xea4429(0x282)][0x0]);for(let _0x1e18ba=0x0;_0x1e18ba<_0x3c16f7[_0xea4429(0x306)];_0x1e18ba++){const _0x109d9e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c16f7[_0x1e18ba][_0xea4429(0x228)],..._0x3c16f7[_0x1e18ba][_0xea4429(0x2b0)]}},_0x5bd64=this[_0xea4429(0x247)][_0xea4429(0x19e)](_0x50e861,_0x109d9e,!0x1);if(_0x472ce9(_0x5bd64))throw _0x5bd64[_0xea4429(0x216)];_0x50e861=_0x5bd64['m1Prime'];}return{..._0x469588[_0xea4429(0x17f)](_0x49b454),'mutations':[_0x50e861]};}[_0x69e053(0x232)](_0x419011){const _0x2984e1=_0x69e053,{unitID:_0x383f17}=_0x419011,{history:_0x3293f1,collaboration:_0x1538bf}=this[_0x2984e1(0x197)][_0x2984e1(0x27e)](_0x383f17);if(_0x3293f1[_0x2984e1(0x306)]===0x0&&_0x1538bf[_0x2984e1(0x306)]===0x0)return;const _0x1f8d75=[],_0x13a10a=[];let _0x2e5278=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]),_0x985b8b=_0x469588[_0x2984e1(0x17f)](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x25bab0=_0x3293f1[_0x2984e1(0x306)]-0x1;_0x25bab0>=0x0;_0x25bab0--){const _0x4c31a8={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['undoState']}},_0x246a2b={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['redoState']}},_0x2bf0c5=this['_transformService'][_0x2984e1(0x19e)](_0x2e5278,_0x4c31a8,!0x1),_0x2785b5=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x246a2b,!0x1);if(_0x472ce9(_0x2bf0c5))throw _0x2bf0c5['error'];if(_0x472ce9(_0x2785b5))throw _0x2785b5['error'];_0x1f8d75[_0x2984e1(0x31e)]({..._0x3293f1[_0x25bab0],'undoState':_0x2bf0c5[_0x2984e1(0x2f7)][_0x2984e1(0x210)],'redoState':_0x2785b5[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x2bf0c5[_0x2984e1(0x291)],_0x985b8b=_0x2785b5[_0x2984e1(0x291)];}_0x2e5278=_0x469588[_0x2984e1(0x17f)](_0x419011['mutations'][0x0]),_0x985b8b=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x32d876=_0x1538bf[_0x2984e1(0x306)]-0x1;_0x32d876>=0x0;_0x32d876--){const _0x5cec92={'id':_0x2984e1(0x163),'params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876]['undoState']}},_0x30d72d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876][_0x2984e1(0x2b0)]}},_0x4cbcd2=this[_0x2984e1(0x247)][_0x2984e1(0x19e)](_0x2e5278,_0x5cec92,!0x1),_0x21c195=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x30d72d,!0x1);if(_0x472ce9(_0x4cbcd2))throw _0x4cbcd2[_0x2984e1(0x216)];if(_0x472ce9(_0x21c195))throw _0x21c195[_0x2984e1(0x216)];_0x13a10a[_0x2984e1(0x31e)]({..._0x1538bf[_0x32d876],'undoState':_0x4cbcd2['m2Prime'][_0x2984e1(0x210)],'redoState':_0x21c195[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x4cbcd2['m1Prime'],_0x985b8b=_0x21c195['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x383f17,{'history':_0x1f8d75,'collaboration':_0x13a10a});}};re=nn([Ce(0x0,_0x1edcbc(_0x30157b)),Ce(0x1,_0x50f90f),Ce(0x2,_0x1edcbc(_0x4204ce))],re);var rn=Object[_0x69e053(0x221)],on=(_0x276966,_0x5ba050,_0x16e100,_0x5e2cde)=>{const _0x3dd91a=_0x69e053;for(var _0x344184=_0x5e2cde>0x1?void 0x0:_0x5e2cde?rn(_0x5ba050,_0x16e100):_0x5ba050,_0x2936c8=_0x276966[_0x3dd91a(0x306)]-0x1,_0x578625;_0x2936c8>=0x0;_0x2936c8--)(_0x578625=_0x276966[_0x2936c8])&&(_0x344184=_0x578625(_0x344184)||_0x344184);return _0x344184;},tt=(_0x51349e,_0x3f43d6)=>(_0x1ac126,_0x56ecb1)=>_0x3f43d6(_0x1ac126,_0x56ecb1,_0x51349e);let oe=class{constructor(_0x35a222,_0x3e330d){const _0x4ccf6b=_0x69e053;this[_0x4ccf6b(0x248)]=_0x35a222,this[_0x4ccf6b(0x247)]=_0x3e330d;}['transformSelections'](_0x53bce6){const _0x3159ee=_0x69e053;var _0x2b0b21;const _0xace7f1=this[_0x3159ee(0x248)]['get'](_0x3bfb9b),_0x1b8916=(_0x2b0b21=_0xace7f1[_0x3159ee(0x161)]())!=null?_0x2b0b21:[];if(_0x1b8916[_0x3159ee(0x306)]===0x0)return;const _0x5d799f=_0x53bce6[_0x3159ee(0x319)],_0x11698e=[{'id':_0x3159ee(0x163),'params':{'unitId':_0x5d799f,'actions':null,'textRanges':_0x1b8916}}],_0x208ea4=this['_transformService'][_0x3159ee(0x1b3)](_0x53bce6,_0x11698e);if(!_0x3f31fc(_0x208ea4))throw _0x208ea4['error'];const _0x33ddca=_0x208ea4[_0x3159ee(0x2f7)][0x0][_0x3159ee(0x210)][_0x3159ee(0x307)];Array['isArray'](_0x33ddca)&&_0x33ddca[_0x3159ee(0x306)]&&_0xace7f1['replaceDocRanges'](_0x33ddca,{'unitId':_0x5d799f,'subUnitId':_0x5d799f},!0x1);}};oe=on([tt(0x0,_0x1edcbc(_0x30157b)),tt(0x1,_0x50f90f)],oe);var an=Object[_0x69e053(0x221)],cn=(_0x343c78,_0x46d9b7,_0x2a2d8a,_0x3f8d80)=>{for(var _0x195b76=_0x3f8d80>0x1?void 0x0:_0x3f8d80?an(_0x46d9b7,_0x2a2d8a):_0x46d9b7,_0x3b8fe7=_0x343c78['length']-0x1,_0x2bd588;_0x3b8fe7>=0x0;_0x3b8fe7--)(_0x2bd588=_0x343c78[_0x3b8fe7])&&(_0x195b76=_0x2bd588(_0x195b76)||_0x195b76);return _0x195b76;},U=(_0x10bae1,_0x332c00)=>(_0x2ec969,_0x16db65)=>_0x332c00(_0x2ec969,_0x16db65,_0x10bae1);function _0xc62b(){const _0x403d03=['sheetId','tag','0\x200\x2016\x2016','collaboration.single-unit.warning','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','YUUMI_SUBSCRIPTION_NOT_FOUND','currentColor','_context','_hovered','redoState','url(#on-line-icon_clip0_910_349)','_docTransformSelectionsService','sessionTicket','_imageIoService','forEach','_handleLeaveEvent','map','_startSheetCollabCursor','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','LICENSE_EXPORT_SIZE_EXCEEDED','setConfig','selections','YUUMI_ASYNCIO_CANCELLED','_instanceService','body','_draw','collabCursorState$','symbol','_unitOnClients','wsSessionTicketUrl','SOCKET_FAILED','_onCursorUpdate','collabStatus.fetchMiss','top','_entities','override','on-line-icon_clip0_910_349','UPDATE_CURSOR','invokeId','clipPath','ENSURE_SNAPSHOT_EXECUTION','_logService','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','_messageService','dispose','_drawTextRange','PENDING','TEXT','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_saveCache','resize','drawWith','FromArray','_memberService','_handleHover','text','activeSheet$','DeleteRangeMoveLeftCommandId','find','getTypeOfUnitDisposed$','subUnitId','UNRECOGNIZED','set','cursorInfo','APPLY_DUPLICATED','path','defIds','selection','_heartbeatTimer','253CSsVlP','getMemberID','colorChannel1','_color','_session','debug','_backgroundColor','_cursors','Warning','m2Prime','displayName','collaboration.closeRoom','generateRandomId','_urlService','onPointerMove$','_commandService','_clearOtherTimers','20330DSFCDP','color','arc','_renderManagerService','defineProperty','ranges','OnLineIcon','length','textRanges','15072ghMIwC','next','_univerInstanceService','COMPLETION_FINISHED','3284533tjudAg','loadUnit','searchParams','uni.network.url-service','_initDependencies','height','transformSelections','_initEvent','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2017\x2016','send','univer-mr-2\x20univer-flex\x20univer-text-xl','className','unitID','asObservable','40IWEgvb','replace','blue.400','unshift','_removeCollabCursors','column','eventID','_initCommandExecutedListener','replaceState','session.connection-failed','MOBILE_HAS_BEEN_BOUND','_removeClearOtherTimer','_drawRectRange','collab-text-anchor-','M0\x200H16V16H0z','restore','SYNCED','_range','_scheduleHeartbeat','engine','onCommandExecuted','Failed','_createSocketURL','InsertColCommandId','icon','startColumn','getUndoRedoMutationParamsCache','_initStatusListener','_handleEvent','name','origin','NOT_FOUND','126diTufh','getActiveRange','getParam','complete','_startDocCollabCursor','NO_OTHER_CLIENTS_EDITING','from','INVALID_INVITE_CODE','APPLY_REJECT','_init','font','runOnServer','dispose$','getFocusedUnit','getUniverSheetInstance','off-line-icon','UniverIcon','_labelPosition','entries','code','collabStatus.synced','_scheduleSaving','hovered','1485JsnXaX','UNDEFINED','_id','_cursorShapes','getValue','red.300','idSuffix','startsWith','range','white','beginPath','_cachedData','WECHAT_HAS_BEEN_BOUND','clearInterval','onTransformChange$','_localStorageService','PERMISSION_DENIED','reconnect','getSheetBySheetId','none','then','getOffsetConfig','registerRenderModule','_send','_docSkeletonManagerService','url(#off-line-icon_clip0_910_343)','permission.title','getDocRanges','onPointerEnter$','doc.mutation.rich-text-editing','_roomMembers$','isActive','all','_anchorDot','disableLocalCache','_assignedColors','includes','children','bottom','lineTo','unit','_colorIndex','newValue','OTHER_CLIENTS_EDITING','getSkeleton','_initStatusComponent','findNodePositionByCharIndex','INVITE_CODE_REQUIRED','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','SUBMIT_CHANGESET_TIMEOUT','toRgbString','_textBubble','_cursor','div','backgroundColor','deepClone','_getScale','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','clearTimeout','assignAColorForMemberID','add','actions','YUUMI_TABLE_NOT_FOUND_IN_UNIT','makeDirty','_refreshCollabCursors','setParam','getMergeData','disposeWithMe','triggerDblclick','key','black','getRenderById','_initEntityListener','getOwnPropertySymbols','_localeService','_collaborationController','getMember','translate(.97)','_docStateChangeManagerService','fillText','_config','_document','hide','exhaustSavingTask','USERS_LEAVE','transformMutation','onPointerLeave$','_docSyncEditingCollabCursorService','_updateCollabCursors','fillStyle','event$','url(#$1','push','saveOfflineData','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','endRow','_setupSubUnitSync','round','requireSession','452BWfHGu','urlChange$','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','_getMergeRange','_docClipboardService','transformMutationsWithChangeset','rgba(255,\x20255,\x20255,\x200.01)','toString','disposeUnit','_themeService','memberID','loadOfflineData','createSocket','pluginName','_docTransformStateCacheService','OFFLINE','getTypeOfUnitAdded$','getCurrentSelections','getCollabCursors$','split','_disabled','_selfUnitIDs','saveTaskMap','_name','transformRemoteChangeset','_drawAnchor','_updateURLWithCurrentState','createInstance','_anchor','evenodd','transformStateCache','AWAITING','transform','TOO_MANY_REQUESTS','unload','getCollabEntity$','labelPosition','collaboration-client-ui.config','history','show','flatMap','mask','CONNECTOR_DATA_TOO_LARGE','call','getViewport','_render','RemoveColCommandId','_syncEditingCollabCursorService','getUnitStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','attrs','SNAPSHOT_INVALID_SNAPSHOT','some','init','_toggleOnline','ticket','82KnXkIE','_configService','onRendered','data','_transformUndoRedoStack','onLocalMutation','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_lastPointer','NOT_COLLAB','enableLocalCache','href','session.collaboration-timeout','registerRefRange','collabStatus.syncing','UNIVER_DOC','_updateLocalCursor','setShapeProps','sessionStatus$','CHANGESET_REVISION_CONFILICT','collabStatus.conflict','_scheduleClearOtherTimer','INVITE_CODE_ALREADY_BOUND','[CollaborationDataLoaderController]','getItem','_refRangeService','prototype','setActiveRange','_getSessionTicket','getRelativeToViewportCoord','INTERNAL_ERROR','startRow','collab-client.tooltip.reconnect','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','_cursorInfo$','JOIN_ROOM_FAILED','delete','UNIVER_SHEET','subscribe','svg','_localCacheService','params','setAlpha','moveTo','getUnitId','addObjects','...','error','APPLY_REVISION_CONFILICT','_status$','_docTransformIMECacheService','_toggleOffline','string','MoveRangeCommandId','pipe','_unitStatus','concat','extend','getOwnPropertyDescriptor','application/json','transformIMECache','roomMembers','getConfig','getSheetId','isArray','unitId','jiqing.500','collabStatus.notCollab','_onCursorDelete','1em','location','subunit','_docSkeleton','getRangePointData','off-line-icon_clip0_910_343','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','DeleteRangeMoveUpCommandId','roomMembers$','fillRule','max','_collabCursorController','univerjs-icon\x20univerjs-icon-','defs','446274WVwlin','width','_entityInit$','sheetID','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','type','onMouseMove','addClipboardHook','_eventUnsubscribe','_ensureSubject','measureText','_transformService','_injector','pushState','currentSkeleton$','_collabCursorState$','min','_registerDependencies','updateOfflineData','current','getColorFromTheme','LOGIN_FAILED','removeParam','getActiveSheet','_transformPreviousActiveRange','_updateSubUnitFromURLParams','xlink:href','status$','getAncestorScale','APPLY_NON_SEQUENTIAL_REVISION','ACTIVE_UNIT_EVENT_CHANNEL','values','hasOwnProperty','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Error','post','_hover','_saveTaskMap','entityInit$','indexOf','_onRefRangeChange','getCurrentRevOfUnit','size','http://www.w3.org/2000/svg','_colorAssignService','MUTATION','Unknown\x20user','runId','_scene','_notificationService','450rrqLBz','USER_NOT_INVITED_CODE','addObject','use','getCurrent','_uiPartsService','_hideTimer','_dataLoaderService','editingUnit','_httpService','assign','_registerRenderDependencies','_initResize','purple.300','_setupBeforeClosingHandler','APPLY_PERMISSION_DENIED','getStateCache','InsertRowCommandId','#FFF','YUUMI_ALL_TABLES_IS_INVALID','mutations','onStarting','fill','setItem','10532304bvhIMb','subscribeEvent','EMAIL_HAS_BEEN_BOUND','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','with','registerComponent','RemoveRowCommandId','ONLINE','cursorInfo$','setTimeout','m1Prime','_shapes','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','RECT','syncEditingCollabCursor','save','currentTheme$','_sheetSkeletonManagerService','LICENSE_DISTRO_REJECTED','INVITE_CODE_HAS_BEEN_UES','INVALID_ARGUMENT','skeleton','UNAUTHENTICATED','get','_collaborationUIEventService','_handleHeartbeatEvent','collab-rect-range-','AWAITING_WITH_PENDING','_getSheetObject','_online'];_0xc62b=function(){return _0x403d03;};return _0xc62b();}let ae=class extends _0x404876{constructor(_0x420c48,_0x5f3224,_0x321b04,_0x3331b2,_0x555d4a,_0x1c6687,_0xc0e121,_0x44cdc4){const _0x14b66d=_0x69e053;super(),_(this,_0x14b66d(0x218),new _0x69ec1c(_0x2c5ad0[_0x14b66d(0x1ef)])),(this[_0x14b66d(0x197)]=_0x420c48,this[_0x14b66d(0x194)]=_0x5f3224,this[_0x14b66d(0x219)]=_0x321b04,this['_docTransformStateCacheService']=_0x3331b2,this[_0x14b66d(0x2b2)]=_0x555d4a,this[_0x14b66d(0x1a0)]=_0x1c6687,this[_0x14b66d(0x2d3)]=_0xc0e121,this['_localeService']=_0x44cdc4,this[_0x14b66d(0x191)]());}[_0x69e053(0x191)](){const _0x50ba0a=_0x69e053;this[_0x50ba0a(0x18c)](this['_collaborationController'][_0x50ba0a(0x262)][_0x50ba0a(0x20d)](_0x40f02d=>{const _0x2f702b=_0x50ba0a,_0x25e009=this[_0x2f702b(0x197)]['docStateChange$'][_0x2f702b(0x20d)](_0x4b6d7a=>{const _0x3de02d=_0x2f702b;if(_0x4b6d7a==null)return;const {unitId:_0x2d1cd1,redoState:_0x50dfc9,commandId:_0xc6e2bd}=_0x4b6d7a;if(_0x2d1cd1!==_0x40f02d[_0x3de02d(0x319)])return;const _0x34be10={'id':_0xc6e2bd,'type':_0x326183[_0x3de02d(0x269)],'params':{'unitId':_0x2d1cd1,'actions':_0x50dfc9[_0x3de02d(0x186)],'textRanges':null}};_0x40f02d[_0x3de02d(0x1ec)](_0x34be10);});if(_0x40f02d[_0x2f702b(0x18c)](_0x25e009),_0x40f02d instanceof _0x4dd820){const _0x585821={'onTransformIME':_0x44db53=>this[_0x2f702b(0x219)][_0x2f702b(0x223)](_0x44db53),'onTransformState':_0x285d6e=>this['_docTransformStateCacheService'][_0x2f702b(0x1cc)](_0x285d6e),'onTransformSelections':_0x57986d=>this[_0x2f702b(0x2b2)][_0x2f702b(0x312)](_0x57986d),'onSyncEditingCollabCursor':_0x4309c7=>this['_docSyncEditingCollabCursorService'][_0x2f702b(0x297)](_0x4309c7),'onTransformRemoteChangesetByIMECache':_0xccd202=>this[_0x2f702b(0x219)]['transformRemoteChangeset'](_0xccd202),'onTransformRemoteChangesetByStateCache':_0x25e481=>this[_0x2f702b(0x1bc)][_0x2f702b(0x1c6)](_0x25e481)};_0x40f02d['addHandlerCallback'](_0x585821);}}));}};ae=cn([U(0x0,_0x1edcbc(_0x4204ce)),U(0x1,_0x1edcbc(_0x226cfe)),U(0x2,_0x1edcbc(ne)),U(0x3,_0x1edcbc(re)),U(0x4,_0x1edcbc(oe)),U(0x5,_0x1edcbc(He)),U(0x6,_0x4d61bb),U(0x7,_0x1edcbc(_0x7c2e8c))],ae);var ln=Object[_0x69e053(0x221)],_n=(_0x5b9034,_0x3f4a2a,_0x48e380,_0x3ca32b)=>{const _0x579bc0=_0x69e053;for(var _0x1ec30b=_0x3ca32b>0x1?void 0x0:_0x3ca32b?ln(_0x3f4a2a,_0x48e380):_0x3f4a2a,_0x11ade5=_0x5b9034[_0x579bc0(0x306)]-0x1,_0x21f5ef;_0x11ade5>=0x0;_0x11ade5--)(_0x21f5ef=_0x5b9034[_0x11ade5])&&(_0x1ec30b=_0x21f5ef(_0x1ec30b)||_0x1ec30b);return _0x1ec30b;},Ee=(_0x22cfe9,_0x1f3033)=>(_0x468eee,_0x549cae)=>_0x1f3033(_0x468eee,_0x549cae,_0x22cfe9);let Le=class extends _0x404876{constructor(_0x4a92d1,_0x55dad7,_0x1753c6){const _0x32d243=_0x69e053;super(),_(this,_0x32d243(0x151),new Map()),_(this,_0x32d243(0x261),new Map()),_(this,_0x32d243(0x1c2),!0x1),(this[_0x32d243(0x1e8)]=_0x4a92d1,this[_0x32d243(0x155)]=_0x55dad7,this['_revisionService']=_0x1753c6);}[_0x69e053(0x168)](){const _0x257e6c=_0x69e053;this[_0x257e6c(0x1c2)]=!0x0;}[_0x69e053(0x1f0)](){const _0x27abae=_0x69e053;this[_0x27abae(0x1c2)]=!0x1;}get[_0x69e053(0x1c4)](){const _0x47ccb0=_0x69e053;return this[_0x47ccb0(0x261)];}[_0x69e053(0x2d4)](){const _0x3a5318=_0x69e053;this[_0x3a5318(0x19c)]()['then'](()=>super[_0x3a5318(0x2d4)]());}async[_0x69e053(0x1b9)](_0x5587ab){const _0x18c840=_0x69e053;return this[_0x18c840(0x1c2)]?null:this[_0x18c840(0x155)][_0x18c840(0x1fe)](_0x4d1854(_0x5587ab));}async[_0x69e053(0x1a6)](_0x2c53a0,_0x3cf166){const _0x1559c3=_0x69e053;return!!this[_0x1559c3(0x155)][_0x1559c3(0x285)](_0x2c53a0,_0x3cf166);}[_0x69e053(0x24e)](_0x45649b,_0x392d97,_0x14b9e0,_0x2f76d3){const _0x581c69=_0x69e053,_0x34797a=this['_revisionService'][_0x581c69(0x265)](_0x45649b);this['_cachedData']['set'](_0x45649b,{'unitID':_0x45649b,'type':_0x392d97,'awaitingChangeset':_0x14b9e0,'mutations':_0x2f76d3,'rev':_0x34797a}),this[_0x581c69(0x261)]['has'](_0x45649b)||this[_0x581c69(0x350)](_0x45649b);}['_scheduleSaving'](_0x4703eb){const _0x4a5d32=_0x69e053,_0x1abc5a=this['_getSaveTimeout']();_0x1abc5a===0x0?this[_0x4a5d32(0x2da)](_0x4703eb):this[_0x4a5d32(0x261)][_0x4a5d32(0x2e7)](_0x4703eb,setTimeout(()=>this['_saveCache'](_0x4703eb),_0x1abc5a));}['_getSaveTimeout'](){const _0x391b1c=_0x69e053;var _0x386230;return(_0x386230=this[_0x391b1c(0x1e8)]['getConfig'](_0xa37187))!=null?_0x386230:_0x1fa765;}[_0x69e053(0x2da)](_0x1d3928){const _0x11b1ca=_0x69e053,_0x1ff83d=this[_0x11b1ca(0x261)][_0x11b1ca(0x2a0)](_0x1d3928);return _0x1ff83d!==void 0x0&&window[_0x11b1ca(0x183)](_0x1ff83d),this[_0x11b1ca(0x155)]['setItem'](_0x4d1854(_0x1d3928),this[_0x11b1ca(0x151)][_0x11b1ca(0x2a0)](_0x1d3928))[_0x11b1ca(0x15a)](()=>this[_0x11b1ca(0x261)][_0x11b1ca(0x20b)](_0x1d3928));}async[_0x69e053(0x19c)](){const _0x18caa9=_0x69e053,_0x1b2d84=[];this[_0x18caa9(0x261)][_0x18caa9(0x2b5)]((_0x537705,_0xf13559)=>{const _0x883dbf=_0x18caa9;window[_0x883dbf(0x183)](_0x537705),_0x1b2d84['push'](this[_0x883dbf(0x2da)](_0xf13559)['then'](()=>{const _0x428613=_0x883dbf;this[_0x428613(0x261)][_0x428613(0x20b)](_0xf13559);}));}),await Promise[_0x18caa9(0x166)](_0x1b2d84);}};Le=_n([Ee(0x0,_0x4c46e3),Ee(0x1,_0x324daf),Ee(0x2,_0x1edcbc(_0x55dc2e))],Le);class hn extends _0x2e9bdd{constructor(){const _0x331110=_0x69e053;super(),_(this,_0x331110(0x1ae)),this[_0x331110(0x1ae)]=_0x1b944e(window,'popstate')[_0x331110(0x21d)](_0x44ca8(this['dispose$']),_0x345a65(0x1),_0x37148e(void 0x0));}[_0x69e053(0x18a)](_0x5d5fcd,_0x3eff51,_0x20a193=!0x1){const _0x290b03=_0x69e053,_0x1104af=new URL(window[_0x290b03(0x22d)][_0x290b03(0x1f1)]);_0x1104af['searchParams'][_0x290b03(0x2e7)](_0x5d5fcd,_0x3eff51),_0x20a193?window[_0x290b03(0x1d4)][_0x290b03(0x323)]('','',_0x1104af['toString']()):window[_0x290b03(0x1d4)][_0x290b03(0x249)]('','',_0x1104af[_0x290b03(0x1b5)]());}[_0x69e053(0x252)](_0x29d187,_0x1107b0=!0x1){const _0x3763cf=_0x69e053,_0x264abf=new URL(window[_0x3763cf(0x22d)][_0x3763cf(0x1f1)]);_0x264abf[_0x3763cf(0x30e)][_0x3763cf(0x20b)](_0x29d187),_0x1107b0?window['history'][_0x3763cf(0x323)]('','',_0x264abf[_0x3763cf(0x1b5)]()):window[_0x3763cf(0x1d4)]['pushState']('','',_0x264abf[_0x3763cf(0x1b5)]());}['getParam'](_0x1474e0){const _0x1f2f1b=_0x69e053;var _0x2b7a10;return(_0x2b7a10=new URL(window['location']['href'])[_0x1f2f1b(0x30e)]['get'](_0x1474e0))!=null?_0x2b7a10:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3e6731,_0x3c923b,_0x1b0e7c)=>_0x3c923b in _0x3e6731?un(_0x3e6731,_0x3c923b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0e7c}):_0x3e6731[_0x3c923b]=_0x1b0e7c,Sn=(_0x18a979,_0x2edfcb,_0xaac4d9,_0x2a1134)=>{const _0x482119=_0x69e053;for(var _0x5689fe=_0x2a1134>0x1?void 0x0:_0x2a1134?dn(_0x2edfcb,_0xaac4d9):_0x2edfcb,_0x37ab61=_0x18a979[_0x482119(0x306)]-0x1,_0x2e9f94;_0x37ab61>=0x0;_0x37ab61--)(_0x2e9f94=_0x18a979[_0x37ab61])&&(_0x5689fe=_0x2e9f94(_0x5689fe)||_0x5689fe);return _0x5689fe;},Oe=(_0x569148,_0x2af74f)=>(_0x56f69d,_0x2110f7)=>_0x2af74f(_0x56f69d,_0x2110f7,_0x569148),mn=(_0x484a8c,_0x291e7b,_0x51b17d)=>fn(_0x484a8c,_0x291e7b+'',_0x51b17d);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x29f8cb{constructor(_0x5a643d=et,_0x2ec57f,_0x4579b1,_0x5cf0db){const _0x569c7c=_0x69e053;super(),this['_config']=_0x5a643d,this['_renderManagerService']=_0x2ec57f,this[_0x569c7c(0x248)]=_0x4579b1,this['_configService']=_0x5cf0db;const {..._0x2f48af}=_0x5a8922({},et,this[_0x569c7c(0x199)]);this[_0x569c7c(0x1e8)][_0x569c7c(0x2bb)](Zi,_0x2f48af);}[_0x69e053(0x283)](){const _0x1e240c=_0x69e053;this[_0x1e240c(0x24d)](),this[_0x1e240c(0x310)]();}[_0x69e053(0x1e9)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x48f908=_0x69e053;var _0x463ebe;const _0x56e243=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xfcca70,{'useClass':_0x4a7658}],[_0x25f3f0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3c1be9(this[_0x48f908(0x248)],_0x268866(_0x56e243,(_0x463ebe=this['_config'])==null?void 0x0:_0x463ebe[_0x48f908(0x2ca)]));}[_0x69e053(0x279)](){const _0x31bf14=_0x69e053;this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)][_0x31bf14(0x15c)](_0xb39e56[_0x31bf14(0x1f5)],[we])),this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)]['registerRenderModule'](_0xb39e56[_0x31bf14(0x20c)],[Pe]));}[_0x69e053(0x310)](){_0x4e6fb0(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x69e053(0x1bb),In),Ae=Sn([_0x10f61f(_0x3084ce),Oe(0x1,_0x364408),Oe(0x2,_0x1edcbc(_0x30157b)),Oe(0x3,_0x4c46e3)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2c7dd1,_0x81eb24,_0x43fa4b,_0x2cb5e7)=>{for(var _0x35e4fd=_0x2cb5e7>0x1?void 0x0:_0x2cb5e7?gn(_0x81eb24,_0x43fa4b):_0x81eb24,_0xe2ac82=_0x2c7dd1['length']-0x1,_0x41b844;_0xe2ac82>=0x0;_0xe2ac82--)(_0x41b844=_0x2c7dd1[_0xe2ac82])&&(_0x35e4fd=_0x41b844(_0x35e4fd)||_0x35e4fd);return _0x35e4fd;},K=(_0x1e73d2,_0x591bf5)=>(_0x117184,_0x338f95)=>_0x591bf5(_0x117184,_0x338f95,_0x1e73d2);let st=class extends _0x441d7a{constructor(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b){super(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b);}async[_0x69e053(0x1ba)](_0x517c87){const _0x4576c9=_0x69e053,_0xada789=await this['_getSessionTicket'](),_0x9e98a5=this[_0x4576c9(0x331)](_0x517c87,_0xada789);return this['_doCreateSocket'](_0x9e98a5);}['_createSocketURL'](_0x299806,_0x2be28f){const _0x22968e=_0x69e053,_0x23e5a5=typeof window>'u'?new URL(_0x299806):new URL(_0x299806,window['location'][_0x22968e(0x339)]);_0x23e5a5[_0x22968e(0x30e)][_0x22968e(0x2e7)](_0x22968e(0x2b3),_0x2be28f);const _0x8ac6df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x8ac6df['get'](_0x22968e(0x26b))&&_0x23e5a5[_0x22968e(0x30e)]['set'](_0x22968e(0x26b),_0x8ac6df[_0x22968e(0x2a0)](_0x22968e(0x26b))),_0x23e5a5[_0x22968e(0x1b5)]();}async[_0x69e053(0x202)](){const _0x518e61=_0x69e053;var _0x25aefa,_0x3424bf,_0x87e106;const _0x41e0f7=this['_configService']['getConfig'](_0x3801a2),_0x22a15a=(_0x25aefa=_0x41e0f7==null?void 0x0:_0x41e0f7[_0x518e61(0x2c4)])!=null?_0x25aefa:_0x40221c;return(_0x87e106=(_0x3424bf=(await this[_0x518e61(0x277)]['get'](_0x22a15a,{'headers':{'Content-Type':_0x518e61(0x222)}}))[_0x518e61(0x2bf)])==null?void 0x0:_0x3424bf[_0x518e61(0x1e6)])!=null?_0x87e106:'';}};st=vn([K(0x0,_0x1edcbc(_0x30157b)),K(0x1,_0x1edcbc(_0x3f722f)),K(0x2,_0x4c46e3),K(0x3,_0x501a2f),K(0x4,_0x5bd623)],st);const it=0x7530,nt=_0x69e053(0x25a);class jn extends _0x404876{constructor(){const _0x2ae5c5=_0x69e053;super(),_(this,'_id',_0x301c9e()),_(this,_0x2ae5c5(0x1c3),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ae5c5(0x2ed),null),_(this,_0x2ae5c5(0x2fe),new Map()),_(this,_0x2ae5c5(0x21e),new Map()),this[_0x2ae5c5(0x344)]();}['dispose'](){const _0x5d66dc=_0x69e053;super['dispose'](),this[_0x5d66dc(0x2fe)]['forEach']((_0x4b2519,_0x40bdd9)=>this['_removeClearOtherTimer'](_0x40bdd9)),this[_0x5d66dc(0x2ed)]&&window[_0x5d66dc(0x153)](this[_0x5d66dc(0x2ed)]);}[_0x69e053(0x1de)](_0x523716){const _0x5d6440=_0x69e053;return this[_0x5d6440(0x245)](_0x523716)[_0x5d6440(0x21d)](_0x3814c9());}[_0x69e053(0x276)](_0x33b2b9){const _0x3d968e=_0x69e053;this['_selfUnitIDs'][_0x3d968e(0x266)]===0x0&&this[_0x3d968e(0x32d)](),this['_selfUnitIDs']['add'](_0x33b2b9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x33b2b9],'isForwarded':!0x1});}[_0x69e053(0x1b6)](_0x360ace){const _0x19a85c=_0x69e053;this[_0x19a85c(0x1c3)]['delete'](_0x360ace),this[_0x19a85c(0x1c3)][_0x19a85c(0x266)]===0x0&&this[_0x19a85c(0x2ed)]&&window[_0x19a85c(0x153)](this['_heartbeatTimer']);}[_0x69e053(0x344)](){const _0x293b64=_0x69e053;this['disposeWithMe'](_0x35e3cc(_0x1b944e(window,'storage')['subscribe'](_0x4037fa=>{const _0x4d8246=_0x2094;if(_0x4037fa[_0x4d8246(0x18e)]!==nt||!_0x4037fa[_0x4d8246(0x170)])return;const _0x5a5a9c=JSON['parse'](_0x4037fa[_0x4d8246(0x170)]);this[_0x4d8246(0x337)](_0x5a5a9c);}))),window['addEventListener'](_0x293b64(0x1d0),()=>this['_send']({'type':0x1,'memberID':this[_0x293b64(0x354)],'unitIDs':Array[_0x293b64(0x341)](this['_selfUnitIDs'])}));}[_0x69e053(0x337)](_0x40d68d){const _0x533d81=_0x69e053;switch(_0x40d68d[_0x533d81(0x241)]){case 0x0:this[_0x533d81(0x293)](_0x40d68d);break;case 0x1:this[_0x533d81(0x2b6)](_0x40d68d);break;case 0x2:this[_0x533d81(0x2a2)](_0x40d68d);break;}}[_0x69e053(0x293)](_0x137f44){const _0x2a795d=_0x69e053,{unitIDs:_0x413d12,memberID:_0x34e0c5,isForwarded:_0x4d665}=_0x137f44;_0x413d12[_0x2a795d(0x2b5)](_0x5e1031=>{const _0x2ab1fd=_0x2a795d;if(!_0x4d665&&this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)&&this[_0x2ab1fd(0x245)](_0x5e1031)[_0x2ab1fd(0x309)](_0x14fa32[_0x2ab1fd(0x171)]),!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)||!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)[_0x2ab1fd(0x289)](_0x34e0c5)){const _0x3a7ff7=this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)||new Set();_0x3a7ff7[_0x2ab1fd(0x185)](_0x34e0c5),this[_0x2ab1fd(0x2c3)]['set'](_0x5e1031,_0x3a7ff7),this[_0x2ab1fd(0x1fb)](_0x34e0c5);}}),_0x4d665||this[_0x2a795d(0x15d)]({'type':0x0,'memberID':this[_0x2a795d(0x354)],'unitIDs':[...this[_0x2a795d(0x1c3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x39dbc8){const _0x59b109=_0x69e053;this['_removeClearOtherTimer'](_0x39dbc8);const _0x1990c=window[_0x59b109(0x290)](()=>{const _0x14963f=_0x59b109;this[_0x14963f(0x2c3)][_0x14963f(0x2b5)](_0x272ade=>{const _0x328335=_0x14963f;_0x272ade[_0x328335(0x20b)](_0x39dbc8);});},it*0x2);this['_clearOtherTimers'][_0x59b109(0x2e7)](_0x39dbc8,_0x1990c);}[_0x69e053(0x326)](_0x12b83d){const _0x3652c4=_0x69e053;if(this['_clearOtherTimers']['has'](_0x12b83d)){const _0x44adf4=this['_clearOtherTimers'][_0x3652c4(0x2a0)](_0x12b83d);_0x44adf4&&window[_0x3652c4(0x183)](_0x44adf4),this['_clearOtherTimers'][_0x3652c4(0x2e7)](_0x12b83d,null);}}[_0x69e053(0x2b6)](_0x12276d){const _0x163679=_0x69e053,{memberID:_0x850be3,unitIDs:_0x14166c}=_0x12276d;_0x14166c[_0x163679(0x2b5)](_0x1eb9d8=>{const _0x17b31a=_0x163679;var _0x184d87;const _0x17ab3b=this[_0x17b31a(0x2c3)]['get'](_0x1eb9d8);_0x17ab3b&&(_0x17ab3b[_0x17b31a(0x20b)](_0x850be3),(_0x184d87=this['_ensureSubject'](_0x1eb9d8))==null||_0x184d87[_0x17b31a(0x309)](_0x17ab3b[_0x17b31a(0x266)]===0x0?_0x14fa32['NO_OTHER_CLIENTS_EDITING']:_0x14fa32[_0x17b31a(0x171)]));}),this['_removeClearOtherTimer'](_0x850be3);}[_0x69e053(0x2a2)](_0x4d8ee4){const _0x1ac2e7=_0x69e053;this['_scheduleClearOtherTimer'](_0x4d8ee4[_0x1ac2e7(0x1b8)]);}[_0x69e053(0x15d)](_0xc57bbb){const _0x5b3ced=_0x69e053;localStorage[_0x5b3ced(0x285)](nt,JSON['stringify'](_0xc57bbb));}[_0x69e053(0x32d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4ba248=_0x2094;this[_0x4ba248(0x15d)]({'type':0x2,'memberID':this[_0x4ba248(0x354)]});},it);}[_0x69e053(0x245)](_0x3c2c0d){const _0xebbafc=_0x69e053;return this[_0xebbafc(0x21e)][_0xebbafc(0x289)](_0x3c2c0d)||this['_unitStatus'][_0xebbafc(0x2e7)](_0x3c2c0d,new _0x69ec1c(_0x14fa32[_0xebbafc(0x340)])),this[_0xebbafc(0x21e)][_0xebbafc(0x2a0)](_0x3c2c0d);}}var Mt=(_0x5c47ea=>(_0x5c47ea[_0x5c47ea[_0x69e053(0x353)]=0x0]=_0x69e053(0x353),_0x5c47ea[_0x5c47ea['OK']=0x1]='OK',_0x5c47ea[_0x5c47ea[_0x69e053(0x204)]=0x2]=_0x69e053(0x204),_0x5c47ea[_0x5c47ea[_0x69e053(0x156)]=0x3]=_0x69e053(0x156),_0x5c47ea[_0x5c47ea[_0x69e053(0x33a)]=0x4]=_0x69e053(0x33a),_0x5c47ea[_0x5c47ea[_0x69e053(0x29f)]=0x5]=_0x69e053(0x29f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1a8)]=0x6]=_0x69e053(0x1a8),_0x5c47ea[_0x5c47ea[_0x69e053(0x29d)]=0x7]='INVALID_ARGUMENT',_0x5c47ea[_0x5c47ea['TOO_MANY_REQUESTS']=0x8]=_0x69e053(0x1cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x30b)]=0x9]=_0x69e053(0x30b),_0x5c47ea[_0x5c47ea[_0x69e053(0x251)]=0xa]='LOGIN_FAILED',_0x5c47ea[_0x5c47ea['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x69e053(0x1f9),_0x5c47ea[_0x5c47ea[_0x69e053(0x1e2)]=0x1771]=_0x69e053(0x1e2),_0x5c47ea[_0x5c47ea[_0x69e053(0x207)]=0x1772]=_0x69e053(0x207),_0x5c47ea[_0x5c47ea[_0x69e053(0x2cf)]=0x1773]=_0x69e053(0x2cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x343)]=0x1b59]=_0x69e053(0x343),_0x5c47ea[_0x5c47ea['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x69e053(0x259),_0x5c47ea[_0x5c47ea[_0x69e053(0x217)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c47ea[_0x5c47ea['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x69e053(0x27d),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e9)]=0x1b5d]=_0x69e053(0x2e9),_0x5c47ea[_0x5c47ea['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x69e053(0x1d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x177)]=0x2329]=_0x69e053(0x177),_0x5c47ea[_0x5c47ea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5c47ea[_0x5c47ea['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x69e053(0x2d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ba)]=0x232c]=_0x69e053(0x2ba),_0x5c47ea[_0x5c47ea[_0x69e053(0x29b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c47ea[_0x5c47ea[_0x69e053(0x294)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5c47ea[_0x5c47ea[_0x69e053(0x1b0)]=0x2712]=_0x69e053(0x1b0),_0x5c47ea[_0x5c47ea['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x69e053(0x1a7),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ac)]=0x2714]=_0x69e053(0x2ac),_0x5c47ea[_0x5c47ea[_0x69e053(0x314)]=0x271a]=_0x69e053(0x314),_0x5c47ea[_0x5c47ea[_0x69e053(0x2bd)]=0x271b]=_0x69e053(0x2bd),_0x5c47ea[_0x5c47ea[_0x69e053(0x187)]=0x271c]=_0x69e053(0x187),_0x5c47ea[_0x5c47ea[_0x69e053(0x281)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c47ea[_0x5c47ea[_0x69e053(0x1df)]=0x271e]=_0x69e053(0x1df),_0x5c47ea[_0x5c47ea[_0x69e053(0x295)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5c47ea[_0x5c47ea[_0x69e053(0x233)]=0x2af9]=_0x69e053(0x233),_0x5c47ea[_0x5c47ea[_0x69e053(0x29c)]=0x2ee1]=_0x69e053(0x29c),_0x5c47ea[_0x5c47ea['INVALID_INVITE_CODE']=0x2ee2]=_0x69e053(0x342),_0x5c47ea[_0x5c47ea['INVITE_CODE_REQUIRED']=0x2ee3]=_0x69e053(0x175),_0x5c47ea[_0x5c47ea[_0x69e053(0x26f)]=0x2ee4]=_0x69e053(0x26f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1fc)]=0x2ee5]=_0x69e053(0x1fc),_0x5c47ea[_0x5c47ea[_0x69e053(0x152)]=0x32c9]=_0x69e053(0x152),_0x5c47ea[_0x5c47ea[_0x69e053(0x325)]=0x32ca]=_0x69e053(0x325),_0x5c47ea[_0x5c47ea[_0x69e053(0x288)]=0x32cb]=_0x69e053(0x288),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e6)]=-0x1]=_0x69e053(0x2e6),_0x5c47ea))(Mt||{}),pn=Object[_0x69e053(0x221)],Cn=(_0x54c862,_0x436081,_0x6d84b8,_0xc6b6db)=>{const _0x19a9e7=_0x69e053;for(var _0x70990f=_0xc6b6db>0x1?void 0x0:_0xc6b6db?pn(_0x436081,_0x6d84b8):_0x436081,_0x25e002=_0x54c862[_0x19a9e7(0x306)]-0x1,_0x33bfc1;_0x25e002>=0x0;_0x25e002--)(_0x33bfc1=_0x54c862[_0x25e002])&&(_0x70990f=_0x33bfc1(_0x70990f)||_0x70990f);return _0x70990f;},be=(_0x5b46a0,_0x56ab5e)=>(_0x289f7d,_0x16958d)=>_0x56ab5e(_0x289f7d,_0x16958d,_0x5b46a0);let rt=class extends _0x404876{constructor(_0x507cbb,_0x1db523,_0x596858){const _0xf123c4=_0x69e053;super(),this[_0xf123c4(0x2be)]=_0x507cbb,this[_0xf123c4(0x277)]=_0x1db523,this[_0xf123c4(0x1e8)]=_0x596858;}async[_0x69e053(0x346)](_0x252e74,_0x3a3adb,_0x522581,..._0x4cbcd9){const _0x51a00a=_0x69e053;var _0x3c2961,_0x591e89,_0xb1d45f,_0x2f8197;const _0xf5780=this[_0x51a00a(0x2be)][_0x51a00a(0x348)]();if(!_0xf5780)throw new Error(_0x51a00a(0x1ed));const _0x252f2f=((_0x3c2961=this[_0x51a00a(0x1e8)][_0x51a00a(0x225)](_0x23f086))!=null?_0x3c2961:_0x3f2c2f)+'/'+_0x252e74+'/run/'+_0x3a3adb,_0x32e77b=new URL(window[_0x51a00a(0x22d)][_0x51a00a(0x1f1)]),_0x43f535={'scriptId':_0x252e74,'runId':(_0x591e89=_0x32e77b['searchParams'][_0x51a00a(0x2a0)](_0x51a00a(0x26b)))!=null?_0x591e89:'','function':_0x3a3adb,'unitId':_0xf5780[_0x51a00a(0x213)](),'argsOfFunction':JSON['stringify'](_0x4cbcd9),'invokeId':(_0xb1d45f=_0x522581[_0x51a00a(0x2cd)])!=null?_0xb1d45f:'','executionId':(_0x2f8197=_0x522581['executionId'])!=null?_0x2f8197:''};try{const _0x16cd3e=await this[_0x51a00a(0x277)][_0x51a00a(0x25f)](_0x252f2f,{'body':_0x43f535});return _0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)]&&_0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)][_0x51a00a(0x34e)]!==Mt['OK']?_0x51a00a(0x330):_0x16cd3e[_0x51a00a(0x2bf)]['result'];}catch{return _0x51a00a(0x330);}}};rt=Cn([be(0x0,_0x72afad),be(0x1,_0x1edcbc(_0x3f722f)),be(0x2,_0x4c46e3)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x3fe07c=_0x1112;(function(_0x421017,_0x5df7cc){const _0x3cd7ee=_0x1112,_0x3e1eb7=_0x421017();while(!![]){try{const _0x446795=parseInt(_0x3cd7ee(0x1cf))/0x1*(-parseInt(_0x3cd7ee(0x243))/0x2)+-parseInt(_0x3cd7ee(0x10d))/0x3+parseInt(_0x3cd7ee(0x232))/0x4*(-parseInt(_0x3cd7ee(0x294))/0x5)+-parseInt(_0x3cd7ee(0x1cd))/0x6+parseInt(_0x3cd7ee(0x23a))/0x7*(-parseInt(_0x3cd7ee(0xe4))/0x8)+-parseInt(_0x3cd7ee(0x117))/0x9+parseInt(_0x3cd7ee(0xdf))/0xa;if(_0x446795===_0x5df7cc)break;else _0x3e1eb7['push'](_0x3e1eb7['shift']());}catch(_0x27e77a){_0x3e1eb7['push'](_0x3e1eb7['shift']());}}}(_0x252b,0x8f848));var $t=Object[_0x3fe07c(0x1c7)],xt=(_0x4aade2,_0x47ec34,_0x39fc85)=>_0x47ec34 in _0x4aade2?$t(_0x4aade2,_0x47ec34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39fc85}):_0x4aade2[_0x47ec34]=_0x39fc85,_=(_0x3cb661,_0x33f148,_0x481177)=>xt(_0x3cb661,typeof _0x33f148!=_0x3fe07c(0x1ae)?_0x33f148+'':_0x33f148,_0x481177);import{MemberService as _0x33404d,SessionStatus as _0x1bb4ad,CollaborationSessionService as _0x2d67be,CollaborationStatus as _0x3c4f39,CollaborationController as _0x3b8716,ILocalCacheService as _0x5d25ea,CollaborationUIEventService as _0x57d180,CollaborationUIEventId as _0x52d3a7,DataLoaderService as _0x15d2c4,DocCollaborationEntity as _0x2b94de,getLocalCacheKey as _0x2ead2f,LOCAL_CACHE_INTERVAL as _0x2c135c,LOCAL_CACHE_INTERVAL_KEY as _0x170981,UniverCollaborationClientPlugin as _0x511650,CollaborationSocketService as _0x49c644,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bfd1c,DEFAULT_WS_SESSION_TICKET_URL as _0x48bb34,UnitStatus as _0x28da64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f4390,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x26747e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b4113,Disposable as _0x4ae93a,DOC_RANGE_TYPE as _0x1cb7eb,Inject as _0x4187e9,Injector as _0x1672f7,IUniverInstanceService as _0xbf54a8,ICommandService as _0x2e3d71,debounce as _0x3d717c,Rectangle as _0x1ba234,DisposableCollection as _0x3814e1,toDisposable as _0x36985b,UniverInstanceType as _0x3b6e52,Tools as _0x2e8d92,COLORS as _0x324efe,ColorKit as _0x15a69d,ThemeService as _0x4fcb94,fromEventSubject as _0x3f312e,LocaleService as _0x49d863,createIdentifier as _0x476322,ILogService as _0x569bac,Optional as _0x3f8427,Workbook as _0x1d344a,CommandType as _0x4d6697,IConfigService as _0x3c0c1f,ILocalStorageService as _0x5b506c,DependentOn as _0x5864a5,Plugin as _0xf91a5e,merge as _0x569c1f,registerDependencies as _0x1814ea,mergeOverrideWithDependencies as _0x163cd9,touchDependencies as _0x1a976f,generateRandomId as _0x107dc5}from'@univerjs/core';import{Shape as _0x46f2f7,Rect as _0x554ac3,getColor as _0x34809b,RegularPolygon as _0x33c830,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x13d377,Vector2 as _0x263eee,SHEET_VIEWPORT_KEY as _0x551d32,IRenderManagerService as _0x3ecb9c}from'@univerjs/engine-render';function _0x252b(){const _0x1ef033=['INVALID_INVITE_CODE','/run/','transformSelections','_config','xlink:href','_draw','setParam','dispose','_updateLocalCursor','onPointerEnter$','red.300','_uiPartsService','Unknown\x20user','toRgbString','isActive','_drawRectRange','APPLY_NON_SEQUENTIAL_REVISION','history','_httpService','_docTransformIMECacheService','UNIVER_DOC','error','type','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_labelPosition','clearInterval','replace','_unitOnClients','_scheduleClearOtherTimer','2705016MhipVy','unitId','UNAUTHENTICATED','_docClipboardService','colorChannel1','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','toString','focused$','pipe','M0\x200H16V16H0z','8544204INCZxN','UNDEFINED','addEventListener','_textBubble','_updateCollabCursors','_drawAnchor','ALREADY_EXISTS','selection','newValue','max','hovered','getSheetId','status$','color','_hover','_eventUnsubscribe','data','getOwnPropertyDescriptor','_colorIndex','pluginName','getSheetBySheetId','LICENSE_DISTRO_REJECTED','actions','getMember','http://www.w3.org/2000/svg','uni.network.url-service','INTERNAL_ERROR','transformStateCache','blue.400','getCellPositionByOffset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_REJECT','entries','getRenderById','getUnitId','_commandService','YUUMI_RATE_OVER_LIMIT','ENSURE_SNAPSHOT_EXECUTION','editingUnit','collab-rect-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','m1Prime','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','_lastPointer','collabStatus.syncing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_revisionService','isArray','_unitStatus','_entities','selections','text','setItem','override','MoveRangeCommandId','arc','body','assign','CONNECTOR_DATA_TOO_LARGE','cursorInfo$','_collabSessionService','sessionStatus$','_cursors','setActiveRange','_syncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','saveImage','UPDATE_CURSOR','collabStatus.notCollab','collab-client.tooltip.reconnect','findNodePositionByCharIndex','_transformPreviousActiveRange','_handleJoinEvent','_getSaveTimeout','getUnhiddenWorksheets','lineTo','_setupSubUnitSync','[CollaborationDataLoaderController]','collaboration-client-ui.config','APPLY_PERMISSION_DENIED','purple.300','transformRemoteChangeset','translate(.97)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','jiqing.500','code','onMouseMove','_collabCursorController','key','get','isEditing','Error','size','_getAnchorBounding','getTypeOfUnitDisposed$','_colorAssignService','currentColor','_getSessionTicket','CONFLICT','then','getMergeData','_docSyncEditingCollabCursorService','getDocRanges','_collabCursorState$','_removeCollabCursors','send','origin','url(#off-line-icon_clip0_910_343)','backgroundColor','_name','complete','some','search','children','_docTransformSelectionsService','on-line-icon_clip0_910_349','white','onPointerLeave$','getStateCache','DeleteRangeMoveUpCommandId','ranges','_ensureSubject','_handleLeaveEvent','eventID','INVITE_CODE_HAS_BEEN_UES','forEach','INVITE_CODE_ALREADY_BOUND','APPLY_DUPLICATED','onLocalMutation','getUnitStatus$','SYNCED','with','_id','INVITE_CODE_REQUIRED','getCurrentUnitForType','Warning','docStateChange$','_entityInit$','measureText','_startDocCollabCursor','subscribeEvent','includes','_render','location','url(#$1','_cursorInfo$','unshift','restore','symbol','_sheetSkeletonManagerService','fillRule','map','currentSkeleton$','_onCursorUpdate','apply','replaceDocRanges','getCurrent','doc.mutation.rich-text-editing','invokeId','enableLocalCache','onTransformChange$','_dataLoaderService','fillText','_handleHeartbeatEvent','current','getUndoRedoMutationParamsCache','setAlpha','SOCKET_FAILED','source','_assignedColors','mask','getItem','subscribe','defineProperty','getRelativeToViewportCoord','off-line-icon','YUUMI_ASYNCIO_CANCELLED','runOnServer','_messageService','581454Aignig','subunit','193463qXutxk','0\x200\x2017\x2016','saveTaskMap','all','getParam','JOIN_ROOM_FAILED','removeParam','redoState','AWAITING','next','length','disposeWithMe','_memberService','_notificationService','_docSkeletonManagerService','OnLineIcon','extend','_initEntityListener','getConfig','getSkeleton','tag','_clearOtherTimers','OFFLINE','icon','requireSession','CHANGESET_REVISION_CONFILICT','rgba(255,\x20255,\x20255,\x200.01)','unload','updateOfflineData','getCurrentRevOfUnit','textRanges','_saveCache','set','split','_color','application/json','_instanceService','add','getCurrentSelections','exhaustSavingTask','createInstance','_transformService','_updateURLWithCurrentState','LOGIN_FAILED','getCollabEntity$','width','roomMembers','drawWith','_anchorDot','_initResize','USERS_LEAVE','_cursorShapes','ONLINE','_onCursorDelete','InsertRowCommandId','getRangePointData','skeleton','path','USER_NOT_INVITED_CODE','_toggleOnline','makeDirty','stringify','sheetId','init','TEXT','_getMergeRange','_scene','HEADER_MENU','_hovered','row','imageSourceType','getTypeOfUnitAdded$','0\x200\x2016\x2016','params','function','parse','undoState','debug','height','COMPLETION_FINISHED','ticket','_init','use','_injector','random','bottom','range','_docStateChangeManagerService','YUUMI_UNABLE_LOAD_URL','_logService','_backgroundColor','registerComponent','addClipboardHook','getOffsetConfig','_range','_registerRenderDependencies','has','memberID','hide','8ChyDqN','moveTo','_handleEvent','getAncestorScale','UNIVER_SHEET','onCommandExecuted','_getScale','_initEvent','2229857okuwqO','_transformHistoryAndStateStack','saveOfflineData','startsWith','roomMembers$','UNRECOGNIZED','_collaborationController','LICENSE_MAX_UNITS_EXCEEDED','resize','4qlCdFC','transformMutation','collab-text-anchor-','_urlService','find','EMAIL_HAS_BEEN_BOUND','MUTATION','round','getActiveSheet','assignAColorForMemberID','session.will-retry','values','registerBeforeClose','_docTransformStateCacheService','getUniverSheetInstance','concat','LICENSE_IMPORT_SIZE_EXCEEDED','none','TOO_MANY_REQUESTS','div','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_setupBeforeClosingHandler','engine','getVpScrollXYInfoByPosToVp','APPLY_REVISION_CONFILICT','_selfUnitIDs','_getSheetObject','_initCommandExecutedListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getColorFromTheme','_session','prototype','urlChange$','_scheduleSaving','addHandlerCallback','YUUMI_AI_RUN_FAILED','UniverIcon','RECT','_cachedData','INVALID_ARGUMENT','1em','_configService','getOwnPropertySymbols','call','_context','string','show','VIEW_MAIN','SOCKET_FAILED_RETRY','DeleteRangeMoveLeftCommandId','univer-flex\x20univer-items-center','Failed','_initStatusComponent','_disabled','registerRenderModule','generateRandomId','transformByState','searchParams','#FFF','getValue','getCollabCursors$','collaboration.single-unit.warning','svg','_cursor','univerjs-icon\x20univerjs-icon-','subUnitId','top','setUndoRedoMutationParamsCache','_localeService','getMemberID','unsubscribe','_initDependencies','_toggleOffline','_online','SNAPSHOT_HAS_BEEN_REMOVED','deepClone','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','storage','asObservable','loadUnit','2215695bKmyHn','fillStyle','createSocket','_send','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','startColumn','setShapeProps','_onRefRangeChange','_status$','NOT_COLLAB','collaboration-client.offline-data-not-saved','_updateSubUnitFromURLParams','evenodd','_univerInstanceService','defs','off-line-icon_clip0_910_343','startRow','_refreshCollabCursors','reconnect','_roomMembers$','permission.title','_hideTimer','PERMISSION_DENIED','_transformUndoRedoStack','idSuffix','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','clearTimeout','CLOSE_ROOM','OTHER_CLIENTS_EDITING','_localCacheService','push','_localStorageService','setInterval','transform','delete','_handleHover','popstate','collabCursorState$','defIds','FromArray','syncEditingCollabCursor','save','collabStatus.offline','runId','SUBMIT_CHANGESET_TIMEOUT','_document','fill','onPointerMove$','collabStatus.fetchMiss','pushState','collabStatus.synced','indexOf','getActiveRange','black','_collaborationUIEventService','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','addObjects','href','getViewport','session.connection-failed','registerRefRange','m2Prime','clipPath','wsSessionTicketUrl','setTimeout','NO_OTHER_CLIENTS_EDITING','_registerDependencies','permission.content','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_shapes','className','mutations','OTHER_CLIENT_EDITING','collabStatus.conflict','activeSheet$','result','labelPosition','sessionTicket','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','unit','getFocusedUnit','_beforeCloseService','green.600','entityInit$','hasOwnProperty','NOT_FOUND','setConfig','44460910kXQxoT','displayName','addObject','attrs','_drawTextRange','16NXsZCb','flatMap','event$','unitID','column','_anchor','_themeService','name','transformIMECache','replaceState','dispose$','onStarting'];_0x252b=function(){return _0x1ef033;};return _0x252b();}import{ISocketService as _0xa47742,WebSocketService as _0x5d5f78,HTTPService as _0x158b8c}from'@univerjs/network';import{IDocClipboardService as _0x14f7a5,NodePositionConvertToCursor as _0x4cd754,NodePositionConvertToRectRange as _0x4c8f0f,TEXT_RANGE_LAYER_INDEX as _0x13994a,SetDocZoomRatioOperation as _0x3cd37d,DocIMEInputManagerService as _0x4adf26,DocStateChangeManagerService as _0x1389a5}from'@univerjs/docs-ui';import{IImageIoService as _0x537c9f}from'@univerjs/drawing';import{BehaviorSubject as _0x690e2a,debounceTime as _0x3a46cd,takeUntil as _0x30fec2,Subject as _0x12317c,filter as _0x6967a8,switchMap as _0x2f8353,merge as _0x4a8f92,combineLatest as _0x17a885,of as _0x5d21d1,fromEvent as _0x3cb40a,shareReplay as _0x56f6da,mapTo as _0x3deec,distinctUntilChanged as _0xc82f4f}from'rxjs';import{SetTextSelectionsOperation as _0x352d41,RichTextEditingMutation as _0x40ff6a,DocSelectionManagerService as _0x16b225,DocSkeletonManagerService as _0x430c25}from'@univerjs/docs';import{ITransformService as _0x564f5c,CollaborationEvent as _0x2deed9,isTransformMutationFailure as _0x373c55,isTransformMutationsWithChangesetSuccess as _0x4f3a6b,RevisionService as _0x305c24,ISnapshotServerService as _0x2c1c94}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3beaf3,serializeRangeWithSheet as _0x324d8e}from'@univerjs/engine-formula';import{RefRangeService as _0xa8cd9c,SetSelectionsOperation as _0x4ae070,SheetsSelectionsService as _0x4072f0,EffectRefRangId as _0x57df97,handleIRemoveRow as _0x402dce,handleIRemoveCol as _0xd76d37,handleMoveRange as _0x12a62e,handleInsertRow as _0x46efe9,handleInsertRangeMoveRight as _0x4ccbcc,handleInsertRangeMoveDown as _0x1b848a,handleInsertCol as _0x39c284,handleDeleteRangeMoveUp as _0x4eadec,handleDeleteRangeMoveLeft as _0x2c8aba,runRefRangeMutations as _0x45b8f2,SetWorksheetActivateCommand as _0x2e17cf}from'@univerjs/sheets';import{map as _0x5044b9,filter as _0x202138,throttleTime as _0xaee094,takeUntil as _0x453bf2,switchMap as _0x46d76e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x397fc0,getCoordByCell as _0x8107,getSheetObject as _0x1a60d5}from'@univerjs/sheets-ui';import{jsx as _0x3c46ca,jsxs as _0x16742e}from'react/jsx-runtime';import{useObservable as _0x1377bd,useDependency as _0x2c9ffa,IUIPartsService as _0x404c66,BuiltInUIPart as _0x200683,connectInjector as _0x1f4772,IBeforeCloseService as _0x5b7aef,IMessageService as _0x4e146e,INotificationService as _0x1010a7}from'@univerjs/ui';import{Tooltip as _0x432a00,clsx as _0x1d7c06,MessageType as _0x582b1a}from'@univerjs/design';import{forwardRef as _0x4426ae,useRef as _0x13e846,createElement as _0x4aa7b7,useCallback as _0x2c6a31}from'react';import{IRemoteInstanceService as _0xb37379}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0xd175a,_0x3a3bec,_0xdf8f9b,_0x16bc3d)=>{const _0x1bc801=_0x3fe07c;for(var _0x488438=_0x16bc3d>0x1?void 0x0:_0x16bc3d?ci(_0x3a3bec,_0xdf8f9b):_0x3a3bec,_0x3ff896=_0xd175a[_0x1bc801(0x1d9)]-0x1,_0x4b8b6a;_0x3ff896>=0x0;_0x3ff896--)(_0x4b8b6a=_0xd175a[_0x3ff896])&&(_0x488438=_0x4b8b6a(_0x488438)||_0x488438);return _0x488438;},Je=(_0x29ff7e,_0x3f7cea)=>(_0x20d8a8,_0x3355bc)=>_0x3f7cea(_0x20d8a8,_0x3355bc,_0x29ff7e);let Ne=class extends _0x5b4113{constructor(_0x45494c,_0x3c91c0){const _0x20eff2=_0x3fe07c;super(),this[_0x20eff2(0x110)]=_0x45494c,this['_imageIoService']=_0x3c91c0,this[_0x20eff2(0x220)]();}[_0x3fe07c(0x220)](){const _0x5b2ff9=_0x3fe07c,_0x478ded=this;this[_0x5b2ff9(0x1da)](this['_docClipboardService'][_0x5b2ff9(0x22b)]({'onBeforePasteImage':async _0x5a6e35=>{const _0x17e475=_0x5b2ff9,_0x252f59=await _0x478ded['_imageIoService'][_0x17e475(0x15b)](_0x5a6e35);return _0x252f59?{'source':_0x252f59[_0x17e475(0x1c2)],'imageSourceType':_0x252f59[_0x17e475(0x215)]}:null;}}));}};Ne=li([Je(0x0,_0x14f7a5),Je(0x1,_0x537c9f)],Ne);const Ze=[_0x3fe07c(0x169),_0x3fe07c(0x16e),_0x3fe07c(0xda),_0x3fe07c(0xfa),_0x3fe07c(0x133),'yellow.400'];class ke extends _0x4ae93a{constructor(){const _0x5d6fbb=_0x3fe07c;super(...arguments),_(this,_0x5d6fbb(0x1c3),new Map()),_(this,_0x5d6fbb(0x129),0x0);}[_0x3fe07c(0x24c)](_0x830547){const _0x25075c=_0x3fe07c;if(this[_0x25075c(0x1c3)][_0x25075c(0x22f)](_0x830547))return this[_0x25075c(0x1c3)][_0x25075c(0x173)](_0x830547);const _0x5712af=Ze[this[_0x25075c(0x129)]];return this['_colorIndex']=(this[_0x25075c(0x129)]+0x1)%Ze[_0x25075c(0x1d9)],this['_assignedColors']['set'](_0x830547,_0x5712af),_0x5712af;}}function Tt(_0x745f09){const _0x1f674d=_0x3fe07c;let _0x2d25a4='';for(const _0x2eb733 of _0x745f09){const {startOffset:_0x247b01,endOffset:_0x27c905,isActive:_0xa1fdcb,rangeType:_0xac1939,segmentId:_0x8ffcf2,segmentPage:_0x340f5b}=_0x2eb733;_0x2d25a4[_0x1f674d(0x1d9)]&&(_0x2d25a4+=','),_0x2d25a4+=_0x247b01+':'+_0x27c905+':'+(_0xa1fdcb?'1':'0')+':'+_0xac1939+':'+_0x8ffcf2+':'+_0x340f5b;}return _0x2d25a4;}function _i(_0x1e1cf2){const _0x588aa9=_0x3fe07c,_0x2fb350=_0x1e1cf2[_0x588aa9(0x1f0)](','),_0x3daaf9=[];for(const _0x1d62e7 of _0x2fb350){const [_0x3ba5c7,_0xb8573e,_0x358867,_0x1a4305,_0x18bb64,_0x4428aa]=_0x1d62e7[_0x588aa9(0x1f0)](':');_0x3daaf9[_0x588aa9(0x2b4)]({'startOffset':Number(_0x3ba5c7),'endOffset':Number(_0xb8573e),'collapsed':_0x3ba5c7===_0xb8573e,'isActive':_0x358867==='1','rangeType':_0x1a4305===_0x1cb7eb[_0x588aa9(0x20f)]?_0x1cb7eb['TEXT']:_0x1cb7eb[_0x588aa9(0x268)],'segmentId':typeof _0x18bb64=='string'?String(_0x18bb64):'','segmentPage':Number(_0x4428aa!=null?_0x4428aa:-0x1)});}return _0x3daaf9[_0x588aa9(0x189)](_0x5c2d06=>_0x5c2d06[_0x588aa9(0xfe)])||(_0x3daaf9[0x0][_0x588aa9(0xfe)]=!0x0),_0x3daaf9;}class He extends _0x5b4113{constructor(){const _0x152390=_0x3fe07c;super(...arguments),_(this,_0x152390(0x181),new _0x690e2a(null)),_(this,_0x152390(0x2bb),this[_0x152390(0x181)][_0x152390(0x292)]());}['syncEditingCollabCursor'](_0x526b8d){const _0x2e37f8=_0x3fe07c,{unitID:_0x32687a,memberID:_0x3d9069,textRanges:_0x4209fb}=_0x526b8d,_0x4084bf=Tt(_0x4209fb);if(_0x4084bf==='')return;const _0x43d04a={'unitID':_0x32687a,'memberID':_0x3d9069,'selection':_0x4084bf};this[_0x2e37f8(0x181)][_0x2e37f8(0x1d8)](_0x43d04a);}}var hi=Object[_0x3fe07c(0x128)],ui=(_0x2c0be0,_0xd3e5c9,_0x166145,_0x14b0a6)=>{const _0x3af17e=_0x3fe07c;for(var _0x6e1e62=_0x14b0a6>0x1?void 0x0:_0x14b0a6?hi(_0xd3e5c9,_0x166145):_0xd3e5c9,_0x3af1a2=_0x2c0be0[_0x3af17e(0x1d9)]-0x1,_0x406dc6;_0x3af1a2>=0x0;_0x3af1a2--)(_0x406dc6=_0x2c0be0[_0x3af1a2])&&(_0x6e1e62=_0x406dc6(_0x6e1e62)||_0x6e1e62);return _0x6e1e62;},P=(_0xc0ff34,_0x341a81)=>(_0x19db00,_0x37a33e)=>_0x341a81(_0x19db00,_0x37a33e,_0xc0ff34);const di=0x12c,fi=0x64;let Ue=class extends _0x5b4113{constructor(_0xb6eb57,_0x361b31,_0x30aeee,_0x150f33,_0xe59755,_0x1d872b,_0x50c39c,_0x29172,_0x442515){const _0x19bc37=_0x3fe07c;super(),_(this,_0x19bc37(0x28c),!0x1),_(this,_0x19bc37(0x220),!0x1),_(this,_0x19bc37(0x1ab),new _0x690e2a(new Map())),_(this,_0x19bc37(0x153),this[_0x19bc37(0x1ab)]['asObservable']()),_(this,_0x19bc37(0x2a8),new _0x690e2a([])),_(this,_0x19bc37(0x23e),this[_0x19bc37(0x2a8)][_0x19bc37(0x115)](_0x3a46cd(di))),_(this,_0x19bc37(0xf8),_0x3d717c(_0x3a9b89=>{const _0x4a760c=_0x19bc37,_0x2dbe53={'eventID':_0x2deed9[_0x4a760c(0x15c)],'data':{'unitID':this[_0x4a760c(0xe7)],'memberID':this['_session'][_0x4a760c(0x288)](),'selection':Tt(_0x3a9b89)}};this[_0x4a760c(0x261)][_0x4a760c(0x183)](_0x2dbe53,this[_0x4a760c(0xe7)]);},fi)),(this[_0x19bc37(0xe7)]=_0xb6eb57,this['_session']=_0x361b31,this[_0x19bc37(0x222)]=_0x30aeee,this[_0x19bc37(0x179)]=_0x150f33,this['_memberService']=_0xe59755,this[_0x19bc37(0x158)]=_0x1d872b,this[_0x19bc37(0x1f8)]=_0x50c39c,this[_0x19bc37(0x2a2)]=_0x29172,this[_0x19bc37(0x13a)]=_0x442515);}get['cursorInfo'](){const _0x2e4ed0=_0x3fe07c;return this[_0x2e4ed0(0x1ab)][_0x2e4ed0(0x27e)]();}get[_0x3fe07c(0x1fd)](){const _0x530c83=_0x3fe07c;return this[_0x530c83(0x2a8)][_0x530c83(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x1bc89a=_0x3fe07c;super['dispose'](),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x1d8)](new Map()),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x188)](),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x1d8)]([]),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x188)]();}['init'](){const _0x1be159=_0x3fe07c;this['_init']||(this['_init']=!0x0,this[_0x1be159(0x261)][_0x1be159(0x155)]['pipe'](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x49125a=>{const _0x226bbc=_0x1be159;_0x49125a===_0x1bb4ad[_0x226bbc(0x203)]?this[_0x226bbc(0x20a)]():this[_0x226bbc(0x28b)]();}),this[_0x1be159(0x261)][_0x1be159(0xe6)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))['subscribe'](_0x4d6bf1=>{const _0x348cbd=_0x1be159,_0x57312=_0x4d6bf1[_0x348cbd(0x195)];_0x57312===_0x2deed9[_0x348cbd(0x15c)]&&this[_0x348cbd(0x1b3)](_0x4d6bf1),_0x57312===_0x2deed9[_0x348cbd(0x201)]&&this[_0x348cbd(0x204)](_0x4d6bf1);}),this['disposeWithMe'](this[_0x1be159(0x13a)]['onCommandExecuted'](_0x436e0f=>{const _0xefcd33=_0x1be159,_0x587682=_0x436e0f[_0xefcd33(0x218)];_0x587682!=null&&this['_online']&&_0x436e0f['id']===_0x352d41['id']&&_0x587682['unitId']===this[_0xefcd33(0xe7)]&&_0x587682[_0xefcd33(0x174)]===!0x1&&_0x587682['ranges'][_0xefcd33(0x1d9)]>0x0&&this[_0xefcd33(0xf8)](_0x587682[_0xefcd33(0x192)]);})),this['_syncEditingCollabCursorService'][_0x1be159(0x2bb)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x5bed25=>{const _0x5d0416=_0x1be159;if((_0x5bed25==null?void 0x0:_0x5bed25['unitID'])!==this[_0x5d0416(0xe7)])return;const _0x21f11f={'eventID':_0x2deed9[_0x5d0416(0x15c)],'data':_0x5bed25};this[_0x5d0416(0x1b3)](_0x21f11f);}),this[_0x1be159(0x1da)](this[_0x1be159(0x13a)][_0x1be159(0x237)](_0x399f05=>{const _0x4ac6de=_0x1be159;if(_0x399f05[_0x4ac6de(0x218)]==null)return;const _0x450230=_0x399f05[_0x4ac6de(0x218)];if(_0x399f05['id']!==_0x40ff6a['id']||_0x450230[_0x4ac6de(0x10e)]!==this[_0x4ac6de(0xe7)])return;const _0x2dc0e3={'id':_0x4ac6de(0x1b7),'params':_0x450230},_0x1c92d0=this[_0x4ac6de(0x299)];for(const [_0x1e636f,_0x6defee]of _0x1c92d0){const _0x2cc55a={'id':_0x4ac6de(0x1b7),'params':{'unitId':this[_0x4ac6de(0xe7)],'actions':null,'textRanges':_0x6defee[_0x4ac6de(0x192)]}},_0x3b4f5a=this['_transformService']['transformMutation'](_0x2dc0e3,_0x2cc55a,!0x1);if(_0x373c55(_0x3b4f5a))throw _0x3b4f5a[_0x4ac6de(0x105)];_0x1c92d0[_0x4ac6de(0x1ef)](_0x1e636f,{..._0x6defee,'ranges':_0x3b4f5a[_0x4ac6de(0xc4)][_0x4ac6de(0x218)][_0x4ac6de(0x1ed)]});}queueMicrotask(()=>{const _0x158fc3=_0x4ac6de;this['_cursorInfo$'][_0x158fc3(0x1d8)](_0x1c92d0);});})));}[_0x3fe07c(0x1b3)](_0x48033e){const _0x2f748d=_0x3fe07c;var _0x245c00,_0x5ec698;const {memberID:_0x51fb59,selection:_0x15b50b}=_0x48033e[_0x2f748d(0x127)],_0x43ad73=_i(_0x15b50b),_0x5de705=(_0x5ec698=(_0x245c00=this['_memberService'][_0x2f748d(0x12e)](this[_0x2f748d(0xe7)],_0x51fb59))==null?void 0x0:_0x245c00[_0x2f748d(0xeb)])!=null?_0x5ec698:'Unknown\x20user',_0x4d25db={'color':this[_0x2f748d(0x179)][_0x2f748d(0x24c)](_0x51fb59),'name':_0x5de705,'ranges':_0x43ad73},_0x5a4933=this[_0x2f748d(0x299)];_0x5a4933[_0x2f748d(0x1ef)](_0x51fb59,_0x4d25db),this[_0x2f748d(0x1ab)][_0x2f748d(0x1d8)](_0x5a4933);}[_0x3fe07c(0x204)](_0x1bc84c){const _0x1db032=_0x3fe07c,{memberID:_0x59db72}=_0x1bc84c[_0x1db032(0x127)],_0x15f47e=this['cursorInfo'];_0x15f47e[_0x1db032(0x2b8)](_0x59db72),this[_0x1db032(0x1ab)]['next'](_0x15f47e);}[_0x3fe07c(0x20a)](){const _0x21afc=_0x3fe07c;var _0x3d2d59;if(this[_0x21afc(0x28c)]=!0x0,((_0x3d2d59=this[_0x21afc(0x2a2)][_0x21afc(0xd8)]())==null?void 0x0:_0x3d2d59['getUnitId']())!==this[_0x21afc(0xe7)])return;const _0x3a6132=this[_0x21afc(0x222)]['get'](_0x16b225)[_0x21afc(0x180)]();Array['isArray'](_0x3a6132)&&_0x3a6132[_0x21afc(0x1d9)]>0x0&&this['_updateLocalCursor'](_0x3a6132);}['_toggleOffline'](){const _0x48c415=_0x3fe07c;this[_0x48c415(0x28c)]=!0x1;}};Ue=ui([P(0x2,_0x4187e9(_0x1672f7)),P(0x3,_0x4187e9(ke)),P(0x4,_0x4187e9(_0x33404d)),P(0x5,_0x4187e9(He)),P(0x6,_0x564f5c),P(0x7,_0xbf54a8),P(0x8,_0x2e3d71)],Ue);var Si=Object[_0x3fe07c(0x128)],mi=(_0x1077de,_0x1cd159,_0x2960e2,_0x8447a5)=>{const _0x2d13c7=_0x3fe07c;for(var _0x4ed01b=_0x8447a5>0x1?void 0x0:_0x8447a5?Si(_0x1cd159,_0x2960e2):_0x1cd159,_0x234b55=_0x1077de[_0x2d13c7(0x1d9)]-0x1,_0x318a82;_0x234b55>=0x0;_0x234b55--)(_0x318a82=_0x1077de[_0x234b55])&&(_0x4ed01b=_0x318a82(_0x4ed01b)||_0x4ed01b);return _0x4ed01b;},x=(_0x5deced,_0x5391fa)=>(_0x1de94d,_0x161811)=>_0x5391fa(_0x1de94d,_0x161811,_0x5deced);const Ii=0x12c,gi=0x64,vi=()=>{let _0x292288=[],_0x249f40=!0x1;return _0x167710=>{const _0x31d3c3=_0x1112;_0x292288[_0x31d3c3(0x2b4)](_0x167710),_0x249f40||(_0x249f40=!0x0,setTimeout(()=>{const _0x3207ca=_0x31d3c3;_0x292288[_0x3207ca(0x197)](_0x3347fe=>_0x3347fe()),_0x292288=[],_0x249f40=!0x1;}));};};let Me=class extends _0x5b4113{constructor(_0x3c42b6,_0x4f3467,_0x195a2d,_0x389f19,_0xf16fa5,_0x5b6c24,_0x2e50e1,_0x291d63){const _0xdba780=_0x3fe07c;super(),_(this,_0xdba780(0x28c),!0x1),_(this,_0xdba780(0x220),!0x1),_(this,'_cursorInfo$',new _0x690e2a(new Map())),_(this,_0xdba780(0x153),this[_0xdba780(0x1ab)][_0xdba780(0x292)]()),_(this,_0xdba780(0x2a8),new _0x690e2a([])),_(this,_0xdba780(0x23e),this['_roomMembers$'][_0xdba780(0x115)](_0x3a46cd(Ii))),_(this,_0xdba780(0xf8),_0x3d717c((_0x3c70d3,_0x426a1c)=>{const _0x31d984=_0xdba780,_0x27ed3d={'eventID':_0x2deed9[_0x31d984(0x15c)],'data':{'unitID':this['unitID'],'memberID':this[_0x31d984(0x261)]['getMemberID'](),'selection':_0x324d8e(_0x3c70d3,_0x426a1c['range'])}};this[_0x31d984(0x261)][_0x31d984(0x183)](_0x27ed3d,this[_0x31d984(0xe7)]);},gi)),(this[_0xdba780(0xe7)]=_0x3c42b6,this[_0xdba780(0x261)]=_0x4f3467,this[_0xdba780(0x222)]=_0x195a2d,this['_colorAssignService']=_0x389f19,this[_0xdba780(0x1db)]=_0xf16fa5,this[_0xdba780(0x2a2)]=_0x5b6c24,this['_commandService']=_0x2e50e1,this[_0xdba780(0x16d)]=_0x291d63);}get['cursorInfo'](){const _0x9731e7=_0x3fe07c;return this[_0x9731e7(0x1ab)]['getValue']();}get[_0x3fe07c(0x1fd)](){const _0x517a29=_0x3fe07c;return this['_roomMembers$'][_0x517a29(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x5359ef=_0x3fe07c;super['dispose'](),this[_0x5359ef(0x1ab)][_0x5359ef(0x1d8)](new Map()),this[_0x5359ef(0x1ab)][_0x5359ef(0x188)](),this['_roomMembers$'][_0x5359ef(0x1d8)]([]),this['_roomMembers$'][_0x5359ef(0x188)]();}[_0x3fe07c(0x20e)](){const _0x85f49d=_0x3fe07c;this[_0x85f49d(0x220)]||(this[_0x85f49d(0x220)]=!0x0,this['_session'][_0x85f49d(0x155)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))['subscribe'](_0x378222=>{const _0x2b2998=_0x85f49d;_0x378222===_0x1bb4ad[_0x2b2998(0x203)]?this[_0x2b2998(0x20a)]():this['_toggleOffline']();}),this[_0x85f49d(0x261)][_0x85f49d(0xe6)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))[_0x85f49d(0x1c6)](_0x46ce19=>{const _0xe7d5ab=_0x85f49d,_0x22f632=_0x46ce19[_0xe7d5ab(0x195)];_0x22f632===_0x2deed9[_0xe7d5ab(0x15c)]&&this[_0xe7d5ab(0x1b3)](_0x46ce19),_0x22f632===_0x2deed9[_0xe7d5ab(0x201)]&&this[_0xe7d5ab(0x204)](_0x46ce19);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x85f49d(0x237)](_0x31f187=>{const _0x4c14cf=_0x85f49d;if(this[_0x4c14cf(0x28c)]&&_0x31f187['id']===_0x4ae070['id']&&_0x31f187[_0x4c14cf(0x218)][_0x4c14cf(0x10e)]===this['unitID']){const _0x23b52e=_0x31f187[_0x4c14cf(0x218)];this[_0x4c14cf(0xf8)](_0x23b52e[_0x4c14cf(0x284)],_0x23b52e[_0x4c14cf(0x14a)][0x0]);}})));}['_onCursorUpdate'](_0x4f6d5a){const _0x1b7fcd=_0x3fe07c;var _0x48996c,_0x26e3f9;const {memberID:_0x5c21bd,selection:_0x44ada3}=_0x4f6d5a['data'],{sheetName:_0x47860f,range:_0x546d06}=_0x3beaf3(_0x44ada3),_0x14486d={'name':(_0x26e3f9=(_0x48996c=this['_memberService']['getMember'](this[_0x1b7fcd(0xe7)],_0x5c21bd))==null?void 0x0:_0x48996c['name'])!=null?_0x26e3f9:_0x1b7fcd(0xfc),'range':this[_0x1b7fcd(0x210)](_0x47860f,_0x546d06),'sheetID':_0x47860f,'color':this[_0x1b7fcd(0x179)]['assignAColorForMemberID'](_0x5c21bd),'selection':_0x44ada3},_0x5012b5=this[_0x1b7fcd(0x299)];_0x5012b5[_0x1b7fcd(0x1ef)](_0x5c21bd,_0x14486d),this[_0x1b7fcd(0x1ab)][_0x1b7fcd(0x1d8)](_0x5012b5);}[_0x3fe07c(0x204)](_0x530c48){const _0x371847=_0x3fe07c,{memberID:_0x2b6aab}=_0x530c48['data'],_0x52db67=this[_0x371847(0x299)];_0x52db67[_0x371847(0x2b8)](_0x2b6aab),this[_0x371847(0x1ab)][_0x371847(0x1d8)](_0x52db67);}[_0x3fe07c(0x210)](_0x5e16cc,_0x124101){const _0x2c62d7=_0x3fe07c;var _0x493f32,_0x57e7c1;const _0x114a78=(_0x57e7c1=(_0x493f32=this[_0x2c62d7(0x2a2)][_0x2c62d7(0x251)](this['unitID']))==null?void 0x0:_0x493f32['getSheetBySheetId'](_0x5e16cc))==null?void 0x0:_0x57e7c1[_0x2c62d7(0x17e)]();return(_0x114a78==null?void 0x0:_0x114a78[_0x2c62d7(0x247)](_0x525ed7=>_0x1ba234['contains'](_0x525ed7,_0x124101)))||_0x124101;}[_0x3fe07c(0x29c)](){const _0x23a6f6=_0x3fe07c,_0x291254=new _0x3814e1(),_0x3290dd=vi(),_0x5a6157=()=>{const _0x4ad91a=_0x1112;_0x291254['dispose']();const _0xec9154=(_0x5a9661,_0x4722f8,_0x506f7a,_0x45cd8e)=>{const _0x5367b8=_0x1112;let _0x1e4343=[];switch(_0x5a9661['id']){case _0x57df97[_0x5367b8(0x274)]:{_0x1e4343=_0x2c8aba(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x191)]:{_0x1e4343=_0x4eadec(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertColCommandId']:{_0x1e4343=_0x39c284(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveDownCommandId']:{_0x1e4343=_0x1b848a(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveRightCommandId']:{_0x1e4343=_0x4ccbcc(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x205)]:{_0x1e4343=_0x46efe9(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x14e)]:{_0x1e4343=_0x12a62e(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveColCommandId']:{_0x1e4343=_0xd76d37(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveRowCommandId']:{_0x1e4343=_0x402dce(_0x5a9661,_0x45cd8e);break;}}const _0x587023=_0x45b8f2(_0x1e4343,_0x45cd8e),_0x43bcdb=this[_0x5367b8(0x299)][_0x5367b8(0x173)](_0x4722f8);if(_0x43bcdb&&_0x587023){const _0x318a1e={..._0x43bcdb,'range':_0x587023};this['cursorInfo']['set'](_0x4722f8,_0x318a1e),_0x3290dd(()=>{const _0x5bc76e=_0x5367b8,_0x1d800d=this['_refRangeService'][_0x5bc76e(0xc3)](_0x587023,_0x4c79c1=>(_0x1d800d[_0x5bc76e(0xf7)](),_0xec9154(_0x4c79c1,_0x4722f8,_0x506f7a,_0x587023)));_0x291254[_0x5bc76e(0x1f4)](_0x1d800d);});}return{'redos':[],'undos':[]};};this[_0x4ad91a(0x299)][_0x4ad91a(0x197)]((_0xab5c02,_0x4ff3ef)=>{const _0x3fc697=_0x4ad91a,{range:_0x2cb457,sheetID:_0xfacf62}=_0xab5c02,_0x28de90=this['_refRangeService'][_0x3fc697(0xc3)](_0x2cb457,_0x5a2d70=>(_0x28de90[_0x3fc697(0xf7)](),_0xec9154(_0x5a2d70,_0x4ff3ef,_0xfacf62,_0x2cb457)));_0x291254['add'](_0x28de90);});};this['disposeWithMe'](_0x36985b(this[_0x23a6f6(0x1ab)]['subscribe'](()=>{_0x5a6157();})));}['_toggleOnline'](){const _0x519654=_0x3fe07c;var _0x57be4e,_0x349044;if(this[_0x519654(0x28c)]=!0x0,((_0x57be4e=this['_univerInstanceService'][_0x519654(0xd8)]())==null?void 0x0:_0x57be4e[_0x519654(0x139)]())!==this[_0x519654(0xe7)])return;const _0xe4ef4a=(_0x349044=this[_0x519654(0x222)][_0x519654(0x173)](_0x4072f0)[_0x519654(0x1f5)]())==null?void 0x0:_0x349044[0x0],_0x433f48=this[_0x519654(0x2a2)][_0x519654(0x1a0)](_0x3b6e52[_0x519654(0x236)])[_0x519654(0x24b)]();_0xe4ef4a&&_0x433f48&&this[_0x519654(0xf8)](_0x433f48[_0x519654(0x122)](),_0xe4ef4a);}[_0x3fe07c(0x28b)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x4187e9(_0x1672f7)),x(0x3,_0x4187e9(ke)),x(0x4,_0x4187e9(_0x33404d)),x(0x5,_0xbf54a8),x(0x6,_0x2e3d71),x(0x7,_0x4187e9(_0xa8cd9c))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x18c1a9,_0x37985d,_0x3fc7bb,_0x681b23)=>{for(var _0x268ece=_0x681b23>0x1?void 0x0:_0x681b23?pi(_0x37985d,_0x3fc7bb):_0x37985d,_0x25a248=_0x18c1a9['length']-0x1,_0x20196e;_0x25a248>=0x0;_0x25a248--)(_0x20196e=_0x18c1a9[_0x25a248])&&(_0x268ece=_0x20196e(_0x268ece)||_0x268ece);return _0x268ece;},Se=(_0x35465d,_0x101001)=>(_0x5c6ba9,_0x30c3eb)=>_0x101001(_0x5c6ba9,_0x30c3eb,_0x35465d);let H=class extends _0x5b4113{constructor(_0x492171,_0x2ca5b3,_0x2cafc6){const _0x127a2c=_0x3fe07c;super(),_(this,'_entities',new Map()),_(this,_0x127a2c(0x1a3),new _0x12317c()),(this['_univerInstanceService']=_0x492171,this[_0x127a2c(0x222)]=_0x2ca5b3,this[_0x127a2c(0x154)]=_0x2cafc6,this['_init']());}[_0x3fe07c(0xf7)](){const _0x53de15=_0x3fe07c;super[_0x53de15(0xf7)](),this[_0x53de15(0x1a3)][_0x53de15(0x188)](),this[_0x53de15(0x149)][_0x53de15(0x197)](_0x5cb07f=>_0x5cb07f[_0x53de15(0xf7)]());}[_0x3fe07c(0x27f)](_0x20c2d8){const _0x225b72=_0x3fe07c;return this[_0x225b72(0x149)][_0x225b72(0x22f)](_0x20c2d8)?this['_entities'][_0x225b72(0x173)](_0x20c2d8)[_0x225b72(0x153)]:this[_0x225b72(0x1a3)][_0x225b72(0x115)](_0x6967a8(_0xed6c21=>_0xed6c21[_0x225b72(0xe7)]===_0x20c2d8),_0x2f8353(_0x434040=>_0x434040['cursorInfo$']));}['_init'](){const _0x3261c3=_0x3fe07c;this[_0x3261c3(0x2a2)]['getTypeOfUnitAdded$'](_0x3b6e52[_0x3261c3(0x236)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x1c6)](async _0x329d5b=>{const _0x1c107d=_0x3261c3,_0x8343c2=_0x329d5b[_0x1c107d(0x139)](),_0x236557=await this['_startSheetCollabCursor'](_0x8343c2);this[_0x1c107d(0x1a3)][_0x1c107d(0x1d8)](_0x236557),this[_0x1c107d(0x149)][_0x1c107d(0x1ef)](_0x8343c2,_0x236557);}),this[_0x3261c3(0x2a2)][_0x3261c3(0x216)](_0x3b6e52[_0x3261c3(0x104)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x115)](_0x6967a8(_0x4488b4=>!_0x4488b4[_0x3261c3(0x139)]()[_0x3261c3(0x23d)]('__')))[_0x3261c3(0x1c6)](async _0x78ccca=>{const _0x5d320a=_0x3261c3,_0x313223=_0x78ccca[_0x5d320a(0x139)](),_0xeb2283=await this[_0x5d320a(0x1a5)](_0x313223);this['_entityInit$'][_0x5d320a(0x1d8)](_0xeb2283),this[_0x5d320a(0x149)][_0x5d320a(0x1ef)](_0x313223,_0xeb2283);}),_0x4a8f92(this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x104)]),this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x236)]))[_0x3261c3(0x115)](_0x30fec2(this['dispose$']))[_0x3261c3(0x1c6)](_0x558e3e=>{const _0x40af5d=_0x3261c3,_0x53a4c1=_0x558e3e[_0x40af5d(0x139)](),_0x110563=this[_0x40af5d(0x149)][_0x40af5d(0x173)](_0x53a4c1);_0x110563&&(_0x110563[_0x40af5d(0xf7)](),this['_entities']['delete'](_0x53a4c1));});}async['_startSheetCollabCursor'](_0x3218d6){const _0x97cc1f=_0x3fe07c,_0x4267be=await this['_collabSessionService'][_0x97cc1f(0x1e7)](_0x3218d6),_0x24d2cf=this[_0x97cc1f(0x222)][_0x97cc1f(0x1f7)](Me,_0x3218d6,_0x4267be);return _0x24d2cf['init'](),_0x24d2cf;}async[_0x3fe07c(0x1a5)](_0x1457e8){const _0x33b3b5=_0x3fe07c,_0x3a873d=await this[_0x33b3b5(0x154)][_0x33b3b5(0x1e7)](_0x1457e8),_0x353997=this[_0x33b3b5(0x222)][_0x33b3b5(0x1f7)](Ue,_0x1457e8,_0x3a873d);return _0x353997[_0x33b3b5(0x20e)](),_0x353997;}};H=Ci([Se(0x0,_0xbf54a8),Se(0x1,_0x4187e9(_0x1672f7)),Se(0x2,_0x4187e9(_0x2d67be))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3866d9,_0x517cac){const _0x1d1987=_0x3fe07c;let {radius:_0x360e03,width:_0x34192a,height:_0x47af7e}=_0x517cac;_0x360e03=_0x360e03!=null?_0x360e03:0x0,_0x34192a=_0x34192a!=null?_0x34192a:0x1e,_0x47af7e=_0x47af7e!=null?_0x47af7e:0x1e;let _0xc67268=0x0,_0x22f651=0x0,_0x5e5be2=0x0;_0xc67268=_0x22f651=_0x5e5be2=Math['min'](_0x360e03,_0x34192a/0x2,_0x47af7e/0x2),_0x3866d9['beginPath'](),_0x3866d9[_0x1d1987(0x233)](_0xc67268,0x0),_0x3866d9['lineTo'](_0x34192a-_0x22f651,0x0),_0x3866d9['arc'](_0x34192a-_0x22f651,_0x22f651,_0x22f651,Math['PI']*0x3/0x2,0x0,!0x1),_0x3866d9[_0x1d1987(0x164)](_0x34192a,_0x47af7e-_0x5e5be2),_0x3866d9[_0x1d1987(0x14f)](_0x34192a-_0x5e5be2,_0x47af7e-_0x5e5be2,_0x5e5be2,0x0,Math['PI']/0x2,!0x1),_0x3866d9[_0x1d1987(0x164)](0x0,_0x47af7e),_0x3866d9[_0x1d1987(0x164)](0x0,_0xc67268),_0x3866d9[_0x1d1987(0x14f)](_0xc67268,_0xc67268,_0xc67268,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3866d9['closePath'](),_0x517cac[_0x1d1987(0x2c4)]&&(_0x3866d9[_0x1d1987(0x2bf)](),_0x3866d9[_0x1d1987(0x295)]=_0x517cac[_0x1d1987(0x2c4)],_0x517cac[_0x1d1987(0x1b0)]===_0x1d1987(0x2a1)?_0x3866d9[_0x1d1987(0x2c4)](_0x1d1987(0x2a1)):_0x3866d9[_0x1d1987(0x2c4)](),_0x3866d9[_0x1d1987(0x1ad)]());}class he extends _0x46f2f7{constructor(_0x21ac95,_0x3db824){const _0x1c31c3=_0x3fe07c;super(_0x21ac95,_0x3db824),_(this,'color'),_(this,_0x1c31c3(0x14b)),(this[_0x1c31c3(0x124)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x124)],this[_0x1c31c3(0x14b)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x14b)]);}static['drawWith'](_0x19f903,_0x228f29){const _0x49c181=_0x3fe07c,{text:_0x45988c,color:_0x598030}=_0x228f29;_0x19f903[_0x49c181(0x2bf)](),_0x19f903['font']=_0x49c181(0x16c);const _0x54a467=_0x19f903[_0x49c181(0x1a4)](_0x45988c)['width'],_0x442373=Math['min'](_0x54a467+0x2*me,Qe);Oi(_0x19f903,{'height':ee,'radius':0x4,'width':_0x442373,'fill':_0x598030}),_0x19f903[_0x49c181(0x295)]=_0x49c181(0x27d);const _0x513a95=me,_0x171d2d=ee-Ei,_0x4a06cd=Qe-0x2*me;if(_0x54a467>_0x4a06cd){let _0x5c2315='',_0x565057=0x0;for(const _0x7944d6 of _0x45988c){const _0x4a499f=_0x19f903[_0x49c181(0x1a4)](_0x7944d6)[_0x49c181(0x1fc)];if(_0x565057+_0x4a499f<=_0x4a06cd-_0x19f903[_0x49c181(0x1a4)]('...')['width'])_0x5c2315+=_0x7944d6,_0x565057+=_0x4a499f;else{_0x5c2315+='...';break;}}_0x19f903['fillText'](_0x5c2315,_0x513a95,_0x171d2d);}else _0x19f903[_0x49c181(0x1bc)](_0x45988c,_0x513a95,_0x171d2d);_0x19f903[_0x49c181(0x1ad)]();}['_draw'](_0x382225){he['drawWith'](_0x382225,this);}}const Ie=_0x3fe07c(0x245),bi='collab-text-range-',Ti=_0x3fe07c(0x13e),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3fe07c(0x1e9);class qe{constructor(_0x5453c8,_0x2a3fef,_0x3178f0,_0x52a9b1){const _0x27029c=_0x3fe07c;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x27029c(0x11a),null),_(this,_0x27029c(0x1ff),null),_(this,'_hideTimer',null),_(this,_0x27029c(0x126),null),(this['_cursor']=_0x5453c8,this[_0x27029c(0x211)]=_0x2a3fef,this['_docSkeleton']=_0x3178f0,this[_0x27029c(0x2c3)]=_0x52a9b1,this[_0x27029c(0x1a8)]());}set[_0x3fe07c(0x125)](_0x391bcc){const _0x3f3950=_0x3fe07c;_0x391bcc?(this['_anchorDot']&&this[_0x3f3950(0x1ff)][_0x3f3950(0x231)](),this[_0x3f3950(0x11a)]&&this['_textBubble'][_0x3f3950(0x271)]()):(this[_0x3f3950(0x1ff)]&&this[_0x3f3950(0x1ff)][_0x3f3950(0x271)](),this[_0x3f3950(0x11a)]&&this[_0x3f3950(0x11a)][_0x3f3950(0x231)]());}[_0x3fe07c(0xf7)](){const _0x3b9019=_0x3fe07c;for(const _0x2f7789 of this[_0x3b9019(0xcc)])_0x2f7789[_0x3b9019(0xf7)]();this[_0x3b9019(0x11a)]&&this[_0x3b9019(0x11a)][_0x3b9019(0xf7)](),this[_0x3b9019(0x1ff)]&&this[_0x3b9019(0x1ff)]['dispose'](),this[_0x3b9019(0xe9)]&&this[_0x3b9019(0xe9)][_0x3b9019(0xf7)](),this[_0x3b9019(0x126)]&&this[_0x3b9019(0x126)]();}['_render'](){const _0x2d26fb=_0x3fe07c;var _0x517e15;const {_docSkeleton:_0xc17846,_document:_0x22368a}=this,{color:_0x4f77fa,name:_0x40d771,ranges:_0x63ec}=this[_0x2d26fb(0x282)],_0x2b301a=_0x22368a[_0x2d26fb(0x22c)](),{docsLeft:_0x27ae55,docsTop:_0x3fc7bd}=_0x2b301a,_0x13b089=new _0x4cd754(_0x2b301a,_0xc17846);for(const {startOffset:_0x318ce0,endOffset:_0x120134,rangeType:_0x411721,segmentId:_0x26fbff,segmentPage:_0x34953d,collapsed:_0x304471,isActive:_0x20a113}of _0x63ec){const _0x353afc=_0xc17846['findNodePositionByCharIndex'](_0x318ce0,!0x0,_0x26fbff,_0x34953d);let _0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134,!0x0,_0x26fbff,_0x34953d);if(_0x32a8c3==null&&(_0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134-0x1,!0x1,_0x26fbff,_0x34953d)),_0x20a113){const {contentBoxPointGroup:_0x839b55}=_0x13b089['getRangePointData'](_0x32a8c3,_0x32a8c3);if(_0x839b55[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0x11c)](_0x4f77fa,_0x839b55,_0x27ae55,_0x3fc7bd,_0x40d771),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x353afc&&_0x32a8c3){if(_0x411721===_0x1cb7eb[_0x2d26fb(0x268)]){const _0x28f7b8=new _0x4c8f0f(_0x2b301a,_0xc17846),{pointGroup:_0x137122}=(_0x517e15=_0x28f7b8[_0x2d26fb(0x206)](_0x353afc,_0x32a8c3))!=null?_0x517e15:{};if(_0x137122==null||_0x137122[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xff)](_0x4f77fa,_0x137122,_0x27ae55,_0x3fc7bd);}else{if(!_0x304471){const {borderBoxPointGroup:_0x599a57}=_0x13b089['getRangePointData'](_0x353afc,_0x32a8c3);if(_0x599a57[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xe3)](_0x4f77fa,_0x599a57,_0x27ae55,_0x3fc7bd);}}}}}[_0x3fe07c(0x11c)](_0x1268b1,_0x2cfe14,_0xf4eaea,_0x499993,_0x409344){const _0x53f437=_0x3fe07c,_0x29cc87=this[_0x53f437(0x177)](_0x2cfe14),{left:_0x392a16,top:_0x532ab3,height:_0x509710}=_0x29cc87,_0x4179db=this[_0x53f437(0x238)](),_0x3fdea1=Di/_0x4179db,_0x2bdb6e=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993,'height':_0x509710,'width':Ri,'fill':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'strokeWidth':_0x3fdea1,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2bdb6e,this['_scene'][_0x53f437(0xe1)](_0x2bdb6e,_0x13994a);const _0x14e794=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ge/0x2,'height':ge,'width':ge,'fill':_0x1268b1||_0x34809b(_0x324efe['black'],0x0),'strokeWidth':0x0,'stroke':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'evented':!0x1});this[_0x53f437(0x1ff)]=_0x14e794,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x14e794,_0x13994a);const _0x24800f=new he(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ee,'text':_0x409344,'color':_0x1268b1});this[_0x53f437(0x11a)]=_0x24800f,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x24800f,_0x13994a),this[_0x53f437(0x125)]=!0x1;}[_0x3fe07c(0x2b9)](){const _0x4e1557=_0x3fe07c,_0x6914f7=this['_anchor'][_0x4e1557(0xf9)][_0x4e1557(0x1a6)](()=>{const _0x369be2=_0x4e1557;this[_0x369be2(0x125)]=!0x0;}),_0x568392=this[_0x4e1557(0xe9)][_0x4e1557(0x18f)][_0x4e1557(0x1a6)](()=>{const _0x2796f0=_0x4e1557;this[_0x2796f0(0x2aa)]&&clearTimeout(this[_0x2796f0(0x2aa)]),this['_hideTimer']=setTimeout(()=>{const _0x2a1ad5=_0x2796f0;this[_0x2a1ad5(0x125)]=!0x1;},0x7d0);});return()=>{const _0xd4491b=_0x4e1557;_0x6914f7[_0xd4491b(0x289)](),_0x568392[_0xd4491b(0x289)]();};}[_0x3fe07c(0xe3)](_0x35d631,_0x259fa0,_0x23c757,_0x1396b0){const _0x25eaaf=_0x3fe07c,_0x35e554=new _0x15a69d(_0x35d631)[_0x25eaaf(0x1c0)](0.2)[_0x25eaaf(0xfd)](),_0x94de99=new _0x33c830(bi+_0x2e8d92[_0x25eaaf(0x27a)](X),{'pointsGroup':_0x259fa0,'fill':_0x35e554||_0x34809b(_0x324efe['black'],0.2),'left':_0x23c757,'top':_0x1396b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25eaaf(0xcc)][_0x25eaaf(0x2b4)](_0x94de99),this[_0x25eaaf(0x211)][_0x25eaaf(0xe1)](_0x94de99,_0x13994a);}[_0x3fe07c(0xff)](_0x237d7b,_0x16ee4b,_0x1979a8,_0x3fc1cb){const _0x47fb14=_0x3fe07c,_0x420a40=new _0x15a69d(_0x237d7b)[_0x47fb14(0x1c0)](0.2)['toRgbString'](),_0x1913c6=new _0x33c830(Ti+_0x2e8d92[_0x47fb14(0x27a)](X),{'pointsGroup':_0x16ee4b,'fill':_0x420a40||_0x34809b(_0x324efe[_0x47fb14(0x2cb)],0.2),'left':_0x1979a8,'top':_0x3fc1cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47fb14(0xcc)][_0x47fb14(0x2b4)](_0x1913c6),this[_0x47fb14(0x211)][_0x47fb14(0xe1)](_0x1913c6,_0x13994a);}['_getAnchorBounding'](_0x4c8224){const _0x4bd316=_0x4c8224[0x0],_0x131699=_0x4bd316[0x0],_0x4a36cf=_0x4bd316[0x2],{x:_0xbf663,y:_0xce942a}=_0x131699,{x:_0x4b5ed3,y:_0x1d9e1d}=_0x4a36cf;return{'left':_0xbf663,'top':_0xce942a,'width':_0x4b5ed3-_0xbf663,'height':_0x1d9e1d-_0xce942a};}[_0x3fe07c(0x238)](){const _0x7eeddb=_0x3fe07c,{scaleX:_0x3add4d,scaleY:_0x5c51af}=this[_0x7eeddb(0x211)][_0x7eeddb(0x235)]();return Math[_0x7eeddb(0x120)](_0x3add4d,_0x5c51af);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x48db15,_0xf64664,_0x1b626a,_0x1141eb)=>{const _0x360605=_0x3fe07c;for(var _0x4c9cbc=_0x1141eb>0x1?void 0x0:_0x1141eb?Ui(_0xf64664,_0x1b626a):_0xf64664,_0x5bfb66=_0x48db15[_0x360605(0x1d9)]-0x1,_0x227458;_0x5bfb66>=0x0;_0x5bfb66--)(_0x227458=_0x48db15[_0x5bfb66])&&(_0x4c9cbc=_0x227458(_0x4c9cbc)||_0x4c9cbc);return _0x4c9cbc;},Z=(_0x473e6c,_0x12133a)=>(_0x4924ac,_0x190189)=>_0x12133a(_0x4924ac,_0x190189,_0x473e6c);let we=class extends _0x5b4113{constructor(_0x207528,_0x1ca365,_0x106343,_0x4d8e8e,_0x326d0a){const _0x416b80=_0x3fe07c;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x207528,this[_0x416b80(0x1dd)]=_0x1ca365,this[_0x416b80(0x171)]=_0x106343,this[_0x416b80(0x13a)]=_0x4d8e8e,this[_0x416b80(0xea)]=_0x326d0a,this[_0x416b80(0x220)]());}[_0x3fe07c(0x220)](){const _0x3f2408=_0x3fe07c,_0x3bc720=this[_0x3f2408(0x26f)][_0x3f2408(0x10e)],_0x33c28c=this[_0x3f2408(0x1dd)];this[_0x3f2408(0x1da)](_0x17a885([this[_0x3f2408(0x171)][_0x3f2408(0x27f)](_0x3bc720),this['_themeService']['currentTheme$']])[_0x3f2408(0x115)](_0x5044b9(([_0x26aa60,_0x2b160c])=>({'skeleton':_0x33c28c[_0x3f2408(0x1e2)](),'cursors':[..._0x26aa60['values']()][_0x3f2408(0xe5)](_0x55b7d8=>({..._0x55b7d8,'color':this[_0x3f2408(0xea)][_0x3f2408(0x260)](_0x55b7d8[_0x3f2408(0x124)])}))})))[_0x3f2408(0x1c6)](_0x31b839=>{const _0x565b6f=_0x3f2408;if(this['_removeCollabCursors'](),_0x31b839){const {skeleton:_0x1ca4c3,cursors:_0x3ac98b}=_0x31b839;this[_0x565b6f(0x11b)](_0x1ca4c3,_0x3ac98b);}})),this[_0x3f2408(0x200)](),this['_initCommandExecutedListener']();}[_0x3fe07c(0x11b)](_0x6d943e,_0x43cd78){const _0x56edbc=_0x3fe07c,{scene:_0x1d65b4,mainComponent:_0x5790d9}=this[_0x56edbc(0x26f)],_0x2fb673=_0x43cd78[_0x56edbc(0x1b1)](_0x4662af=>new qe(_0x4662af,_0x1d65b4,_0x6d943e,_0x5790d9));this[_0x56edbc(0x202)]=_0x2fb673,this[_0x56edbc(0x156)]=_0x43cd78;}['_refreshCollabCursors'](){const _0xa7cb5b=_0x3fe07c;this['_removeCollabCursors']();const {scene:_0x26aa8f,mainComponent:_0x1864b3}=this[_0xa7cb5b(0x26f)],_0x5a5939=this[_0xa7cb5b(0x1dd)][_0xa7cb5b(0x1e2)](),_0xf61243=this[_0xa7cb5b(0x156)][_0xa7cb5b(0x1b1)](_0x57c5cc=>new qe(_0x57c5cc,_0x26aa8f,_0x5a5939,_0x1864b3));this[_0xa7cb5b(0x202)]=_0xf61243;}[_0x3fe07c(0x182)](){const _0x1aa540=_0x3fe07c;this['_cursorShapes']['forEach'](_0x43da1e=>_0x43da1e['dispose']()),this[_0x1aa540(0x202)]=[];}[_0x3fe07c(0x25e)](){const _0x129095=_0x3fe07c,_0x239c7d=[_0x3cd37d['id']];this[_0x129095(0x1da)](this['_commandService'][_0x129095(0x237)](_0x4ceb85=>{const _0x45cc94=_0x129095;_0x239c7d[_0x45cc94(0x1a7)](_0x4ceb85['id'])&&_0x4ceb85[_0x45cc94(0x218)]['unitId']===this[_0x45cc94(0x26f)]['unitId']&&this[_0x45cc94(0x2a6)]();}));}[_0x3fe07c(0x200)](){const _0xbe43c8=_0x3fe07c;this['disposeWithMe'](_0x3f312e(this[_0xbe43c8(0x26f)][_0xbe43c8(0x259)][_0xbe43c8(0x1ba)])[_0xbe43c8(0x115)](_0x202138(_0xf67ab8=>_0xf67ab8['type']===_0x13d377[_0xbe43c8(0x242)]),_0xaee094(0x10))[_0xbe43c8(0x1c6)](()=>{const _0x8fee10=_0xbe43c8;this[_0x8fee10(0x2a6)]();}));}};we=Mi([Z(0x1,_0x4187e9(_0x430c25)),Z(0x2,_0x4187e9(H)),Z(0x3,_0x2e3d71),Z(0x4,_0x4187e9(_0x4fcb94))],we);const wi=0x1,Pi=1.5;class Li extends _0x46f2f7{constructor(_0x279b82,_0x29f8d4){const _0x4869d6=_0x3fe07c;super(_0x279b82,_0x29f8d4),_(this,'_color'),_(this,_0x4869d6(0x213),!0x1),_(this,'_range'),_(this,_0x4869d6(0x187),''),_(this,_0x4869d6(0x108),'top'),_(this,_0x4869d6(0x229)),(_0x29f8d4&&this[_0x4869d6(0x29b)](_0x29f8d4),this[_0x4869d6(0xf9)][_0x4869d6(0x1a6)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4869d6(0x18f)][_0x4869d6(0x1a6)](()=>this[_0x4869d6(0x29b)]({'hovered':!0x1})));}[_0x3fe07c(0x29b)](_0x2f9db9){const _0x57e7b7=_0x3fe07c;var _0x31b7e0,_0x389099,_0x39aa11,_0x3435d4,_0x5446f9,_0x1e878b;this[_0x57e7b7(0x1f1)]=(_0x31b7e0=_0x2f9db9[_0x57e7b7(0x124)])!=null?_0x31b7e0:this[_0x57e7b7(0x1f1)],this[_0x57e7b7(0x213)]=(_0x389099=_0x2f9db9[_0x57e7b7(0x121)])!=null?_0x389099:this[_0x57e7b7(0x213)],this[_0x57e7b7(0x22d)]=(_0x39aa11=_0x2f9db9[_0x57e7b7(0x225)])!=null?_0x39aa11:this[_0x57e7b7(0x22d)],this['_name']=(_0x3435d4=_0x2f9db9[_0x57e7b7(0xeb)])!=null?_0x3435d4:this[_0x57e7b7(0x187)],this[_0x57e7b7(0x108)]=(_0x5446f9=_0x2f9db9[_0x57e7b7(0xd3)])!=null?_0x5446f9:this[_0x57e7b7(0x108)],this[_0x57e7b7(0x229)]=(_0x1e878b=_0x2f9db9[_0x57e7b7(0x186)])!=null?_0x1e878b:this['_backgroundColor'],this[_0x57e7b7(0x27b)]({'width':_0x2f9db9[_0x57e7b7(0x1fc)],'height':_0x2f9db9[_0x57e7b7(0x21d)]});}['onMouseMove'](_0x5e3322){const _0x23ca38=_0x3fe07c,{row:_0x4233f2,column:_0x56a1d6}=_0x5e3322;if(_0x4233f2>=this[_0x23ca38(0x22d)][_0x23ca38(0x2a5)]&&_0x4233f2<=this[_0x23ca38(0x22d)]['endRow']&&_0x56a1d6>=this[_0x23ca38(0x22d)][_0x23ca38(0x29a)]&&_0x56a1d6<=this[_0x23ca38(0x22d)]['endColumn']){this[_0x23ca38(0x29b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2f6695){return!0x1;}[_0x3fe07c(0xf5)](_0x3a50fa){const _0x5f2b59=_0x3fe07c;_0x554ac3[_0x5f2b59(0x1fe)](_0x3a50fa,{'width':this['width'],'height':this[_0x5f2b59(0x21d)],'strokeWidth':Pi,'stroke':this[_0x5f2b59(0x1f1)],'evented':!0x1,'fill':this[_0x5f2b59(0x229)]}),this['_hovered']&&(_0x3a50fa['save'](),_0x3a50fa[_0x5f2b59(0x2b7)](0x1,0x0,0x0,0x1,this[_0x5f2b59(0x1fc)],this[_0x5f2b59(0x108)]===_0x5f2b59(0x224)?0x0:-0x14),he[_0x5f2b59(0x1fe)](_0x3a50fa,{'text':this[_0x5f2b59(0x187)],'color':this[_0x5f2b59(0x1f1)]}),_0x3a50fa[_0x5f2b59(0x1ad)]());}}var Ai=Object[_0x3fe07c(0x128)],yi=(_0x568c18,_0x1d6905,_0x2b4807,_0x3fe566)=>{const _0x7efce4=_0x3fe07c;for(var _0x3327b4=_0x3fe566>0x1?void 0x0:_0x3fe566?Ai(_0x1d6905,_0x2b4807):_0x1d6905,_0x5d0bf9=_0x568c18[_0x7efce4(0x1d9)]-0x1,_0x10d4ee;_0x5d0bf9>=0x0;_0x5d0bf9--)(_0x10d4ee=_0x568c18[_0x5d0bf9])&&(_0x3327b4=_0x10d4ee(_0x3327b4)||_0x3327b4);return _0x3327b4;},ve=(_0x34f946,_0x33f836)=>(_0x3d2797,_0x381787)=>_0x33f836(_0x3d2797,_0x381787,_0x34f946);const $i=0x1389;let Pe=class extends _0x5b4113{constructor(_0x3796dd,_0x47d3b5,_0x3af3e6,_0x201fb0){const _0x19fd14=_0x3fe07c;super(),_(this,_0x19fd14(0x156),new Set()),_(this,_0x19fd14(0x142),null),(this[_0x19fd14(0x26f)]=_0x3796dd,this[_0x19fd14(0x1af)]=_0x47d3b5,this[_0x19fd14(0x171)]=_0x3af3e6,this['_themeService']=_0x201fb0,this['_init']());}[_0x3fe07c(0x220)](){const _0x21fb49=_0x3fe07c;this[_0x21fb49(0x1af)]['currentSkeleton$'][_0x21fb49(0x115)](_0x453bf2(this[_0x21fb49(0xee)]),_0x46d76e(_0x39802e=>{const _0x2428ef=_0x21fb49;if(_0x39802e){const _0xaaea8=_0x39802e[_0x2428ef(0x20d)];return _0x17a885(this[_0x2428ef(0x171)][_0x2428ef(0x27f)](this['_context'][_0x2428ef(0x10e)]),this[_0x2428ef(0xea)]['currentTheme$'])[_0x2428ef(0x115)](_0x5044b9(([_0x4d73f9,_0x24ba39])=>{const _0x1bc266=_0x2428ef,_0x578487=new Map();return _0x4d73f9[_0x1bc266(0x197)]((_0x2360e9,_0x4ef71d)=>{const _0x105c04=_0x1bc266;if(_0x2360e9['sheetID']===_0xaaea8){const _0x2a2663={..._0x2360e9};_0x2a2663['color']=this[_0x105c04(0xea)][_0x105c04(0x260)](_0x2360e9[_0x105c04(0x124)]),_0x578487['set'](_0x4ef71d,_0x2a2663);}}),{'skeleton':_0x39802e,'cursors':_0x578487};}));}return _0x5d21d1({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9177f0,cursors:_0x23981d})=>{const _0x553411=_0x21fb49;this['_removeCollabCursors'](),_0x9177f0&&this[_0x553411(0x11b)](_0x9177f0,_0x23981d);}),this['_sheetSkeletonManagerService'][_0x21fb49(0x1b2)][_0x21fb49(0x1c6)](_0xbb9455=>{const _0xa2dc8c=_0x21fb49;if(_0xbb9455==null)return;const {skeleton:_0x3676f7}=_0xbb9455,{scene:_0x40e80f}=this[_0xa2dc8c(0x26f)];_0x40e80f[_0xa2dc8c(0x2c5)][_0xa2dc8c(0x1a6)](_0x3d717c(_0x37365c=>{const _0x1bcb55=_0xa2dc8c;var _0x3e841c,_0x5cd877;const {offsetX:_0x3ec7d,offsetY:_0x1009eb}=_0x37365c,{x:_0x5d0db2,y:_0x349766}=_0x40e80f[_0x1bcb55(0x1c8)](_0x263eee[_0x1bcb55(0x2bd)]([_0x3ec7d,_0x1009eb])),{scaleX:_0x513dd8,scaleY:_0x515739}=_0x40e80f['getAncestorScale'](),_0x378b38=_0x40e80f[_0x1bcb55(0x2d1)](_0x551d32[_0x1bcb55(0x272)]),_0x51dfba=_0x40e80f[_0x1bcb55(0x25a)](_0x263eee[_0x1bcb55(0x2bd)]([_0x5d0db2,_0x349766]),_0x378b38),_0x1b0837=_0x3676f7[_0x1bcb55(0x134)](_0x3ec7d,_0x1009eb,_0x513dd8,_0x515739,_0x51dfba);((_0x3e841c=this[_0x1bcb55(0x142)])==null?void 0x0:_0x3e841c[_0x1bcb55(0xe8)])===_0x1b0837['column']&&((_0x5cd877=this[_0x1bcb55(0x142)])==null?void 0x0:_0x5cd877['row'])===_0x1b0837[_0x1bcb55(0x214)]||this['_cursors']['forEach'](_0x19a568=>{const _0x1921e8=_0x1bcb55;_0x19a568[_0x1921e8(0x170)](_0x1b0837);});},0x64));});}[_0x3fe07c(0x11b)](_0x19b9d1,_0x224e22){const _0x480cce=_0x3fe07c;var _0x4ae3be;const _0xc7ca0c=(_0x4ae3be=this[_0x480cce(0x1af)][_0x480cce(0x1b6)]())==null?void 0x0:_0x4ae3be[_0x480cce(0x207)];if(!_0xc7ca0c)return;const _0x25c8fd=this[_0x480cce(0x25d)]();if(!_0x25c8fd)return;this[_0x480cce(0x156)]['forEach'](_0xb877c4=>{const _0x53e7fe=_0x480cce;_0xb877c4[_0x53e7fe(0x20b)]();});const {scene:_0x575f7a}=_0x25c8fd,_0x1b51ac=xi(Array['from'](_0x224e22[_0x480cce(0x24e)]()))['map'](_0x202cdb=>{const _0x21e553=_0x480cce,{color:_0x527218,range:_0x2b408a,name:_0x4519b4,selection:_0x1327b4,sheetID:_0x3b14f2}=_0x202cdb,{startColumn:_0x561305,startRow:_0x4e79af,endColumn:_0x3bcd26,endRow:_0x6d3676}=_0x2b408a,_0x48c48b=_0x8107(_0x4e79af,_0x561305,_0x575f7a,_0xc7ca0c),_0x4f9b96=_0x8107(_0x6d3676,_0x3bcd26,_0x575f7a,_0xc7ca0c),{columnHeaderHeightAndMarginTop:_0x11c49a}=_0xc7ca0c,{startX:_0x40af93,startY:_0x57ffae}=_0x48c48b,{endX:_0x2a671f,endY:_0xac0645}=_0x4f9b96,_0x53c5fd=_0x2a671f-_0x40af93,_0x5397e5=_0xac0645-_0x57ffae,_0x53aa2f={'labelPosition':_0x57ffae-_0x11c49a>=ee?_0x21e553(0x285):_0x21e553(0x224),'sheetID':_0x3b14f2,'range':_0x2b408a,'color':_0x527218,'name':_0x4519b4,'selection':_0x1327b4,'left':_0x40af93,'top':_0x57ffae,'width':_0x53c5fd,'height':_0x5397e5,'evented':!0x1,'zIndex':$i};return new Li(_0x4519b4,_0x53aa2f);});_0x575f7a[_0x480cce(0x2cf)](_0x1b51ac,wi),this[_0x480cce(0x156)]=new Set(_0x1b51ac);}[_0x3fe07c(0x182)](){const _0x5b68c6=_0x3fe07c;var _0x5e9489;(_0x5e9489=this[_0x5b68c6(0x156)])==null||_0x5e9489['forEach'](_0x4c85c3=>_0x4c85c3[_0x5b68c6(0xf7)]());}['_getSheetObject'](){const _0x1b5298=_0x3fe07c;return _0x1a60d5(this[_0x1b5298(0x26f)][_0x1b5298(0xd7)],this[_0x1b5298(0x26f)]);}};Pe=yi([ve(0x1,_0x4187e9(_0x397fc0)),ve(0x2,_0x4187e9(H)),ve(0x3,_0x4187e9(_0x4fcb94))],Pe);function xi(_0x496087){const _0x1390c5=_0x3fe07c,_0x2d7f4d=new Map();return _0x496087[_0x1390c5(0x197)](_0x233f0d=>{const _0x1f140b=_0x1390c5;if(_0x2d7f4d[_0x1f140b(0x22f)](_0x233f0d['selection'])){const _0x305d57=_0x2d7f4d[_0x1f140b(0x173)](_0x233f0d[_0x1f140b(0x11e)]);_0x305d57['name']+=',\x20'+_0x233f0d[_0x1f140b(0xeb)];}else _0x2d7f4d[_0x1f140b(0x1ef)](_0x233f0d[_0x1f140b(0x11e)],_0x233f0d);}),Array['from'](_0x2d7f4d[_0x1390c5(0x24e)]());}var v=function(){const _0x41da2b=_0x3fe07c;return v=Object['assign']||function(_0x5c5ea6){const _0x2284e6=_0x1112;for(var _0x4c5772,_0x21e914=0x1,_0x2a11bc=arguments[_0x2284e6(0x1d9)];_0x21e914<_0x2a11bc;_0x21e914++){_0x4c5772=arguments[_0x21e914];for(var _0x5d1131 in _0x4c5772)Object[_0x2284e6(0x262)][_0x2284e6(0xdc)][_0x2284e6(0x26e)](_0x4c5772,_0x5d1131)&&(_0x5c5ea6[_0x5d1131]=_0x4c5772[_0x5d1131]);}return _0x5c5ea6;},v[_0x41da2b(0x1b4)](this,arguments);},Bi=function(_0x5316e0,_0x178732){const _0x316b3f=_0x3fe07c;var _0x776834={};for(var _0x1336bf in _0x5316e0)Object[_0x316b3f(0x262)][_0x316b3f(0xdc)]['call'](_0x5316e0,_0x1336bf)&&_0x178732[_0x316b3f(0x2c9)](_0x1336bf)<0x0&&(_0x776834[_0x1336bf]=_0x5316e0[_0x1336bf]);if(_0x5316e0!=null&&typeof Object[_0x316b3f(0x26d)]==_0x316b3f(0x219)){for(var _0x17f943=0x0,_0x1336bf=Object[_0x316b3f(0x26d)](_0x5316e0);_0x17f943<_0x1336bf[_0x316b3f(0x1d9)];_0x17f943++)_0x178732[_0x316b3f(0x2c9)](_0x1336bf[_0x17f943])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x316b3f(0x26e)](_0x5316e0,_0x1336bf[_0x17f943])&&(_0x776834[_0x1336bf[_0x17f943]]=_0x5316e0[_0x1336bf[_0x17f943]]);}return _0x776834;},je=_0x4426ae(function(_0x1c6626,_0x5a1bd5){const _0x383637=_0x3fe07c;var _0x2d8154=_0x1c6626['icon'],_0x429ec2=_0x1c6626['id'],_0x150148=_0x1c6626[_0x383637(0xcd)],_0x29b586=_0x1c6626[_0x383637(0x1df)],_0x22c558=Bi(_0x1c6626,[_0x383637(0x1e6),'id',_0x383637(0xcd),_0x383637(0x1df)]),_0xa741d7=_0x383637(0x283)[_0x383637(0x252)](_0x429ec2,'\x20')[_0x383637(0x252)](_0x150148||'')['trim'](),_0x435209=_0x13e846('_'[_0x383637(0x252)](ji()));return Rt(_0x2d8154,''[_0x383637(0x252)](_0x429ec2),{'defIds':_0x2d8154[_0x383637(0x2bc)],'idSuffix':_0x435209[_0x383637(0x1be)]},v({'ref':_0x5a1bd5,'className':_0xa741d7},_0x22c558),_0x29b586);});function Rt(_0x2fa2a7,_0x20f2f,_0x264369,_0x2a87f2,_0x2bc68a){const _0x2b38db=_0x3fe07c;return _0x4aa7b7(_0x2fa2a7['tag'],v(v({'key':_0x20f2f},ki(_0x2fa2a7,_0x264369,_0x2bc68a)),_0x2a87f2),(Hi(_0x2fa2a7,_0x264369)['children']||[])[_0x2b38db(0x1b1)](function(_0xbd26a8,_0x32a26f){const _0x46f09c=_0x2b38db;return Rt(_0xbd26a8,''[_0x46f09c(0x252)](_0x20f2f,'-')['concat'](_0x2fa2a7['tag'],'-')[_0x46f09c(0x252)](_0x32a26f),_0x264369,void 0x0,_0x2bc68a);}));}function ki(_0x58dbb4,_0x3ba37c,_0x2dd2c3){const _0x481f1d=_0x3fe07c;var _0x3fc554=v({},_0x58dbb4[_0x481f1d(0xe2)]);_0x2dd2c3!=null&&_0x2dd2c3['colorChannel1']&&_0x3fc554['fill']==='colorChannel1'&&(_0x3fc554[_0x481f1d(0x2c4)]=_0x2dd2c3[_0x481f1d(0x111)]),_0x58dbb4['tag']===_0x481f1d(0x1c4)&&_0x3fc554['id']&&(_0x3fc554['id']=_0x3fc554['id']+_0x3ba37c[_0x481f1d(0x2ad)]),Object[_0x481f1d(0x137)](_0x3fc554)[_0x481f1d(0x197)](function(_0x905b34){const _0x1259bc=_0x481f1d;var _0x1e8cbd=_0x905b34[0x0],_0x11d635=_0x905b34[0x1];_0x1e8cbd===_0x1259bc(0x1c4)&&typeof _0x11d635=='string'&&(_0x3fc554[_0x1e8cbd]=_0x11d635[_0x1259bc(0x10a)](/url\(#(.*)\)/,_0x1259bc(0x1aa)[_0x1259bc(0x252)](_0x3ba37c[_0x1259bc(0x2ad)],')')));});var _0x253674=_0x3ba37c[_0x481f1d(0x2bc)];return!_0x253674||_0x253674['length']===0x0||(_0x58dbb4[_0x481f1d(0x1e3)]===_0x481f1d(0x221)&&_0x3fc554['xlink:href']&&(_0x3fc554[_0x481f1d(0xf4)]=_0x3fc554['xlink:href']+_0x3ba37c[_0x481f1d(0x2ad)]),Object['entries'](_0x3fc554)['forEach'](function(_0x376522){const _0x279cdd=_0x481f1d;var _0x25a86c=_0x376522[0x0],_0x17da46=_0x376522[0x1];typeof _0x17da46=='string'&&(_0x3fc554[_0x25a86c]=_0x17da46[_0x279cdd(0x10a)](/url\(#(.*)\)/,_0x279cdd(0x1aa)[_0x279cdd(0x252)](_0x3ba37c['idSuffix'],')')));})),_0x3fc554;}function Hi(_0x4166e8,_0xce3faf){const _0x57bea4=_0x3fe07c;var _0x24bcde,_0x147400=_0xce3faf[_0x57bea4(0x2bc)];return!_0x147400||_0x147400[_0x57bea4(0x1d9)]===0x0?_0x4166e8:_0x4166e8[_0x57bea4(0x1e3)]==='defs'&&(!((_0x24bcde=_0x4166e8[_0x57bea4(0x18b)])===null||_0x24bcde===void 0x0)&&_0x24bcde[_0x57bea4(0x1d9)])?v(v({},_0x4166e8),{'children':_0x4166e8[_0x57bea4(0x18b)][_0x57bea4(0x1b1)](function(_0x3b4f1e){const _0xeb51c3=_0x57bea4;return typeof _0x3b4f1e[_0xeb51c3(0xe2)]['id']==_0xeb51c3(0x270)&&_0x147400&&_0x147400[_0xeb51c3(0x1a7)](_0x3b4f1e[_0xeb51c3(0xe2)]['id'])?v(v({},_0x3b4f1e),{'attrs':v(v({},_0x3b4f1e[_0xeb51c3(0xe2)]),{'id':_0x3b4f1e['attrs']['id']+_0xce3faf['idSuffix']})}):_0x3b4f1e;})}):_0x4166e8;}function ji(){const _0x4a5fbd=_0x3fe07c;return Math[_0x4a5fbd(0x223)]()['toString'](0x24)['substring'](0x2,0x8);}je[_0x3fe07c(0xe0)]=_0x3fe07c(0x267);var Yi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':_0x3fe07c(0x12f),'fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x217),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fe07c(0x185)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':'currentColor','d':_0x3fe07c(0x112),'strokeLinecap':_0x3fe07c(0x24a),'strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':_0x3fe07c(0xc5),'attrs':{'id':_0x3fe07c(0x2a4)},'children':[{'tag':'path','attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x4426ae(function(_0x375dce,_0xe90392){const _0x4a005f=_0x3fe07c;return _0x4aa7b7(je,Object[_0x4a005f(0x151)]({},_0x375dce,{'id':_0x4a005f(0x1c9),'ref':_0xe90392,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x1d0),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':_0x3fe07c(0x17a),'d':_0x3fe07c(0x141),'strokeLinecap':'round','strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3fe07c(0x18d)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116),'transform':_0x3fe07c(0x16b)}}]}]}],'defIds':[_0x3fe07c(0x18d)]},Nt=_0x4426ae(function(_0x3c45de,_0x21841c){const _0x35eb8b=_0x3fe07c;return _0x4aa7b7(je,Object[_0x35eb8b(0x151)]({},_0x3c45de,{'id':'on-line-icon','ref':_0x21841c,'icon':Fi}));});Nt[_0x3fe07c(0xe0)]=_0x3fe07c(0x1de);function Wi(_0x5c5171){const _0x38197c=_0x3fe07c;switch(_0x5c5171){case _0x3c4f39[_0x38197c(0x1e5)]:return _0x38197c(0x2c0);case _0x3c4f39[_0x38197c(0x17c)]:return _0x38197c(0xd0);case _0x3c4f39['FETCH_MISS']:return _0x38197c(0x2c6);case _0x3c4f39[_0x38197c(0x29e)]:return _0x38197c(0x15d);case _0x3c4f39[_0x38197c(0x1d7)]:case _0x3c4f39['AWAITING_WITH_PENDING']:return _0x38197c(0x143);case _0x3c4f39[_0x38197c(0x19c)]:case _0x3c4f39['PENDING']:return _0x38197c(0x2c8);}}function Vi(_0x57e5a5){const _0x172f41=_0x3fe07c,{status$:_0x12d0c0}=_0x57e5a5,_0x500bc3=_0x1377bd(_0x12d0c0,_0x3c4f39['NOT_COLLAB']),_0x1c6f3c=_0x2c9ffa(_0x49d863),_0x86561f=_0x2c9ffa(_0x2d67be),_0x685d91=_0x500bc3!==_0x3c4f39[_0x172f41(0x1e5)],_0x18fe9f=_0x1c6f3c['t'](Wi(_0x500bc3)),_0x436356=_0x685d91?_0x3c46ca(Nt,{}):_0x3c46ca(Dt,{}),_0x500a49=_0x2c6a31(()=>{const _0x35f972=_0x172f41;_0x685d91||_0x86561f[_0x35f972(0x2a7)]();},[_0x685d91,_0x86561f]);function _0x243bf2(){const _0x363824=_0x172f41;return _0x16742e(_0x363824(0x256),{'className':_0x363824(0x275),'onClick':_0x500a49,'children':[_0x3c46ca(_0x363824(0x256),{'className':_0x1d7c06('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x685d91,'univer-text-red-500':!_0x685d91}),'children':_0x436356}),_0x3c46ca('div',{'className':_0x363824(0x25f),'children':_0x18fe9f})]});}return _0x685d91?_0x243bf2():_0x3c46ca(_0x432a00,{'title':_0x1c6f3c['t'](_0x172f41(0x15e)),'children':_0x243bf2()});}var Xi=Object[_0x3fe07c(0x128)],Gi=(_0x19d1f5,_0x48c818,_0x5e07b7,_0x21f8e2)=>{const _0x3f41ee=_0x3fe07c;for(var _0x45c5f9=_0x21f8e2>0x1?void 0x0:_0x21f8e2?Xi(_0x48c818,_0x5e07b7):_0x48c818,_0x4d59e1=_0x19d1f5[_0x3f41ee(0x1d9)]-0x1,_0x3a088f;_0x4d59e1>=0x0;_0x4d59e1--)(_0x3a088f=_0x19d1f5[_0x4d59e1])&&(_0x45c5f9=_0x3a088f(_0x45c5f9)||_0x45c5f9);return _0x45c5f9;},Q=(_0x1042da,_0x5a0c1b)=>(_0x4d85cb,_0x55c71b)=>_0x5a0c1b(_0x4d85cb,_0x55c71b,_0x1042da);let te=class extends _0x4ae93a{constructor(_0x4c7d01,_0x413bbc,_0xa42aa1,_0x43a3e4){const _0x20de64=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x20de64(0x29e)])),(this[_0x20de64(0x2a2)]=_0x4c7d01,this[_0x20de64(0x222)]=_0x413bbc,this[_0x20de64(0x240)]=_0xa42aa1,this[_0x20de64(0xfb)]=_0x43a3e4,this[_0x20de64(0x277)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5dc5de=_0x3fe07c;this[_0x5dc5de(0x1da)](this[_0x5dc5de(0x2a2)][_0x5dc5de(0x114)][_0x5dc5de(0x115)](_0x2f8353(()=>{const _0x2420dd=_0x5dc5de,_0x4a0f7f=this[_0x2420dd(0x2a2)][_0x2420dd(0xd8)]();return _0x4a0f7f?this['_collaborationController'][_0x2420dd(0x1fb)](_0x4a0f7f[_0x2420dd(0x139)]()):_0x5d21d1(null);}),_0x2f8353(_0x572c51=>_0x572c51?_0x572c51[_0x5dc5de(0x123)]:_0x5d21d1(_0x3c4f39[_0x5dc5de(0x29e)])))[_0x5dc5de(0x1c6)](_0x48d11d=>{const _0x2025d0=_0x5dc5de;this['_status$'][_0x2025d0(0x1d8)](_0x48d11d);}));}[_0x3fe07c(0x277)](){const _0x2e4394=_0x3fe07c;this['disposeWithMe'](this[_0x2e4394(0xfb)][_0x2e4394(0x22a)](_0x200683[_0x2e4394(0x212)],()=>_0x1f4772(Ki({'status$':this[_0x2e4394(0x29d)][_0x2e4394(0x292)]()}),this[_0x2e4394(0x222)])));}};te=Gi([Q(0x0,_0xbf54a8),Q(0x1,_0x4187e9(_0x1672f7)),Q(0x2,_0x4187e9(_0x3b8716)),Q(0x3,_0x404c66)],te);function Ki(_0x246050){const {status$:_0x5074ac}=_0x246050;return function(){return _0x3c46ca(Vi,{'status$':_0x5074ac});};}var zi=Object[_0x3fe07c(0x128)],Ji=(_0x53be0f,_0x53709c,_0x280e63,_0x23294d)=>{const _0x4b0a17=_0x3fe07c;for(var _0x2cead6=_0x23294d>0x1?void 0x0:_0x23294d?zi(_0x53709c,_0x280e63):_0x53709c,_0x280903=_0x53be0f[_0x4b0a17(0x1d9)]-0x1,_0x10e538;_0x280903>=0x0;_0x280903--)(_0x10e538=_0x53be0f[_0x280903])&&(_0x2cead6=_0x10e538(_0x2cead6)||_0x2cead6);return _0x2cead6;},B=(_0x4c20bf,_0x552dff)=>(_0x27dadc,_0xc9be10)=>_0x552dff(_0x27dadc,_0xc9be10,_0x4c20bf);let se=class extends _0x4ae93a{constructor(_0x485833,_0x1e1def,_0x46c8c3,_0x133e99,_0x7b15ae,_0x30b145){const _0x48e1da=_0x3fe07c;super(),this[_0x48e1da(0xd9)]=_0x485833,this[_0x48e1da(0x2b3)]=_0x1e1def,this[_0x48e1da(0x2cc)]=_0x46c8c3,this[_0x48e1da(0x1cc)]=_0x133e99,this['_notificationService']=_0x7b15ae,this['_localeService']=_0x30b145,this[_0x48e1da(0x258)](),this[_0x48e1da(0x239)]();}['_setupBeforeClosingHandler'](){const _0x43622a=_0x3fe07c;this[_0x43622a(0x1da)](this[_0x43622a(0xd9)][_0x43622a(0x24f)](()=>{const _0x4270bb=_0x43622a;if(this['_localCacheService'][_0x4270bb(0x1d1)][_0x4270bb(0x176)])return this[_0x4270bb(0x287)]['t'](_0x4270bb(0x29f));}));}['_initEvent'](){const _0x4ad991=_0x3fe07c;this[_0x4ad991(0x1da)](this[_0x4ad991(0x2cc)][_0x4ad991(0xe6)]['subscribe'](_0x48054a=>{const _0x4d0237=_0x4ad991;_0x48054a['id']===_0x52d3a7[_0x4d0237(0xcf)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0x280))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2b1)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2ab)]&&this[_0x4d0237(0x1dc)][_0x4d0237(0x271)]({'title':this['_localeService']['t'](_0x4d0237(0x2a9)),'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xca)),'type':_0x4d0237(0x105),'duration':0x0}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x17c)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('collaboration.closeRoom')+'('+_0x48054a['data']+')'}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1d4)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x48054a[_0x4d0237(0x127)]||'')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x273)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x4d0237(0x24d))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1c1)]&&this[_0x4d0237(0x1cc)]['show']({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xc2))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2c2)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5b7aef),B(0x1,_0x5d25ea),B(0x2,_0x4187e9(_0x57d180)),B(0x3,_0x4e146e),B(0x4,_0x1010a7),B(0x5,_0x4187e9(_0x49d863))],se);const Zi=_0x3fe07c(0x167),et={},Ut=_0x476322(_0x3fe07c(0x130));var Qi=Object[_0x3fe07c(0x128)],qi=(_0x1c79f6,_0x280179,_0x3595de,_0x1ac127)=>{const _0x1f1264=_0x3fe07c;for(var _0x30f021=_0x1ac127>0x1?void 0x0:_0x1ac127?Qi(_0x280179,_0x3595de):_0x280179,_0x30e43e=_0x1c79f6[_0x1f1264(0x1d9)]-0x1,_0x26837f;_0x30e43e>=0x0;_0x30e43e--)(_0x26837f=_0x1c79f6[_0x30e43e])&&(_0x30f021=_0x26837f(_0x30f021)||_0x30f021);return _0x30f021;},G=(_0x49e047,_0x5cad73)=>(_0x36918c,_0xd81e98)=>_0x5cad73(_0x36918c,_0xd81e98,_0x49e047);let ie=class extends _0x5b4113{constructor(_0x4d9bd4,_0x1e8bf7,_0x955595,_0x29a933,_0x3f5348){const _0x5cf36f=_0x3fe07c;super(),this[_0x5cf36f(0x246)]=_0x4d9bd4,this[_0x5cf36f(0x228)]=_0x1e8bf7,this[_0x5cf36f(0x13a)]=_0x955595,this[_0x5cf36f(0x1bb)]=_0x29a933,_0x3f5348?_0x3f5348==null||_0x3f5348['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x5cf36f(0x21c)]('[CollaborationDataLoaderController]',_0x5cf36f(0x135)),this[_0x5cf36f(0x220)]());}async[_0x3fe07c(0x220)](){const _0x1e7695=_0x3fe07c,_0x3f21f4=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0xd7)),_0x2e7592=this[_0x1e7695(0x246)]['getParam'](_0x1e7695(0x106)),_0x200c26=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0x1ce));if(!_0x3f21f4||!_0x2e7592){this['_logService'][_0x1e7695(0x21c)](_0x1e7695(0x166),_0x1e7695(0xcb));return;}const _0x614751=await this[_0x1e7695(0x1bb)][_0x1e7695(0x293)](_0x3f21f4,Number(_0x2e7592),_0x200c26);_0x614751&&_0x614751 instanceof _0x1d344a&&this[_0x1e7695(0x165)](_0x614751);}async[_0x3fe07c(0x165)](_0x59b435){const _0x4ea2d3=_0x3fe07c;await this[_0x4ea2d3(0x2a0)](_0x59b435),_0x59b435[_0x4ea2d3(0xd1)][_0x4ea2d3(0x115)](_0x30fec2(this[_0x4ea2d3(0xee)]))[_0x4ea2d3(0x1c6)](_0x39da38=>{const _0x9f15af=_0x4ea2d3;_0x39da38&&this[_0x9f15af(0x1f9)](_0x39da38);}),this[_0x4ea2d3(0x246)][_0x4ea2d3(0x263)][_0x4ea2d3(0x115)](_0x30fec2(this['dispose$']))[_0x4ea2d3(0x1c6)](()=>this[_0x4ea2d3(0x2a0)](_0x59b435));}[_0x3fe07c(0x1f9)](_0x19afd2,_0x4d7bc5=!0x1){const _0x3271b9=_0x3fe07c,_0x5140fc=this[_0x3271b9(0x246)][_0x3271b9(0x1d3)](_0x3271b9(0x1ce));_0x19afd2[_0x3271b9(0x122)]()!==_0x5140fc&&this[_0x3271b9(0x246)]['setParam']('subunit',_0x19afd2['getSheetId'](),_0x4d7bc5);}async[_0x3fe07c(0x2a0)](_0x2262f9){const _0x2f9f62=_0x3fe07c;var _0x48a79f;const _0x4b39fd=this[_0x2f9f62(0x246)][_0x2f9f62(0x1d3)](_0x2f9f62(0x1ce));if(!_0x4b39fd||!_0x2262f9[_0x2f9f62(0x12b)](_0x4b39fd)){const _0x337f31=_0x2262f9[_0x2f9f62(0x163)]()[0x0],_0x137d72=_0x2262f9[_0x2f9f62(0x12b)](_0x337f31);if(!_0x137d72)return;this[_0x2f9f62(0x1f9)](_0x137d72,!0x0),await this[_0x2f9f62(0x13a)][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9['getUnitId'](),'subUnitId':_0x337f31});return;}((_0x48a79f=_0x2262f9[_0x2f9f62(0x24b)]())==null?void 0x0:_0x48a79f[_0x2f9f62(0x122)]())!==_0x4b39fd&&await this['_commandService'][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9[_0x2f9f62(0x139)](),'subUnitId':_0x4b39fd});}};ie=qi([G(0x0,Ut),G(0x1,_0x569bac),G(0x2,_0x2e3d71),G(0x3,_0x4187e9(_0x15d2c4)),G(0x4,_0x3f8427(_0xb37379))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x25a84c,_0x237365,_0x3ac2da,_0x51e6f4)=>{for(var _0x50929d=_0x51e6f4>0x1?void 0x0:_0x51e6f4?en(_0x237365,_0x3ac2da):_0x237365,_0x139864=_0x25a84c['length']-0x1,_0x24c08f;_0x139864>=0x0;_0x139864--)(_0x24c08f=_0x25a84c[_0x139864])&&(_0x50929d=_0x24c08f(_0x50929d)||_0x50929d);return _0x50929d;},pe=(_0x13aaa6,_0x12ebb4)=>(_0xcc456e,_0x25e5dd)=>_0x12ebb4(_0xcc456e,_0x25e5dd,_0x13aaa6);let ne=class{constructor(_0x8e5af3,_0x4d8d53,_0x1a2f24){const _0x3ec053=_0x3fe07c;this[_0x3ec053(0x222)]=_0x8e5af3,this[_0x3ec053(0x1f8)]=_0x4d8d53,this[_0x3ec053(0x2af)]=_0x1a2f24;}['transformIMECache'](_0x1ea5ee){this['_transformUndoRedoStack'](_0x1ea5ee),this['_transformPreviousActiveRange'](_0x1ea5ee);}[_0x3fe07c(0x16a)](_0x150564){const _0x4f5b3c=_0x3fe07c,{unitID:_0x2a9821}=_0x150564,_0x365436=this[_0x4f5b3c(0x2af)][_0x4f5b3c(0x138)](_0x2a9821)[_0x4f5b3c(0x19d)](_0x4adf26),{redoCache:_0x1f31cc}=_0x365436[_0x4f5b3c(0x1bf)]();if(_0x1f31cc[_0x4f5b3c(0x1d9)]===0x0)return _0x150564;let _0x5533ef=_0x2e8d92['deepClone'](_0x150564['mutations'][0x0]);for(let _0x3fabe4=0x0;_0x3fabe4<_0x1f31cc['length'];_0x3fabe4++){const _0x233fc4={'id':_0x4f5b3c(0x1b7),'params':{..._0x1f31cc[_0x3fabe4]}},_0x4165b6=this[_0x4f5b3c(0x1f8)][_0x4f5b3c(0x244)](_0x5533ef,_0x233fc4,!0x1);if(_0x373c55(_0x4165b6))throw _0x4165b6[_0x4f5b3c(0x105)];_0x5533ef=_0x4165b6[_0x4f5b3c(0x140)];}return{..._0x2e8d92[_0x4f5b3c(0x28e)](_0x150564),'mutations':[_0x5533ef]};}[_0x3fe07c(0x2ac)](_0x3cb759){const _0x5ec7db=_0x3fe07c,{unitID:_0x332ca5}=_0x3cb759,_0x4c0705=this[_0x5ec7db(0x2af)][_0x5ec7db(0x138)](_0x332ca5)[_0x5ec7db(0x19d)](_0x4adf26),{undoCache:_0x433882,redoCache:_0x481625}=_0x4c0705[_0x5ec7db(0x1bf)]();if(_0x433882[_0x5ec7db(0x1d9)]===0x0||_0x481625[_0x5ec7db(0x1d9)]===0x0)return;const _0x1a4c0b=[],_0x1fb4ad=[];let _0xc18d36=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759[_0x5ec7db(0xce)][0x0]),_0x34b79e=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759['mutations'][0x0]);for(let _0x491fd8=_0x433882[_0x5ec7db(0x1d9)]-0x1;_0x491fd8>=0x0;_0x491fd8--){const _0x455d5d={'id':'doc.mutation.rich-text-editing','params':{..._0x433882[_0x491fd8]}},_0x396b0d={'id':_0x5ec7db(0x1b7),'params':{..._0x481625[_0x491fd8]}},_0x40e183=this[_0x5ec7db(0x1f8)]['transformMutation'](_0xc18d36,_0x455d5d,!0x1),_0x3d34dd=this[_0x5ec7db(0x1f8)][_0x5ec7db(0x244)](_0x34b79e,_0x396b0d,!0x1);if(_0x373c55(_0x40e183))throw _0x40e183['error'];if(_0x373c55(_0x3d34dd))throw _0x3d34dd[_0x5ec7db(0x105)];_0x1a4c0b[_0x5ec7db(0x1ac)](_0x40e183[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0x1fb4ad[_0x5ec7db(0x1ac)](_0x3d34dd[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0xc18d36=_0x40e183[_0x5ec7db(0x140)],_0x34b79e=_0x3d34dd[_0x5ec7db(0x140)];}_0x4c0705[_0x5ec7db(0x286)]({'undoCache':_0x1a4c0b,'redoCache':_0x1fb4ad});}[_0x3fe07c(0x160)](_0x5a14a1){const _0x52611f=_0x3fe07c,{unitID:_0x4352bc}=_0x5a14a1,_0x16d625=this[_0x52611f(0x2af)][_0x52611f(0x138)](_0x4352bc)[_0x52611f(0x19d)](_0x4adf26),_0x209e1d=_0x16d625[_0x52611f(0x2ca)]();if(_0x209e1d==null)return;const _0x1ad610=[{'id':_0x52611f(0x1b7),'params':{'unitId':_0x5a14a1[_0x52611f(0xe7)],'actions':null,'textRanges':[_0x209e1d]}}],_0x57915a=this[_0x52611f(0x1f8)]['transformMutationsWithChangeset'](_0x5a14a1,_0x1ad610);if(!_0x4f3a6b(_0x57915a))throw _0x57915a[_0x52611f(0x105)];const _0x10a3e3=_0x57915a[_0x52611f(0xc4)][0x0]['params'][_0x52611f(0x1ed)];Array[_0x52611f(0x147)](_0x10a3e3)&&_0x10a3e3['length']&&_0x16d625[_0x52611f(0x157)](_0x10a3e3[0x0]);}};ne=tn([pe(0x0,_0x4187e9(_0x1672f7)),pe(0x1,_0x564f5c),pe(0x2,_0x3ecb9c)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4dae0b,_0x28f9a7,_0x476688,_0x528fb0)=>{for(var _0x3c4636=_0x528fb0>0x1?void 0x0:_0x528fb0?sn(_0x28f9a7,_0x476688):_0x28f9a7,_0xddcc9f=_0x4dae0b['length']-0x1,_0x571376;_0xddcc9f>=0x0;_0xddcc9f--)(_0x571376=_0x4dae0b[_0xddcc9f])&&(_0x3c4636=_0x571376(_0x3c4636)||_0x3c4636);return _0x3c4636;},Ce=(_0x3fa887,_0x368e90)=>(_0x2f9b65,_0x12b6c9)=>_0x368e90(_0x2f9b65,_0x12b6c9,_0x3fa887);let re=class{constructor(_0x2cd804,_0x4f5ebd,_0x4c0c56){const _0x111e3d=_0x3fe07c;this['_injector']=_0x2cd804,this['_transformService']=_0x4f5ebd,this[_0x111e3d(0x226)]=_0x4c0c56;}[_0x3fe07c(0x132)](_0x35a926){const _0x59c163=_0x3fe07c;this[_0x59c163(0x23b)](_0x35a926);}[_0x3fe07c(0x16a)](_0xc5cf37){const _0x14a655=_0x3fe07c,{unitID:_0x1d9762}=_0xc5cf37,{collaboration:_0x21a2a1}=this[_0x14a655(0x226)][_0x14a655(0x190)](_0x1d9762);if(_0x21a2a1[_0x14a655(0x1d9)]===0x0)return _0xc5cf37;let _0x17bfa9=_0x2e8d92['deepClone'](_0xc5cf37[_0x14a655(0xce)][0x0]);for(let _0x2e1cee=0x0;_0x2e1cee<_0x21a2a1['length'];_0x2e1cee++){const _0x418d59={'id':_0x14a655(0x1b7),'params':{'unitId':_0x21a2a1[_0x2e1cee]['unitId'],..._0x21a2a1[_0x2e1cee][_0x14a655(0x1d6)]}},_0x4b6c8d=this[_0x14a655(0x1f8)][_0x14a655(0x244)](_0x17bfa9,_0x418d59,!0x1);if(_0x373c55(_0x4b6c8d))throw _0x4b6c8d[_0x14a655(0x105)];_0x17bfa9=_0x4b6c8d[_0x14a655(0x140)];}return{..._0x2e8d92['deepClone'](_0xc5cf37),'mutations':[_0x17bfa9]};}['_transformHistoryAndStateStack'](_0x22a282){const _0x86c0f3=_0x3fe07c,{unitID:_0x41a132}=_0x22a282,{history:_0x1dff5d,collaboration:_0x56c777}=this[_0x86c0f3(0x226)]['getStateCache'](_0x41a132);if(_0x1dff5d[_0x86c0f3(0x1d9)]===0x0&&_0x56c777[_0x86c0f3(0x1d9)]===0x0)return;const _0x35e2c1=[],_0x2bf752=[];let _0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x27e7eb=_0x1dff5d[_0x86c0f3(0x1d9)]-0x1;_0x27e7eb>=0x0;_0x27e7eb--){const _0x46b5aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x21b)]}},_0x1fd92c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x1d6)]}},_0x3e4f8c=this['_transformService'][_0x86c0f3(0x244)](_0xcf2dac,_0x46b5aa,!0x1),_0x3d6b0d=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x1fd92c,!0x1);if(_0x373c55(_0x3e4f8c))throw _0x3e4f8c[_0x86c0f3(0x105)];if(_0x373c55(_0x3d6b0d))throw _0x3d6b0d[_0x86c0f3(0x105)];_0x35e2c1['unshift']({..._0x1dff5d[_0x27e7eb],'undoState':_0x3e4f8c[_0x86c0f3(0xc4)][_0x86c0f3(0x218)],'redoState':_0x3d6b0d[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x3e4f8c[_0x86c0f3(0x140)],_0x37e4d4=_0x3d6b0d['m1Prime'];}_0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x23db85=_0x56c777['length']-0x1;_0x23db85>=0x0;_0x23db85--){const _0x2ea43a={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85][_0x86c0f3(0x10e)],..._0x56c777[_0x23db85]['undoState']}},_0x41fad1={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85]['unitId'],..._0x56c777[_0x23db85][_0x86c0f3(0x1d6)]}},_0x2eb89e=this[_0x86c0f3(0x1f8)][_0x86c0f3(0x244)](_0xcf2dac,_0x2ea43a,!0x1),_0x2dec06=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x41fad1,!0x1);if(_0x373c55(_0x2eb89e))throw _0x2eb89e[_0x86c0f3(0x105)];if(_0x373c55(_0x2dec06))throw _0x2dec06[_0x86c0f3(0x105)];_0x2bf752[_0x86c0f3(0x1ac)]({..._0x56c777[_0x23db85],'undoState':_0x2eb89e['m2Prime']['params'],'redoState':_0x2dec06[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x2eb89e[_0x86c0f3(0x140)],_0x37e4d4=_0x2dec06[_0x86c0f3(0x140)];}this['_docStateChangeManagerService']['setStateCache'](_0x41a132,{'history':_0x35e2c1,'collaboration':_0x2bf752});}};re=nn([Ce(0x0,_0x4187e9(_0x1672f7)),Ce(0x1,_0x564f5c),Ce(0x2,_0x4187e9(_0x1389a5))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x296533,_0x56e2a,_0x188d80,_0x42f26c)=>{const _0x28a938=_0x3fe07c;for(var _0x2e6be6=_0x42f26c>0x1?void 0x0:_0x42f26c?rn(_0x56e2a,_0x188d80):_0x56e2a,_0x38c915=_0x296533[_0x28a938(0x1d9)]-0x1,_0x156448;_0x38c915>=0x0;_0x38c915--)(_0x156448=_0x296533[_0x38c915])&&(_0x2e6be6=_0x156448(_0x2e6be6)||_0x2e6be6);return _0x2e6be6;},tt=(_0x5b65cc,_0x525b07)=>(_0xdf8417,_0xd45b89)=>_0x525b07(_0xdf8417,_0xd45b89,_0x5b65cc);let oe=class{constructor(_0x215151,_0xa41d94){const _0x2034d1=_0x3fe07c;this[_0x2034d1(0x222)]=_0x215151,this['_transformService']=_0xa41d94;}[_0x3fe07c(0xf2)](_0x2cba9f){const _0x2b2ddc=_0x3fe07c;var _0x2e857a;const _0x3e8330=this[_0x2b2ddc(0x222)]['get'](_0x16b225),_0x4613b8=(_0x2e857a=_0x3e8330['getDocRanges']())!=null?_0x2e857a:[];if(_0x4613b8[_0x2b2ddc(0x1d9)]===0x0)return;const _0x4d60cf=_0x2cba9f[_0x2b2ddc(0xe7)],_0x812cb3=[{'id':_0x2b2ddc(0x1b7),'params':{'unitId':_0x4d60cf,'actions':null,'textRanges':_0x4613b8}}],_0xa4276a=this[_0x2b2ddc(0x1f8)]['transformMutationsWithChangeset'](_0x2cba9f,_0x812cb3);if(!_0x4f3a6b(_0xa4276a))throw _0xa4276a[_0x2b2ddc(0x105)];const _0x753cb6=_0xa4276a[_0x2b2ddc(0xc4)][0x0][_0x2b2ddc(0x218)]['textRanges'];Array[_0x2b2ddc(0x147)](_0x753cb6)&&_0x753cb6[_0x2b2ddc(0x1d9)]&&_0x3e8330[_0x2b2ddc(0x1b5)](_0x753cb6,{'unitId':_0x4d60cf,'subUnitId':_0x4d60cf},!0x1);}};oe=on([tt(0x0,_0x4187e9(_0x1672f7)),tt(0x1,_0x564f5c)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x347805,_0x52607f,_0x3db584,_0xb1a385)=>{const _0x9e804b=_0x3fe07c;for(var _0x57560f=_0xb1a385>0x1?void 0x0:_0xb1a385?an(_0x52607f,_0x3db584):_0x52607f,_0x145249=_0x347805[_0x9e804b(0x1d9)]-0x1,_0x58daa4;_0x145249>=0x0;_0x145249--)(_0x58daa4=_0x347805[_0x145249])&&(_0x57560f=_0x58daa4(_0x57560f)||_0x57560f);return _0x57560f;},U=(_0x194baf,_0x41e7ab)=>(_0x43e374,_0x2f485b)=>_0x41e7ab(_0x43e374,_0x2f485b,_0x194baf);let ae=class extends _0x4ae93a{constructor(_0x3ea1e3,_0x5906c9,_0x4abd07,_0x470969,_0x1c8dad,_0x132284,_0x5569eb,_0x4c7178){const _0x4608fd=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x4608fd(0x29e)])),(this[_0x4608fd(0x226)]=_0x3ea1e3,this[_0x4608fd(0x240)]=_0x5906c9,this[_0x4608fd(0x103)]=_0x4abd07,this[_0x4608fd(0x250)]=_0x470969,this['_docTransformSelectionsService']=_0x1c8dad,this[_0x4608fd(0x17f)]=_0x132284,this['_messageService']=_0x5569eb,this[_0x4608fd(0x287)]=_0x4c7178,this[_0x4608fd(0x1e0)]());}['_initEntityListener'](){const _0x2141a9=_0x3fe07c;this[_0x2141a9(0x1da)](this[_0x2141a9(0x240)][_0x2141a9(0xdb)]['subscribe'](_0x31e62f=>{const _0x3fd4f9=_0x2141a9,_0x18db30=this[_0x3fd4f9(0x226)][_0x3fd4f9(0x1a2)][_0x3fd4f9(0x1c6)](_0x1cc0e8=>{const _0x28b266=_0x3fd4f9;if(_0x1cc0e8==null)return;const {unitId:_0x28143e,redoState:_0x463b61,commandId:_0xebb0c2}=_0x1cc0e8;if(_0x28143e!==_0x31e62f['unitID'])return;const _0x3abc79={'id':_0xebb0c2,'type':_0x4d6697[_0x28b266(0x249)],'params':{'unitId':_0x28143e,'actions':_0x463b61[_0x28b266(0x12d)],'textRanges':null}};_0x31e62f[_0x28b266(0x19a)](_0x3abc79);});if(_0x31e62f[_0x3fd4f9(0x1da)](_0x18db30),_0x31e62f instanceof _0x2b94de){const _0x18ea49={'onTransformIME':_0x1fd554=>this[_0x3fd4f9(0x103)][_0x3fd4f9(0xec)](_0x1fd554),'onTransformState':_0x23f013=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x132)](_0x23f013),'onTransformSelections':_0x51d95d=>this[_0x3fd4f9(0x18c)][_0x3fd4f9(0xf2)](_0x51d95d),'onSyncEditingCollabCursor':_0x4f1698=>this['_docSyncEditingCollabCursorService'][_0x3fd4f9(0x2be)](_0x4f1698),'onTransformRemoteChangesetByIMECache':_0x3326bf=>this[_0x3fd4f9(0x103)]['transformRemoteChangeset'](_0x3326bf),'onTransformRemoteChangesetByStateCache':_0x1a137d=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x16a)](_0x1a137d)};_0x31e62f[_0x3fd4f9(0x265)](_0x18ea49);}}));}};ae=cn([U(0x0,_0x4187e9(_0x1389a5)),U(0x1,_0x4187e9(_0x3b8716)),U(0x2,_0x4187e9(ne)),U(0x3,_0x4187e9(re)),U(0x4,_0x4187e9(oe)),U(0x5,_0x4187e9(He)),U(0x6,_0x4e146e),U(0x7,_0x4187e9(_0x49d863))],ae);var ln=Object[_0x3fe07c(0x128)],_n=(_0x2e445e,_0x4dce11,_0x230956,_0x33b631)=>{for(var _0x59df7e=_0x33b631>0x1?void 0x0:_0x33b631?ln(_0x4dce11,_0x230956):_0x4dce11,_0x358943=_0x2e445e['length']-0x1,_0x33351c;_0x358943>=0x0;_0x358943--)(_0x33351c=_0x2e445e[_0x358943])&&(_0x59df7e=_0x33351c(_0x59df7e)||_0x59df7e);return _0x59df7e;},Ee=(_0x12327e,_0x2221ac)=>(_0x6ebbab,_0x523e31)=>_0x2221ac(_0x6ebbab,_0x523e31,_0x12327e);let Le=class extends _0x4ae93a{constructor(_0x27f222,_0xef619,_0x5e83a3){const _0x335540=_0x3fe07c;super(),_(this,_0x335540(0x269),new Map()),_(this,_0x335540(0xd6),new Map()),_(this,_0x335540(0x278),!0x1),(this['_configService']=_0x27f222,this[_0x335540(0x2b5)]=_0xef619,this[_0x335540(0x146)]=_0x5e83a3);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3fe07c(0x1b9)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x35f4=_0x3fe07c;return this[_0x35f4(0xd6)];}['dispose'](){const _0x506816=_0x3fe07c;this['exhaustSavingTask']()[_0x506816(0x17d)](()=>super['dispose']());}async['loadOfflineData'](_0x3f0fa0){const _0x54b04c=_0x3fe07c;return this[_0x54b04c(0x278)]?null:this['_localStorageService'][_0x54b04c(0x1c5)](_0x2ead2f(_0x3f0fa0));}async[_0x3fe07c(0x23c)](_0x30df5c,_0x1a6874){const _0x6a7521=_0x3fe07c;return!!this[_0x6a7521(0x2b5)][_0x6a7521(0x14c)](_0x30df5c,_0x1a6874);}[_0x3fe07c(0x1eb)](_0x1aefdd,_0x1149b0,_0x2c669a,_0xa59291){const _0x631efd=_0x3fe07c,_0x44bbe8=this[_0x631efd(0x146)][_0x631efd(0x1ec)](_0x1aefdd);this[_0x631efd(0x269)][_0x631efd(0x1ef)](_0x1aefdd,{'unitID':_0x1aefdd,'type':_0x1149b0,'awaitingChangeset':_0x2c669a,'mutations':_0xa59291,'rev':_0x44bbe8}),this[_0x631efd(0xd6)][_0x631efd(0x22f)](_0x1aefdd)||this[_0x631efd(0x264)](_0x1aefdd);}['_scheduleSaving'](_0x37b806){const _0x44a2e4=_0x3fe07c,_0x5e5b89=this[_0x44a2e4(0x162)]();_0x5e5b89===0x0?this['_saveCache'](_0x37b806):this[_0x44a2e4(0xd6)][_0x44a2e4(0x1ef)](_0x37b806,setTimeout(()=>this[_0x44a2e4(0x1ee)](_0x37b806),_0x5e5b89));}[_0x3fe07c(0x162)](){const _0x1347e8=_0x3fe07c;var _0x479458;return(_0x479458=this[_0x1347e8(0x26c)][_0x1347e8(0x1e1)](_0x170981))!=null?_0x479458:_0x2c135c;}[_0x3fe07c(0x1ee)](_0x22b900){const _0x21d006=_0x3fe07c,_0x4413e0=this[_0x21d006(0xd6)]['get'](_0x22b900);return _0x4413e0!==void 0x0&&window[_0x21d006(0x2b0)](_0x4413e0),this[_0x21d006(0x2b5)][_0x21d006(0x14c)](_0x2ead2f(_0x22b900),this[_0x21d006(0x269)][_0x21d006(0x173)](_0x22b900))[_0x21d006(0x17d)](()=>this[_0x21d006(0xd6)]['delete'](_0x22b900));}async[_0x3fe07c(0x1f6)](){const _0x54da80=_0x3fe07c,_0x3e0c9c=[];this[_0x54da80(0xd6)]['forEach']((_0x5e9c01,_0x2e8e71)=>{const _0x589967=_0x54da80;window['clearTimeout'](_0x5e9c01),_0x3e0c9c[_0x589967(0x2b4)](this[_0x589967(0x1ee)](_0x2e8e71)[_0x589967(0x17d)](()=>{this['_saveTaskMap']['delete'](_0x2e8e71);}));}),await Promise[_0x54da80(0x1d2)](_0x3e0c9c);}};Le=_n([Ee(0x0,_0x3c0c1f),Ee(0x1,_0x5b506c),Ee(0x2,_0x4187e9(_0x305c24))],Le);class hn extends _0x5b4113{constructor(){const _0x190fa4=_0x3fe07c;super(),_(this,'urlChange$'),this[_0x190fa4(0x263)]=_0x3cb40a(window,_0x190fa4(0x2ba))[_0x190fa4(0x115)](_0x30fec2(this['dispose$']),_0x56f6da(0x1),_0x3deec(void 0x0));}[_0x3fe07c(0xf6)](_0x1a3c1f,_0x1f2190,_0x12bb35=!0x1){const _0x5030db=_0x3fe07c,_0x2b71be=new URL(window['location']['href']);_0x2b71be[_0x5030db(0x27c)]['set'](_0x1a3c1f,_0x1f2190),_0x12bb35?window['history'][_0x5030db(0xed)]('','',_0x2b71be[_0x5030db(0x113)]()):window[_0x5030db(0x101)]['pushState']('','',_0x2b71be[_0x5030db(0x113)]());}[_0x3fe07c(0x1d5)](_0x3c29f9,_0x5f32ed=!0x1){const _0x226645=_0x3fe07c,_0x3337d5=new URL(window[_0x226645(0x1a9)]['href']);_0x3337d5[_0x226645(0x27c)][_0x226645(0x2b8)](_0x3c29f9),_0x5f32ed?window[_0x226645(0x101)]['replaceState']('','',_0x3337d5[_0x226645(0x113)]()):window[_0x226645(0x101)][_0x226645(0x2c7)]('','',_0x3337d5[_0x226645(0x113)]());}[_0x3fe07c(0x1d3)](_0x4c3ba9){const _0x25ace8=_0x3fe07c;var _0x2ad81f;return(_0x2ad81f=new URL(window[_0x25ace8(0x1a9)]['href'])[_0x25ace8(0x27c)][_0x25ace8(0x173)](_0x4c3ba9))!=null?_0x2ad81f:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x3fe07c(0x128)],fn=(_0x34102a,_0x132439,_0x9163ce)=>_0x132439 in _0x34102a?un(_0x34102a,_0x132439,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9163ce}):_0x34102a[_0x132439]=_0x9163ce,Sn=(_0x2a2d56,_0x1a6856,_0x4e3b5e,_0x3dcf0a)=>{for(var _0x3eaf18=_0x3dcf0a>0x1?void 0x0:_0x3dcf0a?dn(_0x1a6856,_0x4e3b5e):_0x1a6856,_0x556106=_0x2a2d56['length']-0x1,_0x3f6b54;_0x556106>=0x0;_0x556106--)(_0x3f6b54=_0x2a2d56[_0x556106])&&(_0x3eaf18=_0x3f6b54(_0x3eaf18)||_0x3eaf18);return _0x3eaf18;},Oe=(_0x5dcf5b,_0x5ba4c3)=>(_0xe7bebc,_0xb7bf81)=>_0x5ba4c3(_0xe7bebc,_0xb7bf81,_0x5dcf5b),mn=(_0x7771a2,_0x3f9a9b,_0x2223eb)=>fn(_0x7771a2,_0x3f9a9b+'',_0x2223eb);const In=_0x3fe07c(0x145);function _0x1112(_0x1ba75c,_0x55907c){const _0x252b5a=_0x252b();return _0x1112=function(_0x1112b0,_0x4e2473){_0x1112b0=_0x1112b0-0xc2;let _0x513fe6=_0x252b5a[_0x1112b0];return _0x513fe6;},_0x1112(_0x1ba75c,_0x55907c);}let Ae=class extends _0xf91a5e{constructor(_0x2491d8=et,_0x4a58f9,_0x542bf9,_0x3dd401){const _0x177109=_0x3fe07c;super(),this['_config']=_0x2491d8,this[_0x177109(0x2af)]=_0x4a58f9,this[_0x177109(0x222)]=_0x542bf9,this[_0x177109(0x26c)]=_0x3dd401;const {..._0x40b780}=_0x569c1f({},et,this['_config']);this[_0x177109(0x26c)][_0x177109(0xde)](Zi,_0x40b780);}[_0x3fe07c(0xef)](){const _0x2bd7ca=_0x3fe07c;this[_0x2bd7ca(0xc9)](),this[_0x2bd7ca(0x28a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x26dd52=_0x3fe07c;var _0xc39c04;const _0x3ac327=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xa47742,{'useClass':_0x5d5f78}],[_0x5d25ea,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1814ea(this['_injector'],_0x163cd9(_0x3ac327,(_0xc39c04=this[_0x26dd52(0xf3)])==null?void 0x0:_0xc39c04[_0x26dd52(0x14d)]));}[_0x3fe07c(0x22e)](){const _0x33ac8b=_0x3fe07c;this['disposeWithMe'](this[_0x33ac8b(0x2af)][_0x33ac8b(0x279)](_0x3b6e52[_0x33ac8b(0x104)],[we])),this['disposeWithMe'](this[_0x33ac8b(0x2af)]['registerRenderModule'](_0x3b6e52[_0x33ac8b(0x236)],[Pe]));}[_0x3fe07c(0x28a)](){_0x1a976f(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3fe07c(0x12a),In),Ae=Sn([_0x5864a5(_0x511650),Oe(0x1,_0x3ecb9c),Oe(0x2,_0x4187e9(_0x1672f7)),Oe(0x3,_0x3c0c1f)],Ae);var gn=Object[_0x3fe07c(0x128)],vn=(_0x555290,_0x3be888,_0x380141,_0x11eb05)=>{const _0x5f41ca=_0x3fe07c;for(var _0x29022b=_0x11eb05>0x1?void 0x0:_0x11eb05?gn(_0x3be888,_0x380141):_0x3be888,_0x5777ef=_0x555290[_0x5f41ca(0x1d9)]-0x1,_0x2bf101;_0x5777ef>=0x0;_0x5777ef--)(_0x2bf101=_0x555290[_0x5777ef])&&(_0x29022b=_0x2bf101(_0x29022b)||_0x29022b);return _0x29022b;},K=(_0x1e4ee4,_0x2d6a0f)=>(_0x3fc0f7,_0x132a37)=>_0x2d6a0f(_0x3fc0f7,_0x132a37,_0x1e4ee4);let st=class extends _0x49c644{constructor(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b){super(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b);}async[_0x3fe07c(0x296)](_0x129ce9){const _0x7dcaee=_0x3fe07c,_0x675454=await this[_0x7dcaee(0x17b)](),_0x31c431=this['_createSocketURL'](_0x129ce9,_0x675454);return this['_doCreateSocket'](_0x31c431);}['_createSocketURL'](_0x169be4,_0x502c67){const _0x2fc4e8=_0x3fe07c,_0x1f4426=typeof window>'u'?new URL(_0x169be4):new URL(_0x169be4,window[_0x2fc4e8(0x1a9)][_0x2fc4e8(0x184)]);_0x1f4426[_0x2fc4e8(0x27c)][_0x2fc4e8(0x1ef)](_0x2fc4e8(0xd4),_0x502c67);const _0x7eb5c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fc4e8(0x18a)]);return _0x7eb5c9[_0x2fc4e8(0x173)](_0x2fc4e8(0x2c1))&&_0x1f4426['searchParams'][_0x2fc4e8(0x1ef)](_0x2fc4e8(0x2c1),_0x7eb5c9['get'](_0x2fc4e8(0x2c1))),_0x1f4426['toString']();}async[_0x3fe07c(0x17b)](){const _0x5f568e=_0x3fe07c;var _0x4b7dbf,_0x41c80a,_0x2af43d;const _0x216b8e=this['_configService'][_0x5f568e(0x1e1)](_0x1bfd1c),_0x17c513=(_0x4b7dbf=_0x216b8e==null?void 0x0:_0x216b8e[_0x5f568e(0xc6)])!=null?_0x4b7dbf:_0x48bb34;return(_0x2af43d=(_0x41c80a=(await this[_0x5f568e(0x102)][_0x5f568e(0x173)](_0x17c513,{'headers':{'Content-Type':_0x5f568e(0x1f2)}}))[_0x5f568e(0x150)])==null?void 0x0:_0x41c80a[_0x5f568e(0x21f)])!=null?_0x2af43d:'';}};st=vn([K(0x0,_0x4187e9(_0x1672f7)),K(0x1,_0x4187e9(_0x158b8c)),K(0x2,_0x3c0c1f),K(0x3,_0x569bac),K(0x4,_0x2c1c94)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x4ae93a{constructor(){const _0x2804aa=_0x3fe07c;super(),_(this,'_id',_0x107dc5()),_(this,_0x2804aa(0x25c),new Set()),_(this,_0x2804aa(0x10b),new Map()),_(this,_0x2804aa(0x15a),null),_(this,_0x2804aa(0x1e4),new Map()),_(this,_0x2804aa(0x148),new Map()),this['_init']();}[_0x3fe07c(0xf7)](){const _0x596f83=_0x3fe07c;super[_0x596f83(0xf7)](),this[_0x596f83(0x1e4)][_0x596f83(0x197)]((_0x26aadb,_0x4bef5e)=>this[_0x596f83(0x2cd)](_0x4bef5e)),this[_0x596f83(0x15a)]&&window['clearInterval'](this[_0x596f83(0x15a)]);}[_0x3fe07c(0x19b)](_0x3bde8d){const _0x605112=_0x3fe07c;return this[_0x605112(0x193)](_0x3bde8d)[_0x605112(0x115)](_0xc82f4f());}[_0x3fe07c(0x13d)](_0x312636){const _0x33502e=_0x3fe07c;this[_0x33502e(0x25c)][_0x33502e(0x176)]===0x0&&this['_scheduleHeartbeat'](),this[_0x33502e(0x25c)][_0x33502e(0x1f4)](_0x312636),this['_send']({'type':0x0,'memberID':this[_0x33502e(0x19e)],'unitIDs':[_0x312636],'isForwarded':!0x1});}['disposeUnit'](_0x3890dc){const _0x124ab6=_0x3fe07c;this[_0x124ab6(0x25c)][_0x124ab6(0x2b8)](_0x3890dc),this[_0x124ab6(0x25c)][_0x124ab6(0x176)]===0x0&&this[_0x124ab6(0x15a)]&&window[_0x124ab6(0x109)](this[_0x124ab6(0x15a)]);}[_0x3fe07c(0x220)](){const _0x5cd26a=_0x3fe07c;this[_0x5cd26a(0x1da)](_0x36985b(_0x3cb40a(window,_0x5cd26a(0x291))[_0x5cd26a(0x1c6)](_0x3fd1a9=>{const _0x586ec9=_0x5cd26a;if(_0x3fd1a9[_0x586ec9(0x172)]!==nt||!_0x3fd1a9[_0x586ec9(0x11f)])return;const _0x499be8=JSON[_0x586ec9(0x21a)](_0x3fd1a9['newValue']);this[_0x586ec9(0x234)](_0x499be8);}))),window[_0x5cd26a(0x119)](_0x5cd26a(0x1ea),()=>this[_0x5cd26a(0x297)]({'type':0x1,'memberID':this[_0x5cd26a(0x19e)],'unitIDs':Array['from'](this[_0x5cd26a(0x25c)])}));}[_0x3fe07c(0x234)](_0x13e8cf){const _0x47c05e=_0x3fe07c;switch(_0x13e8cf['type']){case 0x0:this[_0x47c05e(0x161)](_0x13e8cf);break;case 0x1:this[_0x47c05e(0x194)](_0x13e8cf);break;case 0x2:this[_0x47c05e(0x1bd)](_0x13e8cf);break;}}[_0x3fe07c(0x161)](_0x1819f8){const _0x404b88=_0x3fe07c,{unitIDs:_0x21497a,memberID:_0x776774,isForwarded:_0x329af9}=_0x1819f8;_0x21497a['forEach'](_0x5c729c=>{const _0x214e62=_0x1112;if(!_0x329af9&&this[_0x214e62(0x10b)]['has'](_0x5c729c)&&this[_0x214e62(0x193)](_0x5c729c)[_0x214e62(0x1d8)](_0x28da64['OTHER_CLIENTS_EDITING']),!this[_0x214e62(0x10b)][_0x214e62(0x22f)](_0x5c729c)||!this[_0x214e62(0x10b)][_0x214e62(0x173)](_0x5c729c)[_0x214e62(0x22f)](_0x776774)){const _0x14c163=this[_0x214e62(0x10b)]['get'](_0x5c729c)||new Set();_0x14c163[_0x214e62(0x1f4)](_0x776774),this[_0x214e62(0x10b)]['set'](_0x5c729c,_0x14c163),this[_0x214e62(0x10c)](_0x776774);}}),_0x329af9||this['_send']({'type':0x0,'memberID':this[_0x404b88(0x19e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x302630){const _0x51baf5=_0x3fe07c;this[_0x51baf5(0x2cd)](_0x302630);const _0x716801=window[_0x51baf5(0xc7)](()=>{const _0x204229=_0x51baf5;this[_0x204229(0x10b)][_0x204229(0x197)](_0x5249db=>{_0x5249db['delete'](_0x302630);});},it*0x2);this[_0x51baf5(0x1e4)][_0x51baf5(0x1ef)](_0x302630,_0x716801);}[_0x3fe07c(0x2cd)](_0x57bf62){const _0x1340a6=_0x3fe07c;if(this[_0x1340a6(0x1e4)]['has'](_0x57bf62)){const _0x208bf=this[_0x1340a6(0x1e4)]['get'](_0x57bf62);_0x208bf&&window[_0x1340a6(0x2b0)](_0x208bf),this[_0x1340a6(0x1e4)][_0x1340a6(0x1ef)](_0x57bf62,null);}}['_handleLeaveEvent'](_0x46c797){const _0x5a4e83=_0x3fe07c,{memberID:_0x551938,unitIDs:_0x503dd3}=_0x46c797;_0x503dd3[_0x5a4e83(0x197)](_0x1077bf=>{const _0xe10f09=_0x5a4e83;var _0x46a34d;const _0x2b56f2=this['_unitOnClients'][_0xe10f09(0x173)](_0x1077bf);_0x2b56f2&&(_0x2b56f2[_0xe10f09(0x2b8)](_0x551938),(_0x46a34d=this['_ensureSubject'](_0x1077bf))==null||_0x46a34d['next'](_0x2b56f2[_0xe10f09(0x176)]===0x0?_0x28da64[_0xe10f09(0xc8)]:_0x28da64[_0xe10f09(0x2b2)]));}),this['_removeClearOtherTimer'](_0x551938);}[_0x3fe07c(0x1bd)](_0x318417){const _0x54e425=_0x3fe07c;this[_0x54e425(0x10c)](_0x318417[_0x54e425(0x230)]);}[_0x3fe07c(0x297)](_0x17edd2){const _0xbcd48=_0x3fe07c;localStorage[_0xbcd48(0x14c)](nt,JSON[_0xbcd48(0x20c)](_0x17edd2));}['_scheduleHeartbeat'](){const _0x55d9a4=_0x3fe07c;this[_0x55d9a4(0x15a)]=window[_0x55d9a4(0x2b6)](()=>{const _0xf139d1=_0x55d9a4;this[_0xf139d1(0x297)]({'type':0x2,'memberID':this[_0xf139d1(0x19e)]});},it);}[_0x3fe07c(0x193)](_0x19c0b5){const _0x595232=_0x3fe07c;return this[_0x595232(0x148)][_0x595232(0x22f)](_0x19c0b5)||this[_0x595232(0x148)][_0x595232(0x1ef)](_0x19c0b5,new _0x690e2a(_0x28da64[_0x595232(0xc8)])),this['_unitStatus']['get'](_0x19c0b5);}}var Mt=(_0x2ad11b=>(_0x2ad11b[_0x2ad11b[_0x3fe07c(0x118)]=0x0]=_0x3fe07c(0x118),_0x2ad11b[_0x2ad11b['OK']=0x1]='OK',_0x2ad11b[_0x2ad11b['INTERNAL_ERROR']=0x2]=_0x3fe07c(0x131),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ab)]=0x3]='PERMISSION_DENIED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0xdd)]=0x4]=_0x3fe07c(0xdd),_0x2ad11b[_0x2ad11b['UNAUTHENTICATED']=0x5]=_0x3fe07c(0x10f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x11d)]=0x6]='ALREADY_EXISTS',_0x2ad11b[_0x2ad11b['INVALID_ARGUMENT']=0x7]=_0x3fe07c(0x26a),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x255)]=0x8]=_0x3fe07c(0x255),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x21e)]=0x9]='COMPLETION_FINISHED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1fa)]=0xa]=_0x3fe07c(0x1fa),_0x2ad11b[_0x2ad11b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3fe07c(0x1e8),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ce)]=0x1771]=_0x3fe07c(0x2ce),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28d)]=0x1772]=_0x3fe07c(0x28d),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13c)]=0x1773]=_0x3fe07c(0x13c),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x136)]=0x1b59]='APPLY_REJECT',_0x2ad11b[_0x2ad11b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3fe07c(0x100),_0x2ad11b[_0x2ad11b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3fe07c(0x25b),_0x2ad11b[_0x2ad11b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3fe07c(0x168),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x199)]=0x1b5d]=_0x3fe07c(0x199),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x152)]=0x1f41]=_0x3fe07c(0x152),_0x2ad11b[_0x2ad11b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3fe07c(0x241),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x257)]=0x232a]=_0x3fe07c(0x257),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x253)]=0x232b]=_0x3fe07c(0x253),_0x2ad11b[_0x2ad11b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x12c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2ad11b[_0x2ad11b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3fe07c(0x227),_0x2ad11b[_0x2ad11b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3fe07c(0x2ae),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2ad11b[_0x2ad11b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fe07c(0x298),_0x2ad11b[_0x2ad11b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2ad11b[_0x2ad11b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3fe07c(0x13f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28f)]=0x271d]=_0x3fe07c(0x28f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x144)]=0x271e]=_0x3fe07c(0x144),_0x2ad11b[_0x2ad11b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3fe07c(0x266),_0x2ad11b[_0x2ad11b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3fe07c(0x159),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x196)]=0x2ee1]=_0x3fe07c(0x196),_0x2ad11b[_0x2ad11b[_0x3fe07c(0xf0)]=0x2ee2]=_0x3fe07c(0xf0),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x19f)]=0x2ee3]=_0x3fe07c(0x19f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x209)]=0x2ee4]=_0x3fe07c(0x209),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x198)]=0x2ee5]=_0x3fe07c(0x198),_0x2ad11b[_0x2ad11b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3fe07c(0xd5),_0x2ad11b[_0x2ad11b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x248)]=0x32cb]=_0x3fe07c(0x248),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x23f)]=-0x1]=_0x3fe07c(0x23f),_0x2ad11b))(Mt||{}),pn=Object[_0x3fe07c(0x128)],Cn=(_0x8f27f9,_0x9488c3,_0x1f0714,_0x57d597)=>{const _0x4536f7=_0x3fe07c;for(var _0x446c64=_0x57d597>0x1?void 0x0:_0x57d597?pn(_0x9488c3,_0x1f0714):_0x9488c3,_0x54d73c=_0x8f27f9[_0x4536f7(0x1d9)]-0x1,_0x148ce0;_0x54d73c>=0x0;_0x54d73c--)(_0x148ce0=_0x8f27f9[_0x54d73c])&&(_0x446c64=_0x148ce0(_0x446c64)||_0x446c64);return _0x446c64;},be=(_0x32b0f1,_0x53c357)=>(_0x2e02cb,_0x2126ba)=>_0x53c357(_0x2e02cb,_0x2126ba,_0x32b0f1);let rt=class extends _0x4ae93a{constructor(_0x3bd2db,_0x5e7ef8,_0x48d745){const _0x40660a=_0x3fe07c;super(),this[_0x40660a(0x1f3)]=_0x3bd2db,this['_httpService']=_0x5e7ef8,this[_0x40660a(0x26c)]=_0x48d745;}async[_0x3fe07c(0x1cb)](_0x5e208a,_0x1a5c4e,_0x1da9d0,..._0x312975){const _0x4ddcc3=_0x3fe07c;var _0x160b35,_0xcd9302,_0x2d8e46,_0x2de47f;const _0x1785e2=this['_instanceService']['getFocusedUnit']();if(!_0x1785e2)throw new Error(_0x4ddcc3(0x107));const _0x36cdc6=((_0x160b35=this[_0x4ddcc3(0x26c)][_0x4ddcc3(0x1e1)](_0x3f4390))!=null?_0x160b35:_0x26747e)+'/'+_0x5e208a+_0x4ddcc3(0xf1)+_0x1a5c4e,_0x4fc7e5=new URL(window[_0x4ddcc3(0x1a9)][_0x4ddcc3(0x2d0)]),_0xb620a={'scriptId':_0x5e208a,'runId':(_0xcd9302=_0x4fc7e5[_0x4ddcc3(0x27c)][_0x4ddcc3(0x173)](_0x4ddcc3(0x2c1)))!=null?_0xcd9302:'','function':_0x1a5c4e,'unitId':_0x1785e2[_0x4ddcc3(0x139)](),'argsOfFunction':JSON[_0x4ddcc3(0x20c)](_0x312975),'invokeId':(_0x2d8e46=_0x1da9d0[_0x4ddcc3(0x1b8)])!=null?_0x2d8e46:'','executionId':(_0x2de47f=_0x1da9d0['executionId'])!=null?_0x2de47f:''};try{const _0xc8ca98=await this[_0x4ddcc3(0x102)]['post'](_0x36cdc6,{'body':_0xb620a});return _0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)]&&_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)][_0x4ddcc3(0x16f)]!==Mt['OK']?_0x4ddcc3(0x276):_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0xd2)];}catch{return _0x4ddcc3(0x276);}}};rt=Cn([be(0x0,_0xbf54a8),be(0x1,_0x4187e9(_0x158b8c)),be(0x2,_0x3c0c1f)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x10a0b9=_0xa98b;(function(_0x4c6076,_0x1549b4){const _0x1f23f2=_0xa98b,_0x1ef6f9=_0x4c6076();while(!![]){try{const _0x5da7bc=parseInt(_0x1f23f2(0x129))/0x1+parseInt(_0x1f23f2(0x125))/0x2*(-parseInt(_0x1f23f2(0x138))/0x3)+-parseInt(_0x1f23f2(0x128))/0x4*(parseInt(_0x1f23f2(0x12b))/0x5)+-parseInt(_0x1f23f2(0x122))/0x6*(parseInt(_0x1f23f2(0x137))/0x7)+parseInt(_0x1f23f2(0x123))/0x8+-parseInt(_0x1f23f2(0x12a))/0x9+parseInt(_0x1f23f2(0x134))/0xa;if(_0x5da7bc===_0x1549b4)break;else _0x1ef6f9['push'](_0x1ef6f9['shift']());}catch(_0x18cee9){_0x1ef6f9['push'](_0x1ef6f9['shift']());}}}(_0x16c7,0x7a5ba));function _0xa98b(_0x265c3e,_0x31f675){const _0x16c772=_0x16c7();return _0xa98b=function(_0xa98b6b,_0x17923a){_0xa98b6b=_0xa98b6b-0x121;let _0x55ff14=_0x16c772[_0xa98b6b];return _0x55ff14;},_0xa98b(_0x265c3e,_0x31f675);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x10a0b9(0x131),'conflict':_0x10a0b9(0x12f),'notCollab':'Local\x20file','synced':_0x10a0b9(0x121),'syncing':_0x10a0b9(0x126),'offline':_0x10a0b9(0x130)},'session':{'connection-failed':_0x10a0b9(0x124),'will-retry':_0x10a0b9(0x135),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x10a0b9(0x132)},'conflict':{'title':_0x10a0b9(0x12e),'content':_0x10a0b9(0x12c)},'permission':{'title':_0x10a0b9(0x127),'content':_0x10a0b9(0x133)},'collaboration':{'single-unit':{'warning':_0x10a0b9(0x136)},'closeRoom':_0x10a0b9(0x12d)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x16c7(){const _0xefdfec=['Collaboration\x20Conflict','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','23465850PQlSAE','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7PDntqm','2435409dvcAlX','Synced','1232802SGhImJ','4424320zpTzkq','Connection\x20failed,\x20please\x20check\x20your\x20network.','2zqsaxR','Syncing...','Authentication\x20Error','1028732SJOsMJ','65433ibPlUt','6075549cXNMGo','15uSefOY','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x16c7=function(){return _0xefdfec;};return _0x16c7();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x450425=_0x2342;function _0x2342(_0x572530,_0x4241dd){const _0x4ae524=_0x4ae5();return _0x2342=function(_0x2342c9,_0x593968){_0x2342c9=_0x2342c9-0x1a0;let _0x7b5494=_0x4ae524[_0x2342c9];return _0x7b5494;},_0x2342(_0x572530,_0x4241dd);}(function(_0x30424f,_0x519251){const _0xecf469=_0x2342,_0x259b61=_0x30424f();while(!![]){try{const _0x50fbfd=parseInt(_0xecf469(0x1a4))/0x1+-parseInt(_0xecf469(0x1ab))/0x2+parseInt(_0xecf469(0x1aa))/0x3*(-parseInt(_0xecf469(0x1a6))/0x4)+parseInt(_0xecf469(0x1ad))/0x5*(parseInt(_0xecf469(0x1a8))/0x6)+-parseInt(_0xecf469(0x1b2))/0x7*(-parseInt(_0xecf469(0x1ac))/0x8)+parseInt(_0xecf469(0x1a3))/0x9+-parseInt(_0xecf469(0x1af))/0xa*(-parseInt(_0xecf469(0x1a7))/0xb);if(_0x50fbfd===_0x519251)break;else _0x259b61['push'](_0x259b61['shift']());}catch(_0x1d5b0b){_0x259b61['push'](_0x259b61['shift']());}}}(_0x4ae5,0xd3ebe));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x450425(0x1a5),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x450425(0x1a2),'room-full':_0x450425(0x1b0),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x450425(0x1b1),'content':_0x450425(0x1a9)},'permission':{'title':_0x450425(0x1a0),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x450425(0x1ae)},'auth':{'needGotoLoginAlert':_0x450425(0x1a1)}};export{o as default};function _0x4ae5(){const _0x4aebca=['خطای\x20اعتبارسنجی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','4639266UDrBXu','23869ERKWBM','همگام\x20سازی','4wsUMjt','594WovREJ','6AjtGnH','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4783173pvmKWz','448604EQWJVI','8QYWaBE','467095xAycdB','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','310820wSuLhu','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','تداخل\x20همکاری','2628731UETeLW'];_0x4ae5=function(){return _0x4aebca;};return _0x4ae5();}
|