@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505301607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x957043=_0x2011;(function(_0x4302d4,_0x1f351c){const _0x757fe5=_0x2011,_0x198864=_0x4302d4();while(!![]){try{const _0x51f9e7=parseInt(_0x757fe5(0x2de))/0x1+-parseInt(_0x757fe5(0x2db))/0x2+parseInt(_0x757fe5(0x396))/0x3*(-parseInt(_0x757fe5(0x2b6))/0x4)+-parseInt(_0x757fe5(0x290))/0x5*(parseInt(_0x757fe5(0x3ac))/0x6)+-parseInt(_0x757fe5(0x258))/0x7+parseInt(_0x757fe5(0x3eb))/0x8+-parseInt(_0x757fe5(0x35d))/0x9*(-parseInt(_0x757fe5(0x315))/0xa);if(_0x51f9e7===_0x1f351c)break;else _0x198864['push'](_0x198864['shift']());}catch(_0x5c0951){_0x198864['push'](_0x198864['shift']());}}}(_0x16b5,0xadce5));var $t=Object['defineProperty'],xt=(_0x309353,_0x116098,_0x2d35ef)=>_0x116098 in _0x309353?$t(_0x309353,_0x116098,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d35ef}):_0x309353[_0x116098]=_0x2d35ef,_=(_0xc96716,_0x18bdb1,_0x4d9eb8)=>xt(_0xc96716,typeof _0x18bdb1!=_0x957043(0x281)?_0x18bdb1+'':_0x18bdb1,_0x4d9eb8);import{MemberService as _0xea46d,SessionStatus as _0x150b64,CollaborationSessionService as _0x339ffc,CollaborationStatus as _0x381834,CollaborationController as _0xb4f4a1,ILocalCacheService as _0x5a319b,CollaborationUIEventService as _0x53f425,CollaborationUIEventId as _0x55ae13,DataLoaderService as _0x1fab07,DocCollaborationEntity as _0x15a596,getLocalCacheKey as _0x40f1fa,LOCAL_CACHE_INTERVAL as _0x21a9c4,LOCAL_CACHE_INTERVAL_KEY as _0x401078,UniverCollaborationClientPlugin as _0x2b25da,CollaborationSocketService as _0x103486,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x54b645,DEFAULT_WS_SESSION_TICKET_URL as _0x2c21f0,UnitStatus as _0x569233,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1fe298,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4155e4}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x22c522,Disposable as _0x4a6261,DOC_RANGE_TYPE as _0x586938,Inject as _0x79b2b4,Injector as _0x2f259a,IUniverInstanceService as _0x16f134,ICommandService as _0x46c5a2,debounce as _0x4eca6e,Rectangle as _0x5ea943,DisposableCollection as _0x147e2e,toDisposable as _0x197fb6,UniverInstanceType as _0x11e791,Tools as _0x5b06e2,COLORS as _0x764413,ColorKit as _0x288e7f,ThemeService as _0x490aa5,fromEventSubject as _0x4bc1b9,LocaleService as _0x1476d7,createIdentifier as _0xe327bc,ILogService as _0x2e1383,Optional as _0x21772a,Workbook as _0x479841,CommandType as _0x474b7f,IConfigService as _0x1240a8,ILocalStorageService as _0x39a058,DependentOn as _0x44505e,Plugin as _0x2dcb54,merge as _0x2ae923,registerDependencies as _0x2c55ae,mergeOverrideWithDependencies as _0x31859f,touchDependencies as _0x2c36fb,generateRandomId as _0x1e3df9}from'@univerjs/core';import{Shape as _0x3f4c5b,Rect as _0x575d1c,getColor as _0x265cf8,RegularPolygon as _0x5f87e4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x470dff,Vector2 as _0x3d4a5f,SHEET_VIEWPORT_KEY as _0x433b49,IRenderManagerService as _0x47cbf5}from'@univerjs/engine-render';import{ISocketService as _0x31e56d,WebSocketService as _0x341ba9,HTTPService as _0x34a3dc}from'@univerjs/network';import{IDocClipboardService as _0x4aba0e,NodePositionConvertToCursor as _0x251cc6,NodePositionConvertToRectRange as _0x1e4ae6,TEXT_RANGE_LAYER_INDEX as _0x763413,SetDocZoomRatioOperation as _0x4e6e95,DocIMEInputManagerService as _0x598aad,DocStateChangeManagerService as _0x31daa2}from'@univerjs/docs-ui';import{IImageIoService as _0x541391}from'@univerjs/drawing';import{BehaviorSubject as _0x3dfdee,debounceTime as _0x281a31,takeUntil as _0x35dd28,Subject as _0x13de5d,filter as _0x4a9b42,switchMap as _0xf18957,merge as _0x9ffdbb,combineLatest as _0x4d89dc,of as _0x21ae2d,fromEvent as _0x378028,shareReplay as _0x203da3,mapTo as _0x60024,distinctUntilChanged as _0xb813e9}from'rxjs';import{SetTextSelectionsOperation as _0x347694,RichTextEditingMutation as _0x366ac1,DocSelectionManagerService as _0x50dd36,DocSkeletonManagerService as _0x597889}from'@univerjs/docs';import{ITransformService as _0x417ff5,CollaborationEvent as _0x12fdfb,isTransformMutationFailure as _0x7a4ffe,isTransformMutationsWithChangesetSuccess as _0x55936b,RevisionService as _0x1c0e24,ISnapshotServerService as _0x63c1ef}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x85074c,serializeRangeWithSheet as _0x5c2e23}from'@univerjs/engine-formula';import{RefRangeService as _0x1c6920,SetSelectionsOperation as _0x447f0a,SheetsSelectionsService as _0x41581f,EffectRefRangId as _0x50d145,handleIRemoveRow as _0x121d11,handleIRemoveCol as _0x2f0cba,handleMoveRange as _0x403cb9,handleInsertRow as _0x4c7aa9,handleInsertRangeMoveRight as _0x4b6594,handleInsertRangeMoveDown as _0x5a1112,handleInsertCol as _0x381ae7,handleDeleteRangeMoveUp as _0x9f5998,handleDeleteRangeMoveLeft as _0x23bded,runRefRangeMutations as _0x2b7fe4,SetWorksheetActivateCommand as _0x110d33}from'@univerjs/sheets';import{map as _0x4a76e2,filter as _0x75e491,throttleTime as _0x7aa9fb,takeUntil as _0x490efa,switchMap as _0x2403d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x141869,getCoordByCell as _0xe7b806,getSheetObject as _0x506945}from'@univerjs/sheets-ui';import{jsx as _0x35b522,jsxs as _0x34beb4}from'react/jsx-runtime';import{useObservable as _0xf8189f,useDependency as _0x2f5b7c,IUIPartsService as _0x386d61,BuiltInUIPart as _0x313ed3,connectInjector as _0x171d4c,IBeforeCloseService as _0x9a44af,IMessageService as _0x4db31f,INotificationService as _0xec7202}from'@univerjs/ui';import{Tooltip as _0x43bb58,clsx as _0x2074e2,MessageType as _0x4af6a0}from'@univerjs/design';import{forwardRef as _0x30f0d5,useRef as _0x1a3d09,createElement as _0x240f9b,useCallback as _0xcd9872}from'react';import{IRemoteInstanceService as _0x3a4cf1}from'@univerjs/rpc';var ci=Object[_0x957043(0x3e8)],li=(_0x4097dc,_0x557d20,_0x5c8f4d,_0x17b3d9)=>{const _0x54e0bf=_0x957043;for(var _0x2ab9f1=_0x17b3d9>0x1?void 0x0:_0x17b3d9?ci(_0x557d20,_0x5c8f4d):_0x557d20,_0x29c676=_0x4097dc[_0x54e0bf(0x3d8)]-0x1,_0x171ebb;_0x29c676>=0x0;_0x29c676--)(_0x171ebb=_0x4097dc[_0x29c676])&&(_0x2ab9f1=_0x171ebb(_0x2ab9f1)||_0x2ab9f1);return _0x2ab9f1;},Je=(_0x30edd1,_0x418050)=>(_0x57dea1,_0x26f3f2)=>_0x418050(_0x57dea1,_0x26f3f2,_0x30edd1);let Ne=class extends _0x22c522{constructor(_0x3ceb16,_0x565e51){const _0xb0eec5=_0x957043;super(),this[_0xb0eec5(0x1f3)]=_0x3ceb16,this[_0xb0eec5(0x3d4)]=_0x565e51,this[_0xb0eec5(0x3b9)]();}[_0x957043(0x3b9)](){const _0x55034d=_0x957043,_0x5289ed=this;this['disposeWithMe'](this['_docClipboardService'][_0x55034d(0x2ce)]({'onBeforePasteImage':async _0x419d94=>{const _0x56559b=_0x55034d,_0x2d84d7=await _0x5289ed[_0x56559b(0x3d4)][_0x56559b(0x2c6)](_0x419d94);return _0x2d84d7?{'source':_0x2d84d7[_0x56559b(0x238)],'imageSourceType':_0x2d84d7[_0x56559b(0x399)]}:null;}}));}};Ne=li([Je(0x0,_0x4aba0e),Je(0x1,_0x541391)],Ne);const Ze=[_0x957043(0x2df),_0x957043(0x2f3),_0x957043(0x272),_0x957043(0x27c),'blue.400',_0x957043(0x33b)];class ke extends _0x4a6261{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2267cc){const _0x45a283=_0x957043;if(this[_0x45a283(0x294)]['has'](_0x2267cc))return this['_assignedColors'][_0x45a283(0x379)](_0x2267cc);const _0x302c2d=Ze[this['_colorIndex']];return this[_0x45a283(0x268)]=(this[_0x45a283(0x268)]+0x1)%Ze[_0x45a283(0x3d8)],this[_0x45a283(0x294)][_0x45a283(0x332)](_0x2267cc,_0x302c2d),_0x302c2d;}}function Tt(_0x390e72){const _0x52e77b=_0x957043;let _0x59de65='';for(const _0x38b56e of _0x390e72){const {startOffset:_0x456bfe,endOffset:_0x17c567,isActive:_0x177f5c,rangeType:_0xa30ed6,segmentId:_0x562ee4,segmentPage:_0x1be44f}=_0x38b56e;_0x59de65[_0x52e77b(0x3d8)]&&(_0x59de65+=','),_0x59de65+=_0x456bfe+':'+_0x17c567+':'+(_0x177f5c?'1':'0')+':'+_0xa30ed6+':'+_0x562ee4+':'+_0x1be44f;}return _0x59de65;}function _i(_0x44f6c2){const _0x42b102=_0x957043,_0xc78d08=_0x44f6c2[_0x42b102(0x3e3)](','),_0x32265f=[];for(const _0x372b64 of _0xc78d08){const [_0x4b86f7,_0x51ac06,_0x38535a,_0x582178,_0x4caf7f,_0x4719a6]=_0x372b64[_0x42b102(0x3e3)](':');_0x32265f[_0x42b102(0x3c4)]({'startOffset':Number(_0x4b86f7),'endOffset':Number(_0x51ac06),'collapsed':_0x4b86f7===_0x51ac06,'isActive':_0x38535a==='1','rangeType':_0x582178===_0x586938['TEXT']?_0x586938['TEXT']:_0x586938[_0x42b102(0x382)],'segmentId':typeof _0x4caf7f=='string'?String(_0x4caf7f):'','segmentPage':Number(_0x4719a6!=null?_0x4719a6:-0x1)});}return _0x32265f[_0x42b102(0x214)](_0xf31437=>_0xf31437[_0x42b102(0x20f)])||(_0x32265f[0x0][_0x42b102(0x20f)]=!0x0),_0x32265f;}class He extends _0x22c522{constructor(){const _0x550d63=_0x957043;super(...arguments),_(this,_0x550d63(0x2da),new _0x3dfdee(null)),_(this,_0x550d63(0x31b),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x10881e){const _0x145f3f=_0x957043,{unitID:_0x132b83,memberID:_0x2b2814,textRanges:_0x3a5a3a}=_0x10881e,_0x25763c=Tt(_0x3a5a3a);if(_0x25763c==='')return;const _0x3f9516={'unitID':_0x132b83,'memberID':_0x2b2814,'selection':_0x25763c};this[_0x145f3f(0x2da)]['next'](_0x3f9516);}}var hi=Object[_0x957043(0x3e8)],ui=(_0x2d871e,_0x296cc0,_0x18c859,_0x14da94)=>{const _0x574834=_0x957043;for(var _0x5ab6ca=_0x14da94>0x1?void 0x0:_0x14da94?hi(_0x296cc0,_0x18c859):_0x296cc0,_0x49c667=_0x2d871e[_0x574834(0x3d8)]-0x1,_0x418d95;_0x49c667>=0x0;_0x49c667--)(_0x418d95=_0x2d871e[_0x49c667])&&(_0x5ab6ca=_0x418d95(_0x5ab6ca)||_0x5ab6ca);return _0x5ab6ca;},P=(_0x10983f,_0x43abe5)=>(_0x572902,_0x147834)=>_0x43abe5(_0x572902,_0x147834,_0x10983f);const di=0x12c,fi=0x64;let Ue=class extends _0x22c522{constructor(_0x4287f8,_0x52de1f,_0x575fc5,_0x1cc746,_0x32e8b7,_0x26915e,_0x3d2843,_0x16128f,_0x1bdbbe){const _0x455012=_0x957043;super(),_(this,_0x455012(0x334),!0x1),_(this,_0x455012(0x3b9),!0x1),_(this,_0x455012(0x2e8),new _0x3dfdee(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x455012(0x3b2)]()),_(this,_0x455012(0x39b),new _0x3dfdee([])),_(this,_0x455012(0x21f),this['_roomMembers$'][_0x455012(0x260)](_0x281a31(di))),_(this,'_updateLocalCursor',_0x4eca6e(_0x22fda0=>{const _0x2403c5=_0x455012,_0x3f994c={'eventID':_0x12fdfb[_0x2403c5(0x241)],'data':{'unitID':this[_0x2403c5(0x215)],'memberID':this[_0x2403c5(0x366)][_0x2403c5(0x227)](),'selection':Tt(_0x22fda0)}};this[_0x2403c5(0x366)][_0x2403c5(0x3b7)](_0x3f994c,this[_0x2403c5(0x215)]);},fi)),(this[_0x455012(0x215)]=_0x4287f8,this[_0x455012(0x366)]=_0x52de1f,this['_injector']=_0x575fc5,this[_0x455012(0x35b)]=_0x1cc746,this[_0x455012(0x31c)]=_0x32e8b7,this['_syncEditingCollabCursorService']=_0x26915e,this[_0x455012(0x30f)]=_0x3d2843,this[_0x455012(0x1f1)]=_0x16128f,this['_commandService']=_0x1bdbbe);}get[_0x957043(0x348)](){const _0x9fe96f=_0x957043;return this['_cursorInfo$'][_0x9fe96f(0x2e2)]();}get['roomMembers'](){const _0xf5f722=_0x957043;return this[_0xf5f722(0x39b)][_0xf5f722(0x2e2)]();}[_0x957043(0x3aa)](){const _0x7008bd=_0x957043;super[_0x7008bd(0x3aa)](),this[_0x7008bd(0x2e8)][_0x7008bd(0x3c9)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x7008bd(0x3c9)]([]),this['_roomMembers$'][_0x7008bd(0x360)]();}[_0x957043(0x20a)](){const _0x448199=_0x957043;this['_init']||(this[_0x448199(0x3b9)]=!0x0,this[_0x448199(0x366)][_0x448199(0x36a)][_0x448199(0x260)](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x139a34=>{const _0x570815=_0x448199;_0x139a34===_0x150b64['ONLINE']?this[_0x570815(0x377)]():this['_toggleOffline']();}),this[_0x448199(0x366)][_0x448199(0x202)][_0x448199(0x260)](_0x35dd28(this['dispose$']))[_0x448199(0x3a6)](_0x24f901=>{const _0x35a3a3=_0x448199,_0x23b1c1=_0x24f901[_0x35a3a3(0x2c1)];_0x23b1c1===_0x12fdfb[_0x35a3a3(0x241)]&&this[_0x35a3a3(0x288)](_0x24f901),_0x23b1c1===_0x12fdfb['USERS_LEAVE']&&this[_0x35a3a3(0x24f)](_0x24f901);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2be5e9=>{const _0x36cafc=_0x448199,_0x623ee0=_0x2be5e9[_0x36cafc(0x385)];_0x623ee0!=null&&this[_0x36cafc(0x334)]&&_0x2be5e9['id']===_0x347694['id']&&_0x623ee0['unitId']===this[_0x36cafc(0x215)]&&_0x623ee0['isEditing']===!0x1&&_0x623ee0[_0x36cafc(0x3a9)][_0x36cafc(0x3d8)]>0x0&&this[_0x36cafc(0x2b2)](_0x623ee0['ranges']);})),this[_0x448199(0x3a4)][_0x448199(0x31b)]['pipe'](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x1b0ec7=>{const _0x2ce2c2=_0x448199;if((_0x1b0ec7==null?void 0x0:_0x1b0ec7['unitID'])!==this[_0x2ce2c2(0x215)])return;const _0x2199ad={'eventID':_0x12fdfb[_0x2ce2c2(0x241)],'data':_0x1b0ec7};this[_0x2ce2c2(0x288)](_0x2199ad);}),this['disposeWithMe'](this[_0x448199(0x2c2)][_0x448199(0x205)](_0x574a1f=>{const _0x104aba=_0x448199;if(_0x574a1f[_0x104aba(0x385)]==null)return;const _0x484361=_0x574a1f['params'];if(_0x574a1f['id']!==_0x366ac1['id']||_0x484361[_0x104aba(0x30d)]!==this['unitID'])return;const _0x2f7d5e={'id':_0x104aba(0x254),'params':_0x484361},_0x12c10b=this[_0x104aba(0x348)];for(const [_0x42bc0c,_0x14c691]of _0x12c10b){const _0x17a27b={'id':_0x104aba(0x254),'params':{'unitId':this[_0x104aba(0x215)],'actions':null,'textRanges':_0x14c691[_0x104aba(0x3a9)]}},_0xa0cafa=this[_0x104aba(0x30f)][_0x104aba(0x356)](_0x2f7d5e,_0x17a27b,!0x1);if(_0x7a4ffe(_0xa0cafa))throw _0xa0cafa['error'];_0x12c10b['set'](_0x42bc0c,{..._0x14c691,'ranges':_0xa0cafa['m2Prime'][_0x104aba(0x385)]['textRanges']});}queueMicrotask(()=>{const _0x40dd54=_0x104aba;this[_0x40dd54(0x2e8)]['next'](_0x12c10b);});})));}[_0x957043(0x288)](_0xde24f4){const _0x4050a3=_0x957043;var _0x3aa211,_0x11ffd2;const {memberID:_0x24bdb,selection:_0x54bba7}=_0xde24f4['data'],_0x3d6e0d=_i(_0x54bba7),_0x51ab09=(_0x11ffd2=(_0x3aa211=this[_0x4050a3(0x31c)][_0x4050a3(0x2e4)](this[_0x4050a3(0x215)],_0x24bdb))==null?void 0x0:_0x3aa211[_0x4050a3(0x306)])!=null?_0x11ffd2:'Unknown\x20user',_0x362fd3={'color':this[_0x4050a3(0x35b)][_0x4050a3(0x2b5)](_0x24bdb),'name':_0x51ab09,'ranges':_0x3d6e0d},_0x456f87=this[_0x4050a3(0x348)];_0x456f87['set'](_0x24bdb,_0x362fd3),this[_0x4050a3(0x2e8)][_0x4050a3(0x3c9)](_0x456f87);}[_0x957043(0x24f)](_0x52e7c9){const _0x106f1e=_0x957043,{memberID:_0x1f1b14}=_0x52e7c9['data'],_0x4af26c=this['cursorInfo'];_0x4af26c[_0x106f1e(0x333)](_0x1f1b14),this[_0x106f1e(0x2e8)][_0x106f1e(0x3c9)](_0x4af26c);}['_toggleOnline'](){const _0x176114=_0x957043;var _0x3e8ce9;if(this[_0x176114(0x334)]=!0x0,((_0x3e8ce9=this[_0x176114(0x1f1)][_0x176114(0x2b7)]())==null?void 0x0:_0x3e8ce9['getUnitId']())!==this[_0x176114(0x215)])return;const _0x49e0ec=this[_0x176114(0x267)][_0x176114(0x379)](_0x50dd36)['getDocRanges']();Array[_0x176114(0x303)](_0x49e0ec)&&_0x49e0ec[_0x176114(0x3d8)]>0x0&&this[_0x176114(0x2b2)](_0x49e0ec);}['_toggleOffline'](){const _0x27985f=_0x957043;this[_0x27985f(0x334)]=!0x1;}};Ue=ui([P(0x2,_0x79b2b4(_0x2f259a)),P(0x3,_0x79b2b4(ke)),P(0x4,_0x79b2b4(_0xea46d)),P(0x5,_0x79b2b4(He)),P(0x6,_0x417ff5),P(0x7,_0x16f134),P(0x8,_0x46c5a2)],Ue);function _0x2011(_0x521f86,_0x3b05b3){const _0x16b5b2=_0x16b5();return _0x2011=function(_0x201125,_0x4b1063){_0x201125=_0x201125-0x1ec;let _0xc7be5a=_0x16b5b2[_0x201125];return _0xc7be5a;},_0x2011(_0x521f86,_0x3b05b3);}var Si=Object[_0x957043(0x3e8)],mi=(_0x547286,_0xca6148,_0x47c4ee,_0xbd050c)=>{const _0x818c42=_0x957043;for(var _0x37f016=_0xbd050c>0x1?void 0x0:_0xbd050c?Si(_0xca6148,_0x47c4ee):_0xca6148,_0x1a71e6=_0x547286[_0x818c42(0x3d8)]-0x1,_0x536dd5;_0x1a71e6>=0x0;_0x1a71e6--)(_0x536dd5=_0x547286[_0x1a71e6])&&(_0x37f016=_0x536dd5(_0x37f016)||_0x37f016);return _0x37f016;},x=(_0x31ba7d,_0x51fa8a)=>(_0x297e40,_0x2de2dc)=>_0x51fa8a(_0x297e40,_0x2de2dc,_0x31ba7d);const Ii=0x12c,gi=0x64,vi=()=>{let _0xde569e=[],_0x993916=!0x1;return _0x421609=>{const _0x77276d=_0x2011;_0xde569e[_0x77276d(0x3c4)](_0x421609),_0x993916||(_0x993916=!0x0,setTimeout(()=>{_0xde569e['forEach'](_0x5e0d78=>_0x5e0d78()),_0xde569e=[],_0x993916=!0x1;}));};};let Me=class extends _0x22c522{constructor(_0x29d0fe,_0x5d9d05,_0x246fde,_0x23c458,_0x4bcb0f,_0x133a4b,_0x54cef5,_0xde9b21){const _0x488cea=_0x957043;super(),_(this,_0x488cea(0x334),!0x1),_(this,_0x488cea(0x3b9),!0x1),_(this,_0x488cea(0x2e8),new _0x3dfdee(new Map())),_(this,_0x488cea(0x3f1),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x3dfdee([])),_(this,_0x488cea(0x21f),this[_0x488cea(0x39b)][_0x488cea(0x260)](_0x281a31(Ii))),_(this,_0x488cea(0x2b2),_0x4eca6e((_0x3495b2,_0x100eff)=>{const _0x14431e=_0x488cea,_0x4815c2={'eventID':_0x12fdfb[_0x14431e(0x241)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x14431e(0x227)](),'selection':_0x5c2e23(_0x3495b2,_0x100eff[_0x14431e(0x259)])}};this[_0x14431e(0x366)]['send'](_0x4815c2,this[_0x14431e(0x215)]);},gi)),(this['unitID']=_0x29d0fe,this[_0x488cea(0x366)]=_0x5d9d05,this[_0x488cea(0x267)]=_0x246fde,this[_0x488cea(0x35b)]=_0x23c458,this[_0x488cea(0x31c)]=_0x4bcb0f,this[_0x488cea(0x1f1)]=_0x133a4b,this[_0x488cea(0x2c2)]=_0x54cef5,this[_0x488cea(0x298)]=_0xde9b21);}get[_0x957043(0x348)](){const _0x2d7286=_0x957043;return this[_0x2d7286(0x2e8)][_0x2d7286(0x2e2)]();}get[_0x957043(0x3bb)](){const _0x12ccf0=_0x957043;return this[_0x12ccf0(0x39b)]['getValue']();}[_0x957043(0x3aa)](){const _0x5d0bb8=_0x957043;super[_0x5d0bb8(0x3aa)](),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x3c9)](new Map()),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x360)](),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x3c9)]([]),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x360)]();}[_0x957043(0x20a)](){const _0xa4b2ea=_0x957043;this['_init']||(this[_0xa4b2ea(0x3b9)]=!0x0,this[_0xa4b2ea(0x366)]['sessionStatus$'][_0xa4b2ea(0x260)](_0x35dd28(this[_0xa4b2ea(0x2cb)]))[_0xa4b2ea(0x3a6)](_0x1e1010=>{const _0x42159a=_0xa4b2ea;_0x1e1010===_0x150b64[_0x42159a(0x2a0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa4b2ea(0x366)][_0xa4b2ea(0x202)][_0xa4b2ea(0x260)](_0x35dd28(this['dispose$']))['subscribe'](_0x308f06=>{const _0xdd839e=_0xa4b2ea,_0x1001cd=_0x308f06[_0xdd839e(0x2c1)];_0x1001cd===_0x12fdfb['UPDATE_CURSOR']&&this[_0xdd839e(0x288)](_0x308f06),_0x1001cd===_0x12fdfb[_0xdd839e(0x27f)]&&this[_0xdd839e(0x24f)](_0x308f06);}),this[_0xa4b2ea(0x287)](),this[_0xa4b2ea(0x32b)](this[_0xa4b2ea(0x2c2)][_0xa4b2ea(0x205)](_0x890496=>{const _0x2c89d3=_0xa4b2ea;if(this[_0x2c89d3(0x334)]&&_0x890496['id']===_0x447f0a['id']&&_0x890496['params']['unitId']===this[_0x2c89d3(0x215)]){const _0x8fa4f1=_0x890496['params'];this['_updateLocalCursor'](_0x8fa4f1[_0x2c89d3(0x3d1)],_0x8fa4f1[_0x2c89d3(0x329)][0x0]);}})));}[_0x957043(0x288)](_0x2a9c96){const _0xff265c=_0x957043;var _0x1842ba,_0x5d5460;const {memberID:_0xde6ee7,selection:_0x3f9459}=_0x2a9c96[_0xff265c(0x301)],{sheetName:_0x142461,range:_0x3b35e6}=_0x85074c(_0x3f9459),_0x3ad889={'name':(_0x5d5460=(_0x1842ba=this[_0xff265c(0x31c)][_0xff265c(0x2e4)](this[_0xff265c(0x215)],_0xde6ee7))==null?void 0x0:_0x1842ba[_0xff265c(0x306)])!=null?_0x5d5460:_0xff265c(0x2ba),'range':this['_getMergeRange'](_0x142461,_0x3b35e6),'sheetID':_0x142461,'color':this[_0xff265c(0x35b)][_0xff265c(0x2b5)](_0xde6ee7),'selection':_0x3f9459},_0x6da217=this[_0xff265c(0x348)];_0x6da217[_0xff265c(0x332)](_0xde6ee7,_0x3ad889),this['_cursorInfo$'][_0xff265c(0x3c9)](_0x6da217);}['_onCursorDelete'](_0x3ac807){const _0x1836f6=_0x957043,{memberID:_0x3e0b12}=_0x3ac807[_0x1836f6(0x301)],_0xe762eb=this['cursorInfo'];_0xe762eb[_0x1836f6(0x333)](_0x3e0b12),this[_0x1836f6(0x2e8)][_0x1836f6(0x3c9)](_0xe762eb);}[_0x957043(0x1ff)](_0x818d0e,_0x3a8eda){const _0x2be660=_0x957043;var _0x57d778,_0x30a4a4;const _0x4c32d3=(_0x30a4a4=(_0x57d778=this[_0x2be660(0x1f1)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x57d778[_0x2be660(0x2fd)](_0x818d0e))==null?void 0x0:_0x30a4a4[_0x2be660(0x270)]();return(_0x4c32d3==null?void 0x0:_0x4c32d3['find'](_0x46f869=>_0x5ea943[_0x2be660(0x231)](_0x46f869,_0x3a8eda)))||_0x3a8eda;}['_onRefRangeChange'](){const _0x507419=new _0x147e2e(),_0x329a9c=vi(),_0x5b43fc=()=>{const _0x58a07f=_0x2011;_0x507419['dispose']();const _0x1015d5=(_0x1a2634,_0x57e33e,_0x14b2f1,_0x1cf62b)=>{const _0x4ba7fc=_0x2011;let _0x25c711=[];switch(_0x1a2634['id']){case _0x50d145[_0x4ba7fc(0x31d)]:{_0x25c711=_0x23bded(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2d5)]:{_0x25c711=_0x9f5998(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x3d0)]:{_0x25c711=_0x381ae7(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x203)]:{_0x25c711=_0x5a1112(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x1ec)]:{_0x25c711=_0x4b6594(_0x1a2634,_0x1cf62b);break;}case _0x50d145['InsertRowCommandId']:{_0x25c711=_0x4c7aa9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x343)]:{_0x25c711=_0x403cb9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2c7)]:{_0x25c711=_0x2f0cba(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x216)]:{_0x25c711=_0x121d11(_0x1a2634,_0x1cf62b);break;}}const _0x1c5cd8=_0x2b7fe4(_0x25c711,_0x1cf62b),_0x2f12cd=this[_0x4ba7fc(0x348)][_0x4ba7fc(0x379)](_0x57e33e);if(_0x2f12cd&&_0x1c5cd8){const _0x2f1ad6={..._0x2f12cd,'range':_0x1c5cd8};this[_0x4ba7fc(0x348)][_0x4ba7fc(0x332)](_0x57e33e,_0x2f1ad6),_0x329a9c(()=>{const _0xf83456=_0x4ba7fc,_0x18381c=this[_0xf83456(0x298)][_0xf83456(0x33c)](_0x1c5cd8,_0x479fea=>(_0x18381c[_0xf83456(0x3aa)](),_0x1015d5(_0x479fea,_0x57e33e,_0x14b2f1,_0x1c5cd8)));_0x507419[_0xf83456(0x242)](_0x18381c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x58a07f(0x3e7)]((_0x57fbbe,_0x12e57c)=>{const _0x33df2f=_0x58a07f,{range:_0xd5f6b7,sheetID:_0x59b1d8}=_0x57fbbe,_0x3766d9=this[_0x33df2f(0x298)]['registerRefRange'](_0xd5f6b7,_0x56d17d=>(_0x3766d9[_0x33df2f(0x3aa)](),_0x1015d5(_0x56d17d,_0x12e57c,_0x59b1d8,_0xd5f6b7)));_0x507419[_0x33df2f(0x242)](_0x3766d9);});};this['disposeWithMe'](_0x197fb6(this['_cursorInfo$']['subscribe'](()=>{_0x5b43fc();})));}['_toggleOnline'](){const _0x284db=_0x957043;var _0x34e933,_0x5ace7d;if(this[_0x284db(0x334)]=!0x0,((_0x34e933=this[_0x284db(0x1f1)][_0x284db(0x2b7)]())==null?void 0x0:_0x34e933[_0x284db(0x2f6)]())!==this[_0x284db(0x215)])return;const _0x370388=(_0x5ace7d=this[_0x284db(0x267)][_0x284db(0x379)](_0x41581f)[_0x284db(0x2a5)]())==null?void 0x0:_0x5ace7d[0x0],_0x40b32f=this[_0x284db(0x1f1)][_0x284db(0x3dd)](_0x11e791[_0x284db(0x1f5)])['getActiveSheet']();_0x370388&&_0x40b32f&&this[_0x284db(0x2b2)](_0x40b32f[_0x284db(0x2fc)](),_0x370388);}['_toggleOffline'](){const _0x2a7340=_0x957043;this[_0x2a7340(0x334)]=!0x1;}};Me=mi([x(0x2,_0x79b2b4(_0x2f259a)),x(0x3,_0x79b2b4(ke)),x(0x4,_0x79b2b4(_0xea46d)),x(0x5,_0x16f134),x(0x6,_0x46c5a2),x(0x7,_0x79b2b4(_0x1c6920))],Me);var pi=Object[_0x957043(0x3e8)],Ci=(_0x465e5e,_0x3abbc7,_0x4b5ab1,_0x2f1260)=>{for(var _0x227daf=_0x2f1260>0x1?void 0x0:_0x2f1260?pi(_0x3abbc7,_0x4b5ab1):_0x3abbc7,_0x5cdf03=_0x465e5e['length']-0x1,_0x7303e;_0x5cdf03>=0x0;_0x5cdf03--)(_0x7303e=_0x465e5e[_0x5cdf03])&&(_0x227daf=_0x7303e(_0x227daf)||_0x227daf);return _0x227daf;},Se=(_0x2c42a0,_0x2c2590)=>(_0x98c8de,_0x202236)=>_0x2c2590(_0x98c8de,_0x202236,_0x2c42a0);let H=class extends _0x22c522{constructor(_0x1c5e02,_0x546b72,_0x53239d){const _0x5d4e34=_0x957043;super(),_(this,_0x5d4e34(0x218),new Map()),_(this,_0x5d4e34(0x361),new _0x13de5d()),(this[_0x5d4e34(0x1f1)]=_0x1c5e02,this[_0x5d4e34(0x267)]=_0x546b72,this['_collabSessionService']=_0x53239d,this[_0x5d4e34(0x3b9)]());}['dispose'](){const _0x7aa233=_0x957043;super['dispose'](),this[_0x7aa233(0x361)][_0x7aa233(0x360)](),this[_0x7aa233(0x218)]['forEach'](_0x2ec75d=>_0x2ec75d['dispose']());}[_0x957043(0x2f2)](_0x4e3af7){const _0x4cc118=_0x957043;return this['_entities'][_0x4cc118(0x23a)](_0x4e3af7)?this[_0x4cc118(0x218)][_0x4cc118(0x379)](_0x4e3af7)[_0x4cc118(0x3f1)]:this[_0x4cc118(0x361)]['pipe'](_0x4a9b42(_0x596b32=>_0x596b32[_0x4cc118(0x215)]===_0x4e3af7),_0xf18957(_0x3f3fed=>_0x3f3fed[_0x4cc118(0x3f1)]));}[_0x957043(0x3b9)](){const _0xe84601=_0x957043;this[_0xe84601(0x1f1)][_0xe84601(0x27e)](_0x11e791[_0xe84601(0x1f5)])[_0xe84601(0x260)](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](async _0x45ec05=>{const _0x2e60b5=_0xe84601,_0x4b3f9f=_0x45ec05['getUnitId'](),_0x1823e3=await this[_0x2e60b5(0x201)](_0x4b3f9f);this[_0x2e60b5(0x361)][_0x2e60b5(0x3c9)](_0x1823e3),this[_0x2e60b5(0x218)][_0x2e60b5(0x332)](_0x4b3f9f,_0x1823e3);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11e791[_0xe84601(0x34e)])[_0xe84601(0x260)](_0x35dd28(this['dispose$']))[_0xe84601(0x260)](_0x4a9b42(_0x5efc22=>!_0x5efc22['getUnitId']()[_0xe84601(0x371)]('__')))[_0xe84601(0x3a6)](async _0x277915=>{const _0x3fbef4=_0xe84601,_0x57a4f9=_0x277915['getUnitId'](),_0x520217=await this['_startDocCollabCursor'](_0x57a4f9);this[_0x3fbef4(0x361)][_0x3fbef4(0x3c9)](_0x520217),this[_0x3fbef4(0x218)][_0x3fbef4(0x332)](_0x57a4f9,_0x520217);}),_0x9ffdbb(this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x34e)]),this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x1f5)]))['pipe'](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](_0x277fa1=>{const _0x31f141=_0xe84601,_0x1f13cb=_0x277fa1['getUnitId'](),_0x5a8c35=this[_0x31f141(0x218)][_0x31f141(0x379)](_0x1f13cb);_0x5a8c35&&(_0x5a8c35['dispose'](),this['_entities'][_0x31f141(0x333)](_0x1f13cb));});}async['_startSheetCollabCursor'](_0x46f080){const _0x3ea1d3=_0x957043,_0x3254d9=await this[_0x3ea1d3(0x29b)][_0x3ea1d3(0x200)](_0x46f080),_0x2a4620=this[_0x3ea1d3(0x267)][_0x3ea1d3(0x266)](Me,_0x46f080,_0x3254d9);return _0x2a4620[_0x3ea1d3(0x20a)](),_0x2a4620;}async['_startDocCollabCursor'](_0x184284){const _0x5203c4=_0x957043,_0x5a03e4=await this['_collabSessionService'][_0x5203c4(0x200)](_0x184284),_0x2aef05=this['_injector'][_0x5203c4(0x266)](Ue,_0x184284,_0x5a03e4);return _0x2aef05[_0x5203c4(0x20a)](),_0x2aef05;}};H=Ci([Se(0x0,_0x16f134),Se(0x1,_0x79b2b4(_0x2f259a)),Se(0x2,_0x79b2b4(_0x339ffc))],H);function _0x16b5(){const _0x20cc4e=['random','status$','toString','stringify','_registerDependencies','DeleteRangeMoveUpCommandId','endColumn','_hideTimer','[CollaborationDataLoaderController]','debug','_collabCursorState$','843726gbfIIb','beginPath','_notificationService','752648XLIBlc','purple.300','undoState','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','_initStatusListener','getMember','setParam','registerComponent','saveTaskMap','_cursorInfo$','_setupBeforeClosingHandler','_scheduleHeartbeat','from','_getSessionTicket','xlink:href','_config','className','_updateCollabCursors','key','getCollabCursors$','jiqing.500','_dataLoaderService','APPLY_REJECT','getUnitId','colorChannel1','then','round','loadUnit','m2Prime','getSheetId','getSheetBySheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerBeforeClose','replaceDocRanges','data','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isArray','setInterval','history','name','m1Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initEvent','UNAUTHENTICATED','assign','YUUMI_ALL_TABLES_IS_INVALID','unitId','row','_transformService','toRgbString','getCurrentRevOfUnit','application/json','flatMap','session.connection-failed','10170onwPCI','_registerRenderDependencies','text','CONNECTOR_DATA_TOO_LARGE','getRangePointData','_handleHeartbeatEvent','collabCursorState$','_memberService','DeleteRangeMoveLeftCommandId','none','MOBILE_HAS_BEEN_BOUND','call','FETCH_MISS','newValue','_clearOtherTimers','selection','prototype','PERMISSION_DENIED','getActiveRange','skeleton','selections','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeWithMe','removeParam','_setupSubUnitSync','href','fill','endRow','INVALID_ARGUMENT','set','delete','_online','makeDirty','transformIMECache','_initDependencies','AWAITING','ACTIVE_UNIT_EVENT_CHANNEL','indexOf','yellow.400','registerRefRange','NOT_FOUND','getRelativeToViewportCoord','OTHER_CLIENT_EDITING','_localCacheService','lineTo','size','MoveRangeCommandId','_eventUnsubscribe','_textBubble','getCurrent','permission.title','cursorInfo','_collabCursorController','_docSkeleton','COMPLETION_FINISHED','column','addObject','UNIVER_DOC','measureText','current','_initCommandExecutedListener','replace','getOwnPropertySymbols','collab-rect-range-','saveOfflineData','transformMutation','getTypeOfUnitDisposed$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_removeCollabCursors','_colorAssignService','_doCreateSocket','21555ZVJzuS','USER_NOT_INVITED_CODE','setShapeProps','complete','_entityInit$','restore','activeSheet$','_saveCache','propertyIsEnumerable','_session','concat','white','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','sessionStatus$','OTHER_CLIENTS_EDITING','Error','executeCommand','_beforeCloseService','_labelPosition','univerjs-icon\x20univerjs-icon-','startsWith','width','INVITE_CODE_REQUIRED','1em','textRanges','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_scheduleSaving','get','off-line-icon_clip0_910_343','reconnect','ENSURE_SNAPSHOT_EXECUTION','INVITE_CODE_ALREADY_BOUND','LOGIN_FAILED','YUUMI_UNABLE_LOAD_URL','defineProperty','string','RECT','collab-text-anchor-','transformStateCache','params','_localStorageService','bottom','getVpScrollXYInfoByPosToVp','url(#$1','_drawTextRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getParam','onMouseMove','with','collab-text-range-','_unitStatus','apply','addObjects','_uiPartsService','Failed','unsubscribe','24393ySzGHi','redoState','getAncestorScale','imageSourceType','sheetId','_roomMembers$','_document','SNAPSHOT_INVALID_SNAPSHOT','_transformPreviousActiveRange','min','disableLocalCache','_instanceService','_removeClearOtherTimer','INVALID_INVITE_CODE','_syncEditingCollabCursorService','onLocalMutation','subscribe','sessionTicket','APPLY_PERMISSION_DENIED','ranges','dispose','clearTimeout','6GywNMj','onPointerEnter$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_color','path','collabStatus.notCollab','asObservable','_scheduleClearOtherTimer','_configService','_disabled','actions','send','getSkeleton','_init','PENDING','roomMembers','_send','_docTransformStateCacheService','onPointerLeave$','_messageService','PY_RUNTIME_SCRIPT_ERROR','_httpService','getItem','engine','push','_sheetSkeletonManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','unshift','subscribeEvent','next','SUBMIT_CHANGESET_TIMEOUT','function','_handleHover','body','_refreshCollabCursors','getConfig','InsertColCommandId','subUnitId','setStateCache','map','_imageIoService','clipPath','idSuffix','_urlService','length','setConfig','attrs','_id','getActiveSheet','getCurrentUnitForType','_docSkeletonManagerService','_initStatusComponent','getStateCache','collabStatus.syncing','_logService','split','searchParams','replaceState','_anchor','forEach','getOwnPropertyDescriptor','_collaborationUIEventService','wsSessionTicketUrl','5223504iYNiEx','_shapes','focused$','collaboration-client.offline-data-not-saved','all','CLOSE_ROOM','cursorInfo$','search','_updateURLWithCurrentState','tag','InsertRangeMoveRightCommandId','APPLY_DUPLICATED','_heartbeatTimer','_range','session.will-retry','_univerInstanceService','black','_docClipboardService','font','UNIVER_SHEET','_hovered','loadOfflineData','getRenderById','_cursors','UNDEFINED','pluginName','_handleEvent','fillStyle','runId','_getMergeRange','requireSession','_startSheetCollabCursor','event$','InsertRangeMoveDownCommandId','_initEntityListener','onCommandExecuted','on-line-icon_clip0_910_349','_getSaveTimeout','translate(.97)','getColorFromTheme','init','mask','currentTheme$','SNAPSHOT_HAS_BEEN_REMOVED','currentSkeleton$','isActive','http://www.w3.org/2000/svg','session.collaboration-timeout','drawWith','exhaustSavingTask','some','unitID','RemoveRowCommandId','invokeId','_entities','error','code','ticket','LICENSE_MAX_UNITS_EXCEEDED','runOnServer','collabStatus.conflict','roomMembers$','rgba(255,\x20255,\x20255,\x200.01)','FromArray','_draw','MUTATION','_docStateChangeManagerService','whenReady','off-line-icon','getMemberID','collabStatus.fetchMiss','UNRECOGNIZED','addEventListener','children','on-line-icon','setTimeout','onStarting','deepClone','setAlpha','contains','labelPosition','APPLY_NON_SEQUENTIAL_REVISION','_saveTaskMap','hasOwnProperty','...','_themeService','source','NO_OTHER_CLIENTS_EDITING','has','enableLocalCache','NOT_COLLAB','_initResize','collabStatus.offline','_getSheetObject','OFFLINE','UPDATE_CURSOR','add','pushState','INTERNAL_ERROR','getViewport','_transformUndoRedoStack','_cachedData','_unitOnClients','_handleLeaveEvent','LICENSE_DISTRO_REJECTED','triggerDblclick','subunit','Warning','_selfUnitIDs','_onCursorDelete','defIds','setActiveRange','YUUMI_NO_CUBOID_FOR_QUESTION','getUnhiddenWorksheets','doc.mutation.rich-text-editing','generateRandomId','ALREADY_EXISTS','updateOfflineData','3020955ouuzwQ','range','_localeService','collaboration.closeRoom','/run/','_updateSubUnitFromURLParams','YUUMI_AI_RUN_FAILED','evenodd','pipe','svg','OnLineIcon','clearInterval','memberID','_ensureSubject','createInstance','_injector','_colorIndex','onPointerMove$','_cursor','_docSyncEditingCollabCursorService','height','_drawRectRange','use','_renderManagerService','getMergeData','urlChange$','green.600','_handleJoinEvent','_transformHistoryAndStateStack','OffLineIcon','type','entries','mutations','UniverIcon','APPLY_REVISION_CONFILICT','setUndoRedoMutationParamsCache','red.300','transformByState','getTypeOfUnitAdded$','USERS_LEAVE','WECHAT_HAS_BEEN_BOUND','symbol','div','_docTransformSelectionsService','_collaborationController','_revisionService','values','_onRefRangeChange','_onCursorUpdate','SYNCED','CONFLICT','_name','CHANGESET_REVISION_CONFILICT','_status$','TOO_MANY_REQUESTS','registerRenderModule','4346505ioYhUU','LICENSE_IMPORT_SIZE_EXCEEDED','extend','EMAIL_HAS_BEEN_BOUND','_assignedColors','location','M0\x200H16V16H0z','displayName','_refRangeService','show','defs','_collabSessionService','syncEditingCollabCursor','getUndoRedoMutationParamsCache','storage','disposeUnit','ONLINE','_cursorShapes','parse','getDocRanges','_lastPointer','getCurrentSelections','collabStatus.synced','_hover','getCellPositionByOffset','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','save','unit','includes','setItem','closePath','createSocket','_updateLocalCursor','_context','_getAnchorBounding','assignAColorForMemberID','692kOVfqz','getFocusedUnit','_scene','_anchorDot','Unknown\x20user','hovered','fillText','icon','top','YUUMI_RATE_OVER_LIMIT','transformRemoteChangeset','eventID','_commandService','color','entityInit$','url(#on-line-icon_clip0_910_349)','saveImage','RemoveColCommandId','_docTransformIMECacheService','arc','url(#off-line-icon_clip0_910_343)','dispose$','_backgroundColor','onTransformChange$','addClipboardHook','transformMutationsWithChangeset'];_0x16b5=function(){return _0x20cc4e;};return _0x16b5();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0xd30265,_0x22c5ff){const _0x930896=_0x957043;let {radius:_0x479f13,width:_0x20cc94,height:_0x46169b}=_0x22c5ff;_0x479f13=_0x479f13!=null?_0x479f13:0x0,_0x20cc94=_0x20cc94!=null?_0x20cc94:0x1e,_0x46169b=_0x46169b!=null?_0x46169b:0x1e;let _0x110367=0x0,_0x324040=0x0,_0x45f813=0x0;_0x110367=_0x324040=_0x45f813=Math[_0x930896(0x39f)](_0x479f13,_0x20cc94/0x2,_0x46169b/0x2),_0xd30265[_0x930896(0x2dc)](),_0xd30265['moveTo'](_0x110367,0x0),_0xd30265['lineTo'](_0x20cc94-_0x324040,0x0),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x324040,_0x324040,_0x324040,Math['PI']*0x3/0x2,0x0,!0x1),_0xd30265['lineTo'](_0x20cc94,_0x46169b-_0x45f813),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x45f813,_0x46169b-_0x45f813,_0x45f813,0x0,Math['PI']/0x2,!0x1),_0xd30265[_0x930896(0x341)](0x0,_0x46169b),_0xd30265[_0x930896(0x341)](0x0,_0x110367),_0xd30265['arc'](_0x110367,_0x110367,_0x110367,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd30265[_0x930896(0x2b0)](),_0x22c5ff[_0x930896(0x32f)]&&(_0xd30265[_0x930896(0x2ac)](),_0xd30265[_0x930896(0x1fd)]=_0x22c5ff[_0x930896(0x32f)],_0x22c5ff['fillRule']==='evenodd'?_0xd30265[_0x930896(0x32f)](_0x930896(0x25f)):_0xd30265[_0x930896(0x32f)](),_0xd30265[_0x930896(0x362)]());}class he extends _0x3f4c5b{constructor(_0x255cdf,_0x58dc33){const _0x6b28a2=_0x957043;super(_0x255cdf,_0x58dc33),_(this,_0x6b28a2(0x2c3)),_(this,_0x6b28a2(0x317)),(this[_0x6b28a2(0x2c3)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x2c3)],this[_0x6b28a2(0x317)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x317)]);}static[_0x957043(0x212)](_0x51194b,_0x2c43ad){const _0x2f5fc8=_0x957043,{text:_0x2225c0,color:_0x5a335e}=_0x2c43ad;_0x51194b[_0x2f5fc8(0x2ac)](),_0x51194b[_0x2f5fc8(0x1f4)]=_0x2f5fc8(0x3ae);const _0x308314=_0x51194b[_0x2f5fc8(0x34f)](_0x2225c0)[_0x2f5fc8(0x372)],_0x3a55c1=Math[_0x2f5fc8(0x39f)](_0x308314+0x2*me,Qe);Oi(_0x51194b,{'height':ee,'radius':0x4,'width':_0x3a55c1,'fill':_0x5a335e}),_0x51194b['fillStyle']='#FFF';const _0x384557=me,_0x5a76a2=ee-Ei,_0x1ada98=Qe-0x2*me;if(_0x308314>_0x1ada98){let _0x4bc179='',_0x2c30b5=0x0;for(const _0x3e1090 of _0x2225c0){const _0x32c997=_0x51194b[_0x2f5fc8(0x34f)](_0x3e1090)['width'];if(_0x2c30b5+_0x32c997<=_0x1ada98-_0x51194b[_0x2f5fc8(0x34f)]('...')[_0x2f5fc8(0x372)])_0x4bc179+=_0x3e1090,_0x2c30b5+=_0x32c997;else{_0x4bc179+=_0x2f5fc8(0x236);break;}}_0x51194b[_0x2f5fc8(0x2bc)](_0x4bc179,_0x384557,_0x5a76a2);}else _0x51194b[_0x2f5fc8(0x2bc)](_0x2225c0,_0x384557,_0x5a76a2);_0x51194b[_0x2f5fc8(0x362)]();}[_0x957043(0x222)](_0x3be0d5){he['drawWith'](_0x3be0d5,this);}}const Ie=_0x957043(0x383),bi=_0x957043(0x38f),Ti=_0x957043(0x354),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x957043(0x220);class qe{constructor(_0x36c0fe,_0x1cae94,_0x249cf6,_0x2d3a92){const _0x27a6e2=_0x957043;_(this,_0x27a6e2(0x3ec),[]),_(this,'_anchor',null),_(this,_0x27a6e2(0x345),null),_(this,_0x27a6e2(0x2b9),null),_(this,_0x27a6e2(0x2d7),null),_(this,_0x27a6e2(0x344),null),(this[_0x27a6e2(0x26a)]=_0x36c0fe,this[_0x27a6e2(0x2b8)]=_0x1cae94,this[_0x27a6e2(0x34a)]=_0x249cf6,this[_0x27a6e2(0x39c)]=_0x2d3a92,this['_render']());}set[_0x957043(0x2a7)](_0x40781f){const _0x4e9f51=_0x957043;_0x40781f?(this[_0x4e9f51(0x2b9)]&&this[_0x4e9f51(0x2b9)]['hide'](),this[_0x4e9f51(0x345)]&&this[_0x4e9f51(0x345)][_0x4e9f51(0x299)]()):(this[_0x4e9f51(0x2b9)]&&this['_anchorDot'][_0x4e9f51(0x299)](),this[_0x4e9f51(0x345)]&&this['_textBubble']['hide']());}[_0x957043(0x3aa)](){const _0x3ef752=_0x957043;for(const _0x2f445c of this[_0x3ef752(0x3ec)])_0x2f445c[_0x3ef752(0x3aa)]();this['_textBubble']&&this[_0x3ef752(0x345)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x2b9)]&&this[_0x3ef752(0x2b9)][_0x3ef752(0x3aa)](),this['_anchor']&&this[_0x3ef752(0x3e6)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x344)]&&this[_0x3ef752(0x344)]();}['_render'](){const _0x4cb7d9=_0x957043;var _0x4a5543;const {_docSkeleton:_0x4fcb0d,_document:_0x504f5d}=this,{color:_0x1ec183,name:_0xd47fc1,ranges:_0x4155f2}=this[_0x4cb7d9(0x26a)],_0x293782=_0x504f5d['getOffsetConfig'](),{docsLeft:_0x56218d,docsTop:_0x3a7d34}=_0x293782,_0x5ec53b=new _0x251cc6(_0x293782,_0x4fcb0d);for(const {startOffset:_0x351320,endOffset:_0x4288c5,rangeType:_0x47cb5a,segmentId:_0x5759d8,segmentPage:_0x57f52b,collapsed:_0x1d6575,isActive:_0x415410}of _0x4155f2){const _0x5cdcb3=_0x4fcb0d[_0x4cb7d9(0x358)](_0x351320,!0x0,_0x5759d8,_0x57f52b);let _0x39e9e4=_0x4fcb0d[_0x4cb7d9(0x358)](_0x4288c5,!0x0,_0x5759d8,_0x57f52b);if(_0x39e9e4==null&&(_0x39e9e4=_0x4fcb0d['findNodePositionByCharIndex'](_0x4288c5-0x1,!0x1,_0x5759d8,_0x57f52b)),_0x415410){const {contentBoxPointGroup:_0x29505e}=_0x5ec53b[_0x4cb7d9(0x319)](_0x39e9e4,_0x39e9e4);if(_0x29505e[_0x4cb7d9(0x3d8)]===0x0)continue;this['_drawAnchor'](_0x1ec183,_0x29505e,_0x56218d,_0x3a7d34,_0xd47fc1),this[_0x4cb7d9(0x344)]=this[_0x4cb7d9(0x3cc)]();}if(_0x5cdcb3&&_0x39e9e4){if(_0x47cb5a===_0x586938[_0x4cb7d9(0x382)]){const _0x4dc1e7=new _0x1e4ae6(_0x293782,_0x4fcb0d),{pointGroup:_0x31e20b}=(_0x4a5543=_0x4dc1e7[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4))!=null?_0x4a5543:{};if(_0x31e20b==null||_0x31e20b[_0x4cb7d9(0x3d8)]===0x0)continue;this[_0x4cb7d9(0x26d)](_0x1ec183,_0x31e20b,_0x56218d,_0x3a7d34);}else{if(!_0x1d6575){const {borderBoxPointGroup:_0x2650df}=_0x5ec53b[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4);if(_0x2650df['length']===0x0)continue;this[_0x4cb7d9(0x38a)](_0x1ec183,_0x2650df,_0x56218d,_0x3a7d34);}}}}}['_drawAnchor'](_0xcd27a2,_0xb98c79,_0x5d0e5e,_0x36a30b,_0x22de17){const _0x2fc0b4=_0x957043,_0x13cf2b=this[_0x2fc0b4(0x2b4)](_0xb98c79),{left:_0x3259b8,top:_0x16aed7,height:_0x1b297c}=_0x13cf2b,_0x1a4b04=this['_getScale'](),_0x2102ba=Di/_0x1a4b04,_0x583975=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b,'height':_0x1b297c,'width':Ri,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':_0x2102ba,'stroke':Ni,'evented':!0x0});this[_0x2fc0b4(0x3e6)]=_0x583975,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x583975,_0x763413);const _0x3bbf3a=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ge/0x2,'height':ge,'width':ge,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':0x0,'stroke':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'evented':!0x1});this[_0x2fc0b4(0x2b9)]=_0x3bbf3a,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x3bbf3a,_0x763413);const _0x2b6b95=new he(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ee,'text':_0x22de17,'color':_0xcd27a2});this[_0x2fc0b4(0x345)]=_0x2b6b95,this['_scene'][_0x2fc0b4(0x34d)](_0x2b6b95,_0x763413),this['_hover']=!0x1;}[_0x957043(0x3cc)](){const _0x1244d3=_0x957043,_0x526fc4=this[_0x1244d3(0x3e6)][_0x1244d3(0x3ad)][_0x1244d3(0x3c8)](()=>{this['_hover']=!0x0;}),_0x14ee8e=this[_0x1244d3(0x3e6)][_0x1244d3(0x3be)]['subscribeEvent'](()=>{const _0x226da2=_0x1244d3;this[_0x226da2(0x2d7)]&&clearTimeout(this[_0x226da2(0x2d7)]),this[_0x226da2(0x2d7)]=setTimeout(()=>{const _0x366331=_0x226da2;this[_0x366331(0x2a7)]=!0x1;},0x7d0);});return()=>{const _0x40887c=_0x1244d3;_0x526fc4[_0x40887c(0x395)](),_0x14ee8e[_0x40887c(0x395)]();};}[_0x957043(0x38a)](_0x5d6993,_0x47c1bc,_0x5e81d1,_0x35c0aa){const _0x1c2759=_0x957043,_0x17f776=new _0x288e7f(_0x5d6993)[_0x1c2759(0x230)](0.2)[_0x1c2759(0x310)](),_0x94ba60=new _0x5f87e4(bi+_0x5b06e2[_0x1c2759(0x255)](X),{'pointsGroup':_0x47c1bc,'fill':_0x17f776||_0x265cf8(_0x764413['black'],0.2),'left':_0x5e81d1,'top':_0x35c0aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c2759(0x3ec)][_0x1c2759(0x3c4)](_0x94ba60),this[_0x1c2759(0x2b8)][_0x1c2759(0x34d)](_0x94ba60,_0x763413);}[_0x957043(0x26d)](_0x2e527d,_0x35d520,_0x238bc,_0x4aa150){const _0x48ec32=_0x957043,_0x334d76=new _0x288e7f(_0x2e527d)[_0x48ec32(0x230)](0.2)[_0x48ec32(0x310)](),_0x58b5ec=new _0x5f87e4(Ti+_0x5b06e2[_0x48ec32(0x255)](X),{'pointsGroup':_0x35d520,'fill':_0x334d76||_0x265cf8(_0x764413[_0x48ec32(0x1f2)],0.2),'left':_0x238bc,'top':_0x4aa150,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48ec32(0x3ec)]['push'](_0x58b5ec),this[_0x48ec32(0x2b8)][_0x48ec32(0x34d)](_0x58b5ec,_0x763413);}['_getAnchorBounding'](_0xbe4ac5){const _0x376e4b=_0xbe4ac5[0x0],_0x1dae17=_0x376e4b[0x0],_0x314e4c=_0x376e4b[0x2],{x:_0x28762c,y:_0x3021e9}=_0x1dae17,{x:_0x22768a,y:_0x5a6738}=_0x314e4c;return{'left':_0x28762c,'top':_0x3021e9,'width':_0x22768a-_0x28762c,'height':_0x5a6738-_0x3021e9};}['_getScale'](){const _0x58c818=_0x957043,{scaleX:_0x2f2fa1,scaleY:_0x1f2b64}=this[_0x58c818(0x2b8)][_0x58c818(0x398)]();return Math['max'](_0x2f2fa1,_0x1f2b64);}}var Ui=Object[_0x957043(0x3e8)],Mi=(_0x32f1e9,_0x38a22a,_0xb078af,_0x633fc0)=>{const _0x50c42e=_0x957043;for(var _0x3445f3=_0x633fc0>0x1?void 0x0:_0x633fc0?Ui(_0x38a22a,_0xb078af):_0x38a22a,_0x3c100f=_0x32f1e9[_0x50c42e(0x3d8)]-0x1,_0x465a90;_0x3c100f>=0x0;_0x3c100f--)(_0x465a90=_0x32f1e9[_0x3c100f])&&(_0x3445f3=_0x465a90(_0x3445f3)||_0x3445f3);return _0x3445f3;},Z=(_0x13a4bb,_0x26dce2)=>(_0x311a43,_0x2ea8a4)=>_0x26dce2(_0x311a43,_0x2ea8a4,_0x13a4bb);let we=class extends _0x22c522{constructor(_0x41b96d,_0x3549fa,_0x26d6d6,_0x5daa5b,_0x1ba260){const _0x3a467d=_0x957043;super(),_(this,'_cursorShapes',[]),_(this,_0x3a467d(0x1f9),[]),(this['_context']=_0x41b96d,this['_docSkeletonManagerService']=_0x3549fa,this[_0x3a467d(0x349)]=_0x26d6d6,this[_0x3a467d(0x2c2)]=_0x5daa5b,this[_0x3a467d(0x237)]=_0x1ba260,this[_0x3a467d(0x3b9)]());}[_0x957043(0x3b9)](){const _0x1332ba=_0x957043,_0x49306e=this[_0x1332ba(0x2b3)][_0x1332ba(0x30d)],_0x506c2a=this['_docSkeletonManagerService'];this[_0x1332ba(0x32b)](_0x4d89dc([this['_collabCursorController'][_0x1332ba(0x2f2)](_0x49306e),this['_themeService'][_0x1332ba(0x20c)]])[_0x1332ba(0x260)](_0x4a76e2(([_0xae0886,_0x2325c3])=>({'skeleton':_0x506c2a[_0x1332ba(0x3b8)](),'cursors':[..._0xae0886[_0x1332ba(0x286)]()][_0x1332ba(0x313)](_0x4cd2a3=>({..._0x4cd2a3,'color':this[_0x1332ba(0x237)][_0x1332ba(0x209)](_0x4cd2a3[_0x1332ba(0x2c3)])}))})))['subscribe'](_0x44d880=>{const _0x24beca=_0x1332ba;if(this[_0x24beca(0x35a)](),_0x44d880){const {skeleton:_0x39bdc5,cursors:_0x141a50}=_0x44d880;this[_0x24beca(0x2f0)](_0x39bdc5,_0x141a50);}})),this['_initResize'](),this[_0x1332ba(0x351)]();}[_0x957043(0x2f0)](_0x5bc220,_0x2e7b1d){const _0x1dfeab=_0x957043,{scene:_0x53c293,mainComponent:_0x39e445}=this[_0x1dfeab(0x2b3)],_0x3f7897=_0x2e7b1d[_0x1dfeab(0x3d3)](_0x4c1ad1=>new qe(_0x4c1ad1,_0x53c293,_0x5bc220,_0x39e445));this['_cursorShapes']=_0x3f7897,this[_0x1dfeab(0x1f9)]=_0x2e7b1d;}[_0x957043(0x3ce)](){const _0xf3720b=_0x957043;this[_0xf3720b(0x35a)]();const {scene:_0x7e9b1c,mainComponent:_0x506773}=this[_0xf3720b(0x2b3)],_0x3ec42c=this[_0xf3720b(0x3de)][_0xf3720b(0x3b8)](),_0x410a8a=this[_0xf3720b(0x1f9)]['map'](_0x2b2bca=>new qe(_0x2b2bca,_0x7e9b1c,_0x3ec42c,_0x506773));this[_0xf3720b(0x2a1)]=_0x410a8a;}[_0x957043(0x35a)](){const _0x310d84=_0x957043;this[_0x310d84(0x2a1)][_0x310d84(0x3e7)](_0x1985dc=>_0x1985dc[_0x310d84(0x3aa)]()),this[_0x310d84(0x2a1)]=[];}[_0x957043(0x351)](){const _0xd1a883=_0x957043,_0x5459fe=[_0x4e6e95['id']];this[_0xd1a883(0x32b)](this[_0xd1a883(0x2c2)][_0xd1a883(0x205)](_0x1bc7bd=>{const _0x19a07d=_0xd1a883;_0x5459fe[_0x19a07d(0x2ae)](_0x1bc7bd['id'])&&_0x1bc7bd['params'][_0x19a07d(0x30d)]===this[_0x19a07d(0x2b3)]['unitId']&&this[_0x19a07d(0x3ce)]();}));}[_0x957043(0x23d)](){const _0x4f7277=_0x957043;this[_0x4f7277(0x32b)](_0x4bc1b9(this[_0x4f7277(0x2b3)][_0x4f7277(0x3c3)][_0x4f7277(0x2cd)])['pipe'](_0x75e491(_0x142c1b=>_0x142c1b[_0x4f7277(0x276)]===_0x470dff['resize']),_0x7aa9fb(0x10))['subscribe'](()=>{const _0x4f954b=_0x4f7277;this[_0x4f954b(0x3ce)]();}));}};we=Mi([Z(0x1,_0x79b2b4(_0x597889)),Z(0x2,_0x79b2b4(H)),Z(0x3,_0x46c5a2),Z(0x4,_0x79b2b4(_0x490aa5))],we);const wi=0x1,Pi=1.5;class Li extends _0x3f4c5b{constructor(_0x1fc490,_0x14fcff){const _0x153feb=_0x957043;super(_0x1fc490,_0x14fcff),_(this,_0x153feb(0x3af)),_(this,_0x153feb(0x1f6),!0x1),_(this,_0x153feb(0x1ef)),_(this,_0x153feb(0x28b),''),_(this,_0x153feb(0x36f),_0x153feb(0x2be)),_(this,'_backgroundColor'),(_0x14fcff&&this[_0x153feb(0x35f)](_0x14fcff),this[_0x153feb(0x3ad)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x0})),this[_0x153feb(0x3be)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x1})));}[_0x957043(0x35f)](_0xfa5313){const _0x326176=_0x957043;var _0x5b2dec,_0x1a6868,_0x6fc820,_0x5da8ee,_0x4f0cf4,_0x58e47c;this[_0x326176(0x3af)]=(_0x5b2dec=_0xfa5313['color'])!=null?_0x5b2dec:this[_0x326176(0x3af)],this[_0x326176(0x1f6)]=(_0x1a6868=_0xfa5313[_0x326176(0x2bb)])!=null?_0x1a6868:this['_hovered'],this[_0x326176(0x1ef)]=(_0x6fc820=_0xfa5313[_0x326176(0x259)])!=null?_0x6fc820:this[_0x326176(0x1ef)],this[_0x326176(0x28b)]=(_0x5da8ee=_0xfa5313[_0x326176(0x306)])!=null?_0x5da8ee:this['_name'],this[_0x326176(0x36f)]=(_0x4f0cf4=_0xfa5313[_0x326176(0x232)])!=null?_0x4f0cf4:this['_labelPosition'],this[_0x326176(0x2cc)]=(_0x58e47c=_0xfa5313['backgroundColor'])!=null?_0x58e47c:this['_backgroundColor'],this[_0x326176(0x27d)]({'width':_0xfa5313[_0x326176(0x372)],'height':_0xfa5313[_0x326176(0x26c)]});}[_0x957043(0x38d)](_0x4f8850){const _0x18849f=_0x957043,{row:_0x339bba,column:_0x4a19bf}=_0x4f8850;if(_0x339bba>=this[_0x18849f(0x1ef)]['startRow']&&_0x339bba<=this[_0x18849f(0x1ef)][_0x18849f(0x330)]&&_0x4a19bf>=this[_0x18849f(0x1ef)][_0x18849f(0x2a9)]&&_0x4a19bf<=this['_range'][_0x18849f(0x2d6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x18849f(0x35f)]({'hovered':!0x1});}[_0x957043(0x24b)](_0x1c208c){return!0x1;}[_0x957043(0x222)](_0x37f88f){const _0x188bf2=_0x957043;_0x575d1c['drawWith'](_0x37f88f,{'width':this[_0x188bf2(0x372)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x188bf2(0x3af)],'evented':!0x1,'fill':this[_0x188bf2(0x2cc)]}),this['_hovered']&&(_0x37f88f[_0x188bf2(0x2ac)](),_0x37f88f['transform'](0x1,0x0,0x0,0x1,this[_0x188bf2(0x372)],this[_0x188bf2(0x36f)]==='bottom'?0x0:-0x14),he[_0x188bf2(0x212)](_0x37f88f,{'text':this[_0x188bf2(0x28b)],'color':this[_0x188bf2(0x3af)]}),_0x37f88f[_0x188bf2(0x362)]());}}var Ai=Object[_0x957043(0x3e8)],yi=(_0x21beaf,_0x33f482,_0x54c66b,_0x55798c)=>{const _0x575824=_0x957043;for(var _0x69f734=_0x55798c>0x1?void 0x0:_0x55798c?Ai(_0x33f482,_0x54c66b):_0x33f482,_0x16d486=_0x21beaf[_0x575824(0x3d8)]-0x1,_0x126cda;_0x16d486>=0x0;_0x16d486--)(_0x126cda=_0x21beaf[_0x16d486])&&(_0x69f734=_0x126cda(_0x69f734)||_0x69f734);return _0x69f734;},ve=(_0x53ccde,_0x3f35ac)=>(_0x3d3190,_0x34b785)=>_0x3f35ac(_0x3d3190,_0x34b785,_0x53ccde);const $i=0x1389;let Pe=class extends _0x22c522{constructor(_0x3238f4,_0x167da3,_0x4c3c24,_0x4d15c4){const _0x3d34f2=_0x957043;super(),_(this,_0x3d34f2(0x1f9),new Set()),_(this,_0x3d34f2(0x2a4),null),(this[_0x3d34f2(0x2b3)]=_0x3238f4,this['_sheetSkeletonManagerService']=_0x167da3,this[_0x3d34f2(0x349)]=_0x4c3c24,this['_themeService']=_0x4d15c4,this[_0x3d34f2(0x3b9)]());}[_0x957043(0x3b9)](){const _0x124e75=_0x957043;this[_0x124e75(0x3c5)][_0x124e75(0x20e)][_0x124e75(0x260)](_0x490efa(this[_0x124e75(0x2cb)]),_0x2403d7(_0x3ca726=>{const _0x4e414d=_0x124e75;if(_0x3ca726){const _0x106908=_0x3ca726[_0x4e414d(0x39a)];return _0x4d89dc(this[_0x4e414d(0x349)][_0x4e414d(0x2f2)](this[_0x4e414d(0x2b3)][_0x4e414d(0x30d)]),this[_0x4e414d(0x237)][_0x4e414d(0x20c)])['pipe'](_0x4a76e2(([_0x3f9c5a,_0x4fee97])=>{const _0x583704=_0x4e414d,_0x1d39e4=new Map();return _0x3f9c5a[_0x583704(0x3e7)]((_0x54d8e0,_0x335108)=>{const _0x43b368=_0x583704;if(_0x54d8e0['sheetID']===_0x106908){const _0x4eefd5={..._0x54d8e0};_0x4eefd5[_0x43b368(0x2c3)]=this[_0x43b368(0x237)][_0x43b368(0x209)](_0x54d8e0[_0x43b368(0x2c3)]),_0x1d39e4[_0x43b368(0x332)](_0x335108,_0x4eefd5);}}),{'skeleton':_0x3ca726,'cursors':_0x1d39e4};}));}return _0x21ae2d({'skeleton':null,'cursors':new Map()});}))[_0x124e75(0x3a6)](({skeleton:_0x5e4943,cursors:_0x32d7ac})=>{const _0x531d81=_0x124e75;this[_0x531d81(0x35a)](),_0x5e4943&&this[_0x531d81(0x2f0)](_0x5e4943,_0x32d7ac);}),this[_0x124e75(0x3c5)]['currentSkeleton$'][_0x124e75(0x3a6)](_0x34c6ff=>{const _0x293f03=_0x124e75;if(_0x34c6ff==null)return;const {skeleton:_0x2c620d}=_0x34c6ff,{scene:_0x48db96}=this[_0x293f03(0x2b3)];_0x48db96[_0x293f03(0x269)][_0x293f03(0x3c8)](_0x4eca6e(_0x9c3383=>{const _0x3a80f4=_0x293f03;var _0x3984ef,_0x546c4c;const {offsetX:_0x37e799,offsetY:_0x485b04}=_0x9c3383,{x:_0x5eb2fb,y:_0x590cf5}=_0x48db96[_0x3a80f4(0x33e)](_0x3d4a5f[_0x3a80f4(0x221)]([_0x37e799,_0x485b04])),{scaleX:_0x1ef275,scaleY:_0xb7df5a}=_0x48db96[_0x3a80f4(0x398)](),_0x258bbf=_0x48db96[_0x3a80f4(0x245)](_0x433b49['VIEW_MAIN']),_0x2466ee=_0x48db96[_0x3a80f4(0x388)](_0x3d4a5f['FromArray']([_0x5eb2fb,_0x590cf5]),_0x258bbf),_0x1494b5=_0x2c620d[_0x3a80f4(0x2a8)](_0x37e799,_0x485b04,_0x1ef275,_0xb7df5a,_0x2466ee);((_0x3984ef=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x3984ef[_0x3a80f4(0x34c)])===_0x1494b5[_0x3a80f4(0x34c)]&&((_0x546c4c=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x546c4c[_0x3a80f4(0x30e)])===_0x1494b5[_0x3a80f4(0x30e)]||this[_0x3a80f4(0x1f9)][_0x3a80f4(0x3e7)](_0x40d979=>{const _0xe1d2c3=_0x3a80f4;_0x40d979[_0xe1d2c3(0x38d)](_0x1494b5);});},0x64));});}[_0x957043(0x2f0)](_0x311f24,_0x564020){const _0x3ed641=_0x957043;var _0x5811ea;const _0x731430=(_0x5811ea=this[_0x3ed641(0x3c5)][_0x3ed641(0x346)]())==null?void 0x0:_0x5811ea[_0x3ed641(0x328)];if(!_0x731430)return;const _0x12efb4=this[_0x3ed641(0x23f)]();if(!_0x12efb4)return;this[_0x3ed641(0x1f9)][_0x3ed641(0x3e7)](_0x34fb47=>{const _0x48e509=_0x3ed641;_0x34fb47[_0x48e509(0x335)]();});const {scene:_0x42932f}=_0x12efb4,_0x4dffe1=xi(Array[_0x3ed641(0x2eb)](_0x564020[_0x3ed641(0x286)]()))[_0x3ed641(0x3d3)](_0x3479c3=>{const _0x49b1a0=_0x3ed641,{color:_0x57bcee,range:_0x54ca5b,name:_0x55fe94,selection:_0x28414c,sheetID:_0x316c93}=_0x3479c3,{startColumn:_0x42cab3,startRow:_0x4acca1,endColumn:_0x222054,endRow:_0x4675e2}=_0x54ca5b,_0x162192=_0xe7b806(_0x4acca1,_0x42cab3,_0x42932f,_0x731430),_0x4eaa5c=_0xe7b806(_0x4675e2,_0x222054,_0x42932f,_0x731430),{columnHeaderHeightAndMarginTop:_0x209bdc}=_0x731430,{startX:_0x426fb5,startY:_0x435d42}=_0x162192,{endX:_0x525f3d,endY:_0x13b518}=_0x4eaa5c,_0x145849=_0x525f3d-_0x426fb5,_0xd7f866=_0x13b518-_0x435d42,_0x2869bc={'labelPosition':_0x435d42-_0x209bdc>=ee?_0x49b1a0(0x2be):_0x49b1a0(0x387),'sheetID':_0x316c93,'range':_0x54ca5b,'color':_0x57bcee,'name':_0x55fe94,'selection':_0x28414c,'left':_0x426fb5,'top':_0x435d42,'width':_0x145849,'height':_0xd7f866,'evented':!0x1,'zIndex':$i};return new Li(_0x55fe94,_0x2869bc);});_0x42932f[_0x3ed641(0x392)](_0x4dffe1,wi),this[_0x3ed641(0x1f9)]=new Set(_0x4dffe1);}[_0x957043(0x35a)](){const _0x51b6b9=_0x957043;var _0x26fc0a;(_0x26fc0a=this['_cursors'])==null||_0x26fc0a[_0x51b6b9(0x3e7)](_0x5d5f49=>_0x5d5f49['dispose']());}[_0x957043(0x23f)](){const _0x4fcb07=_0x957043;return _0x506945(this[_0x4fcb07(0x2b3)][_0x4fcb07(0x2ad)],this['_context']);}};Pe=yi([ve(0x1,_0x79b2b4(_0x141869)),ve(0x2,_0x79b2b4(H)),ve(0x3,_0x79b2b4(_0x490aa5))],Pe);function xi(_0x3832d2){const _0x55153a=_0x957043,_0x5246d9=new Map();return _0x3832d2[_0x55153a(0x3e7)](_0x28ee67=>{const _0x38a842=_0x55153a;if(_0x5246d9[_0x38a842(0x23a)](_0x28ee67['selection'])){const _0x46d93e=_0x5246d9[_0x38a842(0x379)](_0x28ee67['selection']);_0x46d93e[_0x38a842(0x306)]+=',\x20'+_0x28ee67[_0x38a842(0x306)];}else _0x5246d9[_0x38a842(0x332)](_0x28ee67[_0x38a842(0x324)],_0x28ee67);}),Array[_0x55153a(0x2eb)](_0x5246d9[_0x55153a(0x286)]());}var v=function(){const _0x1a4c2a=_0x957043;return v=Object[_0x1a4c2a(0x30b)]||function(_0x5c5135){const _0x4026d6=_0x1a4c2a;for(var _0x3f5944,_0x372198=0x1,_0x4e8b8c=arguments[_0x4026d6(0x3d8)];_0x372198<_0x4e8b8c;_0x372198++){_0x3f5944=arguments[_0x372198];for(var _0xa4bdf1 in _0x3f5944)Object[_0x4026d6(0x325)][_0x4026d6(0x235)][_0x4026d6(0x320)](_0x3f5944,_0xa4bdf1)&&(_0x5c5135[_0xa4bdf1]=_0x3f5944[_0xa4bdf1]);}return _0x5c5135;},v[_0x1a4c2a(0x391)](this,arguments);},Bi=function(_0x3ce52a,_0x4163b9){const _0x8f2934=_0x957043;var _0x5d32fb={};for(var _0x5489f2 in _0x3ce52a)Object[_0x8f2934(0x325)][_0x8f2934(0x235)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2)&&_0x4163b9[_0x8f2934(0x33a)](_0x5489f2)<0x0&&(_0x5d32fb[_0x5489f2]=_0x3ce52a[_0x5489f2]);if(_0x3ce52a!=null&&typeof Object['getOwnPropertySymbols']==_0x8f2934(0x3cb)){for(var _0x340694=0x0,_0x5489f2=Object[_0x8f2934(0x353)](_0x3ce52a);_0x340694<_0x5489f2['length'];_0x340694++)_0x4163b9[_0x8f2934(0x33a)](_0x5489f2[_0x340694])<0x0&&Object[_0x8f2934(0x325)][_0x8f2934(0x365)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2[_0x340694])&&(_0x5d32fb[_0x5489f2[_0x340694]]=_0x3ce52a[_0x5489f2[_0x340694]]);}return _0x5d32fb;},je=_0x30f0d5(function(_0xa19441,_0x390604){const _0x404dbc=_0x957043;var _0x100928=_0xa19441[_0x404dbc(0x2bd)],_0x38a567=_0xa19441['id'],_0x15b6e4=_0xa19441[_0x404dbc(0x2ef)],_0x3c1a10=_0xa19441['extend'],_0x19a9e5=Bi(_0xa19441,[_0x404dbc(0x2bd),'id',_0x404dbc(0x2ef),_0x404dbc(0x292)]),_0x4dc419=_0x404dbc(0x370)['concat'](_0x38a567,'\x20')[_0x404dbc(0x367)](_0x15b6e4||'')['trim'](),_0x448d4d=_0x1a3d09('_'[_0x404dbc(0x367)](ji()));return Rt(_0x100928,''[_0x404dbc(0x367)](_0x38a567),{'defIds':_0x100928[_0x404dbc(0x250)],'idSuffix':_0x448d4d[_0x404dbc(0x350)]},v({'ref':_0x390604,'className':_0x4dc419},_0x19a9e5),_0x3c1a10);});function Rt(_0x135eb4,_0x286f5d,_0x4511c8,_0x3af8a5,_0x18ad9a){const _0x807de9=_0x957043;return _0x240f9b(_0x135eb4[_0x807de9(0x3f4)],v(v({'key':_0x286f5d},ki(_0x135eb4,_0x4511c8,_0x18ad9a)),_0x3af8a5),(Hi(_0x135eb4,_0x4511c8)['children']||[])['map'](function(_0x412062,_0x111b60){const _0x507ecc=_0x807de9;return Rt(_0x412062,''[_0x507ecc(0x367)](_0x286f5d,'-')[_0x507ecc(0x367)](_0x135eb4[_0x507ecc(0x3f4)],'-')[_0x507ecc(0x367)](_0x111b60),_0x4511c8,void 0x0,_0x18ad9a);}));}function ki(_0x5c2d22,_0x3ccf0d,_0x3aa32d){const _0x5d2fa8=_0x957043;var _0x22e56d=v({},_0x5c2d22['attrs']);_0x3aa32d!=null&&_0x3aa32d[_0x5d2fa8(0x2f7)]&&_0x22e56d[_0x5d2fa8(0x32f)]===_0x5d2fa8(0x2f7)&&(_0x22e56d['fill']=_0x3aa32d[_0x5d2fa8(0x2f7)]),_0x5c2d22[_0x5d2fa8(0x3f4)]===_0x5d2fa8(0x20b)&&_0x22e56d['id']&&(_0x22e56d['id']=_0x22e56d['id']+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0x21ada5){const _0x2a2800=_0x5d2fa8;var _0x2f3e28=_0x21ada5[0x0],_0x317927=_0x21ada5[0x1];_0x2f3e28==='mask'&&typeof _0x317927=='string'&&(_0x22e56d[_0x2f3e28]=_0x317927[_0x2a2800(0x352)](/url\(#(.*)\)/,_0x2a2800(0x389)[_0x2a2800(0x367)](_0x3ccf0d['idSuffix'],')')));});var _0x50e0df=_0x3ccf0d['defIds'];return!_0x50e0df||_0x50e0df['length']===0x0||(_0x5c2d22['tag']===_0x5d2fa8(0x26e)&&_0x22e56d[_0x5d2fa8(0x2ed)]&&(_0x22e56d[_0x5d2fa8(0x2ed)]=_0x22e56d[_0x5d2fa8(0x2ed)]+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0xaaee0f){const _0x564354=_0x5d2fa8;var _0x17e2a8=_0xaaee0f[0x0],_0xb54065=_0xaaee0f[0x1];typeof _0xb54065==_0x564354(0x381)&&(_0x22e56d[_0x17e2a8]=_0xb54065[_0x564354(0x352)](/url\(#(.*)\)/,'url(#$1'[_0x564354(0x367)](_0x3ccf0d[_0x564354(0x3d6)],')')));})),_0x22e56d;}function Hi(_0x12305a,_0x5dc4bf){const _0x532cbe=_0x957043;var _0x529733,_0x5aa15b=_0x5dc4bf[_0x532cbe(0x250)];return!_0x5aa15b||_0x5aa15b[_0x532cbe(0x3d8)]===0x0?_0x12305a:_0x12305a[_0x532cbe(0x3f4)]===_0x532cbe(0x29a)&&(!((_0x529733=_0x12305a[_0x532cbe(0x22b)])===null||_0x529733===void 0x0)&&_0x529733['length'])?v(v({},_0x12305a),{'children':_0x12305a['children'][_0x532cbe(0x3d3)](function(_0x315af1){const _0x47f42c=_0x532cbe;return typeof _0x315af1[_0x47f42c(0x3da)]['id']==_0x47f42c(0x381)&&_0x5aa15b&&_0x5aa15b[_0x47f42c(0x2ae)](_0x315af1[_0x47f42c(0x3da)]['id'])?v(v({},_0x315af1),{'attrs':v(v({},_0x315af1[_0x47f42c(0x3da)]),{'id':_0x315af1[_0x47f42c(0x3da)]['id']+_0x5dc4bf[_0x47f42c(0x3d6)]})}):_0x315af1;})}):_0x12305a;}function ji(){const _0x5dc45f=_0x957043;return Math[_0x5dc45f(0x2d0)]()[_0x5dc45f(0x2d2)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x957043(0x279);var Yi={'tag':_0x957043(0x261),'attrs':{'xmlns':_0x957043(0x210),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2ca)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'stroke':'currentColor','d':_0x957043(0x369),'strokeLinecap':'round','strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x957043(0x37a)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x30f0d5(function(_0x51daaa,_0x27d8ed){const _0x16a0fc=_0x957043;return _0x240f9b(je,Object['assign']({},_0x51daaa,{'id':_0x16a0fc(0x226),'ref':_0x27d8ed,'icon':Yi}));});Dt[_0x957043(0x297)]=_0x957043(0x275);var Fi={'tag':_0x957043(0x261),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x957043(0x31e),'viewBox':'0\x200\x2017\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2c5)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x957043(0x2f9),'strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x957043(0x29a),'attrs':{},'children':[{'tag':_0x957043(0x3d5),'attrs':{'id':_0x957043(0x206)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296),'transform':_0x957043(0x208)}}]}]}],'defIds':[_0x957043(0x206)]},Nt=_0x30f0d5(function(_0x206459,_0x188777){const _0x28f667=_0x957043;return _0x240f9b(je,Object['assign']({},_0x206459,{'id':_0x28f667(0x22c),'ref':_0x188777,'icon':Fi}));});Nt[_0x957043(0x297)]=_0x957043(0x262);function Wi(_0x35f184){const _0x509274=_0x957043;switch(_0x35f184){case _0x381834[_0x509274(0x240)]:return _0x509274(0x23e);case _0x381834[_0x509274(0x28a)]:return _0x509274(0x21e);case _0x381834[_0x509274(0x321)]:return _0x509274(0x228);case _0x381834[_0x509274(0x23c)]:return _0x509274(0x3b1);case _0x381834[_0x509274(0x338)]:case _0x381834['AWAITING_WITH_PENDING']:return _0x509274(0x3e1);case _0x381834[_0x509274(0x289)]:case _0x381834[_0x509274(0x3ba)]:return _0x509274(0x2a6);}}function Vi(_0x14db9d){const _0x54a8de=_0x957043,{status$:_0xb933e2}=_0x14db9d,_0x2dd854=_0xf8189f(_0xb933e2,_0x381834['NOT_COLLAB']),_0x5680f7=_0x2f5b7c(_0x1476d7),_0x554f6e=_0x2f5b7c(_0x339ffc),_0x23aae3=_0x2dd854!==_0x381834[_0x54a8de(0x240)],_0xaddda6=_0x5680f7['t'](Wi(_0x2dd854)),_0x26094c=_0x23aae3?_0x35b522(Nt,{}):_0x35b522(Dt,{}),_0x3088ab=_0xcd9872(()=>{const _0x3fa734=_0x54a8de;_0x23aae3||_0x554f6e[_0x3fa734(0x37b)]();},[_0x23aae3,_0x554f6e]);function _0x35a9c9(){const _0x1b8bc2=_0x54a8de;return _0x34beb4(_0x1b8bc2(0x282),{'className':'univer-flex\x20univer-items-center','onClick':_0x3088ab,'children':[_0x35b522(_0x1b8bc2(0x282),{'className':_0x2074e2('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x23aae3,'univer-text-red-500':!_0x23aae3}),'children':_0x26094c}),_0x35b522('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xaddda6})]});}return _0x23aae3?_0x35a9c9():_0x35b522(_0x43bb58,{'title':_0x5680f7['t']('collab-client.tooltip.reconnect'),'children':_0x35a9c9()});}var Xi=Object[_0x957043(0x3e8)],Gi=(_0x4939ea,_0x420fc3,_0x4e0d20,_0x39fb3c)=>{const _0x2dd9aa=_0x957043;for(var _0x250293=_0x39fb3c>0x1?void 0x0:_0x39fb3c?Xi(_0x420fc3,_0x4e0d20):_0x420fc3,_0x456378=_0x4939ea[_0x2dd9aa(0x3d8)]-0x1,_0x30e20d;_0x456378>=0x0;_0x456378--)(_0x30e20d=_0x4939ea[_0x456378])&&(_0x250293=_0x30e20d(_0x250293)||_0x250293);return _0x250293;},Q=(_0x2b3d21,_0x385284)=>(_0x25d579,_0x4990a2)=>_0x385284(_0x25d579,_0x4990a2,_0x2b3d21);let te=class extends _0x4a6261{constructor(_0x4ce1c4,_0x1b947b,_0x4b16e0,_0x1a559d){const _0xb1e43a=_0x957043;super(),_(this,_0xb1e43a(0x28d),new _0x3dfdee(_0x381834[_0xb1e43a(0x23c)])),(this[_0xb1e43a(0x1f1)]=_0x4ce1c4,this['_injector']=_0x1b947b,this[_0xb1e43a(0x284)]=_0x4b16e0,this[_0xb1e43a(0x393)]=_0x1a559d,this[_0xb1e43a(0x3df)](),this[_0xb1e43a(0x2e3)]());}[_0x957043(0x2e3)](){const _0x26fca2=_0x957043;this[_0x26fca2(0x32b)](this['_univerInstanceService'][_0x26fca2(0x3ed)]['pipe'](_0xf18957(()=>{const _0x40e699=_0x26fca2,_0x1f06c6=this['_univerInstanceService'][_0x40e699(0x2b7)]();return _0x1f06c6?this['_collaborationController']['getCollabEntity$'](_0x1f06c6[_0x40e699(0x2f6)]()):_0x21ae2d(null);}),_0xf18957(_0xdc6dc0=>_0xdc6dc0?_0xdc6dc0[_0x26fca2(0x2d1)]:_0x21ae2d(_0x381834[_0x26fca2(0x23c)])))[_0x26fca2(0x3a6)](_0x1b3baf=>{const _0x2c0f76=_0x26fca2;this[_0x2c0f76(0x28d)][_0x2c0f76(0x3c9)](_0x1b3baf);}));}[_0x957043(0x3df)](){const _0x4e73dc=_0x957043;this['disposeWithMe'](this['_uiPartsService'][_0x4e73dc(0x2e6)](_0x313ed3['HEADER_MENU'],()=>_0x171d4c(Ki({'status$':this['_status$']['asObservable']()}),this[_0x4e73dc(0x267)])));}};te=Gi([Q(0x0,_0x16f134),Q(0x1,_0x79b2b4(_0x2f259a)),Q(0x2,_0x79b2b4(_0xb4f4a1)),Q(0x3,_0x386d61)],te);function Ki(_0x5e92cb){const {status$:_0x46c8a6}=_0x5e92cb;return function(){return _0x35b522(Vi,{'status$':_0x46c8a6});};}var zi=Object[_0x957043(0x3e8)],Ji=(_0xc8efaf,_0x4f9c42,_0x21ca22,_0x8f7ae8)=>{const _0x2f623e=_0x957043;for(var _0x280325=_0x8f7ae8>0x1?void 0x0:_0x8f7ae8?zi(_0x4f9c42,_0x21ca22):_0x4f9c42,_0x2f2dcb=_0xc8efaf[_0x2f623e(0x3d8)]-0x1,_0x2c830f;_0x2f2dcb>=0x0;_0x2f2dcb--)(_0x2c830f=_0xc8efaf[_0x2f2dcb])&&(_0x280325=_0x2c830f(_0x280325)||_0x280325);return _0x280325;},B=(_0x521c64,_0x315ae7)=>(_0x1792d1,_0x4dff8e)=>_0x315ae7(_0x1792d1,_0x4dff8e,_0x521c64);let se=class extends _0x4a6261{constructor(_0x18847a,_0x46a9bd,_0x2b2ed4,_0x4606d6,_0x1e931c,_0x215bee){const _0x195ad7=_0x957043;super(),this[_0x195ad7(0x36e)]=_0x18847a,this[_0x195ad7(0x340)]=_0x46a9bd,this[_0x195ad7(0x3e9)]=_0x2b2ed4,this[_0x195ad7(0x3bf)]=_0x4606d6,this[_0x195ad7(0x2dd)]=_0x1e931c,this[_0x195ad7(0x25a)]=_0x215bee,this[_0x195ad7(0x2e9)](),this['_initEvent']();}[_0x957043(0x2e9)](){const _0x54f54b=_0x957043;this['disposeWithMe'](this[_0x54f54b(0x36e)][_0x54f54b(0x2ff)](()=>{const _0x47d967=_0x54f54b;if(this[_0x47d967(0x340)][_0x47d967(0x2e7)][_0x47d967(0x342)])return this[_0x47d967(0x25a)]['t'](_0x47d967(0x3ee));}));}[_0x957043(0x309)](){const _0x28aee8=_0x957043;this[_0x28aee8(0x32b)](this[_0x28aee8(0x3e9)][_0x28aee8(0x202)][_0x28aee8(0x3a6)](_0x4ec1d1=>{const _0x44b012=_0x28aee8;_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x33f)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t']('collaboration.single-unit.warning')}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3f0)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0['Warning'],'content':this['_localeService']['t'](_0x44b012(0x25b))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x326)]&&this[_0x44b012(0x2dd)][_0x44b012(0x299)]({'title':this[_0x44b012(0x25a)]['t'](_0x44b012(0x347)),'content':this[_0x44b012(0x25a)]['t']('permission.content'),'type':_0x44b012(0x219),'duration':0x0}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x28a)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x25b))+'('+_0x4ec1d1['data']+')'}),_0x4ec1d1['id']===_0x55ae13['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x4ec1d1[_0x44b012(0x301)]||'')}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x1f0))}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x36c)],'content':this['_localeService']['t'](_0x44b012(0x314))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3ca)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x211))});}));}};se=Ji([B(0x0,_0x9a44af),B(0x1,_0x5a319b),B(0x2,_0x79b2b4(_0x53f425)),B(0x3,_0x4db31f),B(0x4,_0xec7202),B(0x5,_0x79b2b4(_0x1476d7))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0xe327bc('uni.network.url-service');var Qi=Object[_0x957043(0x3e8)],qi=(_0x48c957,_0x1983c6,_0x2858a6,_0x20fd23)=>{for(var _0x1809d=_0x20fd23>0x1?void 0x0:_0x20fd23?Qi(_0x1983c6,_0x2858a6):_0x1983c6,_0x5d994a=_0x48c957['length']-0x1,_0x4c2fa1;_0x5d994a>=0x0;_0x5d994a--)(_0x4c2fa1=_0x48c957[_0x5d994a])&&(_0x1809d=_0x4c2fa1(_0x1809d)||_0x1809d);return _0x1809d;},G=(_0x30a600,_0x55a975)=>(_0x5eae33,_0x597dbb)=>_0x55a975(_0x5eae33,_0x597dbb,_0x30a600);let ie=class extends _0x22c522{constructor(_0x36eb5e,_0x2095ea,_0x2743f8,_0x2b0457,_0x59f837){const _0x28d360=_0x957043;super(),this[_0x28d360(0x3d7)]=_0x36eb5e,this[_0x28d360(0x3e2)]=_0x2095ea,this['_commandService']=_0x2743f8,this[_0x28d360(0x2f4)]=_0x2b0457,_0x59f837?_0x59f837==null||_0x59f837[_0x28d360(0x225)]()[_0x28d360(0x2f8)](()=>this[_0x28d360(0x3b9)]()):(this[_0x28d360(0x3e2)][_0x28d360(0x2d9)](_0x28d360(0x2d8),_0x28d360(0x32a)),this[_0x28d360(0x3b9)]());}async['_init'](){const _0x191593=_0x957043,_0x5c734a=this[_0x191593(0x3d7)][_0x191593(0x38c)]('unit'),_0xc93a28=this['_urlService'][_0x191593(0x38c)](_0x191593(0x276)),_0x1c90e2=this[_0x191593(0x3d7)]['getParam'](_0x191593(0x24c));if(!_0x5c734a||!_0xc93a28){this[_0x191593(0x3e2)][_0x191593(0x2d9)]('[CollaborationDataLoaderController]',_0x191593(0x38b));return;}const _0x36b9dc=await this['_dataLoaderService'][_0x191593(0x2fa)](_0x5c734a,Number(_0xc93a28),_0x1c90e2);_0x36b9dc&&_0x36b9dc instanceof _0x479841&&this[_0x191593(0x32d)](_0x36b9dc);}async[_0x957043(0x32d)](_0x10bbad){const _0x5e0eb0=_0x957043;await this[_0x5e0eb0(0x25d)](_0x10bbad),_0x10bbad[_0x5e0eb0(0x363)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))[_0x5e0eb0(0x3a6)](_0x31ece6=>{_0x31ece6&&this['_updateURLWithCurrentState'](_0x31ece6);}),this['_urlService'][_0x5e0eb0(0x271)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))['subscribe'](()=>this[_0x5e0eb0(0x25d)](_0x10bbad));}[_0x957043(0x3f3)](_0x24113a,_0x1d1537=!0x1){const _0x1096e4=_0x957043,_0xec338f=this['_urlService']['getParam']('subunit');_0x24113a[_0x1096e4(0x2fc)]()!==_0xec338f&&this[_0x1096e4(0x3d7)][_0x1096e4(0x2e5)](_0x1096e4(0x24c),_0x24113a[_0x1096e4(0x2fc)](),_0x1d1537);}async[_0x957043(0x25d)](_0x30c9c7){const _0x356c92=_0x957043;var _0x2c981d;const _0x3e8d52=this[_0x356c92(0x3d7)][_0x356c92(0x38c)]('subunit');if(!_0x3e8d52||!_0x30c9c7[_0x356c92(0x2fd)](_0x3e8d52)){const _0x225b1f=_0x30c9c7[_0x356c92(0x253)]()[0x0],_0x4ca3f8=_0x30c9c7[_0x356c92(0x2fd)](_0x225b1f);if(!_0x4ca3f8)return;this['_updateURLWithCurrentState'](_0x4ca3f8,!0x0),await this[_0x356c92(0x2c2)]['executeCommand'](_0x110d33['id'],{'unitId':_0x30c9c7[_0x356c92(0x2f6)](),'subUnitId':_0x225b1f});return;}((_0x2c981d=_0x30c9c7[_0x356c92(0x3dc)]())==null?void 0x0:_0x2c981d[_0x356c92(0x2fc)]())!==_0x3e8d52&&await this[_0x356c92(0x2c2)][_0x356c92(0x36d)](_0x110d33['id'],{'unitId':_0x30c9c7['getUnitId'](),'subUnitId':_0x3e8d52});}};ie=qi([G(0x0,Ut),G(0x1,_0x2e1383),G(0x2,_0x46c5a2),G(0x3,_0x79b2b4(_0x1fab07)),G(0x4,_0x21772a(_0x3a4cf1))],ie);var en=Object[_0x957043(0x3e8)],tn=(_0x20d113,_0x3339a6,_0x5acce7,_0x30b168)=>{const _0x58555f=_0x957043;for(var _0x222298=_0x30b168>0x1?void 0x0:_0x30b168?en(_0x3339a6,_0x5acce7):_0x3339a6,_0x45f9e6=_0x20d113[_0x58555f(0x3d8)]-0x1,_0x2bb8ed;_0x45f9e6>=0x0;_0x45f9e6--)(_0x2bb8ed=_0x20d113[_0x45f9e6])&&(_0x222298=_0x2bb8ed(_0x222298)||_0x222298);return _0x222298;},pe=(_0x3b7ee8,_0x83f85c)=>(_0x42de23,_0x3d047e)=>_0x83f85c(_0x42de23,_0x3d047e,_0x3b7ee8);let ne=class{constructor(_0x35bd56,_0x5e20c7,_0x3faf83){const _0x54e17f=_0x957043;this[_0x54e17f(0x267)]=_0x35bd56,this[_0x54e17f(0x30f)]=_0x5e20c7,this[_0x54e17f(0x26f)]=_0x3faf83;}['transformIMECache'](_0x331ef1){const _0x5eb622=_0x957043;this[_0x5eb622(0x246)](_0x331ef1),this[_0x5eb622(0x39e)](_0x331ef1);}['transformRemoteChangeset'](_0x577335){const _0x195439=_0x957043,{unitID:_0x4767c4}=_0x577335,_0xb539a4=this[_0x195439(0x26f)][_0x195439(0x1f8)](_0x4767c4)[_0x195439(0x38e)](_0x598aad),{redoCache:_0x418a0f}=_0xb539a4[_0x195439(0x29d)]();if(_0x418a0f['length']===0x0)return _0x577335;let _0x3fa7f4=_0x5b06e2[_0x195439(0x22f)](_0x577335[_0x195439(0x278)][0x0]);for(let _0x1b74d8=0x0;_0x1b74d8<_0x418a0f[_0x195439(0x3d8)];_0x1b74d8++){const _0x147557={'id':_0x195439(0x254),'params':{..._0x418a0f[_0x1b74d8]}},_0x5d5096=this[_0x195439(0x30f)]['transformMutation'](_0x3fa7f4,_0x147557,!0x1);if(_0x7a4ffe(_0x5d5096))throw _0x5d5096[_0x195439(0x219)];_0x3fa7f4=_0x5d5096['m1Prime'];}return{..._0x5b06e2[_0x195439(0x22f)](_0x577335),'mutations':[_0x3fa7f4]};}[_0x957043(0x246)](_0x2826c9){const _0x1c493e=_0x957043,{unitID:_0x5c797e}=_0x2826c9,_0x327d93=this[_0x1c493e(0x26f)][_0x1c493e(0x1f8)](_0x5c797e)[_0x1c493e(0x38e)](_0x598aad),{undoCache:_0x55affb,redoCache:_0x118ee3}=_0x327d93[_0x1c493e(0x29d)]();if(_0x55affb[_0x1c493e(0x3d8)]===0x0||_0x118ee3[_0x1c493e(0x3d8)]===0x0)return;const _0x1f557a=[],_0x82c7e=[];let _0x8c302b=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]),_0x1ea9bf=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]);for(let _0xd5db5d=_0x55affb[_0x1c493e(0x3d8)]-0x1;_0xd5db5d>=0x0;_0xd5db5d--){const _0x4dbe6b={'id':'doc.mutation.rich-text-editing','params':{..._0x55affb[_0xd5db5d]}},_0x1373d8={'id':'doc.mutation.rich-text-editing','params':{..._0x118ee3[_0xd5db5d]}},_0x3e464d=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x8c302b,_0x4dbe6b,!0x1),_0x43b831=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x1ea9bf,_0x1373d8,!0x1);if(_0x7a4ffe(_0x3e464d))throw _0x3e464d[_0x1c493e(0x219)];if(_0x7a4ffe(_0x43b831))throw _0x43b831[_0x1c493e(0x219)];_0x1f557a['unshift'](_0x3e464d['m2Prime'][_0x1c493e(0x385)]),_0x82c7e[_0x1c493e(0x3c7)](_0x43b831[_0x1c493e(0x2fb)][_0x1c493e(0x385)]),_0x8c302b=_0x3e464d['m1Prime'],_0x1ea9bf=_0x43b831['m1Prime'];}_0x327d93[_0x1c493e(0x27b)]({'undoCache':_0x1f557a,'redoCache':_0x82c7e});}[_0x957043(0x39e)](_0x192713){const _0x2b83f3=_0x957043,{unitID:_0x5d6e03}=_0x192713,_0x57b664=this[_0x2b83f3(0x26f)][_0x2b83f3(0x1f8)](_0x5d6e03)['with'](_0x598aad),_0x9a916d=_0x57b664[_0x2b83f3(0x327)]();if(_0x9a916d==null)return;const _0x2eea65=[{'id':_0x2b83f3(0x254),'params':{'unitId':_0x192713[_0x2b83f3(0x215)],'actions':null,'textRanges':[_0x9a916d]}}],_0x2068fa=this[_0x2b83f3(0x30f)][_0x2b83f3(0x2cf)](_0x192713,_0x2eea65);if(!_0x55936b(_0x2068fa))throw _0x2068fa['error'];const _0x4820d6=_0x2068fa['m2Prime'][0x0][_0x2b83f3(0x385)][_0x2b83f3(0x375)];Array[_0x2b83f3(0x303)](_0x4820d6)&&_0x4820d6[_0x2b83f3(0x3d8)]&&_0x57b664[_0x2b83f3(0x251)](_0x4820d6[0x0]);}};ne=tn([pe(0x0,_0x79b2b4(_0x2f259a)),pe(0x1,_0x417ff5),pe(0x2,_0x47cbf5)],ne);var sn=Object[_0x957043(0x3e8)],nn=(_0x483767,_0x1e8100,_0x2e913a,_0x53f907)=>{const _0x307d67=_0x957043;for(var _0x10d62e=_0x53f907>0x1?void 0x0:_0x53f907?sn(_0x1e8100,_0x2e913a):_0x1e8100,_0x555a2f=_0x483767[_0x307d67(0x3d8)]-0x1,_0x57d244;_0x555a2f>=0x0;_0x555a2f--)(_0x57d244=_0x483767[_0x555a2f])&&(_0x10d62e=_0x57d244(_0x10d62e)||_0x10d62e);return _0x10d62e;},Ce=(_0x221600,_0x16623a)=>(_0x27ae3f,_0x96de15)=>_0x16623a(_0x27ae3f,_0x96de15,_0x221600);let re=class{constructor(_0xd33bab,_0x4cd51f,_0x568f44){const _0x30bae5=_0x957043;this[_0x30bae5(0x267)]=_0xd33bab,this[_0x30bae5(0x30f)]=_0x4cd51f,this['_docStateChangeManagerService']=_0x568f44;}[_0x957043(0x384)](_0x2be115){const _0x4fd0f1=_0x957043;this[_0x4fd0f1(0x274)](_0x2be115);}[_0x957043(0x2c0)](_0x2cb39a){const _0x1bcfa0=_0x957043,{unitID:_0x5d5d6b}=_0x2cb39a,{collaboration:_0x3062a8}=this['_docStateChangeManagerService'][_0x1bcfa0(0x3e0)](_0x5d5d6b);if(_0x3062a8[_0x1bcfa0(0x3d8)]===0x0)return _0x2cb39a;let _0x3428fc=_0x5b06e2['deepClone'](_0x2cb39a['mutations'][0x0]);for(let _0x22c453=0x0;_0x22c453<_0x3062a8['length'];_0x22c453++){const _0x5bf778={'id':_0x1bcfa0(0x254),'params':{'unitId':_0x3062a8[_0x22c453][_0x1bcfa0(0x30d)],..._0x3062a8[_0x22c453][_0x1bcfa0(0x397)]}},_0xd6601=this[_0x1bcfa0(0x30f)][_0x1bcfa0(0x356)](_0x3428fc,_0x5bf778,!0x1);if(_0x7a4ffe(_0xd6601))throw _0xd6601['error'];_0x3428fc=_0xd6601[_0x1bcfa0(0x307)];}return{..._0x5b06e2['deepClone'](_0x2cb39a),'mutations':[_0x3428fc]};}['_transformHistoryAndStateStack'](_0x223393){const _0x5f3895=_0x957043,{unitID:_0x22b3f2}=_0x223393,{history:_0xfa1044,collaboration:_0x26b133}=this['_docStateChangeManagerService'][_0x5f3895(0x3e0)](_0x22b3f2);if(_0xfa1044[_0x5f3895(0x3d8)]===0x0&&_0x26b133[_0x5f3895(0x3d8)]===0x0)return;const _0x2c2b6d=[],_0x367952=[];let _0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393['mutations'][0x0]);for(let _0x42a0f5=_0xfa1044[_0x5f3895(0x3d8)]-0x1;_0x42a0f5>=0x0;_0x42a0f5--){const _0x2a736a={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5]['unitId'],..._0xfa1044[_0x42a0f5]['undoState']}},_0x11c97e={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5][_0x5f3895(0x30d)],..._0xfa1044[_0x42a0f5][_0x5f3895(0x397)]}},_0x59d9a3=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x2a736a,!0x1),_0xc0e73f=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4ef1bb,_0x11c97e,!0x1);if(_0x7a4ffe(_0x59d9a3))throw _0x59d9a3[_0x5f3895(0x219)];if(_0x7a4ffe(_0xc0e73f))throw _0xc0e73f['error'];_0x2c2b6d[_0x5f3895(0x3c7)]({..._0xfa1044[_0x42a0f5],'undoState':_0x59d9a3[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0xc0e73f['m2Prime'][_0x5f3895(0x385)]}),_0x4d55b3=_0x59d9a3['m1Prime'],_0x4ef1bb=_0xc0e73f['m1Prime'];}_0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]);for(let _0x38cff5=_0x26b133[_0x5f3895(0x3d8)]-0x1;_0x38cff5>=0x0;_0x38cff5--){const _0x17f5da={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5][_0x5f3895(0x30d)],..._0x26b133[_0x38cff5][_0x5f3895(0x2e0)]}},_0x40effe={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5]['unitId'],..._0x26b133[_0x38cff5][_0x5f3895(0x397)]}},_0x19c0a0=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x17f5da,!0x1),_0x509826=this[_0x5f3895(0x30f)]['transformMutation'](_0x4ef1bb,_0x40effe,!0x1);if(_0x7a4ffe(_0x19c0a0))throw _0x19c0a0[_0x5f3895(0x219)];if(_0x7a4ffe(_0x509826))throw _0x509826[_0x5f3895(0x219)];_0x367952[_0x5f3895(0x3c7)]({..._0x26b133[_0x38cff5],'undoState':_0x19c0a0[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0x509826[_0x5f3895(0x2fb)][_0x5f3895(0x385)]}),_0x4d55b3=_0x19c0a0[_0x5f3895(0x307)],_0x4ef1bb=_0x509826[_0x5f3895(0x307)];}this[_0x5f3895(0x224)][_0x5f3895(0x3d2)](_0x22b3f2,{'history':_0x2c2b6d,'collaboration':_0x367952});}};re=nn([Ce(0x0,_0x79b2b4(_0x2f259a)),Ce(0x1,_0x417ff5),Ce(0x2,_0x79b2b4(_0x31daa2))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x885178,_0x94d148,_0x25427e,_0x297bb0)=>{const _0x369752=_0x957043;for(var _0x414107=_0x297bb0>0x1?void 0x0:_0x297bb0?rn(_0x94d148,_0x25427e):_0x94d148,_0x25c9f9=_0x885178[_0x369752(0x3d8)]-0x1,_0x32db1a;_0x25c9f9>=0x0;_0x25c9f9--)(_0x32db1a=_0x885178[_0x25c9f9])&&(_0x414107=_0x32db1a(_0x414107)||_0x414107);return _0x414107;},tt=(_0x3bd099,_0x5ea602)=>(_0x4e94db,_0x2829d9)=>_0x5ea602(_0x4e94db,_0x2829d9,_0x3bd099);let oe=class{constructor(_0x13e5c7,_0x51a8a9){const _0x57694a=_0x957043;this['_injector']=_0x13e5c7,this[_0x57694a(0x30f)]=_0x51a8a9;}['transformSelections'](_0x23f9aa){const _0xba9ec0=_0x957043;var _0x59b4e5;const _0x23fac9=this['_injector'][_0xba9ec0(0x379)](_0x50dd36),_0x409bd6=(_0x59b4e5=_0x23fac9[_0xba9ec0(0x2a3)]())!=null?_0x59b4e5:[];if(_0x409bd6[_0xba9ec0(0x3d8)]===0x0)return;const _0x43c06d=_0x23f9aa[_0xba9ec0(0x215)],_0xec58fd=[{'id':_0xba9ec0(0x254),'params':{'unitId':_0x43c06d,'actions':null,'textRanges':_0x409bd6}}],_0x139bdc=this[_0xba9ec0(0x30f)][_0xba9ec0(0x2cf)](_0x23f9aa,_0xec58fd);if(!_0x55936b(_0x139bdc))throw _0x139bdc[_0xba9ec0(0x219)];const _0x10a0bb=_0x139bdc[_0xba9ec0(0x2fb)][0x0][_0xba9ec0(0x385)][_0xba9ec0(0x375)];Array[_0xba9ec0(0x303)](_0x10a0bb)&&_0x10a0bb[_0xba9ec0(0x3d8)]&&_0x23fac9[_0xba9ec0(0x300)](_0x10a0bb,{'unitId':_0x43c06d,'subUnitId':_0x43c06d},!0x1);}};oe=on([tt(0x0,_0x79b2b4(_0x2f259a)),tt(0x1,_0x417ff5)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x260b3e,_0x1070ba,_0x5b70b2,_0xa3935f)=>{for(var _0x126024=_0xa3935f>0x1?void 0x0:_0xa3935f?an(_0x1070ba,_0x5b70b2):_0x1070ba,_0x219d1d=_0x260b3e['length']-0x1,_0x430d1a;_0x219d1d>=0x0;_0x219d1d--)(_0x430d1a=_0x260b3e[_0x219d1d])&&(_0x126024=_0x430d1a(_0x126024)||_0x126024);return _0x126024;},U=(_0x9cfa95,_0x4cf28a)=>(_0x14e166,_0x5b2429)=>_0x4cf28a(_0x14e166,_0x5b2429,_0x9cfa95);let ae=class extends _0x4a6261{constructor(_0x38ead8,_0x57b153,_0x184cd0,_0x48681b,_0x42c082,_0x10b1ad,_0x46fc48,_0x211e94){const _0x517b93=_0x957043;super(),_(this,_0x517b93(0x28d),new _0x3dfdee(_0x381834[_0x517b93(0x23c)])),(this[_0x517b93(0x224)]=_0x38ead8,this[_0x517b93(0x284)]=_0x57b153,this[_0x517b93(0x2c8)]=_0x184cd0,this[_0x517b93(0x3bd)]=_0x48681b,this['_docTransformSelectionsService']=_0x42c082,this[_0x517b93(0x26b)]=_0x10b1ad,this['_messageService']=_0x46fc48,this[_0x517b93(0x25a)]=_0x211e94,this['_initEntityListener']());}[_0x957043(0x204)](){const _0x262041=_0x957043;this[_0x262041(0x32b)](this['_collaborationController'][_0x262041(0x2c4)]['subscribe'](_0x162961=>{const _0x3e77a0=_0x262041,_0x462937=this[_0x3e77a0(0x224)]['docStateChange$'][_0x3e77a0(0x3a6)](_0x5a38a8=>{const _0x56d76f=_0x3e77a0;if(_0x5a38a8==null)return;const {unitId:_0x2d302a,redoState:_0x18ffc5,commandId:_0x353fcd}=_0x5a38a8;if(_0x2d302a!==_0x162961[_0x56d76f(0x215)])return;const _0x715dc4={'id':_0x353fcd,'type':_0x474b7f[_0x56d76f(0x223)],'params':{'unitId':_0x2d302a,'actions':_0x18ffc5[_0x56d76f(0x3b6)],'textRanges':null}};_0x162961[_0x56d76f(0x3a5)](_0x715dc4);});if(_0x162961[_0x3e77a0(0x32b)](_0x462937),_0x162961 instanceof _0x15a596){const _0x51b417={'onTransformIME':_0x2c8d72=>this[_0x3e77a0(0x2c8)][_0x3e77a0(0x336)](_0x2c8d72),'onTransformState':_0x323518=>this[_0x3e77a0(0x3bd)][_0x3e77a0(0x384)](_0x323518),'onTransformSelections':_0x16d95b=>this[_0x3e77a0(0x283)]['transformSelections'](_0x16d95b),'onSyncEditingCollabCursor':_0x42e347=>this[_0x3e77a0(0x26b)][_0x3e77a0(0x29c)](_0x42e347),'onTransformRemoteChangesetByIMECache':_0x48f8b2=>this['_docTransformIMECacheService'][_0x3e77a0(0x2c0)](_0x48f8b2),'onTransformRemoteChangesetByStateCache':_0x4f2da8=>this['_docTransformStateCacheService'][_0x3e77a0(0x2c0)](_0x4f2da8)};_0x162961['addHandlerCallback'](_0x51b417);}}));}};ae=cn([U(0x0,_0x79b2b4(_0x31daa2)),U(0x1,_0x79b2b4(_0xb4f4a1)),U(0x2,_0x79b2b4(ne)),U(0x3,_0x79b2b4(re)),U(0x4,_0x79b2b4(oe)),U(0x5,_0x79b2b4(He)),U(0x6,_0x4db31f),U(0x7,_0x79b2b4(_0x1476d7))],ae);var ln=Object[_0x957043(0x3e8)],_n=(_0x2ebd5e,_0xd3201b,_0x56a0a5,_0x15a4d5)=>{const _0x1bde5c=_0x957043;for(var _0x32b4cc=_0x15a4d5>0x1?void 0x0:_0x15a4d5?ln(_0xd3201b,_0x56a0a5):_0xd3201b,_0x551d95=_0x2ebd5e[_0x1bde5c(0x3d8)]-0x1,_0x982deb;_0x551d95>=0x0;_0x551d95--)(_0x982deb=_0x2ebd5e[_0x551d95])&&(_0x32b4cc=_0x982deb(_0x32b4cc)||_0x32b4cc);return _0x32b4cc;},Ee=(_0x14bb77,_0x474cd0)=>(_0x46da52,_0x4ec542)=>_0x474cd0(_0x46da52,_0x4ec542,_0x14bb77);let Le=class extends _0x4a6261{constructor(_0x4f4749,_0x513b9b,_0x222ea3){const _0x5eedc7=_0x957043;super(),_(this,_0x5eedc7(0x247),new Map()),_(this,_0x5eedc7(0x234),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x4f4749,this[_0x5eedc7(0x386)]=_0x513b9b,this[_0x5eedc7(0x285)]=_0x222ea3);}[_0x957043(0x3a0)](){const _0x2d7cb4=_0x957043;this[_0x2d7cb4(0x3b5)]=!0x0;}[_0x957043(0x23b)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x55a4dc=_0x957043;return this[_0x55a4dc(0x234)];}['dispose'](){const _0x1e82b0=_0x957043;this[_0x1e82b0(0x213)]()[_0x1e82b0(0x2f8)](()=>super['dispose']());}async[_0x957043(0x1f7)](_0x499163){const _0x84b472=_0x957043;return this[_0x84b472(0x3b5)]?null:this[_0x84b472(0x386)][_0x84b472(0x3c2)](_0x40f1fa(_0x499163));}async[_0x957043(0x355)](_0x2417e2,_0x255b8c){return!!this['_localStorageService']['setItem'](_0x2417e2,_0x255b8c);}[_0x957043(0x257)](_0x220291,_0x18bf7c,_0x295d88,_0x559830){const _0x2b56f6=_0x957043,_0x3d9747=this['_revisionService'][_0x2b56f6(0x311)](_0x220291);this[_0x2b56f6(0x247)][_0x2b56f6(0x332)](_0x220291,{'unitID':_0x220291,'type':_0x18bf7c,'awaitingChangeset':_0x295d88,'mutations':_0x559830,'rev':_0x3d9747}),this[_0x2b56f6(0x234)][_0x2b56f6(0x23a)](_0x220291)||this[_0x2b56f6(0x378)](_0x220291);}[_0x957043(0x378)](_0x258594){const _0x22c700=_0x957043,_0xa48b25=this[_0x22c700(0x207)]();_0xa48b25===0x0?this[_0x22c700(0x364)](_0x258594):this[_0x22c700(0x234)][_0x22c700(0x332)](_0x258594,setTimeout(()=>this[_0x22c700(0x364)](_0x258594),_0xa48b25));}['_getSaveTimeout'](){var _0x4a5b5c;return(_0x4a5b5c=this['_configService']['getConfig'](_0x401078))!=null?_0x4a5b5c:_0x21a9c4;}[_0x957043(0x364)](_0x52fba5){const _0x4cd575=_0x957043,_0x1ff893=this['_saveTaskMap'][_0x4cd575(0x379)](_0x52fba5);return _0x1ff893!==void 0x0&&window[_0x4cd575(0x3ab)](_0x1ff893),this[_0x4cd575(0x386)][_0x4cd575(0x2af)](_0x40f1fa(_0x52fba5),this[_0x4cd575(0x247)][_0x4cd575(0x379)](_0x52fba5))[_0x4cd575(0x2f8)](()=>this[_0x4cd575(0x234)][_0x4cd575(0x333)](_0x52fba5));}async[_0x957043(0x213)](){const _0x142a44=_0x957043,_0x30a75d=[];this[_0x142a44(0x234)][_0x142a44(0x3e7)]((_0x272c37,_0x10fb34)=>{const _0xba0afc=_0x142a44;window[_0xba0afc(0x3ab)](_0x272c37),_0x30a75d[_0xba0afc(0x3c4)](this[_0xba0afc(0x364)](_0x10fb34)[_0xba0afc(0x2f8)](()=>{this['_saveTaskMap']['delete'](_0x10fb34);}));}),await Promise[_0x142a44(0x3ef)](_0x30a75d);}};Le=_n([Ee(0x0,_0x1240a8),Ee(0x1,_0x39a058),Ee(0x2,_0x79b2b4(_0x1c0e24))],Le);class hn extends _0x22c522{constructor(){const _0x4e3610=_0x957043;super(),_(this,_0x4e3610(0x271)),this[_0x4e3610(0x271)]=_0x378028(window,'popstate')[_0x4e3610(0x260)](_0x35dd28(this[_0x4e3610(0x2cb)]),_0x203da3(0x1),_0x60024(void 0x0));}[_0x957043(0x2e5)](_0x50aa23,_0x1087f0,_0x5acf30=!0x1){const _0x43fd7a=_0x957043,_0xdb2617=new URL(window[_0x43fd7a(0x295)]['href']);_0xdb2617[_0x43fd7a(0x3e4)][_0x43fd7a(0x332)](_0x50aa23,_0x1087f0),_0x5acf30?window[_0x43fd7a(0x305)][_0x43fd7a(0x3e5)]('','',_0xdb2617[_0x43fd7a(0x2d2)]()):window[_0x43fd7a(0x305)][_0x43fd7a(0x243)]('','',_0xdb2617[_0x43fd7a(0x2d2)]());}[_0x957043(0x32c)](_0x2ad86e,_0xbc4fbe=!0x1){const _0x4d6350=_0x957043,_0x1e312f=new URL(window['location'][_0x4d6350(0x32e)]);_0x1e312f[_0x4d6350(0x3e4)][_0x4d6350(0x333)](_0x2ad86e),_0xbc4fbe?window['history'][_0x4d6350(0x3e5)]('','',_0x1e312f[_0x4d6350(0x2d2)]()):window[_0x4d6350(0x305)][_0x4d6350(0x243)]('','',_0x1e312f[_0x4d6350(0x2d2)]());}[_0x957043(0x38c)](_0x118917){const _0x4e44bc=_0x957043;var _0x4ab799;return(_0x4ab799=new URL(window[_0x4e44bc(0x295)]['href'])[_0x4e44bc(0x3e4)][_0x4e44bc(0x379)](_0x118917))!=null?_0x4ab799:void 0x0;}}var un=Object[_0x957043(0x380)],dn=Object[_0x957043(0x3e8)],fn=(_0x447e31,_0x568509,_0x5ab483)=>_0x568509 in _0x447e31?un(_0x447e31,_0x568509,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab483}):_0x447e31[_0x568509]=_0x5ab483,Sn=(_0x56b8cf,_0x1acabc,_0x381bb6,_0x459b21)=>{const _0xec5bc7=_0x957043;for(var _0x5c0aed=_0x459b21>0x1?void 0x0:_0x459b21?dn(_0x1acabc,_0x381bb6):_0x1acabc,_0x143c25=_0x56b8cf[_0xec5bc7(0x3d8)]-0x1,_0x2b0573;_0x143c25>=0x0;_0x143c25--)(_0x2b0573=_0x56b8cf[_0x143c25])&&(_0x5c0aed=_0x2b0573(_0x5c0aed)||_0x5c0aed);return _0x5c0aed;},Oe=(_0x45af00,_0x22a818)=>(_0x1dd26d,_0x50e2fe)=>_0x22a818(_0x1dd26d,_0x50e2fe,_0x45af00),mn=(_0x11a2b2,_0x38d2d5,_0x3efeac)=>fn(_0x11a2b2,_0x38d2d5+'',_0x3efeac);const In=_0x957043(0x302);let Ae=class extends _0x2dcb54{constructor(_0xebfd05=et,_0x345883,_0x183f1f,_0x511924){const _0x2a8a8d=_0x957043;super(),this[_0x2a8a8d(0x2ee)]=_0xebfd05,this['_renderManagerService']=_0x345883,this[_0x2a8a8d(0x267)]=_0x183f1f,this[_0x2a8a8d(0x3b4)]=_0x511924;const {..._0x42df2e}=_0x2ae923({},et,this[_0x2a8a8d(0x2ee)]);this['_configService'][_0x2a8a8d(0x3d9)](Zi,_0x42df2e);}[_0x957043(0x22e)](){const _0x2ec5cd=_0x957043;this[_0x2ec5cd(0x2d4)](),this[_0x2ec5cd(0x337)]();}['onRendered'](){const _0x116ef3=_0x957043;this[_0x116ef3(0x316)]();}['_registerDependencies'](){const _0x52ed7e=_0x957043;var _0x1bbfb5;const _0x2ed58a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31e56d,{'useClass':_0x341ba9}],[_0x5a319b,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2c55ae(this[_0x52ed7e(0x267)],_0x31859f(_0x2ed58a,(_0x1bbfb5=this['_config'])==null?void 0x0:_0x1bbfb5['override']));}[_0x957043(0x316)](){const _0x2d386a=_0x957043;this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x34e)],[we])),this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x1f5)],[Pe]));}[_0x957043(0x337)](){const _0x568135=_0x957043;_0x2c36fb(this[_0x568135(0x267)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x957043(0x1fb),In),Ae=Sn([_0x44505e(_0x2b25da),Oe(0x1,_0x47cbf5),Oe(0x2,_0x79b2b4(_0x2f259a)),Oe(0x3,_0x1240a8)],Ae);var gn=Object[_0x957043(0x3e8)],vn=(_0xaff37a,_0x2cb36d,_0x4dda4f,_0x1284db)=>{const _0x22c3ea=_0x957043;for(var _0x41aeec=_0x1284db>0x1?void 0x0:_0x1284db?gn(_0x2cb36d,_0x4dda4f):_0x2cb36d,_0x2dde54=_0xaff37a[_0x22c3ea(0x3d8)]-0x1,_0x23b3ab;_0x2dde54>=0x0;_0x2dde54--)(_0x23b3ab=_0xaff37a[_0x2dde54])&&(_0x41aeec=_0x23b3ab(_0x41aeec)||_0x41aeec);return _0x41aeec;},K=(_0xee915f,_0x37ad1e)=>(_0x4d5ff1,_0x330c48)=>_0x37ad1e(_0x4d5ff1,_0x330c48,_0xee915f);let st=class extends _0x103486{constructor(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577){super(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577);}async[_0x957043(0x2b1)](_0x3fe373){const _0x5cf00d=_0x957043,_0x1dc9db=await this[_0x5cf00d(0x2ec)](),_0x36a15b=this['_createSocketURL'](_0x3fe373,_0x1dc9db);return this[_0x5cf00d(0x35c)](_0x36a15b);}['_createSocketURL'](_0x338edd,_0x33f5bb){const _0x34c96b=_0x957043,_0x77f023=typeof window>'u'?new URL(_0x338edd):new URL(_0x338edd,window[_0x34c96b(0x295)]['origin']);_0x77f023['searchParams']['set'](_0x34c96b(0x3a7),_0x33f5bb);const _0x25bbf0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x34c96b(0x3f2)]);return _0x25bbf0['get']('runId')&&_0x77f023['searchParams'][_0x34c96b(0x332)](_0x34c96b(0x1fe),_0x25bbf0[_0x34c96b(0x379)](_0x34c96b(0x1fe))),_0x77f023[_0x34c96b(0x2d2)]();}async[_0x957043(0x2ec)](){const _0x36dc77=_0x957043;var _0x1503bd,_0x57cb2a,_0x110cc9;const _0x190fcc=this[_0x36dc77(0x3b4)][_0x36dc77(0x3cf)](_0x54b645),_0xe3ad60=(_0x1503bd=_0x190fcc==null?void 0x0:_0x190fcc[_0x36dc77(0x3ea)])!=null?_0x1503bd:_0x2c21f0;return(_0x110cc9=(_0x57cb2a=(await this[_0x36dc77(0x3c1)][_0x36dc77(0x379)](_0xe3ad60,{'headers':{'Content-Type':_0x36dc77(0x312)}}))[_0x36dc77(0x3cd)])==null?void 0x0:_0x57cb2a[_0x36dc77(0x21b)])!=null?_0x110cc9:'';}};st=vn([K(0x0,_0x79b2b4(_0x2f259a)),K(0x1,_0x79b2b4(_0x34a3dc)),K(0x2,_0x1240a8),K(0x3,_0x2e1383),K(0x4,_0x63c1ef)],st);const it=0x7530,nt=_0x957043(0x339);class jn extends _0x4a6261{constructor(){const _0x3d644f=_0x957043;super(),_(this,_0x3d644f(0x3db),_0x1e3df9()),_(this,_0x3d644f(0x24e),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x3d644f(0x323),new Map()),_(this,_0x3d644f(0x390),new Map()),this[_0x3d644f(0x3b9)]();}[_0x957043(0x3aa)](){const _0x2a54c7=_0x957043;super[_0x2a54c7(0x3aa)](),this['_clearOtherTimers']['forEach']((_0x2140e9,_0x332133)=>this['_removeClearOtherTimer'](_0x332133)),this[_0x2a54c7(0x1ee)]&&window[_0x2a54c7(0x263)](this[_0x2a54c7(0x1ee)]);}['getUnitStatus$'](_0x1b56aa){const _0x252d28=_0x957043;return this['_ensureSubject'](_0x1b56aa)[_0x252d28(0x260)](_0xb813e9());}['editingUnit'](_0x5281f0){const _0x5d58c3=_0x957043;this[_0x5d58c3(0x24e)][_0x5d58c3(0x342)]===0x0&&this[_0x5d58c3(0x2ea)](),this[_0x5d58c3(0x24e)][_0x5d58c3(0x242)](_0x5281f0),this[_0x5d58c3(0x3bc)]({'type':0x0,'memberID':this[_0x5d58c3(0x3db)],'unitIDs':[_0x5281f0],'isForwarded':!0x1});}[_0x957043(0x29f)](_0x425ddd){const _0x4b7739=_0x957043;this[_0x4b7739(0x24e)][_0x4b7739(0x333)](_0x425ddd),this[_0x4b7739(0x24e)][_0x4b7739(0x342)]===0x0&&this[_0x4b7739(0x1ee)]&&window[_0x4b7739(0x263)](this['_heartbeatTimer']);}['_init'](){const _0xffa526=_0x957043;this['disposeWithMe'](_0x197fb6(_0x378028(window,_0xffa526(0x29e))['subscribe'](_0x25b8d1=>{const _0x39194f=_0xffa526;if(_0x25b8d1[_0x39194f(0x2f1)]!==nt||!_0x25b8d1['newValue'])return;const _0x453c28=JSON[_0x39194f(0x2a2)](_0x25b8d1[_0x39194f(0x322)]);this[_0x39194f(0x1fc)](_0x453c28);}))),window[_0xffa526(0x22a)]('unload',()=>this[_0xffa526(0x3bc)]({'type':0x1,'memberID':this[_0xffa526(0x3db)],'unitIDs':Array[_0xffa526(0x2eb)](this[_0xffa526(0x24e)])}));}[_0x957043(0x1fc)](_0x5b32bb){const _0x656702=_0x957043;switch(_0x5b32bb[_0x656702(0x276)]){case 0x0:this[_0x656702(0x273)](_0x5b32bb);break;case 0x1:this['_handleLeaveEvent'](_0x5b32bb);break;case 0x2:this[_0x656702(0x31a)](_0x5b32bb);break;}}['_handleJoinEvent'](_0x1b4446){const _0x4c80ab=_0x957043,{unitIDs:_0x299db8,memberID:_0x34f713,isForwarded:_0xe5bc5b}=_0x1b4446;_0x299db8[_0x4c80ab(0x3e7)](_0x4062d3=>{const _0x5ac877=_0x4c80ab;if(!_0xe5bc5b&&this['_unitOnClients'][_0x5ac877(0x23a)](_0x4062d3)&&this[_0x5ac877(0x265)](_0x4062d3)['next'](_0x569233[_0x5ac877(0x36b)]),!this[_0x5ac877(0x248)][_0x5ac877(0x23a)](_0x4062d3)||!this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)[_0x5ac877(0x23a)](_0x34f713)){const _0x25da14=this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)||new Set();_0x25da14[_0x5ac877(0x242)](_0x34f713),this[_0x5ac877(0x248)]['set'](_0x4062d3,_0x25da14),this[_0x5ac877(0x3b3)](_0x34f713);}}),_0xe5bc5b||this[_0x4c80ab(0x3bc)]({'type':0x0,'memberID':this[_0x4c80ab(0x3db)],'unitIDs':[...this[_0x4c80ab(0x24e)]],'isForwarded':!0x0});}[_0x957043(0x3b3)](_0x412dd6){const _0x2da9fb=_0x957043;this[_0x2da9fb(0x3a2)](_0x412dd6);const _0x33e2a1=window[_0x2da9fb(0x22d)](()=>{const _0x41bf79=_0x2da9fb;this[_0x41bf79(0x248)][_0x41bf79(0x3e7)](_0x463d32=>{_0x463d32['delete'](_0x412dd6);});},it*0x2);this['_clearOtherTimers'][_0x2da9fb(0x332)](_0x412dd6,_0x33e2a1);}[_0x957043(0x3a2)](_0x6376db){const _0x3dac12=_0x957043;if(this[_0x3dac12(0x323)][_0x3dac12(0x23a)](_0x6376db)){const _0x2ad5c7=this[_0x3dac12(0x323)][_0x3dac12(0x379)](_0x6376db);_0x2ad5c7&&window['clearTimeout'](_0x2ad5c7),this[_0x3dac12(0x323)]['set'](_0x6376db,null);}}[_0x957043(0x249)](_0xe01ff){const _0x2cd702=_0x957043,{memberID:_0x55edef,unitIDs:_0x7ac2cf}=_0xe01ff;_0x7ac2cf[_0x2cd702(0x3e7)](_0x1a76f4=>{const _0x59f83c=_0x2cd702;var _0x5712b5;const _0x395589=this['_unitOnClients']['get'](_0x1a76f4);_0x395589&&(_0x395589['delete'](_0x55edef),(_0x5712b5=this[_0x59f83c(0x265)](_0x1a76f4))==null||_0x5712b5['next'](_0x395589['size']===0x0?_0x569233[_0x59f83c(0x239)]:_0x569233[_0x59f83c(0x36b)]));}),this[_0x2cd702(0x3a2)](_0x55edef);}[_0x957043(0x31a)](_0x5916b1){const _0x2e96f2=_0x957043;this[_0x2e96f2(0x3b3)](_0x5916b1[_0x2e96f2(0x264)]);}[_0x957043(0x3bc)](_0x23a055){const _0x1b1871=_0x957043;localStorage[_0x1b1871(0x2af)](nt,JSON[_0x1b1871(0x2d3)](_0x23a055));}['_scheduleHeartbeat'](){const _0x36889c=_0x957043;this[_0x36889c(0x1ee)]=window[_0x36889c(0x304)](()=>{const _0x3c8ed5=_0x36889c;this[_0x3c8ed5(0x3bc)]({'type':0x2,'memberID':this['_id']});},it);}[_0x957043(0x265)](_0xc2c574){const _0x45e654=_0x957043;return this[_0x45e654(0x390)][_0x45e654(0x23a)](_0xc2c574)||this['_unitStatus']['set'](_0xc2c574,new _0x3dfdee(_0x569233[_0x45e654(0x239)])),this[_0x45e654(0x390)][_0x45e654(0x379)](_0xc2c574);}}var Mt=(_0x22eae2=>(_0x22eae2[_0x22eae2['UNDEFINED']=0x0]=_0x957043(0x1fa),_0x22eae2[_0x22eae2['OK']=0x1]='OK',_0x22eae2[_0x22eae2[_0x957043(0x244)]=0x2]='INTERNAL_ERROR',_0x22eae2[_0x22eae2[_0x957043(0x326)]=0x3]=_0x957043(0x326),_0x22eae2[_0x22eae2[_0x957043(0x33d)]=0x4]=_0x957043(0x33d),_0x22eae2[_0x22eae2[_0x957043(0x30a)]=0x5]=_0x957043(0x30a),_0x22eae2[_0x22eae2[_0x957043(0x256)]=0x6]=_0x957043(0x256),_0x22eae2[_0x22eae2[_0x957043(0x331)]=0x7]=_0x957043(0x331),_0x22eae2[_0x22eae2[_0x957043(0x28e)]=0x8]='TOO_MANY_REQUESTS',_0x22eae2[_0x22eae2['COMPLETION_FINISHED']=0x9]=_0x957043(0x34b),_0x22eae2[_0x22eae2[_0x957043(0x37e)]=0xa]='LOGIN_FAILED',_0x22eae2[_0x22eae2[_0x957043(0x28c)]=0x1389]=_0x957043(0x28c),_0x22eae2[_0x22eae2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x957043(0x39d),_0x22eae2[_0x22eae2[_0x957043(0x20d)]=0x1772]=_0x957043(0x20d),_0x22eae2[_0x22eae2[_0x957043(0x37c)]=0x1773]=_0x957043(0x37c),_0x22eae2[_0x22eae2[_0x957043(0x2f5)]=0x1b59]=_0x957043(0x2f5),_0x22eae2[_0x22eae2[_0x957043(0x233)]=0x1b5a]=_0x957043(0x233),_0x22eae2[_0x22eae2[_0x957043(0x27a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x22eae2[_0x22eae2[_0x957043(0x3a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x22eae2[_0x22eae2[_0x957043(0x1ed)]=0x1b5d]=_0x957043(0x1ed),_0x22eae2[_0x22eae2[_0x957043(0x318)]=0x1f41]=_0x957043(0x318),_0x22eae2[_0x22eae2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x957043(0x21c),_0x22eae2[_0x22eae2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x957043(0x2aa),_0x22eae2[_0x22eae2[_0x957043(0x291)]=0x232b]=_0x957043(0x291),_0x22eae2[_0x22eae2[_0x957043(0x3c6)]=0x232c]=_0x957043(0x3c6),_0x22eae2[_0x22eae2[_0x957043(0x24a)]=0x232d]=_0x957043(0x24a),_0x22eae2[_0x22eae2[_0x957043(0x37f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x22eae2[_0x22eae2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x957043(0x359),_0x22eae2[_0x22eae2[_0x957043(0x2bf)]=0x2713]=_0x957043(0x2bf),_0x22eae2[_0x22eae2[_0x957043(0x2e1)]=0x2714]=_0x957043(0x2e1),_0x22eae2[_0x22eae2[_0x957043(0x252)]=0x271a]=_0x957043(0x252),_0x22eae2[_0x22eae2[_0x957043(0x2ab)]=0x271b]=_0x957043(0x2ab),_0x22eae2[_0x22eae2[_0x957043(0x2fe)]=0x271c]=_0x957043(0x2fe),_0x22eae2[_0x22eae2[_0x957043(0x30c)]=0x271d]=_0x957043(0x30c),_0x22eae2[_0x22eae2[_0x957043(0x308)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22eae2[_0x22eae2[_0x957043(0x25e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x22eae2[_0x22eae2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x957043(0x3c0),_0x22eae2[_0x22eae2[_0x957043(0x376)]=0x2ee1]=_0x957043(0x376),_0x22eae2[_0x22eae2[_0x957043(0x3a3)]=0x2ee2]='INVALID_INVITE_CODE',_0x22eae2[_0x22eae2[_0x957043(0x373)]=0x2ee3]=_0x957043(0x373),_0x22eae2[_0x22eae2[_0x957043(0x35e)]=0x2ee4]=_0x957043(0x35e),_0x22eae2[_0x22eae2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x957043(0x37d),_0x22eae2[_0x22eae2[_0x957043(0x280)]=0x32c9]=_0x957043(0x280),_0x22eae2[_0x22eae2[_0x957043(0x31f)]=0x32ca]=_0x957043(0x31f),_0x22eae2[_0x22eae2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x957043(0x293),_0x22eae2[_0x22eae2['UNRECOGNIZED']=-0x1]=_0x957043(0x229),_0x22eae2))(Mt||{}),pn=Object[_0x957043(0x3e8)],Cn=(_0x30035a,_0x541117,_0x50e7ee,_0x56f5ad)=>{const _0x5d89d8=_0x957043;for(var _0x453053=_0x56f5ad>0x1?void 0x0:_0x56f5ad?pn(_0x541117,_0x50e7ee):_0x541117,_0x3942ad=_0x30035a[_0x5d89d8(0x3d8)]-0x1,_0x409532;_0x3942ad>=0x0;_0x3942ad--)(_0x409532=_0x30035a[_0x3942ad])&&(_0x453053=_0x409532(_0x453053)||_0x453053);return _0x453053;},be=(_0x12eaa5,_0x39166d)=>(_0x1e740a,_0x4983e7)=>_0x39166d(_0x1e740a,_0x4983e7,_0x12eaa5);let rt=class extends _0x4a6261{constructor(_0x27ab63,_0x348c8a,_0x527558){const _0x2e5141=_0x957043;super(),this['_instanceService']=_0x27ab63,this[_0x2e5141(0x3c1)]=_0x348c8a,this[_0x2e5141(0x3b4)]=_0x527558;}async[_0x957043(0x21d)](_0x102320,_0x516d50,_0x4be8ed,..._0x29ef81){const _0x597203=_0x957043;var _0x19fe84,_0x5e9fd1,_0x2a2dfb,_0x2ee9dd;const _0x2a1b3e=this[_0x597203(0x3a1)][_0x597203(0x2b7)]();if(!_0x2a1b3e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f386d=((_0x19fe84=this[_0x597203(0x3b4)][_0x597203(0x3cf)](_0x1fe298))!=null?_0x19fe84:_0x4155e4)+'/'+_0x102320+_0x597203(0x25c)+_0x516d50,_0x2b7fa4=new URL(window[_0x597203(0x295)][_0x597203(0x32e)]),_0x1adbd0={'scriptId':_0x102320,'runId':(_0x5e9fd1=_0x2b7fa4[_0x597203(0x3e4)][_0x597203(0x379)]('runId'))!=null?_0x5e9fd1:'','function':_0x516d50,'unitId':_0x2a1b3e[_0x597203(0x2f6)](),'argsOfFunction':JSON[_0x597203(0x2d3)](_0x29ef81),'invokeId':(_0x2a2dfb=_0x4be8ed[_0x597203(0x217)])!=null?_0x2a2dfb:'','executionId':(_0x2ee9dd=_0x4be8ed['executionId'])!=null?_0x2ee9dd:''};try{const _0x5ba30f=await this[_0x597203(0x3c1)]['post'](_0x2f386d,{'body':_0x1adbd0});return _0x5ba30f[_0x597203(0x3cd)][_0x597203(0x219)]&&_0x5ba30f[_0x597203(0x3cd)]['error'][_0x597203(0x21a)]!==Mt['OK']?_0x597203(0x394):_0x5ba30f[_0x597203(0x3cd)]['result'];}catch{return _0x597203(0x394);}}};rt=Cn([be(0x0,_0x16f134),be(0x1,_0x79b2b4(_0x34a3dc)),be(0x2,_0x1240a8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x4efb46=_0x28ab;(function(_0x53ce04,_0x3a7a62){const _0x1b98d1=_0x28ab,_0x59731c=_0x53ce04();while(!![]){try{const _0xde8de1=parseInt(_0x1b98d1(0x330))/0x1*(-parseInt(_0x1b98d1(0x33d))/0x2)+-parseInt(_0x1b98d1(0x1bf))/0x3*(parseInt(_0x1b98d1(0x1fe))/0x4)+-parseInt(_0x1b98d1(0x29c))/0x5+parseInt(_0x1b98d1(0x16a))/0x6*(-parseInt(_0x1b98d1(0x26d))/0x7)+-parseInt(_0x1b98d1(0x324))/0x8*(parseInt(_0x1b98d1(0x264))/0x9)+parseInt(_0x1b98d1(0x281))/0xa+parseInt(_0x1b98d1(0x2c6))/0xb*(parseInt(_0x1b98d1(0x243))/0xc);if(_0xde8de1===_0x3a7a62)break;else _0x59731c['push'](_0x59731c['shift']());}catch(_0x443cf5){_0x59731c['push'](_0x59731c['shift']());}}}(_0x906e,0x86c3d));var $t=Object[_0x4efb46(0x283)],xt=(_0x3db749,_0x521325,_0x20825b)=>_0x521325 in _0x3db749?$t(_0x3db749,_0x521325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20825b}):_0x3db749[_0x521325]=_0x20825b,_=(_0x3418d4,_0x5c4cbe,_0x3d7799)=>xt(_0x3418d4,typeof _0x5c4cbe!=_0x4efb46(0x2b0)?_0x5c4cbe+'':_0x5c4cbe,_0x3d7799);import{MemberService as _0x36d44a,SessionStatus as _0x36e997,CollaborationSessionService as _0x1a5d93,CollaborationStatus as _0x2fb3dc,CollaborationController as _0x209cdd,ILocalCacheService as _0x32856e,CollaborationUIEventService as _0x582dfc,CollaborationUIEventId as _0x373aa0,DataLoaderService as _0x1653c9,DocCollaborationEntity as _0x5007f0,getLocalCacheKey as _0x5aebcf,LOCAL_CACHE_INTERVAL as _0x5dc579,LOCAL_CACHE_INTERVAL_KEY as _0x3a3ad1,UniverCollaborationClientPlugin as _0x5bf239,CollaborationSocketService as _0x329e6f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1297d2,DEFAULT_WS_SESSION_TICKET_URL as _0x366de9,UnitStatus as _0xbaefe9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x515373,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x29348a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x264876,Disposable as _0x56014e,DOC_RANGE_TYPE as _0x47ea56,Inject as _0xc24e4b,Injector as _0x35c1bd,IUniverInstanceService as _0xb3fb3f,ICommandService as _0xc68a40,debounce as _0x10b8fb,Rectangle as _0x4e0edf,DisposableCollection as _0x302056,toDisposable as _0x19548f,UniverInstanceType as _0x3f742a,Tools as _0x24e58b,COLORS as _0x219248,ColorKit as _0x39995a,ThemeService as _0x3a07ea,fromEventSubject as _0x3ef67d,LocaleService as _0xe5abc6,createIdentifier as _0x11359d,ILogService as _0x5ce2e9,Optional as _0x232a08,Workbook as _0x1e4069,CommandType as _0x632caa,IConfigService as _0x332256,ILocalStorageService as _0xeced3c,DependentOn as _0x5d2859,Plugin as _0x21d542,merge as _0x294622,registerDependencies as _0x589ccb,mergeOverrideWithDependencies as _0x544fe0,touchDependencies as _0x4dfeac,generateRandomId as _0x4980f9}from'@univerjs/core';import{Shape as _0x50f11a,Rect as _0x37cfd0,getColor as _0x3f4962,RegularPolygon as _0x22432b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x47f57f,Vector2 as _0x507064,SHEET_VIEWPORT_KEY as _0x160298,IRenderManagerService as _0x2baf14}from'@univerjs/engine-render';import{ISocketService as _0x5ace9a,WebSocketService as _0x1e46f2,HTTPService as _0x434602}from'@univerjs/network';import{IDocClipboardService as _0x109a88,NodePositionConvertToCursor as _0x511890,NodePositionConvertToRectRange as _0x2827a9,TEXT_RANGE_LAYER_INDEX as _0x4c5bce,SetDocZoomRatioOperation as _0x3b78bf,DocIMEInputManagerService as _0x3b1b9c,DocStateChangeManagerService as _0x5ca87d}from'@univerjs/docs-ui';import{IImageIoService as _0x55c491}from'@univerjs/drawing';import{BehaviorSubject as _0xc73289,debounceTime as _0x47a830,takeUntil as _0x760463,Subject as _0x2413fc,filter as _0x140671,switchMap as _0x1b9fb8,merge as _0x10fadc,combineLatest as _0x5be441,of as _0x4846f1,fromEvent as _0x2e4f04,shareReplay as _0x4e92ea,mapTo as _0x10fcff,distinctUntilChanged as _0x9e2d26}from'rxjs';import{SetTextSelectionsOperation as _0x73adb3,RichTextEditingMutation as _0x1cb735,DocSelectionManagerService as _0x5afbad,DocSkeletonManagerService as _0x34549c}from'@univerjs/docs';import{ITransformService as _0xc02503,CollaborationEvent as _0x119239,isTransformMutationFailure as _0x4dbfd1,isTransformMutationsWithChangesetSuccess as _0x1c81b1,RevisionService as _0x141ad4,ISnapshotServerService as _0x5f08f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x507f40,serializeRangeWithSheet as _0x54c2fd}from'@univerjs/engine-formula';import{RefRangeService as _0x2b1c69,SetSelectionsOperation as _0x42b29b,SheetsSelectionsService as _0x3e1129,EffectRefRangId as _0x16b958,handleIRemoveRow as _0x1e46d7,handleIRemoveCol as _0x5c6a0a,handleMoveRange as _0x28c7fd,handleInsertRow as _0x4f5ace,handleInsertRangeMoveRight as _0xc933e1,handleInsertRangeMoveDown as _0x29eb48,handleInsertCol as _0x3b6c6e,handleDeleteRangeMoveUp as _0x48e611,handleDeleteRangeMoveLeft as _0x585076,runRefRangeMutations as _0x5056ce,SetWorksheetActivateCommand as _0x3f9a83}from'@univerjs/sheets';import{map as _0x90759a,filter as _0x10acae,throttleTime as _0x1133d9,takeUntil as _0x492ddb,switchMap as _0x385aee}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25b8e3,getCoordByCell as _0x3bbc56,getSheetObject as _0x207f8a}from'@univerjs/sheets-ui';import{jsx as _0x4b1da7,jsxs as _0xab21e5}from'react/jsx-runtime';import{useObservable as _0x4fff27,useDependency as _0x37419a,IUIPartsService as _0x513ab5,BuiltInUIPart as _0x55c190,connectInjector as _0x38a51b,IBeforeCloseService as _0x445e71,IMessageService as _0x251236,INotificationService as _0x34023a}from'@univerjs/ui';import{Tooltip as _0x2eed63,clsx as _0x5e46e7,MessageType as _0x230161}from'@univerjs/design';import{forwardRef as _0xf2f6e1,useRef as _0x4551a4,createElement as _0x244245,useCallback as _0xe4d2e2}from'react';import{IRemoteInstanceService as _0x429d76}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1c76a8,_0x69740e,_0x356150,_0x328d69)=>{const _0x4c62cf=_0x4efb46;for(var _0xc98173=_0x328d69>0x1?void 0x0:_0x328d69?ci(_0x69740e,_0x356150):_0x69740e,_0x50636a=_0x1c76a8[_0x4c62cf(0x23c)]-0x1,_0x1dc0aa;_0x50636a>=0x0;_0x50636a--)(_0x1dc0aa=_0x1c76a8[_0x50636a])&&(_0xc98173=_0x1dc0aa(_0xc98173)||_0xc98173);return _0xc98173;},Je=(_0x488c3d,_0x406bc1)=>(_0x1b268f,_0x53da15)=>_0x406bc1(_0x1b268f,_0x53da15,_0x488c3d);let Ne=class extends _0x264876{constructor(_0x39587e,_0x141556){const _0x52bfa4=_0x4efb46;super(),this[_0x52bfa4(0x2e8)]=_0x39587e,this[_0x52bfa4(0x206)]=_0x141556,this[_0x52bfa4(0x2a5)]();}[_0x4efb46(0x2a5)](){const _0xcf156c=_0x4efb46,_0x3c7238=this;this[_0xcf156c(0x1ee)](this[_0xcf156c(0x2e8)][_0xcf156c(0x1a5)]({'onBeforePasteImage':async _0x4157ea=>{const _0x1039bd=_0xcf156c,_0x4db527=await _0x3c7238[_0x1039bd(0x206)][_0x1039bd(0x2d4)](_0x4157ea);return _0x4db527?{'source':_0x4db527['source'],'imageSourceType':_0x4db527[_0x1039bd(0x2c1)]}:null;}}));}};Ne=li([Je(0x0,_0x109a88),Je(0x1,_0x55c491)],Ne);const Ze=[_0x4efb46(0x28a),_0x4efb46(0x2d9),_0x4efb46(0x1ec),_0x4efb46(0x179),_0x4efb46(0x2bc),_0x4efb46(0x254)];class ke extends _0x56014e{constructor(){const _0x2bdc15=_0x4efb46;super(...arguments),_(this,_0x2bdc15(0x2b7),new Map()),_(this,_0x2bdc15(0x183),0x0);}[_0x4efb46(0x2b6)](_0x4d4a5c){const _0x306ced=_0x4efb46;if(this['_assignedColors'][_0x306ced(0x20a)](_0x4d4a5c))return this[_0x306ced(0x2b7)]['get'](_0x4d4a5c);const _0x30f3ac=Ze[this['_colorIndex']];return this[_0x306ced(0x183)]=(this[_0x306ced(0x183)]+0x1)%Ze[_0x306ced(0x23c)],this[_0x306ced(0x2b7)]['set'](_0x4d4a5c,_0x30f3ac),_0x30f3ac;}}function Tt(_0x5d9d7d){const _0x57eece=_0x4efb46;let _0x537bef='';for(const _0x24bd99 of _0x5d9d7d){const {startOffset:_0x5853eb,endOffset:_0x4be134,isActive:_0xa9d91e,rangeType:_0x4f06b5,segmentId:_0x507bb3,segmentPage:_0xf01312}=_0x24bd99;_0x537bef[_0x57eece(0x23c)]&&(_0x537bef+=','),_0x537bef+=_0x5853eb+':'+_0x4be134+':'+(_0xa9d91e?'1':'0')+':'+_0x4f06b5+':'+_0x507bb3+':'+_0xf01312;}return _0x537bef;}function _i(_0x142846){const _0x3bd04c=_0x4efb46,_0x57f662=_0x142846[_0x3bd04c(0x15a)](','),_0x16ef9c=[];for(const _0x269325 of _0x57f662){const [_0x2a74ea,_0xbae530,_0x16b6d0,_0x23413f,_0x25a450,_0xdd799c]=_0x269325[_0x3bd04c(0x15a)](':');_0x16ef9c[_0x3bd04c(0x1d1)]({'startOffset':Number(_0x2a74ea),'endOffset':Number(_0xbae530),'collapsed':_0x2a74ea===_0xbae530,'isActive':_0x16b6d0==='1','rangeType':_0x23413f===_0x47ea56['TEXT']?_0x47ea56[_0x3bd04c(0x162)]:_0x47ea56[_0x3bd04c(0x169)],'segmentId':typeof _0x25a450==_0x3bd04c(0x1bc)?String(_0x25a450):'','segmentPage':Number(_0xdd799c!=null?_0xdd799c:-0x1)});}return _0x16ef9c[_0x3bd04c(0x25f)](_0x49422a=>_0x49422a[_0x3bd04c(0x178)])||(_0x16ef9c[0x0][_0x3bd04c(0x178)]=!0x0),_0x16ef9c;}class He extends _0x264876{constructor(){const _0x5c2b75=_0x4efb46;super(...arguments),_(this,_0x5c2b75(0x21f),new _0xc73289(null)),_(this,_0x5c2b75(0x150),this[_0x5c2b75(0x21f)][_0x5c2b75(0x2ea)]());}['syncEditingCollabCursor'](_0x381ae2){const _0xa62d8=_0x4efb46,{unitID:_0x43f889,memberID:_0x15ce59,textRanges:_0x23a391}=_0x381ae2,_0x5100a0=Tt(_0x23a391);if(_0x5100a0==='')return;const _0x18e210={'unitID':_0x43f889,'memberID':_0x15ce59,'selection':_0x5100a0};this[_0xa62d8(0x21f)][_0xa62d8(0x326)](_0x18e210);}}var hi=Object[_0x4efb46(0x14b)],ui=(_0x1f350d,_0x52ba13,_0x101ea5,_0x3be71f)=>{const _0x3fc824=_0x4efb46;for(var _0x498c0a=_0x3be71f>0x1?void 0x0:_0x3be71f?hi(_0x52ba13,_0x101ea5):_0x52ba13,_0x3dabfb=_0x1f350d[_0x3fc824(0x23c)]-0x1,_0x57a71e;_0x3dabfb>=0x0;_0x3dabfb--)(_0x57a71e=_0x1f350d[_0x3dabfb])&&(_0x498c0a=_0x57a71e(_0x498c0a)||_0x498c0a);return _0x498c0a;},P=(_0x581bc9,_0x43463b)=>(_0x574a3f,_0x54ddef)=>_0x43463b(_0x574a3f,_0x54ddef,_0x581bc9);const di=0x12c,fi=0x64;function _0x28ab(_0x2abf13,_0x3e6c39){const _0x906eb4=_0x906e();return _0x28ab=function(_0x28abd1,_0x184e31){_0x28abd1=_0x28abd1-0x147;let _0x515d5c=_0x906eb4[_0x28abd1];return _0x515d5c;},_0x28ab(_0x2abf13,_0x3e6c39);}let Ue=class extends _0x264876{constructor(_0x4b3db8,_0x39a24f,_0x37ddef,_0x46902b,_0x4b016f,_0x273979,_0x3c4898,_0x540ee2,_0xb7cb4c){const _0x3c197d=_0x4efb46;super(),_(this,'_online',!0x1),_(this,_0x3c197d(0x2a5),!0x1),_(this,_0x3c197d(0x17b),new _0xc73289(new Map())),_(this,_0x3c197d(0x2f5),this[_0x3c197d(0x17b)][_0x3c197d(0x2ea)]()),_(this,_0x3c197d(0x184),new _0xc73289([])),_(this,_0x3c197d(0x14a),this[_0x3c197d(0x184)][_0x3c197d(0x22f)](_0x47a830(di))),_(this,_0x3c197d(0x23b),_0x10b8fb(_0x17a34c=>{const _0xdb14ae=_0x3c197d,_0x2b2dd4={'eventID':_0x119239['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0xdb14ae(0x2c8)][_0xdb14ae(0x350)](),'selection':Tt(_0x17a34c)}};this[_0xdb14ae(0x2c8)][_0xdb14ae(0x2b5)](_0x2b2dd4,this[_0xdb14ae(0x19d)]);},fi)),(this[_0x3c197d(0x19d)]=_0x4b3db8,this[_0x3c197d(0x2c8)]=_0x39a24f,this[_0x3c197d(0x23f)]=_0x37ddef,this[_0x3c197d(0x16e)]=_0x46902b,this['_memberService']=_0x4b016f,this[_0x3c197d(0x23a)]=_0x273979,this[_0x3c197d(0x1ba)]=_0x3c4898,this[_0x3c197d(0x2d1)]=_0x540ee2,this[_0x3c197d(0x207)]=_0xb7cb4c);}get['cursorInfo'](){const _0x35fda2=_0x4efb46;return this[_0x35fda2(0x17b)][_0x35fda2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x20742c=_0x4efb46;return this[_0x20742c(0x184)][_0x20742c(0x2e9)]();}[_0x4efb46(0x1b7)](){const _0x3eda18=_0x4efb46;super[_0x3eda18(0x1b7)](),this[_0x3eda18(0x17b)][_0x3eda18(0x326)](new Map()),this[_0x3eda18(0x17b)][_0x3eda18(0x33b)](),this[_0x3eda18(0x184)][_0x3eda18(0x326)]([]),this['_roomMembers$'][_0x3eda18(0x33b)]();}[_0x4efb46(0x28f)](){const _0x3e064b=_0x4efb46;this['_init']||(this[_0x3e064b(0x2a5)]=!0x0,this[_0x3e064b(0x2c8)][_0x3e064b(0x182)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x103e61=>{const _0x495323=_0x3e064b;_0x103e61===_0x36e997[_0x495323(0x227)]?this[_0x495323(0x235)]():this[_0x495323(0x2cf)]();}),this[_0x3e064b(0x2c8)][_0x3e064b(0x30e)][_0x3e064b(0x22f)](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x15c72f=>{const _0x247dc3=_0x3e064b,_0x24f7e4=_0x15c72f[_0x247dc3(0x29a)];_0x24f7e4===_0x119239[_0x247dc3(0x26b)]&&this[_0x247dc3(0x1cd)](_0x15c72f),_0x24f7e4===_0x119239[_0x247dc3(0x355)]&&this[_0x247dc3(0x17d)](_0x15c72f);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0x21abd7=>{const _0x70289d=_0x3e064b,_0x29cc41=_0x21abd7[_0x70289d(0x1b2)];_0x29cc41!=null&&this[_0x70289d(0x1d7)]&&_0x21abd7['id']===_0x73adb3['id']&&_0x29cc41[_0x70289d(0x152)]===this[_0x70289d(0x19d)]&&_0x29cc41[_0x70289d(0x1b9)]===!0x1&&_0x29cc41[_0x70289d(0x2d8)]['length']>0x0&&this['_updateLocalCursor'](_0x29cc41[_0x70289d(0x2d8)]);})),this['_syncEditingCollabCursorService'][_0x3e064b(0x150)]['pipe'](_0x760463(this['dispose$']))[_0x3e064b(0x157)](_0x3f81e7=>{const _0x265295=_0x3e064b;if((_0x3f81e7==null?void 0x0:_0x3f81e7['unitID'])!==this['unitID'])return;const _0x20f67d={'eventID':_0x119239[_0x265295(0x26b)],'data':_0x3f81e7};this[_0x265295(0x1cd)](_0x20f67d);}),this[_0x3e064b(0x1ee)](this[_0x3e064b(0x207)][_0x3e064b(0x1ef)](_0xe84e77=>{const _0x1e38a1=_0x3e064b;if(_0xe84e77[_0x1e38a1(0x1b2)]==null)return;const _0x34ac58=_0xe84e77['params'];if(_0xe84e77['id']!==_0x1cb735['id']||_0x34ac58[_0x1e38a1(0x152)]!==this['unitID'])return;const _0x9b3cfa={'id':_0x1e38a1(0x2d5),'params':_0x34ac58},_0x499884=this[_0x1e38a1(0x336)];for(const [_0x54d752,_0xa9c1b9]of _0x499884){const _0x513469={'id':_0x1e38a1(0x2d5),'params':{'unitId':this[_0x1e38a1(0x19d)],'actions':null,'textRanges':_0xa9c1b9[_0x1e38a1(0x2d8)]}},_0x2a5fda=this['_transformService'][_0x1e38a1(0x2d3)](_0x9b3cfa,_0x513469,!0x1);if(_0x4dbfd1(_0x2a5fda))throw _0x2a5fda[_0x1e38a1(0x2d7)];_0x499884[_0x1e38a1(0x311)](_0x54d752,{..._0xa9c1b9,'ranges':_0x2a5fda[_0x1e38a1(0x2da)][_0x1e38a1(0x1b2)][_0x1e38a1(0x2ec)]});}queueMicrotask(()=>{const _0x2b0c2b=_0x1e38a1;this[_0x2b0c2b(0x17b)][_0x2b0c2b(0x326)](_0x499884);});})));}[_0x4efb46(0x1cd)](_0x30ca0a){const _0x27ace0=_0x4efb46;var _0x29c799,_0x20af60;const {memberID:_0x59cd91,selection:_0x13c56b}=_0x30ca0a['data'],_0x3ffec8=_i(_0x13c56b),_0x378131=(_0x20af60=(_0x29c799=this[_0x27ace0(0x278)][_0x27ace0(0x1be)](this[_0x27ace0(0x19d)],_0x59cd91))==null?void 0x0:_0x29c799[_0x27ace0(0x289)])!=null?_0x20af60:_0x27ace0(0x309),_0x50640e={'color':this[_0x27ace0(0x16e)][_0x27ace0(0x2b6)](_0x59cd91),'name':_0x378131,'ranges':_0x3ffec8},_0x5bb3f6=this['cursorInfo'];_0x5bb3f6['set'](_0x59cd91,_0x50640e),this[_0x27ace0(0x17b)]['next'](_0x5bb3f6);}['_onCursorDelete'](_0x3971ce){const _0x4c4da0=_0x4efb46,{memberID:_0x54168b}=_0x3971ce[_0x4c4da0(0x269)],_0x2f6065=this[_0x4c4da0(0x336)];_0x2f6065[_0x4c4da0(0x30a)](_0x54168b),this[_0x4c4da0(0x17b)][_0x4c4da0(0x326)](_0x2f6065);}['_toggleOnline'](){const _0x34e956=_0x4efb46;var _0x4f7fd7;if(this[_0x34e956(0x1d7)]=!0x0,((_0x4f7fd7=this[_0x34e956(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0x4f7fd7[_0x34e956(0x15b)]())!==this[_0x34e956(0x19d)])return;const _0x2425dc=this[_0x34e956(0x23f)][_0x34e956(0x352)](_0x5afbad)[_0x34e956(0x1ae)]();Array[_0x34e956(0x343)](_0x2425dc)&&_0x2425dc[_0x34e956(0x23c)]>0x0&&this[_0x34e956(0x23b)](_0x2425dc);}[_0x4efb46(0x2cf)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0xc24e4b(_0x35c1bd)),P(0x3,_0xc24e4b(ke)),P(0x4,_0xc24e4b(_0x36d44a)),P(0x5,_0xc24e4b(He)),P(0x6,_0xc02503),P(0x7,_0xb3fb3f),P(0x8,_0xc68a40)],Ue);var Si=Object[_0x4efb46(0x14b)],mi=(_0x5eb574,_0x1d3b65,_0x5cc8c0,_0xea5a17)=>{const _0x1b2e24=_0x4efb46;for(var _0x1ab79c=_0xea5a17>0x1?void 0x0:_0xea5a17?Si(_0x1d3b65,_0x5cc8c0):_0x1d3b65,_0x509ac4=_0x5eb574[_0x1b2e24(0x23c)]-0x1,_0x3c3135;_0x509ac4>=0x0;_0x509ac4--)(_0x3c3135=_0x5eb574[_0x509ac4])&&(_0x1ab79c=_0x3c3135(_0x1ab79c)||_0x1ab79c);return _0x1ab79c;},x=(_0x357aee,_0x37c8c0)=>(_0x22d3cf,_0x4bd66f)=>_0x37c8c0(_0x22d3cf,_0x4bd66f,_0x357aee);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ce17f=[],_0x40c92f=!0x1;return _0x123477=>{_0x2ce17f['push'](_0x123477),_0x40c92f||(_0x40c92f=!0x0,setTimeout(()=>{const _0xfc736b=_0x28ab;_0x2ce17f[_0xfc736b(0x19e)](_0x4c31cb=>_0x4c31cb()),_0x2ce17f=[],_0x40c92f=!0x1;}));};};let Me=class extends _0x264876{constructor(_0x3e467d,_0x1970e4,_0x142d12,_0x5d461e,_0x5b7c7c,_0x30c547,_0x45377d,_0x1e9ed6){const _0x9458cf=_0x4efb46;super(),_(this,_0x9458cf(0x1d7),!0x1),_(this,_0x9458cf(0x2a5),!0x1),_(this,_0x9458cf(0x17b),new _0xc73289(new Map())),_(this,_0x9458cf(0x2f5),this[_0x9458cf(0x17b)][_0x9458cf(0x2ea)]()),_(this,'_roomMembers$',new _0xc73289([])),_(this,_0x9458cf(0x14a),this['_roomMembers$'][_0x9458cf(0x22f)](_0x47a830(Ii))),_(this,'_updateLocalCursor',_0x10b8fb((_0x3a5ac7,_0x123d0e)=>{const _0x2db38e=_0x9458cf,_0x3433a5={'eventID':_0x119239[_0x2db38e(0x26b)],'data':{'unitID':this[_0x2db38e(0x19d)],'memberID':this[_0x2db38e(0x2c8)]['getMemberID'](),'selection':_0x54c2fd(_0x3a5ac7,_0x123d0e['range'])}};this[_0x2db38e(0x2c8)]['send'](_0x3433a5,this['unitID']);},gi)),(this[_0x9458cf(0x19d)]=_0x3e467d,this[_0x9458cf(0x2c8)]=_0x1970e4,this[_0x9458cf(0x23f)]=_0x142d12,this[_0x9458cf(0x16e)]=_0x5d461e,this[_0x9458cf(0x278)]=_0x5b7c7c,this[_0x9458cf(0x2d1)]=_0x30c547,this[_0x9458cf(0x207)]=_0x45377d,this['_refRangeService']=_0x1e9ed6);}get[_0x4efb46(0x336)](){const _0x4908d2=_0x4efb46;return this[_0x4908d2(0x17b)][_0x4908d2(0x2e9)]();}get[_0x4efb46(0x340)](){const _0x5c9288=_0x4efb46;return this[_0x5c9288(0x184)]['getValue']();}[_0x4efb46(0x1b7)](){const _0x2b7e88=_0x4efb46;super[_0x2b7e88(0x1b7)](),this[_0x2b7e88(0x17b)][_0x2b7e88(0x326)](new Map()),this[_0x2b7e88(0x17b)][_0x2b7e88(0x33b)](),this[_0x2b7e88(0x184)]['next']([]),this['_roomMembers$'][_0x2b7e88(0x33b)]();}[_0x4efb46(0x28f)](){const _0x2fbc6f=_0x4efb46;this[_0x2fbc6f(0x2a5)]||(this[_0x2fbc6f(0x2a5)]=!0x0,this[_0x2fbc6f(0x2c8)]['sessionStatus$']['pipe'](_0x760463(this[_0x2fbc6f(0x34d)]))['subscribe'](_0x38971d=>{const _0x259a9e=_0x2fbc6f;_0x38971d===_0x36e997[_0x259a9e(0x227)]?this[_0x259a9e(0x235)]():this[_0x259a9e(0x2cf)]();}),this[_0x2fbc6f(0x2c8)][_0x2fbc6f(0x30e)][_0x2fbc6f(0x22f)](_0x760463(this[_0x2fbc6f(0x34d)]))[_0x2fbc6f(0x157)](_0xb62cc7=>{const _0x2a4937=_0x2fbc6f,_0x1103ce=_0xb62cc7[_0x2a4937(0x29a)];_0x1103ce===_0x119239['UPDATE_CURSOR']&&this[_0x2a4937(0x1cd)](_0xb62cc7),_0x1103ce===_0x119239[_0x2a4937(0x355)]&&this[_0x2a4937(0x17d)](_0xb62cc7);}),this[_0x2fbc6f(0x293)](),this[_0x2fbc6f(0x1ee)](this[_0x2fbc6f(0x207)][_0x2fbc6f(0x1ef)](_0x2ef696=>{const _0x4fcd53=_0x2fbc6f;if(this['_online']&&_0x2ef696['id']===_0x42b29b['id']&&_0x2ef696[_0x4fcd53(0x1b2)][_0x4fcd53(0x152)]===this['unitID']){const _0x22e415=_0x2ef696[_0x4fcd53(0x1b2)];this[_0x4fcd53(0x23b)](_0x22e415['subUnitId'],_0x22e415[_0x4fcd53(0x240)][0x0]);}})));}['_onCursorUpdate'](_0x29d50c){const _0x3ecb54=_0x4efb46;var _0x3cd2d1,_0x28d325;const {memberID:_0x5eb1ee,selection:_0x9e53cb}=_0x29d50c['data'],{sheetName:_0x8d30f4,range:_0x580d4d}=_0x507f40(_0x9e53cb),_0x127d7c={'name':(_0x28d325=(_0x3cd2d1=this[_0x3ecb54(0x278)][_0x3ecb54(0x1be)](this['unitID'],_0x5eb1ee))==null?void 0x0:_0x3cd2d1[_0x3ecb54(0x289)])!=null?_0x28d325:_0x3ecb54(0x309),'range':this[_0x3ecb54(0x274)](_0x8d30f4,_0x580d4d),'sheetID':_0x8d30f4,'color':this[_0x3ecb54(0x16e)]['assignAColorForMemberID'](_0x5eb1ee),'selection':_0x9e53cb},_0x224fe8=this[_0x3ecb54(0x336)];_0x224fe8[_0x3ecb54(0x311)](_0x5eb1ee,_0x127d7c),this[_0x3ecb54(0x17b)][_0x3ecb54(0x326)](_0x224fe8);}[_0x4efb46(0x17d)](_0x318b05){const _0x58a7cc=_0x4efb46,{memberID:_0x121504}=_0x318b05[_0x58a7cc(0x269)],_0x3440a4=this[_0x58a7cc(0x336)];_0x3440a4['delete'](_0x121504),this[_0x58a7cc(0x17b)][_0x58a7cc(0x326)](_0x3440a4);}[_0x4efb46(0x274)](_0x4b2cf7,_0x3ed60b){const _0x1bb7a1=_0x4efb46;var _0x34269b,_0x3568d0;const _0x21d2c8=(_0x3568d0=(_0x34269b=this[_0x1bb7a1(0x2d1)][_0x1bb7a1(0x319)](this[_0x1bb7a1(0x19d)]))==null?void 0x0:_0x34269b[_0x1bb7a1(0x156)](_0x4b2cf7))==null?void 0x0:_0x3568d0['getMergeData']();return(_0x21d2c8==null?void 0x0:_0x21d2c8[_0x1bb7a1(0x1fd)](_0x2f2cd9=>_0x4e0edf['contains'](_0x2f2cd9,_0x3ed60b)))||_0x3ed60b;}[_0x4efb46(0x293)](){const _0x3454e2=_0x4efb46,_0x35451c=new _0x302056(),_0x49d475=vi(),_0x5ea436=()=>{const _0x79b2a3=_0x28ab;_0x35451c[_0x79b2a3(0x1b7)]();const _0x46e9eb=(_0x1a1e65,_0x12acca,_0x3a6554,_0x40e1d9)=>{const _0xb438f2=_0x79b2a3;let _0x2a7329=[];switch(_0x1a1e65['id']){case _0x16b958[_0xb438f2(0x14e)]:{_0x2a7329=_0x585076(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x2f4)]:{_0x2a7329=_0x48e611(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1a8)]:{_0x2a7329=_0x3b6c6e(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x24b)]:{_0x2a7329=_0x29eb48(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x325)]:{_0x2a7329=_0xc933e1(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x19b)]:{_0x2a7329=_0x4f5ace(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1de)]:{_0x2a7329=_0x28c7fd(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x1fa)]:{_0x2a7329=_0x5c6a0a(_0x1a1e65,_0x40e1d9);break;}case _0x16b958[_0xb438f2(0x33c)]:{_0x2a7329=_0x1e46d7(_0x1a1e65,_0x40e1d9);break;}}const _0x501feb=_0x5056ce(_0x2a7329,_0x40e1d9),_0x28011b=this['cursorInfo']['get'](_0x12acca);if(_0x28011b&&_0x501feb){const _0x4e0524={..._0x28011b,'range':_0x501feb};this['cursorInfo'][_0xb438f2(0x311)](_0x12acca,_0x4e0524),_0x49d475(()=>{const _0x29bfa9=_0xb438f2,_0x2650b9=this['_refRangeService'][_0x29bfa9(0x21e)](_0x501feb,_0x3a28a1=>(_0x2650b9[_0x29bfa9(0x1b7)](),_0x46e9eb(_0x3a28a1,_0x12acca,_0x3a6554,_0x501feb)));_0x35451c[_0x29bfa9(0x2df)](_0x2650b9);});}return{'redos':[],'undos':[]};};this[_0x79b2a3(0x336)][_0x79b2a3(0x19e)]((_0x1df325,_0x5bad5b)=>{const _0x1f4ddb=_0x79b2a3,{range:_0x1fe5a6,sheetID:_0x28041b}=_0x1df325,_0x12e5fd=this[_0x1f4ddb(0x31b)][_0x1f4ddb(0x21e)](_0x1fe5a6,_0x3fb521=>(_0x12e5fd[_0x1f4ddb(0x1b7)](),_0x46e9eb(_0x3fb521,_0x5bad5b,_0x28041b,_0x1fe5a6)));_0x35451c[_0x1f4ddb(0x2df)](_0x12e5fd);});};this['disposeWithMe'](_0x19548f(this[_0x3454e2(0x17b)]['subscribe'](()=>{_0x5ea436();})));}[_0x4efb46(0x235)](){const _0x16dca6=_0x4efb46;var _0xabe467,_0x3f3cf5;if(this[_0x16dca6(0x1d7)]=!0x0,((_0xabe467=this[_0x16dca6(0x2d1)][_0x16dca6(0x263)]())==null?void 0x0:_0xabe467['getUnitId']())!==this[_0x16dca6(0x19d)])return;const _0x363483=(_0x3f3cf5=this[_0x16dca6(0x23f)][_0x16dca6(0x352)](_0x3e1129)[_0x16dca6(0x20c)]())==null?void 0x0:_0x3f3cf5[0x0],_0x2b6dcb=this[_0x16dca6(0x2d1)][_0x16dca6(0x1af)](_0x3f742a[_0x16dca6(0x304)])['getActiveSheet']();_0x363483&&_0x2b6dcb&&this[_0x16dca6(0x23b)](_0x2b6dcb[_0x16dca6(0x287)](),_0x363483);}[_0x4efb46(0x2cf)](){const _0x1a34bb=_0x4efb46;this[_0x1a34bb(0x1d7)]=!0x1;}};Me=mi([x(0x2,_0xc24e4b(_0x35c1bd)),x(0x3,_0xc24e4b(ke)),x(0x4,_0xc24e4b(_0x36d44a)),x(0x5,_0xb3fb3f),x(0x6,_0xc68a40),x(0x7,_0xc24e4b(_0x2b1c69))],Me);var pi=Object[_0x4efb46(0x14b)],Ci=(_0x5a0534,_0x33876c,_0x5b6473,_0x29a4bc)=>{const _0x4b2592=_0x4efb46;for(var _0x1c13b9=_0x29a4bc>0x1?void 0x0:_0x29a4bc?pi(_0x33876c,_0x5b6473):_0x33876c,_0xafa80e=_0x5a0534[_0x4b2592(0x23c)]-0x1,_0x52f46b;_0xafa80e>=0x0;_0xafa80e--)(_0x52f46b=_0x5a0534[_0xafa80e])&&(_0x1c13b9=_0x52f46b(_0x1c13b9)||_0x1c13b9);return _0x1c13b9;},Se=(_0x5cc30c,_0x3c6af6)=>(_0x19174a,_0x370eef)=>_0x3c6af6(_0x19174a,_0x370eef,_0x5cc30c);let H=class extends _0x264876{constructor(_0x362c8f,_0x44d1d3,_0x457681){const _0x585b4c=_0x4efb46;super(),_(this,_0x585b4c(0x2eb),new Map()),_(this,_0x585b4c(0x33a),new _0x2413fc()),(this[_0x585b4c(0x2d1)]=_0x362c8f,this[_0x585b4c(0x23f)]=_0x44d1d3,this['_collabSessionService']=_0x457681,this[_0x585b4c(0x2a5)]());}[_0x4efb46(0x1b7)](){const _0xc46ba7=_0x4efb46;super[_0xc46ba7(0x1b7)](),this['_entityInit$'][_0xc46ba7(0x33b)](),this[_0xc46ba7(0x2eb)][_0xc46ba7(0x19e)](_0x3d90c9=>_0x3d90c9[_0xc46ba7(0x1b7)]());}['getCollabCursors$'](_0x2d685f){const _0x3b6332=_0x4efb46;return this[_0x3b6332(0x2eb)][_0x3b6332(0x20a)](_0x2d685f)?this[_0x3b6332(0x2eb)]['get'](_0x2d685f)[_0x3b6332(0x2f5)]:this[_0x3b6332(0x33a)][_0x3b6332(0x22f)](_0x140671(_0x10f932=>_0x10f932['unitID']===_0x2d685f),_0x1b9fb8(_0x1bc552=>_0x1bc552[_0x3b6332(0x2f5)]));}[_0x4efb46(0x2a5)](){const _0x56cbcc=_0x4efb46;this[_0x56cbcc(0x2d1)]['getTypeOfUnitAdded$'](_0x3f742a[_0x56cbcc(0x304)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x157)](async _0x155b68=>{const _0x3199ec=_0x56cbcc,_0x228cc2=_0x155b68[_0x3199ec(0x15b)](),_0xfc738e=await this[_0x3199ec(0x14f)](_0x228cc2);this['_entityInit$'][_0x3199ec(0x326)](_0xfc738e),this[_0x3199ec(0x2eb)]['set'](_0x228cc2,_0xfc738e);}),this['_univerInstanceService'][_0x56cbcc(0x2e3)](_0x3f742a[_0x56cbcc(0x189)])[_0x56cbcc(0x22f)](_0x760463(this[_0x56cbcc(0x34d)]))[_0x56cbcc(0x22f)](_0x140671(_0x1d66f2=>!_0x1d66f2[_0x56cbcc(0x15b)]()[_0x56cbcc(0x337)]('__')))['subscribe'](async _0x3eb052=>{const _0x40ae21=_0x56cbcc,_0x2a600a=_0x3eb052[_0x40ae21(0x15b)](),_0x16964e=await this['_startDocCollabCursor'](_0x2a600a);this['_entityInit$'][_0x40ae21(0x326)](_0x16964e),this[_0x40ae21(0x2eb)]['set'](_0x2a600a,_0x16964e);}),_0x10fadc(this['_univerInstanceService'][_0x56cbcc(0x1eb)](_0x3f742a['UNIVER_DOC']),this[_0x56cbcc(0x2d1)][_0x56cbcc(0x1eb)](_0x3f742a[_0x56cbcc(0x304)]))[_0x56cbcc(0x22f)](_0x760463(this['dispose$']))['subscribe'](_0x3c0cea=>{const _0x29bc37=_0x56cbcc,_0x372289=_0x3c0cea['getUnitId'](),_0x54bfd3=this[_0x29bc37(0x2eb)][_0x29bc37(0x352)](_0x372289);_0x54bfd3&&(_0x54bfd3[_0x29bc37(0x1b7)](),this['_entities'][_0x29bc37(0x30a)](_0x372289));});}async['_startSheetCollabCursor'](_0x464f22){const _0x3fa59c=_0x4efb46,_0x54e212=await this[_0x3fa59c(0x2cc)][_0x3fa59c(0x1a4)](_0x464f22),_0x585c74=this['_injector']['createInstance'](Me,_0x464f22,_0x54e212);return _0x585c74[_0x3fa59c(0x28f)](),_0x585c74;}async['_startDocCollabCursor'](_0x5bba58){const _0x3472b4=_0x4efb46,_0x45745e=await this['_collabSessionService'][_0x3472b4(0x1a4)](_0x5bba58),_0x235f4e=this[_0x3472b4(0x23f)][_0x3472b4(0x2db)](Ue,_0x5bba58,_0x45745e);return _0x235f4e['init'](),_0x235f4e;}};H=Ci([Se(0x0,_0xb3fb3f),Se(0x1,_0xc24e4b(_0x35c1bd)),Se(0x2,_0xc24e4b(_0x1a5d93))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3663ef,_0x5bffd8){const _0x2d05ec=_0x4efb46;let {radius:_0x75be3a,width:_0x4e6ed3,height:_0x3b144f}=_0x5bffd8;_0x75be3a=_0x75be3a!=null?_0x75be3a:0x0,_0x4e6ed3=_0x4e6ed3!=null?_0x4e6ed3:0x1e,_0x3b144f=_0x3b144f!=null?_0x3b144f:0x1e;let _0x355ec3=0x0,_0x260499=0x0,_0x5142c1=0x0;_0x355ec3=_0x260499=_0x5142c1=Math[_0x2d05ec(0x2ad)](_0x75be3a,_0x4e6ed3/0x2,_0x3b144f/0x2),_0x3663ef[_0x2d05ec(0x21a)](),_0x3663ef[_0x2d05ec(0x185)](_0x355ec3,0x0),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3-_0x260499,0x0),_0x3663ef['arc'](_0x4e6ed3-_0x260499,_0x260499,_0x260499,Math['PI']*0x3/0x2,0x0,!0x1),_0x3663ef[_0x2d05ec(0x25e)](_0x4e6ed3,_0x3b144f-_0x5142c1),_0x3663ef['arc'](_0x4e6ed3-_0x5142c1,_0x3b144f-_0x5142c1,_0x5142c1,0x0,Math['PI']/0x2,!0x1),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x3b144f),_0x3663ef[_0x2d05ec(0x25e)](0x0,_0x355ec3),_0x3663ef[_0x2d05ec(0x186)](_0x355ec3,_0x355ec3,_0x355ec3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3663ef[_0x2d05ec(0x294)](),_0x5bffd8[_0x2d05ec(0x303)]&&(_0x3663ef[_0x2d05ec(0x299)](),_0x3663ef[_0x2d05ec(0x1a9)]=_0x5bffd8[_0x2d05ec(0x303)],_0x5bffd8[_0x2d05ec(0x27d)]==='evenodd'?_0x3663ef[_0x2d05ec(0x303)](_0x2d05ec(0x210)):_0x3663ef['fill'](),_0x3663ef[_0x2d05ec(0x2e5)]());}class he extends _0x50f11a{constructor(_0x43649e,_0x3d442b){const _0x5cd019=_0x4efb46;super(_0x43649e,_0x3d442b),_(this,_0x5cd019(0x302)),_(this,_0x5cd019(0x31f)),(this[_0x5cd019(0x302)]=_0x3d442b==null?void 0x0:_0x3d442b[_0x5cd019(0x302)],this['text']=_0x3d442b==null?void 0x0:_0x3d442b['text']);}static[_0x4efb46(0x2e7)](_0xc5fb22,_0x41331b){const _0x27dbff=_0x4efb46,{text:_0x5286f1,color:_0x3213a2}=_0x41331b;_0xc5fb22[_0x27dbff(0x299)](),_0xc5fb22[_0x27dbff(0x27e)]=_0x27dbff(0x1e2);const _0x2d32d3=_0xc5fb22[_0x27dbff(0x228)](_0x5286f1)[_0x27dbff(0x280)],_0x1a5c26=Math[_0x27dbff(0x2ad)](_0x2d32d3+0x2*me,Qe);Oi(_0xc5fb22,{'height':ee,'radius':0x4,'width':_0x1a5c26,'fill':_0x3213a2}),_0xc5fb22['fillStyle']='#FFF';const _0x5d7686=me,_0x1b8951=ee-Ei,_0xcb8d35=Qe-0x2*me;if(_0x2d32d3>_0xcb8d35){let _0x3ef0cc='',_0x1028ed=0x0;for(const _0x8ec65f of _0x5286f1){const _0x1cc97b=_0xc5fb22[_0x27dbff(0x228)](_0x8ec65f)[_0x27dbff(0x280)];if(_0x1028ed+_0x1cc97b<=_0xcb8d35-_0xc5fb22['measureText'](_0x27dbff(0x353))[_0x27dbff(0x280)])_0x3ef0cc+=_0x8ec65f,_0x1028ed+=_0x1cc97b;else{_0x3ef0cc+=_0x27dbff(0x353);break;}}_0xc5fb22['fillText'](_0x3ef0cc,_0x5d7686,_0x1b8951);}else _0xc5fb22[_0x27dbff(0x301)](_0x5286f1,_0x5d7686,_0x1b8951);_0xc5fb22['restore']();}[_0x4efb46(0x265)](_0x427b73){he['drawWith'](_0x427b73,this);}}const Ie=_0x4efb46(0x161),bi=_0x4efb46(0x1f8),Ti=_0x4efb46(0x213),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4efb46(0x30f);class qe{constructor(_0x24c100,_0x21e5d7,_0x527659,_0x5a1e12){const _0x15256a=_0x4efb46;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x15256a(0x2b9),null),_(this,_0x15256a(0x204),null),_(this,'_hideTimer',null),_(this,_0x15256a(0x354),null),(this['_cursor']=_0x24c100,this['_scene']=_0x21e5d7,this[_0x15256a(0x2f3)]=_0x527659,this['_document']=_0x5a1e12,this[_0x15256a(0x323)]());}set[_0x4efb46(0x266)](_0x489d08){const _0x56c1d9=_0x4efb46;_0x489d08?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x56c1d9(0x2b9)]&&this['_textBubble'][_0x56c1d9(0x24c)]()):(this[_0x56c1d9(0x204)]&&this[_0x56c1d9(0x204)][_0x56c1d9(0x24c)](),this[_0x56c1d9(0x2b9)]&&this[_0x56c1d9(0x2b9)][_0x56c1d9(0x351)]());}[_0x4efb46(0x1b7)](){const _0x16a53d=_0x4efb46;for(const _0x71bff9 of this[_0x16a53d(0x232)])_0x71bff9['dispose']();this[_0x16a53d(0x2b9)]&&this[_0x16a53d(0x2b9)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x204)]&&this[_0x16a53d(0x204)][_0x16a53d(0x1b7)](),this[_0x16a53d(0x159)]&&this['_anchor'][_0x16a53d(0x1b7)](),this[_0x16a53d(0x354)]&&this[_0x16a53d(0x354)]();}[_0x4efb46(0x323)](){const _0x488b37=_0x4efb46;var _0x370a5;const {_docSkeleton:_0x521af4,_document:_0x31161e}=this,{color:_0x489e45,name:_0x2507b0,ranges:_0x4268e1}=this[_0x488b37(0x163)],_0x3cb66d=_0x31161e[_0x488b37(0x28b)](),{docsLeft:_0x45acf5,docsTop:_0x8f12b3}=_0x3cb66d,_0x243586=new _0x511890(_0x3cb66d,_0x521af4);for(const {startOffset:_0x181327,endOffset:_0x13f83f,rangeType:_0x195431,segmentId:_0x5f1076,segmentPage:_0x39f640,collapsed:_0x48f5d3,isActive:_0x96dd26}of _0x4268e1){const _0x431131=_0x521af4[_0x488b37(0x2c0)](_0x181327,!0x0,_0x5f1076,_0x39f640);let _0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f,!0x0,_0x5f1076,_0x39f640);if(_0x2eaca8==null&&(_0x2eaca8=_0x521af4[_0x488b37(0x2c0)](_0x13f83f-0x1,!0x1,_0x5f1076,_0x39f640)),_0x96dd26){const {contentBoxPointGroup:_0x4eddc7}=_0x243586[_0x488b37(0x1b1)](_0x2eaca8,_0x2eaca8);if(_0x4eddc7[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x290)](_0x489e45,_0x4eddc7,_0x45acf5,_0x8f12b3,_0x2507b0),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x431131&&_0x2eaca8){if(_0x195431===_0x47ea56[_0x488b37(0x169)]){const _0x298a7b=new _0x2827a9(_0x3cb66d,_0x521af4),{pointGroup:_0x778712}=(_0x370a5=_0x298a7b[_0x488b37(0x1b1)](_0x431131,_0x2eaca8))!=null?_0x370a5:{};if(_0x778712==null||_0x778712[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x19c)](_0x489e45,_0x778712,_0x45acf5,_0x8f12b3);}else{if(!_0x48f5d3){const {borderBoxPointGroup:_0x57ea95}=_0x243586[_0x488b37(0x1b1)](_0x431131,_0x2eaca8);if(_0x57ea95[_0x488b37(0x23c)]===0x0)continue;this[_0x488b37(0x1c5)](_0x489e45,_0x57ea95,_0x45acf5,_0x8f12b3);}}}}}[_0x4efb46(0x290)](_0x2e2a12,_0x1c0557,_0x2e4826,_0x2971c9,_0x1321a5){const _0x5d9adb=_0x4efb46,_0x3edd2a=this['_getAnchorBounding'](_0x1c0557),{left:_0x42508d,top:_0x5f2894,height:_0x509c7b}=_0x3edd2a,_0x1160ee=this[_0x5d9adb(0x2fe)](),_0x356c48=Di/_0x1160ee,_0x234296=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9,'height':_0x509c7b,'width':Ri,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':_0x356c48,'stroke':Ni,'evented':!0x0});this[_0x5d9adb(0x159)]=_0x234296,this[_0x5d9adb(0x249)]['addObject'](_0x234296,_0x4c5bce);const _0x3cd82b=new _0x37cfd0(Ie+_0x24e58b[_0x5d9adb(0x230)](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ge/0x2,'height':ge,'width':ge,'fill':_0x2e2a12||_0x3f4962(_0x219248[_0x5d9adb(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x2e2a12||_0x3f4962(_0x219248['black'],0x0),'evented':!0x1});this[_0x5d9adb(0x204)]=_0x3cd82b,this[_0x5d9adb(0x249)]['addObject'](_0x3cd82b,_0x4c5bce);const _0xfea105=new he(Ie+_0x24e58b['generateRandomId'](X),{'left':_0x42508d+_0x2e4826-_0x356c48,'top':_0x5f2894+_0x2971c9-ee,'text':_0x1321a5,'color':_0x2e2a12});this[_0x5d9adb(0x2b9)]=_0xfea105,this[_0x5d9adb(0x249)][_0x5d9adb(0x1e1)](_0xfea105,_0x4c5bce),this[_0x5d9adb(0x266)]=!0x1;}[_0x4efb46(0x1f4)](){const _0x1f7618=_0x4efb46,_0x5a65f1=this[_0x1f7618(0x159)][_0x1f7618(0x2d6)][_0x1f7618(0x28e)](()=>{this['_hover']=!0x0;}),_0x194097=this[_0x1f7618(0x159)][_0x1f7618(0x1e9)][_0x1f7618(0x28e)](()=>{const _0x4d994a=_0x1f7618;this[_0x4d994a(0x34c)]&&clearTimeout(this[_0x4d994a(0x34c)]),this[_0x4d994a(0x34c)]=setTimeout(()=>{const _0x229684=_0x4d994a;this[_0x229684(0x266)]=!0x1;},0x7d0);});return()=>{const _0x27d4c5=_0x1f7618;_0x5a65f1[_0x27d4c5(0x208)](),_0x194097[_0x27d4c5(0x208)]();};}[_0x4efb46(0x1c5)](_0xd7b160,_0x44d111,_0x147523,_0x53a95a){const _0x354e26=_0x4efb46,_0x57f6d0=new _0x39995a(_0xd7b160)[_0x354e26(0x321)](0.2)[_0x354e26(0x26f)](),_0x4b92f8=new _0x22432b(bi+_0x24e58b['generateRandomId'](X),{'pointsGroup':_0x44d111,'fill':_0x57f6d0||_0x3f4962(_0x219248[_0x354e26(0x25b)],0.2),'left':_0x147523,'top':_0x53a95a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354e26(0x232)][_0x354e26(0x1d1)](_0x4b92f8),this[_0x354e26(0x249)][_0x354e26(0x1e1)](_0x4b92f8,_0x4c5bce);}[_0x4efb46(0x19c)](_0x580553,_0x41da50,_0x5902c8,_0x33dc47){const _0x3efbda=_0x4efb46,_0x31853b=new _0x39995a(_0x580553)[_0x3efbda(0x321)](0.2)['toRgbString'](),_0x1168b3=new _0x22432b(Ti+_0x24e58b[_0x3efbda(0x230)](X),{'pointsGroup':_0x41da50,'fill':_0x31853b||_0x3f4962(_0x219248[_0x3efbda(0x25b)],0.2),'left':_0x5902c8,'top':_0x33dc47,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3efbda(0x232)]['push'](_0x1168b3),this[_0x3efbda(0x249)]['addObject'](_0x1168b3,_0x4c5bce);}[_0x4efb46(0x149)](_0x173223){const _0x1c9f59=_0x173223[0x0],_0x3a4b23=_0x1c9f59[0x0],_0x43f167=_0x1c9f59[0x2],{x:_0x235ef9,y:_0x1e1613}=_0x3a4b23,{x:_0x5429e3,y:_0x125d6f}=_0x43f167;return{'left':_0x235ef9,'top':_0x1e1613,'width':_0x5429e3-_0x235ef9,'height':_0x125d6f-_0x1e1613};}[_0x4efb46(0x2fe)](){const _0x1eff1f=_0x4efb46,{scaleX:_0x536cf4,scaleY:_0x383514}=this[_0x1eff1f(0x249)][_0x1eff1f(0x1c9)]();return Math[_0x1eff1f(0x16c)](_0x536cf4,_0x383514);}}var Ui=Object[_0x4efb46(0x14b)],Mi=(_0x3e77d5,_0x14f55a,_0x7f2d57,_0x545897)=>{const _0x46cb3c=_0x4efb46;for(var _0x46051a=_0x545897>0x1?void 0x0:_0x545897?Ui(_0x14f55a,_0x7f2d57):_0x14f55a,_0x14901c=_0x3e77d5[_0x46cb3c(0x23c)]-0x1,_0x203150;_0x14901c>=0x0;_0x14901c--)(_0x203150=_0x3e77d5[_0x14901c])&&(_0x46051a=_0x203150(_0x46051a)||_0x46051a);return _0x46051a;},Z=(_0x2e898e,_0x1898a2)=>(_0x56ec77,_0x4732e2)=>_0x1898a2(_0x56ec77,_0x4732e2,_0x2e898e);let we=class extends _0x264876{constructor(_0x371455,_0x409a6b,_0x22c2ab,_0x2ec8cb,_0x5e9346){const _0x2d9ffa=_0x4efb46;super(),_(this,_0x2d9ffa(0x1b6),[]),_(this,_0x2d9ffa(0x17a),[]),(this['_context']=_0x371455,this[_0x2d9ffa(0x2ab)]=_0x409a6b,this['_collabCursorController']=_0x22c2ab,this['_commandService']=_0x2ec8cb,this['_themeService']=_0x5e9346,this['_init']());}[_0x4efb46(0x2a5)](){const _0x2a832a=_0x4efb46,_0x231219=this[_0x2a832a(0x2f9)][_0x2a832a(0x152)],_0x39bdda=this[_0x2a832a(0x2ab)];this[_0x2a832a(0x1ee)](_0x5be441([this[_0x2a832a(0x17e)][_0x2a832a(0x1d0)](_0x231219),this[_0x2a832a(0x1c8)][_0x2a832a(0x258)]])[_0x2a832a(0x22f)](_0x90759a(([_0x3a9405,_0x4b2b56])=>({'skeleton':_0x39bdda[_0x2a832a(0x202)](),'cursors':[..._0x3a9405[_0x2a832a(0x2b2)]()][_0x2a832a(0x2f7)](_0x3625bc=>({..._0x3625bc,'color':this[_0x2a832a(0x1c8)][_0x2a832a(0x14c)](_0x3625bc[_0x2a832a(0x302)])}))})))['subscribe'](_0x350831=>{const _0x101f29=_0x2a832a;if(this[_0x101f29(0x248)](),_0x350831){const {skeleton:_0x24c439,cursors:_0x1ef7a8}=_0x350831;this[_0x101f29(0x2dc)](_0x24c439,_0x1ef7a8);}})),this[_0x2a832a(0x1cf)](),this[_0x2a832a(0x1c7)]();}[_0x4efb46(0x2dc)](_0x426cbf,_0xef1a5c){const _0x530a14=_0x4efb46,{scene:_0x16740d,mainComponent:_0x561f1e}=this[_0x530a14(0x2f9)],_0x206c20=_0xef1a5c[_0x530a14(0x23e)](_0x51820f=>new qe(_0x51820f,_0x16740d,_0x426cbf,_0x561f1e));this[_0x530a14(0x1b6)]=_0x206c20,this[_0x530a14(0x17a)]=_0xef1a5c;}['_refreshCollabCursors'](){const _0x20fd49=_0x4efb46;this[_0x20fd49(0x248)]();const {scene:_0x39e1a3,mainComponent:_0x550335}=this[_0x20fd49(0x2f9)],_0x4193ae=this[_0x20fd49(0x2ab)]['getSkeleton'](),_0x2caa10=this[_0x20fd49(0x17a)][_0x20fd49(0x23e)](_0x3049d3=>new qe(_0x3049d3,_0x39e1a3,_0x4193ae,_0x550335));this[_0x20fd49(0x1b6)]=_0x2caa10;}[_0x4efb46(0x248)](){const _0x58d33e=_0x4efb46;this[_0x58d33e(0x1b6)]['forEach'](_0x5c50e8=>_0x5c50e8[_0x58d33e(0x1b7)]()),this[_0x58d33e(0x1b6)]=[];}['_initCommandExecutedListener'](){const _0x3e8db9=_0x4efb46,_0x1f86ae=[_0x3b78bf['id']];this[_0x3e8db9(0x1ee)](this[_0x3e8db9(0x207)][_0x3e8db9(0x1ef)](_0x284fb4=>{const _0x23455d=_0x3e8db9;_0x1f86ae[_0x23455d(0x1e6)](_0x284fb4['id'])&&_0x284fb4[_0x23455d(0x1b2)]['unitId']===this[_0x23455d(0x2f9)][_0x23455d(0x152)]&&this['_refreshCollabCursors']();}));}[_0x4efb46(0x1cf)](){const _0x1da246=_0x4efb46;this[_0x1da246(0x1ee)](_0x3ef67d(this['_context'][_0x1da246(0x1c6)][_0x1da246(0x1d8)])[_0x1da246(0x22f)](_0x10acae(_0x44b13b=>_0x44b13b[_0x1da246(0x2e4)]===_0x47f57f[_0x1da246(0x1aa)]),_0x1133d9(0x10))[_0x1da246(0x157)](()=>{const _0x53cefa=_0x1da246;this[_0x53cefa(0x1fc)]();}));}};we=Mi([Z(0x1,_0xc24e4b(_0x34549c)),Z(0x2,_0xc24e4b(H)),Z(0x3,_0xc68a40),Z(0x4,_0xc24e4b(_0x3a07ea))],we);const wi=0x1,Pi=1.5;class Li extends _0x50f11a{constructor(_0x2673ac,_0x405438){const _0xa3b42e=_0x4efb46;super(_0x2673ac,_0x405438),_(this,_0xa3b42e(0x335)),_(this,'_hovered',!0x1),_(this,_0xa3b42e(0x260)),_(this,_0xa3b42e(0x158),''),_(this,'_labelPosition',_0xa3b42e(0x30d)),_(this,_0xa3b42e(0x18a)),(_0x405438&&this[_0xa3b42e(0x1a2)](_0x405438),this[_0xa3b42e(0x2d6)]['subscribeEvent'](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x0})),this['onPointerLeave$'][_0xa3b42e(0x28e)](()=>this[_0xa3b42e(0x1a2)]({'hovered':!0x1})));}[_0x4efb46(0x1a2)](_0xe8cbd3){const _0x422486=_0x4efb46;var _0x359a92,_0x22cfa8,_0x3a0880,_0x36c66a,_0x3d873a,_0x313fef;this[_0x422486(0x335)]=(_0x359a92=_0xe8cbd3[_0x422486(0x302)])!=null?_0x359a92:this[_0x422486(0x335)],this[_0x422486(0x344)]=(_0x22cfa8=_0xe8cbd3['hovered'])!=null?_0x22cfa8:this[_0x422486(0x344)],this[_0x422486(0x260)]=(_0x3a0880=_0xe8cbd3[_0x422486(0x24f)])!=null?_0x3a0880:this[_0x422486(0x260)],this[_0x422486(0x158)]=(_0x36c66a=_0xe8cbd3[_0x422486(0x289)])!=null?_0x36c66a:this[_0x422486(0x158)],this[_0x422486(0x29b)]=(_0x3d873a=_0xe8cbd3[_0x422486(0x291)])!=null?_0x3d873a:this['_labelPosition'],this[_0x422486(0x18a)]=(_0x313fef=_0xe8cbd3[_0x422486(0x1f0)])!=null?_0x313fef:this[_0x422486(0x18a)],this['transformByState']({'width':_0xe8cbd3[_0x422486(0x280)],'height':_0xe8cbd3[_0x422486(0x15d)]});}['onMouseMove'](_0x13de3b){const _0x3cd69f=_0x4efb46,{row:_0x156ae8,column:_0x57fb52}=_0x13de3b;if(_0x156ae8>=this[_0x3cd69f(0x260)]['startRow']&&_0x156ae8<=this['_range'][_0x3cd69f(0x23d)]&&_0x57fb52>=this[_0x3cd69f(0x260)][_0x3cd69f(0x211)]&&_0x57fb52<=this[_0x3cd69f(0x260)][_0x3cd69f(0x154)]){this[_0x3cd69f(0x1a2)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4efb46(0x22b)](_0x4135a9){return!0x1;}[_0x4efb46(0x265)](_0x4bf9a3){const _0x19880d=_0x4efb46;_0x37cfd0[_0x19880d(0x2e7)](_0x4bf9a3,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x19880d(0x335)],'evented':!0x1,'fill':this[_0x19880d(0x18a)]}),this['_hovered']&&(_0x4bf9a3[_0x19880d(0x299)](),_0x4bf9a3[_0x19880d(0x33e)](0x1,0x0,0x0,0x1,this[_0x19880d(0x280)],this[_0x19880d(0x29b)]==='bottom'?0x0:-0x14),he[_0x19880d(0x2e7)](_0x4bf9a3,{'text':this[_0x19880d(0x158)],'color':this[_0x19880d(0x335)]}),_0x4bf9a3[_0x19880d(0x2e5)]());}}var Ai=Object[_0x4efb46(0x14b)],yi=(_0x9da685,_0x9f6cd3,_0x33e561,_0x51df88)=>{const _0x36ffa6=_0x4efb46;for(var _0x5823fc=_0x51df88>0x1?void 0x0:_0x51df88?Ai(_0x9f6cd3,_0x33e561):_0x9f6cd3,_0x37084f=_0x9da685[_0x36ffa6(0x23c)]-0x1,_0x484bd4;_0x37084f>=0x0;_0x37084f--)(_0x484bd4=_0x9da685[_0x37084f])&&(_0x5823fc=_0x484bd4(_0x5823fc)||_0x5823fc);return _0x5823fc;},ve=(_0x5f5b7e,_0x121ca0)=>(_0x590f26,_0x4788e5)=>_0x121ca0(_0x590f26,_0x4788e5,_0x5f5b7e);const $i=0x1389;let Pe=class extends _0x264876{constructor(_0x1909b7,_0x38eaa9,_0x1d829d,_0x791e19){const _0x4a72f4=_0x4efb46;super(),_(this,_0x4a72f4(0x17a),new Set()),_(this,_0x4a72f4(0x320),null),(this['_context']=_0x1909b7,this[_0x4a72f4(0x1db)]=_0x38eaa9,this[_0x4a72f4(0x17e)]=_0x1d829d,this[_0x4a72f4(0x1c8)]=_0x791e19,this['_init']());}[_0x4efb46(0x2a5)](){const _0x286241=_0x4efb46;this[_0x286241(0x1db)]['currentSkeleton$'][_0x286241(0x22f)](_0x492ddb(this['dispose$']),_0x385aee(_0x1b9c71=>{const _0x346e93=_0x286241;if(_0x1b9c71){const _0x485b7a=_0x1b9c71[_0x346e93(0x1cc)];return _0x5be441(this[_0x346e93(0x17e)][_0x346e93(0x1d0)](this[_0x346e93(0x2f9)][_0x346e93(0x152)]),this[_0x346e93(0x1c8)][_0x346e93(0x258)])['pipe'](_0x90759a(([_0x4d8855,_0x59b5bc])=>{const _0x443779=_0x346e93,_0x594972=new Map();return _0x4d8855[_0x443779(0x19e)]((_0x397e3b,_0x548706)=>{const _0x3fea70=_0x443779;if(_0x397e3b['sheetID']===_0x485b7a){const _0x543df3={..._0x397e3b};_0x543df3['color']=this[_0x3fea70(0x1c8)][_0x3fea70(0x14c)](_0x397e3b[_0x3fea70(0x302)]),_0x594972[_0x3fea70(0x311)](_0x548706,_0x543df3);}}),{'skeleton':_0x1b9c71,'cursors':_0x594972};}));}return _0x4846f1({'skeleton':null,'cursors':new Map()});}))[_0x286241(0x157)](({skeleton:_0x27000a,cursors:_0x2f6399})=>{const _0x4b8d6c=_0x286241;this[_0x4b8d6c(0x248)](),_0x27000a&&this['_updateCollabCursors'](_0x27000a,_0x2f6399);}),this['_sheetSkeletonManagerService'][_0x286241(0x2c9)]['subscribe'](_0x3c4ce7=>{const _0x54409e=_0x286241;if(_0x3c4ce7==null)return;const {skeleton:_0x571775}=_0x3c4ce7,{scene:_0x35a52a}=this[_0x54409e(0x2f9)];_0x35a52a[_0x54409e(0x1cb)][_0x54409e(0x28e)](_0x10b8fb(_0x49335a=>{const _0x21fa98=_0x54409e;var _0x380560,_0x2ed646;const {offsetX:_0x5466b2,offsetY:_0x20faba}=_0x49335a,{x:_0xd0d94a,y:_0x2b5002}=_0x35a52a['getRelativeToViewportCoord'](_0x507064[_0x21fa98(0x1a0)]([_0x5466b2,_0x20faba])),{scaleX:_0x1b2ab4,scaleY:_0x5295fd}=_0x35a52a[_0x21fa98(0x1c9)](),_0x1b5cde=_0x35a52a[_0x21fa98(0x239)](_0x160298[_0x21fa98(0x170)]),_0x30ffb2=_0x35a52a['getVpScrollXYInfoByPosToVp'](_0x507064[_0x21fa98(0x1a0)]([_0xd0d94a,_0x2b5002]),_0x1b5cde),_0x954ad3=_0x571775['getCellPositionByOffset'](_0x5466b2,_0x20faba,_0x1b2ab4,_0x5295fd,_0x30ffb2);((_0x380560=this['_lastPointer'])==null?void 0x0:_0x380560[_0x21fa98(0x18c)])===_0x954ad3[_0x21fa98(0x18c)]&&((_0x2ed646=this[_0x21fa98(0x320)])==null?void 0x0:_0x2ed646[_0x21fa98(0x345)])===_0x954ad3['row']||this[_0x21fa98(0x17a)][_0x21fa98(0x19e)](_0x176b54=>{_0x176b54['onMouseMove'](_0x954ad3);});},0x64));});}[_0x4efb46(0x2dc)](_0x4e8a2c,_0x3971bc){const _0x21338b=_0x4efb46;var _0x5f4c7a;const _0x291369=(_0x5f4c7a=this['_sheetSkeletonManagerService'][_0x21338b(0x28d)]())==null?void 0x0:_0x5f4c7a[_0x21338b(0x312)];if(!_0x291369)return;const _0x2a2829=this[_0x21338b(0x259)]();if(!_0x2a2829)return;this['_cursors'][_0x21338b(0x19e)](_0x3154da=>{_0x3154da['makeDirty']();});const {scene:_0x1fc1fc}=_0x2a2829,_0x41f237=xi(Array[_0x21338b(0x153)](_0x3971bc[_0x21338b(0x2b2)]()))[_0x21338b(0x23e)](_0x321174=>{const _0x7cdf23=_0x21338b,{color:_0x18dc30,range:_0x5f3206,name:_0x50c6c,selection:_0x569076,sheetID:_0x425add}=_0x321174,{startColumn:_0x5032b1,startRow:_0x452b66,endColumn:_0x13057a,endRow:_0x131661}=_0x5f3206,_0x3e18e2=_0x3bbc56(_0x452b66,_0x5032b1,_0x1fc1fc,_0x291369),_0x5a9db3=_0x3bbc56(_0x131661,_0x13057a,_0x1fc1fc,_0x291369),{columnHeaderHeightAndMarginTop:_0x23091b}=_0x291369,{startX:_0x34208f,startY:_0x22e2b0}=_0x3e18e2,{endX:_0x8acfb4,endY:_0x5662cd}=_0x5a9db3,_0x11e3d6=_0x8acfb4-_0x34208f,_0xf99e5=_0x5662cd-_0x22e2b0,_0x1526a3={'labelPosition':_0x22e2b0-_0x23091b>=ee?'top':_0x7cdf23(0x191),'sheetID':_0x425add,'range':_0x5f3206,'color':_0x18dc30,'name':_0x50c6c,'selection':_0x569076,'left':_0x34208f,'top':_0x22e2b0,'width':_0x11e3d6,'height':_0xf99e5,'evented':!0x1,'zIndex':$i};return new Li(_0x50c6c,_0x1526a3);});_0x1fc1fc[_0x21338b(0x221)](_0x41f237,wi),this[_0x21338b(0x17a)]=new Set(_0x41f237);}['_removeCollabCursors'](){const _0x2edb75=_0x4efb46;var _0x305070;(_0x305070=this[_0x2edb75(0x17a)])==null||_0x305070['forEach'](_0x438174=>_0x438174[_0x2edb75(0x1b7)]());}[_0x4efb46(0x259)](){const _0x87fad4=_0x4efb46;return _0x207f8a(this[_0x87fad4(0x2f9)][_0x87fad4(0x2b3)],this[_0x87fad4(0x2f9)]);}};Pe=yi([ve(0x1,_0xc24e4b(_0x25b8e3)),ve(0x2,_0xc24e4b(H)),ve(0x3,_0xc24e4b(_0x3a07ea))],Pe);function xi(_0x11d6be){const _0x300092=_0x4efb46,_0x3f611d=new Map();return _0x11d6be[_0x300092(0x19e)](_0x5e8c5b=>{const _0x3401b4=_0x300092;if(_0x3f611d[_0x3401b4(0x20a)](_0x5e8c5b['selection'])){const _0x177425=_0x3f611d[_0x3401b4(0x352)](_0x5e8c5b[_0x3401b4(0x1c3)]);_0x177425[_0x3401b4(0x289)]+=',\x20'+_0x5e8c5b[_0x3401b4(0x289)];}else _0x3f611d[_0x3401b4(0x311)](_0x5e8c5b[_0x3401b4(0x1c3)],_0x5e8c5b);}),Array['from'](_0x3f611d[_0x300092(0x2b2)]());}var v=function(){const _0x1fc404=_0x4efb46;return v=Object[_0x1fc404(0x219)]||function(_0x1ee796){const _0x3dc6c4=_0x1fc404;for(var _0x911c6c,_0x2c9803=0x1,_0x8fa1d=arguments[_0x3dc6c4(0x23c)];_0x2c9803<_0x8fa1d;_0x2c9803++){_0x911c6c=arguments[_0x2c9803];for(var _0x1f898d in _0x911c6c)Object['prototype']['hasOwnProperty'][_0x3dc6c4(0x284)](_0x911c6c,_0x1f898d)&&(_0x1ee796[_0x1f898d]=_0x911c6c[_0x1f898d]);}return _0x1ee796;},v[_0x1fc404(0x307)](this,arguments);},Bi=function(_0x53563e,_0x1d9852){const _0x241a71=_0x4efb46;var _0xca915c={};for(var _0x593f5d in _0x53563e)Object['prototype'][_0x241a71(0x15c)]['call'](_0x53563e,_0x593f5d)&&_0x1d9852[_0x241a71(0x20f)](_0x593f5d)<0x0&&(_0xca915c[_0x593f5d]=_0x53563e[_0x593f5d]);if(_0x53563e!=null&&typeof Object[_0x241a71(0x329)]==_0x241a71(0x247)){for(var _0x53c805=0x0,_0x593f5d=Object[_0x241a71(0x329)](_0x53563e);_0x53c805<_0x593f5d[_0x241a71(0x23c)];_0x53c805++)_0x1d9852[_0x241a71(0x20f)](_0x593f5d[_0x53c805])<0x0&&Object[_0x241a71(0x1dd)][_0x241a71(0x2aa)][_0x241a71(0x284)](_0x53563e,_0x593f5d[_0x53c805])&&(_0xca915c[_0x593f5d[_0x53c805]]=_0x53563e[_0x593f5d[_0x53c805]]);}return _0xca915c;},je=_0xf2f6e1(function(_0x26c05f,_0xd303cd){const _0xec4af9=_0x4efb46;var _0xa1a630=_0x26c05f[_0xec4af9(0x174)],_0x428a4e=_0x26c05f['id'],_0x424299=_0x26c05f['className'],_0x4c0cb8=_0x26c05f[_0xec4af9(0x25d)],_0x4dabda=Bi(_0x26c05f,[_0xec4af9(0x174),'id',_0xec4af9(0x1f7),_0xec4af9(0x25d)]),_0x17c51c=_0xec4af9(0x168)[_0xec4af9(0x216)](_0x428a4e,'\x20')['concat'](_0x424299||'')[_0xec4af9(0x173)](),_0x2cc50a=_0x4551a4('_'[_0xec4af9(0x216)](ji()));return Rt(_0xa1a630,''[_0xec4af9(0x216)](_0x428a4e),{'defIds':_0xa1a630[_0xec4af9(0x2ed)],'idSuffix':_0x2cc50a['current']},v({'ref':_0xd303cd,'className':_0x17c51c},_0x4dabda),_0x4c0cb8);});function Rt(_0x24cf71,_0x2faf5c,_0x4cc9bc,_0x7e9eac,_0x205d2c){const _0x3e55d6=_0x4efb46;return _0x244245(_0x24cf71['tag'],v(v({'key':_0x2faf5c},ki(_0x24cf71,_0x4cc9bc,_0x205d2c)),_0x7e9eac),(Hi(_0x24cf71,_0x4cc9bc)[_0x3e55d6(0x273)]||[])[_0x3e55d6(0x23e)](function(_0x3526ac,_0x57a18e){const _0x2d14ba=_0x3e55d6;return Rt(_0x3526ac,''[_0x2d14ba(0x216)](_0x2faf5c,'-')[_0x2d14ba(0x216)](_0x24cf71['tag'],'-')[_0x2d14ba(0x216)](_0x57a18e),_0x4cc9bc,void 0x0,_0x205d2c);}));}function ki(_0x35b7eb,_0x3eea2e,_0x7c9dfb){const _0x1d4924=_0x4efb46;var _0x22a644=v({},_0x35b7eb[_0x1d4924(0x1df)]);_0x7c9dfb!=null&&_0x7c9dfb['colorChannel1']&&_0x22a644[_0x1d4924(0x303)]===_0x1d4924(0x327)&&(_0x22a644[_0x1d4924(0x303)]=_0x7c9dfb['colorChannel1']),_0x35b7eb[_0x1d4924(0x2ff)]==='mask'&&_0x22a644['id']&&(_0x22a644['id']=_0x22a644['id']+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)[_0x1d4924(0x19e)](function(_0x41dc0c){const _0x471aca=_0x1d4924;var _0x2d7d42=_0x41dc0c[0x0],_0x4f3306=_0x41dc0c[0x1];_0x2d7d42===_0x471aca(0x166)&&typeof _0x4f3306=='string'&&(_0x22a644[_0x2d7d42]=_0x4f3306[_0x471aca(0x181)](/url\(#(.*)\)/,_0x471aca(0x244)[_0x471aca(0x216)](_0x3eea2e[_0x471aca(0x27f)],')')));});var _0x21937e=_0x3eea2e[_0x1d4924(0x2ed)];return!_0x21937e||_0x21937e[_0x1d4924(0x23c)]===0x0||(_0x35b7eb[_0x1d4924(0x2ff)]===_0x1d4924(0x308)&&_0x22a644[_0x1d4924(0x1bb)]&&(_0x22a644[_0x1d4924(0x1bb)]=_0x22a644[_0x1d4924(0x1bb)]+_0x3eea2e[_0x1d4924(0x27f)]),Object[_0x1d4924(0x2ac)](_0x22a644)['forEach'](function(_0x528970){const _0x37f5fd=_0x1d4924;var _0x252ad0=_0x528970[0x0],_0x7edb45=_0x528970[0x1];typeof _0x7edb45==_0x37f5fd(0x1bc)&&(_0x22a644[_0x252ad0]=_0x7edb45[_0x37f5fd(0x181)](/url\(#(.*)\)/,_0x37f5fd(0x244)['concat'](_0x3eea2e[_0x37f5fd(0x27f)],')')));})),_0x22a644;}function Hi(_0x3aa014,_0x1a76cf){const _0x52c61a=_0x4efb46;var _0x182103,_0x4b17c1=_0x1a76cf[_0x52c61a(0x2ed)];return!_0x4b17c1||_0x4b17c1[_0x52c61a(0x23c)]===0x0?_0x3aa014:_0x3aa014[_0x52c61a(0x2ff)]===_0x52c61a(0x20e)&&(!((_0x182103=_0x3aa014[_0x52c61a(0x273)])===null||_0x182103===void 0x0)&&_0x182103['length'])?v(v({},_0x3aa014),{'children':_0x3aa014[_0x52c61a(0x273)][_0x52c61a(0x23e)](function(_0x1faa59){const _0x457539=_0x52c61a;return typeof _0x1faa59[_0x457539(0x1df)]['id']=='string'&&_0x4b17c1&&_0x4b17c1[_0x457539(0x1e6)](_0x1faa59[_0x457539(0x1df)]['id'])?v(v({},_0x1faa59),{'attrs':v(v({},_0x1faa59[_0x457539(0x1df)]),{'id':_0x1faa59[_0x457539(0x1df)]['id']+_0x1a76cf[_0x457539(0x27f)]})}):_0x1faa59;})}):_0x3aa014;}function ji(){const _0x238a04=_0x4efb46;return Math[_0x238a04(0x1ca)]()[_0x238a04(0x2d0)](0x24)[_0x238a04(0x2ef)](0x2,0x8);}je[_0x4efb46(0x21b)]=_0x4efb46(0x306);var Yi={'tag':'svg','attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':'0\x200\x2016\x2016','width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1c1),'strokeLinecap':_0x4efb46(0x1b8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':_0x4efb46(0x225),'attrs':{'id':_0x4efb46(0x292)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0xf2f6e1(function(_0x57d439,_0x5bd8e0){const _0x1319cc=_0x4efb46;return _0x244245(je,Object[_0x1319cc(0x219)]({},_0x57d439,{'id':_0x1319cc(0x347),'ref':_0x5bd8e0,'icon':Yi}));});Dt[_0x4efb46(0x21b)]=_0x4efb46(0x2f0);var Fi={'tag':_0x4efb46(0x297),'attrs':{'xmlns':_0x4efb46(0x342),'fill':_0x4efb46(0x16b),'viewBox':_0x4efb46(0x2c5),'width':_0x4efb46(0x1f1),'height':_0x4efb46(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x4efb46(0x2fa)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'stroke':_0x4efb46(0x1d5),'d':_0x4efb46(0x1e5),'strokeLinecap':'round','strokeLinejoin':_0x4efb46(0x1b8),'strokeWidth':1.2}}]},{'tag':_0x4efb46(0x20e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4efb46(0x2a0)},'children':[{'tag':_0x4efb46(0x203),'attrs':{'fill':_0x4efb46(0x282),'d':_0x4efb46(0x2cd),'transform':_0x4efb46(0x205)}}]}]}],'defIds':[_0x4efb46(0x2a0)]},Nt=_0xf2f6e1(function(_0x284855,_0x5a2ff1){const _0x11aa80=_0x4efb46;return _0x244245(je,Object['assign']({},_0x284855,{'id':_0x11aa80(0x1c0),'ref':_0x5a2ff1,'icon':Fi}));});Nt[_0x4efb46(0x21b)]=_0x4efb46(0x155);function Wi(_0x2747bf){const _0x423803=_0x4efb46;switch(_0x2747bf){case _0x2fb3dc[_0x423803(0x1ff)]:return _0x423803(0x171);case _0x2fb3dc[_0x423803(0x2b8)]:return _0x423803(0x2c7);case _0x2fb3dc[_0x423803(0x2a9)]:return'collabStatus.fetchMiss';case _0x2fb3dc[_0x423803(0x14d)]:return _0x423803(0x2af);case _0x2fb3dc[_0x423803(0x1f3)]:case _0x2fb3dc[_0x423803(0x233)]:return _0x423803(0x315);case _0x2fb3dc[_0x423803(0x1ab)]:case _0x2fb3dc[_0x423803(0x245)]:return'collabStatus.synced';}}function _0x906e(){const _0x1d078d=['disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','mutations','sessionTicket','fillRule','font','idSuffix','width','9429640bEfRJd','white','defineProperty','call','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_INVITE_CODE','getSheetId','_localCacheService','name','purple.300','getOffsetConfig','_initDependencies','getCurrent','subscribeEvent','init','_drawAnchor','labelPosition','off-line-icon_clip0_910_343','_onRefRangeChange','closePath','collaboration-client-ui.config','_status$','svg','Warning','save','eventID','_labelPosition','3458815EdeNac','with','NO_OTHER_CLIENTS_EDITING','setInterval','on-line-icon_clip0_910_349','INVITE_CODE_ALREADY_BOUND','_scheduleClearOtherTimer','replaceState','PERMISSION_DENIED','_init','subunit','PY_RUNTIME_SCRIPT_ERROR','then','FETCH_MISS','propertyIsEnumerable','_docSkeletonManagerService','entries','min','createSocket','collabStatus.notCollab','symbol','transformRemoteChangeset','values','unit','storage','send','assignAColorForMemberID','_assignedColors','CONFLICT','_textBubble','getActiveRange','_disabled','blue.400','registerRenderModule','YUUMI_ASYNCIO_CANCELLED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','imageSourceType','m1Prime','Failed','debug','0\x200\x2017\x2016','25849164STFOnE','collabStatus.conflict','_session','currentSkeleton$','LOGIN_FAILED','transformIMECache','_collabSessionService','M0\x200H16V16H0z','whenReady','_toggleOffline','toString','_univerInstanceService','_renderManagerService','transformMutation','saveImage','doc.mutation.rich-text-editing','onPointerEnter$','error','ranges','jiqing.500','m2Prime','createInstance','_updateCollabCursors','undoState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','searchParams','_scheduleSaving','_messageService','getTypeOfUnitAdded$','type','restore','transformStateCache','drawWith','_docClipboardService','getValue','asObservable','_entities','textRanges','defIds','_id','substring','OffLineIcon','_updateURLWithCurrentState','memberID','_docSkeleton','DeleteRangeMoveUpCommandId','cursorInfo$','_saveTaskMap','flatMap','getCurrentRevOfUnit','_context','url(#on-line-icon_clip0_910_349)','_docSyncEditingCollabCursorService','INVITE_CODE_REQUIRED','session.collaboration-timeout','_getScale','tag','_beforeCloseService','fillText','color','fill','UNIVER_SHEET','onLocalMutation','UniverIcon','apply','use','Unknown\x20user','delete','UNAUTHENTICATED','_saveCache','top','event$','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','set','skeleton','WECHAT_HAS_BEEN_BOUND','setUndoRedoMutationParamsCache','collabStatus.syncing','MUTATION','onRendered','univer-flex\x20univer-items-center','getUniverSheetInstance','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','_clearOtherTimers','session.will-retry','pushState','text','_lastPointer','setAlpha','_uiPartsService','_render','8zSEhUl','InsertRangeMoveRightCommandId','next','colorChannel1','onStarting','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','result','addEventListener','urlChange$','OTHER_CLIENTS_EDITING','exhaustSavingTask','242DmZFLa','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleJoinEvent','addHandlerCallback','focused$','_color','cursorInfo','startsWith','LICENSE_MAX_UNITS_EXCEEDED','status$','_entityInit$','complete','RemoveRowCommandId','3188huduUg','transform','_unitOnClients','roomMembers','deepClone','http://www.w3.org/2000/svg','isArray','_hovered','row','getUnhiddenWorksheets','off-line-icon','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationUIEventService','_initStatusComponent','newValue','_hideTimer','dispose$','_cachedData','_registerDependencies','getMemberID','hide','get','...','_eventUnsubscribe','USERS_LEAVE','_updateSubUnitFromURLParams','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_config','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Error','_getAnchorBounding','roomMembers$','getOwnPropertyDescriptor','getColorFromTheme','NOT_COLLAB','DeleteRangeMoveLeftCommandId','_startSheetCollabCursor','collabCursorState$','CHANGESET_REVISION_CONFILICT','unitId','from','endColumn','OnLineIcon','getSheetBySheetId','subscribe','_name','_anchor','split','getUnitId','hasOwnProperty','height','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-anchor-','TEXT','_cursor','unload','CLOSE_ROOM','mask','_setupBeforeClosingHandler','univerjs-icon\x20univerjs-icon-','RECT','6yikJOE','none','max','YUUMI_SUBSCRIPTION_NOT_FOUND','_colorAssignService','uni.network.url-service','VIEW_MAIN','collabStatus.offline','ALREADY_EXISTS','trim','icon','HEADER_MENU','OTHER_CLIENT_EDITING','origin','isActive','red.300','_cursors','_cursorInfo$','_instanceService','_onCursorDelete','_collabCursorController','_handleEvent','activeSheet$','replace','sessionStatus$','_colorIndex','_roomMembers$','moveTo','arc','[CollaborationDataLoaderController]','_getSessionTicket','UNIVER_DOC','_backgroundColor','CONNECTOR_DATA_TOO_LARGE','column','application/json','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','bottom','_localeService','setItem','collab-client.tooltip.reconnect','location','_collaborationController','YUUMI_RATE_OVER_LIMIT','loadOfflineData','YUUMI_UNABLE_LOAD_URL','_revisionService','InsertRowCommandId','_drawRectRange','unitID','forEach','_docStateChangeManagerService','FromArray','executionId','setShapeProps','permission.title','requireSession','addClipboardHook','getParam','APPLY_DUPLICATED','InsertColCommandId','fillStyle','resize','SYNCED','_configService','UNRECOGNIZED','getDocRanges','getCurrentUnitForType','_createSocketURL','getRangePointData','params','JOIN_ROOM_FAILED','_transformHistoryAndStateStack','setStateCache','_cursorShapes','dispose','round','isEditing','_transformService','xlink:href','string','_docTransformIMECacheService','getMember','93078OlSKKo','on-line-icon','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','_dataLoaderService','selection','search','_drawTextRange','engine','_initCommandExecutedListener','_themeService','getAncestorScale','random','onPointerMove$','sheetId','_onCursorUpdate','_initEvent','_initResize','getCollabCursors$','push','_transformPreviousActiveRange','override','_urlService','currentColor','runId','_online','onTransformChange$','setTimeout','_heartbeatTimer','_sheetSkeletonManagerService','pluginName','prototype','MoveRangeCommandId','attrs','_getSaveTimeout','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','code','disposeUnit','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','includes','APPLY_REJECT','ticket','onPointerLeave$','clearInterval','getTypeOfUnitDisposed$','green.600','_docTransformStateCacheService','disposeWithMe','onCommandExecuted','backgroundColor','1em','getUndoRedoMutationParamsCache','AWAITING','_handleHover','NOT_FOUND','_localStorageService','className','collab-text-range-','COMPLETION_FINISHED','RemoveColCommandId','EMAIL_HAS_BEEN_BOUND','_refreshCollabCursors','find','36XwapQC','OFFLINE','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-mr-2\x20univer-text-xl','getSkeleton','path','_anchorDot','translate(.97)','_imageIoService','_commandService','unsubscribe','APPLY_PERMISSION_DENIED','has','loadUnit','getCurrentSelections','setActiveRange','defs','indexOf','evenodd','startColumn','INTERNAL_ERROR','collab-rect-range-','getItem','_notificationService','concat','setParam','entityInit$','assign','beginPath','displayName','unshift','APPLY_REVISION_CONFILICT','registerRefRange','_collabCursorState$','div','addObjects','transformMutationsWithChangeset','INVALID_ARGUMENT','_doCreateSocket','clipPath','enableLocalCache','ONLINE','measureText','stringify','YUUMI_AI_RUN_FAILED','triggerDblclick','permission.content','history','getConfig','pipe','generateRandomId','ENSURE_SNAPSHOT_EXECUTION','_shapes','AWAITING_WITH_PENDING','SOCKET_FAILED','_toggleOnline','collaboration-client.offline-data-not-saved','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','registerComponent','getViewport','_syncEditingCollabCursorService','_updateLocalCursor','length','endRow','map','_injector','selections','_selfUnitIDs','registerBeforeClose','12YuolrM','url(#$1','PENDING','saveTaskMap','function','_removeCollabCursors','_scene','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','show','_ensureSubject','removeParam','range','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','_logService','yellow.400','redoState','_setupSubUnitSync','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','_getSheetObject','body','black','getRenderById','extend','lineTo','some','_range','_httpService','popstate','getFocusedUnit','8190981iSDfyp','_draw','_hover','setConfig','collaboration.closeRoom','data','editingUnit','UPDATE_CURSOR','_handleLeaveEvent','3318259nOqhpe','href','toRgbString','size','_removeClearOtherTimer','post','children','_getMergeRange','LICENSE_DISTRO_REJECTED','_initEntityListener','clearTimeout','_memberService'];_0x906e=function(){return _0x1d078d;};return _0x906e();}function Vi(_0x318832){const _0x1b781d=_0x4efb46,{status$:_0x49c067}=_0x318832,_0x4dda4b=_0x4fff27(_0x49c067,_0x2fb3dc[_0x1b781d(0x14d)]),_0xbbdb8f=_0x37419a(_0xe5abc6),_0x266f43=_0x37419a(_0x1a5d93),_0x3d25d7=_0x4dda4b!==_0x2fb3dc[_0x1b781d(0x1ff)],_0x2ec746=_0xbbdb8f['t'](Wi(_0x4dda4b)),_0x1cd12=_0x3d25d7?_0x4b1da7(Nt,{}):_0x4b1da7(Dt,{}),_0x8e170c=_0xe4d2e2(()=>{_0x3d25d7||_0x266f43['reconnect']();},[_0x3d25d7,_0x266f43]);function _0x3615db(){const _0xf24d80=_0x1b781d;return _0xab21e5(_0xf24d80(0x220),{'className':_0xf24d80(0x318),'onClick':_0x8e170c,'children':[_0x4b1da7(_0xf24d80(0x220),{'className':_0x5e46e7(_0xf24d80(0x201),{'univer-text-green-500':_0x3d25d7,'univer-text-red-500':!_0x3d25d7}),'children':_0x1cd12}),_0x4b1da7('div',{'className':_0xf24d80(0x15f),'children':_0x2ec746})]});}return _0x3d25d7?_0x3615db():_0x4b1da7(_0x2eed63,{'title':_0xbbdb8f['t'](_0x1b781d(0x194)),'children':_0x3615db()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1b051f,_0x1ed271,_0x22dcae,_0x50fee6)=>{const _0x3804b1=_0x4efb46;for(var _0x19c1fd=_0x50fee6>0x1?void 0x0:_0x50fee6?Xi(_0x1ed271,_0x22dcae):_0x1ed271,_0x37bf02=_0x1b051f[_0x3804b1(0x23c)]-0x1,_0x496fd6;_0x37bf02>=0x0;_0x37bf02--)(_0x496fd6=_0x1b051f[_0x37bf02])&&(_0x19c1fd=_0x496fd6(_0x19c1fd)||_0x19c1fd);return _0x19c1fd;},Q=(_0x5edf2e,_0x555770)=>(_0x52cbb5,_0x2cc32f)=>_0x555770(_0x52cbb5,_0x2cc32f,_0x5edf2e);let te=class extends _0x56014e{constructor(_0xc26d50,_0xa748b7,_0x212fa0,_0x7645f3){const _0x12aaf2=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x12aaf2(0x14d)])),(this[_0x12aaf2(0x2d1)]=_0xc26d50,this[_0x12aaf2(0x23f)]=_0xa748b7,this[_0x12aaf2(0x196)]=_0x212fa0,this[_0x12aaf2(0x322)]=_0x7645f3,this[_0x12aaf2(0x34a)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5ac626=_0x4efb46;this[_0x5ac626(0x1ee)](this[_0x5ac626(0x2d1)][_0x5ac626(0x334)][_0x5ac626(0x22f)](_0x1b9fb8(()=>{const _0x2ede92=_0x5ac626,_0x1fc994=this['_univerInstanceService'][_0x2ede92(0x263)]();return _0x1fc994?this[_0x2ede92(0x196)]['getCollabEntity$'](_0x1fc994[_0x2ede92(0x15b)]()):_0x4846f1(null);}),_0x1b9fb8(_0x9f7167=>_0x9f7167?_0x9f7167[_0x5ac626(0x339)]:_0x4846f1(_0x2fb3dc[_0x5ac626(0x14d)])))[_0x5ac626(0x157)](_0x4a3606=>{const _0x524b52=_0x5ac626;this[_0x524b52(0x296)][_0x524b52(0x326)](_0x4a3606);}));}[_0x4efb46(0x34a)](){const _0x4a8e52=_0x4efb46;this[_0x4a8e52(0x1ee)](this[_0x4a8e52(0x322)][_0x4a8e52(0x238)](_0x55c190[_0x4a8e52(0x175)],()=>_0x38a51b(Ki({'status$':this[_0x4a8e52(0x296)][_0x4a8e52(0x2ea)]()}),this[_0x4a8e52(0x23f)])));}};te=Gi([Q(0x0,_0xb3fb3f),Q(0x1,_0xc24e4b(_0x35c1bd)),Q(0x2,_0xc24e4b(_0x209cdd)),Q(0x3,_0x513ab5)],te);function Ki(_0x2c131f){const {status$:_0x4555d9}=_0x2c131f;return function(){return _0x4b1da7(Vi,{'status$':_0x4555d9});};}var zi=Object[_0x4efb46(0x14b)],Ji=(_0xc80d4c,_0x41b17d,_0x2b5299,_0xdb7d59)=>{const _0x3b696c=_0x4efb46;for(var _0x21c75b=_0xdb7d59>0x1?void 0x0:_0xdb7d59?zi(_0x41b17d,_0x2b5299):_0x41b17d,_0x425d55=_0xc80d4c[_0x3b696c(0x23c)]-0x1,_0x5eb5c6;_0x425d55>=0x0;_0x425d55--)(_0x5eb5c6=_0xc80d4c[_0x425d55])&&(_0x21c75b=_0x5eb5c6(_0x21c75b)||_0x21c75b);return _0x21c75b;},B=(_0x499f21,_0x488dd3)=>(_0x5e129e,_0x5bd88d)=>_0x488dd3(_0x5e129e,_0x5bd88d,_0x499f21);let se=class extends _0x56014e{constructor(_0xcd13fd,_0xfaa93a,_0x1559a6,_0x443875,_0x117a43,_0x502ab5){const _0x242625=_0x4efb46;super(),this[_0x242625(0x300)]=_0xcd13fd,this[_0x242625(0x288)]=_0xfaa93a,this['_collaborationUIEventService']=_0x1559a6,this[_0x242625(0x2e2)]=_0x443875,this[_0x242625(0x215)]=_0x117a43,this[_0x242625(0x192)]=_0x502ab5,this[_0x242625(0x167)](),this['_initEvent']();}[_0x4efb46(0x167)](){const _0x77e1bf=_0x4efb46;this[_0x77e1bf(0x1ee)](this[_0x77e1bf(0x300)][_0x77e1bf(0x242)](()=>{const _0x4da185=_0x77e1bf;if(this[_0x4da185(0x288)]['saveTaskMap'][_0x4da185(0x270)])return this[_0x4da185(0x192)]['t'](_0x4da185(0x236));}));}[_0x4efb46(0x1ce)](){const _0x1ff9b0=_0x4efb46;this[_0x1ff9b0(0x1ee)](this[_0x1ff9b0(0x349)][_0x1ff9b0(0x30e)][_0x1ff9b0(0x157)](_0x143a11=>{const _0x5867f8=_0x1ff9b0;_0x143a11['id']===_0x373aa0[_0x5867f8(0x176)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t']('collaboration.single-unit.warning')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x165)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this['_localeService']['t'](_0x5867f8(0x268))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2a4)]&&this[_0x5867f8(0x215)][_0x5867f8(0x24c)]({'title':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x1a3)),'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x22c)),'type':_0x5867f8(0x2d7),'duration':0x0}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x2b8)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x268))+'('+_0x143a11[_0x5867f8(0x269)]+')'}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x1b3)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161['Warning'],'content':this[_0x5867f8(0x192)]['t'](_0x143a11['data']||'')}),_0x143a11['id']===_0x373aa0['SOCKET_FAILED_RETRY']&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x298)],'content':this[_0x5867f8(0x192)]['t'](_0x5867f8(0x31d))}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x234)]&&this[_0x5867f8(0x2e2)][_0x5867f8(0x24c)]({'type':_0x230161[_0x5867f8(0x148)],'content':this[_0x5867f8(0x192)]['t']('session.connection-failed')}),_0x143a11['id']===_0x373aa0[_0x5867f8(0x257)]&&this['_messageService'][_0x5867f8(0x24c)]({'type':_0x230161['Error'],'content':this['_localeService']['t'](_0x5867f8(0x2fd))});}));}};se=Ji([B(0x0,_0x445e71),B(0x1,_0x32856e),B(0x2,_0xc24e4b(_0x582dfc)),B(0x3,_0x251236),B(0x4,_0x34023a),B(0x5,_0xc24e4b(_0xe5abc6))],se);const Zi=_0x4efb46(0x295),et={},Ut=_0x11359d(_0x4efb46(0x16f));var Qi=Object[_0x4efb46(0x14b)],qi=(_0x4d6ce8,_0x255a6e,_0xbc81aa,_0x395bbb)=>{const _0x10a96a=_0x4efb46;for(var _0x55f842=_0x395bbb>0x1?void 0x0:_0x395bbb?Qi(_0x255a6e,_0xbc81aa):_0x255a6e,_0x1f1858=_0x4d6ce8[_0x10a96a(0x23c)]-0x1,_0x15268c;_0x1f1858>=0x0;_0x1f1858--)(_0x15268c=_0x4d6ce8[_0x1f1858])&&(_0x55f842=_0x15268c(_0x55f842)||_0x55f842);return _0x55f842;},G=(_0x338bf6,_0x9b2fe2)=>(_0x455b31,_0x2e961a)=>_0x9b2fe2(_0x455b31,_0x2e961a,_0x338bf6);let ie=class extends _0x264876{constructor(_0x48646c,_0x4f0c8b,_0x36e07d,_0x5255c4,_0x2a3772){const _0x18b1ed=_0x4efb46;super(),this['_urlService']=_0x48646c,this[_0x18b1ed(0x253)]=_0x4f0c8b,this[_0x18b1ed(0x207)]=_0x36e07d,this[_0x18b1ed(0x1c2)]=_0x5255c4,_0x2a3772?_0x2a3772==null||_0x2a3772[_0x18b1ed(0x2ce)]()[_0x18b1ed(0x2a8)](()=>this[_0x18b1ed(0x2a5)]()):(this[_0x18b1ed(0x253)][_0x18b1ed(0x2c4)](_0x18b1ed(0x187),_0x18b1ed(0x2de)),this[_0x18b1ed(0x2a5)]());}async[_0x4efb46(0x2a5)](){const _0x575822=_0x4efb46,_0x31bd28=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2b3)),_0x321350=this[_0x575822(0x1d4)][_0x575822(0x1a6)](_0x575822(0x2e4)),_0x35dbb9=this[_0x575822(0x1d4)][_0x575822(0x1a6)]('subunit');if(!_0x31bd28||!_0x321350){this['_logService'][_0x575822(0x2c4)]('[CollaborationDataLoaderController]',_0x575822(0x331));return;}const _0x1f9426=await this[_0x575822(0x1c2)][_0x575822(0x20b)](_0x31bd28,Number(_0x321350),_0x35dbb9);_0x1f9426&&_0x1f9426 instanceof _0x1e4069&&this[_0x575822(0x256)](_0x1f9426);}async[_0x4efb46(0x256)](_0x38a2f8){const _0x4caa9e=_0x4efb46;await this['_updateSubUnitFromURLParams'](_0x38a2f8),_0x38a2f8[_0x4caa9e(0x180)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](_0x501b61=>{const _0x4a9a23=_0x4caa9e;_0x501b61&&this[_0x4a9a23(0x2f1)](_0x501b61);}),this[_0x4caa9e(0x1d4)][_0x4caa9e(0x32d)][_0x4caa9e(0x22f)](_0x760463(this[_0x4caa9e(0x34d)]))[_0x4caa9e(0x157)](()=>this[_0x4caa9e(0x356)](_0x38a2f8));}['_updateURLWithCurrentState'](_0x3d11ee,_0x2f262f=!0x1){const _0x73d069=_0x4efb46,_0x3827f1=this[_0x73d069(0x1d4)][_0x73d069(0x1a6)]('subunit');_0x3d11ee['getSheetId']()!==_0x3827f1&&this[_0x73d069(0x1d4)][_0x73d069(0x217)](_0x73d069(0x2a6),_0x3d11ee[_0x73d069(0x287)](),_0x2f262f);}async[_0x4efb46(0x356)](_0xc3e8d8){const _0x1b8ed3=_0x4efb46;var _0x208464;const _0x333b38=this[_0x1b8ed3(0x1d4)]['getParam'](_0x1b8ed3(0x2a6));if(!_0x333b38||!_0xc3e8d8[_0x1b8ed3(0x156)](_0x333b38)){const _0x24c08f=_0xc3e8d8[_0x1b8ed3(0x346)]()[0x0],_0x39e836=_0xc3e8d8[_0x1b8ed3(0x156)](_0x24c08f);if(!_0x39e836)return;this['_updateURLWithCurrentState'](_0x39e836,!0x0),await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x24c08f});return;}((_0x208464=_0xc3e8d8['getActiveSheet']())==null?void 0x0:_0x208464[_0x1b8ed3(0x287)]())!==_0x333b38&&await this[_0x1b8ed3(0x207)]['executeCommand'](_0x3f9a83['id'],{'unitId':_0xc3e8d8[_0x1b8ed3(0x15b)](),'subUnitId':_0x333b38});}};ie=qi([G(0x0,Ut),G(0x1,_0x5ce2e9),G(0x2,_0xc68a40),G(0x3,_0xc24e4b(_0x1653c9)),G(0x4,_0x232a08(_0x429d76))],ie);var en=Object[_0x4efb46(0x14b)],tn=(_0x50b30b,_0x13446c,_0x3271ce,_0x54349f)=>{for(var _0x5c7085=_0x54349f>0x1?void 0x0:_0x54349f?en(_0x13446c,_0x3271ce):_0x13446c,_0x177ffe=_0x50b30b['length']-0x1,_0x3a49cb;_0x177ffe>=0x0;_0x177ffe--)(_0x3a49cb=_0x50b30b[_0x177ffe])&&(_0x5c7085=_0x3a49cb(_0x5c7085)||_0x5c7085);return _0x5c7085;},pe=(_0x52b56d,_0x4ab9a2)=>(_0x32c44b,_0x3e4fd2)=>_0x4ab9a2(_0x32c44b,_0x3e4fd2,_0x52b56d);let ne=class{constructor(_0x401723,_0x5e7470,_0x278002){const _0x3820bb=_0x4efb46;this[_0x3820bb(0x23f)]=_0x401723,this['_transformService']=_0x5e7470,this['_renderManagerService']=_0x278002;}['transformIMECache'](_0x292e9e){const _0x159f0c=_0x4efb46;this[_0x159f0c(0x252)](_0x292e9e),this[_0x159f0c(0x1d2)](_0x292e9e);}[_0x4efb46(0x2b1)](_0x21502d){const _0x50068f=_0x4efb46,{unitID:_0x4b24b4}=_0x21502d,_0x315089=this[_0x50068f(0x2d2)][_0x50068f(0x25c)](_0x4b24b4)['with'](_0x3b1b9c),{redoCache:_0x5aa2d7}=_0x315089[_0x50068f(0x1f2)]();if(_0x5aa2d7['length']===0x0)return _0x21502d;let _0x4dc077=_0x24e58b[_0x50068f(0x341)](_0x21502d[_0x50068f(0x27b)][0x0]);for(let _0x553db8=0x0;_0x553db8<_0x5aa2d7['length'];_0x553db8++){const _0x4ad1af={'id':_0x50068f(0x2d5),'params':{..._0x5aa2d7[_0x553db8]}},_0x49f66d=this[_0x50068f(0x1ba)][_0x50068f(0x2d3)](_0x4dc077,_0x4ad1af,!0x1);if(_0x4dbfd1(_0x49f66d))throw _0x49f66d[_0x50068f(0x2d7)];_0x4dc077=_0x49f66d[_0x50068f(0x2c2)];}return{..._0x24e58b[_0x50068f(0x341)](_0x21502d),'mutations':[_0x4dc077]};}[_0x4efb46(0x252)](_0x31e028){const _0x175acf=_0x4efb46,{unitID:_0x5388ab}=_0x31e028,_0x5590e2=this['_renderManagerService'][_0x175acf(0x25c)](_0x5388ab)[_0x175acf(0x29d)](_0x3b1b9c),{undoCache:_0x48054d,redoCache:_0x4a0797}=_0x5590e2[_0x175acf(0x1f2)]();if(_0x48054d['length']===0x0||_0x4a0797[_0x175acf(0x23c)]===0x0)return;const _0xc006f1=[],_0x4876f8=[];let _0xf3c1c8=_0x24e58b['deepClone'](_0x31e028[_0x175acf(0x27b)][0x0]),_0x1ad077=_0x24e58b[_0x175acf(0x341)](_0x31e028[_0x175acf(0x27b)][0x0]);for(let _0x1450db=_0x48054d[_0x175acf(0x23c)]-0x1;_0x1450db>=0x0;_0x1450db--){const _0x4c629b={'id':_0x175acf(0x2d5),'params':{..._0x48054d[_0x1450db]}},_0x55ff4e={'id':_0x175acf(0x2d5),'params':{..._0x4a0797[_0x1450db]}},_0x186cac=this['_transformService'][_0x175acf(0x2d3)](_0xf3c1c8,_0x4c629b,!0x1),_0x469687=this[_0x175acf(0x1ba)][_0x175acf(0x2d3)](_0x1ad077,_0x55ff4e,!0x1);if(_0x4dbfd1(_0x186cac))throw _0x186cac[_0x175acf(0x2d7)];if(_0x4dbfd1(_0x469687))throw _0x469687[_0x175acf(0x2d7)];_0xc006f1[_0x175acf(0x21c)](_0x186cac[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0x4876f8[_0x175acf(0x21c)](_0x469687[_0x175acf(0x2da)][_0x175acf(0x1b2)]),_0xf3c1c8=_0x186cac['m1Prime'],_0x1ad077=_0x469687[_0x175acf(0x2c2)];}_0x5590e2[_0x175acf(0x314)]({'undoCache':_0xc006f1,'redoCache':_0x4876f8});}['_transformPreviousActiveRange'](_0x2b4da3){const _0x54aaae=_0x4efb46,{unitID:_0x2cc3bd}=_0x2b4da3,_0x17c2fc=this[_0x54aaae(0x2d2)][_0x54aaae(0x25c)](_0x2cc3bd)['with'](_0x3b1b9c),_0x45dc13=_0x17c2fc[_0x54aaae(0x2ba)]();if(_0x45dc13==null)return;const _0x29da2e=[{'id':_0x54aaae(0x2d5),'params':{'unitId':_0x2b4da3[_0x54aaae(0x19d)],'actions':null,'textRanges':[_0x45dc13]}}],_0x46483f=this[_0x54aaae(0x1ba)]['transformMutationsWithChangeset'](_0x2b4da3,_0x29da2e);if(!_0x1c81b1(_0x46483f))throw _0x46483f['error'];const _0x168bd4=_0x46483f['m2Prime'][0x0][_0x54aaae(0x1b2)][_0x54aaae(0x2ec)];Array['isArray'](_0x168bd4)&&_0x168bd4['length']&&_0x17c2fc[_0x54aaae(0x20d)](_0x168bd4[0x0]);}};ne=tn([pe(0x0,_0xc24e4b(_0x35c1bd)),pe(0x1,_0xc02503),pe(0x2,_0x2baf14)],ne);var sn=Object[_0x4efb46(0x14b)],nn=(_0x12f47b,_0x217273,_0x309bd8,_0x5b6ca4)=>{const _0x1c1c49=_0x4efb46;for(var _0x497542=_0x5b6ca4>0x1?void 0x0:_0x5b6ca4?sn(_0x217273,_0x309bd8):_0x217273,_0x5071b1=_0x12f47b[_0x1c1c49(0x23c)]-0x1,_0x51896e;_0x5071b1>=0x0;_0x5071b1--)(_0x51896e=_0x12f47b[_0x5071b1])&&(_0x497542=_0x51896e(_0x497542)||_0x497542);return _0x497542;},Ce=(_0x501ff7,_0x3b9614)=>(_0x2f76d5,_0x293508)=>_0x3b9614(_0x2f76d5,_0x293508,_0x501ff7);let re=class{constructor(_0x1410ec,_0x5103f1,_0x301c67){const _0x45f40a=_0x4efb46;this[_0x45f40a(0x23f)]=_0x1410ec,this[_0x45f40a(0x1ba)]=_0x5103f1,this['_docStateChangeManagerService']=_0x301c67;}['transformStateCache'](_0x2cc50f){const _0x5edfd1=_0x4efb46;this[_0x5edfd1(0x1b4)](_0x2cc50f);}[_0x4efb46(0x2b1)](_0x2d5ae9){const _0x1f6050=_0x4efb46,{unitID:_0x4d8f7e}=_0x2d5ae9,{collaboration:_0x49a6da}=this['_docStateChangeManagerService']['getStateCache'](_0x4d8f7e);if(_0x49a6da[_0x1f6050(0x23c)]===0x0)return _0x2d5ae9;let _0x410347=_0x24e58b[_0x1f6050(0x341)](_0x2d5ae9[_0x1f6050(0x27b)][0x0]);for(let _0x438fb5=0x0;_0x438fb5<_0x49a6da[_0x1f6050(0x23c)];_0x438fb5++){const _0x53f886={'id':_0x1f6050(0x2d5),'params':{'unitId':_0x49a6da[_0x438fb5][_0x1f6050(0x152)],..._0x49a6da[_0x438fb5][_0x1f6050(0x255)]}},_0x3fb38a=this['_transformService'][_0x1f6050(0x2d3)](_0x410347,_0x53f886,!0x1);if(_0x4dbfd1(_0x3fb38a))throw _0x3fb38a['error'];_0x410347=_0x3fb38a[_0x1f6050(0x2c2)];}return{..._0x24e58b[_0x1f6050(0x341)](_0x2d5ae9),'mutations':[_0x410347]};}[_0x4efb46(0x1b4)](_0x22c958){const _0x2bc282=_0x4efb46,{unitID:_0x458846}=_0x22c958,{history:_0x305442,collaboration:_0x34bae8}=this[_0x2bc282(0x19f)]['getStateCache'](_0x458846);if(_0x305442[_0x2bc282(0x23c)]===0x0&&_0x34bae8[_0x2bc282(0x23c)]===0x0)return;const _0x43d80a=[],_0x3fbe92=[];let _0x59bd78=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]),_0xeabdb0=_0x24e58b[_0x2bc282(0x341)](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x58cc79=_0x305442[_0x2bc282(0x23c)]-0x1;_0x58cc79>=0x0;_0x58cc79--){const _0x2f6d27={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x305442[_0x58cc79][_0x2bc282(0x152)],..._0x305442[_0x58cc79][_0x2bc282(0x2dd)]}},_0x1593a0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305442[_0x58cc79]['unitId'],..._0x305442[_0x58cc79][_0x2bc282(0x255)]}},_0x4fa644=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0x59bd78,_0x2f6d27,!0x1),_0x5a7458=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x1593a0,!0x1);if(_0x4dbfd1(_0x4fa644))throw _0x4fa644[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x5a7458))throw _0x5a7458['error'];_0x43d80a['unshift']({..._0x305442[_0x58cc79],'undoState':_0x4fa644['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x5a7458['m2Prime']['params']}),_0x59bd78=_0x4fa644['m1Prime'],_0xeabdb0=_0x5a7458['m1Prime'];}_0x59bd78=_0x24e58b['deepClone'](_0x22c958['mutations'][0x0]),_0xeabdb0=_0x24e58b['deepClone'](_0x22c958[_0x2bc282(0x27b)][0x0]);for(let _0x16351f=_0x34bae8[_0x2bc282(0x23c)]-0x1;_0x16351f>=0x0;_0x16351f--){const _0x1f6106={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x2dd)]}},_0x21a7ab={'id':_0x2bc282(0x2d5),'params':{'unitId':_0x34bae8[_0x16351f][_0x2bc282(0x152)],..._0x34bae8[_0x16351f][_0x2bc282(0x255)]}},_0xda5d5d=this['_transformService'][_0x2bc282(0x2d3)](_0x59bd78,_0x1f6106,!0x1),_0x2b2c8e=this[_0x2bc282(0x1ba)][_0x2bc282(0x2d3)](_0xeabdb0,_0x21a7ab,!0x1);if(_0x4dbfd1(_0xda5d5d))throw _0xda5d5d[_0x2bc282(0x2d7)];if(_0x4dbfd1(_0x2b2c8e))throw _0x2b2c8e[_0x2bc282(0x2d7)];_0x3fbe92[_0x2bc282(0x21c)]({..._0x34bae8[_0x16351f],'undoState':_0xda5d5d['m2Prime'][_0x2bc282(0x1b2)],'redoState':_0x2b2c8e['m2Prime'][_0x2bc282(0x1b2)]}),_0x59bd78=_0xda5d5d[_0x2bc282(0x2c2)],_0xeabdb0=_0x2b2c8e['m1Prime'];}this[_0x2bc282(0x19f)][_0x2bc282(0x1b5)](_0x458846,{'history':_0x43d80a,'collaboration':_0x3fbe92});}};re=nn([Ce(0x0,_0xc24e4b(_0x35c1bd)),Ce(0x1,_0xc02503),Ce(0x2,_0xc24e4b(_0x5ca87d))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x262934,_0x460c45,_0xb5d3a5,_0x24189f)=>{const _0x3962f6=_0x4efb46;for(var _0x16a3e0=_0x24189f>0x1?void 0x0:_0x24189f?rn(_0x460c45,_0xb5d3a5):_0x460c45,_0x3d4497=_0x262934[_0x3962f6(0x23c)]-0x1,_0xc046bf;_0x3d4497>=0x0;_0x3d4497--)(_0xc046bf=_0x262934[_0x3d4497])&&(_0x16a3e0=_0xc046bf(_0x16a3e0)||_0x16a3e0);return _0x16a3e0;},tt=(_0x54cfc8,_0x90b96d)=>(_0x4a31fe,_0x22a8db)=>_0x90b96d(_0x4a31fe,_0x22a8db,_0x54cfc8);let oe=class{constructor(_0x1636ac,_0x462320){const _0x235c6c=_0x4efb46;this[_0x235c6c(0x23f)]=_0x1636ac,this[_0x235c6c(0x1ba)]=_0x462320;}['transformSelections'](_0xb05f62){const _0x472aba=_0x4efb46;var _0x57bc7a;const _0x54f2f1=this['_injector']['get'](_0x5afbad),_0x3cc2ce=(_0x57bc7a=_0x54f2f1[_0x472aba(0x1ae)]())!=null?_0x57bc7a:[];if(_0x3cc2ce[_0x472aba(0x23c)]===0x0)return;const _0x1fe64e=_0xb05f62[_0x472aba(0x19d)],_0x5d3f17=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe64e,'actions':null,'textRanges':_0x3cc2ce}}],_0x2cce0c=this['_transformService'][_0x472aba(0x222)](_0xb05f62,_0x5d3f17);if(!_0x1c81b1(_0x2cce0c))throw _0x2cce0c[_0x472aba(0x2d7)];const _0x34c069=_0x2cce0c[_0x472aba(0x2da)][0x0][_0x472aba(0x1b2)]['textRanges'];Array[_0x472aba(0x343)](_0x34c069)&&_0x34c069[_0x472aba(0x23c)]&&_0x54f2f1['replaceDocRanges'](_0x34c069,{'unitId':_0x1fe64e,'subUnitId':_0x1fe64e},!0x1);}};oe=on([tt(0x0,_0xc24e4b(_0x35c1bd)),tt(0x1,_0xc02503)],oe);var an=Object[_0x4efb46(0x14b)],cn=(_0x542359,_0x7e7c82,_0x173f6f,_0x114229)=>{const _0x365fd0=_0x4efb46;for(var _0x12dc54=_0x114229>0x1?void 0x0:_0x114229?an(_0x7e7c82,_0x173f6f):_0x7e7c82,_0x9c14d1=_0x542359[_0x365fd0(0x23c)]-0x1,_0x35358f;_0x9c14d1>=0x0;_0x9c14d1--)(_0x35358f=_0x542359[_0x9c14d1])&&(_0x12dc54=_0x35358f(_0x12dc54)||_0x12dc54);return _0x12dc54;},U=(_0x392fac,_0x256bf8)=>(_0x5ec638,_0x224074)=>_0x256bf8(_0x5ec638,_0x224074,_0x392fac);let ae=class extends _0x56014e{constructor(_0x352273,_0x5ebb89,_0x5a5021,_0x5beb62,_0x5b3297,_0x33a7f3,_0x56ae7c,_0x4e7fe6){const _0x3ede7a=_0x4efb46;super(),_(this,'_status$',new _0xc73289(_0x2fb3dc[_0x3ede7a(0x14d)])),(this['_docStateChangeManagerService']=_0x352273,this['_collaborationController']=_0x5ebb89,this[_0x3ede7a(0x1bd)]=_0x5a5021,this[_0x3ede7a(0x1ed)]=_0x5beb62,this[_0x3ede7a(0x190)]=_0x5b3297,this[_0x3ede7a(0x2fb)]=_0x33a7f3,this[_0x3ede7a(0x2e2)]=_0x56ae7c,this[_0x3ede7a(0x192)]=_0x4e7fe6,this[_0x3ede7a(0x276)]());}[_0x4efb46(0x276)](){const _0x5e4a61=_0x4efb46;this[_0x5e4a61(0x1ee)](this[_0x5e4a61(0x196)][_0x5e4a61(0x218)][_0x5e4a61(0x157)](_0x327452=>{const _0x5b5b11=_0x5e4a61,_0x20ac60=this[_0x5b5b11(0x19f)]['docStateChange$'][_0x5b5b11(0x157)](_0x2448a4=>{const _0x574c75=_0x5b5b11;if(_0x2448a4==null)return;const {unitId:_0x78c0a6,redoState:_0x7ffefd,commandId:_0x48b0bf}=_0x2448a4;if(_0x78c0a6!==_0x327452['unitID'])return;const _0x575288={'id':_0x48b0bf,'type':_0x632caa[_0x574c75(0x316)],'params':{'unitId':_0x78c0a6,'actions':_0x7ffefd['actions'],'textRanges':null}};_0x327452[_0x574c75(0x305)](_0x575288);});if(_0x327452[_0x5b5b11(0x1ee)](_0x20ac60),_0x327452 instanceof _0x5007f0){const _0x30aedc={'onTransformIME':_0x1196dc=>this['_docTransformIMECacheService'][_0x5b5b11(0x2cb)](_0x1196dc),'onTransformState':_0x111444=>this['_docTransformStateCacheService'][_0x5b5b11(0x2e6)](_0x111444),'onTransformSelections':_0x1fa7d8=>this[_0x5b5b11(0x190)]['transformSelections'](_0x1fa7d8),'onSyncEditingCollabCursor':_0x5978c8=>this[_0x5b5b11(0x2fb)]['syncEditingCollabCursor'](_0x5978c8),'onTransformRemoteChangesetByIMECache':_0x3a35ad=>this[_0x5b5b11(0x1bd)][_0x5b5b11(0x2b1)](_0x3a35ad),'onTransformRemoteChangesetByStateCache':_0x1eb549=>this[_0x5b5b11(0x1ed)][_0x5b5b11(0x2b1)](_0x1eb549)};_0x327452[_0x5b5b11(0x333)](_0x30aedc);}}));}};ae=cn([U(0x0,_0xc24e4b(_0x5ca87d)),U(0x1,_0xc24e4b(_0x209cdd)),U(0x2,_0xc24e4b(ne)),U(0x3,_0xc24e4b(re)),U(0x4,_0xc24e4b(oe)),U(0x5,_0xc24e4b(He)),U(0x6,_0x251236),U(0x7,_0xc24e4b(_0xe5abc6))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x589349,_0x35937a,_0x3cbfc1,_0x5f2380)=>{for(var _0x3d6229=_0x5f2380>0x1?void 0x0:_0x5f2380?ln(_0x35937a,_0x3cbfc1):_0x35937a,_0x51ece9=_0x589349['length']-0x1,_0x15022f;_0x51ece9>=0x0;_0x51ece9--)(_0x15022f=_0x589349[_0x51ece9])&&(_0x3d6229=_0x15022f(_0x3d6229)||_0x3d6229);return _0x3d6229;},Ee=(_0xb31481,_0x259aa7)=>(_0x2f8faf,_0x4e5b5a)=>_0x259aa7(_0x2f8faf,_0x4e5b5a,_0xb31481);let Le=class extends _0x56014e{constructor(_0x1ab12c,_0x187a0e,_0xfa85ea){const _0x45a732=_0x4efb46;super(),_(this,_0x45a732(0x34e),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x45a732(0x2bb),!0x1),(this[_0x45a732(0x1ac)]=_0x1ab12c,this[_0x45a732(0x1f6)]=_0x187a0e,this['_revisionService']=_0xfa85ea);}[_0x4efb46(0x279)](){const _0x582ae7=_0x4efb46;this[_0x582ae7(0x2bb)]=!0x0;}[_0x4efb46(0x226)](){const _0x294d33=_0x4efb46;this[_0x294d33(0x2bb)]=!0x1;}get[_0x4efb46(0x246)](){const _0x23a7e3=_0x4efb46;return this[_0x23a7e3(0x2f6)];}[_0x4efb46(0x1b7)](){const _0xc02059=_0x4efb46;this[_0xc02059(0x32f)]()[_0xc02059(0x2a8)](()=>super[_0xc02059(0x1b7)]());}async[_0x4efb46(0x198)](_0x3c2b4d){const _0x321615=_0x4efb46;return this[_0x321615(0x2bb)]?null:this[_0x321615(0x1f6)][_0x321615(0x214)](_0x5aebcf(_0x3c2b4d));}async['saveOfflineData'](_0x43632f,_0x2c0781){const _0xa607aa=_0x4efb46;return!!this[_0xa607aa(0x1f6)]['setItem'](_0x43632f,_0x2c0781);}['updateOfflineData'](_0x49c385,_0x526cf7,_0x4d5177,_0x264bc6){const _0x247349=_0x4efb46,_0x9ba27c=this[_0x247349(0x19a)][_0x247349(0x2f8)](_0x49c385);this['_cachedData'][_0x247349(0x311)](_0x49c385,{'unitID':_0x49c385,'type':_0x526cf7,'awaitingChangeset':_0x4d5177,'mutations':_0x264bc6,'rev':_0x9ba27c}),this['_saveTaskMap']['has'](_0x49c385)||this['_scheduleSaving'](_0x49c385);}[_0x4efb46(0x2e1)](_0x3f894a){const _0x499951=_0x4efb46,_0x2677a8=this[_0x499951(0x1e0)]();_0x2677a8===0x0?this['_saveCache'](_0x3f894a):this['_saveTaskMap'][_0x499951(0x311)](_0x3f894a,setTimeout(()=>this[_0x499951(0x30c)](_0x3f894a),_0x2677a8));}['_getSaveTimeout'](){const _0x2387d0=_0x4efb46;var _0x152eec;return(_0x152eec=this[_0x2387d0(0x1ac)][_0x2387d0(0x22e)](_0x3a3ad1))!=null?_0x152eec:_0x5dc579;}[_0x4efb46(0x30c)](_0x329933){const _0x3761c4=_0x4efb46,_0x5e2ae5=this[_0x3761c4(0x2f6)][_0x3761c4(0x352)](_0x329933);return _0x5e2ae5!==void 0x0&&window[_0x3761c4(0x277)](_0x5e2ae5),this[_0x3761c4(0x1f6)]['setItem'](_0x5aebcf(_0x329933),this[_0x3761c4(0x34e)]['get'](_0x329933))['then'](()=>this[_0x3761c4(0x2f6)][_0x3761c4(0x30a)](_0x329933));}async[_0x4efb46(0x32f)](){const _0x12c751=_0x4efb46,_0x7c4dc=[];this['_saveTaskMap'][_0x12c751(0x19e)]((_0x49b3e2,_0x410a8a)=>{const _0x2d9ac3=_0x12c751;window[_0x2d9ac3(0x277)](_0x49b3e2),_0x7c4dc[_0x2d9ac3(0x1d1)](this[_0x2d9ac3(0x30c)](_0x410a8a)[_0x2d9ac3(0x2a8)](()=>{const _0x252025=_0x2d9ac3;this[_0x252025(0x2f6)][_0x252025(0x30a)](_0x410a8a);}));}),await Promise['all'](_0x7c4dc);}};Le=_n([Ee(0x0,_0x332256),Ee(0x1,_0xeced3c),Ee(0x2,_0xc24e4b(_0x141ad4))],Le);class hn extends _0x264876{constructor(){const _0x324f7d=_0x4efb46;super(),_(this,_0x324f7d(0x32d)),this[_0x324f7d(0x32d)]=_0x2e4f04(window,_0x324f7d(0x262))[_0x324f7d(0x22f)](_0x760463(this[_0x324f7d(0x34d)]),_0x4e92ea(0x1),_0x10fcff(void 0x0));}[_0x4efb46(0x217)](_0x289c98,_0x2e546e,_0x2bcaf0=!0x1){const _0x637d70=_0x4efb46,_0x4db87a=new URL(window[_0x637d70(0x195)][_0x637d70(0x26e)]);_0x4db87a[_0x637d70(0x2e0)][_0x637d70(0x311)](_0x289c98,_0x2e546e),_0x2bcaf0?window['history']['replaceState']('','',_0x4db87a['toString']()):window[_0x637d70(0x22d)][_0x637d70(0x31e)]('','',_0x4db87a[_0x637d70(0x2d0)]());}[_0x4efb46(0x24e)](_0x426750,_0xc8918a=!0x1){const _0x4e2b7b=_0x4efb46,_0x43480b=new URL(window[_0x4e2b7b(0x195)][_0x4e2b7b(0x26e)]);_0x43480b['searchParams'][_0x4e2b7b(0x30a)](_0x426750),_0xc8918a?window[_0x4e2b7b(0x22d)][_0x4e2b7b(0x2a3)]('','',_0x43480b[_0x4e2b7b(0x2d0)]()):window['history']['pushState']('','',_0x43480b[_0x4e2b7b(0x2d0)]());}['getParam'](_0x2e8627){const _0x31ea96=_0x4efb46;var _0x163c5;return(_0x163c5=new URL(window[_0x31ea96(0x195)][_0x31ea96(0x26e)])[_0x31ea96(0x2e0)][_0x31ea96(0x352)](_0x2e8627))!=null?_0x163c5:void 0x0;}}var un=Object[_0x4efb46(0x283)],dn=Object[_0x4efb46(0x14b)],fn=(_0x55018e,_0x336ab4,_0x236bcd)=>_0x336ab4 in _0x55018e?un(_0x55018e,_0x336ab4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x236bcd}):_0x55018e[_0x336ab4]=_0x236bcd,Sn=(_0x3aeae7,_0x3dbd8d,_0x30c97e,_0x34822b)=>{const _0x16bba7=_0x4efb46;for(var _0x5223c9=_0x34822b>0x1?void 0x0:_0x34822b?dn(_0x3dbd8d,_0x30c97e):_0x3dbd8d,_0x5a66d6=_0x3aeae7[_0x16bba7(0x23c)]-0x1,_0x22d1fa;_0x5a66d6>=0x0;_0x5a66d6--)(_0x22d1fa=_0x3aeae7[_0x5a66d6])&&(_0x5223c9=_0x22d1fa(_0x5223c9)||_0x5223c9);return _0x5223c9;},Oe=(_0x2c568b,_0x404576)=>(_0x4e803d,_0x4361f1)=>_0x404576(_0x4e803d,_0x4361f1,_0x2c568b),mn=(_0x1a561f,_0x52ab6a,_0x5873a4)=>fn(_0x1a561f,_0x52ab6a+'',_0x5873a4);const In=_0x4efb46(0x237);let Ae=class extends _0x21d542{constructor(_0x2df748=et,_0x1a2f18,_0x3bd75c,_0x2d7cb5){const _0x4480b9=_0x4efb46;super(),this['_config']=_0x2df748,this[_0x4480b9(0x2d2)]=_0x1a2f18,this[_0x4480b9(0x23f)]=_0x3bd75c,this[_0x4480b9(0x1ac)]=_0x2d7cb5;const {..._0x56fff0}=_0x294622({},et,this[_0x4480b9(0x358)]);this[_0x4480b9(0x1ac)][_0x4480b9(0x267)](Zi,_0x56fff0);}[_0x4efb46(0x328)](){const _0x2010b5=_0x4efb46;this['_registerDependencies'](),this[_0x2010b5(0x28c)]();}[_0x4efb46(0x317)](){const _0x1dd258=_0x4efb46;this[_0x1dd258(0x310)]();}[_0x4efb46(0x34f)](){const _0x47de59=_0x4efb46;var _0x46954f;const _0x532916=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5ace9a,{'useClass':_0x1e46f2}],[_0x32856e,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x589ccb(this[_0x47de59(0x23f)],_0x544fe0(_0x532916,(_0x46954f=this[_0x47de59(0x358)])==null?void 0x0:_0x46954f[_0x47de59(0x1d3)]));}[_0x4efb46(0x310)](){const _0x3c4128=_0x4efb46;this['disposeWithMe'](this[_0x3c4128(0x2d2)]['registerRenderModule'](_0x3f742a[_0x3c4128(0x189)],[we])),this[_0x3c4128(0x1ee)](this[_0x3c4128(0x2d2)][_0x3c4128(0x2bd)](_0x3f742a[_0x3c4128(0x304)],[Pe]));}[_0x4efb46(0x28c)](){const _0x58e26b=_0x4efb46;_0x4dfeac(this[_0x58e26b(0x23f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4efb46(0x1dc),In),Ae=Sn([_0x5d2859(_0x5bf239),Oe(0x1,_0x2baf14),Oe(0x2,_0xc24e4b(_0x35c1bd)),Oe(0x3,_0x332256)],Ae);var gn=Object[_0x4efb46(0x14b)],vn=(_0x2518cb,_0xc4cbca,_0x1dac30,_0x3dab81)=>{for(var _0xf4824b=_0x3dab81>0x1?void 0x0:_0x3dab81?gn(_0xc4cbca,_0x1dac30):_0xc4cbca,_0x212785=_0x2518cb['length']-0x1,_0x18f1ce;_0x212785>=0x0;_0x212785--)(_0x18f1ce=_0x2518cb[_0x212785])&&(_0xf4824b=_0x18f1ce(_0xf4824b)||_0xf4824b);return _0xf4824b;},K=(_0x10c40d,_0x3068b9)=>(_0x2eb3c1,_0x4a0023)=>_0x3068b9(_0x2eb3c1,_0x4a0023,_0x10c40d);let st=class extends _0x329e6f{constructor(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b){super(_0x28708e,_0x244b22,_0x110885,_0x400ac2,_0x37011b);}async[_0x4efb46(0x2ae)](_0x4ed6b8){const _0x17a170=_0x4efb46,_0x936dc5=await this[_0x17a170(0x188)](),_0x1d62e3=this[_0x17a170(0x1b0)](_0x4ed6b8,_0x936dc5);return this[_0x17a170(0x224)](_0x1d62e3);}['_createSocketURL'](_0x36994f,_0x4a7a9b){const _0x39f0d9=_0x4efb46,_0x15088f=typeof window>'u'?new URL(_0x36994f):new URL(_0x36994f,window[_0x39f0d9(0x195)][_0x39f0d9(0x177)]);_0x15088f['searchParams'][_0x39f0d9(0x311)](_0x39f0d9(0x27c),_0x4a7a9b);const _0x355142=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x39f0d9(0x1c4)]);return _0x355142['get'](_0x39f0d9(0x1d6))&&_0x15088f[_0x39f0d9(0x2e0)][_0x39f0d9(0x311)](_0x39f0d9(0x1d6),_0x355142[_0x39f0d9(0x352)](_0x39f0d9(0x1d6))),_0x15088f[_0x39f0d9(0x2d0)]();}async[_0x4efb46(0x188)](){const _0x23c4c8=_0x4efb46;var _0x205505,_0x530e41,_0x1658eb;const _0x833df0=this[_0x23c4c8(0x1ac)][_0x23c4c8(0x22e)](_0x1297d2),_0x54bd52=(_0x205505=_0x833df0==null?void 0x0:_0x833df0['wsSessionTicketUrl'])!=null?_0x205505:_0x366de9;return(_0x1658eb=(_0x530e41=(await this['_httpService'][_0x23c4c8(0x352)](_0x54bd52,{'headers':{'Content-Type':_0x23c4c8(0x18d)}}))[_0x23c4c8(0x25a)])==null?void 0x0:_0x530e41[_0x23c4c8(0x1e8)])!=null?_0x1658eb:'';}};st=vn([K(0x0,_0xc24e4b(_0x35c1bd)),K(0x1,_0xc24e4b(_0x434602)),K(0x2,_0x332256),K(0x3,_0x5ce2e9),K(0x4,_0x5f08f1)],st);const it=0x7530,nt=_0x4efb46(0x27a);class jn extends _0x56014e{constructor(){const _0x3dc8cc=_0x4efb46;super(),_(this,_0x3dc8cc(0x2ee),_0x4980f9()),_(this,_0x3dc8cc(0x241),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3dc8cc(0x1da),null),_(this,_0x3dc8cc(0x31c),new Map()),_(this,_0x3dc8cc(0x18e),new Map()),this[_0x3dc8cc(0x2a5)]();}[_0x4efb46(0x1b7)](){const _0x3017ee=_0x4efb46;super[_0x3017ee(0x1b7)](),this[_0x3017ee(0x31c)][_0x3017ee(0x19e)]((_0x32f7e8,_0x5847ff)=>this[_0x3017ee(0x271)](_0x5847ff)),this[_0x3017ee(0x1da)]&&window[_0x3017ee(0x1ea)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4b6bcf){return this['_ensureSubject'](_0x4b6bcf)['pipe'](_0x9e2d26());}[_0x4efb46(0x26a)](_0x1b91cb){const _0x3c3b7b=_0x4efb46;this[_0x3c3b7b(0x241)][_0x3c3b7b(0x270)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x3c3b7b(0x2df)](_0x1b91cb),this[_0x3c3b7b(0x15e)]({'type':0x0,'memberID':this[_0x3c3b7b(0x2ee)],'unitIDs':[_0x1b91cb],'isForwarded':!0x1});}[_0x4efb46(0x1e4)](_0x4b5d0b){const _0x3ec4f1=_0x4efb46;this[_0x3ec4f1(0x241)][_0x3ec4f1(0x30a)](_0x4b5d0b),this['_selfUnitIDs'][_0x3ec4f1(0x270)]===0x0&&this[_0x3ec4f1(0x1da)]&&window['clearInterval'](this[_0x3ec4f1(0x1da)]);}['_init'](){const _0x38e4e2=_0x4efb46;this['disposeWithMe'](_0x19548f(_0x2e4f04(window,_0x38e4e2(0x2b4))[_0x38e4e2(0x157)](_0x3d1c2e=>{const _0x42887f=_0x38e4e2;if(_0x3d1c2e['key']!==nt||!_0x3d1c2e[_0x42887f(0x34b)])return;const _0x362370=JSON['parse'](_0x3d1c2e[_0x42887f(0x34b)]);this[_0x42887f(0x17f)](_0x362370);}))),window[_0x38e4e2(0x32c)](_0x38e4e2(0x164),()=>this[_0x38e4e2(0x15e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x5960a4){const _0xa3b184=_0x4efb46;switch(_0x5960a4[_0xa3b184(0x2e4)]){case 0x0:this['_handleJoinEvent'](_0x5960a4);break;case 0x1:this[_0xa3b184(0x26c)](_0x5960a4);break;case 0x2:this['_handleHeartbeatEvent'](_0x5960a4);break;}}[_0x4efb46(0x332)](_0x4e2554){const _0x445c93=_0x4efb46,{unitIDs:_0x3c29e3,memberID:_0x307186,isForwarded:_0x5d8875}=_0x4e2554;_0x3c29e3[_0x445c93(0x19e)](_0x4b0b14=>{const _0x312b97=_0x445c93;if(!_0x5d8875&&this['_unitOnClients'][_0x312b97(0x20a)](_0x4b0b14)&&this[_0x312b97(0x24d)](_0x4b0b14)[_0x312b97(0x326)](_0xbaefe9[_0x312b97(0x32e)]),!this[_0x312b97(0x33f)][_0x312b97(0x20a)](_0x4b0b14)||!this['_unitOnClients'][_0x312b97(0x352)](_0x4b0b14)[_0x312b97(0x20a)](_0x307186)){const _0xecf954=this[_0x312b97(0x33f)]['get'](_0x4b0b14)||new Set();_0xecf954[_0x312b97(0x2df)](_0x307186),this[_0x312b97(0x33f)][_0x312b97(0x311)](_0x4b0b14,_0xecf954),this[_0x312b97(0x2a2)](_0x307186);}}),_0x5d8875||this[_0x445c93(0x15e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x445c93(0x241)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4bd1f7){const _0x2fcb05=_0x4efb46;this['_removeClearOtherTimer'](_0x4bd1f7);const _0x2f9f4e=window[_0x2fcb05(0x1d9)](()=>{const _0x13f047=_0x2fcb05;this[_0x13f047(0x33f)][_0x13f047(0x19e)](_0x343a26=>{const _0x596dc3=_0x13f047;_0x343a26[_0x596dc3(0x30a)](_0x4bd1f7);});},it*0x2);this[_0x2fcb05(0x31c)][_0x2fcb05(0x311)](_0x4bd1f7,_0x2f9f4e);}['_removeClearOtherTimer'](_0x318fb1){const _0x131e62=_0x4efb46;if(this[_0x131e62(0x31c)]['has'](_0x318fb1)){const _0x35296=this[_0x131e62(0x31c)]['get'](_0x318fb1);_0x35296&&window[_0x131e62(0x277)](_0x35296),this['_clearOtherTimers']['set'](_0x318fb1,null);}}[_0x4efb46(0x26c)](_0x2f08cb){const _0x48b64a=_0x4efb46,{memberID:_0x5e4f9b,unitIDs:_0x20e09b}=_0x2f08cb;_0x20e09b[_0x48b64a(0x19e)](_0x563abb=>{const _0x7c4a0a=_0x48b64a;var _0x5d617c;const _0x60a503=this[_0x7c4a0a(0x33f)][_0x7c4a0a(0x352)](_0x563abb);_0x60a503&&(_0x60a503[_0x7c4a0a(0x30a)](_0x5e4f9b),(_0x5d617c=this[_0x7c4a0a(0x24d)](_0x563abb))==null||_0x5d617c[_0x7c4a0a(0x326)](_0x60a503[_0x7c4a0a(0x270)]===0x0?_0xbaefe9[_0x7c4a0a(0x29e)]:_0xbaefe9[_0x7c4a0a(0x32e)]));}),this['_removeClearOtherTimer'](_0x5e4f9b);}['_handleHeartbeatEvent'](_0x5da83f){const _0x2e95ec=_0x4efb46;this[_0x2e95ec(0x2a2)](_0x5da83f[_0x2e95ec(0x2f2)]);}['_send'](_0x1459a2){const _0x741ad3=_0x4efb46;localStorage[_0x741ad3(0x193)](nt,JSON[_0x741ad3(0x229)](_0x1459a2));}['_scheduleHeartbeat'](){const _0xfad807=_0x4efb46;this['_heartbeatTimer']=window[_0xfad807(0x29f)](()=>{const _0x3e13f0=_0xfad807;this['_send']({'type':0x2,'memberID':this[_0x3e13f0(0x2ee)]});},it);}[_0x4efb46(0x24d)](_0x452a0f){const _0x408e74=_0x4efb46;return this[_0x408e74(0x18e)][_0x408e74(0x20a)](_0x452a0f)||this[_0x408e74(0x18e)]['set'](_0x452a0f,new _0xc73289(_0xbaefe9[_0x408e74(0x29e)])),this['_unitStatus'][_0x408e74(0x352)](_0x452a0f);}}var Mt=(_0x5525bf=>(_0x5525bf[_0x5525bf['UNDEFINED']=0x0]='UNDEFINED',_0x5525bf[_0x5525bf['OK']=0x1]='OK',_0x5525bf[_0x5525bf[_0x4efb46(0x212)]=0x2]=_0x4efb46(0x212),_0x5525bf[_0x5525bf['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5525bf[_0x5525bf[_0x4efb46(0x1f5)]=0x4]=_0x4efb46(0x1f5),_0x5525bf[_0x5525bf[_0x4efb46(0x30b)]=0x5]='UNAUTHENTICATED',_0x5525bf[_0x5525bf[_0x4efb46(0x172)]=0x6]=_0x4efb46(0x172),_0x5525bf[_0x5525bf[_0x4efb46(0x223)]=0x7]=_0x4efb46(0x223),_0x5525bf[_0x5525bf[_0x4efb46(0x24a)]=0x8]=_0x4efb46(0x24a),_0x5525bf[_0x5525bf[_0x4efb46(0x1f9)]=0x9]=_0x4efb46(0x1f9),_0x5525bf[_0x5525bf['LOGIN_FAILED']=0xa]=_0x4efb46(0x2ca),_0x5525bf[_0x5525bf['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4efb46(0x151),_0x5525bf[_0x5525bf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5525bf[_0x5525bf[_0x4efb46(0x285)]=0x1772]=_0x4efb46(0x285),_0x5525bf[_0x5525bf[_0x4efb46(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5525bf[_0x5525bf[_0x4efb46(0x1e7)]=0x1b59]='APPLY_REJECT',_0x5525bf[_0x5525bf[_0x4efb46(0x200)]=0x1b5a]=_0x4efb46(0x200),_0x5525bf[_0x5525bf[_0x4efb46(0x21d)]=0x1b5b]=_0x4efb46(0x21d),_0x5525bf[_0x5525bf[_0x4efb46(0x209)]=0x1b5c]=_0x4efb46(0x209),_0x5525bf[_0x5525bf[_0x4efb46(0x1a7)]=0x1b5d]=_0x4efb46(0x1a7),_0x5525bf[_0x5525bf[_0x4efb46(0x18b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5525bf[_0x5525bf[_0x4efb46(0x338)]=0x2329]=_0x4efb46(0x338),_0x5525bf[_0x5525bf['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4efb46(0x357),_0x5525bf[_0x5525bf[_0x4efb46(0x2bf)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5525bf[_0x5525bf[_0x4efb46(0x31a)]=0x232c]=_0x4efb46(0x31a),_0x5525bf[_0x5525bf['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4efb46(0x275),_0x5525bf[_0x5525bf[_0x4efb46(0x199)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5525bf[_0x5525bf[_0x4efb46(0x348)]=0x2712]=_0x4efb46(0x348),_0x5525bf[_0x5525bf[_0x4efb46(0x197)]=0x2713]=_0x4efb46(0x197),_0x5525bf[_0x5525bf[_0x4efb46(0x16d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5525bf[_0x5525bf[_0x4efb46(0x18f)]=0x271a]=_0x4efb46(0x18f),_0x5525bf[_0x5525bf[_0x4efb46(0x2be)]=0x271b]=_0x4efb46(0x2be),_0x5525bf[_0x5525bf[_0x4efb46(0x160)]=0x271c]=_0x4efb46(0x160),_0x5525bf[_0x5525bf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5525bf[_0x5525bf[_0x4efb46(0x147)]=0x271e]=_0x4efb46(0x147),_0x5525bf[_0x5525bf[_0x4efb46(0x22a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5525bf[_0x5525bf[_0x4efb46(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5525bf[_0x5525bf[_0x4efb46(0x250)]=0x2ee1]=_0x4efb46(0x250),_0x5525bf[_0x5525bf[_0x4efb46(0x286)]=0x2ee2]=_0x4efb46(0x286),_0x5525bf[_0x5525bf[_0x4efb46(0x2fc)]=0x2ee3]=_0x4efb46(0x2fc),_0x5525bf[_0x5525bf['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5525bf[_0x5525bf[_0x4efb46(0x2a1)]=0x2ee5]=_0x4efb46(0x2a1),_0x5525bf[_0x5525bf[_0x4efb46(0x313)]=0x32c9]=_0x4efb46(0x313),_0x5525bf[_0x5525bf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4efb46(0x32a),_0x5525bf[_0x5525bf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4efb46(0x1fb),_0x5525bf[_0x5525bf['UNRECOGNIZED']=-0x1]=_0x4efb46(0x1ad),_0x5525bf))(Mt||{}),pn=Object[_0x4efb46(0x14b)],Cn=(_0x49fe07,_0x5f362e,_0x1e4ebe,_0x386336)=>{const _0x33d954=_0x4efb46;for(var _0x7ccbfe=_0x386336>0x1?void 0x0:_0x386336?pn(_0x5f362e,_0x1e4ebe):_0x5f362e,_0x577304=_0x49fe07[_0x33d954(0x23c)]-0x1,_0x38b15d;_0x577304>=0x0;_0x577304--)(_0x38b15d=_0x49fe07[_0x577304])&&(_0x7ccbfe=_0x38b15d(_0x7ccbfe)||_0x7ccbfe);return _0x7ccbfe;},be=(_0x22a4c5,_0x1829c8)=>(_0xd321a3,_0x2dae11)=>_0x1829c8(_0xd321a3,_0x2dae11,_0x22a4c5);let rt=class extends _0x56014e{constructor(_0x4a9e82,_0x7d7148,_0x52c046){const _0x318d49=_0x4efb46;super(),this['_instanceService']=_0x4a9e82,this[_0x318d49(0x261)]=_0x7d7148,this[_0x318d49(0x1ac)]=_0x52c046;}async['runOnServer'](_0x25223c,_0x3eae9d,_0x27f3a9,..._0x5bbc98){const _0x146ad3=_0x4efb46;var _0x3996b0,_0x1a5cde,_0x3dad5b,_0x5b9170;const _0x33a9e2=this[_0x146ad3(0x17c)][_0x146ad3(0x263)]();if(!_0x33a9e2)throw new Error(_0x146ad3(0x251));const _0x36202c=((_0x3996b0=this['_configService'][_0x146ad3(0x22e)](_0x515373))!=null?_0x3996b0:_0x29348a)+'/'+_0x25223c+'/run/'+_0x3eae9d,_0x4caf97=new URL(window[_0x146ad3(0x195)][_0x146ad3(0x26e)]),_0x854c3b={'scriptId':_0x25223c,'runId':(_0x1a5cde=_0x4caf97[_0x146ad3(0x2e0)][_0x146ad3(0x352)]('runId'))!=null?_0x1a5cde:'','function':_0x3eae9d,'unitId':_0x33a9e2['getUnitId'](),'argsOfFunction':JSON[_0x146ad3(0x229)](_0x5bbc98),'invokeId':(_0x3dad5b=_0x27f3a9['invokeId'])!=null?_0x3dad5b:'','executionId':(_0x5b9170=_0x27f3a9[_0x146ad3(0x1a1)])!=null?_0x5b9170:''};try{const _0x221322=await this[_0x146ad3(0x261)][_0x146ad3(0x272)](_0x36202c,{'body':_0x854c3b});return _0x221322[_0x146ad3(0x25a)]['error']&&_0x221322['body'][_0x146ad3(0x2d7)][_0x146ad3(0x1e3)]!==Mt['OK']?_0x146ad3(0x2c3):_0x221322['body'][_0x146ad3(0x32b)];}catch{return _0x146ad3(0x2c3);}}};rt=Cn([be(0x0,_0xb3fb3f),be(0x1,_0xc24e4b(_0x434602)),be(0x2,_0x332256)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x459779=_0x1290;function _0x1290(_0x3b10b2,_0x2a4264){const _0x470aa7=_0x470a();return _0x1290=function(_0x1290bf,_0x3f224a){_0x1290bf=_0x1290bf-0xcb;let _0x44d82e=_0x470aa7[_0x1290bf];return _0x44d82e;},_0x1290(_0x3b10b2,_0x2a4264);}(function(_0x250690,_0x24e872){const _0x102e69=_0x1290,_0x5efc74=_0x250690();while(!![]){try{const _0x4ce016=-parseInt(_0x102e69(0xd0))/0x1*(-parseInt(_0x102e69(0xce))/0x2)+parseInt(_0x102e69(0xda))/0x3*(-parseInt(_0x102e69(0xcd))/0x4)+-parseInt(_0x102e69(0xcf))/0x5*(parseInt(_0x102e69(0xd1))/0x6)+-parseInt(_0x102e69(0xd5))/0x7+parseInt(_0x102e69(0xdd))/0x8+parseInt(_0x102e69(0xde))/0x9*(-parseInt(_0x102e69(0xcc))/0xa)+parseInt(_0x102e69(0xdb))/0xb;if(_0x4ce016===_0x24e872)break;else _0x5efc74['push'](_0x5efc74['shift']());}catch(_0x1cdece){_0x5efc74['push'](_0x5efc74['shift']());}}}(_0x470a,0xbc02a));const e={'collab-client':{'tooltip':{'reconnect':_0x459779(0xd4)}},'collabStatus':{'fetchMiss':_0x459779(0xd8),'conflict':_0x459779(0xd3),'notCollab':_0x459779(0xd6),'synced':_0x459779(0xd9),'syncing':_0x459779(0xe0),'offline':_0x459779(0xcb)},'session':{'connection-failed':_0x459779(0xe3),'will-retry':_0x459779(0xd7),'room-full':_0x459779(0xe2),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x459779(0xe1)},'permission':{'title':_0x459779(0xd2),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x459779(0xdf)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x459779(0xdc)}};export{e as default};function _0x470a(){const _0x29fcf5=['Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','Synced','3UjbNRA','20931108eVBCwo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','7750960vxACwe','199197UOwGCq','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','130rQbKDC','844128dRpqjs','14jxfazR','1603205RybHNZ','47198MwTErH','18VuTDrM','Authentication\x20Error','Edit\x20conflicts','Click\x20to\x20Reconnect','6799170vYmyrO'];_0x470a=function(){return _0x29fcf5;};return _0x470a();}
1
+ function _0x2fd0(_0x500db4,_0x346a7f){const _0x4ffe44=_0x4ffe();return _0x2fd0=function(_0x2fd08a,_0x2bdadb){_0x2fd08a=_0x2fd08a-0xd5;let _0x5b62de=_0x4ffe44[_0x2fd08a];return _0x5b62de;},_0x2fd0(_0x500db4,_0x346a7f);}function _0x4ffe(){const _0x1c8800=['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.','444612ZgbLuF','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1126503mQpodz','231816jLnHhK','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Authentication\x20Error','345IchbIZ','87772UMlJhO','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','18BkKrBA','6920TJYdhr','29272bDcSAR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','102480PzvtMp'];_0x4ffe=function(){return _0x1c8800;};return _0x4ffe();}const _0x554d7b=_0x2fd0;(function(_0x38853b,_0x2ed306){const _0x590b73=_0x2fd0,_0x3a7cd1=_0x38853b();while(!![]){try{const _0x4f757c=parseInt(_0x590b73(0xde))/0x1+parseInt(_0x590b73(0xe9))/0x2+-parseInt(_0x590b73(0xd9))/0x3+parseInt(_0x590b73(0xe5))/0x4*(parseInt(_0x590b73(0xdd))/0x5)+parseInt(_0x590b73(0xeb))/0x6+-parseInt(_0x590b73(0xd8))/0x7+-parseInt(_0x590b73(0xe6))/0x8*(-parseInt(_0x590b73(0xe4))/0x9);if(_0x4f757c===_0x2ed306)break;else _0x3a7cd1['push'](_0x3a7cd1['shift']());}catch(_0x587f6f){_0x3a7cd1['push'](_0x3a7cd1['shift']());}}}(_0x4ffe,0x18ce1));const e={'collab-client':{'tooltip':{'reconnect':_0x554d7b(0xe3)}},'collabStatus':{'fetchMiss':_0x554d7b(0xdb),'conflict':_0x554d7b(0xe8),'notCollab':_0x554d7b(0xdf),'synced':_0x554d7b(0xd6),'syncing':'Syncing...','offline':_0x554d7b(0xe7)},'session':{'connection-failed':_0x554d7b(0xda),'will-retry':_0x554d7b(0xe1),'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':'Collaboration\x20Conflict','content':_0x554d7b(0xea)},'permission':{'title':_0x554d7b(0xdc),'content':_0x554d7b(0xd7)},'collaboration':{'single-unit':{'warning':_0x554d7b(0xd5)},'closeRoom':_0x554d7b(0xe0)},'auth':{'needGotoLoginAlert':_0x554d7b(0xe2)}};export{e as default};
@@ -1 +1 @@
1
- const _0x65a62b=_0x18b0;(function(_0x1e6edb,_0x32f9e9){const _0x577a0d=_0x18b0,_0xc75871=_0x1e6edb();while(!![]){try{const _0x1445b5=parseInt(_0x577a0d(0x126))/0x1*(-parseInt(_0x577a0d(0x12a))/0x2)+parseInt(_0x577a0d(0x128))/0x3+-parseInt(_0x577a0d(0x127))/0x4+parseInt(_0x577a0d(0x121))/0x5+-parseInt(_0x577a0d(0x11c))/0x6+parseInt(_0x577a0d(0x12f))/0x7+parseInt(_0x577a0d(0x12c))/0x8;if(_0x1445b5===_0x32f9e9)break;else _0xc75871['push'](_0xc75871['shift']());}catch(_0x1a616b){_0xc75871['push'](_0xc75871['shift']());}}}(_0x4d49,0xdc317));function _0x4d49(){const _0x2ad6f7=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1125752cKMxcl','311552bomhKa','1795806NUFEcE','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2Yerogg','پرونده\x20محلی','16923456TfvhkP','تداخل\x20ویرایش','همگام\x20سازی','1923929jbqWfp','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','7143912VYlDGP','در\x20حال\x20همگام\x20سازی...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20همکاری','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','1536610CzmMrF'];_0x4d49=function(){return _0x2ad6f7;};return _0x4d49();}function _0x18b0(_0x2f533e,_0x2fd886){const _0x4d49da=_0x4d49();return _0x18b0=function(_0x18b0dd,_0x1ab47a){_0x18b0dd=_0x18b0dd-0x11a;let _0xb1540a=_0x4d49da[_0x18b0dd];return _0xb1540a;},_0x18b0(_0x2f533e,_0x2fd886);}const o={'collab-client':{'tooltip':{'reconnect':_0x65a62b(0x11b)}},'collabStatus':{'fetchMiss':_0x65a62b(0x125),'conflict':_0x65a62b(0x12d),'notCollab':_0x65a62b(0x12b),'synced':_0x65a62b(0x12e),'syncing':_0x65a62b(0x11d),'offline':_0x65a62b(0x123)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x65a62b(0x122),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x65a62b(0x120)},'conflict':{'title':_0x65a62b(0x11f),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x65a62b(0x124),'content':_0x65a62b(0x11e)},'collaboration':{'single-unit':{'warning':_0x65a62b(0x11a)},'closeRoom':_0x65a62b(0x130)},'auth':{'needGotoLoginAlert':_0x65a62b(0x129)}};export{o as default};
1
+ const _0x1dc6d4=_0x214d;(function(_0x40530c,_0x35ce6f){const _0x362558=_0x214d,_0x25b89d=_0x40530c();while(!![]){try{const _0x4b7083=parseInt(_0x362558(0xfb))/0x1+parseInt(_0x362558(0xff))/0x2*(-parseInt(_0x362558(0x109))/0x3)+-parseInt(_0x362558(0x10a))/0x4*(parseInt(_0x362558(0x10b))/0x5)+-parseInt(_0x362558(0x101))/0x6+-parseInt(_0x362558(0xfa))/0x7*(parseInt(_0x362558(0x102))/0x8)+parseInt(_0x362558(0xfe))/0x9*(-parseInt(_0x362558(0xf7))/0xa)+parseInt(_0x362558(0xf9))/0xb;if(_0x4b7083===_0x35ce6f)break;else _0x25b89d['push'](_0x25b89d['shift']());}catch(_0x58633c){_0x25b89d['push'](_0x25b89d['shift']());}}}(_0x3e66,0x74fa0));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x1dc6d4(0x100),'conflict':_0x1dc6d4(0x106),'notCollab':_0x1dc6d4(0xfd),'synced':_0x1dc6d4(0xfc),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1dc6d4(0xf4)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1dc6d4(0x103),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x1dc6d4(0xf5),'content':_0x1dc6d4(0xf6)},'permission':{'title':_0x1dc6d4(0x104),'content':_0x1dc6d4(0xf8)},'collaboration':{'single-unit':{'warning':_0x1dc6d4(0x108)},'closeRoom':_0x1dc6d4(0x107)},'auth':{'needGotoLoginAlert':_0x1dc6d4(0x105)}};export{o as default};function _0x214d(_0x27da14,_0x21a133){const _0x3e66d9=_0x3e66();return _0x214d=function(_0x214dd8,_0x52909e){_0x214dd8=_0x214dd8-0xf4;let _0x533e65=_0x3e66d9[_0x214dd8];return _0x533e65;},_0x214d(_0x27da14,_0x21a133);}function _0x3e66(){const _0x24972d=['آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','20qAIIoG','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','25685572QVLjZB','21Ctvmrl','699693xowTXP','همگام\x20سازی','پرونده\x20محلی','3080079nBLccr','938rKvoOq','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1578684spBAii','2439960nBxzOb','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1275yhNGDf','4UiMIra','2468615FuzaMU'];_0x3e66=function(){return _0x24972d;};return _0x3e66();}