@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504161609 → 0.6.10-nightly.202504181606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x233059=_0x3372;(function(_0x3bade,_0x122040){const _0x109305=_0x3372,_0x44cf33=_0x3bade();while(!![]){try{const _0x365cc8=parseInt(_0x109305(0x213))/0x1*(-parseInt(_0x109305(0x24a))/0x2)+parseInt(_0x109305(0x194))/0x3+parseInt(_0x109305(0x2af))/0x4+parseInt(_0x109305(0x2c6))/0x5+parseInt(_0x109305(0x22a))/0x6+-parseInt(_0x109305(0x347))/0x7*(parseInt(_0x109305(0x19c))/0x8)+-parseInt(_0x109305(0x1f4))/0x9;if(_0x365cc8===_0x122040)break;else _0x44cf33['push'](_0x44cf33['shift']());}catch(_0x3475d1){_0x44cf33['push'](_0x44cf33['shift']());}}}(_0x4df5,0x93f1f));var Bt=Object[_0x233059(0x19d)],kt=(_0x2fc6b6,_0x1708c5,_0x476df2)=>_0x1708c5 in _0x2fc6b6?Bt(_0x2fc6b6,_0x1708c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476df2}):_0x2fc6b6[_0x1708c5]=_0x476df2,_=(_0x26cfa8,_0x1d60d4,_0x3a37ec)=>kt(_0x26cfa8,typeof _0x1d60d4!='symbol'?_0x1d60d4+'':_0x1d60d4,_0x3a37ec);import{MemberService as _0x1e5c75,SessionStatus as _0x343a1b,CollaborationSessionService as _0xc812a,CollaborationStatus as _0x6660c8,CollaborationController as _0x5ea498,ILocalCacheService as _0x27dd80,CollaborationUIEventService as _0x301bfc,CollaborationUIEventId as _0x1c1feb,DataLoaderService as _0x2c37bb,DocCollaborationEntity as _0x413438,getLocalCacheKey as _0xa1d69a,LOCAL_CACHE_INTERVAL as _0x5e91f1,LOCAL_CACHE_INTERVAL_KEY as _0x4aca84,UniverCollaborationClientPlugin as _0x121252,CollaborationSocketService as _0x24d6c5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x51518b,DEFAULT_WS_SESSION_TICKET_URL as _0x3f943f,UnitStatus as _0x35b1a7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c870b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56daa9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fee6d,Disposable as _0x31fe53,DOC_RANGE_TYPE as _0x898d1a,Inject as _0x58958f,Injector as _0x17fcfa,IUniverInstanceService as _0x43c917,ICommandService as _0x4bcb08,debounce as _0x1314d0,Rectangle as _0x186ea8,DisposableCollection as _0x165b50,toDisposable as _0x2a94ec,UniverInstanceType as _0x7df75b,Tools as _0xa39a85,COLORS as _0x2dfef9,ColorKit as _0x289f4f,ThemeService as _0x44768b,fromEventSubject as _0x125902,LocaleService as _0x3cf2c0,createIdentifier as _0x52bbde,ILogService as _0x430dc1,Optional as _0xef147d,Workbook as _0x2e15f2,CommandType as _0x1d92a9,IConfigService as _0x3941f1,ILocalStorageService as _0x4eb88a,DependentOn as _0x46dea2,Plugin as _0x327775,merge as _0xd06a7e,registerDependencies as _0x47116d,mergeOverrideWithDependencies as _0xe0e22,touchDependencies as _0x2806ec,generateRandomId as _0x5d49ad}from'@univerjs/core';import{Shape as _0x12860c,Rect as _0x4d3b6b,getColor as _0x82eb7d,RegularPolygon as _0x4b30fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c742c,Vector2 as _0x1f4fe6,SHEET_VIEWPORT_KEY as _0x48ea70,IRenderManagerService as _0x44367d}from'@univerjs/engine-render';import{ISocketService as _0x335f8f,WebSocketService as _0x5d58bc,HTTPService as _0x1f27d8}from'@univerjs/network';import{IDocClipboardService as _0x3efcd1,NodePositionConvertToCursor as _0x574411,NodePositionConvertToRectRange as _0xef86a8,TEXT_RANGE_LAYER_INDEX as _0x176178,SetDocZoomRatioOperation as _0x4d385e,DocIMEInputManagerService as _0x5bf960,DocStateChangeManagerService as _0x49d8ab}from'@univerjs/docs-ui';import{IImageIoService as _0x42abdf}from'@univerjs/drawing';import{BehaviorSubject as _0x5e9239,debounceTime as _0x599c89,takeUntil as _0x1cf044,Subject as _0x59c46a,filter as _0x4a67dc,switchMap as _0x53feff,merge as _0x203614,combineLatest as _0x30dbcf,of as _0x502f32,fromEvent as _0x3f43ac,shareReplay as _0x35fe69,mapTo as _0x1da391,distinctUntilChanged as _0x1ebe47}from'rxjs';import{SetTextSelectionsOperation as _0x1198d0,RichTextEditingMutation as _0xcab175,DocSelectionManagerService as _0x8cb75b,DocSkeletonManagerService as _0x42cef4}from'@univerjs/docs';import{ITransformService as _0x180467,CollaborationEvent as _0x52f964,isTransformMutationFailure as _0x3da689,isTransformMutationsWithChangesetSuccess as _0x281c58,RevisionService as _0x300924,ISnapshotServerService as _0x38517c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a774d,serializeRangeWithSheet as _0x3521a8}from'@univerjs/engine-formula';import{RefRangeService as _0x364611,SetSelectionsOperation as _0x208ea6,SheetsSelectionsService as _0x106443,EffectRefRangId as _0x435f2d,handleIRemoveRow as _0x305cff,handleIRemoveCol as _0x12e8f4,handleMoveRange as _0x3aec83,handleInsertRow as _0x3e582b,handleInsertRangeMoveRight as _0x31a981,handleInsertRangeMoveDown as _0x4ed55a,handleInsertCol as _0x38d5d2,handleDeleteRangeMoveUp as _0x27ed8e,handleDeleteRangeMoveLeft as _0x49a68c,runRefRangeMutations as _0x394121,SetWorksheetActivateCommand as _0x234da8}from'@univerjs/sheets';import{map as _0x956ef3,filter as _0x21d323,throttleTime as _0x4f504e,takeUntil as _0x1ea452,switchMap as _0x3898a8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x525f40,getCoordByCell as _0x346f7e,getSheetObject as _0x173752}from'@univerjs/sheets-ui';import{jsx as _0xffaf82,jsxs as _0x66e81a}from'react/jsx-runtime';import{useObservable as _0x1927e2,useDependency as _0x30a989,IUIPartsService as _0x1f9bfc,BuiltInUIPart as _0x489e18,connectInjector as _0x1534c9,IBeforeCloseService as _0x148777,IMessageService as _0x57af2e,INotificationService as _0x9f679f}from'@univerjs/ui';import{clsx as _0x4bd8c1,Tooltip as _0x3905f4,MessageType as _0x22030a}from'@univerjs/design';import{forwardRef as _0xc8dd8f,useRef as _0x1aaa47,createElement as _0x5d87d9,useCallback as _0x2b5d0f}from'react';import{IRemoteInstanceService as _0x135543}from'@univerjs/rpc';var li=Object[_0x233059(0x2c4)],_i=(_0x46a0f4,_0x2605bc,_0xa6de6b,_0x9a6772)=>{const _0x3f8f7b=_0x233059;for(var _0x23c176=_0x9a6772>0x1?void 0x0:_0x9a6772?li(_0x2605bc,_0xa6de6b):_0x2605bc,_0x5aa57c=_0x46a0f4[_0x3f8f7b(0x31d)]-0x1,_0x5e30dd;_0x5aa57c>=0x0;_0x5aa57c--)(_0x5e30dd=_0x46a0f4[_0x5aa57c])&&(_0x23c176=_0x5e30dd(_0x23c176)||_0x23c176);return _0x23c176;},Qe=(_0x55a2c1,_0x4a6801)=>(_0x2f8c30,_0xf993bb)=>_0x4a6801(_0x2f8c30,_0xf993bb,_0x55a2c1);let Me=class extends _0x1fee6d{constructor(_0x2b5285,_0x46d1bc){const _0x2273bd=_0x233059;super(),this[_0x2273bd(0x35d)]=_0x2b5285,this[_0x2273bd(0x2a9)]=_0x46d1bc,this['_init']();}['_init'](){const _0x2a8f08=_0x233059,_0x5aad9a=this;this[_0x2a8f08(0x22d)](this[_0x2a8f08(0x35d)][_0x2a8f08(0x20f)]({'onBeforePasteImage':async _0x4628ea=>{const _0x4cc254=_0x2a8f08,_0x5e5422=await _0x5aad9a[_0x4cc254(0x2a9)][_0x4cc254(0x2a6)](_0x4628ea);return _0x5e5422?{'source':_0x5e5422[_0x4cc254(0x1c8)],'imageSourceType':_0x5e5422['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x3efcd1),Qe(0x1,_0x42abdf)],Me);const qe=[_0x233059(0x1ec),'jiqing500',_0x233059(0x2e1),_0x233059(0x2cc),_0x233059(0x22e),_0x233059(0x2f6)];class He extends _0x31fe53{constructor(){const _0x110b0c=_0x233059;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x110b0c(0x28f),0x0);}[_0x233059(0x293)](_0x103382){const _0x40652f=_0x233059;if(this[_0x40652f(0x18d)][_0x40652f(0x344)](_0x103382))return this['_assignedColors'][_0x40652f(0x31b)](_0x103382);const _0xe0cb33=qe[this['_colorIndex']];return this[_0x40652f(0x28f)]=(this[_0x40652f(0x28f)]+0x1)%qe['length'],this[_0x40652f(0x18d)][_0x40652f(0x308)](_0x103382,_0xe0cb33),_0xe0cb33;}}function Dt(_0x410905){const _0x49fa2f=_0x233059;let _0x4a07f2='';for(const _0x15d67c of _0x410905){const {startOffset:_0x3efe85,endOffset:_0x22f03f,isActive:_0x11a25d,rangeType:_0x2d2393,segmentId:_0xfa9f6,segmentPage:_0x2178c3}=_0x15d67c;_0x4a07f2[_0x49fa2f(0x31d)]&&(_0x4a07f2+=','),_0x4a07f2+=_0x3efe85+':'+_0x22f03f+':'+(_0x11a25d?'1':'0')+':'+_0x2d2393+':'+_0xfa9f6+':'+_0x2178c3;}return _0x4a07f2;}function hi(_0x414510){const _0x350176=_0x233059,_0x5faa81=_0x414510[_0x350176(0x1e7)](','),_0x447d8e=[];for(const _0x81d4be of _0x5faa81){const [_0x33933a,_0x18246d,_0x1e6507,_0x3c70d1,_0x491d86,_0x5f207d]=_0x81d4be['split'](':');_0x447d8e['push']({'startOffset':Number(_0x33933a),'endOffset':Number(_0x18246d),'collapsed':_0x33933a===_0x18246d,'isActive':_0x1e6507==='1','rangeType':_0x3c70d1===_0x898d1a['TEXT']?_0x898d1a['TEXT']:_0x898d1a[_0x350176(0x2df)],'segmentId':typeof _0x491d86==_0x350176(0x1c1)?String(_0x491d86):'','segmentPage':Number(_0x5f207d!=null?_0x5f207d:-0x1)});}return _0x447d8e[_0x350176(0x1d7)](_0x59c575=>_0x59c575[_0x350176(0x2b6)])||(_0x447d8e[0x0]['isActive']=!0x0),_0x447d8e;}class je extends _0x1fee6d{constructor(){const _0x21497b=_0x233059;super(...arguments),_(this,_0x21497b(0x312),new _0x5e9239(null)),_(this,_0x21497b(0x2f9),this[_0x21497b(0x312)]['asObservable']());}[_0x233059(0x257)](_0x131625){const _0x4e9cee=_0x233059,{unitID:_0x6df5ef,memberID:_0x3a4d16,textRanges:_0x5d1fcf}=_0x131625,_0x1a4251=Dt(_0x5d1fcf);if(_0x1a4251==='')return;const _0x2c2da5={'unitID':_0x6df5ef,'memberID':_0x3a4d16,'selection':_0x1a4251};this['_collabCursorState$'][_0x4e9cee(0x32e)](_0x2c2da5);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x2a777b,_0x44206b,_0x486b47,_0x13cb7a)=>{const _0x109bd0=_0x233059;for(var _0x22c294=_0x13cb7a>0x1?void 0x0:_0x13cb7a?ui(_0x44206b,_0x486b47):_0x44206b,_0x531dd1=_0x2a777b[_0x109bd0(0x31d)]-0x1,_0x271d9f;_0x531dd1>=0x0;_0x531dd1--)(_0x271d9f=_0x2a777b[_0x531dd1])&&(_0x22c294=_0x271d9f(_0x22c294)||_0x22c294);return _0x22c294;},U=(_0x272c21,_0x5a7536)=>(_0x4e2c98,_0x10415d)=>_0x5a7536(_0x4e2c98,_0x10415d,_0x272c21);const fi=0x12c,Si=0x64;let Pe=class extends _0x1fee6d{constructor(_0x42416e,_0x52e441,_0x3edb46,_0x3e5fbe,_0x4bdd74,_0x44a84b,_0x497bca,_0x4bdb9a,_0x48ac4d){const _0x9b9393=_0x233059;super(),_(this,_0x9b9393(0x21a),!0x1),_(this,_0x9b9393(0x1e6),!0x1),_(this,'_cursorInfo$',new _0x5e9239(new Map())),_(this,_0x9b9393(0x254),this[_0x9b9393(0x20b)]['asObservable']()),_(this,_0x9b9393(0x2c9),new _0x5e9239([])),_(this,_0x9b9393(0x25d),this[_0x9b9393(0x2c9)][_0x9b9393(0x313)](_0x599c89(fi))),_(this,_0x9b9393(0x18b),_0x1314d0(_0x212c30=>{const _0x9ee943=_0x9b9393,_0xe82b7c={'eventID':_0x52f964[_0x9ee943(0x263)],'data':{'unitID':this[_0x9ee943(0x2f0)],'memberID':this['_session'][_0x9ee943(0x1d3)](),'selection':Dt(_0x212c30)}};this[_0x9ee943(0x2fd)]['send'](_0xe82b7c,this[_0x9ee943(0x2f0)]);},Si)),(this[_0x9b9393(0x2f0)]=_0x42416e,this['_session']=_0x52e441,this['_injector']=_0x3edb46,this[_0x9b9393(0x1d0)]=_0x3e5fbe,this['_memberService']=_0x4bdd74,this[_0x9b9393(0x265)]=_0x44a84b,this[_0x9b9393(0x310)]=_0x497bca,this[_0x9b9393(0x278)]=_0x4bdb9a,this['_commandService']=_0x48ac4d);}get[_0x233059(0x284)](){const _0x59f567=_0x233059;return this[_0x59f567(0x20b)][_0x59f567(0x1b1)]();}get[_0x233059(0x276)](){const _0x37919e=_0x233059;return this[_0x37919e(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0xb9bfe7=_0x233059;super[_0xb9bfe7(0x2a5)](),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x32e)](new Map()),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x314)](),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x32e)]([]),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x314)]();}['init'](){const _0xee8f30=_0x233059;this[_0xee8f30(0x1e6)]||(this[_0xee8f30(0x1e6)]=!0x0,this[_0xee8f30(0x2fd)][_0xee8f30(0x233)]['pipe'](_0x1cf044(this[_0xee8f30(0x348)]))['subscribe'](_0x6b502=>{const _0x5279e6=_0xee8f30;_0x6b502===_0x343a1b[_0x5279e6(0x2ea)]?this['_toggleOnline']():this[_0x5279e6(0x268)]();}),this[_0xee8f30(0x2fd)][_0xee8f30(0x1e8)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x1da3fd=>{const _0xbcb307=_0xee8f30,_0x683e8e=_0x1da3fd[_0xbcb307(0x208)];_0x683e8e===_0x52f964['UPDATE_CURSOR']&&this[_0xbcb307(0x341)](_0x1da3fd),_0x683e8e===_0x52f964['USERS_LEAVE']&&this[_0xbcb307(0x2e8)](_0x1da3fd);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x2b2960=>{const _0x241561=_0xee8f30,_0x3fa345=_0x2b2960[_0x241561(0x319)];_0x3fa345!=null&&this[_0x241561(0x21a)]&&_0x2b2960['id']===_0x1198d0['id']&&_0x3fa345[_0x241561(0x366)]===this[_0x241561(0x2f0)]&&_0x3fa345[_0x241561(0x35c)]===!0x1&&_0x3fa345[_0x241561(0x277)][_0x241561(0x31d)]>0x0&&this[_0x241561(0x18b)](_0x3fa345[_0x241561(0x277)]);})),this[_0xee8f30(0x265)][_0xee8f30(0x2f9)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x7600e9=>{const _0x52c55c=_0xee8f30;if((_0x7600e9==null?void 0x0:_0x7600e9[_0x52c55c(0x2f0)])!==this['unitID'])return;const _0x3e68b0={'eventID':_0x52f964[_0x52c55c(0x263)],'data':_0x7600e9};this[_0x52c55c(0x341)](_0x3e68b0);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x366bd1=>{const _0x348967=_0xee8f30;if(_0x366bd1[_0x348967(0x319)]==null)return;const _0x3318d5=_0x366bd1[_0x348967(0x319)];if(_0x366bd1['id']!==_0xcab175['id']||_0x3318d5[_0x348967(0x366)]!==this['unitID'])return;const _0x2363ed={'id':_0x348967(0x243),'params':_0x3318d5},_0x34462e=this['cursorInfo'];for(const [_0x3adc41,_0x17f25a]of _0x34462e){const _0x47b746={'id':_0x348967(0x243),'params':{'unitId':this[_0x348967(0x2f0)],'actions':null,'textRanges':_0x17f25a[_0x348967(0x277)]}},_0xa647a6=this[_0x348967(0x310)][_0x348967(0x281)](_0x2363ed,_0x47b746,!0x1);if(_0x3da689(_0xa647a6))throw _0xa647a6['error'];_0x34462e[_0x348967(0x308)](_0x3adc41,{..._0x17f25a,'ranges':_0xa647a6[_0x348967(0x269)]['params'][_0x348967(0x370)]});}queueMicrotask(()=>{const _0x360bdb=_0x348967;this[_0x360bdb(0x20b)][_0x360bdb(0x32e)](_0x34462e);});})));}[_0x233059(0x341)](_0x2d65cd){const _0x2cf3bb=_0x233059;var _0x13b3cf,_0x1530a8;const {memberID:_0x44fc68,selection:_0x570c96}=_0x2d65cd['data'],_0x21e3e8=hi(_0x570c96),_0x5e69f8=(_0x1530a8=(_0x13b3cf=this['_memberService'][_0x2cf3bb(0x287)](this[_0x2cf3bb(0x2f0)],_0x44fc68))==null?void 0x0:_0x13b3cf[_0x2cf3bb(0x1fa)])!=null?_0x1530a8:_0x2cf3bb(0x2f3),_0x2abd31={'color':this[_0x2cf3bb(0x1d0)][_0x2cf3bb(0x293)](_0x44fc68),'name':_0x5e69f8,'ranges':_0x21e3e8},_0x1e23f0=this['cursorInfo'];_0x1e23f0[_0x2cf3bb(0x308)](_0x44fc68,_0x2abd31),this[_0x2cf3bb(0x20b)][_0x2cf3bb(0x32e)](_0x1e23f0);}[_0x233059(0x2e8)](_0xc957f7){const _0x541c8e=_0x233059,{memberID:_0x6ac2d8}=_0xc957f7[_0x541c8e(0x2d6)],_0x2084aa=this[_0x541c8e(0x284)];_0x2084aa[_0x541c8e(0x224)](_0x6ac2d8),this[_0x541c8e(0x20b)][_0x541c8e(0x32e)](_0x2084aa);}[_0x233059(0x2e4)](){const _0x207b95=_0x233059;var _0x412020;if(this[_0x207b95(0x21a)]=!0x0,((_0x412020=this[_0x207b95(0x278)][_0x207b95(0x24d)]())==null?void 0x0:_0x412020[_0x207b95(0x2ae)]())!==this['unitID'])return;const _0x50f9f3=this['_injector'][_0x207b95(0x31b)](_0x8cb75b)[_0x207b95(0x365)]();Array[_0x207b95(0x1e5)](_0x50f9f3)&&_0x50f9f3[_0x207b95(0x31d)]>0x0&&this[_0x207b95(0x18b)](_0x50f9f3);}[_0x233059(0x268)](){const _0x1e919f=_0x233059;this[_0x1e919f(0x21a)]=!0x1;}};Pe=di([U(0x2,_0x58958f(_0x17fcfa)),U(0x3,_0x58958f(He)),U(0x4,_0x58958f(_0x1e5c75)),U(0x5,_0x58958f(je)),U(0x6,_0x180467),U(0x7,_0x43c917),U(0x8,_0x4bcb08)],Pe);var mi=Object[_0x233059(0x2c4)],gi=(_0x1669eb,_0x4c99cb,_0x38a37a,_0x48f689)=>{const _0xb546ca=_0x233059;for(var _0x3453c0=_0x48f689>0x1?void 0x0:_0x48f689?mi(_0x4c99cb,_0x38a37a):_0x4c99cb,_0x52ae78=_0x1669eb[_0xb546ca(0x31d)]-0x1,_0x53caa7;_0x52ae78>=0x0;_0x52ae78--)(_0x53caa7=_0x1669eb[_0x52ae78])&&(_0x3453c0=_0x53caa7(_0x3453c0)||_0x3453c0);return _0x3453c0;},x=(_0x5804a3,_0x391779)=>(_0x476ab3,_0x22aff4)=>_0x391779(_0x476ab3,_0x22aff4,_0x5804a3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2f75b3=[],_0x541901=!0x1;return _0x39f485=>{_0x2f75b3['push'](_0x39f485),_0x541901||(_0x541901=!0x0,setTimeout(()=>{const _0x5f1e2c=_0x3372;_0x2f75b3[_0x5f1e2c(0x2cb)](_0x49bee6=>_0x49bee6()),_0x2f75b3=[],_0x541901=!0x1;}));};};let we=class extends _0x1fee6d{constructor(_0xcfb5a,_0x5bf341,_0x4700bc,_0x54fb48,_0xbbb0c6,_0xbd2cd1,_0x2a8df1,_0x55ae0d){const _0x2cfefe=_0x233059;super(),_(this,_0x2cfefe(0x21a),!0x1),_(this,_0x2cfefe(0x1e6),!0x1),_(this,_0x2cfefe(0x20b),new _0x5e9239(new Map())),_(this,_0x2cfefe(0x254),this[_0x2cfefe(0x20b)][_0x2cfefe(0x2a1)]()),_(this,_0x2cfefe(0x2c9),new _0x5e9239([])),_(this,_0x2cfefe(0x25d),this[_0x2cfefe(0x2c9)][_0x2cfefe(0x313)](_0x599c89(vi))),_(this,'_updateLocalCursor',_0x1314d0((_0x5f3c19,_0x27292f)=>{const _0x4d3ee6=_0x2cfefe,_0x2967c0={'eventID':_0x52f964[_0x4d3ee6(0x263)],'data':{'unitID':this[_0x4d3ee6(0x2f0)],'memberID':this[_0x4d3ee6(0x2fd)]['getMemberID'](),'selection':_0x3521a8(_0x5f3c19,_0x27292f[_0x4d3ee6(0x292)])}};this[_0x4d3ee6(0x2fd)][_0x4d3ee6(0x23c)](_0x2967c0,this[_0x4d3ee6(0x2f0)]);},Ii)),(this['unitID']=_0xcfb5a,this['_session']=_0x5bf341,this[_0x2cfefe(0x1bb)]=_0x4700bc,this['_colorAssignService']=_0x54fb48,this['_memberService']=_0xbbb0c6,this[_0x2cfefe(0x278)]=_0xbd2cd1,this['_commandService']=_0x2a8df1,this[_0x2cfefe(0x25c)]=_0x55ae0d);}get[_0x233059(0x284)](){const _0x3d892d=_0x233059;return this[_0x3d892d(0x20b)]['getValue']();}get[_0x233059(0x276)](){const _0x6a4cbd=_0x233059;return this[_0x6a4cbd(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0x183ebc=_0x233059;super[_0x183ebc(0x2a5)](),this['_cursorInfo$'][_0x183ebc(0x32e)](new Map()),this[_0x183ebc(0x20b)][_0x183ebc(0x314)](),this[_0x183ebc(0x2c9)][_0x183ebc(0x32e)]([]),this[_0x183ebc(0x2c9)][_0x183ebc(0x314)]();}[_0x233059(0x18c)](){const _0x47576f=_0x233059;this['_init']||(this[_0x47576f(0x1e6)]=!0x0,this[_0x47576f(0x2fd)]['sessionStatus$'][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x59d209=>{const _0x18e649=_0x47576f;_0x59d209===_0x343a1b[_0x18e649(0x2ea)]?this[_0x18e649(0x2e4)]():this[_0x18e649(0x268)]();}),this['_session'][_0x47576f(0x1e8)][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x4e9bb1=>{const _0x106f06=_0x47576f,_0x5b6964=_0x4e9bb1[_0x106f06(0x208)];_0x5b6964===_0x52f964[_0x106f06(0x263)]&&this[_0x106f06(0x341)](_0x4e9bb1),_0x5b6964===_0x52f964[_0x106f06(0x345)]&&this[_0x106f06(0x2e8)](_0x4e9bb1);}),this[_0x47576f(0x20c)](),this[_0x47576f(0x22d)](this[_0x47576f(0x191)][_0x47576f(0x31c)](_0x2b60b7=>{const _0x544636=_0x47576f;if(this[_0x544636(0x21a)]&&_0x2b60b7['id']===_0x208ea6['id']&&_0x2b60b7[_0x544636(0x319)][_0x544636(0x366)]===this[_0x544636(0x2f0)]){const _0x2165e7=_0x2b60b7[_0x544636(0x319)];this[_0x544636(0x18b)](_0x2165e7[_0x544636(0x1e1)],_0x2165e7['selections'][0x0]);}})));}[_0x233059(0x341)](_0x32133d){const _0x5edd3=_0x233059;var _0xbcc673,_0x16490d;const {memberID:_0x1e8d71,selection:_0x2f23d9}=_0x32133d[_0x5edd3(0x2d6)],{sheetName:_0x4742c9,range:_0x5c63b5}=_0x2a774d(_0x2f23d9),_0x14f11={'name':(_0x16490d=(_0xbcc673=this['_memberService'][_0x5edd3(0x287)](this[_0x5edd3(0x2f0)],_0x1e8d71))==null?void 0x0:_0xbcc673[_0x5edd3(0x1fa)])!=null?_0x16490d:_0x5edd3(0x2f3),'range':this[_0x5edd3(0x200)](_0x4742c9,_0x5c63b5),'sheetID':_0x4742c9,'color':this[_0x5edd3(0x1d0)][_0x5edd3(0x293)](_0x1e8d71),'selection':_0x2f23d9},_0x10237b=this[_0x5edd3(0x284)];_0x10237b['set'](_0x1e8d71,_0x14f11),this[_0x5edd3(0x20b)][_0x5edd3(0x32e)](_0x10237b);}['_onCursorDelete'](_0x5d9bf7){const _0x45a395=_0x233059,{memberID:_0x4f5e86}=_0x5d9bf7[_0x45a395(0x2d6)],_0x5bab80=this[_0x45a395(0x284)];_0x5bab80[_0x45a395(0x224)](_0x4f5e86),this[_0x45a395(0x20b)][_0x45a395(0x32e)](_0x5bab80);}[_0x233059(0x200)](_0x2a206b,_0x1d2493){const _0x1c230b=_0x233059;var _0x2e556d,_0x56e420;const _0x424549=(_0x56e420=(_0x2e556d=this[_0x1c230b(0x278)]['getUniverSheetInstance'](this[_0x1c230b(0x2f0)]))==null?void 0x0:_0x2e556d[_0x1c230b(0x296)](_0x2a206b))==null?void 0x0:_0x56e420[_0x1c230b(0x330)]();return(_0x424549==null?void 0x0:_0x424549[_0x1c230b(0x1da)](_0x173937=>_0x186ea8[_0x1c230b(0x1ac)](_0x173937,_0x1d2493)))||_0x1d2493;}[_0x233059(0x20c)](){const _0x37be1e=_0x233059,_0x495ba9=new _0x165b50(),_0x411b82=pi(),_0x61c28=()=>{const _0x319190=_0x3372;_0x495ba9[_0x319190(0x2a5)]();const _0x228ad4=(_0x155028,_0x457258,_0x3e241a,_0x53dbfd)=>{const _0x44c577=_0x319190;let _0x4f8cf9=[];switch(_0x155028['id']){case _0x435f2d[_0x44c577(0x218)]:{_0x4f8cf9=_0x49a68c(_0x155028,_0x53dbfd);break;}case _0x435f2d['DeleteRangeMoveUpCommandId']:{_0x4f8cf9=_0x27ed8e(_0x155028,_0x53dbfd);break;}case _0x435f2d['InsertColCommandId']:{_0x4f8cf9=_0x38d5d2(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x346)]:{_0x4f8cf9=_0x4ed55a(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x288)]:{_0x4f8cf9=_0x31a981(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x253)]:{_0x4f8cf9=_0x3e582b(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x19a)]:{_0x4f8cf9=_0x3aec83(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x1ea)]:{_0x4f8cf9=_0x12e8f4(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x30d)]:{_0x4f8cf9=_0x305cff(_0x155028,_0x53dbfd);break;}}const _0x339c58=_0x394121(_0x4f8cf9,_0x53dbfd),_0x28ec80=this[_0x44c577(0x284)]['get'](_0x457258);if(_0x28ec80&&_0x339c58){const _0x1708fa={..._0x28ec80,'range':_0x339c58};this[_0x44c577(0x284)]['set'](_0x457258,_0x1708fa),_0x411b82(()=>{const _0x5997e3=_0x44c577,_0x33f337=this[_0x5997e3(0x25c)][_0x5997e3(0x355)](_0x339c58,_0x385f5c=>(_0x33f337[_0x5997e3(0x2a5)](),_0x228ad4(_0x385f5c,_0x457258,_0x3e241a,_0x339c58)));_0x495ba9['add'](_0x33f337);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x319190(0x2cb)]((_0x5c9459,_0x3942ef)=>{const _0xc9decf=_0x319190,{range:_0x47bf84,sheetID:_0xea8c5a}=_0x5c9459,_0x4fe64a=this[_0xc9decf(0x25c)][_0xc9decf(0x355)](_0x47bf84,_0x1e4f0d=>(_0x4fe64a[_0xc9decf(0x2a5)](),_0x228ad4(_0x1e4f0d,_0x3942ef,_0xea8c5a,_0x47bf84)));_0x495ba9[_0xc9decf(0x1f9)](_0x4fe64a);});};this[_0x37be1e(0x22d)](_0x2a94ec(this[_0x37be1e(0x20b)][_0x37be1e(0x1d2)](()=>{_0x61c28();})));}[_0x233059(0x2e4)](){const _0x426154=_0x233059;var _0x3d649d,_0x54465d;if(this[_0x426154(0x21a)]=!0x0,((_0x3d649d=this[_0x426154(0x278)][_0x426154(0x24d)]())==null?void 0x0:_0x3d649d[_0x426154(0x2ae)]())!==this[_0x426154(0x2f0)])return;const _0x30bba6=(_0x54465d=this[_0x426154(0x1bb)]['get'](_0x106443)['getCurrentSelections']())==null?void 0x0:_0x54465d[0x0],_0x5bd909=this[_0x426154(0x278)][_0x426154(0x1db)](_0x7df75b['UNIVER_SHEET'])['getActiveSheet']();_0x30bba6&&_0x5bd909&&this[_0x426154(0x18b)](_0x5bd909[_0x426154(0x2fb)](),_0x30bba6);}['_toggleOffline'](){const _0x337c48=_0x233059;this[_0x337c48(0x21a)]=!0x1;}};we=gi([x(0x2,_0x58958f(_0x17fcfa)),x(0x3,_0x58958f(He)),x(0x4,_0x58958f(_0x1e5c75)),x(0x5,_0x43c917),x(0x6,_0x4bcb08),x(0x7,_0x58958f(_0x364611))],we);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x2cf101,_0x52e473,_0x565d41,_0x33afe3)=>{const _0x402dff=_0x233059;for(var _0x160b29=_0x33afe3>0x1?void 0x0:_0x33afe3?Ci(_0x52e473,_0x565d41):_0x52e473,_0x20fc94=_0x2cf101[_0x402dff(0x31d)]-0x1,_0x2aa984;_0x20fc94>=0x0;_0x20fc94--)(_0x2aa984=_0x2cf101[_0x20fc94])&&(_0x160b29=_0x2aa984(_0x160b29)||_0x160b29);return _0x160b29;},me=(_0x30ca5a,_0x405381)=>(_0x43c5e2,_0x4a26de)=>_0x405381(_0x43c5e2,_0x4a26de,_0x30ca5a);let H=class extends _0x1fee6d{constructor(_0x446d9b,_0x3775a8,_0x803c12){const _0x136588=_0x233059;super(),_(this,_0x136588(0x1a0),new Map()),_(this,_0x136588(0x282),new _0x59c46a()),(this[_0x136588(0x278)]=_0x446d9b,this[_0x136588(0x1bb)]=_0x3775a8,this['_collabSessionService']=_0x803c12,this[_0x136588(0x1e6)]());}[_0x233059(0x2a5)](){const _0x45184c=_0x233059;super[_0x45184c(0x2a5)](),this[_0x45184c(0x282)][_0x45184c(0x314)](),this[_0x45184c(0x1a0)][_0x45184c(0x2cb)](_0x421e59=>_0x421e59[_0x45184c(0x2a5)]());}[_0x233059(0x26f)](_0x2a075a){const _0x30d948=_0x233059;return this[_0x30d948(0x1a0)][_0x30d948(0x344)](_0x2a075a)?this[_0x30d948(0x1a0)]['get'](_0x2a075a)[_0x30d948(0x254)]:this[_0x30d948(0x282)][_0x30d948(0x313)](_0x4a67dc(_0x5f343c=>_0x5f343c[_0x30d948(0x2f0)]===_0x2a075a),_0x53feff(_0x4b2094=>_0x4b2094[_0x30d948(0x254)]));}[_0x233059(0x1e6)](){const _0x191e94=_0x233059;this[_0x191e94(0x278)]['getTypeOfUnitAdded$'](_0x7df75b[_0x191e94(0x247)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))['subscribe'](async _0xe1ee86=>{const _0x26c5b5=_0x191e94,_0x10d1b2=_0xe1ee86['getUnitId'](),_0x12d5e6=await this['_startSheetCollabCursor'](_0x10d1b2);this[_0x26c5b5(0x282)]['next'](_0x12d5e6),this['_entities'][_0x26c5b5(0x308)](_0x10d1b2,_0x12d5e6);}),this[_0x191e94(0x278)][_0x191e94(0x317)](_0x7df75b[_0x191e94(0x35e)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x313)](_0x4a67dc(_0x1fd3c0=>!_0x1fd3c0['getUnitId']()[_0x191e94(0x31f)]('__')))[_0x191e94(0x1d2)](async _0x5c6589=>{const _0x15d2d0=_0x191e94,_0x10a199=_0x5c6589[_0x15d2d0(0x2ae)](),_0x32cc1b=await this[_0x15d2d0(0x327)](_0x10a199);this['_entityInit$'][_0x15d2d0(0x32e)](_0x32cc1b),this[_0x15d2d0(0x1a0)]['set'](_0x10a199,_0x32cc1b);}),_0x203614(this[_0x191e94(0x278)][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x35e)]),this['_univerInstanceService'][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x247)]))['pipe'](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x1d2)](_0x312433=>{const _0x5e50e9=_0x191e94,_0x396b82=_0x312433[_0x5e50e9(0x2ae)](),_0x3449cc=this[_0x5e50e9(0x1a0)][_0x5e50e9(0x31b)](_0x396b82);_0x3449cc&&(_0x3449cc['dispose'](),this[_0x5e50e9(0x1a0)][_0x5e50e9(0x224)](_0x396b82));});}async[_0x233059(0x36e)](_0x1bb261){const _0x560328=_0x233059,_0x528625=await this[_0x560328(0x336)]['requireSession'](_0x1bb261),_0x145f76=this[_0x560328(0x1bb)][_0x560328(0x1ab)](we,_0x1bb261,_0x528625);return _0x145f76[_0x560328(0x18c)](),_0x145f76;}async[_0x233059(0x327)](_0x5ce99b){const _0x182e08=_0x233059,_0x4b36be=await this[_0x182e08(0x336)]['requireSession'](_0x5ce99b),_0x528fc5=this[_0x182e08(0x1bb)][_0x182e08(0x1ab)](Pe,_0x5ce99b,_0x4b36be);return _0x528fc5[_0x182e08(0x18c)](),_0x528fc5;}};H=Ei([me(0x0,_0x43c917),me(0x1,_0x58958f(_0x17fcfa)),me(0x2,_0x58958f(_0xc812a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x13d13f,_0x196ce6){const _0x505a2d=_0x233059;let {radius:_0x3d0a28,width:_0x17e7db,height:_0x1a209b}=_0x196ce6;_0x3d0a28=_0x3d0a28!=null?_0x3d0a28:0x0,_0x17e7db=_0x17e7db!=null?_0x17e7db:0x1e,_0x1a209b=_0x1a209b!=null?_0x1a209b:0x1e;let _0x1d0eb1=0x0,_0x124e7b=0x0,_0x1e00ea=0x0;_0x1d0eb1=_0x124e7b=_0x1e00ea=Math[_0x505a2d(0x22f)](_0x3d0a28,_0x17e7db/0x2,_0x1a209b/0x2),_0x13d13f[_0x505a2d(0x264)](),_0x13d13f['moveTo'](_0x1d0eb1,0x0),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db-_0x124e7b,0x0),_0x13d13f['arc'](_0x17e7db-_0x124e7b,_0x124e7b,_0x124e7b,Math['PI']*0x3/0x2,0x0,!0x1),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db,_0x1a209b-_0x1e00ea),_0x13d13f['arc'](_0x17e7db-_0x1e00ea,_0x1a209b-_0x1e00ea,_0x1e00ea,0x0,Math['PI']/0x2,!0x1),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1a209b),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1d0eb1),_0x13d13f[_0x505a2d(0x266)](_0x1d0eb1,_0x1d0eb1,_0x1d0eb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13d13f['closePath'](),_0x196ce6[_0x505a2d(0x369)]&&(_0x13d13f['save'](),_0x13d13f[_0x505a2d(0x21d)]=_0x196ce6[_0x505a2d(0x369)],_0x196ce6[_0x505a2d(0x31e)]==='evenodd'?_0x13d13f[_0x505a2d(0x369)]('evenodd'):_0x13d13f[_0x505a2d(0x369)](),_0x13d13f[_0x505a2d(0x30f)]());}function _0x3372(_0x51ea87,_0x4d302b){const _0x4df561=_0x4df5();return _0x3372=function(_0x337234,_0x27f92d){_0x337234=_0x337234-0x182;let _0x16810b=_0x4df561[_0x337234];return _0x16810b;},_0x3372(_0x51ea87,_0x4d302b);}class ue extends _0x12860c{constructor(_0x131505,_0x16999a){const _0x3c1125=_0x233059;super(_0x131505,_0x16999a),_(this,_0x3c1125(0x1df)),_(this,'text'),(this[_0x3c1125(0x1df)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x1df)],this[_0x3c1125(0x24c)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x24c)]);}static['drawWith'](_0xbcef83,_0x494435){const _0x3eeba9=_0x233059,{text:_0x57a634,color:_0x208b0c}=_0x494435;_0xbcef83[_0x3eeba9(0x2be)](),_0xbcef83[_0x3eeba9(0x23f)]=_0x3eeba9(0x2b2);const _0x26b410=_0xbcef83[_0x3eeba9(0x362)](_0x57a634)['width'],_0x239601=Math['min'](_0x26b410+0x2*ge,et);Oi(_0xbcef83,{'height':te,'radius':0x4,'width':_0x239601,'fill':_0x208b0c}),_0xbcef83['fillStyle']=_0x3eeba9(0x32a);const _0x3a02db=ge,_0x17d55c=te-bi,_0x444733=et-0x2*ge;if(_0x26b410>_0x444733){let _0x4478a9='',_0x47f9ba=0x0;for(const _0x414c01 of _0x57a634){const _0x35bb98=_0xbcef83[_0x3eeba9(0x362)](_0x414c01)[_0x3eeba9(0x1be)];if(_0x47f9ba+_0x35bb98<=_0x444733-_0xbcef83[_0x3eeba9(0x362)](_0x3eeba9(0x2ec))[_0x3eeba9(0x1be)])_0x4478a9+=_0x414c01,_0x47f9ba+=_0x35bb98;else{_0x4478a9+=_0x3eeba9(0x2ec);break;}}_0xbcef83['fillText'](_0x4478a9,_0x3a02db,_0x17d55c);}else _0xbcef83[_0x3eeba9(0x228)](_0x57a634,_0x3a02db,_0x17d55c);_0xbcef83['restore']();}[_0x233059(0x306)](_0x56b896){const _0x1dc7e3=_0x233059;ue[_0x1dc7e3(0x230)](_0x56b896,this);}}const ve=_0x233059(0x275),Ti=_0x233059(0x33d),Ri=_0x233059(0x1ad),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x33e74d,_0x55273a,_0x3615a7,_0xaf4f9a){const _0x533227=_0x233059;_(this,_0x533227(0x225),[]),_(this,_0x533227(0x1cc),null),_(this,_0x533227(0x27d),null),_(this,_0x533227(0x2f4),null),_(this,_0x533227(0x350),null),_(this,_0x533227(0x182),null),(this[_0x533227(0x299)]=_0x33e74d,this[_0x533227(0x186)]=_0x55273a,this[_0x533227(0x320)]=_0x3615a7,this[_0x533227(0x2a8)]=_0xaf4f9a,this[_0x533227(0x206)]());}set[_0x233059(0x2b5)](_0x4a62f4){const _0x2c1144=_0x233059;_0x4a62f4?(this['_anchorDot']&&this[_0x2c1144(0x2f4)]['hide'](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x2b8)]()):(this[_0x2c1144(0x2f4)]&&this[_0x2c1144(0x2f4)][_0x2c1144(0x2b8)](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x1a9)]());}[_0x233059(0x2a5)](){const _0x1d351f=_0x233059;for(const _0x3e669d of this[_0x1d351f(0x225)])_0x3e669d['dispose']();this[_0x1d351f(0x27d)]&&this[_0x1d351f(0x27d)]['dispose'](),this['_anchorDot']&&this[_0x1d351f(0x2f4)][_0x1d351f(0x2a5)](),this[_0x1d351f(0x1cc)]&&this['_anchor'][_0x1d351f(0x2a5)](),this[_0x1d351f(0x182)]&&this['_eventUnsubscribe']();}[_0x233059(0x206)](){const _0x343770=_0x233059;var _0x2c10f7;const {_docSkeleton:_0x115f68,_document:_0xdcdcd6}=this,{color:_0x1950da,name:_0xd5bfe5,ranges:_0x684ad2}=this[_0x343770(0x299)],_0xdb1caf=_0xdcdcd6[_0x343770(0x27b)](),{docsLeft:_0x542e73,docsTop:_0x3e3380}=_0xdb1caf,_0x1b123f=new _0x574411(_0xdb1caf,_0x115f68);for(const {startOffset:_0x46b963,endOffset:_0x37cd44,rangeType:_0x549c4f,segmentId:_0x4217c1,segmentPage:_0x58234e,collapsed:_0xfef17e,isActive:_0x3add}of _0x684ad2){const _0x4d80a3=_0x115f68[_0x343770(0x359)](_0x46b963,!0x0,_0x4217c1,_0x58234e);let _0x2ca364=_0x115f68['findNodePositionByCharIndex'](_0x37cd44,!0x0,_0x4217c1,_0x58234e);if(_0x2ca364==null&&(_0x2ca364=_0x115f68[_0x343770(0x359)](_0x37cd44-0x1,!0x1,_0x4217c1,_0x58234e)),_0x3add){const {contentBoxPointGroup:_0x4cc964}=_0x1b123f[_0x343770(0x29b)](_0x2ca364,_0x2ca364);if(_0x4cc964['length']===0x0)continue;this[_0x343770(0x2d8)](_0x1950da,_0x4cc964,_0x542e73,_0x3e3380,_0xd5bfe5),this[_0x343770(0x182)]=this['_handleHover']();}if(_0x4d80a3&&_0x2ca364){if(_0x549c4f===_0x898d1a[_0x343770(0x2df)]){const _0x5aa160=new _0xef86a8(_0xdb1caf,_0x115f68),{pointGroup:_0x4faecb}=(_0x2c10f7=_0x5aa160[_0x343770(0x29b)](_0x4d80a3,_0x2ca364))!=null?_0x2c10f7:{};if(_0x4faecb==null||_0x4faecb[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x197)](_0x1950da,_0x4faecb,_0x542e73,_0x3e3380);}else{if(!_0xfef17e){const {borderBoxPointGroup:_0x44b406}=_0x1b123f[_0x343770(0x29b)](_0x4d80a3,_0x2ca364);if(_0x44b406[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x212)](_0x1950da,_0x44b406,_0x542e73,_0x3e3380);}}}}}['_drawAnchor'](_0x2ea508,_0x2dd443,_0x784a23,_0x5c8534,_0x519a28){const _0x4c3298=_0x233059,_0x6633d=this[_0x4c3298(0x2d3)](_0x2dd443),{left:_0x41771b,top:_0x40501b,height:_0x2eb71a}=_0x6633d,_0x297a15=this[_0x4c3298(0x33b)](),_0x24f5f2=Ni/_0x297a15,_0x3e5f76=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534,'height':_0x2eb71a,'width':Di,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':_0x24f5f2,'stroke':Mi,'evented':!0x0});this[_0x4c3298(0x1cc)]=_0x3e5f76,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x3e5f76,_0x176178);const _0x457f88=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':0x0,'stroke':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'evented':!0x1});this[_0x4c3298(0x2f4)]=_0x457f88,this['_scene'][_0x4c3298(0x21b)](_0x457f88,_0x176178);const _0x1a6cc5=new ue(ve+_0xa39a85['generateRandomId'](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-te,'text':_0x519a28,'color':_0x2ea508});this[_0x4c3298(0x27d)]=_0x1a6cc5,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x1a6cc5,_0x176178),this[_0x4c3298(0x2b5)]=!0x1;}[_0x233059(0x343)](){const _0x166022=_0x233059,_0x84c76f=this[_0x166022(0x1cc)][_0x166022(0x2b3)][_0x166022(0x203)](()=>{const _0x630cb9=_0x166022;this[_0x630cb9(0x2b5)]=!0x0;}),_0xe82219=this[_0x166022(0x1cc)][_0x166022(0x18e)][_0x166022(0x203)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x39a6c3=_0x3372;this[_0x39a6c3(0x2b5)]=!0x1;},0x7d0);});return()=>{const _0x4a6ed0=_0x166022;_0x84c76f[_0x4a6ed0(0x2d0)](),_0xe82219[_0x4a6ed0(0x2d0)]();};}[_0x233059(0x212)](_0x4c50d6,_0x4c47ed,_0x17c3b1,_0x52a78c){const _0x5ea357=_0x233059,_0x2d0848=new _0x289f4f(_0x4c50d6)[_0x5ea357(0x2de)](0.2)[_0x5ea357(0x337)](),_0x29e3bd=new _0x4b30fa(Ti+_0xa39a85[_0x5ea357(0x193)](X),{'pointsGroup':_0x4c47ed,'fill':_0x2d0848||_0x82eb7d(_0x2dfef9[_0x5ea357(0x229)],0.2),'left':_0x17c3b1,'top':_0x52a78c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea357(0x225)][_0x5ea357(0x1aa)](_0x29e3bd),this['_scene'][_0x5ea357(0x21b)](_0x29e3bd,_0x176178);}['_drawRectRange'](_0x3e3ec7,_0x4ee3b6,_0x5ab320,_0x1b1ce6){const _0x2f1533=_0x233059,_0x5d4797=new _0x289f4f(_0x3e3ec7)['setAlpha'](0.2)[_0x2f1533(0x337)](),_0x397485=new _0x4b30fa(Ri+_0xa39a85[_0x2f1533(0x193)](X),{'pointsGroup':_0x4ee3b6,'fill':_0x5d4797||_0x82eb7d(_0x2dfef9[_0x2f1533(0x229)],0.2),'left':_0x5ab320,'top':_0x1b1ce6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f1533(0x225)][_0x2f1533(0x1aa)](_0x397485),this[_0x2f1533(0x186)][_0x2f1533(0x21b)](_0x397485,_0x176178);}[_0x233059(0x2d3)](_0x373a08){const _0xf1b0e1=_0x373a08[0x0],_0x3a5732=_0xf1b0e1[0x0],_0x246af2=_0xf1b0e1[0x2],{x:_0x5d9ccf,y:_0x4765b1}=_0x3a5732,{x:_0x4657dc,y:_0x5a364f}=_0x246af2;return{'left':_0x5d9ccf,'top':_0x4765b1,'width':_0x4657dc-_0x5d9ccf,'height':_0x5a364f-_0x4765b1};}[_0x233059(0x33b)](){const _0xb5b321=_0x233059,{scaleX:_0x1fb32f,scaleY:_0x512f90}=this['_scene']['getAncestorScale']();return Math[_0xb5b321(0x1af)](_0x1fb32f,_0x512f90);}}var Pi=Object[_0x233059(0x2c4)],wi=(_0x260ce5,_0x4e2756,_0x44fc62,_0x46eafc)=>{for(var _0x484b47=_0x46eafc>0x1?void 0x0:_0x46eafc?Pi(_0x4e2756,_0x44fc62):_0x4e2756,_0x25d819=_0x260ce5['length']-0x1,_0x48f931;_0x25d819>=0x0;_0x25d819--)(_0x48f931=_0x260ce5[_0x25d819])&&(_0x484b47=_0x48f931(_0x484b47)||_0x484b47);return _0x484b47;},Q=(_0x24e383,_0x180ffa)=>(_0x52af6b,_0x204589)=>_0x180ffa(_0x52af6b,_0x204589,_0x24e383);let Ue=class extends _0x1fee6d{constructor(_0x1221d7,_0x4f39aa,_0x5d0cfc,_0xab3459,_0x53380d){const _0x1d5a95=_0x233059;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x1d5a95(0x1cd)]=_0x1221d7,this['_docSkeletonManagerService']=_0x4f39aa,this[_0x1d5a95(0x26a)]=_0x5d0cfc,this[_0x1d5a95(0x191)]=_0xab3459,this[_0x1d5a95(0x2d7)]=_0x53380d,this[_0x1d5a95(0x1e6)]());}[_0x233059(0x1e6)](){const _0x26399f=_0x233059,_0x1d5c5d=this[_0x26399f(0x1cd)][_0x26399f(0x366)],_0x52b009=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x30dbcf([this[_0x26399f(0x26a)][_0x26399f(0x26f)](_0x1d5c5d),this[_0x26399f(0x2d7)]['currentTheme$']])[_0x26399f(0x313)](_0x956ef3(([_0x1b1159,_0x3fee80])=>({'skeleton':_0x52b009[_0x26399f(0x1b0)](),'cursors':[..._0x1b1159[_0x26399f(0x309)]()][_0x26399f(0x2e3)](_0xa0169=>({..._0xa0169,'color':_0x3fee80[_0xa0169[_0x26399f(0x1df)]]}))})))[_0x26399f(0x1d2)](_0x574a25=>{const _0x5c89b4=_0x26399f;if(this[_0x5c89b4(0x1c0)](),_0x574a25){const {skeleton:_0x5b4b46,cursors:_0x2e462f}=_0x574a25;this[_0x5c89b4(0x2f2)](_0x5b4b46,_0x2e462f);}})),this[_0x26399f(0x1a4)](),this[_0x26399f(0x1ee)]();}['_updateCollabCursors'](_0x1b85a9,_0x25871f){const _0x8a0142=_0x233059,{scene:_0x83cca5,mainComponent:_0x1d56d6}=this[_0x8a0142(0x1cd)],_0x19e903=_0x25871f[_0x8a0142(0x1c3)](_0x41cbaa=>new tt(_0x41cbaa,_0x83cca5,_0x1b85a9,_0x1d56d6));this[_0x8a0142(0x36b)]=_0x19e903,this[_0x8a0142(0x205)]=_0x25871f;}[_0x233059(0x20d)](){const _0x31dc81=_0x233059;this['_removeCollabCursors']();const {scene:_0x4c2882,mainComponent:_0x3addf4}=this[_0x31dc81(0x1cd)],_0x573ddd=this[_0x31dc81(0x34a)][_0x31dc81(0x1b0)](),_0x222940=this[_0x31dc81(0x205)]['map'](_0x418009=>new tt(_0x418009,_0x4c2882,_0x573ddd,_0x3addf4));this[_0x31dc81(0x36b)]=_0x222940;}['_removeCollabCursors'](){const _0x2cdbc8=_0x233059;this['_cursorShapes'][_0x2cdbc8(0x2cb)](_0x1c9e9c=>_0x1c9e9c[_0x2cdbc8(0x2a5)]()),this[_0x2cdbc8(0x36b)]=[];}[_0x233059(0x1ee)](){const _0x1c0557=_0x233059,_0x566781=[_0x4d385e['id']];this[_0x1c0557(0x22d)](this[_0x1c0557(0x191)][_0x1c0557(0x31c)](_0x494224=>{const _0x172959=_0x1c0557;_0x566781[_0x172959(0x300)](_0x494224['id'])&&_0x494224[_0x172959(0x319)][_0x172959(0x366)]===this['_context']['unitId']&&this[_0x172959(0x20d)]();}));}[_0x233059(0x1a4)](){const _0x570d99=_0x233059;this['disposeWithMe'](_0x125902(this['_context'][_0x570d99(0x30e)]['onTransformChange$'])[_0x570d99(0x313)](_0x21d323(_0x539a25=>_0x539a25[_0x570d99(0x2d4)]===_0x3c742c[_0x570d99(0x338)]),_0x4f504e(0x10))[_0x570d99(0x1d2)](()=>{const _0x2827b7=_0x570d99;this[_0x2827b7(0x20d)]();}));}};Ue=wi([Q(0x1,_0x58958f(_0x42cef4)),Q(0x2,_0x58958f(H)),Q(0x3,_0x4bcb08),Q(0x4,_0x58958f(_0x44768b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x12860c{constructor(_0x5ad493,_0x8ae7cd){const _0x4bd0bf=_0x233059;super(_0x5ad493,_0x8ae7cd),_(this,_0x4bd0bf(0x242)),_(this,_0x4bd0bf(0x1bf),!0x1),_(this,'_range'),_(this,_0x4bd0bf(0x23e),''),_(this,_0x4bd0bf(0x2e6),'top'),_(this,_0x4bd0bf(0x220)),(_0x8ae7cd&&this[_0x4bd0bf(0x23d)](_0x8ae7cd),this[_0x4bd0bf(0x2b3)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x0})),this[_0x4bd0bf(0x18e)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x1})));}[_0x233059(0x23d)](_0x1eef29){const _0x986429=_0x233059;var _0xca16a5,_0x10c943,_0x16f413,_0x37eae6,_0x5c5229,_0x130eab;this[_0x986429(0x242)]=(_0xca16a5=_0x1eef29[_0x986429(0x1df)])!=null?_0xca16a5:this['_color'],this[_0x986429(0x1bf)]=(_0x10c943=_0x1eef29['hovered'])!=null?_0x10c943:this[_0x986429(0x1bf)],this[_0x986429(0x2ca)]=(_0x16f413=_0x1eef29[_0x986429(0x292)])!=null?_0x16f413:this[_0x986429(0x2ca)],this[_0x986429(0x23e)]=(_0x37eae6=_0x1eef29[_0x986429(0x1fa)])!=null?_0x37eae6:this['_name'],this['_labelPosition']=(_0x5c5229=_0x1eef29[_0x986429(0x1bc)])!=null?_0x5c5229:this[_0x986429(0x2e6)],this[_0x986429(0x220)]=(_0x130eab=_0x1eef29[_0x986429(0x315)])!=null?_0x130eab:this[_0x986429(0x220)],this[_0x986429(0x297)]({'width':_0x1eef29[_0x986429(0x1be)],'height':_0x1eef29[_0x986429(0x261)]});}['onMouseMove'](_0x81e244){const _0x101ca2=_0x233059,{row:_0x1c6c96,column:_0x373d5b}=_0x81e244;if(_0x1c6c96>=this[_0x101ca2(0x2ca)][_0x101ca2(0x2c8)]&&_0x1c6c96<=this[_0x101ca2(0x2ca)][_0x101ca2(0x29e)]&&_0x373d5b>=this[_0x101ca2(0x2ca)]['startColumn']&&_0x373d5b<=this['_range'][_0x101ca2(0x189)]){this[_0x101ca2(0x23d)]({'hovered':!0x0});return;}this[_0x101ca2(0x23d)]({'hovered':!0x1});}['triggerDblclick'](_0xf9c79e){return!0x1;}['_draw'](_0x4deb48){const _0x21c36e=_0x233059;_0x4d3b6b[_0x21c36e(0x230)](_0x4deb48,{'width':this[_0x21c36e(0x1be)],'height':this[_0x21c36e(0x261)],'strokeWidth':Li,'stroke':this[_0x21c36e(0x242)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x21c36e(0x1bf)]&&(_0x4deb48[_0x21c36e(0x2be)](),_0x4deb48[_0x21c36e(0x1c5)](0x1,0x0,0x0,0x1,this['width'],this[_0x21c36e(0x2e6)]===_0x21c36e(0x1dc)?0x0:-0x14),ue[_0x21c36e(0x230)](_0x4deb48,{'text':this[_0x21c36e(0x23e)],'color':this[_0x21c36e(0x242)]}),_0x4deb48[_0x21c36e(0x30f)]());}}var yi=Object[_0x233059(0x2c4)],$i=(_0x48a975,_0x5578db,_0x1e8446,_0x4c9bcf)=>{for(var _0x193cb2=_0x4c9bcf>0x1?void 0x0:_0x4c9bcf?yi(_0x5578db,_0x1e8446):_0x5578db,_0x42ab77=_0x48a975['length']-0x1,_0x58e365;_0x42ab77>=0x0;_0x42ab77--)(_0x58e365=_0x48a975[_0x42ab77])&&(_0x193cb2=_0x58e365(_0x193cb2)||_0x193cb2);return _0x193cb2;},pe=(_0x2b95b5,_0x35beb0)=>(_0x1f7144,_0x3dc3d3)=>_0x35beb0(_0x1f7144,_0x3dc3d3,_0x2b95b5);const xi=0x1389;let Le=class extends _0x1fee6d{constructor(_0x17a1d1,_0x5a5d60,_0x3da22a,_0xde6436){const _0x189afd=_0x233059;super(),_(this,_0x189afd(0x205),new Set()),_(this,'_lastPointer',null),(this[_0x189afd(0x1cd)]=_0x17a1d1,this[_0x189afd(0x1e0)]=_0x5a5d60,this[_0x189afd(0x26a)]=_0x3da22a,this[_0x189afd(0x2d7)]=_0xde6436,this['_init']());}['_init'](){const _0x231165=_0x233059;this[_0x231165(0x1e0)]['currentSkeleton$']['pipe'](_0x1ea452(this[_0x231165(0x348)]),_0x3898a8(_0x536817=>{const _0x46370c=_0x231165;if(_0x536817){const _0x3072ef=_0x536817[_0x46370c(0x294)];return _0x30dbcf(this['_collabCursorController'][_0x46370c(0x26f)](this[_0x46370c(0x1cd)]['unitId']),this[_0x46370c(0x2d7)][_0x46370c(0x1a5)])[_0x46370c(0x313)](_0x956ef3(([_0x27cb03,_0x11d37a])=>{const _0x16cfac=_0x46370c,_0x36fe79=new Map();return _0x27cb03[_0x16cfac(0x2cb)]((_0x28a957,_0x66948f)=>{const _0x1cabe4=_0x16cfac;if(_0x28a957[_0x1cabe4(0x232)]===_0x3072ef){const _0x338fdd={..._0x28a957};_0x338fdd[_0x1cabe4(0x1df)]=_0x11d37a[_0x28a957[_0x1cabe4(0x1df)]],_0x36fe79[_0x1cabe4(0x308)](_0x66948f,_0x338fdd);}}),{'skeleton':_0x536817,'cursors':_0x36fe79};}));}return _0x502f32({'skeleton':null,'cursors':new Map()});}))[_0x231165(0x1d2)](({skeleton:_0x2182dd,cursors:_0x5759fb})=>{const _0x50788f=_0x231165;this[_0x50788f(0x1c0)](),_0x2182dd&&this[_0x50788f(0x2f2)](_0x2182dd,_0x5759fb);}),this[_0x231165(0x1e0)][_0x231165(0x226)]['subscribe'](_0x2e7699=>{const _0x46e045=_0x231165;if(_0x2e7699==null)return;const {skeleton:_0x2af9c3}=_0x2e7699,{scene:_0x50fcb8}=this[_0x46e045(0x1cd)];_0x50fcb8[_0x46e045(0x25a)][_0x46e045(0x203)](_0x1314d0(_0x1b93b7=>{const _0x19a349=_0x46e045;var _0x4145fd,_0x11a005;const {offsetX:_0x30d073,offsetY:_0xbc889e}=_0x1b93b7,{x:_0x3d6156,y:_0x4a283c}=_0x50fcb8[_0x19a349(0x1b8)](_0x1f4fe6[_0x19a349(0x35b)]([_0x30d073,_0xbc889e])),{scaleX:_0x3cf537,scaleY:_0x3bc1c2}=_0x50fcb8[_0x19a349(0x18a)](),_0x2c262e=_0x50fcb8['getViewport'](_0x48ea70['VIEW_MAIN']),_0x103eac=_0x50fcb8[_0x19a349(0x27e)](_0x1f4fe6[_0x19a349(0x35b)]([_0x3d6156,_0x4a283c]),_0x2c262e),_0x2588de=_0x2af9c3[_0x19a349(0x34c)](_0x30d073,_0xbc889e,_0x3cf537,_0x3bc1c2,_0x103eac);((_0x4145fd=this[_0x19a349(0x1c7)])==null?void 0x0:_0x4145fd[_0x19a349(0x238)])===_0x2588de['column']&&((_0x11a005=this[_0x19a349(0x1c7)])==null?void 0x0:_0x11a005[_0x19a349(0x1c2)])===_0x2588de[_0x19a349(0x1c2)]||this['_cursors'][_0x19a349(0x2cb)](_0x20658d=>{_0x20658d['onMouseMove'](_0x2588de);});},0x64));});}[_0x233059(0x2f2)](_0xf9d5f8,_0x2e7b59){const _0x282ddb=_0x233059;var _0x1cea98;const _0x43844a=(_0x1cea98=this[_0x282ddb(0x1e0)]['getCurrent']())==null?void 0x0:_0x1cea98[_0x282ddb(0x2bb)];if(!_0x43844a)return;const _0x12cb4e=this[_0x282ddb(0x305)]();if(!_0x12cb4e)return;this[_0x282ddb(0x205)]['forEach'](_0x353054=>{const _0x35b968=_0x282ddb;_0x353054[_0x35b968(0x2ff)]();});const {scene:_0xb8281f}=_0x12cb4e,_0x42765d=Bi(Array['from'](_0x2e7b59['values']()))['map'](_0xe4439d=>{const _0x49bd2b=_0x282ddb,{color:_0x118640,range:_0x5dc16b,name:_0x3bbfc7,selection:_0x205467,sheetID:_0x4465ed}=_0xe4439d,{startColumn:_0x134a7d,startRow:_0x3e53e3,endColumn:_0x1f31c8,endRow:_0x4bf8ad}=_0x5dc16b,_0x2d3ce2=_0x346f7e(_0x3e53e3,_0x134a7d,_0xb8281f,_0x43844a),_0x3d35a3=_0x346f7e(_0x4bf8ad,_0x1f31c8,_0xb8281f,_0x43844a),{columnHeaderHeightAndMarginTop:_0x2bf138}=_0x43844a,{startX:_0x525374,startY:_0x38c580}=_0x2d3ce2,{endX:_0x326805,endY:_0x11e042}=_0x3d35a3,_0x585e9d=_0x326805-_0x525374,_0x476a78=_0x11e042-_0x38c580,_0x134bd3={'labelPosition':_0x38c580-_0x2bf138>=te?_0x49bd2b(0x1a2):_0x49bd2b(0x1dc),'sheetID':_0x4465ed,'range':_0x5dc16b,'color':_0x118640,'name':_0x3bbfc7,'selection':_0x205467,'left':_0x525374,'top':_0x38c580,'width':_0x585e9d,'height':_0x476a78,'evented':!0x1,'zIndex':xi};return new Ai(_0x3bbfc7,_0x134bd3);});_0xb8281f[_0x282ddb(0x1fb)](_0x42765d,Ui),this[_0x282ddb(0x205)]=new Set(_0x42765d);}['_removeCollabCursors'](){const _0x484f70=_0x233059;var _0x4f3c02;(_0x4f3c02=this[_0x484f70(0x205)])==null||_0x4f3c02['forEach'](_0x33c2a2=>_0x33c2a2['dispose']());}[_0x233059(0x305)](){const _0x3d15fe=_0x233059;return _0x173752(this[_0x3d15fe(0x1cd)]['unit'],this['_context']);}};Le=$i([pe(0x1,_0x58958f(_0x525f40)),pe(0x2,_0x58958f(H)),pe(0x3,_0x58958f(_0x44768b))],Le);function Bi(_0x1f89a1){const _0x4bf9fb=_0x233059,_0x2e5af5=new Map();return _0x1f89a1[_0x4bf9fb(0x2cb)](_0x48f905=>{const _0x1dbdd4=_0x4bf9fb;if(_0x2e5af5[_0x1dbdd4(0x344)](_0x48f905[_0x1dbdd4(0x35a)])){const _0x36b697=_0x2e5af5[_0x1dbdd4(0x31b)](_0x48f905[_0x1dbdd4(0x35a)]);_0x36b697[_0x1dbdd4(0x1fa)]+=',\x20'+_0x48f905['name'];}else _0x2e5af5[_0x1dbdd4(0x308)](_0x48f905[_0x1dbdd4(0x35a)],_0x48f905);}),Array[_0x4bf9fb(0x29d)](_0x2e5af5[_0x4bf9fb(0x309)]());}var I=function(){const _0x328444=_0x233059;return I=Object['assign']||function(_0x4a7bfc){const _0x428379=_0x3372;for(var _0x3cd591,_0x364440=0x1,_0x2429c1=arguments[_0x428379(0x31d)];_0x364440<_0x2429c1;_0x364440++){_0x3cd591=arguments[_0x364440];for(var _0x13bae3 in _0x3cd591)Object[_0x428379(0x27f)]['hasOwnProperty'][_0x428379(0x188)](_0x3cd591,_0x13bae3)&&(_0x4a7bfc[_0x13bae3]=_0x3cd591[_0x13bae3]);}return _0x4a7bfc;},I[_0x328444(0x36f)](this,arguments);},ki=function(_0x38967e,_0x9bab7b){const _0xb59954=_0x233059;var _0x5af95c={};for(var _0x527f81 in _0x38967e)Object[_0xb59954(0x27f)]['hasOwnProperty'][_0xb59954(0x188)](_0x38967e,_0x527f81)&&_0x9bab7b[_0xb59954(0x2d9)](_0x527f81)<0x0&&(_0x5af95c[_0x527f81]=_0x38967e[_0x527f81]);if(_0x38967e!=null&&typeof Object[_0xb59954(0x2b4)]==_0xb59954(0x2d5)){for(var _0x5e1d5e=0x0,_0x527f81=Object[_0xb59954(0x2b4)](_0x38967e);_0x5e1d5e<_0x527f81[_0xb59954(0x31d)];_0x5e1d5e++)_0x9bab7b[_0xb59954(0x2d9)](_0x527f81[_0x5e1d5e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb59954(0x188)](_0x38967e,_0x527f81[_0x5e1d5e])&&(_0x5af95c[_0x527f81[_0x5e1d5e]]=_0x38967e[_0x527f81[_0x5e1d5e]]);}return _0x5af95c;},We=_0xc8dd8f(function(_0x46cffa,_0x24e800){const _0x130f4b=_0x233059;var _0x508d9e=_0x46cffa[_0x130f4b(0x219)],_0x46fc5c=_0x46cffa['id'],_0x4072f7=_0x46cffa['className'],_0x173503=_0x46cffa['extend'],_0x2d400d=ki(_0x46cffa,[_0x130f4b(0x219),'id','className',_0x130f4b(0x2b0)]),_0x269fa6=_0x130f4b(0x1eb)[_0x130f4b(0x2a7)](_0x46fc5c,'\x20')[_0x130f4b(0x2a7)](_0x4072f7||'')['trim'](),_0x12f9d3=_0x1aaa47('_'[_0x130f4b(0x2a7)](Wi()));return Nt(_0x508d9e,''[_0x130f4b(0x2a7)](_0x46fc5c),{'defIds':_0x508d9e[_0x130f4b(0x201)],'idSuffix':_0x12f9d3[_0x130f4b(0x2ef)]},I({'ref':_0x24e800,'className':_0x269fa6},_0x2d400d),_0x173503);});function Nt(_0x425d48,_0x1b4671,_0x53f7ad,_0x1c028b,_0x21ce13){const _0x50c9a3=_0x233059;return _0x5d87d9(_0x425d48[_0x50c9a3(0x227)],I(I({'key':_0x1b4671},Hi(_0x425d48,_0x53f7ad,_0x21ce13)),_0x1c028b),(ji(_0x425d48,_0x53f7ad)['children']||[])[_0x50c9a3(0x1c3)](function(_0x52d985,_0x271267){const _0x13d0ea=_0x50c9a3;return Nt(_0x52d985,''[_0x13d0ea(0x2a7)](_0x1b4671,'-')[_0x13d0ea(0x2a7)](_0x425d48[_0x13d0ea(0x227)],'-')[_0x13d0ea(0x2a7)](_0x271267),_0x53f7ad,void 0x0,_0x21ce13);}));}function Hi(_0x50dba4,_0x429c5e,_0x3da50a){const _0x3f00a4=_0x233059;var _0x11f1fb=I({},_0x50dba4[_0x3f00a4(0x1f1)]);_0x3da50a!=null&&_0x3da50a['colorChannel1']&&_0x11f1fb[_0x3f00a4(0x369)]==='colorChannel1'&&(_0x11f1fb[_0x3f00a4(0x369)]=_0x3da50a[_0x3f00a4(0x33c)]),_0x50dba4['tag']==='mask'&&_0x11f1fb['id']&&(_0x11f1fb['id']=_0x11f1fb['id']+_0x429c5e[_0x3f00a4(0x1d6)]),Object['entries'](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x585231){const _0x41380c=_0x3f00a4;var _0x27e062=_0x585231[0x0],_0x18fc92=_0x585231[0x1];_0x27e062===_0x41380c(0x26d)&&typeof _0x18fc92==_0x41380c(0x1c1)&&(_0x11f1fb[_0x27e062]=_0x18fc92[_0x41380c(0x26c)](/url\(#(.*)\)/,_0x41380c(0x2c3)[_0x41380c(0x2a7)](_0x429c5e['idSuffix'],')')));});var _0x11bc8d=_0x429c5e[_0x3f00a4(0x201)];return!_0x11bc8d||_0x11bc8d[_0x3f00a4(0x31d)]===0x0||(_0x50dba4[_0x3f00a4(0x227)]===_0x3f00a4(0x2bf)&&_0x11f1fb[_0x3f00a4(0x1d4)]&&(_0x11f1fb['xlink:href']=_0x11f1fb[_0x3f00a4(0x1d4)]+_0x429c5e[_0x3f00a4(0x1d6)]),Object[_0x3f00a4(0x1c6)](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x295b0f){const _0x480eaf=_0x3f00a4;var _0x372375=_0x295b0f[0x0],_0x33da08=_0x295b0f[0x1];typeof _0x33da08=='string'&&(_0x11f1fb[_0x372375]=_0x33da08[_0x480eaf(0x26c)](/url\(#(.*)\)/,'url(#$1'[_0x480eaf(0x2a7)](_0x429c5e[_0x480eaf(0x1d6)],')')));})),_0x11f1fb;}function ji(_0x3d3fb6,_0x5120d6){const _0x2d9c29=_0x233059;var _0x296b36,_0x352228=_0x5120d6['defIds'];return!_0x352228||_0x352228[_0x2d9c29(0x31d)]===0x0?_0x3d3fb6:_0x3d3fb6[_0x2d9c29(0x227)]===_0x2d9c29(0x204)&&(!((_0x296b36=_0x3d3fb6[_0x2d9c29(0x333)])===null||_0x296b36===void 0x0)&&_0x296b36[_0x2d9c29(0x31d)])?I(I({},_0x3d3fb6),{'children':_0x3d3fb6[_0x2d9c29(0x333)][_0x2d9c29(0x1c3)](function(_0x432ce3){const _0x3774f1=_0x2d9c29;return typeof _0x432ce3[_0x3774f1(0x1f1)]['id']=='string'&&_0x352228&&_0x352228[_0x3774f1(0x2d9)](_0x432ce3[_0x3774f1(0x1f1)]['id'])>-0x1?I(I({},_0x432ce3),{'attrs':I(I({},_0x432ce3[_0x3774f1(0x1f1)]),{'id':_0x432ce3[_0x3774f1(0x1f1)]['id']+_0x5120d6[_0x3774f1(0x1d6)]})}):_0x432ce3;})}):_0x3d3fb6;}function Wi(){const _0x3c46ea=_0x233059;return Math[_0x3c46ea(0x215)]()[_0x3c46ea(0x252)](0x24)['substring'](0x2,0x8);}We[_0x233059(0x361)]=_0x233059(0x321);var Fi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x1d9),'width':_0x233059(0x2a4),'height':_0x233059(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x36c)},'children':[{'tag':'path','attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x32c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x233059(0x204),'attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xc8dd8f(function(_0x129893,_0x179704){const _0x466c7f=_0x233059;return _0x5d87d9(We,Object[_0x466c7f(0x2ce)]({},_0x129893,{'id':_0x466c7f(0x2c0),'ref':_0x179704,'icon':Fi}));});Mt[_0x233059(0x361)]=_0x233059(0x2dc);var Vi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x34f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x302)},'children':[{'tag':_0x233059(0x352),'attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x351),'strokeLinecap':_0x233059(0x1f5),'strokeLinejoin':_0x233059(0x1f5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':_0x233059(0x30c)},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x233059(0x30c)]},Pt=_0xc8dd8f(function(_0x255972,_0x171185){const _0x9fcb6f=_0x233059;return _0x5d87d9(We,Object[_0x9fcb6f(0x2ce)]({},_0x255972,{'id':'on-line-single','ref':_0x171185,'icon':Vi}));});Pt[_0x233059(0x361)]=_0x233059(0x1cf);const Yi=_0x233059(0x24b),Xi='univer-online-status-title',Gi=_0x233059(0x25f),Ki='univer-online',zi=_0x233059(0x316),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x2621f3){const _0x2c25d3=_0x233059;switch(_0x2621f3){case _0x6660c8['OFFLINE']:return _0x2c25d3(0x1f7);case _0x6660c8[_0x2c25d3(0x185)]:return'collabStatus.conflict';case _0x6660c8[_0x2c25d3(0x2ba)]:return _0x2c25d3(0x339);case _0x6660c8[_0x2c25d3(0x270)]:return _0x2c25d3(0x2b7);case _0x6660c8[_0x2c25d3(0x36a)]:case _0x6660c8[_0x2c25d3(0x303)]:return'collabStatus.syncing';case _0x6660c8[_0x2c25d3(0x357)]:case _0x6660c8[_0x2c25d3(0x2e7)]:return _0x2c25d3(0x342);}}function Zi(_0xae3099){const _0x1c6493=_0x233059,{status$:_0x3e66fe}=_0xae3099,_0x520d24=_0x1927e2(_0x3e66fe,_0x6660c8[_0x1c6493(0x270)]),_0x3a0dc8=_0x30a989(_0x3cf2c0),_0x26b2ff=_0x30a989(_0xc812a),_0x519309=_0x520d24!==_0x6660c8['OFFLINE'],_0x34486a=_0x3a0dc8['t'](Ji(_0x520d24)),_0x49b0e6=_0x4bd8c1(G['onlineStatus'],{[G[_0x1c6493(0x2e2)]]:_0x519309,[G['offline']]:!_0x519309}),_0x58e4cf=_0x519309?_0xffaf82(Pt,{}):_0xffaf82(Mt,{}),_0xab515c=_0x2b5d0f(()=>{_0x519309||_0x26b2ff['reconnect']();},[_0x519309,_0x26b2ff]);function _0x55b766(){const _0x38d646=_0x1c6493;return _0x66e81a(_0x38d646(0x2a3),{'className':_0x4bd8c1(_0x49b0e6,'univer-flex\x20univer-items-center'),'onClick':_0xab515c,'children':[_0xffaf82(_0x38d646(0x2a3),{'className':G[_0x38d646(0x2d1)],'children':_0x58e4cf}),_0xffaf82('div',{'className':G[_0x38d646(0x304)],'children':_0x34486a})]});}return _0x519309?_0x55b766():_0xffaf82(_0x3905f4,{'title':_0x3a0dc8['t']('collab-client.tooltip.reconnect'),'children':_0x55b766()});}var Qi=Object[_0x233059(0x2c4)],qi=(_0x3dbc7c,_0x46b125,_0x75c66a,_0x4d27fd)=>{const _0x5b4db1=_0x233059;for(var _0x3394b0=_0x4d27fd>0x1?void 0x0:_0x4d27fd?Qi(_0x46b125,_0x75c66a):_0x46b125,_0x453c3f=_0x3dbc7c[_0x5b4db1(0x31d)]-0x1,_0x7fb0fd;_0x453c3f>=0x0;_0x453c3f--)(_0x7fb0fd=_0x3dbc7c[_0x453c3f])&&(_0x3394b0=_0x7fb0fd(_0x3394b0)||_0x3394b0);return _0x3394b0;},q=(_0x5ad2e5,_0x1c7e37)=>(_0x4f62ac,_0x30c34a)=>_0x1c7e37(_0x4f62ac,_0x30c34a,_0x5ad2e5);let se=class extends _0x31fe53{constructor(_0x5be055,_0x1bfb56,_0x108d93,_0x2e19de){const _0x5044af=_0x233059;super(),_(this,_0x5044af(0x2f5),new _0x5e9239(_0x6660c8[_0x5044af(0x270)])),(this[_0x5044af(0x278)]=_0x5be055,this[_0x5044af(0x1bb)]=_0x1bfb56,this[_0x5044af(0x1fd)]=_0x108d93,this[_0x5044af(0x267)]=_0x2e19de,this[_0x5044af(0x1ce)](),this[_0x5044af(0x2a2)]());}[_0x233059(0x2a2)](){const _0x2b1a47=_0x233059;this[_0x2b1a47(0x22d)](this[_0x2b1a47(0x278)][_0x2b1a47(0x23a)][_0x2b1a47(0x313)](_0x53feff(()=>{const _0x2647ae=_0x2b1a47,_0x327c59=this['_univerInstanceService'][_0x2647ae(0x24d)]();return _0x327c59?this['_collaborationController'][_0x2647ae(0x250)](_0x327c59[_0x2647ae(0x2ae)]()):_0x502f32(null);}),_0x53feff(_0x26bf4c=>_0x26bf4c?_0x26bf4c[_0x2b1a47(0x199)]:_0x502f32(_0x6660c8[_0x2b1a47(0x270)])))[_0x2b1a47(0x1d2)](_0x3d5ba8=>{const _0x180b0a=_0x2b1a47;this[_0x180b0a(0x2f5)][_0x180b0a(0x32e)](_0x3d5ba8);}));}[_0x233059(0x1ce)](){const _0x33563a=_0x233059;this['disposeWithMe'](this[_0x33563a(0x267)]['registerComponent'](_0x489e18['HEADER_MENU'],()=>_0x1534c9(en({'status$':this[_0x33563a(0x2f5)][_0x33563a(0x2a1)]()}),this[_0x33563a(0x1bb)])));}};se=qi([q(0x0,_0x43c917),q(0x1,_0x58958f(_0x17fcfa)),q(0x2,_0x58958f(_0x5ea498)),q(0x3,_0x1f9bfc)],se);function en(_0x234ebc){const {status$:_0x2e47dd}=_0x234ebc;return function(){return _0xffaf82(Zi,{'status$':_0x2e47dd});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0xc3a839,_0x296fd1,_0x3d3935,_0x4aaaa9)=>{const _0x323881=_0x233059;for(var _0x20c39f=_0x4aaaa9>0x1?void 0x0:_0x4aaaa9?tn(_0x296fd1,_0x3d3935):_0x296fd1,_0x3540da=_0xc3a839[_0x323881(0x31d)]-0x1,_0xe3a39a;_0x3540da>=0x0;_0x3540da--)(_0xe3a39a=_0xc3a839[_0x3540da])&&(_0x20c39f=_0xe3a39a(_0x20c39f)||_0x20c39f);return _0x20c39f;},B=(_0x327dc3,_0x3fede9)=>(_0x482ea4,_0x3a5678)=>_0x3fede9(_0x482ea4,_0x3a5678,_0x327dc3);let ie=class extends _0x31fe53{constructor(_0x503068,_0x46b370,_0x525ca2,_0x334723,_0x42c9bb,_0x490e20){const _0x14ac45=_0x233059;super(),this['_beforeCloseService']=_0x503068,this[_0x14ac45(0x24e)]=_0x46b370,this[_0x14ac45(0x235)]=_0x525ca2,this[_0x14ac45(0x1b2)]=_0x334723,this['_notificationService']=_0x42c9bb,this['_localeService']=_0x490e20,this[_0x14ac45(0x1f0)](),this[_0x14ac45(0x2bd)]();}['_setupBeforeClosingHandler'](){const _0x131e23=_0x233059;this[_0x131e23(0x22d)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31594e=_0x131e23;if(this[_0x31594e(0x24e)][_0x31594e(0x2f1)][_0x31594e(0x29c)])return this[_0x31594e(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x16c547=_0x233059;this[_0x16c547(0x22d)](this[_0x16c547(0x235)][_0x16c547(0x1e8)]['subscribe'](_0x48e5d6=>{const _0x393f3a=_0x16c547;_0x48e5d6['id']===_0x1c1feb['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x33a))}),_0x48e5d6['id']===_0x1c1feb['CLOSE_ROOM']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x36d))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x217)]&&this[_0x393f3a(0x271)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x241)),'type':_0x393f3a(0x1fe),'duration':0x0}),_0x48e5d6['id']===_0x1c1feb['CONFLICT']&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t']('collaboration.closeRoom')+'('+_0x48e5d6['data']+')'}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x22c)]&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x48e5d6[_0x393f3a(0x2d6)]||'')}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED_RETRY']&&this[_0x393f3a(0x1b2)]['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this['_localeService']['t'](_0x393f3a(0x307))}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x35f))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x28e)]&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x148777),B(0x1,_0x27dd80),B(0x2,_0x58958f(_0x301bfc)),B(0x3,_0x57af2e),B(0x4,_0x9f679f),B(0x5,_0x58958f(_0x3cf2c0))],ie);const nn=_0x233059(0x2e9),st={},wt=_0x52bbde('uni.network.url-service');function _0x4df5(){const _0x4205ac=['tag','fillText','black','6400602jqoSfZ','sessionTicket','JOIN_ROOM_FAILED','disposeWithMe','blue400','min','drawWith','_scheduleClearOtherTimer','sheetID','sessionStatus$','_docStateChangeManagerService','_collaborationUIEventService','_config','APPLY_REJECT','column','_httpService','focused$','runOnServer','send','setShapeProps','_name','font','PY_RUNTIME_SCRIPT_ERROR','permission.content','_color','doc.mutation.rich-text-editing','subunit','getUnitStatus$','storage','UNIVER_SHEET','_ensureSubject','transformStateCache','60358xbDrny','univer-online-status-icon','text','getFocusedUnit','_localCacheService','MUTATION','getCollabEntity$','unit','toString','InsertRowCommandId','cursorInfo$','svg','_disabled','syncEditingCollabCursor','UNDEFINED','transformSelections','onPointerMove$','_unitOnClients','_refRangeService','roomMembers$','UNRECOGNIZED','univer-online-status','getActiveRange','height','Warning','UPDATE_CURSOR','beginPath','_syncEditingCollabCursorService','arc','_uiPartsService','_toggleOffline','m2Prime','_collabCursorController','/run/','replace','mask','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','NOT_COLLAB','_notificationService','UNAUTHENTICATED','YUUMI_URL_COL_OUT_OF_RANGE','post','collab-text-anchor-','roomMembers','ranges','_univerInstanceService','_send','getConfig','getOffsetConfig','code','_textBubble','getVpScrollXYInfoByPosToVp','prototype','_updateSubUnitFromURLParams','transformMutation','_entityInit$','clipPath','cursorInfo','_id','ACTIVE_UNIT_EVENT_CHANNEL','getMember','InsertRangeMoveRightCommandId','docStateChange$','_handleLeaveEvent','deepClone','APPLY_PERMISSION_DENIED','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','_colorIndex','parse','popstate','range','assignAColorForMemberID','sheetId','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','transformByState','all','_cursor','executionId','getRangePointData','size','from','endRow','registerRenderModule','COMPLETION_FINISHED','asObservable','_initStatusListener','div','1em','dispose','saveImage','concat','_document','_imageIoService','replaceState','_heartbeatTimer','activeSheet$','_configService','getUnitId','3957180XIveQF','extend','history','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerEnter$','getOwnPropertySymbols','_hover','isActive','collabStatus.notCollab','show','_localeService','FETCH_MISS','skeleton','href','_initEvent','save','use','off-line-single','pushState','[CollaborationDataLoaderController]','url(#$1','getOwnPropertyDescriptor','ALREADY_EXISTS','2108585vvfxor','_logService','startRow','_roomMembers$','_range','forEach','red300','body','assign','_unitStatus','unsubscribe','onlineStatusIcon','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','type','function','data','_themeService','_drawAnchor','indexOf','unshift','with','OffLineSingle','EMAIL_HAS_BEEN_BOUND','setAlpha','RECT','SNAPSHOT_INVALID_SNAPSHOT','verdancy600','online','flatMap','_toggleOnline','NO_OTHER_CLIENTS_EDITING','_labelPosition','PENDING','_onCursorDelete','collaboration-client-ui.config','ONLINE','exhaustSavingTask','...','INVITE_CODE_REQUIRED','actions','current','unitID','saveTaskMap','_updateCollabCursors','Unknown\x20user','_anchorDot','_status$','gold400','setInterval','_selfUnitIDs','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','getSheetId','INVITE_CODE_ALREADY_BOUND','_session','_transformPreviousActiveRange','makeDirty','includes','_handleEvent','url(#on-line-single_clip0_910_349)','AWAITING_WITH_PENDING','onlineStatusTitle','_getSheetObject','_draw','session.will-retry','set','values','then','removeParam','on-line-single_clip0_910_349','RemoveRowCommandId','engine','restore','_transformService','_dataLoaderService','_collabCursorState$','pipe','complete','backgroundColor','univer-offline','getTypeOfUnitAdded$','searchParams','params','_initEntityListener','get','onCommandExecuted','length','fillRule','startsWith','_docSkeleton','UniverIcon','memberID','_docTransformStateCacheService','getParam','_saveTaskMap','editingUnit','_startDocCollabCursor','APPLY_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','#FFF','mutations','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','currentColor','next','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','children','getItem','result','_collabSessionService','toRgbString','resize','collabStatus.fetchMiss','collaboration.single-unit.warning','_getScale','colorChannel1','collab-text-range-','urlChange$','_cachedData','setParam','_onCursorUpdate','collabStatus.synced','_handleHover','has','USERS_LEAVE','InsertRangeMoveDownCommandId','1589504fMMedx','dispose$','LOGIN_FAILED','_docSkeletonManagerService','executeCommand','getCellPositionByOffset','OTHER_CLIENTS_EDITING','_transformUndoRedoStack','0\x200\x2017\x2016','_hideTimer','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','path','runId','TOO_MANY_REQUESTS','registerRefRange','CONNECTOR_DATA_TOO_LARGE','SYNCED','ticket','findNodePositionByCharIndex','selection','FromArray','isEditing','_docClipboardService','UNIVER_DOC','session.connection-failed','_docTransformIMECacheService','displayName','measureText','wsSessionTicketUrl','loadUnit','getDocRanges','unitId','_createSocketURL','m1Prime','fill','AWAITING','_cursorShapes','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','_startSheetCollabCursor','apply','textRanges','disposeUnit','_eventUnsubscribe','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','CONFLICT','_scene','_revisionService','call','endColumn','getAncestorScale','_updateLocalCursor','init','_assignedColors','onPointerLeave$','M0\x200H16V16H0z','newValue','_commandService','transformMutationsWithChangeset','generateRandomId','345591HLhEgm','undoState','_saveCache','_drawRectRange','key','status$','MoveRangeCommandId','clearTimeout','16SElJQh','defineProperty','getRenderById','invokeId','_entities','_initDependencies','top','_handleJoinEvent','_initResize','currentTheme$','onRendered','setItem','transformRemoteChangeset','hide','push','createInstance','contains','collab-rect-range-','_getSaveTimeout','max','getSkeleton','getValue','_messageService','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_removeClearOtherTimer','lineTo','_docTransformSelectionsService','getRelativeToViewportCoord','_scheduleHeartbeat','getUndoRedoMutationParamsCache','_injector','labelPosition','setTimeout','width','_hovered','_removeCollabCursors','string','row','map','search','transform','entries','_lastPointer','source','INVALID_INVITE_CODE','_getSessionTicket','addEventListener','_anchor','_context','_initStatusComponent','OnLineSingle','_colorAssignService','INTERNAL_ERROR','subscribe','getMemberID','xlink:href','NOT_FOUND','idSuffix','some','_renderManagerService','0\x200\x2016\x2016','find','getCurrentUnitForType','bottom','disableLocalCache','_urlService','color','_sheetSkeletonManagerService','subUnitId','_registerDependencies','_instanceService','setUndoRedoMutationParamsCache','isArray','_init','split','event$','origin','RemoveColCommandId','univerjs-icon\x20univerjs-icon-','purple300','debug','_initCommandExecutedListener','unload','_setupBeforeClosingHandler','attrs','_localStorageService','MOBILE_HAS_BEEN_BOUND','3746034RyIrsF','round','Error','collabStatus.offline','_updateURLWithCurrentState','add','name','addObjects','setStateCache','_collaborationController','error','getStateCache','_getMergeRange','defIds','location','subscribeEvent','defs','_cursors','_render','_clearOtherTimers','eventID','transformIMECache','onLocalMutation','_cursorInfo$','_onRefRangeChange','_refreshCollabCursors','pluginName','addClipboardHook','_docSyncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','37vuLLNB','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','random','createSocket','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','icon','_online','addObject','_scheduleSaving','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','_backgroundColor','clearInterval','none','_setupSubUnitSync','delete','_shapes','currentSkeleton$'];_0x4df5=function(){return _0x4205ac;};return _0x4df5();}var rn=Object[_0x233059(0x2c4)],on=(_0x3d952f,_0x47eed3,_0x6c07e0,_0x4e8f7f)=>{for(var _0x4ee4af=_0x4e8f7f>0x1?void 0x0:_0x4e8f7f?rn(_0x47eed3,_0x6c07e0):_0x47eed3,_0x4ab2bb=_0x3d952f['length']-0x1,_0x52f395;_0x4ab2bb>=0x0;_0x4ab2bb--)(_0x52f395=_0x3d952f[_0x4ab2bb])&&(_0x4ee4af=_0x52f395(_0x4ee4af)||_0x4ee4af);return _0x4ee4af;},K=(_0x4318fb,_0x53ce4b)=>(_0x3b68a2,_0x5a2a2e)=>_0x53ce4b(_0x3b68a2,_0x5a2a2e,_0x4318fb);let ne=class extends _0x1fee6d{constructor(_0x2342c4,_0x38fe7d,_0x39a74f,_0x275189,_0x34f8d3){const _0x169ba6=_0x233059;super(),this[_0x169ba6(0x1de)]=_0x2342c4,this[_0x169ba6(0x2c7)]=_0x38fe7d,this[_0x169ba6(0x191)]=_0x39a74f,this['_dataLoaderService']=_0x275189,_0x34f8d3?_0x34f8d3==null||_0x34f8d3[_0x169ba6(0x331)]()['then'](()=>this[_0x169ba6(0x1e6)]()):(this[_0x169ba6(0x2c7)][_0x169ba6(0x1ed)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x169ba6(0x1e6)]());}async[_0x233059(0x1e6)](){const _0x3960b0=_0x233059,_0x48bf9b=this[_0x3960b0(0x1de)][_0x3960b0(0x324)](_0x3960b0(0x251)),_0x542cd3=this['_urlService']['getParam']('type'),_0x383438=this['_urlService']['getParam'](_0x3960b0(0x244));if(!_0x48bf9b||!_0x542cd3){this[_0x3960b0(0x2c7)][_0x3960b0(0x1ed)](_0x3960b0(0x2c2),_0x3960b0(0x214));return;}const _0x530be6=await this[_0x3960b0(0x311)][_0x3960b0(0x364)](_0x48bf9b,Number(_0x542cd3),_0x383438);_0x530be6&&_0x530be6 instanceof _0x2e15f2&&this[_0x3960b0(0x223)](_0x530be6);}async['_setupSubUnitSync'](_0x435015){const _0x2a824a=_0x233059;await this[_0x2a824a(0x280)](_0x435015),_0x435015[_0x2a824a(0x2ac)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](_0x1b9fc4=>{_0x1b9fc4&&this['_updateURLWithCurrentState'](_0x1b9fc4);}),this[_0x2a824a(0x1de)][_0x2a824a(0x33e)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](()=>this[_0x2a824a(0x280)](_0x435015));}[_0x233059(0x1f8)](_0xdc46ff,_0xf9d605=!0x1){const _0x596adf=_0x233059,_0x271dc3=this[_0x596adf(0x1de)][_0x596adf(0x324)](_0x596adf(0x244));_0xdc46ff[_0x596adf(0x2fb)]()!==_0x271dc3&&this[_0x596adf(0x1de)]['setParam']('subunit',_0xdc46ff[_0x596adf(0x2fb)](),_0xf9d605);}async[_0x233059(0x280)](_0x2fc454){const _0x4d49b6=_0x233059;var _0x1469fc;const _0x4f2d11=this[_0x4d49b6(0x1de)][_0x4d49b6(0x324)](_0x4d49b6(0x244));if(!_0x4f2d11||!_0x2fc454[_0x4d49b6(0x296)](_0x4f2d11)){const _0x3548b4=_0x2fc454['getUnhiddenWorksheets']()[0x0],_0x1f6898=_0x2fc454[_0x4d49b6(0x296)](_0x3548b4);if(!_0x1f6898)return;this[_0x4d49b6(0x1f8)](_0x1f6898,!0x0),await this[_0x4d49b6(0x191)][_0x4d49b6(0x34b)](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x3548b4});return;}((_0x1469fc=_0x2fc454['getActiveSheet']())==null?void 0x0:_0x1469fc[_0x4d49b6(0x2fb)]())!==_0x4f2d11&&await this[_0x4d49b6(0x191)]['executeCommand'](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x4f2d11});}};ne=on([K(0x0,wt),K(0x1,_0x430dc1),K(0x2,_0x4bcb08),K(0x3,_0x58958f(_0x2c37bb)),K(0x4,_0xef147d(_0x135543))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f32c0,_0x397f48,_0x3d4a25,_0x356bc6)=>{const _0x20381d=_0x233059;for(var _0x5aa74a=_0x356bc6>0x1?void 0x0:_0x356bc6?an(_0x397f48,_0x3d4a25):_0x397f48,_0x58ed48=_0x4f32c0[_0x20381d(0x31d)]-0x1,_0x23b409;_0x58ed48>=0x0;_0x58ed48--)(_0x23b409=_0x4f32c0[_0x58ed48])&&(_0x5aa74a=_0x23b409(_0x5aa74a)||_0x5aa74a);return _0x5aa74a;},Ce=(_0x481b94,_0x521e96)=>(_0x29b152,_0x3ffd56)=>_0x521e96(_0x29b152,_0x3ffd56,_0x481b94);let re=class{constructor(_0x307b40,_0x1739f0,_0x2fb93c){const _0x29751c=_0x233059;this[_0x29751c(0x1bb)]=_0x307b40,this[_0x29751c(0x310)]=_0x1739f0,this['_renderManagerService']=_0x2fb93c;}[_0x233059(0x209)](_0x580654){const _0x24377c=_0x233059;this[_0x24377c(0x34e)](_0x580654),this[_0x24377c(0x2fe)](_0x580654);}[_0x233059(0x1a8)](_0x24024e){const _0x995d05=_0x233059,{unitID:_0x267e9a}=_0x24024e,_0x475aad=this['_renderManagerService'][_0x995d05(0x19e)](_0x267e9a)[_0x995d05(0x2db)](_0x5bf960),{redoCache:_0x1277b2}=_0x475aad[_0x995d05(0x1ba)]();if(_0x1277b2[_0x995d05(0x31d)]===0x0)return _0x24024e;let _0x50dc47=_0xa39a85[_0x995d05(0x28b)](_0x24024e['mutations'][0x0]);for(let _0x3d25e9=0x0;_0x3d25e9<_0x1277b2[_0x995d05(0x31d)];_0x3d25e9++){const _0x35f3fe={'id':'doc.mutation.rich-text-editing','params':{..._0x1277b2[_0x3d25e9]}},_0x1d18e5=this[_0x995d05(0x310)]['transformMutation'](_0x50dc47,_0x35f3fe,!0x1);if(_0x3da689(_0x1d18e5))throw _0x1d18e5[_0x995d05(0x1fe)];_0x50dc47=_0x1d18e5[_0x995d05(0x368)];}return{..._0xa39a85[_0x995d05(0x28b)](_0x24024e),'mutations':[_0x50dc47]};}[_0x233059(0x34e)](_0x267124){const _0x2d0f78=_0x233059,{unitID:_0x5e4bfa}=_0x267124,_0x3caeb9=this['_renderManagerService'][_0x2d0f78(0x19e)](_0x5e4bfa)['with'](_0x5bf960),{undoCache:_0x176458,redoCache:_0x18b78b}=_0x3caeb9['getUndoRedoMutationParamsCache']();if(_0x176458['length']===0x0||_0x18b78b[_0x2d0f78(0x31d)]===0x0)return;const _0x3deb21=[],_0x27b524=[];let _0x40039d=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]),_0x2044ac=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]);for(let _0xb60a1=_0x176458[_0x2d0f78(0x31d)]-0x1;_0xb60a1>=0x0;_0xb60a1--){const _0x395bd9={'id':_0x2d0f78(0x243),'params':{..._0x176458[_0xb60a1]}},_0x5edce9={'id':_0x2d0f78(0x243),'params':{..._0x18b78b[_0xb60a1]}},_0x5be897=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x40039d,_0x395bd9,!0x1),_0x4ecde7=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x2044ac,_0x5edce9,!0x1);if(_0x3da689(_0x5be897))throw _0x5be897[_0x2d0f78(0x1fe)];if(_0x3da689(_0x4ecde7))throw _0x4ecde7[_0x2d0f78(0x1fe)];_0x3deb21[_0x2d0f78(0x2da)](_0x5be897[_0x2d0f78(0x269)]['params']),_0x27b524[_0x2d0f78(0x2da)](_0x4ecde7[_0x2d0f78(0x269)][_0x2d0f78(0x319)]),_0x40039d=_0x5be897[_0x2d0f78(0x368)],_0x2044ac=_0x4ecde7[_0x2d0f78(0x368)];}_0x3caeb9[_0x2d0f78(0x1e4)]({'undoCache':_0x3deb21,'redoCache':_0x27b524});}[_0x233059(0x2fe)](_0x14aa83){const _0x41e574=_0x233059,{unitID:_0x417b2f}=_0x14aa83,_0x23a035=this[_0x41e574(0x1d8)][_0x41e574(0x19e)](_0x417b2f)['with'](_0x5bf960),_0x218efc=_0x23a035[_0x41e574(0x260)]();if(_0x218efc==null)return;const _0x45b59f=[{'id':_0x41e574(0x243),'params':{'unitId':_0x14aa83[_0x41e574(0x2f0)],'actions':null,'textRanges':[_0x218efc]}}],_0x523a02=this['_transformService'][_0x41e574(0x192)](_0x14aa83,_0x45b59f);if(!_0x281c58(_0x523a02))throw _0x523a02[_0x41e574(0x1fe)];const _0x204ffa=_0x523a02['m2Prime'][0x0][_0x41e574(0x319)][_0x41e574(0x370)];Array[_0x41e574(0x1e5)](_0x204ffa)&&_0x204ffa[_0x41e574(0x31d)]&&_0x23a035['setActiveRange'](_0x204ffa[0x0]);}};re=cn([Ce(0x0,_0x58958f(_0x17fcfa)),Ce(0x1,_0x180467),Ce(0x2,_0x44367d)],re);var ln=Object[_0x233059(0x2c4)],_n=(_0x3995c0,_0x4768d6,_0x1453ca,_0x53064)=>{const _0x13bc3c=_0x233059;for(var _0x54d9dd=_0x53064>0x1?void 0x0:_0x53064?ln(_0x4768d6,_0x1453ca):_0x4768d6,_0x188fb3=_0x3995c0[_0x13bc3c(0x31d)]-0x1,_0x5c9d68;_0x188fb3>=0x0;_0x188fb3--)(_0x5c9d68=_0x3995c0[_0x188fb3])&&(_0x54d9dd=_0x5c9d68(_0x54d9dd)||_0x54d9dd);return _0x54d9dd;},Ee=(_0x3c0573,_0x11c375)=>(_0x28231e,_0x19025e)=>_0x11c375(_0x28231e,_0x19025e,_0x3c0573);let oe=class{constructor(_0x454bb0,_0x53f765,_0x7bfc2e){const _0x585a22=_0x233059;this[_0x585a22(0x1bb)]=_0x454bb0,this['_transformService']=_0x53f765,this['_docStateChangeManagerService']=_0x7bfc2e;}['transformStateCache'](_0x3806de){this['_transformHistoryAndStateStack'](_0x3806de);}[_0x233059(0x1a8)](_0x1e8281){const _0x6dc341=_0x233059,{unitID:_0x460fb0}=_0x1e8281,{collaboration:_0x114156}=this['_docStateChangeManagerService'][_0x6dc341(0x1ff)](_0x460fb0);if(_0x114156[_0x6dc341(0x31d)]===0x0)return _0x1e8281;let _0x5d3957=_0xa39a85['deepClone'](_0x1e8281['mutations'][0x0]);for(let _0x2c6df0=0x0;_0x2c6df0<_0x114156[_0x6dc341(0x31d)];_0x2c6df0++){const _0x4c4939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x114156[_0x2c6df0]['unitId'],..._0x114156[_0x2c6df0][_0x6dc341(0x21f)]}},_0xd39cfd=this[_0x6dc341(0x310)][_0x6dc341(0x281)](_0x5d3957,_0x4c4939,!0x1);if(_0x3da689(_0xd39cfd))throw _0xd39cfd[_0x6dc341(0x1fe)];_0x5d3957=_0xd39cfd[_0x6dc341(0x368)];}return{..._0xa39a85[_0x6dc341(0x28b)](_0x1e8281),'mutations':[_0x5d3957]};}['_transformHistoryAndStateStack'](_0x48e810){const _0x2892cb=_0x233059,{unitID:_0x56f773}=_0x48e810,{history:_0x370052,collaboration:_0x443bc7}=this[_0x2892cb(0x234)][_0x2892cb(0x1ff)](_0x56f773);if(_0x370052[_0x2892cb(0x31d)]===0x0&&_0x443bc7['length']===0x0)return;const _0xad2299=[],_0x4e2e73=[];let _0x21ddff=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85[_0x2892cb(0x28b)](_0x48e810[_0x2892cb(0x32b)][0x0]);for(let _0x3e220f=_0x370052[_0x2892cb(0x31d)]-0x1;_0x3e220f>=0x0;_0x3e220f--){const _0x322eaf={'id':_0x2892cb(0x243),'params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f]['undoState']}},_0x5a757a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f][_0x2892cb(0x21f)]}},_0x37bb25=this[_0x2892cb(0x310)]['transformMutation'](_0x21ddff,_0x322eaf,!0x1),_0xc53812=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5a757a,!0x1);if(_0x3da689(_0x37bb25))throw _0x37bb25['error'];if(_0x3da689(_0xc53812))throw _0xc53812[_0x2892cb(0x1fe)];_0xad2299['unshift']({..._0x370052[_0x3e220f],'undoState':_0x37bb25[_0x2892cb(0x269)][_0x2892cb(0x319)],'redoState':_0xc53812['m2Prime'][_0x2892cb(0x319)]}),_0x21ddff=_0x37bb25[_0x2892cb(0x368)],_0xde9a2e=_0xc53812[_0x2892cb(0x368)];}_0x21ddff=_0xa39a85[_0x2892cb(0x28b)](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]);for(let _0x111e5c=_0x443bc7[_0x2892cb(0x31d)]-0x1;_0x111e5c>=0x0;_0x111e5c--){const _0x2f1b23={'id':_0x2892cb(0x243),'params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c][_0x2892cb(0x195)]}},_0x5e7101={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c]['redoState']}},_0x4fd96e=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0x21ddff,_0x2f1b23,!0x1),_0x58e570=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5e7101,!0x1);if(_0x3da689(_0x4fd96e))throw _0x4fd96e['error'];if(_0x3da689(_0x58e570))throw _0x58e570['error'];_0x4e2e73[_0x2892cb(0x2da)]({..._0x443bc7[_0x111e5c],'undoState':_0x4fd96e[_0x2892cb(0x269)]['params'],'redoState':_0x58e570[_0x2892cb(0x269)][_0x2892cb(0x319)]}),_0x21ddff=_0x4fd96e['m1Prime'],_0xde9a2e=_0x58e570[_0x2892cb(0x368)];}this['_docStateChangeManagerService'][_0x2892cb(0x1fc)](_0x56f773,{'history':_0xad2299,'collaboration':_0x4e2e73});}};oe=_n([Ee(0x0,_0x58958f(_0x17fcfa)),Ee(0x1,_0x180467),Ee(0x2,_0x58958f(_0x49d8ab))],oe);var hn=Object[_0x233059(0x2c4)],un=(_0x849ef8,_0x292414,_0x33b10d,_0x8001dc)=>{for(var _0x1999a2=_0x8001dc>0x1?void 0x0:_0x8001dc?hn(_0x292414,_0x33b10d):_0x292414,_0x41fe5a=_0x849ef8['length']-0x1,_0x1be13c;_0x41fe5a>=0x0;_0x41fe5a--)(_0x1be13c=_0x849ef8[_0x41fe5a])&&(_0x1999a2=_0x1be13c(_0x1999a2)||_0x1999a2);return _0x1999a2;},it=(_0xf81ab5,_0x20dc9b)=>(_0x7d90e5,_0x59c7a1)=>_0x20dc9b(_0x7d90e5,_0x59c7a1,_0xf81ab5);let ae=class{constructor(_0x3366ee,_0x4ee252){const _0x334699=_0x233059;this[_0x334699(0x1bb)]=_0x3366ee,this[_0x334699(0x310)]=_0x4ee252;}['transformSelections'](_0x3c6ff6){const _0x569f4e=_0x233059;var _0x5bb338;const _0x202118=this[_0x569f4e(0x1bb)][_0x569f4e(0x31b)](_0x8cb75b),_0x49b4f1=(_0x5bb338=_0x202118['getDocRanges']())!=null?_0x5bb338:[];if(_0x49b4f1['length']===0x0)return;const _0x10462e=_0x3c6ff6[_0x569f4e(0x2f0)],_0x20a579=[{'id':_0x569f4e(0x243),'params':{'unitId':_0x10462e,'actions':null,'textRanges':_0x49b4f1}}],_0x2578be=this[_0x569f4e(0x310)][_0x569f4e(0x192)](_0x3c6ff6,_0x20a579);if(!_0x281c58(_0x2578be))throw _0x2578be[_0x569f4e(0x1fe)];const _0x1af70d=_0x2578be[_0x569f4e(0x269)][0x0][_0x569f4e(0x319)][_0x569f4e(0x370)];Array['isArray'](_0x1af70d)&&_0x1af70d['length']&&_0x202118['replaceDocRanges'](_0x1af70d,{'unitId':_0x10462e,'subUnitId':_0x10462e},!0x1);}};ae=un([it(0x0,_0x58958f(_0x17fcfa)),it(0x1,_0x180467)],ae);var dn=Object[_0x233059(0x2c4)],fn=(_0x5664bc,_0x404b41,_0x34ca70,_0x2fa8ad)=>{for(var _0x38c3fa=_0x2fa8ad>0x1?void 0x0:_0x2fa8ad?dn(_0x404b41,_0x34ca70):_0x404b41,_0x56d002=_0x5664bc['length']-0x1,_0x3d7f64;_0x56d002>=0x0;_0x56d002--)(_0x3d7f64=_0x5664bc[_0x56d002])&&(_0x38c3fa=_0x3d7f64(_0x38c3fa)||_0x38c3fa);return _0x38c3fa;},M=(_0x3d338b,_0x556cdb)=>(_0x5d8097,_0x51f3fe)=>_0x556cdb(_0x5d8097,_0x51f3fe,_0x3d338b);let ce=class extends _0x31fe53{constructor(_0x33ac0f,_0x251fd5,_0x50dda7,_0x461eb6,_0x5f0e3e,_0x2d4a52,_0x146bac,_0x1144ce){const _0x25b3f1=_0x233059;super(),_(this,_0x25b3f1(0x2f5),new _0x5e9239(_0x6660c8['NOT_COLLAB'])),(this[_0x25b3f1(0x234)]=_0x33ac0f,this[_0x25b3f1(0x1fd)]=_0x251fd5,this['_docTransformIMECacheService']=_0x50dda7,this[_0x25b3f1(0x323)]=_0x461eb6,this[_0x25b3f1(0x1b7)]=_0x5f0e3e,this[_0x25b3f1(0x210)]=_0x2d4a52,this[_0x25b3f1(0x1b2)]=_0x146bac,this[_0x25b3f1(0x2b9)]=_0x1144ce,this[_0x25b3f1(0x31a)]());}[_0x233059(0x31a)](){const _0x2dbbdd=_0x233059;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2dbbdd(0x1d2)](_0x3fe079=>{const _0x31234e=_0x2dbbdd,_0x2f1b18=this[_0x31234e(0x234)][_0x31234e(0x289)][_0x31234e(0x1d2)](_0xe35ef5=>{const _0x5757be=_0x31234e;if(_0xe35ef5==null)return;const {unitId:_0xbf3b9a,redoState:_0x2676d7,commandId:_0x19b25a}=_0xe35ef5;if(_0xbf3b9a!==_0x3fe079[_0x5757be(0x2f0)])return;const _0x3e40c6={'id':_0x19b25a,'type':_0x1d92a9[_0x5757be(0x24f)],'params':{'unitId':_0xbf3b9a,'actions':_0x2676d7[_0x5757be(0x2ee)],'textRanges':null}};_0x3fe079[_0x5757be(0x20a)](_0x3e40c6);});if(_0x3fe079[_0x31234e(0x22d)](_0x2f1b18),_0x3fe079 instanceof _0x413438){const _0x13f82c={'onTransformIME':_0x179fe9=>this[_0x31234e(0x360)]['transformIMECache'](_0x179fe9),'onTransformState':_0x5cb67a=>this[_0x31234e(0x323)][_0x31234e(0x249)](_0x5cb67a),'onTransformSelections':_0xb57c8=>this['_docTransformSelectionsService'][_0x31234e(0x259)](_0xb57c8),'onSyncEditingCollabCursor':_0x968a85=>this[_0x31234e(0x210)][_0x31234e(0x257)](_0x968a85),'onTransformRemoteChangesetByIMECache':_0x49f12f=>this['_docTransformIMECacheService'][_0x31234e(0x1a8)](_0x49f12f),'onTransformRemoteChangesetByStateCache':_0x12fc7c=>this['_docTransformStateCacheService'][_0x31234e(0x1a8)](_0x12fc7c)};_0x3fe079['addHandlerCallback'](_0x13f82c);}}));}};ce=fn([M(0x0,_0x58958f(_0x49d8ab)),M(0x1,_0x58958f(_0x5ea498)),M(0x2,_0x58958f(re)),M(0x3,_0x58958f(oe)),M(0x4,_0x58958f(ae)),M(0x5,_0x58958f(je)),M(0x6,_0x57af2e),M(0x7,_0x58958f(_0x3cf2c0))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2a1845,_0x599ddb,_0x48f51d,_0x304168)=>{const _0x49c15a=_0x233059;for(var _0x1192c3=_0x304168>0x1?void 0x0:_0x304168?Sn(_0x599ddb,_0x48f51d):_0x599ddb,_0x49b492=_0x2a1845[_0x49c15a(0x31d)]-0x1,_0x37e2ee;_0x49b492>=0x0;_0x49b492--)(_0x37e2ee=_0x2a1845[_0x49b492])&&(_0x1192c3=_0x37e2ee(_0x1192c3)||_0x1192c3);return _0x1192c3;},be=(_0x2c6376,_0xff19a3)=>(_0x4b272b,_0x3541c2)=>_0xff19a3(_0x4b272b,_0x3541c2,_0x2c6376);let Ae=class extends _0x31fe53{constructor(_0x607b27,_0x16c74d,_0x538de0){const _0x5cc8ed=_0x233059;super(),_(this,_0x5cc8ed(0x33f),new Map()),_(this,_0x5cc8ed(0x325),new Map()),_(this,_0x5cc8ed(0x256),!0x1),(this[_0x5cc8ed(0x2ad)]=_0x607b27,this['_localStorageService']=_0x16c74d,this[_0x5cc8ed(0x187)]=_0x538de0);}[_0x233059(0x1dd)](){const _0x2441ef=_0x233059;this[_0x2441ef(0x256)]=!0x0;}['enableLocalCache'](){const _0x5a4438=_0x233059;this[_0x5a4438(0x256)]=!0x1;}get[_0x233059(0x2f1)](){const _0x4e1e6e=_0x233059;return this[_0x4e1e6e(0x325)];}[_0x233059(0x2a5)](){const _0x2924d8=_0x233059;this[_0x2924d8(0x2eb)]()[_0x2924d8(0x30a)](()=>super[_0x2924d8(0x2a5)]());}async['loadOfflineData'](_0x1e2fae){const _0x48f098=_0x233059;return this[_0x48f098(0x256)]?null:this[_0x48f098(0x1f2)][_0x48f098(0x334)](_0xa1d69a(_0x1e2fae));}async['saveOfflineData'](_0x5ce378,_0x56f4e8){const _0x1c5e2b=_0x233059;return!!this['_localStorageService'][_0x1c5e2b(0x1a7)](_0x5ce378,_0x56f4e8);}['updateOfflineData'](_0x2652eb,_0x13caba,_0x176668,_0x5a891){const _0x524f07=_0x233059,_0x916a45=this['_revisionService']['getCurrentRevOfUnit'](_0x2652eb);this['_cachedData'][_0x524f07(0x308)](_0x2652eb,{'unitID':_0x2652eb,'type':_0x13caba,'awaitingChangeset':_0x176668,'mutations':_0x5a891,'rev':_0x916a45}),this[_0x524f07(0x325)][_0x524f07(0x344)](_0x2652eb)||this[_0x524f07(0x21c)](_0x2652eb);}['_scheduleSaving'](_0x16c7fd){const _0x357e39=_0x233059,_0x2fc941=this[_0x357e39(0x1ae)]();_0x2fc941===0x0?this[_0x357e39(0x196)](_0x16c7fd):this[_0x357e39(0x325)][_0x357e39(0x308)](_0x16c7fd,setTimeout(()=>this[_0x357e39(0x196)](_0x16c7fd),_0x2fc941));}['_getSaveTimeout'](){const _0x1bdacf=_0x233059;var _0x1ec5ed;return(_0x1ec5ed=this[_0x1bdacf(0x2ad)][_0x1bdacf(0x27a)](_0x4aca84))!=null?_0x1ec5ed:_0x5e91f1;}[_0x233059(0x196)](_0x1bfb88){const _0x4240cf=_0x233059,_0x464bdd=this[_0x4240cf(0x325)][_0x4240cf(0x31b)](_0x1bfb88);return _0x464bdd!==void 0x0&&window[_0x4240cf(0x19b)](_0x464bdd),this[_0x4240cf(0x1f2)]['setItem'](_0xa1d69a(_0x1bfb88),this[_0x4240cf(0x33f)][_0x4240cf(0x31b)](_0x1bfb88))[_0x4240cf(0x30a)](()=>this[_0x4240cf(0x325)][_0x4240cf(0x224)](_0x1bfb88));}async['exhaustSavingTask'](){const _0x5545f4=_0x233059,_0x349a40=[];this[_0x5545f4(0x325)][_0x5545f4(0x2cb)]((_0x228085,_0x57e4fa)=>{const _0x549e80=_0x5545f4;window['clearTimeout'](_0x228085),_0x349a40[_0x549e80(0x1aa)](this[_0x549e80(0x196)](_0x57e4fa)[_0x549e80(0x30a)](()=>{const _0x4ef845=_0x549e80;this['_saveTaskMap'][_0x4ef845(0x224)](_0x57e4fa);}));}),await Promise[_0x5545f4(0x298)](_0x349a40);}};Ae=mn([be(0x0,_0x3941f1),be(0x1,_0x4eb88a),be(0x2,_0x58958f(_0x300924))],Ae);class gn extends _0x1fee6d{constructor(){const _0x2d1f8a=_0x233059;super(),_(this,'urlChange$'),this[_0x2d1f8a(0x33e)]=_0x3f43ac(window,_0x2d1f8a(0x291))[_0x2d1f8a(0x313)](_0x1cf044(this[_0x2d1f8a(0x348)]),_0x35fe69(0x1),_0x1da391(void 0x0));}[_0x233059(0x340)](_0x3722f3,_0x1c2f06,_0x14760c=!0x1){const _0x44c6f8=_0x233059,_0x2375ab=new URL(window['location'][_0x44c6f8(0x2bc)]);_0x2375ab[_0x44c6f8(0x318)][_0x44c6f8(0x308)](_0x3722f3,_0x1c2f06),_0x14760c?window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2aa)]('','',_0x2375ab[_0x44c6f8(0x252)]()):window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2c1)]('','',_0x2375ab['toString']());}[_0x233059(0x30b)](_0x433f6e,_0x4f93e0=!0x1){const _0x1388e5=_0x233059,_0x199d54=new URL(window[_0x1388e5(0x202)][_0x1388e5(0x2bc)]);_0x199d54[_0x1388e5(0x318)][_0x1388e5(0x224)](_0x433f6e),_0x4f93e0?window[_0x1388e5(0x2b1)][_0x1388e5(0x2aa)]('','',_0x199d54[_0x1388e5(0x252)]()):window[_0x1388e5(0x2b1)][_0x1388e5(0x2c1)]('','',_0x199d54['toString']());}[_0x233059(0x324)](_0x57ad0b){const _0x24efb8=_0x233059;var _0x3d172e;return(_0x3d172e=new URL(window[_0x24efb8(0x202)][_0x24efb8(0x2bc)])[_0x24efb8(0x318)][_0x24efb8(0x31b)](_0x57ad0b))!=null?_0x3d172e:void 0x0;}}var vn=Object[_0x233059(0x19d)],In=Object[_0x233059(0x2c4)],pn=(_0x1cf723,_0x29329b,_0xbdf5c1)=>_0x29329b in _0x1cf723?vn(_0x1cf723,_0x29329b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdf5c1}):_0x1cf723[_0x29329b]=_0xbdf5c1,Cn=(_0x428bcb,_0x413fb5,_0x371404,_0x2ada60)=>{const _0x241a2b=_0x233059;for(var _0x25037d=_0x2ada60>0x1?void 0x0:_0x2ada60?In(_0x413fb5,_0x371404):_0x413fb5,_0x44ff46=_0x428bcb[_0x241a2b(0x31d)]-0x1,_0x1a72ab;_0x44ff46>=0x0;_0x44ff46--)(_0x1a72ab=_0x428bcb[_0x44ff46])&&(_0x25037d=_0x1a72ab(_0x25037d)||_0x25037d);return _0x25037d;},Oe=(_0xb675ee,_0x46d063)=>(_0x285fb4,_0xd49d37)=>_0x46d063(_0x285fb4,_0xd49d37,_0xb675ee),En=(_0x53fb22,_0x299fd9,_0x23a43a)=>pn(_0x53fb22,_0x299fd9+'',_0x23a43a);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x327775{constructor(_0x2809aa=st,_0x4ea76a,_0x163d8c,_0x526f4c){const _0x20220a=_0x233059;super(),this['_config']=_0x2809aa,this[_0x20220a(0x1d8)]=_0x4ea76a,this[_0x20220a(0x1bb)]=_0x163d8c,this[_0x20220a(0x2ad)]=_0x526f4c;const {..._0x5c83a8}=_0xd06a7e({},st,this[_0x20220a(0x236)]);this[_0x20220a(0x2ad)]['setConfig'](nn,_0x5c83a8);}['onStarting'](){const _0x7c6174=_0x233059;this[_0x7c6174(0x1e2)](),this[_0x7c6174(0x1a1)]();}[_0x233059(0x1a6)](){const _0x12e1c4=_0x233059;this[_0x12e1c4(0x1b3)]();}['_registerDependencies'](){const _0x29eca1=_0x233059;var _0x2dbf1b;const _0x4434c9=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x335f8f,{'useClass':_0x5d58bc}],[_0x27dd80,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x47116d(this[_0x29eca1(0x1bb)],_0xe0e22(_0x4434c9,(_0x2dbf1b=this[_0x29eca1(0x236)])==null?void 0x0:_0x2dbf1b['override']));}['_registerRenderDependencies'](){const _0x2b9756=_0x233059;this[_0x2b9756(0x22d)](this['_renderManagerService'][_0x2b9756(0x29f)](_0x7df75b['UNIVER_DOC'],[Ue])),this[_0x2b9756(0x22d)](this[_0x2b9756(0x1d8)]['registerRenderModule'](_0x7df75b[_0x2b9756(0x247)],[Le]));}[_0x233059(0x1a1)](){const _0x1c14a5=_0x233059;_0x2806ec(this[_0x1c14a5(0x1bb)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x233059(0x20e),bn),ye=Cn([_0x46dea2(_0x121252),Oe(0x1,_0x44367d),Oe(0x2,_0x58958f(_0x17fcfa)),Oe(0x3,_0x3941f1)],ye);var On=Object[_0x233059(0x2c4)],Tn=(_0x372f0e,_0x38f27b,_0x5ae943,_0x43f992)=>{for(var _0x29422f=_0x43f992>0x1?void 0x0:_0x43f992?On(_0x38f27b,_0x5ae943):_0x38f27b,_0x4713d2=_0x372f0e['length']-0x1,_0x35b818;_0x4713d2>=0x0;_0x4713d2--)(_0x35b818=_0x372f0e[_0x4713d2])&&(_0x29422f=_0x35b818(_0x29422f)||_0x29422f);return _0x29422f;},z=(_0x3ae501,_0x4a7f99)=>(_0xa1e0e9,_0x517c99)=>_0x4a7f99(_0xa1e0e9,_0x517c99,_0x3ae501);let nt=class extends _0x24d6c5{constructor(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea){super(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea);}async[_0x233059(0x216)](_0x54de8a){const _0x4dff16=_0x233059,_0x36ac60=await this[_0x4dff16(0x1ca)](),_0x205de5=this[_0x4dff16(0x367)](_0x54de8a,_0x36ac60);return this['_doCreateSocket'](_0x205de5);}[_0x233059(0x367)](_0x2c83c5,_0x574004){const _0xbf493e=_0x233059,_0x4f42a9=typeof window>'u'?new URL(_0x2c83c5):new URL(_0x2c83c5,window[_0xbf493e(0x202)][_0xbf493e(0x1e9)]);_0x4f42a9['searchParams'][_0xbf493e(0x308)](_0xbf493e(0x22b),_0x574004);const _0x1f20c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbf493e(0x202)][_0xbf493e(0x1c4)]);return _0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))&&_0x4f42a9[_0xbf493e(0x318)][_0xbf493e(0x308)](_0xbf493e(0x353),_0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))),_0x4f42a9[_0xbf493e(0x252)]();}async[_0x233059(0x1ca)](){const _0x2ca69f=_0x233059;var _0x5365fa,_0x261cb1,_0x237e7b;const _0xa68744=this[_0x2ca69f(0x2ad)][_0x2ca69f(0x27a)](_0x51518b),_0x370098=(_0x5365fa=_0xa68744==null?void 0x0:_0xa68744[_0x2ca69f(0x363)])!=null?_0x5365fa:_0x3f943f;return(_0x237e7b=(_0x261cb1=(await this[_0x2ca69f(0x239)][_0x2ca69f(0x31b)](_0x370098,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x261cb1[_0x2ca69f(0x358)])!=null?_0x237e7b:'';}};nt=Tn([z(0x0,_0x58958f(_0x17fcfa)),z(0x1,_0x58958f(_0x1f27d8)),z(0x2,_0x3941f1),z(0x3,_0x430dc1),z(0x4,_0x38517c)],nt);const rt=0x7530,ot=_0x233059(0x286);class Gn extends _0x31fe53{constructor(){const _0x5ceb2c=_0x233059;super(),_(this,_0x5ceb2c(0x285),_0x5d49ad()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ceb2c(0x25b),new Map()),_(this,_0x5ceb2c(0x2ab),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ceb2c(0x2cf),new Map()),this[_0x5ceb2c(0x1e6)]();}[_0x233059(0x2a5)](){const _0x5d43d2=_0x233059;super[_0x5d43d2(0x2a5)](),this[_0x5d43d2(0x207)]['forEach']((_0x290a8b,_0x232b8a)=>this[_0x5d43d2(0x1b5)](_0x232b8a)),this['_heartbeatTimer']&&window[_0x5d43d2(0x221)](this[_0x5d43d2(0x2ab)]);}[_0x233059(0x245)](_0x45f4f5){return this['_ensureSubject'](_0x45f4f5)['pipe'](_0x1ebe47());}[_0x233059(0x326)](_0x411b1b){const _0x2ba5b3=_0x233059;this['_selfUnitIDs']['size']===0x0&&this[_0x2ba5b3(0x1b9)](),this['_selfUnitIDs'][_0x2ba5b3(0x1f9)](_0x411b1b),this[_0x2ba5b3(0x279)]({'type':0x0,'memberID':this[_0x2ba5b3(0x285)],'unitIDs':[_0x411b1b],'isForwarded':!0x1});}[_0x233059(0x371)](_0x519b70){const _0x1a3207=_0x233059;this[_0x1a3207(0x2f8)]['delete'](_0x519b70),this[_0x1a3207(0x2f8)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x233059(0x1e6)](){const _0x4ccff3=_0x233059;this[_0x4ccff3(0x22d)](_0x2a94ec(_0x3f43ac(window,_0x4ccff3(0x246))[_0x4ccff3(0x1d2)](_0x57bddb=>{const _0x4f9c5d=_0x4ccff3;if(_0x57bddb[_0x4f9c5d(0x198)]!==ot||!_0x57bddb['newValue'])return;const _0x5b692d=JSON[_0x4f9c5d(0x290)](_0x57bddb[_0x4f9c5d(0x190)]);this[_0x4f9c5d(0x301)](_0x5b692d);}))),window[_0x4ccff3(0x1cb)](_0x4ccff3(0x1ef),()=>this['_send']({'type':0x1,'memberID':this[_0x4ccff3(0x285)],'unitIDs':Array[_0x4ccff3(0x29d)](this['_selfUnitIDs'])}));}[_0x233059(0x301)](_0x3b6f83){const _0x24ffd5=_0x233059;switch(_0x3b6f83[_0x24ffd5(0x2d4)]){case 0x0:this[_0x24ffd5(0x1a3)](_0x3b6f83);break;case 0x1:this[_0x24ffd5(0x28a)](_0x3b6f83);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b6f83);break;}}[_0x233059(0x1a3)](_0x12ad38){const _0x57e672=_0x233059,{unitIDs:_0x8b42ee,memberID:_0x1c55b3,isForwarded:_0x1a8a61}=_0x12ad38;_0x8b42ee['forEach'](_0x31240f=>{const _0x2387a2=_0x3372;if(!_0x1a8a61&&this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)&&this[_0x2387a2(0x248)](_0x31240f)[_0x2387a2(0x32e)](_0x35b1a7[_0x2387a2(0x34d)]),!this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)||!this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)[_0x2387a2(0x344)](_0x1c55b3)){const _0x5df6bd=this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)||new Set();_0x5df6bd[_0x2387a2(0x1f9)](_0x1c55b3),this[_0x2387a2(0x25b)][_0x2387a2(0x308)](_0x31240f,_0x5df6bd),this[_0x2387a2(0x231)](_0x1c55b3);}}),_0x1a8a61||this['_send']({'type':0x0,'memberID':this[_0x57e672(0x285)],'unitIDs':[...this[_0x57e672(0x2f8)]],'isForwarded':!0x0});}[_0x233059(0x231)](_0x16179f){const _0x5e37a5=_0x233059;this[_0x5e37a5(0x1b5)](_0x16179f);const _0x16a245=window[_0x5e37a5(0x1bd)](()=>{const _0x216c0c=_0x5e37a5;this[_0x216c0c(0x25b)][_0x216c0c(0x2cb)](_0x46d6f0=>{const _0x566ee6=_0x216c0c;_0x46d6f0[_0x566ee6(0x224)](_0x16179f);});},rt*0x2);this['_clearOtherTimers'][_0x5e37a5(0x308)](_0x16179f,_0x16a245);}[_0x233059(0x1b5)](_0xc570ab){const _0x5c680c=_0x233059;if(this['_clearOtherTimers'][_0x5c680c(0x344)](_0xc570ab)){const _0x55663d=this[_0x5c680c(0x207)]['get'](_0xc570ab);_0x55663d&&window[_0x5c680c(0x19b)](_0x55663d),this['_clearOtherTimers'][_0x5c680c(0x308)](_0xc570ab,null);}}[_0x233059(0x28a)](_0x2b7a29){const _0x5e7e49=_0x233059,{memberID:_0x441b7b,unitIDs:_0x5ca298}=_0x2b7a29;_0x5ca298[_0x5e7e49(0x2cb)](_0x565e9a=>{const _0x11a848=_0x5e7e49;var _0x2def28;const _0x43fbba=this[_0x11a848(0x25b)][_0x11a848(0x31b)](_0x565e9a);_0x43fbba&&(_0x43fbba['delete'](_0x441b7b),(_0x2def28=this['_ensureSubject'](_0x565e9a))==null||_0x2def28[_0x11a848(0x32e)](_0x43fbba[_0x11a848(0x29c)]===0x0?_0x35b1a7[_0x11a848(0x2e5)]:_0x35b1a7[_0x11a848(0x34d)]));}),this['_removeClearOtherTimer'](_0x441b7b);}['_handleHeartbeatEvent'](_0x1463f3){const _0x36382a=_0x233059;this[_0x36382a(0x231)](_0x1463f3[_0x36382a(0x322)]);}[_0x233059(0x279)](_0x452ddc){const _0x390866=_0x233059;localStorage[_0x390866(0x1a7)](ot,JSON['stringify'](_0x452ddc));}[_0x233059(0x1b9)](){const _0x5b5392=_0x233059;this['_heartbeatTimer']=window[_0x5b5392(0x2f7)](()=>{const _0x133e15=_0x5b5392;this[_0x133e15(0x279)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1c5b44){const _0x387b87=_0x233059;return this[_0x387b87(0x2cf)][_0x387b87(0x344)](_0x1c5b44)||this[_0x387b87(0x2cf)][_0x387b87(0x308)](_0x1c5b44,new _0x5e9239(_0x35b1a7[_0x387b87(0x2e5)])),this[_0x387b87(0x2cf)][_0x387b87(0x31b)](_0x1c5b44);}}var Ut=(_0x380446=>(_0x380446[_0x380446[_0x233059(0x258)]=0x0]=_0x233059(0x258),_0x380446[_0x380446['OK']=0x1]='OK',_0x380446[_0x380446['INTERNAL_ERROR']=0x2]=_0x233059(0x1d1),_0x380446[_0x380446['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x380446[_0x380446[_0x233059(0x1d5)]=0x4]=_0x233059(0x1d5),_0x380446[_0x380446[_0x233059(0x272)]=0x5]=_0x233059(0x272),_0x380446[_0x380446[_0x233059(0x2c5)]=0x6]='ALREADY_EXISTS',_0x380446[_0x380446['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x380446[_0x380446[_0x233059(0x354)]=0x8]='TOO_MANY_REQUESTS',_0x380446[_0x380446['COMPLETION_FINISHED']=0x9]=_0x233059(0x2a0),_0x380446[_0x380446[_0x233059(0x349)]=0xa]=_0x233059(0x349),_0x380446[_0x380446['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x380446[_0x380446[_0x233059(0x2e0)]=0x1771]=_0x233059(0x2e0),_0x380446[_0x380446[_0x233059(0x295)]=0x1772]=_0x233059(0x295),_0x380446[_0x380446[_0x233059(0x26e)]=0x1773]=_0x233059(0x26e),_0x380446[_0x380446['APPLY_REJECT']=0x1b59]=_0x233059(0x237),_0x380446[_0x380446[_0x233059(0x211)]=0x1b5a]=_0x233059(0x211),_0x380446[_0x380446['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x233059(0x328),_0x380446[_0x380446[_0x233059(0x28c)]=0x1b5c]=_0x233059(0x28c),_0x380446[_0x380446['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x380446[_0x380446['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x233059(0x356),_0x380446[_0x380446[_0x233059(0x1b4)]=0x2329]=_0x233059(0x1b4),_0x380446[_0x380446[_0x233059(0x332)]=0x232a]=_0x233059(0x332),_0x380446[_0x380446['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x233059(0x21e),_0x380446[_0x380446['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x380446[_0x380446[_0x233059(0x183)]=0x232d]=_0x233059(0x183),_0x380446[_0x380446[_0x233059(0x329)]=0x2711]=_0x233059(0x329),_0x380446[_0x380446[_0x233059(0x273)]=0x2712]=_0x233059(0x273),_0x380446[_0x380446[_0x233059(0x2d2)]=0x2713]=_0x233059(0x2d2),_0x380446[_0x380446['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x233059(0x32f),_0x380446[_0x380446[_0x233059(0x240)]=0x2af9]=_0x233059(0x240),_0x380446[_0x380446[_0x233059(0x2fa)]=0x2ee1]=_0x233059(0x2fa),_0x380446[_0x380446[_0x233059(0x1c9)]=0x2ee2]='INVALID_INVITE_CODE',_0x380446[_0x380446[_0x233059(0x2ed)]=0x2ee3]=_0x233059(0x2ed),_0x380446[_0x380446['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x380446[_0x380446[_0x233059(0x2fc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x380446[_0x380446[_0x233059(0x184)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x380446[_0x380446[_0x233059(0x1f3)]=0x32ca]=_0x233059(0x1f3),_0x380446[_0x380446[_0x233059(0x2dd)]=0x32cb]=_0x233059(0x2dd),_0x380446[_0x380446[_0x233059(0x25e)]=-0x1]=_0x233059(0x25e),_0x380446))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x265ad0,_0x470a30,_0x339e98,_0x15327a)=>{for(var _0x371007=_0x15327a>0x1?void 0x0:_0x15327a?Rn(_0x470a30,_0x339e98):_0x470a30,_0x42947d=_0x265ad0['length']-0x1,_0x58358f;_0x42947d>=0x0;_0x42947d--)(_0x58358f=_0x265ad0[_0x42947d])&&(_0x371007=_0x58358f(_0x371007)||_0x371007);return _0x371007;},Te=(_0x23d365,_0x3a647a)=>(_0x4f8c2e,_0x17f3e1)=>_0x3a647a(_0x4f8c2e,_0x17f3e1,_0x23d365);let at=class extends _0x31fe53{constructor(_0x403019,_0x35172d,_0x4d4818){const _0xf8af66=_0x233059;super(),this[_0xf8af66(0x1e3)]=_0x403019,this[_0xf8af66(0x239)]=_0x35172d,this[_0xf8af66(0x2ad)]=_0x4d4818;}async[_0x233059(0x23b)](_0x12b214,_0x3a3e5e,_0x2df3bc,..._0x5b21b3){const _0x35dff0=_0x233059;var _0x15bb04,_0x3d4d5f,_0x3d5d8d,_0x1450ea;const _0x1c896f=this[_0x35dff0(0x1e3)]['getFocusedUnit']();if(!_0x1c896f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4ad069=((_0x15bb04=this[_0x35dff0(0x2ad)][_0x35dff0(0x27a)](_0x4c870b))!=null?_0x15bb04:_0x56daa9)+'/'+_0x12b214+_0x35dff0(0x26b)+_0x3a3e5e,_0x437055=new URL(window[_0x35dff0(0x202)][_0x35dff0(0x2bc)]),_0x83e44={'scriptId':_0x12b214,'runId':(_0x3d4d5f=_0x437055[_0x35dff0(0x318)][_0x35dff0(0x31b)](_0x35dff0(0x353)))!=null?_0x3d4d5f:'','function':_0x3a3e5e,'unitId':_0x1c896f[_0x35dff0(0x2ae)](),'argsOfFunction':JSON['stringify'](_0x5b21b3),'invokeId':(_0x3d5d8d=_0x2df3bc[_0x35dff0(0x19f)])!=null?_0x3d5d8d:'','executionId':(_0x1450ea=_0x2df3bc[_0x35dff0(0x29a)])!=null?_0x1450ea:''};try{const _0x1e8e28=await this['_httpService'][_0x35dff0(0x274)](_0x4ad069,{'body':_0x83e44});return _0x1e8e28['body'][_0x35dff0(0x1fe)]&&_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x1fe)][_0x35dff0(0x27c)]!==Ut['OK']?'Failed':_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x335)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x43c917),Te(0x1,_0x58958f(_0x1f27d8)),Te(0x2,_0x3941f1)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x4e6031=_0x580c;(function(_0x4c2a43,_0x37894c){const _0x299c5f=_0x580c,_0x5994b7=_0x4c2a43();while(!![]){try{const _0x5ca101=parseInt(_0x299c5f(0x22f))/0x1+-parseInt(_0x299c5f(0xfd))/0x2+-parseInt(_0x299c5f(0x23b))/0x3+parseInt(_0x299c5f(0x2a6))/0x4*(parseInt(_0x299c5f(0x2a9))/0x5)+parseInt(_0x299c5f(0x1ae))/0x6+parseInt(_0x299c5f(0x1da))/0x7*(parseInt(_0x299c5f(0x189))/0x8)+parseInt(_0x299c5f(0x110))/0x9*(-parseInt(_0x299c5f(0x1af))/0xa);if(_0x5ca101===_0x37894c)break;else _0x5994b7['push'](_0x5994b7['shift']());}catch(_0x3e3174){_0x5994b7['push'](_0x5994b7['shift']());}}}(_0x3602,0x527d2));var Bt=Object[_0x4e6031(0x211)],kt=(_0x1a6901,_0x5bcd2c,_0xffd4fc)=>_0x5bcd2c in _0x1a6901?Bt(_0x1a6901,_0x5bcd2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xffd4fc}):_0x1a6901[_0x5bcd2c]=_0xffd4fc,_=(_0x291583,_0x38dfed,_0x59e2b6)=>kt(_0x291583,typeof _0x38dfed!=_0x4e6031(0x1fa)?_0x38dfed+'':_0x38dfed,_0x59e2b6);import{MemberService as _0x21cf38,SessionStatus as _0x4deb1a,CollaborationSessionService as _0x160800,CollaborationStatus as _0x15a744,CollaborationController as _0x27a615,ILocalCacheService as _0x369419,CollaborationUIEventService as _0x55b9f5,CollaborationUIEventId as _0xbd7dc5,DataLoaderService as _0x3f6054,DocCollaborationEntity as _0x30e95f,getLocalCacheKey as _0x5692d7,LOCAL_CACHE_INTERVAL as _0x2be77d,LOCAL_CACHE_INTERVAL_KEY as _0x51a5af,UniverCollaborationClientPlugin as _0x2eecf1,CollaborationSocketService as _0x4304dc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x36c723,DEFAULT_WS_SESSION_TICKET_URL as _0x1603d7,UnitStatus as _0x559aad,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7e84b6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x463d62}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3c0a88,Disposable as _0x45fd26,DOC_RANGE_TYPE as _0x233267,Inject as _0x296b66,Injector as _0x19dc78,IUniverInstanceService as _0x42b704,ICommandService as _0x32af02,debounce as _0x1261cd,Rectangle as _0x11c39d,DisposableCollection as _0x3a0e34,toDisposable as _0x119248,UniverInstanceType as _0x2246f5,Tools as _0x1b1371,COLORS as _0x57d465,ColorKit as _0x3ee062,ThemeService as _0x174a37,fromEventSubject as _0x51885d,LocaleService as _0x5c3969,createIdentifier as _0x28476e,ILogService as _0x30d997,Optional as _0x470714,Workbook as _0x50af68,CommandType as _0x448814,IConfigService as _0x54d5a8,ILocalStorageService as _0x36b990,DependentOn as _0x263def,Plugin as _0xb700b5,merge as _0x3a1a3c,registerDependencies as _0x4a8e7b,mergeOverrideWithDependencies as _0x39a8e2,touchDependencies as _0x4a3abc,generateRandomId as _0x54c139}from'@univerjs/core';import{Shape as _0x479116,Rect as _0xcd54e,getColor as _0x1c8356,RegularPolygon as _0x433705,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b53c9,Vector2 as _0x57087f,SHEET_VIEWPORT_KEY as _0x2f89be,IRenderManagerService as _0x31453e}from'@univerjs/engine-render';import{ISocketService as _0x111fb7,WebSocketService as _0x4bf45b,HTTPService as _0x499a00}from'@univerjs/network';import{IDocClipboardService as _0x4d40e4,NodePositionConvertToCursor as _0x583414,NodePositionConvertToRectRange as _0x58ed54,TEXT_RANGE_LAYER_INDEX as _0x487b36,SetDocZoomRatioOperation as _0x33a759,DocIMEInputManagerService as _0x20ce97,DocStateChangeManagerService as _0x2ed6d1}from'@univerjs/docs-ui';import{IImageIoService as _0x3384d7}from'@univerjs/drawing';import{BehaviorSubject as _0x4cb6b4,debounceTime as _0x9911bf,takeUntil as _0x26eda4,Subject as _0x303e0a,filter as _0x51e424,switchMap as _0xa4766d,merge as _0x47fa24,combineLatest as _0x2e96b5,of as _0x4a2172,fromEvent as _0x4ab014,shareReplay as _0x377104,mapTo as _0x530b3a,distinctUntilChanged as _0x53040a}from'rxjs';import{SetTextSelectionsOperation as _0xce7271,RichTextEditingMutation as _0x32b8de,DocSelectionManagerService as _0x3f8525,DocSkeletonManagerService as _0x52d715}from'@univerjs/docs';import{ITransformService as _0x15804e,CollaborationEvent as _0x2ffe11,isTransformMutationFailure as _0x3f9e93,isTransformMutationsWithChangesetSuccess as _0x38ffbf,RevisionService as _0x3b04cb,ISnapshotServerService as _0x32f6a8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5354fe,serializeRangeWithSheet as _0x20b8c0}from'@univerjs/engine-formula';import{RefRangeService as _0xa80c10,SetSelectionsOperation as _0x161f63,SheetsSelectionsService as _0x40f70f,EffectRefRangId as _0x387a5f,handleIRemoveRow as _0x3c6475,handleIRemoveCol as _0x4be98c,handleMoveRange as _0x2337f7,handleInsertRow as _0x2f20db,handleInsertRangeMoveRight as _0x2c2631,handleInsertRangeMoveDown as _0x46ee93,handleInsertCol as _0x2f73dc,handleDeleteRangeMoveUp as _0x353637,handleDeleteRangeMoveLeft as _0x565dad,runRefRangeMutations as _0xabb0e9,SetWorksheetActivateCommand as _0x10a809}from'@univerjs/sheets';import{map as _0x5e4f39,filter as _0x3c099b,throttleTime as _0x1c7116,takeUntil as _0x393ded,switchMap as _0x1c35cc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4dae93,getCoordByCell as _0x1fb4d1,getSheetObject as _0x127de9}from'@univerjs/sheets-ui';import{jsx as _0xd6f84a,jsxs as _0x1c4bb4}from'react/jsx-runtime';import{useObservable as _0x5aab09,useDependency as _0x2b87be,IUIPartsService as _0x254e4c,BuiltInUIPart as _0x1cb5cc,connectInjector as _0x51ba9c,IBeforeCloseService as _0x2d817e,IMessageService as _0x5917e7,INotificationService as _0x5b0770}from'@univerjs/ui';import{clsx as _0x1098dc,Tooltip as _0x1ef8f6,MessageType as _0xa1687a}from'@univerjs/design';import{forwardRef as _0x185006,useRef as _0x1055b0,createElement as _0xb27f2a,useCallback as _0x45ca34}from'react';import{IRemoteInstanceService as _0xec868f}from'@univerjs/rpc';var li=Object[_0x4e6031(0x282)],_i=(_0x305a0b,_0x512683,_0x22fe0,_0x179cec)=>{const _0x45339d=_0x4e6031;for(var _0x1a65cd=_0x179cec>0x1?void 0x0:_0x179cec?li(_0x512683,_0x22fe0):_0x512683,_0x40f1ba=_0x305a0b[_0x45339d(0x2cf)]-0x1,_0x1df21b;_0x40f1ba>=0x0;_0x40f1ba--)(_0x1df21b=_0x305a0b[_0x40f1ba])&&(_0x1a65cd=_0x1df21b(_0x1a65cd)||_0x1a65cd);return _0x1a65cd;},Qe=(_0x2e9b8d,_0x591d23)=>(_0x15db3f,_0x35dea8)=>_0x591d23(_0x15db3f,_0x35dea8,_0x2e9b8d);let Ue=class extends _0x3c0a88{constructor(_0x406ec7,_0x27ecfe){const _0x22383d=_0x4e6031;super(),this[_0x22383d(0x29f)]=_0x406ec7,this[_0x22383d(0xf7)]=_0x27ecfe,this[_0x22383d(0x132)]();}[_0x4e6031(0x132)](){const _0xf965b9=_0x4e6031,_0x47d260=this;this['disposeWithMe'](this['_docClipboardService'][_0xf965b9(0x108)]({'onBeforePasteImage':async _0x5b2578=>{const _0x7c90be=_0xf965b9,_0xabdad3=await _0x47d260['_imageIoService']['saveImage'](_0x5b2578);return _0xabdad3?{'source':_0xabdad3[_0x7c90be(0xe8)],'imageSourceType':_0xabdad3['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4d40e4),Qe(0x1,_0x3384d7)],Ue);const qe=[_0x4e6031(0x251),'jiqing500',_0x4e6031(0x2bb),_0x4e6031(0x1fd),_0x4e6031(0xdf),_0x4e6031(0xf9)];class He extends _0x45fd26{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4e6031(0x23d)](_0x12a10f){const _0x53c478=_0x4e6031;if(this[_0x53c478(0xf4)][_0x53c478(0x221)](_0x12a10f))return this[_0x53c478(0xf4)][_0x53c478(0x29c)](_0x12a10f);const _0x261556=qe[this[_0x53c478(0x299)]];return this[_0x53c478(0x299)]=(this[_0x53c478(0x299)]+0x1)%qe[_0x53c478(0x2cf)],this['_assignedColors'][_0x53c478(0x1b5)](_0x12a10f,_0x261556),_0x261556;}}function Dt(_0x31761d){let _0x1857e3='';for(const _0x54129c of _0x31761d){const {startOffset:_0x45df85,endOffset:_0x301fef,isActive:_0x550710,rangeType:_0x48ece1,segmentId:_0x1a5aa9,segmentPage:_0xdd0658}=_0x54129c;_0x1857e3['length']&&(_0x1857e3+=','),_0x1857e3+=_0x45df85+':'+_0x301fef+':'+(_0x550710?'1':'0')+':'+_0x48ece1+':'+_0x1a5aa9+':'+_0xdd0658;}return _0x1857e3;}function hi(_0x5abcde){const _0x4c4691=_0x4e6031,_0x469373=_0x5abcde[_0x4c4691(0x206)](','),_0x10cc83=[];for(const _0x1fdf9d of _0x469373){const [_0x20cb95,_0x2e498f,_0x24b004,_0x57cca7,_0x2b41dd,_0xe48c32]=_0x1fdf9d['split'](':');_0x10cc83[_0x4c4691(0x181)]({'startOffset':Number(_0x20cb95),'endOffset':Number(_0x2e498f),'collapsed':_0x20cb95===_0x2e498f,'isActive':_0x24b004==='1','rangeType':_0x57cca7===_0x233267['TEXT']?_0x233267[_0x4c4691(0x228)]:_0x233267[_0x4c4691(0x15c)],'segmentId':typeof _0x2b41dd==_0x4c4691(0x216)?String(_0x2b41dd):'','segmentPage':Number(_0xe48c32!=null?_0xe48c32:-0x1)});}return _0x10cc83['some'](_0x95da07=>_0x95da07[_0x4c4691(0x2ac)])||(_0x10cc83[0x0][_0x4c4691(0x2ac)]=!0x0),_0x10cc83;}class je extends _0x3c0a88{constructor(){const _0x5f2334=_0x4e6031;super(...arguments),_(this,_0x5f2334(0x1eb),new _0x4cb6b4(null)),_(this,_0x5f2334(0x234),this['_collabCursorState$'][_0x5f2334(0x1c3)]());}['syncEditingCollabCursor'](_0x2680f0){const _0x2a69e0=_0x4e6031,{unitID:_0x3762e2,memberID:_0x5467d6,textRanges:_0x3afea3}=_0x2680f0,_0x3feeda=Dt(_0x3afea3);if(_0x3feeda==='')return;const _0x2d3e50={'unitID':_0x3762e2,'memberID':_0x5467d6,'selection':_0x3feeda};this['_collabCursorState$'][_0x2a69e0(0x278)](_0x2d3e50);}}var ui=Object[_0x4e6031(0x282)],di=(_0x4128dc,_0x350696,_0x29915e,_0x3343af)=>{const _0x11bd57=_0x4e6031;for(var _0x38e000=_0x3343af>0x1?void 0x0:_0x3343af?ui(_0x350696,_0x29915e):_0x350696,_0x218e34=_0x4128dc[_0x11bd57(0x2cf)]-0x1,_0x2f7f3f;_0x218e34>=0x0;_0x218e34--)(_0x2f7f3f=_0x4128dc[_0x218e34])&&(_0x38e000=_0x2f7f3f(_0x38e000)||_0x38e000);return _0x38e000;},w=(_0x4f6d39,_0x13ea70)=>(_0x211394,_0x4a9167)=>_0x13ea70(_0x211394,_0x4a9167,_0x4f6d39);const fi=0x12c,Si=0x64;let Me=class extends _0x3c0a88{constructor(_0x4014b5,_0x459ec0,_0x3f5849,_0x31196c,_0x4910e2,_0x3b7fd2,_0x5f9187,_0x100eb5,_0x3551d2){const _0x41d71f=_0x4e6031;super(),_(this,_0x41d71f(0x1f1),!0x1),_(this,'_init',!0x1),_(this,_0x41d71f(0x10a),new _0x4cb6b4(new Map())),_(this,_0x41d71f(0x274),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4cb6b4([])),_(this,'roomMembers$',this[_0x41d71f(0x16a)][_0x41d71f(0x1d2)](_0x9911bf(fi))),_(this,_0x41d71f(0x1de),_0x1261cd(_0x763850=>{const _0x367f52=_0x41d71f,_0x12287c={'eventID':_0x2ffe11[_0x367f52(0xde)],'data':{'unitID':this[_0x367f52(0x161)],'memberID':this[_0x367f52(0x1b1)]['getMemberID'](),'selection':Dt(_0x763850)}};this['_session'][_0x367f52(0x1ca)](_0x12287c,this[_0x367f52(0x161)]);},Si)),(this['unitID']=_0x4014b5,this['_session']=_0x459ec0,this[_0x41d71f(0xed)]=_0x3f5849,this[_0x41d71f(0x2ce)]=_0x31196c,this['_memberService']=_0x4910e2,this[_0x41d71f(0x102)]=_0x3b7fd2,this[_0x41d71f(0x12e)]=_0x5f9187,this[_0x41d71f(0x12a)]=_0x100eb5,this[_0x41d71f(0x163)]=_0x3551d2);}get[_0x4e6031(0x295)](){const _0x2cbb5e=_0x4e6031;return this[_0x2cbb5e(0x10a)][_0x2cbb5e(0x266)]();}get['roomMembers'](){const _0x2437db=_0x4e6031;return this[_0x2437db(0x16a)][_0x2437db(0x266)]();}['dispose'](){const _0x5e6de3=_0x4e6031;super[_0x5e6de3(0x16b)](),this['_cursorInfo$'][_0x5e6de3(0x278)](new Map()),this['_cursorInfo$'][_0x5e6de3(0x184)](),this[_0x5e6de3(0x16a)][_0x5e6de3(0x278)]([]),this['_roomMembers$']['complete']();}[_0x4e6031(0x1d4)](){const _0x455a32=_0x4e6031;this[_0x455a32(0x132)]||(this[_0x455a32(0x132)]=!0x0,this['_session'][_0x455a32(0x1b3)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))['subscribe'](_0x215dd0=>{const _0x32a148=_0x455a32;_0x215dd0===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x32a148(0x1b2)]();}),this[_0x455a32(0x1b1)][_0x455a32(0xf3)][_0x455a32(0x1d2)](_0x26eda4(this[_0x455a32(0x2d1)]))[_0x455a32(0x1ac)](_0x154c84=>{const _0x49c967=_0x455a32,_0x387e25=_0x154c84[_0x49c967(0x25d)];_0x387e25===_0x2ffe11[_0x49c967(0xde)]&&this[_0x49c967(0x20d)](_0x154c84),_0x387e25===_0x2ffe11[_0x49c967(0x12f)]&&this['_onCursorDelete'](_0x154c84);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x346247=>{const _0x2b562b=_0x455a32,_0x504b5c=_0x346247[_0x2b562b(0x23e)];_0x504b5c!=null&&this[_0x2b562b(0x1f1)]&&_0x346247['id']===_0xce7271['id']&&_0x504b5c[_0x2b562b(0x255)]===this[_0x2b562b(0x161)]&&_0x504b5c['isEditing']===!0x1&&_0x504b5c['ranges']['length']>0x0&&this[_0x2b562b(0x1de)](_0x504b5c[_0x2b562b(0x2da)]);})),this[_0x455a32(0x102)][_0x455a32(0x234)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))[_0x455a32(0x1ac)](_0xda8437=>{const _0x374d1c=_0x455a32;if((_0xda8437==null?void 0x0:_0xda8437[_0x374d1c(0x161)])!==this[_0x374d1c(0x161)])return;const _0x4c0ccf={'eventID':_0x2ffe11[_0x374d1c(0xde)],'data':_0xda8437};this[_0x374d1c(0x20d)](_0x4c0ccf);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x294739=>{const _0x511d40=_0x455a32;if(_0x294739['params']==null)return;const _0x10ff1f=_0x294739[_0x511d40(0x23e)];if(_0x294739['id']!==_0x32b8de['id']||_0x10ff1f[_0x511d40(0x255)]!==this[_0x511d40(0x161)])return;const _0x526b14={'id':_0x511d40(0x288),'params':_0x10ff1f},_0xc65950=this[_0x511d40(0x295)];for(const [_0x1ac864,_0xc1c50c]of _0xc65950){const _0x1485aa={'id':_0x511d40(0x288),'params':{'unitId':this[_0x511d40(0x161)],'actions':null,'textRanges':_0xc1c50c[_0x511d40(0x2da)]}},_0x4613ac=this[_0x511d40(0x12e)][_0x511d40(0x179)](_0x526b14,_0x1485aa,!0x1);if(_0x3f9e93(_0x4613ac))throw _0x4613ac['error'];_0xc65950[_0x511d40(0x1b5)](_0x1ac864,{..._0xc1c50c,'ranges':_0x4613ac['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x498469=_0x511d40;this[_0x498469(0x10a)][_0x498469(0x278)](_0xc65950);});})));}[_0x4e6031(0x20d)](_0x4e9ea4){const _0x4b1559=_0x4e6031;var _0x59b724,_0x145d82;const {memberID:_0x581a1b,selection:_0x5be60c}=_0x4e9ea4[_0x4b1559(0xee)],_0x536e8d=hi(_0x5be60c),_0x40fd3e=(_0x145d82=(_0x59b724=this[_0x4b1559(0x28e)][_0x4b1559(0x153)](this[_0x4b1559(0x161)],_0x581a1b))==null?void 0x0:_0x59b724[_0x4b1559(0x2db)])!=null?_0x145d82:_0x4b1559(0x17f),_0x5f418d={'color':this[_0x4b1559(0x2ce)][_0x4b1559(0x23d)](_0x581a1b),'name':_0x40fd3e,'ranges':_0x536e8d},_0x24ba09=this[_0x4b1559(0x295)];_0x24ba09['set'](_0x581a1b,_0x5f418d),this[_0x4b1559(0x10a)][_0x4b1559(0x278)](_0x24ba09);}[_0x4e6031(0x187)](_0x290bc9){const _0x43ba3d=_0x4e6031,{memberID:_0xe261d0}=_0x290bc9['data'],_0x3ae901=this['cursorInfo'];_0x3ae901[_0x43ba3d(0x1a8)](_0xe261d0),this[_0x43ba3d(0x10a)][_0x43ba3d(0x278)](_0x3ae901);}[_0x4e6031(0x14b)](){const _0x3cc2ca=_0x4e6031;var _0x30f1bf;if(this[_0x3cc2ca(0x1f1)]=!0x0,((_0x30f1bf=this['_univerInstanceService'][_0x3cc2ca(0x176)]())==null?void 0x0:_0x30f1bf[_0x3cc2ca(0x220)]())!==this[_0x3cc2ca(0x161)])return;const _0x1600f6=this['_injector']['get'](_0x3f8525)[_0x3cc2ca(0x271)]();Array[_0x3cc2ca(0x224)](_0x1600f6)&&_0x1600f6[_0x3cc2ca(0x2cf)]>0x0&&this[_0x3cc2ca(0x1de)](_0x1600f6);}[_0x4e6031(0x1b2)](){this['_online']=!0x1;}};Me=di([w(0x2,_0x296b66(_0x19dc78)),w(0x3,_0x296b66(He)),w(0x4,_0x296b66(_0x21cf38)),w(0x5,_0x296b66(je)),w(0x6,_0x15804e),w(0x7,_0x42b704),w(0x8,_0x32af02)],Me);var mi=Object[_0x4e6031(0x282)],gi=(_0x582219,_0x5b305c,_0x1f218b,_0x5c7c58)=>{const _0x28957c=_0x4e6031;for(var _0x3d48e4=_0x5c7c58>0x1?void 0x0:_0x5c7c58?mi(_0x5b305c,_0x1f218b):_0x5b305c,_0x30578e=_0x582219[_0x28957c(0x2cf)]-0x1,_0x258915;_0x30578e>=0x0;_0x30578e--)(_0x258915=_0x582219[_0x30578e])&&(_0x3d48e4=_0x258915(_0x3d48e4)||_0x3d48e4);return _0x3d48e4;},x=(_0x5bccb1,_0x5cd38f)=>(_0x1ef300,_0x587769)=>_0x5cd38f(_0x1ef300,_0x587769,_0x5bccb1);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5aa567=[],_0x359024=!0x1;return _0x5cd76e=>{const _0x4dd2af=_0x580c;_0x5aa567[_0x4dd2af(0x181)](_0x5cd76e),_0x359024||(_0x359024=!0x0,setTimeout(()=>{_0x5aa567['forEach'](_0x3cd377=>_0x3cd377()),_0x5aa567=[],_0x359024=!0x1;}));};};let Pe=class extends _0x3c0a88{constructor(_0x1705a7,_0x17eb35,_0x3545c0,_0x257862,_0x57ca65,_0xaf1e4c,_0x3b67d5,_0x5b798b){const _0x37f0c1=_0x4e6031;super(),_(this,_0x37f0c1(0x1f1),!0x1),_(this,_0x37f0c1(0x132),!0x1),_(this,_0x37f0c1(0x10a),new _0x4cb6b4(new Map())),_(this,_0x37f0c1(0x274),this[_0x37f0c1(0x10a)][_0x37f0c1(0x1c3)]()),_(this,_0x37f0c1(0x16a),new _0x4cb6b4([])),_(this,_0x37f0c1(0x180),this[_0x37f0c1(0x16a)][_0x37f0c1(0x1d2)](_0x9911bf(vi))),_(this,_0x37f0c1(0x1de),_0x1261cd((_0x2c4e9f,_0x4b9926)=>{const _0x178e29=_0x37f0c1,_0x134da3={'eventID':_0x2ffe11['UPDATE_CURSOR'],'data':{'unitID':this[_0x178e29(0x161)],'memberID':this[_0x178e29(0x1b1)][_0x178e29(0x247)](),'selection':_0x20b8c0(_0x2c4e9f,_0x4b9926[_0x178e29(0x1ad)])}};this[_0x178e29(0x1b1)][_0x178e29(0x1ca)](_0x134da3,this[_0x178e29(0x161)]);},Ii)),(this[_0x37f0c1(0x161)]=_0x1705a7,this['_session']=_0x17eb35,this['_injector']=_0x3545c0,this[_0x37f0c1(0x2ce)]=_0x257862,this['_memberService']=_0x57ca65,this[_0x37f0c1(0x12a)]=_0xaf1e4c,this['_commandService']=_0x3b67d5,this['_refRangeService']=_0x5b798b);}get['cursorInfo'](){const _0x517b50=_0x4e6031;return this[_0x517b50(0x10a)][_0x517b50(0x266)]();}get[_0x4e6031(0x1d9)](){const _0x6d6daa=_0x4e6031;return this[_0x6d6daa(0x16a)][_0x6d6daa(0x266)]();}[_0x4e6031(0x16b)](){const _0x402fe0=_0x4e6031;super[_0x402fe0(0x16b)](),this[_0x402fe0(0x10a)][_0x402fe0(0x278)](new Map()),this['_cursorInfo$'][_0x402fe0(0x184)](),this[_0x402fe0(0x16a)][_0x402fe0(0x278)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x47b576=_0x4e6031;this[_0x47b576(0x132)]||(this['_init']=!0x0,this['_session'][_0x47b576(0x1b3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))['subscribe'](_0x1536be=>{const _0x4ada31=_0x47b576;_0x1536be===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x4ada31(0x1b2)]();}),this['_session'][_0x47b576(0xf3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))[_0x47b576(0x1ac)](_0x778e86=>{const _0x5a277b=_0x47b576,_0x465a81=_0x778e86[_0x5a277b(0x25d)];_0x465a81===_0x2ffe11[_0x5a277b(0xde)]&&this[_0x5a277b(0x20d)](_0x778e86),_0x465a81===_0x2ffe11['USERS_LEAVE']&&this['_onCursorDelete'](_0x778e86);}),this[_0x47b576(0x1d6)](),this[_0x47b576(0x1d0)](this['_commandService'][_0x47b576(0x15d)](_0x139ecb=>{const _0x30bc9a=_0x47b576;if(this[_0x30bc9a(0x1f1)]&&_0x139ecb['id']===_0x161f63['id']&&_0x139ecb[_0x30bc9a(0x23e)][_0x30bc9a(0x255)]===this[_0x30bc9a(0x161)]){const _0x57d5dd=_0x139ecb[_0x30bc9a(0x23e)];this[_0x30bc9a(0x1de)](_0x57d5dd[_0x30bc9a(0xe6)],_0x57d5dd['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1095ce){const _0x5e70e5=_0x4e6031;var _0x3e2aed,_0x482887;const {memberID:_0xc60258,selection:_0x9bdc4}=_0x1095ce[_0x5e70e5(0xee)],{sheetName:_0x34a601,range:_0x5028c2}=_0x5354fe(_0x9bdc4),_0x3517a0={'name':(_0x482887=(_0x3e2aed=this[_0x5e70e5(0x28e)]['getMember'](this['unitID'],_0xc60258))==null?void 0x0:_0x3e2aed['name'])!=null?_0x482887:_0x5e70e5(0x17f),'range':this[_0x5e70e5(0x17a)](_0x34a601,_0x5028c2),'sheetID':_0x34a601,'color':this[_0x5e70e5(0x2ce)][_0x5e70e5(0x23d)](_0xc60258),'selection':_0x9bdc4},_0x53d24a=this[_0x5e70e5(0x295)];_0x53d24a[_0x5e70e5(0x1b5)](_0xc60258,_0x3517a0),this['_cursorInfo$'][_0x5e70e5(0x278)](_0x53d24a);}[_0x4e6031(0x187)](_0x53b7b4){const _0x41c8f5=_0x4e6031,{memberID:_0x5b85d7}=_0x53b7b4[_0x41c8f5(0xee)],_0xec0d4c=this[_0x41c8f5(0x295)];_0xec0d4c[_0x41c8f5(0x1a8)](_0x5b85d7),this[_0x41c8f5(0x10a)][_0x41c8f5(0x278)](_0xec0d4c);}[_0x4e6031(0x17a)](_0x29dae2,_0x2255ce){const _0x1c7369=_0x4e6031;var _0x2b787e,_0x3cd1e9;const _0x1215ef=(_0x3cd1e9=(_0x2b787e=this[_0x1c7369(0x12a)][_0x1c7369(0x144)](this['unitID']))==null?void 0x0:_0x2b787e[_0x1c7369(0x121)](_0x29dae2))==null?void 0x0:_0x3cd1e9[_0x1c7369(0x1e5)]();return(_0x1215ef==null?void 0x0:_0x1215ef[_0x1c7369(0x2ad)](_0x2a469b=>_0x11c39d[_0x1c7369(0x195)](_0x2a469b,_0x2255ce)))||_0x2255ce;}[_0x4e6031(0x1d6)](){const _0x423b44=_0x4e6031,_0x2ea327=new _0x3a0e34(),_0xb67f11=pi(),_0x592b04=()=>{const _0x473167=_0x580c;_0x2ea327[_0x473167(0x16b)]();const _0x316706=(_0x4e7ed1,_0x1a281b,_0x471e20,_0x474d0a)=>{const _0x33de9d=_0x473167;let _0x2fafbb=[];switch(_0x4e7ed1['id']){case _0x387a5f['DeleteRangeMoveLeftCommandId']:{_0x2fafbb=_0x565dad(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x242)]:{_0x2fafbb=_0x353637(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertColCommandId']:{_0x2fafbb=_0x2f73dc(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x28b)]:{_0x2fafbb=_0x46ee93(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x141)]:{_0x2fafbb=_0x2c2631(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertRowCommandId']:{_0x2fafbb=_0x2f20db(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x113)]:{_0x2fafbb=_0x2337f7(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x257)]:{_0x2fafbb=_0x4be98c(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['RemoveRowCommandId']:{_0x2fafbb=_0x3c6475(_0x4e7ed1,_0x474d0a);break;}}const _0x32974a=_0xabb0e9(_0x2fafbb,_0x474d0a),_0x16c8ff=this['cursorInfo']['get'](_0x1a281b);if(_0x16c8ff&&_0x32974a){const _0x1b7c0b={..._0x16c8ff,'range':_0x32974a};this[_0x33de9d(0x295)][_0x33de9d(0x1b5)](_0x1a281b,_0x1b7c0b),_0xb67f11(()=>{const _0x49080c=_0x33de9d,_0x2bc563=this[_0x49080c(0x29a)][_0x49080c(0x261)](_0x32974a,_0x1b561c=>(_0x2bc563['dispose'](),_0x316706(_0x1b561c,_0x1a281b,_0x471e20,_0x32974a)));_0x2ea327[_0x49080c(0x252)](_0x2bc563);});}return{'redos':[],'undos':[]};};this[_0x473167(0x295)][_0x473167(0x11e)]((_0x2d5f59,_0x1b0d46)=>{const _0x1eb974=_0x473167,{range:_0x1196a3,sheetID:_0x42f3c6}=_0x2d5f59,_0x54a132=this['_refRangeService'][_0x1eb974(0x261)](_0x1196a3,_0x413e76=>(_0x54a132['dispose'](),_0x316706(_0x413e76,_0x1b0d46,_0x42f3c6,_0x1196a3)));_0x2ea327['add'](_0x54a132);});};this[_0x423b44(0x1d0)](_0x119248(this['_cursorInfo$'][_0x423b44(0x1ac)](()=>{_0x592b04();})));}[_0x4e6031(0x14b)](){const _0x32fce2=_0x4e6031;var _0x4a8d73,_0x2c10b6;if(this[_0x32fce2(0x1f1)]=!0x0,((_0x4a8d73=this[_0x32fce2(0x12a)][_0x32fce2(0x176)]())==null?void 0x0:_0x4a8d73['getUnitId']())!==this['unitID'])return;const _0x1fb46c=(_0x2c10b6=this[_0x32fce2(0xed)][_0x32fce2(0x29c)](_0x40f70f)[_0x32fce2(0x1ff)]())==null?void 0x0:_0x2c10b6[0x0],_0x1de00c=this[_0x32fce2(0x12a)]['getCurrentUnitForType'](_0x2246f5[_0x32fce2(0x286)])[_0x32fce2(0x14a)]();_0x1fb46c&&_0x1de00c&&this['_updateLocalCursor'](_0x1de00c[_0x32fce2(0x24d)](),_0x1fb46c);}['_toggleOffline'](){const _0x4153b6=_0x4e6031;this[_0x4153b6(0x1f1)]=!0x1;}};Pe=gi([x(0x2,_0x296b66(_0x19dc78)),x(0x3,_0x296b66(He)),x(0x4,_0x296b66(_0x21cf38)),x(0x5,_0x42b704),x(0x6,_0x32af02),x(0x7,_0x296b66(_0xa80c10))],Pe);var Ci=Object[_0x4e6031(0x282)],Ei=(_0x1e5649,_0x4334b1,_0x1f7567,_0x4e388c)=>{const _0x16186a=_0x4e6031;for(var _0x21a63a=_0x4e388c>0x1?void 0x0:_0x4e388c?Ci(_0x4334b1,_0x1f7567):_0x4334b1,_0xafbaba=_0x1e5649[_0x16186a(0x2cf)]-0x1,_0xb8484f;_0xafbaba>=0x0;_0xafbaba--)(_0xb8484f=_0x1e5649[_0xafbaba])&&(_0x21a63a=_0xb8484f(_0x21a63a)||_0x21a63a);return _0x21a63a;},me=(_0x4e31cb,_0x4ecc21)=>(_0x7d321c,_0x35f8ae)=>_0x4ecc21(_0x7d321c,_0x35f8ae,_0x4e31cb);let H=class extends _0x3c0a88{constructor(_0x206f58,_0x13611f,_0x3eb148){const _0x136c2a=_0x4e6031;super(),_(this,_0x136c2a(0x218),new Map()),_(this,_0x136c2a(0x268),new _0x303e0a()),(this['_univerInstanceService']=_0x206f58,this[_0x136c2a(0xed)]=_0x13611f,this[_0x136c2a(0x11f)]=_0x3eb148,this['_init']());}[_0x4e6031(0x16b)](){const _0x172e7d=_0x4e6031;super[_0x172e7d(0x16b)](),this['_entityInit$'][_0x172e7d(0x184)](),this[_0x172e7d(0x218)][_0x172e7d(0x11e)](_0x51b743=>_0x51b743['dispose']());}['getCollabCursors$'](_0xfe7589){const _0x7adcd4=_0x4e6031;return this['_entities'][_0x7adcd4(0x221)](_0xfe7589)?this['_entities'][_0x7adcd4(0x29c)](_0xfe7589)[_0x7adcd4(0x274)]:this[_0x7adcd4(0x268)][_0x7adcd4(0x1d2)](_0x51e424(_0x1e64d0=>_0x1e64d0[_0x7adcd4(0x161)]===_0xfe7589),_0xa4766d(_0x4c8250=>_0x4c8250[_0x7adcd4(0x274)]));}[_0x4e6031(0x132)](){const _0x19c3d3=_0x4e6031;this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x286)])[_0x19c3d3(0x1d2)](_0x26eda4(this['dispose$']))[_0x19c3d3(0x1ac)](async _0x4c9714=>{const _0x45377b=_0x19c3d3,_0x5d15b6=_0x4c9714[_0x45377b(0x220)](),_0x381f35=await this[_0x45377b(0x115)](_0x5d15b6);this[_0x45377b(0x268)][_0x45377b(0x278)](_0x381f35),this[_0x45377b(0x218)][_0x45377b(0x1b5)](_0x5d15b6,_0x381f35);}),this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x1f5)])['pipe'](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1d2)](_0x51e424(_0x42bf7f=>!_0x42bf7f[_0x19c3d3(0x220)]()[_0x19c3d3(0xef)]('__')))[_0x19c3d3(0x1ac)](async _0x2c8d0e=>{const _0x405a0d=_0x19c3d3,_0x5dfd49=_0x2c8d0e[_0x405a0d(0x220)](),_0x23e494=await this['_startDocCollabCursor'](_0x5dfd49);this['_entityInit$'][_0x405a0d(0x278)](_0x23e494),this[_0x405a0d(0x218)][_0x405a0d(0x1b5)](_0x5dfd49,_0x23e494);}),_0x47fa24(this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x1f5)]),this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x286)]))[_0x19c3d3(0x1d2)](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1ac)](_0x55e66b=>{const _0x2f1197=_0x19c3d3,_0x5f22be=_0x55e66b['getUnitId'](),_0xf64edf=this[_0x2f1197(0x218)][_0x2f1197(0x29c)](_0x5f22be);_0xf64edf&&(_0xf64edf['dispose'](),this[_0x2f1197(0x218)]['delete'](_0x5f22be));});}async[_0x4e6031(0x115)](_0xcdc1e6){const _0xe01a62=_0x4e6031,_0x30d860=await this['_collabSessionService']['requireSession'](_0xcdc1e6),_0x69fba3=this[_0xe01a62(0xed)][_0xe01a62(0x170)](Pe,_0xcdc1e6,_0x30d860);return _0x69fba3[_0xe01a62(0x1d4)](),_0x69fba3;}async['_startDocCollabCursor'](_0x43009c){const _0x1ad313=_0x4e6031,_0x138d81=await this[_0x1ad313(0x11f)][_0x1ad313(0x1c8)](_0x43009c),_0x2f9227=this['_injector']['createInstance'](Me,_0x43009c,_0x138d81);return _0x2f9227[_0x1ad313(0x1d4)](),_0x2f9227;}};H=Ei([me(0x0,_0x42b704),me(0x1,_0x296b66(_0x19dc78)),me(0x2,_0x296b66(_0x160800))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2d2dc0,_0x43cdc0){const _0x301ad5=_0x4e6031;let {radius:_0xb7db00,width:_0x3e0d4e,height:_0x10b73d}=_0x43cdc0;_0xb7db00=_0xb7db00!=null?_0xb7db00:0x0,_0x3e0d4e=_0x3e0d4e!=null?_0x3e0d4e:0x1e,_0x10b73d=_0x10b73d!=null?_0x10b73d:0x1e;let _0x46c57c=0x0,_0x33b70b=0x0,_0x216e13=0x0;_0x46c57c=_0x33b70b=_0x216e13=Math['min'](_0xb7db00,_0x3e0d4e/0x2,_0x10b73d/0x2),_0x2d2dc0[_0x301ad5(0x203)](),_0x2d2dc0[_0x301ad5(0x128)](_0x46c57c,0x0),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e-_0x33b70b,0x0),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x33b70b,_0x33b70b,_0x33b70b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e,_0x10b73d-_0x216e13),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x216e13,_0x10b73d-_0x216e13,_0x216e13,0x0,Math['PI']/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x10b73d),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x46c57c),_0x2d2dc0[_0x301ad5(0x1e2)](_0x46c57c,_0x46c57c,_0x46c57c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x136)](),_0x43cdc0[_0x301ad5(0x283)]&&(_0x2d2dc0[_0x301ad5(0x277)](),_0x2d2dc0['fillStyle']=_0x43cdc0[_0x301ad5(0x283)],_0x43cdc0['fillRule']===_0x301ad5(0x21e)?_0x2d2dc0[_0x301ad5(0x283)](_0x301ad5(0x21e)):_0x2d2dc0[_0x301ad5(0x283)](),_0x2d2dc0['restore']());}class ue extends _0x479116{constructor(_0x125644,_0x10218b){const _0x13c37c=_0x4e6031;super(_0x125644,_0x10218b),_(this,'color'),_(this,'text'),(this['color']=_0x10218b==null?void 0x0:_0x10218b['color'],this[_0x13c37c(0x16f)]=_0x10218b==null?void 0x0:_0x10218b[_0x13c37c(0x16f)]);}static[_0x4e6031(0x126)](_0x2a9a1f,_0x45c33e){const _0x50747f=_0x4e6031,{text:_0x12e0cb,color:_0x188a51}=_0x45c33e;_0x2a9a1f[_0x50747f(0x277)](),_0x2a9a1f[_0x50747f(0x10c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x514cc3=_0x2a9a1f[_0x50747f(0x188)](_0x12e0cb)[_0x50747f(0x154)],_0x54f345=Math['min'](_0x514cc3+0x2*ge,et);Oi(_0x2a9a1f,{'height':te,'radius':0x4,'width':_0x54f345,'fill':_0x188a51}),_0x2a9a1f['fillStyle']=_0x50747f(0x1e1);const _0x19da4a=ge,_0x474bf0=te-bi,_0x58fefa=et-0x2*ge;if(_0x514cc3>_0x58fefa){let _0x39cb54='',_0x2fafb9=0x0;for(const _0x647908 of _0x12e0cb){const _0xbbbd3a=_0x2a9a1f[_0x50747f(0x188)](_0x647908)[_0x50747f(0x154)];if(_0x2fafb9+_0xbbbd3a<=_0x58fefa-_0x2a9a1f[_0x50747f(0x188)](_0x50747f(0x15f))[_0x50747f(0x154)])_0x39cb54+=_0x647908,_0x2fafb9+=_0xbbbd3a;else{_0x39cb54+=_0x50747f(0x15f);break;}}_0x2a9a1f['fillText'](_0x39cb54,_0x19da4a,_0x474bf0);}else _0x2a9a1f[_0x50747f(0x2d9)](_0x12e0cb,_0x19da4a,_0x474bf0);_0x2a9a1f[_0x50747f(0x291)]();}[_0x4e6031(0x2c6)](_0x21adc2){const _0x426d32=_0x4e6031;ue[_0x426d32(0x126)](_0x21adc2,this);}}const ve='collab-text-anchor-',Ti=_0x4e6031(0x130),Ri=_0x4e6031(0x28c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x4e6031(0x13e);class tt{constructor(_0x1cb516,_0xcfe24f,_0x54fd0e,_0x1437ca){const _0x29db22=_0x4e6031;_(this,_0x29db22(0x28a),[]),_(this,_0x29db22(0x11b),null),_(this,_0x29db22(0x25e),null),_(this,_0x29db22(0x104),null),_(this,_0x29db22(0x290),null),_(this,_0x29db22(0x112),null),(this[_0x29db22(0x204)]=_0x1cb516,this[_0x29db22(0x190)]=_0xcfe24f,this[_0x29db22(0x1f6)]=_0x54fd0e,this['_document']=_0x1437ca,this[_0x29db22(0x281)]());}set[_0x4e6031(0x20a)](_0x4f4103){const _0xc9c47f=_0x4e6031;_0x4f4103?(this['_anchorDot']&&this[_0xc9c47f(0x104)][_0xc9c47f(0x244)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)][_0xc9c47f(0x13b)]()):(this[_0xc9c47f(0x104)]&&this[_0xc9c47f(0x104)][_0xc9c47f(0x13b)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)]['hide']());}[_0x4e6031(0x16b)](){const _0x5d2cce=_0x4e6031;for(const _0x4cfdf7 of this['_shapes'])_0x4cfdf7[_0x5d2cce(0x16b)]();this[_0x5d2cce(0x25e)]&&this[_0x5d2cce(0x25e)]['dispose'](),this[_0x5d2cce(0x104)]&&this[_0x5d2cce(0x104)]['dispose'](),this[_0x5d2cce(0x11b)]&&this['_anchor'][_0x5d2cce(0x16b)](),this[_0x5d2cce(0x112)]&&this[_0x5d2cce(0x112)]();}[_0x4e6031(0x281)](){const _0x4f6597=_0x4e6031;var _0x32ac6;const {_docSkeleton:_0x3047a6,_document:_0x82d13e}=this,{color:_0x59434c,name:_0x448541,ranges:_0x334644}=this[_0x4f6597(0x204)],_0x3d82e8=_0x82d13e['getOffsetConfig'](),{docsLeft:_0xdcc761,docsTop:_0x143d76}=_0x3d82e8,_0x5228d8=new _0x583414(_0x3d82e8,_0x3047a6);for(const {startOffset:_0x2337ae,endOffset:_0x1c89c9,rangeType:_0x2209f8,segmentId:_0x5ddb8f,segmentPage:_0x49e7b1,collapsed:_0x544a09,isActive:_0x3ef848}of _0x334644){const _0x3a5486=_0x3047a6[_0x4f6597(0x29d)](_0x2337ae,!0x0,_0x5ddb8f,_0x49e7b1);let _0x5d8adc=_0x3047a6[_0x4f6597(0x29d)](_0x1c89c9,!0x0,_0x5ddb8f,_0x49e7b1);if(_0x5d8adc==null&&(_0x5d8adc=_0x3047a6['findNodePositionByCharIndex'](_0x1c89c9-0x1,!0x1,_0x5ddb8f,_0x49e7b1)),_0x3ef848){const {contentBoxPointGroup:_0x2a177a}=_0x5228d8['getRangePointData'](_0x5d8adc,_0x5d8adc);if(_0x2a177a[_0x4f6597(0x2cf)]===0x0)continue;this[_0x4f6597(0x1ba)](_0x59434c,_0x2a177a,_0xdcc761,_0x143d76,_0x448541),this[_0x4f6597(0x112)]=this['_handleHover']();}if(_0x3a5486&&_0x5d8adc){if(_0x2209f8===_0x233267[_0x4f6597(0x15c)]){const _0x13493a=new _0x58ed54(_0x3d82e8,_0x3047a6),{pointGroup:_0x10608c}=(_0x32ac6=_0x13493a[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc))!=null?_0x32ac6:{};if(_0x10608c==null||_0x10608c['length']===0x0)continue;this[_0x4f6597(0x13a)](_0x59434c,_0x10608c,_0xdcc761,_0x143d76);}else{if(!_0x544a09){const {borderBoxPointGroup:_0x3fc8b8}=_0x5228d8[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc);if(_0x3fc8b8[_0x4f6597(0x2cf)]===0x0)continue;this['_drawTextRange'](_0x59434c,_0x3fc8b8,_0xdcc761,_0x143d76);}}}}}[_0x4e6031(0x1ba)](_0x457ee2,_0x1a961b,_0x18508e,_0x29620d,_0x3c72bd){const _0x219d8f=_0x4e6031,_0x1863b1=this[_0x219d8f(0x1b9)](_0x1a961b),{left:_0x785847,top:_0x1f7d8c,height:_0x2ecca0}=_0x1863b1,_0x53266=this[_0x219d8f(0x134)](),_0x113f4a=Ni/_0x53266,_0x1bbb24=new _0xcd54e(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d,'height':_0x2ecca0,'width':Di,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':_0x113f4a,'stroke':Ui,'evented':!0x0});this[_0x219d8f(0x11b)]=_0x1bbb24,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1bbb24,_0x487b36);const _0x1a7b87=new _0xcd54e(ve+_0x1b1371['generateRandomId'](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':0x0,'stroke':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'evented':!0x1});this[_0x219d8f(0x104)]=_0x1a7b87,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1a7b87,_0x487b36);const _0x5794d1=new ue(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-te,'text':_0x3c72bd,'color':_0x457ee2});this['_textBubble']=_0x5794d1,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x5794d1,_0x487b36),this['_hover']=!0x1;}[_0x4e6031(0x298)](){const _0x58252d=_0x4e6031,_0x1f8ec9=this['_anchor'][_0x58252d(0x292)]['subscribeEvent'](()=>{const _0x151c32=_0x58252d;this[_0x151c32(0x20a)]=!0x0;}),_0x32c0bc=this['_anchor'][_0x58252d(0x133)]['subscribeEvent'](()=>{const _0x3ed843=_0x58252d;this[_0x3ed843(0x290)]&&clearTimeout(this['_hideTimer']),this[_0x3ed843(0x290)]=setTimeout(()=>{const _0x183ee7=_0x3ed843;this[_0x183ee7(0x20a)]=!0x1;},0x7d0);});return()=>{const _0x5741d5=_0x58252d;_0x1f8ec9[_0x5741d5(0x200)](),_0x32c0bc[_0x5741d5(0x200)]();};}[_0x4e6031(0x2be)](_0x59daed,_0x2607a6,_0x84d768,_0x4459cb){const _0x1236bb=_0x4e6031,_0x10590e=new _0x3ee062(_0x59daed)[_0x1236bb(0x2c7)](0.2)[_0x1236bb(0x26d)](),_0xf12063=new _0x433705(Ti+_0x1b1371[_0x1236bb(0x1a6)](X),{'pointsGroup':_0x2607a6,'fill':_0x10590e||_0x1c8356(_0x57d465['black'],0.2),'left':_0x84d768,'top':_0x4459cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1236bb(0x28a)][_0x1236bb(0x181)](_0xf12063),this[_0x1236bb(0x190)][_0x1236bb(0x21c)](_0xf12063,_0x487b36);}['_drawRectRange'](_0x5b98a7,_0x5aba0c,_0x56fe76,_0xb8722c){const _0x3ce7f7=_0x4e6031,_0x330178=new _0x3ee062(_0x5b98a7)[_0x3ce7f7(0x2c7)](0.2)[_0x3ce7f7(0x26d)](),_0x48d7fb=new _0x433705(Ri+_0x1b1371['generateRandomId'](X),{'pointsGroup':_0x5aba0c,'fill':_0x330178||_0x1c8356(_0x57d465[_0x3ce7f7(0x139)],0.2),'left':_0x56fe76,'top':_0xb8722c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ce7f7(0x28a)]['push'](_0x48d7fb),this[_0x3ce7f7(0x190)][_0x3ce7f7(0x21c)](_0x48d7fb,_0x487b36);}['_getAnchorBounding'](_0x351de2){const _0x4c4840=_0x351de2[0x0],_0x13e228=_0x4c4840[0x0],_0x2e5e72=_0x4c4840[0x2],{x:_0x16fdd9,y:_0x3b3d36}=_0x13e228,{x:_0x519614,y:_0x294c6a}=_0x2e5e72;return{'left':_0x16fdd9,'top':_0x3b3d36,'width':_0x519614-_0x16fdd9,'height':_0x294c6a-_0x3b3d36};}[_0x4e6031(0x134)](){const _0x3018f0=_0x4e6031,{scaleX:_0x552f56,scaleY:_0x37abd3}=this['_scene'][_0x3018f0(0x18b)]();return Math[_0x3018f0(0x198)](_0x552f56,_0x37abd3);}}var Mi=Object[_0x4e6031(0x282)],Pi=(_0x5c5a9c,_0x389e73,_0x4a3c08,_0xc5dc17)=>{const _0xd75598=_0x4e6031;for(var _0x6d2a2d=_0xc5dc17>0x1?void 0x0:_0xc5dc17?Mi(_0x389e73,_0x4a3c08):_0x389e73,_0x280d33=_0x5c5a9c[_0xd75598(0x2cf)]-0x1,_0x457373;_0x280d33>=0x0;_0x280d33--)(_0x457373=_0x5c5a9c[_0x280d33])&&(_0x6d2a2d=_0x457373(_0x6d2a2d)||_0x6d2a2d);return _0x6d2a2d;},Q=(_0x5640b8,_0x2854c3)=>(_0x202ee6,_0x273250)=>_0x2854c3(_0x202ee6,_0x273250,_0x5640b8);function _0x580c(_0x55e9e1,_0x4e241d){const _0x3602ca=_0x3602();return _0x580c=function(_0x580c8c,_0x311900){_0x580c8c=_0x580c8c-0xde;let _0x4f8f55=_0x3602ca[_0x580c8c];return _0x4f8f55;},_0x580c(_0x55e9e1,_0x4e241d);}let we=class extends _0x3c0a88{constructor(_0x1604c5,_0x163635,_0x576155,_0xe40db3,_0x3e9d4f){const _0x2ebb7e=_0x4e6031;super(),_(this,_0x2ebb7e(0x275),[]),_(this,_0x2ebb7e(0x27e),[]),(this[_0x2ebb7e(0x253)]=_0x1604c5,this[_0x2ebb7e(0x2c9)]=_0x163635,this[_0x2ebb7e(0x16e)]=_0x576155,this[_0x2ebb7e(0x163)]=_0xe40db3,this[_0x2ebb7e(0x2a5)]=_0x3e9d4f,this['_init']());}[_0x4e6031(0x132)](){const _0x310f7e=_0x4e6031,_0x45c606=this['_context']['unitId'],_0x3c78d0=this[_0x310f7e(0x2c9)];this[_0x310f7e(0x1d0)](_0x2e96b5([this['_collabCursorController']['getCollabCursors$'](_0x45c606),this[_0x310f7e(0x2a5)][_0x310f7e(0x25b)]])[_0x310f7e(0x1d2)](_0x5e4f39(([_0x37510e,_0x480af9])=>({'skeleton':_0x3c78d0[_0x310f7e(0x26b)](),'cursors':[..._0x37510e['values']()][_0x310f7e(0x14d)](_0x43d05d=>({..._0x43d05d,'color':_0x480af9[_0x43d05d['color']]}))})))[_0x310f7e(0x1ac)](_0xcb04bf=>{const _0xe9a5bd=_0x310f7e;if(this['_removeCollabCursors'](),_0xcb04bf){const {skeleton:_0x538456,cursors:_0x28ee97}=_0xcb04bf;this[_0xe9a5bd(0x1b7)](_0x538456,_0x28ee97);}})),this[_0x310f7e(0x10f)](),this[_0x310f7e(0x12d)]();}[_0x4e6031(0x1b7)](_0x57e704,_0x1beee1){const _0x303921=_0x4e6031,{scene:_0x9dadf0,mainComponent:_0x5976fb}=this[_0x303921(0x253)],_0x5698c0=_0x1beee1[_0x303921(0x2d2)](_0x559193=>new tt(_0x559193,_0x9dadf0,_0x57e704,_0x5976fb));this['_cursorShapes']=_0x5698c0,this[_0x303921(0x27e)]=_0x1beee1;}[_0x4e6031(0x1c5)](){const _0x5492e3=_0x4e6031;this[_0x5492e3(0x241)]();const {scene:_0x256326,mainComponent:_0x536f5e}=this['_context'],_0x35ab3e=this[_0x5492e3(0x2c9)][_0x5492e3(0x26b)](),_0x21de09=this['_cursors']['map'](_0x215261=>new tt(_0x215261,_0x256326,_0x35ab3e,_0x536f5e));this[_0x5492e3(0x275)]=_0x21de09;}[_0x4e6031(0x241)](){const _0x39caa8=_0x4e6031;this[_0x39caa8(0x275)]['forEach'](_0x16db74=>_0x16db74[_0x39caa8(0x16b)]()),this[_0x39caa8(0x275)]=[];}['_initCommandExecutedListener'](){const _0x4d7923=_0x4e6031,_0x24b79e=[_0x33a759['id']];this[_0x4d7923(0x1d0)](this[_0x4d7923(0x163)][_0x4d7923(0x15d)](_0xbb13a9=>{const _0x34fd63=_0x4d7923;_0x24b79e['includes'](_0xbb13a9['id'])&&_0xbb13a9[_0x34fd63(0x23e)]['unitId']===this[_0x34fd63(0x253)][_0x34fd63(0x255)]&&this[_0x34fd63(0x1c5)]();}));}['_initResize'](){const _0x107c1f=_0x4e6031;this['disposeWithMe'](_0x51885d(this[_0x107c1f(0x253)]['engine'][_0x107c1f(0x230)])[_0x107c1f(0x1d2)](_0x3c099b(_0x22e511=>_0x22e511[_0x107c1f(0x258)]===_0x2b53c9[_0x107c1f(0xe4)]),_0x1c7116(0x10))[_0x107c1f(0x1ac)](()=>{const _0x3e9f64=_0x107c1f;this[_0x3e9f64(0x1c5)]();}));}};we=Pi([Q(0x1,_0x296b66(_0x52d715)),Q(0x2,_0x296b66(H)),Q(0x3,_0x32af02),Q(0x4,_0x296b66(_0x174a37))],we);const wi=0x1,Li=1.5;class Ai extends _0x479116{constructor(_0x2ed328,_0x2aea04){const _0x32537b=_0x4e6031;super(_0x2ed328,_0x2aea04),_(this,_0x32537b(0x1e3)),_(this,_0x32537b(0x207),!0x1),_(this,_0x32537b(0x186)),_(this,_0x32537b(0x27c),''),_(this,_0x32537b(0x22b),'top'),_(this,_0x32537b(0x25a)),(_0x2aea04&&this[_0x32537b(0x1df)](_0x2aea04),this[_0x32537b(0x292)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x0})),this[_0x32537b(0x133)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x1})));}[_0x4e6031(0x1df)](_0x1c78ec){const _0xfa5baa=_0x4e6031;var _0x3dbd5c,_0x147ac7,_0x12767d,_0x94f68e,_0xc2bbdc,_0x23b5af;this[_0xfa5baa(0x1e3)]=(_0x3dbd5c=_0x1c78ec[_0xfa5baa(0x10d)])!=null?_0x3dbd5c:this[_0xfa5baa(0x1e3)],this[_0xfa5baa(0x207)]=(_0x147ac7=_0x1c78ec[_0xfa5baa(0x226)])!=null?_0x147ac7:this[_0xfa5baa(0x207)],this[_0xfa5baa(0x186)]=(_0x12767d=_0x1c78ec['range'])!=null?_0x12767d:this[_0xfa5baa(0x186)],this[_0xfa5baa(0x27c)]=(_0x94f68e=_0x1c78ec[_0xfa5baa(0x2db)])!=null?_0x94f68e:this[_0xfa5baa(0x27c)],this[_0xfa5baa(0x22b)]=(_0xc2bbdc=_0x1c78ec[_0xfa5baa(0x15b)])!=null?_0xc2bbdc:this['_labelPosition'],this['_backgroundColor']=(_0x23b5af=_0x1c78ec[_0xfa5baa(0x1cf)])!=null?_0x23b5af:this[_0xfa5baa(0x25a)],this['transformByState']({'width':_0x1c78ec['width'],'height':_0x1c78ec['height']});}['onMouseMove'](_0x3f09bd){const _0x46da9e=_0x4e6031,{row:_0x4ee33c,column:_0xc9d377}=_0x3f09bd;if(_0x4ee33c>=this[_0x46da9e(0x186)][_0x46da9e(0xf1)]&&_0x4ee33c<=this[_0x46da9e(0x186)][_0x46da9e(0x1fe)]&&_0xc9d377>=this[_0x46da9e(0x186)][_0x46da9e(0x11a)]&&_0xc9d377<=this[_0x46da9e(0x186)][_0x46da9e(0x169)]){this[_0x46da9e(0x1df)]({'hovered':!0x0});return;}this[_0x46da9e(0x1df)]({'hovered':!0x1});}[_0x4e6031(0x254)](_0x33372c){return!0x1;}[_0x4e6031(0x2c6)](_0x19b2b9){const _0x2a3f3e=_0x4e6031;_0xcd54e[_0x2a3f3e(0x126)](_0x19b2b9,{'width':this[_0x2a3f3e(0x154)],'height':this[_0x2a3f3e(0x1ec)],'strokeWidth':Li,'stroke':this[_0x2a3f3e(0x1e3)],'evented':!0x1,'fill':this[_0x2a3f3e(0x25a)]}),this[_0x2a3f3e(0x207)]&&(_0x19b2b9['save'](),_0x19b2b9['transform'](0x1,0x0,0x0,0x1,this[_0x2a3f3e(0x154)],this[_0x2a3f3e(0x22b)]===_0x2a3f3e(0x2b5)?0x0:-0x14),ue[_0x2a3f3e(0x126)](_0x19b2b9,{'text':this[_0x2a3f3e(0x27c)],'color':this[_0x2a3f3e(0x1e3)]}),_0x19b2b9[_0x2a3f3e(0x291)]());}}var yi=Object[_0x4e6031(0x282)],$i=(_0x5ece49,_0x3197c0,_0x38fe12,_0x28f142)=>{const _0x3e19d1=_0x4e6031;for(var _0x1165b7=_0x28f142>0x1?void 0x0:_0x28f142?yi(_0x3197c0,_0x38fe12):_0x3197c0,_0x44381c=_0x5ece49[_0x3e19d1(0x2cf)]-0x1,_0x40edcd;_0x44381c>=0x0;_0x44381c--)(_0x40edcd=_0x5ece49[_0x44381c])&&(_0x1165b7=_0x40edcd(_0x1165b7)||_0x1165b7);return _0x1165b7;},pe=(_0x52b06c,_0x47d148)=>(_0x2808c6,_0x1e4b81)=>_0x47d148(_0x2808c6,_0x1e4b81,_0x52b06c);const xi=0x1389;let Le=class extends _0x3c0a88{constructor(_0xbdd771,_0x2cc2c6,_0x505650,_0x58b362){const _0x23e8f1=_0x4e6031;super(),_(this,_0x23e8f1(0x27e),new Set()),_(this,'_lastPointer',null),(this[_0x23e8f1(0x253)]=_0xbdd771,this['_sheetSkeletonManagerService']=_0x2cc2c6,this[_0x23e8f1(0x16e)]=_0x505650,this[_0x23e8f1(0x2a5)]=_0x58b362,this[_0x23e8f1(0x132)]());}[_0x4e6031(0x132)](){const _0x36fcbc=_0x4e6031;this[_0x36fcbc(0x13d)][_0x36fcbc(0x2a1)]['pipe'](_0x393ded(this['dispose$']),_0x1c35cc(_0x33948c=>{const _0x2f035a=_0x36fcbc;if(_0x33948c){const _0xc9c5d8=_0x33948c[_0x2f035a(0x159)];return _0x2e96b5(this['_collabCursorController'][_0x2f035a(0x1b6)](this[_0x2f035a(0x253)][_0x2f035a(0x255)]),this[_0x2f035a(0x2a5)][_0x2f035a(0x25b)])['pipe'](_0x5e4f39(([_0x26f6e7,_0x44a1dd])=>{const _0x4da847=_0x2f035a,_0x417e7c=new Map();return _0x26f6e7[_0x4da847(0x11e)]((_0x351650,_0x3dee6d)=>{const _0x5bd5e8=_0x4da847;if(_0x351650[_0x5bd5e8(0x1d1)]===_0xc9c5d8){const _0x41be5c={..._0x351650};_0x41be5c['color']=_0x44a1dd[_0x351650[_0x5bd5e8(0x10d)]],_0x417e7c[_0x5bd5e8(0x1b5)](_0x3dee6d,_0x41be5c);}}),{'skeleton':_0x33948c,'cursors':_0x417e7c};}));}return _0x4a2172({'skeleton':null,'cursors':new Map()});}))[_0x36fcbc(0x1ac)](({skeleton:_0x187473,cursors:_0x5130f5})=>{const _0x47f1ff=_0x36fcbc;this[_0x47f1ff(0x241)](),_0x187473&&this[_0x47f1ff(0x1b7)](_0x187473,_0x5130f5);}),this['_sheetSkeletonManagerService'][_0x36fcbc(0x2a1)][_0x36fcbc(0x1ac)](_0x5b28e7=>{const _0x2f772a=_0x36fcbc;if(_0x5b28e7==null)return;const {skeleton:_0x5e1c1b}=_0x5b28e7,{scene:_0x2c7370}=this[_0x2f772a(0x253)];_0x2c7370[_0x2f772a(0x2b2)]['subscribeEvent'](_0x1261cd(_0x45c466=>{const _0x1ce7e4=_0x2f772a;var _0x2cba5b,_0x1d1885;const {offsetX:_0x45f053,offsetY:_0x34c7f5}=_0x45c466,{x:_0x5e78ae,y:_0x11da58}=_0x2c7370['getRelativeToViewportCoord'](_0x57087f[_0x1ce7e4(0x2b4)]([_0x45f053,_0x34c7f5])),{scaleX:_0x293065,scaleY:_0x252d4e}=_0x2c7370[_0x1ce7e4(0x18b)](),_0xcde0f5=_0x2c7370[_0x1ce7e4(0x193)](_0x2f89be[_0x1ce7e4(0x109)]),_0x599a62=_0x2c7370[_0x1ce7e4(0x1b8)](_0x57087f[_0x1ce7e4(0x2b4)]([_0x5e78ae,_0x11da58]),_0xcde0f5),_0x3f7503=_0x5e1c1b['getCellPositionByOffset'](_0x45f053,_0x34c7f5,_0x293065,_0x252d4e,_0x599a62);((_0x2cba5b=this['_lastPointer'])==null?void 0x0:_0x2cba5b[_0x1ce7e4(0x1a9)])===_0x3f7503[_0x1ce7e4(0x1a9)]&&((_0x1d1885=this[_0x1ce7e4(0x21f)])==null?void 0x0:_0x1d1885[_0x1ce7e4(0xec)])===_0x3f7503[_0x1ce7e4(0xec)]||this[_0x1ce7e4(0x27e)]['forEach'](_0x1beaaa=>{const _0x1bc59b=_0x1ce7e4;_0x1beaaa[_0x1bc59b(0x205)](_0x3f7503);});},0x64));});}['_updateCollabCursors'](_0x5c5d6f,_0x625190){const _0x493532=_0x4e6031;var _0x3017eb;const _0x22f7ef=(_0x3017eb=this[_0x493532(0x13d)][_0x493532(0x11c)]())==null?void 0x0:_0x3017eb['skeleton'];if(!_0x22f7ef)return;const _0x18d315=this['_getSheetObject']();if(!_0x18d315)return;this[_0x493532(0x27e)][_0x493532(0x11e)](_0x69112e=>{const _0x360728=_0x493532;_0x69112e[_0x360728(0x12c)]();});const {scene:_0x3aa67e}=_0x18d315,_0x4e8e78=Bi(Array['from'](_0x625190[_0x493532(0x2b7)]()))[_0x493532(0x2d2)](_0x3d06ea=>{const _0x4574fb=_0x493532,{color:_0x5d8e7f,range:_0x179e0f,name:_0x5306f7,selection:_0x38227c,sheetID:_0x185cf7}=_0x3d06ea,{startColumn:_0x55e1ce,startRow:_0x58a259,endColumn:_0x42f08d,endRow:_0x869bb2}=_0x179e0f,_0x11c9b9=_0x1fb4d1(_0x58a259,_0x55e1ce,_0x3aa67e,_0x22f7ef),_0x1365b0=_0x1fb4d1(_0x869bb2,_0x42f08d,_0x3aa67e,_0x22f7ef),{columnHeaderHeightAndMarginTop:_0xfa5f60}=_0x22f7ef,{startX:_0x12dd60,startY:_0xb1210a}=_0x11c9b9,{endX:_0x39faea,endY:_0xaab2e4}=_0x1365b0,_0x430389=_0x39faea-_0x12dd60,_0x18be45=_0xaab2e4-_0xb1210a,_0x1a60f2={'labelPosition':_0xb1210a-_0xfa5f60>=te?_0x4574fb(0x150):'bottom','sheetID':_0x185cf7,'range':_0x179e0f,'color':_0x5d8e7f,'name':_0x5306f7,'selection':_0x38227c,'left':_0x12dd60,'top':_0xb1210a,'width':_0x430389,'height':_0x18be45,'evented':!0x1,'zIndex':xi};return new Ai(_0x5306f7,_0x1a60f2);});_0x3aa67e[_0x493532(0x103)](_0x4e8e78,wi),this[_0x493532(0x27e)]=new Set(_0x4e8e78);}[_0x4e6031(0x241)](){const _0x3f712f=_0x4e6031;var _0x486f2d;(_0x486f2d=this[_0x3f712f(0x27e)])==null||_0x486f2d['forEach'](_0x14c7d4=>_0x14c7d4[_0x3f712f(0x16b)]());}[_0x4e6031(0x1cb)](){const _0x4874cd=_0x4e6031;return _0x127de9(this[_0x4874cd(0x253)]['unit'],this[_0x4874cd(0x253)]);}};Le=$i([pe(0x1,_0x296b66(_0x4dae93)),pe(0x2,_0x296b66(H)),pe(0x3,_0x296b66(_0x174a37))],Le);function Bi(_0x3f7b2b){const _0xe7f040=_0x4e6031,_0x538eb6=new Map();return _0x3f7b2b[_0xe7f040(0x11e)](_0x3380b4=>{const _0x107afe=_0xe7f040;if(_0x538eb6[_0x107afe(0x221)](_0x3380b4[_0x107afe(0x296)])){const _0x7bc7c1=_0x538eb6[_0x107afe(0x29c)](_0x3380b4['selection']);_0x7bc7c1['name']+=',\x20'+_0x3380b4['name'];}else _0x538eb6[_0x107afe(0x1b5)](_0x3380b4['selection'],_0x3380b4);}),Array['from'](_0x538eb6[_0xe7f040(0x2b7)]());}var I=function(){const _0x4301a7=_0x4e6031;return I=Object['assign']||function(_0x243e65){const _0x9806cb=_0x580c;for(var _0x37714a,_0x295039=0x1,_0x128e93=arguments[_0x9806cb(0x2cf)];_0x295039<_0x128e93;_0x295039++){_0x37714a=arguments[_0x295039];for(var _0x29da0c in _0x37714a)Object[_0x9806cb(0x17c)]['hasOwnProperty'][_0x9806cb(0x284)](_0x37714a,_0x29da0c)&&(_0x243e65[_0x29da0c]=_0x37714a[_0x29da0c]);}return _0x243e65;},I[_0x4301a7(0x22c)](this,arguments);},ki=function(_0x119410,_0x3a5a20){const _0x40f84f=_0x4e6031;var _0x54d104={};for(var _0x13446c in _0x119410)Object[_0x40f84f(0x17c)][_0x40f84f(0x131)]['call'](_0x119410,_0x13446c)&&_0x3a5a20[_0x40f84f(0x233)](_0x13446c)<0x0&&(_0x54d104[_0x13446c]=_0x119410[_0x13446c]);if(_0x119410!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1448a9=0x0,_0x13446c=Object[_0x40f84f(0x2c0)](_0x119410);_0x1448a9<_0x13446c['length'];_0x1448a9++)_0x3a5a20['indexOf'](_0x13446c[_0x1448a9])<0x0&&Object[_0x40f84f(0x17c)][_0x40f84f(0x1c7)]['call'](_0x119410,_0x13446c[_0x1448a9])&&(_0x54d104[_0x13446c[_0x1448a9]]=_0x119410[_0x13446c[_0x1448a9]]);}return _0x54d104;},We=_0x185006(function(_0x1fb935,_0x1af906){const _0x6c82c=_0x4e6031;var _0x1d623d=_0x1fb935[_0x6c82c(0x29e)],_0x496420=_0x1fb935['id'],_0x4cec35=_0x1fb935[_0x6c82c(0x147)],_0x4028de=_0x1fb935['extend'],_0x37a278=ki(_0x1fb935,[_0x6c82c(0x29e),'id',_0x6c82c(0x147),_0x6c82c(0x11d)]),_0x114cfc='univerjs-icon\x20univerjs-icon-'['concat'](_0x496420,'\x20')[_0x6c82c(0x118)](_0x4cec35||'')[_0x6c82c(0x12b)](),_0x344a1b=_0x1055b0('_'[_0x6c82c(0x118)](Wi()));return Nt(_0x1d623d,''[_0x6c82c(0x118)](_0x496420),{'defIds':_0x1d623d['defIds'],'idSuffix':_0x344a1b['current']},I({'ref':_0x1af906,'className':_0x114cfc},_0x37a278),_0x4028de);});function Nt(_0x3f44cd,_0x33d8a3,_0x10a333,_0xddfee9,_0x51d9fe){const _0x2f41be=_0x4e6031;return _0xb27f2a(_0x3f44cd[_0x2f41be(0x21b)],I(I({'key':_0x33d8a3},Hi(_0x3f44cd,_0x10a333,_0x51d9fe)),_0xddfee9),(ji(_0x3f44cd,_0x10a333)[_0x2f41be(0x185)]||[])[_0x2f41be(0x2d2)](function(_0x125c01,_0x46ffd2){const _0x634c31=_0x2f41be;return Nt(_0x125c01,''['concat'](_0x33d8a3,'-')[_0x634c31(0x118)](_0x3f44cd['tag'],'-')[_0x634c31(0x118)](_0x46ffd2),_0x10a333,void 0x0,_0x51d9fe);}));}function Hi(_0x5a244d,_0x418ab2,_0x1880e0){const _0xe1f0f1=_0x4e6031;var _0x42214d=I({},_0x5a244d['attrs']);_0x1880e0!=null&&_0x1880e0[_0xe1f0f1(0x1c9)]&&_0x42214d[_0xe1f0f1(0x283)]===_0xe1f0f1(0x1c9)&&(_0x42214d[_0xe1f0f1(0x283)]=_0x1880e0['colorChannel1']),_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x2a3)&&_0x42214d['id']&&(_0x42214d['id']=_0x42214d['id']+_0x418ab2[_0xe1f0f1(0x232)]),Object[_0xe1f0f1(0x2bc)](_0x42214d)['forEach'](function(_0x315536){const _0x54412f=_0xe1f0f1;var _0x38a8b5=_0x315536[0x0],_0x42aab4=_0x315536[0x1];_0x38a8b5==='mask'&&typeof _0x42aab4=='string'&&(_0x42214d[_0x38a8b5]=_0x42aab4[_0x54412f(0x172)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x418ab2[_0x54412f(0x232)],')')));});var _0x5f0545=_0x418ab2['defIds'];return!_0x5f0545||_0x5f0545[_0xe1f0f1(0x2cf)]===0x0||(_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x125)&&_0x42214d['xlink:href']&&(_0x42214d[_0xe1f0f1(0x2c2)]=_0x42214d[_0xe1f0f1(0x2c2)]+_0x418ab2[_0xe1f0f1(0x232)]),Object['entries'](_0x42214d)['forEach'](function(_0x67d810){const _0x167e29=_0xe1f0f1;var _0x54f7c2=_0x67d810[0x0],_0x84d959=_0x67d810[0x1];typeof _0x84d959==_0x167e29(0x216)&&(_0x42214d[_0x54f7c2]=_0x84d959[_0x167e29(0x172)](/url\(#(.*)\)/,_0x167e29(0x13c)['concat'](_0x418ab2['idSuffix'],')')));})),_0x42214d;}function ji(_0x19250e,_0x3b643b){const _0x2e2bf0=_0x4e6031;var _0x5023e7,_0x363fa8=_0x3b643b[_0x2e2bf0(0x18d)];return!_0x363fa8||_0x363fa8[_0x2e2bf0(0x2cf)]===0x0?_0x19250e:_0x19250e[_0x2e2bf0(0x21b)]===_0x2e2bf0(0x1ed)&&(!((_0x5023e7=_0x19250e[_0x2e2bf0(0x185)])===null||_0x5023e7===void 0x0)&&_0x5023e7[_0x2e2bf0(0x2cf)])?I(I({},_0x19250e),{'children':_0x19250e[_0x2e2bf0(0x185)][_0x2e2bf0(0x2d2)](function(_0xdcb64c){const _0x41136d=_0x2e2bf0;return typeof _0xdcb64c[_0x41136d(0x1ee)]['id']==_0x41136d(0x216)&&_0x363fa8&&_0x363fa8[_0x41136d(0x233)](_0xdcb64c[_0x41136d(0x1ee)]['id'])>-0x1?I(I({},_0xdcb64c),{'attrs':I(I({},_0xdcb64c[_0x41136d(0x1ee)]),{'id':_0xdcb64c[_0x41136d(0x1ee)]['id']+_0x3b643b[_0x41136d(0x232)]})}):_0xdcb64c;})}):_0x19250e;}function Wi(){const _0x916097=_0x4e6031;return Math[_0x916097(0x1c4)]()[_0x916097(0x236)](0x24)[_0x916097(0x106)](0x2,0x8);}We[_0x4e6031(0x16c)]=_0x4e6031(0xe3);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4e6031(0x1e0),'width':'1em','height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e6031(0x10e)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'d':_0x4e6031(0x2a8),'strokeLinecap':_0x4e6031(0x122),'strokeLinejoin':_0x4e6031(0x122),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x2ab)},'children':[{'tag':'path','attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7)}}]}]}],'defIds':[_0x4e6031(0x2ab)]},Ut=_0x185006(function(_0x5327ee,_0x38579a){const _0x2ff7a7=_0x4e6031;return _0xb27f2a(We,Object[_0x2ff7a7(0x27b)]({},_0x5327ee,{'id':'off-line-single','ref':_0x38579a,'icon':Fi}));});Ut['displayName']='OffLineSingle';var Yi={'tag':_0x4e6031(0x285),'attrs':{'fill':_0x4e6031(0x2ca),'viewBox':'0\x200\x2017\x2016','width':_0x4e6031(0x28d),'height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'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':_0x4e6031(0x122),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x138)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7),'transform':_0x4e6031(0x19a)}}]}]}],'defIds':[_0x4e6031(0x138)]},Mt=_0x185006(function(_0x29d114,_0x5c76b2){const _0x1713b3=_0x4e6031;return _0xb27f2a(We,Object[_0x1713b3(0x27b)]({},_0x29d114,{'id':_0x1713b3(0x2cc),'ref':_0x5c76b2,'icon':Yi}));});Mt[_0x4e6031(0x16c)]=_0x4e6031(0x2c1);const Vi='univer-online-status-icon',Xi='univer-online-status-title',Gi=_0x4e6031(0x146),Ki='univer-online',zi=_0x4e6031(0x17e),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x39adbc){const _0x104b83=_0x4e6031;switch(_0x39adbc){case _0x15a744[_0x104b83(0xe9)]:return _0x104b83(0x259);case _0x15a744[_0x104b83(0x2c3)]:return _0x104b83(0xff);case _0x15a744[_0x104b83(0xf2)]:return'collabStatus.fetchMiss';case _0x15a744['NOT_COLLAB']:return _0x104b83(0x27d);case _0x15a744[_0x104b83(0x2ae)]:case _0x15a744[_0x104b83(0x2aa)]:return'collabStatus.syncing';case _0x15a744['SYNCED']:case _0x15a744['PENDING']:return _0x104b83(0x201);}}function Zi(_0x3bb723){const _0x50f178=_0x4e6031,{status$:_0x33d48}=_0x3bb723,_0x38c6a0=_0x5aab09(_0x33d48,_0x15a744['NOT_COLLAB']),_0xc4897a=_0x2b87be(_0x5c3969),_0x1d37ee=_0x2b87be(_0x160800),_0x308d4a=_0x38c6a0!==_0x15a744[_0x50f178(0xe9)],_0x52ee6e=_0xc4897a['t'](Ji(_0x38c6a0)),_0x258d85=_0x1098dc(G['onlineStatus'],{[G[_0x50f178(0x19c)]]:_0x308d4a,[G[_0x50f178(0x1e6)]]:!_0x308d4a}),_0x3df1c6=_0x308d4a?_0xd6f84a(Mt,{}):_0xd6f84a(Ut,{}),_0x1381cc=_0x45ca34(()=>{const _0x4b59bc=_0x50f178;_0x308d4a||_0x1d37ee[_0x4b59bc(0x175)]();},[_0x308d4a,_0x1d37ee]);function _0x36bd44(){const _0x46209d=_0x50f178;return _0x1c4bb4('div',{'className':_0x1098dc(_0x258d85,'univer-flex\x20univer-items-center'),'onClick':_0x1381cc,'children':[_0xd6f84a(_0x46209d(0x1a5),{'className':G[_0x46209d(0x177)],'children':_0x3df1c6}),_0xd6f84a(_0x46209d(0x1a5),{'className':G['onlineStatusTitle'],'children':_0x52ee6e})]});}return _0x308d4a?_0x36bd44():_0xd6f84a(_0x1ef8f6,{'title':_0xc4897a['t']('collab-client.tooltip.reconnect'),'children':_0x36bd44()});}var Qi=Object[_0x4e6031(0x282)],qi=(_0x1631fa,_0x29c408,_0x38c619,_0x43f5ab)=>{const _0x27288a=_0x4e6031;for(var _0x2f252f=_0x43f5ab>0x1?void 0x0:_0x43f5ab?Qi(_0x29c408,_0x38c619):_0x29c408,_0x22e912=_0x1631fa[_0x27288a(0x2cf)]-0x1,_0x6377c3;_0x22e912>=0x0;_0x22e912--)(_0x6377c3=_0x1631fa[_0x22e912])&&(_0x2f252f=_0x6377c3(_0x2f252f)||_0x2f252f);return _0x2f252f;},q=(_0x36598d,_0x266109)=>(_0x27bb50,_0x3bfe43)=>_0x266109(_0x27bb50,_0x3bfe43,_0x36598d);let se=class extends _0x45fd26{constructor(_0x4e5039,_0x45f608,_0x141bd9,_0x4aca32){const _0x1ff02b=_0x4e6031;super(),_(this,_0x1ff02b(0x209),new _0x4cb6b4(_0x15a744[_0x1ff02b(0x2a0)])),(this[_0x1ff02b(0x12a)]=_0x4e5039,this[_0x1ff02b(0xed)]=_0x45f608,this[_0x1ff02b(0x22e)]=_0x141bd9,this['_uiPartsService']=_0x4aca32,this[_0x1ff02b(0x1d7)](),this[_0x1ff02b(0x178)]());}[_0x4e6031(0x178)](){const _0x29fff1=_0x4e6031;this[_0x29fff1(0x1d0)](this[_0x29fff1(0x12a)][_0x29fff1(0x2af)][_0x29fff1(0x1d2)](_0xa4766d(()=>{const _0x289aaf=_0x29fff1,_0x31ef57=this[_0x289aaf(0x12a)]['getFocusedUnit']();return _0x31ef57?this[_0x289aaf(0x22e)][_0x289aaf(0x29b)](_0x31ef57[_0x289aaf(0x220)]()):_0x4a2172(null);}),_0xa4766d(_0x57f279=>_0x57f279?_0x57f279[_0x29fff1(0x276)]:_0x4a2172(_0x15a744[_0x29fff1(0x2a0)])))[_0x29fff1(0x1ac)](_0x5d1f70=>{const _0x17866f=_0x29fff1;this['_status$'][_0x17866f(0x278)](_0x5d1f70);}));}['_initStatusComponent'](){const _0x10ec18=_0x4e6031;this['disposeWithMe'](this[_0x10ec18(0x10b)][_0x10ec18(0x1a0)](_0x1cb5cc[_0x10ec18(0x23a)],()=>_0x51ba9c(en({'status$':this[_0x10ec18(0x209)][_0x10ec18(0x1c3)]()}),this[_0x10ec18(0xed)])));}};se=qi([q(0x0,_0x42b704),q(0x1,_0x296b66(_0x19dc78)),q(0x2,_0x296b66(_0x27a615)),q(0x3,_0x254e4c)],se);function en(_0x419717){const {status$:_0x12c691}=_0x419717;return function(){return _0xd6f84a(Zi,{'status$':_0x12c691});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x2b9532,_0x422259,_0x1eef7c,_0x49c0f)=>{for(var _0x19e6c0=_0x49c0f>0x1?void 0x0:_0x49c0f?tn(_0x422259,_0x1eef7c):_0x422259,_0x26efc5=_0x2b9532['length']-0x1,_0x1d64b3;_0x26efc5>=0x0;_0x26efc5--)(_0x1d64b3=_0x2b9532[_0x26efc5])&&(_0x19e6c0=_0x1d64b3(_0x19e6c0)||_0x19e6c0);return _0x19e6c0;},B=(_0x234910,_0x3a4b46)=>(_0x550135,_0xc5829d)=>_0x3a4b46(_0x550135,_0xc5829d,_0x234910);let ie=class extends _0x45fd26{constructor(_0x59fd95,_0x1d4977,_0x4b771c,_0x4add68,_0x3c8b38,_0x33a975){const _0x416fba=_0x4e6031;super(),this[_0x416fba(0x240)]=_0x59fd95,this[_0x416fba(0x2c8)]=_0x1d4977,this['_collaborationUIEventService']=_0x4b771c,this['_messageService']=_0x4add68,this[_0x416fba(0x215)]=_0x3c8b38,this[_0x416fba(0x145)]=_0x33a975,this[_0x416fba(0x202)](),this[_0x416fba(0x1f7)]();}[_0x4e6031(0x202)](){const _0x47b17a=_0x4e6031;this[_0x47b17a(0x1d0)](this[_0x47b17a(0x240)][_0x47b17a(0x160)](()=>{const _0x1f1a5b=_0x47b17a;if(this[_0x1f1a5b(0x2c8)][_0x1f1a5b(0x148)][_0x1f1a5b(0x250)])return this[_0x1f1a5b(0x145)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4e6031(0x1f7)](){const _0x1ac28b=_0x4e6031;this[_0x1ac28b(0x1d0)](this[_0x1ac28b(0x223)][_0x1ac28b(0xf3)][_0x1ac28b(0x1ac)](_0x1e5e87=>{const _0x5e5517=_0x1ac28b;_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x157)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a['Warning'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1a4))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x1b4)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xe7))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x272)]&&this[_0x5e5517(0x215)][_0x5e5517(0x13b)]({'title':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x270)),'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1c0)),'type':_0x5e5517(0x2ba),'duration':0x0}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x2c3)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x1e5e87[_0x5e5517(0xee)]+')'}),_0x1e5e87['id']===_0xbd7dc5['JOIN_ROOM_FAILED']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this['_localeService']['t'](_0x1e5e87['data']||'')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED_RETRY']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t']('session.will-retry')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED']&&this['_messageService'][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xfa))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x194)]&&this[_0x5e5517(0x1dd)]['show']({'type':_0xa1687a['Error'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x15a))});}));}};ie=sn([B(0x0,_0x2d817e),B(0x1,_0x369419),B(0x2,_0x296b66(_0x55b9f5)),B(0x3,_0x5917e7),B(0x4,_0x5b0770),B(0x5,_0x296b66(_0x5c3969))],ie);const nn=_0x4e6031(0xf8),st={},Pt=_0x28476e(_0x4e6031(0x1c2));var rn=Object[_0x4e6031(0x282)],on=(_0x219ccf,_0x2b1a1d,_0x57cef7,_0x1c4c44)=>{const _0x139801=_0x4e6031;for(var _0x32cd96=_0x1c4c44>0x1?void 0x0:_0x1c4c44?rn(_0x2b1a1d,_0x57cef7):_0x2b1a1d,_0x55255c=_0x219ccf[_0x139801(0x2cf)]-0x1,_0x5ba04a;_0x55255c>=0x0;_0x55255c--)(_0x5ba04a=_0x219ccf[_0x55255c])&&(_0x32cd96=_0x5ba04a(_0x32cd96)||_0x32cd96);return _0x32cd96;},K=(_0x53d148,_0x4558f5)=>(_0x1b6a4f,_0x5572e3)=>_0x4558f5(_0x1b6a4f,_0x5572e3,_0x53d148);let ne=class extends _0x3c0a88{constructor(_0x45f894,_0x13b677,_0x41464e,_0x5d9bdb,_0x2113ba){const _0x5fc666=_0x4e6031;super(),this[_0x5fc666(0x149)]=_0x45f894,this[_0x5fc666(0x246)]=_0x13b677,this['_commandService']=_0x41464e,this[_0x5fc666(0x294)]=_0x5d9bdb,_0x2113ba?_0x2113ba==null||_0x2113ba[_0x5fc666(0x1e4)]()[_0x5fc666(0x1bf)](()=>this[_0x5fc666(0x132)]()):(this[_0x5fc666(0x246)][_0x5fc666(0x2d5)](_0x5fc666(0x214),_0x5fc666(0x26c)),this[_0x5fc666(0x132)]());}async[_0x4e6031(0x132)](){const _0x171fd6=_0x4e6031,_0x1ed76e=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x2b1)),_0x312d06=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x258)),_0x59d543=this[_0x171fd6(0x149)]['getParam'](_0x171fd6(0x269));if(!_0x1ed76e||!_0x312d06){this[_0x171fd6(0x246)][_0x171fd6(0x2d5)](_0x171fd6(0x214),_0x171fd6(0x1cc));return;}const _0xcea1d3=await this[_0x171fd6(0x294)][_0x171fd6(0x260)](_0x1ed76e,Number(_0x312d06),_0x59d543);_0xcea1d3&&_0xcea1d3 instanceof _0x50af68&&this[_0x171fd6(0x158)](_0xcea1d3);}async[_0x4e6031(0x158)](_0x3b6f32){const _0x179181=_0x4e6031;await this['_updateSubUnitFromURLParams'](_0x3b6f32),_0x3b6f32[_0x179181(0x196)][_0x179181(0x1d2)](_0x26eda4(this[_0x179181(0x2d1)]))[_0x179181(0x1ac)](_0x5acdd9=>{const _0x20075b=_0x179181;_0x5acdd9&&this[_0x20075b(0x267)](_0x5acdd9);}),this[_0x179181(0x149)][_0x179181(0x239)][_0x179181(0x1d2)](_0x26eda4(this['dispose$']))[_0x179181(0x1ac)](()=>this[_0x179181(0x2dc)](_0x3b6f32));}['_updateURLWithCurrentState'](_0x10ee0c,_0x197496=!0x1){const _0x411427=_0x4e6031,_0x27d47b=this[_0x411427(0x149)][_0x411427(0x2bd)](_0x411427(0x269));_0x10ee0c[_0x411427(0x24d)]()!==_0x27d47b&&this[_0x411427(0x149)]['setParam'](_0x411427(0x269),_0x10ee0c[_0x411427(0x24d)](),_0x197496);}async['_updateSubUnitFromURLParams'](_0x30ee5c){const _0x21f45e=_0x4e6031;var _0x3460c5;const _0x116547=this[_0x21f45e(0x149)][_0x21f45e(0x2bd)](_0x21f45e(0x269));if(!_0x116547||!_0x30ee5c[_0x21f45e(0x121)](_0x116547)){const _0x4b05d2=_0x30ee5c[_0x21f45e(0x2b8)]()[0x0],_0x180b23=_0x30ee5c[_0x21f45e(0x121)](_0x4b05d2);if(!_0x180b23)return;this[_0x21f45e(0x267)](_0x180b23,!0x0),await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x4b05d2});return;}((_0x3460c5=_0x30ee5c[_0x21f45e(0x14a)]())==null?void 0x0:_0x3460c5['getSheetId']())!==_0x116547&&await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x116547});}};ne=on([K(0x0,Pt),K(0x1,_0x30d997),K(0x2,_0x32af02),K(0x3,_0x296b66(_0x3f6054)),K(0x4,_0x470714(_0xec868f))],ne);var an=Object[_0x4e6031(0x282)],cn=(_0x3288d9,_0x265f16,_0x117111,_0x200baf)=>{const _0x5e8ad0=_0x4e6031;for(var _0x498ad9=_0x200baf>0x1?void 0x0:_0x200baf?an(_0x265f16,_0x117111):_0x265f16,_0x2e7250=_0x3288d9[_0x5e8ad0(0x2cf)]-0x1,_0x38cfb1;_0x2e7250>=0x0;_0x2e7250--)(_0x38cfb1=_0x3288d9[_0x2e7250])&&(_0x498ad9=_0x38cfb1(_0x498ad9)||_0x498ad9);return _0x498ad9;},Ce=(_0x4e4a03,_0x1fc202)=>(_0x438443,_0x13c293)=>_0x1fc202(_0x438443,_0x13c293,_0x4e4a03);let re=class{constructor(_0x408152,_0x350a28,_0x488534){const _0x5da404=_0x4e6031;this[_0x5da404(0xed)]=_0x408152,this['_transformService']=_0x350a28,this[_0x5da404(0x20c)]=_0x488534;}[_0x4e6031(0x19f)](_0x22bc71){const _0x4c3476=_0x4e6031;this[_0x4c3476(0x14f)](_0x22bc71),this[_0x4c3476(0xfb)](_0x22bc71);}['transformRemoteChangeset'](_0xcafcf4){const _0x3bccc2=_0x4e6031,{unitID:_0x441c2f}=_0xcafcf4,_0x1c00de=this['_renderManagerService'][_0x3bccc2(0x265)](_0x441c2f)[_0x3bccc2(0x123)](_0x20ce97),{redoCache:_0x49e9dc}=_0x1c00de['getUndoRedoMutationParamsCache']();if(_0x49e9dc[_0x3bccc2(0x2cf)]===0x0)return _0xcafcf4;let _0x161024=_0x1b1371[_0x3bccc2(0x256)](_0xcafcf4[_0x3bccc2(0x1ea)][0x0]);for(let _0x5dba2c=0x0;_0x5dba2c<_0x49e9dc['length'];_0x5dba2c++){const _0x1a2bfc={'id':'doc.mutation.rich-text-editing','params':{..._0x49e9dc[_0x5dba2c]}},_0x16c198=this[_0x3bccc2(0x12e)][_0x3bccc2(0x179)](_0x161024,_0x1a2bfc,!0x1);if(_0x3f9e93(_0x16c198))throw _0x16c198[_0x3bccc2(0x2ba)];_0x161024=_0x16c198[_0x3bccc2(0x235)];}return{..._0x1b1371[_0x3bccc2(0x256)](_0xcafcf4),'mutations':[_0x161024]};}[_0x4e6031(0x14f)](_0x220c1a){const _0x4dd3f9=_0x4e6031,{unitID:_0x566d6f}=_0x220c1a,_0x5b9cc5=this[_0x4dd3f9(0x20c)][_0x4dd3f9(0x265)](_0x566d6f)[_0x4dd3f9(0x123)](_0x20ce97),{undoCache:_0x466a82,redoCache:_0x865039}=_0x5b9cc5['getUndoRedoMutationParamsCache']();if(_0x466a82[_0x4dd3f9(0x2cf)]===0x0||_0x865039[_0x4dd3f9(0x2cf)]===0x0)return;const _0x503fde=[],_0xdc3389=[];let _0x5aded0=_0x1b1371[_0x4dd3f9(0x256)](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]),_0x5cc339=_0x1b1371['deepClone'](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]);for(let _0x7ae1d4=_0x466a82[_0x4dd3f9(0x2cf)]-0x1;_0x7ae1d4>=0x0;_0x7ae1d4--){const _0x395dd0={'id':_0x4dd3f9(0x288),'params':{..._0x466a82[_0x7ae1d4]}},_0x583262={'id':'doc.mutation.rich-text-editing','params':{..._0x865039[_0x7ae1d4]}},_0x50f751=this[_0x4dd3f9(0x12e)]['transformMutation'](_0x5aded0,_0x395dd0,!0x1),_0x21a155=this[_0x4dd3f9(0x12e)][_0x4dd3f9(0x179)](_0x5cc339,_0x583262,!0x1);if(_0x3f9e93(_0x50f751))throw _0x50f751['error'];if(_0x3f9e93(_0x21a155))throw _0x21a155[_0x4dd3f9(0x2ba)];_0x503fde[_0x4dd3f9(0xe2)](_0x50f751[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0xdc3389[_0x4dd3f9(0xe2)](_0x21a155[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0x5aded0=_0x50f751[_0x4dd3f9(0x235)],_0x5cc339=_0x21a155[_0x4dd3f9(0x235)];}_0x5b9cc5[_0x4dd3f9(0x2d3)]({'undoCache':_0x503fde,'redoCache':_0xdc3389});}['_transformPreviousActiveRange'](_0x309efc){const _0x3ffd7b=_0x4e6031,{unitID:_0xe5f9b6}=_0x309efc,_0xdd9d29=this['_renderManagerService'][_0x3ffd7b(0x265)](_0xe5f9b6)[_0x3ffd7b(0x123)](_0x20ce97),_0x4b09bf=_0xdd9d29['getActiveRange']();if(_0x4b09bf==null)return;const _0x5769c5=[{'id':_0x3ffd7b(0x288),'params':{'unitId':_0x309efc['unitID'],'actions':null,'textRanges':[_0x4b09bf]}}],_0x2c21ce=this[_0x3ffd7b(0x12e)][_0x3ffd7b(0x156)](_0x309efc,_0x5769c5);if(!_0x38ffbf(_0x2c21ce))throw _0x2c21ce[_0x3ffd7b(0x2ba)];const _0x1494ed=_0x2c21ce[_0x3ffd7b(0x129)][0x0][_0x3ffd7b(0x23e)][_0x3ffd7b(0x152)];Array[_0x3ffd7b(0x224)](_0x1494ed)&&_0x1494ed[_0x3ffd7b(0x2cf)]&&_0xdd9d29[_0x3ffd7b(0x24c)](_0x1494ed[0x0]);}};re=cn([Ce(0x0,_0x296b66(_0x19dc78)),Ce(0x1,_0x15804e),Ce(0x2,_0x31453e)],re);var ln=Object[_0x4e6031(0x282)],_n=(_0x3ab1ad,_0x355129,_0x537507,_0x5dd70e)=>{const _0x208698=_0x4e6031;for(var _0x51de7c=_0x5dd70e>0x1?void 0x0:_0x5dd70e?ln(_0x355129,_0x537507):_0x355129,_0x25d200=_0x3ab1ad[_0x208698(0x2cf)]-0x1,_0x23ada0;_0x25d200>=0x0;_0x25d200--)(_0x23ada0=_0x3ab1ad[_0x25d200])&&(_0x51de7c=_0x23ada0(_0x51de7c)||_0x51de7c);return _0x51de7c;},Ee=(_0xfabc74,_0x5154f6)=>(_0x3b61af,_0x1c76db)=>_0x5154f6(_0x3b61af,_0x1c76db,_0xfabc74);let oe=class{constructor(_0x2167fc,_0x64d479,_0x7e28e8){const _0x28ddc5=_0x4e6031;this[_0x28ddc5(0xed)]=_0x2167fc,this[_0x28ddc5(0x12e)]=_0x64d479,this[_0x28ddc5(0x243)]=_0x7e28e8;}[_0x4e6031(0x21a)](_0x1d8e11){this['_transformHistoryAndStateStack'](_0x1d8e11);}[_0x4e6031(0x19e)](_0x5ab622){const _0x31eb4c=_0x4e6031,{unitID:_0x4e26a2}=_0x5ab622,{collaboration:_0x5a8cfc}=this[_0x31eb4c(0x243)][_0x31eb4c(0x14e)](_0x4e26a2);if(_0x5a8cfc[_0x31eb4c(0x2cf)]===0x0)return _0x5ab622;let _0x42787c=_0x1b1371[_0x31eb4c(0x256)](_0x5ab622[_0x31eb4c(0x1ea)][0x0]);for(let _0x5b156b=0x0;_0x5b156b<_0x5a8cfc[_0x31eb4c(0x2cf)];_0x5b156b++){const _0x32d46b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a8cfc[_0x5b156b][_0x31eb4c(0x255)],..._0x5a8cfc[_0x5b156b][_0x31eb4c(0x22a)]}},_0x14d9dc=this[_0x31eb4c(0x12e)][_0x31eb4c(0x179)](_0x42787c,_0x32d46b,!0x1);if(_0x3f9e93(_0x14d9dc))throw _0x14d9dc[_0x31eb4c(0x2ba)];_0x42787c=_0x14d9dc[_0x31eb4c(0x235)];}return{..._0x1b1371[_0x31eb4c(0x256)](_0x5ab622),'mutations':[_0x42787c]};}[_0x4e6031(0x19d)](_0x156def){const _0x5e2252=_0x4e6031,{unitID:_0x564857}=_0x156def,{history:_0x3035d7,collaboration:_0x449d25}=this[_0x5e2252(0x243)][_0x5e2252(0x14e)](_0x564857);if(_0x3035d7['length']===0x0&&_0x449d25['length']===0x0)return;const _0x9206b8=[],_0x44a91b=[];let _0x503405=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]);for(let _0x8703fe=_0x3035d7[_0x5e2252(0x2cf)]-0x1;_0x8703fe>=0x0;_0x8703fe--){const _0x6eebb7={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe]['undoState']}},_0x3c3c33={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe][_0x5e2252(0x22a)]}},_0x5ea52a=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x503405,_0x6eebb7,!0x1),_0x5a3b1c=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x3c3c33,!0x1);if(_0x3f9e93(_0x5ea52a))throw _0x5ea52a['error'];if(_0x3f9e93(_0x5a3b1c))throw _0x5a3b1c[_0x5e2252(0x2ba)];_0x9206b8['unshift']({..._0x3035d7[_0x8703fe],'undoState':_0x5ea52a[_0x5e2252(0x129)]['params'],'redoState':_0x5a3b1c['m2Prime']['params']}),_0x503405=_0x5ea52a[_0x5e2252(0x235)],_0x546c0a=_0x5a3b1c[_0x5e2252(0x235)];}_0x503405=_0x1b1371['deepClone'](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def['mutations'][0x0]);for(let _0x36bb62=_0x449d25['length']-0x1;_0x36bb62>=0x0;_0x36bb62--){const _0x30f833={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62][_0x5e2252(0x2d8)]}},_0x407a4f={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62]['redoState']}},_0x402479=this['_transformService'][_0x5e2252(0x179)](_0x503405,_0x30f833,!0x1),_0x2cd291=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x407a4f,!0x1);if(_0x3f9e93(_0x402479))throw _0x402479['error'];if(_0x3f9e93(_0x2cd291))throw _0x2cd291[_0x5e2252(0x2ba)];_0x44a91b[_0x5e2252(0xe2)]({..._0x449d25[_0x36bb62],'undoState':_0x402479[_0x5e2252(0x129)]['params'],'redoState':_0x2cd291[_0x5e2252(0x129)][_0x5e2252(0x23e)]}),_0x503405=_0x402479[_0x5e2252(0x235)],_0x546c0a=_0x2cd291[_0x5e2252(0x235)];}this[_0x5e2252(0x243)]['setStateCache'](_0x564857,{'history':_0x9206b8,'collaboration':_0x44a91b});}};oe=_n([Ee(0x0,_0x296b66(_0x19dc78)),Ee(0x1,_0x15804e),Ee(0x2,_0x296b66(_0x2ed6d1))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x1b483e,_0xff82f9,_0x2bb449,_0x3c8e70)=>{const _0x1060d3=_0x4e6031;for(var _0x46b33f=_0x3c8e70>0x1?void 0x0:_0x3c8e70?hn(_0xff82f9,_0x2bb449):_0xff82f9,_0x8d4a17=_0x1b483e[_0x1060d3(0x2cf)]-0x1,_0x19dc6c;_0x8d4a17>=0x0;_0x8d4a17--)(_0x19dc6c=_0x1b483e[_0x8d4a17])&&(_0x46b33f=_0x19dc6c(_0x46b33f)||_0x46b33f);return _0x46b33f;},it=(_0x483b48,_0x45bc8f)=>(_0x4cc9bc,_0x3ef43a)=>_0x45bc8f(_0x4cc9bc,_0x3ef43a,_0x483b48);let ae=class{constructor(_0xd2a95d,_0x384c37){const _0x184404=_0x4e6031;this[_0x184404(0xed)]=_0xd2a95d,this[_0x184404(0x12e)]=_0x384c37;}['transformSelections'](_0x499137){const _0x597af1=_0x4e6031;var _0x1083e2;const _0x2778d2=this[_0x597af1(0xed)][_0x597af1(0x29c)](_0x3f8525),_0x1c9ef4=(_0x1083e2=_0x2778d2[_0x597af1(0x271)]())!=null?_0x1083e2:[];if(_0x1c9ef4[_0x597af1(0x2cf)]===0x0)return;const _0x5f1d8d=_0x499137[_0x597af1(0x161)],_0x4bc037=[{'id':_0x597af1(0x288),'params':{'unitId':_0x5f1d8d,'actions':null,'textRanges':_0x1c9ef4}}],_0x102f10=this[_0x597af1(0x12e)]['transformMutationsWithChangeset'](_0x499137,_0x4bc037);if(!_0x38ffbf(_0x102f10))throw _0x102f10[_0x597af1(0x2ba)];const _0x34f5f3=_0x102f10[_0x597af1(0x129)][0x0][_0x597af1(0x23e)]['textRanges'];Array[_0x597af1(0x224)](_0x34f5f3)&&_0x34f5f3[_0x597af1(0x2cf)]&&_0x2778d2['replaceDocRanges'](_0x34f5f3,{'unitId':_0x5f1d8d,'subUnitId':_0x5f1d8d},!0x1);}};ae=un([it(0x0,_0x296b66(_0x19dc78)),it(0x1,_0x15804e)],ae);var dn=Object[_0x4e6031(0x282)],fn=(_0x3d2923,_0x367594,_0x3e98cf,_0x56fb52)=>{const _0x154bb6=_0x4e6031;for(var _0x39260b=_0x56fb52>0x1?void 0x0:_0x56fb52?dn(_0x367594,_0x3e98cf):_0x367594,_0x53e0cc=_0x3d2923[_0x154bb6(0x2cf)]-0x1,_0x1c5f37;_0x53e0cc>=0x0;_0x53e0cc--)(_0x1c5f37=_0x3d2923[_0x53e0cc])&&(_0x39260b=_0x1c5f37(_0x39260b)||_0x39260b);return _0x39260b;},U=(_0x4cb4d5,_0x8ad1cd)=>(_0x324a69,_0x232570)=>_0x8ad1cd(_0x324a69,_0x232570,_0x4cb4d5);let ce=class extends _0x45fd26{constructor(_0x4cfa76,_0x15bde9,_0x392591,_0x26c76e,_0xdd1867,_0x2a0f57,_0x449a1c,_0x206df9){const _0x4e63f1=_0x4e6031;super(),_(this,_0x4e63f1(0x209),new _0x4cb6b4(_0x15a744[_0x4e63f1(0x2a0)])),(this[_0x4e63f1(0x243)]=_0x4cfa76,this[_0x4e63f1(0x22e)]=_0x15bde9,this[_0x4e63f1(0x24b)]=_0x392591,this[_0x4e63f1(0x1f3)]=_0x26c76e,this[_0x4e63f1(0x1be)]=_0xdd1867,this['_docSyncEditingCollabCursorService']=_0x2a0f57,this[_0x4e63f1(0x1dd)]=_0x449a1c,this[_0x4e63f1(0x145)]=_0x206df9,this[_0x4e63f1(0x16d)]());}[_0x4e6031(0x16d)](){const _0x95037=_0x4e6031;this[_0x95037(0x1d0)](this[_0x95037(0x22e)][_0x95037(0x2d4)]['subscribe'](_0x3d1c32=>{const _0x13a534=_0x95037,_0x3fdf73=this['_docStateChangeManagerService'][_0x13a534(0x164)][_0x13a534(0x1ac)](_0x27331a=>{const _0x43da03=_0x13a534;if(_0x27331a==null)return;const {unitId:_0x432b7f,redoState:_0x46f087,commandId:_0x52eed7}=_0x27331a;if(_0x432b7f!==_0x3d1c32['unitID'])return;const _0x479e45={'id':_0x52eed7,'type':_0x448814['MUTATION'],'params':{'unitId':_0x432b7f,'actions':_0x46f087[_0x43da03(0x212)],'textRanges':null}};_0x3d1c32[_0x43da03(0x1ce)](_0x479e45);});if(_0x3d1c32[_0x13a534(0x1d0)](_0x3fdf73),_0x3d1c32 instanceof _0x30e95f){const _0x1d14e3={'onTransformIME':_0x5961d4=>this['_docTransformIMECacheService'][_0x13a534(0x19f)](_0x5961d4),'onTransformState':_0x2d82bf=>this[_0x13a534(0x1f3)][_0x13a534(0x21a)](_0x2d82bf),'onTransformSelections':_0x441483=>this['_docTransformSelectionsService'][_0x13a534(0xfc)](_0x441483),'onSyncEditingCollabCursor':_0x4c67c8=>this[_0x13a534(0x18e)][_0x13a534(0x2c5)](_0x4c67c8),'onTransformRemoteChangesetByIMECache':_0x2ccd80=>this['_docTransformIMECacheService'][_0x13a534(0x19e)](_0x2ccd80),'onTransformRemoteChangesetByStateCache':_0x2c32df=>this[_0x13a534(0x1f3)][_0x13a534(0x19e)](_0x2c32df)};_0x3d1c32['addHandlerCallback'](_0x1d14e3);}}));}};ce=fn([U(0x0,_0x296b66(_0x2ed6d1)),U(0x1,_0x296b66(_0x27a615)),U(0x2,_0x296b66(re)),U(0x3,_0x296b66(oe)),U(0x4,_0x296b66(ae)),U(0x5,_0x296b66(je)),U(0x6,_0x5917e7),U(0x7,_0x296b66(_0x5c3969))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x14759c,_0x458045,_0x484f5c,_0x3c43e2)=>{for(var _0x149834=_0x3c43e2>0x1?void 0x0:_0x3c43e2?Sn(_0x458045,_0x484f5c):_0x458045,_0x5cf2fa=_0x14759c['length']-0x1,_0x478794;_0x5cf2fa>=0x0;_0x5cf2fa--)(_0x478794=_0x14759c[_0x5cf2fa])&&(_0x149834=_0x478794(_0x149834)||_0x149834);return _0x149834;},be=(_0x11bb4d,_0x1176a5)=>(_0x2165e5,_0x18c283)=>_0x1176a5(_0x2165e5,_0x18c283,_0x11bb4d);let Ae=class extends _0x45fd26{constructor(_0x446485,_0x2e6a3b,_0x445db4){const _0x19d6d1=_0x4e6031;super(),_(this,'_cachedData',new Map()),_(this,_0x19d6d1(0x24a),new Map()),_(this,_0x19d6d1(0x1f2),!0x1),(this[_0x19d6d1(0x119)]=_0x446485,this[_0x19d6d1(0x26e)]=_0x2e6a3b,this[_0x19d6d1(0x18f)]=_0x445db4);}[_0x4e6031(0x222)](){const _0x17e7c6=_0x4e6031;this[_0x17e7c6(0x1f2)]=!0x0;}[_0x4e6031(0x227)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4e6031(0x16b)](){const _0x5702e0=_0x4e6031;this[_0x5702e0(0xea)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x319425){const _0x1437cf=_0x4e6031;return this[_0x1437cf(0x1f2)]?null:this[_0x1437cf(0x26e)][_0x1437cf(0x297)](_0x5692d7(_0x319425));}async[_0x4e6031(0x238)](_0x140c81,_0xe26bde){const _0x4dee1a=_0x4e6031;return!!this['_localStorageService'][_0x4dee1a(0x167)](_0x140c81,_0xe26bde);}[_0x4e6031(0x17b)](_0x484852,_0xc1c3b7,_0x5b6c84,_0x3d1079){const _0x132480=_0x4e6031,_0x1666c2=this[_0x132480(0x18f)][_0x132480(0x2cd)](_0x484852);this[_0x132480(0x173)][_0x132480(0x1b5)](_0x484852,{'unitID':_0x484852,'type':_0xc1c3b7,'awaitingChangeset':_0x5b6c84,'mutations':_0x3d1079,'rev':_0x1666c2}),this[_0x132480(0x24a)][_0x132480(0x221)](_0x484852)||this['_scheduleSaving'](_0x484852);}['_scheduleSaving'](_0x2e23d2){const _0x1613b2=_0x4e6031,_0x3f6264=this[_0x1613b2(0x26f)]();_0x3f6264===0x0?this[_0x1613b2(0x107)](_0x2e23d2):this[_0x1613b2(0x24a)]['set'](_0x2e23d2,setTimeout(()=>this['_saveCache'](_0x2e23d2),_0x3f6264));}[_0x4e6031(0x26f)](){const _0x525ecb=_0x4e6031;var _0x4672ae;return(_0x4672ae=this[_0x525ecb(0x119)][_0x525ecb(0x171)](_0x51a5af))!=null?_0x4672ae:_0x2be77d;}[_0x4e6031(0x107)](_0x74a895){const _0x1b5e40=_0x4e6031,_0x4832de=this['_saveTaskMap'][_0x1b5e40(0x29c)](_0x74a895);return _0x4832de!==void 0x0&&window['clearTimeout'](_0x4832de),this[_0x1b5e40(0x26e)]['setItem'](_0x5692d7(_0x74a895),this[_0x1b5e40(0x173)][_0x1b5e40(0x29c)](_0x74a895))['then'](()=>this[_0x1b5e40(0x24a)]['delete'](_0x74a895));}async['exhaustSavingTask'](){const _0x44d01b=_0x4e6031,_0x4aa48c=[];this[_0x44d01b(0x24a)][_0x44d01b(0x11e)]((_0x62a095,_0x3cdef2)=>{const _0x3263c9=_0x44d01b;window[_0x3263c9(0x1f4)](_0x62a095),_0x4aa48c[_0x3263c9(0x181)](this[_0x3263c9(0x107)](_0x3cdef2)[_0x3263c9(0x1bf)](()=>{const _0x55c998=_0x3263c9;this[_0x55c998(0x24a)][_0x55c998(0x1a8)](_0x3cdef2);}));}),await Promise[_0x44d01b(0xeb)](_0x4aa48c);}};Ae=mn([be(0x0,_0x54d5a8),be(0x1,_0x36b990),be(0x2,_0x296b66(_0x3b04cb))],Ae);class gn extends _0x3c0a88{constructor(){const _0x52ee46=_0x4e6031;super(),_(this,_0x52ee46(0x239)),this[_0x52ee46(0x239)]=_0x4ab014(window,_0x52ee46(0x229))[_0x52ee46(0x1d2)](_0x26eda4(this['dispose$']),_0x377104(0x1),_0x530b3a(void 0x0));}[_0x4e6031(0x142)](_0x47f41b,_0x40b51b,_0x40c1ba=!0x1){const _0x5139c6=_0x4e6031,_0x1d5cc1=new URL(window[_0x5139c6(0xfe)][_0x5139c6(0x245)]);_0x1d5cc1['searchParams'][_0x5139c6(0x1b5)](_0x47f41b,_0x40b51b),_0x40c1ba?window['history'][_0x5139c6(0x14c)]('','',_0x1d5cc1[_0x5139c6(0x236)]()):window[_0x5139c6(0x1d8)][_0x5139c6(0x26a)]('','',_0x1d5cc1['toString']());}[_0x4e6031(0x25c)](_0x4ec2a6,_0x25efe0=!0x1){const _0x491f2c=_0x4e6031,_0xf56e06=new URL(window[_0x491f2c(0xfe)]['href']);_0xf56e06[_0x491f2c(0xf6)][_0x491f2c(0x1a8)](_0x4ec2a6),_0x25efe0?window[_0x491f2c(0x1d8)][_0x491f2c(0x14c)]('','',_0xf56e06[_0x491f2c(0x236)]()):window[_0x491f2c(0x1d8)][_0x491f2c(0x26a)]('','',_0xf56e06[_0x491f2c(0x236)]());}[_0x4e6031(0x2bd)](_0x2c7f94){const _0x3dccfc=_0x4e6031;var _0x142f58;return(_0x142f58=new URL(window[_0x3dccfc(0xfe)]['href'])['searchParams'][_0x3dccfc(0x29c)](_0x2c7f94))!=null?_0x142f58:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x4e6031(0x282)],pn=(_0x47c8c9,_0xa5b79f,_0x28bcd9)=>_0xa5b79f in _0x47c8c9?vn(_0x47c8c9,_0xa5b79f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28bcd9}):_0x47c8c9[_0xa5b79f]=_0x28bcd9,Cn=(_0x3b5cdd,_0x1d0b37,_0x1a64bd,_0x288795)=>{const _0x4af6d9=_0x4e6031;for(var _0x9afb7a=_0x288795>0x1?void 0x0:_0x288795?In(_0x1d0b37,_0x1a64bd):_0x1d0b37,_0x3d3cac=_0x3b5cdd[_0x4af6d9(0x2cf)]-0x1,_0x1f4f57;_0x3d3cac>=0x0;_0x3d3cac--)(_0x1f4f57=_0x3b5cdd[_0x3d3cac])&&(_0x9afb7a=_0x1f4f57(_0x9afb7a)||_0x9afb7a);return _0x9afb7a;},Oe=(_0x99c91,_0x490d60)=>(_0x1612c0,_0x3f1bc9)=>_0x490d60(_0x1612c0,_0x3f1bc9,_0x99c91),En=(_0x4b3ab4,_0x172a99,_0x276600)=>pn(_0x4b3ab4,_0x172a99+'',_0x276600);const bn=_0x4e6031(0x168);let ye=class extends _0xb700b5{constructor(_0x572d41=st,_0x3fdb41,_0x116c82,_0x317e7d){const _0x1720d2=_0x4e6031;super(),this[_0x1720d2(0x264)]=_0x572d41,this[_0x1720d2(0x20c)]=_0x3fdb41,this[_0x1720d2(0xed)]=_0x116c82,this[_0x1720d2(0x119)]=_0x317e7d;const {..._0x13406e}=_0x3a1a3c({},st,this[_0x1720d2(0x264)]);this[_0x1720d2(0x119)][_0x1720d2(0x289)](nn,_0x13406e);}[_0x4e6031(0x24f)](){const _0x28b444=_0x4e6031;this[_0x28b444(0x2a2)](),this[_0x28b444(0x1e7)]();}[_0x4e6031(0x18c)](){const _0x24ef15=_0x4e6031;this[_0x24ef15(0x210)]();}[_0x4e6031(0x2a2)](){const _0x89bab3=_0x4e6031;var _0x50d477;const _0x55e35d=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x111fb7,{'useClass':_0x4bf45b}],[_0x369419,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4a8e7b(this[_0x89bab3(0xed)],_0x39a8e2(_0x55e35d,(_0x50d477=this[_0x89bab3(0x264)])==null?void 0x0:_0x50d477[_0x89bab3(0x1a2)]));}[_0x4e6031(0x210)](){const _0x4995d0=_0x4e6031;this[_0x4995d0(0x1d0)](this[_0x4995d0(0x20c)][_0x4995d0(0x135)](_0x2246f5[_0x4995d0(0x1f5)],[we])),this[_0x4995d0(0x1d0)](this['_renderManagerService']['registerRenderModule'](_0x2246f5[_0x4995d0(0x286)],[Le]));}[_0x4e6031(0x1e7)](){const _0x4caac9=_0x4e6031;_0x4a3abc(this[_0x4caac9(0xed)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x263def(_0x2eecf1),Oe(0x1,_0x31453e),Oe(0x2,_0x296b66(_0x19dc78)),Oe(0x3,_0x54d5a8)],ye);var On=Object[_0x4e6031(0x282)],Tn=(_0x300f22,_0x196410,_0x42ffec,_0x1718de)=>{for(var _0x5414db=_0x1718de>0x1?void 0x0:_0x1718de?On(_0x196410,_0x42ffec):_0x196410,_0x177907=_0x300f22['length']-0x1,_0x1dbab5;_0x177907>=0x0;_0x177907--)(_0x1dbab5=_0x300f22[_0x177907])&&(_0x5414db=_0x1dbab5(_0x5414db)||_0x5414db);return _0x5414db;},z=(_0x15523d,_0x245a71)=>(_0xdd6efc,_0x2b179b)=>_0x245a71(_0xdd6efc,_0x2b179b,_0x15523d);let nt=class extends _0x4304dc{constructor(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d){super(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d);}async[_0x4e6031(0x1fc)](_0x3481b8){const _0x230f04=_0x4e6031,_0x303314=await this[_0x230f04(0x1dc)](),_0x4c70c7=this[_0x230f04(0x15e)](_0x3481b8,_0x303314);return this[_0x230f04(0x287)](_0x4c70c7);}[_0x4e6031(0x15e)](_0x296de4,_0x2d6f4b){const _0x4037b1=_0x4e6031,_0x8f0efa=typeof window>'u'?new URL(_0x296de4):new URL(_0x296de4,window['location'][_0x4037b1(0x1fb)]);_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x1c6),_0x2d6f4b);const _0x31653e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4037b1(0xfe)][_0x4037b1(0x2c4)]);return _0x31653e[_0x4037b1(0x29c)](_0x4037b1(0x2b0))&&_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x2b0),_0x31653e[_0x4037b1(0x29c)]('runId')),_0x8f0efa['toString']();}async[_0x4e6031(0x1dc)](){const _0x5064ab=_0x4e6031;var _0x468d33,_0x412071,_0x24be7c;const _0x22ad8f=this[_0x5064ab(0x119)]['getConfig'](_0x36c723),_0x2d890b=(_0x468d33=_0x22ad8f==null?void 0x0:_0x22ad8f['wsSessionTicketUrl'])!=null?_0x468d33:_0x1603d7;return(_0x24be7c=(_0x412071=(await this[_0x5064ab(0x1a1)][_0x5064ab(0x29c)](_0x2d890b,{'headers':{'Content-Type':_0x5064ab(0x237)}}))[_0x5064ab(0x165)])==null?void 0x0:_0x412071['ticket'])!=null?_0x24be7c:'';}};nt=Tn([z(0x0,_0x296b66(_0x19dc78)),z(0x1,_0x296b66(_0x499a00)),z(0x2,_0x54d5a8),z(0x3,_0x30d997),z(0x4,_0x32f6a8)],nt);const rt=0x7530,ot=_0x4e6031(0x137);function _0x3602(){const _0x14d629=['actions','storage','[CollaborationDataLoaderController]','_notificationService','string','_heartbeatTimer','_entities','SNAPSHOT_INVALID_SNAPSHOT','transformStateCache','tag','addObject','clipPath','evenodd','_lastPointer','getUnitId','has','disableLocalCache','_collaborationUIEventService','isArray','editingUnit','hovered','enableLocalCache','TEXT','popstate','redoState','_labelPosition','apply','getRangePointData','_collaborationController','206703DgOEvh','onTransformChange$','/run/','idSuffix','indexOf','collabCursorState$','m1Prime','toString','application/json','saveOfflineData','urlChange$','HEADER_MENU','660753vvDqLK','YUUMI_NO_CUBOID_FOR_QUESTION','assignAColorForMemberID','params','MOBILE_HAS_BEEN_BOUND','_beforeCloseService','_removeCollabCursors','DeleteRangeMoveUpCommandId','_docStateChangeManagerService','hide','href','_logService','getMemberID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_id','_saveTaskMap','_docTransformIMECacheService','setActiveRange','getSheetId','CONNECTOR_DATA_TOO_LARGE','onStarting','size','purple300','add','_context','triggerDblclick','unitId','deepClone','RemoveColCommandId','type','collabStatus.offline','_backgroundColor','currentTheme$','removeParam','eventID','_textBubble','_handleHeartbeatEvent','loadUnit','registerRefRange','UNAUTHENTICATED','from','_config','getRenderById','getValue','_updateURLWithCurrentState','_entityInit$','subunit','pushState','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','toRgbString','_localStorageService','_getSaveTimeout','permission.title','getDocRanges','PERMISSION_DENIED','Error','cursorInfo$','_cursorShapes','status$','save','next','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','assign','_name','collabStatus.notCollab','_cursors','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','getOwnPropertyDescriptor','fill','call','svg','UNIVER_SHEET','_doCreateSocket','doc.mutation.rich-text-editing','setConfig','_shapes','InsertRangeMoveDownCommandId','collab-rect-range-','1em','_memberService','EMAIL_HAS_BEEN_BOUND','_hideTimer','restore','onPointerEnter$','path','_dataLoaderService','cursorInfo','selection','getItem','_handleHover','_colorIndex','_refRangeService','getCollabEntity$','get','findNodePositionByCharIndex','icon','_docClipboardService','NOT_COLLAB','currentSkeleton$','_registerDependencies','mask','LOGIN_FAILED','_themeService','4VUNVHp','Failed','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','2091035bhinqk','AWAITING_WITH_PENDING','off-line-single_clip0_910_343','isActive','find','AWAITING','focused$','runId','unit','onPointerMove$','key','FromArray','bottom','lineTo','values','getUnhiddenWorksheets','_unitStatus','error','verdancy600','entries','getParam','_drawTextRange','_instanceService','getOwnPropertySymbols','OnLineSingle','xlink:href','CONFLICT','search','syncEditingCollabCursor','_draw','setAlpha','_localCacheService','_docSkeletonManagerService','none','invokeId','on-line-single','getCurrentRevOfUnit','_colorAssignService','length','setInterval','dispose$','map','setUndoRedoMutationParamsCache','entityInit$','debug','Warning','memberID','undoState','fillText','ranges','name','_updateSubUnitFromURLParams','UPDATE_CURSOR','blue400','disposeUnit','ALREADY_EXISTS','unshift','UniverIcon','resize','LICENSE_DISTRO_REJECTED','subUnitId','collaboration.closeRoom','source','OFFLINE','exhaustSavingTask','all','row','_injector','data','startsWith','_unitOnClients','startRow','FETCH_MISS','event$','_assignedColors','_scheduleHeartbeat','searchParams','_imageIoService','collaboration-client-ui.config','gold400','session.connection-failed','_transformPreviousActiveRange','transformSelections','632980ocxpdn','location','collabStatus.conflict','_handleJoinEvent','INVITE_CODE_HAS_BEEN_UES','_syncEditingCollabCursorService','addObjects','_anchorDot','LICENSE_EXPORT_SIZE_EXCEEDED','substring','_saveCache','addClipboardHook','VIEW_MAIN','_cursorInfo$','_uiPartsService','font','color','url(#off-line-single_clip0_910_343)','_initResize','443349jODZKE','post','_eventUnsubscribe','MoveRangeCommandId','YUUMI_URL_COL_OUT_OF_RANGE','_startSheetCollabCursor','INTERNAL_ERROR','_clearOtherTimers','concat','_configService','startColumn','_anchor','getCurrent','extend','forEach','_collabSessionService','#fff','getSheetBySheetId','round','with','INVITE_CODE_ALREADY_BOUND','use','drawWith','_send','moveTo','m2Prime','_univerInstanceService','trim','makeDirty','_initCommandExecutedListener','_transformService','USERS_LEAVE','collab-text-range-','hasOwnProperty','_init','onPointerLeave$','_getScale','registerRenderModule','closePath','ACTIVE_UNIT_EVENT_CHANNEL','on-line-single_clip0_910_349','black','_drawRectRange','show','url(#$1','_sheetSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','_scheduleClearOtherTimer','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','setParam','runOnServer','getUniverSheetInstance','_localeService','univer-online-status','className','saveTaskMap','_urlService','getActiveSheet','_toggleOnline','replaceState','flatMap','getStateCache','_transformUndoRedoStack','top','OTHER_CLIENTS_EDITING','textRanges','getMember','width','USER_NOT_INVITED_CODE','transformMutationsWithChangeset','OTHER_CLIENT_EDITING','_setupSubUnitSync','sheetId','session.collaboration-timeout','labelPosition','RECT','onCommandExecuted','_createSocketURL','...','registerBeforeClose','unitID','_removeClearOtherTimer','_commandService','docStateChange$','body','UNRECOGNIZED','setItem','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','endColumn','_roomMembers$','dispose','displayName','_initEntityListener','_collabCursorController','text','createInstance','getConfig','replace','_cachedData','SNAPSHOT_HAS_BEEN_REMOVED','reconnect','getFocusedUnit','onlineStatusIcon','_initStatusListener','transformMutation','_getMergeRange','updateOfflineData','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','univer-offline','Unknown\x20user','roomMembers$','push','APPLY_DUPLICATED','TOO_MANY_REQUESTS','complete','children','_range','_onCursorDelete','measureText','272fPkfPX','COMPLETION_FINISHED','getAncestorScale','onRendered','defIds','_docSyncEditingCollabCursorService','_revisionService','_scene','_selfUnitIDs','newValue','getViewport','SUBMIT_CHANGESET_TIMEOUT','contains','activeSheet$','APPLY_NON_SEQUENTIAL_REVISION','max','_handleLeaveEvent','translate(.97)','APPLY_PERMISSION_DENIED','online','_transformHistoryAndStateStack','transformRemoteChangeset','transformIMECache','registerComponent','_httpService','override','WECHAT_HAS_BEEN_BOUND','collaboration.single-unit.warning','div','generateRandomId','M0\x200H16V16H0z','delete','column','_ensureSubject','YUUMI_ASYNCIO_CANCELLED','subscribe','range','1687044PcLAta','30NbAXnm','INVITE_CODE_REQUIRED','_session','_toggleOffline','sessionStatus$','CLOSE_ROOM','set','getCollabCursors$','_updateCollabCursors','getVpScrollXYInfoByPosToVp','_getAnchorBounding','_drawAnchor','subscribeEvent','executeCommand','result','_docTransformSelectionsService','then','permission.content','code','uni.network.url-service','asObservable','random','_refreshCollabCursors','sessionTicket','propertyIsEnumerable','requireSession','colorChannel1','send','_getSheetObject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clearInterval','onLocalMutation','backgroundColor','disposeWithMe','sheetID','pipe','NO_OTHER_CLIENTS_EDITING','init','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','_initStatusComponent','history','roomMembers','23947ngWclk','getTypeOfUnitAdded$','_getSessionTicket','_messageService','_updateLocalCursor','setShapeProps','0\x200\x2016\x2016','#FFF','arc','_color','whenReady','getMergeData','offline','_initDependencies','currentColor','addEventListener','mutations','_collabCursorState$','height','defs','attrs','APPLY_REVISION_CONFILICT','stringify','_online','_disabled','_docTransformStateCacheService','clearTimeout','UNIVER_DOC','_docSkeleton','_initEvent','APPLY_REJECT','setTimeout','symbol','origin','createSocket','red300','endRow','getCurrentSelections','unsubscribe','collabStatus.synced','_setupBeforeClosingHandler','beginPath','_cursor','onMouseMove','split','_hovered','UNDEFINED','_status$','_hover','_handleEvent','_renderManagerService','_onCursorUpdate','unload','INVALID_INVITE_CODE','_registerRenderDependencies','defineProperty'];_0x3602=function(){return _0x14d629;};return _0x3602();}class Gn extends _0x45fd26{constructor(){const _0x454398=_0x4e6031;super(),_(this,_0x454398(0x249),_0x54c139()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454398(0xf0),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x454398(0x117),new Map()),_(this,_0x454398(0x2b9),new Map()),this[_0x454398(0x132)]();}[_0x4e6031(0x16b)](){const _0x59b9b2=_0x4e6031;super['dispose'](),this[_0x59b9b2(0x117)][_0x59b9b2(0x11e)]((_0x41cd69,_0x3557a4)=>this[_0x59b9b2(0x162)](_0x3557a4)),this[_0x59b9b2(0x217)]&&window[_0x59b9b2(0x1cd)](this[_0x59b9b2(0x217)]);}['getUnitStatus$'](_0x1bf0b7){const _0x2bf73e=_0x4e6031;return this[_0x2bf73e(0x1aa)](_0x1bf0b7)[_0x2bf73e(0x1d2)](_0x53040a());}[_0x4e6031(0x225)](_0x44f6fe){const _0x454630=_0x4e6031;this[_0x454630(0x191)][_0x454630(0x250)]===0x0&&this[_0x454630(0xf5)](),this[_0x454630(0x191)]['add'](_0x44f6fe),this['_send']({'type':0x0,'memberID':this[_0x454630(0x249)],'unitIDs':[_0x44f6fe],'isForwarded':!0x1});}[_0x4e6031(0xe0)](_0x4e1586){const _0xfa7c23=_0x4e6031;this[_0xfa7c23(0x191)][_0xfa7c23(0x1a8)](_0x4e1586),this['_selfUnitIDs'][_0xfa7c23(0x250)]===0x0&&this['_heartbeatTimer']&&window[_0xfa7c23(0x1cd)](this[_0xfa7c23(0x217)]);}['_init'](){const _0x1901a7=_0x4e6031;this[_0x1901a7(0x1d0)](_0x119248(_0x4ab014(window,_0x1901a7(0x213))[_0x1901a7(0x1ac)](_0x3dc2e0=>{const _0x4c4a50=_0x1901a7;if(_0x3dc2e0[_0x4c4a50(0x2b3)]!==ot||!_0x3dc2e0['newValue'])return;const _0x29b4d0=JSON[_0x4c4a50(0x27f)](_0x3dc2e0[_0x4c4a50(0x192)]);this[_0x4c4a50(0x20b)](_0x29b4d0);}))),window[_0x1901a7(0x1e9)](_0x1901a7(0x20e),()=>this[_0x1901a7(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1901a7(0x263)](this[_0x1901a7(0x191)])}));}['_handleEvent'](_0x24ac8f){const _0xa2a139=_0x4e6031;switch(_0x24ac8f[_0xa2a139(0x258)]){case 0x0:this[_0xa2a139(0x100)](_0x24ac8f);break;case 0x1:this[_0xa2a139(0x199)](_0x24ac8f);break;case 0x2:this[_0xa2a139(0x25f)](_0x24ac8f);break;}}['_handleJoinEvent'](_0x5f052e){const _0x35e829=_0x4e6031,{unitIDs:_0x2f8f20,memberID:_0x411e1a,isForwarded:_0x40d064}=_0x5f052e;_0x2f8f20['forEach'](_0x5c5308=>{const _0x586919=_0x580c;if(!_0x40d064&&this[_0x586919(0xf0)][_0x586919(0x221)](_0x5c5308)&&this[_0x586919(0x1aa)](_0x5c5308)['next'](_0x559aad['OTHER_CLIENTS_EDITING']),!this[_0x586919(0xf0)]['has'](_0x5c5308)||!this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)[_0x586919(0x221)](_0x411e1a)){const _0x120912=this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)||new Set();_0x120912[_0x586919(0x252)](_0x411e1a),this[_0x586919(0xf0)]['set'](_0x5c5308,_0x120912),this[_0x586919(0x13f)](_0x411e1a);}}),_0x40d064||this[_0x35e829(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x35e829(0x191)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2dd49b){const _0x566508=_0x4e6031;this[_0x566508(0x162)](_0x2dd49b);const _0x563ed2=window[_0x566508(0x1f9)](()=>{const _0x10ff8c=_0x566508;this[_0x10ff8c(0xf0)][_0x10ff8c(0x11e)](_0x49980b=>{_0x49980b['delete'](_0x2dd49b);});},rt*0x2);this[_0x566508(0x117)][_0x566508(0x1b5)](_0x2dd49b,_0x563ed2);}[_0x4e6031(0x162)](_0x317531){const _0x18b49e=_0x4e6031;if(this[_0x18b49e(0x117)][_0x18b49e(0x221)](_0x317531)){const _0x3a936e=this[_0x18b49e(0x117)][_0x18b49e(0x29c)](_0x317531);_0x3a936e&&window[_0x18b49e(0x1f4)](_0x3a936e),this[_0x18b49e(0x117)][_0x18b49e(0x1b5)](_0x317531,null);}}[_0x4e6031(0x199)](_0x1aaedc){const _0x963f58=_0x4e6031,{memberID:_0x11351f,unitIDs:_0x446575}=_0x1aaedc;_0x446575['forEach'](_0x5e0a22=>{const _0x3da089=_0x580c;var _0x3a8b8b;const _0x12361d=this[_0x3da089(0xf0)][_0x3da089(0x29c)](_0x5e0a22);_0x12361d&&(_0x12361d[_0x3da089(0x1a8)](_0x11351f),(_0x3a8b8b=this[_0x3da089(0x1aa)](_0x5e0a22))==null||_0x3a8b8b[_0x3da089(0x278)](_0x12361d['size']===0x0?_0x559aad[_0x3da089(0x1d3)]:_0x559aad[_0x3da089(0x151)]));}),this[_0x963f58(0x162)](_0x11351f);}['_handleHeartbeatEvent'](_0x1d3ebc){const _0x41eb65=_0x4e6031;this[_0x41eb65(0x13f)](_0x1d3ebc[_0x41eb65(0x2d7)]);}[_0x4e6031(0x127)](_0x24b3c4){const _0x265470=_0x4e6031;localStorage[_0x265470(0x167)](ot,JSON[_0x265470(0x1f0)](_0x24b3c4));}[_0x4e6031(0xf5)](){const _0xf7265a=_0x4e6031;this['_heartbeatTimer']=window[_0xf7265a(0x2d0)](()=>{const _0x26f44f=_0xf7265a;this[_0x26f44f(0x127)]({'type':0x2,'memberID':this[_0x26f44f(0x249)]});},rt);}[_0x4e6031(0x1aa)](_0x28cf10){const _0x4a66de=_0x4e6031;return this[_0x4a66de(0x2b9)][_0x4a66de(0x221)](_0x28cf10)||this[_0x4a66de(0x2b9)][_0x4a66de(0x1b5)](_0x28cf10,new _0x4cb6b4(_0x559aad[_0x4a66de(0x1d3)])),this['_unitStatus'][_0x4a66de(0x29c)](_0x28cf10);}}var wt=(_0x3bf57b=>(_0x3bf57b[_0x3bf57b[_0x4e6031(0x208)]=0x0]='UNDEFINED',_0x3bf57b[_0x3bf57b['OK']=0x1]='OK',_0x3bf57b[_0x3bf57b[_0x4e6031(0x116)]=0x2]=_0x4e6031(0x116),_0x3bf57b[_0x3bf57b['PERMISSION_DENIED']=0x3]=_0x4e6031(0x272),_0x3bf57b[_0x3bf57b['NOT_FOUND']=0x4]='NOT_FOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x262)]=0x5]=_0x4e6031(0x262),_0x3bf57b[_0x3bf57b[_0x4e6031(0xe1)]=0x6]='ALREADY_EXISTS',_0x3bf57b[_0x3bf57b[_0x4e6031(0x27a)]=0x7]=_0x4e6031(0x27a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x183)]=0x8]=_0x4e6031(0x183),_0x3bf57b[_0x3bf57b[_0x4e6031(0x18a)]=0x9]=_0x4e6031(0x18a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x2a4)]=0xa]=_0x4e6031(0x2a4),_0x3bf57b[_0x3bf57b['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x219)]=0x1771]=_0x4e6031(0x219),_0x3bf57b[_0x3bf57b[_0x4e6031(0x174)]=0x1772]=_0x4e6031(0x174),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1d5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3bf57b[_0x3bf57b[_0x4e6031(0x1f8)]=0x1b59]=_0x4e6031(0x1f8),_0x3bf57b[_0x3bf57b[_0x4e6031(0x197)]=0x1b5a]=_0x4e6031(0x197),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ef)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x19b)]=0x1b5c]=_0x4e6031(0x19b),_0x3bf57b[_0x3bf57b['APPLY_DUPLICATED']=0x1b5d]=_0x4e6031(0x182),_0x3bf57b[_0x3bf57b[_0x4e6031(0x24e)]=0x1f41]=_0x4e6031(0x24e),_0x3bf57b[_0x3bf57b[_0x4e6031(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0x248)]=0x232a]=_0x4e6031(0x248),_0x3bf57b[_0x3bf57b[_0x4e6031(0x17d)]=0x232b]=_0x4e6031(0x17d),_0x3bf57b[_0x3bf57b[_0x4e6031(0x105)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0xe5)]=0x232d]=_0x4e6031(0xe5),_0x3bf57b[_0x3bf57b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bf57b[_0x3bf57b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4e6031(0x114),_0x3bf57b[_0x3bf57b[_0x4e6031(0x140)]=0x2713]=_0x4e6031(0x140),_0x3bf57b[_0x3bf57b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e6031(0x280),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23c)]=0x271a]=_0x4e6031(0x23c),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ab)]=0x271b]=_0x4e6031(0x1ab),_0x3bf57b[_0x3bf57b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3bf57b[_0x3bf57b[_0x4e6031(0x101)]=0x2ee1]=_0x4e6031(0x101),_0x3bf57b[_0x3bf57b['INVALID_INVITE_CODE']=0x2ee2]=_0x4e6031(0x20f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1b0)]=0x2ee3]=_0x4e6031(0x1b0),_0x3bf57b[_0x3bf57b[_0x4e6031(0x155)]=0x2ee4]=_0x4e6031(0x155),_0x3bf57b[_0x3bf57b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4e6031(0x124),_0x3bf57b[_0x3bf57b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e6031(0x1a3),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x28f)]=0x32cb]=_0x4e6031(0x28f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x166)]=-0x1]=_0x4e6031(0x166),_0x3bf57b))(wt||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x3818f7,_0x30be85,_0x27db86,_0x156a3)=>{const _0x4bd871=_0x4e6031;for(var _0x22fa35=_0x156a3>0x1?void 0x0:_0x156a3?Rn(_0x30be85,_0x27db86):_0x30be85,_0x3f175c=_0x3818f7[_0x4bd871(0x2cf)]-0x1,_0xe706bf;_0x3f175c>=0x0;_0x3f175c--)(_0xe706bf=_0x3818f7[_0x3f175c])&&(_0x22fa35=_0xe706bf(_0x22fa35)||_0x22fa35);return _0x22fa35;},Te=(_0x53cbd2,_0x234735)=>(_0x241d4d,_0x314fb5)=>_0x234735(_0x241d4d,_0x314fb5,_0x53cbd2);let at=class extends _0x45fd26{constructor(_0x3b1236,_0x50697f,_0x39fbd8){const _0x187dac=_0x4e6031;super(),this[_0x187dac(0x2bf)]=_0x3b1236,this[_0x187dac(0x1a1)]=_0x50697f,this[_0x187dac(0x119)]=_0x39fbd8;}async[_0x4e6031(0x143)](_0x4a3966,_0x514760,_0x59b45f,..._0x5b9d1d){const _0x422457=_0x4e6031;var _0x496e05,_0x29455b,_0x43262d,_0x2e3ce8;const _0x1d205e=this[_0x422457(0x2bf)][_0x422457(0x176)]();if(!_0x1d205e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x40ce0c=((_0x496e05=this['_configService']['getConfig'](_0x7e84b6))!=null?_0x496e05:_0x463d62)+'/'+_0x4a3966+_0x422457(0x231)+_0x514760,_0x288f5e=new URL(window['location'][_0x422457(0x245)]),_0x1be58a={'scriptId':_0x4a3966,'runId':(_0x29455b=_0x288f5e[_0x422457(0xf6)][_0x422457(0x29c)](_0x422457(0x2b0)))!=null?_0x29455b:'','function':_0x514760,'unitId':_0x1d205e[_0x422457(0x220)](),'argsOfFunction':JSON[_0x422457(0x1f0)](_0x5b9d1d),'invokeId':(_0x43262d=_0x59b45f[_0x422457(0x2cb)])!=null?_0x43262d:'','executionId':(_0x2e3ce8=_0x59b45f['executionId'])!=null?_0x2e3ce8:''};try{const _0x32a528=await this[_0x422457(0x1a1)][_0x422457(0x111)](_0x40ce0c,{'body':_0x1be58a});return _0x32a528[_0x422457(0x165)][_0x422457(0x2ba)]&&_0x32a528[_0x422457(0x165)]['error'][_0x422457(0x1c1)]!==wt['OK']?'Failed':_0x32a528['body'][_0x422457(0x1bd)];}catch{return _0x422457(0x2a7);}}};at=Dn([Te(0x0,_0x42b704),Te(0x1,_0x296b66(_0x499a00)),Te(0x2,_0x54d5a8)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x415445=_0x2c8e;function _0x415c(){const _0x59dd9b=['Edit\x20conflicts','1068HciPqa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','1400982kOsZBY','84406MRiVOj','Syncing...','1023729POzypm','2440jEHlby','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1417048GRDoGX','Local\x20file','855uEQIlW','4965eEQsIj','Collaboration\x20Conflict','1649040uqbjJZ','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1uCqtmV','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x415c=function(){return _0x59dd9b;};return _0x415c();}(function(_0x387eaf,_0x4b3a3a){const _0x3337f7=_0x2c8e,_0x4c29ad=_0x387eaf();while(!![]){try{const _0x266ef0=parseInt(_0x3337f7(0x1ad))/0x1*(parseInt(_0x3337f7(0x19e))/0x2)+parseInt(_0x3337f7(0x19d))/0x3+-parseInt(_0x3337f7(0x1a5))/0x4+-parseInt(_0x3337f7(0x1a8))/0x5*(parseInt(_0x3337f7(0x1b0))/0x6)+parseInt(_0x3337f7(0x1a0))/0x7+parseInt(_0x3337f7(0x1a1))/0x8*(-parseInt(_0x3337f7(0x1a7))/0x9)+parseInt(_0x3337f7(0x1aa))/0xa;if(_0x266ef0===_0x4b3a3a)break;else _0x4c29ad['push'](_0x4c29ad['shift']());}catch(_0x13c95f){_0x4c29ad['push'](_0x4c29ad['shift']());}}}(_0x415c,0x3f905));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x415445(0x1ab),'conflict':_0x415445(0x1af),'notCollab':_0x415445(0x1a6),'synced':'Synced','syncing':_0x415445(0x19f),'offline':_0x415445(0x1a3)},'session':{'connection-failed':_0x415445(0x1ae),'will-retry':_0x415445(0x1ac),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x415445(0x1a9),'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':_0x415445(0x19c),'content':_0x415445(0x1a2)},'collaboration':{'single-unit':{'warning':_0x415445(0x1b1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x415445(0x1a4)}};function _0x2c8e(_0x5d32d2,_0xb289e4){const _0x415c81=_0x415c();return _0x2c8e=function(_0x2c8ef3,_0x5ec11b){_0x2c8ef3=_0x2c8ef3-0x19c;let _0x3f7574=_0x415c81[_0x2c8ef3];return _0x3f7574;},_0x2c8e(_0x5d32d2,_0xb289e4);}export{e as default};
1
+ function _0x53eb(_0x2fbc33,_0x221fde){const _0x554dc1=_0x554d();return _0x53eb=function(_0x53eb3c,_0x38a667){_0x53eb3c=_0x53eb3c-0x9d;let _0x49cafc=_0x554dc1[_0x53eb3c];return _0x49cafc;},_0x53eb(_0x2fbc33,_0x221fde);}const _0x196a92=_0x53eb;(function(_0x4ce1ea,_0x162245){const _0x38215e=_0x53eb,_0x14b940=_0x4ce1ea();while(!![]){try{const _0x16a260=-parseInt(_0x38215e(0xb5))/0x1+-parseInt(_0x38215e(0xb1))/0x2*(parseInt(_0x38215e(0xac))/0x3)+parseInt(_0x38215e(0xa9))/0x4*(-parseInt(_0x38215e(0xa2))/0x5)+parseInt(_0x38215e(0xa3))/0x6+-parseInt(_0x38215e(0xab))/0x7*(-parseInt(_0x38215e(0xa6))/0x8)+-parseInt(_0x38215e(0x9f))/0x9+parseInt(_0x38215e(0xad))/0xa;if(_0x16a260===_0x162245)break;else _0x14b940['push'](_0x14b940['shift']());}catch(_0x5dc30f){_0x14b940['push'](_0x14b940['shift']());}}}(_0x554d,0xc895e));const e={'collab-client':{'tooltip':{'reconnect':_0x196a92(0xa0)}},'collabStatus':{'fetchMiss':_0x196a92(0xb2),'conflict':_0x196a92(0x9d),'notCollab':_0x196a92(0xa1),'synced':_0x196a92(0xa5),'syncing':_0x196a92(0xb4),'offline':_0x196a92(0x9e)},'session':{'connection-failed':_0x196a92(0xb3),'will-retry':_0x196a92(0xaa),'room-full':_0x196a92(0xb0),'collaboration-timeout':_0x196a92(0xa8)},'conflict':{'title':_0x196a92(0xaf),'content':_0x196a92(0xa7)},'permission':{'title':'Authentication\x20Error','content':_0x196a92(0xa4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x196a92(0xae)},'auth':{'needGotoLoginAlert':_0x196a92(0xb6)}};function _0x554d(){const _0x246b5c=['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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','393684fgXOSi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3547061AfgNRp','3KIKdIL','41848300BrIcRc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2637880HCxIKn','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','1571811wGGZOu','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','11760912mJAHxr','Click\x20to\x20Reconnect','Local\x20file','65zyGHUG','9642222UoaCvl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','8rCjEyS'];_0x554d=function(){return _0x246b5c;};return _0x554d();}export{e as default};
@@ -1 +1 @@
1
- const _0xf07e88=_0x16ab;function _0x16ab(_0x523b76,_0x55922e){const _0x326cd5=_0x326c();return _0x16ab=function(_0x16ab21,_0x216572){_0x16ab21=_0x16ab21-0x14f;let _0x1c971b=_0x326cd5[_0x16ab21];return _0x1c971b;},_0x16ab(_0x523b76,_0x55922e);}(function(_0xaf97cb,_0x1bcb87){const _0x238cd3=_0x16ab,_0x3074ca=_0xaf97cb();while(!![]){try{const _0x581f00=-parseInt(_0x238cd3(0x162))/0x1*(parseInt(_0x238cd3(0x152))/0x2)+parseInt(_0x238cd3(0x169))/0x3*(-parseInt(_0x238cd3(0x160))/0x4)+parseInt(_0x238cd3(0x157))/0x5+-parseInt(_0x238cd3(0x161))/0x6*(parseInt(_0x238cd3(0x168))/0x7)+parseInt(_0x238cd3(0x15f))/0x8+-parseInt(_0x238cd3(0x150))/0x9+parseInt(_0x238cd3(0x151))/0xa;if(_0x581f00===_0x1bcb87)break;else _0x3074ca['push'](_0x3074ca['shift']());}catch(_0x30d500){_0x3074ca['push'](_0x3074ca['shift']());}}}(_0x326c,0x51cbc));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0xf07e88(0x15c),'conflict':_0xf07e88(0x154),'notCollab':_0xf07e88(0x159),'synced':_0xf07e88(0x14f),'syncing':_0xf07e88(0x164),'offline':_0xf07e88(0x15b)},'session':{'connection-failed':_0xf07e88(0x167),'will-retry':_0xf07e88(0x153),'room-full':_0xf07e88(0x15d),'collaboration-timeout':_0xf07e88(0x15a)},'conflict':{'title':_0xf07e88(0x156),'content':_0xf07e88(0x15e)},'permission':{'title':_0xf07e88(0x165),'content':_0xf07e88(0x163)},'collaboration':{'single-unit':{'warning':_0xf07e88(0x166)},'closeRoom':_0xf07e88(0x155)},'auth':{'needGotoLoginAlert':_0xf07e88(0x158)}};function _0x326c(){const _0x5068a2=['شما\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کنید.','2989dfiMSR','203793GDDVnK','همگام\x20سازی','5026455pyBjLV','10469280NCEyVP','379948ATIxdZ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1687900mGuIlK','ورود\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لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4671728NXvEGt','28VWOYXZ','3084CqBMcp','2HSLFgU','اعمال\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اعتبارسنجی'];_0x326c=function(){return _0x5068a2;};return _0x326c();}export{o as default};
1
+ const _0x50424e=_0x2e8c;function _0x2e8c(_0x47317a,_0x12082f){const _0x203f1f=_0x203f();return _0x2e8c=function(_0x2e8cb1,_0x5a29db){_0x2e8cb1=_0x2e8cb1-0xe8;let _0x560bf2=_0x203f1f[_0x2e8cb1];return _0x560bf2;},_0x2e8c(_0x47317a,_0x12082f);}(function(_0x42e534,_0x12f654){const _0xdd8857=_0x2e8c,_0x2458b8=_0x42e534();while(!![]){try{const _0x3456b7=-parseInt(_0xdd8857(0x102))/0x1*(parseInt(_0xdd8857(0xea))/0x2)+parseInt(_0xdd8857(0xec))/0x3*(parseInt(_0xdd8857(0x101))/0x4)+-parseInt(_0xdd8857(0xf3))/0x5*(parseInt(_0xdd8857(0xf6))/0x6)+-parseInt(_0xdd8857(0xf1))/0x7*(parseInt(_0xdd8857(0xfd))/0x8)+-parseInt(_0xdd8857(0xff))/0x9*(parseInt(_0xdd8857(0xf0))/0xa)+-parseInt(_0xdd8857(0xf4))/0xb+-parseInt(_0xdd8857(0xeb))/0xc*(-parseInt(_0xdd8857(0xf5))/0xd);if(_0x3456b7===_0x12f654)break;else _0x2458b8['push'](_0x2458b8['shift']());}catch(_0x399a93){_0x2458b8['push'](_0x2458b8['shift']());}}}(_0x203f,0x456e7));const o={'collab-client':{'tooltip':{'reconnect':_0x50424e(0xe9)}},'collabStatus':{'fetchMiss':_0x50424e(0xf9),'conflict':_0x50424e(0xf7),'notCollab':_0x50424e(0xfc),'synced':_0x50424e(0xed),'syncing':_0x50424e(0xfa),'offline':_0x50424e(0xf8)},'session':{'connection-failed':_0x50424e(0x105),'will-retry':_0x50424e(0xf2),'room-full':_0x50424e(0xef),'collaboration-timeout':_0x50424e(0xfb)},'conflict':{'title':_0x50424e(0x104),'content':_0x50424e(0xfe)},'permission':{'title':_0x50424e(0xee),'content':_0x50424e(0x100)},'collaboration':{'single-unit':{'warning':_0x50424e(0x103)},'closeRoom':_0x50424e(0xe8)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x203f(){const _0x589fd4=['4BztwAT','22093476CYIwwD','3543EfvOal','همگام\x20سازی','خطای\x20اعتبارسنجی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','2220iWTuuY','469CsNRkT','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','45PrLHtr','5583897QZOprO','13WaUdWr','309810tFltsl','تداخل\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محلی','31704fXWbIv','یک\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رفت.','11241jpqpwX','اعمال\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رفت.','780gxDPeo','135943nPBVPr','شما\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کنید'];_0x203f=function(){return _0x589fd4;};return _0x203f();}