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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _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 _0x4e6031=_0x580c;(function(_0x4c2a43,_0x37894c){const _0x299c5f=_0x580c,_0x5994b7=_0x4c2a43();while(!![]){try{const _0x5ca101=parseInt(_0x299c5f(0x22f))/0x1+-parseInt(_0x299c5f(0xfd))/0x2+-parseInt(_0x299c5f(0x23b))/0x3+parseInt(_0x299c5f(0x2a6))/0x4*(parseInt(_0x299c5f(0x2a9))/0x5)+parseInt(_0x299c5f(0x1ae))/0x6+parseInt(_0x299c5f(0x1da))/0x7*(parseInt(_0x299c5f(0x189))/0x8)+parseInt(_0x299c5f(0x110))/0x9*(-parseInt(_0x299c5f(0x1af))/0xa);if(_0x5ca101===_0x37894c)break;else _0x5994b7['push'](_0x5994b7['shift']());}catch(_0x3e3174){_0x5994b7['push'](_0x5994b7['shift']());}}}(_0x3602,0x527d2));var Bt=Object[_0x4e6031(0x211)],kt=(_0x1a6901,_0x5bcd2c,_0xffd4fc)=>_0x5bcd2c in _0x1a6901?Bt(_0x1a6901,_0x5bcd2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xffd4fc}):_0x1a6901[_0x5bcd2c]=_0xffd4fc,_=(_0x291583,_0x38dfed,_0x59e2b6)=>kt(_0x291583,typeof _0x38dfed!=_0x4e6031(0x1fa)?_0x38dfed+'':_0x38dfed,_0x59e2b6);import{MemberService as _0x21cf38,SessionStatus as _0x4deb1a,CollaborationSessionService as _0x160800,CollaborationStatus as _0x15a744,CollaborationController as _0x27a615,ILocalCacheService as _0x369419,CollaborationUIEventService as _0x55b9f5,CollaborationUIEventId as _0xbd7dc5,DataLoaderService as _0x3f6054,DocCollaborationEntity as _0x30e95f,getLocalCacheKey as _0x5692d7,LOCAL_CACHE_INTERVAL as _0x2be77d,LOCAL_CACHE_INTERVAL_KEY as _0x51a5af,UniverCollaborationClientPlugin as _0x2eecf1,CollaborationSocketService as _0x4304dc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x36c723,DEFAULT_WS_SESSION_TICKET_URL as _0x1603d7,UnitStatus as _0x559aad,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7e84b6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x463d62}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3c0a88,Disposable as _0x45fd26,DOC_RANGE_TYPE as _0x233267,Inject as _0x296b66,Injector as _0x19dc78,IUniverInstanceService as _0x42b704,ICommandService as _0x32af02,debounce as _0x1261cd,Rectangle as _0x11c39d,DisposableCollection as _0x3a0e34,toDisposable as _0x119248,UniverInstanceType as _0x2246f5,Tools as _0x1b1371,COLORS as _0x57d465,ColorKit as _0x3ee062,ThemeService as _0x174a37,fromEventSubject as _0x51885d,LocaleService as _0x5c3969,createIdentifier as _0x28476e,ILogService as _0x30d997,Optional as _0x470714,Workbook as _0x50af68,CommandType as _0x448814,IConfigService as _0x54d5a8,ILocalStorageService as _0x36b990,DependentOn as _0x263def,Plugin as _0xb700b5,merge as _0x3a1a3c,registerDependencies as _0x4a8e7b,mergeOverrideWithDependencies as _0x39a8e2,touchDependencies as _0x4a3abc,generateRandomId as _0x54c139}from'@univerjs/core';import{Shape as _0x479116,Rect as _0xcd54e,getColor as _0x1c8356,RegularPolygon as _0x433705,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b53c9,Vector2 as _0x57087f,SHEET_VIEWPORT_KEY as _0x2f89be,IRenderManagerService as _0x31453e}from'@univerjs/engine-render';import{ISocketService as _0x111fb7,WebSocketService as _0x4bf45b,HTTPService as _0x499a00}from'@univerjs/network';import{IDocClipboardService as _0x4d40e4,NodePositionConvertToCursor as _0x583414,NodePositionConvertToRectRange as _0x58ed54,TEXT_RANGE_LAYER_INDEX as _0x487b36,SetDocZoomRatioOperation as _0x33a759,DocIMEInputManagerService as _0x20ce97,DocStateChangeManagerService as _0x2ed6d1}from'@univerjs/docs-ui';import{IImageIoService as _0x3384d7}from'@univerjs/drawing';import{BehaviorSubject as _0x4cb6b4,debounceTime as _0x9911bf,takeUntil as _0x26eda4,Subject as _0x303e0a,filter as _0x51e424,switchMap as _0xa4766d,merge as _0x47fa24,combineLatest as _0x2e96b5,of as _0x4a2172,fromEvent as _0x4ab014,shareReplay as _0x377104,mapTo as _0x530b3a,distinctUntilChanged as _0x53040a}from'rxjs';import{SetTextSelectionsOperation as _0xce7271,RichTextEditingMutation as _0x32b8de,DocSelectionManagerService as _0x3f8525,DocSkeletonManagerService as _0x52d715}from'@univerjs/docs';import{ITransformService as _0x15804e,CollaborationEvent as _0x2ffe11,isTransformMutationFailure as _0x3f9e93,isTransformMutationsWithChangesetSuccess as _0x38ffbf,RevisionService as _0x3b04cb,ISnapshotServerService as _0x32f6a8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5354fe,serializeRangeWithSheet as _0x20b8c0}from'@univerjs/engine-formula';import{RefRangeService as _0xa80c10,SetSelectionsOperation as _0x161f63,SheetsSelectionsService as _0x40f70f,EffectRefRangId as _0x387a5f,handleIRemoveRow as _0x3c6475,handleIRemoveCol as _0x4be98c,handleMoveRange as _0x2337f7,handleInsertRow as _0x2f20db,handleInsertRangeMoveRight as _0x2c2631,handleInsertRangeMoveDown as _0x46ee93,handleInsertCol as _0x2f73dc,handleDeleteRangeMoveUp as _0x353637,handleDeleteRangeMoveLeft as _0x565dad,runRefRangeMutations as _0xabb0e9,SetWorksheetActivateCommand as _0x10a809}from'@univerjs/sheets';import{map as _0x5e4f39,filter as _0x3c099b,throttleTime as _0x1c7116,takeUntil as _0x393ded,switchMap as _0x1c35cc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4dae93,getCoordByCell as _0x1fb4d1,getSheetObject as _0x127de9}from'@univerjs/sheets-ui';import{jsx as _0xd6f84a,jsxs as _0x1c4bb4}from'react/jsx-runtime';import{useObservable as _0x5aab09,useDependency as _0x2b87be,IUIPartsService as _0x254e4c,BuiltInUIPart as _0x1cb5cc,connectInjector as _0x51ba9c,IBeforeCloseService as _0x2d817e,IMessageService as _0x5917e7,INotificationService as _0x5b0770}from'@univerjs/ui';import{clsx as _0x1098dc,Tooltip as _0x1ef8f6,MessageType as _0xa1687a}from'@univerjs/design';import{forwardRef as _0x185006,useRef as _0x1055b0,createElement as _0xb27f2a,useCallback as _0x45ca34}from'react';import{IRemoteInstanceService as _0xec868f}from'@univerjs/rpc';var li=Object[_0x4e6031(0x282)],_i=(_0x305a0b,_0x512683,_0x22fe0,_0x179cec)=>{const _0x45339d=_0x4e6031;for(var _0x1a65cd=_0x179cec>0x1?void 0x0:_0x179cec?li(_0x512683,_0x22fe0):_0x512683,_0x40f1ba=_0x305a0b[_0x45339d(0x2cf)]-0x1,_0x1df21b;_0x40f1ba>=0x0;_0x40f1ba--)(_0x1df21b=_0x305a0b[_0x40f1ba])&&(_0x1a65cd=_0x1df21b(_0x1a65cd)||_0x1a65cd);return _0x1a65cd;},Qe=(_0x2e9b8d,_0x591d23)=>(_0x15db3f,_0x35dea8)=>_0x591d23(_0x15db3f,_0x35dea8,_0x2e9b8d);let Ue=class extends _0x3c0a88{constructor(_0x406ec7,_0x27ecfe){const _0x22383d=_0x4e6031;super(),this[_0x22383d(0x29f)]=_0x406ec7,this[_0x22383d(0xf7)]=_0x27ecfe,this[_0x22383d(0x132)]();}[_0x4e6031(0x132)](){const _0xf965b9=_0x4e6031,_0x47d260=this;this['disposeWithMe'](this['_docClipboardService'][_0xf965b9(0x108)]({'onBeforePasteImage':async _0x5b2578=>{const _0x7c90be=_0xf965b9,_0xabdad3=await _0x47d260['_imageIoService']['saveImage'](_0x5b2578);return _0xabdad3?{'source':_0xabdad3[_0x7c90be(0xe8)],'imageSourceType':_0xabdad3['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4d40e4),Qe(0x1,_0x3384d7)],Ue);const qe=[_0x4e6031(0x251),'jiqing500',_0x4e6031(0x2bb),_0x4e6031(0x1fd),_0x4e6031(0xdf),_0x4e6031(0xf9)];class He extends _0x45fd26{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4e6031(0x23d)](_0x12a10f){const _0x53c478=_0x4e6031;if(this[_0x53c478(0xf4)][_0x53c478(0x221)](_0x12a10f))return this[_0x53c478(0xf4)][_0x53c478(0x29c)](_0x12a10f);const _0x261556=qe[this[_0x53c478(0x299)]];return this[_0x53c478(0x299)]=(this[_0x53c478(0x299)]+0x1)%qe[_0x53c478(0x2cf)],this['_assignedColors'][_0x53c478(0x1b5)](_0x12a10f,_0x261556),_0x261556;}}function Dt(_0x31761d){let _0x1857e3='';for(const _0x54129c of _0x31761d){const {startOffset:_0x45df85,endOffset:_0x301fef,isActive:_0x550710,rangeType:_0x48ece1,segmentId:_0x1a5aa9,segmentPage:_0xdd0658}=_0x54129c;_0x1857e3['length']&&(_0x1857e3+=','),_0x1857e3+=_0x45df85+':'+_0x301fef+':'+(_0x550710?'1':'0')+':'+_0x48ece1+':'+_0x1a5aa9+':'+_0xdd0658;}return _0x1857e3;}function hi(_0x5abcde){const _0x4c4691=_0x4e6031,_0x469373=_0x5abcde[_0x4c4691(0x206)](','),_0x10cc83=[];for(const _0x1fdf9d of _0x469373){const [_0x20cb95,_0x2e498f,_0x24b004,_0x57cca7,_0x2b41dd,_0xe48c32]=_0x1fdf9d['split'](':');_0x10cc83[_0x4c4691(0x181)]({'startOffset':Number(_0x20cb95),'endOffset':Number(_0x2e498f),'collapsed':_0x20cb95===_0x2e498f,'isActive':_0x24b004==='1','rangeType':_0x57cca7===_0x233267['TEXT']?_0x233267[_0x4c4691(0x228)]:_0x233267[_0x4c4691(0x15c)],'segmentId':typeof _0x2b41dd==_0x4c4691(0x216)?String(_0x2b41dd):'','segmentPage':Number(_0xe48c32!=null?_0xe48c32:-0x1)});}return _0x10cc83['some'](_0x95da07=>_0x95da07[_0x4c4691(0x2ac)])||(_0x10cc83[0x0][_0x4c4691(0x2ac)]=!0x0),_0x10cc83;}class je extends _0x3c0a88{constructor(){const _0x5f2334=_0x4e6031;super(...arguments),_(this,_0x5f2334(0x1eb),new _0x4cb6b4(null)),_(this,_0x5f2334(0x234),this['_collabCursorState$'][_0x5f2334(0x1c3)]());}['syncEditingCollabCursor'](_0x2680f0){const _0x2a69e0=_0x4e6031,{unitID:_0x3762e2,memberID:_0x5467d6,textRanges:_0x3afea3}=_0x2680f0,_0x3feeda=Dt(_0x3afea3);if(_0x3feeda==='')return;const _0x2d3e50={'unitID':_0x3762e2,'memberID':_0x5467d6,'selection':_0x3feeda};this['_collabCursorState$'][_0x2a69e0(0x278)](_0x2d3e50);}}var ui=Object[_0x4e6031(0x282)],di=(_0x4128dc,_0x350696,_0x29915e,_0x3343af)=>{const _0x11bd57=_0x4e6031;for(var _0x38e000=_0x3343af>0x1?void 0x0:_0x3343af?ui(_0x350696,_0x29915e):_0x350696,_0x218e34=_0x4128dc[_0x11bd57(0x2cf)]-0x1,_0x2f7f3f;_0x218e34>=0x0;_0x218e34--)(_0x2f7f3f=_0x4128dc[_0x218e34])&&(_0x38e000=_0x2f7f3f(_0x38e000)||_0x38e000);return _0x38e000;},w=(_0x4f6d39,_0x13ea70)=>(_0x211394,_0x4a9167)=>_0x13ea70(_0x211394,_0x4a9167,_0x4f6d39);const fi=0x12c,Si=0x64;let Me=class extends _0x3c0a88{constructor(_0x4014b5,_0x459ec0,_0x3f5849,_0x31196c,_0x4910e2,_0x3b7fd2,_0x5f9187,_0x100eb5,_0x3551d2){const _0x41d71f=_0x4e6031;super(),_(this,_0x41d71f(0x1f1),!0x1),_(this,'_init',!0x1),_(this,_0x41d71f(0x10a),new _0x4cb6b4(new Map())),_(this,_0x41d71f(0x274),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4cb6b4([])),_(this,'roomMembers$',this[_0x41d71f(0x16a)][_0x41d71f(0x1d2)](_0x9911bf(fi))),_(this,_0x41d71f(0x1de),_0x1261cd(_0x763850=>{const _0x367f52=_0x41d71f,_0x12287c={'eventID':_0x2ffe11[_0x367f52(0xde)],'data':{'unitID':this[_0x367f52(0x161)],'memberID':this[_0x367f52(0x1b1)]['getMemberID'](),'selection':Dt(_0x763850)}};this['_session'][_0x367f52(0x1ca)](_0x12287c,this[_0x367f52(0x161)]);},Si)),(this['unitID']=_0x4014b5,this['_session']=_0x459ec0,this[_0x41d71f(0xed)]=_0x3f5849,this[_0x41d71f(0x2ce)]=_0x31196c,this['_memberService']=_0x4910e2,this[_0x41d71f(0x102)]=_0x3b7fd2,this[_0x41d71f(0x12e)]=_0x5f9187,this[_0x41d71f(0x12a)]=_0x100eb5,this[_0x41d71f(0x163)]=_0x3551d2);}get[_0x4e6031(0x295)](){const _0x2cbb5e=_0x4e6031;return this[_0x2cbb5e(0x10a)][_0x2cbb5e(0x266)]();}get['roomMembers'](){const _0x2437db=_0x4e6031;return this[_0x2437db(0x16a)][_0x2437db(0x266)]();}['dispose'](){const _0x5e6de3=_0x4e6031;super[_0x5e6de3(0x16b)](),this['_cursorInfo$'][_0x5e6de3(0x278)](new Map()),this['_cursorInfo$'][_0x5e6de3(0x184)](),this[_0x5e6de3(0x16a)][_0x5e6de3(0x278)]([]),this['_roomMembers$']['complete']();}[_0x4e6031(0x1d4)](){const _0x455a32=_0x4e6031;this[_0x455a32(0x132)]||(this[_0x455a32(0x132)]=!0x0,this['_session'][_0x455a32(0x1b3)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))['subscribe'](_0x215dd0=>{const _0x32a148=_0x455a32;_0x215dd0===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x32a148(0x1b2)]();}),this[_0x455a32(0x1b1)][_0x455a32(0xf3)][_0x455a32(0x1d2)](_0x26eda4(this[_0x455a32(0x2d1)]))[_0x455a32(0x1ac)](_0x154c84=>{const _0x49c967=_0x455a32,_0x387e25=_0x154c84[_0x49c967(0x25d)];_0x387e25===_0x2ffe11[_0x49c967(0xde)]&&this[_0x49c967(0x20d)](_0x154c84),_0x387e25===_0x2ffe11[_0x49c967(0x12f)]&&this['_onCursorDelete'](_0x154c84);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x346247=>{const _0x2b562b=_0x455a32,_0x504b5c=_0x346247[_0x2b562b(0x23e)];_0x504b5c!=null&&this[_0x2b562b(0x1f1)]&&_0x346247['id']===_0xce7271['id']&&_0x504b5c[_0x2b562b(0x255)]===this[_0x2b562b(0x161)]&&_0x504b5c['isEditing']===!0x1&&_0x504b5c['ranges']['length']>0x0&&this[_0x2b562b(0x1de)](_0x504b5c[_0x2b562b(0x2da)]);})),this[_0x455a32(0x102)][_0x455a32(0x234)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))[_0x455a32(0x1ac)](_0xda8437=>{const _0x374d1c=_0x455a32;if((_0xda8437==null?void 0x0:_0xda8437[_0x374d1c(0x161)])!==this[_0x374d1c(0x161)])return;const _0x4c0ccf={'eventID':_0x2ffe11[_0x374d1c(0xde)],'data':_0xda8437};this[_0x374d1c(0x20d)](_0x4c0ccf);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x294739=>{const _0x511d40=_0x455a32;if(_0x294739['params']==null)return;const _0x10ff1f=_0x294739[_0x511d40(0x23e)];if(_0x294739['id']!==_0x32b8de['id']||_0x10ff1f[_0x511d40(0x255)]!==this[_0x511d40(0x161)])return;const _0x526b14={'id':_0x511d40(0x288),'params':_0x10ff1f},_0xc65950=this[_0x511d40(0x295)];for(const [_0x1ac864,_0xc1c50c]of _0xc65950){const _0x1485aa={'id':_0x511d40(0x288),'params':{'unitId':this[_0x511d40(0x161)],'actions':null,'textRanges':_0xc1c50c[_0x511d40(0x2da)]}},_0x4613ac=this[_0x511d40(0x12e)][_0x511d40(0x179)](_0x526b14,_0x1485aa,!0x1);if(_0x3f9e93(_0x4613ac))throw _0x4613ac['error'];_0xc65950[_0x511d40(0x1b5)](_0x1ac864,{..._0xc1c50c,'ranges':_0x4613ac['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x498469=_0x511d40;this[_0x498469(0x10a)][_0x498469(0x278)](_0xc65950);});})));}[_0x4e6031(0x20d)](_0x4e9ea4){const _0x4b1559=_0x4e6031;var _0x59b724,_0x145d82;const {memberID:_0x581a1b,selection:_0x5be60c}=_0x4e9ea4[_0x4b1559(0xee)],_0x536e8d=hi(_0x5be60c),_0x40fd3e=(_0x145d82=(_0x59b724=this[_0x4b1559(0x28e)][_0x4b1559(0x153)](this[_0x4b1559(0x161)],_0x581a1b))==null?void 0x0:_0x59b724[_0x4b1559(0x2db)])!=null?_0x145d82:_0x4b1559(0x17f),_0x5f418d={'color':this[_0x4b1559(0x2ce)][_0x4b1559(0x23d)](_0x581a1b),'name':_0x40fd3e,'ranges':_0x536e8d},_0x24ba09=this[_0x4b1559(0x295)];_0x24ba09['set'](_0x581a1b,_0x5f418d),this[_0x4b1559(0x10a)][_0x4b1559(0x278)](_0x24ba09);}[_0x4e6031(0x187)](_0x290bc9){const _0x43ba3d=_0x4e6031,{memberID:_0xe261d0}=_0x290bc9['data'],_0x3ae901=this['cursorInfo'];_0x3ae901[_0x43ba3d(0x1a8)](_0xe261d0),this[_0x43ba3d(0x10a)][_0x43ba3d(0x278)](_0x3ae901);}[_0x4e6031(0x14b)](){const _0x3cc2ca=_0x4e6031;var _0x30f1bf;if(this[_0x3cc2ca(0x1f1)]=!0x0,((_0x30f1bf=this['_univerInstanceService'][_0x3cc2ca(0x176)]())==null?void 0x0:_0x30f1bf[_0x3cc2ca(0x220)]())!==this[_0x3cc2ca(0x161)])return;const _0x1600f6=this['_injector']['get'](_0x3f8525)[_0x3cc2ca(0x271)]();Array[_0x3cc2ca(0x224)](_0x1600f6)&&_0x1600f6[_0x3cc2ca(0x2cf)]>0x0&&this[_0x3cc2ca(0x1de)](_0x1600f6);}[_0x4e6031(0x1b2)](){this['_online']=!0x1;}};Me=di([w(0x2,_0x296b66(_0x19dc78)),w(0x3,_0x296b66(He)),w(0x4,_0x296b66(_0x21cf38)),w(0x5,_0x296b66(je)),w(0x6,_0x15804e),w(0x7,_0x42b704),w(0x8,_0x32af02)],Me);var mi=Object[_0x4e6031(0x282)],gi=(_0x582219,_0x5b305c,_0x1f218b,_0x5c7c58)=>{const _0x28957c=_0x4e6031;for(var _0x3d48e4=_0x5c7c58>0x1?void 0x0:_0x5c7c58?mi(_0x5b305c,_0x1f218b):_0x5b305c,_0x30578e=_0x582219[_0x28957c(0x2cf)]-0x1,_0x258915;_0x30578e>=0x0;_0x30578e--)(_0x258915=_0x582219[_0x30578e])&&(_0x3d48e4=_0x258915(_0x3d48e4)||_0x3d48e4);return _0x3d48e4;},x=(_0x5bccb1,_0x5cd38f)=>(_0x1ef300,_0x587769)=>_0x5cd38f(_0x1ef300,_0x587769,_0x5bccb1);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5aa567=[],_0x359024=!0x1;return _0x5cd76e=>{const _0x4dd2af=_0x580c;_0x5aa567[_0x4dd2af(0x181)](_0x5cd76e),_0x359024||(_0x359024=!0x0,setTimeout(()=>{_0x5aa567['forEach'](_0x3cd377=>_0x3cd377()),_0x5aa567=[],_0x359024=!0x1;}));};};let Pe=class extends _0x3c0a88{constructor(_0x1705a7,_0x17eb35,_0x3545c0,_0x257862,_0x57ca65,_0xaf1e4c,_0x3b67d5,_0x5b798b){const _0x37f0c1=_0x4e6031;super(),_(this,_0x37f0c1(0x1f1),!0x1),_(this,_0x37f0c1(0x132),!0x1),_(this,_0x37f0c1(0x10a),new _0x4cb6b4(new Map())),_(this,_0x37f0c1(0x274),this[_0x37f0c1(0x10a)][_0x37f0c1(0x1c3)]()),_(this,_0x37f0c1(0x16a),new _0x4cb6b4([])),_(this,_0x37f0c1(0x180),this[_0x37f0c1(0x16a)][_0x37f0c1(0x1d2)](_0x9911bf(vi))),_(this,_0x37f0c1(0x1de),_0x1261cd((_0x2c4e9f,_0x4b9926)=>{const _0x178e29=_0x37f0c1,_0x134da3={'eventID':_0x2ffe11['UPDATE_CURSOR'],'data':{'unitID':this[_0x178e29(0x161)],'memberID':this[_0x178e29(0x1b1)][_0x178e29(0x247)](),'selection':_0x20b8c0(_0x2c4e9f,_0x4b9926[_0x178e29(0x1ad)])}};this[_0x178e29(0x1b1)][_0x178e29(0x1ca)](_0x134da3,this[_0x178e29(0x161)]);},Ii)),(this[_0x37f0c1(0x161)]=_0x1705a7,this['_session']=_0x17eb35,this['_injector']=_0x3545c0,this[_0x37f0c1(0x2ce)]=_0x257862,this['_memberService']=_0x57ca65,this[_0x37f0c1(0x12a)]=_0xaf1e4c,this['_commandService']=_0x3b67d5,this['_refRangeService']=_0x5b798b);}get['cursorInfo'](){const _0x517b50=_0x4e6031;return this[_0x517b50(0x10a)][_0x517b50(0x266)]();}get[_0x4e6031(0x1d9)](){const _0x6d6daa=_0x4e6031;return this[_0x6d6daa(0x16a)][_0x6d6daa(0x266)]();}[_0x4e6031(0x16b)](){const _0x402fe0=_0x4e6031;super[_0x402fe0(0x16b)](),this[_0x402fe0(0x10a)][_0x402fe0(0x278)](new Map()),this['_cursorInfo$'][_0x402fe0(0x184)](),this[_0x402fe0(0x16a)][_0x402fe0(0x278)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x47b576=_0x4e6031;this[_0x47b576(0x132)]||(this['_init']=!0x0,this['_session'][_0x47b576(0x1b3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))['subscribe'](_0x1536be=>{const _0x4ada31=_0x47b576;_0x1536be===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x4ada31(0x1b2)]();}),this['_session'][_0x47b576(0xf3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))[_0x47b576(0x1ac)](_0x778e86=>{const _0x5a277b=_0x47b576,_0x465a81=_0x778e86[_0x5a277b(0x25d)];_0x465a81===_0x2ffe11[_0x5a277b(0xde)]&&this[_0x5a277b(0x20d)](_0x778e86),_0x465a81===_0x2ffe11['USERS_LEAVE']&&this['_onCursorDelete'](_0x778e86);}),this[_0x47b576(0x1d6)](),this[_0x47b576(0x1d0)](this['_commandService'][_0x47b576(0x15d)](_0x139ecb=>{const _0x30bc9a=_0x47b576;if(this[_0x30bc9a(0x1f1)]&&_0x139ecb['id']===_0x161f63['id']&&_0x139ecb[_0x30bc9a(0x23e)][_0x30bc9a(0x255)]===this[_0x30bc9a(0x161)]){const _0x57d5dd=_0x139ecb[_0x30bc9a(0x23e)];this[_0x30bc9a(0x1de)](_0x57d5dd[_0x30bc9a(0xe6)],_0x57d5dd['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1095ce){const _0x5e70e5=_0x4e6031;var _0x3e2aed,_0x482887;const {memberID:_0xc60258,selection:_0x9bdc4}=_0x1095ce[_0x5e70e5(0xee)],{sheetName:_0x34a601,range:_0x5028c2}=_0x5354fe(_0x9bdc4),_0x3517a0={'name':(_0x482887=(_0x3e2aed=this[_0x5e70e5(0x28e)]['getMember'](this['unitID'],_0xc60258))==null?void 0x0:_0x3e2aed['name'])!=null?_0x482887:_0x5e70e5(0x17f),'range':this[_0x5e70e5(0x17a)](_0x34a601,_0x5028c2),'sheetID':_0x34a601,'color':this[_0x5e70e5(0x2ce)][_0x5e70e5(0x23d)](_0xc60258),'selection':_0x9bdc4},_0x53d24a=this[_0x5e70e5(0x295)];_0x53d24a[_0x5e70e5(0x1b5)](_0xc60258,_0x3517a0),this['_cursorInfo$'][_0x5e70e5(0x278)](_0x53d24a);}[_0x4e6031(0x187)](_0x53b7b4){const _0x41c8f5=_0x4e6031,{memberID:_0x5b85d7}=_0x53b7b4[_0x41c8f5(0xee)],_0xec0d4c=this[_0x41c8f5(0x295)];_0xec0d4c[_0x41c8f5(0x1a8)](_0x5b85d7),this[_0x41c8f5(0x10a)][_0x41c8f5(0x278)](_0xec0d4c);}[_0x4e6031(0x17a)](_0x29dae2,_0x2255ce){const _0x1c7369=_0x4e6031;var _0x2b787e,_0x3cd1e9;const _0x1215ef=(_0x3cd1e9=(_0x2b787e=this[_0x1c7369(0x12a)][_0x1c7369(0x144)](this['unitID']))==null?void 0x0:_0x2b787e[_0x1c7369(0x121)](_0x29dae2))==null?void 0x0:_0x3cd1e9[_0x1c7369(0x1e5)]();return(_0x1215ef==null?void 0x0:_0x1215ef[_0x1c7369(0x2ad)](_0x2a469b=>_0x11c39d[_0x1c7369(0x195)](_0x2a469b,_0x2255ce)))||_0x2255ce;}[_0x4e6031(0x1d6)](){const _0x423b44=_0x4e6031,_0x2ea327=new _0x3a0e34(),_0xb67f11=pi(),_0x592b04=()=>{const _0x473167=_0x580c;_0x2ea327[_0x473167(0x16b)]();const _0x316706=(_0x4e7ed1,_0x1a281b,_0x471e20,_0x474d0a)=>{const _0x33de9d=_0x473167;let _0x2fafbb=[];switch(_0x4e7ed1['id']){case _0x387a5f['DeleteRangeMoveLeftCommandId']:{_0x2fafbb=_0x565dad(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x242)]:{_0x2fafbb=_0x353637(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertColCommandId']:{_0x2fafbb=_0x2f73dc(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x28b)]:{_0x2fafbb=_0x46ee93(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x141)]:{_0x2fafbb=_0x2c2631(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertRowCommandId']:{_0x2fafbb=_0x2f20db(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x113)]:{_0x2fafbb=_0x2337f7(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x257)]:{_0x2fafbb=_0x4be98c(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['RemoveRowCommandId']:{_0x2fafbb=_0x3c6475(_0x4e7ed1,_0x474d0a);break;}}const _0x32974a=_0xabb0e9(_0x2fafbb,_0x474d0a),_0x16c8ff=this['cursorInfo']['get'](_0x1a281b);if(_0x16c8ff&&_0x32974a){const _0x1b7c0b={..._0x16c8ff,'range':_0x32974a};this[_0x33de9d(0x295)][_0x33de9d(0x1b5)](_0x1a281b,_0x1b7c0b),_0xb67f11(()=>{const _0x49080c=_0x33de9d,_0x2bc563=this[_0x49080c(0x29a)][_0x49080c(0x261)](_0x32974a,_0x1b561c=>(_0x2bc563['dispose'](),_0x316706(_0x1b561c,_0x1a281b,_0x471e20,_0x32974a)));_0x2ea327[_0x49080c(0x252)](_0x2bc563);});}return{'redos':[],'undos':[]};};this[_0x473167(0x295)][_0x473167(0x11e)]((_0x2d5f59,_0x1b0d46)=>{const _0x1eb974=_0x473167,{range:_0x1196a3,sheetID:_0x42f3c6}=_0x2d5f59,_0x54a132=this['_refRangeService'][_0x1eb974(0x261)](_0x1196a3,_0x413e76=>(_0x54a132['dispose'](),_0x316706(_0x413e76,_0x1b0d46,_0x42f3c6,_0x1196a3)));_0x2ea327['add'](_0x54a132);});};this[_0x423b44(0x1d0)](_0x119248(this['_cursorInfo$'][_0x423b44(0x1ac)](()=>{_0x592b04();})));}[_0x4e6031(0x14b)](){const _0x32fce2=_0x4e6031;var _0x4a8d73,_0x2c10b6;if(this[_0x32fce2(0x1f1)]=!0x0,((_0x4a8d73=this[_0x32fce2(0x12a)][_0x32fce2(0x176)]())==null?void 0x0:_0x4a8d73['getUnitId']())!==this['unitID'])return;const _0x1fb46c=(_0x2c10b6=this[_0x32fce2(0xed)][_0x32fce2(0x29c)](_0x40f70f)[_0x32fce2(0x1ff)]())==null?void 0x0:_0x2c10b6[0x0],_0x1de00c=this[_0x32fce2(0x12a)]['getCurrentUnitForType'](_0x2246f5[_0x32fce2(0x286)])[_0x32fce2(0x14a)]();_0x1fb46c&&_0x1de00c&&this['_updateLocalCursor'](_0x1de00c[_0x32fce2(0x24d)](),_0x1fb46c);}['_toggleOffline'](){const _0x4153b6=_0x4e6031;this[_0x4153b6(0x1f1)]=!0x1;}};Pe=gi([x(0x2,_0x296b66(_0x19dc78)),x(0x3,_0x296b66(He)),x(0x4,_0x296b66(_0x21cf38)),x(0x5,_0x42b704),x(0x6,_0x32af02),x(0x7,_0x296b66(_0xa80c10))],Pe);var Ci=Object[_0x4e6031(0x282)],Ei=(_0x1e5649,_0x4334b1,_0x1f7567,_0x4e388c)=>{const _0x16186a=_0x4e6031;for(var _0x21a63a=_0x4e388c>0x1?void 0x0:_0x4e388c?Ci(_0x4334b1,_0x1f7567):_0x4334b1,_0xafbaba=_0x1e5649[_0x16186a(0x2cf)]-0x1,_0xb8484f;_0xafbaba>=0x0;_0xafbaba--)(_0xb8484f=_0x1e5649[_0xafbaba])&&(_0x21a63a=_0xb8484f(_0x21a63a)||_0x21a63a);return _0x21a63a;},me=(_0x4e31cb,_0x4ecc21)=>(_0x7d321c,_0x35f8ae)=>_0x4ecc21(_0x7d321c,_0x35f8ae,_0x4e31cb);let H=class extends _0x3c0a88{constructor(_0x206f58,_0x13611f,_0x3eb148){const _0x136c2a=_0x4e6031;super(),_(this,_0x136c2a(0x218),new Map()),_(this,_0x136c2a(0x268),new _0x303e0a()),(this['_univerInstanceService']=_0x206f58,this[_0x136c2a(0xed)]=_0x13611f,this[_0x136c2a(0x11f)]=_0x3eb148,this['_init']());}[_0x4e6031(0x16b)](){const _0x172e7d=_0x4e6031;super[_0x172e7d(0x16b)](),this['_entityInit$'][_0x172e7d(0x184)](),this[_0x172e7d(0x218)][_0x172e7d(0x11e)](_0x51b743=>_0x51b743['dispose']());}['getCollabCursors$'](_0xfe7589){const _0x7adcd4=_0x4e6031;return this['_entities'][_0x7adcd4(0x221)](_0xfe7589)?this['_entities'][_0x7adcd4(0x29c)](_0xfe7589)[_0x7adcd4(0x274)]:this[_0x7adcd4(0x268)][_0x7adcd4(0x1d2)](_0x51e424(_0x1e64d0=>_0x1e64d0[_0x7adcd4(0x161)]===_0xfe7589),_0xa4766d(_0x4c8250=>_0x4c8250[_0x7adcd4(0x274)]));}[_0x4e6031(0x132)](){const _0x19c3d3=_0x4e6031;this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x286)])[_0x19c3d3(0x1d2)](_0x26eda4(this['dispose$']))[_0x19c3d3(0x1ac)](async _0x4c9714=>{const _0x45377b=_0x19c3d3,_0x5d15b6=_0x4c9714[_0x45377b(0x220)](),_0x381f35=await this[_0x45377b(0x115)](_0x5d15b6);this[_0x45377b(0x268)][_0x45377b(0x278)](_0x381f35),this[_0x45377b(0x218)][_0x45377b(0x1b5)](_0x5d15b6,_0x381f35);}),this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x1f5)])['pipe'](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1d2)](_0x51e424(_0x42bf7f=>!_0x42bf7f[_0x19c3d3(0x220)]()[_0x19c3d3(0xef)]('__')))[_0x19c3d3(0x1ac)](async _0x2c8d0e=>{const _0x405a0d=_0x19c3d3,_0x5dfd49=_0x2c8d0e[_0x405a0d(0x220)](),_0x23e494=await this['_startDocCollabCursor'](_0x5dfd49);this['_entityInit$'][_0x405a0d(0x278)](_0x23e494),this[_0x405a0d(0x218)][_0x405a0d(0x1b5)](_0x5dfd49,_0x23e494);}),_0x47fa24(this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x1f5)]),this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x286)]))[_0x19c3d3(0x1d2)](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1ac)](_0x55e66b=>{const _0x2f1197=_0x19c3d3,_0x5f22be=_0x55e66b['getUnitId'](),_0xf64edf=this[_0x2f1197(0x218)][_0x2f1197(0x29c)](_0x5f22be);_0xf64edf&&(_0xf64edf['dispose'](),this[_0x2f1197(0x218)]['delete'](_0x5f22be));});}async[_0x4e6031(0x115)](_0xcdc1e6){const _0xe01a62=_0x4e6031,_0x30d860=await this['_collabSessionService']['requireSession'](_0xcdc1e6),_0x69fba3=this[_0xe01a62(0xed)][_0xe01a62(0x170)](Pe,_0xcdc1e6,_0x30d860);return _0x69fba3[_0xe01a62(0x1d4)](),_0x69fba3;}async['_startDocCollabCursor'](_0x43009c){const _0x1ad313=_0x4e6031,_0x138d81=await this[_0x1ad313(0x11f)][_0x1ad313(0x1c8)](_0x43009c),_0x2f9227=this['_injector']['createInstance'](Me,_0x43009c,_0x138d81);return _0x2f9227[_0x1ad313(0x1d4)](),_0x2f9227;}};H=Ei([me(0x0,_0x42b704),me(0x1,_0x296b66(_0x19dc78)),me(0x2,_0x296b66(_0x160800))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2d2dc0,_0x43cdc0){const _0x301ad5=_0x4e6031;let {radius:_0xb7db00,width:_0x3e0d4e,height:_0x10b73d}=_0x43cdc0;_0xb7db00=_0xb7db00!=null?_0xb7db00:0x0,_0x3e0d4e=_0x3e0d4e!=null?_0x3e0d4e:0x1e,_0x10b73d=_0x10b73d!=null?_0x10b73d:0x1e;let _0x46c57c=0x0,_0x33b70b=0x0,_0x216e13=0x0;_0x46c57c=_0x33b70b=_0x216e13=Math['min'](_0xb7db00,_0x3e0d4e/0x2,_0x10b73d/0x2),_0x2d2dc0[_0x301ad5(0x203)](),_0x2d2dc0[_0x301ad5(0x128)](_0x46c57c,0x0),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e-_0x33b70b,0x0),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x33b70b,_0x33b70b,_0x33b70b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e,_0x10b73d-_0x216e13),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x216e13,_0x10b73d-_0x216e13,_0x216e13,0x0,Math['PI']/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x10b73d),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x46c57c),_0x2d2dc0[_0x301ad5(0x1e2)](_0x46c57c,_0x46c57c,_0x46c57c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x136)](),_0x43cdc0[_0x301ad5(0x283)]&&(_0x2d2dc0[_0x301ad5(0x277)](),_0x2d2dc0['fillStyle']=_0x43cdc0[_0x301ad5(0x283)],_0x43cdc0['fillRule']===_0x301ad5(0x21e)?_0x2d2dc0[_0x301ad5(0x283)](_0x301ad5(0x21e)):_0x2d2dc0[_0x301ad5(0x283)](),_0x2d2dc0['restore']());}class ue extends _0x479116{constructor(_0x125644,_0x10218b){const _0x13c37c=_0x4e6031;super(_0x125644,_0x10218b),_(this,'color'),_(this,'text'),(this['color']=_0x10218b==null?void 0x0:_0x10218b['color'],this[_0x13c37c(0x16f)]=_0x10218b==null?void 0x0:_0x10218b[_0x13c37c(0x16f)]);}static[_0x4e6031(0x126)](_0x2a9a1f,_0x45c33e){const _0x50747f=_0x4e6031,{text:_0x12e0cb,color:_0x188a51}=_0x45c33e;_0x2a9a1f[_0x50747f(0x277)](),_0x2a9a1f[_0x50747f(0x10c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x514cc3=_0x2a9a1f[_0x50747f(0x188)](_0x12e0cb)[_0x50747f(0x154)],_0x54f345=Math['min'](_0x514cc3+0x2*ge,et);Oi(_0x2a9a1f,{'height':te,'radius':0x4,'width':_0x54f345,'fill':_0x188a51}),_0x2a9a1f['fillStyle']=_0x50747f(0x1e1);const _0x19da4a=ge,_0x474bf0=te-bi,_0x58fefa=et-0x2*ge;if(_0x514cc3>_0x58fefa){let _0x39cb54='',_0x2fafb9=0x0;for(const _0x647908 of _0x12e0cb){const _0xbbbd3a=_0x2a9a1f[_0x50747f(0x188)](_0x647908)[_0x50747f(0x154)];if(_0x2fafb9+_0xbbbd3a<=_0x58fefa-_0x2a9a1f[_0x50747f(0x188)](_0x50747f(0x15f))[_0x50747f(0x154)])_0x39cb54+=_0x647908,_0x2fafb9+=_0xbbbd3a;else{_0x39cb54+=_0x50747f(0x15f);break;}}_0x2a9a1f['fillText'](_0x39cb54,_0x19da4a,_0x474bf0);}else _0x2a9a1f[_0x50747f(0x2d9)](_0x12e0cb,_0x19da4a,_0x474bf0);_0x2a9a1f[_0x50747f(0x291)]();}[_0x4e6031(0x2c6)](_0x21adc2){const _0x426d32=_0x4e6031;ue[_0x426d32(0x126)](_0x21adc2,this);}}const ve='collab-text-anchor-',Ti=_0x4e6031(0x130),Ri=_0x4e6031(0x28c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x4e6031(0x13e);class tt{constructor(_0x1cb516,_0xcfe24f,_0x54fd0e,_0x1437ca){const _0x29db22=_0x4e6031;_(this,_0x29db22(0x28a),[]),_(this,_0x29db22(0x11b),null),_(this,_0x29db22(0x25e),null),_(this,_0x29db22(0x104),null),_(this,_0x29db22(0x290),null),_(this,_0x29db22(0x112),null),(this[_0x29db22(0x204)]=_0x1cb516,this[_0x29db22(0x190)]=_0xcfe24f,this[_0x29db22(0x1f6)]=_0x54fd0e,this['_document']=_0x1437ca,this[_0x29db22(0x281)]());}set[_0x4e6031(0x20a)](_0x4f4103){const _0xc9c47f=_0x4e6031;_0x4f4103?(this['_anchorDot']&&this[_0xc9c47f(0x104)][_0xc9c47f(0x244)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)][_0xc9c47f(0x13b)]()):(this[_0xc9c47f(0x104)]&&this[_0xc9c47f(0x104)][_0xc9c47f(0x13b)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)]['hide']());}[_0x4e6031(0x16b)](){const _0x5d2cce=_0x4e6031;for(const _0x4cfdf7 of this['_shapes'])_0x4cfdf7[_0x5d2cce(0x16b)]();this[_0x5d2cce(0x25e)]&&this[_0x5d2cce(0x25e)]['dispose'](),this[_0x5d2cce(0x104)]&&this[_0x5d2cce(0x104)]['dispose'](),this[_0x5d2cce(0x11b)]&&this['_anchor'][_0x5d2cce(0x16b)](),this[_0x5d2cce(0x112)]&&this[_0x5d2cce(0x112)]();}[_0x4e6031(0x281)](){const _0x4f6597=_0x4e6031;var _0x32ac6;const {_docSkeleton:_0x3047a6,_document:_0x82d13e}=this,{color:_0x59434c,name:_0x448541,ranges:_0x334644}=this[_0x4f6597(0x204)],_0x3d82e8=_0x82d13e['getOffsetConfig'](),{docsLeft:_0xdcc761,docsTop:_0x143d76}=_0x3d82e8,_0x5228d8=new _0x583414(_0x3d82e8,_0x3047a6);for(const {startOffset:_0x2337ae,endOffset:_0x1c89c9,rangeType:_0x2209f8,segmentId:_0x5ddb8f,segmentPage:_0x49e7b1,collapsed:_0x544a09,isActive:_0x3ef848}of _0x334644){const _0x3a5486=_0x3047a6[_0x4f6597(0x29d)](_0x2337ae,!0x0,_0x5ddb8f,_0x49e7b1);let _0x5d8adc=_0x3047a6[_0x4f6597(0x29d)](_0x1c89c9,!0x0,_0x5ddb8f,_0x49e7b1);if(_0x5d8adc==null&&(_0x5d8adc=_0x3047a6['findNodePositionByCharIndex'](_0x1c89c9-0x1,!0x1,_0x5ddb8f,_0x49e7b1)),_0x3ef848){const {contentBoxPointGroup:_0x2a177a}=_0x5228d8['getRangePointData'](_0x5d8adc,_0x5d8adc);if(_0x2a177a[_0x4f6597(0x2cf)]===0x0)continue;this[_0x4f6597(0x1ba)](_0x59434c,_0x2a177a,_0xdcc761,_0x143d76,_0x448541),this[_0x4f6597(0x112)]=this['_handleHover']();}if(_0x3a5486&&_0x5d8adc){if(_0x2209f8===_0x233267[_0x4f6597(0x15c)]){const _0x13493a=new _0x58ed54(_0x3d82e8,_0x3047a6),{pointGroup:_0x10608c}=(_0x32ac6=_0x13493a[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc))!=null?_0x32ac6:{};if(_0x10608c==null||_0x10608c['length']===0x0)continue;this[_0x4f6597(0x13a)](_0x59434c,_0x10608c,_0xdcc761,_0x143d76);}else{if(!_0x544a09){const {borderBoxPointGroup:_0x3fc8b8}=_0x5228d8[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc);if(_0x3fc8b8[_0x4f6597(0x2cf)]===0x0)continue;this['_drawTextRange'](_0x59434c,_0x3fc8b8,_0xdcc761,_0x143d76);}}}}}[_0x4e6031(0x1ba)](_0x457ee2,_0x1a961b,_0x18508e,_0x29620d,_0x3c72bd){const _0x219d8f=_0x4e6031,_0x1863b1=this[_0x219d8f(0x1b9)](_0x1a961b),{left:_0x785847,top:_0x1f7d8c,height:_0x2ecca0}=_0x1863b1,_0x53266=this[_0x219d8f(0x134)](),_0x113f4a=Ni/_0x53266,_0x1bbb24=new _0xcd54e(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d,'height':_0x2ecca0,'width':Di,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':_0x113f4a,'stroke':Ui,'evented':!0x0});this[_0x219d8f(0x11b)]=_0x1bbb24,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1bbb24,_0x487b36);const _0x1a7b87=new _0xcd54e(ve+_0x1b1371['generateRandomId'](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':0x0,'stroke':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'evented':!0x1});this[_0x219d8f(0x104)]=_0x1a7b87,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1a7b87,_0x487b36);const _0x5794d1=new ue(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-te,'text':_0x3c72bd,'color':_0x457ee2});this['_textBubble']=_0x5794d1,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x5794d1,_0x487b36),this['_hover']=!0x1;}[_0x4e6031(0x298)](){const _0x58252d=_0x4e6031,_0x1f8ec9=this['_anchor'][_0x58252d(0x292)]['subscribeEvent'](()=>{const _0x151c32=_0x58252d;this[_0x151c32(0x20a)]=!0x0;}),_0x32c0bc=this['_anchor'][_0x58252d(0x133)]['subscribeEvent'](()=>{const _0x3ed843=_0x58252d;this[_0x3ed843(0x290)]&&clearTimeout(this['_hideTimer']),this[_0x3ed843(0x290)]=setTimeout(()=>{const _0x183ee7=_0x3ed843;this[_0x183ee7(0x20a)]=!0x1;},0x7d0);});return()=>{const _0x5741d5=_0x58252d;_0x1f8ec9[_0x5741d5(0x200)](),_0x32c0bc[_0x5741d5(0x200)]();};}[_0x4e6031(0x2be)](_0x59daed,_0x2607a6,_0x84d768,_0x4459cb){const _0x1236bb=_0x4e6031,_0x10590e=new _0x3ee062(_0x59daed)[_0x1236bb(0x2c7)](0.2)[_0x1236bb(0x26d)](),_0xf12063=new _0x433705(Ti+_0x1b1371[_0x1236bb(0x1a6)](X),{'pointsGroup':_0x2607a6,'fill':_0x10590e||_0x1c8356(_0x57d465['black'],0.2),'left':_0x84d768,'top':_0x4459cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1236bb(0x28a)][_0x1236bb(0x181)](_0xf12063),this[_0x1236bb(0x190)][_0x1236bb(0x21c)](_0xf12063,_0x487b36);}['_drawRectRange'](_0x5b98a7,_0x5aba0c,_0x56fe76,_0xb8722c){const _0x3ce7f7=_0x4e6031,_0x330178=new _0x3ee062(_0x5b98a7)[_0x3ce7f7(0x2c7)](0.2)[_0x3ce7f7(0x26d)](),_0x48d7fb=new _0x433705(Ri+_0x1b1371['generateRandomId'](X),{'pointsGroup':_0x5aba0c,'fill':_0x330178||_0x1c8356(_0x57d465[_0x3ce7f7(0x139)],0.2),'left':_0x56fe76,'top':_0xb8722c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ce7f7(0x28a)]['push'](_0x48d7fb),this[_0x3ce7f7(0x190)][_0x3ce7f7(0x21c)](_0x48d7fb,_0x487b36);}['_getAnchorBounding'](_0x351de2){const _0x4c4840=_0x351de2[0x0],_0x13e228=_0x4c4840[0x0],_0x2e5e72=_0x4c4840[0x2],{x:_0x16fdd9,y:_0x3b3d36}=_0x13e228,{x:_0x519614,y:_0x294c6a}=_0x2e5e72;return{'left':_0x16fdd9,'top':_0x3b3d36,'width':_0x519614-_0x16fdd9,'height':_0x294c6a-_0x3b3d36};}[_0x4e6031(0x134)](){const _0x3018f0=_0x4e6031,{scaleX:_0x552f56,scaleY:_0x37abd3}=this['_scene'][_0x3018f0(0x18b)]();return Math[_0x3018f0(0x198)](_0x552f56,_0x37abd3);}}var Mi=Object[_0x4e6031(0x282)],Pi=(_0x5c5a9c,_0x389e73,_0x4a3c08,_0xc5dc17)=>{const _0xd75598=_0x4e6031;for(var _0x6d2a2d=_0xc5dc17>0x1?void 0x0:_0xc5dc17?Mi(_0x389e73,_0x4a3c08):_0x389e73,_0x280d33=_0x5c5a9c[_0xd75598(0x2cf)]-0x1,_0x457373;_0x280d33>=0x0;_0x280d33--)(_0x457373=_0x5c5a9c[_0x280d33])&&(_0x6d2a2d=_0x457373(_0x6d2a2d)||_0x6d2a2d);return _0x6d2a2d;},Q=(_0x5640b8,_0x2854c3)=>(_0x202ee6,_0x273250)=>_0x2854c3(_0x202ee6,_0x273250,_0x5640b8);function _0x580c(_0x55e9e1,_0x4e241d){const _0x3602ca=_0x3602();return _0x580c=function(_0x580c8c,_0x311900){_0x580c8c=_0x580c8c-0xde;let _0x4f8f55=_0x3602ca[_0x580c8c];return _0x4f8f55;},_0x580c(_0x55e9e1,_0x4e241d);}let we=class extends _0x3c0a88{constructor(_0x1604c5,_0x163635,_0x576155,_0xe40db3,_0x3e9d4f){const _0x2ebb7e=_0x4e6031;super(),_(this,_0x2ebb7e(0x275),[]),_(this,_0x2ebb7e(0x27e),[]),(this[_0x2ebb7e(0x253)]=_0x1604c5,this[_0x2ebb7e(0x2c9)]=_0x163635,this[_0x2ebb7e(0x16e)]=_0x576155,this[_0x2ebb7e(0x163)]=_0xe40db3,this[_0x2ebb7e(0x2a5)]=_0x3e9d4f,this['_init']());}[_0x4e6031(0x132)](){const _0x310f7e=_0x4e6031,_0x45c606=this['_context']['unitId'],_0x3c78d0=this[_0x310f7e(0x2c9)];this[_0x310f7e(0x1d0)](_0x2e96b5([this['_collabCursorController']['getCollabCursors$'](_0x45c606),this[_0x310f7e(0x2a5)][_0x310f7e(0x25b)]])[_0x310f7e(0x1d2)](_0x5e4f39(([_0x37510e,_0x480af9])=>({'skeleton':_0x3c78d0[_0x310f7e(0x26b)](),'cursors':[..._0x37510e['values']()][_0x310f7e(0x14d)](_0x43d05d=>({..._0x43d05d,'color':_0x480af9[_0x43d05d['color']]}))})))[_0x310f7e(0x1ac)](_0xcb04bf=>{const _0xe9a5bd=_0x310f7e;if(this['_removeCollabCursors'](),_0xcb04bf){const {skeleton:_0x538456,cursors:_0x28ee97}=_0xcb04bf;this[_0xe9a5bd(0x1b7)](_0x538456,_0x28ee97);}})),this[_0x310f7e(0x10f)](),this[_0x310f7e(0x12d)]();}[_0x4e6031(0x1b7)](_0x57e704,_0x1beee1){const _0x303921=_0x4e6031,{scene:_0x9dadf0,mainComponent:_0x5976fb}=this[_0x303921(0x253)],_0x5698c0=_0x1beee1[_0x303921(0x2d2)](_0x559193=>new tt(_0x559193,_0x9dadf0,_0x57e704,_0x5976fb));this['_cursorShapes']=_0x5698c0,this[_0x303921(0x27e)]=_0x1beee1;}[_0x4e6031(0x1c5)](){const _0x5492e3=_0x4e6031;this[_0x5492e3(0x241)]();const {scene:_0x256326,mainComponent:_0x536f5e}=this['_context'],_0x35ab3e=this[_0x5492e3(0x2c9)][_0x5492e3(0x26b)](),_0x21de09=this['_cursors']['map'](_0x215261=>new tt(_0x215261,_0x256326,_0x35ab3e,_0x536f5e));this[_0x5492e3(0x275)]=_0x21de09;}[_0x4e6031(0x241)](){const _0x39caa8=_0x4e6031;this[_0x39caa8(0x275)]['forEach'](_0x16db74=>_0x16db74[_0x39caa8(0x16b)]()),this[_0x39caa8(0x275)]=[];}['_initCommandExecutedListener'](){const _0x4d7923=_0x4e6031,_0x24b79e=[_0x33a759['id']];this[_0x4d7923(0x1d0)](this[_0x4d7923(0x163)][_0x4d7923(0x15d)](_0xbb13a9=>{const _0x34fd63=_0x4d7923;_0x24b79e['includes'](_0xbb13a9['id'])&&_0xbb13a9[_0x34fd63(0x23e)]['unitId']===this[_0x34fd63(0x253)][_0x34fd63(0x255)]&&this[_0x34fd63(0x1c5)]();}));}['_initResize'](){const _0x107c1f=_0x4e6031;this['disposeWithMe'](_0x51885d(this[_0x107c1f(0x253)]['engine'][_0x107c1f(0x230)])[_0x107c1f(0x1d2)](_0x3c099b(_0x22e511=>_0x22e511[_0x107c1f(0x258)]===_0x2b53c9[_0x107c1f(0xe4)]),_0x1c7116(0x10))[_0x107c1f(0x1ac)](()=>{const _0x3e9f64=_0x107c1f;this[_0x3e9f64(0x1c5)]();}));}};we=Pi([Q(0x1,_0x296b66(_0x52d715)),Q(0x2,_0x296b66(H)),Q(0x3,_0x32af02),Q(0x4,_0x296b66(_0x174a37))],we);const wi=0x1,Li=1.5;class Ai extends _0x479116{constructor(_0x2ed328,_0x2aea04){const _0x32537b=_0x4e6031;super(_0x2ed328,_0x2aea04),_(this,_0x32537b(0x1e3)),_(this,_0x32537b(0x207),!0x1),_(this,_0x32537b(0x186)),_(this,_0x32537b(0x27c),''),_(this,_0x32537b(0x22b),'top'),_(this,_0x32537b(0x25a)),(_0x2aea04&&this[_0x32537b(0x1df)](_0x2aea04),this[_0x32537b(0x292)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x0})),this[_0x32537b(0x133)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x1})));}[_0x4e6031(0x1df)](_0x1c78ec){const _0xfa5baa=_0x4e6031;var _0x3dbd5c,_0x147ac7,_0x12767d,_0x94f68e,_0xc2bbdc,_0x23b5af;this[_0xfa5baa(0x1e3)]=(_0x3dbd5c=_0x1c78ec[_0xfa5baa(0x10d)])!=null?_0x3dbd5c:this[_0xfa5baa(0x1e3)],this[_0xfa5baa(0x207)]=(_0x147ac7=_0x1c78ec[_0xfa5baa(0x226)])!=null?_0x147ac7:this[_0xfa5baa(0x207)],this[_0xfa5baa(0x186)]=(_0x12767d=_0x1c78ec['range'])!=null?_0x12767d:this[_0xfa5baa(0x186)],this[_0xfa5baa(0x27c)]=(_0x94f68e=_0x1c78ec[_0xfa5baa(0x2db)])!=null?_0x94f68e:this[_0xfa5baa(0x27c)],this[_0xfa5baa(0x22b)]=(_0xc2bbdc=_0x1c78ec[_0xfa5baa(0x15b)])!=null?_0xc2bbdc:this['_labelPosition'],this['_backgroundColor']=(_0x23b5af=_0x1c78ec[_0xfa5baa(0x1cf)])!=null?_0x23b5af:this[_0xfa5baa(0x25a)],this['transformByState']({'width':_0x1c78ec['width'],'height':_0x1c78ec['height']});}['onMouseMove'](_0x3f09bd){const _0x46da9e=_0x4e6031,{row:_0x4ee33c,column:_0xc9d377}=_0x3f09bd;if(_0x4ee33c>=this[_0x46da9e(0x186)][_0x46da9e(0xf1)]&&_0x4ee33c<=this[_0x46da9e(0x186)][_0x46da9e(0x1fe)]&&_0xc9d377>=this[_0x46da9e(0x186)][_0x46da9e(0x11a)]&&_0xc9d377<=this[_0x46da9e(0x186)][_0x46da9e(0x169)]){this[_0x46da9e(0x1df)]({'hovered':!0x0});return;}this[_0x46da9e(0x1df)]({'hovered':!0x1});}[_0x4e6031(0x254)](_0x33372c){return!0x1;}[_0x4e6031(0x2c6)](_0x19b2b9){const _0x2a3f3e=_0x4e6031;_0xcd54e[_0x2a3f3e(0x126)](_0x19b2b9,{'width':this[_0x2a3f3e(0x154)],'height':this[_0x2a3f3e(0x1ec)],'strokeWidth':Li,'stroke':this[_0x2a3f3e(0x1e3)],'evented':!0x1,'fill':this[_0x2a3f3e(0x25a)]}),this[_0x2a3f3e(0x207)]&&(_0x19b2b9['save'](),_0x19b2b9['transform'](0x1,0x0,0x0,0x1,this[_0x2a3f3e(0x154)],this[_0x2a3f3e(0x22b)]===_0x2a3f3e(0x2b5)?0x0:-0x14),ue[_0x2a3f3e(0x126)](_0x19b2b9,{'text':this[_0x2a3f3e(0x27c)],'color':this[_0x2a3f3e(0x1e3)]}),_0x19b2b9[_0x2a3f3e(0x291)]());}}var yi=Object[_0x4e6031(0x282)],$i=(_0x5ece49,_0x3197c0,_0x38fe12,_0x28f142)=>{const _0x3e19d1=_0x4e6031;for(var _0x1165b7=_0x28f142>0x1?void 0x0:_0x28f142?yi(_0x3197c0,_0x38fe12):_0x3197c0,_0x44381c=_0x5ece49[_0x3e19d1(0x2cf)]-0x1,_0x40edcd;_0x44381c>=0x0;_0x44381c--)(_0x40edcd=_0x5ece49[_0x44381c])&&(_0x1165b7=_0x40edcd(_0x1165b7)||_0x1165b7);return _0x1165b7;},pe=(_0x52b06c,_0x47d148)=>(_0x2808c6,_0x1e4b81)=>_0x47d148(_0x2808c6,_0x1e4b81,_0x52b06c);const xi=0x1389;let Le=class extends _0x3c0a88{constructor(_0xbdd771,_0x2cc2c6,_0x505650,_0x58b362){const _0x23e8f1=_0x4e6031;super(),_(this,_0x23e8f1(0x27e),new Set()),_(this,'_lastPointer',null),(this[_0x23e8f1(0x253)]=_0xbdd771,this['_sheetSkeletonManagerService']=_0x2cc2c6,this[_0x23e8f1(0x16e)]=_0x505650,this[_0x23e8f1(0x2a5)]=_0x58b362,this[_0x23e8f1(0x132)]());}[_0x4e6031(0x132)](){const _0x36fcbc=_0x4e6031;this[_0x36fcbc(0x13d)][_0x36fcbc(0x2a1)]['pipe'](_0x393ded(this['dispose$']),_0x1c35cc(_0x33948c=>{const _0x2f035a=_0x36fcbc;if(_0x33948c){const _0xc9c5d8=_0x33948c[_0x2f035a(0x159)];return _0x2e96b5(this['_collabCursorController'][_0x2f035a(0x1b6)](this[_0x2f035a(0x253)][_0x2f035a(0x255)]),this[_0x2f035a(0x2a5)][_0x2f035a(0x25b)])['pipe'](_0x5e4f39(([_0x26f6e7,_0x44a1dd])=>{const _0x4da847=_0x2f035a,_0x417e7c=new Map();return _0x26f6e7[_0x4da847(0x11e)]((_0x351650,_0x3dee6d)=>{const _0x5bd5e8=_0x4da847;if(_0x351650[_0x5bd5e8(0x1d1)]===_0xc9c5d8){const _0x41be5c={..._0x351650};_0x41be5c['color']=_0x44a1dd[_0x351650[_0x5bd5e8(0x10d)]],_0x417e7c[_0x5bd5e8(0x1b5)](_0x3dee6d,_0x41be5c);}}),{'skeleton':_0x33948c,'cursors':_0x417e7c};}));}return _0x4a2172({'skeleton':null,'cursors':new Map()});}))[_0x36fcbc(0x1ac)](({skeleton:_0x187473,cursors:_0x5130f5})=>{const _0x47f1ff=_0x36fcbc;this[_0x47f1ff(0x241)](),_0x187473&&this[_0x47f1ff(0x1b7)](_0x187473,_0x5130f5);}),this['_sheetSkeletonManagerService'][_0x36fcbc(0x2a1)][_0x36fcbc(0x1ac)](_0x5b28e7=>{const _0x2f772a=_0x36fcbc;if(_0x5b28e7==null)return;const {skeleton:_0x5e1c1b}=_0x5b28e7,{scene:_0x2c7370}=this[_0x2f772a(0x253)];_0x2c7370[_0x2f772a(0x2b2)]['subscribeEvent'](_0x1261cd(_0x45c466=>{const _0x1ce7e4=_0x2f772a;var _0x2cba5b,_0x1d1885;const {offsetX:_0x45f053,offsetY:_0x34c7f5}=_0x45c466,{x:_0x5e78ae,y:_0x11da58}=_0x2c7370['getRelativeToViewportCoord'](_0x57087f[_0x1ce7e4(0x2b4)]([_0x45f053,_0x34c7f5])),{scaleX:_0x293065,scaleY:_0x252d4e}=_0x2c7370[_0x1ce7e4(0x18b)](),_0xcde0f5=_0x2c7370[_0x1ce7e4(0x193)](_0x2f89be[_0x1ce7e4(0x109)]),_0x599a62=_0x2c7370[_0x1ce7e4(0x1b8)](_0x57087f[_0x1ce7e4(0x2b4)]([_0x5e78ae,_0x11da58]),_0xcde0f5),_0x3f7503=_0x5e1c1b['getCellPositionByOffset'](_0x45f053,_0x34c7f5,_0x293065,_0x252d4e,_0x599a62);((_0x2cba5b=this['_lastPointer'])==null?void 0x0:_0x2cba5b[_0x1ce7e4(0x1a9)])===_0x3f7503[_0x1ce7e4(0x1a9)]&&((_0x1d1885=this[_0x1ce7e4(0x21f)])==null?void 0x0:_0x1d1885[_0x1ce7e4(0xec)])===_0x3f7503[_0x1ce7e4(0xec)]||this[_0x1ce7e4(0x27e)]['forEach'](_0x1beaaa=>{const _0x1bc59b=_0x1ce7e4;_0x1beaaa[_0x1bc59b(0x205)](_0x3f7503);});},0x64));});}['_updateCollabCursors'](_0x5c5d6f,_0x625190){const _0x493532=_0x4e6031;var _0x3017eb;const _0x22f7ef=(_0x3017eb=this[_0x493532(0x13d)][_0x493532(0x11c)]())==null?void 0x0:_0x3017eb['skeleton'];if(!_0x22f7ef)return;const _0x18d315=this['_getSheetObject']();if(!_0x18d315)return;this[_0x493532(0x27e)][_0x493532(0x11e)](_0x69112e=>{const _0x360728=_0x493532;_0x69112e[_0x360728(0x12c)]();});const {scene:_0x3aa67e}=_0x18d315,_0x4e8e78=Bi(Array['from'](_0x625190[_0x493532(0x2b7)]()))[_0x493532(0x2d2)](_0x3d06ea=>{const _0x4574fb=_0x493532,{color:_0x5d8e7f,range:_0x179e0f,name:_0x5306f7,selection:_0x38227c,sheetID:_0x185cf7}=_0x3d06ea,{startColumn:_0x55e1ce,startRow:_0x58a259,endColumn:_0x42f08d,endRow:_0x869bb2}=_0x179e0f,_0x11c9b9=_0x1fb4d1(_0x58a259,_0x55e1ce,_0x3aa67e,_0x22f7ef),_0x1365b0=_0x1fb4d1(_0x869bb2,_0x42f08d,_0x3aa67e,_0x22f7ef),{columnHeaderHeightAndMarginTop:_0xfa5f60}=_0x22f7ef,{startX:_0x12dd60,startY:_0xb1210a}=_0x11c9b9,{endX:_0x39faea,endY:_0xaab2e4}=_0x1365b0,_0x430389=_0x39faea-_0x12dd60,_0x18be45=_0xaab2e4-_0xb1210a,_0x1a60f2={'labelPosition':_0xb1210a-_0xfa5f60>=te?_0x4574fb(0x150):'bottom','sheetID':_0x185cf7,'range':_0x179e0f,'color':_0x5d8e7f,'name':_0x5306f7,'selection':_0x38227c,'left':_0x12dd60,'top':_0xb1210a,'width':_0x430389,'height':_0x18be45,'evented':!0x1,'zIndex':xi};return new Ai(_0x5306f7,_0x1a60f2);});_0x3aa67e[_0x493532(0x103)](_0x4e8e78,wi),this[_0x493532(0x27e)]=new Set(_0x4e8e78);}[_0x4e6031(0x241)](){const _0x3f712f=_0x4e6031;var _0x486f2d;(_0x486f2d=this[_0x3f712f(0x27e)])==null||_0x486f2d['forEach'](_0x14c7d4=>_0x14c7d4[_0x3f712f(0x16b)]());}[_0x4e6031(0x1cb)](){const _0x4874cd=_0x4e6031;return _0x127de9(this[_0x4874cd(0x253)]['unit'],this[_0x4874cd(0x253)]);}};Le=$i([pe(0x1,_0x296b66(_0x4dae93)),pe(0x2,_0x296b66(H)),pe(0x3,_0x296b66(_0x174a37))],Le);function Bi(_0x3f7b2b){const _0xe7f040=_0x4e6031,_0x538eb6=new Map();return _0x3f7b2b[_0xe7f040(0x11e)](_0x3380b4=>{const _0x107afe=_0xe7f040;if(_0x538eb6[_0x107afe(0x221)](_0x3380b4[_0x107afe(0x296)])){const _0x7bc7c1=_0x538eb6[_0x107afe(0x29c)](_0x3380b4['selection']);_0x7bc7c1['name']+=',\x20'+_0x3380b4['name'];}else _0x538eb6[_0x107afe(0x1b5)](_0x3380b4['selection'],_0x3380b4);}),Array['from'](_0x538eb6[_0xe7f040(0x2b7)]());}var I=function(){const _0x4301a7=_0x4e6031;return I=Object['assign']||function(_0x243e65){const _0x9806cb=_0x580c;for(var _0x37714a,_0x295039=0x1,_0x128e93=arguments[_0x9806cb(0x2cf)];_0x295039<_0x128e93;_0x295039++){_0x37714a=arguments[_0x295039];for(var _0x29da0c in _0x37714a)Object[_0x9806cb(0x17c)]['hasOwnProperty'][_0x9806cb(0x284)](_0x37714a,_0x29da0c)&&(_0x243e65[_0x29da0c]=_0x37714a[_0x29da0c]);}return _0x243e65;},I[_0x4301a7(0x22c)](this,arguments);},ki=function(_0x119410,_0x3a5a20){const _0x40f84f=_0x4e6031;var _0x54d104={};for(var _0x13446c in _0x119410)Object[_0x40f84f(0x17c)][_0x40f84f(0x131)]['call'](_0x119410,_0x13446c)&&_0x3a5a20[_0x40f84f(0x233)](_0x13446c)<0x0&&(_0x54d104[_0x13446c]=_0x119410[_0x13446c]);if(_0x119410!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1448a9=0x0,_0x13446c=Object[_0x40f84f(0x2c0)](_0x119410);_0x1448a9<_0x13446c['length'];_0x1448a9++)_0x3a5a20['indexOf'](_0x13446c[_0x1448a9])<0x0&&Object[_0x40f84f(0x17c)][_0x40f84f(0x1c7)]['call'](_0x119410,_0x13446c[_0x1448a9])&&(_0x54d104[_0x13446c[_0x1448a9]]=_0x119410[_0x13446c[_0x1448a9]]);}return _0x54d104;},We=_0x185006(function(_0x1fb935,_0x1af906){const _0x6c82c=_0x4e6031;var _0x1d623d=_0x1fb935[_0x6c82c(0x29e)],_0x496420=_0x1fb935['id'],_0x4cec35=_0x1fb935[_0x6c82c(0x147)],_0x4028de=_0x1fb935['extend'],_0x37a278=ki(_0x1fb935,[_0x6c82c(0x29e),'id',_0x6c82c(0x147),_0x6c82c(0x11d)]),_0x114cfc='univerjs-icon\x20univerjs-icon-'['concat'](_0x496420,'\x20')[_0x6c82c(0x118)](_0x4cec35||'')[_0x6c82c(0x12b)](),_0x344a1b=_0x1055b0('_'[_0x6c82c(0x118)](Wi()));return Nt(_0x1d623d,''[_0x6c82c(0x118)](_0x496420),{'defIds':_0x1d623d['defIds'],'idSuffix':_0x344a1b['current']},I({'ref':_0x1af906,'className':_0x114cfc},_0x37a278),_0x4028de);});function Nt(_0x3f44cd,_0x33d8a3,_0x10a333,_0xddfee9,_0x51d9fe){const _0x2f41be=_0x4e6031;return _0xb27f2a(_0x3f44cd[_0x2f41be(0x21b)],I(I({'key':_0x33d8a3},Hi(_0x3f44cd,_0x10a333,_0x51d9fe)),_0xddfee9),(ji(_0x3f44cd,_0x10a333)[_0x2f41be(0x185)]||[])[_0x2f41be(0x2d2)](function(_0x125c01,_0x46ffd2){const _0x634c31=_0x2f41be;return Nt(_0x125c01,''['concat'](_0x33d8a3,'-')[_0x634c31(0x118)](_0x3f44cd['tag'],'-')[_0x634c31(0x118)](_0x46ffd2),_0x10a333,void 0x0,_0x51d9fe);}));}function Hi(_0x5a244d,_0x418ab2,_0x1880e0){const _0xe1f0f1=_0x4e6031;var _0x42214d=I({},_0x5a244d['attrs']);_0x1880e0!=null&&_0x1880e0[_0xe1f0f1(0x1c9)]&&_0x42214d[_0xe1f0f1(0x283)]===_0xe1f0f1(0x1c9)&&(_0x42214d[_0xe1f0f1(0x283)]=_0x1880e0['colorChannel1']),_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x2a3)&&_0x42214d['id']&&(_0x42214d['id']=_0x42214d['id']+_0x418ab2[_0xe1f0f1(0x232)]),Object[_0xe1f0f1(0x2bc)](_0x42214d)['forEach'](function(_0x315536){const _0x54412f=_0xe1f0f1;var _0x38a8b5=_0x315536[0x0],_0x42aab4=_0x315536[0x1];_0x38a8b5==='mask'&&typeof _0x42aab4=='string'&&(_0x42214d[_0x38a8b5]=_0x42aab4[_0x54412f(0x172)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x418ab2[_0x54412f(0x232)],')')));});var _0x5f0545=_0x418ab2['defIds'];return!_0x5f0545||_0x5f0545[_0xe1f0f1(0x2cf)]===0x0||(_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x125)&&_0x42214d['xlink:href']&&(_0x42214d[_0xe1f0f1(0x2c2)]=_0x42214d[_0xe1f0f1(0x2c2)]+_0x418ab2[_0xe1f0f1(0x232)]),Object['entries'](_0x42214d)['forEach'](function(_0x67d810){const _0x167e29=_0xe1f0f1;var _0x54f7c2=_0x67d810[0x0],_0x84d959=_0x67d810[0x1];typeof _0x84d959==_0x167e29(0x216)&&(_0x42214d[_0x54f7c2]=_0x84d959[_0x167e29(0x172)](/url\(#(.*)\)/,_0x167e29(0x13c)['concat'](_0x418ab2['idSuffix'],')')));})),_0x42214d;}function ji(_0x19250e,_0x3b643b){const _0x2e2bf0=_0x4e6031;var _0x5023e7,_0x363fa8=_0x3b643b[_0x2e2bf0(0x18d)];return!_0x363fa8||_0x363fa8[_0x2e2bf0(0x2cf)]===0x0?_0x19250e:_0x19250e[_0x2e2bf0(0x21b)]===_0x2e2bf0(0x1ed)&&(!((_0x5023e7=_0x19250e[_0x2e2bf0(0x185)])===null||_0x5023e7===void 0x0)&&_0x5023e7[_0x2e2bf0(0x2cf)])?I(I({},_0x19250e),{'children':_0x19250e[_0x2e2bf0(0x185)][_0x2e2bf0(0x2d2)](function(_0xdcb64c){const _0x41136d=_0x2e2bf0;return typeof _0xdcb64c[_0x41136d(0x1ee)]['id']==_0x41136d(0x216)&&_0x363fa8&&_0x363fa8[_0x41136d(0x233)](_0xdcb64c[_0x41136d(0x1ee)]['id'])>-0x1?I(I({},_0xdcb64c),{'attrs':I(I({},_0xdcb64c[_0x41136d(0x1ee)]),{'id':_0xdcb64c[_0x41136d(0x1ee)]['id']+_0x3b643b[_0x41136d(0x232)]})}):_0xdcb64c;})}):_0x19250e;}function Wi(){const _0x916097=_0x4e6031;return Math[_0x916097(0x1c4)]()[_0x916097(0x236)](0x24)[_0x916097(0x106)](0x2,0x8);}We[_0x4e6031(0x16c)]=_0x4e6031(0xe3);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4e6031(0x1e0),'width':'1em','height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e6031(0x10e)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'d':_0x4e6031(0x2a8),'strokeLinecap':_0x4e6031(0x122),'strokeLinejoin':_0x4e6031(0x122),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x2ab)},'children':[{'tag':'path','attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7)}}]}]}],'defIds':[_0x4e6031(0x2ab)]},Ut=_0x185006(function(_0x5327ee,_0x38579a){const _0x2ff7a7=_0x4e6031;return _0xb27f2a(We,Object[_0x2ff7a7(0x27b)]({},_0x5327ee,{'id':'off-line-single','ref':_0x38579a,'icon':Fi}));});Ut['displayName']='OffLineSingle';var Yi={'tag':_0x4e6031(0x285),'attrs':{'fill':_0x4e6031(0x2ca),'viewBox':'0\x200\x2017\x2016','width':_0x4e6031(0x28d),'height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4e6031(0x122),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x138)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7),'transform':_0x4e6031(0x19a)}}]}]}],'defIds':[_0x4e6031(0x138)]},Mt=_0x185006(function(_0x29d114,_0x5c76b2){const _0x1713b3=_0x4e6031;return _0xb27f2a(We,Object[_0x1713b3(0x27b)]({},_0x29d114,{'id':_0x1713b3(0x2cc),'ref':_0x5c76b2,'icon':Yi}));});Mt[_0x4e6031(0x16c)]=_0x4e6031(0x2c1);const Vi='univer-online-status-icon',Xi='univer-online-status-title',Gi=_0x4e6031(0x146),Ki='univer-online',zi=_0x4e6031(0x17e),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x39adbc){const _0x104b83=_0x4e6031;switch(_0x39adbc){case _0x15a744[_0x104b83(0xe9)]:return _0x104b83(0x259);case _0x15a744[_0x104b83(0x2c3)]:return _0x104b83(0xff);case _0x15a744[_0x104b83(0xf2)]:return'collabStatus.fetchMiss';case _0x15a744['NOT_COLLAB']:return _0x104b83(0x27d);case _0x15a744[_0x104b83(0x2ae)]:case _0x15a744[_0x104b83(0x2aa)]:return'collabStatus.syncing';case _0x15a744['SYNCED']:case _0x15a744['PENDING']:return _0x104b83(0x201);}}function Zi(_0x3bb723){const _0x50f178=_0x4e6031,{status$:_0x33d48}=_0x3bb723,_0x38c6a0=_0x5aab09(_0x33d48,_0x15a744['NOT_COLLAB']),_0xc4897a=_0x2b87be(_0x5c3969),_0x1d37ee=_0x2b87be(_0x160800),_0x308d4a=_0x38c6a0!==_0x15a744[_0x50f178(0xe9)],_0x52ee6e=_0xc4897a['t'](Ji(_0x38c6a0)),_0x258d85=_0x1098dc(G['onlineStatus'],{[G[_0x50f178(0x19c)]]:_0x308d4a,[G[_0x50f178(0x1e6)]]:!_0x308d4a}),_0x3df1c6=_0x308d4a?_0xd6f84a(Mt,{}):_0xd6f84a(Ut,{}),_0x1381cc=_0x45ca34(()=>{const _0x4b59bc=_0x50f178;_0x308d4a||_0x1d37ee[_0x4b59bc(0x175)]();},[_0x308d4a,_0x1d37ee]);function _0x36bd44(){const _0x46209d=_0x50f178;return _0x1c4bb4('div',{'className':_0x1098dc(_0x258d85,'univer-flex\x20univer-items-center'),'onClick':_0x1381cc,'children':[_0xd6f84a(_0x46209d(0x1a5),{'className':G[_0x46209d(0x177)],'children':_0x3df1c6}),_0xd6f84a(_0x46209d(0x1a5),{'className':G['onlineStatusTitle'],'children':_0x52ee6e})]});}return _0x308d4a?_0x36bd44():_0xd6f84a(_0x1ef8f6,{'title':_0xc4897a['t']('collab-client.tooltip.reconnect'),'children':_0x36bd44()});}var Qi=Object[_0x4e6031(0x282)],qi=(_0x1631fa,_0x29c408,_0x38c619,_0x43f5ab)=>{const _0x27288a=_0x4e6031;for(var _0x2f252f=_0x43f5ab>0x1?void 0x0:_0x43f5ab?Qi(_0x29c408,_0x38c619):_0x29c408,_0x22e912=_0x1631fa[_0x27288a(0x2cf)]-0x1,_0x6377c3;_0x22e912>=0x0;_0x22e912--)(_0x6377c3=_0x1631fa[_0x22e912])&&(_0x2f252f=_0x6377c3(_0x2f252f)||_0x2f252f);return _0x2f252f;},q=(_0x36598d,_0x266109)=>(_0x27bb50,_0x3bfe43)=>_0x266109(_0x27bb50,_0x3bfe43,_0x36598d);let se=class extends _0x45fd26{constructor(_0x4e5039,_0x45f608,_0x141bd9,_0x4aca32){const _0x1ff02b=_0x4e6031;super(),_(this,_0x1ff02b(0x209),new _0x4cb6b4(_0x15a744[_0x1ff02b(0x2a0)])),(this[_0x1ff02b(0x12a)]=_0x4e5039,this[_0x1ff02b(0xed)]=_0x45f608,this[_0x1ff02b(0x22e)]=_0x141bd9,this['_uiPartsService']=_0x4aca32,this[_0x1ff02b(0x1d7)](),this[_0x1ff02b(0x178)]());}[_0x4e6031(0x178)](){const _0x29fff1=_0x4e6031;this[_0x29fff1(0x1d0)](this[_0x29fff1(0x12a)][_0x29fff1(0x2af)][_0x29fff1(0x1d2)](_0xa4766d(()=>{const _0x289aaf=_0x29fff1,_0x31ef57=this[_0x289aaf(0x12a)]['getFocusedUnit']();return _0x31ef57?this[_0x289aaf(0x22e)][_0x289aaf(0x29b)](_0x31ef57[_0x289aaf(0x220)]()):_0x4a2172(null);}),_0xa4766d(_0x57f279=>_0x57f279?_0x57f279[_0x29fff1(0x276)]:_0x4a2172(_0x15a744[_0x29fff1(0x2a0)])))[_0x29fff1(0x1ac)](_0x5d1f70=>{const _0x17866f=_0x29fff1;this['_status$'][_0x17866f(0x278)](_0x5d1f70);}));}['_initStatusComponent'](){const _0x10ec18=_0x4e6031;this['disposeWithMe'](this[_0x10ec18(0x10b)][_0x10ec18(0x1a0)](_0x1cb5cc[_0x10ec18(0x23a)],()=>_0x51ba9c(en({'status$':this[_0x10ec18(0x209)][_0x10ec18(0x1c3)]()}),this[_0x10ec18(0xed)])));}};se=qi([q(0x0,_0x42b704),q(0x1,_0x296b66(_0x19dc78)),q(0x2,_0x296b66(_0x27a615)),q(0x3,_0x254e4c)],se);function en(_0x419717){const {status$:_0x12c691}=_0x419717;return function(){return _0xd6f84a(Zi,{'status$':_0x12c691});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x2b9532,_0x422259,_0x1eef7c,_0x49c0f)=>{for(var _0x19e6c0=_0x49c0f>0x1?void 0x0:_0x49c0f?tn(_0x422259,_0x1eef7c):_0x422259,_0x26efc5=_0x2b9532['length']-0x1,_0x1d64b3;_0x26efc5>=0x0;_0x26efc5--)(_0x1d64b3=_0x2b9532[_0x26efc5])&&(_0x19e6c0=_0x1d64b3(_0x19e6c0)||_0x19e6c0);return _0x19e6c0;},B=(_0x234910,_0x3a4b46)=>(_0x550135,_0xc5829d)=>_0x3a4b46(_0x550135,_0xc5829d,_0x234910);let ie=class extends _0x45fd26{constructor(_0x59fd95,_0x1d4977,_0x4b771c,_0x4add68,_0x3c8b38,_0x33a975){const _0x416fba=_0x4e6031;super(),this[_0x416fba(0x240)]=_0x59fd95,this[_0x416fba(0x2c8)]=_0x1d4977,this['_collaborationUIEventService']=_0x4b771c,this['_messageService']=_0x4add68,this[_0x416fba(0x215)]=_0x3c8b38,this[_0x416fba(0x145)]=_0x33a975,this[_0x416fba(0x202)](),this[_0x416fba(0x1f7)]();}[_0x4e6031(0x202)](){const _0x47b17a=_0x4e6031;this[_0x47b17a(0x1d0)](this[_0x47b17a(0x240)][_0x47b17a(0x160)](()=>{const _0x1f1a5b=_0x47b17a;if(this[_0x1f1a5b(0x2c8)][_0x1f1a5b(0x148)][_0x1f1a5b(0x250)])return this[_0x1f1a5b(0x145)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4e6031(0x1f7)](){const _0x1ac28b=_0x4e6031;this[_0x1ac28b(0x1d0)](this[_0x1ac28b(0x223)][_0x1ac28b(0xf3)][_0x1ac28b(0x1ac)](_0x1e5e87=>{const _0x5e5517=_0x1ac28b;_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x157)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a['Warning'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1a4))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x1b4)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xe7))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x272)]&&this[_0x5e5517(0x215)][_0x5e5517(0x13b)]({'title':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x270)),'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1c0)),'type':_0x5e5517(0x2ba),'duration':0x0}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x2c3)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x1e5e87[_0x5e5517(0xee)]+')'}),_0x1e5e87['id']===_0xbd7dc5['JOIN_ROOM_FAILED']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this['_localeService']['t'](_0x1e5e87['data']||'')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED_RETRY']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t']('session.will-retry')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED']&&this['_messageService'][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xfa))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x194)]&&this[_0x5e5517(0x1dd)]['show']({'type':_0xa1687a['Error'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x15a))});}));}};ie=sn([B(0x0,_0x2d817e),B(0x1,_0x369419),B(0x2,_0x296b66(_0x55b9f5)),B(0x3,_0x5917e7),B(0x4,_0x5b0770),B(0x5,_0x296b66(_0x5c3969))],ie);const nn=_0x4e6031(0xf8),st={},Pt=_0x28476e(_0x4e6031(0x1c2));var rn=Object[_0x4e6031(0x282)],on=(_0x219ccf,_0x2b1a1d,_0x57cef7,_0x1c4c44)=>{const _0x139801=_0x4e6031;for(var _0x32cd96=_0x1c4c44>0x1?void 0x0:_0x1c4c44?rn(_0x2b1a1d,_0x57cef7):_0x2b1a1d,_0x55255c=_0x219ccf[_0x139801(0x2cf)]-0x1,_0x5ba04a;_0x55255c>=0x0;_0x55255c--)(_0x5ba04a=_0x219ccf[_0x55255c])&&(_0x32cd96=_0x5ba04a(_0x32cd96)||_0x32cd96);return _0x32cd96;},K=(_0x53d148,_0x4558f5)=>(_0x1b6a4f,_0x5572e3)=>_0x4558f5(_0x1b6a4f,_0x5572e3,_0x53d148);let ne=class extends _0x3c0a88{constructor(_0x45f894,_0x13b677,_0x41464e,_0x5d9bdb,_0x2113ba){const _0x5fc666=_0x4e6031;super(),this[_0x5fc666(0x149)]=_0x45f894,this[_0x5fc666(0x246)]=_0x13b677,this['_commandService']=_0x41464e,this[_0x5fc666(0x294)]=_0x5d9bdb,_0x2113ba?_0x2113ba==null||_0x2113ba[_0x5fc666(0x1e4)]()[_0x5fc666(0x1bf)](()=>this[_0x5fc666(0x132)]()):(this[_0x5fc666(0x246)][_0x5fc666(0x2d5)](_0x5fc666(0x214),_0x5fc666(0x26c)),this[_0x5fc666(0x132)]());}async[_0x4e6031(0x132)](){const _0x171fd6=_0x4e6031,_0x1ed76e=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x2b1)),_0x312d06=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x258)),_0x59d543=this[_0x171fd6(0x149)]['getParam'](_0x171fd6(0x269));if(!_0x1ed76e||!_0x312d06){this[_0x171fd6(0x246)][_0x171fd6(0x2d5)](_0x171fd6(0x214),_0x171fd6(0x1cc));return;}const _0xcea1d3=await this[_0x171fd6(0x294)][_0x171fd6(0x260)](_0x1ed76e,Number(_0x312d06),_0x59d543);_0xcea1d3&&_0xcea1d3 instanceof _0x50af68&&this[_0x171fd6(0x158)](_0xcea1d3);}async[_0x4e6031(0x158)](_0x3b6f32){const _0x179181=_0x4e6031;await this['_updateSubUnitFromURLParams'](_0x3b6f32),_0x3b6f32[_0x179181(0x196)][_0x179181(0x1d2)](_0x26eda4(this[_0x179181(0x2d1)]))[_0x179181(0x1ac)](_0x5acdd9=>{const _0x20075b=_0x179181;_0x5acdd9&&this[_0x20075b(0x267)](_0x5acdd9);}),this[_0x179181(0x149)][_0x179181(0x239)][_0x179181(0x1d2)](_0x26eda4(this['dispose$']))[_0x179181(0x1ac)](()=>this[_0x179181(0x2dc)](_0x3b6f32));}['_updateURLWithCurrentState'](_0x10ee0c,_0x197496=!0x1){const _0x411427=_0x4e6031,_0x27d47b=this[_0x411427(0x149)][_0x411427(0x2bd)](_0x411427(0x269));_0x10ee0c[_0x411427(0x24d)]()!==_0x27d47b&&this[_0x411427(0x149)]['setParam'](_0x411427(0x269),_0x10ee0c[_0x411427(0x24d)](),_0x197496);}async['_updateSubUnitFromURLParams'](_0x30ee5c){const _0x21f45e=_0x4e6031;var _0x3460c5;const _0x116547=this[_0x21f45e(0x149)][_0x21f45e(0x2bd)](_0x21f45e(0x269));if(!_0x116547||!_0x30ee5c[_0x21f45e(0x121)](_0x116547)){const _0x4b05d2=_0x30ee5c[_0x21f45e(0x2b8)]()[0x0],_0x180b23=_0x30ee5c[_0x21f45e(0x121)](_0x4b05d2);if(!_0x180b23)return;this[_0x21f45e(0x267)](_0x180b23,!0x0),await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x4b05d2});return;}((_0x3460c5=_0x30ee5c[_0x21f45e(0x14a)]())==null?void 0x0:_0x3460c5['getSheetId']())!==_0x116547&&await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x116547});}};ne=on([K(0x0,Pt),K(0x1,_0x30d997),K(0x2,_0x32af02),K(0x3,_0x296b66(_0x3f6054)),K(0x4,_0x470714(_0xec868f))],ne);var an=Object[_0x4e6031(0x282)],cn=(_0x3288d9,_0x265f16,_0x117111,_0x200baf)=>{const _0x5e8ad0=_0x4e6031;for(var _0x498ad9=_0x200baf>0x1?void 0x0:_0x200baf?an(_0x265f16,_0x117111):_0x265f16,_0x2e7250=_0x3288d9[_0x5e8ad0(0x2cf)]-0x1,_0x38cfb1;_0x2e7250>=0x0;_0x2e7250--)(_0x38cfb1=_0x3288d9[_0x2e7250])&&(_0x498ad9=_0x38cfb1(_0x498ad9)||_0x498ad9);return _0x498ad9;},Ce=(_0x4e4a03,_0x1fc202)=>(_0x438443,_0x13c293)=>_0x1fc202(_0x438443,_0x13c293,_0x4e4a03);let re=class{constructor(_0x408152,_0x350a28,_0x488534){const _0x5da404=_0x4e6031;this[_0x5da404(0xed)]=_0x408152,this['_transformService']=_0x350a28,this[_0x5da404(0x20c)]=_0x488534;}[_0x4e6031(0x19f)](_0x22bc71){const _0x4c3476=_0x4e6031;this[_0x4c3476(0x14f)](_0x22bc71),this[_0x4c3476(0xfb)](_0x22bc71);}['transformRemoteChangeset'](_0xcafcf4){const _0x3bccc2=_0x4e6031,{unitID:_0x441c2f}=_0xcafcf4,_0x1c00de=this['_renderManagerService'][_0x3bccc2(0x265)](_0x441c2f)[_0x3bccc2(0x123)](_0x20ce97),{redoCache:_0x49e9dc}=_0x1c00de['getUndoRedoMutationParamsCache']();if(_0x49e9dc[_0x3bccc2(0x2cf)]===0x0)return _0xcafcf4;let _0x161024=_0x1b1371[_0x3bccc2(0x256)](_0xcafcf4[_0x3bccc2(0x1ea)][0x0]);for(let _0x5dba2c=0x0;_0x5dba2c<_0x49e9dc['length'];_0x5dba2c++){const _0x1a2bfc={'id':'doc.mutation.rich-text-editing','params':{..._0x49e9dc[_0x5dba2c]}},_0x16c198=this[_0x3bccc2(0x12e)][_0x3bccc2(0x179)](_0x161024,_0x1a2bfc,!0x1);if(_0x3f9e93(_0x16c198))throw _0x16c198[_0x3bccc2(0x2ba)];_0x161024=_0x16c198[_0x3bccc2(0x235)];}return{..._0x1b1371[_0x3bccc2(0x256)](_0xcafcf4),'mutations':[_0x161024]};}[_0x4e6031(0x14f)](_0x220c1a){const _0x4dd3f9=_0x4e6031,{unitID:_0x566d6f}=_0x220c1a,_0x5b9cc5=this[_0x4dd3f9(0x20c)][_0x4dd3f9(0x265)](_0x566d6f)[_0x4dd3f9(0x123)](_0x20ce97),{undoCache:_0x466a82,redoCache:_0x865039}=_0x5b9cc5['getUndoRedoMutationParamsCache']();if(_0x466a82[_0x4dd3f9(0x2cf)]===0x0||_0x865039[_0x4dd3f9(0x2cf)]===0x0)return;const _0x503fde=[],_0xdc3389=[];let _0x5aded0=_0x1b1371[_0x4dd3f9(0x256)](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]),_0x5cc339=_0x1b1371['deepClone'](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]);for(let _0x7ae1d4=_0x466a82[_0x4dd3f9(0x2cf)]-0x1;_0x7ae1d4>=0x0;_0x7ae1d4--){const _0x395dd0={'id':_0x4dd3f9(0x288),'params':{..._0x466a82[_0x7ae1d4]}},_0x583262={'id':'doc.mutation.rich-text-editing','params':{..._0x865039[_0x7ae1d4]}},_0x50f751=this[_0x4dd3f9(0x12e)]['transformMutation'](_0x5aded0,_0x395dd0,!0x1),_0x21a155=this[_0x4dd3f9(0x12e)][_0x4dd3f9(0x179)](_0x5cc339,_0x583262,!0x1);if(_0x3f9e93(_0x50f751))throw _0x50f751['error'];if(_0x3f9e93(_0x21a155))throw _0x21a155[_0x4dd3f9(0x2ba)];_0x503fde[_0x4dd3f9(0xe2)](_0x50f751[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0xdc3389[_0x4dd3f9(0xe2)](_0x21a155[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0x5aded0=_0x50f751[_0x4dd3f9(0x235)],_0x5cc339=_0x21a155[_0x4dd3f9(0x235)];}_0x5b9cc5[_0x4dd3f9(0x2d3)]({'undoCache':_0x503fde,'redoCache':_0xdc3389});}['_transformPreviousActiveRange'](_0x309efc){const _0x3ffd7b=_0x4e6031,{unitID:_0xe5f9b6}=_0x309efc,_0xdd9d29=this['_renderManagerService'][_0x3ffd7b(0x265)](_0xe5f9b6)[_0x3ffd7b(0x123)](_0x20ce97),_0x4b09bf=_0xdd9d29['getActiveRange']();if(_0x4b09bf==null)return;const _0x5769c5=[{'id':_0x3ffd7b(0x288),'params':{'unitId':_0x309efc['unitID'],'actions':null,'textRanges':[_0x4b09bf]}}],_0x2c21ce=this[_0x3ffd7b(0x12e)][_0x3ffd7b(0x156)](_0x309efc,_0x5769c5);if(!_0x38ffbf(_0x2c21ce))throw _0x2c21ce[_0x3ffd7b(0x2ba)];const _0x1494ed=_0x2c21ce[_0x3ffd7b(0x129)][0x0][_0x3ffd7b(0x23e)][_0x3ffd7b(0x152)];Array[_0x3ffd7b(0x224)](_0x1494ed)&&_0x1494ed[_0x3ffd7b(0x2cf)]&&_0xdd9d29[_0x3ffd7b(0x24c)](_0x1494ed[0x0]);}};re=cn([Ce(0x0,_0x296b66(_0x19dc78)),Ce(0x1,_0x15804e),Ce(0x2,_0x31453e)],re);var ln=Object[_0x4e6031(0x282)],_n=(_0x3ab1ad,_0x355129,_0x537507,_0x5dd70e)=>{const _0x208698=_0x4e6031;for(var _0x51de7c=_0x5dd70e>0x1?void 0x0:_0x5dd70e?ln(_0x355129,_0x537507):_0x355129,_0x25d200=_0x3ab1ad[_0x208698(0x2cf)]-0x1,_0x23ada0;_0x25d200>=0x0;_0x25d200--)(_0x23ada0=_0x3ab1ad[_0x25d200])&&(_0x51de7c=_0x23ada0(_0x51de7c)||_0x51de7c);return _0x51de7c;},Ee=(_0xfabc74,_0x5154f6)=>(_0x3b61af,_0x1c76db)=>_0x5154f6(_0x3b61af,_0x1c76db,_0xfabc74);let oe=class{constructor(_0x2167fc,_0x64d479,_0x7e28e8){const _0x28ddc5=_0x4e6031;this[_0x28ddc5(0xed)]=_0x2167fc,this[_0x28ddc5(0x12e)]=_0x64d479,this[_0x28ddc5(0x243)]=_0x7e28e8;}[_0x4e6031(0x21a)](_0x1d8e11){this['_transformHistoryAndStateStack'](_0x1d8e11);}[_0x4e6031(0x19e)](_0x5ab622){const _0x31eb4c=_0x4e6031,{unitID:_0x4e26a2}=_0x5ab622,{collaboration:_0x5a8cfc}=this[_0x31eb4c(0x243)][_0x31eb4c(0x14e)](_0x4e26a2);if(_0x5a8cfc[_0x31eb4c(0x2cf)]===0x0)return _0x5ab622;let _0x42787c=_0x1b1371[_0x31eb4c(0x256)](_0x5ab622[_0x31eb4c(0x1ea)][0x0]);for(let _0x5b156b=0x0;_0x5b156b<_0x5a8cfc[_0x31eb4c(0x2cf)];_0x5b156b++){const _0x32d46b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a8cfc[_0x5b156b][_0x31eb4c(0x255)],..._0x5a8cfc[_0x5b156b][_0x31eb4c(0x22a)]}},_0x14d9dc=this[_0x31eb4c(0x12e)][_0x31eb4c(0x179)](_0x42787c,_0x32d46b,!0x1);if(_0x3f9e93(_0x14d9dc))throw _0x14d9dc[_0x31eb4c(0x2ba)];_0x42787c=_0x14d9dc[_0x31eb4c(0x235)];}return{..._0x1b1371[_0x31eb4c(0x256)](_0x5ab622),'mutations':[_0x42787c]};}[_0x4e6031(0x19d)](_0x156def){const _0x5e2252=_0x4e6031,{unitID:_0x564857}=_0x156def,{history:_0x3035d7,collaboration:_0x449d25}=this[_0x5e2252(0x243)][_0x5e2252(0x14e)](_0x564857);if(_0x3035d7['length']===0x0&&_0x449d25['length']===0x0)return;const _0x9206b8=[],_0x44a91b=[];let _0x503405=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]);for(let _0x8703fe=_0x3035d7[_0x5e2252(0x2cf)]-0x1;_0x8703fe>=0x0;_0x8703fe--){const _0x6eebb7={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe]['undoState']}},_0x3c3c33={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe][_0x5e2252(0x22a)]}},_0x5ea52a=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x503405,_0x6eebb7,!0x1),_0x5a3b1c=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x3c3c33,!0x1);if(_0x3f9e93(_0x5ea52a))throw _0x5ea52a['error'];if(_0x3f9e93(_0x5a3b1c))throw _0x5a3b1c[_0x5e2252(0x2ba)];_0x9206b8['unshift']({..._0x3035d7[_0x8703fe],'undoState':_0x5ea52a[_0x5e2252(0x129)]['params'],'redoState':_0x5a3b1c['m2Prime']['params']}),_0x503405=_0x5ea52a[_0x5e2252(0x235)],_0x546c0a=_0x5a3b1c[_0x5e2252(0x235)];}_0x503405=_0x1b1371['deepClone'](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def['mutations'][0x0]);for(let _0x36bb62=_0x449d25['length']-0x1;_0x36bb62>=0x0;_0x36bb62--){const _0x30f833={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62][_0x5e2252(0x2d8)]}},_0x407a4f={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62]['redoState']}},_0x402479=this['_transformService'][_0x5e2252(0x179)](_0x503405,_0x30f833,!0x1),_0x2cd291=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x407a4f,!0x1);if(_0x3f9e93(_0x402479))throw _0x402479['error'];if(_0x3f9e93(_0x2cd291))throw _0x2cd291[_0x5e2252(0x2ba)];_0x44a91b[_0x5e2252(0xe2)]({..._0x449d25[_0x36bb62],'undoState':_0x402479[_0x5e2252(0x129)]['params'],'redoState':_0x2cd291[_0x5e2252(0x129)][_0x5e2252(0x23e)]}),_0x503405=_0x402479[_0x5e2252(0x235)],_0x546c0a=_0x2cd291[_0x5e2252(0x235)];}this[_0x5e2252(0x243)]['setStateCache'](_0x564857,{'history':_0x9206b8,'collaboration':_0x44a91b});}};oe=_n([Ee(0x0,_0x296b66(_0x19dc78)),Ee(0x1,_0x15804e),Ee(0x2,_0x296b66(_0x2ed6d1))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x1b483e,_0xff82f9,_0x2bb449,_0x3c8e70)=>{const _0x1060d3=_0x4e6031;for(var _0x46b33f=_0x3c8e70>0x1?void 0x0:_0x3c8e70?hn(_0xff82f9,_0x2bb449):_0xff82f9,_0x8d4a17=_0x1b483e[_0x1060d3(0x2cf)]-0x1,_0x19dc6c;_0x8d4a17>=0x0;_0x8d4a17--)(_0x19dc6c=_0x1b483e[_0x8d4a17])&&(_0x46b33f=_0x19dc6c(_0x46b33f)||_0x46b33f);return _0x46b33f;},it=(_0x483b48,_0x45bc8f)=>(_0x4cc9bc,_0x3ef43a)=>_0x45bc8f(_0x4cc9bc,_0x3ef43a,_0x483b48);let ae=class{constructor(_0xd2a95d,_0x384c37){const _0x184404=_0x4e6031;this[_0x184404(0xed)]=_0xd2a95d,this[_0x184404(0x12e)]=_0x384c37;}['transformSelections'](_0x499137){const _0x597af1=_0x4e6031;var _0x1083e2;const _0x2778d2=this[_0x597af1(0xed)][_0x597af1(0x29c)](_0x3f8525),_0x1c9ef4=(_0x1083e2=_0x2778d2[_0x597af1(0x271)]())!=null?_0x1083e2:[];if(_0x1c9ef4[_0x597af1(0x2cf)]===0x0)return;const _0x5f1d8d=_0x499137[_0x597af1(0x161)],_0x4bc037=[{'id':_0x597af1(0x288),'params':{'unitId':_0x5f1d8d,'actions':null,'textRanges':_0x1c9ef4}}],_0x102f10=this[_0x597af1(0x12e)]['transformMutationsWithChangeset'](_0x499137,_0x4bc037);if(!_0x38ffbf(_0x102f10))throw _0x102f10[_0x597af1(0x2ba)];const _0x34f5f3=_0x102f10[_0x597af1(0x129)][0x0][_0x597af1(0x23e)]['textRanges'];Array[_0x597af1(0x224)](_0x34f5f3)&&_0x34f5f3[_0x597af1(0x2cf)]&&_0x2778d2['replaceDocRanges'](_0x34f5f3,{'unitId':_0x5f1d8d,'subUnitId':_0x5f1d8d},!0x1);}};ae=un([it(0x0,_0x296b66(_0x19dc78)),it(0x1,_0x15804e)],ae);var dn=Object[_0x4e6031(0x282)],fn=(_0x3d2923,_0x367594,_0x3e98cf,_0x56fb52)=>{const _0x154bb6=_0x4e6031;for(var _0x39260b=_0x56fb52>0x1?void 0x0:_0x56fb52?dn(_0x367594,_0x3e98cf):_0x367594,_0x53e0cc=_0x3d2923[_0x154bb6(0x2cf)]-0x1,_0x1c5f37;_0x53e0cc>=0x0;_0x53e0cc--)(_0x1c5f37=_0x3d2923[_0x53e0cc])&&(_0x39260b=_0x1c5f37(_0x39260b)||_0x39260b);return _0x39260b;},U=(_0x4cb4d5,_0x8ad1cd)=>(_0x324a69,_0x232570)=>_0x8ad1cd(_0x324a69,_0x232570,_0x4cb4d5);let ce=class extends _0x45fd26{constructor(_0x4cfa76,_0x15bde9,_0x392591,_0x26c76e,_0xdd1867,_0x2a0f57,_0x449a1c,_0x206df9){const _0x4e63f1=_0x4e6031;super(),_(this,_0x4e63f1(0x209),new _0x4cb6b4(_0x15a744[_0x4e63f1(0x2a0)])),(this[_0x4e63f1(0x243)]=_0x4cfa76,this[_0x4e63f1(0x22e)]=_0x15bde9,this[_0x4e63f1(0x24b)]=_0x392591,this[_0x4e63f1(0x1f3)]=_0x26c76e,this[_0x4e63f1(0x1be)]=_0xdd1867,this['_docSyncEditingCollabCursorService']=_0x2a0f57,this[_0x4e63f1(0x1dd)]=_0x449a1c,this[_0x4e63f1(0x145)]=_0x206df9,this[_0x4e63f1(0x16d)]());}[_0x4e6031(0x16d)](){const _0x95037=_0x4e6031;this[_0x95037(0x1d0)](this[_0x95037(0x22e)][_0x95037(0x2d4)]['subscribe'](_0x3d1c32=>{const _0x13a534=_0x95037,_0x3fdf73=this['_docStateChangeManagerService'][_0x13a534(0x164)][_0x13a534(0x1ac)](_0x27331a=>{const _0x43da03=_0x13a534;if(_0x27331a==null)return;const {unitId:_0x432b7f,redoState:_0x46f087,commandId:_0x52eed7}=_0x27331a;if(_0x432b7f!==_0x3d1c32['unitID'])return;const _0x479e45={'id':_0x52eed7,'type':_0x448814['MUTATION'],'params':{'unitId':_0x432b7f,'actions':_0x46f087[_0x43da03(0x212)],'textRanges':null}};_0x3d1c32[_0x43da03(0x1ce)](_0x479e45);});if(_0x3d1c32[_0x13a534(0x1d0)](_0x3fdf73),_0x3d1c32 instanceof _0x30e95f){const _0x1d14e3={'onTransformIME':_0x5961d4=>this['_docTransformIMECacheService'][_0x13a534(0x19f)](_0x5961d4),'onTransformState':_0x2d82bf=>this[_0x13a534(0x1f3)][_0x13a534(0x21a)](_0x2d82bf),'onTransformSelections':_0x441483=>this['_docTransformSelectionsService'][_0x13a534(0xfc)](_0x441483),'onSyncEditingCollabCursor':_0x4c67c8=>this[_0x13a534(0x18e)][_0x13a534(0x2c5)](_0x4c67c8),'onTransformRemoteChangesetByIMECache':_0x2ccd80=>this['_docTransformIMECacheService'][_0x13a534(0x19e)](_0x2ccd80),'onTransformRemoteChangesetByStateCache':_0x2c32df=>this[_0x13a534(0x1f3)][_0x13a534(0x19e)](_0x2c32df)};_0x3d1c32['addHandlerCallback'](_0x1d14e3);}}));}};ce=fn([U(0x0,_0x296b66(_0x2ed6d1)),U(0x1,_0x296b66(_0x27a615)),U(0x2,_0x296b66(re)),U(0x3,_0x296b66(oe)),U(0x4,_0x296b66(ae)),U(0x5,_0x296b66(je)),U(0x6,_0x5917e7),U(0x7,_0x296b66(_0x5c3969))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x14759c,_0x458045,_0x484f5c,_0x3c43e2)=>{for(var _0x149834=_0x3c43e2>0x1?void 0x0:_0x3c43e2?Sn(_0x458045,_0x484f5c):_0x458045,_0x5cf2fa=_0x14759c['length']-0x1,_0x478794;_0x5cf2fa>=0x0;_0x5cf2fa--)(_0x478794=_0x14759c[_0x5cf2fa])&&(_0x149834=_0x478794(_0x149834)||_0x149834);return _0x149834;},be=(_0x11bb4d,_0x1176a5)=>(_0x2165e5,_0x18c283)=>_0x1176a5(_0x2165e5,_0x18c283,_0x11bb4d);let Ae=class extends _0x45fd26{constructor(_0x446485,_0x2e6a3b,_0x445db4){const _0x19d6d1=_0x4e6031;super(),_(this,'_cachedData',new Map()),_(this,_0x19d6d1(0x24a),new Map()),_(this,_0x19d6d1(0x1f2),!0x1),(this[_0x19d6d1(0x119)]=_0x446485,this[_0x19d6d1(0x26e)]=_0x2e6a3b,this[_0x19d6d1(0x18f)]=_0x445db4);}[_0x4e6031(0x222)](){const _0x17e7c6=_0x4e6031;this[_0x17e7c6(0x1f2)]=!0x0;}[_0x4e6031(0x227)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4e6031(0x16b)](){const _0x5702e0=_0x4e6031;this[_0x5702e0(0xea)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x319425){const _0x1437cf=_0x4e6031;return this[_0x1437cf(0x1f2)]?null:this[_0x1437cf(0x26e)][_0x1437cf(0x297)](_0x5692d7(_0x319425));}async[_0x4e6031(0x238)](_0x140c81,_0xe26bde){const _0x4dee1a=_0x4e6031;return!!this['_localStorageService'][_0x4dee1a(0x167)](_0x140c81,_0xe26bde);}[_0x4e6031(0x17b)](_0x484852,_0xc1c3b7,_0x5b6c84,_0x3d1079){const _0x132480=_0x4e6031,_0x1666c2=this[_0x132480(0x18f)][_0x132480(0x2cd)](_0x484852);this[_0x132480(0x173)][_0x132480(0x1b5)](_0x484852,{'unitID':_0x484852,'type':_0xc1c3b7,'awaitingChangeset':_0x5b6c84,'mutations':_0x3d1079,'rev':_0x1666c2}),this[_0x132480(0x24a)][_0x132480(0x221)](_0x484852)||this['_scheduleSaving'](_0x484852);}['_scheduleSaving'](_0x2e23d2){const _0x1613b2=_0x4e6031,_0x3f6264=this[_0x1613b2(0x26f)]();_0x3f6264===0x0?this[_0x1613b2(0x107)](_0x2e23d2):this[_0x1613b2(0x24a)]['set'](_0x2e23d2,setTimeout(()=>this['_saveCache'](_0x2e23d2),_0x3f6264));}[_0x4e6031(0x26f)](){const _0x525ecb=_0x4e6031;var _0x4672ae;return(_0x4672ae=this[_0x525ecb(0x119)][_0x525ecb(0x171)](_0x51a5af))!=null?_0x4672ae:_0x2be77d;}[_0x4e6031(0x107)](_0x74a895){const _0x1b5e40=_0x4e6031,_0x4832de=this['_saveTaskMap'][_0x1b5e40(0x29c)](_0x74a895);return _0x4832de!==void 0x0&&window['clearTimeout'](_0x4832de),this[_0x1b5e40(0x26e)]['setItem'](_0x5692d7(_0x74a895),this[_0x1b5e40(0x173)][_0x1b5e40(0x29c)](_0x74a895))['then'](()=>this[_0x1b5e40(0x24a)]['delete'](_0x74a895));}async['exhaustSavingTask'](){const _0x44d01b=_0x4e6031,_0x4aa48c=[];this[_0x44d01b(0x24a)][_0x44d01b(0x11e)]((_0x62a095,_0x3cdef2)=>{const _0x3263c9=_0x44d01b;window[_0x3263c9(0x1f4)](_0x62a095),_0x4aa48c[_0x3263c9(0x181)](this[_0x3263c9(0x107)](_0x3cdef2)[_0x3263c9(0x1bf)](()=>{const _0x55c998=_0x3263c9;this[_0x55c998(0x24a)][_0x55c998(0x1a8)](_0x3cdef2);}));}),await Promise[_0x44d01b(0xeb)](_0x4aa48c);}};Ae=mn([be(0x0,_0x54d5a8),be(0x1,_0x36b990),be(0x2,_0x296b66(_0x3b04cb))],Ae);class gn extends _0x3c0a88{constructor(){const _0x52ee46=_0x4e6031;super(),_(this,_0x52ee46(0x239)),this[_0x52ee46(0x239)]=_0x4ab014(window,_0x52ee46(0x229))[_0x52ee46(0x1d2)](_0x26eda4(this['dispose$']),_0x377104(0x1),_0x530b3a(void 0x0));}[_0x4e6031(0x142)](_0x47f41b,_0x40b51b,_0x40c1ba=!0x1){const _0x5139c6=_0x4e6031,_0x1d5cc1=new URL(window[_0x5139c6(0xfe)][_0x5139c6(0x245)]);_0x1d5cc1['searchParams'][_0x5139c6(0x1b5)](_0x47f41b,_0x40b51b),_0x40c1ba?window['history'][_0x5139c6(0x14c)]('','',_0x1d5cc1[_0x5139c6(0x236)]()):window[_0x5139c6(0x1d8)][_0x5139c6(0x26a)]('','',_0x1d5cc1['toString']());}[_0x4e6031(0x25c)](_0x4ec2a6,_0x25efe0=!0x1){const _0x491f2c=_0x4e6031,_0xf56e06=new URL(window[_0x491f2c(0xfe)]['href']);_0xf56e06[_0x491f2c(0xf6)][_0x491f2c(0x1a8)](_0x4ec2a6),_0x25efe0?window[_0x491f2c(0x1d8)][_0x491f2c(0x14c)]('','',_0xf56e06[_0x491f2c(0x236)]()):window[_0x491f2c(0x1d8)][_0x491f2c(0x26a)]('','',_0xf56e06[_0x491f2c(0x236)]());}[_0x4e6031(0x2bd)](_0x2c7f94){const _0x3dccfc=_0x4e6031;var _0x142f58;return(_0x142f58=new URL(window[_0x3dccfc(0xfe)]['href'])['searchParams'][_0x3dccfc(0x29c)](_0x2c7f94))!=null?_0x142f58:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x4e6031(0x282)],pn=(_0x47c8c9,_0xa5b79f,_0x28bcd9)=>_0xa5b79f in _0x47c8c9?vn(_0x47c8c9,_0xa5b79f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28bcd9}):_0x47c8c9[_0xa5b79f]=_0x28bcd9,Cn=(_0x3b5cdd,_0x1d0b37,_0x1a64bd,_0x288795)=>{const _0x4af6d9=_0x4e6031;for(var _0x9afb7a=_0x288795>0x1?void 0x0:_0x288795?In(_0x1d0b37,_0x1a64bd):_0x1d0b37,_0x3d3cac=_0x3b5cdd[_0x4af6d9(0x2cf)]-0x1,_0x1f4f57;_0x3d3cac>=0x0;_0x3d3cac--)(_0x1f4f57=_0x3b5cdd[_0x3d3cac])&&(_0x9afb7a=_0x1f4f57(_0x9afb7a)||_0x9afb7a);return _0x9afb7a;},Oe=(_0x99c91,_0x490d60)=>(_0x1612c0,_0x3f1bc9)=>_0x490d60(_0x1612c0,_0x3f1bc9,_0x99c91),En=(_0x4b3ab4,_0x172a99,_0x276600)=>pn(_0x4b3ab4,_0x172a99+'',_0x276600);const bn=_0x4e6031(0x168);let ye=class extends _0xb700b5{constructor(_0x572d41=st,_0x3fdb41,_0x116c82,_0x317e7d){const _0x1720d2=_0x4e6031;super(),this[_0x1720d2(0x264)]=_0x572d41,this[_0x1720d2(0x20c)]=_0x3fdb41,this[_0x1720d2(0xed)]=_0x116c82,this[_0x1720d2(0x119)]=_0x317e7d;const {..._0x13406e}=_0x3a1a3c({},st,this[_0x1720d2(0x264)]);this[_0x1720d2(0x119)][_0x1720d2(0x289)](nn,_0x13406e);}[_0x4e6031(0x24f)](){const _0x28b444=_0x4e6031;this[_0x28b444(0x2a2)](),this[_0x28b444(0x1e7)]();}[_0x4e6031(0x18c)](){const _0x24ef15=_0x4e6031;this[_0x24ef15(0x210)]();}[_0x4e6031(0x2a2)](){const _0x89bab3=_0x4e6031;var _0x50d477;const _0x55e35d=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x111fb7,{'useClass':_0x4bf45b}],[_0x369419,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4a8e7b(this[_0x89bab3(0xed)],_0x39a8e2(_0x55e35d,(_0x50d477=this[_0x89bab3(0x264)])==null?void 0x0:_0x50d477[_0x89bab3(0x1a2)]));}[_0x4e6031(0x210)](){const _0x4995d0=_0x4e6031;this[_0x4995d0(0x1d0)](this[_0x4995d0(0x20c)][_0x4995d0(0x135)](_0x2246f5[_0x4995d0(0x1f5)],[we])),this[_0x4995d0(0x1d0)](this['_renderManagerService']['registerRenderModule'](_0x2246f5[_0x4995d0(0x286)],[Le]));}[_0x4e6031(0x1e7)](){const _0x4caac9=_0x4e6031;_0x4a3abc(this[_0x4caac9(0xed)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x263def(_0x2eecf1),Oe(0x1,_0x31453e),Oe(0x2,_0x296b66(_0x19dc78)),Oe(0x3,_0x54d5a8)],ye);var On=Object[_0x4e6031(0x282)],Tn=(_0x300f22,_0x196410,_0x42ffec,_0x1718de)=>{for(var _0x5414db=_0x1718de>0x1?void 0x0:_0x1718de?On(_0x196410,_0x42ffec):_0x196410,_0x177907=_0x300f22['length']-0x1,_0x1dbab5;_0x177907>=0x0;_0x177907--)(_0x1dbab5=_0x300f22[_0x177907])&&(_0x5414db=_0x1dbab5(_0x5414db)||_0x5414db);return _0x5414db;},z=(_0x15523d,_0x245a71)=>(_0xdd6efc,_0x2b179b)=>_0x245a71(_0xdd6efc,_0x2b179b,_0x15523d);let nt=class extends _0x4304dc{constructor(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d){super(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d);}async[_0x4e6031(0x1fc)](_0x3481b8){const _0x230f04=_0x4e6031,_0x303314=await this[_0x230f04(0x1dc)](),_0x4c70c7=this[_0x230f04(0x15e)](_0x3481b8,_0x303314);return this[_0x230f04(0x287)](_0x4c70c7);}[_0x4e6031(0x15e)](_0x296de4,_0x2d6f4b){const _0x4037b1=_0x4e6031,_0x8f0efa=typeof window>'u'?new URL(_0x296de4):new URL(_0x296de4,window['location'][_0x4037b1(0x1fb)]);_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x1c6),_0x2d6f4b);const _0x31653e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4037b1(0xfe)][_0x4037b1(0x2c4)]);return _0x31653e[_0x4037b1(0x29c)](_0x4037b1(0x2b0))&&_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x2b0),_0x31653e[_0x4037b1(0x29c)]('runId')),_0x8f0efa['toString']();}async[_0x4e6031(0x1dc)](){const _0x5064ab=_0x4e6031;var _0x468d33,_0x412071,_0x24be7c;const _0x22ad8f=this[_0x5064ab(0x119)]['getConfig'](_0x36c723),_0x2d890b=(_0x468d33=_0x22ad8f==null?void 0x0:_0x22ad8f['wsSessionTicketUrl'])!=null?_0x468d33:_0x1603d7;return(_0x24be7c=(_0x412071=(await this[_0x5064ab(0x1a1)][_0x5064ab(0x29c)](_0x2d890b,{'headers':{'Content-Type':_0x5064ab(0x237)}}))[_0x5064ab(0x165)])==null?void 0x0:_0x412071['ticket'])!=null?_0x24be7c:'';}};nt=Tn([z(0x0,_0x296b66(_0x19dc78)),z(0x1,_0x296b66(_0x499a00)),z(0x2,_0x54d5a8),z(0x3,_0x30d997),z(0x4,_0x32f6a8)],nt);const rt=0x7530,ot=_0x4e6031(0x137);function _0x3602(){const _0x14d629=['actions','storage','[CollaborationDataLoaderController]','_notificationService','string','_heartbeatTimer','_entities','SNAPSHOT_INVALID_SNAPSHOT','transformStateCache','tag','addObject','clipPath','evenodd','_lastPointer','getUnitId','has','disableLocalCache','_collaborationUIEventService','isArray','editingUnit','hovered','enableLocalCache','TEXT','popstate','redoState','_labelPosition','apply','getRangePointData','_collaborationController','206703DgOEvh','onTransformChange$','/run/','idSuffix','indexOf','collabCursorState$','m1Prime','toString','application/json','saveOfflineData','urlChange$','HEADER_MENU','660753vvDqLK','YUUMI_NO_CUBOID_FOR_QUESTION','assignAColorForMemberID','params','MOBILE_HAS_BEEN_BOUND','_beforeCloseService','_removeCollabCursors','DeleteRangeMoveUpCommandId','_docStateChangeManagerService','hide','href','_logService','getMemberID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_id','_saveTaskMap','_docTransformIMECacheService','setActiveRange','getSheetId','CONNECTOR_DATA_TOO_LARGE','onStarting','size','purple300','add','_context','triggerDblclick','unitId','deepClone','RemoveColCommandId','type','collabStatus.offline','_backgroundColor','currentTheme$','removeParam','eventID','_textBubble','_handleHeartbeatEvent','loadUnit','registerRefRange','UNAUTHENTICATED','from','_config','getRenderById','getValue','_updateURLWithCurrentState','_entityInit$','subunit','pushState','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','toRgbString','_localStorageService','_getSaveTimeout','permission.title','getDocRanges','PERMISSION_DENIED','Error','cursorInfo$','_cursorShapes','status$','save','next','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','assign','_name','collabStatus.notCollab','_cursors','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','getOwnPropertyDescriptor','fill','call','svg','UNIVER_SHEET','_doCreateSocket','doc.mutation.rich-text-editing','setConfig','_shapes','InsertRangeMoveDownCommandId','collab-rect-range-','1em','_memberService','EMAIL_HAS_BEEN_BOUND','_hideTimer','restore','onPointerEnter$','path','_dataLoaderService','cursorInfo','selection','getItem','_handleHover','_colorIndex','_refRangeService','getCollabEntity$','get','findNodePositionByCharIndex','icon','_docClipboardService','NOT_COLLAB','currentSkeleton$','_registerDependencies','mask','LOGIN_FAILED','_themeService','4VUNVHp','Failed','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','2091035bhinqk','AWAITING_WITH_PENDING','off-line-single_clip0_910_343','isActive','find','AWAITING','focused$','runId','unit','onPointerMove$','key','FromArray','bottom','lineTo','values','getUnhiddenWorksheets','_unitStatus','error','verdancy600','entries','getParam','_drawTextRange','_instanceService','getOwnPropertySymbols','OnLineSingle','xlink:href','CONFLICT','search','syncEditingCollabCursor','_draw','setAlpha','_localCacheService','_docSkeletonManagerService','none','invokeId','on-line-single','getCurrentRevOfUnit','_colorAssignService','length','setInterval','dispose$','map','setUndoRedoMutationParamsCache','entityInit$','debug','Warning','memberID','undoState','fillText','ranges','name','_updateSubUnitFromURLParams','UPDATE_CURSOR','blue400','disposeUnit','ALREADY_EXISTS','unshift','UniverIcon','resize','LICENSE_DISTRO_REJECTED','subUnitId','collaboration.closeRoom','source','OFFLINE','exhaustSavingTask','all','row','_injector','data','startsWith','_unitOnClients','startRow','FETCH_MISS','event$','_assignedColors','_scheduleHeartbeat','searchParams','_imageIoService','collaboration-client-ui.config','gold400','session.connection-failed','_transformPreviousActiveRange','transformSelections','632980ocxpdn','location','collabStatus.conflict','_handleJoinEvent','INVITE_CODE_HAS_BEEN_UES','_syncEditingCollabCursorService','addObjects','_anchorDot','LICENSE_EXPORT_SIZE_EXCEEDED','substring','_saveCache','addClipboardHook','VIEW_MAIN','_cursorInfo$','_uiPartsService','font','color','url(#off-line-single_clip0_910_343)','_initResize','443349jODZKE','post','_eventUnsubscribe','MoveRangeCommandId','YUUMI_URL_COL_OUT_OF_RANGE','_startSheetCollabCursor','INTERNAL_ERROR','_clearOtherTimers','concat','_configService','startColumn','_anchor','getCurrent','extend','forEach','_collabSessionService','#fff','getSheetBySheetId','round','with','INVITE_CODE_ALREADY_BOUND','use','drawWith','_send','moveTo','m2Prime','_univerInstanceService','trim','makeDirty','_initCommandExecutedListener','_transformService','USERS_LEAVE','collab-text-range-','hasOwnProperty','_init','onPointerLeave$','_getScale','registerRenderModule','closePath','ACTIVE_UNIT_EVENT_CHANNEL','on-line-single_clip0_910_349','black','_drawRectRange','show','url(#$1','_sheetSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','_scheduleClearOtherTimer','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','setParam','runOnServer','getUniverSheetInstance','_localeService','univer-online-status','className','saveTaskMap','_urlService','getActiveSheet','_toggleOnline','replaceState','flatMap','getStateCache','_transformUndoRedoStack','top','OTHER_CLIENTS_EDITING','textRanges','getMember','width','USER_NOT_INVITED_CODE','transformMutationsWithChangeset','OTHER_CLIENT_EDITING','_setupSubUnitSync','sheetId','session.collaboration-timeout','labelPosition','RECT','onCommandExecuted','_createSocketURL','...','registerBeforeClose','unitID','_removeClearOtherTimer','_commandService','docStateChange$','body','UNRECOGNIZED','setItem','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','endColumn','_roomMembers$','dispose','displayName','_initEntityListener','_collabCursorController','text','createInstance','getConfig','replace','_cachedData','SNAPSHOT_HAS_BEEN_REMOVED','reconnect','getFocusedUnit','onlineStatusIcon','_initStatusListener','transformMutation','_getMergeRange','updateOfflineData','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','univer-offline','Unknown\x20user','roomMembers$','push','APPLY_DUPLICATED','TOO_MANY_REQUESTS','complete','children','_range','_onCursorDelete','measureText','272fPkfPX','COMPLETION_FINISHED','getAncestorScale','onRendered','defIds','_docSyncEditingCollabCursorService','_revisionService','_scene','_selfUnitIDs','newValue','getViewport','SUBMIT_CHANGESET_TIMEOUT','contains','activeSheet$','APPLY_NON_SEQUENTIAL_REVISION','max','_handleLeaveEvent','translate(.97)','APPLY_PERMISSION_DENIED','online','_transformHistoryAndStateStack','transformRemoteChangeset','transformIMECache','registerComponent','_httpService','override','WECHAT_HAS_BEEN_BOUND','collaboration.single-unit.warning','div','generateRandomId','M0\x200H16V16H0z','delete','column','_ensureSubject','YUUMI_ASYNCIO_CANCELLED','subscribe','range','1687044PcLAta','30NbAXnm','INVITE_CODE_REQUIRED','_session','_toggleOffline','sessionStatus$','CLOSE_ROOM','set','getCollabCursors$','_updateCollabCursors','getVpScrollXYInfoByPosToVp','_getAnchorBounding','_drawAnchor','subscribeEvent','executeCommand','result','_docTransformSelectionsService','then','permission.content','code','uni.network.url-service','asObservable','random','_refreshCollabCursors','sessionTicket','propertyIsEnumerable','requireSession','colorChannel1','send','_getSheetObject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clearInterval','onLocalMutation','backgroundColor','disposeWithMe','sheetID','pipe','NO_OTHER_CLIENTS_EDITING','init','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','_initStatusComponent','history','roomMembers','23947ngWclk','getTypeOfUnitAdded$','_getSessionTicket','_messageService','_updateLocalCursor','setShapeProps','0\x200\x2016\x2016','#FFF','arc','_color','whenReady','getMergeData','offline','_initDependencies','currentColor','addEventListener','mutations','_collabCursorState$','height','defs','attrs','APPLY_REVISION_CONFILICT','stringify','_online','_disabled','_docTransformStateCacheService','clearTimeout','UNIVER_DOC','_docSkeleton','_initEvent','APPLY_REJECT','setTimeout','symbol','origin','createSocket','red300','endRow','getCurrentSelections','unsubscribe','collabStatus.synced','_setupBeforeClosingHandler','beginPath','_cursor','onMouseMove','split','_hovered','UNDEFINED','_status$','_hover','_handleEvent','_renderManagerService','_onCursorUpdate','unload','INVALID_INVITE_CODE','_registerRenderDependencies','defineProperty'];_0x3602=function(){return _0x14d629;};return _0x3602();}class Gn extends _0x45fd26{constructor(){const _0x454398=_0x4e6031;super(),_(this,_0x454398(0x249),_0x54c139()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454398(0xf0),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x454398(0x117),new Map()),_(this,_0x454398(0x2b9),new Map()),this[_0x454398(0x132)]();}[_0x4e6031(0x16b)](){const _0x59b9b2=_0x4e6031;super['dispose'](),this[_0x59b9b2(0x117)][_0x59b9b2(0x11e)]((_0x41cd69,_0x3557a4)=>this[_0x59b9b2(0x162)](_0x3557a4)),this[_0x59b9b2(0x217)]&&window[_0x59b9b2(0x1cd)](this[_0x59b9b2(0x217)]);}['getUnitStatus$'](_0x1bf0b7){const _0x2bf73e=_0x4e6031;return this[_0x2bf73e(0x1aa)](_0x1bf0b7)[_0x2bf73e(0x1d2)](_0x53040a());}[_0x4e6031(0x225)](_0x44f6fe){const _0x454630=_0x4e6031;this[_0x454630(0x191)][_0x454630(0x250)]===0x0&&this[_0x454630(0xf5)](),this[_0x454630(0x191)]['add'](_0x44f6fe),this['_send']({'type':0x0,'memberID':this[_0x454630(0x249)],'unitIDs':[_0x44f6fe],'isForwarded':!0x1});}[_0x4e6031(0xe0)](_0x4e1586){const _0xfa7c23=_0x4e6031;this[_0xfa7c23(0x191)][_0xfa7c23(0x1a8)](_0x4e1586),this['_selfUnitIDs'][_0xfa7c23(0x250)]===0x0&&this['_heartbeatTimer']&&window[_0xfa7c23(0x1cd)](this[_0xfa7c23(0x217)]);}['_init'](){const _0x1901a7=_0x4e6031;this[_0x1901a7(0x1d0)](_0x119248(_0x4ab014(window,_0x1901a7(0x213))[_0x1901a7(0x1ac)](_0x3dc2e0=>{const _0x4c4a50=_0x1901a7;if(_0x3dc2e0[_0x4c4a50(0x2b3)]!==ot||!_0x3dc2e0['newValue'])return;const _0x29b4d0=JSON[_0x4c4a50(0x27f)](_0x3dc2e0[_0x4c4a50(0x192)]);this[_0x4c4a50(0x20b)](_0x29b4d0);}))),window[_0x1901a7(0x1e9)](_0x1901a7(0x20e),()=>this[_0x1901a7(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1901a7(0x263)](this[_0x1901a7(0x191)])}));}['_handleEvent'](_0x24ac8f){const _0xa2a139=_0x4e6031;switch(_0x24ac8f[_0xa2a139(0x258)]){case 0x0:this[_0xa2a139(0x100)](_0x24ac8f);break;case 0x1:this[_0xa2a139(0x199)](_0x24ac8f);break;case 0x2:this[_0xa2a139(0x25f)](_0x24ac8f);break;}}['_handleJoinEvent'](_0x5f052e){const _0x35e829=_0x4e6031,{unitIDs:_0x2f8f20,memberID:_0x411e1a,isForwarded:_0x40d064}=_0x5f052e;_0x2f8f20['forEach'](_0x5c5308=>{const _0x586919=_0x580c;if(!_0x40d064&&this[_0x586919(0xf0)][_0x586919(0x221)](_0x5c5308)&&this[_0x586919(0x1aa)](_0x5c5308)['next'](_0x559aad['OTHER_CLIENTS_EDITING']),!this[_0x586919(0xf0)]['has'](_0x5c5308)||!this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)[_0x586919(0x221)](_0x411e1a)){const _0x120912=this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)||new Set();_0x120912[_0x586919(0x252)](_0x411e1a),this[_0x586919(0xf0)]['set'](_0x5c5308,_0x120912),this[_0x586919(0x13f)](_0x411e1a);}}),_0x40d064||this[_0x35e829(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x35e829(0x191)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2dd49b){const _0x566508=_0x4e6031;this[_0x566508(0x162)](_0x2dd49b);const _0x563ed2=window[_0x566508(0x1f9)](()=>{const _0x10ff8c=_0x566508;this[_0x10ff8c(0xf0)][_0x10ff8c(0x11e)](_0x49980b=>{_0x49980b['delete'](_0x2dd49b);});},rt*0x2);this[_0x566508(0x117)][_0x566508(0x1b5)](_0x2dd49b,_0x563ed2);}[_0x4e6031(0x162)](_0x317531){const _0x18b49e=_0x4e6031;if(this[_0x18b49e(0x117)][_0x18b49e(0x221)](_0x317531)){const _0x3a936e=this[_0x18b49e(0x117)][_0x18b49e(0x29c)](_0x317531);_0x3a936e&&window[_0x18b49e(0x1f4)](_0x3a936e),this[_0x18b49e(0x117)][_0x18b49e(0x1b5)](_0x317531,null);}}[_0x4e6031(0x199)](_0x1aaedc){const _0x963f58=_0x4e6031,{memberID:_0x11351f,unitIDs:_0x446575}=_0x1aaedc;_0x446575['forEach'](_0x5e0a22=>{const _0x3da089=_0x580c;var _0x3a8b8b;const _0x12361d=this[_0x3da089(0xf0)][_0x3da089(0x29c)](_0x5e0a22);_0x12361d&&(_0x12361d[_0x3da089(0x1a8)](_0x11351f),(_0x3a8b8b=this[_0x3da089(0x1aa)](_0x5e0a22))==null||_0x3a8b8b[_0x3da089(0x278)](_0x12361d['size']===0x0?_0x559aad[_0x3da089(0x1d3)]:_0x559aad[_0x3da089(0x151)]));}),this[_0x963f58(0x162)](_0x11351f);}['_handleHeartbeatEvent'](_0x1d3ebc){const _0x41eb65=_0x4e6031;this[_0x41eb65(0x13f)](_0x1d3ebc[_0x41eb65(0x2d7)]);}[_0x4e6031(0x127)](_0x24b3c4){const _0x265470=_0x4e6031;localStorage[_0x265470(0x167)](ot,JSON[_0x265470(0x1f0)](_0x24b3c4));}[_0x4e6031(0xf5)](){const _0xf7265a=_0x4e6031;this['_heartbeatTimer']=window[_0xf7265a(0x2d0)](()=>{const _0x26f44f=_0xf7265a;this[_0x26f44f(0x127)]({'type':0x2,'memberID':this[_0x26f44f(0x249)]});},rt);}[_0x4e6031(0x1aa)](_0x28cf10){const _0x4a66de=_0x4e6031;return this[_0x4a66de(0x2b9)][_0x4a66de(0x221)](_0x28cf10)||this[_0x4a66de(0x2b9)][_0x4a66de(0x1b5)](_0x28cf10,new _0x4cb6b4(_0x559aad[_0x4a66de(0x1d3)])),this['_unitStatus'][_0x4a66de(0x29c)](_0x28cf10);}}var wt=(_0x3bf57b=>(_0x3bf57b[_0x3bf57b[_0x4e6031(0x208)]=0x0]='UNDEFINED',_0x3bf57b[_0x3bf57b['OK']=0x1]='OK',_0x3bf57b[_0x3bf57b[_0x4e6031(0x116)]=0x2]=_0x4e6031(0x116),_0x3bf57b[_0x3bf57b['PERMISSION_DENIED']=0x3]=_0x4e6031(0x272),_0x3bf57b[_0x3bf57b['NOT_FOUND']=0x4]='NOT_FOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x262)]=0x5]=_0x4e6031(0x262),_0x3bf57b[_0x3bf57b[_0x4e6031(0xe1)]=0x6]='ALREADY_EXISTS',_0x3bf57b[_0x3bf57b[_0x4e6031(0x27a)]=0x7]=_0x4e6031(0x27a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x183)]=0x8]=_0x4e6031(0x183),_0x3bf57b[_0x3bf57b[_0x4e6031(0x18a)]=0x9]=_0x4e6031(0x18a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x2a4)]=0xa]=_0x4e6031(0x2a4),_0x3bf57b[_0x3bf57b['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x219)]=0x1771]=_0x4e6031(0x219),_0x3bf57b[_0x3bf57b[_0x4e6031(0x174)]=0x1772]=_0x4e6031(0x174),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1d5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3bf57b[_0x3bf57b[_0x4e6031(0x1f8)]=0x1b59]=_0x4e6031(0x1f8),_0x3bf57b[_0x3bf57b[_0x4e6031(0x197)]=0x1b5a]=_0x4e6031(0x197),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ef)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x19b)]=0x1b5c]=_0x4e6031(0x19b),_0x3bf57b[_0x3bf57b['APPLY_DUPLICATED']=0x1b5d]=_0x4e6031(0x182),_0x3bf57b[_0x3bf57b[_0x4e6031(0x24e)]=0x1f41]=_0x4e6031(0x24e),_0x3bf57b[_0x3bf57b[_0x4e6031(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0x248)]=0x232a]=_0x4e6031(0x248),_0x3bf57b[_0x3bf57b[_0x4e6031(0x17d)]=0x232b]=_0x4e6031(0x17d),_0x3bf57b[_0x3bf57b[_0x4e6031(0x105)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0xe5)]=0x232d]=_0x4e6031(0xe5),_0x3bf57b[_0x3bf57b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bf57b[_0x3bf57b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4e6031(0x114),_0x3bf57b[_0x3bf57b[_0x4e6031(0x140)]=0x2713]=_0x4e6031(0x140),_0x3bf57b[_0x3bf57b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e6031(0x280),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23c)]=0x271a]=_0x4e6031(0x23c),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ab)]=0x271b]=_0x4e6031(0x1ab),_0x3bf57b[_0x3bf57b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3bf57b[_0x3bf57b[_0x4e6031(0x101)]=0x2ee1]=_0x4e6031(0x101),_0x3bf57b[_0x3bf57b['INVALID_INVITE_CODE']=0x2ee2]=_0x4e6031(0x20f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1b0)]=0x2ee3]=_0x4e6031(0x1b0),_0x3bf57b[_0x3bf57b[_0x4e6031(0x155)]=0x2ee4]=_0x4e6031(0x155),_0x3bf57b[_0x3bf57b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4e6031(0x124),_0x3bf57b[_0x3bf57b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e6031(0x1a3),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x28f)]=0x32cb]=_0x4e6031(0x28f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x166)]=-0x1]=_0x4e6031(0x166),_0x3bf57b))(wt||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x3818f7,_0x30be85,_0x27db86,_0x156a3)=>{const _0x4bd871=_0x4e6031;for(var _0x22fa35=_0x156a3>0x1?void 0x0:_0x156a3?Rn(_0x30be85,_0x27db86):_0x30be85,_0x3f175c=_0x3818f7[_0x4bd871(0x2cf)]-0x1,_0xe706bf;_0x3f175c>=0x0;_0x3f175c--)(_0xe706bf=_0x3818f7[_0x3f175c])&&(_0x22fa35=_0xe706bf(_0x22fa35)||_0x22fa35);return _0x22fa35;},Te=(_0x53cbd2,_0x234735)=>(_0x241d4d,_0x314fb5)=>_0x234735(_0x241d4d,_0x314fb5,_0x53cbd2);let at=class extends _0x45fd26{constructor(_0x3b1236,_0x50697f,_0x39fbd8){const _0x187dac=_0x4e6031;super(),this[_0x187dac(0x2bf)]=_0x3b1236,this[_0x187dac(0x1a1)]=_0x50697f,this[_0x187dac(0x119)]=_0x39fbd8;}async[_0x4e6031(0x143)](_0x4a3966,_0x514760,_0x59b45f,..._0x5b9d1d){const _0x422457=_0x4e6031;var _0x496e05,_0x29455b,_0x43262d,_0x2e3ce8;const _0x1d205e=this[_0x422457(0x2bf)][_0x422457(0x176)]();if(!_0x1d205e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x40ce0c=((_0x496e05=this['_configService']['getConfig'](_0x7e84b6))!=null?_0x496e05:_0x463d62)+'/'+_0x4a3966+_0x422457(0x231)+_0x514760,_0x288f5e=new URL(window['location'][_0x422457(0x245)]),_0x1be58a={'scriptId':_0x4a3966,'runId':(_0x29455b=_0x288f5e[_0x422457(0xf6)][_0x422457(0x29c)](_0x422457(0x2b0)))!=null?_0x29455b:'','function':_0x514760,'unitId':_0x1d205e[_0x422457(0x220)](),'argsOfFunction':JSON[_0x422457(0x1f0)](_0x5b9d1d),'invokeId':(_0x43262d=_0x59b45f[_0x422457(0x2cb)])!=null?_0x43262d:'','executionId':(_0x2e3ce8=_0x59b45f['executionId'])!=null?_0x2e3ce8:''};try{const _0x32a528=await this[_0x422457(0x1a1)][_0x422457(0x111)](_0x40ce0c,{'body':_0x1be58a});return _0x32a528[_0x422457(0x165)][_0x422457(0x2ba)]&&_0x32a528[_0x422457(0x165)]['error'][_0x422457(0x1c1)]!==wt['OK']?'Failed':_0x32a528['body'][_0x422457(0x1bd)];}catch{return _0x422457(0x2a7);}}};at=Dn([Te(0x0,_0x42b704),Te(0x1,_0x296b66(_0x499a00)),Te(0x2,_0x54d5a8)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- 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
+ function _0x53eb(_0x2fbc33,_0x221fde){const _0x554dc1=_0x554d();return _0x53eb=function(_0x53eb3c,_0x38a667){_0x53eb3c=_0x53eb3c-0x9d;let _0x49cafc=_0x554dc1[_0x53eb3c];return _0x49cafc;},_0x53eb(_0x2fbc33,_0x221fde);}const _0x196a92=_0x53eb;(function(_0x4ce1ea,_0x162245){const _0x38215e=_0x53eb,_0x14b940=_0x4ce1ea();while(!![]){try{const _0x16a260=-parseInt(_0x38215e(0xb5))/0x1+-parseInt(_0x38215e(0xb1))/0x2*(parseInt(_0x38215e(0xac))/0x3)+parseInt(_0x38215e(0xa9))/0x4*(-parseInt(_0x38215e(0xa2))/0x5)+parseInt(_0x38215e(0xa3))/0x6+-parseInt(_0x38215e(0xab))/0x7*(-parseInt(_0x38215e(0xa6))/0x8)+-parseInt(_0x38215e(0x9f))/0x9+parseInt(_0x38215e(0xad))/0xa;if(_0x16a260===_0x162245)break;else _0x14b940['push'](_0x14b940['shift']());}catch(_0x5dc30f){_0x14b940['push'](_0x14b940['shift']());}}}(_0x554d,0xc895e));const e={'collab-client':{'tooltip':{'reconnect':_0x196a92(0xa0)}},'collabStatus':{'fetchMiss':_0x196a92(0xb2),'conflict':_0x196a92(0x9d),'notCollab':_0x196a92(0xa1),'synced':_0x196a92(0xa5),'syncing':_0x196a92(0xb4),'offline':_0x196a92(0x9e)},'session':{'connection-failed':_0x196a92(0xb3),'will-retry':_0x196a92(0xaa),'room-full':_0x196a92(0xb0),'collaboration-timeout':_0x196a92(0xa8)},'conflict':{'title':_0x196a92(0xaf),'content':_0x196a92(0xa7)},'permission':{'title':'Authentication\x20Error','content':_0x196a92(0xa4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x196a92(0xae)},'auth':{'needGotoLoginAlert':_0x196a92(0xb6)}};function _0x554d(){const _0x246b5c=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','393684fgXOSi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3547061AfgNRp','3KIKdIL','41848300BrIcRc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2637880HCxIKn','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','1571811wGGZOu','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','11760912mJAHxr','Click\x20to\x20Reconnect','Local\x20file','65zyGHUG','9642222UoaCvl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','8rCjEyS'];_0x554d=function(){return _0x246b5c;};return _0x554d();}export{e as default};
@@ -1 +1 @@
1
- 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 _0x50424e=_0x2e8c;function _0x2e8c(_0x47317a,_0x12082f){const _0x203f1f=_0x203f();return _0x2e8c=function(_0x2e8cb1,_0x5a29db){_0x2e8cb1=_0x2e8cb1-0xe8;let _0x560bf2=_0x203f1f[_0x2e8cb1];return _0x560bf2;},_0x2e8c(_0x47317a,_0x12082f);}(function(_0x42e534,_0x12f654){const _0xdd8857=_0x2e8c,_0x2458b8=_0x42e534();while(!![]){try{const _0x3456b7=-parseInt(_0xdd8857(0x102))/0x1*(parseInt(_0xdd8857(0xea))/0x2)+parseInt(_0xdd8857(0xec))/0x3*(parseInt(_0xdd8857(0x101))/0x4)+-parseInt(_0xdd8857(0xf3))/0x5*(parseInt(_0xdd8857(0xf6))/0x6)+-parseInt(_0xdd8857(0xf1))/0x7*(parseInt(_0xdd8857(0xfd))/0x8)+-parseInt(_0xdd8857(0xff))/0x9*(parseInt(_0xdd8857(0xf0))/0xa)+-parseInt(_0xdd8857(0xf4))/0xb+-parseInt(_0xdd8857(0xeb))/0xc*(-parseInt(_0xdd8857(0xf5))/0xd);if(_0x3456b7===_0x12f654)break;else _0x2458b8['push'](_0x2458b8['shift']());}catch(_0x399a93){_0x2458b8['push'](_0x2458b8['shift']());}}}(_0x203f,0x456e7));const o={'collab-client':{'tooltip':{'reconnect':_0x50424e(0xe9)}},'collabStatus':{'fetchMiss':_0x50424e(0xf9),'conflict':_0x50424e(0xf7),'notCollab':_0x50424e(0xfc),'synced':_0x50424e(0xed),'syncing':_0x50424e(0xfa),'offline':_0x50424e(0xf8)},'session':{'connection-failed':_0x50424e(0x105),'will-retry':_0x50424e(0xf2),'room-full':_0x50424e(0xef),'collaboration-timeout':_0x50424e(0xfb)},'conflict':{'title':_0x50424e(0x104),'content':_0x50424e(0xfe)},'permission':{'title':_0x50424e(0xee),'content':_0x50424e(0x100)},'collaboration':{'single-unit':{'warning':_0x50424e(0x103)},'closeRoom':_0x50424e(0xe8)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x203f(){const _0x589fd4=['4BztwAT','22093476CYIwwD','3543EfvOal','همگام\x20سازی','خطای\x20اعتبارسنجی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','2220iWTuuY','469CsNRkT','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','45PrLHtr','5583897QZOprO','13WaUdWr','309810tFltsl','تداخل\x20ویرایش','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','31704fXWbIv','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','11241jpqpwX','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','780gxDPeo','135943nPBVPr','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'];_0x203f=function(){return _0x589fd4;};return _0x203f();}