@univerjs-pro/collaboration-client-ui 0.9.4-nightly.202507290757 → 0.10.0
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x962cf9=_0x188b;(function(_0x2c5956,_0x3bc6de){const _0x5c3258=_0x188b,_0x257cc3=_0x2c5956();while(!![]){try{const _0x3d56b2=parseInt(_0x5c3258(0x37a))/0x1*(-parseInt(_0x5c3258(0x282))/0x2)+-parseInt(_0x5c3258(0x2b3))/0x3+-parseInt(_0x5c3258(0x303))/0x4+-parseInt(_0x5c3258(0x327))/0x5*(-parseInt(_0x5c3258(0x1ef))/0x6)+parseInt(_0x5c3258(0x2ef))/0x7*(-parseInt(_0x5c3258(0x331))/0x8)+-parseInt(_0x5c3258(0x21f))/0x9+parseInt(_0x5c3258(0x340))/0xa*(parseInt(_0x5c3258(0x366))/0xb);if(_0x3d56b2===_0x3bc6de)break;else _0x257cc3['push'](_0x257cc3['shift']());}catch(_0x89b23a){_0x257cc3['push'](_0x257cc3['shift']());}}}(_0x4864,0x4fd75));var xt=Object[_0x962cf9(0x338)],Bt=(_0x33b63c,_0x31c65a,_0x3ff787)=>_0x31c65a in _0x33b63c?xt(_0x33b63c,_0x31c65a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff787}):_0x33b63c[_0x31c65a]=_0x3ff787,_=(_0x49cd94,_0x4ac921,_0x4af5bb)=>Bt(_0x49cd94,typeof _0x4ac921!=_0x962cf9(0x3ed)?_0x4ac921+'':_0x4ac921,_0x4af5bb);import{MemberService as _0x44e05b,SessionStatus as _0x5e760a,CollaborationSessionService as _0x193bf2,CollaborationStatus as _0x6cb9cb,CollaborationController as _0x305548,ILocalCacheService as _0x2c845a,CollaborationUIEventService as _0x2eac54,CollaborationUIEventId as _0x57b00b,DataLoaderService as _0x46019f,DocCollaborationEntity as _0x52bfbc,getLocalCacheKey as _0x2923f1,LOCAL_CACHE_INTERVAL as _0x645872,LOCAL_CACHE_INTERVAL_KEY as _0x3cc047,UniverCollaborationClientPlugin as _0x246b97,CollaborationSocketService as _0x47b134,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x560485,DEFAULT_WS_SESSION_TICKET_URL as _0x1a3bf9,UnitStatus as _0xa42b24,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4794eb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3170bf}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x18aeae,Disposable as _0x28d182,DOC_RANGE_TYPE as _0x3de40f,Inject as _0xcb25a3,Injector as _0x266e02,IUniverInstanceService as _0x163e05,ICommandService as _0xfb0aa9,debounce as _0x397ea6,Rectangle as _0x3a69ba,DisposableCollection as _0x5bfc5c,toDisposable as _0x354a81,UniverInstanceType as _0x11844b,generateRandomId as _0x1ebbcc,COLORS as _0x4a7b72,ColorKit as _0x56ac4f,ThemeService as _0x16a58d,fromEventSubject as _0x502021,LocaleService as _0x430f5d,createIdentifier as _0x21c8fa,ILogService as _0x4b5f06,Optional as _0x308ac6,Workbook as _0x1b3c74,Tools as _0x59a4e3,CommandType as _0x1d3f18,IConfigService as _0x4befe5,ILocalStorageService as _0x258cee,DependentOn as _0x296f17,Plugin as _0x3a3a0d,merge as _0x2af056,registerDependencies as _0x418a4b,mergeOverrideWithDependencies as _0x4a5b4b,touchDependencies as _0x47fe41}from'@univerjs/core';import{Shape as _0x539d2d,Rect as _0x46a699,getColor as _0x175f6c,RegularPolygon as _0x2a0284,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2ceced,Vector2 as _0x55f890,SHEET_VIEWPORT_KEY as _0x42a5e7,IRenderManagerService as _0x288115}from'@univerjs/engine-render';import{ISocketService as _0x7ddd3f,WebSocketService as _0x10595c,HTTPService as _0x55461b}from'@univerjs/network';import{IDocClipboardService as _0x321e6d,NodePositionConvertToCursor as _0x235692,NodePositionConvertToRectRange as _0x43f332,TEXT_RANGE_LAYER_INDEX as _0x25c91b,SetDocZoomRatioOperation as _0x3f79cf,DocIMEInputManagerService as _0x59b75e,DocStateChangeManagerService as _0x717295}from'@univerjs/docs-ui';import{IImageIoService as _0x388d5b}from'@univerjs/drawing';import{BehaviorSubject as _0x1c5311,debounceTime as _0x3c5b4e,takeUntil as _0x1bd82a,Subject as _0x4695d8,filter as _0x1236d0,switchMap as _0x2f8d76,merge as _0x11111f,combineLatest as _0x2237a4,of as _0x4d0da8,fromEvent as _0x417bf8,shareReplay as _0x2a4246,mapTo as _0x122c39,distinctUntilChanged as _0x5d80e7}from'rxjs';import{ITransformService as _0x4a79a0,CollaborationEvent as _0x3672bc,isTransformMutationFailure as _0x4c0423,isTransformMutationsWithChangesetSuccess as _0x3cbbdb,RevisionService as _0x4035c3,ISnapshotServerService as _0x1a3962}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4b71a8,RichTextEditingMutation as _0x310036,DocSelectionManagerService as _0x3f746d,DocSkeletonManagerService as _0x2bca3f}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x526017,serializeRangeWithSheet as _0xfa712e}from'@univerjs/engine-formula';import{RefRangeService as _0x1c651d,SetSelectionsOperation as _0x11fc24,SheetsSelectionsService as _0x5c4cf1,EffectRefRangId as _0x5a318d,handleIRemoveRow as _0x410181,handleIRemoveCol as _0x416efc,handleMoveRange as _0x1ae13c,handleInsertRow as _0x404933,handleInsertRangeMoveRight as _0x283dee,handleInsertRangeMoveDown as _0x1426b,handleInsertCol as _0x1a3809,handleDeleteRangeMoveUp as _0x349952,handleDeleteRangeMoveLeft as _0x411b54,runRefRangeMutations as _0x5018ea,SetWorksheetActivateCommand as _0x4b7744}from'@univerjs/sheets';import{map as _0x47ba9f,filter as _0x2dd156,throttleTime as _0x54ce4a,takeUntil as _0x3552e3,switchMap as _0xf9b43b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5eb21a,getCoordByCell as _0x13ed17,getSheetObject as _0x3fa149}from'@univerjs/sheets-ui';import{jsx as _0x535b0f,jsxs as _0xb613cd}from'react/jsx-runtime';import{useObservable as _0x596b18,useDependency as _0x484074,IUIPartsService as _0x30a935,BuiltInUIPart as _0xdbd323,connectInjector as _0x50120e,IBeforeCloseService as _0x177a2b,IMessageService as _0x163a37,INotificationService as _0x22f31f}from'@univerjs/ui';import{Tooltip as _0x154e34,clsx as _0x46edce,MessageType as _0x389fd2}from'@univerjs/design';import{forwardRef as _0x2f8ad9,useRef as _0x30aa5e,createElement as _0x5d95a3,useCallback as _0x4728c0}from'react';import{IRemoteInstanceService as _0x12a8e4}from'@univerjs/rpc';var ci=Object[_0x962cf9(0x31b)],li=(_0x56043e,_0x38c83b,_0x14308d,_0x3f188f)=>{const _0x2e8480=_0x962cf9;for(var _0x3d57ec=_0x3f188f>0x1?void 0x0:_0x3f188f?ci(_0x38c83b,_0x14308d):_0x38c83b,_0x43d421=_0x56043e[_0x2e8480(0x1fd)]-0x1,_0x951ad9;_0x43d421>=0x0;_0x43d421--)(_0x951ad9=_0x56043e[_0x43d421])&&(_0x3d57ec=_0x951ad9(_0x3d57ec)||_0x3d57ec);return _0x3d57ec;},Je=(_0x6d196e,_0x43faec)=>(_0x2e735f,_0xcd7e9b)=>_0x43faec(_0x2e735f,_0xcd7e9b,_0x6d196e);let Ne=class extends _0x18aeae{constructor(_0x2ec7d7,_0xa69771){const _0x84a3da=_0x962cf9;super(),this[_0x84a3da(0x34c)]=_0x2ec7d7,this[_0x84a3da(0x315)]=_0xa69771,this[_0x84a3da(0x32c)]();}[_0x962cf9(0x32c)](){const _0x3207ea=_0x962cf9,_0xd4f1cd=this;this['disposeWithMe'](this[_0x3207ea(0x34c)][_0x3207ea(0x2e0)]({'onBeforePasteImage':async _0x1b31d1=>{const _0x2588b5=_0x3207ea,_0x306afd=await _0xd4f1cd[_0x2588b5(0x315)][_0x2588b5(0x3db)](_0x1b31d1);return _0x306afd?{'source':_0x306afd[_0x2588b5(0x2e1)],'imageSourceType':_0x306afd[_0x2588b5(0x3b4)]}:null;}}));}};Ne=li([Je(0x0,_0x321e6d),Je(0x1,_0x388d5b)],Ne);const Ze=['purple.300',_0x962cf9(0x2e2),'green.600',_0x962cf9(0x329),_0x962cf9(0x218),_0x962cf9(0x29f)];class ke extends _0x28d182{constructor(){const _0x134eb8=_0x962cf9;super(...arguments),_(this,_0x134eb8(0x36e),new Map()),_(this,_0x134eb8(0x27f),0x0);}[_0x962cf9(0x358)](_0x1bafc3){const _0x4dfbdb=_0x962cf9;if(this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x2f3)](_0x1bafc3))return this['_assignedColors'][_0x4dfbdb(0x22d)](_0x1bafc3);const _0x403826=Ze[this[_0x4dfbdb(0x27f)]];return this[_0x4dfbdb(0x27f)]=(this['_colorIndex']+0x1)%Ze[_0x4dfbdb(0x1fd)],this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x335)](_0x1bafc3,_0x403826),_0x403826;}}function Rt(_0x128d29){const _0xc5d4f2=_0x962cf9;let _0xa6a586='';for(const _0xaa7245 of _0x128d29){const {startOffset:_0x35871b,endOffset:_0x417d0f,isActive:_0x364ac1,rangeType:_0x210c8b,segmentId:_0x43abe4,segmentPage:_0x170738}=_0xaa7245;_0xa6a586[_0xc5d4f2(0x1fd)]&&(_0xa6a586+=','),_0xa6a586+=_0x35871b+':'+_0x417d0f+':'+(_0x364ac1?'1':'0')+':'+_0x210c8b+':'+_0x43abe4+':'+_0x170738;}return _0xa6a586;}function _i(_0x5321ca){const _0x4a920e=_0x962cf9,_0x17e8a1=_0x5321ca[_0x4a920e(0x27d)](','),_0x31b6ef=[];for(const _0x5363be of _0x17e8a1){const [_0x53660d,_0x3d0e19,_0x100a39,_0x3274df,_0xede01c,_0x2a92cf]=_0x5363be[_0x4a920e(0x27d)](':');_0x31b6ef[_0x4a920e(0x3d1)]({'startOffset':Number(_0x53660d),'endOffset':Number(_0x3d0e19),'collapsed':_0x53660d===_0x3d0e19,'isActive':_0x100a39==='1','rangeType':_0x3274df===_0x3de40f[_0x4a920e(0x2f9)]?_0x3de40f[_0x4a920e(0x2f9)]:_0x3de40f['RECT'],'segmentId':typeof _0xede01c==_0x4a920e(0x377)?String(_0xede01c):'','segmentPage':Number(_0x2a92cf!=null?_0x2a92cf:-0x1)});}return _0x31b6ef[_0x4a920e(0x34f)](_0x10cd15=>_0x10cd15['isActive'])||(_0x31b6ef[0x0][_0x4a920e(0x2ae)]=!0x0),_0x31b6ef;}class He extends _0x18aeae{constructor(){const _0x24b630=_0x962cf9;super(...arguments),_(this,_0x24b630(0x241),new _0x1c5311(null)),_(this,'collabCursorState$',this[_0x24b630(0x241)]['asObservable']());}['syncEditingCollabCursor'](_0x2202db){const _0x399586=_0x962cf9,{unitID:_0x2a2b02,memberID:_0x40ec5d,textRanges:_0x1d883a}=_0x2202db,_0x7173ea=Rt(_0x1d883a);if(_0x7173ea==='')return;const _0x26c1dd={'unitID':_0x2a2b02,'memberID':_0x40ec5d,'selection':_0x7173ea};this['_collabCursorState$'][_0x399586(0x30e)](_0x26c1dd);}}var hi=Object[_0x962cf9(0x31b)],ui=(_0x153f04,_0x9489e1,_0x3a3ca4,_0x1e22f6)=>{const _0x3347be=_0x962cf9;for(var _0x4b2491=_0x1e22f6>0x1?void 0x0:_0x1e22f6?hi(_0x9489e1,_0x3a3ca4):_0x9489e1,_0x2cbf9e=_0x153f04[_0x3347be(0x1fd)]-0x1,_0x191333;_0x2cbf9e>=0x0;_0x2cbf9e--)(_0x191333=_0x153f04[_0x2cbf9e])&&(_0x4b2491=_0x191333(_0x4b2491)||_0x4b2491);return _0x4b2491;},P=(_0x14e2ed,_0x4a760b)=>(_0x4644c9,_0x1c0c24)=>_0x4a760b(_0x4644c9,_0x1c0c24,_0x14e2ed);const di=0x12c,fi=0x64;let Ue=class extends _0x18aeae{constructor(_0x39f87a,_0x14f195,_0x4cc5fd,_0x471b48,_0x5e0d67,_0x216ff2,_0xc1caf8,_0x23dd04,_0x30b2e7){const _0x5ccccb=_0x962cf9;super(),_(this,'_online',!0x1),_(this,_0x5ccccb(0x32c),!0x1),_(this,_0x5ccccb(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this[_0x5ccccb(0x227)]['asObservable']()),_(this,_0x5ccccb(0x258),new _0x1c5311([])),_(this,'roomMembers$',this[_0x5ccccb(0x258)]['pipe'](_0x3c5b4e(di))),_(this,_0x5ccccb(0x3b6),_0x397ea6(_0x316a50=>{const _0x32c785=_0x5ccccb,_0x1b1a39={'eventID':_0x3672bc[_0x32c785(0x333)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x32c785(0x230)](),'selection':Rt(_0x316a50)}};this[_0x32c785(0x1fa)][_0x32c785(0x1fc)](_0x1b1a39,this[_0x32c785(0x295)]);},fi)),(this['unitID']=_0x39f87a,this[_0x5ccccb(0x1fa)]=_0x14f195,this[_0x5ccccb(0x35e)]=_0x4cc5fd,this['_colorAssignService']=_0x471b48,this[_0x5ccccb(0x346)]=_0x5e0d67,this[_0x5ccccb(0x322)]=_0x216ff2,this['_transformService']=_0xc1caf8,this['_univerInstanceService']=_0x23dd04,this[_0x5ccccb(0x3af)]=_0x30b2e7);}get[_0x962cf9(0x2fd)](){const _0x23374c=_0x962cf9;return this[_0x23374c(0x227)]['getValue']();}get[_0x962cf9(0x21c)](){const _0x2ef2ac=_0x962cf9;return this[_0x2ef2ac(0x258)][_0x2ef2ac(0x264)]();}[_0x962cf9(0x2e8)](){const _0x215ff9=_0x962cf9;super[_0x215ff9(0x2e8)](),this[_0x215ff9(0x227)][_0x215ff9(0x30e)](new Map()),this[_0x215ff9(0x227)][_0x215ff9(0x1e2)](),this[_0x215ff9(0x258)][_0x215ff9(0x30e)]([]),this['_roomMembers$'][_0x215ff9(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x437eb6=_0x962cf9;this['_init']||(this[_0x437eb6(0x32c)]=!0x0,this[_0x437eb6(0x1fa)][_0x437eb6(0x2df)][_0x437eb6(0x3c5)](_0x1bd82a(this['dispose$']))[_0x437eb6(0x321)](_0x56317f=>{const _0x3167a9=_0x437eb6;_0x56317f===_0x5e760a[_0x3167a9(0x2f4)]?this['_toggleOnline']():this[_0x3167a9(0x32a)]();}),this[_0x437eb6(0x1fa)][_0x437eb6(0x37b)][_0x437eb6(0x3c5)](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0xf5b9d8=>{const _0x50098e=_0x437eb6,_0x17cd53=_0xf5b9d8[_0x50098e(0x318)];_0x17cd53===_0x3672bc[_0x50098e(0x333)]&&this[_0x50098e(0x35c)](_0xf5b9d8),_0x17cd53===_0x3672bc[_0x50098e(0x389)]&&this[_0x50098e(0x313)](_0xf5b9d8);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)]['onCommandExecuted'](_0x13064a=>{const _0x2c910f=_0x437eb6,_0xadb9aa=_0x13064a[_0x2c910f(0x334)];_0xadb9aa!=null&&this[_0x2c910f(0x200)]&&_0x13064a['id']===_0x4b71a8['id']&&_0xadb9aa['unitId']===this[_0x2c910f(0x295)]&&_0xadb9aa[_0x2c910f(0x34b)]===!0x1&&_0xadb9aa['ranges']['length']>0x0&&this[_0x2c910f(0x3b6)](_0xadb9aa[_0x2c910f(0x30b)]);})),this[_0x437eb6(0x322)][_0x437eb6(0x2a8)]['pipe'](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0x4c2963=>{const _0x5bff6a=_0x437eb6;if((_0x4c2963==null?void 0x0:_0x4c2963[_0x5bff6a(0x295)])!==this[_0x5bff6a(0x295)])return;const _0x5a5cba={'eventID':_0x3672bc[_0x5bff6a(0x333)],'data':_0x4c2963};this[_0x5bff6a(0x35c)](_0x5a5cba);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)][_0x437eb6(0x23a)](_0x367b3f=>{const _0x405870=_0x437eb6;if(_0x367b3f[_0x405870(0x334)]==null)return;const _0x526698=_0x367b3f[_0x405870(0x334)];if(_0x367b3f['id']!==_0x310036['id']||_0x526698[_0x405870(0x3bf)]!==this[_0x405870(0x295)])return;const _0x42d049={'id':'doc.mutation.rich-text-editing','params':_0x526698},_0x35de8e=this[_0x405870(0x2fd)];for(const [_0x334bad,_0x6292bd]of _0x35de8e){const _0x3a79c2={'id':_0x405870(0x25a),'params':{'unitId':this[_0x405870(0x295)],'actions':null,'textRanges':_0x6292bd[_0x405870(0x30b)]}},_0x471e05=this['_transformService'][_0x405870(0x1f9)](_0x42d049,_0x3a79c2,!0x1);if(_0x4c0423(_0x471e05))throw _0x471e05['error'];_0x35de8e['set'](_0x334bad,{..._0x6292bd,'ranges':_0x471e05['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5b9a18=_0x405870;this[_0x5b9a18(0x227)][_0x5b9a18(0x30e)](_0x35de8e);});})));}[_0x962cf9(0x35c)](_0x5adde3){const _0x18f891=_0x962cf9;var _0xf54770,_0x5e7e4a;const {memberID:_0x42828f,selection:_0x43d545}=_0x5adde3[_0x18f891(0x228)],_0xc06910=_i(_0x43d545),_0x12ba7a=(_0x5e7e4a=(_0xf54770=this[_0x18f891(0x346)]['getMember'](this['unitID'],_0x42828f))==null?void 0x0:_0xf54770[_0x18f891(0x3f4)])!=null?_0x5e7e4a:_0x18f891(0x242),_0x3d9417={'color':this[_0x18f891(0x26e)]['assignAColorForMemberID'](_0x42828f),'name':_0x12ba7a,'ranges':_0xc06910},_0x104488=this[_0x18f891(0x2fd)];_0x104488[_0x18f891(0x335)](_0x42828f,_0x3d9417),this[_0x18f891(0x227)][_0x18f891(0x30e)](_0x104488);}[_0x962cf9(0x313)](_0x4db48f){const _0x479b4b=_0x962cf9,{memberID:_0x2b08c1}=_0x4db48f['data'],_0x2a9a86=this[_0x479b4b(0x2fd)];_0x2a9a86[_0x479b4b(0x260)](_0x2b08c1),this[_0x479b4b(0x227)][_0x479b4b(0x30e)](_0x2a9a86);}[_0x962cf9(0x2b2)](){const _0x3e9e6b=_0x962cf9;var _0x12abc4;if(this['_online']=!0x0,((_0x12abc4=this[_0x3e9e6b(0x221)][_0x3e9e6b(0x320)]())==null?void 0x0:_0x12abc4[_0x3e9e6b(0x2db)]())!==this[_0x3e9e6b(0x295)])return;const _0x4a6c65=this[_0x3e9e6b(0x35e)]['get'](_0x3f746d)['getDocRanges']();Array['isArray'](_0x4a6c65)&&_0x4a6c65[_0x3e9e6b(0x1fd)]>0x0&&this[_0x3e9e6b(0x3b6)](_0x4a6c65);}['_toggleOffline'](){const _0x99d06b=_0x962cf9;this[_0x99d06b(0x200)]=!0x1;}};Ue=ui([P(0x2,_0xcb25a3(_0x266e02)),P(0x3,_0xcb25a3(ke)),P(0x4,_0xcb25a3(_0x44e05b)),P(0x5,_0xcb25a3(He)),P(0x6,_0x4a79a0),P(0x7,_0x163e05),P(0x8,_0xfb0aa9)],Ue);var Si=Object[_0x962cf9(0x31b)],mi=(_0x127a4c,_0x1d159f,_0x2040cb,_0xc5afc2)=>{const _0x331de1=_0x962cf9;for(var _0x256071=_0xc5afc2>0x1?void 0x0:_0xc5afc2?Si(_0x1d159f,_0x2040cb):_0x1d159f,_0x31d5b9=_0x127a4c[_0x331de1(0x1fd)]-0x1,_0x1ad86e;_0x31d5b9>=0x0;_0x31d5b9--)(_0x1ad86e=_0x127a4c[_0x31d5b9])&&(_0x256071=_0x1ad86e(_0x256071)||_0x256071);return _0x256071;},x=(_0x1c04e0,_0x570b04)=>(_0x142510,_0x255b44)=>_0x570b04(_0x142510,_0x255b44,_0x1c04e0);const Ii=0x12c,vi=0x64,gi=()=>{let _0x1afec1=[],_0x9e16a9=!0x1;return _0x14321b=>{_0x1afec1['push'](_0x14321b),_0x9e16a9||(_0x9e16a9=!0x0,setTimeout(()=>{const _0x53f97a=_0x188b;_0x1afec1[_0x53f97a(0x2c1)](_0x179407=>_0x179407()),_0x1afec1=[],_0x9e16a9=!0x1;}));};};let Me=class extends _0x18aeae{constructor(_0x209516,_0x4f1664,_0x2e39bd,_0x27b067,_0x3cab3b,_0x4564b3,_0x4038fb,_0x257345){const _0x2d6c96=_0x962cf9;super(),_(this,_0x2d6c96(0x200),!0x1),_(this,'_init',!0x1),_(this,_0x2d6c96(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x2d6c96(0x3d2)]()),_(this,_0x2d6c96(0x258),new _0x1c5311([])),_(this,_0x2d6c96(0x25f),this[_0x2d6c96(0x258)][_0x2d6c96(0x3c5)](_0x3c5b4e(Ii))),_(this,_0x2d6c96(0x3b6),_0x397ea6((_0xb0e4c3,_0xcf5c44)=>{const _0x5dc367=_0x2d6c96,_0x3a77e1={'eventID':_0x3672bc[_0x5dc367(0x333)],'data':{'unitID':this[_0x5dc367(0x295)],'memberID':this['_session'][_0x5dc367(0x230)](),'selection':_0xfa712e(_0xb0e4c3,_0xcf5c44[_0x5dc367(0x3a2)])}};this[_0x5dc367(0x1fa)][_0x5dc367(0x1fc)](_0x3a77e1,this[_0x5dc367(0x295)]);},vi)),(this['unitID']=_0x209516,this[_0x2d6c96(0x1fa)]=_0x4f1664,this['_injector']=_0x2e39bd,this[_0x2d6c96(0x26e)]=_0x27b067,this[_0x2d6c96(0x346)]=_0x3cab3b,this[_0x2d6c96(0x221)]=_0x4564b3,this[_0x2d6c96(0x3af)]=_0x4038fb,this['_refRangeService']=_0x257345);}get[_0x962cf9(0x2fd)](){const _0x42cbc5=_0x962cf9;return this[_0x42cbc5(0x227)][_0x42cbc5(0x264)]();}get[_0x962cf9(0x21c)](){const _0xd3faef=_0x962cf9;return this[_0xd3faef(0x258)][_0xd3faef(0x264)]();}['dispose'](){const _0x501fac=_0x962cf9;super[_0x501fac(0x2e8)](),this['_cursorInfo$']['next'](new Map()),this[_0x501fac(0x227)][_0x501fac(0x1e2)](),this[_0x501fac(0x258)][_0x501fac(0x30e)]([]),this[_0x501fac(0x258)][_0x501fac(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x373150=_0x962cf9;this[_0x373150(0x32c)]||(this[_0x373150(0x32c)]=!0x0,this['_session'][_0x373150(0x2df)]['pipe'](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x44296b=>{const _0x42206b=_0x373150;_0x44296b===_0x5e760a[_0x42206b(0x2f4)]?this['_toggleOnline']():this[_0x42206b(0x32a)]();}),this['_session'][_0x373150(0x37b)][_0x373150(0x3c5)](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x15ef4e=>{const _0x2d3260=_0x373150,_0x25ee0b=_0x15ef4e[_0x2d3260(0x318)];_0x25ee0b===_0x3672bc[_0x2d3260(0x333)]&&this[_0x2d3260(0x35c)](_0x15ef4e),_0x25ee0b===_0x3672bc[_0x2d3260(0x389)]&&this[_0x2d3260(0x313)](_0x15ef4e);}),this[_0x373150(0x39c)](),this[_0x373150(0x36c)](this[_0x373150(0x3af)]['onCommandExecuted'](_0x2d8d30=>{const _0x33fc1f=_0x373150;if(this[_0x33fc1f(0x200)]&&_0x2d8d30['id']===_0x11fc24['id']&&_0x2d8d30[_0x33fc1f(0x334)]['unitId']===this[_0x33fc1f(0x295)]){const _0x2f3f87=_0x2d8d30['params'];this[_0x33fc1f(0x3b6)](_0x2f3f87[_0x33fc1f(0x288)],_0x2f3f87[_0x33fc1f(0x296)][0x0]);}})));}[_0x962cf9(0x35c)](_0x441de7){const _0x1feb46=_0x962cf9;var _0x2321d8,_0x2962af;const {memberID:_0xfbfdb7,selection:_0x2916f2}=_0x441de7[_0x1feb46(0x228)],{sheetName:_0xad0f62,range:_0x720e04}=_0x526017(_0x2916f2),_0x4fe83f={'name':(_0x2962af=(_0x2321d8=this[_0x1feb46(0x346)]['getMember'](this[_0x1feb46(0x295)],_0xfbfdb7))==null?void 0x0:_0x2321d8[_0x1feb46(0x3f4)])!=null?_0x2962af:_0x1feb46(0x242),'range':this['_getMergeRange'](_0xad0f62,_0x720e04),'sheetID':_0xad0f62,'color':this[_0x1feb46(0x26e)]['assignAColorForMemberID'](_0xfbfdb7),'selection':_0x2916f2},_0x24e21f=this[_0x1feb46(0x2fd)];_0x24e21f['set'](_0xfbfdb7,_0x4fe83f),this[_0x1feb46(0x227)][_0x1feb46(0x30e)](_0x24e21f);}['_onCursorDelete'](_0x12d11e){const _0x266823=_0x962cf9,{memberID:_0xe26309}=_0x12d11e[_0x266823(0x228)],_0x3dd357=this[_0x266823(0x2fd)];_0x3dd357['delete'](_0xe26309),this[_0x266823(0x227)][_0x266823(0x30e)](_0x3dd357);}['_getMergeRange'](_0xcf6e4a,_0x465e27){const _0xa8592b=_0x962cf9;var _0x1af5a0,_0x588e1a;const _0xc7b118=(_0x588e1a=(_0x1af5a0=this[_0xa8592b(0x221)][_0xa8592b(0x310)](this[_0xa8592b(0x295)]))==null?void 0x0:_0x1af5a0[_0xa8592b(0x24d)](_0xcf6e4a))==null?void 0x0:_0x588e1a[_0xa8592b(0x31c)]();return(_0xc7b118==null?void 0x0:_0xc7b118[_0xa8592b(0x226)](_0x410381=>_0x3a69ba[_0xa8592b(0x229)](_0x410381,_0x465e27)))||_0x465e27;}[_0x962cf9(0x39c)](){const _0x1923db=_0x962cf9,_0x61cb0f=new _0x5bfc5c(),_0x21075d=gi(),_0x215aad=()=>{const _0x16a3a6=_0x188b;_0x61cb0f[_0x16a3a6(0x2e8)]();const _0x17aabb=(_0x4bcba9,_0x49db0c,_0x441fb1,_0x13c71a)=>{const _0x3c7524=_0x16a3a6;let _0x2662ce=[];switch(_0x4bcba9['id']){case _0x5a318d[_0x3c7524(0x1e1)]:{_0x2662ce=_0x411b54(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x24a)]:{_0x2662ce=_0x349952(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38c)]:{_0x2662ce=_0x1a3809(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38f)]:{_0x2662ce=_0x1426b(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x29c)]:{_0x2662ce=_0x283dee(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2f2)]:{_0x2662ce=_0x404933(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x34a)]:{_0x2662ce=_0x1ae13c(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2b0)]:{_0x2662ce=_0x416efc(_0x4bcba9,_0x13c71a);break;}case _0x5a318d['RemoveRowCommandId']:{_0x2662ce=_0x410181(_0x4bcba9,_0x13c71a);break;}}const _0x408894=_0x5018ea(_0x2662ce,_0x13c71a),_0x3bbfe0=this[_0x3c7524(0x2fd)][_0x3c7524(0x22d)](_0x49db0c);if(_0x3bbfe0&&_0x408894){const _0x496860={..._0x3bbfe0,'range':_0x408894};this[_0x3c7524(0x2fd)]['set'](_0x49db0c,_0x496860),_0x21075d(()=>{const _0x5c464c=_0x3c7524,_0x8480bb=this[_0x5c464c(0x1f0)][_0x5c464c(0x1e8)](_0x408894,_0xc5cac1=>(_0x8480bb[_0x5c464c(0x2e8)](),_0x17aabb(_0xc5cac1,_0x49db0c,_0x441fb1,_0x408894)));_0x61cb0f[_0x5c464c(0x1eb)](_0x8480bb);});}return{'redos':[],'undos':[]};};this[_0x16a3a6(0x2fd)][_0x16a3a6(0x2c1)]((_0x537476,_0x103598)=>{const _0x2b25f7=_0x16a3a6,{range:_0x421d5e,sheetID:_0x157705}=_0x537476,_0x10c97e=this[_0x2b25f7(0x1f0)][_0x2b25f7(0x1e8)](_0x421d5e,_0xd05a93=>(_0x10c97e['dispose'](),_0x17aabb(_0xd05a93,_0x103598,_0x157705,_0x421d5e)));_0x61cb0f['add'](_0x10c97e);});};this['disposeWithMe'](_0x354a81(this[_0x1923db(0x227)][_0x1923db(0x321)](()=>{_0x215aad();})));}[_0x962cf9(0x2b2)](){const _0x1e82af=_0x962cf9;var _0x2aa38f,_0x57fd8d;if(this['_online']=!0x0,((_0x2aa38f=this[_0x1e82af(0x221)][_0x1e82af(0x320)]())==null?void 0x0:_0x2aa38f[_0x1e82af(0x2db)]())!==this[_0x1e82af(0x295)])return;const _0x5ed2f2=(_0x57fd8d=this[_0x1e82af(0x35e)][_0x1e82af(0x22d)](_0x5c4cf1)[_0x1e82af(0x396)]())==null?void 0x0:_0x57fd8d[0x0],_0x10140f=this[_0x1e82af(0x221)]['getCurrentUnitForType'](_0x11844b[_0x1e82af(0x1e9)])['getActiveSheet']();_0x5ed2f2&&_0x10140f&&this[_0x1e82af(0x3b6)](_0x10140f['getSheetId'](),_0x5ed2f2);}[_0x962cf9(0x32a)](){const _0x54cc7b=_0x962cf9;this[_0x54cc7b(0x200)]=!0x1;}};Me=mi([x(0x2,_0xcb25a3(_0x266e02)),x(0x3,_0xcb25a3(ke)),x(0x4,_0xcb25a3(_0x44e05b)),x(0x5,_0x163e05),x(0x6,_0xfb0aa9),x(0x7,_0xcb25a3(_0x1c651d))],Me);var pi=Object[_0x962cf9(0x31b)],Ci=(_0x26f969,_0x2fdc6b,_0x170ecb,_0x50304b)=>{const _0x3e8d6a=_0x962cf9;for(var _0x2fb9a4=_0x50304b>0x1?void 0x0:_0x50304b?pi(_0x2fdc6b,_0x170ecb):_0x2fdc6b,_0x3f3d0a=_0x26f969[_0x3e8d6a(0x1fd)]-0x1,_0x27cb2b;_0x3f3d0a>=0x0;_0x3f3d0a--)(_0x27cb2b=_0x26f969[_0x3f3d0a])&&(_0x2fb9a4=_0x27cb2b(_0x2fb9a4)||_0x2fb9a4);return _0x2fb9a4;},me=(_0x2b86f4,_0x26f0ea)=>(_0x450b69,_0x2541bb)=>_0x26f0ea(_0x450b69,_0x2541bb,_0x2b86f4);let F=class extends _0x18aeae{constructor(_0x5ba8af,_0x268ee0,_0x14e7c4){const _0x37c24e=_0x962cf9;super(),_(this,_0x37c24e(0x2d5),new Map()),_(this,'_entityInit$',new _0x4695d8()),(this[_0x37c24e(0x221)]=_0x5ba8af,this[_0x37c24e(0x35e)]=_0x268ee0,this[_0x37c24e(0x332)]=_0x14e7c4,this['_init']());}[_0x962cf9(0x2e8)](){const _0x4da1b7=_0x962cf9;super['dispose'](),this['_entityInit$'][_0x4da1b7(0x1e2)](),this[_0x4da1b7(0x2d5)][_0x4da1b7(0x2c1)](_0x22082a=>_0x22082a['dispose']());}[_0x962cf9(0x2bb)](_0x3c1bbc){const _0x21bc5c=_0x962cf9;return this[_0x21bc5c(0x2d5)][_0x21bc5c(0x2f3)](_0x3c1bbc)?this[_0x21bc5c(0x2d5)][_0x21bc5c(0x22d)](_0x3c1bbc)[_0x21bc5c(0x2ac)]:this[_0x21bc5c(0x3ef)][_0x21bc5c(0x3c5)](_0x1236d0(_0x56527a=>_0x56527a['unitID']===_0x3c1bbc),_0x2f8d76(_0x6e22a=>_0x6e22a[_0x21bc5c(0x2ac)]));}[_0x962cf9(0x32c)](){const _0x5af6ea=_0x962cf9;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11844b[_0x5af6ea(0x1e9)])['pipe'](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](async _0x7f13f8=>{const _0xd43d0a=_0x5af6ea,_0x17a556=_0x7f13f8[_0xd43d0a(0x2db)](),_0x23647a=await this['_startSheetCollabCursor'](_0x17a556);this[_0xd43d0a(0x3ef)][_0xd43d0a(0x30e)](_0x23647a),this[_0xd43d0a(0x2d5)][_0xd43d0a(0x335)](_0x17a556,_0x23647a);}),this[_0x5af6ea(0x221)][_0x5af6ea(0x2fa)](_0x11844b[_0x5af6ea(0x301)])[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))[_0x5af6ea(0x3c5)](_0x1236d0(_0x1b20ae=>!_0x1b20ae[_0x5af6ea(0x2db)]()[_0x5af6ea(0x3e2)]('__')))[_0x5af6ea(0x321)](async _0x224e49=>{const _0x1fd1ed=_0x5af6ea,_0x4827a3=_0x224e49['getUnitId'](),_0x481c28=await this['_startDocCollabCursor'](_0x4827a3);this[_0x1fd1ed(0x3ef)][_0x1fd1ed(0x30e)](_0x481c28),this['_entities']['set'](_0x4827a3,_0x481c28);}),_0x11111f(this[_0x5af6ea(0x221)]['getTypeOfUnitDisposed$'](_0x11844b[_0x5af6ea(0x301)]),this['_univerInstanceService'][_0x5af6ea(0x2bc)](_0x11844b[_0x5af6ea(0x1e9)]))[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](_0x56148f=>{const _0x2bf248=_0x5af6ea,_0x551f3f=_0x56148f[_0x2bf248(0x2db)](),_0x1ea24d=this[_0x2bf248(0x2d5)][_0x2bf248(0x22d)](_0x551f3f);_0x1ea24d&&(_0x1ea24d['dispose'](),this[_0x2bf248(0x2d5)][_0x2bf248(0x260)](_0x551f3f));});}async['_startSheetCollabCursor'](_0x3c3073){const _0x3a4823=_0x962cf9,_0x11e7e3=await this['_collabSessionService'][_0x3a4823(0x3ee)](_0x3c3073),_0xcb9c17=this[_0x3a4823(0x35e)]['createInstance'](Me,_0x3c3073,_0x11e7e3);return _0xcb9c17[_0x3a4823(0x25c)](),_0xcb9c17;}async[_0x962cf9(0x38d)](_0x8b6c5a){const _0x2e96f4=_0x962cf9,_0x4e203a=await this[_0x2e96f4(0x332)][_0x2e96f4(0x3ee)](_0x8b6c5a),_0x571f3d=this['_injector'][_0x2e96f4(0x3c3)](Ue,_0x8b6c5a,_0x4e203a);return _0x571f3d['init'](),_0x571f3d;}};F=Ci([me(0x0,_0x163e05),me(0x1,_0xcb25a3(_0x266e02)),me(0x2,_0xcb25a3(_0x193bf2))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function _0x188b(_0x2e03d5,_0x3eb997){const _0x48640c=_0x4864();return _0x188b=function(_0x188b4d,_0x600c81){_0x188b4d=_0x188b4d-0x1df;let _0x2946c8=_0x48640c[_0x188b4d];return _0x2946c8;},_0x188b(_0x2e03d5,_0x3eb997);}function Oi(_0x481cc1,_0x46dfad){const _0x1c146c=_0x962cf9;let {radius:_0x3a5e3e,width:_0x341367,height:_0x49700a}=_0x46dfad;_0x3a5e3e=_0x3a5e3e!=null?_0x3a5e3e:0x0,_0x341367=_0x341367!=null?_0x341367:0x1e,_0x49700a=_0x49700a!=null?_0x49700a:0x1e;let _0x5a83a3=0x0,_0x1079cd=0x0,_0x207d8a=0x0;_0x5a83a3=_0x1079cd=_0x207d8a=Math[_0x1c146c(0x235)](_0x3a5e3e,_0x341367/0x2,_0x49700a/0x2),_0x481cc1[_0x1c146c(0x305)](),_0x481cc1[_0x1c146c(0x336)](_0x5a83a3,0x0),_0x481cc1[_0x1c146c(0x3ae)](_0x341367-_0x1079cd,0x0),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x1079cd,_0x1079cd,_0x1079cd,Math['PI']*0x3/0x2,0x0,!0x1),_0x481cc1[_0x1c146c(0x3ae)](_0x341367,_0x49700a-_0x207d8a),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x207d8a,_0x49700a-_0x207d8a,_0x207d8a,0x0,Math['PI']/0x2,!0x1),_0x481cc1[_0x1c146c(0x3ae)](0x0,_0x49700a),_0x481cc1['lineTo'](0x0,_0x5a83a3),_0x481cc1[_0x1c146c(0x382)](_0x5a83a3,_0x5a83a3,_0x5a83a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x481cc1[_0x1c146c(0x393)](),_0x46dfad[_0x1c146c(0x375)]&&(_0x481cc1['save'](),_0x481cc1[_0x1c146c(0x3d0)]=_0x46dfad['fill'],_0x46dfad[_0x1c146c(0x2cb)]===_0x1c146c(0x39d)?_0x481cc1[_0x1c146c(0x375)](_0x1c146c(0x39d)):_0x481cc1[_0x1c146c(0x375)](),_0x481cc1['restore']());}class ue extends _0x539d2d{constructor(_0x370d21,_0x6872bb){const _0x32cf62=_0x962cf9;super(_0x370d21,_0x6872bb),_(this,_0x32cf62(0x276)),_(this,_0x32cf62(0x3c1)),(this[_0x32cf62(0x276)]=_0x6872bb==null?void 0x0:_0x6872bb[_0x32cf62(0x276)],this[_0x32cf62(0x3c1)]=_0x6872bb==null?void 0x0:_0x6872bb['text']);}static[_0x962cf9(0x2ce)](_0x286dad,_0x5a266b){const _0x475f58=_0x962cf9,{text:_0x4ee850,color:_0x4096e2}=_0x5a266b;_0x286dad['save'](),_0x286dad[_0x475f58(0x24c)]=_0x475f58(0x3b3);const _0x19d87d=_0x286dad[_0x475f58(0x205)](_0x4ee850)[_0x475f58(0x2dd)],_0x56aeda=Math[_0x475f58(0x235)](_0x19d87d+0x2*Ie,Qe);Oi(_0x286dad,{'height':J,'radius':0x4,'width':_0x56aeda,'fill':_0x4096e2}),_0x286dad[_0x475f58(0x3d0)]='#FFF';const _0x2d1203=Ie,_0x1bf8fe=J-Ei,_0x310eeb=Qe-0x2*Ie;if(_0x19d87d>_0x310eeb){let _0x10ed25='',_0x549387=0x0;for(const _0x511b01 of _0x4ee850){const _0x89fb52=_0x286dad[_0x475f58(0x205)](_0x511b01)[_0x475f58(0x2dd)];if(_0x549387+_0x89fb52<=_0x310eeb-_0x286dad[_0x475f58(0x205)](_0x475f58(0x3ca))['width'])_0x10ed25+=_0x511b01,_0x549387+=_0x89fb52;else{_0x10ed25+='...';break;}}_0x286dad['fillText'](_0x10ed25,_0x2d1203,_0x1bf8fe);}else _0x286dad[_0x475f58(0x254)](_0x4ee850,_0x2d1203,_0x1bf8fe);_0x286dad[_0x475f58(0x33b)]();}[_0x962cf9(0x379)](_0x4d9860){const _0x98dff2=_0x962cf9;ue[_0x98dff2(0x2ce)](_0x4d9860,this);}}const ve=_0x962cf9(0x225),bi=_0x962cf9(0x29d),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4f3e12,_0x4c8062,_0xf71c02,_0x489c88){const _0x5f5cf6=_0x962cf9;_(this,_0x5f5cf6(0x20a),[]),_(this,_0x5f5cf6(0x251),null),_(this,_0x5f5cf6(0x271),null),_(this,_0x5f5cf6(0x255),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x5f5cf6(0x339)]=_0x4f3e12,this[_0x5f5cf6(0x29b)]=_0x4c8062,this[_0x5f5cf6(0x28b)]=_0xf71c02,this[_0x5f5cf6(0x348)]=_0x489c88,this[_0x5f5cf6(0x326)]());}set[_0x962cf9(0x2da)](_0x5caaca){const _0x38bcdd=_0x962cf9;_0x5caaca?(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3a7)](),this['_textBubble']&&this['_textBubble'][_0x38bcdd(0x3d9)]()):(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3d9)](),this[_0x38bcdd(0x271)]&&this[_0x38bcdd(0x271)][_0x38bcdd(0x3a7)]());}[_0x962cf9(0x2e8)](){const _0x34ce80=_0x962cf9;for(const _0xcb48a9 of this['_shapes'])_0xcb48a9[_0x34ce80(0x2e8)]();this[_0x34ce80(0x271)]&&this['_textBubble'][_0x34ce80(0x2e8)](),this['_anchorDot']&&this[_0x34ce80(0x255)]['dispose'](),this[_0x34ce80(0x251)]&&this[_0x34ce80(0x251)][_0x34ce80(0x2e8)](),this[_0x34ce80(0x2c3)]&&this[_0x34ce80(0x2c3)]();}[_0x962cf9(0x326)](){const _0xc7ee63=_0x962cf9;var _0x510b74;const {_docSkeleton:_0x36fda9,_document:_0x5e4c56}=this,{color:_0x48bdec,name:_0x418051,ranges:_0x29a777}=this['_cursor'],_0x501054=_0x5e4c56[_0xc7ee63(0x256)](),{docsLeft:_0x352b1d,docsTop:_0x4cc29e}=_0x501054,_0x417e01=new _0x235692(_0x501054,_0x36fda9);for(const {startOffset:_0x1ea74d,endOffset:_0x44a4c0,rangeType:_0x4b592f,segmentId:_0x1551d5,segmentPage:_0x75365a,collapsed:_0x5c97b0,isActive:_0x55c86d}of _0x29a777){const _0x2f53d8=_0x36fda9['findNodePositionByCharIndex'](_0x1ea74d,!0x0,_0x1551d5,_0x75365a);let _0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0,!0x0,_0x1551d5,_0x75365a);if(_0x261a12==null&&(_0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0-0x1,!0x1,_0x1551d5,_0x75365a)),_0x55c86d){const {contentBoxPointGroup:_0x5e447b}=_0x417e01[_0xc7ee63(0x2c2)](_0x261a12,_0x261a12);if(_0x5e447b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x274)](_0x48bdec,_0x5e447b,_0x352b1d,_0x4cc29e,_0x418051),this[_0xc7ee63(0x2c3)]=this[_0xc7ee63(0x240)]();}if(_0x2f53d8&&_0x261a12){if(_0x4b592f===_0x3de40f['RECT']){const _0x3fa639=new _0x43f332(_0x501054,_0x36fda9),{pointGroup:_0x56328b}=(_0x510b74=_0x3fa639['getRangePointData'](_0x2f53d8,_0x261a12))!=null?_0x510b74:{};if(_0x56328b==null||_0x56328b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x3f2)](_0x48bdec,_0x56328b,_0x352b1d,_0x4cc29e);}else{if(!_0x5c97b0){const {borderBoxPointGroup:_0x527c25}=_0x417e01[_0xc7ee63(0x2c2)](_0x2f53d8,_0x261a12);if(_0x527c25[_0xc7ee63(0x1fd)]===0x0)continue;this['_drawTextRange'](_0x48bdec,_0x527c25,_0x352b1d,_0x4cc29e);}}}}}[_0x962cf9(0x274)](_0x3c06e9,_0x4901a7,_0x5334d4,_0x50d74a,_0x5ef6cc){const _0x307666=_0x962cf9,_0x198647=this[_0x307666(0x283)](_0x4901a7),{left:_0x3c8790,top:_0x30b985,height:_0x14dec8}=_0x198647,_0x137a64=this[_0x307666(0x25d)](),_0x5b5c01=Di/_0x137a64,_0x5583ee=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a,'height':_0x14dec8,'width':Ri,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':_0x5b5c01,'stroke':Ni,'evented':!0x0});this[_0x307666(0x251)]=_0x5583ee,this[_0x307666(0x29b)]['addObject'](_0x5583ee,_0x25c91b);const _0x662e89=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-ge/0x2,'height':ge,'width':ge,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':0x0,'stroke':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'evented':!0x1});this[_0x307666(0x255)]=_0x662e89,this[_0x307666(0x29b)]['addObject'](_0x662e89,_0x25c91b);const _0xd5864e=new ue(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-J,'text':_0x5ef6cc,'color':_0x3c06e9});this[_0x307666(0x271)]=_0xd5864e,this[_0x307666(0x29b)][_0x307666(0x22c)](_0xd5864e,_0x25c91b),this[_0x307666(0x2da)]=!0x1;}['_handleHover'](){const _0x5b4135=_0x962cf9,_0x370e83=this[_0x5b4135(0x251)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x546f9b=_0x5b4135;this[_0x546f9b(0x2da)]=!0x0;}),_0x59eff2=this[_0x5b4135(0x251)][_0x5b4135(0x3e1)]['subscribeEvent'](()=>{const _0x4c0e05=_0x5b4135;this[_0x4c0e05(0x297)]&&clearTimeout(this[_0x4c0e05(0x297)]),this[_0x4c0e05(0x297)]=setTimeout(()=>{const _0x5ac14d=_0x4c0e05;this[_0x5ac14d(0x2da)]=!0x1;},0x7d0);});return()=>{const _0x1eecd6=_0x5b4135;_0x370e83['unsubscribe'](),_0x59eff2[_0x1eecd6(0x263)]();};}[_0x962cf9(0x34d)](_0x1d629d,_0x1f0f4f,_0x451027,_0x4e891c){const _0x4e9db1=_0x962cf9,_0xeb92e1=new _0x56ac4f(_0x1d629d)[_0x4e9db1(0x1ea)](0.2)[_0x4e9db1(0x213)](),_0x21ebad=new _0x2a0284(bi+_0x1ebbcc(G),{'pointsGroup':_0x1f0f4f,'fill':_0xeb92e1||_0x175f6c(_0x4a7b72[_0x4e9db1(0x349)],0.2),'left':_0x451027,'top':_0x4e891c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e9db1(0x20a)][_0x4e9db1(0x3d1)](_0x21ebad),this['_scene'][_0x4e9db1(0x22c)](_0x21ebad,_0x25c91b);}[_0x962cf9(0x3f2)](_0x64cf41,_0xd562ce,_0x1058b3,_0x556edb){const _0x19abce=_0x962cf9,_0x3c4ab5=new _0x56ac4f(_0x64cf41)['setAlpha'](0.2)['toRgbString'](),_0x25db57=new _0x2a0284(Ti+_0x1ebbcc(G),{'pointsGroup':_0xd562ce,'fill':_0x3c4ab5||_0x175f6c(_0x4a7b72['black'],0.2),'left':_0x1058b3,'top':_0x556edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19abce(0x20a)][_0x19abce(0x3d1)](_0x25db57),this[_0x19abce(0x29b)][_0x19abce(0x22c)](_0x25db57,_0x25c91b);}[_0x962cf9(0x283)](_0x10ab49){const _0xf3f299=_0x10ab49[0x0],_0x204e9f=_0xf3f299[0x0],_0x4f0719=_0xf3f299[0x2],{x:_0x351721,y:_0x2f7e9c}=_0x204e9f,{x:_0x22e2b1,y:_0x1cdf0c}=_0x4f0719;return{'left':_0x351721,'top':_0x2f7e9c,'width':_0x22e2b1-_0x351721,'height':_0x1cdf0c-_0x2f7e9c};}[_0x962cf9(0x25d)](){const {scaleX:_0x497539,scaleY:_0x4eade3}=this['_scene']['getAncestorScale']();return Math['max'](_0x497539,_0x4eade3);}}var Ui=Object[_0x962cf9(0x31b)],Mi=(_0x53dc8a,_0x33cb2f,_0x1f92fb,_0x2e7afc)=>{const _0x587aee=_0x962cf9;for(var _0x5eb581=_0x2e7afc>0x1?void 0x0:_0x2e7afc?Ui(_0x33cb2f,_0x1f92fb):_0x33cb2f,_0x69e821=_0x53dc8a[_0x587aee(0x1fd)]-0x1,_0x45d57f;_0x69e821>=0x0;_0x69e821--)(_0x45d57f=_0x53dc8a[_0x69e821])&&(_0x5eb581=_0x45d57f(_0x5eb581)||_0x5eb581);return _0x5eb581;},q=(_0x2e37c7,_0x3ae657)=>(_0x3a5b44,_0x4b07e4)=>_0x3ae657(_0x3a5b44,_0x4b07e4,_0x2e37c7);let Le=class extends _0x18aeae{constructor(_0x1a58cd,_0x26e33c,_0x221832,_0x14f939,_0x2ec36e){const _0xe4c3d1=_0x962cf9;super(),_(this,'_cursorShapes',[]),_(this,_0xe4c3d1(0x26d),[]),(this[_0xe4c3d1(0x391)]=_0x1a58cd,this['_docSkeletonManagerService']=_0x26e33c,this[_0xe4c3d1(0x22a)]=_0x221832,this[_0xe4c3d1(0x3af)]=_0x14f939,this[_0xe4c3d1(0x27a)]=_0x2ec36e,this[_0xe4c3d1(0x32c)]());}[_0x962cf9(0x32c)](){const _0x280ded=_0x962cf9,_0x110626=this[_0x280ded(0x391)]['unitId'],_0x3c6c2d=this['_docSkeletonManagerService'];this[_0x280ded(0x36c)](_0x2237a4([this['_collabCursorController'][_0x280ded(0x2bb)](_0x110626),this[_0x280ded(0x27a)][_0x280ded(0x24f)]])[_0x280ded(0x3c5)](_0x47ba9f(([_0x56b434,_0x22fce8])=>({'skeleton':_0x3c6c2d[_0x280ded(0x388)](),'cursors':[..._0x56b434[_0x280ded(0x281)]()][_0x280ded(0x24e)](_0x1a1c79=>({..._0x1a1c79,'color':this[_0x280ded(0x27a)][_0x280ded(0x2a0)](_0x1a1c79[_0x280ded(0x276)])}))})))[_0x280ded(0x321)](_0x36ec66=>{const _0x320a57=_0x280ded;if(this[_0x320a57(0x2c5)](),_0x36ec66){const {skeleton:_0x81692,cursors:_0x281e39}=_0x36ec66;this[_0x320a57(0x2b1)](_0x81692,_0x281e39);}})),this['_initResize'](),this[_0x280ded(0x39e)]();}[_0x962cf9(0x2b1)](_0x52977f,_0x5954c1){const _0x575cd6=_0x962cf9,{scene:_0x18e9de,mainComponent:_0x5cec5a}=this[_0x575cd6(0x391)],_0x42de8a=_0x5954c1[_0x575cd6(0x33c)](_0x2c1d24=>new qe(_0x2c1d24,_0x18e9de,_0x52977f,_0x5cec5a));this['_cursorShapes']=_0x42de8a,this['_cursors']=_0x5954c1;}[_0x962cf9(0x3e8)](){const _0x27b6ce=_0x962cf9;this[_0x27b6ce(0x2c5)]();const {scene:_0x222a55,mainComponent:_0x4f24a0}=this['_context'],_0x324332=this[_0x27b6ce(0x2a6)]['getSkeleton'](),_0x1e2f14=this['_cursors'][_0x27b6ce(0x33c)](_0x38f8fb=>new qe(_0x38f8fb,_0x222a55,_0x324332,_0x4f24a0));this[_0x27b6ce(0x324)]=_0x1e2f14;}[_0x962cf9(0x2c5)](){const _0x18541f=_0x962cf9;this[_0x18541f(0x324)]['forEach'](_0x2f464a=>_0x2f464a[_0x18541f(0x2e8)]()),this[_0x18541f(0x324)]=[];}[_0x962cf9(0x39e)](){const _0x1514c9=_0x962cf9,_0x9d7441=[_0x3f79cf['id']];this['disposeWithMe'](this[_0x1514c9(0x3af)]['onCommandExecuted'](_0x438751=>{const _0x27d7ca=_0x1514c9;_0x9d7441[_0x27d7ca(0x3c4)](_0x438751['id'])&&_0x438751[_0x27d7ca(0x334)]['unitId']===this[_0x27d7ca(0x391)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x962cf9(0x1ed)](){const _0x440428=_0x962cf9;this[_0x440428(0x36c)](_0x502021(this['_context']['engine']['onTransformChange$'])['pipe'](_0x2dd156(_0x500e6e=>_0x500e6e[_0x440428(0x259)]===_0x2ceced[_0x440428(0x31e)]),_0x54ce4a(0x10))[_0x440428(0x321)](()=>{const _0x3c4cf5=_0x440428;this[_0x3c4cf5(0x3e8)]();}));}};Le=Mi([q(0x1,_0xcb25a3(_0x2bca3f)),q(0x2,_0xcb25a3(F)),q(0x3,_0xfb0aa9),q(0x4,_0xcb25a3(_0x16a58d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x539d2d{constructor(_0x59b75a,_0x44c94f){const _0x62a41=_0x962cf9;super(_0x59b75a,_0x44c94f),_(this,_0x62a41(0x1e0)),_(this,_0x62a41(0x316),!0x1),_(this,_0x62a41(0x2b9)),_(this,_0x62a41(0x36b),''),_(this,'_labelPosition',_0x62a41(0x28d)),_(this,_0x62a41(0x250)),(_0x44c94f&&this['setShapeProps'](_0x44c94f),this[_0x62a41(0x352)][_0x62a41(0x2fb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x62a41(0x3e1)][_0x62a41(0x2fb)](()=>this[_0x62a41(0x398)]({'hovered':!0x1})));}[_0x962cf9(0x398)](_0x2408df){const _0x344558=_0x962cf9;var _0x2036c4,_0x495c1c,_0x2e981e,_0xe1e713,_0x2a0bfd,_0x277d73;this[_0x344558(0x1e0)]=(_0x2036c4=_0x2408df[_0x344558(0x276)])!=null?_0x2036c4:this['_color'],this[_0x344558(0x316)]=(_0x495c1c=_0x2408df['hovered'])!=null?_0x495c1c:this[_0x344558(0x316)],this[_0x344558(0x2b9)]=(_0x2e981e=_0x2408df[_0x344558(0x3a2)])!=null?_0x2e981e:this[_0x344558(0x2b9)],this['_name']=(_0xe1e713=_0x2408df['name'])!=null?_0xe1e713:this[_0x344558(0x36b)],this[_0x344558(0x38e)]=(_0x2a0bfd=_0x2408df[_0x344558(0x280)])!=null?_0x2a0bfd:this['_labelPosition'],this['_backgroundColor']=(_0x277d73=_0x2408df[_0x344558(0x3b2)])!=null?_0x277d73:this[_0x344558(0x250)],this['transformByState']({'width':_0x2408df[_0x344558(0x2dd)],'height':_0x2408df[_0x344558(0x257)]});}[_0x962cf9(0x25e)](_0x190428){const _0x441dd4=_0x962cf9,{row:_0x5aac5d,column:_0x5317b5}=_0x190428;if(_0x5aac5d>=this[_0x441dd4(0x2b9)][_0x441dd4(0x306)]&&_0x5aac5d<=this['_range'][_0x441dd4(0x1ec)]&&_0x5317b5>=this['_range'][_0x441dd4(0x212)]&&_0x5317b5<=this[_0x441dd4(0x2b9)][_0x441dd4(0x3c0)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x962cf9(0x206)](_0xc34e47){return!0x1;}[_0x962cf9(0x379)](_0xb7934d){const _0x3b37f5=_0x962cf9;_0x46a699[_0x3b37f5(0x2ce)](_0xb7934d,{'width':this[_0x3b37f5(0x2dd)],'height':this[_0x3b37f5(0x257)],'strokeWidth':Pi,'stroke':this[_0x3b37f5(0x1e0)],'evented':!0x1,'fill':this[_0x3b37f5(0x250)]}),this[_0x3b37f5(0x316)]&&(_0xb7934d[_0x3b37f5(0x2bf)](),_0xb7934d[_0x3b37f5(0x26c)](0x1,0x0,0x0,0x1,this[_0x3b37f5(0x2dd)],this['_labelPosition']===_0x3b37f5(0x1df)?0x0:-J),ue[_0x3b37f5(0x2ce)](_0xb7934d,{'text':this[_0x3b37f5(0x36b)],'color':this[_0x3b37f5(0x1e0)]}),_0xb7934d[_0x3b37f5(0x33b)]());}}var Ai=Object[_0x962cf9(0x31b)],yi=(_0x2cad19,_0x2e10a1,_0x4ceb26,_0x31bf48)=>{for(var _0x2a53fa=_0x31bf48>0x1?void 0x0:_0x31bf48?Ai(_0x2e10a1,_0x4ceb26):_0x2e10a1,_0x3d95e4=_0x2cad19['length']-0x1,_0x28b4cf;_0x3d95e4>=0x0;_0x3d95e4--)(_0x28b4cf=_0x2cad19[_0x3d95e4])&&(_0x2a53fa=_0x28b4cf(_0x2a53fa)||_0x2a53fa);return _0x2a53fa;},pe=(_0xf7c7d3,_0x4cfcb1)=>(_0x515b23,_0x2e2363)=>_0x4cfcb1(_0x515b23,_0x2e2363,_0xf7c7d3);const $i=0x1389;let Pe=class extends _0x18aeae{constructor(_0x253833,_0x50267b,_0x2183da,_0x4c1b5e){const _0x8628e7=_0x962cf9;super(),_(this,'_cursors',new Set()),_(this,_0x8628e7(0x2b7),null),(this[_0x8628e7(0x391)]=_0x253833,this[_0x8628e7(0x26b)]=_0x50267b,this[_0x8628e7(0x22a)]=_0x2183da,this[_0x8628e7(0x27a)]=_0x4c1b5e,this[_0x8628e7(0x32c)]());}[_0x962cf9(0x32c)](){const _0x405d2a=_0x962cf9;this['_sheetSkeletonManagerService'][_0x405d2a(0x3cd)]['pipe'](_0x3552e3(this[_0x405d2a(0x304)]),_0xf9b43b(_0x32dd32=>{const _0x5b3409=_0x405d2a;if(_0x32dd32){const _0x2f1989=_0x32dd32[_0x5b3409(0x3bb)];return _0x2237a4(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x5b3409(0x27a)][_0x5b3409(0x24f)])[_0x5b3409(0x3c5)](_0x47ba9f(([_0x22eedf,_0x5c7513])=>{const _0x3e30f6=_0x5b3409,_0x531db2=new Map();return _0x22eedf[_0x3e30f6(0x2c1)]((_0x8068e0,_0x2dcb58)=>{const _0x3dae32=_0x3e30f6;if(_0x8068e0[_0x3dae32(0x3e7)]===_0x2f1989){const _0x3dc3a1={..._0x8068e0};_0x3dc3a1[_0x3dae32(0x276)]=this[_0x3dae32(0x27a)]['getColorFromTheme'](_0x8068e0[_0x3dae32(0x276)]),_0x531db2[_0x3dae32(0x335)](_0x2dcb58,_0x3dc3a1);}}),{'skeleton':_0x32dd32,'cursors':_0x531db2};}));}return _0x4d0da8({'skeleton':null,'cursors':new Map()});}))[_0x405d2a(0x321)](({skeleton:_0x4815d0,cursors:_0x37c367})=>{const _0x5919d9=_0x405d2a;this['_removeCollabCursors'](),_0x4815d0&&this[_0x5919d9(0x2b1)](_0x4815d0,_0x37c367);}),this[_0x405d2a(0x26b)][_0x405d2a(0x3cd)]['subscribe'](_0x101337=>{const _0x108ecc=_0x405d2a;if(_0x101337==null)return;const {skeleton:_0x3f3247}=_0x101337,{scene:_0x371403}=this['_context'];_0x371403[_0x108ecc(0x30f)]['subscribeEvent'](_0x397ea6(_0xfb925e=>{const _0x53fe90=_0x108ecc;var _0x5ad4f6,_0x4ca461;const {offsetX:_0x21e401,offsetY:_0x45ebf0}=_0xfb925e,{x:_0x6e3b1c,y:_0x37f6a5}=_0x371403[_0x53fe90(0x2aa)](_0x55f890[_0x53fe90(0x284)]([_0x21e401,_0x45ebf0])),{scaleX:_0x1b654c,scaleY:_0xca6627}=_0x371403[_0x53fe90(0x3f1)](),_0x239e99=_0x371403[_0x53fe90(0x249)](_0x42a5e7[_0x53fe90(0x2d9)]),_0x153a6d=_0x371403['getVpScrollXYInfoByPosToVp'](_0x55f890[_0x53fe90(0x284)]([_0x6e3b1c,_0x37f6a5]),_0x239e99),_0x4b6961=_0x3f3247['getCellPositionByOffset'](_0x21e401,_0x45ebf0,_0x1b654c,_0xca6627,_0x153a6d);((_0x5ad4f6=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x5ad4f6[_0x53fe90(0x32d)])===_0x4b6961[_0x53fe90(0x32d)]&&((_0x4ca461=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x4ca461[_0x53fe90(0x3d8)])===_0x4b6961['row']||this[_0x53fe90(0x26d)][_0x53fe90(0x2c1)](_0x4005fe=>{const _0x480237=_0x53fe90;_0x4005fe[_0x480237(0x25e)](_0x4b6961);});},0x64));});}[_0x962cf9(0x2b1)](_0xffb949,_0x127d19){const _0x5f306e=_0x962cf9;var _0x25ac80;const _0x4957d9=(_0x25ac80=this[_0x5f306e(0x26b)][_0x5f306e(0x1f1)]())==null?void 0x0:_0x25ac80[_0x5f306e(0x27c)];if(!_0x4957d9)return;const _0x4f71bc=this['_getSheetObject']();if(!_0x4f71bc)return;this[_0x5f306e(0x26d)][_0x5f306e(0x2c1)](_0x5eeb50=>{_0x5eeb50['makeDirty']();});const {scene:_0x13f06a}=_0x4f71bc,_0x52a43c=xi(Array[_0x5f306e(0x35a)](_0x127d19['values']()))[_0x5f306e(0x33c)](_0x55053b=>{const _0x3d7deb=_0x5f306e,{color:_0x467d75,range:_0x2dd78c,name:_0x106ce2,selection:_0xa46df8,sheetID:_0x3089df}=_0x55053b,{startColumn:_0x5a115c,startRow:_0x52a327,endColumn:_0x5a66de,endRow:_0x176b6e}=_0x2dd78c,_0x39644c=_0x13ed17(_0x52a327,_0x5a115c,_0x13f06a,_0x4957d9),_0x1d9566=_0x13ed17(_0x176b6e,_0x5a66de,_0x13f06a,_0x4957d9),{columnHeaderHeightAndMarginTop:_0x48b0cf}=_0x4957d9,{startX:_0x7c901,startY:_0x4fe1e9}=_0x39644c,{endX:_0x369d6d,endY:_0x323e8d}=_0x1d9566,_0x4062a6=_0x369d6d-_0x7c901,_0x4fb0d3=_0x323e8d-_0x4fe1e9,_0x47d551={'labelPosition':_0x4fe1e9-_0x48b0cf>=J?_0x3d7deb(0x28d):_0x3d7deb(0x1df),'sheetID':_0x3089df,'range':_0x2dd78c,'color':_0x467d75,'name':_0x106ce2,'selection':_0xa46df8,'left':_0x7c901,'top':_0x4fe1e9,'width':_0x4062a6,'height':_0x4fb0d3,'evented':!0x1,'zIndex':$i};return new wi(_0x106ce2,_0x47d551);});_0x13f06a[_0x5f306e(0x378)](_0x52a43c,Li),this[_0x5f306e(0x26d)]=new Set(_0x52a43c);}[_0x962cf9(0x2c5)](){const _0x1f3582=_0x962cf9;var _0x1f7459;(_0x1f7459=this['_cursors'])==null||_0x1f7459[_0x1f3582(0x2c1)](_0x3e1ca6=>_0x3e1ca6['dispose']());}[_0x962cf9(0x2a4)](){const _0x11c59a=_0x962cf9;return _0x3fa149(this['_context'][_0x11c59a(0x1f3)],this[_0x11c59a(0x391)]);}};Pe=yi([pe(0x1,_0xcb25a3(_0x5eb21a)),pe(0x2,_0xcb25a3(F)),pe(0x3,_0xcb25a3(_0x16a58d))],Pe);function xi(_0x1f5a3c){const _0x12658d=_0x962cf9,_0x5ee8ff=new Map();return _0x1f5a3c['forEach'](_0x360e8c=>{const _0x17872d=_0x188b;if(_0x5ee8ff['has'](_0x360e8c[_0x17872d(0x1e5)])){const _0x222d52=_0x5ee8ff[_0x17872d(0x22d)](_0x360e8c[_0x17872d(0x1e5)]);_0x222d52['name']+=',\x20'+_0x360e8c[_0x17872d(0x3f4)];}else _0x5ee8ff[_0x17872d(0x335)](_0x360e8c[_0x17872d(0x1e5)],_0x360e8c);}),Array[_0x12658d(0x35a)](_0x5ee8ff[_0x12658d(0x281)]());}function _0x4864(){const _0x471893=['_memberService','_localStorageService','_document','black','MoveRangeCommandId','isEditing','_docClipboardService','_drawTextRange','undoState','some','docStateChange$','m2Prime','onPointerEnter$','AWAITING_WITH_PENDING','_collaborationUIEventService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','colorChannel1','assignAColorForMemberID','_removeClearOtherTimer','from','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','urlChange$','_injector','YUUMI_RATE_OVER_LIMIT','collab-client.tooltip.reconnect','_setupSubUnitSync','createSocket','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','_transformHistoryAndStateStack','transformIMECache','22jnLcTe','searchParams','_beforeCloseService','textRanges','SYNCED','_name','disposeWithMe','all','_assignedColors','_initStatusComponent','deepClone','_initEvent','0\x200\x2016\x2016','_heartbeatTimer','collabStatus.synced','fill','children','string','addObjects','_draw','1klcGui','event$','clearTimeout','then','_unitStatus','path','none','updateOfflineData','arc','url(#$1','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setItem','unload','Failed','getSkeleton','USERS_LEAVE','collaboration.closeRoom','SNAPSHOT_INVALID_SNAPSHOT','InsertColCommandId','_startDocCollabCursor','_labelPosition','InsertRangeMoveDownCommandId','runOnServer','_context','div','closePath','current','_status$','getCurrentSelections','getUnhiddenWorksheets','setShapeProps','registerComponent','OffLineIcon','SNAPSHOT_HAS_BEEN_REMOVED','_onRefRangeChange','evenodd','_initCommandExecutedListener','APPLY_REJECT','activeSheet$','_docSyncEditingCollabCursorService','range','OTHER_CLIENTS_EDITING','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','hide','_initDependencies','ENSURE_SNAPSHOT_EXECUTION','_handleEvent','setActiveRange','saveTaskMap','idSuffix','lineTo','_commandService','INVITE_CODE_ALREADY_BOUND','_ensureSubject','backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','imageSourceType','TOO_MANY_REQUESTS','_updateLocalCursor','white','search','UNRECOGNIZED','PENDING','sheetId','OTHER_CLIENT_EDITING','_selfUnitIDs','key','unitId','endColumn','text','OnLineIcon','createInstance','includes','pipe','substring','getConfig','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','...','M0\x200H16V16H0z','session.connection-failed','currentSkeleton$','SUBMIT_CHANGESET_TIMEOUT','transformRemoteChangeset','fillStyle','push','asObservable','stringify','_transformUndoRedoStack','href','code','tag','row','show','onLocalMutation','saveImage','LICENSE_DISTRO_REJECTED','removeParam','size','actions','YUUMI_AI_RUN_FAILED','onPointerLeave$','startsWith','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverIcon','clipPath','replace','sheetID','_refreshCollabCursors','PERMISSION_DENIED','disposeUnit','indexOf','on-line-icon_clip0_910_349','symbol','requireSession','_entityInit$','post','getAncestorScale','_drawRectRange','getCollabEntity$','name','JOIN_ROOM_FAILED','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','extend','bottom','_color','DeleteRangeMoveLeftCommandId','complete','off-line-icon','_updateURLWithCurrentState','selection','with','OFFLINE','registerRefRange','UNIVER_SHEET','setAlpha','add','endRow','_initResize','transformMutationsWithChangeset','126keWaqU','_refRangeService','getCurrent','executionId','unit','ALREADY_EXISTS','[CollaborationDataLoaderController]','getSheetId','CONFLICT','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutation','_session','setConfig','send','length','focused$','entityInit$','_online','_notificationService','_handleJoinEvent','getUndoRedoMutationParamsCache','syncEditingCollabCursor','measureText','triggerDblclick','MOBILE_VERIFY_CODE_MISMATCH','assign','runId','_shapes','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformStateCacheService','_docTransformSelectionsService','replaceState','_clearOtherTimers','COMPLETION_FINISHED','saveOfflineData','startColumn','toRgbString','EMAIL_VERIFY_CODE_MISMATCH','_docStateChangeManagerService','_saveCache','INVITE_CODE_REQUIRED','blue.400','isArray','defs','className','roomMembers','Warning','editingUnit','4547988eNvKcP','xlink:href','_univerInstanceService','CLOSE_ROOM','_instanceService','function','collab-text-anchor-','find','_cursorInfo$','data','contains','_collabCursorController','getRenderById','addObject','get','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CHANGESET_REVISION_CONFILICT','getMemberID','http://www.w3.org/2000/svg','_config','replaceDocRanges','round','min','_scheduleSaving','_initEntityListener','Error','NOT_COLLAB','onCommandExecuted','INTERNAL_ERROR','YUUMI_UNABLE_LOAD_URL','use','history','attrs','_handleHover','_collabCursorState$','Unknown\x20user','clearInterval','body','getParam','displayName','setStateCache','getActiveRange','getViewport','DeleteRangeMoveUpCommandId','apply','font','getSheetBySheetId','flatMap','currentTheme$','_backgroundColor','_anchor','_handleLeaveEvent','_registerDependencies','fillText','_anchorDot','getOffsetConfig','height','_roomMembers$','type','doc.mutation.rich-text-editing','_transformService','init','_getScale','onMouseMove','roomMembers$','delete','exhaustSavingTask','MOBILE_HAS_BEEN_BOUND','unsubscribe','getValue','_messageService','_docTransformIMECacheService','collaboration.single-unit.warning','concat','APPLY_PERMISSION_DENIED','session.collaboration-timeout','_sheetSkeletonManagerService','transform','_cursors','_colorAssignService','_cachedData','_disabled','_textBubble','pluginName','collabStatus.conflict','_drawAnchor','registerRenderModule','color','whenReady','UNDEFINED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_themeService','call','skeleton','split','_handleHeartbeatEvent','_colorIndex','labelPosition','values','878698IejHwF','_getAnchorBounding','FromArray','INVITE_CODE_HAS_BEEN_UES','prototype','HEADER_MENU','subUnitId','reconnect','collaboration-client.offline-data-not-saved','_docSkeleton','_createSocketURL','top','disableLocalCache','uni.network.url-service','_registerRenderDependencies','propertyIsEnumerable','mutations','ticket','_getSaveTimeout','unitID','selections','_hideTimer','APPLY_REVISION_CONFILICT','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','InsertRangeMoveRightCommandId','collab-text-range-','_revisionService','yellow.400','getColorFromTheme','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_getSheetObject','setParam','_docSkeletonManagerService','_getSessionTicket','collabCursorState$','toString','getRelativeToViewportCoord','unshift','cursorInfo$','findNodePositionByCharIndex','isActive','collabStatus.fetchMiss','RemoveColCommandId','_updateCollabCursors','_toggleOnline','935337WNjmOf','YUUMI_ALL_TABLES_IS_INVALID','_transformPreviousActiveRange','invokeId','_lastPointer','executeCommand','_range','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabCursors$','getTypeOfUnitDisposed$','_uiPartsService','_id','save','_renderManagerService','forEach','getRangePointData','_eventUnsubscribe','loadUnit','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_doCreateSocket','getActiveSheet','NOT_FOUND','fillRule','_initStatusListener','result','drawWith','onStarting','0\x200\x2017\x2016','_logService','WECHAT_HAS_BEEN_BOUND','override','off-line-icon_clip0_910_343','_entities','/run/','univerjs-icon\x20univerjs-icon-','pushState','VIEW_MAIN','_hover','getUnitId','AWAITING','width','_collaborationController','sessionStatus$','addClipboardHook','source','jiqing.500','collaboration-client-ui.config','_scheduleHeartbeat','collabStatus.syncing','mask','_httpService','dispose','onRendered','random','icon','collabStatus.offline','loadOfflineData','addEventListener','7WMdrXr','transformSelections','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','has','ONLINE','1em','memberID','_localCacheService','setUndoRedoMutationParamsCache','TEXT','getTypeOfUnitAdded$','subscribeEvent','_dataLoaderService','cursorInfo','translate(.97)','subunit','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_DOC','currentColor','2034064NzWbGH','dispose$','beginPath','startRow','_saveTaskMap','trim','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleClearOtherTimer','ranges','MUTATION','CONNECTOR_DATA_TOO_LARGE','next','onPointerMove$','getUniverSheetInstance','m1Prime','_send','_onCursorDelete','getStateCache','_imageIoService','_hovered','LICENSE_EXPORT_SIZE_EXCEEDED','eventID','entries','_configService','getOwnPropertyDescriptor','getMergeData','_updateSubUnitFromURLParams','resize','error','getFocusedUnit','subscribe','_syncEditingCollabCursorService','getUnitStatus$','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','71650kHhypw','_urlService','red.300','_toggleOffline','redoState','_init','column','defIds','debug','SOCKET_FAILED','3572824xaxHqf','_collabSessionService','UPDATE_CURSOR','params','set','moveTo','newValue','defineProperty','_cursor','location','restore','map','LOGIN_FAILED','svg','_localeService','11188390OIpRns','INVALID_ARGUMENT','getDocRanges','APPLY_NON_SEQUENTIAL_REVISION','storage','getOwnPropertySymbols'];_0x4864=function(){return _0x471893;};return _0x4864();}var v=function(){const _0x33edc5=_0x962cf9;return v=Object[_0x33edc5(0x208)]||function(_0x956b8b){const _0xfa8401=_0x33edc5;for(var _0x5190ab,_0x145200=0x1,_0x3e15e4=arguments['length'];_0x145200<_0x3e15e4;_0x145200++){_0x5190ab=arguments[_0x145200];for(var _0x2dfdc9 in _0x5190ab)Object[_0xfa8401(0x286)][_0xfa8401(0x2c7)][_0xfa8401(0x27b)](_0x5190ab,_0x2dfdc9)&&(_0x956b8b[_0x2dfdc9]=_0x5190ab[_0x2dfdc9]);}return _0x956b8b;},v[_0x33edc5(0x24b)](this,arguments);},Bi=function(_0x53f2c,_0x9f1f2a){const _0x58dc09=_0x962cf9;var _0xdab1b={};for(var _0x57b31c in _0x53f2c)Object[_0x58dc09(0x286)][_0x58dc09(0x2c7)]['call'](_0x53f2c,_0x57b31c)&&_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c)<0x0&&(_0xdab1b[_0x57b31c]=_0x53f2c[_0x57b31c]);if(_0x53f2c!=null&&typeof Object[_0x58dc09(0x345)]==_0x58dc09(0x224)){for(var _0x40e325=0x0,_0x57b31c=Object[_0x58dc09(0x345)](_0x53f2c);_0x40e325<_0x57b31c[_0x58dc09(0x1fd)];_0x40e325++)_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c[_0x40e325])<0x0&&Object[_0x58dc09(0x286)][_0x58dc09(0x291)][_0x58dc09(0x27b)](_0x53f2c,_0x57b31c[_0x40e325])&&(_0xdab1b[_0x57b31c[_0x40e325]]=_0x53f2c[_0x57b31c[_0x40e325]]);}return _0xdab1b;},Fe=_0x2f8ad9(function(_0x2a1e3f,_0xa32a61){const _0x4048b2=_0x962cf9;var _0x1c6622=_0x2a1e3f[_0x4048b2(0x2eb)],_0x1094ff=_0x2a1e3f['id'],_0x2f6323=_0x2a1e3f[_0x4048b2(0x21b)],_0x54b8ec=_0x2a1e3f[_0x4048b2(0x3f7)],_0x418329=Bi(_0x2a1e3f,[_0x4048b2(0x2eb),'id',_0x4048b2(0x21b),_0x4048b2(0x3f7)]),_0x52d904=_0x4048b2(0x2d7)['concat'](_0x1094ff,'\x20')['concat'](_0x2f6323||'')[_0x4048b2(0x308)](),_0x4a79c3=_0x30aa5e('_'[_0x4048b2(0x268)](Fi()));return Dt(_0x1c6622,''[_0x4048b2(0x268)](_0x1094ff),{'defIds':_0x1c6622['defIds'],'idSuffix':_0x4a79c3[_0x4048b2(0x394)]},v({'ref':_0xa32a61,'className':_0x52d904},_0x418329),_0x54b8ec);});function Dt(_0x5ee006,_0x238e3e,_0x2f9212,_0x4b7b53,_0x238221){const _0xf0671e=_0x962cf9;return _0x5d95a3(_0x5ee006[_0xf0671e(0x3d7)],v(v({'key':_0x238e3e},ki(_0x5ee006,_0x2f9212,_0x238221)),_0x4b7b53),(Hi(_0x5ee006,_0x2f9212)[_0xf0671e(0x376)]||[])[_0xf0671e(0x33c)](function(_0x34284e,_0x4d00e7){const _0x536881=_0xf0671e;return Dt(_0x34284e,''[_0x536881(0x268)](_0x238e3e,'-')['concat'](_0x5ee006['tag'],'-')['concat'](_0x4d00e7),_0x2f9212,void 0x0,_0x238221);}));}function ki(_0xf0e539,_0x25e2f5,_0xd2d395){const _0x288f70=_0x962cf9;var _0x289ba3=v({},_0xf0e539['attrs']);_0xd2d395!=null&&_0xd2d395[_0x288f70(0x357)]&&_0x289ba3[_0x288f70(0x375)]===_0x288f70(0x357)&&(_0x289ba3['fill']=_0xd2d395[_0x288f70(0x357)]),_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x2e6)&&_0x289ba3['id']&&(_0x289ba3['id']=_0x289ba3['id']+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x4ae410){const _0x4d4851=_0x288f70;var _0x10c827=_0x4ae410[0x0],_0x4307e4=_0x4ae410[0x1];_0x10c827===_0x4d4851(0x2e6)&&typeof _0x4307e4=='string'&&(_0x289ba3[_0x10c827]=_0x4307e4['replace'](/url\(#(.*)\)/,_0x4d4851(0x383)[_0x4d4851(0x268)](_0x25e2f5[_0x4d4851(0x3ad)],')')));});var _0x22d9df=_0x25e2f5[_0x288f70(0x32e)];return!_0x22d9df||_0x22d9df[_0x288f70(0x1fd)]===0x0||(_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x23d)&&_0x289ba3[_0x288f70(0x220)]&&(_0x289ba3[_0x288f70(0x220)]=_0x289ba3[_0x288f70(0x220)]+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x5abcf3){const _0x247faa=_0x288f70;var _0x417615=_0x5abcf3[0x0],_0x12369d=_0x5abcf3[0x1];typeof _0x12369d==_0x247faa(0x377)&&(_0x289ba3[_0x417615]=_0x12369d[_0x247faa(0x3e6)](/url\(#(.*)\)/,_0x247faa(0x383)[_0x247faa(0x268)](_0x25e2f5['idSuffix'],')')));})),_0x289ba3;}function Hi(_0x37b3d1,_0x30fc10){const _0x40ebab=_0x962cf9;var _0x122e0d,_0x1da0f9=_0x30fc10[_0x40ebab(0x32e)];return!_0x1da0f9||_0x1da0f9['length']===0x0?_0x37b3d1:_0x37b3d1[_0x40ebab(0x3d7)]===_0x40ebab(0x21a)&&(!((_0x122e0d=_0x37b3d1[_0x40ebab(0x376)])===null||_0x122e0d===void 0x0)&&_0x122e0d['length'])?v(v({},_0x37b3d1),{'children':_0x37b3d1[_0x40ebab(0x376)]['map'](function(_0x4a7062){const _0x137cda=_0x40ebab;return typeof _0x4a7062['attrs']['id']==_0x137cda(0x377)&&_0x1da0f9&&_0x1da0f9[_0x137cda(0x3c4)](_0x4a7062['attrs']['id'])?v(v({},_0x4a7062),{'attrs':v(v({},_0x4a7062[_0x137cda(0x23f)]),{'id':_0x4a7062[_0x137cda(0x23f)]['id']+_0x30fc10['idSuffix']})}):_0x4a7062;})}):_0x37b3d1;}function Fi(){const _0x375c07=_0x962cf9;return Math[_0x375c07(0x2ea)]()[_0x375c07(0x2a9)](0x24)[_0x375c07(0x3c6)](0x2,0x8);}Fe[_0x962cf9(0x246)]=_0x962cf9(0x3e4);var Yi={'tag':_0x962cf9(0x33e),'attrs':{'xmlns':_0x962cf9(0x231),'fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x372),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':'currentColor','d':_0x962cf9(0x3f6),'strokeLinecap':_0x962cf9(0x234),'strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x2d4)},'children':[{'tag':'path','attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb)}}]}]}],'defIds':[_0x962cf9(0x2d4)]},Nt=_0x2f8ad9(function(_0x330a2f,_0x4de598){const _0x4d5c77=_0x962cf9;return _0x5d95a3(Fe,Object[_0x4d5c77(0x208)]({},_0x330a2f,{'id':_0x4d5c77(0x1e3),'ref':_0x4de598,'icon':Yi}));});Nt[_0x962cf9(0x246)]=_0x962cf9(0x39a);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x2d0),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':_0x962cf9(0x302),'d':_0x962cf9(0x363),'strokeLinecap':'round','strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x3ec)},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb),'transform':_0x962cf9(0x2fe)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0x2f8ad9(function(_0x4083ad,_0x3b25c6){const _0x2bf021=_0x962cf9;return _0x5d95a3(Fe,Object[_0x2bf021(0x208)]({},_0x4083ad,{'id':'on-line-icon','ref':_0x3b25c6,'icon':ji}));});Ut[_0x962cf9(0x246)]=_0x962cf9(0x3c2);function Vi(_0x5c8575){const _0x58fd7e=_0x962cf9;switch(_0x5c8575){case _0x6cb9cb[_0x58fd7e(0x1e7)]:return _0x58fd7e(0x2ec);case _0x6cb9cb[_0x58fd7e(0x1f7)]:return _0x58fd7e(0x273);case _0x6cb9cb['FETCH_MISS']:return _0x58fd7e(0x2af);case _0x6cb9cb[_0x58fd7e(0x239)]:return'collabStatus.notCollab';case _0x6cb9cb[_0x58fd7e(0x2dc)]:case _0x6cb9cb[_0x58fd7e(0x353)]:return _0x58fd7e(0x2e5);case _0x6cb9cb[_0x58fd7e(0x36a)]:case _0x6cb9cb[_0x58fd7e(0x3ba)]:return _0x58fd7e(0x374);}}function Wi(_0x17da27){const _0x340f97=_0x962cf9,{status$:_0x30bf26}=_0x17da27,_0xf782eb=_0x596b18(_0x30bf26,_0x6cb9cb['NOT_COLLAB']),_0x31a5a3=_0x484074(_0x430f5d),_0x277ffe=_0x484074(_0x193bf2),_0x2967cf=_0xf782eb!==_0x6cb9cb['OFFLINE'],_0x5c614e=_0x31a5a3['t'](Vi(_0xf782eb)),_0x4c1f9a=_0x2967cf?_0x535b0f(Ut,{}):_0x535b0f(Nt,{}),_0x56a8c7=_0x4728c0(()=>{const _0x4da470=_0x188b;_0x2967cf||_0x277ffe[_0x4da470(0x289)]();},[_0x2967cf,_0x277ffe]);function _0x415ed3(){const _0x706bcd=_0x188b;return _0xb613cd(_0x706bcd(0x392),{'className':'univer-flex\x20univer-items-center','onClick':_0x56a8c7,'children':[_0x535b0f(_0x706bcd(0x392),{'className':_0x46edce('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2967cf,'univer-text-red-500':!_0x2967cf}),'children':_0x4c1f9a}),_0x535b0f(_0x706bcd(0x392),{'className':_0x706bcd(0x3e3),'children':_0x5c614e})]});}return _0x2967cf?_0x415ed3():_0x535b0f(_0x154e34,{'title':_0x31a5a3['t'](_0x340f97(0x360)),'children':_0x415ed3()});}var Xi=Object[_0x962cf9(0x31b)],Gi=(_0x2436fa,_0x5c07e5,_0x1b096e,_0x918ae5)=>{const _0x303b83=_0x962cf9;for(var _0x5f28f4=_0x918ae5>0x1?void 0x0:_0x918ae5?Xi(_0x5c07e5,_0x1b096e):_0x5c07e5,_0x111d74=_0x2436fa[_0x303b83(0x1fd)]-0x1,_0x4916b1;_0x111d74>=0x0;_0x111d74--)(_0x4916b1=_0x2436fa[_0x111d74])&&(_0x5f28f4=_0x4916b1(_0x5f28f4)||_0x5f28f4);return _0x5f28f4;},ee=(_0x2eca27,_0x27a714)=>(_0x290993,_0x41e163)=>_0x27a714(_0x290993,_0x41e163,_0x2eca27);let se=class extends _0x28d182{constructor(_0x2a02fb,_0x362110,_0x12ec23,_0x58fa0f){const _0x541141=_0x962cf9;super(),_(this,_0x541141(0x395),new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x541141(0x221)]=_0x2a02fb,this[_0x541141(0x35e)]=_0x362110,this[_0x541141(0x2de)]=_0x12ec23,this[_0x541141(0x2bd)]=_0x58fa0f,this[_0x541141(0x36f)](),this[_0x541141(0x2cc)]());}[_0x962cf9(0x2cc)](){const _0x337f95=_0x962cf9;this[_0x337f95(0x36c)](this[_0x337f95(0x221)][_0x337f95(0x1fe)]['pipe'](_0x2f8d76(()=>{const _0x4ee88f=_0x337f95,_0xf6b842=this[_0x4ee88f(0x221)][_0x4ee88f(0x320)]();return _0xf6b842?this[_0x4ee88f(0x2de)][_0x4ee88f(0x3f3)](_0xf6b842[_0x4ee88f(0x2db)]()):_0x4d0da8(null);}),_0x2f8d76(_0x3a22a0=>_0x3a22a0?_0x3a22a0['status$']:_0x4d0da8(_0x6cb9cb[_0x337f95(0x239)])))[_0x337f95(0x321)](_0x5dfc57=>{const _0x10e6da=_0x337f95;this[_0x10e6da(0x395)][_0x10e6da(0x30e)](_0x5dfc57);}));}[_0x962cf9(0x36f)](){const _0x494590=_0x962cf9;this['disposeWithMe'](this['_uiPartsService'][_0x494590(0x399)](_0xdbd323[_0x494590(0x287)],()=>_0x50120e(Ki({'status$':this[_0x494590(0x395)][_0x494590(0x3d2)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x163e05),ee(0x1,_0xcb25a3(_0x266e02)),ee(0x2,_0xcb25a3(_0x305548)),ee(0x3,_0x30a935)],se);function Ki(_0x43962d){const {status$:_0x498c57}=_0x43962d;return function(){return _0x535b0f(Wi,{'status$':_0x498c57});};}var zi=Object[_0x962cf9(0x31b)],Ji=(_0x59880c,_0x423274,_0x38e03e,_0x60e6f7)=>{const _0x4f18fb=_0x962cf9;for(var _0x225e0c=_0x60e6f7>0x1?void 0x0:_0x60e6f7?zi(_0x423274,_0x38e03e):_0x423274,_0x751428=_0x59880c[_0x4f18fb(0x1fd)]-0x1,_0x4706cc;_0x751428>=0x0;_0x751428--)(_0x4706cc=_0x59880c[_0x751428])&&(_0x225e0c=_0x4706cc(_0x225e0c)||_0x225e0c);return _0x225e0c;},B=(_0x3c90b6,_0x52be76)=>(_0x533b8e,_0x49f2ef)=>_0x52be76(_0x533b8e,_0x49f2ef,_0x3c90b6);let ie=class extends _0x28d182{constructor(_0xed2d43,_0x4ebd52,_0x187e73,_0x3ad98f,_0x59cbf4,_0x5317c1){const _0x380c49=_0x962cf9;super(),this[_0x380c49(0x368)]=_0xed2d43,this[_0x380c49(0x2f7)]=_0x4ebd52,this['_collaborationUIEventService']=_0x187e73,this[_0x380c49(0x265)]=_0x3ad98f,this[_0x380c49(0x201)]=_0x59cbf4,this[_0x380c49(0x33f)]=_0x5317c1,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x962cf9(0x2a3)](){const _0x30e60b=_0x962cf9;this[_0x30e60b(0x36c)](this[_0x30e60b(0x368)]['registerBeforeClose'](()=>{const _0x1c7aa2=_0x30e60b;if(this[_0x1c7aa2(0x2f7)][_0x1c7aa2(0x3ac)][_0x1c7aa2(0x3de)])return this[_0x1c7aa2(0x33f)]['t'](_0x1c7aa2(0x28a));}));}[_0x962cf9(0x371)](){const _0x1e6e36=_0x962cf9;this[_0x1e6e36(0x36c)](this[_0x1e6e36(0x354)][_0x1e6e36(0x37b)][_0x1e6e36(0x321)](_0x516567=>{const _0x3200dd=_0x1e6e36;_0x516567['id']===_0x57b00b[_0x3200dd(0x3bc)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2['Warning'],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x267))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x222)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x38a))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3e9)]&&this[_0x3200dd(0x201)][_0x3200dd(0x3d9)]({'title':this[_0x3200dd(0x33f)]['t']('permission.title'),'content':this[_0x3200dd(0x33f)]['t']('permission.content'),'type':_0x3200dd(0x31f),'duration':0x0}),_0x516567['id']===_0x57b00b[_0x3200dd(0x1f7)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x516567['data']+')'}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3f5)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x516567[_0x3200dd(0x228)]||'')}),_0x516567['id']===_0x57b00b['SOCKET_FAILED_RETRY']&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t']('session.will-retry')}),_0x516567['id']===_0x57b00b[_0x3200dd(0x330)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x3cc))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3ce)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t'](_0x3200dd(0x26a))});}));}};ie=Ji([B(0x0,_0x177a2b),B(0x1,_0x2c845a),B(0x2,_0xcb25a3(_0x2eac54)),B(0x3,_0x163a37),B(0x4,_0x22f31f),B(0x5,_0xcb25a3(_0x430f5d))],ie);const Zi=_0x962cf9(0x2e3),et={},Mt=_0x21c8fa(_0x962cf9(0x28f));var Qi=Object[_0x962cf9(0x31b)],qi=(_0x2194e9,_0x49af15,_0x58bfd8,_0x45cae5)=>{const _0xd6e83b=_0x962cf9;for(var _0x27615d=_0x45cae5>0x1?void 0x0:_0x45cae5?Qi(_0x49af15,_0x58bfd8):_0x49af15,_0x592571=_0x2194e9[_0xd6e83b(0x1fd)]-0x1,_0x38910c;_0x592571>=0x0;_0x592571--)(_0x38910c=_0x2194e9[_0x592571])&&(_0x27615d=_0x38910c(_0x27615d)||_0x27615d);return _0x27615d;},K=(_0x416541,_0x3c74d9)=>(_0x39413a,_0x450ac5)=>_0x3c74d9(_0x39413a,_0x450ac5,_0x416541);let ne=class extends _0x18aeae{constructor(_0x3d1f03,_0x5ef7cd,_0x458a12,_0x3481f8,_0x2064a8){const _0x3d343f=_0x962cf9;super(),this[_0x3d343f(0x328)]=_0x3d1f03,this['_logService']=_0x5ef7cd,this['_commandService']=_0x458a12,this[_0x3d343f(0x2fc)]=_0x3481f8,_0x2064a8?_0x2064a8==null||_0x2064a8[_0x3d343f(0x277)]()[_0x3d343f(0x37d)](()=>this[_0x3d343f(0x32c)]()):(this[_0x3d343f(0x2d1)][_0x3d343f(0x32f)](_0x3d343f(0x1f5),_0x3d343f(0x279)),this['_init']());}async['_init'](){const _0x2cb91d=_0x962cf9,_0x57ac5b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)]('unit'),_0x987c7b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)](_0x2cb91d(0x259)),_0x40ff50=this['_urlService'][_0x2cb91d(0x245)](_0x2cb91d(0x2ff));if(!_0x57ac5b||!_0x987c7b){this[_0x2cb91d(0x2d1)]['debug']('[CollaborationDataLoaderController]',_0x2cb91d(0x355));return;}const _0x4599f7=await this['_dataLoaderService'][_0x2cb91d(0x2c4)](_0x57ac5b,Number(_0x987c7b),_0x40ff50);_0x4599f7&&_0x4599f7 instanceof _0x1b3c74&&this[_0x2cb91d(0x361)](_0x4599f7);}async[_0x962cf9(0x361)](_0x5be2e5){const _0x361634=_0x962cf9;await this[_0x361634(0x31d)](_0x5be2e5),_0x5be2e5[_0x361634(0x3a0)][_0x361634(0x3c5)](_0x1bd82a(this['dispose$']))[_0x361634(0x321)](_0x1c609a=>{const _0x449bc0=_0x361634;_0x1c609a&&this[_0x449bc0(0x1e4)](_0x1c609a);}),this[_0x361634(0x328)][_0x361634(0x35d)][_0x361634(0x3c5)](_0x1bd82a(this[_0x361634(0x304)]))[_0x361634(0x321)](()=>this[_0x361634(0x31d)](_0x5be2e5));}['_updateURLWithCurrentState'](_0x5c31f2,_0x11962d=!0x1){const _0x4a635a=_0x962cf9,_0x3df2c3=this[_0x4a635a(0x328)][_0x4a635a(0x245)]('subunit');_0x5c31f2[_0x4a635a(0x1f6)]()!==_0x3df2c3&&this[_0x4a635a(0x328)][_0x4a635a(0x2a5)]('subunit',_0x5c31f2[_0x4a635a(0x1f6)](),_0x11962d);}async[_0x962cf9(0x31d)](_0xdef513){const _0x10d495=_0x962cf9;var _0x57e74d;const _0x1fde7b=this[_0x10d495(0x328)][_0x10d495(0x245)](_0x10d495(0x2ff));if(!_0x1fde7b||!_0xdef513[_0x10d495(0x24d)](_0x1fde7b)){const _0x5692da=_0xdef513[_0x10d495(0x397)]()[0x0],_0xc70e60=_0xdef513[_0x10d495(0x24d)](_0x5692da);if(!_0xc70e60)return;this[_0x10d495(0x1e4)](_0xc70e60,!0x0),await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x5692da});return;}((_0x57e74d=_0xdef513[_0x10d495(0x2c9)]())==null?void 0x0:_0x57e74d['getSheetId']())!==_0x1fde7b&&await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x1fde7b});}};ne=qi([K(0x0,Mt),K(0x1,_0x4b5f06),K(0x2,_0xfb0aa9),K(0x3,_0xcb25a3(_0x46019f)),K(0x4,_0x308ac6(_0x12a8e4))],ne);var en=Object[_0x962cf9(0x31b)],tn=(_0x85d72e,_0x5c25d7,_0x4f59d3,_0x4b2e4e)=>{const _0x27e3c1=_0x962cf9;for(var _0x1eab1d=_0x4b2e4e>0x1?void 0x0:_0x4b2e4e?en(_0x5c25d7,_0x4f59d3):_0x5c25d7,_0x20d79d=_0x85d72e[_0x27e3c1(0x1fd)]-0x1,_0x2ab7c0;_0x20d79d>=0x0;_0x20d79d--)(_0x2ab7c0=_0x85d72e[_0x20d79d])&&(_0x1eab1d=_0x2ab7c0(_0x1eab1d)||_0x1eab1d);return _0x1eab1d;},tt=(_0x4cf0a8,_0x2ab8ae)=>(_0x239071,_0x5e9338)=>_0x2ab8ae(_0x239071,_0x5e9338,_0x4cf0a8);let re=class{constructor(_0x3ee68d,_0x121d0d){const _0x332b81=_0x962cf9;this[_0x332b81(0x25b)]=_0x3ee68d,this[_0x332b81(0x2c0)]=_0x121d0d;}[_0x962cf9(0x365)](_0x182b1f){const _0x378528=_0x962cf9;this[_0x378528(0x3d4)](_0x182b1f),this[_0x378528(0x2b5)](_0x182b1f);}[_0x962cf9(0x3cf)](_0x205233){const _0x3aab00=_0x962cf9,{unitID:_0x5e409d}=_0x205233,_0x520c52=this[_0x3aab00(0x2c0)][_0x3aab00(0x22b)](_0x5e409d)['with'](_0x59b75e),{redoCache:_0x38d9a6}=_0x520c52[_0x3aab00(0x203)]();if(_0x38d9a6[_0x3aab00(0x1fd)]===0x0)return _0x205233;let _0x48f689=_0x59a4e3['deepClone'](_0x205233[_0x3aab00(0x292)][0x0]);for(let _0x591ceb=0x0;_0x591ceb<_0x38d9a6[_0x3aab00(0x1fd)];_0x591ceb++){const _0x3166f6={'id':_0x3aab00(0x25a),'params':{..._0x38d9a6[_0x591ceb]}},_0x402307=this['_transformService'][_0x3aab00(0x1f9)](_0x48f689,_0x3166f6,!0x1);if(_0x4c0423(_0x402307))throw _0x402307[_0x3aab00(0x31f)];_0x48f689=_0x402307[_0x3aab00(0x311)];}return{..._0x59a4e3[_0x3aab00(0x370)](_0x205233),'mutations':[_0x48f689]};}[_0x962cf9(0x3d4)](_0x6ea12d){const _0x4d1225=_0x962cf9,{unitID:_0x2a722a}=_0x6ea12d,_0x19c9b3=this[_0x4d1225(0x2c0)][_0x4d1225(0x22b)](_0x2a722a)[_0x4d1225(0x1e6)](_0x59b75e),{undoCache:_0x3ad5e7,redoCache:_0x10560f}=_0x19c9b3[_0x4d1225(0x203)]();if(_0x3ad5e7[_0x4d1225(0x1fd)]===0x0||_0x10560f[_0x4d1225(0x1fd)]===0x0)return;const _0x3e191e=[],_0x282653=[];let _0x3efbd4=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]),_0x45d436=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]);for(let _0x18c1c0=_0x3ad5e7[_0x4d1225(0x1fd)]-0x1;_0x18c1c0>=0x0;_0x18c1c0--){const _0x3b17c1={'id':'doc.mutation.rich-text-editing','params':{..._0x3ad5e7[_0x18c1c0]}},_0x29b8c5={'id':_0x4d1225(0x25a),'params':{..._0x10560f[_0x18c1c0]}},_0x1a80fe=this['_transformService'][_0x4d1225(0x1f9)](_0x3efbd4,_0x3b17c1,!0x1),_0x7a84af=this[_0x4d1225(0x25b)][_0x4d1225(0x1f9)](_0x45d436,_0x29b8c5,!0x1);if(_0x4c0423(_0x1a80fe))throw _0x1a80fe[_0x4d1225(0x31f)];if(_0x4c0423(_0x7a84af))throw _0x7a84af[_0x4d1225(0x31f)];_0x3e191e[_0x4d1225(0x2ab)](_0x1a80fe['m2Prime'][_0x4d1225(0x334)]),_0x282653[_0x4d1225(0x2ab)](_0x7a84af[_0x4d1225(0x351)][_0x4d1225(0x334)]),_0x3efbd4=_0x1a80fe[_0x4d1225(0x311)],_0x45d436=_0x7a84af[_0x4d1225(0x311)];}_0x19c9b3[_0x4d1225(0x2f8)]({'undoCache':_0x3e191e,'redoCache':_0x282653});}['_transformPreviousActiveRange'](_0x20c76c){const _0x2fd7a6=_0x962cf9,{unitID:_0x3c9c78}=_0x20c76c,_0x41341d=this[_0x2fd7a6(0x2c0)][_0x2fd7a6(0x22b)](_0x3c9c78)['with'](_0x59b75e),_0x457b39=_0x41341d[_0x2fd7a6(0x248)]();if(_0x457b39==null)return;const _0x467cbb=[{'id':_0x2fd7a6(0x25a),'params':{'unitId':_0x20c76c[_0x2fd7a6(0x295)],'actions':null,'textRanges':[_0x457b39]}}],_0x1173db=this['_transformService']['transformMutationsWithChangeset'](_0x20c76c,_0x467cbb);if(!_0x3cbbdb(_0x1173db))throw _0x1173db['error'];const _0x546871=_0x1173db[_0x2fd7a6(0x351)][0x0][_0x2fd7a6(0x334)][_0x2fd7a6(0x369)];Array[_0x2fd7a6(0x219)](_0x546871)&&_0x546871['length']&&_0x41341d[_0x2fd7a6(0x3ab)](_0x546871[0x0]);}};re=tn([tt(0x0,_0x4a79a0),tt(0x1,_0x288115)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2f1ae8,_0x649e83,_0x2cd02a,_0x56636a)=>{const _0x71cca9=_0x962cf9;for(var _0x43b38f=_0x56636a>0x1?void 0x0:_0x56636a?sn(_0x649e83,_0x2cd02a):_0x649e83,_0xd1395b=_0x2f1ae8[_0x71cca9(0x1fd)]-0x1,_0x3f782c;_0xd1395b>=0x0;_0xd1395b--)(_0x3f782c=_0x2f1ae8[_0xd1395b])&&(_0x43b38f=_0x3f782c(_0x43b38f)||_0x43b38f);return _0x43b38f;},Ce=(_0xcb313d,_0x11637c)=>(_0x15edf0,_0x305f9f)=>_0x11637c(_0x15edf0,_0x305f9f,_0xcb313d);let oe=class{constructor(_0x1d0830,_0x24de98,_0x5ccfae){const _0x52328b=_0x962cf9;this[_0x52328b(0x35e)]=_0x1d0830,this[_0x52328b(0x25b)]=_0x24de98,this[_0x52328b(0x215)]=_0x5ccfae;}['transformStateCache'](_0x2bde5a){const _0x5207f5=_0x962cf9;this[_0x5207f5(0x364)](_0x2bde5a);}[_0x962cf9(0x3cf)](_0x260194){const _0x4d999b=_0x962cf9,{unitID:_0xfa5094}=_0x260194,{collaboration:_0x22faba}=this['_docStateChangeManagerService'][_0x4d999b(0x314)](_0xfa5094);if(_0x22faba[_0x4d999b(0x1fd)]===0x0)return _0x260194;let _0x54c3ee=_0x59a4e3[_0x4d999b(0x370)](_0x260194[_0x4d999b(0x292)][0x0]);for(let _0x17c27c=0x0;_0x17c27c<_0x22faba[_0x4d999b(0x1fd)];_0x17c27c++){const _0xb0e5b3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22faba[_0x17c27c][_0x4d999b(0x3bf)],..._0x22faba[_0x17c27c][_0x4d999b(0x32b)]}},_0x18a0fc=this[_0x4d999b(0x25b)][_0x4d999b(0x1f9)](_0x54c3ee,_0xb0e5b3,!0x1);if(_0x4c0423(_0x18a0fc))throw _0x18a0fc[_0x4d999b(0x31f)];_0x54c3ee=_0x18a0fc['m1Prime'];}return{..._0x59a4e3['deepClone'](_0x260194),'mutations':[_0x54c3ee]};}['_transformHistoryAndStateStack'](_0x587f7a){const _0x50bf2a=_0x962cf9,{unitID:_0x47bfcd}=_0x587f7a,{history:_0x3fe14f,collaboration:_0x29b59b}=this['_docStateChangeManagerService'][_0x50bf2a(0x314)](_0x47bfcd);if(_0x3fe14f[_0x50bf2a(0x1fd)]===0x0&&_0x29b59b[_0x50bf2a(0x1fd)]===0x0)return;const _0x508f11=[],_0x52e3f0=[];let _0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a['mutations'][0x0]);for(let _0x3c5d99=_0x3fe14f[_0x50bf2a(0x1fd)]-0x1;_0x3c5d99>=0x0;_0x3c5d99--){const _0x3cfe2c={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x3fe14f[_0x3c5d99]['unitId'],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x34e)]}},_0x19c42e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fe14f[_0x3c5d99][_0x50bf2a(0x3bf)],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x32b)]}},_0x53ecc2=this['_transformService'][_0x50bf2a(0x1f9)](_0x294e33,_0x3cfe2c,!0x1),_0x125a53=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x19c42e,!0x1);if(_0x4c0423(_0x53ecc2))throw _0x53ecc2[_0x50bf2a(0x31f)];if(_0x4c0423(_0x125a53))throw _0x125a53[_0x50bf2a(0x31f)];_0x508f11[_0x50bf2a(0x2ab)]({..._0x3fe14f[_0x3c5d99],'undoState':_0x53ecc2[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x125a53[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x53ecc2[_0x50bf2a(0x311)],_0x2a9eb8=_0x125a53['m1Prime'];}_0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]);for(let _0x8b2beb=_0x29b59b[_0x50bf2a(0x1fd)]-0x1;_0x8b2beb>=0x0;_0x8b2beb--){const _0x513c80={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['undoState']}},_0x287efd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['redoState']}},_0x54b735=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x294e33,_0x513c80,!0x1),_0x141fea=this['_transformService'][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x287efd,!0x1);if(_0x4c0423(_0x54b735))throw _0x54b735[_0x50bf2a(0x31f)];if(_0x4c0423(_0x141fea))throw _0x141fea[_0x50bf2a(0x31f)];_0x52e3f0[_0x50bf2a(0x2ab)]({..._0x29b59b[_0x8b2beb],'undoState':_0x54b735[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x141fea[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x54b735['m1Prime'],_0x2a9eb8=_0x141fea['m1Prime'];}this['_docStateChangeManagerService'][_0x50bf2a(0x247)](_0x47bfcd,{'history':_0x508f11,'collaboration':_0x52e3f0});}};oe=nn([Ce(0x0,_0xcb25a3(_0x266e02)),Ce(0x1,_0x4a79a0),Ce(0x2,_0xcb25a3(_0x717295))],oe);var rn=Object[_0x962cf9(0x31b)],on=(_0x2a98a9,_0x43cd3c,_0x530188,_0x1b2643)=>{for(var _0xc98d2c=_0x1b2643>0x1?void 0x0:_0x1b2643?rn(_0x43cd3c,_0x530188):_0x43cd3c,_0x5e2b33=_0x2a98a9['length']-0x1,_0x364168;_0x5e2b33>=0x0;_0x5e2b33--)(_0x364168=_0x2a98a9[_0x5e2b33])&&(_0xc98d2c=_0x364168(_0xc98d2c)||_0xc98d2c);return _0xc98d2c;},st=(_0x142b5b,_0x299cde)=>(_0x3e5752,_0x9fd99b)=>_0x299cde(_0x3e5752,_0x9fd99b,_0x142b5b);let ae=class{constructor(_0x53b13c,_0x11649b){this['_injector']=_0x53b13c,this['_transformService']=_0x11649b;}[_0x962cf9(0x2f0)](_0x4dd49b){const _0x592100=_0x962cf9;var _0x49b1d7;const _0x200f40=this[_0x592100(0x35e)][_0x592100(0x22d)](_0x3f746d),_0x433016=(_0x49b1d7=_0x200f40[_0x592100(0x342)]())!=null?_0x49b1d7:[];if(_0x433016[_0x592100(0x1fd)]===0x0)return;const _0x40d847=_0x4dd49b[_0x592100(0x295)],_0x1517c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d847,'actions':null,'textRanges':_0x433016}}],_0x51a6e0=this[_0x592100(0x25b)][_0x592100(0x1ee)](_0x4dd49b,_0x1517c9);if(!_0x3cbbdb(_0x51a6e0))throw _0x51a6e0[_0x592100(0x31f)];const _0x273921=_0x51a6e0['m2Prime'][0x0][_0x592100(0x334)][_0x592100(0x369)];Array[_0x592100(0x219)](_0x273921)&&_0x273921['length']&&_0x200f40[_0x592100(0x233)](_0x273921,{'unitId':_0x40d847,'subUnitId':_0x40d847},!0x1);}};ae=on([st(0x0,_0xcb25a3(_0x266e02)),st(0x1,_0x4a79a0)],ae);var an=Object[_0x962cf9(0x31b)],cn=(_0x12f033,_0x408c41,_0x24c965,_0x2fa3ba)=>{const _0x29c4f7=_0x962cf9;for(var _0x39b068=_0x2fa3ba>0x1?void 0x0:_0x2fa3ba?an(_0x408c41,_0x24c965):_0x408c41,_0x439b9f=_0x12f033[_0x29c4f7(0x1fd)]-0x1,_0x3040c7;_0x439b9f>=0x0;_0x439b9f--)(_0x3040c7=_0x12f033[_0x439b9f])&&(_0x39b068=_0x3040c7(_0x39b068)||_0x39b068);return _0x39b068;},N=(_0x471b06,_0x5e0abb)=>(_0x115e40,_0x23627b)=>_0x5e0abb(_0x115e40,_0x23627b,_0x471b06);let ce=class extends _0x28d182{constructor(_0x233a6f,_0x4f4d14,_0x4f2bb9,_0x125837,_0x1243f2,_0x256c36,_0x412ea3,_0x19d528){const _0x274421=_0x962cf9;super(),_(this,'_status$',new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x274421(0x215)]=_0x233a6f,this['_collaborationController']=_0x4f4d14,this[_0x274421(0x266)]=_0x4f2bb9,this['_docTransformStateCacheService']=_0x125837,this[_0x274421(0x20d)]=_0x1243f2,this[_0x274421(0x3a1)]=_0x256c36,this['_messageService']=_0x412ea3,this['_localeService']=_0x19d528,this[_0x274421(0x237)]());}[_0x962cf9(0x237)](){const _0xe8e2cd=_0x962cf9;this['disposeWithMe'](this[_0xe8e2cd(0x2de)][_0xe8e2cd(0x1ff)]['subscribe'](_0x6927a0=>{const _0x3912c2=_0xe8e2cd,_0x5815dd=this[_0x3912c2(0x215)][_0x3912c2(0x350)]['subscribe'](_0x276ab3=>{const _0x15d2db=_0x3912c2;if(_0x276ab3==null)return;const {unitId:_0x35b0ff,redoState:_0x411b79,commandId:_0xb8a38b}=_0x276ab3;if(_0x35b0ff!==_0x6927a0[_0x15d2db(0x295)])return;const _0x14cda2={'id':_0xb8a38b,'type':_0x1d3f18[_0x15d2db(0x30c)],'params':{'unitId':_0x35b0ff,'actions':_0x411b79[_0x15d2db(0x3df)],'textRanges':null}};_0x6927a0[_0x15d2db(0x3da)](_0x14cda2);});if(_0x6927a0['disposeWithMe'](_0x5815dd),_0x6927a0 instanceof _0x52bfbc){const _0x2f508b={'onTransformIME':_0x5e6724=>this[_0x3912c2(0x266)][_0x3912c2(0x365)](_0x5e6724),'onTransformState':_0x538ed5=>this[_0x3912c2(0x20c)]['transformStateCache'](_0x538ed5),'onTransformSelections':_0x49f6ec=>this[_0x3912c2(0x20d)][_0x3912c2(0x2f0)](_0x49f6ec),'onSyncEditingCollabCursor':_0x54c605=>this[_0x3912c2(0x3a1)][_0x3912c2(0x204)](_0x54c605),'onTransformRemoteChangesetByIMECache':_0x2dafaf=>this[_0x3912c2(0x266)]['transformRemoteChangeset'](_0x2dafaf),'onTransformRemoteChangesetByStateCache':_0x177293=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x177293)};_0x6927a0['addHandlerCallback'](_0x2f508b);}}));}};ce=cn([N(0x0,_0xcb25a3(_0x717295)),N(0x1,_0xcb25a3(_0x305548)),N(0x2,_0xcb25a3(re)),N(0x3,_0xcb25a3(oe)),N(0x4,_0xcb25a3(ae)),N(0x5,_0xcb25a3(He)),N(0x6,_0x163a37),N(0x7,_0xcb25a3(_0x430f5d))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x43e16e,_0x1bfe21,_0x415a28,_0x3923b7)=>{const _0xc94717=_0x962cf9;for(var _0x1c9ac6=_0x3923b7>0x1?void 0x0:_0x3923b7?ln(_0x1bfe21,_0x415a28):_0x1bfe21,_0x2c3bb2=_0x43e16e[_0xc94717(0x1fd)]-0x1,_0x22f885;_0x2c3bb2>=0x0;_0x2c3bb2--)(_0x22f885=_0x43e16e[_0x2c3bb2])&&(_0x1c9ac6=_0x22f885(_0x1c9ac6)||_0x1c9ac6);return _0x1c9ac6;},Ee=(_0x1ce913,_0x779a16)=>(_0x4baa2f,_0xa2e9dd)=>_0x779a16(_0x4baa2f,_0xa2e9dd,_0x1ce913);let we=class extends _0x28d182{constructor(_0xe93d42,_0xe9a965,_0x55b7fc){const _0x30c6ad=_0x962cf9;super(),_(this,_0x30c6ad(0x26f),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x30c6ad(0x270),!0x1),(this[_0x30c6ad(0x31a)]=_0xe93d42,this[_0x30c6ad(0x347)]=_0xe9a965,this[_0x30c6ad(0x29e)]=_0x55b7fc);}[_0x962cf9(0x28e)](){const _0x37d269=_0x962cf9;this[_0x37d269(0x270)]=!0x0;}['enableLocalCache'](){const _0x5bb752=_0x962cf9;this[_0x5bb752(0x270)]=!0x1;}get[_0x962cf9(0x3ac)](){return this['_saveTaskMap'];}[_0x962cf9(0x2e8)](){const _0x2b1baf=_0x962cf9;this[_0x2b1baf(0x261)]()[_0x2b1baf(0x37d)](()=>super[_0x2b1baf(0x2e8)]());}async[_0x962cf9(0x2ed)](_0x514333){const _0x112828=_0x962cf9;return this['_disabled']?null:this[_0x112828(0x347)]['getItem'](_0x2923f1(_0x514333));}async[_0x962cf9(0x211)](_0x53d30b,_0xb8ca96){const _0x231bfc=_0x962cf9;return!!this[_0x231bfc(0x347)][_0x231bfc(0x385)](_0x53d30b,_0xb8ca96);}[_0x962cf9(0x381)](_0x19a3c5,_0x148109,_0x42315f,_0x5aefa1){const _0x2106bf=_0x962cf9,_0x4cfdc8=this[_0x2106bf(0x29e)]['getCurrentRevOfUnit'](_0x19a3c5);this[_0x2106bf(0x26f)][_0x2106bf(0x335)](_0x19a3c5,{'unitID':_0x19a3c5,'type':_0x148109,'awaitingChangeset':_0x42315f,'mutations':_0x5aefa1,'rev':_0x4cfdc8}),this[_0x2106bf(0x307)][_0x2106bf(0x2f3)](_0x19a3c5)||this[_0x2106bf(0x236)](_0x19a3c5);}[_0x962cf9(0x236)](_0x14e740){const _0x240959=_0x962cf9,_0x5660a6=this[_0x240959(0x294)]();_0x5660a6===0x0?this[_0x240959(0x216)](_0x14e740):this[_0x240959(0x307)][_0x240959(0x335)](_0x14e740,setTimeout(()=>this['_saveCache'](_0x14e740),_0x5660a6));}[_0x962cf9(0x294)](){const _0x5acdf4=_0x962cf9;var _0x106139;return(_0x106139=this[_0x5acdf4(0x31a)][_0x5acdf4(0x3c7)](_0x3cc047))!=null?_0x106139:_0x645872;}[_0x962cf9(0x216)](_0x1c98c9){const _0x4fce06=_0x962cf9,_0x2dbf22=this[_0x4fce06(0x307)][_0x4fce06(0x22d)](_0x1c98c9);return _0x2dbf22!==void 0x0&&window['clearTimeout'](_0x2dbf22),this['_localStorageService'][_0x4fce06(0x385)](_0x2923f1(_0x1c98c9),this[_0x4fce06(0x26f)]['get'](_0x1c98c9))[_0x4fce06(0x37d)](()=>this[_0x4fce06(0x307)][_0x4fce06(0x260)](_0x1c98c9));}async[_0x962cf9(0x261)](){const _0x22515f=_0x962cf9,_0x26cdbf=[];this[_0x22515f(0x307)]['forEach']((_0x118fcf,_0x49d69e)=>{const _0x5ebe66=_0x22515f;window[_0x5ebe66(0x37c)](_0x118fcf),_0x26cdbf[_0x5ebe66(0x3d1)](this[_0x5ebe66(0x216)](_0x49d69e)['then'](()=>{const _0x4477ca=_0x5ebe66;this[_0x4477ca(0x307)][_0x4477ca(0x260)](_0x49d69e);}));}),await Promise[_0x22515f(0x36d)](_0x26cdbf);}};we=_n([Ee(0x0,_0x4befe5),Ee(0x1,_0x258cee),Ee(0x2,_0xcb25a3(_0x4035c3))],we);class hn extends _0x18aeae{constructor(){const _0x72c279=_0x962cf9;super(),_(this,_0x72c279(0x35d)),this['urlChange$']=_0x417bf8(window,'popstate')['pipe'](_0x1bd82a(this[_0x72c279(0x304)]),_0x2a4246(0x1),_0x122c39(void 0x0));}['setParam'](_0x3cc231,_0x227041,_0x328e24=!0x1){const _0x54c91c=_0x962cf9,_0x334b15=new URL(window[_0x54c91c(0x33a)][_0x54c91c(0x3d5)]);_0x334b15[_0x54c91c(0x367)][_0x54c91c(0x335)](_0x3cc231,_0x227041),_0x328e24?window[_0x54c91c(0x23e)][_0x54c91c(0x20e)]('','',_0x334b15[_0x54c91c(0x2a9)]()):window[_0x54c91c(0x23e)]['pushState']('','',_0x334b15['toString']());}[_0x962cf9(0x3dd)](_0x41927e,_0x22e1ae=!0x1){const _0x132989=_0x962cf9,_0x5db930=new URL(window[_0x132989(0x33a)][_0x132989(0x3d5)]);_0x5db930[_0x132989(0x367)][_0x132989(0x260)](_0x41927e),_0x22e1ae?window[_0x132989(0x23e)][_0x132989(0x20e)]('','',_0x5db930[_0x132989(0x2a9)]()):window[_0x132989(0x23e)][_0x132989(0x2d8)]('','',_0x5db930[_0x132989(0x2a9)]());}[_0x962cf9(0x245)](_0x2db46b){const _0x1ebed7=_0x962cf9;var _0x6f7a80;return(_0x6f7a80=new URL(window[_0x1ebed7(0x33a)]['href'])[_0x1ebed7(0x367)][_0x1ebed7(0x22d)](_0x2db46b))!=null?_0x6f7a80:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x962cf9(0x31b)],fn=(_0x1acfdd,_0x5556d6,_0x1d5e11)=>_0x5556d6 in _0x1acfdd?un(_0x1acfdd,_0x5556d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d5e11}):_0x1acfdd[_0x5556d6]=_0x1d5e11,Sn=(_0x116094,_0x398f47,_0xd39966,_0x220cf1)=>{for(var _0x3c43fb=_0x220cf1>0x1?void 0x0:_0x220cf1?dn(_0x398f47,_0xd39966):_0x398f47,_0x2c00ab=_0x116094['length']-0x1,_0x1e803d;_0x2c00ab>=0x0;_0x2c00ab--)(_0x1e803d=_0x116094[_0x2c00ab])&&(_0x3c43fb=_0x1e803d(_0x3c43fb)||_0x3c43fb);return _0x3c43fb;},Oe=(_0x101aff,_0xe01c9a)=>(_0x97a0e7,_0x3c218a)=>_0xe01c9a(_0x97a0e7,_0x3c218a,_0x101aff),mn=(_0x543027,_0x246078,_0x59e678)=>fn(_0x543027,_0x246078+'',_0x59e678);const In=_0x962cf9(0x384);let Ae=class extends _0x3a3a0d{constructor(_0x4049d8=et,_0x1baf49,_0x2de28d,_0x110658){const _0x14969c=_0x962cf9;super(),this[_0x14969c(0x232)]=_0x4049d8,this[_0x14969c(0x2c0)]=_0x1baf49,this[_0x14969c(0x35e)]=_0x2de28d,this[_0x14969c(0x31a)]=_0x110658;const {..._0x19eb74}=_0x2af056({},et,this[_0x14969c(0x232)]);this[_0x14969c(0x31a)][_0x14969c(0x1fb)](Zi,_0x19eb74);}[_0x962cf9(0x2cf)](){const _0x115f49=_0x962cf9;this[_0x115f49(0x253)](),this[_0x115f49(0x3a8)]();}[_0x962cf9(0x2e9)](){const _0x4279ed=_0x962cf9;this[_0x4279ed(0x290)]();}['_registerDependencies'](){const _0x5e647d=_0x962cf9;var _0x550ff4;const _0x48bea5=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x7ddd3f,{'useClass':_0x10595c}],[_0x2c845a,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x418a4b(this[_0x5e647d(0x35e)],_0x4a5b4b(_0x48bea5,(_0x550ff4=this[_0x5e647d(0x232)])==null?void 0x0:_0x550ff4[_0x5e647d(0x2d3)]));}['_registerRenderDependencies'](){const _0x33061d=_0x962cf9;this[_0x33061d(0x36c)](this[_0x33061d(0x2c0)][_0x33061d(0x275)](_0x11844b[_0x33061d(0x301)],[Le])),this[_0x33061d(0x36c)](this['_renderManagerService'][_0x33061d(0x275)](_0x11844b[_0x33061d(0x1e9)],[Pe]));}[_0x962cf9(0x3a8)](){const _0x197292=_0x962cf9;_0x47fe41(this[_0x197292(0x35e)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x962cf9(0x272),In),Ae=Sn([_0x296f17(_0x246b97),Oe(0x1,_0x288115),Oe(0x2,_0xcb25a3(_0x266e02)),Oe(0x3,_0x4befe5)],Ae);var vn=Object[_0x962cf9(0x31b)],gn=(_0x1d137d,_0x148154,_0x468060,_0x170e1f)=>{for(var _0x47fce7=_0x170e1f>0x1?void 0x0:_0x170e1f?vn(_0x148154,_0x468060):_0x148154,_0x44ba67=_0x1d137d['length']-0x1,_0x268b83;_0x44ba67>=0x0;_0x44ba67--)(_0x268b83=_0x1d137d[_0x44ba67])&&(_0x47fce7=_0x268b83(_0x47fce7)||_0x47fce7);return _0x47fce7;},z=(_0x4071ef,_0x280d13)=>(_0x393b96,_0x7ea9df)=>_0x280d13(_0x393b96,_0x7ea9df,_0x4071ef);let it=class extends _0x47b134{constructor(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7){super(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7);}async[_0x962cf9(0x362)](_0x48d79e){const _0x4adf7d=_0x962cf9,_0x5a5571=await this[_0x4adf7d(0x2a7)](),_0xea13e1=this['_createSocketURL'](_0x48d79e,_0x5a5571);return this[_0x4adf7d(0x2c8)](_0xea13e1);}[_0x962cf9(0x28c)](_0x2e93d6,_0x406eaa){const _0x7f669=_0x962cf9,_0x711804=typeof window>'u'?new URL(_0x2e93d6):new URL(_0x2e93d6,window[_0x7f669(0x33a)]['origin']);_0x711804[_0x7f669(0x367)][_0x7f669(0x335)]('sessionTicket',_0x406eaa);const _0x1808b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7f669(0x3b8)]);return _0x1808b1[_0x7f669(0x22d)]('runId')&&_0x711804[_0x7f669(0x367)][_0x7f669(0x335)](_0x7f669(0x209),_0x1808b1['get'](_0x7f669(0x209))),_0x711804[_0x7f669(0x2a9)]();}async[_0x962cf9(0x2a7)](){const _0x4c2949=_0x962cf9;var _0x199c48,_0x5efb53,_0x4d037b;const _0x4f3255=this[_0x4c2949(0x31a)][_0x4c2949(0x3c7)](_0x560485),_0x138b8d=(_0x199c48=_0x4f3255==null?void 0x0:_0x4f3255['wsSessionTicketUrl'])!=null?_0x199c48:_0x1a3bf9;return(_0x4d037b=(_0x5efb53=(await this[_0x4c2949(0x2e7)][_0x4c2949(0x22d)](_0x138b8d,{'headers':{'Content-Type':'application/json'}}))[_0x4c2949(0x244)])==null?void 0x0:_0x5efb53[_0x4c2949(0x293)])!=null?_0x4d037b:'';}};it=gn([z(0x0,_0xcb25a3(_0x266e02)),z(0x1,_0xcb25a3(_0x55461b)),z(0x2,_0x4befe5),z(0x3,_0x4b5f06),z(0x4,_0x1a3962)],it);const nt=0x7530,rt=_0x962cf9(0x3a5);class Fn extends _0x28d182{constructor(){const _0x4c54dd=_0x962cf9;super(),_(this,_0x4c54dd(0x2be),_0x1ebbcc()),_(this,_0x4c54dd(0x3bd),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x4c54dd(0x373),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x6e916e=_0x962cf9;super[_0x6e916e(0x2e8)](),this[_0x6e916e(0x20f)][_0x6e916e(0x2c1)]((_0x442381,_0x1b8277)=>this[_0x6e916e(0x359)](_0x1b8277)),this[_0x6e916e(0x373)]&&window[_0x6e916e(0x243)](this[_0x6e916e(0x373)]);}[_0x962cf9(0x323)](_0xe5d202){const _0x21f7c5=_0x962cf9;return this[_0x21f7c5(0x3b1)](_0xe5d202)[_0x21f7c5(0x3c5)](_0x5d80e7());}[_0x962cf9(0x21e)](_0x18532f){const _0x4d905b=_0x962cf9;this['_selfUnitIDs'][_0x4d905b(0x3de)]===0x0&&this[_0x4d905b(0x2e4)](),this[_0x4d905b(0x3bd)][_0x4d905b(0x1eb)](_0x18532f),this[_0x4d905b(0x312)]({'type':0x0,'memberID':this[_0x4d905b(0x2be)],'unitIDs':[_0x18532f],'isForwarded':!0x1});}[_0x962cf9(0x3ea)](_0x23a6af){const _0xca0c90=_0x962cf9;this[_0xca0c90(0x3bd)][_0xca0c90(0x260)](_0x23a6af),this[_0xca0c90(0x3bd)]['size']===0x0&&this[_0xca0c90(0x373)]&&window[_0xca0c90(0x243)](this[_0xca0c90(0x373)]);}['_init'](){const _0x480209=_0x962cf9;this[_0x480209(0x36c)](_0x354a81(_0x417bf8(window,_0x480209(0x344))[_0x480209(0x321)](_0x580147=>{const _0x4d20a5=_0x480209;if(_0x580147[_0x4d20a5(0x3be)]!==rt||!_0x580147['newValue'])return;const _0x138e44=JSON['parse'](_0x580147[_0x4d20a5(0x337)]);this[_0x4d20a5(0x3aa)](_0x138e44);}))),window[_0x480209(0x2ee)](_0x480209(0x386),()=>this[_0x480209(0x312)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x480209(0x35a)](this[_0x480209(0x3bd)])}));}[_0x962cf9(0x3aa)](_0x5cfd24){const _0x1ed9f0=_0x962cf9;switch(_0x5cfd24['type']){case 0x0:this[_0x1ed9f0(0x202)](_0x5cfd24);break;case 0x1:this['_handleLeaveEvent'](_0x5cfd24);break;case 0x2:this[_0x1ed9f0(0x27e)](_0x5cfd24);break;}}[_0x962cf9(0x202)](_0x4976f5){const _0xc38921=_0x962cf9,{unitIDs:_0x27d985,memberID:_0x269cf3,isForwarded:_0x46d726}=_0x4976f5;_0x27d985['forEach'](_0x54417e=>{const _0x426f65=_0x188b;if(!_0x46d726&&this['_unitOnClients'][_0x426f65(0x2f3)](_0x54417e)&&this[_0x426f65(0x3b1)](_0x54417e)['next'](_0xa42b24[_0x426f65(0x3a3)]),!this[_0x426f65(0x3a4)][_0x426f65(0x2f3)](_0x54417e)||!this['_unitOnClients'][_0x426f65(0x22d)](_0x54417e)[_0x426f65(0x2f3)](_0x269cf3)){const _0x2b37c1=this[_0x426f65(0x3a4)][_0x426f65(0x22d)](_0x54417e)||new Set();_0x2b37c1[_0x426f65(0x1eb)](_0x269cf3),this[_0x426f65(0x3a4)][_0x426f65(0x335)](_0x54417e,_0x2b37c1),this['_scheduleClearOtherTimer'](_0x269cf3);}}),_0x46d726||this['_send']({'type':0x0,'memberID':this[_0xc38921(0x2be)],'unitIDs':[...this[_0xc38921(0x3bd)]],'isForwarded':!0x0});}[_0x962cf9(0x30a)](_0x36df4a){const _0x448942=_0x962cf9;this['_removeClearOtherTimer'](_0x36df4a);const _0x513ad5=window['setTimeout'](()=>{const _0x44560f=_0x188b;this[_0x44560f(0x3a4)][_0x44560f(0x2c1)](_0x1abc19=>{_0x1abc19['delete'](_0x36df4a);});},nt*0x2);this['_clearOtherTimers'][_0x448942(0x335)](_0x36df4a,_0x513ad5);}['_removeClearOtherTimer'](_0x2db7a4){const _0x22e4b4=_0x962cf9;if(this[_0x22e4b4(0x20f)][_0x22e4b4(0x2f3)](_0x2db7a4)){const _0x2417cc=this[_0x22e4b4(0x20f)][_0x22e4b4(0x22d)](_0x2db7a4);_0x2417cc&&window['clearTimeout'](_0x2417cc),this[_0x22e4b4(0x20f)][_0x22e4b4(0x335)](_0x2db7a4,null);}}[_0x962cf9(0x252)](_0x213467){const _0x138a94=_0x962cf9,{memberID:_0x128b50,unitIDs:_0x9278c8}=_0x213467;_0x9278c8[_0x138a94(0x2c1)](_0xde7ab4=>{const _0x3efca7=_0x138a94;var _0x527510;const _0x1af7b3=this['_unitOnClients']['get'](_0xde7ab4);_0x1af7b3&&(_0x1af7b3['delete'](_0x128b50),(_0x527510=this[_0x3efca7(0x3b1)](_0xde7ab4))==null||_0x527510[_0x3efca7(0x30e)](_0x1af7b3[_0x3efca7(0x3de)]===0x0?_0xa42b24[_0x3efca7(0x2f1)]:_0xa42b24[_0x3efca7(0x3a3)]));}),this[_0x138a94(0x359)](_0x128b50);}[_0x962cf9(0x27e)](_0x421e00){const _0x423127=_0x962cf9;this['_scheduleClearOtherTimer'](_0x421e00[_0x423127(0x2f6)]);}[_0x962cf9(0x312)](_0x4f573c){const _0x3524e6=_0x962cf9;localStorage[_0x3524e6(0x385)](rt,JSON['stringify'](_0x4f573c));}['_scheduleHeartbeat'](){const _0x3e2d3b=_0x962cf9;this[_0x3e2d3b(0x373)]=window['setInterval'](()=>{const _0x22fc37=_0x3e2d3b;this['_send']({'type':0x2,'memberID':this[_0x22fc37(0x2be)]});},nt);}[_0x962cf9(0x3b1)](_0x4c6ff5){const _0x55e5ba=_0x962cf9;return this['_unitStatus'][_0x55e5ba(0x2f3)](_0x4c6ff5)||this['_unitStatus'][_0x55e5ba(0x335)](_0x4c6ff5,new _0x1c5311(_0xa42b24[_0x55e5ba(0x2f1)])),this[_0x55e5ba(0x37e)][_0x55e5ba(0x22d)](_0x4c6ff5);}}var Lt=(_0x594151=>(_0x594151[_0x594151[_0x962cf9(0x278)]=0x0]=_0x962cf9(0x278),_0x594151[_0x594151['OK']=0x1]='OK',_0x594151[_0x594151[_0x962cf9(0x23b)]=0x2]=_0x962cf9(0x23b),_0x594151[_0x594151['PERMISSION_DENIED']=0x3]=_0x962cf9(0x3e9),_0x594151[_0x594151[_0x962cf9(0x2ca)]=0x4]=_0x962cf9(0x2ca),_0x594151[_0x594151['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x594151[_0x594151[_0x962cf9(0x1f4)]=0x6]=_0x962cf9(0x1f4),_0x594151[_0x594151[_0x962cf9(0x341)]=0x7]='INVALID_ARGUMENT',_0x594151[_0x594151[_0x962cf9(0x3b5)]=0x8]=_0x962cf9(0x3b5),_0x594151[_0x594151['COMPLETION_FINISHED']=0x9]=_0x962cf9(0x210),_0x594151[_0x594151['LOGIN_FAILED']=0xa]=_0x962cf9(0x33d),_0x594151[_0x594151['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x962cf9(0x207),_0x594151[_0x594151['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x962cf9(0x29a),_0x594151[_0x594151[_0x962cf9(0x214)]=0xd]=_0x962cf9(0x214),_0x594151[_0x594151[_0x962cf9(0x2ba)]=0xe]=_0x962cf9(0x2ba),_0x594151[_0x594151[_0x962cf9(0x22f)]=0x1389]=_0x962cf9(0x22f),_0x594151[_0x594151[_0x962cf9(0x38b)]=0x1771]=_0x962cf9(0x38b),_0x594151[_0x594151[_0x962cf9(0x39b)]=0x1772]=_0x962cf9(0x39b),_0x594151[_0x594151[_0x962cf9(0x3a9)]=0x1773]=_0x962cf9(0x3a9),_0x594151[_0x594151[_0x962cf9(0x39f)]=0x1b59]=_0x962cf9(0x39f),_0x594151[_0x594151['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x962cf9(0x343),_0x594151[_0x594151['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x962cf9(0x298),_0x594151[_0x594151[_0x962cf9(0x269)]=0x1b5c]=_0x962cf9(0x269),_0x594151[_0x594151[_0x962cf9(0x356)]=0x1b5d]=_0x962cf9(0x356),_0x594151[_0x594151['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x962cf9(0x30d),_0x594151[_0x594151[_0x962cf9(0x35b)]=0x2329]=_0x962cf9(0x35b),_0x594151[_0x594151['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x962cf9(0x2a1),_0x594151[_0x594151[_0x962cf9(0x300)]=0x232b]=_0x962cf9(0x300),_0x594151[_0x594151[_0x962cf9(0x317)]=0x232c]=_0x962cf9(0x317),_0x594151[_0x594151['LICENSE_DISTRO_REJECTED']=0x232d]=_0x962cf9(0x3dc),_0x594151[_0x594151[_0x962cf9(0x23c)]=0x2711]=_0x962cf9(0x23c),_0x594151[_0x594151[_0x962cf9(0x20b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x594151[_0x594151[_0x962cf9(0x35f)]=0x2713]=_0x962cf9(0x35f),_0x594151[_0x594151[_0x962cf9(0x325)]=0x2714]=_0x962cf9(0x325),_0x594151[_0x594151[_0x962cf9(0x2a2)]=0x271a]=_0x962cf9(0x2a2),_0x594151[_0x594151['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x962cf9(0x3c9),_0x594151[_0x594151[_0x962cf9(0x309)]=0x271c]=_0x962cf9(0x309),_0x594151[_0x594151['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x962cf9(0x2b4),_0x594151[_0x594151[_0x962cf9(0x3a6)]=0x271e]=_0x962cf9(0x3a6),_0x594151[_0x594151['YUUMI_AI_RUN_FAILED']=0x271f]=_0x962cf9(0x3e0),_0x594151[_0x594151[_0x962cf9(0x1f8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x594151[_0x594151[_0x962cf9(0x3c8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x594151[_0x594151[_0x962cf9(0x285)]=0x2ee1]=_0x962cf9(0x285),_0x594151[_0x594151[_0x962cf9(0x299)]=0x2ee2]=_0x962cf9(0x299),_0x594151[_0x594151['INVITE_CODE_REQUIRED']=0x2ee3]=_0x962cf9(0x217),_0x594151[_0x594151['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x594151[_0x594151[_0x962cf9(0x3b0)]=0x2ee5]=_0x962cf9(0x3b0),_0x594151[_0x594151[_0x962cf9(0x2d2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x594151[_0x594151[_0x962cf9(0x262)]=0x32ca]=_0x962cf9(0x262),_0x594151[_0x594151[_0x962cf9(0x2c6)]=0x32cb]=_0x962cf9(0x2c6),_0x594151[_0x594151[_0x962cf9(0x3b9)]=-0x1]=_0x962cf9(0x3b9),_0x594151))(Lt||{}),pn=Object[_0x962cf9(0x31b)],Cn=(_0x11278b,_0x2e09a1,_0x581528,_0xc6c0af)=>{const _0x41ffc2=_0x962cf9;for(var _0x27702d=_0xc6c0af>0x1?void 0x0:_0xc6c0af?pn(_0x2e09a1,_0x581528):_0x2e09a1,_0x547a7c=_0x11278b[_0x41ffc2(0x1fd)]-0x1,_0x37dfc3;_0x547a7c>=0x0;_0x547a7c--)(_0x37dfc3=_0x11278b[_0x547a7c])&&(_0x27702d=_0x37dfc3(_0x27702d)||_0x27702d);return _0x27702d;},be=(_0x3b352a,_0x35ab22)=>(_0x317c4,_0x1ff99d)=>_0x35ab22(_0x317c4,_0x1ff99d,_0x3b352a);let ot=class extends _0x28d182{constructor(_0x5805b8,_0x2c2de4,_0x3080ed){const _0x4c95c9=_0x962cf9;super(),this['_instanceService']=_0x5805b8,this[_0x4c95c9(0x2e7)]=_0x2c2de4,this[_0x4c95c9(0x31a)]=_0x3080ed;}async[_0x962cf9(0x390)](_0x384af7,_0x573066,_0x56fb33,..._0x3a7110){const _0x526a2f=_0x962cf9;var _0x3c4d60,_0x2ca8ce,_0x57d35d,_0x2c24d1;const _0x4dc622=this[_0x526a2f(0x223)][_0x526a2f(0x320)]();if(!_0x4dc622)throw new Error(_0x526a2f(0x22e));const _0x10690d=((_0x3c4d60=this[_0x526a2f(0x31a)][_0x526a2f(0x3c7)](_0x4794eb))!=null?_0x3c4d60:_0x3170bf)+'/'+_0x384af7+_0x526a2f(0x2d6)+_0x573066,_0x509d47=new URL(window['location'][_0x526a2f(0x3d5)]),_0x534161={'scriptId':_0x384af7,'runId':(_0x2ca8ce=_0x509d47[_0x526a2f(0x367)][_0x526a2f(0x22d)](_0x526a2f(0x209)))!=null?_0x2ca8ce:'','function':_0x573066,'unitId':_0x4dc622[_0x526a2f(0x2db)](),'argsOfFunction':JSON[_0x526a2f(0x3d3)](_0x3a7110),'invokeId':(_0x57d35d=_0x56fb33[_0x526a2f(0x2b6)])!=null?_0x57d35d:'','executionId':(_0x2c24d1=_0x56fb33[_0x526a2f(0x1f2)])!=null?_0x2c24d1:''};try{const _0x32a894=await this[_0x526a2f(0x2e7)][_0x526a2f(0x3f0)](_0x10690d,{'body':_0x534161});return _0x32a894[_0x526a2f(0x244)][_0x526a2f(0x31f)]&&_0x32a894[_0x526a2f(0x244)]['error'][_0x526a2f(0x3d6)]!==Lt['OK']?_0x526a2f(0x387):_0x32a894[_0x526a2f(0x244)][_0x526a2f(0x2cd)];}catch{return _0x526a2f(0x387);}}};ot=Cn([be(0x0,_0x163e05),be(0x1,_0xcb25a3(_0x55461b)),be(0x2,_0x4befe5)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x558576=_0x579d;(function(_0x300811,_0x142b43){const _0x105f0e=_0x579d,_0x4a1393=_0x300811();while(!![]){try{const _0xcb156d=-parseInt(_0x105f0e(0x154))/0x1*(parseInt(_0x105f0e(0x117))/0x2)+parseInt(_0x105f0e(0x1fc))/0x3*(-parseInt(_0x105f0e(0x116))/0x4)+parseInt(_0x105f0e(0x291))/0x5+-parseInt(_0x105f0e(0xad))/0x6+parseInt(_0x105f0e(0xfa))/0x7*(-parseInt(_0x105f0e(0x1cf))/0x8)+-parseInt(_0x105f0e(0xc7))/0x9+parseInt(_0x105f0e(0x21e))/0xa;if(_0xcb156d===_0x142b43)break;else _0x4a1393['push'](_0x4a1393['shift']());}catch(_0xaa54f){_0x4a1393['push'](_0x4a1393['shift']());}}}(_0x5e78,0xbd1f5));var xt=Object[_0x558576(0x227)],Bt=(_0x153936,_0x438160,_0x5c1bb3)=>_0x438160 in _0x153936?xt(_0x153936,_0x438160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c1bb3}):_0x153936[_0x438160]=_0x5c1bb3,_=(_0x4a200a,_0x4da3c1,_0x5c0ab5)=>Bt(_0x4a200a,typeof _0x4da3c1!=_0x558576(0x1c1)?_0x4da3c1+'':_0x4da3c1,_0x5c0ab5);function _0x5e78(){const _0x51c4a1=['cursorInfo','onPointerMove$','_registerDependencies','_session','params','_transformPreviousActiveRange','disposeWithMe','YUUMI_CONNECTOR_URL_NOT_FOUND','extend','COMPLETION_FINISHED','setItem','collabStatus.conflict','Error','_docSyncEditingCollabCursorService','assign','_docSkeletonManagerService','_handleHeartbeatEvent','...','_initEntityListener','APPLY_REVISION_CONFILICT','Failed','actions','tag','subscribe','_render','_cursors','getVpScrollXYInfoByPosToVp','disableLocalCache','children','_onCursorDelete','makeDirty','_getSheetObject','_ensureSubject','CHANGESET_REVISION_CONFILICT','fill','_configService','_imageIoService','9dHhIrC','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','unload','univer-flex\x20univer-items-center','_transformService','_selfUnitIDs','getCurrentUnitForType','_injector','requireSession','_setupSubUnitSync','_range','getRenderById','_getAnchorBounding','unit','forEach','_handleEvent','_beforeCloseService','collaboration-client-ui.config','row','transformStateCache','all','_entityInit$','[CollaborationDataLoaderController]','_name','_removeClearOtherTimer','_revisionService','WECHAT_HAS_BEEN_BOUND','onStarting','fillText','collab-rect-range-','roomMembers','CONFLICT','registerBeforeClose','57190560xytlgQ','_docTransformStateCacheService','currentTheme$','transformMutationsWithChangeset','mutations','_initDependencies','_backgroundColor','getCollabEntity$','getUnitId','defineProperty','transformIMECache','with','top','_scheduleHeartbeat','whenReady','clearTimeout','transform','prototype','_initResize','_collabSessionService','_docStateChangeManagerService','getOwnPropertyDescriptor','imageSourceType','getCellPositionByOffset','UNIVER_DOC','permission.title','lineTo','_assignedColors','_urlService','_initStatusListener','collab-text-range-','concat','width','getOwnPropertySymbols','M0\x200H16V16H0z','colorChannel1','RemoveColCommandId','collaboration.closeRoom','_shapes','PY_RUNTIME_SCRIPT_ERROR','getActiveRange','div','send','runOnServer','0\x200\x2017\x2016','YUUMI_TABLE_NOT_FOUND_IN_UNIT','delete','fillStyle','init','set','onPointerEnter$','subUnitId','history','DeleteRangeMoveUpCommandId','unitID','isEditing','idSuffix','currentSkeleton$','save','_localStorageService','_color','Unknown\x20user','_saveTaskMap','has','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','indexOf','getStateCache','_collabCursorState$','isActive','_scheduleSaving','_hover','_drawRectRange','YUUMI_AI_RUN_FAILED','getMember','_hovered','evenodd','getRangePointData','_messageService','_anchor','SOCKET_FAILED','collaboration.single-unit.warning','_getSaveTimeout','startColumn','collabStatus.notCollab','currentColor','_document','_toggleOffline','_registerRenderDependencies','url(#off-line-icon_clip0_910_343)','_initCommandExecutedListener','deepClone','getValue','DeleteRangeMoveLeftCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unshift','getActiveSheet','moveTo','uni.network.url-service','setShapeProps','startsWith','_onRefRangeChange','backgroundColor','_config','reconnect','APPLY_NON_SEQUENTIAL_REVISION','blue.400','TOO_MANY_REQUESTS','_themeService','_startDocCollabCursor','getRelativeToViewportCoord','subunit','redoState','session.collaboration-timeout','entries','focused$','2010705eJTqQB','LICENSE_DISTRO_REJECTED','data','key','bottom','type','size','_getScale','_httpService','m1Prime','univerjs-icon\x20univerjs-icon-','_dataLoaderService','unitId','addObjects','replace','location','RECT','min','_colorIndex','_instanceService','_saveCache','SNAPSHOT_HAS_BEEN_REMOVED','OFFLINE','defIds','_cachedData','_renderManagerService','_updateURLWithCurrentState','registerRefRange','then','url(#on-line-icon_clip0_910_349)','selections','5975196MoKcBs','_toggleOnline','body','YUUMI_NO_CUBOID_FOR_QUESTION','_onCursorUpdate','getFocusedUnit','UPDATE_CURSOR','hovered','_refRangeService','_updateLocalCursor','_updateCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','permission.content','startRow','_colorAssignService','_draw','replaceState','InsertRangeMoveRightCommandId','_setupBeforeClosingHandler','TEXT','white','_handleJoinEvent','urlChange$','_unitStatus','override','text','11035521gbmJrd','CONNECTOR_DATA_TOO_LARGE','subscribeEvent','AWAITING_WITH_PENDING','function','LICENSE_EXPORT_SIZE_EXCEEDED','getUnhiddenWorksheets','string','textRanges','on-line-icon_clip0_910_349','MOBILE_HAS_BEEN_BOUND','Warning','undoState','YUUMI_ASYNCIO_CANCELLED','arc','ONLINE','_updateSubUnitFromURLParams','INVALID_ARGUMENT','_uiPartsService','SYNCED','newValue','endColumn','_send','jiqing.500','setActiveRange','_clearOtherTimers','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','apply','defs','_removeCollabCursors','_localCacheService','url(#$1','hide','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','NOT_COLLAB','_drawAnchor','AWAITING','result','propertyIsEnumerable','_docTransformSelectionsService','setStateCache','loadUnit','_transformUndoRedoStack','drawWith','findNodePositionByCharIndex','stringify','exhaustSavingTask','JOIN_ROOM_FAILED','split','7KrGksg','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','docStateChange$','call','PENDING','_textBubble','runId','href','isArray','LOGIN_FAILED','0\x200\x2016\x2016','range','cursorInfo$','collaboration-client.offline-data-not-saved','OTHER_CLIENTS_EDITING','get','_id','UniverIcon','dispose$','from','font','_anchorDot','_getSessionTicket','getUndoRedoMutationParamsCache','InsertColCommandId','_initEvent','doc.mutation.rich-text-editing','CLOSE_ROOM','1292888aTjMhU','2wdicAu','YUUMI_RATE_OVER_LIMIT','purple.300','color','add','getCurrentSelections','collabStatus.syncing','length','LICENSE_IMPORT_SIZE_EXCEEDED','unsubscribe','syncEditingCollabCursor','some','_docTransformIMECacheService','getDocRanges','clipPath','registerComponent','entityInit$','_notificationService','InsertRowCommandId','_scheduleClearOtherTimer','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','executeCommand','transformMutation','searchParams','_context','_cursor','find','MOBILE_VERIFY_CODE_MISMATCH','FromArray','YUUMI_SUBSCRIPTION_NOT_FOUND','getConfig','OTHER_CLIENT_EDITING','INVITE_CODE_ALREADY_BOUND','getParam','NOT_FOUND','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','USERS_LEAVE','sheetID','getMemberID','toRgbString','_handleHover','_univerInstanceService','_startSheetCollabCursor','_lastPointer','_transformHistoryAndStateStack','parse','error','createInstance','EMAIL_HAS_BEEN_BOUND','transformByState','asObservable','getSheetBySheetId','editingUnit','loadOfflineData','updateOfflineData','_logService','1em','setParam','_online','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1093418TLsPuB','restore','addHandlerCallback','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','USER_NOT_INVITED_CODE','clearInterval','_labelPosition','setTimeout','_getMergeRange','getSheetId','http://www.w3.org/2000/svg','transformSelections','m2Prime','setAlpha','_collabCursorController','_commandService','eventID','className','_refreshCollabCursors','getCollabCursors$','roomMembers$','onPointerLeave$','_drawTextRange','registerRenderModule','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','pipe','disposeUnit','onTransformChange$','enableLocalCache','getViewport','height','FETCH_MISS','getCurrent','_init','push','getOffsetConfig','getTypeOfUnitAdded$','OnLineIcon','ranges','post','_collaborationUIEventService','labelPosition','getTypeOfUnitDisposed$','path','resize','YUUMI_UNABLE_LOAD_URL','show','ALREADY_EXISTS','transformRemoteChangeset','getColorFromTheme','_unitOnClients','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','_status$','_initStatusComponent','name','measureText','svg','getUniverSheetInstance','onMouseMove','pluginName','ENSURE_SNAPSHOT_EXECUTION','onLocalMutation','complete','black','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localeService','none','saveImage','INVITE_CODE_REQUIRED','collabCursorState$','session.connection-failed','_docClipboardService','getAncestorScale','includes','contains','sessionStatus$','_entities','memberID','_createSocketURL','map','UNAUTHENTICATED','_scene','icon','attrs','onCommandExecuted','UNDEFINED','popstate','collabStatus.synced','_cursorShapes','PERMISSION_DENIED','addEventListener','ticket','saveTaskMap','values','closePath','addObject','/run/','fillRule','xlink:href','toString','random','#FFF','rgba(255,\x20255,\x20255,\x200.01)','invokeId','_disabled','EMAIL_VERIFY_CODE_MISMATCH','next','collab-text-anchor-','symbol','_heartbeatTimer','APPLY_REJECT','UNRECOGNIZED','event$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_ALL_TABLES_IS_INVALID','_cursorInfo$','getSkeleton','displayName','dispose','INVALID_INVITE_CODE','assignAColorForMemberID','pushState','8491464ogvlvB','round','_roomMembers$','APPLY_DUPLICATED','hasOwnProperty','_handleLeaveEvent','_hideTimer','_eventUnsubscribe'];_0x5e78=function(){return _0x51c4a1;};return _0x5e78();}import{MemberService as _0x7d9ec2,SessionStatus as _0x18b0c6,CollaborationSessionService as _0x59aca7,CollaborationStatus as _0x333d80,CollaborationController as _0x62c6dc,ILocalCacheService as _0x20f0df,CollaborationUIEventService as _0x17e6a8,CollaborationUIEventId as _0x1e3b11,DataLoaderService as _0x818159,DocCollaborationEntity as _0x31ddbf,getLocalCacheKey as _0x1a4960,LOCAL_CACHE_INTERVAL as _0x2d5902,LOCAL_CACHE_INTERVAL_KEY as _0x4172cc,UniverCollaborationClientPlugin as _0x398380,CollaborationSocketService as _0x3cce14,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1fe776,DEFAULT_WS_SESSION_TICKET_URL as _0x1866d2,UnitStatus as _0x505f3c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xdb65f7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x259a67}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5ab30e,Disposable as _0x12187e,DOC_RANGE_TYPE as _0x5bba3d,Inject as _0x194e08,Injector as _0x316a89,IUniverInstanceService as _0x2ba6d0,ICommandService as _0x5e0729,debounce as _0x4a6659,Rectangle as _0x12fcda,DisposableCollection as _0xe598dc,toDisposable as _0x4cdd3b,UniverInstanceType as _0x4b1a9c,generateRandomId as _0x3204e4,COLORS as _0xc3174c,ColorKit as _0x4ba188,ThemeService as _0x3238a3,fromEventSubject as _0x2f9331,LocaleService as _0x17cedb,createIdentifier as _0x3796d8,ILogService as _0x36997e,Optional as _0x20cd0b,Workbook as _0x11d483,Tools as _0x3324fe,CommandType as _0x169c49,IConfigService as _0x8c945e,ILocalStorageService as _0x1934a3,DependentOn as _0x118085,Plugin as _0x4a7d6d,merge as _0x3ed7e2,registerDependencies as _0x45d66a,mergeOverrideWithDependencies as _0x5bdfb1,touchDependencies as _0x576131}from'@univerjs/core';import{Shape as _0x41e134,Rect as _0x1bad46,getColor as _0x3bbc80,RegularPolygon as _0x365a61,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3267fb,Vector2 as _0x569550,SHEET_VIEWPORT_KEY as _0xd5a32b,IRenderManagerService as _0x3e366f}from'@univerjs/engine-render';import{ISocketService as _0x2c7f7d,WebSocketService as _0x43c46c,HTTPService as _0x541d05}from'@univerjs/network';import{IDocClipboardService as _0x44701b,NodePositionConvertToCursor as _0x250285,NodePositionConvertToRectRange as _0x3eb40b,TEXT_RANGE_LAYER_INDEX as _0x25c1d3,SetDocZoomRatioOperation as _0x28f0c0,DocIMEInputManagerService as _0xb7bf41,DocStateChangeManagerService as _0x2a22aa}from'@univerjs/docs-ui';import{IImageIoService as _0x1ab6a4}from'@univerjs/drawing';import{BehaviorSubject as _0x344465,debounceTime as _0x245350,takeUntil as _0x2e6a50,Subject as _0x49ab80,filter as _0x4e0d93,switchMap as _0x56f529,merge as _0x1c7443,combineLatest as _0x4fcab2,of as _0x5f58fc,fromEvent as _0x5dd366,shareReplay as _0x1ed1eb,mapTo as _0x1c1715,distinctUntilChanged as _0x530c25}from'rxjs';import{ITransformService as _0x53b600,CollaborationEvent as _0x63d875,isTransformMutationFailure as _0x2cd84e,isTransformMutationsWithChangesetSuccess as _0x376955,RevisionService as _0x356841,ISnapshotServerService as _0x1f8913}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3b48bd,RichTextEditingMutation as _0x49e299,DocSelectionManagerService as _0x4eded8,DocSkeletonManagerService as _0x34d791}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x26e891,serializeRangeWithSheet as _0x42baa6}from'@univerjs/engine-formula';import{RefRangeService as _0x43c393,SetSelectionsOperation as _0x4ebbd6,SheetsSelectionsService as _0x153c9d,EffectRefRangId as _0x19d152,handleIRemoveRow as _0x18ed09,handleIRemoveCol as _0x1f93ad,handleMoveRange as _0x3f5064,handleInsertRow as _0x3d2e1f,handleInsertRangeMoveRight as _0xac6a4e,handleInsertRangeMoveDown as _0x1ddc83,handleInsertCol as _0x304fcb,handleDeleteRangeMoveUp as _0x45edc1,handleDeleteRangeMoveLeft as _0x2919e8,runRefRangeMutations as _0x3f1b0f,SetWorksheetActivateCommand as _0x2558a9}from'@univerjs/sheets';import{map as _0x54a24d,filter as _0x29be8b,throttleTime as _0x34e1b6,takeUntil as _0x6a86cf,switchMap as _0x32ab40}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2aa2c1,getCoordByCell as _0x3d1154,getSheetObject as _0x5b48ba}from'@univerjs/sheets-ui';import{jsx as _0x5d8a54,jsxs as _0x45d7a9}from'react/jsx-runtime';import{useObservable as _0x27b81c,useDependency as _0x57676b,IUIPartsService as _0x2de367,BuiltInUIPart as _0x89900f,connectInjector as _0x4f3cac,IBeforeCloseService as _0x54a871,IMessageService as _0x103f10,INotificationService as _0x7996e4}from'@univerjs/ui';import{Tooltip as _0x5abf17,clsx as _0xaa4f69,MessageType as _0x3aafdb}from'@univerjs/design';import{forwardRef as _0xeaae3e,useRef as _0x477443,createElement as _0x5f4359,useCallback as _0x27d82d}from'react';import{IRemoteInstanceService as _0xb1bc40}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x301ca1,_0x4c20b6,_0x4a89db,_0x9360)=>{const _0x79340d=_0x558576;for(var _0x46c5a9=_0x9360>0x1?void 0x0:_0x9360?ci(_0x4c20b6,_0x4a89db):_0x4c20b6,_0x303a62=_0x301ca1[_0x79340d(0x11e)]-0x1,_0x400926;_0x303a62>=0x0;_0x303a62--)(_0x400926=_0x301ca1[_0x303a62])&&(_0x46c5a9=_0x400926(_0x46c5a9)||_0x46c5a9);return _0x46c5a9;},Je=(_0x1f4368,_0x596d9a)=>(_0xae7a08,_0x571cc2)=>_0x596d9a(_0xae7a08,_0x571cc2,_0x1f4368);let Ne=class extends _0x5ab30e{constructor(_0x291183,_0x5a0c99){const _0x2804bc=_0x558576;super(),this[_0x2804bc(0x19c)]=_0x291183,this[_0x2804bc(0x1fb)]=_0x5a0c99,this[_0x2804bc(0x176)]();}[_0x558576(0x176)](){const _0x58485a=_0x558576,_0x222545=this;this['disposeWithMe'](this[_0x58485a(0x19c)]['addClipboardHook']({'onBeforePasteImage':async _0x10a5f3=>{const _0x5169f6=_0x58485a,_0x1f1cb2=await _0x222545[_0x5169f6(0x1fb)][_0x5169f6(0x198)](_0x10a5f3);return _0x1f1cb2?{'source':_0x1f1cb2['source'],'imageSourceType':_0x1f1cb2[_0x5169f6(0x234)]}:null;}}));}};Ne=li([Je(0x0,_0x44701b),Je(0x1,_0x1ab6a4)],Ne);const Ze=[_0x558576(0x119),_0x558576(0xde),'green.600','red.300',_0x558576(0x287),'yellow.400'];class ke extends _0x12187e{constructor(){const _0x5a2614=_0x558576;super(...arguments),_(this,_0x5a2614(0x239),new Map()),_(this,_0x5a2614(0xa0),0x0);}[_0x558576(0x1cd)](_0x2fd75c){const _0x46ac3b=_0x558576;if(this[_0x46ac3b(0x239)]['has'](_0x2fd75c))return this[_0x46ac3b(0x239)]['get'](_0x2fd75c);const _0x2ea741=Ze[this[_0x46ac3b(0xa0)]];return this['_colorIndex']=(this[_0x46ac3b(0xa0)]+0x1)%Ze['length'],this[_0x46ac3b(0x239)][_0x46ac3b(0x24f)](_0x2fd75c,_0x2ea741),_0x2ea741;}}function Rt(_0x13ed70){const _0xb4ea3d=_0x558576;let _0x70cac9='';for(const _0x1b1b39 of _0x13ed70){const {startOffset:_0x1d1e09,endOffset:_0x582735,isActive:_0x311674,rangeType:_0x64c109,segmentId:_0x1b00ac,segmentPage:_0x2f0662}=_0x1b1b39;_0x70cac9[_0xb4ea3d(0x11e)]&&(_0x70cac9+=','),_0x70cac9+=_0x1d1e09+':'+_0x582735+':'+(_0x311674?'1':'0')+':'+_0x64c109+':'+_0x1b00ac+':'+_0x2f0662;}return _0x70cac9;}function _i(_0x5bc736){const _0xb512f2=_0x558576,_0x156af2=_0x5bc736['split'](','),_0x2d4c19=[];for(const _0x4e7fe9 of _0x156af2){const [_0x97b8f9,_0x147939,_0x29fcfa,_0x1dacff,_0x307e43,_0xceeb1d]=_0x4e7fe9[_0xb512f2(0xf9)](':');_0x2d4c19[_0xb512f2(0x177)]({'startOffset':Number(_0x97b8f9),'endOffset':Number(_0x147939),'collapsed':_0x97b8f9===_0x147939,'isActive':_0x29fcfa==='1','rangeType':_0x1dacff===_0x5bba3d[_0xb512f2(0xc0)]?_0x5bba3d[_0xb512f2(0xc0)]:_0x5bba3d['RECT'],'segmentId':typeof _0x307e43==_0xb512f2(0xce)?String(_0x307e43):'','segmentPage':Number(_0xceeb1d!=null?_0xceeb1d:-0x1)});}return _0x2d4c19[_0xb512f2(0x122)](_0x31613f=>_0x31613f[_0xb512f2(0x262)])||(_0x2d4c19[0x0][_0xb512f2(0x262)]=!0x0),_0x2d4c19;}class He extends _0x5ab30e{constructor(){const _0x2a7fc8=_0x558576;super(...arguments),_(this,_0x2a7fc8(0x261),new _0x344465(null)),_(this,_0x2a7fc8(0x19a),this['_collabCursorState$'][_0x2a7fc8(0x14a)]());}[_0x558576(0x121)](_0x36a780){const _0x3a631e=_0x558576,{unitID:_0x25cb8f,memberID:_0x4778e2,textRanges:_0x25c31a}=_0x36a780,_0x43ae97=Rt(_0x25c31a);if(_0x43ae97==='')return;const _0x21f668={'unitID':_0x25cb8f,'memberID':_0x4778e2,'selection':_0x43ae97};this[_0x3a631e(0x261)][_0x3a631e(0x1bf)](_0x21f668);}}var hi=Object[_0x558576(0x233)],ui=(_0x546cfb,_0x208a17,_0x53bca6,_0x26e335)=>{for(var _0xbcaa95=_0x26e335>0x1?void 0x0:_0x26e335?hi(_0x208a17,_0x53bca6):_0x208a17,_0x35fb37=_0x546cfb['length']-0x1,_0x15ed67;_0x35fb37>=0x0;_0x35fb37--)(_0x15ed67=_0x546cfb[_0x35fb37])&&(_0xbcaa95=_0x15ed67(_0xbcaa95)||_0xbcaa95);return _0xbcaa95;},P=(_0x14a07a,_0x1a95a6)=>(_0x23203d,_0x120e5d)=>_0x1a95a6(_0x23203d,_0x120e5d,_0x14a07a);const di=0x12c,fi=0x64;let Ue=class extends _0x5ab30e{constructor(_0x3d459f,_0x5ca457,_0x571fa8,_0x26e26e,_0x209f14,_0x133822,_0x141d02,_0x2aea08,_0x2f7fda){const _0x3c042e=_0x558576;super(),_(this,_0x3c042e(0x152),!0x1),_(this,'_init',!0x1),_(this,_0x3c042e(0x1c8),new _0x344465(new Map())),_(this,_0x3c042e(0x106),this[_0x3c042e(0x1c8)]['asObservable']()),_(this,'_roomMembers$',new _0x344465([])),_(this,_0x3c042e(0x168),this[_0x3c042e(0x1d1)][_0x3c042e(0x16e)](_0x245350(di))),_(this,_0x3c042e(0xb6),_0x4a6659(_0x2fb27b=>{const _0xd35da1=_0x3c042e,_0x20f1fd={'eventID':_0x63d875[_0xd35da1(0xb3)],'data':{'unitID':this[_0xd35da1(0x254)],'memberID':this['_session'][_0xd35da1(0x13e)](),'selection':Rt(_0x2fb27b)}};this[_0xd35da1(0x1da)]['send'](_0x20f1fd,this[_0xd35da1(0x254)]);},fi)),(this[_0x3c042e(0x254)]=_0x3d459f,this['_session']=_0x5ca457,this[_0x3c042e(0x204)]=_0x571fa8,this[_0x3c042e(0xbb)]=_0x26e26e,this['_memberService']=_0x209f14,this['_syncEditingCollabCursorService']=_0x133822,this[_0x3c042e(0x201)]=_0x141d02,this['_univerInstanceService']=_0x2aea08,this[_0x3c042e(0x163)]=_0x2f7fda);}get[_0x558576(0x1d7)](){const _0x167f79=_0x558576;return this[_0x167f79(0x1c8)][_0x167f79(0x279)]();}get['roomMembers'](){const _0x21a3a3=_0x558576;return this[_0x21a3a3(0x1d1)][_0x21a3a3(0x279)]();}['dispose'](){const _0x1b477b=_0x558576;super[_0x1b477b(0x1cb)](),this[_0x1b477b(0x1c8)][_0x1b477b(0x1bf)](new Map()),this[_0x1b477b(0x1c8)]['complete'](),this['_roomMembers$']['next']([]),this[_0x1b477b(0x1d1)][_0x1b477b(0x193)]();}[_0x558576(0x24e)](){const _0x42ef8b=_0x558576;this[_0x42ef8b(0x176)]||(this[_0x42ef8b(0x176)]=!0x0,this[_0x42ef8b(0x1da)][_0x42ef8b(0x1a0)][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))[_0x42ef8b(0x1ee)](_0x80ed8f=>{const _0x3f86e8=_0x42ef8b;_0x80ed8f===_0x18b0c6['ONLINE']?this[_0x3f86e8(0xae)]():this[_0x3f86e8(0x274)]();}),this[_0x42ef8b(0x1da)]['event$'][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))['subscribe'](_0x3aef40=>{const _0x55ffc9=_0x42ef8b,_0x2ae7c5=_0x3aef40['eventID'];_0x2ae7c5===_0x63d875['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3aef40),_0x2ae7c5===_0x63d875[_0x55ffc9(0x13c)]&&this[_0x55ffc9(0x1f4)](_0x3aef40);}),this[_0x42ef8b(0x1dd)](this[_0x42ef8b(0x163)][_0x42ef8b(0x1a9)](_0x31ab9=>{const _0x20b21e=_0x42ef8b,_0x51a972=_0x31ab9[_0x20b21e(0x1db)];_0x51a972!=null&&this[_0x20b21e(0x152)]&&_0x31ab9['id']===_0x3b48bd['id']&&_0x51a972[_0x20b21e(0x29d)]===this['unitID']&&_0x51a972[_0x20b21e(0x255)]===!0x1&&_0x51a972['ranges'][_0x20b21e(0x11e)]>0x0&&this[_0x20b21e(0xb6)](_0x51a972['ranges']);})),this['_syncEditingCollabCursorService'][_0x42ef8b(0x19a)][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))['subscribe'](_0x2eda5e=>{const _0x1ffb83=_0x42ef8b;if((_0x2eda5e==null?void 0x0:_0x2eda5e[_0x1ffb83(0x254)])!==this[_0x1ffb83(0x254)])return;const _0xce3996={'eventID':_0x63d875[_0x1ffb83(0xb3)],'data':_0x2eda5e};this['_onCursorUpdate'](_0xce3996);}),this[_0x42ef8b(0x1dd)](this[_0x42ef8b(0x163)]['onCommandExecuted'](_0x48b350=>{const _0x5080c5=_0x42ef8b;if(_0x48b350['params']==null)return;const _0x5024c9=_0x48b350[_0x5080c5(0x1db)];if(_0x48b350['id']!==_0x49e299['id']||_0x5024c9[_0x5080c5(0x29d)]!==this[_0x5080c5(0x254)])return;const _0xa83d25={'id':_0x5080c5(0x114),'params':_0x5024c9},_0x465de9=this[_0x5080c5(0x1d7)];for(const [_0x3ad83d,_0x226098]of _0x465de9){const _0x43b2f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5080c5(0x254)],'actions':null,'textRanges':_0x226098[_0x5080c5(0x17b)]}},_0x508617=this[_0x5080c5(0x201)][_0x5080c5(0x12e)](_0xa83d25,_0x43b2f5,!0x1);if(_0x2cd84e(_0x508617))throw _0x508617[_0x5080c5(0x146)];_0x465de9[_0x5080c5(0x24f)](_0x3ad83d,{..._0x226098,'ranges':_0x508617[_0x5080c5(0x160)][_0x5080c5(0x1db)]['textRanges']});}queueMicrotask(()=>{const _0xbb5ab3=_0x5080c5;this[_0xbb5ab3(0x1c8)][_0xbb5ab3(0x1bf)](_0x465de9);});})));}[_0x558576(0xb1)](_0x324df3){const _0x134841=_0x558576;var _0x4ee45e,_0x24e9c6;const {memberID:_0x46e18c,selection:_0x315476}=_0x324df3[_0x134841(0x293)],_0xfc74f=_i(_0x315476),_0x315063=(_0x24e9c6=(_0x4ee45e=this['_memberService'][_0x134841(0x267)](this[_0x134841(0x254)],_0x46e18c))==null?void 0x0:_0x4ee45e['name'])!=null?_0x24e9c6:_0x134841(0x25b),_0x1ea7ac={'color':this[_0x134841(0xbb)][_0x134841(0x1cd)](_0x46e18c),'name':_0x315063,'ranges':_0xfc74f},_0x37beae=this[_0x134841(0x1d7)];_0x37beae[_0x134841(0x24f)](_0x46e18c,_0x1ea7ac),this[_0x134841(0x1c8)][_0x134841(0x1bf)](_0x37beae);}[_0x558576(0x1f4)](_0x167c23){const _0x49d033=_0x558576,{memberID:_0x441a89}=_0x167c23[_0x49d033(0x293)],_0x32372e=this[_0x49d033(0x1d7)];_0x32372e[_0x49d033(0x24c)](_0x441a89),this[_0x49d033(0x1c8)][_0x49d033(0x1bf)](_0x32372e);}[_0x558576(0xae)](){const _0x2ad4c8=_0x558576;var _0x1aea68;if(this[_0x2ad4c8(0x152)]=!0x0,((_0x1aea68=this[_0x2ad4c8(0x141)][_0x2ad4c8(0xb2)]())==null?void 0x0:_0x1aea68['getUnitId']())!==this[_0x2ad4c8(0x254)])return;const _0x110284=this['_injector']['get'](_0x4eded8)[_0x2ad4c8(0x124)]();Array[_0x2ad4c8(0x102)](_0x110284)&&_0x110284[_0x2ad4c8(0x11e)]>0x0&&this['_updateLocalCursor'](_0x110284);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x194e08(_0x316a89)),P(0x3,_0x194e08(ke)),P(0x4,_0x194e08(_0x7d9ec2)),P(0x5,_0x194e08(He)),P(0x6,_0x53b600),P(0x7,_0x2ba6d0),P(0x8,_0x5e0729)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x4b0fee,_0x1fb683,_0x483dd9,_0x3ccb6c)=>{const _0x1eed60=_0x558576;for(var _0x2f1b47=_0x3ccb6c>0x1?void 0x0:_0x3ccb6c?Si(_0x1fb683,_0x483dd9):_0x1fb683,_0x2726ab=_0x4b0fee[_0x1eed60(0x11e)]-0x1,_0x3660c4;_0x2726ab>=0x0;_0x2726ab--)(_0x3660c4=_0x4b0fee[_0x2726ab])&&(_0x2f1b47=_0x3660c4(_0x2f1b47)||_0x2f1b47);return _0x2f1b47;},x=(_0x1cc6f7,_0x1cd66b)=>(_0x455a1f,_0x941565)=>_0x1cd66b(_0x455a1f,_0x941565,_0x1cc6f7);const Ii=0x12c,vi=0x64,gi=()=>{let _0x3bafca=[],_0x2fee1a=!0x1;return _0x40c935=>{const _0x150407=_0x579d;_0x3bafca[_0x150407(0x177)](_0x40c935),_0x2fee1a||(_0x2fee1a=!0x0,setTimeout(()=>{const _0x26b926=_0x150407;_0x3bafca[_0x26b926(0x20b)](_0x1dd312=>_0x1dd312()),_0x3bafca=[],_0x2fee1a=!0x1;}));};};let Me=class extends _0x5ab30e{constructor(_0x6a495e,_0x41884a,_0xeb52f1,_0x30eb4b,_0x1f756a,_0x440e49,_0x34d8eb,_0x501cd7){const _0x16ef2e=_0x558576;super(),_(this,_0x16ef2e(0x152),!0x1),_(this,_0x16ef2e(0x176),!0x1),_(this,_0x16ef2e(0x1c8),new _0x344465(new Map())),_(this,_0x16ef2e(0x106),this[_0x16ef2e(0x1c8)][_0x16ef2e(0x14a)]()),_(this,_0x16ef2e(0x1d1),new _0x344465([])),_(this,'roomMembers$',this[_0x16ef2e(0x1d1)][_0x16ef2e(0x16e)](_0x245350(Ii))),_(this,_0x16ef2e(0xb6),_0x4a6659((_0x53d6cc,_0x117bcb)=>{const _0x585187=_0x16ef2e,_0x53b655={'eventID':_0x63d875[_0x585187(0xb3)],'data':{'unitID':this[_0x585187(0x254)],'memberID':this[_0x585187(0x1da)][_0x585187(0x13e)](),'selection':_0x42baa6(_0x53d6cc,_0x117bcb[_0x585187(0x105)])}};this[_0x585187(0x1da)][_0x585187(0x248)](_0x53b655,this[_0x585187(0x254)]);},vi)),(this[_0x16ef2e(0x254)]=_0x6a495e,this['_session']=_0x41884a,this[_0x16ef2e(0x204)]=_0xeb52f1,this[_0x16ef2e(0xbb)]=_0x30eb4b,this['_memberService']=_0x1f756a,this[_0x16ef2e(0x141)]=_0x440e49,this[_0x16ef2e(0x163)]=_0x34d8eb,this['_refRangeService']=_0x501cd7);}get[_0x558576(0x1d7)](){const _0x5dbf8b=_0x558576;return this[_0x5dbf8b(0x1c8)][_0x5dbf8b(0x279)]();}get[_0x558576(0x21b)](){const _0x4c73fe=_0x558576;return this[_0x4c73fe(0x1d1)][_0x4c73fe(0x279)]();}[_0x558576(0x1cb)](){const _0x4db5e8=_0x558576;super[_0x4db5e8(0x1cb)](),this[_0x4db5e8(0x1c8)][_0x4db5e8(0x1bf)](new Map()),this[_0x4db5e8(0x1c8)][_0x4db5e8(0x193)](),this['_roomMembers$']['next']([]),this[_0x4db5e8(0x1d1)][_0x4db5e8(0x193)]();}[_0x558576(0x24e)](){const _0x39d143=_0x558576;this[_0x39d143(0x176)]||(this['_init']=!0x0,this[_0x39d143(0x1da)][_0x39d143(0x1a0)][_0x39d143(0x16e)](_0x2e6a50(this[_0x39d143(0x10c)]))[_0x39d143(0x1ee)](_0xefbad4=>{const _0x204bb1=_0x39d143;_0xefbad4===_0x18b0c6[_0x204bb1(0xd6)]?this[_0x204bb1(0xae)]():this[_0x204bb1(0x274)]();}),this[_0x39d143(0x1da)][_0x39d143(0x1c5)]['pipe'](_0x2e6a50(this[_0x39d143(0x10c)]))[_0x39d143(0x1ee)](_0x318ffd=>{const _0x3150be=_0x39d143,_0x288661=_0x318ffd[_0x3150be(0x164)];_0x288661===_0x63d875[_0x3150be(0xb3)]&&this[_0x3150be(0xb1)](_0x318ffd),_0x288661===_0x63d875[_0x3150be(0x13c)]&&this[_0x3150be(0x1f4)](_0x318ffd);}),this[_0x39d143(0x282)](),this[_0x39d143(0x1dd)](this[_0x39d143(0x163)][_0x39d143(0x1a9)](_0x53dfc5=>{const _0x43338a=_0x39d143;if(this[_0x43338a(0x152)]&&_0x53dfc5['id']===_0x4ebbd6['id']&&_0x53dfc5[_0x43338a(0x1db)][_0x43338a(0x29d)]===this['unitID']){const _0x684531=_0x53dfc5[_0x43338a(0x1db)];this[_0x43338a(0xb6)](_0x684531[_0x43338a(0x251)],_0x684531[_0x43338a(0xac)][0x0]);}})));}[_0x558576(0xb1)](_0x1e3358){const _0x4959d4=_0x558576;var _0x427087,_0x265798;const {memberID:_0x11bb0a,selection:_0x4292b6}=_0x1e3358[_0x4959d4(0x293)],{sheetName:_0x316f2f,range:_0x4d0907}=_0x26e891(_0x4292b6),_0x2c953e={'name':(_0x265798=(_0x427087=this['_memberService'][_0x4959d4(0x267)](this['unitID'],_0x11bb0a))==null?void 0x0:_0x427087[_0x4959d4(0x18b)])!=null?_0x265798:_0x4959d4(0x25b),'range':this[_0x4959d4(0x15c)](_0x316f2f,_0x4d0907),'sheetID':_0x316f2f,'color':this[_0x4959d4(0xbb)]['assignAColorForMemberID'](_0x11bb0a),'selection':_0x4292b6},_0xaf4c3b=this[_0x4959d4(0x1d7)];_0xaf4c3b[_0x4959d4(0x24f)](_0x11bb0a,_0x2c953e),this[_0x4959d4(0x1c8)][_0x4959d4(0x1bf)](_0xaf4c3b);}[_0x558576(0x1f4)](_0x3ecd0c){const _0x1157bb=_0x558576,{memberID:_0x1fa765}=_0x3ecd0c[_0x1157bb(0x293)],_0x294b07=this[_0x1157bb(0x1d7)];_0x294b07[_0x1157bb(0x24c)](_0x1fa765),this[_0x1157bb(0x1c8)]['next'](_0x294b07);}[_0x558576(0x15c)](_0xc2a654,_0x346561){const _0x4e7dd7=_0x558576;var _0x377bde,_0x2aad1c;const _0x1d3b30=(_0x2aad1c=(_0x377bde=this[_0x4e7dd7(0x141)][_0x4e7dd7(0x18e)](this[_0x4e7dd7(0x254)]))==null?void 0x0:_0x377bde[_0x4e7dd7(0x14b)](_0xc2a654))==null?void 0x0:_0x2aad1c['getMergeData']();return(_0x1d3b30==null?void 0x0:_0x1d3b30[_0x4e7dd7(0x132)](_0x534732=>_0x12fcda[_0x4e7dd7(0x19f)](_0x534732,_0x346561)))||_0x346561;}[_0x558576(0x282)](){const _0x47a444=_0x558576,_0x1e1596=new _0xe598dc(),_0x1022ae=gi(),_0x1448cf=()=>{const _0x58e152=_0x579d;_0x1e1596[_0x58e152(0x1cb)]();const _0x414507=(_0x4f3ecf,_0x19a904,_0x398402,_0x11aad4)=>{const _0x3db16b=_0x58e152;let _0x2f807c=[];switch(_0x4f3ecf['id']){case _0x19d152[_0x3db16b(0x27a)]:{_0x2f807c=_0x2919e8(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x253)]:{_0x2f807c=_0x45edc1(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x112)]:{_0x2f807c=_0x304fcb(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['InsertRangeMoveDownCommandId']:{_0x2f807c=_0x1ddc83(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0xbe)]:{_0x2f807c=_0xac6a4e(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x129)]:{_0x2f807c=_0x3d2e1f(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['MoveRangeCommandId']:{_0x2f807c=_0x3f5064(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x242)]:{_0x2f807c=_0x1f93ad(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['RemoveRowCommandId']:{_0x2f807c=_0x18ed09(_0x4f3ecf,_0x11aad4);break;}}const _0x3942c2=_0x3f1b0f(_0x2f807c,_0x11aad4),_0x205d7f=this[_0x3db16b(0x1d7)][_0x3db16b(0x109)](_0x19a904);if(_0x205d7f&&_0x3942c2){const _0x132491={..._0x205d7f,'range':_0x3942c2};this[_0x3db16b(0x1d7)][_0x3db16b(0x24f)](_0x19a904,_0x132491),_0x1022ae(()=>{const _0x3c7032=_0x3db16b,_0x45ac2f=this[_0x3c7032(0xb5)]['registerRefRange'](_0x3942c2,_0x4da3b9=>(_0x45ac2f[_0x3c7032(0x1cb)](),_0x414507(_0x4da3b9,_0x19a904,_0x398402,_0x3942c2)));_0x1e1596['add'](_0x45ac2f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x58e152(0x20b)]((_0x8ee093,_0x525729)=>{const _0x16e995=_0x58e152,{range:_0x3eeb89,sheetID:_0x43719e}=_0x8ee093,_0x25a213=this[_0x16e995(0xb5)][_0x16e995(0xa9)](_0x3eeb89,_0x546c0e=>(_0x25a213[_0x16e995(0x1cb)](),_0x414507(_0x546c0e,_0x525729,_0x43719e,_0x3eeb89)));_0x1e1596['add'](_0x25a213);});};this['disposeWithMe'](_0x4cdd3b(this[_0x47a444(0x1c8)][_0x47a444(0x1ee)](()=>{_0x1448cf();})));}[_0x558576(0xae)](){const _0x4ba5e1=_0x558576;var _0x5a6dc9,_0x245d0a;if(this[_0x4ba5e1(0x152)]=!0x0,((_0x5a6dc9=this['_univerInstanceService'][_0x4ba5e1(0xb2)]())==null?void 0x0:_0x5a6dc9['getUnitId']())!==this[_0x4ba5e1(0x254)])return;const _0x1ae289=(_0x245d0a=this[_0x4ba5e1(0x204)][_0x4ba5e1(0x109)](_0x153c9d)[_0x4ba5e1(0x11c)]())==null?void 0x0:_0x245d0a[0x0],_0x1c8c5=this['_univerInstanceService'][_0x4ba5e1(0x203)](_0x4b1a9c[_0x4ba5e1(0x16d)])[_0x4ba5e1(0x27d)]();_0x1ae289&&_0x1c8c5&&this[_0x4ba5e1(0xb6)](_0x1c8c5[_0x4ba5e1(0x15d)](),_0x1ae289);}[_0x558576(0x274)](){const _0x13a981=_0x558576;this[_0x13a981(0x152)]=!0x1;}};Me=mi([x(0x2,_0x194e08(_0x316a89)),x(0x3,_0x194e08(ke)),x(0x4,_0x194e08(_0x7d9ec2)),x(0x5,_0x2ba6d0),x(0x6,_0x5e0729),x(0x7,_0x194e08(_0x43c393))],Me);var pi=Object[_0x558576(0x233)],Ci=(_0xe19a62,_0x251b2a,_0x34e456,_0x29b5dc)=>{const _0x58eaa7=_0x558576;for(var _0x4ab947=_0x29b5dc>0x1?void 0x0:_0x29b5dc?pi(_0x251b2a,_0x34e456):_0x251b2a,_0x3a3368=_0xe19a62[_0x58eaa7(0x11e)]-0x1,_0x3649a5;_0x3a3368>=0x0;_0x3a3368--)(_0x3649a5=_0xe19a62[_0x3a3368])&&(_0x4ab947=_0x3649a5(_0x4ab947)||_0x4ab947);return _0x4ab947;},me=(_0x1c58a,_0x37f54f)=>(_0x1c35b7,_0x4855f4)=>_0x37f54f(_0x1c35b7,_0x4855f4,_0x1c58a);let F=class extends _0x5ab30e{constructor(_0x37b037,_0x186934,_0x3a54a0){const _0x396f56=_0x558576;super(),_(this,_0x396f56(0x1a1),new Map()),_(this,_0x396f56(0x212),new _0x49ab80()),(this[_0x396f56(0x141)]=_0x37b037,this[_0x396f56(0x204)]=_0x186934,this[_0x396f56(0x231)]=_0x3a54a0,this['_init']());}[_0x558576(0x1cb)](){const _0x35741f=_0x558576;super[_0x35741f(0x1cb)](),this[_0x35741f(0x212)][_0x35741f(0x193)](),this['_entities'][_0x35741f(0x20b)](_0x539c93=>_0x539c93[_0x35741f(0x1cb)]());}[_0x558576(0x167)](_0x237d71){const _0x3469a=_0x558576;return this[_0x3469a(0x1a1)][_0x3469a(0x25d)](_0x237d71)?this[_0x3469a(0x1a1)]['get'](_0x237d71)[_0x3469a(0x106)]:this[_0x3469a(0x212)][_0x3469a(0x16e)](_0x4e0d93(_0x588288=>_0x588288[_0x3469a(0x254)]===_0x237d71),_0x56f529(_0x402330=>_0x402330[_0x3469a(0x106)]));}[_0x558576(0x176)](){const _0x4fef3c=_0x558576;this[_0x4fef3c(0x141)][_0x4fef3c(0x179)](_0x4b1a9c[_0x4fef3c(0x16d)])[_0x4fef3c(0x16e)](_0x2e6a50(this['dispose$']))[_0x4fef3c(0x1ee)](async _0x181322=>{const _0x317c9d=_0x4fef3c,_0x2cd477=_0x181322['getUnitId'](),_0x31cf8e=await this[_0x317c9d(0x142)](_0x2cd477);this['_entityInit$'][_0x317c9d(0x1bf)](_0x31cf8e),this[_0x317c9d(0x1a1)]['set'](_0x2cd477,_0x31cf8e);}),this[_0x4fef3c(0x141)][_0x4fef3c(0x179)](_0x4b1a9c[_0x4fef3c(0x236)])[_0x4fef3c(0x16e)](_0x2e6a50(this[_0x4fef3c(0x10c)]))[_0x4fef3c(0x16e)](_0x4e0d93(_0x16c27e=>!_0x16c27e[_0x4fef3c(0x226)]()[_0x4fef3c(0x281)]('__')))[_0x4fef3c(0x1ee)](async _0x1c044d=>{const _0x11afa7=_0x4fef3c,_0x2b75e3=_0x1c044d[_0x11afa7(0x226)](),_0xb1fa43=await this[_0x11afa7(0x28a)](_0x2b75e3);this[_0x11afa7(0x212)][_0x11afa7(0x1bf)](_0xb1fa43),this['_entities'][_0x11afa7(0x24f)](_0x2b75e3,_0xb1fa43);}),_0x1c7443(this[_0x4fef3c(0x141)][_0x4fef3c(0x17f)](_0x4b1a9c[_0x4fef3c(0x236)]),this['_univerInstanceService'][_0x4fef3c(0x17f)](_0x4b1a9c[_0x4fef3c(0x16d)]))[_0x4fef3c(0x16e)](_0x2e6a50(this['dispose$']))[_0x4fef3c(0x1ee)](_0x167ea5=>{const _0x46ac8a=_0x4fef3c,_0x534024=_0x167ea5[_0x46ac8a(0x226)](),_0x4a3d6d=this[_0x46ac8a(0x1a1)][_0x46ac8a(0x109)](_0x534024);_0x4a3d6d&&(_0x4a3d6d[_0x46ac8a(0x1cb)](),this[_0x46ac8a(0x1a1)][_0x46ac8a(0x24c)](_0x534024));});}async[_0x558576(0x142)](_0x1a1f84){const _0x3653cf=_0x558576,_0x751d23=await this['_collabSessionService'][_0x3653cf(0x205)](_0x1a1f84),_0x3c458a=this[_0x3653cf(0x204)]['createInstance'](Me,_0x1a1f84,_0x751d23);return _0x3c458a[_0x3653cf(0x24e)](),_0x3c458a;}async['_startDocCollabCursor'](_0x33ad05){const _0x2d9a86=_0x558576,_0x25dc90=await this['_collabSessionService']['requireSession'](_0x33ad05),_0x2969d6=this['_injector'][_0x2d9a86(0x147)](Ue,_0x33ad05,_0x25dc90);return _0x2969d6[_0x2d9a86(0x24e)](),_0x2969d6;}};F=Ci([me(0x0,_0x2ba6d0),me(0x1,_0x194e08(_0x316a89)),me(0x2,_0x194e08(_0x59aca7))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x4910d0,_0x47cc12){const _0x2cba94=_0x558576;let {radius:_0x335886,width:_0x4a0207,height:_0x595a6b}=_0x47cc12;_0x335886=_0x335886!=null?_0x335886:0x0,_0x4a0207=_0x4a0207!=null?_0x4a0207:0x1e,_0x595a6b=_0x595a6b!=null?_0x595a6b:0x1e;let _0x5349ef=0x0,_0x5d7343=0x0,_0x1c654a=0x0;_0x5349ef=_0x5d7343=_0x1c654a=Math[_0x2cba94(0x2a2)](_0x335886,_0x4a0207/0x2,_0x595a6b/0x2),_0x4910d0['beginPath'](),_0x4910d0[_0x2cba94(0x27e)](_0x5349ef,0x0),_0x4910d0['lineTo'](_0x4a0207-_0x5d7343,0x0),_0x4910d0['arc'](_0x4a0207-_0x5d7343,_0x5d7343,_0x5d7343,Math['PI']*0x3/0x2,0x0,!0x1),_0x4910d0[_0x2cba94(0x238)](_0x4a0207,_0x595a6b-_0x1c654a),_0x4910d0['arc'](_0x4a0207-_0x1c654a,_0x595a6b-_0x1c654a,_0x1c654a,0x0,Math['PI']/0x2,!0x1),_0x4910d0[_0x2cba94(0x238)](0x0,_0x595a6b),_0x4910d0[_0x2cba94(0x238)](0x0,_0x5349ef),_0x4910d0[_0x2cba94(0xd5)](_0x5349ef,_0x5349ef,_0x5349ef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4910d0[_0x2cba94(0x1b3)](),_0x47cc12[_0x2cba94(0x1f9)]&&(_0x4910d0['save'](),_0x4910d0[_0x2cba94(0x24d)]=_0x47cc12[_0x2cba94(0x1f9)],_0x47cc12[_0x2cba94(0x1b6)]===_0x2cba94(0x269)?_0x4910d0[_0x2cba94(0x1f9)]('evenodd'):_0x4910d0[_0x2cba94(0x1f9)](),_0x4910d0[_0x2cba94(0x155)]());}class ue extends _0x41e134{constructor(_0x150a1f,_0x931c8b){const _0x304666=_0x558576;super(_0x150a1f,_0x931c8b),_(this,_0x304666(0x11a)),_(this,_0x304666(0xc6)),(this[_0x304666(0x11a)]=_0x931c8b==null?void 0x0:_0x931c8b[_0x304666(0x11a)],this[_0x304666(0xc6)]=_0x931c8b==null?void 0x0:_0x931c8b[_0x304666(0xc6)]);}static['drawWith'](_0x1372a1,_0x1bcb6d){const _0x4bad44=_0x558576,{text:_0x999dc1,color:_0x5af409}=_0x1bcb6d;_0x1372a1[_0x4bad44(0x258)](),_0x1372a1[_0x4bad44(0x10e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ad611=_0x1372a1[_0x4bad44(0x18c)](_0x999dc1)[_0x4bad44(0x23e)],_0x5b67de=Math['min'](_0x1ad611+0x2*Ie,Qe);Oi(_0x1372a1,{'height':J,'radius':0x4,'width':_0x5b67de,'fill':_0x5af409}),_0x1372a1[_0x4bad44(0x24d)]=_0x4bad44(0x1ba);const _0x108821=Ie,_0x2abb0d=J-Ei,_0xa85478=Qe-0x2*Ie;if(_0x1ad611>_0xa85478){let _0x188128='',_0x1213c5=0x0;for(const _0x5294fd of _0x999dc1){const _0x5777ba=_0x1372a1[_0x4bad44(0x18c)](_0x5294fd)['width'];if(_0x1213c5+_0x5777ba<=_0xa85478-_0x1372a1['measureText']('...')['width'])_0x188128+=_0x5294fd,_0x1213c5+=_0x5777ba;else{_0x188128+=_0x4bad44(0x1e8);break;}}_0x1372a1[_0x4bad44(0x219)](_0x188128,_0x108821,_0x2abb0d);}else _0x1372a1[_0x4bad44(0x219)](_0x999dc1,_0x108821,_0x2abb0d);_0x1372a1[_0x4bad44(0x155)]();}[_0x558576(0xbc)](_0x890551){const _0x1c0624=_0x558576;ue[_0x1c0624(0xf4)](_0x890551,this);}}const ve=_0x558576(0x1c0),bi=_0x558576(0x23c),Ti=_0x558576(0x21a),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x558576(0x1bb);class qe{constructor(_0x6f626b,_0x135291,_0x5a1212,_0x5d13fa){const _0x454bc5=_0x558576;_(this,_0x454bc5(0x244),[]),_(this,_0x454bc5(0x26c),null),_(this,_0x454bc5(0xff),null),_(this,_0x454bc5(0x10f),null),_(this,_0x454bc5(0x1d5),null),_(this,_0x454bc5(0x1d6),null),(this['_cursor']=_0x6f626b,this[_0x454bc5(0x1a6)]=_0x135291,this['_docSkeleton']=_0x5a1212,this[_0x454bc5(0x273)]=_0x5d13fa,this[_0x454bc5(0x1ef)]());}set['_hover'](_0x196f57){const _0x5b9157=_0x558576;_0x196f57?(this[_0x5b9157(0x10f)]&&this[_0x5b9157(0x10f)][_0x5b9157(0xe8)](),this[_0x5b9157(0xff)]&&this[_0x5b9157(0xff)]['show']()):(this[_0x5b9157(0x10f)]&&this[_0x5b9157(0x10f)][_0x5b9157(0x183)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x558576(0x1cb)](){const _0x3185e0=_0x558576;for(const _0x119280 of this[_0x3185e0(0x244)])_0x119280[_0x3185e0(0x1cb)]();this[_0x3185e0(0xff)]&&this[_0x3185e0(0xff)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x10f)]&&this[_0x3185e0(0x10f)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x26c)]&&this[_0x3185e0(0x26c)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x1d6)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2978b5=_0x558576;var _0xc58cd4;const {_docSkeleton:_0x5e2323,_document:_0x5246d6}=this,{color:_0x446872,name:_0x2b7bd6,ranges:_0x24022c}=this[_0x2978b5(0x131)],_0x2f5ec0=_0x5246d6[_0x2978b5(0x178)](),{docsLeft:_0x1058d6,docsTop:_0x4584db}=_0x2f5ec0,_0x2233e8=new _0x250285(_0x2f5ec0,_0x5e2323);for(const {startOffset:_0x32574c,endOffset:_0x30f13d,rangeType:_0x2eeefa,segmentId:_0x57217b,segmentPage:_0x383e76,collapsed:_0x2a15bd,isActive:_0x5e9787}of _0x24022c){const _0x41ba4a=_0x5e2323['findNodePositionByCharIndex'](_0x32574c,!0x0,_0x57217b,_0x383e76);let _0xfd8fbf=_0x5e2323[_0x2978b5(0xf5)](_0x30f13d,!0x0,_0x57217b,_0x383e76);if(_0xfd8fbf==null&&(_0xfd8fbf=_0x5e2323[_0x2978b5(0xf5)](_0x30f13d-0x1,!0x1,_0x57217b,_0x383e76)),_0x5e9787){const {contentBoxPointGroup:_0x1d93ba}=_0x2233e8[_0x2978b5(0x26a)](_0xfd8fbf,_0xfd8fbf);if(_0x1d93ba[_0x2978b5(0x11e)]===0x0)continue;this[_0x2978b5(0xec)](_0x446872,_0x1d93ba,_0x1058d6,_0x4584db,_0x2b7bd6),this[_0x2978b5(0x1d6)]=this[_0x2978b5(0x140)]();}if(_0x41ba4a&&_0xfd8fbf){if(_0x2eeefa===_0x5bba3d[_0x2978b5(0x2a1)]){const _0x166802=new _0x3eb40b(_0x2f5ec0,_0x5e2323),{pointGroup:_0x1def00}=(_0xc58cd4=_0x166802[_0x2978b5(0x26a)](_0x41ba4a,_0xfd8fbf))!=null?_0xc58cd4:{};if(_0x1def00==null||_0x1def00[_0x2978b5(0x11e)]===0x0)continue;this['_drawRectRange'](_0x446872,_0x1def00,_0x1058d6,_0x4584db);}else{if(!_0x2a15bd){const {borderBoxPointGroup:_0x19b332}=_0x2233e8[_0x2978b5(0x26a)](_0x41ba4a,_0xfd8fbf);if(_0x19b332['length']===0x0)continue;this['_drawTextRange'](_0x446872,_0x19b332,_0x1058d6,_0x4584db);}}}}}[_0x558576(0xec)](_0x58eee6,_0x1726c1,_0x4c4685,_0x172e44,_0x1a4069){const _0x407c3b=_0x558576,_0x21fd60=this[_0x407c3b(0x209)](_0x1726c1),{left:_0x59b16f,top:_0xbff04f,height:_0x573616}=_0x21fd60,_0x5ec470=this[_0x407c3b(0x298)](),_0x5a9e22=Di/_0x5ec470,_0x4c4b63=new _0x1bad46(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44,'height':_0x573616,'width':Ri,'fill':_0x58eee6||_0x3bbc80(_0xc3174c['black'],0x0),'strokeWidth':_0x5a9e22,'stroke':Ni,'evented':!0x0});this[_0x407c3b(0x26c)]=_0x4c4b63,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x4c4b63,_0x25c1d3);const _0x44ceb6=new _0x1bad46(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44-ge/0x2,'height':ge,'width':ge,'fill':_0x58eee6||_0x3bbc80(_0xc3174c[_0x407c3b(0x194)],0x0),'strokeWidth':0x0,'stroke':_0x58eee6||_0x3bbc80(_0xc3174c[_0x407c3b(0x194)],0x0),'evented':!0x1});this[_0x407c3b(0x10f)]=_0x44ceb6,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x44ceb6,_0x25c1d3);const _0x3501ae=new ue(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44-J,'text':_0x1a4069,'color':_0x58eee6});this[_0x407c3b(0xff)]=_0x3501ae,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x3501ae,_0x25c1d3),this['_hover']=!0x1;}[_0x558576(0x140)](){const _0x5d9bf0=_0x558576,_0x29083c=this['_anchor'][_0x5d9bf0(0x250)][_0x5d9bf0(0xc9)](()=>{const _0x5d07d4=_0x5d9bf0;this[_0x5d07d4(0x264)]=!0x0;}),_0x2a0e36=this[_0x5d9bf0(0x26c)][_0x5d9bf0(0x169)][_0x5d9bf0(0xc9)](()=>{const _0x3fb6c3=_0x5d9bf0;this[_0x3fb6c3(0x1d5)]&&clearTimeout(this[_0x3fb6c3(0x1d5)]),this[_0x3fb6c3(0x1d5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x28b039=_0x5d9bf0;_0x29083c[_0x28b039(0x120)](),_0x2a0e36[_0x28b039(0x120)]();};}[_0x558576(0x16a)](_0x4b53a7,_0x398e89,_0x247416,_0x2c6421){const _0x65c764=_0x558576,_0x322b1d=new _0x4ba188(_0x4b53a7)[_0x65c764(0x161)](0.2)[_0x65c764(0x13f)](),_0x31c17b=new _0x365a61(bi+_0x3204e4(G),{'pointsGroup':_0x398e89,'fill':_0x322b1d||_0x3bbc80(_0xc3174c[_0x65c764(0x194)],0.2),'left':_0x247416,'top':_0x2c6421,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x65c764(0x244)][_0x65c764(0x177)](_0x31c17b),this[_0x65c764(0x1a6)]['addObject'](_0x31c17b,_0x25c1d3);}[_0x558576(0x265)](_0xc79618,_0xa20fb2,_0x3aa2ab,_0x377d6a){const _0x541c35=_0x558576,_0x14bb3d=new _0x4ba188(_0xc79618)['setAlpha'](0.2)[_0x541c35(0x13f)](),_0xf9c67c=new _0x365a61(Ti+_0x3204e4(G),{'pointsGroup':_0xa20fb2,'fill':_0x14bb3d||_0x3bbc80(_0xc3174c['black'],0.2),'left':_0x3aa2ab,'top':_0x377d6a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x541c35(0x244)][_0x541c35(0x177)](_0xf9c67c),this[_0x541c35(0x1a6)][_0x541c35(0x1b4)](_0xf9c67c,_0x25c1d3);}[_0x558576(0x209)](_0x577932){const _0x2dbb13=_0x577932[0x0],_0x2d40ab=_0x2dbb13[0x0],_0x441fe2=_0x2dbb13[0x2],{x:_0x4757d4,y:_0x275357}=_0x2d40ab,{x:_0x205bfe,y:_0x208f32}=_0x441fe2;return{'left':_0x4757d4,'top':_0x275357,'width':_0x205bfe-_0x4757d4,'height':_0x208f32-_0x275357};}['_getScale'](){const _0x40a355=_0x558576,{scaleX:_0x59bb40,scaleY:_0x4a0328}=this[_0x40a355(0x1a6)]['getAncestorScale']();return Math['max'](_0x59bb40,_0x4a0328);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4a0c32,_0x1245f5,_0x4ce2a0,_0x7c0043)=>{const _0x41b619=_0x558576;for(var _0x4f7c6e=_0x7c0043>0x1?void 0x0:_0x7c0043?Ui(_0x1245f5,_0x4ce2a0):_0x1245f5,_0x42a939=_0x4a0c32[_0x41b619(0x11e)]-0x1,_0x952da;_0x42a939>=0x0;_0x42a939--)(_0x952da=_0x4a0c32[_0x42a939])&&(_0x4f7c6e=_0x952da(_0x4f7c6e)||_0x4f7c6e);return _0x4f7c6e;},q=(_0x4403e8,_0x15c09f)=>(_0x3ddd4d,_0x21563d)=>_0x15c09f(_0x3ddd4d,_0x21563d,_0x4403e8);let Le=class extends _0x5ab30e{constructor(_0x173aaa,_0x265abe,_0x47b2b3,_0x48c546,_0x28abb9){const _0x5c10b3=_0x558576;super(),_(this,'_cursorShapes',[]),_(this,_0x5c10b3(0x1f0),[]),(this[_0x5c10b3(0x130)]=_0x173aaa,this[_0x5c10b3(0x1e6)]=_0x265abe,this[_0x5c10b3(0x162)]=_0x47b2b3,this[_0x5c10b3(0x163)]=_0x48c546,this[_0x5c10b3(0x289)]=_0x28abb9,this[_0x5c10b3(0x176)]());}['_init'](){const _0x1c79e0=_0x558576,_0x15c72f=this[_0x1c79e0(0x130)][_0x1c79e0(0x29d)],_0x3bf4ce=this[_0x1c79e0(0x1e6)];this[_0x1c79e0(0x1dd)](_0x4fcab2([this[_0x1c79e0(0x162)]['getCollabCursors$'](_0x15c72f),this[_0x1c79e0(0x289)][_0x1c79e0(0x220)]])[_0x1c79e0(0x16e)](_0x54a24d(([_0x1dd78d,_0x31df65])=>({'skeleton':_0x3bf4ce['getSkeleton'](),'cursors':[..._0x1dd78d[_0x1c79e0(0x1b2)]()]['flatMap'](_0x55c398=>({..._0x55c398,'color':this['_themeService'][_0x1c79e0(0x186)](_0x55c398[_0x1c79e0(0x11a)])}))})))[_0x1c79e0(0x1ee)](_0x49536c=>{const _0x10de14=_0x1c79e0;if(this['_removeCollabCursors'](),_0x49536c){const {skeleton:_0x5cd59c,cursors:_0x55cf55}=_0x49536c;this[_0x10de14(0xb7)](_0x5cd59c,_0x55cf55);}})),this[_0x1c79e0(0x230)](),this[_0x1c79e0(0x277)]();}[_0x558576(0xb7)](_0x7a8b4c,_0x465fc3){const _0x4e8d8c=_0x558576,{scene:_0x152f0e,mainComponent:_0xf4b156}=this[_0x4e8d8c(0x130)],_0x3c9ded=_0x465fc3[_0x4e8d8c(0x1a4)](_0x54c9e5=>new qe(_0x54c9e5,_0x152f0e,_0x7a8b4c,_0xf4b156));this[_0x4e8d8c(0x1ad)]=_0x3c9ded,this['_cursors']=_0x465fc3;}[_0x558576(0x166)](){const _0x100c3e=_0x558576;this[_0x100c3e(0xe5)]();const {scene:_0x1052ff,mainComponent:_0x12f844}=this['_context'],_0x1473eb=this['_docSkeletonManagerService'][_0x100c3e(0x1c9)](),_0x37feae=this['_cursors'][_0x100c3e(0x1a4)](_0x4b53b9=>new qe(_0x4b53b9,_0x1052ff,_0x1473eb,_0x12f844));this[_0x100c3e(0x1ad)]=_0x37feae;}['_removeCollabCursors'](){const _0x28c80b=_0x558576;this[_0x28c80b(0x1ad)]['forEach'](_0x457c25=>_0x457c25[_0x28c80b(0x1cb)]()),this[_0x28c80b(0x1ad)]=[];}[_0x558576(0x277)](){const _0x1b3cd8=_0x558576,_0x2f2cb3=[_0x28f0c0['id']];this['disposeWithMe'](this['_commandService'][_0x1b3cd8(0x1a9)](_0x443f33=>{const _0x488514=_0x1b3cd8;_0x2f2cb3[_0x488514(0x19e)](_0x443f33['id'])&&_0x443f33[_0x488514(0x1db)]['unitId']===this[_0x488514(0x130)][_0x488514(0x29d)]&&this[_0x488514(0x166)]();}));}['_initResize'](){const _0x57f26c=_0x558576;this['disposeWithMe'](_0x2f9331(this[_0x57f26c(0x130)]['engine'][_0x57f26c(0x170)])[_0x57f26c(0x16e)](_0x29be8b(_0x462591=>_0x462591[_0x57f26c(0x296)]===_0x3267fb[_0x57f26c(0x181)]),_0x34e1b6(0x10))[_0x57f26c(0x1ee)](()=>{const _0x172685=_0x57f26c;this[_0x172685(0x166)]();}));}};Le=Mi([q(0x1,_0x194e08(_0x34d791)),q(0x2,_0x194e08(F)),q(0x3,_0x5e0729),q(0x4,_0x194e08(_0x3238a3))],Le);const Li=0x1,Pi=1.5;function _0x579d(_0x56b88f,_0x23f19f){const _0x5e788b=_0x5e78();return _0x579d=function(_0x579ddf,_0xedcf8){_0x579ddf=_0x579ddf-0xa0;let _0x4f6c96=_0x5e788b[_0x579ddf];return _0x4f6c96;},_0x579d(_0x56b88f,_0x23f19f);}class wi extends _0x41e134{constructor(_0x48506c,_0x2a8cef){const _0x53445a=_0x558576;super(_0x48506c,_0x2a8cef),_(this,_0x53445a(0x25a)),_(this,_0x53445a(0x268),!0x1),_(this,_0x53445a(0x207)),_(this,_0x53445a(0x214),''),_(this,_0x53445a(0x15a),'top'),_(this,_0x53445a(0x224)),(_0x2a8cef&&this[_0x53445a(0x280)](_0x2a8cef),this[_0x53445a(0x250)][_0x53445a(0xc9)](()=>this[_0x53445a(0x280)]({'hovered':!0x0})),this[_0x53445a(0x169)][_0x53445a(0xc9)](()=>this[_0x53445a(0x280)]({'hovered':!0x1})));}[_0x558576(0x280)](_0x433a73){const _0x521519=_0x558576;var _0x4db3e9,_0xf14c40,_0x512825,_0x37ad82,_0x119ea3,_0x21fd08;this[_0x521519(0x25a)]=(_0x4db3e9=_0x433a73[_0x521519(0x11a)])!=null?_0x4db3e9:this[_0x521519(0x25a)],this[_0x521519(0x268)]=(_0xf14c40=_0x433a73[_0x521519(0xb4)])!=null?_0xf14c40:this[_0x521519(0x268)],this[_0x521519(0x207)]=(_0x512825=_0x433a73[_0x521519(0x105)])!=null?_0x512825:this['_range'],this[_0x521519(0x214)]=(_0x37ad82=_0x433a73[_0x521519(0x18b)])!=null?_0x37ad82:this[_0x521519(0x214)],this[_0x521519(0x15a)]=(_0x119ea3=_0x433a73[_0x521519(0x17e)])!=null?_0x119ea3:this[_0x521519(0x15a)],this[_0x521519(0x224)]=(_0x21fd08=_0x433a73[_0x521519(0x283)])!=null?_0x21fd08:this[_0x521519(0x224)],this[_0x521519(0x149)]({'width':_0x433a73[_0x521519(0x23e)],'height':_0x433a73[_0x521519(0x173)]});}[_0x558576(0x18f)](_0x3ed186){const _0x5ed4d4=_0x558576,{row:_0x2c8a64,column:_0x551fed}=_0x3ed186;if(_0x2c8a64>=this['_range'][_0x5ed4d4(0xba)]&&_0x2c8a64<=this[_0x5ed4d4(0x207)]['endRow']&&_0x551fed>=this['_range'][_0x5ed4d4(0x270)]&&_0x551fed<=this['_range'][_0x5ed4d4(0xdc)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5ed4d4(0x280)]({'hovered':!0x1});}['triggerDblclick'](_0x9164f3){return!0x1;}[_0x558576(0xbc)](_0x294e17){const _0x129c16=_0x558576;_0x1bad46[_0x129c16(0xf4)](_0x294e17,{'width':this[_0x129c16(0x23e)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x294e17['save'](),_0x294e17[_0x129c16(0x22e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x129c16(0x295)?0x0:-J),ue[_0x129c16(0xf4)](_0x294e17,{'text':this[_0x129c16(0x214)],'color':this['_color']}),_0x294e17[_0x129c16(0x155)]());}}var Ai=Object[_0x558576(0x233)],yi=(_0x2b8361,_0x130889,_0x4d45ee,_0x2a2700)=>{const _0x4ff589=_0x558576;for(var _0xeeedd3=_0x2a2700>0x1?void 0x0:_0x2a2700?Ai(_0x130889,_0x4d45ee):_0x130889,_0x44d64d=_0x2b8361[_0x4ff589(0x11e)]-0x1,_0x59d094;_0x44d64d>=0x0;_0x44d64d--)(_0x59d094=_0x2b8361[_0x44d64d])&&(_0xeeedd3=_0x59d094(_0xeeedd3)||_0xeeedd3);return _0xeeedd3;},pe=(_0x4af30e,_0x193005)=>(_0x31b171,_0x31b7c6)=>_0x193005(_0x31b171,_0x31b7c6,_0x4af30e);const $i=0x1389;let Pe=class extends _0x5ab30e{constructor(_0x1f6c0b,_0x40a75d,_0x1b7c2b,_0x151159){const _0x1f6e80=_0x558576;super(),_(this,'_cursors',new Set()),_(this,_0x1f6e80(0x143),null),(this[_0x1f6e80(0x130)]=_0x1f6c0b,this['_sheetSkeletonManagerService']=_0x40a75d,this[_0x1f6e80(0x162)]=_0x1b7c2b,this[_0x1f6e80(0x289)]=_0x151159,this[_0x1f6e80(0x176)]());}[_0x558576(0x176)](){const _0x5ddbb5=_0x558576;this['_sheetSkeletonManagerService'][_0x5ddbb5(0x257)][_0x5ddbb5(0x16e)](_0x6a86cf(this[_0x5ddbb5(0x10c)]),_0x32ab40(_0x8da7fe=>{const _0x313151=_0x5ddbb5;if(_0x8da7fe){const _0x54c524=_0x8da7fe['sheetId'];return _0x4fcab2(this[_0x313151(0x162)][_0x313151(0x167)](this[_0x313151(0x130)][_0x313151(0x29d)]),this['_themeService']['currentTheme$'])['pipe'](_0x54a24d(([_0x29071f,_0x1151a5])=>{const _0xd2c11d=_0x313151,_0x3b79d1=new Map();return _0x29071f[_0xd2c11d(0x20b)]((_0x4e55f5,_0x2394e0)=>{const _0x59032b=_0xd2c11d;if(_0x4e55f5[_0x59032b(0x13d)]===_0x54c524){const _0x2da243={..._0x4e55f5};_0x2da243[_0x59032b(0x11a)]=this[_0x59032b(0x289)][_0x59032b(0x186)](_0x4e55f5['color']),_0x3b79d1[_0x59032b(0x24f)](_0x2394e0,_0x2da243);}}),{'skeleton':_0x8da7fe,'cursors':_0x3b79d1};}));}return _0x5f58fc({'skeleton':null,'cursors':new Map()});}))[_0x5ddbb5(0x1ee)](({skeleton:_0x5a2939,cursors:_0x4f7bc4})=>{const _0x23ece0=_0x5ddbb5;this[_0x23ece0(0xe5)](),_0x5a2939&&this[_0x23ece0(0xb7)](_0x5a2939,_0x4f7bc4);}),this[_0x5ddbb5(0x1fd)][_0x5ddbb5(0x257)][_0x5ddbb5(0x1ee)](_0x4efe75=>{const _0x5efc62=_0x5ddbb5;if(_0x4efe75==null)return;const {skeleton:_0x4b1f0d}=_0x4efe75,{scene:_0x2a6bda}=this[_0x5efc62(0x130)];_0x2a6bda[_0x5efc62(0x1d8)]['subscribeEvent'](_0x4a6659(_0x3a45b6=>{const _0x535f28=_0x5efc62;var _0x189256,_0x308c60;const {offsetX:_0x22223f,offsetY:_0x20726b}=_0x3a45b6,{x:_0x51d5ef,y:_0x1d7cbf}=_0x2a6bda[_0x535f28(0x28b)](_0x569550['FromArray']([_0x22223f,_0x20726b])),{scaleX:_0x1bf679,scaleY:_0x2074c2}=_0x2a6bda[_0x535f28(0x19d)](),_0x671c7=_0x2a6bda[_0x535f28(0x172)](_0xd5a32b['VIEW_MAIN']),_0x2db30a=_0x2a6bda[_0x535f28(0x1f1)](_0x569550[_0x535f28(0x134)]([_0x51d5ef,_0x1d7cbf]),_0x671c7),_0x101ded=_0x4b1f0d[_0x535f28(0x235)](_0x22223f,_0x20726b,_0x1bf679,_0x2074c2,_0x2db30a);((_0x189256=this[_0x535f28(0x143)])==null?void 0x0:_0x189256['column'])===_0x101ded['column']&&((_0x308c60=this['_lastPointer'])==null?void 0x0:_0x308c60[_0x535f28(0x20f)])===_0x101ded[_0x535f28(0x20f)]||this[_0x535f28(0x1f0)][_0x535f28(0x20b)](_0x494bc5=>{const _0x293eb7=_0x535f28;_0x494bc5[_0x293eb7(0x18f)](_0x101ded);});},0x64));});}[_0x558576(0xb7)](_0x19c845,_0x458359){const _0x461bf2=_0x558576;var _0x25bb2a;const _0x1c53cc=(_0x25bb2a=this[_0x461bf2(0x1fd)][_0x461bf2(0x175)]())==null?void 0x0:_0x25bb2a['skeleton'];if(!_0x1c53cc)return;const _0xf0a1a6=this[_0x461bf2(0x1f6)]();if(!_0xf0a1a6)return;this[_0x461bf2(0x1f0)][_0x461bf2(0x20b)](_0x64d29b=>{const _0x405c79=_0x461bf2;_0x64d29b[_0x405c79(0x1f5)]();});const {scene:_0x2fef01}=_0xf0a1a6,_0x2d44e8=xi(Array[_0x461bf2(0x10d)](_0x458359[_0x461bf2(0x1b2)]()))[_0x461bf2(0x1a4)](_0x5d0563=>{const _0x4e02d8=_0x461bf2,{color:_0x9a9ce4,range:_0x5e51d5,name:_0x501afe,selection:_0x47978c,sheetID:_0x5efbd4}=_0x5d0563,{startColumn:_0x50b369,startRow:_0x2dd816,endColumn:_0x8a0fb2,endRow:_0x22a0d7}=_0x5e51d5,_0x47e202=_0x3d1154(_0x2dd816,_0x50b369,_0x2fef01,_0x1c53cc),_0x2d1b59=_0x3d1154(_0x22a0d7,_0x8a0fb2,_0x2fef01,_0x1c53cc),{columnHeaderHeightAndMarginTop:_0x3e7ca8}=_0x1c53cc,{startX:_0x4a6272,startY:_0x483f3b}=_0x47e202,{endX:_0x48dbed,endY:_0x3d665e}=_0x2d1b59,_0xfdf282=_0x48dbed-_0x4a6272,_0x4fa6f3=_0x3d665e-_0x483f3b,_0x21d2c4={'labelPosition':_0x483f3b-_0x3e7ca8>=J?_0x4e02d8(0x22a):_0x4e02d8(0x295),'sheetID':_0x5efbd4,'range':_0x5e51d5,'color':_0x9a9ce4,'name':_0x501afe,'selection':_0x47978c,'left':_0x4a6272,'top':_0x483f3b,'width':_0xfdf282,'height':_0x4fa6f3,'evented':!0x1,'zIndex':$i};return new wi(_0x501afe,_0x21d2c4);});_0x2fef01[_0x461bf2(0x29e)](_0x2d44e8,Li),this[_0x461bf2(0x1f0)]=new Set(_0x2d44e8);}[_0x558576(0xe5)](){const _0x4f7bf6=_0x558576;var _0x13d781;(_0x13d781=this[_0x4f7bf6(0x1f0)])==null||_0x13d781[_0x4f7bf6(0x20b)](_0x44bf58=>_0x44bf58[_0x4f7bf6(0x1cb)]());}[_0x558576(0x1f6)](){return _0x5b48ba(this['_context']['unit'],this['_context']);}};Pe=yi([pe(0x1,_0x194e08(_0x2aa2c1)),pe(0x2,_0x194e08(F)),pe(0x3,_0x194e08(_0x3238a3))],Pe);function xi(_0x21f66f){const _0x957125=_0x558576,_0x5baab8=new Map();return _0x21f66f[_0x957125(0x20b)](_0x5aeca6=>{const _0x125d17=_0x957125;if(_0x5baab8[_0x125d17(0x25d)](_0x5aeca6['selection'])){const _0x298b90=_0x5baab8[_0x125d17(0x109)](_0x5aeca6['selection']);_0x298b90[_0x125d17(0x18b)]+=',\x20'+_0x5aeca6[_0x125d17(0x18b)];}else _0x5baab8['set'](_0x5aeca6['selection'],_0x5aeca6);}),Array[_0x957125(0x10d)](_0x5baab8[_0x957125(0x1b2)]());}var v=function(){const _0x4fcddf=_0x558576;return v=Object[_0x4fcddf(0x1e5)]||function(_0x104f8a){const _0x156960=_0x4fcddf;for(var _0x4190a7,_0x260f6e=0x1,_0x4256db=arguments[_0x156960(0x11e)];_0x260f6e<_0x4256db;_0x260f6e++){_0x4190a7=arguments[_0x260f6e];for(var _0x708ea1 in _0x4190a7)Object[_0x156960(0x22f)][_0x156960(0x1d3)]['call'](_0x4190a7,_0x708ea1)&&(_0x104f8a[_0x708ea1]=_0x4190a7[_0x708ea1]);}return _0x104f8a;},v[_0x4fcddf(0xe3)](this,arguments);},Bi=function(_0x40454b,_0x43b457){const _0x16b423=_0x558576;var _0x5b4b6b={};for(var _0x221ce7 in _0x40454b)Object[_0x16b423(0x22f)][_0x16b423(0x1d3)][_0x16b423(0xfd)](_0x40454b,_0x221ce7)&&_0x43b457[_0x16b423(0x25f)](_0x221ce7)<0x0&&(_0x5b4b6b[_0x221ce7]=_0x40454b[_0x221ce7]);if(_0x40454b!=null&&typeof Object[_0x16b423(0x23f)]==_0x16b423(0xcb)){for(var _0x56766a=0x0,_0x221ce7=Object[_0x16b423(0x23f)](_0x40454b);_0x56766a<_0x221ce7[_0x16b423(0x11e)];_0x56766a++)_0x43b457['indexOf'](_0x221ce7[_0x56766a])<0x0&&Object[_0x16b423(0x22f)][_0x16b423(0xef)][_0x16b423(0xfd)](_0x40454b,_0x221ce7[_0x56766a])&&(_0x5b4b6b[_0x221ce7[_0x56766a]]=_0x40454b[_0x221ce7[_0x56766a]]);}return _0x5b4b6b;},Fe=_0xeaae3e(function(_0x1aaa28,_0x2293d3){const _0x1b0a95=_0x558576;var _0x4fc126=_0x1aaa28[_0x1b0a95(0x1a7)],_0x3aeb67=_0x1aaa28['id'],_0x37b886=_0x1aaa28[_0x1b0a95(0x165)],_0x25defa=_0x1aaa28[_0x1b0a95(0x1df)],_0x25ff21=Bi(_0x1aaa28,[_0x1b0a95(0x1a7),'id',_0x1b0a95(0x165),'extend']),_0x485cd1=_0x1b0a95(0x29b)[_0x1b0a95(0x23d)](_0x3aeb67,'\x20')[_0x1b0a95(0x23d)](_0x37b886||'')['trim'](),_0x500e26=_0x477443('_'[_0x1b0a95(0x23d)](Fi()));return Dt(_0x4fc126,''[_0x1b0a95(0x23d)](_0x3aeb67),{'defIds':_0x4fc126[_0x1b0a95(0xa5)],'idSuffix':_0x500e26['current']},v({'ref':_0x2293d3,'className':_0x485cd1},_0x25ff21),_0x25defa);});function Dt(_0x15a0f1,_0x2b57d6,_0x17ed05,_0x31e0ab,_0x407332){const _0x384ce3=_0x558576;return _0x5f4359(_0x15a0f1['tag'],v(v({'key':_0x2b57d6},ki(_0x15a0f1,_0x17ed05,_0x407332)),_0x31e0ab),(Hi(_0x15a0f1,_0x17ed05)[_0x384ce3(0x1f3)]||[])[_0x384ce3(0x1a4)](function(_0x2f2ca2,_0x345483){const _0x3992d3=_0x384ce3;return Dt(_0x2f2ca2,''['concat'](_0x2b57d6,'-')[_0x3992d3(0x23d)](_0x15a0f1[_0x3992d3(0x1ed)],'-')[_0x3992d3(0x23d)](_0x345483),_0x17ed05,void 0x0,_0x407332);}));}function ki(_0x52d5e0,_0x1defd7,_0x2e1fb4){const _0x3e067c=_0x558576;var _0x380c6e=v({},_0x52d5e0[_0x3e067c(0x1a8)]);_0x2e1fb4!=null&&_0x2e1fb4[_0x3e067c(0x241)]&&_0x380c6e[_0x3e067c(0x1f9)]===_0x3e067c(0x241)&&(_0x380c6e[_0x3e067c(0x1f9)]=_0x2e1fb4[_0x3e067c(0x241)]),_0x52d5e0['tag']===_0x3e067c(0x12b)&&_0x380c6e['id']&&(_0x380c6e['id']=_0x380c6e['id']+_0x1defd7[_0x3e067c(0x256)]),Object[_0x3e067c(0x28f)](_0x380c6e)[_0x3e067c(0x20b)](function(_0x46a07c){const _0x1ae7e5=_0x3e067c;var _0x55fc60=_0x46a07c[0x0],_0x2a858d=_0x46a07c[0x1];_0x55fc60==='mask'&&typeof _0x2a858d==_0x1ae7e5(0xce)&&(_0x380c6e[_0x55fc60]=_0x2a858d[_0x1ae7e5(0x29f)](/url\(#(.*)\)/,_0x1ae7e5(0xe7)[_0x1ae7e5(0x23d)](_0x1defd7['idSuffix'],')')));});var _0xa69c33=_0x1defd7[_0x3e067c(0xa5)];return!_0xa69c33||_0xa69c33[_0x3e067c(0x11e)]===0x0||(_0x52d5e0[_0x3e067c(0x1ed)]==='use'&&_0x380c6e[_0x3e067c(0x1b7)]&&(_0x380c6e[_0x3e067c(0x1b7)]=_0x380c6e[_0x3e067c(0x1b7)]+_0x1defd7[_0x3e067c(0x256)]),Object[_0x3e067c(0x28f)](_0x380c6e)[_0x3e067c(0x20b)](function(_0x53e883){const _0x2f7cad=_0x3e067c;var _0x11ec5b=_0x53e883[0x0],_0x4ce252=_0x53e883[0x1];typeof _0x4ce252==_0x2f7cad(0xce)&&(_0x380c6e[_0x11ec5b]=_0x4ce252[_0x2f7cad(0x29f)](/url\(#(.*)\)/,'url(#$1'[_0x2f7cad(0x23d)](_0x1defd7[_0x2f7cad(0x256)],')')));})),_0x380c6e;}function Hi(_0x3dce6c,_0x1e5e6e){const _0x46975d=_0x558576;var _0x19086b,_0x339663=_0x1e5e6e[_0x46975d(0xa5)];return!_0x339663||_0x339663[_0x46975d(0x11e)]===0x0?_0x3dce6c:_0x3dce6c['tag']==='defs'&&(!((_0x19086b=_0x3dce6c[_0x46975d(0x1f3)])===null||_0x19086b===void 0x0)&&_0x19086b[_0x46975d(0x11e)])?v(v({},_0x3dce6c),{'children':_0x3dce6c[_0x46975d(0x1f3)]['map'](function(_0x58cb5f){const _0x2bdc3e=_0x46975d;return typeof _0x58cb5f[_0x2bdc3e(0x1a8)]['id']==_0x2bdc3e(0xce)&&_0x339663&&_0x339663['includes'](_0x58cb5f[_0x2bdc3e(0x1a8)]['id'])?v(v({},_0x58cb5f),{'attrs':v(v({},_0x58cb5f[_0x2bdc3e(0x1a8)]),{'id':_0x58cb5f[_0x2bdc3e(0x1a8)]['id']+_0x1e5e6e[_0x2bdc3e(0x256)]})}):_0x58cb5f;})}):_0x3dce6c;}function Fi(){const _0x32a8e2=_0x558576;return Math[_0x32a8e2(0x1b9)]()[_0x32a8e2(0x1b8)](0x24)['substring'](0x2,0x8);}Fe[_0x558576(0x1ca)]=_0x558576(0x10b);var Yi={'tag':_0x558576(0x18d),'attrs':{'xmlns':_0x558576(0x15e),'fill':_0x558576(0x197),'viewBox':_0x558576(0x104),'width':_0x558576(0x150),'height':_0x558576(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x558576(0x276)},'children':[{'tag':_0x558576(0x180),'attrs':{'stroke':_0x558576(0x272),'d':_0x558576(0x188),'strokeLinecap':'round','strokeLinejoin':_0x558576(0x1d0),'strokeWidth':1.2}}]},{'tag':_0x558576(0xe4),'attrs':{},'children':[{'tag':_0x558576(0x125),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x558576(0x180),'attrs':{'fill':_0x558576(0xc1),'d':_0x558576(0x240)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0xeaae3e(function(_0x1c6bee,_0x4c1e03){const _0x133383=_0x558576;return _0x5f4359(Fe,Object[_0x133383(0x1e5)]({},_0x1c6bee,{'id':'off-line-icon','ref':_0x4c1e03,'icon':Yi}));});Nt[_0x558576(0x1ca)]='OffLineIcon';var ji={'tag':_0x558576(0x18d),'attrs':{'xmlns':_0x558576(0x15e),'fill':_0x558576(0x197),'viewBox':_0x558576(0x24a),'width':_0x558576(0x150),'height':_0x558576(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x558576(0xab)},'children':[{'tag':_0x558576(0x180),'attrs':{'stroke':_0x558576(0x272),'d':_0x558576(0x13b),'strokeLinecap':_0x558576(0x1d0),'strokeLinejoin':_0x558576(0x1d0),'strokeWidth':1.2}}]},{'tag':_0x558576(0xe4),'attrs':{},'children':[{'tag':_0x558576(0x125),'attrs':{'id':_0x558576(0xd0)},'children':[{'tag':_0x558576(0x180),'attrs':{'fill':'white','d':_0x558576(0x240),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0xeaae3e(function(_0x1e52ff,_0x119486){const _0x15bcbd=_0x558576;return _0x5f4359(Fe,Object[_0x15bcbd(0x1e5)]({},_0x1e52ff,{'id':'on-line-icon','ref':_0x119486,'icon':ji}));});Ut['displayName']=_0x558576(0x17a);function Vi(_0x321cea){const _0xe613bc=_0x558576;switch(_0x321cea){case _0x333d80['OFFLINE']:return'collabStatus.offline';case _0x333d80[_0xe613bc(0x21c)]:return _0xe613bc(0x1e2);case _0x333d80[_0xe613bc(0x174)]:return'collabStatus.fetchMiss';case _0x333d80[_0xe613bc(0xeb)]:return _0xe613bc(0x271);case _0x333d80[_0xe613bc(0xed)]:case _0x333d80[_0xe613bc(0xca)]:return _0xe613bc(0x11d);case _0x333d80[_0xe613bc(0xda)]:case _0x333d80[_0xe613bc(0xfe)]:return _0xe613bc(0x1ac);}}function Wi(_0x2ef970){const _0x7cf46=_0x558576,{status$:_0x9b79fd}=_0x2ef970,_0x1abb7f=_0x27b81c(_0x9b79fd,_0x333d80['NOT_COLLAB']),_0x5358f5=_0x57676b(_0x17cedb),_0x29363=_0x57676b(_0x59aca7),_0x3ee528=_0x1abb7f!==_0x333d80[_0x7cf46(0xa4)],_0x5ded57=_0x5358f5['t'](Vi(_0x1abb7f)),_0x580bed=_0x3ee528?_0x5d8a54(Ut,{}):_0x5d8a54(Nt,{}),_0x4aa678=_0x27d82d(()=>{const _0x2fdc4c=_0x7cf46;_0x3ee528||_0x29363[_0x2fdc4c(0x285)]();},[_0x3ee528,_0x29363]);function _0x372530(){const _0x4fcf3c=_0x7cf46;return _0x45d7a9(_0x4fcf3c(0x247),{'className':_0x4fcf3c(0x200),'onClick':_0x4aa678,'children':[_0x5d8a54(_0x4fcf3c(0x247),{'className':_0xaa4f69(_0x4fcf3c(0x12c),{'univer-text-green-500':_0x3ee528,'univer-text-red-500':!_0x3ee528}),'children':_0x580bed}),_0x5d8a54(_0x4fcf3c(0x247),{'className':_0x4fcf3c(0x25e),'children':_0x5ded57})]});}return _0x3ee528?_0x372530():_0x5d8a54(_0x5abf17,{'title':_0x5358f5['t']('collab-client.tooltip.reconnect'),'children':_0x372530()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1b5dd3,_0x4de674,_0x4822e4,_0x248633)=>{const _0x5615fc=_0x558576;for(var _0x27350d=_0x248633>0x1?void 0x0:_0x248633?Xi(_0x4de674,_0x4822e4):_0x4de674,_0x5cc42d=_0x1b5dd3[_0x5615fc(0x11e)]-0x1,_0x5acd63;_0x5cc42d>=0x0;_0x5cc42d--)(_0x5acd63=_0x1b5dd3[_0x5cc42d])&&(_0x27350d=_0x5acd63(_0x27350d)||_0x27350d);return _0x27350d;},ee=(_0x2346a5,_0x123823)=>(_0x1e92cb,_0x54c803)=>_0x123823(_0x1e92cb,_0x54c803,_0x2346a5);let se=class extends _0x12187e{constructor(_0x3844a4,_0x53f2b7,_0x2852db,_0x1564f3){const _0x5bba35=_0x558576;super(),_(this,'_status$',new _0x344465(_0x333d80[_0x5bba35(0xeb)])),(this[_0x5bba35(0x141)]=_0x3844a4,this[_0x5bba35(0x204)]=_0x53f2b7,this['_collaborationController']=_0x2852db,this[_0x5bba35(0xd9)]=_0x1564f3,this[_0x5bba35(0x18a)](),this[_0x5bba35(0x23b)]());}[_0x558576(0x23b)](){const _0x274b3d=_0x558576;this[_0x274b3d(0x1dd)](this[_0x274b3d(0x141)][_0x274b3d(0x290)][_0x274b3d(0x16e)](_0x56f529(()=>{const _0x3c0e6c=_0x274b3d,_0x594949=this[_0x3c0e6c(0x141)][_0x3c0e6c(0xb2)]();return _0x594949?this['_collaborationController'][_0x3c0e6c(0x225)](_0x594949[_0x3c0e6c(0x226)]()):_0x5f58fc(null);}),_0x56f529(_0x185f24=>_0x185f24?_0x185f24['status$']:_0x5f58fc(_0x333d80[_0x274b3d(0xeb)])))['subscribe'](_0xf7bdc=>{const _0x2483f3=_0x274b3d;this[_0x2483f3(0x189)][_0x2483f3(0x1bf)](_0xf7bdc);}));}[_0x558576(0x18a)](){const _0x45f9d3=_0x558576;this[_0x45f9d3(0x1dd)](this['_uiPartsService'][_0x45f9d3(0x126)](_0x89900f['HEADER_MENU'],()=>_0x4f3cac(Ki({'status$':this['_status$'][_0x45f9d3(0x14a)]()}),this[_0x45f9d3(0x204)])));}};se=Gi([ee(0x0,_0x2ba6d0),ee(0x1,_0x194e08(_0x316a89)),ee(0x2,_0x194e08(_0x62c6dc)),ee(0x3,_0x2de367)],se);function Ki(_0x276829){const {status$:_0x1700ea}=_0x276829;return function(){return _0x5d8a54(Wi,{'status$':_0x1700ea});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x400265,_0x499570,_0x3b27a6,_0x218d3e)=>{const _0x5da2af=_0x558576;for(var _0x34da7c=_0x218d3e>0x1?void 0x0:_0x218d3e?zi(_0x499570,_0x3b27a6):_0x499570,_0x2d0b7b=_0x400265[_0x5da2af(0x11e)]-0x1,_0x244c1f;_0x2d0b7b>=0x0;_0x2d0b7b--)(_0x244c1f=_0x400265[_0x2d0b7b])&&(_0x34da7c=_0x244c1f(_0x34da7c)||_0x34da7c);return _0x34da7c;},B=(_0x2d1f8c,_0x169f45)=>(_0xf57e26,_0x1c8930)=>_0x169f45(_0xf57e26,_0x1c8930,_0x2d1f8c);let ie=class extends _0x12187e{constructor(_0x291fd8,_0x339b34,_0x514f10,_0x5648ca,_0x546e90,_0x3c98c9){const _0x1b478e=_0x558576;super(),this[_0x1b478e(0x20d)]=_0x291fd8,this[_0x1b478e(0xe6)]=_0x339b34,this[_0x1b478e(0x17d)]=_0x514f10,this['_messageService']=_0x5648ca,this[_0x1b478e(0x128)]=_0x546e90,this[_0x1b478e(0x196)]=_0x3c98c9,this[_0x1b478e(0xbf)](),this[_0x1b478e(0x113)]();}[_0x558576(0xbf)](){const _0x11b6fe=_0x558576;this['disposeWithMe'](this[_0x11b6fe(0x20d)][_0x11b6fe(0x21d)](()=>{const _0x5f4a8b=_0x11b6fe;if(this[_0x5f4a8b(0xe6)]['saveTaskMap'][_0x5f4a8b(0x297)])return this[_0x5f4a8b(0x196)]['t'](_0x5f4a8b(0x107));}));}[_0x558576(0x113)](){const _0x3181c2=_0x558576;this[_0x3181c2(0x1dd)](this[_0x3181c2(0x17d)][_0x3181c2(0x1c5)][_0x3181c2(0x1ee)](_0x3fcf54=>{const _0x3c23be=_0x3181c2;_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x137)]&&this['_messageService']['show']({'type':_0x3aafdb['Warning'],'content':this['_localeService']['t'](_0x3c23be(0x26e))}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x115)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this['_localeService']['t'](_0x3c23be(0x243))}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x1ae)]&&this['_notificationService'][_0x3c23be(0x183)]({'title':this['_localeService']['t'](_0x3c23be(0x237)),'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0xb9)),'type':'error','duration':0x0}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x21c)]&&this['_messageService'][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x243))+'('+_0x3fcf54['data']+')'}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0xf8)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this[_0x3c23be(0x196)]['t'](_0x3fcf54['data']||'')}),_0x3fcf54['id']===_0x1e3b11['SOCKET_FAILED_RETRY']&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this[_0x3c23be(0x196)]['t']('session.will-retry')}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x26d)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x19b))}),_0x3fcf54['id']===_0x1e3b11['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x28e))});}));}};ie=Ji([B(0x0,_0x54a871),B(0x1,_0x20f0df),B(0x2,_0x194e08(_0x17e6a8)),B(0x3,_0x103f10),B(0x4,_0x7996e4),B(0x5,_0x194e08(_0x17cedb))],ie);const Zi=_0x558576(0x20e),et={},Mt=_0x3796d8(_0x558576(0x27f));var Qi=Object[_0x558576(0x233)],qi=(_0x3acdad,_0x33f1a4,_0x4b55ae,_0x1f0fd1)=>{const _0x14a2e9=_0x558576;for(var _0x1d6dd6=_0x1f0fd1>0x1?void 0x0:_0x1f0fd1?Qi(_0x33f1a4,_0x4b55ae):_0x33f1a4,_0x193f5a=_0x3acdad[_0x14a2e9(0x11e)]-0x1,_0x101af6;_0x193f5a>=0x0;_0x193f5a--)(_0x101af6=_0x3acdad[_0x193f5a])&&(_0x1d6dd6=_0x101af6(_0x1d6dd6)||_0x1d6dd6);return _0x1d6dd6;},K=(_0x292a2b,_0x416654)=>(_0x3b44a1,_0x17ddb3)=>_0x416654(_0x3b44a1,_0x17ddb3,_0x292a2b);let ne=class extends _0x5ab30e{constructor(_0x16986b,_0xcb82bd,_0x52cdeb,_0x4d940b,_0xe8346b){const _0x22b0f3=_0x558576;super(),this['_urlService']=_0x16986b,this[_0x22b0f3(0x14f)]=_0xcb82bd,this[_0x22b0f3(0x163)]=_0x52cdeb,this[_0x22b0f3(0x29c)]=_0x4d940b,_0xe8346b?_0xe8346b==null||_0xe8346b[_0x22b0f3(0x22c)]()[_0x22b0f3(0xaa)](()=>this['_init']()):(this['_logService']['debug'](_0x22b0f3(0x213),_0x22b0f3(0x157)),this[_0x22b0f3(0x176)]());}async[_0x558576(0x176)](){const _0x1f9857=_0x558576,_0x1102d5=this['_urlService']['getParam'](_0x1f9857(0x20a)),_0x7b7d96=this['_urlService'][_0x1f9857(0x139)](_0x1f9857(0x296)),_0x42bb0b=this[_0x1f9857(0x23a)]['getParam']('subunit');if(!_0x1102d5||!_0x7b7d96){this[_0x1f9857(0x14f)]['debug'](_0x1f9857(0x213),_0x1f9857(0xfb));return;}const _0x4dc1c2=await this['_dataLoaderService'][_0x1f9857(0xf2)](_0x1102d5,Number(_0x7b7d96),_0x42bb0b);_0x4dc1c2&&_0x4dc1c2 instanceof _0x11d483&&this['_setupSubUnitSync'](_0x4dc1c2);}async[_0x558576(0x206)](_0x193a4e){const _0x1b645e=_0x558576;await this[_0x1b645e(0xd7)](_0x193a4e),_0x193a4e['activeSheet$'][_0x1b645e(0x16e)](_0x2e6a50(this[_0x1b645e(0x10c)]))[_0x1b645e(0x1ee)](_0xe9fb2e=>{const _0x2a9b32=_0x1b645e;_0xe9fb2e&&this[_0x2a9b32(0xa8)](_0xe9fb2e);}),this[_0x1b645e(0x23a)][_0x1b645e(0xc3)][_0x1b645e(0x16e)](_0x2e6a50(this[_0x1b645e(0x10c)]))[_0x1b645e(0x1ee)](()=>this[_0x1b645e(0xd7)](_0x193a4e));}[_0x558576(0xa8)](_0x28f6aa,_0x2b25f5=!0x1){const _0x4fdf1f=_0x558576,_0x351c71=this[_0x4fdf1f(0x23a)][_0x4fdf1f(0x139)](_0x4fdf1f(0x28c));_0x28f6aa['getSheetId']()!==_0x351c71&&this[_0x4fdf1f(0x23a)][_0x4fdf1f(0x151)]('subunit',_0x28f6aa[_0x4fdf1f(0x15d)](),_0x2b25f5);}async[_0x558576(0xd7)](_0x5398ec){const _0x2e4767=_0x558576;var _0x2b9dd0;const _0x2ab60d=this[_0x2e4767(0x23a)][_0x2e4767(0x139)]('subunit');if(!_0x2ab60d||!_0x5398ec[_0x2e4767(0x14b)](_0x2ab60d)){const _0x320a48=_0x5398ec[_0x2e4767(0xcd)]()[0x0],_0x2707e1=_0x5398ec['getSheetBySheetId'](_0x320a48);if(!_0x2707e1)return;this['_updateURLWithCurrentState'](_0x2707e1,!0x0),await this[_0x2e4767(0x163)][_0x2e4767(0x12d)](_0x2558a9['id'],{'unitId':_0x5398ec[_0x2e4767(0x226)](),'subUnitId':_0x320a48});return;}((_0x2b9dd0=_0x5398ec['getActiveSheet']())==null?void 0x0:_0x2b9dd0[_0x2e4767(0x15d)]())!==_0x2ab60d&&await this[_0x2e4767(0x163)][_0x2e4767(0x12d)](_0x2558a9['id'],{'unitId':_0x5398ec[_0x2e4767(0x226)](),'subUnitId':_0x2ab60d});}};ne=qi([K(0x0,Mt),K(0x1,_0x36997e),K(0x2,_0x5e0729),K(0x3,_0x194e08(_0x818159)),K(0x4,_0x20cd0b(_0xb1bc40))],ne);var en=Object[_0x558576(0x233)],tn=(_0x5ee81e,_0x4984ab,_0x4f1cc1,_0x44c972)=>{for(var _0x4bf18a=_0x44c972>0x1?void 0x0:_0x44c972?en(_0x4984ab,_0x4f1cc1):_0x4984ab,_0x5dcad6=_0x5ee81e['length']-0x1,_0x1c9ef1;_0x5dcad6>=0x0;_0x5dcad6--)(_0x1c9ef1=_0x5ee81e[_0x5dcad6])&&(_0x4bf18a=_0x1c9ef1(_0x4bf18a)||_0x4bf18a);return _0x4bf18a;},tt=(_0x400e2d,_0x1496c4)=>(_0x1e0a6c,_0x36272e)=>_0x1496c4(_0x1e0a6c,_0x36272e,_0x400e2d);let re=class{constructor(_0x5a752c,_0x19efac){this['_transformService']=_0x5a752c,this['_renderManagerService']=_0x19efac;}[_0x558576(0x228)](_0x459695){const _0x3d499a=_0x558576;this[_0x3d499a(0xf3)](_0x459695),this[_0x3d499a(0x1dc)](_0x459695);}[_0x558576(0x185)](_0x251120){const _0x50844b=_0x558576,{unitID:_0x18e357}=_0x251120,_0x6a00e=this[_0x50844b(0xa7)][_0x50844b(0x208)](_0x18e357)[_0x50844b(0x229)](_0xb7bf41),{redoCache:_0x5efbee}=_0x6a00e[_0x50844b(0x111)]();if(_0x5efbee[_0x50844b(0x11e)]===0x0)return _0x251120;let _0x2b58e4=_0x3324fe['deepClone'](_0x251120[_0x50844b(0x222)][0x0]);for(let _0x485668=0x0;_0x485668<_0x5efbee['length'];_0x485668++){const _0x35a96e={'id':_0x50844b(0x114),'params':{..._0x5efbee[_0x485668]}},_0x1577e5=this['_transformService'][_0x50844b(0x12e)](_0x2b58e4,_0x35a96e,!0x1);if(_0x2cd84e(_0x1577e5))throw _0x1577e5[_0x50844b(0x146)];_0x2b58e4=_0x1577e5['m1Prime'];}return{..._0x3324fe[_0x50844b(0x278)](_0x251120),'mutations':[_0x2b58e4]};}[_0x558576(0xf3)](_0x594937){const _0x61f909=_0x558576,{unitID:_0x5bec6c}=_0x594937,_0x1475bb=this[_0x61f909(0xa7)][_0x61f909(0x208)](_0x5bec6c)[_0x61f909(0x229)](_0xb7bf41),{undoCache:_0x40e360,redoCache:_0x80054e}=_0x1475bb['getUndoRedoMutationParamsCache']();if(_0x40e360[_0x61f909(0x11e)]===0x0||_0x80054e[_0x61f909(0x11e)]===0x0)return;const _0x5e4b69=[],_0x2e2592=[];let _0x4429de=_0x3324fe[_0x61f909(0x278)](_0x594937['mutations'][0x0]),_0x297dd8=_0x3324fe['deepClone'](_0x594937[_0x61f909(0x222)][0x0]);for(let _0xd8d6a1=_0x40e360['length']-0x1;_0xd8d6a1>=0x0;_0xd8d6a1--){const _0x3aae93={'id':_0x61f909(0x114),'params':{..._0x40e360[_0xd8d6a1]}},_0x25965b={'id':_0x61f909(0x114),'params':{..._0x80054e[_0xd8d6a1]}},_0x2d121d=this['_transformService'][_0x61f909(0x12e)](_0x4429de,_0x3aae93,!0x1),_0x43447d=this[_0x61f909(0x201)][_0x61f909(0x12e)](_0x297dd8,_0x25965b,!0x1);if(_0x2cd84e(_0x2d121d))throw _0x2d121d[_0x61f909(0x146)];if(_0x2cd84e(_0x43447d))throw _0x43447d['error'];_0x5e4b69['unshift'](_0x2d121d[_0x61f909(0x160)][_0x61f909(0x1db)]),_0x2e2592[_0x61f909(0x27c)](_0x43447d[_0x61f909(0x160)][_0x61f909(0x1db)]),_0x4429de=_0x2d121d['m1Prime'],_0x297dd8=_0x43447d['m1Prime'];}_0x1475bb[_0x61f909(0xe1)]({'undoCache':_0x5e4b69,'redoCache':_0x2e2592});}[_0x558576(0x1dc)](_0x5a0995){const _0x29e46f=_0x558576,{unitID:_0x319e14}=_0x5a0995,_0x114fbc=this[_0x29e46f(0xa7)]['getRenderById'](_0x319e14)[_0x29e46f(0x229)](_0xb7bf41),_0x56bba5=_0x114fbc[_0x29e46f(0x246)]();if(_0x56bba5==null)return;const _0x3ee236=[{'id':_0x29e46f(0x114),'params':{'unitId':_0x5a0995[_0x29e46f(0x254)],'actions':null,'textRanges':[_0x56bba5]}}],_0x22192d=this['_transformService'][_0x29e46f(0x221)](_0x5a0995,_0x3ee236);if(!_0x376955(_0x22192d))throw _0x22192d[_0x29e46f(0x146)];const _0x348493=_0x22192d['m2Prime'][0x0]['params'][_0x29e46f(0xcf)];Array[_0x29e46f(0x102)](_0x348493)&&_0x348493[_0x29e46f(0x11e)]&&_0x114fbc[_0x29e46f(0xdf)](_0x348493[0x0]);}};re=tn([tt(0x0,_0x53b600),tt(0x1,_0x3e366f)],re);var sn=Object[_0x558576(0x233)],nn=(_0x5095e3,_0x577b5b,_0x38e6f0,_0x1f0cd9)=>{const _0x53f0c2=_0x558576;for(var _0x3b6b9f=_0x1f0cd9>0x1?void 0x0:_0x1f0cd9?sn(_0x577b5b,_0x38e6f0):_0x577b5b,_0x1479bf=_0x5095e3[_0x53f0c2(0x11e)]-0x1,_0x3e4b3d;_0x1479bf>=0x0;_0x1479bf--)(_0x3e4b3d=_0x5095e3[_0x1479bf])&&(_0x3b6b9f=_0x3e4b3d(_0x3b6b9f)||_0x3b6b9f);return _0x3b6b9f;},Ce=(_0x494058,_0x35d37f)=>(_0x47904e,_0x43a5fd)=>_0x35d37f(_0x47904e,_0x43a5fd,_0x494058);let oe=class{constructor(_0x28283d,_0x3ab3ed,_0x56e996){const _0x19fbca=_0x558576;this[_0x19fbca(0x204)]=_0x28283d,this[_0x19fbca(0x201)]=_0x3ab3ed,this[_0x19fbca(0x232)]=_0x56e996;}[_0x558576(0x210)](_0x5058ff){const _0x18d4d7=_0x558576;this[_0x18d4d7(0x144)](_0x5058ff);}[_0x558576(0x185)](_0x4cf86c){const _0x4f91de=_0x558576,{unitID:_0x4dacb9}=_0x4cf86c,{collaboration:_0x194edc}=this[_0x4f91de(0x232)][_0x4f91de(0x260)](_0x4dacb9);if(_0x194edc[_0x4f91de(0x11e)]===0x0)return _0x4cf86c;let _0x489375=_0x3324fe[_0x4f91de(0x278)](_0x4cf86c[_0x4f91de(0x222)][0x0]);for(let _0x2f5c23=0x0;_0x2f5c23<_0x194edc[_0x4f91de(0x11e)];_0x2f5c23++){const _0x56f6db={'id':_0x4f91de(0x114),'params':{'unitId':_0x194edc[_0x2f5c23]['unitId'],..._0x194edc[_0x2f5c23][_0x4f91de(0x28d)]}},_0x140f54=this[_0x4f91de(0x201)][_0x4f91de(0x12e)](_0x489375,_0x56f6db,!0x1);if(_0x2cd84e(_0x140f54))throw _0x140f54[_0x4f91de(0x146)];_0x489375=_0x140f54['m1Prime'];}return{..._0x3324fe[_0x4f91de(0x278)](_0x4cf86c),'mutations':[_0x489375]};}[_0x558576(0x144)](_0xec4736){const _0x419554=_0x558576,{unitID:_0x57dd19}=_0xec4736,{history:_0x5891e7,collaboration:_0x11f7c8}=this[_0x419554(0x232)][_0x419554(0x260)](_0x57dd19);if(_0x5891e7[_0x419554(0x11e)]===0x0&&_0x11f7c8[_0x419554(0x11e)]===0x0)return;const _0x48f063=[],_0x2f9e4a=[];let _0x165b46=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]),_0x2c6b56=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]);for(let _0x157605=_0x5891e7['length']-0x1;_0x157605>=0x0;_0x157605--){const _0x52c835={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5891e7[_0x157605][_0x419554(0x29d)],..._0x5891e7[_0x157605][_0x419554(0xd3)]}},_0xfe5b19={'id':_0x419554(0x114),'params':{'unitId':_0x5891e7[_0x157605]['unitId'],..._0x5891e7[_0x157605][_0x419554(0x28d)]}},_0x25c76b=this['_transformService'][_0x419554(0x12e)](_0x165b46,_0x52c835,!0x1),_0x5a9e45=this['_transformService'][_0x419554(0x12e)](_0x2c6b56,_0xfe5b19,!0x1);if(_0x2cd84e(_0x25c76b))throw _0x25c76b[_0x419554(0x146)];if(_0x2cd84e(_0x5a9e45))throw _0x5a9e45[_0x419554(0x146)];_0x48f063[_0x419554(0x27c)]({..._0x5891e7[_0x157605],'undoState':_0x25c76b[_0x419554(0x160)][_0x419554(0x1db)],'redoState':_0x5a9e45[_0x419554(0x160)]['params']}),_0x165b46=_0x25c76b[_0x419554(0x29a)],_0x2c6b56=_0x5a9e45['m1Prime'];}_0x165b46=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]),_0x2c6b56=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]);for(let _0x5a2e88=_0x11f7c8['length']-0x1;_0x5a2e88>=0x0;_0x5a2e88--){const _0x43b4cd={'id':_0x419554(0x114),'params':{'unitId':_0x11f7c8[_0x5a2e88][_0x419554(0x29d)],..._0x11f7c8[_0x5a2e88]['undoState']}},_0xd2a21d={'id':_0x419554(0x114),'params':{'unitId':_0x11f7c8[_0x5a2e88][_0x419554(0x29d)],..._0x11f7c8[_0x5a2e88]['redoState']}},_0x32cc69=this[_0x419554(0x201)][_0x419554(0x12e)](_0x165b46,_0x43b4cd,!0x1),_0x1bcc7c=this['_transformService'][_0x419554(0x12e)](_0x2c6b56,_0xd2a21d,!0x1);if(_0x2cd84e(_0x32cc69))throw _0x32cc69[_0x419554(0x146)];if(_0x2cd84e(_0x1bcc7c))throw _0x1bcc7c[_0x419554(0x146)];_0x2f9e4a[_0x419554(0x27c)]({..._0x11f7c8[_0x5a2e88],'undoState':_0x32cc69['m2Prime'][_0x419554(0x1db)],'redoState':_0x1bcc7c[_0x419554(0x160)][_0x419554(0x1db)]}),_0x165b46=_0x32cc69[_0x419554(0x29a)],_0x2c6b56=_0x1bcc7c[_0x419554(0x29a)];}this[_0x419554(0x232)][_0x419554(0xf1)](_0x57dd19,{'history':_0x48f063,'collaboration':_0x2f9e4a});}};oe=nn([Ce(0x0,_0x194e08(_0x316a89)),Ce(0x1,_0x53b600),Ce(0x2,_0x194e08(_0x2a22aa))],oe);var rn=Object[_0x558576(0x233)],on=(_0x394b01,_0x2086eb,_0x13d9be,_0x148ebc)=>{const _0x215afc=_0x558576;for(var _0x5c0d59=_0x148ebc>0x1?void 0x0:_0x148ebc?rn(_0x2086eb,_0x13d9be):_0x2086eb,_0x2f0cc5=_0x394b01[_0x215afc(0x11e)]-0x1,_0x4a3ba2;_0x2f0cc5>=0x0;_0x2f0cc5--)(_0x4a3ba2=_0x394b01[_0x2f0cc5])&&(_0x5c0d59=_0x4a3ba2(_0x5c0d59)||_0x5c0d59);return _0x5c0d59;},st=(_0xb828b0,_0x459f16)=>(_0x3c731c,_0x56a745)=>_0x459f16(_0x3c731c,_0x56a745,_0xb828b0);let ae=class{constructor(_0x3c2f1d,_0x211718){const _0x5861e9=_0x558576;this[_0x5861e9(0x204)]=_0x3c2f1d,this[_0x5861e9(0x201)]=_0x211718;}[_0x558576(0x15f)](_0x45f3cf){const _0x5a9bb6=_0x558576;var _0x225a87;const _0x1c76bc=this[_0x5a9bb6(0x204)][_0x5a9bb6(0x109)](_0x4eded8),_0x35119f=(_0x225a87=_0x1c76bc[_0x5a9bb6(0x124)]())!=null?_0x225a87:[];if(_0x35119f[_0x5a9bb6(0x11e)]===0x0)return;const _0x36c72f=_0x45f3cf[_0x5a9bb6(0x254)],_0x75a1e1=[{'id':_0x5a9bb6(0x114),'params':{'unitId':_0x36c72f,'actions':null,'textRanges':_0x35119f}}],_0x3ebecb=this[_0x5a9bb6(0x201)][_0x5a9bb6(0x221)](_0x45f3cf,_0x75a1e1);if(!_0x376955(_0x3ebecb))throw _0x3ebecb['error'];const _0x488c8b=_0x3ebecb[_0x5a9bb6(0x160)][0x0][_0x5a9bb6(0x1db)][_0x5a9bb6(0xcf)];Array['isArray'](_0x488c8b)&&_0x488c8b[_0x5a9bb6(0x11e)]&&_0x1c76bc['replaceDocRanges'](_0x488c8b,{'unitId':_0x36c72f,'subUnitId':_0x36c72f},!0x1);}};ae=on([st(0x0,_0x194e08(_0x316a89)),st(0x1,_0x53b600)],ae);var an=Object[_0x558576(0x233)],cn=(_0x465b88,_0x464ff8,_0x4315ab,_0x5ba7bd)=>{const _0x4cbb21=_0x558576;for(var _0x533b7a=_0x5ba7bd>0x1?void 0x0:_0x5ba7bd?an(_0x464ff8,_0x4315ab):_0x464ff8,_0x484d8a=_0x465b88[_0x4cbb21(0x11e)]-0x1,_0x503b2e;_0x484d8a>=0x0;_0x484d8a--)(_0x503b2e=_0x465b88[_0x484d8a])&&(_0x533b7a=_0x503b2e(_0x533b7a)||_0x533b7a);return _0x533b7a;},N=(_0x2e1b38,_0xdf9087)=>(_0x14c9df,_0x1a0690)=>_0xdf9087(_0x14c9df,_0x1a0690,_0x2e1b38);let ce=class extends _0x12187e{constructor(_0x45e7dc,_0x196d39,_0x23c4be,_0x156a68,_0x2e9355,_0x43405d,_0x3bb589,_0x117418){const _0x1b235e=_0x558576;super(),_(this,_0x1b235e(0x189),new _0x344465(_0x333d80[_0x1b235e(0xeb)])),(this[_0x1b235e(0x232)]=_0x45e7dc,this['_collaborationController']=_0x196d39,this[_0x1b235e(0x123)]=_0x23c4be,this[_0x1b235e(0x21f)]=_0x156a68,this[_0x1b235e(0xf0)]=_0x2e9355,this[_0x1b235e(0x1e4)]=_0x43405d,this[_0x1b235e(0x26b)]=_0x3bb589,this[_0x1b235e(0x196)]=_0x117418,this[_0x1b235e(0x1e9)]());}[_0x558576(0x1e9)](){const _0x19d798=_0x558576;this['disposeWithMe'](this['_collaborationController'][_0x19d798(0x127)][_0x19d798(0x1ee)](_0x5d758f=>{const _0x2db0e1=_0x19d798,_0x448fdd=this[_0x2db0e1(0x232)][_0x2db0e1(0xfc)][_0x2db0e1(0x1ee)](_0x48fe9a=>{const _0x237f35=_0x2db0e1;if(_0x48fe9a==null)return;const {unitId:_0x33e6ab,redoState:_0x2545c2,commandId:_0x1c3371}=_0x48fe9a;if(_0x33e6ab!==_0x5d758f[_0x237f35(0x254)])return;const _0x1f9c1b={'id':_0x1c3371,'type':_0x169c49['MUTATION'],'params':{'unitId':_0x33e6ab,'actions':_0x2545c2[_0x237f35(0x1ec)],'textRanges':null}};_0x5d758f[_0x237f35(0x192)](_0x1f9c1b);});if(_0x5d758f[_0x2db0e1(0x1dd)](_0x448fdd),_0x5d758f instanceof _0x31ddbf){const _0x2e7968={'onTransformIME':_0x3d142d=>this[_0x2db0e1(0x123)][_0x2db0e1(0x228)](_0x3d142d),'onTransformState':_0x4d007f=>this[_0x2db0e1(0x21f)]['transformStateCache'](_0x4d007f),'onTransformSelections':_0x59d438=>this[_0x2db0e1(0xf0)][_0x2db0e1(0x15f)](_0x59d438),'onSyncEditingCollabCursor':_0xb8ae9b=>this['_docSyncEditingCollabCursorService'][_0x2db0e1(0x121)](_0xb8ae9b),'onTransformRemoteChangesetByIMECache':_0x1d132f=>this[_0x2db0e1(0x123)][_0x2db0e1(0x185)](_0x1d132f),'onTransformRemoteChangesetByStateCache':_0x361457=>this[_0x2db0e1(0x21f)]['transformRemoteChangeset'](_0x361457)};_0x5d758f[_0x2db0e1(0x156)](_0x2e7968);}}));}};ce=cn([N(0x0,_0x194e08(_0x2a22aa)),N(0x1,_0x194e08(_0x62c6dc)),N(0x2,_0x194e08(re)),N(0x3,_0x194e08(oe)),N(0x4,_0x194e08(ae)),N(0x5,_0x194e08(He)),N(0x6,_0x103f10),N(0x7,_0x194e08(_0x17cedb))],ce);var ln=Object[_0x558576(0x233)],_n=(_0x33e654,_0x3fb712,_0x34ae74,_0x3cf4a1)=>{const _0x13e446=_0x558576;for(var _0x41e93d=_0x3cf4a1>0x1?void 0x0:_0x3cf4a1?ln(_0x3fb712,_0x34ae74):_0x3fb712,_0x55c449=_0x33e654[_0x13e446(0x11e)]-0x1,_0x1e2b07;_0x55c449>=0x0;_0x55c449--)(_0x1e2b07=_0x33e654[_0x55c449])&&(_0x41e93d=_0x1e2b07(_0x41e93d)||_0x41e93d);return _0x41e93d;},Ee=(_0x1cb996,_0x281094)=>(_0x289f55,_0x7920ed)=>_0x281094(_0x289f55,_0x7920ed,_0x1cb996);let we=class extends _0x12187e{constructor(_0x3100fe,_0x2edf3b,_0x11a728){const _0x187ed4=_0x558576;super(),_(this,_0x187ed4(0xa6),new Map()),_(this,_0x187ed4(0x25c),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3100fe,this[_0x187ed4(0x259)]=_0x2edf3b,this[_0x187ed4(0x216)]=_0x11a728);}[_0x558576(0x1f2)](){const _0xbc9e20=_0x558576;this[_0xbc9e20(0x1bd)]=!0x0;}[_0x558576(0x171)](){const _0x210c36=_0x558576;this[_0x210c36(0x1bd)]=!0x1;}get[_0x558576(0x1b1)](){const _0x205cea=_0x558576;return this[_0x205cea(0x25c)];}[_0x558576(0x1cb)](){const _0x5b6847=_0x558576;this[_0x5b6847(0xf7)]()[_0x5b6847(0xaa)](()=>super[_0x5b6847(0x1cb)]());}async[_0x558576(0x14d)](_0x1d149b){const _0x36db4b=_0x558576;return this[_0x36db4b(0x1bd)]?null:this[_0x36db4b(0x259)]['getItem'](_0x1a4960(_0x1d149b));}async['saveOfflineData'](_0x4d1576,_0x4a4e1a){const _0x5c1d8e=_0x558576;return!!this[_0x5c1d8e(0x259)][_0x5c1d8e(0x1e1)](_0x4d1576,_0x4a4e1a);}[_0x558576(0x14e)](_0x7179fc,_0x401521,_0x3668d0,_0x1265a2){const _0xf45f84=_0x558576,_0x248047=this[_0xf45f84(0x216)]['getCurrentRevOfUnit'](_0x7179fc);this[_0xf45f84(0xa6)][_0xf45f84(0x24f)](_0x7179fc,{'unitID':_0x7179fc,'type':_0x401521,'awaitingChangeset':_0x3668d0,'mutations':_0x1265a2,'rev':_0x248047}),this['_saveTaskMap'][_0xf45f84(0x25d)](_0x7179fc)||this[_0xf45f84(0x263)](_0x7179fc);}['_scheduleSaving'](_0x29718b){const _0x190336=_0x558576,_0x2db3a6=this[_0x190336(0x26f)]();_0x2db3a6===0x0?this[_0x190336(0xa2)](_0x29718b):this[_0x190336(0x25c)][_0x190336(0x24f)](_0x29718b,setTimeout(()=>this['_saveCache'](_0x29718b),_0x2db3a6));}[_0x558576(0x26f)](){const _0x35251f=_0x558576;var _0x500e06;return(_0x500e06=this[_0x35251f(0x1fa)][_0x35251f(0x136)](_0x4172cc))!=null?_0x500e06:_0x2d5902;}[_0x558576(0xa2)](_0x4e6574){const _0x5a4c8c=_0x558576,_0x31b093=this[_0x5a4c8c(0x25c)][_0x5a4c8c(0x109)](_0x4e6574);return _0x31b093!==void 0x0&&window[_0x5a4c8c(0x22d)](_0x31b093),this[_0x5a4c8c(0x259)][_0x5a4c8c(0x1e1)](_0x1a4960(_0x4e6574),this[_0x5a4c8c(0xa6)][_0x5a4c8c(0x109)](_0x4e6574))['then'](()=>this[_0x5a4c8c(0x25c)][_0x5a4c8c(0x24c)](_0x4e6574));}async[_0x558576(0xf7)](){const _0x2c394e=_0x558576,_0x23eac1=[];this[_0x2c394e(0x25c)][_0x2c394e(0x20b)]((_0x4fc887,_0x5c5202)=>{const _0x27d2fe=_0x2c394e;window['clearTimeout'](_0x4fc887),_0x23eac1[_0x27d2fe(0x177)](this['_saveCache'](_0x5c5202)[_0x27d2fe(0xaa)](()=>{const _0x1375a6=_0x27d2fe;this[_0x1375a6(0x25c)][_0x1375a6(0x24c)](_0x5c5202);}));}),await Promise[_0x2c394e(0x211)](_0x23eac1);}};we=_n([Ee(0x0,_0x8c945e),Ee(0x1,_0x1934a3),Ee(0x2,_0x194e08(_0x356841))],we);class hn extends _0x5ab30e{constructor(){const _0x25ca9b=_0x558576;super(),_(this,_0x25ca9b(0xc3)),this[_0x25ca9b(0xc3)]=_0x5dd366(window,_0x25ca9b(0x1ab))[_0x25ca9b(0x16e)](_0x2e6a50(this[_0x25ca9b(0x10c)]),_0x1ed1eb(0x1),_0x1c1715(void 0x0));}[_0x558576(0x151)](_0x93f80e,_0xfecdf4,_0x3e4d5d=!0x1){const _0x2aa206=_0x558576,_0x1c2cb3=new URL(window[_0x2aa206(0x2a0)]['href']);_0x1c2cb3[_0x2aa206(0x12f)]['set'](_0x93f80e,_0xfecdf4),_0x3e4d5d?window['history'][_0x2aa206(0xbd)]('','',_0x1c2cb3[_0x2aa206(0x1b8)]()):window[_0x2aa206(0x252)][_0x2aa206(0x1ce)]('','',_0x1c2cb3[_0x2aa206(0x1b8)]());}['removeParam'](_0x3e32a1,_0x577f09=!0x1){const _0x1fb671=_0x558576,_0x66a9d5=new URL(window[_0x1fb671(0x2a0)][_0x1fb671(0x101)]);_0x66a9d5[_0x1fb671(0x12f)][_0x1fb671(0x24c)](_0x3e32a1),_0x577f09?window[_0x1fb671(0x252)][_0x1fb671(0xbd)]('','',_0x66a9d5[_0x1fb671(0x1b8)]()):window[_0x1fb671(0x252)][_0x1fb671(0x1ce)]('','',_0x66a9d5[_0x1fb671(0x1b8)]());}[_0x558576(0x139)](_0x2b56aa){const _0x595d12=_0x558576;var _0xe51728;return(_0xe51728=new URL(window['location'][_0x595d12(0x101)])[_0x595d12(0x12f)][_0x595d12(0x109)](_0x2b56aa))!=null?_0xe51728:void 0x0;}}var un=Object[_0x558576(0x227)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x239422,_0x457fd2,_0x317b0d)=>_0x457fd2 in _0x239422?un(_0x239422,_0x457fd2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317b0d}):_0x239422[_0x457fd2]=_0x317b0d,Sn=(_0x206193,_0x265304,_0x3ca0b8,_0x1df80b)=>{const _0x4f6482=_0x558576;for(var _0x4868e0=_0x1df80b>0x1?void 0x0:_0x1df80b?dn(_0x265304,_0x3ca0b8):_0x265304,_0x4211c5=_0x206193[_0x4f6482(0x11e)]-0x1,_0x31dff4;_0x4211c5>=0x0;_0x4211c5--)(_0x31dff4=_0x206193[_0x4211c5])&&(_0x4868e0=_0x31dff4(_0x4868e0)||_0x4868e0);return _0x4868e0;},Oe=(_0x454d00,_0x458d8c)=>(_0x71a377,_0x17e063)=>_0x458d8c(_0x71a377,_0x17e063,_0x454d00),mn=(_0x170828,_0x16640d,_0x3af98b)=>fn(_0x170828,_0x16640d+'',_0x3af98b);const In=_0x558576(0xb8);let Ae=class extends _0x4a7d6d{constructor(_0x3cc246=et,_0x2ac712,_0x267962,_0x22350d){const _0x5ecc25=_0x558576;super(),this[_0x5ecc25(0x284)]=_0x3cc246,this['_renderManagerService']=_0x2ac712,this[_0x5ecc25(0x204)]=_0x267962,this['_configService']=_0x22350d;const {..._0xa35299}=_0x3ed7e2({},et,this['_config']);this[_0x5ecc25(0x1fa)]['setConfig'](Zi,_0xa35299);}[_0x558576(0x218)](){const _0x4e1868=_0x558576;this[_0x4e1868(0x1d9)](),this[_0x4e1868(0x223)]();}['onRendered'](){const _0x28ab68=_0x558576;this[_0x28ab68(0x275)]();}[_0x558576(0x1d9)](){const _0x426c56=_0x558576;var _0x1fe826;const _0x2ecb68=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x2c7f7d,{'useClass':_0x43c46c}],[_0x20f0df,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x45d66a(this[_0x426c56(0x204)],_0x5bdfb1(_0x2ecb68,(_0x1fe826=this[_0x426c56(0x284)])==null?void 0x0:_0x1fe826[_0x426c56(0xc5)]));}['_registerRenderDependencies'](){const _0x393e40=_0x558576;this[_0x393e40(0x1dd)](this['_renderManagerService'][_0x393e40(0x16b)](_0x4b1a9c[_0x393e40(0x236)],[Le])),this[_0x393e40(0x1dd)](this[_0x393e40(0xa7)][_0x393e40(0x16b)](_0x4b1a9c[_0x393e40(0x16d)],[Pe]));}[_0x558576(0x223)](){const _0x54de9f=_0x558576;_0x576131(this[_0x54de9f(0x204)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x558576(0x190),In),Ae=Sn([_0x118085(_0x398380),Oe(0x1,_0x3e366f),Oe(0x2,_0x194e08(_0x316a89)),Oe(0x3,_0x8c945e)],Ae);var vn=Object[_0x558576(0x233)],gn=(_0x439efa,_0x5a96e7,_0x35e4dc,_0x144ac1)=>{const _0x4ad8f8=_0x558576;for(var _0x4fd3cc=_0x144ac1>0x1?void 0x0:_0x144ac1?vn(_0x5a96e7,_0x35e4dc):_0x5a96e7,_0x2acd2a=_0x439efa[_0x4ad8f8(0x11e)]-0x1,_0x356003;_0x2acd2a>=0x0;_0x2acd2a--)(_0x356003=_0x439efa[_0x2acd2a])&&(_0x4fd3cc=_0x356003(_0x4fd3cc)||_0x4fd3cc);return _0x4fd3cc;},z=(_0x42c9fe,_0x4aa141)=>(_0x561182,_0x4e0fcf)=>_0x4aa141(_0x561182,_0x4e0fcf,_0x42c9fe);let it=class extends _0x3cce14{constructor(_0x54f4e1,_0xd77d31,_0x25f67f,_0x4b6921,_0x338c87){super(_0x54f4e1,_0xd77d31,_0x25f67f,_0x4b6921,_0x338c87);}async['createSocket'](_0x368716){const _0x884afc=_0x558576,_0x5b9fc1=await this[_0x884afc(0x110)](),_0xce47df=this[_0x884afc(0x1a3)](_0x368716,_0x5b9fc1);return this['_doCreateSocket'](_0xce47df);}[_0x558576(0x1a3)](_0x54ceb3,_0x25dc94){const _0x4ca45b=_0x558576,_0xcf0f03=typeof window>'u'?new URL(_0x54ceb3):new URL(_0x54ceb3,window[_0x4ca45b(0x2a0)]['origin']);_0xcf0f03[_0x4ca45b(0x12f)]['set']('sessionTicket',_0x25dc94);const _0x5b1c2d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4ca45b(0x2a0)]['search']);return _0x5b1c2d[_0x4ca45b(0x109)](_0x4ca45b(0x100))&&_0xcf0f03[_0x4ca45b(0x12f)]['set'](_0x4ca45b(0x100),_0x5b1c2d[_0x4ca45b(0x109)](_0x4ca45b(0x100))),_0xcf0f03[_0x4ca45b(0x1b8)]();}async[_0x558576(0x110)](){const _0x20a6b3=_0x558576;var _0x1d8654,_0x5df52c,_0x38267e;const _0x38c3e5=this['_configService'][_0x20a6b3(0x136)](_0x1fe776),_0x30afbf=(_0x1d8654=_0x38c3e5==null?void 0x0:_0x38c3e5['wsSessionTicketUrl'])!=null?_0x1d8654:_0x1866d2;return(_0x38267e=(_0x5df52c=(await this[_0x20a6b3(0x299)][_0x20a6b3(0x109)](_0x30afbf,{'headers':{'Content-Type':'application/json'}}))[_0x20a6b3(0xaf)])==null?void 0x0:_0x5df52c[_0x20a6b3(0x1b0)])!=null?_0x38267e:'';}};it=gn([z(0x0,_0x194e08(_0x316a89)),z(0x1,_0x194e08(_0x541d05)),z(0x2,_0x8c945e),z(0x3,_0x36997e),z(0x4,_0x1f8913)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x12187e{constructor(){const _0x10f11a=_0x558576;super(),_(this,_0x10f11a(0x10a),_0x3204e4()),_(this,_0x10f11a(0x202),new Set()),_(this,_0x10f11a(0x187),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x10f11a(0xe0),new Map()),_(this,'_unitStatus',new Map()),this[_0x10f11a(0x176)]();}[_0x558576(0x1cb)](){const _0x1e4710=_0x558576;super[_0x1e4710(0x1cb)](),this[_0x1e4710(0xe0)][_0x1e4710(0x20b)]((_0x54d7c2,_0x25c002)=>this['_removeClearOtherTimer'](_0x25c002)),this['_heartbeatTimer']&&window[_0x1e4710(0x159)](this[_0x1e4710(0x1c2)]);}['getUnitStatus$'](_0xdd1b87){const _0x3ace54=_0x558576;return this['_ensureSubject'](_0xdd1b87)[_0x3ace54(0x16e)](_0x530c25());}[_0x558576(0x14c)](_0x593ef7){const _0x355413=_0x558576;this[_0x355413(0x202)][_0x355413(0x297)]===0x0&&this[_0x355413(0x22b)](),this[_0x355413(0x202)][_0x355413(0x11b)](_0x593ef7),this['_send']({'type':0x0,'memberID':this[_0x355413(0x10a)],'unitIDs':[_0x593ef7],'isForwarded':!0x1});}[_0x558576(0x16f)](_0xe00b55){const _0x2bc46b=_0x558576;this[_0x2bc46b(0x202)][_0x2bc46b(0x24c)](_0xe00b55),this[_0x2bc46b(0x202)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x2bc46b(0x159)](this[_0x2bc46b(0x1c2)]);}[_0x558576(0x176)](){const _0x3044cc=_0x558576;this[_0x3044cc(0x1dd)](_0x4cdd3b(_0x5dd366(window,'storage')[_0x3044cc(0x1ee)](_0xc98336=>{const _0x3dd4a9=_0x3044cc;if(_0xc98336[_0x3dd4a9(0x294)]!==rt||!_0xc98336[_0x3dd4a9(0xdb)])return;const _0x161245=JSON[_0x3dd4a9(0x145)](_0xc98336[_0x3dd4a9(0xdb)]);this[_0x3dd4a9(0x20c)](_0x161245);}))),window[_0x3044cc(0x1af)](_0x3044cc(0x1ff),()=>this[_0x3044cc(0xdd)]({'type':0x1,'memberID':this[_0x3044cc(0x10a)],'unitIDs':Array[_0x3044cc(0x10d)](this[_0x3044cc(0x202)])}));}[_0x558576(0x20c)](_0x5ec14a){const _0x2ff431=_0x558576;switch(_0x5ec14a[_0x2ff431(0x296)]){case 0x0:this[_0x2ff431(0xc2)](_0x5ec14a);break;case 0x1:this[_0x2ff431(0x1d4)](_0x5ec14a);break;case 0x2:this[_0x2ff431(0x1e7)](_0x5ec14a);break;}}[_0x558576(0xc2)](_0xe08e04){const _0x452052=_0x558576,{unitIDs:_0x5d12b0,memberID:_0x24222b,isForwarded:_0x504b12}=_0xe08e04;_0x5d12b0['forEach'](_0x9789f0=>{const _0x65ca1a=_0x579d;if(!_0x504b12&&this['_unitOnClients'][_0x65ca1a(0x25d)](_0x9789f0)&&this[_0x65ca1a(0x1f7)](_0x9789f0)['next'](_0x505f3c[_0x65ca1a(0x108)]),!this[_0x65ca1a(0x187)][_0x65ca1a(0x25d)](_0x9789f0)||!this[_0x65ca1a(0x187)][_0x65ca1a(0x109)](_0x9789f0)[_0x65ca1a(0x25d)](_0x24222b)){const _0x45ddda=this[_0x65ca1a(0x187)][_0x65ca1a(0x109)](_0x9789f0)||new Set();_0x45ddda[_0x65ca1a(0x11b)](_0x24222b),this[_0x65ca1a(0x187)][_0x65ca1a(0x24f)](_0x9789f0,_0x45ddda),this[_0x65ca1a(0x12a)](_0x24222b);}}),_0x504b12||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x452052(0x202)]],'isForwarded':!0x0});}[_0x558576(0x12a)](_0x1d1b36){const _0x254ef0=_0x558576;this[_0x254ef0(0x215)](_0x1d1b36);const _0x57f4d3=window[_0x254ef0(0x15b)](()=>{const _0x7d5823=_0x254ef0;this[_0x7d5823(0x187)][_0x7d5823(0x20b)](_0xa5d456=>{const _0x54eea0=_0x7d5823;_0xa5d456[_0x54eea0(0x24c)](_0x1d1b36);});},nt*0x2);this[_0x254ef0(0xe0)][_0x254ef0(0x24f)](_0x1d1b36,_0x57f4d3);}[_0x558576(0x215)](_0x5c9ca3){const _0x3d8956=_0x558576;if(this[_0x3d8956(0xe0)]['has'](_0x5c9ca3)){const _0x506a06=this[_0x3d8956(0xe0)][_0x3d8956(0x109)](_0x5c9ca3);_0x506a06&&window[_0x3d8956(0x22d)](_0x506a06),this[_0x3d8956(0xe0)][_0x3d8956(0x24f)](_0x5c9ca3,null);}}['_handleLeaveEvent'](_0x4ae3e5){const _0x63f892=_0x558576,{memberID:_0x114179,unitIDs:_0x547d5d}=_0x4ae3e5;_0x547d5d[_0x63f892(0x20b)](_0x1e6f52=>{const _0x227a80=_0x63f892;var _0x4e48eb;const _0x1fd186=this['_unitOnClients'][_0x227a80(0x109)](_0x1e6f52);_0x1fd186&&(_0x1fd186[_0x227a80(0x24c)](_0x114179),(_0x4e48eb=this['_ensureSubject'](_0x1e6f52))==null||_0x4e48eb[_0x227a80(0x1bf)](_0x1fd186[_0x227a80(0x297)]===0x0?_0x505f3c[_0x227a80(0xe2)]:_0x505f3c['OTHER_CLIENTS_EDITING']));}),this[_0x63f892(0x215)](_0x114179);}['_handleHeartbeatEvent'](_0x21b027){const _0x40c857=_0x558576;this['_scheduleClearOtherTimer'](_0x21b027[_0x40c857(0x1a2)]);}[_0x558576(0xdd)](_0x3c97a8){const _0xe82745=_0x558576;localStorage[_0xe82745(0x1e1)](rt,JSON['stringify'](_0x3c97a8));}[_0x558576(0x22b)](){const _0x1c8a40=_0x558576;this[_0x1c8a40(0x1c2)]=window['setInterval'](()=>{const _0xeb9ba2=_0x1c8a40;this['_send']({'type':0x2,'memberID':this[_0xeb9ba2(0x10a)]});},nt);}[_0x558576(0x1f7)](_0x6d8b43){const _0x382a7c=_0x558576;return this[_0x382a7c(0xc4)][_0x382a7c(0x25d)](_0x6d8b43)||this[_0x382a7c(0xc4)]['set'](_0x6d8b43,new _0x344465(_0x505f3c[_0x382a7c(0xe2)])),this[_0x382a7c(0xc4)][_0x382a7c(0x109)](_0x6d8b43);}}var Lt=(_0x4cc224=>(_0x4cc224[_0x4cc224[_0x558576(0x1aa)]=0x0]=_0x558576(0x1aa),_0x4cc224[_0x4cc224['OK']=0x1]='OK',_0x4cc224[_0x4cc224['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4cc224[_0x4cc224[_0x558576(0x1ae)]=0x3]=_0x558576(0x1ae),_0x4cc224[_0x4cc224[_0x558576(0x13a)]=0x4]='NOT_FOUND',_0x4cc224[_0x4cc224[_0x558576(0x1a5)]=0x5]=_0x558576(0x1a5),_0x4cc224[_0x4cc224[_0x558576(0x184)]=0x6]=_0x558576(0x184),_0x4cc224[_0x4cc224[_0x558576(0xd8)]=0x7]=_0x558576(0xd8),_0x4cc224[_0x4cc224['TOO_MANY_REQUESTS']=0x8]=_0x558576(0x288),_0x4cc224[_0x4cc224[_0x558576(0x1e0)]=0x9]=_0x558576(0x1e0),_0x4cc224[_0x4cc224[_0x558576(0x103)]=0xa]=_0x558576(0x103),_0x4cc224[_0x4cc224[_0x558576(0x133)]=0xb]=_0x558576(0x133),_0x4cc224[_0x4cc224[_0x558576(0x27b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4cc224[_0x4cc224[_0x558576(0x1be)]=0xd]=_0x558576(0x1be),_0x4cc224[_0x4cc224['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x558576(0x195),_0x4cc224[_0x4cc224[_0x558576(0x1f8)]=0x1389]=_0x558576(0x1f8),_0x4cc224[_0x4cc224[_0x558576(0x1fe)]=0x1771]=_0x558576(0x1fe),_0x4cc224[_0x4cc224[_0x558576(0xa3)]=0x1772]=_0x558576(0xa3),_0x4cc224[_0x4cc224[_0x558576(0x191)]=0x1773]=_0x558576(0x191),_0x4cc224[_0x4cc224[_0x558576(0x1c3)]=0x1b59]='APPLY_REJECT',_0x4cc224[_0x4cc224[_0x558576(0x286)]=0x1b5a]=_0x558576(0x286),_0x4cc224[_0x4cc224['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x558576(0x1ea),_0x4cc224[_0x4cc224['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4cc224[_0x4cc224[_0x558576(0x1d2)]=0x1b5d]='APPLY_DUPLICATED',_0x4cc224[_0x4cc224['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x558576(0xc8),_0x4cc224[_0x4cc224[_0x558576(0xe9)]=0x2329]=_0x558576(0xe9),_0x4cc224[_0x4cc224[_0x558576(0x153)]=0x232a]=_0x558576(0x153),_0x4cc224[_0x4cc224[_0x558576(0x11f)]=0x232b]=_0x558576(0x11f),_0x4cc224[_0x4cc224['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x558576(0xcc),_0x4cc224[_0x4cc224[_0x558576(0x292)]=0x232d]=_0x558576(0x292),_0x4cc224[_0x4cc224[_0x558576(0x182)]=0x2711]=_0x558576(0x182),_0x4cc224[_0x4cc224[_0x558576(0xea)]=0x2712]=_0x558576(0xea),_0x4cc224[_0x4cc224[_0x558576(0x118)]=0x2713]=_0x558576(0x118),_0x4cc224[_0x4cc224[_0x558576(0x135)]=0x2714]=_0x558576(0x135),_0x4cc224[_0x4cc224[_0x558576(0xb0)]=0x271a]=_0x558576(0xb0),_0x4cc224[_0x4cc224[_0x558576(0xd4)]=0x271b]=_0x558576(0xd4),_0x4cc224[_0x4cc224[_0x558576(0x24b)]=0x271c]=_0x558576(0x24b),_0x4cc224[_0x4cc224[_0x558576(0x1c7)]=0x271d]=_0x558576(0x1c7),_0x4cc224[_0x4cc224[_0x558576(0x1c6)]=0x271e]=_0x558576(0x1c6),_0x4cc224[_0x4cc224['YUUMI_AI_RUN_FAILED']=0x271f]=_0x558576(0x266),_0x4cc224[_0x4cc224[_0x558576(0x1de)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4cc224[_0x4cc224['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x558576(0x245),_0x4cc224[_0x4cc224['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x558576(0x16c),_0x4cc224[_0x4cc224['INVALID_INVITE_CODE']=0x2ee2]=_0x558576(0x1cc),_0x4cc224[_0x4cc224[_0x558576(0x199)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4cc224[_0x4cc224[_0x558576(0x158)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4cc224[_0x4cc224[_0x558576(0x138)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4cc224[_0x4cc224[_0x558576(0x217)]=0x32c9]=_0x558576(0x217),_0x4cc224[_0x4cc224[_0x558576(0xd1)]=0x32ca]=_0x558576(0xd1),_0x4cc224[_0x4cc224[_0x558576(0x148)]=0x32cb]=_0x558576(0x148),_0x4cc224[_0x4cc224['UNRECOGNIZED']=-0x1]=_0x558576(0x1c4),_0x4cc224))(Lt||{}),pn=Object[_0x558576(0x233)],Cn=(_0xc0f2f1,_0x2da26e,_0x136bc4,_0x470eb0)=>{const _0x4661be=_0x558576;for(var _0x53b19f=_0x470eb0>0x1?void 0x0:_0x470eb0?pn(_0x2da26e,_0x136bc4):_0x2da26e,_0x343b44=_0xc0f2f1[_0x4661be(0x11e)]-0x1,_0x110b11;_0x343b44>=0x0;_0x343b44--)(_0x110b11=_0xc0f2f1[_0x343b44])&&(_0x53b19f=_0x110b11(_0x53b19f)||_0x53b19f);return _0x53b19f;},be=(_0x342cf2,_0x5caca1)=>(_0x4aaef8,_0x51b400)=>_0x5caca1(_0x4aaef8,_0x51b400,_0x342cf2);let ot=class extends _0x12187e{constructor(_0x5acd60,_0x40a866,_0x50c419){const _0x567440=_0x558576;super(),this[_0x567440(0xa1)]=_0x5acd60,this['_httpService']=_0x40a866,this[_0x567440(0x1fa)]=_0x50c419;}async[_0x558576(0x249)](_0x2a1993,_0x2ee8ef,_0x41913c,..._0x4afab5){const _0x22bb81=_0x558576;var _0x352462,_0x58b226,_0x2f3b0e,_0x2b09d1;const _0x1029c9=this['_instanceService'][_0x22bb81(0xb2)]();if(!_0x1029c9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x160c8b=((_0x352462=this['_configService']['getConfig'](_0xdb65f7))!=null?_0x352462:_0x259a67)+'/'+_0x2a1993+_0x22bb81(0x1b5)+_0x2ee8ef,_0x3f18e9=new URL(window['location'][_0x22bb81(0x101)]),_0x17f07d={'scriptId':_0x2a1993,'runId':(_0x58b226=_0x3f18e9[_0x22bb81(0x12f)][_0x22bb81(0x109)](_0x22bb81(0x100)))!=null?_0x58b226:'','function':_0x2ee8ef,'unitId':_0x1029c9[_0x22bb81(0x226)](),'argsOfFunction':JSON[_0x22bb81(0xf6)](_0x4afab5),'invokeId':(_0x2f3b0e=_0x41913c[_0x22bb81(0x1bc)])!=null?_0x2f3b0e:'','executionId':(_0x2b09d1=_0x41913c['executionId'])!=null?_0x2b09d1:''};try{const _0x3c7492=await this['_httpService'][_0x22bb81(0x17c)](_0x160c8b,{'body':_0x17f07d});return _0x3c7492[_0x22bb81(0xaf)]['error']&&_0x3c7492['body'][_0x22bb81(0x146)]['code']!==Lt['OK']?_0x22bb81(0x1eb):_0x3c7492[_0x22bb81(0xaf)][_0x22bb81(0xee)];}catch{return'Failed';}}};ot=Cn([be(0x0,_0x2ba6d0),be(0x1,_0x194e08(_0x541d05)),be(0x2,_0x8c945e)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d4998=_0x275a;function _0x275a(_0x5a6ecb,_0x2111ea){const _0x351fe0=_0x351f();return _0x275a=function(_0x275a99,_0x6c3a73){_0x275a99=_0x275a99-0x109;let _0x2fe63c=_0x351fe0[_0x275a99];return _0x2fe63c;},_0x275a(_0x5a6ecb,_0x2111ea);}function _0x351f(){const _0x4ebc1b=['624xhTLpW','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','8365bxOuFA','Synced','818493YzCDXd','2421620nnDTZy','27FyNubU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','3401152sTOFDW','411992OqeDVm','59peCQDu','Syncing...','Syncing\x20server\x20data...','Collaboration\x20Conflict','8766KiVLxr','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1832370vuWQYj'];_0x351f=function(){return _0x4ebc1b;};return _0x351f();}(function(_0x1de842,_0x20f80e){const _0x1bdf54=_0x275a,_0x512719=_0x1de842();while(!![]){try{const _0x43fa7f=-parseInt(_0x1bdf54(0x118))/0x1*(-parseInt(_0x1bdf54(0x11c))/0x2)+parseInt(_0x1bdf54(0x10f))/0x3+parseInt(_0x1bdf54(0x117))/0x4+parseInt(_0x1bdf54(0x110))/0x5+-parseInt(_0x1bdf54(0x10b))/0x6*(-parseInt(_0x1bdf54(0x10d))/0x7)+-parseInt(_0x1bdf54(0x116))/0x8+parseInt(_0x1bdf54(0x111))/0x9*(-parseInt(_0x1bdf54(0x10a))/0xa);if(_0x43fa7f===_0x20f80e)break;else _0x512719['push'](_0x512719['shift']());}catch(_0x307aed){_0x512719['push'](_0x512719['shift']());}}}(_0x351f,0x4178f));const e={'collab-client':{'tooltip':{'reconnect':_0x5d4998(0x115)}},'collabStatus':{'fetchMiss':_0x5d4998(0x11a),'conflict':_0x5d4998(0x11d),'notCollab':'Local\x20file','synced':_0x5d4998(0x10e),'syncing':_0x5d4998(0x119),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5d4998(0x10c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5d4998(0x11b),'content':'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.'},'permission':{'title':_0x5d4998(0x113),'content':_0x5d4998(0x109)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5d4998(0x112)},'auth':{'needGotoLoginAlert':_0x5d4998(0x114)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5446(_0x5a956a,_0x1cc8fb){const _0x5e1194=_0x5e11();return _0x5446=function(_0x54469f,_0x2ec5dd){_0x54469f=_0x54469f-0x16d;let _0x30bc89=_0x5e1194[_0x54469f];return _0x30bc89;},_0x5446(_0x5a956a,_0x1cc8fb);}function _0x5e11(){const _0x2ff785=['Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2548425QBhjAJ','4299300wuxoWT','410124klEVoa','2AzDrbb','410287GtXzCa','6088nPzDdP','8925jHVohD','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1462860VrRTup','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2262705QVwAQC'];_0x5e11=function(){return _0x2ff785;};return _0x5e11();}const _0x14cfb9=_0x5446;(function(_0x211fd4,_0x19c890){const _0x39b22e=_0x5446,_0x2ada83=_0x211fd4();while(!![]){try{const _0x4f85ff=parseInt(_0x39b22e(0x179))/0x1+parseInt(_0x39b22e(0x178))/0x2*(parseInt(_0x39b22e(0x175))/0x3)+parseInt(_0x39b22e(0x177))/0x4+parseInt(_0x39b22e(0x172))/0x5+parseInt(_0x39b22e(0x16e))/0x6+-parseInt(_0x39b22e(0x17b))/0x7*(parseInt(_0x39b22e(0x17a))/0x8)+-parseInt(_0x39b22e(0x176))/0x9;if(_0x4f85ff===_0x19c890)break;else _0x2ada83['push'](_0x2ada83['shift']());}catch(_0x2494ef){_0x2ada83['push'](_0x2ada83['shift']());}}}(_0x5e11,0x9516d));const e={'collab-client':{'tooltip':{'reconnect':_0x14cfb9(0x181)}},'collabStatus':{'fetchMiss':_0x14cfb9(0x17d),'conflict':'Edit\x20conflicts','notCollab':_0x14cfb9(0x173),'synced':_0x14cfb9(0x17e),'syncing':'Syncing...','offline':_0x14cfb9(0x174)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x14cfb9(0x171),'room-full':_0x14cfb9(0x16d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x14cfb9(0x16f),'content':'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.'},'permission':{'title':_0x14cfb9(0x180),'content':_0x14cfb9(0x170)},'collaboration':{'single-unit':{'warning':_0x14cfb9(0x17f)},'closeRoom':_0x14cfb9(0x182)},'auth':{'needGotoLoginAlert':_0x14cfb9(0x17c)}};export{e as default};
|