@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505291607 → 0.8.0-nightly.202505311606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/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 _0x17c635=_0x13d3;(function(_0x106a7d,_0x53fb8a){const _0x62dbce=_0x13d3,_0x43b987=_0x106a7d();while(!![]){try{const _0x54ad84=-parseInt(_0x62dbce(0x37d))/0x1*(parseInt(_0x62dbce(0x2be))/0x2)+-parseInt(_0x62dbce(0x317))/0x3+-parseInt(_0x62dbce(0x255))/0x4*(parseInt(_0x62dbce(0x29e))/0x5)+parseInt(_0x62dbce(0x211))/0x6+parseInt(_0x62dbce(0x1d5))/0x7+parseInt(_0x62dbce(0x28d))/0x8*(-parseInt(_0x62dbce(0x1da))/0x9)+parseInt(_0x62dbce(0x3a5))/0xa*(parseInt(_0x62dbce(0x289))/0xb);if(_0x54ad84===_0x53fb8a)break;else _0x43b987['push'](_0x43b987['shift']());}catch(_0x5436b6){_0x43b987['push'](_0x43b987['shift']());}}}(_0xf6ea,0x7841f));var $t=Object[_0x17c635(0x1eb)],xt=(_0x298c84,_0x541d5e,_0x4387da)=>_0x541d5e in _0x298c84?$t(_0x298c84,_0x541d5e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4387da}):_0x298c84[_0x541d5e]=_0x4387da,_=(_0x35f2b6,_0x38df3a,_0x55d60c)=>xt(_0x35f2b6,typeof _0x38df3a!=_0x17c635(0x201)?_0x38df3a+'':_0x38df3a,_0x55d60c);import{MemberService as _0x4b94cb,SessionStatus as _0x2cb63d,CollaborationSessionService as _0x4a7bfc,CollaborationStatus as _0x2affd3,CollaborationController as _0x5b2169,ILocalCacheService as _0x12eac7,CollaborationUIEventService as _0x217d1b,CollaborationUIEventId as _0x23a4aa,DataLoaderService as _0x18d58b,DocCollaborationEntity as _0x42cc67,getLocalCacheKey as _0x156a39,LOCAL_CACHE_INTERVAL as _0x5c0d86,LOCAL_CACHE_INTERVAL_KEY as _0x50ed5c,UniverCollaborationClientPlugin as _0x47ab9c,CollaborationSocketService as _0x12974d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x50dc20,DEFAULT_WS_SESSION_TICKET_URL as _0x578348,UnitStatus as _0x3fb639,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x46c57d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4cfb8a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c44e6,Disposable as _0x629666,DOC_RANGE_TYPE as _0x3e5bba,Inject as _0x2eb397,Injector as _0x597056,IUniverInstanceService as _0x26b67a,ICommandService as _0x35ee2f,debounce as _0x27ab95,Rectangle as _0x428eba,DisposableCollection as _0x5daaad,toDisposable as _0x36e603,UniverInstanceType as _0x2c47d7,Tools as _0x450a88,COLORS as _0x2a2dbf,ColorKit as _0x4cbba2,ThemeService as _0x4ffddf,fromEventSubject as _0x12d0fe,LocaleService as _0x1123b3,createIdentifier as _0x284797,ILogService as _0xaeedb1,Optional as _0x481c91,Workbook as _0x9a8bc3,CommandType as _0x19fa75,IConfigService as _0xe650f0,ILocalStorageService as _0x4a6020,DependentOn as _0x140f68,Plugin as _0x35f057,merge as _0xb34657,registerDependencies as _0x151c2d,mergeOverrideWithDependencies as _0x36bd2d,touchDependencies as _0x4aedff,generateRandomId as _0x3c905e}from'@univerjs/core';import{Shape as _0x15bb4e,Rect as _0x507dd3,getColor as _0x30d8ae,RegularPolygon as _0x2da338,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2835bd,Vector2 as _0x4e7430,SHEET_VIEWPORT_KEY as _0xd886c9,IRenderManagerService as _0x5c59f7}from'@univerjs/engine-render';import{ISocketService as _0x100a88,WebSocketService as _0x19b7b1,HTTPService as _0x3a430c}from'@univerjs/network';import{IDocClipboardService as _0x1d7ec4,NodePositionConvertToCursor as _0xa81833,NodePositionConvertToRectRange as _0x1b3357,TEXT_RANGE_LAYER_INDEX as _0x35b4cc,SetDocZoomRatioOperation as _0x19901a,DocIMEInputManagerService as _0x7411a1,DocStateChangeManagerService as _0x5dcdf5}from'@univerjs/docs-ui';import{IImageIoService as _0x55bd08}from'@univerjs/drawing';import{BehaviorSubject as _0x5db965,debounceTime as _0x10a2d7,takeUntil as _0x4fc11c,Subject as _0x430578,filter as _0x5a532e,switchMap as _0x4fcdee,merge as _0x179cd3,combineLatest as _0x3a9b5c,of as _0x3ac931,fromEvent as _0x1c7d37,shareReplay as _0x191487,mapTo as _0x88af17,distinctUntilChanged as _0x126808}from'rxjs';import{SetTextSelectionsOperation as _0x82e65f,RichTextEditingMutation as _0x1b4eed,DocSelectionManagerService as _0x16c6fd,DocSkeletonManagerService as _0x51951f}from'@univerjs/docs';import{ITransformService as _0x51dc78,CollaborationEvent as _0x4edd53,isTransformMutationFailure as _0x280807,isTransformMutationsWithChangesetSuccess as _0x4cde3c,RevisionService as _0x37e690,ISnapshotServerService as _0xf5c7dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x28f094,serializeRangeWithSheet as _0x3bc81f}from'@univerjs/engine-formula';import{RefRangeService as _0x342bfc,SetSelectionsOperation as _0x27acb3,SheetsSelectionsService as _0xf736a4,EffectRefRangId as _0x3a75d0,handleIRemoveRow as _0x41ad50,handleIRemoveCol as _0xe2309,handleMoveRange as _0x4e921f,handleInsertRow as _0x38d5bb,handleInsertRangeMoveRight as _0x5f23d9,handleInsertRangeMoveDown as _0x58e80a,handleInsertCol as _0x2631b4,handleDeleteRangeMoveUp as _0x49c009,handleDeleteRangeMoveLeft as _0x1c2b37,runRefRangeMutations as _0x2d1c6a,SetWorksheetActivateCommand as _0x237271}from'@univerjs/sheets';import{map as _0x54cd30,filter as _0x986a90,throttleTime as _0x22fc6d,takeUntil as _0xc03ae9,switchMap as _0x5a631c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25e49a,getCoordByCell as _0x55f2dc,getSheetObject as _0x30498b}from'@univerjs/sheets-ui';import{jsx as _0x30f419,jsxs as _0xf931a5}from'react/jsx-runtime';import{useObservable as _0x1756a6,useDependency as _0x1558ad,IUIPartsService as _0x1dd70f,BuiltInUIPart as _0x56bc18,connectInjector as _0xcefb2d,IBeforeCloseService as _0x4195b2,IMessageService as _0x2d0054,INotificationService as _0xec008e}from'@univerjs/ui';import{Tooltip as _0x1a9e1d,clsx as _0x8ec4b2,MessageType as _0x19eb65}from'@univerjs/design';import{forwardRef as _0x3e3ee3,useRef as _0x1af6e7,createElement as _0x540591,useCallback as _0x5e76e6}from'react';import{IRemoteInstanceService as _0x5210e0}from'@univerjs/rpc';var ci=Object[_0x17c635(0x23d)],li=(_0x5f2f68,_0x25f570,_0x3e9c72,_0x20b108)=>{for(var _0x20cc4c=_0x20b108>0x1?void 0x0:_0x20b108?ci(_0x25f570,_0x3e9c72):_0x25f570,_0x2fefb5=_0x5f2f68['length']-0x1,_0x2cdb49;_0x2fefb5>=0x0;_0x2fefb5--)(_0x2cdb49=_0x5f2f68[_0x2fefb5])&&(_0x20cc4c=_0x2cdb49(_0x20cc4c)||_0x20cc4c);return _0x20cc4c;},Je=(_0xec7c43,_0x33cd2b)=>(_0x2a387a,_0xc265bc)=>_0x33cd2b(_0x2a387a,_0xc265bc,_0xec7c43);let Ne=class extends _0x5c44e6{constructor(_0x562991,_0x4056aa){const _0x294edc=_0x17c635;super(),this[_0x294edc(0x370)]=_0x562991,this['_imageIoService']=_0x4056aa,this[_0x294edc(0x384)]();}[_0x17c635(0x384)](){const _0x1a7003=_0x17c635,_0x2c9047=this;this['disposeWithMe'](this[_0x1a7003(0x370)]['addClipboardHook']({'onBeforePasteImage':async _0x467efc=>{const _0x328b8d=_0x1a7003,_0x339866=await _0x2c9047['_imageIoService'][_0x328b8d(0x274)](_0x467efc);return _0x339866?{'source':_0x339866[_0x328b8d(0x388)],'imageSourceType':_0x339866[_0x328b8d(0x354)]}:null;}}));}};Ne=li([Je(0x0,_0x1d7ec4),Je(0x1,_0x55bd08)],Ne);const Ze=[_0x17c635(0x282),_0x17c635(0x2af),_0x17c635(0x1fe),_0x17c635(0x375),_0x17c635(0x38a),_0x17c635(0x2d3)];class ke extends _0x629666{constructor(){const _0x373b42=_0x17c635;super(...arguments),_(this,_0x373b42(0x379),new Map()),_(this,_0x373b42(0x398),0x0);}['assignAColorForMemberID'](_0x5d3313){const _0x5d0278=_0x17c635;if(this[_0x5d0278(0x379)][_0x5d0278(0x329)](_0x5d3313))return this[_0x5d0278(0x379)][_0x5d0278(0x318)](_0x5d3313);const _0x3c77d1=Ze[this[_0x5d0278(0x398)]];return this[_0x5d0278(0x398)]=(this[_0x5d0278(0x398)]+0x1)%Ze[_0x5d0278(0x25c)],this[_0x5d0278(0x379)]['set'](_0x5d3313,_0x3c77d1),_0x3c77d1;}}function Tt(_0x16ae2c){const _0x3a8e41=_0x17c635;let _0x4459df='';for(const _0x24497d of _0x16ae2c){const {startOffset:_0x26858f,endOffset:_0x2e4eae,isActive:_0x8f08ed,rangeType:_0x3f8eab,segmentId:_0x19bb1c,segmentPage:_0x3db46e}=_0x24497d;_0x4459df[_0x3a8e41(0x25c)]&&(_0x4459df+=','),_0x4459df+=_0x26858f+':'+_0x2e4eae+':'+(_0x8f08ed?'1':'0')+':'+_0x3f8eab+':'+_0x19bb1c+':'+_0x3db46e;}return _0x4459df;}function _i(_0x753aa3){const _0x3207dd=_0x17c635,_0x233db1=_0x753aa3[_0x3207dd(0x259)](','),_0x2cefb3=[];for(const _0x477907 of _0x233db1){const [_0x59dfd6,_0x31a0f3,_0x2356f7,_0x4e33e2,_0x3684e8,_0x48fa32]=_0x477907[_0x3207dd(0x259)](':');_0x2cefb3[_0x3207dd(0x24f)]({'startOffset':Number(_0x59dfd6),'endOffset':Number(_0x31a0f3),'collapsed':_0x59dfd6===_0x31a0f3,'isActive':_0x2356f7==='1','rangeType':_0x4e33e2===_0x3e5bba['TEXT']?_0x3e5bba[_0x3207dd(0x333)]:_0x3e5bba[_0x3207dd(0x2a2)],'segmentId':typeof _0x3684e8==_0x3207dd(0x3a1)?String(_0x3684e8):'','segmentPage':Number(_0x48fa32!=null?_0x48fa32:-0x1)});}return _0x2cefb3[_0x3207dd(0x2c9)](_0x410bf8=>_0x410bf8['isActive'])||(_0x2cefb3[0x0][_0x3207dd(0x22d)]=!0x0),_0x2cefb3;}class He extends _0x5c44e6{constructor(){const _0x3b2936=_0x17c635;super(...arguments),_(this,_0x3b2936(0x2c1),new _0x5db965(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x3b2936(0x300)]());}['syncEditingCollabCursor'](_0x20ffdf){const _0x4f0464=_0x17c635,{unitID:_0x2bd10c,memberID:_0x42777c,textRanges:_0x3ff43b}=_0x20ffdf,_0x448e19=Tt(_0x3ff43b);if(_0x448e19==='')return;const _0x30d4be={'unitID':_0x2bd10c,'memberID':_0x42777c,'selection':_0x448e19};this[_0x4f0464(0x2c1)][_0x4f0464(0x32a)](_0x30d4be);}}var hi=Object[_0x17c635(0x23d)],ui=(_0x4f4a51,_0x5771b0,_0x4cb73a,_0xbaccd4)=>{const _0x1732c4=_0x17c635;for(var _0x3a5b03=_0xbaccd4>0x1?void 0x0:_0xbaccd4?hi(_0x5771b0,_0x4cb73a):_0x5771b0,_0x7d73f3=_0x4f4a51[_0x1732c4(0x25c)]-0x1,_0x4a3027;_0x7d73f3>=0x0;_0x7d73f3--)(_0x4a3027=_0x4f4a51[_0x7d73f3])&&(_0x3a5b03=_0x4a3027(_0x3a5b03)||_0x3a5b03);return _0x3a5b03;},P=(_0x4f6647,_0x4aa05a)=>(_0xd2a114,_0x2ffc3b)=>_0x4aa05a(_0xd2a114,_0x2ffc3b,_0x4f6647);const di=0x12c,fi=0x64;let Ue=class extends _0x5c44e6{constructor(_0x11b248,_0x29cd1a,_0x188216,_0x50422e,_0xe479d,_0xbcc547,_0x3dd43f,_0x1dab96,_0x273ea6){const _0x483f6e=_0x17c635;super(),_(this,'_online',!0x1),_(this,_0x483f6e(0x384),!0x1),_(this,_0x483f6e(0x27d),new _0x5db965(new Map())),_(this,'cursorInfo$',this[_0x483f6e(0x27d)][_0x483f6e(0x300)]()),_(this,_0x483f6e(0x399),new _0x5db965([])),_(this,_0x483f6e(0x269),this[_0x483f6e(0x399)][_0x483f6e(0x345)](_0x10a2d7(di))),_(this,_0x483f6e(0x28f),_0x27ab95(_0x13af15=>{const _0x368d82=_0x483f6e,_0x3aad53={'eventID':_0x4edd53[_0x368d82(0x240)],'data':{'unitID':this[_0x368d82(0x310)],'memberID':this['_session'][_0x368d82(0x254)](),'selection':Tt(_0x13af15)}};this['_session'][_0x368d82(0x337)](_0x3aad53,this[_0x368d82(0x310)]);},fi)),(this[_0x483f6e(0x310)]=_0x11b248,this[_0x483f6e(0x294)]=_0x29cd1a,this[_0x483f6e(0x25b)]=_0x188216,this[_0x483f6e(0x22f)]=_0x50422e,this[_0x483f6e(0x2ed)]=_0xe479d,this[_0x483f6e(0x2d7)]=_0xbcc547,this[_0x483f6e(0x363)]=_0x3dd43f,this[_0x483f6e(0x1a2)]=_0x1dab96,this[_0x483f6e(0x233)]=_0x273ea6);}get[_0x17c635(0x2f5)](){const _0x5fe0c6=_0x17c635;return this[_0x5fe0c6(0x27d)][_0x5fe0c6(0x2b7)]();}get[_0x17c635(0x1cd)](){return this['_roomMembers$']['getValue']();}[_0x17c635(0x299)](){const _0x5b6b19=_0x17c635;super[_0x5b6b19(0x299)](),this[_0x5b6b19(0x27d)][_0x5b6b19(0x32a)](new Map()),this[_0x5b6b19(0x27d)][_0x5b6b19(0x2e3)](),this[_0x5b6b19(0x399)]['next']([]),this['_roomMembers$'][_0x5b6b19(0x2e3)]();}[_0x17c635(0x276)](){const _0x3b2eee=_0x17c635;this['_init']||(this[_0x3b2eee(0x384)]=!0x0,this[_0x3b2eee(0x294)][_0x3b2eee(0x206)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x48b361=>{const _0x20b939=_0x3b2eee;_0x48b361===_0x2cb63d[_0x20b939(0x36e)]?this['_toggleOnline']():this[_0x20b939(0x36b)]();}),this['_session'][_0x3b2eee(0x27b)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))[_0x3b2eee(0x31b)](_0x1a1d4f=>{const _0x1177b2=_0x3b2eee,_0x31fb2c=_0x1a1d4f['eventID'];_0x31fb2c===_0x4edd53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1a1d4f),_0x31fb2c===_0x4edd53[_0x1177b2(0x29f)]&&this['_onCursorDelete'](_0x1a1d4f);}),this[_0x3b2eee(0x322)](this['_commandService'][_0x3b2eee(0x1d3)](_0x65733f=>{const _0x27f7c4=_0x3b2eee,_0x1de28f=_0x65733f['params'];_0x1de28f!=null&&this[_0x27f7c4(0x2fe)]&&_0x65733f['id']===_0x82e65f['id']&&_0x1de28f[_0x27f7c4(0x1ef)]===this[_0x27f7c4(0x310)]&&_0x1de28f[_0x27f7c4(0x217)]===!0x1&&_0x1de28f[_0x27f7c4(0x2ae)]['length']>0x0&&this[_0x27f7c4(0x28f)](_0x1de28f['ranges']);})),this['_syncEditingCollabCursorService'][_0x3b2eee(0x1bb)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x145db0=>{const _0x3e1d4f=_0x3b2eee;if((_0x145db0==null?void 0x0:_0x145db0[_0x3e1d4f(0x310)])!==this['unitID'])return;const _0x288601={'eventID':_0x4edd53[_0x3e1d4f(0x240)],'data':_0x145db0};this[_0x3e1d4f(0x2f8)](_0x288601);}),this['disposeWithMe'](this[_0x3b2eee(0x233)][_0x3b2eee(0x1d3)](_0xdae218=>{const _0x2091f5=_0x3b2eee;if(_0xdae218[_0x2091f5(0x39a)]==null)return;const _0x2b7aa4=_0xdae218[_0x2091f5(0x39a)];if(_0xdae218['id']!==_0x1b4eed['id']||_0x2b7aa4[_0x2091f5(0x1ef)]!==this[_0x2091f5(0x310)])return;const _0x470e39={'id':_0x2091f5(0x334),'params':_0x2b7aa4},_0x30e10f=this[_0x2091f5(0x2f5)];for(const [_0x439657,_0x3b06f6]of _0x30e10f){const _0x420e58={'id':_0x2091f5(0x334),'params':{'unitId':this[_0x2091f5(0x310)],'actions':null,'textRanges':_0x3b06f6[_0x2091f5(0x2ae)]}},_0x140c8a=this[_0x2091f5(0x363)]['transformMutation'](_0x470e39,_0x420e58,!0x1);if(_0x280807(_0x140c8a))throw _0x140c8a['error'];_0x30e10f[_0x2091f5(0x1c2)](_0x439657,{..._0x3b06f6,'ranges':_0x140c8a[_0x2091f5(0x391)][_0x2091f5(0x39a)][_0x2091f5(0x1e7)]});}queueMicrotask(()=>{const _0x9e5766=_0x2091f5;this[_0x9e5766(0x27d)][_0x9e5766(0x32a)](_0x30e10f);});})));}[_0x17c635(0x2f8)](_0x5e466f){const _0x32ffc4=_0x17c635;var _0x253660,_0x2ffc6a;const {memberID:_0x77617f,selection:_0x3df4bc}=_0x5e466f[_0x32ffc4(0x2d8)],_0x15b068=_i(_0x3df4bc),_0x2c7ee0=(_0x2ffc6a=(_0x253660=this['_memberService']['getMember'](this[_0x32ffc4(0x310)],_0x77617f))==null?void 0x0:_0x253660['name'])!=null?_0x2ffc6a:_0x32ffc4(0x20a),_0x1fc759={'color':this[_0x32ffc4(0x22f)][_0x32ffc4(0x1b1)](_0x77617f),'name':_0x2c7ee0,'ranges':_0x15b068},_0x3b71ee=this[_0x32ffc4(0x2f5)];_0x3b71ee['set'](_0x77617f,_0x1fc759),this[_0x32ffc4(0x27d)][_0x32ffc4(0x32a)](_0x3b71ee);}[_0x17c635(0x214)](_0x3a5cc5){const _0xd9784c=_0x17c635,{memberID:_0x46735f}=_0x3a5cc5[_0xd9784c(0x2d8)],_0x56790f=this[_0xd9784c(0x2f5)];_0x56790f['delete'](_0x46735f),this[_0xd9784c(0x27d)][_0xd9784c(0x32a)](_0x56790f);}['_toggleOnline'](){const _0xf3b6d1=_0x17c635;var _0xd5a886;if(this[_0xf3b6d1(0x2fe)]=!0x0,((_0xd5a886=this[_0xf3b6d1(0x1a2)][_0xf3b6d1(0x1a6)]())==null?void 0x0:_0xd5a886['getUnitId']())!==this['unitID'])return;const _0x485011=this[_0xf3b6d1(0x25b)]['get'](_0x16c6fd)[_0xf3b6d1(0x1e0)]();Array[_0xf3b6d1(0x340)](_0x485011)&&_0x485011[_0xf3b6d1(0x25c)]>0x0&&this[_0xf3b6d1(0x28f)](_0x485011);}[_0x17c635(0x36b)](){const _0x494b4a=_0x17c635;this[_0x494b4a(0x2fe)]=!0x1;}};Ue=ui([P(0x2,_0x2eb397(_0x597056)),P(0x3,_0x2eb397(ke)),P(0x4,_0x2eb397(_0x4b94cb)),P(0x5,_0x2eb397(He)),P(0x6,_0x51dc78),P(0x7,_0x26b67a),P(0x8,_0x35ee2f)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x12515d,_0x381867,_0x16aa64,_0x52b9cc)=>{const _0x889e97=_0x17c635;for(var _0x204840=_0x52b9cc>0x1?void 0x0:_0x52b9cc?Si(_0x381867,_0x16aa64):_0x381867,_0x2db4b7=_0x12515d[_0x889e97(0x25c)]-0x1,_0xaee1dd;_0x2db4b7>=0x0;_0x2db4b7--)(_0xaee1dd=_0x12515d[_0x2db4b7])&&(_0x204840=_0xaee1dd(_0x204840)||_0x204840);return _0x204840;},x=(_0xfcd7da,_0x18d250)=>(_0x275f36,_0x5db5f4)=>_0x18d250(_0x275f36,_0x5db5f4,_0xfcd7da);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5a1665=[],_0x2c2c34=!0x1;return _0x230767=>{_0x5a1665['push'](_0x230767),_0x2c2c34||(_0x2c2c34=!0x0,setTimeout(()=>{_0x5a1665['forEach'](_0x117b3a=>_0x117b3a()),_0x5a1665=[],_0x2c2c34=!0x1;}));};};let Me=class extends _0x5c44e6{constructor(_0xbbb005,_0x12021e,_0x4c5116,_0x44b8cd,_0x27d599,_0x363a13,_0x6c52bd,_0x2723e9){const _0x249c92=_0x17c635;super(),_(this,_0x249c92(0x2fe),!0x1),_(this,_0x249c92(0x384),!0x1),_(this,'_cursorInfo$',new _0x5db965(new Map())),_(this,_0x249c92(0x218),this['_cursorInfo$'][_0x249c92(0x300)]()),_(this,'_roomMembers$',new _0x5db965([])),_(this,'roomMembers$',this[_0x249c92(0x399)][_0x249c92(0x345)](_0x10a2d7(Ii))),_(this,_0x249c92(0x28f),_0x27ab95((_0x2d99fd,_0x91b20f)=>{const _0x9fd359=_0x249c92,_0x2ab2aa={'eventID':_0x4edd53[_0x9fd359(0x240)],'data':{'unitID':this[_0x9fd359(0x310)],'memberID':this[_0x9fd359(0x294)][_0x9fd359(0x254)](),'selection':_0x3bc81f(_0x2d99fd,_0x91b20f[_0x9fd359(0x21e)])}};this[_0x9fd359(0x294)][_0x9fd359(0x337)](_0x2ab2aa,this[_0x9fd359(0x310)]);},gi)),(this[_0x249c92(0x310)]=_0xbbb005,this[_0x249c92(0x294)]=_0x12021e,this[_0x249c92(0x25b)]=_0x4c5116,this[_0x249c92(0x22f)]=_0x44b8cd,this['_memberService']=_0x27d599,this[_0x249c92(0x1a2)]=_0x363a13,this['_commandService']=_0x6c52bd,this['_refRangeService']=_0x2723e9);}get[_0x17c635(0x2f5)](){const _0x31f6dc=_0x17c635;return this[_0x31f6dc(0x27d)][_0x31f6dc(0x2b7)]();}get[_0x17c635(0x1cd)](){const _0x16eb90=_0x17c635;return this[_0x16eb90(0x399)][_0x16eb90(0x2b7)]();}[_0x17c635(0x299)](){const _0x2a779c=_0x17c635;super[_0x2a779c(0x299)](),this['_cursorInfo$'][_0x2a779c(0x32a)](new Map()),this[_0x2a779c(0x27d)][_0x2a779c(0x2e3)](),this['_roomMembers$']['next']([]),this[_0x2a779c(0x399)]['complete']();}['init'](){const _0x417489=_0x17c635;this[_0x417489(0x384)]||(this[_0x417489(0x384)]=!0x0,this['_session'][_0x417489(0x206)][_0x417489(0x345)](_0x4fc11c(this['dispose$']))['subscribe'](_0x2972f2=>{const _0xfb394c=_0x417489;_0x2972f2===_0x2cb63d['ONLINE']?this[_0xfb394c(0x31a)]():this['_toggleOffline']();}),this['_session'][_0x417489(0x27b)][_0x417489(0x345)](_0x4fc11c(this[_0x417489(0x386)]))['subscribe'](_0x6f569e=>{const _0x3ee289=_0x417489,_0x5ea130=_0x6f569e[_0x3ee289(0x2b8)];_0x5ea130===_0x4edd53[_0x3ee289(0x240)]&&this[_0x3ee289(0x2f8)](_0x6f569e),_0x5ea130===_0x4edd53[_0x3ee289(0x29f)]&&this['_onCursorDelete'](_0x6f569e);}),this[_0x417489(0x262)](),this[_0x417489(0x322)](this['_commandService']['onCommandExecuted'](_0x194533=>{const _0x450b5e=_0x417489;if(this[_0x450b5e(0x2fe)]&&_0x194533['id']===_0x27acb3['id']&&_0x194533[_0x450b5e(0x39a)][_0x450b5e(0x1ef)]===this['unitID']){const _0x58a9c2=_0x194533[_0x450b5e(0x39a)];this[_0x450b5e(0x28f)](_0x58a9c2[_0x450b5e(0x343)],_0x58a9c2[_0x450b5e(0x35f)][0x0]);}})));}[_0x17c635(0x2f8)](_0x128d37){const _0x3d3d63=_0x17c635;var _0x38919f,_0x56e060;const {memberID:_0x350251,selection:_0x32c9fe}=_0x128d37[_0x3d3d63(0x2d8)],{sheetName:_0x5c1c08,range:_0x5845ac}=_0x28f094(_0x32c9fe),_0x370ea5={'name':(_0x56e060=(_0x38919f=this['_memberService'][_0x3d3d63(0x285)](this[_0x3d3d63(0x310)],_0x350251))==null?void 0x0:_0x38919f[_0x3d3d63(0x2bd)])!=null?_0x56e060:_0x3d3d63(0x20a),'range':this[_0x3d3d63(0x20f)](_0x5c1c08,_0x5845ac),'sheetID':_0x5c1c08,'color':this[_0x3d3d63(0x22f)][_0x3d3d63(0x1b1)](_0x350251),'selection':_0x32c9fe},_0x28632a=this[_0x3d3d63(0x2f5)];_0x28632a['set'](_0x350251,_0x370ea5),this[_0x3d3d63(0x27d)][_0x3d3d63(0x32a)](_0x28632a);}[_0x17c635(0x214)](_0xcd9a75){const _0x2fbc6b=_0x17c635,{memberID:_0x47093f}=_0xcd9a75[_0x2fbc6b(0x2d8)],_0x12d292=this['cursorInfo'];_0x12d292['delete'](_0x47093f),this[_0x2fbc6b(0x27d)]['next'](_0x12d292);}[_0x17c635(0x20f)](_0x20b636,_0xb330c3){const _0x582672=_0x17c635;var _0x5c8864,_0x371a3a;const _0x33a3e1=(_0x371a3a=(_0x5c8864=this[_0x582672(0x1a2)][_0x582672(0x344)](this[_0x582672(0x310)]))==null?void 0x0:_0x5c8864[_0x582672(0x2f9)](_0x20b636))==null?void 0x0:_0x371a3a['getMergeData']();return(_0x33a3e1==null?void 0x0:_0x33a3e1['find'](_0x3c2075=>_0x428eba[_0x582672(0x283)](_0x3c2075,_0xb330c3)))||_0xb330c3;}[_0x17c635(0x262)](){const _0x337653=_0x17c635,_0x4b811a=new _0x5daaad(),_0x463171=vi(),_0x20d593=()=>{const _0x25641f=_0x13d3;_0x4b811a[_0x25641f(0x299)]();const _0x4f0410=(_0x4d78bd,_0x5dc7a5,_0x446478,_0x2edd51)=>{const _0x26b4db=_0x25641f;let _0x5577b8=[];switch(_0x4d78bd['id']){case _0x3a75d0['DeleteRangeMoveLeftCommandId']:{_0x5577b8=_0x1c2b37(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0['DeleteRangeMoveUpCommandId']:{_0x5577b8=_0x49c009(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1d6)]:{_0x5577b8=_0x2631b4(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1f9)]:{_0x5577b8=_0x58e80a(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x212)]:{_0x5577b8=_0x5f23d9(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x341)]:{_0x5577b8=_0x38d5bb(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x24e)]:{_0x5577b8=_0x4e921f(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x351)]:{_0x5577b8=_0xe2309(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x313)]:{_0x5577b8=_0x41ad50(_0x4d78bd,_0x2edd51);break;}}const _0x16c0cd=_0x2d1c6a(_0x5577b8,_0x2edd51),_0x20aafb=this[_0x26b4db(0x2f5)][_0x26b4db(0x318)](_0x5dc7a5);if(_0x20aafb&&_0x16c0cd){const _0xfcc83b={..._0x20aafb,'range':_0x16c0cd};this[_0x26b4db(0x2f5)][_0x26b4db(0x1c2)](_0x5dc7a5,_0xfcc83b),_0x463171(()=>{const _0x332e76=_0x26b4db,_0x9daa2d=this[_0x332e76(0x2c2)][_0x332e76(0x32d)](_0x16c0cd,_0x224182=>(_0x9daa2d[_0x332e76(0x299)](),_0x4f0410(_0x224182,_0x5dc7a5,_0x446478,_0x16c0cd)));_0x4b811a[_0x332e76(0x25e)](_0x9daa2d);});}return{'redos':[],'undos':[]};};this[_0x25641f(0x2f5)]['forEach']((_0x5ea23d,_0x2652ef)=>{const _0xdb600=_0x25641f,{range:_0x2b0d67,sheetID:_0x31de80}=_0x5ea23d,_0xe217da=this[_0xdb600(0x2c2)][_0xdb600(0x32d)](_0x2b0d67,_0x9a11ec=>(_0xe217da[_0xdb600(0x299)](),_0x4f0410(_0x9a11ec,_0x2652ef,_0x31de80,_0x2b0d67)));_0x4b811a[_0xdb600(0x25e)](_0xe217da);});};this[_0x337653(0x322)](_0x36e603(this[_0x337653(0x27d)]['subscribe'](()=>{_0x20d593();})));}['_toggleOnline'](){const _0x5a74bc=_0x17c635;var _0x22ebab,_0x5f0618;if(this[_0x5a74bc(0x2fe)]=!0x0,((_0x22ebab=this['_univerInstanceService'][_0x5a74bc(0x1a6)]())==null?void 0x0:_0x22ebab[_0x5a74bc(0x21b)]())!==this['unitID'])return;const _0xa26364=(_0x5f0618=this[_0x5a74bc(0x25b)]['get'](_0xf736a4)[_0x5a74bc(0x320)]())==null?void 0x0:_0x5f0618[0x0],_0x394eba=this['_univerInstanceService'][_0x5a74bc(0x21c)](_0x2c47d7[_0x5a74bc(0x226)])[_0x5a74bc(0x34f)]();_0xa26364&&_0x394eba&&this[_0x5a74bc(0x28f)](_0x394eba[_0x5a74bc(0x2e4)](),_0xa26364);}[_0x17c635(0x36b)](){const _0x569234=_0x17c635;this[_0x569234(0x2fe)]=!0x1;}};Me=mi([x(0x2,_0x2eb397(_0x597056)),x(0x3,_0x2eb397(ke)),x(0x4,_0x2eb397(_0x4b94cb)),x(0x5,_0x26b67a),x(0x6,_0x35ee2f),x(0x7,_0x2eb397(_0x342bfc))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x8bbc1d,_0x2152ec,_0x334727,_0x44879b)=>{const _0x23a0ac=_0x17c635;for(var _0x3f58f1=_0x44879b>0x1?void 0x0:_0x44879b?pi(_0x2152ec,_0x334727):_0x2152ec,_0x4130f8=_0x8bbc1d[_0x23a0ac(0x25c)]-0x1,_0x598a4b;_0x4130f8>=0x0;_0x4130f8--)(_0x598a4b=_0x8bbc1d[_0x4130f8])&&(_0x3f58f1=_0x598a4b(_0x3f58f1)||_0x3f58f1);return _0x3f58f1;},Se=(_0x264341,_0xe4f6ea)=>(_0x5ed5bd,_0x2c5fee)=>_0xe4f6ea(_0x5ed5bd,_0x2c5fee,_0x264341);let H=class extends _0x5c44e6{constructor(_0x3c6c99,_0x58ba77,_0x15496b){const _0x58dc18=_0x17c635;super(),_(this,_0x58dc18(0x222),new Map()),_(this,_0x58dc18(0x213),new _0x430578()),(this[_0x58dc18(0x1a2)]=_0x3c6c99,this['_injector']=_0x58ba77,this[_0x58dc18(0x227)]=_0x15496b,this[_0x58dc18(0x384)]());}[_0x17c635(0x299)](){const _0x5d139b=_0x17c635;super[_0x5d139b(0x299)](),this['_entityInit$']['complete'](),this[_0x5d139b(0x222)][_0x5d139b(0x1d2)](_0x50fb27=>_0x50fb27[_0x5d139b(0x299)]());}[_0x17c635(0x3a3)](_0x8ec8b9){const _0x3612f2=_0x17c635;return this[_0x3612f2(0x222)][_0x3612f2(0x329)](_0x8ec8b9)?this[_0x3612f2(0x222)]['get'](_0x8ec8b9)[_0x3612f2(0x218)]:this[_0x3612f2(0x213)]['pipe'](_0x5a532e(_0xed1d9c=>_0xed1d9c[_0x3612f2(0x310)]===_0x8ec8b9),_0x4fcdee(_0x5c2b2f=>_0x5c2b2f[_0x3612f2(0x218)]));}[_0x17c635(0x384)](){const _0x5a3d2e=_0x17c635;this[_0x5a3d2e(0x1a2)]['getTypeOfUnitAdded$'](_0x2c47d7['UNIVER_SHEET'])['pipe'](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x31b)](async _0x45479d=>{const _0x2ba0d0=_0x5a3d2e,_0x3b79b4=_0x45479d[_0x2ba0d0(0x21b)](),_0x37af76=await this[_0x2ba0d0(0x1f5)](_0x3b79b4);this['_entityInit$'][_0x2ba0d0(0x32a)](_0x37af76),this[_0x2ba0d0(0x222)][_0x2ba0d0(0x1c2)](_0x3b79b4,_0x37af76);}),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1de)](_0x2c47d7[_0x5a3d2e(0x39f)])[_0x5a3d2e(0x345)](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x345)](_0x5a532e(_0x1beca4=>!_0x1beca4['getUnitId']()['startsWith']('__')))[_0x5a3d2e(0x31b)](async _0x4fb294=>{const _0x2989ef=_0x5a3d2e,_0x5acda0=_0x4fb294['getUnitId'](),_0x4ad3ba=await this[_0x2989ef(0x1c5)](_0x5acda0);this[_0x2989ef(0x213)][_0x2989ef(0x32a)](_0x4ad3ba),this[_0x2989ef(0x222)][_0x2989ef(0x1c2)](_0x5acda0,_0x4ad3ba);}),_0x179cd3(this['_univerInstanceService'][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x39f)]),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x226)]))[_0x5a3d2e(0x345)](_0x4fc11c(this['dispose$']))[_0x5a3d2e(0x31b)](_0x107b21=>{const _0x53d1e9=_0x5a3d2e,_0x4ff12c=_0x107b21[_0x53d1e9(0x21b)](),_0x36b100=this[_0x53d1e9(0x222)]['get'](_0x4ff12c);_0x36b100&&(_0x36b100['dispose'](),this['_entities'][_0x53d1e9(0x2f4)](_0x4ff12c));});}async[_0x17c635(0x1f5)](_0x314fce){const _0x3d6141=_0x17c635,_0xc15fa1=await this[_0x3d6141(0x227)]['requireSession'](_0x314fce),_0x5b0c8c=this[_0x3d6141(0x25b)][_0x3d6141(0x316)](Me,_0x314fce,_0xc15fa1);return _0x5b0c8c[_0x3d6141(0x276)](),_0x5b0c8c;}async['_startDocCollabCursor'](_0xbb1612){const _0x24b848=_0x17c635,_0x152be0=await this['_collabSessionService'][_0x24b848(0x1a0)](_0xbb1612),_0x5d17be=this[_0x24b848(0x25b)]['createInstance'](Ue,_0xbb1612,_0x152be0);return _0x5d17be[_0x24b848(0x276)](),_0x5d17be;}};function _0x13d3(_0x1fac5d,_0x403fad){const _0xf6ea63=_0xf6ea();return _0x13d3=function(_0x13d3a8,_0x3627cd){_0x13d3a8=_0x13d3a8-0x1a0;let _0x203888=_0xf6ea63[_0x13d3a8];return _0x203888;},_0x13d3(_0x1fac5d,_0x403fad);}H=Ci([Se(0x0,_0x26b67a),Se(0x1,_0x2eb397(_0x597056)),Se(0x2,_0x2eb397(_0x4a7bfc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x27ceb3,_0x2425da){const _0x3554d3=_0x17c635;let {radius:_0x34f620,width:_0xabf28f,height:_0x4cc24}=_0x2425da;_0x34f620=_0x34f620!=null?_0x34f620:0x0,_0xabf28f=_0xabf28f!=null?_0xabf28f:0x1e,_0x4cc24=_0x4cc24!=null?_0x4cc24:0x1e;let _0x410c57=0x0,_0x1d2513=0x0,_0x25a5f9=0x0;_0x410c57=_0x1d2513=_0x25a5f9=Math[_0x3554d3(0x36f)](_0x34f620,_0xabf28f/0x2,_0x4cc24/0x2),_0x27ceb3[_0x3554d3(0x2cd)](),_0x27ceb3[_0x3554d3(0x1e1)](_0x410c57,0x0),_0x27ceb3[_0x3554d3(0x1b9)](_0xabf28f-_0x1d2513,0x0),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x1d2513,_0x1d2513,_0x1d2513,Math['PI']*0x3/0x2,0x0,!0x1),_0x27ceb3['lineTo'](_0xabf28f,_0x4cc24-_0x25a5f9),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x25a5f9,_0x4cc24-_0x25a5f9,_0x25a5f9,0x0,Math['PI']/0x2,!0x1),_0x27ceb3['lineTo'](0x0,_0x4cc24),_0x27ceb3[_0x3554d3(0x1b9)](0x0,_0x410c57),_0x27ceb3[_0x3554d3(0x39c)](_0x410c57,_0x410c57,_0x410c57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27ceb3[_0x3554d3(0x2b6)](),_0x2425da[_0x3554d3(0x228)]&&(_0x27ceb3['save'](),_0x27ceb3['fillStyle']=_0x2425da[_0x3554d3(0x228)],_0x2425da[_0x3554d3(0x2fd)]===_0x3554d3(0x2ab)?_0x27ceb3[_0x3554d3(0x228)](_0x3554d3(0x2ab)):_0x27ceb3[_0x3554d3(0x228)](),_0x27ceb3['restore']());}class he extends _0x15bb4e{constructor(_0x2e1b66,_0x12c10b){const _0x1609ca=_0x17c635;super(_0x2e1b66,_0x12c10b),_(this,'color'),_(this,'text'),(this[_0x1609ca(0x31f)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x31f)],this[_0x1609ca(0x1c1)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x1c1)]);}static[_0x17c635(0x2d1)](_0x6dbb40,_0x439d4d){const _0x8d5a89=_0x17c635,{text:_0x42c34e,color:_0x1487e5}=_0x439d4d;_0x6dbb40[_0x8d5a89(0x24a)](),_0x6dbb40[_0x8d5a89(0x3a0)]=_0x8d5a89(0x2da);const _0x1fa19d=_0x6dbb40[_0x8d5a89(0x1f4)](_0x42c34e)[_0x8d5a89(0x37a)],_0x4ffde5=Math[_0x8d5a89(0x36f)](_0x1fa19d+0x2*me,Qe);Oi(_0x6dbb40,{'height':ee,'radius':0x4,'width':_0x4ffde5,'fill':_0x1487e5}),_0x6dbb40['fillStyle']=_0x8d5a89(0x335);const _0x50fee2=me,_0x4b2e7c=ee-Ei,_0x2a12d5=Qe-0x2*me;if(_0x1fa19d>_0x2a12d5){let _0x2fcbb3='',_0x37b7f3=0x0;for(const _0x6ef7ec of _0x42c34e){const _0x605118=_0x6dbb40[_0x8d5a89(0x1f4)](_0x6ef7ec)[_0x8d5a89(0x37a)];if(_0x37b7f3+_0x605118<=_0x2a12d5-_0x6dbb40[_0x8d5a89(0x1f4)](_0x8d5a89(0x1a3))[_0x8d5a89(0x37a)])_0x2fcbb3+=_0x6ef7ec,_0x37b7f3+=_0x605118;else{_0x2fcbb3+=_0x8d5a89(0x1a3);break;}}_0x6dbb40['fillText'](_0x2fcbb3,_0x50fee2,_0x4b2e7c);}else _0x6dbb40[_0x8d5a89(0x2d2)](_0x42c34e,_0x50fee2,_0x4b2e7c);_0x6dbb40[_0x8d5a89(0x1c6)]();}[_0x17c635(0x353)](_0x3e70d7){const _0x593fb6=_0x17c635;he[_0x593fb6(0x2d1)](_0x3e70d7,this);}}const Ie=_0x17c635(0x2b9),bi='collab-text-range-',Ti=_0x17c635(0x346),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2d0e19,_0x299674,_0x45119d,_0x353dcf){const _0x474aee=_0x17c635;_(this,_0x474aee(0x251),[]),_(this,_0x474aee(0x27a),null),_(this,_0x474aee(0x385),null),_(this,_0x474aee(0x328),null),_(this,_0x474aee(0x268),null),_(this,_0x474aee(0x367),null),(this['_cursor']=_0x2d0e19,this[_0x474aee(0x232)]=_0x299674,this[_0x474aee(0x200)]=_0x45119d,this[_0x474aee(0x360)]=_0x353dcf,this[_0x474aee(0x1e6)]());}set[_0x17c635(0x204)](_0x4cf155){const _0x5018fb=_0x17c635;_0x4cf155?(this['_anchorDot']&&this['_anchorDot'][_0x5018fb(0x1db)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)]['show']()):(this['_anchorDot']&&this[_0x5018fb(0x328)][_0x5018fb(0x270)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)][_0x5018fb(0x1db)]());}[_0x17c635(0x299)](){const _0x3cf84d=_0x17c635;for(const _0x4f3384 of this['_shapes'])_0x4f3384[_0x3cf84d(0x299)]();this['_textBubble']&&this[_0x3cf84d(0x385)][_0x3cf84d(0x299)](),this['_anchorDot']&&this[_0x3cf84d(0x328)][_0x3cf84d(0x299)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x3cf84d(0x367)]&&this[_0x3cf84d(0x367)]();}[_0x17c635(0x1e6)](){const _0xf771b2=_0x17c635;var _0x1629ed;const {_docSkeleton:_0x29eb12,_document:_0x2738a5}=this,{color:_0x1d1930,name:_0x10149d,ranges:_0x4f7a90}=this[_0xf771b2(0x2cb)],_0x909583=_0x2738a5['getOffsetConfig'](),{docsLeft:_0x277342,docsTop:_0x13f953}=_0x909583,_0x379287=new _0xa81833(_0x909583,_0x29eb12);for(const {startOffset:_0x584241,endOffset:_0x1b89a4,rangeType:_0x69de06,segmentId:_0x218562,segmentPage:_0x5e9a5d,collapsed:_0x3afc6c,isActive:_0x19eada}of _0x4f7a90){const _0x29f9e5=_0x29eb12[_0xf771b2(0x2b4)](_0x584241,!0x0,_0x218562,_0x5e9a5d);let _0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4,!0x0,_0x218562,_0x5e9a5d);if(_0x3bf7d9==null&&(_0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4-0x1,!0x1,_0x218562,_0x5e9a5d)),_0x19eada){const {contentBoxPointGroup:_0x19b342}=_0x379287[_0xf771b2(0x397)](_0x3bf7d9,_0x3bf7d9);if(_0x19b342[_0xf771b2(0x25c)]===0x0)continue;this[_0xf771b2(0x2a7)](_0x1d1930,_0x19b342,_0x277342,_0x13f953,_0x10149d),this['_eventUnsubscribe']=this[_0xf771b2(0x2e1)]();}if(_0x29f9e5&&_0x3bf7d9){if(_0x69de06===_0x3e5bba[_0xf771b2(0x2a2)]){const _0xe301f7=new _0x1b3357(_0x909583,_0x29eb12),{pointGroup:_0x59750d}=(_0x1629ed=_0xe301f7[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9))!=null?_0x1629ed:{};if(_0x59750d==null||_0x59750d[_0xf771b2(0x25c)]===0x0)continue;this['_drawRectRange'](_0x1d1930,_0x59750d,_0x277342,_0x13f953);}else{if(!_0x3afc6c){const {borderBoxPointGroup:_0x6678c4}=_0x379287[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9);if(_0x6678c4['length']===0x0)continue;this[_0xf771b2(0x1a9)](_0x1d1930,_0x6678c4,_0x277342,_0x13f953);}}}}}[_0x17c635(0x2a7)](_0x15aea8,_0x44ecbe,_0x6a04e0,_0x417b21,_0x33e055){const _0x5a4633=_0x17c635,_0x4e030f=this[_0x5a4633(0x280)](_0x44ecbe),{left:_0x41c388,top:_0x37ad47,height:_0x343f0b}=_0x4e030f,_0xe0dbf7=this['_getScale'](),_0x5bac6f=Di/_0xe0dbf7,_0x1b2c89=new _0x507dd3(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21,'height':_0x343f0b,'width':Ri,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':_0x5bac6f,'stroke':Ni,'evented':!0x0});this[_0x5a4633(0x27a)]=_0x1b2c89,this[_0x5a4633(0x232)]['addObject'](_0x1b2c89,_0x35b4cc);const _0x27f40e=new _0x507dd3(Ie+_0x450a88['generateRandomId'](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ge/0x2,'height':ge,'width':ge,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x27f40e,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x27f40e,_0x35b4cc);const _0x2efd49=new he(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ee,'text':_0x33e055,'color':_0x15aea8});this[_0x5a4633(0x385)]=_0x2efd49,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x2efd49,_0x35b4cc),this[_0x5a4633(0x204)]=!0x1;}['_handleHover'](){const _0x5cab40=_0x17c635,_0xa6ff4f=this[_0x5cab40(0x27a)][_0x5cab40(0x290)][_0x5cab40(0x35a)](()=>{const _0x4deaf3=_0x5cab40;this[_0x4deaf3(0x204)]=!0x0;}),_0x27e85e=this[_0x5cab40(0x27a)][_0x5cab40(0x1c0)][_0x5cab40(0x35a)](()=>{const _0x5ac3db=_0x5cab40;this['_hideTimer']&&clearTimeout(this[_0x5ac3db(0x268)]),this[_0x5ac3db(0x268)]=setTimeout(()=>{const _0x1e077b=_0x5ac3db;this[_0x1e077b(0x204)]=!0x1;},0x7d0);});return()=>{const _0x57f1fa=_0x5cab40;_0xa6ff4f['unsubscribe'](),_0x27e85e[_0x57f1fa(0x36a)]();};}['_drawTextRange'](_0xa58dba,_0x1c801c,_0x53c87c,_0x25aa2c){const _0x37a103=_0x17c635,_0x42c6de=new _0x4cbba2(_0xa58dba)[_0x37a103(0x1ab)](0.2)[_0x37a103(0x1ce)](),_0x4bd886=new _0x2da338(bi+_0x450a88[_0x37a103(0x286)](X),{'pointsGroup':_0x1c801c,'fill':_0x42c6de||_0x30d8ae(_0x2a2dbf[_0x37a103(0x2a5)],0.2),'left':_0x53c87c,'top':_0x25aa2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37a103(0x251)][_0x37a103(0x24f)](_0x4bd886),this[_0x37a103(0x232)][_0x37a103(0x308)](_0x4bd886,_0x35b4cc);}[_0x17c635(0x1d0)](_0x5bd4e5,_0x228e3c,_0x1ea03e,_0x2109d3){const _0x414463=_0x17c635,_0x44eb3a=new _0x4cbba2(_0x5bd4e5)[_0x414463(0x1ab)](0.2)[_0x414463(0x1ce)](),_0x3fa5cb=new _0x2da338(Ti+_0x450a88[_0x414463(0x286)](X),{'pointsGroup':_0x228e3c,'fill':_0x44eb3a||_0x30d8ae(_0x2a2dbf[_0x414463(0x2a5)],0.2),'left':_0x1ea03e,'top':_0x2109d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x414463(0x251)][_0x414463(0x24f)](_0x3fa5cb),this['_scene'][_0x414463(0x308)](_0x3fa5cb,_0x35b4cc);}[_0x17c635(0x280)](_0xe40560){const _0xb725fb=_0xe40560[0x0],_0x51356c=_0xb725fb[0x0],_0x30eecb=_0xb725fb[0x2],{x:_0x10c7b4,y:_0xc08a06}=_0x51356c,{x:_0x150841,y:_0x20348b}=_0x30eecb;return{'left':_0x10c7b4,'top':_0xc08a06,'width':_0x150841-_0x10c7b4,'height':_0x20348b-_0xc08a06};}[_0x17c635(0x324)](){const _0x4dfc94=_0x17c635,{scaleX:_0x575eed,scaleY:_0x46784e}=this[_0x4dfc94(0x232)]['getAncestorScale']();return Math[_0x4dfc94(0x39d)](_0x575eed,_0x46784e);}}var Ui=Object[_0x17c635(0x23d)],Mi=(_0x9390f1,_0x409a49,_0x579fde,_0x386509)=>{for(var _0x55b285=_0x386509>0x1?void 0x0:_0x386509?Ui(_0x409a49,_0x579fde):_0x409a49,_0x1621ce=_0x9390f1['length']-0x1,_0x4bdb0a;_0x1621ce>=0x0;_0x1621ce--)(_0x4bdb0a=_0x9390f1[_0x1621ce])&&(_0x55b285=_0x4bdb0a(_0x55b285)||_0x55b285);return _0x55b285;},Z=(_0x5cb9db,_0x36fb2b)=>(_0xc72e45,_0x51eea5)=>_0x36fb2b(_0xc72e45,_0x51eea5,_0x5cb9db);let we=class extends _0x5c44e6{constructor(_0x13cfa7,_0x4edca1,_0x29a929,_0x2cc95f,_0x286bd8){const _0x4e2e56=_0x17c635;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x4e2e56(0x2e9)]=_0x13cfa7,this[_0x4e2e56(0x1bf)]=_0x4edca1,this[_0x4e2e56(0x277)]=_0x29a929,this[_0x4e2e56(0x233)]=_0x2cc95f,this[_0x4e2e56(0x1e8)]=_0x286bd8,this[_0x4e2e56(0x384)]());}[_0x17c635(0x384)](){const _0x588a13=_0x17c635,_0xb23ab4=this[_0x588a13(0x2e9)][_0x588a13(0x1ef)],_0x269b21=this[_0x588a13(0x1bf)];this[_0x588a13(0x322)](_0x3a9b5c([this['_collabCursorController'][_0x588a13(0x3a3)](_0xb23ab4),this[_0x588a13(0x1e8)]['currentTheme$']])[_0x588a13(0x345)](_0x54cd30(([_0x20eaae,_0x110083])=>({'skeleton':_0x269b21[_0x588a13(0x1d1)](),'cursors':[..._0x20eaae['values']()][_0x588a13(0x2dc)](_0x3f1f19=>({..._0x3f1f19,'color':this[_0x588a13(0x1e8)]['getColorFromTheme'](_0x3f1f19[_0x588a13(0x31f)])}))})))[_0x588a13(0x31b)](_0x430bd6=>{const _0x530617=_0x588a13;if(this[_0x530617(0x2d5)](),_0x430bd6){const {skeleton:_0x57fd4f,cursors:_0x58f01f}=_0x430bd6;this['_updateCollabCursors'](_0x57fd4f,_0x58f01f);}})),this[_0x588a13(0x2f1)](),this['_initCommandExecutedListener']();}[_0x17c635(0x2ea)](_0x5e7e3c,_0x18d06e){const _0x29daf1=_0x17c635,{scene:_0x5aee40,mainComponent:_0x158f16}=this['_context'],_0x22e49d=_0x18d06e[_0x29daf1(0x33c)](_0x98a36b=>new qe(_0x98a36b,_0x5aee40,_0x5e7e3c,_0x158f16));this[_0x29daf1(0x23c)]=_0x22e49d,this[_0x29daf1(0x1f2)]=_0x18d06e;}[_0x17c635(0x35e)](){const _0x5b29b2=_0x17c635;this[_0x5b29b2(0x2d5)]();const {scene:_0x2a1642,mainComponent:_0x3bb830}=this[_0x5b29b2(0x2e9)],_0x41b06c=this[_0x5b29b2(0x1bf)][_0x5b29b2(0x1d1)](),_0x440b22=this[_0x5b29b2(0x1f2)][_0x5b29b2(0x33c)](_0x496aed=>new qe(_0x496aed,_0x2a1642,_0x41b06c,_0x3bb830));this[_0x5b29b2(0x23c)]=_0x440b22;}[_0x17c635(0x2d5)](){const _0xef3cb=_0x17c635;this['_cursorShapes'][_0xef3cb(0x1d2)](_0x3868c7=>_0x3868c7[_0xef3cb(0x299)]()),this[_0xef3cb(0x23c)]=[];}[_0x17c635(0x33e)](){const _0x4f3147=_0x17c635,_0x3906a5=[_0x19901a['id']];this['disposeWithMe'](this[_0x4f3147(0x233)][_0x4f3147(0x1d3)](_0x38968d=>{const _0x2f400e=_0x4f3147;_0x3906a5['includes'](_0x38968d['id'])&&_0x38968d[_0x2f400e(0x39a)][_0x2f400e(0x1ef)]===this[_0x2f400e(0x2e9)][_0x2f400e(0x1ef)]&&this[_0x2f400e(0x35e)]();}));}[_0x17c635(0x2f1)](){const _0x244b27=_0x17c635;this[_0x244b27(0x322)](_0x12d0fe(this[_0x244b27(0x2e9)][_0x244b27(0x1b0)]['onTransformChange$'])[_0x244b27(0x345)](_0x986a90(_0x279624=>_0x279624[_0x244b27(0x23f)]===_0x2835bd[_0x244b27(0x1d8)]),_0x22fc6d(0x10))['subscribe'](()=>{const _0xbfb6ee=_0x244b27;this[_0xbfb6ee(0x35e)]();}));}};we=Mi([Z(0x1,_0x2eb397(_0x51951f)),Z(0x2,_0x2eb397(H)),Z(0x3,_0x35ee2f),Z(0x4,_0x2eb397(_0x4ffddf))],we);const wi=0x1,Pi=1.5;class Li extends _0x15bb4e{constructor(_0x355571,_0x33407d){const _0x183a01=_0x17c635;super(_0x355571,_0x33407d),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x183a01(0x278)),_(this,_0x183a01(0x33d),''),_(this,_0x183a01(0x33f),_0x183a01(0x23b)),_(this,_0x183a01(0x24c)),(_0x33407d&&this[_0x183a01(0x2b5)](_0x33407d),this[_0x183a01(0x290)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x0})),this[_0x183a01(0x1c0)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x1})));}[_0x17c635(0x2b5)](_0x561fcc){const _0x5de7c0=_0x17c635;var _0x2ca263,_0x1ee521,_0x39d959,_0xa1e424,_0x3bee00,_0x1e18fd;this[_0x5de7c0(0x309)]=(_0x2ca263=_0x561fcc[_0x5de7c0(0x31f)])!=null?_0x2ca263:this['_color'],this[_0x5de7c0(0x1f6)]=(_0x1ee521=_0x561fcc[_0x5de7c0(0x315)])!=null?_0x1ee521:this[_0x5de7c0(0x1f6)],this['_range']=(_0x39d959=_0x561fcc[_0x5de7c0(0x21e)])!=null?_0x39d959:this[_0x5de7c0(0x278)],this[_0x5de7c0(0x33d)]=(_0xa1e424=_0x561fcc[_0x5de7c0(0x2bd)])!=null?_0xa1e424:this[_0x5de7c0(0x33d)],this['_labelPosition']=(_0x3bee00=_0x561fcc[_0x5de7c0(0x37e)])!=null?_0x3bee00:this['_labelPosition'],this[_0x5de7c0(0x24c)]=(_0x1e18fd=_0x561fcc[_0x5de7c0(0x2bf)])!=null?_0x1e18fd:this[_0x5de7c0(0x24c)],this[_0x5de7c0(0x32c)]({'width':_0x561fcc[_0x5de7c0(0x37a)],'height':_0x561fcc[_0x5de7c0(0x20c)]});}[_0x17c635(0x22e)](_0x56022f){const _0x3e0b99=_0x17c635,{row:_0x59e7f3,column:_0xfdc3ca}=_0x56022f;if(_0x59e7f3>=this[_0x3e0b99(0x278)][_0x3e0b99(0x361)]&&_0x59e7f3<=this[_0x3e0b99(0x278)][_0x3e0b99(0x382)]&&_0xfdc3ca>=this[_0x3e0b99(0x278)][_0x3e0b99(0x2f0)]&&_0xfdc3ca<=this[_0x3e0b99(0x278)][_0x3e0b99(0x237)]){this[_0x3e0b99(0x2b5)]({'hovered':!0x0});return;}this[_0x3e0b99(0x2b5)]({'hovered':!0x1});}[_0x17c635(0x2a4)](_0x3e666d){return!0x1;}['_draw'](_0x8606a2){const _0x2d10b4=_0x17c635;_0x507dd3[_0x2d10b4(0x2d1)](_0x8606a2,{'width':this[_0x2d10b4(0x37a)],'height':this[_0x2d10b4(0x20c)],'strokeWidth':Pi,'stroke':this[_0x2d10b4(0x309)],'evented':!0x1,'fill':this[_0x2d10b4(0x24c)]}),this[_0x2d10b4(0x1f6)]&&(_0x8606a2[_0x2d10b4(0x24a)](),_0x8606a2[_0x2d10b4(0x22a)](0x1,0x0,0x0,0x1,this['width'],this[_0x2d10b4(0x33f)]==='bottom'?0x0:-0x14),he[_0x2d10b4(0x2d1)](_0x8606a2,{'text':this['_name'],'color':this[_0x2d10b4(0x309)]}),_0x8606a2['restore']());}}var Ai=Object[_0x17c635(0x23d)],yi=(_0x289e49,_0xb31c7f,_0x4e0225,_0x585238)=>{const _0x3734d5=_0x17c635;for(var _0x15da37=_0x585238>0x1?void 0x0:_0x585238?Ai(_0xb31c7f,_0x4e0225):_0xb31c7f,_0x1b57f4=_0x289e49[_0x3734d5(0x25c)]-0x1,_0x2ae702;_0x1b57f4>=0x0;_0x1b57f4--)(_0x2ae702=_0x289e49[_0x1b57f4])&&(_0x15da37=_0x2ae702(_0x15da37)||_0x15da37);return _0x15da37;},ve=(_0x27b672,_0x23b50e)=>(_0x30ccf1,_0xbc32a4)=>_0x23b50e(_0x30ccf1,_0xbc32a4,_0x27b672);const $i=0x1389;let Pe=class extends _0x5c44e6{constructor(_0x229a0b,_0x5a6e38,_0x18e1a7,_0x20e790){const _0x1163f1=_0x17c635;super(),_(this,_0x1163f1(0x1f2),new Set()),_(this,_0x1163f1(0x34c),null),(this[_0x1163f1(0x2e9)]=_0x229a0b,this[_0x1163f1(0x28a)]=_0x5a6e38,this[_0x1163f1(0x277)]=_0x18e1a7,this['_themeService']=_0x20e790,this[_0x1163f1(0x384)]());}[_0x17c635(0x384)](){const _0x525792=_0x17c635;this[_0x525792(0x28a)][_0x525792(0x350)][_0x525792(0x345)](_0xc03ae9(this[_0x525792(0x386)]),_0x5a631c(_0x121b0a=>{const _0x446654=_0x525792;if(_0x121b0a){const _0x2a72f9=_0x121b0a[_0x446654(0x287)];return _0x3a9b5c(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x446654(0x1ef)]),this[_0x446654(0x1e8)][_0x446654(0x348)])[_0x446654(0x345)](_0x54cd30(([_0x514115,_0x28503e])=>{const _0x15a850=_0x446654,_0x1dbfa6=new Map();return _0x514115[_0x15a850(0x1d2)]((_0x2ddd6b,_0x410993)=>{const _0x30922c=_0x15a850;if(_0x2ddd6b[_0x30922c(0x2ca)]===_0x2a72f9){const _0x40dbdf={..._0x2ddd6b};_0x40dbdf[_0x30922c(0x31f)]=this[_0x30922c(0x1e8)][_0x30922c(0x38d)](_0x2ddd6b[_0x30922c(0x31f)]),_0x1dbfa6[_0x30922c(0x1c2)](_0x410993,_0x40dbdf);}}),{'skeleton':_0x121b0a,'cursors':_0x1dbfa6};}));}return _0x3ac931({'skeleton':null,'cursors':new Map()});}))[_0x525792(0x31b)](({skeleton:_0x579b71,cursors:_0x354613})=>{const _0x5c42ce=_0x525792;this[_0x5c42ce(0x2d5)](),_0x579b71&&this[_0x5c42ce(0x2ea)](_0x579b71,_0x354613);}),this['_sheetSkeletonManagerService'][_0x525792(0x350)]['subscribe'](_0x41c78e=>{const _0x29f1eb=_0x525792;if(_0x41c78e==null)return;const {skeleton:_0x4dded1}=_0x41c78e,{scene:_0x43cae1}=this[_0x29f1eb(0x2e9)];_0x43cae1[_0x29f1eb(0x1e9)][_0x29f1eb(0x35a)](_0x27ab95(_0x27ff97=>{const _0x3d9384=_0x29f1eb;var _0x23462b,_0x41d3bb;const {offsetX:_0x2e1b03,offsetY:_0x3d8ff1}=_0x27ff97,{x:_0x21876a,y:_0x2d6dc9}=_0x43cae1[_0x3d9384(0x37f)](_0x4e7430['FromArray']([_0x2e1b03,_0x3d8ff1])),{scaleX:_0x5bb616,scaleY:_0x33f0df}=_0x43cae1['getAncestorScale'](),_0xac86ec=_0x43cae1[_0x3d9384(0x1c9)](_0xd886c9['VIEW_MAIN']),_0x5cbd95=_0x43cae1['getVpScrollXYInfoByPosToVp'](_0x4e7430[_0x3d9384(0x34a)]([_0x21876a,_0x2d6dc9]),_0xac86ec),_0x1c8725=_0x4dded1['getCellPositionByOffset'](_0x2e1b03,_0x3d8ff1,_0x5bb616,_0x33f0df,_0x5cbd95);((_0x23462b=this[_0x3d9384(0x34c)])==null?void 0x0:_0x23462b[_0x3d9384(0x2bc)])===_0x1c8725[_0x3d9384(0x2bc)]&&((_0x41d3bb=this['_lastPointer'])==null?void 0x0:_0x41d3bb[_0x3d9384(0x377)])===_0x1c8725[_0x3d9384(0x377)]||this[_0x3d9384(0x1f2)][_0x3d9384(0x1d2)](_0x1dd66f=>{const _0x5d2f35=_0x3d9384;_0x1dd66f[_0x5d2f35(0x22e)](_0x1c8725);});},0x64));});}[_0x17c635(0x2ea)](_0x27c119,_0x4cc4a4){const _0x5d7a31=_0x17c635;var _0x577db7;const _0x15b842=(_0x577db7=this[_0x5d7a31(0x28a)][_0x5d7a31(0x352)]())==null?void 0x0:_0x577db7[_0x5d7a31(0x36d)];if(!_0x15b842)return;const _0x5c4c83=this[_0x5d7a31(0x383)]();if(!_0x5c4c83)return;this['_cursors'][_0x5d7a31(0x1d2)](_0x559021=>{const _0x1b98e0=_0x5d7a31;_0x559021[_0x1b98e0(0x1f3)]();});const {scene:_0xcaecc9}=_0x5c4c83,_0x23fc90=xi(Array[_0x5d7a31(0x239)](_0x4cc4a4[_0x5d7a31(0x2f2)]()))[_0x5d7a31(0x33c)](_0x29c97a=>{const _0x45ae7b=_0x5d7a31,{color:_0x4c3205,range:_0x602182,name:_0x2b9178,selection:_0x255e90,sheetID:_0x290b12}=_0x29c97a,{startColumn:_0xe0d6f3,startRow:_0x27838e,endColumn:_0x2ebfd2,endRow:_0x4f6c4f}=_0x602182,_0x2155c8=_0x55f2dc(_0x27838e,_0xe0d6f3,_0xcaecc9,_0x15b842),_0x44d50a=_0x55f2dc(_0x4f6c4f,_0x2ebfd2,_0xcaecc9,_0x15b842),{columnHeaderHeightAndMarginTop:_0x41db43}=_0x15b842,{startX:_0xe074b5,startY:_0x41c526}=_0x2155c8,{endX:_0x15e530,endY:_0x59eb6a}=_0x44d50a,_0x529718=_0x15e530-_0xe074b5,_0x55a563=_0x59eb6a-_0x41c526,_0x5cd16b={'labelPosition':_0x41c526-_0x41db43>=ee?_0x45ae7b(0x23b):_0x45ae7b(0x20e),'sheetID':_0x290b12,'range':_0x602182,'color':_0x4c3205,'name':_0x2b9178,'selection':_0x255e90,'left':_0xe074b5,'top':_0x41c526,'width':_0x529718,'height':_0x55a563,'evented':!0x1,'zIndex':$i};return new Li(_0x2b9178,_0x5cd16b);});_0xcaecc9[_0x5d7a31(0x29a)](_0x23fc90,wi),this[_0x5d7a31(0x1f2)]=new Set(_0x23fc90);}[_0x17c635(0x2d5)](){var _0x39df67;(_0x39df67=this['_cursors'])==null||_0x39df67['forEach'](_0x168546=>_0x168546['dispose']());}[_0x17c635(0x383)](){const _0x245349=_0x17c635;return _0x30498b(this[_0x245349(0x2e9)]['unit'],this[_0x245349(0x2e9)]);}};Pe=yi([ve(0x1,_0x2eb397(_0x25e49a)),ve(0x2,_0x2eb397(H)),ve(0x3,_0x2eb397(_0x4ffddf))],Pe);function xi(_0x511085){const _0x5a8ba2=_0x17c635,_0x20352d=new Map();return _0x511085[_0x5a8ba2(0x1d2)](_0x3e62ab=>{const _0x42f397=_0x5a8ba2;if(_0x20352d[_0x42f397(0x329)](_0x3e62ab[_0x42f397(0x371)])){const _0x286775=_0x20352d[_0x42f397(0x318)](_0x3e62ab[_0x42f397(0x371)]);_0x286775[_0x42f397(0x2bd)]+=',\x20'+_0x3e62ab[_0x42f397(0x2bd)];}else _0x20352d[_0x42f397(0x1c2)](_0x3e62ab[_0x42f397(0x371)],_0x3e62ab);}),Array[_0x5a8ba2(0x239)](_0x20352d[_0x5a8ba2(0x2f2)]());}var v=function(){return v=Object['assign']||function(_0x123134){const _0x394015=_0x13d3;for(var _0x4185d4,_0x1bf157=0x1,_0x1d9a67=arguments[_0x394015(0x25c)];_0x1bf157<_0x1d9a67;_0x1bf157++){_0x4185d4=arguments[_0x1bf157];for(var _0x93399c in _0x4185d4)Object[_0x394015(0x224)]['hasOwnProperty'][_0x394015(0x372)](_0x4185d4,_0x93399c)&&(_0x123134[_0x93399c]=_0x4185d4[_0x93399c]);}return _0x123134;},v['apply'](this,arguments);},Bi=function(_0x4f9f4f,_0x197dc4){const _0x1c939e=_0x17c635;var _0x135ba8={};for(var _0x542ddc in _0x4f9f4f)Object[_0x1c939e(0x224)][_0x1c939e(0x39e)][_0x1c939e(0x372)](_0x4f9f4f,_0x542ddc)&&_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc)<0x0&&(_0x135ba8[_0x542ddc]=_0x4f9f4f[_0x542ddc]);if(_0x4f9f4f!=null&&typeof Object[_0x1c939e(0x1c3)]=='function'){for(var _0x4587e5=0x0,_0x542ddc=Object[_0x1c939e(0x1c3)](_0x4f9f4f);_0x4587e5<_0x542ddc[_0x1c939e(0x25c)];_0x4587e5++)_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc[_0x4587e5])<0x0&&Object[_0x1c939e(0x224)][_0x1c939e(0x1d7)]['call'](_0x4f9f4f,_0x542ddc[_0x4587e5])&&(_0x135ba8[_0x542ddc[_0x4587e5]]=_0x4f9f4f[_0x542ddc[_0x4587e5]]);}return _0x135ba8;},je=_0x3e3ee3(function(_0x44016d,_0x13ea6f){const _0x16ee45=_0x17c635;var _0x5bfd2d=_0x44016d[_0x16ee45(0x244)],_0x149448=_0x44016d['id'],_0x26c061=_0x44016d[_0x16ee45(0x1ad)],_0x18f3ca=_0x44016d[_0x16ee45(0x210)],_0x1d1378=Bi(_0x44016d,['icon','id','className',_0x16ee45(0x210)]),_0x1a9572=_0x16ee45(0x2e2)[_0x16ee45(0x28c)](_0x149448,'\x20')['concat'](_0x26c061||'')[_0x16ee45(0x389)](),_0x223e50=_0x1af6e7('_'[_0x16ee45(0x28c)](ji()));return Rt(_0x5bfd2d,''['concat'](_0x149448),{'defIds':_0x5bfd2d[_0x16ee45(0x2a0)],'idSuffix':_0x223e50[_0x16ee45(0x1f1)]},v({'ref':_0x13ea6f,'className':_0x1a9572},_0x1d1378),_0x18f3ca);});function Rt(_0x24f639,_0x4c3fe0,_0x99eef2,_0x3acbfe,_0x228db6){const _0x51e275=_0x17c635;return _0x540591(_0x24f639['tag'],v(v({'key':_0x4c3fe0},ki(_0x24f639,_0x99eef2,_0x228db6)),_0x3acbfe),(Hi(_0x24f639,_0x99eef2)[_0x51e275(0x321)]||[])['map'](function(_0x545874,_0x1d4c37){const _0x2512e5=_0x51e275;return Rt(_0x545874,''[_0x2512e5(0x28c)](_0x4c3fe0,'-')[_0x2512e5(0x28c)](_0x24f639[_0x2512e5(0x2dd)],'-')[_0x2512e5(0x28c)](_0x1d4c37),_0x99eef2,void 0x0,_0x228db6);}));}function ki(_0x1929de,_0x256bd6,_0x198fe9){const _0x3d247f=_0x17c635;var _0xf07cc5=v({},_0x1929de[_0x3d247f(0x1d4)]);_0x198fe9!=null&&_0x198fe9[_0x3d247f(0x258)]&&_0xf07cc5[_0x3d247f(0x228)]===_0x3d247f(0x258)&&(_0xf07cc5['fill']=_0x198fe9[_0x3d247f(0x258)]),_0x1929de[_0x3d247f(0x2dd)]==='mask'&&_0xf07cc5['id']&&(_0xf07cc5['id']=_0xf07cc5['id']+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x463e7b){const _0x16b1e9=_0x3d247f;var _0x2682a6=_0x463e7b[0x0],_0x2929c1=_0x463e7b[0x1];_0x2682a6===_0x16b1e9(0x25a)&&typeof _0x2929c1==_0x16b1e9(0x3a1)&&(_0xf07cc5[_0x2682a6]=_0x2929c1[_0x16b1e9(0x1cb)](/url\(#(.*)\)/,_0x16b1e9(0x216)[_0x16b1e9(0x28c)](_0x256bd6['idSuffix'],')')));});var _0x281e0=_0x256bd6[_0x3d247f(0x2a0)];return!_0x281e0||_0x281e0['length']===0x0||(_0x1929de[_0x3d247f(0x2dd)]===_0x3d247f(0x355)&&_0xf07cc5[_0x3d247f(0x1ae)]&&(_0xf07cc5[_0x3d247f(0x1ae)]=_0xf07cc5[_0x3d247f(0x1ae)]+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x179a91){const _0x26eb61=_0x3d247f;var _0x1f592f=_0x179a91[0x0],_0x5d362a=_0x179a91[0x1];typeof _0x5d362a==_0x26eb61(0x3a1)&&(_0xf07cc5[_0x1f592f]=_0x5d362a[_0x26eb61(0x1cb)](/url\(#(.*)\)/,_0x26eb61(0x216)['concat'](_0x256bd6['idSuffix'],')')));})),_0xf07cc5;}function Hi(_0x437b94,_0x50d0fd){const _0x7e121d=_0x17c635;var _0x3e5de2,_0x53342c=_0x50d0fd['defIds'];return!_0x53342c||_0x53342c[_0x7e121d(0x25c)]===0x0?_0x437b94:_0x437b94[_0x7e121d(0x2dd)]===_0x7e121d(0x1f0)&&(!((_0x3e5de2=_0x437b94[_0x7e121d(0x321)])===null||_0x3e5de2===void 0x0)&&_0x3e5de2[_0x7e121d(0x25c)])?v(v({},_0x437b94),{'children':_0x437b94['children'][_0x7e121d(0x33c)](function(_0x383840){const _0x5ee2ca=_0x7e121d;return typeof _0x383840[_0x5ee2ca(0x1d4)]['id']=='string'&&_0x53342c&&_0x53342c[_0x5ee2ca(0x238)](_0x383840[_0x5ee2ca(0x1d4)]['id'])?v(v({},_0x383840),{'attrs':v(v({},_0x383840[_0x5ee2ca(0x1d4)]),{'id':_0x383840[_0x5ee2ca(0x1d4)]['id']+_0x50d0fd[_0x5ee2ca(0x29c)]})}):_0x383840;})}):_0x437b94;}function ji(){const _0x2dc0a3=_0x17c635;return Math[_0x2dc0a3(0x25f)]()[_0x2dc0a3(0x207)](0x24)['substring'](0x2,0x8);}je[_0x17c635(0x1ee)]=_0x17c635(0x2bb);var Yi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':_0x17c635(0x205),'fill':'none','viewBox':_0x17c635(0x2d9),'width':_0x17c635(0x2f7),'height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x17c635(0x266)},'children':[{'tag':'path','attrs':{'stroke':_0x17c635(0x38b),'d':_0x17c635(0x275),'strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':_0x17c635(0x349)},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x17c635(0x349)]},Dt=_0x3e3ee3(function(_0x261352,_0x3d3706){const _0x2dad7e=_0x17c635;return _0x540591(je,Object[_0x2dad7e(0x2e6)]({},_0x261352,{'id':_0x2dad7e(0x32b),'ref':_0x3d3706,'icon':Yi}));});Dt[_0x17c635(0x1ee)]='OffLineIcon';var Fi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x17c635(0x1f7),'width':'1em','height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'stroke':_0x17c635(0x38b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z','transform':_0x17c635(0x236)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3ee3(function(_0x302b09,_0x2ec3b5){const _0x40de27=_0x17c635;return _0x540591(je,Object['assign']({},_0x302b09,{'id':_0x40de27(0x327),'ref':_0x2ec3b5,'icon':Fi}));});Nt['displayName']=_0x17c635(0x303);function Wi(_0x3d33d9){const _0x52e700=_0x17c635;switch(_0x3d33d9){case _0x2affd3['OFFLINE']:return'collabStatus.offline';case _0x2affd3[_0x52e700(0x359)]:return _0x52e700(0x2ba);case _0x2affd3[_0x52e700(0x267)]:return _0x52e700(0x2ee);case _0x2affd3[_0x52e700(0x392)]:return _0x52e700(0x1ed);case _0x2affd3[_0x52e700(0x38f)]:case _0x2affd3[_0x52e700(0x229)]:return'collabStatus.syncing';case _0x2affd3[_0x52e700(0x1e4)]:case _0x2affd3[_0x52e700(0x27c)]:return _0x52e700(0x27f);}}function Vi(_0x70e917){const _0x29143e=_0x17c635,{status$:_0x381b1b}=_0x70e917,_0x295305=_0x1756a6(_0x381b1b,_0x2affd3[_0x29143e(0x392)]),_0x4a377e=_0x1558ad(_0x1123b3),_0x11bfc8=_0x1558ad(_0x4a7bfc),_0x3ffee4=_0x295305!==_0x2affd3[_0x29143e(0x32f)],_0x64e475=_0x4a377e['t'](Wi(_0x295305)),_0x3e2ebe=_0x3ffee4?_0x30f419(Nt,{}):_0x30f419(Dt,{}),_0x188edb=_0x5e76e6(()=>{_0x3ffee4||_0x11bfc8['reconnect']();},[_0x3ffee4,_0x11bfc8]);function _0x10ec13(){const _0x1f4dad=_0x29143e;return _0xf931a5(_0x1f4dad(0x284),{'className':_0x1f4dad(0x2ad),'onClick':_0x188edb,'children':[_0x30f419(_0x1f4dad(0x284),{'className':_0x8ec4b2(_0x1f4dad(0x26a),{'univer-text-green-500':_0x3ffee4,'univer-text-red-500':!_0x3ffee4}),'children':_0x3e2ebe}),_0x30f419(_0x1f4dad(0x284),{'className':_0x1f4dad(0x265),'children':_0x64e475})]});}return _0x3ffee4?_0x10ec13():_0x30f419(_0x1a9e1d,{'title':_0x4a377e['t'](_0x29143e(0x1fd)),'children':_0x10ec13()});}var Xi=Object[_0x17c635(0x23d)],Gi=(_0x4df382,_0x4b5f08,_0x2d1f66,_0x46e36d)=>{const _0xa69da1=_0x17c635;for(var _0x273c3a=_0x46e36d>0x1?void 0x0:_0x46e36d?Xi(_0x4b5f08,_0x2d1f66):_0x4b5f08,_0x2503ea=_0x4df382[_0xa69da1(0x25c)]-0x1,_0x13beb6;_0x2503ea>=0x0;_0x2503ea--)(_0x13beb6=_0x4df382[_0x2503ea])&&(_0x273c3a=_0x13beb6(_0x273c3a)||_0x273c3a);return _0x273c3a;},Q=(_0x5725af,_0x2f42f9)=>(_0x4222c2,_0x474ed7)=>_0x2f42f9(_0x4222c2,_0x474ed7,_0x5725af);let te=class extends _0x629666{constructor(_0x3f463d,_0x567230,_0x5bb513,_0x102a25){const _0x261d28=_0x17c635;super(),_(this,'_status$',new _0x5db965(_0x2affd3[_0x261d28(0x392)])),(this['_univerInstanceService']=_0x3f463d,this[_0x261d28(0x25b)]=_0x567230,this[_0x261d28(0x1cf)]=_0x5bb513,this[_0x261d28(0x373)]=_0x102a25,this[_0x261d28(0x271)](),this[_0x261d28(0x366)]());}[_0x17c635(0x366)](){const _0x2a09a7=_0x17c635;this['disposeWithMe'](this[_0x2a09a7(0x1a2)][_0x2a09a7(0x311)][_0x2a09a7(0x345)](_0x4fcdee(()=>{const _0x3d1f1e=_0x2a09a7,_0x23827f=this['_univerInstanceService'][_0x3d1f1e(0x1a6)]();return _0x23827f?this['_collaborationController']['getCollabEntity$'](_0x23827f[_0x3d1f1e(0x21b)]()):_0x3ac931(null);}),_0x4fcdee(_0x4ad51e=>_0x4ad51e?_0x4ad51e[_0x2a09a7(0x23e)]:_0x3ac931(_0x2affd3[_0x2a09a7(0x392)])))[_0x2a09a7(0x31b)](_0x3283b4=>{this['_status$']['next'](_0x3283b4);}));}[_0x17c635(0x271)](){const _0x399f1f=_0x17c635;this[_0x399f1f(0x322)](this[_0x399f1f(0x373)][_0x399f1f(0x1ec)](_0x56bc18['HEADER_MENU'],()=>_0xcefb2d(Ki({'status$':this['_status$'][_0x399f1f(0x300)]()}),this[_0x399f1f(0x25b)])));}};te=Gi([Q(0x0,_0x26b67a),Q(0x1,_0x2eb397(_0x597056)),Q(0x2,_0x2eb397(_0x5b2169)),Q(0x3,_0x1dd70f)],te);function Ki(_0x1cd1ad){const {status$:_0x3e2711}=_0x1cd1ad;return function(){return _0x30f419(Vi,{'status$':_0x3e2711});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x291b10,_0x21e403,_0x340ab9,_0x13926d)=>{const _0x31cdb1=_0x17c635;for(var _0x24fa35=_0x13926d>0x1?void 0x0:_0x13926d?zi(_0x21e403,_0x340ab9):_0x21e403,_0x265e84=_0x291b10[_0x31cdb1(0x25c)]-0x1,_0x34f207;_0x265e84>=0x0;_0x265e84--)(_0x34f207=_0x291b10[_0x265e84])&&(_0x24fa35=_0x34f207(_0x24fa35)||_0x24fa35);return _0x24fa35;},B=(_0x4a0b18,_0x39e3eb)=>(_0x384c32,_0x29a12a)=>_0x39e3eb(_0x384c32,_0x29a12a,_0x4a0b18);let se=class extends _0x629666{constructor(_0x2f98b3,_0x9750f2,_0x2ac690,_0x538c96,_0x59cc8d,_0x48b597){const _0x302716=_0x17c635;super(),this[_0x302716(0x1dc)]=_0x2f98b3,this['_localCacheService']=_0x9750f2,this[_0x302716(0x2b3)]=_0x2ac690,this[_0x302716(0x261)]=_0x538c96,this[_0x302716(0x365)]=_0x59cc8d,this[_0x302716(0x387)]=_0x48b597,this[_0x302716(0x306)](),this['_initEvent']();}[_0x17c635(0x306)](){const _0x58df74=_0x17c635;this[_0x58df74(0x322)](this[_0x58df74(0x1dc)][_0x58df74(0x215)](()=>{const _0x54382b=_0x58df74;if(this['_localCacheService'][_0x54382b(0x2a1)][_0x54382b(0x325)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x17c635(0x37c)](){const _0x19fbcc=_0x17c635;this[_0x19fbcc(0x322)](this[_0x19fbcc(0x2b3)]['event$'][_0x19fbcc(0x31b)](_0x2390e0=>{const _0x2ad9f6=_0x19fbcc;_0x2390e0['id']===_0x23a4aa['OTHER_CLIENT_EDITING']&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this['_localeService']['t'](_0x2ad9f6(0x2a9))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x248)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x220))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x357)]&&this[_0x2ad9f6(0x365)][_0x2ad9f6(0x270)]({'title':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x336)),'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x1b4)),'type':_0x2ad9f6(0x1c7),'duration':0x0}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x359)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Error'],'content':this['_localeService']['t'](_0x2ad9f6(0x220))+'('+_0x2390e0['data']+')'}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x26f)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2390e0[_0x2ad9f6(0x2d8)]||'')}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x297)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x35b))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x332)]&&this['_messageService'][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this['_localeService']['t'](_0x2ad9f6(0x34e))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x368)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x31d))});}));}};se=Ji([B(0x0,_0x4195b2),B(0x1,_0x12eac7),B(0x2,_0x2eb397(_0x217d1b)),B(0x3,_0x2d0054),B(0x4,_0xec008e),B(0x5,_0x2eb397(_0x1123b3))],se);function _0xf6ea(){const _0x8161db=['getCurrentUnitForType','whenReady','range','_scheduleHeartbeat','collaboration.closeRoom','ENSURE_SNAPSHOT_EXECUTION','_entities','_urlService','prototype','disposeUnit','UNIVER_SHEET','_collabSessionService','fill','AWAITING_WITH_PENDING','transform','pushState','_scheduleClearOtherTimer','isActive','onMouseMove','_colorAssignService','_updateSubUnitFromURLParams','_localStorageService','_scene','_commandService','transformStateCache','setParam','translate(.97)','endColumn','includes','from','getConfig','top','_cursorShapes','getOwnPropertyDescriptor','status$','type','UPDATE_CURSOR','subunit','debug','MUTATION','icon','TOO_MANY_REQUESTS','_docTransformStateCacheService','runOnServer','CLOSE_ROOM','NOT_FOUND','save','transformMutationsWithChangeset','_backgroundColor','executeCommand','MoveRangeCommandId','push','_handleEvent','_shapes','[CollaborationDataLoaderController]','application/json','getMemberID','314872UGiByC','getUnitStatus$','executionId','colorChannel1','split','mask','_injector','length','_instanceService','add','random','getUndoRedoMutationParamsCache','_messageService','_onRefRangeChange','mutations','UNDEFINED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#off-line-icon_clip0_910_343)','FETCH_MISS','_hideTimer','roomMembers$','univer-flex\x20univer-mr-2\x20univer-text-xl','setItem','searchParams','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','JOIN_ROOM_FAILED','show','_initStatusComponent','INVALID_ARGUMENT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','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','init','_collabCursorController','_range','_send','_anchor','event$','PENDING','_cursorInfo$','sessionTicket','collabStatus.synced','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','purple.300','contains','div','getMember','generateRandomId','sheetId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','33qYThEJ','_sheetSkeletonManagerService','_handleLeaveEvent','concat','1151544AfqVzq','onLocalMutation','_updateLocalCursor','onPointerEnter$','collaboration-client-ui.config','invokeId','LICENSE_EXPORT_SIZE_EXCEEDED','_session','removeParam','_doCreateSocket','SOCKET_FAILED_RETRY','UNAUTHENTICATED','dispose','addObjects','APPLY_PERMISSION_DENIED','idSuffix','setInterval','20ddUTqf','USERS_LEAVE','defIds','saveTaskMap','RECT','_logService','triggerDblclick','black','addEventListener','_drawAnchor','clipPath','collaboration.single-unit.warning','_docSyncEditingCollabCursorService','evenodd','_clearOtherTimers','univer-flex\x20univer-items-center','ranges','jiqing.500','_updateURLWithCurrentState','createSocket','round','_collaborationUIEventService','findNodePositionByCharIndex','setShapeProps','closePath','getValue','eventID','collab-text-anchor-','collabStatus.conflict','UniverIcon','column','name','146zxKQlg','backgroundColor','_createSocketURL','_collabCursorState$','_refRangeService','_initEntityListener','transformSelections','unshift','redoState','APPLY_DUPLICATED','white','some','sheetID','_cursor','_disabled','beginPath','_httpService','getCurrentRevOfUnit','svg','drawWith','fillText','yellow.400','YUUMI_AI_RUN_FAILED','_removeCollabCursors','editingUnit','_syncEditingCollabCursorService','data','0\x200\x2016\x2016','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','body','flatMap','tag','_docTransformSelectionsService','/run/','INVITE_CODE_REQUIRED','_handleHover','univerjs-icon\x20univerjs-icon-','complete','getSheetId','key','assign','Warning','then','_context','_updateCollabCursors','actions','loadOfflineData','_memberService','collabStatus.fetchMiss','undoState','startColumn','_initResize','values','LICENSE_IMPORT_SIZE_EXCEEDED','delete','cursorInfo','history','1em','_onCursorUpdate','getSheetBySheetId','wsSessionTicketUrl','href','_saveTaskMap','fillRule','_online','newValue','asObservable','post','_revisionService','OnLineIcon','unit','addHandlerCallback','_setupBeforeClosingHandler','unload','addObject','_color','INVALID_INVITE_CODE','disableLocalCache','urlChange$','Failed','CONNECTOR_DATA_TOO_LARGE','YUUMI_SUBSCRIPTION_NOT_FOUND','unitID','focused$','entries','RemoveRowCommandId','_dataLoaderService','hovered','createInstance','1247016kJlVkG','get','ALREADY_EXISTS','_toggleOnline','subscribe','_renderManagerService','session.collaboration-timeout','setStateCache','color','getCurrentSelections','children','disposeWithMe','WECHAT_HAS_BEEN_BOUND','_getScale','size','_docStateChangeManagerService','on-line-icon','_anchorDot','has','next','off-line-icon','transformByState','registerRefRange','path','OFFLINE','setConfig','_getSessionTicket','SOCKET_FAILED','TEXT','doc.mutation.rich-text-editing','#FFF','permission.title','send','_setupSubUnitSync','_unitOnClients','with','setActiveRange','map','_name','_initCommandExecutedListener','_labelPosition','isArray','InsertRowCommandId','code','subUnitId','getUniverSheetInstance','pipe','collab-rect-range-','_saveCache','currentTheme$','off-line-icon_clip0_910_343','FromArray','_unitStatus','_lastPointer','transformRemoteChangeset','session.connection-failed','getActiveSheet','currentSkeleton$','RemoveColCommandId','getCurrent','_draw','imageSourceType','use','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','CONFLICT','subscribeEvent','session.will-retry','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refreshCollabCursors','selections','_document','startRow','_removeClearOtherTimer','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','_initStatusListener','_eventUnsubscribe','SUBMIT_CHANGESET_TIMEOUT','_transformUndoRedoStack','unsubscribe','_toggleOffline','transformMutation','skeleton','ONLINE','min','_docClipboardService','selection','call','_uiPartsService','NO_OTHER_CLIENTS_EDITING','red.300','_docTransformIMECacheService','row','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_assignedColors','width','registerRenderModule','_initEvent','12175QuJaqd','labelPosition','getRelativeToViewportCoord','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','result','endRow','_getSheetObject','_init','_textBubble','dispose$','_localeService','source','trim','blue.400','currentColor','_ensureSubject','getColorFromTheme','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','_registerDependencies','m2Prime','NOT_COLLAB','_getSaveTimeout','pluginName','stringify','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','_colorIndex','_roomMembers$','params','LICENSE_MAX_UNITS_EXCEEDED','arc','max','hasOwnProperty','UNIVER_DOC','font','string','CHANGESET_REVISION_CONFILICT','getCollabCursors$','SNAPSHOT_INVALID_SNAPSHOT','5941170rZvmQg','USER_NOT_INVITED_CODE','requireSession','location','_univerInstanceService','...','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','getFocusedUnit','_heartbeatTimer','getStateCache','_drawTextRange','docStateChange$','setAlpha','memberID','className','xlink:href','_configService','engine','assignAColorForMemberID','getRenderById','APPLY_REVISION_CONFILICT','permission.content','enableLocalCache','replaceDocRanges','clearInterval','_handleHeartbeatEvent','lineTo','_handleJoinEvent','collabCursorState$','popstate','indexOf','deepClone','_docSkeletonManagerService','onPointerLeave$','text','set','getOwnPropertySymbols','_transformHistoryAndStateStack','_startDocCollabCursor','restore','error','getParam','getViewport','YUUMI_ASYNCIO_CANCELLED','replace','_status$','roomMembers','toRgbString','_collaborationController','_drawRectRange','getSkeleton','forEach','onCommandExecuted','attrs','2382513lgtGMG','InsertColCommandId','propertyIsEnumerable','resize','_registerRenderDependencies','36bchJPz','hide','_beforeCloseService','_id','getTypeOfUnitAdded$','activeSheet$','getDocRanges','moveTo','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','SYNCED','INVITE_CODE_ALREADY_BOUND','_render','textRanges','_themeService','onPointerMove$','m1Prime','defineProperty','registerComponent','collabStatus.notCollab','displayName','unitId','defs','current','_cursors','makeDirty','measureText','_startSheetCollabCursor','_hovered','0\x200\x2017\x2016','_selfUnitIDs','InsertRangeMoveDownCommandId','INTERNAL_ERROR','transformIMECache','onRendered','collab-client.tooltip.reconnect','green.600','replaceState','_docSkeleton','symbol','Error','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','http://www.w3.org/2000/svg','sessionStatus$','toString','YUUMI_ALL_TABLES_IS_INVALID','_cachedData','Unknown\x20user','runId','height','PY_RUNTIME_SCRIPT_ERROR','bottom','_getMergeRange','extend','3389736TfjIXQ','InsertRangeMoveRightCommandId','_entityInit$','_onCursorDelete','registerBeforeClose','url(#$1','isEditing','cursorInfo$','UNRECOGNIZED','getItem','getUnitId'];_0xf6ea=function(){return _0x8161db;};return _0xf6ea();}const Zi=_0x17c635(0x291),et={},Ut=_0x284797('uni.network.url-service');var Qi=Object[_0x17c635(0x23d)],qi=(_0x5bf793,_0x2b5818,_0x51cb2b,_0x5bbcce)=>{const _0x372479=_0x17c635;for(var _0x25be08=_0x5bbcce>0x1?void 0x0:_0x5bbcce?Qi(_0x2b5818,_0x51cb2b):_0x2b5818,_0x345aac=_0x5bf793[_0x372479(0x25c)]-0x1,_0x2de342;_0x345aac>=0x0;_0x345aac--)(_0x2de342=_0x5bf793[_0x345aac])&&(_0x25be08=_0x2de342(_0x25be08)||_0x25be08);return _0x25be08;},G=(_0x239163,_0x51daef)=>(_0x543428,_0xcdee7a)=>_0x51daef(_0x543428,_0xcdee7a,_0x239163);let ie=class extends _0x5c44e6{constructor(_0x1a8f96,_0x3f9c31,_0x59663b,_0x39aa35,_0x30444a){const _0x5e02c7=_0x17c635;super(),this[_0x5e02c7(0x223)]=_0x1a8f96,this['_logService']=_0x3f9c31,this[_0x5e02c7(0x233)]=_0x59663b,this[_0x5e02c7(0x314)]=_0x39aa35,_0x30444a?_0x30444a==null||_0x30444a[_0x5e02c7(0x21d)]()[_0x5e02c7(0x2e8)](()=>this['_init']()):(this['_logService'][_0x5e02c7(0x242)](_0x5e02c7(0x252),_0x5e02c7(0x26e)),this[_0x5e02c7(0x384)]());}async[_0x17c635(0x384)](){const _0xbc4304=_0x17c635,_0x1bf939=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x304)),_0x2a87a4=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x23f)),_0x10645e=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)]('subunit');if(!_0x1bf939||!_0x2a87a4){this[_0xbc4304(0x2a3)][_0xbc4304(0x242)](_0xbc4304(0x252),_0xbc4304(0x273));return;}const _0x33cdaa=await this['_dataLoaderService']['loadUnit'](_0x1bf939,Number(_0x2a87a4),_0x10645e);_0x33cdaa&&_0x33cdaa instanceof _0x9a8bc3&&this[_0xbc4304(0x338)](_0x33cdaa);}async[_0x17c635(0x338)](_0x22da6c){const _0x525b28=_0x17c635;await this[_0x525b28(0x230)](_0x22da6c),_0x22da6c[_0x525b28(0x1df)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))['subscribe'](_0x5dafce=>{const _0x37bd3b=_0x525b28;_0x5dafce&&this[_0x37bd3b(0x2b0)](_0x5dafce);}),this[_0x525b28(0x223)][_0x525b28(0x30c)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))[_0x525b28(0x31b)](()=>this[_0x525b28(0x230)](_0x22da6c));}[_0x17c635(0x2b0)](_0x14d5bd,_0x7fdb81=!0x1){const _0x508920=_0x17c635,_0x58f31e=this[_0x508920(0x223)][_0x508920(0x1c8)]('subunit');_0x14d5bd[_0x508920(0x2e4)]()!==_0x58f31e&&this['_urlService'][_0x508920(0x235)](_0x508920(0x241),_0x14d5bd['getSheetId'](),_0x7fdb81);}async[_0x17c635(0x230)](_0x1be852){const _0x18e368=_0x17c635;var _0x3e0cd0;const _0x186ede=this[_0x18e368(0x223)][_0x18e368(0x1c8)](_0x18e368(0x241));if(!_0x186ede||!_0x1be852[_0x18e368(0x2f9)](_0x186ede)){const _0x2fd6a3=_0x1be852['getUnhiddenWorksheets']()[0x0],_0x3ffd05=_0x1be852[_0x18e368(0x2f9)](_0x2fd6a3);if(!_0x3ffd05)return;this[_0x18e368(0x2b0)](_0x3ffd05,!0x0),await this[_0x18e368(0x233)][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x2fd6a3});return;}((_0x3e0cd0=_0x1be852[_0x18e368(0x34f)]())==null?void 0x0:_0x3e0cd0[_0x18e368(0x2e4)]())!==_0x186ede&&await this['_commandService'][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x186ede});}};ie=qi([G(0x0,Ut),G(0x1,_0xaeedb1),G(0x2,_0x35ee2f),G(0x3,_0x2eb397(_0x18d58b)),G(0x4,_0x481c91(_0x5210e0))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1f8db8,_0x27754f,_0x1fe9e4,_0x68d857)=>{const _0x326f07=_0x17c635;for(var _0x21718e=_0x68d857>0x1?void 0x0:_0x68d857?en(_0x27754f,_0x1fe9e4):_0x27754f,_0x483ea6=_0x1f8db8[_0x326f07(0x25c)]-0x1,_0x14e467;_0x483ea6>=0x0;_0x483ea6--)(_0x14e467=_0x1f8db8[_0x483ea6])&&(_0x21718e=_0x14e467(_0x21718e)||_0x21718e);return _0x21718e;},pe=(_0x3aedcc,_0x1d1cf5)=>(_0x256a72,_0x51352c)=>_0x1d1cf5(_0x256a72,_0x51352c,_0x3aedcc);let ne=class{constructor(_0x1561e3,_0x2bf332,_0x4145cd){const _0x513458=_0x17c635;this[_0x513458(0x25b)]=_0x1561e3,this[_0x513458(0x363)]=_0x2bf332,this[_0x513458(0x31c)]=_0x4145cd;}[_0x17c635(0x1fb)](_0x2182bb){const _0x33d90b=_0x17c635;this[_0x33d90b(0x369)](_0x2182bb),this[_0x33d90b(0x35c)](_0x2182bb);}[_0x17c635(0x34d)](_0x16c44d){const _0x420ea6=_0x17c635,{unitID:_0x4f381a}=_0x16c44d,_0x2f93d4=this[_0x420ea6(0x31c)]['getRenderById'](_0x4f381a)[_0x420ea6(0x33a)](_0x7411a1),{redoCache:_0x211995}=_0x2f93d4[_0x420ea6(0x260)]();if(_0x211995['length']===0x0)return _0x16c44d;let _0x53b12f=_0x450a88[_0x420ea6(0x1be)](_0x16c44d[_0x420ea6(0x263)][0x0]);for(let _0x23dc9a=0x0;_0x23dc9a<_0x211995[_0x420ea6(0x25c)];_0x23dc9a++){const _0x43d298={'id':_0x420ea6(0x334),'params':{..._0x211995[_0x23dc9a]}},_0x4e42b1=this[_0x420ea6(0x363)][_0x420ea6(0x36c)](_0x53b12f,_0x43d298,!0x1);if(_0x280807(_0x4e42b1))throw _0x4e42b1[_0x420ea6(0x1c7)];_0x53b12f=_0x4e42b1[_0x420ea6(0x1ea)];}return{..._0x450a88['deepClone'](_0x16c44d),'mutations':[_0x53b12f]};}[_0x17c635(0x369)](_0x41b290){const _0x3256d8=_0x17c635,{unitID:_0x2dc119}=_0x41b290,_0x121eb4=this[_0x3256d8(0x31c)][_0x3256d8(0x1b2)](_0x2dc119)[_0x3256d8(0x33a)](_0x7411a1),{undoCache:_0x55e511,redoCache:_0x5c6f5a}=_0x121eb4[_0x3256d8(0x260)]();if(_0x55e511[_0x3256d8(0x25c)]===0x0||_0x5c6f5a[_0x3256d8(0x25c)]===0x0)return;const _0x4b1b36=[],_0xf48ba3=[];let _0x1252f2=_0x450a88['deepClone'](_0x41b290[_0x3256d8(0x263)][0x0]),_0x299404=_0x450a88['deepClone'](_0x41b290['mutations'][0x0]);for(let _0x55be20=_0x55e511['length']-0x1;_0x55be20>=0x0;_0x55be20--){const _0x16511c={'id':'doc.mutation.rich-text-editing','params':{..._0x55e511[_0x55be20]}},_0x494c24={'id':_0x3256d8(0x334),'params':{..._0x5c6f5a[_0x55be20]}},_0x4f9c44=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x1252f2,_0x16511c,!0x1),_0x4cd043=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x299404,_0x494c24,!0x1);if(_0x280807(_0x4f9c44))throw _0x4f9c44[_0x3256d8(0x1c7)];if(_0x280807(_0x4cd043))throw _0x4cd043[_0x3256d8(0x1c7)];_0x4b1b36[_0x3256d8(0x2c5)](_0x4f9c44[_0x3256d8(0x391)]['params']),_0xf48ba3[_0x3256d8(0x2c5)](_0x4cd043['m2Prime'][_0x3256d8(0x39a)]),_0x1252f2=_0x4f9c44[_0x3256d8(0x1ea)],_0x299404=_0x4cd043['m1Prime'];}_0x121eb4['setUndoRedoMutationParamsCache']({'undoCache':_0x4b1b36,'redoCache':_0xf48ba3});}[_0x17c635(0x35c)](_0x727ce9){const _0x3b3f2e=_0x17c635,{unitID:_0x140d30}=_0x727ce9,_0x4fa744=this['_renderManagerService']['getRenderById'](_0x140d30)['with'](_0x7411a1),_0x135723=_0x4fa744['getActiveRange']();if(_0x135723==null)return;const _0x3f2ec2=[{'id':_0x3b3f2e(0x334),'params':{'unitId':_0x727ce9[_0x3b3f2e(0x310)],'actions':null,'textRanges':[_0x135723]}}],_0x269af4=this[_0x3b3f2e(0x363)][_0x3b3f2e(0x24b)](_0x727ce9,_0x3f2ec2);if(!_0x4cde3c(_0x269af4))throw _0x269af4[_0x3b3f2e(0x1c7)];const _0x4da787=_0x269af4['m2Prime'][0x0]['params']['textRanges'];Array[_0x3b3f2e(0x340)](_0x4da787)&&_0x4da787[_0x3b3f2e(0x25c)]&&_0x4fa744[_0x3b3f2e(0x33b)](_0x4da787[0x0]);}};ne=tn([pe(0x0,_0x2eb397(_0x597056)),pe(0x1,_0x51dc78),pe(0x2,_0x5c59f7)],ne);var sn=Object[_0x17c635(0x23d)],nn=(_0x4e6cff,_0x7d51a2,_0x38438a,_0x39809a)=>{const _0x40c5f9=_0x17c635;for(var _0x514929=_0x39809a>0x1?void 0x0:_0x39809a?sn(_0x7d51a2,_0x38438a):_0x7d51a2,_0x4acaeb=_0x4e6cff[_0x40c5f9(0x25c)]-0x1,_0x431e85;_0x4acaeb>=0x0;_0x4acaeb--)(_0x431e85=_0x4e6cff[_0x4acaeb])&&(_0x514929=_0x431e85(_0x514929)||_0x514929);return _0x514929;},Ce=(_0x2c862f,_0x2d8bff)=>(_0x5bfc06,_0xb17fb2)=>_0x2d8bff(_0x5bfc06,_0xb17fb2,_0x2c862f);let re=class{constructor(_0x436caa,_0x52a5db,_0x35683f){const _0x3ec0ae=_0x17c635;this[_0x3ec0ae(0x25b)]=_0x436caa,this[_0x3ec0ae(0x363)]=_0x52a5db,this[_0x3ec0ae(0x326)]=_0x35683f;}[_0x17c635(0x234)](_0x154f44){const _0x4ea049=_0x17c635;this[_0x4ea049(0x1c4)](_0x154f44);}[_0x17c635(0x34d)](_0x4e6472){const _0x4821b5=_0x17c635,{unitID:_0x4c4440}=_0x4e6472,{collaboration:_0x24846a}=this[_0x4821b5(0x326)][_0x4821b5(0x1a8)](_0x4c4440);if(_0x24846a[_0x4821b5(0x25c)]===0x0)return _0x4e6472;let _0x34c72f=_0x450a88[_0x4821b5(0x1be)](_0x4e6472[_0x4821b5(0x263)][0x0]);for(let _0x5d0689=0x0;_0x5d0689<_0x24846a[_0x4821b5(0x25c)];_0x5d0689++){const _0x277340={'id':_0x4821b5(0x334),'params':{'unitId':_0x24846a[_0x5d0689][_0x4821b5(0x1ef)],..._0x24846a[_0x5d0689]['redoState']}},_0x1ae7bc=this[_0x4821b5(0x363)][_0x4821b5(0x36c)](_0x34c72f,_0x277340,!0x1);if(_0x280807(_0x1ae7bc))throw _0x1ae7bc['error'];_0x34c72f=_0x1ae7bc[_0x4821b5(0x1ea)];}return{..._0x450a88['deepClone'](_0x4e6472),'mutations':[_0x34c72f]};}['_transformHistoryAndStateStack'](_0xb7c685){const _0x54b9f9=_0x17c635,{unitID:_0x5e2950}=_0xb7c685,{history:_0x4d1399,collaboration:_0x1c6cb8}=this['_docStateChangeManagerService'][_0x54b9f9(0x1a8)](_0x5e2950);if(_0x4d1399[_0x54b9f9(0x25c)]===0x0&&_0x1c6cb8[_0x54b9f9(0x25c)]===0x0)return;const _0x350ebd=[],_0x2080fd=[];let _0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x3a4675=_0x4d1399[_0x54b9f9(0x25c)]-0x1;_0x3a4675>=0x0;_0x3a4675--){const _0x4d3e53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1399[_0x3a4675][_0x54b9f9(0x1ef)],..._0x4d1399[_0x3a4675]['undoState']}},_0x151854={'id':_0x54b9f9(0x334),'params':{'unitId':_0x4d1399[_0x3a4675]['unitId'],..._0x4d1399[_0x3a4675][_0x54b9f9(0x2c6)]}},_0x5a937f=this['_transformService']['transformMutation'](_0x226d2d,_0x4d3e53,!0x1),_0x4d588a=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x151854,!0x1);if(_0x280807(_0x5a937f))throw _0x5a937f['error'];if(_0x280807(_0x4d588a))throw _0x4d588a[_0x54b9f9(0x1c7)];_0x350ebd['unshift']({..._0x4d1399[_0x3a4675],'undoState':_0x5a937f['m2Prime'][_0x54b9f9(0x39a)],'redoState':_0x4d588a[_0x54b9f9(0x391)]['params']}),_0x226d2d=_0x5a937f[_0x54b9f9(0x1ea)],_0x445c48=_0x4d588a[_0x54b9f9(0x1ea)];}_0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x2d1472=_0x1c6cb8[_0x54b9f9(0x25c)]-0x1;_0x2d1472>=0x0;_0x2d1472--){const _0x4783c3={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2ef)]}},_0x3b7cbd={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2c6)]}},_0x5c1321=this[_0x54b9f9(0x363)]['transformMutation'](_0x226d2d,_0x4783c3,!0x1),_0x17aed7=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x3b7cbd,!0x1);if(_0x280807(_0x5c1321))throw _0x5c1321[_0x54b9f9(0x1c7)];if(_0x280807(_0x17aed7))throw _0x17aed7[_0x54b9f9(0x1c7)];_0x2080fd[_0x54b9f9(0x2c5)]({..._0x1c6cb8[_0x2d1472],'undoState':_0x5c1321[_0x54b9f9(0x391)][_0x54b9f9(0x39a)],'redoState':_0x17aed7[_0x54b9f9(0x391)][_0x54b9f9(0x39a)]}),_0x226d2d=_0x5c1321[_0x54b9f9(0x1ea)],_0x445c48=_0x17aed7[_0x54b9f9(0x1ea)];}this[_0x54b9f9(0x326)][_0x54b9f9(0x31e)](_0x5e2950,{'history':_0x350ebd,'collaboration':_0x2080fd});}};re=nn([Ce(0x0,_0x2eb397(_0x597056)),Ce(0x1,_0x51dc78),Ce(0x2,_0x2eb397(_0x5dcdf5))],re);var rn=Object[_0x17c635(0x23d)],on=(_0x241391,_0x3f643c,_0x50e1f1,_0x378b53)=>{const _0x2aa8ca=_0x17c635;for(var _0x2c49f9=_0x378b53>0x1?void 0x0:_0x378b53?rn(_0x3f643c,_0x50e1f1):_0x3f643c,_0x667623=_0x241391[_0x2aa8ca(0x25c)]-0x1,_0xe99ac2;_0x667623>=0x0;_0x667623--)(_0xe99ac2=_0x241391[_0x667623])&&(_0x2c49f9=_0xe99ac2(_0x2c49f9)||_0x2c49f9);return _0x2c49f9;},tt=(_0x2863a9,_0x4a59aa)=>(_0x3afed5,_0x5d6f11)=>_0x4a59aa(_0x3afed5,_0x5d6f11,_0x2863a9);let oe=class{constructor(_0x404d0b,_0x37cc53){const _0x161346=_0x17c635;this[_0x161346(0x25b)]=_0x404d0b,this[_0x161346(0x363)]=_0x37cc53;}[_0x17c635(0x2c4)](_0x23b1e2){const _0x59972f=_0x17c635;var _0x5c7f63;const _0x3a33f3=this['_injector'][_0x59972f(0x318)](_0x16c6fd),_0x1b7ea0=(_0x5c7f63=_0x3a33f3[_0x59972f(0x1e0)]())!=null?_0x5c7f63:[];if(_0x1b7ea0[_0x59972f(0x25c)]===0x0)return;const _0x2cad62=_0x23b1e2[_0x59972f(0x310)],_0xb0040b=[{'id':_0x59972f(0x334),'params':{'unitId':_0x2cad62,'actions':null,'textRanges':_0x1b7ea0}}],_0x48463c=this['_transformService'][_0x59972f(0x24b)](_0x23b1e2,_0xb0040b);if(!_0x4cde3c(_0x48463c))throw _0x48463c[_0x59972f(0x1c7)];const _0x8c48d=_0x48463c[_0x59972f(0x391)][0x0][_0x59972f(0x39a)][_0x59972f(0x1e7)];Array[_0x59972f(0x340)](_0x8c48d)&&_0x8c48d[_0x59972f(0x25c)]&&_0x3a33f3[_0x59972f(0x1b6)](_0x8c48d,{'unitId':_0x2cad62,'subUnitId':_0x2cad62},!0x1);}};oe=on([tt(0x0,_0x2eb397(_0x597056)),tt(0x1,_0x51dc78)],oe);var an=Object[_0x17c635(0x23d)],cn=(_0x220897,_0x4e28dc,_0x55d1c5,_0x5f04c6)=>{const _0x2a84d4=_0x17c635;for(var _0x5a80b8=_0x5f04c6>0x1?void 0x0:_0x5f04c6?an(_0x4e28dc,_0x55d1c5):_0x4e28dc,_0x2f18f8=_0x220897[_0x2a84d4(0x25c)]-0x1,_0x3ab213;_0x2f18f8>=0x0;_0x2f18f8--)(_0x3ab213=_0x220897[_0x2f18f8])&&(_0x5a80b8=_0x3ab213(_0x5a80b8)||_0x5a80b8);return _0x5a80b8;},U=(_0x2dfdfb,_0x4dd51e)=>(_0x4a5d0a,_0x1749da)=>_0x4dd51e(_0x4a5d0a,_0x1749da,_0x2dfdfb);let ae=class extends _0x629666{constructor(_0x349e7e,_0x1f6343,_0x207fd2,_0x16b499,_0x964456,_0x278711,_0x40df94,_0x5e68ef){const _0x82523a=_0x17c635;super(),_(this,_0x82523a(0x1cc),new _0x5db965(_0x2affd3[_0x82523a(0x392)])),(this[_0x82523a(0x326)]=_0x349e7e,this[_0x82523a(0x1cf)]=_0x1f6343,this[_0x82523a(0x376)]=_0x207fd2,this[_0x82523a(0x246)]=_0x16b499,this[_0x82523a(0x2de)]=_0x964456,this[_0x82523a(0x2aa)]=_0x278711,this['_messageService']=_0x40df94,this[_0x82523a(0x387)]=_0x5e68ef,this[_0x82523a(0x2c3)]());}[_0x17c635(0x2c3)](){const _0x696e99=_0x17c635;this[_0x696e99(0x322)](this[_0x696e99(0x1cf)]['entityInit$'][_0x696e99(0x31b)](_0x178d39=>{const _0x44f008=_0x696e99,_0x449b46=this[_0x44f008(0x326)][_0x44f008(0x1aa)][_0x44f008(0x31b)](_0x19fdf6=>{const _0x477992=_0x44f008;if(_0x19fdf6==null)return;const {unitId:_0x22873b,redoState:_0x43c873,commandId:_0x4322bf}=_0x19fdf6;if(_0x22873b!==_0x178d39[_0x477992(0x310)])return;const _0x5f25cd={'id':_0x4322bf,'type':_0x19fa75[_0x477992(0x243)],'params':{'unitId':_0x22873b,'actions':_0x43c873[_0x477992(0x2eb)],'textRanges':null}};_0x178d39[_0x477992(0x28e)](_0x5f25cd);});if(_0x178d39[_0x44f008(0x322)](_0x449b46),_0x178d39 instanceof _0x42cc67){const _0x4654ff={'onTransformIME':_0x5bfc0b=>this[_0x44f008(0x376)]['transformIMECache'](_0x5bfc0b),'onTransformState':_0x1718ce=>this['_docTransformStateCacheService'][_0x44f008(0x234)](_0x1718ce),'onTransformSelections':_0x1c3f37=>this[_0x44f008(0x2de)][_0x44f008(0x2c4)](_0x1c3f37),'onSyncEditingCollabCursor':_0x39a089=>this[_0x44f008(0x2aa)]['syncEditingCollabCursor'](_0x39a089),'onTransformRemoteChangesetByIMECache':_0x2d743a=>this[_0x44f008(0x376)]['transformRemoteChangeset'](_0x2d743a),'onTransformRemoteChangesetByStateCache':_0x2707ce=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2707ce)};_0x178d39[_0x44f008(0x305)](_0x4654ff);}}));}};ae=cn([U(0x0,_0x2eb397(_0x5dcdf5)),U(0x1,_0x2eb397(_0x5b2169)),U(0x2,_0x2eb397(ne)),U(0x3,_0x2eb397(re)),U(0x4,_0x2eb397(oe)),U(0x5,_0x2eb397(He)),U(0x6,_0x2d0054),U(0x7,_0x2eb397(_0x1123b3))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a7b8f,_0x22cfc7,_0x2bfb7a,_0xa08638)=>{const _0x32eddb=_0x17c635;for(var _0x5607b9=_0xa08638>0x1?void 0x0:_0xa08638?ln(_0x22cfc7,_0x2bfb7a):_0x22cfc7,_0x2fbe6b=_0x1a7b8f[_0x32eddb(0x25c)]-0x1,_0x22a39c;_0x2fbe6b>=0x0;_0x2fbe6b--)(_0x22a39c=_0x1a7b8f[_0x2fbe6b])&&(_0x5607b9=_0x22a39c(_0x5607b9)||_0x5607b9);return _0x5607b9;},Ee=(_0x50a5a7,_0x50cd76)=>(_0x1b4001,_0x1ea274)=>_0x50cd76(_0x1b4001,_0x1ea274,_0x50a5a7);let Le=class extends _0x629666{constructor(_0xb451b9,_0x28b047,_0x53e1f4){const _0x518bec=_0x17c635;super(),_(this,_0x518bec(0x209),new Map()),_(this,_0x518bec(0x2fc),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb451b9,this['_localStorageService']=_0x28b047,this[_0x518bec(0x302)]=_0x53e1f4);}[_0x17c635(0x30b)](){const _0x45903b=_0x17c635;this[_0x45903b(0x2cc)]=!0x0;}[_0x17c635(0x1b5)](){this['_disabled']=!0x1;}get[_0x17c635(0x2a1)](){const _0x12c31a=_0x17c635;return this[_0x12c31a(0x2fc)];}[_0x17c635(0x299)](){const _0x5505ca=_0x17c635;this[_0x5505ca(0x26d)]()[_0x5505ca(0x2e8)](()=>super[_0x5505ca(0x299)]());}async[_0x17c635(0x2ec)](_0x46e755){const _0xf675ef=_0x17c635;return this[_0xf675ef(0x2cc)]?null:this[_0xf675ef(0x231)][_0xf675ef(0x21a)](_0x156a39(_0x46e755));}async['saveOfflineData'](_0x4ee614,_0x333454){const _0x554e2b=_0x17c635;return!!this[_0x554e2b(0x231)]['setItem'](_0x4ee614,_0x333454);}['updateOfflineData'](_0x41f107,_0x46fc21,_0x43b35d,_0x283cee){const _0x5876f6=_0x17c635,_0x34cbbd=this[_0x5876f6(0x302)][_0x5876f6(0x2cf)](_0x41f107);this[_0x5876f6(0x209)][_0x5876f6(0x1c2)](_0x41f107,{'unitID':_0x41f107,'type':_0x46fc21,'awaitingChangeset':_0x43b35d,'mutations':_0x283cee,'rev':_0x34cbbd}),this[_0x5876f6(0x2fc)][_0x5876f6(0x329)](_0x41f107)||this['_scheduleSaving'](_0x41f107);}['_scheduleSaving'](_0x408133){const _0x997a6a=_0x17c635,_0x5dee0b=this[_0x997a6a(0x393)]();_0x5dee0b===0x0?this[_0x997a6a(0x347)](_0x408133):this[_0x997a6a(0x2fc)][_0x997a6a(0x1c2)](_0x408133,setTimeout(()=>this[_0x997a6a(0x347)](_0x408133),_0x5dee0b));}[_0x17c635(0x393)](){var _0x468344;return(_0x468344=this['_configService']['getConfig'](_0x50ed5c))!=null?_0x468344:_0x5c0d86;}[_0x17c635(0x347)](_0x93478){const _0x4e36bd=_0x17c635,_0x5f178f=this[_0x4e36bd(0x2fc)][_0x4e36bd(0x318)](_0x93478);return _0x5f178f!==void 0x0&&window['clearTimeout'](_0x5f178f),this[_0x4e36bd(0x231)][_0x4e36bd(0x26b)](_0x156a39(_0x93478),this[_0x4e36bd(0x209)][_0x4e36bd(0x318)](_0x93478))[_0x4e36bd(0x2e8)](()=>this['_saveTaskMap'][_0x4e36bd(0x2f4)](_0x93478));}async[_0x17c635(0x26d)](){const _0x12c627=_0x17c635,_0xdb1865=[];this['_saveTaskMap'][_0x12c627(0x1d2)]((_0x235344,_0x235d17)=>{const _0x5a454b=_0x12c627;window['clearTimeout'](_0x235344),_0xdb1865['push'](this['_saveCache'](_0x235d17)[_0x5a454b(0x2e8)](()=>{const _0x32f571=_0x5a454b;this[_0x32f571(0x2fc)][_0x32f571(0x2f4)](_0x235d17);}));}),await Promise['all'](_0xdb1865);}};Le=_n([Ee(0x0,_0xe650f0),Ee(0x1,_0x4a6020),Ee(0x2,_0x2eb397(_0x37e690))],Le);class hn extends _0x5c44e6{constructor(){const _0x35cea1=_0x17c635;super(),_(this,'urlChange$'),this[_0x35cea1(0x30c)]=_0x1c7d37(window,_0x35cea1(0x1bc))[_0x35cea1(0x345)](_0x4fc11c(this[_0x35cea1(0x386)]),_0x191487(0x1),_0x88af17(void 0x0));}['setParam'](_0x25acdf,_0x418647,_0x1af6dc=!0x1){const _0x449dc6=_0x17c635,_0x1ec01e=new URL(window[_0x449dc6(0x1a1)][_0x449dc6(0x2fb)]);_0x1ec01e[_0x449dc6(0x26c)][_0x449dc6(0x1c2)](_0x25acdf,_0x418647),_0x1af6dc?window['history'][_0x449dc6(0x1ff)]('','',_0x1ec01e[_0x449dc6(0x207)]()):window[_0x449dc6(0x2f6)]['pushState']('','',_0x1ec01e[_0x449dc6(0x207)]());}[_0x17c635(0x295)](_0x406f0e,_0x5015b8=!0x1){const _0x54a471=_0x17c635,_0x5cc175=new URL(window[_0x54a471(0x1a1)]['href']);_0x5cc175[_0x54a471(0x26c)][_0x54a471(0x2f4)](_0x406f0e),_0x5015b8?window[_0x54a471(0x2f6)][_0x54a471(0x1ff)]('','',_0x5cc175[_0x54a471(0x207)]()):window[_0x54a471(0x2f6)][_0x54a471(0x22b)]('','',_0x5cc175[_0x54a471(0x207)]());}[_0x17c635(0x1c8)](_0x4ff396){const _0xc84393=_0x17c635;var _0x2ba8ee;return(_0x2ba8ee=new URL(window[_0xc84393(0x1a1)]['href'])[_0xc84393(0x26c)]['get'](_0x4ff396))!=null?_0x2ba8ee:void 0x0;}}var un=Object[_0x17c635(0x1eb)],dn=Object[_0x17c635(0x23d)],fn=(_0x5d6a0a,_0x5072d0,_0x1fb8ed)=>_0x5072d0 in _0x5d6a0a?un(_0x5d6a0a,_0x5072d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fb8ed}):_0x5d6a0a[_0x5072d0]=_0x1fb8ed,Sn=(_0x11ce8d,_0x16fa87,_0x1719ce,_0x5319f6)=>{const _0x2eb29c=_0x17c635;for(var _0x50622d=_0x5319f6>0x1?void 0x0:_0x5319f6?dn(_0x16fa87,_0x1719ce):_0x16fa87,_0x1855b1=_0x11ce8d[_0x2eb29c(0x25c)]-0x1,_0x99d952;_0x1855b1>=0x0;_0x1855b1--)(_0x99d952=_0x11ce8d[_0x1855b1])&&(_0x50622d=_0x99d952(_0x50622d)||_0x50622d);return _0x50622d;},Oe=(_0x327398,_0x55901f)=>(_0x24d496,_0x5ebfee)=>_0x55901f(_0x24d496,_0x5ebfee,_0x327398),mn=(_0x4b4e71,_0x3aebf1,_0x324687)=>fn(_0x4b4e71,_0x3aebf1+'',_0x324687);const In=_0x17c635(0x203);let Ae=class extends _0x35f057{constructor(_0x36f590=et,_0x5a30cf,_0x4d4140,_0x4982e2){const _0x3b7234=_0x17c635;super(),this['_config']=_0x36f590,this['_renderManagerService']=_0x5a30cf,this[_0x3b7234(0x25b)]=_0x4d4140,this[_0x3b7234(0x1af)]=_0x4982e2;const {..._0x306373}=_0xb34657({},et,this['_config']);this[_0x3b7234(0x1af)][_0x3b7234(0x330)](Zi,_0x306373);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x17c635(0x1fc)](){const _0x24e161=_0x17c635;this[_0x24e161(0x1d9)]();}[_0x17c635(0x390)](){const _0x252166=_0x17c635;var _0x5c86e6;const _0x226e27=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x100a88,{'useClass':_0x19b7b1}],[_0x12eac7,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x151c2d(this[_0x252166(0x25b)],_0x36bd2d(_0x226e27,(_0x5c86e6=this['_config'])==null?void 0x0:_0x5c86e6['override']));}[_0x17c635(0x1d9)](){const _0x5baa46=_0x17c635;this['disposeWithMe'](this[_0x5baa46(0x31c)]['registerRenderModule'](_0x2c47d7[_0x5baa46(0x39f)],[we])),this[_0x5baa46(0x322)](this['_renderManagerService'][_0x5baa46(0x37b)](_0x2c47d7[_0x5baa46(0x226)],[Pe]));}['_initDependencies'](){const _0x133a2c=_0x17c635;_0x4aedff(this[_0x133a2c(0x25b)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x17c635(0x394),In),Ae=Sn([_0x140f68(_0x47ab9c),Oe(0x1,_0x5c59f7),Oe(0x2,_0x2eb397(_0x597056)),Oe(0x3,_0xe650f0)],Ae);var gn=Object[_0x17c635(0x23d)],vn=(_0x1059b2,_0x32fb31,_0x27e115,_0x1b4dc2)=>{const _0x3401ea=_0x17c635;for(var _0x23d427=_0x1b4dc2>0x1?void 0x0:_0x1b4dc2?gn(_0x32fb31,_0x27e115):_0x32fb31,_0x59580c=_0x1059b2[_0x3401ea(0x25c)]-0x1,_0xa5d5cd;_0x59580c>=0x0;_0x59580c--)(_0xa5d5cd=_0x1059b2[_0x59580c])&&(_0x23d427=_0xa5d5cd(_0x23d427)||_0x23d427);return _0x23d427;},K=(_0x1f1c96,_0x519d23)=>(_0x1a211f,_0x17de53)=>_0x519d23(_0x1a211f,_0x17de53,_0x1f1c96);let st=class extends _0x12974d{constructor(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38){super(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38);}async[_0x17c635(0x2b1)](_0x4a6601){const _0x473489=_0x17c635,_0x52b1ec=await this[_0x473489(0x331)](),_0x4e0223=this[_0x473489(0x2c0)](_0x4a6601,_0x52b1ec);return this[_0x473489(0x296)](_0x4e0223);}[_0x17c635(0x2c0)](_0x13b482,_0x2072fa){const _0x4f5126=_0x17c635,_0x3bd501=typeof window>'u'?new URL(_0x13b482):new URL(_0x13b482,window[_0x4f5126(0x1a1)]['origin']);_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)](_0x4f5126(0x27e),_0x2072fa);const _0x10f70a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4f5126(0x1a1)]['search']);return _0x10f70a[_0x4f5126(0x318)]('runId')&&_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)]('runId',_0x10f70a[_0x4f5126(0x318)](_0x4f5126(0x20b))),_0x3bd501[_0x4f5126(0x207)]();}async[_0x17c635(0x331)](){const _0x4e08f5=_0x17c635;var _0x55fe83,_0xb05eb6,_0x5c045b;const _0xc560ac=this[_0x4e08f5(0x1af)]['getConfig'](_0x50dc20),_0x13829e=(_0x55fe83=_0xc560ac==null?void 0x0:_0xc560ac[_0x4e08f5(0x2fa)])!=null?_0x55fe83:_0x578348;return(_0x5c045b=(_0xb05eb6=(await this[_0x4e08f5(0x2ce)]['get'](_0x13829e,{'headers':{'Content-Type':_0x4e08f5(0x253)}}))[_0x4e08f5(0x2db)])==null?void 0x0:_0xb05eb6['ticket'])!=null?_0x5c045b:'';}};st=vn([K(0x0,_0x2eb397(_0x597056)),K(0x1,_0x2eb397(_0x3a430c)),K(0x2,_0xe650f0),K(0x3,_0xaeedb1),K(0x4,_0xf5c7dd)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x629666{constructor(){const _0x1cd120=_0x17c635;super(),_(this,_0x1cd120(0x1dd),_0x3c905e()),_(this,_0x1cd120(0x1f8),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1cd120(0x1a7),null),_(this,_0x1cd120(0x2ac),new Map()),_(this,_0x1cd120(0x34b),new Map()),this[_0x1cd120(0x384)]();}[_0x17c635(0x299)](){const _0x23396c=_0x17c635;super[_0x23396c(0x299)](),this[_0x23396c(0x2ac)]['forEach']((_0x17d307,_0xc05198)=>this['_removeClearOtherTimer'](_0xc05198)),this[_0x23396c(0x1a7)]&&window['clearInterval'](this[_0x23396c(0x1a7)]);}[_0x17c635(0x256)](_0x8e7434){const _0x3ab166=_0x17c635;return this[_0x3ab166(0x38c)](_0x8e7434)[_0x3ab166(0x345)](_0x126808());}[_0x17c635(0x2d6)](_0x250bf9){const _0x3723cf=_0x17c635;this[_0x3723cf(0x1f8)][_0x3723cf(0x325)]===0x0&&this[_0x3723cf(0x21f)](),this[_0x3723cf(0x1f8)][_0x3723cf(0x25e)](_0x250bf9),this[_0x3723cf(0x279)]({'type':0x0,'memberID':this[_0x3723cf(0x1dd)],'unitIDs':[_0x250bf9],'isForwarded':!0x1});}[_0x17c635(0x225)](_0xcfe013){const _0x4d4fea=_0x17c635;this[_0x4d4fea(0x1f8)]['delete'](_0xcfe013),this[_0x4d4fea(0x1f8)][_0x4d4fea(0x325)]===0x0&&this[_0x4d4fea(0x1a7)]&&window[_0x4d4fea(0x1b7)](this[_0x4d4fea(0x1a7)]);}[_0x17c635(0x384)](){const _0x47977b=_0x17c635;this[_0x47977b(0x322)](_0x36e603(_0x1c7d37(window,'storage')[_0x47977b(0x31b)](_0x19d6e9=>{const _0x5d48a4=_0x47977b;if(_0x19d6e9[_0x5d48a4(0x2e5)]!==nt||!_0x19d6e9[_0x5d48a4(0x2ff)])return;const _0x556120=JSON['parse'](_0x19d6e9[_0x5d48a4(0x2ff)]);this[_0x5d48a4(0x250)](_0x556120);}))),window[_0x47977b(0x2a6)](_0x47977b(0x307),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x47977b(0x239)](this[_0x47977b(0x1f8)])}));}[_0x17c635(0x250)](_0x5a247e){const _0x53db96=_0x17c635;switch(_0x5a247e[_0x53db96(0x23f)]){case 0x0:this[_0x53db96(0x1ba)](_0x5a247e);break;case 0x1:this[_0x53db96(0x28b)](_0x5a247e);break;case 0x2:this[_0x53db96(0x1b8)](_0x5a247e);break;}}[_0x17c635(0x1ba)](_0x59af70){const _0x26fe11=_0x17c635,{unitIDs:_0xd7dbe,memberID:_0x11525a,isForwarded:_0x2ce8bd}=_0x59af70;_0xd7dbe[_0x26fe11(0x1d2)](_0x48c244=>{const _0x280b06=_0x26fe11;if(!_0x2ce8bd&&this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)&&this['_ensureSubject'](_0x48c244)[_0x280b06(0x32a)](_0x3fb639[_0x280b06(0x1e3)]),!this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)||!this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)['has'](_0x11525a)){const _0x145b90=this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)||new Set();_0x145b90['add'](_0x11525a),this[_0x280b06(0x339)][_0x280b06(0x1c2)](_0x48c244,_0x145b90),this[_0x280b06(0x22c)](_0x11525a);}}),_0x2ce8bd||this['_send']({'type':0x0,'memberID':this[_0x26fe11(0x1dd)],'unitIDs':[...this[_0x26fe11(0x1f8)]],'isForwarded':!0x0});}[_0x17c635(0x22c)](_0x16f9f9){const _0x20d2a8=_0x17c635;this['_removeClearOtherTimer'](_0x16f9f9);const _0x218d6c=window['setTimeout'](()=>{const _0x2bf02b=_0x13d3;this[_0x2bf02b(0x339)][_0x2bf02b(0x1d2)](_0x430434=>{_0x430434['delete'](_0x16f9f9);});},it*0x2);this['_clearOtherTimers'][_0x20d2a8(0x1c2)](_0x16f9f9,_0x218d6c);}[_0x17c635(0x362)](_0x74c478){const _0xd7b775=_0x17c635;if(this[_0xd7b775(0x2ac)][_0xd7b775(0x329)](_0x74c478)){const _0x141ce0=this[_0xd7b775(0x2ac)][_0xd7b775(0x318)](_0x74c478);_0x141ce0&&window['clearTimeout'](_0x141ce0),this[_0xd7b775(0x2ac)]['set'](_0x74c478,null);}}[_0x17c635(0x28b)](_0x4e5b85){const _0x5907b9=_0x17c635,{memberID:_0x5a18f6,unitIDs:_0x4fcd85}=_0x4e5b85;_0x4fcd85['forEach'](_0x291c4f=>{const _0x4e1fac=_0x13d3;var _0x2681c6;const _0x553f58=this['_unitOnClients']['get'](_0x291c4f);_0x553f58&&(_0x553f58['delete'](_0x5a18f6),(_0x2681c6=this[_0x4e1fac(0x38c)](_0x291c4f))==null||_0x2681c6[_0x4e1fac(0x32a)](_0x553f58[_0x4e1fac(0x325)]===0x0?_0x3fb639[_0x4e1fac(0x374)]:_0x3fb639['OTHER_CLIENTS_EDITING']));}),this[_0x5907b9(0x362)](_0x5a18f6);}[_0x17c635(0x1b8)](_0x5f4aed){const _0x131f3e=_0x17c635;this[_0x131f3e(0x22c)](_0x5f4aed[_0x131f3e(0x1ac)]);}[_0x17c635(0x279)](_0x26e947){const _0xa9d976=_0x17c635;localStorage[_0xa9d976(0x26b)](nt,JSON[_0xa9d976(0x395)](_0x26e947));}[_0x17c635(0x21f)](){const _0x82ee6=_0x17c635;this[_0x82ee6(0x1a7)]=window[_0x82ee6(0x29d)](()=>{const _0x59d291=_0x82ee6;this[_0x59d291(0x279)]({'type':0x2,'memberID':this[_0x59d291(0x1dd)]});},it);}['_ensureSubject'](_0x4431c3){const _0x5b37b0=_0x17c635;return this['_unitStatus'][_0x5b37b0(0x329)](_0x4431c3)||this[_0x5b37b0(0x34b)][_0x5b37b0(0x1c2)](_0x4431c3,new _0x5db965(_0x3fb639['NO_OTHER_CLIENTS_EDITING'])),this[_0x5b37b0(0x34b)][_0x5b37b0(0x318)](_0x4431c3);}}var Mt=(_0x50bed4=>(_0x50bed4[_0x50bed4[_0x17c635(0x264)]=0x0]=_0x17c635(0x264),_0x50bed4[_0x50bed4['OK']=0x1]='OK',_0x50bed4[_0x50bed4[_0x17c635(0x1fa)]=0x2]=_0x17c635(0x1fa),_0x50bed4[_0x50bed4[_0x17c635(0x357)]=0x3]=_0x17c635(0x357),_0x50bed4[_0x50bed4[_0x17c635(0x249)]=0x4]=_0x17c635(0x249),_0x50bed4[_0x50bed4[_0x17c635(0x298)]=0x5]=_0x17c635(0x298),_0x50bed4[_0x50bed4['ALREADY_EXISTS']=0x6]=_0x17c635(0x319),_0x50bed4[_0x50bed4[_0x17c635(0x272)]=0x7]=_0x17c635(0x272),_0x50bed4[_0x50bed4['TOO_MANY_REQUESTS']=0x8]=_0x17c635(0x245),_0x50bed4[_0x50bed4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x50bed4[_0x50bed4['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x50bed4[_0x50bed4[_0x17c635(0x3a2)]=0x1389]=_0x17c635(0x3a2),_0x50bed4[_0x50bed4[_0x17c635(0x3a4)]=0x1771]=_0x17c635(0x3a4),_0x50bed4[_0x50bed4[_0x17c635(0x364)]=0x1772]=_0x17c635(0x364),_0x50bed4[_0x50bed4[_0x17c635(0x221)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x50bed4[_0x50bed4['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x50bed4[_0x50bed4[_0x17c635(0x38e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50bed4[_0x50bed4[_0x17c635(0x1b3)]=0x1b5b]=_0x17c635(0x1b3),_0x50bed4[_0x50bed4[_0x17c635(0x29b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x50bed4[_0x50bed4[_0x17c635(0x2c7)]=0x1b5d]='APPLY_DUPLICATED',_0x50bed4[_0x50bed4[_0x17c635(0x30e)]=0x1f41]=_0x17c635(0x30e),_0x50bed4[_0x50bed4[_0x17c635(0x39b)]=0x2329]=_0x17c635(0x39b),_0x50bed4[_0x50bed4[_0x17c635(0x288)]=0x232a]=_0x17c635(0x288),_0x50bed4[_0x50bed4[_0x17c635(0x2f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x50bed4[_0x50bed4[_0x17c635(0x293)]=0x232c]=_0x17c635(0x293),_0x50bed4[_0x50bed4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x17c635(0x1a5),_0x50bed4[_0x50bed4[_0x17c635(0x1a4)]=0x2711]=_0x17c635(0x1a4),_0x50bed4[_0x50bed4[_0x17c635(0x356)]=0x2712]=_0x17c635(0x356),_0x50bed4[_0x50bed4[_0x17c635(0x281)]=0x2713]=_0x17c635(0x281),_0x50bed4[_0x50bed4[_0x17c635(0x30f)]=0x2714]=_0x17c635(0x30f),_0x50bed4[_0x50bed4[_0x17c635(0x396)]=0x271a]=_0x17c635(0x396),_0x50bed4[_0x50bed4[_0x17c635(0x1ca)]=0x271b]=_0x17c635(0x1ca),_0x50bed4[_0x50bed4[_0x17c635(0x378)]=0x271c]=_0x17c635(0x378),_0x50bed4[_0x50bed4[_0x17c635(0x208)]=0x271d]=_0x17c635(0x208),_0x50bed4[_0x50bed4[_0x17c635(0x380)]=0x271e]=_0x17c635(0x380),_0x50bed4[_0x50bed4[_0x17c635(0x2d4)]=0x271f]=_0x17c635(0x2d4),_0x50bed4[_0x50bed4[_0x17c635(0x20d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x50bed4[_0x50bed4[_0x17c635(0x358)]=0x2ee1]=_0x17c635(0x358),_0x50bed4[_0x50bed4['INVALID_INVITE_CODE']=0x2ee2]=_0x17c635(0x30a),_0x50bed4[_0x50bed4[_0x17c635(0x2e0)]=0x2ee3]=_0x17c635(0x2e0),_0x50bed4[_0x50bed4[_0x17c635(0x3a6)]=0x2ee4]=_0x17c635(0x3a6),_0x50bed4[_0x50bed4[_0x17c635(0x1e5)]=0x2ee5]=_0x17c635(0x1e5),_0x50bed4[_0x50bed4[_0x17c635(0x323)]=0x32c9]=_0x17c635(0x323),_0x50bed4[_0x50bed4['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4[_0x17c635(0x219)]=-0x1]=_0x17c635(0x219),_0x50bed4))(Mt||{}),pn=Object[_0x17c635(0x23d)],Cn=(_0x474e6e,_0x17afcc,_0x431dbb,_0x39595c)=>{const _0x5cc0f4=_0x17c635;for(var _0x5840d0=_0x39595c>0x1?void 0x0:_0x39595c?pn(_0x17afcc,_0x431dbb):_0x17afcc,_0x545140=_0x474e6e[_0x5cc0f4(0x25c)]-0x1,_0x33e5c7;_0x545140>=0x0;_0x545140--)(_0x33e5c7=_0x474e6e[_0x545140])&&(_0x5840d0=_0x33e5c7(_0x5840d0)||_0x5840d0);return _0x5840d0;},be=(_0x7a9397,_0x58ed7c)=>(_0x366e7f,_0x2880a5)=>_0x58ed7c(_0x366e7f,_0x2880a5,_0x7a9397);let rt=class extends _0x629666{constructor(_0x3e5d72,_0x5a65d7,_0x56d328){const _0x1f7bc1=_0x17c635;super(),this[_0x1f7bc1(0x25d)]=_0x3e5d72,this['_httpService']=_0x5a65d7,this['_configService']=_0x56d328;}async[_0x17c635(0x247)](_0x1b5ed1,_0x48f277,_0x4b4ac2,..._0x2b294d){const _0x2498de=_0x17c635;var _0x15401e,_0x1cd0be,_0x43ca83,_0x3eed36;const _0x241b08=this[_0x2498de(0x25d)][_0x2498de(0x1a6)]();if(!_0x241b08)throw new Error(_0x2498de(0x35d));const _0x153708=((_0x15401e=this[_0x2498de(0x1af)][_0x2498de(0x23a)](_0x46c57d))!=null?_0x15401e:_0x4cfb8a)+'/'+_0x1b5ed1+_0x2498de(0x2df)+_0x48f277,_0x3da7e6=new URL(window[_0x2498de(0x1a1)][_0x2498de(0x2fb)]),_0x579a7c={'scriptId':_0x1b5ed1,'runId':(_0x1cd0be=_0x3da7e6['searchParams'][_0x2498de(0x318)](_0x2498de(0x20b)))!=null?_0x1cd0be:'','function':_0x48f277,'unitId':_0x241b08[_0x2498de(0x21b)](),'argsOfFunction':JSON[_0x2498de(0x395)](_0x2b294d),'invokeId':(_0x43ca83=_0x4b4ac2[_0x2498de(0x292)])!=null?_0x43ca83:'','executionId':(_0x3eed36=_0x4b4ac2[_0x2498de(0x257)])!=null?_0x3eed36:''};try{const _0x47853e=await this[_0x2498de(0x2ce)][_0x2498de(0x301)](_0x153708,{'body':_0x579a7c});return _0x47853e['body'][_0x2498de(0x1c7)]&&_0x47853e['body'][_0x2498de(0x1c7)][_0x2498de(0x342)]!==Mt['OK']?_0x2498de(0x30d):_0x47853e['body'][_0x2498de(0x381)];}catch{return _0x2498de(0x30d);}}};rt=Cn([be(0x0,_0x26b67a),be(0x1,_0x2eb397(_0x3a430c)),be(0x2,_0xe650f0)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x118594=_0x5782;function _0x5782(_0x65f0d0,_0xcdb520){const _0x473a0e=_0x473a();return _0x5782=function(_0x57828b,_0x29554a){_0x57828b=_0x57828b-0xaa;let _0x585241=_0x473a0e[_0x57828b];return _0x585241;},_0x5782(_0x65f0d0,_0xcdb520);}function _0x473a(){const _0x131e81=['73764LQWasb','Synced','Syncing\x20server\x20data...','48aqDwVr','Connection\x20failed,\x20please\x20check\x20your\x20network.','1843002xlVMkr','Syncing...','207nHTCCb','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9640ropHhF','38324siowME','10647PUGikT','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','13864KOuSqX','Authentication\x20Error','3432wIldhv','Click\x20to\x20Reconnect','Local\x20file','183SdSpRI','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.','5fiHvvw','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','7840308BqMOXk','7799AFCJda'];_0x473a=function(){return _0x131e81;};return _0x473a();}(function(_0x57ccf1,_0x1166f8){const _0x538de7=_0x5782,_0x140ea8=_0x57ccf1();while(!![]){try{const _0x3c47cc=parseInt(_0x538de7(0xad))/0x1*(-parseInt(_0x538de7(0xbf))/0x2)+-parseInt(_0x538de7(0xb5))/0x3*(-parseInt(_0x538de7(0xbc))/0x4)+parseInt(_0x538de7(0xb7))/0x5*(parseInt(_0x538de7(0xc1))/0x6)+parseInt(_0x538de7(0xba))/0x7+parseInt(_0x538de7(0xb0))/0x8*(-parseInt(_0x538de7(0xaa))/0x9)+parseInt(_0x538de7(0xac))/0xa*(-parseInt(_0x538de7(0xbb))/0xb)+-parseInt(_0x538de7(0xb2))/0xc*(parseInt(_0x538de7(0xae))/0xd);if(_0x3c47cc===_0x1166f8)break;else _0x140ea8['push'](_0x140ea8['shift']());}catch(_0x3aaf8b){_0x140ea8['push'](_0x140ea8['shift']());}}}(_0x473a,0xa4bcf));const e={'collab-client':{'tooltip':{'reconnect':_0x118594(0xb3)}},'collabStatus':{'fetchMiss':_0x118594(0xbe),'conflict':'Edit\x20conflicts','notCollab':_0x118594(0xb4),'synced':_0x118594(0xbd),'syncing':_0x118594(0xc2),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x118594(0xc0),'will-retry':_0x118594(0xaf),'room-full':_0x118594(0xb8),'collaboration-timeout':_0x118594(0xab)},'conflict':{'title':_0x118594(0xb9),'content':_0x118594(0xb6)},'permission':{'title':_0x118594(0xb1),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4fb64c=_0x5457;(function(_0x379076,_0x419b4a){const _0x749610=_0x5457,_0xf24fe4=_0x379076();while(!![]){try{const _0x53687d=-parseInt(_0x749610(0x10e))/0x1*(-parseInt(_0x749610(0x10f))/0x2)+-parseInt(_0x749610(0x106))/0x3*(parseInt(_0x749610(0x10c))/0x4)+-parseInt(_0x749610(0x113))/0x5*(-parseInt(_0x749610(0x10d))/0x6)+-parseInt(_0x749610(0x117))/0x7*(-parseInt(_0x749610(0x108))/0x8)+parseInt(_0x749610(0x114))/0x9+-parseInt(_0x749610(0x102))/0xa+-parseInt(_0x749610(0x103))/0xb;if(_0x53687d===_0x419b4a)break;else _0xf24fe4['push'](_0xf24fe4['shift']());}catch(_0x4e747a){_0xf24fe4['push'](_0xf24fe4['shift']());}}}(_0x1e47,0x76f77));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x4fb64c(0x115),'notCollab':_0x4fb64c(0x111),'synced':'همگام\x20سازی','syncing':_0x4fb64c(0x112),'offline':_0x4fb64c(0x104)},'session':{'connection-failed':_0x4fb64c(0x10b),'will-retry':_0x4fb64c(0x109),'room-full':_0x4fb64c(0x105),'collaboration-timeout':_0x4fb64c(0x10a)},'conflict':{'title':_0x4fb64c(0x116),'content':_0x4fb64c(0x107)},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x4fb64c(0x110)},'closeRoom':_0x4fb64c(0x101)},'auth':{'needGotoLoginAlert':_0x4fb64c(0x118)}};function _0x1e47(){const _0x49e495=['1184jjnCYF','اتصال\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کنید.','132yApbNc','24KiuMmT','77txrSTP','23006KOaadQ','شما\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سازی...','1199010esPUzZ','730827CfTTEG','تداخل\x20ویرایش','تداخل\x20همکاری','33313PQfOYQ','ورود\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شد.','7047390szhfSt','7003117RmgMmM','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','72891reAdNy','یک\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رفت.'];_0x1e47=function(){return _0x49e495;};return _0x1e47();}function _0x5457(_0x428863,_0x70ece0){const _0x1e47b4=_0x1e47();return _0x5457=function(_0x54571e,_0x2cf03){_0x54571e=_0x54571e-0x101;let _0x17df6c=_0x1e47b4[_0x54571e];return _0x17df6c;},_0x5457(_0x428863,_0x70ece0);}export{o as default};
|