@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-nightly.202504111607
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 +15 -15
package/lib/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 _0x513d9e=_0x4744;(function(_0x33c646,_0x56d17){const _0x14f3ee=_0x4744,_0x323f55=_0x33c646();while(!![]){try{const _0x37cbb6=parseInt(_0x14f3ee(0x20b))/0x1*(-parseInt(_0x14f3ee(0x21c))/0x2)+-parseInt(_0x14f3ee(0x22b))/0x3+parseInt(_0x14f3ee(0x11d))/0x4+parseInt(_0x14f3ee(0x16f))/0x5*(-parseInt(_0x14f3ee(0x164))/0x6)+-parseInt(_0x14f3ee(0x2be))/0x7+-parseInt(_0x14f3ee(0x2b0))/0x8*(-parseInt(_0x14f3ee(0x112))/0x9)+-parseInt(_0x14f3ee(0x24b))/0xa*(-parseInt(_0x14f3ee(0x1b8))/0xb);if(_0x37cbb6===_0x56d17)break;else _0x323f55['push'](_0x323f55['shift']());}catch(_0xc3307f){_0x323f55['push'](_0x323f55['shift']());}}}(_0x377c,0x45b5a));var Bt=Object[_0x513d9e(0x1a2)],kt=(_0x5508eb,_0x310b48,_0x2da9c2)=>_0x310b48 in _0x5508eb?Bt(_0x5508eb,_0x310b48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2da9c2}):_0x5508eb[_0x310b48]=_0x2da9c2,_=(_0x1f254f,_0x553792,_0x57e6c9)=>kt(_0x1f254f,typeof _0x553792!=_0x513d9e(0x2a7)?_0x553792+'':_0x553792,_0x57e6c9);import{MemberService as _0x255e27,SessionStatus as _0x2c8872,CollaborationSessionService as _0x935ffe,CollaborationStatus as _0x1f0bee,CollaborationController as _0x44a7ae,ILocalCacheService as _0x29a577,CollaborationUIEventService as _0x485cad,CollaborationUIEventId as _0x430fa5,DataLoaderService as _0x5b29ad,DocCollaborationEntity as _0x3085e3,getLocalCacheKey as _0x1469d3,LOCAL_CACHE_INTERVAL as _0x30e09d,LOCAL_CACHE_INTERVAL_KEY as _0x3f60fe,UniverCollaborationClientPlugin as _0x5699ed,CollaborationSocketService as _0x3ef059,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa077a1,DEFAULT_WS_SESSION_TICKET_URL as _0x4443a5,UnitStatus as _0x5acfba,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c942b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1de839}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2e496d,Disposable as _0x4dc13d,DOC_RANGE_TYPE as _0x28d8f1,Inject as _0x4e2b5a,Injector as _0x5eb6e0,IUniverInstanceService as _0x2e22e9,ICommandService as _0x66d318,debounce as _0x84c60a,Rectangle as _0x5324b5,DisposableCollection as _0x394c9f,toDisposable as _0x157122,UniverInstanceType as _0x33f165,Tools as _0x4cc9fc,COLORS as _0x327089,ColorKit as _0x526ced,ThemeService as _0x465549,fromEventSubject as _0x5c29dc,LocaleService as _0x55f656,createIdentifier as _0x5a5776,ILogService as _0x39d4b2,Optional as _0x21ad8b,Workbook as _0x4c118c,CommandType as _0x5e67eb,IConfigService as _0x4718d4,ILocalStorageService as _0x30992d,DependentOn as _0x10073b,Plugin as _0x49b229,merge as _0x2498c3,registerDependencies as _0x3fbeef,mergeOverrideWithDependencies as _0x50ab32,touchDependencies as _0x5b4f50,generateRandomId as _0x6dfb36}from'@univerjs/core';import{Shape as _0x36fecd,Rect as _0x17ef8e,getColor as _0x5ec915,RegularPolygon as _0x2a5205,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xf0f7d3,Vector2 as _0x5aa9d0,SHEET_VIEWPORT_KEY as _0x350b3a,IRenderManagerService as _0x1eedb5}from'@univerjs/engine-render';import{ISocketService as _0x52e1b8,WebSocketService as _0x4166f2,HTTPService as _0x4d9384}from'@univerjs/network';import{IDocClipboardService as _0x412b0a,NodePositionConvertToCursor as _0x2e4ebe,NodePositionConvertToRectRange as _0x590e53,TEXT_RANGE_LAYER_INDEX as _0x2ac4fc,SetDocZoomRatioOperation as _0x50c6bb,DocIMEInputManagerService as _0x339e7a,DocStateChangeManagerService as _0x55395b}from'@univerjs/docs-ui';import{IImageIoService as _0x1d2b28}from'@univerjs/drawing';import{BehaviorSubject as _0x2f60b9,debounceTime as _0x1a3296,takeUntil as _0x2522f4,Subject as _0x4a8821,filter as _0x2a61a0,switchMap as _0x380740,merge as _0x4ec83b,combineLatest as _0x56fbfa,of as _0xa04f1e,fromEvent as _0xfbfcc7,shareReplay as _0x2468a5,mapTo as _0x389fda,distinctUntilChanged as _0x5ac49d}from'rxjs';import{SetTextSelectionsOperation as _0xf96d27,RichTextEditingMutation as _0x216da0,DocSelectionManagerService as _0x562654,DocSkeletonManagerService as _0x436b9e}from'@univerjs/docs';import{ITransformService as _0x259b8d,CollaborationEvent as _0x524840,isTransformMutationFailure as _0x3ad4c3,isTransformMutationsWithChangesetSuccess as _0x6d680,RevisionService as _0x983c6e,ISnapshotServerService as _0x31a2a6}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x594df8,serializeRangeWithSheet as _0x67f079}from'@univerjs/engine-formula';import{RefRangeService as _0x17ab85,SetSelectionsOperation as _0x459c44,SheetsSelectionsService as _0x20ae9d,EffectRefRangId as _0x3ad89a,handleIRemoveRow as _0xb78a7a,handleIRemoveCol as _0x1fc585,handleMoveRange as _0x296006,handleInsertRow as _0x55648f,handleInsertRangeMoveRight as _0x1ef458,handleInsertRangeMoveDown as _0x468c6e,handleInsertCol as _0x21d222,handleDeleteRangeMoveUp as _0x214fc3,handleDeleteRangeMoveLeft as _0x126355,runRefRangeMutations as _0x12d87a,SetWorksheetActivateCommand as _0x553df3}from'@univerjs/sheets';import{map as _0x4437ae,filter as _0x3a14e3,throttleTime as _0x192d2e,takeUntil as _0xd4745b,switchMap as _0xda0866}from'rxjs/operators';import{SheetSkeletonManagerService as _0x47e953,getCoordByCell as _0x1e4bb8,getSheetObject as _0x550559}from'@univerjs/sheets-ui';import{jsx as _0x199a0b,jsxs as _0x389d33}from'react/jsx-runtime';import{useObservable as _0x82dde9,useDependency as _0x497f29,IUIPartsService as _0x35daec,BuiltInUIPart as _0x5ae2fd,connectInjector as _0x15c856,IBeforeCloseService as _0x124c5a,IMessageService as _0x40ced4,INotificationService as _0x33bf60}from'@univerjs/ui';import{clsx as _0x2cc606,Tooltip as _0x463880,MessageType as _0x134975}from'@univerjs/design';import{forwardRef as _0x45275f,useRef as _0x476bab,createElement as _0x27978c,useCallback as _0x4de3fb}from'react';import{IRemoteInstanceService as _0x486dd4}from'@univerjs/rpc';var li=Object[_0x513d9e(0x2c4)],_i=(_0x4ec90,_0x60c2d7,_0x3226d6,_0x4ee2c3)=>{const _0x2e41ab=_0x513d9e;for(var _0xea513=_0x4ee2c3>0x1?void 0x0:_0x4ee2c3?li(_0x60c2d7,_0x3226d6):_0x60c2d7,_0x515095=_0x4ec90[_0x2e41ab(0x1f0)]-0x1,_0x2ca07d;_0x515095>=0x0;_0x515095--)(_0x2ca07d=_0x4ec90[_0x515095])&&(_0xea513=_0x2ca07d(_0xea513)||_0xea513);return _0xea513;},Qe=(_0x1526e8,_0x2c3d47)=>(_0x2ec614,_0x2c1275)=>_0x2c3d47(_0x2ec614,_0x2c1275,_0x1526e8);let Me=class extends _0x2e496d{constructor(_0x2d22d8,_0x4ac972){const _0x29f641=_0x513d9e;super(),this['_docClipboardService']=_0x2d22d8,this[_0x29f641(0x278)]=_0x4ac972,this[_0x29f641(0x119)]();}['_init'](){const _0xb89780=_0x513d9e,_0x3371ba=this;this[_0xb89780(0x1ab)](this[_0xb89780(0x1ed)]['addClipboardHook']({'onBeforePasteImage':async _0x1fec83=>{const _0x3e6fc9=_0xb89780,_0x8a3830=await _0x3371ba['_imageIoService'][_0x3e6fc9(0x1f8)](_0x1fec83);return _0x8a3830?{'source':_0x8a3830[_0x3e6fc9(0x193)],'imageSourceType':_0x8a3830['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x412b0a),Qe(0x1,_0x1d2b28)],Me);const qe=[_0x513d9e(0x2d5),_0x513d9e(0x165),_0x513d9e(0x10e),_0x513d9e(0x243),'blue400',_0x513d9e(0x234)];class He extends _0x4dc13d{constructor(){const _0x3e8d79=_0x513d9e;super(...arguments),_(this,_0x3e8d79(0x13f),new Map()),_(this,'_colorIndex',0x0);}[_0x513d9e(0x185)](_0x196e0b){const _0x3aa682=_0x513d9e;if(this['_assignedColors']['has'](_0x196e0b))return this[_0x3aa682(0x13f)][_0x3aa682(0x1a4)](_0x196e0b);const _0x148d1f=qe[this[_0x3aa682(0x16c)]];return this[_0x3aa682(0x16c)]=(this['_colorIndex']+0x1)%qe[_0x3aa682(0x1f0)],this[_0x3aa682(0x13f)][_0x3aa682(0x287)](_0x196e0b,_0x148d1f),_0x148d1f;}}function Dt(_0x1bbc3d){const _0x220bd9=_0x513d9e;let _0x1f26ac='';for(const _0x2bde5b of _0x1bbc3d){const {startOffset:_0x5bce63,endOffset:_0xf85a0f,isActive:_0x5ccc85,rangeType:_0x1eb23a,segmentId:_0x56a6b9,segmentPage:_0x3a817c}=_0x2bde5b;_0x1f26ac[_0x220bd9(0x1f0)]&&(_0x1f26ac+=','),_0x1f26ac+=_0x5bce63+':'+_0xf85a0f+':'+(_0x5ccc85?'1':'0')+':'+_0x1eb23a+':'+_0x56a6b9+':'+_0x3a817c;}return _0x1f26ac;}function hi(_0x546cfc){const _0x3ddac7=_0x513d9e,_0x4f771b=_0x546cfc[_0x3ddac7(0xf1)](','),_0x2963ab=[];for(const _0x202fff of _0x4f771b){const [_0x19112e,_0x2ad577,_0x2743c1,_0x314e1c,_0x185b02,_0x58547a]=_0x202fff[_0x3ddac7(0xf1)](':');_0x2963ab[_0x3ddac7(0x295)]({'startOffset':Number(_0x19112e),'endOffset':Number(_0x2ad577),'collapsed':_0x19112e===_0x2ad577,'isActive':_0x2743c1==='1','rangeType':_0x314e1c===_0x28d8f1[_0x3ddac7(0x12f)]?_0x28d8f1[_0x3ddac7(0x12f)]:_0x28d8f1[_0x3ddac7(0x1db)],'segmentId':typeof _0x185b02==_0x3ddac7(0x273)?String(_0x185b02):'','segmentPage':Number(_0x58547a!=null?_0x58547a:-0x1)});}return _0x2963ab['some'](_0x506f3d=>_0x506f3d['isActive'])||(_0x2963ab[0x0][_0x3ddac7(0x1bb)]=!0x0),_0x2963ab;}class je extends _0x2e496d{constructor(){const _0x440b14=_0x513d9e;super(...arguments),_(this,_0x440b14(0x121),new _0x2f60b9(null)),_(this,_0x440b14(0x1ff),this[_0x440b14(0x121)][_0x440b14(0x14f)]());}['syncEditingCollabCursor'](_0x1160f3){const _0x929d9a=_0x513d9e,{unitID:_0xc91a13,memberID:_0xdc1219,textRanges:_0x53d918}=_0x1160f3,_0x1af048=Dt(_0x53d918);if(_0x1af048==='')return;const _0x46582a={'unitID':_0xc91a13,'memberID':_0xdc1219,'selection':_0x1af048};this[_0x929d9a(0x121)][_0x929d9a(0x20f)](_0x46582a);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0xe1dfc6,_0x4bceca,_0x39c393,_0x57466f)=>{const _0x5a2f33=_0x513d9e;for(var _0x2cb3ee=_0x57466f>0x1?void 0x0:_0x57466f?ui(_0x4bceca,_0x39c393):_0x4bceca,_0x335866=_0xe1dfc6[_0x5a2f33(0x1f0)]-0x1,_0x21f035;_0x335866>=0x0;_0x335866--)(_0x21f035=_0xe1dfc6[_0x335866])&&(_0x2cb3ee=_0x21f035(_0x2cb3ee)||_0x2cb3ee);return _0x2cb3ee;},U=(_0x3bf9d0,_0x2a4a07)=>(_0x21dbae,_0x26ab5a)=>_0x2a4a07(_0x21dbae,_0x26ab5a,_0x3bf9d0);const fi=0x12c,Si=0x64;let Pe=class extends _0x2e496d{constructor(_0x1a40cb,_0x216740,_0x3e956b,_0x16b17f,_0x13fc1c,_0x2a223c,_0x5bc10c,_0x508065,_0xc68408){const _0x5a96c3=_0x513d9e;super(),_(this,_0x5a96c3(0x237),!0x1),_(this,_0x5a96c3(0x119),!0x1),_(this,_0x5a96c3(0x140),new _0x2f60b9(new Map())),_(this,_0x5a96c3(0x283),this['_cursorInfo$'][_0x5a96c3(0x14f)]()),_(this,'_roomMembers$',new _0x2f60b9([])),_(this,'roomMembers$',this[_0x5a96c3(0x1b9)][_0x5a96c3(0x230)](_0x1a3296(fi))),_(this,_0x5a96c3(0x179),_0x84c60a(_0x3c993a=>{const _0xa84563=_0x5a96c3,_0x5e9500={'eventID':_0x524840[_0xa84563(0x14b)],'data':{'unitID':this[_0xa84563(0x19b)],'memberID':this[_0xa84563(0x116)][_0xa84563(0x2d8)](),'selection':Dt(_0x3c993a)}};this[_0xa84563(0x116)][_0xa84563(0x18e)](_0x5e9500,this['unitID']);},Si)),(this['unitID']=_0x1a40cb,this[_0x5a96c3(0x116)]=_0x216740,this['_injector']=_0x3e956b,this[_0x5a96c3(0x1c7)]=_0x16b17f,this[_0x5a96c3(0x2df)]=_0x13fc1c,this[_0x5a96c3(0x178)]=_0x2a223c,this[_0x5a96c3(0x228)]=_0x5bc10c,this['_univerInstanceService']=_0x508065,this['_commandService']=_0xc68408);}get[_0x513d9e(0x109)](){const _0x4947de=_0x513d9e;return this['_cursorInfo$'][_0x4947de(0x1ae)]();}get[_0x513d9e(0x145)](){const _0x17d278=_0x513d9e;return this['_roomMembers$'][_0x17d278(0x1ae)]();}[_0x513d9e(0x19f)](){const _0x4b9d0b=_0x513d9e;super[_0x4b9d0b(0x19f)](),this[_0x4b9d0b(0x140)][_0x4b9d0b(0x20f)](new Map()),this['_cursorInfo$'][_0x4b9d0b(0x20a)](),this[_0x4b9d0b(0x1b9)]['next']([]),this['_roomMembers$'][_0x4b9d0b(0x20a)]();}[_0x513d9e(0x19c)](){const _0x3d9cb4=_0x513d9e;this['_init']||(this[_0x3d9cb4(0x119)]=!0x0,this['_session'][_0x3d9cb4(0x1d3)][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x16c23d=>{const _0x37571b=_0x3d9cb4;_0x16c23d===_0x2c8872[_0x37571b(0x1e3)]?this[_0x37571b(0xfb)]():this[_0x37571b(0x17d)]();}),this['_session'][_0x3d9cb4(0x169)][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x22b01a=>{const _0x1a3fe7=_0x3d9cb4,_0x1dcaa2=_0x22b01a[_0x1a3fe7(0x1bd)];_0x1dcaa2===_0x524840[_0x1a3fe7(0x14b)]&&this[_0x1a3fe7(0x20e)](_0x22b01a),_0x1dcaa2===_0x524840[_0x1a3fe7(0x14a)]&&this[_0x1a3fe7(0x108)](_0x22b01a);}),this[_0x3d9cb4(0x1ab)](this[_0x3d9cb4(0x294)][_0x3d9cb4(0x1e5)](_0x51d9cc=>{const _0x5e5076=_0x3d9cb4,_0x8a34be=_0x51d9cc[_0x5e5076(0x1f7)];_0x8a34be!=null&&this[_0x5e5076(0x237)]&&_0x51d9cc['id']===_0xf96d27['id']&&_0x8a34be[_0x5e5076(0x2c1)]===this[_0x5e5076(0x19b)]&&_0x8a34be[_0x5e5076(0x2b8)]===!0x1&&_0x8a34be[_0x5e5076(0xfd)][_0x5e5076(0x1f0)]>0x0&&this[_0x5e5076(0x179)](_0x8a34be['ranges']);})),this[_0x3d9cb4(0x178)]['collabCursorState$'][_0x3d9cb4(0x230)](_0x2522f4(this[_0x3d9cb4(0x107)]))[_0x3d9cb4(0x2ac)](_0x1c00e8=>{const _0x4b2d80=_0x3d9cb4;if((_0x1c00e8==null?void 0x0:_0x1c00e8[_0x4b2d80(0x19b)])!==this[_0x4b2d80(0x19b)])return;const _0x470a22={'eventID':_0x524840[_0x4b2d80(0x14b)],'data':_0x1c00e8};this['_onCursorUpdate'](_0x470a22);}),this[_0x3d9cb4(0x1ab)](this[_0x3d9cb4(0x294)][_0x3d9cb4(0x1e5)](_0x4dd208=>{const _0x32078e=_0x3d9cb4;if(_0x4dd208[_0x32078e(0x1f7)]==null)return;const _0x46c728=_0x4dd208[_0x32078e(0x1f7)];if(_0x4dd208['id']!==_0x216da0['id']||_0x46c728['unitId']!==this[_0x32078e(0x19b)])return;const _0x1a512c={'id':_0x32078e(0x1de),'params':_0x46c728},_0x4cb1a1=this[_0x32078e(0x109)];for(const [_0x5da47b,_0x50350a]of _0x4cb1a1){const _0x56b4f5={'id':_0x32078e(0x1de),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50350a[_0x32078e(0xfd)]}},_0x3f7def=this[_0x32078e(0x228)]['transformMutation'](_0x1a512c,_0x56b4f5,!0x1);if(_0x3ad4c3(_0x3f7def))throw _0x3f7def[_0x32078e(0x2b7)];_0x4cb1a1['set'](_0x5da47b,{..._0x50350a,'ranges':_0x3f7def[_0x32078e(0x2c3)][_0x32078e(0x1f7)][_0x32078e(0x2bc)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4cb1a1);});})));}[_0x513d9e(0x20e)](_0x2c11a7){const _0x5915ff=_0x513d9e;var _0x122ae1,_0x4aae6d;const {memberID:_0x1ef5aa,selection:_0x55b06e}=_0x2c11a7[_0x5915ff(0x1f5)],_0xcc808b=hi(_0x55b06e),_0xaa7c39=(_0x4aae6d=(_0x122ae1=this[_0x5915ff(0x2df)][_0x5915ff(0x1a6)](this[_0x5915ff(0x19b)],_0x1ef5aa))==null?void 0x0:_0x122ae1[_0x5915ff(0x1c5)])!=null?_0x4aae6d:_0x5915ff(0x229),_0x4e2b12={'color':this[_0x5915ff(0x1c7)][_0x5915ff(0x185)](_0x1ef5aa),'name':_0xaa7c39,'ranges':_0xcc808b},_0x4d3aaa=this[_0x5915ff(0x109)];_0x4d3aaa[_0x5915ff(0x287)](_0x1ef5aa,_0x4e2b12),this['_cursorInfo$'][_0x5915ff(0x20f)](_0x4d3aaa);}[_0x513d9e(0x108)](_0x5562e9){const _0x456814=_0x513d9e,{memberID:_0xb0d188}=_0x5562e9['data'],_0x494151=this[_0x456814(0x109)];_0x494151[_0x456814(0x159)](_0xb0d188),this[_0x456814(0x140)][_0x456814(0x20f)](_0x494151);}['_toggleOnline'](){const _0xe08057=_0x513d9e;var _0x3c2653;if(this[_0xe08057(0x237)]=!0x0,((_0x3c2653=this[_0xe08057(0x173)][_0xe08057(0x19d)]())==null?void 0x0:_0x3c2653[_0xe08057(0x26a)]())!==this[_0xe08057(0x19b)])return;const _0x326584=this[_0xe08057(0x202)][_0xe08057(0x1a4)](_0x562654)[_0xe08057(0x208)]();Array['isArray'](_0x326584)&&_0x326584[_0xe08057(0x1f0)]>0x0&&this[_0xe08057(0x179)](_0x326584);}[_0x513d9e(0x17d)](){this['_online']=!0x1;}};Pe=di([U(0x2,_0x4e2b5a(_0x5eb6e0)),U(0x3,_0x4e2b5a(He)),U(0x4,_0x4e2b5a(_0x255e27)),U(0x5,_0x4e2b5a(je)),U(0x6,_0x259b8d),U(0x7,_0x2e22e9),U(0x8,_0x66d318)],Pe);var mi=Object[_0x513d9e(0x2c4)],gi=(_0x15a478,_0x19e450,_0x4be49f,_0x2c4330)=>{const _0x4d9637=_0x513d9e;for(var _0x4070f1=_0x2c4330>0x1?void 0x0:_0x2c4330?mi(_0x19e450,_0x4be49f):_0x19e450,_0x53d09e=_0x15a478[_0x4d9637(0x1f0)]-0x1,_0x4a0649;_0x53d09e>=0x0;_0x53d09e--)(_0x4a0649=_0x15a478[_0x53d09e])&&(_0x4070f1=_0x4a0649(_0x4070f1)||_0x4070f1);return _0x4070f1;},x=(_0x24944e,_0x17b82d)=>(_0x3a79a,_0x37b4a0)=>_0x17b82d(_0x3a79a,_0x37b4a0,_0x24944e);const vi=0x12c,Ii=0x64,pi=()=>{let _0x27cc94=[],_0x553edf=!0x1;return _0x3b1e85=>{const _0xceb47f=_0x4744;_0x27cc94[_0xceb47f(0x295)](_0x3b1e85),_0x553edf||(_0x553edf=!0x0,setTimeout(()=>{_0x27cc94['forEach'](_0x1004c3=>_0x1004c3()),_0x27cc94=[],_0x553edf=!0x1;}));};};let we=class extends _0x2e496d{constructor(_0x5466a7,_0x5ab2ef,_0x7b4859,_0x33fdbb,_0x4ce0d6,_0x21dfd1,_0x151f16,_0x18af25){const _0x5baac4=_0x513d9e;super(),_(this,_0x5baac4(0x237),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x2f60b9(new Map())),_(this,_0x5baac4(0x283),this[_0x5baac4(0x140)][_0x5baac4(0x14f)]()),_(this,_0x5baac4(0x1b9),new _0x2f60b9([])),_(this,'roomMembers$',this[_0x5baac4(0x1b9)][_0x5baac4(0x230)](_0x1a3296(vi))),_(this,'_updateLocalCursor',_0x84c60a((_0x233092,_0x38eefb)=>{const _0x5ecebe=_0x5baac4,_0x467f68={'eventID':_0x524840[_0x5ecebe(0x14b)],'data':{'unitID':this[_0x5ecebe(0x19b)],'memberID':this[_0x5ecebe(0x116)][_0x5ecebe(0x2d8)](),'selection':_0x67f079(_0x233092,_0x38eefb[_0x5ecebe(0x12d)])}};this[_0x5ecebe(0x116)]['send'](_0x467f68,this[_0x5ecebe(0x19b)]);},Ii)),(this['unitID']=_0x5466a7,this['_session']=_0x5ab2ef,this[_0x5baac4(0x202)]=_0x7b4859,this[_0x5baac4(0x1c7)]=_0x33fdbb,this[_0x5baac4(0x2df)]=_0x4ce0d6,this[_0x5baac4(0x173)]=_0x21dfd1,this[_0x5baac4(0x294)]=_0x151f16,this['_refRangeService']=_0x18af25);}get[_0x513d9e(0x109)](){const _0x1e3502=_0x513d9e;return this[_0x1e3502(0x140)]['getValue']();}get[_0x513d9e(0x145)](){const _0x1f88ec=_0x513d9e;return this[_0x1f88ec(0x1b9)][_0x1f88ec(0x1ae)]();}[_0x513d9e(0x19f)](){const _0x2b0dc1=_0x513d9e;super[_0x2b0dc1(0x19f)](),this[_0x2b0dc1(0x140)][_0x2b0dc1(0x20f)](new Map()),this[_0x2b0dc1(0x140)][_0x2b0dc1(0x20a)](),this['_roomMembers$'][_0x2b0dc1(0x20f)]([]),this[_0x2b0dc1(0x1b9)][_0x2b0dc1(0x20a)]();}[_0x513d9e(0x19c)](){const _0x436921=_0x513d9e;this[_0x436921(0x119)]||(this[_0x436921(0x119)]=!0x0,this[_0x436921(0x116)]['sessionStatus$'][_0x436921(0x230)](_0x2522f4(this[_0x436921(0x107)]))[_0x436921(0x2ac)](_0x4ad2d8=>{_0x4ad2d8===_0x2c8872['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x436921(0x230)](_0x2522f4(this['dispose$']))[_0x436921(0x2ac)](_0x4bd1ce=>{const _0x103527=_0x436921,_0x57c0a6=_0x4bd1ce['eventID'];_0x57c0a6===_0x524840[_0x103527(0x14b)]&&this[_0x103527(0x20e)](_0x4bd1ce),_0x57c0a6===_0x524840['USERS_LEAVE']&&this[_0x103527(0x108)](_0x4bd1ce);}),this[_0x436921(0x1b0)](),this[_0x436921(0x1ab)](this['_commandService'][_0x436921(0x1e5)](_0x5caf16=>{const _0x4d994f=_0x436921;if(this['_online']&&_0x5caf16['id']===_0x459c44['id']&&_0x5caf16[_0x4d994f(0x1f7)]['unitId']===this[_0x4d994f(0x19b)]){const _0x29a2ed=_0x5caf16[_0x4d994f(0x1f7)];this[_0x4d994f(0x179)](_0x29a2ed[_0x4d994f(0x20c)],_0x29a2ed[_0x4d994f(0x25a)][0x0]);}})));}[_0x513d9e(0x20e)](_0x1505fa){const _0x145225=_0x513d9e;var _0x1c567b,_0x353c33;const {memberID:_0x3055d5,selection:_0x12547f}=_0x1505fa['data'],{sheetName:_0x56746e,range:_0x502b17}=_0x594df8(_0x12547f),_0x22f09d={'name':(_0x353c33=(_0x1c567b=this[_0x145225(0x2df)]['getMember'](this['unitID'],_0x3055d5))==null?void 0x0:_0x1c567b[_0x145225(0x1c5)])!=null?_0x353c33:_0x145225(0x229),'range':this['_getMergeRange'](_0x56746e,_0x502b17),'sheetID':_0x56746e,'color':this[_0x145225(0x1c7)][_0x145225(0x185)](_0x3055d5),'selection':_0x12547f},_0x112f96=this[_0x145225(0x109)];_0x112f96[_0x145225(0x287)](_0x3055d5,_0x22f09d),this[_0x145225(0x140)][_0x145225(0x20f)](_0x112f96);}[_0x513d9e(0x108)](_0x1aad32){const _0x53d9e0=_0x513d9e,{memberID:_0x1434d4}=_0x1aad32[_0x53d9e0(0x1f5)],_0x260521=this[_0x53d9e0(0x109)];_0x260521[_0x53d9e0(0x159)](_0x1434d4),this[_0x53d9e0(0x140)][_0x53d9e0(0x20f)](_0x260521);}[_0x513d9e(0x2e2)](_0x336234,_0x4b986b){const _0x380b9c=_0x513d9e;var _0x3e09d1,_0x31504c;const _0x353265=(_0x31504c=(_0x3e09d1=this[_0x380b9c(0x173)]['getUniverSheetInstance'](this[_0x380b9c(0x19b)]))==null?void 0x0:_0x3e09d1['getSheetBySheetId'](_0x336234))==null?void 0x0:_0x31504c[_0x380b9c(0x21a)]();return(_0x353265==null?void 0x0:_0x353265['find'](_0x469465=>_0x5324b5[_0x380b9c(0x172)](_0x469465,_0x4b986b)))||_0x4b986b;}['_onRefRangeChange'](){const _0x5975d7=_0x513d9e,_0x82b287=new _0x394c9f(),_0x44ea94=pi(),_0x572336=()=>{const _0x18b7cd=_0x4744;_0x82b287['dispose']();const _0x5b857e=(_0x21f906,_0x2d23a6,_0x19bb48,_0x14df1e)=>{const _0x4d566e=_0x4744;let _0x1838ca=[];switch(_0x21f906['id']){case _0x3ad89a['DeleteRangeMoveLeftCommandId']:{_0x1838ca=_0x126355(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0xf8)]:{_0x1838ca=_0x214fc3(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x222)]:{_0x1838ca=_0x21d222(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x253)]:{_0x1838ca=_0x468c6e(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x2ab)]:{_0x1838ca=_0x1ef458(_0x21f906,_0x14df1e);break;}case _0x3ad89a['InsertRowCommandId']:{_0x1838ca=_0x55648f(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x2b5)]:{_0x1838ca=_0x296006(_0x21f906,_0x14df1e);break;}case _0x3ad89a[_0x4d566e(0x29f)]:{_0x1838ca=_0x1fc585(_0x21f906,_0x14df1e);break;}case _0x3ad89a['RemoveRowCommandId']:{_0x1838ca=_0xb78a7a(_0x21f906,_0x14df1e);break;}}const _0x31174c=_0x12d87a(_0x1838ca,_0x14df1e),_0x577bae=this[_0x4d566e(0x109)][_0x4d566e(0x1a4)](_0x2d23a6);if(_0x577bae&&_0x31174c){const _0x22bca5={..._0x577bae,'range':_0x31174c};this[_0x4d566e(0x109)][_0x4d566e(0x287)](_0x2d23a6,_0x22bca5),_0x44ea94(()=>{const _0x5425da=_0x4d566e,_0x25f608=this['_refRangeService'][_0x5425da(0x1b6)](_0x31174c,_0x561aea=>(_0x25f608[_0x5425da(0x19f)](),_0x5b857e(_0x561aea,_0x2d23a6,_0x19bb48,_0x31174c)));_0x82b287[_0x5425da(0x249)](_0x25f608);});}return{'redos':[],'undos':[]};};this[_0x18b7cd(0x109)][_0x18b7cd(0x201)]((_0x2c357b,_0x491b51)=>{const _0x1d17f8=_0x18b7cd,{range:_0x434963,sheetID:_0x4bded2}=_0x2c357b,_0x140923=this['_refRangeService'][_0x1d17f8(0x1b6)](_0x434963,_0x57fb33=>(_0x140923[_0x1d17f8(0x19f)](),_0x5b857e(_0x57fb33,_0x491b51,_0x4bded2,_0x434963)));_0x82b287['add'](_0x140923);});};this['disposeWithMe'](_0x157122(this[_0x5975d7(0x140)][_0x5975d7(0x2ac)](()=>{_0x572336();})));}['_toggleOnline'](){const _0x2216e4=_0x513d9e;var _0x2dec98,_0x28cb60;if(this[_0x2216e4(0x237)]=!0x0,((_0x2dec98=this[_0x2216e4(0x173)]['getFocusedUnit']())==null?void 0x0:_0x2dec98[_0x2216e4(0x26a)]())!==this[_0x2216e4(0x19b)])return;const _0x95abf=(_0x28cb60=this[_0x2216e4(0x202)]['get'](_0x20ae9d)[_0x2216e4(0x275)]())==null?void 0x0:_0x28cb60[0x0],_0x3183c1=this['_univerInstanceService'][_0x2216e4(0x21d)](_0x33f165[_0x2216e4(0x29d)])[_0x2216e4(0x28c)]();_0x95abf&&_0x3183c1&&this['_updateLocalCursor'](_0x3183c1[_0x2216e4(0x1a0)](),_0x95abf);}[_0x513d9e(0x17d)](){this['_online']=!0x1;}};we=gi([x(0x2,_0x4e2b5a(_0x5eb6e0)),x(0x3,_0x4e2b5a(He)),x(0x4,_0x4e2b5a(_0x255e27)),x(0x5,_0x2e22e9),x(0x6,_0x66d318),x(0x7,_0x4e2b5a(_0x17ab85))],we);var Ci=Object[_0x513d9e(0x2c4)],Ei=(_0x1a51af,_0x48fd29,_0x24d7e8,_0x2ff663)=>{const _0x8eb2f3=_0x513d9e;for(var _0x1faf83=_0x2ff663>0x1?void 0x0:_0x2ff663?Ci(_0x48fd29,_0x24d7e8):_0x48fd29,_0x221245=_0x1a51af[_0x8eb2f3(0x1f0)]-0x1,_0x5ad3f9;_0x221245>=0x0;_0x221245--)(_0x5ad3f9=_0x1a51af[_0x221245])&&(_0x1faf83=_0x5ad3f9(_0x1faf83)||_0x1faf83);return _0x1faf83;},me=(_0x46f9f0,_0x4ca9fa)=>(_0x47f507,_0x4dd826)=>_0x4ca9fa(_0x47f507,_0x4dd826,_0x46f9f0);let H=class extends _0x2e496d{constructor(_0x77eff1,_0x3d730a,_0x4b4d4b){const _0x3e663b=_0x513d9e;super(),_(this,'_entities',new Map()),_(this,_0x3e663b(0x27a),new _0x4a8821()),(this[_0x3e663b(0x173)]=_0x77eff1,this[_0x3e663b(0x202)]=_0x3d730a,this[_0x3e663b(0x21e)]=_0x4b4d4b,this[_0x3e663b(0x119)]());}[_0x513d9e(0x19f)](){const _0x1f1868=_0x513d9e;super[_0x1f1868(0x19f)](),this['_entityInit$'][_0x1f1868(0x20a)](),this[_0x1f1868(0x22f)]['forEach'](_0x2b27c1=>_0x2b27c1[_0x1f1868(0x19f)]());}[_0x513d9e(0x247)](_0x3df0bd){const _0x263667=_0x513d9e;return this[_0x263667(0x22f)][_0x263667(0x128)](_0x3df0bd)?this[_0x263667(0x22f)][_0x263667(0x1a4)](_0x3df0bd)[_0x263667(0x283)]:this['_entityInit$'][_0x263667(0x230)](_0x2a61a0(_0x422ca1=>_0x422ca1[_0x263667(0x19b)]===_0x3df0bd),_0x380740(_0x53fc4d=>_0x53fc4d['cursorInfo$']));}[_0x513d9e(0x119)](){const _0x25f1e6=_0x513d9e;this[_0x25f1e6(0x173)]['getTypeOfUnitAdded$'](_0x33f165[_0x25f1e6(0x29d)])['pipe'](_0x2522f4(this[_0x25f1e6(0x107)]))[_0x25f1e6(0x2ac)](async _0x490554=>{const _0x582fae=_0x25f1e6,_0x124d4f=_0x490554[_0x582fae(0x26a)](),_0x479b8b=await this[_0x582fae(0x28f)](_0x124d4f);this[_0x582fae(0x27a)][_0x582fae(0x20f)](_0x479b8b),this['_entities'][_0x582fae(0x287)](_0x124d4f,_0x479b8b);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x33f165[_0x25f1e6(0x240)])[_0x25f1e6(0x230)](_0x2522f4(this[_0x25f1e6(0x107)]))[_0x25f1e6(0x230)](_0x2a61a0(_0xe928d5=>!_0xe928d5['getUnitId']()['startsWith']('__')))['subscribe'](async _0x31f0ac=>{const _0x378a6d=_0x25f1e6,_0x55f187=_0x31f0ac[_0x378a6d(0x26a)](),_0x2d1221=await this['_startDocCollabCursor'](_0x55f187);this['_entityInit$']['next'](_0x2d1221),this['_entities'][_0x378a6d(0x287)](_0x55f187,_0x2d1221);}),_0x4ec83b(this[_0x25f1e6(0x173)][_0x25f1e6(0x15a)](_0x33f165[_0x25f1e6(0x240)]),this[_0x25f1e6(0x173)][_0x25f1e6(0x15a)](_0x33f165[_0x25f1e6(0x29d)]))['pipe'](_0x2522f4(this[_0x25f1e6(0x107)]))['subscribe'](_0x2e5afe=>{const _0x1ca2fd=_0x25f1e6,_0x210b47=_0x2e5afe[_0x1ca2fd(0x26a)](),_0x3e780b=this[_0x1ca2fd(0x22f)][_0x1ca2fd(0x1a4)](_0x210b47);_0x3e780b&&(_0x3e780b[_0x1ca2fd(0x19f)](),this['_entities']['delete'](_0x210b47));});}async[_0x513d9e(0x28f)](_0x5f5696){const _0x1436f3=_0x513d9e,_0x109290=await this[_0x1436f3(0x21e)]['requireSession'](_0x5f5696),_0x12477f=this['_injector']['createInstance'](we,_0x5f5696,_0x109290);return _0x12477f['init'](),_0x12477f;}async['_startDocCollabCursor'](_0xaba2f9){const _0x501953=_0x513d9e,_0x56c5e=await this[_0x501953(0x21e)][_0x501953(0x1c6)](_0xaba2f9),_0x3482b3=this[_0x501953(0x202)][_0x501953(0x1c2)](Pe,_0xaba2f9,_0x56c5e);return _0x3482b3[_0x501953(0x19c)](),_0x3482b3;}};H=Ei([me(0x0,_0x2e22e9),me(0x1,_0x4e2b5a(_0x5eb6e0)),me(0x2,_0x4e2b5a(_0x935ffe))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x303089,_0x4141c5){const _0x45d1cb=_0x513d9e;let {radius:_0x57f6ce,width:_0x495279,height:_0x30de6a}=_0x4141c5;_0x57f6ce=_0x57f6ce!=null?_0x57f6ce:0x0,_0x495279=_0x495279!=null?_0x495279:0x1e,_0x30de6a=_0x30de6a!=null?_0x30de6a:0x1e;let _0x18b6a9=0x0,_0x56d6bc=0x0,_0x4654b2=0x0;_0x18b6a9=_0x56d6bc=_0x4654b2=Math[_0x45d1cb(0x1c0)](_0x57f6ce,_0x495279/0x2,_0x30de6a/0x2),_0x303089['beginPath'](),_0x303089[_0x45d1cb(0x1e6)](_0x18b6a9,0x0),_0x303089[_0x45d1cb(0x2aa)](_0x495279-_0x56d6bc,0x0),_0x303089['arc'](_0x495279-_0x56d6bc,_0x56d6bc,_0x56d6bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x303089[_0x45d1cb(0x2aa)](_0x495279,_0x30de6a-_0x4654b2),_0x303089['arc'](_0x495279-_0x4654b2,_0x30de6a-_0x4654b2,_0x4654b2,0x0,Math['PI']/0x2,!0x1),_0x303089[_0x45d1cb(0x2aa)](0x0,_0x30de6a),_0x303089[_0x45d1cb(0x2aa)](0x0,_0x18b6a9),_0x303089['arc'](_0x18b6a9,_0x18b6a9,_0x18b6a9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x303089['closePath'](),_0x4141c5[_0x45d1cb(0x190)]&&(_0x303089[_0x45d1cb(0x252)](),_0x303089[_0x45d1cb(0x1ac)]=_0x4141c5[_0x45d1cb(0x190)],_0x4141c5[_0x45d1cb(0x281)]===_0x45d1cb(0x271)?_0x303089[_0x45d1cb(0x190)](_0x45d1cb(0x271)):_0x303089[_0x45d1cb(0x190)](),_0x303089[_0x45d1cb(0x1a5)]());}class ue extends _0x36fecd{constructor(_0x41d3c5,_0x48d94d){const _0x56f82f=_0x513d9e;super(_0x41d3c5,_0x48d94d),_(this,_0x56f82f(0x2c2)),_(this,_0x56f82f(0x1dc)),(this[_0x56f82f(0x2c2)]=_0x48d94d==null?void 0x0:_0x48d94d['color'],this['text']=_0x48d94d==null?void 0x0:_0x48d94d['text']);}static['drawWith'](_0xe1009a,_0x2e0ef8){const _0x2bb5e4=_0x513d9e,{text:_0x4b8f19,color:_0x41a68a}=_0x2e0ef8;_0xe1009a[_0x2bb5e4(0x252)](),_0xe1009a['font']=_0x2bb5e4(0x103);const _0x236092=_0xe1009a[_0x2bb5e4(0x2db)](_0x4b8f19)[_0x2bb5e4(0x113)],_0x47d1dd=Math[_0x2bb5e4(0x1c0)](_0x236092+0x2*ge,et);Oi(_0xe1009a,{'height':te,'radius':0x4,'width':_0x47d1dd,'fill':_0x41a68a}),_0xe1009a[_0x2bb5e4(0x1ac)]='#FFF';const _0x3c8c1c=ge,_0x25c988=te-bi,_0x282670=et-0x2*ge;if(_0x236092>_0x282670){let _0x2950c0='',_0x5c1f3b=0x0;for(const _0x29e87e of _0x4b8f19){const _0x3badcf=_0xe1009a[_0x2bb5e4(0x2db)](_0x29e87e)['width'];if(_0x5c1f3b+_0x3badcf<=_0x282670-_0xe1009a[_0x2bb5e4(0x2db)]('...')[_0x2bb5e4(0x113)])_0x2950c0+=_0x29e87e,_0x5c1f3b+=_0x3badcf;else{_0x2950c0+=_0x2bb5e4(0x260);break;}}_0xe1009a[_0x2bb5e4(0x130)](_0x2950c0,_0x3c8c1c,_0x25c988);}else _0xe1009a['fillText'](_0x4b8f19,_0x3c8c1c,_0x25c988);_0xe1009a[_0x2bb5e4(0x1a5)]();}['_draw'](_0xdbd11c){const _0x28f240=_0x513d9e;ue[_0x28f240(0x1b3)](_0xdbd11c,this);}}const ve=_0x513d9e(0x2e1),Ti=_0x513d9e(0x218),Ri=_0x513d9e(0x255),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x513d9e(0x1e1);class tt{constructor(_0x179f62,_0x206ec0,_0x1e6f2e,_0x4e5c10){const _0x314ad5=_0x513d9e;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x314ad5(0x2e7),null),_(this,'_anchorDot',null),_(this,_0x314ad5(0x2a1),null),_(this,_0x314ad5(0x241),null),(this[_0x314ad5(0x224)]=_0x179f62,this[_0x314ad5(0x1cd)]=_0x206ec0,this[_0x314ad5(0x18b)]=_0x1e6f2e,this['_document']=_0x4e5c10,this[_0x314ad5(0x266)]());}set['_hover'](_0x1c4e74){const _0x38f617=_0x513d9e;_0x1c4e74?(this[_0x38f617(0x26c)]&&this[_0x38f617(0x26c)][_0x38f617(0x17b)](),this[_0x38f617(0x2e7)]&&this[_0x38f617(0x2e7)][_0x38f617(0x27c)]()):(this[_0x38f617(0x26c)]&&this[_0x38f617(0x26c)][_0x38f617(0x27c)](),this['_textBubble']&&this['_textBubble'][_0x38f617(0x17b)]());}['dispose'](){const _0x378f82=_0x513d9e;for(const _0x45857c of this[_0x378f82(0x2a2)])_0x45857c[_0x378f82(0x19f)]();this[_0x378f82(0x2e7)]&&this[_0x378f82(0x2e7)][_0x378f82(0x19f)](),this[_0x378f82(0x26c)]&&this[_0x378f82(0x26c)][_0x378f82(0x19f)](),this[_0x378f82(0x246)]&&this[_0x378f82(0x246)][_0x378f82(0x19f)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x513d9e(0x266)](){const _0x370063=_0x513d9e;var _0x339540;const {_docSkeleton:_0x31c506,_document:_0x16329f}=this,{color:_0xc8d593,name:_0x2a41e4,ranges:_0x269ebc}=this[_0x370063(0x224)],_0x3fbbc6=_0x16329f[_0x370063(0x2ce)](),{docsLeft:_0x40ddd1,docsTop:_0x3640cd}=_0x3fbbc6,_0x7e9cc0=new _0x2e4ebe(_0x3fbbc6,_0x31c506);for(const {startOffset:_0x4e0695,endOffset:_0x54ebfa,rangeType:_0x2ad119,segmentId:_0x2e3768,segmentPage:_0x413a8c,collapsed:_0x1bf142,isActive:_0x1b8b9d}of _0x269ebc){const _0x4a5b4d=_0x31c506['findNodePositionByCharIndex'](_0x4e0695,!0x0,_0x2e3768,_0x413a8c);let _0x56ce7b=_0x31c506[_0x370063(0x183)](_0x54ebfa,!0x0,_0x2e3768,_0x413a8c);if(_0x56ce7b==null&&(_0x56ce7b=_0x31c506[_0x370063(0x183)](_0x54ebfa-0x1,!0x1,_0x2e3768,_0x413a8c)),_0x1b8b9d){const {contentBoxPointGroup:_0x3558ca}=_0x7e9cc0[_0x370063(0x2e4)](_0x56ce7b,_0x56ce7b);if(_0x3558ca[_0x370063(0x1f0)]===0x0)continue;this['_drawAnchor'](_0xc8d593,_0x3558ca,_0x40ddd1,_0x3640cd,_0x2a41e4),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4a5b4d&&_0x56ce7b){if(_0x2ad119===_0x28d8f1[_0x370063(0x1db)]){const _0x5cc74c=new _0x590e53(_0x3fbbc6,_0x31c506),{pointGroup:_0x2cc88b}=(_0x339540=_0x5cc74c[_0x370063(0x2e4)](_0x4a5b4d,_0x56ce7b))!=null?_0x339540:{};if(_0x2cc88b==null||_0x2cc88b['length']===0x0)continue;this['_drawRectRange'](_0xc8d593,_0x2cc88b,_0x40ddd1,_0x3640cd);}else{if(!_0x1bf142){const {borderBoxPointGroup:_0x5bfed0}=_0x7e9cc0[_0x370063(0x2e4)](_0x4a5b4d,_0x56ce7b);if(_0x5bfed0['length']===0x0)continue;this[_0x370063(0x299)](_0xc8d593,_0x5bfed0,_0x40ddd1,_0x3640cd);}}}}}['_drawAnchor'](_0x338cb0,_0xe92ffc,_0x4a4d88,_0x287244,_0x7ca8f){const _0x5522bf=_0x513d9e,_0x2090ef=this['_getAnchorBounding'](_0xe92ffc),{left:_0x5f4bf2,top:_0x4f4804,height:_0x33159f}=_0x2090ef,_0x52c69d=this[_0x5522bf(0x206)](),_0x2102bd=Ni/_0x52c69d,_0x34d9e0=new _0x17ef8e(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244,'height':_0x33159f,'width':Di,'fill':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'strokeWidth':_0x2102bd,'stroke':Mi,'evented':!0x0});this[_0x5522bf(0x246)]=_0x34d9e0,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x34d9e0,_0x2ac4fc);const _0x101c9d=new _0x17ef8e(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x338cb0||_0x5ec915(_0x327089[_0x5522bf(0x223)],0x0),'evented':!0x1});this[_0x5522bf(0x26c)]=_0x101c9d,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x101c9d,_0x2ac4fc);const _0x1a5fb8=new ue(ve+_0x4cc9fc[_0x5522bf(0x219)](X),{'left':_0x5f4bf2+_0x4a4d88-_0x2102bd,'top':_0x4f4804+_0x287244-te,'text':_0x7ca8f,'color':_0x338cb0});this['_textBubble']=_0x1a5fb8,this[_0x5522bf(0x1cd)][_0x5522bf(0x236)](_0x1a5fb8,_0x2ac4fc),this[_0x5522bf(0xef)]=!0x1;}[_0x513d9e(0x127)](){const _0x400582=_0x513d9e,_0x316d0e=this[_0x400582(0x246)][_0x400582(0x251)][_0x400582(0x264)](()=>{const _0x351c05=_0x400582;this[_0x351c05(0xef)]=!0x0;}),_0x5ab311=this[_0x400582(0x246)][_0x400582(0x137)][_0x400582(0x264)](()=>{const _0x1f9636=_0x400582;this[_0x1f9636(0x2a1)]&&clearTimeout(this[_0x1f9636(0x2a1)]),this[_0x1f9636(0x2a1)]=setTimeout(()=>{const _0x30eb27=_0x1f9636;this[_0x30eb27(0xef)]=!0x1;},0x7d0);});return()=>{const _0x3b2550=_0x400582;_0x316d0e[_0x3b2550(0x2cd)](),_0x5ab311[_0x3b2550(0x2cd)]();};}['_drawTextRange'](_0x585482,_0x33316a,_0x2007d7,_0x8864d9){const _0x539331=_0x513d9e,_0x210f87=new _0x526ced(_0x585482)[_0x539331(0x1f3)](0.2)[_0x539331(0x1e8)](),_0x3e4f63=new _0x2a5205(Ti+_0x4cc9fc[_0x539331(0x219)](X),{'pointsGroup':_0x33316a,'fill':_0x210f87||_0x5ec915(_0x327089[_0x539331(0x223)],0.2),'left':_0x2007d7,'top':_0x8864d9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x539331(0x2a2)][_0x539331(0x295)](_0x3e4f63),this[_0x539331(0x1cd)][_0x539331(0x236)](_0x3e4f63,_0x2ac4fc);}['_drawRectRange'](_0x25cf92,_0x816067,_0x541689,_0x3d3837){const _0x3de17e=_0x513d9e,_0x8a6838=new _0x526ced(_0x25cf92)[_0x3de17e(0x1f3)](0.2)[_0x3de17e(0x1e8)](),_0x3f74cd=new _0x2a5205(Ri+_0x4cc9fc[_0x3de17e(0x219)](X),{'pointsGroup':_0x816067,'fill':_0x8a6838||_0x5ec915(_0x327089['black'],0.2),'left':_0x541689,'top':_0x3d3837,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3de17e(0x2a2)]['push'](_0x3f74cd),this[_0x3de17e(0x1cd)]['addObject'](_0x3f74cd,_0x2ac4fc);}['_getAnchorBounding'](_0x50d939){const _0x4b2f08=_0x50d939[0x0],_0x76859e=_0x4b2f08[0x0],_0x42ccad=_0x4b2f08[0x2],{x:_0x50b769,y:_0x2926ab}=_0x76859e,{x:_0x241ca1,y:_0x8ae743}=_0x42ccad;return{'left':_0x50b769,'top':_0x2926ab,'width':_0x241ca1-_0x50b769,'height':_0x8ae743-_0x2926ab};}[_0x513d9e(0x206)](){const _0x5dd8a3=_0x513d9e,{scaleX:_0x3afdf2,scaleY:_0x5e67f8}=this[_0x5dd8a3(0x1cd)][_0x5dd8a3(0x288)]();return Math[_0x5dd8a3(0x2d0)](_0x3afdf2,_0x5e67f8);}}var Pi=Object[_0x513d9e(0x2c4)],wi=(_0x3cfb32,_0x3c3ca5,_0x42fe57,_0x5de01d)=>{const _0x2eb488=_0x513d9e;for(var _0x436085=_0x5de01d>0x1?void 0x0:_0x5de01d?Pi(_0x3c3ca5,_0x42fe57):_0x3c3ca5,_0x4a4405=_0x3cfb32[_0x2eb488(0x1f0)]-0x1,_0x1e7775;_0x4a4405>=0x0;_0x4a4405--)(_0x1e7775=_0x3cfb32[_0x4a4405])&&(_0x436085=_0x1e7775(_0x436085)||_0x436085);return _0x436085;},Q=(_0x268457,_0x3ea628)=>(_0x373dc,_0x5769c0)=>_0x3ea628(_0x373dc,_0x5769c0,_0x268457);let Ue=class extends _0x2e496d{constructor(_0x1da76d,_0xa2b937,_0x5757f5,_0x156128,_0x528f28){const _0xf084d5=_0x513d9e;super(),_(this,_0xf084d5(0x261),[]),_(this,_0xf084d5(0x1bf),[]),(this[_0xf084d5(0x133)]=_0x1da76d,this[_0xf084d5(0x239)]=_0xa2b937,this[_0xf084d5(0x15f)]=_0x5757f5,this[_0xf084d5(0x294)]=_0x156128,this[_0xf084d5(0x259)]=_0x528f28,this[_0xf084d5(0x119)]());}[_0x513d9e(0x119)](){const _0x59fd0c=_0x513d9e,_0x5b9501=this['_context'][_0x59fd0c(0x2c1)],_0x2b53c6=this['_docSkeletonManagerService'];this[_0x59fd0c(0x1ab)](_0x56fbfa([this[_0x59fd0c(0x15f)][_0x59fd0c(0x247)](_0x5b9501),this[_0x59fd0c(0x259)][_0x59fd0c(0x291)]])[_0x59fd0c(0x230)](_0x4437ae(([_0xdbdec8,_0xad6559])=>({'skeleton':_0x2b53c6[_0x59fd0c(0x212)](),'cursors':[..._0xdbdec8[_0x59fd0c(0x286)]()][_0x59fd0c(0x289)](_0x3bb20c=>({..._0x3bb20c,'color':_0xad6559[_0x3bb20c['color']]}))})))[_0x59fd0c(0x2ac)](_0x34e095=>{const _0x22620=_0x59fd0c;if(this[_0x22620(0x11e)](),_0x34e095){const {skeleton:_0x555761,cursors:_0x28a711}=_0x34e095;this['_updateCollabCursors'](_0x555761,_0x28a711);}})),this[_0x59fd0c(0x11f)](),this['_initCommandExecutedListener']();}[_0x513d9e(0x26f)](_0x1b3309,_0x42d353){const _0x52a8ed=_0x513d9e,{scene:_0x400e67,mainComponent:_0xcc5faf}=this[_0x52a8ed(0x133)],_0x583d90=_0x42d353[_0x52a8ed(0x220)](_0x3dc51d=>new tt(_0x3dc51d,_0x400e67,_0x1b3309,_0xcc5faf));this[_0x52a8ed(0x261)]=_0x583d90,this[_0x52a8ed(0x1bf)]=_0x42d353;}[_0x513d9e(0x2d2)](){const _0x5300ce=_0x513d9e;this[_0x5300ce(0x11e)]();const {scene:_0xf1c9f7,mainComponent:_0x2d6c71}=this[_0x5300ce(0x133)],_0x5cbb2e=this[_0x5300ce(0x239)][_0x5300ce(0x212)](),_0x62c5d8=this[_0x5300ce(0x1bf)][_0x5300ce(0x220)](_0x2f92d8=>new tt(_0x2f92d8,_0xf1c9f7,_0x5cbb2e,_0x2d6c71));this[_0x5300ce(0x261)]=_0x62c5d8;}[_0x513d9e(0x11e)](){const _0xaddabd=_0x513d9e;this[_0xaddabd(0x261)][_0xaddabd(0x201)](_0x49424b=>_0x49424b[_0xaddabd(0x19f)]()),this[_0xaddabd(0x261)]=[];}[_0x513d9e(0xf2)](){const _0x3e7717=_0x513d9e,_0x35a056=[_0x50c6bb['id']];this[_0x3e7717(0x1ab)](this['_commandService'][_0x3e7717(0x1e5)](_0x111d69=>{const _0x3aa41c=_0x3e7717;_0x35a056[_0x3aa41c(0x18c)](_0x111d69['id'])&&_0x111d69[_0x3aa41c(0x1f7)]['unitId']===this['_context'][_0x3aa41c(0x2c1)]&&this[_0x3aa41c(0x2d2)]();}));}[_0x513d9e(0x11f)](){const _0x4ccb65=_0x513d9e;this[_0x4ccb65(0x1ab)](_0x5c29dc(this[_0x4ccb65(0x133)][_0x4ccb65(0x22e)][_0x4ccb65(0xec)])[_0x4ccb65(0x230)](_0x3a14e3(_0x286431=>_0x286431[_0x4ccb65(0x2b2)]===_0xf0f7d3[_0x4ccb65(0x204)]),_0x192d2e(0x10))['subscribe'](()=>{const _0x417578=_0x4ccb65;this[_0x417578(0x2d2)]();}));}};Ue=wi([Q(0x1,_0x4e2b5a(_0x436b9e)),Q(0x2,_0x4e2b5a(H)),Q(0x3,_0x66d318),Q(0x4,_0x4e2b5a(_0x465549))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x36fecd{constructor(_0x59cfc0,_0x38ab86){const _0x2f383d=_0x513d9e;super(_0x59cfc0,_0x38ab86),_(this,_0x2f383d(0x16b)),_(this,_0x2f383d(0x11a),!0x1),_(this,_0x2f383d(0x24a)),_(this,'_name',''),_(this,'_labelPosition',_0x2f383d(0x297)),_(this,'_backgroundColor'),(_0x38ab86&&this[_0x2f383d(0x28e)](_0x38ab86),this['onPointerEnter$'][_0x2f383d(0x264)](()=>this[_0x2f383d(0x28e)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x513d9e(0x28e)](_0x4e5e29){const _0x540b51=_0x513d9e;var _0x75d04e,_0x152a77,_0x2e26b6,_0xcecbfc,_0x3cd5e0,_0x103669;this[_0x540b51(0x16b)]=(_0x75d04e=_0x4e5e29[_0x540b51(0x2c2)])!=null?_0x75d04e:this[_0x540b51(0x16b)],this[_0x540b51(0x11a)]=(_0x152a77=_0x4e5e29['hovered'])!=null?_0x152a77:this[_0x540b51(0x11a)],this['_range']=(_0x2e26b6=_0x4e5e29['range'])!=null?_0x2e26b6:this['_range'],this[_0x540b51(0x18a)]=(_0xcecbfc=_0x4e5e29[_0x540b51(0x1c5)])!=null?_0xcecbfc:this[_0x540b51(0x18a)],this[_0x540b51(0x10d)]=(_0x3cd5e0=_0x4e5e29[_0x540b51(0x2dc)])!=null?_0x3cd5e0:this[_0x540b51(0x10d)],this['_backgroundColor']=(_0x103669=_0x4e5e29[_0x540b51(0x282)])!=null?_0x103669:this['_backgroundColor'],this[_0x540b51(0x28b)]({'width':_0x4e5e29[_0x540b51(0x113)],'height':_0x4e5e29[_0x540b51(0x155)]});}['onMouseMove'](_0x5df4ac){const _0x32a621=_0x513d9e,{row:_0x38fe42,column:_0x152a28}=_0x5df4ac;if(_0x38fe42>=this[_0x32a621(0x24a)][_0x32a621(0x2e5)]&&_0x38fe42<=this['_range'][_0x32a621(0x257)]&&_0x152a28>=this['_range'][_0x32a621(0x2a8)]&&_0x152a28<=this[_0x32a621(0x24a)]['endColumn']){this[_0x32a621(0x28e)]({'hovered':!0x0});return;}this[_0x32a621(0x28e)]({'hovered':!0x1});}[_0x513d9e(0x1c9)](_0x28ebae){return!0x1;}[_0x513d9e(0xfa)](_0x5b7c0c){const _0x948226=_0x513d9e;_0x17ef8e[_0x948226(0x1b3)](_0x5b7c0c,{'width':this['width'],'height':this[_0x948226(0x155)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x948226(0x147)]}),this[_0x948226(0x11a)]&&(_0x5b7c0c['save'](),_0x5b7c0c[_0x948226(0x191)](0x1,0x0,0x0,0x1,this[_0x948226(0x113)],this[_0x948226(0x10d)]===_0x948226(0x15b)?0x0:-0x14),ue[_0x948226(0x1b3)](_0x5b7c0c,{'text':this[_0x948226(0x18a)],'color':this[_0x948226(0x16b)]}),_0x5b7c0c['restore']());}}var yi=Object[_0x513d9e(0x2c4)],$i=(_0x37e92b,_0x15cd0e,_0x4440ca,_0x4511e8)=>{for(var _0x28b757=_0x4511e8>0x1?void 0x0:_0x4511e8?yi(_0x15cd0e,_0x4440ca):_0x15cd0e,_0x5c00b3=_0x37e92b['length']-0x1,_0xf04dfa;_0x5c00b3>=0x0;_0x5c00b3--)(_0xf04dfa=_0x37e92b[_0x5c00b3])&&(_0x28b757=_0xf04dfa(_0x28b757)||_0x28b757);return _0x28b757;},pe=(_0x323345,_0x2e4339)=>(_0x18bde2,_0x1d7231)=>_0x2e4339(_0x18bde2,_0x1d7231,_0x323345);const xi=0x1389;let Le=class extends _0x2e496d{constructor(_0x35ae5d,_0x8209eb,_0x2b42d0,_0x3b5a3){const _0x179e56=_0x513d9e;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x179e56(0x133)]=_0x35ae5d,this[_0x179e56(0x2b4)]=_0x8209eb,this['_collabCursorController']=_0x2b42d0,this[_0x179e56(0x259)]=_0x3b5a3,this[_0x179e56(0x119)]());}[_0x513d9e(0x119)](){const _0x3d5d9b=_0x513d9e;this[_0x3d5d9b(0x2b4)]['currentSkeleton$'][_0x3d5d9b(0x230)](_0xd4745b(this['dispose$']),_0xda0866(_0xe7fa33=>{const _0xb9b1b=_0x3d5d9b;if(_0xe7fa33){const _0x20986c=_0xe7fa33[_0xb9b1b(0x221)];return _0x56fbfa(this[_0xb9b1b(0x15f)][_0xb9b1b(0x247)](this[_0xb9b1b(0x133)][_0xb9b1b(0x2c1)]),this[_0xb9b1b(0x259)][_0xb9b1b(0x291)])['pipe'](_0x4437ae(([_0x13e127,_0x339e51])=>{const _0x8733be=new Map();return _0x13e127['forEach']((_0x462c27,_0x20946a)=>{const _0x1f2993=_0x4744;if(_0x462c27[_0x1f2993(0x1ea)]===_0x20986c){const _0x196a7c={..._0x462c27};_0x196a7c['color']=_0x339e51[_0x462c27[_0x1f2993(0x2c2)]],_0x8733be[_0x1f2993(0x287)](_0x20946a,_0x196a7c);}}),{'skeleton':_0xe7fa33,'cursors':_0x8733be};}));}return _0xa04f1e({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x11047a,cursors:_0x290850})=>{const _0x583dcd=_0x3d5d9b;this[_0x583dcd(0x11e)](),_0x11047a&&this[_0x583dcd(0x26f)](_0x11047a,_0x290850);}),this[_0x3d5d9b(0x2b4)][_0x3d5d9b(0x1f1)][_0x3d5d9b(0x2ac)](_0xf3e1=>{const _0x226bd0=_0x3d5d9b;if(_0xf3e1==null)return;const {skeleton:_0x53e8e9}=_0xf3e1,{scene:_0xb58f83}=this[_0x226bd0(0x133)];_0xb58f83[_0x226bd0(0x1b1)][_0x226bd0(0x264)](_0x84c60a(_0x162f94=>{const _0x24915d=_0x226bd0;var _0x4d0829,_0x15594b;const {offsetX:_0x25de1a,offsetY:_0x5e7306}=_0x162f94,{x:_0x213e5f,y:_0x5141ba}=_0xb58f83[_0x24915d(0xff)](_0x5aa9d0[_0x24915d(0x227)]([_0x25de1a,_0x5e7306])),{scaleX:_0x56bc21,scaleY:_0x18fa3e}=_0xb58f83[_0x24915d(0x288)](),_0x4aa3dd=_0xb58f83[_0x24915d(0x2e3)](_0x350b3a[_0x24915d(0x262)]),_0x1d9b57=_0xb58f83[_0x24915d(0x233)](_0x5aa9d0['FromArray']([_0x213e5f,_0x5141ba]),_0x4aa3dd),_0x43a1e1=_0x53e8e9[_0x24915d(0x2ca)](_0x25de1a,_0x5e7306,_0x56bc21,_0x18fa3e,_0x1d9b57);((_0x4d0829=this[_0x24915d(0x154)])==null?void 0x0:_0x4d0829[_0x24915d(0xea)])===_0x43a1e1[_0x24915d(0xea)]&&((_0x15594b=this['_lastPointer'])==null?void 0x0:_0x15594b[_0x24915d(0x16e)])===_0x43a1e1[_0x24915d(0x16e)]||this['_cursors'][_0x24915d(0x201)](_0x1858e7=>{const _0x1c849c=_0x24915d;_0x1858e7[_0x1c849c(0x176)](_0x43a1e1);});},0x64));});}[_0x513d9e(0x26f)](_0x4b93e2,_0x322b1d){const _0xbe9cbe=_0x513d9e;var _0x156b69;const _0x2c8e29=(_0x156b69=this[_0xbe9cbe(0x2b4)][_0xbe9cbe(0x23a)]())==null?void 0x0:_0x156b69[_0xbe9cbe(0x194)];if(!_0x2c8e29)return;const _0x51b3d7=this['_getSheetObject']();if(!_0x51b3d7)return;this[_0xbe9cbe(0x1bf)][_0xbe9cbe(0x201)](_0xe53d1f=>{const _0x2b37b9=_0xbe9cbe;_0xe53d1f[_0x2b37b9(0x23e)]();});const {scene:_0x3f9a80}=_0x51b3d7,_0x4e6f11=Bi(Array[_0xbe9cbe(0x1d6)](_0x322b1d[_0xbe9cbe(0x286)]()))[_0xbe9cbe(0x220)](_0x8e5bc=>{const _0x2dab90=_0xbe9cbe,{color:_0x5ea60b,range:_0x33d92a,name:_0x4853f3,selection:_0x39b339,sheetID:_0x48c57c}=_0x8e5bc,{startColumn:_0x1997a3,startRow:_0x3c34da,endColumn:_0x183c3a,endRow:_0x3fbb7c}=_0x33d92a,_0x1677fb=_0x1e4bb8(_0x3c34da,_0x1997a3,_0x3f9a80,_0x2c8e29),_0x22f3db=_0x1e4bb8(_0x3fbb7c,_0x183c3a,_0x3f9a80,_0x2c8e29),{columnHeaderHeightAndMarginTop:_0x23e9dd}=_0x2c8e29,{startX:_0x7af5c5,startY:_0x1b548a}=_0x1677fb,{endX:_0x59d192,endY:_0x2f2296}=_0x22f3db,_0x4e6a07=_0x59d192-_0x7af5c5,_0x387aa2=_0x2f2296-_0x1b548a,_0x446d04={'labelPosition':_0x1b548a-_0x23e9dd>=te?_0x2dab90(0x297):_0x2dab90(0x15b),'sheetID':_0x48c57c,'range':_0x33d92a,'color':_0x5ea60b,'name':_0x4853f3,'selection':_0x39b339,'left':_0x7af5c5,'top':_0x1b548a,'width':_0x4e6a07,'height':_0x387aa2,'evented':!0x1,'zIndex':xi};return new Ai(_0x4853f3,_0x446d04);});_0x3f9a80[_0xbe9cbe(0xfe)](_0x4e6f11,Ui),this[_0xbe9cbe(0x1bf)]=new Set(_0x4e6f11);}[_0x513d9e(0x11e)](){const _0x5a6c97=_0x513d9e;var _0x124287;(_0x124287=this['_cursors'])==null||_0x124287[_0x5a6c97(0x201)](_0x5a92aa=>_0x5a92aa['dispose']());}[_0x513d9e(0x2d4)](){const _0x45bea8=_0x513d9e;return _0x550559(this[_0x45bea8(0x133)][_0x45bea8(0x292)],this[_0x45bea8(0x133)]);}};Le=$i([pe(0x1,_0x4e2b5a(_0x47e953)),pe(0x2,_0x4e2b5a(H)),pe(0x3,_0x4e2b5a(_0x465549))],Le);function Bi(_0x81fca6){const _0x5b75b3=_0x513d9e,_0x2b107e=new Map();return _0x81fca6[_0x5b75b3(0x201)](_0x405d38=>{const _0x32407b=_0x5b75b3;if(_0x2b107e[_0x32407b(0x128)](_0x405d38[_0x32407b(0x2ea)])){const _0x10af2b=_0x2b107e[_0x32407b(0x1a4)](_0x405d38['selection']);_0x10af2b[_0x32407b(0x1c5)]+=',\x20'+_0x405d38['name'];}else _0x2b107e[_0x32407b(0x287)](_0x405d38[_0x32407b(0x2ea)],_0x405d38);}),Array[_0x5b75b3(0x1d6)](_0x2b107e[_0x5b75b3(0x286)]());}var I=function(){const _0x1a363f=_0x513d9e;return I=Object['assign']||function(_0x46be13){const _0x473b3f=_0x4744;for(var _0x194faa,_0x3351c5=0x1,_0x3cf11a=arguments[_0x473b3f(0x1f0)];_0x3351c5<_0x3cf11a;_0x3351c5++){_0x194faa=arguments[_0x3351c5];for(var _0x4f2eb4 in _0x194faa)Object['prototype'][_0x473b3f(0x1d9)][_0x473b3f(0x216)](_0x194faa,_0x4f2eb4)&&(_0x46be13[_0x4f2eb4]=_0x194faa[_0x4f2eb4]);}return _0x46be13;},I[_0x1a363f(0x115)](this,arguments);},ki=function(_0x10e351,_0x5581b4){const _0x12580a=_0x513d9e;var _0x323bb5={};for(var _0x36d22c in _0x10e351)Object[_0x12580a(0x198)]['hasOwnProperty'][_0x12580a(0x216)](_0x10e351,_0x36d22c)&&_0x5581b4[_0x12580a(0x157)](_0x36d22c)<0x0&&(_0x323bb5[_0x36d22c]=_0x10e351[_0x36d22c]);if(_0x10e351!=null&&typeof Object['getOwnPropertySymbols']==_0x12580a(0x25f)){for(var _0x33059c=0x0,_0x36d22c=Object[_0x12580a(0x156)](_0x10e351);_0x33059c<_0x36d22c[_0x12580a(0x1f0)];_0x33059c++)_0x5581b4['indexOf'](_0x36d22c[_0x33059c])<0x0&&Object[_0x12580a(0x198)][_0x12580a(0x28a)][_0x12580a(0x216)](_0x10e351,_0x36d22c[_0x33059c])&&(_0x323bb5[_0x36d22c[_0x33059c]]=_0x10e351[_0x36d22c[_0x33059c]]);}return _0x323bb5;},We=_0x45275f(function(_0x26bf7b,_0x429a4e){const _0xc73eb6=_0x513d9e;var _0x4cb033=_0x26bf7b[_0xc73eb6(0x13d)],_0x38ec3c=_0x26bf7b['id'],_0x56a382=_0x26bf7b[_0xc73eb6(0x167)],_0xe542f4=_0x26bf7b[_0xc73eb6(0x163)],_0xb8359d=ki(_0x26bf7b,[_0xc73eb6(0x13d),'id',_0xc73eb6(0x167),'extend']),_0x34bbe9=_0xc73eb6(0x2a3)[_0xc73eb6(0x188)](_0x38ec3c,'\x20')['concat'](_0x56a382||'')[_0xc73eb6(0x217)](),_0x430f7d=_0x476bab('_'['concat'](Wi()));return Nt(_0x4cb033,''[_0xc73eb6(0x188)](_0x38ec3c),{'defIds':_0x4cb033[_0xc73eb6(0x2cc)],'idSuffix':_0x430f7d['current']},I({'ref':_0x429a4e,'className':_0x34bbe9},_0xb8359d),_0xe542f4);});function Nt(_0xdbdb8a,_0x495e93,_0x39f6cf,_0x365f1f,_0x28bb73){const _0x427bae=_0x513d9e;return _0x27978c(_0xdbdb8a[_0x427bae(0x256)],I(I({'key':_0x495e93},Hi(_0xdbdb8a,_0x39f6cf,_0x28bb73)),_0x365f1f),(ji(_0xdbdb8a,_0x39f6cf)[_0x427bae(0x2da)]||[])[_0x427bae(0x220)](function(_0x2980a4,_0x5042d6){const _0x398b28=_0x427bae;return Nt(_0x2980a4,''[_0x398b28(0x188)](_0x495e93,'-')[_0x398b28(0x188)](_0xdbdb8a[_0x398b28(0x256)],'-')[_0x398b28(0x188)](_0x5042d6),_0x39f6cf,void 0x0,_0x28bb73);}));}function Hi(_0x1970ea,_0x22e7e7,_0x12e0fa){const _0x38191f=_0x513d9e;var _0x1fd482=I({},_0x1970ea['attrs']);_0x12e0fa!=null&&_0x12e0fa[_0x38191f(0x18d)]&&_0x1fd482[_0x38191f(0x190)]===_0x38191f(0x18d)&&(_0x1fd482[_0x38191f(0x190)]=_0x12e0fa[_0x38191f(0x18d)]),_0x1970ea[_0x38191f(0x256)]==='mask'&&_0x1fd482['id']&&(_0x1fd482['id']=_0x1fd482['id']+_0x22e7e7['idSuffix']),Object[_0x38191f(0x24e)](_0x1fd482)[_0x38191f(0x201)](function(_0x4fd6d3){const _0x19ba49=_0x38191f;var _0x151d5c=_0x4fd6d3[0x0],_0x5d4019=_0x4fd6d3[0x1];_0x151d5c===_0x19ba49(0x1a9)&&typeof _0x5d4019==_0x19ba49(0x273)&&(_0x1fd482[_0x151d5c]=_0x5d4019[_0x19ba49(0x125)](/url\(#(.*)\)/,_0x19ba49(0xed)['concat'](_0x22e7e7[_0x19ba49(0x2e8)],')')));});var _0x1ddf81=_0x22e7e7[_0x38191f(0x2cc)];return!_0x1ddf81||_0x1ddf81['length']===0x0||(_0x1970ea[_0x38191f(0x256)]===_0x38191f(0x27d)&&_0x1fd482['xlink:href']&&(_0x1fd482[_0x38191f(0x242)]=_0x1fd482['xlink:href']+_0x22e7e7[_0x38191f(0x2e8)]),Object[_0x38191f(0x24e)](_0x1fd482)[_0x38191f(0x201)](function(_0x56e0d3){const _0x59a48a=_0x38191f;var _0x3094cb=_0x56e0d3[0x0],_0x1d724e=_0x56e0d3[0x1];typeof _0x1d724e==_0x59a48a(0x273)&&(_0x1fd482[_0x3094cb]=_0x1d724e[_0x59a48a(0x125)](/url\(#(.*)\)/,_0x59a48a(0xed)[_0x59a48a(0x188)](_0x22e7e7[_0x59a48a(0x2e8)],')')));})),_0x1fd482;}function ji(_0xc81a02,_0x30178f){const _0x18a1ac=_0x513d9e;var _0x11fcca,_0xb9dfd3=_0x30178f[_0x18a1ac(0x2cc)];return!_0xb9dfd3||_0xb9dfd3[_0x18a1ac(0x1f0)]===0x0?_0xc81a02:_0xc81a02['tag']===_0x18a1ac(0x210)&&(!((_0x11fcca=_0xc81a02['children'])===null||_0x11fcca===void 0x0)&&_0x11fcca[_0x18a1ac(0x1f0)])?I(I({},_0xc81a02),{'children':_0xc81a02[_0x18a1ac(0x2da)][_0x18a1ac(0x220)](function(_0x13945a){const _0x3e7e08=_0x18a1ac;return typeof _0x13945a[_0x3e7e08(0x1fc)]['id']==_0x3e7e08(0x273)&&_0xb9dfd3&&_0xb9dfd3[_0x3e7e08(0x157)](_0x13945a[_0x3e7e08(0x1fc)]['id'])>-0x1?I(I({},_0x13945a),{'attrs':I(I({},_0x13945a['attrs']),{'id':_0x13945a[_0x3e7e08(0x1fc)]['id']+_0x30178f[_0x3e7e08(0x2e8)]})}):_0x13945a;})}):_0xc81a02;}function Wi(){const _0x4ee1e9=_0x513d9e;return Math['random']()[_0x4ee1e9(0x153)](0x24)[_0x4ee1e9(0x161)](0x2,0x8);}We[_0x513d9e(0x26e)]=_0x513d9e(0x290);var Fi={'tag':_0x513d9e(0x196),'attrs':{'fill':_0x513d9e(0x1e7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'stroke':_0x513d9e(0x1b4),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x513d9e(0x2c7),'strokeLinejoin':_0x513d9e(0x2c7),'strokeWidth':1.2}}]},{'tag':_0x513d9e(0x210),'attrs':{},'children':[{'tag':_0x513d9e(0x150),'attrs':{'id':_0x513d9e(0x146)},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'fill':_0x513d9e(0x214),'d':_0x513d9e(0x29c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x45275f(function(_0xada946,_0x392f83){const _0x3d3f22=_0x513d9e;return _0x27978c(We,Object[_0x3d3f22(0x2cb)]({},_0xada946,{'id':_0x3d3f22(0x13c),'ref':_0x392f83,'icon':Fi}));});Mt['displayName']=_0x513d9e(0x106);var Vi={'tag':_0x513d9e(0x196),'attrs':{'fill':_0x513d9e(0x1e7),'viewBox':'0\x200\x2017\x2016','width':_0x513d9e(0x149),'height':_0x513d9e(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x513d9e(0x1c1)},'children':[{'tag':_0x513d9e(0x2bb),'attrs':{'stroke':'currentColor','d':_0x513d9e(0x187),'strokeLinecap':_0x513d9e(0x2c7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x513d9e(0x210),'attrs':{},'children':[{'tag':_0x513d9e(0x150),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x513d9e(0x214),'d':_0x513d9e(0x29c),'transform':_0x513d9e(0x2d3)}}]}]}],'defIds':[_0x513d9e(0x268)]},Pt=_0x45275f(function(_0x251a4d,_0x2967ff){const _0xfdafd0=_0x513d9e;return _0x27978c(We,Object[_0xfdafd0(0x2cb)]({},_0x251a4d,{'id':_0xfdafd0(0x2ba),'ref':_0x2967ff,'icon':Vi}));});Pt[_0x513d9e(0x26e)]=_0x513d9e(0x263);const Yi='univer-online-status-icon',Xi=_0x513d9e(0x1ef),Gi='univer-online-status',Ki=_0x513d9e(0x270),zi=_0x513d9e(0x144),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x30601f){const _0x73b49b=_0x513d9e;switch(_0x30601f){case _0x1f0bee['OFFLINE']:return _0x73b49b(0x19a);case _0x1f0bee[_0x73b49b(0x17a)]:return'collabStatus.conflict';case _0x1f0bee[_0x73b49b(0x10f)]:return _0x73b49b(0x14d);case _0x1f0bee[_0x73b49b(0x1d7)]:return _0x73b49b(0x265);case _0x1f0bee[_0x73b49b(0x1ad)]:case _0x1f0bee[_0x73b49b(0x174)]:return _0x73b49b(0xf6);case _0x1f0bee['SYNCED']:case _0x1f0bee['PENDING']:return _0x73b49b(0x17e);}}function Zi(_0x4dbb97){const _0x59f81e=_0x513d9e,{status$:_0x3c960a}=_0x4dbb97,_0x289dc0=_0x82dde9(_0x3c960a,_0x1f0bee['NOT_COLLAB']),_0x145fc8=_0x497f29(_0x55f656),_0x4050a7=_0x497f29(_0x935ffe),_0x7d8673=_0x289dc0!==_0x1f0bee[_0x59f81e(0x27f)],_0x5ba5cf=_0x145fc8['t'](Ji(_0x289dc0)),_0x5a7256=_0x2cc606(G['onlineStatus'],{[G[_0x59f81e(0x2c0)]]:_0x7d8673,[G[_0x59f81e(0x2e6)]]:!_0x7d8673}),_0x234e13=_0x7d8673?_0x199a0b(Pt,{}):_0x199a0b(Mt,{}),_0x4383ab=_0x4de3fb(()=>{_0x7d8673||_0x4050a7['reconnect']();},[_0x7d8673,_0x4050a7]);function _0xb0f803(){const _0xa63d6a=_0x59f81e;return _0x389d33(_0xa63d6a(0x25e),{'className':_0x2cc606(_0x5a7256,_0xa63d6a(0x293)),'onClick':_0x4383ab,'children':[_0x199a0b('div',{'className':G[_0xa63d6a(0x269)],'children':_0x234e13}),_0x199a0b('div',{'className':G[_0xa63d6a(0x1a1)],'children':_0x5ba5cf})]});}return _0x7d8673?_0xb0f803():_0x199a0b(_0x463880,{'title':_0x145fc8['t']('collab-client.tooltip.reconnect'),'children':_0xb0f803()});}var Qi=Object[_0x513d9e(0x2c4)],qi=(_0x4f17b6,_0x1847d0,_0x3d2795,_0x1c1835)=>{const _0x148bb2=_0x513d9e;for(var _0x103bd5=_0x1c1835>0x1?void 0x0:_0x1c1835?Qi(_0x1847d0,_0x3d2795):_0x1847d0,_0x1950a8=_0x4f17b6[_0x148bb2(0x1f0)]-0x1,_0x656d33;_0x1950a8>=0x0;_0x1950a8--)(_0x656d33=_0x4f17b6[_0x1950a8])&&(_0x103bd5=_0x656d33(_0x103bd5)||_0x103bd5);return _0x103bd5;},q=(_0x1386f2,_0x33c149)=>(_0x4199a3,_0x410bcb)=>_0x33c149(_0x4199a3,_0x410bcb,_0x1386f2);let se=class extends _0x4dc13d{constructor(_0x2dbd7a,_0x5b0636,_0x50bbb4,_0x4a2958){const _0xf8233b=_0x513d9e;super(),_(this,_0xf8233b(0xf4),new _0x2f60b9(_0x1f0bee[_0xf8233b(0x1d7)])),(this[_0xf8233b(0x173)]=_0x2dbd7a,this[_0xf8233b(0x202)]=_0x5b0636,this['_collaborationController']=_0x50bbb4,this[_0xf8233b(0x209)]=_0x4a2958,this['_initStatusComponent'](),this[_0xf8233b(0x25d)]());}[_0x513d9e(0x25d)](){const _0x107b32=_0x513d9e;this[_0x107b32(0x1ab)](this['_univerInstanceService'][_0x107b32(0x13e)][_0x107b32(0x230)](_0x380740(()=>{const _0x434db8=_0x107b32,_0x38ae77=this['_univerInstanceService'][_0x434db8(0x19d)]();return _0x38ae77?this[_0x434db8(0x158)][_0x434db8(0x2af)](_0x38ae77['getUnitId']()):_0xa04f1e(null);}),_0x380740(_0x749f19=>_0x749f19?_0x749f19[_0x107b32(0x2a9)]:_0xa04f1e(_0x1f0bee[_0x107b32(0x1d7)])))[_0x107b32(0x2ac)](_0x42bb75=>{const _0x4be0cd=_0x107b32;this[_0x4be0cd(0xf4)][_0x4be0cd(0x20f)](_0x42bb75);}));}[_0x513d9e(0x123)](){const _0x28e230=_0x513d9e;this[_0x28e230(0x1ab)](this['_uiPartsService']['registerComponent'](_0x5ae2fd[_0x28e230(0x12c)],()=>_0x15c856(en({'status$':this[_0x28e230(0xf4)]['asObservable']()}),this[_0x28e230(0x202)])));}};se=qi([q(0x0,_0x2e22e9),q(0x1,_0x4e2b5a(_0x5eb6e0)),q(0x2,_0x4e2b5a(_0x44a7ae)),q(0x3,_0x35daec)],se);function en(_0x4cb331){const {status$:_0x3a490c}=_0x4cb331;return function(){return _0x199a0b(Zi,{'status$':_0x3a490c});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x4e1de3,_0x33bb63,_0x3ab055,_0x3f6508)=>{const _0x3b3da7=_0x513d9e;for(var _0x385ddc=_0x3f6508>0x1?void 0x0:_0x3f6508?tn(_0x33bb63,_0x3ab055):_0x33bb63,_0x592f0e=_0x4e1de3[_0x3b3da7(0x1f0)]-0x1,_0x41c3fb;_0x592f0e>=0x0;_0x592f0e--)(_0x41c3fb=_0x4e1de3[_0x592f0e])&&(_0x385ddc=_0x41c3fb(_0x385ddc)||_0x385ddc);return _0x385ddc;},B=(_0x48a089,_0x37df13)=>(_0x1d14a7,_0x45910d)=>_0x37df13(_0x1d14a7,_0x45910d,_0x48a089);let ie=class extends _0x4dc13d{constructor(_0x502dfa,_0x2a1dbf,_0x10819c,_0x19a185,_0x207396,_0x4e4697){const _0x46d37b=_0x513d9e;super(),this['_beforeCloseService']=_0x502dfa,this[_0x46d37b(0x1b5)]=_0x2a1dbf,this[_0x46d37b(0x1e0)]=_0x10819c,this[_0x46d37b(0x18f)]=_0x19a185,this['_notificationService']=_0x207396,this['_localeService']=_0x4e4697,this[_0x46d37b(0x23c)](),this[_0x46d37b(0x26b)]();}[_0x513d9e(0x23c)](){const _0x3c8888=_0x513d9e;this['disposeWithMe'](this[_0x3c8888(0x101)][_0x3c8888(0x175)](()=>{const _0x5e82d0=_0x3c8888;if(this['_localCacheService']['saveTaskMap'][_0x5e82d0(0x11c)])return this[_0x5e82d0(0x1f4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x513d9e(0x26b)](){const _0x17e777=_0x513d9e;this[_0x17e777(0x1ab)](this[_0x17e777(0x1e0)][_0x17e777(0x169)][_0x17e777(0x2ac)](_0x320304=>{const _0x229b40=_0x17e777;_0x320304['id']===_0x430fa5[_0x229b40(0x195)]&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x102))}),_0x320304['id']===_0x430fa5['CLOSE_ROOM']&&this[_0x229b40(0x18f)]['show']({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t']('collaboration.closeRoom')}),_0x320304['id']===_0x430fa5[_0x229b40(0x245)]&&this[_0x229b40(0x280)][_0x229b40(0x27c)]({'title':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x13b)),'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x2ad)),'type':'error','duration':0x0}),_0x320304['id']===_0x430fa5[_0x229b40(0x17a)]&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975['Error'],'content':this['_localeService']['t'](_0x229b40(0x2ae))+'('+_0x320304[_0x229b40(0x1f5)]+')'}),_0x320304['id']===_0x430fa5[_0x229b40(0x2a6)]&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this['_localeService']['t'](_0x320304[_0x229b40(0x1f5)]||'')}),_0x320304['id']===_0x430fa5['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x1f2)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x21b))}),_0x320304['id']===_0x430fa5[_0x229b40(0x272)]&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x177)],'content':this[_0x229b40(0x1f4)]['t'](_0x229b40(0x199))}),_0x320304['id']===_0x430fa5['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x229b40(0x18f)][_0x229b40(0x27c)]({'type':_0x134975[_0x229b40(0x177)],'content':this[_0x229b40(0x1f4)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x124c5a),B(0x1,_0x29a577),B(0x2,_0x4e2b5a(_0x485cad)),B(0x3,_0x40ced4),B(0x4,_0x33bf60),B(0x5,_0x4e2b5a(_0x55f656))],ie);const nn=_0x513d9e(0x29e),st={},wt=_0x5a5776(_0x513d9e(0x1cf));var rn=Object['getOwnPropertyDescriptor'],on=(_0x4c2313,_0x21faf5,_0x56c0e2,_0x5aa4b2)=>{const _0xe20517=_0x513d9e;for(var _0x28cdb2=_0x5aa4b2>0x1?void 0x0:_0x5aa4b2?rn(_0x21faf5,_0x56c0e2):_0x21faf5,_0x492b26=_0x4c2313[_0xe20517(0x1f0)]-0x1,_0x1ae142;_0x492b26>=0x0;_0x492b26--)(_0x1ae142=_0x4c2313[_0x492b26])&&(_0x28cdb2=_0x1ae142(_0x28cdb2)||_0x28cdb2);return _0x28cdb2;},K=(_0x7791ec,_0x33a69b)=>(_0x37c643,_0x1b1a10)=>_0x33a69b(_0x37c643,_0x1b1a10,_0x7791ec);let ne=class extends _0x2e496d{constructor(_0x1ef8cf,_0x25bcae,_0x25ad35,_0xa43e6,_0x26974b){const _0x5bc07c=_0x513d9e;super(),this['_urlService']=_0x1ef8cf,this[_0x5bc07c(0x166)]=_0x25bcae,this[_0x5bc07c(0x294)]=_0x25ad35,this[_0x5bc07c(0x213)]=_0xa43e6,_0x26974b?_0x26974b==null||_0x26974b[_0x5bc07c(0x23d)]()[_0x5bc07c(0x2d1)](()=>this['_init']()):(this[_0x5bc07c(0x166)][_0x5bc07c(0x232)](_0x5bc07c(0x104),_0x5bc07c(0x13a)),this[_0x5bc07c(0x119)]());}async[_0x513d9e(0x119)](){const _0x462d07=_0x513d9e,_0x3e48f4=this[_0x462d07(0x19e)][_0x462d07(0x285)]('unit'),_0xe00d3=this['_urlService']['getParam']('type'),_0x146a5a=this['_urlService'][_0x462d07(0x285)](_0x462d07(0x1fb));if(!_0x3e48f4||!_0xe00d3){this[_0x462d07(0x166)]['debug'](_0x462d07(0x104),_0x462d07(0x2c5));return;}const _0x13f441=await this[_0x462d07(0x213)][_0x462d07(0x25b)](_0x3e48f4,Number(_0xe00d3),_0x146a5a);_0x13f441&&_0x13f441 instanceof _0x4c118c&&this['_setupSubUnitSync'](_0x13f441);}async[_0x513d9e(0x136)](_0x8cf24b){const _0x49c6bd=_0x513d9e;await this[_0x49c6bd(0x16a)](_0x8cf24b),_0x8cf24b['activeSheet$'][_0x49c6bd(0x230)](_0x2522f4(this['dispose$']))['subscribe'](_0x84bdfe=>{_0x84bdfe&&this['_updateURLWithCurrentState'](_0x84bdfe);}),this[_0x49c6bd(0x19e)]['urlChange$']['pipe'](_0x2522f4(this[_0x49c6bd(0x107)]))[_0x49c6bd(0x2ac)](()=>this['_updateSubUnitFromURLParams'](_0x8cf24b));}[_0x513d9e(0x2bf)](_0x2adfb2,_0x19028a=!0x1){const _0x244e71=_0x513d9e,_0x4522ab=this[_0x244e71(0x19e)]['getParam']('subunit');_0x2adfb2['getSheetId']()!==_0x4522ab&&this[_0x244e71(0x19e)][_0x244e71(0x277)](_0x244e71(0x1fb),_0x2adfb2[_0x244e71(0x1a0)](),_0x19028a);}async[_0x513d9e(0x16a)](_0x3e797c){const _0x1a2234=_0x513d9e;var _0x58f689;const _0x151381=this[_0x1a2234(0x19e)][_0x1a2234(0x285)]('subunit');if(!_0x151381||!_0x3e797c[_0x1a2234(0x207)](_0x151381)){const _0x3a6c04=_0x3e797c[_0x1a2234(0x197)]()[0x0],_0x2325e1=_0x3e797c[_0x1a2234(0x207)](_0x3a6c04);if(!_0x2325e1)return;this['_updateURLWithCurrentState'](_0x2325e1,!0x0),await this[_0x1a2234(0x294)][_0x1a2234(0x27e)](_0x553df3['id'],{'unitId':_0x3e797c[_0x1a2234(0x26a)](),'subUnitId':_0x3a6c04});return;}((_0x58f689=_0x3e797c['getActiveSheet']())==null?void 0x0:_0x58f689[_0x1a2234(0x1a0)]())!==_0x151381&&await this[_0x1a2234(0x294)]['executeCommand'](_0x553df3['id'],{'unitId':_0x3e797c[_0x1a2234(0x26a)](),'subUnitId':_0x151381});}};ne=on([K(0x0,wt),K(0x1,_0x39d4b2),K(0x2,_0x66d318),K(0x3,_0x4e2b5a(_0x5b29ad)),K(0x4,_0x21ad8b(_0x486dd4))],ne);var an=Object[_0x513d9e(0x2c4)],cn=(_0x589f1e,_0x697011,_0x44b72e,_0x41b560)=>{const _0x217fe4=_0x513d9e;for(var _0x1d7ffd=_0x41b560>0x1?void 0x0:_0x41b560?an(_0x697011,_0x44b72e):_0x697011,_0x1f71d3=_0x589f1e[_0x217fe4(0x1f0)]-0x1,_0x1b7a40;_0x1f71d3>=0x0;_0x1f71d3--)(_0x1b7a40=_0x589f1e[_0x1f71d3])&&(_0x1d7ffd=_0x1b7a40(_0x1d7ffd)||_0x1d7ffd);return _0x1d7ffd;},Ce=(_0x175525,_0x17606c)=>(_0x4f2ebd,_0x1d6f8c)=>_0x17606c(_0x4f2ebd,_0x1d6f8c,_0x175525);let re=class{constructor(_0x14c1b0,_0x42c8b3,_0x1d82cd){const _0x58a30e=_0x513d9e;this[_0x58a30e(0x202)]=_0x14c1b0,this['_transformService']=_0x42c8b3,this[_0x58a30e(0x148)]=_0x1d82cd;}[_0x513d9e(0x2c6)](_0x4e503d){const _0x5dc5c1=_0x513d9e;this[_0x5dc5c1(0x22a)](_0x4e503d),this[_0x5dc5c1(0x132)](_0x4e503d);}[_0x513d9e(0x184)](_0x581e6e){const _0x135a7f=_0x513d9e,{unitID:_0x2ffbaa}=_0x581e6e,_0x1b55df=this[_0x135a7f(0x148)][_0x135a7f(0xf5)](_0x2ffbaa)[_0x135a7f(0x181)](_0x339e7a),{redoCache:_0x3a9fa6}=_0x1b55df['getUndoRedoMutationParamsCache']();if(_0x3a9fa6[_0x135a7f(0x1f0)]===0x0)return _0x581e6e;let _0x2e42e9=_0x4cc9fc[_0x135a7f(0x254)](_0x581e6e[_0x135a7f(0xeb)][0x0]);for(let _0x46b60f=0x0;_0x46b60f<_0x3a9fa6[_0x135a7f(0x1f0)];_0x46b60f++){const _0x9e53d4={'id':_0x135a7f(0x1de),'params':{..._0x3a9fa6[_0x46b60f]}},_0xb3b845=this[_0x135a7f(0x228)][_0x135a7f(0x2a0)](_0x2e42e9,_0x9e53d4,!0x1);if(_0x3ad4c3(_0xb3b845))throw _0xb3b845[_0x135a7f(0x2b7)];_0x2e42e9=_0xb3b845[_0x135a7f(0x142)];}return{..._0x4cc9fc[_0x135a7f(0x254)](_0x581e6e),'mutations':[_0x2e42e9]};}['_transformUndoRedoStack'](_0x1cc194){const _0x33ed9d=_0x513d9e,{unitID:_0x50b605}=_0x1cc194,_0x707d6c=this['_renderManagerService'][_0x33ed9d(0xf5)](_0x50b605)[_0x33ed9d(0x181)](_0x339e7a),{undoCache:_0x581226,redoCache:_0x112ffb}=_0x707d6c[_0x33ed9d(0x138)]();if(_0x581226['length']===0x0||_0x112ffb[_0x33ed9d(0x1f0)]===0x0)return;const _0x4d8b6e=[],_0x50b7c7=[];let _0x3266f2=_0x4cc9fc['deepClone'](_0x1cc194['mutations'][0x0]),_0x3241a3=_0x4cc9fc[_0x33ed9d(0x254)](_0x1cc194[_0x33ed9d(0xeb)][0x0]);for(let _0x36861a=_0x581226[_0x33ed9d(0x1f0)]-0x1;_0x36861a>=0x0;_0x36861a--){const _0x46e888={'id':_0x33ed9d(0x1de),'params':{..._0x581226[_0x36861a]}},_0x25ae21={'id':_0x33ed9d(0x1de),'params':{..._0x112ffb[_0x36861a]}},_0x24adee=this[_0x33ed9d(0x228)][_0x33ed9d(0x2a0)](_0x3266f2,_0x46e888,!0x1),_0x15d2c6=this['_transformService']['transformMutation'](_0x3241a3,_0x25ae21,!0x1);if(_0x3ad4c3(_0x24adee))throw _0x24adee[_0x33ed9d(0x2b7)];if(_0x3ad4c3(_0x15d2c6))throw _0x15d2c6[_0x33ed9d(0x2b7)];_0x4d8b6e[_0x33ed9d(0x114)](_0x24adee[_0x33ed9d(0x2c3)][_0x33ed9d(0x1f7)]),_0x50b7c7[_0x33ed9d(0x114)](_0x15d2c6[_0x33ed9d(0x2c3)]['params']),_0x3266f2=_0x24adee[_0x33ed9d(0x142)],_0x3241a3=_0x15d2c6[_0x33ed9d(0x142)];}_0x707d6c[_0x33ed9d(0x186)]({'undoCache':_0x4d8b6e,'redoCache':_0x50b7c7});}[_0x513d9e(0x132)](_0x17abc4){const _0x34de28=_0x513d9e,{unitID:_0x213fcd}=_0x17abc4,_0x57af3a=this[_0x34de28(0x148)][_0x34de28(0xf5)](_0x213fcd)['with'](_0x339e7a),_0x1fbb03=_0x57af3a[_0x34de28(0x126)]();if(_0x1fbb03==null)return;const _0x108bdb=[{'id':_0x34de28(0x1de),'params':{'unitId':_0x17abc4[_0x34de28(0x19b)],'actions':null,'textRanges':[_0x1fbb03]}}],_0x22d84a=this[_0x34de28(0x228)]['transformMutationsWithChangeset'](_0x17abc4,_0x108bdb);if(!_0x6d680(_0x22d84a))throw _0x22d84a['error'];const _0x3067d0=_0x22d84a['m2Prime'][0x0][_0x34de28(0x1f7)][_0x34de28(0x2bc)];Array[_0x34de28(0x1ec)](_0x3067d0)&&_0x3067d0[_0x34de28(0x1f0)]&&_0x57af3a[_0x34de28(0x225)](_0x3067d0[0x0]);}};re=cn([Ce(0x0,_0x4e2b5a(_0x5eb6e0)),Ce(0x1,_0x259b8d),Ce(0x2,_0x1eedb5)],re);function _0x377c(){const _0xd15c8a=['SNAPSHOT_INVALID_SNAPSHOT','transformSelections','runOnServer','_labelPosition','verdancy600','FETCH_MISS','exhaustSavingTask','setInterval','2331lCGEPx','width','unshift','apply','_session','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_init','_hovered','_getSessionTicket','size','1238472xBRNZD','_removeCollabCursors','_initResize','LOGIN_FAILED','_collabCursorState$','_saveCache','_initStatusComponent','onLocalMutation','replace','getActiveRange','_handleHover','has','getCurrentRevOfUnit','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','HEADER_MENU','range','NO_OTHER_CLIENTS_EDITING','TEXT','fillText','_disabled','_transformPreviousActiveRange','_context','MOBILE_HAS_BEEN_BOUND','getItem','_setupSubUnitSync','onPointerLeave$','getUndoRedoMutationParamsCache','APPLY_PERMISSION_DENIED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.title','off-line-single','icon','focused$','_assignedColors','_cursorInfo$','SNAPSHOT_HAS_BEEN_REMOVED','m1Prime','search','univer-offline','roomMembers','off-line-single_clip0_910_343','_backgroundColor','_renderManagerService','1em','USERS_LEAVE','UPDATE_CURSOR','pushState','collabStatus.fetchMiss','disableLocalCache','asObservable','clipPath','_unitStatus','LICENSE_DISTRO_REJECTED','toString','_lastPointer','height','getOwnPropertySymbols','indexOf','_collaborationController','delete','getTypeOfUnitDisposed$','bottom','_registerRenderDependencies','getUnitStatus$','setStateCache','_collabCursorController','INVITE_CODE_HAS_BEEN_UES','substring','INVALID_ARGUMENT','extend','6GtNnQn','jiqing500','_logService','className','_scheduleHeartbeat','event$','_updateSubUnitFromURLParams','_color','_colorIndex','ENSURE_SNAPSHOT_EXECUTION','row','2555195ncNegG','code','UNRECOGNIZED','contains','_univerInstanceService','AWAITING_WITH_PENDING','registerBeforeClose','onMouseMove','Error','_syncEditingCollabCursorService','_updateLocalCursor','CONFLICT','hide','docStateChange$','_toggleOffline','collabStatus.synced','APPLY_REVISION_CONFILICT','redoState','with','MUTATION','findNodePositionByCharIndex','transformRemoteChangeset','assignAColorForMemberID','setUndoRedoMutationParamsCache','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','concat','newValue','_name','_docSkeleton','includes','colorChannel1','send','_messageService','fill','transform','origin','source','skeleton','OTHER_CLIENT_EDITING','svg','getUnhiddenWorksheets','prototype','session.connection-failed','collabStatus.offline','unitID','init','getFocusedUnit','_urlService','dispose','getSheetId','onlineStatusTitle','defineProperty','YUUMI_UNABLE_LOAD_URL','get','restore','getMember','YUUMI_RATE_OVER_LIMIT','memberID','mask','createSocket','disposeWithMe','fillStyle','AWAITING','getValue','_httpService','_onRefRangeChange','onPointerMove$','_handleHeartbeatEvent','drawWith','currentColor','_localCacheService','registerRefRange','_removeClearOtherTimer','4588738BQfDsg','_roomMembers$','actions','isActive','disposeUnit','eventID','_localStorageService','_cursors','min','url(#on-line-single_clip0_910_349)','createInstance','setTimeout','_docSyncEditingCollabCursorService','name','requireSession','_colorAssignService','_unitOnClients','triggerDblclick','_docStateChangeManagerService','saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','_scene','syncEditingCollabCursor','uni.network.url-service','APPLY_DUPLICATED','_docTransformIMECacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sessionStatus$','_cachedData','_initEntityListener','from','NOT_COLLAB','popstate','hasOwnProperty','NOT_FOUND','RECT','text','wsSessionTicketUrl','doc.mutation.rich-text-editing','pluginName','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','COMPLETION_FINISHED','ONLINE','setItem','onCommandExecuted','moveTo','none','toRgbString','_configService','sheetID','_saveTaskMap','isArray','_docClipboardService','location','univer-online-status-title','length','currentSkeleton$','Warning','setAlpha','_localeService','data','result','params','saveImage','_send','APPLY_REJECT','subunit','attrs','_transformHistoryAndStateStack','key','collabCursorState$','executionId','forEach','_injector','ticket','resize','clearInterval','_getScale','getSheetBySheetId','getDocRanges','_uiPartsService','complete','218dPyqJk','subUnitId','_scheduleClearOtherTimer','_onCursorUpdate','next','defs','INVITE_CODE_ALREADY_BOUND','getSkeleton','_dataLoaderService','#fff','_handleEvent','call','trim','collab-text-range-','generateRandomId','getMergeData','session.will-retry','1426KGDiWA','getCurrentUnitForType','_collabSessionService','body','map','sheetId','InsertColCommandId','black','_cursor','setActiveRange','replaceState','FromArray','_transformService','Unknown\x20user','_transformUndoRedoStack','1168818BWcDsY','_heartbeatTimer','_revisionService','engine','_entities','pipe','/run/','debug','getVpScrollXYInfoByPosToVp','gold400','href','addObject','_online','loadOfflineData','_docSkeletonManagerService','getCurrent','Failed','_setupBeforeClosingHandler','whenReady','makeDirty','runId','UNIVER_DOC','_eventUnsubscribe','xlink:href','red300','history','PERMISSION_DENIED','_anchor','getCollabCursors$','urlChange$','add','_range','20fPojBb','WECHAT_HAS_BEEN_BOUND','getConfig','entries','INTERNAL_ERROR','_id','onPointerEnter$','save','InsertRangeMoveDownCommandId','deepClone','collab-rect-range-','tag','endRow','addEventListener','_themeService','selections','loadUnit','INVALID_INVITE_CODE','_initStatusListener','div','function','...','_cursorShapes','VIEW_MAIN','OnLineSingle','subscribeEvent','collabStatus.notCollab','_render','_doCreateSocket','on-line-single_clip0_910_349','onlineStatusIcon','getUnitId','_initEvent','_anchorDot','parse','displayName','_updateCollabCursors','univer-online','evenodd','SOCKET_FAILED','string','_config','getCurrentSelections','LICENSE_MAX_UNITS_EXCEEDED','setParam','_imageIoService','PY_RUNTIME_SCRIPT_ERROR','_entityInit$','stringify','show','use','executeCommand','OFFLINE','_notificationService','fillRule','backgroundColor','cursorInfo$','transformMutationsWithChangeset','getParam','values','set','getAncestorScale','flatMap','propertyIsEnumerable','transformByState','getActiveSheet','EMAIL_HAS_BEEN_BOUND','setShapeProps','_startSheetCollabCursor','UniverIcon','currentTheme$','unit','univer-flex\x20univer-items-center','_commandService','push','CONNECTOR_DATA_TOO_LARGE','top','getStateCache','_drawTextRange','_docTransformStateCacheService','removeParam','M0\x200H16V16H0z','UNIVER_SHEET','collaboration-client-ui.config','RemoveColCommandId','transformMutation','_hideTimer','_shapes','univerjs-icon\x20univerjs-icon-','registerRenderModule','USER_NOT_INVITED_CODE','JOIN_ROOM_FAILED','symbol','startColumn','status$','lineTo','InsertRangeMoveRightCommandId','subscribe','permission.content','collaboration.closeRoom','getCollabEntity$','17016txWBXD','OTHER_CLIENTS_EDITING','type','_selfUnitIDs','_sheetSkeletonManagerService','MoveRangeCommandId','_createSocketURL','error','isEditing','searchParams','on-line-single','path','textRanges','INVITE_CODE_REQUIRED','2472526AZmlaC','_updateURLWithCurrentState','online','unitId','color','m2Prime','getOwnPropertyDescriptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformIMECache','round','storage','sessionTicket','getCellPositionByOffset','assign','defIds','unsubscribe','getOffsetConfig','_clearOtherTimers','max','then','_refreshCollabCursors','translate(.97)','_getSheetObject','purple300','LICENSE_EXPORT_SIZE_EXCEEDED','enableLocalCache','getMemberID','ALREADY_EXISTS','children','measureText','labelPosition','TOO_MANY_REQUESTS','_instanceService','_memberService','_ensureSubject','collab-text-anchor-','_getMergeRange','getViewport','getRangePointData','startRow','offline','_textBubble','idSuffix','clearTimeout','selection','column','mutations','onTransformChange$','url(#$1','application/json','_hover','_handleJoinEvent','split','_initCommandExecutedListener','_getSaveTimeout','_status$','getRenderById','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','DeleteRangeMoveUpCommandId','editingUnit','_draw','_toggleOnline','replaceDocRanges','ranges','addObjects','getRelativeToViewportCoord','UNAUTHENTICATED','_beforeCloseService','collaboration.single-unit.warning','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[CollaborationDataLoaderController]','unload','OffLineSingle','dispose$','_onCursorDelete','cursorInfo'];_0x377c=function(){return _0xd15c8a;};return _0x377c();}function _0x4744(_0x59c303,_0x4222cd){const _0x377c82=_0x377c();return _0x4744=function(_0x474404,_0x2c9220){_0x474404=_0x474404-0xea;let _0x1721cc=_0x377c82[_0x474404];return _0x1721cc;},_0x4744(_0x59c303,_0x4222cd);}var ln=Object[_0x513d9e(0x2c4)],_n=(_0xcbfef7,_0x48f175,_0x4c4429,_0x200328)=>{const _0x166e65=_0x513d9e;for(var _0x531be3=_0x200328>0x1?void 0x0:_0x200328?ln(_0x48f175,_0x4c4429):_0x48f175,_0x20ea35=_0xcbfef7[_0x166e65(0x1f0)]-0x1,_0x2c14ae;_0x20ea35>=0x0;_0x20ea35--)(_0x2c14ae=_0xcbfef7[_0x20ea35])&&(_0x531be3=_0x2c14ae(_0x531be3)||_0x531be3);return _0x531be3;},Ee=(_0x2277d1,_0x19d0f3)=>(_0x3bfe8b,_0x2f5157)=>_0x19d0f3(_0x3bfe8b,_0x2f5157,_0x2277d1);let oe=class{constructor(_0x51cb61,_0x232ed1,_0x2cbabc){const _0x202929=_0x513d9e;this[_0x202929(0x202)]=_0x51cb61,this[_0x202929(0x228)]=_0x232ed1,this[_0x202929(0x1ca)]=_0x2cbabc;}['transformStateCache'](_0x2fb784){const _0x14fd88=_0x513d9e;this[_0x14fd88(0x1fd)](_0x2fb784);}[_0x513d9e(0x184)](_0x2aed15){const _0x6be047=_0x513d9e,{unitID:_0x22934b}=_0x2aed15,{collaboration:_0x22785a}=this[_0x6be047(0x1ca)][_0x6be047(0x298)](_0x22934b);if(_0x22785a[_0x6be047(0x1f0)]===0x0)return _0x2aed15;let _0x522ef0=_0x4cc9fc[_0x6be047(0x254)](_0x2aed15[_0x6be047(0xeb)][0x0]);for(let _0x1016c6=0x0;_0x1016c6<_0x22785a[_0x6be047(0x1f0)];_0x1016c6++){const _0x352305={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22785a[_0x1016c6]['unitId'],..._0x22785a[_0x1016c6]['redoState']}},_0x444df7=this[_0x6be047(0x228)][_0x6be047(0x2a0)](_0x522ef0,_0x352305,!0x1);if(_0x3ad4c3(_0x444df7))throw _0x444df7[_0x6be047(0x2b7)];_0x522ef0=_0x444df7[_0x6be047(0x142)];}return{..._0x4cc9fc[_0x6be047(0x254)](_0x2aed15),'mutations':[_0x522ef0]};}[_0x513d9e(0x1fd)](_0x82a347){const _0xf36413=_0x513d9e,{unitID:_0x5a6576}=_0x82a347,{history:_0x39569b,collaboration:_0x3b48c1}=this['_docStateChangeManagerService'][_0xf36413(0x298)](_0x5a6576);if(_0x39569b['length']===0x0&&_0x3b48c1[_0xf36413(0x1f0)]===0x0)return;const _0x8e2bcd=[],_0x4b2c54=[];let _0x44ab46=_0x4cc9fc[_0xf36413(0x254)](_0x82a347['mutations'][0x0]),_0x579771=_0x4cc9fc['deepClone'](_0x82a347[_0xf36413(0xeb)][0x0]);for(let _0x31003d=_0x39569b[_0xf36413(0x1f0)]-0x1;_0x31003d>=0x0;_0x31003d--){const _0x4f0229={'id':_0xf36413(0x1de),'params':{'unitId':_0x39569b[_0x31003d][_0xf36413(0x2c1)],..._0x39569b[_0x31003d]['undoState']}},_0x4613a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39569b[_0x31003d][_0xf36413(0x2c1)],..._0x39569b[_0x31003d][_0xf36413(0x180)]}},_0x50a503=this['_transformService'][_0xf36413(0x2a0)](_0x44ab46,_0x4f0229,!0x1),_0x1df2a9=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x579771,_0x4613a6,!0x1);if(_0x3ad4c3(_0x50a503))throw _0x50a503['error'];if(_0x3ad4c3(_0x1df2a9))throw _0x1df2a9[_0xf36413(0x2b7)];_0x8e2bcd[_0xf36413(0x114)]({..._0x39569b[_0x31003d],'undoState':_0x50a503[_0xf36413(0x2c3)][_0xf36413(0x1f7)],'redoState':_0x1df2a9[_0xf36413(0x2c3)][_0xf36413(0x1f7)]}),_0x44ab46=_0x50a503[_0xf36413(0x142)],_0x579771=_0x1df2a9['m1Prime'];}_0x44ab46=_0x4cc9fc[_0xf36413(0x254)](_0x82a347[_0xf36413(0xeb)][0x0]),_0x579771=_0x4cc9fc['deepClone'](_0x82a347[_0xf36413(0xeb)][0x0]);for(let _0x650a3=_0x3b48c1[_0xf36413(0x1f0)]-0x1;_0x650a3>=0x0;_0x650a3--){const _0x97e0e3={'id':_0xf36413(0x1de),'params':{'unitId':_0x3b48c1[_0x650a3]['unitId'],..._0x3b48c1[_0x650a3]['undoState']}},_0x2fd658={'id':_0xf36413(0x1de),'params':{'unitId':_0x3b48c1[_0x650a3][_0xf36413(0x2c1)],..._0x3b48c1[_0x650a3][_0xf36413(0x180)]}},_0x32ff95=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x44ab46,_0x97e0e3,!0x1),_0x196599=this[_0xf36413(0x228)][_0xf36413(0x2a0)](_0x579771,_0x2fd658,!0x1);if(_0x3ad4c3(_0x32ff95))throw _0x32ff95[_0xf36413(0x2b7)];if(_0x3ad4c3(_0x196599))throw _0x196599[_0xf36413(0x2b7)];_0x4b2c54['unshift']({..._0x3b48c1[_0x650a3],'undoState':_0x32ff95[_0xf36413(0x2c3)][_0xf36413(0x1f7)],'redoState':_0x196599['m2Prime'][_0xf36413(0x1f7)]}),_0x44ab46=_0x32ff95['m1Prime'],_0x579771=_0x196599[_0xf36413(0x142)];}this['_docStateChangeManagerService'][_0xf36413(0x15e)](_0x5a6576,{'history':_0x8e2bcd,'collaboration':_0x4b2c54});}};oe=_n([Ee(0x0,_0x4e2b5a(_0x5eb6e0)),Ee(0x1,_0x259b8d),Ee(0x2,_0x4e2b5a(_0x55395b))],oe);var hn=Object[_0x513d9e(0x2c4)],un=(_0x3d7c2e,_0x292fac,_0x30ebd0,_0x4192c9)=>{const _0x437144=_0x513d9e;for(var _0x20aebe=_0x4192c9>0x1?void 0x0:_0x4192c9?hn(_0x292fac,_0x30ebd0):_0x292fac,_0x4ac6c0=_0x3d7c2e[_0x437144(0x1f0)]-0x1,_0x4a0fc9;_0x4ac6c0>=0x0;_0x4ac6c0--)(_0x4a0fc9=_0x3d7c2e[_0x4ac6c0])&&(_0x20aebe=_0x4a0fc9(_0x20aebe)||_0x20aebe);return _0x20aebe;},it=(_0x3bd441,_0x1c3dd5)=>(_0x1bc163,_0x5e7277)=>_0x1c3dd5(_0x1bc163,_0x5e7277,_0x3bd441);let ae=class{constructor(_0x5042f2,_0x2ef7be){const _0x4e5120=_0x513d9e;this[_0x4e5120(0x202)]=_0x5042f2,this['_transformService']=_0x2ef7be;}[_0x513d9e(0x10b)](_0xa8777){const _0x537724=_0x513d9e;var _0x3a5410;const _0x3592e4=this[_0x537724(0x202)][_0x537724(0x1a4)](_0x562654),_0x43d3dd=(_0x3a5410=_0x3592e4[_0x537724(0x208)]())!=null?_0x3a5410:[];if(_0x43d3dd[_0x537724(0x1f0)]===0x0)return;const _0x5b419b=_0xa8777[_0x537724(0x19b)],_0x387f9b=[{'id':_0x537724(0x1de),'params':{'unitId':_0x5b419b,'actions':null,'textRanges':_0x43d3dd}}],_0x615206=this['_transformService'][_0x537724(0x284)](_0xa8777,_0x387f9b);if(!_0x6d680(_0x615206))throw _0x615206[_0x537724(0x2b7)];const _0x36bd6d=_0x615206[_0x537724(0x2c3)][0x0][_0x537724(0x1f7)]['textRanges'];Array[_0x537724(0x1ec)](_0x36bd6d)&&_0x36bd6d[_0x537724(0x1f0)]&&_0x3592e4[_0x537724(0xfc)](_0x36bd6d,{'unitId':_0x5b419b,'subUnitId':_0x5b419b},!0x1);}};ae=un([it(0x0,_0x4e2b5a(_0x5eb6e0)),it(0x1,_0x259b8d)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x1deab0,_0xb68711,_0x36ac48,_0x40cc96)=>{const _0x5e1849=_0x513d9e;for(var _0x2ce631=_0x40cc96>0x1?void 0x0:_0x40cc96?dn(_0xb68711,_0x36ac48):_0xb68711,_0xb78e9e=_0x1deab0[_0x5e1849(0x1f0)]-0x1,_0x22e618;_0xb78e9e>=0x0;_0xb78e9e--)(_0x22e618=_0x1deab0[_0xb78e9e])&&(_0x2ce631=_0x22e618(_0x2ce631)||_0x2ce631);return _0x2ce631;},M=(_0x24c973,_0xf4d068)=>(_0x46e5ed,_0x3c3080)=>_0xf4d068(_0x46e5ed,_0x3c3080,_0x24c973);let ce=class extends _0x4dc13d{constructor(_0x3d905d,_0x1b3337,_0x14064b,_0x3dcee7,_0x4f9e69,_0x4cce85,_0xa647f,_0x8a132e){const _0x3dd85d=_0x513d9e;super(),_(this,_0x3dd85d(0xf4),new _0x2f60b9(_0x1f0bee[_0x3dd85d(0x1d7)])),(this[_0x3dd85d(0x1ca)]=_0x3d905d,this[_0x3dd85d(0x158)]=_0x1b3337,this[_0x3dd85d(0x1d1)]=_0x14064b,this[_0x3dd85d(0x29a)]=_0x3dcee7,this['_docTransformSelectionsService']=_0x4f9e69,this[_0x3dd85d(0x1c4)]=_0x4cce85,this[_0x3dd85d(0x18f)]=_0xa647f,this[_0x3dd85d(0x1f4)]=_0x8a132e,this[_0x3dd85d(0x1d5)]());}[_0x513d9e(0x1d5)](){const _0x566aa1=_0x513d9e;this[_0x566aa1(0x1ab)](this[_0x566aa1(0x158)]['entityInit$'][_0x566aa1(0x2ac)](_0x4b1f97=>{const _0x1d06a7=_0x566aa1,_0xd72435=this['_docStateChangeManagerService'][_0x1d06a7(0x17c)][_0x1d06a7(0x2ac)](_0x15ec4e=>{const _0x5ec7f8=_0x1d06a7;if(_0x15ec4e==null)return;const {unitId:_0x54d575,redoState:_0x238e18,commandId:_0x3ff4f3}=_0x15ec4e;if(_0x54d575!==_0x4b1f97[_0x5ec7f8(0x19b)])return;const _0x1304da={'id':_0x3ff4f3,'type':_0x5e67eb[_0x5ec7f8(0x182)],'params':{'unitId':_0x54d575,'actions':_0x238e18[_0x5ec7f8(0x1ba)],'textRanges':null}};_0x4b1f97[_0x5ec7f8(0x124)](_0x1304da);});if(_0x4b1f97[_0x1d06a7(0x1ab)](_0xd72435),_0x4b1f97 instanceof _0x3085e3){const _0x40cf97={'onTransformIME':_0x40ecb4=>this['_docTransformIMECacheService'][_0x1d06a7(0x2c6)](_0x40ecb4),'onTransformState':_0x425b96=>this[_0x1d06a7(0x29a)]['transformStateCache'](_0x425b96),'onTransformSelections':_0x139af8=>this['_docTransformSelectionsService'][_0x1d06a7(0x10b)](_0x139af8),'onSyncEditingCollabCursor':_0x2fb23f=>this[_0x1d06a7(0x1c4)][_0x1d06a7(0x1ce)](_0x2fb23f),'onTransformRemoteChangesetByIMECache':_0x19a763=>this['_docTransformIMECacheService'][_0x1d06a7(0x184)](_0x19a763),'onTransformRemoteChangesetByStateCache':_0x3e9fc5=>this[_0x1d06a7(0x29a)]['transformRemoteChangeset'](_0x3e9fc5)};_0x4b1f97['addHandlerCallback'](_0x40cf97);}}));}};ce=fn([M(0x0,_0x4e2b5a(_0x55395b)),M(0x1,_0x4e2b5a(_0x44a7ae)),M(0x2,_0x4e2b5a(re)),M(0x3,_0x4e2b5a(oe)),M(0x4,_0x4e2b5a(ae)),M(0x5,_0x4e2b5a(je)),M(0x6,_0x40ced4),M(0x7,_0x4e2b5a(_0x55f656))],ce);var Sn=Object[_0x513d9e(0x2c4)],mn=(_0xe29f75,_0xc60797,_0x7ddbc1,_0x4395a4)=>{for(var _0xa266ab=_0x4395a4>0x1?void 0x0:_0x4395a4?Sn(_0xc60797,_0x7ddbc1):_0xc60797,_0x297651=_0xe29f75['length']-0x1,_0x5ba36c;_0x297651>=0x0;_0x297651--)(_0x5ba36c=_0xe29f75[_0x297651])&&(_0xa266ab=_0x5ba36c(_0xa266ab)||_0xa266ab);return _0xa266ab;},be=(_0x2e660d,_0x4b4431)=>(_0x244a9f,_0x39d1f0)=>_0x4b4431(_0x244a9f,_0x39d1f0,_0x2e660d);let Ae=class extends _0x4dc13d{constructor(_0x46d2c0,_0x58c4d2,_0x48810d){const _0x47651d=_0x513d9e;super(),_(this,_0x47651d(0x1d4),new Map()),_(this,_0x47651d(0x1eb),new Map()),_(this,_0x47651d(0x131),!0x1),(this[_0x47651d(0x1e9)]=_0x46d2c0,this[_0x47651d(0x1be)]=_0x58c4d2,this[_0x47651d(0x22d)]=_0x48810d);}[_0x513d9e(0x14e)](){const _0x4f4a62=_0x513d9e;this[_0x4f4a62(0x131)]=!0x0;}[_0x513d9e(0x2d7)](){const _0x846c6=_0x513d9e;this[_0x846c6(0x131)]=!0x1;}get[_0x513d9e(0x1cb)](){const _0x318a6a=_0x513d9e;return this[_0x318a6a(0x1eb)];}[_0x513d9e(0x19f)](){const _0x964730=_0x513d9e;this[_0x964730(0x110)]()[_0x964730(0x2d1)](()=>super[_0x964730(0x19f)]());}async[_0x513d9e(0x238)](_0x2d8fac){const _0xa6edca=_0x513d9e;return this[_0xa6edca(0x131)]?null:this['_localStorageService'][_0xa6edca(0x135)](_0x1469d3(_0x2d8fac));}async['saveOfflineData'](_0x440d7c,_0x4a6925){const _0x5843e4=_0x513d9e;return!!this[_0x5843e4(0x1be)][_0x5843e4(0x1e4)](_0x440d7c,_0x4a6925);}['updateOfflineData'](_0x33633e,_0x13a747,_0x5ecc53,_0xf29cde){const _0x325c71=_0x513d9e,_0x2e07ca=this[_0x325c71(0x22d)][_0x325c71(0x129)](_0x33633e);this['_cachedData'][_0x325c71(0x287)](_0x33633e,{'unitID':_0x33633e,'type':_0x13a747,'awaitingChangeset':_0x5ecc53,'mutations':_0xf29cde,'rev':_0x2e07ca}),this[_0x325c71(0x1eb)][_0x325c71(0x128)](_0x33633e)||this['_scheduleSaving'](_0x33633e);}[_0x513d9e(0x12b)](_0x549e73){const _0x1594d3=_0x513d9e,_0x329341=this[_0x1594d3(0xf3)]();_0x329341===0x0?this['_saveCache'](_0x549e73):this[_0x1594d3(0x1eb)]['set'](_0x549e73,setTimeout(()=>this[_0x1594d3(0x122)](_0x549e73),_0x329341));}['_getSaveTimeout'](){const _0x17a04e=_0x513d9e;var _0x4fb58d;return(_0x4fb58d=this[_0x17a04e(0x1e9)][_0x17a04e(0x24d)](_0x3f60fe))!=null?_0x4fb58d:_0x30e09d;}[_0x513d9e(0x122)](_0x3304ee){const _0x3b5612=_0x513d9e,_0x161c24=this[_0x3b5612(0x1eb)]['get'](_0x3304ee);return _0x161c24!==void 0x0&&window[_0x3b5612(0x2e9)](_0x161c24),this['_localStorageService'][_0x3b5612(0x1e4)](_0x1469d3(_0x3304ee),this[_0x3b5612(0x1d4)][_0x3b5612(0x1a4)](_0x3304ee))[_0x3b5612(0x2d1)](()=>this[_0x3b5612(0x1eb)][_0x3b5612(0x159)](_0x3304ee));}async[_0x513d9e(0x110)](){const _0x167971=_0x513d9e,_0x5e83de=[];this[_0x167971(0x1eb)][_0x167971(0x201)]((_0x5f21e6,_0x221e67)=>{const _0x305f39=_0x167971;window[_0x305f39(0x2e9)](_0x5f21e6),_0x5e83de['push'](this[_0x305f39(0x122)](_0x221e67)[_0x305f39(0x2d1)](()=>{const _0x5c669f=_0x305f39;this[_0x5c669f(0x1eb)]['delete'](_0x221e67);}));}),await Promise['all'](_0x5e83de);}};Ae=mn([be(0x0,_0x4718d4),be(0x1,_0x30992d),be(0x2,_0x4e2b5a(_0x983c6e))],Ae);class gn extends _0x2e496d{constructor(){const _0x20866d=_0x513d9e;super(),_(this,'urlChange$'),this[_0x20866d(0x248)]=_0xfbfcc7(window,_0x20866d(0x1d8))[_0x20866d(0x230)](_0x2522f4(this[_0x20866d(0x107)]),_0x2468a5(0x1),_0x389fda(void 0x0));}[_0x513d9e(0x277)](_0x14b9e7,_0x1534cc,_0x337ee3=!0x1){const _0x255add=_0x513d9e,_0x2fff6d=new URL(window[_0x255add(0x1ee)][_0x255add(0x235)]);_0x2fff6d['searchParams']['set'](_0x14b9e7,_0x1534cc),_0x337ee3?window['history'][_0x255add(0x226)]('','',_0x2fff6d[_0x255add(0x153)]()):window[_0x255add(0x244)][_0x255add(0x14c)]('','',_0x2fff6d[_0x255add(0x153)]());}[_0x513d9e(0x29b)](_0xbd544b,_0x283ef9=!0x1){const _0x35a9b0=_0x513d9e,_0xd4c446=new URL(window['location'][_0x35a9b0(0x235)]);_0xd4c446[_0x35a9b0(0x2b9)][_0x35a9b0(0x159)](_0xbd544b),_0x283ef9?window['history']['replaceState']('','',_0xd4c446['toString']()):window[_0x35a9b0(0x244)][_0x35a9b0(0x14c)]('','',_0xd4c446[_0x35a9b0(0x153)]());}[_0x513d9e(0x285)](_0x240ef2){const _0x2db751=_0x513d9e;var _0x35e879;return(_0x35e879=new URL(window['location']['href'])[_0x2db751(0x2b9)]['get'](_0x240ef2))!=null?_0x35e879:void 0x0;}}var vn=Object[_0x513d9e(0x1a2)],In=Object[_0x513d9e(0x2c4)],pn=(_0x24f12a,_0x1ce8c0,_0x4e60c4)=>_0x1ce8c0 in _0x24f12a?vn(_0x24f12a,_0x1ce8c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e60c4}):_0x24f12a[_0x1ce8c0]=_0x4e60c4,Cn=(_0x5820eb,_0x511878,_0x4a8b9b,_0x19ab8c)=>{const _0x1956d6=_0x513d9e;for(var _0x39508c=_0x19ab8c>0x1?void 0x0:_0x19ab8c?In(_0x511878,_0x4a8b9b):_0x511878,_0x3f7db6=_0x5820eb[_0x1956d6(0x1f0)]-0x1,_0x139c75;_0x3f7db6>=0x0;_0x3f7db6--)(_0x139c75=_0x5820eb[_0x3f7db6])&&(_0x39508c=_0x139c75(_0x39508c)||_0x39508c);return _0x39508c;},Oe=(_0x1e6cca,_0x34499f)=>(_0x41d649,_0xd630be)=>_0x34499f(_0x41d649,_0xd630be,_0x1e6cca),En=(_0x43ffea,_0x5928b9,_0x48698b)=>pn(_0x43ffea,_0x5928b9+'',_0x48698b);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x49b229{constructor(_0x67bf3a=st,_0x210f81,_0x213ead,_0x3e985f){const _0x21f524=_0x513d9e;super(),this[_0x21f524(0x274)]=_0x67bf3a,this['_renderManagerService']=_0x210f81,this[_0x21f524(0x202)]=_0x213ead,this['_configService']=_0x3e985f;const {..._0x209ec7}=_0x2498c3({},st,this[_0x21f524(0x274)]);this[_0x21f524(0x1e9)]['setConfig'](nn,_0x209ec7);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x7ac726=_0x513d9e;this[_0x7ac726(0x15c)]();}['_registerDependencies'](){const _0x148933=_0x513d9e;var _0x21e06d;const _0x2cea36=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x52e1b8,{'useClass':_0x4166f2}],[_0x29a577,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x3fbeef(this[_0x148933(0x202)],_0x50ab32(_0x2cea36,(_0x21e06d=this[_0x148933(0x274)])==null?void 0x0:_0x21e06d['override']));}[_0x513d9e(0x15c)](){const _0x482520=_0x513d9e;this['disposeWithMe'](this[_0x482520(0x148)][_0x482520(0x2a4)](_0x33f165[_0x482520(0x240)],[Ue])),this[_0x482520(0x1ab)](this[_0x482520(0x148)][_0x482520(0x2a4)](_0x33f165[_0x482520(0x29d)],[Le]));}['_initDependencies'](){const _0x2cd7da=_0x513d9e;_0x5b4f50(this[_0x2cd7da(0x202)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x513d9e(0x1df),bn),ye=Cn([_0x10073b(_0x5699ed),Oe(0x1,_0x1eedb5),Oe(0x2,_0x4e2b5a(_0x5eb6e0)),Oe(0x3,_0x4718d4)],ye);var On=Object[_0x513d9e(0x2c4)],Tn=(_0x1eb569,_0x2c3b95,_0x131eda,_0x579cc1)=>{const _0x103121=_0x513d9e;for(var _0x5187fc=_0x579cc1>0x1?void 0x0:_0x579cc1?On(_0x2c3b95,_0x131eda):_0x2c3b95,_0x3e73e6=_0x1eb569[_0x103121(0x1f0)]-0x1,_0x7201f0;_0x3e73e6>=0x0;_0x3e73e6--)(_0x7201f0=_0x1eb569[_0x3e73e6])&&(_0x5187fc=_0x7201f0(_0x5187fc)||_0x5187fc);return _0x5187fc;},z=(_0xb267e4,_0x42d106)=>(_0x1f3ef0,_0x28ac3c)=>_0x42d106(_0x1f3ef0,_0x28ac3c,_0xb267e4);let nt=class extends _0x3ef059{constructor(_0xb70a39,_0x4d44d7,_0x2f1390,_0x213e6e,_0x4755b3){super(_0xb70a39,_0x4d44d7,_0x2f1390,_0x213e6e,_0x4755b3);}async[_0x513d9e(0x1aa)](_0xa5b2ee){const _0x5a3957=_0x513d9e,_0x49d349=await this['_getSessionTicket'](),_0x1c351f=this[_0x5a3957(0x2b6)](_0xa5b2ee,_0x49d349);return this[_0x5a3957(0x267)](_0x1c351f);}[_0x513d9e(0x2b6)](_0x4bd8b2,_0x47d993){const _0x5644b0=_0x513d9e,_0x593fb2=typeof window>'u'?new URL(_0x4bd8b2):new URL(_0x4bd8b2,window[_0x5644b0(0x1ee)][_0x5644b0(0x192)]);_0x593fb2[_0x5644b0(0x2b9)]['set'](_0x5644b0(0x2c9),_0x47d993);const _0x335d61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5644b0(0x1ee)][_0x5644b0(0x143)]);return _0x335d61[_0x5644b0(0x1a4)](_0x5644b0(0x23f))&&_0x593fb2[_0x5644b0(0x2b9)][_0x5644b0(0x287)](_0x5644b0(0x23f),_0x335d61['get'](_0x5644b0(0x23f))),_0x593fb2[_0x5644b0(0x153)]();}async[_0x513d9e(0x11b)](){const _0x5137ed=_0x513d9e;var _0x414c71,_0x330506,_0x3549c1;const _0x381cc5=this[_0x5137ed(0x1e9)][_0x5137ed(0x24d)](_0xa077a1),_0x52439c=(_0x414c71=_0x381cc5==null?void 0x0:_0x381cc5[_0x5137ed(0x1dd)])!=null?_0x414c71:_0x4443a5;return(_0x3549c1=(_0x330506=(await this[_0x5137ed(0x1af)][_0x5137ed(0x1a4)](_0x52439c,{'headers':{'Content-Type':_0x5137ed(0xee)}}))[_0x5137ed(0x21f)])==null?void 0x0:_0x330506[_0x5137ed(0x203)])!=null?_0x3549c1:'';}};nt=Tn([z(0x0,_0x4e2b5a(_0x5eb6e0)),z(0x1,_0x4e2b5a(_0x4d9384)),z(0x2,_0x4718d4),z(0x3,_0x39d4b2),z(0x4,_0x31a2a6)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x4dc13d{constructor(){const _0x34eebc=_0x513d9e;super(),_(this,_0x34eebc(0x250),_0x6dfb36()),_(this,_0x34eebc(0x2b3),new Set()),_(this,_0x34eebc(0x1c8),new Map()),_(this,_0x34eebc(0x22c),null),_(this,_0x34eebc(0x2cf),new Map()),_(this,_0x34eebc(0x151),new Map()),this[_0x34eebc(0x119)]();}[_0x513d9e(0x19f)](){const _0xb237d7=_0x513d9e;super[_0xb237d7(0x19f)](),this[_0xb237d7(0x2cf)][_0xb237d7(0x201)]((_0x2b3f9b,_0x14ee4b)=>this[_0xb237d7(0x1b7)](_0x14ee4b)),this[_0xb237d7(0x22c)]&&window[_0xb237d7(0x205)](this[_0xb237d7(0x22c)]);}[_0x513d9e(0x15d)](_0x4836b0){const _0x3e54f5=_0x513d9e;return this[_0x3e54f5(0x2e0)](_0x4836b0)[_0x3e54f5(0x230)](_0x5ac49d());}[_0x513d9e(0xf9)](_0x3c54c6){const _0x2e4df7=_0x513d9e;this[_0x2e4df7(0x2b3)][_0x2e4df7(0x11c)]===0x0&&this[_0x2e4df7(0x168)](),this[_0x2e4df7(0x2b3)]['add'](_0x3c54c6),this[_0x2e4df7(0x1f9)]({'type':0x0,'memberID':this[_0x2e4df7(0x250)],'unitIDs':[_0x3c54c6],'isForwarded':!0x1});}[_0x513d9e(0x1bc)](_0x3a30f7){const _0x27e9ea=_0x513d9e;this['_selfUnitIDs'][_0x27e9ea(0x159)](_0x3a30f7),this[_0x27e9ea(0x2b3)][_0x27e9ea(0x11c)]===0x0&&this[_0x27e9ea(0x22c)]&&window[_0x27e9ea(0x205)](this['_heartbeatTimer']);}[_0x513d9e(0x119)](){const _0x139d18=_0x513d9e;this[_0x139d18(0x1ab)](_0x157122(_0xfbfcc7(window,_0x139d18(0x2c8))[_0x139d18(0x2ac)](_0x1755d0=>{const _0x5ab7d4=_0x139d18;if(_0x1755d0[_0x5ab7d4(0x1fe)]!==ot||!_0x1755d0[_0x5ab7d4(0x189)])return;const _0xed4183=JSON[_0x5ab7d4(0x26d)](_0x1755d0['newValue']);this[_0x5ab7d4(0x215)](_0xed4183);}))),window[_0x139d18(0x258)](_0x139d18(0x105),()=>this[_0x139d18(0x1f9)]({'type':0x1,'memberID':this[_0x139d18(0x250)],'unitIDs':Array[_0x139d18(0x1d6)](this[_0x139d18(0x2b3)])}));}['_handleEvent'](_0x511502){const _0x1612a8=_0x513d9e;switch(_0x511502[_0x1612a8(0x2b2)]){case 0x0:this[_0x1612a8(0xf0)](_0x511502);break;case 0x1:this[_0x1612a8(0x117)](_0x511502);break;case 0x2:this[_0x1612a8(0x1b2)](_0x511502);break;}}[_0x513d9e(0xf0)](_0x44dcd3){const _0x55a8da=_0x513d9e,{unitIDs:_0x264bda,memberID:_0x11130d,isForwarded:_0x269954}=_0x44dcd3;_0x264bda[_0x55a8da(0x201)](_0x1ddedb=>{const _0x432c4a=_0x55a8da;if(!_0x269954&&this[_0x432c4a(0x1c8)][_0x432c4a(0x128)](_0x1ddedb)&&this['_ensureSubject'](_0x1ddedb)[_0x432c4a(0x20f)](_0x5acfba[_0x432c4a(0x2b1)]),!this[_0x432c4a(0x1c8)][_0x432c4a(0x128)](_0x1ddedb)||!this[_0x432c4a(0x1c8)][_0x432c4a(0x1a4)](_0x1ddedb)[_0x432c4a(0x128)](_0x11130d)){const _0x42c5f9=this[_0x432c4a(0x1c8)][_0x432c4a(0x1a4)](_0x1ddedb)||new Set();_0x42c5f9[_0x432c4a(0x249)](_0x11130d),this['_unitOnClients']['set'](_0x1ddedb,_0x42c5f9),this[_0x432c4a(0x20d)](_0x11130d);}}),_0x269954||this['_send']({'type':0x0,'memberID':this[_0x55a8da(0x250)],'unitIDs':[...this[_0x55a8da(0x2b3)]],'isForwarded':!0x0});}[_0x513d9e(0x20d)](_0x56c33b){const _0x115c83=_0x513d9e;this[_0x115c83(0x1b7)](_0x56c33b);const _0xdbc469=window[_0x115c83(0x1c3)](()=>{const _0x1ccd27=_0x115c83;this['_unitOnClients'][_0x1ccd27(0x201)](_0x5f5bb8=>{const _0x2789ff=_0x1ccd27;_0x5f5bb8[_0x2789ff(0x159)](_0x56c33b);});},rt*0x2);this['_clearOtherTimers']['set'](_0x56c33b,_0xdbc469);}[_0x513d9e(0x1b7)](_0x179bb8){const _0x340415=_0x513d9e;if(this['_clearOtherTimers'][_0x340415(0x128)](_0x179bb8)){const _0x598625=this[_0x340415(0x2cf)][_0x340415(0x1a4)](_0x179bb8);_0x598625&&window[_0x340415(0x2e9)](_0x598625),this[_0x340415(0x2cf)][_0x340415(0x287)](_0x179bb8,null);}}[_0x513d9e(0x117)](_0x2629b8){const _0x545a01=_0x513d9e,{memberID:_0x5304b8,unitIDs:_0x3166ff}=_0x2629b8;_0x3166ff[_0x545a01(0x201)](_0x26c3b9=>{const _0x528471=_0x545a01;var _0x40fbe5;const _0x4b06ea=this[_0x528471(0x1c8)][_0x528471(0x1a4)](_0x26c3b9);_0x4b06ea&&(_0x4b06ea[_0x528471(0x159)](_0x5304b8),(_0x40fbe5=this['_ensureSubject'](_0x26c3b9))==null||_0x40fbe5[_0x528471(0x20f)](_0x4b06ea[_0x528471(0x11c)]===0x0?_0x5acfba[_0x528471(0x12e)]:_0x5acfba[_0x528471(0x2b1)]));}),this['_removeClearOtherTimer'](_0x5304b8);}[_0x513d9e(0x1b2)](_0x5eb403){const _0x672db8=_0x513d9e;this['_scheduleClearOtherTimer'](_0x5eb403[_0x672db8(0x1a8)]);}[_0x513d9e(0x1f9)](_0x5c8ec0){const _0x2ecf99=_0x513d9e;localStorage[_0x2ecf99(0x1e4)](ot,JSON[_0x2ecf99(0x27b)](_0x5c8ec0));}[_0x513d9e(0x168)](){const _0x47feaa=_0x513d9e;this['_heartbeatTimer']=window[_0x47feaa(0x111)](()=>{const _0x37d926=_0x47feaa;this[_0x37d926(0x1f9)]({'type':0x2,'memberID':this[_0x37d926(0x250)]});},rt);}[_0x513d9e(0x2e0)](_0x3e121a){const _0x493f03=_0x513d9e;return this[_0x493f03(0x151)]['has'](_0x3e121a)||this[_0x493f03(0x151)][_0x493f03(0x287)](_0x3e121a,new _0x2f60b9(_0x5acfba['NO_OTHER_CLIENTS_EDITING'])),this[_0x493f03(0x151)][_0x493f03(0x1a4)](_0x3e121a);}}var Ut=(_0x50e8b2=>(_0x50e8b2[_0x50e8b2['UNDEFINED']=0x0]='UNDEFINED',_0x50e8b2[_0x50e8b2['OK']=0x1]='OK',_0x50e8b2[_0x50e8b2[_0x513d9e(0x24f)]=0x2]='INTERNAL_ERROR',_0x50e8b2[_0x50e8b2[_0x513d9e(0x245)]=0x3]=_0x513d9e(0x245),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1da)]=0x4]=_0x513d9e(0x1da),_0x50e8b2[_0x50e8b2[_0x513d9e(0x100)]=0x5]='UNAUTHENTICATED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x2d9)]=0x6]=_0x513d9e(0x2d9),_0x50e8b2[_0x50e8b2[_0x513d9e(0x162)]=0x7]=_0x513d9e(0x162),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2dd)]=0x8]=_0x513d9e(0x2dd),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1e2)]=0x9]='COMPLETION_FINISHED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x120)]=0xa]=_0x513d9e(0x120),_0x50e8b2[_0x50e8b2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x50e8b2[_0x50e8b2[_0x513d9e(0x10a)]=0x1771]=_0x513d9e(0x10a),_0x50e8b2[_0x50e8b2[_0x513d9e(0x141)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x50e8b2[_0x50e8b2[_0x513d9e(0x16d)]=0x1773]=_0x513d9e(0x16d),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1fa)]=0x1b59]=_0x513d9e(0x1fa),_0x50e8b2[_0x50e8b2[_0x513d9e(0x12a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50e8b2[_0x50e8b2[_0x513d9e(0x17f)]=0x1b5b]=_0x513d9e(0x17f),_0x50e8b2[_0x50e8b2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x513d9e(0x139),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1d0)]=0x1b5d]=_0x513d9e(0x1d0),_0x50e8b2[_0x50e8b2[_0x513d9e(0x296)]=0x1f41]=_0x513d9e(0x296),_0x50e8b2[_0x50e8b2[_0x513d9e(0x276)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x50e8b2[_0x50e8b2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x513d9e(0x1d2),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1cc)]=0x232b]=_0x513d9e(0x1cc),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2d6)]=0x232c]=_0x513d9e(0x2d6),_0x50e8b2[_0x50e8b2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513d9e(0x152),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1a3)]=0x2711]=_0x513d9e(0x1a3),_0x50e8b2[_0x50e8b2[_0x513d9e(0xf7)]=0x2712]=_0x513d9e(0xf7),_0x50e8b2[_0x50e8b2[_0x513d9e(0x1a7)]=0x2713]=_0x513d9e(0x1a7),_0x50e8b2[_0x50e8b2[_0x513d9e(0x118)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x50e8b2[_0x50e8b2[_0x513d9e(0x279)]=0x2af9]=_0x513d9e(0x279),_0x50e8b2[_0x50e8b2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x513d9e(0x160),_0x50e8b2[_0x50e8b2['INVALID_INVITE_CODE']=0x2ee2]=_0x513d9e(0x25c),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2bd)]=0x2ee3]=_0x513d9e(0x2bd),_0x50e8b2[_0x50e8b2[_0x513d9e(0x2a5)]=0x2ee4]=_0x513d9e(0x2a5),_0x50e8b2[_0x50e8b2[_0x513d9e(0x211)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x50e8b2[_0x50e8b2[_0x513d9e(0x24c)]=0x32c9]=_0x513d9e(0x24c),_0x50e8b2[_0x50e8b2[_0x513d9e(0x134)]=0x32ca]=_0x513d9e(0x134),_0x50e8b2[_0x50e8b2[_0x513d9e(0x28d)]=0x32cb]=_0x513d9e(0x28d),_0x50e8b2[_0x50e8b2['UNRECOGNIZED']=-0x1]=_0x513d9e(0x171),_0x50e8b2))(Ut||{}),Rn=Object[_0x513d9e(0x2c4)],Dn=(_0x1421e2,_0x5b9df8,_0x1f5bad,_0x56c981)=>{const _0x89d250=_0x513d9e;for(var _0x49115e=_0x56c981>0x1?void 0x0:_0x56c981?Rn(_0x5b9df8,_0x1f5bad):_0x5b9df8,_0x34ea85=_0x1421e2[_0x89d250(0x1f0)]-0x1,_0x47e040;_0x34ea85>=0x0;_0x34ea85--)(_0x47e040=_0x1421e2[_0x34ea85])&&(_0x49115e=_0x47e040(_0x49115e)||_0x49115e);return _0x49115e;},Te=(_0x5e1d1e,_0x24a5bb)=>(_0x1f531e,_0x346d15)=>_0x24a5bb(_0x1f531e,_0x346d15,_0x5e1d1e);let at=class extends _0x4dc13d{constructor(_0x116a5c,_0x592868,_0x342d3a){const _0x49308c=_0x513d9e;super(),this['_instanceService']=_0x116a5c,this[_0x49308c(0x1af)]=_0x592868,this[_0x49308c(0x1e9)]=_0x342d3a;}async[_0x513d9e(0x10c)](_0x2ff6b3,_0x5b649a,_0x4fc2cf,..._0x4e3e27){const _0x5df909=_0x513d9e;var _0x10e9cd,_0x61978a,_0x355f43,_0x45a3b2;const _0x4359ac=this[_0x5df909(0x2de)]['getFocusedUnit']();if(!_0x4359ac)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x456859=((_0x10e9cd=this[_0x5df909(0x1e9)][_0x5df909(0x24d)](_0x5c942b))!=null?_0x10e9cd:_0x1de839)+'/'+_0x2ff6b3+_0x5df909(0x231)+_0x5b649a,_0x48a31e=new URL(window['location']['href']),_0x46aabd={'scriptId':_0x2ff6b3,'runId':(_0x61978a=_0x48a31e[_0x5df909(0x2b9)][_0x5df909(0x1a4)](_0x5df909(0x23f)))!=null?_0x61978a:'','function':_0x5b649a,'unitId':_0x4359ac[_0x5df909(0x26a)](),'argsOfFunction':JSON[_0x5df909(0x27b)](_0x4e3e27),'invokeId':(_0x355f43=_0x4fc2cf['invokeId'])!=null?_0x355f43:'','executionId':(_0x45a3b2=_0x4fc2cf[_0x5df909(0x200)])!=null?_0x45a3b2:''};try{const _0x41626c=await this[_0x5df909(0x1af)]['post'](_0x456859,{'body':_0x46aabd});return _0x41626c[_0x5df909(0x21f)]['error']&&_0x41626c['body'][_0x5df909(0x2b7)][_0x5df909(0x170)]!==Ut['OK']?'Failed':_0x41626c[_0x5df909(0x21f)][_0x5df909(0x1f6)];}catch{return _0x5df909(0x23b);}}};at=Dn([Te(0x0,_0x2e22e9),Te(0x1,_0x4e2b5a(_0x4d9384)),Te(0x2,_0x4718d4)],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};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3f850f=_0x57b8;function _0x1fc1(){const _0x1b65bd=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5592EzsukN','5374572oYUIMx','Click\x20to\x20Reconnect','24TTznxY','2oMMguD','1195758PBskEu','Collaboration\x20Conflict','Syncing...','2707292MLsAVf','20284QjbLLG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1535ebsWqV','4URBJKv','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1121286dctOLy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','800CUyEcW','Authentication\x20Error','Syncing\x20server\x20data...','3262MWJRhi','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x1fc1=function(){return _0x1b65bd;};return _0x1fc1();}function _0x57b8(_0x347eab,_0x2a433b){const _0x1fc1ad=_0x1fc1();return _0x57b8=function(_0x57b859,_0x67884e){_0x57b859=_0x57b859-0x157;let _0x2df82a=_0x1fc1ad[_0x57b859];return _0x2df82a;},_0x57b8(_0x347eab,_0x2a433b);}(function(_0xf52829,_0x3dae95){const _0x53d133=_0x57b8,_0x2fdca0=_0xf52829();while(!![]){try{const _0x8bc5fc=-parseInt(_0x53d133(0x16c))/0x1*(-parseInt(_0x53d133(0x165))/0x2)+parseInt(_0x53d133(0x15f))/0x3*(-parseInt(_0x53d133(0x15c))/0x4)+-parseInt(_0x53d133(0x15b))/0x5*(-parseInt(_0x53d133(0x168))/0x6)+-parseInt(_0x53d133(0x158))/0x7+parseInt(_0x53d133(0x16b))/0x8*(parseInt(_0x53d133(0x16d))/0x9)+-parseInt(_0x53d133(0x162))/0xa*(parseInt(_0x53d133(0x159))/0xb)+parseInt(_0x53d133(0x169))/0xc;if(_0x8bc5fc===_0x3dae95)break;else _0x2fdca0['push'](_0x2fdca0['shift']());}catch(_0x15aa1f){_0x2fdca0['push'](_0x2fdca0['shift']());}}}(_0x1fc1,0x379e7));const e={'collab-client':{'tooltip':{'reconnect':_0x3f850f(0x16a)}},'collabStatus':{'fetchMiss':_0x3f850f(0x164),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x3f850f(0x161),'syncing':_0x3f850f(0x157),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3f850f(0x15a)},'conflict':{'title':_0x3f850f(0x16e),'content':_0x3f850f(0x15d)},'permission':{'title':_0x3f850f(0x163),'content':_0x3f850f(0x160)},'collaboration':{'single-unit':{'warning':_0x3f850f(0x15e)},'closeRoom':_0x3f850f(0x167)},'auth':{'needGotoLoginAlert':_0x3f850f(0x166)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x8911(_0x2a1b04,_0xff59e4){const _0x109e55=_0x109e();return _0x8911=function(_0x89115e,_0x14f786){_0x89115e=_0x89115e-0x1ca;let _0x5416a7=_0x109e55[_0x89115e];return _0x5416a7;},_0x8911(_0x2a1b04,_0xff59e4);}function _0x109e(){const _0x5c0f3d=['1638420VbupVC','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2939352iuskPH','20dSMZOy','399306UygjfT','5367KnieOz','همگام\x20سازی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','15695118nCnEHM','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','758084mXcOPT','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','304VMJeCF','خطای\x20اعتبارسنجی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پرونده\x20محلی','633684fzFTAf'];_0x109e=function(){return _0x5c0f3d;};return _0x109e();}const _0x43f402=_0x8911;(function(_0x26c644,_0x680f07){const _0x15fec7=_0x8911,_0xe33c06=_0x26c644();while(!![]){try{const _0x2e129c=-parseInt(_0x15fec7(0x1d0))/0x1+parseInt(_0x15fec7(0x1db))/0x2*(-parseInt(_0x15fec7(0x1d1))/0x3)+parseInt(_0x15fec7(0x1d7))/0x4+-parseInt(_0x15fec7(0x1cf))/0x5*(parseInt(_0x15fec7(0x1ca))/0x6)+-parseInt(_0x15fec7(0x1cb))/0x7+-parseInt(_0x15fec7(0x1ce))/0x8+parseInt(_0x15fec7(0x1d4))/0x9;if(_0x2e129c===_0x680f07)break;else _0xe33c06['push'](_0xe33c06['shift']());}catch(_0xf71f20){_0xe33c06['push'](_0xe33c06['shift']());}}}(_0x109e,0x3a2ae));const o={'collab-client':{'tooltip':{'reconnect':_0x43f402(0x1cd)}},'collabStatus':{'fetchMiss':_0x43f402(0x1d3),'conflict':'تداخل\x20ویرایش','notCollab':_0x43f402(0x1de),'synced':_0x43f402(0x1d2),'syncing':_0x43f402(0x1d9),'offline':_0x43f402(0x1dd)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x43f402(0x1da),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x43f402(0x1d6)},'conflict':{'title':_0x43f402(0x1d8),'content':_0x43f402(0x1d5)},'permission':{'title':_0x43f402(0x1dc),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x43f402(0x1cc)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|