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

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 _0x1a2d01=_0x213f;(function(_0x1500ae,_0x5c8ee9){const _0x34bb11=_0x213f,_0x481c9d=_0x1500ae();while(!![]){try{const _0x586290=parseInt(_0x34bb11(0x26a))/0x1*(parseInt(_0x34bb11(0x273))/0x2)+parseInt(_0x34bb11(0x386))/0x3+parseInt(_0x34bb11(0x1b0))/0x4*(-parseInt(_0x34bb11(0x268))/0x5)+-parseInt(_0x34bb11(0x1e0))/0x6+-parseInt(_0x34bb11(0x207))/0x7+parseInt(_0x34bb11(0x2c8))/0x8*(parseInt(_0x34bb11(0x3a1))/0x9)+parseInt(_0x34bb11(0x25a))/0xa;if(_0x586290===_0x5c8ee9)break;else _0x481c9d['push'](_0x481c9d['shift']());}catch(_0x5b53fe){_0x481c9d['push'](_0x481c9d['shift']());}}}(_0x44ec,0x5856f));var Bt=Object['defineProperty'],kt=(_0x2caed8,_0x5884e2,_0x4eb4e9)=>_0x5884e2 in _0x2caed8?Bt(_0x2caed8,_0x5884e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eb4e9}):_0x2caed8[_0x5884e2]=_0x4eb4e9,_=(_0x4e9eb4,_0x25beb7,_0x5cdef3)=>kt(_0x4e9eb4,typeof _0x25beb7!=_0x1a2d01(0x24e)?_0x25beb7+'':_0x25beb7,_0x5cdef3);import{MemberService as _0x3925f4,SessionStatus as _0x24654b,CollaborationSessionService as _0x1e3747,CollaborationStatus as _0xd11ca5,CollaborationController as _0x207ba1,ILocalCacheService as _0x14a23a,CollaborationUIEventService as _0x3beee5,CollaborationUIEventId as _0x237421,DataLoaderService as _0x4bf4c3,DocCollaborationEntity as _0x416d16,getLocalCacheKey as _0x380f21,LOCAL_CACHE_INTERVAL as _0x2e9140,LOCAL_CACHE_INTERVAL_KEY as _0x40349c,UniverCollaborationClientPlugin as _0x400bf4,CollaborationSocketService as _0x4d4100,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x17fb45,DEFAULT_WS_SESSION_TICKET_URL as _0x21eb3a,UnitStatus as _0xa858bb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a92da,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d7465}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1b02cf,Disposable as _0x5b5ed7,DOC_RANGE_TYPE as _0x539186,Inject as _0x8830ba,Injector as _0x6b91ad,IUniverInstanceService as _0x1a3a82,ICommandService as _0x5bb19c,debounce as _0x1d0f0a,Rectangle as _0x2c58ae,DisposableCollection as _0x133709,toDisposable as _0x23ea29,UniverInstanceType as _0x43ce38,Tools as _0x2791fb,COLORS as _0x565c49,ColorKit as _0x12deca,ThemeService as _0x5ce49f,fromEventSubject as _0x48b5d6,LocaleService as _0xb11369,createIdentifier as _0x4098fa,ILogService as _0x25fe23,Optional as _0x5a4cf7,Workbook as _0xad4815,CommandType as _0x11b0bc,IConfigService as _0x3fbb82,ILocalStorageService as _0x12cde7,DependentOn as _0x4df7a7,Plugin as _0xaf1cbc,merge as _0x2514e6,registerDependencies as _0x1142d1,mergeOverrideWithDependencies as _0x5c3dd2,touchDependencies as _0x369da2,generateRandomId as _0x23d8b8}from'@univerjs/core';import{Shape as _0x4ee4a8,Rect as _0x54beac,getColor as _0x4047fc,RegularPolygon as _0x2ba60b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb2ead2,Vector2 as _0x45c36a,SHEET_VIEWPORT_KEY as _0x2e669f,IRenderManagerService as _0x41978e}from'@univerjs/engine-render';import{ISocketService as _0x2ad40a,WebSocketService as _0x2e424c,HTTPService as _0x5bfb76}from'@univerjs/network';import{IDocClipboardService as _0x3eb026,NodePositionConvertToCursor as _0x2f82e0,NodePositionConvertToRectRange as _0x49925c,TEXT_RANGE_LAYER_INDEX as _0x2d968a,SetDocZoomRatioOperation as _0x40a4e4,DocIMEInputManagerService as _0x105356,DocStateChangeManagerService as _0x51bf6b}from'@univerjs/docs-ui';import{IImageIoService as _0x2dd419}from'@univerjs/drawing';import{BehaviorSubject as _0x2f02,debounceTime as _0x5742cc,takeUntil as _0x209b00,Subject as _0x4db37a,filter as _0x23cb10,switchMap as _0x71cc92,merge as _0x481db9,combineLatest as _0x58a265,of as _0x45d697,fromEvent as _0x1a951e,shareReplay as _0x42a1d0,mapTo as _0x2815cf,distinctUntilChanged as _0x22f787}from'rxjs';import{SetTextSelectionsOperation as _0x1fea29,RichTextEditingMutation as _0x4757d0,DocSelectionManagerService as _0xba4b09,DocSkeletonManagerService as _0x574d94}from'@univerjs/docs';import{ITransformService as _0x14f9c9,CollaborationEvent as _0xcf6c9e,isTransformMutationFailure as _0x11d772,isTransformMutationsWithChangesetSuccess as _0x1a179f,RevisionService as _0x22bbab,ISnapshotServerService as _0x1aa242}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2e2188,serializeRangeWithSheet as _0x32f053}from'@univerjs/engine-formula';import{RefRangeService as _0x2902d7,SetSelectionsOperation as _0xd7dc53,SheetsSelectionsService as _0x1c98c1,EffectRefRangId as _0xbb2036,handleIRemoveRow as _0x353e3c,handleIRemoveCol as _0x3a2f3e,handleMoveRange as _0x46bedb,handleInsertRow as _0x15ba22,handleInsertRangeMoveRight as _0x4a99f6,handleInsertRangeMoveDown as _0x58e60,handleInsertCol as _0x5afddb,handleDeleteRangeMoveUp as _0x3cca97,handleDeleteRangeMoveLeft as _0x38be4c,runRefRangeMutations as _0x71dfd8,SetWorksheetActivateCommand as _0x22fa72}from'@univerjs/sheets';import{map as _0x37bf48,filter as _0x1ab2d,throttleTime as _0x300cdd,takeUntil as _0x5c8d0,switchMap as _0x522501}from'rxjs/operators';import{SheetSkeletonManagerService as _0x53f974,getCoordByCell as _0x5b9d7f,getSheetObject as _0x17ad6d}from'@univerjs/sheets-ui';import{jsx as _0x5927c7,jsxs as _0x1f4533}from'react/jsx-runtime';import{useObservable as _0x315a83,useDependency as _0x1fa920,IUIPartsService as _0x3960a5,BuiltInUIPart as _0x1e67b3,connectInjector as _0x35b033,IBeforeCloseService as _0x57f6f7,IMessageService as _0x37918f,INotificationService as _0x13ad9d}from'@univerjs/ui';import{clsx as _0x4ac05f,Tooltip as _0x364b35,MessageType as _0x443b36}from'@univerjs/design';import{forwardRef as _0x158704,useRef as _0x3f18de,createElement as _0x4a2fb8,useCallback as _0x1ac4de}from'react';import{IRemoteInstanceService as _0x606a14}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x3c8baf,_0x46d754,_0x4433ee,_0x41a798)=>{const _0x4c936b=_0x1a2d01;for(var _0x44339b=_0x41a798>0x1?void 0x0:_0x41a798?li(_0x46d754,_0x4433ee):_0x46d754,_0x132076=_0x3c8baf[_0x4c936b(0x202)]-0x1,_0xe0c5c8;_0x132076>=0x0;_0x132076--)(_0xe0c5c8=_0x3c8baf[_0x132076])&&(_0x44339b=_0xe0c5c8(_0x44339b)||_0x44339b);return _0x44339b;},Qe=(_0x12e6a0,_0x3bbbf7)=>(_0x152bc1,_0x44242a)=>_0x3bbbf7(_0x152bc1,_0x44242a,_0x12e6a0);let Ue=class extends _0x1b02cf{constructor(_0x16c695,_0x6ed92c){const _0x1c1176=_0x1a2d01;super(),this[_0x1c1176(0x372)]=_0x16c695,this['_imageIoService']=_0x6ed92c,this[_0x1c1176(0x379)]();}[_0x1a2d01(0x379)](){const _0x47bc3d=_0x1a2d01,_0x1a08a8=this;this[_0x47bc3d(0x39f)](this[_0x47bc3d(0x372)][_0x47bc3d(0x23b)]({'onBeforePasteImage':async _0x20ed95=>{const _0x50aaad=_0x47bc3d,_0x9a51e1=await _0x1a08a8[_0x50aaad(0x2a8)][_0x50aaad(0x36b)](_0x20ed95);return _0x9a51e1?{'source':_0x9a51e1[_0x50aaad(0x2e5)],'imageSourceType':_0x9a51e1[_0x50aaad(0x1ef)]}:null;}}));}};Ue=_i([Qe(0x0,_0x3eb026),Qe(0x1,_0x2dd419)],Ue);const qe=[_0x1a2d01(0x205),_0x1a2d01(0x2ab),_0x1a2d01(0x38a),'red300',_0x1a2d01(0x1c6),'gold400'];class He extends _0x5b5ed7{constructor(){const _0x1ec661=_0x1a2d01;super(...arguments),_(this,_0x1ec661(0x358),new Map()),_(this,_0x1ec661(0x2a1),0x0);}[_0x1a2d01(0x307)](_0x15fa99){const _0xcd92ef=_0x1a2d01;if(this[_0xcd92ef(0x358)][_0xcd92ef(0x28d)](_0x15fa99))return this['_assignedColors'][_0xcd92ef(0x33f)](_0x15fa99);const _0x1b4c52=qe[this[_0xcd92ef(0x2a1)]];return this['_colorIndex']=(this[_0xcd92ef(0x2a1)]+0x1)%qe[_0xcd92ef(0x202)],this[_0xcd92ef(0x358)][_0xcd92ef(0x20b)](_0x15fa99,_0x1b4c52),_0x1b4c52;}}function Dt(_0xda6b95){const _0x177a47=_0x1a2d01;let _0x5422ae='';for(const _0x2b6524 of _0xda6b95){const {startOffset:_0x564d96,endOffset:_0x35b873,isActive:_0x4e3472,rangeType:_0x8c7e68,segmentId:_0x578781,segmentPage:_0x24202e}=_0x2b6524;_0x5422ae[_0x177a47(0x202)]&&(_0x5422ae+=','),_0x5422ae+=_0x564d96+':'+_0x35b873+':'+(_0x4e3472?'1':'0')+':'+_0x8c7e68+':'+_0x578781+':'+_0x24202e;}return _0x5422ae;}function hi(_0x50b66a){const _0x552b9d=_0x1a2d01,_0x4419b9=_0x50b66a[_0x552b9d(0x300)](','),_0x563b56=[];for(const _0x3d957d of _0x4419b9){const [_0x2d0770,_0x22b869,_0xa41413,_0x471b17,_0x55e91d,_0x17f0ff]=_0x3d957d[_0x552b9d(0x300)](':');_0x563b56[_0x552b9d(0x324)]({'startOffset':Number(_0x2d0770),'endOffset':Number(_0x22b869),'collapsed':_0x2d0770===_0x22b869,'isActive':_0xa41413==='1','rangeType':_0x471b17===_0x539186['TEXT']?_0x539186[_0x552b9d(0x21b)]:_0x539186[_0x552b9d(0x298)],'segmentId':typeof _0x55e91d==_0x552b9d(0x1e8)?String(_0x55e91d):'','segmentPage':Number(_0x17f0ff!=null?_0x17f0ff:-0x1)});}return _0x563b56[_0x552b9d(0x327)](_0x1c0a7c=>_0x1c0a7c[_0x552b9d(0x2bf)])||(_0x563b56[0x0][_0x552b9d(0x2bf)]=!0x0),_0x563b56;}class je extends _0x1b02cf{constructor(){const _0x1d2f41=_0x1a2d01;super(...arguments),_(this,_0x1d2f41(0x2cb),new _0x2f02(null)),_(this,_0x1d2f41(0x312),this['_collabCursorState$'][_0x1d2f41(0x234)]());}[_0x1a2d01(0x213)](_0x3cb3c3){const _0x30bdcb=_0x1a2d01,{unitID:_0x761ac0,memberID:_0x417a75,textRanges:_0x1e6b8d}=_0x3cb3c3,_0x1f961f=Dt(_0x1e6b8d);if(_0x1f961f==='')return;const _0x1b8d42={'unitID':_0x761ac0,'memberID':_0x417a75,'selection':_0x1f961f};this[_0x30bdcb(0x2cb)][_0x30bdcb(0x1e9)](_0x1b8d42);}}var ui=Object[_0x1a2d01(0x366)],di=(_0x310e89,_0xd75f96,_0x4ccc9c,_0xe57d47)=>{const _0xaea4ae=_0x1a2d01;for(var _0x5cc16c=_0xe57d47>0x1?void 0x0:_0xe57d47?ui(_0xd75f96,_0x4ccc9c):_0xd75f96,_0x76a9cf=_0x310e89[_0xaea4ae(0x202)]-0x1,_0xee41af;_0x76a9cf>=0x0;_0x76a9cf--)(_0xee41af=_0x310e89[_0x76a9cf])&&(_0x5cc16c=_0xee41af(_0x5cc16c)||_0x5cc16c);return _0x5cc16c;},w=(_0x46607a,_0x56b5e4)=>(_0x517044,_0x914c0d)=>_0x56b5e4(_0x517044,_0x914c0d,_0x46607a);const fi=0x12c,Si=0x64;let Me=class extends _0x1b02cf{constructor(_0x3b15a0,_0x143b1d,_0x54f4e4,_0x681c7b,_0x11c838,_0x481ae6,_0x1f272e,_0x4f361b,_0x12dc5e){const _0x11b4f7=_0x1a2d01;super(),_(this,_0x11b4f7(0x38d),!0x1),_(this,_0x11b4f7(0x379),!0x1),_(this,_0x11b4f7(0x23e),new _0x2f02(new Map())),_(this,_0x11b4f7(0x335),this[_0x11b4f7(0x23e)]['asObservable']()),_(this,'_roomMembers$',new _0x2f02([])),_(this,_0x11b4f7(0x219),this[_0x11b4f7(0x380)][_0x11b4f7(0x29e)](_0x5742cc(fi))),_(this,_0x11b4f7(0x2f4),_0x1d0f0a(_0x19c2fc=>{const _0x5f07e1=_0x11b4f7,_0xb47c50={'eventID':_0xcf6c9e[_0x5f07e1(0x237)],'data':{'unitID':this[_0x5f07e1(0x32f)],'memberID':this[_0x5f07e1(0x389)][_0x5f07e1(0x376)](),'selection':Dt(_0x19c2fc)}};this[_0x5f07e1(0x389)][_0x5f07e1(0x258)](_0xb47c50,this[_0x5f07e1(0x32f)]);},Si)),(this['unitID']=_0x3b15a0,this[_0x11b4f7(0x389)]=_0x143b1d,this[_0x11b4f7(0x2ad)]=_0x54f4e4,this[_0x11b4f7(0x2b9)]=_0x681c7b,this[_0x11b4f7(0x320)]=_0x11c838,this[_0x11b4f7(0x2fe)]=_0x481ae6,this[_0x11b4f7(0x303)]=_0x1f272e,this[_0x11b4f7(0x231)]=_0x4f361b,this[_0x11b4f7(0x33c)]=_0x12dc5e);}get[_0x1a2d01(0x374)](){const _0x436be5=_0x1a2d01;return this[_0x436be5(0x23e)][_0x436be5(0x204)]();}get[_0x1a2d01(0x279)](){const _0x332a67=_0x1a2d01;return this[_0x332a67(0x380)][_0x332a67(0x204)]();}[_0x1a2d01(0x28b)](){const _0x3a0074=_0x1a2d01;super[_0x3a0074(0x28b)](),this[_0x3a0074(0x23e)][_0x3a0074(0x1e9)](new Map()),this[_0x3a0074(0x23e)][_0x3a0074(0x264)](),this[_0x3a0074(0x380)][_0x3a0074(0x1e9)]([]),this[_0x3a0074(0x380)][_0x3a0074(0x264)]();}[_0x1a2d01(0x210)](){const _0x3b7828=_0x1a2d01;this[_0x3b7828(0x379)]||(this[_0x3b7828(0x379)]=!0x0,this['_session']['sessionStatus$'][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x7eb301=>{const _0x31faa6=_0x3b7828;_0x7eb301===_0x24654b[_0x31faa6(0x33d)]?this[_0x31faa6(0x2de)]():this['_toggleOffline']();}),this['_session'][_0x3b7828(0x301)][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x258265=>{const _0x2e3c2f=_0x3b7828,_0x456d0a=_0x258265[_0x2e3c2f(0x259)];_0x456d0a===_0xcf6c9e[_0x2e3c2f(0x237)]&&this[_0x2e3c2f(0x200)](_0x258265),_0x456d0a===_0xcf6c9e['USERS_LEAVE']&&this[_0x2e3c2f(0x24a)](_0x258265);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x11d00a=>{const _0x1bb070=_0x3b7828,_0x490329=_0x11d00a[_0x1bb070(0x37b)];_0x490329!=null&&this['_online']&&_0x11d00a['id']===_0x1fea29['id']&&_0x490329[_0x1bb070(0x1b5)]===this[_0x1bb070(0x32f)]&&_0x490329[_0x1bb070(0x1f8)]===!0x1&&_0x490329[_0x1bb070(0x2d2)]['length']>0x0&&this['_updateLocalCursor'](_0x490329[_0x1bb070(0x2d2)]);})),this[_0x3b7828(0x2fe)][_0x3b7828(0x312)]['pipe'](_0x209b00(this['dispose$']))[_0x3b7828(0x233)](_0x293b7a=>{const _0x1b4e56=_0x3b7828;if((_0x293b7a==null?void 0x0:_0x293b7a[_0x1b4e56(0x32f)])!==this[_0x1b4e56(0x32f)])return;const _0x3560c6={'eventID':_0xcf6c9e[_0x1b4e56(0x237)],'data':_0x293b7a};this[_0x1b4e56(0x200)](_0x3560c6);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x9b86c8=>{const _0x492cd5=_0x3b7828;if(_0x9b86c8[_0x492cd5(0x37b)]==null)return;const _0x399516=_0x9b86c8[_0x492cd5(0x37b)];if(_0x9b86c8['id']!==_0x4757d0['id']||_0x399516[_0x492cd5(0x1b5)]!==this[_0x492cd5(0x32f)])return;const _0x57d90d={'id':_0x492cd5(0x2bd),'params':_0x399516},_0x35909c=this['cursorInfo'];for(const [_0x4cf644,_0x641572]of _0x35909c){const _0x1075f6={'id':_0x492cd5(0x2bd),'params':{'unitId':this[_0x492cd5(0x32f)],'actions':null,'textRanges':_0x641572[_0x492cd5(0x2d2)]}},_0xa677f2=this['_transformService']['transformMutation'](_0x57d90d,_0x1075f6,!0x1);if(_0x11d772(_0xa677f2))throw _0xa677f2[_0x492cd5(0x1f7)];_0x35909c[_0x492cd5(0x20b)](_0x4cf644,{..._0x641572,'ranges':_0xa677f2[_0x492cd5(0x36c)][_0x492cd5(0x37b)]['textRanges']});}queueMicrotask(()=>{const _0x47b832=_0x492cd5;this[_0x47b832(0x23e)][_0x47b832(0x1e9)](_0x35909c);});})));}[_0x1a2d01(0x200)](_0x494ce5){const _0x3a0800=_0x1a2d01;var _0xc08b7c,_0x54890f;const {memberID:_0x2906b2,selection:_0x5311b1}=_0x494ce5[_0x3a0800(0x308)],_0x692d15=hi(_0x5311b1),_0x32a997=(_0x54890f=(_0xc08b7c=this[_0x3a0800(0x320)]['getMember'](this['unitID'],_0x2906b2))==null?void 0x0:_0xc08b7c[_0x3a0800(0x260)])!=null?_0x54890f:'Unknown\x20user',_0x2eac30={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2906b2),'name':_0x32a997,'ranges':_0x692d15},_0x57f3ef=this[_0x3a0800(0x374)];_0x57f3ef[_0x3a0800(0x20b)](_0x2906b2,_0x2eac30),this[_0x3a0800(0x23e)][_0x3a0800(0x1e9)](_0x57f3ef);}[_0x1a2d01(0x24a)](_0x28a5a1){const _0x59fa38=_0x1a2d01,{memberID:_0x1a807b}=_0x28a5a1[_0x59fa38(0x308)],_0x5f397d=this[_0x59fa38(0x374)];_0x5f397d[_0x59fa38(0x315)](_0x1a807b),this[_0x59fa38(0x23e)][_0x59fa38(0x1e9)](_0x5f397d);}[_0x1a2d01(0x2de)](){const _0x8b209e=_0x1a2d01;var _0x480d35;if(this['_online']=!0x0,((_0x480d35=this[_0x8b209e(0x231)][_0x8b209e(0x246)]())==null?void 0x0:_0x480d35['getUnitId']())!==this[_0x8b209e(0x32f)])return;const _0x98897b=this[_0x8b209e(0x2ad)]['get'](_0xba4b09)[_0x8b209e(0x2f3)]();Array['isArray'](_0x98897b)&&_0x98897b[_0x8b209e(0x202)]>0x0&&this[_0x8b209e(0x2f4)](_0x98897b);}['_toggleOffline'](){this['_online']=!0x1;}};Me=di([w(0x2,_0x8830ba(_0x6b91ad)),w(0x3,_0x8830ba(He)),w(0x4,_0x8830ba(_0x3925f4)),w(0x5,_0x8830ba(je)),w(0x6,_0x14f9c9),w(0x7,_0x1a3a82),w(0x8,_0x5bb19c)],Me);var mi=Object[_0x1a2d01(0x366)],gi=(_0xf5fb95,_0x298452,_0x578f11,_0x47e68e)=>{const _0x26cb0e=_0x1a2d01;for(var _0x2d368d=_0x47e68e>0x1?void 0x0:_0x47e68e?mi(_0x298452,_0x578f11):_0x298452,_0x170508=_0xf5fb95[_0x26cb0e(0x202)]-0x1,_0x26b96b;_0x170508>=0x0;_0x170508--)(_0x26b96b=_0xf5fb95[_0x170508])&&(_0x2d368d=_0x26b96b(_0x2d368d)||_0x2d368d);return _0x2d368d;},x=(_0x330f6e,_0x5739ac)=>(_0x3f5b11,_0x5e407d)=>_0x5739ac(_0x3f5b11,_0x5e407d,_0x330f6e);const vi=0x12c,Ii=0x64,pi=()=>{let _0x13867e=[],_0x28a3d0=!0x1;return _0x462e21=>{_0x13867e['push'](_0x462e21),_0x28a3d0||(_0x28a3d0=!0x0,setTimeout(()=>{const _0x435045=_0x213f;_0x13867e[_0x435045(0x25f)](_0x4e37f9=>_0x4e37f9()),_0x13867e=[],_0x28a3d0=!0x1;}));};};let Pe=class extends _0x1b02cf{constructor(_0x43a78f,_0x54e31c,_0x2a3fb9,_0x2adfef,_0x5d46c1,_0x1c8e91,_0x10109f,_0x4416e0){const _0x57b9a1=_0x1a2d01;super(),_(this,_0x57b9a1(0x38d),!0x1),_(this,_0x57b9a1(0x379),!0x1),_(this,'_cursorInfo$',new _0x2f02(new Map())),_(this,_0x57b9a1(0x335),this[_0x57b9a1(0x23e)][_0x57b9a1(0x234)]()),_(this,_0x57b9a1(0x380),new _0x2f02([])),_(this,_0x57b9a1(0x219),this[_0x57b9a1(0x380)]['pipe'](_0x5742cc(vi))),_(this,'_updateLocalCursor',_0x1d0f0a((_0x124c8f,_0x82e113)=>{const _0x52eded=_0x57b9a1,_0x166fe9={'eventID':_0xcf6c9e[_0x52eded(0x237)],'data':{'unitID':this[_0x52eded(0x32f)],'memberID':this[_0x52eded(0x389)]['getMemberID'](),'selection':_0x32f053(_0x124c8f,_0x82e113[_0x52eded(0x299)])}};this[_0x52eded(0x389)][_0x52eded(0x258)](_0x166fe9,this[_0x52eded(0x32f)]);},Ii)),(this[_0x57b9a1(0x32f)]=_0x43a78f,this[_0x57b9a1(0x389)]=_0x54e31c,this[_0x57b9a1(0x2ad)]=_0x2a3fb9,this[_0x57b9a1(0x2b9)]=_0x2adfef,this['_memberService']=_0x5d46c1,this[_0x57b9a1(0x231)]=_0x1c8e91,this[_0x57b9a1(0x33c)]=_0x10109f,this['_refRangeService']=_0x4416e0);}get['cursorInfo'](){const _0x2af2c8=_0x1a2d01;return this['_cursorInfo$'][_0x2af2c8(0x204)]();}get['roomMembers'](){const _0x354bb2=_0x1a2d01;return this[_0x354bb2(0x380)]['getValue']();}['dispose'](){const _0x2c4d4f=_0x1a2d01;super['dispose'](),this[_0x2c4d4f(0x23e)]['next'](new Map()),this[_0x2c4d4f(0x23e)][_0x2c4d4f(0x264)](),this[_0x2c4d4f(0x380)][_0x2c4d4f(0x1e9)]([]),this['_roomMembers$'][_0x2c4d4f(0x264)]();}[_0x1a2d01(0x210)](){const _0x12ca4b=_0x1a2d01;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x3279f0=>{const _0x23f6ef=_0x12ca4b;_0x3279f0===_0x24654b[_0x23f6ef(0x33d)]?this[_0x23f6ef(0x2de)]():this[_0x23f6ef(0x1b7)]();}),this[_0x12ca4b(0x389)][_0x12ca4b(0x301)][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x18bce8=>{const _0x197e56=_0x12ca4b,_0x9c5013=_0x18bce8['eventID'];_0x9c5013===_0xcf6c9e[_0x197e56(0x237)]&&this[_0x197e56(0x200)](_0x18bce8),_0x9c5013===_0xcf6c9e[_0x197e56(0x23c)]&&this[_0x197e56(0x24a)](_0x18bce8);}),this['_onRefRangeChange'](),this[_0x12ca4b(0x39f)](this[_0x12ca4b(0x33c)][_0x12ca4b(0x332)](_0x49ace0=>{const _0x5da612=_0x12ca4b;if(this[_0x5da612(0x38d)]&&_0x49ace0['id']===_0xd7dc53['id']&&_0x49ace0[_0x5da612(0x37b)][_0x5da612(0x1b5)]===this[_0x5da612(0x32f)]){const _0x9af3b0=_0x49ace0[_0x5da612(0x37b)];this[_0x5da612(0x2f4)](_0x9af3b0[_0x5da612(0x2df)],_0x9af3b0['selections'][0x0]);}})));}[_0x1a2d01(0x200)](_0x170143){const _0x13a637=_0x1a2d01;var _0x1d4989,_0xc1dfec;const {memberID:_0x4d7fa8,selection:_0xaa34ea}=_0x170143[_0x13a637(0x308)],{sheetName:_0x1e8f4e,range:_0x19f780}=_0x2e2188(_0xaa34ea),_0x3d3f88={'name':(_0xc1dfec=(_0x1d4989=this[_0x13a637(0x320)][_0x13a637(0x257)](this[_0x13a637(0x32f)],_0x4d7fa8))==null?void 0x0:_0x1d4989[_0x13a637(0x260)])!=null?_0xc1dfec:'Unknown\x20user','range':this['_getMergeRange'](_0x1e8f4e,_0x19f780),'sheetID':_0x1e8f4e,'color':this[_0x13a637(0x2b9)][_0x13a637(0x307)](_0x4d7fa8),'selection':_0xaa34ea},_0x3ebe29=this[_0x13a637(0x374)];_0x3ebe29['set'](_0x4d7fa8,_0x3d3f88),this[_0x13a637(0x23e)][_0x13a637(0x1e9)](_0x3ebe29);}['_onCursorDelete'](_0x33d838){const _0xd80220=_0x1a2d01,{memberID:_0x5d84a6}=_0x33d838[_0xd80220(0x308)],_0x495e96=this[_0xd80220(0x374)];_0x495e96[_0xd80220(0x315)](_0x5d84a6),this[_0xd80220(0x23e)][_0xd80220(0x1e9)](_0x495e96);}['_getMergeRange'](_0x2f2946,_0x2e017f){const _0x27f296=_0x1a2d01;var _0x527b9b,_0x42b807;const _0x5b9d71=(_0x42b807=(_0x527b9b=this[_0x27f296(0x231)][_0x27f296(0x1dd)](this['unitID']))==null?void 0x0:_0x527b9b['getSheetBySheetId'](_0x2f2946))==null?void 0x0:_0x42b807[_0x27f296(0x34f)]();return(_0x5b9d71==null?void 0x0:_0x5b9d71[_0x27f296(0x2b4)](_0x37a866=>_0x2c58ae[_0x27f296(0x217)](_0x37a866,_0x2e017f)))||_0x2e017f;}[_0x1a2d01(0x383)](){const _0x5e13fa=_0x1a2d01,_0x196eed=new _0x133709(),_0x3639bb=pi(),_0x4dca90=()=>{const _0x3a82ce=_0x213f;_0x196eed['dispose']();const _0x406921=(_0x3e9f8e,_0x49eb54,_0x5d9fc1,_0x409abd)=>{const _0x5a5d9f=_0x213f;let _0x4d470c=[];switch(_0x3e9f8e['id']){case _0xbb2036[_0x5a5d9f(0x1f6)]:{_0x4d470c=_0x38be4c(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['DeleteRangeMoveUpCommandId']:{_0x4d470c=_0x3cca97(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x34d)]:{_0x4d470c=_0x5afddb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x388)]:{_0x4d470c=_0x58e60(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['InsertRangeMoveRightCommandId']:{_0x4d470c=_0x4a99f6(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x228)]:{_0x4d470c=_0x15ba22(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['MoveRangeCommandId']:{_0x4d470c=_0x46bedb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['RemoveColCommandId']:{_0x4d470c=_0x3a2f3e(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x2e4)]:{_0x4d470c=_0x353e3c(_0x3e9f8e,_0x409abd);break;}}const _0x51b9c4=_0x71dfd8(_0x4d470c,_0x409abd),_0x3ab7e2=this['cursorInfo'][_0x5a5d9f(0x33f)](_0x49eb54);if(_0x3ab7e2&&_0x51b9c4){const _0x69c7de={..._0x3ab7e2,'range':_0x51b9c4};this['cursorInfo'][_0x5a5d9f(0x20b)](_0x49eb54,_0x69c7de),_0x3639bb(()=>{const _0xd2e561=_0x5a5d9f,_0x77b365=this['_refRangeService']['registerRefRange'](_0x51b9c4,_0x3c0dcb=>(_0x77b365[_0xd2e561(0x28b)](),_0x406921(_0x3c0dcb,_0x49eb54,_0x5d9fc1,_0x51b9c4)));_0x196eed['add'](_0x77b365);});}return{'redos':[],'undos':[]};};this[_0x3a82ce(0x374)][_0x3a82ce(0x25f)]((_0x8a0d0b,_0x473979)=>{const _0x437531=_0x3a82ce,{range:_0x108b60,sheetID:_0x230de0}=_0x8a0d0b,_0x30e1fe=this[_0x437531(0x398)][_0x437531(0x21c)](_0x108b60,_0x1621f2=>(_0x30e1fe[_0x437531(0x28b)](),_0x406921(_0x1621f2,_0x473979,_0x230de0,_0x108b60)));_0x196eed[_0x437531(0x1f4)](_0x30e1fe);});};this[_0x5e13fa(0x39f)](_0x23ea29(this[_0x5e13fa(0x23e)][_0x5e13fa(0x233)](()=>{_0x4dca90();})));}[_0x1a2d01(0x2de)](){const _0x3b89b6=_0x1a2d01;var _0x25e7d1,_0x1ee8e1;if(this[_0x3b89b6(0x38d)]=!0x0,((_0x25e7d1=this[_0x3b89b6(0x231)][_0x3b89b6(0x246)]())==null?void 0x0:_0x25e7d1[_0x3b89b6(0x2dd)]())!==this[_0x3b89b6(0x32f)])return;const _0x3ad167=(_0x1ee8e1=this[_0x3b89b6(0x2ad)][_0x3b89b6(0x33f)](_0x1c98c1)[_0x3b89b6(0x2fd)]())==null?void 0x0:_0x1ee8e1[0x0],_0x4300d2=this[_0x3b89b6(0x231)][_0x3b89b6(0x222)](_0x43ce38['UNIVER_SHEET'])[_0x3b89b6(0x25d)]();_0x3ad167&&_0x4300d2&&this[_0x3b89b6(0x2f4)](_0x4300d2[_0x3b89b6(0x227)](),_0x3ad167);}[_0x1a2d01(0x1b7)](){const _0x29a85c=_0x1a2d01;this[_0x29a85c(0x38d)]=!0x1;}};Pe=gi([x(0x2,_0x8830ba(_0x6b91ad)),x(0x3,_0x8830ba(He)),x(0x4,_0x8830ba(_0x3925f4)),x(0x5,_0x1a3a82),x(0x6,_0x5bb19c),x(0x7,_0x8830ba(_0x2902d7))],Pe);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5af650,_0x40d68d,_0x3caa01,_0x5deb55)=>{const _0x472185=_0x1a2d01;for(var _0x2cb7a3=_0x5deb55>0x1?void 0x0:_0x5deb55?Ci(_0x40d68d,_0x3caa01):_0x40d68d,_0x15b068=_0x5af650[_0x472185(0x202)]-0x1,_0x5623cb;_0x15b068>=0x0;_0x15b068--)(_0x5623cb=_0x5af650[_0x15b068])&&(_0x2cb7a3=_0x5623cb(_0x2cb7a3)||_0x2cb7a3);return _0x2cb7a3;},me=(_0x514b63,_0x5103ac)=>(_0x224ac1,_0x41c6e4)=>_0x5103ac(_0x224ac1,_0x41c6e4,_0x514b63);let H=class extends _0x1b02cf{constructor(_0x14438e,_0x3a8e83,_0x5510b5){const _0x55eb47=_0x1a2d01;super(),_(this,_0x55eb47(0x304),new Map()),_(this,_0x55eb47(0x288),new _0x4db37a()),(this[_0x55eb47(0x231)]=_0x14438e,this[_0x55eb47(0x2ad)]=_0x3a8e83,this['_collabSessionService']=_0x5510b5,this[_0x55eb47(0x379)]());}[_0x1a2d01(0x28b)](){const _0x3bfa1d=_0x1a2d01;super[_0x3bfa1d(0x28b)](),this['_entityInit$'][_0x3bfa1d(0x264)](),this['_entities'][_0x3bfa1d(0x25f)](_0x155357=>_0x155357[_0x3bfa1d(0x28b)]());}[_0x1a2d01(0x32a)](_0x52da4b){const _0x68bea7=_0x1a2d01;return this[_0x68bea7(0x304)][_0x68bea7(0x28d)](_0x52da4b)?this[_0x68bea7(0x304)][_0x68bea7(0x33f)](_0x52da4b)[_0x68bea7(0x335)]:this[_0x68bea7(0x288)][_0x68bea7(0x29e)](_0x23cb10(_0x488087=>_0x488087[_0x68bea7(0x32f)]===_0x52da4b),_0x71cc92(_0x4e3096=>_0x4e3096[_0x68bea7(0x335)]));}[_0x1a2d01(0x379)](){const _0x44cc50=_0x1a2d01;this[_0x44cc50(0x231)][_0x44cc50(0x29d)](_0x43ce38['UNIVER_SHEET'])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](async _0x297019=>{const _0x4c9491=_0x44cc50,_0x3a6902=_0x297019[_0x4c9491(0x2dd)](),_0x37a309=await this['_startSheetCollabCursor'](_0x3a6902);this[_0x4c9491(0x288)][_0x4c9491(0x1e9)](_0x37a309),this[_0x4c9491(0x304)]['set'](_0x3a6902,_0x37a309);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x43ce38[_0x44cc50(0x2d5)])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x29e)](_0x23cb10(_0x1c1397=>!_0x1c1397[_0x44cc50(0x2dd)]()[_0x44cc50(0x20d)]('__')))[_0x44cc50(0x233)](async _0x4d87de=>{const _0x1ac86e=_0x44cc50,_0x46ab7e=_0x4d87de[_0x1ac86e(0x2dd)](),_0x279b2e=await this[_0x1ac86e(0x34a)](_0x46ab7e);this[_0x1ac86e(0x288)][_0x1ac86e(0x1e9)](_0x279b2e),this[_0x1ac86e(0x304)][_0x1ac86e(0x20b)](_0x46ab7e,_0x279b2e);}),_0x481db9(this[_0x44cc50(0x231)]['getTypeOfUnitDisposed$'](_0x43ce38[_0x44cc50(0x2d5)]),this['_univerInstanceService'][_0x44cc50(0x1db)](_0x43ce38[_0x44cc50(0x20a)]))[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](_0x1cea0b=>{const _0x44405c=_0x44cc50,_0x427941=_0x1cea0b[_0x44405c(0x2dd)](),_0x4961cd=this['_entities']['get'](_0x427941);_0x4961cd&&(_0x4961cd[_0x44405c(0x28b)](),this['_entities'][_0x44405c(0x315)](_0x427941));});}async[_0x1a2d01(0x1d1)](_0xc2b98e){const _0x30d710=_0x1a2d01,_0x39718b=await this['_collabSessionService'][_0x30d710(0x1b8)](_0xc2b98e),_0x2f277f=this[_0x30d710(0x2ad)][_0x30d710(0x344)](Pe,_0xc2b98e,_0x39718b);return _0x2f277f[_0x30d710(0x210)](),_0x2f277f;}async[_0x1a2d01(0x34a)](_0xd29c54){const _0x35689a=_0x1a2d01,_0x2e6228=await this[_0x35689a(0x208)][_0x35689a(0x1b8)](_0xd29c54),_0x11cce5=this[_0x35689a(0x2ad)][_0x35689a(0x344)](Me,_0xd29c54,_0x2e6228);return _0x11cce5[_0x35689a(0x210)](),_0x11cce5;}};H=Ei([me(0x0,_0x1a3a82),me(0x1,_0x8830ba(_0x6b91ad)),me(0x2,_0x8830ba(_0x1e3747))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x4deefa,_0x3415de){const _0x2a472c=_0x1a2d01;let {radius:_0x59bea6,width:_0x1d4bba,height:_0x52d62b}=_0x3415de;_0x59bea6=_0x59bea6!=null?_0x59bea6:0x0,_0x1d4bba=_0x1d4bba!=null?_0x1d4bba:0x1e,_0x52d62b=_0x52d62b!=null?_0x52d62b:0x1e;let _0x30b711=0x0,_0x4b4618=0x0,_0x5b1744=0x0;_0x30b711=_0x4b4618=_0x5b1744=Math[_0x2a472c(0x323)](_0x59bea6,_0x1d4bba/0x2,_0x52d62b/0x2),_0x4deefa[_0x2a472c(0x241)](),_0x4deefa[_0x2a472c(0x27d)](_0x30b711,0x0),_0x4deefa['lineTo'](_0x1d4bba-_0x4b4618,0x0),_0x4deefa[_0x2a472c(0x399)](_0x1d4bba-_0x4b4618,_0x4b4618,_0x4b4618,Math['PI']*0x3/0x2,0x0,!0x1),_0x4deefa[_0x2a472c(0x1d5)](_0x1d4bba,_0x52d62b-_0x5b1744),_0x4deefa['arc'](_0x1d4bba-_0x5b1744,_0x52d62b-_0x5b1744,_0x5b1744,0x0,Math['PI']/0x2,!0x1),_0x4deefa['lineTo'](0x0,_0x52d62b),_0x4deefa[_0x2a472c(0x1d5)](0x0,_0x30b711),_0x4deefa[_0x2a472c(0x399)](_0x30b711,_0x30b711,_0x30b711,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4deefa[_0x2a472c(0x2a3)](),_0x3415de['fill']&&(_0x4deefa['save'](),_0x4deefa[_0x2a472c(0x1b6)]=_0x3415de['fill'],_0x3415de['fillRule']==='evenodd'?_0x4deefa[_0x2a472c(0x30d)](_0x2a472c(0x1b2)):_0x4deefa[_0x2a472c(0x30d)](),_0x4deefa[_0x2a472c(0x2b2)]());}class ue extends _0x4ee4a8{constructor(_0x3aba07,_0x4540f6){const _0x47018f=_0x1a2d01;super(_0x3aba07,_0x4540f6),_(this,_0x47018f(0x1bb)),_(this,'text'),(this[_0x47018f(0x1bb)]=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x1bb)],this['text']=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x364)]);}static[_0x1a2d01(0x310)](_0x2c707d,_0x3caeb5){const _0x4e0fd6=_0x1a2d01,{text:_0x269276,color:_0x50fe57}=_0x3caeb5;_0x2c707d[_0x4e0fd6(0x329)](),_0x2c707d[_0x4e0fd6(0x1fa)]=_0x4e0fd6(0x1de);const _0x284f95=_0x2c707d[_0x4e0fd6(0x1ad)](_0x269276)[_0x4e0fd6(0x32b)],_0x254cb1=Math[_0x4e0fd6(0x323)](_0x284f95+0x2*ge,et);Oi(_0x2c707d,{'height':te,'radius':0x4,'width':_0x254cb1,'fill':_0x50fe57}),_0x2c707d[_0x4e0fd6(0x1b6)]=_0x4e0fd6(0x1ca);const _0x879f0=ge,_0x21b9ff=te-bi,_0xd69040=et-0x2*ge;if(_0x284f95>_0xd69040){let _0x35ccc8='',_0x19f19d=0x0;for(const _0x7c71fd of _0x269276){const _0x518f7f=_0x2c707d['measureText'](_0x7c71fd)[_0x4e0fd6(0x32b)];if(_0x19f19d+_0x518f7f<=_0xd69040-_0x2c707d[_0x4e0fd6(0x1ad)](_0x4e0fd6(0x295))[_0x4e0fd6(0x32b)])_0x35ccc8+=_0x7c71fd,_0x19f19d+=_0x518f7f;else{_0x35ccc8+=_0x4e0fd6(0x295);break;}}_0x2c707d[_0x4e0fd6(0x255)](_0x35ccc8,_0x879f0,_0x21b9ff);}else _0x2c707d[_0x4e0fd6(0x255)](_0x269276,_0x879f0,_0x21b9ff);_0x2c707d[_0x4e0fd6(0x2b2)]();}[_0x1a2d01(0x2c9)](_0x195ba9){const _0x13e2be=_0x1a2d01;ue[_0x13e2be(0x310)](_0x195ba9,this);}}const ve=_0x1a2d01(0x1fb),Ti=_0x1a2d01(0x35d),Ri=_0x1a2d01(0x31f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x1a2d01(0x1ed);class tt{constructor(_0x17fba9,_0x1f51d3,_0x6f6ac8,_0x2d553c){const _0x4e334a=_0x1a2d01;_(this,'_shapes',[]),_(this,_0x4e334a(0x1ff),null),_(this,_0x4e334a(0x37c),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x17fba9,this[_0x4e334a(0x22e)]=_0x1f51d3,this[_0x4e334a(0x1fc)]=_0x6f6ac8,this[_0x4e334a(0x2ca)]=_0x2d553c,this[_0x4e334a(0x334)]());}set[_0x1a2d01(0x1c8)](_0x58e4a5){const _0x34d731=_0x1a2d01;_0x58e4a5?(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x1d3)](),this[_0x34d731(0x37c)]&&this[_0x34d731(0x37c)]['show']()):(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x2ba)](),this['_textBubble']&&this[_0x34d731(0x37c)][_0x34d731(0x1d3)]());}['dispose'](){const _0x14d42c=_0x1a2d01;for(const _0xa0a3a8 of this[_0x14d42c(0x1ce)])_0xa0a3a8['dispose']();this[_0x14d42c(0x37c)]&&this[_0x14d42c(0x37c)]['dispose'](),this[_0x14d42c(0x2a7)]&&this[_0x14d42c(0x2a7)][_0x14d42c(0x28b)](),this[_0x14d42c(0x1ff)]&&this[_0x14d42c(0x1ff)][_0x14d42c(0x28b)](),this[_0x14d42c(0x2bc)]&&this[_0x14d42c(0x2bc)]();}[_0x1a2d01(0x334)](){const _0x3bbc1b=_0x1a2d01;var _0x520b34;const {_docSkeleton:_0x2b1876,_document:_0x2bcaf2}=this,{color:_0x40b79a,name:_0x4f6c5b,ranges:_0x193715}=this[_0x3bbc1b(0x21d)],_0x11af93=_0x2bcaf2[_0x3bbc1b(0x1eb)](),{docsLeft:_0x4dfa34,docsTop:_0x15ab11}=_0x11af93,_0x553b75=new _0x2f82e0(_0x11af93,_0x2b1876);for(const {startOffset:_0x55e821,endOffset:_0x16aebd,rangeType:_0x2bb758,segmentId:_0x50dd51,segmentPage:_0x4cf88f,collapsed:_0x33d93e,isActive:_0x214c8d}of _0x193715){const _0x163e23=_0x2b1876[_0x3bbc1b(0x23a)](_0x55e821,!0x0,_0x50dd51,_0x4cf88f);let _0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd,!0x0,_0x50dd51,_0x4cf88f);if(_0x4efd00==null&&(_0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd-0x1,!0x1,_0x50dd51,_0x4cf88f)),_0x214c8d){const {contentBoxPointGroup:_0x580261}=_0x553b75[_0x3bbc1b(0x2a6)](_0x4efd00,_0x4efd00);if(_0x580261[_0x3bbc1b(0x202)]===0x0)continue;this['_drawAnchor'](_0x40b79a,_0x580261,_0x4dfa34,_0x15ab11,_0x4f6c5b),this[_0x3bbc1b(0x2bc)]=this[_0x3bbc1b(0x31b)]();}if(_0x163e23&&_0x4efd00){if(_0x2bb758===_0x539186['RECT']){const _0x52c615=new _0x49925c(_0x11af93,_0x2b1876),{pointGroup:_0x2e8646}=(_0x520b34=_0x52c615['getRangePointData'](_0x163e23,_0x4efd00))!=null?_0x520b34:{};if(_0x2e8646==null||_0x2e8646[_0x3bbc1b(0x202)]===0x0)continue;this[_0x3bbc1b(0x221)](_0x40b79a,_0x2e8646,_0x4dfa34,_0x15ab11);}else{if(!_0x33d93e){const {borderBoxPointGroup:_0xec2d6d}=_0x553b75[_0x3bbc1b(0x2a6)](_0x163e23,_0x4efd00);if(_0xec2d6d[_0x3bbc1b(0x202)]===0x0)continue;this['_drawTextRange'](_0x40b79a,_0xec2d6d,_0x4dfa34,_0x15ab11);}}}}}[_0x1a2d01(0x1a5)](_0x16bc4b,_0x3a9ac5,_0x43d365,_0x52c4ec,_0x3db324){const _0x5efabc=_0x1a2d01,_0xee340=this['_getAnchorBounding'](_0x3a9ac5),{left:_0xf1b41e,top:_0x206887,height:_0x1b355e}=_0xee340,_0x2003a0=this[_0x5efabc(0x1ae)](),_0x3df165=Ni/_0x2003a0,_0x503cfe=new _0x54beac(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec,'height':_0x1b355e,'width':Di,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':_0x3df165,'stroke':Ui,'evented':!0x0});this[_0x5efabc(0x1ff)]=_0x503cfe,this[_0x5efabc(0x22e)]['addObject'](_0x503cfe,_0x2d968a);const _0x4dc2df=new _0x54beac(ve+_0x2791fb['generateRandomId'](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':0x0,'stroke':_0x16bc4b||_0x4047fc(_0x565c49['black'],0x0),'evented':!0x1});this[_0x5efabc(0x2a7)]=_0x4dc2df,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x4dc2df,_0x2d968a);const _0x3066d9=new ue(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-te,'text':_0x3db324,'color':_0x16bc4b});this['_textBubble']=_0x3066d9,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x3066d9,_0x2d968a),this[_0x5efabc(0x1c8)]=!0x1;}['_handleHover'](){const _0x3a2113=_0x1a2d01,_0x556c05=this[_0x3a2113(0x1ff)][_0x3a2113(0x21a)][_0x3a2113(0x1bf)](()=>{this['_hover']=!0x0;}),_0x3e633f=this['_anchor'][_0x3a2113(0x285)][_0x3a2113(0x1bf)](()=>{const _0x5401f6=_0x3a2113;this['_hideTimer']&&clearTimeout(this[_0x5401f6(0x1cf)]),this[_0x5401f6(0x1cf)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x556c05['unsubscribe'](),_0x3e633f['unsubscribe']();};}['_drawTextRange'](_0x2282bb,_0x437054,_0x31057f,_0x5c71e9){const _0x19ae36=_0x1a2d01,_0x422460=new _0x12deca(_0x2282bb)[_0x19ae36(0x2c5)](0.2)[_0x19ae36(0x375)](),_0x199ef8=new _0x2ba60b(Ti+_0x2791fb[_0x19ae36(0x2a0)](X),{'pointsGroup':_0x437054,'fill':_0x422460||_0x4047fc(_0x565c49[_0x19ae36(0x215)],0.2),'left':_0x31057f,'top':_0x5c71e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19ae36(0x1ce)][_0x19ae36(0x324)](_0x199ef8),this[_0x19ae36(0x22e)][_0x19ae36(0x39d)](_0x199ef8,_0x2d968a);}[_0x1a2d01(0x221)](_0x168edb,_0x518113,_0x41ebcc,_0x3ef6b8){const _0x5bdcb1=_0x1a2d01,_0x161f19=new _0x12deca(_0x168edb)[_0x5bdcb1(0x2c5)](0.2)[_0x5bdcb1(0x375)](),_0x20f0c3=new _0x2ba60b(Ri+_0x2791fb[_0x5bdcb1(0x2a0)](X),{'pointsGroup':_0x518113,'fill':_0x161f19||_0x4047fc(_0x565c49[_0x5bdcb1(0x215)],0.2),'left':_0x41ebcc,'top':_0x3ef6b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bdcb1(0x1ce)][_0x5bdcb1(0x324)](_0x20f0c3),this[_0x5bdcb1(0x22e)][_0x5bdcb1(0x39d)](_0x20f0c3,_0x2d968a);}[_0x1a2d01(0x397)](_0x338dea){const _0x4c856c=_0x338dea[0x0],_0x4f2af2=_0x4c856c[0x0],_0x5bdf3c=_0x4c856c[0x2],{x:_0x3637d2,y:_0x342149}=_0x4f2af2,{x:_0x3b92e1,y:_0x1e9339}=_0x5bdf3c;return{'left':_0x3637d2,'top':_0x342149,'width':_0x3b92e1-_0x3637d2,'height':_0x1e9339-_0x342149};}['_getScale'](){const _0x215110=_0x1a2d01,{scaleX:_0x2d87d3,scaleY:_0x162208}=this[_0x215110(0x22e)][_0x215110(0x1c3)]();return Math[_0x215110(0x2ac)](_0x2d87d3,_0x162208);}}function _0x44ec(){const _0x3c5ed3=['_color','getVpScrollXYInfoByPosToVp','getUnhiddenWorksheets','setAlpha','M0\x200H16V16H0z','apply','32SaaBAn','_draw','_document','_collabCursorState$','_selfUnitIDs','updateOfflineData','APPLY_REVISION_CONFILICT','_removeClearOtherTimer','EMAIL_HAS_BEEN_BOUND','_unitOnClients','ranges','getCurrent','_name','UNIVER_DOC','_instanceService','_messageService','JOIN_ROOM_FAILED','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_DUPLICATED','docStateChange$','getUnitId','_toggleOnline','subUnitId','_clearOtherTimers','mutations','PENDING','PY_RUNTIME_SCRIPT_ERROR','RemoveRowCommandId','source','saveTaskMap','transformSelections','transformMutationsWithChangeset','_cachedData','_backgroundColor','_removeCollabCursors','map','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','INVITE_CODE_REQUIRED','univer-online','ENSURE_SNAPSHOT_EXECUTION','_themeService','getDocRanges','_updateLocalCursor','_cursors','attrs','off-line-single','function','_beforeCloseService','NOT_FOUND','INVITE_CODE_HAS_BEEN_UES','_handleEvent','getCurrentSelections','_syncEditingCollabCursorService','_initResize','split','event$','_handleLeaveEvent','_transformService','_entities','onRendered','replace','assignAColorForMemberID','data','div','univer-online-status-icon','random','_localeService','fill','defIds','idSuffix','drawWith','hasOwnProperty','collabCursorState$','svg','entries','delete','then','dispose$','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','use','_handleHover','isArray','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CONFLICT','collab-rect-range-','_memberService','status$','_initStatusListener','min','push','endRow','LOGIN_FAILED','some','SOCKET_FAILED_RETRY','save','getCollabCursors$','width','replaceState','registerComponent','TOO_MANY_REQUESTS','unitID','UNAUTHENTICATED','_setupSubUnitSync','onCommandExecuted','clearInterval','_render','cursorInfo$','AWAITING_WITH_PENDING','unit','transformStateCache','setInterval','stringify','_refreshCollabCursors','_commandService','ONLINE','none','get','onlineStatusIcon','defineProperty','colorChannel1','key','createInstance','OFFLINE','m1Prime','code','collabStatus.fetchMiss','current','_startDocCollabCursor','_docTransformIMECacheService','currentSkeleton$','InsertColCommandId','YUUMI_URL_COL_OUT_OF_RANGE','getMergeData','redoState','_getSheetObject','clearTimeout','SOCKET_FAILED','sheetID','defs','_collaborationUIEventService','Warning','_assignedColors','setItem','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','path','actions','collab-text-range-','setConfig','session.connection-failed','Error','unshift','INVALID_ARGUMENT','_initCommandExecutedListener','text','type','getOwnPropertyDescriptor','on-line-single_clip0_910_349','with','size','_initEvent','saveImage','m2Prime','includes','OTHER_CLIENT_EDITING','collaboration.single-unit.warning','LICENSE_EXPORT_SIZE_EXCEEDED','entityInit$','_docClipboardService','_docStateChangeManagerService','cursorInfo','toRgbString','getMemberID','_urlService','_handleJoinEvent','_init','round','params','_textBubble','_transformUndoRedoStack','_registerRenderDependencies','_collaborationController','_roomMembers$','_heartbeatTimer','offline','_onRefRangeChange','_collabCursorController','_saveTaskMap','1804977FoQFaZ','xlink:href','InsertRangeMoveDownCommandId','_session','verdancy600','CLOSE_ROOM','getCurrentRevOfUnit','_online','assign','YUUMI_UNABLE_LOAD_URL','setTimeout','_createSocketURL','FETCH_MISS','_localCacheService','extend','runId','getCollabEntity$','_getAnchorBounding','_refRangeService','arc','_configService','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformChange$','addObject','NO_OTHER_CLIENTS_EDITING','disposeWithMe','exhaustSavingTask','228087FpSoKY','icon','transformRemoteChangeset','_uiPartsService','_drawAnchor','transformByState','_initStatusComponent','_config','HEADER_MENU','_sheetSkeletonManagerService','_docTransformStateCacheService','reconnect','measureText','_getScale','collaboration-client-ui.config','88132xzocPV','height','evenodd','AWAITING','popstate','unitId','fillStyle','_toggleOffline','requireSession','_httpService','OTHER_CLIENTS_EDITING','color','hovered','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_lastPointer','subscribeEvent','search','ACTIVE_UNIT_EVENT_CHANNEL','activeSheet$','getAncestorScale','univer-flex\x20univer-items-center','url(#off-line-single_clip0_910_343)','blue400','uni.network.url-service','_hover','NOT_COLLAB','#FFF','url(#$1','_labelPosition','onStarting','_shapes','_hideTimer','executionId','_startSheetCollabCursor','LICENSE_DISTRO_REJECTED','hide','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','lineTo','urlChange$','href','_context','_registerDependencies','UNDEFINED','getTypeOfUnitDisposed$','loadOfflineData','getUniverSheetInstance','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_RATE_OVER_LIMIT','2433678zStSwf','mask','currentTheme$','textRanges','ALREADY_EXISTS','history','getConfig','enableLocalCache','string','next','_updateURLWithCurrentState','getOffsetConfig','INVALID_INVITE_CODE','rgba(255,\x20255,\x20255,\x200.01)','_setupBeforeClosingHandler','imageSourceType','from','replaceDocRanges','univer-online-status-title','collabStatus.syncing','add','pushState','DeleteRangeMoveLeftCommandId','error','isEditing','_hovered','font','collab-text-anchor-','_docSkeleton','[CollaborationDataLoaderController]','sessionTicket','_anchor','_onCursorUpdate','0\x200\x2016\x2016','length','_revisionService','getValue','purple300','children','1688001wyCopy','_collabSessionService','deepClone','UNIVER_SHEET','set','_docTransformSelectionsService','startsWith','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','init','VIEW_MAIN','concat','syncEditingCollabCursor','whenReady','black','pluginName','contains','unload','roomMembers$','onPointerEnter$','TEXT','registerRefRange','_cursor','override','column','_updateCollabCursors','_drawRectRange','getCurrentUnitForType','session.will-retry','transformIMECache','_docSyncEditingCollabCursorService','result','getSheetId','InsertRowCommandId','prototype','_range','CHANGESET_REVISION_CONFILICT','_logService','COMPLETION_FINISHED','_scene','_initEntityListener','getOwnPropertySymbols','_univerInstanceService','_saveCache','subscribe','asObservable','_transformHistoryAndStateStack','invokeId','UPDATE_CURSOR','_send','subunit','findNodePositionByCharIndex','addClipboardHook','USERS_LEAVE','_renderManagerService','_cursorInfo$','className','startColumn','beginPath','toString','getSheetBySheetId','getParam','_dataLoaderService','getFocusedUnit','SYNCED','transform','selection','_onCursorDelete','_id','values','transformMutation','symbol','_transformPreviousActiveRange','permission.content','currentColor','USER_NOT_INVITED_CODE','#fff','/run/','fillText','_localStorageService','getMember','send','eventID','4461610sNfsAV','0\x200\x2017\x2016','PERMISSION_DENIED','getActiveSheet','bottom','forEach','name','undoState','registerRenderModule','CONNECTOR_DATA_TOO_LARGE','complete','onMouseMove','setActiveRange','OnLineSingle','155UnPtRk','getRenderById','1wIhTQr','row','collabStatus.synced','focused$','YUUMI_ASYNCIO_CANCELLED','_updateSubUnitFromURLParams','_getSaveTimeout','_notificationService','getUndoRedoMutationParamsCache','1084852BmLylq','indexOf','getRelativeToViewportCoord','_cursorShapes','_unitStatus','debug','roomMembers','setShapeProps','_initDependencies','OffLineSingle','moveTo','executeCommand','_status$','registerBeforeClose','origin','body','getItem','_ensureSubject','onPointerLeave$','_disabled','on-line-single','_entityInit$','getStateCache','newValue','dispose','trim','has','UNRECOGNIZED','createSocket','off-line-single_clip0_910_343','displayName','flatMap','univer-offline','APPLY_PERMISSION_DENIED','...','post','APPLY_REJECT','RECT','range','addHandlerCallback','1em','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitAdded$','pipe','loadUnit','generateRandomId','_colorIndex','tag','closePath','saveOfflineData','top','getRangePointData','_anchorDot','_imageIoService','searchParams','SNAPSHOT_HAS_BEEN_REMOVED','jiqing500','max','_injector','_scheduleSaving','addObjects','collab-client.tooltip.reconnect','wsSessionTicketUrl','restore','getViewport','find','location','collabStatus.offline','setParam','ticket','_colorAssignService','show','Failed','_eventUnsubscribe','doc.mutation.rich-text-editing','endColumn','isActive','INTERNAL_ERROR','_scheduleHeartbeat'];_0x44ec=function(){return _0x3c5ed3;};return _0x44ec();}var Mi=Object['getOwnPropertyDescriptor'],Pi=(_0xb214a1,_0x58927d,_0x4accba,_0x829a90)=>{const _0x409fb1=_0x1a2d01;for(var _0x5078a3=_0x829a90>0x1?void 0x0:_0x829a90?Mi(_0x58927d,_0x4accba):_0x58927d,_0x1ba9e5=_0xb214a1[_0x409fb1(0x202)]-0x1,_0x1ff2a4;_0x1ba9e5>=0x0;_0x1ba9e5--)(_0x1ff2a4=_0xb214a1[_0x1ba9e5])&&(_0x5078a3=_0x1ff2a4(_0x5078a3)||_0x5078a3);return _0x5078a3;},Q=(_0x1c2298,_0x51e399)=>(_0x354905,_0x5f51e7)=>_0x51e399(_0x354905,_0x5f51e7,_0x1c2298);let we=class extends _0x1b02cf{constructor(_0x5b7016,_0x280ac2,_0x54fe86,_0x4874fc,_0x34d6ba){const _0x460e09=_0x1a2d01;super(),_(this,_0x460e09(0x276),[]),_(this,_0x460e09(0x2f5),[]),(this[_0x460e09(0x1d8)]=_0x5b7016,this[_0x460e09(0x20e)]=_0x280ac2,this['_collabCursorController']=_0x54fe86,this['_commandService']=_0x4874fc,this[_0x460e09(0x2f2)]=_0x34d6ba,this[_0x460e09(0x379)]());}[_0x1a2d01(0x379)](){const _0x117ee7=_0x1a2d01,_0xa6f16e=this[_0x117ee7(0x1d8)][_0x117ee7(0x1b5)],_0x59b7d8=this[_0x117ee7(0x20e)];this[_0x117ee7(0x39f)](_0x58a265([this[_0x117ee7(0x384)]['getCollabCursors$'](_0xa6f16e),this[_0x117ee7(0x2f2)][_0x117ee7(0x1e2)]])[_0x117ee7(0x29e)](_0x37bf48(([_0x582671,_0x363bd9])=>({'skeleton':_0x59b7d8['getSkeleton'](),'cursors':[..._0x582671['values']()][_0x117ee7(0x292)](_0x588625=>({..._0x588625,'color':_0x363bd9[_0x588625['color']]}))})))[_0x117ee7(0x233)](_0x1917ed=>{const _0x59f7da=_0x117ee7;if(this[_0x59f7da(0x2eb)](),_0x1917ed){const {skeleton:_0x3c1bb3,cursors:_0x4a25f2}=_0x1917ed;this['_updateCollabCursors'](_0x3c1bb3,_0x4a25f2);}})),this['_initResize'](),this[_0x117ee7(0x363)]();}[_0x1a2d01(0x220)](_0x10ab10,_0x4c2ee5){const _0x3dd910=_0x1a2d01,{scene:_0x2cb9ce,mainComponent:_0x18120b}=this[_0x3dd910(0x1d8)],_0x1a6081=_0x4c2ee5[_0x3dd910(0x2ec)](_0x319ed6=>new tt(_0x319ed6,_0x2cb9ce,_0x10ab10,_0x18120b));this[_0x3dd910(0x276)]=_0x1a6081,this[_0x3dd910(0x2f5)]=_0x4c2ee5;}[_0x1a2d01(0x33b)](){const _0xda9ca6=_0x1a2d01;this['_removeCollabCursors']();const {scene:_0x41de8d,mainComponent:_0x2bc698}=this[_0xda9ca6(0x1d8)],_0x279003=this[_0xda9ca6(0x20e)]['getSkeleton'](),_0x2be6eb=this['_cursors']['map'](_0x5914df=>new tt(_0x5914df,_0x41de8d,_0x279003,_0x2bc698));this[_0xda9ca6(0x276)]=_0x2be6eb;}[_0x1a2d01(0x2eb)](){const _0x280c8d=_0x1a2d01;this[_0x280c8d(0x276)][_0x280c8d(0x25f)](_0x5c49d5=>_0x5c49d5[_0x280c8d(0x28b)]()),this['_cursorShapes']=[];}[_0x1a2d01(0x363)](){const _0x3d8ec7=_0x1a2d01,_0x410732=[_0x40a4e4['id']];this['disposeWithMe'](this[_0x3d8ec7(0x33c)][_0x3d8ec7(0x332)](_0x2a91b3=>{const _0x28d97c=_0x3d8ec7;_0x410732[_0x28d97c(0x36d)](_0x2a91b3['id'])&&_0x2a91b3[_0x28d97c(0x37b)][_0x28d97c(0x1b5)]===this[_0x28d97c(0x1d8)][_0x28d97c(0x1b5)]&&this[_0x28d97c(0x33b)]();}));}[_0x1a2d01(0x2ff)](){const _0x81d3a4=_0x1a2d01;this[_0x81d3a4(0x39f)](_0x48b5d6(this[_0x81d3a4(0x1d8)]['engine'][_0x81d3a4(0x39c)])[_0x81d3a4(0x29e)](_0x1ab2d(_0x5a2b9b=>_0x5a2b9b['type']===_0xb2ead2['resize']),_0x300cdd(0x10))[_0x81d3a4(0x233)](()=>{const _0x237c42=_0x81d3a4;this[_0x237c42(0x33b)]();}));}};we=Pi([Q(0x1,_0x8830ba(_0x574d94)),Q(0x2,_0x8830ba(H)),Q(0x3,_0x5bb19c),Q(0x4,_0x8830ba(_0x5ce49f))],we);const wi=0x1,Li=1.5;function _0x213f(_0x540c25,_0x1eca0a){const _0x44ece6=_0x44ec();return _0x213f=function(_0x213fe4,_0x23427c){_0x213fe4=_0x213fe4-0x1a3;let _0x258952=_0x44ece6[_0x213fe4];return _0x258952;},_0x213f(_0x540c25,_0x1eca0a);}class Ai extends _0x4ee4a8{constructor(_0x4cc450,_0x4a66ab){const _0x560515=_0x1a2d01;super(_0x4cc450,_0x4a66ab),_(this,_0x560515(0x2c2)),_(this,_0x560515(0x1f9),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x560515(0x1cc),_0x560515(0x2a5)),_(this,_0x560515(0x2ea)),(_0x4a66ab&&this['setShapeProps'](_0x4a66ab),this[_0x560515(0x21a)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x0})),this[_0x560515(0x285)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x1})));}[_0x1a2d01(0x27a)](_0x4926f0){const _0x4ec2ec=_0x1a2d01;var _0x657de7,_0x29c251,_0x5b577e,_0xe5dd5e,_0x356e96,_0x3798c0;this[_0x4ec2ec(0x2c2)]=(_0x657de7=_0x4926f0[_0x4ec2ec(0x1bb)])!=null?_0x657de7:this[_0x4ec2ec(0x2c2)],this['_hovered']=(_0x29c251=_0x4926f0[_0x4ec2ec(0x1bc)])!=null?_0x29c251:this[_0x4ec2ec(0x1f9)],this[_0x4ec2ec(0x22a)]=(_0x5b577e=_0x4926f0['range'])!=null?_0x5b577e:this[_0x4ec2ec(0x22a)],this['_name']=(_0xe5dd5e=_0x4926f0['name'])!=null?_0xe5dd5e:this[_0x4ec2ec(0x2d4)],this[_0x4ec2ec(0x1cc)]=(_0x356e96=_0x4926f0['labelPosition'])!=null?_0x356e96:this['_labelPosition'],this[_0x4ec2ec(0x2ea)]=(_0x3798c0=_0x4926f0['backgroundColor'])!=null?_0x3798c0:this[_0x4ec2ec(0x2ea)],this[_0x4ec2ec(0x1a6)]({'width':_0x4926f0['width'],'height':_0x4926f0[_0x4ec2ec(0x1b1)]});}[_0x1a2d01(0x265)](_0x52e67b){const _0x2a2f7f=_0x1a2d01,{row:_0x319c78,column:_0x449bf7}=_0x52e67b;if(_0x319c78>=this[_0x2a2f7f(0x22a)]['startRow']&&_0x319c78<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x325)]&&_0x449bf7>=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x240)]&&_0x449bf7<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x2be)]){this[_0x2a2f7f(0x27a)]({'hovered':!0x0});return;}this[_0x2a2f7f(0x27a)]({'hovered':!0x1});}['triggerDblclick'](_0x233631){return!0x1;}['_draw'](_0x59f659){const _0x144de2=_0x1a2d01;_0x54beac[_0x144de2(0x310)](_0x59f659,{'width':this[_0x144de2(0x32b)],'height':this[_0x144de2(0x1b1)],'strokeWidth':Li,'stroke':this[_0x144de2(0x2c2)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x59f659[_0x144de2(0x329)](),_0x59f659[_0x144de2(0x248)](0x1,0x0,0x0,0x1,this[_0x144de2(0x32b)],this[_0x144de2(0x1cc)]===_0x144de2(0x25e)?0x0:-0x14),ue['drawWith'](_0x59f659,{'text':this['_name'],'color':this['_color']}),_0x59f659[_0x144de2(0x2b2)]());}}var yi=Object[_0x1a2d01(0x366)],$i=(_0x37b94a,_0x4adb21,_0x1838f6,_0x475f5a)=>{for(var _0x107dd2=_0x475f5a>0x1?void 0x0:_0x475f5a?yi(_0x4adb21,_0x1838f6):_0x4adb21,_0x1b8dba=_0x37b94a['length']-0x1,_0x470ad9;_0x1b8dba>=0x0;_0x1b8dba--)(_0x470ad9=_0x37b94a[_0x1b8dba])&&(_0x107dd2=_0x470ad9(_0x107dd2)||_0x107dd2);return _0x107dd2;},pe=(_0x328d06,_0x25fee4)=>(_0x44fd40,_0x217f18)=>_0x25fee4(_0x44fd40,_0x217f18,_0x328d06);const xi=0x1389;let Le=class extends _0x1b02cf{constructor(_0x139faf,_0x4d30ad,_0x125425,_0x3522fa){const _0x259540=_0x1a2d01;super(),_(this,'_cursors',new Set()),_(this,_0x259540(0x1be),null),(this['_context']=_0x139faf,this[_0x259540(0x1aa)]=_0x4d30ad,this[_0x259540(0x384)]=_0x125425,this[_0x259540(0x2f2)]=_0x3522fa,this['_init']());}[_0x1a2d01(0x379)](){const _0x5682af=_0x1a2d01;this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x29e)](_0x5c8d0(this['dispose$']),_0x522501(_0x287ea1=>{const _0x2489c6=_0x5682af;if(_0x287ea1){const _0x185de4=_0x287ea1['sheetId'];return _0x58a265(this[_0x2489c6(0x384)][_0x2489c6(0x32a)](this[_0x2489c6(0x1d8)]['unitId']),this[_0x2489c6(0x2f2)][_0x2489c6(0x1e2)])[_0x2489c6(0x29e)](_0x37bf48(([_0x4e880a,_0x43e092])=>{const _0x3b2c14=_0x2489c6,_0x702a7a=new Map();return _0x4e880a[_0x3b2c14(0x25f)]((_0x453811,_0x4a7622)=>{const _0x2a293a=_0x3b2c14;if(_0x453811[_0x2a293a(0x354)]===_0x185de4){const _0x4eefa9={..._0x453811};_0x4eefa9[_0x2a293a(0x1bb)]=_0x43e092[_0x453811['color']],_0x702a7a['set'](_0x4a7622,_0x4eefa9);}}),{'skeleton':_0x287ea1,'cursors':_0x702a7a};}));}return _0x45d697({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x85a413,cursors:_0x2f3b81})=>{const _0x1979ca=_0x5682af;this[_0x1979ca(0x2eb)](),_0x85a413&&this[_0x1979ca(0x220)](_0x85a413,_0x2f3b81);}),this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x233)](_0x1ef414=>{const _0x55d45d=_0x5682af;if(_0x1ef414==null)return;const {skeleton:_0x52f652}=_0x1ef414,{scene:_0x6eeed0}=this[_0x55d45d(0x1d8)];_0x6eeed0['onPointerMove$'][_0x55d45d(0x1bf)](_0x1d0f0a(_0x37d592=>{const _0x47a263=_0x55d45d;var _0x3ebce6,_0x3c909a;const {offsetX:_0x3a3131,offsetY:_0x57caf9}=_0x37d592,{x:_0x1548cb,y:_0x4c6429}=_0x6eeed0[_0x47a263(0x275)](_0x45c36a['FromArray']([_0x3a3131,_0x57caf9])),{scaleX:_0x861b69,scaleY:_0x50072f}=_0x6eeed0[_0x47a263(0x1c3)](),_0x49698e=_0x6eeed0[_0x47a263(0x2b3)](_0x2e669f[_0x47a263(0x211)]),_0x13c643=_0x6eeed0[_0x47a263(0x2c3)](_0x45c36a['FromArray']([_0x1548cb,_0x4c6429]),_0x49698e),_0x41c0a6=_0x52f652['getCellPositionByOffset'](_0x3a3131,_0x57caf9,_0x861b69,_0x50072f,_0x13c643);((_0x3ebce6=this[_0x47a263(0x1be)])==null?void 0x0:_0x3ebce6['column'])===_0x41c0a6[_0x47a263(0x21f)]&&((_0x3c909a=this['_lastPointer'])==null?void 0x0:_0x3c909a['row'])===_0x41c0a6[_0x47a263(0x26b)]||this[_0x47a263(0x2f5)][_0x47a263(0x25f)](_0x5024ca=>{_0x5024ca['onMouseMove'](_0x41c0a6);});},0x64));});}[_0x1a2d01(0x220)](_0x3c383d,_0x2bf862){const _0x534139=_0x1a2d01;var _0x45cda2;const _0x19bd81=(_0x45cda2=this[_0x534139(0x1aa)][_0x534139(0x2d3)]())==null?void 0x0:_0x45cda2['skeleton'];if(!_0x19bd81)return;const _0xeb2f42=this[_0x534139(0x351)]();if(!_0xeb2f42)return;this[_0x534139(0x2f5)][_0x534139(0x25f)](_0x5b1231=>{_0x5b1231['makeDirty']();});const {scene:_0x3bebad}=_0xeb2f42,_0xc2beaf=Bi(Array[_0x534139(0x1f0)](_0x2bf862[_0x534139(0x24c)]()))[_0x534139(0x2ec)](_0x5b99bc=>{const _0x3fe432=_0x534139,{color:_0xd272a8,range:_0xfef51d,name:_0x294d8c,selection:_0x1467d7,sheetID:_0x2ebfb5}=_0x5b99bc,{startColumn:_0x343452,startRow:_0x2a5cc6,endColumn:_0x21ed6a,endRow:_0x2efb8c}=_0xfef51d,_0x4865c9=_0x5b9d7f(_0x2a5cc6,_0x343452,_0x3bebad,_0x19bd81),_0x1a8f0e=_0x5b9d7f(_0x2efb8c,_0x21ed6a,_0x3bebad,_0x19bd81),{columnHeaderHeightAndMarginTop:_0x1eeff7}=_0x19bd81,{startX:_0x49ba5e,startY:_0x91110c}=_0x4865c9,{endX:_0x2eaed6,endY:_0xead67d}=_0x1a8f0e,_0x5ed73e=_0x2eaed6-_0x49ba5e,_0x542186=_0xead67d-_0x91110c,_0x1c8555={'labelPosition':_0x91110c-_0x1eeff7>=te?_0x3fe432(0x2a5):_0x3fe432(0x25e),'sheetID':_0x2ebfb5,'range':_0xfef51d,'color':_0xd272a8,'name':_0x294d8c,'selection':_0x1467d7,'left':_0x49ba5e,'top':_0x91110c,'width':_0x5ed73e,'height':_0x542186,'evented':!0x1,'zIndex':xi};return new Ai(_0x294d8c,_0x1c8555);});_0x3bebad[_0x534139(0x2af)](_0xc2beaf,wi),this[_0x534139(0x2f5)]=new Set(_0xc2beaf);}[_0x1a2d01(0x2eb)](){const _0x531596=_0x1a2d01;var _0x357782;(_0x357782=this[_0x531596(0x2f5)])==null||_0x357782[_0x531596(0x25f)](_0x2efc97=>_0x2efc97[_0x531596(0x28b)]());}['_getSheetObject'](){const _0xf8cabb=_0x1a2d01;return _0x17ad6d(this['_context'][_0xf8cabb(0x337)],this[_0xf8cabb(0x1d8)]);}};Le=$i([pe(0x1,_0x8830ba(_0x53f974)),pe(0x2,_0x8830ba(H)),pe(0x3,_0x8830ba(_0x5ce49f))],Le);function Bi(_0xd83355){const _0x453ada=_0x1a2d01,_0x5bb6d5=new Map();return _0xd83355['forEach'](_0x2919bc=>{const _0x4e926a=_0x213f;if(_0x5bb6d5[_0x4e926a(0x28d)](_0x2919bc[_0x4e926a(0x249)])){const _0x45aa9d=_0x5bb6d5['get'](_0x2919bc[_0x4e926a(0x249)]);_0x45aa9d['name']+=',\x20'+_0x2919bc['name'];}else _0x5bb6d5[_0x4e926a(0x20b)](_0x2919bc[_0x4e926a(0x249)],_0x2919bc);}),Array[_0x453ada(0x1f0)](_0x5bb6d5[_0x453ada(0x24c)]());}var I=function(){const _0x12d154=_0x1a2d01;return I=Object['assign']||function(_0x54fba6){const _0x53d43b=_0x213f;for(var _0x418a0f,_0x1e1862=0x1,_0x1c7d82=arguments[_0x53d43b(0x202)];_0x1e1862<_0x1c7d82;_0x1e1862++){_0x418a0f=arguments[_0x1e1862];for(var _0x49e406 in _0x418a0f)Object[_0x53d43b(0x229)][_0x53d43b(0x311)]['call'](_0x418a0f,_0x49e406)&&(_0x54fba6[_0x49e406]=_0x418a0f[_0x49e406]);}return _0x54fba6;},I[_0x12d154(0x2c7)](this,arguments);},ki=function(_0x47760b,_0x48b7d5){const _0x5219ff=_0x1a2d01;var _0x5e5092={};for(var _0x448f62 in _0x47760b)Object['prototype']['hasOwnProperty']['call'](_0x47760b,_0x448f62)&&_0x48b7d5[_0x5219ff(0x274)](_0x448f62)<0x0&&(_0x5e5092[_0x448f62]=_0x47760b[_0x448f62]);if(_0x47760b!=null&&typeof Object[_0x5219ff(0x230)]==_0x5219ff(0x2f8)){for(var _0x1f0016=0x0,_0x448f62=Object[_0x5219ff(0x230)](_0x47760b);_0x1f0016<_0x448f62[_0x5219ff(0x202)];_0x1f0016++)_0x48b7d5[_0x5219ff(0x274)](_0x448f62[_0x1f0016])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x47760b,_0x448f62[_0x1f0016])&&(_0x5e5092[_0x448f62[_0x1f0016]]=_0x47760b[_0x448f62[_0x1f0016]]);}return _0x5e5092;},We=_0x158704(function(_0x11c286,_0xd33721){const _0x140d62=_0x1a2d01;var _0x2cadfe=_0x11c286['icon'],_0x432b6c=_0x11c286['id'],_0x1147e4=_0x11c286[_0x140d62(0x23f)],_0x1f209a=_0x11c286['extend'],_0x52036c=ki(_0x11c286,[_0x140d62(0x3a2),'id',_0x140d62(0x23f),_0x140d62(0x394)]),_0x5a058a='univerjs-icon\x20univerjs-icon-'[_0x140d62(0x212)](_0x432b6c,'\x20')[_0x140d62(0x212)](_0x1147e4||'')[_0x140d62(0x28c)](),_0x2dd987=_0x3f18de('_'[_0x140d62(0x212)](Wi()));return Nt(_0x2cadfe,''[_0x140d62(0x212)](_0x432b6c),{'defIds':_0x2cadfe[_0x140d62(0x30e)],'idSuffix':_0x2dd987[_0x140d62(0x349)]},I({'ref':_0xd33721,'className':_0x5a058a},_0x52036c),_0x1f209a);});function Nt(_0x59601c,_0x37c1ab,_0x2f0679,_0x57412d,_0x31657c){const _0x593a99=_0x1a2d01;return _0x4a2fb8(_0x59601c['tag'],I(I({'key':_0x37c1ab},Hi(_0x59601c,_0x2f0679,_0x31657c)),_0x57412d),(ji(_0x59601c,_0x2f0679)[_0x593a99(0x206)]||[])['map'](function(_0x50d78b,_0x1af01d){const _0x1e40b0=_0x593a99;return Nt(_0x50d78b,''['concat'](_0x37c1ab,'-')['concat'](_0x59601c[_0x1e40b0(0x2a2)],'-')['concat'](_0x1af01d),_0x2f0679,void 0x0,_0x31657c);}));}function Hi(_0x2f87b7,_0x4166ea,_0xde0ca9){const _0x962954=_0x1a2d01;var _0x298b0b=I({},_0x2f87b7[_0x962954(0x2f6)]);_0xde0ca9!=null&&_0xde0ca9[_0x962954(0x342)]&&_0x298b0b[_0x962954(0x30d)]==='colorChannel1'&&(_0x298b0b[_0x962954(0x30d)]=_0xde0ca9[_0x962954(0x342)]),_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x1e1)&&_0x298b0b['id']&&(_0x298b0b['id']=_0x298b0b['id']+_0x4166ea[_0x962954(0x30f)]),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x25d066){const _0x3f7356=_0x962954;var _0x2d4c4b=_0x25d066[0x0],_0x5af027=_0x25d066[0x1];_0x2d4c4b===_0x3f7356(0x1e1)&&typeof _0x5af027==_0x3f7356(0x1e8)&&(_0x298b0b[_0x2d4c4b]=_0x5af027[_0x3f7356(0x306)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4166ea[_0x3f7356(0x30f)],')')));});var _0x117992=_0x4166ea[_0x962954(0x30e)];return!_0x117992||_0x117992['length']===0x0||(_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x31a)&&_0x298b0b['xlink:href']&&(_0x298b0b[_0x962954(0x387)]=_0x298b0b['xlink:href']+_0x4166ea['idSuffix']),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x34af16){const _0x2f7366=_0x962954;var _0x46c201=_0x34af16[0x0],_0x55e88d=_0x34af16[0x1];typeof _0x55e88d=='string'&&(_0x298b0b[_0x46c201]=_0x55e88d['replace'](/url\(#(.*)\)/,_0x2f7366(0x1cb)[_0x2f7366(0x212)](_0x4166ea['idSuffix'],')')));})),_0x298b0b;}function ji(_0x175ab7,_0x475484){const _0x7c87b9=_0x1a2d01;var _0x345545,_0xa6b4a0=_0x475484[_0x7c87b9(0x30e)];return!_0xa6b4a0||_0xa6b4a0[_0x7c87b9(0x202)]===0x0?_0x175ab7:_0x175ab7[_0x7c87b9(0x2a2)]===_0x7c87b9(0x355)&&(!((_0x345545=_0x175ab7[_0x7c87b9(0x206)])===null||_0x345545===void 0x0)&&_0x345545[_0x7c87b9(0x202)])?I(I({},_0x175ab7),{'children':_0x175ab7['children'][_0x7c87b9(0x2ec)](function(_0x58f599){const _0x5c4def=_0x7c87b9;return typeof _0x58f599[_0x5c4def(0x2f6)]['id']=='string'&&_0xa6b4a0&&_0xa6b4a0[_0x5c4def(0x274)](_0x58f599[_0x5c4def(0x2f6)]['id'])>-0x1?I(I({},_0x58f599),{'attrs':I(I({},_0x58f599[_0x5c4def(0x2f6)]),{'id':_0x58f599[_0x5c4def(0x2f6)]['id']+_0x475484[_0x5c4def(0x30f)]})}):_0x58f599;})}):_0x175ab7;}function Wi(){const _0x3914c8=_0x1a2d01;return Math[_0x3914c8(0x30b)]()[_0x3914c8(0x242)](0x24)['substring'](0x2,0x8);}We[_0x1a2d01(0x291)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1a2d01(0x201),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a2d01(0x1c5)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':_0x1a2d01(0x251),'d':_0x1a2d01(0x35a),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x290)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6)}}]}]}],'defIds':[_0x1a2d01(0x290)]},Ut=_0x158704(function(_0x28687d,_0x51c8bc){const _0x329788=_0x1a2d01;return _0x4a2fb8(We,Object[_0x329788(0x38e)]({},_0x28687d,{'id':_0x329788(0x2f7),'ref':_0x51c8bc,'icon':Fi}));});Ut[_0x1a2d01(0x291)]=_0x1a2d01(0x27c);var Yi={'tag':_0x1a2d01(0x313),'attrs':{'fill':_0x1a2d01(0x33e),'viewBox':_0x1a2d01(0x25b),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':'currentColor','d':_0x1a2d01(0x1bd),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x367)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1a2d01(0x367)]},Mt=_0x158704(function(_0x235440,_0x45bbdb){const _0x25c178=_0x1a2d01;return _0x4a2fb8(We,Object[_0x25c178(0x38e)]({},_0x235440,{'id':_0x25c178(0x287),'ref':_0x45bbdb,'icon':Yi}));});Mt[_0x1a2d01(0x291)]=_0x1a2d01(0x267);const Vi=_0x1a2d01(0x30a),Xi=_0x1a2d01(0x1f2),Gi='univer-online-status',Ki=_0x1a2d01(0x2f0),zi=_0x1a2d01(0x293),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x54aa14){const _0x19820b=_0x1a2d01;switch(_0x54aa14){case _0xd11ca5[_0x19820b(0x345)]:return _0x19820b(0x2b6);case _0xd11ca5['CONFLICT']:return'collabStatus.conflict';case _0xd11ca5[_0x19820b(0x392)]:return _0x19820b(0x348);case _0xd11ca5['NOT_COLLAB']:return'collabStatus.notCollab';case _0xd11ca5[_0x19820b(0x1b3)]:case _0xd11ca5[_0x19820b(0x336)]:return _0x19820b(0x1f3);case _0xd11ca5[_0x19820b(0x247)]:case _0xd11ca5[_0x19820b(0x2e2)]:return _0x19820b(0x26c);}}function Zi(_0x51965b){const _0x567d5e=_0x1a2d01,{status$:_0x4ee0ad}=_0x51965b,_0x1cf6ff=_0x315a83(_0x4ee0ad,_0xd11ca5[_0x567d5e(0x1c9)]),_0x50971c=_0x1fa920(_0xb11369),_0x5afe15=_0x1fa920(_0x1e3747),_0x550586=_0x1cf6ff!==_0xd11ca5['OFFLINE'],_0xce9b94=_0x50971c['t'](Ji(_0x1cf6ff)),_0x2eeedb=_0x4ac05f(G['onlineStatus'],{[G['online']]:_0x550586,[G[_0x567d5e(0x382)]]:!_0x550586}),_0x2902a4=_0x550586?_0x5927c7(Mt,{}):_0x5927c7(Ut,{}),_0x409fdb=_0x1ac4de(()=>{const _0x1acc0f=_0x567d5e;_0x550586||_0x5afe15[_0x1acc0f(0x1ac)]();},[_0x550586,_0x5afe15]);function _0x2a22e7(){const _0x429c18=_0x567d5e;return _0x1f4533(_0x429c18(0x309),{'className':_0x4ac05f(_0x2eeedb,_0x429c18(0x1c4)),'onClick':_0x409fdb,'children':[_0x5927c7(_0x429c18(0x309),{'className':G[_0x429c18(0x340)],'children':_0x2902a4}),_0x5927c7('div',{'className':G['onlineStatusTitle'],'children':_0xce9b94})]});}return _0x550586?_0x2a22e7():_0x5927c7(_0x364b35,{'title':_0x50971c['t'](_0x567d5e(0x2b0)),'children':_0x2a22e7()});}var Qi=Object[_0x1a2d01(0x366)],qi=(_0x3a5ea1,_0x373d0e,_0x367a9f,_0x45b061)=>{const _0x5d012f=_0x1a2d01;for(var _0x48ed9a=_0x45b061>0x1?void 0x0:_0x45b061?Qi(_0x373d0e,_0x367a9f):_0x373d0e,_0xb9ee93=_0x3a5ea1[_0x5d012f(0x202)]-0x1,_0x1935fa;_0xb9ee93>=0x0;_0xb9ee93--)(_0x1935fa=_0x3a5ea1[_0xb9ee93])&&(_0x48ed9a=_0x1935fa(_0x48ed9a)||_0x48ed9a);return _0x48ed9a;},q=(_0x13329b,_0x52853b)=>(_0x168f20,_0x3b7cf9)=>_0x52853b(_0x168f20,_0x3b7cf9,_0x13329b);let se=class extends _0x5b5ed7{constructor(_0x17b089,_0x2f7208,_0x4ddd19,_0x254717){const _0xbf9c9d=_0x1a2d01;super(),_(this,'_status$',new _0x2f02(_0xd11ca5[_0xbf9c9d(0x1c9)])),(this[_0xbf9c9d(0x231)]=_0x17b089,this['_injector']=_0x2f7208,this[_0xbf9c9d(0x37f)]=_0x4ddd19,this[_0xbf9c9d(0x1a4)]=_0x254717,this[_0xbf9c9d(0x1a7)](),this[_0xbf9c9d(0x322)]());}[_0x1a2d01(0x322)](){const _0x11091e=_0x1a2d01;this[_0x11091e(0x39f)](this[_0x11091e(0x231)][_0x11091e(0x26d)][_0x11091e(0x29e)](_0x71cc92(()=>{const _0x1ce68f=_0x11091e,_0xf5bd4a=this[_0x1ce68f(0x231)][_0x1ce68f(0x246)]();return _0xf5bd4a?this['_collaborationController'][_0x1ce68f(0x396)](_0xf5bd4a[_0x1ce68f(0x2dd)]()):_0x45d697(null);}),_0x71cc92(_0x3b5fa5=>_0x3b5fa5?_0x3b5fa5[_0x11091e(0x321)]:_0x45d697(_0xd11ca5['NOT_COLLAB'])))[_0x11091e(0x233)](_0xc6c50=>{const _0x5e5be3=_0x11091e;this[_0x5e5be3(0x27f)][_0x5e5be3(0x1e9)](_0xc6c50);}));}[_0x1a2d01(0x1a7)](){const _0x5045f9=_0x1a2d01;this['disposeWithMe'](this[_0x5045f9(0x1a4)][_0x5045f9(0x32d)](_0x1e67b3[_0x5045f9(0x1a9)],()=>_0x35b033(en({'status$':this[_0x5045f9(0x27f)][_0x5045f9(0x234)]()}),this['_injector'])));}};se=qi([q(0x0,_0x1a3a82),q(0x1,_0x8830ba(_0x6b91ad)),q(0x2,_0x8830ba(_0x207ba1)),q(0x3,_0x3960a5)],se);function en(_0x29e763){const {status$:_0xaec312}=_0x29e763;return function(){return _0x5927c7(Zi,{'status$':_0xaec312});};}var tn=Object[_0x1a2d01(0x366)],sn=(_0x326b3e,_0x42556f,_0x423e77,_0x29cbc1)=>{const _0x54363d=_0x1a2d01;for(var _0x4fa068=_0x29cbc1>0x1?void 0x0:_0x29cbc1?tn(_0x42556f,_0x423e77):_0x42556f,_0x28fa01=_0x326b3e[_0x54363d(0x202)]-0x1,_0x4773e9;_0x28fa01>=0x0;_0x28fa01--)(_0x4773e9=_0x326b3e[_0x28fa01])&&(_0x4fa068=_0x4773e9(_0x4fa068)||_0x4fa068);return _0x4fa068;},B=(_0x5ee01e,_0xa49bc5)=>(_0x38cb53,_0x282df7)=>_0xa49bc5(_0x38cb53,_0x282df7,_0x5ee01e);let ie=class extends _0x5b5ed7{constructor(_0x3a866f,_0x2c4bd7,_0x3a8cea,_0x22595b,_0x2e71f4,_0x133f99){const _0x6e8889=_0x1a2d01;super(),this[_0x6e8889(0x2f9)]=_0x3a866f,this[_0x6e8889(0x393)]=_0x2c4bd7,this[_0x6e8889(0x356)]=_0x3a8cea,this[_0x6e8889(0x2d7)]=_0x22595b,this[_0x6e8889(0x271)]=_0x2e71f4,this[_0x6e8889(0x30c)]=_0x133f99,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1a2d01(0x1ee)](){const _0x4866c1=_0x1a2d01;this[_0x4866c1(0x39f)](this[_0x4866c1(0x2f9)][_0x4866c1(0x280)](()=>{const _0x3ae879=_0x4866c1;if(this['_localCacheService'][_0x3ae879(0x2e6)]['size'])return this[_0x3ae879(0x30c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1a2d01(0x36a)](){const _0x43c314=_0x1a2d01;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x43c314(0x233)](_0x4fb7e4=>{const _0x39a877=_0x43c314;_0x4fb7e4['id']===_0x237421[_0x39a877(0x36e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x36f))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x38b)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x25c)]&&this[_0x39a877(0x271)][_0x39a877(0x2ba)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x250)),'type':_0x39a877(0x1f7),'duration':0x0}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x31e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4fb7e4[_0x39a877(0x308)]+')'}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x2d8)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x4fb7e4[_0x39a877(0x308)]||'')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x328)]&&this[_0x39a877(0x2d7)]['show']({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x223))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x353)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x35f))}),_0x4fb7e4['id']===_0x237421['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x57f6f7),B(0x1,_0x14a23a),B(0x2,_0x8830ba(_0x3beee5)),B(0x3,_0x37918f),B(0x4,_0x13ad9d),B(0x5,_0x8830ba(_0xb11369))],ie);const nn=_0x1a2d01(0x1af),st={},Pt=_0x4098fa(_0x1a2d01(0x1c7));var rn=Object[_0x1a2d01(0x366)],on=(_0x412b95,_0x5550f2,_0x43d232,_0x32b9e4)=>{for(var _0x2b3c43=_0x32b9e4>0x1?void 0x0:_0x32b9e4?rn(_0x5550f2,_0x43d232):_0x5550f2,_0x5b9d31=_0x412b95['length']-0x1,_0x89922;_0x5b9d31>=0x0;_0x5b9d31--)(_0x89922=_0x412b95[_0x5b9d31])&&(_0x2b3c43=_0x89922(_0x2b3c43)||_0x2b3c43);return _0x2b3c43;},K=(_0x451513,_0x5469ab)=>(_0x541f62,_0xb0b6e)=>_0x5469ab(_0x541f62,_0xb0b6e,_0x451513);let ne=class extends _0x1b02cf{constructor(_0x1db77f,_0x8e3866,_0x50a705,_0x121e89,_0xc9b9aa){const _0x486600=_0x1a2d01;super(),this[_0x486600(0x377)]=_0x1db77f,this[_0x486600(0x22c)]=_0x8e3866,this[_0x486600(0x33c)]=_0x50a705,this['_dataLoaderService']=_0x121e89,_0xc9b9aa?_0xc9b9aa==null||_0xc9b9aa[_0x486600(0x214)]()['then'](()=>this['_init']()):(this['_logService'][_0x486600(0x278)](_0x486600(0x1fd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x486600(0x379)]());}async['_init'](){const _0x9c0271=_0x1a2d01,_0x3f42e4=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x337)),_0x61d0c7=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x365)),_0x4df50f=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x239));if(!_0x3f42e4||!_0x61d0c7){this[_0x9c0271(0x22c)][_0x9c0271(0x278)](_0x9c0271(0x1fd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x473eda=await this[_0x9c0271(0x245)][_0x9c0271(0x29f)](_0x3f42e4,Number(_0x61d0c7),_0x4df50f);_0x473eda&&_0x473eda instanceof _0xad4815&&this[_0x9c0271(0x331)](_0x473eda);}async['_setupSubUnitSync'](_0x4e7765){const _0xebe8f1=_0x1a2d01;await this[_0xebe8f1(0x26f)](_0x4e7765),_0x4e7765[_0xebe8f1(0x1c2)][_0xebe8f1(0x29e)](_0x209b00(this[_0xebe8f1(0x317)]))['subscribe'](_0x5397f3=>{_0x5397f3&&this['_updateURLWithCurrentState'](_0x5397f3);}),this[_0xebe8f1(0x377)][_0xebe8f1(0x1d6)][_0xebe8f1(0x29e)](_0x209b00(this['dispose$']))[_0xebe8f1(0x233)](()=>this[_0xebe8f1(0x26f)](_0x4e7765));}[_0x1a2d01(0x1ea)](_0x29821a,_0x174b07=!0x1){const _0x3b3e6a=_0x1a2d01,_0x2dbd89=this['_urlService'][_0x3b3e6a(0x244)](_0x3b3e6a(0x239));_0x29821a[_0x3b3e6a(0x227)]()!==_0x2dbd89&&this[_0x3b3e6a(0x377)]['setParam'](_0x3b3e6a(0x239),_0x29821a[_0x3b3e6a(0x227)](),_0x174b07);}async[_0x1a2d01(0x26f)](_0x39f488){const _0x2c78b9=_0x1a2d01;var _0x242fa7;const _0x23c692=this[_0x2c78b9(0x377)][_0x2c78b9(0x244)](_0x2c78b9(0x239));if(!_0x23c692||!_0x39f488['getSheetBySheetId'](_0x23c692)){const _0x1eaa64=_0x39f488[_0x2c78b9(0x2c4)]()[0x0],_0x27d0b6=_0x39f488[_0x2c78b9(0x243)](_0x1eaa64);if(!_0x27d0b6)return;this[_0x2c78b9(0x1ea)](_0x27d0b6,!0x0),await this['_commandService'][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x1eaa64});return;}((_0x242fa7=_0x39f488[_0x2c78b9(0x25d)]())==null?void 0x0:_0x242fa7[_0x2c78b9(0x227)]())!==_0x23c692&&await this[_0x2c78b9(0x33c)][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x23c692});}};ne=on([K(0x0,Pt),K(0x1,_0x25fe23),K(0x2,_0x5bb19c),K(0x3,_0x8830ba(_0x4bf4c3)),K(0x4,_0x5a4cf7(_0x606a14))],ne);var an=Object[_0x1a2d01(0x366)],cn=(_0x54c0f7,_0xe41fc,_0x12578d,_0x1d2765)=>{const _0x2c3e36=_0x1a2d01;for(var _0x4422d2=_0x1d2765>0x1?void 0x0:_0x1d2765?an(_0xe41fc,_0x12578d):_0xe41fc,_0x4de057=_0x54c0f7[_0x2c3e36(0x202)]-0x1,_0x1fb433;_0x4de057>=0x0;_0x4de057--)(_0x1fb433=_0x54c0f7[_0x4de057])&&(_0x4422d2=_0x1fb433(_0x4422d2)||_0x4422d2);return _0x4422d2;},Ce=(_0x4ca45a,_0x4f92e6)=>(_0x5dd5a9,_0x121465)=>_0x4f92e6(_0x5dd5a9,_0x121465,_0x4ca45a);let re=class{constructor(_0x4da6a7,_0x3b1734,_0xeff9e3){const _0x55d052=_0x1a2d01;this['_injector']=_0x4da6a7,this[_0x55d052(0x303)]=_0x3b1734,this[_0x55d052(0x23d)]=_0xeff9e3;}[_0x1a2d01(0x224)](_0x214dd5){const _0x57c93e=_0x1a2d01;this['_transformUndoRedoStack'](_0x214dd5),this[_0x57c93e(0x24f)](_0x214dd5);}[_0x1a2d01(0x1a3)](_0x252dc9){const _0x375a03=_0x1a2d01,{unitID:_0x5dcbbc}=_0x252dc9,_0x2bcf3c=this[_0x375a03(0x23d)][_0x375a03(0x269)](_0x5dcbbc)['with'](_0x105356),{redoCache:_0xb53342}=_0x2bcf3c[_0x375a03(0x272)]();if(_0xb53342[_0x375a03(0x202)]===0x0)return _0x252dc9;let _0x1bfb8d=_0x2791fb['deepClone'](_0x252dc9[_0x375a03(0x2e1)][0x0]);for(let _0x401577=0x0;_0x401577<_0xb53342['length'];_0x401577++){const _0x299799={'id':'doc.mutation.rich-text-editing','params':{..._0xb53342[_0x401577]}},_0x387f4a=this['_transformService'][_0x375a03(0x24d)](_0x1bfb8d,_0x299799,!0x1);if(_0x11d772(_0x387f4a))throw _0x387f4a[_0x375a03(0x1f7)];_0x1bfb8d=_0x387f4a[_0x375a03(0x346)];}return{..._0x2791fb[_0x375a03(0x209)](_0x252dc9),'mutations':[_0x1bfb8d]};}[_0x1a2d01(0x37d)](_0x338d92){const _0x394350=_0x1a2d01,{unitID:_0x14c0a7}=_0x338d92,_0x217088=this[_0x394350(0x23d)]['getRenderById'](_0x14c0a7)[_0x394350(0x368)](_0x105356),{undoCache:_0xb0ef42,redoCache:_0x4ca2d}=_0x217088[_0x394350(0x272)]();if(_0xb0ef42['length']===0x0||_0x4ca2d[_0x394350(0x202)]===0x0)return;const _0x1dfb94=[],_0x17c3f3=[];let _0x11d708=_0x2791fb['deepClone'](_0x338d92[_0x394350(0x2e1)][0x0]),_0x71742=_0x2791fb['deepClone'](_0x338d92['mutations'][0x0]);for(let _0x4ee253=_0xb0ef42['length']-0x1;_0x4ee253>=0x0;_0x4ee253--){const _0x56de80={'id':_0x394350(0x2bd),'params':{..._0xb0ef42[_0x4ee253]}},_0x241ab0={'id':_0x394350(0x2bd),'params':{..._0x4ca2d[_0x4ee253]}},_0x4f4409=this[_0x394350(0x303)][_0x394350(0x24d)](_0x11d708,_0x56de80,!0x1),_0x2f5811=this[_0x394350(0x303)][_0x394350(0x24d)](_0x71742,_0x241ab0,!0x1);if(_0x11d772(_0x4f4409))throw _0x4f4409['error'];if(_0x11d772(_0x2f5811))throw _0x2f5811[_0x394350(0x1f7)];_0x1dfb94[_0x394350(0x361)](_0x4f4409[_0x394350(0x36c)][_0x394350(0x37b)]),_0x17c3f3['unshift'](_0x2f5811[_0x394350(0x36c)]['params']),_0x11d708=_0x4f4409[_0x394350(0x346)],_0x71742=_0x2f5811[_0x394350(0x346)];}_0x217088['setUndoRedoMutationParamsCache']({'undoCache':_0x1dfb94,'redoCache':_0x17c3f3});}[_0x1a2d01(0x24f)](_0x156308){const _0x3c1d62=_0x1a2d01,{unitID:_0x2656f1}=_0x156308,_0x326ee0=this[_0x3c1d62(0x23d)][_0x3c1d62(0x269)](_0x2656f1)[_0x3c1d62(0x368)](_0x105356),_0x4ec209=_0x326ee0['getActiveRange']();if(_0x4ec209==null)return;const _0x5ebd4a=[{'id':_0x3c1d62(0x2bd),'params':{'unitId':_0x156308['unitID'],'actions':null,'textRanges':[_0x4ec209]}}],_0x42e522=this[_0x3c1d62(0x303)][_0x3c1d62(0x2e8)](_0x156308,_0x5ebd4a);if(!_0x1a179f(_0x42e522))throw _0x42e522[_0x3c1d62(0x1f7)];const _0x14e961=_0x42e522[_0x3c1d62(0x36c)][0x0][_0x3c1d62(0x37b)][_0x3c1d62(0x1e3)];Array[_0x3c1d62(0x31c)](_0x14e961)&&_0x14e961['length']&&_0x326ee0[_0x3c1d62(0x266)](_0x14e961[0x0]);}};re=cn([Ce(0x0,_0x8830ba(_0x6b91ad)),Ce(0x1,_0x14f9c9),Ce(0x2,_0x41978e)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x57b7cd,_0xca3ea5,_0x3fdcd3,_0x28ff38)=>{const _0x44486b=_0x1a2d01;for(var _0xb6a1a8=_0x28ff38>0x1?void 0x0:_0x28ff38?ln(_0xca3ea5,_0x3fdcd3):_0xca3ea5,_0xb9409f=_0x57b7cd[_0x44486b(0x202)]-0x1,_0x5e7264;_0xb9409f>=0x0;_0xb9409f--)(_0x5e7264=_0x57b7cd[_0xb9409f])&&(_0xb6a1a8=_0x5e7264(_0xb6a1a8)||_0xb6a1a8);return _0xb6a1a8;},Ee=(_0x10225d,_0x26911a)=>(_0x3f4bf3,_0x1b6333)=>_0x26911a(_0x3f4bf3,_0x1b6333,_0x10225d);let oe=class{constructor(_0x723883,_0x1cb03a,_0x4cf083){const _0x49d64b=_0x1a2d01;this[_0x49d64b(0x2ad)]=_0x723883,this['_transformService']=_0x1cb03a,this[_0x49d64b(0x373)]=_0x4cf083;}[_0x1a2d01(0x338)](_0x4fd0bb){const _0x26882b=_0x1a2d01;this[_0x26882b(0x235)](_0x4fd0bb);}[_0x1a2d01(0x1a3)](_0x1e828a){const _0x1e48cc=_0x1a2d01,{unitID:_0x24b26e}=_0x1e828a,{collaboration:_0x414b2c}=this[_0x1e48cc(0x373)][_0x1e48cc(0x289)](_0x24b26e);if(_0x414b2c[_0x1e48cc(0x202)]===0x0)return _0x1e828a;let _0x28377b=_0x2791fb[_0x1e48cc(0x209)](_0x1e828a[_0x1e48cc(0x2e1)][0x0]);for(let _0x128959=0x0;_0x128959<_0x414b2c[_0x1e48cc(0x202)];_0x128959++){const _0x4ffdbd={'id':_0x1e48cc(0x2bd),'params':{'unitId':_0x414b2c[_0x128959]['unitId'],..._0x414b2c[_0x128959]['redoState']}},_0x31b255=this[_0x1e48cc(0x303)][_0x1e48cc(0x24d)](_0x28377b,_0x4ffdbd,!0x1);if(_0x11d772(_0x31b255))throw _0x31b255['error'];_0x28377b=_0x31b255['m1Prime'];}return{..._0x2791fb[_0x1e48cc(0x209)](_0x1e828a),'mutations':[_0x28377b]};}[_0x1a2d01(0x235)](_0x1e29bf){const _0xdafd7b=_0x1a2d01,{unitID:_0x1daae}=_0x1e29bf,{history:_0x16a0e2,collaboration:_0x1cf5c7}=this[_0xdafd7b(0x373)][_0xdafd7b(0x289)](_0x1daae);if(_0x16a0e2[_0xdafd7b(0x202)]===0x0&&_0x1cf5c7['length']===0x0)return;const _0x419e10=[],_0x5005d9=[];let _0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]);for(let _0xaf0015=_0x16a0e2[_0xdafd7b(0x202)]-0x1;_0xaf0015>=0x0;_0xaf0015--){const _0x35eb82={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015][_0xdafd7b(0x261)]}},_0x9832c5={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015]['redoState']}},_0x438a36=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x616d08,_0x35eb82,!0x1),_0x320ea1=this['_transformService'][_0xdafd7b(0x24d)](_0x981b70,_0x9832c5,!0x1);if(_0x11d772(_0x438a36))throw _0x438a36[_0xdafd7b(0x1f7)];if(_0x11d772(_0x320ea1))throw _0x320ea1[_0xdafd7b(0x1f7)];_0x419e10[_0xdafd7b(0x361)]({..._0x16a0e2[_0xaf0015],'undoState':_0x438a36[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x320ea1['m2Prime']['params']}),_0x616d08=_0x438a36[_0xdafd7b(0x346)],_0x981b70=_0x320ea1['m1Prime'];}_0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]);for(let _0x339e7d=_0x1cf5c7[_0xdafd7b(0x202)]-0x1;_0x339e7d>=0x0;_0x339e7d--){const _0x36d059={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x261)]}},_0xa20cd={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x350)]}},_0x3bdc87=this['_transformService']['transformMutation'](_0x616d08,_0x36d059,!0x1),_0x3dd745=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x981b70,_0xa20cd,!0x1);if(_0x11d772(_0x3bdc87))throw _0x3bdc87[_0xdafd7b(0x1f7)];if(_0x11d772(_0x3dd745))throw _0x3dd745[_0xdafd7b(0x1f7)];_0x5005d9[_0xdafd7b(0x361)]({..._0x1cf5c7[_0x339e7d],'undoState':_0x3bdc87[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x3dd745[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)]}),_0x616d08=_0x3bdc87[_0xdafd7b(0x346)],_0x981b70=_0x3dd745[_0xdafd7b(0x346)];}this['_docStateChangeManagerService']['setStateCache'](_0x1daae,{'history':_0x419e10,'collaboration':_0x5005d9});}};oe=_n([Ee(0x0,_0x8830ba(_0x6b91ad)),Ee(0x1,_0x14f9c9),Ee(0x2,_0x8830ba(_0x51bf6b))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x52614c,_0x509509,_0x111cea,_0x16f052)=>{const _0x3e897c=_0x1a2d01;for(var _0x2fda1c=_0x16f052>0x1?void 0x0:_0x16f052?hn(_0x509509,_0x111cea):_0x509509,_0x3f455f=_0x52614c[_0x3e897c(0x202)]-0x1,_0x736d46;_0x3f455f>=0x0;_0x3f455f--)(_0x736d46=_0x52614c[_0x3f455f])&&(_0x2fda1c=_0x736d46(_0x2fda1c)||_0x2fda1c);return _0x2fda1c;},it=(_0x482eef,_0x5dc67f)=>(_0x38b805,_0x4f2a4f)=>_0x5dc67f(_0x38b805,_0x4f2a4f,_0x482eef);let ae=class{constructor(_0x2ce4d6,_0x163b0b){const _0x3e79ff=_0x1a2d01;this[_0x3e79ff(0x2ad)]=_0x2ce4d6,this[_0x3e79ff(0x303)]=_0x163b0b;}[_0x1a2d01(0x2e7)](_0x18bb17){const _0x2325b6=_0x1a2d01;var _0xe5416;const _0x577ba1=this['_injector']['get'](_0xba4b09),_0x45ce87=(_0xe5416=_0x577ba1[_0x2325b6(0x2f3)]())!=null?_0xe5416:[];if(_0x45ce87[_0x2325b6(0x202)]===0x0)return;const _0x3f7bfc=_0x18bb17[_0x2325b6(0x32f)],_0x14a41c=[{'id':_0x2325b6(0x2bd),'params':{'unitId':_0x3f7bfc,'actions':null,'textRanges':_0x45ce87}}],_0x5d6c59=this[_0x2325b6(0x303)][_0x2325b6(0x2e8)](_0x18bb17,_0x14a41c);if(!_0x1a179f(_0x5d6c59))throw _0x5d6c59[_0x2325b6(0x1f7)];const _0x4e471c=_0x5d6c59[_0x2325b6(0x36c)][0x0]['params'][_0x2325b6(0x1e3)];Array[_0x2325b6(0x31c)](_0x4e471c)&&_0x4e471c[_0x2325b6(0x202)]&&_0x577ba1[_0x2325b6(0x1f1)](_0x4e471c,{'unitId':_0x3f7bfc,'subUnitId':_0x3f7bfc},!0x1);}};ae=un([it(0x0,_0x8830ba(_0x6b91ad)),it(0x1,_0x14f9c9)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x2e8f4e,_0x45bc3c,_0x5b8676,_0x29c76e)=>{const _0x13f569=_0x1a2d01;for(var _0x4747f7=_0x29c76e>0x1?void 0x0:_0x29c76e?dn(_0x45bc3c,_0x5b8676):_0x45bc3c,_0x4d7e04=_0x2e8f4e[_0x13f569(0x202)]-0x1,_0xb18fd2;_0x4d7e04>=0x0;_0x4d7e04--)(_0xb18fd2=_0x2e8f4e[_0x4d7e04])&&(_0x4747f7=_0xb18fd2(_0x4747f7)||_0x4747f7);return _0x4747f7;},U=(_0xb3ea9,_0xd73efe)=>(_0x5e8918,_0x30a3f5)=>_0xd73efe(_0x5e8918,_0x30a3f5,_0xb3ea9);let ce=class extends _0x5b5ed7{constructor(_0x58514a,_0x164378,_0x1dd79c,_0x308d60,_0x1dff29,_0x1fb41e,_0x2b0ecd,_0x22fab3){const _0x498f28=_0x1a2d01;super(),_(this,_0x498f28(0x27f),new _0x2f02(_0xd11ca5[_0x498f28(0x1c9)])),(this[_0x498f28(0x373)]=_0x58514a,this[_0x498f28(0x37f)]=_0x164378,this[_0x498f28(0x34b)]=_0x1dd79c,this[_0x498f28(0x1ab)]=_0x308d60,this[_0x498f28(0x20c)]=_0x1dff29,this[_0x498f28(0x225)]=_0x1fb41e,this['_messageService']=_0x2b0ecd,this[_0x498f28(0x30c)]=_0x22fab3,this['_initEntityListener']());}[_0x1a2d01(0x22f)](){const _0x5479d4=_0x1a2d01;this[_0x5479d4(0x39f)](this[_0x5479d4(0x37f)][_0x5479d4(0x371)][_0x5479d4(0x233)](_0x2b116a=>{const _0x3c8b86=_0x5479d4,_0x4e105d=this[_0x3c8b86(0x373)][_0x3c8b86(0x2dc)][_0x3c8b86(0x233)](_0x4e8b93=>{const _0x5300d1=_0x3c8b86;if(_0x4e8b93==null)return;const {unitId:_0x349ab8,redoState:_0x28914c,commandId:_0x3b6fb3}=_0x4e8b93;if(_0x349ab8!==_0x2b116a[_0x5300d1(0x32f)])return;const _0x50a32a={'id':_0x3b6fb3,'type':_0x11b0bc['MUTATION'],'params':{'unitId':_0x349ab8,'actions':_0x28914c[_0x5300d1(0x35c)],'textRanges':null}};_0x2b116a['onLocalMutation'](_0x50a32a);});if(_0x2b116a[_0x3c8b86(0x39f)](_0x4e105d),_0x2b116a instanceof _0x416d16){const _0x2dc33b={'onTransformIME':_0x164092=>this[_0x3c8b86(0x34b)]['transformIMECache'](_0x164092),'onTransformState':_0x315292=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x338)](_0x315292),'onTransformSelections':_0x169d3c=>this['_docTransformSelectionsService'][_0x3c8b86(0x2e7)](_0x169d3c),'onSyncEditingCollabCursor':_0xd7e52=>this[_0x3c8b86(0x225)][_0x3c8b86(0x213)](_0xd7e52),'onTransformRemoteChangesetByIMECache':_0x1c9a6f=>this[_0x3c8b86(0x34b)][_0x3c8b86(0x1a3)](_0x1c9a6f),'onTransformRemoteChangesetByStateCache':_0x46cf30=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x1a3)](_0x46cf30)};_0x2b116a[_0x3c8b86(0x29a)](_0x2dc33b);}}));}};ce=fn([U(0x0,_0x8830ba(_0x51bf6b)),U(0x1,_0x8830ba(_0x207ba1)),U(0x2,_0x8830ba(re)),U(0x3,_0x8830ba(oe)),U(0x4,_0x8830ba(ae)),U(0x5,_0x8830ba(je)),U(0x6,_0x37918f),U(0x7,_0x8830ba(_0xb11369))],ce);var Sn=Object[_0x1a2d01(0x366)],mn=(_0x4e2a5d,_0x47a141,_0x14c853,_0x272348)=>{for(var _0x518d70=_0x272348>0x1?void 0x0:_0x272348?Sn(_0x47a141,_0x14c853):_0x47a141,_0x47fc78=_0x4e2a5d['length']-0x1,_0x561a36;_0x47fc78>=0x0;_0x47fc78--)(_0x561a36=_0x4e2a5d[_0x47fc78])&&(_0x518d70=_0x561a36(_0x518d70)||_0x518d70);return _0x518d70;},be=(_0x3c9c10,_0x403f9e)=>(_0x26588c,_0x40af8c)=>_0x403f9e(_0x26588c,_0x40af8c,_0x3c9c10);let Ae=class extends _0x5b5ed7{constructor(_0x2ad339,_0x3df627,_0x3c49bb){const _0x1caf41=_0x1a2d01;super(),_(this,_0x1caf41(0x2e9),new Map()),_(this,_0x1caf41(0x385),new Map()),_(this,_0x1caf41(0x286),!0x1),(this[_0x1caf41(0x39a)]=_0x2ad339,this[_0x1caf41(0x256)]=_0x3df627,this[_0x1caf41(0x203)]=_0x3c49bb);}['disableLocalCache'](){const _0x15b647=_0x1a2d01;this[_0x15b647(0x286)]=!0x0;}[_0x1a2d01(0x1e7)](){this['_disabled']=!0x1;}get[_0x1a2d01(0x2e6)](){return this['_saveTaskMap'];}[_0x1a2d01(0x28b)](){const _0x3033cd=_0x1a2d01;this[_0x3033cd(0x3a0)]()[_0x3033cd(0x316)](()=>super['dispose']());}async[_0x1a2d01(0x1dc)](_0x4d1c58){const _0x4f9099=_0x1a2d01;return this[_0x4f9099(0x286)]?null:this[_0x4f9099(0x256)][_0x4f9099(0x283)](_0x380f21(_0x4d1c58));}async[_0x1a2d01(0x2a4)](_0x2e112e,_0x2d55f3){const _0x145878=_0x1a2d01;return!!this['_localStorageService'][_0x145878(0x359)](_0x2e112e,_0x2d55f3);}[_0x1a2d01(0x2cd)](_0x181bb1,_0x41a8b6,_0x1cb86c,_0x20a088){const _0xa36023=_0x1a2d01,_0x4801dc=this[_0xa36023(0x203)][_0xa36023(0x38c)](_0x181bb1);this[_0xa36023(0x2e9)][_0xa36023(0x20b)](_0x181bb1,{'unitID':_0x181bb1,'type':_0x41a8b6,'awaitingChangeset':_0x1cb86c,'mutations':_0x20a088,'rev':_0x4801dc}),this[_0xa36023(0x385)][_0xa36023(0x28d)](_0x181bb1)||this['_scheduleSaving'](_0x181bb1);}[_0x1a2d01(0x2ae)](_0x1622b3){const _0x18e424=_0x1a2d01,_0x17cea1=this[_0x18e424(0x270)]();_0x17cea1===0x0?this[_0x18e424(0x232)](_0x1622b3):this[_0x18e424(0x385)]['set'](_0x1622b3,setTimeout(()=>this['_saveCache'](_0x1622b3),_0x17cea1));}[_0x1a2d01(0x270)](){const _0x3f8d6c=_0x1a2d01;var _0xcdeeb0;return(_0xcdeeb0=this['_configService'][_0x3f8d6c(0x1e6)](_0x40349c))!=null?_0xcdeeb0:_0x2e9140;}[_0x1a2d01(0x232)](_0x23dc07){const _0x448aed=_0x1a2d01,_0x547829=this[_0x448aed(0x385)]['get'](_0x23dc07);return _0x547829!==void 0x0&&window[_0x448aed(0x352)](_0x547829),this[_0x448aed(0x256)][_0x448aed(0x359)](_0x380f21(_0x23dc07),this[_0x448aed(0x2e9)]['get'](_0x23dc07))[_0x448aed(0x316)](()=>this[_0x448aed(0x385)][_0x448aed(0x315)](_0x23dc07));}async[_0x1a2d01(0x3a0)](){const _0x31423e=_0x1a2d01,_0x3d23bf=[];this['_saveTaskMap'][_0x31423e(0x25f)]((_0x2a1675,_0x122b8c)=>{const _0x5d9d87=_0x31423e;window[_0x5d9d87(0x352)](_0x2a1675),_0x3d23bf['push'](this[_0x5d9d87(0x232)](_0x122b8c)['then'](()=>{const _0x328f18=_0x5d9d87;this['_saveTaskMap'][_0x328f18(0x315)](_0x122b8c);}));}),await Promise['all'](_0x3d23bf);}};Ae=mn([be(0x0,_0x3fbb82),be(0x1,_0x12cde7),be(0x2,_0x8830ba(_0x22bbab))],Ae);class gn extends _0x1b02cf{constructor(){const _0xa3a87=_0x1a2d01;super(),_(this,_0xa3a87(0x1d6)),this['urlChange$']=_0x1a951e(window,_0xa3a87(0x1b4))[_0xa3a87(0x29e)](_0x209b00(this[_0xa3a87(0x317)]),_0x42a1d0(0x1),_0x2815cf(void 0x0));}[_0x1a2d01(0x2b7)](_0x577ae1,_0xab2d1f,_0x346aa0=!0x1){const _0x43b73b=_0x1a2d01,_0x4c6ca2=new URL(window[_0x43b73b(0x2b5)][_0x43b73b(0x1d7)]);_0x4c6ca2['searchParams']['set'](_0x577ae1,_0xab2d1f),_0x346aa0?window['history'][_0x43b73b(0x32c)]('','',_0x4c6ca2[_0x43b73b(0x242)]()):window[_0x43b73b(0x1e5)][_0x43b73b(0x1f5)]('','',_0x4c6ca2[_0x43b73b(0x242)]());}['removeParam'](_0xacdc65,_0x3954a2=!0x1){const _0x2cc5e4=_0x1a2d01,_0x253a3e=new URL(window[_0x2cc5e4(0x2b5)]['href']);_0x253a3e[_0x2cc5e4(0x2a9)][_0x2cc5e4(0x315)](_0xacdc65),_0x3954a2?window[_0x2cc5e4(0x1e5)][_0x2cc5e4(0x32c)]('','',_0x253a3e[_0x2cc5e4(0x242)]()):window[_0x2cc5e4(0x1e5)]['pushState']('','',_0x253a3e['toString']());}[_0x1a2d01(0x244)](_0x2eb623){const _0x558484=_0x1a2d01;var _0x3bcba9;return(_0x3bcba9=new URL(window[_0x558484(0x2b5)]['href'])[_0x558484(0x2a9)]['get'](_0x2eb623))!=null?_0x3bcba9:void 0x0;}}var vn=Object[_0x1a2d01(0x341)],In=Object[_0x1a2d01(0x366)],pn=(_0x13206f,_0x3e038f,_0x13c98d)=>_0x3e038f in _0x13206f?vn(_0x13206f,_0x3e038f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c98d}):_0x13206f[_0x3e038f]=_0x13c98d,Cn=(_0x1a7a20,_0xc3683e,_0x392e31,_0x2ec8fa)=>{const _0x47d87a=_0x1a2d01;for(var _0x2c4829=_0x2ec8fa>0x1?void 0x0:_0x2ec8fa?In(_0xc3683e,_0x392e31):_0xc3683e,_0x57c259=_0x1a7a20[_0x47d87a(0x202)]-0x1,_0x707084;_0x57c259>=0x0;_0x57c259--)(_0x707084=_0x1a7a20[_0x57c259])&&(_0x2c4829=_0x707084(_0x2c4829)||_0x2c4829);return _0x2c4829;},Oe=(_0x444eba,_0x3e7fc5)=>(_0xe3a3cb,_0x3ad8bd)=>_0x3e7fc5(_0xe3a3cb,_0x3ad8bd,_0x444eba),En=(_0x384aed,_0x98ade8,_0x44f45c)=>pn(_0x384aed,_0x98ade8+'',_0x44f45c);const bn=_0x1a2d01(0x1d4);let ye=class extends _0xaf1cbc{constructor(_0x1ebfd3=st,_0x59cdbe,_0x1f6673,_0x174cb4){const _0x35eb7d=_0x1a2d01;super(),this['_config']=_0x1ebfd3,this[_0x35eb7d(0x23d)]=_0x59cdbe,this['_injector']=_0x1f6673,this[_0x35eb7d(0x39a)]=_0x174cb4;const {..._0x1ea5ec}=_0x2514e6({},st,this[_0x35eb7d(0x1a8)]);this[_0x35eb7d(0x39a)][_0x35eb7d(0x35e)](nn,_0x1ea5ec);}[_0x1a2d01(0x1cd)](){const _0x9b0f00=_0x1a2d01;this[_0x9b0f00(0x1d9)](),this[_0x9b0f00(0x27b)]();}[_0x1a2d01(0x305)](){const _0x5df096=_0x1a2d01;this[_0x5df096(0x37e)]();}[_0x1a2d01(0x1d9)](){const _0x5bc2fd=_0x1a2d01;var _0x4d6b5b;const _0x9babc3=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x2ad40a,{'useClass':_0x2e424c}],[_0x14a23a,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x1142d1(this['_injector'],_0x5c3dd2(_0x9babc3,(_0x4d6b5b=this[_0x5bc2fd(0x1a8)])==null?void 0x0:_0x4d6b5b[_0x5bc2fd(0x21e)]));}[_0x1a2d01(0x37e)](){const _0x24c748=_0x1a2d01;this[_0x24c748(0x39f)](this[_0x24c748(0x23d)][_0x24c748(0x262)](_0x43ce38[_0x24c748(0x2d5)],[we])),this[_0x24c748(0x39f)](this[_0x24c748(0x23d)]['registerRenderModule'](_0x43ce38[_0x24c748(0x20a)],[Le]));}[_0x1a2d01(0x27b)](){_0x369da2(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x1a2d01(0x216),bn),ye=Cn([_0x4df7a7(_0x400bf4),Oe(0x1,_0x41978e),Oe(0x2,_0x8830ba(_0x6b91ad)),Oe(0x3,_0x3fbb82)],ye);var On=Object[_0x1a2d01(0x366)],Tn=(_0x2e8229,_0x47616c,_0x49812b,_0xcbeb9b)=>{for(var _0x24fcdc=_0xcbeb9b>0x1?void 0x0:_0xcbeb9b?On(_0x47616c,_0x49812b):_0x47616c,_0x3c3bd3=_0x2e8229['length']-0x1,_0x2f599b;_0x3c3bd3>=0x0;_0x3c3bd3--)(_0x2f599b=_0x2e8229[_0x3c3bd3])&&(_0x24fcdc=_0x2f599b(_0x24fcdc)||_0x24fcdc);return _0x24fcdc;},z=(_0x2046e8,_0x234fa2)=>(_0x46697d,_0x483f87)=>_0x234fa2(_0x46697d,_0x483f87,_0x2046e8);let nt=class extends _0x4d4100{constructor(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe){super(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe);}async[_0x1a2d01(0x28f)](_0x1a34f8){const _0x2e1177=_0x1a2d01,_0xa65891=await this['_getSessionTicket'](),_0x23aa29=this[_0x2e1177(0x391)](_0x1a34f8,_0xa65891);return this['_doCreateSocket'](_0x23aa29);}['_createSocketURL'](_0x58a2da,_0x27fd25){const _0x48a766=_0x1a2d01,_0x43640e=typeof window>'u'?new URL(_0x58a2da):new URL(_0x58a2da,window[_0x48a766(0x2b5)][_0x48a766(0x281)]);_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x1fe),_0x27fd25);const _0x1024e3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48a766(0x2b5)][_0x48a766(0x1c0)]);return _0x1024e3[_0x48a766(0x33f)](_0x48a766(0x395))&&_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x395),_0x1024e3['get'](_0x48a766(0x395))),_0x43640e['toString']();}async['_getSessionTicket'](){const _0x207e6b=_0x1a2d01;var _0xdf5846,_0xa5962f,_0xdb7593;const _0xab8fd3=this[_0x207e6b(0x39a)][_0x207e6b(0x1e6)](_0x17fb45),_0x39215b=(_0xdf5846=_0xab8fd3==null?void 0x0:_0xab8fd3[_0x207e6b(0x2b1)])!=null?_0xdf5846:_0x21eb3a;return(_0xdb7593=(_0xa5962f=(await this[_0x207e6b(0x1b9)][_0x207e6b(0x33f)](_0x39215b,{'headers':{'Content-Type':'application/json'}}))[_0x207e6b(0x282)])==null?void 0x0:_0xa5962f[_0x207e6b(0x2b8)])!=null?_0xdb7593:'';}};nt=Tn([z(0x0,_0x8830ba(_0x6b91ad)),z(0x1,_0x8830ba(_0x5bfb76)),z(0x2,_0x3fbb82),z(0x3,_0x25fe23),z(0x4,_0x1aa242)],nt);const rt=0x7530,ot=_0x1a2d01(0x1c1);class Gn extends _0x5b5ed7{constructor(){const _0x36f270=_0x1a2d01;super(),_(this,_0x36f270(0x24b),_0x23d8b8()),_(this,_0x36f270(0x2cc),new Set()),_(this,_0x36f270(0x2d1),new Map()),_(this,_0x36f270(0x381),null),_(this,_0x36f270(0x2e0),new Map()),_(this,_0x36f270(0x277),new Map()),this['_init']();}['dispose'](){const _0x49eabe=_0x1a2d01;super[_0x49eabe(0x28b)](),this[_0x49eabe(0x2e0)]['forEach']((_0xfc5ea8,_0x2693f7)=>this['_removeClearOtherTimer'](_0x2693f7)),this[_0x49eabe(0x381)]&&window[_0x49eabe(0x333)](this[_0x49eabe(0x381)]);}['getUnitStatus$'](_0x5dd150){const _0x135b3f=_0x1a2d01;return this[_0x135b3f(0x284)](_0x5dd150)[_0x135b3f(0x29e)](_0x22f787());}['editingUnit'](_0x425ff2){const _0x566b37=_0x1a2d01;this['_selfUnitIDs'][_0x566b37(0x369)]===0x0&&this[_0x566b37(0x2c1)](),this[_0x566b37(0x2cc)][_0x566b37(0x1f4)](_0x425ff2),this['_send']({'type':0x0,'memberID':this[_0x566b37(0x24b)],'unitIDs':[_0x425ff2],'isForwarded':!0x1});}['disposeUnit'](_0x132343){const _0x310d1a=_0x1a2d01;this[_0x310d1a(0x2cc)][_0x310d1a(0x315)](_0x132343),this['_selfUnitIDs'][_0x310d1a(0x369)]===0x0&&this[_0x310d1a(0x381)]&&window[_0x310d1a(0x333)](this[_0x310d1a(0x381)]);}[_0x1a2d01(0x379)](){const _0x507292=_0x1a2d01;this[_0x507292(0x39f)](_0x23ea29(_0x1a951e(window,'storage')['subscribe'](_0x11b5ec=>{const _0x3ce13a=_0x507292;if(_0x11b5ec[_0x3ce13a(0x343)]!==ot||!_0x11b5ec[_0x3ce13a(0x28a)])return;const _0x344335=JSON[_0x3ce13a(0x2d9)](_0x11b5ec[_0x3ce13a(0x28a)]);this['_handleEvent'](_0x344335);}))),window['addEventListener'](_0x507292(0x218),()=>this['_send']({'type':0x1,'memberID':this[_0x507292(0x24b)],'unitIDs':Array['from'](this[_0x507292(0x2cc)])}));}[_0x1a2d01(0x2fc)](_0x6b861d){const _0x2a3d4f=_0x1a2d01;switch(_0x6b861d['type']){case 0x0:this[_0x2a3d4f(0x378)](_0x6b861d);break;case 0x1:this['_handleLeaveEvent'](_0x6b861d);break;case 0x2:this['_handleHeartbeatEvent'](_0x6b861d);break;}}['_handleJoinEvent'](_0xf3eca3){const _0x499bb7=_0x1a2d01,{unitIDs:_0xbbe8b,memberID:_0x383940,isForwarded:_0x512265}=_0xf3eca3;_0xbbe8b[_0x499bb7(0x25f)](_0x7bc3d0=>{const _0x30960b=_0x499bb7;if(!_0x512265&&this[_0x30960b(0x2d1)][_0x30960b(0x28d)](_0x7bc3d0)&&this[_0x30960b(0x284)](_0x7bc3d0)[_0x30960b(0x1e9)](_0xa858bb[_0x30960b(0x1ba)]),!this['_unitOnClients'][_0x30960b(0x28d)](_0x7bc3d0)||!this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)[_0x30960b(0x28d)](_0x383940)){const _0x2666bd=this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)||new Set();_0x2666bd[_0x30960b(0x1f4)](_0x383940),this[_0x30960b(0x2d1)]['set'](_0x7bc3d0,_0x2666bd),this[_0x30960b(0x2ee)](_0x383940);}}),_0x512265||this[_0x499bb7(0x238)]({'type':0x0,'memberID':this[_0x499bb7(0x24b)],'unitIDs':[...this[_0x499bb7(0x2cc)]],'isForwarded':!0x0});}[_0x1a2d01(0x2ee)](_0x430224){const _0x251c50=_0x1a2d01;this[_0x251c50(0x2cf)](_0x430224);const _0x5348f0=window[_0x251c50(0x390)](()=>{const _0x2256e2=_0x251c50;this[_0x2256e2(0x2d1)][_0x2256e2(0x25f)](_0xace8ed=>{const _0x4c1d47=_0x2256e2;_0xace8ed[_0x4c1d47(0x315)](_0x430224);});},rt*0x2);this[_0x251c50(0x2e0)]['set'](_0x430224,_0x5348f0);}[_0x1a2d01(0x2cf)](_0x58e9f9){const _0x5242b4=_0x1a2d01;if(this[_0x5242b4(0x2e0)][_0x5242b4(0x28d)](_0x58e9f9)){const _0x118b4f=this['_clearOtherTimers']['get'](_0x58e9f9);_0x118b4f&&window[_0x5242b4(0x352)](_0x118b4f),this[_0x5242b4(0x2e0)][_0x5242b4(0x20b)](_0x58e9f9,null);}}[_0x1a2d01(0x302)](_0x169377){const _0x23bd74=_0x1a2d01,{memberID:_0x431d85,unitIDs:_0x101de7}=_0x169377;_0x101de7['forEach'](_0x1ec9b0=>{const _0x1dae51=_0x213f;var _0x467d42;const _0x4df7db=this[_0x1dae51(0x2d1)][_0x1dae51(0x33f)](_0x1ec9b0);_0x4df7db&&(_0x4df7db[_0x1dae51(0x315)](_0x431d85),(_0x467d42=this['_ensureSubject'](_0x1ec9b0))==null||_0x467d42[_0x1dae51(0x1e9)](_0x4df7db[_0x1dae51(0x369)]===0x0?_0xa858bb[_0x1dae51(0x39e)]:_0xa858bb[_0x1dae51(0x1ba)]));}),this[_0x23bd74(0x2cf)](_0x431d85);}['_handleHeartbeatEvent'](_0x31959b){const _0x411936=_0x1a2d01;this[_0x411936(0x2ee)](_0x31959b['memberID']);}[_0x1a2d01(0x238)](_0x3fa0c8){const _0x4d445f=_0x1a2d01;localStorage[_0x4d445f(0x359)](ot,JSON['stringify'](_0x3fa0c8));}[_0x1a2d01(0x2c1)](){const _0x2ed207=_0x1a2d01;this['_heartbeatTimer']=window[_0x2ed207(0x339)](()=>{const _0x366dff=_0x2ed207;this[_0x366dff(0x238)]({'type':0x2,'memberID':this[_0x366dff(0x24b)]});},rt);}[_0x1a2d01(0x284)](_0x3172d2){const _0x59ebe4=_0x1a2d01;return this['_unitStatus'][_0x59ebe4(0x28d)](_0x3172d2)||this[_0x59ebe4(0x277)]['set'](_0x3172d2,new _0x2f02(_0xa858bb['NO_OTHER_CLIENTS_EDITING'])),this[_0x59ebe4(0x277)]['get'](_0x3172d2);}}var wt=(_0x2215ca=>(_0x2215ca[_0x2215ca[_0x1a2d01(0x1da)]=0x0]=_0x1a2d01(0x1da),_0x2215ca[_0x2215ca['OK']=0x1]='OK',_0x2215ca[_0x2215ca[_0x1a2d01(0x2c0)]=0x2]=_0x1a2d01(0x2c0),_0x2215ca[_0x2215ca[_0x1a2d01(0x25c)]=0x3]='PERMISSION_DENIED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2fa)]=0x4]='NOT_FOUND',_0x2215ca[_0x2215ca['UNAUTHENTICATED']=0x5]=_0x1a2d01(0x330),_0x2215ca[_0x2215ca[_0x1a2d01(0x1e4)]=0x6]=_0x1a2d01(0x1e4),_0x2215ca[_0x2215ca[_0x1a2d01(0x362)]=0x7]=_0x1a2d01(0x362),_0x2215ca[_0x2215ca[_0x1a2d01(0x32e)]=0x8]=_0x1a2d01(0x32e),_0x2215ca[_0x2215ca[_0x1a2d01(0x22d)]=0x9]=_0x1a2d01(0x22d),_0x2215ca[_0x2215ca[_0x1a2d01(0x326)]=0xa]=_0x1a2d01(0x326),_0x2215ca[_0x2215ca[_0x1a2d01(0x22b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2215ca[_0x2215ca['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1a2d01(0x318),_0x2215ca[_0x2215ca[_0x1a2d01(0x2aa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2215ca[_0x2215ca['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1a2d01(0x2f1),_0x2215ca[_0x2215ca[_0x1a2d01(0x297)]=0x1b59]=_0x1a2d01(0x297),_0x2215ca[_0x2215ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ce)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2215ca[_0x2215ca[_0x1a2d01(0x294)]=0x1b5c]=_0x1a2d01(0x294),_0x2215ca[_0x2215ca['APPLY_DUPLICATED']=0x1b5d]=_0x1a2d01(0x2db),_0x2215ca[_0x2215ca[_0x1a2d01(0x263)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2215ca[_0x2215ca[_0x1a2d01(0x319)]=0x2329]=_0x1a2d01(0x319),_0x2215ca[_0x2215ca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ed)]=0x232b]=_0x1a2d01(0x2ed),_0x2215ca[_0x2215ca[_0x1a2d01(0x370)]=0x232c]=_0x1a2d01(0x370),_0x2215ca[_0x2215ca[_0x1a2d01(0x1d2)]=0x232d]=_0x1a2d01(0x1d2),_0x2215ca[_0x2215ca[_0x1a2d01(0x38f)]=0x2711]=_0x1a2d01(0x38f),_0x2215ca[_0x2215ca[_0x1a2d01(0x34e)]=0x2712]=_0x1a2d01(0x34e),_0x2215ca[_0x2215ca['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1a2d01(0x1df),_0x2215ca[_0x2215ca[_0x1a2d01(0x2da)]=0x2714]=_0x1a2d01(0x2da),_0x2215ca[_0x2215ca[_0x1a2d01(0x39b)]=0x271a]=_0x1a2d01(0x39b),_0x2215ca[_0x2215ca[_0x1a2d01(0x26e)]=0x271b]=_0x1a2d01(0x26e),_0x2215ca[_0x2215ca[_0x1a2d01(0x2e3)]=0x2af9]=_0x1a2d01(0x2e3),_0x2215ca[_0x2215ca[_0x1a2d01(0x2fb)]=0x2ee1]=_0x1a2d01(0x2fb),_0x2215ca[_0x2215ca[_0x1a2d01(0x1ec)]=0x2ee2]='INVALID_INVITE_CODE',_0x2215ca[_0x2215ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1a2d01(0x2ef),_0x2215ca[_0x2215ca[_0x1a2d01(0x252)]=0x2ee4]=_0x1a2d01(0x252),_0x2215ca[_0x2215ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2215ca[_0x2215ca[_0x1a2d01(0x20f)]=0x32c9]=_0x1a2d01(0x20f),_0x2215ca[_0x2215ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1a2d01(0x29c),_0x2215ca[_0x2215ca[_0x1a2d01(0x2d0)]=0x32cb]=_0x1a2d01(0x2d0),_0x2215ca[_0x2215ca[_0x1a2d01(0x28e)]=-0x1]='UNRECOGNIZED',_0x2215ca))(wt||{}),Rn=Object[_0x1a2d01(0x366)],Dn=(_0x4ba2dd,_0x15c8cc,_0xadd231,_0x12fa4c)=>{for(var _0x43568d=_0x12fa4c>0x1?void 0x0:_0x12fa4c?Rn(_0x15c8cc,_0xadd231):_0x15c8cc,_0x178bed=_0x4ba2dd['length']-0x1,_0x5b4d23;_0x178bed>=0x0;_0x178bed--)(_0x5b4d23=_0x4ba2dd[_0x178bed])&&(_0x43568d=_0x5b4d23(_0x43568d)||_0x43568d);return _0x43568d;},Te=(_0x2e8daf,_0x287636)=>(_0x74b3f1,_0x11eccb)=>_0x287636(_0x74b3f1,_0x11eccb,_0x2e8daf);let at=class extends _0x5b5ed7{constructor(_0x420972,_0x174fa8,_0x1c0f73){const _0x5f3b95=_0x1a2d01;super(),this[_0x5f3b95(0x2d6)]=_0x420972,this[_0x5f3b95(0x1b9)]=_0x174fa8,this['_configService']=_0x1c0f73;}async['runOnServer'](_0x1ad88c,_0x5bdb5b,_0x160405,..._0x4d3e52){const _0x26d525=_0x1a2d01;var _0x89e5bc,_0x1e8e13,_0x33f3f7,_0x59f570;const _0x1d1c28=this[_0x26d525(0x2d6)][_0x26d525(0x246)]();if(!_0x1d1c28)throw new Error(_0x26d525(0x31d));const _0x365a53=((_0x89e5bc=this[_0x26d525(0x39a)][_0x26d525(0x1e6)](_0x3a92da))!=null?_0x89e5bc:_0x4d7465)+'/'+_0x1ad88c+_0x26d525(0x254)+_0x5bdb5b,_0x32900d=new URL(window[_0x26d525(0x2b5)][_0x26d525(0x1d7)]),_0x45ad4a={'scriptId':_0x1ad88c,'runId':(_0x1e8e13=_0x32900d[_0x26d525(0x2a9)][_0x26d525(0x33f)](_0x26d525(0x395)))!=null?_0x1e8e13:'','function':_0x5bdb5b,'unitId':_0x1d1c28['getUnitId'](),'argsOfFunction':JSON[_0x26d525(0x33a)](_0x4d3e52),'invokeId':(_0x33f3f7=_0x160405[_0x26d525(0x236)])!=null?_0x33f3f7:'','executionId':(_0x59f570=_0x160405[_0x26d525(0x1d0)])!=null?_0x59f570:''};try{const _0x1ed361=await this[_0x26d525(0x1b9)][_0x26d525(0x296)](_0x365a53,{'body':_0x45ad4a});return _0x1ed361['body']['error']&&_0x1ed361[_0x26d525(0x282)][_0x26d525(0x1f7)][_0x26d525(0x347)]!==wt['OK']?_0x26d525(0x2bb):_0x1ed361['body'][_0x26d525(0x226)];}catch{return _0x26d525(0x2bb);}}};at=Dn([Te(0x0,_0x1a3a82),Te(0x1,_0x8830ba(_0x5bfb76)),Te(0x2,_0x3fbb82)],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
+ const _0x22b051=_0x324a;(function(_0x4f5606,_0x57e9db){const _0x3c9036=_0x324a,_0x358cfd=_0x4f5606();while(!![]){try{const _0x4db6f0=-parseInt(_0x3c9036(0x239))/0x1*(parseInt(_0x3c9036(0x120))/0x2)+parseInt(_0x3c9036(0x242))/0x3+-parseInt(_0x3c9036(0x249))/0x4+-parseInt(_0x3c9036(0x12b))/0x5*(-parseInt(_0x3c9036(0x19b))/0x6)+-parseInt(_0x3c9036(0x2a1))/0x7*(-parseInt(_0x3c9036(0x13f))/0x8)+-parseInt(_0x3c9036(0x1f9))/0x9*(-parseInt(_0x3c9036(0xe7))/0xa)+parseInt(_0x3c9036(0xa4))/0xb*(-parseInt(_0x3c9036(0x12a))/0xc);if(_0x4db6f0===_0x57e9db)break;else _0x358cfd['push'](_0x358cfd['shift']());}catch(_0x2c2958){_0x358cfd['push'](_0x358cfd['shift']());}}}(_0x2772,0x89301));var Bt=Object['defineProperty'],kt=(_0x9b076e,_0x1bd227,_0x506df6)=>_0x1bd227 in _0x9b076e?Bt(_0x9b076e,_0x1bd227,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x506df6}):_0x9b076e[_0x1bd227]=_0x506df6,_=(_0x17b749,_0x323ad8,_0x2dd836)=>kt(_0x17b749,typeof _0x323ad8!=_0x22b051(0x1c1)?_0x323ad8+'':_0x323ad8,_0x2dd836);import{MemberService as _0x976673,SessionStatus as _0x15e2de,CollaborationSessionService as _0x44f692,CollaborationStatus as _0x440348,CollaborationController as _0x148d28,ILocalCacheService as _0x127d0d,CollaborationUIEventService as _0x4b299a,CollaborationUIEventId as _0x4078b1,DataLoaderService as _0x3e15e2,DocCollaborationEntity as _0x3b7c80,getLocalCacheKey as _0x1316dd,LOCAL_CACHE_INTERVAL as _0xa2197,LOCAL_CACHE_INTERVAL_KEY as _0x3418f0,UniverCollaborationClientPlugin as _0x544f94,CollaborationSocketService as _0x1ed0ab,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2bd226,DEFAULT_WS_SESSION_TICKET_URL as _0x3dae3e,UnitStatus as _0x4ea8b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xa31bce,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x11794a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x19057b,Disposable as _0x59267c,DOC_RANGE_TYPE as _0x312804,Inject as _0x53179b,Injector as _0xf6a735,IUniverInstanceService as _0x194a7a,ICommandService as _0x3eaa36,debounce as _0x54f90e,Rectangle as _0x172b12,DisposableCollection as _0x324fcb,toDisposable as _0x371d01,UniverInstanceType as _0x4fbb03,Tools as _0x2c3576,COLORS as _0x94f338,ColorKit as _0x27725d,ThemeService as _0x546d83,fromEventSubject as _0x32bb49,LocaleService as _0x4651ae,createIdentifier as _0x47277c,ILogService as _0x336e49,Optional as _0x32643b,Workbook as _0x3ca270,CommandType as _0x5194f6,IConfigService as _0x2af28c,ILocalStorageService as _0x89a1a9,DependentOn as _0x4a2eb1,Plugin as _0x49f2ff,merge as _0x40aabe,registerDependencies as _0x30b936,mergeOverrideWithDependencies as _0x3eb038,touchDependencies as _0x4d178d,generateRandomId as _0xa02ef3}from'@univerjs/core';import{Shape as _0x300c6f,Rect as _0x5039c7,getColor as _0x5cee14,RegularPolygon as _0x26cd77,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x66f921,Vector2 as _0x569a4e,SHEET_VIEWPORT_KEY as _0x566583,IRenderManagerService as _0x1e87f3}from'@univerjs/engine-render';import{ISocketService as _0x4d6e5a,WebSocketService as _0x5b075b,HTTPService as _0x4abf29}from'@univerjs/network';import{IDocClipboardService as _0x4e1e06,NodePositionConvertToCursor as _0x2b0dc9,NodePositionConvertToRectRange as _0x2af528,TEXT_RANGE_LAYER_INDEX as _0x5f46a2,SetDocZoomRatioOperation as _0x2ffc35,DocIMEInputManagerService as _0x5c9cec,DocStateChangeManagerService as _0x225d07}from'@univerjs/docs-ui';import{IImageIoService as _0x35931f}from'@univerjs/drawing';import{BehaviorSubject as _0x1e28f7,debounceTime as _0x229120,takeUntil as _0xd1a528,Subject as _0x18ab23,filter as _0x4401b0,switchMap as _0x12461d,merge as _0x57cf8a,combineLatest as _0x532813,of as _0x4bd7e6,fromEvent as _0x35e0e3,shareReplay as _0x439718,mapTo as _0x12eaaf,distinctUntilChanged as _0x599d6b}from'rxjs';import{SetTextSelectionsOperation as _0x199d8d,RichTextEditingMutation as _0x42c181,DocSelectionManagerService as _0x185b37,DocSkeletonManagerService as _0x4b4f76}from'@univerjs/docs';import{ITransformService as _0x4539c1,CollaborationEvent as _0x473eaa,isTransformMutationFailure as _0x103425,isTransformMutationsWithChangesetSuccess as _0x3e9a3a,RevisionService as _0x315fb1,ISnapshotServerService as _0x285521}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x67dccc,serializeRangeWithSheet as _0x19e0ae}from'@univerjs/engine-formula';import{RefRangeService as _0x43c622,SetSelectionsOperation as _0x11e0a4,SheetsSelectionsService as _0x24ccd7,EffectRefRangId as _0x2e8b93,handleIRemoveRow as _0x1169f9,handleIRemoveCol as _0xcb9fe9,handleMoveRange as _0x4e6433,handleInsertRow as _0x2fd8a9,handleInsertRangeMoveRight as _0x5106f6,handleInsertRangeMoveDown as _0x54ac2e,handleInsertCol as _0x8960b3,handleDeleteRangeMoveUp as _0x13c731,handleDeleteRangeMoveLeft as _0x3067bb,runRefRangeMutations as _0x2a891e,SetWorksheetActivateCommand as _0x420f35}from'@univerjs/sheets';import{map as _0x1f0a3,filter as _0x11195c,throttleTime as _0x3e6388,takeUntil as _0x59d6d4,switchMap as _0x5fc321}from'rxjs/operators';import{SheetSkeletonManagerService as _0xabf3d0,getCoordByCell as _0x33f9de,getSheetObject as _0x458bfe}from'@univerjs/sheets-ui';import{jsx as _0x261b3e,jsxs as _0x5c5661}from'react/jsx-runtime';import{useObservable as _0x394d64,useDependency as _0x3da98e,IUIPartsService as _0x2fc39f,BuiltInUIPart as _0x257771,connectInjector as _0x164c77,IBeforeCloseService as _0x543592,IMessageService as _0x2d73a6,INotificationService as _0x3b048f}from'@univerjs/ui';import{clsx as _0x1c36ba,Tooltip as _0x12d346,MessageType as _0x2276c0}from'@univerjs/design';import{forwardRef as _0x5e11a0,useRef as _0x52c021,createElement as _0x28baf7,useCallback as _0x3adc7b}from'react';import{IRemoteInstanceService as _0x1b8016}from'@univerjs/rpc';var li=Object[_0x22b051(0x28c)],_i=(_0x30c135,_0x4fe158,_0x23099d,_0x2a6627)=>{for(var _0x23a07d=_0x2a6627>0x1?void 0x0:_0x2a6627?li(_0x4fe158,_0x23099d):_0x4fe158,_0x2c4416=_0x30c135['length']-0x1,_0x564fc1;_0x2c4416>=0x0;_0x2c4416--)(_0x564fc1=_0x30c135[_0x2c4416])&&(_0x23a07d=_0x564fc1(_0x23a07d)||_0x23a07d);return _0x23a07d;},Qe=(_0x2e8874,_0x4d521d)=>(_0x41a773,_0x45fc4c)=>_0x4d521d(_0x41a773,_0x45fc4c,_0x2e8874);let Ue=class extends _0x19057b{constructor(_0x22f40e,_0xf459d6){const _0x79e876=_0x22b051;super(),this['_docClipboardService']=_0x22f40e,this[_0x79e876(0x287)]=_0xf459d6,this[_0x79e876(0x1c6)]();}['_init'](){const _0x297e2e=_0x22b051,_0x5b34a5=this;this[_0x297e2e(0x16f)](this['_docClipboardService'][_0x297e2e(0xa7)]({'onBeforePasteImage':async _0x446791=>{const _0x207e1e=_0x297e2e,_0x507521=await _0x5b34a5[_0x207e1e(0x287)][_0x207e1e(0x213)](_0x446791);return _0x507521?{'source':_0x507521['source'],'imageSourceType':_0x507521['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4e1e06),Qe(0x1,_0x35931f)],Ue);const qe=['purple300',_0x22b051(0x278),'verdancy600','red300',_0x22b051(0x135),_0x22b051(0x175)];class He extends _0x59267c{constructor(){const _0x29e598=_0x22b051;super(...arguments),_(this,_0x29e598(0x166),new Map()),_(this,'_colorIndex',0x0);}[_0x22b051(0xb2)](_0x30848c){const _0x26f34f=_0x22b051;if(this[_0x26f34f(0x166)][_0x26f34f(0x25a)](_0x30848c))return this[_0x26f34f(0x166)]['get'](_0x30848c);const _0x38cfac=qe[this['_colorIndex']];return this[_0x26f34f(0x15a)]=(this[_0x26f34f(0x15a)]+0x1)%qe[_0x26f34f(0x1de)],this[_0x26f34f(0x166)]['set'](_0x30848c,_0x38cfac),_0x38cfac;}}function Dt(_0x13be89){const _0x40f216=_0x22b051;let _0x73c191='';for(const _0x309190 of _0x13be89){const {startOffset:_0x272604,endOffset:_0x47b3f1,isActive:_0x173d5a,rangeType:_0xa7cbc,segmentId:_0x399bf1,segmentPage:_0x548803}=_0x309190;_0x73c191[_0x40f216(0x1de)]&&(_0x73c191+=','),_0x73c191+=_0x272604+':'+_0x47b3f1+':'+(_0x173d5a?'1':'0')+':'+_0xa7cbc+':'+_0x399bf1+':'+_0x548803;}return _0x73c191;}function hi(_0x35037f){const _0x3006de=_0x22b051,_0x10decd=_0x35037f['split'](','),_0x3f80be=[];for(const _0x357561 of _0x10decd){const [_0x5188f8,_0x388df1,_0x17dda4,_0x393bfc,_0x24b328,_0x1ca1fc]=_0x357561[_0x3006de(0x232)](':');_0x3f80be['push']({'startOffset':Number(_0x5188f8),'endOffset':Number(_0x388df1),'collapsed':_0x5188f8===_0x388df1,'isActive':_0x17dda4==='1','rangeType':_0x393bfc===_0x312804['TEXT']?_0x312804[_0x3006de(0x21b)]:_0x312804['RECT'],'segmentId':typeof _0x24b328==_0x3006de(0x14b)?String(_0x24b328):'','segmentPage':Number(_0x1ca1fc!=null?_0x1ca1fc:-0x1)});}return _0x3f80be['some'](_0x424fa1=>_0x424fa1[_0x3006de(0x11a)])||(_0x3f80be[0x0][_0x3006de(0x11a)]=!0x0),_0x3f80be;}class je extends _0x19057b{constructor(){const _0x4b516a=_0x22b051;super(...arguments),_(this,'_collabCursorState$',new _0x1e28f7(null)),_(this,_0x4b516a(0x227),this[_0x4b516a(0x1d5)][_0x4b516a(0x269)]());}[_0x22b051(0xd8)](_0xb05fa2){const {unitID:_0x3df4c4,memberID:_0x3b5781,textRanges:_0xe3f263}=_0xb05fa2,_0x461837=Dt(_0xe3f263);if(_0x461837==='')return;const _0x18ef11={'unitID':_0x3df4c4,'memberID':_0x3b5781,'selection':_0x461837};this['_collabCursorState$']['next'](_0x18ef11);}}var ui=Object[_0x22b051(0x28c)],di=(_0x56f09d,_0x1c16d9,_0xe4aed8,_0x126120)=>{const _0x24b52a=_0x22b051;for(var _0x17a074=_0x126120>0x1?void 0x0:_0x126120?ui(_0x1c16d9,_0xe4aed8):_0x1c16d9,_0x1b8522=_0x56f09d[_0x24b52a(0x1de)]-0x1,_0x5622ba;_0x1b8522>=0x0;_0x1b8522--)(_0x5622ba=_0x56f09d[_0x1b8522])&&(_0x17a074=_0x5622ba(_0x17a074)||_0x17a074);return _0x17a074;},w=(_0x2152f9,_0x2eee7a)=>(_0x55ba43,_0xdcb428)=>_0x2eee7a(_0x55ba43,_0xdcb428,_0x2152f9);const fi=0x12c,Si=0x64;let Me=class extends _0x19057b{constructor(_0x22c5f5,_0x21461f,_0x5c787f,_0x9cf165,_0x5e6175,_0x5c1d21,_0x78a40f,_0x398bca,_0x22fee0){const _0x1161d9=_0x22b051;super(),_(this,_0x1161d9(0xaf),!0x1),_(this,_0x1161d9(0x1c6),!0x1),_(this,_0x1161d9(0xdf),new _0x1e28f7(new Map())),_(this,'cursorInfo$',this[_0x1161d9(0xdf)][_0x1161d9(0x269)]()),_(this,_0x1161d9(0x2a2),new _0x1e28f7([])),_(this,_0x1161d9(0x17c),this['_roomMembers$'][_0x1161d9(0x26a)](_0x229120(fi))),_(this,_0x1161d9(0x10a),_0x54f90e(_0x556ca9=>{const _0x441b05=_0x1161d9,_0x1762cb={'eventID':_0x473eaa[_0x441b05(0x25f)],'data':{'unitID':this[_0x441b05(0x1bf)],'memberID':this[_0x441b05(0x1bc)][_0x441b05(0x106)](),'selection':Dt(_0x556ca9)}};this['_session']['send'](_0x1762cb,this['unitID']);},Si)),(this[_0x1161d9(0x1bf)]=_0x22c5f5,this['_session']=_0x21461f,this[_0x1161d9(0x1d1)]=_0x5c787f,this[_0x1161d9(0xd4)]=_0x9cf165,this['_memberService']=_0x5e6175,this[_0x1161d9(0x12c)]=_0x5c1d21,this[_0x1161d9(0x110)]=_0x78a40f,this[_0x1161d9(0xd1)]=_0x398bca,this[_0x1161d9(0xc9)]=_0x22fee0);}get[_0x22b051(0x129)](){const _0x291fb5=_0x22b051;return this[_0x291fb5(0xdf)][_0x291fb5(0x295)]();}get[_0x22b051(0x111)](){const _0x75f358=_0x22b051;return this[_0x75f358(0x2a2)][_0x75f358(0x295)]();}[_0x22b051(0x258)](){const _0x217be4=_0x22b051;super['dispose'](),this[_0x217be4(0xdf)][_0x217be4(0x1e1)](new Map()),this[_0x217be4(0xdf)][_0x217be4(0x236)](),this[_0x217be4(0x2a2)][_0x217be4(0x1e1)]([]),this['_roomMembers$']['complete']();}[_0x22b051(0xcf)](){const _0xc0b890=_0x22b051;this['_init']||(this[_0xc0b890(0x1c6)]=!0x0,this['_session']['sessionStatus$'][_0xc0b890(0x26a)](_0xd1a528(this[_0xc0b890(0x266)]))['subscribe'](_0x5a08e5=>{const _0x4f8211=_0xc0b890;_0x5a08e5===_0x15e2de[_0x4f8211(0x134)]?this[_0x4f8211(0xc6)]():this[_0x4f8211(0x251)]();}),this[_0xc0b890(0x1bc)][_0xc0b890(0x220)]['pipe'](_0xd1a528(this[_0xc0b890(0x266)]))[_0xc0b890(0x2ae)](_0x11a307=>{const _0x5887fe=_0xc0b890,_0x59a5cc=_0x11a307[_0x5887fe(0x148)];_0x59a5cc===_0x473eaa['UPDATE_CURSOR']&&this[_0x5887fe(0x181)](_0x11a307),_0x59a5cc===_0x473eaa['USERS_LEAVE']&&this[_0x5887fe(0x229)](_0x11a307);}),this[_0xc0b890(0x16f)](this[_0xc0b890(0xc9)]['onCommandExecuted'](_0x3f286f=>{const _0x5106bc=_0xc0b890,_0x4189ab=_0x3f286f[_0x5106bc(0xfe)];_0x4189ab!=null&&this[_0x5106bc(0xaf)]&&_0x3f286f['id']===_0x199d8d['id']&&_0x4189ab[_0x5106bc(0x2ab)]===this['unitID']&&_0x4189ab[_0x5106bc(0x1cf)]===!0x1&&_0x4189ab[_0x5106bc(0xc3)][_0x5106bc(0x1de)]>0x0&&this[_0x5106bc(0x10a)](_0x4189ab[_0x5106bc(0xc3)]);})),this[_0xc0b890(0x12c)][_0xc0b890(0x227)][_0xc0b890(0x26a)](_0xd1a528(this['dispose$']))['subscribe'](_0x3c020d=>{const _0xb1855a=_0xc0b890;if((_0x3c020d==null?void 0x0:_0x3c020d['unitID'])!==this[_0xb1855a(0x1bf)])return;const _0x37fde6={'eventID':_0x473eaa[_0xb1855a(0x25f)],'data':_0x3c020d};this[_0xb1855a(0x181)](_0x37fde6);}),this[_0xc0b890(0x16f)](this['_commandService'][_0xc0b890(0x292)](_0x32e3dd=>{const _0x5edbe6=_0xc0b890;if(_0x32e3dd[_0x5edbe6(0xfe)]==null)return;const _0x3656f6=_0x32e3dd[_0x5edbe6(0xfe)];if(_0x32e3dd['id']!==_0x42c181['id']||_0x3656f6[_0x5edbe6(0x2ab)]!==this[_0x5edbe6(0x1bf)])return;const _0x5f31c4={'id':_0x5edbe6(0xbc),'params':_0x3656f6},_0x1aaa8b=this[_0x5edbe6(0x129)];for(const [_0x2ae21c,_0x2531cd]of _0x1aaa8b){const _0xac24b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2531cd[_0x5edbe6(0xc3)]}},_0x5c7597=this[_0x5edbe6(0x110)][_0x5edbe6(0x235)](_0x5f31c4,_0xac24b7,!0x1);if(_0x103425(_0x5c7597))throw _0x5c7597[_0x5edbe6(0x289)];_0x1aaa8b[_0x5edbe6(0x18b)](_0x2ae21c,{..._0x2531cd,'ranges':_0x5c7597['m2Prime'][_0x5edbe6(0xfe)][_0x5edbe6(0x1f6)]});}queueMicrotask(()=>{const _0x5e3002=_0x5edbe6;this[_0x5e3002(0xdf)][_0x5e3002(0x1e1)](_0x1aaa8b);});})));}['_onCursorUpdate'](_0x6f1661){const _0x3f886b=_0x22b051;var _0x3bbcd8,_0x545085;const {memberID:_0x521eca,selection:_0x56d2ec}=_0x6f1661[_0x3f886b(0x1a5)],_0x22b1e2=hi(_0x56d2ec),_0x4b9963=(_0x545085=(_0x3bbcd8=this['_memberService'][_0x3f886b(0x183)](this[_0x3f886b(0x1bf)],_0x521eca))==null?void 0x0:_0x3bbcd8[_0x3f886b(0x252)])!=null?_0x545085:'Unknown\x20user',_0x10e310={'color':this[_0x3f886b(0xd4)][_0x3f886b(0xb2)](_0x521eca),'name':_0x4b9963,'ranges':_0x22b1e2},_0x1fa5fc=this['cursorInfo'];_0x1fa5fc[_0x3f886b(0x18b)](_0x521eca,_0x10e310),this[_0x3f886b(0xdf)][_0x3f886b(0x1e1)](_0x1fa5fc);}['_onCursorDelete'](_0x41d6f0){const _0x40546c=_0x22b051,{memberID:_0x1753c4}=_0x41d6f0[_0x40546c(0x1a5)],_0x50fcf5=this['cursorInfo'];_0x50fcf5[_0x40546c(0x1a2)](_0x1753c4),this[_0x40546c(0xdf)]['next'](_0x50fcf5);}[_0x22b051(0xc6)](){const _0x3dc3cc=_0x22b051;var _0x5a2eca;if(this[_0x3dc3cc(0xaf)]=!0x0,((_0x5a2eca=this[_0x3dc3cc(0xd1)][_0x3dc3cc(0x127)]())==null?void 0x0:_0x5a2eca[_0x3dc3cc(0x11d)]())!==this['unitID'])return;const _0x57d850=this[_0x3dc3cc(0x1d1)][_0x3dc3cc(0xee)](_0x185b37)[_0x3dc3cc(0x1a4)]();Array[_0x3dc3cc(0x101)](_0x57d850)&&_0x57d850['length']>0x0&&this[_0x3dc3cc(0x10a)](_0x57d850);}['_toggleOffline'](){this['_online']=!0x1;}};Me=di([w(0x2,_0x53179b(_0xf6a735)),w(0x3,_0x53179b(He)),w(0x4,_0x53179b(_0x976673)),w(0x5,_0x53179b(je)),w(0x6,_0x4539c1),w(0x7,_0x194a7a),w(0x8,_0x3eaa36)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x19ff41,_0x4917a2,_0x4d4576,_0x2b055e)=>{for(var _0xeeb2bc=_0x2b055e>0x1?void 0x0:_0x2b055e?mi(_0x4917a2,_0x4d4576):_0x4917a2,_0x109951=_0x19ff41['length']-0x1,_0xde2a;_0x109951>=0x0;_0x109951--)(_0xde2a=_0x19ff41[_0x109951])&&(_0xeeb2bc=_0xde2a(_0xeeb2bc)||_0xeeb2bc);return _0xeeb2bc;},x=(_0x3188e4,_0x53fd00)=>(_0x52eebb,_0xb51dca)=>_0x53fd00(_0x52eebb,_0xb51dca,_0x3188e4);const vi=0x12c,Ii=0x64,pi=()=>{let _0x1c808f=[],_0x1868ea=!0x1;return _0x585af5=>{const _0x4bd2a9=_0x324a;_0x1c808f[_0x4bd2a9(0xa3)](_0x585af5),_0x1868ea||(_0x1868ea=!0x0,setTimeout(()=>{const _0x1ee421=_0x4bd2a9;_0x1c808f[_0x1ee421(0x112)](_0x27c861=>_0x27c861()),_0x1c808f=[],_0x1868ea=!0x1;}));};};let Pe=class extends _0x19057b{constructor(_0xe7d05d,_0x5560a3,_0x5721c2,_0x4f57dd,_0x2949cf,_0x13efd5,_0x1c8023,_0x17e4a8){const _0x3d54e4=_0x22b051;super(),_(this,'_online',!0x1),_(this,_0x3d54e4(0x1c6),!0x1),_(this,'_cursorInfo$',new _0x1e28f7(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x3d54e4(0x2a2),new _0x1e28f7([])),_(this,'roomMembers$',this[_0x3d54e4(0x2a2)][_0x3d54e4(0x26a)](_0x229120(vi))),_(this,_0x3d54e4(0x10a),_0x54f90e((_0x334deb,_0x5388f8)=>{const _0x562ca3=_0x3d54e4,_0x43ff6f={'eventID':_0x473eaa[_0x562ca3(0x25f)],'data':{'unitID':this[_0x562ca3(0x1bf)],'memberID':this['_session'][_0x562ca3(0x106)](),'selection':_0x19e0ae(_0x334deb,_0x5388f8[_0x562ca3(0x10e)])}};this[_0x562ca3(0x1bc)]['send'](_0x43ff6f,this[_0x562ca3(0x1bf)]);},Ii)),(this['unitID']=_0xe7d05d,this[_0x3d54e4(0x1bc)]=_0x5560a3,this[_0x3d54e4(0x1d1)]=_0x5721c2,this[_0x3d54e4(0xd4)]=_0x4f57dd,this[_0x3d54e4(0xe0)]=_0x2949cf,this[_0x3d54e4(0xd1)]=_0x13efd5,this[_0x3d54e4(0xc9)]=_0x1c8023,this[_0x3d54e4(0x214)]=_0x17e4a8);}get[_0x22b051(0x129)](){const _0x22ada6=_0x22b051;return this[_0x22ada6(0xdf)][_0x22ada6(0x295)]();}get[_0x22b051(0x111)](){const _0x29aeb4=_0x22b051;return this[_0x29aeb4(0x2a2)][_0x29aeb4(0x295)]();}[_0x22b051(0x258)](){const _0x5ed4fc=_0x22b051;super['dispose'](),this[_0x5ed4fc(0xdf)][_0x5ed4fc(0x1e1)](new Map()),this['_cursorInfo$'][_0x5ed4fc(0x236)](),this['_roomMembers$']['next']([]),this[_0x5ed4fc(0x2a2)][_0x5ed4fc(0x236)]();}[_0x22b051(0xcf)](){const _0x31cd14=_0x22b051;this[_0x31cd14(0x1c6)]||(this[_0x31cd14(0x1c6)]=!0x0,this['_session'][_0x31cd14(0xb6)][_0x31cd14(0x26a)](_0xd1a528(this[_0x31cd14(0x266)]))['subscribe'](_0x4d4545=>{const _0xbd5a35=_0x31cd14;_0x4d4545===_0x15e2de[_0xbd5a35(0x134)]?this[_0xbd5a35(0xc6)]():this[_0xbd5a35(0x251)]();}),this[_0x31cd14(0x1bc)][_0x31cd14(0x220)][_0x31cd14(0x26a)](_0xd1a528(this['dispose$']))[_0x31cd14(0x2ae)](_0x2452df=>{const _0x67095=_0x31cd14,_0x4f4468=_0x2452df[_0x67095(0x148)];_0x4f4468===_0x473eaa['UPDATE_CURSOR']&&this[_0x67095(0x181)](_0x2452df),_0x4f4468===_0x473eaa[_0x67095(0x116)]&&this[_0x67095(0x229)](_0x2452df);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x31cd14(0xc9)][_0x31cd14(0x292)](_0x5ecc88=>{const _0xd2ff6d=_0x31cd14;if(this[_0xd2ff6d(0xaf)]&&_0x5ecc88['id']===_0x11e0a4['id']&&_0x5ecc88[_0xd2ff6d(0xfe)]['unitId']===this[_0xd2ff6d(0x1bf)]){const _0x1f6c9d=_0x5ecc88[_0xd2ff6d(0xfe)];this[_0xd2ff6d(0x10a)](_0x1f6c9d[_0xd2ff6d(0x216)],_0x1f6c9d[_0xd2ff6d(0x231)][0x0]);}})));}[_0x22b051(0x181)](_0x2098c8){const _0x10a405=_0x22b051;var _0x281b29,_0x27a7d8;const {memberID:_0x35561e,selection:_0x16cae6}=_0x2098c8['data'],{sheetName:_0x176559,range:_0x52d007}=_0x67dccc(_0x16cae6),_0x13c2b7={'name':(_0x27a7d8=(_0x281b29=this['_memberService']['getMember'](this[_0x10a405(0x1bf)],_0x35561e))==null?void 0x0:_0x281b29[_0x10a405(0x252)])!=null?_0x27a7d8:_0x10a405(0xce),'range':this['_getMergeRange'](_0x176559,_0x52d007),'sheetID':_0x176559,'color':this[_0x10a405(0xd4)][_0x10a405(0xb2)](_0x35561e),'selection':_0x16cae6},_0x581a37=this['cursorInfo'];_0x581a37[_0x10a405(0x18b)](_0x35561e,_0x13c2b7),this[_0x10a405(0xdf)][_0x10a405(0x1e1)](_0x581a37);}[_0x22b051(0x229)](_0x496c49){const _0x1bacb2=_0x22b051,{memberID:_0x3dcf2a}=_0x496c49[_0x1bacb2(0x1a5)],_0x536131=this[_0x1bacb2(0x129)];_0x536131['delete'](_0x3dcf2a),this[_0x1bacb2(0xdf)][_0x1bacb2(0x1e1)](_0x536131);}[_0x22b051(0x288)](_0x44fc47,_0x21f9c6){const _0xbc9fbb=_0x22b051;var _0x4f5232,_0x4c8a4b;const _0x17a490=(_0x4c8a4b=(_0x4f5232=this[_0xbc9fbb(0xd1)][_0xbc9fbb(0xf9)](this[_0xbc9fbb(0x1bf)]))==null?void 0x0:_0x4f5232[_0xbc9fbb(0xbf)](_0x44fc47))==null?void 0x0:_0x4c8a4b[_0xbc9fbb(0xda)]();return(_0x17a490==null?void 0x0:_0x17a490['find'](_0x541dc4=>_0x172b12['contains'](_0x541dc4,_0x21f9c6)))||_0x21f9c6;}[_0x22b051(0x128)](){const _0x3cc985=_0x22b051,_0x1a9cd2=new _0x324fcb(),_0x45c71f=pi(),_0xe6f445=()=>{const _0x504e99=_0x324a;_0x1a9cd2[_0x504e99(0x258)]();const _0x123795=(_0x378978,_0x385e2d,_0x3d6263,_0x48941d)=>{const _0x3ee001=_0x504e99;let _0xcbbbff=[];switch(_0x378978['id']){case _0x2e8b93[_0x3ee001(0x25d)]:{_0xcbbbff=_0x3067bb(_0x378978,_0x48941d);break;}case _0x2e8b93['DeleteRangeMoveUpCommandId']:{_0xcbbbff=_0x13c731(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x196)]:{_0xcbbbff=_0x8960b3(_0x378978,_0x48941d);break;}case _0x2e8b93['InsertRangeMoveDownCommandId']:{_0xcbbbff=_0x54ac2e(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1af)]:{_0xcbbbff=_0x5106f6(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x217)]:{_0xcbbbff=_0x2fd8a9(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1fb)]:{_0xcbbbff=_0x4e6433(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1d0)]:{_0xcbbbff=_0xcb9fe9(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x197)]:{_0xcbbbff=_0x1169f9(_0x378978,_0x48941d);break;}}const _0x46c6ce=_0x2a891e(_0xcbbbff,_0x48941d),_0x37b13c=this[_0x3ee001(0x129)][_0x3ee001(0xee)](_0x385e2d);if(_0x37b13c&&_0x46c6ce){const _0x5ad5b9={..._0x37b13c,'range':_0x46c6ce};this[_0x3ee001(0x129)][_0x3ee001(0x18b)](_0x385e2d,_0x5ad5b9),_0x45c71f(()=>{const _0x2dcab3=_0x3ee001,_0x57978d=this[_0x2dcab3(0x214)]['registerRefRange'](_0x46c6ce,_0x5b855e=>(_0x57978d[_0x2dcab3(0x258)](),_0x123795(_0x5b855e,_0x385e2d,_0x3d6263,_0x46c6ce)));_0x1a9cd2[_0x2dcab3(0x19d)](_0x57978d);});}return{'redos':[],'undos':[]};};this[_0x504e99(0x129)]['forEach']((_0x5b7d0e,_0x1680a1)=>{const _0x2f9185=_0x504e99,{range:_0x247762,sheetID:_0x212aa5}=_0x5b7d0e,_0x28a0ff=this['_refRangeService'][_0x2f9185(0xaa)](_0x247762,_0x36fec6=>(_0x28a0ff[_0x2f9185(0x258)](),_0x123795(_0x36fec6,_0x1680a1,_0x212aa5,_0x247762)));_0x1a9cd2[_0x2f9185(0x19d)](_0x28a0ff);});};this['disposeWithMe'](_0x371d01(this['_cursorInfo$'][_0x3cc985(0x2ae)](()=>{_0xe6f445();})));}['_toggleOnline'](){const _0x531e18=_0x22b051;var _0x2bfb5d,_0x35b662;if(this[_0x531e18(0xaf)]=!0x0,((_0x2bfb5d=this[_0x531e18(0xd1)][_0x531e18(0x127)]())==null?void 0x0:_0x2bfb5d[_0x531e18(0x11d)]())!==this[_0x531e18(0x1bf)])return;const _0x11de60=(_0x35b662=this[_0x531e18(0x1d1)][_0x531e18(0xee)](_0x24ccd7)[_0x531e18(0x255)]())==null?void 0x0:_0x35b662[0x0],_0x514ac6=this[_0x531e18(0xd1)][_0x531e18(0x186)](_0x4fbb03['UNIVER_SHEET'])[_0x531e18(0x28a)]();_0x11de60&&_0x514ac6&&this['_updateLocalCursor'](_0x514ac6[_0x531e18(0x115)](),_0x11de60);}[_0x22b051(0x251)](){const _0x716551=_0x22b051;this[_0x716551(0xaf)]=!0x1;}};Pe=gi([x(0x2,_0x53179b(_0xf6a735)),x(0x3,_0x53179b(He)),x(0x4,_0x53179b(_0x976673)),x(0x5,_0x194a7a),x(0x6,_0x3eaa36),x(0x7,_0x53179b(_0x43c622))],Pe);var Ci=Object[_0x22b051(0x28c)],Ei=(_0x222d2b,_0x413454,_0x3d5a93,_0x34f1d4)=>{for(var _0x41eba9=_0x34f1d4>0x1?void 0x0:_0x34f1d4?Ci(_0x413454,_0x3d5a93):_0x413454,_0x250243=_0x222d2b['length']-0x1,_0x2d4f80;_0x250243>=0x0;_0x250243--)(_0x2d4f80=_0x222d2b[_0x250243])&&(_0x41eba9=_0x2d4f80(_0x41eba9)||_0x41eba9);return _0x41eba9;},me=(_0x1ddcc9,_0x3c47bb)=>(_0x25c446,_0x27f60c)=>_0x3c47bb(_0x25c446,_0x27f60c,_0x1ddcc9);let H=class extends _0x19057b{constructor(_0x216dca,_0x194fb9,_0x42fab6){const _0x4f2efc=_0x22b051;super(),_(this,'_entities',new Map()),_(this,_0x4f2efc(0x1cd),new _0x18ab23()),(this[_0x4f2efc(0xd1)]=_0x216dca,this[_0x4f2efc(0x1d1)]=_0x194fb9,this[_0x4f2efc(0x169)]=_0x42fab6,this[_0x4f2efc(0x1c6)]());}[_0x22b051(0x258)](){const _0xae7567=_0x22b051;super[_0xae7567(0x258)](),this['_entityInit$'][_0xae7567(0x236)](),this[_0xae7567(0x167)][_0xae7567(0x112)](_0x5cf151=>_0x5cf151[_0xae7567(0x258)]());}[_0x22b051(0x187)](_0x268949){const _0x48c0fa=_0x22b051;return this[_0x48c0fa(0x167)]['has'](_0x268949)?this['_entities'][_0x48c0fa(0xee)](_0x268949)['cursorInfo$']:this[_0x48c0fa(0x1cd)][_0x48c0fa(0x26a)](_0x4401b0(_0x1d337b=>_0x1d337b[_0x48c0fa(0x1bf)]===_0x268949),_0x12461d(_0x12c39b=>_0x12c39b[_0x48c0fa(0x13d)]));}[_0x22b051(0x1c6)](){const _0x511143=_0x22b051;this[_0x511143(0xd1)][_0x511143(0xf5)](_0x4fbb03[_0x511143(0x1d9)])[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))[_0x511143(0x2ae)](async _0x8eea46=>{const _0x16ca30=_0x511143,_0xb29b3f=_0x8eea46['getUnitId'](),_0x4be630=await this[_0x16ca30(0x1dc)](_0xb29b3f);this[_0x16ca30(0x1cd)][_0x16ca30(0x1e1)](_0x4be630),this['_entities'][_0x16ca30(0x18b)](_0xb29b3f,_0x4be630);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4fbb03[_0x511143(0x23a)])[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))[_0x511143(0x26a)](_0x4401b0(_0x6cd505=>!_0x6cd505[_0x511143(0x11d)]()[_0x511143(0x275)]('__')))[_0x511143(0x2ae)](async _0x522653=>{const _0x4728cc=_0x511143,_0x17ab10=_0x522653[_0x4728cc(0x11d)](),_0x58ccda=await this[_0x4728cc(0x182)](_0x17ab10);this[_0x4728cc(0x1cd)]['next'](_0x58ccda),this[_0x4728cc(0x167)][_0x4728cc(0x18b)](_0x17ab10,_0x58ccda);}),_0x57cf8a(this[_0x511143(0xd1)][_0x511143(0x20e)](_0x4fbb03[_0x511143(0x23a)]),this['_univerInstanceService'][_0x511143(0x20e)](_0x4fbb03['UNIVER_SHEET']))[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))['subscribe'](_0x15649f=>{const _0x33956c=_0x511143,_0xf551a5=_0x15649f[_0x33956c(0x11d)](),_0x32357a=this[_0x33956c(0x167)][_0x33956c(0xee)](_0xf551a5);_0x32357a&&(_0x32357a['dispose'](),this[_0x33956c(0x167)][_0x33956c(0x1a2)](_0xf551a5));});}async[_0x22b051(0x1dc)](_0x99c3e8){const _0x29e50e=_0x22b051,_0x12ac49=await this[_0x29e50e(0x169)]['requireSession'](_0x99c3e8),_0x22c6cb=this[_0x29e50e(0x1d1)][_0x29e50e(0xe4)](Pe,_0x99c3e8,_0x12ac49);return _0x22c6cb[_0x29e50e(0xcf)](),_0x22c6cb;}async[_0x22b051(0x182)](_0x1aa564){const _0x321374=_0x22b051,_0x2561fe=await this[_0x321374(0x169)][_0x321374(0xd9)](_0x1aa564),_0x3d2d86=this[_0x321374(0x1d1)][_0x321374(0xe4)](Me,_0x1aa564,_0x2561fe);return _0x3d2d86['init'](),_0x3d2d86;}};H=Ei([me(0x0,_0x194a7a),me(0x1,_0x53179b(_0xf6a735)),me(0x2,_0x53179b(_0x44f692))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x31d642,_0xb9dc62){const _0x16181c=_0x22b051;let {radius:_0x420637,width:_0x5a227f,height:_0x8fe0e}=_0xb9dc62;_0x420637=_0x420637!=null?_0x420637:0x0,_0x5a227f=_0x5a227f!=null?_0x5a227f:0x1e,_0x8fe0e=_0x8fe0e!=null?_0x8fe0e:0x1e;let _0x454af4=0x0,_0x2121fe=0x0,_0x44e772=0x0;_0x454af4=_0x2121fe=_0x44e772=Math[_0x16181c(0x25e)](_0x420637,_0x5a227f/0x2,_0x8fe0e/0x2),_0x31d642[_0x16181c(0x297)](),_0x31d642[_0x16181c(0x1b7)](_0x454af4,0x0),_0x31d642[_0x16181c(0x1e0)](_0x5a227f-_0x2121fe,0x0),_0x31d642['arc'](_0x5a227f-_0x2121fe,_0x2121fe,_0x2121fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x31d642[_0x16181c(0x1e0)](_0x5a227f,_0x8fe0e-_0x44e772),_0x31d642[_0x16181c(0xf4)](_0x5a227f-_0x44e772,_0x8fe0e-_0x44e772,_0x44e772,0x0,Math['PI']/0x2,!0x1),_0x31d642[_0x16181c(0x1e0)](0x0,_0x8fe0e),_0x31d642[_0x16181c(0x1e0)](0x0,_0x454af4),_0x31d642[_0x16181c(0xf4)](_0x454af4,_0x454af4,_0x454af4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x31d642[_0x16181c(0x118)](),_0xb9dc62[_0x16181c(0x102)]&&(_0x31d642[_0x16181c(0x1e7)](),_0x31d642[_0x16181c(0x147)]=_0xb9dc62[_0x16181c(0x102)],_0xb9dc62[_0x16181c(0x14d)]==='evenodd'?_0x31d642['fill'](_0x16181c(0x123)):_0x31d642[_0x16181c(0x102)](),_0x31d642[_0x16181c(0x176)]());}class ue extends _0x300c6f{constructor(_0x3c0519,_0x2a47ce){const _0x3c524b=_0x22b051;super(_0x3c0519,_0x2a47ce),_(this,_0x3c524b(0x154)),_(this,_0x3c524b(0x265)),(this[_0x3c524b(0x154)]=_0x2a47ce==null?void 0x0:_0x2a47ce[_0x3c524b(0x154)],this[_0x3c524b(0x265)]=_0x2a47ce==null?void 0x0:_0x2a47ce['text']);}static['drawWith'](_0x2c1828,_0x16bd8c){const _0x9beb61=_0x22b051,{text:_0x41c9d8,color:_0x45901c}=_0x16bd8c;_0x2c1828['save'](),_0x2c1828['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4066d8=_0x2c1828['measureText'](_0x41c9d8)['width'],_0x1086c9=Math[_0x9beb61(0x25e)](_0x4066d8+0x2*ge,et);Oi(_0x2c1828,{'height':te,'radius':0x4,'width':_0x1086c9,'fill':_0x45901c}),_0x2c1828[_0x9beb61(0x147)]=_0x9beb61(0x263);const _0x3430f4=ge,_0x5f3857=te-bi,_0x4ff25a=et-0x2*ge;if(_0x4066d8>_0x4ff25a){let _0x33d2b6='',_0x30129f=0x0;for(const _0x178e18 of _0x41c9d8){const _0x4096c7=_0x2c1828[_0x9beb61(0xf7)](_0x178e18)[_0x9beb61(0x1db)];if(_0x30129f+_0x4096c7<=_0x4ff25a-_0x2c1828['measureText'](_0x9beb61(0x17e))[_0x9beb61(0x1db)])_0x33d2b6+=_0x178e18,_0x30129f+=_0x4096c7;else{_0x33d2b6+='...';break;}}_0x2c1828['fillText'](_0x33d2b6,_0x3430f4,_0x5f3857);}else _0x2c1828[_0x9beb61(0x208)](_0x41c9d8,_0x3430f4,_0x5f3857);_0x2c1828['restore']();}['_draw'](_0x1da86b){const _0x2a5db1=_0x22b051;ue[_0x2a5db1(0x27d)](_0x1da86b,this);}}const ve='collab-text-anchor-',Ti=_0x22b051(0xfa),Ri=_0x22b051(0x2ac),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x22b051(0x203);class tt{constructor(_0x4976e8,_0xe2031,_0x445beb,_0x71b903){const _0x4668f5=_0x22b051;_(this,_0x4668f5(0x29c),[]),_(this,'_anchor',null),_(this,_0x4668f5(0x163),null),_(this,_0x4668f5(0x22d),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x4668f5(0x15b)]=_0x4976e8,this[_0x4668f5(0x199)]=_0xe2031,this[_0x4668f5(0x27a)]=_0x445beb,this[_0x4668f5(0x23d)]=_0x71b903,this[_0x4668f5(0x2a6)]());}set[_0x22b051(0x139)](_0x2b58dc){const _0x47d222=_0x22b051;_0x2b58dc?(this[_0x47d222(0x22d)]&&this[_0x47d222(0x22d)][_0x47d222(0x22a)](),this[_0x47d222(0x163)]&&this[_0x47d222(0x163)][_0x47d222(0x1b4)]()):(this[_0x47d222(0x22d)]&&this[_0x47d222(0x22d)]['show'](),this[_0x47d222(0x163)]&&this[_0x47d222(0x163)][_0x47d222(0x22a)]());}['dispose'](){const _0xc43611=_0x22b051;for(const _0x292427 of this[_0xc43611(0x29c)])_0x292427[_0xc43611(0x258)]();this[_0xc43611(0x163)]&&this['_textBubble']['dispose'](),this[_0xc43611(0x22d)]&&this[_0xc43611(0x22d)][_0xc43611(0x258)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0xc43611(0x274)]&&this[_0xc43611(0x274)]();}[_0x22b051(0x2a6)](){const _0x3e1902=_0x22b051;var _0x20df0e;const {_docSkeleton:_0x452214,_document:_0x8c1c89}=this,{color:_0x3b0695,name:_0xf688ea,ranges:_0x20b06b}=this[_0x3e1902(0x15b)],_0xea1f2f=_0x8c1c89[_0x3e1902(0x1b3)](),{docsLeft:_0x38bd47,docsTop:_0x22c2a}=_0xea1f2f,_0x2856d0=new _0x2b0dc9(_0xea1f2f,_0x452214);for(const {startOffset:_0x28b425,endOffset:_0x2aa450,rangeType:_0x41d800,segmentId:_0x345f2b,segmentPage:_0x3bc0,collapsed:_0x3ad121,isActive:_0x3575f0}of _0x20b06b){const _0x25746f=_0x452214['findNodePositionByCharIndex'](_0x28b425,!0x0,_0x345f2b,_0x3bc0);let _0x578347=_0x452214[_0x3e1902(0x1ea)](_0x2aa450,!0x0,_0x345f2b,_0x3bc0);if(_0x578347==null&&(_0x578347=_0x452214['findNodePositionByCharIndex'](_0x2aa450-0x1,!0x1,_0x345f2b,_0x3bc0)),_0x3575f0){const {contentBoxPointGroup:_0x1233f0}=_0x2856d0[_0x3e1902(0x253)](_0x578347,_0x578347);if(_0x1233f0[_0x3e1902(0x1de)]===0x0)continue;this[_0x3e1902(0x219)](_0x3b0695,_0x1233f0,_0x38bd47,_0x22c2a,_0xf688ea),this['_eventUnsubscribe']=this[_0x3e1902(0xc2)]();}if(_0x25746f&&_0x578347){if(_0x41d800===_0x312804[_0x3e1902(0x21f)]){const _0x7d31b5=new _0x2af528(_0xea1f2f,_0x452214),{pointGroup:_0x658e57}=(_0x20df0e=_0x7d31b5[_0x3e1902(0x253)](_0x25746f,_0x578347))!=null?_0x20df0e:{};if(_0x658e57==null||_0x658e57[_0x3e1902(0x1de)]===0x0)continue;this['_drawRectRange'](_0x3b0695,_0x658e57,_0x38bd47,_0x22c2a);}else{if(!_0x3ad121){const {borderBoxPointGroup:_0x3662cc}=_0x2856d0['getRangePointData'](_0x25746f,_0x578347);if(_0x3662cc[_0x3e1902(0x1de)]===0x0)continue;this[_0x3e1902(0x261)](_0x3b0695,_0x3662cc,_0x38bd47,_0x22c2a);}}}}}['_drawAnchor'](_0x17a2fe,_0xcf8355,_0x177aea,_0x13ad8f,_0x227d97){const _0x3698fe=_0x22b051,_0x4dc9c2=this[_0x3698fe(0x18c)](_0xcf8355),{left:_0x2723ee,top:_0x250108,height:_0x2c51ea}=_0x4dc9c2,_0x4ae2ea=this[_0x3698fe(0xed)](),_0x34677c=Ni/_0x4ae2ea,_0x5d66af=new _0x5039c7(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f,'height':_0x2c51ea,'width':Di,'fill':_0x17a2fe||_0x5cee14(_0x94f338['black'],0x0),'strokeWidth':_0x34677c,'stroke':Ui,'evented':!0x0});this[_0x3698fe(0x178)]=_0x5d66af,this[_0x3698fe(0x199)][_0x3698fe(0x22b)](_0x5d66af,_0x5f46a2);const _0x4b1c41=new _0x5039c7(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x17a2fe||_0x5cee14(_0x94f338[_0x3698fe(0xd0)],0x0),'strokeWidth':0x0,'stroke':_0x17a2fe||_0x5cee14(_0x94f338[_0x3698fe(0xd0)],0x0),'evented':!0x1});this[_0x3698fe(0x22d)]=_0x4b1c41,this[_0x3698fe(0x199)]['addObject'](_0x4b1c41,_0x5f46a2);const _0x3d7b1c=new ue(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f-te,'text':_0x227d97,'color':_0x17a2fe});this[_0x3698fe(0x163)]=_0x3d7b1c,this[_0x3698fe(0x199)][_0x3698fe(0x22b)](_0x3d7b1c,_0x5f46a2),this[_0x3698fe(0x139)]=!0x1;}[_0x22b051(0xc2)](){const _0x1d77ff=_0x22b051,_0x29da99=this[_0x1d77ff(0x178)][_0x1d77ff(0x230)][_0x1d77ff(0x256)](()=>{const _0x436497=_0x1d77ff;this[_0x436497(0x139)]=!0x0;}),_0xa7fd2d=this['_anchor'][_0x1d77ff(0x1ab)]['subscribeEvent'](()=>{const _0x3f814e=_0x1d77ff;this[_0x3f814e(0x270)]&&clearTimeout(this[_0x3f814e(0x270)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5bd643=_0x1d77ff;_0x29da99[_0x5bd643(0x209)](),_0xa7fd2d[_0x5bd643(0x209)]();};}['_drawTextRange'](_0x399ecd,_0x1b7d9e,_0x5b9717,_0xfb1511){const _0x34b293=_0x22b051,_0x55acc3=new _0x27725d(_0x399ecd)[_0x34b293(0x280)](0.2)[_0x34b293(0x221)](),_0x2ae2d7=new _0x26cd77(Ti+_0x2c3576[_0x34b293(0x2a0)](X),{'pointsGroup':_0x1b7d9e,'fill':_0x55acc3||_0x5cee14(_0x94f338['black'],0.2),'left':_0x5b9717,'top':_0xfb1511,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x34b293(0xa3)](_0x2ae2d7),this['_scene'][_0x34b293(0x22b)](_0x2ae2d7,_0x5f46a2);}[_0x22b051(0x1c2)](_0x108900,_0x3b4c92,_0xe50e38,_0x343b5c){const _0x2169df=_0x22b051,_0x565337=new _0x27725d(_0x108900)[_0x2169df(0x280)](0.2)[_0x2169df(0x221)](),_0x42cbd7=new _0x26cd77(Ri+_0x2c3576['generateRandomId'](X),{'pointsGroup':_0x3b4c92,'fill':_0x565337||_0x5cee14(_0x94f338[_0x2169df(0xd0)],0.2),'left':_0xe50e38,'top':_0x343b5c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2169df(0x29c)]['push'](_0x42cbd7),this[_0x2169df(0x199)][_0x2169df(0x22b)](_0x42cbd7,_0x5f46a2);}[_0x22b051(0x18c)](_0x984828){const _0x4ad300=_0x984828[0x0],_0x85dd96=_0x4ad300[0x0],_0x4dc1c1=_0x4ad300[0x2],{x:_0x37f71c,y:_0x2a7259}=_0x85dd96,{x:_0x10d1b8,y:_0x3426df}=_0x4dc1c1;return{'left':_0x37f71c,'top':_0x2a7259,'width':_0x10d1b8-_0x37f71c,'height':_0x3426df-_0x2a7259};}[_0x22b051(0xed)](){const _0xe5c72b=_0x22b051,{scaleX:_0x143b72,scaleY:_0xe54b13}=this['_scene'][_0xe5c72b(0xc5)]();return Math['max'](_0x143b72,_0xe54b13);}}var Mi=Object[_0x22b051(0x28c)],Pi=(_0x50fbdc,_0x1590ca,_0x3229ed,_0x19b4aa)=>{const _0x25f32a=_0x22b051;for(var _0x433f1e=_0x19b4aa>0x1?void 0x0:_0x19b4aa?Mi(_0x1590ca,_0x3229ed):_0x1590ca,_0x751165=_0x50fbdc[_0x25f32a(0x1de)]-0x1,_0x160a1c;_0x751165>=0x0;_0x751165--)(_0x160a1c=_0x50fbdc[_0x751165])&&(_0x433f1e=_0x160a1c(_0x433f1e)||_0x433f1e);return _0x433f1e;},Q=(_0x587bf7,_0x51b067)=>(_0x27b5ba,_0x11f83e)=>_0x51b067(_0x27b5ba,_0x11f83e,_0x587bf7);let we=class extends _0x19057b{constructor(_0x3b3608,_0x144bea,_0x29b0c4,_0x49c61c,_0x45a464){const _0x112b47=_0x22b051;super(),_(this,'_cursorShapes',[]),_(this,_0x112b47(0x12d),[]),(this[_0x112b47(0x20d)]=_0x3b3608,this['_docSkeletonManagerService']=_0x144bea,this[_0x112b47(0x237)]=_0x29b0c4,this['_commandService']=_0x49c61c,this['_themeService']=_0x45a464,this[_0x112b47(0x1c6)]());}[_0x22b051(0x1c6)](){const _0x23125b=_0x22b051,_0x58e7c2=this[_0x23125b(0x20d)]['unitId'],_0x259462=this[_0x23125b(0x1df)];this[_0x23125b(0x16f)](_0x532813([this[_0x23125b(0x237)][_0x23125b(0x187)](_0x58e7c2),this[_0x23125b(0x15d)][_0x23125b(0x2ad)]])[_0x23125b(0x26a)](_0x1f0a3(([_0x40a44e,_0x1a6388])=>({'skeleton':_0x259462[_0x23125b(0x20c)](),'cursors':[..._0x40a44e[_0x23125b(0x200)]()][_0x23125b(0x192)](_0x38de3c=>({..._0x38de3c,'color':_0x1a6388[_0x38de3c[_0x23125b(0x154)]]}))})))[_0x23125b(0x2ae)](_0x379856=>{const _0x3da3ee=_0x23125b;if(this[_0x3da3ee(0x1ae)](),_0x379856){const {skeleton:_0x367b55,cursors:_0x1bd0f8}=_0x379856;this['_updateCollabCursors'](_0x367b55,_0x1bd0f8);}})),this[_0x23125b(0x105)](),this[_0x23125b(0x21a)]();}[_0x22b051(0x24d)](_0xca960c,_0x292202){const _0x3ecb7b=_0x22b051,{scene:_0x307e45,mainComponent:_0x2d2a47}=this[_0x3ecb7b(0x20d)],_0xf94657=_0x292202[_0x3ecb7b(0x10f)](_0xc53e98=>new tt(_0xc53e98,_0x307e45,_0xca960c,_0x2d2a47));this[_0x3ecb7b(0x1e9)]=_0xf94657,this[_0x3ecb7b(0x12d)]=_0x292202;}[_0x22b051(0xd2)](){const _0x5dc04c=_0x22b051;this['_removeCollabCursors']();const {scene:_0x22fe14,mainComponent:_0x2625d3}=this[_0x5dc04c(0x20d)],_0x4b762=this['_docSkeletonManagerService'][_0x5dc04c(0x20c)](),_0x20b5b3=this[_0x5dc04c(0x12d)][_0x5dc04c(0x10f)](_0x5df0a6=>new tt(_0x5df0a6,_0x22fe14,_0x4b762,_0x2625d3));this[_0x5dc04c(0x1e9)]=_0x20b5b3;}[_0x22b051(0x1ae)](){const _0x387e65=_0x22b051;this['_cursorShapes']['forEach'](_0x968430=>_0x968430[_0x387e65(0x258)]()),this[_0x387e65(0x1e9)]=[];}[_0x22b051(0x21a)](){const _0x4cc31c=_0x22b051,_0x586523=[_0x2ffc35['id']];this[_0x4cc31c(0x16f)](this[_0x4cc31c(0xc9)][_0x4cc31c(0x292)](_0x2c10eb=>{const _0x199bc4=_0x4cc31c;_0x586523['includes'](_0x2c10eb['id'])&&_0x2c10eb[_0x199bc4(0xfe)][_0x199bc4(0x2ab)]===this[_0x199bc4(0x20d)][_0x199bc4(0x2ab)]&&this['_refreshCollabCursors']();}));}[_0x22b051(0x105)](){const _0x4a9889=_0x22b051;this[_0x4a9889(0x16f)](_0x32bb49(this[_0x4a9889(0x20d)][_0x4a9889(0x161)]['onTransformChange$'])['pipe'](_0x11195c(_0xa105c7=>_0xa105c7[_0x4a9889(0x1f7)]===_0x66f921['resize']),_0x3e6388(0x10))[_0x4a9889(0x2ae)](()=>{const _0x37a3a4=_0x4a9889;this[_0x37a3a4(0xd2)]();}));}};we=Pi([Q(0x1,_0x53179b(_0x4b4f76)),Q(0x2,_0x53179b(H)),Q(0x3,_0x3eaa36),Q(0x4,_0x53179b(_0x546d83))],we);const wi=0x1,Li=1.5;class Ai extends _0x300c6f{constructor(_0x58dab5,_0x383ce6){const _0x4a2693=_0x22b051;super(_0x58dab5,_0x383ce6),_(this,_0x4a2693(0x15e)),_(this,_0x4a2693(0xf2),!0x1),_(this,_0x4a2693(0x177)),_(this,_0x4a2693(0x267),''),_(this,_0x4a2693(0x191),_0x4a2693(0x180)),_(this,_0x4a2693(0x224)),(_0x383ce6&&this[_0x4a2693(0xa8)](_0x383ce6),this['onPointerEnter$'][_0x4a2693(0x256)](()=>this[_0x4a2693(0xa8)]({'hovered':!0x0})),this[_0x4a2693(0x1ab)][_0x4a2693(0x256)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x319f5e){const _0x4ea1e0=_0x22b051;var _0x12f1a3,_0x3c76af,_0x300a7c,_0x48ecee,_0x36b36b,_0x4ac5ec;this[_0x4ea1e0(0x15e)]=(_0x12f1a3=_0x319f5e[_0x4ea1e0(0x154)])!=null?_0x12f1a3:this[_0x4ea1e0(0x15e)],this[_0x4ea1e0(0xf2)]=(_0x3c76af=_0x319f5e[_0x4ea1e0(0xd7)])!=null?_0x3c76af:this[_0x4ea1e0(0xf2)],this[_0x4ea1e0(0x177)]=(_0x300a7c=_0x319f5e[_0x4ea1e0(0x10e)])!=null?_0x300a7c:this[_0x4ea1e0(0x177)],this['_name']=(_0x48ecee=_0x319f5e['name'])!=null?_0x48ecee:this[_0x4ea1e0(0x267)],this['_labelPosition']=(_0x36b36b=_0x319f5e[_0x4ea1e0(0x22c)])!=null?_0x36b36b:this[_0x4ea1e0(0x191)],this['_backgroundColor']=(_0x4ac5ec=_0x319f5e[_0x4ea1e0(0xec)])!=null?_0x4ac5ec:this['_backgroundColor'],this[_0x4ea1e0(0x14e)]({'width':_0x319f5e['width'],'height':_0x319f5e[_0x4ea1e0(0x2a3)]});}['onMouseMove'](_0x49f083){const _0x5049aa=_0x22b051,{row:_0x22f878,column:_0x54a16b}=_0x49f083;if(_0x22f878>=this[_0x5049aa(0x177)]['startRow']&&_0x22f878<=this[_0x5049aa(0x177)][_0x5049aa(0x27f)]&&_0x54a16b>=this['_range']['startColumn']&&_0x54a16b<=this['_range'][_0x5049aa(0x143)]){this[_0x5049aa(0xa8)]({'hovered':!0x0});return;}this[_0x5049aa(0xa8)]({'hovered':!0x1});}[_0x22b051(0x193)](_0x2ede3a){return!0x1;}[_0x22b051(0x248)](_0x1095f5){const _0x20ff89=_0x22b051;_0x5039c7['drawWith'](_0x1095f5,{'width':this[_0x20ff89(0x1db)],'height':this[_0x20ff89(0x2a3)],'strokeWidth':Li,'stroke':this[_0x20ff89(0x15e)],'evented':!0x1,'fill':this[_0x20ff89(0x224)]}),this[_0x20ff89(0xf2)]&&(_0x1095f5[_0x20ff89(0x1e7)](),_0x1095f5[_0x20ff89(0xd6)](0x1,0x0,0x0,0x1,this[_0x20ff89(0x1db)],this['_labelPosition']===_0x20ff89(0x109)?0x0:-0x14),ue[_0x20ff89(0x27d)](_0x1095f5,{'text':this[_0x20ff89(0x267)],'color':this[_0x20ff89(0x15e)]}),_0x1095f5[_0x20ff89(0x176)]());}}var yi=Object[_0x22b051(0x28c)],$i=(_0x28038c,_0x36d794,_0x49372c,_0x30f0e1)=>{for(var _0x3054fa=_0x30f0e1>0x1?void 0x0:_0x30f0e1?yi(_0x36d794,_0x49372c):_0x36d794,_0x377541=_0x28038c['length']-0x1,_0x1e4013;_0x377541>=0x0;_0x377541--)(_0x1e4013=_0x28038c[_0x377541])&&(_0x3054fa=_0x1e4013(_0x3054fa)||_0x3054fa);return _0x3054fa;},pe=(_0x204b3c,_0x3c8060)=>(_0x500c8d,_0x5ebd88)=>_0x3c8060(_0x500c8d,_0x5ebd88,_0x204b3c);const xi=0x1389;let Le=class extends _0x19057b{constructor(_0x5530b4,_0x1b626e,_0x979d80,_0x120ba6){const _0x18c0ab=_0x22b051;super(),_(this,_0x18c0ab(0x12d),new Set()),_(this,'_lastPointer',null),(this[_0x18c0ab(0x20d)]=_0x5530b4,this[_0x18c0ab(0x1b5)]=_0x1b626e,this[_0x18c0ab(0x237)]=_0x979d80,this['_themeService']=_0x120ba6,this['_init']());}[_0x22b051(0x1c6)](){const _0x59099b=_0x22b051;this[_0x59099b(0x1b5)][_0x59099b(0x195)][_0x59099b(0x26a)](_0x59d6d4(this[_0x59099b(0x266)]),_0x5fc321(_0x3867fc=>{const _0x221e32=_0x59099b;if(_0x3867fc){const _0x36e510=_0x3867fc[_0x221e32(0x198)];return _0x532813(this[_0x221e32(0x237)][_0x221e32(0x187)](this[_0x221e32(0x20d)][_0x221e32(0x2ab)]),this['_themeService'][_0x221e32(0x2ad)])[_0x221e32(0x26a)](_0x1f0a3(([_0x44d420,_0x3358c2])=>{const _0x2d0af0=_0x221e32,_0x6f4684=new Map();return _0x44d420[_0x2d0af0(0x112)]((_0x4f1f35,_0x65d4ab)=>{const _0x5eb83c=_0x2d0af0;if(_0x4f1f35['sheetID']===_0x36e510){const _0x439188={..._0x4f1f35};_0x439188[_0x5eb83c(0x154)]=_0x3358c2[_0x4f1f35[_0x5eb83c(0x154)]],_0x6f4684[_0x5eb83c(0x18b)](_0x65d4ab,_0x439188);}}),{'skeleton':_0x3867fc,'cursors':_0x6f4684};}));}return _0x4bd7e6({'skeleton':null,'cursors':new Map()});}))[_0x59099b(0x2ae)](({skeleton:_0x5385db,cursors:_0x5b9702})=>{const _0x5680a2=_0x59099b;this['_removeCollabCursors'](),_0x5385db&&this[_0x5680a2(0x24d)](_0x5385db,_0x5b9702);}),this[_0x59099b(0x1b5)][_0x59099b(0x195)][_0x59099b(0x2ae)](_0x55ae3c=>{const _0x4521c0=_0x59099b;if(_0x55ae3c==null)return;const {skeleton:_0x58bc11}=_0x55ae3c,{scene:_0x3c037e}=this[_0x4521c0(0x20d)];_0x3c037e[_0x4521c0(0x26c)][_0x4521c0(0x256)](_0x54f90e(_0x1dd8ad=>{const _0x5458eb=_0x4521c0;var _0x18fd49,_0x120227;const {offsetX:_0x1343c4,offsetY:_0x42b5f1}=_0x1dd8ad,{x:_0x5879a7,y:_0x171a25}=_0x3c037e[_0x5458eb(0x206)](_0x569a4e[_0x5458eb(0x26f)]([_0x1343c4,_0x42b5f1])),{scaleX:_0x2733ad,scaleY:_0x57b8d6}=_0x3c037e[_0x5458eb(0xc5)](),_0x31fb27=_0x3c037e[_0x5458eb(0x1ed)](_0x566583[_0x5458eb(0x100)]),_0x112508=_0x3c037e['getVpScrollXYInfoByPosToVp'](_0x569a4e[_0x5458eb(0x26f)]([_0x5879a7,_0x171a25]),_0x31fb27),_0x1e150b=_0x58bc11[_0x5458eb(0x291)](_0x1343c4,_0x42b5f1,_0x2733ad,_0x57b8d6,_0x112508);((_0x18fd49=this[_0x5458eb(0x137)])==null?void 0x0:_0x18fd49[_0x5458eb(0xc8)])===_0x1e150b['column']&&((_0x120227=this['_lastPointer'])==null?void 0x0:_0x120227[_0x5458eb(0x155)])===_0x1e150b[_0x5458eb(0x155)]||this[_0x5458eb(0x12d)]['forEach'](_0x1d623c=>{_0x1d623c['onMouseMove'](_0x1e150b);});},0x64));});}[_0x22b051(0x24d)](_0x11cf73,_0x582ec7){const _0x100fc9=_0x22b051;var _0x13f9e7;const _0x43d909=(_0x13f9e7=this[_0x100fc9(0x1b5)]['getCurrent']())==null?void 0x0:_0x13f9e7[_0x100fc9(0x11e)];if(!_0x43d909)return;const _0x4cbb95=this['_getSheetObject']();if(!_0x4cbb95)return;this[_0x100fc9(0x12d)][_0x100fc9(0x112)](_0x4155fa=>{const _0x5427a6=_0x100fc9;_0x4155fa[_0x5427a6(0x1c8)]();});const {scene:_0x282162}=_0x4cbb95,_0x5d578d=Bi(Array['from'](_0x582ec7['values']()))['map'](_0x332401=>{const _0x91590e=_0x100fc9,{color:_0x4f6305,range:_0x3f745a,name:_0x52ff82,selection:_0x4ff561,sheetID:_0x53b82f}=_0x332401,{startColumn:_0x9ef7d3,startRow:_0x531f44,endColumn:_0x1637ca,endRow:_0x3784f6}=_0x3f745a,_0x2e69d2=_0x33f9de(_0x531f44,_0x9ef7d3,_0x282162,_0x43d909),_0x556e8f=_0x33f9de(_0x3784f6,_0x1637ca,_0x282162,_0x43d909),{columnHeaderHeightAndMarginTop:_0x5d5a13}=_0x43d909,{startX:_0x329a12,startY:_0x15246f}=_0x2e69d2,{endX:_0x2fd5ec,endY:_0x36953c}=_0x556e8f,_0x464009=_0x2fd5ec-_0x329a12,_0x556fd8=_0x36953c-_0x15246f,_0x54fd01={'labelPosition':_0x15246f-_0x5d5a13>=te?_0x91590e(0x180):_0x91590e(0x109),'sheetID':_0x53b82f,'range':_0x3f745a,'color':_0x4f6305,'name':_0x52ff82,'selection':_0x4ff561,'left':_0x329a12,'top':_0x15246f,'width':_0x464009,'height':_0x556fd8,'evented':!0x1,'zIndex':xi};return new Ai(_0x52ff82,_0x54fd01);});_0x282162[_0x100fc9(0x157)](_0x5d578d,wi),this['_cursors']=new Set(_0x5d578d);}[_0x22b051(0x1ae)](){const _0x467d94=_0x22b051;var _0x161905;(_0x161905=this['_cursors'])==null||_0x161905[_0x467d94(0x112)](_0x545696=>_0x545696[_0x467d94(0x258)]());}['_getSheetObject'](){const _0x4ccf17=_0x22b051;return _0x458bfe(this['_context'][_0x4ccf17(0x286)],this['_context']);}};Le=$i([pe(0x1,_0x53179b(_0xabf3d0)),pe(0x2,_0x53179b(H)),pe(0x3,_0x53179b(_0x546d83))],Le);function Bi(_0x117618){const _0x206b4d=_0x22b051,_0x4ea1fa=new Map();return _0x117618['forEach'](_0x310daf=>{const _0xf47b87=_0x324a;if(_0x4ea1fa[_0xf47b87(0x25a)](_0x310daf[_0xf47b87(0x24c)])){const _0x3c792d=_0x4ea1fa[_0xf47b87(0xee)](_0x310daf[_0xf47b87(0x24c)]);_0x3c792d[_0xf47b87(0x252)]+=',\x20'+_0x310daf[_0xf47b87(0x252)];}else _0x4ea1fa[_0xf47b87(0x18b)](_0x310daf['selection'],_0x310daf);}),Array[_0x206b4d(0x20f)](_0x4ea1fa[_0x206b4d(0x200)]());}var I=function(){const _0x334314=_0x22b051;return I=Object[_0x334314(0x151)]||function(_0x2599f3){const _0x237eda=_0x334314;for(var _0x4d1756,_0x488b0f=0x1,_0x4e90c7=arguments[_0x237eda(0x1de)];_0x488b0f<_0x4e90c7;_0x488b0f++){_0x4d1756=arguments[_0x488b0f];for(var _0x1a7ee3 in _0x4d1756)Object[_0x237eda(0x26d)][_0x237eda(0xc0)][_0x237eda(0xcc)](_0x4d1756,_0x1a7ee3)&&(_0x2599f3[_0x1a7ee3]=_0x4d1756[_0x1a7ee3]);}return _0x2599f3;},I['apply'](this,arguments);},ki=function(_0x15a92a,_0x308207){const _0x548a8a=_0x22b051;var _0x4d28c7={};for(var _0x2c44a1 in _0x15a92a)Object['prototype'][_0x548a8a(0xc0)]['call'](_0x15a92a,_0x2c44a1)&&_0x308207[_0x548a8a(0x1c4)](_0x2c44a1)<0x0&&(_0x4d28c7[_0x2c44a1]=_0x15a92a[_0x2c44a1]);if(_0x15a92a!=null&&typeof Object[_0x548a8a(0x185)]=='function'){for(var _0x496d9d=0x0,_0x2c44a1=Object[_0x548a8a(0x185)](_0x15a92a);_0x496d9d<_0x2c44a1[_0x548a8a(0x1de)];_0x496d9d++)_0x308207[_0x548a8a(0x1c4)](_0x2c44a1[_0x496d9d])<0x0&&Object[_0x548a8a(0x26d)][_0x548a8a(0xb8)][_0x548a8a(0xcc)](_0x15a92a,_0x2c44a1[_0x496d9d])&&(_0x4d28c7[_0x2c44a1[_0x496d9d]]=_0x15a92a[_0x2c44a1[_0x496d9d]]);}return _0x4d28c7;},We=_0x5e11a0(function(_0xb9750a,_0x41d58f){const _0x5b9ec6=_0x22b051;var _0x479984=_0xb9750a[_0x5b9ec6(0x298)],_0x147102=_0xb9750a['id'],_0x3e0c1a=_0xb9750a[_0x5b9ec6(0x1cb)],_0x10bcfd=_0xb9750a[_0x5b9ec6(0x18f)],_0x52b3e=ki(_0xb9750a,['icon','id','className',_0x5b9ec6(0x18f)]),_0x4d9629=_0x5b9ec6(0x27b)[_0x5b9ec6(0xe1)](_0x147102,'\x20')[_0x5b9ec6(0xe1)](_0x3e0c1a||'')[_0x5b9ec6(0x1d8)](),_0x54c3c3=_0x52c021('_'['concat'](Wi()));return Nt(_0x479984,''[_0x5b9ec6(0xe1)](_0x147102),{'defIds':_0x479984['defIds'],'idSuffix':_0x54c3c3[_0x5b9ec6(0x136)]},I({'ref':_0x41d58f,'className':_0x4d9629},_0x52b3e),_0x10bcfd);});function Nt(_0x4ddc54,_0x154be7,_0x2d8cd4,_0x497cdf,_0x2b4991){const _0x4bdc63=_0x22b051;return _0x28baf7(_0x4ddc54[_0x4bdc63(0x1f3)],I(I({'key':_0x154be7},Hi(_0x4ddc54,_0x2d8cd4,_0x2b4991)),_0x497cdf),(ji(_0x4ddc54,_0x2d8cd4)[_0x4bdc63(0x162)]||[])[_0x4bdc63(0x10f)](function(_0x25ae67,_0x1daee2){const _0x34b69d=_0x4bdc63;return Nt(_0x25ae67,''['concat'](_0x154be7,'-')['concat'](_0x4ddc54[_0x34b69d(0x1f3)],'-')[_0x34b69d(0xe1)](_0x1daee2),_0x2d8cd4,void 0x0,_0x2b4991);}));}function Hi(_0x74d3a4,_0x401107,_0xcba6c){const _0x22d517=_0x22b051;var _0x1bbff3=I({},_0x74d3a4[_0x22d517(0x272)]);_0xcba6c!=null&&_0xcba6c[_0x22d517(0x156)]&&_0x1bbff3['fill']==='colorChannel1'&&(_0x1bbff3[_0x22d517(0x102)]=_0xcba6c['colorChannel1']),_0x74d3a4[_0x22d517(0x1f3)]===_0x22d517(0x23f)&&_0x1bbff3['id']&&(_0x1bbff3['id']=_0x1bbff3['id']+_0x401107[_0x22d517(0xb9)]),Object['entries'](_0x1bbff3)['forEach'](function(_0x235e1d){const _0x2761e5=_0x22d517;var _0x155998=_0x235e1d[0x0],_0x573d9e=_0x235e1d[0x1];_0x155998===_0x2761e5(0x23f)&&typeof _0x573d9e=='string'&&(_0x1bbff3[_0x155998]=_0x573d9e[_0x2761e5(0xeb)](/url\(#(.*)\)/,_0x2761e5(0x1d7)['concat'](_0x401107[_0x2761e5(0xb9)],')')));});var _0x5bdaf3=_0x401107[_0x22d517(0x1e6)];return!_0x5bdaf3||_0x5bdaf3['length']===0x0||(_0x74d3a4[_0x22d517(0x1f3)]===_0x22d517(0x1ac)&&_0x1bbff3[_0x22d517(0xb3)]&&(_0x1bbff3[_0x22d517(0xb3)]=_0x1bbff3[_0x22d517(0xb3)]+_0x401107['idSuffix']),Object['entries'](_0x1bbff3)[_0x22d517(0x112)](function(_0x41f219){const _0x1f153e=_0x22d517;var _0xed899c=_0x41f219[0x0],_0x462dda=_0x41f219[0x1];typeof _0x462dda=='string'&&(_0x1bbff3[_0xed899c]=_0x462dda[_0x1f153e(0xeb)](/url\(#(.*)\)/,_0x1f153e(0x1d7)[_0x1f153e(0xe1)](_0x401107[_0x1f153e(0xb9)],')')));})),_0x1bbff3;}function ji(_0x155684,_0xc9016c){const _0x371ad3=_0x22b051;var _0x4d32e8,_0x138a29=_0xc9016c[_0x371ad3(0x1e6)];return!_0x138a29||_0x138a29[_0x371ad3(0x1de)]===0x0?_0x155684:_0x155684[_0x371ad3(0x1f3)]===_0x371ad3(0x2a4)&&(!((_0x4d32e8=_0x155684[_0x371ad3(0x162)])===null||_0x4d32e8===void 0x0)&&_0x4d32e8[_0x371ad3(0x1de)])?I(I({},_0x155684),{'children':_0x155684[_0x371ad3(0x162)]['map'](function(_0x5f31bc){const _0x4238b0=_0x371ad3;return typeof _0x5f31bc[_0x4238b0(0x272)]['id']==_0x4238b0(0x14b)&&_0x138a29&&_0x138a29['indexOf'](_0x5f31bc['attrs']['id'])>-0x1?I(I({},_0x5f31bc),{'attrs':I(I({},_0x5f31bc[_0x4238b0(0x272)]),{'id':_0x5f31bc[_0x4238b0(0x272)]['id']+_0xc9016c[_0x4238b0(0xb9)]})}):_0x5f31bc;})}):_0x155684;}function Wi(){const _0x1fc19b=_0x22b051;return Math[_0x1fc19b(0x1ff)]()['toString'](0x24)[_0x1fc19b(0x122)](0x2,0x8);}We[_0x22b051(0x2a5)]=_0x22b051(0x140);var Fi={'tag':_0x22b051(0x1f4),'attrs':{'fill':_0x22b051(0xde),'viewBox':_0x22b051(0x159),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22b051(0x294)},'children':[{'tag':_0x22b051(0x103),'attrs':{'stroke':_0x22b051(0x1a3),'d':_0x22b051(0xdc),'strokeLinecap':'round','strokeLinejoin':_0x22b051(0x179),'strokeWidth':1.2}}]},{'tag':_0x22b051(0x2a4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22b051(0x146)},'children':[{'tag':_0x22b051(0x103),'attrs':{'fill':_0x22b051(0x22e),'d':_0x22b051(0x17b)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x5e11a0(function(_0x1cc407,_0x27d401){const _0x1f8a3a=_0x22b051;return _0x28baf7(We,Object[_0x1f8a3a(0x151)]({},_0x1cc407,{'id':'off-line-single','ref':_0x27d401,'icon':Fi}));});Ut['displayName']=_0x22b051(0xbd);var Yi={'tag':'svg','attrs':{'fill':_0x22b051(0xde),'viewBox':_0x22b051(0x254),'width':'1em','height':_0x22b051(0x1a0)},'children':[{'tag':'g','attrs':{'clipPath':_0x22b051(0x160)},'children':[{'tag':_0x22b051(0x103),'attrs':{'stroke':'currentColor','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':_0x22b051(0x179),'strokeLinejoin':_0x22b051(0x179),'strokeWidth':1.2}}]},{'tag':_0x22b051(0x2a4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22b051(0x23b)},'children':[{'tag':'path','attrs':{'fill':_0x22b051(0x22e),'d':'M0\x200H16V16H0z','transform':_0x22b051(0xf0)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x5e11a0(function(_0x37f1f1,_0x1b8b7b){const _0x1fc2f4=_0x22b051;return _0x28baf7(We,Object[_0x1fc2f4(0x151)]({},_0x37f1f1,{'id':_0x1fc2f4(0x121),'ref':_0x1b8b7b,'icon':Yi}));});Mt[_0x22b051(0x2a5)]=_0x22b051(0x153);const Vi=_0x22b051(0xae),Xi=_0x22b051(0x1cc),Gi=_0x22b051(0xc7),Ki=_0x22b051(0xe9),zi=_0x22b051(0xb7),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x570a11){const _0x4d8722=_0x22b051;switch(_0x570a11){case _0x440348[_0x4d8722(0xe6)]:return _0x4d8722(0x1b2);case _0x440348['CONFLICT']:return _0x4d8722(0x24e);case _0x440348[_0x4d8722(0x1fc)]:return _0x4d8722(0x12f);case _0x440348[_0x4d8722(0x119)]:return _0x4d8722(0x1bb);case _0x440348[_0x4d8722(0x114)]:case _0x440348[_0x4d8722(0x21c)]:return _0x4d8722(0xa9);case _0x440348[_0x4d8722(0x23c)]:case _0x440348[_0x4d8722(0x247)]:return _0x4d8722(0x1ce);}}function Zi(_0x4faa13){const _0x511604=_0x22b051,{status$:_0x1153b2}=_0x4faa13,_0x3a61c6=_0x394d64(_0x1153b2,_0x440348[_0x511604(0x119)]),_0x3b2f85=_0x3da98e(_0x4651ae),_0x4760ee=_0x3da98e(_0x44f692),_0x17b002=_0x3a61c6!==_0x440348['OFFLINE'],_0x2f3fe4=_0x3b2f85['t'](Ji(_0x3a61c6)),_0x1d1f64=_0x1c36ba(G['onlineStatus'],{[G[_0x511604(0x24a)]]:_0x17b002,[G[_0x511604(0x19a)]]:!_0x17b002}),_0x26f043=_0x17b002?_0x261b3e(Mt,{}):_0x261b3e(Ut,{}),_0x499bd=_0x3adc7b(()=>{const _0x39855c=_0x511604;_0x17b002||_0x4760ee[_0x39855c(0xf3)]();},[_0x17b002,_0x4760ee]);function _0x3fdaae(){const _0x27a53f=_0x511604;return _0x5c5661(_0x27a53f(0x1e4),{'className':_0x1c36ba(_0x1d1f64,'univer-flex\x20univer-items-center'),'onClick':_0x499bd,'children':[_0x261b3e(_0x27a53f(0x1e4),{'className':G[_0x27a53f(0xcb)],'children':_0x26f043}),_0x261b3e(_0x27a53f(0x1e4),{'className':G[_0x27a53f(0x225)],'children':_0x2f3fe4})]});}return _0x17b002?_0x3fdaae():_0x261b3e(_0x12d346,{'title':_0x3b2f85['t']('collab-client.tooltip.reconnect'),'children':_0x3fdaae()});}var Qi=Object[_0x22b051(0x28c)],qi=(_0x4bc8c2,_0x22ca3c,_0x14d7aa,_0x4c0b82)=>{for(var _0x387218=_0x4c0b82>0x1?void 0x0:_0x4c0b82?Qi(_0x22ca3c,_0x14d7aa):_0x22ca3c,_0x861e50=_0x4bc8c2['length']-0x1,_0x432844;_0x861e50>=0x0;_0x861e50--)(_0x432844=_0x4bc8c2[_0x861e50])&&(_0x387218=_0x432844(_0x387218)||_0x387218);return _0x387218;},q=(_0x296eaa,_0xdc1077)=>(_0x175b2b,_0x57c4e8)=>_0xdc1077(_0x175b2b,_0x57c4e8,_0x296eaa);let se=class extends _0x59267c{constructor(_0x5edf7c,_0x4f0c2d,_0x4fde9c,_0x4ce311){const _0x2757c1=_0x22b051;super(),_(this,_0x2757c1(0x279),new _0x1e28f7(_0x440348['NOT_COLLAB'])),(this[_0x2757c1(0xd1)]=_0x5edf7c,this['_injector']=_0x4f0c2d,this[_0x2757c1(0x17a)]=_0x4fde9c,this['_uiPartsService']=_0x4ce311,this[_0x2757c1(0x14a)](),this[_0x2757c1(0x1fa)]());}[_0x22b051(0x1fa)](){const _0x1f5cf0=_0x22b051;this[_0x1f5cf0(0x16f)](this[_0x1f5cf0(0xd1)][_0x1f5cf0(0xe2)]['pipe'](_0x12461d(()=>{const _0x1b7c9b=_0x1f5cf0,_0x53ac75=this['_univerInstanceService'][_0x1b7c9b(0x127)]();return _0x53ac75?this[_0x1b7c9b(0x17a)][_0x1b7c9b(0x133)](_0x53ac75[_0x1b7c9b(0x11d)]()):_0x4bd7e6(null);}),_0x12461d(_0xd48f3d=>_0xd48f3d?_0xd48f3d['status$']:_0x4bd7e6(_0x440348[_0x1f5cf0(0x119)])))['subscribe'](_0x598dd9=>{const _0x236189=_0x1f5cf0;this['_status$'][_0x236189(0x1e1)](_0x598dd9);}));}['_initStatusComponent'](){const _0x5f297f=_0x22b051;this[_0x5f297f(0x16f)](this[_0x5f297f(0x108)][_0x5f297f(0xc1)](_0x257771['HEADER_MENU'],()=>_0x164c77(en({'status$':this[_0x5f297f(0x279)][_0x5f297f(0x269)]()}),this['_injector'])));}};se=qi([q(0x0,_0x194a7a),q(0x1,_0x53179b(_0xf6a735)),q(0x2,_0x53179b(_0x148d28)),q(0x3,_0x2fc39f)],se);function en(_0x523b9c){const {status$:_0x35cf91}=_0x523b9c;return function(){return _0x261b3e(Zi,{'status$':_0x35cf91});};}var tn=Object[_0x22b051(0x28c)],sn=(_0x2232e2,_0x4b254b,_0x1ba764,_0x54683c)=>{for(var _0x5b37dd=_0x54683c>0x1?void 0x0:_0x54683c?tn(_0x4b254b,_0x1ba764):_0x4b254b,_0x3a0a9d=_0x2232e2['length']-0x1,_0xd772eb;_0x3a0a9d>=0x0;_0x3a0a9d--)(_0xd772eb=_0x2232e2[_0x3a0a9d])&&(_0x5b37dd=_0xd772eb(_0x5b37dd)||_0x5b37dd);return _0x5b37dd;},B=(_0x23fc93,_0x3d4845)=>(_0x56f8ce,_0x3e295d)=>_0x3d4845(_0x56f8ce,_0x3e295d,_0x23fc93);let ie=class extends _0x59267c{constructor(_0xe22787,_0x42e515,_0x4f1e47,_0x1601cf,_0x23e20d,_0x3d6644){const _0x6b4c95=_0x22b051;super(),this[_0x6b4c95(0x215)]=_0xe22787,this[_0x6b4c95(0xac)]=_0x42e515,this['_collaborationUIEventService']=_0x4f1e47,this['_messageService']=_0x1601cf,this[_0x6b4c95(0x1e2)]=_0x23e20d,this[_0x6b4c95(0x124)]=_0x3d6644,this[_0x6b4c95(0x234)](),this[_0x6b4c95(0x1ba)]();}[_0x22b051(0x234)](){const _0x3c1192=_0x22b051;this[_0x3c1192(0x16f)](this[_0x3c1192(0x215)][_0x3c1192(0x141)](()=>{const _0x4b7f7d=_0x3c1192;if(this['_localCacheService'][_0x4b7f7d(0x149)][_0x4b7f7d(0x1b9)])return this[_0x4b7f7d(0x124)]['t'](_0x4b7f7d(0x26e));}));}[_0x22b051(0x1ba)](){const _0x480e6d=_0x22b051;this['disposeWithMe'](this[_0x480e6d(0x1d2)]['event$'][_0x480e6d(0x2ae)](_0x10b775=>{const _0x478c17=_0x480e6d;_0x10b775['id']===_0x4078b1['OTHER_CLIENT_EDITING']&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0['Warning'],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x29b))}),_0x10b775['id']===_0x4078b1[_0x478c17(0x174)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0xe5)],'content':this['_localeService']['t'](_0x478c17(0x1f2))}),_0x10b775['id']===_0x4078b1[_0x478c17(0x211)]&&this[_0x478c17(0x1e2)][_0x478c17(0x1b4)]({'title':this[_0x478c17(0x124)]['t'](_0x478c17(0xfd)),'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x1b6)),'type':_0x478c17(0x289),'duration':0x0}),_0x10b775['id']===_0x4078b1[_0x478c17(0x204)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0x11f)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x10b775[_0x478c17(0x1a5)]+')'}),_0x10b775['id']===_0x4078b1['JOIN_ROOM_FAILED']&&this['_messageService'][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0xe5)],'content':this[_0x478c17(0x124)]['t'](_0x10b775['data']||'')}),_0x10b775['id']===_0x4078b1[_0x478c17(0x107)]&&this[_0x478c17(0x13a)]['show']({'type':_0x2276c0[_0x478c17(0xe5)],'content':this[_0x478c17(0x124)]['t']('session.will-retry')}),_0x10b775['id']===_0x4078b1[_0x478c17(0xf8)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0x11f)],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x1f0))}),_0x10b775['id']===_0x4078b1[_0x478c17(0xba)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0['Error'],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x29f))});}));}};ie=sn([B(0x0,_0x543592),B(0x1,_0x127d0d),B(0x2,_0x53179b(_0x4b299a)),B(0x3,_0x2d73a6),B(0x4,_0x3b048f),B(0x5,_0x53179b(_0x4651ae))],ie);const nn=_0x22b051(0x126),st={},Pt=_0x47277c(_0x22b051(0x11b));var rn=Object[_0x22b051(0x28c)],on=(_0x1bde2f,_0x46e484,_0x196ed6,_0x5a0293)=>{for(var _0x2ee3d1=_0x5a0293>0x1?void 0x0:_0x5a0293?rn(_0x46e484,_0x196ed6):_0x46e484,_0xdd1387=_0x1bde2f['length']-0x1,_0x37eb4e;_0xdd1387>=0x0;_0xdd1387--)(_0x37eb4e=_0x1bde2f[_0xdd1387])&&(_0x2ee3d1=_0x37eb4e(_0x2ee3d1)||_0x2ee3d1);return _0x2ee3d1;},K=(_0x235923,_0x33a9f3)=>(_0x1f267c,_0x4e50ef)=>_0x33a9f3(_0x1f267c,_0x4e50ef,_0x235923);let ne=class extends _0x19057b{constructor(_0x3d0300,_0x26076f,_0x3979a2,_0x3ae023,_0xccc177){const _0x3dbfa6=_0x22b051;super(),this[_0x3dbfa6(0x1ad)]=_0x3d0300,this[_0x3dbfa6(0x10d)]=_0x26076f,this['_commandService']=_0x3979a2,this[_0x3dbfa6(0x1a7)]=_0x3ae023,_0xccc177?_0xccc177==null||_0xccc177[_0x3dbfa6(0xd3)]()[_0x3dbfa6(0x173)](()=>this[_0x3dbfa6(0x1c6)]()):(this[_0x3dbfa6(0x10d)]['debug']('[CollaborationDataLoaderController]',_0x3dbfa6(0xc4)),this[_0x3dbfa6(0x1c6)]());}async['_init'](){const _0x5a5e5c=_0x22b051,_0x47187d=this[_0x5a5e5c(0x1ad)][_0x5a5e5c(0xe8)](_0x5a5e5c(0x286)),_0x32ccba=this[_0x5a5e5c(0x1ad)][_0x5a5e5c(0xe8)](_0x5a5e5c(0x1f7)),_0x334751=this['_urlService'][_0x5a5e5c(0xe8)](_0x5a5e5c(0x21d));if(!_0x47187d||!_0x32ccba){this[_0x5a5e5c(0x10d)][_0x5a5e5c(0x1e8)](_0x5a5e5c(0x18d),_0x5a5e5c(0x14f));return;}const _0x1a6931=await this['_dataLoaderService'][_0x5a5e5c(0x16a)](_0x47187d,Number(_0x32ccba),_0x334751);_0x1a6931&&_0x1a6931 instanceof _0x3ca270&&this[_0x5a5e5c(0xfb)](_0x1a6931);}async[_0x22b051(0xfb)](_0x1f2ad0){const _0x2249cb=_0x22b051;await this[_0x2249cb(0x233)](_0x1f2ad0),_0x1f2ad0[_0x2249cb(0x1c7)][_0x2249cb(0x26a)](_0xd1a528(this[_0x2249cb(0x266)]))[_0x2249cb(0x2ae)](_0x554226=>{const _0x483323=_0x2249cb;_0x554226&&this[_0x483323(0xca)](_0x554226);}),this['_urlService'][_0x2249cb(0x25c)]['pipe'](_0xd1a528(this[_0x2249cb(0x266)]))[_0x2249cb(0x2ae)](()=>this['_updateSubUnitFromURLParams'](_0x1f2ad0));}[_0x22b051(0xca)](_0x321d4a,_0x8e4aa6=!0x1){const _0x2fad55=_0x22b051,_0x55ec25=this[_0x2fad55(0x1ad)]['getParam'](_0x2fad55(0x21d));_0x321d4a[_0x2fad55(0x115)]()!==_0x55ec25&&this[_0x2fad55(0x1ad)][_0x2fad55(0x1c0)](_0x2fad55(0x21d),_0x321d4a[_0x2fad55(0x115)](),_0x8e4aa6);}async[_0x22b051(0x233)](_0x20f08a){const _0x201e61=_0x22b051;var _0x238467;const _0x5c440a=this['_urlService']['getParam'](_0x201e61(0x21d));if(!_0x5c440a||!_0x20f08a['getSheetBySheetId'](_0x5c440a)){const _0xfc784d=_0x20f08a['getUnhiddenWorksheets']()[0x0],_0x29012c=_0x20f08a[_0x201e61(0xbf)](_0xfc784d);if(!_0x29012c)return;this['_updateURLWithCurrentState'](_0x29012c,!0x0),await this['_commandService'][_0x201e61(0x19e)](_0x420f35['id'],{'unitId':_0x20f08a[_0x201e61(0x11d)](),'subUnitId':_0xfc784d});return;}((_0x238467=_0x20f08a['getActiveSheet']())==null?void 0x0:_0x238467[_0x201e61(0x115)]())!==_0x5c440a&&await this['_commandService'][_0x201e61(0x19e)](_0x420f35['id'],{'unitId':_0x20f08a[_0x201e61(0x11d)](),'subUnitId':_0x5c440a});}};ne=on([K(0x0,Pt),K(0x1,_0x336e49),K(0x2,_0x3eaa36),K(0x3,_0x53179b(_0x3e15e2)),K(0x4,_0x32643b(_0x1b8016))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2ffa1e,_0x569728,_0x76a69d,_0x431081)=>{const _0x172f58=_0x22b051;for(var _0x4982bf=_0x431081>0x1?void 0x0:_0x431081?an(_0x569728,_0x76a69d):_0x569728,_0x5a4219=_0x2ffa1e[_0x172f58(0x1de)]-0x1,_0x14b744;_0x5a4219>=0x0;_0x5a4219--)(_0x14b744=_0x2ffa1e[_0x5a4219])&&(_0x4982bf=_0x14b744(_0x4982bf)||_0x4982bf);return _0x4982bf;},Ce=(_0x40068a,_0xd2f944)=>(_0x327692,_0x2a8436)=>_0xd2f944(_0x327692,_0x2a8436,_0x40068a);function _0x324a(_0x3946f4,_0x1eed71){const _0x2772af=_0x2772();return _0x324a=function(_0x324aba,_0xfc71c){_0x324aba=_0x324aba-0xa2;let _0x2ccc93=_0x2772af[_0x324aba];return _0x2ccc93;},_0x324a(_0x3946f4,_0x1eed71);}let re=class{constructor(_0x19caa7,_0x40cf4b,_0x1ebc33){const _0x4a0d92=_0x22b051;this['_injector']=_0x19caa7,this[_0x4a0d92(0x110)]=_0x40cf4b,this['_renderManagerService']=_0x1ebc33;}[_0x22b051(0x1d3)](_0x43bd02){const _0x470aec=_0x22b051;this[_0x470aec(0xf1)](_0x43bd02),this[_0x470aec(0x293)](_0x43bd02);}[_0x22b051(0x130)](_0x5909b8){const _0x92947d=_0x22b051,{unitID:_0x244cdd}=_0x5909b8,_0x29d5bd=this[_0x92947d(0xdd)]['getRenderById'](_0x244cdd)[_0x92947d(0xab)](_0x5c9cec),{redoCache:_0x401c3f}=_0x29d5bd[_0x92947d(0x264)]();if(_0x401c3f['length']===0x0)return _0x5909b8;let _0x3bdb40=_0x2c3576[_0x92947d(0x23e)](_0x5909b8[_0x92947d(0x11c)][0x0]);for(let _0x494b20=0x0;_0x494b20<_0x401c3f[_0x92947d(0x1de)];_0x494b20++){const _0x316e65={'id':'doc.mutation.rich-text-editing','params':{..._0x401c3f[_0x494b20]}},_0x58d14e=this[_0x92947d(0x110)]['transformMutation'](_0x3bdb40,_0x316e65,!0x1);if(_0x103425(_0x58d14e))throw _0x58d14e[_0x92947d(0x289)];_0x3bdb40=_0x58d14e[_0x92947d(0x28d)];}return{..._0x2c3576[_0x92947d(0x23e)](_0x5909b8),'mutations':[_0x3bdb40]};}[_0x22b051(0xf1)](_0x2a2f5e){const _0x39f581=_0x22b051,{unitID:_0x50911f}=_0x2a2f5e,_0x16c201=this['_renderManagerService'][_0x39f581(0x172)](_0x50911f)[_0x39f581(0xab)](_0x5c9cec),{undoCache:_0x23f905,redoCache:_0x5dcdf1}=_0x16c201[_0x39f581(0x264)]();if(_0x23f905['length']===0x0||_0x5dcdf1['length']===0x0)return;const _0x311c64=[],_0x16246d=[];let _0x3cbd4c=_0x2c3576[_0x39f581(0x23e)](_0x2a2f5e[_0x39f581(0x11c)][0x0]),_0x2c3d5c=_0x2c3576['deepClone'](_0x2a2f5e['mutations'][0x0]);for(let _0xdb421f=_0x23f905[_0x39f581(0x1de)]-0x1;_0xdb421f>=0x0;_0xdb421f--){const _0x2c0f1d={'id':_0x39f581(0xbc),'params':{..._0x23f905[_0xdb421f]}},_0x52d1a8={'id':_0x39f581(0xbc),'params':{..._0x5dcdf1[_0xdb421f]}},_0x5dd72b=this[_0x39f581(0x110)]['transformMutation'](_0x3cbd4c,_0x2c0f1d,!0x1),_0xd68352=this['_transformService'][_0x39f581(0x235)](_0x2c3d5c,_0x52d1a8,!0x1);if(_0x103425(_0x5dd72b))throw _0x5dd72b['error'];if(_0x103425(_0xd68352))throw _0xd68352[_0x39f581(0x289)];_0x311c64[_0x39f581(0x259)](_0x5dd72b[_0x39f581(0x299)]['params']),_0x16246d['unshift'](_0xd68352[_0x39f581(0x299)][_0x39f581(0xfe)]),_0x3cbd4c=_0x5dd72b[_0x39f581(0x28d)],_0x2c3d5c=_0xd68352[_0x39f581(0x28d)];}_0x16c201[_0x39f581(0x241)]({'undoCache':_0x311c64,'redoCache':_0x16246d});}['_transformPreviousActiveRange'](_0x4f7fdb){const _0x24a610=_0x22b051,{unitID:_0x466b34}=_0x4f7fdb,_0x4ea01c=this[_0x24a610(0xdd)][_0x24a610(0x172)](_0x466b34)[_0x24a610(0xab)](_0x5c9cec),_0x545fb1=_0x4ea01c[_0x24a610(0x2a8)]();if(_0x545fb1==null)return;const _0x5b1a72=[{'id':_0x24a610(0xbc),'params':{'unitId':_0x4f7fdb['unitID'],'actions':null,'textRanges':[_0x545fb1]}}],_0x1007bb=this['_transformService'][_0x24a610(0x22f)](_0x4f7fdb,_0x5b1a72);if(!_0x3e9a3a(_0x1007bb))throw _0x1007bb[_0x24a610(0x289)];const _0x2d4af2=_0x1007bb[_0x24a610(0x299)][0x0]['params'][_0x24a610(0x1f6)];Array[_0x24a610(0x101)](_0x2d4af2)&&_0x2d4af2[_0x24a610(0x1de)]&&_0x4ea01c['setActiveRange'](_0x2d4af2[0x0]);}};re=cn([Ce(0x0,_0x53179b(_0xf6a735)),Ce(0x1,_0x4539c1),Ce(0x2,_0x1e87f3)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1e701a,_0x5ee28d,_0x577f87,_0x156713)=>{const _0x2562f8=_0x22b051;for(var _0x3b02b7=_0x156713>0x1?void 0x0:_0x156713?ln(_0x5ee28d,_0x577f87):_0x5ee28d,_0x20346f=_0x1e701a[_0x2562f8(0x1de)]-0x1,_0x22eb6a;_0x20346f>=0x0;_0x20346f--)(_0x22eb6a=_0x1e701a[_0x20346f])&&(_0x3b02b7=_0x22eb6a(_0x3b02b7)||_0x3b02b7);return _0x3b02b7;},Ee=(_0x4d5239,_0x4f0957)=>(_0xd3a6ac,_0x464dc0)=>_0x4f0957(_0xd3a6ac,_0x464dc0,_0x4d5239);let oe=class{constructor(_0x2ab166,_0x5de32d,_0x271daf){const _0x2c332a=_0x22b051;this[_0x2c332a(0x1d1)]=_0x2ab166,this['_transformService']=_0x5de32d,this[_0x2c332a(0xb1)]=_0x271daf;}[_0x22b051(0xea)](_0x5529a3){const _0x14df29=_0x22b051;this[_0x14df29(0x244)](_0x5529a3);}[_0x22b051(0x130)](_0x296387){const _0x186d39=_0x22b051,{unitID:_0x57ca56}=_0x296387,{collaboration:_0x203f74}=this['_docStateChangeManagerService']['getStateCache'](_0x57ca56);if(_0x203f74[_0x186d39(0x1de)]===0x0)return _0x296387;let _0x4ba69a=_0x2c3576[_0x186d39(0x23e)](_0x296387[_0x186d39(0x11c)][0x0]);for(let _0xb3d900=0x0;_0xb3d900<_0x203f74[_0x186d39(0x1de)];_0xb3d900++){const _0x8ecafa={'id':_0x186d39(0xbc),'params':{'unitId':_0x203f74[_0xb3d900][_0x186d39(0x2ab)],..._0x203f74[_0xb3d900][_0x186d39(0x117)]}},_0x18f4c4=this[_0x186d39(0x110)][_0x186d39(0x235)](_0x4ba69a,_0x8ecafa,!0x1);if(_0x103425(_0x18f4c4))throw _0x18f4c4['error'];_0x4ba69a=_0x18f4c4['m1Prime'];}return{..._0x2c3576['deepClone'](_0x296387),'mutations':[_0x4ba69a]};}[_0x22b051(0x244)](_0x399e80){const _0x178228=_0x22b051,{unitID:_0x39401c}=_0x399e80,{history:_0x5cbe95,collaboration:_0x4fa450}=this[_0x178228(0xb1)][_0x178228(0x1da)](_0x39401c);if(_0x5cbe95[_0x178228(0x1de)]===0x0&&_0x4fa450[_0x178228(0x1de)]===0x0)return;const _0x197f7b=[],_0x15e65=[];let _0x423e1a=_0x2c3576[_0x178228(0x23e)](_0x399e80[_0x178228(0x11c)][0x0]),_0x3515b4=_0x2c3576['deepClone'](_0x399e80[_0x178228(0x11c)][0x0]);for(let _0x436ece=_0x5cbe95[_0x178228(0x1de)]-0x1;_0x436ece>=0x0;_0x436ece--){const _0x3fdbeb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cbe95[_0x436ece][_0x178228(0x2ab)],..._0x5cbe95[_0x436ece][_0x178228(0xfc)]}},_0x307e04={'id':_0x178228(0xbc),'params':{'unitId':_0x5cbe95[_0x436ece]['unitId'],..._0x5cbe95[_0x436ece]['redoState']}},_0x15889e=this[_0x178228(0x110)][_0x178228(0x235)](_0x423e1a,_0x3fdbeb,!0x1),_0x32209d=this['_transformService']['transformMutation'](_0x3515b4,_0x307e04,!0x1);if(_0x103425(_0x15889e))throw _0x15889e[_0x178228(0x289)];if(_0x103425(_0x32209d))throw _0x32209d[_0x178228(0x289)];_0x197f7b['unshift']({..._0x5cbe95[_0x436ece],'undoState':_0x15889e['m2Prime'][_0x178228(0xfe)],'redoState':_0x32209d['m2Prime'][_0x178228(0xfe)]}),_0x423e1a=_0x15889e['m1Prime'],_0x3515b4=_0x32209d[_0x178228(0x28d)];}_0x423e1a=_0x2c3576[_0x178228(0x23e)](_0x399e80['mutations'][0x0]),_0x3515b4=_0x2c3576['deepClone'](_0x399e80['mutations'][0x0]);for(let _0x4ddb56=_0x4fa450[_0x178228(0x1de)]-0x1;_0x4ddb56>=0x0;_0x4ddb56--){const _0x38489b={'id':_0x178228(0xbc),'params':{'unitId':_0x4fa450[_0x4ddb56][_0x178228(0x2ab)],..._0x4fa450[_0x4ddb56][_0x178228(0xfc)]}},_0x4efb7e={'id':_0x178228(0xbc),'params':{'unitId':_0x4fa450[_0x4ddb56]['unitId'],..._0x4fa450[_0x4ddb56][_0x178228(0x117)]}},_0x30d2fe=this[_0x178228(0x110)][_0x178228(0x235)](_0x423e1a,_0x38489b,!0x1),_0x1322db=this[_0x178228(0x110)][_0x178228(0x235)](_0x3515b4,_0x4efb7e,!0x1);if(_0x103425(_0x30d2fe))throw _0x30d2fe[_0x178228(0x289)];if(_0x103425(_0x1322db))throw _0x1322db[_0x178228(0x289)];_0x15e65[_0x178228(0x259)]({..._0x4fa450[_0x4ddb56],'undoState':_0x30d2fe[_0x178228(0x299)][_0x178228(0xfe)],'redoState':_0x1322db['m2Prime'][_0x178228(0xfe)]}),_0x423e1a=_0x30d2fe['m1Prime'],_0x3515b4=_0x1322db[_0x178228(0x28d)];}this['_docStateChangeManagerService'][_0x178228(0x2aa)](_0x39401c,{'history':_0x197f7b,'collaboration':_0x15e65});}};oe=_n([Ee(0x0,_0x53179b(_0xf6a735)),Ee(0x1,_0x4539c1),Ee(0x2,_0x53179b(_0x225d07))],oe);var hn=Object[_0x22b051(0x28c)],un=(_0x129397,_0x1622fc,_0x31f854,_0x288e7a)=>{for(var _0x54dc41=_0x288e7a>0x1?void 0x0:_0x288e7a?hn(_0x1622fc,_0x31f854):_0x1622fc,_0x2e6664=_0x129397['length']-0x1,_0x4a40e4;_0x2e6664>=0x0;_0x2e6664--)(_0x4a40e4=_0x129397[_0x2e6664])&&(_0x54dc41=_0x4a40e4(_0x54dc41)||_0x54dc41);return _0x54dc41;},it=(_0x3fd87b,_0x43490d)=>(_0x3a5b6b,_0x870625)=>_0x43490d(_0x3a5b6b,_0x870625,_0x3fd87b);let ae=class{constructor(_0x3a5cd7,_0x565ad2){this['_injector']=_0x3a5cd7,this['_transformService']=_0x565ad2;}['transformSelections'](_0x1d07fc){const _0x37e789=_0x22b051;var _0x3dc0ea;const _0x4a4b5a=this['_injector'][_0x37e789(0xee)](_0x185b37),_0x1dc47e=(_0x3dc0ea=_0x4a4b5a[_0x37e789(0x1a4)]())!=null?_0x3dc0ea:[];if(_0x1dc47e['length']===0x0)return;const _0x1b0960=_0x1d07fc[_0x37e789(0x1bf)],_0x4bdf86=[{'id':_0x37e789(0xbc),'params':{'unitId':_0x1b0960,'actions':null,'textRanges':_0x1dc47e}}],_0x1989c3=this[_0x37e789(0x110)][_0x37e789(0x22f)](_0x1d07fc,_0x4bdf86);if(!_0x3e9a3a(_0x1989c3))throw _0x1989c3[_0x37e789(0x289)];const _0x22de40=_0x1989c3[_0x37e789(0x299)][0x0][_0x37e789(0xfe)]['textRanges'];Array['isArray'](_0x22de40)&&_0x22de40[_0x37e789(0x1de)]&&_0x4a4b5a[_0x37e789(0x19c)](_0x22de40,{'unitId':_0x1b0960,'subUnitId':_0x1b0960},!0x1);}};ae=un([it(0x0,_0x53179b(_0xf6a735)),it(0x1,_0x4539c1)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x4b9e3b,_0x4ca09a,_0x5611c0,_0x1748a0)=>{const _0x1f8915=_0x22b051;for(var _0x4bfd9e=_0x1748a0>0x1?void 0x0:_0x1748a0?dn(_0x4ca09a,_0x5611c0):_0x4ca09a,_0x12cc61=_0x4b9e3b[_0x1f8915(0x1de)]-0x1,_0x1779cb;_0x12cc61>=0x0;_0x12cc61--)(_0x1779cb=_0x4b9e3b[_0x12cc61])&&(_0x4bfd9e=_0x1779cb(_0x4bfd9e)||_0x4bfd9e);return _0x4bfd9e;},U=(_0x2626bc,_0x557a69)=>(_0x5192c4,_0x3fc4bb)=>_0x557a69(_0x5192c4,_0x3fc4bb,_0x2626bc);let ce=class extends _0x59267c{constructor(_0x3a9f33,_0x498852,_0x2b165b,_0x509fc5,_0x2b3621,_0x10e5f3,_0x4e345a,_0x340e51){const _0x158547=_0x22b051;super(),_(this,_0x158547(0x279),new _0x1e28f7(_0x440348['NOT_COLLAB'])),(this[_0x158547(0xb1)]=_0x3a9f33,this[_0x158547(0x17a)]=_0x498852,this['_docTransformIMECacheService']=_0x2b165b,this[_0x158547(0xb0)]=_0x509fc5,this[_0x158547(0x28b)]=_0x2b3621,this[_0x158547(0x171)]=_0x10e5f3,this[_0x158547(0x13a)]=_0x4e345a,this[_0x158547(0x124)]=_0x340e51,this[_0x158547(0x24f)]());}['_initEntityListener'](){const _0x22cab9=_0x22b051;this['disposeWithMe'](this[_0x22cab9(0x17a)][_0x22cab9(0x14c)][_0x22cab9(0x2ae)](_0x2b21be=>{const _0x32d390=_0x22cab9,_0x3f2007=this[_0x32d390(0xb1)][_0x32d390(0xad)]['subscribe'](_0x1b3c80=>{const _0x1555c9=_0x32d390;if(_0x1b3c80==null)return;const {unitId:_0xe826e8,redoState:_0x48b62b,commandId:_0x2c2350}=_0x1b3c80;if(_0xe826e8!==_0x2b21be[_0x1555c9(0x1bf)])return;const _0x428a5c={'id':_0x2c2350,'type':_0x5194f6['MUTATION'],'params':{'unitId':_0xe826e8,'actions':_0x48b62b[_0x1555c9(0x20b)],'textRanges':null}};_0x2b21be[_0x1555c9(0x29e)](_0x428a5c);});if(_0x2b21be['disposeWithMe'](_0x3f2007),_0x2b21be instanceof _0x3b7c80){const _0x2b0017={'onTransformIME':_0xbaa53f=>this[_0x32d390(0x19f)][_0x32d390(0x1d3)](_0xbaa53f),'onTransformState':_0x211aa5=>this[_0x32d390(0xb0)][_0x32d390(0xea)](_0x211aa5),'onTransformSelections':_0x27bbbc=>this[_0x32d390(0x28b)][_0x32d390(0x184)](_0x27bbbc),'onSyncEditingCollabCursor':_0x43c56d=>this['_docSyncEditingCollabCursorService'][_0x32d390(0xd8)](_0x43c56d),'onTransformRemoteChangesetByIMECache':_0x4c40d1=>this['_docTransformIMECacheService'][_0x32d390(0x130)](_0x4c40d1),'onTransformRemoteChangesetByStateCache':_0x1e3a8f=>this['_docTransformStateCacheService'][_0x32d390(0x130)](_0x1e3a8f)};_0x2b21be[_0x32d390(0x1f8)](_0x2b0017);}}));}};ce=fn([U(0x0,_0x53179b(_0x225d07)),U(0x1,_0x53179b(_0x148d28)),U(0x2,_0x53179b(re)),U(0x3,_0x53179b(oe)),U(0x4,_0x53179b(ae)),U(0x5,_0x53179b(je)),U(0x6,_0x2d73a6),U(0x7,_0x53179b(_0x4651ae))],ce);var Sn=Object[_0x22b051(0x28c)],mn=(_0x4fa076,_0x1338d2,_0x458b59,_0xfc647e)=>{for(var _0x2ac0ba=_0xfc647e>0x1?void 0x0:_0xfc647e?Sn(_0x1338d2,_0x458b59):_0x1338d2,_0x464ae9=_0x4fa076['length']-0x1,_0x4550c9;_0x464ae9>=0x0;_0x464ae9--)(_0x4550c9=_0x4fa076[_0x464ae9])&&(_0x2ac0ba=_0x4550c9(_0x2ac0ba)||_0x2ac0ba);return _0x2ac0ba;},be=(_0x548a14,_0x75570b)=>(_0x16be85,_0x1e7a78)=>_0x75570b(_0x16be85,_0x1e7a78,_0x548a14);let Ae=class extends _0x59267c{constructor(_0x1bb39f,_0x575c2e,_0x41ff07){const _0x53f43b=_0x22b051;super(),_(this,_0x53f43b(0x158),new Map()),_(this,_0x53f43b(0x24b),new Map()),_(this,_0x53f43b(0x113),!0x1),(this[_0x53f43b(0x29a)]=_0x1bb39f,this[_0x53f43b(0x1f5)]=_0x575c2e,this[_0x53f43b(0x152)]=_0x41ff07);}['disableLocalCache'](){const _0x492dee=_0x22b051;this[_0x492dee(0x113)]=!0x0;}[_0x22b051(0xa6)](){const _0xf42c59=_0x22b051;this[_0xf42c59(0x113)]=!0x1;}get[_0x22b051(0x149)](){const _0x420cf1=_0x22b051;return this[_0x420cf1(0x24b)];}[_0x22b051(0x258)](){const _0x56d70a=_0x22b051;this[_0x56d70a(0x1ef)]()[_0x56d70a(0x173)](()=>super['dispose']());}async[_0x22b051(0x260)](_0x3fed13){const _0x29acbd=_0x22b051;return this['_disabled']?null:this['_localStorageService'][_0x29acbd(0x210)](_0x1316dd(_0x3fed13));}async['saveOfflineData'](_0x4a943c,_0x4c3430){const _0x58bd83=_0x22b051;return!!this[_0x58bd83(0x1f5)][_0x58bd83(0x13e)](_0x4a943c,_0x4c3430);}[_0x22b051(0x28e)](_0x4aae07,_0x2349d7,_0x4f8b15,_0x5dcd90){const _0x5482b4=_0x22b051,_0x478244=this['_revisionService'][_0x5482b4(0x262)](_0x4aae07);this[_0x5482b4(0x158)][_0x5482b4(0x18b)](_0x4aae07,{'unitID':_0x4aae07,'type':_0x2349d7,'awaitingChangeset':_0x4f8b15,'mutations':_0x5dcd90,'rev':_0x478244}),this['_saveTaskMap'][_0x5482b4(0x25a)](_0x4aae07)||this[_0x5482b4(0x1b8)](_0x4aae07);}[_0x22b051(0x1b8)](_0x4317c3){const _0x44e39c=_0x22b051,_0x52835b=this[_0x44e39c(0x27c)]();_0x52835b===0x0?this[_0x44e39c(0x17f)](_0x4317c3):this['_saveTaskMap'][_0x44e39c(0x18b)](_0x4317c3,setTimeout(()=>this['_saveCache'](_0x4317c3),_0x52835b));}[_0x22b051(0x27c)](){const _0x468b56=_0x22b051;var _0x5bdca0;return(_0x5bdca0=this[_0x468b56(0x29a)][_0x468b56(0x10c)](_0x3418f0))!=null?_0x5bdca0:_0xa2197;}[_0x22b051(0x17f)](_0xffc29c){const _0x386dd2=_0x22b051,_0x10938=this[_0x386dd2(0x24b)][_0x386dd2(0xee)](_0xffc29c);return _0x10938!==void 0x0&&window[_0x386dd2(0x1e5)](_0x10938),this[_0x386dd2(0x1f5)][_0x386dd2(0x13e)](_0x1316dd(_0xffc29c),this[_0x386dd2(0x158)][_0x386dd2(0xee)](_0xffc29c))[_0x386dd2(0x173)](()=>this[_0x386dd2(0x24b)]['delete'](_0xffc29c));}async['exhaustSavingTask'](){const _0x1ef070=_0x22b051,_0x4d7812=[];this[_0x1ef070(0x24b)][_0x1ef070(0x112)]((_0x100370,_0x469219)=>{const _0x1d19cc=_0x1ef070;window[_0x1d19cc(0x1e5)](_0x100370),_0x4d7812[_0x1d19cc(0xa3)](this[_0x1d19cc(0x17f)](_0x469219)['then'](()=>{const _0x237142=_0x1d19cc;this[_0x237142(0x24b)][_0x237142(0x1a2)](_0x469219);}));}),await Promise[_0x1ef070(0x131)](_0x4d7812);}};Ae=mn([be(0x0,_0x2af28c),be(0x1,_0x89a1a9),be(0x2,_0x53179b(_0x315fb1))],Ae);class gn extends _0x19057b{constructor(){const _0x5107ca=_0x22b051;super(),_(this,_0x5107ca(0x25c)),this[_0x5107ca(0x25c)]=_0x35e0e3(window,_0x5107ca(0xcd))['pipe'](_0xd1a528(this[_0x5107ca(0x266)]),_0x439718(0x1),_0x12eaaf(void 0x0));}[_0x22b051(0x1c0)](_0x396263,_0x3a91c6,_0x51a2b4=!0x1){const _0x5ab678=_0x22b051,_0x1b51be=new URL(window['location']['href']);_0x1b51be['searchParams']['set'](_0x396263,_0x3a91c6),_0x51a2b4?window['history'][_0x5ab678(0x125)]('','',_0x1b51be[_0x5ab678(0xa5)]()):window[_0x5ab678(0x164)]['pushState']('','',_0x1b51be[_0x5ab678(0xa5)]());}[_0x22b051(0xb5)](_0x3a19dc,_0x35a416=!0x1){const _0x14d2f3=_0x22b051,_0x285316=new URL(window[_0x14d2f3(0xd5)]['href']);_0x285316[_0x14d2f3(0x201)][_0x14d2f3(0x1a2)](_0x3a19dc),_0x35a416?window['history'][_0x14d2f3(0x125)]('','',_0x285316[_0x14d2f3(0xa5)]()):window[_0x14d2f3(0x164)]['pushState']('','',_0x285316[_0x14d2f3(0xa5)]());}[_0x22b051(0xe8)](_0x12abe0){const _0x10f778=_0x22b051;var _0x5425fe;return(_0x5425fe=new URL(window[_0x10f778(0xd5)][_0x10f778(0xdb)])[_0x10f778(0x201)][_0x10f778(0xee)](_0x12abe0))!=null?_0x5425fe:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x22b051(0x28c)],pn=(_0x468731,_0x45d213,_0xd4e920)=>_0x45d213 in _0x468731?vn(_0x468731,_0x45d213,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4e920}):_0x468731[_0x45d213]=_0xd4e920,Cn=(_0x19f505,_0x5c69e8,_0x3be511,_0x1cb3b9)=>{const _0x5ad1a3=_0x22b051;for(var _0x145a36=_0x1cb3b9>0x1?void 0x0:_0x1cb3b9?In(_0x5c69e8,_0x3be511):_0x5c69e8,_0x323483=_0x19f505[_0x5ad1a3(0x1de)]-0x1,_0x498c74;_0x323483>=0x0;_0x323483--)(_0x498c74=_0x19f505[_0x323483])&&(_0x145a36=_0x498c74(_0x145a36)||_0x145a36);return _0x145a36;},Oe=(_0x275c99,_0xbd9287)=>(_0x3775a4,_0x4344a6)=>_0xbd9287(_0x3775a4,_0x4344a6,_0x275c99),En=(_0x497b0a,_0x131806,_0x9ceb09)=>pn(_0x497b0a,_0x131806+'',_0x9ceb09);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x49f2ff{constructor(_0x152488=st,_0x2ae538,_0x73a0a,_0x516a3d){const _0x3f5116=_0x22b051;super(),this[_0x3f5116(0x28f)]=_0x152488,this['_renderManagerService']=_0x2ae538,this[_0x3f5116(0x1d1)]=_0x73a0a,this[_0x3f5116(0x29a)]=_0x516a3d;const {..._0x2238ca}=_0x40aabe({},st,this[_0x3f5116(0x28f)]);this['_configService'][_0x3f5116(0x1d4)](nn,_0x2238ca);}['onStarting'](){const _0x1f766b=_0x22b051;this[_0x1f766b(0x13b)](),this[_0x1f766b(0x284)]();}[_0x22b051(0x13c)](){this['_registerRenderDependencies']();}[_0x22b051(0x13b)](){const _0x218e0a=_0x22b051;var _0x4a59ff;const _0x226ca5=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x4d6e5a,{'useClass':_0x5b075b}],[_0x127d0d,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x30b936(this[_0x218e0a(0x1d1)],_0x3eb038(_0x226ca5,(_0x4a59ff=this[_0x218e0a(0x28f)])==null?void 0x0:_0x4a59ff[_0x218e0a(0x207)]));}[_0x22b051(0x283)](){const _0x2edddc=_0x22b051;this['disposeWithMe'](this[_0x2edddc(0xdd)][_0x2edddc(0x16b)](_0x4fbb03[_0x2edddc(0x23a)],[we])),this['disposeWithMe'](this[_0x2edddc(0xdd)][_0x2edddc(0x16b)](_0x4fbb03[_0x2edddc(0x1d9)],[Le]));}[_0x22b051(0x284)](){const _0x5a7a80=_0x22b051;_0x4d178d(this[_0x5a7a80(0x1d1)],[[H],[se],[ce],[ie],[ne]]);}};function _0x2772(){const _0x32483c=['search','_labelPosition','flatMap','triggerDblclick','WECHAT_HAS_BEEN_BOUND','currentSkeleton$','InsertColCommandId','RemoveRowCommandId','sheetId','_scene','offline','6QCNcnr','replaceDocRanges','add','executeCommand','_docTransformIMECacheService','1em','UNAUTHENTICATED','delete','currentColor','getDocRanges','data','NOT_FOUND','_dataLoaderService','_send','_handleLeaveEvent','TOO_MANY_REQUESTS','onPointerLeave$','use','_urlService','_removeCollabCursors','InsertRangeMoveRightCommandId','SNAPSHOT_HAS_BEEN_REMOVED','_getSessionTicket','collabStatus.offline','getOffsetConfig','show','_sheetSkeletonManagerService','permission.content','moveTo','_scheduleSaving','size','_initEvent','collabStatus.notCollab','_session','EMAIL_HAS_BEEN_BOUND','APPLY_REJECT','unitID','setParam','symbol','_drawRectRange','addEventListener','indexOf','APPLY_REVISION_CONFILICT','_init','activeSheet$','makeDirty','_unitOnClients','APPLY_NON_SEQUENTIAL_REVISION','className','univer-online-status-title','_entityInit$','collabStatus.synced','isEditing','RemoveColCommandId','_injector','_collaborationUIEventService','transformIMECache','setConfig','_collabCursorState$','result','url(#$1','trim','UNIVER_SHEET','getStateCache','width','_startSheetCollabCursor','APPLY_PERMISSION_DENIED','length','_docSkeletonManagerService','lineTo','next','_notificationService','setTimeout','div','clearTimeout','defIds','save','debug','_cursorShapes','findNodePositionByCharIndex','clearInterval','_handleEvent','getViewport','INVALID_ARGUMENT','exhaustSavingTask','session.connection-failed','PY_RUNTIME_SCRIPT_ERROR','collaboration.closeRoom','tag','svg','_localStorageService','textRanges','type','addHandlerCallback','1743237DiPIqX','_initStatusListener','MoveRangeCommandId','FETCH_MISS','_clearOtherTimers','key','random','values','searchParams','parse','rgba(255,\x20255,\x20255,\x200.01)','CONFLICT','MOBILE_HAS_BEEN_BOUND','getRelativeToViewportCoord','override','fillText','unsubscribe','_createSocketURL','actions','getSkeleton','_context','getTypeOfUnitDisposed$','from','getItem','PERMISSION_DENIED','APPLY_DUPLICATED','saveImage','_refRangeService','_beforeCloseService','subUnitId','InsertRowCommandId','_heartbeatTimer','_drawAnchor','_initCommandExecutedListener','TEXT','AWAITING_WITH_PENDING','subunit','_scheduleClearOtherTimer','RECT','event$','toRgbString','INTERNAL_ERROR','_id','_backgroundColor','onlineStatusTitle','_selfUnitIDs','collabCursorState$','CHANGESET_REVISION_CONFILICT','_onCursorDelete','hide','addObject','labelPosition','_anchorDot','#fff','transformMutationsWithChangeset','onPointerEnter$','selections','split','_updateSubUnitFromURLParams','_setupBeforeClosingHandler','transformMutation','complete','_collabCursorController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','452703RcCtHs','UNIVER_DOC','on-line-single_clip0_910_349','SYNCED','_document','deepClone','mask','UNDEFINED','setUndoRedoMutationParamsCache','3288111PNPKui','YUUMI_URL_COL_OUT_OF_RANGE','_transformHistoryAndStateStack','UNRECOGNIZED','_httpService','PENDING','_draw','1160664eUdoCE','online','_saveTaskMap','selection','_updateCollabCursors','collabStatus.conflict','_initEntityListener','setInterval','_toggleOffline','name','getRangePointData','0\x200\x2017\x2016','getCurrentSelections','subscribeEvent','LICENSE_EXPORT_SIZE_EXCEEDED','dispose','unshift','has','INVALID_INVITE_CODE','urlChange$','DeleteRangeMoveLeftCommandId','min','UPDATE_CURSOR','loadOfflineData','_drawTextRange','getCurrentRevOfUnit','#FFF','getUndoRedoMutationParamsCache','text','dispose$','_name','runId','asObservable','pipe','application/json','onPointerMove$','prototype','collaboration-client.offline-data-not-saved','FromArray','_hideTimer','code','attrs','LICENSE_IMPORT_SIZE_EXCEEDED','_eventUnsubscribe','startsWith','YUUMI_RATE_OVER_LIMIT','editingUnit','jiqing500','_status$','_docSkeleton','univerjs-icon\x20univerjs-icon-','_getSaveTimeout','drawWith','_handleJoinEvent','endRow','setAlpha','YUUMI_ASYNCIO_CANCELLED','disposeUnit','_registerRenderDependencies','_initDependencies','INVITE_CODE_HAS_BEEN_UES','unit','_imageIoService','_getMergeRange','error','getActiveSheet','_docTransformSelectionsService','getOwnPropertyDescriptor','m1Prime','updateOfflineData','_config','SNAPSHOT_INVALID_SNAPSHOT','getCellPositionByOffset','onCommandExecuted','_transformPreviousActiveRange','url(#off-line-single_clip0_910_343)','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','beginPath','icon','m2Prime','_configService','collaboration.single-unit.warning','_shapes','YUUMI_UNABLE_LOAD_URL','onLocalMutation','session.collaboration-timeout','generateRandomId','83489NVfhau','_roomMembers$','height','defs','displayName','_render','NO_OTHER_CLIENTS_EDITING','getActiveRange','ALREADY_EXISTS','setStateCache','unitId','collab-rect-range-','currentTheme$','subscribe','OTHER_CLIENTS_EDITING','push','14430471gGWvDk','toString','enableLocalCache','addClipboardHook','setShapeProps','collabStatus.syncing','registerRefRange','with','_localCacheService','docStateChange$','univer-online-status-icon','_online','_docTransformStateCacheService','_docStateChangeManagerService','assignAColorForMemberID','xlink:href','CONNECTOR_DATA_TOO_LARGE','removeParam','sessionStatus$','univer-offline','propertyIsEnumerable','idSuffix','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','doc.mutation.rich-text-editing','OffLineSingle','ACTIVE_UNIT_EVENT_CHANNEL','getSheetBySheetId','hasOwnProperty','registerComponent','_handleHover','ranges','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getAncestorScale','_toggleOnline','univer-online-status','column','_commandService','_updateURLWithCurrentState','onlineStatusIcon','call','popstate','Unknown\x20user','init','black','_univerInstanceService','_refreshCollabCursors','whenReady','_colorAssignService','location','transform','hovered','syncEditingCollabCursor','requireSession','getMergeData','href','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','_renderManagerService','none','_cursorInfo$','_memberService','concat','focused$','USER_NOT_INVITED_CODE','createInstance','Warning','OFFLINE','10dDZHww','getParam','univer-online','transformStateCache','replace','backgroundColor','_getScale','get','sessionTicket','translate(.97)','_transformUndoRedoStack','_hovered','reconnect','arc','getTypeOfUnitAdded$','LICENSE_MAX_UNITS_EXCEEDED','measureText','SOCKET_FAILED','getUniverSheetInstance','collab-text-range-','_setupSubUnitSync','undoState','permission.title','params','Failed','VIEW_MAIN','isArray','fill','path','_unitStatus','_initResize','getMemberID','SOCKET_FAILED_RETRY','_uiPartsService','bottom','_updateLocalCursor','INVITE_CODE_REQUIRED','getConfig','_logService','range','map','_transformService','roomMembers','forEach','_disabled','AWAITING','getSheetId','USERS_LEAVE','redoState','closePath','NOT_COLLAB','isActive','uni.network.url-service','mutations','getUnitId','skeleton','Error','2aRyvXV','on-line-single','substring','evenodd','_localeService','replaceState','collaboration-client-ui.config','getFocusedUnit','_onRefRangeChange','cursorInfo','12xAWjgY','4129935oNnTmD','_syncEditingCollabCursorService','_cursors','_ensureSubject','collabStatus.fetchMiss','transformRemoteChangeset','all','unload','getCollabEntity$','ONLINE','blue400','current','_lastPointer','LICENSE_DISTRO_REJECTED','_hover','_messageService','_registerDependencies','onRendered','cursorInfo$','setItem','336TAvBaD','UniverIcon','registerBeforeClose','origin','endColumn','invokeId','ticket','off-line-single_clip0_910_343','fillStyle','eventID','saveTaskMap','_initStatusComponent','string','entityInit$','fillRule','transformByState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','assign','_revisionService','OnLineSingle','color','row','colorChannel1','addObjects','_cachedData','0\x200\x2016\x2016','_colorIndex','_cursor','wsSessionTicketUrl','_themeService','_color','COMPLETION_FINISHED','url(#on-line-single_clip0_910_349)','engine','children','_textBubble','history','newValue','_assignedColors','_entities','LOGIN_FAILED','_collabSessionService','loadUnit','registerRenderModule','/run/','YUUMI_NO_CUBOID_FOR_QUESTION','createSocket','disposeWithMe','body','_docSyncEditingCollabCursorService','getRenderById','then','CLOSE_ROOM','gold400','restore','_range','_anchor','round','_collaborationController','M0\x200H16V16H0z','roomMembers$','getUnitStatus$','...','_saveCache','top','_onCursorUpdate','_startDocCollabCursor','getMember','transformSelections','getOwnPropertySymbols','getCurrentUnitForType','getCollabCursors$','_instanceService','stringify','_removeClearOtherTimer','set','_getAnchorBounding','[CollaborationDataLoaderController]','_handleHeartbeatEvent','extend'];_0x2772=function(){return _0x32483c;};return _0x2772();}En(ye,'pluginName',bn),ye=Cn([_0x4a2eb1(_0x544f94),Oe(0x1,_0x1e87f3),Oe(0x2,_0x53179b(_0xf6a735)),Oe(0x3,_0x2af28c)],ye);var On=Object[_0x22b051(0x28c)],Tn=(_0x3b3f61,_0x35c016,_0x32d95b,_0x3bb001)=>{for(var _0x2232a1=_0x3bb001>0x1?void 0x0:_0x3bb001?On(_0x35c016,_0x32d95b):_0x35c016,_0x49bc1f=_0x3b3f61['length']-0x1,_0x5180c8;_0x49bc1f>=0x0;_0x49bc1f--)(_0x5180c8=_0x3b3f61[_0x49bc1f])&&(_0x2232a1=_0x5180c8(_0x2232a1)||_0x2232a1);return _0x2232a1;},z=(_0x6ad1fb,_0x611842)=>(_0x33de31,_0x18b9ab)=>_0x611842(_0x33de31,_0x18b9ab,_0x6ad1fb);let nt=class extends _0x1ed0ab{constructor(_0x4b6e3e,_0x4b333c,_0x3bafb7,_0x2ad45e,_0x4048ce){super(_0x4b6e3e,_0x4b333c,_0x3bafb7,_0x2ad45e,_0x4048ce);}async[_0x22b051(0x16e)](_0x1f6a80){const _0x280c51=_0x22b051,_0x5ba8e3=await this[_0x280c51(0x1b1)](),_0x535446=this[_0x280c51(0x20a)](_0x1f6a80,_0x5ba8e3);return this['_doCreateSocket'](_0x535446);}[_0x22b051(0x20a)](_0x11d4a8,_0x443bef){const _0x247687=_0x22b051,_0x36b8cc=typeof window>'u'?new URL(_0x11d4a8):new URL(_0x11d4a8,window[_0x247687(0xd5)][_0x247687(0x142)]);_0x36b8cc[_0x247687(0x201)][_0x247687(0x18b)](_0x247687(0xef),_0x443bef);const _0x27da54=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x247687(0x190)]);return _0x27da54[_0x247687(0xee)]('runId')&&_0x36b8cc[_0x247687(0x201)][_0x247687(0x18b)](_0x247687(0x268),_0x27da54[_0x247687(0xee)](_0x247687(0x268))),_0x36b8cc['toString']();}async[_0x22b051(0x1b1)](){const _0x428e98=_0x22b051;var _0x150693,_0x2b3dfd,_0x3fb4ab;const _0x40159b=this['_configService'][_0x428e98(0x10c)](_0x2bd226),_0x4bc484=(_0x150693=_0x40159b==null?void 0x0:_0x40159b[_0x428e98(0x15c)])!=null?_0x150693:_0x3dae3e;return(_0x3fb4ab=(_0x2b3dfd=(await this['_httpService'][_0x428e98(0xee)](_0x4bc484,{'headers':{'Content-Type':_0x428e98(0x26b)}}))['body'])==null?void 0x0:_0x2b3dfd[_0x428e98(0x145)])!=null?_0x3fb4ab:'';}};nt=Tn([z(0x0,_0x53179b(_0xf6a735)),z(0x1,_0x53179b(_0x4abf29)),z(0x2,_0x2af28c),z(0x3,_0x336e49),z(0x4,_0x285521)],nt);const rt=0x7530,ot=_0x22b051(0xbe);class Gn extends _0x59267c{constructor(){const _0x314f32=_0x22b051;super(),_(this,_0x314f32(0x223),_0xa02ef3()),_(this,_0x314f32(0x226),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x314f32(0x1fd),new Map()),_(this,'_unitStatus',new Map()),this[_0x314f32(0x1c6)]();}[_0x22b051(0x258)](){const _0x4bb57a=_0x22b051;super[_0x4bb57a(0x258)](),this[_0x4bb57a(0x1fd)]['forEach']((_0x3c7f97,_0x13009c)=>this['_removeClearOtherTimer'](_0x13009c)),this[_0x4bb57a(0x218)]&&window[_0x4bb57a(0x1eb)](this[_0x4bb57a(0x218)]);}[_0x22b051(0x17d)](_0x4cb8d7){const _0x53ed26=_0x22b051;return this[_0x53ed26(0x12e)](_0x4cb8d7)[_0x53ed26(0x26a)](_0x599d6b());}[_0x22b051(0x277)](_0x391135){const _0x5a17b5=_0x22b051;this[_0x5a17b5(0x226)][_0x5a17b5(0x1b9)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5a17b5(0x226)][_0x5a17b5(0x19d)](_0x391135),this[_0x5a17b5(0x1a8)]({'type':0x0,'memberID':this[_0x5a17b5(0x223)],'unitIDs':[_0x391135],'isForwarded':!0x1});}[_0x22b051(0x282)](_0x580018){const _0x233cb5=_0x22b051;this[_0x233cb5(0x226)][_0x233cb5(0x1a2)](_0x580018),this[_0x233cb5(0x226)][_0x233cb5(0x1b9)]===0x0&&this[_0x233cb5(0x218)]&&window[_0x233cb5(0x1eb)](this[_0x233cb5(0x218)]);}[_0x22b051(0x1c6)](){const _0x3e2fe3=_0x22b051;this[_0x3e2fe3(0x16f)](_0x371d01(_0x35e0e3(window,'storage')['subscribe'](_0x3302fa=>{const _0x5995cd=_0x3e2fe3;if(_0x3302fa[_0x5995cd(0x1fe)]!==ot||!_0x3302fa[_0x5995cd(0x165)])return;const _0x18caee=JSON[_0x5995cd(0x202)](_0x3302fa[_0x5995cd(0x165)]);this['_handleEvent'](_0x18caee);}))),window[_0x3e2fe3(0x1c3)](_0x3e2fe3(0x132),()=>this[_0x3e2fe3(0x1a8)]({'type':0x1,'memberID':this[_0x3e2fe3(0x223)],'unitIDs':Array[_0x3e2fe3(0x20f)](this[_0x3e2fe3(0x226)])}));}[_0x22b051(0x1ec)](_0x396a6d){const _0x3d438a=_0x22b051;switch(_0x396a6d[_0x3d438a(0x1f7)]){case 0x0:this['_handleJoinEvent'](_0x396a6d);break;case 0x1:this[_0x3d438a(0x1a9)](_0x396a6d);break;case 0x2:this[_0x3d438a(0x18e)](_0x396a6d);break;}}[_0x22b051(0x27e)](_0x16cefc){const _0x293578=_0x22b051,{unitIDs:_0x2533ba,memberID:_0x20465b,isForwarded:_0x560a20}=_0x16cefc;_0x2533ba[_0x293578(0x112)](_0x768216=>{const _0x40df3b=_0x293578;if(!_0x560a20&&this[_0x40df3b(0x1c9)][_0x40df3b(0x25a)](_0x768216)&&this[_0x40df3b(0x12e)](_0x768216)[_0x40df3b(0x1e1)](_0x4ea8b0['OTHER_CLIENTS_EDITING']),!this[_0x40df3b(0x1c9)][_0x40df3b(0x25a)](_0x768216)||!this[_0x40df3b(0x1c9)][_0x40df3b(0xee)](_0x768216)[_0x40df3b(0x25a)](_0x20465b)){const _0x451b61=this[_0x40df3b(0x1c9)]['get'](_0x768216)||new Set();_0x451b61[_0x40df3b(0x19d)](_0x20465b),this[_0x40df3b(0x1c9)][_0x40df3b(0x18b)](_0x768216,_0x451b61),this[_0x40df3b(0x21e)](_0x20465b);}}),_0x560a20||this[_0x293578(0x1a8)]({'type':0x0,'memberID':this[_0x293578(0x223)],'unitIDs':[...this[_0x293578(0x226)]],'isForwarded':!0x0});}[_0x22b051(0x21e)](_0x263bea){const _0x991eaf=_0x22b051;this[_0x991eaf(0x18a)](_0x263bea);const _0x25c73d=window[_0x991eaf(0x1e3)](()=>{const _0x13454e=_0x991eaf;this[_0x13454e(0x1c9)][_0x13454e(0x112)](_0x4c6d74=>{_0x4c6d74['delete'](_0x263bea);});},rt*0x2);this[_0x991eaf(0x1fd)][_0x991eaf(0x18b)](_0x263bea,_0x25c73d);}[_0x22b051(0x18a)](_0x5dea0f){const _0x5ebd8d=_0x22b051;if(this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0x25a)](_0x5dea0f)){const _0x2bdbee=this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0xee)](_0x5dea0f);_0x2bdbee&&window['clearTimeout'](_0x2bdbee),this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0x18b)](_0x5dea0f,null);}}[_0x22b051(0x1a9)](_0x5d0b58){const _0x11850a=_0x22b051,{memberID:_0x1bd5cb,unitIDs:_0x1f0fba}=_0x5d0b58;_0x1f0fba['forEach'](_0x556104=>{const _0x3fb1d4=_0x324a;var _0x29837e;const _0x4ebcbf=this['_unitOnClients']['get'](_0x556104);_0x4ebcbf&&(_0x4ebcbf[_0x3fb1d4(0x1a2)](_0x1bd5cb),(_0x29837e=this[_0x3fb1d4(0x12e)](_0x556104))==null||_0x29837e[_0x3fb1d4(0x1e1)](_0x4ebcbf[_0x3fb1d4(0x1b9)]===0x0?_0x4ea8b0[_0x3fb1d4(0x2a7)]:_0x4ea8b0[_0x3fb1d4(0xa2)]));}),this[_0x11850a(0x18a)](_0x1bd5cb);}[_0x22b051(0x18e)](_0x1fa7b8){const _0x1018b6=_0x22b051;this[_0x1018b6(0x21e)](_0x1fa7b8['memberID']);}[_0x22b051(0x1a8)](_0x554370){const _0x4d426a=_0x22b051;localStorage[_0x4d426a(0x13e)](ot,JSON[_0x4d426a(0x189)](_0x554370));}['_scheduleHeartbeat'](){const _0x3dcfc0=_0x22b051;this[_0x3dcfc0(0x218)]=window[_0x3dcfc0(0x250)](()=>{const _0x30ae8a=_0x3dcfc0;this[_0x30ae8a(0x1a8)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x22b051(0x12e)](_0x212294){const _0x21a236=_0x22b051;return this[_0x21a236(0x104)][_0x21a236(0x25a)](_0x212294)||this['_unitStatus'][_0x21a236(0x18b)](_0x212294,new _0x1e28f7(_0x4ea8b0[_0x21a236(0x2a7)])),this[_0x21a236(0x104)][_0x21a236(0xee)](_0x212294);}}var wt=(_0x151583=>(_0x151583[_0x151583['UNDEFINED']=0x0]=_0x22b051(0x240),_0x151583[_0x151583['OK']=0x1]='OK',_0x151583[_0x151583[_0x22b051(0x222)]=0x2]='INTERNAL_ERROR',_0x151583[_0x151583['PERMISSION_DENIED']=0x3]=_0x22b051(0x211),_0x151583[_0x151583[_0x22b051(0x1a6)]=0x4]='NOT_FOUND',_0x151583[_0x151583[_0x22b051(0x1a1)]=0x5]=_0x22b051(0x1a1),_0x151583[_0x151583[_0x22b051(0x2a9)]=0x6]=_0x22b051(0x2a9),_0x151583[_0x151583['INVALID_ARGUMENT']=0x7]=_0x22b051(0x1ee),_0x151583[_0x151583['TOO_MANY_REQUESTS']=0x8]=_0x22b051(0x1aa),_0x151583[_0x151583[_0x22b051(0x15f)]=0x9]=_0x22b051(0x15f),_0x151583[_0x151583[_0x22b051(0x168)]=0xa]=_0x22b051(0x168),_0x151583[_0x151583[_0x22b051(0x228)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x151583[_0x151583[_0x22b051(0x290)]=0x1771]=_0x22b051(0x290),_0x151583[_0x151583[_0x22b051(0x1b0)]=0x1772]=_0x22b051(0x1b0),_0x151583[_0x151583[_0x22b051(0x150)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x151583[_0x151583[_0x22b051(0x1be)]=0x1b59]=_0x22b051(0x1be),_0x151583[_0x151583['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x22b051(0x1ca),_0x151583[_0x151583[_0x22b051(0x1c5)]=0x1b5b]=_0x22b051(0x1c5),_0x151583[_0x151583['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22b051(0x1dd),_0x151583[_0x151583[_0x22b051(0x212)]=0x1b5d]='APPLY_DUPLICATED',_0x151583[_0x151583['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22b051(0xb4),_0x151583[_0x151583[_0x22b051(0xf6)]=0x2329]=_0x22b051(0xf6),_0x151583[_0x151583['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x151583[_0x151583[_0x22b051(0x273)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x151583[_0x151583['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x22b051(0x257),_0x151583[_0x151583[_0x22b051(0x138)]=0x232d]=_0x22b051(0x138),_0x151583[_0x151583[_0x22b051(0x29d)]=0x2711]=_0x22b051(0x29d),_0x151583[_0x151583[_0x22b051(0x243)]=0x2712]=_0x22b051(0x243),_0x151583[_0x151583[_0x22b051(0x276)]=0x2713]=_0x22b051(0x276),_0x151583[_0x151583[_0x22b051(0x296)]=0x2714]=_0x22b051(0x296),_0x151583[_0x151583[_0x22b051(0x16d)]=0x271a]=_0x22b051(0x16d),_0x151583[_0x151583[_0x22b051(0x281)]=0x271b]=_0x22b051(0x281),_0x151583[_0x151583['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x22b051(0x1f1),_0x151583[_0x151583[_0x22b051(0x285)]=0x2ee1]=_0x22b051(0x285),_0x151583[_0x151583[_0x22b051(0x25b)]=0x2ee2]=_0x22b051(0x25b),_0x151583[_0x151583['INVITE_CODE_REQUIRED']=0x2ee3]=_0x22b051(0x10b),_0x151583[_0x151583[_0x22b051(0xe3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x151583[_0x151583[_0x22b051(0xbb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x151583[_0x151583[_0x22b051(0x194)]=0x32c9]=_0x22b051(0x194),_0x151583[_0x151583[_0x22b051(0x205)]=0x32ca]=_0x22b051(0x205),_0x151583[_0x151583[_0x22b051(0x1bd)]=0x32cb]=_0x22b051(0x1bd),_0x151583[_0x151583[_0x22b051(0x245)]=-0x1]=_0x22b051(0x245),_0x151583))(wt||{}),Rn=Object[_0x22b051(0x28c)],Dn=(_0x379741,_0x2b13e4,_0x1607dd,_0x17387f)=>{const _0x2e633b=_0x22b051;for(var _0x87fb5a=_0x17387f>0x1?void 0x0:_0x17387f?Rn(_0x2b13e4,_0x1607dd):_0x2b13e4,_0x2118e3=_0x379741[_0x2e633b(0x1de)]-0x1,_0x5c41e8;_0x2118e3>=0x0;_0x2118e3--)(_0x5c41e8=_0x379741[_0x2118e3])&&(_0x87fb5a=_0x5c41e8(_0x87fb5a)||_0x87fb5a);return _0x87fb5a;},Te=(_0x230ef6,_0x528ed1)=>(_0x475d75,_0x562b5b)=>_0x528ed1(_0x475d75,_0x562b5b,_0x230ef6);let at=class extends _0x59267c{constructor(_0x5c971e,_0x29cfe7,_0x2d7c93){const _0xc25632=_0x22b051;super(),this['_instanceService']=_0x5c971e,this[_0xc25632(0x246)]=_0x29cfe7,this[_0xc25632(0x29a)]=_0x2d7c93;}async['runOnServer'](_0x48c7b0,_0x3f4bc5,_0x5a3e19,..._0x524c3a){const _0x39971d=_0x22b051;var _0x453953,_0x1372b5,_0x30c013,_0x14c379;const _0x51a9c4=this[_0x39971d(0x188)][_0x39971d(0x127)]();if(!_0x51a9c4)throw new Error(_0x39971d(0x238));const _0x3cda07=((_0x453953=this[_0x39971d(0x29a)]['getConfig'](_0xa31bce))!=null?_0x453953:_0x11794a)+'/'+_0x48c7b0+_0x39971d(0x16c)+_0x3f4bc5,_0xf228c8=new URL(window[_0x39971d(0xd5)][_0x39971d(0xdb)]),_0x1cb89b={'scriptId':_0x48c7b0,'runId':(_0x1372b5=_0xf228c8[_0x39971d(0x201)][_0x39971d(0xee)](_0x39971d(0x268)))!=null?_0x1372b5:'','function':_0x3f4bc5,'unitId':_0x51a9c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x524c3a),'invokeId':(_0x30c013=_0x5a3e19[_0x39971d(0x144)])!=null?_0x30c013:'','executionId':(_0x14c379=_0x5a3e19['executionId'])!=null?_0x14c379:''};try{const _0x50538a=await this[_0x39971d(0x246)]['post'](_0x3cda07,{'body':_0x1cb89b});return _0x50538a['body'][_0x39971d(0x289)]&&_0x50538a[_0x39971d(0x170)][_0x39971d(0x289)][_0x39971d(0x271)]!==wt['OK']?_0x39971d(0xff):_0x50538a['body'][_0x39971d(0x1d6)];}catch{return _0x39971d(0xff);}}};at=Dn([Te(0x0,_0x194a7a),Te(0x1,_0x53179b(_0x4abf29)),Te(0x2,_0x2af28c)],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
- function _0x109c(_0x3061f3,_0x50b3af){const _0x242a6b=_0x242a();return _0x109c=function(_0x109cc8,_0x468acc){_0x109cc8=_0x109cc8-0x1bf;let _0x36fd1a=_0x242a6b[_0x109cc8];return _0x36fd1a;},_0x109c(_0x3061f3,_0x50b3af);}const _0x233b37=_0x109c;(function(_0xebe480,_0x577276){const _0x2dcda8=_0x109c,_0x10d637=_0xebe480();while(!![]){try{const _0x1e0c0d=-parseInt(_0x2dcda8(0x1d5))/0x1*(parseInt(_0x2dcda8(0x1d4))/0x2)+parseInt(_0x2dcda8(0x1c3))/0x3+parseInt(_0x2dcda8(0x1d1))/0x4+parseInt(_0x2dcda8(0x1bf))/0x5+-parseInt(_0x2dcda8(0x1c9))/0x6+-parseInt(_0x2dcda8(0x1d0))/0x7*(parseInt(_0x2dcda8(0x1c8))/0x8)+-parseInt(_0x2dcda8(0x1c5))/0x9*(-parseInt(_0x2dcda8(0x1cc))/0xa);if(_0x1e0c0d===_0x577276)break;else _0x10d637['push'](_0x10d637['shift']());}catch(_0x2a967a){_0x10d637['push'](_0x10d637['shift']());}}}(_0x242a,0x59297));const e={'collab-client':{'tooltip':{'reconnect':_0x233b37(0x1d2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x233b37(0x1cb),'notCollab':_0x233b37(0x1cf),'synced':_0x233b37(0x1c7),'syncing':_0x233b37(0x1c4),'offline':_0x233b37(0x1d7)},'session':{'connection-failed':_0x233b37(0x1ce),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x233b37(0x1d3),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x233b37(0x1c6),'content':_0x233b37(0x1ca)},'permission':{'title':_0x233b37(0x1cd),'content':_0x233b37(0x1c0)},'collaboration':{'single-unit':{'warning':_0x233b37(0x1c1)},'closeRoom':_0x233b37(0x1d6)},'auth':{'needGotoLoginAlert':_0x233b37(0x1c2)}};function _0x242a(){const _0x4a927d=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','82868RJTOMW','3nuGhbs','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','566090GmTPIT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1869792yVdKLd','Syncing...','2162439FWSzDE','Collaboration\x20Conflict','Synced','184TiRnvS','1272534AqhzPX','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.','Edit\x20conflicts','10EBZRyO','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','195433jFDkmt','1467928Adjatr','Click\x20to\x20Reconnect'];_0x242a=function(){return _0x4a927d;};return _0x242a();}export{e as default};
1
+ const _0x203443=_0x5a9f;(function(_0x2f5374,_0xed1cd1){const _0x545ff5=_0x5a9f,_0x4c2828=_0x2f5374();while(!![]){try{const _0x5ef818=parseInt(_0x545ff5(0x141))/0x1+parseInt(_0x545ff5(0x14b))/0x2*(-parseInt(_0x545ff5(0x13b))/0x3)+parseInt(_0x545ff5(0x14d))/0x4+parseInt(_0x545ff5(0x14f))/0x5*(-parseInt(_0x545ff5(0x147))/0x6)+parseInt(_0x545ff5(0x13c))/0x7+parseInt(_0x545ff5(0x148))/0x8+-parseInt(_0x545ff5(0x144))/0x9;if(_0x5ef818===_0xed1cd1)break;else _0x4c2828['push'](_0x4c2828['shift']());}catch(_0x50785b){_0x4c2828['push'](_0x4c2828['shift']());}}}(_0x521d,0x9e0db));function _0x5a9f(_0x107f4c,_0x4795c6){const _0x521d47=_0x521d();return _0x5a9f=function(_0x5a9f64,_0x3e12ad){_0x5a9f64=_0x5a9f64-0x13a;let _0x42d2d9=_0x521d47[_0x5a9f64];return _0x42d2d9;},_0x5a9f(_0x107f4c,_0x4795c6);}const e={'collab-client':{'tooltip':{'reconnect':_0x203443(0x151)}},'collabStatus':{'fetchMiss':_0x203443(0x13a),'conflict':'Edit\x20conflicts','notCollab':_0x203443(0x146),'synced':_0x203443(0x152),'syncing':_0x203443(0x150),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x203443(0x13d),'will-retry':_0x203443(0x149),'room-full':_0x203443(0x145),'collaboration-timeout':_0x203443(0x143)},'conflict':{'title':_0x203443(0x14a),'content':_0x203443(0x13f)},'permission':{'title':_0x203443(0x140),'content':_0x203443(0x14e)},'collaboration':{'single-unit':{'warning':_0x203443(0x142)},'closeRoom':_0x203443(0x13e)},'auth':{'needGotoLoginAlert':_0x203443(0x14c)}};function _0x521d(){const _0x12271f=['Authentication\x20Error','828789YMOIAa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','12880827xfspMn','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','156wgEHWp','9523224JnZDgb','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','2CuBwvB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3965192hgWgTG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','44005ESoIwZ','Syncing...','Click\x20to\x20Reconnect','Synced','Syncing\x20server\x20data...','3423297VzrVYL','3066175uVwwhZ','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.'];_0x521d=function(){return _0x12271f;};return _0x521d();}export{e as default};
@@ -1 +1 @@
1
- function _0x29de(_0xeb347e,_0x3a994a){const _0x4fb0f7=_0x4fb0();return _0x29de=function(_0x29de31,_0x26f187){_0x29de31=_0x29de31-0x1cd;let _0x27de69=_0x4fb0f7[_0x29de31];return _0x27de69;},_0x29de(_0xeb347e,_0x3a994a);}const _0x2a2f48=_0x29de;(function(_0x16d2d1,_0x7b13ae){const _0x5c6331=_0x29de,_0x12e030=_0x16d2d1();while(!![]){try{const _0x2c6847=parseInt(_0x5c6331(0x1e2))/0x1*(parseInt(_0x5c6331(0x1d8))/0x2)+-parseInt(_0x5c6331(0x1e1))/0x3+parseInt(_0x5c6331(0x1d6))/0x4*(parseInt(_0x5c6331(0x1e4))/0x5)+parseInt(_0x5c6331(0x1d0))/0x6+-parseInt(_0x5c6331(0x1dc))/0x7*(-parseInt(_0x5c6331(0x1de))/0x8)+parseInt(_0x5c6331(0x1e3))/0x9+-parseInt(_0x5c6331(0x1db))/0xa;if(_0x2c6847===_0x7b13ae)break;else _0x12e030['push'](_0x12e030['shift']());}catch(_0x2fbec6){_0x12e030['push'](_0x12e030['shift']());}}}(_0x4fb0,0xa2ae4));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2a2f48(0x1cf),'conflict':_0x2a2f48(0x1ce),'notCollab':_0x2a2f48(0x1da),'synced':_0x2a2f48(0x1d4),'syncing':_0x2a2f48(0x1d7),'offline':_0x2a2f48(0x1df)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2a2f48(0x1e0),'room-full':_0x2a2f48(0x1d1),'collaboration-timeout':_0x2a2f48(0x1d9)},'conflict':{'title':_0x2a2f48(0x1dd),'content':_0x2a2f48(0x1d5)},'permission':{'title':_0x2a2f48(0x1d3),'content':_0x2a2f48(0x1d2)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x2a2f48(0x1cd)}};export{o as default};function _0x4fb0(){const _0x4b9081=['اتاق\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رفت.','1429044vFhGck','در\x20حال\x20همگام\x20سازی...','2GMVvxE','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','19355360fAlaxI','28gjBQTl','تداخل\x20همکاری','1212344Hdhtnx','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','3444456ZsoArd','412209fvWUcH','8791488nNDvFc','15UsjoyW','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','4098192LQTCRT'];_0x4fb0=function(){return _0x4b9081;};return _0x4fb0();}
1
+ const _0x49c9aa=_0x45bd;function _0x45bd(_0x2d498d,_0x195f11){const _0x430d47=_0x430d();return _0x45bd=function(_0x45bd39,_0x4094b2){_0x45bd39=_0x45bd39-0x1c1;let _0x202c27=_0x430d47[_0x45bd39];return _0x202c27;},_0x45bd(_0x2d498d,_0x195f11);}function _0x430d(){const _0x5bd650=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','2949360PwMPFG','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','خطای\x20اعتبارسنجی','965567UpQuEo','1734292mbGKWO','تداخل\x20همکاری','12xAVakF','24894DwetLh','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1000wbMUWk','2556035uAlVTD','54504fHoqGQ','همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','16hLpraq','579458rLfLLz','4yBqyce','در\x20حال\x20همگام\x20سازی...','300FRpOjy','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.'];_0x430d=function(){return _0x5bd650;};return _0x430d();}(function(_0xff45b1,_0x54d819){const _0x215e0c=_0x45bd,_0x395271=_0xff45b1();while(!![]){try{const _0xa720da=-parseInt(_0x215e0c(0x1c7))/0x1+parseInt(_0x215e0c(0x1d2))/0x2*(-parseInt(_0x215e0c(0x1cb))/0x3)+-parseInt(_0x215e0c(0x1d4))/0x4*(parseInt(_0x215e0c(0x1ce))/0x5)+-parseInt(_0x215e0c(0x1ca))/0x6*(-parseInt(_0x215e0c(0x1c8))/0x7)+-parseInt(_0x215e0c(0x1c3))/0x8+-parseInt(_0x215e0c(0x1cf))/0x9*(-parseInt(_0x215e0c(0x1cd))/0xa)+parseInt(_0x215e0c(0x1d3))/0xb*(parseInt(_0x215e0c(0x1d6))/0xc);if(_0xa720da===_0x54d819)break;else _0x395271['push'](_0x395271['shift']());}catch(_0x344646){_0x395271['push'](_0x395271['shift']());}}}(_0x430d,0x7b97a));const o={'collab-client':{'tooltip':{'reconnect':_0x49c9aa(0x1c1)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x49c9aa(0x1c4),'notCollab':'پرونده\x20محلی','synced':_0x49c9aa(0x1d0),'syncing':_0x49c9aa(0x1d5),'offline':_0x49c9aa(0x1c2)},'session':{'connection-failed':_0x49c9aa(0x1d7),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x49c9aa(0x1c9),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x49c9aa(0x1c6),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x49c9aa(0x1cc)},'closeRoom':_0x49c9aa(0x1c5)},'auth':{'needGotoLoginAlert':_0x49c9aa(0x1d1)}};export{o as default};