@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505291607 → 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 _0x500701=_0x201c;(function(_0x5e784e,_0x3534ed){const _0x468022=_0x201c,_0x941ed1=_0x5e784e();while(!![]){try{const _0x360c46=-parseInt(_0x468022(0x19b))/0x1*(parseInt(_0x468022(0x2ac))/0x2)+-parseInt(_0x468022(0x1ae))/0x3+-parseInt(_0x468022(0x169))/0x4+parseInt(_0x468022(0x1e9))/0x5+parseInt(_0x468022(0x25a))/0x6+parseInt(_0x468022(0x2ca))/0x7*(parseInt(_0x468022(0x278))/0x8)+-parseInt(_0x468022(0x217))/0x9*(-parseInt(_0x468022(0x161))/0xa);if(_0x360c46===_0x3534ed)break;else _0x941ed1['push'](_0x941ed1['shift']());}catch(_0x3178a0){_0x941ed1['push'](_0x941ed1['shift']());}}}(_0x15b0,0xa8184));var $t=Object[_0x500701(0x1b4)],xt=(_0x160918,_0x357799,_0x5a9ed8)=>_0x357799 in _0x160918?$t(_0x160918,_0x357799,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9ed8}):_0x160918[_0x357799]=_0x5a9ed8,_=(_0x4c03bd,_0x2d5cfc,_0x2da4ae)=>xt(_0x4c03bd,typeof _0x2d5cfc!=_0x500701(0x251)?_0x2d5cfc+'':_0x2d5cfc,_0x2da4ae);import{MemberService as _0x98ed6,SessionStatus as _0x3c94d8,CollaborationSessionService as _0x1d5bd3,CollaborationStatus as _0x3b52bb,CollaborationController as _0x56ded8,ILocalCacheService as _0x42439c,CollaborationUIEventService as _0x3dfa7b,CollaborationUIEventId as _0xddb0f4,DataLoaderService as _0x5ebf66,DocCollaborationEntity as _0x3113b3,getLocalCacheKey as _0x53bc47,LOCAL_CACHE_INTERVAL as _0x1dc753,LOCAL_CACHE_INTERVAL_KEY as _0x55cca2,UniverCollaborationClientPlugin as _0x492057,CollaborationSocketService as _0x1f4966,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16c931,DEFAULT_WS_SESSION_TICKET_URL as _0x5466b7,UnitStatus as _0x499e2f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4e004d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x294c26}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x51bb57,Disposable as _0xbdf073,DOC_RANGE_TYPE as _0x20cb98,Inject as _0x36f55a,Injector as _0x524dc3,IUniverInstanceService as _0x3a01ed,ICommandService as _0x44ae43,debounce as _0x270191,Rectangle as _0x5d496d,DisposableCollection as _0x163b76,toDisposable as _0x31417b,UniverInstanceType as _0x57d7e2,Tools as _0xd3854a,COLORS as _0xa0b366,ColorKit as _0x331b5e,ThemeService as _0x28de01,fromEventSubject as _0x133933,LocaleService as _0x52ac5b,createIdentifier as _0x41e36e,ILogService as _0x56e22c,Optional as _0x182852,Workbook as _0x4ba6e7,CommandType as _0x27f8ae,IConfigService as _0x1312da,ILocalStorageService as _0x39f1e9,DependentOn as _0x3f81bc,Plugin as _0x5ee79e,merge as _0x1e4789,registerDependencies as _0x32ed27,mergeOverrideWithDependencies as _0x4d34f1,touchDependencies as _0x58b8a4,generateRandomId as _0x4764a1}from'@univerjs/core';import{Shape as _0x1f573e,Rect as _0x2fb5cd,getColor as _0x8c785f,RegularPolygon as _0x51dbaa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f247,Vector2 as _0xe085c2,SHEET_VIEWPORT_KEY as _0x1bfa2b,IRenderManagerService as _0x20379b}from'@univerjs/engine-render';import{ISocketService as _0x4df4f1,WebSocketService as _0x20d8c7,HTTPService as _0x4714d0}from'@univerjs/network';import{IDocClipboardService as _0xf5cf06,NodePositionConvertToCursor as _0x1e1661,NodePositionConvertToRectRange as _0x12c27a,TEXT_RANGE_LAYER_INDEX as _0x28a77f,SetDocZoomRatioOperation as _0x43d6d2,DocIMEInputManagerService as _0x1691fb,DocStateChangeManagerService as _0x321880}from'@univerjs/docs-ui';import{IImageIoService as _0x19a877}from'@univerjs/drawing';import{BehaviorSubject as _0x5a7c5d,debounceTime as _0x5d2d37,takeUntil as _0x13f70a,Subject as _0x200c52,filter as _0x85b57,switchMap as _0x161e64,merge as _0x3b5d4d,combineLatest as _0x149121,of as _0x40f510,fromEvent as _0x1c6ada,shareReplay as _0x392a8a,mapTo as _0x382ac5,distinctUntilChanged as _0x1fead7}from'rxjs';import{SetTextSelectionsOperation as _0x49e568,RichTextEditingMutation as _0x1b6e54,DocSelectionManagerService as _0x232d6a,DocSkeletonManagerService as _0x676da8}from'@univerjs/docs';import{ITransformService as _0x5ddb15,CollaborationEvent as _0x24d870,isTransformMutationFailure as _0x727f01,isTransformMutationsWithChangesetSuccess as _0x4b3101,RevisionService as _0x44f78e,ISnapshotServerService as _0x3b9b92}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x25c963,serializeRangeWithSheet as _0x115746}from'@univerjs/engine-formula';import{RefRangeService as _0x4709fb,SetSelectionsOperation as _0x217aca,SheetsSelectionsService as _0x34f1fe,EffectRefRangId as _0x486e35,handleIRemoveRow as _0x5c5d46,handleIRemoveCol as _0x445a8c,handleMoveRange as _0x390946,handleInsertRow as _0x4d014c,handleInsertRangeMoveRight as _0x487733,handleInsertRangeMoveDown as _0x5d43ae,handleInsertCol as _0x4f839b,handleDeleteRangeMoveUp as _0x2a5e2a,handleDeleteRangeMoveLeft as _0x1c2e74,runRefRangeMutations as _0x672700,SetWorksheetActivateCommand as _0x29d14d}from'@univerjs/sheets';import{map as _0x510b8c,filter as _0x46d147,throttleTime as _0x13f76c,takeUntil as _0x567b06,switchMap as _0x4284f1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2608ff,getCoordByCell as _0x119062,getSheetObject as _0x12664d}from'@univerjs/sheets-ui';import{jsx as _0x35442b,jsxs as _0xeee65}from'react/jsx-runtime';import{useObservable as _0x3496cb,useDependency as _0x6eba92,IUIPartsService as _0x2bab1c,BuiltInUIPart as _0x5a7bb1,connectInjector as _0x4ad499,IBeforeCloseService as _0x31834d,IMessageService as _0x13a97a,INotificationService as _0x5af6e2}from'@univerjs/ui';import{Tooltip as _0xd930f0,clsx as _0x2b6929,MessageType as _0x51a21e}from'@univerjs/design';import{forwardRef as _0x45d79,useRef as _0x2f8c55,createElement as _0x247d46,useCallback as _0x5228ad}from'react';import{IRemoteInstanceService as _0x51b5c6}from'@univerjs/rpc';var ci=Object[_0x500701(0x248)],li=(_0xfbea98,_0x329808,_0x5707e5,_0x2a7727)=>{const _0x57293a=_0x500701;for(var _0x1a4adf=_0x2a7727>0x1?void 0x0:_0x2a7727?ci(_0x329808,_0x5707e5):_0x329808,_0x4e4f37=_0xfbea98[_0x57293a(0x234)]-0x1,_0x4bfad2;_0x4e4f37>=0x0;_0x4e4f37--)(_0x4bfad2=_0xfbea98[_0x4e4f37])&&(_0x1a4adf=_0x4bfad2(_0x1a4adf)||_0x1a4adf);return _0x1a4adf;},Je=(_0x3766c5,_0x4007f6)=>(_0x20288f,_0x46c720)=>_0x4007f6(_0x20288f,_0x46c720,_0x3766c5);let Ne=class extends _0x51bb57{constructor(_0x5e2933,_0x206509){const _0x3f6410=_0x500701;super(),this[_0x3f6410(0x1a5)]=_0x5e2933,this[_0x3f6410(0x212)]=_0x206509,this[_0x3f6410(0x21e)]();}[_0x500701(0x21e)](){const _0xf1c490=_0x500701,_0x4bebe4=this;this[_0xf1c490(0x226)](this[_0xf1c490(0x1a5)][_0xf1c490(0x294)]({'onBeforePasteImage':async _0x23e028=>{const _0x1749ef=_0xf1c490,_0xe9b082=await _0x4bebe4['_imageIoService'][_0x1749ef(0x2b5)](_0x23e028);return _0xe9b082?{'source':_0xe9b082['source'],'imageSourceType':_0xe9b082[_0x1749ef(0x24a)]}:null;}}));}};Ne=li([Je(0x0,_0xf5cf06),Je(0x1,_0x19a877)],Ne);const Ze=['purple.300','jiqing.500',_0x500701(0x232),_0x500701(0x164),_0x500701(0x195),_0x500701(0x316)];class ke extends _0xbdf073{constructor(){const _0x240022=_0x500701;super(...arguments),_(this,_0x240022(0x2c9),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3baeab){const _0xc6b0f2=_0x500701;if(this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1cb)](_0x3baeab))return this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1a2)](_0x3baeab);const _0x28e997=Ze[this[_0xc6b0f2(0x193)]];return this['_colorIndex']=(this[_0xc6b0f2(0x193)]+0x1)%Ze[_0xc6b0f2(0x234)],this[_0xc6b0f2(0x2c9)]['set'](_0x3baeab,_0x28e997),_0x28e997;}}function Tt(_0x3f3315){const _0x36b7dc=_0x500701;let _0x1e3e00='';for(const _0x4e029c of _0x3f3315){const {startOffset:_0x3f7ccb,endOffset:_0x48fbed,isActive:_0x1ea459,rangeType:_0x28d7db,segmentId:_0x5405b0,segmentPage:_0x3387ca}=_0x4e029c;_0x1e3e00[_0x36b7dc(0x234)]&&(_0x1e3e00+=','),_0x1e3e00+=_0x3f7ccb+':'+_0x48fbed+':'+(_0x1ea459?'1':'0')+':'+_0x28d7db+':'+_0x5405b0+':'+_0x3387ca;}return _0x1e3e00;}function _i(_0x56f0c2){const _0x4df879=_0x500701,_0x246525=_0x56f0c2[_0x4df879(0x1e0)](','),_0x2d6429=[];for(const _0x2ac5d1 of _0x246525){const [_0xd4fe67,_0x3088e2,_0x3ddb95,_0x1908c1,_0x3ae6f8,_0x498c33]=_0x2ac5d1[_0x4df879(0x1e0)](':');_0x2d6429[_0x4df879(0x2a2)]({'startOffset':Number(_0xd4fe67),'endOffset':Number(_0x3088e2),'collapsed':_0xd4fe67===_0x3088e2,'isActive':_0x3ddb95==='1','rangeType':_0x1908c1===_0x20cb98['TEXT']?_0x20cb98[_0x4df879(0x1d8)]:_0x20cb98[_0x4df879(0x2b6)],'segmentId':typeof _0x3ae6f8==_0x4df879(0x2ae)?String(_0x3ae6f8):'','segmentPage':Number(_0x498c33!=null?_0x498c33:-0x1)});}return _0x2d6429[_0x4df879(0x2fb)](_0x1c5321=>_0x1c5321[_0x4df879(0x338)])||(_0x2d6429[0x0][_0x4df879(0x338)]=!0x0),_0x2d6429;}class He extends _0x51bb57{constructor(){const _0x463054=_0x500701;super(...arguments),_(this,_0x463054(0x292),new _0x5a7c5d(null)),_(this,_0x463054(0x308),this[_0x463054(0x292)][_0x463054(0x1fb)]());}[_0x500701(0x1af)](_0x11ec39){const _0x448937=_0x500701,{unitID:_0x1ef441,memberID:_0x341471,textRanges:_0x1d5e22}=_0x11ec39,_0x208e88=Tt(_0x1d5e22);if(_0x208e88==='')return;const _0x47a33c={'unitID':_0x1ef441,'memberID':_0x341471,'selection':_0x208e88};this[_0x448937(0x292)][_0x448937(0x1c9)](_0x47a33c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x36b258,_0x56773a,_0x446617,_0x55ded2)=>{const _0x109991=_0x500701;for(var _0x7d1c66=_0x55ded2>0x1?void 0x0:_0x55ded2?hi(_0x56773a,_0x446617):_0x56773a,_0x57dfa4=_0x36b258[_0x109991(0x234)]-0x1,_0xe9b1a9;_0x57dfa4>=0x0;_0x57dfa4--)(_0xe9b1a9=_0x36b258[_0x57dfa4])&&(_0x7d1c66=_0xe9b1a9(_0x7d1c66)||_0x7d1c66);return _0x7d1c66;},P=(_0x18c112,_0x241929)=>(_0x2f04fd,_0x54e8ff)=>_0x241929(_0x2f04fd,_0x54e8ff,_0x18c112);const di=0x12c,fi=0x64;let Ue=class extends _0x51bb57{constructor(_0x498cb7,_0x516ec8,_0x176202,_0x324115,_0x1c275a,_0x416832,_0x344a4b,_0x5af72c,_0x16371c){const _0x4bc299=_0x500701;super(),_(this,'_online',!0x1),_(this,_0x4bc299(0x21e),!0x1),_(this,_0x4bc299(0x1cf),new _0x5a7c5d(new Map())),_(this,'cursorInfo$',this[_0x4bc299(0x1cf)][_0x4bc299(0x1fb)]()),_(this,'_roomMembers$',new _0x5a7c5d([])),_(this,_0x4bc299(0x187),this['_roomMembers$']['pipe'](_0x5d2d37(di))),_(this,_0x4bc299(0x32e),_0x270191(_0x7c15e=>{const _0x459b4f=_0x4bc299,_0x1d0c2d={'eventID':_0x24d870[_0x459b4f(0x1ab)],'data':{'unitID':this[_0x459b4f(0x301)],'memberID':this[_0x459b4f(0x359)][_0x459b4f(0x273)](),'selection':Tt(_0x7c15e)}};this[_0x459b4f(0x359)]['send'](_0x1d0c2d,this[_0x459b4f(0x301)]);},fi)),(this[_0x4bc299(0x301)]=_0x498cb7,this[_0x4bc299(0x359)]=_0x516ec8,this[_0x4bc299(0x1a4)]=_0x176202,this[_0x4bc299(0x2ec)]=_0x324115,this[_0x4bc299(0x1be)]=_0x1c275a,this[_0x4bc299(0x1b7)]=_0x416832,this[_0x4bc299(0x2ce)]=_0x344a4b,this[_0x4bc299(0x27f)]=_0x5af72c,this[_0x4bc299(0x2b3)]=_0x16371c);}get[_0x500701(0x179)](){const _0x887d54=_0x500701;return this[_0x887d54(0x1cf)][_0x887d54(0x1a8)]();}get[_0x500701(0x348)](){const _0x276c35=_0x500701;return this[_0x276c35(0x2ee)]['getValue']();}[_0x500701(0x1e7)](){const _0x249054=_0x500701;super[_0x249054(0x1e7)](),this[_0x249054(0x1cf)][_0x249054(0x1c9)](new Map()),this[_0x249054(0x1cf)]['complete'](),this[_0x249054(0x2ee)][_0x249054(0x1c9)]([]),this['_roomMembers$']['complete']();}[_0x500701(0x1e3)](){const _0xe8d46=_0x500701;this[_0xe8d46(0x21e)]||(this[_0xe8d46(0x21e)]=!0x0,this[_0xe8d46(0x359)][_0xe8d46(0x2cb)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0x3d5cdb=>{const _0x854fbc=_0xe8d46;_0x3d5cdb===_0x3c94d8[_0x854fbc(0x174)]?this[_0x854fbc(0x346)]():this[_0x854fbc(0x240)]();}),this[_0xe8d46(0x359)][_0xe8d46(0x15d)][_0xe8d46(0x323)](_0x13f70a(this['dispose$']))[_0xe8d46(0x320)](_0x2c36ba=>{const _0x439c9f=_0xe8d46,_0x143d62=_0x2c36ba[_0x439c9f(0x34e)];_0x143d62===_0x24d870[_0x439c9f(0x1ab)]&&this[_0x439c9f(0x190)](_0x2c36ba),_0x143d62===_0x24d870['USERS_LEAVE']&&this[_0x439c9f(0x162)](_0x2c36ba);}),this[_0xe8d46(0x226)](this['_commandService']['onCommandExecuted'](_0x3607f8=>{const _0x385515=_0xe8d46,_0x1cd1ef=_0x3607f8[_0x385515(0x2cd)];_0x1cd1ef!=null&&this['_online']&&_0x3607f8['id']===_0x49e568['id']&&_0x1cd1ef['unitId']===this[_0x385515(0x301)]&&_0x1cd1ef[_0x385515(0x2d4)]===!0x1&&_0x1cd1ef['ranges'][_0x385515(0x234)]>0x0&&this[_0x385515(0x32e)](_0x1cd1ef['ranges']);})),this[_0xe8d46(0x1b7)][_0xe8d46(0x308)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0xb0e97a=>{const _0x2358e7=_0xe8d46;if((_0xb0e97a==null?void 0x0:_0xb0e97a[_0x2358e7(0x301)])!==this['unitID'])return;const _0x2371c7={'eventID':_0x24d870[_0x2358e7(0x1ab)],'data':_0xb0e97a};this[_0x2358e7(0x190)](_0x2371c7);}),this[_0xe8d46(0x226)](this[_0xe8d46(0x2b3)]['onCommandExecuted'](_0x5a63f4=>{const _0x4c919c=_0xe8d46;if(_0x5a63f4[_0x4c919c(0x2cd)]==null)return;const _0x5d327c=_0x5a63f4['params'];if(_0x5a63f4['id']!==_0x1b6e54['id']||_0x5d327c[_0x4c919c(0x319)]!==this[_0x4c919c(0x301)])return;const _0x2d9165={'id':_0x4c919c(0x2c3),'params':_0x5d327c},_0x376e5d=this[_0x4c919c(0x179)];for(const [_0x47b878,_0x435485]of _0x376e5d){const _0x10c015={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c919c(0x301)],'actions':null,'textRanges':_0x435485[_0x4c919c(0x175)]}},_0x3a727a=this[_0x4c919c(0x2ce)][_0x4c919c(0x24b)](_0x2d9165,_0x10c015,!0x1);if(_0x727f01(_0x3a727a))throw _0x3a727a[_0x4c919c(0x1eb)];_0x376e5d['set'](_0x47b878,{..._0x435485,'ranges':_0x3a727a['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x22a4d8=_0x4c919c;this['_cursorInfo$'][_0x22a4d8(0x1c9)](_0x376e5d);});})));}['_onCursorUpdate'](_0x59e1e3){const _0x2e24e9=_0x500701;var _0x411710,_0x58d5cd;const {memberID:_0x2652ff,selection:_0x338738}=_0x59e1e3[_0x2e24e9(0x2dd)],_0x20a3ae=_i(_0x338738),_0x2be476=(_0x58d5cd=(_0x411710=this['_memberService']['getMember'](this[_0x2e24e9(0x301)],_0x2652ff))==null?void 0x0:_0x411710[_0x2e24e9(0x1c7)])!=null?_0x58d5cd:_0x2e24e9(0x306),_0xf99edd={'color':this[_0x2e24e9(0x2ec)][_0x2e24e9(0x274)](_0x2652ff),'name':_0x2be476,'ranges':_0x20a3ae},_0x37d92c=this[_0x2e24e9(0x179)];_0x37d92c['set'](_0x2652ff,_0xf99edd),this['_cursorInfo$'][_0x2e24e9(0x1c9)](_0x37d92c);}['_onCursorDelete'](_0x4b8c46){const _0x879ccd=_0x500701,{memberID:_0x47bd33}=_0x4b8c46['data'],_0x663e8d=this[_0x879ccd(0x179)];_0x663e8d[_0x879ccd(0x204)](_0x47bd33),this[_0x879ccd(0x1cf)]['next'](_0x663e8d);}[_0x500701(0x346)](){const _0x3d709d=_0x500701;var _0x1de255;if(this[_0x3d709d(0x189)]=!0x0,((_0x1de255=this[_0x3d709d(0x27f)][_0x3d709d(0x33f)]())==null?void 0x0:_0x1de255[_0x3d709d(0x215)]())!==this[_0x3d709d(0x301)])return;const _0x347fea=this[_0x3d709d(0x1a4)][_0x3d709d(0x1a2)](_0x232d6a)[_0x3d709d(0x269)]();Array[_0x3d709d(0x1b3)](_0x347fea)&&_0x347fea['length']>0x0&&this['_updateLocalCursor'](_0x347fea);}[_0x500701(0x240)](){const _0x4b0acf=_0x500701;this[_0x4b0acf(0x189)]=!0x1;}};Ue=ui([P(0x2,_0x36f55a(_0x524dc3)),P(0x3,_0x36f55a(ke)),P(0x4,_0x36f55a(_0x98ed6)),P(0x5,_0x36f55a(He)),P(0x6,_0x5ddb15),P(0x7,_0x3a01ed),P(0x8,_0x44ae43)],Ue);var Si=Object[_0x500701(0x248)],mi=(_0x5519cf,_0x241e78,_0x5ef1da,_0x3230f7)=>{const _0x3dcea7=_0x500701;for(var _0x207b83=_0x3230f7>0x1?void 0x0:_0x3230f7?Si(_0x241e78,_0x5ef1da):_0x241e78,_0x4f8fd8=_0x5519cf[_0x3dcea7(0x234)]-0x1,_0x2ead45;_0x4f8fd8>=0x0;_0x4f8fd8--)(_0x2ead45=_0x5519cf[_0x4f8fd8])&&(_0x207b83=_0x2ead45(_0x207b83)||_0x207b83);return _0x207b83;},x=(_0x5bf7b2,_0x3c84c9)=>(_0x58404a,_0x196cc0)=>_0x3c84c9(_0x58404a,_0x196cc0,_0x5bf7b2);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ddb4d=[],_0x511749=!0x1;return _0x35341c=>{_0x2ddb4d['push'](_0x35341c),_0x511749||(_0x511749=!0x0,setTimeout(()=>{_0x2ddb4d['forEach'](_0x532eb1=>_0x532eb1()),_0x2ddb4d=[],_0x511749=!0x1;}));};};let Me=class extends _0x51bb57{constructor(_0xc0e912,_0x3b7670,_0x287a60,_0x4c8f2f,_0x4e8dd3,_0x216e76,_0x513ea1,_0x33f636){const _0x1d4ef6=_0x500701;super(),_(this,_0x1d4ef6(0x189),!0x1),_(this,_0x1d4ef6(0x21e),!0x1),_(this,'_cursorInfo$',new _0x5a7c5d(new Map())),_(this,_0x1d4ef6(0x196),this[_0x1d4ef6(0x1cf)][_0x1d4ef6(0x1fb)]()),_(this,_0x1d4ef6(0x2ee),new _0x5a7c5d([])),_(this,_0x1d4ef6(0x187),this[_0x1d4ef6(0x2ee)]['pipe'](_0x5d2d37(Ii))),_(this,_0x1d4ef6(0x32e),_0x270191((_0x1eafcc,_0x4a6a85)=>{const _0x36ec6c=_0x1d4ef6,_0x3147af={'eventID':_0x24d870[_0x36ec6c(0x1ab)],'data':{'unitID':this['unitID'],'memberID':this[_0x36ec6c(0x359)]['getMemberID'](),'selection':_0x115746(_0x1eafcc,_0x4a6a85['range'])}};this['_session'][_0x36ec6c(0x16d)](_0x3147af,this[_0x36ec6c(0x301)]);},gi)),(this[_0x1d4ef6(0x301)]=_0xc0e912,this['_session']=_0x3b7670,this[_0x1d4ef6(0x1a4)]=_0x287a60,this[_0x1d4ef6(0x2ec)]=_0x4c8f2f,this[_0x1d4ef6(0x1be)]=_0x4e8dd3,this[_0x1d4ef6(0x27f)]=_0x216e76,this['_commandService']=_0x513ea1,this['_refRangeService']=_0x33f636);}get[_0x500701(0x179)](){const _0x44a793=_0x500701;return this[_0x44a793(0x1cf)]['getValue']();}get[_0x500701(0x348)](){const _0x29fb1c=_0x500701;return this[_0x29fb1c(0x2ee)][_0x29fb1c(0x1a8)]();}[_0x500701(0x1e7)](){const _0x5e1454=_0x500701;super[_0x5e1454(0x1e7)](),this[_0x5e1454(0x1cf)][_0x5e1454(0x1c9)](new Map()),this[_0x5e1454(0x1cf)][_0x5e1454(0x1d7)](),this[_0x5e1454(0x2ee)]['next']([]),this[_0x5e1454(0x2ee)][_0x5e1454(0x1d7)]();}[_0x500701(0x1e3)](){const _0x53736f=_0x500701;this['_init']||(this[_0x53736f(0x21e)]=!0x0,this['_session'][_0x53736f(0x2cb)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))['subscribe'](_0x30db86=>{const _0x56a15=_0x53736f;_0x30db86===_0x3c94d8[_0x56a15(0x174)]?this[_0x56a15(0x346)]():this['_toggleOffline']();}),this['_session'][_0x53736f(0x15d)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))[_0x53736f(0x320)](_0xba535f=>{const _0x34b803=_0x53736f,_0x3c0a25=_0xba535f[_0x34b803(0x34e)];_0x3c0a25===_0x24d870[_0x34b803(0x1ab)]&&this[_0x34b803(0x190)](_0xba535f),_0x3c0a25===_0x24d870[_0x34b803(0x1fc)]&&this[_0x34b803(0x162)](_0xba535f);}),this[_0x53736f(0x236)](),this[_0x53736f(0x226)](this[_0x53736f(0x2b3)][_0x53736f(0x337)](_0x2cb505=>{const _0x486c14=_0x53736f;if(this[_0x486c14(0x189)]&&_0x2cb505['id']===_0x217aca['id']&&_0x2cb505[_0x486c14(0x2cd)][_0x486c14(0x319)]===this[_0x486c14(0x301)]){const _0x2731de=_0x2cb505[_0x486c14(0x2cd)];this[_0x486c14(0x32e)](_0x2731de[_0x486c14(0x2e9)],_0x2731de[_0x486c14(0x213)][0x0]);}})));}[_0x500701(0x190)](_0xa2fea3){const _0x4cebce=_0x500701;var _0x178408,_0x356e06;const {memberID:_0x4fb73d,selection:_0x4bbec8}=_0xa2fea3[_0x4cebce(0x2dd)],{sheetName:_0x28e980,range:_0x7dd51d}=_0x25c963(_0x4bbec8),_0xb01e0f={'name':(_0x356e06=(_0x178408=this['_memberService'][_0x4cebce(0x303)](this[_0x4cebce(0x301)],_0x4fb73d))==null?void 0x0:_0x178408[_0x4cebce(0x1c7)])!=null?_0x356e06:_0x4cebce(0x306),'range':this[_0x4cebce(0x33a)](_0x28e980,_0x7dd51d),'sheetID':_0x28e980,'color':this[_0x4cebce(0x2ec)][_0x4cebce(0x274)](_0x4fb73d),'selection':_0x4bbec8},_0x51ce59=this['cursorInfo'];_0x51ce59['set'](_0x4fb73d,_0xb01e0f),this[_0x4cebce(0x1cf)]['next'](_0x51ce59);}[_0x500701(0x162)](_0x341500){const _0x27536d=_0x500701,{memberID:_0x5901ea}=_0x341500[_0x27536d(0x2dd)],_0x54962c=this[_0x27536d(0x179)];_0x54962c[_0x27536d(0x204)](_0x5901ea),this['_cursorInfo$'][_0x27536d(0x1c9)](_0x54962c);}[_0x500701(0x33a)](_0xad5b2d,_0x5ce5f7){const _0x314098=_0x500701;var _0xad0810,_0x50d723;const _0x1b7b79=(_0x50d723=(_0xad0810=this[_0x314098(0x27f)]['getUniverSheetInstance'](this[_0x314098(0x301)]))==null?void 0x0:_0xad0810['getSheetBySheetId'](_0xad5b2d))==null?void 0x0:_0x50d723[_0x314098(0x30e)]();return(_0x1b7b79==null?void 0x0:_0x1b7b79[_0x314098(0x1b0)](_0x5d67ec=>_0x5d496d['contains'](_0x5d67ec,_0x5ce5f7)))||_0x5ce5f7;}[_0x500701(0x236)](){const _0x27afbd=_0x500701,_0x190960=new _0x163b76(),_0x19c537=vi(),_0x1e08fb=()=>{const _0x3449b9=_0x201c;_0x190960[_0x3449b9(0x1e7)]();const _0x1c7f60=(_0x5bf611,_0x425412,_0x4c7598,_0x523dd4)=>{const _0x432951=_0x3449b9;let _0x1fde41=[];switch(_0x5bf611['id']){case _0x486e35[_0x432951(0x22b)]:{_0x1fde41=_0x1c2e74(_0x5bf611,_0x523dd4);break;}case _0x486e35['DeleteRangeMoveUpCommandId']:{_0x1fde41=_0x2a5e2a(_0x5bf611,_0x523dd4);break;}case _0x486e35['InsertColCommandId']:{_0x1fde41=_0x4f839b(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x1ff)]:{_0x1fde41=_0x5d43ae(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x2fc)]:{_0x1fde41=_0x487733(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x186)]:{_0x1fde41=_0x4d014c(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x247)]:{_0x1fde41=_0x390946(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveColCommandId']:{_0x1fde41=_0x445a8c(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveRowCommandId']:{_0x1fde41=_0x5c5d46(_0x5bf611,_0x523dd4);break;}}const _0x55155d=_0x672700(_0x1fde41,_0x523dd4),_0x21d03a=this[_0x432951(0x179)][_0x432951(0x1a2)](_0x425412);if(_0x21d03a&&_0x55155d){const _0x387b6c={..._0x21d03a,'range':_0x55155d};this[_0x432951(0x179)][_0x432951(0x2af)](_0x425412,_0x387b6c),_0x19c537(()=>{const _0x34dd5f=_0x432951,_0x106114=this[_0x34dd5f(0x20f)][_0x34dd5f(0x1e4)](_0x55155d,_0x476edd=>(_0x106114[_0x34dd5f(0x1e7)](),_0x1c7f60(_0x476edd,_0x425412,_0x4c7598,_0x55155d)));_0x190960[_0x34dd5f(0x1c3)](_0x106114);});}return{'redos':[],'undos':[]};};this[_0x3449b9(0x179)][_0x3449b9(0x295)]((_0x5546f4,_0x26dd45)=>{const _0x475a3a=_0x3449b9,{range:_0x41e5cd,sheetID:_0x11b1b4}=_0x5546f4,_0x31cc6e=this[_0x475a3a(0x20f)][_0x475a3a(0x1e4)](_0x41e5cd,_0x433134=>(_0x31cc6e[_0x475a3a(0x1e7)](),_0x1c7f60(_0x433134,_0x26dd45,_0x11b1b4,_0x41e5cd)));_0x190960['add'](_0x31cc6e);});};this['disposeWithMe'](_0x31417b(this['_cursorInfo$'][_0x27afbd(0x320)](()=>{_0x1e08fb();})));}[_0x500701(0x346)](){const _0x18ec97=_0x500701;var _0x155273,_0x190e20;if(this['_online']=!0x0,((_0x155273=this[_0x18ec97(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x155273[_0x18ec97(0x215)]())!==this['unitID'])return;const _0x10827c=(_0x190e20=this['_injector'][_0x18ec97(0x1a2)](_0x34f1fe)[_0x18ec97(0x2e0)]())==null?void 0x0:_0x190e20[0x0],_0x2fd604=this[_0x18ec97(0x27f)][_0x18ec97(0x265)](_0x57d7e2['UNIVER_SHEET'])[_0x18ec97(0x222)]();_0x10827c&&_0x2fd604&&this[_0x18ec97(0x32e)](_0x2fd604['getSheetId'](),_0x10827c);}['_toggleOffline'](){const _0x3b5ab6=_0x500701;this[_0x3b5ab6(0x189)]=!0x1;}};Me=mi([x(0x2,_0x36f55a(_0x524dc3)),x(0x3,_0x36f55a(ke)),x(0x4,_0x36f55a(_0x98ed6)),x(0x5,_0x3a01ed),x(0x6,_0x44ae43),x(0x7,_0x36f55a(_0x4709fb))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x57c4fe,_0x1184c7,_0x7a3bb0,_0x3684bd)=>{const _0x258abd=_0x500701;for(var _0x30ba05=_0x3684bd>0x1?void 0x0:_0x3684bd?pi(_0x1184c7,_0x7a3bb0):_0x1184c7,_0x1d3ea5=_0x57c4fe[_0x258abd(0x234)]-0x1,_0x1766d9;_0x1d3ea5>=0x0;_0x1d3ea5--)(_0x1766d9=_0x57c4fe[_0x1d3ea5])&&(_0x30ba05=_0x1766d9(_0x30ba05)||_0x30ba05);return _0x30ba05;},Se=(_0x33bd52,_0x1c7e78)=>(_0x37bb6f,_0x53058a)=>_0x1c7e78(_0x37bb6f,_0x53058a,_0x33bd52);let H=class extends _0x51bb57{constructor(_0x296ef9,_0x51bcba,_0x50bcfa){const _0x1960a1=_0x500701;super(),_(this,'_entities',new Map()),_(this,_0x1960a1(0x20b),new _0x200c52()),(this['_univerInstanceService']=_0x296ef9,this[_0x1960a1(0x1a4)]=_0x51bcba,this[_0x1960a1(0x198)]=_0x50bcfa,this['_init']());}['dispose'](){const _0x1758c9=_0x500701;super['dispose'](),this[_0x1758c9(0x20b)][_0x1758c9(0x1d7)](),this[_0x1758c9(0x2c2)][_0x1758c9(0x295)](_0x402eb6=>_0x402eb6[_0x1758c9(0x1e7)]());}[_0x500701(0x270)](_0x581757){const _0x5041e6=_0x500701;return this[_0x5041e6(0x2c2)][_0x5041e6(0x1cb)](_0x581757)?this[_0x5041e6(0x2c2)][_0x5041e6(0x1a2)](_0x581757)[_0x5041e6(0x196)]:this[_0x5041e6(0x20b)][_0x5041e6(0x323)](_0x85b57(_0x1d0dd8=>_0x1d0dd8[_0x5041e6(0x301)]===_0x581757),_0x161e64(_0xe3b38a=>_0xe3b38a['cursorInfo$']));}[_0x500701(0x21e)](){const _0x10d4a1=_0x500701;this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x286)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](async _0x491e3c=>{const _0x4a3dcd=_0x10d4a1,_0x293e64=_0x491e3c[_0x4a3dcd(0x215)](),_0x1d12b4=await this[_0x4a3dcd(0x2de)](_0x293e64);this[_0x4a3dcd(0x20b)][_0x4a3dcd(0x1c9)](_0x1d12b4),this[_0x4a3dcd(0x2c2)][_0x4a3dcd(0x2af)](_0x293e64,_0x1d12b4);}),this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x1bb)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x323)](_0x85b57(_0x25ef82=>!_0x25ef82[_0x10d4a1(0x215)]()[_0x10d4a1(0x239)]('__')))[_0x10d4a1(0x320)](async _0x2a43d2=>{const _0xb12eb3=_0x10d4a1,_0x15aa36=_0x2a43d2[_0xb12eb3(0x215)](),_0x3af512=await this['_startDocCollabCursor'](_0x15aa36);this[_0xb12eb3(0x20b)]['next'](_0x3af512),this[_0xb12eb3(0x2c2)]['set'](_0x15aa36,_0x3af512);}),_0x3b5d4d(this[_0x10d4a1(0x27f)][_0x10d4a1(0x178)](_0x57d7e2[_0x10d4a1(0x1bb)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x57d7e2[_0x10d4a1(0x286)]))['pipe'](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](_0x2252bd=>{const _0x55d5b8=_0x10d4a1,_0xf78af6=_0x2252bd['getUnitId'](),_0x4ae1c4=this['_entities'][_0x55d5b8(0x1a2)](_0xf78af6);_0x4ae1c4&&(_0x4ae1c4[_0x55d5b8(0x1e7)](),this[_0x55d5b8(0x2c2)][_0x55d5b8(0x204)](_0xf78af6));});}async['_startSheetCollabCursor'](_0x4df451){const _0x455682=_0x500701,_0x2bc90d=await this[_0x455682(0x198)]['requireSession'](_0x4df451),_0x509f2c=this['_injector'][_0x455682(0x2e7)](Me,_0x4df451,_0x2bc90d);return _0x509f2c[_0x455682(0x1e3)](),_0x509f2c;}async[_0x500701(0x25c)](_0x196a22){const _0x8fe033=_0x500701,_0x30da28=await this[_0x8fe033(0x198)]['requireSession'](_0x196a22),_0x4e6bc5=this[_0x8fe033(0x1a4)][_0x8fe033(0x2e7)](Ue,_0x196a22,_0x30da28);return _0x4e6bc5[_0x8fe033(0x1e3)](),_0x4e6bc5;}};H=Ci([Se(0x0,_0x3a01ed),Se(0x1,_0x36f55a(_0x524dc3)),Se(0x2,_0x36f55a(_0x1d5bd3))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3c336f,_0x12d9fe){const _0xb0b9b9=_0x500701;let {radius:_0x16131f,width:_0x4002a3,height:_0xefcdbb}=_0x12d9fe;_0x16131f=_0x16131f!=null?_0x16131f:0x0,_0x4002a3=_0x4002a3!=null?_0x4002a3:0x1e,_0xefcdbb=_0xefcdbb!=null?_0xefcdbb:0x1e;let _0x20cd19=0x0,_0xa941a9=0x0,_0x5f5ca0=0x0;_0x20cd19=_0xa941a9=_0x5f5ca0=Math[_0xb0b9b9(0x20c)](_0x16131f,_0x4002a3/0x2,_0xefcdbb/0x2),_0x3c336f['beginPath'](),_0x3c336f[_0xb0b9b9(0x302)](_0x20cd19,0x0),_0x3c336f['lineTo'](_0x4002a3-_0xa941a9,0x0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0xa941a9,_0xa941a9,_0xa941a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c336f['lineTo'](_0x4002a3,_0xefcdbb-_0x5f5ca0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0x5f5ca0,_0xefcdbb-_0x5f5ca0,_0x5f5ca0,0x0,Math['PI']/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x16f)](0x0,_0xefcdbb),_0x3c336f['lineTo'](0x0,_0x20cd19),_0x3c336f[_0xb0b9b9(0x245)](_0x20cd19,_0x20cd19,_0x20cd19,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x26e)](),_0x12d9fe['fill']&&(_0x3c336f['save'](),_0x3c336f['fillStyle']=_0x12d9fe[_0xb0b9b9(0x31a)],_0x12d9fe['fillRule']==='evenodd'?_0x3c336f[_0xb0b9b9(0x31a)](_0xb0b9b9(0x218)):_0x3c336f[_0xb0b9b9(0x31a)](),_0x3c336f['restore']());}class he extends _0x1f573e{constructor(_0x589a31,_0x570b17){const _0x59b1d4=_0x500701;super(_0x589a31,_0x570b17),_(this,_0x59b1d4(0x30f)),_(this,_0x59b1d4(0x242)),(this[_0x59b1d4(0x30f)]=_0x570b17==null?void 0x0:_0x570b17['color'],this['text']=_0x570b17==null?void 0x0:_0x570b17[_0x59b1d4(0x242)]);}static[_0x500701(0x279)](_0x1ed552,_0x374ca4){const _0x1dd804=_0x500701,{text:_0x5aec85,color:_0x52ef44}=_0x374ca4;_0x1ed552[_0x1dd804(0x28f)](),_0x1ed552['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x32ffd9=_0x1ed552[_0x1dd804(0x1a6)](_0x5aec85)[_0x1dd804(0x24c)],_0x4c9ed3=Math[_0x1dd804(0x20c)](_0x32ffd9+0x2*me,Qe);Oi(_0x1ed552,{'height':ee,'radius':0x4,'width':_0x4c9ed3,'fill':_0x52ef44}),_0x1ed552[_0x1dd804(0x32f)]=_0x1dd804(0x2ea);const _0xea9b20=me,_0x8c0e56=ee-Ei,_0x532818=Qe-0x2*me;if(_0x32ffd9>_0x532818){let _0xe09fde='',_0x426d73=0x0;for(const _0x5c29f7 of _0x5aec85){const _0x18f03e=_0x1ed552[_0x1dd804(0x1a6)](_0x5c29f7)[_0x1dd804(0x24c)];if(_0x426d73+_0x18f03e<=_0x532818-_0x1ed552[_0x1dd804(0x1a6)](_0x1dd804(0x17e))[_0x1dd804(0x24c)])_0xe09fde+=_0x5c29f7,_0x426d73+=_0x18f03e;else{_0xe09fde+=_0x1dd804(0x17e);break;}}_0x1ed552[_0x1dd804(0x2ba)](_0xe09fde,_0xea9b20,_0x8c0e56);}else _0x1ed552[_0x1dd804(0x2ba)](_0x5aec85,_0xea9b20,_0x8c0e56);_0x1ed552[_0x1dd804(0x17d)]();}['_draw'](_0x44fb7d){const _0x248b3e=_0x500701;he[_0x248b3e(0x279)](_0x44fb7d,this);}}function _0x201c(_0x19f2ad,_0xbf4fcd){const _0x15b06a=_0x15b0();return _0x201c=function(_0x201cbf,_0x5049bc){_0x201cbf=_0x201cbf-0x15a;let _0x57de0c=_0x15b06a[_0x201cbf];return _0x57de0c;},_0x201c(_0x19f2ad,_0xbf4fcd);}const Ie='collab-text-anchor-',bi=_0x500701(0x31e),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x500701(0x2a3);class qe{constructor(_0x1dc254,_0x502c09,_0xc917a6,_0x2aae69){const _0x4a896e=_0x500701;_(this,_0x4a896e(0x276),[]),_(this,_0x4a896e(0x2b1),null),_(this,_0x4a896e(0x23e),null),_(this,_0x4a896e(0x228),null),_(this,_0x4a896e(0x2e6),null),_(this,_0x4a896e(0x272),null),(this[_0x4a896e(0x277)]=_0x1dc254,this['_scene']=_0x502c09,this[_0x4a896e(0x2d3)]=_0xc917a6,this['_document']=_0x2aae69,this['_render']());}set[_0x500701(0x2aa)](_0x2afc5d){const _0x3e53ef=_0x500701;_0x2afc5d?(this[_0x3e53ef(0x228)]&&this[_0x3e53ef(0x228)][_0x3e53ef(0x18c)](),this[_0x3e53ef(0x23e)]&&this['_textBubble']['show']()):(this[_0x3e53ef(0x228)]&&this['_anchorDot']['show'](),this[_0x3e53ef(0x23e)]&&this[_0x3e53ef(0x23e)]['hide']());}['dispose'](){const _0x4ebf85=_0x500701;for(const _0x157bfc of this[_0x4ebf85(0x276)])_0x157bfc[_0x4ebf85(0x1e7)]();this[_0x4ebf85(0x23e)]&&this['_textBubble']['dispose'](),this[_0x4ebf85(0x228)]&&this[_0x4ebf85(0x228)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x2b1)]&&this[_0x4ebf85(0x2b1)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x272)]&&this['_eventUnsubscribe']();}[_0x500701(0x347)](){const _0x3c2e34=_0x500701;var _0x331458;const {_docSkeleton:_0x55bc14,_document:_0x57ea89}=this,{color:_0x1256ec,name:_0x29f2e0,ranges:_0x1bfdd5}=this['_cursor'],_0x134214=_0x57ea89[_0x3c2e34(0x167)](),{docsLeft:_0x2e2634,docsTop:_0x567e29}=_0x134214,_0x3660ed=new _0x1e1661(_0x134214,_0x55bc14);for(const {startOffset:_0x5bf6cb,endOffset:_0xbf6128,rangeType:_0x55f7d7,segmentId:_0x335bb5,segmentPage:_0x56cb01,collapsed:_0x29f362,isActive:_0xbebacb}of _0x1bfdd5){const _0x43013e=_0x55bc14[_0x3c2e34(0x17a)](_0x5bf6cb,!0x0,_0x335bb5,_0x56cb01);let _0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128,!0x0,_0x335bb5,_0x56cb01);if(_0x49477c==null&&(_0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128-0x1,!0x1,_0x335bb5,_0x56cb01)),_0xbebacb){const {contentBoxPointGroup:_0x330cc1}=_0x3660ed[_0x3c2e34(0x28c)](_0x49477c,_0x49477c);if(_0x330cc1[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x2bd)](_0x1256ec,_0x330cc1,_0x2e2634,_0x567e29,_0x29f2e0),this['_eventUnsubscribe']=this[_0x3c2e34(0x328)]();}if(_0x43013e&&_0x49477c){if(_0x55f7d7===_0x20cb98[_0x3c2e34(0x2b6)]){const _0x5ac8b1=new _0x12c27a(_0x134214,_0x55bc14),{pointGroup:_0x287127}=(_0x331458=_0x5ac8b1[_0x3c2e34(0x28c)](_0x43013e,_0x49477c))!=null?_0x331458:{};if(_0x287127==null||_0x287127['length']===0x0)continue;this[_0x3c2e34(0x185)](_0x1256ec,_0x287127,_0x2e2634,_0x567e29);}else{if(!_0x29f362){const {borderBoxPointGroup:_0x1c41e3}=_0x3660ed['getRangePointData'](_0x43013e,_0x49477c);if(_0x1c41e3[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x181)](_0x1256ec,_0x1c41e3,_0x2e2634,_0x567e29);}}}}}[_0x500701(0x2bd)](_0x5e343e,_0x1045ac,_0x316d65,_0x53fa4c,_0x2b38e8){const _0x28af3a=_0x500701,_0x11702a=this[_0x28af3a(0x2fa)](_0x1045ac),{left:_0x33cf40,top:_0x43694d,height:_0x33aeae}=_0x11702a,_0x211a7a=this[_0x28af3a(0x300)](),_0x5077cc=Di/_0x211a7a,_0x4ae1c5=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c,'height':_0x33aeae,'width':Ri,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':_0x5077cc,'stroke':Ni,'evented':!0x0});this[_0x28af3a(0x2b1)]=_0x4ae1c5,this[_0x28af3a(0x1c6)]['addObject'](_0x4ae1c5,_0x28a77f);const _0x390ad6=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ge/0x2,'height':ge,'width':ge,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':0x0,'stroke':_0x5e343e||_0x8c785f(_0xa0b366['black'],0x0),'evented':!0x1});this[_0x28af3a(0x228)]=_0x390ad6,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x390ad6,_0x28a77f);const _0x147cb7=new he(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ee,'text':_0x2b38e8,'color':_0x5e343e});this[_0x28af3a(0x23e)]=_0x147cb7,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x147cb7,_0x28a77f),this[_0x28af3a(0x2aa)]=!0x1;}[_0x500701(0x328)](){const _0x4e9496=_0x500701,_0x171720=this['_anchor'][_0x4e9496(0x297)][_0x4e9496(0x2a4)](()=>{const _0x557dd7=_0x4e9496;this[_0x557dd7(0x2aa)]=!0x0;}),_0x5d134f=this[_0x4e9496(0x2b1)][_0x4e9496(0x32c)][_0x4e9496(0x2a4)](()=>{const _0x2c0963=_0x4e9496;this[_0x2c0963(0x2e6)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2801e5=_0x2c0963;this[_0x2801e5(0x2aa)]=!0x1;},0x7d0);});return()=>{const _0x5d4ea7=_0x4e9496;_0x171720[_0x5d4ea7(0x329)](),_0x5d134f[_0x5d4ea7(0x329)]();};}[_0x500701(0x181)](_0x575fed,_0x2e7f9b,_0x19c5a9,_0x56217c){const _0x3bd4ae=_0x500701,_0x120bba=new _0x331b5e(_0x575fed)['setAlpha'](0.2)[_0x3bd4ae(0x326)](),_0x5b6128=new _0x51dbaa(bi+_0xd3854a[_0x3bd4ae(0x200)](X),{'pointsGroup':_0x2e7f9b,'fill':_0x120bba||_0x8c785f(_0xa0b366[_0x3bd4ae(0x351)],0.2),'left':_0x19c5a9,'top':_0x56217c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bd4ae(0x276)][_0x3bd4ae(0x2a2)](_0x5b6128),this['_scene'][_0x3bd4ae(0x1c2)](_0x5b6128,_0x28a77f);}[_0x500701(0x185)](_0xc7d61c,_0x15abe8,_0x55937b,_0x4907d4){const _0x3caaa3=_0x500701,_0x302585=new _0x331b5e(_0xc7d61c)[_0x3caaa3(0x2b9)](0.2)[_0x3caaa3(0x326)](),_0x248e29=new _0x51dbaa(Ti+_0xd3854a[_0x3caaa3(0x200)](X),{'pointsGroup':_0x15abe8,'fill':_0x302585||_0x8c785f(_0xa0b366[_0x3caaa3(0x351)],0.2),'left':_0x55937b,'top':_0x4907d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3caaa3(0x276)][_0x3caaa3(0x2a2)](_0x248e29),this[_0x3caaa3(0x1c6)][_0x3caaa3(0x1c2)](_0x248e29,_0x28a77f);}[_0x500701(0x2fa)](_0x30279a){const _0x363ba5=_0x30279a[0x0],_0x1978f3=_0x363ba5[0x0],_0x3867cf=_0x363ba5[0x2],{x:_0x49d8a7,y:_0x33d97a}=_0x1978f3,{x:_0x2bee7c,y:_0x5e8fae}=_0x3867cf;return{'left':_0x49d8a7,'top':_0x33d97a,'width':_0x2bee7c-_0x49d8a7,'height':_0x5e8fae-_0x33d97a};}['_getScale'](){const _0x2bfb25=_0x500701,{scaleX:_0x2187ce,scaleY:_0x1f415a}=this[_0x2bfb25(0x1c6)][_0x2bfb25(0x271)]();return Math[_0x2bfb25(0x1c5)](_0x2187ce,_0x1f415a);}}var Ui=Object[_0x500701(0x248)],Mi=(_0x383ee6,_0x3a4234,_0x7d65a0,_0x4976b5)=>{for(var _0x339857=_0x4976b5>0x1?void 0x0:_0x4976b5?Ui(_0x3a4234,_0x7d65a0):_0x3a4234,_0x324ff5=_0x383ee6['length']-0x1,_0x2a4362;_0x324ff5>=0x0;_0x324ff5--)(_0x2a4362=_0x383ee6[_0x324ff5])&&(_0x339857=_0x2a4362(_0x339857)||_0x339857);return _0x339857;},Z=(_0x51ee07,_0x2e4a15)=>(_0x2c6653,_0x4c4b17)=>_0x2e4a15(_0x2c6653,_0x4c4b17,_0x51ee07);let we=class extends _0x51bb57{constructor(_0x119cbb,_0x136ea1,_0x188500,_0x29a5d2,_0x4b0e52){const _0x1f37e9=_0x500701;super(),_(this,_0x1f37e9(0x2da),[]),_(this,_0x1f37e9(0x1aa),[]),(this[_0x1f37e9(0x1e2)]=_0x119cbb,this['_docSkeletonManagerService']=_0x136ea1,this['_collabCursorController']=_0x188500,this['_commandService']=_0x29a5d2,this[_0x1f37e9(0x352)]=_0x4b0e52,this[_0x1f37e9(0x21e)]());}[_0x500701(0x21e)](){const _0x238b56=_0x500701,_0x23675a=this[_0x238b56(0x1e2)][_0x238b56(0x319)],_0x8be308=this[_0x238b56(0x1e1)];this[_0x238b56(0x226)](_0x149121([this[_0x238b56(0x20a)][_0x238b56(0x270)](_0x23675a),this[_0x238b56(0x352)][_0x238b56(0x357)]])[_0x238b56(0x323)](_0x510b8c(([_0x4fbe7e,_0x4b1d8e])=>({'skeleton':_0x8be308[_0x238b56(0x31c)](),'cursors':[..._0x4fbe7e[_0x238b56(0x1d1)]()][_0x238b56(0x2c1)](_0x2869c4=>({..._0x2869c4,'color':this['_themeService'][_0x238b56(0x2cc)](_0x2869c4[_0x238b56(0x30f)])}))})))[_0x238b56(0x320)](_0x2c2a43=>{const _0x3680a8=_0x238b56;if(this[_0x3680a8(0x355)](),_0x2c2a43){const {skeleton:_0x31482,cursors:_0x27094f}=_0x2c2a43;this[_0x3680a8(0x1c1)](_0x31482,_0x27094f);}})),this['_initResize'](),this[_0x238b56(0x2a1)]();}[_0x500701(0x1c1)](_0x6fc8a1,_0x4a9f6e){const _0x28d2e6=_0x500701,{scene:_0x5ba416,mainComponent:_0x9bd361}=this[_0x28d2e6(0x1e2)],_0x11e8d8=_0x4a9f6e[_0x28d2e6(0x1a7)](_0xf1dc4b=>new qe(_0xf1dc4b,_0x5ba416,_0x6fc8a1,_0x9bd361));this[_0x28d2e6(0x2da)]=_0x11e8d8,this[_0x28d2e6(0x1aa)]=_0x4a9f6e;}[_0x500701(0x22e)](){const _0x2d5aab=_0x500701;this[_0x2d5aab(0x355)]();const {scene:_0x109a30,mainComponent:_0x21354e}=this['_context'],_0x46bd77=this[_0x2d5aab(0x1e1)][_0x2d5aab(0x31c)](),_0x4840a=this[_0x2d5aab(0x1aa)]['map'](_0x22aaa2=>new qe(_0x22aaa2,_0x109a30,_0x46bd77,_0x21354e));this[_0x2d5aab(0x2da)]=_0x4840a;}['_removeCollabCursors'](){const _0x576f32=_0x500701;this[_0x576f32(0x2da)][_0x576f32(0x295)](_0x50dbb2=>_0x50dbb2[_0x576f32(0x1e7)]()),this[_0x576f32(0x2da)]=[];}['_initCommandExecutedListener'](){const _0x5b840a=_0x500701,_0x226a54=[_0x43d6d2['id']];this['disposeWithMe'](this[_0x5b840a(0x2b3)]['onCommandExecuted'](_0x362a63=>{const _0x14f6cd=_0x5b840a;_0x226a54[_0x14f6cd(0x1bd)](_0x362a63['id'])&&_0x362a63[_0x14f6cd(0x2cd)][_0x14f6cd(0x319)]===this['_context'][_0x14f6cd(0x319)]&&this[_0x14f6cd(0x22e)]();}));}['_initResize'](){const _0x248ece=_0x500701;this['disposeWithMe'](_0x133933(this[_0x248ece(0x1e2)][_0x248ece(0x2e5)][_0x248ece(0x26d)])[_0x248ece(0x323)](_0x46d147(_0x2b800d=>_0x2b800d[_0x248ece(0x2f5)]===_0x56f247[_0x248ece(0x1d3)]),_0x13f76c(0x10))[_0x248ece(0x320)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x36f55a(_0x676da8)),Z(0x2,_0x36f55a(H)),Z(0x3,_0x44ae43),Z(0x4,_0x36f55a(_0x28de01))],we);const wi=0x1,Pi=1.5;class Li extends _0x1f573e{constructor(_0x55603b,_0x6e99d){const _0x3a224d=_0x500701;super(_0x55603b,_0x6e99d),_(this,_0x3a224d(0x249)),_(this,'_hovered',!0x1),_(this,_0x3a224d(0x220)),_(this,_0x3a224d(0x1f9),''),_(this,_0x3a224d(0x309),_0x3a224d(0x27c)),_(this,'_backgroundColor'),(_0x6e99d&&this[_0x3a224d(0x2e1)](_0x6e99d),this['onPointerEnter$'][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x0})),this[_0x3a224d(0x32c)][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x1})));}[_0x500701(0x2e1)](_0x441d37){const _0x1a4d37=_0x500701;var _0x3cfb08,_0x5a58bb,_0x280b99,_0x45544f,_0x3c0c63,_0x4a77ac;this['_color']=(_0x3cfb08=_0x441d37[_0x1a4d37(0x30f)])!=null?_0x3cfb08:this[_0x1a4d37(0x249)],this[_0x1a4d37(0x26b)]=(_0x5a58bb=_0x441d37[_0x1a4d37(0x336)])!=null?_0x5a58bb:this['_hovered'],this[_0x1a4d37(0x220)]=(_0x280b99=_0x441d37[_0x1a4d37(0x299)])!=null?_0x280b99:this[_0x1a4d37(0x220)],this[_0x1a4d37(0x1f9)]=(_0x45544f=_0x441d37[_0x1a4d37(0x1c7)])!=null?_0x45544f:this[_0x1a4d37(0x1f9)],this[_0x1a4d37(0x309)]=(_0x3c0c63=_0x441d37[_0x1a4d37(0x1fa)])!=null?_0x3c0c63:this[_0x1a4d37(0x309)],this[_0x1a4d37(0x307)]=(_0x4a77ac=_0x441d37[_0x1a4d37(0x2b2)])!=null?_0x4a77ac:this[_0x1a4d37(0x307)],this[_0x1a4d37(0x16c)]({'width':_0x441d37[_0x1a4d37(0x24c)],'height':_0x441d37[_0x1a4d37(0x2fd)]});}[_0x500701(0x33e)](_0x56b1fe){const _0x257014=_0x500701,{row:_0x2d868f,column:_0x1e05f0}=_0x56b1fe;if(_0x2d868f>=this[_0x257014(0x220)][_0x257014(0x231)]&&_0x2d868f<=this[_0x257014(0x220)][_0x257014(0x280)]&&_0x1e05f0>=this['_range'][_0x257014(0x1e8)]&&_0x1e05f0<=this[_0x257014(0x220)]['endColumn']){this[_0x257014(0x2e1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x227af7){return!0x1;}['_draw'](_0x16159f){const _0x2167fa=_0x500701;_0x2fb5cd[_0x2167fa(0x279)](_0x16159f,{'width':this[_0x2167fa(0x24c)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x2167fa(0x26b)]&&(_0x16159f[_0x2167fa(0x28f)](),_0x16159f[_0x2167fa(0x225)](0x1,0x0,0x0,0x1,this[_0x2167fa(0x24c)],this[_0x2167fa(0x309)]===_0x2167fa(0x2b4)?0x0:-0x14),he[_0x2167fa(0x279)](_0x16159f,{'text':this['_name'],'color':this[_0x2167fa(0x249)]}),_0x16159f['restore']());}}function _0x15b0(){const _0x36ea18=['_textBubble','_unitOnClients','_toggleOffline','clearInterval','text','on-line-icon','INTERNAL_ERROR','arc','href','MoveRangeCommandId','getOwnPropertyDescriptor','_color','imageSourceType','transformMutation','width','replace','size','_setupBeforeClosingHandler','_createSocketURL','symbol','displayName','on-line-icon_clip0_910_349','undoState','from','_docTransformSelectionsService','_transformHistoryAndStateStack','collabStatus.offline','url(#$1','6730878jjjTYc','currentSkeleton$','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','_scheduleClearOtherTimer','defs','PENDING','invokeId','history','transformStateCache','getCurrentUnitForType','YUUMI_NO_CUBOID_FOR_QUESTION','getCellPositionByOffset','CONNECTOR_DATA_TOO_LARGE','getDocRanges','div','_hovered','clearTimeout','onTransformChange$','closePath','unit','getCollabCursors$','getAncestorScale','_eventUnsubscribe','getMemberID','assignAColorForMemberID','collaboration-client.offline-data-not-saved','_shapes','_cursor','6024wfsGwq','drawWith','M0\x200H16V16H0z','prototype','top','LICENSE_EXPORT_SIZE_EXCEEDED','_localeService','_univerInstanceService','endRow','UniverIcon','entries','_disabled','TOO_MANY_REQUESTS','tag','UNIVER_SHEET','_updateURLWithCurrentState','removeParam','_collaborationController','urlChange$','m2Prime','getRangePointData','getItem','pushState','save','getSheetBySheetId','_revisionService','_collabCursorState$','_notificationService','addClipboardHook','forEach','SOCKET_FAILED','onPointerEnter$','_initStatusListener','range','getCurrentRevOfUnit','_setupSubUnitSync','collabStatus.fetchMiss','_initEvent','YUUMI_ALL_TABLES_IS_INVALID','_docSyncEditingCollabCursorService','newValue','_initCommandExecutedListener','push','rgba(255,\x20255,\x20255,\x200.01)','subscribeEvent','_handleJoinEvent','off-line-icon_clip0_910_343','indexOf','apply','trim','_hover','propertyIsEnumerable','2lZTrVs','_getSaveTimeout','string','set','SOCKET_FAILED_RETRY','_anchor','backgroundColor','_commandService','bottom','saveImage','RECT','addObjects','replaceDocRanges','setAlpha','fillText','_docTransformStateCacheService','debug','_drawAnchor','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','flatMap','_entities','doc.mutation.rich-text-editing','APPLY_REVISION_CONFILICT','AWAITING_WITH_PENDING','searchParams','pluginName','http://www.w3.org/2000/svg','_assignedColors','406Uatjlp','sessionStatus$','getColorFromTheme','params','_transformService','JOIN_ROOM_FAILED','getViewport','0\x200\x2017\x2016','NOT_FOUND','_docSkeleton','isEditing','_collaborationUIEventService','_handleLeaveEvent','registerRenderModule','SYNCED','children','_cursorShapes','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','YUUMI_URL_COL_OUT_OF_RANGE','data','_startSheetCollabCursor','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getCurrentSelections','setShapeProps','CHANGESET_REVISION_CONFILICT','univer-flex\x20univer-mr-2\x20univer-text-xl','/run/','engine','_hideTimer','createInstance','getConfig','subUnitId','#FFF','replaceState','_colorAssignService','whenReady','_roomMembers$','onLocalMutation','_clearOtherTimers','collabStatus.notCollab','INVALID_INVITE_CODE','setStateCache','NO_OTHER_CLIENTS_EDITING','type','_docTransformIMECacheService','sessionTicket','UNDEFINED','m1Prime','_getAnchorBounding','some','InsertRangeMoveRightCommandId','height','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_sheetSkeletonManagerService','_getScale','unitID','moveTo','getMember','concat','SUBMIT_CHANGESET_TIMEOUT','Unknown\x20user','_backgroundColor','collabCursorState$','_labelPosition','COMPLETION_FINISHED','collab-client.tooltip.reconnect','PY_RUNTIME_SCRIPT_ERROR','setUndoRedoMutationParamsCache','getMergeData','color','dispose$','unload','saveOfflineData','reconnect','attrs','_messageService','yellow.400','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','unitId','fill','idSuffix','getSkeleton','_selfUnitIDs','collab-text-range-','substring','subscribe','textRanges','YUUMI_AI_RUN_FAILED','pipe','status$','INVITE_CODE_HAS_BEEN_UES','toRgbString','CONFLICT','_handleHover','unsubscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_logService','onPointerLeave$','session.collaboration-timeout','_updateLocalCursor','fillStyle','FromArray','all','_dataLoaderService','none','xlink:href','_configService','hovered','onCommandExecuted','isActive','onStarting','_getMergeRange','permission.content','docStateChange$','override','onMouseMove','getFocusedUnit','_getSheetObject','transformRemoteChangeset','YUUMI_ASYNCIO_CANCELLED','_unitStatus','location','collaboration-client-ui.config','_toggleOnline','_render','roomMembers','setParam','key','enableLocalCache','LOGIN_FAILED','YUUMI_RATE_OVER_LIMIT','eventID','activeSheet$','runId','black','_themeService','MOBILE_HAS_BEEN_BOUND','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','unshift','currentTheme$','_ensureSubject','_session','className','collabStatus.conflict','PERMISSION_DENIED','INVALID_ARGUMENT','event$','getActiveRange','exhaustSavingTask','OTHER_CLIENTS_EDITING','10hwyneT','_onCursorDelete','USER_NOT_INVITED_CODE','red.300','setConfig','extend','getOffsetConfig','getTypeOfUnitAdded$','3507084wcjxtK','column','session.will-retry','transformByState','send','1em','lineTo','_removeClearOtherTimer','getParam','univerjs-icon\x20univerjs-icon-','_scheduleSaving','ONLINE','ranges','getCurrent','getUnitStatus$','getTypeOfUnitDisposed$','cursorInfo','findNodePositionByCharIndex','_initDependencies','getOwnPropertySymbols','restore','...','OTHER_CLIENT_EDITING','show','_drawTextRange','_renderManagerService','clipPath','APPLY_PERMISSION_DENIED','_drawRectRange','InsertRowCommandId','roomMembers$','_handleHeartbeatEvent','_online','_urlService','VIEW_MAIN','hide','mask','_registerRenderDependencies','makeDirty','_onCursorUpdate','_initStatusComponent','HEADER_MENU','_colorIndex','icon','blue.400','cursorInfo$','_status$','_collabSessionService','SNAPSHOT_INVALID_SNAPSHOT','transformSelections','315731ACocZL','MUTATION','search','Failed','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','_id','get','UNAUTHENTICATED','_injector','_docClipboardService','measureText','map','getValue','colorChannel1','_cursors','UPDATE_CURSOR','NOT_COLLAB','registerBeforeClose','2609562LeNtSj','syncEditingCollabCursor','find','assign','_instanceService','isArray','defineProperty','onRendered','application/json','_syncEditingCollabCursorService','APPLY_DUPLICATED','collaboration.single-unit.warning','collabStatus.synced','UNIVER_DOC','ACTIVE_UNIT_EVENT_CHANNEL','includes','_memberService','permission.title','AWAITING','_updateCollabCursors','addObject','add','deepClone','max','_scene','name','subunit','next','ALREADY_EXISTS','has','white','loadUnit','_send','_cursorInfo$','call','values','path','resize','defIds','_registerDependencies','_localStorageService','complete','TEXT','_docStateChangeManagerService','transformIMECache','executeCommand','with','getRelativeToViewportCoord','APPLY_REJECT','origin','split','_docSkeletonManagerService','_context','init','registerRefRange','round','hasOwnProperty','dispose','startColumn','2224310Gwilwg','then','error','disposeUnit','_heartbeatTimer','off-line-icon','editingUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerComponent','random','CLOSE_ROOM','_scheduleHeartbeat','toString','translate(.97)','selection','mutations','_name','labelPosition','asObservable','USERS_LEAVE','redoState','LICENSE_DISTRO_REJECTED','InsertRangeMoveDownCommandId','generateRandomId','currentColor','0\x200\x2016\x2016','stringify','delete','collaboration.closeRoom','LICENSE_MAX_UNITS_EXCEEDED','_config','url(#on-line-icon_clip0_910_349)','skeleton','_collabCursorController','_entityInit$','min','svg','uni.network.url-service','_refRangeService','ENSURE_SNAPSHOT_EXECUTION','LICENSE_IMPORT_SIZE_EXCEEDED','_imageIoService','selections','url(#off-line-icon_clip0_910_343)','getUnitId','body','10264707dOaThN','evenodd','INVITE_CODE_REQUIRED','_uiPartsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','APPLY_NON_SEQUENTIAL_REVISION','_init','_handleEvent','_range','setItem','getActiveSheet','_cachedData','current','transform','disposeWithMe','_getSessionTicket','_anchorDot','getRenderById','_beforeCloseService','DeleteRangeMoveLeftCommandId','Warning','getCollabEntity$','_refreshCollabCursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_lastPointer','startRow','green.600','getSheetId','length','Error','_onRefRangeChange','_saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','startsWith','_transformPreviousActiveRange','_transformUndoRedoStack','_initEntityListener','[CollaborationDataLoaderController]'];_0x15b0=function(){return _0x36ea18;};return _0x15b0();}var Ai=Object[_0x500701(0x248)],yi=(_0xa00242,_0x258b26,_0xd422bf,_0x44225f)=>{for(var _0x291ee2=_0x44225f>0x1?void 0x0:_0x44225f?Ai(_0x258b26,_0xd422bf):_0x258b26,_0x10d8f2=_0xa00242['length']-0x1,_0x47dc94;_0x10d8f2>=0x0;_0x10d8f2--)(_0x47dc94=_0xa00242[_0x10d8f2])&&(_0x291ee2=_0x47dc94(_0x291ee2)||_0x291ee2);return _0x291ee2;},ve=(_0x41daa0,_0x3f63d8)=>(_0x167f7f,_0x5cb713)=>_0x3f63d8(_0x167f7f,_0x5cb713,_0x41daa0);const $i=0x1389;let Pe=class extends _0x51bb57{constructor(_0x565874,_0x78d550,_0x40c04e,_0x4f9418){const _0x5018f3=_0x500701;super(),_(this,_0x5018f3(0x1aa),new Set()),_(this,'_lastPointer',null),(this[_0x5018f3(0x1e2)]=_0x565874,this[_0x5018f3(0x2ff)]=_0x78d550,this[_0x5018f3(0x20a)]=_0x40c04e,this[_0x5018f3(0x352)]=_0x4f9418,this[_0x5018f3(0x21e)]());}[_0x500701(0x21e)](){const _0xadb4f0=_0x500701;this[_0xadb4f0(0x2ff)][_0xadb4f0(0x25b)]['pipe'](_0x567b06(this['dispose$']),_0x4284f1(_0x3d6019=>{const _0x53f66a=_0xadb4f0;if(_0x3d6019){const _0x1511f5=_0x3d6019['sheetId'];return _0x149121(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x53f66a(0x352)]['currentTheme$'])[_0x53f66a(0x323)](_0x510b8c(([_0x42ba8d,_0x2ca257])=>{const _0x52d36d=new Map();return _0x42ba8d['forEach']((_0x329e9a,_0x8150f1)=>{const _0x127e8f=_0x201c;if(_0x329e9a['sheetID']===_0x1511f5){const _0x50ac24={..._0x329e9a};_0x50ac24[_0x127e8f(0x30f)]=this[_0x127e8f(0x352)]['getColorFromTheme'](_0x329e9a[_0x127e8f(0x30f)]),_0x52d36d[_0x127e8f(0x2af)](_0x8150f1,_0x50ac24);}}),{'skeleton':_0x3d6019,'cursors':_0x52d36d};}));}return _0x40f510({'skeleton':null,'cursors':new Map()});}))[_0xadb4f0(0x320)](({skeleton:_0xf3a7fd,cursors:_0x35d5b0})=>{const _0x5fec15=_0xadb4f0;this[_0x5fec15(0x355)](),_0xf3a7fd&&this['_updateCollabCursors'](_0xf3a7fd,_0x35d5b0);}),this[_0xadb4f0(0x2ff)]['currentSkeleton$']['subscribe'](_0x3e10ae=>{const _0x5f4077=_0xadb4f0;if(_0x3e10ae==null)return;const {skeleton:_0x3aa73d}=_0x3e10ae,{scene:_0x2baf80}=this[_0x5f4077(0x1e2)];_0x2baf80['onPointerMove$'][_0x5f4077(0x2a4)](_0x270191(_0x4f34a8=>{const _0x406784=_0x5f4077;var _0x55d087,_0x462436;const {offsetX:_0x5602fd,offsetY:_0x1a2666}=_0x4f34a8,{x:_0x45fed1,y:_0x4c370c}=_0x2baf80[_0x406784(0x1dd)](_0xe085c2[_0x406784(0x330)]([_0x5602fd,_0x1a2666])),{scaleX:_0x207ed7,scaleY:_0x281143}=_0x2baf80[_0x406784(0x271)](),_0x402973=_0x2baf80[_0x406784(0x2d0)](_0x1bfa2b[_0x406784(0x18b)]),_0x14a389=_0x2baf80['getVpScrollXYInfoByPosToVp'](_0xe085c2[_0x406784(0x330)]([_0x45fed1,_0x4c370c]),_0x402973),_0x17c578=_0x3aa73d[_0x406784(0x267)](_0x5602fd,_0x1a2666,_0x207ed7,_0x281143,_0x14a389);((_0x55d087=this[_0x406784(0x230)])==null?void 0x0:_0x55d087['column'])===_0x17c578[_0x406784(0x16a)]&&((_0x462436=this[_0x406784(0x230)])==null?void 0x0:_0x462436['row'])===_0x17c578['row']||this[_0x406784(0x1aa)][_0x406784(0x295)](_0x3f1fdd=>{const _0x498713=_0x406784;_0x3f1fdd[_0x498713(0x33e)](_0x17c578);});},0x64));});}[_0x500701(0x1c1)](_0x4a5d68,_0x1b83fa){const _0x48baf7=_0x500701;var _0x43df9c;const _0x395f65=(_0x43df9c=this[_0x48baf7(0x2ff)][_0x48baf7(0x176)]())==null?void 0x0:_0x43df9c[_0x48baf7(0x209)];if(!_0x395f65)return;const _0x44465a=this[_0x48baf7(0x340)]();if(!_0x44465a)return;this[_0x48baf7(0x1aa)][_0x48baf7(0x295)](_0x5b68c6=>{const _0x521276=_0x48baf7;_0x5b68c6[_0x521276(0x18f)]();});const {scene:_0x3bc466}=_0x44465a,_0x48eaa3=xi(Array[_0x48baf7(0x255)](_0x1b83fa[_0x48baf7(0x1d1)]()))['map'](_0x47f6a5=>{const {color:_0x211bef,range:_0x314203,name:_0x1ca5c5,selection:_0x52897d,sheetID:_0x56069f}=_0x47f6a5,{startColumn:_0x57f9f1,startRow:_0x402728,endColumn:_0x282b48,endRow:_0x20855c}=_0x314203,_0x502b8a=_0x119062(_0x402728,_0x57f9f1,_0x3bc466,_0x395f65),_0x4d8d35=_0x119062(_0x20855c,_0x282b48,_0x3bc466,_0x395f65),{columnHeaderHeightAndMarginTop:_0x35a248}=_0x395f65,{startX:_0x4ff845,startY:_0x4ada7d}=_0x502b8a,{endX:_0x4acb69,endY:_0x55177f}=_0x4d8d35,_0x154df2=_0x4acb69-_0x4ff845,_0xd6eb8a=_0x55177f-_0x4ada7d,_0xf5fc52={'labelPosition':_0x4ada7d-_0x35a248>=ee?'top':'bottom','sheetID':_0x56069f,'range':_0x314203,'color':_0x211bef,'name':_0x1ca5c5,'selection':_0x52897d,'left':_0x4ff845,'top':_0x4ada7d,'width':_0x154df2,'height':_0xd6eb8a,'evented':!0x1,'zIndex':$i};return new Li(_0x1ca5c5,_0xf5fc52);});_0x3bc466[_0x48baf7(0x2b7)](_0x48eaa3,wi),this[_0x48baf7(0x1aa)]=new Set(_0x48eaa3);}[_0x500701(0x355)](){const _0x1ec944=_0x500701;var _0x1086b7;(_0x1086b7=this[_0x1ec944(0x1aa)])==null||_0x1086b7[_0x1ec944(0x295)](_0x49cafb=>_0x49cafb[_0x1ec944(0x1e7)]());}[_0x500701(0x340)](){const _0x5649d3=_0x500701;return _0x12664d(this[_0x5649d3(0x1e2)][_0x5649d3(0x26f)],this['_context']);}};Pe=yi([ve(0x1,_0x36f55a(_0x2608ff)),ve(0x2,_0x36f55a(H)),ve(0x3,_0x36f55a(_0x28de01))],Pe);function xi(_0x578e64){const _0x25f674=_0x500701,_0x1d6069=new Map();return _0x578e64[_0x25f674(0x295)](_0x5e8198=>{const _0x569bd6=_0x25f674;if(_0x1d6069[_0x569bd6(0x1cb)](_0x5e8198[_0x569bd6(0x1f7)])){const _0x4eb57e=_0x1d6069['get'](_0x5e8198[_0x569bd6(0x1f7)]);_0x4eb57e[_0x569bd6(0x1c7)]+=',\x20'+_0x5e8198[_0x569bd6(0x1c7)];}else _0x1d6069[_0x569bd6(0x2af)](_0x5e8198[_0x569bd6(0x1f7)],_0x5e8198);}),Array[_0x25f674(0x255)](_0x1d6069[_0x25f674(0x1d1)]());}var v=function(){const _0x5836e8=_0x500701;return v=Object[_0x5836e8(0x1b1)]||function(_0x55b750){const _0x991d5a=_0x5836e8;for(var _0x2ae1c0,_0x27ec13=0x1,_0x76169e=arguments[_0x991d5a(0x234)];_0x27ec13<_0x76169e;_0x27ec13++){_0x2ae1c0=arguments[_0x27ec13];for(var _0x1e2745 in _0x2ae1c0)Object[_0x991d5a(0x27b)][_0x991d5a(0x1e6)][_0x991d5a(0x1d0)](_0x2ae1c0,_0x1e2745)&&(_0x55b750[_0x1e2745]=_0x2ae1c0[_0x1e2745]);}return _0x55b750;},v[_0x5836e8(0x2a8)](this,arguments);},Bi=function(_0x21b87f,_0x2f5049){const _0x16936b=_0x500701;var _0x14f22e={};for(var _0x37204b in _0x21b87f)Object[_0x16936b(0x27b)][_0x16936b(0x1e6)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b)&&_0x2f5049[_0x16936b(0x2a7)](_0x37204b)<0x0&&(_0x14f22e[_0x37204b]=_0x21b87f[_0x37204b]);if(_0x21b87f!=null&&typeof Object[_0x16936b(0x17c)]=='function'){for(var _0x30ea8c=0x0,_0x37204b=Object[_0x16936b(0x17c)](_0x21b87f);_0x30ea8c<_0x37204b[_0x16936b(0x234)];_0x30ea8c++)_0x2f5049[_0x16936b(0x2a7)](_0x37204b[_0x30ea8c])<0x0&&Object[_0x16936b(0x27b)][_0x16936b(0x2ab)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b[_0x30ea8c])&&(_0x14f22e[_0x37204b[_0x30ea8c]]=_0x21b87f[_0x37204b[_0x30ea8c]]);}return _0x14f22e;},je=_0x45d79(function(_0x360318,_0x4a79a1){const _0x51a791=_0x500701;var _0x1c8688=_0x360318[_0x51a791(0x194)],_0x40be5c=_0x360318['id'],_0x5dac60=_0x360318[_0x51a791(0x35a)],_0x4fade3=_0x360318[_0x51a791(0x166)],_0x20f745=Bi(_0x360318,[_0x51a791(0x194),'id','className','extend']),_0x5fd4f7=_0x51a791(0x172)[_0x51a791(0x304)](_0x40be5c,'\x20')['concat'](_0x5dac60||'')[_0x51a791(0x2a9)](),_0x883b38=_0x2f8c55('_'[_0x51a791(0x304)](ji()));return Rt(_0x1c8688,''[_0x51a791(0x304)](_0x40be5c),{'defIds':_0x1c8688['defIds'],'idSuffix':_0x883b38[_0x51a791(0x224)]},v({'ref':_0x4a79a1,'className':_0x5fd4f7},_0x20f745),_0x4fade3);});function Rt(_0x40d862,_0x1adaf7,_0x228b9a,_0x2dcb76,_0x17ac5f){const _0x233fcd=_0x500701;return _0x247d46(_0x40d862['tag'],v(v({'key':_0x1adaf7},ki(_0x40d862,_0x228b9a,_0x17ac5f)),_0x2dcb76),(Hi(_0x40d862,_0x228b9a)[_0x233fcd(0x2d9)]||[])[_0x233fcd(0x1a7)](function(_0x238c3d,_0x505241){const _0xffcb9b=_0x233fcd;return Rt(_0x238c3d,''[_0xffcb9b(0x304)](_0x1adaf7,'-')[_0xffcb9b(0x304)](_0x40d862[_0xffcb9b(0x285)],'-')[_0xffcb9b(0x304)](_0x505241),_0x228b9a,void 0x0,_0x17ac5f);}));}function ki(_0x18c604,_0x2ef3a7,_0x450268){const _0x45d19e=_0x500701;var _0x58f59b=v({},_0x18c604[_0x45d19e(0x314)]);_0x450268!=null&&_0x450268[_0x45d19e(0x1a9)]&&_0x58f59b['fill']===_0x45d19e(0x1a9)&&(_0x58f59b[_0x45d19e(0x31a)]=_0x450268[_0x45d19e(0x1a9)]),_0x18c604[_0x45d19e(0x285)]===_0x45d19e(0x18d)&&_0x58f59b['id']&&(_0x58f59b['id']=_0x58f59b['id']+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x233e7e){const _0x379131=_0x45d19e;var _0x400e2e=_0x233e7e[0x0],_0xeaa65d=_0x233e7e[0x1];_0x400e2e===_0x379131(0x18d)&&typeof _0xeaa65d==_0x379131(0x2ae)&&(_0x58f59b[_0x400e2e]=_0xeaa65d[_0x379131(0x24d)](/url\(#(.*)\)/,_0x379131(0x259)[_0x379131(0x304)](_0x2ef3a7[_0x379131(0x31b)],')')));});var _0x453681=_0x2ef3a7['defIds'];return!_0x453681||_0x453681[_0x45d19e(0x234)]===0x0||(_0x18c604[_0x45d19e(0x285)]==='use'&&_0x58f59b[_0x45d19e(0x334)]&&(_0x58f59b[_0x45d19e(0x334)]=_0x58f59b[_0x45d19e(0x334)]+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x20bb2e){const _0xcd2534=_0x45d19e;var _0x5cd2ed=_0x20bb2e[0x0],_0x52ec29=_0x20bb2e[0x1];typeof _0x52ec29=='string'&&(_0x58f59b[_0x5cd2ed]=_0x52ec29['replace'](/url\(#(.*)\)/,'url(#$1'[_0xcd2534(0x304)](_0x2ef3a7['idSuffix'],')')));})),_0x58f59b;}function Hi(_0x379f42,_0x30cb8c){const _0x2f556f=_0x500701;var _0x497081,_0x56b619=_0x30cb8c[_0x2f556f(0x1d4)];return!_0x56b619||_0x56b619[_0x2f556f(0x234)]===0x0?_0x379f42:_0x379f42[_0x2f556f(0x285)]===_0x2f556f(0x260)&&(!((_0x497081=_0x379f42[_0x2f556f(0x2d9)])===null||_0x497081===void 0x0)&&_0x497081[_0x2f556f(0x234)])?v(v({},_0x379f42),{'children':_0x379f42['children'][_0x2f556f(0x1a7)](function(_0x4cea66){const _0x45393a=_0x2f556f;return typeof _0x4cea66[_0x45393a(0x314)]['id']=='string'&&_0x56b619&&_0x56b619[_0x45393a(0x1bd)](_0x4cea66[_0x45393a(0x314)]['id'])?v(v({},_0x4cea66),{'attrs':v(v({},_0x4cea66['attrs']),{'id':_0x4cea66[_0x45393a(0x314)]['id']+_0x30cb8c[_0x45393a(0x31b)]})}):_0x4cea66;})}):_0x379f42;}function ji(){const _0x47b867=_0x500701;return Math[_0x47b867(0x1f2)]()[_0x47b867(0x1f5)](0x24)[_0x47b867(0x31f)](0x2,0x8);}je[_0x500701(0x252)]=_0x500701(0x281);var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x500701(0x333),'viewBox':_0x500701(0x202),'width':_0x500701(0x16e),'height':_0x500701(0x16e)},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x214)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2db),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x500701(0x1d2),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x500701(0x2a6)]},Dt=_0x45d79(function(_0xbd22b0,_0x1ce4b1){const _0x2d96f1=_0x500701;return _0x247d46(je,Object[_0x2d96f1(0x1b1)]({},_0xbd22b0,{'id':_0x2d96f1(0x1ee),'ref':_0x1ce4b1,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x500701(0x20d),'attrs':{'xmlns':_0x500701(0x2c8),'fill':_0x500701(0x333),'viewBox':_0x500701(0x2d1),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x208)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2df),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':_0x500701(0x253)},'children':[{'tag':'path','attrs':{'fill':_0x500701(0x1cc),'d':_0x500701(0x27a),'transform':_0x500701(0x1f6)}}]}]}],'defIds':[_0x500701(0x253)]},Nt=_0x45d79(function(_0x550533,_0x12372b){const _0x1f4355=_0x500701;return _0x247d46(je,Object['assign']({},_0x550533,{'id':_0x1f4355(0x243),'ref':_0x12372b,'icon':Fi}));});Nt[_0x500701(0x252)]='OnLineIcon';function Wi(_0x11c25d){const _0xaf5c67=_0x500701;switch(_0x11c25d){case _0x3b52bb['OFFLINE']:return _0xaf5c67(0x258);case _0x3b52bb['CONFLICT']:return _0xaf5c67(0x15a);case _0x3b52bb['FETCH_MISS']:return _0xaf5c67(0x29c);case _0x3b52bb['NOT_COLLAB']:return _0xaf5c67(0x2f1);case _0x3b52bb[_0xaf5c67(0x1c0)]:case _0x3b52bb[_0xaf5c67(0x2c5)]:return'collabStatus.syncing';case _0x3b52bb[_0xaf5c67(0x2d8)]:case _0x3b52bb[_0xaf5c67(0x261)]:return _0xaf5c67(0x1ba);}}function Vi(_0x1cc187){const _0x1505c3=_0x500701,{status$:_0x560657}=_0x1cc187,_0xf359a7=_0x3496cb(_0x560657,_0x3b52bb[_0x1505c3(0x1ac)]),_0x593ae6=_0x6eba92(_0x52ac5b),_0x1db3ae=_0x6eba92(_0x1d5bd3),_0x5b50a9=_0xf359a7!==_0x3b52bb['OFFLINE'],_0x4963a9=_0x593ae6['t'](Wi(_0xf359a7)),_0x43393b=_0x5b50a9?_0x35442b(Nt,{}):_0x35442b(Dt,{}),_0x5476b3=_0x5228ad(()=>{const _0x1595e9=_0x1505c3;_0x5b50a9||_0x1db3ae[_0x1595e9(0x313)]();},[_0x5b50a9,_0x1db3ae]);function _0x2613fb(){const _0x2ab169=_0x1505c3;return _0xeee65(_0x2ab169(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x5476b3,'children':[_0x35442b('div',{'className':_0x2b6929(_0x2ab169(0x2e3),{'univer-text-green-500':_0x5b50a9,'univer-text-red-500':!_0x5b50a9}),'children':_0x43393b}),_0x35442b(_0x2ab169(0x26a),{'className':_0x2ab169(0x22f),'children':_0x4963a9})]});}return _0x5b50a9?_0x2613fb():_0x35442b(_0xd930f0,{'title':_0x593ae6['t'](_0x1505c3(0x30b)),'children':_0x2613fb()});}var Xi=Object[_0x500701(0x248)],Gi=(_0x5a5028,_0x1161b5,_0x15f57c,_0x523e2a)=>{const _0x5d2378=_0x500701;for(var _0x51b355=_0x523e2a>0x1?void 0x0:_0x523e2a?Xi(_0x1161b5,_0x15f57c):_0x1161b5,_0x2e4f5b=_0x5a5028[_0x5d2378(0x234)]-0x1,_0x5eb979;_0x2e4f5b>=0x0;_0x2e4f5b--)(_0x5eb979=_0x5a5028[_0x2e4f5b])&&(_0x51b355=_0x5eb979(_0x51b355)||_0x51b355);return _0x51b355;},Q=(_0x26e74f,_0x320ed0)=>(_0x3772a6,_0x59b126)=>_0x320ed0(_0x3772a6,_0x59b126,_0x26e74f);let te=class extends _0xbdf073{constructor(_0x18706f,_0x10731c,_0x2e4589,_0x403b0){const _0xacb02f=_0x500701;super(),_(this,_0xacb02f(0x197),new _0x5a7c5d(_0x3b52bb[_0xacb02f(0x1ac)])),(this[_0xacb02f(0x27f)]=_0x18706f,this[_0xacb02f(0x1a4)]=_0x10731c,this[_0xacb02f(0x289)]=_0x2e4589,this['_uiPartsService']=_0x403b0,this['_initStatusComponent'](),this[_0xacb02f(0x298)]());}[_0x500701(0x298)](){const _0x5dd298=_0x500701;this['disposeWithMe'](this[_0x5dd298(0x27f)]['focused$'][_0x5dd298(0x323)](_0x161e64(()=>{const _0x2c4c5e=_0x5dd298,_0x39f504=this['_univerInstanceService']['getFocusedUnit']();return _0x39f504?this['_collaborationController'][_0x2c4c5e(0x22d)](_0x39f504[_0x2c4c5e(0x215)]()):_0x40f510(null);}),_0x161e64(_0x4f7d76=>_0x4f7d76?_0x4f7d76[_0x5dd298(0x324)]:_0x40f510(_0x3b52bb[_0x5dd298(0x1ac)])))[_0x5dd298(0x320)](_0x4383db=>{const _0x11559e=_0x5dd298;this['_status$'][_0x11559e(0x1c9)](_0x4383db);}));}[_0x500701(0x191)](){const _0x3259b9=_0x500701;this['disposeWithMe'](this[_0x3259b9(0x21a)][_0x3259b9(0x1f1)](_0x5a7bb1[_0x3259b9(0x192)],()=>_0x4ad499(Ki({'status$':this[_0x3259b9(0x197)][_0x3259b9(0x1fb)]()}),this[_0x3259b9(0x1a4)])));}};te=Gi([Q(0x0,_0x3a01ed),Q(0x1,_0x36f55a(_0x524dc3)),Q(0x2,_0x36f55a(_0x56ded8)),Q(0x3,_0x2bab1c)],te);function Ki(_0x849efa){const {status$:_0x4d1b70}=_0x849efa;return function(){return _0x35442b(Vi,{'status$':_0x4d1b70});};}var zi=Object[_0x500701(0x248)],Ji=(_0x554ce8,_0x3d4251,_0x3cce0a,_0x214e22)=>{const _0x2f59a6=_0x500701;for(var _0x9d493a=_0x214e22>0x1?void 0x0:_0x214e22?zi(_0x3d4251,_0x3cce0a):_0x3d4251,_0x15374f=_0x554ce8[_0x2f59a6(0x234)]-0x1,_0xd7eb40;_0x15374f>=0x0;_0x15374f--)(_0xd7eb40=_0x554ce8[_0x15374f])&&(_0x9d493a=_0xd7eb40(_0x9d493a)||_0x9d493a);return _0x9d493a;},B=(_0x2ca094,_0x12f257)=>(_0x930e70,_0xf6d1fe)=>_0x12f257(_0x930e70,_0xf6d1fe,_0x2ca094);let se=class extends _0xbdf073{constructor(_0x376c52,_0x51c9be,_0x240196,_0x49fd42,_0x3c42c7,_0x49fbdf){const _0x33f708=_0x500701;super(),this['_beforeCloseService']=_0x376c52,this[_0x33f708(0x21c)]=_0x51c9be,this[_0x33f708(0x2d5)]=_0x240196,this[_0x33f708(0x315)]=_0x49fd42,this[_0x33f708(0x293)]=_0x3c42c7,this[_0x33f708(0x27e)]=_0x49fbdf,this[_0x33f708(0x24f)](),this[_0x33f708(0x29d)]();}['_setupBeforeClosingHandler'](){const _0x3993dc=_0x500701;this[_0x3993dc(0x226)](this[_0x3993dc(0x22a)][_0x3993dc(0x1ad)](()=>{const _0x467486=_0x3993dc;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x467486(0x27e)]['t'](_0x467486(0x275));}));}[_0x500701(0x29d)](){const _0x1eec3c=_0x500701;this[_0x1eec3c(0x226)](this['_collaborationUIEventService']['event$'][_0x1eec3c(0x320)](_0x5a5ad1=>{const _0x5d7d03=_0x1eec3c;_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x17f)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1b9))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x1f3)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Warning'],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x205))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x15b)]&&this[_0x5d7d03(0x293)][_0x5d7d03(0x180)]({'title':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1bf)),'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x33b)),'type':'error','duration':0x0}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x327)]&&this[_0x5d7d03(0x315)]['show']({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this['_localeService']['t'](_0x5d7d03(0x205))+'('+_0x5a5ad1[_0x5d7d03(0x2dd)]+')'}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2cf)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5a5ad1[_0x5d7d03(0x2dd)]||'')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2b0)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this['_localeService']['t'](_0x5d7d03(0x16b))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x296)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this[_0x5d7d03(0x27e)]['t']('session.connection-failed')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x305)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Error'],'content':this['_localeService']['t'](_0x5d7d03(0x32d))});}));}};se=Ji([B(0x0,_0x31834d),B(0x1,_0x42439c),B(0x2,_0x36f55a(_0x3dfa7b)),B(0x3,_0x13a97a),B(0x4,_0x5af6e2),B(0x5,_0x36f55a(_0x52ac5b))],se);const Zi=_0x500701(0x345),et={},Ut=_0x41e36e(_0x500701(0x20e));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x18e788,_0x1d8b84,_0xae3f87,_0x45c162)=>{const _0x1451da=_0x500701;for(var _0x529166=_0x45c162>0x1?void 0x0:_0x45c162?Qi(_0x1d8b84,_0xae3f87):_0x1d8b84,_0x1a88ac=_0x18e788[_0x1451da(0x234)]-0x1,_0x326bed;_0x1a88ac>=0x0;_0x1a88ac--)(_0x326bed=_0x18e788[_0x1a88ac])&&(_0x529166=_0x326bed(_0x529166)||_0x529166);return _0x529166;},G=(_0x1994e7,_0x5eec10)=>(_0x5c7fe5,_0x3bd7b1)=>_0x5eec10(_0x5c7fe5,_0x3bd7b1,_0x1994e7);let ie=class extends _0x51bb57{constructor(_0x33cd28,_0x10756f,_0x22d1e6,_0x3dca71,_0x2215fe){const _0x508243=_0x500701;super(),this[_0x508243(0x18a)]=_0x33cd28,this[_0x508243(0x32b)]=_0x10756f,this[_0x508243(0x2b3)]=_0x22d1e6,this[_0x508243(0x332)]=_0x3dca71,_0x2215fe?_0x2215fe==null||_0x2215fe[_0x508243(0x2ed)]()['then'](()=>this['_init']()):(this[_0x508243(0x32b)][_0x508243(0x2bc)](_0x508243(0x23d),_0x508243(0x1f0)),this[_0x508243(0x21e)]());}async[_0x500701(0x21e)](){const _0x469a99=_0x500701,_0x2c2e26=this[_0x469a99(0x18a)]['getParam'](_0x469a99(0x26f)),_0x2b2695=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x2f5)),_0x2b50a6=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x1c8));if(!_0x2c2e26||!_0x2b2695){this[_0x469a99(0x32b)][_0x469a99(0x2bc)](_0x469a99(0x23d),_0x469a99(0x21b));return;}const _0x58886a=await this[_0x469a99(0x332)][_0x469a99(0x1cd)](_0x2c2e26,Number(_0x2b2695),_0x2b50a6);_0x58886a&&_0x58886a instanceof _0x4ba6e7&&this['_setupSubUnitSync'](_0x58886a);}async[_0x500701(0x29b)](_0x15733a){const _0x24a1ca=_0x500701;await this[_0x24a1ca(0x25e)](_0x15733a),_0x15733a[_0x24a1ca(0x34f)][_0x24a1ca(0x323)](_0x13f70a(this['dispose$']))['subscribe'](_0x36c287=>{const _0x15a73d=_0x24a1ca;_0x36c287&&this[_0x15a73d(0x287)](_0x36c287);}),this[_0x24a1ca(0x18a)][_0x24a1ca(0x28a)]['pipe'](_0x13f70a(this[_0x24a1ca(0x310)]))[_0x24a1ca(0x320)](()=>this['_updateSubUnitFromURLParams'](_0x15733a));}[_0x500701(0x287)](_0x518e0a,_0x1d4a09=!0x1){const _0x14bd56=_0x500701,_0x524631=this[_0x14bd56(0x18a)]['getParam'](_0x14bd56(0x1c8));_0x518e0a[_0x14bd56(0x233)]()!==_0x524631&&this['_urlService'][_0x14bd56(0x349)](_0x14bd56(0x1c8),_0x518e0a['getSheetId'](),_0x1d4a09);}async[_0x500701(0x25e)](_0x8cbf5d){const _0x1d93c1=_0x500701;var _0x57e0c2;const _0x3c61dc=this[_0x1d93c1(0x18a)][_0x1d93c1(0x171)]('subunit');if(!_0x3c61dc||!_0x8cbf5d[_0x1d93c1(0x290)](_0x3c61dc)){const _0x58f12f=_0x8cbf5d['getUnhiddenWorksheets']()[0x0],_0x557f55=_0x8cbf5d[_0x1d93c1(0x290)](_0x58f12f);if(!_0x557f55)return;this[_0x1d93c1(0x287)](_0x557f55,!0x0),await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x58f12f});return;}((_0x57e0c2=_0x8cbf5d[_0x1d93c1(0x222)]())==null?void 0x0:_0x57e0c2[_0x1d93c1(0x233)]())!==_0x3c61dc&&await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x3c61dc});}};ie=qi([G(0x0,Ut),G(0x1,_0x56e22c),G(0x2,_0x44ae43),G(0x3,_0x36f55a(_0x5ebf66)),G(0x4,_0x182852(_0x51b5c6))],ie);var en=Object[_0x500701(0x248)],tn=(_0x54d17b,_0x403701,_0x5452ae,_0x1627f2)=>{const _0x5cec8c=_0x500701;for(var _0xe9ceb8=_0x1627f2>0x1?void 0x0:_0x1627f2?en(_0x403701,_0x5452ae):_0x403701,_0x1af8fa=_0x54d17b[_0x5cec8c(0x234)]-0x1,_0x424e9a;_0x1af8fa>=0x0;_0x1af8fa--)(_0x424e9a=_0x54d17b[_0x1af8fa])&&(_0xe9ceb8=_0x424e9a(_0xe9ceb8)||_0xe9ceb8);return _0xe9ceb8;},pe=(_0xeaa7bb,_0x5c9272)=>(_0x550d87,_0xea457)=>_0x5c9272(_0x550d87,_0xea457,_0xeaa7bb);let ne=class{constructor(_0x48b125,_0x328748,_0x4fc876){const _0x29ae56=_0x500701;this[_0x29ae56(0x1a4)]=_0x48b125,this[_0x29ae56(0x2ce)]=_0x328748,this['_renderManagerService']=_0x4fc876;}['transformIMECache'](_0x2e97d7){const _0x10bfe8=_0x500701;this[_0x10bfe8(0x23b)](_0x2e97d7),this['_transformPreviousActiveRange'](_0x2e97d7);}['transformRemoteChangeset'](_0x4f2dad){const _0x10f3b5=_0x500701,{unitID:_0x149fca}=_0x4f2dad,_0x551e6f=this[_0x10f3b5(0x182)][_0x10f3b5(0x229)](_0x149fca)['with'](_0x1691fb),{redoCache:_0x226aef}=_0x551e6f['getUndoRedoMutationParamsCache']();if(_0x226aef['length']===0x0)return _0x4f2dad;let _0x1141e7=_0xd3854a[_0x10f3b5(0x1c4)](_0x4f2dad['mutations'][0x0]);for(let _0x3029e7=0x0;_0x3029e7<_0x226aef[_0x10f3b5(0x234)];_0x3029e7++){const _0x5f3bbe={'id':_0x10f3b5(0x2c3),'params':{..._0x226aef[_0x3029e7]}},_0x2b8a20=this['_transformService'][_0x10f3b5(0x24b)](_0x1141e7,_0x5f3bbe,!0x1);if(_0x727f01(_0x2b8a20))throw _0x2b8a20[_0x10f3b5(0x1eb)];_0x1141e7=_0x2b8a20['m1Prime'];}return{..._0xd3854a['deepClone'](_0x4f2dad),'mutations':[_0x1141e7]};}[_0x500701(0x23b)](_0x3d1a11){const _0x264b6d=_0x500701,{unitID:_0x153bbb}=_0x3d1a11,_0x40964c=this[_0x264b6d(0x182)][_0x264b6d(0x229)](_0x153bbb)[_0x264b6d(0x1dc)](_0x1691fb),{undoCache:_0x22d6ee,redoCache:_0x4955a8}=_0x40964c['getUndoRedoMutationParamsCache']();if(_0x22d6ee[_0x264b6d(0x234)]===0x0||_0x4955a8['length']===0x0)return;const _0x475497=[],_0x4b7a04=[];let _0x11b0af=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11[_0x264b6d(0x1f8)][0x0]),_0x401410=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11['mutations'][0x0]);for(let _0x12e96f=_0x22d6ee['length']-0x1;_0x12e96f>=0x0;_0x12e96f--){const _0x5e980d={'id':_0x264b6d(0x2c3),'params':{..._0x22d6ee[_0x12e96f]}},_0x4b20bc={'id':_0x264b6d(0x2c3),'params':{..._0x4955a8[_0x12e96f]}},_0x507b47=this['_transformService']['transformMutation'](_0x11b0af,_0x5e980d,!0x1),_0x4dd823=this[_0x264b6d(0x2ce)]['transformMutation'](_0x401410,_0x4b20bc,!0x1);if(_0x727f01(_0x507b47))throw _0x507b47[_0x264b6d(0x1eb)];if(_0x727f01(_0x4dd823))throw _0x4dd823[_0x264b6d(0x1eb)];_0x475497['unshift'](_0x507b47['m2Prime'][_0x264b6d(0x2cd)]),_0x4b7a04['unshift'](_0x4dd823[_0x264b6d(0x28b)]['params']),_0x11b0af=_0x507b47[_0x264b6d(0x2f9)],_0x401410=_0x4dd823[_0x264b6d(0x2f9)];}_0x40964c[_0x264b6d(0x30d)]({'undoCache':_0x475497,'redoCache':_0x4b7a04});}[_0x500701(0x23a)](_0x1663b9){const _0x59e4f7=_0x500701,{unitID:_0x550ce8}=_0x1663b9,_0x539f1d=this['_renderManagerService'][_0x59e4f7(0x229)](_0x550ce8)[_0x59e4f7(0x1dc)](_0x1691fb),_0x30deb1=_0x539f1d[_0x59e4f7(0x15e)]();if(_0x30deb1==null)return;const _0x14c6d3=[{'id':_0x59e4f7(0x2c3),'params':{'unitId':_0x1663b9['unitID'],'actions':null,'textRanges':[_0x30deb1]}}],_0x5160b7=this[_0x59e4f7(0x2ce)]['transformMutationsWithChangeset'](_0x1663b9,_0x14c6d3);if(!_0x4b3101(_0x5160b7))throw _0x5160b7[_0x59e4f7(0x1eb)];const _0x405fda=_0x5160b7[_0x59e4f7(0x28b)][0x0]['params'][_0x59e4f7(0x321)];Array[_0x59e4f7(0x1b3)](_0x405fda)&&_0x405fda[_0x59e4f7(0x234)]&&_0x539f1d['setActiveRange'](_0x405fda[0x0]);}};ne=tn([pe(0x0,_0x36f55a(_0x524dc3)),pe(0x1,_0x5ddb15),pe(0x2,_0x20379b)],ne);var sn=Object[_0x500701(0x248)],nn=(_0x24ebf4,_0x3964e8,_0x52155e,_0x488f73)=>{for(var _0x30e49b=_0x488f73>0x1?void 0x0:_0x488f73?sn(_0x3964e8,_0x52155e):_0x3964e8,_0x10c745=_0x24ebf4['length']-0x1,_0x3ae83c;_0x10c745>=0x0;_0x10c745--)(_0x3ae83c=_0x24ebf4[_0x10c745])&&(_0x30e49b=_0x3ae83c(_0x30e49b)||_0x30e49b);return _0x30e49b;},Ce=(_0x42aaf0,_0x179f09)=>(_0x32cee7,_0x312639)=>_0x179f09(_0x32cee7,_0x312639,_0x42aaf0);let re=class{constructor(_0x203fd7,_0x13556e,_0x522cbe){const _0x5eb27b=_0x500701;this['_injector']=_0x203fd7,this[_0x5eb27b(0x2ce)]=_0x13556e,this[_0x5eb27b(0x1d9)]=_0x522cbe;}[_0x500701(0x264)](_0x4bc6f3){const _0x309db6=_0x500701;this[_0x309db6(0x257)](_0x4bc6f3);}[_0x500701(0x341)](_0x2e4906){const _0x3adf7c=_0x500701,{unitID:_0x2abed8}=_0x2e4906,{collaboration:_0x517fc6}=this[_0x3adf7c(0x1d9)]['getStateCache'](_0x2abed8);if(_0x517fc6['length']===0x0)return _0x2e4906;let _0x397bcc=_0xd3854a['deepClone'](_0x2e4906[_0x3adf7c(0x1f8)][0x0]);for(let _0xc4e128=0x0;_0xc4e128<_0x517fc6[_0x3adf7c(0x234)];_0xc4e128++){const _0x52c9b8={'id':_0x3adf7c(0x2c3),'params':{'unitId':_0x517fc6[_0xc4e128]['unitId'],..._0x517fc6[_0xc4e128][_0x3adf7c(0x1fd)]}},_0x213094=this['_transformService']['transformMutation'](_0x397bcc,_0x52c9b8,!0x1);if(_0x727f01(_0x213094))throw _0x213094[_0x3adf7c(0x1eb)];_0x397bcc=_0x213094[_0x3adf7c(0x2f9)];}return{..._0xd3854a[_0x3adf7c(0x1c4)](_0x2e4906),'mutations':[_0x397bcc]};}[_0x500701(0x257)](_0x3c99b9){const _0x1db81b=_0x500701,{unitID:_0x48cd9e}=_0x3c99b9,{history:_0x31400a,collaboration:_0x2e4bbb}=this[_0x1db81b(0x1d9)]['getStateCache'](_0x48cd9e);if(_0x31400a[_0x1db81b(0x234)]===0x0&&_0x2e4bbb[_0x1db81b(0x234)]===0x0)return;const _0x4c6b8e=[],_0x3d92fb=[];let _0x3c1865=_0xd3854a['deepClone'](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x53878c=_0x31400a[_0x1db81b(0x234)]-0x1;_0x53878c>=0x0;_0x53878c--){const _0x23f040={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x254)]}},_0x5cb66c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x1fd)]}},_0x4e7cae=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x23f040,!0x1),_0x4bcc8e=this[_0x1db81b(0x2ce)]['transformMutation'](_0x44a3dc,_0x5cb66c,!0x1);if(_0x727f01(_0x4e7cae))throw _0x4e7cae[_0x1db81b(0x1eb)];if(_0x727f01(_0x4bcc8e))throw _0x4bcc8e['error'];_0x4c6b8e[_0x1db81b(0x356)]({..._0x31400a[_0x53878c],'undoState':_0x4e7cae[_0x1db81b(0x28b)][_0x1db81b(0x2cd)],'redoState':_0x4bcc8e[_0x1db81b(0x28b)][_0x1db81b(0x2cd)]}),_0x3c1865=_0x4e7cae[_0x1db81b(0x2f9)],_0x44a3dc=_0x4bcc8e[_0x1db81b(0x2f9)];}_0x3c1865=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x1bd831=_0x2e4bbb['length']-0x1;_0x1bd831>=0x0;_0x1bd831--){const _0x332090={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831][_0x1db81b(0x319)],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x254)]}},_0x174222={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831]['unitId'],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x1fd)]}},_0x25a516=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x332090,!0x1),_0x1c939a=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x44a3dc,_0x174222,!0x1);if(_0x727f01(_0x25a516))throw _0x25a516['error'];if(_0x727f01(_0x1c939a))throw _0x1c939a['error'];_0x3d92fb['unshift']({..._0x2e4bbb[_0x1bd831],'undoState':_0x25a516['m2Prime'][_0x1db81b(0x2cd)],'redoState':_0x1c939a['m2Prime']['params']}),_0x3c1865=_0x25a516[_0x1db81b(0x2f9)],_0x44a3dc=_0x1c939a[_0x1db81b(0x2f9)];}this['_docStateChangeManagerService'][_0x1db81b(0x2f3)](_0x48cd9e,{'history':_0x4c6b8e,'collaboration':_0x3d92fb});}};re=nn([Ce(0x0,_0x36f55a(_0x524dc3)),Ce(0x1,_0x5ddb15),Ce(0x2,_0x36f55a(_0x321880))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x4de73f,_0x32bca2,_0x409e08,_0x130343)=>{const _0x363842=_0x500701;for(var _0xf600ce=_0x130343>0x1?void 0x0:_0x130343?rn(_0x32bca2,_0x409e08):_0x32bca2,_0xfbb88e=_0x4de73f[_0x363842(0x234)]-0x1,_0x35ac9a;_0xfbb88e>=0x0;_0xfbb88e--)(_0x35ac9a=_0x4de73f[_0xfbb88e])&&(_0xf600ce=_0x35ac9a(_0xf600ce)||_0xf600ce);return _0xf600ce;},tt=(_0x29c20f,_0xedaf96)=>(_0x4e86ee,_0x540133)=>_0xedaf96(_0x4e86ee,_0x540133,_0x29c20f);let oe=class{constructor(_0x41259d,_0x198706){const _0x43e007=_0x500701;this[_0x43e007(0x1a4)]=_0x41259d,this[_0x43e007(0x2ce)]=_0x198706;}['transformSelections'](_0x11a5cc){const _0xa51f69=_0x500701;var _0x1955fc;const _0x23213b=this[_0xa51f69(0x1a4)][_0xa51f69(0x1a2)](_0x232d6a),_0x2fecc6=(_0x1955fc=_0x23213b['getDocRanges']())!=null?_0x1955fc:[];if(_0x2fecc6['length']===0x0)return;const _0x589d62=_0x11a5cc[_0xa51f69(0x301)],_0x2769ff=[{'id':_0xa51f69(0x2c3),'params':{'unitId':_0x589d62,'actions':null,'textRanges':_0x2fecc6}}],_0x388bcc=this[_0xa51f69(0x2ce)]['transformMutationsWithChangeset'](_0x11a5cc,_0x2769ff);if(!_0x4b3101(_0x388bcc))throw _0x388bcc[_0xa51f69(0x1eb)];const _0xcb0cff=_0x388bcc['m2Prime'][0x0]['params'][_0xa51f69(0x321)];Array[_0xa51f69(0x1b3)](_0xcb0cff)&&_0xcb0cff[_0xa51f69(0x234)]&&_0x23213b[_0xa51f69(0x2b8)](_0xcb0cff,{'unitId':_0x589d62,'subUnitId':_0x589d62},!0x1);}};oe=on([tt(0x0,_0x36f55a(_0x524dc3)),tt(0x1,_0x5ddb15)],oe);var an=Object[_0x500701(0x248)],cn=(_0x510ab2,_0xd185d9,_0x386a9d,_0x4f5711)=>{const _0x2c7159=_0x500701;for(var _0x5f3a84=_0x4f5711>0x1?void 0x0:_0x4f5711?an(_0xd185d9,_0x386a9d):_0xd185d9,_0x47bb06=_0x510ab2[_0x2c7159(0x234)]-0x1,_0x274f20;_0x47bb06>=0x0;_0x47bb06--)(_0x274f20=_0x510ab2[_0x47bb06])&&(_0x5f3a84=_0x274f20(_0x5f3a84)||_0x5f3a84);return _0x5f3a84;},U=(_0x5afd36,_0xc73668)=>(_0x174bfe,_0x71fea9)=>_0xc73668(_0x174bfe,_0x71fea9,_0x5afd36);let ae=class extends _0xbdf073{constructor(_0x21b4ff,_0x560021,_0x16ecf9,_0x4660b4,_0xecf23c,_0x2a3c33,_0x51074e,_0x5c8eba){const _0xe27c42=_0x500701;super(),_(this,'_status$',new _0x5a7c5d(_0x3b52bb[_0xe27c42(0x1ac)])),(this['_docStateChangeManagerService']=_0x21b4ff,this[_0xe27c42(0x289)]=_0x560021,this[_0xe27c42(0x2f6)]=_0x16ecf9,this['_docTransformStateCacheService']=_0x4660b4,this[_0xe27c42(0x256)]=_0xecf23c,this[_0xe27c42(0x29f)]=_0x2a3c33,this[_0xe27c42(0x315)]=_0x51074e,this['_localeService']=_0x5c8eba,this[_0xe27c42(0x23c)]());}['_initEntityListener'](){const _0x43fcda=_0x500701;this[_0x43fcda(0x226)](this[_0x43fcda(0x289)]['entityInit$'][_0x43fcda(0x320)](_0x121603=>{const _0x2db397=_0x43fcda,_0x191a47=this[_0x2db397(0x1d9)][_0x2db397(0x33c)][_0x2db397(0x320)](_0x47acfc=>{const _0x47b925=_0x2db397;if(_0x47acfc==null)return;const {unitId:_0x427a59,redoState:_0x67e7e1,commandId:_0x49c0ea}=_0x47acfc;if(_0x427a59!==_0x121603[_0x47b925(0x301)])return;const _0x559c17={'id':_0x49c0ea,'type':_0x27f8ae[_0x47b925(0x19c)],'params':{'unitId':_0x427a59,'actions':_0x67e7e1['actions'],'textRanges':null}};_0x121603[_0x47b925(0x2ef)](_0x559c17);});if(_0x121603[_0x2db397(0x226)](_0x191a47),_0x121603 instanceof _0x3113b3){const _0x132342={'onTransformIME':_0xbf911f=>this[_0x2db397(0x2f6)][_0x2db397(0x1da)](_0xbf911f),'onTransformState':_0x1779bf=>this[_0x2db397(0x2bb)]['transformStateCache'](_0x1779bf),'onTransformSelections':_0x25db59=>this[_0x2db397(0x256)][_0x2db397(0x19a)](_0x25db59),'onSyncEditingCollabCursor':_0x41be65=>this[_0x2db397(0x29f)][_0x2db397(0x1af)](_0x41be65),'onTransformRemoteChangesetByIMECache':_0x39a59a=>this['_docTransformIMECacheService'][_0x2db397(0x341)](_0x39a59a),'onTransformRemoteChangesetByStateCache':_0x1463bf=>this['_docTransformStateCacheService'][_0x2db397(0x341)](_0x1463bf)};_0x121603['addHandlerCallback'](_0x132342);}}));}};ae=cn([U(0x0,_0x36f55a(_0x321880)),U(0x1,_0x36f55a(_0x56ded8)),U(0x2,_0x36f55a(ne)),U(0x3,_0x36f55a(re)),U(0x4,_0x36f55a(oe)),U(0x5,_0x36f55a(He)),U(0x6,_0x13a97a),U(0x7,_0x36f55a(_0x52ac5b))],ae);var ln=Object[_0x500701(0x248)],_n=(_0x2b7306,_0x597dc9,_0x435772,_0x407c22)=>{const _0x3c67a6=_0x500701;for(var _0x1d65b2=_0x407c22>0x1?void 0x0:_0x407c22?ln(_0x597dc9,_0x435772):_0x597dc9,_0x60eb1f=_0x2b7306[_0x3c67a6(0x234)]-0x1,_0x44478d;_0x60eb1f>=0x0;_0x60eb1f--)(_0x44478d=_0x2b7306[_0x60eb1f])&&(_0x1d65b2=_0x44478d(_0x1d65b2)||_0x1d65b2);return _0x1d65b2;},Ee=(_0x542a8a,_0x425a4c)=>(_0x3ecc76,_0x502d14)=>_0x425a4c(_0x3ecc76,_0x502d14,_0x542a8a);let Le=class extends _0xbdf073{constructor(_0x217889,_0x283edf,_0x84d8e2){const _0x3a2fb7=_0x500701;super(),_(this,_0x3a2fb7(0x223),new Map()),_(this,_0x3a2fb7(0x237),new Map()),_(this,_0x3a2fb7(0x283),!0x1),(this[_0x3a2fb7(0x335)]=_0x217889,this[_0x3a2fb7(0x1d6)]=_0x283edf,this[_0x3a2fb7(0x291)]=_0x84d8e2);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x500701(0x34b)](){const _0x81b335=_0x500701;this[_0x81b335(0x283)]=!0x1;}get['saveTaskMap'](){const _0x3f6ba9=_0x500701;return this[_0x3f6ba9(0x237)];}[_0x500701(0x1e7)](){const _0x858df2=_0x500701;this[_0x858df2(0x15f)]()[_0x858df2(0x1ea)](()=>super['dispose']());}async['loadOfflineData'](_0x5efe15){const _0x3d5720=_0x500701;return this['_disabled']?null:this['_localStorageService'][_0x3d5720(0x28d)](_0x53bc47(_0x5efe15));}async[_0x500701(0x312)](_0x145781,_0x13f551){const _0x35dc71=_0x500701;return!!this[_0x35dc71(0x1d6)][_0x35dc71(0x221)](_0x145781,_0x13f551);}['updateOfflineData'](_0x1fe2a4,_0x4a648d,_0x2e92b2,_0x3e2490){const _0xd5213=_0x500701,_0x51f76a=this['_revisionService'][_0xd5213(0x29a)](_0x1fe2a4);this[_0xd5213(0x223)][_0xd5213(0x2af)](_0x1fe2a4,{'unitID':_0x1fe2a4,'type':_0x4a648d,'awaitingChangeset':_0x2e92b2,'mutations':_0x3e2490,'rev':_0x51f76a}),this['_saveTaskMap']['has'](_0x1fe2a4)||this[_0xd5213(0x173)](_0x1fe2a4);}['_scheduleSaving'](_0xa8a4d9){const _0x32f5c4=_0x500701,_0x18a43b=this[_0x32f5c4(0x2ad)]();_0x18a43b===0x0?this[_0x32f5c4(0x318)](_0xa8a4d9):this[_0x32f5c4(0x237)][_0x32f5c4(0x2af)](_0xa8a4d9,setTimeout(()=>this[_0x32f5c4(0x318)](_0xa8a4d9),_0x18a43b));}[_0x500701(0x2ad)](){const _0x42a200=_0x500701;var _0x537f3d;return(_0x537f3d=this[_0x42a200(0x335)][_0x42a200(0x2e8)](_0x55cca2))!=null?_0x537f3d:_0x1dc753;}['_saveCache'](_0x278b78){const _0x499338=_0x500701,_0x5d7434=this[_0x499338(0x237)][_0x499338(0x1a2)](_0x278b78);return _0x5d7434!==void 0x0&&window[_0x499338(0x26c)](_0x5d7434),this[_0x499338(0x1d6)][_0x499338(0x221)](_0x53bc47(_0x278b78),this[_0x499338(0x223)]['get'](_0x278b78))[_0x499338(0x1ea)](()=>this['_saveTaskMap'][_0x499338(0x204)](_0x278b78));}async['exhaustSavingTask'](){const _0xe1ba45=_0x500701,_0x332e81=[];this[_0xe1ba45(0x237)]['forEach']((_0xeb65f6,_0x191cfa)=>{const _0x3d8c5c=_0xe1ba45;window['clearTimeout'](_0xeb65f6),_0x332e81[_0x3d8c5c(0x2a2)](this[_0x3d8c5c(0x318)](_0x191cfa)['then'](()=>{const _0xeb0755=_0x3d8c5c;this[_0xeb0755(0x237)][_0xeb0755(0x204)](_0x191cfa);}));}),await Promise[_0xe1ba45(0x331)](_0x332e81);}};Le=_n([Ee(0x0,_0x1312da),Ee(0x1,_0x39f1e9),Ee(0x2,_0x36f55a(_0x44f78e))],Le);class hn extends _0x51bb57{constructor(){const _0x47f801=_0x500701;super(),_(this,'urlChange$'),this[_0x47f801(0x28a)]=_0x1c6ada(window,_0x47f801(0x1a0))['pipe'](_0x13f70a(this[_0x47f801(0x310)]),_0x392a8a(0x1),_0x382ac5(void 0x0));}[_0x500701(0x349)](_0x5db8db,_0x55fa83,_0x5719df=!0x1){const _0x323855=_0x500701,_0x4a74d3=new URL(window[_0x323855(0x344)][_0x323855(0x246)]);_0x4a74d3[_0x323855(0x2c6)]['set'](_0x5db8db,_0x55fa83),_0x5719df?window[_0x323855(0x263)][_0x323855(0x2eb)]('','',_0x4a74d3[_0x323855(0x1f5)]()):window[_0x323855(0x263)][_0x323855(0x28e)]('','',_0x4a74d3['toString']());}[_0x500701(0x288)](_0x5640ba,_0x1a8d9c=!0x1){const _0x120e85=_0x500701,_0x20410e=new URL(window[_0x120e85(0x344)][_0x120e85(0x246)]);_0x20410e[_0x120e85(0x2c6)][_0x120e85(0x204)](_0x5640ba),_0x1a8d9c?window[_0x120e85(0x263)]['replaceState']('','',_0x20410e[_0x120e85(0x1f5)]()):window[_0x120e85(0x263)][_0x120e85(0x28e)]('','',_0x20410e['toString']());}[_0x500701(0x171)](_0x2f050d){const _0x47c906=_0x500701;var _0x2b88bb;return(_0x2b88bb=new URL(window['location'][_0x47c906(0x246)])[_0x47c906(0x2c6)][_0x47c906(0x1a2)](_0x2f050d))!=null?_0x2b88bb:void 0x0;}}var un=Object[_0x500701(0x1b4)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4e6b03,_0x6acc61,_0x1b80d0)=>_0x6acc61 in _0x4e6b03?un(_0x4e6b03,_0x6acc61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b80d0}):_0x4e6b03[_0x6acc61]=_0x1b80d0,Sn=(_0x159e74,_0x44bab2,_0x4ef924,_0x218ef4)=>{for(var _0x50806e=_0x218ef4>0x1?void 0x0:_0x218ef4?dn(_0x44bab2,_0x4ef924):_0x44bab2,_0x137b53=_0x159e74['length']-0x1,_0xc4e9ab;_0x137b53>=0x0;_0x137b53--)(_0xc4e9ab=_0x159e74[_0x137b53])&&(_0x50806e=_0xc4e9ab(_0x50806e)||_0x50806e);return _0x50806e;},Oe=(_0x50d16c,_0x49d9ce)=>(_0x9aa832,_0x447235)=>_0x49d9ce(_0x9aa832,_0x447235,_0x50d16c),mn=(_0x3f3fbe,_0x30cbe4,_0x4d4a7b)=>fn(_0x3f3fbe,_0x30cbe4+'',_0x4d4a7b);const In=_0x500701(0x2fe);let Ae=class extends _0x5ee79e{constructor(_0xbd713=et,_0x4a12da,_0x4259bf,_0x282716){const _0x5c5d21=_0x500701;super(),this[_0x5c5d21(0x207)]=_0xbd713,this[_0x5c5d21(0x182)]=_0x4a12da,this[_0x5c5d21(0x1a4)]=_0x4259bf,this['_configService']=_0x282716;const {..._0x26aed7}=_0x1e4789({},et,this[_0x5c5d21(0x207)]);this[_0x5c5d21(0x335)][_0x5c5d21(0x165)](Zi,_0x26aed7);}[_0x500701(0x339)](){const _0x5e9a54=_0x500701;this['_registerDependencies'](),this[_0x5e9a54(0x17b)]();}[_0x500701(0x1b5)](){const _0x16badf=_0x500701;this[_0x16badf(0x18e)]();}[_0x500701(0x1d5)](){const _0x125b5a=_0x500701;var _0xf579f0;const _0x4436bd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4df4f1,{'useClass':_0x20d8c7}],[_0x42439c,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x32ed27(this[_0x125b5a(0x1a4)],_0x4d34f1(_0x4436bd,(_0xf579f0=this[_0x125b5a(0x207)])==null?void 0x0:_0xf579f0[_0x125b5a(0x33d)]));}[_0x500701(0x18e)](){const _0x4d8356=_0x500701;this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x1bb)],[we])),this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x286)],[Pe]));}[_0x500701(0x17b)](){const _0x1ce4bd=_0x500701;_0x58b8a4(this[_0x1ce4bd(0x1a4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x500701(0x2c7),In),Ae=Sn([_0x3f81bc(_0x492057),Oe(0x1,_0x20379b),Oe(0x2,_0x36f55a(_0x524dc3)),Oe(0x3,_0x1312da)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4db858,_0xcbd888,_0x1e4887,_0x5e5baa)=>{const _0x3dffba=_0x500701;for(var _0x487d3f=_0x5e5baa>0x1?void 0x0:_0x5e5baa?gn(_0xcbd888,_0x1e4887):_0xcbd888,_0xcf9e4e=_0x4db858[_0x3dffba(0x234)]-0x1,_0x557bf4;_0xcf9e4e>=0x0;_0xcf9e4e--)(_0x557bf4=_0x4db858[_0xcf9e4e])&&(_0x487d3f=_0x557bf4(_0x487d3f)||_0x487d3f);return _0x487d3f;},K=(_0x4d4f78,_0x2f944d)=>(_0x1d9844,_0x4c4812)=>_0x2f944d(_0x1d9844,_0x4c4812,_0x4d4f78);let st=class extends _0x1f4966{constructor(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020){super(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020);}async['createSocket'](_0x1c8944){const _0x50d778=_0x500701,_0x27d7f2=await this['_getSessionTicket'](),_0x5f3115=this[_0x50d778(0x250)](_0x1c8944,_0x27d7f2);return this['_doCreateSocket'](_0x5f3115);}[_0x500701(0x250)](_0x1a8262,_0x1194c0){const _0x2fa33d=_0x500701,_0x1165f7=typeof window>'u'?new URL(_0x1a8262):new URL(_0x1a8262,window[_0x2fa33d(0x344)][_0x2fa33d(0x1df)]);_0x1165f7['searchParams']['set'](_0x2fa33d(0x2f7),_0x1194c0);const _0x579313=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fa33d(0x19d)]);return _0x579313[_0x2fa33d(0x1a2)]('runId')&&_0x1165f7[_0x2fa33d(0x2c6)][_0x2fa33d(0x2af)](_0x2fa33d(0x350),_0x579313[_0x2fa33d(0x1a2)](_0x2fa33d(0x350))),_0x1165f7['toString']();}async[_0x500701(0x227)](){const _0x36dddb=_0x500701;var _0x403957,_0x3e4488,_0xca37a3;const _0x3ad527=this[_0x36dddb(0x335)][_0x36dddb(0x2e8)](_0x16c931),_0x293419=(_0x403957=_0x3ad527==null?void 0x0:_0x3ad527['wsSessionTicketUrl'])!=null?_0x403957:_0x5466b7;return(_0xca37a3=(_0x3e4488=(await this['_httpService'][_0x36dddb(0x1a2)](_0x293419,{'headers':{'Content-Type':_0x36dddb(0x1b6)}}))[_0x36dddb(0x216)])==null?void 0x0:_0x3e4488['ticket'])!=null?_0xca37a3:'';}};st=vn([K(0x0,_0x36f55a(_0x524dc3)),K(0x1,_0x36f55a(_0x4714d0)),K(0x2,_0x1312da),K(0x3,_0x56e22c),K(0x4,_0x3b9b92)],st);const it=0x7530,nt=_0x500701(0x1bc);class jn extends _0xbdf073{constructor(){const _0x50f6a6=_0x500701;super(),_(this,'_id',_0x4764a1()),_(this,_0x50f6a6(0x31d),new Set()),_(this,_0x50f6a6(0x23f),new Map()),_(this,_0x50f6a6(0x1ed),null),_(this,_0x50f6a6(0x2f0),new Map()),_(this,_0x50f6a6(0x343),new Map()),this[_0x50f6a6(0x21e)]();}[_0x500701(0x1e7)](){const _0x2aae96=_0x500701;super[_0x2aae96(0x1e7)](),this[_0x2aae96(0x2f0)]['forEach']((_0x188a7f,_0xbfb5f3)=>this[_0x2aae96(0x170)](_0xbfb5f3)),this[_0x2aae96(0x1ed)]&&window['clearInterval'](this[_0x2aae96(0x1ed)]);}[_0x500701(0x177)](_0x4311ec){const _0x4fad2d=_0x500701;return this[_0x4fad2d(0x358)](_0x4311ec)['pipe'](_0x1fead7());}[_0x500701(0x1ef)](_0x1e817b){const _0x492237=_0x500701;this[_0x492237(0x31d)][_0x492237(0x24e)]===0x0&&this[_0x492237(0x1f4)](),this['_selfUnitIDs'][_0x492237(0x1c3)](_0x1e817b),this[_0x492237(0x1ce)]({'type':0x0,'memberID':this[_0x492237(0x1a1)],'unitIDs':[_0x1e817b],'isForwarded':!0x1});}[_0x500701(0x1ec)](_0x3d6dcd){const _0x5463ce=_0x500701;this[_0x5463ce(0x31d)]['delete'](_0x3d6dcd),this['_selfUnitIDs']['size']===0x0&&this[_0x5463ce(0x1ed)]&&window[_0x5463ce(0x241)](this[_0x5463ce(0x1ed)]);}[_0x500701(0x21e)](){const _0x17af0e=_0x500701;this[_0x17af0e(0x226)](_0x31417b(_0x1c6ada(window,'storage')[_0x17af0e(0x320)](_0xf7dc89=>{const _0x101944=_0x17af0e;if(_0xf7dc89[_0x101944(0x34a)]!==nt||!_0xf7dc89[_0x101944(0x2a0)])return;const _0x5a5e00=JSON['parse'](_0xf7dc89[_0x101944(0x2a0)]);this[_0x101944(0x21f)](_0x5a5e00);}))),window['addEventListener'](_0x17af0e(0x311),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x17af0e(0x31d)])}));}['_handleEvent'](_0x5baf32){const _0x36c53d=_0x500701;switch(_0x5baf32[_0x36c53d(0x2f5)]){case 0x0:this[_0x36c53d(0x2a5)](_0x5baf32);break;case 0x1:this[_0x36c53d(0x2d6)](_0x5baf32);break;case 0x2:this[_0x36c53d(0x188)](_0x5baf32);break;}}[_0x500701(0x2a5)](_0x20a0a8){const _0x3712b7=_0x500701,{unitIDs:_0x43971c,memberID:_0x2a5d83,isForwarded:_0x2567e5}=_0x20a0a8;_0x43971c[_0x3712b7(0x295)](_0x2c519b=>{const _0xc5b024=_0x3712b7;if(!_0x2567e5&&this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)&&this[_0xc5b024(0x358)](_0x2c519b)[_0xc5b024(0x1c9)](_0x499e2f[_0xc5b024(0x160)]),!this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)||!this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)['has'](_0x2a5d83)){const _0x5031a3=this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)||new Set();_0x5031a3[_0xc5b024(0x1c3)](_0x2a5d83),this[_0xc5b024(0x23f)]['set'](_0x2c519b,_0x5031a3),this['_scheduleClearOtherTimer'](_0x2a5d83);}}),_0x2567e5||this[_0x3712b7(0x1ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3712b7(0x31d)]],'isForwarded':!0x0});}[_0x500701(0x25f)](_0x2bf1bf){const _0x38f847=_0x500701;this[_0x38f847(0x170)](_0x2bf1bf);const _0x10cb34=window['setTimeout'](()=>{const _0x36d767=_0x38f847;this[_0x36d767(0x23f)][_0x36d767(0x295)](_0x16acab=>{const _0x591421=_0x36d767;_0x16acab[_0x591421(0x204)](_0x2bf1bf);});},it*0x2);this[_0x38f847(0x2f0)][_0x38f847(0x2af)](_0x2bf1bf,_0x10cb34);}[_0x500701(0x170)](_0x2509f9){const _0x1ab5a3=_0x500701;if(this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x1cb)](_0x2509f9)){const _0x7918b3=this['_clearOtherTimers'][_0x1ab5a3(0x1a2)](_0x2509f9);_0x7918b3&&window[_0x1ab5a3(0x26c)](_0x7918b3),this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x2af)](_0x2509f9,null);}}[_0x500701(0x2d6)](_0xcb0adf){const _0x58a38e=_0x500701,{memberID:_0x5d3a5c,unitIDs:_0x111741}=_0xcb0adf;_0x111741[_0x58a38e(0x295)](_0x2d7224=>{const _0x282d77=_0x58a38e;var _0x792581;const _0x3a2229=this['_unitOnClients'][_0x282d77(0x1a2)](_0x2d7224);_0x3a2229&&(_0x3a2229[_0x282d77(0x204)](_0x5d3a5c),(_0x792581=this[_0x282d77(0x358)](_0x2d7224))==null||_0x792581[_0x282d77(0x1c9)](_0x3a2229[_0x282d77(0x24e)]===0x0?_0x499e2f[_0x282d77(0x2f4)]:_0x499e2f[_0x282d77(0x160)]));}),this['_removeClearOtherTimer'](_0x5d3a5c);}['_handleHeartbeatEvent'](_0x2be615){const _0x1327f7=_0x500701;this[_0x1327f7(0x25f)](_0x2be615['memberID']);}[_0x500701(0x1ce)](_0xb26ef7){const _0x255bd8=_0x500701;localStorage[_0x255bd8(0x221)](nt,JSON[_0x255bd8(0x203)](_0xb26ef7));}['_scheduleHeartbeat'](){const _0x1ba516=_0x500701;this[_0x1ba516(0x1ed)]=window['setInterval'](()=>{const _0x2d8e9e=_0x1ba516;this[_0x2d8e9e(0x1ce)]({'type':0x2,'memberID':this[_0x2d8e9e(0x1a1)]});},it);}[_0x500701(0x358)](_0x41f31f){const _0x44adb0=_0x500701;return this[_0x44adb0(0x343)][_0x44adb0(0x1cb)](_0x41f31f)||this[_0x44adb0(0x343)][_0x44adb0(0x2af)](_0x41f31f,new _0x5a7c5d(_0x499e2f[_0x44adb0(0x2f4)])),this[_0x44adb0(0x343)][_0x44adb0(0x1a2)](_0x41f31f);}}var Mt=(_0xdeeae4=>(_0xdeeae4[_0xdeeae4['UNDEFINED']=0x0]=_0x500701(0x2f8),_0xdeeae4[_0xdeeae4['OK']=0x1]='OK',_0xdeeae4[_0xdeeae4[_0x500701(0x244)]=0x2]=_0x500701(0x244),_0xdeeae4[_0xdeeae4[_0x500701(0x15b)]=0x3]=_0x500701(0x15b),_0xdeeae4[_0xdeeae4['NOT_FOUND']=0x4]=_0x500701(0x2d2),_0xdeeae4[_0xdeeae4[_0x500701(0x1a3)]=0x5]=_0x500701(0x1a3),_0xdeeae4[_0xdeeae4[_0x500701(0x1ca)]=0x6]=_0x500701(0x1ca),_0xdeeae4[_0xdeeae4[_0x500701(0x15c)]=0x7]='INVALID_ARGUMENT',_0xdeeae4[_0xdeeae4['TOO_MANY_REQUESTS']=0x8]=_0x500701(0x284),_0xdeeae4[_0xdeeae4[_0x500701(0x30a)]=0x9]=_0x500701(0x30a),_0xdeeae4[_0xdeeae4[_0x500701(0x34c)]=0xa]=_0x500701(0x34c),_0xdeeae4[_0xdeeae4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x500701(0x2e2),_0xdeeae4[_0xdeeae4[_0x500701(0x199)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xdeeae4[_0xdeeae4[_0x500701(0x2bf)]=0x1772]=_0x500701(0x2bf),_0xdeeae4[_0xdeeae4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x500701(0x210),_0xdeeae4[_0xdeeae4['APPLY_REJECT']=0x1b59]=_0x500701(0x1de),_0xdeeae4[_0xdeeae4[_0x500701(0x21d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xdeeae4[_0xdeeae4[_0x500701(0x2c4)]=0x1b5b]=_0x500701(0x2c4),_0xdeeae4[_0xdeeae4[_0x500701(0x184)]=0x1b5c]=_0x500701(0x184),_0xdeeae4[_0xdeeae4[_0x500701(0x1b8)]=0x1b5d]=_0x500701(0x1b8),_0xdeeae4[_0xdeeae4[_0x500701(0x268)]=0x1f41]=_0x500701(0x268),_0xdeeae4[_0xdeeae4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x500701(0x206),_0xdeeae4[_0xdeeae4[_0x500701(0x238)]=0x232a]=_0x500701(0x238),_0xdeeae4[_0xdeeae4[_0x500701(0x211)]=0x232b]=_0x500701(0x211),_0xdeeae4[_0xdeeae4[_0x500701(0x27d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xdeeae4[_0xdeeae4[_0x500701(0x1fe)]=0x232d]=_0x500701(0x1fe),_0xdeeae4[_0xdeeae4[_0x500701(0x354)]=0x2711]=_0x500701(0x354),_0xdeeae4[_0xdeeae4[_0x500701(0x2dc)]=0x2712]=_0x500701(0x2dc),_0xdeeae4[_0xdeeae4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x500701(0x34d),_0xdeeae4[_0xdeeae4[_0x500701(0x317)]=0x2714]=_0x500701(0x317),_0xdeeae4[_0xdeeae4[_0x500701(0x266)]=0x271a]=_0x500701(0x266),_0xdeeae4[_0xdeeae4[_0x500701(0x342)]=0x271b]=_0x500701(0x342),_0xdeeae4[_0xdeeae4['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x500701(0x19f),_0xdeeae4[_0xdeeae4[_0x500701(0x29e)]=0x271d]=_0x500701(0x29e),_0xdeeae4[_0xdeeae4[_0x500701(0x32a)]=0x271e]=_0x500701(0x32a),_0xdeeae4[_0xdeeae4[_0x500701(0x322)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xdeeae4[_0xdeeae4[_0x500701(0x30c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xdeeae4[_0xdeeae4[_0x500701(0x325)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xdeeae4[_0xdeeae4[_0x500701(0x2f2)]=0x2ee2]=_0x500701(0x2f2),_0xdeeae4[_0xdeeae4[_0x500701(0x219)]=0x2ee3]=_0x500701(0x219),_0xdeeae4[_0xdeeae4[_0x500701(0x163)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xdeeae4[_0xdeeae4[_0x500701(0x25d)]=0x2ee5]=_0x500701(0x25d),_0xdeeae4[_0xdeeae4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x500701(0x2be),_0xdeeae4[_0xdeeae4['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x500701(0x353),_0xdeeae4[_0xdeeae4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xdeeae4[_0xdeeae4[_0x500701(0x2c0)]=-0x1]=_0x500701(0x2c0),_0xdeeae4))(Mt||{}),pn=Object[_0x500701(0x248)],Cn=(_0x3aa9f3,_0x3796ff,_0x522b49,_0x5dadaa)=>{const _0x49785e=_0x500701;for(var _0x55c133=_0x5dadaa>0x1?void 0x0:_0x5dadaa?pn(_0x3796ff,_0x522b49):_0x3796ff,_0x6750c2=_0x3aa9f3[_0x49785e(0x234)]-0x1,_0x507ac6;_0x6750c2>=0x0;_0x6750c2--)(_0x507ac6=_0x3aa9f3[_0x6750c2])&&(_0x55c133=_0x507ac6(_0x55c133)||_0x55c133);return _0x55c133;},be=(_0x362c01,_0x3c5418)=>(_0x3c391b,_0x398678)=>_0x3c5418(_0x3c391b,_0x398678,_0x362c01);let rt=class extends _0xbdf073{constructor(_0x4c752c,_0x157d41,_0x57f337){super(),this['_instanceService']=_0x4c752c,this['_httpService']=_0x157d41,this['_configService']=_0x57f337;}async['runOnServer'](_0x34a67c,_0x483dac,_0x1205b0,..._0x1e2cef){const _0x11f35d=_0x500701;var _0x356fe2,_0x4e83d7,_0x57217c,_0x9beae0;const _0x288f37=this[_0x11f35d(0x1b2)]['getFocusedUnit']();if(!_0x288f37)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x331a55=((_0x356fe2=this[_0x11f35d(0x335)]['getConfig'](_0x4e004d))!=null?_0x356fe2:_0x294c26)+'/'+_0x34a67c+_0x11f35d(0x2e4)+_0x483dac,_0x274e38=new URL(window[_0x11f35d(0x344)]['href']),_0xb4703c={'scriptId':_0x34a67c,'runId':(_0x4e83d7=_0x274e38[_0x11f35d(0x2c6)][_0x11f35d(0x1a2)](_0x11f35d(0x350)))!=null?_0x4e83d7:'','function':_0x483dac,'unitId':_0x288f37['getUnitId'](),'argsOfFunction':JSON[_0x11f35d(0x203)](_0x1e2cef),'invokeId':(_0x57217c=_0x1205b0[_0x11f35d(0x262)])!=null?_0x57217c:'','executionId':(_0x9beae0=_0x1205b0['executionId'])!=null?_0x9beae0:''};try{const _0x525fa8=await this['_httpService']['post'](_0x331a55,{'body':_0xb4703c});return _0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]&&_0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]['code']!==Mt['OK']?_0x11f35d(0x19e):_0x525fa8[_0x11f35d(0x216)]['result'];}catch{return _0x11f35d(0x19e);}}};rt=Cn([be(0x0,_0x3a01ed),be(0x1,_0x36f55a(_0x4714d0)),be(0x2,_0x1312da)],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 _0x26156a=_0x4735;function _0x3275(){const _0x308a87=['4gmvuUW','3568GRBhrj','2674NzgdyH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','469913mceOzo','276490NRhFsB','1633214IVkrPg','295479tScasH','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','99dmuXfP','Collaboration\x20Conflict','805TMCLkC','1122kYOtNp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','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.','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1478906jQrfHR','Synced','2iDXVNe','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','84KQXull'];_0x3275=function(){return _0x308a87;};return _0x3275();}(function(_0x310932,_0x4cea23){const _0x4006b0=_0x4735,_0x31ab71=_0x310932();while(!![]){try{const _0x5b1fb7=parseInt(_0x4006b0(0xb1))/0x1*(-parseInt(_0x4006b0(0xaa))/0x2)+parseInt(_0x4006b0(0xb4))/0x3*(-parseInt(_0x4006b0(0xad))/0x4)+-parseInt(_0x4006b0(0xbc))/0x5*(-parseInt(_0x4006b0(0xa1))/0x6)+parseInt(_0x4006b0(0xaf))/0x7*(-parseInt(_0x4006b0(0xae))/0x8)+parseInt(_0x4006b0(0xba))/0x9*(parseInt(_0x4006b0(0xb2))/0xa)+-parseInt(_0x4006b0(0xb3))/0xb+-parseInt(_0x4006b0(0xac))/0xc*(-parseInt(_0x4006b0(0xa8))/0xd);if(_0x5b1fb7===_0x4cea23)break;else _0x31ab71['push'](_0x31ab71['shift']());}catch(_0x36e681){_0x31ab71['push'](_0x31ab71['shift']());}}}(_0x3275,0x3b680));function _0x4735(_0x488401,_0x142bc3){const _0x327591=_0x3275();return _0x4735=function(_0x4735a2,_0x52cd85){_0x4735a2=_0x4735a2-0xa1;let _0x210cfc=_0x327591[_0x4735a2];return _0x210cfc;},_0x4735(_0x488401,_0x142bc3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x26156a(0xa4),'conflict':'Edit\x20conflicts','notCollab':_0x26156a(0xb5),'synced':_0x26156a(0xa9),'syncing':_0x26156a(0xa6),'offline':_0x26156a(0xb6)},'session':{'connection-failed':_0x26156a(0xb7),'will-retry':_0x26156a(0xa3),'room-full':_0x26156a(0xa7),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x26156a(0xbb),'content':_0x26156a(0xa5)},'permission':{'title':_0x26156a(0xb8),'content':_0x26156a(0xab)},'collaboration':{'single-unit':{'warning':_0x26156a(0xb0)},'closeRoom':_0x26156a(0xa2)},'auth':{'needGotoLoginAlert':_0x26156a(0xb9)}};export{e as default};
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 _0x4f7562=_0x3f7a;function _0x2978(){const _0x34a509=['466459sKHVDl','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','3508CGRNmb','شما\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شد.','3009168qqqSbD','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','139kBsIst','در\x20حال\x20همگام\x20سازی...','380815MUuMHf','همگام\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سرور...','8RrvaLg','3693192vyzzfE','پرونده\x20محلی','1389045dGWBtv','تداخل\x20همکاری','759grUPph','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','56SybXxL','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','258770yTYsiA'];_0x2978=function(){return _0x34a509;};return _0x2978();}(function(_0x57d36e,_0x5cff71){const _0x5033d2=_0x3f7a,_0x3af23d=_0x57d36e();while(!![]){try{const _0x1c6c29=parseInt(_0x5033d2(0x159))/0x1*(parseInt(_0x5033d2(0x153))/0x2)+-parseInt(_0x5033d2(0x162))/0x3+-parseInt(_0x5033d2(0x166))/0x4*(parseInt(_0x5033d2(0x15b))/0x5)+parseInt(_0x5033d2(0x160))/0x6+parseInt(_0x5033d2(0x151))/0x7*(parseInt(_0x5033d2(0x15f))/0x8)+-parseInt(_0x5033d2(0x156))/0x9+parseInt(_0x5033d2(0x150))/0xa*(parseInt(_0x5033d2(0x164))/0xb);if(_0x1c6c29===_0x5cff71)break;else _0x3af23d['push'](_0x3af23d['shift']());}catch(_0x570fc2){_0x3af23d['push'](_0x3af23d['shift']());}}}(_0x2978,0xcefdf));function _0x3f7a(_0x45aaf7,_0x25ccce){const _0x29786c=_0x2978();return _0x3f7a=function(_0x3f7af1,_0xe38976){_0x3f7af1=_0x3f7af1-0x14f;let _0xab69d8=_0x29786c[_0x3f7af1];return _0xab69d8;},_0x3f7a(_0x45aaf7,_0x25ccce);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4f7562(0x15e),'conflict':'تداخل\x20ویرایش','notCollab':_0x4f7562(0x161),'synced':_0x4f7562(0x15c),'syncing':_0x4f7562(0x15a),'offline':_0x4f7562(0x152)},'session':{'connection-failed':_0x4f7562(0x165),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4f7562(0x157),'collaboration-timeout':_0x4f7562(0x14f)},'conflict':{'title':_0x4f7562(0x163),'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':_0x4f7562(0x158),'content':_0x4f7562(0x15d)},'collaboration':{'single-unit':{'warning':_0x4f7562(0x154)},'closeRoom':_0x4f7562(0x155)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};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();}