@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506011606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x17c635=_0x13d3;(function(_0x106a7d,_0x53fb8a){const _0x62dbce=_0x13d3,_0x43b987=_0x106a7d();while(!![]){try{const _0x54ad84=-parseInt(_0x62dbce(0x37d))/0x1*(parseInt(_0x62dbce(0x2be))/0x2)+-parseInt(_0x62dbce(0x317))/0x3+-parseInt(_0x62dbce(0x255))/0x4*(parseInt(_0x62dbce(0x29e))/0x5)+parseInt(_0x62dbce(0x211))/0x6+parseInt(_0x62dbce(0x1d5))/0x7+parseInt(_0x62dbce(0x28d))/0x8*(-parseInt(_0x62dbce(0x1da))/0x9)+parseInt(_0x62dbce(0x3a5))/0xa*(parseInt(_0x62dbce(0x289))/0xb);if(_0x54ad84===_0x53fb8a)break;else _0x43b987['push'](_0x43b987['shift']());}catch(_0x5436b6){_0x43b987['push'](_0x43b987['shift']());}}}(_0xf6ea,0x7841f));var $t=Object[_0x17c635(0x1eb)],xt=(_0x298c84,_0x541d5e,_0x4387da)=>_0x541d5e in _0x298c84?$t(_0x298c84,_0x541d5e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4387da}):_0x298c84[_0x541d5e]=_0x4387da,_=(_0x35f2b6,_0x38df3a,_0x55d60c)=>xt(_0x35f2b6,typeof _0x38df3a!=_0x17c635(0x201)?_0x38df3a+'':_0x38df3a,_0x55d60c);import{MemberService as _0x4b94cb,SessionStatus as _0x2cb63d,CollaborationSessionService as _0x4a7bfc,CollaborationStatus as _0x2affd3,CollaborationController as _0x5b2169,ILocalCacheService as _0x12eac7,CollaborationUIEventService as _0x217d1b,CollaborationUIEventId as _0x23a4aa,DataLoaderService as _0x18d58b,DocCollaborationEntity as _0x42cc67,getLocalCacheKey as _0x156a39,LOCAL_CACHE_INTERVAL as _0x5c0d86,LOCAL_CACHE_INTERVAL_KEY as _0x50ed5c,UniverCollaborationClientPlugin as _0x47ab9c,CollaborationSocketService as _0x12974d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x50dc20,DEFAULT_WS_SESSION_TICKET_URL as _0x578348,UnitStatus as _0x3fb639,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x46c57d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4cfb8a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c44e6,Disposable as _0x629666,DOC_RANGE_TYPE as _0x3e5bba,Inject as _0x2eb397,Injector as _0x597056,IUniverInstanceService as _0x26b67a,ICommandService as _0x35ee2f,debounce as _0x27ab95,Rectangle as _0x428eba,DisposableCollection as _0x5daaad,toDisposable as _0x36e603,UniverInstanceType as _0x2c47d7,Tools as _0x450a88,COLORS as _0x2a2dbf,ColorKit as _0x4cbba2,ThemeService as _0x4ffddf,fromEventSubject as _0x12d0fe,LocaleService as _0x1123b3,createIdentifier as _0x284797,ILogService as _0xaeedb1,Optional as _0x481c91,Workbook as _0x9a8bc3,CommandType as _0x19fa75,IConfigService as _0xe650f0,ILocalStorageService as _0x4a6020,DependentOn as _0x140f68,Plugin as _0x35f057,merge as _0xb34657,registerDependencies as _0x151c2d,mergeOverrideWithDependencies as _0x36bd2d,touchDependencies as _0x4aedff,generateRandomId as _0x3c905e}from'@univerjs/core';import{Shape as _0x15bb4e,Rect as _0x507dd3,getColor as _0x30d8ae,RegularPolygon as _0x2da338,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2835bd,Vector2 as _0x4e7430,SHEET_VIEWPORT_KEY as _0xd886c9,IRenderManagerService as _0x5c59f7}from'@univerjs/engine-render';import{ISocketService as _0x100a88,WebSocketService as _0x19b7b1,HTTPService as _0x3a430c}from'@univerjs/network';import{IDocClipboardService as _0x1d7ec4,NodePositionConvertToCursor as _0xa81833,NodePositionConvertToRectRange as _0x1b3357,TEXT_RANGE_LAYER_INDEX as _0x35b4cc,SetDocZoomRatioOperation as _0x19901a,DocIMEInputManagerService as _0x7411a1,DocStateChangeManagerService as _0x5dcdf5}from'@univerjs/docs-ui';import{IImageIoService as _0x55bd08}from'@univerjs/drawing';import{BehaviorSubject as _0x5db965,debounceTime as _0x10a2d7,takeUntil as _0x4fc11c,Subject as _0x430578,filter as _0x5a532e,switchMap as _0x4fcdee,merge as _0x179cd3,combineLatest as _0x3a9b5c,of as _0x3ac931,fromEvent as _0x1c7d37,shareReplay as _0x191487,mapTo as _0x88af17,distinctUntilChanged as _0x126808}from'rxjs';import{SetTextSelectionsOperation as _0x82e65f,RichTextEditingMutation as _0x1b4eed,DocSelectionManagerService as _0x16c6fd,DocSkeletonManagerService as _0x51951f}from'@univerjs/docs';import{ITransformService as _0x51dc78,CollaborationEvent as _0x4edd53,isTransformMutationFailure as _0x280807,isTransformMutationsWithChangesetSuccess as _0x4cde3c,RevisionService as _0x37e690,ISnapshotServerService as _0xf5c7dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x28f094,serializeRangeWithSheet as _0x3bc81f}from'@univerjs/engine-formula';import{RefRangeService as _0x342bfc,SetSelectionsOperation as _0x27acb3,SheetsSelectionsService as _0xf736a4,EffectRefRangId as _0x3a75d0,handleIRemoveRow as _0x41ad50,handleIRemoveCol as _0xe2309,handleMoveRange as _0x4e921f,handleInsertRow as _0x38d5bb,handleInsertRangeMoveRight as _0x5f23d9,handleInsertRangeMoveDown as _0x58e80a,handleInsertCol as _0x2631b4,handleDeleteRangeMoveUp as _0x49c009,handleDeleteRangeMoveLeft as _0x1c2b37,runRefRangeMutations as _0x2d1c6a,SetWorksheetActivateCommand as _0x237271}from'@univerjs/sheets';import{map as _0x54cd30,filter as _0x986a90,throttleTime as _0x22fc6d,takeUntil as _0xc03ae9,switchMap as _0x5a631c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25e49a,getCoordByCell as _0x55f2dc,getSheetObject as _0x30498b}from'@univerjs/sheets-ui';import{jsx as _0x30f419,jsxs as _0xf931a5}from'react/jsx-runtime';import{useObservable as _0x1756a6,useDependency as _0x1558ad,IUIPartsService as _0x1dd70f,BuiltInUIPart as _0x56bc18,connectInjector as _0xcefb2d,IBeforeCloseService as _0x4195b2,IMessageService as _0x2d0054,INotificationService as _0xec008e}from'@univerjs/ui';import{Tooltip as _0x1a9e1d,clsx as _0x8ec4b2,MessageType as _0x19eb65}from'@univerjs/design';import{forwardRef as _0x3e3ee3,useRef as _0x1af6e7,createElement as _0x540591,useCallback as _0x5e76e6}from'react';import{IRemoteInstanceService as _0x5210e0}from'@univerjs/rpc';var ci=Object[_0x17c635(0x23d)],li=(_0x5f2f68,_0x25f570,_0x3e9c72,_0x20b108)=>{for(var _0x20cc4c=_0x20b108>0x1?void 0x0:_0x20b108?ci(_0x25f570,_0x3e9c72):_0x25f570,_0x2fefb5=_0x5f2f68['length']-0x1,_0x2cdb49;_0x2fefb5>=0x0;_0x2fefb5--)(_0x2cdb49=_0x5f2f68[_0x2fefb5])&&(_0x20cc4c=_0x2cdb49(_0x20cc4c)||_0x20cc4c);return _0x20cc4c;},Je=(_0xec7c43,_0x33cd2b)=>(_0x2a387a,_0xc265bc)=>_0x33cd2b(_0x2a387a,_0xc265bc,_0xec7c43);let Ne=class extends _0x5c44e6{constructor(_0x562991,_0x4056aa){const _0x294edc=_0x17c635;super(),this[_0x294edc(0x370)]=_0x562991,this['_imageIoService']=_0x4056aa,this[_0x294edc(0x384)]();}[_0x17c635(0x384)](){const _0x1a7003=_0x17c635,_0x2c9047=this;this['disposeWithMe'](this[_0x1a7003(0x370)]['addClipboardHook']({'onBeforePasteImage':async _0x467efc=>{const _0x328b8d=_0x1a7003,_0x339866=await _0x2c9047['_imageIoService'][_0x328b8d(0x274)](_0x467efc);return _0x339866?{'source':_0x339866[_0x328b8d(0x388)],'imageSourceType':_0x339866[_0x328b8d(0x354)]}:null;}}));}};Ne=li([Je(0x0,_0x1d7ec4),Je(0x1,_0x55bd08)],Ne);const Ze=[_0x17c635(0x282),_0x17c635(0x2af),_0x17c635(0x1fe),_0x17c635(0x375),_0x17c635(0x38a),_0x17c635(0x2d3)];class ke extends _0x629666{constructor(){const _0x373b42=_0x17c635;super(...arguments),_(this,_0x373b42(0x379),new Map()),_(this,_0x373b42(0x398),0x0);}['assignAColorForMemberID'](_0x5d3313){const _0x5d0278=_0x17c635;if(this[_0x5d0278(0x379)][_0x5d0278(0x329)](_0x5d3313))return this[_0x5d0278(0x379)][_0x5d0278(0x318)](_0x5d3313);const _0x3c77d1=Ze[this[_0x5d0278(0x398)]];return this[_0x5d0278(0x398)]=(this[_0x5d0278(0x398)]+0x1)%Ze[_0x5d0278(0x25c)],this[_0x5d0278(0x379)]['set'](_0x5d3313,_0x3c77d1),_0x3c77d1;}}function Tt(_0x16ae2c){const _0x3a8e41=_0x17c635;let _0x4459df='';for(const _0x24497d of _0x16ae2c){const {startOffset:_0x26858f,endOffset:_0x2e4eae,isActive:_0x8f08ed,rangeType:_0x3f8eab,segmentId:_0x19bb1c,segmentPage:_0x3db46e}=_0x24497d;_0x4459df[_0x3a8e41(0x25c)]&&(_0x4459df+=','),_0x4459df+=_0x26858f+':'+_0x2e4eae+':'+(_0x8f08ed?'1':'0')+':'+_0x3f8eab+':'+_0x19bb1c+':'+_0x3db46e;}return _0x4459df;}function _i(_0x753aa3){const _0x3207dd=_0x17c635,_0x233db1=_0x753aa3[_0x3207dd(0x259)](','),_0x2cefb3=[];for(const _0x477907 of _0x233db1){const [_0x59dfd6,_0x31a0f3,_0x2356f7,_0x4e33e2,_0x3684e8,_0x48fa32]=_0x477907[_0x3207dd(0x259)](':');_0x2cefb3[_0x3207dd(0x24f)]({'startOffset':Number(_0x59dfd6),'endOffset':Number(_0x31a0f3),'collapsed':_0x59dfd6===_0x31a0f3,'isActive':_0x2356f7==='1','rangeType':_0x4e33e2===_0x3e5bba['TEXT']?_0x3e5bba[_0x3207dd(0x333)]:_0x3e5bba[_0x3207dd(0x2a2)],'segmentId':typeof _0x3684e8==_0x3207dd(0x3a1)?String(_0x3684e8):'','segmentPage':Number(_0x48fa32!=null?_0x48fa32:-0x1)});}return _0x2cefb3[_0x3207dd(0x2c9)](_0x410bf8=>_0x410bf8['isActive'])||(_0x2cefb3[0x0][_0x3207dd(0x22d)]=!0x0),_0x2cefb3;}class He extends _0x5c44e6{constructor(){const _0x3b2936=_0x17c635;super(...arguments),_(this,_0x3b2936(0x2c1),new _0x5db965(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x3b2936(0x300)]());}['syncEditingCollabCursor'](_0x20ffdf){const _0x4f0464=_0x17c635,{unitID:_0x2bd10c,memberID:_0x42777c,textRanges:_0x3ff43b}=_0x20ffdf,_0x448e19=Tt(_0x3ff43b);if(_0x448e19==='')return;const _0x30d4be={'unitID':_0x2bd10c,'memberID':_0x42777c,'selection':_0x448e19};this[_0x4f0464(0x2c1)][_0x4f0464(0x32a)](_0x30d4be);}}var hi=Object[_0x17c635(0x23d)],ui=(_0x4f4a51,_0x5771b0,_0x4cb73a,_0xbaccd4)=>{const _0x1732c4=_0x17c635;for(var _0x3a5b03=_0xbaccd4>0x1?void 0x0:_0xbaccd4?hi(_0x5771b0,_0x4cb73a):_0x5771b0,_0x7d73f3=_0x4f4a51[_0x1732c4(0x25c)]-0x1,_0x4a3027;_0x7d73f3>=0x0;_0x7d73f3--)(_0x4a3027=_0x4f4a51[_0x7d73f3])&&(_0x3a5b03=_0x4a3027(_0x3a5b03)||_0x3a5b03);return _0x3a5b03;},P=(_0x4f6647,_0x4aa05a)=>(_0xd2a114,_0x2ffc3b)=>_0x4aa05a(_0xd2a114,_0x2ffc3b,_0x4f6647);const di=0x12c,fi=0x64;let Ue=class extends _0x5c44e6{constructor(_0x11b248,_0x29cd1a,_0x188216,_0x50422e,_0xe479d,_0xbcc547,_0x3dd43f,_0x1dab96,_0x273ea6){const _0x483f6e=_0x17c635;super(),_(this,'_online',!0x1),_(this,_0x483f6e(0x384),!0x1),_(this,_0x483f6e(0x27d),new _0x5db965(new Map())),_(this,'cursorInfo$',this[_0x483f6e(0x27d)][_0x483f6e(0x300)]()),_(this,_0x483f6e(0x399),new _0x5db965([])),_(this,_0x483f6e(0x269),this[_0x483f6e(0x399)][_0x483f6e(0x345)](_0x10a2d7(di))),_(this,_0x483f6e(0x28f),_0x27ab95(_0x13af15=>{const _0x368d82=_0x483f6e,_0x3aad53={'eventID':_0x4edd53[_0x368d82(0x240)],'data':{'unitID':this[_0x368d82(0x310)],'memberID':this['_session'][_0x368d82(0x254)](),'selection':Tt(_0x13af15)}};this['_session'][_0x368d82(0x337)](_0x3aad53,this[_0x368d82(0x310)]);},fi)),(this[_0x483f6e(0x310)]=_0x11b248,this[_0x483f6e(0x294)]=_0x29cd1a,this[_0x483f6e(0x25b)]=_0x188216,this[_0x483f6e(0x22f)]=_0x50422e,this[_0x483f6e(0x2ed)]=_0xe479d,this[_0x483f6e(0x2d7)]=_0xbcc547,this[_0x483f6e(0x363)]=_0x3dd43f,this[_0x483f6e(0x1a2)]=_0x1dab96,this[_0x483f6e(0x233)]=_0x273ea6);}get[_0x17c635(0x2f5)](){const _0x5fe0c6=_0x17c635;return this[_0x5fe0c6(0x27d)][_0x5fe0c6(0x2b7)]();}get[_0x17c635(0x1cd)](){return this['_roomMembers$']['getValue']();}[_0x17c635(0x299)](){const _0x5b6b19=_0x17c635;super[_0x5b6b19(0x299)](),this[_0x5b6b19(0x27d)][_0x5b6b19(0x32a)](new Map()),this[_0x5b6b19(0x27d)][_0x5b6b19(0x2e3)](),this[_0x5b6b19(0x399)]['next']([]),this['_roomMembers$'][_0x5b6b19(0x2e3)]();}[_0x17c635(0x276)](){const _0x3b2eee=_0x17c635;this['_init']||(this[_0x3b2eee(0x384)]=!0x0,this[_0x3b2eee(0x294)][_0x3b2eee(0x206)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x48b361=>{const _0x20b939=_0x3b2eee;_0x48b361===_0x2cb63d[_0x20b939(0x36e)]?this['_toggleOnline']():this[_0x20b939(0x36b)]();}),this['_session'][_0x3b2eee(0x27b)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))[_0x3b2eee(0x31b)](_0x1a1d4f=>{const _0x1177b2=_0x3b2eee,_0x31fb2c=_0x1a1d4f['eventID'];_0x31fb2c===_0x4edd53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1a1d4f),_0x31fb2c===_0x4edd53[_0x1177b2(0x29f)]&&this['_onCursorDelete'](_0x1a1d4f);}),this[_0x3b2eee(0x322)](this['_commandService'][_0x3b2eee(0x1d3)](_0x65733f=>{const _0x27f7c4=_0x3b2eee,_0x1de28f=_0x65733f['params'];_0x1de28f!=null&&this[_0x27f7c4(0x2fe)]&&_0x65733f['id']===_0x82e65f['id']&&_0x1de28f[_0x27f7c4(0x1ef)]===this[_0x27f7c4(0x310)]&&_0x1de28f[_0x27f7c4(0x217)]===!0x1&&_0x1de28f[_0x27f7c4(0x2ae)]['length']>0x0&&this[_0x27f7c4(0x28f)](_0x1de28f['ranges']);})),this['_syncEditingCollabCursorService'][_0x3b2eee(0x1bb)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x145db0=>{const _0x3e1d4f=_0x3b2eee;if((_0x145db0==null?void 0x0:_0x145db0[_0x3e1d4f(0x310)])!==this['unitID'])return;const _0x288601={'eventID':_0x4edd53[_0x3e1d4f(0x240)],'data':_0x145db0};this[_0x3e1d4f(0x2f8)](_0x288601);}),this['disposeWithMe'](this[_0x3b2eee(0x233)][_0x3b2eee(0x1d3)](_0xdae218=>{const _0x2091f5=_0x3b2eee;if(_0xdae218[_0x2091f5(0x39a)]==null)return;const _0x2b7aa4=_0xdae218[_0x2091f5(0x39a)];if(_0xdae218['id']!==_0x1b4eed['id']||_0x2b7aa4[_0x2091f5(0x1ef)]!==this[_0x2091f5(0x310)])return;const _0x470e39={'id':_0x2091f5(0x334),'params':_0x2b7aa4},_0x30e10f=this[_0x2091f5(0x2f5)];for(const [_0x439657,_0x3b06f6]of _0x30e10f){const _0x420e58={'id':_0x2091f5(0x334),'params':{'unitId':this[_0x2091f5(0x310)],'actions':null,'textRanges':_0x3b06f6[_0x2091f5(0x2ae)]}},_0x140c8a=this[_0x2091f5(0x363)]['transformMutation'](_0x470e39,_0x420e58,!0x1);if(_0x280807(_0x140c8a))throw _0x140c8a['error'];_0x30e10f[_0x2091f5(0x1c2)](_0x439657,{..._0x3b06f6,'ranges':_0x140c8a[_0x2091f5(0x391)][_0x2091f5(0x39a)][_0x2091f5(0x1e7)]});}queueMicrotask(()=>{const _0x9e5766=_0x2091f5;this[_0x9e5766(0x27d)][_0x9e5766(0x32a)](_0x30e10f);});})));}[_0x17c635(0x2f8)](_0x5e466f){const _0x32ffc4=_0x17c635;var _0x253660,_0x2ffc6a;const {memberID:_0x77617f,selection:_0x3df4bc}=_0x5e466f[_0x32ffc4(0x2d8)],_0x15b068=_i(_0x3df4bc),_0x2c7ee0=(_0x2ffc6a=(_0x253660=this['_memberService']['getMember'](this[_0x32ffc4(0x310)],_0x77617f))==null?void 0x0:_0x253660['name'])!=null?_0x2ffc6a:_0x32ffc4(0x20a),_0x1fc759={'color':this[_0x32ffc4(0x22f)][_0x32ffc4(0x1b1)](_0x77617f),'name':_0x2c7ee0,'ranges':_0x15b068},_0x3b71ee=this[_0x32ffc4(0x2f5)];_0x3b71ee['set'](_0x77617f,_0x1fc759),this[_0x32ffc4(0x27d)][_0x32ffc4(0x32a)](_0x3b71ee);}[_0x17c635(0x214)](_0x3a5cc5){const _0xd9784c=_0x17c635,{memberID:_0x46735f}=_0x3a5cc5[_0xd9784c(0x2d8)],_0x56790f=this[_0xd9784c(0x2f5)];_0x56790f['delete'](_0x46735f),this[_0xd9784c(0x27d)][_0xd9784c(0x32a)](_0x56790f);}['_toggleOnline'](){const _0xf3b6d1=_0x17c635;var _0xd5a886;if(this[_0xf3b6d1(0x2fe)]=!0x0,((_0xd5a886=this[_0xf3b6d1(0x1a2)][_0xf3b6d1(0x1a6)]())==null?void 0x0:_0xd5a886['getUnitId']())!==this['unitID'])return;const _0x485011=this[_0xf3b6d1(0x25b)]['get'](_0x16c6fd)[_0xf3b6d1(0x1e0)]();Array[_0xf3b6d1(0x340)](_0x485011)&&_0x485011[_0xf3b6d1(0x25c)]>0x0&&this[_0xf3b6d1(0x28f)](_0x485011);}[_0x17c635(0x36b)](){const _0x494b4a=_0x17c635;this[_0x494b4a(0x2fe)]=!0x1;}};Ue=ui([P(0x2,_0x2eb397(_0x597056)),P(0x3,_0x2eb397(ke)),P(0x4,_0x2eb397(_0x4b94cb)),P(0x5,_0x2eb397(He)),P(0x6,_0x51dc78),P(0x7,_0x26b67a),P(0x8,_0x35ee2f)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x12515d,_0x381867,_0x16aa64,_0x52b9cc)=>{const _0x889e97=_0x17c635;for(var _0x204840=_0x52b9cc>0x1?void 0x0:_0x52b9cc?Si(_0x381867,_0x16aa64):_0x381867,_0x2db4b7=_0x12515d[_0x889e97(0x25c)]-0x1,_0xaee1dd;_0x2db4b7>=0x0;_0x2db4b7--)(_0xaee1dd=_0x12515d[_0x2db4b7])&&(_0x204840=_0xaee1dd(_0x204840)||_0x204840);return _0x204840;},x=(_0xfcd7da,_0x18d250)=>(_0x275f36,_0x5db5f4)=>_0x18d250(_0x275f36,_0x5db5f4,_0xfcd7da);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5a1665=[],_0x2c2c34=!0x1;return _0x230767=>{_0x5a1665['push'](_0x230767),_0x2c2c34||(_0x2c2c34=!0x0,setTimeout(()=>{_0x5a1665['forEach'](_0x117b3a=>_0x117b3a()),_0x5a1665=[],_0x2c2c34=!0x1;}));};};let Me=class extends _0x5c44e6{constructor(_0xbbb005,_0x12021e,_0x4c5116,_0x44b8cd,_0x27d599,_0x363a13,_0x6c52bd,_0x2723e9){const _0x249c92=_0x17c635;super(),_(this,_0x249c92(0x2fe),!0x1),_(this,_0x249c92(0x384),!0x1),_(this,'_cursorInfo$',new _0x5db965(new Map())),_(this,_0x249c92(0x218),this['_cursorInfo$'][_0x249c92(0x300)]()),_(this,'_roomMembers$',new _0x5db965([])),_(this,'roomMembers$',this[_0x249c92(0x399)][_0x249c92(0x345)](_0x10a2d7(Ii))),_(this,_0x249c92(0x28f),_0x27ab95((_0x2d99fd,_0x91b20f)=>{const _0x9fd359=_0x249c92,_0x2ab2aa={'eventID':_0x4edd53[_0x9fd359(0x240)],'data':{'unitID':this[_0x9fd359(0x310)],'memberID':this[_0x9fd359(0x294)][_0x9fd359(0x254)](),'selection':_0x3bc81f(_0x2d99fd,_0x91b20f[_0x9fd359(0x21e)])}};this[_0x9fd359(0x294)][_0x9fd359(0x337)](_0x2ab2aa,this[_0x9fd359(0x310)]);},gi)),(this[_0x249c92(0x310)]=_0xbbb005,this[_0x249c92(0x294)]=_0x12021e,this[_0x249c92(0x25b)]=_0x4c5116,this[_0x249c92(0x22f)]=_0x44b8cd,this['_memberService']=_0x27d599,this[_0x249c92(0x1a2)]=_0x363a13,this['_commandService']=_0x6c52bd,this['_refRangeService']=_0x2723e9);}get[_0x17c635(0x2f5)](){const _0x31f6dc=_0x17c635;return this[_0x31f6dc(0x27d)][_0x31f6dc(0x2b7)]();}get[_0x17c635(0x1cd)](){const _0x16eb90=_0x17c635;return this[_0x16eb90(0x399)][_0x16eb90(0x2b7)]();}[_0x17c635(0x299)](){const _0x2a779c=_0x17c635;super[_0x2a779c(0x299)](),this['_cursorInfo$'][_0x2a779c(0x32a)](new Map()),this[_0x2a779c(0x27d)][_0x2a779c(0x2e3)](),this['_roomMembers$']['next']([]),this[_0x2a779c(0x399)]['complete']();}['init'](){const _0x417489=_0x17c635;this[_0x417489(0x384)]||(this[_0x417489(0x384)]=!0x0,this['_session'][_0x417489(0x206)][_0x417489(0x345)](_0x4fc11c(this['dispose$']))['subscribe'](_0x2972f2=>{const _0xfb394c=_0x417489;_0x2972f2===_0x2cb63d['ONLINE']?this[_0xfb394c(0x31a)]():this['_toggleOffline']();}),this['_session'][_0x417489(0x27b)][_0x417489(0x345)](_0x4fc11c(this[_0x417489(0x386)]))['subscribe'](_0x6f569e=>{const _0x3ee289=_0x417489,_0x5ea130=_0x6f569e[_0x3ee289(0x2b8)];_0x5ea130===_0x4edd53[_0x3ee289(0x240)]&&this[_0x3ee289(0x2f8)](_0x6f569e),_0x5ea130===_0x4edd53[_0x3ee289(0x29f)]&&this['_onCursorDelete'](_0x6f569e);}),this[_0x417489(0x262)](),this[_0x417489(0x322)](this['_commandService']['onCommandExecuted'](_0x194533=>{const _0x450b5e=_0x417489;if(this[_0x450b5e(0x2fe)]&&_0x194533['id']===_0x27acb3['id']&&_0x194533[_0x450b5e(0x39a)][_0x450b5e(0x1ef)]===this['unitID']){const _0x58a9c2=_0x194533[_0x450b5e(0x39a)];this[_0x450b5e(0x28f)](_0x58a9c2[_0x450b5e(0x343)],_0x58a9c2[_0x450b5e(0x35f)][0x0]);}})));}[_0x17c635(0x2f8)](_0x128d37){const _0x3d3d63=_0x17c635;var _0x38919f,_0x56e060;const {memberID:_0x350251,selection:_0x32c9fe}=_0x128d37[_0x3d3d63(0x2d8)],{sheetName:_0x5c1c08,range:_0x5845ac}=_0x28f094(_0x32c9fe),_0x370ea5={'name':(_0x56e060=(_0x38919f=this['_memberService'][_0x3d3d63(0x285)](this[_0x3d3d63(0x310)],_0x350251))==null?void 0x0:_0x38919f[_0x3d3d63(0x2bd)])!=null?_0x56e060:_0x3d3d63(0x20a),'range':this[_0x3d3d63(0x20f)](_0x5c1c08,_0x5845ac),'sheetID':_0x5c1c08,'color':this[_0x3d3d63(0x22f)][_0x3d3d63(0x1b1)](_0x350251),'selection':_0x32c9fe},_0x28632a=this[_0x3d3d63(0x2f5)];_0x28632a['set'](_0x350251,_0x370ea5),this[_0x3d3d63(0x27d)][_0x3d3d63(0x32a)](_0x28632a);}[_0x17c635(0x214)](_0xcd9a75){const _0x2fbc6b=_0x17c635,{memberID:_0x47093f}=_0xcd9a75[_0x2fbc6b(0x2d8)],_0x12d292=this['cursorInfo'];_0x12d292['delete'](_0x47093f),this[_0x2fbc6b(0x27d)]['next'](_0x12d292);}[_0x17c635(0x20f)](_0x20b636,_0xb330c3){const _0x582672=_0x17c635;var _0x5c8864,_0x371a3a;const _0x33a3e1=(_0x371a3a=(_0x5c8864=this[_0x582672(0x1a2)][_0x582672(0x344)](this[_0x582672(0x310)]))==null?void 0x0:_0x5c8864[_0x582672(0x2f9)](_0x20b636))==null?void 0x0:_0x371a3a['getMergeData']();return(_0x33a3e1==null?void 0x0:_0x33a3e1['find'](_0x3c2075=>_0x428eba[_0x582672(0x283)](_0x3c2075,_0xb330c3)))||_0xb330c3;}[_0x17c635(0x262)](){const _0x337653=_0x17c635,_0x4b811a=new _0x5daaad(),_0x463171=vi(),_0x20d593=()=>{const _0x25641f=_0x13d3;_0x4b811a[_0x25641f(0x299)]();const _0x4f0410=(_0x4d78bd,_0x5dc7a5,_0x446478,_0x2edd51)=>{const _0x26b4db=_0x25641f;let _0x5577b8=[];switch(_0x4d78bd['id']){case _0x3a75d0['DeleteRangeMoveLeftCommandId']:{_0x5577b8=_0x1c2b37(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0['DeleteRangeMoveUpCommandId']:{_0x5577b8=_0x49c009(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1d6)]:{_0x5577b8=_0x2631b4(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1f9)]:{_0x5577b8=_0x58e80a(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x212)]:{_0x5577b8=_0x5f23d9(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x341)]:{_0x5577b8=_0x38d5bb(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x24e)]:{_0x5577b8=_0x4e921f(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x351)]:{_0x5577b8=_0xe2309(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x313)]:{_0x5577b8=_0x41ad50(_0x4d78bd,_0x2edd51);break;}}const _0x16c0cd=_0x2d1c6a(_0x5577b8,_0x2edd51),_0x20aafb=this[_0x26b4db(0x2f5)][_0x26b4db(0x318)](_0x5dc7a5);if(_0x20aafb&&_0x16c0cd){const _0xfcc83b={..._0x20aafb,'range':_0x16c0cd};this[_0x26b4db(0x2f5)][_0x26b4db(0x1c2)](_0x5dc7a5,_0xfcc83b),_0x463171(()=>{const _0x332e76=_0x26b4db,_0x9daa2d=this[_0x332e76(0x2c2)][_0x332e76(0x32d)](_0x16c0cd,_0x224182=>(_0x9daa2d[_0x332e76(0x299)](),_0x4f0410(_0x224182,_0x5dc7a5,_0x446478,_0x16c0cd)));_0x4b811a[_0x332e76(0x25e)](_0x9daa2d);});}return{'redos':[],'undos':[]};};this[_0x25641f(0x2f5)]['forEach']((_0x5ea23d,_0x2652ef)=>{const _0xdb600=_0x25641f,{range:_0x2b0d67,sheetID:_0x31de80}=_0x5ea23d,_0xe217da=this[_0xdb600(0x2c2)][_0xdb600(0x32d)](_0x2b0d67,_0x9a11ec=>(_0xe217da[_0xdb600(0x299)](),_0x4f0410(_0x9a11ec,_0x2652ef,_0x31de80,_0x2b0d67)));_0x4b811a[_0xdb600(0x25e)](_0xe217da);});};this[_0x337653(0x322)](_0x36e603(this[_0x337653(0x27d)]['subscribe'](()=>{_0x20d593();})));}['_toggleOnline'](){const _0x5a74bc=_0x17c635;var _0x22ebab,_0x5f0618;if(this[_0x5a74bc(0x2fe)]=!0x0,((_0x22ebab=this['_univerInstanceService'][_0x5a74bc(0x1a6)]())==null?void 0x0:_0x22ebab[_0x5a74bc(0x21b)]())!==this['unitID'])return;const _0xa26364=(_0x5f0618=this[_0x5a74bc(0x25b)]['get'](_0xf736a4)[_0x5a74bc(0x320)]())==null?void 0x0:_0x5f0618[0x0],_0x394eba=this['_univerInstanceService'][_0x5a74bc(0x21c)](_0x2c47d7[_0x5a74bc(0x226)])[_0x5a74bc(0x34f)]();_0xa26364&&_0x394eba&&this[_0x5a74bc(0x28f)](_0x394eba[_0x5a74bc(0x2e4)](),_0xa26364);}[_0x17c635(0x36b)](){const _0x569234=_0x17c635;this[_0x569234(0x2fe)]=!0x1;}};Me=mi([x(0x2,_0x2eb397(_0x597056)),x(0x3,_0x2eb397(ke)),x(0x4,_0x2eb397(_0x4b94cb)),x(0x5,_0x26b67a),x(0x6,_0x35ee2f),x(0x7,_0x2eb397(_0x342bfc))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x8bbc1d,_0x2152ec,_0x334727,_0x44879b)=>{const _0x23a0ac=_0x17c635;for(var _0x3f58f1=_0x44879b>0x1?void 0x0:_0x44879b?pi(_0x2152ec,_0x334727):_0x2152ec,_0x4130f8=_0x8bbc1d[_0x23a0ac(0x25c)]-0x1,_0x598a4b;_0x4130f8>=0x0;_0x4130f8--)(_0x598a4b=_0x8bbc1d[_0x4130f8])&&(_0x3f58f1=_0x598a4b(_0x3f58f1)||_0x3f58f1);return _0x3f58f1;},Se=(_0x264341,_0xe4f6ea)=>(_0x5ed5bd,_0x2c5fee)=>_0xe4f6ea(_0x5ed5bd,_0x2c5fee,_0x264341);let H=class extends _0x5c44e6{constructor(_0x3c6c99,_0x58ba77,_0x15496b){const _0x58dc18=_0x17c635;super(),_(this,_0x58dc18(0x222),new Map()),_(this,_0x58dc18(0x213),new _0x430578()),(this[_0x58dc18(0x1a2)]=_0x3c6c99,this['_injector']=_0x58ba77,this[_0x58dc18(0x227)]=_0x15496b,this[_0x58dc18(0x384)]());}[_0x17c635(0x299)](){const _0x5d139b=_0x17c635;super[_0x5d139b(0x299)](),this['_entityInit$']['complete'](),this[_0x5d139b(0x222)][_0x5d139b(0x1d2)](_0x50fb27=>_0x50fb27[_0x5d139b(0x299)]());}[_0x17c635(0x3a3)](_0x8ec8b9){const _0x3612f2=_0x17c635;return this[_0x3612f2(0x222)][_0x3612f2(0x329)](_0x8ec8b9)?this[_0x3612f2(0x222)]['get'](_0x8ec8b9)[_0x3612f2(0x218)]:this[_0x3612f2(0x213)]['pipe'](_0x5a532e(_0xed1d9c=>_0xed1d9c[_0x3612f2(0x310)]===_0x8ec8b9),_0x4fcdee(_0x5c2b2f=>_0x5c2b2f[_0x3612f2(0x218)]));}[_0x17c635(0x384)](){const _0x5a3d2e=_0x17c635;this[_0x5a3d2e(0x1a2)]['getTypeOfUnitAdded$'](_0x2c47d7['UNIVER_SHEET'])['pipe'](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x31b)](async _0x45479d=>{const _0x2ba0d0=_0x5a3d2e,_0x3b79b4=_0x45479d[_0x2ba0d0(0x21b)](),_0x37af76=await this[_0x2ba0d0(0x1f5)](_0x3b79b4);this['_entityInit$'][_0x2ba0d0(0x32a)](_0x37af76),this[_0x2ba0d0(0x222)][_0x2ba0d0(0x1c2)](_0x3b79b4,_0x37af76);}),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1de)](_0x2c47d7[_0x5a3d2e(0x39f)])[_0x5a3d2e(0x345)](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x345)](_0x5a532e(_0x1beca4=>!_0x1beca4['getUnitId']()['startsWith']('__')))[_0x5a3d2e(0x31b)](async _0x4fb294=>{const _0x2989ef=_0x5a3d2e,_0x5acda0=_0x4fb294['getUnitId'](),_0x4ad3ba=await this[_0x2989ef(0x1c5)](_0x5acda0);this[_0x2989ef(0x213)][_0x2989ef(0x32a)](_0x4ad3ba),this[_0x2989ef(0x222)][_0x2989ef(0x1c2)](_0x5acda0,_0x4ad3ba);}),_0x179cd3(this['_univerInstanceService'][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x39f)]),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x226)]))[_0x5a3d2e(0x345)](_0x4fc11c(this['dispose$']))[_0x5a3d2e(0x31b)](_0x107b21=>{const _0x53d1e9=_0x5a3d2e,_0x4ff12c=_0x107b21[_0x53d1e9(0x21b)](),_0x36b100=this[_0x53d1e9(0x222)]['get'](_0x4ff12c);_0x36b100&&(_0x36b100['dispose'](),this['_entities'][_0x53d1e9(0x2f4)](_0x4ff12c));});}async[_0x17c635(0x1f5)](_0x314fce){const _0x3d6141=_0x17c635,_0xc15fa1=await this[_0x3d6141(0x227)]['requireSession'](_0x314fce),_0x5b0c8c=this[_0x3d6141(0x25b)][_0x3d6141(0x316)](Me,_0x314fce,_0xc15fa1);return _0x5b0c8c[_0x3d6141(0x276)](),_0x5b0c8c;}async['_startDocCollabCursor'](_0xbb1612){const _0x24b848=_0x17c635,_0x152be0=await this['_collabSessionService'][_0x24b848(0x1a0)](_0xbb1612),_0x5d17be=this[_0x24b848(0x25b)]['createInstance'](Ue,_0xbb1612,_0x152be0);return _0x5d17be[_0x24b848(0x276)](),_0x5d17be;}};function _0x13d3(_0x1fac5d,_0x403fad){const _0xf6ea63=_0xf6ea();return _0x13d3=function(_0x13d3a8,_0x3627cd){_0x13d3a8=_0x13d3a8-0x1a0;let _0x203888=_0xf6ea63[_0x13d3a8];return _0x203888;},_0x13d3(_0x1fac5d,_0x403fad);}H=Ci([Se(0x0,_0x26b67a),Se(0x1,_0x2eb397(_0x597056)),Se(0x2,_0x2eb397(_0x4a7bfc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x27ceb3,_0x2425da){const _0x3554d3=_0x17c635;let {radius:_0x34f620,width:_0xabf28f,height:_0x4cc24}=_0x2425da;_0x34f620=_0x34f620!=null?_0x34f620:0x0,_0xabf28f=_0xabf28f!=null?_0xabf28f:0x1e,_0x4cc24=_0x4cc24!=null?_0x4cc24:0x1e;let _0x410c57=0x0,_0x1d2513=0x0,_0x25a5f9=0x0;_0x410c57=_0x1d2513=_0x25a5f9=Math[_0x3554d3(0x36f)](_0x34f620,_0xabf28f/0x2,_0x4cc24/0x2),_0x27ceb3[_0x3554d3(0x2cd)](),_0x27ceb3[_0x3554d3(0x1e1)](_0x410c57,0x0),_0x27ceb3[_0x3554d3(0x1b9)](_0xabf28f-_0x1d2513,0x0),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x1d2513,_0x1d2513,_0x1d2513,Math['PI']*0x3/0x2,0x0,!0x1),_0x27ceb3['lineTo'](_0xabf28f,_0x4cc24-_0x25a5f9),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x25a5f9,_0x4cc24-_0x25a5f9,_0x25a5f9,0x0,Math['PI']/0x2,!0x1),_0x27ceb3['lineTo'](0x0,_0x4cc24),_0x27ceb3[_0x3554d3(0x1b9)](0x0,_0x410c57),_0x27ceb3[_0x3554d3(0x39c)](_0x410c57,_0x410c57,_0x410c57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27ceb3[_0x3554d3(0x2b6)](),_0x2425da[_0x3554d3(0x228)]&&(_0x27ceb3['save'](),_0x27ceb3['fillStyle']=_0x2425da[_0x3554d3(0x228)],_0x2425da[_0x3554d3(0x2fd)]===_0x3554d3(0x2ab)?_0x27ceb3[_0x3554d3(0x228)](_0x3554d3(0x2ab)):_0x27ceb3[_0x3554d3(0x228)](),_0x27ceb3['restore']());}class he extends _0x15bb4e{constructor(_0x2e1b66,_0x12c10b){const _0x1609ca=_0x17c635;super(_0x2e1b66,_0x12c10b),_(this,'color'),_(this,'text'),(this[_0x1609ca(0x31f)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x31f)],this[_0x1609ca(0x1c1)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x1c1)]);}static[_0x17c635(0x2d1)](_0x6dbb40,_0x439d4d){const _0x8d5a89=_0x17c635,{text:_0x42c34e,color:_0x1487e5}=_0x439d4d;_0x6dbb40[_0x8d5a89(0x24a)](),_0x6dbb40[_0x8d5a89(0x3a0)]=_0x8d5a89(0x2da);const _0x1fa19d=_0x6dbb40[_0x8d5a89(0x1f4)](_0x42c34e)[_0x8d5a89(0x37a)],_0x4ffde5=Math[_0x8d5a89(0x36f)](_0x1fa19d+0x2*me,Qe);Oi(_0x6dbb40,{'height':ee,'radius':0x4,'width':_0x4ffde5,'fill':_0x1487e5}),_0x6dbb40['fillStyle']=_0x8d5a89(0x335);const _0x50fee2=me,_0x4b2e7c=ee-Ei,_0x2a12d5=Qe-0x2*me;if(_0x1fa19d>_0x2a12d5){let _0x2fcbb3='',_0x37b7f3=0x0;for(const _0x6ef7ec of _0x42c34e){const _0x605118=_0x6dbb40[_0x8d5a89(0x1f4)](_0x6ef7ec)[_0x8d5a89(0x37a)];if(_0x37b7f3+_0x605118<=_0x2a12d5-_0x6dbb40[_0x8d5a89(0x1f4)](_0x8d5a89(0x1a3))[_0x8d5a89(0x37a)])_0x2fcbb3+=_0x6ef7ec,_0x37b7f3+=_0x605118;else{_0x2fcbb3+=_0x8d5a89(0x1a3);break;}}_0x6dbb40['fillText'](_0x2fcbb3,_0x50fee2,_0x4b2e7c);}else _0x6dbb40[_0x8d5a89(0x2d2)](_0x42c34e,_0x50fee2,_0x4b2e7c);_0x6dbb40[_0x8d5a89(0x1c6)]();}[_0x17c635(0x353)](_0x3e70d7){const _0x593fb6=_0x17c635;he[_0x593fb6(0x2d1)](_0x3e70d7,this);}}const Ie=_0x17c635(0x2b9),bi='collab-text-range-',Ti=_0x17c635(0x346),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2d0e19,_0x299674,_0x45119d,_0x353dcf){const _0x474aee=_0x17c635;_(this,_0x474aee(0x251),[]),_(this,_0x474aee(0x27a),null),_(this,_0x474aee(0x385),null),_(this,_0x474aee(0x328),null),_(this,_0x474aee(0x268),null),_(this,_0x474aee(0x367),null),(this['_cursor']=_0x2d0e19,this[_0x474aee(0x232)]=_0x299674,this[_0x474aee(0x200)]=_0x45119d,this[_0x474aee(0x360)]=_0x353dcf,this[_0x474aee(0x1e6)]());}set[_0x17c635(0x204)](_0x4cf155){const _0x5018fb=_0x17c635;_0x4cf155?(this['_anchorDot']&&this['_anchorDot'][_0x5018fb(0x1db)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)]['show']()):(this['_anchorDot']&&this[_0x5018fb(0x328)][_0x5018fb(0x270)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)][_0x5018fb(0x1db)]());}[_0x17c635(0x299)](){const _0x3cf84d=_0x17c635;for(const _0x4f3384 of this['_shapes'])_0x4f3384[_0x3cf84d(0x299)]();this['_textBubble']&&this[_0x3cf84d(0x385)][_0x3cf84d(0x299)](),this['_anchorDot']&&this[_0x3cf84d(0x328)][_0x3cf84d(0x299)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x3cf84d(0x367)]&&this[_0x3cf84d(0x367)]();}[_0x17c635(0x1e6)](){const _0xf771b2=_0x17c635;var _0x1629ed;const {_docSkeleton:_0x29eb12,_document:_0x2738a5}=this,{color:_0x1d1930,name:_0x10149d,ranges:_0x4f7a90}=this[_0xf771b2(0x2cb)],_0x909583=_0x2738a5['getOffsetConfig'](),{docsLeft:_0x277342,docsTop:_0x13f953}=_0x909583,_0x379287=new _0xa81833(_0x909583,_0x29eb12);for(const {startOffset:_0x584241,endOffset:_0x1b89a4,rangeType:_0x69de06,segmentId:_0x218562,segmentPage:_0x5e9a5d,collapsed:_0x3afc6c,isActive:_0x19eada}of _0x4f7a90){const _0x29f9e5=_0x29eb12[_0xf771b2(0x2b4)](_0x584241,!0x0,_0x218562,_0x5e9a5d);let _0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4,!0x0,_0x218562,_0x5e9a5d);if(_0x3bf7d9==null&&(_0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4-0x1,!0x1,_0x218562,_0x5e9a5d)),_0x19eada){const {contentBoxPointGroup:_0x19b342}=_0x379287[_0xf771b2(0x397)](_0x3bf7d9,_0x3bf7d9);if(_0x19b342[_0xf771b2(0x25c)]===0x0)continue;this[_0xf771b2(0x2a7)](_0x1d1930,_0x19b342,_0x277342,_0x13f953,_0x10149d),this['_eventUnsubscribe']=this[_0xf771b2(0x2e1)]();}if(_0x29f9e5&&_0x3bf7d9){if(_0x69de06===_0x3e5bba[_0xf771b2(0x2a2)]){const _0xe301f7=new _0x1b3357(_0x909583,_0x29eb12),{pointGroup:_0x59750d}=(_0x1629ed=_0xe301f7[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9))!=null?_0x1629ed:{};if(_0x59750d==null||_0x59750d[_0xf771b2(0x25c)]===0x0)continue;this['_drawRectRange'](_0x1d1930,_0x59750d,_0x277342,_0x13f953);}else{if(!_0x3afc6c){const {borderBoxPointGroup:_0x6678c4}=_0x379287[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9);if(_0x6678c4['length']===0x0)continue;this[_0xf771b2(0x1a9)](_0x1d1930,_0x6678c4,_0x277342,_0x13f953);}}}}}[_0x17c635(0x2a7)](_0x15aea8,_0x44ecbe,_0x6a04e0,_0x417b21,_0x33e055){const _0x5a4633=_0x17c635,_0x4e030f=this[_0x5a4633(0x280)](_0x44ecbe),{left:_0x41c388,top:_0x37ad47,height:_0x343f0b}=_0x4e030f,_0xe0dbf7=this['_getScale'](),_0x5bac6f=Di/_0xe0dbf7,_0x1b2c89=new _0x507dd3(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21,'height':_0x343f0b,'width':Ri,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':_0x5bac6f,'stroke':Ni,'evented':!0x0});this[_0x5a4633(0x27a)]=_0x1b2c89,this[_0x5a4633(0x232)]['addObject'](_0x1b2c89,_0x35b4cc);const _0x27f40e=new _0x507dd3(Ie+_0x450a88['generateRandomId'](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ge/0x2,'height':ge,'width':ge,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x27f40e,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x27f40e,_0x35b4cc);const _0x2efd49=new he(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ee,'text':_0x33e055,'color':_0x15aea8});this[_0x5a4633(0x385)]=_0x2efd49,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x2efd49,_0x35b4cc),this[_0x5a4633(0x204)]=!0x1;}['_handleHover'](){const _0x5cab40=_0x17c635,_0xa6ff4f=this[_0x5cab40(0x27a)][_0x5cab40(0x290)][_0x5cab40(0x35a)](()=>{const _0x4deaf3=_0x5cab40;this[_0x4deaf3(0x204)]=!0x0;}),_0x27e85e=this[_0x5cab40(0x27a)][_0x5cab40(0x1c0)][_0x5cab40(0x35a)](()=>{const _0x5ac3db=_0x5cab40;this['_hideTimer']&&clearTimeout(this[_0x5ac3db(0x268)]),this[_0x5ac3db(0x268)]=setTimeout(()=>{const _0x1e077b=_0x5ac3db;this[_0x1e077b(0x204)]=!0x1;},0x7d0);});return()=>{const _0x57f1fa=_0x5cab40;_0xa6ff4f['unsubscribe'](),_0x27e85e[_0x57f1fa(0x36a)]();};}['_drawTextRange'](_0xa58dba,_0x1c801c,_0x53c87c,_0x25aa2c){const _0x37a103=_0x17c635,_0x42c6de=new _0x4cbba2(_0xa58dba)[_0x37a103(0x1ab)](0.2)[_0x37a103(0x1ce)](),_0x4bd886=new _0x2da338(bi+_0x450a88[_0x37a103(0x286)](X),{'pointsGroup':_0x1c801c,'fill':_0x42c6de||_0x30d8ae(_0x2a2dbf[_0x37a103(0x2a5)],0.2),'left':_0x53c87c,'top':_0x25aa2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37a103(0x251)][_0x37a103(0x24f)](_0x4bd886),this[_0x37a103(0x232)][_0x37a103(0x308)](_0x4bd886,_0x35b4cc);}[_0x17c635(0x1d0)](_0x5bd4e5,_0x228e3c,_0x1ea03e,_0x2109d3){const _0x414463=_0x17c635,_0x44eb3a=new _0x4cbba2(_0x5bd4e5)[_0x414463(0x1ab)](0.2)[_0x414463(0x1ce)](),_0x3fa5cb=new _0x2da338(Ti+_0x450a88[_0x414463(0x286)](X),{'pointsGroup':_0x228e3c,'fill':_0x44eb3a||_0x30d8ae(_0x2a2dbf[_0x414463(0x2a5)],0.2),'left':_0x1ea03e,'top':_0x2109d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x414463(0x251)][_0x414463(0x24f)](_0x3fa5cb),this['_scene'][_0x414463(0x308)](_0x3fa5cb,_0x35b4cc);}[_0x17c635(0x280)](_0xe40560){const _0xb725fb=_0xe40560[0x0],_0x51356c=_0xb725fb[0x0],_0x30eecb=_0xb725fb[0x2],{x:_0x10c7b4,y:_0xc08a06}=_0x51356c,{x:_0x150841,y:_0x20348b}=_0x30eecb;return{'left':_0x10c7b4,'top':_0xc08a06,'width':_0x150841-_0x10c7b4,'height':_0x20348b-_0xc08a06};}[_0x17c635(0x324)](){const _0x4dfc94=_0x17c635,{scaleX:_0x575eed,scaleY:_0x46784e}=this[_0x4dfc94(0x232)]['getAncestorScale']();return Math[_0x4dfc94(0x39d)](_0x575eed,_0x46784e);}}var Ui=Object[_0x17c635(0x23d)],Mi=(_0x9390f1,_0x409a49,_0x579fde,_0x386509)=>{for(var _0x55b285=_0x386509>0x1?void 0x0:_0x386509?Ui(_0x409a49,_0x579fde):_0x409a49,_0x1621ce=_0x9390f1['length']-0x1,_0x4bdb0a;_0x1621ce>=0x0;_0x1621ce--)(_0x4bdb0a=_0x9390f1[_0x1621ce])&&(_0x55b285=_0x4bdb0a(_0x55b285)||_0x55b285);return _0x55b285;},Z=(_0x5cb9db,_0x36fb2b)=>(_0xc72e45,_0x51eea5)=>_0x36fb2b(_0xc72e45,_0x51eea5,_0x5cb9db);let we=class extends _0x5c44e6{constructor(_0x13cfa7,_0x4edca1,_0x29a929,_0x2cc95f,_0x286bd8){const _0x4e2e56=_0x17c635;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x4e2e56(0x2e9)]=_0x13cfa7,this[_0x4e2e56(0x1bf)]=_0x4edca1,this[_0x4e2e56(0x277)]=_0x29a929,this[_0x4e2e56(0x233)]=_0x2cc95f,this[_0x4e2e56(0x1e8)]=_0x286bd8,this[_0x4e2e56(0x384)]());}[_0x17c635(0x384)](){const _0x588a13=_0x17c635,_0xb23ab4=this[_0x588a13(0x2e9)][_0x588a13(0x1ef)],_0x269b21=this[_0x588a13(0x1bf)];this[_0x588a13(0x322)](_0x3a9b5c([this['_collabCursorController'][_0x588a13(0x3a3)](_0xb23ab4),this[_0x588a13(0x1e8)]['currentTheme$']])[_0x588a13(0x345)](_0x54cd30(([_0x20eaae,_0x110083])=>({'skeleton':_0x269b21[_0x588a13(0x1d1)](),'cursors':[..._0x20eaae['values']()][_0x588a13(0x2dc)](_0x3f1f19=>({..._0x3f1f19,'color':this[_0x588a13(0x1e8)]['getColorFromTheme'](_0x3f1f19[_0x588a13(0x31f)])}))})))[_0x588a13(0x31b)](_0x430bd6=>{const _0x530617=_0x588a13;if(this[_0x530617(0x2d5)](),_0x430bd6){const {skeleton:_0x57fd4f,cursors:_0x58f01f}=_0x430bd6;this['_updateCollabCursors'](_0x57fd4f,_0x58f01f);}})),this[_0x588a13(0x2f1)](),this['_initCommandExecutedListener']();}[_0x17c635(0x2ea)](_0x5e7e3c,_0x18d06e){const _0x29daf1=_0x17c635,{scene:_0x5aee40,mainComponent:_0x158f16}=this['_context'],_0x22e49d=_0x18d06e[_0x29daf1(0x33c)](_0x98a36b=>new qe(_0x98a36b,_0x5aee40,_0x5e7e3c,_0x158f16));this[_0x29daf1(0x23c)]=_0x22e49d,this[_0x29daf1(0x1f2)]=_0x18d06e;}[_0x17c635(0x35e)](){const _0x5b29b2=_0x17c635;this[_0x5b29b2(0x2d5)]();const {scene:_0x2a1642,mainComponent:_0x3bb830}=this[_0x5b29b2(0x2e9)],_0x41b06c=this[_0x5b29b2(0x1bf)][_0x5b29b2(0x1d1)](),_0x440b22=this[_0x5b29b2(0x1f2)][_0x5b29b2(0x33c)](_0x496aed=>new qe(_0x496aed,_0x2a1642,_0x41b06c,_0x3bb830));this[_0x5b29b2(0x23c)]=_0x440b22;}[_0x17c635(0x2d5)](){const _0xef3cb=_0x17c635;this['_cursorShapes'][_0xef3cb(0x1d2)](_0x3868c7=>_0x3868c7[_0xef3cb(0x299)]()),this[_0xef3cb(0x23c)]=[];}[_0x17c635(0x33e)](){const _0x4f3147=_0x17c635,_0x3906a5=[_0x19901a['id']];this['disposeWithMe'](this[_0x4f3147(0x233)][_0x4f3147(0x1d3)](_0x38968d=>{const _0x2f400e=_0x4f3147;_0x3906a5['includes'](_0x38968d['id'])&&_0x38968d[_0x2f400e(0x39a)][_0x2f400e(0x1ef)]===this[_0x2f400e(0x2e9)][_0x2f400e(0x1ef)]&&this[_0x2f400e(0x35e)]();}));}[_0x17c635(0x2f1)](){const _0x244b27=_0x17c635;this[_0x244b27(0x322)](_0x12d0fe(this[_0x244b27(0x2e9)][_0x244b27(0x1b0)]['onTransformChange$'])[_0x244b27(0x345)](_0x986a90(_0x279624=>_0x279624[_0x244b27(0x23f)]===_0x2835bd[_0x244b27(0x1d8)]),_0x22fc6d(0x10))['subscribe'](()=>{const _0xbfb6ee=_0x244b27;this[_0xbfb6ee(0x35e)]();}));}};we=Mi([Z(0x1,_0x2eb397(_0x51951f)),Z(0x2,_0x2eb397(H)),Z(0x3,_0x35ee2f),Z(0x4,_0x2eb397(_0x4ffddf))],we);const wi=0x1,Pi=1.5;class Li extends _0x15bb4e{constructor(_0x355571,_0x33407d){const _0x183a01=_0x17c635;super(_0x355571,_0x33407d),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x183a01(0x278)),_(this,_0x183a01(0x33d),''),_(this,_0x183a01(0x33f),_0x183a01(0x23b)),_(this,_0x183a01(0x24c)),(_0x33407d&&this[_0x183a01(0x2b5)](_0x33407d),this[_0x183a01(0x290)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x0})),this[_0x183a01(0x1c0)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x1})));}[_0x17c635(0x2b5)](_0x561fcc){const _0x5de7c0=_0x17c635;var _0x2ca263,_0x1ee521,_0x39d959,_0xa1e424,_0x3bee00,_0x1e18fd;this[_0x5de7c0(0x309)]=(_0x2ca263=_0x561fcc[_0x5de7c0(0x31f)])!=null?_0x2ca263:this['_color'],this[_0x5de7c0(0x1f6)]=(_0x1ee521=_0x561fcc[_0x5de7c0(0x315)])!=null?_0x1ee521:this[_0x5de7c0(0x1f6)],this['_range']=(_0x39d959=_0x561fcc[_0x5de7c0(0x21e)])!=null?_0x39d959:this[_0x5de7c0(0x278)],this[_0x5de7c0(0x33d)]=(_0xa1e424=_0x561fcc[_0x5de7c0(0x2bd)])!=null?_0xa1e424:this[_0x5de7c0(0x33d)],this['_labelPosition']=(_0x3bee00=_0x561fcc[_0x5de7c0(0x37e)])!=null?_0x3bee00:this['_labelPosition'],this[_0x5de7c0(0x24c)]=(_0x1e18fd=_0x561fcc[_0x5de7c0(0x2bf)])!=null?_0x1e18fd:this[_0x5de7c0(0x24c)],this[_0x5de7c0(0x32c)]({'width':_0x561fcc[_0x5de7c0(0x37a)],'height':_0x561fcc[_0x5de7c0(0x20c)]});}[_0x17c635(0x22e)](_0x56022f){const _0x3e0b99=_0x17c635,{row:_0x59e7f3,column:_0xfdc3ca}=_0x56022f;if(_0x59e7f3>=this[_0x3e0b99(0x278)][_0x3e0b99(0x361)]&&_0x59e7f3<=this[_0x3e0b99(0x278)][_0x3e0b99(0x382)]&&_0xfdc3ca>=this[_0x3e0b99(0x278)][_0x3e0b99(0x2f0)]&&_0xfdc3ca<=this[_0x3e0b99(0x278)][_0x3e0b99(0x237)]){this[_0x3e0b99(0x2b5)]({'hovered':!0x0});return;}this[_0x3e0b99(0x2b5)]({'hovered':!0x1});}[_0x17c635(0x2a4)](_0x3e666d){return!0x1;}['_draw'](_0x8606a2){const _0x2d10b4=_0x17c635;_0x507dd3[_0x2d10b4(0x2d1)](_0x8606a2,{'width':this[_0x2d10b4(0x37a)],'height':this[_0x2d10b4(0x20c)],'strokeWidth':Pi,'stroke':this[_0x2d10b4(0x309)],'evented':!0x1,'fill':this[_0x2d10b4(0x24c)]}),this[_0x2d10b4(0x1f6)]&&(_0x8606a2[_0x2d10b4(0x24a)](),_0x8606a2[_0x2d10b4(0x22a)](0x1,0x0,0x0,0x1,this['width'],this[_0x2d10b4(0x33f)]==='bottom'?0x0:-0x14),he[_0x2d10b4(0x2d1)](_0x8606a2,{'text':this['_name'],'color':this[_0x2d10b4(0x309)]}),_0x8606a2['restore']());}}var Ai=Object[_0x17c635(0x23d)],yi=(_0x289e49,_0xb31c7f,_0x4e0225,_0x585238)=>{const _0x3734d5=_0x17c635;for(var _0x15da37=_0x585238>0x1?void 0x0:_0x585238?Ai(_0xb31c7f,_0x4e0225):_0xb31c7f,_0x1b57f4=_0x289e49[_0x3734d5(0x25c)]-0x1,_0x2ae702;_0x1b57f4>=0x0;_0x1b57f4--)(_0x2ae702=_0x289e49[_0x1b57f4])&&(_0x15da37=_0x2ae702(_0x15da37)||_0x15da37);return _0x15da37;},ve=(_0x27b672,_0x23b50e)=>(_0x30ccf1,_0xbc32a4)=>_0x23b50e(_0x30ccf1,_0xbc32a4,_0x27b672);const $i=0x1389;let Pe=class extends _0x5c44e6{constructor(_0x229a0b,_0x5a6e38,_0x18e1a7,_0x20e790){const _0x1163f1=_0x17c635;super(),_(this,_0x1163f1(0x1f2),new Set()),_(this,_0x1163f1(0x34c),null),(this[_0x1163f1(0x2e9)]=_0x229a0b,this[_0x1163f1(0x28a)]=_0x5a6e38,this[_0x1163f1(0x277)]=_0x18e1a7,this['_themeService']=_0x20e790,this[_0x1163f1(0x384)]());}[_0x17c635(0x384)](){const _0x525792=_0x17c635;this[_0x525792(0x28a)][_0x525792(0x350)][_0x525792(0x345)](_0xc03ae9(this[_0x525792(0x386)]),_0x5a631c(_0x121b0a=>{const _0x446654=_0x525792;if(_0x121b0a){const _0x2a72f9=_0x121b0a[_0x446654(0x287)];return _0x3a9b5c(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x446654(0x1ef)]),this[_0x446654(0x1e8)][_0x446654(0x348)])[_0x446654(0x345)](_0x54cd30(([_0x514115,_0x28503e])=>{const _0x15a850=_0x446654,_0x1dbfa6=new Map();return _0x514115[_0x15a850(0x1d2)]((_0x2ddd6b,_0x410993)=>{const _0x30922c=_0x15a850;if(_0x2ddd6b[_0x30922c(0x2ca)]===_0x2a72f9){const _0x40dbdf={..._0x2ddd6b};_0x40dbdf[_0x30922c(0x31f)]=this[_0x30922c(0x1e8)][_0x30922c(0x38d)](_0x2ddd6b[_0x30922c(0x31f)]),_0x1dbfa6[_0x30922c(0x1c2)](_0x410993,_0x40dbdf);}}),{'skeleton':_0x121b0a,'cursors':_0x1dbfa6};}));}return _0x3ac931({'skeleton':null,'cursors':new Map()});}))[_0x525792(0x31b)](({skeleton:_0x579b71,cursors:_0x354613})=>{const _0x5c42ce=_0x525792;this[_0x5c42ce(0x2d5)](),_0x579b71&&this[_0x5c42ce(0x2ea)](_0x579b71,_0x354613);}),this['_sheetSkeletonManagerService'][_0x525792(0x350)]['subscribe'](_0x41c78e=>{const _0x29f1eb=_0x525792;if(_0x41c78e==null)return;const {skeleton:_0x4dded1}=_0x41c78e,{scene:_0x43cae1}=this[_0x29f1eb(0x2e9)];_0x43cae1[_0x29f1eb(0x1e9)][_0x29f1eb(0x35a)](_0x27ab95(_0x27ff97=>{const _0x3d9384=_0x29f1eb;var _0x23462b,_0x41d3bb;const {offsetX:_0x2e1b03,offsetY:_0x3d8ff1}=_0x27ff97,{x:_0x21876a,y:_0x2d6dc9}=_0x43cae1[_0x3d9384(0x37f)](_0x4e7430['FromArray']([_0x2e1b03,_0x3d8ff1])),{scaleX:_0x5bb616,scaleY:_0x33f0df}=_0x43cae1['getAncestorScale'](),_0xac86ec=_0x43cae1[_0x3d9384(0x1c9)](_0xd886c9['VIEW_MAIN']),_0x5cbd95=_0x43cae1['getVpScrollXYInfoByPosToVp'](_0x4e7430[_0x3d9384(0x34a)]([_0x21876a,_0x2d6dc9]),_0xac86ec),_0x1c8725=_0x4dded1['getCellPositionByOffset'](_0x2e1b03,_0x3d8ff1,_0x5bb616,_0x33f0df,_0x5cbd95);((_0x23462b=this[_0x3d9384(0x34c)])==null?void 0x0:_0x23462b[_0x3d9384(0x2bc)])===_0x1c8725[_0x3d9384(0x2bc)]&&((_0x41d3bb=this['_lastPointer'])==null?void 0x0:_0x41d3bb[_0x3d9384(0x377)])===_0x1c8725[_0x3d9384(0x377)]||this[_0x3d9384(0x1f2)][_0x3d9384(0x1d2)](_0x1dd66f=>{const _0x5d2f35=_0x3d9384;_0x1dd66f[_0x5d2f35(0x22e)](_0x1c8725);});},0x64));});}[_0x17c635(0x2ea)](_0x27c119,_0x4cc4a4){const _0x5d7a31=_0x17c635;var _0x577db7;const _0x15b842=(_0x577db7=this[_0x5d7a31(0x28a)][_0x5d7a31(0x352)]())==null?void 0x0:_0x577db7[_0x5d7a31(0x36d)];if(!_0x15b842)return;const _0x5c4c83=this[_0x5d7a31(0x383)]();if(!_0x5c4c83)return;this['_cursors'][_0x5d7a31(0x1d2)](_0x559021=>{const _0x1b98e0=_0x5d7a31;_0x559021[_0x1b98e0(0x1f3)]();});const {scene:_0xcaecc9}=_0x5c4c83,_0x23fc90=xi(Array[_0x5d7a31(0x239)](_0x4cc4a4[_0x5d7a31(0x2f2)]()))[_0x5d7a31(0x33c)](_0x29c97a=>{const _0x45ae7b=_0x5d7a31,{color:_0x4c3205,range:_0x602182,name:_0x2b9178,selection:_0x255e90,sheetID:_0x290b12}=_0x29c97a,{startColumn:_0xe0d6f3,startRow:_0x27838e,endColumn:_0x2ebfd2,endRow:_0x4f6c4f}=_0x602182,_0x2155c8=_0x55f2dc(_0x27838e,_0xe0d6f3,_0xcaecc9,_0x15b842),_0x44d50a=_0x55f2dc(_0x4f6c4f,_0x2ebfd2,_0xcaecc9,_0x15b842),{columnHeaderHeightAndMarginTop:_0x41db43}=_0x15b842,{startX:_0xe074b5,startY:_0x41c526}=_0x2155c8,{endX:_0x15e530,endY:_0x59eb6a}=_0x44d50a,_0x529718=_0x15e530-_0xe074b5,_0x55a563=_0x59eb6a-_0x41c526,_0x5cd16b={'labelPosition':_0x41c526-_0x41db43>=ee?_0x45ae7b(0x23b):_0x45ae7b(0x20e),'sheetID':_0x290b12,'range':_0x602182,'color':_0x4c3205,'name':_0x2b9178,'selection':_0x255e90,'left':_0xe074b5,'top':_0x41c526,'width':_0x529718,'height':_0x55a563,'evented':!0x1,'zIndex':$i};return new Li(_0x2b9178,_0x5cd16b);});_0xcaecc9[_0x5d7a31(0x29a)](_0x23fc90,wi),this[_0x5d7a31(0x1f2)]=new Set(_0x23fc90);}[_0x17c635(0x2d5)](){var _0x39df67;(_0x39df67=this['_cursors'])==null||_0x39df67['forEach'](_0x168546=>_0x168546['dispose']());}[_0x17c635(0x383)](){const _0x245349=_0x17c635;return _0x30498b(this[_0x245349(0x2e9)]['unit'],this[_0x245349(0x2e9)]);}};Pe=yi([ve(0x1,_0x2eb397(_0x25e49a)),ve(0x2,_0x2eb397(H)),ve(0x3,_0x2eb397(_0x4ffddf))],Pe);function xi(_0x511085){const _0x5a8ba2=_0x17c635,_0x20352d=new Map();return _0x511085[_0x5a8ba2(0x1d2)](_0x3e62ab=>{const _0x42f397=_0x5a8ba2;if(_0x20352d[_0x42f397(0x329)](_0x3e62ab[_0x42f397(0x371)])){const _0x286775=_0x20352d[_0x42f397(0x318)](_0x3e62ab[_0x42f397(0x371)]);_0x286775[_0x42f397(0x2bd)]+=',\x20'+_0x3e62ab[_0x42f397(0x2bd)];}else _0x20352d[_0x42f397(0x1c2)](_0x3e62ab[_0x42f397(0x371)],_0x3e62ab);}),Array[_0x5a8ba2(0x239)](_0x20352d[_0x5a8ba2(0x2f2)]());}var v=function(){return v=Object['assign']||function(_0x123134){const _0x394015=_0x13d3;for(var _0x4185d4,_0x1bf157=0x1,_0x1d9a67=arguments[_0x394015(0x25c)];_0x1bf157<_0x1d9a67;_0x1bf157++){_0x4185d4=arguments[_0x1bf157];for(var _0x93399c in _0x4185d4)Object[_0x394015(0x224)]['hasOwnProperty'][_0x394015(0x372)](_0x4185d4,_0x93399c)&&(_0x123134[_0x93399c]=_0x4185d4[_0x93399c]);}return _0x123134;},v['apply'](this,arguments);},Bi=function(_0x4f9f4f,_0x197dc4){const _0x1c939e=_0x17c635;var _0x135ba8={};for(var _0x542ddc in _0x4f9f4f)Object[_0x1c939e(0x224)][_0x1c939e(0x39e)][_0x1c939e(0x372)](_0x4f9f4f,_0x542ddc)&&_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc)<0x0&&(_0x135ba8[_0x542ddc]=_0x4f9f4f[_0x542ddc]);if(_0x4f9f4f!=null&&typeof Object[_0x1c939e(0x1c3)]=='function'){for(var _0x4587e5=0x0,_0x542ddc=Object[_0x1c939e(0x1c3)](_0x4f9f4f);_0x4587e5<_0x542ddc[_0x1c939e(0x25c)];_0x4587e5++)_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc[_0x4587e5])<0x0&&Object[_0x1c939e(0x224)][_0x1c939e(0x1d7)]['call'](_0x4f9f4f,_0x542ddc[_0x4587e5])&&(_0x135ba8[_0x542ddc[_0x4587e5]]=_0x4f9f4f[_0x542ddc[_0x4587e5]]);}return _0x135ba8;},je=_0x3e3ee3(function(_0x44016d,_0x13ea6f){const _0x16ee45=_0x17c635;var _0x5bfd2d=_0x44016d[_0x16ee45(0x244)],_0x149448=_0x44016d['id'],_0x26c061=_0x44016d[_0x16ee45(0x1ad)],_0x18f3ca=_0x44016d[_0x16ee45(0x210)],_0x1d1378=Bi(_0x44016d,['icon','id','className',_0x16ee45(0x210)]),_0x1a9572=_0x16ee45(0x2e2)[_0x16ee45(0x28c)](_0x149448,'\x20')['concat'](_0x26c061||'')[_0x16ee45(0x389)](),_0x223e50=_0x1af6e7('_'[_0x16ee45(0x28c)](ji()));return Rt(_0x5bfd2d,''['concat'](_0x149448),{'defIds':_0x5bfd2d[_0x16ee45(0x2a0)],'idSuffix':_0x223e50[_0x16ee45(0x1f1)]},v({'ref':_0x13ea6f,'className':_0x1a9572},_0x1d1378),_0x18f3ca);});function Rt(_0x24f639,_0x4c3fe0,_0x99eef2,_0x3acbfe,_0x228db6){const _0x51e275=_0x17c635;return _0x540591(_0x24f639['tag'],v(v({'key':_0x4c3fe0},ki(_0x24f639,_0x99eef2,_0x228db6)),_0x3acbfe),(Hi(_0x24f639,_0x99eef2)[_0x51e275(0x321)]||[])['map'](function(_0x545874,_0x1d4c37){const _0x2512e5=_0x51e275;return Rt(_0x545874,''[_0x2512e5(0x28c)](_0x4c3fe0,'-')[_0x2512e5(0x28c)](_0x24f639[_0x2512e5(0x2dd)],'-')[_0x2512e5(0x28c)](_0x1d4c37),_0x99eef2,void 0x0,_0x228db6);}));}function ki(_0x1929de,_0x256bd6,_0x198fe9){const _0x3d247f=_0x17c635;var _0xf07cc5=v({},_0x1929de[_0x3d247f(0x1d4)]);_0x198fe9!=null&&_0x198fe9[_0x3d247f(0x258)]&&_0xf07cc5[_0x3d247f(0x228)]===_0x3d247f(0x258)&&(_0xf07cc5['fill']=_0x198fe9[_0x3d247f(0x258)]),_0x1929de[_0x3d247f(0x2dd)]==='mask'&&_0xf07cc5['id']&&(_0xf07cc5['id']=_0xf07cc5['id']+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x463e7b){const _0x16b1e9=_0x3d247f;var _0x2682a6=_0x463e7b[0x0],_0x2929c1=_0x463e7b[0x1];_0x2682a6===_0x16b1e9(0x25a)&&typeof _0x2929c1==_0x16b1e9(0x3a1)&&(_0xf07cc5[_0x2682a6]=_0x2929c1[_0x16b1e9(0x1cb)](/url\(#(.*)\)/,_0x16b1e9(0x216)[_0x16b1e9(0x28c)](_0x256bd6['idSuffix'],')')));});var _0x281e0=_0x256bd6[_0x3d247f(0x2a0)];return!_0x281e0||_0x281e0['length']===0x0||(_0x1929de[_0x3d247f(0x2dd)]===_0x3d247f(0x355)&&_0xf07cc5[_0x3d247f(0x1ae)]&&(_0xf07cc5[_0x3d247f(0x1ae)]=_0xf07cc5[_0x3d247f(0x1ae)]+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x179a91){const _0x26eb61=_0x3d247f;var _0x1f592f=_0x179a91[0x0],_0x5d362a=_0x179a91[0x1];typeof _0x5d362a==_0x26eb61(0x3a1)&&(_0xf07cc5[_0x1f592f]=_0x5d362a[_0x26eb61(0x1cb)](/url\(#(.*)\)/,_0x26eb61(0x216)['concat'](_0x256bd6['idSuffix'],')')));})),_0xf07cc5;}function Hi(_0x437b94,_0x50d0fd){const _0x7e121d=_0x17c635;var _0x3e5de2,_0x53342c=_0x50d0fd['defIds'];return!_0x53342c||_0x53342c[_0x7e121d(0x25c)]===0x0?_0x437b94:_0x437b94[_0x7e121d(0x2dd)]===_0x7e121d(0x1f0)&&(!((_0x3e5de2=_0x437b94[_0x7e121d(0x321)])===null||_0x3e5de2===void 0x0)&&_0x3e5de2[_0x7e121d(0x25c)])?v(v({},_0x437b94),{'children':_0x437b94['children'][_0x7e121d(0x33c)](function(_0x383840){const _0x5ee2ca=_0x7e121d;return typeof _0x383840[_0x5ee2ca(0x1d4)]['id']=='string'&&_0x53342c&&_0x53342c[_0x5ee2ca(0x238)](_0x383840[_0x5ee2ca(0x1d4)]['id'])?v(v({},_0x383840),{'attrs':v(v({},_0x383840[_0x5ee2ca(0x1d4)]),{'id':_0x383840[_0x5ee2ca(0x1d4)]['id']+_0x50d0fd[_0x5ee2ca(0x29c)]})}):_0x383840;})}):_0x437b94;}function ji(){const _0x2dc0a3=_0x17c635;return Math[_0x2dc0a3(0x25f)]()[_0x2dc0a3(0x207)](0x24)['substring'](0x2,0x8);}je[_0x17c635(0x1ee)]=_0x17c635(0x2bb);var Yi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':_0x17c635(0x205),'fill':'none','viewBox':_0x17c635(0x2d9),'width':_0x17c635(0x2f7),'height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x17c635(0x266)},'children':[{'tag':'path','attrs':{'stroke':_0x17c635(0x38b),'d':_0x17c635(0x275),'strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':_0x17c635(0x349)},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x17c635(0x349)]},Dt=_0x3e3ee3(function(_0x261352,_0x3d3706){const _0x2dad7e=_0x17c635;return _0x540591(je,Object[_0x2dad7e(0x2e6)]({},_0x261352,{'id':_0x2dad7e(0x32b),'ref':_0x3d3706,'icon':Yi}));});Dt[_0x17c635(0x1ee)]='OffLineIcon';var Fi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x17c635(0x1f7),'width':'1em','height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'stroke':_0x17c635(0x38b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z','transform':_0x17c635(0x236)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3ee3(function(_0x302b09,_0x2ec3b5){const _0x40de27=_0x17c635;return _0x540591(je,Object['assign']({},_0x302b09,{'id':_0x40de27(0x327),'ref':_0x2ec3b5,'icon':Fi}));});Nt['displayName']=_0x17c635(0x303);function Wi(_0x3d33d9){const _0x52e700=_0x17c635;switch(_0x3d33d9){case _0x2affd3['OFFLINE']:return'collabStatus.offline';case _0x2affd3[_0x52e700(0x359)]:return _0x52e700(0x2ba);case _0x2affd3[_0x52e700(0x267)]:return _0x52e700(0x2ee);case _0x2affd3[_0x52e700(0x392)]:return _0x52e700(0x1ed);case _0x2affd3[_0x52e700(0x38f)]:case _0x2affd3[_0x52e700(0x229)]:return'collabStatus.syncing';case _0x2affd3[_0x52e700(0x1e4)]:case _0x2affd3[_0x52e700(0x27c)]:return _0x52e700(0x27f);}}function Vi(_0x70e917){const _0x29143e=_0x17c635,{status$:_0x381b1b}=_0x70e917,_0x295305=_0x1756a6(_0x381b1b,_0x2affd3[_0x29143e(0x392)]),_0x4a377e=_0x1558ad(_0x1123b3),_0x11bfc8=_0x1558ad(_0x4a7bfc),_0x3ffee4=_0x295305!==_0x2affd3[_0x29143e(0x32f)],_0x64e475=_0x4a377e['t'](Wi(_0x295305)),_0x3e2ebe=_0x3ffee4?_0x30f419(Nt,{}):_0x30f419(Dt,{}),_0x188edb=_0x5e76e6(()=>{_0x3ffee4||_0x11bfc8['reconnect']();},[_0x3ffee4,_0x11bfc8]);function _0x10ec13(){const _0x1f4dad=_0x29143e;return _0xf931a5(_0x1f4dad(0x284),{'className':_0x1f4dad(0x2ad),'onClick':_0x188edb,'children':[_0x30f419(_0x1f4dad(0x284),{'className':_0x8ec4b2(_0x1f4dad(0x26a),{'univer-text-green-500':_0x3ffee4,'univer-text-red-500':!_0x3ffee4}),'children':_0x3e2ebe}),_0x30f419(_0x1f4dad(0x284),{'className':_0x1f4dad(0x265),'children':_0x64e475})]});}return _0x3ffee4?_0x10ec13():_0x30f419(_0x1a9e1d,{'title':_0x4a377e['t'](_0x29143e(0x1fd)),'children':_0x10ec13()});}var Xi=Object[_0x17c635(0x23d)],Gi=(_0x4df382,_0x4b5f08,_0x2d1f66,_0x46e36d)=>{const _0xa69da1=_0x17c635;for(var _0x273c3a=_0x46e36d>0x1?void 0x0:_0x46e36d?Xi(_0x4b5f08,_0x2d1f66):_0x4b5f08,_0x2503ea=_0x4df382[_0xa69da1(0x25c)]-0x1,_0x13beb6;_0x2503ea>=0x0;_0x2503ea--)(_0x13beb6=_0x4df382[_0x2503ea])&&(_0x273c3a=_0x13beb6(_0x273c3a)||_0x273c3a);return _0x273c3a;},Q=(_0x5725af,_0x2f42f9)=>(_0x4222c2,_0x474ed7)=>_0x2f42f9(_0x4222c2,_0x474ed7,_0x5725af);let te=class extends _0x629666{constructor(_0x3f463d,_0x567230,_0x5bb513,_0x102a25){const _0x261d28=_0x17c635;super(),_(this,'_status$',new _0x5db965(_0x2affd3[_0x261d28(0x392)])),(this['_univerInstanceService']=_0x3f463d,this[_0x261d28(0x25b)]=_0x567230,this[_0x261d28(0x1cf)]=_0x5bb513,this[_0x261d28(0x373)]=_0x102a25,this[_0x261d28(0x271)](),this[_0x261d28(0x366)]());}[_0x17c635(0x366)](){const _0x2a09a7=_0x17c635;this['disposeWithMe'](this[_0x2a09a7(0x1a2)][_0x2a09a7(0x311)][_0x2a09a7(0x345)](_0x4fcdee(()=>{const _0x3d1f1e=_0x2a09a7,_0x23827f=this['_univerInstanceService'][_0x3d1f1e(0x1a6)]();return _0x23827f?this['_collaborationController']['getCollabEntity$'](_0x23827f[_0x3d1f1e(0x21b)]()):_0x3ac931(null);}),_0x4fcdee(_0x4ad51e=>_0x4ad51e?_0x4ad51e[_0x2a09a7(0x23e)]:_0x3ac931(_0x2affd3[_0x2a09a7(0x392)])))[_0x2a09a7(0x31b)](_0x3283b4=>{this['_status$']['next'](_0x3283b4);}));}[_0x17c635(0x271)](){const _0x399f1f=_0x17c635;this[_0x399f1f(0x322)](this[_0x399f1f(0x373)][_0x399f1f(0x1ec)](_0x56bc18['HEADER_MENU'],()=>_0xcefb2d(Ki({'status$':this['_status$'][_0x399f1f(0x300)]()}),this[_0x399f1f(0x25b)])));}};te=Gi([Q(0x0,_0x26b67a),Q(0x1,_0x2eb397(_0x597056)),Q(0x2,_0x2eb397(_0x5b2169)),Q(0x3,_0x1dd70f)],te);function Ki(_0x1cd1ad){const {status$:_0x3e2711}=_0x1cd1ad;return function(){return _0x30f419(Vi,{'status$':_0x3e2711});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x291b10,_0x21e403,_0x340ab9,_0x13926d)=>{const _0x31cdb1=_0x17c635;for(var _0x24fa35=_0x13926d>0x1?void 0x0:_0x13926d?zi(_0x21e403,_0x340ab9):_0x21e403,_0x265e84=_0x291b10[_0x31cdb1(0x25c)]-0x1,_0x34f207;_0x265e84>=0x0;_0x265e84--)(_0x34f207=_0x291b10[_0x265e84])&&(_0x24fa35=_0x34f207(_0x24fa35)||_0x24fa35);return _0x24fa35;},B=(_0x4a0b18,_0x39e3eb)=>(_0x384c32,_0x29a12a)=>_0x39e3eb(_0x384c32,_0x29a12a,_0x4a0b18);let se=class extends _0x629666{constructor(_0x2f98b3,_0x9750f2,_0x2ac690,_0x538c96,_0x59cc8d,_0x48b597){const _0x302716=_0x17c635;super(),this[_0x302716(0x1dc)]=_0x2f98b3,this['_localCacheService']=_0x9750f2,this[_0x302716(0x2b3)]=_0x2ac690,this[_0x302716(0x261)]=_0x538c96,this[_0x302716(0x365)]=_0x59cc8d,this[_0x302716(0x387)]=_0x48b597,this[_0x302716(0x306)](),this['_initEvent']();}[_0x17c635(0x306)](){const _0x58df74=_0x17c635;this[_0x58df74(0x322)](this[_0x58df74(0x1dc)][_0x58df74(0x215)](()=>{const _0x54382b=_0x58df74;if(this['_localCacheService'][_0x54382b(0x2a1)][_0x54382b(0x325)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x17c635(0x37c)](){const _0x19fbcc=_0x17c635;this[_0x19fbcc(0x322)](this[_0x19fbcc(0x2b3)]['event$'][_0x19fbcc(0x31b)](_0x2390e0=>{const _0x2ad9f6=_0x19fbcc;_0x2390e0['id']===_0x23a4aa['OTHER_CLIENT_EDITING']&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this['_localeService']['t'](_0x2ad9f6(0x2a9))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x248)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x220))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x357)]&&this[_0x2ad9f6(0x365)][_0x2ad9f6(0x270)]({'title':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x336)),'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x1b4)),'type':_0x2ad9f6(0x1c7),'duration':0x0}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x359)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Error'],'content':this['_localeService']['t'](_0x2ad9f6(0x220))+'('+_0x2390e0['data']+')'}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x26f)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2390e0[_0x2ad9f6(0x2d8)]||'')}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x297)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x35b))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x332)]&&this['_messageService'][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this['_localeService']['t'](_0x2ad9f6(0x34e))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x368)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x31d))});}));}};se=Ji([B(0x0,_0x4195b2),B(0x1,_0x12eac7),B(0x2,_0x2eb397(_0x217d1b)),B(0x3,_0x2d0054),B(0x4,_0xec008e),B(0x5,_0x2eb397(_0x1123b3))],se);function _0xf6ea(){const _0x8161db=['getCurrentUnitForType','whenReady','range','_scheduleHeartbeat','collaboration.closeRoom','ENSURE_SNAPSHOT_EXECUTION','_entities','_urlService','prototype','disposeUnit','UNIVER_SHEET','_collabSessionService','fill','AWAITING_WITH_PENDING','transform','pushState','_scheduleClearOtherTimer','isActive','onMouseMove','_colorAssignService','_updateSubUnitFromURLParams','_localStorageService','_scene','_commandService','transformStateCache','setParam','translate(.97)','endColumn','includes','from','getConfig','top','_cursorShapes','getOwnPropertyDescriptor','status$','type','UPDATE_CURSOR','subunit','debug','MUTATION','icon','TOO_MANY_REQUESTS','_docTransformStateCacheService','runOnServer','CLOSE_ROOM','NOT_FOUND','save','transformMutationsWithChangeset','_backgroundColor','executeCommand','MoveRangeCommandId','push','_handleEvent','_shapes','[CollaborationDataLoaderController]','application/json','getMemberID','314872UGiByC','getUnitStatus$','executionId','colorChannel1','split','mask','_injector','length','_instanceService','add','random','getUndoRedoMutationParamsCache','_messageService','_onRefRangeChange','mutations','UNDEFINED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#off-line-icon_clip0_910_343)','FETCH_MISS','_hideTimer','roomMembers$','univer-flex\x20univer-mr-2\x20univer-text-xl','setItem','searchParams','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','JOIN_ROOM_FAILED','show','_initStatusComponent','INVALID_ARGUMENT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','init','_collabCursorController','_range','_send','_anchor','event$','PENDING','_cursorInfo$','sessionTicket','collabStatus.synced','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','purple.300','contains','div','getMember','generateRandomId','sheetId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','33qYThEJ','_sheetSkeletonManagerService','_handleLeaveEvent','concat','1151544AfqVzq','onLocalMutation','_updateLocalCursor','onPointerEnter$','collaboration-client-ui.config','invokeId','LICENSE_EXPORT_SIZE_EXCEEDED','_session','removeParam','_doCreateSocket','SOCKET_FAILED_RETRY','UNAUTHENTICATED','dispose','addObjects','APPLY_PERMISSION_DENIED','idSuffix','setInterval','20ddUTqf','USERS_LEAVE','defIds','saveTaskMap','RECT','_logService','triggerDblclick','black','addEventListener','_drawAnchor','clipPath','collaboration.single-unit.warning','_docSyncEditingCollabCursorService','evenodd','_clearOtherTimers','univer-flex\x20univer-items-center','ranges','jiqing.500','_updateURLWithCurrentState','createSocket','round','_collaborationUIEventService','findNodePositionByCharIndex','setShapeProps','closePath','getValue','eventID','collab-text-anchor-','collabStatus.conflict','UniverIcon','column','name','146zxKQlg','backgroundColor','_createSocketURL','_collabCursorState$','_refRangeService','_initEntityListener','transformSelections','unshift','redoState','APPLY_DUPLICATED','white','some','sheetID','_cursor','_disabled','beginPath','_httpService','getCurrentRevOfUnit','svg','drawWith','fillText','yellow.400','YUUMI_AI_RUN_FAILED','_removeCollabCursors','editingUnit','_syncEditingCollabCursorService','data','0\x200\x2016\x2016','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','body','flatMap','tag','_docTransformSelectionsService','/run/','INVITE_CODE_REQUIRED','_handleHover','univerjs-icon\x20univerjs-icon-','complete','getSheetId','key','assign','Warning','then','_context','_updateCollabCursors','actions','loadOfflineData','_memberService','collabStatus.fetchMiss','undoState','startColumn','_initResize','values','LICENSE_IMPORT_SIZE_EXCEEDED','delete','cursorInfo','history','1em','_onCursorUpdate','getSheetBySheetId','wsSessionTicketUrl','href','_saveTaskMap','fillRule','_online','newValue','asObservable','post','_revisionService','OnLineIcon','unit','addHandlerCallback','_setupBeforeClosingHandler','unload','addObject','_color','INVALID_INVITE_CODE','disableLocalCache','urlChange$','Failed','CONNECTOR_DATA_TOO_LARGE','YUUMI_SUBSCRIPTION_NOT_FOUND','unitID','focused$','entries','RemoveRowCommandId','_dataLoaderService','hovered','createInstance','1247016kJlVkG','get','ALREADY_EXISTS','_toggleOnline','subscribe','_renderManagerService','session.collaboration-timeout','setStateCache','color','getCurrentSelections','children','disposeWithMe','WECHAT_HAS_BEEN_BOUND','_getScale','size','_docStateChangeManagerService','on-line-icon','_anchorDot','has','next','off-line-icon','transformByState','registerRefRange','path','OFFLINE','setConfig','_getSessionTicket','SOCKET_FAILED','TEXT','doc.mutation.rich-text-editing','#FFF','permission.title','send','_setupSubUnitSync','_unitOnClients','with','setActiveRange','map','_name','_initCommandExecutedListener','_labelPosition','isArray','InsertRowCommandId','code','subUnitId','getUniverSheetInstance','pipe','collab-rect-range-','_saveCache','currentTheme$','off-line-icon_clip0_910_343','FromArray','_unitStatus','_lastPointer','transformRemoteChangeset','session.connection-failed','getActiveSheet','currentSkeleton$','RemoveColCommandId','getCurrent','_draw','imageSourceType','use','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','CONFLICT','subscribeEvent','session.will-retry','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refreshCollabCursors','selections','_document','startRow','_removeClearOtherTimer','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','_initStatusListener','_eventUnsubscribe','SUBMIT_CHANGESET_TIMEOUT','_transformUndoRedoStack','unsubscribe','_toggleOffline','transformMutation','skeleton','ONLINE','min','_docClipboardService','selection','call','_uiPartsService','NO_OTHER_CLIENTS_EDITING','red.300','_docTransformIMECacheService','row','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_assignedColors','width','registerRenderModule','_initEvent','12175QuJaqd','labelPosition','getRelativeToViewportCoord','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','result','endRow','_getSheetObject','_init','_textBubble','dispose$','_localeService','source','trim','blue.400','currentColor','_ensureSubject','getColorFromTheme','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','_registerDependencies','m2Prime','NOT_COLLAB','_getSaveTimeout','pluginName','stringify','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','_colorIndex','_roomMembers$','params','LICENSE_MAX_UNITS_EXCEEDED','arc','max','hasOwnProperty','UNIVER_DOC','font','string','CHANGESET_REVISION_CONFILICT','getCollabCursors$','SNAPSHOT_INVALID_SNAPSHOT','5941170rZvmQg','USER_NOT_INVITED_CODE','requireSession','location','_univerInstanceService','...','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','getFocusedUnit','_heartbeatTimer','getStateCache','_drawTextRange','docStateChange$','setAlpha','memberID','className','xlink:href','_configService','engine','assignAColorForMemberID','getRenderById','APPLY_REVISION_CONFILICT','permission.content','enableLocalCache','replaceDocRanges','clearInterval','_handleHeartbeatEvent','lineTo','_handleJoinEvent','collabCursorState$','popstate','indexOf','deepClone','_docSkeletonManagerService','onPointerLeave$','text','set','getOwnPropertySymbols','_transformHistoryAndStateStack','_startDocCollabCursor','restore','error','getParam','getViewport','YUUMI_ASYNCIO_CANCELLED','replace','_status$','roomMembers','toRgbString','_collaborationController','_drawRectRange','getSkeleton','forEach','onCommandExecuted','attrs','2382513lgtGMG','InsertColCommandId','propertyIsEnumerable','resize','_registerRenderDependencies','36bchJPz','hide','_beforeCloseService','_id','getTypeOfUnitAdded$','activeSheet$','getDocRanges','moveTo','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','SYNCED','INVITE_CODE_ALREADY_BOUND','_render','textRanges','_themeService','onPointerMove$','m1Prime','defineProperty','registerComponent','collabStatus.notCollab','displayName','unitId','defs','current','_cursors','makeDirty','measureText','_startSheetCollabCursor','_hovered','0\x200\x2017\x2016','_selfUnitIDs','InsertRangeMoveDownCommandId','INTERNAL_ERROR','transformIMECache','onRendered','collab-client.tooltip.reconnect','green.600','replaceState','_docSkeleton','symbol','Error','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','http://www.w3.org/2000/svg','sessionStatus$','toString','YUUMI_ALL_TABLES_IS_INVALID','_cachedData','Unknown\x20user','runId','height','PY_RUNTIME_SCRIPT_ERROR','bottom','_getMergeRange','extend','3389736TfjIXQ','InsertRangeMoveRightCommandId','_entityInit$','_onCursorDelete','registerBeforeClose','url(#$1','isEditing','cursorInfo$','UNRECOGNIZED','getItem','getUnitId'];_0xf6ea=function(){return _0x8161db;};return _0xf6ea();}const Zi=_0x17c635(0x291),et={},Ut=_0x284797('uni.network.url-service');var Qi=Object[_0x17c635(0x23d)],qi=(_0x5bf793,_0x2b5818,_0x51cb2b,_0x5bbcce)=>{const _0x372479=_0x17c635;for(var _0x25be08=_0x5bbcce>0x1?void 0x0:_0x5bbcce?Qi(_0x2b5818,_0x51cb2b):_0x2b5818,_0x345aac=_0x5bf793[_0x372479(0x25c)]-0x1,_0x2de342;_0x345aac>=0x0;_0x345aac--)(_0x2de342=_0x5bf793[_0x345aac])&&(_0x25be08=_0x2de342(_0x25be08)||_0x25be08);return _0x25be08;},G=(_0x239163,_0x51daef)=>(_0x543428,_0xcdee7a)=>_0x51daef(_0x543428,_0xcdee7a,_0x239163);let ie=class extends _0x5c44e6{constructor(_0x1a8f96,_0x3f9c31,_0x59663b,_0x39aa35,_0x30444a){const _0x5e02c7=_0x17c635;super(),this[_0x5e02c7(0x223)]=_0x1a8f96,this['_logService']=_0x3f9c31,this[_0x5e02c7(0x233)]=_0x59663b,this[_0x5e02c7(0x314)]=_0x39aa35,_0x30444a?_0x30444a==null||_0x30444a[_0x5e02c7(0x21d)]()[_0x5e02c7(0x2e8)](()=>this['_init']()):(this['_logService'][_0x5e02c7(0x242)](_0x5e02c7(0x252),_0x5e02c7(0x26e)),this[_0x5e02c7(0x384)]());}async[_0x17c635(0x384)](){const _0xbc4304=_0x17c635,_0x1bf939=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x304)),_0x2a87a4=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x23f)),_0x10645e=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)]('subunit');if(!_0x1bf939||!_0x2a87a4){this[_0xbc4304(0x2a3)][_0xbc4304(0x242)](_0xbc4304(0x252),_0xbc4304(0x273));return;}const _0x33cdaa=await this['_dataLoaderService']['loadUnit'](_0x1bf939,Number(_0x2a87a4),_0x10645e);_0x33cdaa&&_0x33cdaa instanceof _0x9a8bc3&&this[_0xbc4304(0x338)](_0x33cdaa);}async[_0x17c635(0x338)](_0x22da6c){const _0x525b28=_0x17c635;await this[_0x525b28(0x230)](_0x22da6c),_0x22da6c[_0x525b28(0x1df)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))['subscribe'](_0x5dafce=>{const _0x37bd3b=_0x525b28;_0x5dafce&&this[_0x37bd3b(0x2b0)](_0x5dafce);}),this[_0x525b28(0x223)][_0x525b28(0x30c)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))[_0x525b28(0x31b)](()=>this[_0x525b28(0x230)](_0x22da6c));}[_0x17c635(0x2b0)](_0x14d5bd,_0x7fdb81=!0x1){const _0x508920=_0x17c635,_0x58f31e=this[_0x508920(0x223)][_0x508920(0x1c8)]('subunit');_0x14d5bd[_0x508920(0x2e4)]()!==_0x58f31e&&this['_urlService'][_0x508920(0x235)](_0x508920(0x241),_0x14d5bd['getSheetId'](),_0x7fdb81);}async[_0x17c635(0x230)](_0x1be852){const _0x18e368=_0x17c635;var _0x3e0cd0;const _0x186ede=this[_0x18e368(0x223)][_0x18e368(0x1c8)](_0x18e368(0x241));if(!_0x186ede||!_0x1be852[_0x18e368(0x2f9)](_0x186ede)){const _0x2fd6a3=_0x1be852['getUnhiddenWorksheets']()[0x0],_0x3ffd05=_0x1be852[_0x18e368(0x2f9)](_0x2fd6a3);if(!_0x3ffd05)return;this[_0x18e368(0x2b0)](_0x3ffd05,!0x0),await this[_0x18e368(0x233)][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x2fd6a3});return;}((_0x3e0cd0=_0x1be852[_0x18e368(0x34f)]())==null?void 0x0:_0x3e0cd0[_0x18e368(0x2e4)]())!==_0x186ede&&await this['_commandService'][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x186ede});}};ie=qi([G(0x0,Ut),G(0x1,_0xaeedb1),G(0x2,_0x35ee2f),G(0x3,_0x2eb397(_0x18d58b)),G(0x4,_0x481c91(_0x5210e0))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1f8db8,_0x27754f,_0x1fe9e4,_0x68d857)=>{const _0x326f07=_0x17c635;for(var _0x21718e=_0x68d857>0x1?void 0x0:_0x68d857?en(_0x27754f,_0x1fe9e4):_0x27754f,_0x483ea6=_0x1f8db8[_0x326f07(0x25c)]-0x1,_0x14e467;_0x483ea6>=0x0;_0x483ea6--)(_0x14e467=_0x1f8db8[_0x483ea6])&&(_0x21718e=_0x14e467(_0x21718e)||_0x21718e);return _0x21718e;},pe=(_0x3aedcc,_0x1d1cf5)=>(_0x256a72,_0x51352c)=>_0x1d1cf5(_0x256a72,_0x51352c,_0x3aedcc);let ne=class{constructor(_0x1561e3,_0x2bf332,_0x4145cd){const _0x513458=_0x17c635;this[_0x513458(0x25b)]=_0x1561e3,this[_0x513458(0x363)]=_0x2bf332,this[_0x513458(0x31c)]=_0x4145cd;}[_0x17c635(0x1fb)](_0x2182bb){const _0x33d90b=_0x17c635;this[_0x33d90b(0x369)](_0x2182bb),this[_0x33d90b(0x35c)](_0x2182bb);}[_0x17c635(0x34d)](_0x16c44d){const _0x420ea6=_0x17c635,{unitID:_0x4f381a}=_0x16c44d,_0x2f93d4=this[_0x420ea6(0x31c)]['getRenderById'](_0x4f381a)[_0x420ea6(0x33a)](_0x7411a1),{redoCache:_0x211995}=_0x2f93d4[_0x420ea6(0x260)]();if(_0x211995['length']===0x0)return _0x16c44d;let _0x53b12f=_0x450a88[_0x420ea6(0x1be)](_0x16c44d[_0x420ea6(0x263)][0x0]);for(let _0x23dc9a=0x0;_0x23dc9a<_0x211995[_0x420ea6(0x25c)];_0x23dc9a++){const _0x43d298={'id':_0x420ea6(0x334),'params':{..._0x211995[_0x23dc9a]}},_0x4e42b1=this[_0x420ea6(0x363)][_0x420ea6(0x36c)](_0x53b12f,_0x43d298,!0x1);if(_0x280807(_0x4e42b1))throw _0x4e42b1[_0x420ea6(0x1c7)];_0x53b12f=_0x4e42b1[_0x420ea6(0x1ea)];}return{..._0x450a88['deepClone'](_0x16c44d),'mutations':[_0x53b12f]};}[_0x17c635(0x369)](_0x41b290){const _0x3256d8=_0x17c635,{unitID:_0x2dc119}=_0x41b290,_0x121eb4=this[_0x3256d8(0x31c)][_0x3256d8(0x1b2)](_0x2dc119)[_0x3256d8(0x33a)](_0x7411a1),{undoCache:_0x55e511,redoCache:_0x5c6f5a}=_0x121eb4[_0x3256d8(0x260)]();if(_0x55e511[_0x3256d8(0x25c)]===0x0||_0x5c6f5a[_0x3256d8(0x25c)]===0x0)return;const _0x4b1b36=[],_0xf48ba3=[];let _0x1252f2=_0x450a88['deepClone'](_0x41b290[_0x3256d8(0x263)][0x0]),_0x299404=_0x450a88['deepClone'](_0x41b290['mutations'][0x0]);for(let _0x55be20=_0x55e511['length']-0x1;_0x55be20>=0x0;_0x55be20--){const _0x16511c={'id':'doc.mutation.rich-text-editing','params':{..._0x55e511[_0x55be20]}},_0x494c24={'id':_0x3256d8(0x334),'params':{..._0x5c6f5a[_0x55be20]}},_0x4f9c44=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x1252f2,_0x16511c,!0x1),_0x4cd043=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x299404,_0x494c24,!0x1);if(_0x280807(_0x4f9c44))throw _0x4f9c44[_0x3256d8(0x1c7)];if(_0x280807(_0x4cd043))throw _0x4cd043[_0x3256d8(0x1c7)];_0x4b1b36[_0x3256d8(0x2c5)](_0x4f9c44[_0x3256d8(0x391)]['params']),_0xf48ba3[_0x3256d8(0x2c5)](_0x4cd043['m2Prime'][_0x3256d8(0x39a)]),_0x1252f2=_0x4f9c44[_0x3256d8(0x1ea)],_0x299404=_0x4cd043['m1Prime'];}_0x121eb4['setUndoRedoMutationParamsCache']({'undoCache':_0x4b1b36,'redoCache':_0xf48ba3});}[_0x17c635(0x35c)](_0x727ce9){const _0x3b3f2e=_0x17c635,{unitID:_0x140d30}=_0x727ce9,_0x4fa744=this['_renderManagerService']['getRenderById'](_0x140d30)['with'](_0x7411a1),_0x135723=_0x4fa744['getActiveRange']();if(_0x135723==null)return;const _0x3f2ec2=[{'id':_0x3b3f2e(0x334),'params':{'unitId':_0x727ce9[_0x3b3f2e(0x310)],'actions':null,'textRanges':[_0x135723]}}],_0x269af4=this[_0x3b3f2e(0x363)][_0x3b3f2e(0x24b)](_0x727ce9,_0x3f2ec2);if(!_0x4cde3c(_0x269af4))throw _0x269af4[_0x3b3f2e(0x1c7)];const _0x4da787=_0x269af4['m2Prime'][0x0]['params']['textRanges'];Array[_0x3b3f2e(0x340)](_0x4da787)&&_0x4da787[_0x3b3f2e(0x25c)]&&_0x4fa744[_0x3b3f2e(0x33b)](_0x4da787[0x0]);}};ne=tn([pe(0x0,_0x2eb397(_0x597056)),pe(0x1,_0x51dc78),pe(0x2,_0x5c59f7)],ne);var sn=Object[_0x17c635(0x23d)],nn=(_0x4e6cff,_0x7d51a2,_0x38438a,_0x39809a)=>{const _0x40c5f9=_0x17c635;for(var _0x514929=_0x39809a>0x1?void 0x0:_0x39809a?sn(_0x7d51a2,_0x38438a):_0x7d51a2,_0x4acaeb=_0x4e6cff[_0x40c5f9(0x25c)]-0x1,_0x431e85;_0x4acaeb>=0x0;_0x4acaeb--)(_0x431e85=_0x4e6cff[_0x4acaeb])&&(_0x514929=_0x431e85(_0x514929)||_0x514929);return _0x514929;},Ce=(_0x2c862f,_0x2d8bff)=>(_0x5bfc06,_0xb17fb2)=>_0x2d8bff(_0x5bfc06,_0xb17fb2,_0x2c862f);let re=class{constructor(_0x436caa,_0x52a5db,_0x35683f){const _0x3ec0ae=_0x17c635;this[_0x3ec0ae(0x25b)]=_0x436caa,this[_0x3ec0ae(0x363)]=_0x52a5db,this[_0x3ec0ae(0x326)]=_0x35683f;}[_0x17c635(0x234)](_0x154f44){const _0x4ea049=_0x17c635;this[_0x4ea049(0x1c4)](_0x154f44);}[_0x17c635(0x34d)](_0x4e6472){const _0x4821b5=_0x17c635,{unitID:_0x4c4440}=_0x4e6472,{collaboration:_0x24846a}=this[_0x4821b5(0x326)][_0x4821b5(0x1a8)](_0x4c4440);if(_0x24846a[_0x4821b5(0x25c)]===0x0)return _0x4e6472;let _0x34c72f=_0x450a88[_0x4821b5(0x1be)](_0x4e6472[_0x4821b5(0x263)][0x0]);for(let _0x5d0689=0x0;_0x5d0689<_0x24846a[_0x4821b5(0x25c)];_0x5d0689++){const _0x277340={'id':_0x4821b5(0x334),'params':{'unitId':_0x24846a[_0x5d0689][_0x4821b5(0x1ef)],..._0x24846a[_0x5d0689]['redoState']}},_0x1ae7bc=this[_0x4821b5(0x363)][_0x4821b5(0x36c)](_0x34c72f,_0x277340,!0x1);if(_0x280807(_0x1ae7bc))throw _0x1ae7bc['error'];_0x34c72f=_0x1ae7bc[_0x4821b5(0x1ea)];}return{..._0x450a88['deepClone'](_0x4e6472),'mutations':[_0x34c72f]};}['_transformHistoryAndStateStack'](_0xb7c685){const _0x54b9f9=_0x17c635,{unitID:_0x5e2950}=_0xb7c685,{history:_0x4d1399,collaboration:_0x1c6cb8}=this['_docStateChangeManagerService'][_0x54b9f9(0x1a8)](_0x5e2950);if(_0x4d1399[_0x54b9f9(0x25c)]===0x0&&_0x1c6cb8[_0x54b9f9(0x25c)]===0x0)return;const _0x350ebd=[],_0x2080fd=[];let _0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x3a4675=_0x4d1399[_0x54b9f9(0x25c)]-0x1;_0x3a4675>=0x0;_0x3a4675--){const _0x4d3e53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1399[_0x3a4675][_0x54b9f9(0x1ef)],..._0x4d1399[_0x3a4675]['undoState']}},_0x151854={'id':_0x54b9f9(0x334),'params':{'unitId':_0x4d1399[_0x3a4675]['unitId'],..._0x4d1399[_0x3a4675][_0x54b9f9(0x2c6)]}},_0x5a937f=this['_transformService']['transformMutation'](_0x226d2d,_0x4d3e53,!0x1),_0x4d588a=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x151854,!0x1);if(_0x280807(_0x5a937f))throw _0x5a937f['error'];if(_0x280807(_0x4d588a))throw _0x4d588a[_0x54b9f9(0x1c7)];_0x350ebd['unshift']({..._0x4d1399[_0x3a4675],'undoState':_0x5a937f['m2Prime'][_0x54b9f9(0x39a)],'redoState':_0x4d588a[_0x54b9f9(0x391)]['params']}),_0x226d2d=_0x5a937f[_0x54b9f9(0x1ea)],_0x445c48=_0x4d588a[_0x54b9f9(0x1ea)];}_0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x2d1472=_0x1c6cb8[_0x54b9f9(0x25c)]-0x1;_0x2d1472>=0x0;_0x2d1472--){const _0x4783c3={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2ef)]}},_0x3b7cbd={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2c6)]}},_0x5c1321=this[_0x54b9f9(0x363)]['transformMutation'](_0x226d2d,_0x4783c3,!0x1),_0x17aed7=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x3b7cbd,!0x1);if(_0x280807(_0x5c1321))throw _0x5c1321[_0x54b9f9(0x1c7)];if(_0x280807(_0x17aed7))throw _0x17aed7[_0x54b9f9(0x1c7)];_0x2080fd[_0x54b9f9(0x2c5)]({..._0x1c6cb8[_0x2d1472],'undoState':_0x5c1321[_0x54b9f9(0x391)][_0x54b9f9(0x39a)],'redoState':_0x17aed7[_0x54b9f9(0x391)][_0x54b9f9(0x39a)]}),_0x226d2d=_0x5c1321[_0x54b9f9(0x1ea)],_0x445c48=_0x17aed7[_0x54b9f9(0x1ea)];}this[_0x54b9f9(0x326)][_0x54b9f9(0x31e)](_0x5e2950,{'history':_0x350ebd,'collaboration':_0x2080fd});}};re=nn([Ce(0x0,_0x2eb397(_0x597056)),Ce(0x1,_0x51dc78),Ce(0x2,_0x2eb397(_0x5dcdf5))],re);var rn=Object[_0x17c635(0x23d)],on=(_0x241391,_0x3f643c,_0x50e1f1,_0x378b53)=>{const _0x2aa8ca=_0x17c635;for(var _0x2c49f9=_0x378b53>0x1?void 0x0:_0x378b53?rn(_0x3f643c,_0x50e1f1):_0x3f643c,_0x667623=_0x241391[_0x2aa8ca(0x25c)]-0x1,_0xe99ac2;_0x667623>=0x0;_0x667623--)(_0xe99ac2=_0x241391[_0x667623])&&(_0x2c49f9=_0xe99ac2(_0x2c49f9)||_0x2c49f9);return _0x2c49f9;},tt=(_0x2863a9,_0x4a59aa)=>(_0x3afed5,_0x5d6f11)=>_0x4a59aa(_0x3afed5,_0x5d6f11,_0x2863a9);let oe=class{constructor(_0x404d0b,_0x37cc53){const _0x161346=_0x17c635;this[_0x161346(0x25b)]=_0x404d0b,this[_0x161346(0x363)]=_0x37cc53;}[_0x17c635(0x2c4)](_0x23b1e2){const _0x59972f=_0x17c635;var _0x5c7f63;const _0x3a33f3=this['_injector'][_0x59972f(0x318)](_0x16c6fd),_0x1b7ea0=(_0x5c7f63=_0x3a33f3[_0x59972f(0x1e0)]())!=null?_0x5c7f63:[];if(_0x1b7ea0[_0x59972f(0x25c)]===0x0)return;const _0x2cad62=_0x23b1e2[_0x59972f(0x310)],_0xb0040b=[{'id':_0x59972f(0x334),'params':{'unitId':_0x2cad62,'actions':null,'textRanges':_0x1b7ea0}}],_0x48463c=this['_transformService'][_0x59972f(0x24b)](_0x23b1e2,_0xb0040b);if(!_0x4cde3c(_0x48463c))throw _0x48463c[_0x59972f(0x1c7)];const _0x8c48d=_0x48463c[_0x59972f(0x391)][0x0][_0x59972f(0x39a)][_0x59972f(0x1e7)];Array[_0x59972f(0x340)](_0x8c48d)&&_0x8c48d[_0x59972f(0x25c)]&&_0x3a33f3[_0x59972f(0x1b6)](_0x8c48d,{'unitId':_0x2cad62,'subUnitId':_0x2cad62},!0x1);}};oe=on([tt(0x0,_0x2eb397(_0x597056)),tt(0x1,_0x51dc78)],oe);var an=Object[_0x17c635(0x23d)],cn=(_0x220897,_0x4e28dc,_0x55d1c5,_0x5f04c6)=>{const _0x2a84d4=_0x17c635;for(var _0x5a80b8=_0x5f04c6>0x1?void 0x0:_0x5f04c6?an(_0x4e28dc,_0x55d1c5):_0x4e28dc,_0x2f18f8=_0x220897[_0x2a84d4(0x25c)]-0x1,_0x3ab213;_0x2f18f8>=0x0;_0x2f18f8--)(_0x3ab213=_0x220897[_0x2f18f8])&&(_0x5a80b8=_0x3ab213(_0x5a80b8)||_0x5a80b8);return _0x5a80b8;},U=(_0x2dfdfb,_0x4dd51e)=>(_0x4a5d0a,_0x1749da)=>_0x4dd51e(_0x4a5d0a,_0x1749da,_0x2dfdfb);let ae=class extends _0x629666{constructor(_0x349e7e,_0x1f6343,_0x207fd2,_0x16b499,_0x964456,_0x278711,_0x40df94,_0x5e68ef){const _0x82523a=_0x17c635;super(),_(this,_0x82523a(0x1cc),new _0x5db965(_0x2affd3[_0x82523a(0x392)])),(this[_0x82523a(0x326)]=_0x349e7e,this[_0x82523a(0x1cf)]=_0x1f6343,this[_0x82523a(0x376)]=_0x207fd2,this[_0x82523a(0x246)]=_0x16b499,this[_0x82523a(0x2de)]=_0x964456,this[_0x82523a(0x2aa)]=_0x278711,this['_messageService']=_0x40df94,this[_0x82523a(0x387)]=_0x5e68ef,this[_0x82523a(0x2c3)]());}[_0x17c635(0x2c3)](){const _0x696e99=_0x17c635;this[_0x696e99(0x322)](this[_0x696e99(0x1cf)]['entityInit$'][_0x696e99(0x31b)](_0x178d39=>{const _0x44f008=_0x696e99,_0x449b46=this[_0x44f008(0x326)][_0x44f008(0x1aa)][_0x44f008(0x31b)](_0x19fdf6=>{const _0x477992=_0x44f008;if(_0x19fdf6==null)return;const {unitId:_0x22873b,redoState:_0x43c873,commandId:_0x4322bf}=_0x19fdf6;if(_0x22873b!==_0x178d39[_0x477992(0x310)])return;const _0x5f25cd={'id':_0x4322bf,'type':_0x19fa75[_0x477992(0x243)],'params':{'unitId':_0x22873b,'actions':_0x43c873[_0x477992(0x2eb)],'textRanges':null}};_0x178d39[_0x477992(0x28e)](_0x5f25cd);});if(_0x178d39[_0x44f008(0x322)](_0x449b46),_0x178d39 instanceof _0x42cc67){const _0x4654ff={'onTransformIME':_0x5bfc0b=>this[_0x44f008(0x376)]['transformIMECache'](_0x5bfc0b),'onTransformState':_0x1718ce=>this['_docTransformStateCacheService'][_0x44f008(0x234)](_0x1718ce),'onTransformSelections':_0x1c3f37=>this[_0x44f008(0x2de)][_0x44f008(0x2c4)](_0x1c3f37),'onSyncEditingCollabCursor':_0x39a089=>this[_0x44f008(0x2aa)]['syncEditingCollabCursor'](_0x39a089),'onTransformRemoteChangesetByIMECache':_0x2d743a=>this[_0x44f008(0x376)]['transformRemoteChangeset'](_0x2d743a),'onTransformRemoteChangesetByStateCache':_0x2707ce=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2707ce)};_0x178d39[_0x44f008(0x305)](_0x4654ff);}}));}};ae=cn([U(0x0,_0x2eb397(_0x5dcdf5)),U(0x1,_0x2eb397(_0x5b2169)),U(0x2,_0x2eb397(ne)),U(0x3,_0x2eb397(re)),U(0x4,_0x2eb397(oe)),U(0x5,_0x2eb397(He)),U(0x6,_0x2d0054),U(0x7,_0x2eb397(_0x1123b3))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a7b8f,_0x22cfc7,_0x2bfb7a,_0xa08638)=>{const _0x32eddb=_0x17c635;for(var _0x5607b9=_0xa08638>0x1?void 0x0:_0xa08638?ln(_0x22cfc7,_0x2bfb7a):_0x22cfc7,_0x2fbe6b=_0x1a7b8f[_0x32eddb(0x25c)]-0x1,_0x22a39c;_0x2fbe6b>=0x0;_0x2fbe6b--)(_0x22a39c=_0x1a7b8f[_0x2fbe6b])&&(_0x5607b9=_0x22a39c(_0x5607b9)||_0x5607b9);return _0x5607b9;},Ee=(_0x50a5a7,_0x50cd76)=>(_0x1b4001,_0x1ea274)=>_0x50cd76(_0x1b4001,_0x1ea274,_0x50a5a7);let Le=class extends _0x629666{constructor(_0xb451b9,_0x28b047,_0x53e1f4){const _0x518bec=_0x17c635;super(),_(this,_0x518bec(0x209),new Map()),_(this,_0x518bec(0x2fc),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb451b9,this['_localStorageService']=_0x28b047,this[_0x518bec(0x302)]=_0x53e1f4);}[_0x17c635(0x30b)](){const _0x45903b=_0x17c635;this[_0x45903b(0x2cc)]=!0x0;}[_0x17c635(0x1b5)](){this['_disabled']=!0x1;}get[_0x17c635(0x2a1)](){const _0x12c31a=_0x17c635;return this[_0x12c31a(0x2fc)];}[_0x17c635(0x299)](){const _0x5505ca=_0x17c635;this[_0x5505ca(0x26d)]()[_0x5505ca(0x2e8)](()=>super[_0x5505ca(0x299)]());}async[_0x17c635(0x2ec)](_0x46e755){const _0xf675ef=_0x17c635;return this[_0xf675ef(0x2cc)]?null:this[_0xf675ef(0x231)][_0xf675ef(0x21a)](_0x156a39(_0x46e755));}async['saveOfflineData'](_0x4ee614,_0x333454){const _0x554e2b=_0x17c635;return!!this[_0x554e2b(0x231)]['setItem'](_0x4ee614,_0x333454);}['updateOfflineData'](_0x41f107,_0x46fc21,_0x43b35d,_0x283cee){const _0x5876f6=_0x17c635,_0x34cbbd=this[_0x5876f6(0x302)][_0x5876f6(0x2cf)](_0x41f107);this[_0x5876f6(0x209)][_0x5876f6(0x1c2)](_0x41f107,{'unitID':_0x41f107,'type':_0x46fc21,'awaitingChangeset':_0x43b35d,'mutations':_0x283cee,'rev':_0x34cbbd}),this[_0x5876f6(0x2fc)][_0x5876f6(0x329)](_0x41f107)||this['_scheduleSaving'](_0x41f107);}['_scheduleSaving'](_0x408133){const _0x997a6a=_0x17c635,_0x5dee0b=this[_0x997a6a(0x393)]();_0x5dee0b===0x0?this[_0x997a6a(0x347)](_0x408133):this[_0x997a6a(0x2fc)][_0x997a6a(0x1c2)](_0x408133,setTimeout(()=>this[_0x997a6a(0x347)](_0x408133),_0x5dee0b));}[_0x17c635(0x393)](){var _0x468344;return(_0x468344=this['_configService']['getConfig'](_0x50ed5c))!=null?_0x468344:_0x5c0d86;}[_0x17c635(0x347)](_0x93478){const _0x4e36bd=_0x17c635,_0x5f178f=this[_0x4e36bd(0x2fc)][_0x4e36bd(0x318)](_0x93478);return _0x5f178f!==void 0x0&&window['clearTimeout'](_0x5f178f),this[_0x4e36bd(0x231)][_0x4e36bd(0x26b)](_0x156a39(_0x93478),this[_0x4e36bd(0x209)][_0x4e36bd(0x318)](_0x93478))[_0x4e36bd(0x2e8)](()=>this['_saveTaskMap'][_0x4e36bd(0x2f4)](_0x93478));}async[_0x17c635(0x26d)](){const _0x12c627=_0x17c635,_0xdb1865=[];this['_saveTaskMap'][_0x12c627(0x1d2)]((_0x235344,_0x235d17)=>{const _0x5a454b=_0x12c627;window['clearTimeout'](_0x235344),_0xdb1865['push'](this['_saveCache'](_0x235d17)[_0x5a454b(0x2e8)](()=>{const _0x32f571=_0x5a454b;this[_0x32f571(0x2fc)][_0x32f571(0x2f4)](_0x235d17);}));}),await Promise['all'](_0xdb1865);}};Le=_n([Ee(0x0,_0xe650f0),Ee(0x1,_0x4a6020),Ee(0x2,_0x2eb397(_0x37e690))],Le);class hn extends _0x5c44e6{constructor(){const _0x35cea1=_0x17c635;super(),_(this,'urlChange$'),this[_0x35cea1(0x30c)]=_0x1c7d37(window,_0x35cea1(0x1bc))[_0x35cea1(0x345)](_0x4fc11c(this[_0x35cea1(0x386)]),_0x191487(0x1),_0x88af17(void 0x0));}['setParam'](_0x25acdf,_0x418647,_0x1af6dc=!0x1){const _0x449dc6=_0x17c635,_0x1ec01e=new URL(window[_0x449dc6(0x1a1)][_0x449dc6(0x2fb)]);_0x1ec01e[_0x449dc6(0x26c)][_0x449dc6(0x1c2)](_0x25acdf,_0x418647),_0x1af6dc?window['history'][_0x449dc6(0x1ff)]('','',_0x1ec01e[_0x449dc6(0x207)]()):window[_0x449dc6(0x2f6)]['pushState']('','',_0x1ec01e[_0x449dc6(0x207)]());}[_0x17c635(0x295)](_0x406f0e,_0x5015b8=!0x1){const _0x54a471=_0x17c635,_0x5cc175=new URL(window[_0x54a471(0x1a1)]['href']);_0x5cc175[_0x54a471(0x26c)][_0x54a471(0x2f4)](_0x406f0e),_0x5015b8?window[_0x54a471(0x2f6)][_0x54a471(0x1ff)]('','',_0x5cc175[_0x54a471(0x207)]()):window[_0x54a471(0x2f6)][_0x54a471(0x22b)]('','',_0x5cc175[_0x54a471(0x207)]());}[_0x17c635(0x1c8)](_0x4ff396){const _0xc84393=_0x17c635;var _0x2ba8ee;return(_0x2ba8ee=new URL(window[_0xc84393(0x1a1)]['href'])[_0xc84393(0x26c)]['get'](_0x4ff396))!=null?_0x2ba8ee:void 0x0;}}var un=Object[_0x17c635(0x1eb)],dn=Object[_0x17c635(0x23d)],fn=(_0x5d6a0a,_0x5072d0,_0x1fb8ed)=>_0x5072d0 in _0x5d6a0a?un(_0x5d6a0a,_0x5072d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fb8ed}):_0x5d6a0a[_0x5072d0]=_0x1fb8ed,Sn=(_0x11ce8d,_0x16fa87,_0x1719ce,_0x5319f6)=>{const _0x2eb29c=_0x17c635;for(var _0x50622d=_0x5319f6>0x1?void 0x0:_0x5319f6?dn(_0x16fa87,_0x1719ce):_0x16fa87,_0x1855b1=_0x11ce8d[_0x2eb29c(0x25c)]-0x1,_0x99d952;_0x1855b1>=0x0;_0x1855b1--)(_0x99d952=_0x11ce8d[_0x1855b1])&&(_0x50622d=_0x99d952(_0x50622d)||_0x50622d);return _0x50622d;},Oe=(_0x327398,_0x55901f)=>(_0x24d496,_0x5ebfee)=>_0x55901f(_0x24d496,_0x5ebfee,_0x327398),mn=(_0x4b4e71,_0x3aebf1,_0x324687)=>fn(_0x4b4e71,_0x3aebf1+'',_0x324687);const In=_0x17c635(0x203);let Ae=class extends _0x35f057{constructor(_0x36f590=et,_0x5a30cf,_0x4d4140,_0x4982e2){const _0x3b7234=_0x17c635;super(),this['_config']=_0x36f590,this['_renderManagerService']=_0x5a30cf,this[_0x3b7234(0x25b)]=_0x4d4140,this[_0x3b7234(0x1af)]=_0x4982e2;const {..._0x306373}=_0xb34657({},et,this['_config']);this[_0x3b7234(0x1af)][_0x3b7234(0x330)](Zi,_0x306373);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x17c635(0x1fc)](){const _0x24e161=_0x17c635;this[_0x24e161(0x1d9)]();}[_0x17c635(0x390)](){const _0x252166=_0x17c635;var _0x5c86e6;const _0x226e27=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x100a88,{'useClass':_0x19b7b1}],[_0x12eac7,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x151c2d(this[_0x252166(0x25b)],_0x36bd2d(_0x226e27,(_0x5c86e6=this['_config'])==null?void 0x0:_0x5c86e6['override']));}[_0x17c635(0x1d9)](){const _0x5baa46=_0x17c635;this['disposeWithMe'](this[_0x5baa46(0x31c)]['registerRenderModule'](_0x2c47d7[_0x5baa46(0x39f)],[we])),this[_0x5baa46(0x322)](this['_renderManagerService'][_0x5baa46(0x37b)](_0x2c47d7[_0x5baa46(0x226)],[Pe]));}['_initDependencies'](){const _0x133a2c=_0x17c635;_0x4aedff(this[_0x133a2c(0x25b)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x17c635(0x394),In),Ae=Sn([_0x140f68(_0x47ab9c),Oe(0x1,_0x5c59f7),Oe(0x2,_0x2eb397(_0x597056)),Oe(0x3,_0xe650f0)],Ae);var gn=Object[_0x17c635(0x23d)],vn=(_0x1059b2,_0x32fb31,_0x27e115,_0x1b4dc2)=>{const _0x3401ea=_0x17c635;for(var _0x23d427=_0x1b4dc2>0x1?void 0x0:_0x1b4dc2?gn(_0x32fb31,_0x27e115):_0x32fb31,_0x59580c=_0x1059b2[_0x3401ea(0x25c)]-0x1,_0xa5d5cd;_0x59580c>=0x0;_0x59580c--)(_0xa5d5cd=_0x1059b2[_0x59580c])&&(_0x23d427=_0xa5d5cd(_0x23d427)||_0x23d427);return _0x23d427;},K=(_0x1f1c96,_0x519d23)=>(_0x1a211f,_0x17de53)=>_0x519d23(_0x1a211f,_0x17de53,_0x1f1c96);let st=class extends _0x12974d{constructor(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38){super(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38);}async[_0x17c635(0x2b1)](_0x4a6601){const _0x473489=_0x17c635,_0x52b1ec=await this[_0x473489(0x331)](),_0x4e0223=this[_0x473489(0x2c0)](_0x4a6601,_0x52b1ec);return this[_0x473489(0x296)](_0x4e0223);}[_0x17c635(0x2c0)](_0x13b482,_0x2072fa){const _0x4f5126=_0x17c635,_0x3bd501=typeof window>'u'?new URL(_0x13b482):new URL(_0x13b482,window[_0x4f5126(0x1a1)]['origin']);_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)](_0x4f5126(0x27e),_0x2072fa);const _0x10f70a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4f5126(0x1a1)]['search']);return _0x10f70a[_0x4f5126(0x318)]('runId')&&_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)]('runId',_0x10f70a[_0x4f5126(0x318)](_0x4f5126(0x20b))),_0x3bd501[_0x4f5126(0x207)]();}async[_0x17c635(0x331)](){const _0x4e08f5=_0x17c635;var _0x55fe83,_0xb05eb6,_0x5c045b;const _0xc560ac=this[_0x4e08f5(0x1af)]['getConfig'](_0x50dc20),_0x13829e=(_0x55fe83=_0xc560ac==null?void 0x0:_0xc560ac[_0x4e08f5(0x2fa)])!=null?_0x55fe83:_0x578348;return(_0x5c045b=(_0xb05eb6=(await this[_0x4e08f5(0x2ce)]['get'](_0x13829e,{'headers':{'Content-Type':_0x4e08f5(0x253)}}))[_0x4e08f5(0x2db)])==null?void 0x0:_0xb05eb6['ticket'])!=null?_0x5c045b:'';}};st=vn([K(0x0,_0x2eb397(_0x597056)),K(0x1,_0x2eb397(_0x3a430c)),K(0x2,_0xe650f0),K(0x3,_0xaeedb1),K(0x4,_0xf5c7dd)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x629666{constructor(){const _0x1cd120=_0x17c635;super(),_(this,_0x1cd120(0x1dd),_0x3c905e()),_(this,_0x1cd120(0x1f8),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1cd120(0x1a7),null),_(this,_0x1cd120(0x2ac),new Map()),_(this,_0x1cd120(0x34b),new Map()),this[_0x1cd120(0x384)]();}[_0x17c635(0x299)](){const _0x23396c=_0x17c635;super[_0x23396c(0x299)](),this[_0x23396c(0x2ac)]['forEach']((_0x17d307,_0xc05198)=>this['_removeClearOtherTimer'](_0xc05198)),this[_0x23396c(0x1a7)]&&window['clearInterval'](this[_0x23396c(0x1a7)]);}[_0x17c635(0x256)](_0x8e7434){const _0x3ab166=_0x17c635;return this[_0x3ab166(0x38c)](_0x8e7434)[_0x3ab166(0x345)](_0x126808());}[_0x17c635(0x2d6)](_0x250bf9){const _0x3723cf=_0x17c635;this[_0x3723cf(0x1f8)][_0x3723cf(0x325)]===0x0&&this[_0x3723cf(0x21f)](),this[_0x3723cf(0x1f8)][_0x3723cf(0x25e)](_0x250bf9),this[_0x3723cf(0x279)]({'type':0x0,'memberID':this[_0x3723cf(0x1dd)],'unitIDs':[_0x250bf9],'isForwarded':!0x1});}[_0x17c635(0x225)](_0xcfe013){const _0x4d4fea=_0x17c635;this[_0x4d4fea(0x1f8)]['delete'](_0xcfe013),this[_0x4d4fea(0x1f8)][_0x4d4fea(0x325)]===0x0&&this[_0x4d4fea(0x1a7)]&&window[_0x4d4fea(0x1b7)](this[_0x4d4fea(0x1a7)]);}[_0x17c635(0x384)](){const _0x47977b=_0x17c635;this[_0x47977b(0x322)](_0x36e603(_0x1c7d37(window,'storage')[_0x47977b(0x31b)](_0x19d6e9=>{const _0x5d48a4=_0x47977b;if(_0x19d6e9[_0x5d48a4(0x2e5)]!==nt||!_0x19d6e9[_0x5d48a4(0x2ff)])return;const _0x556120=JSON['parse'](_0x19d6e9[_0x5d48a4(0x2ff)]);this[_0x5d48a4(0x250)](_0x556120);}))),window[_0x47977b(0x2a6)](_0x47977b(0x307),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x47977b(0x239)](this[_0x47977b(0x1f8)])}));}[_0x17c635(0x250)](_0x5a247e){const _0x53db96=_0x17c635;switch(_0x5a247e[_0x53db96(0x23f)]){case 0x0:this[_0x53db96(0x1ba)](_0x5a247e);break;case 0x1:this[_0x53db96(0x28b)](_0x5a247e);break;case 0x2:this[_0x53db96(0x1b8)](_0x5a247e);break;}}[_0x17c635(0x1ba)](_0x59af70){const _0x26fe11=_0x17c635,{unitIDs:_0xd7dbe,memberID:_0x11525a,isForwarded:_0x2ce8bd}=_0x59af70;_0xd7dbe[_0x26fe11(0x1d2)](_0x48c244=>{const _0x280b06=_0x26fe11;if(!_0x2ce8bd&&this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)&&this['_ensureSubject'](_0x48c244)[_0x280b06(0x32a)](_0x3fb639[_0x280b06(0x1e3)]),!this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)||!this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)['has'](_0x11525a)){const _0x145b90=this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)||new Set();_0x145b90['add'](_0x11525a),this[_0x280b06(0x339)][_0x280b06(0x1c2)](_0x48c244,_0x145b90),this[_0x280b06(0x22c)](_0x11525a);}}),_0x2ce8bd||this['_send']({'type':0x0,'memberID':this[_0x26fe11(0x1dd)],'unitIDs':[...this[_0x26fe11(0x1f8)]],'isForwarded':!0x0});}[_0x17c635(0x22c)](_0x16f9f9){const _0x20d2a8=_0x17c635;this['_removeClearOtherTimer'](_0x16f9f9);const _0x218d6c=window['setTimeout'](()=>{const _0x2bf02b=_0x13d3;this[_0x2bf02b(0x339)][_0x2bf02b(0x1d2)](_0x430434=>{_0x430434['delete'](_0x16f9f9);});},it*0x2);this['_clearOtherTimers'][_0x20d2a8(0x1c2)](_0x16f9f9,_0x218d6c);}[_0x17c635(0x362)](_0x74c478){const _0xd7b775=_0x17c635;if(this[_0xd7b775(0x2ac)][_0xd7b775(0x329)](_0x74c478)){const _0x141ce0=this[_0xd7b775(0x2ac)][_0xd7b775(0x318)](_0x74c478);_0x141ce0&&window['clearTimeout'](_0x141ce0),this[_0xd7b775(0x2ac)]['set'](_0x74c478,null);}}[_0x17c635(0x28b)](_0x4e5b85){const _0x5907b9=_0x17c635,{memberID:_0x5a18f6,unitIDs:_0x4fcd85}=_0x4e5b85;_0x4fcd85['forEach'](_0x291c4f=>{const _0x4e1fac=_0x13d3;var _0x2681c6;const _0x553f58=this['_unitOnClients']['get'](_0x291c4f);_0x553f58&&(_0x553f58['delete'](_0x5a18f6),(_0x2681c6=this[_0x4e1fac(0x38c)](_0x291c4f))==null||_0x2681c6[_0x4e1fac(0x32a)](_0x553f58[_0x4e1fac(0x325)]===0x0?_0x3fb639[_0x4e1fac(0x374)]:_0x3fb639['OTHER_CLIENTS_EDITING']));}),this[_0x5907b9(0x362)](_0x5a18f6);}[_0x17c635(0x1b8)](_0x5f4aed){const _0x131f3e=_0x17c635;this[_0x131f3e(0x22c)](_0x5f4aed[_0x131f3e(0x1ac)]);}[_0x17c635(0x279)](_0x26e947){const _0xa9d976=_0x17c635;localStorage[_0xa9d976(0x26b)](nt,JSON[_0xa9d976(0x395)](_0x26e947));}[_0x17c635(0x21f)](){const _0x82ee6=_0x17c635;this[_0x82ee6(0x1a7)]=window[_0x82ee6(0x29d)](()=>{const _0x59d291=_0x82ee6;this[_0x59d291(0x279)]({'type':0x2,'memberID':this[_0x59d291(0x1dd)]});},it);}['_ensureSubject'](_0x4431c3){const _0x5b37b0=_0x17c635;return this['_unitStatus'][_0x5b37b0(0x329)](_0x4431c3)||this[_0x5b37b0(0x34b)][_0x5b37b0(0x1c2)](_0x4431c3,new _0x5db965(_0x3fb639['NO_OTHER_CLIENTS_EDITING'])),this[_0x5b37b0(0x34b)][_0x5b37b0(0x318)](_0x4431c3);}}var Mt=(_0x50bed4=>(_0x50bed4[_0x50bed4[_0x17c635(0x264)]=0x0]=_0x17c635(0x264),_0x50bed4[_0x50bed4['OK']=0x1]='OK',_0x50bed4[_0x50bed4[_0x17c635(0x1fa)]=0x2]=_0x17c635(0x1fa),_0x50bed4[_0x50bed4[_0x17c635(0x357)]=0x3]=_0x17c635(0x357),_0x50bed4[_0x50bed4[_0x17c635(0x249)]=0x4]=_0x17c635(0x249),_0x50bed4[_0x50bed4[_0x17c635(0x298)]=0x5]=_0x17c635(0x298),_0x50bed4[_0x50bed4['ALREADY_EXISTS']=0x6]=_0x17c635(0x319),_0x50bed4[_0x50bed4[_0x17c635(0x272)]=0x7]=_0x17c635(0x272),_0x50bed4[_0x50bed4['TOO_MANY_REQUESTS']=0x8]=_0x17c635(0x245),_0x50bed4[_0x50bed4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x50bed4[_0x50bed4['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x50bed4[_0x50bed4[_0x17c635(0x3a2)]=0x1389]=_0x17c635(0x3a2),_0x50bed4[_0x50bed4[_0x17c635(0x3a4)]=0x1771]=_0x17c635(0x3a4),_0x50bed4[_0x50bed4[_0x17c635(0x364)]=0x1772]=_0x17c635(0x364),_0x50bed4[_0x50bed4[_0x17c635(0x221)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x50bed4[_0x50bed4['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x50bed4[_0x50bed4[_0x17c635(0x38e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50bed4[_0x50bed4[_0x17c635(0x1b3)]=0x1b5b]=_0x17c635(0x1b3),_0x50bed4[_0x50bed4[_0x17c635(0x29b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x50bed4[_0x50bed4[_0x17c635(0x2c7)]=0x1b5d]='APPLY_DUPLICATED',_0x50bed4[_0x50bed4[_0x17c635(0x30e)]=0x1f41]=_0x17c635(0x30e),_0x50bed4[_0x50bed4[_0x17c635(0x39b)]=0x2329]=_0x17c635(0x39b),_0x50bed4[_0x50bed4[_0x17c635(0x288)]=0x232a]=_0x17c635(0x288),_0x50bed4[_0x50bed4[_0x17c635(0x2f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x50bed4[_0x50bed4[_0x17c635(0x293)]=0x232c]=_0x17c635(0x293),_0x50bed4[_0x50bed4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x17c635(0x1a5),_0x50bed4[_0x50bed4[_0x17c635(0x1a4)]=0x2711]=_0x17c635(0x1a4),_0x50bed4[_0x50bed4[_0x17c635(0x356)]=0x2712]=_0x17c635(0x356),_0x50bed4[_0x50bed4[_0x17c635(0x281)]=0x2713]=_0x17c635(0x281),_0x50bed4[_0x50bed4[_0x17c635(0x30f)]=0x2714]=_0x17c635(0x30f),_0x50bed4[_0x50bed4[_0x17c635(0x396)]=0x271a]=_0x17c635(0x396),_0x50bed4[_0x50bed4[_0x17c635(0x1ca)]=0x271b]=_0x17c635(0x1ca),_0x50bed4[_0x50bed4[_0x17c635(0x378)]=0x271c]=_0x17c635(0x378),_0x50bed4[_0x50bed4[_0x17c635(0x208)]=0x271d]=_0x17c635(0x208),_0x50bed4[_0x50bed4[_0x17c635(0x380)]=0x271e]=_0x17c635(0x380),_0x50bed4[_0x50bed4[_0x17c635(0x2d4)]=0x271f]=_0x17c635(0x2d4),_0x50bed4[_0x50bed4[_0x17c635(0x20d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x50bed4[_0x50bed4[_0x17c635(0x358)]=0x2ee1]=_0x17c635(0x358),_0x50bed4[_0x50bed4['INVALID_INVITE_CODE']=0x2ee2]=_0x17c635(0x30a),_0x50bed4[_0x50bed4[_0x17c635(0x2e0)]=0x2ee3]=_0x17c635(0x2e0),_0x50bed4[_0x50bed4[_0x17c635(0x3a6)]=0x2ee4]=_0x17c635(0x3a6),_0x50bed4[_0x50bed4[_0x17c635(0x1e5)]=0x2ee5]=_0x17c635(0x1e5),_0x50bed4[_0x50bed4[_0x17c635(0x323)]=0x32c9]=_0x17c635(0x323),_0x50bed4[_0x50bed4['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4[_0x17c635(0x219)]=-0x1]=_0x17c635(0x219),_0x50bed4))(Mt||{}),pn=Object[_0x17c635(0x23d)],Cn=(_0x474e6e,_0x17afcc,_0x431dbb,_0x39595c)=>{const _0x5cc0f4=_0x17c635;for(var _0x5840d0=_0x39595c>0x1?void 0x0:_0x39595c?pn(_0x17afcc,_0x431dbb):_0x17afcc,_0x545140=_0x474e6e[_0x5cc0f4(0x25c)]-0x1,_0x33e5c7;_0x545140>=0x0;_0x545140--)(_0x33e5c7=_0x474e6e[_0x545140])&&(_0x5840d0=_0x33e5c7(_0x5840d0)||_0x5840d0);return _0x5840d0;},be=(_0x7a9397,_0x58ed7c)=>(_0x366e7f,_0x2880a5)=>_0x58ed7c(_0x366e7f,_0x2880a5,_0x7a9397);let rt=class extends _0x629666{constructor(_0x3e5d72,_0x5a65d7,_0x56d328){const _0x1f7bc1=_0x17c635;super(),this[_0x1f7bc1(0x25d)]=_0x3e5d72,this['_httpService']=_0x5a65d7,this['_configService']=_0x56d328;}async[_0x17c635(0x247)](_0x1b5ed1,_0x48f277,_0x4b4ac2,..._0x2b294d){const _0x2498de=_0x17c635;var _0x15401e,_0x1cd0be,_0x43ca83,_0x3eed36;const _0x241b08=this[_0x2498de(0x25d)][_0x2498de(0x1a6)]();if(!_0x241b08)throw new Error(_0x2498de(0x35d));const _0x153708=((_0x15401e=this[_0x2498de(0x1af)][_0x2498de(0x23a)](_0x46c57d))!=null?_0x15401e:_0x4cfb8a)+'/'+_0x1b5ed1+_0x2498de(0x2df)+_0x48f277,_0x3da7e6=new URL(window[_0x2498de(0x1a1)][_0x2498de(0x2fb)]),_0x579a7c={'scriptId':_0x1b5ed1,'runId':(_0x1cd0be=_0x3da7e6['searchParams'][_0x2498de(0x318)](_0x2498de(0x20b)))!=null?_0x1cd0be:'','function':_0x48f277,'unitId':_0x241b08[_0x2498de(0x21b)](),'argsOfFunction':JSON[_0x2498de(0x395)](_0x2b294d),'invokeId':(_0x43ca83=_0x4b4ac2[_0x2498de(0x292)])!=null?_0x43ca83:'','executionId':(_0x3eed36=_0x4b4ac2[_0x2498de(0x257)])!=null?_0x3eed36:''};try{const _0x47853e=await this[_0x2498de(0x2ce)][_0x2498de(0x301)](_0x153708,{'body':_0x579a7c});return _0x47853e['body'][_0x2498de(0x1c7)]&&_0x47853e['body'][_0x2498de(0x1c7)][_0x2498de(0x342)]!==Mt['OK']?_0x2498de(0x30d):_0x47853e['body'][_0x2498de(0x381)];}catch{return _0x2498de(0x30d);}}};rt=Cn([be(0x0,_0x26b67a),be(0x1,_0x2eb397(_0x3a430c)),be(0x2,_0xe650f0)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x5ccdac=_0x709d;(function(_0x3ce960,_0x217e85){const _0x401b0a=_0x709d,_0x3e65fe=_0x3ce960();while(!![]){try{const _0x211596=-parseInt(_0x401b0a(0x1f7))/0x1+parseInt(_0x401b0a(0x281))/0x2*(parseInt(_0x401b0a(0x26a))/0x3)+parseInt(_0x401b0a(0x22e))/0x4+-parseInt(_0x401b0a(0x1b5))/0x5+parseInt(_0x401b0a(0x12c))/0x6*(parseInt(_0x401b0a(0x25e))/0x7)+parseInt(_0x401b0a(0x1ad))/0x8+parseInt(_0x401b0a(0x225))/0x9*(parseInt(_0x401b0a(0x2c6))/0xa);if(_0x211596===_0x217e85)break;else _0x3e65fe['push'](_0x3e65fe['shift']());}catch(_0x1092d1){_0x3e65fe['push'](_0x3e65fe['shift']());}}}(_0x4b4c,0xab4f1));var $t=Object[_0x5ccdac(0x272)],xt=(_0x49996f,_0x55d8fb,_0xa1922e)=>_0x55d8fb in _0x49996f?$t(_0x49996f,_0x55d8fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa1922e}):_0x49996f[_0x55d8fb]=_0xa1922e,_=(_0x4cc52b,_0x4361bc,_0x5b60ed)=>xt(_0x4cc52b,typeof _0x4361bc!=_0x5ccdac(0xf5)?_0x4361bc+'':_0x4361bc,_0x5b60ed);import{MemberService as _0x34140a,SessionStatus as _0x6f7e03,CollaborationSessionService as _0x32b0dc,CollaborationStatus as _0x24642c,CollaborationController as _0x2454ce,ILocalCacheService as _0x820aa4,CollaborationUIEventService as _0x16f682,CollaborationUIEventId as _0x1481ad,DataLoaderService as _0xb4f128,DocCollaborationEntity as _0x5880c6,getLocalCacheKey as _0x26b3eb,LOCAL_CACHE_INTERVAL as _0x5506ed,LOCAL_CACHE_INTERVAL_KEY as _0x1b4490,UniverCollaborationClientPlugin as _0x35335d,CollaborationSocketService as _0x3592b9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x133280,DEFAULT_WS_SESSION_TICKET_URL as _0x5d4fcc,UnitStatus as _0x206d42,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5d841d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cbe20}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1d3bed,Disposable as _0x511293,DOC_RANGE_TYPE as _0x5cab35,Inject as _0x5d30c5,Injector as _0x1594b9,IUniverInstanceService as _0xb0b851,ICommandService as _0x58b9f6,debounce as _0xa76b4c,Rectangle as _0x2eefc7,DisposableCollection as _0x3bbcfc,toDisposable as _0x1529d5,UniverInstanceType as _0x5b953e,Tools as _0x453a5f,COLORS as _0xace774,ColorKit as _0x366f4a,ThemeService as _0x442833,fromEventSubject as _0x1ee04c,LocaleService as _0x3f7747,createIdentifier as _0x52e467,ILogService as _0x4baf39,Optional as _0x12fdaa,Workbook as _0x49cb7d,CommandType as _0x1af6f4,IConfigService as _0x518efb,ILocalStorageService as _0x2c9f67,DependentOn as _0x1c7f38,Plugin as _0x216717,merge as _0x301b16,registerDependencies as _0x20c03b,mergeOverrideWithDependencies as _0xb01ab3,touchDependencies as _0x4ae927,generateRandomId as _0x4f31bd}from'@univerjs/core';import{Shape as _0x5dfd05,Rect as _0x5abff7,getColor as _0x1a7fb3,RegularPolygon as _0x58224e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c08ff,Vector2 as _0x576202,SHEET_VIEWPORT_KEY as _0x3973d7,IRenderManagerService as _0x57e040}from'@univerjs/engine-render';import{ISocketService as _0x12a1ce,WebSocketService as _0x2c24e6,HTTPService as _0x40376b}from'@univerjs/network';import{IDocClipboardService as _0x44c426,NodePositionConvertToCursor as _0x53e06e,NodePositionConvertToRectRange as _0x157fb2,TEXT_RANGE_LAYER_INDEX as _0x55fa23,SetDocZoomRatioOperation as _0x17b391,DocIMEInputManagerService as _0x309075,DocStateChangeManagerService as _0x56f7e9}from'@univerjs/docs-ui';import{IImageIoService as _0x113607}from'@univerjs/drawing';import{BehaviorSubject as _0x2cc9b0,debounceTime as _0x3f82b4,takeUntil as _0xcffb89,Subject as _0x320e59,filter as _0x3c8805,switchMap as _0xb781b0,merge as _0x514233,combineLatest as _0x3ed33c,of as _0x430603,fromEvent as _0x57a91b,shareReplay as _0x467ca5,mapTo as _0x1246df,distinctUntilChanged as _0x24d254}from'rxjs';import{SetTextSelectionsOperation as _0x279026,RichTextEditingMutation as _0x1ec75c,DocSelectionManagerService as _0x1cdd1e,DocSkeletonManagerService as _0x12e746}from'@univerjs/docs';import{ITransformService as _0x122f43,CollaborationEvent as _0x357f8a,isTransformMutationFailure as _0x4578d1,isTransformMutationsWithChangesetSuccess as _0x576e4b,RevisionService as _0x1d1977,ISnapshotServerService as _0x5f3e22}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x43c764,serializeRangeWithSheet as _0x14b0d1}from'@univerjs/engine-formula';import{RefRangeService as _0xa622fa,SetSelectionsOperation as _0xdb6c66,SheetsSelectionsService as _0x5ecd97,EffectRefRangId as _0x1d915b,handleIRemoveRow as _0x2c2ef9,handleIRemoveCol as _0x5d1768,handleMoveRange as _0x5da23c,handleInsertRow as _0x1155e3,handleInsertRangeMoveRight as _0x1c2180,handleInsertRangeMoveDown as _0x5a3abe,handleInsertCol as _0x511acf,handleDeleteRangeMoveUp as _0x47a709,handleDeleteRangeMoveLeft as _0x389098,runRefRangeMutations as _0x441c5e,SetWorksheetActivateCommand as _0x223adf}from'@univerjs/sheets';import{map as _0x13142d,filter as _0x7a3f1a,throttleTime as _0x8c9cc4,takeUntil as _0x115372,switchMap as _0x594866}from'rxjs/operators';import{SheetSkeletonManagerService as _0x16790c,getCoordByCell as _0x8e1141,getSheetObject as _0x29c69e}from'@univerjs/sheets-ui';function _0x4b4c(){const _0x355ae4=['getUnitStatus$','setInterval','stringify','EMAIL_HAS_BEEN_BOUND','off-line-icon_clip0_910_343','_startDocCollabCursor','getOwnPropertySymbols','includes','INVALID_ARGUMENT','_roomMembers$','univerjs-icon\x20univerjs-icon-','_toggleOnline','UNIVER_SHEET','_handleHover','find','RemoveColCommandId','range','_docTransformIMECacheService','SNAPSHOT_INVALID_SNAPSHOT','#FFF','show','className','search','sheetId','/run/','_sheetSkeletonManagerService','toRgbString','http://www.w3.org/2000/svg','hide','drawWith','getSheetBySheetId','_collaborationController','top','roomMembers$','_hideTimer','APPLY_DUPLICATED','_entityInit$','4694186WpMzsD','findNodePositionByCharIndex','assignAColorForMemberID','_updateURLWithCurrentState','actions','selection','text','_instanceService','skeleton','_cursor','_getMergeRange','jiqing.500','136329BlLcWY','getActiveRange','origin','VIEW_MAIN','cursorInfo$','OTHER_CLIENT_EDITING','colorChannel1','color','defineProperty','LICENSE_DISTRO_REJECTED','InsertColCommandId','push','isActive','UNRECOGNIZED','APPLY_PERMISSION_DENIED','transformMutationsWithChangeset','searchParams','univer-flex\x20univer-mr-2\x20univer-text-xl','INVITE_CODE_HAS_BEEN_UES','getMember','_docTransformStateCacheService','uni.network.url-service','getRenderById','32AfZwuu','_beforeCloseService','onTransformChange$','CLOSE_ROOM','Error','onPointerMove$','_transformHistoryAndStateStack','OTHER_CLIENTS_EDITING','getDocRanges','_themeService','INVALID_INVITE_CODE','data','_collaborationUIEventService','forEach','indexOf','LICENSE_IMPORT_SIZE_EXCEEDED','transformIMECache','fill','M0\x200H16V16H0z','currentSkeleton$','transformByState','YUUMI_ALL_TABLES_IS_INVALID','getCellPositionByOffset','setStateCache','YUUMI_ASYNCIO_CANCELLED','HEADER_MENU','unsubscribe','m1Prime','executeCommand','collabCursorState$','getOffsetConfig','measureText','pushState','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','sheetID','setItem','status$','assign','newValue','ALREADY_EXISTS','_initStatusListener','1em','_drawRectRange','prototype','loadOfflineData','deepClone','addClipboardHook','popstate','getItem','syncEditingCollabCursor','...','session.collaboration-timeout','_document','runOnServer','_syncEditingCollabCursorService','_initEntityListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_FAILED','fillStyle','InsertRowCommandId','_imageIoService','_refreshCollabCursors','NO_OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','runId','getSheetId','_init','attrs','3131880tPKRTi','UNIVER_DOC','updateOfflineData','_onCursorUpdate','mask','loadUnit','ranges','_updateLocalCursor','CONFLICT','UNDEFINED','save','USERS_LEAVE','delete','[CollaborationDataLoaderController]','_draw','RemoveRowCommandId','_scheduleHeartbeat','params','_localStorageService','getUnitId','isArray','_dataLoaderService','registerRenderModule','univer-flex\x20univer-items-center','_unitStatus','createInstance','Unknown\x20user','transform','collaboration.closeRoom','subUnitId','disposeWithMe','0\x200\x2017\x2016','focused$','engine','APPLY_REVISION_CONFILICT','unit','_unitOnClients','session.connection-failed','idSuffix','complete','_entities','_name','APPLY_NON_SEQUENTIAL_REVISION','reconnect','yellow.400','collab-client.tooltip.reconnect','disposeUnit','children','urlChange$','getSkeleton','_disabled','none','_initResize','post','add','permission.title','onRendered','getConfig','collabStatus.synced','_registerDependencies','makeDirty','PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','restore','getColorFromTheme','symbol','_saveCache','url(#off-line-icon_clip0_910_343)','currentTheme$','collabStatus.notCollab','backgroundColor','roomMembers','on-line-icon','setParam','triggerDblclick','FETCH_MISS','_docTransformSelectionsService','extend','black','width','getUnhiddenWorksheets','DeleteRangeMoveLeftCommandId','_onCursorDelete','pipe','replaceState','_logService','_docSyncEditingCollabCursorService','_transformService','imageSourceType','setUndoRedoMutationParamsCache','NOT_COLLAB','OffLineIcon','redoState','getActiveSheet','_renderManagerService','translate(.97)','_heartbeatTimer','defIds','onPointerLeave$','_shapes','blue.400','svg','invokeId','set','_configService','getFocusedUnit','values','sessionStatus$','AWAITING','height','Warning','getTypeOfUnitDisposed$','div','_handleLeaveEvent','getAncestorScale','RECT','UNAUTHENTICATED','entityInit$','_onRefRangeChange','transformMutation','12dbPvaR','saveImage','evenodd','white','_colorAssignService','from','unshift','setActiveRange','startRow','error','eventID','_anchorDot','TEXT','_ensureSubject','concat','Failed','icon','disableLocalCache','NOT_FOUND','currentColor','_anchor','getVpScrollXYInfoByPosToVp','saveTaskMap','_getScale','purple.300','TOO_MANY_REQUESTS','hasOwnProperty','_createSocketURL','ACTIVE_UNIT_EVENT_CHANNEL','transformRemoteChangeset','getRangePointData','registerRefRange','use','_initDependencies','_drawAnchor','getCollabEntity$','asObservable','_send','round','UPDATE_CURSOR','_revisionService','YUUMI_URL_COL_OUT_OF_RANGE','OFFLINE','_urlService','_collabCursorState$','MOBILE_HAS_BEEN_BOUND','onPointerEnter$','SOCKET_FAILED_RETRY','unitID','path','_handleHeartbeatEvent','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','some','LICENSE_MAX_UNITS_EXCEEDED','history','setShapeProps','createSocket','_injector','getStateCache','url(#$1','_localCacheService','_cursorShapes','_docSkeletonManagerService','_localeService','_initStatusComponent','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_NO_CUBOID_FOR_QUESTION','getOwnPropertyDescriptor','undoState','getRelativeToViewportCoord','_toggleOffline','cursorInfo','_hover','doc.mutation.rich-text-editing','name','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','event$','override','xlink:href','MUTATION','whenReady','ticket','_transformUndoRedoStack','resize','column','_hovered','clearTimeout','SOCKET_FAILED','clipPath','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','wsSessionTicketUrl','_registerRenderDependencies','registerBeforeClose','_messageService','getValue','INVITE_CODE_ALREADY_BOUND','key','APPLY_REJECT','_docClipboardService','exhaustSavingTask','_scene','dispose$','bottom','_docSkeleton','isEditing','LOGIN_FAILED','url(#on-line-icon_clip0_910_349)','next','_getSheetObject','YUUMI_AI_RUN_FAILED','setTimeout','_updateSubUnitFromURLParams','flatMap','propertyIsEnumerable','_refRangeService','collab-text-range-','_id','map','CHANGESET_REVISION_CONFILICT','all','displayName','replace','_updateCollabCursors','getCurrentSelections','_setupBeforeClosingHandler','4875648WtjMbr','lineTo','_textBubble','UniverIcon','substring','AWAITING_WITH_PENDING','_scheduleSaving','_config','6934190TdNLca','getUndoRedoMutationParamsCache','_uiPartsService','_clearOtherTimers','_collabSessionService','send','toString','storage','startColumn','_labelPosition','0\x200\x2016\x2016','MoveRangeCommandId','_initEvent','row','WECHAT_HAS_BEEN_BOUND','dispose','transformStateCache','_collabCursorController','string','requireSession','_removeCollabCursors','_selfUnitIDs','generateRandomId','_eventUnsubscribe','_docStateChangeManagerService','arc','_httpService','with','selections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getAnchorBounding','collab-rect-range-','_cursors','USER_NOT_INVITED_CODE','getMergeData','subscribeEvent','has','length','clearInterval','CONNECTOR_DATA_TOO_LARGE','_context','executionId','_colorIndex','entries','endRow','_removeClearOtherTimer','saveOfflineData','addObjects','off-line-icon','onLocalMutation','_getSessionTicket','_handleEvent','INVITE_CODE_REQUIRED','onMouseMove','transformSelections','_color','split','tag','then','_range','DeleteRangeMoveUpCommandId','_cachedData','_scheduleClearOtherTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addObject','type','1368121UIrztH','unload','fillText','textRanges','_assignedColors','_saveTaskMap','subscribe','getUniverSheetInstance','collaboration-client-ui.config','href','mutations','getCollabCursors$','min','_session','init','collabStatus.syncing','unitId','m2Prime','location','_backgroundColor','ONLINE','SUBMIT_CHANGESET_TIMEOUT','INTERNAL_ERROR','_transformPreviousActiveRange','_notificationService','collabStatus.offline','PY_RUNTIME_SCRIPT_ERROR','_online','_commandService','call','on-line-icon_clip0_910_349','collaboration.single-unit.warning','getMemberID','get','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','getCurrentUnitForType','_render','onCommandExecuted','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','memberID','defs','size','_status$','beginPath','_drawTextRange','9aWgzcR','body','_cursorInfo$','_memberService','FromArray','getParam','_doCreateSocket','subunit','InsertRangeMoveRightCommandId','1862848WcbVyY','PERMISSION_DENIED','_getSaveTimeout','function','_univerInstanceService','_initCommandExecutedListener','COMPLETION_FINISHED','docStateChange$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_RATE_OVER_LIMIT','debug'];_0x4b4c=function(){return _0x355ae4;};return _0x4b4c();}import{jsx as _0x20c2d2,jsxs as _0x54c13b}from'react/jsx-runtime';import{useObservable as _0x162370,useDependency as _0x2693a3,IUIPartsService as _0x4d441f,BuiltInUIPart as _0x3af043,connectInjector as _0x3af94b,IBeforeCloseService as _0x50d1d5,IMessageService as _0x23f879,INotificationService as _0x5267e1}from'@univerjs/ui';import{Tooltip as _0x4b5462,clsx as _0x4800c1,MessageType as _0x18f4ec}from'@univerjs/design';import{forwardRef as _0x40c795,useRef as _0x1787f1,createElement as _0x4c6a71,useCallback as _0x328165}from'react';import{IRemoteInstanceService as _0x539a03}from'@univerjs/rpc';var ci=Object[_0x5ccdac(0x16f)],li=(_0x44019f,_0x37d7dd,_0x5827ff,_0x3de55f)=>{const _0x484ecf=_0x5ccdac;for(var _0x88982d=_0x3de55f>0x1?void 0x0:_0x3de55f?ci(_0x37d7dd,_0x5827ff):_0x37d7dd,_0x4fcff2=_0x44019f[_0x484ecf(0x1da)]-0x1,_0x2c2dfa;_0x4fcff2>=0x0;_0x4fcff2--)(_0x2c2dfa=_0x44019f[_0x4fcff2])&&(_0x88982d=_0x2c2dfa(_0x88982d)||_0x88982d);return _0x88982d;},Je=(_0x1b8180,_0x528052)=>(_0x17ae23,_0x328834)=>_0x528052(_0x17ae23,_0x328834,_0x1b8180);let Ne=class extends _0x1d3bed{constructor(_0x47c41b,_0x24e1f3){const _0x2c1525=_0x5ccdac;super(),this['_docClipboardService']=_0x47c41b,this[_0x2c1525(0x2be)]=_0x24e1f3,this['_init']();}[_0x5ccdac(0x2c4)](){const _0x2de14e=_0x5ccdac,_0x49e0af=this;this[_0x2de14e(0x2e4)](this[_0x2de14e(0x192)][_0x2de14e(0x2b0)]({'onBeforePasteImage':async _0x11db45=>{const _0x41aa5d=_0x2de14e,_0x11a933=await _0x49e0af[_0x41aa5d(0x2be)][_0x41aa5d(0x12d)](_0x11db45);return _0x11a933?{'source':_0x11a933['source'],'imageSourceType':_0x11a933[_0x41aa5d(0x10c)]}:null;}}));}};Ne=li([Je(0x0,_0x44c426),Je(0x1,_0x113607)],Ne);const Ze=[_0x5ccdac(0x144),_0x5ccdac(0x269),'green.600','red.300',_0x5ccdac(0x118),_0x5ccdac(0xe0)];class ke extends _0x511293{constructor(){const _0x99cd02=_0x5ccdac;super(...arguments),_(this,_0x99cd02(0x1fb),new Map()),_(this,_0x99cd02(0x1df),0x0);}[_0x5ccdac(0x260)](_0x3953f3){const _0x496873=_0x5ccdac;if(this['_assignedColors'][_0x496873(0x1d9)](_0x3953f3))return this[_0x496873(0x1fb)][_0x496873(0x218)](_0x3953f3);const _0x5826a0=Ze[this[_0x496873(0x1df)]];return this[_0x496873(0x1df)]=(this['_colorIndex']+0x1)%Ze[_0x496873(0x1da)],this['_assignedColors'][_0x496873(0x11b)](_0x3953f3,_0x5826a0),_0x5826a0;}}function Tt(_0x1a51be){let _0x44a878='';for(const _0x394fee of _0x1a51be){const {startOffset:_0x2863c3,endOffset:_0x718cb9,isActive:_0x5d3df9,rangeType:_0x112a5c,segmentId:_0x383d4d,segmentPage:_0x47fd97}=_0x394fee;_0x44a878['length']&&(_0x44a878+=','),_0x44a878+=_0x2863c3+':'+_0x718cb9+':'+(_0x5d3df9?'1':'0')+':'+_0x112a5c+':'+_0x383d4d+':'+_0x47fd97;}return _0x44a878;}function _i(_0x49dbab){const _0x531900=_0x5ccdac,_0x1d7e0c=_0x49dbab[_0x531900(0x1ed)](','),_0x28c6c5=[];for(const _0x4b024e of _0x1d7e0c){const [_0x271073,_0x5be484,_0x25064c,_0x44ce8b,_0x198432,_0x37f93a]=_0x4b024e[_0x531900(0x1ed)](':');_0x28c6c5['push']({'startOffset':Number(_0x271073),'endOffset':Number(_0x5be484),'collapsed':_0x271073===_0x5be484,'isActive':_0x25064c==='1','rangeType':_0x44ce8b===_0x5cab35['TEXT']?_0x5cab35[_0x531900(0x138)]:_0x5cab35[_0x531900(0x127)],'segmentId':typeof _0x198432=='string'?String(_0x198432):'','segmentPage':Number(_0x37f93a!=null?_0x37f93a:-0x1)});}return _0x28c6c5[_0x531900(0x160)](_0x157968=>_0x157968['isActive'])||(_0x28c6c5[0x0][_0x531900(0x276)]=!0x0),_0x28c6c5;}class He extends _0x1d3bed{constructor(){const _0x2d2347=_0x5ccdac;super(...arguments),_(this,_0x2d2347(0x158),new _0x2cc9b0(null)),_(this,_0x2d2347(0x29e),this[_0x2d2347(0x158)][_0x2d2347(0x150)]());}[_0x5ccdac(0x2b3)](_0x379010){const _0x1429e5=_0x5ccdac,{unitID:_0x46fe81,memberID:_0x3c809e,textRanges:_0x8a1c91}=_0x379010,_0x44bb6f=Tt(_0x8a1c91);if(_0x44bb6f==='')return;const _0x54c688={'unitID':_0x46fe81,'memberID':_0x3c809e,'selection':_0x44bb6f};this[_0x1429e5(0x158)][_0x1429e5(0x19b)](_0x54c688);}}var hi=Object[_0x5ccdac(0x16f)],ui=(_0x5d5cd0,_0x13bf55,_0x344fea,_0x29e56d)=>{const _0x3005ff=_0x5ccdac;for(var _0x298d6b=_0x29e56d>0x1?void 0x0:_0x29e56d?hi(_0x13bf55,_0x344fea):_0x13bf55,_0x2baa01=_0x5d5cd0[_0x3005ff(0x1da)]-0x1,_0xe5f2b6;_0x2baa01>=0x0;_0x2baa01--)(_0xe5f2b6=_0x5d5cd0[_0x2baa01])&&(_0x298d6b=_0xe5f2b6(_0x298d6b)||_0x298d6b);return _0x298d6b;},P=(_0x27aec9,_0x33cec3)=>(_0xbcf73a,_0x5cb37d)=>_0x33cec3(_0xbcf73a,_0x5cb37d,_0x27aec9);const di=0x12c,fi=0x64;let Ue=class extends _0x1d3bed{constructor(_0x337601,_0x91d375,_0x44ecbf,_0xd4d745,_0x1b1cea,_0x492759,_0x1890dc,_0x4a6246,_0x59dc1e){const _0x161156=_0x5ccdac;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x161156(0x227),new _0x2cc9b0(new Map())),_(this,_0x161156(0x26e),this['_cursorInfo$'][_0x161156(0x150)]()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x161156(0x25a),this[_0x161156(0x242)][_0x161156(0x107)](_0x3f82b4(di))),_(this,_0x161156(0x2cd),_0xa76b4c(_0xad81b2=>{const _0x108676=_0x161156,_0x1dd5ba={'eventID':_0x357f8a[_0x108676(0x153)],'data':{'unitID':this[_0x108676(0x15c)],'memberID':this[_0x108676(0x204)][_0x108676(0x217)](),'selection':Tt(_0xad81b2)}};this[_0x108676(0x204)][_0x108676(0x1ba)](_0x1dd5ba,this[_0x108676(0x15c)]);},fi)),(this[_0x161156(0x15c)]=_0x337601,this[_0x161156(0x204)]=_0x91d375,this[_0x161156(0x165)]=_0x44ecbf,this[_0x161156(0x130)]=_0xd4d745,this[_0x161156(0x228)]=_0x1b1cea,this[_0x161156(0x2b8)]=_0x492759,this[_0x161156(0x10b)]=_0x1890dc,this[_0x161156(0x232)]=_0x4a6246,this[_0x161156(0x213)]=_0x59dc1e);}get[_0x5ccdac(0x173)](){return this['_cursorInfo$']['getValue']();}get[_0x5ccdac(0xfb)](){const _0x4c74cb=_0x5ccdac;return this[_0x4c74cb(0x242)]['getValue']();}['dispose'](){const _0x2805f0=_0x5ccdac;super['dispose'](),this[_0x2805f0(0x227)][_0x2805f0(0x19b)](new Map()),this[_0x2805f0(0x227)][_0x2805f0(0xdb)](),this['_roomMembers$'][_0x2805f0(0x19b)]([]),this[_0x2805f0(0x242)]['complete']();}[_0x5ccdac(0x205)](){const _0x2f00e8=_0x5ccdac;this[_0x2f00e8(0x2c4)]||(this[_0x2f00e8(0x2c4)]=!0x0,this[_0x2f00e8(0x204)][_0x2f00e8(0x11f)][_0x2f00e8(0x107)](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x3dd212=>{const _0x567e8c=_0x2f00e8;_0x3dd212===_0x6f7e03[_0x567e8c(0x20b)]?this[_0x567e8c(0x244)]():this['_toggleOffline']();}),this[_0x2f00e8(0x204)][_0x2f00e8(0x17b)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x2c69de=>{const _0x3eb0c2=_0x2f00e8,_0x281b72=_0x2c69de[_0x3eb0c2(0x136)];_0x281b72===_0x357f8a[_0x3eb0c2(0x153)]&&this[_0x3eb0c2(0x2c9)](_0x2c69de),_0x281b72===_0x357f8a[_0x3eb0c2(0x2d1)]&&this['_onCursorDelete'](_0x2c69de);}),this['disposeWithMe'](this['_commandService'][_0x2f00e8(0x21d)](_0x372d25=>{const _0x37be57=_0x2f00e8,_0xd40944=_0x372d25[_0x37be57(0x2d7)];_0xd40944!=null&&this['_online']&&_0x372d25['id']===_0x279026['id']&&_0xd40944[_0x37be57(0x207)]===this[_0x37be57(0x15c)]&&_0xd40944[_0x37be57(0x198)]===!0x1&&_0xd40944[_0x37be57(0x2cc)]['length']>0x0&&this[_0x37be57(0x2cd)](_0xd40944[_0x37be57(0x2cc)]);})),this[_0x2f00e8(0x2b8)][_0x2f00e8(0x29e)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x22ea17=>{const _0x73342b=_0x2f00e8;if((_0x22ea17==null?void 0x0:_0x22ea17['unitID'])!==this[_0x73342b(0x15c)])return;const _0x35e0c1={'eventID':_0x357f8a[_0x73342b(0x153)],'data':_0x22ea17};this[_0x73342b(0x2c9)](_0x35e0c1);}),this[_0x2f00e8(0x2e4)](this[_0x2f00e8(0x213)]['onCommandExecuted'](_0x3b15d9=>{const _0x53f068=_0x2f00e8;if(_0x3b15d9[_0x53f068(0x2d7)]==null)return;const _0x10bc44=_0x3b15d9['params'];if(_0x3b15d9['id']!==_0x1ec75c['id']||_0x10bc44['unitId']!==this[_0x53f068(0x15c)])return;const _0x2cc251={'id':'doc.mutation.rich-text-editing','params':_0x10bc44},_0x110ce7=this['cursorInfo'];for(const [_0x27e164,_0xd86469]of _0x110ce7){const _0x298af1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x53f068(0x15c)],'actions':null,'textRanges':_0xd86469['ranges']}},_0xe057c3=this['_transformService'][_0x53f068(0x12b)](_0x2cc251,_0x298af1,!0x1);if(_0x4578d1(_0xe057c3))throw _0xe057c3[_0x53f068(0x135)];_0x110ce7[_0x53f068(0x11b)](_0x27e164,{..._0xd86469,'ranges':_0xe057c3[_0x53f068(0x208)][_0x53f068(0x2d7)][_0x53f068(0x1fa)]});}queueMicrotask(()=>{const _0xecc39=_0x53f068;this[_0xecc39(0x227)][_0xecc39(0x19b)](_0x110ce7);});})));}[_0x5ccdac(0x2c9)](_0x343ccc){const _0x3e4926=_0x5ccdac;var _0x124ada,_0x5d10fd;const {memberID:_0x2bf7b4,selection:_0x1246d9}=_0x343ccc[_0x3e4926(0x28c)],_0x2443bb=_i(_0x1246d9),_0x5a2e38=(_0x5d10fd=(_0x124ada=this[_0x3e4926(0x228)][_0x3e4926(0x27d)](this['unitID'],_0x2bf7b4))==null?void 0x0:_0x124ada[_0x3e4926(0x176)])!=null?_0x5d10fd:_0x3e4926(0x2e0),_0x174607={'color':this['_colorAssignService'][_0x3e4926(0x260)](_0x2bf7b4),'name':_0x5a2e38,'ranges':_0x2443bb},_0x5813e4=this['cursorInfo'];_0x5813e4[_0x3e4926(0x11b)](_0x2bf7b4,_0x174607),this['_cursorInfo$']['next'](_0x5813e4);}[_0x5ccdac(0x106)](_0x2e995e){const _0x570516=_0x5ccdac,{memberID:_0x3065d3}=_0x2e995e[_0x570516(0x28c)],_0x51b180=this['cursorInfo'];_0x51b180['delete'](_0x3065d3),this[_0x570516(0x227)][_0x570516(0x19b)](_0x51b180);}[_0x5ccdac(0x244)](){const _0x3ea2e0=_0x5ccdac;var _0xf284f7;if(this[_0x3ea2e0(0x212)]=!0x0,((_0xf284f7=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xf284f7[_0x3ea2e0(0x2d9)]())!==this[_0x3ea2e0(0x15c)])return;const _0x428883=this[_0x3ea2e0(0x165)][_0x3ea2e0(0x218)](_0x1cdd1e)[_0x3ea2e0(0x289)]();Array[_0x3ea2e0(0x2da)](_0x428883)&&_0x428883[_0x3ea2e0(0x1da)]>0x0&&this[_0x3ea2e0(0x2cd)](_0x428883);}[_0x5ccdac(0x172)](){const _0x4b1c3a=_0x5ccdac;this[_0x4b1c3a(0x212)]=!0x1;}};Ue=ui([P(0x2,_0x5d30c5(_0x1594b9)),P(0x3,_0x5d30c5(ke)),P(0x4,_0x5d30c5(_0x34140a)),P(0x5,_0x5d30c5(He)),P(0x6,_0x122f43),P(0x7,_0xb0b851),P(0x8,_0x58b9f6)],Ue);var Si=Object[_0x5ccdac(0x16f)],mi=(_0x1efee9,_0x253ef7,_0x347e44,_0x14b1fc)=>{const _0x2b081b=_0x5ccdac;for(var _0x576177=_0x14b1fc>0x1?void 0x0:_0x14b1fc?Si(_0x253ef7,_0x347e44):_0x253ef7,_0x5ad61=_0x1efee9[_0x2b081b(0x1da)]-0x1,_0x1f2f74;_0x5ad61>=0x0;_0x5ad61--)(_0x1f2f74=_0x1efee9[_0x5ad61])&&(_0x576177=_0x1f2f74(_0x576177)||_0x576177);return _0x576177;},x=(_0x23e5b5,_0x5d7a97)=>(_0x82e759,_0xaf0601)=>_0x5d7a97(_0x82e759,_0xaf0601,_0x23e5b5);const Ii=0x12c,gi=0x64,vi=()=>{let _0x27c7a5=[],_0x59edab=!0x1;return _0xf6d15b=>{const _0x176bc8=_0x709d;_0x27c7a5[_0x176bc8(0x275)](_0xf6d15b),_0x59edab||(_0x59edab=!0x0,setTimeout(()=>{const _0x55e70a=_0x176bc8;_0x27c7a5[_0x55e70a(0x28e)](_0x4bae1a=>_0x4bae1a()),_0x27c7a5=[],_0x59edab=!0x1;}));};};let Me=class extends _0x1d3bed{constructor(_0x2eb93c,_0x36c4f8,_0x29fab9,_0x32cf28,_0x59bf31,_0x1989a2,_0x447d0a,_0x4bd85b){const _0x122935=_0x5ccdac;super(),_(this,_0x122935(0x212),!0x1),_(this,_0x122935(0x2c4),!0x1),_(this,_0x122935(0x227),new _0x2cc9b0(new Map())),_(this,_0x122935(0x26e),this[_0x122935(0x227)]['asObservable']()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x122935(0x25a),this[_0x122935(0x242)][_0x122935(0x107)](_0x3f82b4(Ii))),_(this,_0x122935(0x2cd),_0xa76b4c((_0x3d705f,_0xb6b432)=>{const _0x5136fe=_0x122935,_0x33b057={'eventID':_0x357f8a[_0x5136fe(0x153)],'data':{'unitID':this[_0x5136fe(0x15c)],'memberID':this[_0x5136fe(0x204)]['getMemberID'](),'selection':_0x14b0d1(_0x3d705f,_0xb6b432[_0x5136fe(0x249)])}};this[_0x5136fe(0x204)][_0x5136fe(0x1ba)](_0x33b057,this[_0x5136fe(0x15c)]);},gi)),(this[_0x122935(0x15c)]=_0x2eb93c,this['_session']=_0x36c4f8,this[_0x122935(0x165)]=_0x29fab9,this['_colorAssignService']=_0x32cf28,this[_0x122935(0x228)]=_0x59bf31,this[_0x122935(0x232)]=_0x1989a2,this[_0x122935(0x213)]=_0x447d0a,this['_refRangeService']=_0x4bd85b);}get[_0x5ccdac(0x173)](){const _0x4289e0=_0x5ccdac;return this[_0x4289e0(0x227)][_0x4289e0(0x18e)]();}get['roomMembers'](){const _0x21849f=_0x5ccdac;return this[_0x21849f(0x242)][_0x21849f(0x18e)]();}[_0x5ccdac(0x1c4)](){const _0x510c31=_0x5ccdac;super['dispose'](),this[_0x510c31(0x227)][_0x510c31(0x19b)](new Map()),this[_0x510c31(0x227)][_0x510c31(0xdb)](),this[_0x510c31(0x242)][_0x510c31(0x19b)]([]),this['_roomMembers$'][_0x510c31(0xdb)]();}[_0x5ccdac(0x205)](){const _0x45ea7c=_0x5ccdac;this['_init']||(this[_0x45ea7c(0x2c4)]=!0x0,this[_0x45ea7c(0x204)][_0x45ea7c(0x11f)][_0x45ea7c(0x107)](_0xcffb89(this['dispose$']))[_0x45ea7c(0x1fd)](_0x586d02=>{const _0x2ea60a=_0x45ea7c;_0x586d02===_0x6f7e03['ONLINE']?this['_toggleOnline']():this[_0x2ea60a(0x172)]();}),this['_session'][_0x45ea7c(0x17b)][_0x45ea7c(0x107)](_0xcffb89(this[_0x45ea7c(0x195)]))[_0x45ea7c(0x1fd)](_0x206f0c=>{const _0x2a07f1=_0x45ea7c,_0x48cab9=_0x206f0c['eventID'];_0x48cab9===_0x357f8a[_0x2a07f1(0x153)]&&this[_0x2a07f1(0x2c9)](_0x206f0c),_0x48cab9===_0x357f8a[_0x2a07f1(0x2d1)]&&this[_0x2a07f1(0x106)](_0x206f0c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x45ea7c(0x213)][_0x45ea7c(0x21d)](_0x130b3e=>{const _0x1a2251=_0x45ea7c;if(this[_0x1a2251(0x212)]&&_0x130b3e['id']===_0xdb6c66['id']&&_0x130b3e['params'][_0x1a2251(0x207)]===this['unitID']){const _0x457e12=_0x130b3e['params'];this[_0x1a2251(0x2cd)](_0x457e12[_0x1a2251(0x2e3)],_0x457e12[_0x1a2251(0x1d1)][0x0]);}})));}[_0x5ccdac(0x2c9)](_0x35e050){const _0x55cc7f=_0x5ccdac;var _0x37c4ff,_0x55a174;const {memberID:_0x2388b0,selection:_0xbc74b8}=_0x35e050['data'],{sheetName:_0x4db9b3,range:_0x3421f8}=_0x43c764(_0xbc74b8),_0x22bbe7={'name':(_0x55a174=(_0x37c4ff=this[_0x55cc7f(0x228)][_0x55cc7f(0x27d)](this['unitID'],_0x2388b0))==null?void 0x0:_0x37c4ff[_0x55cc7f(0x176)])!=null?_0x55a174:'Unknown\x20user','range':this['_getMergeRange'](_0x4db9b3,_0x3421f8),'sheetID':_0x4db9b3,'color':this[_0x55cc7f(0x130)][_0x55cc7f(0x260)](_0x2388b0),'selection':_0xbc74b8},_0x3ad73c=this['cursorInfo'];_0x3ad73c[_0x55cc7f(0x11b)](_0x2388b0,_0x22bbe7),this[_0x55cc7f(0x227)][_0x55cc7f(0x19b)](_0x3ad73c);}[_0x5ccdac(0x106)](_0x28986e){const _0x3c70ce=_0x5ccdac,{memberID:_0x13a5bb}=_0x28986e[_0x3c70ce(0x28c)],_0x3889af=this['cursorInfo'];_0x3889af['delete'](_0x13a5bb),this[_0x3c70ce(0x227)][_0x3c70ce(0x19b)](_0x3889af);}[_0x5ccdac(0x268)](_0x39c717,_0x5986f9){const _0x31b0ad=_0x5ccdac;var _0x56f665,_0x21db1a;const _0x2270f0=(_0x21db1a=(_0x56f665=this['_univerInstanceService'][_0x31b0ad(0x1fe)](this[_0x31b0ad(0x15c)]))==null?void 0x0:_0x56f665['getSheetBySheetId'](_0x39c717))==null?void 0x0:_0x21db1a[_0x31b0ad(0x1d7)]();return(_0x2270f0==null?void 0x0:_0x2270f0[_0x31b0ad(0x247)](_0x14a2cb=>_0x2eefc7['contains'](_0x14a2cb,_0x5986f9)))||_0x5986f9;}[_0x5ccdac(0x12a)](){const _0x5271c5=_0x5ccdac,_0x41ac82=new _0x3bbcfc(),_0x5bb3f7=vi(),_0x41ecc6=()=>{const _0x27a8cd=_0x709d;_0x41ac82[_0x27a8cd(0x1c4)]();const _0x5d4191=(_0x2b3227,_0x4040f3,_0x43b49f,_0x32e9d6)=>{const _0x247d17=_0x27a8cd;let _0x45512f=[];switch(_0x2b3227['id']){case _0x1d915b[_0x247d17(0x105)]:{_0x45512f=_0x389098(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1f1)]:{_0x45512f=_0x47a709(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x274)]:{_0x45512f=_0x511acf(_0x2b3227,_0x32e9d6);break;}case _0x1d915b['InsertRangeMoveDownCommandId']:{_0x45512f=_0x5a3abe(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x22d)]:{_0x45512f=_0x1c2180(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2bd)]:{_0x45512f=_0x1155e3(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1c0)]:{_0x45512f=_0x5da23c(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x248)]:{_0x45512f=_0x5d1768(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2d5)]:{_0x45512f=_0x2c2ef9(_0x2b3227,_0x32e9d6);break;}}const _0x17a5e2=_0x441c5e(_0x45512f,_0x32e9d6),_0x2f7272=this[_0x247d17(0x173)][_0x247d17(0x218)](_0x4040f3);if(_0x2f7272&&_0x17a5e2){const _0x5e8482={..._0x2f7272,'range':_0x17a5e2};this['cursorInfo']['set'](_0x4040f3,_0x5e8482),_0x5bb3f7(()=>{const _0x5ab551=_0x247d17,_0xdcfdf2=this['_refRangeService'][_0x5ab551(0x14b)](_0x17a5e2,_0xd62eb2=>(_0xdcfdf2[_0x5ab551(0x1c4)](),_0x5d4191(_0xd62eb2,_0x4040f3,_0x43b49f,_0x17a5e2)));_0x41ac82['add'](_0xdcfdf2);});}return{'redos':[],'undos':[]};};this[_0x27a8cd(0x173)][_0x27a8cd(0x28e)]((_0x18e221,_0x1bdc0b)=>{const _0x9d102=_0x27a8cd,{range:_0x163118,sheetID:_0x36c262}=_0x18e221,_0x56f2ab=this[_0x9d102(0x1a2)][_0x9d102(0x14b)](_0x163118,_0x580377=>(_0x56f2ab[_0x9d102(0x1c4)](),_0x5d4191(_0x580377,_0x1bdc0b,_0x36c262,_0x163118)));_0x41ac82[_0x9d102(0xea)](_0x56f2ab);});};this[_0x5271c5(0x2e4)](_0x1529d5(this[_0x5271c5(0x227)][_0x5271c5(0x1fd)](()=>{_0x41ecc6();})));}[_0x5ccdac(0x244)](){const _0x5e2b6d=_0x5ccdac;var _0x175472,_0x48c67f;if(this[_0x5e2b6d(0x212)]=!0x0,((_0x175472=this[_0x5e2b6d(0x232)]['getFocusedUnit']())==null?void 0x0:_0x175472['getUnitId']())!==this[_0x5e2b6d(0x15c)])return;const _0x14936a=(_0x48c67f=this[_0x5e2b6d(0x165)][_0x5e2b6d(0x218)](_0x5ecd97)[_0x5e2b6d(0x1ab)]())==null?void 0x0:_0x48c67f[0x0],_0x382d16=this[_0x5e2b6d(0x232)][_0x5e2b6d(0x21b)](_0x5b953e[_0x5e2b6d(0x245)])[_0x5e2b6d(0x111)]();_0x14936a&&_0x382d16&&this['_updateLocalCursor'](_0x382d16[_0x5e2b6d(0x2c3)](),_0x14936a);}[_0x5ccdac(0x172)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5d30c5(_0x1594b9)),x(0x3,_0x5d30c5(ke)),x(0x4,_0x5d30c5(_0x34140a)),x(0x5,_0xb0b851),x(0x6,_0x58b9f6),x(0x7,_0x5d30c5(_0xa622fa))],Me);var pi=Object[_0x5ccdac(0x16f)],Ci=(_0x52d528,_0x376e7f,_0x10c0f7,_0x482d99)=>{for(var _0x17ade0=_0x482d99>0x1?void 0x0:_0x482d99?pi(_0x376e7f,_0x10c0f7):_0x376e7f,_0x9875eb=_0x52d528['length']-0x1,_0x3bca74;_0x9875eb>=0x0;_0x9875eb--)(_0x3bca74=_0x52d528[_0x9875eb])&&(_0x17ade0=_0x3bca74(_0x17ade0)||_0x17ade0);return _0x17ade0;},Se=(_0x4cdab1,_0x439bbf)=>(_0x5e24cc,_0x405374)=>_0x439bbf(_0x5e24cc,_0x405374,_0x4cdab1);let H=class extends _0x1d3bed{constructor(_0x2e4521,_0x862166,_0xde2aef){const _0x5c48a2=_0x5ccdac;super(),_(this,_0x5c48a2(0xdc),new Map()),_(this,'_entityInit$',new _0x320e59()),(this[_0x5c48a2(0x232)]=_0x2e4521,this['_injector']=_0x862166,this[_0x5c48a2(0x1b9)]=_0xde2aef,this[_0x5c48a2(0x2c4)]());}[_0x5ccdac(0x1c4)](){const _0x3bed32=_0x5ccdac;super[_0x3bed32(0x1c4)](),this[_0x3bed32(0x25d)][_0x3bed32(0xdb)](),this[_0x3bed32(0xdc)][_0x3bed32(0x28e)](_0x4a463d=>_0x4a463d[_0x3bed32(0x1c4)]());}[_0x5ccdac(0x202)](_0x45a30f){const _0x1a32d8=_0x5ccdac;return this['_entities'][_0x1a32d8(0x1d9)](_0x45a30f)?this[_0x1a32d8(0xdc)]['get'](_0x45a30f)[_0x1a32d8(0x26e)]:this['_entityInit$']['pipe'](_0x3c8805(_0x50df3a=>_0x50df3a[_0x1a32d8(0x15c)]===_0x45a30f),_0xb781b0(_0x2d50c0=>_0x2d50c0[_0x1a32d8(0x26e)]));}['_init'](){const _0x42d3ad=_0x5ccdac;this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e[_0x42d3ad(0x245)])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](async _0x46b5d0=>{const _0x181c39=_0x42d3ad,_0x1d0418=_0x46b5d0[_0x181c39(0x2d9)](),_0x44f0b8=await this['_startSheetCollabCursor'](_0x1d0418);this[_0x181c39(0x25d)]['next'](_0x44f0b8),this[_0x181c39(0xdc)][_0x181c39(0x11b)](_0x1d0418,_0x44f0b8);}),this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e['UNIVER_DOC'])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x107)](_0x3c8805(_0x258841=>!_0x258841[_0x42d3ad(0x2d9)]()[_0x42d3ad(0x2a3)]('__')))[_0x42d3ad(0x1fd)](async _0x53ce78=>{const _0x579e64=_0x42d3ad,_0x13e6b5=_0x53ce78['getUnitId'](),_0x3e25bf=await this[_0x579e64(0x23e)](_0x13e6b5);this[_0x579e64(0x25d)][_0x579e64(0x19b)](_0x3e25bf),this[_0x579e64(0xdc)][_0x579e64(0x11b)](_0x13e6b5,_0x3e25bf);}),_0x514233(this[_0x42d3ad(0x232)]['getTypeOfUnitDisposed$'](_0x5b953e[_0x42d3ad(0x2c7)]),this[_0x42d3ad(0x232)][_0x42d3ad(0x123)](_0x5b953e[_0x42d3ad(0x245)]))[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](_0x1a0bb7=>{const _0x16bd51=_0x42d3ad,_0x4bec51=_0x1a0bb7['getUnitId'](),_0x198b8f=this[_0x16bd51(0xdc)][_0x16bd51(0x218)](_0x4bec51);_0x198b8f&&(_0x198b8f['dispose'](),this[_0x16bd51(0xdc)][_0x16bd51(0x2d2)](_0x4bec51));});}async['_startSheetCollabCursor'](_0xb7f84c){const _0x518b91=_0x5ccdac,_0xa709d3=await this[_0x518b91(0x1b9)]['requireSession'](_0xb7f84c),_0x4cbd8d=this[_0x518b91(0x165)]['createInstance'](Me,_0xb7f84c,_0xa709d3);return _0x4cbd8d['init'](),_0x4cbd8d;}async[_0x5ccdac(0x23e)](_0xa88043){const _0x5f223e=_0x5ccdac,_0x24cfca=await this[_0x5f223e(0x1b9)][_0x5f223e(0x1c8)](_0xa88043),_0x14e32e=this['_injector'][_0x5f223e(0x2df)](Ue,_0xa88043,_0x24cfca);return _0x14e32e['init'](),_0x14e32e;}};H=Ci([Se(0x0,_0xb0b851),Se(0x1,_0x5d30c5(_0x1594b9)),Se(0x2,_0x5d30c5(_0x32b0dc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3b5a51,_0x1d5501){const _0x5058b1=_0x5ccdac;let {radius:_0x163183,width:_0xf9deb,height:_0x54dd7d}=_0x1d5501;_0x163183=_0x163183!=null?_0x163183:0x0,_0xf9deb=_0xf9deb!=null?_0xf9deb:0x1e,_0x54dd7d=_0x54dd7d!=null?_0x54dd7d:0x1e;let _0x5928cc=0x0,_0x204f7d=0x0,_0xc58ea5=0x0;_0x5928cc=_0x204f7d=_0xc58ea5=Math['min'](_0x163183,_0xf9deb/0x2,_0x54dd7d/0x2),_0x3b5a51[_0x5058b1(0x223)](),_0x3b5a51[_0x5058b1(0x188)](_0x5928cc,0x0),_0x3b5a51['lineTo'](_0xf9deb-_0x204f7d,0x0),_0x3b5a51[_0x5058b1(0x1ce)](_0xf9deb-_0x204f7d,_0x204f7d,_0x204f7d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](_0xf9deb,_0x54dd7d-_0xc58ea5),_0x3b5a51['arc'](_0xf9deb-_0xc58ea5,_0x54dd7d-_0xc58ea5,_0xc58ea5,0x0,Math['PI']/0x2,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x54dd7d),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x5928cc),_0x3b5a51[_0x5058b1(0x1ce)](_0x5928cc,_0x5928cc,_0x5928cc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b5a51['closePath'](),_0x1d5501[_0x5058b1(0x292)]&&(_0x3b5a51['save'](),_0x3b5a51[_0x5058b1(0x2bc)]=_0x1d5501[_0x5058b1(0x292)],_0x1d5501['fillRule']==='evenodd'?_0x3b5a51[_0x5058b1(0x292)](_0x5058b1(0x12e)):_0x3b5a51[_0x5058b1(0x292)](),_0x3b5a51[_0x5058b1(0xf3)]());}class he extends _0x5dfd05{constructor(_0x5049fe,_0x40131f){const _0x38d08a=_0x5ccdac;super(_0x5049fe,_0x40131f),_(this,_0x38d08a(0x271)),_(this,_0x38d08a(0x264)),(this['color']=_0x40131f==null?void 0x0:_0x40131f['color'],this[_0x38d08a(0x264)]=_0x40131f==null?void 0x0:_0x40131f[_0x38d08a(0x264)]);}static[_0x5ccdac(0x256)](_0x34cfb6,_0x35347c){const _0x302329=_0x5ccdac,{text:_0x3eb881,color:_0x599252}=_0x35347c;_0x34cfb6[_0x302329(0x2d0)](),_0x34cfb6['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x255197=_0x34cfb6['measureText'](_0x3eb881)[_0x302329(0x103)],_0x226140=Math[_0x302329(0x203)](_0x255197+0x2*me,Qe);Oi(_0x34cfb6,{'height':ee,'radius':0x4,'width':_0x226140,'fill':_0x599252}),_0x34cfb6['fillStyle']=_0x302329(0x24c);const _0x3ff0ab=me,_0x1990be=ee-Ei,_0x205463=Qe-0x2*me;if(_0x255197>_0x205463){let _0x73b433='',_0x565d76=0x0;for(const _0x52f9e2 of _0x3eb881){const _0x135f83=_0x34cfb6[_0x302329(0x2a0)](_0x52f9e2)[_0x302329(0x103)];if(_0x565d76+_0x135f83<=_0x205463-_0x34cfb6[_0x302329(0x2a0)](_0x302329(0x2b4))[_0x302329(0x103)])_0x73b433+=_0x52f9e2,_0x565d76+=_0x135f83;else{_0x73b433+=_0x302329(0x2b4);break;}}_0x34cfb6[_0x302329(0x1f9)](_0x73b433,_0x3ff0ab,_0x1990be);}else _0x34cfb6[_0x302329(0x1f9)](_0x3eb881,_0x3ff0ab,_0x1990be);_0x34cfb6['restore']();}['_draw'](_0x458448){const _0x285c15=_0x5ccdac;he[_0x285c15(0x256)](_0x458448,this);}}const Ie='collab-text-anchor-',bi=_0x5ccdac(0x1a3),Ti=_0x5ccdac(0x1d4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x303ea2,_0x2315b9,_0xabf60a,_0x4812bd){const _0x46aa8d=_0x5ccdac;_(this,_0x46aa8d(0x117),[]),_(this,_0x46aa8d(0x140),null),_(this,_0x46aa8d(0x1af),null),_(this,_0x46aa8d(0x137),null),_(this,_0x46aa8d(0x25b),null),_(this,_0x46aa8d(0x1cc),null),(this['_cursor']=_0x303ea2,this['_scene']=_0x2315b9,this[_0x46aa8d(0x197)]=_0xabf60a,this[_0x46aa8d(0x2b6)]=_0x4812bd,this[_0x46aa8d(0x21c)]());}set[_0x5ccdac(0x174)](_0x1991ea){const _0x4a5efd=_0x5ccdac;_0x1991ea?(this['_anchorDot']&&this[_0x4a5efd(0x137)][_0x4a5efd(0x255)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x24d)]()):(this[_0x4a5efd(0x137)]&&this['_anchorDot'][_0x4a5efd(0x24d)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x255)]());}[_0x5ccdac(0x1c4)](){const _0x28f931=_0x5ccdac;for(const _0x565ddc of this[_0x28f931(0x117)])_0x565ddc[_0x28f931(0x1c4)]();this['_textBubble']&&this[_0x28f931(0x1af)]['dispose'](),this[_0x28f931(0x137)]&&this[_0x28f931(0x137)][_0x28f931(0x1c4)](),this[_0x28f931(0x140)]&&this[_0x28f931(0x140)][_0x28f931(0x1c4)](),this[_0x28f931(0x1cc)]&&this[_0x28f931(0x1cc)]();}[_0x5ccdac(0x21c)](){const _0x24c7ed=_0x5ccdac;var _0x3cb52f;const {_docSkeleton:_0x459541,_document:_0x36605a}=this,{color:_0x49c895,name:_0x91d3c7,ranges:_0x5f3a53}=this[_0x24c7ed(0x267)],_0x99d4a6=_0x36605a[_0x24c7ed(0x29f)](),{docsLeft:_0x29210d,docsTop:_0x4f6c25}=_0x99d4a6,_0x21d088=new _0x53e06e(_0x99d4a6,_0x459541);for(const {startOffset:_0x7c58fe,endOffset:_0x4aa680,rangeType:_0xa5750a,segmentId:_0x32137a,segmentPage:_0x519ecf,collapsed:_0x23b042,isActive:_0x122657}of _0x5f3a53){const _0x4a0ad3=_0x459541[_0x24c7ed(0x25f)](_0x7c58fe,!0x0,_0x32137a,_0x519ecf);let _0x1a5082=_0x459541[_0x24c7ed(0x25f)](_0x4aa680,!0x0,_0x32137a,_0x519ecf);if(_0x1a5082==null&&(_0x1a5082=_0x459541['findNodePositionByCharIndex'](_0x4aa680-0x1,!0x1,_0x32137a,_0x519ecf)),_0x122657){const {contentBoxPointGroup:_0xcd4505}=_0x21d088[_0x24c7ed(0x14a)](_0x1a5082,_0x1a5082);if(_0xcd4505[_0x24c7ed(0x1da)]===0x0)continue;this['_drawAnchor'](_0x49c895,_0xcd4505,_0x29210d,_0x4f6c25,_0x91d3c7),this[_0x24c7ed(0x1cc)]=this[_0x24c7ed(0x246)]();}if(_0x4a0ad3&&_0x1a5082){if(_0xa5750a===_0x5cab35['RECT']){const _0x4edfeb=new _0x157fb2(_0x99d4a6,_0x459541),{pointGroup:_0x51a396}=(_0x3cb52f=_0x4edfeb[_0x24c7ed(0x14a)](_0x4a0ad3,_0x1a5082))!=null?_0x3cb52f:{};if(_0x51a396==null||_0x51a396[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x2ac)](_0x49c895,_0x51a396,_0x29210d,_0x4f6c25);}else{if(!_0x23b042){const {borderBoxPointGroup:_0x36cf9a}=_0x21d088['getRangePointData'](_0x4a0ad3,_0x1a5082);if(_0x36cf9a[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x224)](_0x49c895,_0x36cf9a,_0x29210d,_0x4f6c25);}}}}}[_0x5ccdac(0x14e)](_0xe9045b,_0x3ee158,_0x3d27cd,_0x1221a0,_0x16bcd9){const _0x39c6c8=_0x5ccdac,_0x23f208=this[_0x39c6c8(0x1d3)](_0x3ee158),{left:_0x1a31ea,top:_0x1713c1,height:_0x4c98bd}=_0x23f208,_0x1a8ef1=this[_0x39c6c8(0x143)](),_0x2a8070=Di/_0x1a8ef1,_0x3b9087=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0,'height':_0x4c98bd,'width':Ri,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':_0x2a8070,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x3b9087,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x3b9087,_0x55fa23);const _0x28e230=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ge/0x2,'height':ge,'width':ge,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':0x0,'stroke':_0xe9045b||_0x1a7fb3(_0xace774[_0x39c6c8(0x102)],0x0),'evented':!0x1});this[_0x39c6c8(0x137)]=_0x28e230,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x28e230,_0x55fa23);const _0x4e8b20=new he(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ee,'text':_0x16bcd9,'color':_0xe9045b});this[_0x39c6c8(0x1af)]=_0x4e8b20,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x4e8b20,_0x55fa23),this[_0x39c6c8(0x174)]=!0x1;}['_handleHover'](){const _0x3a2245=_0x5ccdac,_0x5c9c38=this[_0x3a2245(0x140)][_0x3a2245(0x15a)][_0x3a2245(0x1d8)](()=>{this['_hover']=!0x0;}),_0x571957=this['_anchor'][_0x3a2245(0x116)][_0x3a2245(0x1d8)](()=>{const _0x134d80=_0x3a2245;this[_0x134d80(0x25b)]&&clearTimeout(this[_0x134d80(0x25b)]),this[_0x134d80(0x25b)]=setTimeout(()=>{const _0x356368=_0x134d80;this[_0x356368(0x174)]=!0x1;},0x7d0);});return()=>{const _0x1da11d=_0x3a2245;_0x5c9c38[_0x1da11d(0x29b)](),_0x571957[_0x1da11d(0x29b)]();};}['_drawTextRange'](_0x2b4daf,_0x299b88,_0x4749de,_0x5059e4){const _0x572b04=_0x5ccdac,_0x549520=new _0x366f4a(_0x2b4daf)['setAlpha'](0.2)[_0x572b04(0x253)](),_0x1ed218=new _0x58224e(bi+_0x453a5f['generateRandomId'](X),{'pointsGroup':_0x299b88,'fill':_0x549520||_0x1a7fb3(_0xace774[_0x572b04(0x102)],0.2),'left':_0x4749de,'top':_0x5059e4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x572b04(0x117)]['push'](_0x1ed218),this[_0x572b04(0x194)][_0x572b04(0x1f5)](_0x1ed218,_0x55fa23);}['_drawRectRange'](_0x331a10,_0x1ea298,_0x594283,_0x18a6ec){const _0x513779=_0x5ccdac,_0x44f2a2=new _0x366f4a(_0x331a10)['setAlpha'](0.2)[_0x513779(0x253)](),_0x3c32ef=new _0x58224e(Ti+_0x453a5f[_0x513779(0x1cb)](X),{'pointsGroup':_0x1ea298,'fill':_0x44f2a2||_0x1a7fb3(_0xace774[_0x513779(0x102)],0.2),'left':_0x594283,'top':_0x18a6ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x513779(0x117)]['push'](_0x3c32ef),this[_0x513779(0x194)][_0x513779(0x1f5)](_0x3c32ef,_0x55fa23);}['_getAnchorBounding'](_0x2eb659){const _0x160b79=_0x2eb659[0x0],_0x195595=_0x160b79[0x0],_0x37f08d=_0x160b79[0x2],{x:_0x1f7307,y:_0x589bb9}=_0x195595,{x:_0x503075,y:_0x247e27}=_0x37f08d;return{'left':_0x1f7307,'top':_0x589bb9,'width':_0x503075-_0x1f7307,'height':_0x247e27-_0x589bb9};}[_0x5ccdac(0x143)](){const _0x4d7641=_0x5ccdac,{scaleX:_0x14ed7c,scaleY:_0x40862c}=this[_0x4d7641(0x194)][_0x4d7641(0x126)]();return Math['max'](_0x14ed7c,_0x40862c);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xb5c3a8,_0x1b9071,_0x420fc2,_0x5162db)=>{const _0x148dd8=_0x5ccdac;for(var _0x25fd93=_0x5162db>0x1?void 0x0:_0x5162db?Ui(_0x1b9071,_0x420fc2):_0x1b9071,_0x2d9238=_0xb5c3a8[_0x148dd8(0x1da)]-0x1,_0x653eb3;_0x2d9238>=0x0;_0x2d9238--)(_0x653eb3=_0xb5c3a8[_0x2d9238])&&(_0x25fd93=_0x653eb3(_0x25fd93)||_0x25fd93);return _0x25fd93;},Z=(_0x28da51,_0x4ac292)=>(_0x59a331,_0x183457)=>_0x4ac292(_0x59a331,_0x183457,_0x28da51);let we=class extends _0x1d3bed{constructor(_0x1c13ff,_0x1f442a,_0x1ab1c6,_0x268e53,_0x2a44b6){const _0x400b89=_0x5ccdac;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x400b89(0x1dd)]=_0x1c13ff,this[_0x400b89(0x16a)]=_0x1f442a,this[_0x400b89(0x1c6)]=_0x1ab1c6,this['_commandService']=_0x268e53,this[_0x400b89(0x28a)]=_0x2a44b6,this[_0x400b89(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x14cb05=_0x5ccdac,_0x253ead=this[_0x14cb05(0x1dd)]['unitId'],_0x3e50b7=this[_0x14cb05(0x16a)];this['disposeWithMe'](_0x3ed33c([this['_collabCursorController'][_0x14cb05(0x202)](_0x253ead),this[_0x14cb05(0x28a)]['currentTheme$']])[_0x14cb05(0x107)](_0x13142d(([_0x17d9d8,_0x4759b0])=>({'skeleton':_0x3e50b7[_0x14cb05(0xe5)](),'cursors':[..._0x17d9d8['values']()][_0x14cb05(0x1a0)](_0x333517=>({..._0x333517,'color':this[_0x14cb05(0x28a)]['getColorFromTheme'](_0x333517[_0x14cb05(0x271)])}))})))[_0x14cb05(0x1fd)](_0x2fae51=>{const _0x1a30b5=_0x14cb05;if(this[_0x1a30b5(0x1c9)](),_0x2fae51){const {skeleton:_0x3d99d5,cursors:_0x59756a}=_0x2fae51;this[_0x1a30b5(0x1aa)](_0x3d99d5,_0x59756a);}})),this[_0x14cb05(0xe8)](),this['_initCommandExecutedListener']();}[_0x5ccdac(0x1aa)](_0x29febb,_0x3ad0d1){const _0x2dd98a=_0x5ccdac,{scene:_0x3aa78e,mainComponent:_0x41f8ac}=this[_0x2dd98a(0x1dd)],_0x294b4c=_0x3ad0d1[_0x2dd98a(0x1a5)](_0x1b4b10=>new qe(_0x1b4b10,_0x3aa78e,_0x29febb,_0x41f8ac));this[_0x2dd98a(0x169)]=_0x294b4c,this[_0x2dd98a(0x1d5)]=_0x3ad0d1;}[_0x5ccdac(0x2bf)](){const _0x24ebfb=_0x5ccdac;this[_0x24ebfb(0x1c9)]();const {scene:_0xc35b03,mainComponent:_0x24fc61}=this[_0x24ebfb(0x1dd)],_0x1fb460=this['_docSkeletonManagerService'][_0x24ebfb(0xe5)](),_0x17291b=this[_0x24ebfb(0x1d5)][_0x24ebfb(0x1a5)](_0x3f2da3=>new qe(_0x3f2da3,_0xc35b03,_0x1fb460,_0x24fc61));this['_cursorShapes']=_0x17291b;}[_0x5ccdac(0x1c9)](){const _0x2cd1f9=_0x5ccdac;this[_0x2cd1f9(0x169)]['forEach'](_0x2d3ab8=>_0x2d3ab8['dispose']()),this['_cursorShapes']=[];}[_0x5ccdac(0x233)](){const _0xc8b323=_0x5ccdac,_0x311395=[_0x17b391['id']];this[_0xc8b323(0x2e4)](this[_0xc8b323(0x213)][_0xc8b323(0x21d)](_0x314016=>{const _0x6be6b9=_0xc8b323;_0x311395[_0x6be6b9(0x240)](_0x314016['id'])&&_0x314016[_0x6be6b9(0x2d7)]['unitId']===this[_0x6be6b9(0x1dd)]['unitId']&&this[_0x6be6b9(0x2bf)]();}));}['_initResize'](){const _0x1b483e=_0x5ccdac;this[_0x1b483e(0x2e4)](_0x1ee04c(this[_0x1b483e(0x1dd)][_0x1b483e(0x2e7)][_0x1b483e(0x283)])[_0x1b483e(0x107)](_0x7a3f1a(_0x29fc4e=>_0x29fc4e['type']===_0x3c08ff[_0x1b483e(0x182)]),_0x8c9cc4(0x10))[_0x1b483e(0x1fd)](()=>{const _0x57105d=_0x1b483e;this[_0x57105d(0x2bf)]();}));}};we=Mi([Z(0x1,_0x5d30c5(_0x12e746)),Z(0x2,_0x5d30c5(H)),Z(0x3,_0x58b9f6),Z(0x4,_0x5d30c5(_0x442833))],we);const wi=0x1,Pi=1.5;class Li extends _0x5dfd05{constructor(_0x2cdfa1,_0x5584ce){const _0xdbe48=_0x5ccdac;super(_0x2cdfa1,_0x5584ce),_(this,_0xdbe48(0x1ec)),_(this,_0xdbe48(0x184),!0x1),_(this,'_range'),_(this,_0xdbe48(0xdd),''),_(this,'_labelPosition',_0xdbe48(0x259)),_(this,'_backgroundColor'),(_0x5584ce&&this[_0xdbe48(0x163)](_0x5584ce),this[_0xdbe48(0x15a)]['subscribeEvent'](()=>this[_0xdbe48(0x163)]({'hovered':!0x0})),this['onPointerLeave$'][_0xdbe48(0x1d8)](()=>this[_0xdbe48(0x163)]({'hovered':!0x1})));}[_0x5ccdac(0x163)](_0x12c0a2){const _0x3a123c=_0x5ccdac;var _0xb7f80c,_0x22a988,_0x682ef1,_0x5eb902,_0x137ab4,_0x9d2d7d;this[_0x3a123c(0x1ec)]=(_0xb7f80c=_0x12c0a2['color'])!=null?_0xb7f80c:this['_color'],this['_hovered']=(_0x22a988=_0x12c0a2['hovered'])!=null?_0x22a988:this[_0x3a123c(0x184)],this[_0x3a123c(0x1f0)]=(_0x682ef1=_0x12c0a2[_0x3a123c(0x249)])!=null?_0x682ef1:this[_0x3a123c(0x1f0)],this[_0x3a123c(0xdd)]=(_0x5eb902=_0x12c0a2[_0x3a123c(0x176)])!=null?_0x5eb902:this[_0x3a123c(0xdd)],this[_0x3a123c(0x1be)]=(_0x137ab4=_0x12c0a2['labelPosition'])!=null?_0x137ab4:this[_0x3a123c(0x1be)],this[_0x3a123c(0x20a)]=(_0x9d2d7d=_0x12c0a2[_0x3a123c(0xfa)])!=null?_0x9d2d7d:this['_backgroundColor'],this[_0x3a123c(0x295)]({'width':_0x12c0a2[_0x3a123c(0x103)],'height':_0x12c0a2[_0x3a123c(0x121)]});}[_0x5ccdac(0x1ea)](_0x14f2a1){const _0x11348c=_0x5ccdac,{row:_0x1da632,column:_0x116925}=_0x14f2a1;if(_0x1da632>=this[_0x11348c(0x1f0)][_0x11348c(0x134)]&&_0x1da632<=this['_range'][_0x11348c(0x1e1)]&&_0x116925>=this[_0x11348c(0x1f0)][_0x11348c(0x1bd)]&&_0x116925<=this[_0x11348c(0x1f0)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x11348c(0x163)]({'hovered':!0x1});}[_0x5ccdac(0xfe)](_0x4cce9d){return!0x1;}[_0x5ccdac(0x2d4)](_0x59b840){const _0x41dd37=_0x5ccdac;_0x5abff7[_0x41dd37(0x256)](_0x59b840,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x41dd37(0x1ec)],'evented':!0x1,'fill':this[_0x41dd37(0x20a)]}),this[_0x41dd37(0x184)]&&(_0x59b840[_0x41dd37(0x2d0)](),_0x59b840[_0x41dd37(0x2e1)](0x1,0x0,0x0,0x1,this['width'],this[_0x41dd37(0x1be)]==='bottom'?0x0:-0x14),he[_0x41dd37(0x256)](_0x59b840,{'text':this[_0x41dd37(0xdd)],'color':this[_0x41dd37(0x1ec)]}),_0x59b840[_0x41dd37(0xf3)]());}}var Ai=Object[_0x5ccdac(0x16f)],yi=(_0x46af3f,_0x4f3999,_0x5e1c48,_0x21382e)=>{const _0x14d808=_0x5ccdac;for(var _0x18951b=_0x21382e>0x1?void 0x0:_0x21382e?Ai(_0x4f3999,_0x5e1c48):_0x4f3999,_0x3e1ac7=_0x46af3f[_0x14d808(0x1da)]-0x1,_0x25ed60;_0x3e1ac7>=0x0;_0x3e1ac7--)(_0x25ed60=_0x46af3f[_0x3e1ac7])&&(_0x18951b=_0x25ed60(_0x18951b)||_0x18951b);return _0x18951b;},ve=(_0x20895c,_0x290a17)=>(_0x517853,_0x348527)=>_0x290a17(_0x517853,_0x348527,_0x20895c);const $i=0x1389;let Pe=class extends _0x1d3bed{constructor(_0x450b36,_0x3f9586,_0x43b39e,_0x15a14a){const _0x6fdc58=_0x5ccdac;super(),_(this,_0x6fdc58(0x1d5),new Set()),_(this,'_lastPointer',null),(this[_0x6fdc58(0x1dd)]=_0x450b36,this[_0x6fdc58(0x252)]=_0x3f9586,this['_collabCursorController']=_0x43b39e,this[_0x6fdc58(0x28a)]=_0x15a14a,this[_0x6fdc58(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x4ada62=_0x5ccdac;this[_0x4ada62(0x252)][_0x4ada62(0x294)]['pipe'](_0x115372(this[_0x4ada62(0x195)]),_0x594866(_0x151f56=>{const _0x41411e=_0x4ada62;if(_0x151f56){const _0x5e5ca5=_0x151f56[_0x41411e(0x250)];return _0x3ed33c(this[_0x41411e(0x1c6)][_0x41411e(0x202)](this[_0x41411e(0x1dd)]['unitId']),this[_0x41411e(0x28a)][_0x41411e(0xf8)])[_0x41411e(0x107)](_0x13142d(([_0x38d489,_0xc5ced8])=>{const _0x35d62a=_0x41411e,_0xac5518=new Map();return _0x38d489[_0x35d62a(0x28e)]((_0x45e44d,_0x55c235)=>{const _0x41e714=_0x35d62a;if(_0x45e44d[_0x41e714(0x2a4)]===_0x5e5ca5){const _0x493e04={..._0x45e44d};_0x493e04['color']=this[_0x41e714(0x28a)][_0x41e714(0xf4)](_0x45e44d[_0x41e714(0x271)]),_0xac5518[_0x41e714(0x11b)](_0x55c235,_0x493e04);}}),{'skeleton':_0x151f56,'cursors':_0xac5518};}));}return _0x430603({'skeleton':null,'cursors':new Map()});}))[_0x4ada62(0x1fd)](({skeleton:_0xadf3cd,cursors:_0x31646c})=>{this['_removeCollabCursors'](),_0xadf3cd&&this['_updateCollabCursors'](_0xadf3cd,_0x31646c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4ada62(0x1fd)](_0x4ba060=>{const _0x10ff0c=_0x4ada62;if(_0x4ba060==null)return;const {skeleton:_0x36721d}=_0x4ba060,{scene:_0x2a8e92}=this[_0x10ff0c(0x1dd)];_0x2a8e92[_0x10ff0c(0x286)][_0x10ff0c(0x1d8)](_0xa76b4c(_0x2d39b1=>{const _0x163ccf=_0x10ff0c;var _0x536269,_0x5ea33b;const {offsetX:_0x476066,offsetY:_0x53072e}=_0x2d39b1,{x:_0x23ec2d,y:_0x5635f2}=_0x2a8e92[_0x163ccf(0x171)](_0x576202[_0x163ccf(0x229)]([_0x476066,_0x53072e])),{scaleX:_0x33bfc8,scaleY:_0x37ddd7}=_0x2a8e92[_0x163ccf(0x126)](),_0x3d84f5=_0x2a8e92['getViewport'](_0x3973d7[_0x163ccf(0x26d)]),_0x1c8a12=_0x2a8e92[_0x163ccf(0x141)](_0x576202[_0x163ccf(0x229)]([_0x23ec2d,_0x5635f2]),_0x3d84f5),_0xc2953f=_0x36721d[_0x163ccf(0x297)](_0x476066,_0x53072e,_0x33bfc8,_0x37ddd7,_0x1c8a12);((_0x536269=this[_0x163ccf(0x21a)])==null?void 0x0:_0x536269[_0x163ccf(0x183)])===_0xc2953f[_0x163ccf(0x183)]&&((_0x5ea33b=this[_0x163ccf(0x21a)])==null?void 0x0:_0x5ea33b[_0x163ccf(0x1c2)])===_0xc2953f[_0x163ccf(0x1c2)]||this[_0x163ccf(0x1d5)][_0x163ccf(0x28e)](_0x2a61d1=>{const _0x371698=_0x163ccf;_0x2a61d1[_0x371698(0x1ea)](_0xc2953f);});},0x64));});}[_0x5ccdac(0x1aa)](_0x1fcb34,_0x1ecb35){const _0xda1dc4=_0x5ccdac;var _0x6c6d25;const _0x3f1bf8=(_0x6c6d25=this[_0xda1dc4(0x252)]['getCurrent']())==null?void 0x0:_0x6c6d25[_0xda1dc4(0x266)];if(!_0x3f1bf8)return;const _0x3be235=this[_0xda1dc4(0x19c)]();if(!_0x3be235)return;this['_cursors'][_0xda1dc4(0x28e)](_0x358a82=>{const _0x1726b9=_0xda1dc4;_0x358a82[_0x1726b9(0xf0)]();});const {scene:_0x3a857c}=_0x3be235,_0x451af1=xi(Array[_0xda1dc4(0x131)](_0x1ecb35[_0xda1dc4(0x11e)]()))[_0xda1dc4(0x1a5)](_0x45ca50=>{const _0x52d921=_0xda1dc4,{color:_0x6a897e,range:_0x57bc4c,name:_0x2ff00c,selection:_0x17609a,sheetID:_0x45477d}=_0x45ca50,{startColumn:_0x2f8f68,startRow:_0x4c2712,endColumn:_0x105883,endRow:_0x4fe53d}=_0x57bc4c,_0x323173=_0x8e1141(_0x4c2712,_0x2f8f68,_0x3a857c,_0x3f1bf8),_0x2b29e3=_0x8e1141(_0x4fe53d,_0x105883,_0x3a857c,_0x3f1bf8),{columnHeaderHeightAndMarginTop:_0xc048cf}=_0x3f1bf8,{startX:_0x9d8217,startY:_0x1e96a5}=_0x323173,{endX:_0x3793d0,endY:_0x28da0a}=_0x2b29e3,_0x3f2873=_0x3793d0-_0x9d8217,_0x55ff8d=_0x28da0a-_0x1e96a5,_0x4b0be2={'labelPosition':_0x1e96a5-_0xc048cf>=ee?_0x52d921(0x259):_0x52d921(0x196),'sheetID':_0x45477d,'range':_0x57bc4c,'color':_0x6a897e,'name':_0x2ff00c,'selection':_0x17609a,'left':_0x9d8217,'top':_0x1e96a5,'width':_0x3f2873,'height':_0x55ff8d,'evented':!0x1,'zIndex':$i};return new Li(_0x2ff00c,_0x4b0be2);});_0x3a857c[_0xda1dc4(0x1e4)](_0x451af1,wi),this[_0xda1dc4(0x1d5)]=new Set(_0x451af1);}[_0x5ccdac(0x1c9)](){const _0x1c684c=_0x5ccdac;var _0x1bf9dc;(_0x1bf9dc=this[_0x1c684c(0x1d5)])==null||_0x1bf9dc['forEach'](_0x313438=>_0x313438[_0x1c684c(0x1c4)]());}[_0x5ccdac(0x19c)](){const _0x3f706e=_0x5ccdac;return _0x29c69e(this[_0x3f706e(0x1dd)]['unit'],this[_0x3f706e(0x1dd)]);}};Pe=yi([ve(0x1,_0x5d30c5(_0x16790c)),ve(0x2,_0x5d30c5(H)),ve(0x3,_0x5d30c5(_0x442833))],Pe);function xi(_0x5422fe){const _0x302caa=_0x5ccdac,_0x1f3250=new Map();return _0x5422fe[_0x302caa(0x28e)](_0x635dd9=>{const _0x52c2c1=_0x302caa;if(_0x1f3250['has'](_0x635dd9['selection'])){const _0x4c51dc=_0x1f3250['get'](_0x635dd9[_0x52c2c1(0x263)]);_0x4c51dc['name']+=',\x20'+_0x635dd9[_0x52c2c1(0x176)];}else _0x1f3250[_0x52c2c1(0x11b)](_0x635dd9[_0x52c2c1(0x263)],_0x635dd9);}),Array[_0x302caa(0x131)](_0x1f3250[_0x302caa(0x11e)]());}var v=function(){const _0x5f2225=_0x5ccdac;return v=Object[_0x5f2225(0x2a7)]||function(_0x1b5e0d){const _0x68ac3b=_0x5f2225;for(var _0x3f522d,_0x5bb371=0x1,_0x4aa1b2=arguments[_0x68ac3b(0x1da)];_0x5bb371<_0x4aa1b2;_0x5bb371++){_0x3f522d=arguments[_0x5bb371];for(var _0xd65fe1 in _0x3f522d)Object[_0x68ac3b(0x2ad)][_0x68ac3b(0x146)][_0x68ac3b(0x214)](_0x3f522d,_0xd65fe1)&&(_0x1b5e0d[_0xd65fe1]=_0x3f522d[_0xd65fe1]);}return _0x1b5e0d;},v['apply'](this,arguments);},Bi=function(_0x209965,_0x5a4986){const _0x284f4b=_0x5ccdac;var _0x2de56c={};for(var _0x48aff6 in _0x209965)Object[_0x284f4b(0x2ad)][_0x284f4b(0x146)][_0x284f4b(0x214)](_0x209965,_0x48aff6)&&_0x5a4986[_0x284f4b(0x28f)](_0x48aff6)<0x0&&(_0x2de56c[_0x48aff6]=_0x209965[_0x48aff6]);if(_0x209965!=null&&typeof Object['getOwnPropertySymbols']==_0x284f4b(0x231)){for(var _0x2f0ea3=0x0,_0x48aff6=Object[_0x284f4b(0x23f)](_0x209965);_0x2f0ea3<_0x48aff6['length'];_0x2f0ea3++)_0x5a4986[_0x284f4b(0x28f)](_0x48aff6[_0x2f0ea3])<0x0&&Object[_0x284f4b(0x2ad)][_0x284f4b(0x1a1)][_0x284f4b(0x214)](_0x209965,_0x48aff6[_0x2f0ea3])&&(_0x2de56c[_0x48aff6[_0x2f0ea3]]=_0x209965[_0x48aff6[_0x2f0ea3]]);}return _0x2de56c;},je=_0x40c795(function(_0x365095,_0x131bf6){const _0x3b2fe6=_0x5ccdac;var _0x59c22c=_0x365095[_0x3b2fe6(0x13c)],_0x3d1149=_0x365095['id'],_0x24c52e=_0x365095['className'],_0x75c6f7=_0x365095[_0x3b2fe6(0x101)],_0x58d52a=Bi(_0x365095,[_0x3b2fe6(0x13c),'id',_0x3b2fe6(0x24e),_0x3b2fe6(0x101)]),_0x290c41=_0x3b2fe6(0x243)['concat'](_0x3d1149,'\x20')[_0x3b2fe6(0x13a)](_0x24c52e||'')['trim'](),_0x5a65e6=_0x1787f1('_'[_0x3b2fe6(0x13a)](ji()));return Rt(_0x59c22c,''[_0x3b2fe6(0x13a)](_0x3d1149),{'defIds':_0x59c22c[_0x3b2fe6(0x115)],'idSuffix':_0x5a65e6['current']},v({'ref':_0x131bf6,'className':_0x290c41},_0x58d52a),_0x75c6f7);});function Rt(_0x10ade2,_0x293e9c,_0x340285,_0x3e5cbf,_0x333a13){const _0x1ee88c=_0x5ccdac;return _0x4c6a71(_0x10ade2[_0x1ee88c(0x1ee)],v(v({'key':_0x293e9c},ki(_0x10ade2,_0x340285,_0x333a13)),_0x3e5cbf),(Hi(_0x10ade2,_0x340285)[_0x1ee88c(0xe3)]||[])[_0x1ee88c(0x1a5)](function(_0x38d6b1,_0x5efdb6){const _0x511209=_0x1ee88c;return Rt(_0x38d6b1,''[_0x511209(0x13a)](_0x293e9c,'-')[_0x511209(0x13a)](_0x10ade2[_0x511209(0x1ee)],'-')['concat'](_0x5efdb6),_0x340285,void 0x0,_0x333a13);}));}function ki(_0x43f46e,_0x473e2f,_0x2979a1){const _0x2869fd=_0x5ccdac;var _0x2d66fd=v({},_0x43f46e[_0x2869fd(0x2c5)]);_0x2979a1!=null&&_0x2979a1[_0x2869fd(0x270)]&&_0x2d66fd[_0x2869fd(0x292)]===_0x2869fd(0x270)&&(_0x2d66fd[_0x2869fd(0x292)]=_0x2979a1[_0x2869fd(0x270)]),_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x2ca)&&_0x2d66fd['id']&&(_0x2d66fd['id']=_0x2d66fd['id']+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0xc18d5d){const _0x3e9ce7=_0x2869fd;var _0x2d49e9=_0xc18d5d[0x0],_0x2a76b9=_0xc18d5d[0x1];_0x2d49e9===_0x3e9ce7(0x2ca)&&typeof _0x2a76b9=='string'&&(_0x2d66fd[_0x2d49e9]=_0x2a76b9[_0x3e9ce7(0x1a9)](/url\(#(.*)\)/,_0x3e9ce7(0x167)[_0x3e9ce7(0x13a)](_0x473e2f[_0x3e9ce7(0xda)],')')));});var _0x30363a=_0x473e2f['defIds'];return!_0x30363a||_0x30363a['length']===0x0||(_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x14c)&&_0x2d66fd[_0x2869fd(0x17d)]&&(_0x2d66fd[_0x2869fd(0x17d)]=_0x2d66fd[_0x2869fd(0x17d)]+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0x338a89){const _0x15933c=_0x2869fd;var _0x39f47a=_0x338a89[0x0],_0x37d60f=_0x338a89[0x1];typeof _0x37d60f==_0x15933c(0x1c7)&&(_0x2d66fd[_0x39f47a]=_0x37d60f['replace'](/url\(#(.*)\)/,'url(#$1'[_0x15933c(0x13a)](_0x473e2f['idSuffix'],')')));})),_0x2d66fd;}function Hi(_0x3f6674,_0x5a9110){const _0x75f58f=_0x5ccdac;var _0xcfb6ff,_0x1f36e3=_0x5a9110[_0x75f58f(0x115)];return!_0x1f36e3||_0x1f36e3[_0x75f58f(0x1da)]===0x0?_0x3f6674:_0x3f6674[_0x75f58f(0x1ee)]===_0x75f58f(0x220)&&(!((_0xcfb6ff=_0x3f6674[_0x75f58f(0xe3)])===null||_0xcfb6ff===void 0x0)&&_0xcfb6ff[_0x75f58f(0x1da)])?v(v({},_0x3f6674),{'children':_0x3f6674[_0x75f58f(0xe3)]['map'](function(_0xa325e6){const _0x40cd87=_0x75f58f;return typeof _0xa325e6[_0x40cd87(0x2c5)]['id']=='string'&&_0x1f36e3&&_0x1f36e3['includes'](_0xa325e6[_0x40cd87(0x2c5)]['id'])?v(v({},_0xa325e6),{'attrs':v(v({},_0xa325e6['attrs']),{'id':_0xa325e6[_0x40cd87(0x2c5)]['id']+_0x5a9110[_0x40cd87(0xda)]})}):_0xa325e6;})}):_0x3f6674;}function ji(){const _0x3e3fc0=_0x5ccdac;return Math['random']()[_0x3e3fc0(0x1bb)](0x24)[_0x3e3fc0(0x1b1)](0x2,0x8);}je[_0x5ccdac(0x1a8)]=_0x5ccdac(0x1b0);var Yi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x1bf),'width':_0x5ccdac(0x2ab),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0xf7)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x15f),'strokeLinecap':_0x5ccdac(0x152),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x23d)},'children':[{'tag':_0x5ccdac(0x15d),'attrs':{'fill':_0x5ccdac(0x12f),'d':_0x5ccdac(0x293)}}]}]}],'defIds':[_0x5ccdac(0x23d)]},Dt=_0x40c795(function(_0x56dd66,_0x473b9d){const _0x332e6a=_0x5ccdac;return _0x4c6a71(je,Object[_0x332e6a(0x2a7)]({},_0x56dd66,{'id':_0x332e6a(0x1e5),'ref':_0x473b9d,'icon':Yi}));});Dt[_0x5ccdac(0x1a8)]=_0x5ccdac(0x10f);var Fi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':_0x5ccdac(0x254),'fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x2e5),'width':_0x5ccdac(0x2ab),'height':_0x5ccdac(0x2ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0x19a)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x21e),'strokeLinecap':'round','strokeLinejoin':_0x5ccdac(0x152),'strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x215)},'children':[{'tag':'path','attrs':{'fill':_0x5ccdac(0x12f),'d':'M0\x200H16V16H0z','transform':_0x5ccdac(0x113)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x40c795(function(_0x19456b,_0x3bfb9f){const _0x3a6573=_0x5ccdac;return _0x4c6a71(je,Object['assign']({},_0x19456b,{'id':_0x3a6573(0xfc),'ref':_0x3bfb9f,'icon':Fi}));});Nt[_0x5ccdac(0x1a8)]='OnLineIcon';function Wi(_0x25143d){const _0x491537=_0x5ccdac;switch(_0x25143d){case _0x24642c['OFFLINE']:return _0x491537(0x210);case _0x24642c[_0x491537(0x2ce)]:return'collabStatus.conflict';case _0x24642c[_0x491537(0xff)]:return'collabStatus.fetchMiss';case _0x24642c[_0x491537(0x10e)]:return _0x491537(0xf9);case _0x24642c[_0x491537(0x120)]:case _0x24642c[_0x491537(0x1b2)]:return _0x491537(0x206);case _0x24642c[_0x491537(0x178)]:case _0x24642c[_0x491537(0xf1)]:return _0x491537(0xee);}}function Vi(_0x5b9bdf){const _0x4b17b9=_0x5ccdac,{status$:_0x436da9}=_0x5b9bdf,_0x315e54=_0x162370(_0x436da9,_0x24642c['NOT_COLLAB']),_0x266690=_0x2693a3(_0x3f7747),_0x2310c4=_0x2693a3(_0x32b0dc),_0x4aa624=_0x315e54!==_0x24642c[_0x4b17b9(0x156)],_0x29e3b0=_0x266690['t'](Wi(_0x315e54)),_0x86bca0=_0x4aa624?_0x20c2d2(Nt,{}):_0x20c2d2(Dt,{}),_0x23affb=_0x328165(()=>{const _0x18e361=_0x4b17b9;_0x4aa624||_0x2310c4[_0x18e361(0xdf)]();},[_0x4aa624,_0x2310c4]);function _0x106268(){const _0x24dfa6=_0x4b17b9;return _0x54c13b(_0x24dfa6(0x124),{'className':_0x24dfa6(0x2dd),'onClick':_0x23affb,'children':[_0x20c2d2(_0x24dfa6(0x124),{'className':_0x4800c1(_0x24dfa6(0x27b),{'univer-text-green-500':_0x4aa624,'univer-text-red-500':!_0x4aa624}),'children':_0x86bca0}),_0x20c2d2(_0x24dfa6(0x124),{'className':_0x24dfa6(0x1d2),'children':_0x29e3b0})]});}return _0x4aa624?_0x106268():_0x20c2d2(_0x4b5462,{'title':_0x266690['t'](_0x4b17b9(0xe1)),'children':_0x106268()});}var Xi=Object[_0x5ccdac(0x16f)],Gi=(_0x89e52e,_0x53eee2,_0x4878c7,_0x1d5baf)=>{const _0x49975c=_0x5ccdac;for(var _0x53fcd1=_0x1d5baf>0x1?void 0x0:_0x1d5baf?Xi(_0x53eee2,_0x4878c7):_0x53eee2,_0x34a3ac=_0x89e52e[_0x49975c(0x1da)]-0x1,_0xfcf1c5;_0x34a3ac>=0x0;_0x34a3ac--)(_0xfcf1c5=_0x89e52e[_0x34a3ac])&&(_0x53fcd1=_0xfcf1c5(_0x53fcd1)||_0x53fcd1);return _0x53fcd1;},Q=(_0x519b79,_0x1bf03a)=>(_0x217187,_0x269440)=>_0x1bf03a(_0x217187,_0x269440,_0x519b79);let te=class extends _0x511293{constructor(_0x32b607,_0x490721,_0xe934b5,_0x2b558d){const _0x38f525=_0x5ccdac;super(),_(this,_0x38f525(0x222),new _0x2cc9b0(_0x24642c[_0x38f525(0x10e)])),(this[_0x38f525(0x232)]=_0x32b607,this[_0x38f525(0x165)]=_0x490721,this[_0x38f525(0x258)]=_0xe934b5,this[_0x38f525(0x1b7)]=_0x2b558d,this[_0x38f525(0x16c)](),this[_0x38f525(0x2aa)]());}[_0x5ccdac(0x2aa)](){const _0x387d3a=_0x5ccdac;this[_0x387d3a(0x2e4)](this[_0x387d3a(0x232)][_0x387d3a(0x2e6)][_0x387d3a(0x107)](_0xb781b0(()=>{const _0x1165f3=_0x387d3a,_0x704b2b=this[_0x1165f3(0x232)][_0x1165f3(0x11d)]();return _0x704b2b?this[_0x1165f3(0x258)][_0x1165f3(0x14f)](_0x704b2b[_0x1165f3(0x2d9)]()):_0x430603(null);}),_0xb781b0(_0x4fb048=>_0x4fb048?_0x4fb048[_0x387d3a(0x2a6)]:_0x430603(_0x24642c[_0x387d3a(0x10e)])))[_0x387d3a(0x1fd)](_0x4af079=>{const _0x383e5c=_0x387d3a;this['_status$'][_0x383e5c(0x19b)](_0x4af079);}));}[_0x5ccdac(0x16c)](){const _0x3b40f0=_0x5ccdac;this[_0x3b40f0(0x2e4)](this['_uiPartsService']['registerComponent'](_0x3af043[_0x3b40f0(0x29a)],()=>_0x3af94b(Ki({'status$':this['_status$']['asObservable']()}),this[_0x3b40f0(0x165)])));}};te=Gi([Q(0x0,_0xb0b851),Q(0x1,_0x5d30c5(_0x1594b9)),Q(0x2,_0x5d30c5(_0x2454ce)),Q(0x3,_0x4d441f)],te);function Ki(_0x2bab61){const {status$:_0x1ecd66}=_0x2bab61;return function(){return _0x20c2d2(Vi,{'status$':_0x1ecd66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x24c3ae,_0x16bd24,_0x335cae,_0x40f52d)=>{const _0x3de8c4=_0x5ccdac;for(var _0x1f3c0d=_0x40f52d>0x1?void 0x0:_0x40f52d?zi(_0x16bd24,_0x335cae):_0x16bd24,_0x4b142f=_0x24c3ae[_0x3de8c4(0x1da)]-0x1,_0xd5502d;_0x4b142f>=0x0;_0x4b142f--)(_0xd5502d=_0x24c3ae[_0x4b142f])&&(_0x1f3c0d=_0xd5502d(_0x1f3c0d)||_0x1f3c0d);return _0x1f3c0d;},B=(_0x597d41,_0x192c60)=>(_0x527827,_0xed444a)=>_0x192c60(_0x527827,_0xed444a,_0x597d41);let se=class extends _0x511293{constructor(_0x2fc4f3,_0x19408b,_0x47ae88,_0x1d4366,_0x3d4a74,_0x135c74){const _0x1adf67=_0x5ccdac;super(),this[_0x1adf67(0x282)]=_0x2fc4f3,this[_0x1adf67(0x168)]=_0x19408b,this[_0x1adf67(0x28d)]=_0x47ae88,this[_0x1adf67(0x18d)]=_0x1d4366,this[_0x1adf67(0x20f)]=_0x3d4a74,this[_0x1adf67(0x16b)]=_0x135c74,this[_0x1adf67(0x1ac)](),this[_0x1adf67(0x1c1)]();}['_setupBeforeClosingHandler'](){const _0x18837a=_0x5ccdac;this[_0x18837a(0x2e4)](this['_beforeCloseService'][_0x18837a(0x18c)](()=>{const _0x13c1c8=_0x18837a;if(this[_0x13c1c8(0x168)][_0x13c1c8(0x142)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x5ccdac(0x1c1)](){const _0x43db35=_0x5ccdac;this[_0x43db35(0x2e4)](this['_collaborationUIEventService']['event$']['subscribe'](_0x2783fc=>{const _0x16292d=_0x43db35;_0x2783fc['id']===_0x1481ad[_0x16292d(0x26f)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x216))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x284)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec['Warning'],'content':this['_localeService']['t'](_0x16292d(0x2e2))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x22f)]&&this[_0x16292d(0x20f)]['show']({'title':this[_0x16292d(0x16b)]['t'](_0x16292d(0xeb)),'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x17a)),'type':_0x16292d(0x135),'duration':0x0}),_0x2783fc['id']===_0x1481ad['CONFLICT']&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this['_localeService']['t'](_0x16292d(0x2e2))+'('+_0x2783fc[_0x16292d(0x28c)]+')'}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x2bb)]&&this[_0x16292d(0x18d)]['show']({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x2783fc[_0x16292d(0x28c)]||'')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x15b)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t']('session.will-retry')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x186)]&&this['_messageService'][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0xd9))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x20c)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x2b5))});}));}};se=Ji([B(0x0,_0x50d1d5),B(0x1,_0x820aa4),B(0x2,_0x5d30c5(_0x16f682)),B(0x3,_0x23f879),B(0x4,_0x5267e1),B(0x5,_0x5d30c5(_0x3f7747))],se);const Zi=_0x5ccdac(0x1ff),et={},Ut=_0x52e467(_0x5ccdac(0x27f));var Qi=Object[_0x5ccdac(0x16f)],qi=(_0x1fc05e,_0x258b73,_0x14c357,_0x25f41e)=>{for(var _0x5d1a5c=_0x25f41e>0x1?void 0x0:_0x25f41e?Qi(_0x258b73,_0x14c357):_0x258b73,_0x5536b1=_0x1fc05e['length']-0x1,_0x435eb0;_0x5536b1>=0x0;_0x5536b1--)(_0x435eb0=_0x1fc05e[_0x5536b1])&&(_0x5d1a5c=_0x435eb0(_0x5d1a5c)||_0x5d1a5c);return _0x5d1a5c;},G=(_0x44e818,_0x398cd1)=>(_0x52d35b,_0x5def09)=>_0x398cd1(_0x52d35b,_0x5def09,_0x44e818);let ie=class extends _0x1d3bed{constructor(_0x68cd44,_0x2a16e8,_0x539a12,_0x38b9e5,_0xcf2d0a){const _0x558890=_0x5ccdac;super(),this['_urlService']=_0x68cd44,this[_0x558890(0x109)]=_0x2a16e8,this['_commandService']=_0x539a12,this[_0x558890(0x2db)]=_0x38b9e5,_0xcf2d0a?_0xcf2d0a==null||_0xcf2d0a[_0x558890(0x17f)]()[_0x558890(0x1ef)](()=>this[_0x558890(0x2c4)]()):(this[_0x558890(0x109)][_0x558890(0x238)]('[CollaborationDataLoaderController]',_0x558890(0x179)),this[_0x558890(0x2c4)]());}async[_0x5ccdac(0x2c4)](){const _0x430cd1=_0x5ccdac,_0x3d7ee7=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0xd7)),_0x285ebb=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0x1f6)),_0x106054=this[_0x430cd1(0x157)]['getParam'](_0x430cd1(0x22c));if(!_0x3d7ee7||!_0x285ebb){this[_0x430cd1(0x109)]['debug'](_0x430cd1(0x2d3),_0x430cd1(0x236));return;}const _0x2eca2a=await this[_0x430cd1(0x2db)][_0x430cd1(0x2cb)](_0x3d7ee7,Number(_0x285ebb),_0x106054);_0x2eca2a&&_0x2eca2a instanceof _0x49cb7d&&this['_setupSubUnitSync'](_0x2eca2a);}async['_setupSubUnitSync'](_0x3082f6){const _0x5b71a8=_0x5ccdac;await this[_0x5b71a8(0x19f)](_0x3082f6),_0x3082f6['activeSheet$'][_0x5b71a8(0x107)](_0xcffb89(this[_0x5b71a8(0x195)]))[_0x5b71a8(0x1fd)](_0xa8757c=>{_0xa8757c&&this['_updateURLWithCurrentState'](_0xa8757c);}),this[_0x5b71a8(0x157)][_0x5b71a8(0xe4)][_0x5b71a8(0x107)](_0xcffb89(this['dispose$']))[_0x5b71a8(0x1fd)](()=>this[_0x5b71a8(0x19f)](_0x3082f6));}[_0x5ccdac(0x261)](_0x130f55,_0x463a8a=!0x1){const _0x5c3427=_0x5ccdac,_0x4f5ddc=this['_urlService']['getParam'](_0x5c3427(0x22c));_0x130f55[_0x5c3427(0x2c3)]()!==_0x4f5ddc&&this[_0x5c3427(0x157)][_0x5c3427(0xfd)](_0x5c3427(0x22c),_0x130f55[_0x5c3427(0x2c3)](),_0x463a8a);}async[_0x5ccdac(0x19f)](_0x74c3f1){const _0x46e757=_0x5ccdac;var _0x3248e2;const _0x44e0e1=this[_0x46e757(0x157)][_0x46e757(0x22a)](_0x46e757(0x22c));if(!_0x44e0e1||!_0x74c3f1[_0x46e757(0x257)](_0x44e0e1)){const _0x12d5c1=_0x74c3f1[_0x46e757(0x104)]()[0x0],_0x2d9f13=_0x74c3f1['getSheetBySheetId'](_0x12d5c1);if(!_0x2d9f13)return;this[_0x46e757(0x261)](_0x2d9f13,!0x0),await this[_0x46e757(0x213)][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x12d5c1});return;}((_0x3248e2=_0x74c3f1['getActiveSheet']())==null?void 0x0:_0x3248e2[_0x46e757(0x2c3)]())!==_0x44e0e1&&await this['_commandService'][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x44e0e1});}};ie=qi([G(0x0,Ut),G(0x1,_0x4baf39),G(0x2,_0x58b9f6),G(0x3,_0x5d30c5(_0xb4f128)),G(0x4,_0x12fdaa(_0x539a03))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1e5866,_0x5edfc7,_0x2fe5da,_0x32d703)=>{const _0x4b1d7e=_0x5ccdac;for(var _0x3fccc6=_0x32d703>0x1?void 0x0:_0x32d703?en(_0x5edfc7,_0x2fe5da):_0x5edfc7,_0x1759f4=_0x1e5866[_0x4b1d7e(0x1da)]-0x1,_0x3a302e;_0x1759f4>=0x0;_0x1759f4--)(_0x3a302e=_0x1e5866[_0x1759f4])&&(_0x3fccc6=_0x3a302e(_0x3fccc6)||_0x3fccc6);return _0x3fccc6;},pe=(_0x5d961a,_0x12d47c)=>(_0x22add4,_0x32360e)=>_0x12d47c(_0x22add4,_0x32360e,_0x5d961a);let ne=class{constructor(_0x404f19,_0x486fcd,_0x418d79){const _0x114c48=_0x5ccdac;this['_injector']=_0x404f19,this[_0x114c48(0x10b)]=_0x486fcd,this[_0x114c48(0x112)]=_0x418d79;}[_0x5ccdac(0x291)](_0x454da1){const _0x504042=_0x5ccdac;this[_0x504042(0x181)](_0x454da1),this[_0x504042(0x20e)](_0x454da1);}[_0x5ccdac(0x149)](_0x5a44d6){const _0x248339=_0x5ccdac,{unitID:_0x597b23}=_0x5a44d6,_0x194d3b=this[_0x248339(0x112)]['getRenderById'](_0x597b23)['with'](_0x309075),{redoCache:_0x13bf10}=_0x194d3b[_0x248339(0x1b6)]();if(_0x13bf10[_0x248339(0x1da)]===0x0)return _0x5a44d6;let _0x305fe9=_0x453a5f[_0x248339(0x2af)](_0x5a44d6[_0x248339(0x201)][0x0]);for(let _0xd2db5c=0x0;_0xd2db5c<_0x13bf10[_0x248339(0x1da)];_0xd2db5c++){const _0x19511d={'id':'doc.mutation.rich-text-editing','params':{..._0x13bf10[_0xd2db5c]}},_0x5732ec=this[_0x248339(0x10b)][_0x248339(0x12b)](_0x305fe9,_0x19511d,!0x1);if(_0x4578d1(_0x5732ec))throw _0x5732ec[_0x248339(0x135)];_0x305fe9=_0x5732ec[_0x248339(0x29c)];}return{..._0x453a5f[_0x248339(0x2af)](_0x5a44d6),'mutations':[_0x305fe9]};}[_0x5ccdac(0x181)](_0x2e2205){const _0x4add46=_0x5ccdac,{unitID:_0x4fe205}=_0x2e2205,_0x145f1b=this['_renderManagerService'][_0x4add46(0x280)](_0x4fe205)[_0x4add46(0x1d0)](_0x309075),{undoCache:_0x3d9ddc,redoCache:_0x3db2ae}=_0x145f1b[_0x4add46(0x1b6)]();if(_0x3d9ddc[_0x4add46(0x1da)]===0x0||_0x3db2ae[_0x4add46(0x1da)]===0x0)return;const _0x54dd13=[],_0x532163=[];let _0x93aa27=_0x453a5f[_0x4add46(0x2af)](_0x2e2205['mutations'][0x0]),_0x1eef30=_0x453a5f['deepClone'](_0x2e2205[_0x4add46(0x201)][0x0]);for(let _0x28d08d=_0x3d9ddc[_0x4add46(0x1da)]-0x1;_0x28d08d>=0x0;_0x28d08d--){const _0x2aff8e={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9ddc[_0x28d08d]}},_0x34b9ff={'id':_0x4add46(0x175),'params':{..._0x3db2ae[_0x28d08d]}},_0xdecdd4=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x93aa27,_0x2aff8e,!0x1),_0x3d76c6=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x1eef30,_0x34b9ff,!0x1);if(_0x4578d1(_0xdecdd4))throw _0xdecdd4[_0x4add46(0x135)];if(_0x4578d1(_0x3d76c6))throw _0x3d76c6[_0x4add46(0x135)];_0x54dd13[_0x4add46(0x132)](_0xdecdd4[_0x4add46(0x208)][_0x4add46(0x2d7)]),_0x532163['unshift'](_0x3d76c6[_0x4add46(0x208)]['params']),_0x93aa27=_0xdecdd4[_0x4add46(0x29c)],_0x1eef30=_0x3d76c6[_0x4add46(0x29c)];}_0x145f1b[_0x4add46(0x10d)]({'undoCache':_0x54dd13,'redoCache':_0x532163});}[_0x5ccdac(0x20e)](_0x3a76de){const _0x18b04f=_0x5ccdac,{unitID:_0x29a5bb}=_0x3a76de,_0x3295ec=this[_0x18b04f(0x112)][_0x18b04f(0x280)](_0x29a5bb)[_0x18b04f(0x1d0)](_0x309075),_0x2f29f5=_0x3295ec[_0x18b04f(0x26b)]();if(_0x2f29f5==null)return;const _0xf2ec50=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a76de[_0x18b04f(0x15c)],'actions':null,'textRanges':[_0x2f29f5]}}],_0x42c9ff=this['_transformService']['transformMutationsWithChangeset'](_0x3a76de,_0xf2ec50);if(!_0x576e4b(_0x42c9ff))throw _0x42c9ff[_0x18b04f(0x135)];const _0x3aec90=_0x42c9ff[_0x18b04f(0x208)][0x0]['params']['textRanges'];Array[_0x18b04f(0x2da)](_0x3aec90)&&_0x3aec90[_0x18b04f(0x1da)]&&_0x3295ec[_0x18b04f(0x133)](_0x3aec90[0x0]);}};ne=tn([pe(0x0,_0x5d30c5(_0x1594b9)),pe(0x1,_0x122f43),pe(0x2,_0x57e040)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3c679a,_0x72469a,_0x546fc3,_0xafb939)=>{const _0x4a43a6=_0x5ccdac;for(var _0x30d5ca=_0xafb939>0x1?void 0x0:_0xafb939?sn(_0x72469a,_0x546fc3):_0x72469a,_0x20e461=_0x3c679a[_0x4a43a6(0x1da)]-0x1,_0x159733;_0x20e461>=0x0;_0x20e461--)(_0x159733=_0x3c679a[_0x20e461])&&(_0x30d5ca=_0x159733(_0x30d5ca)||_0x30d5ca);return _0x30d5ca;},Ce=(_0x5aeafa,_0x492fb1)=>(_0x41d5ba,_0x33ec5a)=>_0x492fb1(_0x41d5ba,_0x33ec5a,_0x5aeafa);let re=class{constructor(_0x3adf8c,_0x748c80,_0x16f5ec){const _0x3b1752=_0x5ccdac;this[_0x3b1752(0x165)]=_0x3adf8c,this[_0x3b1752(0x10b)]=_0x748c80,this['_docStateChangeManagerService']=_0x16f5ec;}[_0x5ccdac(0x1c5)](_0x317aa7){const _0x3c1ccc=_0x5ccdac;this[_0x3c1ccc(0x287)](_0x317aa7);}['transformRemoteChangeset'](_0x42cbe0){const _0x3d6007=_0x5ccdac,{unitID:_0x39d984}=_0x42cbe0,{collaboration:_0x1179c5}=this['_docStateChangeManagerService'][_0x3d6007(0x166)](_0x39d984);if(_0x1179c5[_0x3d6007(0x1da)]===0x0)return _0x42cbe0;let _0x278a4a=_0x453a5f[_0x3d6007(0x2af)](_0x42cbe0[_0x3d6007(0x201)][0x0]);for(let _0x339870=0x0;_0x339870<_0x1179c5[_0x3d6007(0x1da)];_0x339870++){const _0x5b2fd9={'id':_0x3d6007(0x175),'params':{'unitId':_0x1179c5[_0x339870][_0x3d6007(0x207)],..._0x1179c5[_0x339870][_0x3d6007(0x110)]}},_0x346794=this[_0x3d6007(0x10b)][_0x3d6007(0x12b)](_0x278a4a,_0x5b2fd9,!0x1);if(_0x4578d1(_0x346794))throw _0x346794[_0x3d6007(0x135)];_0x278a4a=_0x346794[_0x3d6007(0x29c)];}return{..._0x453a5f[_0x3d6007(0x2af)](_0x42cbe0),'mutations':[_0x278a4a]};}[_0x5ccdac(0x287)](_0x55699a){const _0x58bd79=_0x5ccdac,{unitID:_0x3d0cdf}=_0x55699a,{history:_0x3a5116,collaboration:_0x4f65e4}=this[_0x58bd79(0x1cd)]['getStateCache'](_0x3d0cdf);if(_0x3a5116[_0x58bd79(0x1da)]===0x0&&_0x4f65e4[_0x58bd79(0x1da)]===0x0)return;const _0x51b0be=[],_0x108559=[];let _0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f['deepClone'](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x3c2a7b=_0x3a5116[_0x58bd79(0x1da)]-0x1;_0x3c2a7b>=0x0;_0x3c2a7b--){const _0x519edc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x170)]}},_0x35842f={'id':_0x58bd79(0x175),'params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x110)]}},_0x4dbf87=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x519edc,!0x1),_0x99521a=this[_0x58bd79(0x10b)]['transformMutation'](_0x5a0389,_0x35842f,!0x1);if(_0x4578d1(_0x4dbf87))throw _0x4dbf87[_0x58bd79(0x135)];if(_0x4578d1(_0x99521a))throw _0x99521a[_0x58bd79(0x135)];_0x51b0be[_0x58bd79(0x132)]({..._0x3a5116[_0x3c2a7b],'undoState':_0x4dbf87[_0x58bd79(0x208)]['params'],'redoState':_0x99521a[_0x58bd79(0x208)][_0x58bd79(0x2d7)]}),_0x7e4b69=_0x4dbf87[_0x58bd79(0x29c)],_0x5a0389=_0x99521a[_0x58bd79(0x29c)];}_0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x40c0a5=_0x4f65e4[_0x58bd79(0x1da)]-0x1;_0x40c0a5>=0x0;_0x40c0a5--){const _0x1bccdb={'id':_0x58bd79(0x175),'params':{'unitId':_0x4f65e4[_0x40c0a5]['unitId'],..._0x4f65e4[_0x40c0a5][_0x58bd79(0x170)]}},_0x23c848={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f65e4[_0x40c0a5][_0x58bd79(0x207)],..._0x4f65e4[_0x40c0a5]['redoState']}},_0x55baa0=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x1bccdb,!0x1),_0xfbe537=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x5a0389,_0x23c848,!0x1);if(_0x4578d1(_0x55baa0))throw _0x55baa0[_0x58bd79(0x135)];if(_0x4578d1(_0xfbe537))throw _0xfbe537[_0x58bd79(0x135)];_0x108559[_0x58bd79(0x132)]({..._0x4f65e4[_0x40c0a5],'undoState':_0x55baa0['m2Prime'][_0x58bd79(0x2d7)],'redoState':_0xfbe537['m2Prime']['params']}),_0x7e4b69=_0x55baa0['m1Prime'],_0x5a0389=_0xfbe537[_0x58bd79(0x29c)];}this[_0x58bd79(0x1cd)][_0x58bd79(0x298)](_0x3d0cdf,{'history':_0x51b0be,'collaboration':_0x108559});}};re=nn([Ce(0x0,_0x5d30c5(_0x1594b9)),Ce(0x1,_0x122f43),Ce(0x2,_0x5d30c5(_0x56f7e9))],re);var rn=Object[_0x5ccdac(0x16f)],on=(_0x31d3f2,_0x1a8e6d,_0x7ca2b2,_0x5d7dfb)=>{const _0x36889e=_0x5ccdac;for(var _0x454f63=_0x5d7dfb>0x1?void 0x0:_0x5d7dfb?rn(_0x1a8e6d,_0x7ca2b2):_0x1a8e6d,_0x4e0b69=_0x31d3f2[_0x36889e(0x1da)]-0x1,_0x38c7bc;_0x4e0b69>=0x0;_0x4e0b69--)(_0x38c7bc=_0x31d3f2[_0x4e0b69])&&(_0x454f63=_0x38c7bc(_0x454f63)||_0x454f63);return _0x454f63;},tt=(_0x5c4b20,_0x598170)=>(_0x508afb,_0x529436)=>_0x598170(_0x508afb,_0x529436,_0x5c4b20);let oe=class{constructor(_0x365692,_0x182949){const _0x32d44c=_0x5ccdac;this[_0x32d44c(0x165)]=_0x365692,this[_0x32d44c(0x10b)]=_0x182949;}['transformSelections'](_0x4302be){const _0x5a215c=_0x5ccdac;var _0x5b98d0;const _0x44e8dd=this[_0x5a215c(0x165)][_0x5a215c(0x218)](_0x1cdd1e),_0x271dce=(_0x5b98d0=_0x44e8dd['getDocRanges']())!=null?_0x5b98d0:[];if(_0x271dce['length']===0x0)return;const _0x33cca3=_0x4302be['unitID'],_0xc7e52a=[{'id':_0x5a215c(0x175),'params':{'unitId':_0x33cca3,'actions':null,'textRanges':_0x271dce}}],_0x4a50f6=this[_0x5a215c(0x10b)][_0x5a215c(0x279)](_0x4302be,_0xc7e52a);if(!_0x576e4b(_0x4a50f6))throw _0x4a50f6[_0x5a215c(0x135)];const _0x4e986a=_0x4a50f6['m2Prime'][0x0]['params'][_0x5a215c(0x1fa)];Array[_0x5a215c(0x2da)](_0x4e986a)&&_0x4e986a['length']&&_0x44e8dd['replaceDocRanges'](_0x4e986a,{'unitId':_0x33cca3,'subUnitId':_0x33cca3},!0x1);}};function _0x709d(_0x3dbbe9,_0x45701c){const _0x4b4c0e=_0x4b4c();return _0x709d=function(_0x709d67,_0x7300d7){_0x709d67=_0x709d67-0xd7;let _0x4f6cea=_0x4b4c0e[_0x709d67];return _0x4f6cea;},_0x709d(_0x3dbbe9,_0x45701c);}oe=on([tt(0x0,_0x5d30c5(_0x1594b9)),tt(0x1,_0x122f43)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1fc5ba,_0x5ac94c,_0xfb12ff,_0x2f8104)=>{const _0x4dd14a=_0x5ccdac;for(var _0x51020c=_0x2f8104>0x1?void 0x0:_0x2f8104?an(_0x5ac94c,_0xfb12ff):_0x5ac94c,_0x206b79=_0x1fc5ba[_0x4dd14a(0x1da)]-0x1,_0x804ba6;_0x206b79>=0x0;_0x206b79--)(_0x804ba6=_0x1fc5ba[_0x206b79])&&(_0x51020c=_0x804ba6(_0x51020c)||_0x51020c);return _0x51020c;},U=(_0x5361aa,_0x3f76cf)=>(_0x39ef90,_0x39662e)=>_0x3f76cf(_0x39ef90,_0x39662e,_0x5361aa);let ae=class extends _0x511293{constructor(_0x321212,_0x44b74a,_0x514bb0,_0x6686a,_0x1cbb06,_0x1fa516,_0x380533,_0xe7a6c4){const _0x31897a=_0x5ccdac;super(),_(this,_0x31897a(0x222),new _0x2cc9b0(_0x24642c[_0x31897a(0x10e)])),(this[_0x31897a(0x1cd)]=_0x321212,this[_0x31897a(0x258)]=_0x44b74a,this[_0x31897a(0x24a)]=_0x514bb0,this[_0x31897a(0x27e)]=_0x6686a,this[_0x31897a(0x100)]=_0x1cbb06,this[_0x31897a(0x10a)]=_0x1fa516,this[_0x31897a(0x18d)]=_0x380533,this[_0x31897a(0x16b)]=_0xe7a6c4,this['_initEntityListener']());}[_0x5ccdac(0x2b9)](){const _0x26641e=_0x5ccdac;this[_0x26641e(0x2e4)](this[_0x26641e(0x258)][_0x26641e(0x129)][_0x26641e(0x1fd)](_0x1d1f40=>{const _0x1e1a50=_0x26641e,_0x3486ef=this[_0x1e1a50(0x1cd)][_0x1e1a50(0x235)][_0x1e1a50(0x1fd)](_0x14d335=>{const _0x22b8c6=_0x1e1a50;if(_0x14d335==null)return;const {unitId:_0x359c93,redoState:_0x207d91,commandId:_0x4dc61b}=_0x14d335;if(_0x359c93!==_0x1d1f40[_0x22b8c6(0x15c)])return;const _0x2c51a8={'id':_0x4dc61b,'type':_0x1af6f4[_0x22b8c6(0x17e)],'params':{'unitId':_0x359c93,'actions':_0x207d91[_0x22b8c6(0x262)],'textRanges':null}};_0x1d1f40[_0x22b8c6(0x1e6)](_0x2c51a8);});if(_0x1d1f40[_0x1e1a50(0x2e4)](_0x3486ef),_0x1d1f40 instanceof _0x5880c6){const _0x1d2195={'onTransformIME':_0xa597f2=>this[_0x1e1a50(0x24a)][_0x1e1a50(0x291)](_0xa597f2),'onTransformState':_0x3d934d=>this['_docTransformStateCacheService']['transformStateCache'](_0x3d934d),'onTransformSelections':_0x1a6220=>this[_0x1e1a50(0x100)][_0x1e1a50(0x1eb)](_0x1a6220),'onSyncEditingCollabCursor':_0x496b6e=>this[_0x1e1a50(0x10a)][_0x1e1a50(0x2b3)](_0x496b6e),'onTransformRemoteChangesetByIMECache':_0xac7a57=>this[_0x1e1a50(0x24a)]['transformRemoteChangeset'](_0xac7a57),'onTransformRemoteChangesetByStateCache':_0x6b3ec5=>this[_0x1e1a50(0x27e)][_0x1e1a50(0x149)](_0x6b3ec5)};_0x1d1f40['addHandlerCallback'](_0x1d2195);}}));}};ae=cn([U(0x0,_0x5d30c5(_0x56f7e9)),U(0x1,_0x5d30c5(_0x2454ce)),U(0x2,_0x5d30c5(ne)),U(0x3,_0x5d30c5(re)),U(0x4,_0x5d30c5(oe)),U(0x5,_0x5d30c5(He)),U(0x6,_0x23f879),U(0x7,_0x5d30c5(_0x3f7747))],ae);var ln=Object[_0x5ccdac(0x16f)],_n=(_0x221995,_0xec3cd1,_0x1fde43,_0x310087)=>{const _0x5188b3=_0x5ccdac;for(var _0x2f5d67=_0x310087>0x1?void 0x0:_0x310087?ln(_0xec3cd1,_0x1fde43):_0xec3cd1,_0x30e8b9=_0x221995[_0x5188b3(0x1da)]-0x1,_0x522b25;_0x30e8b9>=0x0;_0x30e8b9--)(_0x522b25=_0x221995[_0x30e8b9])&&(_0x2f5d67=_0x522b25(_0x2f5d67)||_0x2f5d67);return _0x2f5d67;},Ee=(_0x16f9b4,_0x551257)=>(_0x3cd23e,_0x1a306d)=>_0x551257(_0x3cd23e,_0x1a306d,_0x16f9b4);let Le=class extends _0x511293{constructor(_0x4aefd0,_0x1bd6fd,_0x5132a4){const _0x2f93ea=_0x5ccdac;super(),_(this,_0x2f93ea(0x1f2),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x2f93ea(0xe6),!0x1),(this[_0x2f93ea(0x11c)]=_0x4aefd0,this[_0x2f93ea(0x2d8)]=_0x1bd6fd,this[_0x2f93ea(0x154)]=_0x5132a4);}[_0x5ccdac(0x13d)](){const _0x51dbca=_0x5ccdac;this[_0x51dbca(0xe6)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5ccdac(0x1c4)](){const _0x4a3f16=_0x5ccdac;this[_0x4a3f16(0x193)]()[_0x4a3f16(0x1ef)](()=>super[_0x4a3f16(0x1c4)]());}async[_0x5ccdac(0x2ae)](_0x4f7c62){const _0x39d175=_0x5ccdac;return this['_disabled']?null:this['_localStorageService'][_0x39d175(0x2b2)](_0x26b3eb(_0x4f7c62));}async[_0x5ccdac(0x1e3)](_0x21f328,_0x26e3ad){const _0x32038d=_0x5ccdac;return!!this[_0x32038d(0x2d8)][_0x32038d(0x2a5)](_0x21f328,_0x26e3ad);}[_0x5ccdac(0x2c8)](_0x21b040,_0x5c0f54,_0x19b0a8,_0x46d814){const _0x53b4a7=_0x5ccdac,_0x7ca975=this[_0x53b4a7(0x154)][_0x53b4a7(0x2c1)](_0x21b040);this[_0x53b4a7(0x1f2)][_0x53b4a7(0x11b)](_0x21b040,{'unitID':_0x21b040,'type':_0x5c0f54,'awaitingChangeset':_0x19b0a8,'mutations':_0x46d814,'rev':_0x7ca975}),this[_0x53b4a7(0x1fc)][_0x53b4a7(0x1d9)](_0x21b040)||this[_0x53b4a7(0x1b3)](_0x21b040);}[_0x5ccdac(0x1b3)](_0x34cac0){const _0x1fd02b=_0x5ccdac,_0x167650=this[_0x1fd02b(0x230)]();_0x167650===0x0?this[_0x1fd02b(0xf6)](_0x34cac0):this['_saveTaskMap']['set'](_0x34cac0,setTimeout(()=>this['_saveCache'](_0x34cac0),_0x167650));}[_0x5ccdac(0x230)](){var _0x286fe8;return(_0x286fe8=this['_configService']['getConfig'](_0x1b4490))!=null?_0x286fe8:_0x5506ed;}[_0x5ccdac(0xf6)](_0x557938){const _0x2aa934=_0x5ccdac,_0x223069=this[_0x2aa934(0x1fc)][_0x2aa934(0x218)](_0x557938);return _0x223069!==void 0x0&&window[_0x2aa934(0x185)](_0x223069),this[_0x2aa934(0x2d8)][_0x2aa934(0x2a5)](_0x26b3eb(_0x557938),this['_cachedData'][_0x2aa934(0x218)](_0x557938))[_0x2aa934(0x1ef)](()=>this[_0x2aa934(0x1fc)][_0x2aa934(0x2d2)](_0x557938));}async['exhaustSavingTask'](){const _0x456021=_0x5ccdac,_0x2cafa3=[];this[_0x456021(0x1fc)][_0x456021(0x28e)]((_0xcd4491,_0x4f8db9)=>{const _0x5b006d=_0x456021;window[_0x5b006d(0x185)](_0xcd4491),_0x2cafa3[_0x5b006d(0x275)](this[_0x5b006d(0xf6)](_0x4f8db9)[_0x5b006d(0x1ef)](()=>{const _0x5c1967=_0x5b006d;this[_0x5c1967(0x1fc)][_0x5c1967(0x2d2)](_0x4f8db9);}));}),await Promise[_0x456021(0x1a7)](_0x2cafa3);}};Le=_n([Ee(0x0,_0x518efb),Ee(0x1,_0x2c9f67),Ee(0x2,_0x5d30c5(_0x1d1977))],Le);class hn extends _0x1d3bed{constructor(){const _0x14ac74=_0x5ccdac;super(),_(this,'urlChange$'),this['urlChange$']=_0x57a91b(window,_0x14ac74(0x2b1))[_0x14ac74(0x107)](_0xcffb89(this['dispose$']),_0x467ca5(0x1),_0x1246df(void 0x0));}['setParam'](_0x997d90,_0x5103c1,_0x5401c3=!0x1){const _0x36ee28=_0x5ccdac,_0x52d091=new URL(window[_0x36ee28(0x209)][_0x36ee28(0x200)]);_0x52d091[_0x36ee28(0x27a)][_0x36ee28(0x11b)](_0x997d90,_0x5103c1),_0x5401c3?window[_0x36ee28(0x162)][_0x36ee28(0x108)]('','',_0x52d091[_0x36ee28(0x1bb)]()):window[_0x36ee28(0x162)]['pushState']('','',_0x52d091[_0x36ee28(0x1bb)]());}['removeParam'](_0x2a7151,_0x5e8b3e=!0x1){const _0x1475de=_0x5ccdac,_0x1ca23d=new URL(window[_0x1475de(0x209)][_0x1475de(0x200)]);_0x1ca23d['searchParams'][_0x1475de(0x2d2)](_0x2a7151),_0x5e8b3e?window[_0x1475de(0x162)][_0x1475de(0x108)]('','',_0x1ca23d[_0x1475de(0x1bb)]()):window[_0x1475de(0x162)][_0x1475de(0x2a1)]('','',_0x1ca23d[_0x1475de(0x1bb)]());}[_0x5ccdac(0x22a)](_0x5f43b8){const _0xfb5f7a=_0x5ccdac;var _0x379b50;return(_0x379b50=new URL(window[_0xfb5f7a(0x209)]['href'])['searchParams'][_0xfb5f7a(0x218)](_0x5f43b8))!=null?_0x379b50:void 0x0;}}var un=Object[_0x5ccdac(0x272)],dn=Object[_0x5ccdac(0x16f)],fn=(_0x3a6138,_0x3a7a89,_0x505fc5)=>_0x3a7a89 in _0x3a6138?un(_0x3a6138,_0x3a7a89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505fc5}):_0x3a6138[_0x3a7a89]=_0x505fc5,Sn=(_0x24f2cc,_0x3c2d18,_0x44af55,_0x562c54)=>{const _0x38d78f=_0x5ccdac;for(var _0x28ce66=_0x562c54>0x1?void 0x0:_0x562c54?dn(_0x3c2d18,_0x44af55):_0x3c2d18,_0x985c4a=_0x24f2cc[_0x38d78f(0x1da)]-0x1,_0x2119a3;_0x985c4a>=0x0;_0x985c4a--)(_0x2119a3=_0x24f2cc[_0x985c4a])&&(_0x28ce66=_0x2119a3(_0x28ce66)||_0x28ce66);return _0x28ce66;},Oe=(_0xa8f75e,_0x189aec)=>(_0x14fb40,_0x2a9213)=>_0x189aec(_0x14fb40,_0x2a9213,_0xa8f75e),mn=(_0x3a6ad5,_0x55b3d4,_0x48cfcd)=>fn(_0x3a6ad5,_0x55b3d4+'',_0x48cfcd);const In=_0x5ccdac(0x1f4);let Ae=class extends _0x216717{constructor(_0x3e1289=et,_0x108f4,_0x149ea2,_0x3a1439){const _0x514837=_0x5ccdac;super(),this[_0x514837(0x1b4)]=_0x3e1289,this[_0x514837(0x112)]=_0x108f4,this[_0x514837(0x165)]=_0x149ea2,this[_0x514837(0x11c)]=_0x3a1439;const {..._0x14b62d}=_0x301b16({},et,this['_config']);this['_configService']['setConfig'](Zi,_0x14b62d);}['onStarting'](){const _0x54d377=_0x5ccdac;this[_0x54d377(0xef)](),this[_0x54d377(0x14d)]();}[_0x5ccdac(0xec)](){this['_registerRenderDependencies']();}[_0x5ccdac(0xef)](){const _0x4fc2ee=_0x5ccdac;var _0x88798e;const _0x1d346c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x12a1ce,{'useClass':_0x2c24e6}],[_0x820aa4,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x20c03b(this[_0x4fc2ee(0x165)],_0xb01ab3(_0x1d346c,(_0x88798e=this[_0x4fc2ee(0x1b4)])==null?void 0x0:_0x88798e[_0x4fc2ee(0x17c)]));}[_0x5ccdac(0x18b)](){const _0x577c4c=_0x5ccdac;this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x2c7)],[we])),this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x245)],[Pe]));}[_0x5ccdac(0x14d)](){const _0x1afb35=_0x5ccdac;_0x4ae927(this[_0x1afb35(0x165)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x1c7f38(_0x35335d),Oe(0x1,_0x57e040),Oe(0x2,_0x5d30c5(_0x1594b9)),Oe(0x3,_0x518efb)],Ae);var gn=Object[_0x5ccdac(0x16f)],vn=(_0x5afc3f,_0x2c4b51,_0x2d6c4e,_0x4fc549)=>{const _0xe43bf9=_0x5ccdac;for(var _0x57b5b6=_0x4fc549>0x1?void 0x0:_0x4fc549?gn(_0x2c4b51,_0x2d6c4e):_0x2c4b51,_0xd85d76=_0x5afc3f[_0xe43bf9(0x1da)]-0x1,_0x5496b1;_0xd85d76>=0x0;_0xd85d76--)(_0x5496b1=_0x5afc3f[_0xd85d76])&&(_0x57b5b6=_0x5496b1(_0x57b5b6)||_0x57b5b6);return _0x57b5b6;},K=(_0x203ce1,_0xd68cf3)=>(_0x277e51,_0x211004)=>_0xd68cf3(_0x277e51,_0x211004,_0x203ce1);let st=class extends _0x3592b9{constructor(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e){super(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e);}async[_0x5ccdac(0x164)](_0xcf5956){const _0x36b745=_0x5ccdac,_0x524adf=await this[_0x36b745(0x1e7)](),_0x358859=this[_0x36b745(0x147)](_0xcf5956,_0x524adf);return this[_0x36b745(0x22b)](_0x358859);}[_0x5ccdac(0x147)](_0x279364,_0x4a1056){const _0x33250f=_0x5ccdac,_0x59da28=typeof window>'u'?new URL(_0x279364):new URL(_0x279364,window[_0x33250f(0x209)][_0x33250f(0x26c)]);_0x59da28['searchParams'][_0x33250f(0x11b)]('sessionTicket',_0x4a1056);const _0x288b8a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33250f(0x209)][_0x33250f(0x24f)]);return _0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))&&_0x59da28['searchParams']['set'](_0x33250f(0x2c2),_0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))),_0x59da28[_0x33250f(0x1bb)]();}async[_0x5ccdac(0x1e7)](){const _0x344155=_0x5ccdac;var _0x5e0985,_0x46c135,_0x3c022d;const _0x43a3e4=this[_0x344155(0x11c)][_0x344155(0xed)](_0x133280),_0x5ee8ad=(_0x5e0985=_0x43a3e4==null?void 0x0:_0x43a3e4[_0x344155(0x18a)])!=null?_0x5e0985:_0x5d4fcc;return(_0x3c022d=(_0x46c135=(await this['_httpService']['get'](_0x5ee8ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x46c135[_0x344155(0x180)])!=null?_0x3c022d:'';}};st=vn([K(0x0,_0x5d30c5(_0x1594b9)),K(0x1,_0x5d30c5(_0x40376b)),K(0x2,_0x518efb),K(0x3,_0x4baf39),K(0x4,_0x5f3e22)],st);const it=0x7530,nt=_0x5ccdac(0x148);class jn extends _0x511293{constructor(){const _0x36e027=_0x5ccdac;super(),_(this,_0x36e027(0x1a4),_0x4f31bd()),_(this,_0x36e027(0x1ca),new Set()),_(this,_0x36e027(0xd8),new Map()),_(this,_0x36e027(0x114),null),_(this,_0x36e027(0x1b8),new Map()),_(this,_0x36e027(0x2de),new Map()),this[_0x36e027(0x2c4)]();}[_0x5ccdac(0x1c4)](){const _0x47895e=_0x5ccdac;super['dispose'](),this[_0x47895e(0x1b8)][_0x47895e(0x28e)]((_0xdfa1fa,_0x5bbd08)=>this[_0x47895e(0x1e2)](_0x5bbd08)),this['_heartbeatTimer']&&window[_0x47895e(0x1db)](this[_0x47895e(0x114)]);}[_0x5ccdac(0x239)](_0x593baf){const _0x39415c=_0x5ccdac;return this[_0x39415c(0x139)](_0x593baf)[_0x39415c(0x107)](_0x24d254());}['editingUnit'](_0x4cbc46){const _0x2a216f=_0x5ccdac;this[_0x2a216f(0x1ca)]['size']===0x0&&this[_0x2a216f(0x2d6)](),this[_0x2a216f(0x1ca)][_0x2a216f(0xea)](_0x4cbc46),this[_0x2a216f(0x151)]({'type':0x0,'memberID':this[_0x2a216f(0x1a4)],'unitIDs':[_0x4cbc46],'isForwarded':!0x1});}[_0x5ccdac(0xe2)](_0x4cf3c5){const _0x7c9133=_0x5ccdac;this['_selfUnitIDs']['delete'](_0x4cf3c5),this[_0x7c9133(0x1ca)]['size']===0x0&&this[_0x7c9133(0x114)]&&window['clearInterval'](this[_0x7c9133(0x114)]);}[_0x5ccdac(0x2c4)](){const _0x4700c6=_0x5ccdac;this[_0x4700c6(0x2e4)](_0x1529d5(_0x57a91b(window,_0x4700c6(0x1bc))[_0x4700c6(0x1fd)](_0x479824=>{const _0x11ed8c=_0x4700c6;if(_0x479824[_0x11ed8c(0x190)]!==nt||!_0x479824[_0x11ed8c(0x2a8)])return;const _0x2db618=JSON['parse'](_0x479824[_0x11ed8c(0x2a8)]);this[_0x11ed8c(0x1e8)](_0x2db618);}))),window['addEventListener'](_0x4700c6(0x1f8),()=>this[_0x4700c6(0x151)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4700c6(0x1ca)])}));}[_0x5ccdac(0x1e8)](_0x31cbf9){const _0x212064=_0x5ccdac;switch(_0x31cbf9[_0x212064(0x1f6)]){case 0x0:this['_handleJoinEvent'](_0x31cbf9);break;case 0x1:this['_handleLeaveEvent'](_0x31cbf9);break;case 0x2:this[_0x212064(0x15e)](_0x31cbf9);break;}}['_handleJoinEvent'](_0x55ecc7){const _0x132afb=_0x5ccdac,{unitIDs:_0x1c299e,memberID:_0x219703,isForwarded:_0x185c77}=_0x55ecc7;_0x1c299e[_0x132afb(0x28e)](_0x484410=>{const _0x397a24=_0x132afb;if(!_0x185c77&&this['_unitOnClients'][_0x397a24(0x1d9)](_0x484410)&&this[_0x397a24(0x139)](_0x484410)[_0x397a24(0x19b)](_0x206d42[_0x397a24(0x288)]),!this[_0x397a24(0xd8)][_0x397a24(0x1d9)](_0x484410)||!this['_unitOnClients']['get'](_0x484410)[_0x397a24(0x1d9)](_0x219703)){const _0x344b08=this[_0x397a24(0xd8)][_0x397a24(0x218)](_0x484410)||new Set();_0x344b08[_0x397a24(0xea)](_0x219703),this[_0x397a24(0xd8)][_0x397a24(0x11b)](_0x484410,_0x344b08),this['_scheduleClearOtherTimer'](_0x219703);}}),_0x185c77||this[_0x132afb(0x151)]({'type':0x0,'memberID':this[_0x132afb(0x1a4)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5ccdac(0x1f3)](_0x4f6e8c){const _0x135e42=_0x5ccdac;this[_0x135e42(0x1e2)](_0x4f6e8c);const _0x2bca9a=window[_0x135e42(0x19e)](()=>{const _0x3e5445=_0x135e42;this['_unitOnClients'][_0x3e5445(0x28e)](_0x380781=>{const _0x5d1093=_0x3e5445;_0x380781[_0x5d1093(0x2d2)](_0x4f6e8c);});},it*0x2);this[_0x135e42(0x1b8)]['set'](_0x4f6e8c,_0x2bca9a);}[_0x5ccdac(0x1e2)](_0x598fad){const _0x44667d=_0x5ccdac;if(this[_0x44667d(0x1b8)][_0x44667d(0x1d9)](_0x598fad)){const _0x3776f0=this['_clearOtherTimers'][_0x44667d(0x218)](_0x598fad);_0x3776f0&&window[_0x44667d(0x185)](_0x3776f0),this[_0x44667d(0x1b8)]['set'](_0x598fad,null);}}[_0x5ccdac(0x125)](_0x4eedef){const _0x1d9488=_0x5ccdac,{memberID:_0x2ba433,unitIDs:_0x347ff2}=_0x4eedef;_0x347ff2[_0x1d9488(0x28e)](_0x6ed052=>{const _0x45da39=_0x1d9488;var _0x42e880;const _0x6a47f0=this[_0x45da39(0xd8)]['get'](_0x6ed052);_0x6a47f0&&(_0x6a47f0[_0x45da39(0x2d2)](_0x2ba433),(_0x42e880=this[_0x45da39(0x139)](_0x6ed052))==null||_0x42e880[_0x45da39(0x19b)](_0x6a47f0[_0x45da39(0x221)]===0x0?_0x206d42[_0x45da39(0x2c0)]:_0x206d42['OTHER_CLIENTS_EDITING']));}),this[_0x1d9488(0x1e2)](_0x2ba433);}[_0x5ccdac(0x15e)](_0x73741b){const _0x5c1878=_0x5ccdac;this[_0x5c1878(0x1f3)](_0x73741b[_0x5c1878(0x21f)]);}['_send'](_0x4deb29){localStorage['setItem'](nt,JSON['stringify'](_0x4deb29));}[_0x5ccdac(0x2d6)](){const _0x5de371=_0x5ccdac;this['_heartbeatTimer']=window[_0x5de371(0x23a)](()=>{const _0x27c468=_0x5de371;this[_0x27c468(0x151)]({'type':0x2,'memberID':this[_0x27c468(0x1a4)]});},it);}[_0x5ccdac(0x139)](_0xa30cf6){const _0xc64a53=_0x5ccdac;return this['_unitStatus']['has'](_0xa30cf6)||this['_unitStatus']['set'](_0xa30cf6,new _0x2cc9b0(_0x206d42['NO_OTHER_CLIENTS_EDITING'])),this[_0xc64a53(0x2de)][_0xc64a53(0x218)](_0xa30cf6);}}var Mt=(_0x275a17=>(_0x275a17[_0x275a17[_0x5ccdac(0x2cf)]=0x0]='UNDEFINED',_0x275a17[_0x275a17['OK']=0x1]='OK',_0x275a17[_0x275a17[_0x5ccdac(0x20d)]=0x2]=_0x5ccdac(0x20d),_0x275a17[_0x275a17[_0x5ccdac(0x22f)]=0x3]=_0x5ccdac(0x22f),_0x275a17[_0x275a17[_0x5ccdac(0x13e)]=0x4]=_0x5ccdac(0x13e),_0x275a17[_0x275a17['UNAUTHENTICATED']=0x5]=_0x5ccdac(0x128),_0x275a17[_0x275a17['ALREADY_EXISTS']=0x6]=_0x5ccdac(0x2a9),_0x275a17[_0x275a17['INVALID_ARGUMENT']=0x7]=_0x5ccdac(0x241),_0x275a17[_0x275a17[_0x5ccdac(0x145)]=0x8]=_0x5ccdac(0x145),_0x275a17[_0x275a17[_0x5ccdac(0x234)]=0x9]=_0x5ccdac(0x234),_0x275a17[_0x275a17[_0x5ccdac(0x199)]=0xa]=_0x5ccdac(0x199),_0x275a17[_0x275a17[_0x5ccdac(0x1a6)]=0x1389]=_0x5ccdac(0x1a6),_0x275a17[_0x275a17[_0x5ccdac(0x24b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x275a17[_0x275a17[_0x5ccdac(0x16d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x275a17[_0x275a17['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5ccdac(0x219),_0x275a17[_0x275a17[_0x5ccdac(0x191)]=0x1b59]=_0x5ccdac(0x191),_0x275a17[_0x275a17['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5ccdac(0xde),_0x275a17[_0x275a17[_0x5ccdac(0x2e8)]=0x1b5b]=_0x5ccdac(0x2e8),_0x275a17[_0x275a17[_0x5ccdac(0x278)]=0x1b5c]=_0x5ccdac(0x278),_0x275a17[_0x275a17[_0x5ccdac(0x25c)]=0x1b5d]='APPLY_DUPLICATED',_0x275a17[_0x275a17[_0x5ccdac(0x1dc)]=0x1f41]=_0x5ccdac(0x1dc),_0x275a17[_0x275a17[_0x5ccdac(0x161)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x189)]=0x232a]=_0x5ccdac(0x189),_0x275a17[_0x275a17[_0x5ccdac(0x290)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x177)]=0x232c]=_0x5ccdac(0x177),_0x275a17[_0x275a17[_0x5ccdac(0x273)]=0x232d]=_0x5ccdac(0x273),_0x275a17[_0x275a17['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x275a17[_0x275a17[_0x5ccdac(0x155)]=0x2712]=_0x5ccdac(0x155),_0x275a17[_0x275a17[_0x5ccdac(0x237)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x275a17[_0x275a17[_0x5ccdac(0x2a2)]=0x2714]=_0x5ccdac(0x2a2),_0x275a17[_0x275a17[_0x5ccdac(0x16e)]=0x271a]=_0x5ccdac(0x16e),_0x275a17[_0x275a17[_0x5ccdac(0x299)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x275a17[_0x275a17[_0x5ccdac(0x2ba)]=0x271c]=_0x5ccdac(0x2ba),_0x275a17[_0x275a17[_0x5ccdac(0x296)]=0x271d]=_0x5ccdac(0x296),_0x275a17[_0x275a17[_0x5ccdac(0xf2)]=0x271e]=_0x5ccdac(0xf2),_0x275a17[_0x275a17[_0x5ccdac(0x19d)]=0x271f]=_0x5ccdac(0x19d),_0x275a17[_0x275a17[_0x5ccdac(0x211)]=0x2af9]=_0x5ccdac(0x211),_0x275a17[_0x275a17[_0x5ccdac(0x27c)]=0x2ee1]=_0x5ccdac(0x27c),_0x275a17[_0x275a17[_0x5ccdac(0x28b)]=0x2ee2]=_0x5ccdac(0x28b),_0x275a17[_0x275a17[_0x5ccdac(0x1e9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x275a17[_0x275a17[_0x5ccdac(0x1d6)]=0x2ee4]=_0x5ccdac(0x1d6),_0x275a17[_0x275a17[_0x5ccdac(0x18f)]=0x2ee5]=_0x5ccdac(0x18f),_0x275a17[_0x275a17['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5ccdac(0x1c3),_0x275a17[_0x275a17[_0x5ccdac(0x159)]=0x32ca]=_0x5ccdac(0x159),_0x275a17[_0x275a17[_0x5ccdac(0x23c)]=0x32cb]=_0x5ccdac(0x23c),_0x275a17[_0x275a17[_0x5ccdac(0x277)]=-0x1]=_0x5ccdac(0x277),_0x275a17))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x416e12,_0x492361,_0x5d6c20,_0x5029dc)=>{const _0xe4fb9d=_0x5ccdac;for(var _0x584c5b=_0x5029dc>0x1?void 0x0:_0x5029dc?pn(_0x492361,_0x5d6c20):_0x492361,_0x4b5f46=_0x416e12[_0xe4fb9d(0x1da)]-0x1,_0x198598;_0x4b5f46>=0x0;_0x4b5f46--)(_0x198598=_0x416e12[_0x4b5f46])&&(_0x584c5b=_0x198598(_0x584c5b)||_0x584c5b);return _0x584c5b;},be=(_0x1e617b,_0x15ff76)=>(_0x67855f,_0x1dd52e)=>_0x15ff76(_0x67855f,_0x1dd52e,_0x1e617b);let rt=class extends _0x511293{constructor(_0x5e925b,_0x5a253a,_0x3feee3){const _0x35b294=_0x5ccdac;super(),this[_0x35b294(0x265)]=_0x5e925b,this[_0x35b294(0x1cf)]=_0x5a253a,this[_0x35b294(0x11c)]=_0x3feee3;}async[_0x5ccdac(0x2b7)](_0x16bd12,_0x5182b9,_0x5448cb,..._0x94f673){const _0x3aae79=_0x5ccdac;var _0x179fdf,_0x1b7971,_0x2f31ad,_0x1fcd13;const _0x50aa87=this[_0x3aae79(0x265)][_0x3aae79(0x11d)]();if(!_0x50aa87)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x335d7b=((_0x179fdf=this['_configService']['getConfig'](_0x5d841d))!=null?_0x179fdf:_0x5cbe20)+'/'+_0x16bd12+_0x3aae79(0x251)+_0x5182b9,_0x2c45b6=new URL(window[_0x3aae79(0x209)][_0x3aae79(0x200)]),_0x4e9371={'scriptId':_0x16bd12,'runId':(_0x1b7971=_0x2c45b6[_0x3aae79(0x27a)][_0x3aae79(0x218)](_0x3aae79(0x2c2)))!=null?_0x1b7971:'','function':_0x5182b9,'unitId':_0x50aa87[_0x3aae79(0x2d9)](),'argsOfFunction':JSON[_0x3aae79(0x23b)](_0x94f673),'invokeId':(_0x2f31ad=_0x5448cb[_0x3aae79(0x11a)])!=null?_0x2f31ad:'','executionId':(_0x1fcd13=_0x5448cb[_0x3aae79(0x1de)])!=null?_0x1fcd13:''};try{const _0x395e77=await this[_0x3aae79(0x1cf)][_0x3aae79(0xe9)](_0x335d7b,{'body':_0x4e9371});return _0x395e77[_0x3aae79(0x226)]['error']&&_0x395e77['body']['error']['code']!==Mt['OK']?_0x3aae79(0x13b):_0x395e77[_0x3aae79(0x226)]['result'];}catch{return _0x3aae79(0x13b);}}};rt=Cn([be(0x0,_0xb0b851),be(0x1,_0x5d30c5(_0x40376b)),be(0x2,_0x518efb)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x14cc50=_0x1622;function _0x1622(_0x5c86f5,_0x1437a7){const _0xa3db86=_0xa3db();return _0x1622=function(_0x16228d,_0x3e83a2){_0x16228d=_0x16228d-0xdd;let _0x217671=_0xa3db86[_0x16228d];return _0x217671;},_0x1622(_0x5c86f5,_0x1437a7);}(function(_0xe82122,_0x40e90e){const _0x2c48e6=_0x1622,_0x3d6b4b=_0xe82122();while(!![]){try{const _0x2b04d3=-parseInt(_0x2c48e6(0xe7))/0x1+-parseInt(_0x2c48e6(0xe1))/0x2*(-parseInt(_0x2c48e6(0xe9))/0x3)+-parseInt(_0x2c48e6(0xde))/0x4+parseInt(_0x2c48e6(0xe2))/0x5+parseInt(_0x2c48e6(0xe4))/0x6+-parseInt(_0x2c48e6(0xed))/0x7+parseInt(_0x2c48e6(0xe5))/0x8;if(_0x2b04d3===_0x40e90e)break;else _0x3d6b4b['push'](_0x3d6b4b['shift']());}catch(_0x3692f6){_0x3d6b4b['push'](_0x3d6b4b['shift']());}}}(_0xa3db,0x9dd04));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x14cc50(0xe8),'conflict':_0x14cc50(0xea),'notCollab':'Local\x20file','synced':_0x14cc50(0xe3),'syncing':_0x14cc50(0xe6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x14cc50(0xe0),'will-retry':_0x14cc50(0xec),'room-full':_0x14cc50(0xdd),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x14cc50(0xeb)},'permission':{'title':'Authentication\x20Error','content':_0x14cc50(0xdf)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0xa3db(){const _0x4a53b8=['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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3665284pQoewj','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','501112Umsqgz','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','10324LxTQLM','1979280cXqdtP','Synced','3014706sewout','5192920JwlkSM','Syncing...','525714euGCRa','Syncing\x20server\x20data...','159srwvPo','Edit\x20conflicts'];_0xa3db=function(){return _0x4a53b8;};return _0xa3db();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2d1926=_0x4333;(function(_0x498098,_0x2f6fc5){const _0x3a928b=_0x4333,_0x385ce4=_0x498098();while(!![]){try{const _0x4d3360=parseInt(_0x3a928b(0x150))/0x1*(parseInt(_0x3a928b(0x154))/0x2)+parseInt(_0x3a928b(0x140))/0x3+parseInt(_0x3a928b(0x14d))/0x4*(-parseInt(_0x3a928b(0x151))/0x5)+-parseInt(_0x3a928b(0x156))/0x6*(-parseInt(_0x3a928b(0x13d))/0x7)+-parseInt(_0x3a928b(0x146))/0x8+-parseInt(_0x3a928b(0x142))/0x9*(parseInt(_0x3a928b(0x14e))/0xa)+parseInt(_0x3a928b(0x14c))/0xb;if(_0x4d3360===_0x2f6fc5)break;else _0x385ce4['push'](_0x385ce4['shift']());}catch(_0x5862f6){_0x385ce4['push'](_0x385ce4['shift']());}}}(_0x4739,0xc3c1b));function _0x4333(_0x1c51e9,_0x3e333d){const _0x473931=_0x4739();return _0x4333=function(_0x4333bf,_0xa82196){_0x4333bf=_0x4333bf-0x13d;let _0x5c2743=_0x473931[_0x4333bf];return _0x5c2743;},_0x4333(_0x1c51e9,_0x3e333d);}const o={'collab-client':{'tooltip':{'reconnect':_0x2d1926(0x147)}},'collabStatus':{'fetchMiss':_0x2d1926(0x14f),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x2d1926(0x14b),'syncing':_0x2d1926(0x145),'offline':_0x2d1926(0x143)},'session':{'connection-failed':_0x2d1926(0x13f),'will-retry':_0x2d1926(0x153),'room-full':_0x2d1926(0x14a),'collaboration-timeout':_0x2d1926(0x155)},'conflict':{'title':_0x2d1926(0x152),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x2d1926(0x141),'content':_0x2d1926(0x149)},'collaboration':{'single-unit':{'warning':_0x2d1926(0x148)},'closeRoom':_0x2d1926(0x144)},'auth':{'needGotoLoginAlert':_0x2d1926(0x13e)}};export{o as default};function _0x4739(){const _0x319014=['اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','81012PVayGY','خطای\x20اعتبارسنجی','236151zyyhni','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی...','12487968miDVcN','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','همگام\x20سازی','42865658xeacDk','495592ngiNXl','570gPBBLS','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','100371ymQxYZ','55JKRynS','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','18YCwpaf','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3666qVHKJt','4515TizxjN','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'];_0x4739=function(){return _0x319014;};return _0x4739();}
|