@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505101606
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.css +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 +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d7bbe=_0x1bb4;(function(_0x419ba2,_0x71ddc2){const _0x5dbbb5=_0x1bb4,_0x53dc59=_0x419ba2();while(!![]){try{const _0x506096=parseInt(_0x5dbbb5(0x251))/0x1+parseInt(_0x5dbbb5(0x1c4))/0x2*(parseInt(_0x5dbbb5(0x20b))/0x3)+-parseInt(_0x5dbbb5(0x277))/0x4*(parseInt(_0x5dbbb5(0x1d6))/0x5)+parseInt(_0x5dbbb5(0x2c9))/0x6+parseInt(_0x5dbbb5(0x3ab))/0x7+-parseInt(_0x5dbbb5(0x290))/0x8*(parseInt(_0x5dbbb5(0x31c))/0x9)+parseInt(_0x5dbbb5(0x27b))/0xa*(-parseInt(_0x5dbbb5(0x323))/0xb);if(_0x506096===_0x71ddc2)break;else _0x53dc59['push'](_0x53dc59['shift']());}catch(_0x44a91d){_0x53dc59['push'](_0x53dc59['shift']());}}}(_0x4f54,0xc501b));var $t=Object[_0x1d7bbe(0x3c6)],xt=(_0x4256a4,_0x530713,_0x929d8a)=>_0x530713 in _0x4256a4?$t(_0x4256a4,_0x530713,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x929d8a}):_0x4256a4[_0x530713]=_0x929d8a,_=(_0x3e4503,_0x2cc92b,_0x27682c)=>xt(_0x3e4503,typeof _0x2cc92b!=_0x1d7bbe(0x2bc)?_0x2cc92b+'':_0x2cc92b,_0x27682c);import{MemberService as _0x160c80,SessionStatus as _0x4f1673,CollaborationSessionService as _0x1fd5e1,CollaborationStatus as _0x40cfa1,CollaborationController as _0x280f5f,ILocalCacheService as _0x535fa0,CollaborationUIEventService as _0x3afd93,CollaborationUIEventId as _0x6f4cfe,DataLoaderService as _0x4042d9,DocCollaborationEntity as _0x2b46ca,getLocalCacheKey as _0x4458d5,LOCAL_CACHE_INTERVAL as _0x3ad861,LOCAL_CACHE_INTERVAL_KEY as _0x5f52bd,UniverCollaborationClientPlugin as _0x53aea7,CollaborationSocketService as _0x34b656,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa191c8,DEFAULT_WS_SESSION_TICKET_URL as _0x2c4461,UnitStatus as _0x2c9fc4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x365318,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3c30fc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x58bba7,Disposable as _0x426733,DOC_RANGE_TYPE as _0x4196d7,Inject as _0x3c7534,Injector as _0xa07411,IUniverInstanceService as _0x3888fb,ICommandService as _0x1abf6a,debounce as _0x809147,Rectangle as _0x186a42,DisposableCollection as _0x3bf60a,toDisposable as _0x55db35,UniverInstanceType as _0x14cd2c,Tools as _0xe70050,COLORS as _0x54ad43,ColorKit as _0x2273f2,ThemeService as _0x5301cc,fromEventSubject as _0x4e8b4c,LocaleService as _0x12ffff,createIdentifier as _0x5da789,ILogService as _0x4b41a6,Optional as _0x8e7d33,Workbook as _0x3f69b7,CommandType as _0x179b10,IConfigService as _0x1e2cfe,ILocalStorageService as _0x118257,DependentOn as _0xb6e3f,Plugin as _0x50d793,merge as _0x2dee5f,registerDependencies as _0x1d67a1,mergeOverrideWithDependencies as _0xe89926,touchDependencies as _0x295b9b,generateRandomId as _0x472f08}from'@univerjs/core';import{Shape as _0x24cb1f,Rect as _0x29e210,getColor as _0x571d39,RegularPolygon as _0x848961,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103131,Vector2 as _0x3edd65,SHEET_VIEWPORT_KEY as _0x5ca290,IRenderManagerService as _0x1de120}from'@univerjs/engine-render';import{ISocketService as _0x1f9107,WebSocketService as _0x44d410,HTTPService as _0x4c152d}from'@univerjs/network';import{IDocClipboardService as _0xc2976a,NodePositionConvertToCursor as _0x2c0d3d,NodePositionConvertToRectRange as _0x425036,TEXT_RANGE_LAYER_INDEX as _0x5121d4,SetDocZoomRatioOperation as _0x3ea351,DocIMEInputManagerService as _0x320b24,DocStateChangeManagerService as _0x4b01d4}from'@univerjs/docs-ui';import{IImageIoService as _0x4dd945}from'@univerjs/drawing';import{BehaviorSubject as _0x2ac3e2,debounceTime as _0x2bd9d8,takeUntil as _0x4b7757,Subject as _0xa3cd52,filter as _0x312de0,switchMap as _0x182269,merge as _0x491a5f,combineLatest as _0x570ed7,of as _0x5b4338,fromEvent as _0x1dc596,shareReplay as _0x3b2e8f,mapTo as _0x2c2792,distinctUntilChanged as _0x5c490c}from'rxjs';import{SetTextSelectionsOperation as _0x15d8be,RichTextEditingMutation as _0x156eaa,DocSelectionManagerService as _0x25837d,DocSkeletonManagerService as _0x1dea4a}from'@univerjs/docs';import{ITransformService as _0xe6a3f5,CollaborationEvent as _0x289f53,isTransformMutationFailure as _0x1da839,isTransformMutationsWithChangesetSuccess as _0x371959,RevisionService as _0x9f287a,ISnapshotServerService as _0x5465f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xdc58a6,serializeRangeWithSheet as _0x41edb3}from'@univerjs/engine-formula';import{RefRangeService as _0x28269d,SetSelectionsOperation as _0x4b878a,SheetsSelectionsService as _0x1237fd,EffectRefRangId as _0x3e03f7,handleIRemoveRow as _0x35d808,handleIRemoveCol as _0x3182c5,handleMoveRange as _0x44bb30,handleInsertRow as _0x4f5344,handleInsertRangeMoveRight as _0x7e9d5c,handleInsertRangeMoveDown as _0x2a89a7,handleInsertCol as _0x237808,handleDeleteRangeMoveUp as _0x1c80c4,handleDeleteRangeMoveLeft as _0x336a20,runRefRangeMutations as _0x383c3d,SetWorksheetActivateCommand as _0x5e2671}from'@univerjs/sheets';import{map as _0x34589c,filter as _0x155146,throttleTime as _0x235644,takeUntil as _0x1d4787,switchMap as _0x260b32}from'rxjs/operators';import{SheetSkeletonManagerService as _0x72b673,getCoordByCell as _0x2cf5db,getSheetObject as _0x40a2f0}from'@univerjs/sheets-ui';import{jsx as _0x349e9b,jsxs as _0x199e54}from'react/jsx-runtime';import{useObservable as _0x15bea2,useDependency as _0x20ac29,IUIPartsService as _0x3883bd,BuiltInUIPart as _0x2ccf90,connectInjector as _0x5a755d,IBeforeCloseService as _0x5dc7ed,IMessageService as _0x219866,INotificationService as _0x39a609}from'@univerjs/ui';import{Tooltip as _0x48a50f,clsx as _0x3b9583,MessageType as _0x33b9eb}from'@univerjs/design';import{forwardRef as _0x58d4c3,useRef as _0x30e73c,createElement as _0x5586c8,useCallback as _0x5e0ac5}from'react';import{IRemoteInstanceService as _0x171e02}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12905a,_0x43f720,_0x34e9dc,_0x1f4b76)=>{const _0x2ec44e=_0x1d7bbe;for(var _0x477e31=_0x1f4b76>0x1?void 0x0:_0x1f4b76?ci(_0x43f720,_0x34e9dc):_0x43f720,_0x3060ce=_0x12905a[_0x2ec44e(0x39d)]-0x1,_0x231610;_0x3060ce>=0x0;_0x3060ce--)(_0x231610=_0x12905a[_0x3060ce])&&(_0x477e31=_0x231610(_0x477e31)||_0x477e31);return _0x477e31;},Je=(_0x207606,_0x5ee30a)=>(_0x855d2a,_0x3aff91)=>_0x5ee30a(_0x855d2a,_0x3aff91,_0x207606);let Ne=class extends _0x58bba7{constructor(_0x20c76c,_0x3c6c65){const _0xd5a206=_0x1d7bbe;super(),this['_docClipboardService']=_0x20c76c,this[_0xd5a206(0x37d)]=_0x3c6c65,this['_init']();}[_0x1d7bbe(0x1fc)](){const _0xc59910=_0x1d7bbe,_0x92840f=this;this[_0xc59910(0x26a)](this[_0xc59910(0x24c)][_0xc59910(0x2a4)]({'onBeforePasteImage':async _0xb63a72=>{const _0x2e1435=_0xc59910,_0x3cf6e3=await _0x92840f['_imageIoService'][_0x2e1435(0x35c)](_0xb63a72);return _0x3cf6e3?{'source':_0x3cf6e3['source'],'imageSourceType':_0x3cf6e3[_0x2e1435(0x304)]}:null;}}));}};Ne=li([Je(0x0,_0xc2976a),Je(0x1,_0x4dd945)],Ne);const Ze=['purple.300',_0x1d7bbe(0x316),_0x1d7bbe(0x270),_0x1d7bbe(0x233),_0x1d7bbe(0x326),'yellow.400'];class ke extends _0x426733{constructor(){const _0x3f3ed9=_0x1d7bbe;super(...arguments),_(this,_0x3f3ed9(0x295),new Map()),_(this,'_colorIndex',0x0);}[_0x1d7bbe(0x3a5)](_0xb6a12c){const _0x55959a=_0x1d7bbe;if(this[_0x55959a(0x295)][_0x55959a(0x38a)](_0xb6a12c))return this[_0x55959a(0x295)]['get'](_0xb6a12c);const _0x340f47=Ze[this['_colorIndex']];return this[_0x55959a(0x2a3)]=(this[_0x55959a(0x2a3)]+0x1)%Ze['length'],this['_assignedColors'][_0x55959a(0x308)](_0xb6a12c,_0x340f47),_0x340f47;}}function Tt(_0x378dfb){const _0x591f9b=_0x1d7bbe;let _0x386f2c='';for(const _0x1c1bda of _0x378dfb){const {startOffset:_0x1ccc8a,endOffset:_0x22d4dc,isActive:_0x4745c6,rangeType:_0x3c45d3,segmentId:_0x379af5,segmentPage:_0xd5e897}=_0x1c1bda;_0x386f2c[_0x591f9b(0x39d)]&&(_0x386f2c+=','),_0x386f2c+=_0x1ccc8a+':'+_0x22d4dc+':'+(_0x4745c6?'1':'0')+':'+_0x3c45d3+':'+_0x379af5+':'+_0xd5e897;}return _0x386f2c;}function _i(_0x3a8555){const _0x53b01b=_0x1d7bbe,_0x360db7=_0x3a8555[_0x53b01b(0x2fe)](','),_0x4173cf=[];for(const _0x291607 of _0x360db7){const [_0x49a593,_0x4dbace,_0x3a4f08,_0xd052c8,_0x56f83b,_0x43c79f]=_0x291607[_0x53b01b(0x2fe)](':');_0x4173cf[_0x53b01b(0x37a)]({'startOffset':Number(_0x49a593),'endOffset':Number(_0x4dbace),'collapsed':_0x49a593===_0x4dbace,'isActive':_0x3a4f08==='1','rangeType':_0xd052c8===_0x4196d7[_0x53b01b(0x32c)]?_0x4196d7[_0x53b01b(0x32c)]:_0x4196d7[_0x53b01b(0x1fd)],'segmentId':typeof _0x56f83b==_0x53b01b(0x3a3)?String(_0x56f83b):'','segmentPage':Number(_0x43c79f!=null?_0x43c79f:-0x1)});}return _0x4173cf[_0x53b01b(0x33a)](_0x17c248=>_0x17c248[_0x53b01b(0x39b)])||(_0x4173cf[0x0][_0x53b01b(0x39b)]=!0x0),_0x4173cf;}class He extends _0x58bba7{constructor(){const _0x36039b=_0x1d7bbe;super(...arguments),_(this,_0x36039b(0x275),new _0x2ac3e2(null)),_(this,'collabCursorState$',this[_0x36039b(0x275)][_0x36039b(0x203)]());}[_0x1d7bbe(0x379)](_0x538fa7){const _0x896932=_0x1d7bbe,{unitID:_0x2c4a11,memberID:_0x27d8d5,textRanges:_0x5cb3c7}=_0x538fa7,_0x38dfe5=Tt(_0x5cb3c7);if(_0x38dfe5==='')return;const _0x2ad1f1={'unitID':_0x2c4a11,'memberID':_0x27d8d5,'selection':_0x38dfe5};this['_collabCursorState$'][_0x896932(0x256)](_0x2ad1f1);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x443ae9,_0x3a5dcc,_0x3b7b33,_0x5a7d56)=>{for(var _0x27c576=_0x5a7d56>0x1?void 0x0:_0x5a7d56?hi(_0x3a5dcc,_0x3b7b33):_0x3a5dcc,_0x1988d4=_0x443ae9['length']-0x1,_0x221af3;_0x1988d4>=0x0;_0x1988d4--)(_0x221af3=_0x443ae9[_0x1988d4])&&(_0x27c576=_0x221af3(_0x27c576)||_0x27c576);return _0x27c576;},L=(_0x2fd617,_0x55217a)=>(_0x54a16f,_0x4f4d4f)=>_0x55217a(_0x54a16f,_0x4f4d4f,_0x2fd617);const di=0x12c,fi=0x64;let Ue=class extends _0x58bba7{constructor(_0x4051d3,_0x5a9919,_0x33c642,_0x569f48,_0x4bb266,_0x53084c,_0x30f92d,_0x442881,_0x48e8ea){const _0x4e6e22=_0x1d7bbe;super(),_(this,_0x4e6e22(0x1d8),!0x1),_(this,'_init',!0x1),_(this,_0x4e6e22(0x1c7),new _0x2ac3e2(new Map())),_(this,'cursorInfo$',this[_0x4e6e22(0x1c7)]['asObservable']()),_(this,_0x4e6e22(0x276),new _0x2ac3e2([])),_(this,_0x4e6e22(0x3cb),this[_0x4e6e22(0x276)]['pipe'](_0x2bd9d8(di))),_(this,_0x4e6e22(0x28d),_0x809147(_0x1337f7=>{const _0x11476b=_0x4e6e22,_0x543693={'eventID':_0x289f53[_0x11476b(0x29b)],'data':{'unitID':this[_0x11476b(0x35d)],'memberID':this['_session']['getMemberID'](),'selection':Tt(_0x1337f7)}};this[_0x11476b(0x29f)]['send'](_0x543693,this[_0x11476b(0x35d)]);},fi)),(this[_0x4e6e22(0x35d)]=_0x4051d3,this[_0x4e6e22(0x29f)]=_0x5a9919,this['_injector']=_0x33c642,this[_0x4e6e22(0x1eb)]=_0x569f48,this[_0x4e6e22(0x399)]=_0x4bb266,this['_syncEditingCollabCursorService']=_0x53084c,this[_0x4e6e22(0x3ae)]=_0x30f92d,this[_0x4e6e22(0x353)]=_0x442881,this['_commandService']=_0x48e8ea);}get[_0x1d7bbe(0x1c5)](){const _0x49a2a0=_0x1d7bbe;return this[_0x49a2a0(0x1c7)][_0x49a2a0(0x36d)]();}get[_0x1d7bbe(0x2c7)](){const _0x52bb36=_0x1d7bbe;return this[_0x52bb36(0x276)][_0x52bb36(0x36d)]();}[_0x1d7bbe(0x1e3)](){const _0x2146d1=_0x1d7bbe;super[_0x2146d1(0x1e3)](),this[_0x2146d1(0x1c7)][_0x2146d1(0x256)](new Map()),this[_0x2146d1(0x1c7)][_0x2146d1(0x3a6)](),this[_0x2146d1(0x276)]['next']([]),this[_0x2146d1(0x276)][_0x2146d1(0x3a6)]();}['init'](){const _0x385ed7=_0x1d7bbe;this[_0x385ed7(0x1fc)]||(this[_0x385ed7(0x1fc)]=!0x0,this[_0x385ed7(0x29f)]['sessionStatus$'][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x24b057=>{const _0x30ad5f=_0x385ed7;_0x24b057===_0x4f1673['ONLINE']?this[_0x30ad5f(0x3a7)]():this[_0x30ad5f(0x1e9)]();}),this[_0x385ed7(0x29f)][_0x385ed7(0x242)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x4f5868=>{const _0x3edc16=_0x385ed7,_0x2abbeb=_0x4f5868[_0x3edc16(0x3b7)];_0x2abbeb===_0x289f53[_0x3edc16(0x29b)]&&this['_onCursorUpdate'](_0x4f5868),_0x2abbeb===_0x289f53[_0x3edc16(0x3b4)]&&this[_0x3edc16(0x263)](_0x4f5868);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x3a29ce=>{const _0x5b717d=_0x385ed7,_0x17c4e2=_0x3a29ce['params'];_0x17c4e2!=null&&this[_0x5b717d(0x1d8)]&&_0x3a29ce['id']===_0x15d8be['id']&&_0x17c4e2['unitId']===this['unitID']&&_0x17c4e2[_0x5b717d(0x1c8)]===!0x1&&_0x17c4e2[_0x5b717d(0x2ea)]['length']>0x0&&this[_0x5b717d(0x28d)](_0x17c4e2[_0x5b717d(0x2ea)]);})),this[_0x385ed7(0x2d1)][_0x385ed7(0x368)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x13683e=>{const _0x47d4c4=_0x385ed7;if((_0x13683e==null?void 0x0:_0x13683e[_0x47d4c4(0x35d)])!==this[_0x47d4c4(0x35d)])return;const _0x55e2b8={'eventID':_0x289f53[_0x47d4c4(0x29b)],'data':_0x13683e};this[_0x47d4c4(0x33b)](_0x55e2b8);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x2c0d6a=>{const _0x2526ee=_0x385ed7;if(_0x2c0d6a[_0x2526ee(0x26c)]==null)return;const _0xd2cd14=_0x2c0d6a['params'];if(_0x2c0d6a['id']!==_0x156eaa['id']||_0xd2cd14[_0x2526ee(0x265)]!==this[_0x2526ee(0x35d)])return;const _0x331b71={'id':_0x2526ee(0x20a),'params':_0xd2cd14},_0x5e5482=this[_0x2526ee(0x1c5)];for(const [_0x473850,_0x39c6ac]of _0x5e5482){const _0x2d9a3b={'id':_0x2526ee(0x20a),'params':{'unitId':this[_0x2526ee(0x35d)],'actions':null,'textRanges':_0x39c6ac[_0x2526ee(0x2ea)]}},_0x47b102=this[_0x2526ee(0x3ae)][_0x2526ee(0x23f)](_0x331b71,_0x2d9a3b,!0x1);if(_0x1da839(_0x47b102))throw _0x47b102[_0x2526ee(0x225)];_0x5e5482[_0x2526ee(0x308)](_0x473850,{..._0x39c6ac,'ranges':_0x47b102[_0x2526ee(0x395)][_0x2526ee(0x26c)][_0x2526ee(0x240)]});}queueMicrotask(()=>{const _0x202f6b=_0x2526ee;this[_0x202f6b(0x1c7)][_0x202f6b(0x256)](_0x5e5482);});})));}['_onCursorUpdate'](_0x5292c5){const _0x21ad96=_0x1d7bbe;var _0x4a4248,_0x29c512;const {memberID:_0x4048c2,selection:_0x1cd074}=_0x5292c5[_0x21ad96(0x211)],_0x3d6ba6=_i(_0x1cd074),_0x390904=(_0x29c512=(_0x4a4248=this[_0x21ad96(0x399)][_0x21ad96(0x262)](this[_0x21ad96(0x35d)],_0x4048c2))==null?void 0x0:_0x4a4248[_0x21ad96(0x241)])!=null?_0x29c512:_0x21ad96(0x3be),_0x40f87b={'color':this[_0x21ad96(0x1eb)][_0x21ad96(0x3a5)](_0x4048c2),'name':_0x390904,'ranges':_0x3d6ba6},_0x41b144=this[_0x21ad96(0x1c5)];_0x41b144['set'](_0x4048c2,_0x40f87b),this[_0x21ad96(0x1c7)][_0x21ad96(0x256)](_0x41b144);}[_0x1d7bbe(0x263)](_0x19c349){const _0x4b5632=_0x1d7bbe,{memberID:_0x5488f2}=_0x19c349[_0x4b5632(0x211)],_0x122489=this[_0x4b5632(0x1c5)];_0x122489['delete'](_0x5488f2),this[_0x4b5632(0x1c7)][_0x4b5632(0x256)](_0x122489);}[_0x1d7bbe(0x3a7)](){const _0x5777dc=_0x1d7bbe;var _0x313c4f;if(this[_0x5777dc(0x1d8)]=!0x0,((_0x313c4f=this[_0x5777dc(0x353)][_0x5777dc(0x24f)]())==null?void 0x0:_0x313c4f['getUnitId']())!==this[_0x5777dc(0x35d)])return;const _0x1ae4b5=this['_injector'][_0x5777dc(0x1f1)](_0x25837d)[_0x5777dc(0x301)]();Array[_0x5777dc(0x1cd)](_0x1ae4b5)&&_0x1ae4b5[_0x5777dc(0x39d)]>0x0&&this['_updateLocalCursor'](_0x1ae4b5);}[_0x1d7bbe(0x1e9)](){const _0x4f7654=_0x1d7bbe;this[_0x4f7654(0x1d8)]=!0x1;}};Ue=ui([L(0x2,_0x3c7534(_0xa07411)),L(0x3,_0x3c7534(ke)),L(0x4,_0x3c7534(_0x160c80)),L(0x5,_0x3c7534(He)),L(0x6,_0xe6a3f5),L(0x7,_0x3888fb),L(0x8,_0x1abf6a)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x39f436,_0x258b3f,_0x237b52,_0xe8d4d5)=>{const _0x250a91=_0x1d7bbe;for(var _0x337111=_0xe8d4d5>0x1?void 0x0:_0xe8d4d5?Si(_0x258b3f,_0x237b52):_0x258b3f,_0x5de991=_0x39f436[_0x250a91(0x39d)]-0x1,_0xc67b56;_0x5de991>=0x0;_0x5de991--)(_0xc67b56=_0x39f436[_0x5de991])&&(_0x337111=_0xc67b56(_0x337111)||_0x337111);return _0x337111;},x=(_0x3ed43f,_0x178a4b)=>(_0x46d183,_0x5ebc32)=>_0x178a4b(_0x46d183,_0x5ebc32,_0x3ed43f);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16861f=[],_0x4c426b=!0x1;return _0x6d1ad9=>{const _0x24b155=_0x1bb4;_0x16861f[_0x24b155(0x37a)](_0x6d1ad9),_0x4c426b||(_0x4c426b=!0x0,setTimeout(()=>{const _0x7756fb=_0x24b155;_0x16861f[_0x7756fb(0x388)](_0x1e2320=>_0x1e2320()),_0x16861f=[],_0x4c426b=!0x1;}));};};let Me=class extends _0x58bba7{constructor(_0x425180,_0xdbabb4,_0x44791c,_0x51ffa1,_0x309325,_0xddc21d,_0x502186,_0x2ccf8f){const _0x5d659b=_0x1d7bbe;super(),_(this,_0x5d659b(0x1d8),!0x1),_(this,_0x5d659b(0x1fc),!0x1),_(this,'_cursorInfo$',new _0x2ac3e2(new Map())),_(this,_0x5d659b(0x36a),this[_0x5d659b(0x1c7)][_0x5d659b(0x203)]()),_(this,_0x5d659b(0x276),new _0x2ac3e2([])),_(this,_0x5d659b(0x3cb),this[_0x5d659b(0x276)][_0x5d659b(0x1c9)](_0x2bd9d8(gi))),_(this,'_updateLocalCursor',_0x809147((_0x443382,_0x11d76f)=>{const _0x49df68=_0x5d659b,_0x716a3b={'eventID':_0x289f53[_0x49df68(0x29b)],'data':{'unitID':this[_0x49df68(0x35d)],'memberID':this[_0x49df68(0x29f)]['getMemberID'](),'selection':_0x41edb3(_0x443382,_0x11d76f['range'])}};this['_session'][_0x49df68(0x219)](_0x716a3b,this['unitID']);},Ii)),(this[_0x5d659b(0x35d)]=_0x425180,this[_0x5d659b(0x29f)]=_0xdbabb4,this[_0x5d659b(0x2d6)]=_0x44791c,this[_0x5d659b(0x1eb)]=_0x51ffa1,this[_0x5d659b(0x399)]=_0x309325,this[_0x5d659b(0x353)]=_0xddc21d,this[_0x5d659b(0x1d4)]=_0x502186,this[_0x5d659b(0x2fd)]=_0x2ccf8f);}get[_0x1d7bbe(0x1c5)](){const _0x425f0d=_0x1d7bbe;return this[_0x425f0d(0x1c7)]['getValue']();}get[_0x1d7bbe(0x2c7)](){const _0x1fbe68=_0x1d7bbe;return this[_0x1fbe68(0x276)][_0x1fbe68(0x36d)]();}['dispose'](){const _0x501343=_0x1d7bbe;super[_0x501343(0x1e3)](),this[_0x501343(0x1c7)][_0x501343(0x256)](new Map()),this[_0x501343(0x1c7)][_0x501343(0x3a6)](),this['_roomMembers$'][_0x501343(0x256)]([]),this[_0x501343(0x276)][_0x501343(0x3a6)]();}['init'](){const _0x19ecc3=_0x1d7bbe;this[_0x19ecc3(0x1fc)]||(this['_init']=!0x0,this[_0x19ecc3(0x29f)][_0x19ecc3(0x355)][_0x19ecc3(0x1c9)](_0x4b7757(this['dispose$']))[_0x19ecc3(0x3ce)](_0xb4b5b8=>{const _0x53e741=_0x19ecc3;_0xb4b5b8===_0x4f1673['ONLINE']?this[_0x53e741(0x3a7)]():this[_0x53e741(0x1e9)]();}),this['_session'][_0x19ecc3(0x242)]['pipe'](_0x4b7757(this[_0x19ecc3(0x2c3)]))[_0x19ecc3(0x3ce)](_0x3a41fc=>{const _0x2d0722=_0x19ecc3,_0x53bfb2=_0x3a41fc[_0x2d0722(0x3b7)];_0x53bfb2===_0x289f53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3a41fc),_0x53bfb2===_0x289f53[_0x2d0722(0x3b4)]&&this[_0x2d0722(0x263)](_0x3a41fc);}),this[_0x19ecc3(0x1ff)](),this[_0x19ecc3(0x26a)](this['_commandService'][_0x19ecc3(0x32b)](_0x11edd1=>{const _0x2eb0be=_0x19ecc3;if(this['_online']&&_0x11edd1['id']===_0x4b878a['id']&&_0x11edd1[_0x2eb0be(0x26c)][_0x2eb0be(0x265)]===this[_0x2eb0be(0x35d)]){const _0x3adb14=_0x11edd1['params'];this[_0x2eb0be(0x28d)](_0x3adb14[_0x2eb0be(0x38d)],_0x3adb14[_0x2eb0be(0x1ec)][0x0]);}})));}['_onCursorUpdate'](_0x35f2a5){const _0x4130fe=_0x1d7bbe;var _0x5630fd,_0x5721ac;const {memberID:_0x40f1db,selection:_0xba2e0}=_0x35f2a5['data'],{sheetName:_0x39117e,range:_0x328263}=_0xdc58a6(_0xba2e0),_0x1bae9a={'name':(_0x5721ac=(_0x5630fd=this[_0x4130fe(0x399)][_0x4130fe(0x262)](this[_0x4130fe(0x35d)],_0x40f1db))==null?void 0x0:_0x5630fd[_0x4130fe(0x241)])!=null?_0x5721ac:_0x4130fe(0x3be),'range':this[_0x4130fe(0x1d2)](_0x39117e,_0x328263),'sheetID':_0x39117e,'color':this[_0x4130fe(0x1eb)][_0x4130fe(0x3a5)](_0x40f1db),'selection':_0xba2e0},_0x117e05=this[_0x4130fe(0x1c5)];_0x117e05['set'](_0x40f1db,_0x1bae9a),this['_cursorInfo$'][_0x4130fe(0x256)](_0x117e05);}['_onCursorDelete'](_0x4c3ded){const _0x990334=_0x1d7bbe,{memberID:_0x444e48}=_0x4c3ded[_0x990334(0x211)],_0x5bb013=this['cursorInfo'];_0x5bb013['delete'](_0x444e48),this['_cursorInfo$'][_0x990334(0x256)](_0x5bb013);}[_0x1d7bbe(0x1d2)](_0x325f0d,_0x254d71){const _0x212516=_0x1d7bbe;var _0x2159db,_0x3ebde3;const _0xe5ca5b=(_0x3ebde3=(_0x2159db=this[_0x212516(0x353)]['getUniverSheetInstance'](this[_0x212516(0x35d)]))==null?void 0x0:_0x2159db[_0x212516(0x324)](_0x325f0d))==null?void 0x0:_0x3ebde3[_0x212516(0x34f)]();return(_0xe5ca5b==null?void 0x0:_0xe5ca5b['find'](_0x5bda04=>_0x186a42[_0x212516(0x39c)](_0x5bda04,_0x254d71)))||_0x254d71;}[_0x1d7bbe(0x1ff)](){const _0x257067=_0x1d7bbe,_0x4843a7=new _0x3bf60a(),_0x29ecf3=vi(),_0x509963=()=>{const _0x1f3863=_0x1bb4;_0x4843a7[_0x1f3863(0x1e3)]();const _0x18180e=(_0x125269,_0x8fc046,_0x1b2e53,_0x262ccd)=>{const _0x51c195=_0x1f3863;let _0x5a7ced=[];switch(_0x125269['id']){case _0x3e03f7['DeleteRangeMoveLeftCommandId']:{_0x5a7ced=_0x336a20(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x363)]:{_0x5a7ced=_0x1c80c4(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1d3)]:{_0x5a7ced=_0x237808(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1ea)]:{_0x5a7ced=_0x2a89a7(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x23a)]:{_0x5a7ced=_0x7e9d5c(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x327)]:{_0x5a7ced=_0x4f5344(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x213)]:{_0x5a7ced=_0x44bb30(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x344)]:{_0x5a7ced=_0x3182c5(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x2f0)]:{_0x5a7ced=_0x35d808(_0x125269,_0x262ccd);break;}}const _0x270c5a=_0x383c3d(_0x5a7ced,_0x262ccd),_0x334b5b=this['cursorInfo'][_0x51c195(0x1f1)](_0x8fc046);if(_0x334b5b&&_0x270c5a){const _0x5b93e0={..._0x334b5b,'range':_0x270c5a};this[_0x51c195(0x1c5)]['set'](_0x8fc046,_0x5b93e0),_0x29ecf3(()=>{const _0x54a256=_0x51c195,_0x552a1e=this[_0x54a256(0x2fd)][_0x54a256(0x30c)](_0x270c5a,_0x5a986b=>(_0x552a1e[_0x54a256(0x1e3)](),_0x18180e(_0x5a986b,_0x8fc046,_0x1b2e53,_0x270c5a)));_0x4843a7['add'](_0x552a1e);});}return{'redos':[],'undos':[]};};this[_0x1f3863(0x1c5)][_0x1f3863(0x388)]((_0x2f37e0,_0x2148da)=>{const _0xa22240=_0x1f3863,{range:_0x1232cb,sheetID:_0x6567a3}=_0x2f37e0,_0x202c78=this[_0xa22240(0x2fd)][_0xa22240(0x30c)](_0x1232cb,_0xd961b8=>(_0x202c78[_0xa22240(0x1e3)](),_0x18180e(_0xd961b8,_0x2148da,_0x6567a3,_0x1232cb)));_0x4843a7[_0xa22240(0x20f)](_0x202c78);});};this[_0x257067(0x26a)](_0x55db35(this[_0x257067(0x1c7)][_0x257067(0x3ce)](()=>{_0x509963();})));}['_toggleOnline'](){const _0x454a79=_0x1d7bbe;var _0x139e71,_0x588368;if(this[_0x454a79(0x1d8)]=!0x0,((_0x139e71=this[_0x454a79(0x353)][_0x454a79(0x24f)]())==null?void 0x0:_0x139e71[_0x454a79(0x2d5)]())!==this['unitID'])return;const _0x58ce28=(_0x588368=this[_0x454a79(0x2d6)]['get'](_0x1237fd)[_0x454a79(0x298)]())==null?void 0x0:_0x588368[0x0],_0xef456c=this[_0x454a79(0x353)][_0x454a79(0x2d2)](_0x14cd2c[_0x454a79(0x2e4)])[_0x454a79(0x38c)]();_0x58ce28&&_0xef456c&&this[_0x454a79(0x28d)](_0xef456c[_0x454a79(0x217)](),_0x58ce28);}['_toggleOffline'](){const _0x27cf7d=_0x1d7bbe;this[_0x27cf7d(0x1d8)]=!0x1;}};Me=mi([x(0x2,_0x3c7534(_0xa07411)),x(0x3,_0x3c7534(ke)),x(0x4,_0x3c7534(_0x160c80)),x(0x5,_0x3888fb),x(0x6,_0x1abf6a),x(0x7,_0x3c7534(_0x28269d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2dd69a,_0x49cf63,_0x20b03c,_0x1fc4e2)=>{for(var _0x5a7e5f=_0x1fc4e2>0x1?void 0x0:_0x1fc4e2?pi(_0x49cf63,_0x20b03c):_0x49cf63,_0x5a7e81=_0x2dd69a['length']-0x1,_0x3b43b6;_0x5a7e81>=0x0;_0x5a7e81--)(_0x3b43b6=_0x2dd69a[_0x5a7e81])&&(_0x5a7e5f=_0x3b43b6(_0x5a7e5f)||_0x5a7e5f);return _0x5a7e5f;},Se=(_0x2b2c4c,_0x19f9ef)=>(_0x5d5ca2,_0x2239ef)=>_0x19f9ef(_0x5d5ca2,_0x2239ef,_0x2b2c4c);let H=class extends _0x58bba7{constructor(_0x49a2ad,_0x467792,_0x120263){const _0x3dc2c0=_0x1d7bbe;super(),_(this,'_entities',new Map()),_(this,_0x3dc2c0(0x23d),new _0xa3cd52()),(this[_0x3dc2c0(0x353)]=_0x49a2ad,this[_0x3dc2c0(0x2d6)]=_0x467792,this[_0x3dc2c0(0x2e9)]=_0x120263,this[_0x3dc2c0(0x1fc)]());}[_0x1d7bbe(0x1e3)](){const _0x32edd7=_0x1d7bbe;super[_0x32edd7(0x1e3)](),this['_entityInit$'][_0x32edd7(0x3a6)](),this[_0x32edd7(0x21e)][_0x32edd7(0x388)](_0x29df2b=>_0x29df2b[_0x32edd7(0x1e3)]());}['getCollabCursors$'](_0x28c823){const _0x275b43=_0x1d7bbe;return this[_0x275b43(0x21e)]['has'](_0x28c823)?this['_entities'][_0x275b43(0x1f1)](_0x28c823)['cursorInfo$']:this[_0x275b43(0x23d)][_0x275b43(0x1c9)](_0x312de0(_0x1cf67d=>_0x1cf67d[_0x275b43(0x35d)]===_0x28c823),_0x182269(_0x89f920=>_0x89f920[_0x275b43(0x36a)]));}[_0x1d7bbe(0x1fc)](){const _0x5a37b1=_0x1d7bbe;this[_0x5a37b1(0x353)]['getTypeOfUnitAdded$'](_0x14cd2c['UNIVER_SHEET'])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x3ce)](async _0x163a7a=>{const _0x506cde=_0x5a37b1,_0x1355d9=_0x163a7a['getUnitId'](),_0x587fbc=await this[_0x506cde(0x1be)](_0x1355d9);this['_entityInit$'][_0x506cde(0x256)](_0x587fbc),this[_0x506cde(0x21e)][_0x506cde(0x308)](_0x1355d9,_0x587fbc);}),this[_0x5a37b1(0x353)][_0x5a37b1(0x384)](_0x14cd2c[_0x5a37b1(0x268)])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x1c9)](_0x312de0(_0x19c616=>!_0x19c616['getUnitId']()[_0x5a37b1(0x1d7)]('__')))[_0x5a37b1(0x3ce)](async _0x5b4b1b=>{const _0x43e692=_0x5a37b1,_0x5384c2=_0x5b4b1b[_0x43e692(0x2d5)](),_0x2ed2a5=await this[_0x43e692(0x392)](_0x5384c2);this[_0x43e692(0x23d)]['next'](_0x2ed2a5),this[_0x43e692(0x21e)][_0x43e692(0x308)](_0x5384c2,_0x2ed2a5);}),_0x491a5f(this['_univerInstanceService'][_0x5a37b1(0x2db)](_0x14cd2c['UNIVER_DOC']),this[_0x5a37b1(0x353)][_0x5a37b1(0x2db)](_0x14cd2c[_0x5a37b1(0x2e4)]))['pipe'](_0x4b7757(this[_0x5a37b1(0x2c3)]))[_0x5a37b1(0x3ce)](_0x2384ee=>{const _0x15579f=_0x5a37b1,_0x56a2de=_0x2384ee[_0x15579f(0x2d5)](),_0xb0b6b8=this[_0x15579f(0x21e)][_0x15579f(0x1f1)](_0x56a2de);_0xb0b6b8&&(_0xb0b6b8['dispose'](),this[_0x15579f(0x21e)]['delete'](_0x56a2de));});}async[_0x1d7bbe(0x1be)](_0x40168b){const _0x142f64=_0x1d7bbe,_0x351c5b=await this[_0x142f64(0x2e9)][_0x142f64(0x1bf)](_0x40168b),_0x1432db=this['_injector']['createInstance'](Me,_0x40168b,_0x351c5b);return _0x1432db[_0x142f64(0x376)](),_0x1432db;}async['_startDocCollabCursor'](_0x50a341){const _0x1bab36=_0x1d7bbe,_0x4fb9ce=await this[_0x1bab36(0x2e9)][_0x1bab36(0x1bf)](_0x50a341),_0x171b45=this[_0x1bab36(0x2d6)][_0x1bab36(0x29a)](Ue,_0x50a341,_0x4fb9ce);return _0x171b45[_0x1bab36(0x376)](),_0x171b45;}};H=Ci([Se(0x0,_0x3888fb),Se(0x1,_0x3c7534(_0xa07411)),Se(0x2,_0x3c7534(_0x1fd5e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x8ac23a,_0x4774c7){const _0x527539=_0x1d7bbe;let {radius:_0x4d5f92,width:_0x3fda68,height:_0x5f12c7}=_0x4774c7;_0x4d5f92=_0x4d5f92!=null?_0x4d5f92:0x0,_0x3fda68=_0x3fda68!=null?_0x3fda68:0x1e,_0x5f12c7=_0x5f12c7!=null?_0x5f12c7:0x1e;let _0x701619=0x0,_0x2e9793=0x0,_0x4a6b29=0x0;_0x701619=_0x2e9793=_0x4a6b29=Math[_0x527539(0x1f2)](_0x4d5f92,_0x3fda68/0x2,_0x5f12c7/0x2),_0x8ac23a[_0x527539(0x282)](),_0x8ac23a[_0x527539(0x2a2)](_0x701619,0x0),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68-_0x2e9793,0x0),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x2e9793,_0x2e9793,_0x2e9793,Math['PI']*0x3/0x2,0x0,!0x1),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68,_0x5f12c7-_0x4a6b29),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x4a6b29,_0x5f12c7-_0x4a6b29,_0x4a6b29,0x0,Math['PI']/0x2,!0x1),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x5f12c7),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x701619),_0x8ac23a['arc'](_0x701619,_0x701619,_0x701619,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8ac23a['closePath'](),_0x4774c7['fill']&&(_0x8ac23a[_0x527539(0x1cf)](),_0x8ac23a[_0x527539(0x226)]=_0x4774c7[_0x527539(0x1da)],_0x4774c7[_0x527539(0x370)]===_0x527539(0x35e)?_0x8ac23a[_0x527539(0x1da)](_0x527539(0x35e)):_0x8ac23a[_0x527539(0x1da)](),_0x8ac23a[_0x527539(0x31b)]());}class he extends _0x24cb1f{constructor(_0x2d1078,_0x547815){const _0x55a165=_0x1d7bbe;super(_0x2d1078,_0x547815),_(this,_0x55a165(0x267)),_(this,_0x55a165(0x382)),(this[_0x55a165(0x267)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x267)],this[_0x55a165(0x382)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x382)]);}static[_0x1d7bbe(0x3cc)](_0x5d4798,_0x252ee0){const _0x4625d8=_0x1d7bbe,{text:_0x688f51,color:_0x5a4949}=_0x252ee0;_0x5d4798[_0x4625d8(0x1cf)](),_0x5d4798['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x153039=_0x5d4798[_0x4625d8(0x3a0)](_0x688f51)[_0x4625d8(0x27e)],_0x135bc3=Math[_0x4625d8(0x1f2)](_0x153039+0x2*me,Qe);Oi(_0x5d4798,{'height':ee,'radius':0x4,'width':_0x135bc3,'fill':_0x5a4949}),_0x5d4798['fillStyle']=_0x4625d8(0x255);const _0x3d3637=me,_0x5db39c=ee-Ei,_0x951d0f=Qe-0x2*me;if(_0x153039>_0x951d0f){let _0x370769='',_0x7aa136=0x0;for(const _0x14f8c6 of _0x688f51){const _0x4c5a62=_0x5d4798[_0x4625d8(0x3a0)](_0x14f8c6)[_0x4625d8(0x27e)];if(_0x7aa136+_0x4c5a62<=_0x951d0f-_0x5d4798[_0x4625d8(0x3a0)](_0x4625d8(0x2bf))[_0x4625d8(0x27e)])_0x370769+=_0x14f8c6,_0x7aa136+=_0x4c5a62;else{_0x370769+=_0x4625d8(0x2bf);break;}}_0x5d4798[_0x4625d8(0x350)](_0x370769,_0x3d3637,_0x5db39c);}else _0x5d4798[_0x4625d8(0x350)](_0x688f51,_0x3d3637,_0x5db39c);_0x5d4798[_0x4625d8(0x31b)]();}[_0x1d7bbe(0x31e)](_0x16fa15){he['drawWith'](_0x16fa15,this);}}const ge=_0x1d7bbe(0x3c7),bi=_0x1d7bbe(0x297),Ti=_0x1d7bbe(0x26b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x213be4,_0x30c4cf,_0x40079d,_0xfa7ca3){const _0x15142c=_0x1d7bbe;_(this,_0x15142c(0x3b8),[]),_(this,_0x15142c(0x383),null),_(this,_0x15142c(0x348),null),_(this,_0x15142c(0x2c1),null),_(this,_0x15142c(0x31f),null),_(this,_0x15142c(0x328),null),(this[_0x15142c(0x254)]=_0x213be4,this['_scene']=_0x30c4cf,this[_0x15142c(0x23b)]=_0x40079d,this[_0x15142c(0x364)]=_0xfa7ca3,this[_0x15142c(0x2fb)]());}set[_0x1d7bbe(0x3bb)](_0x4f6ec2){const _0x36784d=_0x1d7bbe;_0x4f6ec2?(this[_0x36784d(0x2c1)]&&this[_0x36784d(0x2c1)]['hide'](),this['_textBubble']&&this[_0x36784d(0x348)][_0x36784d(0x3cd)]()):(this[_0x36784d(0x2c1)]&&this['_anchorDot'][_0x36784d(0x3cd)](),this[_0x36784d(0x348)]&&this[_0x36784d(0x348)]['hide']());}[_0x1d7bbe(0x1e3)](){const _0x2031c2=_0x1d7bbe;for(const _0x56c8df of this[_0x2031c2(0x3b8)])_0x56c8df[_0x2031c2(0x1e3)]();this[_0x2031c2(0x348)]&&this[_0x2031c2(0x348)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x2c1)]&&this[_0x2031c2(0x2c1)]['dispose'](),this[_0x2031c2(0x383)]&&this[_0x2031c2(0x383)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x328)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2bd207=_0x1d7bbe;var _0x57b73f;const {_docSkeleton:_0x126363,_document:_0x228fd5}=this,{color:_0x2d7d02,name:_0x26760a,ranges:_0x33e6fc}=this[_0x2bd207(0x254)],_0xa0f71=_0x228fd5[_0x2bd207(0x3a9)](),{docsLeft:_0x3f9303,docsTop:_0x5559fe}=_0xa0f71,_0x5d67f1=new _0x2c0d3d(_0xa0f71,_0x126363);for(const {startOffset:_0x2cf89f,endOffset:_0x1b8fcc,rangeType:_0x5bbc4c,segmentId:_0x1b2918,segmentPage:_0x3b76c1,collapsed:_0x3e3b86,isActive:_0x313407}of _0x33e6fc){const _0x509853=_0x126363[_0x2bd207(0x34d)](_0x2cf89f,!0x0,_0x1b2918,_0x3b76c1);let _0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc,!0x0,_0x1b2918,_0x3b76c1);if(_0x219224==null&&(_0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc-0x1,!0x1,_0x1b2918,_0x3b76c1)),_0x313407){const {contentBoxPointGroup:_0x4d3478}=_0x5d67f1[_0x2bd207(0x34e)](_0x219224,_0x219224);if(_0x4d3478[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x28a)](_0x2d7d02,_0x4d3478,_0x3f9303,_0x5559fe,_0x26760a),this[_0x2bd207(0x328)]=this[_0x2bd207(0x1f9)]();}if(_0x509853&&_0x219224){if(_0x5bbc4c===_0x4196d7[_0x2bd207(0x1fd)]){const _0x20ceab=new _0x425036(_0xa0f71,_0x126363),{pointGroup:_0x3fa63f}=(_0x57b73f=_0x20ceab['getRangePointData'](_0x509853,_0x219224))!=null?_0x57b73f:{};if(_0x3fa63f==null||_0x3fa63f['length']===0x0)continue;this[_0x2bd207(0x21d)](_0x2d7d02,_0x3fa63f,_0x3f9303,_0x5559fe);}else{if(!_0x3e3b86){const {borderBoxPointGroup:_0x476e04}=_0x5d67f1[_0x2bd207(0x34e)](_0x509853,_0x219224);if(_0x476e04[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x30b)](_0x2d7d02,_0x476e04,_0x3f9303,_0x5559fe);}}}}}[_0x1d7bbe(0x28a)](_0x14b088,_0x23a9d6,_0x3f2d4f,_0xb0b229,_0x4f3272){const _0x45f241=_0x1d7bbe,_0x48513a=this[_0x45f241(0x30f)](_0x23a9d6),{left:_0x2f4d75,top:_0x5b5302,height:_0x553472}=_0x48513a,_0x226f10=this[_0x45f241(0x24e)](),_0x5a05aa=Di/_0x226f10,_0xcce6b8=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229,'height':_0x553472,'width':Ri,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':_0x5a05aa,'stroke':Ni,'evented':!0x0});this[_0x45f241(0x383)]=_0xcce6b8,this[_0x45f241(0x293)]['addObject'](_0xcce6b8,_0x5121d4);const _0x4d7b8a=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':0x0,'stroke':_0x14b088||_0x571d39(_0x54ad43[_0x45f241(0x2a1)],0x0),'evented':!0x1});this[_0x45f241(0x2c1)]=_0x4d7b8a,this[_0x45f241(0x293)][_0x45f241(0x303)](_0x4d7b8a,_0x5121d4);const _0x8c2921=new he(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-ee,'text':_0x4f3272,'color':_0x14b088});this[_0x45f241(0x348)]=_0x8c2921,this['_scene']['addObject'](_0x8c2921,_0x5121d4),this['_hover']=!0x1;}[_0x1d7bbe(0x1f9)](){const _0x20245f=_0x1d7bbe,_0x1873a7=this[_0x20245f(0x383)][_0x20245f(0x1bd)][_0x20245f(0x351)](()=>{const _0x3f5b5c=_0x20245f;this[_0x3f5b5c(0x3bb)]=!0x0;}),_0x4e6039=this['_anchor'][_0x20245f(0x231)]['subscribeEvent'](()=>{const _0x545f8a=_0x20245f;this[_0x545f8a(0x31f)]&&clearTimeout(this[_0x545f8a(0x31f)]),this[_0x545f8a(0x31f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5d63cb=_0x20245f;_0x1873a7[_0x5d63cb(0x340)](),_0x4e6039[_0x5d63cb(0x340)]();};}[_0x1d7bbe(0x30b)](_0x3e4ad5,_0x99d5da,_0x32cc63,_0x16442b){const _0x540c62=_0x1d7bbe,_0x2b6446=new _0x2273f2(_0x3e4ad5)[_0x540c62(0x2f5)](0.2)['toRgbString'](),_0x35b76d=new _0x848961(bi+_0xe70050[_0x540c62(0x38f)](X),{'pointsGroup':_0x99d5da,'fill':_0x2b6446||_0x571d39(_0x54ad43[_0x540c62(0x2a1)],0.2),'left':_0x32cc63,'top':_0x16442b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x540c62(0x3b8)]['push'](_0x35b76d),this['_scene']['addObject'](_0x35b76d,_0x5121d4);}[_0x1d7bbe(0x21d)](_0x570614,_0x4f3eb8,_0x4c1899,_0x41ec50){const _0x4835f0=_0x1d7bbe,_0x28a34a=new _0x2273f2(_0x570614)[_0x4835f0(0x2f5)](0.2)[_0x4835f0(0x221)](),_0x1fd7b2=new _0x848961(Ti+_0xe70050['generateRandomId'](X),{'pointsGroup':_0x4f3eb8,'fill':_0x28a34a||_0x571d39(_0x54ad43[_0x4835f0(0x2a1)],0.2),'left':_0x4c1899,'top':_0x41ec50,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1fd7b2),this[_0x4835f0(0x293)][_0x4835f0(0x303)](_0x1fd7b2,_0x5121d4);}[_0x1d7bbe(0x30f)](_0x448523){const _0x2c7438=_0x448523[0x0],_0x503870=_0x2c7438[0x0],_0x3a9918=_0x2c7438[0x2],{x:_0x22e2f9,y:_0x2f5c46}=_0x503870,{x:_0xe96ee,y:_0x47c834}=_0x3a9918;return{'left':_0x22e2f9,'top':_0x2f5c46,'width':_0xe96ee-_0x22e2f9,'height':_0x47c834-_0x2f5c46};}['_getScale'](){const _0x581196=_0x1d7bbe,{scaleX:_0x1ec353,scaleY:_0x2d0551}=this[_0x581196(0x293)]['getAncestorScale']();return Math[_0x581196(0x1d0)](_0x1ec353,_0x2d0551);}}var Ui=Object[_0x1d7bbe(0x3aa)],Mi=(_0x2bec05,_0x20be50,_0x5dae6c,_0x386bd6)=>{const _0xa31841=_0x1d7bbe;for(var _0x463419=_0x386bd6>0x1?void 0x0:_0x386bd6?Ui(_0x20be50,_0x5dae6c):_0x20be50,_0x455ca2=_0x2bec05[_0xa31841(0x39d)]-0x1,_0x4412df;_0x455ca2>=0x0;_0x455ca2--)(_0x4412df=_0x2bec05[_0x455ca2])&&(_0x463419=_0x4412df(_0x463419)||_0x463419);return _0x463419;},Z=(_0x3492ed,_0x3a84fa)=>(_0x2e8637,_0x18069a)=>_0x3a84fa(_0x2e8637,_0x18069a,_0x3492ed);let Pe=class extends _0x58bba7{constructor(_0x571bd9,_0x1af912,_0x17c881,_0x599900,_0x486dbd){const _0x3e2cdc=_0x1d7bbe;super(),_(this,_0x3e2cdc(0x200),[]),_(this,_0x3e2cdc(0x2bd),[]),(this[_0x3e2cdc(0x393)]=_0x571bd9,this[_0x3e2cdc(0x2e6)]=_0x1af912,this[_0x3e2cdc(0x218)]=_0x17c881,this[_0x3e2cdc(0x1d4)]=_0x599900,this[_0x3e2cdc(0x397)]=_0x486dbd,this[_0x3e2cdc(0x1fc)]());}['_init'](){const _0x12507b=_0x1d7bbe,_0x1a7df5=this[_0x12507b(0x393)][_0x12507b(0x265)],_0x279b9a=this[_0x12507b(0x2e6)];this[_0x12507b(0x26a)](_0x570ed7([this[_0x12507b(0x218)][_0x12507b(0x30d)](_0x1a7df5),this[_0x12507b(0x397)][_0x12507b(0x2cc)]])['pipe'](_0x34589c(([_0x4e60c1,_0x254f76])=>({'skeleton':_0x279b9a[_0x12507b(0x201)](),'cursors':[..._0x4e60c1[_0x12507b(0x264)]()]['flatMap'](_0x3201ba=>({..._0x3201ba,'color':this[_0x12507b(0x397)]['getColorFromTheme'](_0x3201ba[_0x12507b(0x267)])}))})))[_0x12507b(0x3ce)](_0x1988b4=>{const _0x124f99=_0x12507b;if(this[_0x124f99(0x3c3)](),_0x1988b4){const {skeleton:_0x1ca577,cursors:_0x4cd351}=_0x1988b4;this[_0x124f99(0x20e)](_0x1ca577,_0x4cd351);}})),this[_0x12507b(0x32d)](),this['_initCommandExecutedListener']();}[_0x1d7bbe(0x20e)](_0x2b8314,_0x30238b){const _0x103f5b=_0x1d7bbe,{scene:_0xd6c0bc,mainComponent:_0x24d3b3}=this[_0x103f5b(0x393)],_0x18f384=_0x30238b[_0x103f5b(0x386)](_0x3b1865=>new qe(_0x3b1865,_0xd6c0bc,_0x2b8314,_0x24d3b3));this[_0x103f5b(0x200)]=_0x18f384,this['_cursors']=_0x30238b;}['_refreshCollabCursors'](){const _0xa17c16=_0x1d7bbe;this[_0xa17c16(0x3c3)]();const {scene:_0x22260a,mainComponent:_0x411401}=this[_0xa17c16(0x393)],_0x2d9322=this['_docSkeletonManagerService'][_0xa17c16(0x201)](),_0x456af8=this['_cursors'][_0xa17c16(0x386)](_0x2bac21=>new qe(_0x2bac21,_0x22260a,_0x2d9322,_0x411401));this[_0xa17c16(0x200)]=_0x456af8;}['_removeCollabCursors'](){const _0x4e47bc=_0x1d7bbe;this['_cursorShapes'][_0x4e47bc(0x388)](_0x5e85ce=>_0x5e85ce[_0x4e47bc(0x1e3)]()),this[_0x4e47bc(0x200)]=[];}[_0x1d7bbe(0x396)](){const _0x5bbf6e=_0x1d7bbe,_0x306cb4=[_0x3ea351['id']];this[_0x5bbf6e(0x26a)](this['_commandService'][_0x5bbf6e(0x32b)](_0x291395=>{const _0x36cbe7=_0x5bbf6e;_0x306cb4[_0x36cbe7(0x288)](_0x291395['id'])&&_0x291395['params'][_0x36cbe7(0x265)]===this[_0x36cbe7(0x393)][_0x36cbe7(0x265)]&&this[_0x36cbe7(0x212)]();}));}[_0x1d7bbe(0x32d)](){const _0x572515=_0x1d7bbe;this[_0x572515(0x26a)](_0x4e8b4c(this[_0x572515(0x393)][_0x572515(0x312)]['onTransformChange$'])['pipe'](_0x155146(_0x204c72=>_0x204c72[_0x572515(0x313)]===_0x103131[_0x572515(0x35f)]),_0x235644(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3c7534(_0x1dea4a)),Z(0x2,_0x3c7534(H)),Z(0x3,_0x1abf6a),Z(0x4,_0x3c7534(_0x5301cc))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x24cb1f{constructor(_0x26f01d,_0x1a426b){const _0x318ed7=_0x1d7bbe;super(_0x26f01d,_0x1a426b),_(this,_0x318ed7(0x38b)),_(this,_0x318ed7(0x21b),!0x1),_(this,_0x318ed7(0x289)),_(this,_0x318ed7(0x36c),''),_(this,'_labelPosition',_0x318ed7(0x372)),_(this,_0x318ed7(0x2c8)),(_0x1a426b&&this[_0x318ed7(0x215)](_0x1a426b),this[_0x318ed7(0x1bd)][_0x318ed7(0x351)](()=>this[_0x318ed7(0x215)]({'hovered':!0x0})),this[_0x318ed7(0x231)]['subscribeEvent'](()=>this[_0x318ed7(0x215)]({'hovered':!0x1})));}[_0x1d7bbe(0x215)](_0x2cfdb9){const _0x4de60b=_0x1d7bbe;var _0x376bec,_0x2c4df3,_0x3fb410,_0x26c9d2,_0x5f0f4f,_0x4c69d8;this['_color']=(_0x376bec=_0x2cfdb9[_0x4de60b(0x267)])!=null?_0x376bec:this[_0x4de60b(0x38b)],this['_hovered']=(_0x2c4df3=_0x2cfdb9[_0x4de60b(0x27f)])!=null?_0x2c4df3:this[_0x4de60b(0x21b)],this[_0x4de60b(0x289)]=(_0x3fb410=_0x2cfdb9[_0x4de60b(0x253)])!=null?_0x3fb410:this[_0x4de60b(0x289)],this[_0x4de60b(0x36c)]=(_0x26c9d2=_0x2cfdb9[_0x4de60b(0x241)])!=null?_0x26c9d2:this[_0x4de60b(0x36c)],this[_0x4de60b(0x3bc)]=(_0x5f0f4f=_0x2cfdb9[_0x4de60b(0x2ad)])!=null?_0x5f0f4f:this[_0x4de60b(0x3bc)],this[_0x4de60b(0x2c8)]=(_0x4c69d8=_0x2cfdb9[_0x4de60b(0x252)])!=null?_0x4c69d8:this['_backgroundColor'],this['transformByState']({'width':_0x2cfdb9[_0x4de60b(0x27e)],'height':_0x2cfdb9[_0x4de60b(0x3b2)]});}[_0x1d7bbe(0x21c)](_0x568168){const _0x2ccbc0=_0x1d7bbe,{row:_0x1a3290,column:_0x247bbd}=_0x568168;if(_0x1a3290>=this['_range'][_0x2ccbc0(0x3b0)]&&_0x1a3290<=this[_0x2ccbc0(0x289)][_0x2ccbc0(0x296)]&&_0x247bbd>=this['_range'][_0x2ccbc0(0x318)]&&_0x247bbd<=this['_range']['endColumn']){this[_0x2ccbc0(0x215)]({'hovered':!0x0});return;}this[_0x2ccbc0(0x215)]({'hovered':!0x1});}['triggerDblclick'](_0x36c073){return!0x1;}['_draw'](_0x27701e){const _0x204cf4=_0x1d7bbe;_0x29e210[_0x204cf4(0x3cc)](_0x27701e,{'width':this[_0x204cf4(0x27e)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x204cf4(0x38b)],'evented':!0x1,'fill':this[_0x204cf4(0x2c8)]}),this[_0x204cf4(0x21b)]&&(_0x27701e[_0x204cf4(0x1cf)](),_0x27701e[_0x204cf4(0x341)](0x1,0x0,0x0,0x1,this[_0x204cf4(0x27e)],this[_0x204cf4(0x3bc)]==='bottom'?0x0:-0x14),he[_0x204cf4(0x3cc)](_0x27701e,{'text':this[_0x204cf4(0x36c)],'color':this[_0x204cf4(0x38b)]}),_0x27701e[_0x204cf4(0x31b)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x172f0a,_0x46bd15,_0x442317,_0x2f697e)=>{const _0x2e7d19=_0x1d7bbe;for(var _0x133c10=_0x2f697e>0x1?void 0x0:_0x2f697e?Ai(_0x46bd15,_0x442317):_0x46bd15,_0x578821=_0x172f0a[_0x2e7d19(0x39d)]-0x1,_0x42f842;_0x578821>=0x0;_0x578821--)(_0x42f842=_0x172f0a[_0x578821])&&(_0x133c10=_0x42f842(_0x133c10)||_0x133c10);return _0x133c10;},ve=(_0x41be7c,_0xbc56e8)=>(_0x1e2b7a,_0x1196a8)=>_0xbc56e8(_0x1e2b7a,_0x1196a8,_0x41be7c);const $i=0x1389;let Le=class extends _0x58bba7{constructor(_0x4d87c3,_0x26ec50,_0xee425,_0x2d34f8){const _0x12c0f4=_0x1d7bbe;super(),_(this,_0x12c0f4(0x2bd),new Set()),_(this,'_lastPointer',null),(this[_0x12c0f4(0x393)]=_0x4d87c3,this[_0x12c0f4(0x2b2)]=_0x26ec50,this[_0x12c0f4(0x218)]=_0xee425,this[_0x12c0f4(0x397)]=_0x2d34f8,this[_0x12c0f4(0x1fc)]());}[_0x1d7bbe(0x1fc)](){const _0x55af1b=_0x1d7bbe;this[_0x55af1b(0x2b2)][_0x55af1b(0x3c8)]['pipe'](_0x1d4787(this[_0x55af1b(0x2c3)]),_0x260b32(_0x173f1f=>{const _0x1b9ba8=_0x55af1b;if(_0x173f1f){const _0x33056e=_0x173f1f['sheetId'];return _0x570ed7(this[_0x1b9ba8(0x218)]['getCollabCursors$'](this[_0x1b9ba8(0x393)]['unitId']),this[_0x1b9ba8(0x397)]['currentTheme$'])['pipe'](_0x34589c(([_0x56b888,_0x4eb944])=>{const _0x35ee98=_0x1b9ba8,_0x51e0c6=new Map();return _0x56b888[_0x35ee98(0x388)]((_0x3960a2,_0x5933eb)=>{const _0x1232bb=_0x35ee98;if(_0x3960a2[_0x1232bb(0x299)]===_0x33056e){const _0x1b5cf1={..._0x3960a2};_0x1b5cf1[_0x1232bb(0x267)]=this[_0x1232bb(0x397)][_0x1232bb(0x2a9)](_0x3960a2['color']),_0x51e0c6[_0x1232bb(0x308)](_0x5933eb,_0x1b5cf1);}}),{'skeleton':_0x173f1f,'cursors':_0x51e0c6};}));}return _0x5b4338({'skeleton':null,'cursors':new Map()});}))[_0x55af1b(0x3ce)](({skeleton:_0x5045c8,cursors:_0x219bb6})=>{const _0x559530=_0x55af1b;this['_removeCollabCursors'](),_0x5045c8&&this[_0x559530(0x20e)](_0x5045c8,_0x219bb6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x55af1b(0x3ce)](_0x289f93=>{const _0x12d92f=_0x55af1b;if(_0x289f93==null)return;const {skeleton:_0x52886c}=_0x289f93,{scene:_0x1fc478}=this[_0x12d92f(0x393)];_0x1fc478[_0x12d92f(0x39a)][_0x12d92f(0x351)](_0x809147(_0x2faaba=>{const _0x422b9e=_0x12d92f;var _0x4cf568,_0x907675;const {offsetX:_0x16a17b,offsetY:_0x21cbb8}=_0x2faaba,{x:_0x2eb300,y:_0x22b990}=_0x1fc478[_0x422b9e(0x29c)](_0x3edd65['FromArray']([_0x16a17b,_0x21cbb8])),{scaleX:_0x79510f,scaleY:_0x363c7e}=_0x1fc478[_0x422b9e(0x1e2)](),_0x513a23=_0x1fc478[_0x422b9e(0x33f)](_0x5ca290[_0x422b9e(0x257)]),_0x4feec6=_0x1fc478[_0x422b9e(0x2f9)](_0x3edd65[_0x422b9e(0x302)]([_0x2eb300,_0x22b990]),_0x513a23),_0x2e1542=_0x52886c[_0x422b9e(0x2d3)](_0x16a17b,_0x21cbb8,_0x79510f,_0x363c7e,_0x4feec6);((_0x4cf568=this['_lastPointer'])==null?void 0x0:_0x4cf568['column'])===_0x2e1542[_0x422b9e(0x214)]&&((_0x907675=this['_lastPointer'])==null?void 0x0:_0x907675[_0x422b9e(0x2ed)])===_0x2e1542[_0x422b9e(0x2ed)]||this[_0x422b9e(0x2bd)]['forEach'](_0x5b66c0=>{const _0x139879=_0x422b9e;_0x5b66c0[_0x139879(0x21c)](_0x2e1542);});},0x64));});}[_0x1d7bbe(0x20e)](_0x5e7bfe,_0x5863e0){const _0x319ad7=_0x1d7bbe;var _0x1619a3;const _0x236a9d=(_0x1619a3=this['_sheetSkeletonManagerService'][_0x319ad7(0x391)]())==null?void 0x0:_0x1619a3[_0x319ad7(0x2a6)];if(!_0x236a9d)return;const _0x2378f2=this['_getSheetObject']();if(!_0x2378f2)return;this[_0x319ad7(0x2bd)]['forEach'](_0x36626b=>{const _0x55ef69=_0x319ad7;_0x36626b[_0x55ef69(0x1cb)]();});const {scene:_0x48e34d}=_0x2378f2,_0x7370b5=xi(Array['from'](_0x5863e0['values']()))[_0x319ad7(0x386)](_0x2c830a=>{const _0x14c53b=_0x319ad7,{color:_0x48c99a,range:_0x4c0631,name:_0x312db0,selection:_0x428279,sheetID:_0x4c7cbe}=_0x2c830a,{startColumn:_0x1e535d,startRow:_0xe973c4,endColumn:_0x1b4388,endRow:_0x3a2e2e}=_0x4c0631,_0x1025a1=_0x2cf5db(_0xe973c4,_0x1e535d,_0x48e34d,_0x236a9d),_0x2d797f=_0x2cf5db(_0x3a2e2e,_0x1b4388,_0x48e34d,_0x236a9d),{columnHeaderHeightAndMarginTop:_0x330543}=_0x236a9d,{startX:_0x4ccda0,startY:_0x42ec17}=_0x1025a1,{endX:_0x183bc4,endY:_0x1e3244}=_0x2d797f,_0x3ee2c5=_0x183bc4-_0x4ccda0,_0xb76e54=_0x1e3244-_0x42ec17,_0x1bb5bb={'labelPosition':_0x42ec17-_0x330543>=ee?_0x14c53b(0x372):_0x14c53b(0x1e8),'sheetID':_0x4c7cbe,'range':_0x4c0631,'color':_0x48c99a,'name':_0x312db0,'selection':_0x428279,'left':_0x4ccda0,'top':_0x42ec17,'width':_0x3ee2c5,'height':_0xb76e54,'evented':!0x1,'zIndex':$i};return new wi(_0x312db0,_0x1bb5bb);});_0x48e34d[_0x319ad7(0x345)](_0x7370b5,Pi),this[_0x319ad7(0x2bd)]=new Set(_0x7370b5);}['_removeCollabCursors'](){const _0x51a509=_0x1d7bbe;var _0x1c1f4a;(_0x1c1f4a=this[_0x51a509(0x2bd)])==null||_0x1c1f4a[_0x51a509(0x388)](_0x8ab10e=>_0x8ab10e[_0x51a509(0x1e3)]());}['_getSheetObject'](){const _0x5e9b7c=_0x1d7bbe;return _0x40a2f0(this['_context'][_0x5e9b7c(0x36e)],this[_0x5e9b7c(0x393)]);}};Le=yi([ve(0x1,_0x3c7534(_0x72b673)),ve(0x2,_0x3c7534(H)),ve(0x3,_0x3c7534(_0x5301cc))],Le);function xi(_0x5a6801){const _0x2c891a=_0x1d7bbe,_0x3c81b=new Map();return _0x5a6801['forEach'](_0x207c78=>{const _0x3f1b35=_0x1bb4;if(_0x3c81b[_0x3f1b35(0x38a)](_0x207c78['selection'])){const _0x218e75=_0x3c81b[_0x3f1b35(0x1f1)](_0x207c78['selection']);_0x218e75['name']+=',\x20'+_0x207c78[_0x3f1b35(0x241)];}else _0x3c81b['set'](_0x207c78[_0x3f1b35(0x3b5)],_0x207c78);}),Array[_0x2c891a(0x387)](_0x3c81b[_0x2c891a(0x264)]());}var v=function(){const _0x38ba05=_0x1d7bbe;return v=Object[_0x38ba05(0x2b5)]||function(_0x4c612a){const _0x27df41=_0x38ba05;for(var _0x45dd5d,_0x37ab94=0x1,_0x95d8a3=arguments['length'];_0x37ab94<_0x95d8a3;_0x37ab94++){_0x45dd5d=arguments[_0x37ab94];for(var _0x537b05 in _0x45dd5d)Object[_0x27df41(0x21f)][_0x27df41(0x34a)][_0x27df41(0x26d)](_0x45dd5d,_0x537b05)&&(_0x4c612a[_0x537b05]=_0x45dd5d[_0x537b05]);}return _0x4c612a;},v[_0x38ba05(0x390)](this,arguments);},Bi=function(_0x116d3b,_0x465da9){const _0x2a6009=_0x1d7bbe;var _0x3d67de={};for(var _0x5aaa9e in _0x116d3b)Object[_0x2a6009(0x21f)][_0x2a6009(0x34a)][_0x2a6009(0x26d)](_0x116d3b,_0x5aaa9e)&&_0x465da9[_0x2a6009(0x398)](_0x5aaa9e)<0x0&&(_0x3d67de[_0x5aaa9e]=_0x116d3b[_0x5aaa9e]);if(_0x116d3b!=null&&typeof Object['getOwnPropertySymbols']==_0x2a6009(0x315)){for(var _0x136f2a=0x0,_0x5aaa9e=Object['getOwnPropertySymbols'](_0x116d3b);_0x136f2a<_0x5aaa9e[_0x2a6009(0x39d)];_0x136f2a++)_0x465da9['indexOf'](_0x5aaa9e[_0x136f2a])<0x0&&Object[_0x2a6009(0x21f)][_0x2a6009(0x309)]['call'](_0x116d3b,_0x5aaa9e[_0x136f2a])&&(_0x3d67de[_0x5aaa9e[_0x136f2a]]=_0x116d3b[_0x5aaa9e[_0x136f2a]]);}return _0x3d67de;},je=_0x58d4c3(function(_0x502e05,_0x43c735){const _0x363f0c=_0x1d7bbe;var _0x2b1e18=_0x502e05[_0x363f0c(0x28e)],_0x47b19f=_0x502e05['id'],_0x108240=_0x502e05['className'],_0x391896=_0x502e05[_0x363f0c(0x3c4)],_0x15d0f6=Bi(_0x502e05,[_0x363f0c(0x28e),'id','className','extend']),_0x1809f7=_0x363f0c(0x35b)['concat'](_0x47b19f,'\x20')['concat'](_0x108240||'')[_0x363f0c(0x206)](),_0x182759=_0x30e73c('_'['concat'](ji()));return Rt(_0x2b1e18,''[_0x363f0c(0x360)](_0x47b19f),{'defIds':_0x2b1e18[_0x363f0c(0x22f)],'idSuffix':_0x182759['current']},v({'ref':_0x43c735,'className':_0x1809f7},_0x15d0f6),_0x391896);});function Rt(_0x3a3656,_0x3ac04e,_0x384fe3,_0x292e0f,_0x4f049e){const _0x273d6c=_0x1d7bbe;return _0x5586c8(_0x3a3656[_0x273d6c(0x3b9)],v(v({'key':_0x3ac04e},ki(_0x3a3656,_0x384fe3,_0x4f049e)),_0x292e0f),(Hi(_0x3a3656,_0x384fe3)[_0x273d6c(0x202)]||[])[_0x273d6c(0x386)](function(_0x1f857a,_0x31a6a0){const _0x1d579c=_0x273d6c;return Rt(_0x1f857a,''['concat'](_0x3ac04e,'-')['concat'](_0x3a3656[_0x1d579c(0x3b9)],'-')[_0x1d579c(0x360)](_0x31a6a0),_0x384fe3,void 0x0,_0x4f049e);}));}function ki(_0x570e25,_0x36f974,_0x284e0d){const _0x49c6f7=_0x1d7bbe;var _0x3e60b9=v({},_0x570e25['attrs']);_0x284e0d!=null&&_0x284e0d[_0x49c6f7(0x1db)]&&_0x3e60b9['fill']===_0x49c6f7(0x1db)&&(_0x3e60b9[_0x49c6f7(0x1da)]=_0x284e0d[_0x49c6f7(0x1db)]),_0x570e25[_0x49c6f7(0x3b9)]==='mask'&&_0x3e60b9['id']&&(_0x3e60b9['id']=_0x3e60b9['id']+_0x36f974[_0x49c6f7(0x1f7)]),Object['entries'](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x16b9d2){const _0x1930c2=_0x49c6f7;var _0x4b2ca7=_0x16b9d2[0x0],_0x12204b=_0x16b9d2[0x1];_0x4b2ca7===_0x1930c2(0x343)&&typeof _0x12204b==_0x1930c2(0x3a3)&&(_0x3e60b9[_0x4b2ca7]=_0x12204b['replace'](/url\(#(.*)\)/,_0x1930c2(0x2f7)['concat'](_0x36f974[_0x1930c2(0x1f7)],')')));});var _0x1a8180=_0x36f974[_0x49c6f7(0x22f)];return!_0x1a8180||_0x1a8180[_0x49c6f7(0x39d)]===0x0||(_0x570e25[_0x49c6f7(0x3b9)]===_0x49c6f7(0x2f3)&&_0x3e60b9[_0x49c6f7(0x361)]&&(_0x3e60b9[_0x49c6f7(0x361)]=_0x3e60b9['xlink:href']+_0x36f974[_0x49c6f7(0x1f7)]),Object[_0x49c6f7(0x373)](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x591ac4){const _0x6276b5=_0x49c6f7;var _0x99276e=_0x591ac4[0x0],_0x53d266=_0x591ac4[0x1];typeof _0x53d266=='string'&&(_0x3e60b9[_0x99276e]=_0x53d266[_0x6276b5(0x2f8)](/url\(#(.*)\)/,'url(#$1'[_0x6276b5(0x360)](_0x36f974[_0x6276b5(0x1f7)],')')));})),_0x3e60b9;}function _0x4f54(){const _0x26b08d=['saveTaskMap','_getSessionTicket','_uiPartsService','unshift','transformStateCache','runOnServer','OTHER_CLIENT_EDITING','off-line-single_clip0_910_343','_heartbeatTimer','YUUMI_RATE_OVER_LIMIT','_saveTaskMap','some','_onCursorUpdate','_transformUndoRedoStack','with','executeCommand','getViewport','unsubscribe','transform','_updateSubUnitFromURLParams','mask','RemoveColCommandId','addObjects','setParam','UNRECOGNIZED','_textBubble','override','hasOwnProperty','_setupBeforeClosingHandler','transformSelections','findNodePositionByCharIndex','getRangePointData','getMergeData','fillText','subscribeEvent','reconnect','_univerInstanceService','svg','sessionStatus$','Error','_instanceService','collabStatus.synced','LICENSE_DISTRO_REJECTED','APPLY_REJECT','univerjs-icon\x20univerjs-icon-','saveImage','unitID','evenodd','resize','concat','xlink:href','LOGIN_FAILED','DeleteRangeMoveUpCommandId','_document','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','_notificationService','APPLY_NON_SEQUENTIAL_REVISION','collabCursorState$','_localStorageService','cursorInfo$','parse','_name','getValue','unit','createSocket','fillRule','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','top','entries','mutations','univer-flex\x20univer-mr-2\x20univer-text-xl','init','collabStatus.conflict','updateOfflineData','syncEditingCollabCursor','push','registerRenderModule','disposeUnit','_imageIoService','clearInterval','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','_removeClearOtherTimer','text','_anchor','getTypeOfUnitAdded$','enableLocalCache','map','from','forEach','disableLocalCache','has','_color','getActiveSheet','subUnitId','delete','generateRandomId','apply','getCurrent','_startDocCollabCursor','_context','body','m2Prime','_initCommandExecutedListener','_themeService','indexOf','_memberService','onPointerMove$','isActive','contains','length','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','measureText','transformMutationsWithChangeset','_createSocketURL','string','_handleLeaveEvent','assignAColorForMemberID','complete','_toggleOnline','_beforeCloseService','getOffsetConfig','getOwnPropertyDescriptor','5279918EriPPI','code','OnLineSingle','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','newValue','height','clipPath','USERS_LEAVE','selection','_clearOtherTimers','eventID','_shapes','tag','setItem','_hover','_labelPosition','0\x200\x2016\x2016','Unknown\x20user','getConfig','result','_config','#fff','_removeCollabCursors','extend','div','defineProperty','collab-text-anchor-','currentSkeleton$','then','setConfig','roomMembers$','drawWith','show','subscribe','onPointerEnter$','_startSheetCollabCursor','requireSession','transformRemoteChangeset','_initStatusListener','SOCKET_FAILED','getParam','2726kAiwda','cursorInfo','_docTransformIMECacheService','_cursorInfo$','isEditing','pipe','redoState','makeDirty','_selfUnitIDs','isArray','on-line-single_clip0_910_349','save','max','onStarting','_getMergeRange','InsertColCommandId','_commandService','searchParams','1045RojZCP','startsWith','_online','_docSyncEditingCollabCursorService','fill','colorChannel1','_scheduleSaving','loadOfflineData','_docStateChangeManagerService','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','INVALID_INVITE_CODE','getAncestorScale','dispose','getUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','_handleHeartbeatEvent','size','bottom','_toggleOffline','InsertRangeMoveDownCommandId','_colorAssignService','selections','unload','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','currentColor','get','min','getCurrentRevOfUnit','INVALID_ARGUMENT','permission.title','_getSaveTimeout','idSuffix','HEADER_MENU','_handleHover','replaceState','setActiveRange','_init','RECT','_urlService','_onRefRangeChange','_cursorShapes','getSkeleton','children','asObservable','APPLY_REVISION_CONFILICT','collaboration-client-ui.config','trim','CONFLICT','INVITE_CODE_REQUIRED','_status$','doc.mutation.rich-text-editing','2649NGEyam','substring','AWAITING_WITH_PENDING','_updateCollabCursors','add','_saveCache','data','_refreshCollabCursors','MoveRangeCommandId','column','setShapeProps','transformIMECache','getSheetId','_collabCursorController','send','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','onMouseMove','_drawRectRange','_entities','prototype','PENDING','toRgbString','_initDependencies','pushState','APPLY_DUPLICATED','error','fillStyle','displayName','post','/run/','EMAIL_HAS_BEEN_BOUND','_localCacheService','url(#off-line-single_clip0_910_343)','CLOSE_ROOM','setInterval','defIds','NOT_COLLAB','onPointerLeave$','USER_NOT_INVITED_CODE','red.300','[CollaborationDataLoaderController]','arc','runId','focused$','APPLY_PERMISSION_DENIED','_cachedData','InsertRangeMoveRightCommandId','_docSkeleton','memberID','_entityInit$','LICENSE_MAX_UNITS_EXCEEDED','transformMutation','textRanges','name','event$','debug','M0\x200H16V16H0z','_docTransformStateCacheService','JOIN_ROOM_FAILED','YUUMI_AI_RUN_FAILED','onLocalMutation','SYNCED','m1Prime','_scheduleHeartbeat','_docClipboardService','url(#on-line-single_clip0_910_349)','_getScale','getFocusedUnit','path','1447977xuojvd','backgroundColor','range','_cursor','#FFF','next','VIEW_MAIN','collaboration.closeRoom','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','attrs','_handleJoinEvent','Warning','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toString','_httpService','history','getMember','_onCursorDelete','values','unitId','_logService','color','UNIVER_DOC','setStateCache','disposeWithMe','collab-rect-range-','params','call','AWAITING','collabStatus.syncing','green.600','getActiveRange','collabStatus.notCollab','session.will-retry','getRenderById','_collabCursorState$','_roomMembers$','27172uOIcnZ','collabStatus.fetchMiss','wsSessionTicketUrl','CONNECTOR_DATA_TOO_LARGE','10OXvwyJ','OTHER_CLIENTS_EDITING','OFFLINE','width','hovered','1em','_unitStatus','beginPath','origin','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','getUnhiddenWorksheets','SNAPSHOT_HAS_BEEN_REMOVED','includes','_range','_drawAnchor','deepClone','INVITE_CODE_HAS_BEEN_UES','_updateLocalCursor','icon','none','8szeOhi','_scheduleClearOtherTimer','_transformPreviousActiveRange','_scene','ALREADY_EXISTS','_assignedColors','endRow','collab-text-range-','getCurrentSelections','sheetID','createInstance','UPDATE_CURSOR','getRelativeToViewportCoord','_handleEvent','_initEvent','_session','INTERNAL_ERROR','black','moveTo','_colorIndex','addClipboardHook','translate(.97)','skeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getColorFromTheme','_disabled','_configService','sessionTicket','labelPosition','NO_OTHER_CLIENTS_EDITING','_localeService','undoState','_updateURLWithCurrentState','_sheetSkeletonManagerService','SOCKET_FAILED_RETRY','href','assign','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','_ensureSubject','replaceDocRanges','YUUMI_ALL_TABLES_IS_INVALID','lineTo','symbol','_cursors','_initStatusComponent','...','uni.network.url-service','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','UNAUTHENTICATED','TOO_MANY_REQUESTS','_docTransformSelectionsService','roomMembers','_backgroundColor','6639084ZpBDzx','FETCH_MISS','_revisionService','currentTheme$','location','application/json','_setupSubUnitSync','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getCurrentUnitForType','getCellPositionByOffset','SUBMIT_CHANGESET_TIMEOUT','getUnitId','_injector','actions','off-line-single','UNDEFINED','PERMISSION_DENIED','getTypeOfUnitDisposed$','_doCreateSocket','UniverIcon','Failed','YUUMI_ASYNCIO_CANCELLED','univer-flex\x20univer-items-center','_unitOnClients','editingUnit','MUTATION','UNIVER_SHEET','activeSheet$','_docSkeletonManagerService','urlChange$','session.collaboration-timeout','_collabSessionService','ranges','addEventListener','entityInit$','row','defs','popstate','RemoveRowCommandId','_dataLoaderService','YUUMI_UNABLE_LOAD_URL','use','registerBeforeClose','setAlpha','_send','url(#$1','replace','getVpScrollXYInfoByPosToVp','getStateCache','_render','_initEntityListener','_refRangeService','split','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','getDocRanges','FromArray','addObject','imageSourceType','_registerRenderDependencies','whenReady','on-line-single','set','propertyIsEnumerable','0\x200\x2017\x2016','_drawTextRange','registerRefRange','getCollabCursors$','exhaustSavingTask','_getAnchorBounding','_id','subunit','engine','type','_messageService','function','jiqing.500','SNAPSHOT_INVALID_SNAPSHOT','startColumn','_collaborationController','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','restore','9722259FuSkth','registerComponent','_draw','_hideTimer','saveOfflineData','storage','round','13259037hSiiLc','getSheetBySheetId','_collaborationUIEventService','blue.400','InsertRowCommandId','_eventUnsubscribe','getItem','stringify','onCommandExecuted','TEXT','_initResize','OffLineSingle'];_0x4f54=function(){return _0x26b08d;};return _0x4f54();}function Hi(_0x819ff6,_0x3b121e){const _0x254464=_0x1d7bbe;var _0x47976b,_0x209cc8=_0x3b121e[_0x254464(0x22f)];return!_0x209cc8||_0x209cc8[_0x254464(0x39d)]===0x0?_0x819ff6:_0x819ff6[_0x254464(0x3b9)]==='defs'&&(!((_0x47976b=_0x819ff6[_0x254464(0x202)])===null||_0x47976b===void 0x0)&&_0x47976b[_0x254464(0x39d)])?v(v({},_0x819ff6),{'children':_0x819ff6['children'][_0x254464(0x386)](function(_0x34ea34){const _0x18af1a=_0x254464;return typeof _0x34ea34[_0x18af1a(0x25b)]['id']==_0x18af1a(0x3a3)&&_0x209cc8&&_0x209cc8[_0x18af1a(0x398)](_0x34ea34[_0x18af1a(0x25b)]['id'])>-0x1?v(v({},_0x34ea34),{'attrs':v(v({},_0x34ea34[_0x18af1a(0x25b)]),{'id':_0x34ea34[_0x18af1a(0x25b)]['id']+_0x3b121e[_0x18af1a(0x1f7)]})}):_0x34ea34;})}):_0x819ff6;}function ji(){const _0x51e887=_0x1d7bbe;return Math['random']()['toString'](0x24)[_0x51e887(0x20c)](0x2,0x8);}je['displayName']=_0x1d7bbe(0x2dd);var Yi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x3bd),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x22c)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':'currentColor','d':_0x1d7bbe(0x371),'strokeLinecap':_0x1d7bbe(0x322),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d7bbe(0x336)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':_0x1d7bbe(0x3c2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d7bbe(0x336)]},Dt=_0x58d4c3(function(_0x4b4655,_0x157412){const _0x39e517=_0x1d7bbe;return _0x5586c8(je,Object[_0x39e517(0x2b5)]({},_0x4b4655,{'id':_0x39e517(0x2d8),'ref':_0x157412,'icon':Yi}));});Dt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x32e);var Fi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x30a),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x24d)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':_0x1d7bbe(0x1f0),'d':_0x1d7bbe(0x31a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':_0x1d7bbe(0x3b3),'attrs':{'id':_0x1d7bbe(0x1ce)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':'#fff','d':_0x1d7bbe(0x244),'transform':_0x1d7bbe(0x2a5)}}]}]}],'defIds':[_0x1d7bbe(0x1ce)]},Nt=_0x58d4c3(function(_0x189288,_0x269faf){const _0xb1b641=_0x1d7bbe;return _0x5586c8(je,Object[_0xb1b641(0x2b5)]({},_0x189288,{'id':_0xb1b641(0x307),'ref':_0x269faf,'icon':Fi}));});Nt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x3ad);function Wi(_0x4ffb63){const _0x16f1a0=_0x1d7bbe;switch(_0x4ffb63){case _0x40cfa1[_0x16f1a0(0x27d)]:return'collabStatus.offline';case _0x40cfa1[_0x16f1a0(0x207)]:return _0x16f1a0(0x377);case _0x40cfa1[_0x16f1a0(0x2ca)]:return _0x16f1a0(0x278);case _0x40cfa1[_0x16f1a0(0x230)]:return _0x16f1a0(0x272);case _0x40cfa1[_0x16f1a0(0x26e)]:case _0x40cfa1[_0x16f1a0(0x20d)]:return _0x16f1a0(0x26f);case _0x40cfa1[_0x16f1a0(0x249)]:case _0x40cfa1[_0x16f1a0(0x220)]:return _0x16f1a0(0x358);}}function Vi(_0x2d4011){const _0x348bb5=_0x1d7bbe,{status$:_0x3b74da}=_0x2d4011,_0x4d9010=_0x15bea2(_0x3b74da,_0x40cfa1[_0x348bb5(0x230)]),_0x5230de=_0x20ac29(_0x12ffff),_0x251006=_0x20ac29(_0x1fd5e1),_0x260734=_0x4d9010!==_0x40cfa1[_0x348bb5(0x27d)],_0x285f4a=_0x5230de['t'](Wi(_0x4d9010)),_0x2b44a4=_0x260734?_0x349e9b(Nt,{}):_0x349e9b(Dt,{}),_0x531f19=_0x5e0ac5(()=>{const _0x246832=_0x348bb5;_0x260734||_0x251006[_0x246832(0x352)]();},[_0x260734,_0x251006]);function _0x7ceec1(){const _0x12cadc=_0x348bb5;return _0x199e54('div',{'className':_0x12cadc(0x2e0),'onClick':_0x531f19,'children':[_0x349e9b(_0x12cadc(0x3c5),{'className':_0x3b9583(_0x12cadc(0x375),_0x260734?'univer-text-green-500':'univer-text-red-500'),'children':_0x2b44a4}),_0x349e9b(_0x12cadc(0x3c5),{'className':_0x12cadc(0x365),'children':_0x285f4a})]});}return _0x260734?_0x7ceec1():_0x349e9b(_0x48a50f,{'title':_0x5230de['t']('collab-client.tooltip.reconnect'),'children':_0x7ceec1()});}var Xi=Object[_0x1d7bbe(0x3aa)],Gi=(_0x6605de,_0x28d19d,_0xb5ed30,_0x5c02fe)=>{const _0x50e341=_0x1d7bbe;for(var _0x4f4e39=_0x5c02fe>0x1?void 0x0:_0x5c02fe?Xi(_0x28d19d,_0xb5ed30):_0x28d19d,_0x536af8=_0x6605de[_0x50e341(0x39d)]-0x1,_0x53ba0c;_0x536af8>=0x0;_0x536af8--)(_0x53ba0c=_0x6605de[_0x536af8])&&(_0x4f4e39=_0x53ba0c(_0x4f4e39)||_0x4f4e39);return _0x4f4e39;},Q=(_0x499329,_0x434a49)=>(_0x1f01ed,_0x3f3b40)=>_0x434a49(_0x1f01ed,_0x3f3b40,_0x499329);let te=class extends _0x426733{constructor(_0x5b7b13,_0x2f0204,_0x420ae1,_0x28a07d){const _0x4c77f8=_0x1d7bbe;super(),_(this,_0x4c77f8(0x209),new _0x2ac3e2(_0x40cfa1[_0x4c77f8(0x230)])),(this['_univerInstanceService']=_0x5b7b13,this['_injector']=_0x2f0204,this[_0x4c77f8(0x319)]=_0x420ae1,this[_0x4c77f8(0x331)]=_0x28a07d,this[_0x4c77f8(0x2be)](),this[_0x4c77f8(0x1c1)]());}[_0x1d7bbe(0x1c1)](){const _0x1382b=_0x1d7bbe;this['disposeWithMe'](this['_univerInstanceService'][_0x1382b(0x237)][_0x1382b(0x1c9)](_0x182269(()=>{const _0x41f227=_0x1382b,_0x2cc484=this[_0x41f227(0x353)]['getFocusedUnit']();return _0x2cc484?this['_collaborationController']['getCollabEntity$'](_0x2cc484[_0x41f227(0x2d5)]()):_0x5b4338(null);}),_0x182269(_0x267921=>_0x267921?_0x267921['status$']:_0x5b4338(_0x40cfa1[_0x1382b(0x230)])))['subscribe'](_0x31713e=>{const _0x2c2ff3=_0x1382b;this[_0x2c2ff3(0x209)][_0x2c2ff3(0x256)](_0x31713e);}));}[_0x1d7bbe(0x2be)](){const _0xd232ec=_0x1d7bbe;this[_0xd232ec(0x26a)](this['_uiPartsService'][_0xd232ec(0x31d)](_0x2ccf90[_0xd232ec(0x1f8)],()=>_0x5a755d(Ki({'status$':this[_0xd232ec(0x209)][_0xd232ec(0x203)]()}),this[_0xd232ec(0x2d6)])));}};te=Gi([Q(0x0,_0x3888fb),Q(0x1,_0x3c7534(_0xa07411)),Q(0x2,_0x3c7534(_0x280f5f)),Q(0x3,_0x3883bd)],te);function Ki(_0x47bc2e){const {status$:_0x547859}=_0x47bc2e;return function(){return _0x349e9b(Vi,{'status$':_0x547859});};}var zi=Object[_0x1d7bbe(0x3aa)],Ji=(_0x10cde4,_0x209211,_0x2b66a6,_0x1b0a82)=>{const _0x341338=_0x1d7bbe;for(var _0x1650f2=_0x1b0a82>0x1?void 0x0:_0x1b0a82?zi(_0x209211,_0x2b66a6):_0x209211,_0x26a78f=_0x10cde4[_0x341338(0x39d)]-0x1,_0x52c241;_0x26a78f>=0x0;_0x26a78f--)(_0x52c241=_0x10cde4[_0x26a78f])&&(_0x1650f2=_0x52c241(_0x1650f2)||_0x1650f2);return _0x1650f2;},B=(_0x1442fb,_0x1d974b)=>(_0x3f349d,_0x5ce088)=>_0x1d974b(_0x3f349d,_0x5ce088,_0x1442fb);let se=class extends _0x426733{constructor(_0x212ae9,_0x4ad680,_0x133b58,_0x32e1d6,_0x45170a,_0x36e4d7){const _0x4ab3e7=_0x1d7bbe;super(),this[_0x4ab3e7(0x3a8)]=_0x212ae9,this[_0x4ab3e7(0x22b)]=_0x4ad680,this[_0x4ab3e7(0x325)]=_0x133b58,this[_0x4ab3e7(0x314)]=_0x32e1d6,this[_0x4ab3e7(0x366)]=_0x45170a,this[_0x4ab3e7(0x2af)]=_0x36e4d7,this[_0x4ab3e7(0x34b)](),this[_0x4ab3e7(0x29e)]();}[_0x1d7bbe(0x34b)](){const _0x1a20b5=_0x1d7bbe;this[_0x1a20b5(0x26a)](this[_0x1a20b5(0x3a8)][_0x1a20b5(0x2f4)](()=>{const _0x43e9e5=_0x1a20b5;if(this['_localCacheService'][_0x43e9e5(0x32f)][_0x43e9e5(0x1e7)])return this[_0x43e9e5(0x2af)]['t'](_0x43e9e5(0x2d0));}));}[_0x1d7bbe(0x29e)](){const _0x437ebc=_0x1d7bbe;this[_0x437ebc(0x26a)](this[_0x437ebc(0x325)][_0x437ebc(0x242)][_0x437ebc(0x3ce)](_0x41e143=>{const _0x1c20ec=_0x437ebc;_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x335)]&&this['_messageService'][_0x1c20ec(0x3cd)]({'type':_0x33b9eb['Warning'],'content':this[_0x1c20ec(0x2af)]['t']('collaboration.single-unit.warning')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x22d)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this['_localeService']['t'](_0x1c20ec(0x258))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2da)]&&this[_0x1c20ec(0x366)][_0x1c20ec(0x3cd)]({'title':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x1f5)),'content':this[_0x1c20ec(0x2af)]['t']('permission.content'),'type':_0x1c20ec(0x225),'duration':0x0}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x207)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x258))+'('+_0x41e143[_0x1c20ec(0x211)]+')'}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x246)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x41e143[_0x1c20ec(0x211)]||'')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2b3)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x273))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x1c2)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t']('session.connection-failed')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2d4)]&&this['_messageService']['show']({'type':_0x33b9eb['Error'],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x2e8))});}));}};se=Ji([B(0x0,_0x5dc7ed),B(0x1,_0x535fa0),B(0x2,_0x3c7534(_0x3afd93)),B(0x3,_0x219866),B(0x4,_0x39a609),B(0x5,_0x3c7534(_0x12ffff))],se);const Zi=_0x1d7bbe(0x205),et={},Ut=_0x5da789(_0x1d7bbe(0x2c0));var Qi=Object[_0x1d7bbe(0x3aa)],qi=(_0x47d1b5,_0x5c408c,_0x10bbc9,_0x586625)=>{const _0xb09282=_0x1d7bbe;for(var _0x50857b=_0x586625>0x1?void 0x0:_0x586625?Qi(_0x5c408c,_0x10bbc9):_0x5c408c,_0x3b31f7=_0x47d1b5[_0xb09282(0x39d)]-0x1,_0x27c00d;_0x3b31f7>=0x0;_0x3b31f7--)(_0x27c00d=_0x47d1b5[_0x3b31f7])&&(_0x50857b=_0x27c00d(_0x50857b)||_0x50857b);return _0x50857b;},G=(_0x554c80,_0x473e8a)=>(_0x319759,_0x462f39)=>_0x473e8a(_0x319759,_0x462f39,_0x554c80);let ie=class extends _0x58bba7{constructor(_0x49ae24,_0x2a0130,_0x2383d8,_0x156a5a,_0x38a2c3){const _0x130c65=_0x1d7bbe;super(),this[_0x130c65(0x1fe)]=_0x49ae24,this[_0x130c65(0x266)]=_0x2a0130,this[_0x130c65(0x1d4)]=_0x2383d8,this[_0x130c65(0x2f1)]=_0x156a5a,_0x38a2c3?_0x38a2c3==null||_0x38a2c3[_0x130c65(0x306)]()[_0x130c65(0x3c9)](()=>this[_0x130c65(0x1fc)]()):(this[_0x130c65(0x266)][_0x130c65(0x243)](_0x130c65(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x130c65(0x1fc)]());}async['_init'](){const _0x13d499=_0x1d7bbe,_0x1330d0=this['_urlService'][_0x13d499(0x1c3)]('unit'),_0x1e56f8=this[_0x13d499(0x1fe)][_0x13d499(0x1c3)](_0x13d499(0x313)),_0x1b25f7=this[_0x13d499(0x1fe)]['getParam'](_0x13d499(0x311));if(!_0x1330d0||!_0x1e56f8){this[_0x13d499(0x266)]['debug'](_0x13d499(0x234),_0x13d499(0x2a7));return;}const _0x1f3403=await this['_dataLoaderService']['loadUnit'](_0x1330d0,Number(_0x1e56f8),_0x1b25f7);_0x1f3403&&_0x1f3403 instanceof _0x3f69b7&&this[_0x13d499(0x2cf)](_0x1f3403);}async[_0x1d7bbe(0x2cf)](_0x3341dd){const _0x528d2b=_0x1d7bbe;await this[_0x528d2b(0x342)](_0x3341dd),_0x3341dd[_0x528d2b(0x2e5)][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](_0x5c8744=>{const _0x1c200b=_0x528d2b;_0x5c8744&&this[_0x1c200b(0x2b1)](_0x5c8744);}),this['_urlService']['urlChange$'][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](()=>this['_updateSubUnitFromURLParams'](_0x3341dd));}[_0x1d7bbe(0x2b1)](_0x597edd,_0x24d6bd=!0x1){const _0x35130e=_0x1d7bbe,_0x4151c1=this['_urlService'][_0x35130e(0x1c3)](_0x35130e(0x311));_0x597edd['getSheetId']()!==_0x4151c1&&this[_0x35130e(0x1fe)][_0x35130e(0x346)](_0x35130e(0x311),_0x597edd[_0x35130e(0x217)](),_0x24d6bd);}async[_0x1d7bbe(0x342)](_0x5da2a9){const _0x245da6=_0x1d7bbe;var _0xd4a604;const _0x4707f3=this[_0x245da6(0x1fe)]['getParam'](_0x245da6(0x311));if(!_0x4707f3||!_0x5da2a9[_0x245da6(0x324)](_0x4707f3)){const _0x54762a=_0x5da2a9[_0x245da6(0x286)]()[0x0],_0x2839de=_0x5da2a9[_0x245da6(0x324)](_0x54762a);if(!_0x2839de)return;this['_updateURLWithCurrentState'](_0x2839de,!0x0),await this[_0x245da6(0x1d4)][_0x245da6(0x33e)](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x54762a});return;}((_0xd4a604=_0x5da2a9[_0x245da6(0x38c)]())==null?void 0x0:_0xd4a604['getSheetId']())!==_0x4707f3&&await this[_0x245da6(0x1d4)]['executeCommand'](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x4707f3});}};ie=qi([G(0x0,Ut),G(0x1,_0x4b41a6),G(0x2,_0x1abf6a),G(0x3,_0x3c7534(_0x4042d9)),G(0x4,_0x8e7d33(_0x171e02))],ie);var en=Object[_0x1d7bbe(0x3aa)],tn=(_0x189b70,_0x41ced5,_0x825974,_0x24a4d7)=>{for(var _0x7b6c6a=_0x24a4d7>0x1?void 0x0:_0x24a4d7?en(_0x41ced5,_0x825974):_0x41ced5,_0x117161=_0x189b70['length']-0x1,_0x3318b1;_0x117161>=0x0;_0x117161--)(_0x3318b1=_0x189b70[_0x117161])&&(_0x7b6c6a=_0x3318b1(_0x7b6c6a)||_0x7b6c6a);return _0x7b6c6a;},pe=(_0x21460f,_0x2c2981)=>(_0x28f9f2,_0x5a79b9)=>_0x2c2981(_0x28f9f2,_0x5a79b9,_0x21460f);let ne=class{constructor(_0x2ab689,_0x39d8f0,_0x3f9f4e){const _0x43e4e5=_0x1d7bbe;this[_0x43e4e5(0x2d6)]=_0x2ab689,this[_0x43e4e5(0x3ae)]=_0x39d8f0,this['_renderManagerService']=_0x3f9f4e;}['transformIMECache'](_0x449890){const _0x37d154=_0x1d7bbe;this[_0x37d154(0x33c)](_0x449890),this['_transformPreviousActiveRange'](_0x449890);}[_0x1d7bbe(0x1c0)](_0x540053){const _0x365f33=_0x1d7bbe,{unitID:_0x86efbb}=_0x540053,_0x59cc14=this['_renderManagerService']['getRenderById'](_0x86efbb)[_0x365f33(0x33d)](_0x320b24),{redoCache:_0x42fa9f}=_0x59cc14[_0x365f33(0x1e4)]();if(_0x42fa9f[_0x365f33(0x39d)]===0x0)return _0x540053;let _0x1847da=_0xe70050['deepClone'](_0x540053['mutations'][0x0]);for(let _0x1e2579=0x0;_0x1e2579<_0x42fa9f[_0x365f33(0x39d)];_0x1e2579++){const _0x4ee688={'id':_0x365f33(0x20a),'params':{..._0x42fa9f[_0x1e2579]}},_0x417ff6=this[_0x365f33(0x3ae)][_0x365f33(0x23f)](_0x1847da,_0x4ee688,!0x1);if(_0x1da839(_0x417ff6))throw _0x417ff6['error'];_0x1847da=_0x417ff6[_0x365f33(0x24a)];}return{..._0xe70050[_0x365f33(0x28b)](_0x540053),'mutations':[_0x1847da]};}[_0x1d7bbe(0x33c)](_0xfcb34c){const _0x595879=_0x1d7bbe,{unitID:_0x40830f}=_0xfcb34c,_0x348dc2=this[_0x595879(0x2ff)]['getRenderById'](_0x40830f)[_0x595879(0x33d)](_0x320b24),{undoCache:_0x4b2be1,redoCache:_0x3996f8}=_0x348dc2[_0x595879(0x1e4)]();if(_0x4b2be1['length']===0x0||_0x3996f8[_0x595879(0x39d)]===0x0)return;const _0x557ee5=[],_0x335dd2=[];let _0x154105=_0xe70050[_0x595879(0x28b)](_0xfcb34c['mutations'][0x0]),_0x4f1676=_0xe70050['deepClone'](_0xfcb34c['mutations'][0x0]);for(let _0x5e7bbb=_0x4b2be1[_0x595879(0x39d)]-0x1;_0x5e7bbb>=0x0;_0x5e7bbb--){const _0x4627fe={'id':_0x595879(0x20a),'params':{..._0x4b2be1[_0x5e7bbb]}},_0x1561b8={'id':_0x595879(0x20a),'params':{..._0x3996f8[_0x5e7bbb]}},_0x4488f3=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x154105,_0x4627fe,!0x1),_0x23cb86=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x4f1676,_0x1561b8,!0x1);if(_0x1da839(_0x4488f3))throw _0x4488f3[_0x595879(0x225)];if(_0x1da839(_0x23cb86))throw _0x23cb86[_0x595879(0x225)];_0x557ee5[_0x595879(0x332)](_0x4488f3['m2Prime'][_0x595879(0x26c)]),_0x335dd2[_0x595879(0x332)](_0x23cb86['m2Prime'][_0x595879(0x26c)]),_0x154105=_0x4488f3['m1Prime'],_0x4f1676=_0x23cb86['m1Prime'];}_0x348dc2[_0x595879(0x285)]({'undoCache':_0x557ee5,'redoCache':_0x335dd2});}[_0x1d7bbe(0x292)](_0x45f807){const _0x147dc3=_0x1d7bbe,{unitID:_0xd09e71}=_0x45f807,_0x2371a5=this['_renderManagerService'][_0x147dc3(0x274)](_0xd09e71)['with'](_0x320b24),_0x413231=_0x2371a5[_0x147dc3(0x271)]();if(_0x413231==null)return;const _0x19255d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45f807[_0x147dc3(0x35d)],'actions':null,'textRanges':[_0x413231]}}],_0x57e93e=this['_transformService'][_0x147dc3(0x3a1)](_0x45f807,_0x19255d);if(!_0x371959(_0x57e93e))throw _0x57e93e['error'];const _0x433dfa=_0x57e93e[_0x147dc3(0x395)][0x0][_0x147dc3(0x26c)][_0x147dc3(0x240)];Array[_0x147dc3(0x1cd)](_0x433dfa)&&_0x433dfa[_0x147dc3(0x39d)]&&_0x2371a5[_0x147dc3(0x1fb)](_0x433dfa[0x0]);}};ne=tn([pe(0x0,_0x3c7534(_0xa07411)),pe(0x1,_0xe6a3f5),pe(0x2,_0x1de120)],ne);var sn=Object[_0x1d7bbe(0x3aa)],nn=(_0x39e732,_0x309f1f,_0x48087d,_0x48d55e)=>{const _0x501457=_0x1d7bbe;for(var _0x2acfea=_0x48d55e>0x1?void 0x0:_0x48d55e?sn(_0x309f1f,_0x48087d):_0x309f1f,_0x44fe6d=_0x39e732[_0x501457(0x39d)]-0x1,_0xe16a99;_0x44fe6d>=0x0;_0x44fe6d--)(_0xe16a99=_0x39e732[_0x44fe6d])&&(_0x2acfea=_0xe16a99(_0x2acfea)||_0x2acfea);return _0x2acfea;},Ce=(_0x47bec4,_0x390d37)=>(_0xd3cb83,_0x377d26)=>_0x390d37(_0xd3cb83,_0x377d26,_0x47bec4);let re=class{constructor(_0x550ae3,_0x786741,_0x4429aa){const _0x4cfe1e=_0x1d7bbe;this[_0x4cfe1e(0x2d6)]=_0x550ae3,this['_transformService']=_0x786741,this['_docStateChangeManagerService']=_0x4429aa;}['transformStateCache'](_0x374b91){this['_transformHistoryAndStateStack'](_0x374b91);}['transformRemoteChangeset'](_0x3f42e8){const _0x13b1bc=_0x1d7bbe,{unitID:_0x3eee01}=_0x3f42e8,{collaboration:_0xcef84d}=this['_docStateChangeManagerService'][_0x13b1bc(0x2fa)](_0x3eee01);if(_0xcef84d[_0x13b1bc(0x39d)]===0x0)return _0x3f42e8;let _0x4626ff=_0xe70050['deepClone'](_0x3f42e8[_0x13b1bc(0x374)][0x0]);for(let _0x1bd3c6=0x0;_0x1bd3c6<_0xcef84d[_0x13b1bc(0x39d)];_0x1bd3c6++){const _0x5402df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcef84d[_0x1bd3c6][_0x13b1bc(0x265)],..._0xcef84d[_0x1bd3c6]['redoState']}},_0x356ece=this[_0x13b1bc(0x3ae)][_0x13b1bc(0x23f)](_0x4626ff,_0x5402df,!0x1);if(_0x1da839(_0x356ece))throw _0x356ece[_0x13b1bc(0x225)];_0x4626ff=_0x356ece[_0x13b1bc(0x24a)];}return{..._0xe70050[_0x13b1bc(0x28b)](_0x3f42e8),'mutations':[_0x4626ff]};}[_0x1d7bbe(0x1e0)](_0x5a32ac){const _0x43dc6d=_0x1d7bbe,{unitID:_0x3b996f}=_0x5a32ac,{history:_0x428018,collaboration:_0x184ff0}=this[_0x43dc6d(0x1de)][_0x43dc6d(0x2fa)](_0x3b996f);if(_0x428018[_0x43dc6d(0x39d)]===0x0&&_0x184ff0[_0x43dc6d(0x39d)]===0x0)return;const _0x13d409=[],_0x42cb19=[];let _0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x22ab18=_0x428018['length']-0x1;_0x22ab18>=0x0;_0x22ab18--){const _0x4ad7c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18][_0x43dc6d(0x265)],..._0x428018[_0x22ab18]['undoState']}},_0x3fc5db={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18]['unitId'],..._0x428018[_0x22ab18][_0x43dc6d(0x1ca)]}},_0x44e5f4=this['_transformService'][_0x43dc6d(0x23f)](_0x5c3850,_0x4ad7c8,!0x1),_0x2d33b9=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3fc5db,!0x1);if(_0x1da839(_0x44e5f4))throw _0x44e5f4[_0x43dc6d(0x225)];if(_0x1da839(_0x2d33b9))throw _0x2d33b9[_0x43dc6d(0x225)];_0x13d409[_0x43dc6d(0x332)]({..._0x428018[_0x22ab18],'undoState':_0x44e5f4[_0x43dc6d(0x395)]['params'],'redoState':_0x2d33b9[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x44e5f4[_0x43dc6d(0x24a)],_0x275a27=_0x2d33b9['m1Prime'];}_0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050['deepClone'](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x172eee=_0x184ff0[_0x43dc6d(0x39d)]-0x1;_0x172eee>=0x0;_0x172eee--){const _0x5f0385={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x2b0)]}},_0x3576c2={'id':_0x43dc6d(0x20a),'params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x1ca)]}},_0x34870d=this[_0x43dc6d(0x3ae)]['transformMutation'](_0x5c3850,_0x5f0385,!0x1),_0x1b9705=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3576c2,!0x1);if(_0x1da839(_0x34870d))throw _0x34870d['error'];if(_0x1da839(_0x1b9705))throw _0x1b9705[_0x43dc6d(0x225)];_0x42cb19[_0x43dc6d(0x332)]({..._0x184ff0[_0x172eee],'undoState':_0x34870d[_0x43dc6d(0x395)][_0x43dc6d(0x26c)],'redoState':_0x1b9705[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x34870d[_0x43dc6d(0x24a)],_0x275a27=_0x1b9705[_0x43dc6d(0x24a)];}this[_0x43dc6d(0x1de)][_0x43dc6d(0x269)](_0x3b996f,{'history':_0x13d409,'collaboration':_0x42cb19});}};re=nn([Ce(0x0,_0x3c7534(_0xa07411)),Ce(0x1,_0xe6a3f5),Ce(0x2,_0x3c7534(_0x4b01d4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x5510ab,_0x246152,_0x4e5b04,_0x331680)=>{const _0x23b104=_0x1d7bbe;for(var _0x1180b2=_0x331680>0x1?void 0x0:_0x331680?rn(_0x246152,_0x4e5b04):_0x246152,_0x38992a=_0x5510ab[_0x23b104(0x39d)]-0x1,_0x254889;_0x38992a>=0x0;_0x38992a--)(_0x254889=_0x5510ab[_0x38992a])&&(_0x1180b2=_0x254889(_0x1180b2)||_0x1180b2);return _0x1180b2;},tt=(_0x1f12e9,_0x2b4361)=>(_0x3b4eee,_0x1ac07d)=>_0x2b4361(_0x3b4eee,_0x1ac07d,_0x1f12e9);let oe=class{constructor(_0x17f44d,_0x44766e){const _0x101288=_0x1d7bbe;this[_0x101288(0x2d6)]=_0x17f44d,this[_0x101288(0x3ae)]=_0x44766e;}[_0x1d7bbe(0x34c)](_0x543e13){const _0x48f66f=_0x1d7bbe;var _0x477265;const _0x4d5353=this[_0x48f66f(0x2d6)][_0x48f66f(0x1f1)](_0x25837d),_0x1264d5=(_0x477265=_0x4d5353['getDocRanges']())!=null?_0x477265:[];if(_0x1264d5['length']===0x0)return;const _0x29379f=_0x543e13[_0x48f66f(0x35d)],_0x4baca3=[{'id':_0x48f66f(0x20a),'params':{'unitId':_0x29379f,'actions':null,'textRanges':_0x1264d5}}],_0x5e2015=this[_0x48f66f(0x3ae)][_0x48f66f(0x3a1)](_0x543e13,_0x4baca3);if(!_0x371959(_0x5e2015))throw _0x5e2015['error'];const _0x311394=_0x5e2015[_0x48f66f(0x395)][0x0][_0x48f66f(0x26c)][_0x48f66f(0x240)];Array[_0x48f66f(0x1cd)](_0x311394)&&_0x311394[_0x48f66f(0x39d)]&&_0x4d5353[_0x48f66f(0x2b9)](_0x311394,{'unitId':_0x29379f,'subUnitId':_0x29379f},!0x1);}};oe=on([tt(0x0,_0x3c7534(_0xa07411)),tt(0x1,_0xe6a3f5)],oe);var an=Object[_0x1d7bbe(0x3aa)],cn=(_0x464460,_0x56f6ec,_0x5b92e7,_0x17b097)=>{const _0x416625=_0x1d7bbe;for(var _0x565042=_0x17b097>0x1?void 0x0:_0x17b097?an(_0x56f6ec,_0x5b92e7):_0x56f6ec,_0x2c9938=_0x464460[_0x416625(0x39d)]-0x1,_0x51c461;_0x2c9938>=0x0;_0x2c9938--)(_0x51c461=_0x464460[_0x2c9938])&&(_0x565042=_0x51c461(_0x565042)||_0x565042);return _0x565042;},U=(_0x2a1060,_0x129f29)=>(_0x12b867,_0x166ffe)=>_0x129f29(_0x12b867,_0x166ffe,_0x2a1060);let ae=class extends _0x426733{constructor(_0x168a93,_0x480c7e,_0x12abe4,_0x2e0587,_0xbccf67,_0x68a4f4,_0x454784,_0x3db7ab){const _0x2ee490=_0x1d7bbe;super(),_(this,_0x2ee490(0x209),new _0x2ac3e2(_0x40cfa1[_0x2ee490(0x230)])),(this['_docStateChangeManagerService']=_0x168a93,this[_0x2ee490(0x319)]=_0x480c7e,this['_docTransformIMECacheService']=_0x12abe4,this[_0x2ee490(0x245)]=_0x2e0587,this[_0x2ee490(0x2c6)]=_0xbccf67,this[_0x2ee490(0x1d9)]=_0x68a4f4,this['_messageService']=_0x454784,this[_0x2ee490(0x2af)]=_0x3db7ab,this['_initEntityListener']());}[_0x1d7bbe(0x2fc)](){const _0x3c6482=_0x1d7bbe;this[_0x3c6482(0x26a)](this[_0x3c6482(0x319)][_0x3c6482(0x2ec)][_0x3c6482(0x3ce)](_0x56909c=>{const _0x2ca61e=_0x3c6482,_0x72e27b=this[_0x2ca61e(0x1de)]['docStateChange$']['subscribe'](_0xd6811f=>{const _0x1b3201=_0x2ca61e;if(_0xd6811f==null)return;const {unitId:_0x8fa57,redoState:_0xc3a7a0,commandId:_0x541269}=_0xd6811f;if(_0x8fa57!==_0x56909c[_0x1b3201(0x35d)])return;const _0x2e479c={'id':_0x541269,'type':_0x179b10[_0x1b3201(0x2e3)],'params':{'unitId':_0x8fa57,'actions':_0xc3a7a0[_0x1b3201(0x2d7)],'textRanges':null}};_0x56909c[_0x1b3201(0x248)](_0x2e479c);});if(_0x56909c[_0x2ca61e(0x26a)](_0x72e27b),_0x56909c instanceof _0x2b46ca){const _0x1a1b57={'onTransformIME':_0xde3c0f=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x216)](_0xde3c0f),'onTransformState':_0x7c1fbc=>this[_0x2ca61e(0x245)][_0x2ca61e(0x333)](_0x7c1fbc),'onTransformSelections':_0x28abb6=>this[_0x2ca61e(0x2c6)]['transformSelections'](_0x28abb6),'onSyncEditingCollabCursor':_0x5e2315=>this['_docSyncEditingCollabCursorService'][_0x2ca61e(0x379)](_0x5e2315),'onTransformRemoteChangesetByIMECache':_0xb7f137=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x1c0)](_0xb7f137),'onTransformRemoteChangesetByStateCache':_0x14f85a=>this[_0x2ca61e(0x245)]['transformRemoteChangeset'](_0x14f85a)};_0x56909c['addHandlerCallback'](_0x1a1b57);}}));}};ae=cn([U(0x0,_0x3c7534(_0x4b01d4)),U(0x1,_0x3c7534(_0x280f5f)),U(0x2,_0x3c7534(ne)),U(0x3,_0x3c7534(re)),U(0x4,_0x3c7534(oe)),U(0x5,_0x3c7534(He)),U(0x6,_0x219866),U(0x7,_0x3c7534(_0x12ffff))],ae);var ln=Object[_0x1d7bbe(0x3aa)],_n=(_0x367aaa,_0x23a0d0,_0x449fce,_0x5baa6f)=>{const _0x98a302=_0x1d7bbe;for(var _0x518522=_0x5baa6f>0x1?void 0x0:_0x5baa6f?ln(_0x23a0d0,_0x449fce):_0x23a0d0,_0xa8d686=_0x367aaa[_0x98a302(0x39d)]-0x1,_0x55c5f4;_0xa8d686>=0x0;_0xa8d686--)(_0x55c5f4=_0x367aaa[_0xa8d686])&&(_0x518522=_0x55c5f4(_0x518522)||_0x518522);return _0x518522;},Ee=(_0x42e581,_0x319cd7)=>(_0x45dfb6,_0x58c27d)=>_0x319cd7(_0x45dfb6,_0x58c27d,_0x42e581);let we=class extends _0x426733{constructor(_0x555b80,_0x353368,_0x2b4e33){const _0x40db26=_0x1d7bbe;super(),_(this,_0x40db26(0x239),new Map()),_(this,_0x40db26(0x339),new Map()),_(this,'_disabled',!0x1),(this[_0x40db26(0x2ab)]=_0x555b80,this[_0x40db26(0x369)]=_0x353368,this[_0x40db26(0x2cb)]=_0x2b4e33);}[_0x1d7bbe(0x389)](){this['_disabled']=!0x0;}[_0x1d7bbe(0x385)](){const _0x19584c=_0x1d7bbe;this[_0x19584c(0x2aa)]=!0x1;}get[_0x1d7bbe(0x32f)](){const _0xaf0eeb=_0x1d7bbe;return this[_0xaf0eeb(0x339)];}['dispose'](){const _0x196e9c=_0x1d7bbe;this[_0x196e9c(0x30e)]()[_0x196e9c(0x3c9)](()=>super['dispose']());}async[_0x1d7bbe(0x1dd)](_0x466e20){const _0x24f269=_0x1d7bbe;return this[_0x24f269(0x2aa)]?null:this[_0x24f269(0x369)][_0x24f269(0x329)](_0x4458d5(_0x466e20));}async[_0x1d7bbe(0x320)](_0x5e8e56,_0x3ff8a1){const _0x447100=_0x1d7bbe;return!!this[_0x447100(0x369)]['setItem'](_0x5e8e56,_0x3ff8a1);}[_0x1d7bbe(0x378)](_0x319b1f,_0x5bae7a,_0x33fac1,_0x33f3d9){const _0x312885=_0x1d7bbe,_0x1cb7bf=this[_0x312885(0x2cb)][_0x312885(0x1f3)](_0x319b1f);this[_0x312885(0x239)][_0x312885(0x308)](_0x319b1f,{'unitID':_0x319b1f,'type':_0x5bae7a,'awaitingChangeset':_0x33fac1,'mutations':_0x33f3d9,'rev':_0x1cb7bf}),this[_0x312885(0x339)][_0x312885(0x38a)](_0x319b1f)||this[_0x312885(0x1dc)](_0x319b1f);}['_scheduleSaving'](_0x2268f4){const _0xc9e6b6=_0x1d7bbe,_0x580586=this[_0xc9e6b6(0x1f6)]();_0x580586===0x0?this[_0xc9e6b6(0x210)](_0x2268f4):this[_0xc9e6b6(0x339)]['set'](_0x2268f4,setTimeout(()=>this['_saveCache'](_0x2268f4),_0x580586));}['_getSaveTimeout'](){const _0x2aa53d=_0x1d7bbe;var _0x101b41;return(_0x101b41=this[_0x2aa53d(0x2ab)][_0x2aa53d(0x3bf)](_0x5f52bd))!=null?_0x101b41:_0x3ad861;}[_0x1d7bbe(0x210)](_0x5a3fcc){const _0xdb60d=_0x1d7bbe,_0x5a3c72=this[_0xdb60d(0x339)][_0xdb60d(0x1f1)](_0x5a3fcc);return _0x5a3c72!==void 0x0&&window['clearTimeout'](_0x5a3c72),this[_0xdb60d(0x369)][_0xdb60d(0x3ba)](_0x4458d5(_0x5a3fcc),this[_0xdb60d(0x239)][_0xdb60d(0x1f1)](_0x5a3fcc))[_0xdb60d(0x3c9)](()=>this[_0xdb60d(0x339)]['delete'](_0x5a3fcc));}async[_0x1d7bbe(0x30e)](){const _0x344d4d=_0x1d7bbe,_0x5e9160=[];this[_0x344d4d(0x339)][_0x344d4d(0x388)]((_0x5a873e,_0x429054)=>{const _0x27ddc6=_0x344d4d;window[_0x27ddc6(0x1ee)](_0x5a873e),_0x5e9160[_0x27ddc6(0x37a)](this[_0x27ddc6(0x210)](_0x429054)[_0x27ddc6(0x3c9)](()=>{const _0x5013ee=_0x27ddc6;this[_0x5013ee(0x339)][_0x5013ee(0x38e)](_0x429054);}));}),await Promise['all'](_0x5e9160);}};we=_n([Ee(0x0,_0x1e2cfe),Ee(0x1,_0x118257),Ee(0x2,_0x3c7534(_0x9f287a))],we);class hn extends _0x58bba7{constructor(){const _0x1e4ba7=_0x1d7bbe;super(),_(this,_0x1e4ba7(0x2e7)),this['urlChange$']=_0x1dc596(window,_0x1e4ba7(0x2ef))[_0x1e4ba7(0x1c9)](_0x4b7757(this[_0x1e4ba7(0x2c3)]),_0x3b2e8f(0x1),_0x2c2792(void 0x0));}[_0x1d7bbe(0x346)](_0x47c9da,_0x29819e,_0x37ada8=!0x1){const _0x169840=_0x1d7bbe,_0x3fc9f4=new URL(window['location']['href']);_0x3fc9f4['searchParams'][_0x169840(0x308)](_0x47c9da,_0x29819e),_0x37ada8?window[_0x169840(0x261)][_0x169840(0x1fa)]('','',_0x3fc9f4[_0x169840(0x25f)]()):window[_0x169840(0x261)][_0x169840(0x223)]('','',_0x3fc9f4['toString']());}['removeParam'](_0x37e748,_0x303477=!0x1){const _0x26cc91=_0x1d7bbe,_0x504fcf=new URL(window[_0x26cc91(0x2cd)]['href']);_0x504fcf['searchParams'][_0x26cc91(0x38e)](_0x37e748),_0x303477?window[_0x26cc91(0x261)][_0x26cc91(0x1fa)]('','',_0x504fcf[_0x26cc91(0x25f)]()):window[_0x26cc91(0x261)][_0x26cc91(0x223)]('','',_0x504fcf[_0x26cc91(0x25f)]());}['getParam'](_0x46c6e0){const _0x4e6e0d=_0x1d7bbe;var _0xfa483b;return(_0xfa483b=new URL(window['location'][_0x4e6e0d(0x2b4)])[_0x4e6e0d(0x1d5)][_0x4e6e0d(0x1f1)](_0x46c6e0))!=null?_0xfa483b:void 0x0;}}function _0x1bb4(_0x13e1e7,_0x4094f8){const _0x4f541f=_0x4f54();return _0x1bb4=function(_0x1bb429,_0x577772){_0x1bb429=_0x1bb429-0x1bd;let _0x5eb25b=_0x4f541f[_0x1bb429];return _0x5eb25b;},_0x1bb4(_0x13e1e7,_0x4094f8);}var un=Object[_0x1d7bbe(0x3c6)],dn=Object[_0x1d7bbe(0x3aa)],fn=(_0x50d67c,_0x2a17aa,_0x22de68)=>_0x2a17aa in _0x50d67c?un(_0x50d67c,_0x2a17aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22de68}):_0x50d67c[_0x2a17aa]=_0x22de68,Sn=(_0x5be6d1,_0x1207ee,_0x48c9f9,_0x319f92)=>{const _0x535bb0=_0x1d7bbe;for(var _0x3ad4cf=_0x319f92>0x1?void 0x0:_0x319f92?dn(_0x1207ee,_0x48c9f9):_0x1207ee,_0x738dfa=_0x5be6d1[_0x535bb0(0x39d)]-0x1,_0x2a09af;_0x738dfa>=0x0;_0x738dfa--)(_0x2a09af=_0x5be6d1[_0x738dfa])&&(_0x3ad4cf=_0x2a09af(_0x3ad4cf)||_0x3ad4cf);return _0x3ad4cf;},Oe=(_0x10e5b0,_0x5dce34)=>(_0x2dfb49,_0x12fcc8)=>_0x5dce34(_0x2dfb49,_0x12fcc8,_0x10e5b0),mn=(_0x52fe35,_0x5254a6,_0x3bcdae)=>fn(_0x52fe35,_0x5254a6+'',_0x3bcdae);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x50d793{constructor(_0x57bba4=et,_0x4475d9,_0x4b4c5e,_0x55513d){const _0x94da7f=_0x1d7bbe;super(),this[_0x94da7f(0x3c1)]=_0x57bba4,this[_0x94da7f(0x2ff)]=_0x4475d9,this[_0x94da7f(0x2d6)]=_0x4b4c5e,this[_0x94da7f(0x2ab)]=_0x55513d;const {..._0x252e09}=_0x2dee5f({},et,this[_0x94da7f(0x3c1)]);this[_0x94da7f(0x2ab)][_0x94da7f(0x3ca)](Zi,_0x252e09);}[_0x1d7bbe(0x1d1)](){const _0x2235f3=_0x1d7bbe;this['_registerDependencies'](),this[_0x2235f3(0x222)]();}['onRendered'](){const _0x3da67e=_0x1d7bbe;this[_0x3da67e(0x305)]();}['_registerDependencies'](){const _0x3d51ea=_0x1d7bbe;var _0x487f9a;const _0x5a7895=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1f9107,{'useClass':_0x44d410}],[_0x535fa0,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1d67a1(this['_injector'],_0xe89926(_0x5a7895,(_0x487f9a=this[_0x3d51ea(0x3c1)])==null?void 0x0:_0x487f9a[_0x3d51ea(0x349)]));}[_0x1d7bbe(0x305)](){const _0x4bb03b=_0x1d7bbe;this['disposeWithMe'](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x268)],[Pe])),this[_0x4bb03b(0x26a)](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x2e4)],[Le]));}[_0x1d7bbe(0x222)](){const _0x47e4dd=_0x1d7bbe;_0x295b9b(this[_0x47e4dd(0x2d6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1d7bbe(0x380),gn),Ae=Sn([_0xb6e3f(_0x53aea7),Oe(0x1,_0x1de120),Oe(0x2,_0x3c7534(_0xa07411)),Oe(0x3,_0x1e2cfe)],Ae);var In=Object[_0x1d7bbe(0x3aa)],vn=(_0x315ea7,_0x3f307d,_0x72f1c9,_0x256c2e)=>{for(var _0x321a34=_0x256c2e>0x1?void 0x0:_0x256c2e?In(_0x3f307d,_0x72f1c9):_0x3f307d,_0x344fa3=_0x315ea7['length']-0x1,_0x109dce;_0x344fa3>=0x0;_0x344fa3--)(_0x109dce=_0x315ea7[_0x344fa3])&&(_0x321a34=_0x109dce(_0x321a34)||_0x321a34);return _0x321a34;},K=(_0x319513,_0x1f97f9)=>(_0x5d8149,_0x438cfc)=>_0x1f97f9(_0x5d8149,_0x438cfc,_0x319513);let st=class extends _0x34b656{constructor(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada){super(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada);}async[_0x1d7bbe(0x36f)](_0x248e5e){const _0x29f955=_0x1d7bbe,_0x20d5fc=await this[_0x29f955(0x330)](),_0x4ba515=this[_0x29f955(0x3a2)](_0x248e5e,_0x20d5fc);return this[_0x29f955(0x2dc)](_0x4ba515);}['_createSocketURL'](_0x1f834d,_0x23e200){const _0x163471=_0x1d7bbe,_0x11df28=typeof window>'u'?new URL(_0x1f834d):new URL(_0x1f834d,window['location'][_0x163471(0x283)]);_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x2ac),_0x23e200);const _0x492244=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x163471(0x2cd)]['search']);return _0x492244['get'](_0x163471(0x236))&&_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x236),_0x492244['get'](_0x163471(0x236))),_0x11df28[_0x163471(0x25f)]();}async['_getSessionTicket'](){const _0x59058d=_0x1d7bbe;var _0x8ccbac,_0x4414a2,_0x56b346;const _0x48a808=this[_0x59058d(0x2ab)][_0x59058d(0x3bf)](_0xa191c8),_0x19e871=(_0x8ccbac=_0x48a808==null?void 0x0:_0x48a808[_0x59058d(0x279)])!=null?_0x8ccbac:_0x2c4461;return(_0x56b346=(_0x4414a2=(await this['_httpService'][_0x59058d(0x1f1)](_0x19e871,{'headers':{'Content-Type':_0x59058d(0x2ce)}}))[_0x59058d(0x394)])==null?void 0x0:_0x4414a2['ticket'])!=null?_0x56b346:'';}};st=vn([K(0x0,_0x3c7534(_0xa07411)),K(0x1,_0x3c7534(_0x4c152d)),K(0x2,_0x1e2cfe),K(0x3,_0x4b41a6),K(0x4,_0x5465f1)],st);const it=0x7530,nt=_0x1d7bbe(0x21a);class jn extends _0x426733{constructor(){const _0x476b81=_0x1d7bbe;super(),_(this,_0x476b81(0x310),_0x472f08()),_(this,_0x476b81(0x1cc),new Set()),_(this,_0x476b81(0x2e1),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x476b81(0x3b6),new Map()),_(this,_0x476b81(0x281),new Map()),this[_0x476b81(0x1fc)]();}['dispose'](){const _0x182a8f=_0x1d7bbe;super[_0x182a8f(0x1e3)](),this['_clearOtherTimers'][_0x182a8f(0x388)]((_0x20c74f,_0x150faf)=>this[_0x182a8f(0x381)](_0x150faf)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x852fd5){const _0x1ae7ba=_0x1d7bbe;return this[_0x1ae7ba(0x2b8)](_0x852fd5)[_0x1ae7ba(0x1c9)](_0x5c490c());}[_0x1d7bbe(0x2e2)](_0x58f33d){const _0x24ea26=_0x1d7bbe;this[_0x24ea26(0x1cc)][_0x24ea26(0x1e7)]===0x0&&this[_0x24ea26(0x24b)](),this[_0x24ea26(0x1cc)][_0x24ea26(0x20f)](_0x58f33d),this[_0x24ea26(0x2f6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58f33d],'isForwarded':!0x1});}[_0x1d7bbe(0x37c)](_0x1969fa){const _0x312b02=_0x1d7bbe;this[_0x312b02(0x1cc)]['delete'](_0x1969fa),this[_0x312b02(0x1cc)][_0x312b02(0x1e7)]===0x0&&this['_heartbeatTimer']&&window[_0x312b02(0x37e)](this[_0x312b02(0x337)]);}[_0x1d7bbe(0x1fc)](){const _0xcaeac8=_0x1d7bbe;this['disposeWithMe'](_0x55db35(_0x1dc596(window,_0xcaeac8(0x321))[_0xcaeac8(0x3ce)](_0x5e890c=>{const _0x339f09=_0xcaeac8;if(_0x5e890c['key']!==nt||!_0x5e890c[_0x339f09(0x3b1)])return;const _0x39463a=JSON[_0x339f09(0x36b)](_0x5e890c[_0x339f09(0x3b1)]);this['_handleEvent'](_0x39463a);}))),window[_0xcaeac8(0x2eb)](_0xcaeac8(0x1ed),()=>this[_0xcaeac8(0x2f6)]({'type':0x1,'memberID':this[_0xcaeac8(0x310)],'unitIDs':Array['from'](this[_0xcaeac8(0x1cc)])}));}[_0x1d7bbe(0x29d)](_0x4582b4){const _0x19fe51=_0x1d7bbe;switch(_0x4582b4[_0x19fe51(0x313)]){case 0x0:this[_0x19fe51(0x25c)](_0x4582b4);break;case 0x1:this['_handleLeaveEvent'](_0x4582b4);break;case 0x2:this[_0x19fe51(0x1e6)](_0x4582b4);break;}}[_0x1d7bbe(0x25c)](_0x2cc451){const _0xc6665d=_0x1d7bbe,{unitIDs:_0x5815f2,memberID:_0x3ac800,isForwarded:_0x4aafb8}=_0x2cc451;_0x5815f2[_0xc6665d(0x388)](_0x2ade70=>{const _0x34d1cf=_0xc6665d;if(!_0x4aafb8&&this['_unitOnClients'][_0x34d1cf(0x38a)](_0x2ade70)&&this[_0x34d1cf(0x2b8)](_0x2ade70)[_0x34d1cf(0x256)](_0x2c9fc4[_0x34d1cf(0x27c)]),!this[_0x34d1cf(0x2e1)][_0x34d1cf(0x38a)](_0x2ade70)||!this[_0x34d1cf(0x2e1)]['get'](_0x2ade70)[_0x34d1cf(0x38a)](_0x3ac800)){const _0x1a7912=this['_unitOnClients'][_0x34d1cf(0x1f1)](_0x2ade70)||new Set();_0x1a7912[_0x34d1cf(0x20f)](_0x3ac800),this['_unitOnClients'][_0x34d1cf(0x308)](_0x2ade70,_0x1a7912),this[_0x34d1cf(0x291)](_0x3ac800);}}),_0x4aafb8||this[_0xc6665d(0x2f6)]({'type':0x0,'memberID':this[_0xc6665d(0x310)],'unitIDs':[...this[_0xc6665d(0x1cc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x21381b){const _0x170e53=_0x1d7bbe;this['_removeClearOtherTimer'](_0x21381b);const _0x22a366=window['setTimeout'](()=>{const _0x218124=_0x1bb4;this[_0x218124(0x2e1)][_0x218124(0x388)](_0x12e821=>{const _0x1b5b1a=_0x218124;_0x12e821[_0x1b5b1a(0x38e)](_0x21381b);});},it*0x2);this['_clearOtherTimers'][_0x170e53(0x308)](_0x21381b,_0x22a366);}['_removeClearOtherTimer'](_0x1d1583){const _0x1d863f=_0x1d7bbe;if(this[_0x1d863f(0x3b6)]['has'](_0x1d1583)){const _0x3f9b10=this[_0x1d863f(0x3b6)][_0x1d863f(0x1f1)](_0x1d1583);_0x3f9b10&&window[_0x1d863f(0x1ee)](_0x3f9b10),this[_0x1d863f(0x3b6)][_0x1d863f(0x308)](_0x1d1583,null);}}[_0x1d7bbe(0x3a4)](_0x14a454){const _0x4f57ed=_0x1d7bbe,{memberID:_0x1e9a22,unitIDs:_0x43f17b}=_0x14a454;_0x43f17b[_0x4f57ed(0x388)](_0x222993=>{const _0x132536=_0x4f57ed;var _0x23858d;const _0x19efae=this[_0x132536(0x2e1)][_0x132536(0x1f1)](_0x222993);_0x19efae&&(_0x19efae[_0x132536(0x38e)](_0x1e9a22),(_0x23858d=this[_0x132536(0x2b8)](_0x222993))==null||_0x23858d[_0x132536(0x256)](_0x19efae[_0x132536(0x1e7)]===0x0?_0x2c9fc4[_0x132536(0x2ae)]:_0x2c9fc4['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e9a22);}['_handleHeartbeatEvent'](_0x3404f6){const _0x2d8474=_0x1d7bbe;this[_0x2d8474(0x291)](_0x3404f6[_0x2d8474(0x23c)]);}['_send'](_0x4d52b5){const _0x7ca81=_0x1d7bbe;localStorage[_0x7ca81(0x3ba)](nt,JSON[_0x7ca81(0x32a)](_0x4d52b5));}[_0x1d7bbe(0x24b)](){const _0xe07b69=_0x1d7bbe;this[_0xe07b69(0x337)]=window[_0xe07b69(0x22e)](()=>{const _0x45d6a1=_0xe07b69;this[_0x45d6a1(0x2f6)]({'type':0x2,'memberID':this['_id']});},it);}[_0x1d7bbe(0x2b8)](_0x2812c3){const _0x650a39=_0x1d7bbe;return this[_0x650a39(0x281)][_0x650a39(0x38a)](_0x2812c3)||this[_0x650a39(0x281)]['set'](_0x2812c3,new _0x2ac3e2(_0x2c9fc4[_0x650a39(0x2ae)])),this['_unitStatus']['get'](_0x2812c3);}}var Mt=(_0x471b9e=>(_0x471b9e[_0x471b9e[_0x1d7bbe(0x2d9)]=0x0]='UNDEFINED',_0x471b9e[_0x471b9e['OK']=0x1]='OK',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a0)]=0x2]=_0x1d7bbe(0x2a0),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2da)]=0x3]='PERMISSION_DENIED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x259)]=0x4]='NOT_FOUND',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2c4)]=0x5]=_0x1d7bbe(0x2c4),_0x471b9e[_0x471b9e[_0x1d7bbe(0x294)]=0x6]=_0x1d7bbe(0x294),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1f4)]=0x7]=_0x1d7bbe(0x1f4),_0x471b9e[_0x471b9e['TOO_MANY_REQUESTS']=0x8]=_0x1d7bbe(0x2c5),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2b7)]=0x9]=_0x1d7bbe(0x2b7),_0x471b9e[_0x471b9e[_0x1d7bbe(0x362)]=0xa]=_0x1d7bbe(0x362),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x471b9e[_0x471b9e[_0x1d7bbe(0x317)]=0x1771]=_0x1d7bbe(0x317),_0x471b9e[_0x471b9e[_0x1d7bbe(0x287)]=0x1772]=_0x1d7bbe(0x287),_0x471b9e[_0x471b9e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x471b9e[_0x471b9e[_0x1d7bbe(0x35a)]=0x1b59]=_0x1d7bbe(0x35a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x367)]=0x1b5a]=_0x1d7bbe(0x367),_0x471b9e[_0x471b9e[_0x1d7bbe(0x204)]=0x1b5b]=_0x1d7bbe(0x204),_0x471b9e[_0x471b9e[_0x1d7bbe(0x238)]=0x1b5c]=_0x1d7bbe(0x238),_0x471b9e[_0x471b9e[_0x1d7bbe(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x27a)]=0x1f41]=_0x1d7bbe(0x27a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x23e)]=0x2329]=_0x1d7bbe(0x23e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a8)]=0x232a]=_0x1d7bbe(0x2a8),_0x471b9e[_0x471b9e[_0x1d7bbe(0x37f)]=0x232b]=_0x1d7bbe(0x37f),_0x471b9e[_0x471b9e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d7bbe(0x1ef),_0x471b9e[_0x471b9e[_0x1d7bbe(0x359)]=0x232d]=_0x1d7bbe(0x359),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2f2)]=0x2711]=_0x1d7bbe(0x2f2),_0x471b9e[_0x471b9e[_0x1d7bbe(0x3af)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x471b9e[_0x471b9e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d7bbe(0x338),_0x471b9e[_0x471b9e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d7bbe(0x284),_0x471b9e[_0x471b9e[_0x1d7bbe(0x39e)]=0x271a]=_0x1d7bbe(0x39e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2df)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x25a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x471b9e[_0x471b9e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1d7bbe(0x2ba),_0x471b9e[_0x471b9e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d7bbe(0x25e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x247)]=0x271f]=_0x1d7bbe(0x247),_0x471b9e[_0x471b9e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d7bbe(0x300),_0x471b9e[_0x471b9e[_0x1d7bbe(0x28c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e1)]=0x2ee2]=_0x1d7bbe(0x1e1),_0x471b9e[_0x471b9e[_0x1d7bbe(0x208)]=0x2ee3]=_0x1d7bbe(0x208),_0x471b9e[_0x471b9e[_0x1d7bbe(0x232)]=0x2ee4]=_0x1d7bbe(0x232),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1df)]=0x2ee5]=_0x1d7bbe(0x1df),_0x471b9e[_0x471b9e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d7bbe(0x39f),_0x471b9e[_0x471b9e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d7bbe(0x2b6),_0x471b9e[_0x471b9e[_0x1d7bbe(0x22a)]=0x32cb]=_0x1d7bbe(0x22a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x347)]=-0x1]=_0x1d7bbe(0x347),_0x471b9e))(Mt||{}),pn=Object[_0x1d7bbe(0x3aa)],Cn=(_0x33120c,_0x3529d8,_0x34a33f,_0x9cc459)=>{const _0xf18e09=_0x1d7bbe;for(var _0x463199=_0x9cc459>0x1?void 0x0:_0x9cc459?pn(_0x3529d8,_0x34a33f):_0x3529d8,_0x4acf0b=_0x33120c[_0xf18e09(0x39d)]-0x1,_0x604698;_0x4acf0b>=0x0;_0x4acf0b--)(_0x604698=_0x33120c[_0x4acf0b])&&(_0x463199=_0x604698(_0x463199)||_0x463199);return _0x463199;},be=(_0x4262f5,_0x406a20)=>(_0x4d1adc,_0x3bab67)=>_0x406a20(_0x4d1adc,_0x3bab67,_0x4262f5);let rt=class extends _0x426733{constructor(_0x422b6b,_0x4fcb22,_0x1d59ac){const _0x208dbc=_0x1d7bbe;super(),this[_0x208dbc(0x357)]=_0x422b6b,this['_httpService']=_0x4fcb22,this[_0x208dbc(0x2ab)]=_0x1d59ac;}async[_0x1d7bbe(0x334)](_0x137363,_0x2c8e4d,_0x351f80,..._0x14034c){const _0x4b4aae=_0x1d7bbe;var _0x40d989,_0x2462c2,_0x198c43,_0x104584;const _0x2fabff=this[_0x4b4aae(0x357)]['getFocusedUnit']();if(!_0x2fabff)throw new Error(_0x4b4aae(0x2c2));const _0x40df8c=((_0x40d989=this[_0x4b4aae(0x2ab)]['getConfig'](_0x365318))!=null?_0x40d989:_0x3c30fc)+'/'+_0x137363+_0x4b4aae(0x229)+_0x2c8e4d,_0x54c0a3=new URL(window[_0x4b4aae(0x2cd)][_0x4b4aae(0x2b4)]),_0x205bf2={'scriptId':_0x137363,'runId':(_0x2462c2=_0x54c0a3[_0x4b4aae(0x1d5)][_0x4b4aae(0x1f1)](_0x4b4aae(0x236)))!=null?_0x2462c2:'','function':_0x2c8e4d,'unitId':_0x2fabff['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14034c),'invokeId':(_0x198c43=_0x351f80['invokeId'])!=null?_0x198c43:'','executionId':(_0x104584=_0x351f80['executionId'])!=null?_0x104584:''};try{const _0x368ddc=await this[_0x4b4aae(0x260)][_0x4b4aae(0x228)](_0x40df8c,{'body':_0x205bf2});return _0x368ddc[_0x4b4aae(0x394)]['error']&&_0x368ddc[_0x4b4aae(0x394)]['error'][_0x4b4aae(0x3ac)]!==Mt['OK']?_0x4b4aae(0x2de):_0x368ddc[_0x4b4aae(0x394)][_0x4b4aae(0x3c0)];}catch{return _0x4b4aae(0x2de);}}};rt=Cn([be(0x0,_0x3888fb),be(0x1,_0x3c7534(_0x4c152d)),be(0x2,_0x1e2cfe)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x20b139=_0x5d52;(function(_0x3718cf,_0x2a46d9){const _0x741552=_0x5d52,_0x4b8711=_0x3718cf();while(!![]){try{const _0x36693b=-parseInt(_0x741552(0xbc))/0x1*(parseInt(_0x741552(0xcc))/0x2)+-parseInt(_0x741552(0x257))/0x3+-parseInt(_0x741552(0x1e2))/0x4+-parseInt(_0x741552(0x1c6))/0x5+-parseInt(_0x741552(0xa6))/0x6+-parseInt(_0x741552(0x17b))/0x7*(parseInt(_0x741552(0xa0))/0x8)+parseInt(_0x741552(0x16c))/0x9;if(_0x36693b===_0x2a46d9)break;else _0x4b8711['push'](_0x4b8711['shift']());}catch(_0x1e4f44){_0x4b8711['push'](_0x4b8711['shift']());}}}(_0x30d7,0xc3a8a));var $t=Object[_0x20b139(0x212)],xt=(_0x13a9d0,_0x90951c,_0x3be7a2)=>_0x90951c in _0x13a9d0?$t(_0x13a9d0,_0x90951c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3be7a2}):_0x13a9d0[_0x90951c]=_0x3be7a2,_=(_0x5940bc,_0xdad0bc,_0x5898e3)=>xt(_0x5940bc,typeof _0xdad0bc!=_0x20b139(0x162)?_0xdad0bc+'':_0xdad0bc,_0x5898e3);import{MemberService as _0x4f0c96,SessionStatus as _0x2c301f,CollaborationSessionService as _0x1900dc,CollaborationStatus as _0x5acaa6,CollaborationController as _0x51ace9,ILocalCacheService as _0x523410,CollaborationUIEventService as _0x2c1ed3,CollaborationUIEventId as _0x4d7561,DataLoaderService as _0x483742,DocCollaborationEntity as _0x5dfab1,getLocalCacheKey as _0x561f22,LOCAL_CACHE_INTERVAL as _0x3b56b5,LOCAL_CACHE_INTERVAL_KEY as _0x126106,UniverCollaborationClientPlugin as _0xcb9af3,CollaborationSocketService as _0x3d362a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x387f67,DEFAULT_WS_SESSION_TICKET_URL as _0xfaae5d,UnitStatus as _0x192e86,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x41931d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5566a5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b656f,Disposable as _0x5a2508,DOC_RANGE_TYPE as _0x2395f6,Inject as _0x1c939e,Injector as _0x4daa5d,IUniverInstanceService as _0x2f34d9,ICommandService as _0x34a904,debounce as _0x14627e,Rectangle as _0xeb5f92,DisposableCollection as _0x373641,toDisposable as _0x3f9328,UniverInstanceType as _0x32fc71,Tools as _0x43fda4,COLORS as _0x393f59,ColorKit as _0xe4fb6f,ThemeService as _0x1057be,fromEventSubject as _0x3fcce7,LocaleService as _0x267399,createIdentifier as _0x146ef2,ILogService as _0x2fbb6e,Optional as _0x2da723,Workbook as _0x2b5572,CommandType as _0x2a14d0,IConfigService as _0xa45751,ILocalStorageService as _0x210c61,DependentOn as _0x8de594,Plugin as _0x23b7c3,merge as _0x33c406,registerDependencies as _0x1b9e6a,mergeOverrideWithDependencies as _0x3baab2,touchDependencies as _0xa3ab0,generateRandomId as _0x5aaced}from'@univerjs/core';import{Shape as _0x3cd147,Rect as _0x272062,getColor as _0x1e30fa,RegularPolygon as _0xa18cb4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x15bfa6,Vector2 as _0x2861bc,SHEET_VIEWPORT_KEY as _0x39eb9b,IRenderManagerService as _0x40468d}from'@univerjs/engine-render';import{ISocketService as _0x1daee3,WebSocketService as _0x348d3f,HTTPService as _0x125174}from'@univerjs/network';import{IDocClipboardService as _0x4592f0,NodePositionConvertToCursor as _0x162b4e,NodePositionConvertToRectRange as _0x3d1e20,TEXT_RANGE_LAYER_INDEX as _0x30b795,SetDocZoomRatioOperation as _0x18710d,DocIMEInputManagerService as _0x446116,DocStateChangeManagerService as _0x865217}from'@univerjs/docs-ui';import{IImageIoService as _0x5559a8}from'@univerjs/drawing';import{BehaviorSubject as _0x11085f,debounceTime as _0xf893be,takeUntil as _0xf25cf2,Subject as _0x30acea,filter as _0x5db483,switchMap as _0x526d31,merge as _0x512e80,combineLatest as _0x789c20,of as _0x5f43bc,fromEvent as _0xbcf92,shareReplay as _0x3281e3,mapTo as _0x39f3db,distinctUntilChanged as _0x1c85aa}from'rxjs';import{SetTextSelectionsOperation as _0x437d4a,RichTextEditingMutation as _0x4644fc,DocSelectionManagerService as _0x243b30,DocSkeletonManagerService as _0x2d32d6}from'@univerjs/docs';import{ITransformService as _0x46cdfe,CollaborationEvent as _0x52635f,isTransformMutationFailure as _0x225519,isTransformMutationsWithChangesetSuccess as _0x3c3130,RevisionService as _0x2ba716,ISnapshotServerService as _0x529d3d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3cff28,serializeRangeWithSheet as _0x3ecefd}from'@univerjs/engine-formula';import{RefRangeService as _0x33c7cc,SetSelectionsOperation as _0x841254,SheetsSelectionsService as _0x3a20ea,EffectRefRangId as _0x2f11e5,handleIRemoveRow as _0x26218f,handleIRemoveCol as _0xf234b8,handleMoveRange as _0x20cddb,handleInsertRow as _0x4f4288,handleInsertRangeMoveRight as _0xb3ff0,handleInsertRangeMoveDown as _0x33fb2c,handleInsertCol as _0x3ff9c7,handleDeleteRangeMoveUp as _0x5ebc96,handleDeleteRangeMoveLeft as _0x152b31,runRefRangeMutations as _0x9cca88,SetWorksheetActivateCommand as _0x464c2f}from'@univerjs/sheets';import{map as _0x57e253,filter as _0x590b18,throttleTime as _0x136d33,takeUntil as _0x40be45,switchMap as _0x3e28bc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1bb44c,getCoordByCell as _0x253f7b,getSheetObject as _0x21c351}from'@univerjs/sheets-ui';import{jsx as _0x54050e,jsxs as _0x47d5bd}from'react/jsx-runtime';import{useObservable as _0x49e1f4,useDependency as _0xc0ebc1,IUIPartsService as _0x1385aa,BuiltInUIPart as _0x10fb44,connectInjector as _0x1da372,IBeforeCloseService as _0x353adc,IMessageService as _0x25fc68,INotificationService as _0x20e76c}from'@univerjs/ui';import{Tooltip as _0x29f031,clsx as _0x3a78ae,MessageType as _0x3be6fd}from'@univerjs/design';import{forwardRef as _0x3cab69,useRef as _0x5d5a14,createElement as _0x5e0bcf,useCallback as _0x497736}from'react';import{IRemoteInstanceService as _0xdc6926}from'@univerjs/rpc';var ci=Object[_0x20b139(0x1b2)],li=(_0x1946ce,_0x2a887e,_0x556035,_0x3bc90f)=>{const _0x6b6194=_0x20b139;for(var _0x37f894=_0x3bc90f>0x1?void 0x0:_0x3bc90f?ci(_0x2a887e,_0x556035):_0x2a887e,_0x3f6463=_0x1946ce[_0x6b6194(0x106)]-0x1,_0x33ae9b;_0x3f6463>=0x0;_0x3f6463--)(_0x33ae9b=_0x1946ce[_0x3f6463])&&(_0x37f894=_0x33ae9b(_0x37f894)||_0x37f894);return _0x37f894;},Je=(_0x2d8e9b,_0x49b405)=>(_0x16825c,_0x224ce2)=>_0x49b405(_0x16825c,_0x224ce2,_0x2d8e9b);let Ne=class extends _0x4b656f{constructor(_0x138bd6,_0x17cc40){const _0x4dd895=_0x20b139;super(),this[_0x4dd895(0xdf)]=_0x138bd6,this[_0x4dd895(0x1d3)]=_0x17cc40,this[_0x4dd895(0x27b)]();}[_0x20b139(0x27b)](){const _0x19a8cb=_0x20b139,_0xb574a4=this;this['disposeWithMe'](this[_0x19a8cb(0xdf)]['addClipboardHook']({'onBeforePasteImage':async _0x4f8f5f=>{const _0x3e9c9e=_0x19a8cb,_0xd83ddb=await _0xb574a4[_0x3e9c9e(0x1d3)]['saveImage'](_0x4f8f5f);return _0xd83ddb?{'source':_0xd83ddb[_0x3e9c9e(0x1ce)],'imageSourceType':_0xd83ddb[_0x3e9c9e(0x1c2)]}:null;}}));}};Ne=li([Je(0x0,_0x4592f0),Je(0x1,_0x5559a8)],Ne);const Ze=[_0x20b139(0x26c),_0x20b139(0x217),_0x20b139(0x1ca),_0x20b139(0x147),_0x20b139(0x26b),_0x20b139(0x277)];class ke extends _0x5a2508{constructor(){const _0x21fd91=_0x20b139;super(...arguments),_(this,_0x21fd91(0x207),new Map()),_(this,_0x21fd91(0x15e),0x0);}[_0x20b139(0x1d1)](_0x4e1daa){const _0x24b1c8=_0x20b139;if(this[_0x24b1c8(0x207)][_0x24b1c8(0x23b)](_0x4e1daa))return this[_0x24b1c8(0x207)][_0x24b1c8(0x1b7)](_0x4e1daa);const _0x51ba40=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x24b1c8(0x15e)]+0x1)%Ze[_0x24b1c8(0x106)],this[_0x24b1c8(0x207)]['set'](_0x4e1daa,_0x51ba40),_0x51ba40;}}function Tt(_0x400b4c){let _0x52ad74='';for(const _0x16336d of _0x400b4c){const {startOffset:_0x1eed3e,endOffset:_0x504ef6,isActive:_0x37054a,rangeType:_0x48a088,segmentId:_0x15ecbf,segmentPage:_0x3f32af}=_0x16336d;_0x52ad74['length']&&(_0x52ad74+=','),_0x52ad74+=_0x1eed3e+':'+_0x504ef6+':'+(_0x37054a?'1':'0')+':'+_0x48a088+':'+_0x15ecbf+':'+_0x3f32af;}return _0x52ad74;}function _i(_0x522830){const _0x2499e9=_0x20b139,_0x5a8f4e=_0x522830[_0x2499e9(0x23e)](','),_0x28c90a=[];for(const _0x5c002e of _0x5a8f4e){const [_0x220444,_0x44f1f1,_0xdbdc69,_0x8979a,_0x211fd0,_0x345681]=_0x5c002e[_0x2499e9(0x23e)](':');_0x28c90a[_0x2499e9(0x285)]({'startOffset':Number(_0x220444),'endOffset':Number(_0x44f1f1),'collapsed':_0x220444===_0x44f1f1,'isActive':_0xdbdc69==='1','rangeType':_0x8979a===_0x2395f6[_0x2499e9(0x19f)]?_0x2395f6[_0x2499e9(0x19f)]:_0x2395f6[_0x2499e9(0x114)],'segmentId':typeof _0x211fd0==_0x2499e9(0x22b)?String(_0x211fd0):'','segmentPage':Number(_0x345681!=null?_0x345681:-0x1)});}return _0x28c90a[_0x2499e9(0x213)](_0x120c30=>_0x120c30[_0x2499e9(0x20e)])||(_0x28c90a[0x0][_0x2499e9(0x20e)]=!0x0),_0x28c90a;}class He extends _0x4b656f{constructor(){const _0x7cf29c=_0x20b139;super(...arguments),_(this,_0x7cf29c(0xce),new _0x11085f(null)),_(this,_0x7cf29c(0x9c),this[_0x7cf29c(0xce)]['asObservable']());}['syncEditingCollabCursor'](_0x5f2c41){const _0x3c964e=_0x20b139,{unitID:_0x182185,memberID:_0x18f5e7,textRanges:_0x5daf59}=_0x5f2c41,_0x313d6b=Tt(_0x5daf59);if(_0x313d6b==='')return;const _0x347255={'unitID':_0x182185,'memberID':_0x18f5e7,'selection':_0x313d6b};this[_0x3c964e(0xce)][_0x3c964e(0x12f)](_0x347255);}}var hi=Object[_0x20b139(0x1b2)],ui=(_0x52eba8,_0x1cbba1,_0x4e3e8f,_0x37f7e1)=>{for(var _0x384feb=_0x37f7e1>0x1?void 0x0:_0x37f7e1?hi(_0x1cbba1,_0x4e3e8f):_0x1cbba1,_0x4e437c=_0x52eba8['length']-0x1,_0x56e9e5;_0x4e437c>=0x0;_0x4e437c--)(_0x56e9e5=_0x52eba8[_0x4e437c])&&(_0x384feb=_0x56e9e5(_0x384feb)||_0x384feb);return _0x384feb;},L=(_0x138fde,_0x5b5af8)=>(_0x241faa,_0x4192a9)=>_0x5b5af8(_0x241faa,_0x4192a9,_0x138fde);const di=0x12c,fi=0x64;let Ue=class extends _0x4b656f{constructor(_0x3afd6c,_0x8d2c9c,_0x3a916d,_0x11cba0,_0x293be4,_0x4c504e,_0x20657c,_0x50be9b,_0x411aac){const _0x20423c=_0x20b139;super(),_(this,_0x20423c(0x11a),!0x1),_(this,'_init',!0x1),_(this,_0x20423c(0x136),new _0x11085f(new Map())),_(this,_0x20423c(0x1d5),this['_cursorInfo$'][_0x20423c(0x202)]()),_(this,_0x20423c(0x1e0),new _0x11085f([])),_(this,_0x20423c(0x109),this[_0x20423c(0x1e0)][_0x20423c(0x199)](_0xf893be(di))),_(this,_0x20423c(0xe4),_0x14627e(_0x32d6e1=>{const _0x9e9bce=_0x20423c,_0x4f831e={'eventID':_0x52635f['UPDATE_CURSOR'],'data':{'unitID':this[_0x9e9bce(0x18c)],'memberID':this[_0x9e9bce(0x1ea)]['getMemberID'](),'selection':Tt(_0x32d6e1)}};this[_0x9e9bce(0x1ea)]['send'](_0x4f831e,this[_0x9e9bce(0x18c)]);},fi)),(this[_0x20423c(0x18c)]=_0x3afd6c,this[_0x20423c(0x1ea)]=_0x8d2c9c,this['_injector']=_0x3a916d,this['_colorAssignService']=_0x11cba0,this['_memberService']=_0x293be4,this[_0x20423c(0x293)]=_0x4c504e,this['_transformService']=_0x20657c,this[_0x20423c(0x226)]=_0x50be9b,this[_0x20423c(0x122)]=_0x411aac);}get['cursorInfo'](){const _0x1bc141=_0x20b139;return this[_0x1bc141(0x136)][_0x1bc141(0x23c)]();}get[_0x20b139(0x198)](){const _0x1f401c=_0x20b139;return this[_0x1f401c(0x1e0)][_0x1f401c(0x23c)]();}['dispose'](){const _0x53bfb3=_0x20b139;super[_0x53bfb3(0x186)](),this[_0x53bfb3(0x136)]['next'](new Map()),this[_0x53bfb3(0x136)][_0x53bfb3(0x181)](),this[_0x53bfb3(0x1e0)][_0x53bfb3(0x12f)]([]),this[_0x53bfb3(0x1e0)][_0x53bfb3(0x181)]();}[_0x20b139(0x1bf)](){const _0x1f1073=_0x20b139;this['_init']||(this['_init']=!0x0,this[_0x1f1073(0x1ea)][_0x1f1073(0x132)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0x444b9e=>{const _0x465143=_0x1f1073;_0x444b9e===_0x2c301f[_0x465143(0x1b5)]?this[_0x465143(0x111)]():this[_0x465143(0x265)]();}),this[_0x1f1073(0x1ea)][_0x1f1073(0x135)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0xd5717c=>{const _0x4e2a6b=_0x1f1073,_0x37907e=_0xd5717c['eventID'];_0x37907e===_0x52635f[_0x4e2a6b(0xef)]&&this['_onCursorUpdate'](_0xd5717c),_0x37907e===_0x52635f['USERS_LEAVE']&&this['_onCursorDelete'](_0xd5717c);}),this['disposeWithMe'](this[_0x1f1073(0x122)]['onCommandExecuted'](_0x2ffe6b=>{const _0x18897f=_0x1f1073,_0x5b89da=_0x2ffe6b[_0x18897f(0x120)];_0x5b89da!=null&&this['_online']&&_0x2ffe6b['id']===_0x437d4a['id']&&_0x5b89da[_0x18897f(0x1ec)]===this['unitID']&&_0x5b89da[_0x18897f(0x22d)]===!0x1&&_0x5b89da[_0x18897f(0x19a)][_0x18897f(0x106)]>0x0&&this[_0x18897f(0xe4)](_0x5b89da[_0x18897f(0x19a)]);})),this['_syncEditingCollabCursorService'][_0x1f1073(0x9c)][_0x1f1073(0x199)](_0xf25cf2(this[_0x1f1073(0xe8)]))[_0x1f1073(0x1c8)](_0x5a7266=>{const _0x48b201=_0x1f1073;if((_0x5a7266==null?void 0x0:_0x5a7266[_0x48b201(0x18c)])!==this[_0x48b201(0x18c)])return;const _0x481b8a={'eventID':_0x52635f['UPDATE_CURSOR'],'data':_0x5a7266};this[_0x48b201(0x299)](_0x481b8a);}),this[_0x1f1073(0x1f7)](this[_0x1f1073(0x122)][_0x1f1073(0x98)](_0x9260bf=>{const _0x299d40=_0x1f1073;if(_0x9260bf[_0x299d40(0x120)]==null)return;const _0xd2bcc8=_0x9260bf[_0x299d40(0x120)];if(_0x9260bf['id']!==_0x4644fc['id']||_0xd2bcc8['unitId']!==this[_0x299d40(0x18c)])return;const _0xea92c1={'id':_0x299d40(0x210),'params':_0xd2bcc8},_0x261add=this[_0x299d40(0xb9)];for(const [_0x460ef7,_0x4f4b73]of _0x261add){const _0x366147={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f4b73[_0x299d40(0x19a)]}},_0x1eab90=this[_0x299d40(0xe7)][_0x299d40(0x160)](_0xea92c1,_0x366147,!0x1);if(_0x225519(_0x1eab90))throw _0x1eab90['error'];_0x261add[_0x299d40(0x188)](_0x460ef7,{..._0x4f4b73,'ranges':_0x1eab90[_0x299d40(0x21d)][_0x299d40(0x120)]['textRanges']});}queueMicrotask(()=>{const _0x6fd3af=_0x299d40;this[_0x6fd3af(0x136)][_0x6fd3af(0x12f)](_0x261add);});})));}[_0x20b139(0x299)](_0x665c24){const _0x49fa99=_0x20b139;var _0x1d73f1,_0x42a63c;const {memberID:_0x1d4dc1,selection:_0x455189}=_0x665c24[_0x49fa99(0x171)],_0x257243=_i(_0x455189),_0x3f1781=(_0x42a63c=(_0x1d73f1=this[_0x49fa99(0x1ba)]['getMember'](this[_0x49fa99(0x18c)],_0x1d4dc1))==null?void 0x0:_0x1d73f1[_0x49fa99(0x246)])!=null?_0x42a63c:_0x49fa99(0x1e3),_0x34a95e={'color':this[_0x49fa99(0x12d)][_0x49fa99(0x1d1)](_0x1d4dc1),'name':_0x3f1781,'ranges':_0x257243},_0x3bc2cd=this[_0x49fa99(0xb9)];_0x3bc2cd[_0x49fa99(0x188)](_0x1d4dc1,_0x34a95e),this['_cursorInfo$'][_0x49fa99(0x12f)](_0x3bc2cd);}['_onCursorDelete'](_0x3cfa13){const _0x23f058=_0x20b139,{memberID:_0x42f317}=_0x3cfa13[_0x23f058(0x171)],_0x2e2e95=this[_0x23f058(0xb9)];_0x2e2e95[_0x23f058(0x21e)](_0x42f317),this['_cursorInfo$'][_0x23f058(0x12f)](_0x2e2e95);}[_0x20b139(0x111)](){const _0x394396=_0x20b139;var _0x5f15e4;if(this[_0x394396(0x11a)]=!0x0,((_0x5f15e4=this[_0x394396(0x226)][_0x394396(0x17f)]())==null?void 0x0:_0x5f15e4[_0x394396(0x24d)]())!==this[_0x394396(0x18c)])return;const _0x45befe=this[_0x394396(0x252)][_0x394396(0x1b7)](_0x243b30)[_0x394396(0x235)]();Array[_0x394396(0xb8)](_0x45befe)&&_0x45befe[_0x394396(0x106)]>0x0&&this[_0x394396(0xe4)](_0x45befe);}[_0x20b139(0x265)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x1c939e(_0x4daa5d)),L(0x3,_0x1c939e(ke)),L(0x4,_0x1c939e(_0x4f0c96)),L(0x5,_0x1c939e(He)),L(0x6,_0x46cdfe),L(0x7,_0x2f34d9),L(0x8,_0x34a904)],Ue);var Si=Object[_0x20b139(0x1b2)],mi=(_0x470190,_0x3de03e,_0x59eb3a,_0x3f45bb)=>{const _0x105c7d=_0x20b139;for(var _0x3c6ca3=_0x3f45bb>0x1?void 0x0:_0x3f45bb?Si(_0x3de03e,_0x59eb3a):_0x3de03e,_0x53be2f=_0x470190[_0x105c7d(0x106)]-0x1,_0x55eed0;_0x53be2f>=0x0;_0x53be2f--)(_0x55eed0=_0x470190[_0x53be2f])&&(_0x3c6ca3=_0x55eed0(_0x3c6ca3)||_0x3c6ca3);return _0x3c6ca3;},x=(_0x311e64,_0x4ecd52)=>(_0xc575e2,_0x3cc972)=>_0x4ecd52(_0xc575e2,_0x3cc972,_0x311e64);const gi=0x12c,Ii=0x64,vi=()=>{let _0x45ca29=[],_0x3722d8=!0x1;return _0x1e7e20=>{_0x45ca29['push'](_0x1e7e20),_0x3722d8||(_0x3722d8=!0x0,setTimeout(()=>{const _0xf7420=_0x5d52;_0x45ca29[_0xf7420(0x205)](_0xa6ad62=>_0xa6ad62()),_0x45ca29=[],_0x3722d8=!0x1;}));};};let Me=class extends _0x4b656f{constructor(_0x4707e5,_0x112970,_0x502862,_0x139c0c,_0x566a89,_0x1e7778,_0x2dd0a6,_0x57e41d){const _0x25d21e=_0x20b139;super(),_(this,'_online',!0x1),_(this,_0x25d21e(0x27b),!0x1),_(this,_0x25d21e(0x136),new _0x11085f(new Map())),_(this,'cursorInfo$',this[_0x25d21e(0x136)][_0x25d21e(0x202)]()),_(this,_0x25d21e(0x1e0),new _0x11085f([])),_(this,'roomMembers$',this[_0x25d21e(0x1e0)]['pipe'](_0xf893be(gi))),_(this,_0x25d21e(0xe4),_0x14627e((_0x252a41,_0x54f81d)=>{const _0x49680c=_0x25d21e,_0x3cde36={'eventID':_0x52635f[_0x49680c(0xef)],'data':{'unitID':this[_0x49680c(0x18c)],'memberID':this[_0x49680c(0x1ea)][_0x49680c(0x223)](),'selection':_0x3ecefd(_0x252a41,_0x54f81d[_0x49680c(0x1d4)])}};this[_0x49680c(0x1ea)][_0x49680c(0xcb)](_0x3cde36,this[_0x49680c(0x18c)]);},Ii)),(this[_0x25d21e(0x18c)]=_0x4707e5,this[_0x25d21e(0x1ea)]=_0x112970,this[_0x25d21e(0x252)]=_0x502862,this[_0x25d21e(0x12d)]=_0x139c0c,this[_0x25d21e(0x1ba)]=_0x566a89,this[_0x25d21e(0x226)]=_0x1e7778,this[_0x25d21e(0x122)]=_0x2dd0a6,this['_refRangeService']=_0x57e41d);}get[_0x20b139(0xb9)](){const _0x621456=_0x20b139;return this[_0x621456(0x136)][_0x621456(0x23c)]();}get[_0x20b139(0x198)](){const _0x398f1f=_0x20b139;return this[_0x398f1f(0x1e0)][_0x398f1f(0x23c)]();}[_0x20b139(0x186)](){const _0x5c23fc=_0x20b139;super[_0x5c23fc(0x186)](),this[_0x5c23fc(0x136)][_0x5c23fc(0x12f)](new Map()),this['_cursorInfo$'][_0x5c23fc(0x181)](),this[_0x5c23fc(0x1e0)]['next']([]),this[_0x5c23fc(0x1e0)][_0x5c23fc(0x181)]();}[_0x20b139(0x1bf)](){const _0x36430c=_0x20b139;this[_0x36430c(0x27b)]||(this['_init']=!0x0,this[_0x36430c(0x1ea)][_0x36430c(0x132)][_0x36430c(0x199)](_0xf25cf2(this['dispose$']))['subscribe'](_0xa7ddbd=>{const _0x358ab2=_0x36430c;_0xa7ddbd===_0x2c301f[_0x358ab2(0x1b5)]?this[_0x358ab2(0x111)]():this['_toggleOffline']();}),this[_0x36430c(0x1ea)][_0x36430c(0x135)][_0x36430c(0x199)](_0xf25cf2(this[_0x36430c(0xe8)]))[_0x36430c(0x1c8)](_0x2e8afb=>{const _0x591b0d=_0x36430c,_0x14be77=_0x2e8afb[_0x591b0d(0x165)];_0x14be77===_0x52635f[_0x591b0d(0xef)]&&this[_0x591b0d(0x299)](_0x2e8afb),_0x14be77===_0x52635f[_0x591b0d(0xa9)]&&this[_0x591b0d(0x272)](_0x2e8afb);}),this['_onRefRangeChange'](),this[_0x36430c(0x1f7)](this['_commandService'][_0x36430c(0x98)](_0x47ea69=>{const _0x27ce21=_0x36430c;if(this[_0x27ce21(0x11a)]&&_0x47ea69['id']===_0x841254['id']&&_0x47ea69['params'][_0x27ce21(0x1ec)]===this[_0x27ce21(0x18c)]){const _0x21534d=_0x47ea69[_0x27ce21(0x120)];this['_updateLocalCursor'](_0x21534d[_0x27ce21(0xd2)],_0x21534d[_0x27ce21(0x1a2)][0x0]);}})));}['_onCursorUpdate'](_0x330a7c){const _0x195361=_0x20b139;var _0x521d09,_0x25b46a;const {memberID:_0x561eb8,selection:_0x2fbb3c}=_0x330a7c[_0x195361(0x171)],{sheetName:_0x582ba4,range:_0x46b5be}=_0x3cff28(_0x2fbb3c),_0x52c680={'name':(_0x25b46a=(_0x521d09=this['_memberService'][_0x195361(0x1b8)](this[_0x195361(0x18c)],_0x561eb8))==null?void 0x0:_0x521d09[_0x195361(0x246)])!=null?_0x25b46a:'Unknown\x20user','range':this[_0x195361(0x26f)](_0x582ba4,_0x46b5be),'sheetID':_0x582ba4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x561eb8),'selection':_0x2fbb3c},_0xd2333b=this[_0x195361(0xb9)];_0xd2333b[_0x195361(0x188)](_0x561eb8,_0x52c680),this[_0x195361(0x136)]['next'](_0xd2333b);}[_0x20b139(0x272)](_0x496c0b){const _0x326358=_0x20b139,{memberID:_0x50be80}=_0x496c0b['data'],_0x4dd362=this[_0x326358(0xb9)];_0x4dd362[_0x326358(0x21e)](_0x50be80),this[_0x326358(0x136)]['next'](_0x4dd362);}[_0x20b139(0x26f)](_0x2e963b,_0x310585){const _0x3eeec8=_0x20b139;var _0x4cd047,_0x42bf98;const _0xe86eb4=(_0x42bf98=(_0x4cd047=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3eeec8(0x18c)]))==null?void 0x0:_0x4cd047['getSheetBySheetId'](_0x2e963b))==null?void 0x0:_0x42bf98[_0x3eeec8(0x236)]();return(_0xe86eb4==null?void 0x0:_0xe86eb4['find'](_0xf30cea=>_0xeb5f92[_0x3eeec8(0xd4)](_0xf30cea,_0x310585)))||_0x310585;}['_onRefRangeChange'](){const _0x622b14=_0x20b139,_0x14c254=new _0x373641(),_0x144bf1=vi(),_0x354010=()=>{const _0x508109=_0x5d52;_0x14c254[_0x508109(0x186)]();const _0x37340f=(_0x268d01,_0x1e00ff,_0x465c0d,_0x5d7528)=>{const _0xfeb118=_0x508109;let _0x3b0c99=[];switch(_0x268d01['id']){case _0x2f11e5[_0xfeb118(0x1a8)]:{_0x3b0c99=_0x152b31(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0xae)]:{_0x3b0c99=_0x5ebc96(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0xd7)]:{_0x3b0c99=_0x3ff9c7(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1d0)]:{_0x3b0c99=_0x33fb2c(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x10c)]:{_0x3b0c99=_0xb3ff0(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1cb)]:{_0x3b0c99=_0x4f4288(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x145)]:{_0x3b0c99=_0x20cddb(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x119)]:{_0x3b0c99=_0xf234b8(_0x268d01,_0x5d7528);break;}case _0x2f11e5[_0xfeb118(0x1f0)]:{_0x3b0c99=_0x26218f(_0x268d01,_0x5d7528);break;}}const _0xd207d3=_0x9cca88(_0x3b0c99,_0x5d7528),_0x46c1fa=this[_0xfeb118(0xb9)]['get'](_0x1e00ff);if(_0x46c1fa&&_0xd207d3){const _0x30d90c={..._0x46c1fa,'range':_0xd207d3};this[_0xfeb118(0xb9)][_0xfeb118(0x188)](_0x1e00ff,_0x30d90c),_0x144bf1(()=>{const _0x3b4179=_0xfeb118,_0x551e78=this['_refRangeService'][_0x3b4179(0x1ab)](_0xd207d3,_0x5d91ca=>(_0x551e78[_0x3b4179(0x186)](),_0x37340f(_0x5d91ca,_0x1e00ff,_0x465c0d,_0xd207d3)));_0x14c254['add'](_0x551e78);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x508109(0x205)]((_0xe1a5ab,_0x747e4b)=>{const _0x15fd52=_0x508109,{range:_0x5f1139,sheetID:_0x150088}=_0xe1a5ab,_0x370206=this[_0x15fd52(0x143)][_0x15fd52(0x1ab)](_0x5f1139,_0x503baa=>(_0x370206[_0x15fd52(0x186)](),_0x37340f(_0x503baa,_0x747e4b,_0x150088,_0x5f1139)));_0x14c254[_0x15fd52(0x289)](_0x370206);});};this[_0x622b14(0x1f7)](_0x3f9328(this[_0x622b14(0x136)][_0x622b14(0x1c8)](()=>{_0x354010();})));}[_0x20b139(0x111)](){const _0x133b2c=_0x20b139;var _0x477edf,_0x5979ed;if(this['_online']=!0x0,((_0x477edf=this[_0x133b2c(0x226)][_0x133b2c(0x17f)]())==null?void 0x0:_0x477edf[_0x133b2c(0x24d)]())!==this[_0x133b2c(0x18c)])return;const _0x2360b1=(_0x5979ed=this[_0x133b2c(0x252)][_0x133b2c(0x1b7)](_0x3a20ea)[_0x133b2c(0xf1)]())==null?void 0x0:_0x5979ed[0x0],_0x13c9b1=this[_0x133b2c(0x226)][_0x133b2c(0x128)](_0x32fc71[_0x133b2c(0x1d7)])[_0x133b2c(0x268)]();_0x2360b1&&_0x13c9b1&&this[_0x133b2c(0xe4)](_0x13c9b1['getSheetId'](),_0x2360b1);}[_0x20b139(0x265)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x1c939e(_0x4daa5d)),x(0x3,_0x1c939e(ke)),x(0x4,_0x1c939e(_0x4f0c96)),x(0x5,_0x2f34d9),x(0x6,_0x34a904),x(0x7,_0x1c939e(_0x33c7cc))],Me);var pi=Object[_0x20b139(0x1b2)],Ci=(_0x186b23,_0x42f34d,_0x1b4297,_0x24a364)=>{const _0x59628a=_0x20b139;for(var _0x42e46e=_0x24a364>0x1?void 0x0:_0x24a364?pi(_0x42f34d,_0x1b4297):_0x42f34d,_0x2b81b9=_0x186b23[_0x59628a(0x106)]-0x1,_0xcaf846;_0x2b81b9>=0x0;_0x2b81b9--)(_0xcaf846=_0x186b23[_0x2b81b9])&&(_0x42e46e=_0xcaf846(_0x42e46e)||_0x42e46e);return _0x42e46e;},Se=(_0x2b33f7,_0x3a251d)=>(_0x4c5a08,_0x332602)=>_0x3a251d(_0x4c5a08,_0x332602,_0x2b33f7);let H=class extends _0x4b656f{constructor(_0x4c029c,_0x203a75,_0x1aa5c7){const _0x3ee1c8=_0x20b139;super(),_(this,_0x3ee1c8(0xbd),new Map()),_(this,_0x3ee1c8(0x1bc),new _0x30acea()),(this['_univerInstanceService']=_0x4c029c,this[_0x3ee1c8(0x252)]=_0x203a75,this[_0x3ee1c8(0x125)]=_0x1aa5c7,this[_0x3ee1c8(0x27b)]());}['dispose'](){const _0x5d660d=_0x20b139;super['dispose'](),this[_0x5d660d(0x1bc)]['complete'](),this['_entities'][_0x5d660d(0x205)](_0x1eb44a=>_0x1eb44a[_0x5d660d(0x186)]());}[_0x20b139(0x121)](_0x176247){const _0x5912f0=_0x20b139;return this[_0x5912f0(0xbd)][_0x5912f0(0x23b)](_0x176247)?this[_0x5912f0(0xbd)][_0x5912f0(0x1b7)](_0x176247)[_0x5912f0(0x1d5)]:this[_0x5912f0(0x1bc)]['pipe'](_0x5db483(_0x391d2d=>_0x391d2d[_0x5912f0(0x18c)]===_0x176247),_0x526d31(_0x24ecf5=>_0x24ecf5[_0x5912f0(0x1d5)]));}[_0x20b139(0x27b)](){const _0x29a31f=_0x20b139;this[_0x29a31f(0x226)]['getTypeOfUnitAdded$'](_0x32fc71[_0x29a31f(0x1d7)])[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))[_0x29a31f(0x1c8)](async _0x38e250=>{const _0x44c6d8=_0x29a31f,_0x4fef04=_0x38e250[_0x44c6d8(0x24d)](),_0x1ede16=await this['_startSheetCollabCursor'](_0x4fef04);this[_0x44c6d8(0x1bc)][_0x44c6d8(0x12f)](_0x1ede16),this[_0x44c6d8(0xbd)][_0x44c6d8(0x188)](_0x4fef04,_0x1ede16);}),this[_0x29a31f(0x226)][_0x29a31f(0x1ef)](_0x32fc71[_0x29a31f(0xc0)])[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))['pipe'](_0x5db483(_0x31f255=>!_0x31f255[_0x29a31f(0x24d)]()[_0x29a31f(0x1cd)]('__')))[_0x29a31f(0x1c8)](async _0x373bf3=>{const _0x544a79=_0x29a31f,_0x3670c6=_0x373bf3[_0x544a79(0x24d)](),_0x3c7934=await this[_0x544a79(0x25b)](_0x3670c6);this[_0x544a79(0x1bc)][_0x544a79(0x12f)](_0x3c7934),this[_0x544a79(0xbd)][_0x544a79(0x188)](_0x3670c6,_0x3c7934);}),_0x512e80(this[_0x29a31f(0x226)][_0x29a31f(0xe1)](_0x32fc71['UNIVER_DOC']),this[_0x29a31f(0x226)]['getTypeOfUnitDisposed$'](_0x32fc71[_0x29a31f(0x1d7)]))[_0x29a31f(0x199)](_0xf25cf2(this[_0x29a31f(0xe8)]))[_0x29a31f(0x1c8)](_0x255747=>{const _0xcede2=_0x29a31f,_0x2de1c1=_0x255747['getUnitId'](),_0x9156d=this[_0xcede2(0xbd)][_0xcede2(0x1b7)](_0x2de1c1);_0x9156d&&(_0x9156d[_0xcede2(0x186)](),this[_0xcede2(0xbd)][_0xcede2(0x21e)](_0x2de1c1));});}async['_startSheetCollabCursor'](_0xf67b7){const _0x202bca=_0x20b139,_0x1fd2e4=await this['_collabSessionService'][_0x202bca(0x178)](_0xf67b7),_0x4f6db9=this['_injector'][_0x202bca(0x1c0)](Me,_0xf67b7,_0x1fd2e4);return _0x4f6db9['init'](),_0x4f6db9;}async[_0x20b139(0x25b)](_0x2989c6){const _0x4bfe9a=_0x20b139,_0xedc013=await this['_collabSessionService']['requireSession'](_0x2989c6),_0x2005d2=this['_injector'][_0x4bfe9a(0x1c0)](Ue,_0x2989c6,_0xedc013);return _0x2005d2[_0x4bfe9a(0x1bf)](),_0x2005d2;}};H=Ci([Se(0x0,_0x2f34d9),Se(0x1,_0x1c939e(_0x4daa5d)),Se(0x2,_0x1c939e(_0x1900dc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1a154e,_0x2323a9){const _0x5bd980=_0x20b139;let {radius:_0x52b9a9,width:_0x347026,height:_0x3c8925}=_0x2323a9;_0x52b9a9=_0x52b9a9!=null?_0x52b9a9:0x0,_0x347026=_0x347026!=null?_0x347026:0x1e,_0x3c8925=_0x3c8925!=null?_0x3c8925:0x1e;let _0x2c1c75=0x0,_0x1b1a1f=0x0,_0x4bc205=0x0;_0x2c1c75=_0x1b1a1f=_0x4bc205=Math[_0x5bd980(0x13f)](_0x52b9a9,_0x347026/0x2,_0x3c8925/0x2),_0x1a154e['beginPath'](),_0x1a154e[_0x5bd980(0xee)](_0x2c1c75,0x0),_0x1a154e[_0x5bd980(0x221)](_0x347026-_0x1b1a1f,0x0),_0x1a154e[_0x5bd980(0x15c)](_0x347026-_0x1b1a1f,_0x1b1a1f,_0x1b1a1f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1a154e[_0x5bd980(0x221)](_0x347026,_0x3c8925-_0x4bc205),_0x1a154e[_0x5bd980(0x15c)](_0x347026-_0x4bc205,_0x3c8925-_0x4bc205,_0x4bc205,0x0,Math['PI']/0x2,!0x1),_0x1a154e['lineTo'](0x0,_0x3c8925),_0x1a154e['lineTo'](0x0,_0x2c1c75),_0x1a154e[_0x5bd980(0x15c)](_0x2c1c75,_0x2c1c75,_0x2c1c75,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1a154e[_0x5bd980(0xe5)](),_0x2323a9[_0x5bd980(0xb5)]&&(_0x1a154e[_0x5bd980(0xf0)](),_0x1a154e[_0x5bd980(0x222)]=_0x2323a9[_0x5bd980(0xb5)],_0x2323a9['fillRule']===_0x5bd980(0x1a1)?_0x1a154e[_0x5bd980(0xb5)](_0x5bd980(0x1a1)):_0x1a154e[_0x5bd980(0xb5)](),_0x1a154e[_0x5bd980(0x229)]());}class he extends _0x3cd147{constructor(_0x5bfbe5,_0x20f68f){const _0x543814=_0x20b139;super(_0x5bfbe5,_0x20f68f),_(this,_0x543814(0x1ac)),_(this,_0x543814(0x24e)),(this[_0x543814(0x1ac)]=_0x20f68f==null?void 0x0:_0x20f68f[_0x543814(0x1ac)],this[_0x543814(0x24e)]=_0x20f68f==null?void 0x0:_0x20f68f['text']);}static['drawWith'](_0x11688a,_0x2cf9b3){const _0x574023=_0x20b139,{text:_0x33b863,color:_0xb76a63}=_0x2cf9b3;_0x11688a['save'](),_0x11688a[_0x574023(0x12a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x19ff3e=_0x11688a[_0x574023(0x19c)](_0x33b863)[_0x574023(0x1da)],_0x539830=Math['min'](_0x19ff3e+0x2*me,Qe);Oi(_0x11688a,{'height':ee,'radius':0x4,'width':_0x539830,'fill':_0xb76a63}),_0x11688a[_0x574023(0x222)]='#FFF';const _0x1b06a5=me,_0x5a83a7=ee-Ei,_0x145526=Qe-0x2*me;if(_0x19ff3e>_0x145526){let _0x4d24f5='',_0x16ad76=0x0;for(const _0x215ec4 of _0x33b863){const _0x16a360=_0x11688a['measureText'](_0x215ec4)[_0x574023(0x1da)];if(_0x16ad76+_0x16a360<=_0x145526-_0x11688a[_0x574023(0x19c)]('...')[_0x574023(0x1da)])_0x4d24f5+=_0x215ec4,_0x16ad76+=_0x16a360;else{_0x4d24f5+=_0x574023(0x26e);break;}}_0x11688a[_0x574023(0xf8)](_0x4d24f5,_0x1b06a5,_0x5a83a7);}else _0x11688a[_0x574023(0xf8)](_0x33b863,_0x1b06a5,_0x5a83a7);_0x11688a[_0x574023(0x229)]();}['_draw'](_0x3b01e1){he['drawWith'](_0x3b01e1,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x20b139(0x256),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x20b139(0xdc);class qe{constructor(_0x1cafb7,_0x1f16f1,_0x16dc7e,_0xdaf1d5){const _0x208a83=_0x20b139;_(this,_0x208a83(0x9d),[]),_(this,_0x208a83(0x11c),null),_(this,_0x208a83(0x269),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1cafb7,this[_0x208a83(0x17d)]=_0x1f16f1,this[_0x208a83(0x245)]=_0x16dc7e,this[_0x208a83(0x173)]=_0xdaf1d5,this['_render']());}set['_hover'](_0x502dee){const _0x1ee4b8=_0x20b139;_0x502dee?(this['_anchorDot']&&this[_0x1ee4b8(0x1f2)]['hide'](),this[_0x1ee4b8(0x269)]&&this[_0x1ee4b8(0x269)][_0x1ee4b8(0x201)]()):(this[_0x1ee4b8(0x1f2)]&&this['_anchorDot'][_0x1ee4b8(0x201)](),this[_0x1ee4b8(0x269)]&&this[_0x1ee4b8(0x269)]['hide']());}[_0x20b139(0x186)](){const _0x523831=_0x20b139;for(const _0x180ed4 of this[_0x523831(0x9d)])_0x180ed4[_0x523831(0x186)]();this[_0x523831(0x269)]&&this['_textBubble'][_0x523831(0x186)](),this[_0x523831(0x1f2)]&&this[_0x523831(0x1f2)]['dispose'](),this['_anchor']&&this[_0x523831(0x11c)][_0x523831(0x186)](),this['_eventUnsubscribe']&&this[_0x523831(0x14b)]();}[_0x20b139(0xe3)](){const _0x3a4b94=_0x20b139;var _0x2650c0;const {_docSkeleton:_0x256ab5,_document:_0x271029}=this,{color:_0x29eeae,name:_0x17da73,ranges:_0x4add37}=this['_cursor'],_0x56eb11=_0x271029[_0x3a4b94(0x1dd)](),{docsLeft:_0x45b83c,docsTop:_0x169df3}=_0x56eb11,_0x5345d2=new _0x162b4e(_0x56eb11,_0x256ab5);for(const {startOffset:_0x4198b8,endOffset:_0x41f8ed,rangeType:_0x447bae,segmentId:_0x290534,segmentPage:_0x365ef3,collapsed:_0x320a53,isActive:_0x37fb89}of _0x4add37){const _0x26c5db=_0x256ab5[_0x3a4b94(0x286)](_0x4198b8,!0x0,_0x290534,_0x365ef3);let _0x326b90=_0x256ab5['findNodePositionByCharIndex'](_0x41f8ed,!0x0,_0x290534,_0x365ef3);if(_0x326b90==null&&(_0x326b90=_0x256ab5[_0x3a4b94(0x286)](_0x41f8ed-0x1,!0x1,_0x290534,_0x365ef3)),_0x37fb89){const {contentBoxPointGroup:_0x225b83}=_0x5345d2[_0x3a4b94(0x291)](_0x326b90,_0x326b90);if(_0x225b83[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0x21b)](_0x29eeae,_0x225b83,_0x45b83c,_0x169df3,_0x17da73),this[_0x3a4b94(0x14b)]=this[_0x3a4b94(0x13d)]();}if(_0x26c5db&&_0x326b90){if(_0x447bae===_0x2395f6['RECT']){const _0x5d7067=new _0x3d1e20(_0x56eb11,_0x256ab5),{pointGroup:_0x53a112}=(_0x2650c0=_0x5d7067[_0x3a4b94(0x291)](_0x26c5db,_0x326b90))!=null?_0x2650c0:{};if(_0x53a112==null||_0x53a112[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0x27d)](_0x29eeae,_0x53a112,_0x45b83c,_0x169df3);}else{if(!_0x320a53){const {borderBoxPointGroup:_0x20d34b}=_0x5345d2[_0x3a4b94(0x291)](_0x26c5db,_0x326b90);if(_0x20d34b[_0x3a4b94(0x106)]===0x0)continue;this[_0x3a4b94(0xdd)](_0x29eeae,_0x20d34b,_0x45b83c,_0x169df3);}}}}}[_0x20b139(0x21b)](_0x4ce874,_0x7d3ee0,_0x4b32da,_0x81c53d,_0x2d8745){const _0x1cf575=_0x20b139,_0x5869ca=this[_0x1cf575(0xac)](_0x7d3ee0),{left:_0x52dc7f,top:_0x4a6713,height:_0x4a6331}=_0x5869ca,_0x1a7a8e=this['_getScale'](),_0x4069f5=Di/_0x1a7a8e,_0x233bc4=new _0x272062(ge+_0x43fda4[_0x1cf575(0x27a)](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d,'height':_0x4a6331,'width':Ri,'fill':_0x4ce874||_0x1e30fa(_0x393f59[_0x1cf575(0x266)],0x0),'strokeWidth':_0x4069f5,'stroke':Ni,'evented':!0x0});this[_0x1cf575(0x11c)]=_0x233bc4,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x233bc4,_0x30b795);const _0x20bc28=new _0x272062(ge+_0x43fda4[_0x1cf575(0x27a)](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4ce874||_0x1e30fa(_0x393f59['black'],0x0),'strokeWidth':0x0,'stroke':_0x4ce874||_0x1e30fa(_0x393f59[_0x1cf575(0x266)],0x0),'evented':!0x1});this[_0x1cf575(0x1f2)]=_0x20bc28,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x20bc28,_0x30b795);const _0x2a5c0e=new he(ge+_0x43fda4['generateRandomId'](X),{'left':_0x52dc7f+_0x4b32da-_0x4069f5,'top':_0x4a6713+_0x81c53d-ee,'text':_0x2d8745,'color':_0x4ce874});this['_textBubble']=_0x2a5c0e,this[_0x1cf575(0x17d)][_0x1cf575(0x1fe)](_0x2a5c0e,_0x30b795),this[_0x1cf575(0x22e)]=!0x1;}[_0x20b139(0x13d)](){const _0x33b940=_0x20b139,_0x249f2e=this[_0x33b940(0x11c)]['onPointerEnter$'][_0x33b940(0x242)](()=>{const _0x2044b0=_0x33b940;this[_0x2044b0(0x22e)]=!0x0;}),_0x155718=this[_0x33b940(0x11c)][_0x33b940(0xeb)]['subscribeEvent'](()=>{const _0x1d477a=_0x33b940;this[_0x1d477a(0x19e)]&&clearTimeout(this[_0x1d477a(0x19e)]),this[_0x1d477a(0x19e)]=setTimeout(()=>{const _0x1bda56=_0x1d477a;this[_0x1bda56(0x22e)]=!0x1;},0x7d0);});return()=>{const _0x2f1c4f=_0x33b940;_0x249f2e[_0x2f1c4f(0x206)](),_0x155718[_0x2f1c4f(0x206)]();};}[_0x20b139(0xdd)](_0x4f354a,_0x5a04f5,_0x3e5fbc,_0xf0af1f){const _0x2776bf=_0x20b139,_0x5b13ff=new _0xe4fb6f(_0x4f354a)['setAlpha'](0.2)[_0x2776bf(0xb0)](),_0x1fc81b=new _0xa18cb4(bi+_0x43fda4['generateRandomId'](X),{'pointsGroup':_0x5a04f5,'fill':_0x5b13ff||_0x1e30fa(_0x393f59[_0x2776bf(0x266)],0.2),'left':_0x3e5fbc,'top':_0xf0af1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2776bf(0x9d)][_0x2776bf(0x285)](_0x1fc81b),this[_0x2776bf(0x17d)][_0x2776bf(0x1fe)](_0x1fc81b,_0x30b795);}[_0x20b139(0x27d)](_0x40d91a,_0x5e6d59,_0x2d9d39,_0x457c3e){const _0x169620=_0x20b139,_0x1a646b=new _0xe4fb6f(_0x40d91a)[_0x169620(0xd1)](0.2)[_0x169620(0xb0)](),_0x5a9d06=new _0xa18cb4(Ti+_0x43fda4[_0x169620(0x27a)](X),{'pointsGroup':_0x5e6d59,'fill':_0x1a646b||_0x1e30fa(_0x393f59[_0x169620(0x266)],0.2),'left':_0x2d9d39,'top':_0x457c3e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x169620(0x9d)][_0x169620(0x285)](_0x5a9d06),this[_0x169620(0x17d)][_0x169620(0x1fe)](_0x5a9d06,_0x30b795);}[_0x20b139(0xac)](_0x5ab512){const _0x2b5da4=_0x5ab512[0x0],_0x398fd1=_0x2b5da4[0x0],_0x3b3d55=_0x2b5da4[0x2],{x:_0x23f8bc,y:_0x2c5150}=_0x398fd1,{x:_0x516473,y:_0x1ed4af}=_0x3b3d55;return{'left':_0x23f8bc,'top':_0x2c5150,'width':_0x516473-_0x23f8bc,'height':_0x1ed4af-_0x2c5150};}[_0x20b139(0x131)](){const _0xc72ae3=_0x20b139,{scaleX:_0x2ca164,scaleY:_0x286e8f}=this[_0xc72ae3(0x17d)]['getAncestorScale']();return Math[_0xc72ae3(0x28a)](_0x2ca164,_0x286e8f);}}var Ui=Object[_0x20b139(0x1b2)],Mi=(_0x5cde34,_0x858146,_0x4bb1e4,_0x15a046)=>{for(var _0x29fdca=_0x15a046>0x1?void 0x0:_0x15a046?Ui(_0x858146,_0x4bb1e4):_0x858146,_0x2fb1d5=_0x5cde34['length']-0x1,_0x194ca2;_0x2fb1d5>=0x0;_0x2fb1d5--)(_0x194ca2=_0x5cde34[_0x2fb1d5])&&(_0x29fdca=_0x194ca2(_0x29fdca)||_0x29fdca);return _0x29fdca;},Z=(_0x1568b2,_0x125585)=>(_0x422188,_0x98499f)=>_0x125585(_0x422188,_0x98499f,_0x1568b2);let Pe=class extends _0x4b656f{constructor(_0x240389,_0x19ef31,_0x1649aa,_0x2c9bba,_0x23b27c){const _0xc7bedc=_0x20b139;super(),_(this,_0xc7bedc(0xf7),[]),_(this,_0xc7bedc(0x260),[]),(this[_0xc7bedc(0x247)]=_0x240389,this[_0xc7bedc(0x166)]=_0x19ef31,this[_0xc7bedc(0x12c)]=_0x1649aa,this['_commandService']=_0x2c9bba,this['_themeService']=_0x23b27c,this['_init']());}['_init'](){const _0x1b338f=_0x20b139,_0x4e18df=this[_0x1b338f(0x247)][_0x1b338f(0x1ec)],_0x1df7f2=this['_docSkeletonManagerService'];this[_0x1b338f(0x1f7)](_0x789c20([this[_0x1b338f(0x12c)][_0x1b338f(0x121)](_0x4e18df),this[_0x1b338f(0x287)][_0x1b338f(0x192)]])[_0x1b338f(0x199)](_0x57e253(([_0x2b5971,_0x5d55ef])=>({'skeleton':_0x1df7f2[_0x1b338f(0x20a)](),'cursors':[..._0x2b5971['values']()][_0x1b338f(0x102)](_0xd3d964=>({..._0xd3d964,'color':this[_0x1b338f(0x287)][_0x1b338f(0x184)](_0xd3d964[_0x1b338f(0x1ac)])}))})))[_0x1b338f(0x1c8)](_0x313a67=>{const _0x49c172=_0x1b338f;if(this['_removeCollabCursors'](),_0x313a67){const {skeleton:_0x1d8880,cursors:_0x2180a4}=_0x313a67;this[_0x49c172(0x170)](_0x1d8880,_0x2180a4);}})),this[_0x1b338f(0x174)](),this[_0x1b338f(0x176)]();}[_0x20b139(0x170)](_0x57cd37,_0x518cb8){const _0x371eaa=_0x20b139,{scene:_0x1aed62,mainComponent:_0x19d61e}=this[_0x371eaa(0x247)],_0x23478=_0x518cb8[_0x371eaa(0xda)](_0x46bfb9=>new qe(_0x46bfb9,_0x1aed62,_0x57cd37,_0x19d61e));this['_cursorShapes']=_0x23478,this[_0x371eaa(0x260)]=_0x518cb8;}[_0x20b139(0xaf)](){const _0x4f50e5=_0x20b139;this[_0x4f50e5(0x175)]();const {scene:_0x5f430b,mainComponent:_0x14084d}=this[_0x4f50e5(0x247)],_0x332d1c=this[_0x4f50e5(0x166)]['getSkeleton'](),_0x23b7a1=this[_0x4f50e5(0x260)]['map'](_0x3ca989=>new qe(_0x3ca989,_0x5f430b,_0x332d1c,_0x14084d));this[_0x4f50e5(0xf7)]=_0x23b7a1;}[_0x20b139(0x175)](){const _0x1cf532=_0x20b139;this['_cursorShapes'][_0x1cf532(0x205)](_0x186ce=>_0x186ce[_0x1cf532(0x186)]()),this[_0x1cf532(0xf7)]=[];}[_0x20b139(0x176)](){const _0x4ea83d=_0x20b139,_0x5898da=[_0x18710d['id']];this['disposeWithMe'](this[_0x4ea83d(0x122)][_0x4ea83d(0x98)](_0x5caea1=>{const _0x1d5192=_0x4ea83d;_0x5898da['includes'](_0x5caea1['id'])&&_0x5caea1[_0x1d5192(0x120)]['unitId']===this[_0x1d5192(0x247)][_0x1d5192(0x1ec)]&&this[_0x1d5192(0xaf)]();}));}['_initResize'](){const _0x3a43a0=_0x20b139;this['disposeWithMe'](_0x3fcce7(this[_0x3a43a0(0x247)][_0x3a43a0(0xf2)][_0x3a43a0(0x15d)])[_0x3a43a0(0x199)](_0x590b18(_0x5c8522=>_0x5c8522[_0x3a43a0(0x103)]===_0x15bfa6[_0x3a43a0(0x141)]),_0x136d33(0x10))[_0x3a43a0(0x1c8)](()=>{const _0x5c9305=_0x3a43a0;this[_0x5c9305(0xaf)]();}));}};Pe=Mi([Z(0x1,_0x1c939e(_0x2d32d6)),Z(0x2,_0x1c939e(H)),Z(0x3,_0x34a904),Z(0x4,_0x1c939e(_0x1057be))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x3cd147{constructor(_0x587d10,_0x2ba29e){const _0x5e858e=_0x20b139;super(_0x587d10,_0x2ba29e),_(this,_0x5e858e(0x104)),_(this,_0x5e858e(0x113),!0x1),_(this,_0x5e858e(0x228)),_(this,_0x5e858e(0x10b),''),_(this,_0x5e858e(0x150),_0x5e858e(0x10d)),_(this,_0x5e858e(0x23d)),(_0x2ba29e&&this[_0x5e858e(0x1be)](_0x2ba29e),this[_0x5e858e(0x231)][_0x5e858e(0x242)](()=>this[_0x5e858e(0x1be)]({'hovered':!0x0})),this[_0x5e858e(0xeb)][_0x5e858e(0x242)](()=>this[_0x5e858e(0x1be)]({'hovered':!0x1})));}[_0x20b139(0x1be)](_0x2defce){const _0x3627d5=_0x20b139;var _0x1d5f85,_0x37444d,_0x370fb4,_0x599650,_0x320b26,_0x1db38a;this[_0x3627d5(0x104)]=(_0x1d5f85=_0x2defce[_0x3627d5(0x1ac)])!=null?_0x1d5f85:this[_0x3627d5(0x104)],this[_0x3627d5(0x113)]=(_0x37444d=_0x2defce[_0x3627d5(0x127)])!=null?_0x37444d:this[_0x3627d5(0x113)],this[_0x3627d5(0x228)]=(_0x370fb4=_0x2defce[_0x3627d5(0x1d4)])!=null?_0x370fb4:this['_range'],this[_0x3627d5(0x10b)]=(_0x599650=_0x2defce[_0x3627d5(0x246)])!=null?_0x599650:this[_0x3627d5(0x10b)],this[_0x3627d5(0x150)]=(_0x320b26=_0x2defce[_0x3627d5(0x239)])!=null?_0x320b26:this['_labelPosition'],this[_0x3627d5(0x23d)]=(_0x1db38a=_0x2defce[_0x3627d5(0xfc)])!=null?_0x1db38a:this['_backgroundColor'],this['transformByState']({'width':_0x2defce[_0x3627d5(0x1da)],'height':_0x2defce[_0x3627d5(0x108)]});}[_0x20b139(0x248)](_0x36ca7a){const _0x139ca2=_0x20b139,{row:_0x4f40ed,column:_0x537160}=_0x36ca7a;if(_0x4f40ed>=this[_0x139ca2(0x228)][_0x139ca2(0x1b4)]&&_0x4f40ed<=this[_0x139ca2(0x228)][_0x139ca2(0xaa)]&&_0x537160>=this['_range'][_0x139ca2(0xb2)]&&_0x537160<=this[_0x139ca2(0x228)][_0x139ca2(0x233)]){this[_0x139ca2(0x1be)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x20b139(0x1f6)](_0x13494c){return!0x1;}['_draw'](_0x269b80){const _0x33a563=_0x20b139;_0x272062['drawWith'](_0x269b80,{'width':this['width'],'height':this[_0x33a563(0x108)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x33a563(0x113)]&&(_0x269b80[_0x33a563(0xf0)](),_0x269b80['transform'](0x1,0x0,0x0,0x1,this[_0x33a563(0x1da)],this[_0x33a563(0x150)]===_0x33a563(0x227)?0x0:-0x14),he[_0x33a563(0x10f)](_0x269b80,{'text':this[_0x33a563(0x10b)],'color':this['_color']}),_0x269b80[_0x33a563(0x229)]());}}var Ai=Object[_0x20b139(0x1b2)],yi=(_0x2e97f2,_0x2656e9,_0x1dea93,_0x4df7d7)=>{const _0x434c6b=_0x20b139;for(var _0x46fd39=_0x4df7d7>0x1?void 0x0:_0x4df7d7?Ai(_0x2656e9,_0x1dea93):_0x2656e9,_0x391ac1=_0x2e97f2[_0x434c6b(0x106)]-0x1,_0x189983;_0x391ac1>=0x0;_0x391ac1--)(_0x189983=_0x2e97f2[_0x391ac1])&&(_0x46fd39=_0x189983(_0x46fd39)||_0x46fd39);return _0x46fd39;},ve=(_0x323143,_0x5bdc85)=>(_0x22c870,_0x9cc751)=>_0x5bdc85(_0x22c870,_0x9cc751,_0x323143);const $i=0x1389;let Le=class extends _0x4b656f{constructor(_0xf4f3aa,_0x7e31c6,_0x1128a3,_0x205c83){const _0x5645a0=_0x20b139;super(),_(this,_0x5645a0(0x260),new Set()),_(this,_0x5645a0(0xdb),null),(this[_0x5645a0(0x247)]=_0xf4f3aa,this['_sheetSkeletonManagerService']=_0x7e31c6,this[_0x5645a0(0x12c)]=_0x1128a3,this[_0x5645a0(0x287)]=_0x205c83,this['_init']());}[_0x20b139(0x27b)](){const _0x4b6348=_0x20b139;this['_sheetSkeletonManagerService'][_0x4b6348(0xa1)][_0x4b6348(0x199)](_0x40be45(this['dispose$']),_0x3e28bc(_0x4ad577=>{const _0x514e8f=_0x4b6348;if(_0x4ad577){const _0x2d32c9=_0x4ad577['sheetId'];return _0x789c20(this[_0x514e8f(0x12c)][_0x514e8f(0x121)](this['_context'][_0x514e8f(0x1ec)]),this[_0x514e8f(0x287)][_0x514e8f(0x192)])['pipe'](_0x57e253(([_0x1d540a,_0x3b2f86])=>{const _0x5290e3=_0x514e8f,_0x30910e=new Map();return _0x1d540a[_0x5290e3(0x205)]((_0x33f1d9,_0xf5f2c5)=>{const _0x1e6f46=_0x5290e3;if(_0x33f1d9[_0x1e6f46(0x244)]===_0x2d32c9){const _0x587c84={..._0x33f1d9};_0x587c84[_0x1e6f46(0x1ac)]=this[_0x1e6f46(0x287)][_0x1e6f46(0x184)](_0x33f1d9['color']),_0x30910e[_0x1e6f46(0x188)](_0xf5f2c5,_0x587c84);}}),{'skeleton':_0x4ad577,'cursors':_0x30910e};}));}return _0x5f43bc({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x472d3c,cursors:_0x1c4770})=>{const _0x5e0cce=_0x4b6348;this[_0x5e0cce(0x175)](),_0x472d3c&&this[_0x5e0cce(0x170)](_0x472d3c,_0x1c4770);}),this[_0x4b6348(0xd3)][_0x4b6348(0xa1)][_0x4b6348(0x1c8)](_0x30689a=>{const _0x8de9db=_0x4b6348;if(_0x30689a==null)return;const {skeleton:_0x1a3e4c}=_0x30689a,{scene:_0x246dbe}=this[_0x8de9db(0x247)];_0x246dbe[_0x8de9db(0x24f)][_0x8de9db(0x242)](_0x14627e(_0x45b70e=>{const _0x4263d7=_0x8de9db;var _0x169be5,_0x26a1f0;const {offsetX:_0x5ac700,offsetY:_0x262eaf}=_0x45b70e,{x:_0x5e6bb3,y:_0x3fd9ff}=_0x246dbe[_0x4263d7(0x253)](_0x2861bc['FromArray']([_0x5ac700,_0x262eaf])),{scaleX:_0x25e3a3,scaleY:_0x144615}=_0x246dbe[_0x4263d7(0x25a)](),_0x462bf9=_0x246dbe['getViewport'](_0x39eb9b[_0x4263d7(0x133)]),_0x530c0c=_0x246dbe['getVpScrollXYInfoByPosToVp'](_0x2861bc[_0x4263d7(0x230)]([_0x5e6bb3,_0x3fd9ff]),_0x462bf9),_0x8033d7=_0x1a3e4c['getCellPositionByOffset'](_0x5ac700,_0x262eaf,_0x25e3a3,_0x144615,_0x530c0c);((_0x169be5=this['_lastPointer'])==null?void 0x0:_0x169be5[_0x4263d7(0xba)])===_0x8033d7[_0x4263d7(0xba)]&&((_0x26a1f0=this[_0x4263d7(0xdb)])==null?void 0x0:_0x26a1f0[_0x4263d7(0xb1)])===_0x8033d7[_0x4263d7(0xb1)]||this[_0x4263d7(0x260)][_0x4263d7(0x205)](_0x551696=>{_0x551696['onMouseMove'](_0x8033d7);});},0x64));});}['_updateCollabCursors'](_0x277b0e,_0x54488e){const _0x2e9504=_0x20b139;var _0x5c3278;const _0xfcea3b=(_0x5c3278=this[_0x2e9504(0xd3)][_0x2e9504(0x280)]())==null?void 0x0:_0x5c3278[_0x2e9504(0xd9)];if(!_0xfcea3b)return;const _0xba8d1d=this[_0x2e9504(0x281)]();if(!_0xba8d1d)return;this[_0x2e9504(0x260)][_0x2e9504(0x205)](_0x536e1d=>{const _0x23089a=_0x2e9504;_0x536e1d[_0x23089a(0x1c9)]();});const {scene:_0x1d76a0}=_0xba8d1d,_0x7d95b5=xi(Array[_0x2e9504(0x1ae)](_0x54488e[_0x2e9504(0x139)]()))[_0x2e9504(0xda)](_0x56c1af=>{const _0x19ba1c=_0x2e9504,{color:_0x3958e6,range:_0x4fc0b6,name:_0x16d959,selection:_0x2a5a8d,sheetID:_0x54634c}=_0x56c1af,{startColumn:_0x224aa6,startRow:_0x555737,endColumn:_0x5478cf,endRow:_0x4fa0e9}=_0x4fc0b6,_0x2b1eef=_0x253f7b(_0x555737,_0x224aa6,_0x1d76a0,_0xfcea3b),_0x483b2c=_0x253f7b(_0x4fa0e9,_0x5478cf,_0x1d76a0,_0xfcea3b),{columnHeaderHeightAndMarginTop:_0x5c14c1}=_0xfcea3b,{startX:_0x12f44f,startY:_0x2b72ab}=_0x2b1eef,{endX:_0x2ba011,endY:_0x4effa2}=_0x483b2c,_0x153efd=_0x2ba011-_0x12f44f,_0x289bb5=_0x4effa2-_0x2b72ab,_0x3d19e1={'labelPosition':_0x2b72ab-_0x5c14c1>=ee?_0x19ba1c(0x10d):'bottom','sheetID':_0x54634c,'range':_0x4fc0b6,'color':_0x3958e6,'name':_0x16d959,'selection':_0x2a5a8d,'left':_0x12f44f,'top':_0x2b72ab,'width':_0x153efd,'height':_0x289bb5,'evented':!0x1,'zIndex':$i};return new wi(_0x16d959,_0x3d19e1);});_0x1d76a0[_0x2e9504(0x1f5)](_0x7d95b5,Pi),this['_cursors']=new Set(_0x7d95b5);}[_0x20b139(0x175)](){const _0x286696=_0x20b139;var _0x1ec439;(_0x1ec439=this[_0x286696(0x260)])==null||_0x1ec439[_0x286696(0x205)](_0x54d429=>_0x54d429[_0x286696(0x186)]());}[_0x20b139(0x281)](){const _0xf74c9a=_0x20b139;return _0x21c351(this[_0xf74c9a(0x247)][_0xf74c9a(0xc5)],this['_context']);}};Le=yi([ve(0x1,_0x1c939e(_0x1bb44c)),ve(0x2,_0x1c939e(H)),ve(0x3,_0x1c939e(_0x1057be))],Le);function xi(_0x4e934f){const _0x562935=_0x20b139,_0x82829d=new Map();return _0x4e934f[_0x562935(0x205)](_0x439785=>{const _0x4ae7de=_0x562935;if(_0x82829d[_0x4ae7de(0x23b)](_0x439785['selection'])){const _0x37c000=_0x82829d['get'](_0x439785[_0x4ae7de(0x290)]);_0x37c000[_0x4ae7de(0x246)]+=',\x20'+_0x439785[_0x4ae7de(0x246)];}else _0x82829d['set'](_0x439785[_0x4ae7de(0x290)],_0x439785);}),Array[_0x562935(0x1ae)](_0x82829d[_0x562935(0x139)]());}var v=function(){const _0x480dda=_0x20b139;return v=Object['assign']||function(_0x4d4788){const _0xef7e83=_0x5d52;for(var _0x7cf065,_0x781353=0x1,_0x5c4e3d=arguments[_0xef7e83(0x106)];_0x781353<_0x5c4e3d;_0x781353++){_0x7cf065=arguments[_0x781353];for(var _0x10d071 in _0x7cf065)Object[_0xef7e83(0x126)]['hasOwnProperty'][_0xef7e83(0x18d)](_0x7cf065,_0x10d071)&&(_0x4d4788[_0x10d071]=_0x7cf065[_0x10d071]);}return _0x4d4788;},v[_0x480dda(0x225)](this,arguments);},Bi=function(_0x41286b,_0x18b798){const _0x3b0c71=_0x20b139;var _0x1e8695={};for(var _0x4ce55d in _0x41286b)Object['prototype'][_0x3b0c71(0x1a9)]['call'](_0x41286b,_0x4ce55d)&&_0x18b798[_0x3b0c71(0x26d)](_0x4ce55d)<0x0&&(_0x1e8695[_0x4ce55d]=_0x41286b[_0x4ce55d]);if(_0x41286b!=null&&typeof Object[_0x3b0c71(0x1d2)]==_0x3b0c71(0x149)){for(var _0xd7ea64=0x0,_0x4ce55d=Object[_0x3b0c71(0x1d2)](_0x41286b);_0xd7ea64<_0x4ce55d[_0x3b0c71(0x106)];_0xd7ea64++)_0x18b798[_0x3b0c71(0x26d)](_0x4ce55d[_0xd7ea64])<0x0&&Object[_0x3b0c71(0x126)][_0x3b0c71(0x177)][_0x3b0c71(0x18d)](_0x41286b,_0x4ce55d[_0xd7ea64])&&(_0x1e8695[_0x4ce55d[_0xd7ea64]]=_0x41286b[_0x4ce55d[_0xd7ea64]]);}return _0x1e8695;},je=_0x3cab69(function(_0x30e5c9,_0x953f01){const _0x489940=_0x20b139;var _0x2deed4=_0x30e5c9[_0x489940(0x19b)],_0x48082a=_0x30e5c9['id'],_0x5100d4=_0x30e5c9[_0x489940(0x20b)],_0x60ab88=_0x30e5c9[_0x489940(0x1fd)],_0x43d15a=Bi(_0x30e5c9,[_0x489940(0x19b),'id',_0x489940(0x20b),'extend']),_0xf14844=_0x489940(0x1a3)['concat'](_0x48082a,'\x20')['concat'](_0x5100d4||'')[_0x489940(0xf9)](),_0x32652c=_0x5d5a14('_'[_0x489940(0x107)](ji()));return Rt(_0x2deed4,''[_0x489940(0x107)](_0x48082a),{'defIds':_0x2deed4[_0x489940(0xe0)],'idSuffix':_0x32652c[_0x489940(0x200)]},v({'ref':_0x953f01,'className':_0xf14844},_0x43d15a),_0x60ab88);});function Rt(_0x2d3818,_0x3e1dc7,_0x3b663f,_0x550934,_0x289ba0){const _0x263f38=_0x20b139;return _0x5e0bcf(_0x2d3818[_0x263f38(0x243)],v(v({'key':_0x3e1dc7},ki(_0x2d3818,_0x3b663f,_0x289ba0)),_0x550934),(Hi(_0x2d3818,_0x3b663f)[_0x263f38(0x1df)]||[])[_0x263f38(0xda)](function(_0x1cbfd9,_0x589388){const _0x4e4dcf=_0x263f38;return Rt(_0x1cbfd9,''[_0x4e4dcf(0x107)](_0x3e1dc7,'-')[_0x4e4dcf(0x107)](_0x2d3818[_0x4e4dcf(0x243)],'-')[_0x4e4dcf(0x107)](_0x589388),_0x3b663f,void 0x0,_0x289ba0);}));}function ki(_0x486b11,_0x56208d,_0x304f34){const _0x135132=_0x20b139;var _0x27f148=v({},_0x486b11[_0x135132(0x10a)]);_0x304f34!=null&&_0x304f34['colorChannel1']&&_0x27f148[_0x135132(0xb5)]===_0x135132(0xd0)&&(_0x27f148[_0x135132(0xb5)]=_0x304f34[_0x135132(0xd0)]),_0x486b11[_0x135132(0x243)]===_0x135132(0x250)&&_0x27f148['id']&&(_0x27f148['id']=_0x27f148['id']+_0x56208d[_0x135132(0x218)]),Object['entries'](_0x27f148)[_0x135132(0x205)](function(_0x3aded2){const _0x41b247=_0x135132;var _0x17ef4e=_0x3aded2[0x0],_0x559345=_0x3aded2[0x1];_0x17ef4e===_0x41b247(0x250)&&typeof _0x559345==_0x41b247(0x22b)&&(_0x27f148[_0x17ef4e]=_0x559345[_0x41b247(0x21c)](/url\(#(.*)\)/,_0x41b247(0x154)[_0x41b247(0x107)](_0x56208d[_0x41b247(0x218)],')')));});var _0x52b6b9=_0x56208d['defIds'];return!_0x52b6b9||_0x52b6b9['length']===0x0||(_0x486b11[_0x135132(0x243)]===_0x135132(0xea)&&_0x27f148[_0x135132(0xe9)]&&(_0x27f148[_0x135132(0xe9)]=_0x27f148[_0x135132(0xe9)]+_0x56208d['idSuffix']),Object['entries'](_0x27f148)[_0x135132(0x205)](function(_0x35e809){const _0x24ea87=_0x135132;var _0x5f3fb0=_0x35e809[0x0],_0x2e9ea6=_0x35e809[0x1];typeof _0x2e9ea6==_0x24ea87(0x22b)&&(_0x27f148[_0x5f3fb0]=_0x2e9ea6['replace'](/url\(#(.*)\)/,_0x24ea87(0x154)['concat'](_0x56208d[_0x24ea87(0x218)],')')));})),_0x27f148;}function Hi(_0x2578e1,_0x13d5c1){const _0x29bb31=_0x20b139;var _0xf59967,_0x57cb0c=_0x13d5c1[_0x29bb31(0xe0)];return!_0x57cb0c||_0x57cb0c['length']===0x0?_0x2578e1:_0x2578e1[_0x29bb31(0x243)]===_0x29bb31(0x1e9)&&(!((_0xf59967=_0x2578e1[_0x29bb31(0x1df)])===null||_0xf59967===void 0x0)&&_0xf59967[_0x29bb31(0x106)])?v(v({},_0x2578e1),{'children':_0x2578e1['children'][_0x29bb31(0xda)](function(_0x155eae){const _0x3560ed=_0x29bb31;return typeof _0x155eae[_0x3560ed(0x10a)]['id']==_0x3560ed(0x22b)&&_0x57cb0c&&_0x57cb0c[_0x3560ed(0x26d)](_0x155eae[_0x3560ed(0x10a)]['id'])>-0x1?v(v({},_0x155eae),{'attrs':v(v({},_0x155eae[_0x3560ed(0x10a)]),{'id':_0x155eae[_0x3560ed(0x10a)]['id']+_0x13d5c1[_0x3560ed(0x218)]})}):_0x155eae;})}):_0x2578e1;}function ji(){const _0x9c38d0=_0x20b139;return Math[_0x9c38d0(0x153)]()[_0x9c38d0(0xb7)](0x24)['substring'](0x2,0x8);}je[_0x20b139(0x292)]=_0x20b139(0x183);var Yi={'tag':_0x20b139(0xc8),'attrs':{'fill':_0x20b139(0x9f),'viewBox':'0\x200\x2016\x2016','width':_0x20b139(0x179),'height':_0x20b139(0x179)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'stroke':_0x20b139(0x1e7),'d':_0x20b139(0x296),'strokeLinecap':_0x20b139(0x14d),'strokeLinejoin':_0x20b139(0x14d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x20b139(0xab),'attrs':{'id':_0x20b139(0xde)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'fill':_0x20b139(0x298),'d':_0x20b139(0x190)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x3cab69(function(_0xe849c7,_0x141370){const _0x5f39ad=_0x20b139;return _0x5e0bcf(je,Object[_0x5f39ad(0x27f)]({},_0xe849c7,{'id':_0x5f39ad(0x208),'ref':_0x141370,'icon':Yi}));});Dt[_0x20b139(0x292)]='OffLineSingle';var Fi={'tag':_0x20b139(0xc8),'attrs':{'fill':_0x20b139(0x9f),'viewBox':'0\x200\x2017\x2016','width':_0x20b139(0x179),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20b139(0x20c)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'stroke':_0x20b139(0x1e7),'d':_0x20b139(0x1d9),'strokeLinecap':_0x20b139(0x14d),'strokeLinejoin':_0x20b139(0x14d),'strokeWidth':1.2}}]},{'tag':_0x20b139(0x1e9),'attrs':{},'children':[{'tag':_0x20b139(0xab),'attrs':{'id':_0x20b139(0x28d)},'children':[{'tag':_0x20b139(0x1c1),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x20b139(0x11e)}}]}]}],'defIds':[_0x20b139(0x28d)]},Nt=_0x3cab69(function(_0x262fa7,_0x34cf76){const _0x12e60f=_0x20b139;return _0x5e0bcf(je,Object['assign']({},_0x262fa7,{'id':_0x12e60f(0x155),'ref':_0x34cf76,'icon':Fi}));});function _0x5d52(_0x3f90d9,_0x49b239){const _0x30d780=_0x30d7();return _0x5d52=function(_0x5d5273,_0xee9cb1){_0x5d5273=_0x5d5273-0x98;let _0x3ddb87=_0x30d780[_0x5d5273];return _0x3ddb87;},_0x5d52(_0x3f90d9,_0x49b239);}Nt[_0x20b139(0x292)]='OnLineSingle';function Wi(_0x359179){const _0x413e78=_0x20b139;switch(_0x359179){case _0x5acaa6[_0x413e78(0xb6)]:return _0x413e78(0xfb);case _0x5acaa6[_0x413e78(0xe6)]:return _0x413e78(0x13e);case _0x5acaa6[_0x413e78(0x1a7)]:return'collabStatus.fetchMiss';case _0x5acaa6[_0x413e78(0xd5)]:return _0x413e78(0x156);case _0x5acaa6[_0x413e78(0x1e8)]:case _0x5acaa6[_0x413e78(0xc1)]:return'collabStatus.syncing';case _0x5acaa6[_0x413e78(0x16e)]:case _0x5acaa6['PENDING']:return'collabStatus.synced';}}function Vi(_0x3c95cc){const _0x4dbe75=_0x20b139,{status$:_0x7ae7c7}=_0x3c95cc,_0x4d4198=_0x49e1f4(_0x7ae7c7,_0x5acaa6[_0x4dbe75(0xd5)]),_0x4cdad3=_0xc0ebc1(_0x267399),_0x4844c2=_0xc0ebc1(_0x1900dc),_0xe0a70f=_0x4d4198!==_0x5acaa6[_0x4dbe75(0xb6)],_0x44fd15=_0x4cdad3['t'](Wi(_0x4d4198)),_0x5df437=_0xe0a70f?_0x54050e(Nt,{}):_0x54050e(Dt,{}),_0x283a20=_0x497736(()=>{const _0x11b8e6=_0x4dbe75;_0xe0a70f||_0x4844c2[_0x11b8e6(0x15f)]();},[_0xe0a70f,_0x4844c2]);function _0x5d0019(){const _0x150be3=_0x4dbe75;return _0x47d5bd('div',{'className':_0x150be3(0x130),'onClick':_0x283a20,'children':[_0x54050e(_0x150be3(0x117),{'className':_0x3a78ae(_0x150be3(0x137),_0xe0a70f?_0x150be3(0x140):'univer-text-red-500'),'children':_0x5df437}),_0x54050e(_0x150be3(0x117),{'className':_0x150be3(0x1f1),'children':_0x44fd15})]});}return _0xe0a70f?_0x5d0019():_0x54050e(_0x29f031,{'title':_0x4cdad3['t'](_0x4dbe75(0xf5)),'children':_0x5d0019()});}var Xi=Object[_0x20b139(0x1b2)],Gi=(_0x59d647,_0x5e2049,_0x1a9fc0,_0x3d541e)=>{const _0x4c0cba=_0x20b139;for(var _0x52d682=_0x3d541e>0x1?void 0x0:_0x3d541e?Xi(_0x5e2049,_0x1a9fc0):_0x5e2049,_0x3c1b1b=_0x59d647[_0x4c0cba(0x106)]-0x1,_0x2e0677;_0x3c1b1b>=0x0;_0x3c1b1b--)(_0x2e0677=_0x59d647[_0x3c1b1b])&&(_0x52d682=_0x2e0677(_0x52d682)||_0x52d682);return _0x52d682;},Q=(_0x2defc2,_0x5e4d8d)=>(_0x29a162,_0x44923d)=>_0x5e4d8d(_0x29a162,_0x44923d,_0x2defc2);let te=class extends _0x5a2508{constructor(_0x2b5197,_0x344c85,_0x5b31b5,_0x5a0b23){const _0x1d81da=_0x20b139;super(),_(this,_0x1d81da(0x1d6),new _0x11085f(_0x5acaa6[_0x1d81da(0xd5)])),(this['_univerInstanceService']=_0x2b5197,this['_injector']=_0x344c85,this[_0x1d81da(0x1fc)]=_0x5b31b5,this[_0x1d81da(0x1f9)]=_0x5a0b23,this[_0x1d81da(0x276)](),this[_0x1d81da(0x1f3)]());}[_0x20b139(0x1f3)](){const _0x739a8b=_0x20b139;this['disposeWithMe'](this[_0x739a8b(0x226)][_0x739a8b(0x259)][_0x739a8b(0x199)](_0x526d31(()=>{const _0x3d6db6=_0x739a8b,_0x40d606=this[_0x3d6db6(0x226)][_0x3d6db6(0x17f)]();return _0x40d606?this[_0x3d6db6(0x1fc)][_0x3d6db6(0x101)](_0x40d606[_0x3d6db6(0x24d)]()):_0x5f43bc(null);}),_0x526d31(_0x18d458=>_0x18d458?_0x18d458[_0x739a8b(0x112)]:_0x5f43bc(_0x5acaa6[_0x739a8b(0xd5)])))['subscribe'](_0xd434bd=>{const _0x15014d=_0x739a8b;this['_status$'][_0x15014d(0x12f)](_0xd434bd);}));}[_0x20b139(0x276)](){const _0x2b79da=_0x20b139;this[_0x2b79da(0x1f7)](this[_0x2b79da(0x1f9)][_0x2b79da(0x20d)](_0x10fb44[_0x2b79da(0x1fa)],()=>_0x1da372(Ki({'status$':this['_status$'][_0x2b79da(0x202)]()}),this[_0x2b79da(0x252)])));}};te=Gi([Q(0x0,_0x2f34d9),Q(0x1,_0x1c939e(_0x4daa5d)),Q(0x2,_0x1c939e(_0x51ace9)),Q(0x3,_0x1385aa)],te);function Ki(_0x21493b){const {status$:_0x2f4e38}=_0x21493b;return function(){return _0x54050e(Vi,{'status$':_0x2f4e38});};}var zi=Object[_0x20b139(0x1b2)],Ji=(_0x691ee,_0x176f41,_0x3179ed,_0x1b4d79)=>{const _0x13e557=_0x20b139;for(var _0x351ade=_0x1b4d79>0x1?void 0x0:_0x1b4d79?zi(_0x176f41,_0x3179ed):_0x176f41,_0x270dd8=_0x691ee[_0x13e557(0x106)]-0x1,_0x71505;_0x270dd8>=0x0;_0x270dd8--)(_0x71505=_0x691ee[_0x270dd8])&&(_0x351ade=_0x71505(_0x351ade)||_0x351ade);return _0x351ade;},B=(_0xe29d58,_0xcb918e)=>(_0x220d88,_0x4bb4cc)=>_0xcb918e(_0x220d88,_0x4bb4cc,_0xe29d58);let se=class extends _0x5a2508{constructor(_0x26568a,_0x225858,_0x361438,_0x4e9f64,_0x71ce79,_0x60e8ba){const _0x51ce74=_0x20b139;super(),this[_0x51ce74(0x16a)]=_0x26568a,this[_0x51ce74(0x144)]=_0x225858,this[_0x51ce74(0xfd)]=_0x361438,this['_messageService']=_0x4e9f64,this[_0x51ce74(0x27e)]=_0x71ce79,this[_0x51ce74(0x232)]=_0x60e8ba,this['_setupBeforeClosingHandler'](),this[_0x51ce74(0x18a)]();}['_setupBeforeClosingHandler'](){const _0x8f245=_0x20b139;this['disposeWithMe'](this[_0x8f245(0x16a)][_0x8f245(0x194)](()=>{const _0x508189=_0x8f245;if(this[_0x508189(0x144)][_0x508189(0x214)][_0x508189(0xec)])return this[_0x508189(0x232)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x20b139(0x18a)](){const _0x46750e=_0x20b139;this[_0x46750e(0x1f7)](this[_0x46750e(0xfd)]['event$']['subscribe'](_0x9116b2=>{const _0x4e9db5=_0x46750e;_0x9116b2['id']===_0x4d7561['OTHER_CLIENT_EDITING']&&this[_0x4e9db5(0x99)]['show']({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t']('collaboration.single-unit.warning')}),_0x9116b2['id']===_0x4d7561['CLOSE_ROOM']&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0xc9))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x25d)]&&this['_notificationService'][_0x4e9db5(0x201)]({'title':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x1a6)),'content':this[_0x4e9db5(0x232)]['t']('permission.content'),'type':_0x4e9db5(0x209),'duration':0x0}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0xe6)]&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0xc9))+'('+_0x9116b2['data']+')'}),_0x9116b2['id']===_0x4d7561['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x3be6fd['Warning'],'content':this[_0x4e9db5(0x232)]['t'](_0x9116b2[_0x4e9db5(0x171)]||'')}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x1b6)]&&this[_0x4e9db5(0x99)][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x100)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x172))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x17e)]&&this['_messageService'][_0x4e9db5(0x201)]({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this[_0x4e9db5(0x232)]['t'](_0x4e9db5(0x1de))}),_0x9116b2['id']===_0x4d7561[_0x4e9db5(0x279)]&&this[_0x4e9db5(0x99)]['show']({'type':_0x3be6fd[_0x4e9db5(0x1c5)],'content':this['_localeService']['t'](_0x4e9db5(0x278))});}));}};se=Ji([B(0x0,_0x353adc),B(0x1,_0x523410),B(0x2,_0x1c939e(_0x2c1ed3)),B(0x3,_0x25fc68),B(0x4,_0x20e76c),B(0x5,_0x1c939e(_0x267399))],se);const Zi=_0x20b139(0x16d),et={},Ut=_0x146ef2(_0x20b139(0x9a));var Qi=Object[_0x20b139(0x1b2)],qi=(_0x4bc041,_0x4394d5,_0x7c0fb4,_0x40c74a)=>{const _0x4015d4=_0x20b139;for(var _0x373579=_0x40c74a>0x1?void 0x0:_0x40c74a?Qi(_0x4394d5,_0x7c0fb4):_0x4394d5,_0x17cbce=_0x4bc041[_0x4015d4(0x106)]-0x1,_0x4eac7b;_0x17cbce>=0x0;_0x17cbce--)(_0x4eac7b=_0x4bc041[_0x17cbce])&&(_0x373579=_0x4eac7b(_0x373579)||_0x373579);return _0x373579;},G=(_0x299437,_0x222c35)=>(_0x44b7de,_0x3f255c)=>_0x222c35(_0x44b7de,_0x3f255c,_0x299437);let ie=class extends _0x4b656f{constructor(_0x3a7a62,_0x54072c,_0x30fb7b,_0xd1dd63,_0x2b662e){const _0x173655=_0x20b139;super(),this[_0x173655(0x21a)]=_0x3a7a62,this['_logService']=_0x54072c,this[_0x173655(0x122)]=_0x30fb7b,this[_0x173655(0x275)]=_0xd1dd63,_0x2b662e?_0x2b662e==null||_0x2b662e[_0x173655(0x1e1)]()['then'](()=>this[_0x173655(0x27b)]()):(this['_logService'][_0x173655(0x1c7)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x20b139(0x27b)](){const _0x2f7347=_0x20b139,_0xe11676=this[_0x2f7347(0x21a)]['getParam'](_0x2f7347(0xc5)),_0x5128d5=this[_0x2f7347(0x21a)][_0x2f7347(0x22f)](_0x2f7347(0x103)),_0x147330=this['_urlService'][_0x2f7347(0x22f)]('subunit');if(!_0xe11676||!_0x5128d5){this[_0x2f7347(0x294)][_0x2f7347(0x1c7)](_0x2f7347(0x23f),_0x2f7347(0xc3));return;}const _0x3688b2=await this[_0x2f7347(0x275)][_0x2f7347(0x1af)](_0xe11676,Number(_0x5128d5),_0x147330);_0x3688b2&&_0x3688b2 instanceof _0x2b5572&&this[_0x2f7347(0x123)](_0x3688b2);}async[_0x20b139(0x123)](_0x37a05b){const _0x53d572=_0x20b139;await this[_0x53d572(0x196)](_0x37a05b),_0x37a05b['activeSheet$'][_0x53d572(0x199)](_0xf25cf2(this[_0x53d572(0xe8)]))[_0x53d572(0x1c8)](_0x1d3de6=>{const _0x466ae9=_0x53d572;_0x1d3de6&&this[_0x466ae9(0x203)](_0x1d3de6);}),this[_0x53d572(0x21a)][_0x53d572(0x237)][_0x53d572(0x199)](_0xf25cf2(this[_0x53d572(0xe8)]))[_0x53d572(0x1c8)](()=>this['_updateSubUnitFromURLParams'](_0x37a05b));}[_0x20b139(0x203)](_0x581927,_0x2eedbc=!0x1){const _0x1dd685=_0x20b139,_0x487608=this[_0x1dd685(0x21a)][_0x1dd685(0x22f)](_0x1dd685(0x27c));_0x581927[_0x1dd685(0x1bd)]()!==_0x487608&&this['_urlService'][_0x1dd685(0x1e4)]('subunit',_0x581927[_0x1dd685(0x1bd)](),_0x2eedbc);}async[_0x20b139(0x196)](_0x48c7e9){const _0x28bba7=_0x20b139;var _0x49ed35;const _0x42c63a=this['_urlService'][_0x28bba7(0x22f)](_0x28bba7(0x27c));if(!_0x42c63a||!_0x48c7e9[_0x28bba7(0x29a)](_0x42c63a)){const _0x4fb0fc=_0x48c7e9[_0x28bba7(0x295)]()[0x0],_0x16fc9c=_0x48c7e9[_0x28bba7(0x29a)](_0x4fb0fc);if(!_0x16fc9c)return;this[_0x28bba7(0x203)](_0x16fc9c,!0x0),await this[_0x28bba7(0x122)][_0x28bba7(0x191)](_0x464c2f['id'],{'unitId':_0x48c7e9['getUnitId'](),'subUnitId':_0x4fb0fc});return;}((_0x49ed35=_0x48c7e9[_0x28bba7(0x268)]())==null?void 0x0:_0x49ed35[_0x28bba7(0x1bd)]())!==_0x42c63a&&await this[_0x28bba7(0x122)][_0x28bba7(0x191)](_0x464c2f['id'],{'unitId':_0x48c7e9[_0x28bba7(0x24d)](),'subUnitId':_0x42c63a});}};ie=qi([G(0x0,Ut),G(0x1,_0x2fbb6e),G(0x2,_0x34a904),G(0x3,_0x1c939e(_0x483742)),G(0x4,_0x2da723(_0xdc6926))],ie);var en=Object[_0x20b139(0x1b2)],tn=(_0x1ba202,_0xe4eaf8,_0x2c4146,_0x244436)=>{const _0x4276cf=_0x20b139;for(var _0x21e301=_0x244436>0x1?void 0x0:_0x244436?en(_0xe4eaf8,_0x2c4146):_0xe4eaf8,_0x526862=_0x1ba202[_0x4276cf(0x106)]-0x1,_0x327f2c;_0x526862>=0x0;_0x526862--)(_0x327f2c=_0x1ba202[_0x526862])&&(_0x21e301=_0x327f2c(_0x21e301)||_0x21e301);return _0x21e301;},pe=(_0x1349c8,_0x3d4cd3)=>(_0x3b2bd7,_0xa0648f)=>_0x3d4cd3(_0x3b2bd7,_0xa0648f,_0x1349c8);let ne=class{constructor(_0x521082,_0x39afd2,_0x1470ad){const _0x3be540=_0x20b139;this[_0x3be540(0x252)]=_0x521082,this[_0x3be540(0xe7)]=_0x39afd2,this['_renderManagerService']=_0x1470ad;}[_0x20b139(0x10e)](_0x4dec36){const _0x368de2=_0x20b139;this['_transformUndoRedoStack'](_0x4dec36),this[_0x368de2(0x24c)](_0x4dec36);}['transformRemoteChangeset'](_0x4de316){const _0x2d651c=_0x20b139,{unitID:_0x50def7}=_0x4de316,_0x40f968=this['_renderManagerService'][_0x2d651c(0x1f8)](_0x50def7)[_0x2d651c(0xfe)](_0x446116),{redoCache:_0x31ba22}=_0x40f968[_0x2d651c(0x159)]();if(_0x31ba22[_0x2d651c(0x106)]===0x0)return _0x4de316;let _0x33093e=_0x43fda4['deepClone'](_0x4de316['mutations'][0x0]);for(let _0x3efb1e=0x0;_0x3efb1e<_0x31ba22[_0x2d651c(0x106)];_0x3efb1e++){const _0x1c687a={'id':_0x2d651c(0x210),'params':{..._0x31ba22[_0x3efb1e]}},_0x4af8c2=this['_transformService']['transformMutation'](_0x33093e,_0x1c687a,!0x1);if(_0x225519(_0x4af8c2))throw _0x4af8c2[_0x2d651c(0x209)];_0x33093e=_0x4af8c2['m1Prime'];}return{..._0x43fda4[_0x2d651c(0x105)](_0x4de316),'mutations':[_0x33093e]};}[_0x20b139(0xbb)](_0x9bc69f){const _0x53ffb2=_0x20b139,{unitID:_0x1bc626}=_0x9bc69f,_0x51df55=this['_renderManagerService'][_0x53ffb2(0x1f8)](_0x1bc626)[_0x53ffb2(0xfe)](_0x446116),{undoCache:_0x5f42bc,redoCache:_0x933243}=_0x51df55[_0x53ffb2(0x159)]();if(_0x5f42bc[_0x53ffb2(0x106)]===0x0||_0x933243[_0x53ffb2(0x106)]===0x0)return;const _0x5e6c11=[],_0x2e145e=[];let _0x5510f0=_0x43fda4['deepClone'](_0x9bc69f[_0x53ffb2(0x195)][0x0]),_0x35cb1d=_0x43fda4[_0x53ffb2(0x105)](_0x9bc69f['mutations'][0x0]);for(let _0x2d8243=_0x5f42bc[_0x53ffb2(0x106)]-0x1;_0x2d8243>=0x0;_0x2d8243--){const _0xb5aec5={'id':_0x53ffb2(0x210),'params':{..._0x5f42bc[_0x2d8243]}},_0x296840={'id':_0x53ffb2(0x210),'params':{..._0x933243[_0x2d8243]}},_0x351845=this[_0x53ffb2(0xe7)][_0x53ffb2(0x160)](_0x5510f0,_0xb5aec5,!0x1),_0x5c3fb9=this[_0x53ffb2(0xe7)][_0x53ffb2(0x160)](_0x35cb1d,_0x296840,!0x1);if(_0x225519(_0x351845))throw _0x351845[_0x53ffb2(0x209)];if(_0x225519(_0x5c3fb9))throw _0x5c3fb9[_0x53ffb2(0x209)];_0x5e6c11[_0x53ffb2(0x238)](_0x351845[_0x53ffb2(0x21d)][_0x53ffb2(0x120)]),_0x2e145e[_0x53ffb2(0x238)](_0x5c3fb9[_0x53ffb2(0x21d)][_0x53ffb2(0x120)]),_0x5510f0=_0x351845['m1Prime'],_0x35cb1d=_0x5c3fb9['m1Prime'];}_0x51df55['setUndoRedoMutationParamsCache']({'undoCache':_0x5e6c11,'redoCache':_0x2e145e});}[_0x20b139(0x24c)](_0xfbccf6){const _0x4f8454=_0x20b139,{unitID:_0x39d579}=_0xfbccf6,_0x49487e=this[_0x4f8454(0x261)][_0x4f8454(0x1f8)](_0x39d579)[_0x4f8454(0xfe)](_0x446116),_0x4040ce=_0x49487e[_0x4f8454(0x15a)]();if(_0x4040ce==null)return;const _0x3b8377=[{'id':_0x4f8454(0x210),'params':{'unitId':_0xfbccf6[_0x4f8454(0x18c)],'actions':null,'textRanges':[_0x4040ce]}}],_0x55c63c=this[_0x4f8454(0xe7)][_0x4f8454(0x273)](_0xfbccf6,_0x3b8377);if(!_0x3c3130(_0x55c63c))throw _0x55c63c[_0x4f8454(0x209)];const _0xff851e=_0x55c63c[_0x4f8454(0x21d)][0x0][_0x4f8454(0x120)][_0x4f8454(0xa2)];Array[_0x4f8454(0xb8)](_0xff851e)&&_0xff851e[_0x4f8454(0x106)]&&_0x49487e[_0x4f8454(0x25f)](_0xff851e[0x0]);}};ne=tn([pe(0x0,_0x1c939e(_0x4daa5d)),pe(0x1,_0x46cdfe),pe(0x2,_0x40468d)],ne);var sn=Object[_0x20b139(0x1b2)],nn=(_0x2cd7f3,_0x1ed972,_0x5f423d,_0x262dad)=>{const _0xd5630c=_0x20b139;for(var _0x28a9dd=_0x262dad>0x1?void 0x0:_0x262dad?sn(_0x1ed972,_0x5f423d):_0x1ed972,_0x4a7cc2=_0x2cd7f3[_0xd5630c(0x106)]-0x1,_0x1cabbf;_0x4a7cc2>=0x0;_0x4a7cc2--)(_0x1cabbf=_0x2cd7f3[_0x4a7cc2])&&(_0x28a9dd=_0x1cabbf(_0x28a9dd)||_0x28a9dd);return _0x28a9dd;},Ce=(_0x1319e5,_0x5c43ae)=>(_0x56209e,_0x14ef12)=>_0x5c43ae(_0x56209e,_0x14ef12,_0x1319e5);let re=class{constructor(_0x55a954,_0x34f041,_0x2a6e43){const _0x1d0eff=_0x20b139;this[_0x1d0eff(0x252)]=_0x55a954,this[_0x1d0eff(0xe7)]=_0x34f041,this[_0x1d0eff(0x146)]=_0x2a6e43;}[_0x20b139(0x262)](_0x4ef672){const _0x2520e4=_0x20b139;this[_0x2520e4(0x1e6)](_0x4ef672);}[_0x20b139(0x13a)](_0x4e78bd){const _0x5be781=_0x20b139,{unitID:_0x373c4d}=_0x4e78bd,{collaboration:_0x12d705}=this[_0x5be781(0x146)][_0x5be781(0x1dc)](_0x373c4d);if(_0x12d705[_0x5be781(0x106)]===0x0)return _0x4e78bd;let _0x5c4802=_0x43fda4[_0x5be781(0x105)](_0x4e78bd[_0x5be781(0x195)][0x0]);for(let _0x2d7c2c=0x0;_0x2d7c2c<_0x12d705[_0x5be781(0x106)];_0x2d7c2c++){const _0x26ec68={'id':_0x5be781(0x210),'params':{'unitId':_0x12d705[_0x2d7c2c][_0x5be781(0x1ec)],..._0x12d705[_0x2d7c2c]['redoState']}},_0x2578bc=this[_0x5be781(0xe7)][_0x5be781(0x160)](_0x5c4802,_0x26ec68,!0x1);if(_0x225519(_0x2578bc))throw _0x2578bc[_0x5be781(0x209)];_0x5c4802=_0x2578bc[_0x5be781(0x167)];}return{..._0x43fda4['deepClone'](_0x4e78bd),'mutations':[_0x5c4802]};}[_0x20b139(0x1e6)](_0x4f35ab){const _0x229dda=_0x20b139,{unitID:_0x5e95d6}=_0x4f35ab,{history:_0x440ecc,collaboration:_0x580d84}=this[_0x229dda(0x146)][_0x229dda(0x1dc)](_0x5e95d6);if(_0x440ecc[_0x229dda(0x106)]===0x0&&_0x580d84[_0x229dda(0x106)]===0x0)return;const _0x16a35a=[],_0x3cd740=[];let _0x46d67c=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]),_0x302f92=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]);for(let _0x1c9891=_0x440ecc[_0x229dda(0x106)]-0x1;_0x1c9891>=0x0;_0x1c9891--){const _0x567f66={'id':_0x229dda(0x210),'params':{'unitId':_0x440ecc[_0x1c9891][_0x229dda(0x1ec)],..._0x440ecc[_0x1c9891]['undoState']}},_0x11338a={'id':_0x229dda(0x210),'params':{'unitId':_0x440ecc[_0x1c9891][_0x229dda(0x1ec)],..._0x440ecc[_0x1c9891][_0x229dda(0xf6)]}},_0x3a8aa3=this[_0x229dda(0xe7)][_0x229dda(0x160)](_0x46d67c,_0x567f66,!0x1),_0x39e697=this[_0x229dda(0xe7)]['transformMutation'](_0x302f92,_0x11338a,!0x1);if(_0x225519(_0x3a8aa3))throw _0x3a8aa3['error'];if(_0x225519(_0x39e697))throw _0x39e697[_0x229dda(0x209)];_0x16a35a[_0x229dda(0x238)]({..._0x440ecc[_0x1c9891],'undoState':_0x3a8aa3[_0x229dda(0x21d)][_0x229dda(0x120)],'redoState':_0x39e697[_0x229dda(0x21d)][_0x229dda(0x120)]}),_0x46d67c=_0x3a8aa3[_0x229dda(0x167)],_0x302f92=_0x39e697['m1Prime'];}_0x46d67c=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]),_0x302f92=_0x43fda4[_0x229dda(0x105)](_0x4f35ab[_0x229dda(0x195)][0x0]);for(let _0x450c8d=_0x580d84[_0x229dda(0x106)]-0x1;_0x450c8d>=0x0;_0x450c8d--){const _0x2d3c24={'id':_0x229dda(0x210),'params':{'unitId':_0x580d84[_0x450c8d][_0x229dda(0x1ec)],..._0x580d84[_0x450c8d][_0x229dda(0xa8)]}},_0x10879a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x580d84[_0x450c8d]['unitId'],..._0x580d84[_0x450c8d][_0x229dda(0xf6)]}},_0x4b1b24=this['_transformService'][_0x229dda(0x160)](_0x46d67c,_0x2d3c24,!0x1),_0x4246da=this[_0x229dda(0xe7)][_0x229dda(0x160)](_0x302f92,_0x10879a,!0x1);if(_0x225519(_0x4b1b24))throw _0x4b1b24[_0x229dda(0x209)];if(_0x225519(_0x4246da))throw _0x4246da[_0x229dda(0x209)];_0x3cd740[_0x229dda(0x238)]({..._0x580d84[_0x450c8d],'undoState':_0x4b1b24[_0x229dda(0x21d)][_0x229dda(0x120)],'redoState':_0x4246da[_0x229dda(0x21d)][_0x229dda(0x120)]}),_0x46d67c=_0x4b1b24[_0x229dda(0x167)],_0x302f92=_0x4246da['m1Prime'];}this[_0x229dda(0x146)][_0x229dda(0xbf)](_0x5e95d6,{'history':_0x16a35a,'collaboration':_0x3cd740});}};re=nn([Ce(0x0,_0x1c939e(_0x4daa5d)),Ce(0x1,_0x46cdfe),Ce(0x2,_0x1c939e(_0x865217))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x328f17,_0x25523a,_0x4833d2,_0x553e79)=>{for(var _0x3be0a9=_0x553e79>0x1?void 0x0:_0x553e79?rn(_0x25523a,_0x4833d2):_0x25523a,_0x457a80=_0x328f17['length']-0x1,_0xb7002;_0x457a80>=0x0;_0x457a80--)(_0xb7002=_0x328f17[_0x457a80])&&(_0x3be0a9=_0xb7002(_0x3be0a9)||_0x3be0a9);return _0x3be0a9;},tt=(_0x3f0281,_0x29431f)=>(_0x46f563,_0x3cb41c)=>_0x29431f(_0x46f563,_0x3cb41c,_0x3f0281);let oe=class{constructor(_0x1efc16,_0x31ff9a){const _0x250cbc=_0x20b139;this[_0x250cbc(0x252)]=_0x1efc16,this['_transformService']=_0x31ff9a;}[_0x20b139(0xd6)](_0x2d24c7){const _0x147eda=_0x20b139;var _0x2b3ed1;const _0x25dcde=this[_0x147eda(0x252)][_0x147eda(0x1b7)](_0x243b30),_0x4eecbb=(_0x2b3ed1=_0x25dcde[_0x147eda(0x235)]())!=null?_0x2b3ed1:[];if(_0x4eecbb[_0x147eda(0x106)]===0x0)return;const _0x4cf789=_0x2d24c7[_0x147eda(0x18c)],_0x109ebb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cf789,'actions':null,'textRanges':_0x4eecbb}}],_0xd6c9ff=this['_transformService'][_0x147eda(0x273)](_0x2d24c7,_0x109ebb);if(!_0x3c3130(_0xd6c9ff))throw _0xd6c9ff[_0x147eda(0x209)];const _0x25caab=_0xd6c9ff[_0x147eda(0x21d)][0x0][_0x147eda(0x120)][_0x147eda(0xa2)];Array[_0x147eda(0xb8)](_0x25caab)&&_0x25caab['length']&&_0x25dcde[_0x147eda(0x161)](_0x25caab,{'unitId':_0x4cf789,'subUnitId':_0x4cf789},!0x1);}};oe=on([tt(0x0,_0x1c939e(_0x4daa5d)),tt(0x1,_0x46cdfe)],oe);var an=Object[_0x20b139(0x1b2)],cn=(_0x28e936,_0x56a6f6,_0x308a3e,_0x4c9c1a)=>{const _0x52cf42=_0x20b139;for(var _0x133dae=_0x4c9c1a>0x1?void 0x0:_0x4c9c1a?an(_0x56a6f6,_0x308a3e):_0x56a6f6,_0x90bd14=_0x28e936[_0x52cf42(0x106)]-0x1,_0x5dd040;_0x90bd14>=0x0;_0x90bd14--)(_0x5dd040=_0x28e936[_0x90bd14])&&(_0x133dae=_0x5dd040(_0x133dae)||_0x133dae);return _0x133dae;},U=(_0x1c7767,_0x40651e)=>(_0x23b7af,_0x32e9f1)=>_0x40651e(_0x23b7af,_0x32e9f1,_0x1c7767);let ae=class extends _0x5a2508{constructor(_0x572b96,_0x478375,_0x16c645,_0x5269f4,_0x3e2a0d,_0x309afc,_0x38c8fc,_0x52490f){const _0x1220b1=_0x20b139;super(),_(this,_0x1220b1(0x1d6),new _0x11085f(_0x5acaa6[_0x1220b1(0xd5)])),(this['_docStateChangeManagerService']=_0x572b96,this[_0x1220b1(0x1fc)]=_0x478375,this[_0x1220b1(0xbe)]=_0x16c645,this[_0x1220b1(0x216)]=_0x5269f4,this[_0x1220b1(0x1ee)]=_0x3e2a0d,this[_0x1220b1(0x283)]=_0x309afc,this[_0x1220b1(0x99)]=_0x38c8fc,this['_localeService']=_0x52490f,this[_0x1220b1(0x129)]());}[_0x20b139(0x129)](){const _0x14ae80=_0x20b139;this[_0x14ae80(0x1f7)](this[_0x14ae80(0x1fc)][_0x14ae80(0x1b3)][_0x14ae80(0x1c8)](_0x4ba1b2=>{const _0x45a860=_0x14ae80,_0x3f5e48=this[_0x45a860(0x146)][_0x45a860(0x189)][_0x45a860(0x1c8)](_0xe009f5=>{const _0x52f944=_0x45a860;if(_0xe009f5==null)return;const {unitId:_0xc6602e,redoState:_0x4a337c,commandId:_0x18055d}=_0xe009f5;if(_0xc6602e!==_0x4ba1b2[_0x52f944(0x18c)])return;const _0x259a0e={'id':_0x18055d,'type':_0x2a14d0[_0x52f944(0xa7)],'params':{'unitId':_0xc6602e,'actions':_0x4a337c[_0x52f944(0x14f)],'textRanges':null}};_0x4ba1b2[_0x52f944(0x1ed)](_0x259a0e);});if(_0x4ba1b2[_0x45a860(0x1f7)](_0x3f5e48),_0x4ba1b2 instanceof _0x5dfab1){const _0x156286={'onTransformIME':_0x429f45=>this[_0x45a860(0xbe)][_0x45a860(0x10e)](_0x429f45),'onTransformState':_0x8afe76=>this[_0x45a860(0x216)]['transformStateCache'](_0x8afe76),'onTransformSelections':_0x171f51=>this[_0x45a860(0x1ee)]['transformSelections'](_0x171f51),'onSyncEditingCollabCursor':_0x5724cd=>this[_0x45a860(0x283)][_0x45a860(0x110)](_0x5724cd),'onTransformRemoteChangesetByIMECache':_0x52fdac=>this[_0x45a860(0xbe)][_0x45a860(0x13a)](_0x52fdac),'onTransformRemoteChangesetByStateCache':_0xff68e8=>this[_0x45a860(0x216)][_0x45a860(0x13a)](_0xff68e8)};_0x4ba1b2[_0x45a860(0x18b)](_0x156286);}}));}};ae=cn([U(0x0,_0x1c939e(_0x865217)),U(0x1,_0x1c939e(_0x51ace9)),U(0x2,_0x1c939e(ne)),U(0x3,_0x1c939e(re)),U(0x4,_0x1c939e(oe)),U(0x5,_0x1c939e(He)),U(0x6,_0x25fc68),U(0x7,_0x1c939e(_0x267399))],ae);function _0x30d7(){const _0x210d8a=['_entityInit$','getSheetId','setShapeProps','init','createInstance','path','imageSourceType','saveOfflineData','CONNECTOR_DATA_TOO_LARGE','Error','3452745empVdA','debug','subscribe','makeDirty','green.600','InsertRowCommandId','getUnitStatus$','startsWith','source','href','InsertRangeMoveDownCommandId','assignAColorForMemberID','getOwnPropertySymbols','_imageIoService','range','cursorInfo$','_status$','UNIVER_SHEET','COMPLETION_FINISHED','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','width','onStarting','getStateCache','getOffsetConfig','session.connection-failed','children','_roomMembers$','whenReady','4067452HbNmFO','Unknown\x20user','setParam','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_transformHistoryAndStateStack','currentColor','AWAITING','defs','_session','application/json','unitId','onLocalMutation','_docTransformSelectionsService','getTypeOfUnitAdded$','RemoveRowCommandId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_anchorDot','_initStatusListener','registerRenderModule','addObjects','triggerDblclick','disposeWithMe','getRenderById','_uiPartsService','HEADER_MENU','ticket','_collaborationController','extend','addObject','runOnServer','current','show','asObservable','_updateURLWithCurrentState','disposeUnit','forEach','unsubscribe','_assignedColors','off-line-single','error','getSkeleton','className','url(#on-line-single_clip0_910_349)','registerComponent','isActive','INTERNAL_ERROR','doc.mutation.rich-text-editing','UNDEFINED','defineProperty','some','saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docTransformStateCacheService','jiqing.500','idSuffix','PY_RUNTIME_SCRIPT_ERROR','_urlService','_drawAnchor','replace','m2Prime','delete','_disabled','popstate','lineTo','fillStyle','getMemberID','LICENSE_EXPORT_SIZE_EXCEEDED','apply','_univerInstanceService','bottom','_range','restore','unload','string','_initDependencies','isEditing','_hover','getParam','FromArray','onPointerEnter$','_localeService','endColumn','_scheduleSaving','getDocRanges','getMergeData','urlChange$','unshift','labelPosition','setConfig','has','getValue','_backgroundColor','split','[CollaborationDataLoaderController]','EMAIL_HAS_BEEN_BOUND','_config','subscribeEvent','tag','sheetID','_docSkeleton','name','_context','onMouseMove','clearInterval','then','_unitStatus','_transformPreviousActiveRange','getUnitId','text','onPointerMove$','mask','pluginName','_injector','getRelativeToViewportCoord','_handleEvent','_registerDependencies','collab-rect-range-','4254660lRzWuH','LICENSE_IMPORT_SIZE_EXCEEDED','focused$','getAncestorScale','_startDocCollabCursor','_getSaveTimeout','PERMISSION_DENIED','getConfig','setActiveRange','_cursors','_renderManagerService','transformStateCache','pushState','runId','_toggleOffline','black','invokeId','getActiveSheet','_textBubble','ACTIVE_UNIT_EVENT_CHANNEL','blue.400','purple.300','indexOf','...','_getMergeRange','_cachedData','_createSocketURL','_onCursorDelete','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','_dataLoaderService','_initStatusComponent','yellow.400','session.collaboration-timeout','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','_init','subunit','_drawRectRange','_notificationService','assign','getCurrent','_getSheetObject','ENSURE_SNAPSHOT_EXECUTION','_docSyncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','push','findNodePositionByCharIndex','_themeService','body','add','max','APPLY_REJECT','_revisionService','on-line-single_clip0_910_349','_ensureSubject','updateOfflineData','selection','getRangePointData','displayName','_syncEditingCollabCursorService','_logService','getUnhiddenWorksheets','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_TABLE_NOT_FOUND_IN_UNIT','#fff','_onCursorUpdate','getSheetBySheetId','_selfUnitIDs','onCommandExecuted','_messageService','uni.network.url-service','INVITE_CODE_ALREADY_BOUND','collabCursorState$','_shapes','MOBILE_HAS_BEEN_BOUND','none','936OTfHls','currentSkeleton$','textRanges','setInterval','INVITE_CODE_REQUIRED','clearTimeout','3564948uagZVB','MUTATION','undoState','USERS_LEAVE','endRow','clipPath','_getAnchorBounding','_registerRenderDependencies','DeleteRangeMoveUpCommandId','_refreshCollabCursors','toRgbString','row','startColumn','_scheduleHeartbeat','SNAPSHOT_INVALID_SNAPSHOT','fill','OFFLINE','toString','isArray','cursorInfo','column','_transformUndoRedoStack','311uswhOK','_entities','_docTransformIMECacheService','setStateCache','UNIVER_DOC','AWAITING_WITH_PENDING','post','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_httpService','unit','stringify','LOGIN_FAILED','svg','collaboration.closeRoom','APPLY_REVISION_CONFILICT','send','2318YufiFn','OTHER_CLIENTS_EDITING','_collabCursorState$','_clearOtherTimers','colorChannel1','setAlpha','subUnitId','_sheetSkeletonManagerService','contains','NOT_COLLAB','transformSelections','InsertColCommandId','createSocket','skeleton','map','_lastPointer','rgba(255,\x20255,\x20255,\x200.01)','_drawTextRange','off-line-single_clip0_910_343','_docClipboardService','defIds','getTypeOfUnitDisposed$','key','_render','_updateLocalCursor','closePath','CONFLICT','_transformService','dispose$','xlink:href','use','onPointerLeave$','size','executionId','moveTo','UPDATE_CURSOR','save','getCurrentSelections','engine','_heartbeatTimer','_localStorageService','collab-client.tooltip.reconnect','redoState','_cursorShapes','fillText','trim','INVALID_ARGUMENT','collabStatus.offline','backgroundColor','_collaborationUIEventService','with','UNRECOGNIZED','Warning','getCollabEntity$','flatMap','type','_color','deepClone','length','concat','height','roomMembers$','attrs','_name','InsertRangeMoveRightCommandId','top','transformIMECache','drawWith','syncEditingCollabCursor','_toggleOnline','status$','_hovered','RECT','all','wsSessionTicketUrl','div','_send','RemoveColCommandId','_online','_saveTaskMap','_anchor','_saveCache','translate(.97)','APPLY_NON_SEQUENTIAL_REVISION','params','getCollabCursors$','_commandService','_setupSubUnitSync','LICENSE_MAX_UNITS_EXCEEDED','_collabSessionService','prototype','hovered','getCurrentUnitForType','_initEntityListener','font','newValue','_collabCursorController','_colorAssignService','_id','next','univer-flex\x20univer-items-center','_getScale','sessionStatus$','VIEW_MAIN','sessionTicket','event$','_cursorInfo$','univer-flex\x20univer-mr-2\x20univer-text-xl','NO_OTHER_CLIENTS_EDITING','values','transformRemoteChangeset','YUUMI_UNABLE_LOAD_URL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHover','collabStatus.conflict','min','univer-text-green-500','resize','enableLocalCache','_refRangeService','_localCacheService','MoveRangeCommandId','_docStateChangeManagerService','red.300','INVITE_CODE_HAS_BEEN_UES','function','YUUMI_ASYNCIO_CANCELLED','_eventUnsubscribe','history','round','LICENSE_DISTRO_REJECTED','actions','_labelPosition','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','random','url(#$1','on-line-single','collabStatus.notCollab','YUUMI_RATE_OVER_LIMIT','_getSessionTicket','getUndoRedoMutationParamsCache','getActiveRange','replaceState','arc','onTransformChange$','_colorIndex','reconnect','transformMutation','replaceDocRanges','symbol','ALREADY_EXISTS','_scheduleClearOtherTimer','eventID','_docSkeletonManagerService','m1Prime','location','disableLocalCache','_beforeCloseService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','57715524anhznT','collaboration-client-ui.config','SYNCED','_handleLeaveEvent','_updateCollabCursors','data','session.will-retry','_document','_initResize','_removeCollabCursors','_initCommandExecutedListener','propertyIsEnumerable','requireSession','1em','searchParams','91609wPAiUX','_handleJoinEvent','_scene','SOCKET_FAILED','getFocusedUnit','Failed','complete','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverIcon','getColorFromTheme','loadOfflineData','dispose','_removeClearOtherTimer','set','docStateChange$','_initEvent','addHandlerCallback','unitID','call','YUUMI_NO_CUBOID_FOR_QUESTION','setItem','M0\x200H16V16H0z','executeCommand','currentTheme$','override','registerBeforeClose','mutations','_updateSubUnitFromURLParams','UNAUTHENTICATED','roomMembers','pipe','ranges','icon','measureText','_configService','_hideTimer','TEXT','editingUnit','evenodd','selections','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','_instanceService','permission.title','FETCH_MISS','DeleteRangeMoveLeftCommandId','hasOwnProperty','NOT_FOUND','registerRefRange','color','_unitOnClients','from','loadUnit','exhaustSavingTask','_handleHeartbeatEvent','getOwnPropertyDescriptor','entityInit$','startRow','ONLINE','SOCKET_FAILED_RETRY','get','getMember','getCurrentRevOfUnit','_memberService','APPLY_PERMISSION_DENIED'];_0x30d7=function(){return _0x210d8a;};return _0x30d7();}var ln=Object[_0x20b139(0x1b2)],_n=(_0x8854ac,_0x7165a,_0x319c23,_0x3d4fb8)=>{const _0x50d60c=_0x20b139;for(var _0x48db3c=_0x3d4fb8>0x1?void 0x0:_0x3d4fb8?ln(_0x7165a,_0x319c23):_0x7165a,_0x1ae818=_0x8854ac[_0x50d60c(0x106)]-0x1,_0x7b49b4;_0x1ae818>=0x0;_0x1ae818--)(_0x7b49b4=_0x8854ac[_0x1ae818])&&(_0x48db3c=_0x7b49b4(_0x48db3c)||_0x48db3c);return _0x48db3c;},Ee=(_0x258e9c,_0x5f0132)=>(_0x1890dd,_0x2333c8)=>_0x5f0132(_0x1890dd,_0x2333c8,_0x258e9c);let we=class extends _0x5a2508{constructor(_0x419122,_0x299874,_0x4a7f2e){const _0x55e363=_0x20b139;super(),_(this,_0x55e363(0x270),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x55e363(0x21f),!0x1),(this['_configService']=_0x419122,this[_0x55e363(0xf4)]=_0x299874,this[_0x55e363(0x28c)]=_0x4a7f2e);}[_0x20b139(0x169)](){const _0x111e23=_0x20b139;this[_0x111e23(0x21f)]=!0x0;}[_0x20b139(0x142)](){const _0x5d45b7=_0x20b139;this[_0x5d45b7(0x21f)]=!0x1;}get[_0x20b139(0x214)](){const _0x94cfe4=_0x20b139;return this[_0x94cfe4(0x11b)];}[_0x20b139(0x186)](){const _0x1e596a=_0x20b139;this[_0x1e596a(0x1b0)]()[_0x1e596a(0x24a)](()=>super[_0x1e596a(0x186)]());}async[_0x20b139(0x185)](_0x4e5836){const _0x2e569b=_0x20b139;return this[_0x2e569b(0x21f)]?null:this[_0x2e569b(0xf4)]['getItem'](_0x561f22(_0x4e5836));}async[_0x20b139(0x1c3)](_0x463631,_0x5ed70f){const _0xb33990=_0x20b139;return!!this[_0xb33990(0xf4)][_0xb33990(0x18f)](_0x463631,_0x5ed70f);}[_0x20b139(0x28f)](_0x5147f9,_0x418c39,_0x49f174,_0x1dc108){const _0x130520=_0x20b139,_0x2342e4=this[_0x130520(0x28c)][_0x130520(0x1b9)](_0x5147f9);this[_0x130520(0x270)]['set'](_0x5147f9,{'unitID':_0x5147f9,'type':_0x418c39,'awaitingChangeset':_0x49f174,'mutations':_0x1dc108,'rev':_0x2342e4}),this[_0x130520(0x11b)]['has'](_0x5147f9)||this[_0x130520(0x234)](_0x5147f9);}[_0x20b139(0x234)](_0x338f78){const _0x37440d=_0x20b139,_0x237048=this[_0x37440d(0x25c)]();_0x237048===0x0?this[_0x37440d(0x11d)](_0x338f78):this[_0x37440d(0x11b)]['set'](_0x338f78,setTimeout(()=>this[_0x37440d(0x11d)](_0x338f78),_0x237048));}[_0x20b139(0x25c)](){const _0x35a859=_0x20b139;var _0x4660c8;return(_0x4660c8=this[_0x35a859(0x19d)]['getConfig'](_0x126106))!=null?_0x4660c8:_0x3b56b5;}[_0x20b139(0x11d)](_0x26a371){const _0x593a5c=_0x20b139,_0x3db27a=this[_0x593a5c(0x11b)][_0x593a5c(0x1b7)](_0x26a371);return _0x3db27a!==void 0x0&&window[_0x593a5c(0xa5)](_0x3db27a),this['_localStorageService'][_0x593a5c(0x18f)](_0x561f22(_0x26a371),this[_0x593a5c(0x270)][_0x593a5c(0x1b7)](_0x26a371))[_0x593a5c(0x24a)](()=>this['_saveTaskMap'][_0x593a5c(0x21e)](_0x26a371));}async[_0x20b139(0x1b0)](){const _0x240d7c=_0x20b139,_0x580eae=[];this['_saveTaskMap'][_0x240d7c(0x205)]((_0x209199,_0x228ba2)=>{const _0x11965c=_0x240d7c;window[_0x11965c(0xa5)](_0x209199),_0x580eae['push'](this[_0x11965c(0x11d)](_0x228ba2)[_0x11965c(0x24a)](()=>{const _0x2cad48=_0x11965c;this[_0x2cad48(0x11b)][_0x2cad48(0x21e)](_0x228ba2);}));}),await Promise[_0x240d7c(0x115)](_0x580eae);}};we=_n([Ee(0x0,_0xa45751),Ee(0x1,_0x210c61),Ee(0x2,_0x1c939e(_0x2ba716))],we);class hn extends _0x4b656f{constructor(){const _0x540a25=_0x20b139;super(),_(this,_0x540a25(0x237)),this[_0x540a25(0x237)]=_0xbcf92(window,_0x540a25(0x220))[_0x540a25(0x199)](_0xf25cf2(this['dispose$']),_0x3281e3(0x1),_0x39f3db(void 0x0));}[_0x20b139(0x1e4)](_0x1b0a9a,_0x541251,_0x29703f=!0x1){const _0x3cfa7f=_0x20b139,_0x44a864=new URL(window[_0x3cfa7f(0x168)][_0x3cfa7f(0x1cf)]);_0x44a864[_0x3cfa7f(0x17a)][_0x3cfa7f(0x188)](_0x1b0a9a,_0x541251),_0x29703f?window[_0x3cfa7f(0x14c)]['replaceState']('','',_0x44a864[_0x3cfa7f(0xb7)]()):window[_0x3cfa7f(0x14c)][_0x3cfa7f(0x263)]('','',_0x44a864[_0x3cfa7f(0xb7)]());}['removeParam'](_0x18ff1d,_0x427769=!0x1){const _0x1841c6=_0x20b139,_0x151578=new URL(window[_0x1841c6(0x168)]['href']);_0x151578[_0x1841c6(0x17a)]['delete'](_0x18ff1d),_0x427769?window[_0x1841c6(0x14c)][_0x1841c6(0x15b)]('','',_0x151578[_0x1841c6(0xb7)]()):window[_0x1841c6(0x14c)]['pushState']('','',_0x151578[_0x1841c6(0xb7)]());}[_0x20b139(0x22f)](_0x42de7d){const _0x4ef72b=_0x20b139;var _0x362fd9;return(_0x362fd9=new URL(window['location'][_0x4ef72b(0x1cf)])[_0x4ef72b(0x17a)][_0x4ef72b(0x1b7)](_0x42de7d))!=null?_0x362fd9:void 0x0;}}var un=Object[_0x20b139(0x212)],dn=Object[_0x20b139(0x1b2)],fn=(_0x32d0c0,_0x14387b,_0x14b87e)=>_0x14387b in _0x32d0c0?un(_0x32d0c0,_0x14387b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14b87e}):_0x32d0c0[_0x14387b]=_0x14b87e,Sn=(_0x5eb9f9,_0x26026c,_0x3ec6cb,_0x3b631f)=>{const _0x5433c3=_0x20b139;for(var _0x3d5ceb=_0x3b631f>0x1?void 0x0:_0x3b631f?dn(_0x26026c,_0x3ec6cb):_0x26026c,_0x2a05eb=_0x5eb9f9[_0x5433c3(0x106)]-0x1,_0x357016;_0x2a05eb>=0x0;_0x2a05eb--)(_0x357016=_0x5eb9f9[_0x2a05eb])&&(_0x3d5ceb=_0x357016(_0x3d5ceb)||_0x3d5ceb);return _0x3d5ceb;},Oe=(_0x146ae9,_0x1416f5)=>(_0x3f33c2,_0x1dcf4b)=>_0x1416f5(_0x3f33c2,_0x1dcf4b,_0x146ae9),mn=(_0xa95713,_0x44afdd,_0x25742a)=>fn(_0xa95713,_0x44afdd+'',_0x25742a);const gn=_0x20b139(0x1e5);let Ae=class extends _0x23b7c3{constructor(_0x404b36=et,_0x80d3b7,_0x19470a,_0x5279dd){const _0x4e0861=_0x20b139;super(),this['_config']=_0x404b36,this[_0x4e0861(0x261)]=_0x80d3b7,this[_0x4e0861(0x252)]=_0x19470a,this[_0x4e0861(0x19d)]=_0x5279dd;const {..._0x50fa94}=_0x33c406({},et,this[_0x4e0861(0x241)]);this[_0x4e0861(0x19d)][_0x4e0861(0x23a)](Zi,_0x50fa94);}[_0x20b139(0x1db)](){const _0x557324=_0x20b139;this[_0x557324(0x255)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x20b139(0x255)](){const _0x10fd75=_0x20b139;var _0x1d1727;const _0x28d3c0=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1daee3,{'useClass':_0x348d3f}],[_0x523410,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1b9e6a(this[_0x10fd75(0x252)],_0x3baab2(_0x28d3c0,(_0x1d1727=this[_0x10fd75(0x241)])==null?void 0x0:_0x1d1727[_0x10fd75(0x193)]));}[_0x20b139(0xad)](){const _0x3746ae=_0x20b139;this[_0x3746ae(0x1f7)](this[_0x3746ae(0x261)]['registerRenderModule'](_0x32fc71['UNIVER_DOC'],[Pe])),this[_0x3746ae(0x1f7)](this[_0x3746ae(0x261)][_0x3746ae(0x1f4)](_0x32fc71[_0x3746ae(0x1d7)],[Le]));}[_0x20b139(0x22c)](){_0xa3ab0(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x20b139(0x251),gn),Ae=Sn([_0x8de594(_0xcb9af3),Oe(0x1,_0x40468d),Oe(0x2,_0x1c939e(_0x4daa5d)),Oe(0x3,_0xa45751)],Ae);var In=Object[_0x20b139(0x1b2)],vn=(_0x4a48a4,_0x51401c,_0x41455e,_0x205df9)=>{const _0x36e588=_0x20b139;for(var _0x27ed61=_0x205df9>0x1?void 0x0:_0x205df9?In(_0x51401c,_0x41455e):_0x51401c,_0x1e733b=_0x4a48a4[_0x36e588(0x106)]-0x1,_0x1c4c10;_0x1e733b>=0x0;_0x1e733b--)(_0x1c4c10=_0x4a48a4[_0x1e733b])&&(_0x27ed61=_0x1c4c10(_0x27ed61)||_0x27ed61);return _0x27ed61;},K=(_0x4775e5,_0x1a5e6b)=>(_0x232ae6,_0x5baed2)=>_0x1a5e6b(_0x232ae6,_0x5baed2,_0x4775e5);let st=class extends _0x3d362a{constructor(_0x35caa4,_0x146f9f,_0x2de259,_0x455a8a,_0x2e51d9){super(_0x35caa4,_0x146f9f,_0x2de259,_0x455a8a,_0x2e51d9);}async[_0x20b139(0xd8)](_0x2c1bfe){const _0x10a2a0=_0x20b139,_0x1e7e3e=await this[_0x10a2a0(0x158)](),_0x31daab=this[_0x10a2a0(0x271)](_0x2c1bfe,_0x1e7e3e);return this['_doCreateSocket'](_0x31daab);}[_0x20b139(0x271)](_0x4bd7a8,_0x31e59c){const _0x372741=_0x20b139,_0x371a99=typeof window>'u'?new URL(_0x4bd7a8):new URL(_0x4bd7a8,window[_0x372741(0x168)]['origin']);_0x371a99[_0x372741(0x17a)][_0x372741(0x188)](_0x372741(0x134),_0x31e59c);const _0x38e54b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x372741(0x168)]['search']);return _0x38e54b['get'](_0x372741(0x264))&&_0x371a99['searchParams'][_0x372741(0x188)](_0x372741(0x264),_0x38e54b[_0x372741(0x1b7)](_0x372741(0x264))),_0x371a99[_0x372741(0xb7)]();}async[_0x20b139(0x158)](){const _0x16675b=_0x20b139;var _0x29f66b,_0x3da738,_0x2b8a2d;const _0xfc10ef=this['_configService']['getConfig'](_0x387f67),_0x127764=(_0x29f66b=_0xfc10ef==null?void 0x0:_0xfc10ef[_0x16675b(0x116)])!=null?_0x29f66b:_0xfaae5d;return(_0x2b8a2d=(_0x3da738=(await this[_0x16675b(0xc4)][_0x16675b(0x1b7)](_0x127764,{'headers':{'Content-Type':_0x16675b(0x1eb)}}))[_0x16675b(0x288)])==null?void 0x0:_0x3da738[_0x16675b(0x1fb)])!=null?_0x2b8a2d:'';}};st=vn([K(0x0,_0x1c939e(_0x4daa5d)),K(0x1,_0x1c939e(_0x125174)),K(0x2,_0xa45751),K(0x3,_0x2fbb6e),K(0x4,_0x529d3d)],st);const it=0x7530,nt=_0x20b139(0x26a);class jn extends _0x5a2508{constructor(){const _0x11e622=_0x20b139;super(),_(this,_0x11e622(0x12e),_0x5aaced()),_(this,'_selfUnitIDs',new Set()),_(this,_0x11e622(0x1ad),new Map()),_(this,_0x11e622(0xf3),null),_(this,_0x11e622(0xcf),new Map()),_(this,_0x11e622(0x24b),new Map()),this[_0x11e622(0x27b)]();}[_0x20b139(0x186)](){const _0x505545=_0x20b139;super[_0x505545(0x186)](),this[_0x505545(0xcf)][_0x505545(0x205)]((_0x19cc0f,_0x219432)=>this['_removeClearOtherTimer'](_0x219432)),this['_heartbeatTimer']&&window[_0x505545(0x249)](this[_0x505545(0xf3)]);}[_0x20b139(0x1cc)](_0x51f8a0){const _0x18b343=_0x20b139;return this[_0x18b343(0x28e)](_0x51f8a0)['pipe'](_0x1c85aa());}[_0x20b139(0x1a0)](_0x5cc129){const _0x371e03=_0x20b139;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x371e03(0x29b)][_0x371e03(0x289)](_0x5cc129),this['_send']({'type':0x0,'memberID':this[_0x371e03(0x12e)],'unitIDs':[_0x5cc129],'isForwarded':!0x1});}[_0x20b139(0x204)](_0x5d0970){const _0x481962=_0x20b139;this[_0x481962(0x29b)][_0x481962(0x21e)](_0x5d0970),this[_0x481962(0x29b)][_0x481962(0xec)]===0x0&&this[_0x481962(0xf3)]&&window[_0x481962(0x249)](this[_0x481962(0xf3)]);}['_init'](){const _0xcf7404=_0x20b139;this[_0xcf7404(0x1f7)](_0x3f9328(_0xbcf92(window,'storage')['subscribe'](_0x3b581c=>{const _0x37b10f=_0xcf7404;if(_0x3b581c[_0x37b10f(0xe2)]!==nt||!_0x3b581c[_0x37b10f(0x12b)])return;const _0x1d2671=JSON['parse'](_0x3b581c['newValue']);this['_handleEvent'](_0x1d2671);}))),window[_0xcf7404(0x151)](_0xcf7404(0x22a),()=>this['_send']({'type':0x1,'memberID':this[_0xcf7404(0x12e)],'unitIDs':Array[_0xcf7404(0x1ae)](this[_0xcf7404(0x29b)])}));}[_0x20b139(0x254)](_0x20dcef){const _0x4d6f8c=_0x20b139;switch(_0x20dcef[_0x4d6f8c(0x103)]){case 0x0:this[_0x4d6f8c(0x17c)](_0x20dcef);break;case 0x1:this['_handleLeaveEvent'](_0x20dcef);break;case 0x2:this[_0x4d6f8c(0x1b1)](_0x20dcef);break;}}[_0x20b139(0x17c)](_0x3e1d05){const _0x2b739d=_0x20b139,{unitIDs:_0x532b98,memberID:_0x404775,isForwarded:_0x2a92d6}=_0x3e1d05;_0x532b98[_0x2b739d(0x205)](_0x1fbd9d=>{const _0x567ee0=_0x2b739d;if(!_0x2a92d6&&this[_0x567ee0(0x1ad)][_0x567ee0(0x23b)](_0x1fbd9d)&&this[_0x567ee0(0x28e)](_0x1fbd9d)['next'](_0x192e86[_0x567ee0(0xcd)]),!this[_0x567ee0(0x1ad)][_0x567ee0(0x23b)](_0x1fbd9d)||!this['_unitOnClients'][_0x567ee0(0x1b7)](_0x1fbd9d)[_0x567ee0(0x23b)](_0x404775)){const _0x426ed2=this[_0x567ee0(0x1ad)][_0x567ee0(0x1b7)](_0x1fbd9d)||new Set();_0x426ed2[_0x567ee0(0x289)](_0x404775),this[_0x567ee0(0x1ad)][_0x567ee0(0x188)](_0x1fbd9d,_0x426ed2),this[_0x567ee0(0x164)](_0x404775);}}),_0x2a92d6||this[_0x2b739d(0x118)]({'type':0x0,'memberID':this[_0x2b739d(0x12e)],'unitIDs':[...this[_0x2b739d(0x29b)]],'isForwarded':!0x0});}[_0x20b139(0x164)](_0x317a53){const _0x48d5e5=_0x20b139;this[_0x48d5e5(0x187)](_0x317a53);const _0x1fb670=window['setTimeout'](()=>{const _0x241653=_0x48d5e5;this[_0x241653(0x1ad)]['forEach'](_0x271506=>{_0x271506['delete'](_0x317a53);});},it*0x2);this[_0x48d5e5(0xcf)][_0x48d5e5(0x188)](_0x317a53,_0x1fb670);}[_0x20b139(0x187)](_0x12ae01){const _0x369a2e=_0x20b139;if(this['_clearOtherTimers'][_0x369a2e(0x23b)](_0x12ae01)){const _0x59fa95=this[_0x369a2e(0xcf)][_0x369a2e(0x1b7)](_0x12ae01);_0x59fa95&&window['clearTimeout'](_0x59fa95),this[_0x369a2e(0xcf)]['set'](_0x12ae01,null);}}[_0x20b139(0x16f)](_0x508c1d){const _0x42313b=_0x20b139,{memberID:_0x5f4e7f,unitIDs:_0x1ed295}=_0x508c1d;_0x1ed295[_0x42313b(0x205)](_0xa7ab2c=>{const _0x1f59b8=_0x42313b;var _0x204fcb;const _0x531e0a=this['_unitOnClients'][_0x1f59b8(0x1b7)](_0xa7ab2c);_0x531e0a&&(_0x531e0a['delete'](_0x5f4e7f),(_0x204fcb=this[_0x1f59b8(0x28e)](_0xa7ab2c))==null||_0x204fcb['next'](_0x531e0a[_0x1f59b8(0xec)]===0x0?_0x192e86['NO_OTHER_CLIENTS_EDITING']:_0x192e86[_0x1f59b8(0xcd)]));}),this[_0x42313b(0x187)](_0x5f4e7f);}[_0x20b139(0x1b1)](_0x25843b){this['_scheduleClearOtherTimer'](_0x25843b['memberID']);}[_0x20b139(0x118)](_0x4be85a){const _0x2c7945=_0x20b139;localStorage[_0x2c7945(0x18f)](nt,JSON[_0x2c7945(0xc6)](_0x4be85a));}[_0x20b139(0xb3)](){const _0x2afc74=_0x20b139;this[_0x2afc74(0xf3)]=window[_0x2afc74(0xa3)](()=>{const _0x47ce7d=_0x2afc74;this[_0x47ce7d(0x118)]({'type':0x2,'memberID':this[_0x47ce7d(0x12e)]});},it);}['_ensureSubject'](_0x22ccf0){const _0xc4c957=_0x20b139;return this[_0xc4c957(0x24b)][_0xc4c957(0x23b)](_0x22ccf0)||this[_0xc4c957(0x24b)][_0xc4c957(0x188)](_0x22ccf0,new _0x11085f(_0x192e86[_0xc4c957(0x138)])),this[_0xc4c957(0x24b)]['get'](_0x22ccf0);}}var Mt=(_0x36c8c8=>(_0x36c8c8[_0x36c8c8[_0x20b139(0x211)]=0x0]=_0x20b139(0x211),_0x36c8c8[_0x36c8c8['OK']=0x1]='OK',_0x36c8c8[_0x36c8c8[_0x20b139(0x20f)]=0x2]='INTERNAL_ERROR',_0x36c8c8[_0x36c8c8[_0x20b139(0x25d)]=0x3]=_0x20b139(0x25d),_0x36c8c8[_0x36c8c8[_0x20b139(0x1aa)]=0x4]=_0x20b139(0x1aa),_0x36c8c8[_0x36c8c8[_0x20b139(0x197)]=0x5]='UNAUTHENTICATED',_0x36c8c8[_0x36c8c8[_0x20b139(0x163)]=0x6]=_0x20b139(0x163),_0x36c8c8[_0x36c8c8['INVALID_ARGUMENT']=0x7]=_0x20b139(0xfa),_0x36c8c8[_0x36c8c8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x36c8c8[_0x36c8c8[_0x20b139(0x1d8)]=0x9]='COMPLETION_FINISHED',_0x36c8c8[_0x36c8c8[_0x20b139(0xc7)]=0xa]='LOGIN_FAILED',_0x36c8c8[_0x36c8c8[_0x20b139(0x274)]=0x1389]=_0x20b139(0x274),_0x36c8c8[_0x36c8c8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x20b139(0xb4),_0x36c8c8[_0x36c8c8[_0x20b139(0x284)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36c8c8[_0x36c8c8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x20b139(0x282),_0x36c8c8[_0x36c8c8[_0x20b139(0x28b)]=0x1b59]='APPLY_REJECT',_0x36c8c8[_0x36c8c8[_0x20b139(0x11f)]=0x1b5a]=_0x20b139(0x11f),_0x36c8c8[_0x36c8c8[_0x20b139(0xca)]=0x1b5b]=_0x20b139(0xca),_0x36c8c8[_0x36c8c8[_0x20b139(0x1bb)]=0x1b5c]=_0x20b139(0x1bb),_0x36c8c8[_0x36c8c8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x36c8c8[_0x36c8c8[_0x20b139(0x1c4)]=0x1f41]=_0x20b139(0x1c4),_0x36c8c8[_0x36c8c8[_0x20b139(0x124)]=0x2329]=_0x20b139(0x124),_0x36c8c8[_0x36c8c8[_0x20b139(0x215)]=0x232a]=_0x20b139(0x215),_0x36c8c8[_0x36c8c8[_0x20b139(0x258)]=0x232b]=_0x20b139(0x258),_0x36c8c8[_0x36c8c8[_0x20b139(0x224)]=0x232c]=_0x20b139(0x224),_0x36c8c8[_0x36c8c8[_0x20b139(0x14e)]=0x232d]=_0x20b139(0x14e),_0x36c8c8[_0x36c8c8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x20b139(0x13b),_0x36c8c8[_0x36c8c8[_0x20b139(0x152)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36c8c8[_0x36c8c8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x20b139(0x157),_0x36c8c8[_0x36c8c8[_0x20b139(0x182)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x36c8c8[_0x36c8c8[_0x20b139(0x18e)]=0x271a]=_0x20b139(0x18e),_0x36c8c8[_0x36c8c8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x20b139(0x14a),_0x36c8c8[_0x36c8c8[_0x20b139(0x297)]=0x271c]=_0x20b139(0x297),_0x36c8c8[_0x36c8c8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x36c8c8[_0x36c8c8[_0x20b139(0x13c)]=0x271e]=_0x20b139(0x13c),_0x36c8c8[_0x36c8c8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x36c8c8[_0x36c8c8[_0x20b139(0x219)]=0x2af9]=_0x20b139(0x219),_0x36c8c8[_0x36c8c8[_0x20b139(0x148)]=0x2ee1]=_0x20b139(0x148),_0x36c8c8[_0x36c8c8[_0x20b139(0x1a4)]=0x2ee2]=_0x20b139(0x1a4),_0x36c8c8[_0x36c8c8[_0x20b139(0xa4)]=0x2ee3]=_0x20b139(0xa4),_0x36c8c8[_0x36c8c8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x36c8c8[_0x36c8c8[_0x20b139(0x9b)]=0x2ee5]=_0x20b139(0x9b),_0x36c8c8[_0x36c8c8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36c8c8[_0x36c8c8[_0x20b139(0x9e)]=0x32ca]=_0x20b139(0x9e),_0x36c8c8[_0x36c8c8[_0x20b139(0x240)]=0x32cb]=_0x20b139(0x240),_0x36c8c8[_0x36c8c8[_0x20b139(0xff)]=-0x1]=_0x20b139(0xff),_0x36c8c8))(Mt||{}),pn=Object[_0x20b139(0x1b2)],Cn=(_0x350fec,_0x42bb99,_0x26dde8,_0x374c15)=>{for(var _0x4c2144=_0x374c15>0x1?void 0x0:_0x374c15?pn(_0x42bb99,_0x26dde8):_0x42bb99,_0x45da43=_0x350fec['length']-0x1,_0x408689;_0x45da43>=0x0;_0x45da43--)(_0x408689=_0x350fec[_0x45da43])&&(_0x4c2144=_0x408689(_0x4c2144)||_0x4c2144);return _0x4c2144;},be=(_0x2233ab,_0xce5bba)=>(_0x3c31de,_0x3613f5)=>_0xce5bba(_0x3c31de,_0x3613f5,_0x2233ab);let rt=class extends _0x5a2508{constructor(_0x52a6e4,_0x4b313a,_0x14406e){const _0x1ec52d=_0x20b139;super(),this['_instanceService']=_0x52a6e4,this[_0x1ec52d(0xc4)]=_0x4b313a,this[_0x1ec52d(0x19d)]=_0x14406e;}async[_0x20b139(0x1ff)](_0x339b4d,_0x7be48e,_0x1ff7f2,..._0x3d0f3c){const _0x3969ef=_0x20b139;var _0x453e4e,_0xf41c67,_0x486f0f,_0xf49fe5;const _0x38884d=this[_0x3969ef(0x1a5)][_0x3969ef(0x17f)]();if(!_0x38884d)throw new Error(_0x3969ef(0x16b));const _0x2da73c=((_0x453e4e=this[_0x3969ef(0x19d)][_0x3969ef(0x25e)](_0x41931d))!=null?_0x453e4e:_0x5566a5)+'/'+_0x339b4d+'/run/'+_0x7be48e,_0x156ae0=new URL(window['location'][_0x3969ef(0x1cf)]),_0x143194={'scriptId':_0x339b4d,'runId':(_0xf41c67=_0x156ae0[_0x3969ef(0x17a)][_0x3969ef(0x1b7)](_0x3969ef(0x264)))!=null?_0xf41c67:'','function':_0x7be48e,'unitId':_0x38884d['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3d0f3c),'invokeId':(_0x486f0f=_0x1ff7f2[_0x3969ef(0x267)])!=null?_0x486f0f:'','executionId':(_0xf49fe5=_0x1ff7f2[_0x3969ef(0xed)])!=null?_0xf49fe5:''};try{const _0x122494=await this['_httpService'][_0x3969ef(0xc2)](_0x2da73c,{'body':_0x143194});return _0x122494[_0x3969ef(0x288)][_0x3969ef(0x209)]&&_0x122494[_0x3969ef(0x288)][_0x3969ef(0x209)]['code']!==Mt['OK']?_0x3969ef(0x180):_0x122494[_0x3969ef(0x288)]['result'];}catch{return _0x3969ef(0x180);}}};rt=Cn([be(0x0,_0x2f34d9),be(0x1,_0x1c939e(_0x125174)),be(0x2,_0xa45751)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c5e74=_0x11d1;(function(_0x32bbe9,_0x11fa08){const _0x1d7de8=_0x11d1,_0x26f559=_0x32bbe9();while(!![]){try{const _0x9f0861=-parseInt(_0x1d7de8(0x1e5))/0x1+parseInt(_0x1d7de8(0x1ed))/0x2*(-parseInt(_0x1d7de8(0x1ee))/0x3)+parseInt(_0x1d7de8(0x1f8))/0x4*(parseInt(_0x1d7de8(0x1f1))/0x5)+-parseInt(_0x1d7de8(0x1ef))/0x6+-parseInt(_0x1d7de8(0x1e9))/0x7*(parseInt(_0x1d7de8(0x1eb))/0x8)+parseInt(_0x1d7de8(0x1f7))/0x9+parseInt(_0x1d7de8(0x1f2))/0xa;if(_0x9f0861===_0x11fa08)break;else _0x26f559['push'](_0x26f559['shift']());}catch(_0xbf268){_0x26f559['push'](_0x26f559['shift']());}}}(_0x1264,0x87694));function _0x11d1(_0x42143a,_0xfb9e69){const _0x12643e=_0x1264();return _0x11d1=function(_0x11d166,_0x224e97){_0x11d166=_0x11d166-0x1e3;let _0x35679b=_0x12643e[_0x11d166];return _0x35679b;},_0x11d1(_0x42143a,_0xfb9e69);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2c5e74(0x1e3),'conflict':_0x2c5e74(0x1f5),'notCollab':_0x2c5e74(0x1e8),'synced':_0x2c5e74(0x1ec),'syncing':_0x2c5e74(0x1ea),'offline':_0x2c5e74(0x1e4)},'session':{'connection-failed':_0x2c5e74(0x1f0),'will-retry':_0x2c5e74(0x1f6),'room-full':_0x2c5e74(0x1f4),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2c5e74(0x1f3),'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':_0x2c5e74(0x1e6)},'closeRoom':_0x2c5e74(0x1e7)},'auth':{'needGotoLoginAlert':_0x2c5e74(0x1f9)}};export{e as default};function _0x1264(){const _0x240de6=['8EFpeOe','Synced','150648nwbhhL','6kwUcpd','4318056mJmUTo','Connection\x20failed,\x20please\x20check\x20your\x20network.','1608155fkFsxe','19529660oeVILi','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1783755TfIiNg','4oSvFCv','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','65181adKqyZ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','6878501YBgaUA','Syncing...'];_0x1264=function(){return _0x240de6;};return _0x1264();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e55d7=_0x5426;(function(_0x377914,_0x29b51c){const _0x3d3863=_0x5426,_0x12d7eb=_0x377914();while(!![]){try{const _0x2e3487=-parseInt(_0x3d3863(0x1ff))/0x1+-parseInt(_0x3d3863(0x1f0))/0x2*(-parseInt(_0x3d3863(0x1f7))/0x3)+parseInt(_0x3d3863(0x1e9))/0x4*(parseInt(_0x3d3863(0x1fe))/0x5)+-parseInt(_0x3d3863(0x1f3))/0x6+parseInt(_0x3d3863(0x1ef))/0x7*(parseInt(_0x3d3863(0x1f8))/0x8)+-parseInt(_0x3d3863(0x1f5))/0x9+parseInt(_0x3d3863(0x1fb))/0xa*(parseInt(_0x3d3863(0x1fd))/0xb);if(_0x2e3487===_0x29b51c)break;else _0x12d7eb['push'](_0x12d7eb['shift']());}catch(_0x157e08){_0x12d7eb['push'](_0x12d7eb['shift']());}}}(_0x382f,0x6fb2d));function _0x5426(_0x363ec2,_0x19f1cf){const _0x382f3b=_0x382f();return _0x5426=function(_0x5426e4,_0x183e86){_0x5426e4=_0x5426e4-0x1e8;let _0x2989a5=_0x382f3b[_0x5426e4];return _0x2989a5;},_0x5426(_0x363ec2,_0x19f1cf);}const o={'collab-client':{'tooltip':{'reconnect':_0x4e55d7(0x1ee)}},'collabStatus':{'fetchMiss':_0x4e55d7(0x1fa),'conflict':_0x4e55d7(0x1ec),'notCollab':_0x4e55d7(0x1f2),'synced':_0x4e55d7(0x1e8),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x4e55d7(0x1eb),'room-full':_0x4e55d7(0x1ed),'collaboration-timeout':_0x4e55d7(0x1ea)},'conflict':{'title':_0x4e55d7(0x200),'content':_0x4e55d7(0x1f9)},'permission':{'title':_0x4e55d7(0x1f6),'content':_0x4e55d7(0x1fc)},'collaboration':{'single-unit':{'warning':_0x4e55d7(0x1f1)},'closeRoom':_0x4e55d7(0x1f4)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x382f(){const _0x3e1239=['215727sGZsnU','56VmgkXb','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','10zoNfXQ','اعمال\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رفت.','5029618KUKPma','34315NDatWC','858237qwTuoC','تداخل\x20همکاری','همگام\x20سازی','96zWNJGM','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','725158QWLyor','16glQipW','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','3235656WJPfnD','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','606150sBxsbR','خطای\x20اعتبارسنجی'];_0x382f=function(){return _0x3e1239;};return _0x382f();}export{o as default};
|