@univerjs-pro/collaboration-client-ui 0.7.0-beta.0 → 0.7.0-beta.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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x563413=_0x129d;(function(_0x83b066,_0x264422){const _0x39c51f=_0x129d,_0x4d426c=_0x83b066();while(!![]){try{const _0x1989f5=-parseInt(_0x39c51f(0x21b))/0x1*(parseInt(_0x39c51f(0x2bd))/0x2)+parseInt(_0x39c51f(0x36a))/0x3*(-parseInt(_0x39c51f(0x263))/0x4)+-parseInt(_0x39c51f(0x22f))/0x5+parseInt(_0x39c51f(0x201))/0x6*(-parseInt(_0x39c51f(0x2cd))/0x7)+-parseInt(_0x39c51f(0x1f0))/0x8+parseInt(_0x39c51f(0x2fb))/0x9*(parseInt(_0x39c51f(0x22d))/0xa)+-parseInt(_0x39c51f(0x337))/0xb*(-parseInt(_0x39c51f(0x3ca))/0xc);if(_0x1989f5===_0x264422)break;else _0x4d426c['push'](_0x4d426c['shift']());}catch(_0x472d1e){_0x4d426c['push'](_0x4d426c['shift']());}}}(_0x5b78,0x3129f));var $t=Object[_0x563413(0x30c)],xt=(_0x19a72c,_0x432db7,_0x3523aa)=>_0x432db7 in _0x19a72c?$t(_0x19a72c,_0x432db7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3523aa}):_0x19a72c[_0x432db7]=_0x3523aa,_=(_0x466be1,_0xe765d0,_0x351866)=>xt(_0x466be1,typeof _0xe765d0!=_0x563413(0x247)?_0xe765d0+'':_0xe765d0,_0x351866);import{MemberService as _0x54d944,SessionStatus as _0x33fce3,CollaborationSessionService as _0x3919e6,CollaborationStatus as _0x254eb8,CollaborationController as _0x203fc8,ILocalCacheService as _0x1400ec,CollaborationUIEventService as _0x3a9063,CollaborationUIEventId as _0x2adb1f,DataLoaderService as _0xdfc05f,DocCollaborationEntity as _0x487f85,getLocalCacheKey as _0x3b0baa,LOCAL_CACHE_INTERVAL as _0x5223b0,LOCAL_CACHE_INTERVAL_KEY as _0x433e18,UniverCollaborationClientPlugin as _0x26d327,CollaborationSocketService as _0x59ef4b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b788b,DEFAULT_WS_SESSION_TICKET_URL as _0x153ab7,UnitStatus as _0x5080da,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x41e7a3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x31124b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b74ae,Disposable as _0x1fbc6b,DOC_RANGE_TYPE as _0x245254,Inject as _0x5c6460,Injector as _0x1d66e7,IUniverInstanceService as _0x31a664,ICommandService as _0x3117b8,debounce as _0x26c543,Rectangle as _0xc52910,DisposableCollection as _0x150cba,toDisposable as _0x3e0e70,UniverInstanceType as _0x1eb9e8,Tools as _0x17cd4d,COLORS as _0x2a7dc9,ColorKit as _0x3eb592,ThemeService as _0x1ee369,fromEventSubject as _0x4c5485,LocaleService as _0x3ffe22,createIdentifier as _0x54cac1,ILogService as _0x3c1e89,Optional as _0x5e513a,Workbook as _0x2bc3eb,CommandType as _0x444386,IConfigService as _0x395855,ILocalStorageService as _0x35e3cf,DependentOn as _0x2f89ac,Plugin as _0x1131fa,merge as _0x3fdaeb,registerDependencies as _0x2722ea,mergeOverrideWithDependencies as _0x4d57b5,touchDependencies as _0x5c554b,generateRandomId as _0x214fa4}from'@univerjs/core';import{Shape as _0x1c8015,Rect as _0x17081d,getColor as _0x50666a,RegularPolygon as _0x5d7fb6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51a3cb,Vector2 as _0x22f062,SHEET_VIEWPORT_KEY as _0x6d020d,IRenderManagerService as _0x2bfa89}from'@univerjs/engine-render';import{ISocketService as _0x4ec03e,WebSocketService as _0x2e732f,HTTPService as _0x3fb791}from'@univerjs/network';import{IDocClipboardService as _0x1c730e,NodePositionConvertToCursor as _0x57941f,NodePositionConvertToRectRange as _0xdf1a59,TEXT_RANGE_LAYER_INDEX as _0x3fc072,SetDocZoomRatioOperation as _0x3963d1,DocIMEInputManagerService as _0x18d55f,DocStateChangeManagerService as _0x56216d}from'@univerjs/docs-ui';import{IImageIoService as _0x11b12f}from'@univerjs/drawing';import{BehaviorSubject as _0x4621a1,debounceTime as _0x222885,takeUntil as _0x16b897,Subject as _0x4ee0db,filter as _0x509117,switchMap as _0xc5480d,merge as _0x1b83cd,combineLatest as _0x10706b,of as _0x1ce394,fromEvent as _0x2974a5,shareReplay as _0x3f389a,mapTo as _0x36eff5,distinctUntilChanged as _0x5718a3}from'rxjs';import{SetTextSelectionsOperation as _0x50d8d7,RichTextEditingMutation as _0x2337f3,DocSelectionManagerService as _0x25e9f8,DocSkeletonManagerService as _0x4f1317}from'@univerjs/docs';import{ITransformService as _0x136ed5,CollaborationEvent as _0x41691e,isTransformMutationFailure as _0x2432f7,isTransformMutationsWithChangesetSuccess as _0x1002c8,RevisionService as _0x5ec55b,ISnapshotServerService as _0x2d5160}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2789b1,serializeRangeWithSheet as _0x563c71}from'@univerjs/engine-formula';import{RefRangeService as _0x4e379b,SetSelectionsOperation as _0x1613e4,SheetsSelectionsService as _0x12cd03,EffectRefRangId as _0x43c3b2,handleIRemoveRow as _0x5bf4b9,handleIRemoveCol as _0x218885,handleMoveRange as _0x5ad331,handleInsertRow as _0x4d47b6,handleInsertRangeMoveRight as _0x4f3441,handleInsertRangeMoveDown as _0xf47617,handleInsertCol as _0x4871a0,handleDeleteRangeMoveUp as _0x41f848,handleDeleteRangeMoveLeft as _0x207f2e,runRefRangeMutations as _0x2738a6,SetWorksheetActivateCommand as _0xc628f2}from'@univerjs/sheets';import{map as _0x1ba986,filter as _0x397e46,throttleTime as _0x1d7bc4,takeUntil as _0x53e4ae,switchMap as _0x13823e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3ea723,getCoordByCell as _0x58b02a,getSheetObject as _0x2f0b6e}from'@univerjs/sheets-ui';import{jsx as _0x427501,jsxs as _0x44e5b1}from'react/jsx-runtime';import{useObservable as _0x3d4560,useDependency as _0x47de98,IUIPartsService as _0x4c7f9b,BuiltInUIPart as _0x505fa7,connectInjector as _0x313f2b,IBeforeCloseService as _0x27e5c6,IMessageService as _0x4acaae,INotificationService as _0x275910}from'@univerjs/ui';import{Tooltip as _0x561183,clsx as _0x2ab1f2,MessageType as _0x5c8d3f}from'@univerjs/design';import{forwardRef as _0x75af45,useRef as _0x16e5d0,createElement as _0x2072fd,useCallback as _0x571220}from'react';function _0x129d(_0x4e40bc,_0xb90122){const _0x5b78b4=_0x5b78();return _0x129d=function(_0x129daf,_0x47c868){_0x129daf=_0x129daf-0x1d3;let _0x450094=_0x5b78b4[_0x129daf];return _0x450094;},_0x129d(_0x4e40bc,_0xb90122);}import{IRemoteInstanceService as _0xfedf20}from'@univerjs/rpc';var ci=Object[_0x563413(0x350)],li=(_0x5ed6ba,_0x1b4c7e,_0x369e4f,_0x559632)=>{const _0x4fe5b4=_0x563413;for(var _0x3708f9=_0x559632>0x1?void 0x0:_0x559632?ci(_0x1b4c7e,_0x369e4f):_0x1b4c7e,_0x16af55=_0x5ed6ba[_0x4fe5b4(0x37f)]-0x1,_0x578121;_0x16af55>=0x0;_0x16af55--)(_0x578121=_0x5ed6ba[_0x16af55])&&(_0x3708f9=_0x578121(_0x3708f9)||_0x3708f9);return _0x3708f9;},Je=(_0x381a98,_0x2f4cfc)=>(_0x1e7ed3,_0x898088)=>_0x2f4cfc(_0x1e7ed3,_0x898088,_0x381a98);let Ne=class extends _0x4b74ae{constructor(_0x16b16e,_0x3a05c8){const _0x19b986=_0x563413;super(),this[_0x19b986(0x3d9)]=_0x16b16e,this['_imageIoService']=_0x3a05c8,this[_0x19b986(0x2c6)]();}[_0x563413(0x2c6)](){const _0x440c16=_0x563413,_0x45a0e9=this;this[_0x440c16(0x1f8)](this[_0x440c16(0x3d9)][_0x440c16(0x24e)]({'onBeforePasteImage':async _0x4bffc4=>{const _0x35af93=_0x440c16,_0x190d9d=await _0x45a0e9[_0x35af93(0x3b1)][_0x35af93(0x2b9)](_0x4bffc4);return _0x190d9d?{'source':_0x190d9d[_0x35af93(0x255)],'imageSourceType':_0x190d9d[_0x35af93(0x28f)]}:null;}}));}};Ne=li([Je(0x0,_0x1c730e),Je(0x1,_0x11b12f)],Ne);const Ze=[_0x563413(0x2a4),_0x563413(0x38b),_0x563413(0x229),_0x563413(0x219),_0x563413(0x26f),_0x563413(0x1db)];class ke extends _0x1fbc6b{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x563413(0x235)](_0x27d927){const _0x25fda6=_0x563413;if(this[_0x25fda6(0x329)]['has'](_0x27d927))return this[_0x25fda6(0x329)]['get'](_0x27d927);const _0x45c59a=Ze[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x25fda6(0x37f)],this[_0x25fda6(0x329)][_0x25fda6(0x3a1)](_0x27d927,_0x45c59a),_0x45c59a;}}function Tt(_0x4885e7){let _0x20ab8a='';for(const _0x732c72 of _0x4885e7){const {startOffset:_0x2e8eb8,endOffset:_0x5db308,isActive:_0x5dcd01,rangeType:_0x18deec,segmentId:_0x51308b,segmentPage:_0x5f0fc0}=_0x732c72;_0x20ab8a['length']&&(_0x20ab8a+=','),_0x20ab8a+=_0x2e8eb8+':'+_0x5db308+':'+(_0x5dcd01?'1':'0')+':'+_0x18deec+':'+_0x51308b+':'+_0x5f0fc0;}return _0x20ab8a;}function _i(_0x1dbddc){const _0x1965b6=_0x563413,_0x10480e=_0x1dbddc[_0x1965b6(0x2b4)](','),_0x2d9159=[];for(const _0x151f65 of _0x10480e){const [_0x3223eb,_0x455df0,_0x265def,_0x12a2ed,_0x26170c,_0x490d22]=_0x151f65['split'](':');_0x2d9159[_0x1965b6(0x2ca)]({'startOffset':Number(_0x3223eb),'endOffset':Number(_0x455df0),'collapsed':_0x3223eb===_0x455df0,'isActive':_0x265def==='1','rangeType':_0x12a2ed===_0x245254[_0x1965b6(0x284)]?_0x245254['TEXT']:_0x245254[_0x1965b6(0x37a)],'segmentId':typeof _0x26170c==_0x1965b6(0x32c)?String(_0x26170c):'','segmentPage':Number(_0x490d22!=null?_0x490d22:-0x1)});}return _0x2d9159[_0x1965b6(0x3b7)](_0x24983e=>_0x24983e['isActive'])||(_0x2d9159[0x0][_0x1965b6(0x3b4)]=!0x0),_0x2d9159;}class He extends _0x4b74ae{constructor(){const _0x21dfd1=_0x563413;super(...arguments),_(this,_0x21dfd1(0x1df),new _0x4621a1(null)),_(this,_0x21dfd1(0x3d2),this[_0x21dfd1(0x1df)][_0x21dfd1(0x307)]());}['syncEditingCollabCursor'](_0x39bb19){const _0x2df5ad=_0x563413,{unitID:_0x551f0f,memberID:_0x5b8b6b,textRanges:_0x3c545a}=_0x39bb19,_0x1480bd=Tt(_0x3c545a);if(_0x1480bd==='')return;const _0x572d64={'unitID':_0x551f0f,'memberID':_0x5b8b6b,'selection':_0x1480bd};this[_0x2df5ad(0x1df)][_0x2df5ad(0x241)](_0x572d64);}}var hi=Object[_0x563413(0x350)],ui=(_0x3ed27f,_0x116e0a,_0x8d2f9,_0x284565)=>{for(var _0x5dfc13=_0x284565>0x1?void 0x0:_0x284565?hi(_0x116e0a,_0x8d2f9):_0x116e0a,_0x5987b1=_0x3ed27f['length']-0x1,_0xc7b137;_0x5987b1>=0x0;_0x5987b1--)(_0xc7b137=_0x3ed27f[_0x5987b1])&&(_0x5dfc13=_0xc7b137(_0x5dfc13)||_0x5dfc13);return _0x5dfc13;},w=(_0x3e30f8,_0x244845)=>(_0x224fd7,_0x53ab00)=>_0x244845(_0x224fd7,_0x53ab00,_0x3e30f8);const di=0x12c,fi=0x64;let Ue=class extends _0x4b74ae{constructor(_0x270cb8,_0x64b8b8,_0x5522c3,_0x472787,_0x4987c2,_0x399fb5,_0x5a9f7b,_0x4fc202,_0x2282e7){const _0x4803e8=_0x563413;super(),_(this,_0x4803e8(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x4803e8(0x34e),new _0x4621a1(new Map())),_(this,_0x4803e8(0x340),this[_0x4803e8(0x34e)][_0x4803e8(0x307)]()),_(this,'_roomMembers$',new _0x4621a1([])),_(this,_0x4803e8(0x3cf),this[_0x4803e8(0x1fa)]['pipe'](_0x222885(di))),_(this,_0x4803e8(0x365),_0x26c543(_0x51e3e0=>{const _0x384623=_0x4803e8,_0x17ab96={'eventID':_0x41691e[_0x384623(0x376)],'data':{'unitID':this[_0x384623(0x375)],'memberID':this[_0x384623(0x31d)][_0x384623(0x22b)](),'selection':Tt(_0x51e3e0)}};this[_0x384623(0x31d)][_0x384623(0x339)](_0x17ab96,this[_0x384623(0x375)]);},fi)),(this[_0x4803e8(0x375)]=_0x270cb8,this[_0x4803e8(0x31d)]=_0x64b8b8,this[_0x4803e8(0x2fa)]=_0x5522c3,this[_0x4803e8(0x1f5)]=_0x472787,this[_0x4803e8(0x228)]=_0x4987c2,this[_0x4803e8(0x39b)]=_0x399fb5,this['_transformService']=_0x5a9f7b,this[_0x4803e8(0x31f)]=_0x4fc202,this[_0x4803e8(0x30f)]=_0x2282e7);}get[_0x563413(0x35f)](){const _0x4f8697=_0x563413;return this[_0x4f8697(0x34e)]['getValue']();}get['roomMembers'](){const _0x273c36=_0x563413;return this[_0x273c36(0x1fa)][_0x273c36(0x2f5)]();}['dispose'](){const _0x2f87d5=_0x563413;super[_0x2f87d5(0x37b)](),this[_0x2f87d5(0x34e)][_0x2f87d5(0x241)](new Map()),this[_0x2f87d5(0x34e)][_0x2f87d5(0x342)](),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x241)]([]),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x342)]();}['init'](){const _0x4089df=_0x563413;this[_0x4089df(0x2c6)]||(this[_0x4089df(0x2c6)]=!0x0,this['_session'][_0x4089df(0x2dd)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x160eba=>{const _0x5f5755=_0x4089df;_0x160eba===_0x33fce3[_0x5f5755(0x2a3)]?this[_0x5f5755(0x3cc)]():this[_0x5f5755(0x3d3)]();}),this['_session'][_0x4089df(0x2af)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x3b07fe=>{const _0x12e29e=_0x4089df,_0x5a95dc=_0x3b07fe[_0x12e29e(0x2f0)];_0x5a95dc===_0x41691e[_0x12e29e(0x376)]&&this[_0x12e29e(0x2f3)](_0x3b07fe),_0x5a95dc===_0x41691e[_0x12e29e(0x213)]&&this[_0x12e29e(0x30e)](_0x3b07fe);}),this[_0x4089df(0x1f8)](this['_commandService'][_0x4089df(0x1d3)](_0x322bc8=>{const _0x2533f2=_0x4089df,_0x17c9a4=_0x322bc8['params'];_0x17c9a4!=null&&this['_online']&&_0x322bc8['id']===_0x50d8d7['id']&&_0x17c9a4[_0x2533f2(0x35c)]===this[_0x2533f2(0x375)]&&_0x17c9a4[_0x2533f2(0x297)]===!0x1&&_0x17c9a4[_0x2533f2(0x2cf)][_0x2533f2(0x37f)]>0x0&&this[_0x2533f2(0x365)](_0x17c9a4[_0x2533f2(0x2cf)]);})),this['_syncEditingCollabCursorService'][_0x4089df(0x3d2)][_0x4089df(0x3bf)](_0x16b897(this[_0x4089df(0x301)]))[_0x4089df(0x240)](_0x169d82=>{const _0x55e470=_0x4089df;if((_0x169d82==null?void 0x0:_0x169d82['unitID'])!==this[_0x55e470(0x375)])return;const _0x1d7ce2={'eventID':_0x41691e[_0x55e470(0x376)],'data':_0x169d82};this['_onCursorUpdate'](_0x1d7ce2);}),this[_0x4089df(0x1f8)](this['_commandService']['onCommandExecuted'](_0x548adf=>{const _0x505f29=_0x4089df;if(_0x548adf[_0x505f29(0x2ac)]==null)return;const _0xfeb95=_0x548adf[_0x505f29(0x2ac)];if(_0x548adf['id']!==_0x2337f3['id']||_0xfeb95[_0x505f29(0x35c)]!==this[_0x505f29(0x375)])return;const _0x4e2fde={'id':_0x505f29(0x286),'params':_0xfeb95},_0x3aad4e=this[_0x505f29(0x35f)];for(const [_0x30057c,_0x380a62]of _0x3aad4e){const _0x284a76={'id':_0x505f29(0x286),'params':{'unitId':this[_0x505f29(0x375)],'actions':null,'textRanges':_0x380a62[_0x505f29(0x2cf)]}},_0x1a40e4=this[_0x505f29(0x2ba)]['transformMutation'](_0x4e2fde,_0x284a76,!0x1);if(_0x2432f7(_0x1a40e4))throw _0x1a40e4['error'];_0x3aad4e['set'](_0x30057c,{..._0x380a62,'ranges':_0x1a40e4[_0x505f29(0x1f3)]['params'][_0x505f29(0x252)]});}queueMicrotask(()=>{const _0x36a63a=_0x505f29;this[_0x36a63a(0x34e)][_0x36a63a(0x241)](_0x3aad4e);});})));}[_0x563413(0x2f3)](_0x543dab){const _0x3f331c=_0x563413;var _0x351168,_0x24a42a;const {memberID:_0x2ea807,selection:_0x2cc932}=_0x543dab[_0x3f331c(0x395)],_0x2a26fd=_i(_0x2cc932),_0x3678a3=(_0x24a42a=(_0x351168=this[_0x3f331c(0x228)][_0x3f331c(0x23c)](this[_0x3f331c(0x375)],_0x2ea807))==null?void 0x0:_0x351168[_0x3f331c(0x359)])!=null?_0x24a42a:_0x3f331c(0x2a1),_0x1fe169={'color':this[_0x3f331c(0x1f5)][_0x3f331c(0x235)](_0x2ea807),'name':_0x3678a3,'ranges':_0x2a26fd},_0xe71dd0=this[_0x3f331c(0x35f)];_0xe71dd0[_0x3f331c(0x3a1)](_0x2ea807,_0x1fe169),this[_0x3f331c(0x34e)]['next'](_0xe71dd0);}[_0x563413(0x30e)](_0xa9dc6a){const _0x3ac795=_0x563413,{memberID:_0x5b2f10}=_0xa9dc6a[_0x3ac795(0x395)],_0x470b19=this[_0x3ac795(0x35f)];_0x470b19[_0x3ac795(0x1e8)](_0x5b2f10),this['_cursorInfo$'][_0x3ac795(0x241)](_0x470b19);}[_0x563413(0x3cc)](){const _0x24fff0=_0x563413;var _0x38b386;if(this[_0x24fff0(0x209)]=!0x0,((_0x38b386=this[_0x24fff0(0x31f)][_0x24fff0(0x30d)]())==null?void 0x0:_0x38b386[_0x24fff0(0x279)]())!==this[_0x24fff0(0x375)])return;const _0x16ed5a=this[_0x24fff0(0x2fa)][_0x24fff0(0x32e)](_0x25e9f8)[_0x24fff0(0x1ee)]();Array[_0x24fff0(0x312)](_0x16ed5a)&&_0x16ed5a[_0x24fff0(0x37f)]>0x0&&this['_updateLocalCursor'](_0x16ed5a);}[_0x563413(0x3d3)](){const _0x25e7ee=_0x563413;this[_0x25e7ee(0x209)]=!0x1;}};Ue=ui([w(0x2,_0x5c6460(_0x1d66e7)),w(0x3,_0x5c6460(ke)),w(0x4,_0x5c6460(_0x54d944)),w(0x5,_0x5c6460(He)),w(0x6,_0x136ed5),w(0x7,_0x31a664),w(0x8,_0x3117b8)],Ue);var Si=Object[_0x563413(0x350)],mi=(_0x4f41d1,_0x1e198b,_0x22fdd8,_0xae19ad)=>{const _0x46bfd4=_0x563413;for(var _0x4b7479=_0xae19ad>0x1?void 0x0:_0xae19ad?Si(_0x1e198b,_0x22fdd8):_0x1e198b,_0x48977e=_0x4f41d1[_0x46bfd4(0x37f)]-0x1,_0x189afa;_0x48977e>=0x0;_0x48977e--)(_0x189afa=_0x4f41d1[_0x48977e])&&(_0x4b7479=_0x189afa(_0x4b7479)||_0x4b7479);return _0x4b7479;},x=(_0x1142f0,_0x16e221)=>(_0x10d671,_0x1b3f99)=>_0x16e221(_0x10d671,_0x1b3f99,_0x1142f0);const gi=0x12c,vi=0x64,Ii=()=>{let _0x194c94=[],_0x4a979d=!0x1;return _0x5c1ca8=>{const _0x1d51a9=_0x129d;_0x194c94[_0x1d51a9(0x2ca)](_0x5c1ca8),_0x4a979d||(_0x4a979d=!0x0,setTimeout(()=>{const _0x19ac9c=_0x1d51a9;_0x194c94[_0x19ac9c(0x29b)](_0x19fd2d=>_0x19fd2d()),_0x194c94=[],_0x4a979d=!0x1;}));};};let Me=class extends _0x4b74ae{constructor(_0x5d3936,_0x1a87ee,_0x5682b4,_0x42ee72,_0x492abe,_0x37e47a,_0x3b4c6b,_0x30ea8b){const _0x356729=_0x563413;super(),_(this,_0x356729(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x356729(0x34e),new _0x4621a1(new Map())),_(this,_0x356729(0x340),this['_cursorInfo$'][_0x356729(0x307)]()),_(this,_0x356729(0x1fa),new _0x4621a1([])),_(this,_0x356729(0x3cf),this[_0x356729(0x1fa)][_0x356729(0x3bf)](_0x222885(gi))),_(this,_0x356729(0x365),_0x26c543((_0x3d6089,_0x4a5105)=>{const _0x3c7984=_0x356729,_0x8a61ba={'eventID':_0x41691e['UPDATE_CURSOR'],'data':{'unitID':this[_0x3c7984(0x375)],'memberID':this[_0x3c7984(0x31d)][_0x3c7984(0x22b)](),'selection':_0x563c71(_0x3d6089,_0x4a5105[_0x3c7984(0x2c5)])}};this[_0x3c7984(0x31d)][_0x3c7984(0x339)](_0x8a61ba,this[_0x3c7984(0x375)]);},vi)),(this[_0x356729(0x375)]=_0x5d3936,this['_session']=_0x1a87ee,this['_injector']=_0x5682b4,this[_0x356729(0x1f5)]=_0x42ee72,this[_0x356729(0x228)]=_0x492abe,this[_0x356729(0x31f)]=_0x37e47a,this[_0x356729(0x30f)]=_0x3b4c6b,this['_refRangeService']=_0x30ea8b);}get[_0x563413(0x35f)](){const _0x1d7f24=_0x563413;return this[_0x1d7f24(0x34e)][_0x1d7f24(0x2f5)]();}get[_0x563413(0x2de)](){const _0x266793=_0x563413;return this['_roomMembers$'][_0x266793(0x2f5)]();}[_0x563413(0x37b)](){const _0x15d49c=_0x563413;super[_0x15d49c(0x37b)](),this[_0x15d49c(0x34e)][_0x15d49c(0x241)](new Map()),this[_0x15d49c(0x34e)]['complete'](),this['_roomMembers$'][_0x15d49c(0x241)]([]),this[_0x15d49c(0x1fa)][_0x15d49c(0x342)]();}[_0x563413(0x37c)](){const _0x1c2e3f=_0x563413;this[_0x1c2e3f(0x2c6)]||(this[_0x1c2e3f(0x2c6)]=!0x0,this['_session'][_0x1c2e3f(0x2dd)][_0x1c2e3f(0x3bf)](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x4fb3b3=>{const _0xb55deb=_0x1c2e3f;_0x4fb3b3===_0x33fce3[_0xb55deb(0x2a3)]?this[_0xb55deb(0x3cc)]():this[_0xb55deb(0x3d3)]();}),this[_0x1c2e3f(0x31d)][_0x1c2e3f(0x2af)]['pipe'](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x5c0d9b=>{const _0x33386b=_0x1c2e3f,_0x368def=_0x5c0d9b[_0x33386b(0x2f0)];_0x368def===_0x41691e['UPDATE_CURSOR']&&this[_0x33386b(0x2f3)](_0x5c0d9b),_0x368def===_0x41691e[_0x33386b(0x213)]&&this[_0x33386b(0x30e)](_0x5c0d9b);}),this[_0x1c2e3f(0x1f7)](),this[_0x1c2e3f(0x1f8)](this[_0x1c2e3f(0x30f)][_0x1c2e3f(0x1d3)](_0x42e677=>{const _0x56f701=_0x1c2e3f;if(this[_0x56f701(0x209)]&&_0x42e677['id']===_0x1613e4['id']&&_0x42e677[_0x56f701(0x2ac)][_0x56f701(0x35c)]===this[_0x56f701(0x375)]){const _0x4ca4e5=_0x42e677[_0x56f701(0x2ac)];this['_updateLocalCursor'](_0x4ca4e5[_0x56f701(0x2fc)],_0x4ca4e5['selections'][0x0]);}})));}[_0x563413(0x2f3)](_0x4d26e2){const _0x176435=_0x563413;var _0x31690b,_0x22ba29;const {memberID:_0xec8f05,selection:_0x5efa6f}=_0x4d26e2['data'],{sheetName:_0x447294,range:_0xcc0388}=_0x2789b1(_0x5efa6f),_0x351400={'name':(_0x22ba29=(_0x31690b=this[_0x176435(0x228)][_0x176435(0x23c)](this[_0x176435(0x375)],_0xec8f05))==null?void 0x0:_0x31690b[_0x176435(0x359)])!=null?_0x22ba29:_0x176435(0x2a1),'range':this[_0x176435(0x35a)](_0x447294,_0xcc0388),'sheetID':_0x447294,'color':this[_0x176435(0x1f5)][_0x176435(0x235)](_0xec8f05),'selection':_0x5efa6f},_0x392401=this['cursorInfo'];_0x392401[_0x176435(0x3a1)](_0xec8f05,_0x351400),this[_0x176435(0x34e)]['next'](_0x392401);}[_0x563413(0x30e)](_0x242921){const _0x4431b8=_0x563413,{memberID:_0x37182a}=_0x242921[_0x4431b8(0x395)],_0x525963=this[_0x4431b8(0x35f)];_0x525963[_0x4431b8(0x1e8)](_0x37182a),this[_0x4431b8(0x34e)]['next'](_0x525963);}['_getMergeRange'](_0x8a1137,_0x1931b1){const _0x56b587=_0x563413;var _0x5af1bf,_0x458a09;const _0x49da27=(_0x458a09=(_0x5af1bf=this[_0x56b587(0x31f)]['getUniverSheetInstance'](this[_0x56b587(0x375)]))==null?void 0x0:_0x5af1bf[_0x56b587(0x386)](_0x8a1137))==null?void 0x0:_0x458a09[_0x56b587(0x2d2)]();return(_0x49da27==null?void 0x0:_0x49da27[_0x56b587(0x3a0)](_0x420532=>_0xc52910[_0x56b587(0x332)](_0x420532,_0x1931b1)))||_0x1931b1;}['_onRefRangeChange'](){const _0x228ec7=_0x563413,_0x656931=new _0x150cba(),_0x5ae6ad=Ii(),_0x451cf2=()=>{const _0x1b49b4=_0x129d;_0x656931[_0x1b49b4(0x37b)]();const _0x1c2716=(_0x12a654,_0x5aba06,_0x41cbd6,_0x37ee1a)=>{const _0x6f9cb7=_0x1b49b4;let _0x12912a=[];switch(_0x12a654['id']){case _0x43c3b2['DeleteRangeMoveLeftCommandId']:{_0x12912a=_0x207f2e(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a2)]:{_0x12912a=_0x41f848(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x2d4)]:{_0x12912a=_0x4871a0(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3af)]:{_0x12912a=_0xf47617(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['InsertRangeMoveRightCommandId']:{_0x12912a=_0x4f3441(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x21d)]:{_0x12912a=_0x4d47b6(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a5)]:{_0x12912a=_0x5ad331(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x28d)]:{_0x12912a=_0x218885(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['RemoveRowCommandId']:{_0x12912a=_0x5bf4b9(_0x12a654,_0x37ee1a);break;}}const _0x4e165f=_0x2738a6(_0x12912a,_0x37ee1a),_0x2af7d1=this[_0x6f9cb7(0x35f)][_0x6f9cb7(0x32e)](_0x5aba06);if(_0x2af7d1&&_0x4e165f){const _0x390e0f={..._0x2af7d1,'range':_0x4e165f};this['cursorInfo'][_0x6f9cb7(0x3a1)](_0x5aba06,_0x390e0f),_0x5ae6ad(()=>{const _0x74d187=_0x6f9cb7,_0x5127b9=this[_0x74d187(0x22a)]['registerRefRange'](_0x4e165f,_0x596cdf=>(_0x5127b9['dispose'](),_0x1c2716(_0x596cdf,_0x5aba06,_0x41cbd6,_0x4e165f)));_0x656931[_0x74d187(0x308)](_0x5127b9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3d362b,_0x3c78ef)=>{const _0xdf2cc7=_0x1b49b4,{range:_0xc66a9d,sheetID:_0x31d3fd}=_0x3d362b,_0xc1f764=this['_refRangeService'][_0xdf2cc7(0x2bb)](_0xc66a9d,_0x5114cd=>(_0xc1f764['dispose'](),_0x1c2716(_0x5114cd,_0x3c78ef,_0x31d3fd,_0xc66a9d)));_0x656931[_0xdf2cc7(0x308)](_0xc1f764);});};this[_0x228ec7(0x1f8)](_0x3e0e70(this[_0x228ec7(0x34e)]['subscribe'](()=>{_0x451cf2();})));}[_0x563413(0x3cc)](){const _0x3a8763=_0x563413;var _0x40ba35,_0x19654b;if(this[_0x3a8763(0x209)]=!0x0,((_0x40ba35=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x40ba35[_0x3a8763(0x279)]())!==this[_0x3a8763(0x375)])return;const _0x4ba818=(_0x19654b=this[_0x3a8763(0x2fa)]['get'](_0x12cd03)[_0x3a8763(0x254)]())==null?void 0x0:_0x19654b[0x0],_0x4801a2=this[_0x3a8763(0x31f)]['getCurrentUnitForType'](_0x1eb9e8[_0x3a8763(0x394)])[_0x3a8763(0x372)]();_0x4ba818&&_0x4801a2&&this[_0x3a8763(0x365)](_0x4801a2[_0x3a8763(0x2f8)](),_0x4ba818);}['_toggleOffline'](){const _0x4f32e9=_0x563413;this[_0x4f32e9(0x209)]=!0x1;}};Me=mi([x(0x2,_0x5c6460(_0x1d66e7)),x(0x3,_0x5c6460(ke)),x(0x4,_0x5c6460(_0x54d944)),x(0x5,_0x31a664),x(0x6,_0x3117b8),x(0x7,_0x5c6460(_0x4e379b))],Me);var pi=Object[_0x563413(0x350)],Ci=(_0x18cd94,_0x4d715b,_0x17076f,_0x48f933)=>{const _0x495795=_0x563413;for(var _0x55be50=_0x48f933>0x1?void 0x0:_0x48f933?pi(_0x4d715b,_0x17076f):_0x4d715b,_0x4845d8=_0x18cd94[_0x495795(0x37f)]-0x1,_0x41a0df;_0x4845d8>=0x0;_0x4845d8--)(_0x41a0df=_0x18cd94[_0x4845d8])&&(_0x55be50=_0x41a0df(_0x55be50)||_0x55be50);return _0x55be50;},Se=(_0x28c001,_0x56dfcd)=>(_0x39be53,_0x3f82f9)=>_0x56dfcd(_0x39be53,_0x3f82f9,_0x28c001);let H=class extends _0x4b74ae{constructor(_0x110132,_0x1719cd,_0x5897cf){const _0x67fceb=_0x563413;super(),_(this,_0x67fceb(0x3bc),new Map()),_(this,_0x67fceb(0x356),new _0x4ee0db()),(this[_0x67fceb(0x31f)]=_0x110132,this['_injector']=_0x1719cd,this[_0x67fceb(0x223)]=_0x5897cf,this[_0x67fceb(0x2c6)]());}[_0x563413(0x37b)](){const _0x1a6808=_0x563413;super[_0x1a6808(0x37b)](),this[_0x1a6808(0x356)][_0x1a6808(0x342)](),this['_entities'][_0x1a6808(0x29b)](_0x5c9581=>_0x5c9581[_0x1a6808(0x37b)]());}['getCollabCursors$'](_0x57a125){const _0x549bad=_0x563413;return this[_0x549bad(0x3bc)][_0x549bad(0x3b6)](_0x57a125)?this[_0x549bad(0x3bc)][_0x549bad(0x32e)](_0x57a125)[_0x549bad(0x340)]:this[_0x549bad(0x356)][_0x549bad(0x3bf)](_0x509117(_0x5ab78e=>_0x5ab78e[_0x549bad(0x375)]===_0x57a125),_0xc5480d(_0x4043a1=>_0x4043a1[_0x549bad(0x340)]));}[_0x563413(0x2c6)](){const _0x1b3f3c=_0x563413;this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x394)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x240)](async _0x58dd6c=>{const _0x42f35a=_0x1b3f3c,_0x4b69ef=_0x58dd6c['getUnitId'](),_0x1c0292=await this[_0x42f35a(0x382)](_0x4b69ef);this['_entityInit$'][_0x42f35a(0x241)](_0x1c0292),this[_0x42f35a(0x3bc)][_0x42f35a(0x3a1)](_0x4b69ef,_0x1c0292);}),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x233)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x3bf)](_0x509117(_0x4042ac=>!_0x4042ac[_0x1b3f3c(0x279)]()['startsWith']('__')))[_0x1b3f3c(0x240)](async _0x98011f=>{const _0x3dd452=_0x1b3f3c,_0x4e689e=_0x98011f['getUnitId'](),_0x3bfad0=await this['_startDocCollabCursor'](_0x4e689e);this['_entityInit$'][_0x3dd452(0x241)](_0x3bfad0),this[_0x3dd452(0x3bc)][_0x3dd452(0x3a1)](_0x4e689e,_0x3bfad0);}),_0x1b83cd(this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x233)]),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x394)]))[_0x1b3f3c(0x3bf)](_0x16b897(this[_0x1b3f3c(0x301)]))['subscribe'](_0x1dbcd9=>{const _0x6a6da6=_0x1b3f3c,_0xd059b0=_0x1dbcd9[_0x6a6da6(0x279)](),_0xc6b947=this['_entities'][_0x6a6da6(0x32e)](_0xd059b0);_0xc6b947&&(_0xc6b947[_0x6a6da6(0x37b)](),this['_entities'][_0x6a6da6(0x1e8)](_0xd059b0));});}async[_0x563413(0x382)](_0x1592b5){const _0x20866f=_0x563413,_0x7dfee8=await this[_0x20866f(0x223)]['requireSession'](_0x1592b5),_0x1f2393=this[_0x20866f(0x2fa)][_0x20866f(0x388)](Me,_0x1592b5,_0x7dfee8);return _0x1f2393['init'](),_0x1f2393;}async[_0x563413(0x26b)](_0x2ade84){const _0x55bb08=_0x563413,_0x1aa25d=await this[_0x55bb08(0x223)][_0x55bb08(0x1ea)](_0x2ade84),_0x55e6bd=this[_0x55bb08(0x2fa)]['createInstance'](Ue,_0x2ade84,_0x1aa25d);return _0x55e6bd[_0x55bb08(0x37c)](),_0x55e6bd;}};H=Ci([Se(0x0,_0x31a664),Se(0x1,_0x5c6460(_0x1d66e7)),Se(0x2,_0x5c6460(_0x3919e6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x56c44b,_0xd5134a){const _0x47dbbc=_0x563413;let {radius:_0x1add1a,width:_0x7ea163,height:_0x1efe9b}=_0xd5134a;_0x1add1a=_0x1add1a!=null?_0x1add1a:0x0,_0x7ea163=_0x7ea163!=null?_0x7ea163:0x1e,_0x1efe9b=_0x1efe9b!=null?_0x1efe9b:0x1e;let _0x2f6a53=0x0,_0x5d5211=0x0,_0x264202=0x0;_0x2f6a53=_0x5d5211=_0x264202=Math[_0x47dbbc(0x23b)](_0x1add1a,_0x7ea163/0x2,_0x1efe9b/0x2),_0x56c44b[_0x47dbbc(0x264)](),_0x56c44b[_0x47dbbc(0x2e6)](_0x2f6a53,0x0),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163-_0x5d5211,0x0),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x5d5211,_0x5d5211,_0x5d5211,Math['PI']*0x3/0x2,0x0,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163,_0x1efe9b-_0x264202),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x264202,_0x1efe9b-_0x264202,_0x264202,0x0,Math['PI']/0x2,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](0x0,_0x1efe9b),_0x56c44b['lineTo'](0x0,_0x2f6a53),_0x56c44b[_0x47dbbc(0x27f)](_0x2f6a53,_0x2f6a53,_0x2f6a53,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56c44b[_0x47dbbc(0x33e)](),_0xd5134a[_0x47dbbc(0x2e0)]&&(_0x56c44b[_0x47dbbc(0x243)](),_0x56c44b['fillStyle']=_0xd5134a[_0x47dbbc(0x2e0)],_0xd5134a[_0x47dbbc(0x3bd)]==='evenodd'?_0x56c44b[_0x47dbbc(0x2e0)](_0x47dbbc(0x389)):_0x56c44b[_0x47dbbc(0x2e0)](),_0x56c44b[_0x47dbbc(0x3c2)]());}class he extends _0x1c8015{constructor(_0x2c5276,_0x5c2ecf){const _0x55f35b=_0x563413;super(_0x2c5276,_0x5c2ecf),_(this,'color'),_(this,_0x55f35b(0x2d0)),(this[_0x55f35b(0x2a9)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf['color'],this[_0x55f35b(0x2d0)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf[_0x55f35b(0x2d0)]);}static[_0x563413(0x323)](_0x455f50,_0x4733b3){const _0x386c60=_0x563413,{text:_0x51b0be,color:_0x114074}=_0x4733b3;_0x455f50[_0x386c60(0x243)](),_0x455f50[_0x386c60(0x227)]=_0x386c60(0x348);const _0x5ef6f8=_0x455f50[_0x386c60(0x2f4)](_0x51b0be)['width'],_0x1f8952=Math[_0x386c60(0x23b)](_0x5ef6f8+0x2*me,Qe);bi(_0x455f50,{'height':ee,'radius':0x4,'width':_0x1f8952,'fill':_0x114074}),_0x455f50[_0x386c60(0x341)]=_0x386c60(0x205);const _0x1c6ec7=me,_0x4ad808=ee-Ei,_0x2a1529=Qe-0x2*me;if(_0x5ef6f8>_0x2a1529){let _0x4f3fff='',_0x4ad3a3=0x0;for(const _0x35211b of _0x51b0be){const _0x27c1dc=_0x455f50[_0x386c60(0x2f4)](_0x35211b)[_0x386c60(0x385)];if(_0x4ad3a3+_0x27c1dc<=_0x2a1529-_0x455f50[_0x386c60(0x2f4)](_0x386c60(0x355))['width'])_0x4f3fff+=_0x35211b,_0x4ad3a3+=_0x27c1dc;else{_0x4f3fff+=_0x386c60(0x355);break;}}_0x455f50[_0x386c60(0x2a7)](_0x4f3fff,_0x1c6ec7,_0x4ad808);}else _0x455f50[_0x386c60(0x2a7)](_0x51b0be,_0x1c6ec7,_0x4ad808);_0x455f50['restore']();}[_0x563413(0x370)](_0x29a275){const _0x13502a=_0x563413;he[_0x13502a(0x323)](_0x29a275,this);}}const ge=_0x563413(0x2a8),Oi=_0x563413(0x393),Ti=_0x563413(0x29c),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x563413(0x360);class qe{constructor(_0x2d77ff,_0x5e8f12,_0x2f833c,_0x152faf){const _0x1f39dd=_0x563413;_(this,_0x1f39dd(0x336),[]),_(this,_0x1f39dd(0x1ed),null),_(this,_0x1f39dd(0x2f2),null),_(this,'_anchorDot',null),_(this,_0x1f39dd(0x1eb),null),_(this,'_eventUnsubscribe',null),(this[_0x1f39dd(0x23e)]=_0x2d77ff,this[_0x1f39dd(0x218)]=_0x5e8f12,this[_0x1f39dd(0x390)]=_0x2f833c,this[_0x1f39dd(0x1d7)]=_0x152faf,this['_render']());}set[_0x563413(0x285)](_0x5b2a98){const _0x5bd146=_0x563413;_0x5b2a98?(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['hide'](),this[_0x5bd146(0x2f2)]&&this['_textBubble'][_0x5bd146(0x244)]()):(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['show'](),this['_textBubble']&&this[_0x5bd146(0x2f2)][_0x5bd146(0x3ba)]());}['dispose'](){const _0xa47711=_0x563413;for(const _0x592bc9 of this[_0xa47711(0x336)])_0x592bc9[_0xa47711(0x37b)]();this[_0xa47711(0x2f2)]&&this[_0xa47711(0x2f2)][_0xa47711(0x37b)](),this[_0xa47711(0x324)]&&this[_0xa47711(0x324)][_0xa47711(0x37b)](),this[_0xa47711(0x1ed)]&&this[_0xa47711(0x1ed)][_0xa47711(0x37b)](),this['_eventUnsubscribe']&&this[_0xa47711(0x3c0)]();}[_0x563413(0x28c)](){const _0x664114=_0x563413;var _0x59365c;const {_docSkeleton:_0x53abf1,_document:_0x19cec7}=this,{color:_0x3c38a4,name:_0x11962d,ranges:_0x40a600}=this[_0x664114(0x23e)],_0x2e8375=_0x19cec7[_0x664114(0x27d)](),{docsLeft:_0x3435af,docsTop:_0x31395c}=_0x2e8375,_0x3a4a5a=new _0x57941f(_0x2e8375,_0x53abf1);for(const {startOffset:_0x262eda,endOffset:_0x2128a3,rangeType:_0x16b71c,segmentId:_0x116a88,segmentPage:_0x58583d,collapsed:_0x12034a,isActive:_0x15d1a5}of _0x40a600){const _0x5e8f01=_0x53abf1[_0x664114(0x248)](_0x262eda,!0x0,_0x116a88,_0x58583d);let _0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3,!0x0,_0x116a88,_0x58583d);if(_0x3d117c==null&&(_0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3-0x1,!0x1,_0x116a88,_0x58583d)),_0x15d1a5){const {contentBoxPointGroup:_0x3061f0}=_0x3a4a5a[_0x664114(0x296)](_0x3d117c,_0x3d117c);if(_0x3061f0[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x39f)](_0x3c38a4,_0x3061f0,_0x3435af,_0x31395c,_0x11962d),this['_eventUnsubscribe']=this[_0x664114(0x34d)]();}if(_0x5e8f01&&_0x3d117c){if(_0x16b71c===_0x245254[_0x664114(0x37a)]){const _0x591f86=new _0xdf1a59(_0x2e8375,_0x53abf1),{pointGroup:_0x268e71}=(_0x59365c=_0x591f86[_0x664114(0x296)](_0x5e8f01,_0x3d117c))!=null?_0x59365c:{};if(_0x268e71==null||_0x268e71[_0x664114(0x37f)]===0x0)continue;this['_drawRectRange'](_0x3c38a4,_0x268e71,_0x3435af,_0x31395c);}else{if(!_0x12034a){const {borderBoxPointGroup:_0xad8a27}=_0x3a4a5a['getRangePointData'](_0x5e8f01,_0x3d117c);if(_0xad8a27[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x3a7)](_0x3c38a4,_0xad8a27,_0x3435af,_0x31395c);}}}}}[_0x563413(0x39f)](_0x82bd8a,_0x1c685d,_0x343a3e,_0x565a90,_0x5a010b){const _0x14cda1=_0x563413,_0x2558dd=this[_0x14cda1(0x287)](_0x1c685d),{left:_0x82a818,top:_0x34038b,height:_0x407633}=_0x2558dd,_0x2d8c90=this[_0x14cda1(0x211)](),_0x32c829=Di/_0x2d8c90,_0x14eb5d=new _0x17081d(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90,'height':_0x407633,'width':Ri,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':_0x32c829,'stroke':Ni,'evented':!0x0});this[_0x14cda1(0x1ed)]=_0x14eb5d,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x14eb5d,_0x3fc072);const _0x20ac59=new _0x17081d(ge+_0x17cd4d['generateRandomId'](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ve/0x2,'height':ve,'width':ve,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':0x0,'stroke':_0x82bd8a||_0x50666a(_0x2a7dc9['black'],0x0),'evented':!0x1});this[_0x14cda1(0x324)]=_0x20ac59,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x20ac59,_0x3fc072);const _0x10662a=new he(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ee,'text':_0x5a010b,'color':_0x82bd8a});this[_0x14cda1(0x2f2)]=_0x10662a,this['_scene'][_0x14cda1(0x27c)](_0x10662a,_0x3fc072),this[_0x14cda1(0x285)]=!0x1;}[_0x563413(0x34d)](){const _0x2cc88a=_0x563413,_0x520e41=this['_anchor']['onPointerEnter$'][_0x2cc88a(0x313)](()=>{this['_hover']=!0x0;}),_0x49f332=this['_anchor'][_0x2cc88a(0x3c1)][_0x2cc88a(0x313)](()=>{const _0x43e450=_0x2cc88a;this[_0x43e450(0x1eb)]&&clearTimeout(this[_0x43e450(0x1eb)]),this[_0x43e450(0x1eb)]=setTimeout(()=>{const _0x5859cd=_0x43e450;this[_0x5859cd(0x285)]=!0x1;},0x7d0);});return()=>{const _0x31cca7=_0x2cc88a;_0x520e41[_0x31cca7(0x272)](),_0x49f332['unsubscribe']();};}[_0x563413(0x3a7)](_0x354607,_0x4afd98,_0x3177f1,_0x5f06d8){const _0x259e7a=_0x563413,_0x18f8e0=new _0x3eb592(_0x354607)[_0x259e7a(0x20d)](0.2)[_0x259e7a(0x2ab)](),_0x3590ff=new _0x5d7fb6(Oi+_0x17cd4d[_0x259e7a(0x290)](X),{'pointsGroup':_0x4afd98,'fill':_0x18f8e0||_0x50666a(_0x2a7dc9[_0x259e7a(0x327)],0.2),'left':_0x3177f1,'top':_0x5f06d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x259e7a(0x336)]['push'](_0x3590ff),this[_0x259e7a(0x218)][_0x259e7a(0x27c)](_0x3590ff,_0x3fc072);}[_0x563413(0x26d)](_0x1ff831,_0x421a6a,_0x193aa7,_0x31fba2){const _0x178896=_0x563413,_0x3e3815=new _0x3eb592(_0x1ff831)[_0x178896(0x20d)](0.2)[_0x178896(0x2ab)](),_0x32f0be=new _0x5d7fb6(Ti+_0x17cd4d['generateRandomId'](X),{'pointsGroup':_0x421a6a,'fill':_0x3e3815||_0x50666a(_0x2a7dc9[_0x178896(0x327)],0.2),'left':_0x193aa7,'top':_0x31fba2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x178896(0x336)]['push'](_0x32f0be),this[_0x178896(0x218)][_0x178896(0x27c)](_0x32f0be,_0x3fc072);}[_0x563413(0x287)](_0xba4ce7){const _0x120f54=_0xba4ce7[0x0],_0xab921a=_0x120f54[0x0],_0x234117=_0x120f54[0x2],{x:_0xa1e062,y:_0x56261d}=_0xab921a,{x:_0x25f522,y:_0x1182e4}=_0x234117;return{'left':_0xa1e062,'top':_0x56261d,'width':_0x25f522-_0xa1e062,'height':_0x1182e4-_0x56261d};}[_0x563413(0x211)](){const _0x1bb65d=_0x563413,{scaleX:_0x1f683e,scaleY:_0x2d2ba9}=this[_0x1bb65d(0x218)][_0x1bb65d(0x3d0)]();return Math[_0x1bb65d(0x306)](_0x1f683e,_0x2d2ba9);}}var Ui=Object[_0x563413(0x350)],Mi=(_0xc658b0,_0x30ef01,_0x1cf7fe,_0x23b1a5)=>{const _0x1006ff=_0x563413;for(var _0x2f48da=_0x23b1a5>0x1?void 0x0:_0x23b1a5?Ui(_0x30ef01,_0x1cf7fe):_0x30ef01,_0x244f91=_0xc658b0[_0x1006ff(0x37f)]-0x1,_0x492eba;_0x244f91>=0x0;_0x244f91--)(_0x492eba=_0xc658b0[_0x244f91])&&(_0x2f48da=_0x492eba(_0x2f48da)||_0x2f48da);return _0x2f48da;},Z=(_0x5b8f1e,_0x24f4bd)=>(_0xa8cc56,_0x5c6ced)=>_0x24f4bd(_0xa8cc56,_0x5c6ced,_0x5b8f1e);let Pe=class extends _0x4b74ae{constructor(_0x283581,_0x3b0a65,_0x5aeee9,_0x199704,_0x24fff3){const _0x1f13e3=_0x563413;super(),_(this,'_cursorShapes',[]),_(this,_0x1f13e3(0x273),[]),(this[_0x1f13e3(0x1f1)]=_0x283581,this['_docSkeletonManagerService']=_0x3b0a65,this[_0x1f13e3(0x31c)]=_0x5aeee9,this[_0x1f13e3(0x30f)]=_0x199704,this[_0x1f13e3(0x32b)]=_0x24fff3,this[_0x1f13e3(0x2c6)]());}[_0x563413(0x2c6)](){const _0x18cd0e=_0x563413,_0x314930=this[_0x18cd0e(0x1f1)]['unitId'],_0x2603e0=this[_0x18cd0e(0x315)];this[_0x18cd0e(0x1f8)](_0x10706b([this[_0x18cd0e(0x31c)][_0x18cd0e(0x26c)](_0x314930),this[_0x18cd0e(0x32b)]['currentTheme$']])[_0x18cd0e(0x3bf)](_0x1ba986(([_0x141ac7,_0x47e242])=>({'skeleton':_0x2603e0[_0x18cd0e(0x2d7)](),'cursors':[..._0x141ac7[_0x18cd0e(0x1de)]()][_0x18cd0e(0x23a)](_0x43c532=>({..._0x43c532,'color':_0x47e242[_0x43c532['color']]}))})))[_0x18cd0e(0x240)](_0x373158=>{const _0x3abaa9=_0x18cd0e;if(this[_0x3abaa9(0x34c)](),_0x373158){const {skeleton:_0x417bf0,cursors:_0x32ef90}=_0x373158;this[_0x3abaa9(0x2ea)](_0x417bf0,_0x32ef90);}})),this[_0x18cd0e(0x1e1)](),this[_0x18cd0e(0x1ef)]();}[_0x563413(0x2ea)](_0x32cd3a,_0x81a2cf){const _0x307bcd=_0x563413,{scene:_0x542865,mainComponent:_0x1788dd}=this['_context'],_0x2d685b=_0x81a2cf[_0x307bcd(0x314)](_0x2abbac=>new qe(_0x2abbac,_0x542865,_0x32cd3a,_0x1788dd));this[_0x307bcd(0x1d5)]=_0x2d685b,this[_0x307bcd(0x273)]=_0x81a2cf;}['_refreshCollabCursors'](){const _0x3ec478=_0x563413;this[_0x3ec478(0x34c)]();const {scene:_0x13be9a,mainComponent:_0x382e95}=this['_context'],_0x462204=this['_docSkeletonManagerService'][_0x3ec478(0x2d7)](),_0x1799fd=this['_cursors']['map'](_0x3cf7ee=>new qe(_0x3cf7ee,_0x13be9a,_0x462204,_0x382e95));this[_0x3ec478(0x1d5)]=_0x1799fd;}['_removeCollabCursors'](){const _0x5c9747=_0x563413;this[_0x5c9747(0x1d5)]['forEach'](_0x482978=>_0x482978[_0x5c9747(0x37b)]()),this[_0x5c9747(0x1d5)]=[];}[_0x563413(0x1ef)](){const _0xc0fbc4=_0x563413,_0x55b599=[_0x3963d1['id']];this['disposeWithMe'](this[_0xc0fbc4(0x30f)][_0xc0fbc4(0x1d3)](_0x5b28d6=>{const _0x19c940=_0xc0fbc4;_0x55b599[_0x19c940(0x24f)](_0x5b28d6['id'])&&_0x5b28d6[_0x19c940(0x2ac)]['unitId']===this[_0x19c940(0x1f1)][_0x19c940(0x35c)]&&this[_0x19c940(0x29f)]();}));}['_initResize'](){const _0x259f9c=_0x563413;this['disposeWithMe'](_0x4c5485(this[_0x259f9c(0x1f1)][_0x259f9c(0x24b)][_0x259f9c(0x399)])[_0x259f9c(0x3bf)](_0x397e46(_0x268737=>_0x268737[_0x259f9c(0x3b0)]===_0x51a3cb[_0x259f9c(0x3c8)]),_0x1d7bc4(0x10))[_0x259f9c(0x240)](()=>{const _0x3e1149=_0x259f9c;this[_0x3e1149(0x29f)]();}));}};Pe=Mi([Z(0x1,_0x5c6460(_0x4f1317)),Z(0x2,_0x5c6460(H)),Z(0x3,_0x3117b8),Z(0x4,_0x5c6460(_0x1ee369))],Pe);const Pi=0x1,wi=1.5;function _0x5b78(){const _0x214693=['3616XOnJoX','beginPath','APPLY_REVISION_CONFILICT','_status$','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','_transformPreviousActiveRange','colorChannel1','_startDocCollabCursor','getCollabCursors$','_drawRectRange','whenReady','blue400','_createSocketURL','runId','unsubscribe','_cursors','mask','OTHER_CLIENT_EDITING','LOGIN_FAILED','_beforeCloseService','ticket','getUnitId','univer-flex\x20univer-items-center','origin','addObject','getOffsetConfig','debug','arc','getUnitStatus$','clearTimeout','code','_ensureSubject','TEXT','_hover','doc.mutation.rich-text-editing','_getAnchorBounding','UNRECOGNIZED','unshift','collabStatus.offline','unload','_render','RemoveColCommandId','_heartbeatTimer','imageSourceType','generateRandomId','_logService','_uiPartsService','setConfig','off-line-single','on-line-single_clip0_910_349','getRangePointData','isEditing','_localeService','with','mutations','forEach','collab-rect-range-','activeSheet$','NOT_FOUND','_refreshCollabCursors','_setupBeforeClosingHandler','Unknown\x20user','session.connection-failed','ONLINE','purple300','clearInterval','_send','fillText','collab-text-anchor-','color','_name','toRgbString','params','getParam','getTypeOfUnitAdded$','event$','height','UNDEFINED','path','_range','split','WECHAT_HAS_BEEN_BOUND','makeDirty','currentColor','searchParams','saveImage','_transformService','registerRefRange','setInterval','5066nHjdoR','selection','div','transformMutationsWithChangeset','univer-text-red-500','_unitOnClients','INVITE_CODE_REQUIRED','LICENSE_EXPORT_SIZE_EXCEEDED','range','_init','_sheetSkeletonManagerService','idSuffix','univerjs-icon\x20univerjs-icon-','push','none','propertyIsEnumerable','23597EoKrGu','invokeId','ranges','text','_handleJoinEvent','getMergeData','transformIMECache','InsertColCommandId','currentTheme$','transformRemoteChangeset','getSkeleton','uni.network.url-service','getTypeOfUnitDisposed$','tag','url(#off-line-single_clip0_910_343)','getStateCache','sessionStatus$','roomMembers','all','fill','getCurrentRevOfUnit','substring','random','_getSaveTimeout','UNAUTHENTICATED','moveTo','USER_NOT_INVITED_CODE','onMouseMove','location','_updateCollabCursors','APPLY_PERMISSION_DENIED','unit','getUnhiddenWorksheets','setShapeProps','collaboration.single-unit.warning','eventID','APPLY_REJECT','_textBubble','_onCursorUpdate','measureText','getValue','storage','PERMISSION_DENIED','getSheetId','INVALID_INVITE_CODE','_injector','2262744WhBsrz','subUnitId','UniverIcon','_initEvent','column','CLOSE_ROOM','dispose$','result','disableLocalCache','translate(.97)','_selfUnitIDs','max','asObservable','add','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_URL_COL_OUT_OF_RANGE','attrs','defineProperty','getFocusedUnit','_onCursorDelete','_commandService','m1Prime','_labelPosition','isArray','subscribeEvent','map','_docSkeletonManagerService','extend','triggerDblclick','reconnect','_scheduleHeartbeat','application/json','CONNECTOR_DATA_TOO_LARGE','_collabCursorController','_session','MOBILE_HAS_BEEN_BOUND','_univerInstanceService','M0\x200H16V16H0z','startRow','redoState','drawWith','_anchorDot','INVITE_CODE_HAS_BEEN_UES','_saveTaskMap','black','on-line-single','_assignedColors','_disabled','_themeService','string','HEADER_MENU','get','_urlService','JOIN_ROOM_FAILED','_lastPointer','contains','YUUMI_UNABLE_LOAD_URL','popstate','_revisionService','_shapes','4392652prdnmk','_config','send','_updateSubUnitFromURLParams','univer-flex\x20univer-mr-2\x20univer-text-[20px]','setStateCache','undoState','closePath','exhaustSavingTask','cursorInfo$','fillStyle','complete','syncEditingCollabCursor','1em','_notificationService','addHandlerCallback','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','from','hasOwnProperty','then','_removeCollabCursors','_handleHover','_cursorInfo$','entries','getOwnPropertyDescriptor','_messageService','#fff','registerBeforeClose','editingUnit','...','_entityInit$','toString','_localStorageService','name','_getMergeRange','url(#$1','unitId','transformStateCache','AWAITING','cursorInfo','rgba(255,\x20255,\x20255,\x200.01)','history','collaboration.closeRoom','OTHER_CLIENTS_EDITING','disposeUnit','_updateLocalCursor','_configService','transformMutation','OffLineSingle','Warning','96qgqTdJ','_localCacheService','YUUMI_RATE_OVER_LIMIT','size','off-line-single_clip0_910_343','use','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','getActiveSheet','_transformHistoryAndStateStack','getRelativeToViewportCoord','unitID','UPDATE_CURSOR','_docTransformSelectionsService','onRendered','/run/','RECT','dispose','init','_docTransformStateCacheService','prototype','length','NO_OTHER_CLIENTS_EDITING','focused$','_startSheetCollabCursor','sessionTicket','FromArray','width','getSheetBySheetId','onPointerEnter$','createInstance','evenodd','_handleLeaveEvent','jiqing500','replace','sheetId','SNAPSHOT_INVALID_SNAPSHOT','round','_docSkeleton','_hovered','_saveCache','collab-text-range-','UNIVER_SHEET','data','_cachedData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defs','onTransformChange$','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','currentSkeleton$','_scheduleClearOtherTimer','removeParam','_drawAnchor','find','set','DeleteRangeMoveUpCommandId','assign','getItem','MoveRangeCommandId','OFFLINE','_drawTextRange','registerComponent','runOnServer','collabStatus.fetchMiss','_instanceService','_color','_id','setUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','type','_imageIoService','replaceState','_doCreateSocket','isActive','setActiveRange','has','some','parse','_scheduleSaving','hide','_docTransformIMECacheService','_entities','fillRule','transform','pipe','_eventUnsubscribe','onPointerLeave$','restore','_setupSubUnitSync','url(#on-line-single_clip0_910_349)','LICENSE_DISTRO_REJECTED','deepClone','getActiveRange','resize','session.collaboration-timeout','12yzvzLW','_collaborationController','_toggleOnline','_initStatusListener','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','roomMembers$','getAncestorScale','onLocalMutation','collabCursorState$','_toggleOffline','defIds','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','_docClipboardService','icon','getCollabEntity$','onCommandExecuted','apply','_cursorShapes','SOCKET_FAILED_RETRY','_document','permission.content','bottom','getConfig','gold400','_dataLoaderService','subunit','values','_collabCursorState$','executionId','_initResize','body','_collaborationUIEventService','xlink:href','_initStatusComponent','trim','TOO_MANY_REQUESTS','delete','_handleEvent','requireSession','_hideTimer','getVpScrollXYInfoByPosToVp','_anchor','getDocRanges','_initCommandExecutedListener','1670056jKBCUO','_context','setParam','m2Prime','_docStateChangeManagerService','_colorAssignService','indexOf','_onRefRangeChange','disposeWithMe','createSocket','_roomMembers$','collabStatus.conflict','_initDependencies','_docSyncEditingCollabCursorService','setTimeout','pushState','_httpService','42xGWAve','sheetID','_getSheetObject','NOT_COLLAB','#FFF','FETCH_MISS','_getSessionTicket','SOCKET_FAILED','_online','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_IMPORT_SIZE_EXCEEDED','href','setAlpha','addEventListener','labelPosition','setItem','_getScale','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertySymbols','function','displayName','_scene','red300','_clearOtherTimers','47AVZTJf','status$','InsertRowCommandId','SNAPSHOT_HAS_BEEN_REMOVED','getCellPositionByOffset','newValue','replaceDocRanges','_transformUndoRedoStack','_collabSessionService','_unitStatus','collab-client.tooltip.reconnect','CHANGESET_REVISION_CONFILICT','font','_memberService','verdancy600','_refRangeService','getMemberID','Error','10MXhljq','_registerRenderDependencies','345200UGMHSj','COMPLETION_FINISHED','call','_backgroundColor','UNIVER_DOC','ALREADY_EXISTS','assignAColorForMemberID','[CollaborationDataLoaderController]','permission.title','getRenderById','ENSURE_SNAPSHOT_EXECUTION','flatMap','min','getMember','_updateURLWithCurrentState','_cursor','_initEntityListener','subscribe','next','_handleHeartbeatEvent','save','show','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformByState','symbol','findNodePositionByCharIndex','concat','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','Failed','addClipboardHook','includes','svg','collabStatus.syncing','textRanges','executeCommand','getCurrentSelections','source','CONFLICT','urlChange$','key','APPLY_DUPLICATED','override','top','saveTaskMap','error','hovered','endColumn','clipPath','className','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x5b78=function(){return _0x214693;};return _0x5b78();}class Li extends _0x1c8015{constructor(_0x21554e,_0x2278a5){const _0x7e552b=_0x563413;super(_0x21554e,_0x2278a5),_(this,_0x7e552b(0x3ac)),_(this,'_hovered',!0x1),_(this,_0x7e552b(0x2b3)),_(this,_0x7e552b(0x2aa),''),_(this,_0x7e552b(0x311),_0x7e552b(0x25b)),_(this,_0x7e552b(0x232)),(_0x2278a5&&this[_0x7e552b(0x2ee)](_0x2278a5),this[_0x7e552b(0x387)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x0})),this[_0x7e552b(0x3c1)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x1})));}[_0x563413(0x2ee)](_0x44c8af){const _0x19be65=_0x563413;var _0x115600,_0x30c869,_0x58161b,_0x4b32d6,_0x5ee06b,_0x60b211;this[_0x19be65(0x3ac)]=(_0x115600=_0x44c8af[_0x19be65(0x2a9)])!=null?_0x115600:this[_0x19be65(0x3ac)],this[_0x19be65(0x391)]=(_0x30c869=_0x44c8af[_0x19be65(0x25e)])!=null?_0x30c869:this['_hovered'],this[_0x19be65(0x2b3)]=(_0x58161b=_0x44c8af[_0x19be65(0x2c5)])!=null?_0x58161b:this[_0x19be65(0x2b3)],this[_0x19be65(0x2aa)]=(_0x4b32d6=_0x44c8af['name'])!=null?_0x4b32d6:this[_0x19be65(0x2aa)],this[_0x19be65(0x311)]=(_0x5ee06b=_0x44c8af[_0x19be65(0x20f)])!=null?_0x5ee06b:this[_0x19be65(0x311)],this[_0x19be65(0x232)]=(_0x60b211=_0x44c8af['backgroundColor'])!=null?_0x60b211:this[_0x19be65(0x232)],this[_0x19be65(0x246)]({'width':_0x44c8af[_0x19be65(0x385)],'height':_0x44c8af[_0x19be65(0x2b0)]});}[_0x563413(0x2e8)](_0xd949d3){const _0x4c855d=_0x563413,{row:_0x53370d,column:_0x58632a}=_0xd949d3;if(_0x53370d>=this[_0x4c855d(0x2b3)][_0x4c855d(0x321)]&&_0x53370d<=this['_range']['endRow']&&_0x58632a>=this[_0x4c855d(0x2b3)]['startColumn']&&_0x58632a<=this['_range'][_0x4c855d(0x25f)]){this[_0x4c855d(0x2ee)]({'hovered':!0x0});return;}this[_0x4c855d(0x2ee)]({'hovered':!0x1});}[_0x563413(0x317)](_0x595e7b){return!0x1;}[_0x563413(0x370)](_0x27270d){const _0xdf0931=_0x563413;_0x17081d[_0xdf0931(0x323)](_0x27270d,{'width':this[_0xdf0931(0x385)],'height':this[_0xdf0931(0x2b0)],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xdf0931(0x232)]}),this[_0xdf0931(0x391)]&&(_0x27270d['save'](),_0x27270d[_0xdf0931(0x3be)](0x1,0x0,0x0,0x1,this[_0xdf0931(0x385)],this[_0xdf0931(0x311)]===_0xdf0931(0x1d9)?0x0:-0x14),he['drawWith'](_0x27270d,{'text':this['_name'],'color':this['_color']}),_0x27270d[_0xdf0931(0x3c2)]());}}var Ai=Object[_0x563413(0x350)],yi=(_0x508a11,_0x2204f9,_0x415fd4,_0x5e769d)=>{const _0x31d862=_0x563413;for(var _0x91e644=_0x5e769d>0x1?void 0x0:_0x5e769d?Ai(_0x2204f9,_0x415fd4):_0x2204f9,_0x1349c1=_0x508a11[_0x31d862(0x37f)]-0x1,_0x3366c3;_0x1349c1>=0x0;_0x1349c1--)(_0x3366c3=_0x508a11[_0x1349c1])&&(_0x91e644=_0x3366c3(_0x91e644)||_0x91e644);return _0x91e644;},Ie=(_0x3ec7f8,_0x45621e)=>(_0x321475,_0x1e7f58)=>_0x45621e(_0x321475,_0x1e7f58,_0x3ec7f8);const $i=0x1389;let we=class extends _0x4b74ae{constructor(_0x5f4ba8,_0x5cb72a,_0x46e3be,_0x393070){const _0x31a4de=_0x563413;super(),_(this,_0x31a4de(0x273),new Set()),_(this,_0x31a4de(0x331),null),(this[_0x31a4de(0x1f1)]=_0x5f4ba8,this[_0x31a4de(0x2c7)]=_0x5cb72a,this[_0x31a4de(0x31c)]=_0x46e3be,this[_0x31a4de(0x32b)]=_0x393070,this[_0x31a4de(0x2c6)]());}[_0x563413(0x2c6)](){const _0x20b8be=_0x563413;this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x3bf)](_0x53e4ae(this[_0x20b8be(0x301)]),_0x13823e(_0x4b1530=>{const _0x205f8b=_0x20b8be;if(_0x4b1530){const _0x1c4d3c=_0x4b1530[_0x205f8b(0x38d)];return _0x10706b(this[_0x205f8b(0x31c)]['getCollabCursors$'](this[_0x205f8b(0x1f1)][_0x205f8b(0x35c)]),this[_0x205f8b(0x32b)][_0x205f8b(0x2d5)])[_0x205f8b(0x3bf)](_0x1ba986(([_0x576e7f,_0x3360fc])=>{const _0xfeb563=_0x205f8b,_0x18febb=new Map();return _0x576e7f[_0xfeb563(0x29b)]((_0x1243fc,_0x2d8547)=>{const _0x59fc34=_0xfeb563;if(_0x1243fc[_0x59fc34(0x202)]===_0x1c4d3c){const _0x3d1125={..._0x1243fc};_0x3d1125['color']=_0x3360fc[_0x1243fc[_0x59fc34(0x2a9)]],_0x18febb[_0x59fc34(0x3a1)](_0x2d8547,_0x3d1125);}}),{'skeleton':_0x4b1530,'cursors':_0x18febb};}));}return _0x1ce394({'skeleton':null,'cursors':new Map()});}))[_0x20b8be(0x240)](({skeleton:_0x43c9c2,cursors:_0x1fdf69})=>{const _0x5957ed=_0x20b8be;this[_0x5957ed(0x34c)](),_0x43c9c2&&this[_0x5957ed(0x2ea)](_0x43c9c2,_0x1fdf69);}),this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x240)](_0x470046=>{const _0x40dafc=_0x20b8be;if(_0x470046==null)return;const {skeleton:_0x22a24e}=_0x470046,{scene:_0x4c7901}=this['_context'];_0x4c7901['onPointerMove$'][_0x40dafc(0x313)](_0x26c543(_0x466eef=>{const _0xe61bde=_0x40dafc;var _0x5d374a,_0x5183cd;const {offsetX:_0x5b6889,offsetY:_0x377326}=_0x466eef,{x:_0x5e0522,y:_0x4326d8}=_0x4c7901[_0xe61bde(0x374)](_0x22f062[_0xe61bde(0x384)]([_0x5b6889,_0x377326])),{scaleX:_0x1e3bb,scaleY:_0x2ecdc0}=_0x4c7901[_0xe61bde(0x3d0)](),_0x3a01e4=_0x4c7901['getViewport'](_0x6d020d['VIEW_MAIN']),_0x5b380f=_0x4c7901[_0xe61bde(0x1ec)](_0x22f062['FromArray']([_0x5e0522,_0x4326d8]),_0x3a01e4),_0xff5102=_0x22a24e[_0xe61bde(0x21f)](_0x5b6889,_0x377326,_0x1e3bb,_0x2ecdc0,_0x5b380f);((_0x5d374a=this[_0xe61bde(0x331)])==null?void 0x0:_0x5d374a['column'])===_0xff5102[_0xe61bde(0x2ff)]&&((_0x5183cd=this['_lastPointer'])==null?void 0x0:_0x5183cd['row'])===_0xff5102['row']||this[_0xe61bde(0x273)][_0xe61bde(0x29b)](_0xc53e54=>{const _0x4ae01f=_0xe61bde;_0xc53e54[_0x4ae01f(0x2e8)](_0xff5102);});},0x64));});}[_0x563413(0x2ea)](_0x254f03,_0x2007d9){const _0x36570b=_0x563413;var _0x27c72c;const _0x1375d3=(_0x27c72c=this[_0x36570b(0x2c7)]['getCurrent']())==null?void 0x0:_0x27c72c['skeleton'];if(!_0x1375d3)return;const _0xe61c54=this[_0x36570b(0x203)]();if(!_0xe61c54)return;this[_0x36570b(0x273)][_0x36570b(0x29b)](_0xa160f8=>{const _0xc30c60=_0x36570b;_0xa160f8[_0xc30c60(0x2b6)]();});const {scene:_0x41f9f1}=_0xe61c54,_0x2e8fb=xi(Array[_0x36570b(0x349)](_0x2007d9[_0x36570b(0x1de)]()))[_0x36570b(0x314)](_0xa94087=>{const _0x3cb362=_0x36570b,{color:_0x5488dd,range:_0x499f5b,name:_0x499ac4,selection:_0x3c5c90,sheetID:_0x11eb4d}=_0xa94087,{startColumn:_0x1437b6,startRow:_0x4c90ab,endColumn:_0x9402c1,endRow:_0x5b68af}=_0x499f5b,_0x44974e=_0x58b02a(_0x4c90ab,_0x1437b6,_0x41f9f1,_0x1375d3),_0x1115c4=_0x58b02a(_0x5b68af,_0x9402c1,_0x41f9f1,_0x1375d3),{columnHeaderHeightAndMarginTop:_0x6ef1b1}=_0x1375d3,{startX:_0x573b7b,startY:_0x26710d}=_0x44974e,{endX:_0x1a01c9,endY:_0x4cfd8d}=_0x1115c4,_0x3288c9=_0x1a01c9-_0x573b7b,_0x4a6daa=_0x4cfd8d-_0x26710d,_0x506403={'labelPosition':_0x26710d-_0x6ef1b1>=ee?_0x3cb362(0x25b):'bottom','sheetID':_0x11eb4d,'range':_0x499f5b,'color':_0x5488dd,'name':_0x499ac4,'selection':_0x3c5c90,'left':_0x573b7b,'top':_0x26710d,'width':_0x3288c9,'height':_0x4a6daa,'evented':!0x1,'zIndex':$i};return new Li(_0x499ac4,_0x506403);});_0x41f9f1['addObjects'](_0x2e8fb,Pi),this[_0x36570b(0x273)]=new Set(_0x2e8fb);}['_removeCollabCursors'](){const _0x4b2b67=_0x563413;var _0x15e071;(_0x15e071=this[_0x4b2b67(0x273)])==null||_0x15e071[_0x4b2b67(0x29b)](_0x2f2e64=>_0x2f2e64[_0x4b2b67(0x37b)]());}['_getSheetObject'](){const _0x292a25=_0x563413;return _0x2f0b6e(this[_0x292a25(0x1f1)][_0x292a25(0x2ec)],this[_0x292a25(0x1f1)]);}};we=yi([Ie(0x1,_0x5c6460(_0x3ea723)),Ie(0x2,_0x5c6460(H)),Ie(0x3,_0x5c6460(_0x1ee369))],we);function xi(_0x46890e){const _0x50a159=_0x563413,_0x79ae45=new Map();return _0x46890e['forEach'](_0x4ca32b=>{const _0x11cabf=_0x129d;if(_0x79ae45['has'](_0x4ca32b[_0x11cabf(0x2be)])){const _0x5df262=_0x79ae45[_0x11cabf(0x32e)](_0x4ca32b['selection']);_0x5df262[_0x11cabf(0x359)]+=',\x20'+_0x4ca32b['name'];}else _0x79ae45['set'](_0x4ca32b[_0x11cabf(0x2be)],_0x4ca32b);}),Array[_0x50a159(0x349)](_0x79ae45[_0x50a159(0x1de)]());}var I=function(){const _0x46a80b=_0x563413;return I=Object[_0x46a80b(0x3a3)]||function(_0x2774f2){const _0x4c18d3=_0x46a80b;for(var _0xc4d2be,_0x56e151=0x1,_0x22240c=arguments[_0x4c18d3(0x37f)];_0x56e151<_0x22240c;_0x56e151++){_0xc4d2be=arguments[_0x56e151];for(var _0x17ef70 in _0xc4d2be)Object[_0x4c18d3(0x37e)][_0x4c18d3(0x34a)]['call'](_0xc4d2be,_0x17ef70)&&(_0x2774f2[_0x17ef70]=_0xc4d2be[_0x17ef70]);}return _0x2774f2;},I[_0x46a80b(0x1d4)](this,arguments);},Bi=function(_0x488b00,_0x42afd5){const _0x5a303d=_0x563413;var _0x7e3192={};for(var _0x2fc5a9 in _0x488b00)Object['prototype']['hasOwnProperty'][_0x5a303d(0x231)](_0x488b00,_0x2fc5a9)&&_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9)<0x0&&(_0x7e3192[_0x2fc5a9]=_0x488b00[_0x2fc5a9]);if(_0x488b00!=null&&typeof Object[_0x5a303d(0x215)]==_0x5a303d(0x216)){for(var _0x2d71fd=0x0,_0x2fc5a9=Object[_0x5a303d(0x215)](_0x488b00);_0x2d71fd<_0x2fc5a9[_0x5a303d(0x37f)];_0x2d71fd++)_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9[_0x2d71fd])<0x0&&Object[_0x5a303d(0x37e)][_0x5a303d(0x2cc)]['call'](_0x488b00,_0x2fc5a9[_0x2d71fd])&&(_0x7e3192[_0x2fc5a9[_0x2d71fd]]=_0x488b00[_0x2fc5a9[_0x2d71fd]]);}return _0x7e3192;},je=_0x75af45(function(_0x13b585,_0x225399){const _0x41442d=_0x563413;var _0x5ee1ab=_0x13b585[_0x41442d(0x3da)],_0x2a284e=_0x13b585['id'],_0x5e4a05=_0x13b585[_0x41442d(0x261)],_0x42a337=_0x13b585[_0x41442d(0x316)],_0x50572b=Bi(_0x13b585,['icon','id',_0x41442d(0x261),_0x41442d(0x316)]),_0x247fbf=_0x41442d(0x2c9)[_0x41442d(0x249)](_0x2a284e,'\x20')[_0x41442d(0x249)](_0x5e4a05||'')[_0x41442d(0x1e6)](),_0x417ebe=_0x16e5d0('_'[_0x41442d(0x249)](ji()));return Rt(_0x5ee1ab,''[_0x41442d(0x249)](_0x2a284e),{'defIds':_0x5ee1ab['defIds'],'idSuffix':_0x417ebe['current']},I({'ref':_0x225399,'className':_0x247fbf},_0x50572b),_0x42a337);});function Rt(_0x1896c8,_0x293dc5,_0x7d180c,_0x50d6cb,_0x4bb102){return _0x2072fd(_0x1896c8['tag'],I(I({'key':_0x293dc5},ki(_0x1896c8,_0x7d180c,_0x4bb102)),_0x50d6cb),(Hi(_0x1896c8,_0x7d180c)['children']||[])['map'](function(_0x52efd6,_0x128d72){const _0x352268=_0x129d;return Rt(_0x52efd6,''[_0x352268(0x249)](_0x293dc5,'-')[_0x352268(0x249)](_0x1896c8['tag'],'-')[_0x352268(0x249)](_0x128d72),_0x7d180c,void 0x0,_0x4bb102);}));}function ki(_0x1d397d,_0xb2f9c2,_0x109cfc){const _0x2f6182=_0x563413;var _0x3d71ba=I({},_0x1d397d[_0x2f6182(0x30b)]);_0x109cfc!=null&&_0x109cfc[_0x2f6182(0x26a)]&&_0x3d71ba[_0x2f6182(0x2e0)]==='colorChannel1'&&(_0x3d71ba[_0x2f6182(0x2e0)]=_0x109cfc[_0x2f6182(0x26a)]),_0x1d397d['tag']===_0x2f6182(0x274)&&_0x3d71ba['id']&&(_0x3d71ba['id']=_0x3d71ba['id']+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x15e05e){const _0x31a6cf=_0x2f6182;var _0x445829=_0x15e05e[0x0],_0x519187=_0x15e05e[0x1];_0x445829===_0x31a6cf(0x274)&&typeof _0x519187=='string'&&(_0x3d71ba[_0x445829]=_0x519187[_0x31a6cf(0x38c)](/url\(#(.*)\)/,_0x31a6cf(0x35b)[_0x31a6cf(0x249)](_0xb2f9c2[_0x31a6cf(0x2c8)],')')));});var _0x204d72=_0xb2f9c2[_0x2f6182(0x3d4)];return!_0x204d72||_0x204d72[_0x2f6182(0x37f)]===0x0||(_0x1d397d['tag']===_0x2f6182(0x36f)&&_0x3d71ba[_0x2f6182(0x1e4)]&&(_0x3d71ba[_0x2f6182(0x1e4)]=_0x3d71ba[_0x2f6182(0x1e4)]+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x14be20){const _0x5e31ac=_0x2f6182;var _0x524b48=_0x14be20[0x0],_0x4b1ae0=_0x14be20[0x1];typeof _0x4b1ae0==_0x5e31ac(0x32c)&&(_0x3d71ba[_0x524b48]=_0x4b1ae0['replace'](/url\(#(.*)\)/,_0x5e31ac(0x35b)[_0x5e31ac(0x249)](_0xb2f9c2[_0x5e31ac(0x2c8)],')')));})),_0x3d71ba;}function Hi(_0x4f6727,_0x4c8ebd){const _0x31b924=_0x563413;var _0x1cdb4f,_0x2e3f9d=_0x4c8ebd['defIds'];return!_0x2e3f9d||_0x2e3f9d[_0x31b924(0x37f)]===0x0?_0x4f6727:_0x4f6727[_0x31b924(0x2da)]===_0x31b924(0x398)&&(!((_0x1cdb4f=_0x4f6727['children'])===null||_0x1cdb4f===void 0x0)&&_0x1cdb4f[_0x31b924(0x37f)])?I(I({},_0x4f6727),{'children':_0x4f6727['children'][_0x31b924(0x314)](function(_0x7b9b8d){const _0x580e4f=_0x31b924;return typeof _0x7b9b8d[_0x580e4f(0x30b)]['id']==_0x580e4f(0x32c)&&_0x2e3f9d&&_0x2e3f9d['indexOf'](_0x7b9b8d[_0x580e4f(0x30b)]['id'])>-0x1?I(I({},_0x7b9b8d),{'attrs':I(I({},_0x7b9b8d['attrs']),{'id':_0x7b9b8d[_0x580e4f(0x30b)]['id']+_0x4c8ebd[_0x580e4f(0x2c8)]})}):_0x7b9b8d;})}):_0x4f6727;}function ji(){const _0x47f3c9=_0x563413;return Math[_0x47f3c9(0x2e3)]()[_0x47f3c9(0x357)](0x24)[_0x47f3c9(0x2e2)](0x2,0x8);}je[_0x563413(0x217)]=_0x563413(0x2fd);var Wi={'tag':_0x563413(0x250),'attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2016\x2016','width':_0x563413(0x344),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x2db)},'children':[{'tag':'path','attrs':{'stroke':_0x563413(0x2b7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x563413(0x38f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x563413(0x398),'attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x36e)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x563413(0x36e)]},Dt=_0x75af45(function(_0x4b5795,_0x85ba40){const _0x40b1d6=_0x563413;return _0x2072fd(je,Object[_0x40b1d6(0x3a3)]({},_0x4b5795,{'id':_0x40b1d6(0x294),'ref':_0x85ba40,'icon':Wi}));});Dt['displayName']=_0x563413(0x368);var Fi={'tag':'svg','attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x563413(0x344)},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x3c4)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'stroke':_0x563413(0x2b7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x563413(0x38f),'strokeLinejoin':_0x563413(0x38f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x295)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':_0x563413(0x320),'transform':_0x563413(0x304)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x75af45(function(_0x25f709,_0x5af88d){const _0x41b567=_0x563413;return _0x2072fd(je,Object[_0x41b567(0x3a3)]({},_0x25f709,{'id':_0x41b567(0x328),'ref':_0x5af88d,'icon':Fi}));});Nt[_0x563413(0x217)]='OnLineSingle';function Yi(_0x166a81){const _0x3827b8=_0x563413;switch(_0x166a81){case _0x254eb8[_0x3827b8(0x3a6)]:return _0x3827b8(0x28a);case _0x254eb8['CONFLICT']:return _0x3827b8(0x1fb);case _0x254eb8[_0x3827b8(0x206)]:return _0x3827b8(0x3aa);case _0x254eb8[_0x3827b8(0x204)]:return'collabStatus.notCollab';case _0x254eb8[_0x3827b8(0x35e)]:case _0x254eb8['AWAITING_WITH_PENDING']:return _0x3827b8(0x251);case _0x254eb8['SYNCED']:case _0x254eb8['PENDING']:return'collabStatus.synced';}}function Vi(_0x1dc291){const _0x2f467c=_0x563413,{status$:_0x111fbb}=_0x1dc291,_0x5a2d8c=_0x3d4560(_0x111fbb,_0x254eb8['NOT_COLLAB']),_0x3f15be=_0x47de98(_0x3ffe22),_0x3c15e4=_0x47de98(_0x3919e6),_0x1d85c8=_0x5a2d8c!==_0x254eb8[_0x2f467c(0x3a6)],_0x3ff53b=_0x3f15be['t'](Yi(_0x5a2d8c)),_0x2bc5d0=_0x1d85c8?_0x427501(Nt,{}):_0x427501(Dt,{}),_0x46c727=_0x571220(()=>{const _0x10230b=_0x2f467c;_0x1d85c8||_0x3c15e4[_0x10230b(0x318)]();},[_0x1d85c8,_0x3c15e4]);function _0x5a0b9e(){const _0x41d757=_0x2f467c;return _0x44e5b1(_0x41d757(0x2bf),{'className':_0x41d757(0x27a),'onClick':_0x46c727,'children':[_0x427501('div',{'className':_0x2ab1f2(_0x41d757(0x33b),_0x1d85c8?'univer-text-green-500':_0x41d757(0x2c1)),'children':_0x2bc5d0}),_0x427501(_0x41d757(0x2bf),{'className':_0x41d757(0x3ce),'children':_0x3ff53b})]});}return _0x1d85c8?_0x5a0b9e():_0x427501(_0x561183,{'title':_0x3f15be['t'](_0x2f467c(0x225)),'children':_0x5a0b9e()});}var Xi=Object[_0x563413(0x350)],Gi=(_0x4f7d11,_0x23d4ee,_0x19beeb,_0x321b45)=>{const _0x250229=_0x563413;for(var _0x2dab2b=_0x321b45>0x1?void 0x0:_0x321b45?Xi(_0x23d4ee,_0x19beeb):_0x23d4ee,_0x2b5b52=_0x4f7d11[_0x250229(0x37f)]-0x1,_0x173e0f;_0x2b5b52>=0x0;_0x2b5b52--)(_0x173e0f=_0x4f7d11[_0x2b5b52])&&(_0x2dab2b=_0x173e0f(_0x2dab2b)||_0x2dab2b);return _0x2dab2b;},Q=(_0x2d185b,_0x45aef3)=>(_0x4df2dc,_0xb3e56a)=>_0x45aef3(_0x4df2dc,_0xb3e56a,_0x2d185b);let te=class extends _0x1fbc6b{constructor(_0x1fdc4e,_0x36670a,_0x403802,_0x524881){const _0x40de45=_0x563413;super(),_(this,'_status$',new _0x4621a1(_0x254eb8[_0x40de45(0x204)])),(this['_univerInstanceService']=_0x1fdc4e,this['_injector']=_0x36670a,this[_0x40de45(0x3cb)]=_0x403802,this[_0x40de45(0x292)]=_0x524881,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x563413(0x3cd)](){const _0x5e6691=_0x563413;this['disposeWithMe'](this[_0x5e6691(0x31f)][_0x5e6691(0x381)]['pipe'](_0xc5480d(()=>{const _0xca7a91=_0x5e6691,_0x31e675=this[_0xca7a91(0x31f)][_0xca7a91(0x30d)]();return _0x31e675?this[_0xca7a91(0x3cb)][_0xca7a91(0x3db)](_0x31e675[_0xca7a91(0x279)]()):_0x1ce394(null);}),_0xc5480d(_0x8fdefd=>_0x8fdefd?_0x8fdefd[_0x5e6691(0x21c)]:_0x1ce394(_0x254eb8[_0x5e6691(0x204)])))[_0x5e6691(0x240)](_0x5c2f7c=>{const _0x533894=_0x5e6691;this[_0x533894(0x266)][_0x533894(0x241)](_0x5c2f7c);}));}[_0x563413(0x1e5)](){const _0x5ed6e1=_0x563413;this[_0x5ed6e1(0x1f8)](this['_uiPartsService'][_0x5ed6e1(0x3a8)](_0x505fa7[_0x5ed6e1(0x32d)],()=>_0x313f2b(Ki({'status$':this[_0x5ed6e1(0x266)]['asObservable']()}),this['_injector'])));}};te=Gi([Q(0x0,_0x31a664),Q(0x1,_0x5c6460(_0x1d66e7)),Q(0x2,_0x5c6460(_0x203fc8)),Q(0x3,_0x4c7f9b)],te);function Ki(_0x2cbce9){const {status$:_0x22f601}=_0x2cbce9;return function(){return _0x427501(Vi,{'status$':_0x22f601});};}var zi=Object[_0x563413(0x350)],Ji=(_0xe95e5e,_0xb14d9a,_0x3200c5,_0xc2f5a2)=>{const _0x5f335d=_0x563413;for(var _0x246cab=_0xc2f5a2>0x1?void 0x0:_0xc2f5a2?zi(_0xb14d9a,_0x3200c5):_0xb14d9a,_0x4d7f48=_0xe95e5e[_0x5f335d(0x37f)]-0x1,_0x5d7c01;_0x4d7f48>=0x0;_0x4d7f48--)(_0x5d7c01=_0xe95e5e[_0x4d7f48])&&(_0x246cab=_0x5d7c01(_0x246cab)||_0x246cab);return _0x246cab;},B=(_0x2c4b98,_0x4fda1d)=>(_0x13b5b5,_0x1816a2)=>_0x4fda1d(_0x13b5b5,_0x1816a2,_0x2c4b98);let se=class extends _0x1fbc6b{constructor(_0x3c4391,_0x3d2f9d,_0x595eb6,_0x42e55e,_0x22aa5b,_0x106cdc){const _0x43e252=_0x563413;super(),this[_0x43e252(0x277)]=_0x3c4391,this[_0x43e252(0x36b)]=_0x3d2f9d,this[_0x43e252(0x1e3)]=_0x595eb6,this[_0x43e252(0x351)]=_0x42e55e,this[_0x43e252(0x345)]=_0x22aa5b,this[_0x43e252(0x298)]=_0x106cdc,this[_0x43e252(0x2a0)](),this[_0x43e252(0x2fe)]();}[_0x563413(0x2a0)](){const _0x556ff1=_0x563413;this['disposeWithMe'](this['_beforeCloseService'][_0x556ff1(0x353)](()=>{const _0x1c393d=_0x556ff1;if(this[_0x1c393d(0x36b)]['saveTaskMap']['size'])return this[_0x1c393d(0x298)]['t'](_0x1c393d(0x268));}));}[_0x563413(0x2fe)](){const _0x3815b4=_0x563413;this['disposeWithMe'](this[_0x3815b4(0x1e3)][_0x3815b4(0x2af)]['subscribe'](_0x4b2d46=>{const _0x43ea38=_0x3815b4;_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x275)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x2ef))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x300)]&&this['_messageService']['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x2f7)]&&this[_0x43ea38(0x345)][_0x43ea38(0x244)]({'title':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x237)),'content':this['_localeService']['t'](_0x43ea38(0x1d8)),'type':'error','duration':0x0}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x256)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))+'('+_0x4b2d46[_0x43ea38(0x395)]+')'}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x330)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x4b2d46[_0x43ea38(0x395)]||'')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x1d6)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t']('session.will-retry')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x208)]&&this['_messageService'][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this['_localeService']['t'](_0x43ea38(0x2a2))}),_0x4b2d46['id']===_0x2adb1f['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x3c9))});}));}};se=Ji([B(0x0,_0x27e5c6),B(0x1,_0x1400ec),B(0x2,_0x5c6460(_0x3a9063)),B(0x3,_0x4acaae),B(0x4,_0x275910),B(0x5,_0x5c6460(_0x3ffe22))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x54cac1(_0x563413(0x2d8));var Qi=Object[_0x563413(0x350)],qi=(_0x5bc5d7,_0x382709,_0x1a9187,_0xaea137)=>{const _0x34343c=_0x563413;for(var _0x13aa9a=_0xaea137>0x1?void 0x0:_0xaea137?Qi(_0x382709,_0x1a9187):_0x382709,_0x3ddfc8=_0x5bc5d7[_0x34343c(0x37f)]-0x1,_0x1c4339;_0x3ddfc8>=0x0;_0x3ddfc8--)(_0x1c4339=_0x5bc5d7[_0x3ddfc8])&&(_0x13aa9a=_0x1c4339(_0x13aa9a)||_0x13aa9a);return _0x13aa9a;},G=(_0x5615d5,_0x5ecda9)=>(_0x29c92c,_0x1ec59c)=>_0x5ecda9(_0x29c92c,_0x1ec59c,_0x5615d5);let ie=class extends _0x4b74ae{constructor(_0x2380ad,_0x39c411,_0x310a21,_0x54ab2a,_0x2f656a){const _0x437018=_0x563413;super(),this[_0x437018(0x32f)]=_0x2380ad,this[_0x437018(0x291)]=_0x39c411,this[_0x437018(0x30f)]=_0x310a21,this[_0x437018(0x1dc)]=_0x54ab2a,_0x2f656a?_0x2f656a==null||_0x2f656a[_0x437018(0x26e)]()[_0x437018(0x34b)](()=>this[_0x437018(0x2c6)]()):(this[_0x437018(0x291)][_0x437018(0x27e)](_0x437018(0x236),_0x437018(0x397)),this['_init']());}async[_0x563413(0x2c6)](){const _0x5e52b5=_0x563413,_0x20ca9e=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x2ec)),_0x389ce7=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x3b0)),_0x3fb223=this[_0x5e52b5(0x32f)]['getParam'](_0x5e52b5(0x1dd));if(!_0x20ca9e||!_0x389ce7){this[_0x5e52b5(0x291)][_0x5e52b5(0x27e)](_0x5e52b5(0x236),_0x5e52b5(0x262));return;}const _0x2488bc=await this[_0x5e52b5(0x1dc)]['loadUnit'](_0x20ca9e,Number(_0x389ce7),_0x3fb223);_0x2488bc&&_0x2488bc instanceof _0x2bc3eb&&this[_0x5e52b5(0x3c3)](_0x2488bc);}async[_0x563413(0x3c3)](_0x33bbb5){const _0x2b5c40=_0x563413;await this[_0x2b5c40(0x33a)](_0x33bbb5),_0x33bbb5[_0x2b5c40(0x29d)][_0x2b5c40(0x3bf)](_0x16b897(this['dispose$']))[_0x2b5c40(0x240)](_0x1ec019=>{const _0x5d4c2e=_0x2b5c40;_0x1ec019&&this[_0x5d4c2e(0x23d)](_0x1ec019);}),this['_urlService'][_0x2b5c40(0x257)][_0x2b5c40(0x3bf)](_0x16b897(this[_0x2b5c40(0x301)]))[_0x2b5c40(0x240)](()=>this[_0x2b5c40(0x33a)](_0x33bbb5));}[_0x563413(0x23d)](_0x1fd6ba,_0x1fb4c6=!0x1){const _0x3631fa=_0x563413,_0x1c14a6=this['_urlService']['getParam'](_0x3631fa(0x1dd));_0x1fd6ba[_0x3631fa(0x2f8)]()!==_0x1c14a6&&this[_0x3631fa(0x32f)][_0x3631fa(0x1f2)](_0x3631fa(0x1dd),_0x1fd6ba[_0x3631fa(0x2f8)](),_0x1fb4c6);}async[_0x563413(0x33a)](_0x4e749e){const _0x4553bf=_0x563413;var _0x173b8f;const _0x2803a2=this[_0x4553bf(0x32f)][_0x4553bf(0x2ad)](_0x4553bf(0x1dd));if(!_0x2803a2||!_0x4e749e[_0x4553bf(0x386)](_0x2803a2)){const _0x3121c5=_0x4e749e[_0x4553bf(0x2ed)]()[0x0],_0x1a7185=_0x4e749e[_0x4553bf(0x386)](_0x3121c5);if(!_0x1a7185)return;this['_updateURLWithCurrentState'](_0x1a7185,!0x0),await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x3121c5});return;}((_0x173b8f=_0x4e749e[_0x4553bf(0x372)]())==null?void 0x0:_0x173b8f[_0x4553bf(0x2f8)]())!==_0x2803a2&&await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x2803a2});}};ie=qi([G(0x0,Ut),G(0x1,_0x3c1e89),G(0x2,_0x3117b8),G(0x3,_0x5c6460(_0xdfc05f)),G(0x4,_0x5e513a(_0xfedf20))],ie);var en=Object[_0x563413(0x350)],tn=(_0x72d6d6,_0xf4ec8f,_0x5b35f6,_0x419101)=>{const _0x56980b=_0x563413;for(var _0x1048be=_0x419101>0x1?void 0x0:_0x419101?en(_0xf4ec8f,_0x5b35f6):_0xf4ec8f,_0x5ae1b8=_0x72d6d6[_0x56980b(0x37f)]-0x1,_0x187e32;_0x5ae1b8>=0x0;_0x5ae1b8--)(_0x187e32=_0x72d6d6[_0x5ae1b8])&&(_0x1048be=_0x187e32(_0x1048be)||_0x1048be);return _0x1048be;},pe=(_0x1a5550,_0xdd8109)=>(_0x597391,_0xf8f072)=>_0xdd8109(_0x597391,_0xf8f072,_0x1a5550);let ne=class{constructor(_0x519743,_0x451c61,_0x55b623){const _0x58089a=_0x563413;this[_0x58089a(0x2fa)]=_0x519743,this['_transformService']=_0x451c61,this['_renderManagerService']=_0x55b623;}[_0x563413(0x2d3)](_0x4bd717){const _0x4e9679=_0x563413;this[_0x4e9679(0x222)](_0x4bd717),this['_transformPreviousActiveRange'](_0x4bd717);}[_0x563413(0x2d6)](_0x19500c){const _0x4dadd8=_0x563413,{unitID:_0x34eb79}=_0x19500c,_0x401e91=this['_renderManagerService'][_0x4dadd8(0x238)](_0x34eb79)[_0x4dadd8(0x299)](_0x18d55f),{redoCache:_0x323ce4}=_0x401e91['getUndoRedoMutationParamsCache']();if(_0x323ce4['length']===0x0)return _0x19500c;let _0x3c7f04=_0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c[_0x4dadd8(0x29a)][0x0]);for(let _0x493a6c=0x0;_0x493a6c<_0x323ce4[_0x4dadd8(0x37f)];_0x493a6c++){const _0xe2a20f={'id':_0x4dadd8(0x286),'params':{..._0x323ce4[_0x493a6c]}},_0x2e5ad6=this[_0x4dadd8(0x2ba)][_0x4dadd8(0x367)](_0x3c7f04,_0xe2a20f,!0x1);if(_0x2432f7(_0x2e5ad6))throw _0x2e5ad6[_0x4dadd8(0x25d)];_0x3c7f04=_0x2e5ad6[_0x4dadd8(0x310)];}return{..._0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c),'mutations':[_0x3c7f04]};}['_transformUndoRedoStack'](_0x6b9dc3){const _0x3fbdce=_0x563413,{unitID:_0x28ef14}=_0x6b9dc3,_0x40fef0=this['_renderManagerService']['getRenderById'](_0x28ef14)[_0x3fbdce(0x299)](_0x18d55f),{undoCache:_0x183f13,redoCache:_0x4e561e}=_0x40fef0['getUndoRedoMutationParamsCache']();if(_0x183f13[_0x3fbdce(0x37f)]===0x0||_0x4e561e[_0x3fbdce(0x37f)]===0x0)return;const _0x150d2a=[],_0x1f7e65=[];let _0x415935=_0x17cd4d[_0x3fbdce(0x3c6)](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]),_0x152eeb=_0x17cd4d['deepClone'](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]);for(let _0x1f583b=_0x183f13[_0x3fbdce(0x37f)]-0x1;_0x1f583b>=0x0;_0x1f583b--){const _0x46a62f={'id':'doc.mutation.rich-text-editing','params':{..._0x183f13[_0x1f583b]}},_0xcc6c84={'id':_0x3fbdce(0x286),'params':{..._0x4e561e[_0x1f583b]}},_0x35ecdd=this[_0x3fbdce(0x2ba)]['transformMutation'](_0x415935,_0x46a62f,!0x1),_0x42be41=this['_transformService'][_0x3fbdce(0x367)](_0x152eeb,_0xcc6c84,!0x1);if(_0x2432f7(_0x35ecdd))throw _0x35ecdd[_0x3fbdce(0x25d)];if(_0x2432f7(_0x42be41))throw _0x42be41[_0x3fbdce(0x25d)];_0x150d2a[_0x3fbdce(0x289)](_0x35ecdd[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x1f7e65['unshift'](_0x42be41[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x415935=_0x35ecdd['m1Prime'],_0x152eeb=_0x42be41[_0x3fbdce(0x310)];}_0x40fef0[_0x3fbdce(0x3ae)]({'undoCache':_0x150d2a,'redoCache':_0x1f7e65});}[_0x563413(0x269)](_0x242a63){const _0x2bdec5=_0x563413,{unitID:_0x594cf9}=_0x242a63,_0x29953c=this['_renderManagerService'][_0x2bdec5(0x238)](_0x594cf9)[_0x2bdec5(0x299)](_0x18d55f),_0x413dd1=_0x29953c[_0x2bdec5(0x3c7)]();if(_0x413dd1==null)return;const _0x4abe0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x242a63['unitID'],'actions':null,'textRanges':[_0x413dd1]}}],_0x3b0ee5=this['_transformService'][_0x2bdec5(0x2c0)](_0x242a63,_0x4abe0c);if(!_0x1002c8(_0x3b0ee5))throw _0x3b0ee5['error'];const _0x164abb=_0x3b0ee5[_0x2bdec5(0x1f3)][0x0][_0x2bdec5(0x2ac)][_0x2bdec5(0x252)];Array[_0x2bdec5(0x312)](_0x164abb)&&_0x164abb[_0x2bdec5(0x37f)]&&_0x29953c[_0x2bdec5(0x3b5)](_0x164abb[0x0]);}};ne=tn([pe(0x0,_0x5c6460(_0x1d66e7)),pe(0x1,_0x136ed5),pe(0x2,_0x2bfa89)],ne);var sn=Object[_0x563413(0x350)],nn=(_0x332d1d,_0xb703e8,_0x324b97,_0x282e8c)=>{const _0x38d64f=_0x563413;for(var _0x40c597=_0x282e8c>0x1?void 0x0:_0x282e8c?sn(_0xb703e8,_0x324b97):_0xb703e8,_0xb16b57=_0x332d1d[_0x38d64f(0x37f)]-0x1,_0x249a0a;_0xb16b57>=0x0;_0xb16b57--)(_0x249a0a=_0x332d1d[_0xb16b57])&&(_0x40c597=_0x249a0a(_0x40c597)||_0x40c597);return _0x40c597;},Ce=(_0x1e67d9,_0x1f9b82)=>(_0x2e5163,_0x19214e)=>_0x1f9b82(_0x2e5163,_0x19214e,_0x1e67d9);let re=class{constructor(_0x157ae9,_0x43414c,_0x3f27e2){const _0xc64ee5=_0x563413;this[_0xc64ee5(0x2fa)]=_0x157ae9,this[_0xc64ee5(0x2ba)]=_0x43414c,this[_0xc64ee5(0x1f4)]=_0x3f27e2;}[_0x563413(0x35d)](_0x2c2526){const _0x162e64=_0x563413;this[_0x162e64(0x373)](_0x2c2526);}[_0x563413(0x2d6)](_0x377ddc){const _0x504019=_0x563413,{unitID:_0x4dda5f}=_0x377ddc,{collaboration:_0x54f9ce}=this[_0x504019(0x1f4)][_0x504019(0x2dc)](_0x4dda5f);if(_0x54f9ce[_0x504019(0x37f)]===0x0)return _0x377ddc;let _0x4439fe=_0x17cd4d[_0x504019(0x3c6)](_0x377ddc[_0x504019(0x29a)][0x0]);for(let _0x44b1fe=0x0;_0x44b1fe<_0x54f9ce[_0x504019(0x37f)];_0x44b1fe++){const _0x3c1dd8={'id':_0x504019(0x286),'params':{'unitId':_0x54f9ce[_0x44b1fe][_0x504019(0x35c)],..._0x54f9ce[_0x44b1fe]['redoState']}},_0x4a7179=this[_0x504019(0x2ba)][_0x504019(0x367)](_0x4439fe,_0x3c1dd8,!0x1);if(_0x2432f7(_0x4a7179))throw _0x4a7179[_0x504019(0x25d)];_0x4439fe=_0x4a7179['m1Prime'];}return{..._0x17cd4d['deepClone'](_0x377ddc),'mutations':[_0x4439fe]};}[_0x563413(0x373)](_0x3d27d0){const _0x26da56=_0x563413,{unitID:_0x27b18c}=_0x3d27d0,{history:_0x24c389,collaboration:_0x3f009d}=this['_docStateChangeManagerService'][_0x26da56(0x2dc)](_0x27b18c);if(_0x24c389['length']===0x0&&_0x3f009d[_0x26da56(0x37f)]===0x0)return;const _0x2e4064=[],_0x3cee83=[];let _0x3894f7=_0x17cd4d['deepClone'](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]);for(let _0x18cca9=_0x24c389[_0x26da56(0x37f)]-0x1;_0x18cca9>=0x0;_0x18cca9--){const _0x520714={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9][_0x26da56(0x33d)]}},_0x5df6c1={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9]['redoState']}},_0x2f5f9c=this['_transformService'][_0x26da56(0x367)](_0x3894f7,_0x520714,!0x1),_0x44098e=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5df6c1,!0x1);if(_0x2432f7(_0x2f5f9c))throw _0x2f5f9c[_0x26da56(0x25d)];if(_0x2432f7(_0x44098e))throw _0x44098e['error'];_0x2e4064['unshift']({..._0x24c389[_0x18cca9],'undoState':_0x2f5f9c['m2Prime'][_0x26da56(0x2ac)],'redoState':_0x44098e['m2Prime'][_0x26da56(0x2ac)]}),_0x3894f7=_0x2f5f9c['m1Prime'],_0x44badb=_0x44098e['m1Prime'];}_0x3894f7=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0['mutations'][0x0]);for(let _0x206195=_0x3f009d[_0x26da56(0x37f)]-0x1;_0x206195>=0x0;_0x206195--){const _0xcbd335={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x33d)]}},_0x5626ec={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x322)]}},_0x3fea79=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x3894f7,_0xcbd335,!0x1),_0x9fa955=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5626ec,!0x1);if(_0x2432f7(_0x3fea79))throw _0x3fea79['error'];if(_0x2432f7(_0x9fa955))throw _0x9fa955[_0x26da56(0x25d)];_0x3cee83[_0x26da56(0x289)]({..._0x3f009d[_0x206195],'undoState':_0x3fea79[_0x26da56(0x1f3)][_0x26da56(0x2ac)],'redoState':_0x9fa955[_0x26da56(0x1f3)][_0x26da56(0x2ac)]}),_0x3894f7=_0x3fea79[_0x26da56(0x310)],_0x44badb=_0x9fa955[_0x26da56(0x310)];}this[_0x26da56(0x1f4)][_0x26da56(0x33c)](_0x27b18c,{'history':_0x2e4064,'collaboration':_0x3cee83});}};re=nn([Ce(0x0,_0x5c6460(_0x1d66e7)),Ce(0x1,_0x136ed5),Ce(0x2,_0x5c6460(_0x56216d))],re);var rn=Object[_0x563413(0x350)],on=(_0x424151,_0x4b1177,_0x2c1840,_0x2b4b62)=>{const _0x12cb8c=_0x563413;for(var _0x4dc882=_0x2b4b62>0x1?void 0x0:_0x2b4b62?rn(_0x4b1177,_0x2c1840):_0x4b1177,_0x24dfc4=_0x424151[_0x12cb8c(0x37f)]-0x1,_0x289659;_0x24dfc4>=0x0;_0x24dfc4--)(_0x289659=_0x424151[_0x24dfc4])&&(_0x4dc882=_0x289659(_0x4dc882)||_0x4dc882);return _0x4dc882;},tt=(_0x29092f,_0x2996af)=>(_0x2afaef,_0x147d56)=>_0x2996af(_0x2afaef,_0x147d56,_0x29092f);let oe=class{constructor(_0x1f2399,_0x484d66){const _0x2f1f1d=_0x563413;this['_injector']=_0x1f2399,this[_0x2f1f1d(0x2ba)]=_0x484d66;}['transformSelections'](_0x1abcac){const _0x8eded8=_0x563413;var _0x357e29;const _0x103eb4=this[_0x8eded8(0x2fa)][_0x8eded8(0x32e)](_0x25e9f8),_0x478a0c=(_0x357e29=_0x103eb4[_0x8eded8(0x1ee)]())!=null?_0x357e29:[];if(_0x478a0c[_0x8eded8(0x37f)]===0x0)return;const _0x57b2cf=_0x1abcac[_0x8eded8(0x375)],_0x1e8b91=[{'id':_0x8eded8(0x286),'params':{'unitId':_0x57b2cf,'actions':null,'textRanges':_0x478a0c}}],_0x471338=this['_transformService'][_0x8eded8(0x2c0)](_0x1abcac,_0x1e8b91);if(!_0x1002c8(_0x471338))throw _0x471338[_0x8eded8(0x25d)];const _0x5f31db=_0x471338[_0x8eded8(0x1f3)][0x0][_0x8eded8(0x2ac)][_0x8eded8(0x252)];Array['isArray'](_0x5f31db)&&_0x5f31db[_0x8eded8(0x37f)]&&_0x103eb4[_0x8eded8(0x221)](_0x5f31db,{'unitId':_0x57b2cf,'subUnitId':_0x57b2cf},!0x1);}};oe=on([tt(0x0,_0x5c6460(_0x1d66e7)),tt(0x1,_0x136ed5)],oe);var an=Object[_0x563413(0x350)],cn=(_0x55bbf8,_0x242253,_0x38d870,_0x2fe9dd)=>{for(var _0x4f4bbe=_0x2fe9dd>0x1?void 0x0:_0x2fe9dd?an(_0x242253,_0x38d870):_0x242253,_0x1875c4=_0x55bbf8['length']-0x1,_0x4681bd;_0x1875c4>=0x0;_0x1875c4--)(_0x4681bd=_0x55bbf8[_0x1875c4])&&(_0x4f4bbe=_0x4681bd(_0x4f4bbe)||_0x4f4bbe);return _0x4f4bbe;},U=(_0x110b19,_0x19a556)=>(_0x25c532,_0x7a263b)=>_0x19a556(_0x25c532,_0x7a263b,_0x110b19);let ae=class extends _0x1fbc6b{constructor(_0xf963b0,_0x51422c,_0x43c982,_0x3085e6,_0x59112c,_0x2e1003,_0x2cc786,_0x40ac75){const _0x29825f=_0x563413;super(),_(this,_0x29825f(0x266),new _0x4621a1(_0x254eb8[_0x29825f(0x204)])),(this['_docStateChangeManagerService']=_0xf963b0,this[_0x29825f(0x3cb)]=_0x51422c,this['_docTransformIMECacheService']=_0x43c982,this[_0x29825f(0x37d)]=_0x3085e6,this[_0x29825f(0x377)]=_0x59112c,this['_docSyncEditingCollabCursorService']=_0x2e1003,this['_messageService']=_0x2cc786,this[_0x29825f(0x298)]=_0x40ac75,this[_0x29825f(0x23f)]());}['_initEntityListener'](){const _0x21013f=_0x563413;this['disposeWithMe'](this[_0x21013f(0x3cb)]['entityInit$']['subscribe'](_0x2948f1=>{const _0x585b1f=_0x21013f,_0x432ebc=this[_0x585b1f(0x1f4)]['docStateChange$'][_0x585b1f(0x240)](_0x346c8b=>{const _0x902a26=_0x585b1f;if(_0x346c8b==null)return;const {unitId:_0x3e63de,redoState:_0x19a24a,commandId:_0x251364}=_0x346c8b;if(_0x3e63de!==_0x2948f1['unitID'])return;const _0x37881b={'id':_0x251364,'type':_0x444386['MUTATION'],'params':{'unitId':_0x3e63de,'actions':_0x19a24a['actions'],'textRanges':null}};_0x2948f1[_0x902a26(0x3d1)](_0x37881b);});if(_0x2948f1[_0x585b1f(0x1f8)](_0x432ebc),_0x2948f1 instanceof _0x487f85){const _0x2acf7f={'onTransformIME':_0x3d84a5=>this[_0x585b1f(0x3bb)][_0x585b1f(0x2d3)](_0x3d84a5),'onTransformState':_0x29d1d2=>this[_0x585b1f(0x37d)][_0x585b1f(0x35d)](_0x29d1d2),'onTransformSelections':_0x5ba299=>this[_0x585b1f(0x377)][_0x585b1f(0x347)](_0x5ba299),'onSyncEditingCollabCursor':_0x43bce2=>this[_0x585b1f(0x1fd)][_0x585b1f(0x343)](_0x43bce2),'onTransformRemoteChangesetByIMECache':_0x1bdf16=>this[_0x585b1f(0x3bb)]['transformRemoteChangeset'](_0x1bdf16),'onTransformRemoteChangesetByStateCache':_0x343990=>this['_docTransformStateCacheService'][_0x585b1f(0x2d6)](_0x343990)};_0x2948f1[_0x585b1f(0x346)](_0x2acf7f);}}));}};ae=cn([U(0x0,_0x5c6460(_0x56216d)),U(0x1,_0x5c6460(_0x203fc8)),U(0x2,_0x5c6460(ne)),U(0x3,_0x5c6460(re)),U(0x4,_0x5c6460(oe)),U(0x5,_0x5c6460(He)),U(0x6,_0x4acaae),U(0x7,_0x5c6460(_0x3ffe22))],ae);var ln=Object[_0x563413(0x350)],_n=(_0x615fb6,_0x46f468,_0x3ef348,_0x856d1c)=>{const _0x1a501e=_0x563413;for(var _0x49e2af=_0x856d1c>0x1?void 0x0:_0x856d1c?ln(_0x46f468,_0x3ef348):_0x46f468,_0x5ae908=_0x615fb6[_0x1a501e(0x37f)]-0x1,_0x19fe05;_0x5ae908>=0x0;_0x5ae908--)(_0x19fe05=_0x615fb6[_0x5ae908])&&(_0x49e2af=_0x19fe05(_0x49e2af)||_0x49e2af);return _0x49e2af;},Ee=(_0x5eb82f,_0x813cf9)=>(_0x2dfb3f,_0x5f43db)=>_0x813cf9(_0x2dfb3f,_0x5f43db,_0x5eb82f);let Le=class extends _0x1fbc6b{constructor(_0x83cd8b,_0x2a950f,_0x3a5039){const _0x4f3812=_0x563413;super(),_(this,_0x4f3812(0x396),new Map()),_(this,_0x4f3812(0x326),new Map()),_(this,_0x4f3812(0x32a),!0x1),(this[_0x4f3812(0x366)]=_0x83cd8b,this[_0x4f3812(0x358)]=_0x2a950f,this[_0x4f3812(0x335)]=_0x3a5039);}[_0x563413(0x303)](){const _0x2df63c=_0x563413;this[_0x2df63c(0x32a)]=!0x0;}['enableLocalCache'](){const _0x572b4d=_0x563413;this[_0x572b4d(0x32a)]=!0x1;}get[_0x563413(0x25c)](){return this['_saveTaskMap'];}[_0x563413(0x37b)](){const _0x121d5d=_0x563413;this[_0x121d5d(0x33f)]()[_0x121d5d(0x34b)](()=>super[_0x121d5d(0x37b)]());}async['loadOfflineData'](_0x309101){const _0x45bf90=_0x563413;return this[_0x45bf90(0x32a)]?null:this[_0x45bf90(0x358)][_0x45bf90(0x3a4)](_0x3b0baa(_0x309101));}async['saveOfflineData'](_0x7e17a0,_0x159d9f){const _0x2b94e6=_0x563413;return!!this[_0x2b94e6(0x358)]['setItem'](_0x7e17a0,_0x159d9f);}['updateOfflineData'](_0x404faf,_0x36d1aa,_0x32cae4,_0x5c3e96){const _0x4d1188=_0x563413,_0x5ac810=this[_0x4d1188(0x335)][_0x4d1188(0x2e1)](_0x404faf);this[_0x4d1188(0x396)][_0x4d1188(0x3a1)](_0x404faf,{'unitID':_0x404faf,'type':_0x36d1aa,'awaitingChangeset':_0x32cae4,'mutations':_0x5c3e96,'rev':_0x5ac810}),this[_0x4d1188(0x326)][_0x4d1188(0x3b6)](_0x404faf)||this[_0x4d1188(0x3b9)](_0x404faf);}[_0x563413(0x3b9)](_0x17d203){const _0x240073=_0x563413,_0x1c0f8e=this['_getSaveTimeout']();_0x1c0f8e===0x0?this[_0x240073(0x392)](_0x17d203):this[_0x240073(0x326)]['set'](_0x17d203,setTimeout(()=>this[_0x240073(0x392)](_0x17d203),_0x1c0f8e));}[_0x563413(0x2e4)](){const _0x569fb9=_0x563413;var _0x3cd5d0;return(_0x3cd5d0=this['_configService'][_0x569fb9(0x1da)](_0x433e18))!=null?_0x3cd5d0:_0x5223b0;}[_0x563413(0x392)](_0x4ede80){const _0x2fb7e0=_0x563413,_0x5e77b5=this['_saveTaskMap'][_0x2fb7e0(0x32e)](_0x4ede80);return _0x5e77b5!==void 0x0&&window[_0x2fb7e0(0x281)](_0x5e77b5),this[_0x2fb7e0(0x358)]['setItem'](_0x3b0baa(_0x4ede80),this[_0x2fb7e0(0x396)][_0x2fb7e0(0x32e)](_0x4ede80))[_0x2fb7e0(0x34b)](()=>this[_0x2fb7e0(0x326)][_0x2fb7e0(0x1e8)](_0x4ede80));}async[_0x563413(0x33f)](){const _0x3ff0e1=_0x563413,_0x4d087a=[];this[_0x3ff0e1(0x326)][_0x3ff0e1(0x29b)]((_0x1bb1b2,_0x7bc9d)=>{const _0xe97bc3=_0x3ff0e1;window[_0xe97bc3(0x281)](_0x1bb1b2),_0x4d087a['push'](this[_0xe97bc3(0x392)](_0x7bc9d)[_0xe97bc3(0x34b)](()=>{const _0x2c9b72=_0xe97bc3;this[_0x2c9b72(0x326)]['delete'](_0x7bc9d);}));}),await Promise[_0x3ff0e1(0x2df)](_0x4d087a);}};Le=_n([Ee(0x0,_0x395855),Ee(0x1,_0x35e3cf),Ee(0x2,_0x5c6460(_0x5ec55b))],Le);class hn extends _0x4b74ae{constructor(){const _0x262c56=_0x563413;super(),_(this,_0x262c56(0x257)),this[_0x262c56(0x257)]=_0x2974a5(window,_0x262c56(0x334))[_0x262c56(0x3bf)](_0x16b897(this[_0x262c56(0x301)]),_0x3f389a(0x1),_0x36eff5(void 0x0));}[_0x563413(0x1f2)](_0x3057f6,_0x3a6d28,_0x5f01ca=!0x1){const _0x53578=_0x563413,_0x2ee5d8=new URL(window[_0x53578(0x2e9)][_0x53578(0x20c)]);_0x2ee5d8[_0x53578(0x2b8)][_0x53578(0x3a1)](_0x3057f6,_0x3a6d28),_0x5f01ca?window['history'][_0x53578(0x3b2)]('','',_0x2ee5d8['toString']()):window[_0x53578(0x361)]['pushState']('','',_0x2ee5d8[_0x53578(0x357)]());}[_0x563413(0x39e)](_0x219835,_0x55d53d=!0x1){const _0x2f7a5b=_0x563413,_0x5b9b50=new URL(window['location']['href']);_0x5b9b50['searchParams'][_0x2f7a5b(0x1e8)](_0x219835),_0x55d53d?window[_0x2f7a5b(0x361)][_0x2f7a5b(0x3b2)]('','',_0x5b9b50[_0x2f7a5b(0x357)]()):window['history'][_0x2f7a5b(0x1ff)]('','',_0x5b9b50[_0x2f7a5b(0x357)]());}[_0x563413(0x2ad)](_0xbc84fe){const _0x2b0b68=_0x563413;var _0x7567b1;return(_0x7567b1=new URL(window[_0x2b0b68(0x2e9)][_0x2b0b68(0x20c)])[_0x2b0b68(0x2b8)][_0x2b0b68(0x32e)](_0xbc84fe))!=null?_0x7567b1:void 0x0;}}var un=Object[_0x563413(0x30c)],dn=Object[_0x563413(0x350)],fn=(_0x5551bb,_0x991a22,_0x24ffba)=>_0x991a22 in _0x5551bb?un(_0x5551bb,_0x991a22,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24ffba}):_0x5551bb[_0x991a22]=_0x24ffba,Sn=(_0x41eda1,_0x66bdac,_0xd8afb7,_0x1ce6c4)=>{const _0x58d6c7=_0x563413;for(var _0x1fb284=_0x1ce6c4>0x1?void 0x0:_0x1ce6c4?dn(_0x66bdac,_0xd8afb7):_0x66bdac,_0x35752f=_0x41eda1[_0x58d6c7(0x37f)]-0x1,_0x40d9e;_0x35752f>=0x0;_0x35752f--)(_0x40d9e=_0x41eda1[_0x35752f])&&(_0x1fb284=_0x40d9e(_0x1fb284)||_0x1fb284);return _0x1fb284;},be=(_0x1b9606,_0x266ffb)=>(_0xc5a6bb,_0x44095c)=>_0x266ffb(_0xc5a6bb,_0x44095c,_0x1b9606),mn=(_0x27562d,_0x12f128,_0x428035)=>fn(_0x27562d,_0x12f128+'',_0x428035);const gn=_0x563413(0x245);let Ae=class extends _0x1131fa{constructor(_0x4d8057=et,_0x51f0e2,_0x2a1945,_0x3ca2b1){const _0x5ef260=_0x563413;super(),this['_config']=_0x4d8057,this[_0x5ef260(0x24a)]=_0x51f0e2,this[_0x5ef260(0x2fa)]=_0x2a1945,this['_configService']=_0x3ca2b1;const {..._0xc19c85}=_0x3fdaeb({},et,this['_config']);this[_0x5ef260(0x366)][_0x5ef260(0x293)](Zi,_0xc19c85);}['onStarting'](){const _0xcdabde=_0x563413;this['_registerDependencies'](),this[_0xcdabde(0x1fc)]();}[_0x563413(0x378)](){const _0x5a2807=_0x563413;this[_0x5a2807(0x22e)]();}['_registerDependencies'](){const _0x223e63=_0x563413;var _0x5adf96;const _0x351f83=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4ec03e,{'useClass':_0x2e732f}],[_0x1400ec,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2722ea(this[_0x223e63(0x2fa)],_0x4d57b5(_0x351f83,(_0x5adf96=this[_0x223e63(0x338)])==null?void 0x0:_0x5adf96[_0x223e63(0x25a)]));}['_registerRenderDependencies'](){const _0x33a140=_0x563413;this[_0x33a140(0x1f8)](this['_renderManagerService']['registerRenderModule'](_0x1eb9e8[_0x33a140(0x233)],[Pe])),this['disposeWithMe'](this[_0x33a140(0x24a)]['registerRenderModule'](_0x1eb9e8['UNIVER_SHEET'],[we]));}[_0x563413(0x1fc)](){const _0x5885be=_0x563413;_0x5c554b(this[_0x5885be(0x2fa)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2f89ac(_0x26d327),be(0x1,_0x2bfa89),be(0x2,_0x5c6460(_0x1d66e7)),be(0x3,_0x395855)],Ae);var vn=Object[_0x563413(0x350)],In=(_0x45581f,_0x151e42,_0x27039c,_0x5b1253)=>{for(var _0x8fef1d=_0x5b1253>0x1?void 0x0:_0x5b1253?vn(_0x151e42,_0x27039c):_0x151e42,_0x201aa9=_0x45581f['length']-0x1,_0x36973e;_0x201aa9>=0x0;_0x201aa9--)(_0x36973e=_0x45581f[_0x201aa9])&&(_0x8fef1d=_0x36973e(_0x8fef1d)||_0x8fef1d);return _0x8fef1d;},K=(_0x359ca8,_0x10130e)=>(_0x3d1f9e,_0x1b1291)=>_0x10130e(_0x3d1f9e,_0x1b1291,_0x359ca8);let st=class extends _0x59ef4b{constructor(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8){super(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8);}async[_0x563413(0x1f9)](_0x270130){const _0x21633f=_0x563413,_0x2fd82d=await this[_0x21633f(0x207)](),_0x5d07e5=this[_0x21633f(0x270)](_0x270130,_0x2fd82d);return this[_0x21633f(0x3b3)](_0x5d07e5);}['_createSocketURL'](_0x469505,_0x15d939){const _0x10f38e=_0x563413,_0x549226=typeof window>'u'?new URL(_0x469505):new URL(_0x469505,window[_0x10f38e(0x2e9)][_0x10f38e(0x27b)]);_0x549226[_0x10f38e(0x2b8)][_0x10f38e(0x3a1)](_0x10f38e(0x383),_0x15d939);const _0x3d75ff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10f38e(0x2e9)]['search']);return _0x3d75ff[_0x10f38e(0x32e)](_0x10f38e(0x271))&&_0x549226[_0x10f38e(0x2b8)]['set']('runId',_0x3d75ff['get'](_0x10f38e(0x271))),_0x549226[_0x10f38e(0x357)]();}async['_getSessionTicket'](){const _0x6fa66a=_0x563413;var _0x9c3f78,_0x2368f7,_0x15132f;const _0xa4facf=this[_0x6fa66a(0x366)][_0x6fa66a(0x1da)](_0x3b788b),_0x20b2e0=(_0x9c3f78=_0xa4facf==null?void 0x0:_0xa4facf['wsSessionTicketUrl'])!=null?_0x9c3f78:_0x153ab7;return(_0x15132f=(_0x2368f7=(await this[_0x6fa66a(0x200)]['get'](_0x20b2e0,{'headers':{'Content-Type':_0x6fa66a(0x31a)}}))[_0x6fa66a(0x1e2)])==null?void 0x0:_0x2368f7[_0x6fa66a(0x278)])!=null?_0x15132f:'';}};st=In([K(0x0,_0x5c6460(_0x1d66e7)),K(0x1,_0x5c6460(_0x3fb791)),K(0x2,_0x395855),K(0x3,_0x3c1e89),K(0x4,_0x2d5160)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x1fbc6b{constructor(){const _0x50e002=_0x563413;super(),_(this,_0x50e002(0x3ad),_0x214fa4()),_(this,'_selfUnitIDs',new Set()),_(this,_0x50e002(0x2c2),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x50e002(0x21a),new Map()),_(this,'_unitStatus',new Map()),this[_0x50e002(0x2c6)]();}['dispose'](){const _0x5839ec=_0x563413;super[_0x5839ec(0x37b)](),this[_0x5839ec(0x21a)][_0x5839ec(0x29b)]((_0x3cbd62,_0x2d2a22)=>this[_0x5839ec(0x3d6)](_0x2d2a22)),this[_0x5839ec(0x28e)]&&window[_0x5839ec(0x2a5)](this[_0x5839ec(0x28e)]);}[_0x563413(0x280)](_0x3b3961){const _0x317653=_0x563413;return this[_0x317653(0x283)](_0x3b3961)['pipe'](_0x5718a3());}[_0x563413(0x354)](_0x14c9b1){const _0x5eaa7f=_0x563413;this[_0x5eaa7f(0x305)][_0x5eaa7f(0x36d)]===0x0&&this[_0x5eaa7f(0x319)](),this['_selfUnitIDs'][_0x5eaa7f(0x308)](_0x14c9b1),this[_0x5eaa7f(0x2a6)]({'type':0x0,'memberID':this[_0x5eaa7f(0x3ad)],'unitIDs':[_0x14c9b1],'isForwarded':!0x1});}[_0x563413(0x364)](_0x567283){const _0x3c411f=_0x563413;this[_0x3c411f(0x305)]['delete'](_0x567283),this[_0x3c411f(0x305)][_0x3c411f(0x36d)]===0x0&&this[_0x3c411f(0x28e)]&&window['clearInterval'](this[_0x3c411f(0x28e)]);}['_init'](){const _0xacc9e2=_0x563413;this[_0xacc9e2(0x1f8)](_0x3e0e70(_0x2974a5(window,_0xacc9e2(0x2f6))[_0xacc9e2(0x240)](_0x1c7b40=>{const _0x13537e=_0xacc9e2;if(_0x1c7b40[_0x13537e(0x258)]!==nt||!_0x1c7b40[_0x13537e(0x220)])return;const _0x3312d5=JSON[_0x13537e(0x3b8)](_0x1c7b40['newValue']);this[_0x13537e(0x1e9)](_0x3312d5);}))),window[_0xacc9e2(0x20e)](_0xacc9e2(0x28b),()=>this['_send']({'type':0x1,'memberID':this[_0xacc9e2(0x3ad)],'unitIDs':Array[_0xacc9e2(0x349)](this[_0xacc9e2(0x305)])}));}[_0x563413(0x1e9)](_0x357cd0){const _0x414232=_0x563413;switch(_0x357cd0[_0x414232(0x3b0)]){case 0x0:this['_handleJoinEvent'](_0x357cd0);break;case 0x1:this[_0x414232(0x38a)](_0x357cd0);break;case 0x2:this[_0x414232(0x242)](_0x357cd0);break;}}[_0x563413(0x2d1)](_0x21b945){const _0x217eb4=_0x563413,{unitIDs:_0x48a886,memberID:_0x3685aa,isForwarded:_0x419ff0}=_0x21b945;_0x48a886['forEach'](_0x8cda78=>{const _0x16425a=_0x129d;if(!_0x419ff0&&this['_unitOnClients'][_0x16425a(0x3b6)](_0x8cda78)&&this[_0x16425a(0x283)](_0x8cda78)[_0x16425a(0x241)](_0x5080da[_0x16425a(0x363)]),!this[_0x16425a(0x2c2)][_0x16425a(0x3b6)](_0x8cda78)||!this[_0x16425a(0x2c2)][_0x16425a(0x32e)](_0x8cda78)['has'](_0x3685aa)){const _0x5660de=this[_0x16425a(0x2c2)]['get'](_0x8cda78)||new Set();_0x5660de[_0x16425a(0x308)](_0x3685aa),this[_0x16425a(0x2c2)][_0x16425a(0x3a1)](_0x8cda78,_0x5660de),this['_scheduleClearOtherTimer'](_0x3685aa);}}),_0x419ff0||this[_0x217eb4(0x2a6)]({'type':0x0,'memberID':this[_0x217eb4(0x3ad)],'unitIDs':[...this[_0x217eb4(0x305)]],'isForwarded':!0x0});}[_0x563413(0x39d)](_0x277685){const _0x5fcac2=_0x563413;this[_0x5fcac2(0x3d6)](_0x277685);const _0x4f9aee=window[_0x5fcac2(0x1fe)](()=>{const _0x25a055=_0x5fcac2;this['_unitOnClients'][_0x25a055(0x29b)](_0x1f4cb5=>{_0x1f4cb5['delete'](_0x277685);});},it*0x2);this[_0x5fcac2(0x21a)][_0x5fcac2(0x3a1)](_0x277685,_0x4f9aee);}['_removeClearOtherTimer'](_0x5eee82){const _0x81b353=_0x563413;if(this[_0x81b353(0x21a)]['has'](_0x5eee82)){const _0x554b7c=this[_0x81b353(0x21a)][_0x81b353(0x32e)](_0x5eee82);_0x554b7c&&window['clearTimeout'](_0x554b7c),this[_0x81b353(0x21a)][_0x81b353(0x3a1)](_0x5eee82,null);}}[_0x563413(0x38a)](_0x5c95db){const _0x5b8291=_0x563413,{memberID:_0x3862d4,unitIDs:_0x2751f1}=_0x5c95db;_0x2751f1[_0x5b8291(0x29b)](_0x5c44d6=>{const _0x1f934a=_0x5b8291;var _0x59a8c6;const _0x3d7bf=this[_0x1f934a(0x2c2)][_0x1f934a(0x32e)](_0x5c44d6);_0x3d7bf&&(_0x3d7bf[_0x1f934a(0x1e8)](_0x3862d4),(_0x59a8c6=this[_0x1f934a(0x283)](_0x5c44d6))==null||_0x59a8c6[_0x1f934a(0x241)](_0x3d7bf['size']===0x0?_0x5080da[_0x1f934a(0x380)]:_0x5080da[_0x1f934a(0x363)]));}),this[_0x5b8291(0x3d6)](_0x3862d4);}[_0x563413(0x242)](_0x41acfd){const _0x5baf1d=_0x563413;this[_0x5baf1d(0x39d)](_0x41acfd['memberID']);}[_0x563413(0x2a6)](_0x163fb0){const _0x4a7b63=_0x563413;localStorage[_0x4a7b63(0x210)](nt,JSON['stringify'](_0x163fb0));}['_scheduleHeartbeat'](){const _0x4b415d=_0x563413;this[_0x4b415d(0x28e)]=window[_0x4b415d(0x2bc)](()=>{const _0x278451=_0x4b415d;this[_0x278451(0x2a6)]({'type':0x2,'memberID':this[_0x278451(0x3ad)]});},it);}['_ensureSubject'](_0x312359){const _0xa5b96=_0x563413;return this[_0xa5b96(0x224)][_0xa5b96(0x3b6)](_0x312359)||this[_0xa5b96(0x224)][_0xa5b96(0x3a1)](_0x312359,new _0x4621a1(_0x5080da[_0xa5b96(0x380)])),this[_0xa5b96(0x224)]['get'](_0x312359);}}var Mt=(_0x5196f8=>(_0x5196f8[_0x5196f8['UNDEFINED']=0x0]=_0x563413(0x2b1),_0x5196f8[_0x5196f8['OK']=0x1]='OK',_0x5196f8[_0x5196f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5196f8[_0x5196f8['PERMISSION_DENIED']=0x3]=_0x563413(0x2f7),_0x5196f8[_0x5196f8[_0x563413(0x29e)]=0x4]='NOT_FOUND',_0x5196f8[_0x5196f8['UNAUTHENTICATED']=0x5]=_0x563413(0x2e5),_0x5196f8[_0x5196f8[_0x563413(0x234)]=0x6]='ALREADY_EXISTS',_0x5196f8[_0x5196f8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5196f8[_0x5196f8[_0x563413(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5196f8[_0x5196f8[_0x563413(0x230)]=0x9]='COMPLETION_FINISHED',_0x5196f8[_0x5196f8[_0x563413(0x276)]=0xa]=_0x563413(0x276),_0x5196f8[_0x5196f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x563413(0x226),_0x5196f8[_0x5196f8[_0x563413(0x38e)]=0x1771]=_0x563413(0x38e),_0x5196f8[_0x5196f8[_0x563413(0x21e)]=0x1772]=_0x563413(0x21e),_0x5196f8[_0x5196f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x563413(0x239),_0x5196f8[_0x5196f8[_0x563413(0x2f1)]=0x1b59]=_0x563413(0x2f1),_0x5196f8[_0x5196f8[_0x563413(0x214)]=0x1b5a]=_0x563413(0x214),_0x5196f8[_0x5196f8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x563413(0x265),_0x5196f8[_0x5196f8[_0x563413(0x2eb)]=0x1b5c]=_0x563413(0x2eb),_0x5196f8[_0x5196f8['APPLY_DUPLICATED']=0x1b5d]=_0x563413(0x259),_0x5196f8[_0x5196f8[_0x563413(0x31b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5196f8[_0x5196f8[_0x563413(0x267)]=0x2329]=_0x563413(0x267),_0x5196f8[_0x5196f8[_0x563413(0x3d7)]=0x232a]=_0x563413(0x3d7),_0x5196f8[_0x5196f8[_0x563413(0x20b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5196f8[_0x5196f8[_0x563413(0x2c4)]=0x232c]=_0x563413(0x2c4),_0x5196f8[_0x5196f8[_0x563413(0x3c5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5196f8[_0x5196f8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x563413(0x333),_0x5196f8[_0x5196f8[_0x563413(0x30a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5196f8[_0x5196f8[_0x563413(0x36c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5196f8[_0x5196f8[_0x563413(0x371)]=0x2714]=_0x563413(0x371),_0x5196f8[_0x5196f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x563413(0x20a),_0x5196f8[_0x5196f8[_0x563413(0x24c)]=0x271b]=_0x563413(0x24c),_0x5196f8[_0x5196f8[_0x563413(0x39a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5196f8[_0x5196f8[_0x563413(0x325)]=0x2ee1]=_0x563413(0x325),_0x5196f8[_0x5196f8[_0x563413(0x2f9)]=0x2ee2]='INVALID_INVITE_CODE',_0x5196f8[_0x5196f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x563413(0x2c3),_0x5196f8[_0x5196f8[_0x563413(0x2e7)]=0x2ee4]=_0x563413(0x2e7),_0x5196f8[_0x5196f8[_0x563413(0x212)]=0x2ee5]=_0x563413(0x212),_0x5196f8[_0x5196f8[_0x563413(0x2b5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x31e)]=0x32ca]=_0x563413(0x31e),_0x5196f8[_0x5196f8[_0x563413(0x3d5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x288)]=-0x1]=_0x563413(0x288),_0x5196f8))(Mt||{}),pn=Object[_0x563413(0x350)],Cn=(_0xfea313,_0x2e9963,_0x31bdf9,_0x2d0cb9)=>{for(var _0x4fbb1d=_0x2d0cb9>0x1?void 0x0:_0x2d0cb9?pn(_0x2e9963,_0x31bdf9):_0x2e9963,_0x11686d=_0xfea313['length']-0x1,_0x242cb9;_0x11686d>=0x0;_0x11686d--)(_0x242cb9=_0xfea313[_0x11686d])&&(_0x4fbb1d=_0x242cb9(_0x4fbb1d)||_0x4fbb1d);return _0x4fbb1d;},Oe=(_0x416b24,_0x3f8577)=>(_0x3ed0ce,_0x48bd52)=>_0x3f8577(_0x3ed0ce,_0x48bd52,_0x416b24);let rt=class extends _0x1fbc6b{constructor(_0x223cd9,_0x5a4cf2,_0x5a7486){const _0x4c7426=_0x563413;super(),this[_0x4c7426(0x3ab)]=_0x223cd9,this['_httpService']=_0x5a4cf2,this[_0x4c7426(0x366)]=_0x5a7486;}async[_0x563413(0x3a9)](_0x55b471,_0x315d4b,_0x8f3d0d,..._0x182666){const _0x322e4f=_0x563413;var _0x18f6fb,_0x188aa4,_0xa1394e,_0x6fbe2;const _0x4bc79b=this[_0x322e4f(0x3ab)]['getFocusedUnit']();if(!_0x4bc79b)throw new Error(_0x322e4f(0x309));const _0x1995a5=((_0x18f6fb=this[_0x322e4f(0x366)][_0x322e4f(0x1da)](_0x41e7a3))!=null?_0x18f6fb:_0x31124b)+'/'+_0x55b471+_0x322e4f(0x379)+_0x315d4b,_0xb24270=new URL(window[_0x322e4f(0x2e9)][_0x322e4f(0x20c)]),_0x38a005={'scriptId':_0x55b471,'runId':(_0x188aa4=_0xb24270['searchParams'][_0x322e4f(0x32e)](_0x322e4f(0x271)))!=null?_0x188aa4:'','function':_0x315d4b,'unitId':_0x4bc79b[_0x322e4f(0x279)](),'argsOfFunction':JSON['stringify'](_0x182666),'invokeId':(_0xa1394e=_0x8f3d0d[_0x322e4f(0x2ce)])!=null?_0xa1394e:'','executionId':(_0x6fbe2=_0x8f3d0d[_0x322e4f(0x1e0)])!=null?_0x6fbe2:''};try{const _0xcb66b3=await this[_0x322e4f(0x200)]['post'](_0x1995a5,{'body':_0x38a005});return _0xcb66b3['body']['error']&&_0xcb66b3['body'][_0x322e4f(0x25d)][_0x322e4f(0x282)]!==Mt['OK']?'Failed':_0xcb66b3[_0x322e4f(0x1e2)][_0x322e4f(0x302)];}catch{return _0x322e4f(0x24d);}}};rt=Cn([Oe(0x0,_0x31a664),Oe(0x1,_0x5c6460(_0x3fb791)),Oe(0x2,_0x395855)],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 _0x55db26=_0xfe0a;(function(_0x37533a,_0x8d25ad){const _0x186ca8=_0xfe0a,_0x361492=_0x37533a();while(!![]){try{const _0x25007d=-parseInt(_0x186ca8(0x253))/0x1+parseInt(_0x186ca8(0x30c))/0x2+-parseInt(_0x186ca8(0x2ab))/0x3+parseInt(_0x186ca8(0x301))/0x4+parseInt(_0x186ca8(0x22f))/0x5*(parseInt(_0x186ca8(0x317))/0x6)+-parseInt(_0x186ca8(0x1d0))/0x7*(parseInt(_0x186ca8(0x1fc))/0x8)+parseInt(_0x186ca8(0x254))/0x9*(-parseInt(_0x186ca8(0x206))/0xa);if(_0x25007d===_0x8d25ad)break;else _0x361492['push'](_0x361492['shift']());}catch(_0xb1da7a){_0x361492['push'](_0x361492['shift']());}}}(_0x265e,0xaa695));var $t=Object[_0x55db26(0x17f)],xt=(_0x4f3755,_0xc5c8c1,_0x47f680)=>_0xc5c8c1 in _0x4f3755?$t(_0x4f3755,_0xc5c8c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47f680}):_0x4f3755[_0xc5c8c1]=_0x47f680,_=(_0x2b2e8b,_0x3985e8,_0x1debd6)=>xt(_0x2b2e8b,typeof _0x3985e8!='symbol'?_0x3985e8+'':_0x3985e8,_0x1debd6);import{MemberService as _0x49d31e,SessionStatus as _0x239407,CollaborationSessionService as _0x526bdc,CollaborationStatus as _0xf6bbef,CollaborationController as _0x76579,ILocalCacheService as _0x43552a,CollaborationUIEventService as _0x30ef35,CollaborationUIEventId as _0x593dda,DataLoaderService as _0x95dfd1,DocCollaborationEntity as _0x1cfdf4,getLocalCacheKey as _0x5308f7,LOCAL_CACHE_INTERVAL as _0x2b99ae,LOCAL_CACHE_INTERVAL_KEY as _0x3072e2,UniverCollaborationClientPlugin as _0x4b0dfa,CollaborationSocketService as _0x9120e9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20fbec,DEFAULT_WS_SESSION_TICKET_URL as _0x2d793f,UnitStatus as _0x271482,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x36c734,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4c7428}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x31aa01,Disposable as _0x10148b,DOC_RANGE_TYPE as _0x259efb,Inject as _0xa51950,Injector as _0x2250a0,IUniverInstanceService as _0x3c3ecb,ICommandService as _0x394c12,debounce as _0x523a45,Rectangle as _0x16c466,DisposableCollection as _0x27c98e,toDisposable as _0x4d56a9,UniverInstanceType as _0xaa118f,Tools as _0x182244,COLORS as _0x35f2da,ColorKit as _0x5df6fb,ThemeService as _0x4a852a,fromEventSubject as _0x3944fd,LocaleService as _0x81f440,createIdentifier as _0x344a70,ILogService as _0x195acb,Optional as _0x45c3e4,Workbook as _0xdb29df,CommandType as _0x223a17,IConfigService as _0x1e8626,ILocalStorageService as _0x287fb8,DependentOn as _0x2b1b6e,Plugin as _0x20bda6,merge as _0x418aac,registerDependencies as _0x3fcf25,mergeOverrideWithDependencies as _0x4a1b68,touchDependencies as _0x3815dd,generateRandomId as _0xd38932}from'@univerjs/core';import{Shape as _0x2527e2,Rect as _0x121b3e,getColor as _0x1d6c85,RegularPolygon as _0x2e55b5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x267d71,Vector2 as _0x291a01,SHEET_VIEWPORT_KEY as _0x1166a8,IRenderManagerService as _0x54df15}from'@univerjs/engine-render';import{ISocketService as _0x1e32e6,WebSocketService as _0xf7bbfc,HTTPService as _0x1f9e5b}from'@univerjs/network';import{IDocClipboardService as _0xc7d6c1,NodePositionConvertToCursor as _0x450925,NodePositionConvertToRectRange as _0x4d9753,TEXT_RANGE_LAYER_INDEX as _0x3ea4fc,SetDocZoomRatioOperation as _0x5cfbf4,DocIMEInputManagerService as _0x26da03,DocStateChangeManagerService as _0x3c013a}from'@univerjs/docs-ui';import{IImageIoService as _0x3e3bce}from'@univerjs/drawing';import{BehaviorSubject as _0x5d099f,debounceTime as _0x581749,takeUntil as _0x6ef204,Subject as _0x5a22b8,filter as _0x1cd939,switchMap as _0x4372db,merge as _0x8b5d69,combineLatest as _0x179ee2,of as _0x2098bd,fromEvent as _0x4df834,shareReplay as _0x2199e5,mapTo as _0xa4db5a,distinctUntilChanged as _0x5d76e3}from'rxjs';import{SetTextSelectionsOperation as _0x3f3eba,RichTextEditingMutation as _0x475f3d,DocSelectionManagerService as _0xa2f972,DocSkeletonManagerService as _0x46f3a8}from'@univerjs/docs';import{ITransformService as _0x106f80,CollaborationEvent as _0x5b17a8,isTransformMutationFailure as _0x23c773,isTransformMutationsWithChangesetSuccess as _0x32718c,RevisionService as _0x56bb27,ISnapshotServerService as _0x28ee72}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xc02883,serializeRangeWithSheet as _0x12c398}from'@univerjs/engine-formula';import{RefRangeService as _0xc3bc2b,SetSelectionsOperation as _0x13d93e,SheetsSelectionsService as _0x5c59b4,EffectRefRangId as _0x4c1112,handleIRemoveRow as _0x5cc830,handleIRemoveCol as _0x319e93,handleMoveRange as _0x6c58ac,handleInsertRow as _0x2ba77f,handleInsertRangeMoveRight as _0x3d52b6,handleInsertRangeMoveDown as _0x34cb4f,handleInsertCol as _0x238f91,handleDeleteRangeMoveUp as _0xe9fa46,handleDeleteRangeMoveLeft as _0x539a4c,runRefRangeMutations as _0x4ee055,SetWorksheetActivateCommand as _0x1af844}from'@univerjs/sheets';import{map as _0x2876c1,filter as _0x51a06e,throttleTime as _0x365a5f,takeUntil as _0x2838eb,switchMap as _0x2bb06b}from'rxjs/operators';import{SheetSkeletonManagerService as _0xf126a4,getCoordByCell as _0xbda0ef,getSheetObject as _0x1006d7}from'@univerjs/sheets-ui';import{jsx as _0x56b72e,jsxs as _0x4854c4}from'react/jsx-runtime';import{useObservable as _0x30e525,useDependency as _0x21a5e4,IUIPartsService as _0x139fe6,BuiltInUIPart as _0x3ee0e8,connectInjector as _0x9935de,IBeforeCloseService as _0x1abb18,IMessageService as _0x4d357a,INotificationService as _0x335f9f}from'@univerjs/ui';import{Tooltip as _0x1c5f45,clsx as _0x5e77eb,MessageType as _0x5a4c24}from'@univerjs/design';import{forwardRef as _0x5d4986,useRef as _0x44758e,createElement as _0x471475,useCallback as _0x5a319c}from'react';import{IRemoteInstanceService as _0x508219}from'@univerjs/rpc';var ci=Object[_0x55db26(0x26c)],li=(_0x772f58,_0x1867f3,_0x4e8b62,_0x39d7d0)=>{const _0x7103eb=_0x55db26;for(var _0x1f89db=_0x39d7d0>0x1?void 0x0:_0x39d7d0?ci(_0x1867f3,_0x4e8b62):_0x1867f3,_0x43965a=_0x772f58[_0x7103eb(0x245)]-0x1,_0x4ebe00;_0x43965a>=0x0;_0x43965a--)(_0x4ebe00=_0x772f58[_0x43965a])&&(_0x1f89db=_0x4ebe00(_0x1f89db)||_0x1f89db);return _0x1f89db;},Je=(_0x37fdee,_0x2559ea)=>(_0x555740,_0xeef134)=>_0x2559ea(_0x555740,_0xeef134,_0x37fdee);let Ne=class extends _0x31aa01{constructor(_0x1f01bb,_0x6f2edd){const _0x1bb75b=_0x55db26;super(),this[_0x1bb75b(0x2da)]=_0x1f01bb,this[_0x1bb75b(0x2af)]=_0x6f2edd,this[_0x1bb75b(0x248)]();}[_0x55db26(0x248)](){const _0x379398=_0x55db26,_0x516cdc=this;this[_0x379398(0x263)](this[_0x379398(0x2da)]['addClipboardHook']({'onBeforePasteImage':async _0xecefd0=>{const _0x565d85=_0x379398,_0xd90c82=await _0x516cdc[_0x565d85(0x2af)][_0x565d85(0x25b)](_0xecefd0);return _0xd90c82?{'source':_0xd90c82[_0x565d85(0x24c)],'imageSourceType':_0xd90c82[_0x565d85(0x2d9)]}:null;}}));}};Ne=li([Je(0x0,_0xc7d6c1),Je(0x1,_0x3e3bce)],Ne);const Ze=[_0x55db26(0x1a4),_0x55db26(0x288),_0x55db26(0x322),_0x55db26(0x265),_0x55db26(0x2bd),_0x55db26(0x1b2)];class ke extends _0x10148b{constructor(){const _0x582e49=_0x55db26;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x582e49(0x32e),0x0);}[_0x55db26(0x1c2)](_0x328451){const _0x51621f=_0x55db26;if(this['_assignedColors']['has'](_0x328451))return this['_assignedColors'][_0x51621f(0x30a)](_0x328451);const _0x129bb7=Ze[this['_colorIndex']];return this[_0x51621f(0x32e)]=(this[_0x51621f(0x32e)]+0x1)%Ze[_0x51621f(0x245)],this[_0x51621f(0x261)][_0x51621f(0x205)](_0x328451,_0x129bb7),_0x129bb7;}}function Tt(_0x582ca1){let _0x1d68f1='';for(const _0x2f0c40 of _0x582ca1){const {startOffset:_0x31adb9,endOffset:_0xbbae82,isActive:_0x22dda7,rangeType:_0x29ce59,segmentId:_0x9509f8,segmentPage:_0x8aa696}=_0x2f0c40;_0x1d68f1['length']&&(_0x1d68f1+=','),_0x1d68f1+=_0x31adb9+':'+_0xbbae82+':'+(_0x22dda7?'1':'0')+':'+_0x29ce59+':'+_0x9509f8+':'+_0x8aa696;}return _0x1d68f1;}function _i(_0x41c616){const _0xb8f748=_0x55db26,_0x2bb3c9=_0x41c616[_0xb8f748(0x2ad)](','),_0xaf1eca=[];for(const _0x456101 of _0x2bb3c9){const [_0x1f388b,_0x1cf1cd,_0x3e86bc,_0x4e4f52,_0x2a7f1c,_0x8de248]=_0x456101[_0xb8f748(0x2ad)](':');_0xaf1eca['push']({'startOffset':Number(_0x1f388b),'endOffset':Number(_0x1cf1cd),'collapsed':_0x1f388b===_0x1cf1cd,'isActive':_0x3e86bc==='1','rangeType':_0x4e4f52===_0x259efb[_0xb8f748(0x216)]?_0x259efb[_0xb8f748(0x216)]:_0x259efb[_0xb8f748(0x186)],'segmentId':typeof _0x2a7f1c==_0xb8f748(0x2e2)?String(_0x2a7f1c):'','segmentPage':Number(_0x8de248!=null?_0x8de248:-0x1)});}return _0xaf1eca[_0xb8f748(0x309)](_0x4d2107=>_0x4d2107['isActive'])||(_0xaf1eca[0x0][_0xb8f748(0x20b)]=!0x0),_0xaf1eca;}class He extends _0x31aa01{constructor(){const _0x5885ee=_0x55db26;super(...arguments),_(this,'_collabCursorState$',new _0x5d099f(null)),_(this,_0x5885ee(0x2de),this[_0x5885ee(0x2cf)]['asObservable']());}['syncEditingCollabCursor'](_0x581e74){const _0x12f4b2=_0x55db26,{unitID:_0xb5896a,memberID:_0x497b9d,textRanges:_0x57de50}=_0x581e74,_0x4820d2=Tt(_0x57de50);if(_0x4820d2==='')return;const _0x54ae33={'unitID':_0xb5896a,'memberID':_0x497b9d,'selection':_0x4820d2};this[_0x12f4b2(0x2cf)]['next'](_0x54ae33);}}var hi=Object[_0x55db26(0x26c)],ui=(_0x3c61a7,_0x1ff62b,_0x342b1f,_0x4a9aa8)=>{const _0x4d5aab=_0x55db26;for(var _0x5a9307=_0x4a9aa8>0x1?void 0x0:_0x4a9aa8?hi(_0x1ff62b,_0x342b1f):_0x1ff62b,_0x1b8c42=_0x3c61a7[_0x4d5aab(0x245)]-0x1,_0x3071ba;_0x1b8c42>=0x0;_0x1b8c42--)(_0x3071ba=_0x3c61a7[_0x1b8c42])&&(_0x5a9307=_0x3071ba(_0x5a9307)||_0x5a9307);return _0x5a9307;},L=(_0x24a290,_0x380f49)=>(_0x45fd13,_0x299370)=>_0x380f49(_0x45fd13,_0x299370,_0x24a290);const di=0x12c,fi=0x64;let Ue=class extends _0x31aa01{constructor(_0x289ea8,_0x10cc99,_0x584dfd,_0x4a33c1,_0x35b6f7,_0xfa3cae,_0x293e7b,_0x17e1ff,_0xff3f6){const _0x6e5a9e=_0x55db26;super(),_(this,_0x6e5a9e(0x29e),!0x1),_(this,_0x6e5a9e(0x248),!0x1),_(this,_0x6e5a9e(0x14e),new _0x5d099f(new Map())),_(this,_0x6e5a9e(0x15e),this['_cursorInfo$'][_0x6e5a9e(0x31c)]()),_(this,_0x6e5a9e(0x2d6),new _0x5d099f([])),_(this,_0x6e5a9e(0x1ae),this[_0x6e5a9e(0x2d6)][_0x6e5a9e(0x2e6)](_0x581749(di))),_(this,'_updateLocalCursor',_0x523a45(_0xfc3705=>{const _0x46fa15=_0x6e5a9e,_0x843892={'eventID':_0x5b17a8[_0x46fa15(0x2d5)],'data':{'unitID':this[_0x46fa15(0x2f5)],'memberID':this[_0x46fa15(0x337)]['getMemberID'](),'selection':Tt(_0xfc3705)}};this[_0x46fa15(0x337)][_0x46fa15(0x2c3)](_0x843892,this['unitID']);},fi)),(this[_0x6e5a9e(0x2f5)]=_0x289ea8,this[_0x6e5a9e(0x337)]=_0x10cc99,this['_injector']=_0x584dfd,this[_0x6e5a9e(0x1a0)]=_0x4a33c1,this[_0x6e5a9e(0x2ac)]=_0x35b6f7,this['_syncEditingCollabCursorService']=_0xfa3cae,this[_0x6e5a9e(0x2ee)]=_0x293e7b,this[_0x6e5a9e(0x294)]=_0x17e1ff,this[_0x6e5a9e(0x316)]=_0xff3f6);}get[_0x55db26(0x2c4)](){const _0x5ae2b6=_0x55db26;return this[_0x5ae2b6(0x14e)][_0x5ae2b6(0x23c)]();}get['roomMembers'](){const _0x42e525=_0x55db26;return this[_0x42e525(0x2d6)][_0x42e525(0x23c)]();}[_0x55db26(0x274)](){const _0x289ddd=_0x55db26;super[_0x289ddd(0x274)](),this['_cursorInfo$'][_0x289ddd(0x2b0)](new Map()),this['_cursorInfo$'][_0x289ddd(0x28d)](),this[_0x289ddd(0x2d6)][_0x289ddd(0x2b0)]([]),this[_0x289ddd(0x2d6)]['complete']();}[_0x55db26(0x2f9)](){const _0x20f6c5=_0x55db26;this[_0x20f6c5(0x248)]||(this[_0x20f6c5(0x248)]=!0x0,this[_0x20f6c5(0x337)][_0x20f6c5(0x1d5)]['pipe'](_0x6ef204(this[_0x20f6c5(0x300)]))[_0x20f6c5(0x1d9)](_0x18c43d=>{const _0x1e2d1a=_0x20f6c5;_0x18c43d===_0x239407['ONLINE']?this['_toggleOnline']():this[_0x1e2d1a(0x333)]();}),this[_0x20f6c5(0x337)][_0x20f6c5(0x2e5)][_0x20f6c5(0x2e6)](_0x6ef204(this[_0x20f6c5(0x300)]))['subscribe'](_0x1fdfe5=>{const _0x2df6cb=_0x20f6c5,_0x11e092=_0x1fdfe5['eventID'];_0x11e092===_0x5b17a8[_0x2df6cb(0x2d5)]&&this['_onCursorUpdate'](_0x1fdfe5),_0x11e092===_0x5b17a8[_0x2df6cb(0x1d1)]&&this[_0x2df6cb(0x1dc)](_0x1fdfe5);}),this[_0x20f6c5(0x263)](this['_commandService'][_0x20f6c5(0x1b7)](_0xee46ca=>{const _0x599e0c=_0x20f6c5,_0x149502=_0xee46ca['params'];_0x149502!=null&&this[_0x599e0c(0x29e)]&&_0xee46ca['id']===_0x3f3eba['id']&&_0x149502[_0x599e0c(0x167)]===this[_0x599e0c(0x2f5)]&&_0x149502[_0x599e0c(0x2ec)]===!0x1&&_0x149502[_0x599e0c(0x276)]['length']>0x0&&this['_updateLocalCursor'](_0x149502['ranges']);})),this['_syncEditingCollabCursorService'][_0x20f6c5(0x2de)][_0x20f6c5(0x2e6)](_0x6ef204(this[_0x20f6c5(0x300)]))[_0x20f6c5(0x1d9)](_0x2edec7=>{const _0x10b370=_0x20f6c5;if((_0x2edec7==null?void 0x0:_0x2edec7[_0x10b370(0x2f5)])!==this[_0x10b370(0x2f5)])return;const _0x544fe0={'eventID':_0x5b17a8[_0x10b370(0x2d5)],'data':_0x2edec7};this[_0x10b370(0x145)](_0x544fe0);}),this[_0x20f6c5(0x263)](this[_0x20f6c5(0x316)][_0x20f6c5(0x1b7)](_0x105287=>{const _0x5627bd=_0x20f6c5;if(_0x105287[_0x5627bd(0x158)]==null)return;const _0x20ffea=_0x105287[_0x5627bd(0x158)];if(_0x105287['id']!==_0x475f3d['id']||_0x20ffea['unitId']!==this[_0x5627bd(0x2f5)])return;const _0x28c1fc={'id':_0x5627bd(0x311),'params':_0x20ffea},_0x53b89a=this[_0x5627bd(0x2c4)];for(const [_0x5d8eb8,_0x29a588]of _0x53b89a){const _0x57d25d={'id':_0x5627bd(0x311),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x29a588['ranges']}},_0x5b3c05=this[_0x5627bd(0x2ee)][_0x5627bd(0x182)](_0x28c1fc,_0x57d25d,!0x1);if(_0x23c773(_0x5b3c05))throw _0x5b3c05[_0x5627bd(0x27a)];_0x53b89a[_0x5627bd(0x205)](_0x5d8eb8,{..._0x29a588,'ranges':_0x5b3c05[_0x5627bd(0x183)][_0x5627bd(0x158)][_0x5627bd(0x1cf)]});}queueMicrotask(()=>{const _0x2e0dfe=_0x5627bd;this[_0x2e0dfe(0x14e)]['next'](_0x53b89a);});})));}[_0x55db26(0x145)](_0xcc5e50){const _0x5c1331=_0x55db26;var _0x593c71,_0x224073;const {memberID:_0x44a02d,selection:_0x4c3af4}=_0xcc5e50['data'],_0x1274bf=_i(_0x4c3af4),_0x1c4a52=(_0x224073=(_0x593c71=this[_0x5c1331(0x2ac)][_0x5c1331(0x1c5)](this[_0x5c1331(0x2f5)],_0x44a02d))==null?void 0x0:_0x593c71['name'])!=null?_0x224073:_0x5c1331(0x2bf),_0x1acc0d={'color':this[_0x5c1331(0x1a0)][_0x5c1331(0x1c2)](_0x44a02d),'name':_0x1c4a52,'ranges':_0x1274bf},_0x24da1a=this[_0x5c1331(0x2c4)];_0x24da1a['set'](_0x44a02d,_0x1acc0d),this[_0x5c1331(0x14e)][_0x5c1331(0x2b0)](_0x24da1a);}[_0x55db26(0x1dc)](_0x1147d0){const _0x3c960e=_0x55db26,{memberID:_0x2e6949}=_0x1147d0[_0x3c960e(0x188)],_0x2a893d=this[_0x3c960e(0x2c4)];_0x2a893d[_0x3c960e(0x233)](_0x2e6949),this['_cursorInfo$'][_0x3c960e(0x2b0)](_0x2a893d);}[_0x55db26(0x2d1)](){const _0x31fd9d=_0x55db26;var _0x1b172a;if(this[_0x31fd9d(0x29e)]=!0x0,((_0x1b172a=this[_0x31fd9d(0x294)]['getFocusedUnit']())==null?void 0x0:_0x1b172a[_0x31fd9d(0x19a)]())!==this[_0x31fd9d(0x2f5)])return;const _0x352eb0=this['_injector'][_0x31fd9d(0x30a)](_0xa2f972)[_0x31fd9d(0x202)]();Array['isArray'](_0x352eb0)&&_0x352eb0[_0x31fd9d(0x245)]>0x0&&this['_updateLocalCursor'](_0x352eb0);}[_0x55db26(0x333)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0xa51950(_0x2250a0)),L(0x3,_0xa51950(ke)),L(0x4,_0xa51950(_0x49d31e)),L(0x5,_0xa51950(He)),L(0x6,_0x106f80),L(0x7,_0x3c3ecb),L(0x8,_0x394c12)],Ue);var Si=Object[_0x55db26(0x26c)],mi=(_0x4ed096,_0x3950e2,_0x13b874,_0x3d77f8)=>{const _0x524fe1=_0x55db26;for(var _0x337beb=_0x3d77f8>0x1?void 0x0:_0x3d77f8?Si(_0x3950e2,_0x13b874):_0x3950e2,_0x2264e7=_0x4ed096[_0x524fe1(0x245)]-0x1,_0x2ae3e0;_0x2264e7>=0x0;_0x2264e7--)(_0x2ae3e0=_0x4ed096[_0x2264e7])&&(_0x337beb=_0x2ae3e0(_0x337beb)||_0x337beb);return _0x337beb;},x=(_0x207af0,_0x322fea)=>(_0x585904,_0x2561a4)=>_0x322fea(_0x585904,_0x2561a4,_0x207af0);const gi=0x12c,Ii=0x64,vi=()=>{let _0x4e5843=[],_0x597182=!0x1;return _0x5684eb=>{const _0x5805c=_0xfe0a;_0x4e5843[_0x5805c(0x227)](_0x5684eb),_0x597182||(_0x597182=!0x0,setTimeout(()=>{const _0x423653=_0x5805c;_0x4e5843[_0x423653(0x26a)](_0x27da3c=>_0x27da3c()),_0x4e5843=[],_0x597182=!0x1;}));};};let Me=class extends _0x31aa01{constructor(_0x5acb0e,_0x12630e,_0x13960a,_0x2c12b9,_0x44c496,_0x470a26,_0x475782,_0x510150){const _0x33a67f=_0x55db26;super(),_(this,_0x33a67f(0x29e),!0x1),_(this,_0x33a67f(0x248),!0x1),_(this,_0x33a67f(0x14e),new _0x5d099f(new Map())),_(this,_0x33a67f(0x15e),this[_0x33a67f(0x14e)]['asObservable']()),_(this,_0x33a67f(0x2d6),new _0x5d099f([])),_(this,_0x33a67f(0x1ae),this[_0x33a67f(0x2d6)][_0x33a67f(0x2e6)](_0x581749(gi))),_(this,_0x33a67f(0x215),_0x523a45((_0x583adf,_0x1adf09)=>{const _0x18e0e1=_0x33a67f,_0x2bfb51={'eventID':_0x5b17a8[_0x18e0e1(0x2d5)],'data':{'unitID':this[_0x18e0e1(0x2f5)],'memberID':this[_0x18e0e1(0x337)][_0x18e0e1(0x19b)](),'selection':_0x12c398(_0x583adf,_0x1adf09[_0x18e0e1(0x225)])}};this[_0x18e0e1(0x337)][_0x18e0e1(0x2c3)](_0x2bfb51,this['unitID']);},Ii)),(this[_0x33a67f(0x2f5)]=_0x5acb0e,this[_0x33a67f(0x337)]=_0x12630e,this[_0x33a67f(0x1c3)]=_0x13960a,this[_0x33a67f(0x1a0)]=_0x2c12b9,this['_memberService']=_0x44c496,this[_0x33a67f(0x294)]=_0x470a26,this[_0x33a67f(0x316)]=_0x475782,this[_0x33a67f(0x17e)]=_0x510150);}get[_0x55db26(0x2c4)](){const _0x5ee915=_0x55db26;return this[_0x5ee915(0x14e)]['getValue']();}get[_0x55db26(0x161)](){const _0x34b8ce=_0x55db26;return this[_0x34b8ce(0x2d6)][_0x34b8ce(0x23c)]();}[_0x55db26(0x274)](){const _0x1f6b2a=_0x55db26;super[_0x1f6b2a(0x274)](),this[_0x1f6b2a(0x14e)][_0x1f6b2a(0x2b0)](new Map()),this[_0x1f6b2a(0x14e)][_0x1f6b2a(0x28d)](),this[_0x1f6b2a(0x2d6)][_0x1f6b2a(0x2b0)]([]),this[_0x1f6b2a(0x2d6)][_0x1f6b2a(0x28d)]();}[_0x55db26(0x2f9)](){const _0x62a026=_0x55db26;this[_0x62a026(0x248)]||(this['_init']=!0x0,this[_0x62a026(0x337)]['sessionStatus$'][_0x62a026(0x2e6)](_0x6ef204(this[_0x62a026(0x300)]))[_0x62a026(0x1d9)](_0x4e127b=>{const _0xa7ea7a=_0x62a026;_0x4e127b===_0x239407[_0xa7ea7a(0x191)]?this[_0xa7ea7a(0x2d1)]():this[_0xa7ea7a(0x333)]();}),this[_0x62a026(0x337)]['event$']['pipe'](_0x6ef204(this[_0x62a026(0x300)]))[_0x62a026(0x1d9)](_0x5bb9ab=>{const _0x4c854=_0x62a026,_0x2d8570=_0x5bb9ab[_0x4c854(0x2d3)];_0x2d8570===_0x5b17a8[_0x4c854(0x2d5)]&&this[_0x4c854(0x145)](_0x5bb9ab),_0x2d8570===_0x5b17a8[_0x4c854(0x1d1)]&&this['_onCursorDelete'](_0x5bb9ab);}),this[_0x62a026(0x28c)](),this[_0x62a026(0x263)](this[_0x62a026(0x316)]['onCommandExecuted'](_0x4490fb=>{const _0x1c9a81=_0x62a026;if(this[_0x1c9a81(0x29e)]&&_0x4490fb['id']===_0x13d93e['id']&&_0x4490fb[_0x1c9a81(0x158)]['unitId']===this[_0x1c9a81(0x2f5)]){const _0x1c08fc=_0x4490fb[_0x1c9a81(0x158)];this[_0x1c9a81(0x215)](_0x1c08fc[_0x1c9a81(0x1b8)],_0x1c08fc['selections'][0x0]);}})));}[_0x55db26(0x145)](_0x21ae20){const _0x54582f=_0x55db26;var _0x583dd3,_0x104ece;const {memberID:_0x1964ec,selection:_0xeed82d}=_0x21ae20[_0x54582f(0x188)],{sheetName:_0x2b6948,range:_0x5f04a0}=_0xc02883(_0xeed82d),_0x53f2ed={'name':(_0x104ece=(_0x583dd3=this[_0x54582f(0x2ac)]['getMember'](this['unitID'],_0x1964ec))==null?void 0x0:_0x583dd3['name'])!=null?_0x104ece:_0x54582f(0x2bf),'range':this['_getMergeRange'](_0x2b6948,_0x5f04a0),'sheetID':_0x2b6948,'color':this[_0x54582f(0x1a0)]['assignAColorForMemberID'](_0x1964ec),'selection':_0xeed82d},_0x1ce3fa=this[_0x54582f(0x2c4)];_0x1ce3fa['set'](_0x1964ec,_0x53f2ed),this[_0x54582f(0x14e)][_0x54582f(0x2b0)](_0x1ce3fa);}['_onCursorDelete'](_0x460123){const _0x5367e6=_0x55db26,{memberID:_0x34a07d}=_0x460123['data'],_0x35845b=this[_0x5367e6(0x2c4)];_0x35845b[_0x5367e6(0x233)](_0x34a07d),this[_0x5367e6(0x14e)][_0x5367e6(0x2b0)](_0x35845b);}['_getMergeRange'](_0x363fe5,_0x59a806){const _0x591174=_0x55db26;var _0x5c11a0,_0xf1f0e1;const _0x5f42f1=(_0xf1f0e1=(_0x5c11a0=this[_0x591174(0x294)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x5c11a0['getSheetBySheetId'](_0x363fe5))==null?void 0x0:_0xf1f0e1['getMergeData']();return(_0x5f42f1==null?void 0x0:_0x5f42f1[_0x591174(0x18f)](_0xd4ffa4=>_0x16c466[_0x591174(0x1b6)](_0xd4ffa4,_0x59a806)))||_0x59a806;}[_0x55db26(0x28c)](){const _0xd7e68f=_0x55db26,_0xae6713=new _0x27c98e(),_0x40ca70=vi(),_0x4fc3a0=()=>{const _0x408ba1=_0xfe0a;_0xae6713[_0x408ba1(0x274)]();const _0x3be5fc=(_0x355f01,_0x512b1e,_0x4d5154,_0x411485)=>{const _0x36c8ca=_0x408ba1;let _0x52e4c1=[];switch(_0x355f01['id']){case _0x4c1112[_0x36c8ca(0x2f7)]:{_0x52e4c1=_0x539a4c(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x27c)]:{_0x52e4c1=_0xe9fa46(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x264)]:{_0x52e4c1=_0x238f91(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x229)]:{_0x52e4c1=_0x34cb4f(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x1db)]:{_0x52e4c1=_0x3d52b6(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x224)]:{_0x52e4c1=_0x2ba77f(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x2a8)]:{_0x52e4c1=_0x6c58ac(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x1e6)]:{_0x52e4c1=_0x319e93(_0x355f01,_0x411485);break;}case _0x4c1112['RemoveRowCommandId']:{_0x52e4c1=_0x5cc830(_0x355f01,_0x411485);break;}}const _0x17712b=_0x4ee055(_0x52e4c1,_0x411485),_0x4d8064=this['cursorInfo'][_0x36c8ca(0x30a)](_0x512b1e);if(_0x4d8064&&_0x17712b){const _0x414429={..._0x4d8064,'range':_0x17712b};this[_0x36c8ca(0x2c4)][_0x36c8ca(0x205)](_0x512b1e,_0x414429),_0x40ca70(()=>{const _0x42937d=_0x36c8ca,_0x110cc3=this[_0x42937d(0x17e)][_0x42937d(0x2d7)](_0x17712b,_0x490253=>(_0x110cc3[_0x42937d(0x274)](),_0x3be5fc(_0x490253,_0x512b1e,_0x4d5154,_0x17712b)));_0xae6713[_0x42937d(0x2c5)](_0x110cc3);});}return{'redos':[],'undos':[]};};this[_0x408ba1(0x2c4)][_0x408ba1(0x26a)]((_0x505b9b,_0x226aae)=>{const _0x318e5c=_0x408ba1,{range:_0x40ffe7,sheetID:_0x42a7ff}=_0x505b9b,_0x5cb292=this[_0x318e5c(0x17e)][_0x318e5c(0x2d7)](_0x40ffe7,_0xccaf6=>(_0x5cb292[_0x318e5c(0x274)](),_0x3be5fc(_0xccaf6,_0x226aae,_0x42a7ff,_0x40ffe7)));_0xae6713[_0x318e5c(0x2c5)](_0x5cb292);});};this[_0xd7e68f(0x263)](_0x4d56a9(this[_0xd7e68f(0x14e)][_0xd7e68f(0x1d9)](()=>{_0x4fc3a0();})));}[_0x55db26(0x2d1)](){const _0x1466ef=_0x55db26;var _0x92eaec,_0xbe1ec0;if(this['_online']=!0x0,((_0x92eaec=this[_0x1466ef(0x294)][_0x1466ef(0x14a)]())==null?void 0x0:_0x92eaec[_0x1466ef(0x19a)]())!==this['unitID'])return;const _0x33d6ea=(_0xbe1ec0=this[_0x1466ef(0x1c3)][_0x1466ef(0x30a)](_0x5c59b4)[_0x1466ef(0x159)]())==null?void 0x0:_0xbe1ec0[0x0],_0x5d587e=this[_0x1466ef(0x294)][_0x1466ef(0x2ba)](_0xaa118f[_0x1466ef(0x1a9)])['getActiveSheet']();_0x33d6ea&&_0x5d587e&&this[_0x1466ef(0x215)](_0x5d587e[_0x1466ef(0x259)](),_0x33d6ea);}[_0x55db26(0x333)](){const _0x26c47c=_0x55db26;this[_0x26c47c(0x29e)]=!0x1;}};Me=mi([x(0x2,_0xa51950(_0x2250a0)),x(0x3,_0xa51950(ke)),x(0x4,_0xa51950(_0x49d31e)),x(0x5,_0x3c3ecb),x(0x6,_0x394c12),x(0x7,_0xa51950(_0xc3bc2b))],Me);var pi=Object[_0x55db26(0x26c)],Ci=(_0x5c9417,_0x1ef728,_0xeebf8c,_0x2b3ebb)=>{const _0x15e49b=_0x55db26;for(var _0x20ab9a=_0x2b3ebb>0x1?void 0x0:_0x2b3ebb?pi(_0x1ef728,_0xeebf8c):_0x1ef728,_0x38f342=_0x5c9417[_0x15e49b(0x245)]-0x1,_0x334d2d;_0x38f342>=0x0;_0x38f342--)(_0x334d2d=_0x5c9417[_0x38f342])&&(_0x20ab9a=_0x334d2d(_0x20ab9a)||_0x20ab9a);return _0x20ab9a;},Se=(_0x1fee2d,_0x777a98)=>(_0x824175,_0xe3ec03)=>_0x777a98(_0x824175,_0xe3ec03,_0x1fee2d);let H=class extends _0x31aa01{constructor(_0x20efc4,_0x5e4d27,_0x48f5e7){const _0x443525=_0x55db26;super(),_(this,_0x443525(0x16e),new Map()),_(this,'_entityInit$',new _0x5a22b8()),(this[_0x443525(0x294)]=_0x20efc4,this[_0x443525(0x1c3)]=_0x5e4d27,this['_collabSessionService']=_0x48f5e7,this['_init']());}['dispose'](){const _0x1ed3b4=_0x55db26;super['dispose'](),this['_entityInit$'][_0x1ed3b4(0x28d)](),this[_0x1ed3b4(0x16e)][_0x1ed3b4(0x26a)](_0x3ebfc2=>_0x3ebfc2[_0x1ed3b4(0x274)]());}[_0x55db26(0x223)](_0x84bd9c){const _0x570fd2=_0x55db26;return this[_0x570fd2(0x16e)]['has'](_0x84bd9c)?this[_0x570fd2(0x16e)]['get'](_0x84bd9c)[_0x570fd2(0x15e)]:this[_0x570fd2(0x13d)][_0x570fd2(0x2e6)](_0x1cd939(_0x2f8f55=>_0x2f8f55[_0x570fd2(0x2f5)]===_0x84bd9c),_0x4372db(_0x1347b0=>_0x1347b0['cursorInfo$']));}[_0x55db26(0x248)](){const _0x84758b=_0x55db26;this[_0x84758b(0x294)][_0x84758b(0x19f)](_0xaa118f[_0x84758b(0x1a9)])[_0x84758b(0x2e6)](_0x6ef204(this['dispose$']))['subscribe'](async _0x1b7ed4=>{const _0x19d8c5=_0x84758b,_0x9d0e26=_0x1b7ed4['getUnitId'](),_0x5c8672=await this[_0x19d8c5(0x2a6)](_0x9d0e26);this['_entityInit$']['next'](_0x5c8672),this[_0x19d8c5(0x16e)][_0x19d8c5(0x205)](_0x9d0e26,_0x5c8672);}),this[_0x84758b(0x294)][_0x84758b(0x19f)](_0xaa118f[_0x84758b(0x332)])[_0x84758b(0x2e6)](_0x6ef204(this[_0x84758b(0x300)]))['pipe'](_0x1cd939(_0x1bef77=>!_0x1bef77[_0x84758b(0x19a)]()['startsWith']('__')))['subscribe'](async _0x3e3e56=>{const _0x51f956=_0x84758b,_0x1473c3=_0x3e3e56[_0x51f956(0x19a)](),_0x16fd35=await this['_startDocCollabCursor'](_0x1473c3);this[_0x51f956(0x13d)][_0x51f956(0x2b0)](_0x16fd35),this[_0x51f956(0x16e)][_0x51f956(0x205)](_0x1473c3,_0x16fd35);}),_0x8b5d69(this[_0x84758b(0x294)][_0x84758b(0x18b)](_0xaa118f[_0x84758b(0x332)]),this['_univerInstanceService'][_0x84758b(0x18b)](_0xaa118f['UNIVER_SHEET']))[_0x84758b(0x2e6)](_0x6ef204(this[_0x84758b(0x300)]))['subscribe'](_0x4c3eb3=>{const _0x2b34bd=_0x84758b,_0x1efbd3=_0x4c3eb3[_0x2b34bd(0x19a)](),_0x4a3379=this[_0x2b34bd(0x16e)][_0x2b34bd(0x30a)](_0x1efbd3);_0x4a3379&&(_0x4a3379[_0x2b34bd(0x274)](),this['_entities'][_0x2b34bd(0x233)](_0x1efbd3));});}async[_0x55db26(0x2a6)](_0x3c2a25){const _0x5ed2b5=_0x55db26,_0x5d37cf=await this[_0x5ed2b5(0x203)][_0x5ed2b5(0x278)](_0x3c2a25),_0x4fa732=this[_0x5ed2b5(0x1c3)][_0x5ed2b5(0x312)](Me,_0x3c2a25,_0x5d37cf);return _0x4fa732[_0x5ed2b5(0x2f9)](),_0x4fa732;}async[_0x55db26(0x2cc)](_0x246c09){const _0x3d8517=_0x55db26,_0x560081=await this[_0x3d8517(0x203)]['requireSession'](_0x246c09),_0x42966c=this[_0x3d8517(0x1c3)][_0x3d8517(0x312)](Ue,_0x246c09,_0x560081);return _0x42966c[_0x3d8517(0x2f9)](),_0x42966c;}};H=Ci([Se(0x0,_0x3c3ecb),Se(0x1,_0xa51950(_0x2250a0)),Se(0x2,_0xa51950(_0x526bdc))],H);function _0x265e(){const _0x41cdda=['_updateLocalCursor','TEXT','INTERNAL_ERROR','transformRemoteChangeset','getParam','_saveTaskMap','PY_RUNTIME_SCRIPT_ERROR','_transformHistoryAndStateStack','_configService','createSocket','with','prototype','APPLY_REJECT','[CollaborationDataLoaderController]','getCollabCursors$','InsertRowCommandId','range','FETCH_MISS','push','UNDEFINED','InsertRangeMoveDownCommandId','OFFLINE','skeleton','currentColor','univer-text-red-500','OnLineSingle','15bakAAt','defs','getConfig','memberID','delete','0\x200\x2016\x2016','collab-text-anchor-','urlChange$','LICENSE_DISTRO_REJECTED','mask','_docTransformStateCacheService','beginPath','moveTo','getValue','fill','_shapes','_handleHeartbeatEvent','_docTransformIMECacheService','registerBeforeClose','post','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_URL_COL_OUT_OF_RANGE','length','univer-text-green-500','sheetID','_init','USER_NOT_INVITED_CODE','hovered','makeDirty','source','invokeId','INVALID_ARGUMENT','_getScale','_docStateChangeManagerService','random','function','296599rnHVvb','207189TPItSG','triggerDblclick','_handleLeaveEvent','collabStatus.notCollab','INVALID_INVITE_CODE','getSheetId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','saveImage','trim','LICENSE_MAX_UNITS_EXCEEDED','show','session.connection-failed','history','_assignedColors','focused$','disposeWithMe','InsertColCommandId','red.300','FromArray','result','setConfig','transformMutationsWithChangeset','forEach','Warning','getOwnPropertyDescriptor','min','_getSessionTicket','_getAnchorBounding','transformStateCache','NO_OTHER_CLIENTS_EDITING','permission.content','...','dispose','_drawAnchor','ranges','_cursorShapes','requireSession','getRangePointData','error','_send','DeleteRangeMoveUpCommandId','_range','setItem','size','_setupSubUnitSync','_drawRectRange','INVITE_CODE_REQUIRED','indexOf','max','APPLY_PERMISSION_DENIED','assign','setParam','jiqing.500','collab-rect-range-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','_onRefRangeChange','complete','SOCKET_FAILED_RETRY','_hover','_renderManagerService','_cursors','endRow','idSuffix','_univerInstanceService','_updateSubUnitFromURLParams','_context','colorChannel1','_uiPartsService','_localCacheService','_drawTextRange','debug','flatMap','_initStatusComponent','_online','collabStatus.syncing','_messageService','runId','replaceDocRanges','toRgbString','getSheetBySheetId','registerComponent','_startSheetCollabCursor','#fff','MoveRangeCommandId','_removeCollabCursors','actions','3768333FuWIns','_memberService','split','_dataLoaderService','_imageIoService','next','generateRandomId','extend','svg','setAlpha','entries','from','measureText','OTHER_CLIENT_EDITING','_refreshCollabCursors','getCurrentUnitForType','defIds','hasOwnProperty','blue.400','_document','Unknown\x20user','_status$','_scheduleClearOtherTimer','selection','send','cursorInfo','add','permission.title','undoState','CLOSE_ROOM','stringify','updateOfflineData','column','_startDocCollabCursor','closePath','addHandlerCallback','_collabCursorState$','propertyIsEnumerable','_toggleOnline','_transformPreviousActiveRange','eventID','_notificationService','UPDATE_CURSOR','_roomMembers$','registerRefRange','pluginName','imageSourceType','_docClipboardService','_hovered','_name','onPointerEnter$','collabCursorState$','AWAITING_WITH_PENDING','width','labelPosition','string','clearTimeout','YUUMI_ASYNCIO_CANCELLED','event$','pipe','M0\x200H16V16H0z','CONNECTOR_DATA_TOO_LARGE','_initEvent','endColumn','_labelPosition','isEditing','getItem','_transformService','arc','syncEditingCollabCursor','_initCommandExecutedListener','includes','MUTATION','_hideTimer','unitID','YUUMI_AI_RUN_FAILED','DeleteRangeMoveLeftCommandId','getRelativeToViewportCoord','init','loadOfflineData','url(#on-line-single_clip0_910_349)','removeParam','drawWith','_urlService','MOBILE_HAS_BEEN_BOUND','dispose$','2850512uXiejp','_handleEvent','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_ALREADY_BOUND','findNodePositionByCharIndex','APPLY_DUPLICATED','_eventUnsubscribe','_docSkeletonManagerService','some','get','round','2558896NlkMrs','runOnServer','getAncestorScale','1em','COMPLETION_FINISHED','doc.mutation.rich-text-editing','createInstance','unload','collaboration.single-unit.warning','ENSURE_SNAPSHOT_EXECUTION','_commandService','2236812TSpsjy','icon','Failed','getUnitStatus$','_docTransformSelectionsService','asObservable','_transformUndoRedoStack','INVITE_CODE_HAS_BEEN_UES','_themeService','map','location','green.600','path','OffLineSingle','ALREADY_EXISTS','black','override','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','startColumn','parse','_registerDependencies','_scene','_colorIndex','_scheduleSaving','subunit','_updateCollabCursors','UNIVER_DOC','_toggleOffline','currentTheme$','restore','unshift','_session','hide','addObject','lineTo','pushState','onRendered','sessionTicket','_ensureSubject','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','text','children','url(#off-line-single_clip0_910_343)','JOIN_ROOM_FAILED','top','transform','UNRECOGNIZED','_entityInit$','_selfUnitIDs','on-line-single_clip0_910_349','newValue','_logService','collab-client.tooltip.reconnect','deepClone','_getSheetObject','_onCursorUpdate','SOCKET_FAILED','application/json','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getFocusedUnit','_unitOnClients','backgroundColor','getVpScrollXYInfoByPosToVp','_cursorInfo$','values','session.will-retry','replace','clearInterval','_removeClearOtherTimer','evenodd','collaboration-client-ui.config','setUndoRedoMutationParamsCache','/run/','params','getCurrentSelections','YUUMI_TABLE_NOT_FOUND_IN_UNIT','div','type','xlink:href','cursorInfo$','_initResize','_color','roomMembers','_cachedData','NOT_FOUND','_collaborationController','_initDependencies','_lastPointer','unitId','apply','_handleHover','height','m1Prime','_anchorDot','redoState','_entities','font','all','getOwnPropertySymbols','_createSocketURL','getUnhiddenWorksheets','univer-flex\x20univer-items-center','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','save','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','_heartbeatTimer','getUndoRedoMutationParamsCache','name','getColorFromTheme','onPointerLeave$','_refRangeService','defineProperty','currentSkeleton$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformMutation','m2Prime','EMAIL_HAS_BEEN_BOUND','_httpService','RECT','has','data','isArray','_revisionService','getTypeOfUnitDisposed$','collabStatus.offline','transformSelections','addEventListener','find','mutations','ONLINE','SNAPSHOT_HAS_BEEN_REMOVED','_draw','tag','_textBubble','off-line-single_clip0_910_343','getRenderById','color','_clearOtherTimers','getUnitId','getMemberID','saveTaskMap','_doCreateSocket','fillText','getTypeOfUnitAdded$','_colorAssignService','_localStorageService','fillStyle','row','purple.300','then','_docSkeleton','_updateURLWithCurrentState','_setupBeforeClosingHandler','UNIVER_SHEET','search','reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_UNABLE_LOAD_URL','roomMembers$','_registerRenderDependencies','className','getViewport','yellow.400','bottom','#FFF','UniverIcon','contains','onCommandExecuted','subUnitId','disableLocalCache','attrs','onMouseMove','loadUnit','editingUnit','key','_localeService','_anchor','SNAPSHOT_INVALID_SNAPSHOT','assignAColorForMemberID','_injector','code','getMember','_collabCursorController','_id','_scheduleHeartbeat','YUUMI_RATE_OVER_LIMIT','NOT_COLLAB','CHANGESET_REVISION_CONFILICT','_sheetSkeletonManagerService','url(#$1','concat','textRanges','369572TkgdRQ','USERS_LEAVE','YUUMI_ALL_TABLES_IS_INVALID','_backgroundColor','PERMISSION_DENIED','sessionStatus$','on-line-single','getStateCache','transformByState','subscribe','href','InsertRangeMoveRightCommandId','_onCursorDelete','_saveCache','off-line-single','HEADER_MENU','status$','session.collaboration-timeout','collab-text-range-','APPLY_NON_SEQUENTIAL_REVISION','_unitStatus','_config','RemoveColCommandId','CONFLICT','body','getSkeleton','replaceState','APPLY_REVISION_CONFILICT','Error','LOGIN_FAILED','executionId','setActiveRange','getActiveSheet','call','getCollabEntity$','_initStatusListener','_cursor','_collaborationUIEventService','saveOfflineData','_getSaveTimeout','_beforeCloseService','0\x200\x2017\x2016','AWAITING','docStateChange$','64SHhgMY','translate(.97)','_disabled','setTimeout','engine','_instanceService','getDocRanges','_collabSessionService','displayName','set','190jtaFar','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','OTHER_CLIENTS_EDITING','use','isActive','collaboration.closeRoom','toString','subscribeEvent','searchParams','fillRule','transformIMECache','exhaustSavingTask','unit','sheetId'];_0x265e=function(){return _0x41cdda;};return _0x265e();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x52ca27,_0x559281){const _0x2d0d97=_0x55db26;let {radius:_0x285389,width:_0x764614,height:_0x2a89e3}=_0x559281;_0x285389=_0x285389!=null?_0x285389:0x0,_0x764614=_0x764614!=null?_0x764614:0x1e,_0x2a89e3=_0x2a89e3!=null?_0x2a89e3:0x1e;let _0x4c836f=0x0,_0x26523b=0x0,_0x239dbb=0x0;_0x4c836f=_0x26523b=_0x239dbb=Math[_0x2d0d97(0x26d)](_0x285389,_0x764614/0x2,_0x2a89e3/0x2),_0x52ca27[_0x2d0d97(0x23a)](),_0x52ca27[_0x2d0d97(0x23b)](_0x4c836f,0x0),_0x52ca27[_0x2d0d97(0x33a)](_0x764614-_0x26523b,0x0),_0x52ca27['arc'](_0x764614-_0x26523b,_0x26523b,_0x26523b,Math['PI']*0x3/0x2,0x0,!0x1),_0x52ca27[_0x2d0d97(0x33a)](_0x764614,_0x2a89e3-_0x239dbb),_0x52ca27[_0x2d0d97(0x2ef)](_0x764614-_0x239dbb,_0x2a89e3-_0x239dbb,_0x239dbb,0x0,Math['PI']/0x2,!0x1),_0x52ca27[_0x2d0d97(0x33a)](0x0,_0x2a89e3),_0x52ca27[_0x2d0d97(0x33a)](0x0,_0x4c836f),_0x52ca27[_0x2d0d97(0x2ef)](_0x4c836f,_0x4c836f,_0x4c836f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52ca27[_0x2d0d97(0x2cd)](),_0x559281[_0x2d0d97(0x23d)]&&(_0x52ca27['save'](),_0x52ca27[_0x2d0d97(0x1a2)]=_0x559281[_0x2d0d97(0x23d)],_0x559281[_0x2d0d97(0x210)]===_0x2d0d97(0x154)?_0x52ca27['fill']('evenodd'):_0x52ca27[_0x2d0d97(0x23d)](),_0x52ca27[_0x2d0d97(0x335)]());}class he extends _0x2527e2{constructor(_0x17c942,_0x4306f1){const _0x2221df=_0x55db26;super(_0x17c942,_0x4306f1),_(this,_0x2221df(0x198)),_(this,_0x2221df(0x340)),(this[_0x2221df(0x198)]=_0x4306f1==null?void 0x0:_0x4306f1[_0x2221df(0x198)],this[_0x2221df(0x340)]=_0x4306f1==null?void 0x0:_0x4306f1['text']);}static[_0x55db26(0x2fd)](_0x26bd1d,_0x6588b6){const _0x41db1d=_0x55db26,{text:_0x42bf1d,color:_0x3f7762}=_0x6588b6;_0x26bd1d[_0x41db1d(0x177)](),_0x26bd1d[_0x41db1d(0x16f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x29d210=_0x26bd1d['measureText'](_0x42bf1d)[_0x41db1d(0x2e0)],_0x54e943=Math[_0x41db1d(0x26d)](_0x29d210+0x2*me,Qe);Oi(_0x26bd1d,{'height':ee,'radius':0x4,'width':_0x54e943,'fill':_0x3f7762}),_0x26bd1d['fillStyle']=_0x41db1d(0x1b4);const _0x1a75ab=me,_0x3de4f7=ee-Ei,_0x535a95=Qe-0x2*me;if(_0x29d210>_0x535a95){let _0x9aa67d='',_0x180528=0x0;for(const _0x49022a of _0x42bf1d){const _0x3eba48=_0x26bd1d[_0x41db1d(0x2b7)](_0x49022a)[_0x41db1d(0x2e0)];if(_0x180528+_0x3eba48<=_0x535a95-_0x26bd1d[_0x41db1d(0x2b7)]('...')[_0x41db1d(0x2e0)])_0x9aa67d+=_0x49022a,_0x180528+=_0x3eba48;else{_0x9aa67d+=_0x41db1d(0x273);break;}}_0x26bd1d[_0x41db1d(0x19e)](_0x9aa67d,_0x1a75ab,_0x3de4f7);}else _0x26bd1d['fillText'](_0x42bf1d,_0x1a75ab,_0x3de4f7);_0x26bd1d[_0x41db1d(0x335)]();}[_0x55db26(0x193)](_0x25cf3e){const _0x30a423=_0x55db26;he[_0x30a423(0x2fd)](_0x25cf3e,this);}}const ge=_0x55db26(0x235),bi=_0x55db26(0x1e2),Ti=_0x55db26(0x289),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x55db26(0x207);class qe{constructor(_0x1f7a42,_0x2238ad,_0xc7d9c0,_0x2dee91){const _0x1f6584=_0x55db26;_(this,_0x1f6584(0x23e),[]),_(this,_0x1f6584(0x1c0),null),_(this,_0x1f6584(0x195),null),_(this,_0x1f6584(0x16c),null),_(this,_0x1f6584(0x2f4),null),_(this,_0x1f6584(0x307),null),(this['_cursor']=_0x1f7a42,this[_0x1f6584(0x32d)]=_0x2238ad,this[_0x1f6584(0x1a6)]=_0xc7d9c0,this[_0x1f6584(0x2be)]=_0x2dee91,this['_render']());}set['_hover'](_0x41f195){const _0x313665=_0x55db26;_0x41f195?(this[_0x313665(0x16c)]&&this[_0x313665(0x16c)][_0x313665(0x338)](),this[_0x313665(0x195)]&&this['_textBubble'][_0x313665(0x25e)]()):(this[_0x313665(0x16c)]&&this['_anchorDot'][_0x313665(0x25e)](),this['_textBubble']&&this[_0x313665(0x195)][_0x313665(0x338)]());}['dispose'](){const _0x43bcf6=_0x55db26;for(const _0x4c7c7c of this[_0x43bcf6(0x23e)])_0x4c7c7c['dispose']();this[_0x43bcf6(0x195)]&&this['_textBubble'][_0x43bcf6(0x274)](),this[_0x43bcf6(0x16c)]&&this[_0x43bcf6(0x16c)][_0x43bcf6(0x274)](),this[_0x43bcf6(0x1c0)]&&this[_0x43bcf6(0x1c0)]['dispose'](),this[_0x43bcf6(0x307)]&&this[_0x43bcf6(0x307)]();}['_render'](){const _0x542412=_0x55db26;var _0x563909;const {_docSkeleton:_0x4c99ad,_document:_0x1656be}=this,{color:_0x46d365,name:_0x572fb2,ranges:_0x257528}=this[_0x542412(0x1f4)],_0x34d6ea=_0x1656be['getOffsetConfig'](),{docsLeft:_0x283d7d,docsTop:_0x32987a}=_0x34d6ea,_0x5b0738=new _0x450925(_0x34d6ea,_0x4c99ad);for(const {startOffset:_0xa0bd46,endOffset:_0x174911,rangeType:_0x10d07f,segmentId:_0x47723,segmentPage:_0x6e4d4c,collapsed:_0x35ac0a,isActive:_0x8a7fff}of _0x257528){const _0x315a57=_0x4c99ad[_0x542412(0x305)](_0xa0bd46,!0x0,_0x47723,_0x6e4d4c);let _0x5b2715=_0x4c99ad[_0x542412(0x305)](_0x174911,!0x0,_0x47723,_0x6e4d4c);if(_0x5b2715==null&&(_0x5b2715=_0x4c99ad[_0x542412(0x305)](_0x174911-0x1,!0x1,_0x47723,_0x6e4d4c)),_0x8a7fff){const {contentBoxPointGroup:_0x5f4b5a}=_0x5b0738[_0x542412(0x279)](_0x5b2715,_0x5b2715);if(_0x5f4b5a[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x275)](_0x46d365,_0x5f4b5a,_0x283d7d,_0x32987a,_0x572fb2),this[_0x542412(0x307)]=this['_handleHover']();}if(_0x315a57&&_0x5b2715){if(_0x10d07f===_0x259efb[_0x542412(0x186)]){const _0x190c0d=new _0x4d9753(_0x34d6ea,_0x4c99ad),{pointGroup:_0x5dfcfe}=(_0x563909=_0x190c0d['getRangePointData'](_0x315a57,_0x5b2715))!=null?_0x563909:{};if(_0x5dfcfe==null||_0x5dfcfe[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x281)](_0x46d365,_0x5dfcfe,_0x283d7d,_0x32987a);}else{if(!_0x35ac0a){const {borderBoxPointGroup:_0x1a56a5}=_0x5b0738[_0x542412(0x279)](_0x315a57,_0x5b2715);if(_0x1a56a5[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x29a)](_0x46d365,_0x1a56a5,_0x283d7d,_0x32987a);}}}}}[_0x55db26(0x275)](_0x3b7436,_0x27c4d1,_0x383bcb,_0x4a096d,_0x439305){const _0x1f2eb6=_0x55db26,_0x359557=this['_getAnchorBounding'](_0x27c4d1),{left:_0x321f3e,top:_0x5bc3b3,height:_0x5079fb}=_0x359557,_0x4683a3=this[_0x1f2eb6(0x24f)](),_0x4f3510=Di/_0x4683a3,_0x5e6847=new _0x121b3e(ge+_0x182244['generateRandomId'](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d,'height':_0x5079fb,'width':Ri,'fill':_0x3b7436||_0x1d6c85(_0x35f2da[_0x1f2eb6(0x326)],0x0),'strokeWidth':_0x4f3510,'stroke':Ni,'evented':!0x0});this[_0x1f2eb6(0x1c0)]=_0x5e6847,this[_0x1f2eb6(0x32d)][_0x1f2eb6(0x339)](_0x5e6847,_0x3ea4fc);const _0x16f05c=new _0x121b3e(ge+_0x182244[_0x1f2eb6(0x2b1)](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x3b7436||_0x1d6c85(_0x35f2da['black'],0x0),'strokeWidth':0x0,'stroke':_0x3b7436||_0x1d6c85(_0x35f2da[_0x1f2eb6(0x326)],0x0),'evented':!0x1});this[_0x1f2eb6(0x16c)]=_0x16f05c,this[_0x1f2eb6(0x32d)]['addObject'](_0x16f05c,_0x3ea4fc);const _0x393b79=new he(ge+_0x182244[_0x1f2eb6(0x2b1)](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d-ee,'text':_0x439305,'color':_0x3b7436});this[_0x1f2eb6(0x195)]=_0x393b79,this[_0x1f2eb6(0x32d)]['addObject'](_0x393b79,_0x3ea4fc),this['_hover']=!0x1;}[_0x55db26(0x169)](){const _0x11dc7a=_0x55db26,_0x5afb60=this[_0x11dc7a(0x1c0)][_0x11dc7a(0x2dd)][_0x11dc7a(0x20e)](()=>{const _0xc205a0=_0x11dc7a;this[_0xc205a0(0x28f)]=!0x0;}),_0x5efdaf=this['_anchor'][_0x11dc7a(0x17d)][_0x11dc7a(0x20e)](()=>{const _0xecad37=_0x11dc7a;this[_0xecad37(0x2f4)]&&clearTimeout(this[_0xecad37(0x2f4)]),this[_0xecad37(0x2f4)]=setTimeout(()=>{const _0x4376fe=_0xecad37;this[_0x4376fe(0x28f)]=!0x1;},0x7d0);});return()=>{_0x5afb60['unsubscribe'](),_0x5efdaf['unsubscribe']();};}[_0x55db26(0x29a)](_0x160c3a,_0x5ce481,_0x5e566a,_0x4cc425){const _0x2f018d=_0x55db26,_0x1d9cb5=new _0x5df6fb(_0x160c3a)[_0x2f018d(0x2b4)](0.2)[_0x2f018d(0x2a3)](),_0x3afdf8=new _0x2e55b5(bi+_0x182244[_0x2f018d(0x2b1)](X),{'pointsGroup':_0x5ce481,'fill':_0x1d9cb5||_0x1d6c85(_0x35f2da[_0x2f018d(0x326)],0.2),'left':_0x5e566a,'top':_0x4cc425,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2f018d(0x227)](_0x3afdf8),this[_0x2f018d(0x32d)][_0x2f018d(0x339)](_0x3afdf8,_0x3ea4fc);}[_0x55db26(0x281)](_0x54b282,_0x474c78,_0x3d736b,_0x441211){const _0x404d7c=_0x55db26,_0x5f1805=new _0x5df6fb(_0x54b282)[_0x404d7c(0x2b4)](0.2)[_0x404d7c(0x2a3)](),_0x2baa53=new _0x2e55b5(Ti+_0x182244[_0x404d7c(0x2b1)](X),{'pointsGroup':_0x474c78,'fill':_0x5f1805||_0x1d6c85(_0x35f2da[_0x404d7c(0x326)],0.2),'left':_0x3d736b,'top':_0x441211,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x404d7c(0x227)](_0x2baa53),this[_0x404d7c(0x32d)]['addObject'](_0x2baa53,_0x3ea4fc);}[_0x55db26(0x26f)](_0x260955){const _0x152fd3=_0x260955[0x0],_0x3be5d0=_0x152fd3[0x0],_0x3de145=_0x152fd3[0x2],{x:_0x52ab4c,y:_0x578ac4}=_0x3be5d0,{x:_0x34c6fe,y:_0x509a67}=_0x3de145;return{'left':_0x52ab4c,'top':_0x578ac4,'width':_0x34c6fe-_0x52ab4c,'height':_0x509a67-_0x578ac4};}[_0x55db26(0x24f)](){const _0x5ed377=_0x55db26,{scaleX:_0xa15e06,scaleY:_0x430f85}=this['_scene']['getAncestorScale']();return Math[_0x5ed377(0x284)](_0xa15e06,_0x430f85);}}var Ui=Object[_0x55db26(0x26c)],Mi=(_0x5a0c8d,_0x82f76d,_0x263535,_0x2440ca)=>{for(var _0x275799=_0x2440ca>0x1?void 0x0:_0x2440ca?Ui(_0x82f76d,_0x263535):_0x82f76d,_0x160f6f=_0x5a0c8d['length']-0x1,_0x5cfbc5;_0x160f6f>=0x0;_0x160f6f--)(_0x5cfbc5=_0x5a0c8d[_0x160f6f])&&(_0x275799=_0x5cfbc5(_0x275799)||_0x275799);return _0x275799;},Z=(_0x113d9d,_0x171a6e)=>(_0x26b30f,_0x3e798c)=>_0x171a6e(_0x26b30f,_0x3e798c,_0x113d9d);let Pe=class extends _0x31aa01{constructor(_0x151bb9,_0xc92948,_0x3df529,_0x6882b0,_0x8b5763){const _0xbfcf11=_0x55db26;super(),_(this,_0xbfcf11(0x277),[]),_(this,'_cursors',[]),(this[_0xbfcf11(0x296)]=_0x151bb9,this['_docSkeletonManagerService']=_0xc92948,this[_0xbfcf11(0x1c6)]=_0x3df529,this[_0xbfcf11(0x316)]=_0x6882b0,this['_themeService']=_0x8b5763,this[_0xbfcf11(0x248)]());}[_0x55db26(0x248)](){const _0x27db64=_0x55db26,_0x4c7341=this['_context']['unitId'],_0x2a2764=this[_0x27db64(0x308)];this[_0x27db64(0x263)](_0x179ee2([this[_0x27db64(0x1c6)][_0x27db64(0x223)](_0x4c7341),this['_themeService'][_0x27db64(0x334)]])[_0x27db64(0x2e6)](_0x2876c1(([_0x45db3a,_0x3318d5])=>({'skeleton':_0x2a2764[_0x27db64(0x1e9)](),'cursors':[..._0x45db3a[_0x27db64(0x14f)]()][_0x27db64(0x29c)](_0x46dd12=>({..._0x46dd12,'color':this[_0x27db64(0x31f)][_0x27db64(0x17c)](_0x46dd12[_0x27db64(0x198)])}))})))[_0x27db64(0x1d9)](_0x266282=>{const _0x38446b=_0x27db64;if(this[_0x38446b(0x2a9)](),_0x266282){const {skeleton:_0x392074,cursors:_0x4d6bca}=_0x266282;this[_0x38446b(0x331)](_0x392074,_0x4d6bca);}})),this[_0x27db64(0x15f)](),this[_0x27db64(0x2f1)]();}['_updateCollabCursors'](_0x1ab731,_0x1c1322){const _0x127284=_0x55db26,{scene:_0x190f8c,mainComponent:_0x12d2fa}=this['_context'],_0x8caa6f=_0x1c1322['map'](_0x2dfbf0=>new qe(_0x2dfbf0,_0x190f8c,_0x1ab731,_0x12d2fa));this[_0x127284(0x277)]=_0x8caa6f,this[_0x127284(0x291)]=_0x1c1322;}[_0x55db26(0x2b9)](){const _0x45de6c=_0x55db26;this[_0x45de6c(0x2a9)]();const {scene:_0x246823,mainComponent:_0x739d6b}=this[_0x45de6c(0x296)],_0x544fbf=this['_docSkeletonManagerService']['getSkeleton'](),_0x5ac2d0=this[_0x45de6c(0x291)][_0x45de6c(0x320)](_0x24261a=>new qe(_0x24261a,_0x246823,_0x544fbf,_0x739d6b));this[_0x45de6c(0x277)]=_0x5ac2d0;}[_0x55db26(0x2a9)](){const _0x5f2f6b=_0x55db26;this[_0x5f2f6b(0x277)][_0x5f2f6b(0x26a)](_0x3fea16=>_0x3fea16[_0x5f2f6b(0x274)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x531bc5=_0x55db26,_0x554644=[_0x5cfbf4['id']];this[_0x531bc5(0x263)](this['_commandService'][_0x531bc5(0x1b7)](_0x29174f=>{const _0xac4b6c=_0x531bc5;_0x554644[_0xac4b6c(0x2f2)](_0x29174f['id'])&&_0x29174f[_0xac4b6c(0x158)][_0xac4b6c(0x167)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x55db26(0x15f)](){const _0x20c175=_0x55db26;this['disposeWithMe'](_0x3944fd(this[_0x20c175(0x296)][_0x20c175(0x200)]['onTransformChange$'])[_0x20c175(0x2e6)](_0x51a06e(_0x535906=>_0x535906[_0x20c175(0x15c)]===_0x267d71['resize']),_0x365a5f(0x10))['subscribe'](()=>{const _0xe1eb6e=_0x20c175;this[_0xe1eb6e(0x2b9)]();}));}};Pe=Mi([Z(0x1,_0xa51950(_0x46f3a8)),Z(0x2,_0xa51950(H)),Z(0x3,_0x394c12),Z(0x4,_0xa51950(_0x4a852a))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x2527e2{constructor(_0x15fa5f,_0x20b6af){const _0x2212d1=_0x55db26;super(_0x15fa5f,_0x20b6af),_(this,_0x2212d1(0x160)),_(this,_0x2212d1(0x2db),!0x1),_(this,_0x2212d1(0x27d)),_(this,_0x2212d1(0x2dc),''),_(this,_0x2212d1(0x2eb),_0x2212d1(0x344)),_(this,_0x2212d1(0x1d3)),(_0x20b6af&&this[_0x2212d1(0x329)](_0x20b6af),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x2212d1(0x329)]({'hovered':!0x0})),this[_0x2212d1(0x17d)][_0x2212d1(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x55db26(0x329)](_0x30dec3){const _0x469db0=_0x55db26;var _0x354fc8,_0xc58b38,_0xbf26f,_0x1d1158,_0xdadbb6,_0x451677;this[_0x469db0(0x160)]=(_0x354fc8=_0x30dec3[_0x469db0(0x198)])!=null?_0x354fc8:this['_color'],this[_0x469db0(0x2db)]=(_0xc58b38=_0x30dec3[_0x469db0(0x24a)])!=null?_0xc58b38:this['_hovered'],this[_0x469db0(0x27d)]=(_0xbf26f=_0x30dec3[_0x469db0(0x225)])!=null?_0xbf26f:this['_range'],this[_0x469db0(0x2dc)]=(_0x1d1158=_0x30dec3[_0x469db0(0x17b)])!=null?_0x1d1158:this[_0x469db0(0x2dc)],this[_0x469db0(0x2eb)]=(_0xdadbb6=_0x30dec3[_0x469db0(0x2e1)])!=null?_0xdadbb6:this[_0x469db0(0x2eb)],this[_0x469db0(0x1d3)]=(_0x451677=_0x30dec3[_0x469db0(0x14c)])!=null?_0x451677:this[_0x469db0(0x1d3)],this[_0x469db0(0x1d8)]({'width':_0x30dec3[_0x469db0(0x2e0)],'height':_0x30dec3[_0x469db0(0x16a)]});}[_0x55db26(0x1bb)](_0x5076ab){const _0x3cfba1=_0x55db26,{row:_0x3c9da5,column:_0xe0e371}=_0x5076ab;if(_0x3c9da5>=this[_0x3cfba1(0x27d)]['startRow']&&_0x3c9da5<=this['_range'][_0x3cfba1(0x292)]&&_0xe0e371>=this['_range'][_0x3cfba1(0x32a)]&&_0xe0e371<=this['_range'][_0x3cfba1(0x2ea)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3cfba1(0x329)]({'hovered':!0x1});}[_0x55db26(0x255)](_0x1110bb){return!0x1;}['_draw'](_0x33b831){const _0x5998df=_0x55db26;_0x121b3e['drawWith'](_0x33b831,{'width':this[_0x5998df(0x2e0)],'height':this[_0x5998df(0x16a)],'strokeWidth':Li,'stroke':this[_0x5998df(0x160)],'evented':!0x1,'fill':this[_0x5998df(0x1d3)]}),this[_0x5998df(0x2db)]&&(_0x33b831['save'](),_0x33b831[_0x5998df(0x345)](0x1,0x0,0x0,0x1,this['width'],this[_0x5998df(0x2eb)]===_0x5998df(0x1b3)?0x0:-0x14),he['drawWith'](_0x33b831,{'text':this['_name'],'color':this[_0x5998df(0x160)]}),_0x33b831['restore']());}}var Ai=Object[_0x55db26(0x26c)],yi=(_0x2a755f,_0x37edad,_0x354492,_0x4c0eac)=>{for(var _0x1dcae8=_0x4c0eac>0x1?void 0x0:_0x4c0eac?Ai(_0x37edad,_0x354492):_0x37edad,_0x7f085f=_0x2a755f['length']-0x1,_0x3a351d;_0x7f085f>=0x0;_0x7f085f--)(_0x3a351d=_0x2a755f[_0x7f085f])&&(_0x1dcae8=_0x3a351d(_0x1dcae8)||_0x1dcae8);return _0x1dcae8;},ve=(_0x45d3ea,_0xaf2b23)=>(_0x1d5b11,_0x4bc3a4)=>_0xaf2b23(_0x1d5b11,_0x4bc3a4,_0x45d3ea);const $i=0x1389;let Le=class extends _0x31aa01{constructor(_0x11b334,_0x5a5d09,_0x5eaecb,_0x2a212a){const _0x176d52=_0x55db26;super(),_(this,_0x176d52(0x291),new Set()),_(this,_0x176d52(0x166),null),(this[_0x176d52(0x296)]=_0x11b334,this['_sheetSkeletonManagerService']=_0x5a5d09,this['_collabCursorController']=_0x5eaecb,this[_0x176d52(0x31f)]=_0x2a212a,this[_0x176d52(0x248)]());}['_init'](){const _0xc7226b=_0x55db26;this['_sheetSkeletonManagerService'][_0xc7226b(0x180)][_0xc7226b(0x2e6)](_0x2838eb(this[_0xc7226b(0x300)]),_0x2bb06b(_0x4ef82f=>{const _0x18b00d=_0xc7226b;if(_0x4ef82f){const _0x321c0d=_0x4ef82f[_0x18b00d(0x214)];return _0x179ee2(this[_0x18b00d(0x1c6)][_0x18b00d(0x223)](this['_context'][_0x18b00d(0x167)]),this[_0x18b00d(0x31f)][_0x18b00d(0x334)])['pipe'](_0x2876c1(([_0x52dc33,_0x417cc3])=>{const _0x21425c=_0x18b00d,_0x5097c0=new Map();return _0x52dc33[_0x21425c(0x26a)]((_0x4a5df6,_0x1db2a4)=>{const _0x2d80f7=_0x21425c;if(_0x4a5df6[_0x2d80f7(0x247)]===_0x321c0d){const _0x512f4c={..._0x4a5df6};_0x512f4c[_0x2d80f7(0x198)]=this[_0x2d80f7(0x31f)][_0x2d80f7(0x17c)](_0x4a5df6[_0x2d80f7(0x198)]),_0x5097c0[_0x2d80f7(0x205)](_0x1db2a4,_0x512f4c);}}),{'skeleton':_0x4ef82f,'cursors':_0x5097c0};}));}return _0x2098bd({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x30fbcf,cursors:_0x1fef3b})=>{const _0x24d475=_0xc7226b;this[_0x24d475(0x2a9)](),_0x30fbcf&&this['_updateCollabCursors'](_0x30fbcf,_0x1fef3b);}),this['_sheetSkeletonManagerService'][_0xc7226b(0x180)]['subscribe'](_0x4a7fa4=>{const _0x132597=_0xc7226b;if(_0x4a7fa4==null)return;const {skeleton:_0x29ae25}=_0x4a7fa4,{scene:_0x33ad34}=this[_0x132597(0x296)];_0x33ad34['onPointerMove$'][_0x132597(0x20e)](_0x523a45(_0x4a827b=>{const _0x144961=_0x132597;var _0x1ef4dc,_0x483f58;const {offsetX:_0x43ecdd,offsetY:_0x3bbac0}=_0x4a827b,{x:_0x48d1e5,y:_0x399c68}=_0x33ad34[_0x144961(0x2f8)](_0x291a01[_0x144961(0x266)]([_0x43ecdd,_0x3bbac0])),{scaleX:_0x2e264d,scaleY:_0xead8b3}=_0x33ad34[_0x144961(0x30e)](),_0x33c30a=_0x33ad34[_0x144961(0x1b1)](_0x1166a8['VIEW_MAIN']),_0x45fde1=_0x33ad34[_0x144961(0x14d)](_0x291a01[_0x144961(0x266)]([_0x48d1e5,_0x399c68]),_0x33c30a),_0x590274=_0x29ae25[_0x144961(0x148)](_0x43ecdd,_0x3bbac0,_0x2e264d,_0xead8b3,_0x45fde1);((_0x1ef4dc=this[_0x144961(0x166)])==null?void 0x0:_0x1ef4dc[_0x144961(0x2cb)])===_0x590274['column']&&((_0x483f58=this['_lastPointer'])==null?void 0x0:_0x483f58['row'])===_0x590274[_0x144961(0x1a3)]||this['_cursors'][_0x144961(0x26a)](_0x1c2292=>{const _0x54046e=_0x144961;_0x1c2292[_0x54046e(0x1bb)](_0x590274);});},0x64));});}[_0x55db26(0x331)](_0x708f59,_0x7e33e6){const _0x2b1dac=_0x55db26;var _0x3096d2;const _0x14873f=(_0x3096d2=this[_0x2b1dac(0x1cc)]['getCurrent']())==null?void 0x0:_0x3096d2[_0x2b1dac(0x22b)];if(!_0x14873f)return;const _0x22297a=this[_0x2b1dac(0x144)]();if(!_0x22297a)return;this[_0x2b1dac(0x291)][_0x2b1dac(0x26a)](_0x2fd705=>{const _0x2abe7a=_0x2b1dac;_0x2fd705[_0x2abe7a(0x24b)]();});const {scene:_0xaca8cd}=_0x22297a,_0x578df2=xi(Array[_0x2b1dac(0x2b6)](_0x7e33e6['values']()))[_0x2b1dac(0x320)](_0x219d65=>{const _0x2002f5=_0x2b1dac,{color:_0xabf545,range:_0x1b6357,name:_0x1097c7,selection:_0x3bcefa,sheetID:_0xb382ee}=_0x219d65,{startColumn:_0x444d7b,startRow:_0x161a42,endColumn:_0x53a9d7,endRow:_0x261f35}=_0x1b6357,_0x47cfd2=_0xbda0ef(_0x161a42,_0x444d7b,_0xaca8cd,_0x14873f),_0x32ec3f=_0xbda0ef(_0x261f35,_0x53a9d7,_0xaca8cd,_0x14873f),{columnHeaderHeightAndMarginTop:_0x184b00}=_0x14873f,{startX:_0x5dc755,startY:_0x320141}=_0x47cfd2,{endX:_0xdb1548,endY:_0x41c15c}=_0x32ec3f,_0x51e9dc=_0xdb1548-_0x5dc755,_0x330cb8=_0x41c15c-_0x320141,_0x16bb2f={'labelPosition':_0x320141-_0x184b00>=ee?_0x2002f5(0x344):_0x2002f5(0x1b3),'sheetID':_0xb382ee,'range':_0x1b6357,'color':_0xabf545,'name':_0x1097c7,'selection':_0x3bcefa,'left':_0x5dc755,'top':_0x320141,'width':_0x51e9dc,'height':_0x330cb8,'evented':!0x1,'zIndex':$i};return new wi(_0x1097c7,_0x16bb2f);});_0xaca8cd['addObjects'](_0x578df2,Pi),this[_0x2b1dac(0x291)]=new Set(_0x578df2);}['_removeCollabCursors'](){const _0x17d433=_0x55db26;var _0x388ed6;(_0x388ed6=this['_cursors'])==null||_0x388ed6[_0x17d433(0x26a)](_0x3761a2=>_0x3761a2['dispose']());}['_getSheetObject'](){const _0xde8c0=_0x55db26;return _0x1006d7(this[_0xde8c0(0x296)][_0xde8c0(0x213)],this[_0xde8c0(0x296)]);}};Le=yi([ve(0x1,_0xa51950(_0xf126a4)),ve(0x2,_0xa51950(H)),ve(0x3,_0xa51950(_0x4a852a))],Le);function xi(_0x80680a){const _0x48a274=_0x55db26,_0x9d2bc8=new Map();return _0x80680a[_0x48a274(0x26a)](_0x216591=>{const _0x2e1cbf=_0x48a274;if(_0x9d2bc8['has'](_0x216591[_0x2e1cbf(0x2c2)])){const _0x6d0a84=_0x9d2bc8['get'](_0x216591[_0x2e1cbf(0x2c2)]);_0x6d0a84['name']+=',\x20'+_0x216591[_0x2e1cbf(0x17b)];}else _0x9d2bc8[_0x2e1cbf(0x205)](_0x216591[_0x2e1cbf(0x2c2)],_0x216591);}),Array['from'](_0x9d2bc8[_0x48a274(0x14f)]());}var v=function(){const _0x3cdf09=_0x55db26;return v=Object[_0x3cdf09(0x286)]||function(_0x51d5c3){const _0x5392b7=_0x3cdf09;for(var _0x5328c7,_0x52f2bb=0x1,_0x191278=arguments[_0x5392b7(0x245)];_0x52f2bb<_0x191278;_0x52f2bb++){_0x5328c7=arguments[_0x52f2bb];for(var _0x4165ea in _0x5328c7)Object['prototype'][_0x5392b7(0x2bc)][_0x5392b7(0x1f1)](_0x5328c7,_0x4165ea)&&(_0x51d5c3[_0x4165ea]=_0x5328c7[_0x4165ea]);}return _0x51d5c3;},v[_0x3cdf09(0x168)](this,arguments);},Bi=function(_0x4718a7,_0x14f9e9){const _0x27ceab=_0x55db26;var _0x19441d={};for(var _0x27d0fd in _0x4718a7)Object[_0x27ceab(0x220)][_0x27ceab(0x2bc)][_0x27ceab(0x1f1)](_0x4718a7,_0x27d0fd)&&_0x14f9e9[_0x27ceab(0x283)](_0x27d0fd)<0x0&&(_0x19441d[_0x27d0fd]=_0x4718a7[_0x27d0fd]);if(_0x4718a7!=null&&typeof Object['getOwnPropertySymbols']==_0x27ceab(0x252)){for(var _0xb7054d=0x0,_0x27d0fd=Object[_0x27ceab(0x171)](_0x4718a7);_0xb7054d<_0x27d0fd[_0x27ceab(0x245)];_0xb7054d++)_0x14f9e9['indexOf'](_0x27d0fd[_0xb7054d])<0x0&&Object['prototype'][_0x27ceab(0x2d0)][_0x27ceab(0x1f1)](_0x4718a7,_0x27d0fd[_0xb7054d])&&(_0x19441d[_0x27d0fd[_0xb7054d]]=_0x4718a7[_0x27d0fd[_0xb7054d]]);}return _0x19441d;},je=_0x5d4986(function(_0x1a57fa,_0x535b16){const _0x52fb91=_0x55db26;var _0x4149c6=_0x1a57fa[_0x52fb91(0x318)],_0x4153fb=_0x1a57fa['id'],_0x419234=_0x1a57fa['className'],_0x244360=_0x1a57fa[_0x52fb91(0x2b2)],_0x56aba8=Bi(_0x1a57fa,[_0x52fb91(0x318),'id',_0x52fb91(0x1b0),_0x52fb91(0x2b2)]),_0x167b6b='univerjs-icon\x20univerjs-icon-'[_0x52fb91(0x1ce)](_0x4153fb,'\x20')[_0x52fb91(0x1ce)](_0x419234||'')[_0x52fb91(0x25c)](),_0x371715=_0x44758e('_'[_0x52fb91(0x1ce)](ji()));return Rt(_0x4149c6,''[_0x52fb91(0x1ce)](_0x4153fb),{'defIds':_0x4149c6[_0x52fb91(0x2bb)],'idSuffix':_0x371715['current']},v({'ref':_0x535b16,'className':_0x167b6b},_0x56aba8),_0x244360);});function Rt(_0x39f8fb,_0x32e306,_0x3a3f40,_0x5914bd,_0x5b7eb1){const _0x19ef8f=_0x55db26;return _0x471475(_0x39f8fb[_0x19ef8f(0x194)],v(v({'key':_0x32e306},ki(_0x39f8fb,_0x3a3f40,_0x5b7eb1)),_0x5914bd),(Hi(_0x39f8fb,_0x3a3f40)[_0x19ef8f(0x341)]||[])[_0x19ef8f(0x320)](function(_0x2f5113,_0x2369da){const _0x26747d=_0x19ef8f;return Rt(_0x2f5113,''[_0x26747d(0x1ce)](_0x32e306,'-')[_0x26747d(0x1ce)](_0x39f8fb[_0x26747d(0x194)],'-')['concat'](_0x2369da),_0x3a3f40,void 0x0,_0x5b7eb1);}));}function ki(_0x5543aa,_0x2007cd,_0x4490e8){const _0x556410=_0x55db26;var _0x3eb7bc=v({},_0x5543aa[_0x556410(0x1ba)]);_0x4490e8!=null&&_0x4490e8['colorChannel1']&&_0x3eb7bc[_0x556410(0x23d)]===_0x556410(0x297)&&(_0x3eb7bc[_0x556410(0x23d)]=_0x4490e8[_0x556410(0x297)]),_0x5543aa[_0x556410(0x194)]===_0x556410(0x238)&&_0x3eb7bc['id']&&(_0x3eb7bc['id']=_0x3eb7bc['id']+_0x2007cd[_0x556410(0x293)]),Object[_0x556410(0x2b5)](_0x3eb7bc)[_0x556410(0x26a)](function(_0x1a3d4d){const _0x4db07a=_0x556410;var _0x3764f0=_0x1a3d4d[0x0],_0x677398=_0x1a3d4d[0x1];_0x3764f0===_0x4db07a(0x238)&&typeof _0x677398==_0x4db07a(0x2e2)&&(_0x3eb7bc[_0x3764f0]=_0x677398['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4db07a(0x1ce)](_0x2007cd[_0x4db07a(0x293)],')')));});var _0x584b1c=_0x2007cd[_0x556410(0x2bb)];return!_0x584b1c||_0x584b1c[_0x556410(0x245)]===0x0||(_0x5543aa[_0x556410(0x194)]===_0x556410(0x20a)&&_0x3eb7bc[_0x556410(0x15d)]&&(_0x3eb7bc[_0x556410(0x15d)]=_0x3eb7bc[_0x556410(0x15d)]+_0x2007cd[_0x556410(0x293)]),Object[_0x556410(0x2b5)](_0x3eb7bc)['forEach'](function(_0x19bd14){const _0x43d831=_0x556410;var _0x1644a7=_0x19bd14[0x0],_0xf9a1e9=_0x19bd14[0x1];typeof _0xf9a1e9==_0x43d831(0x2e2)&&(_0x3eb7bc[_0x1644a7]=_0xf9a1e9[_0x43d831(0x151)](/url\(#(.*)\)/,_0x43d831(0x1cd)[_0x43d831(0x1ce)](_0x2007cd[_0x43d831(0x293)],')')));})),_0x3eb7bc;}function Hi(_0x1e1374,_0x11ad7b){const _0x10b055=_0x55db26;var _0x1d08f9,_0x482feb=_0x11ad7b[_0x10b055(0x2bb)];return!_0x482feb||_0x482feb['length']===0x0?_0x1e1374:_0x1e1374[_0x10b055(0x194)]===_0x10b055(0x230)&&(!((_0x1d08f9=_0x1e1374[_0x10b055(0x341)])===null||_0x1d08f9===void 0x0)&&_0x1d08f9[_0x10b055(0x245)])?v(v({},_0x1e1374),{'children':_0x1e1374[_0x10b055(0x341)][_0x10b055(0x320)](function(_0x45d464){const _0x39a980=_0x10b055;return typeof _0x45d464[_0x39a980(0x1ba)]['id']==_0x39a980(0x2e2)&&_0x482feb&&_0x482feb['indexOf'](_0x45d464['attrs']['id'])>-0x1?v(v({},_0x45d464),{'attrs':v(v({},_0x45d464[_0x39a980(0x1ba)]),{'id':_0x45d464[_0x39a980(0x1ba)]['id']+_0x11ad7b['idSuffix']})}):_0x45d464;})}):_0x1e1374;}function ji(){const _0x3a9dd9=_0x55db26;return Math[_0x3a9dd9(0x251)]()[_0x3a9dd9(0x20d)](0x24)['substring'](0x2,0x8);}je[_0x55db26(0x204)]=_0x55db26(0x1b5);var Yi={'tag':_0x55db26(0x2b3),'attrs':{'fill':'none','viewBox':_0x55db26(0x234),'width':_0x55db26(0x30f),'height':_0x55db26(0x30f)},'children':[{'tag':'g','attrs':{'clipPath':_0x55db26(0x342)},'children':[{'tag':'path','attrs':{'stroke':_0x55db26(0x22c),'d':_0x55db26(0x33f),'strokeLinecap':'round','strokeLinejoin':_0x55db26(0x30b),'strokeWidth':1.2}}]},{'tag':_0x55db26(0x230),'attrs':{},'children':[{'tag':_0x55db26(0x176),'attrs':{'id':_0x55db26(0x196)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x55db26(0x2e7)}}]}]}],'defIds':[_0x55db26(0x196)]},Dt=_0x5d4986(function(_0x436e92,_0x4258b1){const _0x352ad3=_0x55db26;return _0x471475(je,Object[_0x352ad3(0x286)]({},_0x436e92,{'id':_0x352ad3(0x1de),'ref':_0x4258b1,'icon':Yi}));});Dt[_0x55db26(0x204)]=_0x55db26(0x324);var Fi={'tag':_0x55db26(0x2b3),'attrs':{'fill':'none','viewBox':_0x55db26(0x1f9),'width':_0x55db26(0x30f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x55db26(0x2fb)},'children':[{'tag':_0x55db26(0x323),'attrs':{'stroke':_0x55db26(0x22c),'d':_0x55db26(0x178),'strokeLinecap':'round','strokeLinejoin':_0x55db26(0x30b),'strokeWidth':1.2}}]},{'tag':_0x55db26(0x230),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x55db26(0x13f)},'children':[{'tag':_0x55db26(0x323),'attrs':{'fill':_0x55db26(0x2a7),'d':_0x55db26(0x2e7),'transform':_0x55db26(0x1fd)}}]}]}],'defIds':[_0x55db26(0x13f)]},Nt=_0x5d4986(function(_0x2337d3,_0x33bd54){const _0x9da176=_0x55db26;return _0x471475(je,Object[_0x9da176(0x286)]({},_0x2337d3,{'id':_0x9da176(0x1d6),'ref':_0x33bd54,'icon':Fi}));});Nt[_0x55db26(0x204)]=_0x55db26(0x22e);function Wi(_0x3c6a13){const _0x210c19=_0x55db26;switch(_0x3c6a13){case _0xf6bbef[_0x210c19(0x22a)]:return _0x210c19(0x18c);case _0xf6bbef[_0x210c19(0x1e7)]:return'collabStatus.conflict';case _0xf6bbef[_0x210c19(0x226)]:return'collabStatus.fetchMiss';case _0xf6bbef['NOT_COLLAB']:return _0x210c19(0x257);case _0xf6bbef[_0x210c19(0x1fa)]:case _0xf6bbef[_0x210c19(0x2df)]:return _0x210c19(0x29f);case _0xf6bbef['SYNCED']:case _0xf6bbef['PENDING']:return'collabStatus.synced';}}function Vi(_0x5a1918){const _0x39d276=_0x55db26,{status$:_0x5d87fd}=_0x5a1918,_0x4b1900=_0x30e525(_0x5d87fd,_0xf6bbef['NOT_COLLAB']),_0x36c0e7=_0x21a5e4(_0x81f440),_0x24f861=_0x21a5e4(_0x526bdc),_0xcf377d=_0x4b1900!==_0xf6bbef[_0x39d276(0x22a)],_0x432f6b=_0x36c0e7['t'](Wi(_0x4b1900)),_0x221b0a=_0xcf377d?_0x56b72e(Nt,{}):_0x56b72e(Dt,{}),_0x4c748f=_0x5a319c(()=>{const _0x54c423=_0x39d276;_0xcf377d||_0x24f861[_0x54c423(0x1ab)]();},[_0xcf377d,_0x24f861]);function _0x742a51(){const _0x3df8c0=_0x39d276;return _0x4854c4('div',{'className':_0x3df8c0(0x174),'onClick':_0x4c748f,'children':[_0x56b72e(_0x3df8c0(0x15b),{'className':_0x5e77eb('univer-flex\x20univer-mr-2\x20univer-text-xl',_0xcf377d?_0x3df8c0(0x246):_0x3df8c0(0x22d)),'children':_0x221b0a}),_0x56b72e(_0x3df8c0(0x15b),{'className':_0x3df8c0(0x25a),'children':_0x432f6b})]});}return _0xcf377d?_0x742a51():_0x56b72e(_0x1c5f45,{'title':_0x36c0e7['t'](_0x39d276(0x142)),'children':_0x742a51()});}var Xi=Object[_0x55db26(0x26c)],Gi=(_0x42e5c8,_0x21986b,_0x384571,_0x102ab4)=>{const _0x283bd8=_0x55db26;for(var _0x5c2749=_0x102ab4>0x1?void 0x0:_0x102ab4?Xi(_0x21986b,_0x384571):_0x21986b,_0x4e8b2f=_0x42e5c8[_0x283bd8(0x245)]-0x1,_0x22275f;_0x4e8b2f>=0x0;_0x4e8b2f--)(_0x22275f=_0x42e5c8[_0x4e8b2f])&&(_0x5c2749=_0x22275f(_0x5c2749)||_0x5c2749);return _0x5c2749;},Q=(_0x174e97,_0x283f46)=>(_0x2a9b65,_0x339d98)=>_0x283f46(_0x2a9b65,_0x339d98,_0x174e97);let te=class extends _0x10148b{constructor(_0x407c35,_0x4456af,_0x4e9683,_0x827caa){const _0x588bdc=_0x55db26;super(),_(this,_0x588bdc(0x2c0),new _0x5d099f(_0xf6bbef[_0x588bdc(0x1ca)])),(this['_univerInstanceService']=_0x407c35,this['_injector']=_0x4456af,this['_collaborationController']=_0x4e9683,this[_0x588bdc(0x298)]=_0x827caa,this['_initStatusComponent'](),this[_0x588bdc(0x1f3)]());}['_initStatusListener'](){const _0x557f33=_0x55db26;this['disposeWithMe'](this['_univerInstanceService'][_0x557f33(0x262)][_0x557f33(0x2e6)](_0x4372db(()=>{const _0x59fb5e=_0x557f33,_0x2794ea=this['_univerInstanceService'][_0x59fb5e(0x14a)]();return _0x2794ea?this['_collaborationController'][_0x59fb5e(0x1f2)](_0x2794ea[_0x59fb5e(0x19a)]()):_0x2098bd(null);}),_0x4372db(_0x1eff94=>_0x1eff94?_0x1eff94[_0x557f33(0x1e0)]:_0x2098bd(_0xf6bbef[_0x557f33(0x1ca)])))[_0x557f33(0x1d9)](_0x30fb0a=>{const _0x40fbf2=_0x557f33;this[_0x40fbf2(0x2c0)][_0x40fbf2(0x2b0)](_0x30fb0a);}));}[_0x55db26(0x29d)](){const _0x28fe77=_0x55db26;this[_0x28fe77(0x263)](this[_0x28fe77(0x298)][_0x28fe77(0x2a5)](_0x3ee0e8[_0x28fe77(0x1df)],()=>_0x9935de(Ki({'status$':this[_0x28fe77(0x2c0)][_0x28fe77(0x31c)]()}),this[_0x28fe77(0x1c3)])));}};te=Gi([Q(0x0,_0x3c3ecb),Q(0x1,_0xa51950(_0x2250a0)),Q(0x2,_0xa51950(_0x76579)),Q(0x3,_0x139fe6)],te);function Ki(_0x131b37){const {status$:_0x5e29ba}=_0x131b37;return function(){return _0x56b72e(Vi,{'status$':_0x5e29ba});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x418db9,_0x1d4511,_0x5bea1d,_0x461709)=>{const _0x5e90b4=_0x55db26;for(var _0x4451f8=_0x461709>0x1?void 0x0:_0x461709?zi(_0x1d4511,_0x5bea1d):_0x1d4511,_0x37510a=_0x418db9[_0x5e90b4(0x245)]-0x1,_0x8e6bf6;_0x37510a>=0x0;_0x37510a--)(_0x8e6bf6=_0x418db9[_0x37510a])&&(_0x4451f8=_0x8e6bf6(_0x4451f8)||_0x4451f8);return _0x4451f8;},B=(_0x2157a3,_0x36d253)=>(_0x53221f,_0x36efaf)=>_0x36d253(_0x53221f,_0x36efaf,_0x2157a3);let se=class extends _0x10148b{constructor(_0x46e555,_0x3cd378,_0x1bed0b,_0x2a64ba,_0x4a2d57,_0x4e6bda){const _0xb318ce=_0x55db26;super(),this[_0xb318ce(0x1f8)]=_0x46e555,this[_0xb318ce(0x299)]=_0x3cd378,this['_collaborationUIEventService']=_0x1bed0b,this[_0xb318ce(0x2a0)]=_0x2a64ba,this[_0xb318ce(0x2d4)]=_0x4a2d57,this['_localeService']=_0x4e6bda,this[_0xb318ce(0x1a8)](),this['_initEvent']();}[_0x55db26(0x1a8)](){const _0x1fb736=_0x55db26;this[_0x1fb736(0x263)](this['_beforeCloseService'][_0x1fb736(0x241)](()=>{const _0x2eefb5=_0x1fb736;if(this['_localCacheService'][_0x2eefb5(0x19c)][_0x2eefb5(0x27f)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x55db26(0x2e9)](){const _0x9fd998=_0x55db26;this[_0x9fd998(0x263)](this[_0x9fd998(0x1f5)][_0x9fd998(0x2e5)]['subscribe'](_0x4527d9=>{const _0x14d2ea=_0x9fd998;_0x4527d9['id']===_0x593dda[_0x14d2ea(0x2b8)]&&this[_0x14d2ea(0x2a0)][_0x14d2ea(0x25e)]({'type':_0x5a4c24[_0x14d2ea(0x26b)],'content':this['_localeService']['t'](_0x14d2ea(0x314))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x2c8)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24['Warning'],'content':this['_localeService']['t'](_0x14d2ea(0x20c))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x1d4)]&&this[_0x14d2ea(0x2d4)][_0x14d2ea(0x25e)]({'title':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x2c6)),'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x272)),'type':_0x14d2ea(0x27a),'duration':0x0}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x1e7)]&&this['_messageService']['show']({'type':_0x5a4c24['Error'],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x20c))+'('+_0x4527d9[_0x14d2ea(0x188)]+')'}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x343)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24[_0x14d2ea(0x26b)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x4527d9[_0x14d2ea(0x188)]||'')}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x28e)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24['Warning'],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x150))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x146)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24[_0x14d2ea(0x1ec)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x25f))}),_0x4527d9['id']===_0x593dda['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14d2ea(0x25e)]({'type':_0x5a4c24[_0x14d2ea(0x1ec)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x1e1))});}));}};se=Ji([B(0x0,_0x1abb18),B(0x1,_0x43552a),B(0x2,_0xa51950(_0x30ef35)),B(0x3,_0x4d357a),B(0x4,_0x335f9f),B(0x5,_0xa51950(_0x81f440))],se);const Zi=_0x55db26(0x155),et={},Ut=_0x344a70('uni.network.url-service');var Qi=Object[_0x55db26(0x26c)],qi=(_0x18182d,_0x48c228,_0x4d934d,_0x132888)=>{const _0xb4b1f9=_0x55db26;for(var _0x1c546b=_0x132888>0x1?void 0x0:_0x132888?Qi(_0x48c228,_0x4d934d):_0x48c228,_0x178b90=_0x18182d[_0xb4b1f9(0x245)]-0x1,_0x175f06;_0x178b90>=0x0;_0x178b90--)(_0x175f06=_0x18182d[_0x178b90])&&(_0x1c546b=_0x175f06(_0x1c546b)||_0x1c546b);return _0x1c546b;},G=(_0x357c2e,_0x547f4e)=>(_0x5ad11a,_0x399309)=>_0x547f4e(_0x5ad11a,_0x399309,_0x357c2e);let ie=class extends _0x31aa01{constructor(_0x508bf4,_0x2118c7,_0x3c5668,_0x539aa2,_0x368951){const _0x1fda62=_0x55db26;super(),this[_0x1fda62(0x2fe)]=_0x508bf4,this[_0x1fda62(0x141)]=_0x2118c7,this['_commandService']=_0x3c5668,this[_0x1fda62(0x2ae)]=_0x539aa2,_0x368951?_0x368951==null||_0x368951['whenReady']()[_0x1fda62(0x1a5)](()=>this[_0x1fda62(0x248)]()):(this['_logService'][_0x1fda62(0x29b)](_0x1fda62(0x222),_0x1fda62(0x243)),this[_0x1fda62(0x248)]());}async[_0x55db26(0x248)](){const _0x45b0d8=_0x55db26,_0x1d40df=this['_urlService'][_0x45b0d8(0x219)]('unit'),_0x47dde3=this['_urlService'][_0x45b0d8(0x219)]('type'),_0x44025d=this[_0x45b0d8(0x2fe)][_0x45b0d8(0x219)](_0x45b0d8(0x330));if(!_0x1d40df||!_0x47dde3){this[_0x45b0d8(0x141)]['debug']('[CollaborationDataLoaderController]',_0x45b0d8(0x181));return;}const _0x32b71c=await this[_0x45b0d8(0x2ae)][_0x45b0d8(0x1bc)](_0x1d40df,Number(_0x47dde3),_0x44025d);_0x32b71c&&_0x32b71c instanceof _0xdb29df&&this['_setupSubUnitSync'](_0x32b71c);}async[_0x55db26(0x280)](_0x3cb39a){const _0x2d6a98=_0x55db26;await this['_updateSubUnitFromURLParams'](_0x3cb39a),_0x3cb39a['activeSheet$'][_0x2d6a98(0x2e6)](_0x6ef204(this['dispose$']))[_0x2d6a98(0x1d9)](_0xb36f92=>{_0xb36f92&&this['_updateURLWithCurrentState'](_0xb36f92);}),this[_0x2d6a98(0x2fe)][_0x2d6a98(0x236)][_0x2d6a98(0x2e6)](_0x6ef204(this['dispose$']))[_0x2d6a98(0x1d9)](()=>this['_updateSubUnitFromURLParams'](_0x3cb39a));}[_0x55db26(0x1a7)](_0xd6c64b,_0x18e426=!0x1){const _0x1aa7c6=_0x55db26,_0x291e5d=this[_0x1aa7c6(0x2fe)][_0x1aa7c6(0x219)](_0x1aa7c6(0x330));_0xd6c64b[_0x1aa7c6(0x259)]()!==_0x291e5d&&this[_0x1aa7c6(0x2fe)][_0x1aa7c6(0x287)](_0x1aa7c6(0x330),_0xd6c64b[_0x1aa7c6(0x259)](),_0x18e426);}async[_0x55db26(0x295)](_0xa2bf6){const _0x2a3918=_0x55db26;var _0x2e5685;const _0x4d7c36=this[_0x2a3918(0x2fe)][_0x2a3918(0x219)]('subunit');if(!_0x4d7c36||!_0xa2bf6[_0x2a3918(0x2a4)](_0x4d7c36)){const _0x8ac4b6=_0xa2bf6[_0x2a3918(0x173)]()[0x0],_0x20270b=_0xa2bf6[_0x2a3918(0x2a4)](_0x8ac4b6);if(!_0x20270b)return;this['_updateURLWithCurrentState'](_0x20270b,!0x0),await this['_commandService']['executeCommand'](_0x1af844['id'],{'unitId':_0xa2bf6[_0x2a3918(0x19a)](),'subUnitId':_0x8ac4b6});return;}((_0x2e5685=_0xa2bf6[_0x2a3918(0x1f0)]())==null?void 0x0:_0x2e5685['getSheetId']())!==_0x4d7c36&&await this[_0x2a3918(0x316)]['executeCommand'](_0x1af844['id'],{'unitId':_0xa2bf6['getUnitId'](),'subUnitId':_0x4d7c36});}};ie=qi([G(0x0,Ut),G(0x1,_0x195acb),G(0x2,_0x394c12),G(0x3,_0xa51950(_0x95dfd1)),G(0x4,_0x45c3e4(_0x508219))],ie);var en=Object[_0x55db26(0x26c)],tn=(_0x4aee20,_0x155dfe,_0x49736a,_0x4c0dac)=>{const _0x16bca3=_0x55db26;for(var _0x24a73f=_0x4c0dac>0x1?void 0x0:_0x4c0dac?en(_0x155dfe,_0x49736a):_0x155dfe,_0x49a9ae=_0x4aee20[_0x16bca3(0x245)]-0x1,_0xc8c55c;_0x49a9ae>=0x0;_0x49a9ae--)(_0xc8c55c=_0x4aee20[_0x49a9ae])&&(_0x24a73f=_0xc8c55c(_0x24a73f)||_0x24a73f);return _0x24a73f;},pe=(_0x3d5563,_0x26b20a)=>(_0x5b4609,_0x29a663)=>_0x26b20a(_0x5b4609,_0x29a663,_0x3d5563);let ne=class{constructor(_0x85058f,_0x76521d,_0x135d25){const _0x5005b9=_0x55db26;this['_injector']=_0x85058f,this[_0x5005b9(0x2ee)]=_0x76521d,this[_0x5005b9(0x290)]=_0x135d25;}['transformIMECache'](_0x34e17e){const _0x7affce=_0x55db26;this[_0x7affce(0x31d)](_0x34e17e),this['_transformPreviousActiveRange'](_0x34e17e);}[_0x55db26(0x218)](_0x1808fe){const _0x2f567b=_0x55db26,{unitID:_0x3bc426}=_0x1808fe,_0x411c42=this['_renderManagerService'][_0x2f567b(0x197)](_0x3bc426)['with'](_0x26da03),{redoCache:_0x668dec}=_0x411c42[_0x2f567b(0x17a)]();if(_0x668dec[_0x2f567b(0x245)]===0x0)return _0x1808fe;let _0x43342f=_0x182244[_0x2f567b(0x143)](_0x1808fe[_0x2f567b(0x190)][0x0]);for(let _0x4291be=0x0;_0x4291be<_0x668dec[_0x2f567b(0x245)];_0x4291be++){const _0x871795={'id':_0x2f567b(0x311),'params':{..._0x668dec[_0x4291be]}},_0x5bf075=this[_0x2f567b(0x2ee)][_0x2f567b(0x182)](_0x43342f,_0x871795,!0x1);if(_0x23c773(_0x5bf075))throw _0x5bf075[_0x2f567b(0x27a)];_0x43342f=_0x5bf075[_0x2f567b(0x16b)];}return{..._0x182244[_0x2f567b(0x143)](_0x1808fe),'mutations':[_0x43342f]};}[_0x55db26(0x31d)](_0x512ff3){const _0x1d07f6=_0x55db26,{unitID:_0x4a6636}=_0x512ff3,_0x1f8eb2=this[_0x1d07f6(0x290)][_0x1d07f6(0x197)](_0x4a6636)[_0x1d07f6(0x21f)](_0x26da03),{undoCache:_0x1849d4,redoCache:_0x557fa1}=_0x1f8eb2[_0x1d07f6(0x17a)]();if(_0x1849d4[_0x1d07f6(0x245)]===0x0||_0x557fa1[_0x1d07f6(0x245)]===0x0)return;const _0x67d2ac=[],_0x2f1ee6=[];let _0x3676bd=_0x182244[_0x1d07f6(0x143)](_0x512ff3['mutations'][0x0]),_0x2890dd=_0x182244[_0x1d07f6(0x143)](_0x512ff3['mutations'][0x0]);for(let _0x5294d3=_0x1849d4['length']-0x1;_0x5294d3>=0x0;_0x5294d3--){const _0x3c964c={'id':_0x1d07f6(0x311),'params':{..._0x1849d4[_0x5294d3]}},_0x48f11f={'id':'doc.mutation.rich-text-editing','params':{..._0x557fa1[_0x5294d3]}},_0x58bae2=this['_transformService'][_0x1d07f6(0x182)](_0x3676bd,_0x3c964c,!0x1),_0x1bbe26=this[_0x1d07f6(0x2ee)][_0x1d07f6(0x182)](_0x2890dd,_0x48f11f,!0x1);if(_0x23c773(_0x58bae2))throw _0x58bae2[_0x1d07f6(0x27a)];if(_0x23c773(_0x1bbe26))throw _0x1bbe26[_0x1d07f6(0x27a)];_0x67d2ac[_0x1d07f6(0x336)](_0x58bae2[_0x1d07f6(0x183)][_0x1d07f6(0x158)]),_0x2f1ee6[_0x1d07f6(0x336)](_0x1bbe26['m2Prime'][_0x1d07f6(0x158)]),_0x3676bd=_0x58bae2['m1Prime'],_0x2890dd=_0x1bbe26[_0x1d07f6(0x16b)];}_0x1f8eb2[_0x1d07f6(0x156)]({'undoCache':_0x67d2ac,'redoCache':_0x2f1ee6});}[_0x55db26(0x2d2)](_0x3c5f43){const _0x38bf8a=_0x55db26,{unitID:_0x4b7fba}=_0x3c5f43,_0xcc3fb8=this['_renderManagerService'][_0x38bf8a(0x197)](_0x4b7fba)[_0x38bf8a(0x21f)](_0x26da03),_0x137eea=_0xcc3fb8['getActiveRange']();if(_0x137eea==null)return;const _0x43b0e2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c5f43[_0x38bf8a(0x2f5)],'actions':null,'textRanges':[_0x137eea]}}],_0x2ee4c2=this[_0x38bf8a(0x2ee)][_0x38bf8a(0x269)](_0x3c5f43,_0x43b0e2);if(!_0x32718c(_0x2ee4c2))throw _0x2ee4c2[_0x38bf8a(0x27a)];const _0x491b2b=_0x2ee4c2['m2Prime'][0x0][_0x38bf8a(0x158)][_0x38bf8a(0x1cf)];Array[_0x38bf8a(0x189)](_0x491b2b)&&_0x491b2b[_0x38bf8a(0x245)]&&_0xcc3fb8[_0x38bf8a(0x1ef)](_0x491b2b[0x0]);}};ne=tn([pe(0x0,_0xa51950(_0x2250a0)),pe(0x1,_0x106f80),pe(0x2,_0x54df15)],ne);var sn=Object[_0x55db26(0x26c)],nn=(_0x277442,_0x13cb12,_0x774b18,_0x1b69ca)=>{for(var _0x443c7e=_0x1b69ca>0x1?void 0x0:_0x1b69ca?sn(_0x13cb12,_0x774b18):_0x13cb12,_0x314148=_0x277442['length']-0x1,_0x1fce48;_0x314148>=0x0;_0x314148--)(_0x1fce48=_0x277442[_0x314148])&&(_0x443c7e=_0x1fce48(_0x443c7e)||_0x443c7e);return _0x443c7e;},Ce=(_0x3292cc,_0x21147d)=>(_0x368d8a,_0x1e0f1a)=>_0x21147d(_0x368d8a,_0x1e0f1a,_0x3292cc);let re=class{constructor(_0x134c2c,_0x6591a0,_0x4963a1){const _0x5e4723=_0x55db26;this[_0x5e4723(0x1c3)]=_0x134c2c,this[_0x5e4723(0x2ee)]=_0x6591a0,this[_0x5e4723(0x250)]=_0x4963a1;}[_0x55db26(0x270)](_0x2d9f94){const _0x32fa4f=_0x55db26;this[_0x32fa4f(0x21c)](_0x2d9f94);}[_0x55db26(0x218)](_0x3afc5b){const _0x2aa840=_0x55db26,{unitID:_0x3238bf}=_0x3afc5b,{collaboration:_0x3478d9}=this[_0x2aa840(0x250)][_0x2aa840(0x1d7)](_0x3238bf);if(_0x3478d9[_0x2aa840(0x245)]===0x0)return _0x3afc5b;let _0x1b3e78=_0x182244['deepClone'](_0x3afc5b[_0x2aa840(0x190)][0x0]);for(let _0x3e7ad6=0x0;_0x3e7ad6<_0x3478d9[_0x2aa840(0x245)];_0x3e7ad6++){const _0x546ca8={'id':_0x2aa840(0x311),'params':{'unitId':_0x3478d9[_0x3e7ad6][_0x2aa840(0x167)],..._0x3478d9[_0x3e7ad6][_0x2aa840(0x16d)]}},_0x323112=this[_0x2aa840(0x2ee)][_0x2aa840(0x182)](_0x1b3e78,_0x546ca8,!0x1);if(_0x23c773(_0x323112))throw _0x323112[_0x2aa840(0x27a)];_0x1b3e78=_0x323112[_0x2aa840(0x16b)];}return{..._0x182244[_0x2aa840(0x143)](_0x3afc5b),'mutations':[_0x1b3e78]};}[_0x55db26(0x21c)](_0x4aff36){const _0x528df0=_0x55db26,{unitID:_0x3b2ee8}=_0x4aff36,{history:_0x21488c,collaboration:_0x56057b}=this[_0x528df0(0x250)][_0x528df0(0x1d7)](_0x3b2ee8);if(_0x21488c[_0x528df0(0x245)]===0x0&&_0x56057b['length']===0x0)return;const _0x17622d=[],_0x1dac74=[];let _0x2cd56f=_0x182244['deepClone'](_0x4aff36['mutations'][0x0]),_0x4ce501=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]);for(let _0xb565d8=_0x21488c['length']-0x1;_0xb565d8>=0x0;_0xb565d8--){const _0x38b372={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x21488c[_0xb565d8][_0x528df0(0x167)],..._0x21488c[_0xb565d8][_0x528df0(0x2c7)]}},_0x221f6c={'id':_0x528df0(0x311),'params':{'unitId':_0x21488c[_0xb565d8][_0x528df0(0x167)],..._0x21488c[_0xb565d8]['redoState']}},_0x286766=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x2cd56f,_0x38b372,!0x1),_0x26d69f=this[_0x528df0(0x2ee)]['transformMutation'](_0x4ce501,_0x221f6c,!0x1);if(_0x23c773(_0x286766))throw _0x286766[_0x528df0(0x27a)];if(_0x23c773(_0x26d69f))throw _0x26d69f[_0x528df0(0x27a)];_0x17622d['unshift']({..._0x21488c[_0xb565d8],'undoState':_0x286766[_0x528df0(0x183)][_0x528df0(0x158)],'redoState':_0x26d69f['m2Prime'][_0x528df0(0x158)]}),_0x2cd56f=_0x286766[_0x528df0(0x16b)],_0x4ce501=_0x26d69f[_0x528df0(0x16b)];}_0x2cd56f=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]),_0x4ce501=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]);for(let _0x2bc6bf=_0x56057b['length']-0x1;_0x2bc6bf>=0x0;_0x2bc6bf--){const _0x43910a={'id':_0x528df0(0x311),'params':{'unitId':_0x56057b[_0x2bc6bf][_0x528df0(0x167)],..._0x56057b[_0x2bc6bf][_0x528df0(0x2c7)]}},_0xa99824={'id':_0x528df0(0x311),'params':{'unitId':_0x56057b[_0x2bc6bf][_0x528df0(0x167)],..._0x56057b[_0x2bc6bf][_0x528df0(0x16d)]}},_0xd9a844=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x2cd56f,_0x43910a,!0x1),_0x601530=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x4ce501,_0xa99824,!0x1);if(_0x23c773(_0xd9a844))throw _0xd9a844[_0x528df0(0x27a)];if(_0x23c773(_0x601530))throw _0x601530['error'];_0x1dac74['unshift']({..._0x56057b[_0x2bc6bf],'undoState':_0xd9a844[_0x528df0(0x183)]['params'],'redoState':_0x601530[_0x528df0(0x183)][_0x528df0(0x158)]}),_0x2cd56f=_0xd9a844[_0x528df0(0x16b)],_0x4ce501=_0x601530[_0x528df0(0x16b)];}this[_0x528df0(0x250)]['setStateCache'](_0x3b2ee8,{'history':_0x17622d,'collaboration':_0x1dac74});}};re=nn([Ce(0x0,_0xa51950(_0x2250a0)),Ce(0x1,_0x106f80),Ce(0x2,_0xa51950(_0x3c013a))],re);var rn=Object[_0x55db26(0x26c)],on=(_0x2202ec,_0x409e3d,_0x5359c3,_0x198839)=>{const _0x21626b=_0x55db26;for(var _0x1835d6=_0x198839>0x1?void 0x0:_0x198839?rn(_0x409e3d,_0x5359c3):_0x409e3d,_0x3d3d=_0x2202ec[_0x21626b(0x245)]-0x1,_0x325168;_0x3d3d>=0x0;_0x3d3d--)(_0x325168=_0x2202ec[_0x3d3d])&&(_0x1835d6=_0x325168(_0x1835d6)||_0x1835d6);return _0x1835d6;},tt=(_0xb103ea,_0x223082)=>(_0x36674d,_0x58b909)=>_0x223082(_0x36674d,_0x58b909,_0xb103ea);let oe=class{constructor(_0x442f33,_0x4347a3){this['_injector']=_0x442f33,this['_transformService']=_0x4347a3;}[_0x55db26(0x18d)](_0xe3a6e){const _0x5ac0d9=_0x55db26;var _0x16fb8f;const _0x41f56d=this[_0x5ac0d9(0x1c3)]['get'](_0xa2f972),_0x2baf1b=(_0x16fb8f=_0x41f56d['getDocRanges']())!=null?_0x16fb8f:[];if(_0x2baf1b['length']===0x0)return;const _0x42cda0=_0xe3a6e[_0x5ac0d9(0x2f5)],_0x44e776=[{'id':_0x5ac0d9(0x311),'params':{'unitId':_0x42cda0,'actions':null,'textRanges':_0x2baf1b}}],_0x450f3e=this[_0x5ac0d9(0x2ee)]['transformMutationsWithChangeset'](_0xe3a6e,_0x44e776);if(!_0x32718c(_0x450f3e))throw _0x450f3e['error'];const _0x539cad=_0x450f3e[_0x5ac0d9(0x183)][0x0]['params'][_0x5ac0d9(0x1cf)];Array[_0x5ac0d9(0x189)](_0x539cad)&&_0x539cad[_0x5ac0d9(0x245)]&&_0x41f56d[_0x5ac0d9(0x2a2)](_0x539cad,{'unitId':_0x42cda0,'subUnitId':_0x42cda0},!0x1);}};oe=on([tt(0x0,_0xa51950(_0x2250a0)),tt(0x1,_0x106f80)],oe);var an=Object[_0x55db26(0x26c)],cn=(_0x4c18ac,_0x1f2008,_0xa37b84,_0xabfe1e)=>{const _0x2e5232=_0x55db26;for(var _0x6a96d5=_0xabfe1e>0x1?void 0x0:_0xabfe1e?an(_0x1f2008,_0xa37b84):_0x1f2008,_0x27c51f=_0x4c18ac[_0x2e5232(0x245)]-0x1,_0x15c92a;_0x27c51f>=0x0;_0x27c51f--)(_0x15c92a=_0x4c18ac[_0x27c51f])&&(_0x6a96d5=_0x15c92a(_0x6a96d5)||_0x6a96d5);return _0x6a96d5;},U=(_0x26be31,_0x804200)=>(_0x21351e,_0x450c04)=>_0x804200(_0x21351e,_0x450c04,_0x26be31);let ae=class extends _0x10148b{constructor(_0x3a92a9,_0x74d87,_0x466c73,_0x34d496,_0x98fefa,_0xff0ad5,_0x56ad0d,_0x2c6a86){const _0x35e739=_0x55db26;super(),_(this,_0x35e739(0x2c0),new _0x5d099f(_0xf6bbef[_0x35e739(0x1ca)])),(this['_docStateChangeManagerService']=_0x3a92a9,this[_0x35e739(0x164)]=_0x74d87,this['_docTransformIMECacheService']=_0x466c73,this[_0x35e739(0x239)]=_0x34d496,this[_0x35e739(0x31b)]=_0x98fefa,this['_docSyncEditingCollabCursorService']=_0xff0ad5,this[_0x35e739(0x2a0)]=_0x56ad0d,this[_0x35e739(0x1bf)]=_0x2c6a86,this['_initEntityListener']());}['_initEntityListener'](){const _0x8874c=_0x55db26;this[_0x8874c(0x263)](this['_collaborationController']['entityInit$'][_0x8874c(0x1d9)](_0x5c1d46=>{const _0x9f484d=_0x8874c,_0x564f33=this[_0x9f484d(0x250)][_0x9f484d(0x1fb)][_0x9f484d(0x1d9)](_0x3167c8=>{const _0x5b85bc=_0x9f484d;if(_0x3167c8==null)return;const {unitId:_0x4c8fc5,redoState:_0x5bfc5d,commandId:_0x3a1282}=_0x3167c8;if(_0x4c8fc5!==_0x5c1d46[_0x5b85bc(0x2f5)])return;const _0x55ceec={'id':_0x3a1282,'type':_0x223a17[_0x5b85bc(0x2f3)],'params':{'unitId':_0x4c8fc5,'actions':_0x5bfc5d[_0x5b85bc(0x2aa)],'textRanges':null}};_0x5c1d46['onLocalMutation'](_0x55ceec);});if(_0x5c1d46[_0x9f484d(0x263)](_0x564f33),_0x5c1d46 instanceof _0x1cfdf4){const _0x27301a={'onTransformIME':_0x47e250=>this[_0x9f484d(0x240)][_0x9f484d(0x211)](_0x47e250),'onTransformState':_0x1ebd5f=>this[_0x9f484d(0x239)][_0x9f484d(0x270)](_0x1ebd5f),'onTransformSelections':_0x459da4=>this[_0x9f484d(0x31b)][_0x9f484d(0x18d)](_0x459da4),'onSyncEditingCollabCursor':_0x14cf31=>this[_0x9f484d(0x28b)][_0x9f484d(0x2f0)](_0x14cf31),'onTransformRemoteChangesetByIMECache':_0x36bfdf=>this[_0x9f484d(0x240)]['transformRemoteChangeset'](_0x36bfdf),'onTransformRemoteChangesetByStateCache':_0xe77096=>this[_0x9f484d(0x239)][_0x9f484d(0x218)](_0xe77096)};_0x5c1d46[_0x9f484d(0x2ce)](_0x27301a);}}));}};ae=cn([U(0x0,_0xa51950(_0x3c013a)),U(0x1,_0xa51950(_0x76579)),U(0x2,_0xa51950(ne)),U(0x3,_0xa51950(re)),U(0x4,_0xa51950(oe)),U(0x5,_0xa51950(He)),U(0x6,_0x4d357a),U(0x7,_0xa51950(_0x81f440))],ae);var ln=Object[_0x55db26(0x26c)],_n=(_0x5357bb,_0x3875f8,_0x18650b,_0x50c3cb)=>{const _0x4db853=_0x55db26;for(var _0x2f35bf=_0x50c3cb>0x1?void 0x0:_0x50c3cb?ln(_0x3875f8,_0x18650b):_0x3875f8,_0x3c4ced=_0x5357bb[_0x4db853(0x245)]-0x1,_0x2a11e6;_0x3c4ced>=0x0;_0x3c4ced--)(_0x2a11e6=_0x5357bb[_0x3c4ced])&&(_0x2f35bf=_0x2a11e6(_0x2f35bf)||_0x2f35bf);return _0x2f35bf;},Ee=(_0x36550c,_0x179937)=>(_0x3bd764,_0x112846)=>_0x179937(_0x3bd764,_0x112846,_0x36550c);let we=class extends _0x10148b{constructor(_0x31f70c,_0x184e34,_0x2b5954){const _0x591783=_0x55db26;super(),_(this,_0x591783(0x162),new Map()),_(this,_0x591783(0x21a),new Map()),_(this,'_disabled',!0x1),(this[_0x591783(0x21d)]=_0x31f70c,this['_localStorageService']=_0x184e34,this[_0x591783(0x18a)]=_0x2b5954);}[_0x55db26(0x1b9)](){const _0x22018b=_0x55db26;this[_0x22018b(0x1fe)]=!0x0;}['enableLocalCache'](){const _0x25e19f=_0x55db26;this[_0x25e19f(0x1fe)]=!0x1;}get[_0x55db26(0x19c)](){return this['_saveTaskMap'];}[_0x55db26(0x274)](){const _0x38c5ed=_0x55db26;this[_0x38c5ed(0x212)]()[_0x38c5ed(0x1a5)](()=>super[_0x38c5ed(0x274)]());}async[_0x55db26(0x2fa)](_0x582281){const _0x591f7a=_0x55db26;return this[_0x591f7a(0x1fe)]?null:this[_0x591f7a(0x1a1)][_0x591f7a(0x2ed)](_0x5308f7(_0x582281));}async[_0x55db26(0x1f6)](_0x377ff3,_0x29154b){const _0x29e118=_0x55db26;return!!this[_0x29e118(0x1a1)]['setItem'](_0x377ff3,_0x29154b);}[_0x55db26(0x2ca)](_0x3defa9,_0x1eae95,_0x1ca91f,_0x375640){const _0x3d53bf=_0x55db26,_0x102d6b=this['_revisionService']['getCurrentRevOfUnit'](_0x3defa9);this[_0x3d53bf(0x162)][_0x3d53bf(0x205)](_0x3defa9,{'unitID':_0x3defa9,'type':_0x1eae95,'awaitingChangeset':_0x1ca91f,'mutations':_0x375640,'rev':_0x102d6b}),this[_0x3d53bf(0x21a)][_0x3d53bf(0x187)](_0x3defa9)||this[_0x3d53bf(0x32f)](_0x3defa9);}[_0x55db26(0x32f)](_0x49b85c){const _0x205ae5=_0x55db26,_0x1be3a4=this[_0x205ae5(0x1f7)]();_0x1be3a4===0x0?this[_0x205ae5(0x1dd)](_0x49b85c):this[_0x205ae5(0x21a)]['set'](_0x49b85c,setTimeout(()=>this[_0x205ae5(0x1dd)](_0x49b85c),_0x1be3a4));}[_0x55db26(0x1f7)](){const _0x1b5f24=_0x55db26;var _0x56bfb9;return(_0x56bfb9=this['_configService'][_0x1b5f24(0x231)](_0x3072e2))!=null?_0x56bfb9:_0x2b99ae;}[_0x55db26(0x1dd)](_0x55b5f4){const _0x4a7b4d=_0x55db26,_0x14949e=this[_0x4a7b4d(0x21a)][_0x4a7b4d(0x30a)](_0x55b5f4);return _0x14949e!==void 0x0&&window[_0x4a7b4d(0x2e3)](_0x14949e),this[_0x4a7b4d(0x1a1)][_0x4a7b4d(0x27e)](_0x5308f7(_0x55b5f4),this[_0x4a7b4d(0x162)]['get'](_0x55b5f4))[_0x4a7b4d(0x1a5)](()=>this[_0x4a7b4d(0x21a)]['delete'](_0x55b5f4));}async['exhaustSavingTask'](){const _0x1955fa=_0x55db26,_0x9baa97=[];this[_0x1955fa(0x21a)][_0x1955fa(0x26a)]((_0x4c9c0b,_0x4b643f)=>{const _0x238c76=_0x1955fa;window[_0x238c76(0x2e3)](_0x4c9c0b),_0x9baa97[_0x238c76(0x227)](this[_0x238c76(0x1dd)](_0x4b643f)[_0x238c76(0x1a5)](()=>{const _0x170cbb=_0x238c76;this[_0x170cbb(0x21a)][_0x170cbb(0x233)](_0x4b643f);}));}),await Promise[_0x1955fa(0x170)](_0x9baa97);}};we=_n([Ee(0x0,_0x1e8626),Ee(0x1,_0x287fb8),Ee(0x2,_0xa51950(_0x56bb27))],we);class hn extends _0x31aa01{constructor(){const _0x409c96=_0x55db26;super(),_(this,_0x409c96(0x236)),this[_0x409c96(0x236)]=_0x4df834(window,'popstate')[_0x409c96(0x2e6)](_0x6ef204(this[_0x409c96(0x300)]),_0x2199e5(0x1),_0xa4db5a(void 0x0));}[_0x55db26(0x287)](_0x181470,_0x23653c,_0x3342c9=!0x1){const _0x44aa24=_0x55db26,_0x27cfe7=new URL(window[_0x44aa24(0x321)]['href']);_0x27cfe7[_0x44aa24(0x20f)]['set'](_0x181470,_0x23653c),_0x3342c9?window[_0x44aa24(0x260)][_0x44aa24(0x1ea)]('','',_0x27cfe7[_0x44aa24(0x20d)]()):window[_0x44aa24(0x260)]['pushState']('','',_0x27cfe7[_0x44aa24(0x20d)]());}[_0x55db26(0x2fc)](_0xefd58f,_0x42e99b=!0x1){const _0x1c6bd2=_0x55db26,_0x3525b3=new URL(window['location'][_0x1c6bd2(0x1da)]);_0x3525b3[_0x1c6bd2(0x20f)][_0x1c6bd2(0x233)](_0xefd58f),_0x42e99b?window['history'][_0x1c6bd2(0x1ea)]('','',_0x3525b3[_0x1c6bd2(0x20d)]()):window[_0x1c6bd2(0x260)][_0x1c6bd2(0x33b)]('','',_0x3525b3[_0x1c6bd2(0x20d)]());}['getParam'](_0x25b72d){const _0xa00468=_0x55db26;var _0x52a53d;return(_0x52a53d=new URL(window[_0xa00468(0x321)][_0xa00468(0x1da)])[_0xa00468(0x20f)][_0xa00468(0x30a)](_0x25b72d))!=null?_0x52a53d:void 0x0;}}function _0xfe0a(_0x317dda,_0x1ea175){const _0x265eb8=_0x265e();return _0xfe0a=function(_0xfe0a0d,_0x408338){_0xfe0a0d=_0xfe0a0d-0x13c;let _0xf4140a=_0x265eb8[_0xfe0a0d];return _0xf4140a;},_0xfe0a(_0x317dda,_0x1ea175);}var un=Object['defineProperty'],dn=Object[_0x55db26(0x26c)],fn=(_0x598680,_0x1414fe,_0xda8aab)=>_0x1414fe in _0x598680?un(_0x598680,_0x1414fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8aab}):_0x598680[_0x1414fe]=_0xda8aab,Sn=(_0xb00536,_0x37fe4a,_0x25fc9b,_0x1850ef)=>{const _0x1c9187=_0x55db26;for(var _0x556af0=_0x1850ef>0x1?void 0x0:_0x1850ef?dn(_0x37fe4a,_0x25fc9b):_0x37fe4a,_0x5543ce=_0xb00536[_0x1c9187(0x245)]-0x1,_0x4fb6f7;_0x5543ce>=0x0;_0x5543ce--)(_0x4fb6f7=_0xb00536[_0x5543ce])&&(_0x556af0=_0x4fb6f7(_0x556af0)||_0x556af0);return _0x556af0;},Oe=(_0x188f34,_0x58e4eb)=>(_0xd98056,_0x27fb73)=>_0x58e4eb(_0xd98056,_0x27fb73,_0x188f34),mn=(_0x4a419d,_0x336ed6,_0x157881)=>fn(_0x4a419d,_0x336ed6+'',_0x157881);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x20bda6{constructor(_0x269d6b=et,_0x39599c,_0x5694ed,_0x23cad8){const _0x29e34c=_0x55db26;super(),this[_0x29e34c(0x1e5)]=_0x269d6b,this[_0x29e34c(0x290)]=_0x39599c,this[_0x29e34c(0x1c3)]=_0x5694ed,this[_0x29e34c(0x21d)]=_0x23cad8;const {..._0x1417b8}=_0x418aac({},et,this['_config']);this['_configService'][_0x29e34c(0x268)](Zi,_0x1417b8);}['onStarting'](){const _0x48b747=_0x55db26;this[_0x48b747(0x32c)](),this[_0x48b747(0x165)]();}[_0x55db26(0x33c)](){const _0x19e770=_0x55db26;this[_0x19e770(0x1af)]();}['_registerDependencies'](){const _0x24b1db=_0x55db26;var _0x280f9b;const _0x120344=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1e32e6,{'useClass':_0xf7bbfc}],[_0x43552a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3fcf25(this[_0x24b1db(0x1c3)],_0x4a1b68(_0x120344,(_0x280f9b=this['_config'])==null?void 0x0:_0x280f9b[_0x24b1db(0x327)]));}[_0x55db26(0x1af)](){const _0x16aa22=_0x55db26;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0xaa118f['UNIVER_DOC'],[Pe])),this[_0x16aa22(0x263)](this[_0x16aa22(0x290)]['registerRenderModule'](_0xaa118f[_0x16aa22(0x1a9)],[Le]));}['_initDependencies'](){_0x3815dd(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x55db26(0x2d8),gn),Ae=Sn([_0x2b1b6e(_0x4b0dfa),Oe(0x1,_0x54df15),Oe(0x2,_0xa51950(_0x2250a0)),Oe(0x3,_0x1e8626)],Ae);var In=Object[_0x55db26(0x26c)],vn=(_0x1f141d,_0x1677bb,_0x392708,_0x3d20d9)=>{for(var _0x4b4e66=_0x3d20d9>0x1?void 0x0:_0x3d20d9?In(_0x1677bb,_0x392708):_0x1677bb,_0x4c7db9=_0x1f141d['length']-0x1,_0x1849d3;_0x4c7db9>=0x0;_0x4c7db9--)(_0x1849d3=_0x1f141d[_0x4c7db9])&&(_0x4b4e66=_0x1849d3(_0x4b4e66)||_0x4b4e66);return _0x4b4e66;},K=(_0xf28cad,_0x17bf6a)=>(_0x525d91,_0xb17be9)=>_0x17bf6a(_0x525d91,_0xb17be9,_0xf28cad);let st=class extends _0x9120e9{constructor(_0x4ec12d,_0x4ad3b0,_0x27d7bd,_0x5d1e51,_0xd1d6c6){super(_0x4ec12d,_0x4ad3b0,_0x27d7bd,_0x5d1e51,_0xd1d6c6);}async[_0x55db26(0x21e)](_0x4400b2){const _0x11a792=_0x55db26,_0x12c26a=await this[_0x11a792(0x26e)](),_0x29a5dd=this[_0x11a792(0x172)](_0x4400b2,_0x12c26a);return this[_0x11a792(0x19d)](_0x29a5dd);}[_0x55db26(0x172)](_0x3b9326,_0x72ad87){const _0xc02be7=_0x55db26,_0x35c001=typeof window>'u'?new URL(_0x3b9326):new URL(_0x3b9326,window['location']['origin']);_0x35c001['searchParams'][_0xc02be7(0x205)](_0xc02be7(0x33d),_0x72ad87);const _0x434252=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc02be7(0x321)][_0xc02be7(0x1aa)]);return _0x434252[_0xc02be7(0x30a)]('runId')&&_0x35c001[_0xc02be7(0x20f)]['set'](_0xc02be7(0x2a1),_0x434252[_0xc02be7(0x30a)](_0xc02be7(0x2a1))),_0x35c001[_0xc02be7(0x20d)]();}async['_getSessionTicket'](){const _0x5c8ea6=_0x55db26;var _0x1f6c00,_0x4f4f1e,_0x389f63;const _0x5c6612=this[_0x5c8ea6(0x21d)][_0x5c8ea6(0x231)](_0x20fbec),_0x56a052=(_0x1f6c00=_0x5c6612==null?void 0x0:_0x5c6612['wsSessionTicketUrl'])!=null?_0x1f6c00:_0x2d793f;return(_0x389f63=(_0x4f4f1e=(await this[_0x5c8ea6(0x185)]['get'](_0x56a052,{'headers':{'Content-Type':_0x5c8ea6(0x147)}}))[_0x5c8ea6(0x1e8)])==null?void 0x0:_0x4f4f1e['ticket'])!=null?_0x389f63:'';}};st=vn([K(0x0,_0xa51950(_0x2250a0)),K(0x1,_0xa51950(_0x1f9e5b)),K(0x2,_0x1e8626),K(0x3,_0x195acb),K(0x4,_0x28ee72)],st);const it=0x7530,nt=_0x55db26(0x303);class jn extends _0x10148b{constructor(){const _0x35ec8d=_0x55db26;super(),_(this,_0x35ec8d(0x1c7),_0xd38932()),_(this,_0x35ec8d(0x13e),new Set()),_(this,_0x35ec8d(0x14b),new Map()),_(this,_0x35ec8d(0x179),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x35ec8d(0x1e4),new Map()),this[_0x35ec8d(0x248)]();}[_0x55db26(0x274)](){const _0x5d1359=_0x55db26;super['dispose'](),this[_0x5d1359(0x199)][_0x5d1359(0x26a)]((_0x2021ee,_0x42a7ae)=>this[_0x5d1359(0x153)](_0x42a7ae)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5d1359(0x179)]);}[_0x55db26(0x31a)](_0x202934){const _0x54f217=_0x55db26;return this[_0x54f217(0x33e)](_0x202934)['pipe'](_0x5d76e3());}[_0x55db26(0x1bd)](_0x4a4f7b){const _0x4663af=_0x55db26;this[_0x4663af(0x13e)][_0x4663af(0x27f)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4663af(0x2c5)](_0x4a4f7b),this[_0x4663af(0x27b)]({'type':0x0,'memberID':this[_0x4663af(0x1c7)],'unitIDs':[_0x4a4f7b],'isForwarded':!0x1});}['disposeUnit'](_0x301dd8){const _0x46345b=_0x55db26;this[_0x46345b(0x13e)]['delete'](_0x301dd8),this[_0x46345b(0x13e)][_0x46345b(0x27f)]===0x0&&this[_0x46345b(0x179)]&&window[_0x46345b(0x152)](this['_heartbeatTimer']);}[_0x55db26(0x248)](){const _0x51f65c=_0x55db26;this[_0x51f65c(0x263)](_0x4d56a9(_0x4df834(window,'storage')[_0x51f65c(0x1d9)](_0x563e7c=>{const _0x38b1f5=_0x51f65c;if(_0x563e7c[_0x38b1f5(0x1be)]!==nt||!_0x563e7c['newValue'])return;const _0x3ee9d8=JSON[_0x38b1f5(0x32b)](_0x563e7c[_0x38b1f5(0x140)]);this[_0x38b1f5(0x302)](_0x3ee9d8);}))),window[_0x51f65c(0x18e)](_0x51f65c(0x313),()=>this[_0x51f65c(0x27b)]({'type':0x1,'memberID':this[_0x51f65c(0x1c7)],'unitIDs':Array[_0x51f65c(0x2b6)](this['_selfUnitIDs'])}));}[_0x55db26(0x302)](_0x6a92d1){const _0x17f82b=_0x55db26;switch(_0x6a92d1[_0x17f82b(0x15c)]){case 0x0:this['_handleJoinEvent'](_0x6a92d1);break;case 0x1:this[_0x17f82b(0x256)](_0x6a92d1);break;case 0x2:this[_0x17f82b(0x23f)](_0x6a92d1);break;}}['_handleJoinEvent'](_0x27c841){const _0x1f0dff=_0x55db26,{unitIDs:_0x571e62,memberID:_0x3b3ba6,isForwarded:_0xd24e43}=_0x27c841;_0x571e62[_0x1f0dff(0x26a)](_0x5e4fc9=>{const _0x1bf7a0=_0x1f0dff;if(!_0xd24e43&&this[_0x1bf7a0(0x14b)][_0x1bf7a0(0x187)](_0x5e4fc9)&&this[_0x1bf7a0(0x33e)](_0x5e4fc9)[_0x1bf7a0(0x2b0)](_0x271482[_0x1bf7a0(0x209)]),!this['_unitOnClients'][_0x1bf7a0(0x187)](_0x5e4fc9)||!this['_unitOnClients'][_0x1bf7a0(0x30a)](_0x5e4fc9)['has'](_0x3b3ba6)){const _0x1bdf29=this[_0x1bf7a0(0x14b)][_0x1bf7a0(0x30a)](_0x5e4fc9)||new Set();_0x1bdf29[_0x1bf7a0(0x2c5)](_0x3b3ba6),this[_0x1bf7a0(0x14b)]['set'](_0x5e4fc9,_0x1bdf29),this[_0x1bf7a0(0x2c1)](_0x3b3ba6);}}),_0xd24e43||this['_send']({'type':0x0,'memberID':this[_0x1f0dff(0x1c7)],'unitIDs':[...this[_0x1f0dff(0x13e)]],'isForwarded':!0x0});}[_0x55db26(0x2c1)](_0xd75251){const _0x5a54eb=_0x55db26;this['_removeClearOtherTimer'](_0xd75251);const _0x486562=window[_0x5a54eb(0x1ff)](()=>{const _0x139ec1=_0x5a54eb;this[_0x139ec1(0x14b)][_0x139ec1(0x26a)](_0x2083e3=>{const _0x5d5fab=_0x139ec1;_0x2083e3[_0x5d5fab(0x233)](_0xd75251);});},it*0x2);this['_clearOtherTimers'][_0x5a54eb(0x205)](_0xd75251,_0x486562);}[_0x55db26(0x153)](_0x1a61df){const _0x47c264=_0x55db26;if(this[_0x47c264(0x199)][_0x47c264(0x187)](_0x1a61df)){const _0x2fe23d=this[_0x47c264(0x199)][_0x47c264(0x30a)](_0x1a61df);_0x2fe23d&&window[_0x47c264(0x2e3)](_0x2fe23d),this[_0x47c264(0x199)]['set'](_0x1a61df,null);}}['_handleLeaveEvent'](_0x34a59e){const {memberID:_0x517a29,unitIDs:_0x552c1c}=_0x34a59e;_0x552c1c['forEach'](_0x365080=>{const _0x4353be=_0xfe0a;var _0x5bc425;const _0x53ba0e=this[_0x4353be(0x14b)][_0x4353be(0x30a)](_0x365080);_0x53ba0e&&(_0x53ba0e['delete'](_0x517a29),(_0x5bc425=this[_0x4353be(0x33e)](_0x365080))==null||_0x5bc425[_0x4353be(0x2b0)](_0x53ba0e[_0x4353be(0x27f)]===0x0?_0x271482[_0x4353be(0x271)]:_0x271482[_0x4353be(0x209)]));}),this['_removeClearOtherTimer'](_0x517a29);}[_0x55db26(0x23f)](_0x2c5a3d){const _0x1e6d9e=_0x55db26;this['_scheduleClearOtherTimer'](_0x2c5a3d[_0x1e6d9e(0x232)]);}[_0x55db26(0x27b)](_0x11bae0){const _0x38c6ab=_0x55db26;localStorage['setItem'](nt,JSON[_0x38c6ab(0x2c9)](_0x11bae0));}[_0x55db26(0x1c8)](){const _0xc8cb61=_0x55db26;this[_0xc8cb61(0x179)]=window['setInterval'](()=>{const _0x3fa42c=_0xc8cb61;this[_0x3fa42c(0x27b)]({'type':0x2,'memberID':this[_0x3fa42c(0x1c7)]});},it);}['_ensureSubject'](_0x565dc9){const _0xd5b58=_0x55db26;return this[_0xd5b58(0x1e4)][_0xd5b58(0x187)](_0x565dc9)||this[_0xd5b58(0x1e4)][_0xd5b58(0x205)](_0x565dc9,new _0x5d099f(_0x271482[_0xd5b58(0x271)])),this[_0xd5b58(0x1e4)]['get'](_0x565dc9);}}var Mt=(_0x203e57=>(_0x203e57[_0x203e57[_0x55db26(0x228)]=0x0]=_0x55db26(0x228),_0x203e57[_0x203e57['OK']=0x1]='OK',_0x203e57[_0x203e57[_0x55db26(0x217)]=0x2]=_0x55db26(0x217),_0x203e57[_0x203e57[_0x55db26(0x1d4)]=0x3]=_0x55db26(0x1d4),_0x203e57[_0x203e57[_0x55db26(0x163)]=0x4]=_0x55db26(0x163),_0x203e57[_0x203e57['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x203e57[_0x203e57['ALREADY_EXISTS']=0x6]=_0x55db26(0x325),_0x203e57[_0x203e57[_0x55db26(0x24e)]=0x7]=_0x55db26(0x24e),_0x203e57[_0x203e57['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x203e57[_0x203e57[_0x55db26(0x310)]=0x9]=_0x55db26(0x310),_0x203e57[_0x203e57[_0x55db26(0x1ed)]=0xa]=_0x55db26(0x1ed),_0x203e57[_0x203e57[_0x55db26(0x1cb)]=0x1389]=_0x55db26(0x1cb),_0x203e57[_0x203e57[_0x55db26(0x1c1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x203e57[_0x203e57[_0x55db26(0x192)]=0x1772]=_0x55db26(0x192),_0x203e57[_0x203e57[_0x55db26(0x315)]=0x1773]=_0x55db26(0x315),_0x203e57[_0x203e57[_0x55db26(0x221)]=0x1b59]=_0x55db26(0x221),_0x203e57[_0x203e57[_0x55db26(0x1e3)]=0x1b5a]=_0x55db26(0x1e3),_0x203e57[_0x203e57[_0x55db26(0x1eb)]=0x1b5b]=_0x55db26(0x1eb),_0x203e57[_0x203e57[_0x55db26(0x285)]=0x1b5c]=_0x55db26(0x285),_0x203e57[_0x203e57['APPLY_DUPLICATED']=0x1b5d]=_0x55db26(0x306),_0x203e57[_0x203e57[_0x55db26(0x2e8)]=0x1f41]=_0x55db26(0x2e8),_0x203e57[_0x203e57[_0x55db26(0x25d)]=0x2329]=_0x55db26(0x25d),_0x203e57[_0x203e57[_0x55db26(0x28a)]=0x232a]=_0x55db26(0x28a),_0x203e57[_0x203e57[_0x55db26(0x175)]=0x232b]=_0x55db26(0x175),_0x203e57[_0x203e57[_0x55db26(0x1ac)]=0x232c]=_0x55db26(0x1ac),_0x203e57[_0x203e57[_0x55db26(0x237)]=0x232d]=_0x55db26(0x237),_0x203e57[_0x203e57[_0x55db26(0x1ad)]=0x2711]=_0x55db26(0x1ad),_0x203e57[_0x203e57[_0x55db26(0x244)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x203e57[_0x203e57[_0x55db26(0x1c9)]=0x2713]=_0x55db26(0x1c9),_0x203e57[_0x203e57[_0x55db26(0x328)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x203e57[_0x203e57[_0x55db26(0x208)]=0x271a]=_0x55db26(0x208),_0x203e57[_0x203e57['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x55db26(0x2e4),_0x203e57[_0x203e57[_0x55db26(0x15a)]=0x271c]=_0x55db26(0x15a),_0x203e57[_0x203e57[_0x55db26(0x1d2)]=0x271d]=_0x55db26(0x1d2),_0x203e57[_0x203e57['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x203e57[_0x203e57[_0x55db26(0x2f6)]=0x271f]=_0x55db26(0x2f6),_0x203e57[_0x203e57[_0x55db26(0x21b)]=0x2af9]=_0x55db26(0x21b),_0x203e57[_0x203e57[_0x55db26(0x31e)]=0x2ee1]=_0x55db26(0x31e),_0x203e57[_0x203e57[_0x55db26(0x258)]=0x2ee2]=_0x55db26(0x258),_0x203e57[_0x203e57['INVITE_CODE_REQUIRED']=0x2ee3]=_0x55db26(0x282),_0x203e57[_0x203e57[_0x55db26(0x249)]=0x2ee4]=_0x55db26(0x249),_0x203e57[_0x203e57[_0x55db26(0x304)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x203e57[_0x203e57['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x203e57[_0x203e57['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x55db26(0x2ff),_0x203e57[_0x203e57[_0x55db26(0x184)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x203e57[_0x203e57[_0x55db26(0x13c)]=-0x1]='UNRECOGNIZED',_0x203e57))(Mt||{}),pn=Object[_0x55db26(0x26c)],Cn=(_0x7eb7e6,_0xe8b867,_0x124793,_0x5856e7)=>{const _0xb9d7fd=_0x55db26;for(var _0x386ac8=_0x5856e7>0x1?void 0x0:_0x5856e7?pn(_0xe8b867,_0x124793):_0xe8b867,_0x5ce5a3=_0x7eb7e6[_0xb9d7fd(0x245)]-0x1,_0x29650a;_0x5ce5a3>=0x0;_0x5ce5a3--)(_0x29650a=_0x7eb7e6[_0x5ce5a3])&&(_0x386ac8=_0x29650a(_0x386ac8)||_0x386ac8);return _0x386ac8;},be=(_0x25ae0f,_0x3efe15)=>(_0x5c975e,_0x399f57)=>_0x3efe15(_0x5c975e,_0x399f57,_0x25ae0f);let rt=class extends _0x10148b{constructor(_0x3dd276,_0x199ffd,_0x113c44){const _0x4cfff8=_0x55db26;super(),this['_instanceService']=_0x3dd276,this['_httpService']=_0x199ffd,this[_0x4cfff8(0x21d)]=_0x113c44;}async[_0x55db26(0x30d)](_0x13ae47,_0xfba30f,_0x19a568,..._0x46a278){const _0x573fe2=_0x55db26;var _0xacef2d,_0x34dcb4,_0x5cd3b4,_0x5c048d;const _0x7c0ccc=this[_0x573fe2(0x201)][_0x573fe2(0x14a)]();if(!_0x7c0ccc)throw new Error(_0x573fe2(0x149));const _0x15787a=((_0xacef2d=this[_0x573fe2(0x21d)]['getConfig'](_0x36c734))!=null?_0xacef2d:_0x4c7428)+'/'+_0x13ae47+_0x573fe2(0x157)+_0xfba30f,_0x733735=new URL(window['location'][_0x573fe2(0x1da)]),_0x5257f2={'scriptId':_0x13ae47,'runId':(_0x34dcb4=_0x733735[_0x573fe2(0x20f)][_0x573fe2(0x30a)](_0x573fe2(0x2a1)))!=null?_0x34dcb4:'','function':_0xfba30f,'unitId':_0x7c0ccc['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x46a278),'invokeId':(_0x5cd3b4=_0x19a568[_0x573fe2(0x24d)])!=null?_0x5cd3b4:'','executionId':(_0x5c048d=_0x19a568[_0x573fe2(0x1ee)])!=null?_0x5c048d:''};try{const _0x3414f5=await this[_0x573fe2(0x185)][_0x573fe2(0x242)](_0x15787a,{'body':_0x5257f2});return _0x3414f5[_0x573fe2(0x1e8)]['error']&&_0x3414f5['body']['error'][_0x573fe2(0x1c4)]!==Mt['OK']?'Failed':_0x3414f5[_0x573fe2(0x1e8)][_0x573fe2(0x267)];}catch{return _0x573fe2(0x319);}}};rt=Cn([be(0x0,_0x3c3ecb),be(0x1,_0xa51950(_0x1f9e5b)),be(0x2,_0x1e8626)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x4eb3(){const _0x1b46fe=['Edit\x20conflicts','3396726oYOLgr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','40iaZnXa','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6lGGvLv','303940HZPhFA','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','68180CSeIiO','5XYlqZh','10580614rKYyRe','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Click\x20to\x20Reconnect','8217965UGYuVy','16eDhjsK','344422TokoDE','1856070IWuzsM'];_0x4eb3=function(){return _0x1b46fe;};return _0x4eb3();}const _0x4310a1=_0x36d0;(function(_0x1e011d,_0x180089){const _0x110d4c=_0x36d0,_0x56b492=_0x1e011d();while(!![]){try{const _0x192698=-parseInt(_0x110d4c(0xb4))/0x1*(parseInt(_0x110d4c(0xa7))/0x2)+parseInt(_0x110d4c(0xa8))/0x3+parseInt(_0x110d4c(0xac))/0x4*(-parseInt(_0x110d4c(0xb3))/0x5)+-parseInt(_0x110d4c(0xae))/0x6*(-parseInt(_0x110d4c(0xa5))/0x7)+-parseInt(_0x110d4c(0xa6))/0x8*(-parseInt(_0x110d4c(0xaa))/0x9)+parseInt(_0x110d4c(0xaf))/0xa+-parseInt(_0x110d4c(0xb5))/0xb;if(_0x192698===_0x180089)break;else _0x56b492['push'](_0x56b492['shift']());}catch(_0x39d389){_0x56b492['push'](_0x56b492['shift']());}}}(_0x4eb3,0x9707a));const e={'collab-client':{'tooltip':{'reconnect':_0x4310a1(0xa4)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4310a1(0xa9),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x4310a1(0xb0),'offline':_0x4310a1(0xad)},'session':{'connection-failed':_0x4310a1(0xb1),'will-retry':_0x4310a1(0xab),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4310a1(0xb2)},'conflict':{'title':_0x4310a1(0xb6),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x4310a1(0xa3),'content':_0x4310a1(0xa1)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4310a1(0xa2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x36d0(_0x4799df,_0x4094e6){const _0x4eb3bf=_0x4eb3();return _0x36d0=function(_0x36d034,_0x5b613d){_0x36d034=_0x36d034-0xa1;let _0xe3f28d=_0x4eb3bf[_0x36d034];return _0xe3f28d;},_0x36d0(_0x4799df,_0x4094e6);}export{e as default};
1
+ const _0x4933fc=_0x183a;function _0x1480(){const _0x23e4cc=['2tRsezM','Collaboration\x20Conflict','Local\x20file','Connection\x20failed,\x20please\x20check\x20your\x20network.','146008LSvcVm','2477580ElkLWI','57242eixJyg','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','3061335SVtyNl','Synced','3043327EGQxjJ','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2566672maHFSR','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','678804eUFemi','1359gYXnUJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x1480=function(){return _0x23e4cc;};return _0x1480();}(function(_0xba487b,_0x2a8c2c){const _0x433d14=_0x183a,_0x5b1a21=_0xba487b();while(!![]){try{const _0x4e2bff=-parseInt(_0x433d14(0x160))/0x1*(parseInt(_0x433d14(0x150))/0x2)+-parseInt(_0x433d14(0x15d))/0x3+-parseInt(_0x433d14(0x15a))/0x4+-parseInt(_0x433d14(0x153))/0x5+-parseInt(_0x433d14(0x14f))/0x6+-parseInt(_0x433d14(0x155))/0x7+parseInt(_0x433d14(0x14e))/0x8*(parseInt(_0x433d14(0x15e))/0x9);if(_0x4e2bff===_0x2a8c2c)break;else _0x5b1a21['push'](_0x5b1a21['shift']());}catch(_0x1e46dc){_0x5b1a21['push'](_0x5b1a21['shift']());}}}(_0x1480,0x5a84d));const e={'collab-client':{'tooltip':{'reconnect':_0x4933fc(0x158)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4933fc(0x156),'notCollab':_0x4933fc(0x14c),'synced':_0x4933fc(0x154),'syncing':_0x4933fc(0x152),'offline':_0x4933fc(0x159)},'session':{'connection-failed':_0x4933fc(0x14d),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x4933fc(0x151),'collaboration-timeout':_0x4933fc(0x157)},'conflict':{'title':_0x4933fc(0x161),'content':_0x4933fc(0x15b)},'permission':{'title':'Authentication\x20Error','content':_0x4933fc(0x15f)},'collaboration':{'single-unit':{'warning':_0x4933fc(0x15c)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x183a(_0xea16c,_0x44815d){const _0x1480e1=_0x1480();return _0x183a=function(_0x183aa5,_0x114fce){_0x183aa5=_0x183aa5-0x14c;let _0xcc2448=_0x1480e1[_0x183aa5];return _0xcc2448;},_0x183a(_0xea16c,_0x44815d);}export{e as default};
@@ -1 +1 @@
1
- const _0x5b08a2=_0x1c53;(function(_0x235f06,_0x141861){const _0x90fbc3=_0x1c53,_0x48b83e=_0x235f06();while(!![]){try{const _0x5c65e2=-parseInt(_0x90fbc3(0x15e))/0x1+-parseInt(_0x90fbc3(0x16f))/0x2+parseInt(_0x90fbc3(0x15f))/0x3+-parseInt(_0x90fbc3(0x171))/0x4*(parseInt(_0x90fbc3(0x165))/0x5)+parseInt(_0x90fbc3(0x163))/0x6+parseInt(_0x90fbc3(0x16b))/0x7+parseInt(_0x90fbc3(0x16c))/0x8;if(_0x5c65e2===_0x141861)break;else _0x48b83e['push'](_0x48b83e['shift']());}catch(_0x586661){_0x48b83e['push'](_0x48b83e['shift']());}}}(_0x4b75,0x29f9d));function _0x1c53(_0x385f3c,_0x23a267){const _0x4b7546=_0x4b75();return _0x1c53=function(_0x1c531b,_0x7ea2ce){_0x1c531b=_0x1c531b-0x15e;let _0x4c1206=_0x4b7546[_0x1c531b];return _0x4c1206;},_0x1c53(_0x385f3c,_0x23a267);}function _0x4b75(){const _0x5cbcbf=['اعمال\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پرونده\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سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','240849uHEKnv','2417912iQwNlu','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','430044hjCfje','همگام\x20سازی','36tSTBWK','تداخل\x20همکاری','63222TnTnFX','660225nLUpTU','سرور\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های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1394322PUluYi','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','188295BKWnVW'];_0x4b75=function(){return _0x5cbcbf;};return _0x4b75();}const o={'collab-client':{'tooltip':{'reconnect':_0x5b08a2(0x16a)}},'collabStatus':{'fetchMiss':_0x5b08a2(0x168),'conflict':_0x5b08a2(0x16e),'notCollab':'پرونده\x20محلی','synced':_0x5b08a2(0x170),'syncing':_0x5b08a2(0x169),'offline':_0x5b08a2(0x164)},'session':{'connection-failed':_0x5b08a2(0x161),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x5b08a2(0x162),'collaboration-timeout':_0x5b08a2(0x160)},'conflict':{'title':_0x5b08a2(0x172),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x5b08a2(0x16d),'content':_0x5b08a2(0x166)},'collaboration':{'single-unit':{'warning':_0x5b08a2(0x167)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0xfbaae8=_0x2f4d;(function(_0x440cbd,_0xd8cd02){const _0x71af2a=_0x2f4d,_0x4329d9=_0x440cbd();while(!![]){try{const _0xf8149c=-parseInt(_0x71af2a(0x1ee))/0x1+parseInt(_0x71af2a(0x1f1))/0x2*(-parseInt(_0x71af2a(0x1f4))/0x3)+-parseInt(_0x71af2a(0x1ea))/0x4*(-parseInt(_0x71af2a(0x1e6))/0x5)+-parseInt(_0x71af2a(0x1e9))/0x6+-parseInt(_0x71af2a(0x1f3))/0x7+-parseInt(_0x71af2a(0x1f9))/0x8+parseInt(_0x71af2a(0x1f0))/0x9;if(_0xf8149c===_0xd8cd02)break;else _0x4329d9['push'](_0x4329d9['shift']());}catch(_0x3efa60){_0x4329d9['push'](_0x4329d9['shift']());}}}(_0x1c44,0x9e0fd));const o={'collab-client':{'tooltip':{'reconnect':_0xfbaae8(0x1f2)}},'collabStatus':{'fetchMiss':_0xfbaae8(0x1f8),'conflict':'تداخل\x20ویرایش','notCollab':_0xfbaae8(0x1ec),'synced':_0xfbaae8(0x1e7),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0xfbaae8(0x1eb)},'session':{'connection-failed':_0xfbaae8(0x1e8),'will-retry':_0xfbaae8(0x1ef),'room-full':_0xfbaae8(0x1f6),'collaboration-timeout':_0xfbaae8(0x1e5)},'conflict':{'title':_0xfbaae8(0x1f5),'content':_0xfbaae8(0x1fa)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0xfbaae8(0x1fb)},'collaboration':{'single-unit':{'warning':_0xfbaae8(0x1ed)},'closeRoom':_0xfbaae8(0x1f7)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x2f4d(_0x2ae932,_0x59fe65){const _0x1c4488=_0x1c44();return _0x2f4d=function(_0x2f4d18,_0x5bbd06){_0x2f4d18=_0x2f4d18-0x1e5;let _0x406a3d=_0x1c4488[_0x2f4d18];return _0x406a3d;},_0x2f4d(_0x2ae932,_0x59fe65);}export{o as default};function _0x1c44(){const _0x28b82a=['پرونده\x20محلی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1232146HbAKhs','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','24140016CSWuqW','45498veOorc','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','3571981BoSgsa','138TTGbXO','تداخل\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سرور...','250728TJUfeg','یک\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رفت.','اعمال\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درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','15eVjzZy','همگام\x20سازی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1418598Yjlyie','1362472AxjjNi','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'];_0x1c44=function(){return _0x28b82a;};return _0x1c44();}