@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x23cad7=_0x28f6;(function(_0x4fe804,_0x2b81a7){const _0x701e0f=_0x28f6,_0xa6c201=_0x4fe804();while(!![]){try{const _0x30a2e8=parseInt(_0x701e0f(0x226))/0x1+-parseInt(_0x701e0f(0x92))/0x2+parseInt(_0x701e0f(0x156))/0x3*(-parseInt(_0x701e0f(0x12d))/0x4)+parseInt(_0x701e0f(0xce))/0x5*(parseInt(_0x701e0f(0x21b))/0x6)+-parseInt(_0x701e0f(0x12b))/0x7+-parseInt(_0x701e0f(0x113))/0x8*(parseInt(_0x701e0f(0x135))/0x9)+-parseInt(_0x701e0f(0x179))/0xa*(-parseInt(_0x701e0f(0x22d))/0xb);if(_0x30a2e8===_0x2b81a7)break;else _0xa6c201['push'](_0xa6c201['shift']());}catch(_0x5d079e){_0xa6c201['push'](_0xa6c201['shift']());}}}(_0x571f,0xe2409));var Bt=Object[_0x23cad7(0x100)],kt=(_0x18bdcc,_0x1bebf8,_0x152cc4)=>_0x1bebf8 in _0x18bdcc?Bt(_0x18bdcc,_0x1bebf8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x152cc4}):_0x18bdcc[_0x1bebf8]=_0x152cc4,_=(_0x1832f5,_0x400624,_0x3c2659)=>kt(_0x1832f5,typeof _0x400624!=_0x23cad7(0x1c9)?_0x400624+'':_0x400624,_0x3c2659);import{MemberService as _0x41ffe7,SessionStatus as _0x19ae66,CollaborationSessionService as _0x342c4a,CollaborationStatus as _0x258d3a,CollaborationController as _0x403fef,ILocalCacheService as _0x176d90,CollaborationUIEventService as _0x2d342b,CollaborationUIEventId as _0x476b7a,DataLoaderService as _0x1f5bc1,DocCollaborationEntity as _0x34153b,getLocalCacheKey as _0x98d483,LOCAL_CACHE_INTERVAL as _0x1865fb,LOCAL_CACHE_INTERVAL_KEY as _0x3fa72b,UniverCollaborationClientPlugin as _0x395bf6,CollaborationSocketService as _0x446b27,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1d8d97,DEFAULT_WS_SESSION_TICKET_URL as _0x90a00c,UnitStatus as _0x4366b4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x302ce4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x23bef9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3ca7b4,Disposable as _0x2b4291,DOC_RANGE_TYPE as _0x594946,Inject as _0x39beab,Injector as _0x403f23,IUniverInstanceService as _0x530874,ICommandService as _0x4b214e,debounce as _0x2cf361,Rectangle as _0x3f45c7,DisposableCollection as _0x2e5fe0,toDisposable as _0x1865ee,UniverInstanceType as _0x19042c,Tools as _0x3573b,COLORS as _0x1c1afc,ColorKit as _0x1d4786,ThemeService as _0x335e66,fromEventSubject as _0x2c0713,LocaleService as _0x22a524,createIdentifier as _0x43769f,ILogService as _0x3bb576,Optional as _0x48f485,Workbook as _0x5c5c9b,CommandType as _0x177e7d,IConfigService as _0x4d500e,ILocalStorageService as _0x3ce989,DependentOn as _0x3077c7,Plugin as _0x186e09,merge as _0x4166aa,registerDependencies as _0x2c9a28,mergeOverrideWithDependencies as _0x1df21d,touchDependencies as _0x4b5464,generateRandomId as _0x2186a6}from'@univerjs/core';import{Shape as _0x141772,Rect as _0x302fc9,getColor as _0x395a0c,RegularPolygon as _0x232900,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44f7c7,Vector2 as _0x710533,SHEET_VIEWPORT_KEY as _0x46baf7,IRenderManagerService as _0x5e2092}from'@univerjs/engine-render';import{ISocketService as _0x216855,WebSocketService as _0xb5f18c,HTTPService as _0x2b3219}from'@univerjs/network';import{IDocClipboardService as _0x161686,NodePositionConvertToCursor as _0x42e08a,NodePositionConvertToRectRange as _0x2641cb,TEXT_RANGE_LAYER_INDEX as _0x5de3ce,SetDocZoomRatioOperation as _0x439d7c,DocIMEInputManagerService as _0x13cc4b,DocStateChangeManagerService as _0x5f1eb8}from'@univerjs/docs-ui';import{IImageIoService as _0x84bb88}from'@univerjs/drawing';import{BehaviorSubject as _0xc1edc8,debounceTime as _0x47015b,takeUntil as _0x155dfe,Subject as _0x1cc0e9,filter as _0x25ed59,switchMap as _0x3621d7,merge as _0x42e95e,combineLatest as _0x21d1e8,of as _0x357fef,fromEvent as _0x2d89cf,shareReplay as _0x5b7c2f,mapTo as _0x1e884d,distinctUntilChanged as _0x280180}from'rxjs';import{SetTextSelectionsOperation as _0x1bbdea,RichTextEditingMutation as _0x53df26,DocSelectionManagerService as _0x2d803b,DocSkeletonManagerService as _0x168b6e}from'@univerjs/docs';import{ITransformService as _0x50146e,CollaborationEvent as _0x1df2d4,isTransformMutationFailure as _0x2117ba,isTransformMutationsWithChangesetSuccess as _0x498352,RevisionService as _0x5238a0,ISnapshotServerService as _0x1d14d2}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x32ed2b,serializeRangeWithSheet as _0x15c355}from'@univerjs/engine-formula';import{RefRangeService as _0x42f5f9,SetSelectionsOperation as _0xaa05e7,SheetsSelectionsService as _0x1fb433,EffectRefRangId as _0x2ad328,handleIRemoveRow as _0x5798f7,handleIRemoveCol as _0xe5819,handleMoveRange as _0x45e420,handleInsertRow as _0x26553a,handleInsertRangeMoveRight as _0x1e662d,handleInsertRangeMoveDown as _0x4ac1fb,handleInsertCol as _0x27d15c,handleDeleteRangeMoveUp as _0x197876,handleDeleteRangeMoveLeft as _0x47114d,runRefRangeMutations as _0x43f57b,SetWorksheetActivateCommand as _0x1b3e2d}from'@univerjs/sheets';import{map as _0x1e594a,filter as _0x6bb005,throttleTime as _0x571dd1,takeUntil as _0x2c4910,switchMap as _0x4b813c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5dc728,getCoordByCell as _0x3c73cb,getSheetObject as _0x24e446}from'@univerjs/sheets-ui';import{jsx as _0x3b256b,jsxs as _0x4971c3}from'react/jsx-runtime';import{useObservable as _0xed74ac,useDependency as _0x4a50b4,IUIPartsService as _0x422f3f,BuiltInUIPart as _0x29d125,connectInjector as _0x5bf325,IBeforeCloseService as _0x3282cb,IMessageService as _0x3008ab,INotificationService as _0x4d33d5}from'@univerjs/ui';import{clsx as _0x512f41,Tooltip as _0x47a991,MessageType as _0x575660}from'@univerjs/design';import{forwardRef as _0xe0c864,useRef as _0x4a00fa,createElement as _0x28af11,useCallback as _0x587d41}from'react';import{IRemoteInstanceService as _0xe2c81a}from'@univerjs/rpc';var li=Object[_0x23cad7(0x19a)],_i=(_0x43d2ea,_0x39d3b8,_0x3f91f0,_0xf7871c)=>{const _0xc607f7=_0x23cad7;for(var _0x536fec=_0xf7871c>0x1?void 0x0:_0xf7871c?li(_0x39d3b8,_0x3f91f0):_0x39d3b8,_0x119acb=_0x43d2ea[_0xc607f7(0x87)]-0x1,_0x4fffea;_0x119acb>=0x0;_0x119acb--)(_0x4fffea=_0x43d2ea[_0x119acb])&&(_0x536fec=_0x4fffea(_0x536fec)||_0x536fec);return _0x536fec;},Qe=(_0x2bdab4,_0x27f172)=>(_0x3cb242,_0x2a3cb0)=>_0x27f172(_0x3cb242,_0x2a3cb0,_0x2bdab4);let Me=class extends _0x3ca7b4{constructor(_0x224ed5,_0x405531){const _0x259b3c=_0x23cad7;super(),this['_docClipboardService']=_0x224ed5,this[_0x259b3c(0x138)]=_0x405531,this[_0x259b3c(0xdb)]();}['_init'](){const _0x27818f=_0x23cad7,_0x272d4e=this;this[_0x27818f(0x86)](this[_0x27818f(0x25c)][_0x27818f(0x98)]({'onBeforePasteImage':async _0x37c384=>{const _0x3a0cf8=_0x27818f,_0x132fa0=await _0x272d4e[_0x3a0cf8(0x138)][_0x3a0cf8(0x10c)](_0x37c384);return _0x132fa0?{'source':_0x132fa0['source'],'imageSourceType':_0x132fa0['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x161686),Qe(0x1,_0x84bb88)],Me);const qe=[_0x23cad7(0xcc),_0x23cad7(0x170),_0x23cad7(0x1a8),_0x23cad7(0x1c8),_0x23cad7(0xe8),_0x23cad7(0x136)];class He extends _0x2b4291{constructor(){const _0x24ea01=_0x23cad7;super(...arguments),_(this,_0x24ea01(0x20e),new Map()),_(this,_0x24ea01(0x173),0x0);}[_0x23cad7(0x1de)](_0x563435){const _0x3e0cb4=_0x23cad7;if(this['_assignedColors'][_0x3e0cb4(0x1aa)](_0x563435))return this['_assignedColors'][_0x3e0cb4(0x249)](_0x563435);const _0x4bac62=qe[this['_colorIndex']];return this[_0x3e0cb4(0x173)]=(this['_colorIndex']+0x1)%qe[_0x3e0cb4(0x87)],this['_assignedColors']['set'](_0x563435,_0x4bac62),_0x4bac62;}}function Dt(_0x21ef4e){const _0x371959=_0x23cad7;let _0x371360='';for(const _0x55ab1b of _0x21ef4e){const {startOffset:_0x5c4629,endOffset:_0x52c8c4,isActive:_0x2cdc90,rangeType:_0x331a7b,segmentId:_0x3b9f24,segmentPage:_0x2210e2}=_0x55ab1b;_0x371360[_0x371959(0x87)]&&(_0x371360+=','),_0x371360+=_0x5c4629+':'+_0x52c8c4+':'+(_0x2cdc90?'1':'0')+':'+_0x331a7b+':'+_0x3b9f24+':'+_0x2210e2;}return _0x371360;}function hi(_0x220eac){const _0x517b05=_0x23cad7,_0x2fa5e3=_0x220eac[_0x517b05(0x1b0)](','),_0xf20d7f=[];for(const _0x5e2d5c of _0x2fa5e3){const [_0x306822,_0x137d03,_0x2cf3bc,_0x46956b,_0x2ad918,_0x4645b6]=_0x5e2d5c[_0x517b05(0x1b0)](':');_0xf20d7f[_0x517b05(0x114)]({'startOffset':Number(_0x306822),'endOffset':Number(_0x137d03),'collapsed':_0x306822===_0x137d03,'isActive':_0x2cf3bc==='1','rangeType':_0x46956b===_0x594946[_0x517b05(0x133)]?_0x594946[_0x517b05(0x133)]:_0x594946[_0x517b05(0x210)],'segmentId':typeof _0x2ad918=='string'?String(_0x2ad918):'','segmentPage':Number(_0x4645b6!=null?_0x4645b6:-0x1)});}return _0xf20d7f[_0x517b05(0x1ff)](_0x5454ff=>_0x5454ff[_0x517b05(0xc4)])||(_0xf20d7f[0x0][_0x517b05(0xc4)]=!0x0),_0xf20d7f;}class je extends _0x3ca7b4{constructor(){const _0x5d8e80=_0x23cad7;super(...arguments),_(this,'_collabCursorState$',new _0xc1edc8(null)),_(this,_0x5d8e80(0x257),this[_0x5d8e80(0x215)][_0x5d8e80(0x122)]());}['syncEditingCollabCursor'](_0x236677){const _0x40ecd5=_0x23cad7,{unitID:_0x4d61b8,memberID:_0x1a79c7,textRanges:_0x2cd877}=_0x236677,_0x8fd5e6=Dt(_0x2cd877);if(_0x8fd5e6==='')return;const _0x506081={'unitID':_0x4d61b8,'memberID':_0x1a79c7,'selection':_0x8fd5e6};this[_0x40ecd5(0x215)][_0x40ecd5(0x17a)](_0x506081);}}var ui=Object[_0x23cad7(0x19a)],di=(_0x8830b,_0x5348d0,_0x3839ed,_0x3b6e93)=>{const _0x222e74=_0x23cad7;for(var _0x136bab=_0x3b6e93>0x1?void 0x0:_0x3b6e93?ui(_0x5348d0,_0x3839ed):_0x5348d0,_0x297aac=_0x8830b[_0x222e74(0x87)]-0x1,_0x4a20ff;_0x297aac>=0x0;_0x297aac--)(_0x4a20ff=_0x8830b[_0x297aac])&&(_0x136bab=_0x4a20ff(_0x136bab)||_0x136bab);return _0x136bab;},U=(_0x58894c,_0x2e7d05)=>(_0x5c8056,_0x1f8d65)=>_0x2e7d05(_0x5c8056,_0x1f8d65,_0x58894c);const fi=0x12c,Si=0x64;let Pe=class extends _0x3ca7b4{constructor(_0xdb403f,_0x4bd796,_0x52c42,_0x3bf96f,_0x5ecfa2,_0x385161,_0x1906b9,_0x250169,_0x4af7ee){const _0x14411c=_0x23cad7;super(),_(this,_0x14411c(0x250),!0x1),_(this,_0x14411c(0xdb),!0x1),_(this,_0x14411c(0xcb),new _0xc1edc8(new Map())),_(this,_0x14411c(0x16e),this[_0x14411c(0xcb)][_0x14411c(0x122)]()),_(this,_0x14411c(0x1a4),new _0xc1edc8([])),_(this,'roomMembers$',this[_0x14411c(0x1a4)][_0x14411c(0x1eb)](_0x47015b(fi))),_(this,'_updateLocalCursor',_0x2cf361(_0x274091=>{const _0x268ada=_0x14411c,_0x5a6b09={'eventID':_0x1df2d4[_0x268ada(0x228)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x268ada(0x199)](),'selection':Dt(_0x274091)}};this[_0x268ada(0xdd)][_0x268ada(0x240)](_0x5a6b09,this[_0x268ada(0x95)]);},Si)),(this[_0x14411c(0x95)]=_0xdb403f,this[_0x14411c(0xdd)]=_0x4bd796,this['_injector']=_0x52c42,this[_0x14411c(0x15e)]=_0x3bf96f,this[_0x14411c(0x283)]=_0x5ecfa2,this[_0x14411c(0x125)]=_0x385161,this[_0x14411c(0xe9)]=_0x1906b9,this[_0x14411c(0x149)]=_0x250169,this[_0x14411c(0x206)]=_0x4af7ee);}get[_0x23cad7(0x150)](){const _0x4e1774=_0x23cad7;return this[_0x4e1774(0xcb)][_0x4e1774(0x160)]();}get[_0x23cad7(0x232)](){const _0x265a30=_0x23cad7;return this[_0x265a30(0x1a4)][_0x265a30(0x160)]();}[_0x23cad7(0x13b)](){const _0x6ac26=_0x23cad7;super[_0x6ac26(0x13b)](),this[_0x6ac26(0xcb)][_0x6ac26(0x17a)](new Map()),this[_0x6ac26(0xcb)]['complete'](),this['_roomMembers$'][_0x6ac26(0x17a)]([]),this[_0x6ac26(0x1a4)][_0x6ac26(0x253)]();}['init'](){const _0x261ed6=_0x23cad7;this['_init']||(this[_0x261ed6(0xdb)]=!0x0,this['_session'][_0x261ed6(0x1a0)][_0x261ed6(0x1eb)](_0x155dfe(this[_0x261ed6(0x1b4)]))[_0x261ed6(0x93)](_0x40ee24=>{const _0x10169d=_0x261ed6;_0x40ee24===_0x19ae66[_0x10169d(0x23f)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x261ed6(0xdd)][_0x261ed6(0x1dd)]['pipe'](_0x155dfe(this['dispose$']))[_0x261ed6(0x93)](_0x4fbce6=>{const _0x128153=_0x261ed6,_0x12236c=_0x4fbce6[_0x128153(0xbe)];_0x12236c===_0x1df2d4['UPDATE_CURSOR']&&this[_0x128153(0xe0)](_0x4fbce6),_0x12236c===_0x1df2d4[_0x128153(0xd5)]&&this[_0x128153(0x137)](_0x4fbce6);}),this['disposeWithMe'](this[_0x261ed6(0x206)]['onCommandExecuted'](_0x284a6f=>{const _0x121322=_0x261ed6,_0x4d4fc5=_0x284a6f['params'];_0x4d4fc5!=null&&this[_0x121322(0x250)]&&_0x284a6f['id']===_0x1bbdea['id']&&_0x4d4fc5['unitId']===this[_0x121322(0x95)]&&_0x4d4fc5['isEditing']===!0x1&&_0x4d4fc5[_0x121322(0x1bb)][_0x121322(0x87)]>0x0&&this['_updateLocalCursor'](_0x4d4fc5[_0x121322(0x1bb)]);})),this[_0x261ed6(0x125)][_0x261ed6(0x257)]['pipe'](_0x155dfe(this[_0x261ed6(0x1b4)]))[_0x261ed6(0x93)](_0x19789d=>{const _0x4f6683=_0x261ed6;if((_0x19789d==null?void 0x0:_0x19789d[_0x4f6683(0x95)])!==this[_0x4f6683(0x95)])return;const _0x3c0786={'eventID':_0x1df2d4[_0x4f6683(0x228)],'data':_0x19789d};this[_0x4f6683(0xe0)](_0x3c0786);}),this[_0x261ed6(0x86)](this[_0x261ed6(0x206)][_0x261ed6(0x152)](_0x3b9dba=>{const _0xa015e4=_0x261ed6;if(_0x3b9dba[_0xa015e4(0x27b)]==null)return;const _0x4f3fa2=_0x3b9dba[_0xa015e4(0x27b)];if(_0x3b9dba['id']!==_0x53df26['id']||_0x4f3fa2[_0xa015e4(0x242)]!==this[_0xa015e4(0x95)])return;const _0x344c8f={'id':'doc.mutation.rich-text-editing','params':_0x4f3fa2},_0x30c137=this[_0xa015e4(0x150)];for(const [_0x483003,_0x1321b3]of _0x30c137){const _0x55e99d={'id':_0xa015e4(0x21d),'params':{'unitId':this[_0xa015e4(0x95)],'actions':null,'textRanges':_0x1321b3[_0xa015e4(0x1bb)]}},_0xdf01ac=this[_0xa015e4(0xe9)][_0xa015e4(0x102)](_0x344c8f,_0x55e99d,!0x1);if(_0x2117ba(_0xdf01ac))throw _0xdf01ac[_0xa015e4(0x25b)];_0x30c137[_0xa015e4(0x278)](_0x483003,{..._0x1321b3,'ranges':_0xdf01ac[_0xa015e4(0x18c)][_0xa015e4(0x27b)][_0xa015e4(0x91)]});}queueMicrotask(()=>{const _0x382868=_0xa015e4;this[_0x382868(0xcb)][_0x382868(0x17a)](_0x30c137);});})));}[_0x23cad7(0xe0)](_0x2a9817){const _0x5c4a78=_0x23cad7;var _0x52b763,_0x64869c;const {memberID:_0x3251e3,selection:_0x29e852}=_0x2a9817[_0x5c4a78(0x256)],_0x408c9c=hi(_0x29e852),_0x46392c=(_0x64869c=(_0x52b763=this[_0x5c4a78(0x283)][_0x5c4a78(0x126)](this[_0x5c4a78(0x95)],_0x3251e3))==null?void 0x0:_0x52b763['name'])!=null?_0x64869c:_0x5c4a78(0x14e),_0x420ed7={'color':this['_colorAssignService'][_0x5c4a78(0x1de)](_0x3251e3),'name':_0x46392c,'ranges':_0x408c9c},_0x41f8c2=this[_0x5c4a78(0x150)];_0x41f8c2[_0x5c4a78(0x278)](_0x3251e3,_0x420ed7),this['_cursorInfo$'][_0x5c4a78(0x17a)](_0x41f8c2);}[_0x23cad7(0x137)](_0xd438d8){const _0x384126=_0x23cad7,{memberID:_0x533600}=_0xd438d8[_0x384126(0x256)],_0x4d0966=this[_0x384126(0x150)];_0x4d0966[_0x384126(0x143)](_0x533600),this[_0x384126(0xcb)][_0x384126(0x17a)](_0x4d0966);}[_0x23cad7(0x124)](){const _0x4db47f=_0x23cad7;var _0x58505d;if(this[_0x4db47f(0x250)]=!0x0,((_0x58505d=this[_0x4db47f(0x149)]['getFocusedUnit']())==null?void 0x0:_0x58505d[_0x4db47f(0x266)]())!==this[_0x4db47f(0x95)])return;const _0x1bcc49=this[_0x4db47f(0xf4)][_0x4db47f(0x249)](_0x2d803b)[_0x4db47f(0xe6)]();Array[_0x4db47f(0xa5)](_0x1bcc49)&&_0x1bcc49[_0x4db47f(0x87)]>0x0&&this['_updateLocalCursor'](_0x1bcc49);}[_0x23cad7(0x1e6)](){const _0x3ed766=_0x23cad7;this[_0x3ed766(0x250)]=!0x1;}};Pe=di([U(0x2,_0x39beab(_0x403f23)),U(0x3,_0x39beab(He)),U(0x4,_0x39beab(_0x41ffe7)),U(0x5,_0x39beab(je)),U(0x6,_0x50146e),U(0x7,_0x530874),U(0x8,_0x4b214e)],Pe);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x45d108,_0x2a285a,_0xba4b52,_0x3ebc20)=>{const _0x401e98=_0x23cad7;for(var _0x46ca98=_0x3ebc20>0x1?void 0x0:_0x3ebc20?mi(_0x2a285a,_0xba4b52):_0x2a285a,_0x4acafb=_0x45d108[_0x401e98(0x87)]-0x1,_0x533644;_0x4acafb>=0x0;_0x4acafb--)(_0x533644=_0x45d108[_0x4acafb])&&(_0x46ca98=_0x533644(_0x46ca98)||_0x46ca98);return _0x46ca98;},x=(_0x4205ef,_0xfbfe15)=>(_0x460c61,_0x25a627)=>_0xfbfe15(_0x460c61,_0x25a627,_0x4205ef);const vi=0x12c,Ii=0x64,pi=()=>{let _0x219038=[],_0x45ee36=!0x1;return _0xe1dc9=>{_0x219038['push'](_0xe1dc9),_0x45ee36||(_0x45ee36=!0x0,setTimeout(()=>{const _0x2a3b50=_0x28f6;_0x219038[_0x2a3b50(0xf9)](_0x3264c1=>_0x3264c1()),_0x219038=[],_0x45ee36=!0x1;}));};};let we=class extends _0x3ca7b4{constructor(_0x3a0bc6,_0x1b029a,_0x7c7632,_0x1573ec,_0x5f2e1b,_0x605eb1,_0x10bb53,_0x322dd4){const _0x35a00f=_0x23cad7;super(),_(this,_0x35a00f(0x250),!0x1),_(this,_0x35a00f(0xdb),!0x1),_(this,_0x35a00f(0xcb),new _0xc1edc8(new Map())),_(this,'cursorInfo$',this[_0x35a00f(0xcb)]['asObservable']()),_(this,_0x35a00f(0x1a4),new _0xc1edc8([])),_(this,_0x35a00f(0x1fa),this[_0x35a00f(0x1a4)][_0x35a00f(0x1eb)](_0x47015b(vi))),_(this,_0x35a00f(0x148),_0x2cf361((_0x529012,_0x493010)=>{const _0x52ccf4=_0x35a00f,_0x2ff27d={'eventID':_0x1df2d4[_0x52ccf4(0x228)],'data':{'unitID':this[_0x52ccf4(0x95)],'memberID':this[_0x52ccf4(0xdd)][_0x52ccf4(0x199)](),'selection':_0x15c355(_0x529012,_0x493010[_0x52ccf4(0xaa)])}};this[_0x52ccf4(0xdd)][_0x52ccf4(0x240)](_0x2ff27d,this['unitID']);},Ii)),(this[_0x35a00f(0x95)]=_0x3a0bc6,this[_0x35a00f(0xdd)]=_0x1b029a,this['_injector']=_0x7c7632,this['_colorAssignService']=_0x1573ec,this[_0x35a00f(0x283)]=_0x5f2e1b,this[_0x35a00f(0x149)]=_0x605eb1,this[_0x35a00f(0x206)]=_0x10bb53,this['_refRangeService']=_0x322dd4);}get[_0x23cad7(0x150)](){const _0x367b4b=_0x23cad7;return this['_cursorInfo$'][_0x367b4b(0x160)]();}get[_0x23cad7(0x232)](){return this['_roomMembers$']['getValue']();}[_0x23cad7(0x13b)](){const _0x3d26bd=_0x23cad7;super[_0x3d26bd(0x13b)](),this['_cursorInfo$'][_0x3d26bd(0x17a)](new Map()),this[_0x3d26bd(0xcb)][_0x3d26bd(0x253)](),this[_0x3d26bd(0x1a4)][_0x3d26bd(0x17a)]([]),this[_0x3d26bd(0x1a4)][_0x3d26bd(0x253)]();}[_0x23cad7(0x196)](){const _0x2cbf9d=_0x23cad7;this['_init']||(this[_0x2cbf9d(0xdb)]=!0x0,this[_0x2cbf9d(0xdd)][_0x2cbf9d(0x1a0)][_0x2cbf9d(0x1eb)](_0x155dfe(this[_0x2cbf9d(0x1b4)]))['subscribe'](_0xc02dff=>{const _0x374122=_0x2cbf9d;_0xc02dff===_0x19ae66['ONLINE']?this[_0x374122(0x124)]():this[_0x374122(0x1e6)]();}),this[_0x2cbf9d(0xdd)][_0x2cbf9d(0x1dd)][_0x2cbf9d(0x1eb)](_0x155dfe(this[_0x2cbf9d(0x1b4)]))[_0x2cbf9d(0x93)](_0x3de90b=>{const _0x2e7d18=_0x2cbf9d,_0x37d2c7=_0x3de90b[_0x2e7d18(0xbe)];_0x37d2c7===_0x1df2d4[_0x2e7d18(0x228)]&&this[_0x2e7d18(0xe0)](_0x3de90b),_0x37d2c7===_0x1df2d4[_0x2e7d18(0xd5)]&&this[_0x2e7d18(0x137)](_0x3de90b);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2cbf9d(0x206)][_0x2cbf9d(0x152)](_0x126092=>{const _0x392568=_0x2cbf9d;if(this['_online']&&_0x126092['id']===_0xaa05e7['id']&&_0x126092[_0x392568(0x27b)]['unitId']===this['unitID']){const _0x3e5c24=_0x126092[_0x392568(0x27b)];this[_0x392568(0x148)](_0x3e5c24[_0x392568(0x277)],_0x3e5c24[_0x392568(0x1f1)][0x0]);}})));}[_0x23cad7(0xe0)](_0x2b4da3){const _0x17cf9a=_0x23cad7;var _0x2c5db5,_0x3d722a;const {memberID:_0x3f2b01,selection:_0x10938d}=_0x2b4da3[_0x17cf9a(0x256)],{sheetName:_0x2cd675,range:_0x2035fa}=_0x32ed2b(_0x10938d),_0x339fc6={'name':(_0x3d722a=(_0x2c5db5=this[_0x17cf9a(0x283)][_0x17cf9a(0x126)](this[_0x17cf9a(0x95)],_0x3f2b01))==null?void 0x0:_0x2c5db5[_0x17cf9a(0x269)])!=null?_0x3d722a:_0x17cf9a(0x14e),'range':this[_0x17cf9a(0x140)](_0x2cd675,_0x2035fa),'sheetID':_0x2cd675,'color':this[_0x17cf9a(0x15e)][_0x17cf9a(0x1de)](_0x3f2b01),'selection':_0x10938d},_0x37227=this[_0x17cf9a(0x150)];_0x37227['set'](_0x3f2b01,_0x339fc6),this[_0x17cf9a(0xcb)]['next'](_0x37227);}['_onCursorDelete'](_0x5680d6){const _0x4c1021=_0x23cad7,{memberID:_0x580cfc}=_0x5680d6[_0x4c1021(0x256)],_0x2fb889=this['cursorInfo'];_0x2fb889[_0x4c1021(0x143)](_0x580cfc),this['_cursorInfo$']['next'](_0x2fb889);}[_0x23cad7(0x140)](_0x580819,_0x1493dc){const _0xcf54af=_0x23cad7;var _0x4e8738,_0x4086bf;const _0x2ad71f=(_0x4086bf=(_0x4e8738=this['_univerInstanceService'][_0xcf54af(0x186)](this[_0xcf54af(0x95)]))==null?void 0x0:_0x4e8738[_0xcf54af(0x1c4)](_0x580819))==null?void 0x0:_0x4086bf['getMergeData']();return(_0x2ad71f==null?void 0x0:_0x2ad71f[_0xcf54af(0x263)](_0x40a560=>_0x3f45c7[_0xcf54af(0x103)](_0x40a560,_0x1493dc)))||_0x1493dc;}[_0x23cad7(0xe1)](){const _0x15cdd6=_0x23cad7,_0x454748=new _0x2e5fe0(),_0x4aa9ba=pi(),_0x5de8be=()=>{const _0x64475a=_0x28f6;_0x454748[_0x64475a(0x13b)]();const _0x132d31=(_0x1504d2,_0x282f05,_0x55cd96,_0x3869f4)=>{const _0x35a323=_0x64475a;let _0x342b88=[];switch(_0x1504d2['id']){case _0x2ad328['DeleteRangeMoveLeftCommandId']:{_0x342b88=_0x47114d(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x246)]:{_0x342b88=_0x197876(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1c3)]:{_0x342b88=_0x27d15c(_0x1504d2,_0x3869f4);break;}case _0x2ad328['InsertRangeMoveDownCommandId']:{_0x342b88=_0x4ac1fb(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1a1)]:{_0x342b88=_0x1e662d(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x248)]:{_0x342b88=_0x26553a(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x218)]:{_0x342b88=_0x45e420(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1ee)]:{_0x342b88=_0xe5819(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x116)]:{_0x342b88=_0x5798f7(_0x1504d2,_0x3869f4);break;}}const _0x1f3cd8=_0x43f57b(_0x342b88,_0x3869f4),_0x296724=this['cursorInfo']['get'](_0x282f05);if(_0x296724&&_0x1f3cd8){const _0x322e65={..._0x296724,'range':_0x1f3cd8};this[_0x35a323(0x150)][_0x35a323(0x278)](_0x282f05,_0x322e65),_0x4aa9ba(()=>{const _0x2adc55=_0x35a323,_0x21d0de=this['_refRangeService'][_0x2adc55(0xca)](_0x1f3cd8,_0x2e0e5e=>(_0x21d0de['dispose'](),_0x132d31(_0x2e0e5e,_0x282f05,_0x55cd96,_0x1f3cd8)));_0x454748['add'](_0x21d0de);});}return{'redos':[],'undos':[]};};this[_0x64475a(0x150)]['forEach']((_0xbacb9a,_0x264751)=>{const _0x38e3f9=_0x64475a,{range:_0x5e5d20,sheetID:_0x218d6c}=_0xbacb9a,_0x3e2962=this['_refRangeService'][_0x38e3f9(0xca)](_0x5e5d20,_0x8afe70=>(_0x3e2962[_0x38e3f9(0x13b)](),_0x132d31(_0x8afe70,_0x264751,_0x218d6c,_0x5e5d20)));_0x454748[_0x38e3f9(0xd9)](_0x3e2962);});};this[_0x15cdd6(0x86)](_0x1865ee(this[_0x15cdd6(0xcb)][_0x15cdd6(0x93)](()=>{_0x5de8be();})));}[_0x23cad7(0x124)](){const _0x354174=_0x23cad7;var _0xf8e129,_0x5ae446;if(this[_0x354174(0x250)]=!0x0,((_0xf8e129=this[_0x354174(0x149)][_0x354174(0x27d)]())==null?void 0x0:_0xf8e129['getUnitId']())!==this['unitID'])return;const _0x14a1ad=(_0x5ae446=this[_0x354174(0xf4)]['get'](_0x1fb433)[_0x354174(0xb7)]())==null?void 0x0:_0x5ae446[0x0],_0x248cfd=this[_0x354174(0x149)]['getCurrentUnitForType'](_0x19042c[_0x354174(0xa0)])[_0x354174(0xbf)]();_0x14a1ad&&_0x248cfd&&this[_0x354174(0x148)](_0x248cfd['getSheetId'](),_0x14a1ad);}[_0x23cad7(0x1e6)](){const _0x140862=_0x23cad7;this[_0x140862(0x250)]=!0x1;}};we=gi([x(0x2,_0x39beab(_0x403f23)),x(0x3,_0x39beab(He)),x(0x4,_0x39beab(_0x41ffe7)),x(0x5,_0x530874),x(0x6,_0x4b214e),x(0x7,_0x39beab(_0x42f5f9))],we);var Ci=Object[_0x23cad7(0x19a)],Ei=(_0x5204b5,_0x2d1c4d,_0x21080b,_0x2e4fc7)=>{const _0xede761=_0x23cad7;for(var _0x185c4f=_0x2e4fc7>0x1?void 0x0:_0x2e4fc7?Ci(_0x2d1c4d,_0x21080b):_0x2d1c4d,_0x477c62=_0x5204b5[_0xede761(0x87)]-0x1,_0xcac97f;_0x477c62>=0x0;_0x477c62--)(_0xcac97f=_0x5204b5[_0x477c62])&&(_0x185c4f=_0xcac97f(_0x185c4f)||_0x185c4f);return _0x185c4f;},me=(_0x5829fc,_0x18ffb2)=>(_0x3cf5f9,_0x5ec3d3)=>_0x18ffb2(_0x3cf5f9,_0x5ec3d3,_0x5829fc);let H=class extends _0x3ca7b4{constructor(_0x5836fb,_0x43360a,_0x388d37){const _0x52b59c=_0x23cad7;super(),_(this,_0x52b59c(0xc0),new Map()),_(this,_0x52b59c(0x202),new _0x1cc0e9()),(this[_0x52b59c(0x149)]=_0x5836fb,this[_0x52b59c(0xf4)]=_0x43360a,this[_0x52b59c(0x9d)]=_0x388d37,this['_init']());}[_0x23cad7(0x13b)](){const _0x2696fd=_0x23cad7;super['dispose'](),this['_entityInit$'][_0x2696fd(0x253)](),this['_entities'][_0x2696fd(0xf9)](_0xc9769a=>_0xc9769a[_0x2696fd(0x13b)]());}[_0x23cad7(0x17c)](_0x47245b){const _0x534a4a=_0x23cad7;return this[_0x534a4a(0xc0)][_0x534a4a(0x1aa)](_0x47245b)?this[_0x534a4a(0xc0)]['get'](_0x47245b)[_0x534a4a(0x16e)]:this['_entityInit$']['pipe'](_0x25ed59(_0x4dd701=>_0x4dd701[_0x534a4a(0x95)]===_0x47245b),_0x3621d7(_0x5a6a6b=>_0x5a6a6b[_0x534a4a(0x16e)]));}[_0x23cad7(0xdb)](){const _0x221ed0=_0x23cad7;this[_0x221ed0(0x149)][_0x221ed0(0x217)](_0x19042c['UNIVER_SHEET'])[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x93)](async _0x25eed3=>{const _0x5cb69a=_0x221ed0,_0x374ec8=_0x25eed3['getUnitId'](),_0x2aaa56=await this['_startSheetCollabCursor'](_0x374ec8);this[_0x5cb69a(0x202)][_0x5cb69a(0x17a)](_0x2aaa56),this[_0x5cb69a(0xc0)][_0x5cb69a(0x278)](_0x374ec8,_0x2aaa56);}),this[_0x221ed0(0x149)][_0x221ed0(0x217)](_0x19042c['UNIVER_DOC'])[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x1eb)](_0x25ed59(_0x54902b=>!_0x54902b[_0x221ed0(0x266)]()['startsWith']('__')))[_0x221ed0(0x93)](async _0x432591=>{const _0x374608=_0x221ed0,_0x3ec6f7=_0x432591['getUnitId'](),_0x3e7b6c=await this[_0x374608(0xf6)](_0x3ec6f7);this[_0x374608(0x202)][_0x374608(0x17a)](_0x3e7b6c),this['_entities']['set'](_0x3ec6f7,_0x3e7b6c);}),_0x42e95e(this['_univerInstanceService'][_0x221ed0(0x14d)](_0x19042c[_0x221ed0(0x19e)]),this[_0x221ed0(0x149)]['getTypeOfUnitDisposed$'](_0x19042c[_0x221ed0(0xa0)]))[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x93)](_0x4f5728=>{const _0x1b66bf=_0x221ed0,_0x46de55=_0x4f5728['getUnitId'](),_0x5bcb56=this['_entities'][_0x1b66bf(0x249)](_0x46de55);_0x5bcb56&&(_0x5bcb56[_0x1b66bf(0x13b)](),this['_entities'][_0x1b66bf(0x143)](_0x46de55));});}async[_0x23cad7(0x163)](_0x2e7cd1){const _0x275c6b=_0x23cad7,_0x485a25=await this[_0x275c6b(0x9d)][_0x275c6b(0xa7)](_0x2e7cd1),_0x1bf671=this[_0x275c6b(0xf4)][_0x275c6b(0x194)](we,_0x2e7cd1,_0x485a25);return _0x1bf671[_0x275c6b(0x196)](),_0x1bf671;}async['_startDocCollabCursor'](_0x3e2d48){const _0xb491bb=_0x23cad7,_0x5d3ea0=await this[_0xb491bb(0x9d)]['requireSession'](_0x3e2d48),_0x19d480=this[_0xb491bb(0xf4)][_0xb491bb(0x194)](Pe,_0x3e2d48,_0x5d3ea0);return _0x19d480['init'](),_0x19d480;}};H=Ei([me(0x0,_0x530874),me(0x1,_0x39beab(_0x403f23)),me(0x2,_0x39beab(_0x342c4a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x3e8b2c,_0x20f696){const _0x274b01=_0x23cad7;let {radius:_0x91dce9,width:_0x11ad52,height:_0x166a7b}=_0x20f696;_0x91dce9=_0x91dce9!=null?_0x91dce9:0x0,_0x11ad52=_0x11ad52!=null?_0x11ad52:0x1e,_0x166a7b=_0x166a7b!=null?_0x166a7b:0x1e;let _0xcfb1df=0x0,_0x1c3245=0x0,_0x56ed8e=0x0;_0xcfb1df=_0x1c3245=_0x56ed8e=Math['min'](_0x91dce9,_0x11ad52/0x2,_0x166a7b/0x2),_0x3e8b2c[_0x274b01(0x16f)](),_0x3e8b2c[_0x274b01(0x9c)](_0xcfb1df,0x0),_0x3e8b2c[_0x274b01(0x104)](_0x11ad52-_0x1c3245,0x0),_0x3e8b2c[_0x274b01(0xd8)](_0x11ad52-_0x1c3245,_0x1c3245,_0x1c3245,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e8b2c['lineTo'](_0x11ad52,_0x166a7b-_0x56ed8e),_0x3e8b2c['arc'](_0x11ad52-_0x56ed8e,_0x166a7b-_0x56ed8e,_0x56ed8e,0x0,Math['PI']/0x2,!0x1),_0x3e8b2c['lineTo'](0x0,_0x166a7b),_0x3e8b2c['lineTo'](0x0,_0xcfb1df),_0x3e8b2c[_0x274b01(0xd8)](_0xcfb1df,_0xcfb1df,_0xcfb1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e8b2c[_0x274b01(0xeb)](),_0x20f696[_0x274b01(0x19f)]&&(_0x3e8b2c['save'](),_0x3e8b2c[_0x274b01(0x23a)]=_0x20f696[_0x274b01(0x19f)],_0x20f696[_0x274b01(0x8f)]==='evenodd'?_0x3e8b2c[_0x274b01(0x19f)]('evenodd'):_0x3e8b2c['fill'](),_0x3e8b2c['restore']());}class ue extends _0x141772{constructor(_0xc19282,_0x59277d){const _0x384874=_0x23cad7;super(_0xc19282,_0x59277d),_(this,_0x384874(0x1c6)),_(this,'text'),(this[_0x384874(0x1c6)]=_0x59277d==null?void 0x0:_0x59277d[_0x384874(0x1c6)],this[_0x384874(0x130)]=_0x59277d==null?void 0x0:_0x59277d[_0x384874(0x130)]);}static['drawWith'](_0x5969c8,_0x126653){const _0x18d27=_0x23cad7,{text:_0xf3a738,color:_0x4fd1f2}=_0x126653;_0x5969c8[_0x18d27(0x1a3)](),_0x5969c8[_0x18d27(0x20c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x8bd56a=_0x5969c8[_0x18d27(0x1d5)](_0xf3a738)['width'],_0x219dba=Math[_0x18d27(0x1ec)](_0x8bd56a+0x2*ge,et);Oi(_0x5969c8,{'height':te,'radius':0x4,'width':_0x219dba,'fill':_0x4fd1f2}),_0x5969c8[_0x18d27(0x23a)]='#FFF';const _0x5c8aae=ge,_0x1e5fde=te-bi,_0x2a3134=et-0x2*ge;if(_0x8bd56a>_0x2a3134){let _0x375dfc='',_0xadd0b2=0x0;for(const _0x4f049f of _0xf3a738){const _0xb1c753=_0x5969c8[_0x18d27(0x1d5)](_0x4f049f)['width'];if(_0xadd0b2+_0xb1c753<=_0x2a3134-_0x5969c8[_0x18d27(0x1d5)]('...')['width'])_0x375dfc+=_0x4f049f,_0xadd0b2+=_0xb1c753;else{_0x375dfc+='...';break;}}_0x5969c8[_0x18d27(0x243)](_0x375dfc,_0x5c8aae,_0x1e5fde);}else _0x5969c8[_0x18d27(0x243)](_0xf3a738,_0x5c8aae,_0x1e5fde);_0x5969c8[_0x18d27(0x18d)]();}[_0x23cad7(0x1d3)](_0x55f109){const _0x1be573=_0x23cad7;ue[_0x1be573(0xe3)](_0x55f109,this);}}const ve=_0x23cad7(0xfe),Ti=_0x23cad7(0x289),Ri=_0x23cad7(0x184),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x23cad7(0x216);class tt{constructor(_0x39d6b9,_0x45e274,_0x5f0b49,_0x21b8fa){const _0x14ded4=_0x23cad7;_(this,_0x14ded4(0x27f),[]),_(this,_0x14ded4(0x182),null),_(this,'_textBubble',null),_(this,_0x14ded4(0x22b),null),_(this,_0x14ded4(0x191),null),_(this,_0x14ded4(0x231),null),(this[_0x14ded4(0x192)]=_0x39d6b9,this[_0x14ded4(0xb8)]=_0x45e274,this['_docSkeleton']=_0x5f0b49,this[_0x14ded4(0x19b)]=_0x21b8fa,this[_0x14ded4(0x265)]());}set[_0x23cad7(0x121)](_0x6247cb){const _0x352021=_0x23cad7;_0x6247cb?(this[_0x352021(0x22b)]&&this[_0x352021(0x22b)][_0x352021(0x11c)](),this['_textBubble']&&this[_0x352021(0x26f)][_0x352021(0x11f)]()):(this['_anchorDot']&&this[_0x352021(0x22b)][_0x352021(0x11f)](),this['_textBubble']&&this[_0x352021(0x26f)][_0x352021(0x11c)]());}[_0x23cad7(0x13b)](){const _0x5e881a=_0x23cad7;for(const _0x4308b5 of this[_0x5e881a(0x27f)])_0x4308b5['dispose']();this[_0x5e881a(0x26f)]&&this[_0x5e881a(0x26f)][_0x5e881a(0x13b)](),this[_0x5e881a(0x22b)]&&this[_0x5e881a(0x22b)][_0x5e881a(0x13b)](),this[_0x5e881a(0x182)]&&this[_0x5e881a(0x182)]['dispose'](),this[_0x5e881a(0x231)]&&this[_0x5e881a(0x231)]();}[_0x23cad7(0x265)](){const _0x1d3e26=_0x23cad7;var _0x34411a;const {_docSkeleton:_0x528236,_document:_0x308698}=this,{color:_0x35fa95,name:_0x277a38,ranges:_0xf6f627}=this[_0x1d3e26(0x192)],_0x36a2dd=_0x308698[_0x1d3e26(0x284)](),{docsLeft:_0xed68cb,docsTop:_0x445864}=_0x36a2dd,_0x2ee7f5=new _0x42e08a(_0x36a2dd,_0x528236);for(const {startOffset:_0x1914de,endOffset:_0x39c7cb,rangeType:_0x5ac0ee,segmentId:_0x1d2715,segmentPage:_0x5bceec,collapsed:_0x5a8274,isActive:_0x35d9c8}of _0xf6f627){const _0x5b2cd2=_0x528236[_0x1d3e26(0xa2)](_0x1914de,!0x0,_0x1d2715,_0x5bceec);let _0x3ea248=_0x528236[_0x1d3e26(0xa2)](_0x39c7cb,!0x0,_0x1d2715,_0x5bceec);if(_0x3ea248==null&&(_0x3ea248=_0x528236[_0x1d3e26(0xa2)](_0x39c7cb-0x1,!0x1,_0x1d2715,_0x5bceec)),_0x35d9c8){const {contentBoxPointGroup:_0x17b83f}=_0x2ee7f5['getRangePointData'](_0x3ea248,_0x3ea248);if(_0x17b83f[_0x1d3e26(0x87)]===0x0)continue;this[_0x1d3e26(0x19d)](_0x35fa95,_0x17b83f,_0xed68cb,_0x445864,_0x277a38),this[_0x1d3e26(0x231)]=this['_handleHover']();}if(_0x5b2cd2&&_0x3ea248){if(_0x5ac0ee===_0x594946[_0x1d3e26(0x210)]){const _0x316277=new _0x2641cb(_0x36a2dd,_0x528236),{pointGroup:_0x46ec2f}=(_0x34411a=_0x316277[_0x1d3e26(0x1d1)](_0x5b2cd2,_0x3ea248))!=null?_0x34411a:{};if(_0x46ec2f==null||_0x46ec2f[_0x1d3e26(0x87)]===0x0)continue;this['_drawRectRange'](_0x35fa95,_0x46ec2f,_0xed68cb,_0x445864);}else{if(!_0x5a8274){const {borderBoxPointGroup:_0x57cf7b}=_0x2ee7f5[_0x1d3e26(0x1d1)](_0x5b2cd2,_0x3ea248);if(_0x57cf7b['length']===0x0)continue;this['_drawTextRange'](_0x35fa95,_0x57cf7b,_0xed68cb,_0x445864);}}}}}['_drawAnchor'](_0x4e8a6e,_0x844d87,_0x3ff718,_0x5156e8,_0x4f730a){const _0xe8d686=_0x23cad7,_0x22e408=this[_0xe8d686(0xfb)](_0x844d87),{left:_0x481329,top:_0x160162,height:_0x32b898}=_0x22e408,_0x373bd9=this[_0xe8d686(0x1d0)](),_0x13aca=Ni/_0x373bd9,_0x61701e=new _0x302fc9(ve+_0x3573b[_0xe8d686(0xf5)](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8,'height':_0x32b898,'width':Di,'fill':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'strokeWidth':_0x13aca,'stroke':Mi,'evented':!0x0});this[_0xe8d686(0x182)]=_0x61701e,this['_scene']['addObject'](_0x61701e,_0x5de3ce);const _0x1755f3=new _0x302fc9(ve+_0x3573b['generateRandomId'](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'strokeWidth':0x0,'stroke':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'evented':!0x1});this[_0xe8d686(0x22b)]=_0x1755f3,this[_0xe8d686(0xb8)][_0xe8d686(0xf0)](_0x1755f3,_0x5de3ce);const _0x54a1ff=new ue(ve+_0x3573b[_0xe8d686(0xf5)](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8-te,'text':_0x4f730a,'color':_0x4e8a6e});this['_textBubble']=_0x54a1ff,this[_0xe8d686(0xb8)][_0xe8d686(0xf0)](_0x54a1ff,_0x5de3ce),this[_0xe8d686(0x121)]=!0x1;}[_0x23cad7(0x169)](){const _0x85914f=_0x23cad7,_0x536536=this[_0x85914f(0x182)][_0x85914f(0xc8)][_0x85914f(0xff)](()=>{this['_hover']=!0x0;}),_0x51164d=this[_0x85914f(0x182)][_0x85914f(0x1be)][_0x85914f(0xff)](()=>{const _0x58c82d=_0x85914f;this[_0x58c82d(0x191)]&&clearTimeout(this[_0x58c82d(0x191)]),this[_0x58c82d(0x191)]=setTimeout(()=>{const _0x355ea2=_0x58c82d;this[_0x355ea2(0x121)]=!0x1;},0x7d0);});return()=>{const _0x247ad3=_0x85914f;_0x536536[_0x247ad3(0x1f8)](),_0x51164d[_0x247ad3(0x1f8)]();};}[_0x23cad7(0xd3)](_0x5d0ed8,_0x15899e,_0x1368c9,_0x4be2a0){const _0x5bb575=_0x23cad7,_0x59d871=new _0x1d4786(_0x5d0ed8)[_0x5bb575(0x1e2)](0.2)['toRgbString'](),_0x4c3085=new _0x232900(Ti+_0x3573b[_0x5bb575(0xf5)](X),{'pointsGroup':_0x15899e,'fill':_0x59d871||_0x395a0c(_0x1c1afc['black'],0.2),'left':_0x1368c9,'top':_0x4be2a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bb575(0x27f)][_0x5bb575(0x114)](_0x4c3085),this[_0x5bb575(0xb8)][_0x5bb575(0xf0)](_0x4c3085,_0x5de3ce);}[_0x23cad7(0x1db)](_0x5bf2bf,_0x3be4c0,_0x1c4c3d,_0x56deb4){const _0xbdb2e=_0x23cad7,_0x3b4333=new _0x1d4786(_0x5bf2bf)['setAlpha'](0.2)['toRgbString'](),_0x26b8e4=new _0x232900(Ri+_0x3573b['generateRandomId'](X),{'pointsGroup':_0x3be4c0,'fill':_0x3b4333||_0x395a0c(_0x1c1afc[_0xbdb2e(0xc2)],0.2),'left':_0x1c4c3d,'top':_0x56deb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbdb2e(0x27f)]['push'](_0x26b8e4),this[_0xbdb2e(0xb8)][_0xbdb2e(0xf0)](_0x26b8e4,_0x5de3ce);}[_0x23cad7(0xfb)](_0xb2e390){const _0x278287=_0xb2e390[0x0],_0x8b2e4c=_0x278287[0x0],_0x4a26d9=_0x278287[0x2],{x:_0x294f07,y:_0x1a6051}=_0x8b2e4c,{x:_0xe09f61,y:_0x5aa888}=_0x4a26d9;return{'left':_0x294f07,'top':_0x1a6051,'width':_0xe09f61-_0x294f07,'height':_0x5aa888-_0x1a6051};}[_0x23cad7(0x1d0)](){const _0x40ae79=_0x23cad7,{scaleX:_0x1a35d8,scaleY:_0x27832c}=this[_0x40ae79(0xb8)][_0x40ae79(0x127)]();return Math[_0x40ae79(0xab)](_0x1a35d8,_0x27832c);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5460e6,_0x5cb680,_0x5ab692,_0x314ed1)=>{const _0x13fdfe=_0x23cad7;for(var _0x118cf8=_0x314ed1>0x1?void 0x0:_0x314ed1?Pi(_0x5cb680,_0x5ab692):_0x5cb680,_0x506363=_0x5460e6[_0x13fdfe(0x87)]-0x1,_0x4a9db9;_0x506363>=0x0;_0x506363--)(_0x4a9db9=_0x5460e6[_0x506363])&&(_0x118cf8=_0x4a9db9(_0x118cf8)||_0x118cf8);return _0x118cf8;},Q=(_0x5f0248,_0x77bb7e)=>(_0x49d1f2,_0x4afea9)=>_0x77bb7e(_0x49d1f2,_0x4afea9,_0x5f0248);let Ue=class extends _0x3ca7b4{constructor(_0x1e4fed,_0x338eec,_0x63ff8a,_0xfa102d,_0x47ae41){const _0x360b20=_0x23cad7;super(),_(this,'_cursorShapes',[]),_(this,_0x360b20(0x1ab),[]),(this[_0x360b20(0x1b2)]=_0x1e4fed,this[_0x360b20(0xc3)]=_0x338eec,this[_0x360b20(0xda)]=_0x63ff8a,this[_0x360b20(0x206)]=_0xfa102d,this[_0x360b20(0x8a)]=_0x47ae41,this[_0x360b20(0xdb)]());}[_0x23cad7(0xdb)](){const _0x5063d6=_0x23cad7,_0x11771e=this[_0x5063d6(0x1b2)]['unitId'],_0x317a20=this[_0x5063d6(0xc3)];this[_0x5063d6(0x86)](_0x21d1e8([this[_0x5063d6(0xda)]['getCollabCursors$'](_0x11771e),this[_0x5063d6(0x8a)][_0x5063d6(0x274)]])[_0x5063d6(0x1eb)](_0x1e594a(([_0x52957d,_0x5a9d17])=>({'skeleton':_0x317a20[_0x5063d6(0x172)](),'cursors':[..._0x52957d[_0x5063d6(0x1f3)]()][_0x5063d6(0x153)](_0x3c2f95=>({..._0x3c2f95,'color':_0x5a9d17[_0x3c2f95[_0x5063d6(0x1c6)]]}))})))['subscribe'](_0xa0761=>{const _0x158c9a=_0x5063d6;if(this[_0x158c9a(0x193)](),_0xa0761){const {skeleton:_0x130960,cursors:_0x31a915}=_0xa0761;this[_0x158c9a(0x1a2)](_0x130960,_0x31a915);}})),this['_initResize'](),this[_0x5063d6(0x1e3)]();}['_updateCollabCursors'](_0x57dca6,_0x1de18b){const _0x31f271=_0x23cad7,{scene:_0x57a439,mainComponent:_0x16519b}=this['_context'],_0x253e45=_0x1de18b[_0x31f271(0x233)](_0x380603=>new tt(_0x380603,_0x57a439,_0x57dca6,_0x16519b));this[_0x31f271(0xae)]=_0x253e45,this[_0x31f271(0x1ab)]=_0x1de18b;}['_refreshCollabCursors'](){const _0x51870e=_0x23cad7;this[_0x51870e(0x193)]();const {scene:_0x152b4f,mainComponent:_0x3d4d21}=this['_context'],_0x23c57b=this[_0x51870e(0xc3)][_0x51870e(0x172)](),_0x3620f6=this[_0x51870e(0x1ab)][_0x51870e(0x233)](_0x5b1f76=>new tt(_0x5b1f76,_0x152b4f,_0x23c57b,_0x3d4d21));this[_0x51870e(0xae)]=_0x3620f6;}[_0x23cad7(0x193)](){const _0x1ce097=_0x23cad7;this['_cursorShapes'][_0x1ce097(0xf9)](_0x29ea7a=>_0x29ea7a[_0x1ce097(0x13b)]()),this[_0x1ce097(0xae)]=[];}[_0x23cad7(0x1e3)](){const _0x20cf9d=_0x23cad7,_0x29d3e8=[_0x439d7c['id']];this[_0x20cf9d(0x86)](this[_0x20cf9d(0x206)][_0x20cf9d(0x152)](_0x5a3ac0=>{const _0x5d282e=_0x20cf9d;_0x29d3e8[_0x5d282e(0x24e)](_0x5a3ac0['id'])&&_0x5a3ac0[_0x5d282e(0x27b)][_0x5d282e(0x242)]===this[_0x5d282e(0x1b2)][_0x5d282e(0x242)]&&this[_0x5d282e(0x164)]();}));}[_0x23cad7(0x13d)](){const _0x1f8617=_0x23cad7;this[_0x1f8617(0x86)](_0x2c0713(this['_context'][_0x1f8617(0x166)]['onTransformChange$'])[_0x1f8617(0x1eb)](_0x6bb005(_0x5b2873=>_0x5b2873['type']===_0x44f7c7[_0x1f8617(0x14a)]),_0x571dd1(0x10))[_0x1f8617(0x93)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x39beab(_0x168b6e)),Q(0x2,_0x39beab(H)),Q(0x3,_0x4b214e),Q(0x4,_0x39beab(_0x335e66))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x141772{constructor(_0x376c13,_0x4d2fd1){const _0x478b0d=_0x23cad7;super(_0x376c13,_0x4d2fd1),_(this,_0x478b0d(0x159)),_(this,_0x478b0d(0x241),!0x1),_(this,'_range'),_(this,_0x478b0d(0x155),''),_(this,'_labelPosition',_0x478b0d(0x109)),_(this,_0x478b0d(0x1ad)),(_0x4d2fd1&&this[_0x478b0d(0x97)](_0x4d2fd1),this['onPointerEnter$'][_0x478b0d(0xff)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x478b0d(0x1be)][_0x478b0d(0xff)](()=>this[_0x478b0d(0x97)]({'hovered':!0x1})));}['setShapeProps'](_0x3f070a){const _0xcda99e=_0x23cad7;var _0xa9bbaf,_0x4f34fd,_0xdf4f9c,_0x58a916,_0x6c91d7,_0x527d6d;this['_color']=(_0xa9bbaf=_0x3f070a[_0xcda99e(0x1c6)])!=null?_0xa9bbaf:this[_0xcda99e(0x159)],this[_0xcda99e(0x241)]=(_0x4f34fd=_0x3f070a[_0xcda99e(0xee)])!=null?_0x4f34fd:this['_hovered'],this[_0xcda99e(0x205)]=(_0xdf4f9c=_0x3f070a[_0xcda99e(0xaa)])!=null?_0xdf4f9c:this[_0xcda99e(0x205)],this['_name']=(_0x58a916=_0x3f070a['name'])!=null?_0x58a916:this['_name'],this[_0xcda99e(0x1ed)]=(_0x6c91d7=_0x3f070a[_0xcda99e(0x108)])!=null?_0x6c91d7:this[_0xcda99e(0x1ed)],this[_0xcda99e(0x1ad)]=(_0x527d6d=_0x3f070a[_0xcda99e(0x17f)])!=null?_0x527d6d:this[_0xcda99e(0x1ad)],this[_0xcda99e(0x1b3)]({'width':_0x3f070a[_0xcda99e(0xb5)],'height':_0x3f070a[_0xcda99e(0x237)]});}[_0x23cad7(0x1dc)](_0x2edfee){const _0xe76d75=_0x23cad7,{row:_0x5856f1,column:_0x102c41}=_0x2edfee;if(_0x5856f1>=this[_0xe76d75(0x205)][_0xe76d75(0x147)]&&_0x5856f1<=this['_range'][_0xe76d75(0x24c)]&&_0x102c41>=this['_range']['startColumn']&&_0x102c41<=this[_0xe76d75(0x205)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe76d75(0x97)]({'hovered':!0x1});}[_0x23cad7(0x187)](_0x3e5535){return!0x1;}[_0x23cad7(0x1d3)](_0x1555fe){const _0x1142b4=_0x23cad7;_0x302fc9[_0x1142b4(0xe3)](_0x1555fe,{'width':this[_0x1142b4(0xb5)],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1142b4(0x1ad)]}),this[_0x1142b4(0x241)]&&(_0x1555fe[_0x1142b4(0x1a3)](),_0x1555fe[_0x1142b4(0x123)](0x1,0x0,0x0,0x1,this[_0x1142b4(0xb5)],this[_0x1142b4(0x1ed)]===_0x1142b4(0xbc)?0x0:-0x14),ue[_0x1142b4(0xe3)](_0x1555fe,{'text':this[_0x1142b4(0x155)],'color':this[_0x1142b4(0x159)]}),_0x1555fe[_0x1142b4(0x18d)]());}}var yi=Object[_0x23cad7(0x19a)],$i=(_0x5ea2df,_0x2cd2bc,_0x46d831,_0x346812)=>{for(var _0x1e4dc8=_0x346812>0x1?void 0x0:_0x346812?yi(_0x2cd2bc,_0x46d831):_0x2cd2bc,_0x176fc6=_0x5ea2df['length']-0x1,_0x2e0ce3;_0x176fc6>=0x0;_0x176fc6--)(_0x2e0ce3=_0x5ea2df[_0x176fc6])&&(_0x1e4dc8=_0x2e0ce3(_0x1e4dc8)||_0x1e4dc8);return _0x1e4dc8;},pe=(_0x498f87,_0x27c0f1)=>(_0x5d803c,_0x1d9d55)=>_0x27c0f1(_0x5d803c,_0x1d9d55,_0x498f87);const xi=0x1389;let Le=class extends _0x3ca7b4{constructor(_0x59146a,_0x152e70,_0x485143,_0x4851be){const _0x56a7a7=_0x23cad7;super(),_(this,_0x56a7a7(0x1ab),new Set()),_(this,_0x56a7a7(0x94),null),(this[_0x56a7a7(0x1b2)]=_0x59146a,this['_sheetSkeletonManagerService']=_0x152e70,this[_0x56a7a7(0xda)]=_0x485143,this['_themeService']=_0x4851be,this[_0x56a7a7(0xdb)]());}['_init'](){const _0x37ee86=_0x23cad7;this[_0x37ee86(0x28d)]['currentSkeleton$'][_0x37ee86(0x1eb)](_0x2c4910(this[_0x37ee86(0x1b4)]),_0x4b813c(_0x43b6fb=>{const _0x368ffc=_0x37ee86;if(_0x43b6fb){const _0x2d2697=_0x43b6fb[_0x368ffc(0x230)];return _0x21d1e8(this[_0x368ffc(0xda)][_0x368ffc(0x17c)](this[_0x368ffc(0x1b2)]['unitId']),this['_themeService'][_0x368ffc(0x274)])[_0x368ffc(0x1eb)](_0x1e594a(([_0x2f8a23,_0x447fb7])=>{const _0x52233b=_0x368ffc,_0x3c3232=new Map();return _0x2f8a23[_0x52233b(0xf9)]((_0xa3e10d,_0x26b0cb)=>{const _0x5543d3=_0x52233b;if(_0xa3e10d['sheetID']===_0x2d2697){const _0xa33ff9={..._0xa3e10d};_0xa33ff9[_0x5543d3(0x1c6)]=_0x447fb7[_0xa3e10d['color']],_0x3c3232[_0x5543d3(0x278)](_0x26b0cb,_0xa33ff9);}}),{'skeleton':_0x43b6fb,'cursors':_0x3c3232};}));}return _0x357fef({'skeleton':null,'cursors':new Map()});}))[_0x37ee86(0x93)](({skeleton:_0x27dfbd,cursors:_0x21ed1c})=>{const _0x2f818e=_0x37ee86;this[_0x2f818e(0x193)](),_0x27dfbd&&this['_updateCollabCursors'](_0x27dfbd,_0x21ed1c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x37ee86(0x93)](_0x2539d7=>{const _0x292bb3=_0x37ee86;if(_0x2539d7==null)return;const {skeleton:_0x386e43}=_0x2539d7,{scene:_0x12714e}=this[_0x292bb3(0x1b2)];_0x12714e[_0x292bb3(0x16a)]['subscribeEvent'](_0x2cf361(_0x57445b=>{const _0xf390f=_0x292bb3;var _0x3c4210,_0x55ea19;const {offsetX:_0x4a5e4b,offsetY:_0x2e8453}=_0x57445b,{x:_0x4dc5ed,y:_0x4123ff}=_0x12714e['getRelativeToViewportCoord'](_0x710533[_0xf390f(0x244)]([_0x4a5e4b,_0x2e8453])),{scaleX:_0x279248,scaleY:_0x2c5a18}=_0x12714e['getAncestorScale'](),_0x471bc7=_0x12714e[_0xf390f(0x16b)](_0x46baf7[_0xf390f(0x1b1)]),_0x492a6e=_0x12714e[_0xf390f(0x1ba)](_0x710533[_0xf390f(0x244)]([_0x4dc5ed,_0x4123ff]),_0x471bc7),_0x3ce087=_0x386e43['getCellPositionByOffset'](_0x4a5e4b,_0x2e8453,_0x279248,_0x2c5a18,_0x492a6e);((_0x3c4210=this['_lastPointer'])==null?void 0x0:_0x3c4210[_0xf390f(0x16c)])===_0x3ce087[_0xf390f(0x16c)]&&((_0x55ea19=this['_lastPointer'])==null?void 0x0:_0x55ea19[_0xf390f(0x1da)])===_0x3ce087[_0xf390f(0x1da)]||this['_cursors']['forEach'](_0x4f7ef9=>{const _0x3537bf=_0xf390f;_0x4f7ef9[_0x3537bf(0x1dc)](_0x3ce087);});},0x64));});}[_0x23cad7(0x1a2)](_0x1fd84d,_0xc48f82){const _0x19e286=_0x23cad7;var _0x5395a0;const _0x511746=(_0x5395a0=this['_sheetSkeletonManagerService'][_0x19e286(0x279)]())==null?void 0x0:_0x5395a0[_0x19e286(0x238)];if(!_0x511746)return;const _0x34e40d=this['_getSheetObject']();if(!_0x34e40d)return;this[_0x19e286(0x1ab)][_0x19e286(0xf9)](_0x4a721f=>{const _0x4f1636=_0x19e286;_0x4a721f[_0x4f1636(0x1b7)]();});const {scene:_0x420e6c}=_0x34e40d,_0x14e351=Bi(Array[_0x19e286(0x1d4)](_0xc48f82[_0x19e286(0x1f3)]()))['map'](_0xd8c5a4=>{const _0x2f74d1=_0x19e286,{color:_0x16174b,range:_0x377b0d,name:_0x5a1093,selection:_0x40608d,sheetID:_0x277392}=_0xd8c5a4,{startColumn:_0x436ac1,startRow:_0x20cd5e,endColumn:_0xea885d,endRow:_0x52fce3}=_0x377b0d,_0x5ab20d=_0x3c73cb(_0x20cd5e,_0x436ac1,_0x420e6c,_0x511746),_0x24bdf5=_0x3c73cb(_0x52fce3,_0xea885d,_0x420e6c,_0x511746),{columnHeaderHeightAndMarginTop:_0x41a0e9}=_0x511746,{startX:_0x2e3360,startY:_0x56784}=_0x5ab20d,{endX:_0x3c80db,endY:_0x34fd85}=_0x24bdf5,_0x33d929=_0x3c80db-_0x2e3360,_0x397d57=_0x34fd85-_0x56784,_0x239b19={'labelPosition':_0x56784-_0x41a0e9>=te?_0x2f74d1(0x109):_0x2f74d1(0xbc),'sheetID':_0x277392,'range':_0x377b0d,'color':_0x16174b,'name':_0x5a1093,'selection':_0x40608d,'left':_0x2e3360,'top':_0x56784,'width':_0x33d929,'height':_0x397d57,'evented':!0x1,'zIndex':xi};return new Ai(_0x5a1093,_0x239b19);});_0x420e6c[_0x19e286(0x141)](_0x14e351,Ui),this['_cursors']=new Set(_0x14e351);}['_removeCollabCursors'](){const _0x315b57=_0x23cad7;var _0x6d49ef;(_0x6d49ef=this[_0x315b57(0x1ab)])==null||_0x6d49ef[_0x315b57(0xf9)](_0x24461a=>_0x24461a['dispose']());}['_getSheetObject'](){const _0x296dc5=_0x23cad7;return _0x24e446(this[_0x296dc5(0x1b2)]['unit'],this[_0x296dc5(0x1b2)]);}};Le=$i([pe(0x1,_0x39beab(_0x5dc728)),pe(0x2,_0x39beab(H)),pe(0x3,_0x39beab(_0x335e66))],Le);function Bi(_0x742cf2){const _0x16b577=_0x23cad7,_0x1466f9=new Map();return _0x742cf2[_0x16b577(0xf9)](_0x53679f=>{const _0x446ef8=_0x16b577;if(_0x1466f9[_0x446ef8(0x1aa)](_0x53679f[_0x446ef8(0x9a)])){const _0x3e28a1=_0x1466f9[_0x446ef8(0x249)](_0x53679f[_0x446ef8(0x9a)]);_0x3e28a1[_0x446ef8(0x269)]+=',\x20'+_0x53679f[_0x446ef8(0x269)];}else _0x1466f9[_0x446ef8(0x278)](_0x53679f[_0x446ef8(0x9a)],_0x53679f);}),Array[_0x16b577(0x1d4)](_0x1466f9[_0x16b577(0x1f3)]());}var I=function(){const _0x3e509b=_0x23cad7;return I=Object[_0x3e509b(0x24f)]||function(_0x1bab3c){const _0x393113=_0x3e509b;for(var _0x42eecd,_0x133945=0x1,_0x296816=arguments['length'];_0x133945<_0x296816;_0x133945++){_0x42eecd=arguments[_0x133945];for(var _0x3acf85 in _0x42eecd)Object['prototype'][_0x393113(0x258)][_0x393113(0x176)](_0x42eecd,_0x3acf85)&&(_0x1bab3c[_0x3acf85]=_0x42eecd[_0x3acf85]);}return _0x1bab3c;},I[_0x3e509b(0x209)](this,arguments);},ki=function(_0x125f3f,_0x4af7f2){const _0x42fa4d=_0x23cad7;var _0x2075af={};for(var _0x4361ff in _0x125f3f)Object[_0x42fa4d(0x1cc)][_0x42fa4d(0x258)][_0x42fa4d(0x176)](_0x125f3f,_0x4361ff)&&_0x4af7f2[_0x42fa4d(0xc1)](_0x4361ff)<0x0&&(_0x2075af[_0x4361ff]=_0x125f3f[_0x4361ff]);if(_0x125f3f!=null&&typeof Object[_0x42fa4d(0x11b)]==_0x42fa4d(0xac)){for(var _0x3009c0=0x0,_0x4361ff=Object[_0x42fa4d(0x11b)](_0x125f3f);_0x3009c0<_0x4361ff[_0x42fa4d(0x87)];_0x3009c0++)_0x4af7f2[_0x42fa4d(0xc1)](_0x4361ff[_0x3009c0])<0x0&&Object['prototype'][_0x42fa4d(0x1d9)][_0x42fa4d(0x176)](_0x125f3f,_0x4361ff[_0x3009c0])&&(_0x2075af[_0x4361ff[_0x3009c0]]=_0x125f3f[_0x4361ff[_0x3009c0]]);}return _0x2075af;},We=_0xe0c864(function(_0x859aa3,_0x1ea9b7){const _0x1139b9=_0x23cad7;var _0xc6d728=_0x859aa3['icon'],_0x1617ce=_0x859aa3['id'],_0x231d66=_0x859aa3[_0x1139b9(0x239)],_0x3acb85=_0x859aa3[_0x1139b9(0x180)],_0x5d7b48=ki(_0x859aa3,[_0x1139b9(0x21c),'id',_0x1139b9(0x239),_0x1139b9(0x180)]),_0x46cad2='univerjs-icon\x20univerjs-icon-'[_0x1139b9(0xe2)](_0x1617ce,'\x20')[_0x1139b9(0xe2)](_0x231d66||'')['trim'](),_0x2f1163=_0x4a00fa('_'[_0x1139b9(0xe2)](Wi()));return Nt(_0xc6d728,''['concat'](_0x1617ce),{'defIds':_0xc6d728['defIds'],'idSuffix':_0x2f1163[_0x1139b9(0x13c)]},I({'ref':_0x1ea9b7,'className':_0x46cad2},_0x5d7b48),_0x3acb85);});function Nt(_0x544400,_0x39fd78,_0x2ceba4,_0x3cceae,_0x3c54b1){const _0x440c60=_0x23cad7;return _0x28af11(_0x544400[_0x440c60(0x167)],I(I({'key':_0x39fd78},Hi(_0x544400,_0x2ceba4,_0x3c54b1)),_0x3cceae),(ji(_0x544400,_0x2ceba4)[_0x440c60(0x8c)]||[])[_0x440c60(0x233)](function(_0x591e3b,_0x5a0c96){const _0x57bb26=_0x440c60;return Nt(_0x591e3b,''['concat'](_0x39fd78,'-')[_0x57bb26(0xe2)](_0x544400[_0x57bb26(0x167)],'-')[_0x57bb26(0xe2)](_0x5a0c96),_0x2ceba4,void 0x0,_0x3c54b1);}));}function Hi(_0x4f69c3,_0x48f403,_0x4d8d03){const _0x5865c4=_0x23cad7;var _0x3bf403=I({},_0x4f69c3[_0x5865c4(0xe7)]);_0x4d8d03!=null&&_0x4d8d03[_0x5865c4(0x110)]&&_0x3bf403[_0x5865c4(0x19f)]===_0x5865c4(0x110)&&(_0x3bf403[_0x5865c4(0x19f)]=_0x4d8d03['colorChannel1']),_0x4f69c3[_0x5865c4(0x167)]===_0x5865c4(0x15f)&&_0x3bf403['id']&&(_0x3bf403['id']=_0x3bf403['id']+_0x48f403[_0x5865c4(0xb4)]),Object['entries'](_0x3bf403)[_0x5865c4(0xf9)](function(_0x334c52){const _0x2eeac3=_0x5865c4;var _0x3373f8=_0x334c52[0x0],_0x426bec=_0x334c52[0x1];_0x3373f8===_0x2eeac3(0x15f)&&typeof _0x426bec==_0x2eeac3(0x128)&&(_0x3bf403[_0x3373f8]=_0x426bec[_0x2eeac3(0x247)](/url\(#(.*)\)/,_0x2eeac3(0x185)[_0x2eeac3(0xe2)](_0x48f403[_0x2eeac3(0xb4)],')')));});var _0x2462fa=_0x48f403[_0x5865c4(0x23b)];return!_0x2462fa||_0x2462fa[_0x5865c4(0x87)]===0x0||(_0x4f69c3[_0x5865c4(0x167)]===_0x5865c4(0xb3)&&_0x3bf403[_0x5865c4(0x22f)]&&(_0x3bf403['xlink:href']=_0x3bf403[_0x5865c4(0x22f)]+_0x48f403[_0x5865c4(0xb4)]),Object['entries'](_0x3bf403)[_0x5865c4(0xf9)](function(_0xf551bb){const _0x33620c=_0x5865c4;var _0xc198d8=_0xf551bb[0x0],_0x382672=_0xf551bb[0x1];typeof _0x382672=='string'&&(_0x3bf403[_0xc198d8]=_0x382672['replace'](/url\(#(.*)\)/,_0x33620c(0x185)['concat'](_0x48f403[_0x33620c(0xb4)],')')));})),_0x3bf403;}function ji(_0x3a66fe,_0x4f67df){const _0x12a724=_0x23cad7;var _0x16963a,_0x56f0cb=_0x4f67df[_0x12a724(0x23b)];return!_0x56f0cb||_0x56f0cb[_0x12a724(0x87)]===0x0?_0x3a66fe:_0x3a66fe['tag']===_0x12a724(0x1b5)&&(!((_0x16963a=_0x3a66fe['children'])===null||_0x16963a===void 0x0)&&_0x16963a['length'])?I(I({},_0x3a66fe),{'children':_0x3a66fe['children'][_0x12a724(0x233)](function(_0x6ae133){const _0x444bae=_0x12a724;return typeof _0x6ae133[_0x444bae(0xe7)]['id']==_0x444bae(0x128)&&_0x56f0cb&&_0x56f0cb['indexOf'](_0x6ae133[_0x444bae(0xe7)]['id'])>-0x1?I(I({},_0x6ae133),{'attrs':I(I({},_0x6ae133[_0x444bae(0xe7)]),{'id':_0x6ae133[_0x444bae(0xe7)]['id']+_0x4f67df[_0x444bae(0xb4)]})}):_0x6ae133;})}):_0x3a66fe;}function Wi(){const _0x16b092=_0x23cad7;return Math['random']()[_0x16b092(0x197)](0x24)['substring'](0x2,0x8);}We['displayName']=_0x23cad7(0x1c0);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x23cad7(0x208),'width':_0x23cad7(0x200),'height':_0x23cad7(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x23cad7(0xf1)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'stroke':_0x23cad7(0xc5),'d':_0x23cad7(0x10b),'strokeLinecap':_0x23cad7(0x9e),'strokeLinejoin':_0x23cad7(0x9e),'strokeWidth':1.2}}]},{'tag':_0x23cad7(0x1b5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23cad7(0x1d8)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'fill':_0x23cad7(0x101),'d':_0x23cad7(0x26c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xe0c864(function(_0x115c1e,_0x1499e7){const _0x56423b=_0x23cad7;return _0x28af11(We,Object[_0x56423b(0x24f)]({},_0x115c1e,{'id':_0x56423b(0x1ea),'ref':_0x1499e7,'icon':Fi}));});Mt[_0x23cad7(0x222)]=_0x23cad7(0x1f0);var Vi={'tag':'svg','attrs':{'fill':_0x23cad7(0x10d),'viewBox':_0x23cad7(0x18a),'width':'1em','height':_0x23cad7(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x23cad7(0x157)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'stroke':_0x23cad7(0xc5),'d':_0x23cad7(0xc9),'strokeLinecap':'round','strokeLinejoin':_0x23cad7(0x9e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23cad7(0x131)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'fill':_0x23cad7(0x101),'d':'M0\x200H16V16H0z','transform':_0x23cad7(0x111)}}]}]}],'defIds':[_0x23cad7(0x131)]},Pt=_0xe0c864(function(_0x11172e,_0x30a40e){const _0x5e7655=_0x23cad7;return _0x28af11(We,Object[_0x5e7655(0x24f)]({},_0x11172e,{'id':_0x5e7655(0x276),'ref':_0x30a40e,'icon':Vi}));});Pt[_0x23cad7(0x222)]='OnLineSingle';const Yi=_0x23cad7(0x212),Xi=_0x23cad7(0xa1),Gi=_0x23cad7(0xb0),Ki=_0x23cad7(0x270),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x297247){const _0x232373=_0x23cad7;switch(_0x297247){case _0x258d3a['OFFLINE']:return _0x232373(0x1ca);case _0x258d3a[_0x232373(0x8e)]:return _0x232373(0x27c);case _0x258d3a[_0x232373(0x178)]:return _0x232373(0xd0);case _0x258d3a[_0x232373(0x1f6)]:return'collabStatus.notCollab';case _0x258d3a[_0x232373(0x271)]:case _0x258d3a[_0x232373(0x145)]:return _0x232373(0xb2);case _0x258d3a[_0x232373(0xa6)]:case _0x258d3a[_0x232373(0x198)]:return _0x232373(0x245);}}function Zi(_0x1b19dc){const _0x344ab7=_0x23cad7,{status$:_0x437203}=_0x1b19dc,_0x509c1e=_0xed74ac(_0x437203,_0x258d3a[_0x344ab7(0x1f6)]),_0x464a26=_0x4a50b4(_0x22a524),_0x15a64f=_0x4a50b4(_0x342c4a),_0x59d012=_0x509c1e!==_0x258d3a[_0x344ab7(0x10a)],_0x1e5ec1=_0x464a26['t'](Ji(_0x509c1e)),_0x1107bc=_0x512f41(G[_0x344ab7(0xd6)],{[G['online']]:_0x59d012,[G['offline']]:!_0x59d012}),_0x27e82d=_0x59d012?_0x3b256b(Pt,{}):_0x3b256b(Mt,{}),_0x559b14=_0x587d41(()=>{const _0x1f8367=_0x344ab7;_0x59d012||_0x15a64f[_0x1f8367(0x20a)]();},[_0x59d012,_0x15a64f]);function _0x4e37c7(){const _0x178372=_0x344ab7;return _0x4971c3(_0x178372(0x23d),{'className':_0x512f41(_0x1107bc,_0x178372(0xba)),'onClick':_0x559b14,'children':[_0x3b256b(_0x178372(0x23d),{'className':G[_0x178372(0x207)],'children':_0x27e82d}),_0x3b256b('div',{'className':G['onlineStatusTitle'],'children':_0x1e5ec1})]});}return _0x59d012?_0x4e37c7():_0x3b256b(_0x47a991,{'title':_0x464a26['t'](_0x344ab7(0x27e)),'children':_0x4e37c7()});}var Qi=Object[_0x23cad7(0x19a)],qi=(_0x19b3b2,_0x4339c5,_0x586fbf,_0x32ec4d)=>{const _0x5595d0=_0x23cad7;for(var _0x4693e7=_0x32ec4d>0x1?void 0x0:_0x32ec4d?Qi(_0x4339c5,_0x586fbf):_0x4339c5,_0x44924f=_0x19b3b2[_0x5595d0(0x87)]-0x1,_0x528312;_0x44924f>=0x0;_0x44924f--)(_0x528312=_0x19b3b2[_0x44924f])&&(_0x4693e7=_0x528312(_0x4693e7)||_0x4693e7);return _0x4693e7;},q=(_0x39cb2f,_0x359e84)=>(_0x182bcf,_0x25f6a6)=>_0x359e84(_0x182bcf,_0x25f6a6,_0x39cb2f);let se=class extends _0x2b4291{constructor(_0x55c11e,_0x59adb6,_0x4f993a,_0xba6584){const _0x5d3238=_0x23cad7;super(),_(this,_0x5d3238(0x1af),new _0xc1edc8(_0x258d3a[_0x5d3238(0x1f6)])),(this['_univerInstanceService']=_0x55c11e,this[_0x5d3238(0xf4)]=_0x59adb6,this[_0x5d3238(0x20b)]=_0x4f993a,this[_0x5d3238(0x1d7)]=_0xba6584,this['_initStatusComponent'](),this[_0x5d3238(0xa9)]());}[_0x23cad7(0xa9)](){const _0x5e8284=_0x23cad7;this[_0x5e8284(0x86)](this[_0x5e8284(0x149)]['focused$'][_0x5e8284(0x1eb)](_0x3621d7(()=>{const _0x326640=_0x5e8284,_0x34714a=this[_0x326640(0x149)][_0x326640(0x27d)]();return _0x34714a?this[_0x326640(0x20b)][_0x326640(0x287)](_0x34714a[_0x326640(0x266)]()):_0x357fef(null);}),_0x3621d7(_0x2481ba=>_0x2481ba?_0x2481ba[_0x5e8284(0xa4)]:_0x357fef(_0x258d3a[_0x5e8284(0x1f6)])))[_0x5e8284(0x93)](_0xed8954=>{const _0x2b9efe=_0x5e8284;this['_status$'][_0x2b9efe(0x17a)](_0xed8954);}));}['_initStatusComponent'](){const _0x5c2884=_0x23cad7;this[_0x5c2884(0x86)](this['_uiPartsService'][_0x5c2884(0x18e)](_0x29d125[_0x5c2884(0x175)],()=>_0x5bf325(en({'status$':this['_status$'][_0x5c2884(0x122)]()}),this[_0x5c2884(0xf4)])));}};se=qi([q(0x0,_0x530874),q(0x1,_0x39beab(_0x403f23)),q(0x2,_0x39beab(_0x403fef)),q(0x3,_0x422f3f)],se);function en(_0x67827f){const {status$:_0x125e8c}=_0x67827f;return function(){return _0x3b256b(Zi,{'status$':_0x125e8c});};}var tn=Object[_0x23cad7(0x19a)],sn=(_0x24fc3a,_0x86e10e,_0x187974,_0x2d7c12)=>{const _0x20f4b6=_0x23cad7;for(var _0x10b6a4=_0x2d7c12>0x1?void 0x0:_0x2d7c12?tn(_0x86e10e,_0x187974):_0x86e10e,_0x3f9aaf=_0x24fc3a[_0x20f4b6(0x87)]-0x1,_0x5cea02;_0x3f9aaf>=0x0;_0x3f9aaf--)(_0x5cea02=_0x24fc3a[_0x3f9aaf])&&(_0x10b6a4=_0x5cea02(_0x10b6a4)||_0x10b6a4);return _0x10b6a4;},B=(_0x1d226d,_0x2c6731)=>(_0xcd7da4,_0x350e10)=>_0x2c6731(_0xcd7da4,_0x350e10,_0x1d226d);let ie=class extends _0x2b4291{constructor(_0x39b8f8,_0x4a17b7,_0x5dfc82,_0x1c3423,_0x56b7aa,_0x558664){const _0x5b5970=_0x23cad7;super(),this[_0x5b5970(0x223)]=_0x39b8f8,this[_0x5b5970(0x22c)]=_0x4a17b7,this[_0x5b5970(0x15c)]=_0x5dfc82,this['_messageService']=_0x1c3423,this['_notificationService']=_0x56b7aa,this[_0x5b5970(0x171)]=_0x558664,this[_0x5b5970(0x183)](),this[_0x5b5970(0x161)]();}['_setupBeforeClosingHandler'](){const _0x2ab30e=_0x23cad7;this[_0x2ab30e(0x86)](this[_0x2ab30e(0x223)][_0x2ab30e(0x1c7)](()=>{const _0x4f464c=_0x2ab30e;if(this[_0x4f464c(0x22c)][_0x4f464c(0x28c)][_0x4f464c(0x15a)])return this['_localeService']['t'](_0x4f464c(0xf2));}));}[_0x23cad7(0x161)](){const _0x555456=_0x23cad7;this['disposeWithMe'](this[_0x555456(0x15c)]['event$'][_0x555456(0x93)](_0x519bf5=>{const _0x1b3887=_0x555456;_0x519bf5['id']===_0x476b7a[_0x1b3887(0x25f)]&&this['_messageService'][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x17d))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0xa3)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x221)]&&this['_notificationService'][_0x1b3887(0x11f)]({'title':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x90)),'content':this['_localeService']['t'](_0x1b3887(0x14f)),'type':_0x1b3887(0x25b),'duration':0x0}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x8e)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x12f)],'content':this[_0x1b3887(0x171)]['t']('collaboration.closeRoom')+'('+_0x519bf5[_0x1b3887(0x256)]+')'}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x195)]&&this['_messageService'][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this[_0x1b3887(0x171)]['t'](_0x519bf5[_0x1b3887(0x256)]||'')}),_0x519bf5['id']===_0x476b7a['SOCKET_FAILED_RETRY']&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660['Warning'],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0xd2))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x28b)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660['Error'],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x96))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x12e)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x12f)],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x14b))});}));}};ie=sn([B(0x0,_0x3282cb),B(0x1,_0x176d90),B(0x2,_0x39beab(_0x2d342b)),B(0x3,_0x3008ab),B(0x4,_0x4d33d5),B(0x5,_0x39beab(_0x22a524))],ie);const nn=_0x23cad7(0x272),st={},wt=_0x43769f(_0x23cad7(0x268));function _0x571f(){const _0x42f331=['executionId','getCollabCursors$','collaboration.single-unit.warning','clearTimeout','backgroundColor','extend','/run/','_anchor','_setupBeforeClosingHandler','collab-rect-range-','url(#$1','getUniverSheetInstance','triggerDblclick','pluginName','_messageService','0\x200\x2017\x2016','_localStorageService','m2Prime','restore','registerComponent','_dataLoaderService','getConfig','_hideTimer','_cursor','_removeCollabCursors','createInstance','JOIN_ROOM_FAILED','init','toString','PENDING','getMemberID','getOwnPropertyDescriptor','_document','storage','_drawAnchor','UNIVER_DOC','fill','sessionStatus$','InsertRangeMoveRightCommandId','_updateCollabCursors','save','_roomMembers$','memberID','exhaustSavingTask','disableLocalCache','verdancy600','_docTransformStateCacheService','has','_cursors','COMPLETION_FINISHED','_backgroundColor','MUTATION','_status$','split','VIEW_MAIN','_context','transformByState','dispose$','defs','origin','makeDirty','key','actions','getVpScrollXYInfoByPosToVp','ranges','INVALID_INVITE_CODE','LICENSE_DISTRO_REJECTED','onPointerLeave$','ticket','UniverIcon','getRenderById','NOT_FOUND','InsertColCommandId','getSheetBySheetId','mutations','color','registerBeforeClose','red300','symbol','collabStatus.offline','Warning','prototype','_urlService','_unitStatus','_instanceService','_getScale','getRangePointData','getCurrentRevOfUnit','_draw','from','measureText','transformSelections','_uiPartsService','off-line-single_clip0_910_343','propertyIsEnumerable','row','_drawRectRange','onMouseMove','event$','assignAColorForMemberID','WECHAT_HAS_BEEN_BOUND','runId','_createSocketURL','setAlpha','_initCommandExecutedListener','setItem','onStarting','_toggleOffline','setTimeout','wsSessionTicketUrl','_config','off-line-single','pipe','min','_labelPosition','RemoveColCommandId','setConfig','OffLineSingle','selections','pushState','values','UNAUTHENTICATED','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','unload','unsubscribe','_scheduleSaving','roomMembers$','APPLY_REJECT','getUndoRedoMutationParamsCache','_docTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','some','1em','INTERNAL_ERROR','_entityInit$','getUnitStatus$','APPLY_PERMISSION_DENIED','_range','_commandService','onlineStatusIcon','0\x200\x2016\x2016','apply','reconnect','_collaborationController','font','YUUMI_RATE_OVER_LIMIT','_assignedColors','_handleHeartbeatEvent','RECT','INVITE_CODE_HAS_BEEN_UES','univer-online-status-icon','YUUMI_UNABLE_LOAD_URL','_doCreateSocket','_collabCursorState$','rgba(255,\x20255,\x20255,\x200.01)','getTypeOfUnitAdded$','MoveRangeCommandId','_send','override','24JCmTRS','icon','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','location','_ensureSubject','PERMISSION_DENIED','displayName','_beforeCloseService','CONNECTOR_DATA_TOO_LARGE','_getSessionTicket','710096LeTZCy','_scheduleHeartbeat','UPDATE_CURSOR','_cachedData','_removeClearOtherTimer','_anchorDot','_localCacheService','202829WIUcSB','addHandlerCallback','xlink:href','sheetId','_eventUnsubscribe','roomMembers','map','updateOfflineData','post','_transformPreviousActiveRange','height','skeleton','className','fillStyle','defIds','_revisionService','div','clearInterval','ONLINE','send','_hovered','unitId','fillText','FromArray','collabStatus.synced','DeleteRangeMoveUpCommandId','replace','InsertRowCommandId','get','[CollaborationDataLoaderController]','LOGIN_FAILED','endRow','_disabled','includes','assign','_online','application/json','SNAPSHOT_INVALID_SNAPSHOT','complete','onLocalMutation','history','data','collabCursorState$','hasOwnProperty','m1Prime','_docSyncEditingCollabCursorService','error','_docClipboardService','INVALID_ARGUMENT','ACTIVE_UNIT_EVENT_CHANNEL','OTHER_CLIENT_EDITING','_docTransformIMECacheService','path','runOnServer','find','unshift','_render','getUnitId','_updateURLWithCurrentState','uni.network.url-service','name','_id','_configService','M0\x200H16V16H0z','_scheduleClearOtherTimer','USER_NOT_INVITED_CODE','_textBubble','univer-online','AWAITING','collaboration-client-ui.config','deepClone','currentTheme$','onRendered','on-line-single','subUnitId','set','getCurrent','removeParam','params','collabStatus.conflict','getFocusedUnit','collab-client.tooltip.reconnect','_shapes','_registerRenderDependencies','OTHER_CLIENTS_EDITING','_initEntityListener','_memberService','getOffsetConfig','_registerDependencies','stringify','getCollabEntity$','urlChange$','collab-text-range-','_renderManagerService','SOCKET_FAILED','saveTaskMap','_sheetSkeletonManagerService','transformStateCache','disposeWithMe','length','_saveTaskMap','undoState','_themeService','setUndoRedoMutationParamsCache','children','disposeUnit','CONFLICT','fillRule','permission.title','textRanges','120646ISimAN','subscribe','_lastPointer','unitID','session.connection-failed','setShapeProps','addClipboardHook','YUUMI_SUBSCRIPTION_NOT_FOUND','selection','href','moveTo','_collabSessionService','round','_handleEvent','UNIVER_SHEET','univer-online-status-title','findNodePositionByCharIndex','CLOSE_ROOM','status$','isArray','SYNCED','requireSession','result','_initStatusListener','range','max','function','_unitOnClients','_cursorShapes','newValue','univer-online-status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.syncing','use','idSuffix','width','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentSelections','_scene','getStateCache','univer-flex\x20univer-items-center','_clearOtherTimers','bottom','loadOfflineData','eventID','getActiveSheet','_entities','indexOf','black','_docSkeletonManagerService','isActive','currentColor','getItem','_handleLeaveEvent','onPointerEnter$','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','registerRefRange','_cursorInfo$','purple300','ENSURE_SNAPSHOT_EXECUTION','715535mEWdvD','transformIMECache','collabStatus.fetchMiss','replaceDocRanges','session.will-retry','_drawTextRange','setParam','USERS_LEAVE','onlineStatus','UNRECOGNIZED','arc','add','_collabCursorController','_init','_transformHistoryAndStateStack','_session','_saveCache','getSheetId','_onCursorUpdate','_onRefRangeChange','concat','drawWith','sessionTicket','activeSheet$','getDocRanges','attrs','blue400','_transformService','ALREADY_EXISTS','closePath','getActiveRange','setStateCache','hovered','with','addObject','url(#off-line-single_clip0_910_343)','collaboration-client.offline-data-not-saved','search','_injector','generateRandomId','_startDocCollabCursor','_getSaveTimeout','loadUnit','forEach','NO_OTHER_CLIENTS_EDITING','_getAnchorBounding','then','EMAIL_HAS_BEEN_BOUND','collab-text-anchor-','subscribeEvent','defineProperty','#fff','transformMutation','contains','lineTo','parse','_updateSubUnitFromURLParams','transformRemoteChangeset','labelPosition','top','OFFLINE','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','saveImage','none','enableLocalCache','syncEditingCollabCursor','colorChannel1','translate(.97)','saveOfflineData','8ICupYY','push','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RemoveRowCommandId','setActiveRange','searchParams','PY_RUNTIME_SCRIPT_ERROR','body','getOwnPropertySymbols','hide','_heartbeatTimer','_docStateChangeManagerService','show','getParam','_hover','asObservable','transform','_toggleOnline','_syncEditingCollabCursorService','getMember','getAncestorScale','string','createSocket','_transformUndoRedoStack','10566675VFuzbs','docStateChange$','1216780dtnxKv','SUBMIT_CHANGESET_TIMEOUT','Error','text','on-line-single_clip0_910_349','_setupSubUnitSync','TEXT','_selfUnitIDs','15047037HBHqIo','gold400','_onCursorDelete','_imageIoService','_initDependencies','redoState','dispose','current','_initResize','replaceState','INVITE_CODE_REQUIRED','_getMergeRange','addObjects','TOO_MANY_REQUESTS','delete','subunit','AWAITING_WITH_PENDING','UNDEFINED','startRow','_updateLocalCursor','_univerInstanceService','resize','session.collaboration-timeout','executeCommand','getTypeOfUnitDisposed$','Unknown\x20user','permission.content','cursorInfo','Failed','onCommandExecuted','flatMap','APPLY_REVISION_CONFILICT','_name','15icvYUa','url(#on-line-single_clip0_910_349)','_logService','_color','size','type','_collaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','mask','getValue','_initEvent','APPLY_DUPLICATED','_startSheetCollabCursor','_refreshCollabCursors','MOBILE_HAS_BEEN_BOUND','engine','tag','debug','_handleHover','onPointerMove$','getViewport','column','entityInit$','cursorInfo$','beginPath','jiqing500','_localeService','getSkeleton','_colorIndex','registerRenderModule','HEADER_MENU','call','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','FETCH_MISS','2390gejMOr','next'];_0x571f=function(){return _0x42f331;};return _0x571f();}var rn=Object['getOwnPropertyDescriptor'],on=(_0xef6e5b,_0x52f8b8,_0xf19e65,_0x1f81c1)=>{const _0x208d0b=_0x23cad7;for(var _0x23fc8b=_0x1f81c1>0x1?void 0x0:_0x1f81c1?rn(_0x52f8b8,_0xf19e65):_0x52f8b8,_0x12340a=_0xef6e5b[_0x208d0b(0x87)]-0x1,_0x3cafc0;_0x12340a>=0x0;_0x12340a--)(_0x3cafc0=_0xef6e5b[_0x12340a])&&(_0x23fc8b=_0x3cafc0(_0x23fc8b)||_0x23fc8b);return _0x23fc8b;},K=(_0x492280,_0x1a5418)=>(_0x346d79,_0x591ecd)=>_0x1a5418(_0x346d79,_0x591ecd,_0x492280);let ne=class extends _0x3ca7b4{constructor(_0x566289,_0x2605b4,_0x94a2a8,_0x4a2538,_0x2d6068){const _0xba2621=_0x23cad7;super(),this[_0xba2621(0x1cd)]=_0x566289,this[_0xba2621(0x158)]=_0x2605b4,this[_0xba2621(0x206)]=_0x94a2a8,this[_0xba2621(0x18f)]=_0x4a2538,_0x2d6068?_0x2d6068==null||_0x2d6068['whenReady']()[_0xba2621(0xfc)](()=>this[_0xba2621(0xdb)]()):(this['_logService'][_0xba2621(0x168)]('[CollaborationDataLoaderController]',_0xba2621(0x177)),this[_0xba2621(0xdb)]());}async['_init'](){const _0x305f5e=_0x23cad7,_0x1801c1=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)]('unit'),_0x1f6536=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)](_0x305f5e(0x15b)),_0x5e7281=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)](_0x305f5e(0x144));if(!_0x1801c1||!_0x1f6536){this[_0x305f5e(0x158)][_0x305f5e(0x168)](_0x305f5e(0x24a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x475bbc=await this[_0x305f5e(0x18f)][_0x305f5e(0xf8)](_0x1801c1,Number(_0x1f6536),_0x5e7281);_0x475bbc&&_0x475bbc instanceof _0x5c5c9b&&this[_0x305f5e(0x132)](_0x475bbc);}async[_0x23cad7(0x132)](_0x14db3c){const _0x27c557=_0x23cad7;await this['_updateSubUnitFromURLParams'](_0x14db3c),_0x14db3c[_0x27c557(0xe5)]['pipe'](_0x155dfe(this[_0x27c557(0x1b4)]))[_0x27c557(0x93)](_0x4c1e63=>{const _0x155111=_0x27c557;_0x4c1e63&&this[_0x155111(0x267)](_0x4c1e63);}),this[_0x27c557(0x1cd)][_0x27c557(0x288)][_0x27c557(0x1eb)](_0x155dfe(this[_0x27c557(0x1b4)]))[_0x27c557(0x93)](()=>this[_0x27c557(0x106)](_0x14db3c));}[_0x23cad7(0x267)](_0x2ed0de,_0x2ac5d1=!0x1){const _0x36a3e6=_0x23cad7,_0xed1565=this[_0x36a3e6(0x1cd)][_0x36a3e6(0x120)](_0x36a3e6(0x144));_0x2ed0de[_0x36a3e6(0xdf)]()!==_0xed1565&&this[_0x36a3e6(0x1cd)][_0x36a3e6(0xd4)](_0x36a3e6(0x144),_0x2ed0de[_0x36a3e6(0xdf)](),_0x2ac5d1);}async[_0x23cad7(0x106)](_0x4b0234){const _0x150d1e=_0x23cad7;var _0x5b26e1;const _0x1b80ba=this[_0x150d1e(0x1cd)][_0x150d1e(0x120)](_0x150d1e(0x144));if(!_0x1b80ba||!_0x4b0234[_0x150d1e(0x1c4)](_0x1b80ba)){const _0x255d22=_0x4b0234['getUnhiddenWorksheets']()[0x0],_0x545634=_0x4b0234[_0x150d1e(0x1c4)](_0x255d22);if(!_0x545634)return;this[_0x150d1e(0x267)](_0x545634,!0x0),await this[_0x150d1e(0x206)][_0x150d1e(0x14c)](_0x1b3e2d['id'],{'unitId':_0x4b0234['getUnitId'](),'subUnitId':_0x255d22});return;}((_0x5b26e1=_0x4b0234[_0x150d1e(0xbf)]())==null?void 0x0:_0x5b26e1[_0x150d1e(0xdf)]())!==_0x1b80ba&&await this[_0x150d1e(0x206)][_0x150d1e(0x14c)](_0x1b3e2d['id'],{'unitId':_0x4b0234['getUnitId'](),'subUnitId':_0x1b80ba});}};ne=on([K(0x0,wt),K(0x1,_0x3bb576),K(0x2,_0x4b214e),K(0x3,_0x39beab(_0x1f5bc1)),K(0x4,_0x48f485(_0xe2c81a))],ne);var an=Object[_0x23cad7(0x19a)],cn=(_0x23148b,_0x3071e7,_0x204486,_0x507169)=>{const _0x36143=_0x23cad7;for(var _0x24c4e5=_0x507169>0x1?void 0x0:_0x507169?an(_0x3071e7,_0x204486):_0x3071e7,_0x1a8b89=_0x23148b[_0x36143(0x87)]-0x1,_0x1cde87;_0x1a8b89>=0x0;_0x1a8b89--)(_0x1cde87=_0x23148b[_0x1a8b89])&&(_0x24c4e5=_0x1cde87(_0x24c4e5)||_0x24c4e5);return _0x24c4e5;},Ce=(_0xefbdda,_0x11e003)=>(_0x5989cf,_0x5ce7ea)=>_0x11e003(_0x5989cf,_0x5ce7ea,_0xefbdda);let re=class{constructor(_0x184075,_0x1d38f4,_0x866be3){const _0xc9654e=_0x23cad7;this['_injector']=_0x184075,this[_0xc9654e(0xe9)]=_0x1d38f4,this[_0xc9654e(0x28a)]=_0x866be3;}['transformIMECache'](_0x80843b){const _0x277ad1=_0x23cad7;this[_0x277ad1(0x12a)](_0x80843b),this[_0x277ad1(0x236)](_0x80843b);}[_0x23cad7(0x107)](_0x1831a0){const _0x250a23=_0x23cad7,{unitID:_0x3caf6d}=_0x1831a0,_0x5ea602=this[_0x250a23(0x28a)][_0x250a23(0x1c1)](_0x3caf6d)[_0x250a23(0xef)](_0x13cc4b),{redoCache:_0x45f9e5}=_0x5ea602[_0x250a23(0x1fc)]();if(_0x45f9e5[_0x250a23(0x87)]===0x0)return _0x1831a0;let _0x4cda8e=_0x3573b[_0x250a23(0x273)](_0x1831a0[_0x250a23(0x1c5)][0x0]);for(let _0x53088a=0x0;_0x53088a<_0x45f9e5['length'];_0x53088a++){const _0x1531a9={'id':_0x250a23(0x21d),'params':{..._0x45f9e5[_0x53088a]}},_0x49cba5=this[_0x250a23(0xe9)][_0x250a23(0x102)](_0x4cda8e,_0x1531a9,!0x1);if(_0x2117ba(_0x49cba5))throw _0x49cba5['error'];_0x4cda8e=_0x49cba5[_0x250a23(0x259)];}return{..._0x3573b['deepClone'](_0x1831a0),'mutations':[_0x4cda8e]};}[_0x23cad7(0x12a)](_0x243038){const _0x5105a2=_0x23cad7,{unitID:_0x3f43ba}=_0x243038,_0xc78207=this[_0x5105a2(0x28a)][_0x5105a2(0x1c1)](_0x3f43ba)[_0x5105a2(0xef)](_0x13cc4b),{undoCache:_0x510ca6,redoCache:_0x113e09}=_0xc78207[_0x5105a2(0x1fc)]();if(_0x510ca6[_0x5105a2(0x87)]===0x0||_0x113e09['length']===0x0)return;const _0x5015cf=[],_0x84938d=[];let _0x5b0c39=_0x3573b[_0x5105a2(0x273)](_0x243038['mutations'][0x0]),_0x44d31e=_0x3573b[_0x5105a2(0x273)](_0x243038[_0x5105a2(0x1c5)][0x0]);for(let _0x43bc0e=_0x510ca6[_0x5105a2(0x87)]-0x1;_0x43bc0e>=0x0;_0x43bc0e--){const _0x69cabf={'id':'doc.mutation.rich-text-editing','params':{..._0x510ca6[_0x43bc0e]}},_0x456978={'id':_0x5105a2(0x21d),'params':{..._0x113e09[_0x43bc0e]}},_0x8b787a=this[_0x5105a2(0xe9)][_0x5105a2(0x102)](_0x5b0c39,_0x69cabf,!0x1),_0x20a332=this[_0x5105a2(0xe9)][_0x5105a2(0x102)](_0x44d31e,_0x456978,!0x1);if(_0x2117ba(_0x8b787a))throw _0x8b787a[_0x5105a2(0x25b)];if(_0x2117ba(_0x20a332))throw _0x20a332['error'];_0x5015cf['unshift'](_0x8b787a['m2Prime'][_0x5105a2(0x27b)]),_0x84938d[_0x5105a2(0x264)](_0x20a332[_0x5105a2(0x18c)][_0x5105a2(0x27b)]),_0x5b0c39=_0x8b787a[_0x5105a2(0x259)],_0x44d31e=_0x20a332[_0x5105a2(0x259)];}_0xc78207[_0x5105a2(0x8b)]({'undoCache':_0x5015cf,'redoCache':_0x84938d});}[_0x23cad7(0x236)](_0xee0a10){const _0x2dc51c=_0x23cad7,{unitID:_0x8dd5ca}=_0xee0a10,_0x541438=this[_0x2dc51c(0x28a)][_0x2dc51c(0x1c1)](_0x8dd5ca)[_0x2dc51c(0xef)](_0x13cc4b),_0x3eb3bf=_0x541438[_0x2dc51c(0xec)]();if(_0x3eb3bf==null)return;const _0x304a33=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xee0a10[_0x2dc51c(0x95)],'actions':null,'textRanges':[_0x3eb3bf]}}],_0x1ad8f3=this[_0x2dc51c(0xe9)]['transformMutationsWithChangeset'](_0xee0a10,_0x304a33);if(!_0x498352(_0x1ad8f3))throw _0x1ad8f3['error'];const _0x1027f8=_0x1ad8f3[_0x2dc51c(0x18c)][0x0][_0x2dc51c(0x27b)][_0x2dc51c(0x91)];Array[_0x2dc51c(0xa5)](_0x1027f8)&&_0x1027f8['length']&&_0x541438[_0x2dc51c(0x117)](_0x1027f8[0x0]);}};re=cn([Ce(0x0,_0x39beab(_0x403f23)),Ce(0x1,_0x50146e),Ce(0x2,_0x5e2092)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x40ce31,_0x17a1ab,_0x19910d,_0x31f67d)=>{const _0x441e67=_0x23cad7;for(var _0x37a595=_0x31f67d>0x1?void 0x0:_0x31f67d?ln(_0x17a1ab,_0x19910d):_0x17a1ab,_0x34e3f6=_0x40ce31[_0x441e67(0x87)]-0x1,_0x187ab0;_0x34e3f6>=0x0;_0x34e3f6--)(_0x187ab0=_0x40ce31[_0x34e3f6])&&(_0x37a595=_0x187ab0(_0x37a595)||_0x37a595);return _0x37a595;},Ee=(_0x487afe,_0x386dff)=>(_0x4e38c8,_0x2aa8db)=>_0x386dff(_0x4e38c8,_0x2aa8db,_0x487afe);let oe=class{constructor(_0x3fc4e5,_0x29bcc7,_0x4788da){const _0x534b15=_0x23cad7;this['_injector']=_0x3fc4e5,this[_0x534b15(0xe9)]=_0x29bcc7,this[_0x534b15(0x11e)]=_0x4788da;}[_0x23cad7(0x85)](_0x253866){const _0x484926=_0x23cad7;this[_0x484926(0xdc)](_0x253866);}[_0x23cad7(0x107)](_0x55b8d8){const _0x343211=_0x23cad7,{unitID:_0x227429}=_0x55b8d8,{collaboration:_0xf76fe4}=this[_0x343211(0x11e)][_0x343211(0xb9)](_0x227429);if(_0xf76fe4['length']===0x0)return _0x55b8d8;let _0x44329f=_0x3573b[_0x343211(0x273)](_0x55b8d8[_0x343211(0x1c5)][0x0]);for(let _0x7597c1=0x0;_0x7597c1<_0xf76fe4[_0x343211(0x87)];_0x7597c1++){const _0xdd93a2={'id':_0x343211(0x21d),'params':{'unitId':_0xf76fe4[_0x7597c1][_0x343211(0x242)],..._0xf76fe4[_0x7597c1][_0x343211(0x13a)]}},_0x2bfed0=this[_0x343211(0xe9)]['transformMutation'](_0x44329f,_0xdd93a2,!0x1);if(_0x2117ba(_0x2bfed0))throw _0x2bfed0[_0x343211(0x25b)];_0x44329f=_0x2bfed0[_0x343211(0x259)];}return{..._0x3573b[_0x343211(0x273)](_0x55b8d8),'mutations':[_0x44329f]};}[_0x23cad7(0xdc)](_0x2ffc41){const _0x3bf286=_0x23cad7,{unitID:_0x170b9d}=_0x2ffc41,{history:_0x397583,collaboration:_0xafbd0}=this[_0x3bf286(0x11e)][_0x3bf286(0xb9)](_0x170b9d);if(_0x397583[_0x3bf286(0x87)]===0x0&&_0xafbd0[_0x3bf286(0x87)]===0x0)return;const _0x3757cc=[],_0x5cc406=[];let _0x57576a=_0x3573b[_0x3bf286(0x273)](_0x2ffc41[_0x3bf286(0x1c5)][0x0]),_0x2ded33=_0x3573b[_0x3bf286(0x273)](_0x2ffc41['mutations'][0x0]);for(let _0x5e908f=_0x397583['length']-0x1;_0x5e908f>=0x0;_0x5e908f--){const _0x3dda25={'id':_0x3bf286(0x21d),'params':{'unitId':_0x397583[_0x5e908f]['unitId'],..._0x397583[_0x5e908f]['undoState']}},_0x25dea1={'id':_0x3bf286(0x21d),'params':{'unitId':_0x397583[_0x5e908f][_0x3bf286(0x242)],..._0x397583[_0x5e908f][_0x3bf286(0x13a)]}},_0x2c3dc5=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x57576a,_0x3dda25,!0x1),_0x3c55b5=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x2ded33,_0x25dea1,!0x1);if(_0x2117ba(_0x2c3dc5))throw _0x2c3dc5[_0x3bf286(0x25b)];if(_0x2117ba(_0x3c55b5))throw _0x3c55b5[_0x3bf286(0x25b)];_0x3757cc[_0x3bf286(0x264)]({..._0x397583[_0x5e908f],'undoState':_0x2c3dc5[_0x3bf286(0x18c)][_0x3bf286(0x27b)],'redoState':_0x3c55b5[_0x3bf286(0x18c)]['params']}),_0x57576a=_0x2c3dc5[_0x3bf286(0x259)],_0x2ded33=_0x3c55b5[_0x3bf286(0x259)];}_0x57576a=_0x3573b[_0x3bf286(0x273)](_0x2ffc41[_0x3bf286(0x1c5)][0x0]),_0x2ded33=_0x3573b['deepClone'](_0x2ffc41['mutations'][0x0]);for(let _0x55312f=_0xafbd0[_0x3bf286(0x87)]-0x1;_0x55312f>=0x0;_0x55312f--){const _0x110f79={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafbd0[_0x55312f][_0x3bf286(0x242)],..._0xafbd0[_0x55312f][_0x3bf286(0x89)]}},_0x25c768={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafbd0[_0x55312f][_0x3bf286(0x242)],..._0xafbd0[_0x55312f][_0x3bf286(0x13a)]}},_0x29c5ec=this['_transformService']['transformMutation'](_0x57576a,_0x110f79,!0x1),_0x4c44ad=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x2ded33,_0x25c768,!0x1);if(_0x2117ba(_0x29c5ec))throw _0x29c5ec[_0x3bf286(0x25b)];if(_0x2117ba(_0x4c44ad))throw _0x4c44ad[_0x3bf286(0x25b)];_0x5cc406['unshift']({..._0xafbd0[_0x55312f],'undoState':_0x29c5ec['m2Prime'][_0x3bf286(0x27b)],'redoState':_0x4c44ad['m2Prime']['params']}),_0x57576a=_0x29c5ec[_0x3bf286(0x259)],_0x2ded33=_0x4c44ad['m1Prime'];}this[_0x3bf286(0x11e)][_0x3bf286(0xed)](_0x170b9d,{'history':_0x3757cc,'collaboration':_0x5cc406});}};oe=_n([Ee(0x0,_0x39beab(_0x403f23)),Ee(0x1,_0x50146e),Ee(0x2,_0x39beab(_0x5f1eb8))],oe);var hn=Object[_0x23cad7(0x19a)],un=(_0x3b6fe6,_0x4f933b,_0x46b48b,_0x2e49dd)=>{const _0x341c23=_0x23cad7;for(var _0x5b4ad1=_0x2e49dd>0x1?void 0x0:_0x2e49dd?hn(_0x4f933b,_0x46b48b):_0x4f933b,_0x2e5879=_0x3b6fe6[_0x341c23(0x87)]-0x1,_0x3a8d5a;_0x2e5879>=0x0;_0x2e5879--)(_0x3a8d5a=_0x3b6fe6[_0x2e5879])&&(_0x5b4ad1=_0x3a8d5a(_0x5b4ad1)||_0x5b4ad1);return _0x5b4ad1;},it=(_0x5632aa,_0x3dfe88)=>(_0x32a5de,_0x288e3d)=>_0x3dfe88(_0x32a5de,_0x288e3d,_0x5632aa);let ae=class{constructor(_0x534687,_0x328089){const _0x5d1878=_0x23cad7;this[_0x5d1878(0xf4)]=_0x534687,this[_0x5d1878(0xe9)]=_0x328089;}[_0x23cad7(0x1d6)](_0x4798f1){const _0x30e244=_0x23cad7;var _0x460860;const _0x2e74a0=this[_0x30e244(0xf4)][_0x30e244(0x249)](_0x2d803b),_0x56d8d4=(_0x460860=_0x2e74a0[_0x30e244(0xe6)]())!=null?_0x460860:[];if(_0x56d8d4[_0x30e244(0x87)]===0x0)return;const _0x540543=_0x4798f1[_0x30e244(0x95)],_0x372342=[{'id':_0x30e244(0x21d),'params':{'unitId':_0x540543,'actions':null,'textRanges':_0x56d8d4}}],_0xe279fd=this[_0x30e244(0xe9)]['transformMutationsWithChangeset'](_0x4798f1,_0x372342);if(!_0x498352(_0xe279fd))throw _0xe279fd['error'];const _0x167984=_0xe279fd[_0x30e244(0x18c)][0x0][_0x30e244(0x27b)][_0x30e244(0x91)];Array[_0x30e244(0xa5)](_0x167984)&&_0x167984[_0x30e244(0x87)]&&_0x2e74a0[_0x30e244(0xd1)](_0x167984,{'unitId':_0x540543,'subUnitId':_0x540543},!0x1);}};ae=un([it(0x0,_0x39beab(_0x403f23)),it(0x1,_0x50146e)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x338efc,_0x1d124b,_0xef36e7,_0x4ee0c3)=>{const _0x59e044=_0x23cad7;for(var _0x192790=_0x4ee0c3>0x1?void 0x0:_0x4ee0c3?dn(_0x1d124b,_0xef36e7):_0x1d124b,_0x4aa9ae=_0x338efc[_0x59e044(0x87)]-0x1,_0x143826;_0x4aa9ae>=0x0;_0x4aa9ae--)(_0x143826=_0x338efc[_0x4aa9ae])&&(_0x192790=_0x143826(_0x192790)||_0x192790);return _0x192790;},M=(_0x52a5ba,_0x16eefd)=>(_0x18d0ae,_0x584db3)=>_0x16eefd(_0x18d0ae,_0x584db3,_0x52a5ba);let ce=class extends _0x2b4291{constructor(_0x4a7ac7,_0x5f58eb,_0x5db83a,_0x1c8885,_0x3c6e03,_0x1aa9db,_0x118a53,_0x27d1be){const _0x33ba0f=_0x23cad7;super(),_(this,_0x33ba0f(0x1af),new _0xc1edc8(_0x258d3a['NOT_COLLAB'])),(this[_0x33ba0f(0x11e)]=_0x4a7ac7,this[_0x33ba0f(0x20b)]=_0x5f58eb,this[_0x33ba0f(0x260)]=_0x5db83a,this[_0x33ba0f(0x1a9)]=_0x1c8885,this[_0x33ba0f(0x1fd)]=_0x3c6e03,this[_0x33ba0f(0x25a)]=_0x1aa9db,this[_0x33ba0f(0x189)]=_0x118a53,this['_localeService']=_0x27d1be,this[_0x33ba0f(0x282)]());}[_0x23cad7(0x282)](){const _0x330c49=_0x23cad7;this[_0x330c49(0x86)](this[_0x330c49(0x20b)][_0x330c49(0x16d)]['subscribe'](_0x4ada87=>{const _0xf3f680=_0x330c49,_0x20984d=this[_0xf3f680(0x11e)][_0xf3f680(0x12c)][_0xf3f680(0x93)](_0xef8897=>{const _0x28b5c7=_0xf3f680;if(_0xef8897==null)return;const {unitId:_0x502dbf,redoState:_0x40417c,commandId:_0x37ed68}=_0xef8897;if(_0x502dbf!==_0x4ada87[_0x28b5c7(0x95)])return;const _0x148a71={'id':_0x37ed68,'type':_0x177e7d[_0x28b5c7(0x1ae)],'params':{'unitId':_0x502dbf,'actions':_0x40417c[_0x28b5c7(0x1b9)],'textRanges':null}};_0x4ada87[_0x28b5c7(0x254)](_0x148a71);});if(_0x4ada87[_0xf3f680(0x86)](_0x20984d),_0x4ada87 instanceof _0x34153b){const _0x36af90={'onTransformIME':_0x5c498d=>this['_docTransformIMECacheService'][_0xf3f680(0xcf)](_0x5c498d),'onTransformState':_0x522820=>this[_0xf3f680(0x1a9)][_0xf3f680(0x85)](_0x522820),'onTransformSelections':_0x2467b8=>this[_0xf3f680(0x1fd)]['transformSelections'](_0x2467b8),'onSyncEditingCollabCursor':_0x436b27=>this[_0xf3f680(0x25a)][_0xf3f680(0x10f)](_0x436b27),'onTransformRemoteChangesetByIMECache':_0x118f8f=>this['_docTransformIMECacheService'][_0xf3f680(0x107)](_0x118f8f),'onTransformRemoteChangesetByStateCache':_0x2893a9=>this[_0xf3f680(0x1a9)][_0xf3f680(0x107)](_0x2893a9)};_0x4ada87[_0xf3f680(0x22e)](_0x36af90);}}));}};ce=fn([M(0x0,_0x39beab(_0x5f1eb8)),M(0x1,_0x39beab(_0x403fef)),M(0x2,_0x39beab(re)),M(0x3,_0x39beab(oe)),M(0x4,_0x39beab(ae)),M(0x5,_0x39beab(je)),M(0x6,_0x3008ab),M(0x7,_0x39beab(_0x22a524))],ce);var Sn=Object[_0x23cad7(0x19a)],mn=(_0xf83e33,_0xf622ab,_0x4297a6,_0x25bd96)=>{const _0x496ad8=_0x23cad7;for(var _0x1a6151=_0x25bd96>0x1?void 0x0:_0x25bd96?Sn(_0xf622ab,_0x4297a6):_0xf622ab,_0x8f485b=_0xf83e33[_0x496ad8(0x87)]-0x1,_0x39e638;_0x8f485b>=0x0;_0x8f485b--)(_0x39e638=_0xf83e33[_0x8f485b])&&(_0x1a6151=_0x39e638(_0x1a6151)||_0x1a6151);return _0x1a6151;},be=(_0x275938,_0x430841)=>(_0x386cfd,_0x1424ae)=>_0x430841(_0x386cfd,_0x1424ae,_0x275938);let Ae=class extends _0x2b4291{constructor(_0x1ae675,_0x563665,_0x383409){const _0x606f9a=_0x23cad7;super(),_(this,_0x606f9a(0x229),new Map()),_(this,_0x606f9a(0x88),new Map()),_(this,_0x606f9a(0x24d),!0x1),(this['_configService']=_0x1ae675,this[_0x606f9a(0x18b)]=_0x563665,this[_0x606f9a(0x23c)]=_0x383409);}[_0x23cad7(0x1a7)](){this['_disabled']=!0x0;}[_0x23cad7(0x10e)](){this['_disabled']=!0x1;}get[_0x23cad7(0x28c)](){const _0x39d8a9=_0x23cad7;return this[_0x39d8a9(0x88)];}[_0x23cad7(0x13b)](){const _0x599346=_0x23cad7;this[_0x599346(0x1a6)]()[_0x599346(0xfc)](()=>super[_0x599346(0x13b)]());}async[_0x23cad7(0xbd)](_0x228b16){const _0x24502f=_0x23cad7;return this['_disabled']?null:this['_localStorageService'][_0x24502f(0xc6)](_0x98d483(_0x228b16));}async[_0x23cad7(0x112)](_0x132523,_0x26d852){const _0x31bafc=_0x23cad7;return!!this[_0x31bafc(0x18b)][_0x31bafc(0x1e4)](_0x132523,_0x26d852);}[_0x23cad7(0x234)](_0xdc2a4c,_0xdf5b54,_0xedc4ca,_0x203b0c){const _0x3aaf42=_0x23cad7,_0x115e58=this[_0x3aaf42(0x23c)][_0x3aaf42(0x1d2)](_0xdc2a4c);this[_0x3aaf42(0x229)][_0x3aaf42(0x278)](_0xdc2a4c,{'unitID':_0xdc2a4c,'type':_0xdf5b54,'awaitingChangeset':_0xedc4ca,'mutations':_0x203b0c,'rev':_0x115e58}),this[_0x3aaf42(0x88)][_0x3aaf42(0x1aa)](_0xdc2a4c)||this[_0x3aaf42(0x1f9)](_0xdc2a4c);}['_scheduleSaving'](_0x189ccf){const _0x1b4a1d=_0x23cad7,_0xc5aaf5=this['_getSaveTimeout']();_0xc5aaf5===0x0?this['_saveCache'](_0x189ccf):this[_0x1b4a1d(0x88)]['set'](_0x189ccf,setTimeout(()=>this[_0x1b4a1d(0xde)](_0x189ccf),_0xc5aaf5));}[_0x23cad7(0xf7)](){const _0x527eeb=_0x23cad7;var _0x505801;return(_0x505801=this[_0x527eeb(0x26b)]['getConfig'](_0x3fa72b))!=null?_0x505801:_0x1865fb;}[_0x23cad7(0xde)](_0x41ec15){const _0x2d28fa=_0x23cad7,_0x1df42d=this[_0x2d28fa(0x88)][_0x2d28fa(0x249)](_0x41ec15);return _0x1df42d!==void 0x0&&window['clearTimeout'](_0x1df42d),this[_0x2d28fa(0x18b)][_0x2d28fa(0x1e4)](_0x98d483(_0x41ec15),this['_cachedData'][_0x2d28fa(0x249)](_0x41ec15))[_0x2d28fa(0xfc)](()=>this[_0x2d28fa(0x88)]['delete'](_0x41ec15));}async[_0x23cad7(0x1a6)](){const _0x5c036b=_0x23cad7,_0x94496d=[];this[_0x5c036b(0x88)][_0x5c036b(0xf9)]((_0x28f228,_0x4434aa)=>{const _0xb81966=_0x5c036b;window[_0xb81966(0x17e)](_0x28f228),_0x94496d['push'](this[_0xb81966(0xde)](_0x4434aa)[_0xb81966(0xfc)](()=>{const _0x1b932c=_0xb81966;this[_0x1b932c(0x88)][_0x1b932c(0x143)](_0x4434aa);}));}),await Promise['all'](_0x94496d);}};Ae=mn([be(0x0,_0x4d500e),be(0x1,_0x3ce989),be(0x2,_0x39beab(_0x5238a0))],Ae);class gn extends _0x3ca7b4{constructor(){const _0x469afc=_0x23cad7;super(),_(this,'urlChange$'),this[_0x469afc(0x288)]=_0x2d89cf(window,'popstate')[_0x469afc(0x1eb)](_0x155dfe(this['dispose$']),_0x5b7c2f(0x1),_0x1e884d(void 0x0));}[_0x23cad7(0xd4)](_0x3f439b,_0x542395,_0x355cca=!0x1){const _0x1c5253=_0x23cad7,_0x50a993=new URL(window['location'][_0x1c5253(0x9b)]);_0x50a993[_0x1c5253(0x118)][_0x1c5253(0x278)](_0x3f439b,_0x542395),_0x355cca?window[_0x1c5253(0x255)][_0x1c5253(0x13e)]('','',_0x50a993[_0x1c5253(0x197)]()):window[_0x1c5253(0x255)][_0x1c5253(0x1f2)]('','',_0x50a993['toString']());}[_0x23cad7(0x27a)](_0x4c7c45,_0x3b56d3=!0x1){const _0x21994e=_0x23cad7,_0x73ebfc=new URL(window['location']['href']);_0x73ebfc['searchParams']['delete'](_0x4c7c45),_0x3b56d3?window[_0x21994e(0x255)][_0x21994e(0x13e)]('','',_0x73ebfc[_0x21994e(0x197)]()):window['history'][_0x21994e(0x1f2)]('','',_0x73ebfc[_0x21994e(0x197)]());}[_0x23cad7(0x120)](_0x252c8d){const _0x3506c5=_0x23cad7;var _0x23ada2;return(_0x23ada2=new URL(window[_0x3506c5(0x21f)][_0x3506c5(0x9b)])[_0x3506c5(0x118)]['get'](_0x252c8d))!=null?_0x23ada2:void 0x0;}}var vn=Object[_0x23cad7(0x100)],In=Object[_0x23cad7(0x19a)],pn=(_0x5b8608,_0x3fc968,_0x4ada4e)=>_0x3fc968 in _0x5b8608?vn(_0x5b8608,_0x3fc968,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ada4e}):_0x5b8608[_0x3fc968]=_0x4ada4e,Cn=(_0x4e0c5b,_0x18a610,_0x4b8120,_0x314b85)=>{const _0x5ac188=_0x23cad7;for(var _0x6aff6c=_0x314b85>0x1?void 0x0:_0x314b85?In(_0x18a610,_0x4b8120):_0x18a610,_0x81d1a1=_0x4e0c5b[_0x5ac188(0x87)]-0x1,_0x25df89;_0x81d1a1>=0x0;_0x81d1a1--)(_0x25df89=_0x4e0c5b[_0x81d1a1])&&(_0x6aff6c=_0x25df89(_0x6aff6c)||_0x6aff6c);return _0x6aff6c;},Oe=(_0x15977d,_0x224b78)=>(_0x3dc1d5,_0x4bd78f)=>_0x224b78(_0x3dc1d5,_0x4bd78f,_0x15977d),En=(_0x1086fc,_0x2d008e,_0x2094bf)=>pn(_0x1086fc,_0x2d008e+'',_0x2094bf);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x186e09{constructor(_0x3d1bc7=st,_0x2b1354,_0x470e03,_0x30fd73){const _0x466c1b=_0x23cad7;super(),this['_config']=_0x3d1bc7,this[_0x466c1b(0x28a)]=_0x2b1354,this[_0x466c1b(0xf4)]=_0x470e03,this[_0x466c1b(0x26b)]=_0x30fd73;const {..._0x3f856a}=_0x4166aa({},st,this[_0x466c1b(0x1e9)]);this[_0x466c1b(0x26b)][_0x466c1b(0x1ef)](nn,_0x3f856a);}[_0x23cad7(0x1e5)](){const _0x3c5f48=_0x23cad7;this[_0x3c5f48(0x285)](),this['_initDependencies']();}[_0x23cad7(0x275)](){const _0x4b8eb4=_0x23cad7;this[_0x4b8eb4(0x280)]();}['_registerDependencies'](){const _0x56d32c=_0x23cad7;var _0x5e9abf;const _0x13d46e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x216855,{'useClass':_0xb5f18c}],[_0x176d90,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x2c9a28(this[_0x56d32c(0xf4)],_0x1df21d(_0x13d46e,(_0x5e9abf=this[_0x56d32c(0x1e9)])==null?void 0x0:_0x5e9abf[_0x56d32c(0x21a)]));}[_0x23cad7(0x280)](){const _0x2b4919=_0x23cad7;this[_0x2b4919(0x86)](this[_0x2b4919(0x28a)][_0x2b4919(0x174)](_0x19042c[_0x2b4919(0x19e)],[Ue])),this[_0x2b4919(0x86)](this[_0x2b4919(0x28a)][_0x2b4919(0x174)](_0x19042c[_0x2b4919(0xa0)],[Le]));}[_0x23cad7(0x139)](){_0x4b5464(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x23cad7(0x188),bn),ye=Cn([_0x3077c7(_0x395bf6),Oe(0x1,_0x5e2092),Oe(0x2,_0x39beab(_0x403f23)),Oe(0x3,_0x4d500e)],ye);var On=Object[_0x23cad7(0x19a)],Tn=(_0x2c98cf,_0x2ea79f,_0x3963ca,_0x116418)=>{const _0x15cf4d=_0x23cad7;for(var _0x49a601=_0x116418>0x1?void 0x0:_0x116418?On(_0x2ea79f,_0x3963ca):_0x2ea79f,_0x57d3a5=_0x2c98cf[_0x15cf4d(0x87)]-0x1,_0x249eec;_0x57d3a5>=0x0;_0x57d3a5--)(_0x249eec=_0x2c98cf[_0x57d3a5])&&(_0x49a601=_0x249eec(_0x49a601)||_0x49a601);return _0x49a601;},z=(_0x48ef2b,_0x102477)=>(_0x456071,_0x4ecb8d)=>_0x102477(_0x456071,_0x4ecb8d,_0x48ef2b);function _0x28f6(_0x2732db,_0x53ba85){const _0x571f7a=_0x571f();return _0x28f6=function(_0x28f621,_0x2b290b){_0x28f621=_0x28f621-0x85;let _0x5e7a2b=_0x571f7a[_0x28f621];return _0x5e7a2b;},_0x28f6(_0x2732db,_0x53ba85);}let nt=class extends _0x446b27{constructor(_0x3de542,_0x2dab9f,_0x5306fa,_0x10272f,_0x3e63b9){super(_0x3de542,_0x2dab9f,_0x5306fa,_0x10272f,_0x3e63b9);}async[_0x23cad7(0x129)](_0x3836e0){const _0x246e90=_0x23cad7,_0x3bb102=await this['_getSessionTicket'](),_0x4e9d6b=this[_0x246e90(0x1e1)](_0x3836e0,_0x3bb102);return this[_0x246e90(0x214)](_0x4e9d6b);}[_0x23cad7(0x1e1)](_0x3d5b00,_0xb16ff){const _0x10185d=_0x23cad7,_0x32c7af=typeof window>'u'?new URL(_0x3d5b00):new URL(_0x3d5b00,window[_0x10185d(0x21f)][_0x10185d(0x1b6)]);_0x32c7af['searchParams'][_0x10185d(0x278)](_0x10185d(0xe4),_0xb16ff);const _0x43aa32=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10185d(0x21f)][_0x10185d(0xf3)]);return _0x43aa32[_0x10185d(0x249)](_0x10185d(0x1e0))&&_0x32c7af[_0x10185d(0x118)][_0x10185d(0x278)](_0x10185d(0x1e0),_0x43aa32[_0x10185d(0x249)]('runId')),_0x32c7af[_0x10185d(0x197)]();}async[_0x23cad7(0x225)](){const _0x1cbb41=_0x23cad7;var _0x19e35c,_0x32be92,_0x2f4c74;const _0xa99d7e=this[_0x1cbb41(0x26b)][_0x1cbb41(0x190)](_0x1d8d97),_0x3aaeeb=(_0x19e35c=_0xa99d7e==null?void 0x0:_0xa99d7e[_0x1cbb41(0x1e8)])!=null?_0x19e35c:_0x90a00c;return(_0x2f4c74=(_0x32be92=(await this['_httpService']['get'](_0x3aaeeb,{'headers':{'Content-Type':_0x1cbb41(0x251)}}))[_0x1cbb41(0x11a)])==null?void 0x0:_0x32be92[_0x1cbb41(0x1bf)])!=null?_0x2f4c74:'';}};nt=Tn([z(0x0,_0x39beab(_0x403f23)),z(0x1,_0x39beab(_0x2b3219)),z(0x2,_0x4d500e),z(0x3,_0x3bb576),z(0x4,_0x1d14d2)],nt);const rt=0x7530,ot=_0x23cad7(0x25e);class Gn extends _0x2b4291{constructor(){const _0x73cc5f=_0x23cad7;super(),_(this,_0x73cc5f(0x26a),_0x2186a6()),_(this,_0x73cc5f(0x134),new Set()),_(this,_0x73cc5f(0xad),new Map()),_(this,_0x73cc5f(0x11d),null),_(this,_0x73cc5f(0xbb),new Map()),_(this,'_unitStatus',new Map()),this[_0x73cc5f(0xdb)]();}['dispose'](){const _0x5042fa=_0x23cad7;super[_0x5042fa(0x13b)](),this[_0x5042fa(0xbb)]['forEach']((_0x3394d4,_0x23f735)=>this['_removeClearOtherTimer'](_0x23f735)),this[_0x5042fa(0x11d)]&&window[_0x5042fa(0x23e)](this['_heartbeatTimer']);}[_0x23cad7(0x203)](_0x13284a){const _0x32cf77=_0x23cad7;return this[_0x32cf77(0x220)](_0x13284a)[_0x32cf77(0x1eb)](_0x280180());}['editingUnit'](_0x3c4e5e){const _0x2502c9=_0x23cad7;this[_0x2502c9(0x134)][_0x2502c9(0x15a)]===0x0&&this[_0x2502c9(0x227)](),this[_0x2502c9(0x134)]['add'](_0x3c4e5e),this['_send']({'type':0x0,'memberID':this[_0x2502c9(0x26a)],'unitIDs':[_0x3c4e5e],'isForwarded':!0x1});}[_0x23cad7(0x8d)](_0x1c53f9){const _0x1443c7=_0x23cad7;this[_0x1443c7(0x134)][_0x1443c7(0x143)](_0x1c53f9),this[_0x1443c7(0x134)][_0x1443c7(0x15a)]===0x0&&this[_0x1443c7(0x11d)]&&window[_0x1443c7(0x23e)](this[_0x1443c7(0x11d)]);}[_0x23cad7(0xdb)](){const _0x48a94f=_0x23cad7;this['disposeWithMe'](_0x1865ee(_0x2d89cf(window,_0x48a94f(0x19c))[_0x48a94f(0x93)](_0x4c6703=>{const _0x4d4fa5=_0x48a94f;if(_0x4c6703[_0x4d4fa5(0x1b8)]!==ot||!_0x4c6703[_0x4d4fa5(0xaf)])return;const _0x2a124a=JSON[_0x4d4fa5(0x105)](_0x4c6703[_0x4d4fa5(0xaf)]);this[_0x4d4fa5(0x9f)](_0x2a124a);}))),window['addEventListener'](_0x48a94f(0x1f7),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x48a94f(0x1d4)](this[_0x48a94f(0x134)])}));}['_handleEvent'](_0x475ea4){const _0x2c2c51=_0x23cad7;switch(_0x475ea4['type']){case 0x0:this['_handleJoinEvent'](_0x475ea4);break;case 0x1:this['_handleLeaveEvent'](_0x475ea4);break;case 0x2:this[_0x2c2c51(0x20f)](_0x475ea4);break;}}['_handleJoinEvent'](_0x58ad1b){const _0x4d13d1=_0x23cad7,{unitIDs:_0x110715,memberID:_0x51b942,isForwarded:_0x422f54}=_0x58ad1b;_0x110715[_0x4d13d1(0xf9)](_0x2817fd=>{const _0x9a4a03=_0x4d13d1;if(!_0x422f54&&this[_0x9a4a03(0xad)]['has'](_0x2817fd)&&this['_ensureSubject'](_0x2817fd)[_0x9a4a03(0x17a)](_0x4366b4[_0x9a4a03(0x281)]),!this[_0x9a4a03(0xad)]['has'](_0x2817fd)||!this[_0x9a4a03(0xad)]['get'](_0x2817fd)[_0x9a4a03(0x1aa)](_0x51b942)){const _0x19f60b=this[_0x9a4a03(0xad)][_0x9a4a03(0x249)](_0x2817fd)||new Set();_0x19f60b[_0x9a4a03(0xd9)](_0x51b942),this[_0x9a4a03(0xad)][_0x9a4a03(0x278)](_0x2817fd,_0x19f60b),this[_0x9a4a03(0x26d)](_0x51b942);}}),_0x422f54||this[_0x4d13d1(0x219)]({'type':0x0,'memberID':this[_0x4d13d1(0x26a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x23cad7(0x26d)](_0x35408a){const _0x26917c=_0x23cad7;this[_0x26917c(0x22a)](_0x35408a);const _0xa2062a=window[_0x26917c(0x1e7)](()=>{const _0xbe8921=_0x26917c;this[_0xbe8921(0xad)]['forEach'](_0x38f452=>{const _0x29d2e4=_0xbe8921;_0x38f452[_0x29d2e4(0x143)](_0x35408a);});},rt*0x2);this[_0x26917c(0xbb)][_0x26917c(0x278)](_0x35408a,_0xa2062a);}[_0x23cad7(0x22a)](_0x102433){const _0x24fa91=_0x23cad7;if(this[_0x24fa91(0xbb)][_0x24fa91(0x1aa)](_0x102433)){const _0x283003=this[_0x24fa91(0xbb)][_0x24fa91(0x249)](_0x102433);_0x283003&&window[_0x24fa91(0x17e)](_0x283003),this[_0x24fa91(0xbb)][_0x24fa91(0x278)](_0x102433,null);}}[_0x23cad7(0xc7)](_0x4c6ee9){const _0x294a53=_0x23cad7,{memberID:_0x37fbcd,unitIDs:_0x56d011}=_0x4c6ee9;_0x56d011[_0x294a53(0xf9)](_0x2a15d2=>{const _0x47fc4b=_0x294a53;var _0x5de35c;const _0x4c13be=this['_unitOnClients'][_0x47fc4b(0x249)](_0x2a15d2);_0x4c13be&&(_0x4c13be[_0x47fc4b(0x143)](_0x37fbcd),(_0x5de35c=this[_0x47fc4b(0x220)](_0x2a15d2))==null||_0x5de35c['next'](_0x4c13be[_0x47fc4b(0x15a)]===0x0?_0x4366b4[_0x47fc4b(0xfa)]:_0x4366b4[_0x47fc4b(0x281)]));}),this[_0x294a53(0x22a)](_0x37fbcd);}[_0x23cad7(0x20f)](_0x21e512){const _0x22aaec=_0x23cad7;this['_scheduleClearOtherTimer'](_0x21e512[_0x22aaec(0x1a5)]);}['_send'](_0x32685a){const _0x238b49=_0x23cad7;localStorage[_0x238b49(0x1e4)](ot,JSON[_0x238b49(0x286)](_0x32685a));}[_0x23cad7(0x227)](){const _0x4ab5f3=_0x23cad7;this[_0x4ab5f3(0x11d)]=window['setInterval'](()=>{const _0x4de080=_0x4ab5f3;this[_0x4de080(0x219)]({'type':0x2,'memberID':this[_0x4de080(0x26a)]});},rt);}[_0x23cad7(0x220)](_0x597377){const _0x5ef3ad=_0x23cad7;return this[_0x5ef3ad(0x1ce)][_0x5ef3ad(0x1aa)](_0x597377)||this[_0x5ef3ad(0x1ce)][_0x5ef3ad(0x278)](_0x597377,new _0xc1edc8(_0x4366b4[_0x5ef3ad(0xfa)])),this['_unitStatus'][_0x5ef3ad(0x249)](_0x597377);}}var Ut=(_0x46115e=>(_0x46115e[_0x46115e[_0x23cad7(0x146)]=0x0]=_0x23cad7(0x146),_0x46115e[_0x46115e['OK']=0x1]='OK',_0x46115e[_0x46115e[_0x23cad7(0x201)]=0x2]=_0x23cad7(0x201),_0x46115e[_0x46115e['PERMISSION_DENIED']=0x3]=_0x23cad7(0x221),_0x46115e[_0x46115e[_0x23cad7(0x1c2)]=0x4]='NOT_FOUND',_0x46115e[_0x46115e[_0x23cad7(0x1f4)]=0x5]='UNAUTHENTICATED',_0x46115e[_0x46115e[_0x23cad7(0xea)]=0x6]=_0x23cad7(0xea),_0x46115e[_0x46115e['INVALID_ARGUMENT']=0x7]=_0x23cad7(0x25d),_0x46115e[_0x46115e[_0x23cad7(0x142)]=0x8]=_0x23cad7(0x142),_0x46115e[_0x46115e['COMPLETION_FINISHED']=0x9]=_0x23cad7(0x1ac),_0x46115e[_0x46115e['LOGIN_FAILED']=0xa]=_0x23cad7(0x24b),_0x46115e[_0x46115e['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x46115e[_0x46115e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x23cad7(0x252),_0x46115e[_0x46115e[_0x23cad7(0x1f5)]=0x1772]=_0x23cad7(0x1f5),_0x46115e[_0x46115e[_0x23cad7(0xcd)]=0x1773]=_0x23cad7(0xcd),_0x46115e[_0x46115e[_0x23cad7(0x1fb)]=0x1b59]=_0x23cad7(0x1fb),_0x46115e[_0x46115e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x46115e[_0x46115e[_0x23cad7(0x154)]=0x1b5b]=_0x23cad7(0x154),_0x46115e[_0x46115e[_0x23cad7(0x204)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46115e[_0x46115e[_0x23cad7(0x162)]=0x1b5d]=_0x23cad7(0x162),_0x46115e[_0x46115e[_0x23cad7(0x224)]=0x1f41]=_0x23cad7(0x224),_0x46115e[_0x46115e[_0x23cad7(0x15d)]=0x2329]=_0x23cad7(0x15d),_0x46115e[_0x46115e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x23cad7(0xb1),_0x46115e[_0x46115e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x46115e[_0x46115e[_0x23cad7(0x1fe)]=0x232c]=_0x23cad7(0x1fe),_0x46115e[_0x46115e[_0x23cad7(0x1bd)]=0x232d]=_0x23cad7(0x1bd),_0x46115e[_0x46115e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x23cad7(0x213),_0x46115e[_0x46115e[_0x23cad7(0xb6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x46115e[_0x46115e[_0x23cad7(0x20d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x46115e[_0x46115e[_0x23cad7(0x99)]=0x2714]=_0x23cad7(0x99),_0x46115e[_0x46115e[_0x23cad7(0x119)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x46115e[_0x46115e[_0x23cad7(0x211)]=0x2ee1]=_0x23cad7(0x211),_0x46115e[_0x46115e[_0x23cad7(0x1bc)]=0x2ee2]='INVALID_INVITE_CODE',_0x46115e[_0x46115e[_0x23cad7(0x13f)]=0x2ee3]=_0x23cad7(0x13f),_0x46115e[_0x46115e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x23cad7(0x26e),_0x46115e[_0x46115e[_0x23cad7(0x21e)]=0x2ee5]=_0x23cad7(0x21e),_0x46115e[_0x46115e[_0x23cad7(0x1df)]=0x32c9]=_0x23cad7(0x1df),_0x46115e[_0x46115e[_0x23cad7(0x165)]=0x32ca]=_0x23cad7(0x165),_0x46115e[_0x46115e[_0x23cad7(0xfd)]=0x32cb]=_0x23cad7(0xfd),_0x46115e[_0x46115e[_0x23cad7(0xd7)]=-0x1]=_0x23cad7(0xd7),_0x46115e))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x1c6c37,_0x4b84ab,_0x2ee746,_0xaff596)=>{const _0x5e2487=_0x23cad7;for(var _0x4513e0=_0xaff596>0x1?void 0x0:_0xaff596?Rn(_0x4b84ab,_0x2ee746):_0x4b84ab,_0x19891a=_0x1c6c37[_0x5e2487(0x87)]-0x1,_0x6a7091;_0x19891a>=0x0;_0x19891a--)(_0x6a7091=_0x1c6c37[_0x19891a])&&(_0x4513e0=_0x6a7091(_0x4513e0)||_0x4513e0);return _0x4513e0;},Te=(_0x27a7fe,_0x48302c)=>(_0xebeab,_0x2358b4)=>_0x48302c(_0xebeab,_0x2358b4,_0x27a7fe);let at=class extends _0x2b4291{constructor(_0x3f9067,_0x3601ba,_0x40d5c1){const _0x4c95e2=_0x23cad7;super(),this[_0x4c95e2(0x1cf)]=_0x3f9067,this['_httpService']=_0x3601ba,this['_configService']=_0x40d5c1;}async[_0x23cad7(0x262)](_0x3f7c70,_0x27a6c2,_0x4b2135,..._0x50f009){const _0xd1c5f7=_0x23cad7;var _0x45a112,_0x431ffc,_0x2160a0,_0x352110;const _0x5acef4=this['_instanceService'][_0xd1c5f7(0x27d)]();if(!_0x5acef4)throw new Error(_0xd1c5f7(0x115));const _0x3741c6=((_0x45a112=this['_configService'][_0xd1c5f7(0x190)](_0x302ce4))!=null?_0x45a112:_0x23bef9)+'/'+_0x3f7c70+_0xd1c5f7(0x181)+_0x27a6c2,_0x519fca=new URL(window[_0xd1c5f7(0x21f)]['href']),_0x7123a5={'scriptId':_0x3f7c70,'runId':(_0x431ffc=_0x519fca['searchParams'][_0xd1c5f7(0x249)]('runId'))!=null?_0x431ffc:'','function':_0x27a6c2,'unitId':_0x5acef4[_0xd1c5f7(0x266)](),'argsOfFunction':JSON['stringify'](_0x50f009),'invokeId':(_0x2160a0=_0x4b2135['invokeId'])!=null?_0x2160a0:'','executionId':(_0x352110=_0x4b2135[_0xd1c5f7(0x17b)])!=null?_0x352110:''};try{const _0x194e71=await this['_httpService'][_0xd1c5f7(0x235)](_0x3741c6,{'body':_0x7123a5});return _0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0x25b)]&&_0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0x25b)]['code']!==Ut['OK']?'Failed':_0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0xa8)];}catch{return _0xd1c5f7(0x151);}}};at=Dn([Te(0x0,_0x530874),Te(0x1,_0x39beab(_0x2b3219)),Te(0x2,_0x4d500e)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x20aa44=_0x3826;(function(_0x50ac6c,_0x4e2df4){const _0x14c5e5=_0x3826,_0x41e32e=_0x50ac6c();while(!![]){try{const _0x41c3f2=-parseInt(_0x14c5e5(0x37a))/0x1+-parseInt(_0x14c5e5(0x2be))/0x2*(parseInt(_0x14c5e5(0x33e))/0x3)+-parseInt(_0x14c5e5(0x325))/0x4+parseInt(_0x14c5e5(0x25e))/0x5*(parseInt(_0x14c5e5(0x25b))/0x6)+-parseInt(_0x14c5e5(0x2c7))/0x7+parseInt(_0x14c5e5(0x216))/0x8*(-parseInt(_0x14c5e5(0x2d6))/0x9)+parseInt(_0x14c5e5(0x24b))/0xa*(parseInt(_0x14c5e5(0x2ae))/0xb);if(_0x41c3f2===_0x4e2df4)break;else _0x41e32e['push'](_0x41e32e['shift']());}catch(_0x2d9b50){_0x41e32e['push'](_0x41e32e['shift']());}}}(_0x114d,0xec294));var Bt=Object[_0x20aa44(0x345)],kt=(_0x35ef11,_0x5cf068,_0x5dd08e)=>_0x5cf068 in _0x35ef11?Bt(_0x35ef11,_0x5cf068,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd08e}):_0x35ef11[_0x5cf068]=_0x5dd08e,_=(_0x35f30f,_0x2f4856,_0x5c84b0)=>kt(_0x35f30f,typeof _0x2f4856!=_0x20aa44(0x3a0)?_0x2f4856+'':_0x2f4856,_0x5c84b0);import{MemberService as _0x3e6893,SessionStatus as _0x11ba57,CollaborationSessionService as _0x3ed724,CollaborationStatus as _0x32910b,CollaborationController as _0x7af0ab,ILocalCacheService as _0x375e08,CollaborationUIEventService as _0x1a1bc1,CollaborationUIEventId as _0x41f02e,DataLoaderService as _0x5c1a56,DocCollaborationEntity as _0x2f4c1f,getLocalCacheKey as _0x4e8427,LOCAL_CACHE_INTERVAL as _0x50d9b4,LOCAL_CACHE_INTERVAL_KEY as _0x4b0da4,UniverCollaborationClientPlugin as _0x47c929,CollaborationSocketService as _0x1b9d6a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2f6b30,DEFAULT_WS_SESSION_TICKET_URL as _0x3585ef,UnitStatus as _0x3e0989,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x764cc5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3a231b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xa38ff1,Disposable as _0x3a3eae,DOC_RANGE_TYPE as _0x38b7d0,Inject as _0x346bad,Injector as _0x286e8d,IUniverInstanceService as _0x19a897,ICommandService as _0x5afe24,debounce as _0x1dec13,Rectangle as _0x1f5bbc,DisposableCollection as _0x45a39c,toDisposable as _0xae9f63,UniverInstanceType as _0x28520b,Tools as _0x50e642,COLORS as _0x472c19,ColorKit as _0x185055,ThemeService as _0x5c0762,fromEventSubject as _0x15a9c9,LocaleService as _0x385db0,createIdentifier as _0x2db783,ILogService as _0x55786b,Optional as _0x19e74d,Workbook as _0x390340,CommandType as _0x38de8d,IConfigService as _0x121a15,ILocalStorageService as _0x2957fd,DependentOn as _0xfdde95,Plugin as _0x5a0d70,merge as _0x35560f,registerDependencies as _0x244d36,mergeOverrideWithDependencies as _0x3dccb0,touchDependencies as _0x394e0e,generateRandomId as _0x221c85}from'@univerjs/core';import{Shape as _0x35cd19,Rect as _0x1d0bd3,getColor as _0x37ba93,RegularPolygon as _0x4ed6b0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4bbb7b,Vector2 as _0x2b2b7c,SHEET_VIEWPORT_KEY as _0x3463ad,IRenderManagerService as _0xe67b4}from'@univerjs/engine-render';import{ISocketService as _0x345659,WebSocketService as _0x189eca,HTTPService as _0x5bc36a}from'@univerjs/network';function _0x114d(){const _0x1f3452=['LICENSE_EXPORT_SIZE_EXCEEDED','imageSourceType','EMAIL_HAS_BEEN_BOUND','_handleLeaveEvent','add','2YtYGHp','WECHAT_HAS_BEEN_BOUND','InsertColCommandId','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','InsertRowCommandId','verdancy600','assignAColorForMemberID','_drawRectRange','1064819wXRuPc','clearTimeout','text','getCurrentUnitForType','CHANGESET_REVISION_CONFILICT','_draw','_initStatusComponent','origin','_cursor','_refreshCollabCursors','permission.content','application/json','online','_online','NOT_COLLAB','6085863Ieobjs','_removeClearOtherTimer','roomMembers','YUUMI_RATE_OVER_LIMIT','defIds','_initEntityListener','getFocusedUnit','isActive','div','type','getValue','transformIMECache','executeCommand','_getScale','addEventListener','_onRefRangeChange','onlineStatusIcon','setAlpha','_scheduleHeartbeat','jiqing500','propertyIsEnumerable','_init','_collaborationUIEventService','pipe','APPLY_DUPLICATED','length','collabCursorState$','row','_colorAssignService','getStateCache','_collabSessionService','endColumn','loadOfflineData','ONLINE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnhiddenWorksheets','error','_entityInit$','children','string','forEach','_initCommandExecutedListener','_updateCollabCursors','_handleHover','isArray','sheetID','OTHER_CLIENT_EDITING','getUnitStatus$','#fff','COMPLETION_FINISHED','_config','createSocket','onTransformChange$','measureText','_docClipboardService','sessionStatus$','LICENSE_MAX_UNITS_EXCEEDED','pluginName','closePath','univer-online-status-icon','_themeService','_disabled','params','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','/run/','editingUnit','_toggleOnline','values','_roomMembers$','call','INVITE_CODE_REQUIRED','transformSelections','dispose$','_configService','disableLocalCache','toString','collab-text-anchor-','skeleton','540492LyEyNq','_context','YUUMI_SUBSCRIPTION_NOT_FOUND','wsSessionTicketUrl','onRendered','arc','_unitStatus','getMergeData','clipPath','_syncEditingCollabCursorService','getCurrentRevOfUnit','all','InsertRangeMoveDownCommandId','_initResize','_docStateChangeManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','getItem','_notificationService','displayName','SOCKET_FAILED_RETRY','_shapes','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TEXT','hasOwnProperty','2780292CuQKnV','_anchor','_scheduleSaving','_instanceService','round','registerRenderModule','getMemberID','defineProperty','0\x200\x2016\x2016','moveTo','requireSession','replaceDocRanges','getSkeleton','getUnitId','max','runOnServer','getOwnPropertySymbols','_startDocCollabCursor','entityInit$','MOBILE_HAS_BEEN_BOUND','_revisionService','_collabCursorState$','activeSheet$','split','UNIVER_SHEET','idSuffix','ACTIVE_UNIT_EVENT_CHANNEL','transformStateCache','send','apply','defs','M0\x200H16V16H0z','_toggleOffline','stringify','history','[CollaborationDataLoaderController]','OFFLINE','none','YUUMI_URL_COL_OUT_OF_RANGE','post','invokeId','_messageService','_hovered','transformMutationsWithChangeset','_renderManagerService','_createSocketURL','gold400','addHandlerCallback','getActiveSheet','unload','onPointerEnter$','INVALID_INVITE_CODE','_ensureSubject','getTypeOfUnitDisposed$','Unknown\x20user','_onCursorDelete','_docSkeletonManagerService','status$','with','colorChannel1','617420jyKBjp','extend','offline','...','backgroundColor','getCollabEntity$','PERMISSION_DENIED','ranges','getOwnPropertyDescriptor','1em','addClipboardHook','then','indexOf','selection','color','setInterval','delete','collab-rect-range-','INVALID_ARGUMENT','_saveTaskMap','_transformService','collab-client.tooltip.reconnect','memberID','_updateLocalCursor','dispose','Warning','RECT','whenReady','_unitOnClients','translate(.97)','_eventUnsubscribe','bottom','path','function','YUUMI_NO_CUBOID_FOR_QUESTION','_registerRenderDependencies','UPDATE_CURSOR','_urlService','symbol','getCurrent','JOIN_ROOM_FAILED','url(#on-line-single_clip0_910_349)','CLOSE_ROOM','redoState','USERS_LEAVE','unitID','PY_RUNTIME_SCRIPT_ERROR','parse','fill','_color','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','_getSheetObject','evenodd','UNDEFINED','column','font','getRangePointData','collabStatus.fetchMiss','_assignedColors','collabStatus.notCollab','_onCursorUpdate','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','_range','_sheetSkeletonManagerService','_id','_injector','_getMergeRange','eventID','_startSheetCollabCursor','lineTo','purple300','flatMap','saveTaskMap','newValue','getViewport','min','setUndoRedoMutationParamsCache','has','href','_hover','LICENSE_IMPORT_SIZE_EXCEEDED','subscribe','getParam','_entities','source','_collabCursorController','SOCKET_FAILED','unit','_status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_logService','clearInterval','substring','replaceState','set','_commandService','addObjects','_anchorDot','_scene','setItem','_cursorInfo$','_dataLoaderService','width','subunit','INTERNAL_ERROR','UNIVER_DOC','transformByState','cursorInfo','_drawTextRange','url(#$1','AWAITING_WITH_PENDING','mutations','InsertRangeMoveRightCommandId','transformMutation','_heartbeatTimer','LOGIN_FAILED','_setupBeforeClosingHandler','RemoveRowCommandId','ticket','SYNCED','fillStyle','_uiPartsService','AWAITING','_removeCollabCursors','_handleEvent','data','save','collabStatus.synced','_selfUnitIDs','getOffsetConfig','getRenderById','searchParams','range','labelPosition','_hideTimer','deepClone','onCommandExecuted','_colorIndex','saveImage','get','fillText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getConfig','_send','getSheetBySheetId','className','resize','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','registerRefRange','Failed','asObservable','registerComponent','getMember','NOT_FOUND','popstate','disposeWithMe','univer-flex\x20univer-items-center','_imageIoService','black','mask','8qBWczs','_getSessionTicket','cursorInfo$','UNRECOGNIZED','ENSURE_SNAPSHOT_EXECUTION','svg','_collaborationController','univer-online-status','transformRemoteChangeset','collaboration-client.offline-data-not-saved','setStateCache','INVITE_CODE_ALREADY_BOUND','unshift','SUBMIT_CHANGESET_TIMEOUT','map','_setupSubUnitSync','currentTheme$','subscribeEvent','key','hide','doc.mutation.rich-text-editing','_backgroundColor','size','m1Prime','debug','actions','TOO_MANY_REQUESTS','_session','_transformHistoryAndStateStack','name','_docTransformSelectionsService','hovered','off-line-single_clip0_910_343','startsWith','NO_OTHER_CLIENTS_EDITING','getTypeOfUnitAdded$','setShapeProps','_handleJoinEvent','height','enableLocalCache','onlineStatus','undoState','attrs','unitId','_getSaveTimeout','trim','getCollabCursors$','_textBubble','OffLineSingle','UNAUTHENTICATED','focused$','textRanges','tag','10AzFQrk','0\x200\x2017\x2016','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','includes','drawWith','_initEvent','_saveCache','push','_beforeCloseService','blue400','use','roomMembers$','complete','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','current','582MyIXSE','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','show','3545PmrkvQ','override','triggerDblclick','unsubscribe','currentColor','_docTransformIMECacheService','getDocRanges','currentSkeleton$','collaboration-client-ui.config','uni.network.url-service','INVITE_CODE_HAS_BEEN_UES','#FFF','init','_doCreateSocket','PENDING','_render','m2Prime','_registerDependencies','_univerInstanceService','addObject','getUniverSheetInstance','getCellPositionByOffset','getAncestorScale','CONNECTOR_DATA_TOO_LARGE','getSheetId','storage','getVpScrollXYInfoByPosToVp','_lastPointer','location','_name','UniverIcon','syncEditingCollabCursor','APPLY_REJECT','rgba(255,\x20255,\x20255,\x200.01)','_localStorageService','onMouseMove','icon','docStateChange$','_handleHeartbeatEvent','_refRangeService','_clearOtherTimers','_updateURLWithCurrentState','permission.title','event$','_drawAnchor','_transformPreviousActiveRange','urlChange$','from','reconnect','_cursors','APPLY_NON_SEQUENTIAL_REVISION','findNodePositionByCharIndex','_labelPosition','collab-text-range-','CONFLICT','body','setParam','_updateSubUnitFromURLParams','isEditing','on-line-single_clip0_910_349','collabStatus.conflict','FromArray','top','VIEW_MAIN','next','univer-offline','generateRandomId','executionId','univer-online-status-title','univer-online','DeleteRangeMoveUpCommandId','concat','_localeService','subUnitId','assign','_cachedData','code','prototype','Error','runId','37467914FNFscb','_memberService','_httpService','YUUMI_UNABLE_LOAD_URL','xlink:href','red300','_cursorShapes','disposeUnit','makeDirty','createInstance','sheetId'];_0x114d=function(){return _0x1f3452;};return _0x114d();}import{IDocClipboardService as _0x35f407,NodePositionConvertToCursor as _0x53e930,NodePositionConvertToRectRange as _0x50e7df,TEXT_RANGE_LAYER_INDEX as _0x6ca253,SetDocZoomRatioOperation as _0xcfbda,DocIMEInputManagerService as _0xc52433,DocStateChangeManagerService as _0x5e8b5f}from'@univerjs/docs-ui';import{IImageIoService as _0x1fc152}from'@univerjs/drawing';import{BehaviorSubject as _0x119cba,debounceTime as _0x285e88,takeUntil as _0x521e1e,Subject as _0x4e3e38,filter as _0x27e8b0,switchMap as _0x4e4ba1,merge as _0x1cb517,combineLatest as _0x51a60a,of as _0x51b706,fromEvent as _0x5574ec,shareReplay as _0x7df511,mapTo as _0xdc282d,distinctUntilChanged as _0x4a25e5}from'rxjs';import{SetTextSelectionsOperation as _0x21a045,RichTextEditingMutation as _0x37db13,DocSelectionManagerService as _0x302227,DocSkeletonManagerService as _0x749196}from'@univerjs/docs';import{ITransformService as _0x540bcf,CollaborationEvent as _0x2817a4,isTransformMutationFailure as _0x3b86aa,isTransformMutationsWithChangesetSuccess as _0x777fa3,RevisionService as _0x1b79f9,ISnapshotServerService as _0x1eb555}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2d7b42,serializeRangeWithSheet as _0x5c28b8}from'@univerjs/engine-formula';import{RefRangeService as _0x24355e,SetSelectionsOperation as _0x4500ba,SheetsSelectionsService as _0x3660e9,EffectRefRangId as _0x3dec9a,handleIRemoveRow as _0x1ee9c4,handleIRemoveCol as _0x33f946,handleMoveRange as _0x300d2b,handleInsertRow as _0x55d1d1,handleInsertRangeMoveRight as _0x432fea,handleInsertRangeMoveDown as _0x39eb31,handleInsertCol as _0xccc561,handleDeleteRangeMoveUp as _0x1bb295,handleDeleteRangeMoveLeft as _0x237e9d,runRefRangeMutations as _0x52afcc,SetWorksheetActivateCommand as _0x42e9cc}from'@univerjs/sheets';import{map as _0x4b2676,filter as _0x358712,throttleTime as _0x39aa39,takeUntil as _0x1237ad,switchMap as _0x37dcd1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4de296,getCoordByCell as _0x65909b,getSheetObject as _0x5cc46d}from'@univerjs/sheets-ui';import{jsx as _0x875dbc,jsxs as _0x457b32}from'react/jsx-runtime';import{useObservable as _0x8ae945,useDependency as _0x19a428,IUIPartsService as _0xcd9de7,BuiltInUIPart as _0x10d186,connectInjector as _0xb676a2,IBeforeCloseService as _0x136b95,IMessageService as _0x158f3c,INotificationService as _0x3dabe8}from'@univerjs/ui';import{clsx as _0xb817dd,Tooltip as _0x5e1f4a,MessageType as _0x3d848}from'@univerjs/design';import{forwardRef as _0x20debf,useRef as _0x1e46df,createElement as _0x123ec4,useCallback as _0x21e0e6}from'react';import{IRemoteInstanceService as _0x3670d7}from'@univerjs/rpc';var li=Object[_0x20aa44(0x382)],_i=(_0x593fe0,_0x1d69e9,_0x4973f7,_0x548579)=>{const _0xde1321=_0x20aa44;for(var _0x574072=_0x548579>0x1?void 0x0:_0x548579?li(_0x1d69e9,_0x4973f7):_0x1d69e9,_0x4c187c=_0x593fe0[_0xde1321(0x2ef)]-0x1,_0x4f6245;_0x4c187c>=0x0;_0x4c187c--)(_0x4f6245=_0x593fe0[_0x4c187c])&&(_0x574072=_0x4f6245(_0x574072)||_0x574072);return _0x574072;},Qe=(_0x29fe98,_0x2220e3)=>(_0x22d5c4,_0x25b82d)=>_0x2220e3(_0x22d5c4,_0x25b82d,_0x29fe98);let Ue=class extends _0xa38ff1{constructor(_0x1a1123,_0xb898e0){const _0x207da5=_0x20aa44;super(),this[_0x207da5(0x30c)]=_0x1a1123,this['_imageIoService']=_0xb898e0,this[_0x207da5(0x2eb)]();}[_0x20aa44(0x2eb)](){const _0x40f30f=_0x20aa44,_0x7733a4=this;this['disposeWithMe'](this['_docClipboardService'][_0x40f30f(0x384)]({'onBeforePasteImage':async _0x2cd232=>{const _0xb70579=_0x40f30f,_0x380144=await _0x7733a4[_0xb70579(0x213)][_0xb70579(0x200)](_0x2cd232);return _0x380144?{'source':_0x380144[_0xb70579(0x3d0)],'imageSourceType':_0x380144[_0xb70579(0x2ba)]}:null;}}));}};Ue=_i([Qe(0x0,_0x35f407),Qe(0x1,_0x1fc152)],Ue);const qe=[_0x20aa44(0x3c2),_0x20aa44(0x2e9),_0x20aa44(0x2c4),_0x20aa44(0x2b3),_0x20aa44(0x255),_0x20aa44(0x36c)];class He extends _0x3a3eae{constructor(){const _0x2737f9=_0x20aa44;super(...arguments),_(this,_0x2737f9(0x3b5),new Map()),_(this,'_colorIndex',0x0);}[_0x20aa44(0x2c5)](_0x4c2f7b){const _0x12bb2d=_0x20aa44;if(this[_0x12bb2d(0x3b5)][_0x12bb2d(0x3c9)](_0x4c2f7b))return this[_0x12bb2d(0x3b5)][_0x12bb2d(0x201)](_0x4c2f7b);const _0x4e1b53=qe[this[_0x12bb2d(0x1ff)]];return this['_colorIndex']=(this[_0x12bb2d(0x1ff)]+0x1)%qe['length'],this[_0x12bb2d(0x3b5)][_0x12bb2d(0x3db)](_0x4c2f7b,_0x4e1b53),_0x4e1b53;}}function Dt(_0x2ec7f6){const _0x2d3258=_0x20aa44;let _0x37b07f='';for(const _0x3fe4d6 of _0x2ec7f6){const {startOffset:_0x2ee1b7,endOffset:_0x4bd64c,isActive:_0x525522,rangeType:_0x10cf27,segmentId:_0x5d8e1e,segmentPage:_0x779e85}=_0x3fe4d6;_0x37b07f[_0x2d3258(0x2ef)]&&(_0x37b07f+=','),_0x37b07f+=_0x2ee1b7+':'+_0x4bd64c+':'+(_0x525522?'1':'0')+':'+_0x10cf27+':'+_0x5d8e1e+':'+_0x779e85;}return _0x37b07f;}function hi(_0xebaca1){const _0x434c50=_0x20aa44,_0x644d2a=_0xebaca1[_0x434c50(0x355)](','),_0x46713a=[];for(const _0x4af674 of _0x644d2a){const [_0x2cebe7,_0x28f7fc,_0x26b84c,_0x518c61,_0x380b11,_0x592946]=_0x4af674['split'](':');_0x46713a['push']({'startOffset':Number(_0x2cebe7),'endOffset':Number(_0x28f7fc),'collapsed':_0x2cebe7===_0x28f7fc,'isActive':_0x26b84c==='1','rangeType':_0x518c61===_0x38b7d0[_0x434c50(0x33c)]?_0x38b7d0['TEXT']:_0x38b7d0[_0x434c50(0x394)],'segmentId':typeof _0x380b11==_0x434c50(0x2fd)?String(_0x380b11):'','segmentPage':Number(_0x592946!=null?_0x592946:-0x1)});}return _0x46713a['some'](_0x2ff54d=>_0x2ff54d[_0x434c50(0x2dd)])||(_0x46713a[0x0][_0x434c50(0x2dd)]=!0x0),_0x46713a;}class je extends _0xa38ff1{constructor(){const _0x31f892=_0x20aa44;super(...arguments),_(this,_0x31f892(0x353),new _0x119cba(null)),_(this,'collabCursorState$',this[_0x31f892(0x353)]['asObservable']());}['syncEditingCollabCursor'](_0x11c131){const _0x2e5f6c=_0x20aa44,{unitID:_0x4f9471,memberID:_0x4555c5,textRanges:_0x380daf}=_0x11c131,_0x2f4628=Dt(_0x380daf);if(_0x2f4628==='')return;const _0x85f4d4={'unitID':_0x4f9471,'memberID':_0x4555c5,'selection':_0x2f4628};this[_0x2e5f6c(0x353)][_0x2e5f6c(0x29e)](_0x85f4d4);}}var ui=Object[_0x20aa44(0x382)],di=(_0x5e99df,_0x294799,_0x35ab00,_0x55d24e)=>{const _0x56205e=_0x20aa44;for(var _0xf1943f=_0x55d24e>0x1?void 0x0:_0x55d24e?ui(_0x294799,_0x35ab00):_0x294799,_0x28c97c=_0x5e99df[_0x56205e(0x2ef)]-0x1,_0x301fad;_0x28c97c>=0x0;_0x28c97c--)(_0x301fad=_0x5e99df[_0x28c97c])&&(_0xf1943f=_0x301fad(_0xf1943f)||_0xf1943f);return _0xf1943f;},w=(_0x66872e,_0x11531e)=>(_0x3504a9,_0x40184a)=>_0x11531e(_0x3504a9,_0x40184a,_0x66872e);const fi=0x12c,Si=0x64;let Me=class extends _0xa38ff1{constructor(_0x5a4c1a,_0x341cd0,_0x441f9e,_0x32d106,_0x27fa75,_0x594e3d,_0x2a2dc8,_0x38d863,_0x4d24f4){const _0x379391=_0x20aa44;super(),_(this,_0x379391(0x2d4),!0x1),_(this,_0x379391(0x2eb),!0x1),_(this,'_cursorInfo$',new _0x119cba(new Map())),_(this,_0x379391(0x218),this[_0x379391(0x3e1)]['asObservable']()),_(this,_0x379391(0x31b),new _0x119cba([])),_(this,'roomMembers$',this[_0x379391(0x31b)][_0x379391(0x2ed)](_0x285e88(fi))),_(this,_0x379391(0x391),_0x1dec13(_0x3839f2=>{const _0x1ed1f5=_0x379391,_0x20126d={'eventID':_0x2817a4[_0x1ed1f5(0x39e)],'data':{'unitID':this[_0x1ed1f5(0x3a7)],'memberID':this['_session'][_0x1ed1f5(0x344)](),'selection':Dt(_0x3839f2)}};this['_session'][_0x1ed1f5(0x35a)](_0x20126d,this['unitID']);},Si)),(this[_0x379391(0x3a7)]=_0x5a4c1a,this[_0x379391(0x231)]=_0x341cd0,this[_0x379391(0x3bd)]=_0x441f9e,this[_0x379391(0x2f2)]=_0x32d106,this[_0x379391(0x2af)]=_0x27fa75,this[_0x379391(0x32e)]=_0x594e3d,this[_0x379391(0x38e)]=_0x2a2dc8,this[_0x379391(0x270)]=_0x38d863,this[_0x379391(0x3dc)]=_0x4d24f4);}get['cursorInfo'](){const _0x2ef9b4=_0x20aa44;return this[_0x2ef9b4(0x3e1)]['getValue']();}get['roomMembers'](){const _0x2411d2=_0x20aa44;return this[_0x2411d2(0x31b)][_0x2411d2(0x2e0)]();}['dispose'](){const _0x390a81=_0x20aa44;super[_0x390a81(0x392)](),this[_0x390a81(0x3e1)][_0x390a81(0x29e)](new Map()),this[_0x390a81(0x3e1)][_0x390a81(0x258)](),this[_0x390a81(0x31b)][_0x390a81(0x29e)]([]),this['_roomMembers$'][_0x390a81(0x258)]();}[_0x20aa44(0x26a)](){const _0xbb7042=_0x20aa44;this[_0xbb7042(0x2eb)]||(this[_0xbb7042(0x2eb)]=!0x0,this['_session'][_0xbb7042(0x30d)][_0xbb7042(0x2ed)](_0x521e1e(this[_0xbb7042(0x31f)]))[_0xbb7042(0x3cd)](_0x2adbc8=>{const _0x4838d1=_0xbb7042;_0x2adbc8===_0x11ba57[_0x4838d1(0x2f7)]?this[_0x4838d1(0x319)]():this[_0x4838d1(0x35e)]();}),this['_session'][_0xbb7042(0x289)][_0xbb7042(0x2ed)](_0x521e1e(this['dispose$']))[_0xbb7042(0x3cd)](_0x2c1a92=>{const _0x3b939b=_0xbb7042,_0x11c20f=_0x2c1a92[_0x3b939b(0x3bf)];_0x11c20f===_0x2817a4[_0x3b939b(0x39e)]&&this['_onCursorUpdate'](_0x2c1a92),_0x11c20f===_0x2817a4['USERS_LEAVE']&&this[_0x3b939b(0x375)](_0x2c1a92);}),this['disposeWithMe'](this[_0xbb7042(0x3dc)]['onCommandExecuted'](_0xaf2da3=>{const _0x29ed8c=_0xbb7042,_0x53be61=_0xaf2da3[_0x29ed8c(0x314)];_0x53be61!=null&&this['_online']&&_0xaf2da3['id']===_0x21a045['id']&&_0x53be61[_0x29ed8c(0x241)]===this[_0x29ed8c(0x3a7)]&&_0x53be61[_0x29ed8c(0x298)]===!0x1&&_0x53be61[_0x29ed8c(0x381)][_0x29ed8c(0x2ef)]>0x0&&this['_updateLocalCursor'](_0x53be61['ranges']);})),this[_0xbb7042(0x32e)][_0xbb7042(0x2f0)]['pipe'](_0x521e1e(this[_0xbb7042(0x31f)]))[_0xbb7042(0x3cd)](_0x2ccbd1=>{const _0x1cb127=_0xbb7042;if((_0x2ccbd1==null?void 0x0:_0x2ccbd1[_0x1cb127(0x3a7)])!==this[_0x1cb127(0x3a7)])return;const _0x1bff3b={'eventID':_0x2817a4['UPDATE_CURSOR'],'data':_0x2ccbd1};this[_0x1cb127(0x3b7)](_0x1bff3b);}),this[_0xbb7042(0x211)](this[_0xbb7042(0x3dc)][_0xbb7042(0x1fe)](_0x25ad83=>{const _0x419d11=_0xbb7042;if(_0x25ad83[_0x419d11(0x314)]==null)return;const _0x774f1c=_0x25ad83[_0x419d11(0x314)];if(_0x25ad83['id']!==_0x37db13['id']||_0x774f1c[_0x419d11(0x241)]!==this[_0x419d11(0x3a7)])return;const _0x4962e5={'id':'doc.mutation.rich-text-editing','params':_0x774f1c},_0x257634=this[_0x419d11(0x3e8)];for(const [_0x19a78a,_0x2400c3]of _0x257634){const _0x468bcf={'id':_0x419d11(0x22a),'params':{'unitId':this[_0x419d11(0x3a7)],'actions':null,'textRanges':_0x2400c3[_0x419d11(0x381)]}},_0x15787b=this[_0x419d11(0x38e)]['transformMutation'](_0x4962e5,_0x468bcf,!0x1);if(_0x3b86aa(_0x15787b))throw _0x15787b[_0x419d11(0x2fa)];_0x257634[_0x419d11(0x3db)](_0x19a78a,{..._0x2400c3,'ranges':_0x15787b[_0x419d11(0x26e)][_0x419d11(0x314)][_0x419d11(0x249)]});}queueMicrotask(()=>{const _0x1199af=_0x419d11;this[_0x1199af(0x3e1)][_0x1199af(0x29e)](_0x257634);});})));}[_0x20aa44(0x3b7)](_0x10e71e){const _0x2f0fe0=_0x20aa44;var _0x2e4174,_0x1250a0;const {memberID:_0x48b8be,selection:_0x1474a8}=_0x10e71e[_0x2f0fe0(0x1f3)],_0x354952=hi(_0x1474a8),_0x5c70ea=(_0x1250a0=(_0x2e4174=this[_0x2f0fe0(0x2af)]['getMember'](this['unitID'],_0x48b8be))==null?void 0x0:_0x2e4174['name'])!=null?_0x1250a0:_0x2f0fe0(0x374),_0x46215a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x48b8be),'name':_0x5c70ea,'ranges':_0x354952},_0x8b4754=this['cursorInfo'];_0x8b4754[_0x2f0fe0(0x3db)](_0x48b8be,_0x46215a),this[_0x2f0fe0(0x3e1)][_0x2f0fe0(0x29e)](_0x8b4754);}['_onCursorDelete'](_0x3b293e){const _0x3faae6=_0x20aa44,{memberID:_0x1de3f4}=_0x3b293e[_0x3faae6(0x1f3)],_0x5d0584=this[_0x3faae6(0x3e8)];_0x5d0584[_0x3faae6(0x38a)](_0x1de3f4),this[_0x3faae6(0x3e1)][_0x3faae6(0x29e)](_0x5d0584);}[_0x20aa44(0x319)](){const _0x63a9dd=_0x20aa44;var _0x5a95c9;if(this['_online']=!0x0,((_0x5a95c9=this[_0x63a9dd(0x270)]['getFocusedUnit']())==null?void 0x0:_0x5a95c9[_0x63a9dd(0x34b)]())!==this[_0x63a9dd(0x3a7)])return;const _0x3f57ee=this[_0x63a9dd(0x3bd)][_0x63a9dd(0x201)](_0x302227)[_0x63a9dd(0x264)]();Array[_0x63a9dd(0x302)](_0x3f57ee)&&_0x3f57ee['length']>0x0&&this[_0x63a9dd(0x391)](_0x3f57ee);}[_0x20aa44(0x35e)](){const _0x46e32f=_0x20aa44;this[_0x46e32f(0x2d4)]=!0x1;}};Me=di([w(0x2,_0x346bad(_0x286e8d)),w(0x3,_0x346bad(He)),w(0x4,_0x346bad(_0x3e6893)),w(0x5,_0x346bad(je)),w(0x6,_0x540bcf),w(0x7,_0x19a897),w(0x8,_0x5afe24)],Me);var mi=Object[_0x20aa44(0x382)],gi=(_0x2a867a,_0x3de489,_0x12abe4,_0x61214)=>{const _0x58a0f0=_0x20aa44;for(var _0xd2e8ba=_0x61214>0x1?void 0x0:_0x61214?mi(_0x3de489,_0x12abe4):_0x3de489,_0x42d80b=_0x2a867a[_0x58a0f0(0x2ef)]-0x1,_0x3d8e5f;_0x42d80b>=0x0;_0x42d80b--)(_0x3d8e5f=_0x2a867a[_0x42d80b])&&(_0xd2e8ba=_0x3d8e5f(_0xd2e8ba)||_0xd2e8ba);return _0xd2e8ba;},x=(_0xfa1a35,_0x4561d8)=>(_0x4fea59,_0x4f162d)=>_0x4561d8(_0x4fea59,_0x4f162d,_0xfa1a35);const vi=0x12c,Ii=0x64,pi=()=>{let _0x435b42=[],_0x35f3ff=!0x1;return _0x2377c2=>{_0x435b42['push'](_0x2377c2),_0x35f3ff||(_0x35f3ff=!0x0,setTimeout(()=>{_0x435b42['forEach'](_0x14c2b3=>_0x14c2b3()),_0x435b42=[],_0x35f3ff=!0x1;}));};};let Pe=class extends _0xa38ff1{constructor(_0x3b1850,_0x47f7ae,_0x4ccc25,_0x47a62c,_0x4e93b8,_0x149bd4,_0x2f0a17,_0x36e658){const _0x3f22c9=_0x20aa44;super(),_(this,_0x3f22c9(0x2d4),!0x1),_(this,_0x3f22c9(0x2eb),!0x1),_(this,_0x3f22c9(0x3e1),new _0x119cba(new Map())),_(this,_0x3f22c9(0x218),this['_cursorInfo$'][_0x3f22c9(0x20c)]()),_(this,_0x3f22c9(0x31b),new _0x119cba([])),_(this,_0x3f22c9(0x257),this[_0x3f22c9(0x31b)][_0x3f22c9(0x2ed)](_0x285e88(vi))),_(this,_0x3f22c9(0x391),_0x1dec13((_0x39f5c4,_0x491e5c)=>{const _0x1642b6=_0x3f22c9,_0x839b43={'eventID':_0x2817a4['UPDATE_CURSOR'],'data':{'unitID':this[_0x1642b6(0x3a7)],'memberID':this['_session'][_0x1642b6(0x344)](),'selection':_0x5c28b8(_0x39f5c4,_0x491e5c[_0x1642b6(0x1fa)])}};this['_session'][_0x1642b6(0x35a)](_0x839b43,this[_0x1642b6(0x3a7)]);},Ii)),(this[_0x3f22c9(0x3a7)]=_0x3b1850,this[_0x3f22c9(0x231)]=_0x47f7ae,this['_injector']=_0x4ccc25,this[_0x3f22c9(0x2f2)]=_0x47a62c,this['_memberService']=_0x4e93b8,this['_univerInstanceService']=_0x149bd4,this[_0x3f22c9(0x3dc)]=_0x2f0a17,this[_0x3f22c9(0x285)]=_0x36e658);}get['cursorInfo'](){const _0x2e026d=_0x20aa44;return this[_0x2e026d(0x3e1)][_0x2e026d(0x2e0)]();}get[_0x20aa44(0x2d8)](){const _0x3e494f=_0x20aa44;return this[_0x3e494f(0x31b)][_0x3e494f(0x2e0)]();}[_0x20aa44(0x392)](){const _0x25e02d=_0x20aa44;super[_0x25e02d(0x392)](),this[_0x25e02d(0x3e1)]['next'](new Map()),this[_0x25e02d(0x3e1)][_0x25e02d(0x258)](),this[_0x25e02d(0x31b)][_0x25e02d(0x29e)]([]),this[_0x25e02d(0x31b)][_0x25e02d(0x258)]();}[_0x20aa44(0x26a)](){const _0x17a611=_0x20aa44;this['_init']||(this[_0x17a611(0x2eb)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x521e1e(this[_0x17a611(0x31f)]))[_0x17a611(0x3cd)](_0x17c263=>{const _0x325d89=_0x17a611;_0x17c263===_0x11ba57[_0x325d89(0x2f7)]?this[_0x325d89(0x319)]():this[_0x325d89(0x35e)]();}),this['_session'][_0x17a611(0x289)][_0x17a611(0x2ed)](_0x521e1e(this[_0x17a611(0x31f)]))[_0x17a611(0x3cd)](_0x43dd68=>{const _0x1d7f80=_0x17a611,_0x4c955d=_0x43dd68['eventID'];_0x4c955d===_0x2817a4[_0x1d7f80(0x39e)]&&this[_0x1d7f80(0x3b7)](_0x43dd68),_0x4c955d===_0x2817a4[_0x1d7f80(0x3a6)]&&this[_0x1d7f80(0x375)](_0x43dd68);}),this[_0x17a611(0x2e5)](),this[_0x17a611(0x211)](this['_commandService']['onCommandExecuted'](_0x5ccf86=>{const _0x5aef68=_0x17a611;if(this[_0x5aef68(0x2d4)]&&_0x5ccf86['id']===_0x4500ba['id']&&_0x5ccf86[_0x5aef68(0x314)]['unitId']===this['unitID']){const _0x17999f=_0x5ccf86['params'];this[_0x5aef68(0x391)](_0x17999f[_0x5aef68(0x2a7)],_0x17999f['selections'][0x0]);}})));}[_0x20aa44(0x3b7)](_0x3ca0aa){const _0x4ec5ac=_0x20aa44;var _0x4ff71e,_0x4c923f;const {memberID:_0x1432d6,selection:_0x5c6463}=_0x3ca0aa['data'],{sheetName:_0x2ce1a2,range:_0x5d6a51}=_0x2d7b42(_0x5c6463),_0x6830c5={'name':(_0x4c923f=(_0x4ff71e=this['_memberService'][_0x4ec5ac(0x20e)](this[_0x4ec5ac(0x3a7)],_0x1432d6))==null?void 0x0:_0x4ff71e[_0x4ec5ac(0x233)])!=null?_0x4c923f:'Unknown\x20user','range':this[_0x4ec5ac(0x3be)](_0x2ce1a2,_0x5d6a51),'sheetID':_0x2ce1a2,'color':this[_0x4ec5ac(0x2f2)][_0x4ec5ac(0x2c5)](_0x1432d6),'selection':_0x5c6463},_0x3266a8=this[_0x4ec5ac(0x3e8)];_0x3266a8[_0x4ec5ac(0x3db)](_0x1432d6,_0x6830c5),this[_0x4ec5ac(0x3e1)][_0x4ec5ac(0x29e)](_0x3266a8);}[_0x20aa44(0x375)](_0x314f78){const _0x1578df=_0x20aa44,{memberID:_0x3ba701}=_0x314f78[_0x1578df(0x1f3)],_0x43a379=this['cursorInfo'];_0x43a379[_0x1578df(0x38a)](_0x3ba701),this[_0x1578df(0x3e1)][_0x1578df(0x29e)](_0x43a379);}[_0x20aa44(0x3be)](_0x2c31ad,_0x2e859d){const _0x5ddcc8=_0x20aa44;var _0x138cae,_0x541c29;const _0x2370d7=(_0x541c29=(_0x138cae=this[_0x5ddcc8(0x270)][_0x5ddcc8(0x272)](this[_0x5ddcc8(0x3a7)]))==null?void 0x0:_0x138cae['getSheetBySheetId'](_0x2c31ad))==null?void 0x0:_0x541c29[_0x5ddcc8(0x32c)]();return(_0x2370d7==null?void 0x0:_0x2370d7['find'](_0x453df0=>_0x1f5bbc['contains'](_0x453df0,_0x2e859d)))||_0x2e859d;}[_0x20aa44(0x2e5)](){const _0x3b761d=_0x20aa44,_0x45b638=new _0x45a39c(),_0x30aeb3=pi(),_0x2be81b=()=>{const _0x358f88=_0x3826;_0x45b638[_0x358f88(0x392)]();const _0x4a4868=(_0x147e8b,_0x1951be,_0x57b004,_0x32199f)=>{const _0x3864dd=_0x358f88;let _0x55a514=[];switch(_0x147e8b['id']){case _0x3dec9a['DeleteRangeMoveLeftCommandId']:{_0x55a514=_0x237e9d(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2a4)]:{_0x55a514=_0x1bb295(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2c0)]:{_0x55a514=_0xccc561(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x331)]:{_0x55a514=_0x39eb31(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x1e6)]:{_0x55a514=_0x432fea(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2c3)]:{_0x55a514=_0x55d1d1(_0x147e8b,_0x32199f);break;}case _0x3dec9a['MoveRangeCommandId']:{_0x55a514=_0x300d2b(_0x147e8b,_0x32199f);break;}case _0x3dec9a['RemoveColCommandId']:{_0x55a514=_0x33f946(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x1eb)]:{_0x55a514=_0x1ee9c4(_0x147e8b,_0x32199f);break;}}const _0x376a91=_0x52afcc(_0x55a514,_0x32199f),_0x2b8276=this[_0x3864dd(0x3e8)][_0x3864dd(0x201)](_0x1951be);if(_0x2b8276&&_0x376a91){const _0xf35993={..._0x2b8276,'range':_0x376a91};this[_0x3864dd(0x3e8)][_0x3864dd(0x3db)](_0x1951be,_0xf35993),_0x30aeb3(()=>{const _0x230bed=_0x3864dd,_0x24ddd0=this[_0x230bed(0x285)][_0x230bed(0x20a)](_0x376a91,_0x40b6a9=>(_0x24ddd0['dispose'](),_0x4a4868(_0x40b6a9,_0x1951be,_0x57b004,_0x376a91)));_0x45b638['add'](_0x24ddd0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x358f88(0x2fe)]((_0x46bb1c,_0x4d74cc)=>{const _0x5b93fa=_0x358f88,{range:_0x3843fc,sheetID:_0x50e036}=_0x46bb1c,_0x2fdc70=this[_0x5b93fa(0x285)][_0x5b93fa(0x20a)](_0x3843fc,_0x1cdbdf=>(_0x2fdc70[_0x5b93fa(0x392)](),_0x4a4868(_0x1cdbdf,_0x4d74cc,_0x50e036,_0x3843fc)));_0x45b638[_0x5b93fa(0x2bd)](_0x2fdc70);});};this[_0x3b761d(0x211)](_0xae9f63(this['_cursorInfo$'][_0x3b761d(0x3cd)](()=>{_0x2be81b();})));}['_toggleOnline'](){const _0x1470d9=_0x20aa44;var _0x3c8c2d,_0x55ce67;if(this[_0x1470d9(0x2d4)]=!0x0,((_0x3c8c2d=this[_0x1470d9(0x270)][_0x1470d9(0x2dc)]())==null?void 0x0:_0x3c8c2d[_0x1470d9(0x34b)]())!==this[_0x1470d9(0x3a7)])return;const _0x16d24c=(_0x55ce67=this[_0x1470d9(0x3bd)][_0x1470d9(0x201)](_0x3660e9)['getCurrentSelections']())==null?void 0x0:_0x55ce67[0x0],_0x98869e=this[_0x1470d9(0x270)][_0x1470d9(0x2ca)](_0x28520b[_0x1470d9(0x356)])[_0x1470d9(0x36e)]();_0x16d24c&&_0x98869e&&this[_0x1470d9(0x391)](_0x98869e[_0x1470d9(0x276)](),_0x16d24c);}[_0x20aa44(0x35e)](){const _0xa81cce=_0x20aa44;this[_0xa81cce(0x2d4)]=!0x1;}};Pe=gi([x(0x2,_0x346bad(_0x286e8d)),x(0x3,_0x346bad(He)),x(0x4,_0x346bad(_0x3e6893)),x(0x5,_0x19a897),x(0x6,_0x5afe24),x(0x7,_0x346bad(_0x24355e))],Pe);var Ci=Object[_0x20aa44(0x382)],Ei=(_0x33c80a,_0xd935d8,_0x8ee2b2,_0x1bef7a)=>{const _0x4ec356=_0x20aa44;for(var _0x39d2d0=_0x1bef7a>0x1?void 0x0:_0x1bef7a?Ci(_0xd935d8,_0x8ee2b2):_0xd935d8,_0xd48b1e=_0x33c80a[_0x4ec356(0x2ef)]-0x1,_0x35714f;_0xd48b1e>=0x0;_0xd48b1e--)(_0x35714f=_0x33c80a[_0xd48b1e])&&(_0x39d2d0=_0x35714f(_0x39d2d0)||_0x39d2d0);return _0x39d2d0;},me=(_0x387c3f,_0x409b73)=>(_0x5d57ca,_0x13a097)=>_0x409b73(_0x5d57ca,_0x13a097,_0x387c3f);let H=class extends _0xa38ff1{constructor(_0x1c3dbd,_0x20cf46,_0x20cf76){const _0x3ec993=_0x20aa44;super(),_(this,_0x3ec993(0x3cf),new Map()),_(this,_0x3ec993(0x2fb),new _0x4e3e38()),(this[_0x3ec993(0x270)]=_0x1c3dbd,this[_0x3ec993(0x3bd)]=_0x20cf46,this[_0x3ec993(0x2f4)]=_0x20cf76,this[_0x3ec993(0x2eb)]());}[_0x20aa44(0x392)](){const _0x24d5ab=_0x20aa44;super[_0x24d5ab(0x392)](),this[_0x24d5ab(0x2fb)][_0x24d5ab(0x258)](),this[_0x24d5ab(0x3cf)][_0x24d5ab(0x2fe)](_0x5baa94=>_0x5baa94[_0x24d5ab(0x392)]());}[_0x20aa44(0x244)](_0x330245){const _0xf0e43c=_0x20aa44;return this[_0xf0e43c(0x3cf)][_0xf0e43c(0x3c9)](_0x330245)?this[_0xf0e43c(0x3cf)][_0xf0e43c(0x201)](_0x330245)['cursorInfo$']:this[_0xf0e43c(0x2fb)][_0xf0e43c(0x2ed)](_0x27e8b0(_0x526d09=>_0x526d09['unitID']===_0x330245),_0x4e4ba1(_0x2d5139=>_0x2d5139['cursorInfo$']));}[_0x20aa44(0x2eb)](){const _0x341b91=_0x20aa44;this['_univerInstanceService'][_0x341b91(0x239)](_0x28520b[_0x341b91(0x356)])[_0x341b91(0x2ed)](_0x521e1e(this['dispose$']))['subscribe'](async _0x4e0713=>{const _0x33c698=_0x341b91,_0x2e6d43=_0x4e0713[_0x33c698(0x34b)](),_0x446513=await this[_0x33c698(0x3c0)](_0x2e6d43);this[_0x33c698(0x2fb)][_0x33c698(0x29e)](_0x446513),this[_0x33c698(0x3cf)]['set'](_0x2e6d43,_0x446513);}),this[_0x341b91(0x270)][_0x341b91(0x239)](_0x28520b[_0x341b91(0x3e6)])['pipe'](_0x521e1e(this[_0x341b91(0x31f)]))[_0x341b91(0x2ed)](_0x27e8b0(_0xe1fba6=>!_0xe1fba6[_0x341b91(0x34b)]()[_0x341b91(0x237)]('__')))[_0x341b91(0x3cd)](async _0x5ea782=>{const _0xdc1040=_0x341b91,_0x3c6a20=_0x5ea782[_0xdc1040(0x34b)](),_0x19e1c7=await this[_0xdc1040(0x34f)](_0x3c6a20);this[_0xdc1040(0x2fb)]['next'](_0x19e1c7),this[_0xdc1040(0x3cf)]['set'](_0x3c6a20,_0x19e1c7);}),_0x1cb517(this[_0x341b91(0x270)]['getTypeOfUnitDisposed$'](_0x28520b[_0x341b91(0x3e6)]),this['_univerInstanceService'][_0x341b91(0x373)](_0x28520b[_0x341b91(0x356)]))[_0x341b91(0x2ed)](_0x521e1e(this[_0x341b91(0x31f)]))[_0x341b91(0x3cd)](_0x55adb4=>{const _0x282713=_0x341b91,_0x489247=_0x55adb4['getUnitId'](),_0x3348e4=this['_entities'][_0x282713(0x201)](_0x489247);_0x3348e4&&(_0x3348e4[_0x282713(0x392)](),this['_entities'][_0x282713(0x38a)](_0x489247));});}async[_0x20aa44(0x3c0)](_0x1c4f15){const _0x4aafe6=_0x20aa44,_0x18b571=await this[_0x4aafe6(0x2f4)][_0x4aafe6(0x348)](_0x1c4f15),_0x1b1c74=this['_injector']['createInstance'](Pe,_0x1c4f15,_0x18b571);return _0x1b1c74[_0x4aafe6(0x26a)](),_0x1b1c74;}async[_0x20aa44(0x34f)](_0x301fb0){const _0x2a71c0=_0x20aa44,_0x1d9b05=await this[_0x2a71c0(0x2f4)]['requireSession'](_0x301fb0),_0x515d61=this['_injector'][_0x2a71c0(0x2b7)](Me,_0x301fb0,_0x1d9b05);return _0x515d61[_0x2a71c0(0x26a)](),_0x515d61;}};H=Ei([me(0x0,_0x19a897),me(0x1,_0x346bad(_0x286e8d)),me(0x2,_0x346bad(_0x3ed724))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2f2ae3,_0x3001ae){const _0x358f13=_0x20aa44;let {radius:_0x354fa7,width:_0x1bbea2,height:_0x116bba}=_0x3001ae;_0x354fa7=_0x354fa7!=null?_0x354fa7:0x0,_0x1bbea2=_0x1bbea2!=null?_0x1bbea2:0x1e,_0x116bba=_0x116bba!=null?_0x116bba:0x1e;let _0x437929=0x0,_0x415d94=0x0,_0x11d6bd=0x0;_0x437929=_0x415d94=_0x11d6bd=Math[_0x358f13(0x3c7)](_0x354fa7,_0x1bbea2/0x2,_0x116bba/0x2),_0x2f2ae3['beginPath'](),_0x2f2ae3[_0x358f13(0x347)](_0x437929,0x0),_0x2f2ae3[_0x358f13(0x3c1)](_0x1bbea2-_0x415d94,0x0),_0x2f2ae3[_0x358f13(0x32a)](_0x1bbea2-_0x415d94,_0x415d94,_0x415d94,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f2ae3['lineTo'](_0x1bbea2,_0x116bba-_0x11d6bd),_0x2f2ae3[_0x358f13(0x32a)](_0x1bbea2-_0x11d6bd,_0x116bba-_0x11d6bd,_0x11d6bd,0x0,Math['PI']/0x2,!0x1),_0x2f2ae3[_0x358f13(0x3c1)](0x0,_0x116bba),_0x2f2ae3[_0x358f13(0x3c1)](0x0,_0x437929),_0x2f2ae3[_0x358f13(0x32a)](_0x437929,_0x437929,_0x437929,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f2ae3[_0x358f13(0x310)](),_0x3001ae[_0x358f13(0x3aa)]&&(_0x2f2ae3['save'](),_0x2f2ae3[_0x358f13(0x1ee)]=_0x3001ae['fill'],_0x3001ae['fillRule']===_0x358f13(0x3af)?_0x2f2ae3[_0x358f13(0x3aa)]('evenodd'):_0x2f2ae3[_0x358f13(0x3aa)](),_0x2f2ae3['restore']());}class ue extends _0x35cd19{constructor(_0x483bb4,_0x76206c){const _0x2a5371=_0x20aa44;super(_0x483bb4,_0x76206c),_(this,_0x2a5371(0x388)),_(this,'text'),(this['color']=_0x76206c==null?void 0x0:_0x76206c['color'],this[_0x2a5371(0x2c9)]=_0x76206c==null?void 0x0:_0x76206c[_0x2a5371(0x2c9)]);}static['drawWith'](_0x3844c7,_0x3fed43){const _0xffe637=_0x20aa44,{text:_0x2f4ee2,color:_0x657ebd}=_0x3fed43;_0x3844c7['save'](),_0x3844c7[_0xffe637(0x3b2)]=_0xffe637(0x33b);const _0x1735aa=_0x3844c7['measureText'](_0x2f4ee2)['width'],_0x5668d5=Math['min'](_0x1735aa+0x2*ge,et);Oi(_0x3844c7,{'height':te,'radius':0x4,'width':_0x5668d5,'fill':_0x657ebd}),_0x3844c7[_0xffe637(0x1ee)]=_0xffe637(0x269);const _0x58f302=ge,_0x47a2c7=te-bi,_0x2cef50=et-0x2*ge;if(_0x1735aa>_0x2cef50){let _0x36e416='',_0xce9455=0x0;for(const _0x13015f of _0x2f4ee2){const _0x9eeed8=_0x3844c7['measureText'](_0x13015f)['width'];if(_0xce9455+_0x9eeed8<=_0x2cef50-_0x3844c7[_0xffe637(0x30b)](_0xffe637(0x37d))[_0xffe637(0x3e3)])_0x36e416+=_0x13015f,_0xce9455+=_0x9eeed8;else{_0x36e416+=_0xffe637(0x37d);break;}}_0x3844c7[_0xffe637(0x202)](_0x36e416,_0x58f302,_0x47a2c7);}else _0x3844c7[_0xffe637(0x202)](_0x2f4ee2,_0x58f302,_0x47a2c7);_0x3844c7['restore']();}[_0x20aa44(0x2cc)](_0x54a4e4){const _0xc909fd=_0x20aa44;ue[_0xc909fd(0x250)](_0x54a4e4,this);}}const ve=_0x20aa44(0x323),Ti=_0x20aa44(0x293),Ri=_0x20aa44(0x38b),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x20aa44(0x27f);class tt{constructor(_0x16fd2c,_0x32c4ca,_0x949d82,_0x1ea813){const _0x24cc72=_0x20aa44;_(this,_0x24cc72(0x33a),[]),_(this,_0x24cc72(0x33f),null),_(this,_0x24cc72(0x245),null),_(this,_0x24cc72(0x3de),null),_(this,_0x24cc72(0x1fc),null),_(this,_0x24cc72(0x398),null),(this[_0x24cc72(0x2cf)]=_0x16fd2c,this[_0x24cc72(0x3df)]=_0x32c4ca,this['_docSkeleton']=_0x949d82,this['_document']=_0x1ea813,this[_0x24cc72(0x26d)]());}set['_hover'](_0x5c8380){const _0x356136=_0x20aa44;_0x5c8380?(this[_0x356136(0x3de)]&&this[_0x356136(0x3de)][_0x356136(0x229)](),this[_0x356136(0x245)]&&this['_textBubble'][_0x356136(0x25d)]()):(this[_0x356136(0x3de)]&&this[_0x356136(0x3de)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x20aa44(0x392)](){const _0x5bb1b2=_0x20aa44;for(const _0x2c4363 of this[_0x5bb1b2(0x33a)])_0x2c4363['dispose']();this[_0x5bb1b2(0x245)]&&this['_textBubble'][_0x5bb1b2(0x392)](),this[_0x5bb1b2(0x3de)]&&this[_0x5bb1b2(0x3de)]['dispose'](),this[_0x5bb1b2(0x33f)]&&this[_0x5bb1b2(0x33f)][_0x5bb1b2(0x392)](),this[_0x5bb1b2(0x398)]&&this[_0x5bb1b2(0x398)]();}['_render'](){const _0x1e80cc=_0x20aa44;var _0x35acd9;const {_docSkeleton:_0x1a3748,_document:_0x57aa2e}=this,{color:_0x338359,name:_0x268198,ranges:_0x44ac31}=this[_0x1e80cc(0x2cf)],_0x3c649b=_0x57aa2e[_0x1e80cc(0x1f7)](),{docsLeft:_0x317894,docsTop:_0x4e6731}=_0x3c649b,_0x37f739=new _0x53e930(_0x3c649b,_0x1a3748);for(const {startOffset:_0x56fd25,endOffset:_0x27ae6a,rangeType:_0x360b04,segmentId:_0x3bfffd,segmentPage:_0x17de18,collapsed:_0x11d086,isActive:_0x5c3c21}of _0x44ac31){const _0x4ebf32=_0x1a3748[_0x1e80cc(0x291)](_0x56fd25,!0x0,_0x3bfffd,_0x17de18);let _0x661b1e=_0x1a3748[_0x1e80cc(0x291)](_0x27ae6a,!0x0,_0x3bfffd,_0x17de18);if(_0x661b1e==null&&(_0x661b1e=_0x1a3748[_0x1e80cc(0x291)](_0x27ae6a-0x1,!0x1,_0x3bfffd,_0x17de18)),_0x5c3c21){const {contentBoxPointGroup:_0x13e77a}=_0x37f739['getRangePointData'](_0x661b1e,_0x661b1e);if(_0x13e77a[_0x1e80cc(0x2ef)]===0x0)continue;this[_0x1e80cc(0x28a)](_0x338359,_0x13e77a,_0x317894,_0x4e6731,_0x268198),this[_0x1e80cc(0x398)]=this['_handleHover']();}if(_0x4ebf32&&_0x661b1e){if(_0x360b04===_0x38b7d0[_0x1e80cc(0x394)]){const _0x25905d=new _0x50e7df(_0x3c649b,_0x1a3748),{pointGroup:_0x135406}=(_0x35acd9=_0x25905d[_0x1e80cc(0x3b3)](_0x4ebf32,_0x661b1e))!=null?_0x35acd9:{};if(_0x135406==null||_0x135406[_0x1e80cc(0x2ef)]===0x0)continue;this['_drawRectRange'](_0x338359,_0x135406,_0x317894,_0x4e6731);}else{if(!_0x11d086){const {borderBoxPointGroup:_0x494e20}=_0x37f739[_0x1e80cc(0x3b3)](_0x4ebf32,_0x661b1e);if(_0x494e20['length']===0x0)continue;this[_0x1e80cc(0x1e2)](_0x338359,_0x494e20,_0x317894,_0x4e6731);}}}}}[_0x20aa44(0x28a)](_0x30f887,_0x1e8421,_0x2f9760,_0x45d1b4,_0x4b10c0){const _0x550d5f=_0x20aa44,_0xe7216b=this['_getAnchorBounding'](_0x1e8421),{left:_0x1ab4bc,top:_0x943421,height:_0x4fb027}=_0xe7216b,_0x12529b=this[_0x550d5f(0x2e3)](),_0x42b58f=Ni/_0x12529b,_0x21bb40=new _0x1d0bd3(ve+_0x50e642[_0x550d5f(0x2a0)](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4,'height':_0x4fb027,'width':Di,'fill':_0x30f887||_0x37ba93(_0x472c19[_0x550d5f(0x214)],0x0),'strokeWidth':_0x42b58f,'stroke':Ui,'evented':!0x0});this[_0x550d5f(0x33f)]=_0x21bb40,this['_scene'][_0x550d5f(0x271)](_0x21bb40,_0x6ca253);const _0x286d1a=new _0x1d0bd3(ve+_0x50e642[_0x550d5f(0x2a0)](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x30f887||_0x37ba93(_0x472c19[_0x550d5f(0x214)],0x0),'strokeWidth':0x0,'stroke':_0x30f887||_0x37ba93(_0x472c19['black'],0x0),'evented':!0x1});this[_0x550d5f(0x3de)]=_0x286d1a,this[_0x550d5f(0x3df)]['addObject'](_0x286d1a,_0x6ca253);const _0x3d8d62=new ue(ve+_0x50e642['generateRandomId'](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4-te,'text':_0x4b10c0,'color':_0x30f887});this[_0x550d5f(0x245)]=_0x3d8d62,this[_0x550d5f(0x3df)][_0x550d5f(0x271)](_0x3d8d62,_0x6ca253),this['_hover']=!0x1;}[_0x20aa44(0x301)](){const _0x16ed78=_0x20aa44,_0x4ff44d=this['_anchor'][_0x16ed78(0x370)][_0x16ed78(0x227)](()=>{const _0xa800a=_0x16ed78;this[_0xa800a(0x3cb)]=!0x0;}),_0x131c58=this[_0x16ed78(0x33f)]['onPointerLeave$']['subscribeEvent'](()=>{const _0xc0d7a7=_0x16ed78;this[_0xc0d7a7(0x1fc)]&&clearTimeout(this[_0xc0d7a7(0x1fc)]),this['_hideTimer']=setTimeout(()=>{const _0x47f173=_0xc0d7a7;this[_0x47f173(0x3cb)]=!0x1;},0x7d0);});return()=>{const _0x16b3c8=_0x16ed78;_0x4ff44d[_0x16b3c8(0x261)](),_0x131c58[_0x16b3c8(0x261)]();};}['_drawTextRange'](_0x140941,_0x2f1bec,_0x1a625c,_0x5a1012){const _0x3ede93=_0x20aa44,_0x15e2d4=new _0x185055(_0x140941)['setAlpha'](0.2)['toRgbString'](),_0x23712d=new _0x4ed6b0(Ti+_0x50e642[_0x3ede93(0x2a0)](X),{'pointsGroup':_0x2f1bec,'fill':_0x15e2d4||_0x37ba93(_0x472c19['black'],0.2),'left':_0x1a625c,'top':_0x5a1012,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ede93(0x33a)][_0x3ede93(0x253)](_0x23712d),this['_scene'][_0x3ede93(0x271)](_0x23712d,_0x6ca253);}[_0x20aa44(0x2c6)](_0x124310,_0xe4ecf8,_0x3f032a,_0xf53f36){const _0x139c18=_0x20aa44,_0x159d62=new _0x185055(_0x124310)[_0x139c18(0x2e7)](0.2)['toRgbString'](),_0xfe249=new _0x4ed6b0(Ri+_0x50e642['generateRandomId'](X),{'pointsGroup':_0xe4ecf8,'fill':_0x159d62||_0x37ba93(_0x472c19[_0x139c18(0x214)],0.2),'left':_0x3f032a,'top':_0xf53f36,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xfe249),this[_0x139c18(0x3df)][_0x139c18(0x271)](_0xfe249,_0x6ca253);}['_getAnchorBounding'](_0x4e1f23){const _0x9d080e=_0x4e1f23[0x0],_0x6b22a5=_0x9d080e[0x0],_0x399835=_0x9d080e[0x2],{x:_0x135b0b,y:_0x10fe37}=_0x6b22a5,{x:_0x480328,y:_0x26d35b}=_0x399835;return{'left':_0x135b0b,'top':_0x10fe37,'width':_0x480328-_0x135b0b,'height':_0x26d35b-_0x10fe37};}[_0x20aa44(0x2e3)](){const _0x293f56=_0x20aa44,{scaleX:_0x4db012,scaleY:_0x1ed912}=this[_0x293f56(0x3df)][_0x293f56(0x274)]();return Math[_0x293f56(0x34c)](_0x4db012,_0x1ed912);}}var Mi=Object[_0x20aa44(0x382)],Pi=(_0x4a16ca,_0x7b84e,_0x14cc5c,_0x3df0af)=>{const _0x5ede94=_0x20aa44;for(var _0x3caa26=_0x3df0af>0x1?void 0x0:_0x3df0af?Mi(_0x7b84e,_0x14cc5c):_0x7b84e,_0x1fdd0f=_0x4a16ca[_0x5ede94(0x2ef)]-0x1,_0x2e806c;_0x1fdd0f>=0x0;_0x1fdd0f--)(_0x2e806c=_0x4a16ca[_0x1fdd0f])&&(_0x3caa26=_0x2e806c(_0x3caa26)||_0x3caa26);return _0x3caa26;},Q=(_0x19881b,_0x3a2119)=>(_0x53940b,_0x561595)=>_0x3a2119(_0x53940b,_0x561595,_0x19881b);let we=class extends _0xa38ff1{constructor(_0x20f2a3,_0x3955ca,_0x54de9d,_0x5525d0,_0x2998a3){const _0x48df5f=_0x20aa44;super(),_(this,_0x48df5f(0x2b4),[]),_(this,_0x48df5f(0x28f),[]),(this['_context']=_0x20f2a3,this[_0x48df5f(0x376)]=_0x3955ca,this['_collabCursorController']=_0x54de9d,this[_0x48df5f(0x3dc)]=_0x5525d0,this['_themeService']=_0x2998a3,this[_0x48df5f(0x2eb)]());}['_init'](){const _0x548c36=_0x20aa44,_0x151572=this[_0x548c36(0x326)]['unitId'],_0x1bc36b=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x51a60a([this[_0x548c36(0x3d1)][_0x548c36(0x244)](_0x151572),this[_0x548c36(0x312)][_0x548c36(0x226)]])[_0x548c36(0x2ed)](_0x4b2676(([_0x47c020,_0x278d47])=>({'skeleton':_0x1bc36b['getSkeleton'](),'cursors':[..._0x47c020[_0x548c36(0x31a)]()][_0x548c36(0x3c3)](_0x9f1e63=>({..._0x9f1e63,'color':_0x278d47[_0x9f1e63['color']]}))})))['subscribe'](_0x76fd05=>{const _0x4c8bfb=_0x548c36;if(this[_0x4c8bfb(0x1f1)](),_0x76fd05){const {skeleton:_0x342c7d,cursors:_0x2bba53}=_0x76fd05;this[_0x4c8bfb(0x300)](_0x342c7d,_0x2bba53);}})),this[_0x548c36(0x332)](),this[_0x548c36(0x2ff)]();}[_0x20aa44(0x300)](_0x3682b7,_0x3f0a4a){const _0x3d6fef=_0x20aa44,{scene:_0x5295cf,mainComponent:_0x11e532}=this[_0x3d6fef(0x326)],_0xac809c=_0x3f0a4a['map'](_0x4f9a37=>new tt(_0x4f9a37,_0x5295cf,_0x3682b7,_0x11e532));this['_cursorShapes']=_0xac809c,this[_0x3d6fef(0x28f)]=_0x3f0a4a;}[_0x20aa44(0x2d0)](){const _0x8acc0b=_0x20aa44;this[_0x8acc0b(0x1f1)]();const {scene:_0x20fb8f,mainComponent:_0x5b1514}=this[_0x8acc0b(0x326)],_0x2f4272=this[_0x8acc0b(0x376)][_0x8acc0b(0x34a)](),_0x391177=this[_0x8acc0b(0x28f)]['map'](_0x4d7bd8=>new tt(_0x4d7bd8,_0x20fb8f,_0x2f4272,_0x5b1514));this[_0x8acc0b(0x2b4)]=_0x391177;}[_0x20aa44(0x1f1)](){const _0x5604a1=_0x20aa44;this[_0x5604a1(0x2b4)]['forEach'](_0x527f45=>_0x527f45[_0x5604a1(0x392)]()),this[_0x5604a1(0x2b4)]=[];}['_initCommandExecutedListener'](){const _0x4fead9=_0x20aa44,_0x1af447=[_0xcfbda['id']];this[_0x4fead9(0x211)](this['_commandService']['onCommandExecuted'](_0x50b02d=>{const _0x360ff4=_0x4fead9;_0x1af447[_0x360ff4(0x24f)](_0x50b02d['id'])&&_0x50b02d[_0x360ff4(0x314)][_0x360ff4(0x241)]===this[_0x360ff4(0x326)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x20aa44(0x332)](){const _0x3de116=_0x20aa44;this[_0x3de116(0x211)](_0x15a9c9(this['_context']['engine'][_0x3de116(0x30a)])[_0x3de116(0x2ed)](_0x358712(_0x160098=>_0x160098[_0x3de116(0x2df)]===_0x4bbb7b[_0x3de116(0x208)]),_0x39aa39(0x10))[_0x3de116(0x3cd)](()=>{this['_refreshCollabCursors']();}));}};we=Pi([Q(0x1,_0x346bad(_0x749196)),Q(0x2,_0x346bad(H)),Q(0x3,_0x5afe24),Q(0x4,_0x346bad(_0x5c0762))],we);const wi=0x1,Li=1.5;class Ai extends _0x35cd19{constructor(_0x5c58dc,_0x486e6a){const _0xefc247=_0x20aa44;super(_0x5c58dc,_0x486e6a),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0xefc247(0x27b),''),_(this,_0xefc247(0x292),_0xefc247(0x29c)),_(this,_0xefc247(0x22b)),(_0x486e6a&&this[_0xefc247(0x23a)](_0x486e6a),this[_0xefc247(0x370)]['subscribeEvent'](()=>this[_0xefc247(0x23a)]({'hovered':!0x0})),this['onPointerLeave$'][_0xefc247(0x227)](()=>this[_0xefc247(0x23a)]({'hovered':!0x1})));}[_0x20aa44(0x23a)](_0x2b0ec6){const _0xe2cea3=_0x20aa44;var _0x19ae24,_0x3eed9d,_0x5c1446,_0x22cb04,_0x3b5a6a,_0x1607f0;this[_0xe2cea3(0x3ab)]=(_0x19ae24=_0x2b0ec6[_0xe2cea3(0x388)])!=null?_0x19ae24:this['_color'],this['_hovered']=(_0x3eed9d=_0x2b0ec6[_0xe2cea3(0x235)])!=null?_0x3eed9d:this[_0xe2cea3(0x368)],this[_0xe2cea3(0x3ba)]=(_0x5c1446=_0x2b0ec6[_0xe2cea3(0x1fa)])!=null?_0x5c1446:this[_0xe2cea3(0x3ba)],this[_0xe2cea3(0x27b)]=(_0x22cb04=_0x2b0ec6[_0xe2cea3(0x233)])!=null?_0x22cb04:this[_0xe2cea3(0x27b)],this[_0xe2cea3(0x292)]=(_0x3b5a6a=_0x2b0ec6[_0xe2cea3(0x1fb)])!=null?_0x3b5a6a:this['_labelPosition'],this[_0xe2cea3(0x22b)]=(_0x1607f0=_0x2b0ec6[_0xe2cea3(0x37e)])!=null?_0x1607f0:this[_0xe2cea3(0x22b)],this[_0xe2cea3(0x3e7)]({'width':_0x2b0ec6[_0xe2cea3(0x3e3)],'height':_0x2b0ec6[_0xe2cea3(0x23c)]});}[_0x20aa44(0x281)](_0x2a2a45){const _0x13ac67=_0x20aa44,{row:_0x144a22,column:_0x55f458}=_0x2a2a45;if(_0x144a22>=this[_0x13ac67(0x3ba)]['startRow']&&_0x144a22<=this[_0x13ac67(0x3ba)]['endRow']&&_0x55f458>=this[_0x13ac67(0x3ba)]['startColumn']&&_0x55f458<=this[_0x13ac67(0x3ba)][_0x13ac67(0x2f5)]){this[_0x13ac67(0x23a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x20aa44(0x260)](_0x4ddecc){return!0x1;}[_0x20aa44(0x2cc)](_0x3a838c){const _0x4bda9a=_0x20aa44;_0x1d0bd3[_0x4bda9a(0x250)](_0x3a838c,{'width':this[_0x4bda9a(0x3e3)],'height':this[_0x4bda9a(0x23c)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4bda9a(0x22b)]}),this[_0x4bda9a(0x368)]&&(_0x3a838c[_0x4bda9a(0x1f4)](),_0x3a838c['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4bda9a(0x292)]===_0x4bda9a(0x399)?0x0:-0x14),ue[_0x4bda9a(0x250)](_0x3a838c,{'text':this[_0x4bda9a(0x27b)],'color':this[_0x4bda9a(0x3ab)]}),_0x3a838c['restore']());}}var yi=Object[_0x20aa44(0x382)],$i=(_0x4b5934,_0x435b53,_0x217961,_0x123533)=>{const _0x24349f=_0x20aa44;for(var _0x21e69a=_0x123533>0x1?void 0x0:_0x123533?yi(_0x435b53,_0x217961):_0x435b53,_0x51834d=_0x4b5934[_0x24349f(0x2ef)]-0x1,_0x4a7d80;_0x51834d>=0x0;_0x51834d--)(_0x4a7d80=_0x4b5934[_0x51834d])&&(_0x21e69a=_0x4a7d80(_0x21e69a)||_0x21e69a);return _0x21e69a;},pe=(_0x282fe6,_0x156a4b)=>(_0x78665c,_0x17dfa9)=>_0x156a4b(_0x78665c,_0x17dfa9,_0x282fe6);const xi=0x1389;let Le=class extends _0xa38ff1{constructor(_0x527648,_0x1319d4,_0xd8767d,_0x57daa4){const _0x55d31c=_0x20aa44;super(),_(this,_0x55d31c(0x28f),new Set()),_(this,_0x55d31c(0x279),null),(this[_0x55d31c(0x326)]=_0x527648,this['_sheetSkeletonManagerService']=_0x1319d4,this[_0x55d31c(0x3d1)]=_0xd8767d,this[_0x55d31c(0x312)]=_0x57daa4,this[_0x55d31c(0x2eb)]());}[_0x20aa44(0x2eb)](){const _0x5b8c0f=_0x20aa44;this[_0x5b8c0f(0x3bb)][_0x5b8c0f(0x265)][_0x5b8c0f(0x2ed)](_0x1237ad(this['dispose$']),_0x37dcd1(_0x1d004c=>{const _0x400f7a=_0x5b8c0f;if(_0x1d004c){const _0x301dac=_0x1d004c[_0x400f7a(0x2b8)];return _0x51a60a(this[_0x400f7a(0x3d1)][_0x400f7a(0x244)](this[_0x400f7a(0x326)][_0x400f7a(0x241)]),this[_0x400f7a(0x312)][_0x400f7a(0x226)])[_0x400f7a(0x2ed)](_0x4b2676(([_0x5ef323,_0x5e9873])=>{const _0x4caa11=_0x400f7a,_0x165102=new Map();return _0x5ef323[_0x4caa11(0x2fe)]((_0x49a2d3,_0x5dc486)=>{const _0x510e68=_0x4caa11;if(_0x49a2d3[_0x510e68(0x303)]===_0x301dac){const _0x392ffd={..._0x49a2d3};_0x392ffd['color']=_0x5e9873[_0x49a2d3['color']],_0x165102[_0x510e68(0x3db)](_0x5dc486,_0x392ffd);}}),{'skeleton':_0x1d004c,'cursors':_0x165102};}));}return _0x51b706({'skeleton':null,'cursors':new Map()});}))[_0x5b8c0f(0x3cd)](({skeleton:_0x2443c5,cursors:_0x5d9668})=>{this['_removeCollabCursors'](),_0x2443c5&&this['_updateCollabCursors'](_0x2443c5,_0x5d9668);}),this[_0x5b8c0f(0x3bb)][_0x5b8c0f(0x265)][_0x5b8c0f(0x3cd)](_0x4849e5=>{const _0x2fb6d7=_0x5b8c0f;if(_0x4849e5==null)return;const {skeleton:_0x35c535}=_0x4849e5,{scene:_0x40774d}=this['_context'];_0x40774d['onPointerMove$'][_0x2fb6d7(0x227)](_0x1dec13(_0xdf6f0c=>{const _0x31eaf2=_0x2fb6d7;var _0x56df7f,_0x735a74;const {offsetX:_0x2b2e93,offsetY:_0x2cbc5c}=_0xdf6f0c,{x:_0x3d6d4d,y:_0x6705c4}=_0x40774d['getRelativeToViewportCoord'](_0x2b2b7c['FromArray']([_0x2b2e93,_0x2cbc5c])),{scaleX:_0x23a485,scaleY:_0x3152c4}=_0x40774d[_0x31eaf2(0x274)](),_0x1014e8=_0x40774d[_0x31eaf2(0x3c6)](_0x3463ad[_0x31eaf2(0x29d)]),_0x5a4b33=_0x40774d[_0x31eaf2(0x278)](_0x2b2b7c[_0x31eaf2(0x29b)]([_0x3d6d4d,_0x6705c4]),_0x1014e8),_0x126f9e=_0x35c535[_0x31eaf2(0x273)](_0x2b2e93,_0x2cbc5c,_0x23a485,_0x3152c4,_0x5a4b33);((_0x56df7f=this[_0x31eaf2(0x279)])==null?void 0x0:_0x56df7f[_0x31eaf2(0x3b1)])===_0x126f9e['column']&&((_0x735a74=this[_0x31eaf2(0x279)])==null?void 0x0:_0x735a74[_0x31eaf2(0x2f1)])===_0x126f9e[_0x31eaf2(0x2f1)]||this[_0x31eaf2(0x28f)][_0x31eaf2(0x2fe)](_0x59d7c9=>{_0x59d7c9['onMouseMove'](_0x126f9e);});},0x64));});}[_0x20aa44(0x300)](_0x53cb5d,_0x4f24d0){const _0x5bd4c1=_0x20aa44;var _0x973086;const _0x54cc02=(_0x973086=this[_0x5bd4c1(0x3bb)][_0x5bd4c1(0x3a1)]())==null?void 0x0:_0x973086[_0x5bd4c1(0x324)];if(!_0x54cc02)return;const _0x155d8f=this[_0x5bd4c1(0x3ae)]();if(!_0x155d8f)return;this[_0x5bd4c1(0x28f)][_0x5bd4c1(0x2fe)](_0x1c55af=>{const _0x4a9b4e=_0x5bd4c1;_0x1c55af[_0x4a9b4e(0x2b6)]();});const {scene:_0x483f51}=_0x155d8f,_0x1e1181=Bi(Array['from'](_0x4f24d0[_0x5bd4c1(0x31a)]()))['map'](_0x330ee3=>{const _0xc32fd7=_0x5bd4c1,{color:_0x50d1f1,range:_0x1ecec3,name:_0x2cf069,selection:_0x3e1198,sheetID:_0x3851b7}=_0x330ee3,{startColumn:_0x477ce1,startRow:_0x1c1cba,endColumn:_0xa5c60b,endRow:_0x134f93}=_0x1ecec3,_0x274253=_0x65909b(_0x1c1cba,_0x477ce1,_0x483f51,_0x54cc02),_0x4e6700=_0x65909b(_0x134f93,_0xa5c60b,_0x483f51,_0x54cc02),{columnHeaderHeightAndMarginTop:_0x577cd4}=_0x54cc02,{startX:_0x3f0261,startY:_0x1432b4}=_0x274253,{endX:_0x273b16,endY:_0x235b0b}=_0x4e6700,_0x10b40a=_0x273b16-_0x3f0261,_0x47c4e9=_0x235b0b-_0x1432b4,_0x3f0524={'labelPosition':_0x1432b4-_0x577cd4>=te?_0xc32fd7(0x29c):'bottom','sheetID':_0x3851b7,'range':_0x1ecec3,'color':_0x50d1f1,'name':_0x2cf069,'selection':_0x3e1198,'left':_0x3f0261,'top':_0x1432b4,'width':_0x10b40a,'height':_0x47c4e9,'evented':!0x1,'zIndex':xi};return new Ai(_0x2cf069,_0x3f0524);});_0x483f51[_0x5bd4c1(0x3dd)](_0x1e1181,wi),this[_0x5bd4c1(0x28f)]=new Set(_0x1e1181);}['_removeCollabCursors'](){const _0x2a964c=_0x20aa44;var _0x2e1899;(_0x2e1899=this[_0x2a964c(0x28f)])==null||_0x2e1899['forEach'](_0x3e829f=>_0x3e829f[_0x2a964c(0x392)]());}[_0x20aa44(0x3ae)](){const _0x21c71f=_0x20aa44;return _0x5cc46d(this[_0x21c71f(0x326)][_0x21c71f(0x3d3)],this['_context']);}};Le=$i([pe(0x1,_0x346bad(_0x4de296)),pe(0x2,_0x346bad(H)),pe(0x3,_0x346bad(_0x5c0762))],Le);function Bi(_0x4e5b17){const _0x3f4608=_0x20aa44,_0x43ee7b=new Map();return _0x4e5b17['forEach'](_0x8e8e9f=>{const _0x4789ea=_0x3826;if(_0x43ee7b[_0x4789ea(0x3c9)](_0x8e8e9f[_0x4789ea(0x387)])){const _0x4bfbaf=_0x43ee7b[_0x4789ea(0x201)](_0x8e8e9f[_0x4789ea(0x387)]);_0x4bfbaf[_0x4789ea(0x233)]+=',\x20'+_0x8e8e9f['name'];}else _0x43ee7b[_0x4789ea(0x3db)](_0x8e8e9f['selection'],_0x8e8e9f);}),Array[_0x3f4608(0x28d)](_0x43ee7b[_0x3f4608(0x31a)]());}var I=function(){const _0x1867cf=_0x20aa44;return I=Object[_0x1867cf(0x2a8)]||function(_0x77285e){const _0x19ac34=_0x1867cf;for(var _0x354875,_0xa262e7=0x1,_0x4218b4=arguments[_0x19ac34(0x2ef)];_0xa262e7<_0x4218b4;_0xa262e7++){_0x354875=arguments[_0xa262e7];for(var _0x4aef3a in _0x354875)Object[_0x19ac34(0x2ab)][_0x19ac34(0x33d)][_0x19ac34(0x31c)](_0x354875,_0x4aef3a)&&(_0x77285e[_0x4aef3a]=_0x354875[_0x4aef3a]);}return _0x77285e;},I[_0x1867cf(0x35b)](this,arguments);},ki=function(_0x1dc751,_0x402774){const _0x17b6c0=_0x20aa44;var _0x3b4f97={};for(var _0x22ed1f in _0x1dc751)Object[_0x17b6c0(0x2ab)]['hasOwnProperty']['call'](_0x1dc751,_0x22ed1f)&&_0x402774[_0x17b6c0(0x386)](_0x22ed1f)<0x0&&(_0x3b4f97[_0x22ed1f]=_0x1dc751[_0x22ed1f]);if(_0x1dc751!=null&&typeof Object[_0x17b6c0(0x34e)]==_0x17b6c0(0x39b)){for(var _0x40de39=0x0,_0x22ed1f=Object[_0x17b6c0(0x34e)](_0x1dc751);_0x40de39<_0x22ed1f[_0x17b6c0(0x2ef)];_0x40de39++)_0x402774[_0x17b6c0(0x386)](_0x22ed1f[_0x40de39])<0x0&&Object[_0x17b6c0(0x2ab)][_0x17b6c0(0x2ea)][_0x17b6c0(0x31c)](_0x1dc751,_0x22ed1f[_0x40de39])&&(_0x3b4f97[_0x22ed1f[_0x40de39]]=_0x1dc751[_0x22ed1f[_0x40de39]]);}return _0x3b4f97;},We=_0x20debf(function(_0x120ad4,_0x120e90){const _0x279e3c=_0x20aa44;var _0x9aa6f6=_0x120ad4['icon'],_0x75e442=_0x120ad4['id'],_0x4d1ffd=_0x120ad4[_0x279e3c(0x207)],_0xcf2209=_0x120ad4[_0x279e3c(0x37b)],_0x7f3b3=ki(_0x120ad4,[_0x279e3c(0x282),'id','className','extend']),_0x36427d='univerjs-icon\x20univerjs-icon-'[_0x279e3c(0x2a5)](_0x75e442,'\x20')[_0x279e3c(0x2a5)](_0x4d1ffd||'')[_0x279e3c(0x243)](),_0x10a9de=_0x1e46df('_'['concat'](Wi()));return Nt(_0x9aa6f6,''['concat'](_0x75e442),{'defIds':_0x9aa6f6[_0x279e3c(0x2da)],'idSuffix':_0x10a9de[_0x279e3c(0x25a)]},I({'ref':_0x120e90,'className':_0x36427d},_0x7f3b3),_0xcf2209);});function Nt(_0x48cb72,_0x3fad9c,_0x31641d,_0x1f3cd4,_0x4e45b8){const _0x354586=_0x20aa44;return _0x123ec4(_0x48cb72[_0x354586(0x24a)],I(I({'key':_0x3fad9c},Hi(_0x48cb72,_0x31641d,_0x4e45b8)),_0x1f3cd4),(ji(_0x48cb72,_0x31641d)[_0x354586(0x2fc)]||[])[_0x354586(0x224)](function(_0x4536da,_0x29a5ab){const _0x345bec=_0x354586;return Nt(_0x4536da,''[_0x345bec(0x2a5)](_0x3fad9c,'-')[_0x345bec(0x2a5)](_0x48cb72[_0x345bec(0x24a)],'-')[_0x345bec(0x2a5)](_0x29a5ab),_0x31641d,void 0x0,_0x4e45b8);}));}function Hi(_0x4cd7a2,_0x22905d,_0x6e4090){const _0x13f9b9=_0x20aa44;var _0x50b0a9=I({},_0x4cd7a2[_0x13f9b9(0x240)]);_0x6e4090!=null&&_0x6e4090['colorChannel1']&&_0x50b0a9['fill']===_0x13f9b9(0x379)&&(_0x50b0a9[_0x13f9b9(0x3aa)]=_0x6e4090[_0x13f9b9(0x379)]),_0x4cd7a2[_0x13f9b9(0x24a)]==='mask'&&_0x50b0a9['id']&&(_0x50b0a9['id']=_0x50b0a9['id']+_0x22905d[_0x13f9b9(0x357)]),Object['entries'](_0x50b0a9)[_0x13f9b9(0x2fe)](function(_0x3b5aab){const _0x4b3555=_0x13f9b9;var _0x56b178=_0x3b5aab[0x0],_0xc9cd36=_0x3b5aab[0x1];_0x56b178===_0x4b3555(0x215)&&typeof _0xc9cd36==_0x4b3555(0x2fd)&&(_0x50b0a9[_0x56b178]=_0xc9cd36['replace'](/url\(#(.*)\)/,_0x4b3555(0x1e3)[_0x4b3555(0x2a5)](_0x22905d[_0x4b3555(0x357)],')')));});var _0x33693d=_0x22905d[_0x13f9b9(0x2da)];return!_0x33693d||_0x33693d[_0x13f9b9(0x2ef)]===0x0||(_0x4cd7a2[_0x13f9b9(0x24a)]===_0x13f9b9(0x256)&&_0x50b0a9['xlink:href']&&(_0x50b0a9['xlink:href']=_0x50b0a9[_0x13f9b9(0x2b2)]+_0x22905d[_0x13f9b9(0x357)]),Object['entries'](_0x50b0a9)['forEach'](function(_0x34ba85){const _0x15cacd=_0x13f9b9;var _0x1855b4=_0x34ba85[0x0],_0x555aa8=_0x34ba85[0x1];typeof _0x555aa8=='string'&&(_0x50b0a9[_0x1855b4]=_0x555aa8['replace'](/url\(#(.*)\)/,_0x15cacd(0x1e3)[_0x15cacd(0x2a5)](_0x22905d[_0x15cacd(0x357)],')')));})),_0x50b0a9;}function ji(_0x3951a5,_0x4c4848){const _0x333b89=_0x20aa44;var _0x43b611,_0x18e1ac=_0x4c4848['defIds'];return!_0x18e1ac||_0x18e1ac[_0x333b89(0x2ef)]===0x0?_0x3951a5:_0x3951a5[_0x333b89(0x24a)]==='defs'&&(!((_0x43b611=_0x3951a5[_0x333b89(0x2fc)])===null||_0x43b611===void 0x0)&&_0x43b611[_0x333b89(0x2ef)])?I(I({},_0x3951a5),{'children':_0x3951a5[_0x333b89(0x2fc)][_0x333b89(0x224)](function(_0x18e263){const _0x16401a=_0x333b89;return typeof _0x18e263[_0x16401a(0x240)]['id']==_0x16401a(0x2fd)&&_0x18e1ac&&_0x18e1ac['indexOf'](_0x18e263[_0x16401a(0x240)]['id'])>-0x1?I(I({},_0x18e263),{'attrs':I(I({},_0x18e263[_0x16401a(0x240)]),{'id':_0x18e263[_0x16401a(0x240)]['id']+_0x4c4848[_0x16401a(0x357)]})}):_0x18e263;})}):_0x3951a5;}function Wi(){const _0x17278b=_0x20aa44;return Math['random']()['toString'](0x24)[_0x17278b(0x3d9)](0x2,0x8);}We[_0x20aa44(0x338)]=_0x20aa44(0x27c);var Fi={'tag':_0x20aa44(0x21b),'attrs':{'fill':'none','viewBox':_0x20aa44(0x346),'width':_0x20aa44(0x383),'height':_0x20aa44(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0x20aa44(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':_0x20aa44(0x262),'d':_0x20aa44(0x25c),'strokeLinecap':_0x20aa44(0x342),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x20aa44(0x35c),'attrs':{},'children':[{'tag':_0x20aa44(0x32d),'attrs':{'id':_0x20aa44(0x236)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'fill':_0x20aa44(0x306),'d':_0x20aa44(0x35d)}}]}]}],'defIds':[_0x20aa44(0x236)]},Ut=_0x20debf(function(_0x212501,_0x17f14f){const _0x5dc2c1=_0x20aa44;return _0x123ec4(We,Object[_0x5dc2c1(0x2a8)]({},_0x212501,{'id':'off-line-single','ref':_0x17f14f,'icon':Fi}));});Ut[_0x20aa44(0x338)]=_0x20aa44(0x246);var Yi={'tag':_0x20aa44(0x21b),'attrs':{'fill':_0x20aa44(0x363),'viewBox':_0x20aa44(0x24c),'width':_0x20aa44(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20aa44(0x3a3)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'stroke':_0x20aa44(0x262),'d':_0x20aa44(0x209),'strokeLinecap':'round','strokeLinejoin':_0x20aa44(0x342),'strokeWidth':1.2}}]},{'tag':_0x20aa44(0x35c),'attrs':{},'children':[{'tag':_0x20aa44(0x32d),'attrs':{'id':_0x20aa44(0x299)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'fill':_0x20aa44(0x306),'d':'M0\x200H16V16H0z','transform':_0x20aa44(0x397)}}]}]}],'defIds':[_0x20aa44(0x299)]},Mt=_0x20debf(function(_0x17d866,_0x9988cf){return _0x123ec4(We,Object['assign']({},_0x17d866,{'id':'on-line-single','ref':_0x9988cf,'icon':Yi}));});Mt[_0x20aa44(0x338)]='OnLineSingle';const Vi=_0x20aa44(0x311),Xi=_0x20aa44(0x2a2),Gi=_0x20aa44(0x21d),Ki=_0x20aa44(0x2a3),zi=_0x20aa44(0x29f),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x4ce8ca){const _0x7f25c8=_0x20aa44;switch(_0x4ce8ca){case _0x32910b[_0x7f25c8(0x362)]:return'collabStatus.offline';case _0x32910b[_0x7f25c8(0x294)]:return _0x7f25c8(0x29a);case _0x32910b['FETCH_MISS']:return _0x7f25c8(0x3b4);case _0x32910b['NOT_COLLAB']:return _0x7f25c8(0x3b6);case _0x32910b[_0x7f25c8(0x1f0)]:case _0x32910b[_0x7f25c8(0x1e4)]:return'collabStatus.syncing';case _0x32910b[_0x7f25c8(0x1ed)]:case _0x32910b[_0x7f25c8(0x26c)]:return _0x7f25c8(0x1f5);}}function Zi(_0x37bf24){const _0x530c54=_0x20aa44,{status$:_0x4a005f}=_0x37bf24,_0x343d10=_0x8ae945(_0x4a005f,_0x32910b[_0x530c54(0x2d5)]),_0x31cae3=_0x19a428(_0x385db0),_0x8ec5b0=_0x19a428(_0x3ed724),_0x49ad60=_0x343d10!==_0x32910b[_0x530c54(0x362)],_0x1d9e63=_0x31cae3['t'](Ji(_0x343d10)),_0x300e73=_0xb817dd(G[_0x530c54(0x23e)],{[G[_0x530c54(0x2d3)]]:_0x49ad60,[G[_0x530c54(0x37c)]]:!_0x49ad60}),_0x38028f=_0x49ad60?_0x875dbc(Mt,{}):_0x875dbc(Ut,{}),_0x2eb537=_0x21e0e6(()=>{const _0x3f01c6=_0x530c54;_0x49ad60||_0x8ec5b0[_0x3f01c6(0x28e)]();},[_0x49ad60,_0x8ec5b0]);function _0xc4d9aa(){const _0x411450=_0x530c54;return _0x457b32('div',{'className':_0xb817dd(_0x300e73,_0x411450(0x212)),'onClick':_0x2eb537,'children':[_0x875dbc(_0x411450(0x2de),{'className':G[_0x411450(0x2e6)],'children':_0x38028f}),_0x875dbc(_0x411450(0x2de),{'className':G['onlineStatusTitle'],'children':_0x1d9e63})]});}return _0x49ad60?_0xc4d9aa():_0x875dbc(_0x5e1f4a,{'title':_0x31cae3['t'](_0x530c54(0x38f)),'children':_0xc4d9aa()});}var Qi=Object[_0x20aa44(0x382)],qi=(_0x389406,_0x6398d1,_0x544be2,_0x3f454d)=>{const _0x334f5d=_0x20aa44;for(var _0x3bea16=_0x3f454d>0x1?void 0x0:_0x3f454d?Qi(_0x6398d1,_0x544be2):_0x6398d1,_0xbbd47d=_0x389406[_0x334f5d(0x2ef)]-0x1,_0x2a7460;_0xbbd47d>=0x0;_0xbbd47d--)(_0x2a7460=_0x389406[_0xbbd47d])&&(_0x3bea16=_0x2a7460(_0x3bea16)||_0x3bea16);return _0x3bea16;},q=(_0x51dbaa,_0x47e0cf)=>(_0x472538,_0x3b49f9)=>_0x47e0cf(_0x472538,_0x3b49f9,_0x51dbaa);let se=class extends _0x3a3eae{constructor(_0x1e7dfd,_0x4cf9c5,_0x378565,_0x57ab25){const _0x3a703e=_0x20aa44;super(),_(this,_0x3a703e(0x3d4),new _0x119cba(_0x32910b[_0x3a703e(0x2d5)])),(this[_0x3a703e(0x270)]=_0x1e7dfd,this[_0x3a703e(0x3bd)]=_0x4cf9c5,this['_collaborationController']=_0x378565,this[_0x3a703e(0x1ef)]=_0x57ab25,this[_0x3a703e(0x2cd)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x582265=_0x20aa44;this[_0x582265(0x211)](this['_univerInstanceService'][_0x582265(0x248)][_0x582265(0x2ed)](_0x4e4ba1(()=>{const _0x595696=_0x582265,_0x49da88=this['_univerInstanceService'][_0x595696(0x2dc)]();return _0x49da88?this[_0x595696(0x21c)][_0x595696(0x37f)](_0x49da88[_0x595696(0x34b)]()):_0x51b706(null);}),_0x4e4ba1(_0x309c26=>_0x309c26?_0x309c26[_0x582265(0x377)]:_0x51b706(_0x32910b[_0x582265(0x2d5)])))[_0x582265(0x3cd)](_0x517471=>{const _0x3a380b=_0x582265;this[_0x3a380b(0x3d4)][_0x3a380b(0x29e)](_0x517471);}));}['_initStatusComponent'](){const _0x12b171=_0x20aa44;this[_0x12b171(0x211)](this[_0x12b171(0x1ef)][_0x12b171(0x20d)](_0x10d186['HEADER_MENU'],()=>_0xb676a2(en({'status$':this[_0x12b171(0x3d4)][_0x12b171(0x20c)]()}),this[_0x12b171(0x3bd)])));}};se=qi([q(0x0,_0x19a897),q(0x1,_0x346bad(_0x286e8d)),q(0x2,_0x346bad(_0x7af0ab)),q(0x3,_0xcd9de7)],se);function en(_0x3271e9){const {status$:_0x431e3a}=_0x3271e9;return function(){return _0x875dbc(Zi,{'status$':_0x431e3a});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x17c510,_0x323f17,_0x5c009b,_0x488a39)=>{for(var _0x41cfbe=_0x488a39>0x1?void 0x0:_0x488a39?tn(_0x323f17,_0x5c009b):_0x323f17,_0x4b3a61=_0x17c510['length']-0x1,_0x30a765;_0x4b3a61>=0x0;_0x4b3a61--)(_0x30a765=_0x17c510[_0x4b3a61])&&(_0x41cfbe=_0x30a765(_0x41cfbe)||_0x41cfbe);return _0x41cfbe;},B=(_0x2fe6f4,_0x2eb850)=>(_0x2b9913,_0x548055)=>_0x2eb850(_0x2b9913,_0x548055,_0x2fe6f4);let ie=class extends _0x3a3eae{constructor(_0x1eae96,_0xa2670,_0x2bf682,_0x4a3efb,_0x285945,_0x28f16f){const _0x16d164=_0x20aa44;super(),this[_0x16d164(0x254)]=_0x1eae96,this['_localCacheService']=_0xa2670,this[_0x16d164(0x2ec)]=_0x2bf682,this['_messageService']=_0x4a3efb,this[_0x16d164(0x337)]=_0x285945,this[_0x16d164(0x2a6)]=_0x28f16f,this[_0x16d164(0x1ea)](),this[_0x16d164(0x251)]();}[_0x20aa44(0x1ea)](){const _0x12e802=_0x20aa44;this[_0x12e802(0x211)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x4d6e21=_0x12e802;if(this['_localCacheService'][_0x4d6e21(0x3c4)][_0x4d6e21(0x22c)])return this[_0x4d6e21(0x2a6)]['t'](_0x4d6e21(0x21f));}));}['_initEvent'](){const _0x10b231=_0x20aa44;this[_0x10b231(0x211)](this[_0x10b231(0x2ec)][_0x10b231(0x289)]['subscribe'](_0x24ef57=>{const _0x41ef0f=_0x10b231;_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x304)]&&this[_0x41ef0f(0x367)]['show']({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t']('collaboration.single-unit.warning')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3a4)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2c2))}),_0x24ef57['id']===_0x41f02e['PERMISSION_DENIED']&&this[_0x41ef0f(0x337)][_0x41ef0f(0x25d)]({'title':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x288)),'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2d1)),'type':_0x41ef0f(0x2fa),'duration':0x0}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x294)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2c2))+'('+_0x24ef57[_0x41ef0f(0x1f3)]+')'}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3a2)]&&this['_messageService']['show']({'type':_0x3d848[_0x41ef0f(0x393)],'content':this['_localeService']['t'](_0x24ef57[_0x41ef0f(0x1f3)]||'')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x339)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t']('session.will-retry')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3d2)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this['_localeService']['t']('session.connection-failed')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x223)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this[_0x41ef0f(0x2a6)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x136b95),B(0x1,_0x375e08),B(0x2,_0x346bad(_0x1a1bc1)),B(0x3,_0x158f3c),B(0x4,_0x3dabe8),B(0x5,_0x346bad(_0x385db0))],ie);const nn=_0x20aa44(0x266),st={},Pt=_0x2db783(_0x20aa44(0x267));var rn=Object[_0x20aa44(0x382)],on=(_0x36ef0d,_0x2b1d8b,_0x2dd13d,_0x4282cd)=>{const _0xa23a27=_0x20aa44;for(var _0xa8c42b=_0x4282cd>0x1?void 0x0:_0x4282cd?rn(_0x2b1d8b,_0x2dd13d):_0x2b1d8b,_0x3a7f4e=_0x36ef0d[_0xa23a27(0x2ef)]-0x1,_0x3b0c14;_0x3a7f4e>=0x0;_0x3a7f4e--)(_0x3b0c14=_0x36ef0d[_0x3a7f4e])&&(_0xa8c42b=_0x3b0c14(_0xa8c42b)||_0xa8c42b);return _0xa8c42b;},K=(_0x164f0b,_0xf6854e)=>(_0x450623,_0x1f8c5a)=>_0xf6854e(_0x450623,_0x1f8c5a,_0x164f0b);let ne=class extends _0xa38ff1{constructor(_0x561808,_0x46cc73,_0x417635,_0x15058d,_0x2dca8b){const _0x30785d=_0x20aa44;super(),this[_0x30785d(0x39f)]=_0x561808,this[_0x30785d(0x3d7)]=_0x46cc73,this['_commandService']=_0x417635,this[_0x30785d(0x3e2)]=_0x15058d,_0x2dca8b?_0x2dca8b==null||_0x2dca8b[_0x30785d(0x395)]()[_0x30785d(0x385)](()=>this[_0x30785d(0x2eb)]()):(this[_0x30785d(0x3d7)][_0x30785d(0x22e)](_0x30785d(0x361),_0x30785d(0x203)),this['_init']());}async[_0x20aa44(0x2eb)](){const _0x2febbd=_0x20aa44,_0x44096c=this[_0x2febbd(0x39f)][_0x2febbd(0x3ce)](_0x2febbd(0x3d3)),_0x5c71ff=this[_0x2febbd(0x39f)][_0x2febbd(0x3ce)](_0x2febbd(0x2df)),_0x11fb39=this['_urlService']['getParam'](_0x2febbd(0x3e4));if(!_0x44096c||!_0x5c71ff){this['_logService'][_0x2febbd(0x22e)](_0x2febbd(0x361),_0x2febbd(0x2f8));return;}const _0x27bc0f=await this[_0x2febbd(0x3e2)]['loadUnit'](_0x44096c,Number(_0x5c71ff),_0x11fb39);_0x27bc0f&&_0x27bc0f instanceof _0x390340&&this[_0x2febbd(0x225)](_0x27bc0f);}async[_0x20aa44(0x225)](_0x1e6e2d){const _0x5a6aea=_0x20aa44;await this[_0x5a6aea(0x297)](_0x1e6e2d),_0x1e6e2d[_0x5a6aea(0x354)][_0x5a6aea(0x2ed)](_0x521e1e(this[_0x5a6aea(0x31f)]))[_0x5a6aea(0x3cd)](_0x38e219=>{const _0x1907c5=_0x5a6aea;_0x38e219&&this[_0x1907c5(0x287)](_0x38e219);}),this['_urlService'][_0x5a6aea(0x28c)][_0x5a6aea(0x2ed)](_0x521e1e(this['dispose$']))[_0x5a6aea(0x3cd)](()=>this['_updateSubUnitFromURLParams'](_0x1e6e2d));}['_updateURLWithCurrentState'](_0x593bde,_0x392d04=!0x1){const _0xa0307b=_0x20aa44,_0x5026fb=this[_0xa0307b(0x39f)][_0xa0307b(0x3ce)]('subunit');_0x593bde[_0xa0307b(0x276)]()!==_0x5026fb&&this['_urlService'][_0xa0307b(0x296)](_0xa0307b(0x3e4),_0x593bde['getSheetId'](),_0x392d04);}async[_0x20aa44(0x297)](_0x28814b){const _0x50c2ba=_0x20aa44;var _0x21ff47;const _0xd3f669=this[_0x50c2ba(0x39f)][_0x50c2ba(0x3ce)](_0x50c2ba(0x3e4));if(!_0xd3f669||!_0x28814b['getSheetBySheetId'](_0xd3f669)){const _0x3c1e0c=_0x28814b[_0x50c2ba(0x2f9)]()[0x0],_0x425a11=_0x28814b[_0x50c2ba(0x206)](_0x3c1e0c);if(!_0x425a11)return;this[_0x50c2ba(0x287)](_0x425a11,!0x0),await this['_commandService'][_0x50c2ba(0x2e2)](_0x42e9cc['id'],{'unitId':_0x28814b[_0x50c2ba(0x34b)](),'subUnitId':_0x3c1e0c});return;}((_0x21ff47=_0x28814b[_0x50c2ba(0x36e)]())==null?void 0x0:_0x21ff47[_0x50c2ba(0x276)]())!==_0xd3f669&&await this[_0x50c2ba(0x3dc)][_0x50c2ba(0x2e2)](_0x42e9cc['id'],{'unitId':_0x28814b[_0x50c2ba(0x34b)](),'subUnitId':_0xd3f669});}};ne=on([K(0x0,Pt),K(0x1,_0x55786b),K(0x2,_0x5afe24),K(0x3,_0x346bad(_0x5c1a56)),K(0x4,_0x19e74d(_0x3670d7))],ne);var an=Object[_0x20aa44(0x382)],cn=(_0x5b7d92,_0x4f41de,_0x3bd23e,_0x11a084)=>{const _0x287783=_0x20aa44;for(var _0x1e8dd7=_0x11a084>0x1?void 0x0:_0x11a084?an(_0x4f41de,_0x3bd23e):_0x4f41de,_0x480f38=_0x5b7d92[_0x287783(0x2ef)]-0x1,_0x3b630d;_0x480f38>=0x0;_0x480f38--)(_0x3b630d=_0x5b7d92[_0x480f38])&&(_0x1e8dd7=_0x3b630d(_0x1e8dd7)||_0x1e8dd7);return _0x1e8dd7;},Ce=(_0x4a14ed,_0x4257cf)=>(_0x565dad,_0x2a6e16)=>_0x4257cf(_0x565dad,_0x2a6e16,_0x4a14ed);let re=class{constructor(_0x1608a2,_0x10c4e6,_0x34de4f){const _0x1f8bff=_0x20aa44;this['_injector']=_0x1608a2,this[_0x1f8bff(0x38e)]=_0x10c4e6,this[_0x1f8bff(0x36a)]=_0x34de4f;}[_0x20aa44(0x2e1)](_0x43b13e){const _0x12f326=_0x20aa44;this['_transformUndoRedoStack'](_0x43b13e),this[_0x12f326(0x28b)](_0x43b13e);}[_0x20aa44(0x21e)](_0x35f84e){const _0x10ed1f=_0x20aa44,{unitID:_0x143e50}=_0x35f84e,_0x45193f=this[_0x10ed1f(0x36a)][_0x10ed1f(0x1f8)](_0x143e50)[_0x10ed1f(0x378)](_0xc52433),{redoCache:_0xcbd14d}=_0x45193f[_0x10ed1f(0x3ad)]();if(_0xcbd14d[_0x10ed1f(0x2ef)]===0x0)return _0x35f84e;let _0x4ba4d9=_0x50e642['deepClone'](_0x35f84e[_0x10ed1f(0x1e5)][0x0]);for(let _0x47ac1c=0x0;_0x47ac1c<_0xcbd14d[_0x10ed1f(0x2ef)];_0x47ac1c++){const _0x4f2674={'id':_0x10ed1f(0x22a),'params':{..._0xcbd14d[_0x47ac1c]}},_0x4ad8d6=this['_transformService'][_0x10ed1f(0x1e7)](_0x4ba4d9,_0x4f2674,!0x1);if(_0x3b86aa(_0x4ad8d6))throw _0x4ad8d6[_0x10ed1f(0x2fa)];_0x4ba4d9=_0x4ad8d6[_0x10ed1f(0x22d)];}return{..._0x50e642[_0x10ed1f(0x1fd)](_0x35f84e),'mutations':[_0x4ba4d9]};}['_transformUndoRedoStack'](_0x21ed97){const _0x4abfe1=_0x20aa44,{unitID:_0x10b856}=_0x21ed97,_0xa48419=this[_0x4abfe1(0x36a)][_0x4abfe1(0x1f8)](_0x10b856)[_0x4abfe1(0x378)](_0xc52433),{undoCache:_0x476db0,redoCache:_0x510653}=_0xa48419[_0x4abfe1(0x3ad)]();if(_0x476db0[_0x4abfe1(0x2ef)]===0x0||_0x510653[_0x4abfe1(0x2ef)]===0x0)return;const _0x4fd154=[],_0x1d0243=[];let _0x3ae286=_0x50e642[_0x4abfe1(0x1fd)](_0x21ed97[_0x4abfe1(0x1e5)][0x0]),_0x45c6a5=_0x50e642[_0x4abfe1(0x1fd)](_0x21ed97[_0x4abfe1(0x1e5)][0x0]);for(let _0x18e74f=_0x476db0[_0x4abfe1(0x2ef)]-0x1;_0x18e74f>=0x0;_0x18e74f--){const _0x35fb99={'id':_0x4abfe1(0x22a),'params':{..._0x476db0[_0x18e74f]}},_0x44ee6c={'id':_0x4abfe1(0x22a),'params':{..._0x510653[_0x18e74f]}},_0x1814a1=this[_0x4abfe1(0x38e)]['transformMutation'](_0x3ae286,_0x35fb99,!0x1),_0x43249d=this[_0x4abfe1(0x38e)][_0x4abfe1(0x1e7)](_0x45c6a5,_0x44ee6c,!0x1);if(_0x3b86aa(_0x1814a1))throw _0x1814a1[_0x4abfe1(0x2fa)];if(_0x3b86aa(_0x43249d))throw _0x43249d[_0x4abfe1(0x2fa)];_0x4fd154['unshift'](_0x1814a1[_0x4abfe1(0x26e)]['params']),_0x1d0243[_0x4abfe1(0x222)](_0x43249d[_0x4abfe1(0x26e)][_0x4abfe1(0x314)]),_0x3ae286=_0x1814a1[_0x4abfe1(0x22d)],_0x45c6a5=_0x43249d[_0x4abfe1(0x22d)];}_0xa48419[_0x4abfe1(0x3c8)]({'undoCache':_0x4fd154,'redoCache':_0x1d0243});}[_0x20aa44(0x28b)](_0xa6813c){const _0x360442=_0x20aa44,{unitID:_0x2a79de}=_0xa6813c,_0x44333d=this['_renderManagerService'][_0x360442(0x1f8)](_0x2a79de)[_0x360442(0x378)](_0xc52433),_0x234396=_0x44333d['getActiveRange']();if(_0x234396==null)return;const _0x325f3b=[{'id':_0x360442(0x22a),'params':{'unitId':_0xa6813c[_0x360442(0x3a7)],'actions':null,'textRanges':[_0x234396]}}],_0x23b294=this[_0x360442(0x38e)][_0x360442(0x369)](_0xa6813c,_0x325f3b);if(!_0x777fa3(_0x23b294))throw _0x23b294[_0x360442(0x2fa)];const _0x13d465=_0x23b294[_0x360442(0x26e)][0x0][_0x360442(0x314)][_0x360442(0x249)];Array[_0x360442(0x302)](_0x13d465)&&_0x13d465['length']&&_0x44333d['setActiveRange'](_0x13d465[0x0]);}};re=cn([Ce(0x0,_0x346bad(_0x286e8d)),Ce(0x1,_0x540bcf),Ce(0x2,_0xe67b4)],re);var ln=Object[_0x20aa44(0x382)],_n=(_0x3b3152,_0x5ef12a,_0x3224fc,_0x89aa7e)=>{const _0x3dc0ed=_0x20aa44;for(var _0x123de0=_0x89aa7e>0x1?void 0x0:_0x89aa7e?ln(_0x5ef12a,_0x3224fc):_0x5ef12a,_0x4c82d9=_0x3b3152[_0x3dc0ed(0x2ef)]-0x1,_0x40e0f0;_0x4c82d9>=0x0;_0x4c82d9--)(_0x40e0f0=_0x3b3152[_0x4c82d9])&&(_0x123de0=_0x40e0f0(_0x123de0)||_0x123de0);return _0x123de0;},Ee=(_0x5a79eb,_0x488bfc)=>(_0xecb3b9,_0x44056a)=>_0x488bfc(_0xecb3b9,_0x44056a,_0x5a79eb);let oe=class{constructor(_0x505b58,_0x2369c3,_0x5da086){const _0x12b49b=_0x20aa44;this[_0x12b49b(0x3bd)]=_0x505b58,this[_0x12b49b(0x38e)]=_0x2369c3,this[_0x12b49b(0x333)]=_0x5da086;}[_0x20aa44(0x359)](_0x17b23b){const _0x262f18=_0x20aa44;this[_0x262f18(0x232)](_0x17b23b);}[_0x20aa44(0x21e)](_0x1df8c3){const _0x45bf91=_0x20aa44,{unitID:_0x7578f0}=_0x1df8c3,{collaboration:_0xe6f69e}=this['_docStateChangeManagerService'][_0x45bf91(0x2f3)](_0x7578f0);if(_0xe6f69e[_0x45bf91(0x2ef)]===0x0)return _0x1df8c3;let _0x3f092d=_0x50e642[_0x45bf91(0x1fd)](_0x1df8c3['mutations'][0x0]);for(let _0x30717f=0x0;_0x30717f<_0xe6f69e[_0x45bf91(0x2ef)];_0x30717f++){const _0x299e57={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe6f69e[_0x30717f][_0x45bf91(0x241)],..._0xe6f69e[_0x30717f][_0x45bf91(0x3a5)]}},_0x260d9b=this[_0x45bf91(0x38e)][_0x45bf91(0x1e7)](_0x3f092d,_0x299e57,!0x1);if(_0x3b86aa(_0x260d9b))throw _0x260d9b[_0x45bf91(0x2fa)];_0x3f092d=_0x260d9b[_0x45bf91(0x22d)];}return{..._0x50e642[_0x45bf91(0x1fd)](_0x1df8c3),'mutations':[_0x3f092d]};}['_transformHistoryAndStateStack'](_0x3b1059){const _0x45074b=_0x20aa44,{unitID:_0x5bb628}=_0x3b1059,{history:_0x34c9a7,collaboration:_0x5c1957}=this[_0x45074b(0x333)]['getStateCache'](_0x5bb628);if(_0x34c9a7[_0x45074b(0x2ef)]===0x0&&_0x5c1957['length']===0x0)return;const _0x4ceb1b=[],_0x3a9320=[];let _0xb782cc=_0x50e642[_0x45074b(0x1fd)](_0x3b1059[_0x45074b(0x1e5)][0x0]),_0x9c87b4=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]);for(let _0x23f4ca=_0x34c9a7[_0x45074b(0x2ef)]-0x1;_0x23f4ca>=0x0;_0x23f4ca--){const _0x530930={'id':_0x45074b(0x22a),'params':{'unitId':_0x34c9a7[_0x23f4ca]['unitId'],..._0x34c9a7[_0x23f4ca]['undoState']}},_0x5ae36f={'id':_0x45074b(0x22a),'params':{'unitId':_0x34c9a7[_0x23f4ca][_0x45074b(0x241)],..._0x34c9a7[_0x23f4ca]['redoState']}},_0xb7b8a3=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0xb782cc,_0x530930,!0x1),_0x589f07=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0x9c87b4,_0x5ae36f,!0x1);if(_0x3b86aa(_0xb7b8a3))throw _0xb7b8a3['error'];if(_0x3b86aa(_0x589f07))throw _0x589f07[_0x45074b(0x2fa)];_0x4ceb1b[_0x45074b(0x222)]({..._0x34c9a7[_0x23f4ca],'undoState':_0xb7b8a3[_0x45074b(0x26e)][_0x45074b(0x314)],'redoState':_0x589f07[_0x45074b(0x26e)]['params']}),_0xb782cc=_0xb7b8a3['m1Prime'],_0x9c87b4=_0x589f07[_0x45074b(0x22d)];}_0xb782cc=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]),_0x9c87b4=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]);for(let _0x1061f2=_0x5c1957[_0x45074b(0x2ef)]-0x1;_0x1061f2>=0x0;_0x1061f2--){const _0x24513c={'id':_0x45074b(0x22a),'params':{'unitId':_0x5c1957[_0x1061f2]['unitId'],..._0x5c1957[_0x1061f2][_0x45074b(0x23f)]}},_0x1edd9b={'id':_0x45074b(0x22a),'params':{'unitId':_0x5c1957[_0x1061f2][_0x45074b(0x241)],..._0x5c1957[_0x1061f2][_0x45074b(0x3a5)]}},_0x2e3b88=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0xb782cc,_0x24513c,!0x1),_0x500c2b=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0x9c87b4,_0x1edd9b,!0x1);if(_0x3b86aa(_0x2e3b88))throw _0x2e3b88['error'];if(_0x3b86aa(_0x500c2b))throw _0x500c2b[_0x45074b(0x2fa)];_0x3a9320[_0x45074b(0x222)]({..._0x5c1957[_0x1061f2],'undoState':_0x2e3b88[_0x45074b(0x26e)][_0x45074b(0x314)],'redoState':_0x500c2b[_0x45074b(0x26e)][_0x45074b(0x314)]}),_0xb782cc=_0x2e3b88[_0x45074b(0x22d)],_0x9c87b4=_0x500c2b[_0x45074b(0x22d)];}this[_0x45074b(0x333)][_0x45074b(0x220)](_0x5bb628,{'history':_0x4ceb1b,'collaboration':_0x3a9320});}};oe=_n([Ee(0x0,_0x346bad(_0x286e8d)),Ee(0x1,_0x540bcf),Ee(0x2,_0x346bad(_0x5e8b5f))],oe);var hn=Object[_0x20aa44(0x382)],un=(_0x23cfa0,_0x296e6e,_0x3746d4,_0x3801e7)=>{const _0x13d53f=_0x20aa44;for(var _0x512b0a=_0x3801e7>0x1?void 0x0:_0x3801e7?hn(_0x296e6e,_0x3746d4):_0x296e6e,_0x1859cd=_0x23cfa0[_0x13d53f(0x2ef)]-0x1,_0x47d8da;_0x1859cd>=0x0;_0x1859cd--)(_0x47d8da=_0x23cfa0[_0x1859cd])&&(_0x512b0a=_0x47d8da(_0x512b0a)||_0x512b0a);return _0x512b0a;},it=(_0x1cfa29,_0x14bcab)=>(_0x52a6bc,_0x1179b5)=>_0x14bcab(_0x52a6bc,_0x1179b5,_0x1cfa29);let ae=class{constructor(_0x471f38,_0x13887c){const _0x2889e1=_0x20aa44;this[_0x2889e1(0x3bd)]=_0x471f38,this['_transformService']=_0x13887c;}[_0x20aa44(0x31e)](_0xd58514){const _0x3f581f=_0x20aa44;var _0x378b0b;const _0xcd8fd6=this[_0x3f581f(0x3bd)][_0x3f581f(0x201)](_0x302227),_0x961619=(_0x378b0b=_0xcd8fd6[_0x3f581f(0x264)]())!=null?_0x378b0b:[];if(_0x961619[_0x3f581f(0x2ef)]===0x0)return;const _0x23db3a=_0xd58514[_0x3f581f(0x3a7)],_0x191337=[{'id':_0x3f581f(0x22a),'params':{'unitId':_0x23db3a,'actions':null,'textRanges':_0x961619}}],_0x13bec1=this[_0x3f581f(0x38e)][_0x3f581f(0x369)](_0xd58514,_0x191337);if(!_0x777fa3(_0x13bec1))throw _0x13bec1[_0x3f581f(0x2fa)];const _0x2da3c7=_0x13bec1['m2Prime'][0x0][_0x3f581f(0x314)][_0x3f581f(0x249)];Array['isArray'](_0x2da3c7)&&_0x2da3c7[_0x3f581f(0x2ef)]&&_0xcd8fd6[_0x3f581f(0x349)](_0x2da3c7,{'unitId':_0x23db3a,'subUnitId':_0x23db3a},!0x1);}};ae=un([it(0x0,_0x346bad(_0x286e8d)),it(0x1,_0x540bcf)],ae);var dn=Object[_0x20aa44(0x382)],fn=(_0x3767e1,_0x5209ad,_0x336b2f,_0x36997c)=>{const _0xd41f72=_0x20aa44;for(var _0x40e8a9=_0x36997c>0x1?void 0x0:_0x36997c?dn(_0x5209ad,_0x336b2f):_0x5209ad,_0x42a147=_0x3767e1[_0xd41f72(0x2ef)]-0x1,_0x183968;_0x42a147>=0x0;_0x42a147--)(_0x183968=_0x3767e1[_0x42a147])&&(_0x40e8a9=_0x183968(_0x40e8a9)||_0x40e8a9);return _0x40e8a9;},U=(_0x185aa3,_0x422a66)=>(_0xd625ee,_0x218492)=>_0x422a66(_0xd625ee,_0x218492,_0x185aa3);let ce=class extends _0x3a3eae{constructor(_0x1d5ed9,_0x5ecaa5,_0x2bd52b,_0x359ffc,_0x1d5633,_0x9a9fa0,_0x5df2a6,_0x3f8ad8){const _0x4e516f=_0x20aa44;super(),_(this,_0x4e516f(0x3d4),new _0x119cba(_0x32910b['NOT_COLLAB'])),(this[_0x4e516f(0x333)]=_0x1d5ed9,this[_0x4e516f(0x21c)]=_0x5ecaa5,this['_docTransformIMECacheService']=_0x2bd52b,this['_docTransformStateCacheService']=_0x359ffc,this[_0x4e516f(0x234)]=_0x1d5633,this[_0x4e516f(0x335)]=_0x9a9fa0,this[_0x4e516f(0x367)]=_0x5df2a6,this[_0x4e516f(0x2a6)]=_0x3f8ad8,this[_0x4e516f(0x2db)]());}[_0x20aa44(0x2db)](){const _0x5be38c=_0x20aa44;this[_0x5be38c(0x211)](this['_collaborationController'][_0x5be38c(0x350)]['subscribe'](_0x4d3475=>{const _0x2eb456=_0x5be38c,_0x50c0d8=this[_0x2eb456(0x333)][_0x2eb456(0x283)]['subscribe'](_0x3e02b2=>{const _0xe76f3b=_0x2eb456;if(_0x3e02b2==null)return;const {unitId:_0x51f5e6,redoState:_0x5e875a,commandId:_0xeb979d}=_0x3e02b2;if(_0x51f5e6!==_0x4d3475[_0xe76f3b(0x3a7)])return;const _0x2dd748={'id':_0xeb979d,'type':_0x38de8d['MUTATION'],'params':{'unitId':_0x51f5e6,'actions':_0x5e875a[_0xe76f3b(0x22f)],'textRanges':null}};_0x4d3475['onLocalMutation'](_0x2dd748);});if(_0x4d3475[_0x2eb456(0x211)](_0x50c0d8),_0x4d3475 instanceof _0x2f4c1f){const _0x4245d1={'onTransformIME':_0x33e089=>this[_0x2eb456(0x263)][_0x2eb456(0x2e1)](_0x33e089),'onTransformState':_0x38e1a0=>this[_0x2eb456(0x3b9)][_0x2eb456(0x359)](_0x38e1a0),'onTransformSelections':_0x4529fb=>this['_docTransformSelectionsService']['transformSelections'](_0x4529fb),'onSyncEditingCollabCursor':_0x3c49a2=>this[_0x2eb456(0x335)][_0x2eb456(0x27d)](_0x3c49a2),'onTransformRemoteChangesetByIMECache':_0x3b9ebf=>this['_docTransformIMECacheService'][_0x2eb456(0x21e)](_0x3b9ebf),'onTransformRemoteChangesetByStateCache':_0x1d4b1c=>this[_0x2eb456(0x3b9)][_0x2eb456(0x21e)](_0x1d4b1c)};_0x4d3475[_0x2eb456(0x36d)](_0x4245d1);}}));}};ce=fn([U(0x0,_0x346bad(_0x5e8b5f)),U(0x1,_0x346bad(_0x7af0ab)),U(0x2,_0x346bad(re)),U(0x3,_0x346bad(oe)),U(0x4,_0x346bad(ae)),U(0x5,_0x346bad(je)),U(0x6,_0x158f3c),U(0x7,_0x346bad(_0x385db0))],ce);var Sn=Object[_0x20aa44(0x382)],mn=(_0x316a08,_0x280ca0,_0x2e3da6,_0x59bef4)=>{for(var _0x1a302b=_0x59bef4>0x1?void 0x0:_0x59bef4?Sn(_0x280ca0,_0x2e3da6):_0x280ca0,_0xcbed3b=_0x316a08['length']-0x1,_0x25fb4b;_0xcbed3b>=0x0;_0xcbed3b--)(_0x25fb4b=_0x316a08[_0xcbed3b])&&(_0x1a302b=_0x25fb4b(_0x1a302b)||_0x1a302b);return _0x1a302b;},be=(_0x2c79b7,_0xa9ee1a)=>(_0x320c76,_0x2f8005)=>_0xa9ee1a(_0x320c76,_0x2f8005,_0x2c79b7);let Ae=class extends _0x3a3eae{constructor(_0x1e574f,_0x5c7ee3,_0x53651b){const _0xe04b0a=_0x20aa44;super(),_(this,'_cachedData',new Map()),_(this,_0xe04b0a(0x38d),new Map()),_(this,'_disabled',!0x1),(this[_0xe04b0a(0x320)]=_0x1e574f,this['_localStorageService']=_0x5c7ee3,this['_revisionService']=_0x53651b);}[_0x20aa44(0x321)](){const _0x5d2703=_0x20aa44;this[_0x5d2703(0x313)]=!0x0;}[_0x20aa44(0x23d)](){const _0x5efb0e=_0x20aa44;this[_0x5efb0e(0x313)]=!0x1;}get['saveTaskMap'](){const _0x513236=_0x20aa44;return this[_0x513236(0x38d)];}[_0x20aa44(0x392)](){const _0x3aa21f=_0x20aa44;this['exhaustSavingTask']()[_0x3aa21f(0x385)](()=>super[_0x3aa21f(0x392)]());}async[_0x20aa44(0x2f6)](_0x709fe8){const _0x2e8e41=_0x20aa44;return this['_disabled']?null:this[_0x2e8e41(0x280)][_0x2e8e41(0x336)](_0x4e8427(_0x709fe8));}async['saveOfflineData'](_0x2b2da2,_0x1a5cf6){const _0x19ffea=_0x20aa44;return!!this[_0x19ffea(0x280)]['setItem'](_0x2b2da2,_0x1a5cf6);}['updateOfflineData'](_0x4bbaaa,_0x385005,_0x2f68bf,_0x403af7){const _0x4a4ffb=_0x20aa44,_0x169fc7=this[_0x4a4ffb(0x352)][_0x4a4ffb(0x32f)](_0x4bbaaa);this[_0x4a4ffb(0x2a9)][_0x4a4ffb(0x3db)](_0x4bbaaa,{'unitID':_0x4bbaaa,'type':_0x385005,'awaitingChangeset':_0x2f68bf,'mutations':_0x403af7,'rev':_0x169fc7}),this[_0x4a4ffb(0x38d)]['has'](_0x4bbaaa)||this[_0x4a4ffb(0x340)](_0x4bbaaa);}['_scheduleSaving'](_0x480f6c){const _0x5308b9=_0x20aa44,_0xb5f89b=this[_0x5308b9(0x242)]();_0xb5f89b===0x0?this[_0x5308b9(0x252)](_0x480f6c):this[_0x5308b9(0x38d)]['set'](_0x480f6c,setTimeout(()=>this[_0x5308b9(0x252)](_0x480f6c),_0xb5f89b));}[_0x20aa44(0x242)](){const _0x5b5fed=_0x20aa44;var _0x242795;return(_0x242795=this[_0x5b5fed(0x320)][_0x5b5fed(0x204)](_0x4b0da4))!=null?_0x242795:_0x50d9b4;}[_0x20aa44(0x252)](_0x19967a){const _0x4ea47e=_0x20aa44,_0x376612=this['_saveTaskMap'][_0x4ea47e(0x201)](_0x19967a);return _0x376612!==void 0x0&&window['clearTimeout'](_0x376612),this[_0x4ea47e(0x280)][_0x4ea47e(0x3e0)](_0x4e8427(_0x19967a),this[_0x4ea47e(0x2a9)][_0x4ea47e(0x201)](_0x19967a))[_0x4ea47e(0x385)](()=>this[_0x4ea47e(0x38d)][_0x4ea47e(0x38a)](_0x19967a));}async['exhaustSavingTask'](){const _0x35db4f=_0x20aa44,_0x5721e2=[];this['_saveTaskMap'][_0x35db4f(0x2fe)]((_0x456223,_0x1b3cfe)=>{const _0x84a8eb=_0x35db4f;window[_0x84a8eb(0x2c8)](_0x456223),_0x5721e2[_0x84a8eb(0x253)](this[_0x84a8eb(0x252)](_0x1b3cfe)[_0x84a8eb(0x385)](()=>{this['_saveTaskMap']['delete'](_0x1b3cfe);}));}),await Promise[_0x35db4f(0x330)](_0x5721e2);}};Ae=mn([be(0x0,_0x121a15),be(0x1,_0x2957fd),be(0x2,_0x346bad(_0x1b79f9))],Ae);class gn extends _0xa38ff1{constructor(){const _0x22e0b8=_0x20aa44;super(),_(this,_0x22e0b8(0x28c)),this[_0x22e0b8(0x28c)]=_0x5574ec(window,_0x22e0b8(0x210))['pipe'](_0x521e1e(this[_0x22e0b8(0x31f)]),_0x7df511(0x1),_0xdc282d(void 0x0));}['setParam'](_0x44178f,_0x167b66,_0x5cd5b1=!0x1){const _0x1583b2=_0x20aa44,_0x528487=new URL(window[_0x1583b2(0x27a)][_0x1583b2(0x3ca)]);_0x528487[_0x1583b2(0x1f9)]['set'](_0x44178f,_0x167b66),_0x5cd5b1?window[_0x1583b2(0x360)][_0x1583b2(0x3da)]('','',_0x528487['toString']()):window[_0x1583b2(0x360)]['pushState']('','',_0x528487['toString']());}['removeParam'](_0x3b242e,_0x62a78=!0x1){const _0x2c5190=_0x20aa44,_0x38b83f=new URL(window['location']['href']);_0x38b83f[_0x2c5190(0x1f9)][_0x2c5190(0x38a)](_0x3b242e),_0x62a78?window[_0x2c5190(0x360)][_0x2c5190(0x3da)]('','',_0x38b83f[_0x2c5190(0x322)]()):window['history']['pushState']('','',_0x38b83f[_0x2c5190(0x322)]());}[_0x20aa44(0x3ce)](_0x2af603){const _0x163386=_0x20aa44;var _0x4ab550;return(_0x4ab550=new URL(window[_0x163386(0x27a)][_0x163386(0x3ca)])[_0x163386(0x1f9)][_0x163386(0x201)](_0x2af603))!=null?_0x4ab550:void 0x0;}}var vn=Object[_0x20aa44(0x345)],In=Object[_0x20aa44(0x382)],pn=(_0x4ced86,_0x4dbaca,_0x1dfecd)=>_0x4dbaca in _0x4ced86?vn(_0x4ced86,_0x4dbaca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dfecd}):_0x4ced86[_0x4dbaca]=_0x1dfecd,Cn=(_0x5b2fd4,_0x1f13e7,_0x3ec7ed,_0x643af5)=>{const _0x268bdb=_0x20aa44;for(var _0x1ae328=_0x643af5>0x1?void 0x0:_0x643af5?In(_0x1f13e7,_0x3ec7ed):_0x1f13e7,_0xa872d8=_0x5b2fd4[_0x268bdb(0x2ef)]-0x1,_0x244c6a;_0xa872d8>=0x0;_0xa872d8--)(_0x244c6a=_0x5b2fd4[_0xa872d8])&&(_0x1ae328=_0x244c6a(_0x1ae328)||_0x1ae328);return _0x1ae328;},Oe=(_0x3d964f,_0x4903d4)=>(_0x38c234,_0x2ee2ed)=>_0x4903d4(_0x38c234,_0x2ee2ed,_0x3d964f),En=(_0x464bca,_0x28a42d,_0x2b929a)=>pn(_0x464bca,_0x28a42d+'',_0x2b929a);const bn=_0x20aa44(0x259);function _0x3826(_0x443dc1,_0x3e27cc){const _0x114dd7=_0x114d();return _0x3826=function(_0x382654,_0x34f4be){_0x382654=_0x382654-0x1e2;let _0x28acaa=_0x114dd7[_0x382654];return _0x28acaa;},_0x3826(_0x443dc1,_0x3e27cc);}let ye=class extends _0x5a0d70{constructor(_0x13bc97=st,_0x244037,_0x42adce,_0x3b73c4){const _0x252595=_0x20aa44;super(),this[_0x252595(0x308)]=_0x13bc97,this[_0x252595(0x36a)]=_0x244037,this[_0x252595(0x3bd)]=_0x42adce,this[_0x252595(0x320)]=_0x3b73c4;const {..._0x112f66}=_0x35560f({},st,this['_config']);this['_configService']['setConfig'](nn,_0x112f66);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x20aa44(0x329)](){const _0xea8428=_0x20aa44;this[_0xea8428(0x39d)]();}[_0x20aa44(0x26f)](){const _0x228022=_0x20aa44;var _0x2e5a3a;const _0x4eb4bd=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x345659,{'useClass':_0x189eca}],[_0x375e08,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x244d36(this['_injector'],_0x3dccb0(_0x4eb4bd,(_0x2e5a3a=this['_config'])==null?void 0x0:_0x2e5a3a[_0x228022(0x25f)]));}[_0x20aa44(0x39d)](){const _0x488e1c=_0x20aa44;this[_0x488e1c(0x211)](this[_0x488e1c(0x36a)][_0x488e1c(0x343)](_0x28520b['UNIVER_DOC'],[we])),this[_0x488e1c(0x211)](this[_0x488e1c(0x36a)]['registerRenderModule'](_0x28520b['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x394e0e(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x20aa44(0x30f),bn),ye=Cn([_0xfdde95(_0x47c929),Oe(0x1,_0xe67b4),Oe(0x2,_0x346bad(_0x286e8d)),Oe(0x3,_0x121a15)],ye);var On=Object[_0x20aa44(0x382)],Tn=(_0x57148a,_0x229f17,_0x41b622,_0x3588af)=>{for(var _0x14f5ba=_0x3588af>0x1?void 0x0:_0x3588af?On(_0x229f17,_0x41b622):_0x229f17,_0x29892a=_0x57148a['length']-0x1,_0x3d02fb;_0x29892a>=0x0;_0x29892a--)(_0x3d02fb=_0x57148a[_0x29892a])&&(_0x14f5ba=_0x3d02fb(_0x14f5ba)||_0x14f5ba);return _0x14f5ba;},z=(_0x3fdabc,_0xf6b877)=>(_0x83bfe6,_0x17684e)=>_0xf6b877(_0x83bfe6,_0x17684e,_0x3fdabc);let nt=class extends _0x1b9d6a{constructor(_0x447568,_0x5e7184,_0x47257e,_0x1a82f0,_0x4a35f7){super(_0x447568,_0x5e7184,_0x47257e,_0x1a82f0,_0x4a35f7);}async[_0x20aa44(0x309)](_0x43bb2a){const _0x249fe7=_0x20aa44,_0x55e6e7=await this[_0x249fe7(0x217)](),_0x4ace6b=this['_createSocketURL'](_0x43bb2a,_0x55e6e7);return this[_0x249fe7(0x26b)](_0x4ace6b);}[_0x20aa44(0x36b)](_0x4aad74,_0x2d0b0f){const _0x4d2f07=_0x20aa44,_0x1342c7=typeof window>'u'?new URL(_0x4aad74):new URL(_0x4aad74,window[_0x4d2f07(0x27a)][_0x4d2f07(0x2ce)]);_0x1342c7[_0x4d2f07(0x1f9)][_0x4d2f07(0x3db)]('sessionTicket',_0x2d0b0f);const _0x518309=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d2f07(0x27a)]['search']);return _0x518309[_0x4d2f07(0x201)](_0x4d2f07(0x2ad))&&_0x1342c7['searchParams'][_0x4d2f07(0x3db)](_0x4d2f07(0x2ad),_0x518309['get']('runId')),_0x1342c7[_0x4d2f07(0x322)]();}async[_0x20aa44(0x217)](){const _0x161d78=_0x20aa44;var _0x5b3268,_0x8f4d2f,_0x135763;const _0x3af196=this[_0x161d78(0x320)][_0x161d78(0x204)](_0x2f6b30),_0xeb58f9=(_0x5b3268=_0x3af196==null?void 0x0:_0x3af196[_0x161d78(0x328)])!=null?_0x5b3268:_0x3585ef;return(_0x135763=(_0x8f4d2f=(await this['_httpService']['get'](_0xeb58f9,{'headers':{'Content-Type':_0x161d78(0x2d2)}}))['body'])==null?void 0x0:_0x8f4d2f[_0x161d78(0x1ec)])!=null?_0x135763:'';}};nt=Tn([z(0x0,_0x346bad(_0x286e8d)),z(0x1,_0x346bad(_0x5bc36a)),z(0x2,_0x121a15),z(0x3,_0x55786b),z(0x4,_0x1eb555)],nt);const rt=0x7530,ot=_0x20aa44(0x358);class Gn extends _0x3a3eae{constructor(){const _0x28f66a=_0x20aa44;super(),_(this,'_id',_0x221c85()),_(this,_0x28f66a(0x1f6),new Set()),_(this,_0x28f66a(0x396),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x28f66a(0x286),new Map()),_(this,_0x28f66a(0x32b),new Map()),this['_init']();}[_0x20aa44(0x392)](){const _0x365a70=_0x20aa44;super[_0x365a70(0x392)](),this[_0x365a70(0x286)][_0x365a70(0x2fe)]((_0x908e1b,_0x549043)=>this['_removeClearOtherTimer'](_0x549043)),this[_0x365a70(0x1e8)]&&window[_0x365a70(0x3d8)](this[_0x365a70(0x1e8)]);}[_0x20aa44(0x305)](_0x1b10a5){const _0xd16477=_0x20aa44;return this[_0xd16477(0x372)](_0x1b10a5)[_0xd16477(0x2ed)](_0x4a25e5());}[_0x20aa44(0x318)](_0x4be62a){const _0x1c54be=_0x20aa44;this[_0x1c54be(0x1f6)][_0x1c54be(0x22c)]===0x0&&this[_0x1c54be(0x2e8)](),this[_0x1c54be(0x1f6)][_0x1c54be(0x2bd)](_0x4be62a),this[_0x1c54be(0x205)]({'type':0x0,'memberID':this[_0x1c54be(0x3bc)],'unitIDs':[_0x4be62a],'isForwarded':!0x1});}[_0x20aa44(0x2b5)](_0x17191c){const _0x2bd654=_0x20aa44;this[_0x2bd654(0x1f6)][_0x2bd654(0x38a)](_0x17191c),this['_selfUnitIDs'][_0x2bd654(0x22c)]===0x0&&this[_0x2bd654(0x1e8)]&&window[_0x2bd654(0x3d8)](this[_0x2bd654(0x1e8)]);}[_0x20aa44(0x2eb)](){const _0x33a3f5=_0x20aa44;this[_0x33a3f5(0x211)](_0xae9f63(_0x5574ec(window,_0x33a3f5(0x277))['subscribe'](_0x358152=>{const _0x236eb4=_0x33a3f5;if(_0x358152[_0x236eb4(0x228)]!==ot||!_0x358152[_0x236eb4(0x3c5)])return;const _0x262027=JSON[_0x236eb4(0x3a9)](_0x358152['newValue']);this[_0x236eb4(0x1f2)](_0x262027);}))),window[_0x33a3f5(0x2e4)](_0x33a3f5(0x36f),()=>this['_send']({'type':0x1,'memberID':this[_0x33a3f5(0x3bc)],'unitIDs':Array[_0x33a3f5(0x28d)](this[_0x33a3f5(0x1f6)])}));}[_0x20aa44(0x1f2)](_0x5ee914){const _0x222839=_0x20aa44;switch(_0x5ee914[_0x222839(0x2df)]){case 0x0:this['_handleJoinEvent'](_0x5ee914);break;case 0x1:this['_handleLeaveEvent'](_0x5ee914);break;case 0x2:this[_0x222839(0x284)](_0x5ee914);break;}}[_0x20aa44(0x23b)](_0x1df7bf){const _0x566b7c=_0x20aa44,{unitIDs:_0x39359d,memberID:_0x2edce3,isForwarded:_0x4227a4}=_0x1df7bf;_0x39359d[_0x566b7c(0x2fe)](_0x56131f=>{const _0x30b659=_0x566b7c;if(!_0x4227a4&&this[_0x30b659(0x396)][_0x30b659(0x3c9)](_0x56131f)&&this['_ensureSubject'](_0x56131f)['next'](_0x3e0989[_0x30b659(0x316)]),!this['_unitOnClients'][_0x30b659(0x3c9)](_0x56131f)||!this['_unitOnClients']['get'](_0x56131f)[_0x30b659(0x3c9)](_0x2edce3)){const _0x4154f8=this[_0x30b659(0x396)][_0x30b659(0x201)](_0x56131f)||new Set();_0x4154f8[_0x30b659(0x2bd)](_0x2edce3),this[_0x30b659(0x396)]['set'](_0x56131f,_0x4154f8),this[_0x30b659(0x24e)](_0x2edce3);}}),_0x4227a4||this[_0x566b7c(0x205)]({'type':0x0,'memberID':this[_0x566b7c(0x3bc)],'unitIDs':[...this[_0x566b7c(0x1f6)]],'isForwarded':!0x0});}[_0x20aa44(0x24e)](_0xd8452c){const _0x2c73de=_0x20aa44;this[_0x2c73de(0x2d7)](_0xd8452c);const _0x23cd0b=window['setTimeout'](()=>{const _0x55d0aa=_0x2c73de;this[_0x55d0aa(0x396)][_0x55d0aa(0x2fe)](_0x5340dd=>{const _0x495b5c=_0x55d0aa;_0x5340dd[_0x495b5c(0x38a)](_0xd8452c);});},rt*0x2);this[_0x2c73de(0x286)]['set'](_0xd8452c,_0x23cd0b);}[_0x20aa44(0x2d7)](_0x2cc97f){const _0x400614=_0x20aa44;if(this[_0x400614(0x286)]['has'](_0x2cc97f)){const _0x57821c=this[_0x400614(0x286)][_0x400614(0x201)](_0x2cc97f);_0x57821c&&window[_0x400614(0x2c8)](_0x57821c),this[_0x400614(0x286)][_0x400614(0x3db)](_0x2cc97f,null);}}[_0x20aa44(0x2bc)](_0x5d5595){const _0x3a4692=_0x20aa44,{memberID:_0x3cafca,unitIDs:_0x3c8bcf}=_0x5d5595;_0x3c8bcf[_0x3a4692(0x2fe)](_0x5db1a8=>{const _0x597616=_0x3a4692;var _0x4da9d4;const _0x76b7ef=this[_0x597616(0x396)][_0x597616(0x201)](_0x5db1a8);_0x76b7ef&&(_0x76b7ef[_0x597616(0x38a)](_0x3cafca),(_0x4da9d4=this[_0x597616(0x372)](_0x5db1a8))==null||_0x4da9d4[_0x597616(0x29e)](_0x76b7ef['size']===0x0?_0x3e0989['NO_OTHER_CLIENTS_EDITING']:_0x3e0989[_0x597616(0x316)]));}),this[_0x3a4692(0x2d7)](_0x3cafca);}[_0x20aa44(0x284)](_0x32b2d6){const _0x37e5d7=_0x20aa44;this['_scheduleClearOtherTimer'](_0x32b2d6[_0x37e5d7(0x390)]);}[_0x20aa44(0x205)](_0x56d461){const _0x2536ca=_0x20aa44;localStorage[_0x2536ca(0x3e0)](ot,JSON[_0x2536ca(0x35f)](_0x56d461));}[_0x20aa44(0x2e8)](){const _0x4cfe69=_0x20aa44;this[_0x4cfe69(0x1e8)]=window[_0x4cfe69(0x389)](()=>{const _0x4d66c1=_0x4cfe69;this[_0x4d66c1(0x205)]({'type':0x2,'memberID':this[_0x4d66c1(0x3bc)]});},rt);}['_ensureSubject'](_0x1d35bc){const _0xcb37a4=_0x20aa44;return this[_0xcb37a4(0x32b)][_0xcb37a4(0x3c9)](_0x1d35bc)||this['_unitStatus'][_0xcb37a4(0x3db)](_0x1d35bc,new _0x119cba(_0x3e0989[_0xcb37a4(0x238)])),this[_0xcb37a4(0x32b)]['get'](_0x1d35bc);}}var wt=(_0xf4f3da=>(_0xf4f3da[_0xf4f3da[_0x20aa44(0x3b0)]=0x0]='UNDEFINED',_0xf4f3da[_0xf4f3da['OK']=0x1]='OK',_0xf4f3da[_0xf4f3da[_0x20aa44(0x3e5)]=0x2]=_0x20aa44(0x3e5),_0xf4f3da[_0xf4f3da[_0x20aa44(0x380)]=0x3]=_0x20aa44(0x380),_0xf4f3da[_0xf4f3da[_0x20aa44(0x20f)]=0x4]='NOT_FOUND',_0xf4f3da[_0xf4f3da[_0x20aa44(0x247)]=0x5]=_0x20aa44(0x247),_0xf4f3da[_0xf4f3da['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xf4f3da[_0xf4f3da[_0x20aa44(0x38c)]=0x7]=_0x20aa44(0x38c),_0xf4f3da[_0xf4f3da[_0x20aa44(0x230)]=0x8]=_0x20aa44(0x230),_0xf4f3da[_0xf4f3da[_0x20aa44(0x307)]=0x9]='COMPLETION_FINISHED',_0xf4f3da[_0xf4f3da[_0x20aa44(0x1e9)]=0xa]=_0x20aa44(0x1e9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2cb)]=0x1389]=_0x20aa44(0x2cb),_0xf4f3da[_0xf4f3da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xf4f3da[_0xf4f3da[_0x20aa44(0x3d6)]=0x1772]=_0x20aa44(0x3d6),_0xf4f3da[_0xf4f3da[_0x20aa44(0x21a)]=0x1773]=_0x20aa44(0x21a),_0xf4f3da[_0xf4f3da[_0x20aa44(0x27e)]=0x1b59]='APPLY_REJECT',_0xf4f3da[_0xf4f3da[_0x20aa44(0x290)]=0x1b5a]=_0x20aa44(0x290),_0xf4f3da[_0xf4f3da['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xf4f3da[_0xf4f3da['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x20aa44(0x3ac),_0xf4f3da[_0xf4f3da['APPLY_DUPLICATED']=0x1b5d]=_0x20aa44(0x2ee),_0xf4f3da[_0xf4f3da['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x20aa44(0x275),_0xf4f3da[_0xf4f3da[_0x20aa44(0x30e)]=0x2329]=_0x20aa44(0x30e),_0xf4f3da[_0xf4f3da[_0x20aa44(0x334)]=0x232a]=_0x20aa44(0x334),_0xf4f3da[_0xf4f3da[_0x20aa44(0x3cc)]=0x232b]=_0x20aa44(0x3cc),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2b9)]=0x232c]=_0x20aa44(0x2b9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x24d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xf4f3da[_0xf4f3da[_0x20aa44(0x2b1)]=0x2711]=_0x20aa44(0x2b1),_0xf4f3da[_0xf4f3da[_0x20aa44(0x364)]=0x2712]=_0x20aa44(0x364),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2d9)]=0x2713]=_0x20aa44(0x2d9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x327)]=0x2714]=_0x20aa44(0x327),_0xf4f3da[_0xf4f3da[_0x20aa44(0x39c)]=0x271a]=_0x20aa44(0x39c),_0xf4f3da[_0xf4f3da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x20aa44(0x3b8),_0xf4f3da[_0xf4f3da[_0x20aa44(0x3a8)]=0x2af9]=_0x20aa44(0x3a8),_0xf4f3da[_0xf4f3da[_0x20aa44(0x268)]=0x2ee1]=_0x20aa44(0x268),_0xf4f3da[_0xf4f3da['INVALID_INVITE_CODE']=0x2ee2]=_0x20aa44(0x371),_0xf4f3da[_0xf4f3da[_0x20aa44(0x31d)]=0x2ee3]=_0x20aa44(0x31d),_0xf4f3da[_0xf4f3da['USER_NOT_INVITED_CODE']=0x2ee4]=_0x20aa44(0x315),_0xf4f3da[_0xf4f3da[_0x20aa44(0x221)]=0x2ee5]=_0x20aa44(0x221),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2bf)]=0x32c9]=_0x20aa44(0x2bf),_0xf4f3da[_0xf4f3da[_0x20aa44(0x351)]=0x32ca]=_0x20aa44(0x351),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2bb)]=0x32cb]=_0x20aa44(0x2bb),_0xf4f3da[_0xf4f3da[_0x20aa44(0x219)]=-0x1]='UNRECOGNIZED',_0xf4f3da))(wt||{}),Rn=Object[_0x20aa44(0x382)],Dn=(_0x14e8d0,_0x27f4b3,_0x558de0,_0x2c33f5)=>{for(var _0x2126b2=_0x2c33f5>0x1?void 0x0:_0x2c33f5?Rn(_0x27f4b3,_0x558de0):_0x27f4b3,_0x5a45be=_0x14e8d0['length']-0x1,_0x52bb2e;_0x5a45be>=0x0;_0x5a45be--)(_0x52bb2e=_0x14e8d0[_0x5a45be])&&(_0x2126b2=_0x52bb2e(_0x2126b2)||_0x2126b2);return _0x2126b2;},Te=(_0x431e8b,_0x283656)=>(_0x449445,_0x469910)=>_0x283656(_0x449445,_0x469910,_0x431e8b);let at=class extends _0x3a3eae{constructor(_0xb1a0a4,_0x299b94,_0x461f6e){const _0x2e1562=_0x20aa44;super(),this['_instanceService']=_0xb1a0a4,this[_0x2e1562(0x2b0)]=_0x299b94,this[_0x2e1562(0x320)]=_0x461f6e;}async[_0x20aa44(0x34d)](_0x519197,_0x18b57a,_0x2029d5,..._0x1229fa){const _0x10235a=_0x20aa44;var _0x403f64,_0x1a79c1,_0x36bd94,_0x4bc1c4;const _0x41f22e=this[_0x10235a(0x341)][_0x10235a(0x2dc)]();if(!_0x41f22e)throw new Error(_0x10235a(0x3d5));const _0x44e3e7=((_0x403f64=this['_configService'][_0x10235a(0x204)](_0x764cc5))!=null?_0x403f64:_0x3a231b)+'/'+_0x519197+_0x10235a(0x317)+_0x18b57a,_0x3ae409=new URL(window['location']['href']),_0x163264={'scriptId':_0x519197,'runId':(_0x1a79c1=_0x3ae409[_0x10235a(0x1f9)]['get'](_0x10235a(0x2ad)))!=null?_0x1a79c1:'','function':_0x18b57a,'unitId':_0x41f22e[_0x10235a(0x34b)](),'argsOfFunction':JSON[_0x10235a(0x35f)](_0x1229fa),'invokeId':(_0x36bd94=_0x2029d5[_0x10235a(0x366)])!=null?_0x36bd94:'','executionId':(_0x4bc1c4=_0x2029d5[_0x10235a(0x2a1)])!=null?_0x4bc1c4:''};try{const _0x2491c0=await this[_0x10235a(0x2b0)][_0x10235a(0x365)](_0x44e3e7,{'body':_0x163264});return _0x2491c0[_0x10235a(0x295)][_0x10235a(0x2fa)]&&_0x2491c0[_0x10235a(0x295)][_0x10235a(0x2fa)][_0x10235a(0x2aa)]!==wt['OK']?_0x10235a(0x20b):_0x2491c0['body']['result'];}catch{return _0x10235a(0x20b);}}};at=Dn([Te(0x0,_0x19a897),Te(0x1,_0x346bad(_0x5bc36a)),Te(0x2,_0x121a15)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x44f8d6=_0x5938;(function(_0x13c72c,_0x35861f){const _0x578c87=_0x5938,_0xe572fa=_0x13c72c();while(!![]){try{const _0x50ca3f=-parseInt(_0x578c87(0x11a))/0x1+-parseInt(_0x578c87(0x115))/0x2+parseInt(_0x578c87(0x116))/0x3+-parseInt(_0x578c87(0x111))/0x4+parseInt(_0x578c87(0x113))/0x5*(-parseInt(_0x578c87(0x11f))/0x6)+-parseInt(_0x578c87(0x117))/0x7+parseInt(_0x578c87(0x11e))/0x8;if(_0x50ca3f===_0x35861f)break;else _0xe572fa['push'](_0xe572fa['shift']());}catch(_0x2fc44b){_0xe572fa['push'](_0xe572fa['shift']());}}}(_0x2031,0x2819c));function _0x5938(_0x3c61bd,_0x4dacf8){const _0x203109=_0x2031();return _0x5938=function(_0x5938d2,_0x59a6a0){_0x5938d2=_0x5938d2-0x109;let _0x40166b=_0x203109[_0x5938d2];return _0x40166b;},_0x5938(_0x3c61bd,_0x4dacf8);}const e={'collab-client':{'tooltip':{'reconnect':_0x44f8d6(0x10a)}},'collabStatus':{'fetchMiss':_0x44f8d6(0x10f),'conflict':_0x44f8d6(0x10c),'notCollab':_0x44f8d6(0x118),'synced':'Synced','syncing':_0x44f8d6(0x114),'offline':_0x44f8d6(0x110)},'session':{'connection-failed':_0x44f8d6(0x10e),'will-retry':_0x44f8d6(0x119),'room-full':_0x44f8d6(0x10d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x44f8d6(0x109),'content':_0x44f8d6(0x11b)},'permission':{'title':_0x44f8d6(0x11c),'content':_0x44f8d6(0x112)},'collaboration':{'single-unit':{'warning':_0x44f8d6(0x10b)},'closeRoom':_0x44f8d6(0x120)},'auth':{'needGotoLoginAlert':_0x44f8d6(0x11d)}};function _0x2031(){const _0x4964b3=['Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','111630ICKskT','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.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3448824WEgSjj','36qNzPNU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','148248lvulcy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','22865UvHaku','Syncing...','597342pqxFad','722088srPJOP','229222KdWVan'];_0x2031=function(){return _0x4964b3;};return _0x2031();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x505d8e=_0x4e7e;function _0x4e7e(_0x8d542,_0x21495d){const _0x55ce44=_0x55ce();return _0x4e7e=function(_0x4e7e68,_0x503be8){_0x4e7e68=_0x4e7e68-0x17f;let _0x28f966=_0x55ce44[_0x4e7e68];return _0x28f966;},_0x4e7e(_0x8d542,_0x21495d);}(function(_0x517cb5,_0x34e0eb){const _0x547aab=_0x4e7e,_0x39270a=_0x517cb5();while(!![]){try{const _0x40e80b=-parseInt(_0x547aab(0x18f))/0x1+-parseInt(_0x547aab(0x183))/0x2+-parseInt(_0x547aab(0x189))/0x3+-parseInt(_0x547aab(0x190))/0x4+-parseInt(_0x547aab(0x180))/0x5+parseInt(_0x547aab(0x18b))/0x6+parseInt(_0x547aab(0x191))/0x7;if(_0x40e80b===_0x34e0eb)break;else _0x39270a['push'](_0x39270a['shift']());}catch(_0x2ae222){_0x39270a['push'](_0x39270a['shift']());}}}(_0x55ce,0xc75a6));const o={'collab-client':{'tooltip':{'reconnect':_0x505d8e(0x193)}},'collabStatus':{'fetchMiss':_0x505d8e(0x184),'conflict':_0x505d8e(0x185),'notCollab':_0x505d8e(0x181),'synced':_0x505d8e(0x192),'syncing':_0x505d8e(0x18e),'offline':_0x505d8e(0x182)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x505d8e(0x18d),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x505d8e(0x18a)},'conflict':{'title':_0x505d8e(0x194),'content':_0x505d8e(0x18c)},'permission':{'title':_0x505d8e(0x188),'content':_0x505d8e(0x186)},'collaboration':{'single-unit':{'warning':_0x505d8e(0x187)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x505d8e(0x17f)}};function _0x55ce(){const _0x5ae941=['ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2780145BoIbJu','پرونده\x20محلی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','1103790rLtxVp','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','خطای\x20اعتبارسنجی','4500309LIAfHy','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3862932XnIrGH','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','در\x20حال\x20همگام\x20سازی...','1287988TgREnW','1965296hjMqtc','31920469POCKbP','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20همکاری'];_0x55ce=function(){return _0x5ae941;};return _0x55ce();}export{o as default};
|