@univerjs-pro/collaboration-client-ui 0.6.7 → 0.6.9
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 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- 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 +18 -18
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x254dd6=_0x1a18;(function(_0x5bc43f,_0xdea519){const _0x4d85bd=_0x1a18,_0x35e96f=_0x5bc43f();while(!![]){try{const _0x3a69b8=parseInt(_0x4d85bd(0x2b6))/0x1*(parseInt(_0x4d85bd(0x25d))/0x2)+parseInt(_0x4d85bd(0x22b))/0x3+parseInt(_0x4d85bd(0xf0))/0x4+parseInt(_0x4d85bd(0xf1))/0x5*(-parseInt(_0x4d85bd(0x1b3))/0x6)+-parseInt(_0x4d85bd(0x11a))/0x7*(-parseInt(_0x4d85bd(0x173))/0x8)+parseInt(_0x4d85bd(0x196))/0x9*(-parseInt(_0x4d85bd(0x265))/0xa)+parseInt(_0x4d85bd(0x131))/0xb;if(_0x3a69b8===_0xdea519)break;else _0x35e96f['push'](_0x35e96f['shift']());}catch(_0x3450c0){_0x35e96f['push'](_0x35e96f['shift']());}}}(_0x4842,0x6e2de));var kt=Object[_0x254dd6(0x2bf)],Bt=(_0x58d808,_0x5cef12,_0x48144a)=>_0x5cef12 in _0x58d808?kt(_0x58d808,_0x5cef12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48144a}):_0x58d808[_0x5cef12]=_0x48144a,h=(_0x2fa66b,_0xb60dd2,_0x1a473b)=>Bt(_0x2fa66b,typeof _0xb60dd2!='symbol'?_0xb60dd2+'':_0xb60dd2,_0x1a473b);import{MemberService as _0x217b61,SessionStatus as _0x2567af,CollaborationSessionService as _0x59f118,CollaborationStatus as _0xee00ed,CollaborationController as _0x32f724,ILocalCacheService as _0x5cf72e,CollaborationUIEventService as _0x4cb544,CollaborationUIEventId as _0x1b5eb0,DataLoaderService as _0x57a8f9,DocCollaborationEntity as _0x5bc4bc,getLocalCacheKey as _0xdd96af,LOCAL_CACHE_INTERVAL as _0x46d8ba,LOCAL_CACHE_INTERVAL_KEY as _0xbecbae,UniverCollaborationClientPlugin as _0x418593,CollaborationSocketService as _0x1ac233,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x32eecf,DEFAULT_WS_SESSION_TICKET_URL as _0x209df0,UnitStatus as _0x436a55,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x681efc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x52ac97}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3114f0,Disposable as _0x13b31d,DOC_RANGE_TYPE as _0x58b4cd,Inject as _0x1fe9bf,Injector as _0x1ef8fa,IUniverInstanceService as _0x5d3182,ICommandService as _0x17137b,debounce as _0x13d619,Rectangle as _0x138b60,DisposableCollection as _0x360b26,toDisposable as _0x444d87,UniverInstanceType as _0x18724c,Tools as _0x1589f5,COLORS as _0x2525d1,ColorKit as _0x2c3352,ThemeService as _0x3d323b,fromEventSubject as _0x25cb53,LocaleService as _0x53dc03,createIdentifier as _0x54bd59,ILogService as _0x12ec0c,Optional as _0x4beb0b,Workbook as _0x3db73e,CommandType as _0x14cec7,IConfigService as _0x14b648,ILocalStorageService as _0x5122c0,DependentOn as _0x40cda0,Plugin as _0x380430,merge as _0xf75b00,registerDependencies as _0x2bccfd,mergeOverrideWithDependencies as _0xec91eb,touchDependencies as _0x49b911,generateRandomId as _0x7c84c4}from'@univerjs/core';function _0x1a18(_0x14a476,_0x40f2bd){const _0x4842a3=_0x4842();return _0x1a18=function(_0x1a18b4,_0x3ed6ab){_0x1a18b4=_0x1a18b4-0xe2;let _0x31331=_0x4842a3[_0x1a18b4];return _0x31331;},_0x1a18(_0x14a476,_0x40f2bd);}import{Shape as _0x4663cd,Rect as _0xd5080b,getColor as _0x2e7cb4,RegularPolygon as _0xee76a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c715f,Vector2 as _0x8b69fb,SHEET_VIEWPORT_KEY as _0x360176,IRenderManagerService as _0x4b8867}from'@univerjs/engine-render';import{ISocketService as _0x122748,WebSocketService as _0x1119e7,HTTPService as _0x313693}from'@univerjs/network';import{IDocClipboardService as _0x5cb8cb,NodePositionConvertToCursor as _0x7b6f6a,NodePositionConvertToRectRange as _0x1b1c87,TEXT_RANGE_LAYER_INDEX as _0xd65620,SetDocZoomRatioOperation as _0x4e207a,DocIMEInputManagerService as _0x59314d,DocStateChangeManagerService as _0xdd8c19}from'@univerjs/docs-ui';import{IImageIoService as _0x4ce611}from'@univerjs/drawing';import{BehaviorSubject as _0x178130,debounceTime as _0x47ef18,takeUntil as _0x2515d3,Subject as _0x413cd5,filter as _0xaa6a86,switchMap as _0x5a2c79,merge as _0x418a34,combineLatest as _0x120b2f,of as _0x3085ce,fromEvent as _0x3a13d2,shareReplay as _0x3c7d0e,mapTo as _0x40e4dd,distinctUntilChanged as _0x4aad3c}from'rxjs';import{SetTextSelectionsOperation as _0x2eea5a,RichTextEditingMutation as _0x306f75,DocSelectionManagerService as _0x5f2b61,DocSkeletonManagerService as _0x3ad5a6}from'@univerjs/docs';import{ITransformService as _0xbe6581,CollaborationEvent as _0x654f33,isTransformMutationFailure as _0x428f2f,isTransformMutationsWithChangesetSuccess as _0x4eb3ba,RevisionService as _0x53939e,ISnapshotServerService as _0x399ebe}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1d0b38,serializeRangeWithSheet as _0x2ab9cc}from'@univerjs/engine-formula';import{RefRangeService as _0x1cc1dd,SetSelectionsOperation as _0x32844e,SheetsSelectionsService as _0x1a5ce1,EffectRefRangId as _0x1b9f54,handleIRemoveRow as _0x345c7a,handleIRemoveCol as _0x5e2aa2,handleMoveRange as _0x5c8fc8,handleInsertRow as _0x45e148,handleInsertRangeMoveRight as _0x5073c7,handleInsertRangeMoveDown as _0x591e4c,handleInsertCol as _0x4eb22d,handleDeleteRangeMoveUp as _0x53a50b,handleDeleteRangeMoveLeft as _0x76de34,runRefRangeMutations as _0x8000b1,SetWorksheetActivateCommand as _0x1bd38a}from'@univerjs/sheets';import{map as _0x4ad0ac,filter as _0x3eae2e,throttleTime as _0x4172b9,takeUntil as _0x4106ae,switchMap as _0x1d4f47}from'rxjs/operators';import{SheetSkeletonManagerService as _0x212217,getCoordByCell as _0x59a228,getSheetObject as _0x4f95c2}from'@univerjs/sheets-ui';import{jsx as _0x11a52d,jsxs as _0x5d2971}from'react/jsx-runtime';import{useObservable as _0x186802,useDependency as _0x1fb475,IUIPartsService as _0x5cb4c3,BuiltInUIPart as _0x20cb2d,connectInjector as _0x5f00f9,IBeforeCloseService as _0x2047ff,IMessageService as _0x37f15d,INotificationService as _0xe3aff}from'@univerjs/ui';import{clsx as _0xf9d0a2,Tooltip as _0x1f3fd7,MessageType as _0x40fed7}from'@univerjs/design';import{forwardRef as _0x4a5d7a,useRef as _0x4dd263,createElement as _0x30cf05,useCallback as _0xae6fc9}from'react';import{IRemoteInstanceService as _0x49f88d}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],hi=(_0x577768,_0x4f35a3,_0x52aafd,_0x19565d)=>{for(var _0x26d667=_0x19565d>0x1?void 0x0:_0x19565d?li(_0x4f35a3,_0x52aafd):_0x4f35a3,_0x5906fe=_0x577768['length']-0x1,_0x872bcb;_0x5906fe>=0x0;_0x5906fe--)(_0x872bcb=_0x577768[_0x5906fe])&&(_0x26d667=_0x872bcb(_0x26d667)||_0x26d667);return _0x26d667;},Qe=(_0x11c9f3,_0x22826e)=>(_0x3bcf67,_0x5932ea)=>_0x22826e(_0x3bcf67,_0x5932ea,_0x11c9f3);let Pe=class extends _0x3114f0{constructor(_0x4d42d5,_0x17e5a8){const _0x359ef8=_0x254dd6;super(),this[_0x359ef8(0x129)]=_0x4d42d5,this[_0x359ef8(0x2c4)]=_0x17e5a8,this[_0x359ef8(0x231)]();}['_init'](){const _0x465596=_0x254dd6,_0x582c9d=this;this[_0x465596(0x1dc)](this[_0x465596(0x129)][_0x465596(0x263)]({'onBeforePasteImage':async _0x6b7fef=>{const _0x27634f=_0x465596,_0x5d0866=await _0x582c9d[_0x27634f(0x2c4)]['saveImage'](_0x6b7fef);return _0x5d0866?{'source':_0x5d0866[_0x27634f(0x22c)],'imageSourceType':_0x5d0866[_0x27634f(0x240)]}:null;}}));}};Pe=hi([Qe(0x0,_0x5cb8cb),Qe(0x1,_0x4ce611)],Pe);const qe=[_0x254dd6(0x14e),'jiqing500',_0x254dd6(0x19b),_0x254dd6(0x2b3),'blue400',_0x254dd6(0x247)];class He extends _0x13b31d{constructor(){const _0x51fe4f=_0x254dd6;super(...arguments),h(this,_0x51fe4f(0x28f),new Map()),h(this,_0x51fe4f(0x2af),0x0);}[_0x254dd6(0x27b)](_0x4c6df4){const _0x3c65f1=_0x254dd6;if(this[_0x3c65f1(0x28f)][_0x3c65f1(0x20a)](_0x4c6df4))return this['_assignedColors'][_0x3c65f1(0x29f)](_0x4c6df4);const _0x4f5294=qe[this[_0x3c65f1(0x2af)]];return this[_0x3c65f1(0x2af)]=(this[_0x3c65f1(0x2af)]+0x1)%qe[_0x3c65f1(0x23b)],this['_assignedColors'][_0x3c65f1(0x287)](_0x4c6df4,_0x4f5294),_0x4f5294;}}function Dt(_0x2d920e){const _0x53a645=_0x254dd6;let _0x1b3128='';for(const _0x10e4fb of _0x2d920e){const {startOffset:_0x1c3922,endOffset:_0x118fe7,isActive:_0x32b8f6,rangeType:_0x36cf57,segmentId:_0x429c2d,segmentPage:_0x34f904}=_0x10e4fb;_0x1b3128[_0x53a645(0x23b)]&&(_0x1b3128+=','),_0x1b3128+=_0x1c3922+':'+_0x118fe7+':'+(_0x32b8f6?'1':'0')+':'+_0x36cf57+':'+_0x429c2d+':'+_0x34f904;}return _0x1b3128;}function _i(_0x465ea3){const _0x31010d=_0x254dd6,_0x1be941=_0x465ea3[_0x31010d(0x27e)](','),_0x20d56d=[];for(const _0x41198c of _0x1be941){const [_0x23a54b,_0x36ec65,_0x2936c3,_0x20f3f8,_0x348b2f,_0x18c4c6]=_0x41198c[_0x31010d(0x27e)](':');_0x20d56d['push']({'startOffset':Number(_0x23a54b),'endOffset':Number(_0x36ec65),'collapsed':_0x23a54b===_0x36ec65,'isActive':_0x2936c3==='1','rangeType':_0x20f3f8===_0x58b4cd['TEXT']?_0x58b4cd['TEXT']:_0x58b4cd[_0x31010d(0x16d)],'segmentId':typeof _0x348b2f==_0x31010d(0x16b)?String(_0x348b2f):'','segmentPage':Number(_0x18c4c6!=null?_0x18c4c6:-0x1)});}return _0x20d56d[_0x31010d(0x235)](_0x4293d4=>_0x4293d4['isActive'])||(_0x20d56d[0x0]['isActive']=!0x0),_0x20d56d;}class je extends _0x3114f0{constructor(){const _0x2a35c5=_0x254dd6;super(...arguments),h(this,_0x2a35c5(0x185),new _0x178130(null)),h(this,_0x2a35c5(0x188),this[_0x2a35c5(0x185)]['asObservable']());}[_0x254dd6(0x2c1)](_0x1cc4e2){const _0x1ccc79=_0x254dd6,{unitID:_0xcdbdf5,memberID:_0x18ceda,textRanges:_0x4d01af}=_0x1cc4e2,_0x1556ee=Dt(_0x4d01af);if(_0x1556ee==='')return;const _0xca2b1d={'unitID':_0xcdbdf5,'memberID':_0x18ceda,'selection':_0x1556ee};this['_collabCursorState$'][_0x1ccc79(0x1ad)](_0xca2b1d);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x21d987,_0x2ac2fc,_0x14007a,_0x58b6fa)=>{const _0x508df3=_0x254dd6;for(var _0x4f50b9=_0x58b6fa>0x1?void 0x0:_0x58b6fa?ui(_0x2ac2fc,_0x14007a):_0x2ac2fc,_0x4b3917=_0x21d987[_0x508df3(0x23b)]-0x1,_0x3e26b2;_0x4b3917>=0x0;_0x4b3917--)(_0x3e26b2=_0x21d987[_0x4b3917])&&(_0x4f50b9=_0x3e26b2(_0x4f50b9)||_0x4f50b9);return _0x4f50b9;},U=(_0x3931be,_0x4d7731)=>(_0x1c5adf,_0x1236ca)=>_0x4d7731(_0x1c5adf,_0x1236ca,_0x3931be);const fi=0x12c,Si=0x64;let Me=class extends _0x3114f0{constructor(_0x1bd660,_0x52641d,_0xf6021f,_0x358a44,_0x195f53,_0x5a2f35,_0x2b2a69,_0x50782e,_0x555b93){const _0x1c8940=_0x254dd6;super(),h(this,'_online',!0x1),h(this,_0x1c8940(0x231),!0x1),h(this,_0x1c8940(0x29e),new _0x178130(new Map())),h(this,_0x1c8940(0x22a),this[_0x1c8940(0x29e)][_0x1c8940(0x183)]()),h(this,_0x1c8940(0xf8),new _0x178130([])),h(this,'roomMembers$',this['_roomMembers$'][_0x1c8940(0x163)](_0x47ef18(fi))),h(this,_0x1c8940(0x266),_0x13d619(_0x2bf62f=>{const _0x4092de=_0x1c8940,_0x1fc15d={'eventID':_0x654f33[_0x4092de(0x1eb)],'data':{'unitID':this[_0x4092de(0x10b)],'memberID':this[_0x4092de(0x2d1)]['getMemberID'](),'selection':Dt(_0x2bf62f)}};this['_session']['send'](_0x1fc15d,this[_0x4092de(0x10b)]);},Si)),(this['unitID']=_0x1bd660,this[_0x1c8940(0x2d1)]=_0x52641d,this[_0x1c8940(0x25e)]=_0xf6021f,this['_colorAssignService']=_0x358a44,this[_0x1c8940(0xef)]=_0x195f53,this[_0x1c8940(0x1e8)]=_0x5a2f35,this['_transformService']=_0x2b2a69,this['_univerInstanceService']=_0x50782e,this[_0x1c8940(0xe7)]=_0x555b93);}get[_0x254dd6(0x18d)](){return this['_cursorInfo$']['getValue']();}get[_0x254dd6(0x121)](){const _0x329b39=_0x254dd6;return this[_0x329b39(0xf8)]['getValue']();}[_0x254dd6(0x105)](){const _0x2a5a0d=_0x254dd6;super['dispose'](),this[_0x2a5a0d(0x29e)][_0x2a5a0d(0x1ad)](new Map()),this[_0x2a5a0d(0x29e)]['complete'](),this[_0x2a5a0d(0xf8)][_0x2a5a0d(0x1ad)]([]),this[_0x2a5a0d(0xf8)][_0x2a5a0d(0x26c)]();}[_0x254dd6(0x147)](){const _0xb8529a=_0x254dd6;this[_0xb8529a(0x231)]||(this[_0xb8529a(0x231)]=!0x0,this[_0xb8529a(0x2d1)]['sessionStatus$'][_0xb8529a(0x163)](_0x2515d3(this[_0xb8529a(0x1f7)]))[_0xb8529a(0x179)](_0x1d25ab=>{const _0x34eb23=_0xb8529a;_0x1d25ab===_0x2567af[_0x34eb23(0x17b)]?this[_0x34eb23(0xf3)]():this[_0x34eb23(0x2ba)]();}),this[_0xb8529a(0x2d1)]['event$']['pipe'](_0x2515d3(this[_0xb8529a(0x1f7)]))['subscribe'](_0x297a10=>{const _0x3d3dfe=_0xb8529a,_0x37ef8c=_0x297a10[_0x3d3dfe(0x17f)];_0x37ef8c===_0x654f33[_0x3d3dfe(0x1eb)]&&this['_onCursorUpdate'](_0x297a10),_0x37ef8c===_0x654f33['USERS_LEAVE']&&this['_onCursorDelete'](_0x297a10);}),this[_0xb8529a(0x1dc)](this[_0xb8529a(0xe7)][_0xb8529a(0x12a)](_0x4ac0e0=>{const _0x5e24a1=_0xb8529a,_0xb09284=_0x4ac0e0[_0x5e24a1(0x253)];_0xb09284!=null&&this[_0x5e24a1(0x1a2)]&&_0x4ac0e0['id']===_0x2eea5a['id']&&_0xb09284['unitId']===this[_0x5e24a1(0x10b)]&&_0xb09284[_0x5e24a1(0x125)]===!0x1&&_0xb09284[_0x5e24a1(0x2d9)][_0x5e24a1(0x23b)]>0x0&&this['_updateLocalCursor'](_0xb09284['ranges']);})),this[_0xb8529a(0x1e8)]['collabCursorState$'][_0xb8529a(0x163)](_0x2515d3(this[_0xb8529a(0x1f7)]))[_0xb8529a(0x179)](_0x1a4633=>{const _0x254b3c=_0xb8529a;if((_0x1a4633==null?void 0x0:_0x1a4633[_0x254b3c(0x10b)])!==this[_0x254b3c(0x10b)])return;const _0x1b89f8={'eventID':_0x654f33[_0x254b3c(0x1eb)],'data':_0x1a4633};this['_onCursorUpdate'](_0x1b89f8);}),this['disposeWithMe'](this[_0xb8529a(0xe7)][_0xb8529a(0x12a)](_0xae7d9=>{const _0xcf9fce=_0xb8529a;if(_0xae7d9[_0xcf9fce(0x253)]==null)return;const _0x4c4ed8=_0xae7d9[_0xcf9fce(0x253)];if(_0xae7d9['id']!==_0x306f75['id']||_0x4c4ed8[_0xcf9fce(0x2b5)]!==this[_0xcf9fce(0x10b)])return;const _0x345ee4={'id':'doc.mutation.rich-text-editing','params':_0x4c4ed8},_0x22d803=this['cursorInfo'];for(const [_0x336243,_0x3406fb]of _0x22d803){const _0x374450={'id':_0xcf9fce(0xfa),'params':{'unitId':this[_0xcf9fce(0x10b)],'actions':null,'textRanges':_0x3406fb['ranges']}},_0x3f78ae=this[_0xcf9fce(0x168)][_0xcf9fce(0x1f4)](_0x345ee4,_0x374450,!0x1);if(_0x428f2f(_0x3f78ae))throw _0x3f78ae[_0xcf9fce(0x14c)];_0x22d803[_0xcf9fce(0x287)](_0x336243,{..._0x3406fb,'ranges':_0x3f78ae['m2Prime'][_0xcf9fce(0x253)][_0xcf9fce(0x18b)]});}queueMicrotask(()=>{const _0x57d6a8=_0xcf9fce;this[_0x57d6a8(0x29e)][_0x57d6a8(0x1ad)](_0x22d803);});})));}[_0x254dd6(0x157)](_0x798e5a){const _0x46f43a=_0x254dd6;var _0x44c548,_0x552991;const {memberID:_0x328b44,selection:_0x5a6c4c}=_0x798e5a[_0x46f43a(0x1b7)],_0x7ac013=_i(_0x5a6c4c),_0x225234=(_0x552991=(_0x44c548=this[_0x46f43a(0xef)][_0x46f43a(0x2bc)](this[_0x46f43a(0x10b)],_0x328b44))==null?void 0x0:_0x44c548[_0x46f43a(0x2a7)])!=null?_0x552991:_0x46f43a(0x1bf),_0x1d0a2a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x328b44),'name':_0x225234,'ranges':_0x7ac013},_0x2ab6c6=this[_0x46f43a(0x18d)];_0x2ab6c6[_0x46f43a(0x287)](_0x328b44,_0x1d0a2a),this['_cursorInfo$'][_0x46f43a(0x1ad)](_0x2ab6c6);}[_0x254dd6(0x18e)](_0x40dc69){const _0x1cd98e=_0x254dd6,{memberID:_0x5d2e59}=_0x40dc69[_0x1cd98e(0x1b7)],_0x182d37=this['cursorInfo'];_0x182d37['delete'](_0x5d2e59),this[_0x1cd98e(0x29e)]['next'](_0x182d37);}[_0x254dd6(0xf3)](){const _0x38961d=_0x254dd6;var _0x56adc0;if(this[_0x38961d(0x1a2)]=!0x0,((_0x56adc0=this['_univerInstanceService'][_0x38961d(0x14a)]())==null?void 0x0:_0x56adc0[_0x38961d(0x252)]())!==this[_0x38961d(0x10b)])return;const _0x3b3b79=this['_injector'][_0x38961d(0x29f)](_0x5f2b61)[_0x38961d(0x138)]();Array[_0x38961d(0x2d8)](_0x3b3b79)&&_0x3b3b79[_0x38961d(0x23b)]>0x0&&this[_0x38961d(0x266)](_0x3b3b79);}['_toggleOffline'](){const _0x1dd26d=_0x254dd6;this[_0x1dd26d(0x1a2)]=!0x1;}};Me=di([U(0x2,_0x1fe9bf(_0x1ef8fa)),U(0x3,_0x1fe9bf(He)),U(0x4,_0x1fe9bf(_0x217b61)),U(0x5,_0x1fe9bf(je)),U(0x6,_0xbe6581),U(0x7,_0x5d3182),U(0x8,_0x17137b)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x16e438,_0x48e3d6,_0x32686d,_0x2d88f3)=>{const _0x199c17=_0x254dd6;for(var _0x39765f=_0x2d88f3>0x1?void 0x0:_0x2d88f3?mi(_0x48e3d6,_0x32686d):_0x48e3d6,_0x25d9da=_0x16e438[_0x199c17(0x23b)]-0x1,_0x3f3333;_0x25d9da>=0x0;_0x25d9da--)(_0x3f3333=_0x16e438[_0x25d9da])&&(_0x39765f=_0x3f3333(_0x39765f)||_0x39765f);return _0x39765f;},x=(_0x5ceb74,_0x56dfe5)=>(_0x483ff5,_0xa5d0bb)=>_0x56dfe5(_0x483ff5,_0xa5d0bb,_0x5ceb74);const vi=0x12c,Ii=0x64,pi=()=>{let _0x265b7d=[],_0x5c447a=!0x1;return _0x577893=>{_0x265b7d['push'](_0x577893),_0x5c447a||(_0x5c447a=!0x0,setTimeout(()=>{_0x265b7d['forEach'](_0x5121fa=>_0x5121fa()),_0x265b7d=[],_0x5c447a=!0x1;}));};};let we=class extends _0x3114f0{constructor(_0x38085f,_0x10f9fc,_0x3a4ccd,_0x5edc17,_0x39da5b,_0x1c36e5,_0x42e0d7,_0x398284){const _0x2dd5dc=_0x254dd6;super(),h(this,_0x2dd5dc(0x1a2),!0x1),h(this,_0x2dd5dc(0x231),!0x1),h(this,_0x2dd5dc(0x29e),new _0x178130(new Map())),h(this,_0x2dd5dc(0x22a),this['_cursorInfo$'][_0x2dd5dc(0x183)]()),h(this,_0x2dd5dc(0xf8),new _0x178130([])),h(this,_0x2dd5dc(0x156),this[_0x2dd5dc(0xf8)][_0x2dd5dc(0x163)](_0x47ef18(vi))),h(this,_0x2dd5dc(0x266),_0x13d619((_0xbc82ef,_0xf5a137)=>{const _0x594f0e=_0x2dd5dc,_0x232a72={'eventID':_0x654f33[_0x594f0e(0x1eb)],'data':{'unitID':this[_0x594f0e(0x10b)],'memberID':this['_session'][_0x594f0e(0x269)](),'selection':_0x2ab9cc(_0xbc82ef,_0xf5a137['range'])}};this[_0x594f0e(0x2d1)]['send'](_0x232a72,this[_0x594f0e(0x10b)]);},Ii)),(this[_0x2dd5dc(0x10b)]=_0x38085f,this[_0x2dd5dc(0x2d1)]=_0x10f9fc,this['_injector']=_0x3a4ccd,this['_colorAssignService']=_0x5edc17,this[_0x2dd5dc(0xef)]=_0x39da5b,this['_univerInstanceService']=_0x1c36e5,this[_0x2dd5dc(0xe7)]=_0x42e0d7,this[_0x2dd5dc(0x251)]=_0x398284);}get['cursorInfo'](){const _0x495dc0=_0x254dd6;return this['_cursorInfo$'][_0x495dc0(0x275)]();}get[_0x254dd6(0x121)](){const _0x497364=_0x254dd6;return this[_0x497364(0xf8)]['getValue']();}[_0x254dd6(0x105)](){const _0xdbf8e3=_0x254dd6;super[_0xdbf8e3(0x105)](),this[_0xdbf8e3(0x29e)][_0xdbf8e3(0x1ad)](new Map()),this[_0xdbf8e3(0x29e)][_0xdbf8e3(0x26c)](),this[_0xdbf8e3(0xf8)]['next']([]),this['_roomMembers$']['complete']();}[_0x254dd6(0x147)](){const _0x213ffa=_0x254dd6;this[_0x213ffa(0x231)]||(this[_0x213ffa(0x231)]=!0x0,this[_0x213ffa(0x2d1)][_0x213ffa(0x180)][_0x213ffa(0x163)](_0x2515d3(this[_0x213ffa(0x1f7)]))[_0x213ffa(0x179)](_0xc887df=>{const _0xd0df62=_0x213ffa;_0xc887df===_0x2567af['ONLINE']?this[_0xd0df62(0xf3)]():this[_0xd0df62(0x2ba)]();}),this[_0x213ffa(0x2d1)][_0x213ffa(0x2b1)][_0x213ffa(0x163)](_0x2515d3(this[_0x213ffa(0x1f7)]))['subscribe'](_0x3319ea=>{const _0x58cc42=_0x213ffa,_0xae401=_0x3319ea[_0x58cc42(0x17f)];_0xae401===_0x654f33['UPDATE_CURSOR']&&this[_0x58cc42(0x157)](_0x3319ea),_0xae401===_0x654f33[_0x58cc42(0x27f)]&&this[_0x58cc42(0x18e)](_0x3319ea);}),this[_0x213ffa(0x278)](),this[_0x213ffa(0x1dc)](this['_commandService'][_0x213ffa(0x12a)](_0x572022=>{const _0x218885=_0x213ffa;if(this[_0x218885(0x1a2)]&&_0x572022['id']===_0x32844e['id']&&_0x572022['params'][_0x218885(0x2b5)]===this[_0x218885(0x10b)]){const _0x460110=_0x572022[_0x218885(0x253)];this[_0x218885(0x266)](_0x460110[_0x218885(0x150)],_0x460110['selections'][0x0]);}})));}[_0x254dd6(0x157)](_0x174682){const _0xe3fc1c=_0x254dd6;var _0x2ba1ed,_0x49e0a4;const {memberID:_0x4221aa,selection:_0x311c0b}=_0x174682[_0xe3fc1c(0x1b7)],{sheetName:_0x37fcdb,range:_0x25b7ad}=_0x1d0b38(_0x311c0b),_0x333a7d={'name':(_0x49e0a4=(_0x2ba1ed=this['_memberService'][_0xe3fc1c(0x2bc)](this[_0xe3fc1c(0x10b)],_0x4221aa))==null?void 0x0:_0x2ba1ed['name'])!=null?_0x49e0a4:_0xe3fc1c(0x1bf),'range':this[_0xe3fc1c(0x241)](_0x37fcdb,_0x25b7ad),'sheetID':_0x37fcdb,'color':this[_0xe3fc1c(0x210)]['assignAColorForMemberID'](_0x4221aa),'selection':_0x311c0b},_0x1daf52=this['cursorInfo'];_0x1daf52[_0xe3fc1c(0x287)](_0x4221aa,_0x333a7d),this[_0xe3fc1c(0x29e)]['next'](_0x1daf52);}[_0x254dd6(0x18e)](_0x6a7481){const _0x51c8f1=_0x254dd6,{memberID:_0x44bb09}=_0x6a7481[_0x51c8f1(0x1b7)],_0x4be5ae=this[_0x51c8f1(0x18d)];_0x4be5ae[_0x51c8f1(0x276)](_0x44bb09),this[_0x51c8f1(0x29e)][_0x51c8f1(0x1ad)](_0x4be5ae);}['_getMergeRange'](_0x2bf75f,_0x494873){const _0x32ea78=_0x254dd6;var _0x201cd5,_0x84a816;const _0x466b17=(_0x84a816=(_0x201cd5=this[_0x32ea78(0x223)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x201cd5['getSheetBySheetId'](_0x2bf75f))==null?void 0x0:_0x84a816[_0x32ea78(0x2bd)]();return(_0x466b17==null?void 0x0:_0x466b17[_0x32ea78(0x1b6)](_0x6012d4=>_0x138b60[_0x32ea78(0x2c3)](_0x6012d4,_0x494873)))||_0x494873;}[_0x254dd6(0x278)](){const _0x1f0558=_0x254dd6,_0x35a06e=new _0x360b26(),_0x8c7474=pi(),_0x30b60e=()=>{const _0x525c1a=_0x1a18;_0x35a06e[_0x525c1a(0x105)]();const _0x4c4413=(_0x2c16f2,_0x194474,_0x29ef68,_0x575cf9)=>{const _0x3b9b03=_0x525c1a;let _0x2585af=[];switch(_0x2c16f2['id']){case _0x1b9f54['DeleteRangeMoveLeftCommandId']:{_0x2585af=_0x76de34(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x11d)]:{_0x2585af=_0x53a50b(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x104)]:{_0x2585af=_0x4eb22d(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x148)]:{_0x2585af=_0x591e4c(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x23f)]:{_0x2585af=_0x5073c7(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x132)]:{_0x2585af=_0x45e148(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0xfb)]:{_0x2585af=_0x5c8fc8(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54['RemoveColCommandId']:{_0x2585af=_0x5e2aa2(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x23a)]:{_0x2585af=_0x345c7a(_0x2c16f2,_0x575cf9);break;}}const _0x2fcee9=_0x8000b1(_0x2585af,_0x575cf9),_0x39e168=this['cursorInfo'][_0x3b9b03(0x29f)](_0x194474);if(_0x39e168&&_0x2fcee9){const _0x167edb={..._0x39e168,'range':_0x2fcee9};this[_0x3b9b03(0x18d)][_0x3b9b03(0x287)](_0x194474,_0x167edb),_0x8c7474(()=>{const _0x84a318=_0x3b9b03,_0x276772=this[_0x84a318(0x251)][_0x84a318(0x29c)](_0x2fcee9,_0x2d2a8a=>(_0x276772[_0x84a318(0x105)](),_0x4c4413(_0x2d2a8a,_0x194474,_0x29ef68,_0x2fcee9)));_0x35a06e[_0x84a318(0x261)](_0x276772);});}return{'redos':[],'undos':[]};};this[_0x525c1a(0x18d)]['forEach']((_0x254b3b,_0x4f429a)=>{const _0xa22138=_0x525c1a,{range:_0x5ea3cc,sheetID:_0x29b100}=_0x254b3b,_0x1682c2=this[_0xa22138(0x251)][_0xa22138(0x29c)](_0x5ea3cc,_0xac293b=>(_0x1682c2['dispose'](),_0x4c4413(_0xac293b,_0x4f429a,_0x29b100,_0x5ea3cc)));_0x35a06e[_0xa22138(0x261)](_0x1682c2);});};this[_0x1f0558(0x1dc)](_0x444d87(this[_0x1f0558(0x29e)]['subscribe'](()=>{_0x30b60e();})));}[_0x254dd6(0xf3)](){const _0xcf551f=_0x254dd6;var _0x4c7960,_0x4ead24;if(this[_0xcf551f(0x1a2)]=!0x0,((_0x4c7960=this[_0xcf551f(0x223)]['getFocusedUnit']())==null?void 0x0:_0x4c7960[_0xcf551f(0x252)]())!==this[_0xcf551f(0x10b)])return;const _0x40b62b=(_0x4ead24=this['_injector'][_0xcf551f(0x29f)](_0x1a5ce1)[_0xcf551f(0x1cf)]())==null?void 0x0:_0x4ead24[0x0],_0x3b01d0=this[_0xcf551f(0x223)][_0xcf551f(0x22e)](_0x18724c[_0xcf551f(0x24b)])[_0xcf551f(0x10a)]();_0x40b62b&&_0x3b01d0&&this[_0xcf551f(0x266)](_0x3b01d0[_0xcf551f(0x17d)](),_0x40b62b);}[_0x254dd6(0x2ba)](){const _0x16a794=_0x254dd6;this[_0x16a794(0x1a2)]=!0x1;}};we=gi([x(0x2,_0x1fe9bf(_0x1ef8fa)),x(0x3,_0x1fe9bf(He)),x(0x4,_0x1fe9bf(_0x217b61)),x(0x5,_0x5d3182),x(0x6,_0x17137b),x(0x7,_0x1fe9bf(_0x1cc1dd))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x3f4634,_0x4acb3d,_0x24bd7d,_0x4f9574)=>{const _0x4064fd=_0x254dd6;for(var _0x11276d=_0x4f9574>0x1?void 0x0:_0x4f9574?Ci(_0x4acb3d,_0x24bd7d):_0x4acb3d,_0x183c43=_0x3f4634[_0x4064fd(0x23b)]-0x1,_0x4f3f2b;_0x183c43>=0x0;_0x183c43--)(_0x4f3f2b=_0x3f4634[_0x183c43])&&(_0x11276d=_0x4f3f2b(_0x11276d)||_0x11276d);return _0x11276d;},me=(_0x1c5be2,_0x1f2269)=>(_0x52ae9c,_0x2a5883)=>_0x1f2269(_0x52ae9c,_0x2a5883,_0x1c5be2);let H=class extends _0x3114f0{constructor(_0x4b77c8,_0x1cff4f,_0x56dc3a){const _0x287e26=_0x254dd6;super(),h(this,_0x287e26(0x186),new Map()),h(this,_0x287e26(0xe5),new _0x413cd5()),(this[_0x287e26(0x223)]=_0x4b77c8,this['_injector']=_0x1cff4f,this[_0x287e26(0x113)]=_0x56dc3a,this[_0x287e26(0x231)]());}['dispose'](){const _0x55aa7d=_0x254dd6;super[_0x55aa7d(0x105)](),this[_0x55aa7d(0xe5)][_0x55aa7d(0x26c)](),this[_0x55aa7d(0x186)][_0x55aa7d(0x1be)](_0x21dc4b=>_0x21dc4b['dispose']());}[_0x254dd6(0x128)](_0x59f65c){const _0x34bf55=_0x254dd6;return this['_entities']['has'](_0x59f65c)?this[_0x34bf55(0x186)][_0x34bf55(0x29f)](_0x59f65c)[_0x34bf55(0x22a)]:this[_0x34bf55(0xe5)][_0x34bf55(0x163)](_0xaa6a86(_0x354090=>_0x354090[_0x34bf55(0x10b)]===_0x59f65c),_0x5a2c79(_0x50eeef=>_0x50eeef['cursorInfo$']));}[_0x254dd6(0x231)](){const _0x21e9fc=_0x254dd6;this[_0x21e9fc(0x223)][_0x21e9fc(0x166)](_0x18724c[_0x21e9fc(0x24b)])[_0x21e9fc(0x163)](_0x2515d3(this[_0x21e9fc(0x1f7)]))[_0x21e9fc(0x179)](async _0x58ffa3=>{const _0x5d10d7=_0x21e9fc,_0x4ded07=_0x58ffa3[_0x5d10d7(0x252)](),_0x1bd44d=await this[_0x5d10d7(0x2cc)](_0x4ded07);this[_0x5d10d7(0xe5)][_0x5d10d7(0x1ad)](_0x1bd44d),this[_0x5d10d7(0x186)]['set'](_0x4ded07,_0x1bd44d);}),this['_univerInstanceService'][_0x21e9fc(0x166)](_0x18724c[_0x21e9fc(0xf2)])[_0x21e9fc(0x163)](_0x2515d3(this['dispose$']))[_0x21e9fc(0x163)](_0xaa6a86(_0x4273dd=>!_0x4273dd[_0x21e9fc(0x252)]()[_0x21e9fc(0x1b1)]('__')))[_0x21e9fc(0x179)](async _0x22e6a3=>{const _0x3af099=_0x21e9fc,_0x4adec5=_0x22e6a3['getUnitId'](),_0x50dcb5=await this[_0x3af099(0x23d)](_0x4adec5);this[_0x3af099(0xe5)][_0x3af099(0x1ad)](_0x50dcb5),this[_0x3af099(0x186)][_0x3af099(0x287)](_0x4adec5,_0x50dcb5);}),_0x418a34(this[_0x21e9fc(0x223)][_0x21e9fc(0x1c0)](_0x18724c[_0x21e9fc(0xf2)]),this['_univerInstanceService'][_0x21e9fc(0x1c0)](_0x18724c[_0x21e9fc(0x24b)]))[_0x21e9fc(0x163)](_0x2515d3(this[_0x21e9fc(0x1f7)]))[_0x21e9fc(0x179)](_0x51ecee=>{const _0x3814b4=_0x21e9fc,_0xded8a8=_0x51ecee[_0x3814b4(0x252)](),_0x22835d=this[_0x3814b4(0x186)][_0x3814b4(0x29f)](_0xded8a8);_0x22835d&&(_0x22835d[_0x3814b4(0x105)](),this[_0x3814b4(0x186)]['delete'](_0xded8a8));});}async['_startSheetCollabCursor'](_0x447f3b){const _0x35d731=_0x254dd6,_0x223bed=await this['_collabSessionService']['requireSession'](_0x447f3b),_0x20c5d2=this[_0x35d731(0x25e)]['createInstance'](we,_0x447f3b,_0x223bed);return _0x20c5d2[_0x35d731(0x147)](),_0x20c5d2;}async[_0x254dd6(0x23d)](_0x2e7fda){const _0x62f395=_0x254dd6,_0x9d2dd5=await this[_0x62f395(0x113)][_0x62f395(0x11b)](_0x2e7fda),_0x5c43d2=this[_0x62f395(0x25e)][_0x62f395(0x19f)](Me,_0x2e7fda,_0x9d2dd5);return _0x5c43d2[_0x62f395(0x147)](),_0x5c43d2;}};H=bi([me(0x0,_0x5d3182),me(0x1,_0x1fe9bf(_0x1ef8fa)),me(0x2,_0x1fe9bf(_0x59f118))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function _0x4842(){const _0x26c0ba=['Error','defIds','map','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','permission.title','TOO_MANY_REQUESTS','_handleLeaveEvent','bottom','transformRemoteChangeset','location','getAncestorScale','_initStatusComponent','getCurrentSelections','_getSaveTimeout','includes','getUndoRedoMutationParamsCache','onPointerMove$','getParam','div','getOwnPropertySymbols','0\x200\x2016\x2016','_document','svg','font','makeDirty','disposeWithMe','ALREADY_EXISTS','use','entityInit$','concat','_hover','UNAUTHENTICATED','deepClone','fillRule','_drawRectRange','_ensureSubject','top','_syncEditingCollabCursorService','_status$','memberID','UPDATE_CURSOR','_render','_transformPreviousActiveRange','_instanceService','m1Prime','_configService','collaboration-client-ui.config','endRow','ENSURE_SNAPSHOT_EXECUTION','transformMutation','save','_textBubble','dispose$','_cursor','clipPath','_labelPosition','MUTATION','substring','call','lineTo','with','onLocalMutation','replaceDocRanges','toRgbString','_logService','CONFLICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PENDING','_revisionService','univer-online-status','subunit','has','getSkeleton','show','href','_collabCursorController','getRangePointData','_colorAssignService','clearInterval','_saveCache','addObject','_dataLoaderService','_hideTimer','_handleJoinEvent','_cursors','addObjects','skeleton','_collaborationController','_context','_removeCollabCursors','collabStatus.syncing','mutations','collab-text-anchor-','onPointerLeave$','arc','whenReady','_univerInstanceService','_anchor','history','url(#$1','FromArray','type','_range','cursorInfo$','1247130lVcSIl','source','0\x200\x2017\x2016','getCurrentUnitForType','_scheduleHeartbeat','hovered','_init','LICENSE_DISTRO_REJECTED','collabStatus.fetchMiss','replace','some','newValue','actions','indexOf','_docTransformSelectionsService','RemoveRowCommandId','length','OnLineSingle','_startDocCollabCursor','className','InsertRangeMoveRightCommandId','imageSourceType','_getMergeRange','hide','all','getVpScrollXYInfoByPosToVp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','gold400','generateRandomId','PY_RUNTIME_SCRIPT_ERROR','_localeService','UNIVER_SHEET','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','mask','runId','onlineStatus','_refRangeService','getUnitId','params','startRow','docStateChange$','on-line-single_clip0_910_349','_updateCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','clearTimeout','xlink:href','children','column','5768dfqziJ','_injector','hasOwnProperty','restore','add','univer-offline','addClipboardHook','_eventUnsubscribe','349390skzJSQ','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','prototype','getMemberID','currentColor','off-line-single_clip0_910_343','complete','subscribeEvent','getCollabEntity$','_registerRenderDependencies','getOwnPropertyDescriptor','_docTransformStateCacheService','CONNECTOR_DATA_TOO_LARGE','fillStyle','setStateCache','getValue','delete','_createSocketURL','_onRefRangeChange','runOnServer','rgba(255,\x20255,\x20255,\x200.01)','assignAColorForMemberID','unsubscribe','createSocket','split','USERS_LEAVE','APPLY_NON_SEQUENTIAL_REVISION','_refreshCollabCursors','FETCH_MISS','text','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-single','searchParams','set','setActiveRange','INVITE_CODE_REQUIRED','removeParam','_getScale','exhaustSavingTask','_httpService','enableLocalCache','_assignedColors','search','origin','transformByState','size','_send','_registerDependencies','entries','...','offline','YUUMI_SUBSCRIPTION_NOT_FOUND','uni.network.url-service','apply','registerRefRange','setUndoRedoMutationParamsCache','_cursorInfo$','get','getRenderById','OTHER_CLIENT_EDITING','fillText','unshift','Warning','onlineStatusTitle','#FFF','name','_saveTaskMap','_scheduleClearOtherTimer','url(#off-line-single_clip0_910_343)','getItem','univer-online-status-title','getCurrentRevOfUnit','assign','_colorIndex','replaceState','event$','loadUnit','red300','_selfUnitIDs','unitId','47PVwQza','_notificationService','univer-flex\x20univer-items-center','_initCommandExecutedListener','_toggleOffline','row','getMember','getMergeData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defineProperty','_clearOtherTimers','syncEditingCollabCursor','_messageService','contains','_imageIoService','application/json','_docTransformIMECacheService','getRelativeToViewportCoord','onMouseMove','AWAITING','round','setItem','_startSheetCollabCursor','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','onStarting','toString','status$','_session','evenodd','_lastPointer','redoState','backgroundColor','labelPosition','measureText','isArray','ranges','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_REVISION_CONFILICT','transformIMECache','_disabled','collab-client.tooltip.reconnect','stringify','_entityInit$','displayName','_commandService','m2Prime','transformSelections','undoState','unload','collabStatus.notCollab','focused$','_id','_memberService','581192CDfpZy','76955uJIQcz','UNIVER_DOC','_toggleOnline','SUBMIT_CHANGESET_TIMEOUT','NOT_COLLAB','propertyIsEnumerable','translate(.97)','_roomMembers$','values','doc.mutation.rich-text-editing','MoveRangeCommandId','defs','_cachedData','1em','INVALID_ARGUMENT','_getSessionTicket','_drawAnchor','attrs','INVALID_INVITE_CODE','InsertColCommandId','dispose','collaboration.closeRoom','setAlpha','collab-rect-range-','_heartbeatTimer','getActiveSheet','unitID','_sheetSkeletonManagerService','activeSheet$','_urlService','resize','_docStateChangeManagerService','executionId','tag','_collabSessionService','_handleEvent','from','_handleHeartbeatEvent','transform','OffLineSingle','height','192584ijlwCD','requireSession','extend','DeleteRangeMoveUpCommandId','range','_renderManagerService','selection','roomMembers','registerRenderModule','saveOfflineData','on-line-single','isEditing','_setupSubUnitSync','black','getCollabCursors$','_docClipboardService','onCommandExecuted','PERMISSION_DENIED','getStateCache','saveTaskMap','APPLY_DUPLICATED','_getAnchorBounding','ticket','811976vgSUml','InsertRowCommandId','addHandlerCallback','CLOSE_ROOM','parse','beginPath','sessionTicket','getDocRanges','_transformUndoRedoStack','engine','_handleHover','transformMutationsWithChangeset','session.will-retry','_initDependencies','icon','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','function','permission.content','setParam','_name','fill','init','InsertRangeMoveDownCommandId','colorChannel1','getFocusedUnit','random','error','setTimeout','purple300','path','subUnitId','_color','_backgroundColor','post','online','HEADER_MENU','roomMembers$','_onCursorUpdate','_cursorShapes','SYNCED','endColumn','INVITE_CODE_HAS_BEEN_UES','getUnitStatus$','_uiPartsService','_scheduleSaving','Failed','editingUnit','currentTheme$','getSheetBySheetId','pipe','_docSkeletonManagerService','_removeClearOtherTimer','getTypeOfUnitAdded$','closePath','_transformService','_initStatusListener','current','string','width','RECT','_beforeCloseService','debug','_updateURLWithCurrentState','_themeService','APPLY_REJECT','160GGxaKj','url(#on-line-single_clip0_910_349)','UNRECOGNIZED','none','registerBeforeClose','#fff','subscribe','_localStorageService','ONLINE','_docSyncEditingCollabCursorService','getSheetId','_anchorDot','eventID','sessionStatus$','univer-online-status-icon','_hovered','asObservable','_shapes','_collabCursorState$','_entities','onPointerEnter$','collabCursorState$','color','_config','textRanges','idSuffix','cursorInfo','_onCursorDelete','findNodePositionByCharIndex','onTransformChange$','_unitOnClients','setShapeProps','startColumn','NO_OTHER_CLIENTS_EDITING','_draw','216NfckkI','COMPLETION_FINISHED','push','_initResize','pushState','verdancy600','_initEvent','[CollaborationDataLoaderController]','JOIN_ROOM_FAILED','createInstance','_collaborationUIEventService','_updateSubUnitFromURLParams','_online','getCurrent','min','drawWith','INTERNAL_ERROR','_setupBeforeClosingHandler','_transformHistoryAndStateStack','YUUMI_RATE_OVER_LIMIT','body','triggerDblclick','executeCommand','next','transformStateCache','CHANGESET_REVISION_CONFILICT','flatMap','startsWith','setConfig','12jhrCCs','sheetId','_scene','find','data','_localCacheService','urlChange$','OFFLINE','NOT_FOUND','UNDEFINED','currentSkeleton$','forEach','Unknown\x20user','getTypeOfUnitDisposed$','collaboration.single-unit.warning'];_0x4842=function(){return _0x26c0ba;};return _0x4842();}function Oi(_0x37b72d,_0x15ba61){const _0x292df3=_0x254dd6;let {radius:_0x170db4,width:_0x201796,height:_0x52ac37}=_0x15ba61;_0x170db4=_0x170db4!=null?_0x170db4:0x0,_0x201796=_0x201796!=null?_0x201796:0x1e,_0x52ac37=_0x52ac37!=null?_0x52ac37:0x1e;let _0x1b6334=0x0,_0x38aecc=0x0,_0x1ee25e=0x0;_0x1b6334=_0x38aecc=_0x1ee25e=Math[_0x292df3(0x1a4)](_0x170db4,_0x201796/0x2,_0x52ac37/0x2),_0x37b72d[_0x292df3(0x136)](),_0x37b72d['moveTo'](_0x1b6334,0x0),_0x37b72d[_0x292df3(0x1fe)](_0x201796-_0x38aecc,0x0),_0x37b72d[_0x292df3(0x221)](_0x201796-_0x38aecc,_0x38aecc,_0x38aecc,Math['PI']*0x3/0x2,0x0,!0x1),_0x37b72d['lineTo'](_0x201796,_0x52ac37-_0x1ee25e),_0x37b72d[_0x292df3(0x221)](_0x201796-_0x1ee25e,_0x52ac37-_0x1ee25e,_0x1ee25e,0x0,Math['PI']/0x2,!0x1),_0x37b72d['lineTo'](0x0,_0x52ac37),_0x37b72d[_0x292df3(0x1fe)](0x0,_0x1b6334),_0x37b72d['arc'](_0x1b6334,_0x1b6334,_0x1b6334,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37b72d[_0x292df3(0x167)](),_0x15ba61['fill']&&(_0x37b72d[_0x292df3(0x1f5)](),_0x37b72d[_0x292df3(0x273)]=_0x15ba61['fill'],_0x15ba61[_0x292df3(0x1e4)]==='evenodd'?_0x37b72d[_0x292df3(0x146)](_0x292df3(0x2d2)):_0x37b72d[_0x292df3(0x146)](),_0x37b72d['restore']());}class ue extends _0x4663cd{constructor(_0x32901b,_0x1fb386){const _0xb193b3=_0x254dd6;super(_0x32901b,_0x1fb386),h(this,_0xb193b3(0x189)),h(this,_0xb193b3(0x283)),(this[_0xb193b3(0x189)]=_0x1fb386==null?void 0x0:_0x1fb386['color'],this['text']=_0x1fb386==null?void 0x0:_0x1fb386[_0xb193b3(0x283)]);}static[_0x254dd6(0x1a5)](_0x4d3bf8,_0x13137c){const _0x3aed9f=_0x254dd6,{text:_0x35c3c8,color:_0x47d603}=_0x13137c;_0x4d3bf8['save'](),_0x4d3bf8[_0x3aed9f(0x1da)]=_0x3aed9f(0x2be);const _0x2625bc=_0x4d3bf8[_0x3aed9f(0x2d7)](_0x35c3c8)['width'],_0x571ba9=Math[_0x3aed9f(0x1a4)](_0x2625bc+0x2*ge,et);Oi(_0x4d3bf8,{'height':te,'radius':0x4,'width':_0x571ba9,'fill':_0x47d603}),_0x4d3bf8['fillStyle']=_0x3aed9f(0x2a6);const _0x24ae76=ge,_0x4edd44=te-Ei,_0x493178=et-0x2*ge;if(_0x2625bc>_0x493178){let _0x1f7d3c='',_0x4d23e0=0x0;for(const _0x19723d of _0x35c3c8){const _0xe94017=_0x4d3bf8[_0x3aed9f(0x2d7)](_0x19723d)[_0x3aed9f(0x16c)];if(_0x4d23e0+_0xe94017<=_0x493178-_0x4d3bf8[_0x3aed9f(0x2d7)](_0x3aed9f(0x297))[_0x3aed9f(0x16c)])_0x1f7d3c+=_0x19723d,_0x4d23e0+=_0xe94017;else{_0x1f7d3c+=_0x3aed9f(0x297);break;}}_0x4d3bf8[_0x3aed9f(0x2a2)](_0x1f7d3c,_0x24ae76,_0x4edd44);}else _0x4d3bf8[_0x3aed9f(0x2a2)](_0x35c3c8,_0x24ae76,_0x4edd44);_0x4d3bf8[_0x3aed9f(0x260)]();}[_0x254dd6(0x195)](_0x4d8a80){const _0x29bb0f=_0x254dd6;ue[_0x29bb0f(0x1a5)](_0x4d8a80,this);}}const ve=_0x254dd6(0x21f),Ti='collab-text-range-',Ri=_0x254dd6(0x108),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi=_0x254dd6(0x27a);class tt{constructor(_0x5c4730,_0x1d88d8,_0x460b23,_0x43cfae){const _0x147f8c=_0x254dd6;h(this,_0x147f8c(0x184),[]),h(this,'_anchor',null),h(this,_0x147f8c(0x1f6),null),h(this,_0x147f8c(0x17e),null),h(this,_0x147f8c(0x215),null),h(this,'_eventUnsubscribe',null),(this[_0x147f8c(0x1f8)]=_0x5c4730,this['_scene']=_0x1d88d8,this['_docSkeleton']=_0x460b23,this[_0x147f8c(0x1d8)]=_0x43cfae,this[_0x147f8c(0x1ec)]());}set[_0x254dd6(0x1e1)](_0xe1d489){const _0x326f64=_0x254dd6;_0xe1d489?(this[_0x326f64(0x17e)]&&this[_0x326f64(0x17e)]['hide'](),this['_textBubble']&&this[_0x326f64(0x1f6)][_0x326f64(0x20c)]()):(this['_anchorDot']&&this['_anchorDot'][_0x326f64(0x20c)](),this[_0x326f64(0x1f6)]&&this['_textBubble'][_0x326f64(0x242)]());}[_0x254dd6(0x105)](){const _0x528254=_0x254dd6;for(const _0x1e18d8 of this[_0x528254(0x184)])_0x1e18d8['dispose']();this[_0x528254(0x1f6)]&&this[_0x528254(0x1f6)][_0x528254(0x105)](),this['_anchorDot']&&this[_0x528254(0x17e)][_0x528254(0x105)](),this[_0x528254(0x224)]&&this[_0x528254(0x224)]['dispose'](),this[_0x528254(0x264)]&&this[_0x528254(0x264)]();}[_0x254dd6(0x1ec)](){const _0x50bfe9=_0x254dd6;var _0x1d7ac2;const {_docSkeleton:_0x482570,_document:_0x83a332}=this,{color:_0x4b8ffe,name:_0x37b578,ranges:_0x2f0978}=this['_cursor'],_0xbaee0a=_0x83a332[_0x50bfe9(0x140)](),{docsLeft:_0xf30ee6,docsTop:_0x338b03}=_0xbaee0a,_0x134746=new _0x7b6f6a(_0xbaee0a,_0x482570);for(const {startOffset:_0x5fe121,endOffset:_0x41f0f6,rangeType:_0x224349,segmentId:_0x70f391,segmentPage:_0x1a4757,collapsed:_0x2ee054,isActive:_0x6dd1cc}of _0x2f0978){const _0x279808=_0x482570[_0x50bfe9(0x18f)](_0x5fe121,!0x0,_0x70f391,_0x1a4757);let _0x5e5efd=_0x482570[_0x50bfe9(0x18f)](_0x41f0f6,!0x0,_0x70f391,_0x1a4757);if(_0x5e5efd==null&&(_0x5e5efd=_0x482570[_0x50bfe9(0x18f)](_0x41f0f6-0x1,!0x1,_0x70f391,_0x1a4757)),_0x6dd1cc){const {contentBoxPointGroup:_0xfad273}=_0x134746[_0x50bfe9(0x20f)](_0x5e5efd,_0x5e5efd);if(_0xfad273['length']===0x0)continue;this[_0x50bfe9(0x101)](_0x4b8ffe,_0xfad273,_0xf30ee6,_0x338b03,_0x37b578),this['_eventUnsubscribe']=this[_0x50bfe9(0x13b)]();}if(_0x279808&&_0x5e5efd){if(_0x224349===_0x58b4cd[_0x50bfe9(0x16d)]){const _0x4364a2=new _0x1b1c87(_0xbaee0a,_0x482570),{pointGroup:_0x459984}=(_0x1d7ac2=_0x4364a2[_0x50bfe9(0x20f)](_0x279808,_0x5e5efd))!=null?_0x1d7ac2:{};if(_0x459984==null||_0x459984[_0x50bfe9(0x23b)]===0x0)continue;this[_0x50bfe9(0x1e5)](_0x4b8ffe,_0x459984,_0xf30ee6,_0x338b03);}else{if(!_0x2ee054){const {borderBoxPointGroup:_0x5c6831}=_0x134746[_0x50bfe9(0x20f)](_0x279808,_0x5e5efd);if(_0x5c6831['length']===0x0)continue;this['_drawTextRange'](_0x4b8ffe,_0x5c6831,_0xf30ee6,_0x338b03);}}}}}['_drawAnchor'](_0x53a8fd,_0xbebdb2,_0x585579,_0x52b14f,_0x59fd4c){const _0x472ca0=_0x254dd6,_0x20f5f0=this['_getAnchorBounding'](_0xbebdb2),{left:_0x3c1c25,top:_0x1ace49,height:_0x5d5be3}=_0x20f5f0,_0x41d8cc=this[_0x472ca0(0x28b)](),_0x1449c2=Ni/_0x41d8cc,_0x3e1faf=new _0xd5080b(ve+_0x1589f5['generateRandomId'](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f,'height':_0x5d5be3,'width':Di,'fill':_0x53a8fd||_0x2e7cb4(_0x2525d1[_0x472ca0(0x127)],0x0),'strokeWidth':_0x1449c2,'stroke':Pi,'evented':!0x0});this[_0x472ca0(0x224)]=_0x3e1faf,this[_0x472ca0(0x1b5)][_0x472ca0(0x213)](_0x3e1faf,_0xd65620);const _0x237fda=new _0xd5080b(ve+_0x1589f5[_0x472ca0(0x248)](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x53a8fd||_0x2e7cb4(_0x2525d1['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a8fd||_0x2e7cb4(_0x2525d1['black'],0x0),'evented':!0x1});this[_0x472ca0(0x17e)]=_0x237fda,this[_0x472ca0(0x1b5)]['addObject'](_0x237fda,_0xd65620);const _0xca3c7b=new ue(ve+_0x1589f5[_0x472ca0(0x248)](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f-te,'text':_0x59fd4c,'color':_0x53a8fd});this[_0x472ca0(0x1f6)]=_0xca3c7b,this['_scene']['addObject'](_0xca3c7b,_0xd65620),this[_0x472ca0(0x1e1)]=!0x1;}[_0x254dd6(0x13b)](){const _0x347d62=_0x254dd6,_0x5bbbc7=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x59eea0=_0x1a18;this[_0x59eea0(0x1e1)]=!0x0;}),_0x341f6a=this[_0x347d62(0x224)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x3c60f1=_0x347d62;this[_0x3c60f1(0x215)]&&clearTimeout(this[_0x3c60f1(0x215)]),this['_hideTimer']=setTimeout(()=>{const _0x39d00d=_0x3c60f1;this[_0x39d00d(0x1e1)]=!0x1;},0x7d0);});return()=>{const _0x2bb522=_0x347d62;_0x5bbbc7['unsubscribe'](),_0x341f6a[_0x2bb522(0x27c)]();};}['_drawTextRange'](_0x3f9677,_0x4f27ec,_0x241304,_0x1c10dd){const _0x164646=_0x254dd6,_0x373637=new _0x2c3352(_0x3f9677)['setAlpha'](0.2)[_0x164646(0x202)](),_0x2e299b=new _0xee76a(Ti+_0x1589f5['generateRandomId'](X),{'pointsGroup':_0x4f27ec,'fill':_0x373637||_0x2e7cb4(_0x2525d1['black'],0.2),'left':_0x241304,'top':_0x1c10dd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x164646(0x184)][_0x164646(0x198)](_0x2e299b),this[_0x164646(0x1b5)][_0x164646(0x213)](_0x2e299b,_0xd65620);}[_0x254dd6(0x1e5)](_0x5be06b,_0x4f9209,_0x4b0afd,_0x534f09){const _0x3bfd63=_0x254dd6,_0x5d3d1f=new _0x2c3352(_0x5be06b)[_0x3bfd63(0x107)](0.2)[_0x3bfd63(0x202)](),_0x3d33da=new _0xee76a(Ri+_0x1589f5[_0x3bfd63(0x248)](X),{'pointsGroup':_0x4f9209,'fill':_0x5d3d1f||_0x2e7cb4(_0x2525d1[_0x3bfd63(0x127)],0.2),'left':_0x4b0afd,'top':_0x534f09,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3bfd63(0x198)](_0x3d33da),this[_0x3bfd63(0x1b5)]['addObject'](_0x3d33da,_0xd65620);}[_0x254dd6(0x12f)](_0x1ec903){const _0xcdd96e=_0x1ec903[0x0],_0x133e27=_0xcdd96e[0x0],_0x46dc7f=_0xcdd96e[0x2],{x:_0x4a0e74,y:_0x504f10}=_0x133e27,{x:_0x2536e2,y:_0x41af6d}=_0x46dc7f;return{'left':_0x4a0e74,'top':_0x504f10,'width':_0x2536e2-_0x4a0e74,'height':_0x41af6d-_0x504f10};}[_0x254dd6(0x28b)](){const {scaleX:_0x2ccf76,scaleY:_0x28a397}=this['_scene']['getAncestorScale']();return Math['max'](_0x2ccf76,_0x28a397);}}var Mi=Object[_0x254dd6(0x270)],wi=(_0x367b2a,_0x408031,_0x329fd2,_0x4120b2)=>{const _0x50b914=_0x254dd6;for(var _0xd32481=_0x4120b2>0x1?void 0x0:_0x4120b2?Mi(_0x408031,_0x329fd2):_0x408031,_0x1996d4=_0x367b2a[_0x50b914(0x23b)]-0x1,_0x31509d;_0x1996d4>=0x0;_0x1996d4--)(_0x31509d=_0x367b2a[_0x1996d4])&&(_0xd32481=_0x31509d(_0xd32481)||_0xd32481);return _0xd32481;},Q=(_0x3f4c10,_0x54c116)=>(_0x1ba554,_0x1f8e29)=>_0x54c116(_0x1ba554,_0x1f8e29,_0x3f4c10);let Ue=class extends _0x3114f0{constructor(_0x2cee8e,_0x2ced3c,_0x579954,_0x43763f,_0x4c1a14){const _0x35f6e8=_0x254dd6;super(),h(this,_0x35f6e8(0x158),[]),h(this,'_cursors',[]),(this[_0x35f6e8(0x21b)]=_0x2cee8e,this[_0x35f6e8(0x164)]=_0x2ced3c,this[_0x35f6e8(0x20e)]=_0x579954,this['_commandService']=_0x43763f,this['_themeService']=_0x4c1a14,this['_init']());}['_init'](){const _0x27906f=_0x254dd6,_0xe16343=this[_0x27906f(0x21b)][_0x27906f(0x2b5)],_0x3a3295=this[_0x27906f(0x164)];this[_0x27906f(0x1dc)](_0x120b2f([this[_0x27906f(0x20e)]['getCollabCursors$'](_0xe16343),this['_themeService'][_0x27906f(0x161)]])[_0x27906f(0x163)](_0x4ad0ac(([_0x1a55c5,_0x40ea86])=>({'skeleton':_0x3a3295[_0x27906f(0x20b)](),'cursors':[..._0x1a55c5[_0x27906f(0xf9)]()][_0x27906f(0x1b0)](_0x451d65=>({..._0x451d65,'color':_0x40ea86[_0x451d65[_0x27906f(0x189)]]}))})))['subscribe'](_0x2e605b=>{const _0x1e642a=_0x27906f;if(this[_0x1e642a(0x21c)](),_0x2e605b){const {skeleton:_0x1b2527,cursors:_0x3f2eab}=_0x2e605b;this[_0x1e642a(0x257)](_0x1b2527,_0x3f2eab);}})),this[_0x27906f(0x199)](),this[_0x27906f(0x2b9)]();}[_0x254dd6(0x257)](_0x4c0875,_0x48c492){const _0x5bf76b=_0x254dd6,{scene:_0x4b3fbe,mainComponent:_0x171d70}=this[_0x5bf76b(0x21b)],_0x1459a4=_0x48c492[_0x5bf76b(0x1c4)](_0x1df236=>new tt(_0x1df236,_0x4b3fbe,_0x4c0875,_0x171d70));this['_cursorShapes']=_0x1459a4,this[_0x5bf76b(0x217)]=_0x48c492;}[_0x254dd6(0x281)](){const _0x1be855=_0x254dd6;this[_0x1be855(0x21c)]();const {scene:_0x2238cd,mainComponent:_0x15cfca}=this[_0x1be855(0x21b)],_0x4b4420=this[_0x1be855(0x164)][_0x1be855(0x20b)](),_0x16eb9d=this['_cursors'][_0x1be855(0x1c4)](_0x319a77=>new tt(_0x319a77,_0x2238cd,_0x4b4420,_0x15cfca));this[_0x1be855(0x158)]=_0x16eb9d;}[_0x254dd6(0x21c)](){const _0x4e5658=_0x254dd6;this[_0x4e5658(0x158)]['forEach'](_0x2feaef=>_0x2feaef[_0x4e5658(0x105)]()),this[_0x4e5658(0x158)]=[];}[_0x254dd6(0x2b9)](){const _0x35cf16=_0x254dd6,_0x17b2c3=[_0x4e207a['id']];this[_0x35cf16(0x1dc)](this[_0x35cf16(0xe7)][_0x35cf16(0x12a)](_0x3f1155=>{const _0x185d69=_0x35cf16;_0x17b2c3[_0x185d69(0x1d1)](_0x3f1155['id'])&&_0x3f1155[_0x185d69(0x253)][_0x185d69(0x2b5)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x254dd6(0x199)](){const _0x36172a=_0x254dd6;this['disposeWithMe'](_0x25cb53(this[_0x36172a(0x21b)][_0x36172a(0x13a)][_0x36172a(0x190)])[_0x36172a(0x163)](_0x3eae2e(_0x3788ff=>_0x3788ff[_0x36172a(0x228)]===_0x3c715f[_0x36172a(0x10f)]),_0x4172b9(0x10))['subscribe'](()=>{const _0x299128=_0x36172a;this[_0x299128(0x281)]();}));}};Ue=wi([Q(0x1,_0x1fe9bf(_0x3ad5a6)),Q(0x2,_0x1fe9bf(H)),Q(0x3,_0x17137b),Q(0x4,_0x1fe9bf(_0x3d323b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4663cd{constructor(_0x5f1e6a,_0x367a21){const _0x525e6c=_0x254dd6;super(_0x5f1e6a,_0x367a21),h(this,_0x525e6c(0x151)),h(this,_0x525e6c(0x182),!0x1),h(this,_0x525e6c(0x229)),h(this,_0x525e6c(0x145),''),h(this,_0x525e6c(0x1fa),_0x525e6c(0x1e7)),h(this,_0x525e6c(0x152)),(_0x367a21&&this[_0x525e6c(0x192)](_0x367a21),this[_0x525e6c(0x187)][_0x525e6c(0x26d)](()=>this[_0x525e6c(0x192)]({'hovered':!0x0})),this[_0x525e6c(0x220)][_0x525e6c(0x26d)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x254dd6(0x192)](_0x1ce0b5){const _0xc42518=_0x254dd6;var _0x2f16b5,_0x141c63,_0x5cf5bc,_0x567e27,_0x4fa2b1,_0x3ca67e;this[_0xc42518(0x151)]=(_0x2f16b5=_0x1ce0b5[_0xc42518(0x189)])!=null?_0x2f16b5:this['_color'],this[_0xc42518(0x182)]=(_0x141c63=_0x1ce0b5[_0xc42518(0x230)])!=null?_0x141c63:this[_0xc42518(0x182)],this[_0xc42518(0x229)]=(_0x5cf5bc=_0x1ce0b5[_0xc42518(0x11e)])!=null?_0x5cf5bc:this[_0xc42518(0x229)],this[_0xc42518(0x145)]=(_0x567e27=_0x1ce0b5[_0xc42518(0x2a7)])!=null?_0x567e27:this[_0xc42518(0x145)],this[_0xc42518(0x1fa)]=(_0x4fa2b1=_0x1ce0b5[_0xc42518(0x2d6)])!=null?_0x4fa2b1:this['_labelPosition'],this['_backgroundColor']=(_0x3ca67e=_0x1ce0b5[_0xc42518(0x2d5)])!=null?_0x3ca67e:this[_0xc42518(0x152)],this[_0xc42518(0x292)]({'width':_0x1ce0b5[_0xc42518(0x16c)],'height':_0x1ce0b5[_0xc42518(0x119)]});}[_0x254dd6(0x2c8)](_0x330436){const _0x16c4fb=_0x254dd6,{row:_0x29464a,column:_0x1ce6aa}=_0x330436;if(_0x29464a>=this[_0x16c4fb(0x229)][_0x16c4fb(0x254)]&&_0x29464a<=this[_0x16c4fb(0x229)][_0x16c4fb(0x1f2)]&&_0x1ce6aa>=this[_0x16c4fb(0x229)][_0x16c4fb(0x193)]&&_0x1ce6aa<=this[_0x16c4fb(0x229)][_0x16c4fb(0x15a)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x254dd6(0x1ab)](_0x5ea8dd){return!0x1;}[_0x254dd6(0x195)](_0x11cae6){const _0x117323=_0x254dd6;_0xd5080b[_0x117323(0x1a5)](_0x11cae6,{'width':this[_0x117323(0x16c)],'height':this[_0x117323(0x119)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x11cae6[_0x117323(0x1f5)](),_0x11cae6[_0x117323(0x117)](0x1,0x0,0x0,0x1,this['width'],this[_0x117323(0x1fa)]===_0x117323(0x1ca)?0x0:-0x14),ue[_0x117323(0x1a5)](_0x11cae6,{'text':this['_name'],'color':this[_0x117323(0x151)]}),_0x11cae6[_0x117323(0x260)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x4773eb,_0x2da47e,_0x1daf66,_0x4f3b65)=>{const _0x2644b8=_0x254dd6;for(var _0x20d8a1=_0x4f3b65>0x1?void 0x0:_0x4f3b65?yi(_0x2da47e,_0x1daf66):_0x2da47e,_0x3b5b60=_0x4773eb[_0x2644b8(0x23b)]-0x1,_0xe80b3c;_0x3b5b60>=0x0;_0x3b5b60--)(_0xe80b3c=_0x4773eb[_0x3b5b60])&&(_0x20d8a1=_0xe80b3c(_0x20d8a1)||_0x20d8a1);return _0x20d8a1;},pe=(_0x2aacbc,_0x323e38)=>(_0x268e3d,_0x481c3b)=>_0x323e38(_0x268e3d,_0x481c3b,_0x2aacbc);const xi=0x1389;let Le=class extends _0x3114f0{constructor(_0x425d8c,_0x1677a2,_0x27c020,_0x4ef5ed){const _0x18e220=_0x254dd6;super(),h(this,_0x18e220(0x217),new Set()),h(this,_0x18e220(0x2d3),null),(this['_context']=_0x425d8c,this[_0x18e220(0x10c)]=_0x1677a2,this[_0x18e220(0x20e)]=_0x27c020,this[_0x18e220(0x171)]=_0x4ef5ed,this['_init']());}[_0x254dd6(0x231)](){const _0x42ceef=_0x254dd6;this[_0x42ceef(0x10c)][_0x42ceef(0x1bd)][_0x42ceef(0x163)](_0x4106ae(this[_0x42ceef(0x1f7)]),_0x1d4f47(_0x13a621=>{const _0x195bda=_0x42ceef;if(_0x13a621){const _0x505ebe=_0x13a621[_0x195bda(0x1b4)];return _0x120b2f(this[_0x195bda(0x20e)]['getCollabCursors$'](this[_0x195bda(0x21b)][_0x195bda(0x2b5)]),this[_0x195bda(0x171)][_0x195bda(0x161)])[_0x195bda(0x163)](_0x4ad0ac(([_0x6f49c2,_0x34bf51])=>{const _0x16d076=new Map();return _0x6f49c2['forEach']((_0x7e80d1,_0x435ae7)=>{const _0x1b4117=_0x1a18;if(_0x7e80d1['sheetID']===_0x505ebe){const _0x274a3c={..._0x7e80d1};_0x274a3c[_0x1b4117(0x189)]=_0x34bf51[_0x7e80d1[_0x1b4117(0x189)]],_0x16d076[_0x1b4117(0x287)](_0x435ae7,_0x274a3c);}}),{'skeleton':_0x13a621,'cursors':_0x16d076};}));}return _0x3085ce({'skeleton':null,'cursors':new Map()});}))[_0x42ceef(0x179)](({skeleton:_0x2b9b5d,cursors:_0x39c192})=>{const _0x3a65c9=_0x42ceef;this['_removeCollabCursors'](),_0x2b9b5d&&this[_0x3a65c9(0x257)](_0x2b9b5d,_0x39c192);}),this[_0x42ceef(0x10c)]['currentSkeleton$']['subscribe'](_0xd9ab21=>{const _0xf09679=_0x42ceef;if(_0xd9ab21==null)return;const {skeleton:_0x3fb771}=_0xd9ab21,{scene:_0x1eb99f}=this[_0xf09679(0x21b)];_0x1eb99f[_0xf09679(0x1d3)][_0xf09679(0x26d)](_0x13d619(_0x2e6f74=>{const _0xffa095=_0xf09679;var _0x115119,_0x55a9e5;const {offsetX:_0x569dd5,offsetY:_0x1ddeee}=_0x2e6f74,{x:_0x4a9c06,y:_0x6393f5}=_0x1eb99f[_0xffa095(0x2c7)](_0x8b69fb[_0xffa095(0x227)]([_0x569dd5,_0x1ddeee])),{scaleX:_0x2c4dbe,scaleY:_0x28e6bb}=_0x1eb99f[_0xffa095(0x1cd)](),_0x2414a4=_0x1eb99f[_0xffa095(0x24d)](_0x360176['VIEW_MAIN']),_0x22f461=_0x1eb99f[_0xffa095(0x244)](_0x8b69fb['FromArray']([_0x4a9c06,_0x6393f5]),_0x2414a4),_0x5aa605=_0x3fb771['getCellPositionByOffset'](_0x569dd5,_0x1ddeee,_0x2c4dbe,_0x28e6bb,_0x22f461);((_0x115119=this['_lastPointer'])==null?void 0x0:_0x115119[_0xffa095(0x25c)])===_0x5aa605[_0xffa095(0x25c)]&&((_0x55a9e5=this['_lastPointer'])==null?void 0x0:_0x55a9e5[_0xffa095(0x2bb)])===_0x5aa605['row']||this[_0xffa095(0x217)][_0xffa095(0x1be)](_0x3cc3a1=>{const _0x306c47=_0xffa095;_0x3cc3a1[_0x306c47(0x2c8)](_0x5aa605);});},0x64));});}['_updateCollabCursors'](_0x277886,_0x44b947){const _0x48d85a=_0x254dd6;var _0x1c4e88;const _0x21d7b9=(_0x1c4e88=this[_0x48d85a(0x10c)][_0x48d85a(0x1a3)]())==null?void 0x0:_0x1c4e88[_0x48d85a(0x219)];if(!_0x21d7b9)return;const _0x1dd485=this['_getSheetObject']();if(!_0x1dd485)return;this[_0x48d85a(0x217)][_0x48d85a(0x1be)](_0x365d31=>{const _0xa73c3c=_0x48d85a;_0x365d31[_0xa73c3c(0x1db)]();});const {scene:_0x3f4990}=_0x1dd485,_0xfa141f=ki(Array[_0x48d85a(0x115)](_0x44b947[_0x48d85a(0xf9)]()))[_0x48d85a(0x1c4)](_0x4e6b33=>{const _0x20036b=_0x48d85a,{color:_0x3f713c,range:_0x19adaa,name:_0x6fd2ac,selection:_0x1a078d,sheetID:_0x1774eb}=_0x4e6b33,{startColumn:_0x4447b5,startRow:_0x5a65b0,endColumn:_0x6d1ab9,endRow:_0x5db617}=_0x19adaa,_0x559721=_0x59a228(_0x5a65b0,_0x4447b5,_0x3f4990,_0x21d7b9),_0x266277=_0x59a228(_0x5db617,_0x6d1ab9,_0x3f4990,_0x21d7b9),{columnHeaderHeightAndMarginTop:_0x58377d}=_0x21d7b9,{startX:_0x44bd14,startY:_0x2eafe1}=_0x559721,{endX:_0x2aebf8,endY:_0x4adf8a}=_0x266277,_0x3d6d63=_0x2aebf8-_0x44bd14,_0x25677b=_0x4adf8a-_0x2eafe1,_0x8942ef={'labelPosition':_0x2eafe1-_0x58377d>=te?'top':_0x20036b(0x1ca),'sheetID':_0x1774eb,'range':_0x19adaa,'color':_0x3f713c,'name':_0x6fd2ac,'selection':_0x1a078d,'left':_0x44bd14,'top':_0x2eafe1,'width':_0x3d6d63,'height':_0x25677b,'evented':!0x1,'zIndex':xi};return new Ai(_0x6fd2ac,_0x8942ef);});_0x3f4990[_0x48d85a(0x218)](_0xfa141f,Ui),this[_0x48d85a(0x217)]=new Set(_0xfa141f);}['_removeCollabCursors'](){const _0xb03343=_0x254dd6;var _0x3a1496;(_0x3a1496=this[_0xb03343(0x217)])==null||_0x3a1496[_0xb03343(0x1be)](_0x484ce7=>_0x484ce7[_0xb03343(0x105)]());}['_getSheetObject'](){return _0x4f95c2(this['_context']['unit'],this['_context']);}};Le=$i([pe(0x1,_0x1fe9bf(_0x212217)),pe(0x2,_0x1fe9bf(H)),pe(0x3,_0x1fe9bf(_0x3d323b))],Le);function ki(_0x4cbaee){const _0x555b9c=_0x254dd6,_0x34a548=new Map();return _0x4cbaee[_0x555b9c(0x1be)](_0x1e2de7=>{const _0x4b67dc=_0x555b9c;if(_0x34a548[_0x4b67dc(0x20a)](_0x1e2de7[_0x4b67dc(0x120)])){const _0x2615fc=_0x34a548[_0x4b67dc(0x29f)](_0x1e2de7[_0x4b67dc(0x120)]);_0x2615fc[_0x4b67dc(0x2a7)]+=',\x20'+_0x1e2de7['name'];}else _0x34a548[_0x4b67dc(0x287)](_0x1e2de7[_0x4b67dc(0x120)],_0x1e2de7);}),Array[_0x555b9c(0x115)](_0x34a548['values']());}var I=function(){const _0x10d0b3=_0x254dd6;return I=Object[_0x10d0b3(0x2ae)]||function(_0x5c85e9){const _0x952497=_0x10d0b3;for(var _0x42568f,_0x372884=0x1,_0x57adf6=arguments['length'];_0x372884<_0x57adf6;_0x372884++){_0x42568f=arguments[_0x372884];for(var _0x3ad0b1 in _0x42568f)Object['prototype'][_0x952497(0x25f)][_0x952497(0x1fd)](_0x42568f,_0x3ad0b1)&&(_0x5c85e9[_0x3ad0b1]=_0x42568f[_0x3ad0b1]);}return _0x5c85e9;},I[_0x10d0b3(0x29b)](this,arguments);},Bi=function(_0x42cb3b,_0x5ecbca){const _0x19f382=_0x254dd6;var _0x110a33={};for(var _0xafce23 in _0x42cb3b)Object[_0x19f382(0x268)][_0x19f382(0x25f)][_0x19f382(0x1fd)](_0x42cb3b,_0xafce23)&&_0x5ecbca[_0x19f382(0x238)](_0xafce23)<0x0&&(_0x110a33[_0xafce23]=_0x42cb3b[_0xafce23]);if(_0x42cb3b!=null&&typeof Object[_0x19f382(0x1d6)]==_0x19f382(0x142)){for(var _0x583f1f=0x0,_0xafce23=Object['getOwnPropertySymbols'](_0x42cb3b);_0x583f1f<_0xafce23[_0x19f382(0x23b)];_0x583f1f++)_0x5ecbca[_0x19f382(0x238)](_0xafce23[_0x583f1f])<0x0&&Object[_0x19f382(0x268)][_0x19f382(0xf6)][_0x19f382(0x1fd)](_0x42cb3b,_0xafce23[_0x583f1f])&&(_0x110a33[_0xafce23[_0x583f1f]]=_0x42cb3b[_0xafce23[_0x583f1f]]);}return _0x110a33;},We=_0x4a5d7a(function(_0x5a0e71,_0x527a42){const _0xc8b338=_0x254dd6;var _0x419117=_0x5a0e71[_0xc8b338(0x13f)],_0x2cb2cf=_0x5a0e71['id'],_0x500c26=_0x5a0e71[_0xc8b338(0x23e)],_0x2d6a39=_0x5a0e71['extend'],_0x1264b2=Bi(_0x5a0e71,[_0xc8b338(0x13f),'id',_0xc8b338(0x23e),_0xc8b338(0x11c)]),_0x4cb861='univerjs-icon\x20univerjs-icon-'[_0xc8b338(0x1e0)](_0x2cb2cf,'\x20')[_0xc8b338(0x1e0)](_0x500c26||'')['trim'](),_0x24ae2b=_0x4dd263('_'[_0xc8b338(0x1e0)](Wi()));return Nt(_0x419117,''[_0xc8b338(0x1e0)](_0x2cb2cf),{'defIds':_0x419117[_0xc8b338(0x1c3)],'idSuffix':_0x24ae2b[_0xc8b338(0x16a)]},I({'ref':_0x527a42,'className':_0x4cb861},_0x1264b2),_0x2d6a39);});function Nt(_0x16e369,_0x2b9607,_0xdffcc1,_0x3fe73c,_0x2d0227){const _0x284f72=_0x254dd6;return _0x30cf05(_0x16e369[_0x284f72(0x112)],I(I({'key':_0x2b9607},Hi(_0x16e369,_0xdffcc1,_0x2d0227)),_0x3fe73c),(ji(_0x16e369,_0xdffcc1)[_0x284f72(0x25b)]||[])['map'](function(_0x55559b,_0x325283){const _0x20afbf=_0x284f72;return Nt(_0x55559b,''[_0x20afbf(0x1e0)](_0x2b9607,'-')[_0x20afbf(0x1e0)](_0x16e369[_0x20afbf(0x112)],'-')[_0x20afbf(0x1e0)](_0x325283),_0xdffcc1,void 0x0,_0x2d0227);}));}function Hi(_0x3b6c49,_0xc109e6,_0x21d725){const _0x24668c=_0x254dd6;var _0x49b5b9=I({},_0x3b6c49[_0x24668c(0x102)]);_0x21d725!=null&&_0x21d725[_0x24668c(0x149)]&&_0x49b5b9[_0x24668c(0x146)]==='colorChannel1'&&(_0x49b5b9[_0x24668c(0x146)]=_0x21d725[_0x24668c(0x149)]),_0x3b6c49[_0x24668c(0x112)]===_0x24668c(0x24e)&&_0x49b5b9['id']&&(_0x49b5b9['id']=_0x49b5b9['id']+_0xc109e6[_0x24668c(0x18c)]),Object[_0x24668c(0x296)](_0x49b5b9)['forEach'](function(_0x3533af){const _0x2bbb0e=_0x24668c;var _0x1e826c=_0x3533af[0x0],_0x3cfe49=_0x3533af[0x1];_0x1e826c===_0x2bbb0e(0x24e)&&typeof _0x3cfe49==_0x2bbb0e(0x16b)&&(_0x49b5b9[_0x1e826c]=_0x3cfe49[_0x2bbb0e(0x234)](/url\(#(.*)\)/,'url(#$1'[_0x2bbb0e(0x1e0)](_0xc109e6[_0x2bbb0e(0x18c)],')')));});var _0x2fbff7=_0xc109e6[_0x24668c(0x1c3)];return!_0x2fbff7||_0x2fbff7[_0x24668c(0x23b)]===0x0||(_0x3b6c49[_0x24668c(0x112)]===_0x24668c(0x1de)&&_0x49b5b9['xlink:href']&&(_0x49b5b9['xlink:href']=_0x49b5b9[_0x24668c(0x25a)]+_0xc109e6['idSuffix']),Object[_0x24668c(0x296)](_0x49b5b9)[_0x24668c(0x1be)](function(_0x44e22d){const _0x4000ae=_0x24668c;var _0x43aede=_0x44e22d[0x0],_0x2eed48=_0x44e22d[0x1];typeof _0x2eed48==_0x4000ae(0x16b)&&(_0x49b5b9[_0x43aede]=_0x2eed48[_0x4000ae(0x234)](/url\(#(.*)\)/,_0x4000ae(0x226)[_0x4000ae(0x1e0)](_0xc109e6['idSuffix'],')')));})),_0x49b5b9;}function ji(_0x576145,_0xd5e518){const _0x109c38=_0x254dd6;var _0x33ddba,_0x1b794f=_0xd5e518[_0x109c38(0x1c3)];return!_0x1b794f||_0x1b794f['length']===0x0?_0x576145:_0x576145['tag']==='defs'&&(!((_0x33ddba=_0x576145[_0x109c38(0x25b)])===null||_0x33ddba===void 0x0)&&_0x33ddba[_0x109c38(0x23b)])?I(I({},_0x576145),{'children':_0x576145['children'][_0x109c38(0x1c4)](function(_0xa84912){const _0x9a41b4=_0x109c38;return typeof _0xa84912[_0x9a41b4(0x102)]['id']==_0x9a41b4(0x16b)&&_0x1b794f&&_0x1b794f[_0x9a41b4(0x238)](_0xa84912[_0x9a41b4(0x102)]['id'])>-0x1?I(I({},_0xa84912),{'attrs':I(I({},_0xa84912[_0x9a41b4(0x102)]),{'id':_0xa84912['attrs']['id']+_0xd5e518[_0x9a41b4(0x18c)]})}):_0xa84912;})}):_0x576145;}function Wi(){const _0x5b519c=_0x254dd6;return Math[_0x5b519c(0x14b)]()[_0x5b519c(0x2cf)](0x24)[_0x5b519c(0x1fc)](0x2,0x8);}We[_0x254dd6(0xe6)]='UniverIcon';var Fi={'tag':_0x254dd6(0x1d9),'attrs':{'fill':_0x254dd6(0x176),'viewBox':_0x254dd6(0x1d7),'width':'1em','height':_0x254dd6(0xfe)},'children':[{'tag':'g','attrs':{'clipPath':_0x254dd6(0x2aa)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'stroke':_0x254dd6(0x26a),'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':'round','strokeLinejoin':_0x254dd6(0x2ca),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x254dd6(0x26b)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Pt=_0x4a5d7a(function(_0x4a9249,_0x357053){const _0x10d94b=_0x254dd6;return _0x30cf05(We,Object[_0x10d94b(0x2ae)]({},_0x4a9249,{'id':_0x10d94b(0x285),'ref':_0x357053,'icon':Fi}));});Pt[_0x254dd6(0xe6)]=_0x254dd6(0x118);var Vi={'tag':'svg','attrs':{'fill':_0x254dd6(0x176),'viewBox':_0x254dd6(0x22d),'width':_0x254dd6(0xfe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x254dd6(0x174)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'stroke':'currentColor','d':_0x254dd6(0x2cd),'strokeLinecap':_0x254dd6(0x2ca),'strokeLinejoin':_0x254dd6(0x2ca),'strokeWidth':1.2}}]},{'tag':_0x254dd6(0xfc),'attrs':{},'children':[{'tag':_0x254dd6(0x1f9),'attrs':{'id':_0x254dd6(0x256)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'fill':_0x254dd6(0x178),'d':'M0\x200H16V16H0z','transform':_0x254dd6(0xf7)}}]}]}],'defIds':[_0x254dd6(0x256)]},Mt=_0x4a5d7a(function(_0x214b77,_0x31a0b3){const _0x5461a8=_0x254dd6;return _0x30cf05(We,Object['assign']({},_0x214b77,{'id':_0x5461a8(0x124),'ref':_0x31a0b3,'icon':Vi}));});Mt['displayName']=_0x254dd6(0x23c);const Yi=_0x254dd6(0x181),Xi=_0x254dd6(0x2ac),Gi=_0x254dd6(0x208),Ki='univer-online',zi=_0x254dd6(0x262),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x3d36c2){const _0x3453a7=_0x254dd6;switch(_0x3d36c2){case _0xee00ed['OFFLINE']:return'collabStatus.offline';case _0xee00ed[_0x3453a7(0x204)]:return'collabStatus.conflict';case _0xee00ed[_0x3453a7(0x282)]:return _0x3453a7(0x233);case _0xee00ed[_0x3453a7(0xf5)]:return _0x3453a7(0xec);case _0xee00ed[_0x3453a7(0x2c9)]:case _0xee00ed['AWAITING_WITH_PENDING']:return _0x3453a7(0x21d);case _0xee00ed[_0x3453a7(0x159)]:case _0xee00ed[_0x3453a7(0x206)]:return'collabStatus.synced';}}function Zi(_0x24d635){const _0x115336=_0x254dd6,{status$:_0x8946a4}=_0x24d635,_0x4b05be=_0x186802(_0x8946a4,_0xee00ed['NOT_COLLAB']),_0x21e3e=_0x1fb475(_0x53dc03),_0x1bd04e=_0x1fb475(_0x59f118),_0x3a57f4=_0x4b05be!==_0xee00ed[_0x115336(0x1ba)],_0x216b17=_0x21e3e['t'](Ji(_0x4b05be)),_0x3bc100=_0xf9d0a2(G[_0x115336(0x250)],{[G[_0x115336(0x154)]]:_0x3a57f4,[G[_0x115336(0x298)]]:!_0x3a57f4}),_0x31c5b0=_0x3a57f4?_0x11a52d(Mt,{}):_0x11a52d(Pt,{}),_0x3d0400=_0xae6fc9(()=>{_0x3a57f4||_0x1bd04e['reconnect']();},[_0x3a57f4,_0x1bd04e]);function _0x9e0448(){const _0x52b476=_0x115336;return _0x5d2971('div',{'className':_0xf9d0a2(_0x3bc100,_0x52b476(0x2b8)),'onClick':_0x3d0400,'children':[_0x11a52d(_0x52b476(0x1d5),{'className':G['onlineStatusIcon'],'children':_0x31c5b0}),_0x11a52d(_0x52b476(0x1d5),{'className':G[_0x52b476(0x2a5)],'children':_0x216b17})]});}return _0x3a57f4?_0x9e0448():_0x11a52d(_0x1f3fd7,{'title':_0x21e3e['t'](_0x115336(0xe3)),'children':_0x9e0448()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1b4433,_0x19700b,_0x2f6a01,_0x5284c1)=>{for(var _0x496923=_0x5284c1>0x1?void 0x0:_0x5284c1?Qi(_0x19700b,_0x2f6a01):_0x19700b,_0x4aa526=_0x1b4433['length']-0x1,_0x30b4c9;_0x4aa526>=0x0;_0x4aa526--)(_0x30b4c9=_0x1b4433[_0x4aa526])&&(_0x496923=_0x30b4c9(_0x496923)||_0x496923);return _0x496923;},q=(_0x366412,_0x10be3b)=>(_0x4b7c55,_0x479a93)=>_0x10be3b(_0x4b7c55,_0x479a93,_0x366412);let se=class extends _0x13b31d{constructor(_0x2a4399,_0x38603d,_0x2add32,_0x2c27b5){const _0x269f03=_0x254dd6;super(),h(this,_0x269f03(0x1e9),new _0x178130(_0xee00ed[_0x269f03(0xf5)])),(this[_0x269f03(0x223)]=_0x2a4399,this[_0x269f03(0x25e)]=_0x38603d,this[_0x269f03(0x21a)]=_0x2add32,this[_0x269f03(0x15d)]=_0x2c27b5,this[_0x269f03(0x1ce)](),this[_0x269f03(0x169)]());}['_initStatusListener'](){const _0x288648=_0x254dd6;this[_0x288648(0x1dc)](this['_univerInstanceService'][_0x288648(0xed)][_0x288648(0x163)](_0x5a2c79(()=>{const _0x1d01e2=_0x288648,_0x51277d=this[_0x1d01e2(0x223)][_0x1d01e2(0x14a)]();return _0x51277d?this[_0x1d01e2(0x21a)][_0x1d01e2(0x26e)](_0x51277d[_0x1d01e2(0x252)]()):_0x3085ce(null);}),_0x5a2c79(_0x545ac1=>_0x545ac1?_0x545ac1[_0x288648(0x2d0)]:_0x3085ce(_0xee00ed['NOT_COLLAB'])))['subscribe'](_0x82e152=>{const _0x499d08=_0x288648;this[_0x499d08(0x1e9)][_0x499d08(0x1ad)](_0x82e152);}));}['_initStatusComponent'](){const _0x419e9c=_0x254dd6;this[_0x419e9c(0x1dc)](this['_uiPartsService']['registerComponent'](_0x20cb2d[_0x419e9c(0x155)],()=>_0x5f00f9(en({'status$':this['_status$'][_0x419e9c(0x183)]()}),this[_0x419e9c(0x25e)])));}};se=qi([q(0x0,_0x5d3182),q(0x1,_0x1fe9bf(_0x1ef8fa)),q(0x2,_0x1fe9bf(_0x32f724)),q(0x3,_0x5cb4c3)],se);function en(_0x48c781){const {status$:_0x3cedd2}=_0x48c781;return function(){return _0x11a52d(Zi,{'status$':_0x3cedd2});};}var tn=Object[_0x254dd6(0x270)],sn=(_0x17f704,_0xc3a12d,_0x33bd86,_0x4b223c)=>{for(var _0x1f2ecf=_0x4b223c>0x1?void 0x0:_0x4b223c?tn(_0xc3a12d,_0x33bd86):_0xc3a12d,_0x17833b=_0x17f704['length']-0x1,_0x525217;_0x17833b>=0x0;_0x17833b--)(_0x525217=_0x17f704[_0x17833b])&&(_0x1f2ecf=_0x525217(_0x1f2ecf)||_0x1f2ecf);return _0x1f2ecf;},k=(_0x4a8e15,_0x14ab52)=>(_0x1428b4,_0x4cace9)=>_0x14ab52(_0x1428b4,_0x4cace9,_0x4a8e15);let ie=class extends _0x13b31d{constructor(_0x31e80f,_0x470311,_0x2176a5,_0x4615c4,_0x1c9f34,_0x160352){const _0x3bbbd8=_0x254dd6;super(),this[_0x3bbbd8(0x16e)]=_0x31e80f,this[_0x3bbbd8(0x1b8)]=_0x470311,this[_0x3bbbd8(0x1a0)]=_0x2176a5,this[_0x3bbbd8(0x2c2)]=_0x4615c4,this[_0x3bbbd8(0x2b7)]=_0x1c9f34,this['_localeService']=_0x160352,this[_0x3bbbd8(0x1a7)](),this[_0x3bbbd8(0x19c)]();}[_0x254dd6(0x1a7)](){const _0x3949fe=_0x254dd6;this[_0x3949fe(0x1dc)](this[_0x3949fe(0x16e)][_0x3949fe(0x177)](()=>{const _0x16a7b6=_0x3949fe;if(this['_localCacheService']['saveTaskMap'][_0x16a7b6(0x293)])return this[_0x16a7b6(0x24a)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x47cd2f=_0x254dd6;this[_0x47cd2f(0x1dc)](this[_0x47cd2f(0x1a0)][_0x47cd2f(0x2b1)][_0x47cd2f(0x179)](_0x2523cc=>{const _0x9941fe=_0x47cd2f;_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x2a1)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7['Warning'],'content':this['_localeService']['t'](_0x9941fe(0x1c1))}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x134)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x106))}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x12b)]&&this[_0x9941fe(0x2b7)][_0x9941fe(0x20c)]({'title':this['_localeService']['t'](_0x9941fe(0x1c7)),'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x143)),'type':_0x9941fe(0x14c),'duration':0x0}),_0x2523cc['id']===_0x1b5eb0['CONFLICT']&&this['_messageService'][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x1c2)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2523cc['data']+')'}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x19e)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this['_localeService']['t'](_0x2523cc[_0x9941fe(0x1b7)]||'')}),_0x2523cc['id']===_0x1b5eb0['SOCKET_FAILED_RETRY']&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x13d))}),_0x2523cc['id']===_0x1b5eb0['SOCKET_FAILED']&&this[_0x9941fe(0x2c2)]['show']({'type':_0x40fed7['Error'],'content':this[_0x9941fe(0x24a)]['t']('session.connection-failed')}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0xf4)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7['Error'],'content':this[_0x9941fe(0x24a)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x2047ff),k(0x1,_0x5cf72e),k(0x2,_0x1fe9bf(_0x4cb544)),k(0x3,_0x37f15d),k(0x4,_0xe3aff),k(0x5,_0x1fe9bf(_0x53dc03))],ie);const nn=_0x254dd6(0x1f1),st={},wt=_0x54bd59(_0x254dd6(0x29a));var rn=Object[_0x254dd6(0x270)],on=(_0x3e8fde,_0x40b89a,_0x52238b,_0x6720f7)=>{const _0x5b4981=_0x254dd6;for(var _0x4f483d=_0x6720f7>0x1?void 0x0:_0x6720f7?rn(_0x40b89a,_0x52238b):_0x40b89a,_0x2354fd=_0x3e8fde[_0x5b4981(0x23b)]-0x1,_0xacfd29;_0x2354fd>=0x0;_0x2354fd--)(_0xacfd29=_0x3e8fde[_0x2354fd])&&(_0x4f483d=_0xacfd29(_0x4f483d)||_0x4f483d);return _0x4f483d;},K=(_0x27b8b1,_0x393219)=>(_0x1a7380,_0x2f443d)=>_0x393219(_0x1a7380,_0x2f443d,_0x27b8b1);let ne=class extends _0x3114f0{constructor(_0x5e9ccf,_0x317135,_0x551132,_0x18807d,_0x320073){const _0x98558d=_0x254dd6;super(),this[_0x98558d(0x10e)]=_0x5e9ccf,this[_0x98558d(0x203)]=_0x317135,this[_0x98558d(0xe7)]=_0x551132,this[_0x98558d(0x214)]=_0x18807d,_0x320073?_0x320073==null||_0x320073[_0x98558d(0x222)]()[_0x98558d(0x246)](()=>this[_0x98558d(0x231)]()):(this[_0x98558d(0x203)][_0x98558d(0x16f)](_0x98558d(0x19d),_0x98558d(0x284)),this[_0x98558d(0x231)]());}async[_0x254dd6(0x231)](){const _0x46027b=_0x254dd6,_0x1334f2=this[_0x46027b(0x10e)][_0x46027b(0x1d4)]('unit'),_0x2b4a51=this[_0x46027b(0x10e)][_0x46027b(0x1d4)](_0x46027b(0x228)),_0xf71c9e=this[_0x46027b(0x10e)][_0x46027b(0x1d4)](_0x46027b(0x209));if(!_0x1334f2||!_0x2b4a51){this[_0x46027b(0x203)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x28695c=await this['_dataLoaderService'][_0x46027b(0x2b2)](_0x1334f2,Number(_0x2b4a51),_0xf71c9e);_0x28695c&&_0x28695c instanceof _0x3db73e&&this[_0x46027b(0x126)](_0x28695c);}async[_0x254dd6(0x126)](_0x30fc7c){const _0x8d95e8=_0x254dd6;await this['_updateSubUnitFromURLParams'](_0x30fc7c),_0x30fc7c[_0x8d95e8(0x10d)][_0x8d95e8(0x163)](_0x2515d3(this['dispose$']))['subscribe'](_0x2a390e=>{const _0x2c2e1d=_0x8d95e8;_0x2a390e&&this[_0x2c2e1d(0x170)](_0x2a390e);}),this[_0x8d95e8(0x10e)][_0x8d95e8(0x1b9)]['pipe'](_0x2515d3(this[_0x8d95e8(0x1f7)]))[_0x8d95e8(0x179)](()=>this[_0x8d95e8(0x1a1)](_0x30fc7c));}[_0x254dd6(0x170)](_0x549980,_0x4cb724=!0x1){const _0xa885b1=_0x254dd6,_0x49ab00=this[_0xa885b1(0x10e)][_0xa885b1(0x1d4)](_0xa885b1(0x209));_0x549980[_0xa885b1(0x17d)]()!==_0x49ab00&&this[_0xa885b1(0x10e)][_0xa885b1(0x144)](_0xa885b1(0x209),_0x549980[_0xa885b1(0x17d)](),_0x4cb724);}async[_0x254dd6(0x1a1)](_0x3d3679){const _0x376bcb=_0x254dd6;var _0x68caf7;const _0x146919=this[_0x376bcb(0x10e)]['getParam']('subunit');if(!_0x146919||!_0x3d3679[_0x376bcb(0x162)](_0x146919)){const _0x1823fd=_0x3d3679['getUnhiddenWorksheets']()[0x0],_0x36fc3e=_0x3d3679[_0x376bcb(0x162)](_0x1823fd);if(!_0x36fc3e)return;this[_0x376bcb(0x170)](_0x36fc3e,!0x0),await this[_0x376bcb(0xe7)][_0x376bcb(0x1ac)](_0x1bd38a['id'],{'unitId':_0x3d3679['getUnitId'](),'subUnitId':_0x1823fd});return;}((_0x68caf7=_0x3d3679['getActiveSheet']())==null?void 0x0:_0x68caf7[_0x376bcb(0x17d)]())!==_0x146919&&await this[_0x376bcb(0xe7)]['executeCommand'](_0x1bd38a['id'],{'unitId':_0x3d3679[_0x376bcb(0x252)](),'subUnitId':_0x146919});}};ne=on([K(0x0,wt),K(0x1,_0x12ec0c),K(0x2,_0x17137b),K(0x3,_0x1fe9bf(_0x57a8f9)),K(0x4,_0x4beb0b(_0x49f88d))],ne);var an=Object[_0x254dd6(0x270)],cn=(_0xfde355,_0x1985d4,_0x2b9957,_0x3fe805)=>{const _0x3860cc=_0x254dd6;for(var _0x1252fc=_0x3fe805>0x1?void 0x0:_0x3fe805?an(_0x1985d4,_0x2b9957):_0x1985d4,_0x13eed0=_0xfde355[_0x3860cc(0x23b)]-0x1,_0x2101d7;_0x13eed0>=0x0;_0x13eed0--)(_0x2101d7=_0xfde355[_0x13eed0])&&(_0x1252fc=_0x2101d7(_0x1252fc)||_0x1252fc);return _0x1252fc;},Ce=(_0x3edffb,_0x22d3a6)=>(_0xa0eb7d,_0x4e3f8)=>_0x22d3a6(_0xa0eb7d,_0x4e3f8,_0x3edffb);let re=class{constructor(_0x186b34,_0xa352cd,_0x4f09b0){const _0x385d1e=_0x254dd6;this[_0x385d1e(0x25e)]=_0x186b34,this[_0x385d1e(0x168)]=_0xa352cd,this[_0x385d1e(0x11f)]=_0x4f09b0;}['transformIMECache'](_0x5f4a06){const _0x299219=_0x254dd6;this[_0x299219(0x139)](_0x5f4a06),this[_0x299219(0x1ed)](_0x5f4a06);}['transformRemoteChangeset'](_0x478e97){const _0x4e45cc=_0x254dd6,{unitID:_0x6da6ed}=_0x478e97,_0xf99a83=this[_0x4e45cc(0x11f)]['getRenderById'](_0x6da6ed)[_0x4e45cc(0x1ff)](_0x59314d),{redoCache:_0x1af680}=_0xf99a83[_0x4e45cc(0x1d2)]();if(_0x1af680[_0x4e45cc(0x23b)]===0x0)return _0x478e97;let _0x1093f8=_0x1589f5[_0x4e45cc(0x1e3)](_0x478e97[_0x4e45cc(0x21e)][0x0]);for(let _0x5cc28f=0x0;_0x5cc28f<_0x1af680[_0x4e45cc(0x23b)];_0x5cc28f++){const _0x2d3e94={'id':'doc.mutation.rich-text-editing','params':{..._0x1af680[_0x5cc28f]}},_0x13da75=this[_0x4e45cc(0x168)][_0x4e45cc(0x1f4)](_0x1093f8,_0x2d3e94,!0x1);if(_0x428f2f(_0x13da75))throw _0x13da75[_0x4e45cc(0x14c)];_0x1093f8=_0x13da75[_0x4e45cc(0x1ef)];}return{..._0x1589f5[_0x4e45cc(0x1e3)](_0x478e97),'mutations':[_0x1093f8]};}[_0x254dd6(0x139)](_0x52c3ed){const _0x3de614=_0x254dd6,{unitID:_0x1b8c64}=_0x52c3ed,_0x4b5e4c=this[_0x3de614(0x11f)][_0x3de614(0x2a0)](_0x1b8c64)[_0x3de614(0x1ff)](_0x59314d),{undoCache:_0x1a4ed5,redoCache:_0x1c9201}=_0x4b5e4c[_0x3de614(0x1d2)]();if(_0x1a4ed5[_0x3de614(0x23b)]===0x0||_0x1c9201['length']===0x0)return;const _0x5b1ca8=[],_0x462378=[];let _0x2fa94f=_0x1589f5[_0x3de614(0x1e3)](_0x52c3ed[_0x3de614(0x21e)][0x0]),_0x28a926=_0x1589f5[_0x3de614(0x1e3)](_0x52c3ed['mutations'][0x0]);for(let _0x341c4a=_0x1a4ed5[_0x3de614(0x23b)]-0x1;_0x341c4a>=0x0;_0x341c4a--){const _0x4c1aed={'id':'doc.mutation.rich-text-editing','params':{..._0x1a4ed5[_0x341c4a]}},_0x38d44f={'id':_0x3de614(0xfa),'params':{..._0x1c9201[_0x341c4a]}},_0x25fa85=this[_0x3de614(0x168)][_0x3de614(0x1f4)](_0x2fa94f,_0x4c1aed,!0x1),_0x157e3e=this[_0x3de614(0x168)][_0x3de614(0x1f4)](_0x28a926,_0x38d44f,!0x1);if(_0x428f2f(_0x25fa85))throw _0x25fa85[_0x3de614(0x14c)];if(_0x428f2f(_0x157e3e))throw _0x157e3e['error'];_0x5b1ca8[_0x3de614(0x2a3)](_0x25fa85[_0x3de614(0xe8)][_0x3de614(0x253)]),_0x462378['unshift'](_0x157e3e[_0x3de614(0xe8)][_0x3de614(0x253)]),_0x2fa94f=_0x25fa85[_0x3de614(0x1ef)],_0x28a926=_0x157e3e[_0x3de614(0x1ef)];}_0x4b5e4c[_0x3de614(0x29d)]({'undoCache':_0x5b1ca8,'redoCache':_0x462378});}[_0x254dd6(0x1ed)](_0x1e76dd){const _0x15bba8=_0x254dd6,{unitID:_0x4b7bea}=_0x1e76dd,_0x1983db=this[_0x15bba8(0x11f)][_0x15bba8(0x2a0)](_0x4b7bea)[_0x15bba8(0x1ff)](_0x59314d),_0x58a7c3=_0x1983db['getActiveRange']();if(_0x58a7c3==null)return;const _0x21b26b=[{'id':_0x15bba8(0xfa),'params':{'unitId':_0x1e76dd['unitID'],'actions':null,'textRanges':[_0x58a7c3]}}],_0x3b87fb=this[_0x15bba8(0x168)][_0x15bba8(0x13c)](_0x1e76dd,_0x21b26b);if(!_0x4eb3ba(_0x3b87fb))throw _0x3b87fb[_0x15bba8(0x14c)];const _0x263daa=_0x3b87fb['m2Prime'][0x0]['params']['textRanges'];Array[_0x15bba8(0x2d8)](_0x263daa)&&_0x263daa['length']&&_0x1983db[_0x15bba8(0x288)](_0x263daa[0x0]);}};re=cn([Ce(0x0,_0x1fe9bf(_0x1ef8fa)),Ce(0x1,_0xbe6581),Ce(0x2,_0x4b8867)],re);var ln=Object[_0x254dd6(0x270)],hn=(_0x5e7298,_0x2e89c6,_0xb8c8eb,_0x4eabbf)=>{const _0x1b66ca=_0x254dd6;for(var _0x3dfe45=_0x4eabbf>0x1?void 0x0:_0x4eabbf?ln(_0x2e89c6,_0xb8c8eb):_0x2e89c6,_0x10a9c2=_0x5e7298[_0x1b66ca(0x23b)]-0x1,_0x2fbc46;_0x10a9c2>=0x0;_0x10a9c2--)(_0x2fbc46=_0x5e7298[_0x10a9c2])&&(_0x3dfe45=_0x2fbc46(_0x3dfe45)||_0x3dfe45);return _0x3dfe45;},be=(_0x2025ab,_0x2d55d3)=>(_0xa1464d,_0x1c8c01)=>_0x2d55d3(_0xa1464d,_0x1c8c01,_0x2025ab);let oe=class{constructor(_0x4d5487,_0x4ba770,_0x3a62be){const _0x22fc01=_0x254dd6;this[_0x22fc01(0x25e)]=_0x4d5487,this[_0x22fc01(0x168)]=_0x4ba770,this[_0x22fc01(0x110)]=_0x3a62be;}['transformStateCache'](_0x4c94a0){const _0x35c02e=_0x254dd6;this[_0x35c02e(0x1a8)](_0x4c94a0);}[_0x254dd6(0x1cb)](_0x5b2423){const _0x1bd7f6=_0x254dd6,{unitID:_0x105493}=_0x5b2423,{collaboration:_0x369ec0}=this[_0x1bd7f6(0x110)][_0x1bd7f6(0x12c)](_0x105493);if(_0x369ec0[_0x1bd7f6(0x23b)]===0x0)return _0x5b2423;let _0x4263f2=_0x1589f5[_0x1bd7f6(0x1e3)](_0x5b2423[_0x1bd7f6(0x21e)][0x0]);for(let _0x8a77d5=0x0;_0x8a77d5<_0x369ec0[_0x1bd7f6(0x23b)];_0x8a77d5++){const _0x7f75af={'id':_0x1bd7f6(0xfa),'params':{'unitId':_0x369ec0[_0x8a77d5][_0x1bd7f6(0x2b5)],..._0x369ec0[_0x8a77d5][_0x1bd7f6(0x2d4)]}},_0xfab304=this['_transformService'][_0x1bd7f6(0x1f4)](_0x4263f2,_0x7f75af,!0x1);if(_0x428f2f(_0xfab304))throw _0xfab304['error'];_0x4263f2=_0xfab304[_0x1bd7f6(0x1ef)];}return{..._0x1589f5[_0x1bd7f6(0x1e3)](_0x5b2423),'mutations':[_0x4263f2]};}[_0x254dd6(0x1a8)](_0x5537b0){const _0x2e9906=_0x254dd6,{unitID:_0x9a90d}=_0x5537b0,{history:_0xa0624,collaboration:_0x4fafc2}=this[_0x2e9906(0x110)][_0x2e9906(0x12c)](_0x9a90d);if(_0xa0624[_0x2e9906(0x23b)]===0x0&&_0x4fafc2[_0x2e9906(0x23b)]===0x0)return;const _0x1c5ae4=[],_0xf183db=[];let _0x296367=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0['mutations'][0x0]),_0x216907=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0[_0x2e9906(0x21e)][0x0]);for(let _0x369c56=_0xa0624[_0x2e9906(0x23b)]-0x1;_0x369c56>=0x0;_0x369c56--){const _0x43b426={'id':_0x2e9906(0xfa),'params':{'unitId':_0xa0624[_0x369c56][_0x2e9906(0x2b5)],..._0xa0624[_0x369c56][_0x2e9906(0xea)]}},_0x51163b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa0624[_0x369c56][_0x2e9906(0x2b5)],..._0xa0624[_0x369c56][_0x2e9906(0x2d4)]}},_0x5d382e=this[_0x2e9906(0x168)][_0x2e9906(0x1f4)](_0x296367,_0x43b426,!0x1),_0x4bba79=this[_0x2e9906(0x168)]['transformMutation'](_0x216907,_0x51163b,!0x1);if(_0x428f2f(_0x5d382e))throw _0x5d382e[_0x2e9906(0x14c)];if(_0x428f2f(_0x4bba79))throw _0x4bba79[_0x2e9906(0x14c)];_0x1c5ae4['unshift']({..._0xa0624[_0x369c56],'undoState':_0x5d382e[_0x2e9906(0xe8)]['params'],'redoState':_0x4bba79['m2Prime']['params']}),_0x296367=_0x5d382e['m1Prime'],_0x216907=_0x4bba79[_0x2e9906(0x1ef)];}_0x296367=_0x1589f5['deepClone'](_0x5537b0[_0x2e9906(0x21e)][0x0]),_0x216907=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0[_0x2e9906(0x21e)][0x0]);for(let _0x1af8c4=_0x4fafc2[_0x2e9906(0x23b)]-0x1;_0x1af8c4>=0x0;_0x1af8c4--){const _0x2f235b={'id':_0x2e9906(0xfa),'params':{'unitId':_0x4fafc2[_0x1af8c4][_0x2e9906(0x2b5)],..._0x4fafc2[_0x1af8c4][_0x2e9906(0xea)]}},_0x402eea={'id':_0x2e9906(0xfa),'params':{'unitId':_0x4fafc2[_0x1af8c4][_0x2e9906(0x2b5)],..._0x4fafc2[_0x1af8c4][_0x2e9906(0x2d4)]}},_0x17d7c5=this['_transformService'][_0x2e9906(0x1f4)](_0x296367,_0x2f235b,!0x1),_0x328b5f=this[_0x2e9906(0x168)]['transformMutation'](_0x216907,_0x402eea,!0x1);if(_0x428f2f(_0x17d7c5))throw _0x17d7c5[_0x2e9906(0x14c)];if(_0x428f2f(_0x328b5f))throw _0x328b5f[_0x2e9906(0x14c)];_0xf183db['unshift']({..._0x4fafc2[_0x1af8c4],'undoState':_0x17d7c5['m2Prime']['params'],'redoState':_0x328b5f[_0x2e9906(0xe8)][_0x2e9906(0x253)]}),_0x296367=_0x17d7c5[_0x2e9906(0x1ef)],_0x216907=_0x328b5f[_0x2e9906(0x1ef)];}this['_docStateChangeManagerService'][_0x2e9906(0x274)](_0x9a90d,{'history':_0x1c5ae4,'collaboration':_0xf183db});}};oe=hn([be(0x0,_0x1fe9bf(_0x1ef8fa)),be(0x1,_0xbe6581),be(0x2,_0x1fe9bf(_0xdd8c19))],oe);var _n=Object[_0x254dd6(0x270)],un=(_0x453ed3,_0x37446f,_0x216374,_0x2a903c)=>{const _0x23b318=_0x254dd6;for(var _0x490790=_0x2a903c>0x1?void 0x0:_0x2a903c?_n(_0x37446f,_0x216374):_0x37446f,_0x8507a6=_0x453ed3[_0x23b318(0x23b)]-0x1,_0x53c57b;_0x8507a6>=0x0;_0x8507a6--)(_0x53c57b=_0x453ed3[_0x8507a6])&&(_0x490790=_0x53c57b(_0x490790)||_0x490790);return _0x490790;},it=(_0x508edb,_0x1639ac)=>(_0x43ef8a,_0x15b884)=>_0x1639ac(_0x43ef8a,_0x15b884,_0x508edb);let ae=class{constructor(_0x8deb18,_0x2ada28){this['_injector']=_0x8deb18,this['_transformService']=_0x2ada28;}[_0x254dd6(0xe9)](_0x53bc87){const _0x3b251f=_0x254dd6;var _0x469de0;const _0x4fa078=this[_0x3b251f(0x25e)][_0x3b251f(0x29f)](_0x5f2b61),_0x367699=(_0x469de0=_0x4fa078['getDocRanges']())!=null?_0x469de0:[];if(_0x367699['length']===0x0)return;const _0x2e5945=_0x53bc87[_0x3b251f(0x10b)],_0x4dd972=[{'id':_0x3b251f(0xfa),'params':{'unitId':_0x2e5945,'actions':null,'textRanges':_0x367699}}],_0x1ba39a=this[_0x3b251f(0x168)][_0x3b251f(0x13c)](_0x53bc87,_0x4dd972);if(!_0x4eb3ba(_0x1ba39a))throw _0x1ba39a[_0x3b251f(0x14c)];const _0x2f3128=_0x1ba39a[_0x3b251f(0xe8)][0x0][_0x3b251f(0x253)][_0x3b251f(0x18b)];Array[_0x3b251f(0x2d8)](_0x2f3128)&&_0x2f3128['length']&&_0x4fa078[_0x3b251f(0x201)](_0x2f3128,{'unitId':_0x2e5945,'subUnitId':_0x2e5945},!0x1);}};ae=un([it(0x0,_0x1fe9bf(_0x1ef8fa)),it(0x1,_0xbe6581)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x335ce6,_0x2792d4,_0xef6ce5,_0x2da2d4)=>{const _0x37a29c=_0x254dd6;for(var _0x35e819=_0x2da2d4>0x1?void 0x0:_0x2da2d4?dn(_0x2792d4,_0xef6ce5):_0x2792d4,_0x12387f=_0x335ce6[_0x37a29c(0x23b)]-0x1,_0x46dccf;_0x12387f>=0x0;_0x12387f--)(_0x46dccf=_0x335ce6[_0x12387f])&&(_0x35e819=_0x46dccf(_0x35e819)||_0x35e819);return _0x35e819;},P=(_0x4841a9,_0x4d0536)=>(_0x1df2b7,_0x51cbd3)=>_0x4d0536(_0x1df2b7,_0x51cbd3,_0x4841a9);let ce=class extends _0x13b31d{constructor(_0x7036e0,_0x25cd22,_0x4d3c8d,_0x2dfd66,_0x34e7ce,_0x31cf46,_0x525890,_0x4f975d){const _0x57e841=_0x254dd6;super(),h(this,_0x57e841(0x1e9),new _0x178130(_0xee00ed[_0x57e841(0xf5)])),(this[_0x57e841(0x110)]=_0x7036e0,this[_0x57e841(0x21a)]=_0x25cd22,this[_0x57e841(0x2c6)]=_0x4d3c8d,this[_0x57e841(0x271)]=_0x2dfd66,this[_0x57e841(0x239)]=_0x34e7ce,this[_0x57e841(0x17c)]=_0x31cf46,this[_0x57e841(0x2c2)]=_0x525890,this[_0x57e841(0x24a)]=_0x4f975d,this['_initEntityListener']());}['_initEntityListener'](){const _0x340e1b=_0x254dd6;this[_0x340e1b(0x1dc)](this[_0x340e1b(0x21a)][_0x340e1b(0x1df)][_0x340e1b(0x179)](_0x192919=>{const _0x136824=_0x340e1b,_0x4560d4=this[_0x136824(0x110)][_0x136824(0x255)][_0x136824(0x179)](_0x5ac5f3=>{const _0x1de212=_0x136824;if(_0x5ac5f3==null)return;const {unitId:_0x931dd3,redoState:_0x51461b,commandId:_0x41db8c}=_0x5ac5f3;if(_0x931dd3!==_0x192919[_0x1de212(0x10b)])return;const _0x3af067={'id':_0x41db8c,'type':_0x14cec7[_0x1de212(0x1fb)],'params':{'unitId':_0x931dd3,'actions':_0x51461b[_0x1de212(0x237)],'textRanges':null}};_0x192919[_0x1de212(0x200)](_0x3af067);});if(_0x192919['disposeWithMe'](_0x4560d4),_0x192919 instanceof _0x5bc4bc){const _0x348ccc={'onTransformIME':_0xd99de=>this[_0x136824(0x2c6)][_0x136824(0x2dc)](_0xd99de),'onTransformState':_0x2aabbd=>this[_0x136824(0x271)][_0x136824(0x1ae)](_0x2aabbd),'onTransformSelections':_0x2ff69b=>this[_0x136824(0x239)]['transformSelections'](_0x2ff69b),'onSyncEditingCollabCursor':_0x412fdf=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x412fdf),'onTransformRemoteChangesetByIMECache':_0x55a754=>this[_0x136824(0x2c6)][_0x136824(0x1cb)](_0x55a754),'onTransformRemoteChangesetByStateCache':_0x4e82ea=>this[_0x136824(0x271)][_0x136824(0x1cb)](_0x4e82ea)};_0x192919[_0x136824(0x133)](_0x348ccc);}}));}};ce=fn([P(0x0,_0x1fe9bf(_0xdd8c19)),P(0x1,_0x1fe9bf(_0x32f724)),P(0x2,_0x1fe9bf(re)),P(0x3,_0x1fe9bf(oe)),P(0x4,_0x1fe9bf(ae)),P(0x5,_0x1fe9bf(je)),P(0x6,_0x37f15d),P(0x7,_0x1fe9bf(_0x53dc03))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x45f0e9,_0x35011c,_0x28967e,_0xe8fa54)=>{const _0x28b747=_0x254dd6;for(var _0x2be9a0=_0xe8fa54>0x1?void 0x0:_0xe8fa54?Sn(_0x35011c,_0x28967e):_0x35011c,_0x324e2e=_0x45f0e9[_0x28b747(0x23b)]-0x1,_0x14d416;_0x324e2e>=0x0;_0x324e2e--)(_0x14d416=_0x45f0e9[_0x324e2e])&&(_0x2be9a0=_0x14d416(_0x2be9a0)||_0x2be9a0);return _0x2be9a0;},Ee=(_0x489a71,_0x330547)=>(_0x4fb8a7,_0x5b99d1)=>_0x330547(_0x4fb8a7,_0x5b99d1,_0x489a71);let Ae=class extends _0x13b31d{constructor(_0x13967e,_0x323d2f,_0x1a53ca){const _0x5c5ec0=_0x254dd6;super(),h(this,'_cachedData',new Map()),h(this,_0x5c5ec0(0x2a8),new Map()),h(this,_0x5c5ec0(0xe2),!0x1),(this['_configService']=_0x13967e,this[_0x5c5ec0(0x17a)]=_0x323d2f,this[_0x5c5ec0(0x207)]=_0x1a53ca);}['disableLocalCache'](){const _0x133048=_0x254dd6;this[_0x133048(0xe2)]=!0x0;}[_0x254dd6(0x28e)](){const _0x198aa1=_0x254dd6;this[_0x198aa1(0xe2)]=!0x1;}get[_0x254dd6(0x12d)](){const _0x4e52b2=_0x254dd6;return this[_0x4e52b2(0x2a8)];}['dispose'](){const _0x2f2cf4=_0x254dd6;this[_0x2f2cf4(0x28c)]()[_0x2f2cf4(0x246)](()=>super[_0x2f2cf4(0x105)]());}async['loadOfflineData'](_0x3bdeeb){const _0x268853=_0x254dd6;return this['_disabled']?null:this[_0x268853(0x17a)][_0x268853(0x2ab)](_0xdd96af(_0x3bdeeb));}async[_0x254dd6(0x123)](_0x500fd9,_0x309e46){const _0x3393f9=_0x254dd6;return!!this[_0x3393f9(0x17a)][_0x3393f9(0x2cb)](_0x500fd9,_0x309e46);}['updateOfflineData'](_0x2841fa,_0x49f033,_0x6c4d67,_0x3590c6){const _0x37fe23=_0x254dd6,_0xfa3967=this['_revisionService'][_0x37fe23(0x2ad)](_0x2841fa);this[_0x37fe23(0xfd)][_0x37fe23(0x287)](_0x2841fa,{'unitID':_0x2841fa,'type':_0x49f033,'awaitingChangeset':_0x6c4d67,'mutations':_0x3590c6,'rev':_0xfa3967}),this[_0x37fe23(0x2a8)][_0x37fe23(0x20a)](_0x2841fa)||this[_0x37fe23(0x15e)](_0x2841fa);}[_0x254dd6(0x15e)](_0x4e22aa){const _0x2da0b9=_0x254dd6,_0x41e1b3=this[_0x2da0b9(0x1d0)]();_0x41e1b3===0x0?this[_0x2da0b9(0x212)](_0x4e22aa):this[_0x2da0b9(0x2a8)][_0x2da0b9(0x287)](_0x4e22aa,setTimeout(()=>this[_0x2da0b9(0x212)](_0x4e22aa),_0x41e1b3));}[_0x254dd6(0x1d0)](){const _0x4c23a1=_0x254dd6;var _0x579e8f;return(_0x579e8f=this[_0x4c23a1(0x1f0)]['getConfig'](_0xbecbae))!=null?_0x579e8f:_0x46d8ba;}[_0x254dd6(0x212)](_0x2729fb){const _0x109baa=_0x254dd6,_0x34ad5b=this[_0x109baa(0x2a8)][_0x109baa(0x29f)](_0x2729fb);return _0x34ad5b!==void 0x0&&window[_0x109baa(0x259)](_0x34ad5b),this[_0x109baa(0x17a)][_0x109baa(0x2cb)](_0xdd96af(_0x2729fb),this[_0x109baa(0xfd)][_0x109baa(0x29f)](_0x2729fb))[_0x109baa(0x246)](()=>this[_0x109baa(0x2a8)][_0x109baa(0x276)](_0x2729fb));}async['exhaustSavingTask'](){const _0x1e69d7=_0x254dd6,_0x3142fb=[];this[_0x1e69d7(0x2a8)][_0x1e69d7(0x1be)]((_0x14e329,_0x5a3c4c)=>{const _0x56d18a=_0x1e69d7;window[_0x56d18a(0x259)](_0x14e329),_0x3142fb[_0x56d18a(0x198)](this[_0x56d18a(0x212)](_0x5a3c4c)[_0x56d18a(0x246)](()=>{this['_saveTaskMap']['delete'](_0x5a3c4c);}));}),await Promise[_0x1e69d7(0x243)](_0x3142fb);}};Ae=mn([Ee(0x0,_0x14b648),Ee(0x1,_0x5122c0),Ee(0x2,_0x1fe9bf(_0x53939e))],Ae);class gn extends _0x3114f0{constructor(){const _0x5958a2=_0x254dd6;super(),h(this,'urlChange$'),this[_0x5958a2(0x1b9)]=_0x3a13d2(window,'popstate')[_0x5958a2(0x163)](_0x2515d3(this['dispose$']),_0x3c7d0e(0x1),_0x40e4dd(void 0x0));}[_0x254dd6(0x144)](_0x557f98,_0x541d1f,_0x41206f=!0x1){const _0x5945a2=_0x254dd6,_0x442400=new URL(window[_0x5945a2(0x1cc)][_0x5945a2(0x20d)]);_0x442400[_0x5945a2(0x286)]['set'](_0x557f98,_0x541d1f),_0x41206f?window[_0x5945a2(0x225)][_0x5945a2(0x2b0)]('','',_0x442400['toString']()):window['history']['pushState']('','',_0x442400[_0x5945a2(0x2cf)]());}[_0x254dd6(0x28a)](_0x290440,_0x3defac=!0x1){const _0x31217d=_0x254dd6,_0x4ac0f3=new URL(window[_0x31217d(0x1cc)][_0x31217d(0x20d)]);_0x4ac0f3['searchParams'][_0x31217d(0x276)](_0x290440),_0x3defac?window[_0x31217d(0x225)][_0x31217d(0x2b0)]('','',_0x4ac0f3[_0x31217d(0x2cf)]()):window[_0x31217d(0x225)][_0x31217d(0x19a)]('','',_0x4ac0f3[_0x31217d(0x2cf)]());}['getParam'](_0x4b5c3f){const _0x38462d=_0x254dd6;var _0x5d2f0b;return(_0x5d2f0b=new URL(window[_0x38462d(0x1cc)][_0x38462d(0x20d)])[_0x38462d(0x286)]['get'](_0x4b5c3f))!=null?_0x5d2f0b:void 0x0;}}var vn=Object[_0x254dd6(0x2bf)],In=Object['getOwnPropertyDescriptor'],pn=(_0x23d80b,_0x2861e9,_0x519216)=>_0x2861e9 in _0x23d80b?vn(_0x23d80b,_0x2861e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x519216}):_0x23d80b[_0x2861e9]=_0x519216,Cn=(_0x1db331,_0x3ff754,_0x15eb6f,_0x3a11cb)=>{const _0x46dd4d=_0x254dd6;for(var _0x3e9f98=_0x3a11cb>0x1?void 0x0:_0x3a11cb?In(_0x3ff754,_0x15eb6f):_0x3ff754,_0x534832=_0x1db331[_0x46dd4d(0x23b)]-0x1,_0xfb4e2;_0x534832>=0x0;_0x534832--)(_0xfb4e2=_0x1db331[_0x534832])&&(_0x3e9f98=_0xfb4e2(_0x3e9f98)||_0x3e9f98);return _0x3e9f98;},Oe=(_0x1de5d6,_0x31df75)=>(_0x335ba1,_0x528d34)=>_0x31df75(_0x335ba1,_0x528d34,_0x1de5d6),bn=(_0x1eb47b,_0x2e87df,_0x375d46)=>pn(_0x1eb47b,_0x2e87df+'',_0x375d46);const En='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x380430{constructor(_0x442170=st,_0x2736c3,_0x2cb199,_0x4c4743){const _0x3924af=_0x254dd6;super(),this['_config']=_0x442170,this[_0x3924af(0x11f)]=_0x2736c3,this[_0x3924af(0x25e)]=_0x2cb199,this['_configService']=_0x4c4743;const {..._0x54f79b}=_0xf75b00({},st,this[_0x3924af(0x18a)]);this[_0x3924af(0x1f0)][_0x3924af(0x1b2)](nn,_0x54f79b);}[_0x254dd6(0x2ce)](){const _0x3e3196=_0x254dd6;this[_0x3e3196(0x295)](),this[_0x3e3196(0x13e)]();}['onRendered'](){const _0x1f128b=_0x254dd6;this[_0x1f128b(0x26f)]();}['_registerDependencies'](){const _0x25795d=_0x254dd6;var _0x130b75;const _0x19658d=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x122748,{'useClass':_0x1119e7}],[_0x5cf72e,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x2bccfd(this[_0x25795d(0x25e)],_0xec91eb(_0x19658d,(_0x130b75=this[_0x25795d(0x18a)])==null?void 0x0:_0x130b75['override']));}[_0x254dd6(0x26f)](){const _0x4990bb=_0x254dd6;this['disposeWithMe'](this[_0x4990bb(0x11f)][_0x4990bb(0x122)](_0x18724c[_0x4990bb(0xf2)],[Ue])),this[_0x4990bb(0x1dc)](this[_0x4990bb(0x11f)]['registerRenderModule'](_0x18724c['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x49b911(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x40cda0(_0x418593),Oe(0x1,_0x4b8867),Oe(0x2,_0x1fe9bf(_0x1ef8fa)),Oe(0x3,_0x14b648)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x2b1167,_0xaea29f,_0x1bf885,_0x4b6297)=>{for(var _0x34bab8=_0x4b6297>0x1?void 0x0:_0x4b6297?On(_0xaea29f,_0x1bf885):_0xaea29f,_0x335f38=_0x2b1167['length']-0x1,_0x2590fc;_0x335f38>=0x0;_0x335f38--)(_0x2590fc=_0x2b1167[_0x335f38])&&(_0x34bab8=_0x2590fc(_0x34bab8)||_0x34bab8);return _0x34bab8;},z=(_0x21aa98,_0x28c437)=>(_0x8f1e45,_0x1536bd)=>_0x28c437(_0x8f1e45,_0x1536bd,_0x21aa98);let nt=class extends _0x1ac233{constructor(_0x2769ba,_0x609708,_0x250f82,_0x1cb2a9,_0x50da05){super(_0x2769ba,_0x609708,_0x250f82,_0x1cb2a9,_0x50da05);}async[_0x254dd6(0x27d)](_0x3fea0d){const _0x1fdaa4=_0x254dd6,_0x496a3b=await this[_0x1fdaa4(0x100)](),_0x1f721f=this[_0x1fdaa4(0x277)](_0x3fea0d,_0x496a3b);return this['_doCreateSocket'](_0x1f721f);}[_0x254dd6(0x277)](_0x35c93c,_0x26a881){const _0x315ae7=_0x254dd6,_0x3d80b2=typeof window>'u'?new URL(_0x35c93c):new URL(_0x35c93c,window[_0x315ae7(0x1cc)][_0x315ae7(0x291)]);_0x3d80b2['searchParams']['set'](_0x315ae7(0x137),_0x26a881);const _0x375370=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x315ae7(0x1cc)][_0x315ae7(0x290)]);return _0x375370[_0x315ae7(0x29f)](_0x315ae7(0x24f))&&_0x3d80b2[_0x315ae7(0x286)]['set'](_0x315ae7(0x24f),_0x375370[_0x315ae7(0x29f)](_0x315ae7(0x24f))),_0x3d80b2[_0x315ae7(0x2cf)]();}async[_0x254dd6(0x100)](){const _0x2e7fb7=_0x254dd6;var _0x35a814,_0x5f546a,_0x2a3846;const _0x7f1175=this['_configService']['getConfig'](_0x32eecf),_0x5f7146=(_0x35a814=_0x7f1175==null?void 0x0:_0x7f1175['wsSessionTicketUrl'])!=null?_0x35a814:_0x209df0;return(_0x2a3846=(_0x5f546a=(await this[_0x2e7fb7(0x28d)][_0x2e7fb7(0x29f)](_0x5f7146,{'headers':{'Content-Type':_0x2e7fb7(0x2c5)}}))[_0x2e7fb7(0x1aa)])==null?void 0x0:_0x5f546a[_0x2e7fb7(0x130)])!=null?_0x2a3846:'';}};nt=Tn([z(0x0,_0x1fe9bf(_0x1ef8fa)),z(0x1,_0x1fe9bf(_0x313693)),z(0x2,_0x14b648),z(0x3,_0x12ec0c),z(0x4,_0x399ebe)],nt);const rt=0x7530,ot=_0x254dd6(0x2da);class Gn extends _0x13b31d{constructor(){const _0x1c2ab0=_0x254dd6;super(),h(this,'_id',_0x7c84c4()),h(this,_0x1c2ab0(0x2b4),new Set()),h(this,_0x1c2ab0(0x191),new Map()),h(this,_0x1c2ab0(0x109),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x1c2ab0(0x231)]();}[_0x254dd6(0x105)](){const _0x53f7e0=_0x254dd6;super[_0x53f7e0(0x105)](),this[_0x53f7e0(0x2c0)][_0x53f7e0(0x1be)]((_0x27b7d7,_0x1a3e02)=>this['_removeClearOtherTimer'](_0x1a3e02)),this[_0x53f7e0(0x109)]&&window[_0x53f7e0(0x211)](this[_0x53f7e0(0x109)]);}[_0x254dd6(0x15c)](_0x3ae1f6){return this['_ensureSubject'](_0x3ae1f6)['pipe'](_0x4aad3c());}[_0x254dd6(0x160)](_0x9a592){const _0x5a5746=_0x254dd6;this[_0x5a5746(0x2b4)][_0x5a5746(0x293)]===0x0&&this[_0x5a5746(0x22f)](),this[_0x5a5746(0x2b4)][_0x5a5746(0x261)](_0x9a592),this[_0x5a5746(0x294)]({'type':0x0,'memberID':this[_0x5a5746(0xee)],'unitIDs':[_0x9a592],'isForwarded':!0x1});}['disposeUnit'](_0x189291){const _0x4a5ba2=_0x254dd6;this['_selfUnitIDs'][_0x4a5ba2(0x276)](_0x189291),this['_selfUnitIDs'][_0x4a5ba2(0x293)]===0x0&&this[_0x4a5ba2(0x109)]&&window[_0x4a5ba2(0x211)](this[_0x4a5ba2(0x109)]);}[_0x254dd6(0x231)](){const _0x350a02=_0x254dd6;this[_0x350a02(0x1dc)](_0x444d87(_0x3a13d2(window,'storage')[_0x350a02(0x179)](_0x113dcb=>{const _0x306300=_0x350a02;if(_0x113dcb['key']!==ot||!_0x113dcb[_0x306300(0x236)])return;const _0x1afab1=JSON[_0x306300(0x135)](_0x113dcb[_0x306300(0x236)]);this[_0x306300(0x114)](_0x1afab1);}))),window['addEventListener'](_0x350a02(0xeb),()=>this[_0x350a02(0x294)]({'type':0x1,'memberID':this[_0x350a02(0xee)],'unitIDs':Array[_0x350a02(0x115)](this[_0x350a02(0x2b4)])}));}['_handleEvent'](_0x39694e){const _0x18cce3=_0x254dd6;switch(_0x39694e[_0x18cce3(0x228)]){case 0x0:this[_0x18cce3(0x216)](_0x39694e);break;case 0x1:this[_0x18cce3(0x1c9)](_0x39694e);break;case 0x2:this[_0x18cce3(0x116)](_0x39694e);break;}}[_0x254dd6(0x216)](_0x314365){const _0x37986b=_0x254dd6,{unitIDs:_0x39c6bd,memberID:_0x1db942,isForwarded:_0x5b3b39}=_0x314365;_0x39c6bd['forEach'](_0x32939d=>{const _0x8cb229=_0x1a18;if(!_0x5b3b39&&this[_0x8cb229(0x191)]['has'](_0x32939d)&&this[_0x8cb229(0x1e6)](_0x32939d)['next'](_0x436a55['OTHER_CLIENTS_EDITING']),!this[_0x8cb229(0x191)][_0x8cb229(0x20a)](_0x32939d)||!this[_0x8cb229(0x191)][_0x8cb229(0x29f)](_0x32939d)['has'](_0x1db942)){const _0x508bf6=this[_0x8cb229(0x191)][_0x8cb229(0x29f)](_0x32939d)||new Set();_0x508bf6[_0x8cb229(0x261)](_0x1db942),this[_0x8cb229(0x191)][_0x8cb229(0x287)](_0x32939d,_0x508bf6),this['_scheduleClearOtherTimer'](_0x1db942);}}),_0x5b3b39||this['_send']({'type':0x0,'memberID':this[_0x37986b(0xee)],'unitIDs':[...this[_0x37986b(0x2b4)]],'isForwarded':!0x0});}[_0x254dd6(0x2a9)](_0x13d662){const _0x97fd27=_0x254dd6;this[_0x97fd27(0x165)](_0x13d662);const _0xb509ff=window[_0x97fd27(0x14d)](()=>{const _0x447b0d=_0x97fd27;this[_0x447b0d(0x191)][_0x447b0d(0x1be)](_0x1e9018=>{const _0x3a69ba=_0x447b0d;_0x1e9018[_0x3a69ba(0x276)](_0x13d662);});},rt*0x2);this[_0x97fd27(0x2c0)][_0x97fd27(0x287)](_0x13d662,_0xb509ff);}[_0x254dd6(0x165)](_0x56d3a4){const _0x191f30=_0x254dd6;if(this[_0x191f30(0x2c0)][_0x191f30(0x20a)](_0x56d3a4)){const _0x309467=this[_0x191f30(0x2c0)][_0x191f30(0x29f)](_0x56d3a4);_0x309467&&window[_0x191f30(0x259)](_0x309467),this[_0x191f30(0x2c0)][_0x191f30(0x287)](_0x56d3a4,null);}}[_0x254dd6(0x1c9)](_0xc17eaf){const _0x4972a4=_0x254dd6,{memberID:_0x3082e8,unitIDs:_0x533cff}=_0xc17eaf;_0x533cff[_0x4972a4(0x1be)](_0x48609a=>{const _0x42f6ad=_0x4972a4;var _0x33e365;const _0x18f797=this[_0x42f6ad(0x191)]['get'](_0x48609a);_0x18f797&&(_0x18f797[_0x42f6ad(0x276)](_0x3082e8),(_0x33e365=this[_0x42f6ad(0x1e6)](_0x48609a))==null||_0x33e365['next'](_0x18f797[_0x42f6ad(0x293)]===0x0?_0x436a55['NO_OTHER_CLIENTS_EDITING']:_0x436a55['OTHER_CLIENTS_EDITING']));}),this[_0x4972a4(0x165)](_0x3082e8);}['_handleHeartbeatEvent'](_0x5eae32){const _0x124fa1=_0x254dd6;this[_0x124fa1(0x2a9)](_0x5eae32[_0x124fa1(0x1ea)]);}[_0x254dd6(0x294)](_0xc75083){const _0x16a8cf=_0x254dd6;localStorage[_0x16a8cf(0x2cb)](ot,JSON[_0x16a8cf(0xe4)](_0xc75083));}[_0x254dd6(0x22f)](){const _0x210b55=_0x254dd6;this[_0x210b55(0x109)]=window['setInterval'](()=>{const _0x51c6f4=_0x210b55;this[_0x51c6f4(0x294)]({'type':0x2,'memberID':this[_0x51c6f4(0xee)]});},rt);}[_0x254dd6(0x1e6)](_0x116e3c){const _0x45f302=_0x254dd6;return this['_unitStatus'][_0x45f302(0x20a)](_0x116e3c)||this['_unitStatus'][_0x45f302(0x287)](_0x116e3c,new _0x178130(_0x436a55[_0x45f302(0x194)])),this['_unitStatus']['get'](_0x116e3c);}}var Ut=(_0x358a23=>(_0x358a23[_0x358a23[_0x254dd6(0x1bc)]=0x0]='UNDEFINED',_0x358a23[_0x358a23['OK']=0x1]='OK',_0x358a23[_0x358a23[_0x254dd6(0x1a6)]=0x2]=_0x254dd6(0x1a6),_0x358a23[_0x358a23['PERMISSION_DENIED']=0x3]=_0x254dd6(0x12b),_0x358a23[_0x358a23[_0x254dd6(0x1bb)]=0x4]='NOT_FOUND',_0x358a23[_0x358a23[_0x254dd6(0x1e2)]=0x5]=_0x254dd6(0x1e2),_0x358a23[_0x358a23[_0x254dd6(0x1dd)]=0x6]='ALREADY_EXISTS',_0x358a23[_0x358a23[_0x254dd6(0xff)]=0x7]=_0x254dd6(0xff),_0x358a23[_0x358a23['TOO_MANY_REQUESTS']=0x8]=_0x254dd6(0x1c8),_0x358a23[_0x358a23['COMPLETION_FINISHED']=0x9]=_0x254dd6(0x197),_0x358a23[_0x358a23['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x358a23[_0x358a23[_0x254dd6(0x1af)]=0x1389]=_0x254dd6(0x1af),_0x358a23[_0x358a23['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x254dd6(0x1c6),_0x358a23[_0x358a23['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x358a23[_0x358a23['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x254dd6(0x1f3),_0x358a23[_0x358a23[_0x254dd6(0x172)]=0x1b59]=_0x254dd6(0x172),_0x358a23[_0x358a23['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x254dd6(0x280),_0x358a23[_0x358a23[_0x254dd6(0x2db)]=0x1b5b]=_0x254dd6(0x2db),_0x358a23[_0x358a23['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x358a23[_0x358a23[_0x254dd6(0x12e)]=0x1b5d]=_0x254dd6(0x12e),_0x358a23[_0x358a23['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x254dd6(0x272),_0x358a23[_0x358a23['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x358a23[_0x358a23[_0x254dd6(0x245)]=0x232a]=_0x254dd6(0x245),_0x358a23[_0x358a23[_0x254dd6(0x24c)]=0x232b]=_0x254dd6(0x24c),_0x358a23[_0x358a23[_0x254dd6(0x258)]=0x232c]=_0x254dd6(0x258),_0x358a23[_0x358a23['LICENSE_DISTRO_REJECTED']=0x232d]=_0x254dd6(0x232),_0x358a23[_0x358a23[_0x254dd6(0x141)]=0x2711]=_0x254dd6(0x141),_0x358a23[_0x358a23['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x358a23[_0x358a23[_0x254dd6(0x1a9)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x358a23[_0x358a23[_0x254dd6(0x299)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x358a23[_0x358a23[_0x254dd6(0x249)]=0x2af9]=_0x254dd6(0x249),_0x358a23[_0x358a23[_0x254dd6(0x15b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x358a23[_0x358a23[_0x254dd6(0x103)]=0x2ee2]=_0x254dd6(0x103),_0x358a23[_0x358a23[_0x254dd6(0x289)]=0x2ee3]=_0x254dd6(0x289),_0x358a23[_0x358a23[_0x254dd6(0x1c5)]=0x2ee4]=_0x254dd6(0x1c5),_0x358a23[_0x358a23['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x254dd6(0x267),_0x358a23[_0x358a23[_0x254dd6(0x175)]=-0x1]='UNRECOGNIZED',_0x358a23))(Ut||{}),Rn=Object[_0x254dd6(0x270)],Dn=(_0x5c3ee7,_0x3d5b1a,_0x43ba48,_0x5c3c70)=>{const _0x3c5de9=_0x254dd6;for(var _0x54397a=_0x5c3c70>0x1?void 0x0:_0x5c3c70?Rn(_0x3d5b1a,_0x43ba48):_0x3d5b1a,_0x499d1f=_0x5c3ee7[_0x3c5de9(0x23b)]-0x1,_0x5ec46a;_0x499d1f>=0x0;_0x499d1f--)(_0x5ec46a=_0x5c3ee7[_0x499d1f])&&(_0x54397a=_0x5ec46a(_0x54397a)||_0x54397a);return _0x54397a;},Te=(_0x56f17a,_0x4a3f3f)=>(_0x4204a3,_0x46771d)=>_0x4a3f3f(_0x4204a3,_0x46771d,_0x56f17a);let at=class extends _0x13b31d{constructor(_0x309359,_0x18c13e,_0x301766){const _0x1035e1=_0x254dd6;super(),this[_0x1035e1(0x1ee)]=_0x309359,this[_0x1035e1(0x28d)]=_0x18c13e,this[_0x1035e1(0x1f0)]=_0x301766;}async[_0x254dd6(0x279)](_0x56a0bf,_0x3f2cdf,_0x48bbd3,..._0x8af994){const _0x3abe38=_0x254dd6;var _0xe0be16,_0x2701a0,_0x2c7424,_0x4851ae;const _0x5a4ce1=this[_0x3abe38(0x1ee)][_0x3abe38(0x14a)]();if(!_0x5a4ce1)throw new Error(_0x3abe38(0x205));const _0x22c59b=((_0xe0be16=this[_0x3abe38(0x1f0)]['getConfig'](_0x681efc))!=null?_0xe0be16:_0x52ac97)+'/'+_0x56a0bf+'/run/'+_0x3f2cdf,_0x16e23f=new URL(window[_0x3abe38(0x1cc)][_0x3abe38(0x20d)]),_0x7fd35c={'scriptId':_0x56a0bf,'runId':(_0x2701a0=_0x16e23f[_0x3abe38(0x286)][_0x3abe38(0x29f)](_0x3abe38(0x24f)))!=null?_0x2701a0:'','function':_0x3f2cdf,'unitId':_0x5a4ce1[_0x3abe38(0x252)](),'argsOfFunction':JSON[_0x3abe38(0xe4)](_0x8af994),'invokeId':(_0x2c7424=_0x48bbd3['invokeId'])!=null?_0x2c7424:'','executionId':(_0x4851ae=_0x48bbd3[_0x3abe38(0x111)])!=null?_0x4851ae:''};try{const _0x21b193=await this[_0x3abe38(0x28d)][_0x3abe38(0x153)](_0x22c59b,{'body':_0x7fd35c});return _0x21b193[_0x3abe38(0x1aa)]['error']&&_0x21b193[_0x3abe38(0x1aa)][_0x3abe38(0x14c)]['code']!==Ut['OK']?_0x3abe38(0x15f):_0x21b193[_0x3abe38(0x1aa)]['result'];}catch{return _0x3abe38(0x15f);}}};at=Dn([Te(0x0,_0x5d3182),Te(0x1,_0x1fe9bf(_0x313693)),Te(0x2,_0x14b648)],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 _0xcffedf=_0x12c7;(function(_0x3711a8,_0x233c98){const _0x362895=_0x12c7,_0x2237b9=_0x3711a8();while(!![]){try{const _0x3b960e=-parseInt(_0x362895(0x226))/0x1*(-parseInt(_0x362895(0x30e))/0x2)+-parseInt(_0x362895(0x1e9))/0x3+parseInt(_0x362895(0x395))/0x4+-parseInt(_0x362895(0x35e))/0x5*(-parseInt(_0x362895(0x328))/0x6)+parseInt(_0x362895(0x2cd))/0x7+-parseInt(_0x362895(0x33c))/0x8+-parseInt(_0x362895(0x2ce))/0x9;if(_0x3b960e===_0x233c98)break;else _0x2237b9['push'](_0x2237b9['shift']());}catch(_0x507563){_0x2237b9['push'](_0x2237b9['shift']());}}}(_0x2072,0x77765));var kt=Object[_0xcffedf(0x2b1)],Bt=(_0x157529,_0xe0a583,_0x166cd7)=>_0xe0a583 in _0x157529?kt(_0x157529,_0xe0a583,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x166cd7}):_0x157529[_0xe0a583]=_0x166cd7,h=(_0x361465,_0x554da3,_0x2c5dd3)=>Bt(_0x361465,typeof _0x554da3!=_0xcffedf(0x2f1)?_0x554da3+'':_0x554da3,_0x2c5dd3);import{MemberService as _0x2565e4,SessionStatus as _0x3af92a,CollaborationSessionService as _0x5f16f8,CollaborationStatus as _0x137632,CollaborationController as _0x832d1d,ILocalCacheService as _0x126658,CollaborationUIEventService as _0x7f3d0,CollaborationUIEventId as _0x9322c9,DataLoaderService as _0x1e714f,DocCollaborationEntity as _0x2d9bad,getLocalCacheKey as _0x34f8b4,LOCAL_CACHE_INTERVAL as _0x10b28c,LOCAL_CACHE_INTERVAL_KEY as _0x4715a3,UniverCollaborationClientPlugin as _0x57b005,CollaborationSocketService as _0x4dbbb9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x470c49,DEFAULT_WS_SESSION_TICKET_URL as _0x2171c7,UnitStatus as _0x113adb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5734b9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x155a2d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x338310,Disposable as _0xc24441,DOC_RANGE_TYPE as _0x4fe6e8,Inject as _0x695648,Injector as _0xf56663,IUniverInstanceService as _0x2eb697,ICommandService as _0x42a8e8,debounce as _0x1dac78,Rectangle as _0x221a3e,DisposableCollection as _0x20ab04,toDisposable as _0x331a4b,UniverInstanceType as _0x303793,Tools as _0x5a8d3d,COLORS as _0x37065d,ColorKit as _0x4aabd4,ThemeService as _0x354126,fromEventSubject as _0x164d9e,LocaleService as _0x3f07ff,createIdentifier as _0x3e6261,ILogService as _0x5ba7eb,Optional as _0x1e5a1d,Workbook as _0xdaef1e,CommandType as _0x373aa,IConfigService as _0x572b85,ILocalStorageService as _0x1a67f4,DependentOn as _0x5a4598,Plugin as _0x45285f,merge as _0x3607e9,registerDependencies as _0x494b98,mergeOverrideWithDependencies as _0xd21d36,touchDependencies as _0x1ef034,generateRandomId as _0x31de42}from'@univerjs/core';import{Shape as _0x3c2d29,Rect as _0x56d092,getColor as _0xb3434b,RegularPolygon as _0x23da66,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1bb768,Vector2 as _0x286b83,SHEET_VIEWPORT_KEY as _0x2f411e,IRenderManagerService as _0x30ea9d}from'@univerjs/engine-render';import{ISocketService as _0x10dbd8,WebSocketService as _0x18102c,HTTPService as _0x56ebd1}from'@univerjs/network';import{IDocClipboardService as _0x54e1a8,NodePositionConvertToCursor as _0x1399c2,NodePositionConvertToRectRange as _0x9071bc,TEXT_RANGE_LAYER_INDEX as _0x28b64b,SetDocZoomRatioOperation as _0x49f093,DocIMEInputManagerService as _0xac9c66,DocStateChangeManagerService as _0x53243c}from'@univerjs/docs-ui';import{IImageIoService as _0x12d19e}from'@univerjs/drawing';import{BehaviorSubject as _0x2d4022,debounceTime as _0x19e4fc,takeUntil as _0x57ae48,Subject as _0x4bb65e,filter as _0x113b47,switchMap as _0x41f1c9,merge as _0x18c199,combineLatest as _0x1f100e,of as _0x1ed1a0,fromEvent as _0x33a215,shareReplay as _0x5f0d6e,mapTo as _0x51b0df,distinctUntilChanged as _0x171feb}from'rxjs';import{SetTextSelectionsOperation as _0x55ae82,RichTextEditingMutation as _0x3c0bff,DocSelectionManagerService as _0x368efa,DocSkeletonManagerService as _0x1a9a71}from'@univerjs/docs';import{ITransformService as _0x220f1b,CollaborationEvent as _0x266eef,isTransformMutationFailure as _0x488cde,isTransformMutationsWithChangesetSuccess as _0x2f9375,RevisionService as _0x579428,ISnapshotServerService as _0x3ab12a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5cb000,serializeRangeWithSheet as _0x1dca4a}from'@univerjs/engine-formula';function _0x2072(){const _0x29f5c9=['skeleton','requireSession','_univerInstanceService','defineProperty','arc','getUnitId','_cursor','reconnect','div','search','_saveTaskMap','red300','saveTaskMap','substring','_entities','_cursorShapes','findNodePositionByCharIndex','_handleEvent','_docSkeleton','values','createInstance','_color','_initStatusListener','none','addObject','attrs','href','_startDocCollabCursor','_imageIoService','YUUMI_URL_COL_OUT_OF_RANGE','syncEditingCollabCursor','1224559vdvdqN','12688335HRGVse','restore','currentTheme$','type','sheetID','registerRenderModule','_onCursorUpdate','getOwnPropertyDescriptor','_syncEditingCollabCursorService','_configService','_doCreateSocket','getCollabEntity$','permission.title','_colorIndex','collab-client.tooltip.reconnect','_updateLocalCursor','hasOwnProperty','_beforeCloseService','session.collaboration-timeout','createSocket','TEXT','_assignedColors','getAncestorScale','invokeId','concat','current','ACTIVE_UNIT_EVENT_CHANNEL','_scene','xlink:href','textRanges','_transformHistoryAndStateStack','replaceState','asObservable','RemoveRowCommandId','collabCursorState$','symbol','jiqing500','error','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','getConfig','onMouseMove','_roomMembers$','univerjs-icon\x20univerjs-icon-','_colorAssignService','transformRemoteChangeset','deepClone','exhaustSavingTask','_docStateChangeManagerService','InsertColCommandId','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getOwnPropertySymbols','currentSkeleton$','_transformPreviousActiveRange','set','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','range','on-line-single_clip0_910_349','...','getCollabCursors$','571562EdmWXQ','_logService','_collabCursorState$','runId','_session','RECT','_handleHover','show','_heartbeatTimer','_docSkeletonManagerService','sheetId','delete','collabStatus.fetchMiss','propertyIsEnumerable','engine','_drawRectRange','round','_entityInit$','data','PENDING','addObjects','INVITE_CODE_REQUIRED','_docTransformStateCacheService','labelPosition','_localeService','_hover','2760LaskPl','_transformUndoRedoStack','resize','collabStatus.offline','eventID','cursorInfo$','m2Prime','_initEvent','MUTATION','collabStatus.conflict','stringify','_initCommandExecutedListener','dispose','CONNECTOR_DATA_TOO_LARGE','_docSyncEditingCollabCursorService','body','removeParam','_drawAnchor','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','450488LgiSJo','onlineStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collaboration.closeRoom','executeCommand','onPointerEnter$','YUUMI_SUBSCRIPTION_NOT_FOUND','forEach','beginPath','OffLineSingle','trim','className','editingUnit','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','whenReady','_renderManagerService','urlChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_drawTextRange','getActiveSheet','_context','column','getActiveRange','docStateChange$','_hideTimer','disposeUnit','undoState','hide','hovered','imageSourceType','roomMembers','storage','10530RFHcZX','icon','some','SNAPSHOT_INVALID_SNAPSHOT','code','post','mutations','call','collabStatus.notCollab','font','_updateCollabCursors','idSuffix','_instanceService','setStateCache','UNRECOGNIZED','svg','getCellPositionByOffset','_httpService','transformIMECache','_shapes','_status$','USERS_LEAVE','_unitStatus','pushState','find','INVITE_CODE_ALREADY_BOUND','DeleteRangeMoveUpCommandId','string','_sheetSkeletonManagerService','prototype','fillStyle','_ensureSubject','ticket','assign','wsSessionTicketUrl','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_getSessionTicket','fillText','setItem','key','_cursors','searchParams','_docTransformIMECacheService','entries','_draw','save','_name','indexOf','addClipboardHook','registerComponent','unshift','_selfUnitIDs','_messageService','addEventListener','63372CusCxQ','mask','Error','_initEntityListener','send','application/json','_localStorageService','url(#$1','m1Prime','OTHER_CLIENT_EDITING','setInterval','top','_commandService','Warning','SNAPSHOT_HAS_BEEN_REMOVED','unitId','unsubscribe','_cursorInfo$','_getSheetObject','AWAITING_WITH_PENDING','onTransformChange$','_docClipboardService','_memberService','replace','_online','_handleHeartbeatEvent','subUnitId','clipPath','Unknown\x20user','_dataLoaderService','UNDEFINED','_removeClearOtherTimer','override','_setupBeforeClosingHandler','registerRefRange','transformByState','0\x200\x2017\x2016','LOGIN_FAILED','size','_anchorDot','disableLocalCache','getTypeOfUnitAdded$','length','_anchor','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','displayName','_labelPosition','redoState','uni.network.url-service','getValue','selections','executionId','INVALID_ARGUMENT','max','_updateSubUnitFromURLParams','getCurrentSelections','CLOSE_ROOM','tag','_cachedData','_lastPointer','_eventUnsubscribe','name','_collaborationController','source','function','PERMISSION_DENIED','getViewport','measureText','clearTimeout','session.will-retry','univer-online-status','_init','subscribe','rgba(255,\x20255,\x20255,\x200.01)','/run/','_startSheetCollabCursor','makeDirty','session.connection-failed','_initStatusComponent','fill','_docTransformSelectionsService','UNAUTHENTICATED','drawWith','setShapeProps','NOT_COLLAB','_removeCollabCursors','univer-online','_toggleOffline','184320BqMUOa','_hovered','subunit','APPLY_PERMISSION_DENIED','_handleJoinEvent','saveOfflineData','backgroundColor','_getScale','verdancy600','FromArray','HEADER_MENU','extend','clearInterval','_injector','text','newValue','[CollaborationDataLoaderController]','_revisionService','YUUMI_RATE_OVER_LIMIT','startsWith','onCommandExecuted','next','_registerDependencies','Failed','univer-flex\x20univer-items-center','map','collab-text-anchor-','currentColor','_config','origin','runOnServer','contains','onStarting','_unitOnClients','_themeService','min','getOffsetConfig','transformSelections','INVITE_CODE_HAS_BEEN_UES','_scheduleHeartbeat','_onCursorDelete','toRgbString','unload','_uiPartsService','_onRefRangeChange','_localCacheService','parse','_transformService','disposeWithMe','isEditing','get','getStateCache','from','replaceDocRanges','getUndoRedoMutationParamsCache','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','loadUnit','getMemberID','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','3gzasEx','getMember','_refRangeService','transformMutation','_id','width','_updateURLWithCurrentState','dispose$','onRendered','_getSaveTimeout','push','_clearOtherTimers','fillRule','SUBMIT_CHANGESET_TIMEOUT','has','defIds','JOIN_ROOM_FAILED','subscribeEvent','defs','debug','getSheetId','black','_textBubble','startColumn','_scheduleClearOtherTimer','OFFLINE','actions','getCurrentRevOfUnit','transform','UPDATE_CURSOR','getRenderById','pipe','event$','add','UNIVER_SHEET','CONFLICT','unitID','translate(.97)','ALREADY_EXISTS','ranges','#FFF','_urlService','generateRandomId','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','setAlpha','transformMutationsWithChangeset','_registerRenderDependencies','off-line-single','_initResize','off-line-single_clip0_910_343','onlineStatusIcon','_backgroundColor','triggerDblclick','NOT_FOUND','blue400','use','init','transformStateCache','getParam','setUndoRedoMutationParamsCache','url(#on-line-single_clip0_910_349)','row','then','with','getFocusedUnit','SOCKET_FAILED','_scheduleSaving','_saveCache','addHandlerCallback','sessionTicket','bottom','gold400','_handleLeaveEvent','random','CHANGESET_REVISION_CONFILICT','evenodd','endColumn','flatMap','collabStatus.syncing','getRelativeToViewportCoord','_initDependencies','setConfig','_notificationService','#fff','lineTo','collaboration.single-unit.warning','path','apply','OnLineSingle','color','1em','complete','_collaborationUIEventService','all','enableLocalCache','_render','getVpScrollXYInfoByPosToVp','location','selection','INVALID_INVITE_CODE','UNIVER_DOC','TOO_MANY_REQUESTS','univer-online-status-icon','colorChannel1','assignAColorForMemberID','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','children','toString','purple300','isArray','history','APPLY_REJECT','onLocalMutation','ONLINE','APPLY_DUPLICATED','M0\x200H16V16H0z','params','onPointerLeave$','getCurrent','_setupSubUnitSync','activeSheet$','cursorInfo','getSheetBySheetId','_send','_collabSessionService','NO_OTHER_CLIENTS_EDITING','roomMembers$','split','_collabCursorController','getUnitStatus$','sessionStatus$','height','YUUMI_UNABLE_LOAD_URL','startRow'];_0x2072=function(){return _0x29f5c9;};return _0x2072();}import{RefRangeService as _0x2dd86c,SetSelectionsOperation as _0x388df6,SheetsSelectionsService as _0x336669,EffectRefRangId as _0x1c31c2,handleIRemoveRow as _0x27e686,handleIRemoveCol as _0x50cdbc,handleMoveRange as _0x440022,handleInsertRow as _0x234468,handleInsertRangeMoveRight as _0x5d275b,handleInsertRangeMoveDown as _0x54e3e6,handleInsertCol as _0x20383d,handleDeleteRangeMoveUp as _0x15f4e1,handleDeleteRangeMoveLeft as _0x3f28df,runRefRangeMutations as _0x7775e0,SetWorksheetActivateCommand as _0x196a98}from'@univerjs/sheets';import{map as _0x3fb663,filter as _0x2b5352,throttleTime as _0x5a984a,takeUntil as _0x476ec8,switchMap as _0x58ce36}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d0cf7,getCoordByCell as _0x5bfc73,getSheetObject as _0x50a38e}from'@univerjs/sheets-ui';import{jsx as _0x48955e,jsxs as _0x319213}from'react/jsx-runtime';import{useObservable as _0x4043f5,useDependency as _0x591ef1,IUIPartsService as _0x3ab811,BuiltInUIPart as _0x32b901,connectInjector as _0xd3d186,IBeforeCloseService as _0x25b1ff,IMessageService as _0x2b6d87,INotificationService as _0x15b647}from'@univerjs/ui';import{clsx as _0x1bbc21,Tooltip as _0x6abde0,MessageType as _0x1c39d7}from'@univerjs/design';import{forwardRef as _0x2f8f96,useRef as _0x592de7,createElement as _0x35062d,useCallback as _0x3e46bb}from'react';import{IRemoteInstanceService as _0x22f530}from'@univerjs/rpc';var li=Object[_0xcffedf(0x2d5)],hi=(_0x55aad5,_0x52804b,_0x5e7ded,_0x1f880d)=>{const _0x4d24d1=_0xcffedf;for(var _0x17fc43=_0x1f880d>0x1?void 0x0:_0x1f880d?li(_0x52804b,_0x5e7ded):_0x52804b,_0x2da9ee=_0x55aad5[_0x4d24d1(0x3bf)]-0x1,_0x2ee064;_0x2da9ee>=0x0;_0x2da9ee--)(_0x2ee064=_0x55aad5[_0x2da9ee])&&(_0x17fc43=_0x2ee064(_0x17fc43)||_0x17fc43);return _0x17fc43;},Qe=(_0x5a56c8,_0x15640b)=>(_0x4520f5,_0x3c4eb7)=>_0x15640b(_0x4520f5,_0x3c4eb7,_0x5a56c8);let Pe=class extends _0x338310{constructor(_0x38e265,_0x515a2b){const _0x4b2209=_0xcffedf;super(),this[_0x4b2209(0x3aa)]=_0x38e265,this[_0x4b2209(0x2ca)]=_0x515a2b,this['_init']();}[_0xcffedf(0x1d8)](){const _0x474dee=_0xcffedf,_0x2c674e=this;this['disposeWithMe'](this['_docClipboardService'][_0x474dee(0x38f)]({'onBeforePasteImage':async _0x4cb88d=>{const _0x3c8dd5=_0x474dee,_0x407527=await _0x2c674e[_0x3c8dd5(0x2ca)]['saveImage'](_0x4cb88d);return _0x407527?{'source':_0x407527[_0x3c8dd5(0x1d0)],'imageSourceType':_0x407527[_0x3c8dd5(0x35b)]}:null;}}));}};Pe=hi([Qe(0x0,_0x54e1a8),Qe(0x1,_0x12d19e)],Pe);const qe=[_0xcffedf(0x294),_0xcffedf(0x2f2),_0xcffedf(0x1f1),_0xcffedf(0x2b9),_0xcffedf(0x25d),_0xcffedf(0x26e)];class He extends _0xc24441{constructor(){const _0x2a88c7=_0xcffedf;super(...arguments),h(this,_0x2a88c7(0x2e3),new Map()),h(this,'_colorIndex',0x0);}[_0xcffedf(0x28f)](_0x156e8f){const _0x324647=_0xcffedf;if(this[_0x324647(0x2e3)][_0x324647(0x234)](_0x156e8f))return this[_0x324647(0x2e3)]['get'](_0x156e8f);const _0x6703b6=qe[this[_0x324647(0x2db)]];return this[_0x324647(0x2db)]=(this[_0x324647(0x2db)]+0x1)%qe[_0x324647(0x3bf)],this[_0x324647(0x2e3)][_0x324647(0x305)](_0x156e8f,_0x6703b6),_0x6703b6;}}function Dt(_0x41503d){const _0x557ed1=_0xcffedf;let _0x1619bd='';for(const _0x551c68 of _0x41503d){const {startOffset:_0x52fd93,endOffset:_0x2ca21c,isActive:_0x22517b,rangeType:_0x323b80,segmentId:_0x454f19,segmentPage:_0x1e182f}=_0x551c68;_0x1619bd[_0x557ed1(0x3bf)]&&(_0x1619bd+=','),_0x1619bd+=_0x52fd93+':'+_0x2ca21c+':'+(_0x22517b?'1':'0')+':'+_0x323b80+':'+_0x454f19+':'+_0x1e182f;}return _0x1619bd;}function _i(_0x1d3c0f){const _0x255032=_0xcffedf,_0x35f7fb=_0x1d3c0f['split'](','),_0x358194=[];for(const _0x19ef97 of _0x35f7fb){const [_0x407670,_0xdf94e9,_0x3c6d5b,_0x450e2e,_0x30b19c,_0x525237]=_0x19ef97[_0x255032(0x2a7)](':');_0x358194[_0x255032(0x230)]({'startOffset':Number(_0x407670),'endOffset':Number(_0xdf94e9),'collapsed':_0x407670===_0xdf94e9,'isActive':_0x3c6d5b==='1','rangeType':_0x450e2e===_0x4fe6e8[_0x255032(0x2e2)]?_0x4fe6e8[_0x255032(0x2e2)]:_0x4fe6e8[_0x255032(0x313)],'segmentId':typeof _0x30b19c==_0x255032(0x379)?String(_0x30b19c):'','segmentPage':Number(_0x525237!=null?_0x525237:-0x1)});}return _0x358194[_0x255032(0x360)](_0x54ba32=>_0x54ba32['isActive'])||(_0x358194[0x0]['isActive']=!0x0),_0x358194;}class je extends _0x338310{constructor(){const _0x2c4b1b=_0xcffedf;super(...arguments),h(this,_0x2c4b1b(0x310),new _0x2d4022(null)),h(this,_0x2c4b1b(0x2f0),this[_0x2c4b1b(0x310)][_0x2c4b1b(0x2ee)]());}[_0xcffedf(0x2cc)](_0x3183ec){const _0x53e139=_0xcffedf,{unitID:_0x457237,memberID:_0xe420b4,textRanges:_0x3b874b}=_0x3183ec,_0x48b0d7=Dt(_0x3b874b);if(_0x48b0d7==='')return;const _0x53dd87={'unitID':_0x457237,'memberID':_0xe420b4,'selection':_0x48b0d7};this[_0x53e139(0x310)][_0x53e139(0x1fe)](_0x53dd87);}}var ui=Object[_0xcffedf(0x2d5)],di=(_0x590c6a,_0x3a821f,_0x20d899,_0x513d3a)=>{const _0x1e3244=_0xcffedf;for(var _0x4e7b13=_0x513d3a>0x1?void 0x0:_0x513d3a?ui(_0x3a821f,_0x20d899):_0x3a821f,_0x5aeb57=_0x590c6a[_0x1e3244(0x3bf)]-0x1,_0x2aaae7;_0x5aeb57>=0x0;_0x5aeb57--)(_0x2aaae7=_0x590c6a[_0x5aeb57])&&(_0x4e7b13=_0x2aaae7(_0x4e7b13)||_0x4e7b13);return _0x4e7b13;},U=(_0x40367d,_0x5850cf)=>(_0x32d6ae,_0x29d600)=>_0x5850cf(_0x32d6ae,_0x29d600,_0x40367d);const fi=0x12c,Si=0x64;let Me=class extends _0x338310{constructor(_0xc54a82,_0x32294e,_0x14467a,_0x4f520e,_0x3a016e,_0x2a0d9f,_0x80a123,_0x18286f,_0x27b5bd){const _0x40e0af=_0xcffedf;super(),h(this,_0x40e0af(0x3ad),!0x1),h(this,'_init',!0x1),h(this,_0x40e0af(0x3a6),new _0x2d4022(new Map())),h(this,_0x40e0af(0x32d),this[_0x40e0af(0x3a6)]['asObservable']()),h(this,_0x40e0af(0x2f8),new _0x2d4022([])),h(this,_0x40e0af(0x2a6),this[_0x40e0af(0x2f8)][_0x40e0af(0x245)](_0x19e4fc(fi))),h(this,_0x40e0af(0x2dd),_0x1dac78(_0x1d55b9=>{const _0x2c98c6=_0x40e0af,_0x28ed06={'eventID':_0x266eef[_0x2c98c6(0x243)],'data':{'unitID':this[_0x2c98c6(0x24a)],'memberID':this[_0x2c98c6(0x312)][_0x2c98c6(0x223)](),'selection':Dt(_0x1d55b9)}};this[_0x2c98c6(0x312)][_0x2c98c6(0x399)](_0x28ed06,this[_0x2c98c6(0x24a)]);},Si)),(this[_0x40e0af(0x24a)]=_0xc54a82,this[_0x40e0af(0x312)]=_0x32294e,this[_0x40e0af(0x1f6)]=_0x14467a,this[_0x40e0af(0x2fa)]=_0x4f520e,this[_0x40e0af(0x3ab)]=_0x3a016e,this[_0x40e0af(0x2d6)]=_0x2a0d9f,this[_0x40e0af(0x218)]=_0x80a123,this['_univerInstanceService']=_0x18286f,this[_0x40e0af(0x3a1)]=_0x27b5bd);}get[_0xcffedf(0x2a1)](){const _0x30a47a=_0xcffedf;return this[_0x30a47a(0x3a6)][_0x30a47a(0x1c2)]();}get['roomMembers'](){const _0x237b2e=_0xcffedf;return this[_0x237b2e(0x2f8)][_0x237b2e(0x1c2)]();}[_0xcffedf(0x334)](){const _0x3a3b45=_0xcffedf;super[_0x3a3b45(0x334)](),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x1fe)](new Map()),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x282)](),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x1fe)]([]),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x282)]();}[_0xcffedf(0x25f)](){const _0x35ca9c=_0xcffedf;this[_0x35ca9c(0x1d8)]||(this[_0x35ca9c(0x1d8)]=!0x0,this[_0x35ca9c(0x312)]['sessionStatus$']['pipe'](_0x57ae48(this[_0x35ca9c(0x22d)]))['subscribe'](_0x35beab=>{const _0x22dd81=_0x35ca9c;_0x35beab===_0x3af92a['ONLINE']?this[_0x22dd81(0x3c1)]():this[_0x22dd81(0x1e8)]();}),this['_session'][_0x35ca9c(0x246)][_0x35ca9c(0x245)](_0x57ae48(this['dispose$']))[_0x35ca9c(0x1d9)](_0x224b80=>{const _0x5cd26e=_0x35ca9c,_0x3475f1=_0x224b80[_0x5cd26e(0x32c)];_0x3475f1===_0x266eef[_0x5cd26e(0x243)]&&this['_onCursorUpdate'](_0x224b80),_0x3475f1===_0x266eef[_0x5cd26e(0x373)]&&this[_0x5cd26e(0x211)](_0x224b80);}),this[_0x35ca9c(0x219)](this[_0x35ca9c(0x3a1)][_0x35ca9c(0x1fd)](_0x34f9bf=>{const _0x5cff9d=_0x35ca9c,_0x220cc3=_0x34f9bf[_0x5cff9d(0x29c)];_0x220cc3!=null&&this[_0x5cff9d(0x3ad)]&&_0x34f9bf['id']===_0x55ae82['id']&&_0x220cc3[_0x5cff9d(0x3a4)]===this[_0x5cff9d(0x24a)]&&_0x220cc3[_0x5cff9d(0x21a)]===!0x1&&_0x220cc3['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x220cc3[_0x5cff9d(0x24d)]);})),this[_0x35ca9c(0x2d6)][_0x35ca9c(0x2f0)][_0x35ca9c(0x245)](_0x57ae48(this[_0x35ca9c(0x22d)]))[_0x35ca9c(0x1d9)](_0x377eb3=>{const _0xeb7ee2=_0x35ca9c;if((_0x377eb3==null?void 0x0:_0x377eb3[_0xeb7ee2(0x24a)])!==this['unitID'])return;const _0x171dcd={'eventID':_0x266eef[_0xeb7ee2(0x243)],'data':_0x377eb3};this[_0xeb7ee2(0x2d4)](_0x171dcd);}),this['disposeWithMe'](this[_0x35ca9c(0x3a1)]['onCommandExecuted'](_0x3c44bf=>{const _0x4d281f=_0x35ca9c;if(_0x3c44bf['params']==null)return;const _0x265925=_0x3c44bf[_0x4d281f(0x29c)];if(_0x3c44bf['id']!==_0x3c0bff['id']||_0x265925[_0x4d281f(0x3a4)]!==this[_0x4d281f(0x24a)])return;const _0x46954b={'id':_0x4d281f(0x307),'params':_0x265925},_0x457479=this[_0x4d281f(0x2a1)];for(const [_0xfe4978,_0x4c5a65]of _0x457479){const _0x2d9216={'id':_0x4d281f(0x307),'params':{'unitId':this[_0x4d281f(0x24a)],'actions':null,'textRanges':_0x4c5a65[_0x4d281f(0x24d)]}},_0x57d43e=this[_0x4d281f(0x218)][_0x4d281f(0x229)](_0x46954b,_0x2d9216,!0x1);if(_0x488cde(_0x57d43e))throw _0x57d43e[_0x4d281f(0x2f3)];_0x457479[_0x4d281f(0x305)](_0xfe4978,{..._0x4c5a65,'ranges':_0x57d43e[_0x4d281f(0x32e)][_0x4d281f(0x29c)][_0x4d281f(0x2eb)]});}queueMicrotask(()=>{const _0x11f55b=_0x4d281f;this[_0x11f55b(0x3a6)][_0x11f55b(0x1fe)](_0x457479);});})));}[_0xcffedf(0x2d4)](_0x2579d3){const _0x4fa4eb=_0xcffedf;var _0x1443b6,_0x4d6541;const {memberID:_0x1fba08,selection:_0x5377ee}=_0x2579d3[_0x4fa4eb(0x320)],_0x1d4478=_i(_0x5377ee),_0x96674f=(_0x4d6541=(_0x1443b6=this[_0x4fa4eb(0x3ab)][_0x4fa4eb(0x227)](this[_0x4fa4eb(0x24a)],_0x1fba08))==null?void 0x0:_0x1443b6[_0x4fa4eb(0x1ce)])!=null?_0x4d6541:_0x4fa4eb(0x3b1),_0x2556bd={'color':this[_0x4fa4eb(0x2fa)][_0x4fa4eb(0x28f)](_0x1fba08),'name':_0x96674f,'ranges':_0x1d4478},_0x11284d=this['cursorInfo'];_0x11284d[_0x4fa4eb(0x305)](_0x1fba08,_0x2556bd),this[_0x4fa4eb(0x3a6)][_0x4fa4eb(0x1fe)](_0x11284d);}[_0xcffedf(0x211)](_0x293316){const _0x1e3682=_0xcffedf,{memberID:_0x2a70e2}=_0x293316[_0x1e3682(0x320)],_0x3608ae=this[_0x1e3682(0x2a1)];_0x3608ae['delete'](_0x2a70e2),this[_0x1e3682(0x3a6)]['next'](_0x3608ae);}[_0xcffedf(0x3c1)](){const _0x12639e=_0xcffedf;var _0x17c5fb;if(this['_online']=!0x0,((_0x17c5fb=this[_0x12639e(0x2b0)][_0x12639e(0x267)]())==null?void 0x0:_0x17c5fb['getUnitId']())!==this['unitID'])return;const _0x19c896=this['_injector'][_0x12639e(0x21b)](_0x368efa)['getDocRanges']();Array[_0x12639e(0x295)](_0x19c896)&&_0x19c896['length']>0x0&&this['_updateLocalCursor'](_0x19c896);}[_0xcffedf(0x1e8)](){const _0x2df5d2=_0xcffedf;this[_0x2df5d2(0x3ad)]=!0x1;}};Me=di([U(0x2,_0x695648(_0xf56663)),U(0x3,_0x695648(He)),U(0x4,_0x695648(_0x2565e4)),U(0x5,_0x695648(je)),U(0x6,_0x220f1b),U(0x7,_0x2eb697),U(0x8,_0x42a8e8)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0xd320ad,_0x372b74,_0xc11d3a,_0x318e81)=>{const _0x151d99=_0xcffedf;for(var _0x318208=_0x318e81>0x1?void 0x0:_0x318e81?mi(_0x372b74,_0xc11d3a):_0x372b74,_0x5a57c6=_0xd320ad[_0x151d99(0x3bf)]-0x1,_0x211dd1;_0x5a57c6>=0x0;_0x5a57c6--)(_0x211dd1=_0xd320ad[_0x5a57c6])&&(_0x318208=_0x211dd1(_0x318208)||_0x318208);return _0x318208;},x=(_0x5a0958,_0xb6c37e)=>(_0x522a07,_0x154a27)=>_0xb6c37e(_0x522a07,_0x154a27,_0x5a0958);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4510a7=[],_0x39ca71=!0x1;return _0x491878=>{const _0x2c2b62=_0x12c7;_0x4510a7[_0x2c2b62(0x230)](_0x491878),_0x39ca71||(_0x39ca71=!0x0,setTimeout(()=>{const _0x1d044c=_0x2c2b62;_0x4510a7[_0x1d044c(0x343)](_0xa05675=>_0xa05675()),_0x4510a7=[],_0x39ca71=!0x1;}));};};let we=class extends _0x338310{constructor(_0x1b1e6f,_0x5c86c6,_0x207386,_0x3a1ade,_0x440197,_0x4fb7ce,_0x157e68,_0x5cf0d2){const _0x5a3f21=_0xcffedf;super(),h(this,_0x5a3f21(0x3ad),!0x1),h(this,_0x5a3f21(0x1d8),!0x1),h(this,'_cursorInfo$',new _0x2d4022(new Map())),h(this,_0x5a3f21(0x32d),this[_0x5a3f21(0x3a6)][_0x5a3f21(0x2ee)]()),h(this,'_roomMembers$',new _0x2d4022([])),h(this,'roomMembers$',this[_0x5a3f21(0x2f8)][_0x5a3f21(0x245)](_0x19e4fc(vi))),h(this,_0x5a3f21(0x2dd),_0x1dac78((_0x46ebbc,_0x4c51df)=>{const _0xc01fd4=_0x5a3f21,_0x1d0b98={'eventID':_0x266eef[_0xc01fd4(0x243)],'data':{'unitID':this[_0xc01fd4(0x24a)],'memberID':this['_session'][_0xc01fd4(0x223)](),'selection':_0x1dca4a(_0x46ebbc,_0x4c51df['range'])}};this[_0xc01fd4(0x312)][_0xc01fd4(0x399)](_0x1d0b98,this[_0xc01fd4(0x24a)]);},Ii)),(this[_0x5a3f21(0x24a)]=_0x1b1e6f,this[_0x5a3f21(0x312)]=_0x5c86c6,this[_0x5a3f21(0x1f6)]=_0x207386,this[_0x5a3f21(0x2fa)]=_0x3a1ade,this[_0x5a3f21(0x3ab)]=_0x440197,this[_0x5a3f21(0x2b0)]=_0x4fb7ce,this[_0x5a3f21(0x3a1)]=_0x157e68,this['_refRangeService']=_0x5cf0d2);}get[_0xcffedf(0x2a1)](){const _0x272d49=_0xcffedf;return this[_0x272d49(0x3a6)]['getValue']();}get[_0xcffedf(0x35c)](){const _0x4ed8d8=_0xcffedf;return this[_0x4ed8d8(0x2f8)]['getValue']();}[_0xcffedf(0x334)](){const _0x1d85c7=_0xcffedf;super[_0x1d85c7(0x334)](),this[_0x1d85c7(0x3a6)][_0x1d85c7(0x1fe)](new Map()),this[_0x1d85c7(0x3a6)]['complete'](),this[_0x1d85c7(0x2f8)][_0x1d85c7(0x1fe)]([]),this[_0x1d85c7(0x2f8)]['complete']();}[_0xcffedf(0x25f)](){const _0x55767c=_0xcffedf;this[_0x55767c(0x1d8)]||(this[_0x55767c(0x1d8)]=!0x0,this[_0x55767c(0x312)][_0x55767c(0x2aa)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x3f6415=>{const _0x2f1515=_0x55767c;_0x3f6415===_0x3af92a[_0x2f1515(0x299)]?this[_0x2f1515(0x3c1)]():this[_0x2f1515(0x1e8)]();}),this[_0x55767c(0x312)][_0x55767c(0x246)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x30c3ef=>{const _0xa6826c=_0x55767c,_0xfabffc=_0x30c3ef[_0xa6826c(0x32c)];_0xfabffc===_0x266eef['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x30c3ef),_0xfabffc===_0x266eef[_0xa6826c(0x373)]&&this[_0xa6826c(0x211)](_0x30c3ef);}),this['_onRefRangeChange'](),this[_0x55767c(0x219)](this['_commandService'][_0x55767c(0x1fd)](_0x31e08e=>{const _0x494451=_0x55767c;if(this['_online']&&_0x31e08e['id']===_0x388df6['id']&&_0x31e08e[_0x494451(0x29c)][_0x494451(0x3a4)]===this[_0x494451(0x24a)]){const _0x2f0912=_0x31e08e[_0x494451(0x29c)];this[_0x494451(0x2dd)](_0x2f0912[_0x494451(0x3af)],_0x2f0912[_0x494451(0x1c3)][0x0]);}})));}[_0xcffedf(0x2d4)](_0x294b5f){const _0x1aeaf5=_0xcffedf;var _0x415cf2,_0x1743d0;const {memberID:_0x3ccc82,selection:_0x529033}=_0x294b5f[_0x1aeaf5(0x320)],{sheetName:_0x372cd0,range:_0xf491c6}=_0x5cb000(_0x529033),_0xc826b0={'name':(_0x1743d0=(_0x415cf2=this[_0x1aeaf5(0x3ab)][_0x1aeaf5(0x227)](this[_0x1aeaf5(0x24a)],_0x3ccc82))==null?void 0x0:_0x415cf2[_0x1aeaf5(0x1ce)])!=null?_0x1743d0:_0x1aeaf5(0x3b1),'range':this['_getMergeRange'](_0x372cd0,_0xf491c6),'sheetID':_0x372cd0,'color':this['_colorAssignService'][_0x1aeaf5(0x28f)](_0x3ccc82),'selection':_0x529033},_0x3d4695=this[_0x1aeaf5(0x2a1)];_0x3d4695[_0x1aeaf5(0x305)](_0x3ccc82,_0xc826b0),this[_0x1aeaf5(0x3a6)]['next'](_0x3d4695);}[_0xcffedf(0x211)](_0x1a7f79){const _0x243612=_0xcffedf,{memberID:_0x1b7eef}=_0x1a7f79['data'],_0x5e2a14=this[_0x243612(0x2a1)];_0x5e2a14['delete'](_0x1b7eef),this[_0x243612(0x3a6)][_0x243612(0x1fe)](_0x5e2a14);}['_getMergeRange'](_0x4e8545,_0xb2050){const _0x1d441b=_0xcffedf;var _0x3631d2,_0x5550af;const _0x362191=(_0x5550af=(_0x3631d2=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x1d441b(0x24a)]))==null?void 0x0:_0x3631d2[_0x1d441b(0x2a2)](_0x4e8545))==null?void 0x0:_0x5550af['getMergeData']();return(_0x362191==null?void 0x0:_0x362191[_0x1d441b(0x376)](_0x4c804e=>_0x221a3e[_0x1d441b(0x208)](_0x4c804e,_0xb2050)))||_0xb2050;}[_0xcffedf(0x215)](){const _0x3a315c=_0xcffedf,_0x9197d6=new _0x20ab04(),_0x330cd1=pi(),_0x379ed5=()=>{const _0x1bb8a1=_0x12c7;_0x9197d6[_0x1bb8a1(0x334)]();const _0x1123ae=(_0x413c7d,_0x54fc6e,_0x1325d3,_0x586e01)=>{const _0x5a367e=_0x1bb8a1;let _0x5210bf=[];switch(_0x413c7d['id']){case _0x1c31c2['DeleteRangeMoveLeftCommandId']:{_0x5210bf=_0x3f28df(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x378)]:{_0x5210bf=_0x15f4e1(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ff)]:{_0x5210bf=_0x20383d(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x306)]:{_0x5210bf=_0x54e3e6(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x251)]:{_0x5210bf=_0x5d275b(_0x413c7d,_0x586e01);break;}case _0x1c31c2['InsertRowCommandId']:{_0x5210bf=_0x234468(_0x413c7d,_0x586e01);break;}case _0x1c31c2['MoveRangeCommandId']:{_0x5210bf=_0x440022(_0x413c7d,_0x586e01);break;}case _0x1c31c2['RemoveColCommandId']:{_0x5210bf=_0x50cdbc(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ef)]:{_0x5210bf=_0x27e686(_0x413c7d,_0x586e01);break;}}const _0x2828eb=_0x7775e0(_0x5210bf,_0x586e01),_0x1f68f8=this[_0x5a367e(0x2a1)][_0x5a367e(0x21b)](_0x54fc6e);if(_0x1f68f8&&_0x2828eb){const _0x37ab7b={..._0x1f68f8,'range':_0x2828eb};this[_0x5a367e(0x2a1)][_0x5a367e(0x305)](_0x54fc6e,_0x37ab7b),_0x330cd1(()=>{const _0x51b9c2=_0x5a367e,_0x5c881a=this[_0x51b9c2(0x228)][_0x51b9c2(0x3b7)](_0x2828eb,_0x475878=>(_0x5c881a[_0x51b9c2(0x334)](),_0x1123ae(_0x475878,_0x54fc6e,_0x1325d3,_0x2828eb)));_0x9197d6[_0x51b9c2(0x247)](_0x5c881a);});}return{'redos':[],'undos':[]};};this[_0x1bb8a1(0x2a1)][_0x1bb8a1(0x343)]((_0x7762b1,_0x90a0ba)=>{const _0x48f64a=_0x1bb8a1,{range:_0x444ce3,sheetID:_0x1a2ddc}=_0x7762b1,_0x278d65=this[_0x48f64a(0x228)]['registerRefRange'](_0x444ce3,_0x340627=>(_0x278d65['dispose'](),_0x1123ae(_0x340627,_0x90a0ba,_0x1a2ddc,_0x444ce3)));_0x9197d6[_0x48f64a(0x247)](_0x278d65);});};this['disposeWithMe'](_0x331a4b(this[_0x3a315c(0x3a6)][_0x3a315c(0x1d9)](()=>{_0x379ed5();})));}[_0xcffedf(0x3c1)](){const _0xecedb=_0xcffedf;var _0x3408c1,_0x244827;if(this[_0xecedb(0x3ad)]=!0x0,((_0x3408c1=this[_0xecedb(0x2b0)]['getFocusedUnit']())==null?void 0x0:_0x3408c1[_0xecedb(0x2b3)]())!==this[_0xecedb(0x24a)])return;const _0x342050=(_0x244827=this['_injector'][_0xecedb(0x21b)](_0x336669)[_0xecedb(0x1c8)]())==null?void 0x0:_0x244827[0x0],_0x265722=this[_0xecedb(0x2b0)]['getCurrentUnitForType'](_0x303793['UNIVER_SHEET'])[_0xecedb(0x351)]();_0x342050&&_0x265722&&this[_0xecedb(0x2dd)](_0x265722['getSheetId'](),_0x342050);}[_0xcffedf(0x1e8)](){const _0x4c30bf=_0xcffedf;this[_0x4c30bf(0x3ad)]=!0x1;}};we=gi([x(0x2,_0x695648(_0xf56663)),x(0x3,_0x695648(He)),x(0x4,_0x695648(_0x2565e4)),x(0x5,_0x2eb697),x(0x6,_0x42a8e8),x(0x7,_0x695648(_0x2dd86c))],we);var Ci=Object[_0xcffedf(0x2d5)],bi=(_0x3c1b87,_0x4a159c,_0x1b243b,_0x571d15)=>{const _0x4a39f0=_0xcffedf;for(var _0x521784=_0x571d15>0x1?void 0x0:_0x571d15?Ci(_0x4a159c,_0x1b243b):_0x4a159c,_0x3d82c8=_0x3c1b87[_0x4a39f0(0x3bf)]-0x1,_0x19d1ec;_0x3d82c8>=0x0;_0x3d82c8--)(_0x19d1ec=_0x3c1b87[_0x3d82c8])&&(_0x521784=_0x19d1ec(_0x521784)||_0x521784);return _0x521784;},me=(_0x4f0051,_0x4f0687)=>(_0x3d927f,_0x40b19d)=>_0x4f0687(_0x3d927f,_0x40b19d,_0x4f0051);let H=class extends _0x338310{constructor(_0x4bb5a8,_0x3eabea,_0x51076e){const _0x63060=_0xcffedf;super(),h(this,_0x63060(0x2bc),new Map()),h(this,_0x63060(0x31f),new _0x4bb65e()),(this['_univerInstanceService']=_0x4bb5a8,this[_0x63060(0x1f6)]=_0x3eabea,this[_0x63060(0x2a4)]=_0x51076e,this[_0x63060(0x1d8)]());}['dispose'](){const _0x4a1970=_0xcffedf;super[_0x4a1970(0x334)](),this[_0x4a1970(0x31f)]['complete'](),this[_0x4a1970(0x2bc)][_0x4a1970(0x343)](_0x3194a5=>_0x3194a5[_0x4a1970(0x334)]());}[_0xcffedf(0x30d)](_0x3521aa){const _0x32ce02=_0xcffedf;return this[_0x32ce02(0x2bc)][_0x32ce02(0x234)](_0x3521aa)?this[_0x32ce02(0x2bc)][_0x32ce02(0x21b)](_0x3521aa)[_0x32ce02(0x32d)]:this[_0x32ce02(0x31f)][_0x32ce02(0x245)](_0x113b47(_0x1e15ed=>_0x1e15ed[_0x32ce02(0x24a)]===_0x3521aa),_0x41f1c9(_0x274db1=>_0x274db1[_0x32ce02(0x32d)]));}[_0xcffedf(0x1d8)](){const _0x330889=_0xcffedf;this[_0x330889(0x2b0)]['getTypeOfUnitAdded$'](_0x303793[_0x330889(0x248)])[_0x330889(0x245)](_0x57ae48(this[_0x330889(0x22d)]))['subscribe'](async _0x4c63bb=>{const _0x5d8983=_0x330889,_0x3ede1e=_0x4c63bb[_0x5d8983(0x2b3)](),_0xcfe41c=await this[_0x5d8983(0x1dc)](_0x3ede1e);this[_0x5d8983(0x31f)][_0x5d8983(0x1fe)](_0xcfe41c),this[_0x5d8983(0x2bc)][_0x5d8983(0x305)](_0x3ede1e,_0xcfe41c);}),this[_0x330889(0x2b0)][_0x330889(0x3be)](_0x303793[_0x330889(0x28b)])[_0x330889(0x245)](_0x57ae48(this['dispose$']))[_0x330889(0x245)](_0x113b47(_0x2be3b1=>!_0x2be3b1['getUnitId']()[_0x330889(0x1fc)]('__')))[_0x330889(0x1d9)](async _0x4de5de=>{const _0x23d122=_0x330889,_0x2bc31d=_0x4de5de[_0x23d122(0x2b3)](),_0x3f1a75=await this[_0x23d122(0x2c9)](_0x2bc31d);this['_entityInit$']['next'](_0x3f1a75),this['_entities'][_0x23d122(0x305)](_0x2bc31d,_0x3f1a75);}),_0x18c199(this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x28b)]),this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x248)]))['pipe'](_0x57ae48(this['dispose$']))[_0x330889(0x1d9)](_0x1af441=>{const _0x24f216=_0x330889,_0x427ded=_0x1af441['getUnitId'](),_0x33f77b=this[_0x24f216(0x2bc)]['get'](_0x427ded);_0x33f77b&&(_0x33f77b[_0x24f216(0x334)](),this[_0x24f216(0x2bc)][_0x24f216(0x319)](_0x427ded));});}async[_0xcffedf(0x1dc)](_0x655557){const _0x38d35b=_0xcffedf,_0x33044b=await this[_0x38d35b(0x2a4)][_0x38d35b(0x2af)](_0x655557),_0xd5930c=this[_0x38d35b(0x1f6)][_0x38d35b(0x2c2)](we,_0x655557,_0x33044b);return _0xd5930c[_0x38d35b(0x25f)](),_0xd5930c;}async[_0xcffedf(0x2c9)](_0x4c583f){const _0xd4b4db=_0xcffedf,_0x2dbbbd=await this['_collabSessionService'][_0xd4b4db(0x2af)](_0x4c583f),_0x4fee77=this[_0xd4b4db(0x1f6)][_0xd4b4db(0x2c2)](Me,_0x4c583f,_0x2dbbbd);return _0x4fee77['init'](),_0x4fee77;}};H=bi([me(0x0,_0x2eb697),me(0x1,_0x695648(_0xf56663)),me(0x2,_0x695648(_0x5f16f8))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x240684,_0x41a050){const _0x3121c5=_0xcffedf;let {radius:_0x509eba,width:_0x109cb9,height:_0x49f5ff}=_0x41a050;_0x509eba=_0x509eba!=null?_0x509eba:0x0,_0x109cb9=_0x109cb9!=null?_0x109cb9:0x1e,_0x49f5ff=_0x49f5ff!=null?_0x49f5ff:0x1e;let _0x5a1a57=0x0,_0x1af3f9=0x0,_0x149b5f=0x0;_0x5a1a57=_0x1af3f9=_0x149b5f=Math[_0x3121c5(0x20c)](_0x509eba,_0x109cb9/0x2,_0x49f5ff/0x2),_0x240684[_0x3121c5(0x344)](),_0x240684['moveTo'](_0x5a1a57,0x0),_0x240684['lineTo'](_0x109cb9-_0x1af3f9,0x0),_0x240684['arc'](_0x109cb9-_0x1af3f9,_0x1af3f9,_0x1af3f9,Math['PI']*0x3/0x2,0x0,!0x1),_0x240684[_0x3121c5(0x27b)](_0x109cb9,_0x49f5ff-_0x149b5f),_0x240684['arc'](_0x109cb9-_0x149b5f,_0x49f5ff-_0x149b5f,_0x149b5f,0x0,Math['PI']/0x2,!0x1),_0x240684['lineTo'](0x0,_0x49f5ff),_0x240684[_0x3121c5(0x27b)](0x0,_0x5a1a57),_0x240684[_0x3121c5(0x2b2)](_0x5a1a57,_0x5a1a57,_0x5a1a57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x240684['closePath'](),_0x41a050[_0x3121c5(0x1e0)]&&(_0x240684[_0x3121c5(0x38c)](),_0x240684[_0x3121c5(0x37c)]=_0x41a050[_0x3121c5(0x1e0)],_0x41a050[_0x3121c5(0x232)]===_0x3121c5(0x272)?_0x240684[_0x3121c5(0x1e0)](_0x3121c5(0x272)):_0x240684[_0x3121c5(0x1e0)](),_0x240684[_0x3121c5(0x2cf)]());}class ue extends _0x3c2d29{constructor(_0x39db34,_0x5c89c2){const _0x5947c6=_0xcffedf;super(_0x39db34,_0x5c89c2),h(this,_0x5947c6(0x280)),h(this,_0x5947c6(0x1f7)),(this['color']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x280)],this['text']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x1f7)]);}static[_0xcffedf(0x1e3)](_0x47fbd7,_0x5bedcb){const _0x5676e9=_0xcffedf,{text:_0x23395d,color:_0x41a975}=_0x5bedcb;_0x47fbd7[_0x5676e9(0x38c)](),_0x47fbd7[_0x5676e9(0x367)]=_0x5676e9(0x34a);const _0x3745c3=_0x47fbd7[_0x5676e9(0x1d4)](_0x23395d)[_0x5676e9(0x22b)],_0x2b36ce=Math['min'](_0x3745c3+0x2*ge,et);Oi(_0x47fbd7,{'height':te,'radius':0x4,'width':_0x2b36ce,'fill':_0x41a975}),_0x47fbd7[_0x5676e9(0x37c)]=_0x5676e9(0x24e);const _0x25cf9e=ge,_0x148c4a=te-Ei,_0xc9c9c=et-0x2*ge;if(_0x3745c3>_0xc9c9c){let _0x5f0343='',_0xd88f2c=0x0;for(const _0x3d8abc of _0x23395d){const _0x14887c=_0x47fbd7[_0x5676e9(0x1d4)](_0x3d8abc)['width'];if(_0xd88f2c+_0x14887c<=_0xc9c9c-_0x47fbd7[_0x5676e9(0x1d4)](_0x5676e9(0x30c))[_0x5676e9(0x22b)])_0x5f0343+=_0x3d8abc,_0xd88f2c+=_0x14887c;else{_0x5f0343+=_0x5676e9(0x30c);break;}}_0x47fbd7[_0x5676e9(0x384)](_0x5f0343,_0x25cf9e,_0x148c4a);}else _0x47fbd7['fillText'](_0x23395d,_0x25cf9e,_0x148c4a);_0x47fbd7[_0x5676e9(0x2cf)]();}[_0xcffedf(0x38b)](_0x3b45a2){const _0x156972=_0xcffedf;ue[_0x156972(0x1e3)](_0x3b45a2,this);}}const ve=_0xcffedf(0x203),Ti='collab-text-range-',Ri='collab-rect-range-',X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi=_0xcffedf(0x1da);class tt{constructor(_0x299879,_0x204d11,_0x22864f,_0x2caf6e){const _0x1d1fdb=_0xcffedf;h(this,_0x1d1fdb(0x371),[]),h(this,_0x1d1fdb(0x3c0),null),h(this,_0x1d1fdb(0x23c),null),h(this,_0x1d1fdb(0x3bc),null),h(this,_0x1d1fdb(0x356),null),h(this,_0x1d1fdb(0x1cd),null),(this[_0x1d1fdb(0x2b4)]=_0x299879,this[_0x1d1fdb(0x2e9)]=_0x204d11,this[_0x1d1fdb(0x2c0)]=_0x22864f,this['_document']=_0x2caf6e,this[_0x1d1fdb(0x286)]());}set[_0xcffedf(0x327)](_0x431e2b){const _0x1ba479=_0xcffedf;_0x431e2b?(this[_0x1ba479(0x3bc)]&&this['_anchorDot'][_0x1ba479(0x359)](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x315)]()):(this[_0x1ba479(0x3bc)]&&this[_0x1ba479(0x3bc)]['show'](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x359)]());}[_0xcffedf(0x334)](){const _0xe20b72=_0xcffedf;for(const _0x7bd22a of this['_shapes'])_0x7bd22a[_0xe20b72(0x334)]();this[_0xe20b72(0x23c)]&&this['_textBubble'][_0xe20b72(0x334)](),this[_0xe20b72(0x3bc)]&&this[_0xe20b72(0x3bc)][_0xe20b72(0x334)](),this[_0xe20b72(0x3c0)]&&this[_0xe20b72(0x3c0)][_0xe20b72(0x334)](),this[_0xe20b72(0x1cd)]&&this['_eventUnsubscribe']();}[_0xcffedf(0x286)](){const _0x3eb262=_0xcffedf;var _0x1d72e3;const {_docSkeleton:_0x229a71,_document:_0x5d39a}=this,{color:_0x4e6328,name:_0x63a733,ranges:_0x1aa17c}=this['_cursor'],_0x4b340b=_0x5d39a[_0x3eb262(0x20d)](),{docsLeft:_0x46a51e,docsTop:_0x4a1337}=_0x4b340b,_0xf8bad8=new _0x1399c2(_0x4b340b,_0x229a71);for(const {startOffset:_0x3eb0a7,endOffset:_0x54a7df,rangeType:_0x21e33c,segmentId:_0x58f4f8,segmentPage:_0x56dcd6,collapsed:_0x525fb2,isActive:_0x1b5ae5}of _0x1aa17c){const _0x79e995=_0x229a71['findNodePositionByCharIndex'](_0x3eb0a7,!0x0,_0x58f4f8,_0x56dcd6);let _0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df,!0x0,_0x58f4f8,_0x56dcd6);if(_0x3e5d5e==null&&(_0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df-0x1,!0x1,_0x58f4f8,_0x56dcd6)),_0x1b5ae5){const {contentBoxPointGroup:_0x314988}=_0xf8bad8[_0x3eb262(0x381)](_0x3e5d5e,_0x3e5d5e);if(_0x314988[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x339)](_0x4e6328,_0x314988,_0x46a51e,_0x4a1337,_0x63a733),this[_0x3eb262(0x1cd)]=this[_0x3eb262(0x314)]();}if(_0x79e995&&_0x3e5d5e){if(_0x21e33c===_0x4fe6e8[_0x3eb262(0x313)]){const _0x3899c4=new _0x9071bc(_0x4b340b,_0x229a71),{pointGroup:_0x4ccab7}=(_0x1d72e3=_0x3899c4['getRangePointData'](_0x79e995,_0x3e5d5e))!=null?_0x1d72e3:{};if(_0x4ccab7==null||_0x4ccab7[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x31d)](_0x4e6328,_0x4ccab7,_0x46a51e,_0x4a1337);}else{if(!_0x525fb2){const {borderBoxPointGroup:_0x1fdcba}=_0xf8bad8[_0x3eb262(0x381)](_0x79e995,_0x3e5d5e);if(_0x1fdcba['length']===0x0)continue;this[_0x3eb262(0x350)](_0x4e6328,_0x1fdcba,_0x46a51e,_0x4a1337);}}}}}[_0xcffedf(0x339)](_0x72d819,_0x99083e,_0x376ea3,_0x10e650,_0x4bfd9f){const _0x1637d5=_0xcffedf,_0xdb8a41=this[_0x1637d5(0x308)](_0x99083e),{left:_0x3a9ab2,top:_0x14c8b6,height:_0x4ea9b7}=_0xdb8a41,_0x830688=this[_0x1637d5(0x1f0)](),_0x2e0611=Ni/_0x830688,_0x5c3dff=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650,'height':_0x4ea9b7,'width':Di,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':_0x2e0611,'stroke':Pi,'evented':!0x0});this[_0x1637d5(0x3c0)]=_0x5c3dff,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x5c3dff,_0x28b64b);const _0x32a783=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':0x0,'stroke':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'evented':!0x1});this[_0x1637d5(0x3bc)]=_0x32a783,this[_0x1637d5(0x2e9)]['addObject'](_0x32a783,_0x28b64b);const _0x61f4c0=new ue(ve+_0x5a8d3d['generateRandomId'](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-te,'text':_0x4bfd9f,'color':_0x72d819});this[_0x1637d5(0x23c)]=_0x61f4c0,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x61f4c0,_0x28b64b),this[_0x1637d5(0x327)]=!0x1;}[_0xcffedf(0x314)](){const _0x4779b4=_0xcffedf,_0x2e3756=this['_anchor'][_0x4779b4(0x341)][_0x4779b4(0x237)](()=>{const _0x3d118c=_0x4779b4;this[_0x3d118c(0x327)]=!0x0;}),_0x5af0b3=this['_anchor']['onPointerLeave$'][_0x4779b4(0x237)](()=>{const _0xf56e2f=_0x4779b4;this[_0xf56e2f(0x356)]&&clearTimeout(this[_0xf56e2f(0x356)]),this['_hideTimer']=setTimeout(()=>{const _0xf8afef=_0xf56e2f;this[_0xf8afef(0x327)]=!0x1;},0x7d0);});return()=>{const _0x9623b2=_0x4779b4;_0x2e3756[_0x9623b2(0x3a5)](),_0x5af0b3['unsubscribe']();};}[_0xcffedf(0x350)](_0x2e9fbe,_0x184a24,_0x3a49f5,_0x6f0d8){const _0x124318=_0xcffedf,_0x449a36=new _0x4aabd4(_0x2e9fbe)[_0x124318(0x253)](0.2)[_0x124318(0x212)](),_0x32ddc3=new _0x23da66(Ti+_0x5a8d3d[_0x124318(0x250)](X),{'pointsGroup':_0x184a24,'fill':_0x449a36||_0xb3434b(_0x37065d[_0x124318(0x23b)],0.2),'left':_0x3a49f5,'top':_0x6f0d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x124318(0x371)]['push'](_0x32ddc3),this['_scene'][_0x124318(0x2c6)](_0x32ddc3,_0x28b64b);}[_0xcffedf(0x31d)](_0x24cbeb,_0x2fdee2,_0x2ee0c1,_0x3c5866){const _0x50a60d=_0xcffedf,_0x2524f3=new _0x4aabd4(_0x24cbeb)[_0x50a60d(0x253)](0.2)['toRgbString'](),_0x1f0c77=new _0x23da66(Ri+_0x5a8d3d[_0x50a60d(0x250)](X),{'pointsGroup':_0x2fdee2,'fill':_0x2524f3||_0xb3434b(_0x37065d[_0x50a60d(0x23b)],0.2),'left':_0x2ee0c1,'top':_0x3c5866,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x50a60d(0x230)](_0x1f0c77),this['_scene'][_0x50a60d(0x2c6)](_0x1f0c77,_0x28b64b);}[_0xcffedf(0x308)](_0x193a63){const _0x1e42e9=_0x193a63[0x0],_0x2661c1=_0x1e42e9[0x0],_0x3124e0=_0x1e42e9[0x2],{x:_0x168249,y:_0x49172f}=_0x2661c1,{x:_0x400cc5,y:_0x10922a}=_0x3124e0;return{'left':_0x168249,'top':_0x49172f,'width':_0x400cc5-_0x168249,'height':_0x10922a-_0x49172f};}[_0xcffedf(0x1f0)](){const _0x58a279=_0xcffedf,{scaleX:_0x322e8c,scaleY:_0x3d2583}=this['_scene'][_0x58a279(0x2e4)]();return Math[_0x58a279(0x1c6)](_0x322e8c,_0x3d2583);}}var Mi=Object[_0xcffedf(0x2d5)],wi=(_0x37766d,_0x34b08f,_0x1c5416,_0x25ea18)=>{const _0x4afba2=_0xcffedf;for(var _0x52a02c=_0x25ea18>0x1?void 0x0:_0x25ea18?Mi(_0x34b08f,_0x1c5416):_0x34b08f,_0x1f9858=_0x37766d[_0x4afba2(0x3bf)]-0x1,_0x2cc7e7;_0x1f9858>=0x0;_0x1f9858--)(_0x2cc7e7=_0x37766d[_0x1f9858])&&(_0x52a02c=_0x2cc7e7(_0x52a02c)||_0x52a02c);return _0x52a02c;},Q=(_0x4b2482,_0x11c129)=>(_0x2bbddb,_0x4074cf)=>_0x11c129(_0x2bbddb,_0x4074cf,_0x4b2482);let Ue=class extends _0x338310{constructor(_0x28e14b,_0xd2a115,_0x4b0923,_0x1903aa,_0x81a0d){const _0x46e2a8=_0xcffedf;super(),h(this,_0x46e2a8(0x2bd),[]),h(this,'_cursors',[]),(this[_0x46e2a8(0x352)]=_0x28e14b,this[_0x46e2a8(0x317)]=_0xd2a115,this[_0x46e2a8(0x2a8)]=_0x4b0923,this[_0x46e2a8(0x3a1)]=_0x1903aa,this[_0x46e2a8(0x20b)]=_0x81a0d,this[_0x46e2a8(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x1f1f71=_0xcffedf,_0x1808d6=this[_0x1f1f71(0x352)][_0x1f1f71(0x3a4)],_0x36b126=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1f100e([this[_0x1f1f71(0x2a8)][_0x1f1f71(0x30d)](_0x1808d6),this[_0x1f1f71(0x20b)][_0x1f1f71(0x2d0)]])['pipe'](_0x3fb663(([_0x1f1bd8,_0xd11409])=>({'skeleton':_0x36b126[_0x1f1f71(0x349)](),'cursors':[..._0x1f1bd8['values']()][_0x1f1f71(0x274)](_0x213dfb=>({..._0x213dfb,'color':_0xd11409[_0x213dfb[_0x1f1f71(0x280)]]}))})))[_0x1f1f71(0x1d9)](_0x2c0048=>{const _0x54ec10=_0x1f1f71;if(this['_removeCollabCursors'](),_0x2c0048){const {skeleton:_0x400553,cursors:_0x2f28d5}=_0x2c0048;this[_0x54ec10(0x368)](_0x400553,_0x2f28d5);}})),this[_0x1f1f71(0x257)](),this[_0x1f1f71(0x333)]();}[_0xcffedf(0x368)](_0x56a6f2,_0x40a8a6){const _0x106f8f=_0xcffedf,{scene:_0x30a5bf,mainComponent:_0x152eb8}=this['_context'],_0x405568=_0x40a8a6[_0x106f8f(0x202)](_0x5790e4=>new tt(_0x5790e4,_0x30a5bf,_0x56a6f2,_0x152eb8));this[_0x106f8f(0x2bd)]=_0x405568,this[_0x106f8f(0x387)]=_0x40a8a6;}[_0xcffedf(0x220)](){const _0x1ebdd7=_0xcffedf;this[_0x1ebdd7(0x1e6)]();const {scene:_0x24e3d3,mainComponent:_0x11dd5d}=this[_0x1ebdd7(0x352)],_0x5c4bac=this[_0x1ebdd7(0x317)][_0x1ebdd7(0x349)](),_0x4ed045=this[_0x1ebdd7(0x387)][_0x1ebdd7(0x202)](_0x26da31=>new tt(_0x26da31,_0x24e3d3,_0x5c4bac,_0x11dd5d));this[_0x1ebdd7(0x2bd)]=_0x4ed045;}['_removeCollabCursors'](){const _0x51f27c=_0xcffedf;this[_0x51f27c(0x2bd)][_0x51f27c(0x343)](_0x2c0f9d=>_0x2c0f9d['dispose']()),this[_0x51f27c(0x2bd)]=[];}[_0xcffedf(0x333)](){const _0x5f0cf0=_0xcffedf,_0x155923=[_0x49f093['id']];this[_0x5f0cf0(0x219)](this[_0x5f0cf0(0x3a1)][_0x5f0cf0(0x1fd)](_0x140155=>{const _0x268cae=_0x5f0cf0;_0x155923['includes'](_0x140155['id'])&&_0x140155[_0x268cae(0x29c)][_0x268cae(0x3a4)]===this[_0x268cae(0x352)][_0x268cae(0x3a4)]&&this[_0x268cae(0x220)]();}));}[_0xcffedf(0x257)](){const _0x23225f=_0xcffedf;this[_0x23225f(0x219)](_0x164d9e(this[_0x23225f(0x352)][_0x23225f(0x31c)][_0x23225f(0x3a9)])[_0x23225f(0x245)](_0x2b5352(_0x40653a=>_0x40653a['type']===_0x1bb768[_0x23225f(0x32a)]),_0x5a984a(0x10))['subscribe'](()=>{const _0x21c6c0=_0x23225f;this[_0x21c6c0(0x220)]();}));}};Ue=wi([Q(0x1,_0x695648(_0x1a9a71)),Q(0x2,_0x695648(H)),Q(0x3,_0x42a8e8),Q(0x4,_0x695648(_0x354126))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x3c2d29{constructor(_0x4cd038,_0x2d2e50){const _0x6adf6d=_0xcffedf;super(_0x4cd038,_0x2d2e50),h(this,_0x6adf6d(0x2c3)),h(this,_0x6adf6d(0x1ea),!0x1),h(this,_0x6adf6d(0x34b)),h(this,_0x6adf6d(0x38d),''),h(this,_0x6adf6d(0x3c4),_0x6adf6d(0x3a0)),h(this,_0x6adf6d(0x25a)),(_0x2d2e50&&this['setShapeProps'](_0x2d2e50),this[_0x6adf6d(0x341)][_0x6adf6d(0x237)](()=>this[_0x6adf6d(0x1e4)]({'hovered':!0x0})),this[_0x6adf6d(0x29d)][_0x6adf6d(0x237)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xcffedf(0x1e4)](_0x4ba4aa){const _0xb236ce=_0xcffedf;var _0x598293,_0x3c8fca,_0xdc66a0,_0x186c2d,_0x10f467,_0x351634;this[_0xb236ce(0x2c3)]=(_0x598293=_0x4ba4aa['color'])!=null?_0x598293:this[_0xb236ce(0x2c3)],this[_0xb236ce(0x1ea)]=(_0x3c8fca=_0x4ba4aa[_0xb236ce(0x35a)])!=null?_0x3c8fca:this[_0xb236ce(0x1ea)],this[_0xb236ce(0x34b)]=(_0xdc66a0=_0x4ba4aa[_0xb236ce(0x30a)])!=null?_0xdc66a0:this[_0xb236ce(0x34b)],this[_0xb236ce(0x38d)]=(_0x186c2d=_0x4ba4aa['name'])!=null?_0x186c2d:this[_0xb236ce(0x38d)],this[_0xb236ce(0x3c4)]=(_0x10f467=_0x4ba4aa[_0xb236ce(0x325)])!=null?_0x10f467:this[_0xb236ce(0x3c4)],this['_backgroundColor']=(_0x351634=_0x4ba4aa[_0xb236ce(0x1ef)])!=null?_0x351634:this[_0xb236ce(0x25a)],this[_0xb236ce(0x3b8)]({'width':_0x4ba4aa[_0xb236ce(0x22b)],'height':_0x4ba4aa['height']});}[_0xcffedf(0x2f7)](_0x1c8a38){const _0x500a44=_0xcffedf,{row:_0x1b7a10,column:_0x30c583}=_0x1c8a38;if(_0x1b7a10>=this[_0x500a44(0x34b)][_0x500a44(0x2ad)]&&_0x1b7a10<=this[_0x500a44(0x34b)]['endRow']&&_0x30c583>=this[_0x500a44(0x34b)][_0x500a44(0x23d)]&&_0x30c583<=this[_0x500a44(0x34b)][_0x500a44(0x273)]){this[_0x500a44(0x1e4)]({'hovered':!0x0});return;}this[_0x500a44(0x1e4)]({'hovered':!0x1});}[_0xcffedf(0x25b)](_0x5a30fe){return!0x1;}[_0xcffedf(0x38b)](_0x5c459f){const _0x1aff33=_0xcffedf;_0x56d092[_0x1aff33(0x1e3)](_0x5c459f,{'width':this[_0x1aff33(0x22b)],'height':this[_0x1aff33(0x2ab)],'strokeWidth':Li,'stroke':this[_0x1aff33(0x2c3)],'evented':!0x1,'fill':this[_0x1aff33(0x25a)]}),this[_0x1aff33(0x1ea)]&&(_0x5c459f[_0x1aff33(0x38c)](),_0x5c459f[_0x1aff33(0x242)](0x1,0x0,0x0,0x1,this[_0x1aff33(0x22b)],this[_0x1aff33(0x3c4)]===_0x1aff33(0x26d)?0x0:-0x14),ue[_0x1aff33(0x1e3)](_0x5c459f,{'text':this[_0x1aff33(0x38d)],'color':this[_0x1aff33(0x2c3)]}),_0x5c459f[_0x1aff33(0x2cf)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x37174b,_0x3e8456,_0x30d2d,_0x680a79)=>{const _0x59690a=_0xcffedf;for(var _0x511775=_0x680a79>0x1?void 0x0:_0x680a79?yi(_0x3e8456,_0x30d2d):_0x3e8456,_0x3f6a61=_0x37174b[_0x59690a(0x3bf)]-0x1,_0x6570fd;_0x3f6a61>=0x0;_0x3f6a61--)(_0x6570fd=_0x37174b[_0x3f6a61])&&(_0x511775=_0x6570fd(_0x511775)||_0x511775);return _0x511775;},pe=(_0x1a2772,_0x413feb)=>(_0x4de59e,_0x40d855)=>_0x413feb(_0x4de59e,_0x40d855,_0x1a2772);const xi=0x1389;let Le=class extends _0x338310{constructor(_0x56155c,_0x460d71,_0x46ffc1,_0x4fe0ca){const _0x2bdd56=_0xcffedf;super(),h(this,_0x2bdd56(0x387),new Set()),h(this,'_lastPointer',null),(this[_0x2bdd56(0x352)]=_0x56155c,this[_0x2bdd56(0x37a)]=_0x460d71,this[_0x2bdd56(0x2a8)]=_0x46ffc1,this['_themeService']=_0x4fe0ca,this[_0x2bdd56(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x3ba0fe=_0xcffedf;this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x245)](_0x476ec8(this[_0x3ba0fe(0x22d)]),_0x58ce36(_0x8f269b=>{const _0x4dbe2e=_0x3ba0fe;if(_0x8f269b){const _0x361682=_0x8f269b[_0x4dbe2e(0x318)];return _0x1f100e(this['_collabCursorController'][_0x4dbe2e(0x30d)](this[_0x4dbe2e(0x352)]['unitId']),this[_0x4dbe2e(0x20b)][_0x4dbe2e(0x2d0)])[_0x4dbe2e(0x245)](_0x3fb663(([_0x4e9ee0,_0x4fb27e])=>{const _0x3a8885=_0x4dbe2e,_0xca5a16=new Map();return _0x4e9ee0[_0x3a8885(0x343)]((_0x18ba2b,_0x4d0fc4)=>{const _0x29ef14=_0x3a8885;if(_0x18ba2b[_0x29ef14(0x2d2)]===_0x361682){const _0x253481={..._0x18ba2b};_0x253481['color']=_0x4fb27e[_0x18ba2b[_0x29ef14(0x280)]],_0xca5a16[_0x29ef14(0x305)](_0x4d0fc4,_0x253481);}}),{'skeleton':_0x8f269b,'cursors':_0xca5a16};}));}return _0x1ed1a0({'skeleton':null,'cursors':new Map()});}))[_0x3ba0fe(0x1d9)](({skeleton:_0x465701,cursors:_0x1ba52a})=>{const _0x20bdc4=_0x3ba0fe;this['_removeCollabCursors'](),_0x465701&&this[_0x20bdc4(0x368)](_0x465701,_0x1ba52a);}),this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x1d9)](_0x48bd4f=>{const _0x54f334=_0x3ba0fe;if(_0x48bd4f==null)return;const {skeleton:_0x116acc}=_0x48bd4f,{scene:_0x5db2a5}=this[_0x54f334(0x352)];_0x5db2a5['onPointerMove$'][_0x54f334(0x237)](_0x1dac78(_0x362215=>{const _0x31660e=_0x54f334;var _0x42731e,_0x5d401f;const {offsetX:_0x333ef1,offsetY:_0x2606cd}=_0x362215,{x:_0x5da763,y:_0x1f94f7}=_0x5db2a5[_0x31660e(0x276)](_0x286b83[_0x31660e(0x1f2)]([_0x333ef1,_0x2606cd])),{scaleX:_0x4ce6d3,scaleY:_0xadfee}=_0x5db2a5[_0x31660e(0x2e4)](),_0x7d1c17=_0x5db2a5[_0x31660e(0x1d3)](_0x2f411e['VIEW_MAIN']),_0x2e4134=_0x5db2a5[_0x31660e(0x287)](_0x286b83[_0x31660e(0x1f2)]([_0x5da763,_0x1f94f7]),_0x7d1c17),_0x5d8b0f=_0x116acc[_0x31660e(0x36e)](_0x333ef1,_0x2606cd,_0x4ce6d3,_0xadfee,_0x2e4134);((_0x42731e=this['_lastPointer'])==null?void 0x0:_0x42731e['column'])===_0x5d8b0f[_0x31660e(0x353)]&&((_0x5d401f=this[_0x31660e(0x1cc)])==null?void 0x0:_0x5d401f[_0x31660e(0x264)])===_0x5d8b0f[_0x31660e(0x264)]||this[_0x31660e(0x387)]['forEach'](_0x33dce0=>{const _0x51c03d=_0x31660e;_0x33dce0[_0x51c03d(0x2f7)](_0x5d8b0f);});},0x64));});}['_updateCollabCursors'](_0x383164,_0x11c08c){const _0x5de133=_0xcffedf;var _0x44c75e;const _0x13c577=(_0x44c75e=this['_sheetSkeletonManagerService'][_0x5de133(0x29e)]())==null?void 0x0:_0x44c75e[_0x5de133(0x2ae)];if(!_0x13c577)return;const _0x29488b=this[_0x5de133(0x3a7)]();if(!_0x29488b)return;this[_0x5de133(0x387)][_0x5de133(0x343)](_0x4f222a=>{const _0x325f47=_0x5de133;_0x4f222a[_0x325f47(0x1dd)]();});const {scene:_0x223ebf}=_0x29488b,_0x44968d=ki(Array[_0x5de133(0x21d)](_0x11c08c['values']()))[_0x5de133(0x202)](_0xe480cd=>{const _0x3fbac1=_0x5de133,{color:_0x3cb260,range:_0x16c573,name:_0x4672b,selection:_0x55995f,sheetID:_0xe85af6}=_0xe480cd,{startColumn:_0x2ed94e,startRow:_0x5093af,endColumn:_0x52bc09,endRow:_0x440cc9}=_0x16c573,_0x2260b0=_0x5bfc73(_0x5093af,_0x2ed94e,_0x223ebf,_0x13c577),_0x2b659a=_0x5bfc73(_0x440cc9,_0x52bc09,_0x223ebf,_0x13c577),{columnHeaderHeightAndMarginTop:_0x17e898}=_0x13c577,{startX:_0x4ff54c,startY:_0x1267bc}=_0x2260b0,{endX:_0x5910a3,endY:_0x56ac2b}=_0x2b659a,_0x3ccdae=_0x5910a3-_0x4ff54c,_0x16c933=_0x56ac2b-_0x1267bc,_0x39a969={'labelPosition':_0x1267bc-_0x17e898>=te?_0x3fbac1(0x3a0):'bottom','sheetID':_0xe85af6,'range':_0x16c573,'color':_0x3cb260,'name':_0x4672b,'selection':_0x55995f,'left':_0x4ff54c,'top':_0x1267bc,'width':_0x3ccdae,'height':_0x16c933,'evented':!0x1,'zIndex':xi};return new Ai(_0x4672b,_0x39a969);});_0x223ebf[_0x5de133(0x322)](_0x44968d,Ui),this['_cursors']=new Set(_0x44968d);}[_0xcffedf(0x1e6)](){const _0x4c9c8d=_0xcffedf;var _0x555799;(_0x555799=this['_cursors'])==null||_0x555799[_0x4c9c8d(0x343)](_0x4de8a1=>_0x4de8a1[_0x4c9c8d(0x334)]());}[_0xcffedf(0x3a7)](){return _0x50a38e(this['_context']['unit'],this['_context']);}};Le=$i([pe(0x1,_0x695648(_0x3d0cf7)),pe(0x2,_0x695648(H)),pe(0x3,_0x695648(_0x354126))],Le);function ki(_0x69bae1){const _0x2aae10=_0xcffedf,_0x97d539=new Map();return _0x69bae1[_0x2aae10(0x343)](_0xcb8980=>{const _0x3640a4=_0x2aae10;if(_0x97d539[_0x3640a4(0x234)](_0xcb8980[_0x3640a4(0x289)])){const _0x167026=_0x97d539['get'](_0xcb8980[_0x3640a4(0x289)]);_0x167026['name']+=',\x20'+_0xcb8980[_0x3640a4(0x1ce)];}else _0x97d539[_0x3640a4(0x305)](_0xcb8980['selection'],_0xcb8980);}),Array['from'](_0x97d539[_0x2aae10(0x2c1)]());}var I=function(){const _0x27af90=_0xcffedf;return I=Object[_0x27af90(0x37f)]||function(_0x20b78e){const _0x43a3e2=_0x27af90;for(var _0x3f6332,_0x4bf667=0x1,_0x534e77=arguments['length'];_0x4bf667<_0x534e77;_0x4bf667++){_0x3f6332=arguments[_0x4bf667];for(var _0x379f1f in _0x3f6332)Object['prototype'][_0x43a3e2(0x2de)]['call'](_0x3f6332,_0x379f1f)&&(_0x20b78e[_0x379f1f]=_0x3f6332[_0x379f1f]);}return _0x20b78e;},I[_0x27af90(0x27e)](this,arguments);},Bi=function(_0x21ad00,_0x2b0ca2){const _0x5df179=_0xcffedf;var _0x392cb5={};for(var _0x5c99a0 in _0x21ad00)Object[_0x5df179(0x37b)][_0x5df179(0x2de)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0)&&_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0)<0x0&&(_0x392cb5[_0x5c99a0]=_0x21ad00[_0x5c99a0]);if(_0x21ad00!=null&&typeof Object[_0x5df179(0x302)]==_0x5df179(0x1d1)){for(var _0x15a356=0x0,_0x5c99a0=Object[_0x5df179(0x302)](_0x21ad00);_0x15a356<_0x5c99a0[_0x5df179(0x3bf)];_0x15a356++)_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0[_0x15a356])<0x0&&Object[_0x5df179(0x37b)][_0x5df179(0x31b)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0[_0x15a356])&&(_0x392cb5[_0x5c99a0[_0x15a356]]=_0x21ad00[_0x5c99a0[_0x15a356]]);}return _0x392cb5;},We=_0x2f8f96(function(_0xffad3d,_0x1f979e){const _0x3ee97f=_0xcffedf;var _0x481921=_0xffad3d[_0x3ee97f(0x35f)],_0x19b778=_0xffad3d['id'],_0xa0bc3e=_0xffad3d[_0x3ee97f(0x347)],_0x20ca58=_0xffad3d[_0x3ee97f(0x1f4)],_0x3cca26=Bi(_0xffad3d,[_0x3ee97f(0x35f),'id',_0x3ee97f(0x347),_0x3ee97f(0x1f4)]),_0x4d1071=_0x3ee97f(0x2f9)[_0x3ee97f(0x2e6)](_0x19b778,'\x20')[_0x3ee97f(0x2e6)](_0xa0bc3e||'')[_0x3ee97f(0x346)](),_0x117458=_0x592de7('_'[_0x3ee97f(0x2e6)](Wi()));return Nt(_0x481921,''[_0x3ee97f(0x2e6)](_0x19b778),{'defIds':_0x481921[_0x3ee97f(0x235)],'idSuffix':_0x117458[_0x3ee97f(0x2e7)]},I({'ref':_0x1f979e,'className':_0x4d1071},_0x3cca26),_0x20ca58);});function Nt(_0x3e25c3,_0x59318c,_0x503ab5,_0x5483c7,_0x2d00c3){const _0xee48cb=_0xcffedf;return _0x35062d(_0x3e25c3[_0xee48cb(0x1ca)],I(I({'key':_0x59318c},Hi(_0x3e25c3,_0x503ab5,_0x2d00c3)),_0x5483c7),(ji(_0x3e25c3,_0x503ab5)[_0xee48cb(0x292)]||[])[_0xee48cb(0x202)](function(_0xbcf3f1,_0x507fb4){const _0x109c00=_0xee48cb;return Nt(_0xbcf3f1,''['concat'](_0x59318c,'-')['concat'](_0x3e25c3[_0x109c00(0x1ca)],'-')['concat'](_0x507fb4),_0x503ab5,void 0x0,_0x2d00c3);}));}function Hi(_0x6c3a06,_0x39d805,_0x425fb5){const _0x48e46c=_0xcffedf;var _0x57e62b=I({},_0x6c3a06[_0x48e46c(0x2c7)]);_0x425fb5!=null&&_0x425fb5[_0x48e46c(0x28e)]&&_0x57e62b[_0x48e46c(0x1e0)]==='colorChannel1'&&(_0x57e62b[_0x48e46c(0x1e0)]=_0x425fb5[_0x48e46c(0x28e)]),_0x6c3a06['tag']==='mask'&&_0x57e62b['id']&&(_0x57e62b['id']=_0x57e62b['id']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x11ec0a){const _0x533a4a=_0x48e46c;var _0x2280c0=_0x11ec0a[0x0],_0x5455da=_0x11ec0a[0x1];_0x2280c0===_0x533a4a(0x396)&&typeof _0x5455da==_0x533a4a(0x379)&&(_0x57e62b[_0x2280c0]=_0x5455da[_0x533a4a(0x3ac)](/url\(#(.*)\)/,_0x533a4a(0x39c)['concat'](_0x39d805[_0x533a4a(0x369)],')')));});var _0x38a459=_0x39d805['defIds'];return!_0x38a459||_0x38a459[_0x48e46c(0x3bf)]===0x0||(_0x6c3a06[_0x48e46c(0x1ca)]===_0x48e46c(0x25e)&&_0x57e62b[_0x48e46c(0x2ea)]&&(_0x57e62b[_0x48e46c(0x2ea)]=_0x57e62b['xlink:href']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x20a708){const _0x485bce=_0x48e46c;var _0x19123c=_0x20a708[0x0],_0x94c6b3=_0x20a708[0x1];typeof _0x94c6b3==_0x485bce(0x379)&&(_0x57e62b[_0x19123c]=_0x94c6b3[_0x485bce(0x3ac)](/url\(#(.*)\)/,_0x485bce(0x39c)[_0x485bce(0x2e6)](_0x39d805[_0x485bce(0x369)],')')));})),_0x57e62b;}function ji(_0x57f9b4,_0x1eb69e){const _0x1d8987=_0xcffedf;var _0x2e4b62,_0x49407f=_0x1eb69e[_0x1d8987(0x235)];return!_0x49407f||_0x49407f[_0x1d8987(0x3bf)]===0x0?_0x57f9b4:_0x57f9b4['tag']==='defs'&&(!((_0x2e4b62=_0x57f9b4[_0x1d8987(0x292)])===null||_0x2e4b62===void 0x0)&&_0x2e4b62[_0x1d8987(0x3bf)])?I(I({},_0x57f9b4),{'children':_0x57f9b4[_0x1d8987(0x292)]['map'](function(_0x272a37){const _0x1510e4=_0x1d8987;return typeof _0x272a37[_0x1510e4(0x2c7)]['id']==_0x1510e4(0x379)&&_0x49407f&&_0x49407f['indexOf'](_0x272a37[_0x1510e4(0x2c7)]['id'])>-0x1?I(I({},_0x272a37),{'attrs':I(I({},_0x272a37['attrs']),{'id':_0x272a37[_0x1510e4(0x2c7)]['id']+_0x1eb69e[_0x1510e4(0x369)]})}):_0x272a37;})}):_0x57f9b4;}function Wi(){const _0x4ffacc=_0xcffedf;return Math[_0x4ffacc(0x270)]()[_0x4ffacc(0x293)](0x24)[_0x4ffacc(0x2bb)](0x2,0x8);}We['displayName']='UniverIcon';var Fi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':'0\x200\x2016\x2016','width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'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':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':_0xcffedf(0x258)},'children':[{'tag':'path','attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b)}}]}]}],'defIds':[_0xcffedf(0x258)]},Pt=_0x2f8f96(function(_0x4e9d0f,_0x21e15f){const _0x3b9a9a=_0xcffedf;return _0x35062d(We,Object[_0x3b9a9a(0x37f)]({},_0x4e9d0f,{'id':_0x3b9a9a(0x256),'ref':_0x21e15f,'icon':Fi}));});Pt[_0xcffedf(0x3c3)]=_0xcffedf(0x345);var Vi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':_0xcffedf(0x3b9),'width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':_0xcffedf(0x263)},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b),'transform':_0xcffedf(0x24b)}}]}]}],'defIds':[_0xcffedf(0x30b)]},Mt=_0x2f8f96(function(_0x569473,_0x544023){const _0x618e9d=_0xcffedf;return _0x35062d(We,Object[_0x618e9d(0x37f)]({},_0x569473,{'id':'on-line-single','ref':_0x544023,'icon':Vi}));});Mt[_0xcffedf(0x3c3)]=_0xcffedf(0x27f);const Yi=_0xcffedf(0x28d),Xi='univer-online-status-title',Gi=_0xcffedf(0x1d7),Ki=_0xcffedf(0x1e7),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1fa0ee){const _0x5ef146=_0xcffedf;switch(_0x1fa0ee){case _0x137632['OFFLINE']:return _0x5ef146(0x32b);case _0x137632[_0x5ef146(0x249)]:return _0x5ef146(0x331);case _0x137632['FETCH_MISS']:return _0x5ef146(0x31a);case _0x137632[_0x5ef146(0x1e5)]:return _0x5ef146(0x366);case _0x137632['AWAITING']:case _0x137632[_0x5ef146(0x3a8)]:return _0x5ef146(0x275);case _0x137632['SYNCED']:case _0x137632[_0x5ef146(0x321)]:return'collabStatus.synced';}}function Zi(_0x2b7e2c){const _0x594874=_0xcffedf,{status$:_0x313695}=_0x2b7e2c,_0x34849a=_0x4043f5(_0x313695,_0x137632[_0x594874(0x1e5)]),_0x52be14=_0x591ef1(_0x3f07ff),_0x4bdf8d=_0x591ef1(_0x5f16f8),_0x569594=_0x34849a!==_0x137632[_0x594874(0x23f)],_0x430bf5=_0x52be14['t'](Ji(_0x34849a)),_0x22cfac=_0x1bbc21(G[_0x594874(0x33d)],{[G['online']]:_0x569594,[G['offline']]:!_0x569594}),_0x23dfe9=_0x569594?_0x48955e(Mt,{}):_0x48955e(Pt,{}),_0x4cef71=_0x3e46bb(()=>{const _0x17590e=_0x594874;_0x569594||_0x4bdf8d[_0x17590e(0x2b5)]();},[_0x569594,_0x4bdf8d]);function _0x3047d1(){const _0x44a569=_0x594874;return _0x319213(_0x44a569(0x2b6),{'className':_0x1bbc21(_0x22cfac,_0x44a569(0x201)),'onClick':_0x4cef71,'children':[_0x48955e(_0x44a569(0x2b6),{'className':G[_0x44a569(0x259)],'children':_0x23dfe9}),_0x48955e(_0x44a569(0x2b6),{'className':G['onlineStatusTitle'],'children':_0x430bf5})]});}return _0x569594?_0x3047d1():_0x48955e(_0x6abde0,{'title':_0x52be14['t'](_0x594874(0x2dc)),'children':_0x3047d1()});}var Qi=Object[_0xcffedf(0x2d5)],qi=(_0x1d18aa,_0x3542f0,_0x43e252,_0x42068a)=>{for(var _0xe6edfd=_0x42068a>0x1?void 0x0:_0x42068a?Qi(_0x3542f0,_0x43e252):_0x3542f0,_0x32ad3e=_0x1d18aa['length']-0x1,_0x157981;_0x32ad3e>=0x0;_0x32ad3e--)(_0x157981=_0x1d18aa[_0x32ad3e])&&(_0xe6edfd=_0x157981(_0xe6edfd)||_0xe6edfd);return _0xe6edfd;},q=(_0x50aeb9,_0x295ae9)=>(_0x640dae,_0x44f9b7)=>_0x295ae9(_0x640dae,_0x44f9b7,_0x50aeb9);let se=class extends _0xc24441{constructor(_0x480e7d,_0x46c521,_0x421c7b,_0x2b6171){const _0x41308f=_0xcffedf;super(),h(this,_0x41308f(0x372),new _0x2d4022(_0x137632[_0x41308f(0x1e5)])),(this[_0x41308f(0x2b0)]=_0x480e7d,this[_0x41308f(0x1f6)]=_0x46c521,this[_0x41308f(0x1cf)]=_0x421c7b,this[_0x41308f(0x214)]=_0x2b6171,this[_0x41308f(0x1df)](),this[_0x41308f(0x2c4)]());}['_initStatusListener'](){const _0x5c7753=_0xcffedf;this['disposeWithMe'](this[_0x5c7753(0x2b0)]['focused$'][_0x5c7753(0x245)](_0x41f1c9(()=>{const _0x33a8c4=_0x5c7753,_0x16167b=this['_univerInstanceService']['getFocusedUnit']();return _0x16167b?this[_0x33a8c4(0x1cf)][_0x33a8c4(0x2d9)](_0x16167b[_0x33a8c4(0x2b3)]()):_0x1ed1a0(null);}),_0x41f1c9(_0x234e0e=>_0x234e0e?_0x234e0e['status$']:_0x1ed1a0(_0x137632[_0x5c7753(0x1e5)])))[_0x5c7753(0x1d9)](_0x1ad0cc=>{const _0xabe5dc=_0x5c7753;this[_0xabe5dc(0x372)][_0xabe5dc(0x1fe)](_0x1ad0cc);}));}[_0xcffedf(0x1df)](){const _0x475ccf=_0xcffedf;this[_0x475ccf(0x219)](this[_0x475ccf(0x214)][_0x475ccf(0x390)](_0x32b901[_0x475ccf(0x1f3)],()=>_0xd3d186(en({'status$':this[_0x475ccf(0x372)][_0x475ccf(0x2ee)]()}),this[_0x475ccf(0x1f6)])));}};se=qi([q(0x0,_0x2eb697),q(0x1,_0x695648(_0xf56663)),q(0x2,_0x695648(_0x832d1d)),q(0x3,_0x3ab811)],se);function en(_0x5884ca){const {status$:_0x58ef0f}=_0x5884ca;return function(){return _0x48955e(Zi,{'status$':_0x58ef0f});};}var tn=Object[_0xcffedf(0x2d5)],sn=(_0x1febda,_0x1d6f3f,_0x4278d5,_0x236097)=>{for(var _0x1e10ea=_0x236097>0x1?void 0x0:_0x236097?tn(_0x1d6f3f,_0x4278d5):_0x1d6f3f,_0x5bc233=_0x1febda['length']-0x1,_0x294c3d;_0x5bc233>=0x0;_0x5bc233--)(_0x294c3d=_0x1febda[_0x5bc233])&&(_0x1e10ea=_0x294c3d(_0x1e10ea)||_0x1e10ea);return _0x1e10ea;},k=(_0x62c381,_0x13af08)=>(_0x48a12a,_0x3ef874)=>_0x13af08(_0x48a12a,_0x3ef874,_0x62c381);let ie=class extends _0xc24441{constructor(_0x197ec6,_0xfd4344,_0x1b94bf,_0x2c83b2,_0x210215,_0x463a5a){const _0x2df4c6=_0xcffedf;super(),this['_beforeCloseService']=_0x197ec6,this[_0x2df4c6(0x216)]=_0xfd4344,this[_0x2df4c6(0x283)]=_0x1b94bf,this[_0x2df4c6(0x393)]=_0x2c83b2,this[_0x2df4c6(0x279)]=_0x210215,this[_0x2df4c6(0x326)]=_0x463a5a,this[_0x2df4c6(0x3b6)](),this[_0x2df4c6(0x32f)]();}[_0xcffedf(0x3b6)](){const _0x2f35ac=_0xcffedf;this['disposeWithMe'](this[_0x2f35ac(0x2df)]['registerBeforeClose'](()=>{const _0x5a8eaa=_0x2f35ac;if(this['_localCacheService']['saveTaskMap'][_0x5a8eaa(0x3bb)])return this[_0x5a8eaa(0x326)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xcffedf(0x32f)](){const _0x2e3495=_0xcffedf;this['disposeWithMe'](this[_0x2e3495(0x283)]['event$'][_0x2e3495(0x1d9)](_0x4ffee5=>{const _0x531360=_0x2e3495;_0x4ffee5['id']===_0x9322c9[_0x531360(0x39e)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x27c))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1c9)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1d2)]&&this[_0x531360(0x279)][_0x531360(0x315)]({'title':this[_0x531360(0x326)]['t'](_0x531360(0x2da)),'content':this[_0x531360(0x326)]['t']('permission.content'),'type':'error','duration':0x0}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x249)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Error'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))+'('+_0x4ffee5[_0x531360(0x320)]+')'}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x236)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this['_localeService']['t'](_0x4ffee5['data']||'')}),_0x4ffee5['id']===_0x9322c9['SOCKET_FAILED_RETRY']&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Warning'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1d6))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x268)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1de))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x233)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x2e0))});}));}};ie=sn([k(0x0,_0x25b1ff),k(0x1,_0x126658),k(0x2,_0x695648(_0x7f3d0)),k(0x3,_0x2b6d87),k(0x4,_0x15b647),k(0x5,_0x695648(_0x3f07ff))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x3e6261(_0xcffedf(0x1c1));var rn=Object[_0xcffedf(0x2d5)],on=(_0x35a309,_0x5bc458,_0x31275d,_0x1023b0)=>{const _0x5988a8=_0xcffedf;for(var _0x5b68bf=_0x1023b0>0x1?void 0x0:_0x1023b0?rn(_0x5bc458,_0x31275d):_0x5bc458,_0x3a17dd=_0x35a309[_0x5988a8(0x3bf)]-0x1,_0x498348;_0x3a17dd>=0x0;_0x3a17dd--)(_0x498348=_0x35a309[_0x3a17dd])&&(_0x5b68bf=_0x498348(_0x5b68bf)||_0x5b68bf);return _0x5b68bf;},K=(_0x30134b,_0x1fde4a)=>(_0x2b919d,_0x284707)=>_0x1fde4a(_0x2b919d,_0x284707,_0x30134b);let ne=class extends _0x338310{constructor(_0x599d2b,_0x46db19,_0x350ca6,_0x2bd273,_0x4cfb51){const _0x29ef47=_0xcffedf;super(),this[_0x29ef47(0x24f)]=_0x599d2b,this[_0x29ef47(0x30f)]=_0x46db19,this[_0x29ef47(0x3a1)]=_0x350ca6,this[_0x29ef47(0x3b2)]=_0x2bd273,_0x4cfb51?_0x4cfb51==null||_0x4cfb51[_0x29ef47(0x34c)]()['then'](()=>this[_0x29ef47(0x1d8)]()):(this[_0x29ef47(0x30f)][_0x29ef47(0x239)](_0x29ef47(0x1f9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29ef47(0x1d8)]());}async[_0xcffedf(0x1d8)](){const _0x4a659d=_0xcffedf,_0x156f71=this['_urlService'][_0x4a659d(0x261)]('unit'),_0x59fcd8=this['_urlService'][_0x4a659d(0x261)](_0x4a659d(0x2d1)),_0x436ae7=this[_0x4a659d(0x24f)][_0x4a659d(0x261)](_0x4a659d(0x1eb));if(!_0x156f71||!_0x59fcd8){this['_logService'][_0x4a659d(0x239)](_0x4a659d(0x1f9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x48926f=await this[_0x4a659d(0x3b2)][_0x4a659d(0x222)](_0x156f71,Number(_0x59fcd8),_0x436ae7);_0x48926f&&_0x48926f instanceof _0xdaef1e&&this[_0x4a659d(0x29f)](_0x48926f);}async[_0xcffedf(0x29f)](_0x1ef0b0){const _0x3157a6=_0xcffedf;await this[_0x3157a6(0x1c7)](_0x1ef0b0),_0x1ef0b0[_0x3157a6(0x2a0)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](_0x57951d=>{const _0x3e47bc=_0x3157a6;_0x57951d&&this[_0x3e47bc(0x22c)](_0x57951d);}),this[_0x3157a6(0x24f)][_0x3157a6(0x34e)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](()=>this[_0x3157a6(0x1c7)](_0x1ef0b0));}[_0xcffedf(0x22c)](_0x2a4b8d,_0x468c83=!0x1){const _0x2c5636=_0xcffedf,_0x4c5f8c=this[_0x2c5636(0x24f)]['getParam']('subunit');_0x2a4b8d[_0x2c5636(0x23a)]()!==_0x4c5f8c&&this[_0x2c5636(0x24f)]['setParam'](_0x2c5636(0x1eb),_0x2a4b8d[_0x2c5636(0x23a)](),_0x468c83);}async[_0xcffedf(0x1c7)](_0x4400c5){const _0x51b0a5=_0xcffedf;var _0x439a88;const _0x484420=this[_0x51b0a5(0x24f)][_0x51b0a5(0x261)](_0x51b0a5(0x1eb));if(!_0x484420||!_0x4400c5['getSheetBySheetId'](_0x484420)){const _0x378865=_0x4400c5['getUnhiddenWorksheets']()[0x0],_0x4b4239=_0x4400c5['getSheetBySheetId'](_0x378865);if(!_0x4b4239)return;this[_0x51b0a5(0x22c)](_0x4b4239,!0x0),await this[_0x51b0a5(0x3a1)][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x378865});return;}((_0x439a88=_0x4400c5[_0x51b0a5(0x351)]())==null?void 0x0:_0x439a88[_0x51b0a5(0x23a)]())!==_0x484420&&await this['_commandService'][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x484420});}};ne=on([K(0x0,wt),K(0x1,_0x5ba7eb),K(0x2,_0x42a8e8),K(0x3,_0x695648(_0x1e714f)),K(0x4,_0x1e5a1d(_0x22f530))],ne);function _0x12c7(_0x1022cb,_0x38cb4b){const _0x2072f3=_0x2072();return _0x12c7=function(_0x12c786,_0x5e7107){_0x12c786=_0x12c786-0x1c0;let _0x50bf41=_0x2072f3[_0x12c786];return _0x50bf41;},_0x12c7(_0x1022cb,_0x38cb4b);}var an=Object[_0xcffedf(0x2d5)],cn=(_0x34751c,_0xbed55d,_0xe22823,_0x2cc889)=>{for(var _0x57ba3c=_0x2cc889>0x1?void 0x0:_0x2cc889?an(_0xbed55d,_0xe22823):_0xbed55d,_0x29296a=_0x34751c['length']-0x1,_0x2f717e;_0x29296a>=0x0;_0x29296a--)(_0x2f717e=_0x34751c[_0x29296a])&&(_0x57ba3c=_0x2f717e(_0x57ba3c)||_0x57ba3c);return _0x57ba3c;},Ce=(_0x5e306f,_0x207c4e)=>(_0x2434d9,_0x64fb7f)=>_0x207c4e(_0x2434d9,_0x64fb7f,_0x5e306f);let re=class{constructor(_0x41ec67,_0x338a64,_0x381307){const _0x595225=_0xcffedf;this[_0x595225(0x1f6)]=_0x41ec67,this[_0x595225(0x218)]=_0x338a64,this[_0x595225(0x34d)]=_0x381307;}['transformIMECache'](_0x528d56){const _0x1e4560=_0xcffedf;this[_0x1e4560(0x329)](_0x528d56),this[_0x1e4560(0x304)](_0x528d56);}[_0xcffedf(0x2fb)](_0x525dbb){const _0xc10ef5=_0xcffedf,{unitID:_0x3d3204}=_0x525dbb,_0x62fbd0=this[_0xc10ef5(0x34d)][_0xc10ef5(0x244)](_0x3d3204)[_0xc10ef5(0x266)](_0xac9c66),{redoCache:_0x522159}=_0x62fbd0[_0xc10ef5(0x21f)]();if(_0x522159[_0xc10ef5(0x3bf)]===0x0)return _0x525dbb;let _0x56d698=_0x5a8d3d[_0xc10ef5(0x2fc)](_0x525dbb[_0xc10ef5(0x364)][0x0]);for(let _0x1e49d6=0x0;_0x1e49d6<_0x522159[_0xc10ef5(0x3bf)];_0x1e49d6++){const _0x4b2e45={'id':_0xc10ef5(0x307),'params':{..._0x522159[_0x1e49d6]}},_0x174afe=this['_transformService']['transformMutation'](_0x56d698,_0x4b2e45,!0x1);if(_0x488cde(_0x174afe))throw _0x174afe[_0xc10ef5(0x2f3)];_0x56d698=_0x174afe[_0xc10ef5(0x39d)];}return{..._0x5a8d3d['deepClone'](_0x525dbb),'mutations':[_0x56d698]};}[_0xcffedf(0x329)](_0x169220){const _0x5b4922=_0xcffedf,{unitID:_0x7590b4}=_0x169220,_0x45bf96=this['_renderManagerService'][_0x5b4922(0x244)](_0x7590b4)[_0x5b4922(0x266)](_0xac9c66),{undoCache:_0x56fbf5,redoCache:_0x4a4a28}=_0x45bf96[_0x5b4922(0x21f)]();if(_0x56fbf5[_0x5b4922(0x3bf)]===0x0||_0x4a4a28[_0x5b4922(0x3bf)]===0x0)return;const _0x408491=[],_0xc975c4=[];let _0x4b15e3=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220['mutations'][0x0]),_0x170f3e=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220[_0x5b4922(0x364)][0x0]);for(let _0x30c2a4=_0x56fbf5[_0x5b4922(0x3bf)]-0x1;_0x30c2a4>=0x0;_0x30c2a4--){const _0x2e27cd={'id':'doc.mutation.rich-text-editing','params':{..._0x56fbf5[_0x30c2a4]}},_0x1e77fe={'id':_0x5b4922(0x307),'params':{..._0x4a4a28[_0x30c2a4]}},_0x5ab208=this['_transformService'][_0x5b4922(0x229)](_0x4b15e3,_0x2e27cd,!0x1),_0x341ebb=this[_0x5b4922(0x218)]['transformMutation'](_0x170f3e,_0x1e77fe,!0x1);if(_0x488cde(_0x5ab208))throw _0x5ab208[_0x5b4922(0x2f3)];if(_0x488cde(_0x341ebb))throw _0x341ebb['error'];_0x408491[_0x5b4922(0x391)](_0x5ab208[_0x5b4922(0x32e)][_0x5b4922(0x29c)]),_0xc975c4[_0x5b4922(0x391)](_0x341ebb[_0x5b4922(0x32e)]['params']),_0x4b15e3=_0x5ab208[_0x5b4922(0x39d)],_0x170f3e=_0x341ebb['m1Prime'];}_0x45bf96[_0x5b4922(0x262)]({'undoCache':_0x408491,'redoCache':_0xc975c4});}[_0xcffedf(0x304)](_0x344038){const _0x42d215=_0xcffedf,{unitID:_0x3a65c9}=_0x344038,_0x5e1bfe=this[_0x42d215(0x34d)][_0x42d215(0x244)](_0x3a65c9)[_0x42d215(0x266)](_0xac9c66),_0x223ffd=_0x5e1bfe[_0x42d215(0x354)]();if(_0x223ffd==null)return;const _0x2f3612=[{'id':_0x42d215(0x307),'params':{'unitId':_0x344038[_0x42d215(0x24a)],'actions':null,'textRanges':[_0x223ffd]}}],_0x2759bf=this[_0x42d215(0x218)]['transformMutationsWithChangeset'](_0x344038,_0x2f3612);if(!_0x2f9375(_0x2759bf))throw _0x2759bf['error'];const _0x1538d5=_0x2759bf[_0x42d215(0x32e)][0x0][_0x42d215(0x29c)]['textRanges'];Array[_0x42d215(0x295)](_0x1538d5)&&_0x1538d5[_0x42d215(0x3bf)]&&_0x5e1bfe[_0x42d215(0x301)](_0x1538d5[0x0]);}};re=cn([Ce(0x0,_0x695648(_0xf56663)),Ce(0x1,_0x220f1b),Ce(0x2,_0x30ea9d)],re);var ln=Object[_0xcffedf(0x2d5)],hn=(_0x3e1e96,_0x2a7630,_0xa3c0ec,_0x548180)=>{const _0x240eed=_0xcffedf;for(var _0x5d63ca=_0x548180>0x1?void 0x0:_0x548180?ln(_0x2a7630,_0xa3c0ec):_0x2a7630,_0x2882b8=_0x3e1e96[_0x240eed(0x3bf)]-0x1,_0x4da978;_0x2882b8>=0x0;_0x2882b8--)(_0x4da978=_0x3e1e96[_0x2882b8])&&(_0x5d63ca=_0x4da978(_0x5d63ca)||_0x5d63ca);return _0x5d63ca;},be=(_0x1c459a,_0x33b289)=>(_0x2cc6ad,_0x4edc45)=>_0x33b289(_0x2cc6ad,_0x4edc45,_0x1c459a);let oe=class{constructor(_0x1dacdc,_0x1f9826,_0x44ba01){const _0x4abb5c=_0xcffedf;this[_0x4abb5c(0x1f6)]=_0x1dacdc,this[_0x4abb5c(0x218)]=_0x1f9826,this[_0x4abb5c(0x2fe)]=_0x44ba01;}[_0xcffedf(0x260)](_0x1a9bac){const _0xd73360=_0xcffedf;this[_0xd73360(0x2ec)](_0x1a9bac);}[_0xcffedf(0x2fb)](_0x221ccb){const _0x580ae0=_0xcffedf,{unitID:_0x56e593}=_0x221ccb,{collaboration:_0x5cb634}=this[_0x580ae0(0x2fe)][_0x580ae0(0x21c)](_0x56e593);if(_0x5cb634['length']===0x0)return _0x221ccb;let _0x219345=_0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb[_0x580ae0(0x364)][0x0]);for(let _0x1a147a=0x0;_0x1a147a<_0x5cb634[_0x580ae0(0x3bf)];_0x1a147a++){const _0x3f2770={'id':_0x580ae0(0x307),'params':{'unitId':_0x5cb634[_0x1a147a][_0x580ae0(0x3a4)],..._0x5cb634[_0x1a147a][_0x580ae0(0x1c0)]}},_0x312903=this[_0x580ae0(0x218)][_0x580ae0(0x229)](_0x219345,_0x3f2770,!0x1);if(_0x488cde(_0x312903))throw _0x312903[_0x580ae0(0x2f3)];_0x219345=_0x312903[_0x580ae0(0x39d)];}return{..._0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb),'mutations':[_0x219345]};}[_0xcffedf(0x2ec)](_0x29c8d8){const _0x58c6b3=_0xcffedf,{unitID:_0x5b72c5}=_0x29c8d8,{history:_0x285372,collaboration:_0x2e8c0e}=this[_0x58c6b3(0x2fe)][_0x58c6b3(0x21c)](_0x5b72c5);if(_0x285372[_0x58c6b3(0x3bf)]===0x0&&_0x2e8c0e[_0x58c6b3(0x3bf)]===0x0)return;const _0x4a719c=[],_0x1cbcca=[];let _0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x11d06e=_0x285372[_0x58c6b3(0x3bf)]-0x1;_0x11d06e>=0x0;_0x11d06e--){const _0x267b81={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e][_0x58c6b3(0x3a4)],..._0x285372[_0x11d06e][_0x58c6b3(0x358)]}},_0x42c801={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e]['unitId'],..._0x285372[_0x11d06e][_0x58c6b3(0x1c0)]}},_0x538963=this['_transformService'][_0x58c6b3(0x229)](_0x4b3dc2,_0x267b81,!0x1),_0x44db7b=this[_0x58c6b3(0x218)]['transformMutation'](_0x4740d4,_0x42c801,!0x1);if(_0x488cde(_0x538963))throw _0x538963[_0x58c6b3(0x2f3)];if(_0x488cde(_0x44db7b))throw _0x44db7b[_0x58c6b3(0x2f3)];_0x4a719c[_0x58c6b3(0x391)]({..._0x285372[_0x11d06e],'undoState':_0x538963[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x44db7b[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x538963[_0x58c6b3(0x39d)],_0x4740d4=_0x44db7b[_0x58c6b3(0x39d)];}_0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x593315=_0x2e8c0e['length']-0x1;_0x593315>=0x0;_0x593315--){const _0x1e8c3f={'id':_0x58c6b3(0x307),'params':{'unitId':_0x2e8c0e[_0x593315][_0x58c6b3(0x3a4)],..._0x2e8c0e[_0x593315][_0x58c6b3(0x358)]}},_0x25c646={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e8c0e[_0x593315]['unitId'],..._0x2e8c0e[_0x593315]['redoState']}},_0x47bd1d=this[_0x58c6b3(0x218)]['transformMutation'](_0x4b3dc2,_0x1e8c3f,!0x1),_0x312641=this[_0x58c6b3(0x218)][_0x58c6b3(0x229)](_0x4740d4,_0x25c646,!0x1);if(_0x488cde(_0x47bd1d))throw _0x47bd1d['error'];if(_0x488cde(_0x312641))throw _0x312641[_0x58c6b3(0x2f3)];_0x1cbcca[_0x58c6b3(0x391)]({..._0x2e8c0e[_0x593315],'undoState':_0x47bd1d[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x312641[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x47bd1d[_0x58c6b3(0x39d)],_0x4740d4=_0x312641['m1Prime'];}this['_docStateChangeManagerService'][_0x58c6b3(0x36b)](_0x5b72c5,{'history':_0x4a719c,'collaboration':_0x1cbcca});}};oe=hn([be(0x0,_0x695648(_0xf56663)),be(0x1,_0x220f1b),be(0x2,_0x695648(_0x53243c))],oe);var _n=Object[_0xcffedf(0x2d5)],un=(_0x420aa3,_0x7254a8,_0x1884e4,_0x4f9430)=>{const _0x4c32cb=_0xcffedf;for(var _0xe280e7=_0x4f9430>0x1?void 0x0:_0x4f9430?_n(_0x7254a8,_0x1884e4):_0x7254a8,_0x504e74=_0x420aa3[_0x4c32cb(0x3bf)]-0x1,_0x4b6df0;_0x504e74>=0x0;_0x504e74--)(_0x4b6df0=_0x420aa3[_0x504e74])&&(_0xe280e7=_0x4b6df0(_0xe280e7)||_0xe280e7);return _0xe280e7;},it=(_0x2f3e80,_0x5d6d6c)=>(_0x46bf7b,_0x404fef)=>_0x5d6d6c(_0x46bf7b,_0x404fef,_0x2f3e80);let ae=class{constructor(_0x51cf0b,_0x805f9d){const _0x1019eb=_0xcffedf;this[_0x1019eb(0x1f6)]=_0x51cf0b,this['_transformService']=_0x805f9d;}[_0xcffedf(0x20e)](_0x372530){const _0x3a6347=_0xcffedf;var _0x4031ca;const _0x568817=this['_injector']['get'](_0x368efa),_0x5696ee=(_0x4031ca=_0x568817['getDocRanges']())!=null?_0x4031ca:[];if(_0x5696ee[_0x3a6347(0x3bf)]===0x0)return;const _0x5c1b92=_0x372530['unitID'],_0x289adb=[{'id':_0x3a6347(0x307),'params':{'unitId':_0x5c1b92,'actions':null,'textRanges':_0x5696ee}}],_0x1137c6=this[_0x3a6347(0x218)][_0x3a6347(0x254)](_0x372530,_0x289adb);if(!_0x2f9375(_0x1137c6))throw _0x1137c6[_0x3a6347(0x2f3)];const _0x58860e=_0x1137c6['m2Prime'][0x0][_0x3a6347(0x29c)][_0x3a6347(0x2eb)];Array['isArray'](_0x58860e)&&_0x58860e[_0x3a6347(0x3bf)]&&_0x568817[_0x3a6347(0x21e)](_0x58860e,{'unitId':_0x5c1b92,'subUnitId':_0x5c1b92},!0x1);}};ae=un([it(0x0,_0x695648(_0xf56663)),it(0x1,_0x220f1b)],ae);var dn=Object[_0xcffedf(0x2d5)],fn=(_0x2d70a4,_0x4b3cd2,_0x3bc303,_0x28dfc1)=>{for(var _0xd04752=_0x28dfc1>0x1?void 0x0:_0x28dfc1?dn(_0x4b3cd2,_0x3bc303):_0x4b3cd2,_0x126f89=_0x2d70a4['length']-0x1,_0x5b75ec;_0x126f89>=0x0;_0x126f89--)(_0x5b75ec=_0x2d70a4[_0x126f89])&&(_0xd04752=_0x5b75ec(_0xd04752)||_0xd04752);return _0xd04752;},P=(_0x47ed7f,_0x1a6129)=>(_0x1eb594,_0x314141)=>_0x1a6129(_0x1eb594,_0x314141,_0x47ed7f);let ce=class extends _0xc24441{constructor(_0x4b79fe,_0x317475,_0x145991,_0x146e97,_0x10f16e,_0x58b082,_0x206254,_0x2fe25b){const _0x3b2494=_0xcffedf;super(),h(this,_0x3b2494(0x372),new _0x2d4022(_0x137632[_0x3b2494(0x1e5)])),(this['_docStateChangeManagerService']=_0x4b79fe,this[_0x3b2494(0x1cf)]=_0x317475,this[_0x3b2494(0x389)]=_0x145991,this[_0x3b2494(0x324)]=_0x146e97,this[_0x3b2494(0x1e1)]=_0x10f16e,this[_0x3b2494(0x336)]=_0x58b082,this[_0x3b2494(0x393)]=_0x206254,this[_0x3b2494(0x326)]=_0x2fe25b,this[_0x3b2494(0x398)]());}[_0xcffedf(0x398)](){const _0x5d7cfd=_0xcffedf;this[_0x5d7cfd(0x219)](this[_0x5d7cfd(0x1cf)]['entityInit$'][_0x5d7cfd(0x1d9)](_0x3bfa4=>{const _0x282c34=_0x5d7cfd,_0x5ac5e2=this[_0x282c34(0x2fe)][_0x282c34(0x355)]['subscribe'](_0x5a26d9=>{const _0x4beb17=_0x282c34;if(_0x5a26d9==null)return;const {unitId:_0xb06893,redoState:_0x469f4b,commandId:_0x707d38}=_0x5a26d9;if(_0xb06893!==_0x3bfa4[_0x4beb17(0x24a)])return;const _0x4b0766={'id':_0x707d38,'type':_0x373aa[_0x4beb17(0x330)],'params':{'unitId':_0xb06893,'actions':_0x469f4b[_0x4beb17(0x240)],'textRanges':null}};_0x3bfa4[_0x4beb17(0x298)](_0x4b0766);});if(_0x3bfa4[_0x282c34(0x219)](_0x5ac5e2),_0x3bfa4 instanceof _0x2d9bad){const _0x5d33c6={'onTransformIME':_0x43122a=>this['_docTransformIMECacheService'][_0x282c34(0x370)](_0x43122a),'onTransformState':_0x4b950c=>this[_0x282c34(0x324)][_0x282c34(0x260)](_0x4b950c),'onTransformSelections':_0x48b80a=>this[_0x282c34(0x1e1)][_0x282c34(0x20e)](_0x48b80a),'onSyncEditingCollabCursor':_0x164de1=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x164de1),'onTransformRemoteChangesetByIMECache':_0x1970ac=>this[_0x282c34(0x389)][_0x282c34(0x2fb)](_0x1970ac),'onTransformRemoteChangesetByStateCache':_0x40ecee=>this[_0x282c34(0x324)]['transformRemoteChangeset'](_0x40ecee)};_0x3bfa4[_0x282c34(0x26b)](_0x5d33c6);}}));}};ce=fn([P(0x0,_0x695648(_0x53243c)),P(0x1,_0x695648(_0x832d1d)),P(0x2,_0x695648(re)),P(0x3,_0x695648(oe)),P(0x4,_0x695648(ae)),P(0x5,_0x695648(je)),P(0x6,_0x2b6d87),P(0x7,_0x695648(_0x3f07ff))],ce);var Sn=Object[_0xcffedf(0x2d5)],mn=(_0x597675,_0x18aefa,_0x320929,_0x4b698a)=>{const _0x3cb2c8=_0xcffedf;for(var _0x2b737c=_0x4b698a>0x1?void 0x0:_0x4b698a?Sn(_0x18aefa,_0x320929):_0x18aefa,_0x45268d=_0x597675[_0x3cb2c8(0x3bf)]-0x1,_0x328f46;_0x45268d>=0x0;_0x45268d--)(_0x328f46=_0x597675[_0x45268d])&&(_0x2b737c=_0x328f46(_0x2b737c)||_0x2b737c);return _0x2b737c;},Ee=(_0xe6fa97,_0x3f9abe)=>(_0x5870e9,_0x41ade4)=>_0x3f9abe(_0x5870e9,_0x41ade4,_0xe6fa97);let Ae=class extends _0xc24441{constructor(_0x96002a,_0xe50c6e,_0x1105f){const _0x364243=_0xcffedf;super(),h(this,'_cachedData',new Map()),h(this,_0x364243(0x2b8),new Map()),h(this,'_disabled',!0x1),(this[_0x364243(0x2d7)]=_0x96002a,this['_localStorageService']=_0xe50c6e,this['_revisionService']=_0x1105f);}[_0xcffedf(0x3bd)](){const _0x19d97a=_0xcffedf;this[_0x19d97a(0x33b)]=!0x0;}[_0xcffedf(0x285)](){const _0x1de7fc=_0xcffedf;this[_0x1de7fc(0x33b)]=!0x1;}get[_0xcffedf(0x2ba)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x197bf6){const _0x574cca=_0xcffedf;return this[_0x574cca(0x33b)]?null:this['_localStorageService']['getItem'](_0x34f8b4(_0x197bf6));}async[_0xcffedf(0x1ee)](_0x43ddca,_0x1d9eb5){const _0x1c060b=_0xcffedf;return!!this[_0x1c060b(0x39b)][_0x1c060b(0x385)](_0x43ddca,_0x1d9eb5);}['updateOfflineData'](_0xa6322c,_0x5c62b3,_0x4f8dcd,_0x6942ef){const _0x146f10=_0xcffedf,_0x3ab129=this[_0x146f10(0x1fa)][_0x146f10(0x241)](_0xa6322c);this['_cachedData'][_0x146f10(0x305)](_0xa6322c,{'unitID':_0xa6322c,'type':_0x5c62b3,'awaitingChangeset':_0x4f8dcd,'mutations':_0x6942ef,'rev':_0x3ab129}),this['_saveTaskMap'][_0x146f10(0x234)](_0xa6322c)||this[_0x146f10(0x269)](_0xa6322c);}['_scheduleSaving'](_0xa9c051){const _0x4d70e7=_0xcffedf,_0x4a23e1=this[_0x4d70e7(0x22f)]();_0x4a23e1===0x0?this[_0x4d70e7(0x26a)](_0xa9c051):this[_0x4d70e7(0x2b8)]['set'](_0xa9c051,setTimeout(()=>this[_0x4d70e7(0x26a)](_0xa9c051),_0x4a23e1));}[_0xcffedf(0x22f)](){const _0x9722c0=_0xcffedf;var _0x323658;return(_0x323658=this[_0x9722c0(0x2d7)][_0x9722c0(0x2f6)](_0x4715a3))!=null?_0x323658:_0x10b28c;}['_saveCache'](_0x17399d){const _0x3b4438=_0xcffedf,_0x25e748=this[_0x3b4438(0x2b8)][_0x3b4438(0x21b)](_0x17399d);return _0x25e748!==void 0x0&&window[_0x3b4438(0x1d5)](_0x25e748),this[_0x3b4438(0x39b)][_0x3b4438(0x385)](_0x34f8b4(_0x17399d),this[_0x3b4438(0x1cb)]['get'](_0x17399d))[_0x3b4438(0x265)](()=>this['_saveTaskMap'][_0x3b4438(0x319)](_0x17399d));}async[_0xcffedf(0x2fd)](){const _0x245af2=_0xcffedf,_0x3e54b5=[];this['_saveTaskMap'][_0x245af2(0x343)]((_0x1df8e4,_0x145dc7)=>{const _0x57e570=_0x245af2;window[_0x57e570(0x1d5)](_0x1df8e4),_0x3e54b5['push'](this[_0x57e570(0x26a)](_0x145dc7)[_0x57e570(0x265)](()=>{const _0xd9097=_0x57e570;this[_0xd9097(0x2b8)][_0xd9097(0x319)](_0x145dc7);}));}),await Promise[_0x245af2(0x284)](_0x3e54b5);}};Ae=mn([Ee(0x0,_0x572b85),Ee(0x1,_0x1a67f4),Ee(0x2,_0x695648(_0x579428))],Ae);class gn extends _0x338310{constructor(){const _0x479d85=_0xcffedf;super(),h(this,_0x479d85(0x34e)),this['urlChange$']=_0x33a215(window,'popstate')[_0x479d85(0x245)](_0x57ae48(this[_0x479d85(0x22d)]),_0x5f0d6e(0x1),_0x51b0df(void 0x0));}['setParam'](_0x43d0f4,_0x2e1fc7,_0x1ea689=!0x1){const _0x51e357=_0xcffedf,_0x5f0cb9=new URL(window['location'][_0x51e357(0x2c8)]);_0x5f0cb9[_0x51e357(0x388)][_0x51e357(0x305)](_0x43d0f4,_0x2e1fc7),_0x1ea689?window[_0x51e357(0x296)][_0x51e357(0x2ed)]('','',_0x5f0cb9['toString']()):window[_0x51e357(0x296)][_0x51e357(0x375)]('','',_0x5f0cb9[_0x51e357(0x293)]());}[_0xcffedf(0x338)](_0x3b5782,_0x188e1a=!0x1){const _0x461105=_0xcffedf,_0x323538=new URL(window[_0x461105(0x288)][_0x461105(0x2c8)]);_0x323538[_0x461105(0x388)][_0x461105(0x319)](_0x3b5782),_0x188e1a?window['history'][_0x461105(0x2ed)]('','',_0x323538['toString']()):window[_0x461105(0x296)]['pushState']('','',_0x323538['toString']());}['getParam'](_0x5c3c0c){const _0x154c1a=_0xcffedf;var _0x44fa03;return(_0x44fa03=new URL(window[_0x154c1a(0x288)][_0x154c1a(0x2c8)])[_0x154c1a(0x388)][_0x154c1a(0x21b)](_0x5c3c0c))!=null?_0x44fa03:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0xcffedf(0x2d5)],pn=(_0xacef4c,_0x324cad,_0x5676f0)=>_0x324cad in _0xacef4c?vn(_0xacef4c,_0x324cad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5676f0}):_0xacef4c[_0x324cad]=_0x5676f0,Cn=(_0x178760,_0x4cba6a,_0x450f3f,_0x1698a1)=>{const _0x3b6dfb=_0xcffedf;for(var _0x1ac95c=_0x1698a1>0x1?void 0x0:_0x1698a1?In(_0x4cba6a,_0x450f3f):_0x4cba6a,_0x28fb47=_0x178760[_0x3b6dfb(0x3bf)]-0x1,_0x54d0a1;_0x28fb47>=0x0;_0x28fb47--)(_0x54d0a1=_0x178760[_0x28fb47])&&(_0x1ac95c=_0x54d0a1(_0x1ac95c)||_0x1ac95c);return _0x1ac95c;},Oe=(_0x5ba2c0,_0x366037)=>(_0x3fac37,_0x4f264c)=>_0x366037(_0x3fac37,_0x4f264c,_0x5ba2c0),bn=(_0xf15a5c,_0x1e993e,_0x21519b)=>pn(_0xf15a5c,_0x1e993e+'',_0x21519b);const En=_0xcffedf(0x34f);let ye=class extends _0x45285f{constructor(_0x52235a=st,_0x1734fe,_0x1fb402,_0x9555bf){const _0x13914d=_0xcffedf;super(),this[_0x13914d(0x205)]=_0x52235a,this[_0x13914d(0x34d)]=_0x1734fe,this[_0x13914d(0x1f6)]=_0x1fb402,this[_0x13914d(0x2d7)]=_0x9555bf;const {..._0xb83d77}=_0x3607e9({},st,this[_0x13914d(0x205)]);this[_0x13914d(0x2d7)][_0x13914d(0x278)](nn,_0xb83d77);}[_0xcffedf(0x209)](){const _0x4662e3=_0xcffedf;this[_0x4662e3(0x1ff)](),this['_initDependencies']();}[_0xcffedf(0x22e)](){const _0x588f01=_0xcffedf;this[_0x588f01(0x255)]();}['_registerDependencies'](){const _0x14c972=_0xcffedf;var _0x3c0d9a;const _0x11a923=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x10dbd8,{'useClass':_0x18102c}],[_0x126658,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x494b98(this[_0x14c972(0x1f6)],_0xd21d36(_0x11a923,(_0x3c0d9a=this[_0x14c972(0x205)])==null?void 0x0:_0x3c0d9a[_0x14c972(0x3b5)]));}[_0xcffedf(0x255)](){const _0x14ef9f=_0xcffedf;this[_0x14ef9f(0x219)](this[_0x14ef9f(0x34d)][_0x14ef9f(0x2d3)](_0x303793['UNIVER_DOC'],[Ue])),this['disposeWithMe'](this['_renderManagerService'][_0x14ef9f(0x2d3)](_0x303793[_0x14ef9f(0x248)],[Le]));}[_0xcffedf(0x277)](){_0x1ef034(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x5a4598(_0x57b005),Oe(0x1,_0x30ea9d),Oe(0x2,_0x695648(_0xf56663)),Oe(0x3,_0x572b85)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0xdb4d11,_0x1d7dcd,_0x198536,_0x20ea0b)=>{const _0x52ed51=_0xcffedf;for(var _0x1d72a2=_0x20ea0b>0x1?void 0x0:_0x20ea0b?On(_0x1d7dcd,_0x198536):_0x1d7dcd,_0x127a45=_0xdb4d11[_0x52ed51(0x3bf)]-0x1,_0x5607fa;_0x127a45>=0x0;_0x127a45--)(_0x5607fa=_0xdb4d11[_0x127a45])&&(_0x1d72a2=_0x5607fa(_0x1d72a2)||_0x1d72a2);return _0x1d72a2;},z=(_0x209111,_0x41e2f9)=>(_0x4fffeb,_0xabebf3)=>_0x41e2f9(_0x4fffeb,_0xabebf3,_0x209111);let nt=class extends _0x4dbbb9{constructor(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207){super(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207);}async[_0xcffedf(0x2e1)](_0x422cfd){const _0x5db85a=_0xcffedf,_0x36d530=await this['_getSessionTicket'](),_0x2f72c2=this['_createSocketURL'](_0x422cfd,_0x36d530);return this[_0x5db85a(0x2d8)](_0x2f72c2);}['_createSocketURL'](_0x31cb8f,_0x14f9dc){const _0xc75ece=_0xcffedf,_0x3a7a1b=typeof window>'u'?new URL(_0x31cb8f):new URL(_0x31cb8f,window[_0xc75ece(0x288)][_0xc75ece(0x206)]);_0x3a7a1b[_0xc75ece(0x388)]['set'](_0xc75ece(0x26c),_0x14f9dc);const _0x5a8051=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc75ece(0x288)][_0xc75ece(0x2b7)]);return _0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))&&_0x3a7a1b[_0xc75ece(0x388)]['set']('runId',_0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))),_0x3a7a1b[_0xc75ece(0x293)]();}async[_0xcffedf(0x383)](){const _0x246996=_0xcffedf;var _0x5a8848,_0x3ee658,_0x2acca1;const _0x5b71e1=this[_0x246996(0x2d7)]['getConfig'](_0x470c49),_0x43dee8=(_0x5a8848=_0x5b71e1==null?void 0x0:_0x5b71e1[_0x246996(0x380)])!=null?_0x5a8848:_0x2171c7;return(_0x2acca1=(_0x3ee658=(await this['_httpService']['get'](_0x43dee8,{'headers':{'Content-Type':_0x246996(0x39a)}}))[_0x246996(0x337)])==null?void 0x0:_0x3ee658[_0x246996(0x37e)])!=null?_0x2acca1:'';}};nt=Tn([z(0x0,_0x695648(_0xf56663)),z(0x1,_0x695648(_0x56ebd1)),z(0x2,_0x572b85),z(0x3,_0x5ba7eb),z(0x4,_0x3ab12a)],nt);const rt=0x7530,ot=_0xcffedf(0x2e8);class Gn extends _0xc24441{constructor(){const _0x11a4ac=_0xcffedf;super(),h(this,_0x11a4ac(0x22a),_0x31de42()),h(this,_0x11a4ac(0x392),new Set()),h(this,_0x11a4ac(0x20a),new Map()),h(this,'_heartbeatTimer',null),h(this,'_clearOtherTimers',new Map()),h(this,_0x11a4ac(0x374),new Map()),this['_init']();}['dispose'](){const _0x1d06dd=_0xcffedf;super['dispose'](),this[_0x1d06dd(0x231)][_0x1d06dd(0x343)]((_0x4d6012,_0x32f7c6)=>this[_0x1d06dd(0x3b4)](_0x32f7c6)),this[_0x1d06dd(0x316)]&&window['clearInterval'](this[_0x1d06dd(0x316)]);}[_0xcffedf(0x2a9)](_0xbe9a37){const _0x5ad9fe=_0xcffedf;return this[_0x5ad9fe(0x37d)](_0xbe9a37)[_0x5ad9fe(0x245)](_0x171feb());}[_0xcffedf(0x348)](_0x1759d5){const _0x568c8b=_0xcffedf;this[_0x568c8b(0x392)]['size']===0x0&&this[_0x568c8b(0x210)](),this[_0x568c8b(0x392)][_0x568c8b(0x247)](_0x1759d5),this[_0x568c8b(0x2a3)]({'type':0x0,'memberID':this[_0x568c8b(0x22a)],'unitIDs':[_0x1759d5],'isForwarded':!0x1});}[_0xcffedf(0x357)](_0x4c4e75){const _0x54065b=_0xcffedf;this[_0x54065b(0x392)]['delete'](_0x4c4e75),this['_selfUnitIDs'][_0x54065b(0x3bb)]===0x0&&this[_0x54065b(0x316)]&&window[_0x54065b(0x1f5)](this[_0x54065b(0x316)]);}[_0xcffedf(0x1d8)](){const _0x38903d=_0xcffedf;this['disposeWithMe'](_0x331a4b(_0x33a215(window,_0x38903d(0x35d))[_0x38903d(0x1d9)](_0x5503f7=>{const _0x389a47=_0x38903d;if(_0x5503f7[_0x389a47(0x386)]!==ot||!_0x5503f7[_0x389a47(0x1f8)])return;const _0x1edb9a=JSON[_0x389a47(0x217)](_0x5503f7[_0x389a47(0x1f8)]);this[_0x389a47(0x2bf)](_0x1edb9a);}))),window[_0x38903d(0x394)](_0x38903d(0x213),()=>this[_0x38903d(0x2a3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x38903d(0x21d)](this[_0x38903d(0x392)])}));}[_0xcffedf(0x2bf)](_0x36452d){const _0x296d69=_0xcffedf;switch(_0x36452d[_0x296d69(0x2d1)]){case 0x0:this[_0x296d69(0x1ed)](_0x36452d);break;case 0x1:this['_handleLeaveEvent'](_0x36452d);break;case 0x2:this[_0x296d69(0x3ae)](_0x36452d);break;}}[_0xcffedf(0x1ed)](_0x2c2c93){const _0x3e0e48=_0xcffedf,{unitIDs:_0x58b7b6,memberID:_0x164072,isForwarded:_0x268589}=_0x2c2c93;_0x58b7b6[_0x3e0e48(0x343)](_0x5e2292=>{const _0x257649=_0x3e0e48;if(!_0x268589&&this[_0x257649(0x20a)]['has'](_0x5e2292)&&this[_0x257649(0x37d)](_0x5e2292)[_0x257649(0x1fe)](_0x113adb['OTHER_CLIENTS_EDITING']),!this[_0x257649(0x20a)][_0x257649(0x234)](_0x5e2292)||!this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)['has'](_0x164072)){const _0x2b5e8f=this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)||new Set();_0x2b5e8f[_0x257649(0x247)](_0x164072),this[_0x257649(0x20a)]['set'](_0x5e2292,_0x2b5e8f),this[_0x257649(0x23e)](_0x164072);}}),_0x268589||this[_0x3e0e48(0x2a3)]({'type':0x0,'memberID':this[_0x3e0e48(0x22a)],'unitIDs':[...this[_0x3e0e48(0x392)]],'isForwarded':!0x0});}[_0xcffedf(0x23e)](_0x3acf21){const _0x55b747=_0xcffedf;this[_0x55b747(0x3b4)](_0x3acf21);const _0x557080=window['setTimeout'](()=>{const _0xc64315=_0x55b747;this[_0xc64315(0x20a)][_0xc64315(0x343)](_0x2a523a=>{const _0x3240df=_0xc64315;_0x2a523a[_0x3240df(0x319)](_0x3acf21);});},rt*0x2);this[_0x55b747(0x231)][_0x55b747(0x305)](_0x3acf21,_0x557080);}[_0xcffedf(0x3b4)](_0xaf0906){const _0x177391=_0xcffedf;if(this[_0x177391(0x231)][_0x177391(0x234)](_0xaf0906)){const _0xaf2a3a=this[_0x177391(0x231)][_0x177391(0x21b)](_0xaf0906);_0xaf2a3a&&window[_0x177391(0x1d5)](_0xaf2a3a),this[_0x177391(0x231)][_0x177391(0x305)](_0xaf0906,null);}}[_0xcffedf(0x26f)](_0x18bc6d){const _0x373ed9=_0xcffedf,{memberID:_0x45dd7c,unitIDs:_0x1909d2}=_0x18bc6d;_0x1909d2['forEach'](_0x46be22=>{const _0x12439b=_0x12c7;var _0x38c775;const _0xbccc88=this['_unitOnClients'][_0x12439b(0x21b)](_0x46be22);_0xbccc88&&(_0xbccc88[_0x12439b(0x319)](_0x45dd7c),(_0x38c775=this[_0x12439b(0x37d)](_0x46be22))==null||_0x38c775['next'](_0xbccc88[_0x12439b(0x3bb)]===0x0?_0x113adb['NO_OTHER_CLIENTS_EDITING']:_0x113adb[_0x12439b(0x291)]));}),this[_0x373ed9(0x3b4)](_0x45dd7c);}[_0xcffedf(0x3ae)](_0x37482f){const _0x13a65a=_0xcffedf;this[_0x13a65a(0x23e)](_0x37482f['memberID']);}['_send'](_0x2138aa){const _0x3297e9=_0xcffedf;localStorage['setItem'](ot,JSON[_0x3297e9(0x332)](_0x2138aa));}['_scheduleHeartbeat'](){const _0x371d23=_0xcffedf;this['_heartbeatTimer']=window[_0x371d23(0x39f)](()=>{const _0x5e3f0a=_0x371d23;this[_0x5e3f0a(0x2a3)]({'type':0x2,'memberID':this[_0x5e3f0a(0x22a)]});},rt);}[_0xcffedf(0x37d)](_0x6fdab){const _0x516df0=_0xcffedf;return this['_unitStatus'][_0x516df0(0x234)](_0x6fdab)||this['_unitStatus'][_0x516df0(0x305)](_0x6fdab,new _0x2d4022(_0x113adb[_0x516df0(0x2a5)])),this[_0x516df0(0x374)][_0x516df0(0x21b)](_0x6fdab);}}var Ut=(_0x4a74f8=>(_0x4a74f8[_0x4a74f8['UNDEFINED']=0x0]=_0xcffedf(0x3b3),_0x4a74f8[_0x4a74f8['OK']=0x1]='OK',_0x4a74f8[_0x4a74f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4a74f8[_0x4a74f8['PERMISSION_DENIED']=0x3]=_0xcffedf(0x1d2),_0x4a74f8[_0x4a74f8['NOT_FOUND']=0x4]=_0xcffedf(0x25c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1e2)]=0x5]=_0xcffedf(0x1e2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x24c)]=0x6]=_0xcffedf(0x24c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1c5)]=0x7]=_0xcffedf(0x1c5),_0x4a74f8[_0x4a74f8[_0xcffedf(0x28c)]=0x8]=_0xcffedf(0x28c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x224)]=0x9]=_0xcffedf(0x224),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3ba)]=0xa]=_0xcffedf(0x3ba),_0x4a74f8[_0x4a74f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xcffedf(0x271),_0x4a74f8[_0x4a74f8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xcffedf(0x361),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3a3)]=0x1772]=_0xcffedf(0x3a3),_0x4a74f8[_0x4a74f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xcffedf(0x382),_0x4a74f8[_0x4a74f8[_0xcffedf(0x297)]=0x1b59]=_0xcffedf(0x297),_0x4a74f8[_0x4a74f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xcffedf(0x309),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f5)]=0x1b5b]=_0xcffedf(0x2f5),_0x4a74f8[_0x4a74f8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xcffedf(0x1ec),_0x4a74f8[_0x4a74f8[_0xcffedf(0x29a)]=0x1b5d]='APPLY_DUPLICATED',_0x4a74f8[_0x4a74f8[_0xcffedf(0x335)]=0x1f41]=_0xcffedf(0x335),_0x4a74f8[_0x4a74f8[_0xcffedf(0x300)]=0x2329]=_0xcffedf(0x300),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f4)]=0x232a]=_0xcffedf(0x2f4),_0x4a74f8[_0x4a74f8[_0xcffedf(0x33a)]=0x232b]=_0xcffedf(0x33a),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3c2)]=0x232c]=_0xcffedf(0x3c2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x225)]=0x232d]=_0xcffedf(0x225),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2ac)]=0x2711]=_0xcffedf(0x2ac),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2cb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a74f8[_0x4a74f8[_0xcffedf(0x1fb)]=0x2713]=_0xcffedf(0x1fb),_0x4a74f8[_0x4a74f8[_0xcffedf(0x342)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x221)]=0x2af9]=_0xcffedf(0x221),_0x4a74f8[_0x4a74f8[_0xcffedf(0x20f)]=0x2ee1]=_0xcffedf(0x20f),_0x4a74f8[_0x4a74f8['INVALID_INVITE_CODE']=0x2ee2]=_0xcffedf(0x28a),_0x4a74f8[_0x4a74f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0xcffedf(0x323),_0x4a74f8[_0x4a74f8[_0xcffedf(0x290)]=0x2ee4]=_0xcffedf(0x290),_0x4a74f8[_0x4a74f8[_0xcffedf(0x377)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x36c)]=-0x1]=_0xcffedf(0x36c),_0x4a74f8))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x462626,_0x2f79ee,_0x2f3e29,_0x2756a0)=>{const _0x5f24d2=_0xcffedf;for(var _0x299245=_0x2756a0>0x1?void 0x0:_0x2756a0?Rn(_0x2f79ee,_0x2f3e29):_0x2f79ee,_0x4f36e5=_0x462626[_0x5f24d2(0x3bf)]-0x1,_0x5c6d30;_0x4f36e5>=0x0;_0x4f36e5--)(_0x5c6d30=_0x462626[_0x4f36e5])&&(_0x299245=_0x5c6d30(_0x299245)||_0x299245);return _0x299245;},Te=(_0x4eff29,_0x536d71)=>(_0x152cd3,_0x640526)=>_0x536d71(_0x152cd3,_0x640526,_0x4eff29);let at=class extends _0xc24441{constructor(_0x359ef0,_0x5a405c,_0x4dc4d0){const _0x45ff22=_0xcffedf;super(),this[_0x45ff22(0x36a)]=_0x359ef0,this[_0x45ff22(0x36f)]=_0x5a405c,this[_0x45ff22(0x2d7)]=_0x4dc4d0;}async[_0xcffedf(0x207)](_0x27cb7c,_0x413998,_0x3e82a3,..._0x4ef301){const _0xc8bb29=_0xcffedf;var _0x437191,_0x3bdbcd,_0x533305,_0x322520;const _0x21c482=this[_0xc8bb29(0x36a)]['getFocusedUnit']();if(!_0x21c482)throw new Error(_0xc8bb29(0x33e));const _0x199bdc=((_0x437191=this[_0xc8bb29(0x2d7)][_0xc8bb29(0x2f6)](_0x5734b9))!=null?_0x437191:_0x155a2d)+'/'+_0x27cb7c+_0xc8bb29(0x1db)+_0x413998,_0x47dc93=new URL(window['location'][_0xc8bb29(0x2c8)]),_0x3a70a7={'scriptId':_0x27cb7c,'runId':(_0x3bdbcd=_0x47dc93[_0xc8bb29(0x388)]['get']('runId'))!=null?_0x3bdbcd:'','function':_0x413998,'unitId':_0x21c482['getUnitId'](),'argsOfFunction':JSON[_0xc8bb29(0x332)](_0x4ef301),'invokeId':(_0x533305=_0x3e82a3[_0xc8bb29(0x2e5)])!=null?_0x533305:'','executionId':(_0x322520=_0x3e82a3[_0xc8bb29(0x1c4)])!=null?_0x322520:''};try{const _0x59e60a=await this[_0xc8bb29(0x36f)][_0xc8bb29(0x363)](_0x199bdc,{'body':_0x3a70a7});return _0x59e60a[_0xc8bb29(0x337)][_0xc8bb29(0x2f3)]&&_0x59e60a[_0xc8bb29(0x337)]['error'][_0xc8bb29(0x362)]!==Ut['OK']?_0xc8bb29(0x200):_0x59e60a[_0xc8bb29(0x337)]['result'];}catch{return _0xc8bb29(0x200);}}};at=Dn([Te(0x0,_0x2eb697),Te(0x1,_0x695648(_0x56ebd1)),Te(0x2,_0x572b85)],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/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x107c(){const _0x51d79a=['132cwEuZK','1918etnmdI','16zHcxCI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','513262NzXZcS','Collaboration\x20Conflict','22NNMPun','317658fBUDNJ','66sarltB','Edit\x20conflicts','2008944LGFFTp','4112QgLZdd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','1390WztJon','Local\x20file','1320180BeHSrw','Syncing...','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.','180947xASNHk','2KyAfKp'];_0x107c=function(){return _0x51d79a;};return _0x107c();}const _0x35b5c1=_0x8237;function _0x8237(_0x43005f,_0x4c04cd){const _0x107cae=_0x107c();return _0x8237=function(_0x823770,_0x5e2b69){_0x823770=_0x823770-0xfc;let _0x2cd7d0=_0x107cae[_0x823770];return _0x2cd7d0;},_0x8237(_0x43005f,_0x4c04cd);}(function(_0x3e8c91,_0x25aede){const _0x14e822=_0x8237,_0x246ccf=_0x3e8c91();while(!![]){try{const _0x1ca4cc=-parseInt(_0x14e822(0x110))/0x1*(-parseInt(_0x14e822(0x100))/0x2)+parseInt(_0x14e822(0x103))/0x3*(parseInt(_0x14e822(0x113))/0x4)+-parseInt(_0x14e822(0x10a))/0x5*(-parseInt(_0x14e822(0x104))/0x6)+-parseInt(_0x14e822(0x112))/0x7*(-parseInt(_0x14e822(0x107))/0x8)+-parseInt(_0x14e822(0x106))/0x9+parseInt(_0x14e822(0x10c))/0xa*(-parseInt(_0x14e822(0x102))/0xb)+parseInt(_0x14e822(0x111))/0xc*(-parseInt(_0x14e822(0x10f))/0xd);if(_0x1ca4cc===_0x25aede)break;else _0x246ccf['push'](_0x246ccf['shift']());}catch(_0x34fc7e){_0x246ccf['push'](_0x246ccf['shift']());}}}(_0x107c,0x6b813));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x35b5c1(0x109),'conflict':_0x35b5c1(0x105),'notCollab':_0x35b5c1(0x10b),'synced':_0x35b5c1(0xfe),'syncing':_0x35b5c1(0x10d),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x35b5c1(0xff),'room-full':_0x35b5c1(0xfd),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x35b5c1(0x101),'content':_0x35b5c1(0x10e)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x35b5c1(0x108)},'closeRoom':_0x35b5c1(0xfc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d4e0f=_0x403c;(function(_0x2d3556,_0x2dfd82){const _0x1bfa87=_0x403c,_0x3ab8c4=_0x2d3556();while(!![]){try{const _0x3726a0=parseInt(_0x1bfa87(0x18e))/0x1*(-parseInt(_0x1bfa87(0x190))/0x2)+parseInt(_0x1bfa87(0x198))/0x3+-parseInt(_0x1bfa87(0x19d))/0x4*(-parseInt(_0x1bfa87(0x18b))/0x5)+parseInt(_0x1bfa87(0x19b))/0x6+parseInt(_0x1bfa87(0x18a))/0x7*(-parseInt(_0x1bfa87(0x192))/0x8)+-parseInt(_0x1bfa87(0x193))/0x9+parseInt(_0x1bfa87(0x194))/0xa;if(_0x3726a0===_0x2dfd82)break;else _0x3ab8c4['push'](_0x3ab8c4['shift']());}catch(_0x5773a2){_0x3ab8c4['push'](_0x3ab8c4['shift']());}}}(_0x26b4,0xe6bd4));function _0x403c(_0x52a45b,_0x20e7f4){const _0x26b43c=_0x26b4();return _0x403c=function(_0x403c77,_0x5dd413){_0x403c77=_0x403c77-0x184;let _0x30656e=_0x26b43c[_0x403c77];return _0x30656e;},_0x403c(_0x52a45b,_0x20e7f4);}const o={'collab-client':{'tooltip':{'reconnect':_0x5d4e0f(0x189)}},'collabStatus':{'fetchMiss':_0x5d4e0f(0x18d),'conflict':_0x5d4e0f(0x186),'notCollab':_0x5d4e0f(0x18c),'synced':_0x5d4e0f(0x185),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x5d4e0f(0x19a)},'session':{'connection-failed':_0x5d4e0f(0x188),'will-retry':_0x5d4e0f(0x195),'room-full':_0x5d4e0f(0x191),'collaboration-timeout':_0x5d4e0f(0x19c)},'conflict':{'title':_0x5d4e0f(0x196),'content':_0x5d4e0f(0x197)},'permission':{'title':_0x5d4e0f(0x184),'content':_0x5d4e0f(0x187)},'collaboration':{'single-unit':{'warning':_0x5d4e0f(0x199)},'closeRoom':_0x5d4e0f(0x18f)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x26b4(){const _0xb0de14=['13636XyDgZc','خطای\x20اعتبارسنجی','همگام\x20سازی','تداخل\x20ویرایش','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','1700972IsVzfP','1965mIjXzp','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','89ZcyZJZ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','15518JRoIKN','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','56jKVsRe','269991HqNOKC','3824200xZgRpO','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','3245802BXnApM','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','3375234UzAtJJ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x26b4=function(){return _0xb0de14;};return _0x26b4();}
|