@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202506271607 → 0.8.3-nightly.202507010644
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.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 _0x1acd05=_0xe137;(function(_0x4be702,_0x3e0e42){const _0x197331=_0xe137,_0x28b22a=_0x4be702();while(!![]){try{const _0x5154fd=-parseInt(_0x197331(0x224))/0x1*(parseInt(_0x197331(0x3a7))/0x2)+-parseInt(_0x197331(0x3b1))/0x3+-parseInt(_0x197331(0x218))/0x4+-parseInt(_0x197331(0x393))/0x5*(-parseInt(_0x197331(0x269))/0x6)+parseInt(_0x197331(0x1cc))/0x7+parseInt(_0x197331(0x3a3))/0x8+parseInt(_0x197331(0x2be))/0x9;if(_0x5154fd===_0x3e0e42)break;else _0x28b22a['push'](_0x28b22a['shift']());}catch(_0x53336c){_0x28b22a['push'](_0x28b22a['shift']());}}}(_0x3563,0x5aa13));var $t=Object[_0x1acd05(0x220)],xt=(_0x12e77b,_0xbc3fab,_0x370d4f)=>_0xbc3fab in _0x12e77b?$t(_0x12e77b,_0xbc3fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370d4f}):_0x12e77b[_0xbc3fab]=_0x370d4f,_=(_0xa326bf,_0x56bb36,_0x1ecdc9)=>xt(_0xa326bf,typeof _0x56bb36!=_0x1acd05(0x2b9)?_0x56bb36+'':_0x56bb36,_0x1ecdc9);import{MemberService as _0x480fd1,SessionStatus as _0x4f6c8f,CollaborationSessionService as _0xbcca1b,CollaborationStatus as _0x3be97d,CollaborationController as _0x353ace,ILocalCacheService as _0x22d609,CollaborationUIEventService as _0x427c8d,CollaborationUIEventId as _0x28c901,DataLoaderService as _0x35d9cc,DocCollaborationEntity as _0x2bd935,getLocalCacheKey as _0x39d7de,LOCAL_CACHE_INTERVAL as _0x51366b,LOCAL_CACHE_INTERVAL_KEY as _0xebb4,UniverCollaborationClientPlugin as _0x518949,CollaborationSocketService as _0x54c42f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x122295,DEFAULT_WS_SESSION_TICKET_URL as _0x32d98e,UnitStatus as _0xf3aa6c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2398af,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f0e80}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x17991f,Disposable as _0x1e46f3,DOC_RANGE_TYPE as _0x1274c7,Inject as _0x5f021e,Injector as _0x4f83c1,IUniverInstanceService as _0x48e36a,ICommandService as _0x4cc3b7,debounce as _0x52b9ab,Rectangle as _0x1130d0,DisposableCollection as _0x189047,toDisposable as _0x527068,UniverInstanceType as _0x1f91f1,Tools as _0x4150e8,COLORS as _0xc873dc,ColorKit as _0x68a2e7,ThemeService as _0x5c6db6,fromEventSubject as _0x3518cd,LocaleService as _0x1b849e,createIdentifier as _0x206f17,ILogService as _0x3ede55,Optional as _0x216a52,Workbook as _0x1f0347,CommandType as _0x37acca,IConfigService as _0x1e1632,ILocalStorageService as _0x40aebb,DependentOn as _0x491017,Plugin as _0x27aa42,merge as _0x68f404,registerDependencies as _0x60982f,mergeOverrideWithDependencies as _0x1a7a13,touchDependencies as _0x6a9e0a,generateRandomId as _0x211b4d}from'@univerjs/core';import{Shape as _0x3ea822,Rect as _0x1d9677,getColor as _0x236404,RegularPolygon as _0x2731ce,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3eb9b4,Vector2 as _0x17974c,SHEET_VIEWPORT_KEY as _0xb6c4cd,IRenderManagerService as _0x22a42b}from'@univerjs/engine-render';import{ISocketService as _0x4dcec0,WebSocketService as _0xd27793,HTTPService as _0x4283b1}from'@univerjs/network';import{IDocClipboardService as _0x37494c,NodePositionConvertToCursor as _0x41a922,NodePositionConvertToRectRange as _0x127fe1,TEXT_RANGE_LAYER_INDEX as _0x4bdec4,SetDocZoomRatioOperation as _0x5d9d25,DocIMEInputManagerService as _0x1a5f23,DocStateChangeManagerService as _0x145de9}from'@univerjs/docs-ui';import{IImageIoService as _0x3311d7}from'@univerjs/drawing';import{BehaviorSubject as _0x5bb037,debounceTime as _0x3972ef,takeUntil as _0x5eb4a6,Subject as _0x185b6d,filter as _0x592e33,switchMap as _0x4fef0f,merge as _0x59d202,combineLatest as _0x24821a,of as _0x4d18a7,fromEvent as _0x519b9a,shareReplay as _0x220147,mapTo as _0x384f5f,distinctUntilChanged as _0x412588}from'rxjs';import{ITransformService as _0x3c09f3,CollaborationEvent as _0x4a57d6,isTransformMutationFailure as _0x3d9270,isTransformMutationsWithChangesetSuccess as _0x5e35b1,RevisionService as _0x858df0,ISnapshotServerService as _0x148f97}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3837a5,RichTextEditingMutation as _0x4d34d2,DocSelectionManagerService as _0x797d99,DocSkeletonManagerService as _0x13457e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x318318,serializeRangeWithSheet as _0x352f65}from'@univerjs/engine-formula';import{RefRangeService as _0x5ba58d,SetSelectionsOperation as _0x11f434,SheetsSelectionsService as _0x5dcc14,EffectRefRangId as _0x2370c2,handleIRemoveRow as _0x45885c,handleIRemoveCol as _0x551518,handleMoveRange as _0x12508f,handleInsertRow as _0x303189,handleInsertRangeMoveRight as _0x5564c0,handleInsertRangeMoveDown as _0x3130af,handleInsertCol as _0x44084f,handleDeleteRangeMoveUp as _0x5cac54,handleDeleteRangeMoveLeft as _0x2208d8,runRefRangeMutations as _0xfbba7c,SetWorksheetActivateCommand as _0x3ed6fe}from'@univerjs/sheets';import{map as _0x152575,filter as _0x44bb43,throttleTime as _0x588b8a,takeUntil as _0x14d703,switchMap as _0x38a762}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5c84db,getCoordByCell as _0x5ce795,getSheetObject as _0x3614d7}from'@univerjs/sheets-ui';import{jsx as _0x25785d,jsxs as _0x783189}from'react/jsx-runtime';import{useObservable as _0x1618d0,useDependency as _0x51e10c,IUIPartsService as _0xda0404,BuiltInUIPart as _0x38070b,connectInjector as _0x46b9d9,IBeforeCloseService as _0x181cb5,IMessageService as _0x7eeb49,INotificationService as _0x7fe26d}from'@univerjs/ui';import{Tooltip as _0x6bca9d,clsx as _0x275f5d,MessageType as _0x44bafd}from'@univerjs/design';import{forwardRef as _0xa37560,useRef as _0x54ef04,createElement as _0x1dc605,useCallback as _0x3268cd}from'react';import{IRemoteInstanceService as _0x3bb9f2}from'@univerjs/rpc';var ci=Object[_0x1acd05(0x2f5)],li=(_0x2b8a0c,_0x3ab8b7,_0x17714e,_0x5034e6)=>{const _0x5e401b=_0x1acd05;for(var _0x2c396a=_0x5034e6>0x1?void 0x0:_0x5034e6?ci(_0x3ab8b7,_0x17714e):_0x3ab8b7,_0xc2ee3e=_0x2b8a0c[_0x5e401b(0x263)]-0x1,_0x198cf9;_0xc2ee3e>=0x0;_0xc2ee3e--)(_0x198cf9=_0x2b8a0c[_0xc2ee3e])&&(_0x2c396a=_0x198cf9(_0x2c396a)||_0x2c396a);return _0x2c396a;},Je=(_0x5f5545,_0x362b6c)=>(_0x3f11fc,_0x399050)=>_0x362b6c(_0x3f11fc,_0x399050,_0x5f5545);let Ne=class extends _0x17991f{constructor(_0x50b0c4,_0x20efbd){const _0x37b54d=_0x1acd05;super(),this[_0x37b54d(0x350)]=_0x50b0c4,this[_0x37b54d(0x235)]=_0x20efbd,this[_0x37b54d(0x35d)]();}[_0x1acd05(0x35d)](){const _0x4f616a=_0x1acd05,_0x580d4d=this;this['disposeWithMe'](this[_0x4f616a(0x350)][_0x4f616a(0x2a1)]({'onBeforePasteImage':async _0x4b77df=>{const _0x2859bd=_0x4f616a,_0x20ae0c=await _0x580d4d[_0x2859bd(0x235)][_0x2859bd(0x296)](_0x4b77df);return _0x20ae0c?{'source':_0x20ae0c['source'],'imageSourceType':_0x20ae0c[_0x2859bd(0x249)]}:null;}}));}};Ne=li([Je(0x0,_0x37494c),Je(0x1,_0x3311d7)],Ne);const Ze=[_0x1acd05(0x39e),'jiqing.500',_0x1acd05(0x2af),_0x1acd05(0x229),'blue.400',_0x1acd05(0x2e3)];class ke extends _0x1e46f3{constructor(){const _0x304ffa=_0x1acd05;super(...arguments),_(this,_0x304ffa(0x2fd),new Map()),_(this,'_colorIndex',0x0);}[_0x1acd05(0x300)](_0x1ba90e){const _0x56bbbe=_0x1acd05;if(this[_0x56bbbe(0x2fd)][_0x56bbbe(0x334)](_0x1ba90e))return this[_0x56bbbe(0x2fd)][_0x56bbbe(0x307)](_0x1ba90e);const _0x5604e4=Ze[this[_0x56bbbe(0x2f1)]];return this['_colorIndex']=(this[_0x56bbbe(0x2f1)]+0x1)%Ze[_0x56bbbe(0x263)],this['_assignedColors']['set'](_0x1ba90e,_0x5604e4),_0x5604e4;}}function Tt(_0x47de62){let _0x37af00='';for(const _0x885513 of _0x47de62){const {startOffset:_0xa5e0cc,endOffset:_0x4ea9d0,isActive:_0x318546,rangeType:_0x4070e4,segmentId:_0x446fd0,segmentPage:_0x4fd5dc}=_0x885513;_0x37af00['length']&&(_0x37af00+=','),_0x37af00+=_0xa5e0cc+':'+_0x4ea9d0+':'+(_0x318546?'1':'0')+':'+_0x4070e4+':'+_0x446fd0+':'+_0x4fd5dc;}return _0x37af00;}function _i(_0x5b44ea){const _0x3fb7e0=_0x1acd05,_0x1f3c67=_0x5b44ea[_0x3fb7e0(0x1dc)](','),_0x20f628=[];for(const _0x7498d6 of _0x1f3c67){const [_0x1b4b74,_0x2d8399,_0x36a9b,_0xefd5d5,_0x2f040d,_0x20554e]=_0x7498d6[_0x3fb7e0(0x1dc)](':');_0x20f628[_0x3fb7e0(0x286)]({'startOffset':Number(_0x1b4b74),'endOffset':Number(_0x2d8399),'collapsed':_0x1b4b74===_0x2d8399,'isActive':_0x36a9b==='1','rangeType':_0xefd5d5===_0x1274c7[_0x3fb7e0(0x2a8)]?_0x1274c7[_0x3fb7e0(0x2a8)]:_0x1274c7[_0x3fb7e0(0x31c)],'segmentId':typeof _0x2f040d==_0x3fb7e0(0x3a5)?String(_0x2f040d):'','segmentPage':Number(_0x20554e!=null?_0x20554e:-0x1)});}return _0x20f628['some'](_0x464ed5=>_0x464ed5['isActive'])||(_0x20f628[0x0][_0x3fb7e0(0x1f6)]=!0x0),_0x20f628;}class He extends _0x17991f{constructor(){const _0x4f4560=_0x1acd05;super(...arguments),_(this,_0x4f4560(0x27b),new _0x5bb037(null)),_(this,_0x4f4560(0x2ee),this[_0x4f4560(0x27b)]['asObservable']());}[_0x1acd05(0x326)](_0x417975){const _0x5b19f2=_0x1acd05,{unitID:_0x264c12,memberID:_0x10a251,textRanges:_0x2ca016}=_0x417975,_0x1e2bd0=Tt(_0x2ca016);if(_0x1e2bd0==='')return;const _0x51ed00={'unitID':_0x264c12,'memberID':_0x10a251,'selection':_0x1e2bd0};this['_collabCursorState$'][_0x5b19f2(0x202)](_0x51ed00);}}var hi=Object[_0x1acd05(0x2f5)],ui=(_0x510659,_0x4de3e8,_0x232e61,_0x3659ab)=>{const _0x2d7476=_0x1acd05;for(var _0x501260=_0x3659ab>0x1?void 0x0:_0x3659ab?hi(_0x4de3e8,_0x232e61):_0x4de3e8,_0x44a866=_0x510659[_0x2d7476(0x263)]-0x1,_0x37ea02;_0x44a866>=0x0;_0x44a866--)(_0x37ea02=_0x510659[_0x44a866])&&(_0x501260=_0x37ea02(_0x501260)||_0x501260);return _0x501260;},P=(_0x49f4b1,_0x147678)=>(_0x13713c,_0x3fd059)=>_0x147678(_0x13713c,_0x3fd059,_0x49f4b1);const di=0x12c,fi=0x64;let Ue=class extends _0x17991f{constructor(_0x3bb811,_0x26e979,_0xcc3c3,_0x1e8512,_0x110219,_0x19c675,_0x3df7d9,_0x15ecdd,_0x2dd50d){const _0x14f215=_0x1acd05;super(),_(this,_0x14f215(0x20c),!0x1),_(this,_0x14f215(0x35d),!0x1),_(this,'_cursorInfo$',new _0x5bb037(new Map())),_(this,_0x14f215(0x279),this[_0x14f215(0x31f)][_0x14f215(0x27c)]()),_(this,_0x14f215(0x310),new _0x5bb037([])),_(this,_0x14f215(0x379),this[_0x14f215(0x310)][_0x14f215(0x1cd)](_0x3972ef(di))),_(this,_0x14f215(0x2dd),_0x52b9ab(_0x3f5035=>{const _0x2690d9=_0x14f215,_0x223b5a={'eventID':_0x4a57d6[_0x2690d9(0x37c)],'data':{'unitID':this[_0x2690d9(0x3a8)],'memberID':this[_0x2690d9(0x2df)][_0x2690d9(0x31d)](),'selection':Tt(_0x3f5035)}};this['_session'][_0x2690d9(0x1f1)](_0x223b5a,this['unitID']);},fi)),(this['unitID']=_0x3bb811,this[_0x14f215(0x2df)]=_0x26e979,this['_injector']=_0xcc3c3,this[_0x14f215(0x367)]=_0x1e8512,this[_0x14f215(0x2cf)]=_0x110219,this[_0x14f215(0x26b)]=_0x19c675,this[_0x14f215(0x20a)]=_0x3df7d9,this[_0x14f215(0x342)]=_0x15ecdd,this[_0x14f215(0x258)]=_0x2dd50d);}get['cursorInfo'](){const _0x5f1205=_0x1acd05;return this['_cursorInfo$'][_0x5f1205(0x351)]();}get[_0x1acd05(0x233)](){const _0x3a7df1=_0x1acd05;return this[_0x3a7df1(0x310)][_0x3a7df1(0x351)]();}['dispose'](){const _0x8393d1=_0x1acd05;super['dispose'](),this[_0x8393d1(0x31f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x8393d1(0x310)][_0x8393d1(0x202)]([]),this[_0x8393d1(0x310)][_0x8393d1(0x222)]();}[_0x1acd05(0x1ed)](){const _0x162189=_0x1acd05;this[_0x162189(0x35d)]||(this[_0x162189(0x35d)]=!0x0,this[_0x162189(0x2df)][_0x162189(0x236)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x20a3ba=>{const _0x10aaba=_0x162189;_0x20a3ba===_0x4f6c8f[_0x10aaba(0x2b8)]?this[_0x10aaba(0x368)]():this[_0x10aaba(0x319)]();}),this['_session']['event$']['pipe'](_0x5eb4a6(this['dispose$']))[_0x162189(0x385)](_0x5bac7b=>{const _0x448dbf=_0x162189,_0x4dd728=_0x5bac7b[_0x448dbf(0x1f0)];_0x4dd728===_0x4a57d6[_0x448dbf(0x37c)]&&this[_0x448dbf(0x210)](_0x5bac7b),_0x4dd728===_0x4a57d6[_0x448dbf(0x221)]&&this[_0x448dbf(0x29e)](_0x5bac7b);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x76b7f5=>{const _0xb763fc=_0x162189,_0x1781b3=_0x76b7f5[_0xb763fc(0x21f)];_0x1781b3!=null&&this[_0xb763fc(0x20c)]&&_0x76b7f5['id']===_0x3837a5['id']&&_0x1781b3[_0xb763fc(0x293)]===this[_0xb763fc(0x3a8)]&&_0x1781b3[_0xb763fc(0x2ef)]===!0x1&&_0x1781b3[_0xb763fc(0x277)]['length']>0x0&&this[_0xb763fc(0x2dd)](_0x1781b3['ranges']);})),this[_0x162189(0x26b)][_0x162189(0x2ee)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x1c865b=>{const _0x184d94=_0x162189;if((_0x1c865b==null?void 0x0:_0x1c865b[_0x184d94(0x3a8)])!==this[_0x184d94(0x3a8)])return;const _0x3f940a={'eventID':_0x4a57d6[_0x184d94(0x37c)],'data':_0x1c865b};this[_0x184d94(0x210)](_0x3f940a);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x23a754=>{const _0x1239af=_0x162189;if(_0x23a754[_0x1239af(0x21f)]==null)return;const _0x30a9da=_0x23a754[_0x1239af(0x21f)];if(_0x23a754['id']!==_0x4d34d2['id']||_0x30a9da[_0x1239af(0x293)]!==this[_0x1239af(0x3a8)])return;const _0x3d1cc5={'id':'doc.mutation.rich-text-editing','params':_0x30a9da},_0x4eca19=this[_0x1239af(0x32f)];for(const [_0x57ac5e,_0x195e6c]of _0x4eca19){const _0x1ed0a8={'id':_0x1239af(0x204),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x195e6c['ranges']}},_0x3c5628=this[_0x1239af(0x20a)][_0x1239af(0x3b2)](_0x3d1cc5,_0x1ed0a8,!0x1);if(_0x3d9270(_0x3c5628))throw _0x3c5628['error'];_0x4eca19['set'](_0x57ac5e,{..._0x195e6c,'ranges':_0x3c5628[_0x1239af(0x25b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x51bc23=_0x1239af;this['_cursorInfo$'][_0x51bc23(0x202)](_0x4eca19);});})));}[_0x1acd05(0x210)](_0x29a3cf){const _0x2f7f77=_0x1acd05;var _0x5458cc,_0x25ce79;const {memberID:_0x579788,selection:_0x28226a}=_0x29a3cf[_0x2f7f77(0x24c)],_0x3b1ef1=_i(_0x28226a),_0x38fd98=(_0x25ce79=(_0x5458cc=this[_0x2f7f77(0x2cf)][_0x2f7f77(0x328)](this[_0x2f7f77(0x3a8)],_0x579788))==null?void 0x0:_0x5458cc[_0x2f7f77(0x21e)])!=null?_0x25ce79:'Unknown\x20user',_0x18b2dd={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x579788),'name':_0x38fd98,'ranges':_0x3b1ef1},_0x347000=this[_0x2f7f77(0x32f)];_0x347000[_0x2f7f77(0x38e)](_0x579788,_0x18b2dd),this[_0x2f7f77(0x31f)][_0x2f7f77(0x202)](_0x347000);}[_0x1acd05(0x29e)](_0x5262fd){const _0x2e9532=_0x1acd05,{memberID:_0x28381a}=_0x5262fd['data'],_0xc0217=this[_0x2e9532(0x32f)];_0xc0217[_0x2e9532(0x238)](_0x28381a),this[_0x2e9532(0x31f)][_0x2e9532(0x202)](_0xc0217);}[_0x1acd05(0x368)](){const _0x23a469=_0x1acd05;var _0x38d766;if(this[_0x23a469(0x20c)]=!0x0,((_0x38d766=this[_0x23a469(0x342)][_0x23a469(0x23c)]())==null?void 0x0:_0x38d766[_0x23a469(0x1fd)]())!==this[_0x23a469(0x3a8)])return;const _0x234c3b=this[_0x23a469(0x2ce)][_0x23a469(0x307)](_0x797d99)[_0x23a469(0x36c)]();Array['isArray'](_0x234c3b)&&_0x234c3b['length']>0x0&&this[_0x23a469(0x2dd)](_0x234c3b);}[_0x1acd05(0x319)](){const _0x3ad047=_0x1acd05;this[_0x3ad047(0x20c)]=!0x1;}};Ue=ui([P(0x2,_0x5f021e(_0x4f83c1)),P(0x3,_0x5f021e(ke)),P(0x4,_0x5f021e(_0x480fd1)),P(0x5,_0x5f021e(He)),P(0x6,_0x3c09f3),P(0x7,_0x48e36a),P(0x8,_0x4cc3b7)],Ue);var Si=Object[_0x1acd05(0x2f5)],mi=(_0x53bc3b,_0x101c07,_0x5bae48,_0x4abe2f)=>{const _0x38a703=_0x1acd05;for(var _0x477ccf=_0x4abe2f>0x1?void 0x0:_0x4abe2f?Si(_0x101c07,_0x5bae48):_0x101c07,_0x4f3512=_0x53bc3b[_0x38a703(0x263)]-0x1,_0xcab8;_0x4f3512>=0x0;_0x4f3512--)(_0xcab8=_0x53bc3b[_0x4f3512])&&(_0x477ccf=_0xcab8(_0x477ccf)||_0x477ccf);return _0x477ccf;},x=(_0x1ffef3,_0x587fc0)=>(_0x2b611c,_0x140b37)=>_0x587fc0(_0x2b611c,_0x140b37,_0x1ffef3);const Ii=0x12c,gi=0x64,vi=()=>{let _0x82fdea=[],_0x5694da=!0x1;return _0x75cdea=>{const _0x43a2a5=_0xe137;_0x82fdea[_0x43a2a5(0x286)](_0x75cdea),_0x5694da||(_0x5694da=!0x0,setTimeout(()=>{const _0x44033b=_0x43a2a5;_0x82fdea[_0x44033b(0x34c)](_0x3234b2=>_0x3234b2()),_0x82fdea=[],_0x5694da=!0x1;}));};};let Me=class extends _0x17991f{constructor(_0x33bc1d,_0x3c09d6,_0x1b4650,_0x4e32d4,_0x459978,_0x189d3d,_0x20d8df,_0xef5c51){const _0xfc3d0d=_0x1acd05;super(),_(this,_0xfc3d0d(0x20c),!0x1),_(this,_0xfc3d0d(0x35d),!0x1),_(this,_0xfc3d0d(0x31f),new _0x5bb037(new Map())),_(this,_0xfc3d0d(0x279),this[_0xfc3d0d(0x31f)][_0xfc3d0d(0x27c)]()),_(this,_0xfc3d0d(0x310),new _0x5bb037([])),_(this,_0xfc3d0d(0x379),this[_0xfc3d0d(0x310)][_0xfc3d0d(0x1cd)](_0x3972ef(Ii))),_(this,_0xfc3d0d(0x2dd),_0x52b9ab((_0x2b29b3,_0x3bc145)=>{const _0xebef23=_0xfc3d0d,_0x26fd74={'eventID':_0x4a57d6[_0xebef23(0x37c)],'data':{'unitID':this['unitID'],'memberID':this[_0xebef23(0x2df)][_0xebef23(0x31d)](),'selection':_0x352f65(_0x2b29b3,_0x3bc145[_0xebef23(0x21a)])}};this[_0xebef23(0x2df)][_0xebef23(0x1f1)](_0x26fd74,this[_0xebef23(0x3a8)]);},gi)),(this[_0xfc3d0d(0x3a8)]=_0x33bc1d,this[_0xfc3d0d(0x2df)]=_0x3c09d6,this[_0xfc3d0d(0x2ce)]=_0x1b4650,this['_colorAssignService']=_0x4e32d4,this[_0xfc3d0d(0x2cf)]=_0x459978,this[_0xfc3d0d(0x342)]=_0x189d3d,this['_commandService']=_0x20d8df,this[_0xfc3d0d(0x1e4)]=_0xef5c51);}get[_0x1acd05(0x32f)](){const _0xeeb2ce=_0x1acd05;return this[_0xeeb2ce(0x31f)][_0xeeb2ce(0x351)]();}get[_0x1acd05(0x233)](){const _0xe84ef=_0x1acd05;return this[_0xe84ef(0x310)][_0xe84ef(0x351)]();}[_0x1acd05(0x1ce)](){const _0x2b8199=_0x1acd05;super[_0x2b8199(0x1ce)](),this[_0x2b8199(0x31f)][_0x2b8199(0x202)](new Map()),this[_0x2b8199(0x31f)]['complete'](),this[_0x2b8199(0x310)][_0x2b8199(0x202)]([]),this[_0x2b8199(0x310)][_0x2b8199(0x222)]();}[_0x1acd05(0x1ed)](){const _0x2c3011=_0x1acd05;this[_0x2c3011(0x35d)]||(this[_0x2c3011(0x35d)]=!0x0,this['_session'][_0x2c3011(0x236)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x55e38e=>{const _0x3f3fa1=_0x2c3011;_0x55e38e===_0x4f6c8f[_0x3f3fa1(0x2b8)]?this[_0x3f3fa1(0x368)]():this[_0x3f3fa1(0x319)]();}),this['_session'][_0x2c3011(0x37f)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x256393=>{const _0x4ad33c=_0x2c3011,_0x54aae3=_0x256393[_0x4ad33c(0x1f0)];_0x54aae3===_0x4a57d6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x256393),_0x54aae3===_0x4a57d6['USERS_LEAVE']&&this[_0x4ad33c(0x29e)](_0x256393);}),this[_0x2c3011(0x38d)](),this['disposeWithMe'](this[_0x2c3011(0x258)][_0x2c3011(0x333)](_0x474028=>{const _0x462424=_0x2c3011;if(this[_0x462424(0x20c)]&&_0x474028['id']===_0x11f434['id']&&_0x474028['params']['unitId']===this['unitID']){const _0x4e9f19=_0x474028[_0x462424(0x21f)];this[_0x462424(0x2dd)](_0x4e9f19[_0x462424(0x24d)],_0x4e9f19['selections'][0x0]);}})));}['_onCursorUpdate'](_0x34b6c5){const _0x5184ed=_0x1acd05;var _0x168259,_0x239943;const {memberID:_0x5bf650,selection:_0x5bd5e5}=_0x34b6c5[_0x5184ed(0x24c)],{sheetName:_0x1eb77e,range:_0x3d69ce}=_0x318318(_0x5bd5e5),_0x468058={'name':(_0x239943=(_0x168259=this['_memberService']['getMember'](this[_0x5184ed(0x3a8)],_0x5bf650))==null?void 0x0:_0x168259[_0x5184ed(0x21e)])!=null?_0x239943:'Unknown\x20user','range':this[_0x5184ed(0x345)](_0x1eb77e,_0x3d69ce),'sheetID':_0x1eb77e,'color':this['_colorAssignService'][_0x5184ed(0x300)](_0x5bf650),'selection':_0x5bd5e5},_0x123c5f=this[_0x5184ed(0x32f)];_0x123c5f[_0x5184ed(0x38e)](_0x5bf650,_0x468058),this[_0x5184ed(0x31f)][_0x5184ed(0x202)](_0x123c5f);}[_0x1acd05(0x29e)](_0x2f97ef){const _0x467e9b=_0x1acd05,{memberID:_0x359ec9}=_0x2f97ef[_0x467e9b(0x24c)],_0x21e672=this['cursorInfo'];_0x21e672[_0x467e9b(0x238)](_0x359ec9),this[_0x467e9b(0x31f)][_0x467e9b(0x202)](_0x21e672);}[_0x1acd05(0x345)](_0x1234d5,_0x5f2a1f){const _0x11ff0c=_0x1acd05;var _0x345c2d,_0xb55487;const _0x5a2383=(_0xb55487=(_0x345c2d=this[_0x11ff0c(0x342)]['getUniverSheetInstance'](this[_0x11ff0c(0x3a8)]))==null?void 0x0:_0x345c2d[_0x11ff0c(0x26e)](_0x1234d5))==null?void 0x0:_0xb55487[_0x11ff0c(0x25e)]();return(_0x5a2383==null?void 0x0:_0x5a2383['find'](_0x36473c=>_0x1130d0[_0x11ff0c(0x372)](_0x36473c,_0x5f2a1f)))||_0x5f2a1f;}['_onRefRangeChange'](){const _0x30f808=_0x1acd05,_0x4ad6e4=new _0x189047(),_0x2834d0=vi(),_0x41ae9f=()=>{const _0x41eec4=_0xe137;_0x4ad6e4[_0x41eec4(0x1ce)]();const _0x32d61f=(_0x559baa,_0x57dd2b,_0x4b1c13,_0x2aab2b)=>{const _0x388284=_0x41eec4;let _0x1b1562=[];switch(_0x559baa['id']){case _0x2370c2['DeleteRangeMoveLeftCommandId']:{_0x1b1562=_0x2208d8(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1e1)]:{_0x1b1562=_0x5cac54(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x384)]:{_0x1b1562=_0x44084f(_0x559baa,_0x2aab2b);break;}case _0x2370c2['InsertRangeMoveDownCommandId']:{_0x1b1562=_0x3130af(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1f3)]:{_0x1b1562=_0x5564c0(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x3ac)]:{_0x1b1562=_0x303189(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x365)]:{_0x1b1562=_0x12508f(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x288)]:{_0x1b1562=_0x551518(_0x559baa,_0x2aab2b);break;}case _0x2370c2['RemoveRowCommandId']:{_0x1b1562=_0x45885c(_0x559baa,_0x2aab2b);break;}}const _0x120f50=_0xfbba7c(_0x1b1562,_0x2aab2b),_0x20f65c=this[_0x388284(0x32f)][_0x388284(0x307)](_0x57dd2b);if(_0x20f65c&&_0x120f50){const _0x5a85be={..._0x20f65c,'range':_0x120f50};this[_0x388284(0x32f)][_0x388284(0x38e)](_0x57dd2b,_0x5a85be),_0x2834d0(()=>{const _0x5f461c=_0x388284,_0x359fc4=this['_refRangeService']['registerRefRange'](_0x120f50,_0x12295b=>(_0x359fc4[_0x5f461c(0x1ce)](),_0x32d61f(_0x12295b,_0x57dd2b,_0x4b1c13,_0x120f50)));_0x4ad6e4['add'](_0x359fc4);});}return{'redos':[],'undos':[]};};this[_0x41eec4(0x32f)][_0x41eec4(0x34c)]((_0x2f231a,_0x2e02c1)=>{const _0x539f73=_0x41eec4,{range:_0x35b3bd,sheetID:_0xbe9a7}=_0x2f231a,_0x257f2e=this['_refRangeService'][_0x539f73(0x2aa)](_0x35b3bd,_0x9e6a03=>(_0x257f2e['dispose'](),_0x32d61f(_0x9e6a03,_0x2e02c1,_0xbe9a7,_0x35b3bd)));_0x4ad6e4['add'](_0x257f2e);});};this[_0x30f808(0x388)](_0x527068(this[_0x30f808(0x31f)]['subscribe'](()=>{_0x41ae9f();})));}['_toggleOnline'](){const _0x5b9d75=_0x1acd05;var _0x162ed1,_0x566194;if(this[_0x5b9d75(0x20c)]=!0x0,((_0x162ed1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x162ed1[_0x5b9d75(0x1fd)]())!==this[_0x5b9d75(0x3a8)])return;const _0x397693=(_0x566194=this[_0x5b9d75(0x2ce)]['get'](_0x5dcc14)[_0x5b9d75(0x2b6)]())==null?void 0x0:_0x566194[0x0],_0x1a9d7c=this['_univerInstanceService'][_0x5b9d75(0x291)](_0x1f91f1[_0x5b9d75(0x39b)])[_0x5b9d75(0x3d5)]();_0x397693&&_0x1a9d7c&&this[_0x5b9d75(0x2dd)](_0x1a9d7c['getSheetId'](),_0x397693);}[_0x1acd05(0x319)](){const _0x3fd1b0=_0x1acd05;this[_0x3fd1b0(0x20c)]=!0x1;}};Me=mi([x(0x2,_0x5f021e(_0x4f83c1)),x(0x3,_0x5f021e(ke)),x(0x4,_0x5f021e(_0x480fd1)),x(0x5,_0x48e36a),x(0x6,_0x4cc3b7),x(0x7,_0x5f021e(_0x5ba58d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x4dbd37,_0x3d24cf,_0x4cdbe5,_0x247653)=>{const _0x1014db=_0x1acd05;for(var _0x85b3af=_0x247653>0x1?void 0x0:_0x247653?pi(_0x3d24cf,_0x4cdbe5):_0x3d24cf,_0x17683b=_0x4dbd37[_0x1014db(0x263)]-0x1,_0x1be780;_0x17683b>=0x0;_0x17683b--)(_0x1be780=_0x4dbd37[_0x17683b])&&(_0x85b3af=_0x1be780(_0x85b3af)||_0x85b3af);return _0x85b3af;},Se=(_0x3f2e3a,_0x184765)=>(_0x2e374a,_0x16ac40)=>_0x184765(_0x2e374a,_0x16ac40,_0x3f2e3a);let H=class extends _0x17991f{constructor(_0x14cd08,_0x15c304,_0xba8a05){const _0x18c9b3=_0x1acd05;super(),_(this,_0x18c9b3(0x33c),new Map()),_(this,_0x18c9b3(0x332),new _0x185b6d()),(this[_0x18c9b3(0x342)]=_0x14cd08,this[_0x18c9b3(0x2ce)]=_0x15c304,this[_0x18c9b3(0x2dc)]=_0xba8a05,this[_0x18c9b3(0x35d)]());}['dispose'](){const _0x434735=_0x1acd05;super[_0x434735(0x1ce)](),this[_0x434735(0x332)][_0x434735(0x222)](),this['_entities'][_0x434735(0x34c)](_0x130d12=>_0x130d12[_0x434735(0x1ce)]());}[_0x1acd05(0x287)](_0x318b66){const _0x5b87cd=_0x1acd05;return this[_0x5b87cd(0x33c)]['has'](_0x318b66)?this['_entities'][_0x5b87cd(0x307)](_0x318b66)[_0x5b87cd(0x279)]:this[_0x5b87cd(0x332)][_0x5b87cd(0x1cd)](_0x592e33(_0xe22750=>_0xe22750['unitID']===_0x318b66),_0x4fef0f(_0x2287bb=>_0x2287bb[_0x5b87cd(0x279)]));}[_0x1acd05(0x35d)](){const _0x5d189c=_0x1acd05;this[_0x5d189c(0x342)]['getTypeOfUnitAdded$'](_0x1f91f1[_0x5d189c(0x39b)])[_0x5d189c(0x1cd)](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](async _0x114335=>{const _0x1783b8=_0x5d189c,_0xc8d567=_0x114335['getUnitId'](),_0x5ab709=await this[_0x1783b8(0x320)](_0xc8d567);this[_0x1783b8(0x332)][_0x1783b8(0x202)](_0x5ab709),this[_0x1783b8(0x33c)][_0x1783b8(0x38e)](_0xc8d567,_0x5ab709);}),this['_univerInstanceService'][_0x5d189c(0x244)](_0x1f91f1[_0x5d189c(0x2c4)])['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))['pipe'](_0x592e33(_0xace956=>!_0xace956['getUnitId']()['startsWith']('__')))[_0x5d189c(0x385)](async _0x32f61b=>{const _0x221f30=_0x5d189c,_0x1256f2=_0x32f61b[_0x221f30(0x1fd)](),_0x510135=await this[_0x221f30(0x2cd)](_0x1256f2);this[_0x221f30(0x332)][_0x221f30(0x202)](_0x510135),this[_0x221f30(0x33c)][_0x221f30(0x38e)](_0x1256f2,_0x510135);}),_0x59d202(this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x2c4)]),this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x39b)]))['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](_0x5e3fc9=>{const _0x5bd34b=_0x5d189c,_0x8f3dcc=_0x5e3fc9[_0x5bd34b(0x1fd)](),_0x209acb=this[_0x5bd34b(0x33c)][_0x5bd34b(0x307)](_0x8f3dcc);_0x209acb&&(_0x209acb[_0x5bd34b(0x1ce)](),this['_entities'][_0x5bd34b(0x238)](_0x8f3dcc));});}async[_0x1acd05(0x320)](_0x45e8ef){const _0xb258f0=_0x1acd05,_0x5063eb=await this[_0xb258f0(0x2dc)][_0xb258f0(0x2a0)](_0x45e8ef),_0x5a6bf0=this[_0xb258f0(0x2ce)][_0xb258f0(0x251)](Me,_0x45e8ef,_0x5063eb);return _0x5a6bf0[_0xb258f0(0x1ed)](),_0x5a6bf0;}async[_0x1acd05(0x2cd)](_0x26530f){const _0x30c225=_0x1acd05,_0x4fe685=await this[_0x30c225(0x2dc)][_0x30c225(0x2a0)](_0x26530f),_0x41acea=this['_injector'][_0x30c225(0x251)](Ue,_0x26530f,_0x4fe685);return _0x41acea[_0x30c225(0x1ed)](),_0x41acea;}};H=Ci([Se(0x0,_0x48e36a),Se(0x1,_0x5f021e(_0x4f83c1)),Se(0x2,_0x5f021e(_0xbcca1b))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x168566,_0x5bf826){const _0x207efe=_0x1acd05;let {radius:_0x433c2b,width:_0x13544b,height:_0x2d7ecf}=_0x5bf826;_0x433c2b=_0x433c2b!=null?_0x433c2b:0x0,_0x13544b=_0x13544b!=null?_0x13544b:0x1e,_0x2d7ecf=_0x2d7ecf!=null?_0x2d7ecf:0x1e;let _0x20214a=0x0,_0x9dca72=0x0,_0x29cd1e=0x0;_0x20214a=_0x9dca72=_0x29cd1e=Math[_0x207efe(0x275)](_0x433c2b,_0x13544b/0x2,_0x2d7ecf/0x2),_0x168566[_0x207efe(0x35c)](),_0x168566[_0x207efe(0x213)](_0x20214a,0x0),_0x168566[_0x207efe(0x28f)](_0x13544b-_0x9dca72,0x0),_0x168566[_0x207efe(0x312)](_0x13544b-_0x9dca72,_0x9dca72,_0x9dca72,Math['PI']*0x3/0x2,0x0,!0x1),_0x168566[_0x207efe(0x28f)](_0x13544b,_0x2d7ecf-_0x29cd1e),_0x168566['arc'](_0x13544b-_0x29cd1e,_0x2d7ecf-_0x29cd1e,_0x29cd1e,0x0,Math['PI']/0x2,!0x1),_0x168566[_0x207efe(0x28f)](0x0,_0x2d7ecf),_0x168566[_0x207efe(0x28f)](0x0,_0x20214a),_0x168566[_0x207efe(0x312)](_0x20214a,_0x20214a,_0x20214a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x168566[_0x207efe(0x398)](),_0x5bf826[_0x207efe(0x39a)]&&(_0x168566[_0x207efe(0x3a6)](),_0x168566['fillStyle']=_0x5bf826[_0x207efe(0x39a)],_0x5bf826[_0x207efe(0x205)]==='evenodd'?_0x168566[_0x207efe(0x39a)](_0x207efe(0x306)):_0x168566[_0x207efe(0x39a)](),_0x168566['restore']());}class he extends _0x3ea822{constructor(_0xf9ee4c,_0x28d327){const _0x9df3fa=_0x1acd05;super(_0xf9ee4c,_0x28d327),_(this,_0x9df3fa(0x1d0)),_(this,'text'),(this[_0x9df3fa(0x1d0)]=_0x28d327==null?void 0x0:_0x28d327['color'],this['text']=_0x28d327==null?void 0x0:_0x28d327['text']);}static[_0x1acd05(0x3c1)](_0x562f9a,_0xb77b96){const _0x290e5f=_0x1acd05,{text:_0x342c4d,color:_0x7550bd}=_0xb77b96;_0x562f9a[_0x290e5f(0x3a6)](),_0x562f9a[_0x290e5f(0x22c)]=_0x290e5f(0x2ff);const _0x4c378a=_0x562f9a[_0x290e5f(0x362)](_0x342c4d)['width'],_0x5afc43=Math[_0x290e5f(0x275)](_0x4c378a+0x2*me,Qe);Oi(_0x562f9a,{'height':ee,'radius':0x4,'width':_0x5afc43,'fill':_0x7550bd}),_0x562f9a[_0x290e5f(0x29a)]=_0x290e5f(0x318);const _0x33a5eb=me,_0x14865d=ee-Ei,_0x35fd5a=Qe-0x2*me;if(_0x4c378a>_0x35fd5a){let _0x584a58='',_0x599c85=0x0;for(const _0xa5df4a of _0x342c4d){const _0x28917d=_0x562f9a[_0x290e5f(0x362)](_0xa5df4a)['width'];if(_0x599c85+_0x28917d<=_0x35fd5a-_0x562f9a[_0x290e5f(0x362)](_0x290e5f(0x2ac))[_0x290e5f(0x274)])_0x584a58+=_0xa5df4a,_0x599c85+=_0x28917d;else{_0x584a58+=_0x290e5f(0x2ac);break;}}_0x562f9a[_0x290e5f(0x22a)](_0x584a58,_0x33a5eb,_0x14865d);}else _0x562f9a['fillText'](_0x342c4d,_0x33a5eb,_0x14865d);_0x562f9a[_0x290e5f(0x23a)]();}[_0x1acd05(0x255)](_0x1805c0){he['drawWith'](_0x1805c0,this);}}const Ie='collab-text-anchor-',bi=_0x1acd05(0x3d7),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1acd05(0x3b6);class qe{constructor(_0x4509a0,_0x1b6a97,_0x1c0725,_0x5f0e90){const _0x232b65=_0x1acd05;_(this,'_shapes',[]),_(this,_0x232b65(0x209),null),_(this,_0x232b65(0x37b),null),_(this,_0x232b65(0x2d2),null),_(this,_0x232b65(0x304),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4509a0,this[_0x232b65(0x1dd)]=_0x1b6a97,this['_docSkeleton']=_0x1c0725,this[_0x232b65(0x2d7)]=_0x5f0e90,this[_0x232b65(0x3c6)]());}set[_0x1acd05(0x239)](_0x3d2e9b){const _0x1b7d8d=_0x1acd05;_0x3d2e9b?(this['_anchorDot']&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x201)](),this[_0x1b7d8d(0x37b)]&&this['_textBubble'][_0x1b7d8d(0x2fe)]()):(this[_0x1b7d8d(0x2d2)]&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x2fe)](),this['_textBubble']&&this['_textBubble'][_0x1b7d8d(0x201)]());}[_0x1acd05(0x1ce)](){const _0x39e35c=_0x1acd05;for(const _0x2d5fc8 of this[_0x39e35c(0x3a1)])_0x2d5fc8[_0x39e35c(0x1ce)]();this['_textBubble']&&this[_0x39e35c(0x37b)][_0x39e35c(0x1ce)](),this[_0x39e35c(0x2d2)]&&this[_0x39e35c(0x2d2)][_0x39e35c(0x1ce)](),this['_anchor']&&this['_anchor'][_0x39e35c(0x1ce)](),this[_0x39e35c(0x301)]&&this[_0x39e35c(0x301)]();}[_0x1acd05(0x3c6)](){const _0x534172=_0x1acd05;var _0x111c27;const {_docSkeleton:_0xdb7abe,_document:_0x5a7e58}=this,{color:_0x264ff4,name:_0x46618b,ranges:_0x573ebd}=this[_0x534172(0x297)],_0x493c5a=_0x5a7e58[_0x534172(0x24a)](),{docsLeft:_0x4e9127,docsTop:_0x2e87bf}=_0x493c5a,_0x43a88f=new _0x41a922(_0x493c5a,_0xdb7abe);for(const {startOffset:_0xc1d361,endOffset:_0x6b2517,rangeType:_0x1a8c6f,segmentId:_0x386d8d,segmentPage:_0x142461,collapsed:_0x1fe1a1,isActive:_0x53c33b}of _0x573ebd){const _0x501759=_0xdb7abe[_0x534172(0x26a)](_0xc1d361,!0x0,_0x386d8d,_0x142461);let _0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517,!0x0,_0x386d8d,_0x142461);if(_0x4c0d42==null&&(_0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517-0x1,!0x1,_0x386d8d,_0x142461)),_0x53c33b){const {contentBoxPointGroup:_0x1783a7}=_0x43a88f[_0x534172(0x38c)](_0x4c0d42,_0x4c0d42);if(_0x1783a7['length']===0x0)continue;this[_0x534172(0x2c9)](_0x264ff4,_0x1783a7,_0x4e9127,_0x2e87bf,_0x46618b),this[_0x534172(0x301)]=this[_0x534172(0x1d7)]();}if(_0x501759&&_0x4c0d42){if(_0x1a8c6f===_0x1274c7[_0x534172(0x31c)]){const _0x588ba4=new _0x127fe1(_0x493c5a,_0xdb7abe),{pointGroup:_0x58acff}=(_0x111c27=_0x588ba4['getRangePointData'](_0x501759,_0x4c0d42))!=null?_0x111c27:{};if(_0x58acff==null||_0x58acff['length']===0x0)continue;this[_0x534172(0x266)](_0x264ff4,_0x58acff,_0x4e9127,_0x2e87bf);}else{if(!_0x1fe1a1){const {borderBoxPointGroup:_0x263c98}=_0x43a88f[_0x534172(0x38c)](_0x501759,_0x4c0d42);if(_0x263c98[_0x534172(0x263)]===0x0)continue;this[_0x534172(0x22b)](_0x264ff4,_0x263c98,_0x4e9127,_0x2e87bf);}}}}}[_0x1acd05(0x2c9)](_0x15194b,_0x2553ec,_0x215825,_0x4c66d8,_0x5b72f1){const _0x778f54=_0x1acd05,_0x580a5d=this[_0x778f54(0x397)](_0x2553ec),{left:_0xc7e428,top:_0x344df1,height:_0x4816cd}=_0x580a5d,_0x13e96f=this['_getScale'](),_0xe51a68=Di/_0x13e96f,_0x490ee9=new _0x1d9677(Ie+_0x4150e8['generateRandomId'](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8,'height':_0x4816cd,'width':Ri,'fill':_0x15194b||_0x236404(_0xc873dc['black'],0x0),'strokeWidth':_0xe51a68,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x490ee9,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x490ee9,_0x4bdec4);const _0x5b5819=new _0x1d9677(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ge/0x2,'height':ge,'width':ge,'fill':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'strokeWidth':0x0,'stroke':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'evented':!0x1});this[_0x778f54(0x2d2)]=_0x5b5819,this['_scene']['addObject'](_0x5b5819,_0x4bdec4);const _0x2f26d7=new he(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ee,'text':_0x5b72f1,'color':_0x15194b});this[_0x778f54(0x37b)]=_0x2f26d7,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x2f26d7,_0x4bdec4),this[_0x778f54(0x239)]=!0x1;}[_0x1acd05(0x1d7)](){const _0x376ee7=_0x1acd05,_0x5a42f7=this[_0x376ee7(0x209)]['onPointerEnter$'][_0x376ee7(0x1d5)](()=>{this['_hover']=!0x0;}),_0x202c82=this['_anchor'][_0x376ee7(0x2ed)][_0x376ee7(0x1d5)](()=>{const _0x8ee1a8=_0x376ee7;this['_hideTimer']&&clearTimeout(this[_0x8ee1a8(0x304)]),this[_0x8ee1a8(0x304)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x118dec=_0x376ee7;_0x5a42f7['unsubscribe'](),_0x202c82[_0x118dec(0x211)]();};}['_drawTextRange'](_0x12ad21,_0x4c2622,_0xfb200d,_0x3dd298){const _0x651ac3=_0x1acd05,_0x1cd4ab=new _0x68a2e7(_0x12ad21)[_0x651ac3(0x3b7)](0.2)[_0x651ac3(0x29f)](),_0x29c332=new _0x2731ce(bi+_0x4150e8[_0x651ac3(0x2f3)](X),{'pointsGroup':_0x4c2622,'fill':_0x1cd4ab||_0x236404(_0xc873dc[_0x651ac3(0x282)],0.2),'left':_0xfb200d,'top':_0x3dd298,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x651ac3(0x3a1)][_0x651ac3(0x286)](_0x29c332),this[_0x651ac3(0x1dd)][_0x651ac3(0x2c0)](_0x29c332,_0x4bdec4);}[_0x1acd05(0x266)](_0x45f21c,_0x515ccb,_0x399508,_0x33242d){const _0x5ddd90=_0x1acd05,_0x8c9bf6=new _0x68a2e7(_0x45f21c)['setAlpha'](0.2)[_0x5ddd90(0x29f)](),_0x176efd=new _0x2731ce(Ti+_0x4150e8['generateRandomId'](X),{'pointsGroup':_0x515ccb,'fill':_0x8c9bf6||_0x236404(_0xc873dc[_0x5ddd90(0x282)],0.2),'left':_0x399508,'top':_0x33242d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ddd90(0x3a1)][_0x5ddd90(0x286)](_0x176efd),this[_0x5ddd90(0x1dd)][_0x5ddd90(0x2c0)](_0x176efd,_0x4bdec4);}[_0x1acd05(0x397)](_0x63f0f7){const _0x10a7cd=_0x63f0f7[0x0],_0x358278=_0x10a7cd[0x0],_0x37861e=_0x10a7cd[0x2],{x:_0x47d7a4,y:_0x3bc813}=_0x358278,{x:_0x1edb03,y:_0x50fe7d}=_0x37861e;return{'left':_0x47d7a4,'top':_0x3bc813,'width':_0x1edb03-_0x47d7a4,'height':_0x50fe7d-_0x3bc813};}[_0x1acd05(0x1eb)](){const _0x3c603e=_0x1acd05,{scaleX:_0x4cc9ec,scaleY:_0x5b782f}=this[_0x3c603e(0x1dd)][_0x3c603e(0x2ae)]();return Math['max'](_0x4cc9ec,_0x5b782f);}}var Ui=Object[_0x1acd05(0x2f5)],Mi=(_0x2160ea,_0x598f53,_0x10367a,_0x40fc3d)=>{for(var _0xc0097d=_0x40fc3d>0x1?void 0x0:_0x40fc3d?Ui(_0x598f53,_0x10367a):_0x598f53,_0x269689=_0x2160ea['length']-0x1,_0x2708ec;_0x269689>=0x0;_0x269689--)(_0x2708ec=_0x2160ea[_0x269689])&&(_0xc0097d=_0x2708ec(_0xc0097d)||_0xc0097d);return _0xc0097d;},Z=(_0x27e6b8,_0x19ce4a)=>(_0x364679,_0x3d950)=>_0x19ce4a(_0x364679,_0x3d950,_0x27e6b8);let Le=class extends _0x17991f{constructor(_0x8f63ab,_0x499d1e,_0x31e59d,_0x32c7bb,_0xd8c9fd){const _0x549d86=_0x1acd05;super(),_(this,_0x549d86(0x37e),[]),_(this,_0x549d86(0x335),[]),(this[_0x549d86(0x2a4)]=_0x8f63ab,this['_docSkeletonManagerService']=_0x499d1e,this[_0x549d86(0x20d)]=_0x31e59d,this[_0x549d86(0x258)]=_0x32c7bb,this['_themeService']=_0xd8c9fd,this['_init']());}['_init'](){const _0x15df6a=_0x1acd05,_0x31f452=this[_0x15df6a(0x2a4)][_0x15df6a(0x293)],_0x43ca3b=this[_0x15df6a(0x2a5)];this[_0x15df6a(0x388)](_0x24821a([this[_0x15df6a(0x20d)]['getCollabCursors$'](_0x31f452),this[_0x15df6a(0x3b9)][_0x15df6a(0x34b)]])[_0x15df6a(0x1cd)](_0x152575(([_0x3986c5,_0x58656d])=>({'skeleton':_0x43ca3b[_0x15df6a(0x366)](),'cursors':[..._0x3986c5[_0x15df6a(0x2c3)]()][_0x15df6a(0x374)](_0xffdce=>({..._0xffdce,'color':this[_0x15df6a(0x3b9)][_0x15df6a(0x2b0)](_0xffdce['color'])}))})))[_0x15df6a(0x385)](_0x10a31b=>{const _0x1c04fa=_0x15df6a;if(this[_0x1c04fa(0x257)](),_0x10a31b){const {skeleton:_0x19baed,cursors:_0x31333f}=_0x10a31b;this['_updateCollabCursors'](_0x19baed,_0x31333f);}})),this[_0x15df6a(0x2e6)](),this[_0x15df6a(0x215)]();}[_0x1acd05(0x30a)](_0xcb0926,_0x88e588){const _0x182b65=_0x1acd05,{scene:_0x4803c8,mainComponent:_0x1987ae}=this[_0x182b65(0x2a4)],_0x3cfb34=_0x88e588[_0x182b65(0x2b1)](_0x55b209=>new qe(_0x55b209,_0x4803c8,_0xcb0926,_0x1987ae));this[_0x182b65(0x37e)]=_0x3cfb34,this['_cursors']=_0x88e588;}['_refreshCollabCursors'](){const _0x1df593=_0x1acd05;this[_0x1df593(0x257)]();const {scene:_0x93569d,mainComponent:_0x1cfe58}=this[_0x1df593(0x2a4)],_0x2cffb6=this[_0x1df593(0x2a5)][_0x1df593(0x366)](),_0x1c7dbd=this[_0x1df593(0x335)][_0x1df593(0x2b1)](_0x57fd1f=>new qe(_0x57fd1f,_0x93569d,_0x2cffb6,_0x1cfe58));this[_0x1df593(0x37e)]=_0x1c7dbd;}['_removeCollabCursors'](){const _0x364250=_0x1acd05;this['_cursorShapes'][_0x364250(0x34c)](_0x177a21=>_0x177a21[_0x364250(0x1ce)]()),this[_0x364250(0x37e)]=[];}['_initCommandExecutedListener'](){const _0x2f4731=_0x1acd05,_0x1d6ff4=[_0x5d9d25['id']];this[_0x2f4731(0x388)](this[_0x2f4731(0x258)][_0x2f4731(0x333)](_0x1f36f1=>{const _0x1e9a07=_0x2f4731;_0x1d6ff4[_0x1e9a07(0x1cf)](_0x1f36f1['id'])&&_0x1f36f1['params'][_0x1e9a07(0x293)]===this[_0x1e9a07(0x2a4)][_0x1e9a07(0x293)]&&this[_0x1e9a07(0x276)]();}));}[_0x1acd05(0x2e6)](){const _0x3a927e=_0x1acd05;this[_0x3a927e(0x388)](_0x3518cd(this['_context'][_0x3a927e(0x3d8)][_0x3a927e(0x23f)])['pipe'](_0x44bb43(_0x547754=>_0x547754['type']===_0x3eb9b4['resize']),_0x588b8a(0x10))['subscribe'](()=>{const _0x51e7dd=_0x3a927e;this[_0x51e7dd(0x276)]();}));}};Le=Mi([Z(0x1,_0x5f021e(_0x13457e)),Z(0x2,_0x5f021e(H)),Z(0x3,_0x4cc3b7),Z(0x4,_0x5f021e(_0x5c6db6))],Le);const Li=0x1,Pi=1.5;class wi extends _0x3ea822{constructor(_0x1b5a3e,_0x56f569){const _0x17ada5=_0x1acd05;super(_0x1b5a3e,_0x56f569),_(this,_0x17ada5(0x1fa)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x17ada5(0x338),''),_(this,_0x17ada5(0x2fc),_0x17ada5(0x225)),_(this,_0x17ada5(0x2d4)),(_0x56f569&&this[_0x17ada5(0x341)](_0x56f569),this[_0x17ada5(0x3a0)][_0x17ada5(0x1d5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x17ada5(0x2ed)][_0x17ada5(0x1d5)](()=>this[_0x17ada5(0x341)]({'hovered':!0x1})));}[_0x1acd05(0x341)](_0xba084a){const _0x248fc7=_0x1acd05;var _0x186254,_0x429b3f,_0x14cb8f,_0x54c144,_0x577814,_0x571250;this[_0x248fc7(0x1fa)]=(_0x186254=_0xba084a[_0x248fc7(0x1d0)])!=null?_0x186254:this[_0x248fc7(0x1fa)],this[_0x248fc7(0x2db)]=(_0x429b3f=_0xba084a[_0x248fc7(0x2e5)])!=null?_0x429b3f:this[_0x248fc7(0x2db)],this[_0x248fc7(0x34e)]=(_0x14cb8f=_0xba084a[_0x248fc7(0x21a)])!=null?_0x14cb8f:this['_range'],this[_0x248fc7(0x338)]=(_0x54c144=_0xba084a[_0x248fc7(0x21e)])!=null?_0x54c144:this[_0x248fc7(0x338)],this[_0x248fc7(0x2fc)]=(_0x577814=_0xba084a['labelPosition'])!=null?_0x577814:this[_0x248fc7(0x2fc)],this[_0x248fc7(0x2d4)]=(_0x571250=_0xba084a[_0x248fc7(0x1ec)])!=null?_0x571250:this[_0x248fc7(0x2d4)],this[_0x248fc7(0x2fb)]({'width':_0xba084a['width'],'height':_0xba084a['height']});}[_0x1acd05(0x2d6)](_0x11b72b){const _0x1b0a7a=_0x1acd05,{row:_0x38e261,column:_0x3e7e20}=_0x11b72b;if(_0x38e261>=this['_range']['startRow']&&_0x38e261<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x2ab)]&&_0x3e7e20>=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x247)]&&_0x3e7e20<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x1e2)]){this[_0x1b0a7a(0x341)]({'hovered':!0x0});return;}this[_0x1b0a7a(0x341)]({'hovered':!0x1});}[_0x1acd05(0x1e3)](_0x44748d){return!0x1;}[_0x1acd05(0x255)](_0x29c0a3){const _0x64e23e=_0x1acd05;_0x1d9677[_0x64e23e(0x3c1)](_0x29c0a3,{'width':this[_0x64e23e(0x274)],'height':this[_0x64e23e(0x325)],'strokeWidth':Pi,'stroke':this[_0x64e23e(0x1fa)],'evented':!0x1,'fill':this[_0x64e23e(0x2d4)]}),this[_0x64e23e(0x2db)]&&(_0x29c0a3[_0x64e23e(0x3a6)](),_0x29c0a3['transform'](0x1,0x0,0x0,0x1,this[_0x64e23e(0x274)],this[_0x64e23e(0x2fc)]===_0x64e23e(0x34a)?0x0:-0x14),he['drawWith'](_0x29c0a3,{'text':this[_0x64e23e(0x338)],'color':this['_color']}),_0x29c0a3[_0x64e23e(0x23a)]());}}var Ai=Object[_0x1acd05(0x2f5)],yi=(_0x583324,_0x591902,_0x4694b5,_0xa2a1cd)=>{const _0x585a73=_0x1acd05;for(var _0x14b728=_0xa2a1cd>0x1?void 0x0:_0xa2a1cd?Ai(_0x591902,_0x4694b5):_0x591902,_0x42a283=_0x583324[_0x585a73(0x263)]-0x1,_0x33534b;_0x42a283>=0x0;_0x42a283--)(_0x33534b=_0x583324[_0x42a283])&&(_0x14b728=_0x33534b(_0x14b728)||_0x14b728);return _0x14b728;},ve=(_0x371c6b,_0x14e65d)=>(_0x52562c,_0x4b73ad)=>_0x14e65d(_0x52562c,_0x4b73ad,_0x371c6b);const $i=0x1389;let Pe=class extends _0x17991f{constructor(_0x1f4b12,_0x354707,_0x2e829d,_0x4cbed2){const _0xfc181e=_0x1acd05;super(),_(this,_0xfc181e(0x335),new Set()),_(this,'_lastPointer',null),(this[_0xfc181e(0x2a4)]=_0x1f4b12,this[_0xfc181e(0x32e)]=_0x354707,this[_0xfc181e(0x20d)]=_0x2e829d,this['_themeService']=_0x4cbed2,this[_0xfc181e(0x35d)]());}[_0x1acd05(0x35d)](){const _0x4407a8=_0x1acd05;this[_0x4407a8(0x32e)][_0x4407a8(0x33f)][_0x4407a8(0x1cd)](_0x14d703(this[_0x4407a8(0x363)]),_0x38a762(_0x22dd98=>{const _0x376e7e=_0x4407a8;if(_0x22dd98){const _0x20b968=_0x22dd98['sheetId'];return _0x24821a(this['_collabCursorController'][_0x376e7e(0x287)](this[_0x376e7e(0x2a4)]['unitId']),this['_themeService'][_0x376e7e(0x34b)])['pipe'](_0x152575(([_0x813898,_0x594851])=>{const _0x3829d2=_0x376e7e,_0x5ca290=new Map();return _0x813898[_0x3829d2(0x34c)]((_0x3b52f9,_0x10df3e)=>{const _0x2d97a6=_0x3829d2;if(_0x3b52f9['sheetID']===_0x20b968){const _0x5d5019={..._0x3b52f9};_0x5d5019[_0x2d97a6(0x1d0)]=this['_themeService'][_0x2d97a6(0x2b0)](_0x3b52f9[_0x2d97a6(0x1d0)]),_0x5ca290[_0x2d97a6(0x38e)](_0x10df3e,_0x5d5019);}}),{'skeleton':_0x22dd98,'cursors':_0x5ca290};}));}return _0x4d18a7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x247b41,cursors:_0x57cd67})=>{const _0x5b47be=_0x4407a8;this[_0x5b47be(0x257)](),_0x247b41&&this['_updateCollabCursors'](_0x247b41,_0x57cd67);}),this['_sheetSkeletonManagerService'][_0x4407a8(0x33f)]['subscribe'](_0x223a8d=>{const _0x1eb694=_0x4407a8;if(_0x223a8d==null)return;const {skeleton:_0x5982c3}=_0x223a8d,{scene:_0x13fe77}=this[_0x1eb694(0x2a4)];_0x13fe77[_0x1eb694(0x3ba)][_0x1eb694(0x1d5)](_0x52b9ab(_0x1ead24=>{const _0x577a8b=_0x1eb694;var _0x423bfd,_0x4d726b;const {offsetX:_0x379dd7,offsetY:_0x5be77e}=_0x1ead24,{x:_0x48ea00,y:_0x179164}=_0x13fe77['getRelativeToViewportCoord'](_0x17974c[_0x577a8b(0x364)]([_0x379dd7,_0x5be77e])),{scaleX:_0x4916bc,scaleY:_0x5ba73c}=_0x13fe77['getAncestorScale'](),_0x419607=_0x13fe77[_0x577a8b(0x252)](_0xb6c4cd[_0x577a8b(0x34f)]),_0x232bcd=_0x13fe77[_0x577a8b(0x323)](_0x17974c['FromArray']([_0x48ea00,_0x179164]),_0x419607),_0x2fe1e5=_0x5982c3[_0x577a8b(0x33d)](_0x379dd7,_0x5be77e,_0x4916bc,_0x5ba73c,_0x232bcd);((_0x423bfd=this['_lastPointer'])==null?void 0x0:_0x423bfd[_0x577a8b(0x2b4)])===_0x2fe1e5[_0x577a8b(0x2b4)]&&((_0x4d726b=this[_0x577a8b(0x23b)])==null?void 0x0:_0x4d726b[_0x577a8b(0x1fe)])===_0x2fe1e5['row']||this['_cursors'][_0x577a8b(0x34c)](_0x2317eb=>{const _0x24e785=_0x577a8b;_0x2317eb[_0x24e785(0x2d6)](_0x2fe1e5);});},0x64));});}[_0x1acd05(0x30a)](_0x526a24,_0x17cf4d){const _0x112dcf=_0x1acd05;var _0x2b78b3;const _0x592440=(_0x2b78b3=this['_sheetSkeletonManagerService'][_0x112dcf(0x2b5)]())==null?void 0x0:_0x2b78b3[_0x112dcf(0x3a2)];if(!_0x592440)return;const _0x16ad9b=this[_0x112dcf(0x2bf)]();if(!_0x16ad9b)return;this[_0x112dcf(0x335)][_0x112dcf(0x34c)](_0x2bcb92=>{const _0x5b0df2=_0x112dcf;_0x2bcb92[_0x5b0df2(0x36d)]();});const {scene:_0x5b812e}=_0x16ad9b,_0x531293=xi(Array['from'](_0x17cf4d[_0x112dcf(0x2c3)]()))[_0x112dcf(0x2b1)](_0x47d31b=>{const _0x550c0e=_0x112dcf,{color:_0x11d871,range:_0x216cdd,name:_0x29cd69,selection:_0x3b815b,sheetID:_0x39372f}=_0x47d31b,{startColumn:_0x55cdf6,startRow:_0x1dbd30,endColumn:_0x250b71,endRow:_0xd709b0}=_0x216cdd,_0xc24a74=_0x5ce795(_0x1dbd30,_0x55cdf6,_0x5b812e,_0x592440),_0x1776ab=_0x5ce795(_0xd709b0,_0x250b71,_0x5b812e,_0x592440),{columnHeaderHeightAndMarginTop:_0x33d120}=_0x592440,{startX:_0x59199f,startY:_0x56ea11}=_0xc24a74,{endX:_0x4e1d20,endY:_0xae5207}=_0x1776ab,_0x2679f8=_0x4e1d20-_0x59199f,_0x30425c=_0xae5207-_0x56ea11,_0x213fc1={'labelPosition':_0x56ea11-_0x33d120>=ee?_0x550c0e(0x225):_0x550c0e(0x34a),'sheetID':_0x39372f,'range':_0x216cdd,'color':_0x11d871,'name':_0x29cd69,'selection':_0x3b815b,'left':_0x59199f,'top':_0x56ea11,'width':_0x2679f8,'height':_0x30425c,'evented':!0x1,'zIndex':$i};return new wi(_0x29cd69,_0x213fc1);});_0x5b812e['addObjects'](_0x531293,Li),this[_0x112dcf(0x335)]=new Set(_0x531293);}[_0x1acd05(0x257)](){const _0x1b8a2d=_0x1acd05;var _0x25c5fe;(_0x25c5fe=this[_0x1b8a2d(0x335)])==null||_0x25c5fe[_0x1b8a2d(0x34c)](_0x1a78ae=>_0x1a78ae[_0x1b8a2d(0x1ce)]());}[_0x1acd05(0x2bf)](){const _0x1b7d77=_0x1acd05;return _0x3614d7(this[_0x1b7d77(0x2a4)][_0x1b7d77(0x271)],this[_0x1b7d77(0x2a4)]);}};Pe=yi([ve(0x1,_0x5f021e(_0x5c84db)),ve(0x2,_0x5f021e(H)),ve(0x3,_0x5f021e(_0x5c6db6))],Pe);function xi(_0x8df426){const _0x1fb3e0=_0x1acd05,_0x460df6=new Map();return _0x8df426[_0x1fb3e0(0x34c)](_0x360814=>{const _0x1449a7=_0x1fb3e0;if(_0x460df6[_0x1449a7(0x334)](_0x360814[_0x1449a7(0x31a)])){const _0x3807ea=_0x460df6['get'](_0x360814[_0x1449a7(0x31a)]);_0x3807ea[_0x1449a7(0x21e)]+=',\x20'+_0x360814['name'];}else _0x460df6['set'](_0x360814['selection'],_0x360814);}),Array[_0x1fb3e0(0x1d9)](_0x460df6[_0x1fb3e0(0x2c3)]());}var v=function(){const _0x514f4c=_0x1acd05;return v=Object[_0x514f4c(0x327)]||function(_0x40bbd9){const _0x2388fd=_0x514f4c;for(var _0x2a36cd,_0x21c748=0x1,_0x317a93=arguments[_0x2388fd(0x263)];_0x21c748<_0x317a93;_0x21c748++){_0x2a36cd=arguments[_0x21c748];for(var _0x1940ce in _0x2a36cd)Object[_0x2388fd(0x2d9)]['hasOwnProperty'][_0x2388fd(0x256)](_0x2a36cd,_0x1940ce)&&(_0x40bbd9[_0x1940ce]=_0x2a36cd[_0x1940ce]);}return _0x40bbd9;},v[_0x514f4c(0x3a9)](this,arguments);},Bi=function(_0x32444b,_0x3eac2c){const _0x31a538=_0x1acd05;var _0x2d4b00={};for(var _0x243d76 in _0x32444b)Object['prototype'][_0x31a538(0x1e8)]['call'](_0x32444b,_0x243d76)&&_0x3eac2c[_0x31a538(0x22d)](_0x243d76)<0x0&&(_0x2d4b00[_0x243d76]=_0x32444b[_0x243d76]);if(_0x32444b!=null&&typeof Object[_0x31a538(0x2e8)]==_0x31a538(0x355)){for(var _0x26f6e2=0x0,_0x243d76=Object[_0x31a538(0x2e8)](_0x32444b);_0x26f6e2<_0x243d76[_0x31a538(0x263)];_0x26f6e2++)_0x3eac2c[_0x31a538(0x22d)](_0x243d76[_0x26f6e2])<0x0&&Object[_0x31a538(0x2d9)][_0x31a538(0x2d0)]['call'](_0x32444b,_0x243d76[_0x26f6e2])&&(_0x2d4b00[_0x243d76[_0x26f6e2]]=_0x32444b[_0x243d76[_0x26f6e2]]);}return _0x2d4b00;},Fe=_0xa37560(function(_0x590ee1,_0x5d19ec){const _0x1fc617=_0x1acd05;var _0x3412f6=_0x590ee1['icon'],_0x18ea4d=_0x590ee1['id'],_0x23c46a=_0x590ee1[_0x1fc617(0x36e)],_0x534d98=_0x590ee1['extend'],_0x1bc864=Bi(_0x590ee1,[_0x1fc617(0x2e9),'id',_0x1fc617(0x36e),_0x1fc617(0x2c1)]),_0x537528=_0x1fc617(0x1da)[_0x1fc617(0x2a3)](_0x18ea4d,'\x20')[_0x1fc617(0x2a3)](_0x23c46a||'')[_0x1fc617(0x2c8)](),_0x293f1b=_0x54ef04('_'[_0x1fc617(0x2a3)](Fi()));return Rt(_0x3412f6,''[_0x1fc617(0x2a3)](_0x18ea4d),{'defIds':_0x3412f6[_0x1fc617(0x2f7)],'idSuffix':_0x293f1b['current']},v({'ref':_0x5d19ec,'className':_0x537528},_0x1bc864),_0x534d98);});function Rt(_0x375858,_0x315e0d,_0x204e35,_0x362a05,_0x5197d7){const _0x5bc527=_0x1acd05;return _0x1dc605(_0x375858['tag'],v(v({'key':_0x315e0d},ki(_0x375858,_0x204e35,_0x5197d7)),_0x362a05),(Hi(_0x375858,_0x204e35)[_0x5bc527(0x3bf)]||[])[_0x5bc527(0x2b1)](function(_0x51299c,_0x3d75be){const _0x41c794=_0x5bc527;return Rt(_0x51299c,''[_0x41c794(0x2a3)](_0x315e0d,'-')[_0x41c794(0x2a3)](_0x375858[_0x41c794(0x336)],'-')[_0x41c794(0x2a3)](_0x3d75be),_0x204e35,void 0x0,_0x5197d7);}));}function ki(_0x242d84,_0x5dcc9b,_0x101e71){const _0x1a71eb=_0x1acd05;var _0x38b3c6=v({},_0x242d84[_0x1a71eb(0x2da)]);_0x101e71!=null&&_0x101e71[_0x1a71eb(0x330)]&&_0x38b3c6['fill']===_0x1a71eb(0x330)&&(_0x38b3c6[_0x1a71eb(0x39a)]=_0x101e71[_0x1a71eb(0x330)]),_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x267)&&_0x38b3c6['id']&&(_0x38b3c6['id']=_0x38b3c6['id']+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)[_0x1a71eb(0x34c)](function(_0x37ecba){const _0x45504a=_0x1a71eb;var _0x1ac9a5=_0x37ecba[0x0],_0x38e9c3=_0x37ecba[0x1];_0x1ac9a5===_0x45504a(0x267)&&typeof _0x38e9c3==_0x45504a(0x3a5)&&(_0x38b3c6[_0x1ac9a5]=_0x38e9c3['replace'](/url\(#(.*)\)/,'url(#$1'[_0x45504a(0x2a3)](_0x5dcc9b[_0x45504a(0x2bc)],')')));});var _0x3cef0e=_0x5dcc9b[_0x1a71eb(0x2f7)];return!_0x3cef0e||_0x3cef0e['length']===0x0||(_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x344)&&_0x38b3c6[_0x1a71eb(0x1df)]&&(_0x38b3c6[_0x1a71eb(0x1df)]=_0x38b3c6[_0x1a71eb(0x1df)]+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)['forEach'](function(_0x434379){const _0xdf331c=_0x1a71eb;var _0x2bc622=_0x434379[0x0],_0x9bb787=_0x434379[0x1];typeof _0x9bb787==_0xdf331c(0x3a5)&&(_0x38b3c6[_0x2bc622]=_0x9bb787[_0xdf331c(0x2d5)](/url\(#(.*)\)/,_0xdf331c(0x371)[_0xdf331c(0x2a3)](_0x5dcc9b[_0xdf331c(0x2bc)],')')));})),_0x38b3c6;}function Hi(_0x4b24e2,_0x4acea3){const _0x7d6ca1=_0x1acd05;var _0x3b43e8,_0x2cff33=_0x4acea3[_0x7d6ca1(0x2f7)];return!_0x2cff33||_0x2cff33[_0x7d6ca1(0x263)]===0x0?_0x4b24e2:_0x4b24e2[_0x7d6ca1(0x336)]===_0x7d6ca1(0x285)&&(!((_0x3b43e8=_0x4b24e2[_0x7d6ca1(0x3bf)])===null||_0x3b43e8===void 0x0)&&_0x3b43e8['length'])?v(v({},_0x4b24e2),{'children':_0x4b24e2[_0x7d6ca1(0x3bf)][_0x7d6ca1(0x2b1)](function(_0x587052){const _0x5b7299=_0x7d6ca1;return typeof _0x587052['attrs']['id']==_0x5b7299(0x3a5)&&_0x2cff33&&_0x2cff33[_0x5b7299(0x1cf)](_0x587052['attrs']['id'])?v(v({},_0x587052),{'attrs':v(v({},_0x587052[_0x5b7299(0x2da)]),{'id':_0x587052[_0x5b7299(0x2da)]['id']+_0x4acea3[_0x5b7299(0x2bc)]})}):_0x587052;})}):_0x4b24e2;}function Fi(){const _0x2b0f4f=_0x1acd05;return Math[_0x2b0f4f(0x3cc)]()[_0x2b0f4f(0x25d)](0x24)[_0x2b0f4f(0x206)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x1d6)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'d':_0x1acd05(0x390),'strokeLinecap':'round','strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':_0x1acd05(0x285),'attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x3bc)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200)}}]}]}],'defIds':[_0x1acd05(0x3bc)]},Dt=_0xa37560(function(_0x4c6d45,_0x193604){const _0x43b5a8=_0x1acd05;return _0x1dc605(Fe,Object[_0x43b5a8(0x327)]({},_0x4c6d45,{'id':_0x43b5a8(0x242),'ref':_0x193604,'icon':Yi}));});Dt[_0x1acd05(0x1e5)]=_0x1acd05(0x2e0);var ji={'tag':_0x1acd05(0x217),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':_0x1acd05(0x2d3),'width':_0x1acd05(0x23e),'height':_0x1acd05(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x207)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'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':_0x1acd05(0x289),'strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x39d)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1acd05(0x39d)]},Nt=_0xa37560(function(_0x12d3f7,_0x4ef46b){const _0x154855=_0x1acd05;return _0x1dc605(Fe,Object['assign']({},_0x12d3f7,{'id':_0x154855(0x2cc),'ref':_0x4ef46b,'icon':ji}));});Nt['displayName']=_0x1acd05(0x2e2);function Vi(_0x1f8541){const _0x47cb68=_0x1acd05;switch(_0x1f8541){case _0x3be97d[_0x47cb68(0x28b)]:return _0x47cb68(0x21b);case _0x3be97d[_0x47cb68(0x264)]:return _0x47cb68(0x305);case _0x3be97d[_0x47cb68(0x25f)]:return _0x47cb68(0x1db);case _0x3be97d[_0x47cb68(0x261)]:return _0x47cb68(0x39c);case _0x3be97d[_0x47cb68(0x3be)]:case _0x3be97d[_0x47cb68(0x2e4)]:return _0x47cb68(0x380);case _0x3be97d[_0x47cb68(0x309)]:case _0x3be97d['PENDING']:return _0x47cb68(0x28c);}}function Wi(_0x7a0b40){const _0x586bef=_0x1acd05,{status$:_0x212091}=_0x7a0b40,_0x13d2ea=_0x1618d0(_0x212091,_0x3be97d[_0x586bef(0x261)]),_0x2e56a1=_0x51e10c(_0x1b849e),_0x4ad496=_0x51e10c(_0xbcca1b),_0x57521c=_0x13d2ea!==_0x3be97d[_0x586bef(0x28b)],_0xe1554e=_0x2e56a1['t'](Vi(_0x13d2ea)),_0x290ab4=_0x57521c?_0x25785d(Nt,{}):_0x25785d(Dt,{}),_0x168dcc=_0x3268cd(()=>{_0x57521c||_0x4ad496['reconnect']();},[_0x57521c,_0x4ad496]);function _0x2def6b(){const _0x188ae3=_0x586bef;return _0x783189(_0x188ae3(0x316),{'className':_0x188ae3(0x3aa),'onClick':_0x168dcc,'children':[_0x25785d(_0x188ae3(0x316),{'className':_0x275f5d(_0x188ae3(0x2a6),{'univer-text-green-500':_0x57521c,'univer-text-red-500':!_0x57521c}),'children':_0x290ab4}),_0x25785d('div',{'className':_0x188ae3(0x2f6),'children':_0xe1554e})]});}return _0x57521c?_0x2def6b():_0x25785d(_0x6bca9d,{'title':_0x2e56a1['t'](_0x586bef(0x3d2)),'children':_0x2def6b()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x507a1b,_0x4a4249,_0x466076,_0xd1ecb1)=>{const _0x26d05f=_0x1acd05;for(var _0x468160=_0xd1ecb1>0x1?void 0x0:_0xd1ecb1?Xi(_0x4a4249,_0x466076):_0x4a4249,_0x1a1519=_0x507a1b[_0x26d05f(0x263)]-0x1,_0x21cf6;_0x1a1519>=0x0;_0x1a1519--)(_0x21cf6=_0x507a1b[_0x1a1519])&&(_0x468160=_0x21cf6(_0x468160)||_0x468160);return _0x468160;},Q=(_0x584956,_0x61e6a0)=>(_0x15eca2,_0x4ba921)=>_0x61e6a0(_0x15eca2,_0x4ba921,_0x584956);let te=class extends _0x1e46f3{constructor(_0x15808e,_0xb371f7,_0x12dd9b,_0x7ba219){const _0x5bd2dc=_0x1acd05;super(),_(this,_0x5bd2dc(0x248),new _0x5bb037(_0x3be97d[_0x5bd2dc(0x261)])),(this[_0x5bd2dc(0x342)]=_0x15808e,this[_0x5bd2dc(0x2ce)]=_0xb371f7,this[_0x5bd2dc(0x358)]=_0x12dd9b,this[_0x5bd2dc(0x2ba)]=_0x7ba219,this[_0x5bd2dc(0x25a)](),this['_initStatusListener']());}[_0x1acd05(0x1f2)](){const _0x9b355=_0x1acd05;this[_0x9b355(0x388)](this[_0x9b355(0x342)][_0x9b355(0x38b)]['pipe'](_0x4fef0f(()=>{const _0x538def=_0x9b355,_0x43bb8d=this[_0x538def(0x342)][_0x538def(0x23c)]();return _0x43bb8d?this[_0x538def(0x358)][_0x538def(0x245)](_0x43bb8d[_0x538def(0x1fd)]()):_0x4d18a7(null);}),_0x4fef0f(_0x1fe3e4=>_0x1fe3e4?_0x1fe3e4['status$']:_0x4d18a7(_0x3be97d[_0x9b355(0x261)])))['subscribe'](_0x29818e=>{const _0x53caca=_0x9b355;this[_0x53caca(0x248)][_0x53caca(0x202)](_0x29818e);}));}[_0x1acd05(0x25a)](){const _0x1332c4=_0x1acd05;this['disposeWithMe'](this['_uiPartsService'][_0x1332c4(0x317)](_0x38070b[_0x1332c4(0x3c3)],()=>_0x46b9d9(Ki({'status$':this[_0x1332c4(0x248)][_0x1332c4(0x27c)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x48e36a),Q(0x1,_0x5f021e(_0x4f83c1)),Q(0x2,_0x5f021e(_0x353ace)),Q(0x3,_0xda0404)],te);function Ki(_0x473b0c){const {status$:_0x3d43b6}=_0x473b0c;return function(){return _0x25785d(Wi,{'status$':_0x3d43b6});};}var zi=Object[_0x1acd05(0x2f5)],Ji=(_0x2af8f1,_0x3a4faf,_0x441b0f,_0x1f0f6f)=>{const _0x78316f=_0x1acd05;for(var _0x5be2c9=_0x1f0f6f>0x1?void 0x0:_0x1f0f6f?zi(_0x3a4faf,_0x441b0f):_0x3a4faf,_0x54eddb=_0x2af8f1[_0x78316f(0x263)]-0x1,_0x3621a2;_0x54eddb>=0x0;_0x54eddb--)(_0x3621a2=_0x2af8f1[_0x54eddb])&&(_0x5be2c9=_0x3621a2(_0x5be2c9)||_0x5be2c9);return _0x5be2c9;},B=(_0x3f87b8,_0x26f934)=>(_0x39e61e,_0x3b70ff)=>_0x26f934(_0x39e61e,_0x3b70ff,_0x3f87b8);let se=class extends _0x1e46f3{constructor(_0x4f1968,_0x415c02,_0xbbecff,_0x3a3757,_0x494d6e,_0x3c4a3e){const _0x41a952=_0x1acd05;super(),this[_0x41a952(0x3c2)]=_0x4f1968,this['_localCacheService']=_0x415c02,this[_0x41a952(0x25c)]=_0xbbecff,this['_messageService']=_0x3a3757,this[_0x41a952(0x3ad)]=_0x494d6e,this[_0x41a952(0x3c0)]=_0x3c4a3e,this[_0x41a952(0x214)](),this[_0x41a952(0x392)]();}[_0x1acd05(0x214)](){const _0x2eb114=_0x1acd05;this['disposeWithMe'](this[_0x2eb114(0x3c2)][_0x2eb114(0x375)](()=>{const _0x42cf73=_0x2eb114;if(this[_0x42cf73(0x1f5)]['saveTaskMap']['size'])return this[_0x42cf73(0x3c0)]['t'](_0x42cf73(0x314));}));}[_0x1acd05(0x392)](){const _0x8e74a4=_0x1acd05;this['disposeWithMe'](this[_0x8e74a4(0x25c)][_0x8e74a4(0x37f)][_0x8e74a4(0x385)](_0xa3b452=>{const _0x353e30=_0x8e74a4;_0xa3b452['id']===_0x28c901['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x313))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1e6)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd['Warning'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1f9)]&&this['_notificationService'][_0x353e30(0x2fe)]({'title':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x337)),'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x284)),'type':_0x353e30(0x32a),'duration':0x0}),_0xa3b452['id']===_0x28c901[_0x353e30(0x264)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd['Error'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')+'('+_0xa3b452[_0x353e30(0x24c)]+')'}),_0xa3b452['id']===_0x28c901[_0x353e30(0x28d)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this['_localeService']['t'](_0xa3b452[_0x353e30(0x24c)]||'')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x3b3)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t']('session.will-retry')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x2f0)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x3a4))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x20b)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x181cb5),B(0x1,_0x22d609),B(0x2,_0x5f021e(_0x427c8d)),B(0x3,_0x7eeb49),B(0x4,_0x7fe26d),B(0x5,_0x5f021e(_0x1b849e))],se);const Zi=_0x1acd05(0x36b),et={},Ut=_0x206f17(_0x1acd05(0x383));var Qi=Object[_0x1acd05(0x2f5)],qi=(_0x341ef1,_0x592ff3,_0x5dbddd,_0x50a2c8)=>{const _0x3cf735=_0x1acd05;for(var _0x549151=_0x50a2c8>0x1?void 0x0:_0x50a2c8?Qi(_0x592ff3,_0x5dbddd):_0x592ff3,_0x579fd1=_0x341ef1[_0x3cf735(0x263)]-0x1,_0x1c0d33;_0x579fd1>=0x0;_0x579fd1--)(_0x1c0d33=_0x341ef1[_0x579fd1])&&(_0x549151=_0x1c0d33(_0x549151)||_0x549151);return _0x549151;},G=(_0x986f83,_0x55dc63)=>(_0x30084f,_0x59dbb4)=>_0x55dc63(_0x30084f,_0x59dbb4,_0x986f83);let ie=class extends _0x17991f{constructor(_0x374c6f,_0x41d9cf,_0x15f456,_0xbda0fd,_0x4dc749){const _0x2c7d9a=_0x1acd05;super(),this[_0x2c7d9a(0x281)]=_0x374c6f,this[_0x2c7d9a(0x240)]=_0x41d9cf,this[_0x2c7d9a(0x258)]=_0x15f456,this[_0x2c7d9a(0x360)]=_0xbda0fd,_0x4dc749?_0x4dc749==null||_0x4dc749[_0x2c7d9a(0x361)]()[_0x2c7d9a(0x24f)](()=>this['_init']()):(this['_logService'][_0x2c7d9a(0x298)]('[CollaborationDataLoaderController]',_0x2c7d9a(0x299)),this[_0x2c7d9a(0x35d)]());}async[_0x1acd05(0x35d)](){const _0x289774=_0x1acd05,_0x8ae0cc=this['_urlService'][_0x289774(0x356)](_0x289774(0x271)),_0x13199a=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x3ae)),_0x1c742e=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x27e));if(!_0x8ae0cc||!_0x13199a){this[_0x289774(0x240)]['debug'](_0x289774(0x2de),_0x289774(0x30d));return;}const _0x14d094=await this[_0x289774(0x360)][_0x289774(0x237)](_0x8ae0cc,Number(_0x13199a),_0x1c742e);_0x14d094&&_0x14d094 instanceof _0x1f0347&&this[_0x289774(0x35e)](_0x14d094);}async[_0x1acd05(0x35e)](_0x537eb6){const _0x4ee65c=_0x1acd05;await this[_0x4ee65c(0x292)](_0x537eb6),_0x537eb6['activeSheet$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this[_0x4ee65c(0x363)]))[_0x4ee65c(0x385)](_0x695029=>{const _0x473612=_0x4ee65c;_0x695029&&this[_0x473612(0x346)](_0x695029);}),this[_0x4ee65c(0x281)]['urlChange$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this['dispose$']))['subscribe'](()=>this[_0x4ee65c(0x292)](_0x537eb6));}[_0x1acd05(0x346)](_0x2e45e2,_0x38c811=!0x1){const _0x78fe04=_0x1acd05,_0x4f1da3=this[_0x78fe04(0x281)][_0x78fe04(0x356)](_0x78fe04(0x27e));_0x2e45e2[_0x78fe04(0x396)]()!==_0x4f1da3&&this[_0x78fe04(0x281)][_0x78fe04(0x270)](_0x78fe04(0x27e),_0x2e45e2[_0x78fe04(0x396)](),_0x38c811);}async[_0x1acd05(0x292)](_0x4e66d1){const _0x53ffe6=_0x1acd05;var _0x5d0105;const _0x9d04b4=this[_0x53ffe6(0x281)][_0x53ffe6(0x356)](_0x53ffe6(0x27e));if(!_0x9d04b4||!_0x4e66d1[_0x53ffe6(0x26e)](_0x9d04b4)){const _0x462356=_0x4e66d1[_0x53ffe6(0x3c7)]()[0x0],_0x3ec3da=_0x4e66d1[_0x53ffe6(0x26e)](_0x462356);if(!_0x3ec3da)return;this['_updateURLWithCurrentState'](_0x3ec3da,!0x0),await this[_0x53ffe6(0x258)][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1[_0x53ffe6(0x1fd)](),'subUnitId':_0x462356});return;}((_0x5d0105=_0x4e66d1[_0x53ffe6(0x3d5)]())==null?void 0x0:_0x5d0105[_0x53ffe6(0x396)]())!==_0x9d04b4&&await this['_commandService'][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1['getUnitId'](),'subUnitId':_0x9d04b4});}};ie=qi([G(0x0,Ut),G(0x1,_0x3ede55),G(0x2,_0x4cc3b7),G(0x3,_0x5f021e(_0x35d9cc)),G(0x4,_0x216a52(_0x3bb9f2))],ie);var en=Object[_0x1acd05(0x2f5)],tn=(_0x3f8aad,_0x533ab8,_0x378bac,_0x475731)=>{const _0x108b82=_0x1acd05;for(var _0x55848f=_0x475731>0x1?void 0x0:_0x475731?en(_0x533ab8,_0x378bac):_0x533ab8,_0x11d249=_0x3f8aad[_0x108b82(0x263)]-0x1,_0xc9382e;_0x11d249>=0x0;_0x11d249--)(_0xc9382e=_0x3f8aad[_0x11d249])&&(_0x55848f=_0xc9382e(_0x55848f)||_0x55848f);return _0x55848f;},pe=(_0x17a136,_0x41e93)=>(_0x4a0608,_0x92bfca)=>_0x41e93(_0x4a0608,_0x92bfca,_0x17a136);let ne=class{constructor(_0x56f006,_0x35eb3a,_0x457b22){const _0x466fbc=_0x1acd05;this[_0x466fbc(0x2ce)]=_0x56f006,this[_0x466fbc(0x20a)]=_0x35eb3a,this['_renderManagerService']=_0x457b22;}[_0x1acd05(0x28e)](_0x29aeef){const _0x4474cf=_0x1acd05;this[_0x4474cf(0x21c)](_0x29aeef),this[_0x4474cf(0x399)](_0x29aeef);}[_0x1acd05(0x27a)](_0x57f11a){const _0x350540=_0x1acd05,{unitID:_0x9080b6}=_0x57f11a,_0x1925e5=this[_0x350540(0x3d0)][_0x350540(0x273)](_0x9080b6)[_0x350540(0x1f7)](_0x1a5f23),{redoCache:_0x48b422}=_0x1925e5['getUndoRedoMutationParamsCache']();if(_0x48b422[_0x350540(0x263)]===0x0)return _0x57f11a;let _0x54bbd9=_0x4150e8[_0x350540(0x23d)](_0x57f11a['mutations'][0x0]);for(let _0x5caf7d=0x0;_0x5caf7d<_0x48b422[_0x350540(0x263)];_0x5caf7d++){const _0x5d5363={'id':_0x350540(0x204),'params':{..._0x48b422[_0x5caf7d]}},_0x44b22c=this[_0x350540(0x20a)][_0x350540(0x3b2)](_0x54bbd9,_0x5d5363,!0x1);if(_0x3d9270(_0x44b22c))throw _0x44b22c['error'];_0x54bbd9=_0x44b22c[_0x350540(0x1ef)];}return{..._0x4150e8[_0x350540(0x23d)](_0x57f11a),'mutations':[_0x54bbd9]};}[_0x1acd05(0x21c)](_0x2fd691){const _0x10e18f=_0x1acd05,{unitID:_0x3516b5}=_0x2fd691,_0x25ac48=this[_0x10e18f(0x3d0)][_0x10e18f(0x273)](_0x3516b5)[_0x10e18f(0x1f7)](_0x1a5f23),{undoCache:_0x12db94,redoCache:_0x2e9f59}=_0x25ac48[_0x10e18f(0x315)]();if(_0x12db94[_0x10e18f(0x263)]===0x0||_0x2e9f59[_0x10e18f(0x263)]===0x0)return;const _0x494016=[],_0x3b3310=[];let _0x545d39=_0x4150e8[_0x10e18f(0x23d)](_0x2fd691[_0x10e18f(0x3b8)][0x0]),_0x1db523=_0x4150e8['deepClone'](_0x2fd691['mutations'][0x0]);for(let _0x3a1a13=_0x12db94['length']-0x1;_0x3a1a13>=0x0;_0x3a1a13--){const _0x5f4fa8={'id':'doc.mutation.rich-text-editing','params':{..._0x12db94[_0x3a1a13]}},_0x422e44={'id':_0x10e18f(0x204),'params':{..._0x2e9f59[_0x3a1a13]}},_0x59d5fe=this[_0x10e18f(0x20a)]['transformMutation'](_0x545d39,_0x5f4fa8,!0x1),_0x5b7443=this[_0x10e18f(0x20a)][_0x10e18f(0x3b2)](_0x1db523,_0x422e44,!0x1);if(_0x3d9270(_0x59d5fe))throw _0x59d5fe[_0x10e18f(0x32a)];if(_0x3d9270(_0x5b7443))throw _0x5b7443[_0x10e18f(0x32a)];_0x494016['unshift'](_0x59d5fe[_0x10e18f(0x25b)][_0x10e18f(0x21f)]),_0x3b3310[_0x10e18f(0x32d)](_0x5b7443['m2Prime'][_0x10e18f(0x21f)]),_0x545d39=_0x59d5fe[_0x10e18f(0x1ef)],_0x1db523=_0x5b7443[_0x10e18f(0x1ef)];}_0x25ac48[_0x10e18f(0x339)]({'undoCache':_0x494016,'redoCache':_0x3b3310});}[_0x1acd05(0x399)](_0xbadcdf){const _0x1bfdf4=_0x1acd05,{unitID:_0x4d747c}=_0xbadcdf,_0x35de97=this['_renderManagerService']['getRenderById'](_0x4d747c)['with'](_0x1a5f23),_0x318a41=_0x35de97['getActiveRange']();if(_0x318a41==null)return;const _0x5e0e0d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbadcdf[_0x1bfdf4(0x3a8)],'actions':null,'textRanges':[_0x318a41]}}],_0x48b247=this[_0x1bfdf4(0x20a)]['transformMutationsWithChangeset'](_0xbadcdf,_0x5e0e0d);if(!_0x5e35b1(_0x48b247))throw _0x48b247[_0x1bfdf4(0x32a)];const _0x4afc6c=_0x48b247[_0x1bfdf4(0x25b)][0x0][_0x1bfdf4(0x21f)][_0x1bfdf4(0x37a)];Array[_0x1bfdf4(0x347)](_0x4afc6c)&&_0x4afc6c[_0x1bfdf4(0x263)]&&_0x35de97[_0x1bfdf4(0x1ee)](_0x4afc6c[0x0]);}};ne=tn([pe(0x0,_0x5f021e(_0x4f83c1)),pe(0x1,_0x3c09f3),pe(0x2,_0x22a42b)],ne);var sn=Object[_0x1acd05(0x2f5)],nn=(_0x215f66,_0x50f84a,_0x28e7f3,_0x396254)=>{const _0x551fc0=_0x1acd05;for(var _0x134088=_0x396254>0x1?void 0x0:_0x396254?sn(_0x50f84a,_0x28e7f3):_0x50f84a,_0x47cf31=_0x215f66[_0x551fc0(0x263)]-0x1,_0x14d4df;_0x47cf31>=0x0;_0x47cf31--)(_0x14d4df=_0x215f66[_0x47cf31])&&(_0x134088=_0x14d4df(_0x134088)||_0x134088);return _0x134088;},Ce=(_0x3e3d0e,_0x15053f)=>(_0x2ab763,_0x385979)=>_0x15053f(_0x2ab763,_0x385979,_0x3e3d0e);function _0xe137(_0x4f832d,_0x58b6db){const _0x3563e6=_0x3563();return _0xe137=function(_0xe1372f,_0x3bda21){_0xe1372f=_0xe1372f-0x1cc;let _0x5df9f1=_0x3563e6[_0xe1372f];return _0x5df9f1;},_0xe137(_0x4f832d,_0x58b6db);}let re=class{constructor(_0x401077,_0x5d82ed,_0x2a6942){const _0x42ca41=_0x1acd05;this[_0x42ca41(0x2ce)]=_0x401077,this['_transformService']=_0x5d82ed,this[_0x42ca41(0x1d3)]=_0x2a6942;}[_0x1acd05(0x29d)](_0x42a35a){const _0x4f896a=_0x1acd05;this[_0x4f896a(0x203)](_0x42a35a);}[_0x1acd05(0x27a)](_0x2084a4){const _0x361385=_0x1acd05,{unitID:_0x522c29}=_0x2084a4,{collaboration:_0x2b3457}=this['_docStateChangeManagerService'][_0x361385(0x1fb)](_0x522c29);if(_0x2b3457[_0x361385(0x263)]===0x0)return _0x2084a4;let _0x3b6a13=_0x4150e8[_0x361385(0x23d)](_0x2084a4[_0x361385(0x3b8)][0x0]);for(let _0x527036=0x0;_0x527036<_0x2b3457[_0x361385(0x263)];_0x527036++){const _0x271e73={'id':_0x361385(0x204),'params':{'unitId':_0x2b3457[_0x527036][_0x361385(0x293)],..._0x2b3457[_0x527036]['redoState']}},_0x16143b=this[_0x361385(0x20a)][_0x361385(0x3b2)](_0x3b6a13,_0x271e73,!0x1);if(_0x3d9270(_0x16143b))throw _0x16143b['error'];_0x3b6a13=_0x16143b['m1Prime'];}return{..._0x4150e8[_0x361385(0x23d)](_0x2084a4),'mutations':[_0x3b6a13]};}[_0x1acd05(0x203)](_0x8bc2bd){const _0x4581b1=_0x1acd05,{unitID:_0x1877b0}=_0x8bc2bd,{history:_0x487e28,collaboration:_0xcabffd}=this[_0x4581b1(0x1d3)][_0x4581b1(0x1fb)](_0x1877b0);if(_0x487e28['length']===0x0&&_0xcabffd['length']===0x0)return;const _0x43ad61=[],_0x2a403c=[];let _0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8['deepClone'](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]);for(let _0x4bda3e=_0x487e28['length']-0x1;_0x4bda3e>=0x0;_0x4bda3e--){const _0x1184fb={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e][_0x4581b1(0x373)]}},_0x5ab9b5={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e]['redoState']}},_0x765861=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x54c8e5,_0x1184fb,!0x1),_0x588906=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x5ab9b5,!0x1);if(_0x3d9270(_0x765861))throw _0x765861[_0x4581b1(0x32a)];if(_0x3d9270(_0x588906))throw _0x588906[_0x4581b1(0x32a)];_0x43ad61['unshift']({..._0x487e28[_0x4bda3e],'undoState':_0x765861['m2Prime'][_0x4581b1(0x21f)],'redoState':_0x588906[_0x4581b1(0x25b)][_0x4581b1(0x21f)]}),_0x54c8e5=_0x765861[_0x4581b1(0x1ef)],_0x292131=_0x588906[_0x4581b1(0x1ef)];}_0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd['mutations'][0x0]);for(let _0xa465e0=_0xcabffd['length']-0x1;_0xa465e0>=0x0;_0xa465e0--){const _0x52b9f6={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0]['unitId'],..._0xcabffd[_0xa465e0]['undoState']}},_0x1068d9={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0][_0x4581b1(0x293)],..._0xcabffd[_0xa465e0]['redoState']}},_0xbe883d=this['_transformService'][_0x4581b1(0x3b2)](_0x54c8e5,_0x52b9f6,!0x1),_0x27a990=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x1068d9,!0x1);if(_0x3d9270(_0xbe883d))throw _0xbe883d['error'];if(_0x3d9270(_0x27a990))throw _0x27a990[_0x4581b1(0x32a)];_0x2a403c[_0x4581b1(0x32d)]({..._0xcabffd[_0xa465e0],'undoState':_0xbe883d[_0x4581b1(0x25b)][_0x4581b1(0x21f)],'redoState':_0x27a990['m2Prime'][_0x4581b1(0x21f)]}),_0x54c8e5=_0xbe883d['m1Prime'],_0x292131=_0x27a990[_0x4581b1(0x1ef)];}this[_0x4581b1(0x1d3)]['setStateCache'](_0x1877b0,{'history':_0x43ad61,'collaboration':_0x2a403c});}};re=nn([Ce(0x0,_0x5f021e(_0x4f83c1)),Ce(0x1,_0x3c09f3),Ce(0x2,_0x5f021e(_0x145de9))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x302a8a,_0x2a0b2c,_0x5d628b,_0x5c9695)=>{const _0x1fc7f3=_0x1acd05;for(var _0x2b87ce=_0x5c9695>0x1?void 0x0:_0x5c9695?rn(_0x2a0b2c,_0x5d628b):_0x2a0b2c,_0x5cd30d=_0x302a8a[_0x1fc7f3(0x263)]-0x1,_0x5a955c;_0x5cd30d>=0x0;_0x5cd30d--)(_0x5a955c=_0x302a8a[_0x5cd30d])&&(_0x2b87ce=_0x5a955c(_0x2b87ce)||_0x2b87ce);return _0x2b87ce;},tt=(_0x3a2a68,_0x37618e)=>(_0x3716e0,_0x368093)=>_0x37618e(_0x3716e0,_0x368093,_0x3a2a68);let oe=class{constructor(_0x48b2da,_0x28ca40){const _0x30bd06=_0x1acd05;this[_0x30bd06(0x2ce)]=_0x48b2da,this[_0x30bd06(0x20a)]=_0x28ca40;}[_0x1acd05(0x3b4)](_0x1c5efa){const _0x5dd721=_0x1acd05;var _0x52171b;const _0x5750ac=this[_0x5dd721(0x2ce)]['get'](_0x797d99),_0x273a49=(_0x52171b=_0x5750ac[_0x5dd721(0x36c)]())!=null?_0x52171b:[];if(_0x273a49[_0x5dd721(0x263)]===0x0)return;const _0x1facd5=_0x1c5efa[_0x5dd721(0x3a8)],_0x67b614=[{'id':_0x5dd721(0x204),'params':{'unitId':_0x1facd5,'actions':null,'textRanges':_0x273a49}}],_0x29ed7d=this['_transformService']['transformMutationsWithChangeset'](_0x1c5efa,_0x67b614);if(!_0x5e35b1(_0x29ed7d))throw _0x29ed7d[_0x5dd721(0x32a)];const _0x265a5a=_0x29ed7d[_0x5dd721(0x25b)][0x0]['params']['textRanges'];Array['isArray'](_0x265a5a)&&_0x265a5a[_0x5dd721(0x263)]&&_0x5750ac['replaceDocRanges'](_0x265a5a,{'unitId':_0x1facd5,'subUnitId':_0x1facd5},!0x1);}};oe=on([tt(0x0,_0x5f021e(_0x4f83c1)),tt(0x1,_0x3c09f3)],oe);var an=Object[_0x1acd05(0x2f5)],cn=(_0x4c9823,_0x3c2b14,_0x45a6a3,_0x2833e8)=>{const _0x3a60db=_0x1acd05;for(var _0xadea43=_0x2833e8>0x1?void 0x0:_0x2833e8?an(_0x3c2b14,_0x45a6a3):_0x3c2b14,_0x1f9526=_0x4c9823[_0x3a60db(0x263)]-0x1,_0x4c5402;_0x1f9526>=0x0;_0x1f9526--)(_0x4c5402=_0x4c9823[_0x1f9526])&&(_0xadea43=_0x4c5402(_0xadea43)||_0xadea43);return _0xadea43;},U=(_0x22b482,_0x328a25)=>(_0x5f3256,_0x5702fa)=>_0x328a25(_0x5f3256,_0x5702fa,_0x22b482);let ae=class extends _0x1e46f3{constructor(_0x481c40,_0x42206f,_0x6cda11,_0x418b36,_0x2ea310,_0x5cb0ca,_0x1134d1,_0x11b4f7){const _0x942f70=_0x1acd05;super(),_(this,_0x942f70(0x248),new _0x5bb037(_0x3be97d[_0x942f70(0x261)])),(this[_0x942f70(0x1d3)]=_0x481c40,this[_0x942f70(0x358)]=_0x42206f,this[_0x942f70(0x2d1)]=_0x6cda11,this[_0x942f70(0x30e)]=_0x418b36,this[_0x942f70(0x1d4)]=_0x2ea310,this[_0x942f70(0x262)]=_0x5cb0ca,this['_messageService']=_0x1134d1,this[_0x942f70(0x3c0)]=_0x11b4f7,this['_initEntityListener']());}[_0x1acd05(0x1ea)](){const _0x18395d=_0x1acd05;this['disposeWithMe'](this[_0x18395d(0x358)][_0x18395d(0x227)][_0x18395d(0x385)](_0x4b06ef=>{const _0x50a7f5=_0x18395d,_0x30cfa0=this[_0x50a7f5(0x1d3)][_0x50a7f5(0x2b2)][_0x50a7f5(0x385)](_0x4edb39=>{const _0x4bdc91=_0x50a7f5;if(_0x4edb39==null)return;const {unitId:_0x5c92ee,redoState:_0x5141c1,commandId:_0x635513}=_0x4edb39;if(_0x5c92ee!==_0x4b06ef[_0x4bdc91(0x3a8)])return;const _0x44fbda={'id':_0x635513,'type':_0x37acca['MUTATION'],'params':{'unitId':_0x5c92ee,'actions':_0x5141c1[_0x4bdc91(0x1f8)],'textRanges':null}};_0x4b06ef[_0x4bdc91(0x212)](_0x44fbda);});if(_0x4b06ef[_0x50a7f5(0x388)](_0x30cfa0),_0x4b06ef instanceof _0x2bd935){const _0x807068={'onTransformIME':_0x443d94=>this[_0x50a7f5(0x2d1)][_0x50a7f5(0x28e)](_0x443d94),'onTransformState':_0x3bf696=>this[_0x50a7f5(0x30e)][_0x50a7f5(0x29d)](_0x3bf696),'onTransformSelections':_0x14c4d2=>this['_docTransformSelectionsService'][_0x50a7f5(0x3b4)](_0x14c4d2),'onSyncEditingCollabCursor':_0x45239a=>this[_0x50a7f5(0x262)][_0x50a7f5(0x326)](_0x45239a),'onTransformRemoteChangesetByIMECache':_0x1d5333=>this['_docTransformIMECacheService'][_0x50a7f5(0x27a)](_0x1d5333),'onTransformRemoteChangesetByStateCache':_0x536627=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x536627)};_0x4b06ef[_0x50a7f5(0x1ff)](_0x807068);}}));}};ae=cn([U(0x0,_0x5f021e(_0x145de9)),U(0x1,_0x5f021e(_0x353ace)),U(0x2,_0x5f021e(ne)),U(0x3,_0x5f021e(re)),U(0x4,_0x5f021e(oe)),U(0x5,_0x5f021e(He)),U(0x6,_0x7eeb49),U(0x7,_0x5f021e(_0x1b849e))],ae);var ln=Object[_0x1acd05(0x2f5)],_n=(_0x446009,_0x308569,_0x34441a,_0x5c7cf2)=>{const _0x1ddc5f=_0x1acd05;for(var _0x1c24f0=_0x5c7cf2>0x1?void 0x0:_0x5c7cf2?ln(_0x308569,_0x34441a):_0x308569,_0x258b87=_0x446009[_0x1ddc5f(0x263)]-0x1,_0x2b593d;_0x258b87>=0x0;_0x258b87--)(_0x2b593d=_0x446009[_0x258b87])&&(_0x1c24f0=_0x2b593d(_0x1c24f0)||_0x1c24f0);return _0x1c24f0;},Ee=(_0x18ec31,_0x2f9797)=>(_0x3ff142,_0x58d7d4)=>_0x2f9797(_0x3ff142,_0x58d7d4,_0x18ec31);let we=class extends _0x1e46f3{constructor(_0x4f49ad,_0x2723d6,_0x513c93){const _0x3d76b7=_0x1acd05;super(),_(this,'_cachedData',new Map()),_(this,_0x3d76b7(0x2b7),new Map()),_(this,'_disabled',!0x1),(this[_0x3d76b7(0x324)]=_0x4f49ad,this[_0x3d76b7(0x2a9)]=_0x2723d6,this['_revisionService']=_0x513c93);}[_0x1acd05(0x32c)](){const _0x100fee=_0x1acd05;this[_0x100fee(0x2a2)]=!0x0;}[_0x1acd05(0x21d)](){const _0x560a43=_0x1acd05;this[_0x560a43(0x2a2)]=!0x1;}get[_0x1acd05(0x2ad)](){const _0x329189=_0x1acd05;return this[_0x329189(0x2b7)];}[_0x1acd05(0x1ce)](){const _0x3edd2a=_0x1acd05;this['exhaustSavingTask']()[_0x3edd2a(0x24f)](()=>super['dispose']());}async[_0x1acd05(0x3cb)](_0xdf3fbd){const _0x582583=_0x1acd05;return this[_0x582583(0x2a2)]?null:this[_0x582583(0x2a9)][_0x582583(0x302)](_0x39d7de(_0xdf3fbd));}async[_0x1acd05(0x1e9)](_0x516669,_0xb8a611){const _0x71c9be=_0x1acd05;return!!this[_0x71c9be(0x2a9)][_0x71c9be(0x2f9)](_0x516669,_0xb8a611);}[_0x1acd05(0x230)](_0x4c581f,_0x3f2e4b,_0x585910,_0x3f4eb3){const _0x3992c5=_0x1acd05,_0x3d587e=this['_revisionService']['getCurrentRevOfUnit'](_0x4c581f);this[_0x3992c5(0x26f)][_0x3992c5(0x38e)](_0x4c581f,{'unitID':_0x4c581f,'type':_0x3f2e4b,'awaitingChangeset':_0x585910,'mutations':_0x3f4eb3,'rev':_0x3d587e}),this[_0x3992c5(0x2b7)][_0x3992c5(0x334)](_0x4c581f)||this[_0x3992c5(0x35a)](_0x4c581f);}[_0x1acd05(0x35a)](_0x4ceef2){const _0x3b376a=_0x1acd05,_0x40ee8e=this[_0x3b376a(0x1d8)]();_0x40ee8e===0x0?this[_0x3b376a(0x359)](_0x4ceef2):this['_saveTaskMap'][_0x3b376a(0x38e)](_0x4ceef2,setTimeout(()=>this[_0x3b376a(0x359)](_0x4ceef2),_0x40ee8e));}['_getSaveTimeout'](){const _0x246c43=_0x1acd05;var _0x401b7a;return(_0x401b7a=this[_0x246c43(0x324)]['getConfig'](_0xebb4))!=null?_0x401b7a:_0x51366b;}[_0x1acd05(0x359)](_0x582629){const _0x131945=_0x1acd05,_0x57f113=this[_0x131945(0x2b7)][_0x131945(0x307)](_0x582629);return _0x57f113!==void 0x0&&window[_0x131945(0x387)](_0x57f113),this[_0x131945(0x2a9)][_0x131945(0x2f9)](_0x39d7de(_0x582629),this['_cachedData']['get'](_0x582629))[_0x131945(0x24f)](()=>this[_0x131945(0x2b7)]['delete'](_0x582629));}async[_0x1acd05(0x20f)](){const _0x52ca37=_0x1acd05,_0x26d38a=[];this['_saveTaskMap'][_0x52ca37(0x34c)]((_0x114fe1,_0x256596)=>{const _0x1503ba=_0x52ca37;window['clearTimeout'](_0x114fe1),_0x26d38a[_0x1503ba(0x286)](this[_0x1503ba(0x359)](_0x256596)[_0x1503ba(0x24f)](()=>{const _0x56197b=_0x1503ba;this['_saveTaskMap'][_0x56197b(0x238)](_0x256596);}));}),await Promise[_0x52ca37(0x354)](_0x26d38a);}};we=_n([Ee(0x0,_0x1e1632),Ee(0x1,_0x40aebb),Ee(0x2,_0x5f021e(_0x858df0))],we);class hn extends _0x17991f{constructor(){const _0x231498=_0x1acd05;super(),_(this,_0x231498(0x340)),this['urlChange$']=_0x519b9a(window,_0x231498(0x303))[_0x231498(0x1cd)](_0x5eb4a6(this[_0x231498(0x363)]),_0x220147(0x1),_0x384f5f(void 0x0));}[_0x1acd05(0x270)](_0x228013,_0x409b49,_0x1473c9=!0x1){const _0x1fe250=_0x1acd05,_0x3912d8=new URL(window[_0x1fe250(0x280)][_0x1fe250(0x389)]);_0x3912d8[_0x1fe250(0x39f)][_0x1fe250(0x38e)](_0x228013,_0x409b49),_0x1473c9?window[_0x1fe250(0x3b5)][_0x1fe250(0x2bd)]('','',_0x3912d8[_0x1fe250(0x25d)]()):window[_0x1fe250(0x3b5)][_0x1fe250(0x223)]('','',_0x3912d8[_0x1fe250(0x25d)]());}['removeParam'](_0x490f81,_0x40aaf3=!0x1){const _0x321822=_0x1acd05,_0x7d266c=new URL(window[_0x321822(0x280)][_0x321822(0x389)]);_0x7d266c[_0x321822(0x39f)][_0x321822(0x238)](_0x490f81),_0x40aaf3?window['history'][_0x321822(0x2bd)]('','',_0x7d266c[_0x321822(0x25d)]()):window['history'][_0x321822(0x223)]('','',_0x7d266c['toString']());}[_0x1acd05(0x356)](_0x267507){const _0x2761b1=_0x1acd05;var _0x133f3b;return(_0x133f3b=new URL(window[_0x2761b1(0x280)][_0x2761b1(0x389)])['searchParams']['get'](_0x267507))!=null?_0x133f3b:void 0x0;}}var un=Object[_0x1acd05(0x220)],dn=Object[_0x1acd05(0x2f5)],fn=(_0x4a2637,_0x2add3e,_0x3ea6f7)=>_0x2add3e in _0x4a2637?un(_0x4a2637,_0x2add3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea6f7}):_0x4a2637[_0x2add3e]=_0x3ea6f7,Sn=(_0x494cae,_0x5c7be8,_0x48a53b,_0xa206c4)=>{for(var _0x3d4496=_0xa206c4>0x1?void 0x0:_0xa206c4?dn(_0x5c7be8,_0x48a53b):_0x5c7be8,_0x18e0c9=_0x494cae['length']-0x1,_0x143c78;_0x18e0c9>=0x0;_0x18e0c9--)(_0x143c78=_0x494cae[_0x18e0c9])&&(_0x3d4496=_0x143c78(_0x3d4496)||_0x3d4496);return _0x3d4496;},Oe=(_0x3332ff,_0x1d0a8a)=>(_0xac56aa,_0x2b7467)=>_0x1d0a8a(_0xac56aa,_0x2b7467,_0x3332ff),mn=(_0x18fd64,_0x39f68a,_0x373ccb)=>fn(_0x18fd64,_0x39f68a+'',_0x373ccb);function _0x3563(){const _0x4f1410=['sessionTicket','column','getCurrent','getCurrentSelections','_saveTaskMap','ONLINE','symbol','_uiPartsService','stringify','idSuffix','replaceState','8302140wfgCYl','_getSheetObject','addObject','extend','clipPath','values','UNIVER_DOC','getConfig','YUUMI_UNABLE_LOAD_URL','executeCommand','trim','_drawAnchor','search','CONNECTOR_DATA_TOO_LARGE','on-line-icon','_startDocCollabCursor','_injector','_memberService','propertyIsEnumerable','_docTransformIMECacheService','_anchorDot','0\x200\x2017\x2016','_backgroundColor','replace','onMouseMove','_document','body','prototype','attrs','_hovered','_collabSessionService','_updateLocalCursor','[CollaborationDataLoaderController]','_session','OffLineIcon','application/json','OnLineIcon','yellow.400','AWAITING_WITH_PENDING','hovered','_initResize','YUUMI_URL_COL_OUT_OF_RANGE','getOwnPropertySymbols','icon','_registerDependencies','INTERNAL_ERROR','_messageService','onPointerLeave$','collabCursorState$','isEditing','SOCKET_FAILED','_colorIndex','LICENSE_DISTRO_REJECTED','generateRandomId','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','defIds','_instanceService','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformByState','_labelPosition','_assignedColors','show','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','assignAColorForMemberID','_eventUnsubscribe','getItem','popstate','_hideTimer','collabStatus.conflict','evenodd','get','_ensureSubject','SYNCED','_updateCollabCursors','path','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformStateCacheService','Warning','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','arc','collaboration.single-unit.warning','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','div','registerComponent','#FFF','_toggleOffline','selection','_heartbeatTimer','RECT','getMemberID','createSocket','_cursorInfo$','_startSheetCollabCursor','INVALID_INVITE_CODE','size','getVpScrollXYInfoByPosToVp','_configService','height','syncEditingCollabCursor','assign','getMember','registerRenderModule','error','_scheduleClearOtherTimer','disableLocalCache','unshift','_sheetSkeletonManagerService','cursorInfo','colorChannel1','USER_NOT_INVITED_CODE','_entityInit$','onCommandExecuted','has','_cursors','tag','permission.title','_name','setUndoRedoMutationParamsCache','APPLY_DUPLICATED','_handleEvent','_entities','getCellPositionByOffset','_config','currentSkeleton$','urlChange$','setShapeProps','_univerInstanceService','_getSessionTicket','use','_getMergeRange','_updateURLWithCurrentState','isArray','EMAIL_VERIFY_CODE_MISMATCH','LOGIN_FAILED','bottom','currentTheme$','forEach','_send','_range','VIEW_MAIN','_docClipboardService','getValue','newValue','_selfUnitIDs','all','function','getParam','setInterval','_collaborationController','_saveCache','_scheduleSaving','ticket','beginPath','_init','_setupSubUnitSync','unload','_dataLoaderService','whenReady','measureText','dispose$','FromArray','MoveRangeCommandId','getSkeleton','_colorAssignService','_toggleOnline','UNAUTHENTICATED','storage','collaboration-client-ui.config','getDocRanges','makeDirty','className','_createSocketURL','TOO_MANY_REQUESTS','url(#$1','contains','undoState','flatMap','registerBeforeClose','OTHER_CLIENTS_EDITING','_scheduleHeartbeat','getUnitStatus$','roomMembers$','textRanges','_textBubble','UPDATE_CURSOR','/run/','_cursorShapes','event$','collabStatus.syncing','getTypeOfUnitDisposed$','YUUMI_RATE_OVER_LIMIT','uni.network.url-service','InsertColCommandId','subscribe','Error','clearTimeout','disposeWithMe','href','_handleJoinEvent','focused$','getRangePointData','_onRefRangeChange','set','CHANGESET_REVISION_CONFILICT','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','setConfig','_initEvent','5OMIYcP','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_getAnchorBounding','closePath','_transformPreviousActiveRange','fill','UNIVER_SHEET','collabStatus.notCollab','on-line-icon_clip0_910_349','purple.300','searchParams','onPointerEnter$','_shapes','skeleton','2445008MkFOgB','session.connection-failed','string','save','1369826nBNKxa','unitID','apply','univer-flex\x20univer-items-center','_handleLeaveEvent','InsertRowCommandId','_notificationService','type','ACTIVE_UNIT_EVENT_CHANNEL','addEventListener','2040294qqtrXh','transformMutation','SOCKET_FAILED_RETRY','transformSelections','history','rgba(255,\x20255,\x20255,\x200.01)','setAlpha','mutations','_themeService','onPointerMove$','origin','off-line-icon_clip0_910_343','YUUMI_TABLE_NOT_FOUND_IN_UNIT','AWAITING','children','_localeService','drawWith','_beforeCloseService','HEADER_MENU','COMPLETION_FINISHED','_httpService','_render','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','loadOfflineData','random','EMAIL_HAS_BEEN_BOUND','currentColor','ENSURE_SNAPSHOT_EXECUTION','_renderManagerService','YUUMI_AI_RUN_FAILED','collab-client.tooltip.reconnect','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','getActiveSheet','_unitOnClients','collab-text-range-','engine','4006009aNnAsC','pipe','dispose','includes','color','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_docTransformSelectionsService','subscribeEvent','url(#off-line-icon_clip0_910_343)','_handleHover','_getSaveTimeout','from','univerjs-icon\x20univerjs-icon-','collabStatus.fetchMiss','split','_scene','UNRECOGNIZED','xlink:href','INVITE_CODE_HAS_BEEN_UES','DeleteRangeMoveUpCommandId','endColumn','triggerDblclick','_refRangeService','displayName','CLOSE_ROOM','none','hasOwnProperty','saveOfflineData','_initEntityListener','_getScale','backgroundColor','init','setActiveRange','m1Prime','eventID','send','_initStatusListener','InsertRangeMoveRightCommandId','_id','_localCacheService','isActive','with','actions','PERMISSION_DENIED','_color','getStateCache','APPLY_REVISION_CONFILICT','getUnitId','row','addHandlerCallback','M0\x200H16V16H0z','hide','next','_transformHistoryAndStateStack','doc.mutation.rich-text-editing','fillRule','substring','url(#on-line-icon_clip0_910_349)','_removeClearOtherTimer','_anchor','_transformService','SUBMIT_CHANGESET_TIMEOUT','_online','_collabCursorController','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','exhaustSavingTask','_onCursorUpdate','unsubscribe','onLocalMutation','moveTo','_setupBeforeClosingHandler','_initCommandExecutedListener','YUUMI_ALL_TABLES_IS_INVALID','svg','1730952BtOMHu','APPLY_REJECT','range','collabStatus.offline','_transformUndoRedoStack','enableLocalCache','name','params','defineProperty','USERS_LEAVE','complete','pushState','1wNJiKO','top','_unitStatus','entityInit$','entries','red.300','fillText','_drawTextRange','font','indexOf','UNDEFINED','MOBILE_HAS_BEEN_BOUND','updateOfflineData','white','NO_OTHER_CLIENTS_EDITING','roomMembers','result','_imageIoService','sessionStatus$','loadUnit','delete','_hover','restore','_lastPointer','getFocusedUnit','deepClone','1em','onTransformChange$','_logService','post','off-line-icon','runId','getTypeOfUnitAdded$','getCollabEntity$','wsSessionTicketUrl','startColumn','_status$','imageSourceType','getOffsetConfig','add','data','subUnitId','clearInterval','then','APPLY_PERMISSION_DENIED','createInstance','getViewport','invokeId','YUUMI_ASYNCIO_CANCELLED','_draw','call','_removeCollabCursors','_commandService','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','m2Prime','_collaborationUIEventService','toString','getMergeData','FETCH_MISS','Failed','NOT_COLLAB','_docSyncEditingCollabCursorService','length','CONFLICT','ALREADY_EXISTS','_drawRectRange','mask','setTimeout','2211570fiFddQ','findNodePositionByCharIndex','_syncEditingCollabCursorService','editingUnit','_handleHeartbeatEvent','getSheetBySheetId','_cachedData','setParam','unit','key','getRenderById','width','min','_refreshCollabCursors','ranges','_registerRenderDependencies','cursorInfo$','transformRemoteChangeset','_collabCursorState$','asObservable','APPLY_NON_SEQUENTIAL_REVISION','subunit','onStarting','location','_urlService','black','INVALID_ARGUMENT','permission.content','defs','push','getCollabCursors$','RemoveColCommandId','round','memberID','OFFLINE','collabStatus.synced','JOIN_ROOM_FAILED','transformIMECache','lineTo','WECHAT_HAS_BEEN_BOUND','getCurrentUnitForType','_updateSubUnitFromURLParams','unitId','_clearOtherTimers','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','_cursor','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillStyle','NOT_FOUND','_initDependencies','transformStateCache','_onCursorDelete','toRgbString','requireSession','addClipboardHook','_disabled','concat','_context','_docSkeletonManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','INVITE_CODE_REQUIRED','TEXT','_localStorageService','registerRefRange','endRow','...','saveTaskMap','getAncestorScale','green.600','getColorFromTheme','map','docStateChange$'];_0x3563=function(){return _0x4f1410;};return _0x3563();}const In=_0x1acd05(0x20e);let Ae=class extends _0x27aa42{constructor(_0x2923e4=et,_0x598f29,_0x32803e,_0x10e6a4){const _0x216a9e=_0x1acd05;super(),this[_0x216a9e(0x33e)]=_0x2923e4,this[_0x216a9e(0x3d0)]=_0x598f29,this['_injector']=_0x32803e,this['_configService']=_0x10e6a4;const {..._0x11cf69}=_0x68f404({},et,this[_0x216a9e(0x33e)]);this['_configService'][_0x216a9e(0x391)](Zi,_0x11cf69);}[_0x1acd05(0x27f)](){const _0x265e2e=_0x1acd05;this[_0x265e2e(0x2ea)](),this[_0x265e2e(0x29c)]();}['onRendered'](){const _0x28ce1f=_0x1acd05;this[_0x28ce1f(0x278)]();}[_0x1acd05(0x2ea)](){const _0x5f4b36=_0x1acd05;var _0x5e377b;const _0x1e7d28=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4dcec0,{'useClass':_0xd27793}],[_0x22d609,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x60982f(this[_0x5f4b36(0x2ce)],_0x1a7a13(_0x1e7d28,(_0x5e377b=this[_0x5f4b36(0x33e)])==null?void 0x0:_0x5e377b['override']));}['_registerRenderDependencies'](){const _0x55dba8=_0x1acd05;this[_0x55dba8(0x388)](this[_0x55dba8(0x3d0)]['registerRenderModule'](_0x1f91f1[_0x55dba8(0x2c4)],[Le])),this[_0x55dba8(0x388)](this['_renderManagerService'][_0x55dba8(0x329)](_0x1f91f1['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x2e5f1e=_0x1acd05;_0x6a9e0a(this[_0x2e5f1e(0x2ce)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x491017(_0x518949),Oe(0x1,_0x22a42b),Oe(0x2,_0x5f021e(_0x4f83c1)),Oe(0x3,_0x1e1632)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4e8ece,_0x53549a,_0x377e2b,_0x3df3c2)=>{for(var _0x158632=_0x3df3c2>0x1?void 0x0:_0x3df3c2?gn(_0x53549a,_0x377e2b):_0x53549a,_0x366481=_0x4e8ece['length']-0x1,_0x118e22;_0x366481>=0x0;_0x366481--)(_0x118e22=_0x4e8ece[_0x366481])&&(_0x158632=_0x118e22(_0x158632)||_0x158632);return _0x158632;},K=(_0x4bd959,_0x37d02f)=>(_0x470aae,_0x362011)=>_0x37d02f(_0x470aae,_0x362011,_0x4bd959);let st=class extends _0x54c42f{constructor(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4){super(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4);}async[_0x1acd05(0x31e)](_0x37096e){const _0x3891bc=_0x1acd05,_0x1f6947=await this[_0x3891bc(0x343)](),_0x45f6fb=this[_0x3891bc(0x36f)](_0x37096e,_0x1f6947);return this['_doCreateSocket'](_0x45f6fb);}[_0x1acd05(0x36f)](_0x2d0d7b,_0x43e4dc){const _0x4efdda=_0x1acd05,_0x2964a6=typeof window>'u'?new URL(_0x2d0d7b):new URL(_0x2d0d7b,window['location'][_0x4efdda(0x3bb)]);_0x2964a6[_0x4efdda(0x39f)]['set'](_0x4efdda(0x2b3),_0x43e4dc);const _0x61db6b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4efdda(0x280)][_0x4efdda(0x2ca)]);return _0x61db6b['get'](_0x4efdda(0x243))&&_0x2964a6[_0x4efdda(0x39f)]['set']('runId',_0x61db6b[_0x4efdda(0x307)]('runId')),_0x2964a6[_0x4efdda(0x25d)]();}async[_0x1acd05(0x343)](){const _0x4912b1=_0x1acd05;var _0x51d567,_0x49851e,_0x2f2952;const _0x375032=this['_configService'][_0x4912b1(0x2c5)](_0x122295),_0x29b2de=(_0x51d567=_0x375032==null?void 0x0:_0x375032[_0x4912b1(0x246)])!=null?_0x51d567:_0x32d98e;return(_0x2f2952=(_0x49851e=(await this['_httpService'][_0x4912b1(0x307)](_0x29b2de,{'headers':{'Content-Type':_0x4912b1(0x2e1)}}))[_0x4912b1(0x2d8)])==null?void 0x0:_0x49851e[_0x4912b1(0x35b)])!=null?_0x2f2952:'';}};st=vn([K(0x0,_0x5f021e(_0x4f83c1)),K(0x1,_0x5f021e(_0x4283b1)),K(0x2,_0x1e1632),K(0x3,_0x3ede55),K(0x4,_0x148f97)],st);const it=0x7530,nt=_0x1acd05(0x3af);class Fn extends _0x1e46f3{constructor(){const _0x500e59=_0x1acd05;super(),_(this,_0x500e59(0x1f4),_0x211b4d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x500e59(0x3d6),new Map()),_(this,_0x500e59(0x31b),null),_(this,_0x500e59(0x294),new Map()),_(this,_0x500e59(0x226),new Map()),this[_0x500e59(0x35d)]();}[_0x1acd05(0x1ce)](){const _0x3316e3=_0x1acd05;super['dispose'](),this[_0x3316e3(0x294)][_0x3316e3(0x34c)]((_0x24e9fc,_0x10c5bf)=>this['_removeClearOtherTimer'](_0x10c5bf)),this[_0x3316e3(0x31b)]&&window[_0x3316e3(0x24e)](this[_0x3316e3(0x31b)]);}[_0x1acd05(0x378)](_0x4dfe92){const _0xec3df3=_0x1acd05;return this[_0xec3df3(0x308)](_0x4dfe92)[_0xec3df3(0x1cd)](_0x412588());}[_0x1acd05(0x26c)](_0x142ea4){const _0x14a767=_0x1acd05;this[_0x14a767(0x353)][_0x14a767(0x322)]===0x0&&this[_0x14a767(0x377)](),this['_selfUnitIDs'][_0x14a767(0x24b)](_0x142ea4),this[_0x14a767(0x34d)]({'type':0x0,'memberID':this[_0x14a767(0x1f4)],'unitIDs':[_0x142ea4],'isForwarded':!0x1});}[_0x1acd05(0x3ca)](_0x327c5d){const _0x44ca5d=_0x1acd05;this[_0x44ca5d(0x353)][_0x44ca5d(0x238)](_0x327c5d),this[_0x44ca5d(0x353)][_0x44ca5d(0x322)]===0x0&&this[_0x44ca5d(0x31b)]&&window[_0x44ca5d(0x24e)](this['_heartbeatTimer']);}['_init'](){const _0x7abfe6=_0x1acd05;this[_0x7abfe6(0x388)](_0x527068(_0x519b9a(window,_0x7abfe6(0x36a))[_0x7abfe6(0x385)](_0x3e7df0=>{const _0x285a2a=_0x7abfe6;if(_0x3e7df0[_0x285a2a(0x272)]!==nt||!_0x3e7df0['newValue'])return;const _0x141add=JSON['parse'](_0x3e7df0[_0x285a2a(0x352)]);this[_0x285a2a(0x33b)](_0x141add);}))),window[_0x7abfe6(0x3b0)](_0x7abfe6(0x35f),()=>this[_0x7abfe6(0x34d)]({'type':0x1,'memberID':this[_0x7abfe6(0x1f4)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1acd05(0x33b)](_0x5421cf){const _0x44c949=_0x1acd05;switch(_0x5421cf[_0x44c949(0x3ae)]){case 0x0:this['_handleJoinEvent'](_0x5421cf);break;case 0x1:this[_0x44c949(0x3ab)](_0x5421cf);break;case 0x2:this['_handleHeartbeatEvent'](_0x5421cf);break;}}[_0x1acd05(0x38a)](_0x281774){const _0x443963=_0x1acd05,{unitIDs:_0x55896b,memberID:_0x443ff0,isForwarded:_0x4aa35d}=_0x281774;_0x55896b[_0x443963(0x34c)](_0x26d4fb=>{const _0x58f7f8=_0x443963;if(!_0x4aa35d&&this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)&&this['_ensureSubject'](_0x26d4fb)[_0x58f7f8(0x202)](_0xf3aa6c[_0x58f7f8(0x376)]),!this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)||!this['_unitOnClients']['get'](_0x26d4fb)[_0x58f7f8(0x334)](_0x443ff0)){const _0x1efaa2=this[_0x58f7f8(0x3d6)][_0x58f7f8(0x307)](_0x26d4fb)||new Set();_0x1efaa2[_0x58f7f8(0x24b)](_0x443ff0),this[_0x58f7f8(0x3d6)][_0x58f7f8(0x38e)](_0x26d4fb,_0x1efaa2),this[_0x58f7f8(0x32b)](_0x443ff0);}}),_0x4aa35d||this[_0x443963(0x34d)]({'type':0x0,'memberID':this[_0x443963(0x1f4)],'unitIDs':[...this[_0x443963(0x353)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5af3df){const _0x149975=_0x1acd05;this[_0x149975(0x208)](_0x5af3df);const _0x5cb666=window[_0x149975(0x268)](()=>{const _0x866899=_0x149975;this[_0x866899(0x3d6)]['forEach'](_0x30efdc=>{_0x30efdc['delete'](_0x5af3df);});},it*0x2);this['_clearOtherTimers'][_0x149975(0x38e)](_0x5af3df,_0x5cb666);}['_removeClearOtherTimer'](_0x31355a){const _0x5749b1=_0x1acd05;if(this[_0x5749b1(0x294)][_0x5749b1(0x334)](_0x31355a)){const _0x508240=this[_0x5749b1(0x294)]['get'](_0x31355a);_0x508240&&window[_0x5749b1(0x387)](_0x508240),this[_0x5749b1(0x294)][_0x5749b1(0x38e)](_0x31355a,null);}}[_0x1acd05(0x3ab)](_0x52bc5d){const _0x4345e6=_0x1acd05,{memberID:_0x11cd47,unitIDs:_0x3219ce}=_0x52bc5d;_0x3219ce[_0x4345e6(0x34c)](_0xd70b5a=>{const _0x5c68d7=_0x4345e6;var _0x5edbe0;const _0x281499=this['_unitOnClients'][_0x5c68d7(0x307)](_0xd70b5a);_0x281499&&(_0x281499[_0x5c68d7(0x238)](_0x11cd47),(_0x5edbe0=this[_0x5c68d7(0x308)](_0xd70b5a))==null||_0x5edbe0['next'](_0x281499[_0x5c68d7(0x322)]===0x0?_0xf3aa6c['NO_OTHER_CLIENTS_EDITING']:_0xf3aa6c[_0x5c68d7(0x376)]));}),this['_removeClearOtherTimer'](_0x11cd47);}[_0x1acd05(0x26d)](_0x2e617e){const _0x4c6cd0=_0x1acd05;this[_0x4c6cd0(0x32b)](_0x2e617e[_0x4c6cd0(0x28a)]);}['_send'](_0x11541e){const _0x2f263d=_0x1acd05;localStorage[_0x2f263d(0x2f9)](nt,JSON[_0x2f263d(0x2bb)](_0x11541e));}[_0x1acd05(0x377)](){const _0x52e2ef=_0x1acd05;this[_0x52e2ef(0x31b)]=window[_0x52e2ef(0x357)](()=>{const _0x2eac4d=_0x52e2ef;this[_0x2eac4d(0x34d)]({'type':0x2,'memberID':this[_0x2eac4d(0x1f4)]});},it);}['_ensureSubject'](_0x3c889b){const _0x37bd08=_0x1acd05;return this[_0x37bd08(0x226)][_0x37bd08(0x334)](_0x3c889b)||this[_0x37bd08(0x226)][_0x37bd08(0x38e)](_0x3c889b,new _0x5bb037(_0xf3aa6c[_0x37bd08(0x232)])),this[_0x37bd08(0x226)][_0x37bd08(0x307)](_0x3c889b);}}var Mt=(_0x3d3cee=>(_0x3d3cee[_0x3d3cee[_0x1acd05(0x22e)]=0x0]=_0x1acd05(0x22e),_0x3d3cee[_0x3d3cee['OK']=0x1]='OK',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2eb)]=0x2]=_0x1acd05(0x2eb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1f9)]=0x3]=_0x1acd05(0x1f9),_0x3d3cee[_0x3d3cee[_0x1acd05(0x29b)]=0x4]=_0x1acd05(0x29b),_0x3d3cee[_0x3d3cee[_0x1acd05(0x369)]=0x5]=_0x1acd05(0x369),_0x3d3cee[_0x3d3cee['ALREADY_EXISTS']=0x6]=_0x1acd05(0x265),_0x3d3cee[_0x3d3cee['INVALID_ARGUMENT']=0x7]=_0x1acd05(0x283),_0x3d3cee[_0x3d3cee[_0x1acd05(0x370)]=0x8]=_0x1acd05(0x370),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c4)]=0x9]=_0x1acd05(0x3c4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x349)]=0xa]=_0x1acd05(0x349),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3d3cee[_0x3d3cee[_0x1acd05(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1acd05(0x348),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2fa)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x38f)]=0x1389]=_0x1acd05(0x38f),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3d3cee[_0x3d3cee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1acd05(0x311),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cf)]=0x1773]=_0x1acd05(0x3cf),_0x3d3cee[_0x3d3cee[_0x1acd05(0x219)]=0x1b59]='APPLY_REJECT',_0x3d3cee[_0x3d3cee[_0x1acd05(0x27d)]=0x1b5a]=_0x1acd05(0x27d),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1fc)]=0x1b5b]=_0x1acd05(0x1fc),_0x3d3cee[_0x3d3cee[_0x1acd05(0x250)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x33a)]=0x1b5d]=_0x1acd05(0x33a),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2cb)]=0x1f41]=_0x1acd05(0x2cb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d4)]=0x2329]=_0x1acd05(0x3d4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d2)]=0x232b]=_0x1acd05(0x1d2),_0x3d3cee[_0x3d3cee[_0x1acd05(0x259)]=0x232c]=_0x1acd05(0x259),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d3cee[_0x3d3cee['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1acd05(0x2c6),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2e7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x382)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3d3cee[_0x3d3cee['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x295)]=0x271a]=_0x1acd05(0x295),_0x3d3cee[_0x3d3cee[_0x1acd05(0x254)]=0x271b]=_0x1acd05(0x254),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3bd)]=0x271c]=_0x1acd05(0x3bd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x216)]=0x271d]=_0x1acd05(0x216),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d1)]=0x271e]=_0x1acd05(0x1d1),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d1)]=0x271f]=_0x1acd05(0x3d1),_0x3d3cee[_0x3d3cee['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1acd05(0x3c8),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c9)]=0x2af9]=_0x1acd05(0x3c9),_0x3d3cee[_0x3d3cee['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1acd05(0x1e0),_0x3d3cee[_0x3d3cee[_0x1acd05(0x321)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2a7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3d3cee[_0x3d3cee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1acd05(0x331),_0x3d3cee[_0x3d3cee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x290)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x22f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cd)]=0x32cb]=_0x1acd05(0x3cd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1de)]=-0x1]=_0x1acd05(0x1de),_0x3d3cee))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2c2e92,_0x41fb43,_0x86b3c4,_0x245de3)=>{const _0x57b656=_0x1acd05;for(var _0x54b2c1=_0x245de3>0x1?void 0x0:_0x245de3?pn(_0x41fb43,_0x86b3c4):_0x41fb43,_0x4bc39a=_0x2c2e92[_0x57b656(0x263)]-0x1,_0x4852b4;_0x4bc39a>=0x0;_0x4bc39a--)(_0x4852b4=_0x2c2e92[_0x4bc39a])&&(_0x54b2c1=_0x4852b4(_0x54b2c1)||_0x54b2c1);return _0x54b2c1;},be=(_0x2a3802,_0xd315be)=>(_0xdc0c57,_0x4c4adb)=>_0xd315be(_0xdc0c57,_0x4c4adb,_0x2a3802);let rt=class extends _0x1e46f3{constructor(_0x15c4e0,_0x24ce6b,_0x650649){const _0x323812=_0x1acd05;super(),this[_0x323812(0x2f8)]=_0x15c4e0,this[_0x323812(0x3c5)]=_0x24ce6b,this[_0x323812(0x324)]=_0x650649;}async['runOnServer'](_0x5a890f,_0x5087f9,_0x587ba7,..._0x18dabb){const _0x772733=_0x1acd05;var _0x290935,_0x5b5d35,_0x53beec,_0x4cf9c1;const _0x56ba77=this[_0x772733(0x2f8)][_0x772733(0x23c)]();if(!_0x56ba77)throw new Error(_0x772733(0x394));const _0x1d9edf=((_0x290935=this[_0x772733(0x324)][_0x772733(0x2c5)](_0x2398af))!=null?_0x290935:_0x3f0e80)+'/'+_0x5a890f+_0x772733(0x37d)+_0x5087f9,_0x4d1cd7=new URL(window[_0x772733(0x280)][_0x772733(0x389)]),_0x32dfd8={'scriptId':_0x5a890f,'runId':(_0x5b5d35=_0x4d1cd7[_0x772733(0x39f)][_0x772733(0x307)]('runId'))!=null?_0x5b5d35:'','function':_0x5087f9,'unitId':_0x56ba77[_0x772733(0x1fd)](),'argsOfFunction':JSON[_0x772733(0x2bb)](_0x18dabb),'invokeId':(_0x53beec=_0x587ba7[_0x772733(0x253)])!=null?_0x53beec:'','executionId':(_0x4cf9c1=_0x587ba7['executionId'])!=null?_0x4cf9c1:''};try{const _0xa005b3=await this[_0x772733(0x3c5)][_0x772733(0x241)](_0x1d9edf,{'body':_0x32dfd8});return _0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]&&_0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]['code']!==Mt['OK']?_0x772733(0x260):_0xa005b3['body'][_0x772733(0x234)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x48e36a),be(0x1,_0x5f021e(_0x4283b1)),be(0x2,_0x1e1632)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x204474=_0x5213;(function(_0x2d79a5,_0x530a03){const _0x35e62c=_0x5213,_0x256e07=_0x2d79a5();while(!![]){try{const _0x411393=-parseInt(_0x35e62c(0x191))/0x1*(parseInt(_0x35e62c(0x2b2))/0x2)+parseInt(_0x35e62c(0x162))/0x3*(-parseInt(_0x35e62c(0x14c))/0x4)+-parseInt(_0x35e62c(0x1a8))/0x5+-parseInt(_0x35e62c(0x146))/0x6+parseInt(_0x35e62c(0x299))/0x7+parseInt(_0x35e62c(0x13d))/0x8*(-parseInt(_0x35e62c(0x24e))/0x9)+parseInt(_0x35e62c(0x1fe))/0xa;if(_0x411393===_0x530a03)break;else _0x256e07['push'](_0x256e07['shift']());}catch(_0x710031){_0x256e07['push'](_0x256e07['shift']());}}}(_0x1439,0x5882b));var $t=Object[_0x204474(0x1c9)],xt=(_0x412528,_0x9c64a0,_0x1bd23d)=>_0x9c64a0 in _0x412528?$t(_0x412528,_0x9c64a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bd23d}):_0x412528[_0x9c64a0]=_0x1bd23d,_=(_0x32e52a,_0x4858c1,_0x10f616)=>xt(_0x32e52a,typeof _0x4858c1!='symbol'?_0x4858c1+'':_0x4858c1,_0x10f616);import{MemberService as _0x17d03e,SessionStatus as _0x43c957,CollaborationSessionService as _0x3b3c70,CollaborationStatus as _0x1f5461,CollaborationController as _0x46734f,ILocalCacheService as _0x1ee374,CollaborationUIEventService as _0x25f36d,CollaborationUIEventId as _0x168a89,DataLoaderService as _0x28bc42,DocCollaborationEntity as _0x48e509,getLocalCacheKey as _0x3b0d41,LOCAL_CACHE_INTERVAL as _0x17b384,LOCAL_CACHE_INTERVAL_KEY as _0x35f443,UniverCollaborationClientPlugin as _0x397677,CollaborationSocketService as _0x486580,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4ec13a,DEFAULT_WS_SESSION_TICKET_URL as _0x1b8d39,UnitStatus as _0x421f8d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xb6ac21,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1e81c3}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x50ac14,Disposable as _0x2913ee,DOC_RANGE_TYPE as _0x3f9f2d,Inject as _0x3b5dda,Injector as _0x3ff8dd,IUniverInstanceService as _0x454f61,ICommandService as _0x18b56e,debounce as _0x2f6b09,Rectangle as _0x5c3c6f,DisposableCollection as _0x3c25d8,toDisposable as _0x4be3ad,UniverInstanceType as _0xc26137,Tools as _0x1b22d2,COLORS as _0x5c9650,ColorKit as _0x20204b,ThemeService as _0x2d3340,fromEventSubject as _0x12b26f,LocaleService as _0x474dfa,createIdentifier as _0x17f822,ILogService as _0x394cd6,Optional as _0x3d4faf,Workbook as _0x44fe7d,CommandType as _0x19e99a,IConfigService as _0x5dad6a,ILocalStorageService as _0x557636,DependentOn as _0x1e9134,Plugin as _0x5d5ea7,merge as _0x283a20,registerDependencies as _0x336998,mergeOverrideWithDependencies as _0x503f56,touchDependencies as _0x189576,generateRandomId as _0x3768bc}from'@univerjs/core';import{Shape as _0xa02e3f,Rect as _0x1ac583,getColor as _0x5411e8,RegularPolygon as _0x3bdf86,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5e88d9,Vector2 as _0x464c78,SHEET_VIEWPORT_KEY as _0x1f2151,IRenderManagerService as _0x2cb401}from'@univerjs/engine-render';import{ISocketService as _0x32e256,WebSocketService as _0x31803d,HTTPService as _0x5706ab}from'@univerjs/network';import{IDocClipboardService as _0x36e0dd,NodePositionConvertToCursor as _0x3df8f7,NodePositionConvertToRectRange as _0x4fc4f4,TEXT_RANGE_LAYER_INDEX as _0xbc7326,SetDocZoomRatioOperation as _0xe4738b,DocIMEInputManagerService as _0x17fbae,DocStateChangeManagerService as _0xd7d387}from'@univerjs/docs-ui';import{IImageIoService as _0x160ad7}from'@univerjs/drawing';import{BehaviorSubject as _0x10b606,debounceTime as _0x2bebcd,takeUntil as _0x1708d9,Subject as _0x19602d,filter as _0x40d717,switchMap as _0x206773,merge as _0x45339b,combineLatest as _0xd409f,of as _0xb7126,fromEvent as _0x1d5ac3,shareReplay as _0x1d380a,mapTo as _0xffd4ea,distinctUntilChanged as _0x1c464d}from'rxjs';import{ITransformService as _0x43fa09,CollaborationEvent as _0x464b76,isTransformMutationFailure as _0x353d8c,isTransformMutationsWithChangesetSuccess as _0xe01674,RevisionService as _0x265d5c,ISnapshotServerService as _0x33eac2}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3828ff,RichTextEditingMutation as _0xd48d86,DocSelectionManagerService as _0x209356,DocSkeletonManagerService as _0x24838b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5a2fd1,serializeRangeWithSheet as _0x586728}from'@univerjs/engine-formula';import{RefRangeService as _0x45750e,SetSelectionsOperation as _0x478550,SheetsSelectionsService as _0x50bfd4,EffectRefRangId as _0x5acf29,handleIRemoveRow as _0x538a13,handleIRemoveCol as _0x2ab5c4,handleMoveRange as _0x3fcda7,handleInsertRow as _0x3eb5d8,handleInsertRangeMoveRight as _0x2ed7a2,handleInsertRangeMoveDown as _0x33eb95,handleInsertCol as _0x4e6750,handleDeleteRangeMoveUp as _0x2f957a,handleDeleteRangeMoveLeft as _0x5dabec,runRefRangeMutations as _0x1a89c5,SetWorksheetActivateCommand as _0x279503}from'@univerjs/sheets';import{map as _0x342617,filter as _0x29a11b,throttleTime as _0x33413b,takeUntil as _0x4288eb,switchMap as _0x594427}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2b49dd,getCoordByCell as _0x39de4d,getSheetObject as _0x48cf74}from'@univerjs/sheets-ui';import{jsx as _0x7cacd7,jsxs as _0x9022de}from'react/jsx-runtime';import{useObservable as _0x273e8,useDependency as _0x367f3f,IUIPartsService as _0x11c0ba,BuiltInUIPart as _0x589be7,connectInjector as _0xbe971e,IBeforeCloseService as _0x100b40,IMessageService as _0x59af27,INotificationService as _0x25f805}from'@univerjs/ui';import{Tooltip as _0x137483,clsx as _0x1be6b4,MessageType as _0x1f7332}from'@univerjs/design';import{forwardRef as _0x29dd7f,useRef as _0x2aee69,createElement as _0x44e4ee,useCallback as _0x42e237}from'react';import{IRemoteInstanceService as _0x30d406}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1d8d88,_0x4a72e,_0x5a0af4,_0x2479cc)=>{const _0x23d059=_0x204474;for(var _0x1c2b8f=_0x2479cc>0x1?void 0x0:_0x2479cc?ci(_0x4a72e,_0x5a0af4):_0x4a72e,_0x53ec44=_0x1d8d88[_0x23d059(0x2d6)]-0x1,_0x85ce48;_0x53ec44>=0x0;_0x53ec44--)(_0x85ce48=_0x1d8d88[_0x53ec44])&&(_0x1c2b8f=_0x85ce48(_0x1c2b8f)||_0x1c2b8f);return _0x1c2b8f;},Je=(_0x5e108,_0x12109a)=>(_0x8fd8cf,_0x50a5d5)=>_0x12109a(_0x8fd8cf,_0x50a5d5,_0x5e108);function _0x1439(){const _0x546fdf=['1em','all','_status$','transformMutationsWithChangeset','INVALID_INVITE_CODE','_updateSubUnitFromURLParams','_document','concat','pluginName','engine','ACTIVE_UNIT_EVENT_CHANNEL','getCurrentRevOfUnit','_beforeCloseService','startRow','InsertColCommandId','icon','_saveCache','_backgroundColor','string','0\x200\x2016\x2016','SOCKET_FAILED','pushState','collabStatus.notCollab','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNAUTHENTICATED','green.600','prototype','_collaborationController','tag','pipe','_httpService','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','OnLineIcon','_instanceService','_handleHover','isArray','init','collab-rect-range-','selection','transformSelections','toRgbString','getUnitStatus$','806760JmbpCA','error','_drawTextRange','_docSyncEditingCollabCursorService','moveTo','InsertRangeMoveRightCommandId','getParam','SUBMIT_CHANGESET_TIMEOUT','hovered','4306530eecIDb','_entities','setInterval','getConfig','docStateChange$','extend','27364TZrcwA','UNDEFINED','APPLY_REJECT','onTransformChange$','jiqing.500','_docClipboardService','reconnect','svg','_entityInit$','_render','get','_textBubble','resize','collab-client.tooltip.reconnect','propertyIsEnumerable','_cursors','YUUMI_UNABLE_LOAD_URL','CHANGESET_REVISION_CONFILICT','_toggleOffline','registerRefRange','getCollabEntity$','[CollaborationDataLoaderController]','291QedcVH','setAlpha','div','transform','INVALID_ARGUMENT','_setupBeforeClosingHandler','add','disposeWithMe','INVITE_CODE_REQUIRED','getDocRanges','onCommandExecuted','onStarting','PERMISSION_DENIED','M0\x200H16V16H0z','_docSkeleton','MOBILE_VERIFY_CODE_MISMATCH','data','assignAColorForMemberID','url(#off-line-icon_clip0_910_343)','FromArray','onPointerLeave$','registerBeforeClose','currentColor','getCollabCursors$','code','uni.network.url-service','_transformHistoryAndStateStack','_id','_range','split','substring','#FFF','_localStorageService','LICENSE_MAX_UNITS_EXCEEDED','subUnitId','cursorInfo$','Error','permission.title','_getSessionTicket','addHandlerCallback','transformMutation','function','off-line-icon','deepClone','getViewport','Unknown\x20user','transformStateCache','191725xaROOo','_syncEditingCollabCursorService','getOwnPropertyDescriptor','ONLINE','size','_logService','onPointerEnter$','_getSaveTimeout','_selfUnitIDs','Warning','createInstance','_scheduleSaving','_removeCollabCursors','makeDirty','stringify','session.connection-failed','_updateURLWithCurrentState','addObject','univerjs-icon\x20univerjs-icon-','collaboration-client.offline-data-not-saved','xlink:href','PENDING','_color','646660wxgbeE','subunit','getRenderById','CONFLICT','getFocusedUnit','MOBILE_HAS_BEEN_BOUND','collabStatus.offline','...','OFFLINE','getMemberID','_startSheetCollabCursor','_saveTaskMap','beginPath','url(#on-line-icon_clip0_910_349)','NO_OTHER_CLIENTS_EDITING','NOT_FOUND','setStateCache','YUUMI_ASYNCIO_CANCELLED','white','INTERNAL_ERROR','DeleteRangeMoveLeftCommandId','_startDocCollabCursor','CONNECTOR_DATA_TOO_LARGE','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','_transformUndoRedoStack','removeParam','application/json','unitID','defIds','http://www.w3.org/2000/svg','transformIMECache','redoState','m2Prime','defineProperty','getRangePointData','OffLineIcon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.collaboration-timeout','getUniverSheetInstance','FETCH_MISS','_sheetSkeletonManagerService','_getAnchorBounding','children','clearInterval','toString','sessionStatus$','getActiveSheet','_refRangeService','_unitStatus','undoState','updateOfflineData','on-line-icon_clip0_910_349','show','HEADER_MENU','getTypeOfUnitDisposed$','_draw','YUUMI_URL_COL_OUT_OF_RANGE','_urlService','saveTaskMap','_labelPosition','YUUMI_ALL_TABLES_IS_INVALID','editingUnit','_updateCollabCursors','YUUMI_SUBSCRIPTION_NOT_FOUND','_send','ranges','getUnhiddenWorksheets','_clearOtherTimers','USER_NOT_INVITED_CODE','subscribeEvent','InsertRowCommandId','_disabled','MUTATION','cursorInfo','set','_localCacheService','current','hide','column','startColumn','getCurrentSelections','mask','RemoveColCommandId','getUnitId','executionId','_collabCursorState$','22427450EToVWZ','replaceState','_docSkeletonManagerService','addClipboardHook','_unitOnClients','black','JOIN_ROOM_FAILED','displayName','_uiPartsService','ENSURE_SNAPSHOT_EXECUTION','name','unitId','_injector','enableLocalCache','RECT','getOwnPropertySymbols','off-line-icon_clip0_910_343','OTHER_CLIENT_EDITING','indexOf','getCurrentUnitForType','_renderManagerService','hasOwnProperty','collaboration.closeRoom','_initCommandExecutedListener','AWAITING_WITH_PENDING','UNIVER_SHEET','setUndoRedoMutationParamsCache','Failed','_anchor','forEach','_setupSubUnitSync','_messageService','saveOfflineData','_docTransformSelectionsService','_drawRectRange','skeleton','InsertRangeMoveDownCommandId','APPLY_PERMISSION_DENIED','_onCursorDelete','_toggleOnline','getVpScrollXYInfoByPosToVp','onRendered','addObjects','includes','_scheduleClearOtherTimer','_hideTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose$','getValue','none','defs','SOCKET_FAILED_RETRY','send','getOffsetConfig','restore','createSocket','clipPath','with','then','_handleLeaveEvent','COMPLETION_FINISHED','delete','_registerDependencies','use','MoveRangeCommandId','font','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','mutations','entityInit$','ALREADY_EXISTS','TEXT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initEvent','_scene','attrs','entries','INVITE_CODE_HAS_BEEN_UES','getUndoRedoMutationParamsCache','27Tbnjzj','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentSkeleton$','translate(.97)','_initEntityListener','urlChange$','loadOfflineData','complete','LICENSE_DISTRO_REJECTED','_roomMembers$','yellow.400','LOGIN_FAILED','_hover','type','min','NOT_COLLAB','exhaustSavingTask','CLOSE_ROOM','clearTimeout','_onCursorUpdate','onMouseMove','_doCreateSocket','isEditing','backgroundColor','getMember','fillStyle','replaceDocRanges','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleJoinEvent','_cursorInfo$','_cachedData','_initResize','text','_cursorShapes','red.300','push','blue.400','sheetID','_getMergeRange','from','colorChannel1','values','wsSessionTicketUrl','has','fill','registerComponent','event$','_anchorDot','getActiveRange','collab-text-anchor-','_createSocketURL','next','startsWith','LICENSE_IMPORT_SIZE_EXCEEDED','_transformService','_univerInstanceService','_dataLoaderService','contains','generateRandomId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getSheetBySheetId','href','collabStatus.syncing','drawWith','roomMembers','setShapeProps','isActive','height','params','_docTransformIMECacheService','_name','_heartbeatTimer','TOO_MANY_REQUESTS','triggerDblclick','UNRECOGNIZED','2215101FSFIgJ','_docStateChangeManagerService','unshift','doc.mutation.rich-text-editing','onLocalMutation','getStateCache','_shapes','/run/','findNodePositionByCharIndex','origin','arc','purple.300','bottom','APPLY_REVISION_CONFILICT','textRanges','DeleteRangeMoveUpCommandId','flatMap','_updateLocalCursor','history','_revisionService','fillText','post','asObservable','_commandService','_themeService','4aMAPLR','color','getColorFromTheme','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-items-center','UNIVER_DOC','_ensureSubject','_collabCursorController','_hovered','collabCursorState$','_colorAssignService','searchParams','sessionTicket','focused$','_transformPreviousActiveRange','EMAIL_VERIFY_CODE_MISMATCH','unit','top','roomMembers$','_eventUnsubscribe','AWAITING','ticket','_collaborationUIEventService','on-line-icon','collab-text-range-','_initDependencies','override','location','SNAPSHOT_HAS_BEEN_REMOVED','round','addEventListener','_registerRenderDependencies','_lastPointer','_removeClearOtherTimer','debug','assign','length','invokeId','0\x200\x2017\x2016','_online','dispose','session.will-retry','YUUMI_NO_CUBOID_FOR_QUESTION','_handleHeartbeatEvent','subscribe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_config','storage','map','_context','syncEditingCollabCursor','_configService','_notificationService','setItem','PY_RUNTIME_SCRIPT_ERROR','whenReady','measureText','path','idSuffix','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','rgba(255,\x20255,\x20255,\x200.01)','evenodd','_localeService','find','requireSession','lineTo','_session','onPointerMove$','VIEW_MAIN','save','setActiveRange','EMAIL_HAS_BEEN_BOUND','getMergeData','source','_refreshCollabCursors','body','m1Prime','_onRefRangeChange','_colorIndex','popstate','_cursor','WECHAT_HAS_BEEN_BOUND','transformRemoteChangeset','parse','runId','call','currentTheme$','_init','_collabSessionService','endRow','permission.content','APPLY_DUPLICATED','trim','eventID','_assignedColors','width','YUUMI_AI_RUN_FAILED','setTimeout','getTypeOfUnitAdded$','registerRenderModule','getItem','_memberService','USERS_LEAVE','UPDATE_CURSOR','some','getSheetId'];_0x1439=function(){return _0x546fdf;};return _0x1439();}let Ne=class extends _0x50ac14{constructor(_0x461bb3,_0x725c82){const _0x32a503=_0x204474;super(),this[_0x32a503(0x151)]=_0x461bb3,this['_imageIoService']=_0x725c82,this[_0x32a503(0xfd)]();}[_0x204474(0xfd)](){const _0x450440=_0x204474,_0x11cdcb=this;this[_0x450440(0x169)](this[_0x450440(0x151)][_0x450440(0x201)]({'onBeforePasteImage':async _0x3d8a01=>{const _0x3d12e9=_0x450440,_0x5bb0a2=await _0x11cdcb['_imageIoService']['saveImage'](_0x3d8a01);return _0x5bb0a2?{'source':_0x5bb0a2[_0x3d12e9(0xef)],'imageSourceType':_0x5bb0a2['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x36e0dd),Je(0x1,_0x160ad7)],Ne);const Ze=[_0x204474(0x2a4),_0x204474(0x150),_0x204474(0x12a),_0x204474(0x270),_0x204474(0x272),_0x204474(0x258)];class ke extends _0x2913ee{constructor(){const _0x590f13=_0x204474;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x590f13(0xf4),0x0);}['assignAColorForMemberID'](_0xadf086){const _0x510ceb=_0x204474;if(this['_assignedColors'][_0x510ceb(0x279)](_0xadf086))return this[_0x510ceb(0x104)][_0x510ceb(0x156)](_0xadf086);const _0x135ca5=Ze[this[_0x510ceb(0xf4)]];return this['_colorIndex']=(this[_0x510ceb(0xf4)]+0x1)%Ze[_0x510ceb(0x2d6)],this[_0x510ceb(0x104)][_0x510ceb(0x1f2)](_0xadf086,_0x135ca5),_0x135ca5;}}function Tt(_0x34ffc5){const _0x55986c=_0x204474;let _0x568223='';for(const _0x24cc84 of _0x34ffc5){const {startOffset:_0x417986,endOffset:_0x5e4392,isActive:_0x35cf6c,rangeType:_0x24e650,segmentId:_0x4802d2,segmentPage:_0x4e261f}=_0x24cc84;_0x568223[_0x55986c(0x2d6)]&&(_0x568223+=','),_0x568223+=_0x417986+':'+_0x5e4392+':'+(_0x35cf6c?'1':'0')+':'+_0x24e650+':'+_0x4802d2+':'+_0x4e261f;}return _0x568223;}function _i(_0x447cc2){const _0x489978=_0x204474,_0x53cc80=_0x447cc2[_0x489978(0x17f)](','),_0x483aaf=[];for(const _0x3d1d5c of _0x53cc80){const [_0x486e00,_0x46f2f0,_0x520eb8,_0x54ea2d,_0x2996ff,_0x3a474b]=_0x3d1d5c[_0x489978(0x17f)](':');_0x483aaf[_0x489978(0x271)]({'startOffset':Number(_0x486e00),'endOffset':Number(_0x46f2f0),'collapsed':_0x486e00===_0x46f2f0,'isActive':_0x520eb8==='1','rangeType':_0x54ea2d===_0x3f9f2d['TEXT']?_0x3f9f2d[_0x489978(0x245)]:_0x3f9f2d[_0x489978(0x20c)],'segmentId':typeof _0x2996ff==_0x489978(0x122)?String(_0x2996ff):'','segmentPage':Number(_0x3a474b!=null?_0x3a474b:-0x1)});}return _0x483aaf[_0x489978(0x10e)](_0x280328=>_0x280328[_0x489978(0x290)])||(_0x483aaf[0x0][_0x489978(0x290)]=!0x0),_0x483aaf;}class He extends _0x50ac14{constructor(){const _0x54998e=_0x204474;super(...arguments),_(this,_0x54998e(0x1fd),new _0x10b606(null)),_(this,_0x54998e(0x2bb),this[_0x54998e(0x1fd)][_0x54998e(0x2af)]());}[_0x204474(0x2e4)](_0x1808a3){const _0x33b73e=_0x204474,{unitID:_0x1d9e87,memberID:_0x413c5,textRanges:_0xe44c9c}=_0x1808a3,_0x1bad6c=Tt(_0xe44c9c);if(_0x1bad6c==='')return;const _0x31de5c={'unitID':_0x1d9e87,'memberID':_0x413c5,'selection':_0x1bad6c};this['_collabCursorState$'][_0x33b73e(0x281)](_0x31de5c);}}var hi=Object[_0x204474(0x193)],ui=(_0xbde62d,_0x4d1f39,_0x145687,_0x307599)=>{const _0x223ca6=_0x204474;for(var _0x3da579=_0x307599>0x1?void 0x0:_0x307599?hi(_0x4d1f39,_0x145687):_0x4d1f39,_0x55d2ee=_0xbde62d[_0x223ca6(0x2d6)]-0x1,_0x5140d5;_0x55d2ee>=0x0;_0x55d2ee--)(_0x5140d5=_0xbde62d[_0x55d2ee])&&(_0x3da579=_0x5140d5(_0x3da579)||_0x3da579);return _0x3da579;},P=(_0x3b9de8,_0x1b4503)=>(_0x48e3e2,_0x23acd4)=>_0x1b4503(_0x48e3e2,_0x23acd4,_0x3b9de8);const di=0x12c,fi=0x64;let Ue=class extends _0x50ac14{constructor(_0x1bf6a6,_0x4a7272,_0x2b3f8b,_0x21348f,_0x530e0c,_0x2f950e,_0x18fe1f,_0x51d842,_0x14d3a8){const _0x54a2ec=_0x204474;super(),_(this,_0x54a2ec(0x2d9),!0x1),_(this,_0x54a2ec(0xfd),!0x1),_(this,_0x54a2ec(0x26b),new _0x10b606(new Map())),_(this,_0x54a2ec(0x185),this['_cursorInfo$'][_0x54a2ec(0x2af)]()),_(this,_0x54a2ec(0x257),new _0x10b606([])),_(this,_0x54a2ec(0x2c4),this[_0x54a2ec(0x257)]['pipe'](_0x2bebcd(di))),_(this,'_updateLocalCursor',_0x2f6b09(_0x3ebf72=>{const _0x9beb1c=_0x54a2ec,_0xf71677={'eventID':_0x464b76[_0x9beb1c(0x10d)],'data':{'unitID':this[_0x9beb1c(0x1c3)],'memberID':this['_session'][_0x9beb1c(0x1b1)](),'selection':Tt(_0x3ebf72)}};this[_0x9beb1c(0xe8)][_0x9beb1c(0x233)](_0xf71677,this[_0x9beb1c(0x1c3)]);},fi)),(this[_0x54a2ec(0x1c3)]=_0x1bf6a6,this['_session']=_0x4a7272,this[_0x54a2ec(0x20a)]=_0x2b3f8b,this[_0x54a2ec(0x2bc)]=_0x21348f,this[_0x54a2ec(0x10b)]=_0x530e0c,this[_0x54a2ec(0x192)]=_0x2f950e,this['_transformService']=_0x18fe1f,this['_univerInstanceService']=_0x51d842,this[_0x54a2ec(0x2b0)]=_0x14d3a8);}get[_0x204474(0x1f1)](){const _0x1005ab=_0x204474;return this['_cursorInfo$'][_0x1005ab(0x22f)]();}get['roomMembers'](){const _0x343ac9=_0x204474;return this[_0x343ac9(0x257)]['getValue']();}[_0x204474(0x2da)](){const _0x492ab8=_0x204474;super['dispose'](),this[_0x492ab8(0x26b)][_0x492ab8(0x281)](new Map()),this[_0x492ab8(0x26b)][_0x492ab8(0x255)](),this[_0x492ab8(0x257)]['next']([]),this[_0x492ab8(0x257)][_0x492ab8(0x255)]();}[_0x204474(0x137)](){const _0x25cf54=_0x204474;this[_0x25cf54(0xfd)]||(this[_0x25cf54(0xfd)]=!0x0,this[_0x25cf54(0xe8)][_0x25cf54(0x1d5)][_0x25cf54(0x12e)](_0x1708d9(this[_0x25cf54(0x22e)]))[_0x25cf54(0x2de)](_0x9f25a1=>{const _0x1dd7f0=_0x25cf54;_0x9f25a1===_0x43c957[_0x1dd7f0(0x194)]?this[_0x1dd7f0(0x225)]():this[_0x1dd7f0(0x15e)]();}),this[_0x25cf54(0xe8)][_0x25cf54(0x27c)][_0x25cf54(0x12e)](_0x1708d9(this[_0x25cf54(0x22e)]))[_0x25cf54(0x2de)](_0x1199d7=>{const _0x767e3a=_0x25cf54,_0x4fc199=_0x1199d7[_0x767e3a(0x103)];_0x4fc199===_0x464b76['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1199d7),_0x4fc199===_0x464b76[_0x767e3a(0x10c)]&&this[_0x767e3a(0x224)](_0x1199d7);}),this[_0x25cf54(0x169)](this[_0x25cf54(0x2b0)]['onCommandExecuted'](_0x3700a6=>{const _0x250931=_0x25cf54,_0x108d74=_0x3700a6[_0x250931(0x292)];_0x108d74!=null&&this['_online']&&_0x3700a6['id']===_0x3828ff['id']&&_0x108d74['unitId']===this['unitID']&&_0x108d74[_0x250931(0x264)]===!0x1&&_0x108d74[_0x250931(0x1e9)]['length']>0x0&&this[_0x250931(0x2aa)](_0x108d74[_0x250931(0x1e9)]);})),this[_0x25cf54(0x192)][_0x25cf54(0x2bb)][_0x25cf54(0x12e)](_0x1708d9(this[_0x25cf54(0x22e)]))[_0x25cf54(0x2de)](_0x288c56=>{const _0x5ec600=_0x25cf54;if((_0x288c56==null?void 0x0:_0x288c56['unitID'])!==this[_0x5ec600(0x1c3)])return;const _0x32d74e={'eventID':_0x464b76[_0x5ec600(0x10d)],'data':_0x288c56};this[_0x5ec600(0x261)](_0x32d74e);}),this['disposeWithMe'](this[_0x25cf54(0x2b0)][_0x25cf54(0x16c)](_0xde3026=>{const _0xce9140=_0x25cf54;if(_0xde3026[_0xce9140(0x292)]==null)return;const _0x4bdf45=_0xde3026['params'];if(_0xde3026['id']!==_0xd48d86['id']||_0x4bdf45['unitId']!==this[_0xce9140(0x1c3)])return;const _0x1344d0={'id':_0xce9140(0x29c),'params':_0x4bdf45},_0x1a77f6=this[_0xce9140(0x1f1)];for(const [_0x4989ba,_0x36e7ba]of _0x1a77f6){const _0xc275ba={'id':_0xce9140(0x29c),'params':{'unitId':this[_0xce9140(0x1c3)],'actions':null,'textRanges':_0x36e7ba[_0xce9140(0x1e9)]}},_0x22e22a=this['_transformService'][_0xce9140(0x18a)](_0x1344d0,_0xc275ba,!0x1);if(_0x353d8c(_0x22e22a))throw _0x22e22a[_0xce9140(0x13e)];_0x1a77f6['set'](_0x4989ba,{..._0x36e7ba,'ranges':_0x22e22a[_0xce9140(0x1c8)][_0xce9140(0x292)][_0xce9140(0x2a7)]});}queueMicrotask(()=>{const _0x4ad17f=_0xce9140;this[_0x4ad17f(0x26b)][_0x4ad17f(0x281)](_0x1a77f6);});})));}[_0x204474(0x261)](_0x569f2d){const _0x3967e8=_0x204474;var _0x515efc,_0x889970;const {memberID:_0x5412f0,selection:_0x4cde9d}=_0x569f2d['data'],_0x229fad=_i(_0x4cde9d),_0x53a44c=(_0x889970=(_0x515efc=this[_0x3967e8(0x10b)][_0x3967e8(0x266)](this[_0x3967e8(0x1c3)],_0x5412f0))==null?void 0x0:_0x515efc[_0x3967e8(0x208)])!=null?_0x889970:_0x3967e8(0x18f),_0x22db9f={'color':this[_0x3967e8(0x2bc)]['assignAColorForMemberID'](_0x5412f0),'name':_0x53a44c,'ranges':_0x229fad},_0x3d72bd=this[_0x3967e8(0x1f1)];_0x3d72bd[_0x3967e8(0x1f2)](_0x5412f0,_0x22db9f),this[_0x3967e8(0x26b)][_0x3967e8(0x281)](_0x3d72bd);}[_0x204474(0x224)](_0x4088a7){const _0x420736=_0x204474,{memberID:_0x85d084}=_0x4088a7[_0x420736(0x172)],_0x18fdd4=this[_0x420736(0x1f1)];_0x18fdd4[_0x420736(0x23c)](_0x85d084),this['_cursorInfo$'][_0x420736(0x281)](_0x18fdd4);}[_0x204474(0x225)](){const _0x290bfa=_0x204474;var _0x1af184;if(this[_0x290bfa(0x2d9)]=!0x0,((_0x1af184=this[_0x290bfa(0x285)]['getFocusedUnit']())==null?void 0x0:_0x1af184['getUnitId']())!==this['unitID'])return;const _0x196afc=this[_0x290bfa(0x20a)][_0x290bfa(0x156)](_0x209356)[_0x290bfa(0x16b)]();Array['isArray'](_0x196afc)&&_0x196afc[_0x290bfa(0x2d6)]>0x0&&this[_0x290bfa(0x2aa)](_0x196afc);}[_0x204474(0x15e)](){const _0xb139da=_0x204474;this[_0xb139da(0x2d9)]=!0x1;}};Ue=ui([P(0x2,_0x3b5dda(_0x3ff8dd)),P(0x3,_0x3b5dda(ke)),P(0x4,_0x3b5dda(_0x17d03e)),P(0x5,_0x3b5dda(He)),P(0x6,_0x43fa09),P(0x7,_0x454f61),P(0x8,_0x18b56e)],Ue);var Si=Object[_0x204474(0x193)],mi=(_0x2f5405,_0x1b97a1,_0x1dab9a,_0x5e2e8c)=>{const _0x267946=_0x204474;for(var _0x1abc93=_0x5e2e8c>0x1?void 0x0:_0x5e2e8c?Si(_0x1b97a1,_0x1dab9a):_0x1b97a1,_0x38b4ab=_0x2f5405[_0x267946(0x2d6)]-0x1,_0x2fbc34;_0x38b4ab>=0x0;_0x38b4ab--)(_0x2fbc34=_0x2f5405[_0x38b4ab])&&(_0x1abc93=_0x2fbc34(_0x1abc93)||_0x1abc93);return _0x1abc93;},x=(_0x5f4e03,_0x30f11a)=>(_0x21f8e4,_0x4a7a9f)=>_0x30f11a(_0x21f8e4,_0x4a7a9f,_0x5f4e03);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2b9699=[],_0x1dcaf0=!0x1;return _0x14f474=>{const _0x438313=_0x5213;_0x2b9699[_0x438313(0x271)](_0x14f474),_0x1dcaf0||(_0x1dcaf0=!0x0,setTimeout(()=>{_0x2b9699['forEach'](_0x322cd4=>_0x322cd4()),_0x2b9699=[],_0x1dcaf0=!0x1;}));};};let Me=class extends _0x50ac14{constructor(_0x498511,_0xf08690,_0xe7635a,_0x34118e,_0x2e963d,_0x31caff,_0x49307a,_0x2d8b3f){const _0x3c6902=_0x204474;super(),_(this,_0x3c6902(0x2d9),!0x1),_(this,_0x3c6902(0xfd),!0x1),_(this,_0x3c6902(0x26b),new _0x10b606(new Map())),_(this,'cursorInfo$',this[_0x3c6902(0x26b)][_0x3c6902(0x2af)]()),_(this,_0x3c6902(0x257),new _0x10b606([])),_(this,_0x3c6902(0x2c4),this[_0x3c6902(0x257)][_0x3c6902(0x12e)](_0x2bebcd(Ii))),_(this,_0x3c6902(0x2aa),_0x2f6b09((_0x18a0ee,_0x4b82f8)=>{const _0x4717c2=_0x3c6902,_0x25252f={'eventID':_0x464b76[_0x4717c2(0x10d)],'data':{'unitID':this[_0x4717c2(0x1c3)],'memberID':this[_0x4717c2(0xe8)][_0x4717c2(0x1b1)](),'selection':_0x586728(_0x18a0ee,_0x4b82f8['range'])}};this[_0x4717c2(0xe8)][_0x4717c2(0x233)](_0x25252f,this[_0x4717c2(0x1c3)]);},gi)),(this[_0x3c6902(0x1c3)]=_0x498511,this[_0x3c6902(0xe8)]=_0xf08690,this['_injector']=_0xe7635a,this[_0x3c6902(0x2bc)]=_0x34118e,this[_0x3c6902(0x10b)]=_0x2e963d,this[_0x3c6902(0x285)]=_0x31caff,this[_0x3c6902(0x2b0)]=_0x49307a,this[_0x3c6902(0x1d7)]=_0x2d8b3f);}get[_0x204474(0x1f1)](){const _0x8f19f4=_0x204474;return this[_0x8f19f4(0x26b)]['getValue']();}get[_0x204474(0x28e)](){const _0x160c37=_0x204474;return this[_0x160c37(0x257)]['getValue']();}[_0x204474(0x2da)](){const _0x86736a=_0x204474;super[_0x86736a(0x2da)](),this[_0x86736a(0x26b)][_0x86736a(0x281)](new Map()),this[_0x86736a(0x26b)]['complete'](),this['_roomMembers$']['next']([]),this[_0x86736a(0x257)][_0x86736a(0x255)]();}[_0x204474(0x137)](){const _0x5579b4=_0x204474;this[_0x5579b4(0xfd)]||(this[_0x5579b4(0xfd)]=!0x0,this[_0x5579b4(0xe8)]['sessionStatus$']['pipe'](_0x1708d9(this[_0x5579b4(0x22e)]))[_0x5579b4(0x2de)](_0x165bdf=>{const _0x38ee11=_0x5579b4;_0x165bdf===_0x43c957[_0x38ee11(0x194)]?this[_0x38ee11(0x225)]():this[_0x38ee11(0x15e)]();}),this['_session'][_0x5579b4(0x27c)][_0x5579b4(0x12e)](_0x1708d9(this[_0x5579b4(0x22e)]))[_0x5579b4(0x2de)](_0x1765d4=>{const _0x485bb9=_0x5579b4,_0x27a2b7=_0x1765d4['eventID'];_0x27a2b7===_0x464b76[_0x485bb9(0x10d)]&&this['_onCursorUpdate'](_0x1765d4),_0x27a2b7===_0x464b76[_0x485bb9(0x10c)]&&this[_0x485bb9(0x224)](_0x1765d4);}),this[_0x5579b4(0xf3)](),this[_0x5579b4(0x169)](this[_0x5579b4(0x2b0)][_0x5579b4(0x16c)](_0x7749c7=>{const _0x39f9f9=_0x5579b4;if(this[_0x39f9f9(0x2d9)]&&_0x7749c7['id']===_0x478550['id']&&_0x7749c7['params']['unitId']===this[_0x39f9f9(0x1c3)]){const _0x19f6c4=_0x7749c7['params'];this['_updateLocalCursor'](_0x19f6c4[_0x39f9f9(0x184)],_0x19f6c4['selections'][0x0]);}})));}['_onCursorUpdate'](_0xa67f56){const _0x2cd74a=_0x204474;var _0x2c82e5,_0x2f113a;const {memberID:_0x2c8787,selection:_0x492594}=_0xa67f56['data'],{sheetName:_0x44ff18,range:_0x3e727a}=_0x5a2fd1(_0x492594),_0x453208={'name':(_0x2f113a=(_0x2c82e5=this[_0x2cd74a(0x10b)][_0x2cd74a(0x266)](this['unitID'],_0x2c8787))==null?void 0x0:_0x2c82e5[_0x2cd74a(0x208)])!=null?_0x2f113a:_0x2cd74a(0x18f),'range':this[_0x2cd74a(0x274)](_0x44ff18,_0x3e727a),'sheetID':_0x44ff18,'color':this[_0x2cd74a(0x2bc)][_0x2cd74a(0x173)](_0x2c8787),'selection':_0x492594},_0x3a8614=this[_0x2cd74a(0x1f1)];_0x3a8614[_0x2cd74a(0x1f2)](_0x2c8787,_0x453208),this[_0x2cd74a(0x26b)][_0x2cd74a(0x281)](_0x3a8614);}[_0x204474(0x224)](_0x4518da){const _0x510618=_0x204474,{memberID:_0x429a33}=_0x4518da[_0x510618(0x172)],_0x41f2a3=this[_0x510618(0x1f1)];_0x41f2a3[_0x510618(0x23c)](_0x429a33),this[_0x510618(0x26b)][_0x510618(0x281)](_0x41f2a3);}[_0x204474(0x274)](_0x56b16d,_0x1d6848){const _0xa19f59=_0x204474;var _0x18fb6f,_0xda395b;const _0x2dd581=(_0xda395b=(_0x18fb6f=this['_univerInstanceService'][_0xa19f59(0x1ce)](this['unitID']))==null?void 0x0:_0x18fb6f[_0xa19f59(0x28a)](_0x56b16d))==null?void 0x0:_0xda395b[_0xa19f59(0xee)]();return(_0x2dd581==null?void 0x0:_0x2dd581[_0xa19f59(0x2f2)](_0x44032a=>_0x5c3c6f[_0xa19f59(0x287)](_0x44032a,_0x1d6848)))||_0x1d6848;}[_0x204474(0xf3)](){const _0x114a95=_0x204474,_0x4ca778=new _0x3c25d8(),_0x4aa75f=vi(),_0x40934c=()=>{const _0x128a5f=_0x5213;_0x4ca778[_0x128a5f(0x2da)]();const _0x2e735b=(_0x248f29,_0x5e9e6d,_0x49e71d,_0x4c6f30)=>{const _0x2a8506=_0x128a5f;let _0x518154=[];switch(_0x248f29['id']){case _0x5acf29[_0x2a8506(0x1bc)]:{_0x518154=_0x5dabec(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x2a8)]:{_0x518154=_0x2f957a(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x11e)]:{_0x518154=_0x4e6750(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x222)]:{_0x518154=_0x33eb95(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x142)]:{_0x518154=_0x2ed7a2(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x1ee)]:{_0x518154=_0x3eb5d8(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x23f)]:{_0x518154=_0x3fcda7(_0x248f29,_0x4c6f30);break;}case _0x5acf29[_0x2a8506(0x1fa)]:{_0x518154=_0x2ab5c4(_0x248f29,_0x4c6f30);break;}case _0x5acf29['RemoveRowCommandId']:{_0x518154=_0x538a13(_0x248f29,_0x4c6f30);break;}}const _0x434b1e=_0x1a89c5(_0x518154,_0x4c6f30),_0x5956c1=this[_0x2a8506(0x1f1)][_0x2a8506(0x156)](_0x5e9e6d);if(_0x5956c1&&_0x434b1e){const _0x2ad4d3={..._0x5956c1,'range':_0x434b1e};this[_0x2a8506(0x1f1)][_0x2a8506(0x1f2)](_0x5e9e6d,_0x2ad4d3),_0x4aa75f(()=>{const _0x33ce94=_0x2a8506,_0x45bc7b=this[_0x33ce94(0x1d7)][_0x33ce94(0x15f)](_0x434b1e,_0x1e249c=>(_0x45bc7b[_0x33ce94(0x2da)](),_0x2e735b(_0x1e249c,_0x5e9e6d,_0x49e71d,_0x434b1e)));_0x4ca778[_0x33ce94(0x168)](_0x45bc7b);});}return{'redos':[],'undos':[]};};this[_0x128a5f(0x1f1)][_0x128a5f(0x21b)]((_0x382418,_0x18284c)=>{const _0x1b6d79=_0x128a5f,{range:_0x1ae9b3,sheetID:_0x7d8d79}=_0x382418,_0x2f38d9=this[_0x1b6d79(0x1d7)][_0x1b6d79(0x15f)](_0x1ae9b3,_0x4527e0=>(_0x2f38d9['dispose'](),_0x2e735b(_0x4527e0,_0x18284c,_0x7d8d79,_0x1ae9b3)));_0x4ca778[_0x1b6d79(0x168)](_0x2f38d9);});};this[_0x114a95(0x169)](_0x4be3ad(this['_cursorInfo$']['subscribe'](()=>{_0x40934c();})));}[_0x204474(0x225)](){const _0x4bf2bf=_0x204474;var _0x6fb801,_0x10e2f1;if(this['_online']=!0x0,((_0x6fb801=this[_0x4bf2bf(0x285)][_0x4bf2bf(0x1ac)]())==null?void 0x0:_0x6fb801[_0x4bf2bf(0x1fb)]())!==this[_0x4bf2bf(0x1c3)])return;const _0x5d090b=(_0x10e2f1=this['_injector'][_0x4bf2bf(0x156)](_0x50bfd4)[_0x4bf2bf(0x1f8)]())==null?void 0x0:_0x10e2f1[0x0],_0xd435be=this[_0x4bf2bf(0x285)][_0x4bf2bf(0x211)](_0xc26137['UNIVER_SHEET'])[_0x4bf2bf(0x1d6)]();_0x5d090b&&_0xd435be&&this[_0x4bf2bf(0x2aa)](_0xd435be[_0x4bf2bf(0x10f)](),_0x5d090b);}[_0x204474(0x15e)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x3b5dda(_0x3ff8dd)),x(0x3,_0x3b5dda(ke)),x(0x4,_0x3b5dda(_0x17d03e)),x(0x5,_0x454f61),x(0x6,_0x18b56e),x(0x7,_0x3b5dda(_0x45750e))],Me);var pi=Object[_0x204474(0x193)],Ci=(_0x133b7d,_0x1241e5,_0x30f172,_0x309228)=>{for(var _0x19e3bf=_0x309228>0x1?void 0x0:_0x309228?pi(_0x1241e5,_0x30f172):_0x1241e5,_0x1a694d=_0x133b7d['length']-0x1,_0x4daece;_0x1a694d>=0x0;_0x1a694d--)(_0x4daece=_0x133b7d[_0x1a694d])&&(_0x19e3bf=_0x4daece(_0x19e3bf)||_0x19e3bf);return _0x19e3bf;},Se=(_0x56a002,_0x8f837)=>(_0x7fc9a3,_0x1d47ca)=>_0x8f837(_0x7fc9a3,_0x1d47ca,_0x56a002);let H=class extends _0x50ac14{constructor(_0x25e413,_0x20fa36,_0x5d92cd){const _0x8dc0c1=_0x204474;super(),_(this,'_entities',new Map()),_(this,_0x8dc0c1(0x154),new _0x19602d()),(this['_univerInstanceService']=_0x25e413,this[_0x8dc0c1(0x20a)]=_0x20fa36,this[_0x8dc0c1(0xfe)]=_0x5d92cd,this[_0x8dc0c1(0xfd)]());}[_0x204474(0x2da)](){const _0x201dd1=_0x204474;super[_0x201dd1(0x2da)](),this['_entityInit$'][_0x201dd1(0x255)](),this[_0x201dd1(0x147)][_0x201dd1(0x21b)](_0x48c42f=>_0x48c42f['dispose']());}['getCollabCursors$'](_0x47228f){const _0x48da22=_0x204474;return this[_0x48da22(0x147)]['has'](_0x47228f)?this[_0x48da22(0x147)]['get'](_0x47228f)['cursorInfo$']:this['_entityInit$'][_0x48da22(0x12e)](_0x40d717(_0x41f61a=>_0x41f61a['unitID']===_0x47228f),_0x206773(_0x59d8b2=>_0x59d8b2['cursorInfo$']));}['_init'](){const _0x1698b9=_0x204474;this[_0x1698b9(0x285)][_0x1698b9(0x108)](_0xc26137[_0x1698b9(0x217)])[_0x1698b9(0x12e)](_0x1708d9(this['dispose$']))[_0x1698b9(0x2de)](async _0x57bcea=>{const _0x56d8bf=_0x1698b9,_0x4e9e63=_0x57bcea[_0x56d8bf(0x1fb)](),_0x4baa3d=await this['_startSheetCollabCursor'](_0x4e9e63);this[_0x56d8bf(0x154)][_0x56d8bf(0x281)](_0x4baa3d),this[_0x56d8bf(0x147)]['set'](_0x4e9e63,_0x4baa3d);}),this[_0x1698b9(0x285)]['getTypeOfUnitAdded$'](_0xc26137[_0x1698b9(0x2b7)])['pipe'](_0x1708d9(this[_0x1698b9(0x22e)]))['pipe'](_0x40d717(_0x58e1c0=>!_0x58e1c0[_0x1698b9(0x1fb)]()[_0x1698b9(0x282)]('__')))['subscribe'](async _0x30aa2b=>{const _0x34dada=_0x1698b9,_0x442de4=_0x30aa2b['getUnitId'](),_0x378669=await this['_startDocCollabCursor'](_0x442de4);this[_0x34dada(0x154)][_0x34dada(0x281)](_0x378669),this[_0x34dada(0x147)][_0x34dada(0x1f2)](_0x442de4,_0x378669);}),_0x45339b(this['_univerInstanceService'][_0x1698b9(0x1de)](_0xc26137[_0x1698b9(0x2b7)]),this[_0x1698b9(0x285)][_0x1698b9(0x1de)](_0xc26137[_0x1698b9(0x217)]))[_0x1698b9(0x12e)](_0x1708d9(this[_0x1698b9(0x22e)]))[_0x1698b9(0x2de)](_0x45282e=>{const _0x4133d1=_0x1698b9,_0x4f6f3a=_0x45282e[_0x4133d1(0x1fb)](),_0x29191f=this[_0x4133d1(0x147)][_0x4133d1(0x156)](_0x4f6f3a);_0x29191f&&(_0x29191f[_0x4133d1(0x2da)](),this['_entities'][_0x4133d1(0x23c)](_0x4f6f3a));});}async[_0x204474(0x1b2)](_0x3fa30d){const _0x2de9e3=_0x204474,_0x4420b4=await this[_0x2de9e3(0xfe)][_0x2de9e3(0xe6)](_0x3fa30d),_0x2aea30=this[_0x2de9e3(0x20a)][_0x2de9e3(0x19b)](Me,_0x3fa30d,_0x4420b4);return _0x2aea30[_0x2de9e3(0x137)](),_0x2aea30;}async[_0x204474(0x1bd)](_0x2ec78c){const _0x903159=_0x204474,_0x1d5f4b=await this[_0x903159(0xfe)][_0x903159(0xe6)](_0x2ec78c),_0x4d87f8=this[_0x903159(0x20a)][_0x903159(0x19b)](Ue,_0x2ec78c,_0x1d5f4b);return _0x4d87f8[_0x903159(0x137)](),_0x4d87f8;}};H=Ci([Se(0x0,_0x454f61),Se(0x1,_0x3b5dda(_0x3ff8dd)),Se(0x2,_0x3b5dda(_0x3b3c70))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x18e23e,_0x48815e){const _0x542d4b=_0x204474;let {radius:_0xf763ff,width:_0x513de7,height:_0x5cfefb}=_0x48815e;_0xf763ff=_0xf763ff!=null?_0xf763ff:0x0,_0x513de7=_0x513de7!=null?_0x513de7:0x1e,_0x5cfefb=_0x5cfefb!=null?_0x5cfefb:0x1e;let _0x479bf0=0x0,_0x37128e=0x0,_0x26d35c=0x0;_0x479bf0=_0x37128e=_0x26d35c=Math[_0x542d4b(0x25c)](_0xf763ff,_0x513de7/0x2,_0x5cfefb/0x2),_0x18e23e[_0x542d4b(0x1b4)](),_0x18e23e[_0x542d4b(0x141)](_0x479bf0,0x0),_0x18e23e[_0x542d4b(0xe7)](_0x513de7-_0x37128e,0x0),_0x18e23e[_0x542d4b(0x2a3)](_0x513de7-_0x37128e,_0x37128e,_0x37128e,Math['PI']*0x3/0x2,0x0,!0x1),_0x18e23e['lineTo'](_0x513de7,_0x5cfefb-_0x26d35c),_0x18e23e[_0x542d4b(0x2a3)](_0x513de7-_0x26d35c,_0x5cfefb-_0x26d35c,_0x26d35c,0x0,Math['PI']/0x2,!0x1),_0x18e23e[_0x542d4b(0xe7)](0x0,_0x5cfefb),_0x18e23e[_0x542d4b(0xe7)](0x0,_0x479bf0),_0x18e23e['arc'](_0x479bf0,_0x479bf0,_0x479bf0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x18e23e['closePath'](),_0x48815e[_0x542d4b(0x27a)]&&(_0x18e23e[_0x542d4b(0xeb)](),_0x18e23e[_0x542d4b(0x267)]=_0x48815e[_0x542d4b(0x27a)],_0x48815e['fillRule']===_0x542d4b(0x2f0)?_0x18e23e['fill'](_0x542d4b(0x2f0)):_0x18e23e[_0x542d4b(0x27a)](),_0x18e23e['restore']());}class he extends _0xa02e3f{constructor(_0x15370c,_0x4ebfc0){const _0x2aee86=_0x204474;super(_0x15370c,_0x4ebfc0),_(this,_0x2aee86(0x2b3)),_(this,'text'),(this[_0x2aee86(0x2b3)]=_0x4ebfc0==null?void 0x0:_0x4ebfc0['color'],this[_0x2aee86(0x26e)]=_0x4ebfc0==null?void 0x0:_0x4ebfc0['text']);}static[_0x204474(0x28d)](_0x5a8b1f,_0x50ba59){const _0xf577fc=_0x204474,{text:_0x385a1d,color:_0x80a29e}=_0x50ba59;_0x5a8b1f['save'](),_0x5a8b1f[_0xf577fc(0x240)]=_0xf577fc(0x246);const _0x3a6d38=_0x5a8b1f[_0xf577fc(0x2ea)](_0x385a1d)[_0xf577fc(0x105)],_0x43c09d=Math[_0xf577fc(0x25c)](_0x3a6d38+0x2*me,Qe);Oi(_0x5a8b1f,{'height':ee,'radius':0x4,'width':_0x43c09d,'fill':_0x80a29e}),_0x5a8b1f[_0xf577fc(0x267)]=_0xf577fc(0x181);const _0x315d85=me,_0xd80247=ee-Ei,_0x1e3a44=Qe-0x2*me;if(_0x3a6d38>_0x1e3a44){let _0x36ff69='',_0x5a5d0f=0x0;for(const _0x242727 of _0x385a1d){const _0x17ad1f=_0x5a8b1f['measureText'](_0x242727)[_0xf577fc(0x105)];if(_0x5a5d0f+_0x17ad1f<=_0x1e3a44-_0x5a8b1f[_0xf577fc(0x2ea)](_0xf577fc(0x1af))['width'])_0x36ff69+=_0x242727,_0x5a5d0f+=_0x17ad1f;else{_0x36ff69+=_0xf577fc(0x1af);break;}}_0x5a8b1f[_0xf577fc(0x2ad)](_0x36ff69,_0x315d85,_0xd80247);}else _0x5a8b1f[_0xf577fc(0x2ad)](_0x385a1d,_0x315d85,_0xd80247);_0x5a8b1f[_0xf577fc(0x235)]();}[_0x204474(0x1df)](_0x32207a){he['drawWith'](_0x32207a,this);}}const Ie=_0x204474(0x27f),bi=_0x204474(0x2ca),Ti=_0x204474(0x138),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x204474(0x2ef);class qe{constructor(_0x39d519,_0x12f60e,_0x2a8b97,_0x432ffb){const _0x52d7bd=_0x204474;_(this,_0x52d7bd(0x29f),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x52d7bd(0x27d),null),_(this,_0x52d7bd(0x22b),null),_(this,_0x52d7bd(0x2c5),null),(this['_cursor']=_0x39d519,this['_scene']=_0x12f60e,this[_0x52d7bd(0x170)]=_0x2a8b97,this[_0x52d7bd(0x116)]=_0x432ffb,this[_0x52d7bd(0x155)]());}set[_0x204474(0x25a)](_0x3889ca){const _0x38ee9d=_0x204474;_0x3889ca?(this[_0x38ee9d(0x27d)]&&this[_0x38ee9d(0x27d)][_0x38ee9d(0x1f5)](),this[_0x38ee9d(0x157)]&&this['_textBubble']['show']()):(this[_0x38ee9d(0x27d)]&&this['_anchorDot'][_0x38ee9d(0x1dc)](),this[_0x38ee9d(0x157)]&&this[_0x38ee9d(0x157)][_0x38ee9d(0x1f5)]());}['dispose'](){const _0x12f5d4=_0x204474;for(const _0x37d7be of this[_0x12f5d4(0x29f)])_0x37d7be[_0x12f5d4(0x2da)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x12f5d4(0x27d)]&&this['_anchorDot'][_0x12f5d4(0x2da)](),this['_anchor']&&this['_anchor'][_0x12f5d4(0x2da)](),this[_0x12f5d4(0x2c5)]&&this[_0x12f5d4(0x2c5)]();}[_0x204474(0x155)](){const _0x2b58ad=_0x204474;var _0x1d1517;const {_docSkeleton:_0x39ac51,_document:_0x51f9a5}=this,{color:_0x1582d1,name:_0x380968,ranges:_0x140bfc}=this[_0x2b58ad(0xf6)],_0x16a807=_0x51f9a5[_0x2b58ad(0x234)](),{docsLeft:_0x1e0a22,docsTop:_0x5abbd4}=_0x16a807,_0x15b9d8=new _0x3df8f7(_0x16a807,_0x39ac51);for(const {startOffset:_0xf5ff5b,endOffset:_0x3c37fa,rangeType:_0x1e48dd,segmentId:_0x548c03,segmentPage:_0x5747b7,collapsed:_0x898623,isActive:_0x5bf552}of _0x140bfc){const _0x10aa5a=_0x39ac51[_0x2b58ad(0x2a1)](_0xf5ff5b,!0x0,_0x548c03,_0x5747b7);let _0xd28b=_0x39ac51[_0x2b58ad(0x2a1)](_0x3c37fa,!0x0,_0x548c03,_0x5747b7);if(_0xd28b==null&&(_0xd28b=_0x39ac51[_0x2b58ad(0x2a1)](_0x3c37fa-0x1,!0x1,_0x548c03,_0x5747b7)),_0x5bf552){const {contentBoxPointGroup:_0x17fa13}=_0x15b9d8[_0x2b58ad(0x1ca)](_0xd28b,_0xd28b);if(_0x17fa13[_0x2b58ad(0x2d6)]===0x0)continue;this['_drawAnchor'](_0x1582d1,_0x17fa13,_0x1e0a22,_0x5abbd4,_0x380968),this[_0x2b58ad(0x2c5)]=this[_0x2b58ad(0x135)]();}if(_0x10aa5a&&_0xd28b){if(_0x1e48dd===_0x3f9f2d['RECT']){const _0x94f331=new _0x4fc4f4(_0x16a807,_0x39ac51),{pointGroup:_0x588ced}=(_0x1d1517=_0x94f331['getRangePointData'](_0x10aa5a,_0xd28b))!=null?_0x1d1517:{};if(_0x588ced==null||_0x588ced[_0x2b58ad(0x2d6)]===0x0)continue;this[_0x2b58ad(0x220)](_0x1582d1,_0x588ced,_0x1e0a22,_0x5abbd4);}else{if(!_0x898623){const {borderBoxPointGroup:_0x2d2af8}=_0x15b9d8[_0x2b58ad(0x1ca)](_0x10aa5a,_0xd28b);if(_0x2d2af8[_0x2b58ad(0x2d6)]===0x0)continue;this[_0x2b58ad(0x13f)](_0x1582d1,_0x2d2af8,_0x1e0a22,_0x5abbd4);}}}}}['_drawAnchor'](_0x5eea2c,_0xed943d,_0x5110d8,_0x2c0a1c,_0x55e422){const _0x37b080=_0x204474,_0x3f406d=this[_0x37b080(0x1d1)](_0xed943d),{left:_0x368417,top:_0x5a7f36,height:_0x4ca216}=_0x3f406d,_0x3e1a90=this['_getScale'](),_0x1e54cb=Di/_0x3e1a90,_0x4a61d5=new _0x1ac583(Ie+_0x1b22d2[_0x37b080(0x288)](X),{'left':_0x368417+_0x5110d8-_0x1e54cb,'top':_0x5a7f36+_0x2c0a1c,'height':_0x4ca216,'width':Ri,'fill':_0x5eea2c||_0x5411e8(_0x5c9650[_0x37b080(0x203)],0x0),'strokeWidth':_0x1e54cb,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x4a61d5,this[_0x37b080(0x249)][_0x37b080(0x1a2)](_0x4a61d5,_0xbc7326);const _0x105d54=new _0x1ac583(Ie+_0x1b22d2[_0x37b080(0x288)](X),{'left':_0x368417+_0x5110d8-_0x1e54cb,'top':_0x5a7f36+_0x2c0a1c-ge/0x2,'height':ge,'width':ge,'fill':_0x5eea2c||_0x5411e8(_0x5c9650[_0x37b080(0x203)],0x0),'strokeWidth':0x0,'stroke':_0x5eea2c||_0x5411e8(_0x5c9650[_0x37b080(0x203)],0x0),'evented':!0x1});this['_anchorDot']=_0x105d54,this[_0x37b080(0x249)]['addObject'](_0x105d54,_0xbc7326);const _0xba99d4=new he(Ie+_0x1b22d2[_0x37b080(0x288)](X),{'left':_0x368417+_0x5110d8-_0x1e54cb,'top':_0x5a7f36+_0x2c0a1c-ee,'text':_0x55e422,'color':_0x5eea2c});this['_textBubble']=_0xba99d4,this[_0x37b080(0x249)][_0x37b080(0x1a2)](_0xba99d4,_0xbc7326),this[_0x37b080(0x25a)]=!0x1;}['_handleHover'](){const _0x2a94f5=_0x204474,_0x4ec8a9=this[_0x2a94f5(0x21a)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xa58eff=this['_anchor'][_0x2a94f5(0x176)][_0x2a94f5(0x1ed)](()=>{const _0x517aeb=_0x2a94f5;this['_hideTimer']&&clearTimeout(this[_0x517aeb(0x22b)]),this[_0x517aeb(0x22b)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x4ec8a9['unsubscribe'](),_0xa58eff['unsubscribe']();};}[_0x204474(0x13f)](_0x51c4c7,_0x500b95,_0x56e6c0,_0x435368){const _0x212177=_0x204474,_0x49d91a=new _0x20204b(_0x51c4c7)['setAlpha'](0.2)[_0x212177(0x13b)](),_0x19403b=new _0x3bdf86(bi+_0x1b22d2[_0x212177(0x288)](X),{'pointsGroup':_0x500b95,'fill':_0x49d91a||_0x5411e8(_0x5c9650[_0x212177(0x203)],0.2),'left':_0x56e6c0,'top':_0x435368,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x212177(0x29f)][_0x212177(0x271)](_0x19403b),this['_scene'][_0x212177(0x1a2)](_0x19403b,_0xbc7326);}['_drawRectRange'](_0x542368,_0xe77dd4,_0x4a5a27,_0x120a58){const _0x5d66a8=_0x204474,_0x2335d2=new _0x20204b(_0x542368)[_0x5d66a8(0x163)](0.2)['toRgbString'](),_0x2e1ae7=new _0x3bdf86(Ti+_0x1b22d2[_0x5d66a8(0x288)](X),{'pointsGroup':_0xe77dd4,'fill':_0x2335d2||_0x5411e8(_0x5c9650[_0x5d66a8(0x203)],0.2),'left':_0x4a5a27,'top':_0x120a58,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d66a8(0x29f)][_0x5d66a8(0x271)](_0x2e1ae7),this[_0x5d66a8(0x249)][_0x5d66a8(0x1a2)](_0x2e1ae7,_0xbc7326);}[_0x204474(0x1d1)](_0xb0bb20){const _0x5c3045=_0xb0bb20[0x0],_0x104bb2=_0x5c3045[0x0],_0x211c6b=_0x5c3045[0x2],{x:_0x2fa1b5,y:_0x3145d2}=_0x104bb2,{x:_0x198294,y:_0x9b77c1}=_0x211c6b;return{'left':_0x2fa1b5,'top':_0x3145d2,'width':_0x198294-_0x2fa1b5,'height':_0x9b77c1-_0x3145d2};}['_getScale'](){const _0x14ac82=_0x204474,{scaleX:_0x561dae,scaleY:_0x1fb4fc}=this[_0x14ac82(0x249)][_0x14ac82(0x127)]();return Math['max'](_0x561dae,_0x1fb4fc);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x7213db,_0x58de8c,_0x5a3c7b,_0x473ee8)=>{for(var _0x274942=_0x473ee8>0x1?void 0x0:_0x473ee8?Ui(_0x58de8c,_0x5a3c7b):_0x58de8c,_0x6a1217=_0x7213db['length']-0x1,_0x16af44;_0x6a1217>=0x0;_0x6a1217--)(_0x16af44=_0x7213db[_0x6a1217])&&(_0x274942=_0x16af44(_0x274942)||_0x274942);return _0x274942;},Z=(_0x488290,_0x1d0e0e)=>(_0x287f00,_0x12d73f)=>_0x1d0e0e(_0x287f00,_0x12d73f,_0x488290);let Le=class extends _0x50ac14{constructor(_0x34606c,_0x42b6c5,_0x2bce11,_0x1dd74c,_0x46a611){const _0x23336c=_0x204474;super(),_(this,_0x23336c(0x26f),[]),_(this,_0x23336c(0x15b),[]),(this[_0x23336c(0x2e3)]=_0x34606c,this[_0x23336c(0x200)]=_0x42b6c5,this[_0x23336c(0x2b9)]=_0x2bce11,this[_0x23336c(0x2b0)]=_0x1dd74c,this[_0x23336c(0x2b1)]=_0x46a611,this[_0x23336c(0xfd)]());}[_0x204474(0xfd)](){const _0x3a39b8=_0x204474,_0x308a83=this[_0x3a39b8(0x2e3)]['unitId'],_0x249559=this['_docSkeletonManagerService'];this[_0x3a39b8(0x169)](_0xd409f([this['_collabCursorController'][_0x3a39b8(0x179)](_0x308a83),this[_0x3a39b8(0x2b1)][_0x3a39b8(0xfc)]])[_0x3a39b8(0x12e)](_0x342617(([_0x484a5d,_0x2e77d4])=>({'skeleton':_0x249559['getSkeleton'](),'cursors':[..._0x484a5d[_0x3a39b8(0x277)]()][_0x3a39b8(0x2a9)](_0x4e3e24=>({..._0x4e3e24,'color':this[_0x3a39b8(0x2b1)][_0x3a39b8(0x2b4)](_0x4e3e24[_0x3a39b8(0x2b3)])}))})))[_0x3a39b8(0x2de)](_0x4e2824=>{const _0x201d01=_0x3a39b8;if(this[_0x201d01(0x19d)](),_0x4e2824){const {skeleton:_0x5558bd,cursors:_0x471f70}=_0x4e2824;this['_updateCollabCursors'](_0x5558bd,_0x471f70);}})),this[_0x3a39b8(0x26d)](),this[_0x3a39b8(0x215)]();}['_updateCollabCursors'](_0x2ed320,_0x5cedcb){const _0x4b4e76=_0x204474,{scene:_0x3a0c85,mainComponent:_0x2dbc1e}=this['_context'],_0x4333f2=_0x5cedcb[_0x4b4e76(0x2e2)](_0x1e3793=>new qe(_0x1e3793,_0x3a0c85,_0x2ed320,_0x2dbc1e));this[_0x4b4e76(0x26f)]=_0x4333f2,this['_cursors']=_0x5cedcb;}[_0x204474(0xf0)](){const _0x3da8f9=_0x204474;this[_0x3da8f9(0x19d)]();const {scene:_0x151f2f,mainComponent:_0x163ca2}=this['_context'],_0x47a186=this[_0x3da8f9(0x200)]['getSkeleton'](),_0x177c8a=this['_cursors']['map'](_0x39030b=>new qe(_0x39030b,_0x151f2f,_0x47a186,_0x163ca2));this[_0x3da8f9(0x26f)]=_0x177c8a;}['_removeCollabCursors'](){const _0xf5ab7d=_0x204474;this['_cursorShapes'][_0xf5ab7d(0x21b)](_0x555387=>_0x555387['dispose']()),this['_cursorShapes']=[];}[_0x204474(0x215)](){const _0x5ce0d4=_0x204474,_0x3adee6=[_0xe4738b['id']];this['disposeWithMe'](this[_0x5ce0d4(0x2b0)][_0x5ce0d4(0x16c)](_0x329311=>{const _0x54eedc=_0x5ce0d4;_0x3adee6[_0x54eedc(0x229)](_0x329311['id'])&&_0x329311[_0x54eedc(0x292)][_0x54eedc(0x209)]===this[_0x54eedc(0x2e3)][_0x54eedc(0x209)]&&this[_0x54eedc(0xf0)]();}));}['_initResize'](){const _0x44505a=_0x204474;this['disposeWithMe'](_0x12b26f(this['_context'][_0x44505a(0x119)][_0x44505a(0x14f)])[_0x44505a(0x12e)](_0x29a11b(_0x489ac3=>_0x489ac3[_0x44505a(0x25b)]===_0x5e88d9[_0x44505a(0x158)]),_0x33413b(0x10))[_0x44505a(0x2de)](()=>{const _0x4b8171=_0x44505a;this[_0x4b8171(0xf0)]();}));}};Le=Mi([Z(0x1,_0x3b5dda(_0x24838b)),Z(0x2,_0x3b5dda(H)),Z(0x3,_0x18b56e),Z(0x4,_0x3b5dda(_0x2d3340))],Le);const Li=0x1,Pi=1.5;class wi extends _0xa02e3f{constructor(_0x1b1aff,_0x5cb967){const _0x32757f=_0x204474;super(_0x1b1aff,_0x5cb967),_(this,'_color'),_(this,_0x32757f(0x2ba),!0x1),_(this,_0x32757f(0x17e)),_(this,'_name',''),_(this,_0x32757f(0x1e3),_0x32757f(0x2c3)),_(this,_0x32757f(0x121)),(_0x5cb967&&this[_0x32757f(0x28f)](_0x5cb967),this[_0x32757f(0x197)]['subscribeEvent'](()=>this[_0x32757f(0x28f)]({'hovered':!0x0})),this[_0x32757f(0x176)][_0x32757f(0x1ed)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x204474(0x28f)](_0x37883b){const _0x437abf=_0x204474;var _0x478f88,_0x1a43d9,_0x34af53,_0x54c1e6,_0x274aab,_0x1bb2b8;this[_0x437abf(0x1a7)]=(_0x478f88=_0x37883b[_0x437abf(0x2b3)])!=null?_0x478f88:this['_color'],this[_0x437abf(0x2ba)]=(_0x1a43d9=_0x37883b[_0x437abf(0x145)])!=null?_0x1a43d9:this[_0x437abf(0x2ba)],this['_range']=(_0x34af53=_0x37883b['range'])!=null?_0x34af53:this['_range'],this[_0x437abf(0x294)]=(_0x54c1e6=_0x37883b[_0x437abf(0x208)])!=null?_0x54c1e6:this[_0x437abf(0x294)],this[_0x437abf(0x1e3)]=(_0x274aab=_0x37883b['labelPosition'])!=null?_0x274aab:this['_labelPosition'],this[_0x437abf(0x121)]=(_0x1bb2b8=_0x37883b[_0x437abf(0x265)])!=null?_0x1bb2b8:this[_0x437abf(0x121)],this['transformByState']({'width':_0x37883b[_0x437abf(0x105)],'height':_0x37883b['height']});}[_0x204474(0x262)](_0x1c6d85){const _0x59524a=_0x204474,{row:_0x483e73,column:_0x46c756}=_0x1c6d85;if(_0x483e73>=this[_0x59524a(0x17e)][_0x59524a(0x11d)]&&_0x483e73<=this['_range'][_0x59524a(0xff)]&&_0x46c756>=this['_range'][_0x59524a(0x1f7)]&&_0x46c756<=this[_0x59524a(0x17e)]['endColumn']){this[_0x59524a(0x28f)]({'hovered':!0x0});return;}this[_0x59524a(0x28f)]({'hovered':!0x1});}[_0x204474(0x297)](_0x5bdab0){return!0x1;}[_0x204474(0x1df)](_0x3b9a85){const _0xa9a7aa=_0x204474;_0x1ac583[_0xa9a7aa(0x28d)](_0x3b9a85,{'width':this['width'],'height':this[_0xa9a7aa(0x291)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xa9a7aa(0x121)]}),this[_0xa9a7aa(0x2ba)]&&(_0x3b9a85['save'](),_0x3b9a85[_0xa9a7aa(0x165)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0xa9a7aa(0x2a5)?0x0:-0x14),he[_0xa9a7aa(0x28d)](_0x3b9a85,{'text':this[_0xa9a7aa(0x294)],'color':this[_0xa9a7aa(0x1a7)]}),_0x3b9a85[_0xa9a7aa(0x235)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x383456,_0xe8df54,_0x28730b,_0x1f203b)=>{const _0x244471=_0x204474;for(var _0x577eae=_0x1f203b>0x1?void 0x0:_0x1f203b?Ai(_0xe8df54,_0x28730b):_0xe8df54,_0xfaf200=_0x383456[_0x244471(0x2d6)]-0x1,_0x23a8cf;_0xfaf200>=0x0;_0xfaf200--)(_0x23a8cf=_0x383456[_0xfaf200])&&(_0x577eae=_0x23a8cf(_0x577eae)||_0x577eae);return _0x577eae;},ve=(_0x45d5b7,_0xc933f2)=>(_0x36cdd1,_0x595a1d)=>_0xc933f2(_0x36cdd1,_0x595a1d,_0x45d5b7);const $i=0x1389;let Pe=class extends _0x50ac14{constructor(_0x26d9ee,_0x26e53e,_0x245e28,_0x468215){const _0x41d21=_0x204474;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x41d21(0x2e3)]=_0x26d9ee,this['_sheetSkeletonManagerService']=_0x26e53e,this[_0x41d21(0x2b9)]=_0x245e28,this[_0x41d21(0x2b1)]=_0x468215,this[_0x41d21(0xfd)]());}[_0x204474(0xfd)](){const _0x1ed988=_0x204474;this['_sheetSkeletonManagerService'][_0x1ed988(0x250)]['pipe'](_0x4288eb(this[_0x1ed988(0x22e)]),_0x594427(_0x449980=>{const _0x4e2f52=_0x1ed988;if(_0x449980){const _0x1dfd43=_0x449980['sheetId'];return _0xd409f(this[_0x4e2f52(0x2b9)][_0x4e2f52(0x179)](this['_context'][_0x4e2f52(0x209)]),this[_0x4e2f52(0x2b1)][_0x4e2f52(0xfc)])[_0x4e2f52(0x12e)](_0x342617(([_0x43fb2c,_0x2d84b3])=>{const _0x24f9df=new Map();return _0x43fb2c['forEach']((_0x41abd0,_0x6db9a7)=>{const _0x1a82e5=_0x5213;if(_0x41abd0[_0x1a82e5(0x273)]===_0x1dfd43){const _0x44f668={..._0x41abd0};_0x44f668[_0x1a82e5(0x2b3)]=this[_0x1a82e5(0x2b1)][_0x1a82e5(0x2b4)](_0x41abd0[_0x1a82e5(0x2b3)]),_0x24f9df['set'](_0x6db9a7,_0x44f668);}}),{'skeleton':_0x449980,'cursors':_0x24f9df};}));}return _0xb7126({'skeleton':null,'cursors':new Map()});}))[_0x1ed988(0x2de)](({skeleton:_0x3a1504,cursors:_0xe8c3b7})=>{const _0x3270fc=_0x1ed988;this[_0x3270fc(0x19d)](),_0x3a1504&&this[_0x3270fc(0x1e6)](_0x3a1504,_0xe8c3b7);}),this[_0x1ed988(0x1d0)][_0x1ed988(0x250)][_0x1ed988(0x2de)](_0x1b28c1=>{const _0x4b6cd2=_0x1ed988;if(_0x1b28c1==null)return;const {skeleton:_0x58e043}=_0x1b28c1,{scene:_0x487071}=this[_0x4b6cd2(0x2e3)];_0x487071[_0x4b6cd2(0xe9)]['subscribeEvent'](_0x2f6b09(_0x444618=>{const _0x5e8a0f=_0x4b6cd2;var _0x16a7b3,_0x5aff1d;const {offsetX:_0x22a552,offsetY:_0x5c06f8}=_0x444618,{x:_0x1b671f,y:_0xb0ff1f}=_0x487071['getRelativeToViewportCoord'](_0x464c78[_0x5e8a0f(0x175)]([_0x22a552,_0x5c06f8])),{scaleX:_0x576670,scaleY:_0xb41b03}=_0x487071[_0x5e8a0f(0x127)](),_0x190895=_0x487071[_0x5e8a0f(0x18e)](_0x1f2151[_0x5e8a0f(0xea)]),_0x48c680=_0x487071[_0x5e8a0f(0x226)](_0x464c78[_0x5e8a0f(0x175)]([_0x1b671f,_0xb0ff1f]),_0x190895),_0x255f98=_0x58e043['getCellPositionByOffset'](_0x22a552,_0x5c06f8,_0x576670,_0xb41b03,_0x48c680);((_0x16a7b3=this[_0x5e8a0f(0x2d2)])==null?void 0x0:_0x16a7b3[_0x5e8a0f(0x1f6)])===_0x255f98[_0x5e8a0f(0x1f6)]&&((_0x5aff1d=this[_0x5e8a0f(0x2d2)])==null?void 0x0:_0x5aff1d['row'])===_0x255f98['row']||this[_0x5e8a0f(0x15b)][_0x5e8a0f(0x21b)](_0x1fffde=>{const _0x48eb49=_0x5e8a0f;_0x1fffde[_0x48eb49(0x262)](_0x255f98);});},0x64));});}['_updateCollabCursors'](_0xf53f16,_0xbb579e){const _0x12f5ed=_0x204474;var _0x244ab4;const _0x2158cc=(_0x244ab4=this[_0x12f5ed(0x1d0)]['getCurrent']())==null?void 0x0:_0x244ab4[_0x12f5ed(0x221)];if(!_0x2158cc)return;const _0x3aa5c2=this['_getSheetObject']();if(!_0x3aa5c2)return;this['_cursors'][_0x12f5ed(0x21b)](_0x15ca50=>{const _0x2a6351=_0x12f5ed;_0x15ca50[_0x2a6351(0x19e)]();});const {scene:_0x2c9668}=_0x3aa5c2,_0x289e24=xi(Array[_0x12f5ed(0x275)](_0xbb579e['values']()))[_0x12f5ed(0x2e2)](_0x27d0b1=>{const _0x243e67=_0x12f5ed,{color:_0x4ab93f,range:_0x2c4ed9,name:_0xd7eec3,selection:_0x3409d2,sheetID:_0x2d53b9}=_0x27d0b1,{startColumn:_0x3c02d1,startRow:_0x27aa1e,endColumn:_0x26a67b,endRow:_0x583702}=_0x2c4ed9,_0x2f55e1=_0x39de4d(_0x27aa1e,_0x3c02d1,_0x2c9668,_0x2158cc),_0x46b624=_0x39de4d(_0x583702,_0x26a67b,_0x2c9668,_0x2158cc),{columnHeaderHeightAndMarginTop:_0x14b10e}=_0x2158cc,{startX:_0x1dc050,startY:_0x16abf4}=_0x2f55e1,{endX:_0x1fac62,endY:_0x2179cb}=_0x46b624,_0x1ffa1c=_0x1fac62-_0x1dc050,_0x948886=_0x2179cb-_0x16abf4,_0x3ef62b={'labelPosition':_0x16abf4-_0x14b10e>=ee?_0x243e67(0x2c3):_0x243e67(0x2a5),'sheetID':_0x2d53b9,'range':_0x2c4ed9,'color':_0x4ab93f,'name':_0xd7eec3,'selection':_0x3409d2,'left':_0x1dc050,'top':_0x16abf4,'width':_0x1ffa1c,'height':_0x948886,'evented':!0x1,'zIndex':$i};return new wi(_0xd7eec3,_0x3ef62b);});_0x2c9668[_0x12f5ed(0x228)](_0x289e24,Li),this[_0x12f5ed(0x15b)]=new Set(_0x289e24);}[_0x204474(0x19d)](){const _0xbe6d94=_0x204474;var _0x2051b4;(_0x2051b4=this[_0xbe6d94(0x15b)])==null||_0x2051b4[_0xbe6d94(0x21b)](_0x455e41=>_0x455e41[_0xbe6d94(0x2da)]());}['_getSheetObject'](){const _0x34b589=_0x204474;return _0x48cf74(this[_0x34b589(0x2e3)][_0x34b589(0x2c2)],this[_0x34b589(0x2e3)]);}};Pe=yi([ve(0x1,_0x3b5dda(_0x2b49dd)),ve(0x2,_0x3b5dda(H)),ve(0x3,_0x3b5dda(_0x2d3340))],Pe);function xi(_0x17b509){const _0x4f6258=_0x204474,_0x40f26e=new Map();return _0x17b509[_0x4f6258(0x21b)](_0x31de3e=>{const _0x407c75=_0x4f6258;if(_0x40f26e['has'](_0x31de3e[_0x407c75(0x139)])){const _0x4426ea=_0x40f26e[_0x407c75(0x156)](_0x31de3e['selection']);_0x4426ea[_0x407c75(0x208)]+=',\x20'+_0x31de3e[_0x407c75(0x208)];}else _0x40f26e[_0x407c75(0x1f2)](_0x31de3e['selection'],_0x31de3e);}),Array[_0x4f6258(0x275)](_0x40f26e[_0x4f6258(0x277)]());}var v=function(){return v=Object['assign']||function(_0x1132f3){const _0x51457e=_0x5213;for(var _0x19a357,_0x5148c3=0x1,_0x115dbb=arguments[_0x51457e(0x2d6)];_0x5148c3<_0x115dbb;_0x5148c3++){_0x19a357=arguments[_0x5148c3];for(var _0x1090f3 in _0x19a357)Object[_0x51457e(0x12b)]['hasOwnProperty'][_0x51457e(0xfb)](_0x19a357,_0x1090f3)&&(_0x1132f3[_0x1090f3]=_0x19a357[_0x1090f3]);}return _0x1132f3;},v['apply'](this,arguments);},Bi=function(_0x213c17,_0x472d64){const _0x2de60b=_0x204474;var _0x14ec22={};for(var _0x44aaa7 in _0x213c17)Object['prototype'][_0x2de60b(0x213)][_0x2de60b(0xfb)](_0x213c17,_0x44aaa7)&&_0x472d64[_0x2de60b(0x210)](_0x44aaa7)<0x0&&(_0x14ec22[_0x44aaa7]=_0x213c17[_0x44aaa7]);if(_0x213c17!=null&&typeof Object[_0x2de60b(0x20d)]==_0x2de60b(0x18b)){for(var _0x518140=0x0,_0x44aaa7=Object[_0x2de60b(0x20d)](_0x213c17);_0x518140<_0x44aaa7[_0x2de60b(0x2d6)];_0x518140++)_0x472d64[_0x2de60b(0x210)](_0x44aaa7[_0x518140])<0x0&&Object['prototype'][_0x2de60b(0x15a)]['call'](_0x213c17,_0x44aaa7[_0x518140])&&(_0x14ec22[_0x44aaa7[_0x518140]]=_0x213c17[_0x44aaa7[_0x518140]]);}return _0x14ec22;},Fe=_0x29dd7f(function(_0x1eb873,_0x1ce122){const _0x55a796=_0x204474;var _0x1d4dce=_0x1eb873[_0x55a796(0x11f)],_0x4e4e44=_0x1eb873['id'],_0x48cab1=_0x1eb873['className'],_0xf8d6d1=_0x1eb873[_0x55a796(0x14b)],_0x348e44=Bi(_0x1eb873,[_0x55a796(0x11f),'id','className',_0x55a796(0x14b)]),_0x534b45=_0x55a796(0x1a3)['concat'](_0x4e4e44,'\x20')[_0x55a796(0x117)](_0x48cab1||'')[_0x55a796(0x102)](),_0x3f0675=_0x2aee69('_'[_0x55a796(0x117)](Fi()));return Rt(_0x1d4dce,''[_0x55a796(0x117)](_0x4e4e44),{'defIds':_0x1d4dce[_0x55a796(0x1c4)],'idSuffix':_0x3f0675[_0x55a796(0x1f4)]},v({'ref':_0x1ce122,'className':_0x534b45},_0x348e44),_0xf8d6d1);});function Rt(_0x286d2d,_0x1c823c,_0x4dd18d,_0x35c512,_0x40d110){const _0x59eeac=_0x204474;return _0x44e4ee(_0x286d2d[_0x59eeac(0x12d)],v(v({'key':_0x1c823c},ki(_0x286d2d,_0x4dd18d,_0x40d110)),_0x35c512),(Hi(_0x286d2d,_0x4dd18d)[_0x59eeac(0x1d2)]||[])[_0x59eeac(0x2e2)](function(_0x382b23,_0x3f8fa3){const _0x96b8f1=_0x59eeac;return Rt(_0x382b23,''[_0x96b8f1(0x117)](_0x1c823c,'-')['concat'](_0x286d2d[_0x96b8f1(0x12d)],'-')[_0x96b8f1(0x117)](_0x3f8fa3),_0x4dd18d,void 0x0,_0x40d110);}));}function ki(_0x13c87c,_0x464107,_0x56ba7b){const _0x41078b=_0x204474;var _0x557e48=v({},_0x13c87c['attrs']);_0x56ba7b!=null&&_0x56ba7b[_0x41078b(0x276)]&&_0x557e48[_0x41078b(0x27a)]===_0x41078b(0x276)&&(_0x557e48['fill']=_0x56ba7b['colorChannel1']),_0x13c87c[_0x41078b(0x12d)]===_0x41078b(0x1f9)&&_0x557e48['id']&&(_0x557e48['id']=_0x557e48['id']+_0x464107[_0x41078b(0x2ec)]),Object['entries'](_0x557e48)[_0x41078b(0x21b)](function(_0x49f9dc){const _0x39a28a=_0x41078b;var _0x24f6b4=_0x49f9dc[0x0],_0x581281=_0x49f9dc[0x1];_0x24f6b4===_0x39a28a(0x1f9)&&typeof _0x581281=='string'&&(_0x557e48[_0x24f6b4]=_0x581281['replace'](/url\(#(.*)\)/,_0x39a28a(0x130)[_0x39a28a(0x117)](_0x464107[_0x39a28a(0x2ec)],')')));});var _0x59ef31=_0x464107[_0x41078b(0x1c4)];return!_0x59ef31||_0x59ef31[_0x41078b(0x2d6)]===0x0||(_0x13c87c[_0x41078b(0x12d)]===_0x41078b(0x23e)&&_0x557e48[_0x41078b(0x1a5)]&&(_0x557e48['xlink:href']=_0x557e48[_0x41078b(0x1a5)]+_0x464107['idSuffix']),Object[_0x41078b(0x24b)](_0x557e48)[_0x41078b(0x21b)](function(_0x3cac19){const _0x154c74=_0x41078b;var _0x1fbd8e=_0x3cac19[0x0],_0x1dda80=_0x3cac19[0x1];typeof _0x1dda80==_0x154c74(0x122)&&(_0x557e48[_0x1fbd8e]=_0x1dda80['replace'](/url\(#(.*)\)/,_0x154c74(0x130)[_0x154c74(0x117)](_0x464107[_0x154c74(0x2ec)],')')));})),_0x557e48;}function Hi(_0x1800e6,_0x1ee9ba){const _0x11d98c=_0x204474;var _0x1aa8f8,_0x1e5e8a=_0x1ee9ba['defIds'];return!_0x1e5e8a||_0x1e5e8a[_0x11d98c(0x2d6)]===0x0?_0x1800e6:_0x1800e6[_0x11d98c(0x12d)]===_0x11d98c(0x231)&&(!((_0x1aa8f8=_0x1800e6['children'])===null||_0x1aa8f8===void 0x0)&&_0x1aa8f8[_0x11d98c(0x2d6)])?v(v({},_0x1800e6),{'children':_0x1800e6[_0x11d98c(0x1d2)][_0x11d98c(0x2e2)](function(_0x315095){const _0x2fd54a=_0x11d98c;return typeof _0x315095['attrs']['id']==_0x2fd54a(0x122)&&_0x1e5e8a&&_0x1e5e8a[_0x2fd54a(0x229)](_0x315095['attrs']['id'])?v(v({},_0x315095),{'attrs':v(v({},_0x315095[_0x2fd54a(0x24a)]),{'id':_0x315095[_0x2fd54a(0x24a)]['id']+_0x1ee9ba[_0x2fd54a(0x2ec)]})}):_0x315095;})}):_0x1800e6;}function Fi(){const _0x517ea4=_0x204474;return Math['random']()['toString'](0x24)[_0x517ea4(0x180)](0x2,0x8);}Fe[_0x204474(0x205)]='UniverIcon';var Yi={'tag':_0x204474(0x153),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x204474(0x123),'width':_0x204474(0x110),'height':_0x204474(0x110)},'children':[{'tag':'g','attrs':{'clipPath':_0x204474(0x174)},'children':[{'tag':_0x204474(0x2eb),'attrs':{'stroke':_0x204474(0x178),'d':'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','strokeLinecap':_0x204474(0x2cf),'strokeLinejoin':_0x204474(0x2cf),'strokeWidth':1.2}}]},{'tag':_0x204474(0x231),'attrs':{},'children':[{'tag':_0x204474(0x237),'attrs':{'id':_0x204474(0x20e)},'children':[{'tag':_0x204474(0x2eb),'attrs':{'fill':'white','d':_0x204474(0x16f)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x29dd7f(function(_0x51aecf,_0x52da27){const _0x42cc1b=_0x204474;return _0x44e4ee(Fe,Object[_0x42cc1b(0x2d5)]({},_0x51aecf,{'id':_0x42cc1b(0x18c),'ref':_0x52da27,'icon':Yi}));});Dt['displayName']=_0x204474(0x1cb);var ji={'tag':'svg','attrs':{'xmlns':_0x204474(0x1c5),'fill':_0x204474(0x230),'viewBox':_0x204474(0x2d8),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x204474(0x1b5)},'children':[{'tag':_0x204474(0x2eb),'attrs':{'stroke':_0x204474(0x178),'d':_0x204474(0x1bf),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x204474(0x237),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x204474(0x2eb),'attrs':{'fill':_0x204474(0x1ba),'d':_0x204474(0x16f),'transform':_0x204474(0x251)}}]}]}],'defIds':[_0x204474(0x1db)]},Nt=_0x29dd7f(function(_0xa8b59c,_0x2d87f8){const _0x4bfa58=_0x204474;return _0x44e4ee(Fe,Object['assign']({},_0xa8b59c,{'id':_0x4bfa58(0x2c9),'ref':_0x2d87f8,'icon':ji}));});Nt[_0x204474(0x205)]=_0x204474(0x133);function Vi(_0x17a2a7){const _0x2740da=_0x204474;switch(_0x17a2a7){case _0x1f5461[_0x2740da(0x1b0)]:return _0x2740da(0x1ae);case _0x1f5461[_0x2740da(0x1ab)]:return'collabStatus.conflict';case _0x1f5461[_0x2740da(0x1cf)]:return'collabStatus.fetchMiss';case _0x1f5461[_0x2740da(0x25d)]:return _0x2740da(0x126);case _0x1f5461[_0x2740da(0x2c6)]:case _0x1f5461[_0x2740da(0x216)]:return _0x2740da(0x28c);case _0x1f5461['SYNCED']:case _0x1f5461[_0x2740da(0x1a6)]:return'collabStatus.synced';}}function Wi(_0x5910f4){const _0x935104=_0x204474,{status$:_0x21a43f}=_0x5910f4,_0x3ae8e1=_0x273e8(_0x21a43f,_0x1f5461[_0x935104(0x25d)]),_0xf82e02=_0x367f3f(_0x474dfa),_0x1a5c61=_0x367f3f(_0x3b3c70),_0x18265d=_0x3ae8e1!==_0x1f5461['OFFLINE'],_0x2c4bdd=_0xf82e02['t'](Vi(_0x3ae8e1)),_0x2f2f2e=_0x18265d?_0x7cacd7(Nt,{}):_0x7cacd7(Dt,{}),_0x2aec41=_0x42e237(()=>{const _0x2b5a9e=_0x935104;_0x18265d||_0x1a5c61[_0x2b5a9e(0x152)]();},[_0x18265d,_0x1a5c61]);function _0x4760c5(){const _0x1c178b=_0x935104;return _0x9022de(_0x1c178b(0x164),{'className':_0x1c178b(0x2b6),'onClick':_0x2aec41,'children':[_0x7cacd7(_0x1c178b(0x164),{'className':_0x1be6b4('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x18265d,'univer-text-red-500':!_0x18265d}),'children':_0x2f2f2e}),_0x7cacd7(_0x1c178b(0x164),{'className':_0x1c178b(0x2df),'children':_0x2c4bdd})]});}return _0x18265d?_0x4760c5():_0x7cacd7(_0x137483,{'title':_0xf82e02['t'](_0x935104(0x159)),'children':_0x4760c5()});}var Xi=Object[_0x204474(0x193)],Gi=(_0x7e4e04,_0x269637,_0x122c41,_0xbb1fd2)=>{const _0xe21ebd=_0x204474;for(var _0x3afaf8=_0xbb1fd2>0x1?void 0x0:_0xbb1fd2?Xi(_0x269637,_0x122c41):_0x269637,_0x23fda8=_0x7e4e04[_0xe21ebd(0x2d6)]-0x1,_0x52a713;_0x23fda8>=0x0;_0x23fda8--)(_0x52a713=_0x7e4e04[_0x23fda8])&&(_0x3afaf8=_0x52a713(_0x3afaf8)||_0x3afaf8);return _0x3afaf8;},Q=(_0x5b38db,_0x59327f)=>(_0xc7eed0,_0x181824)=>_0x59327f(_0xc7eed0,_0x181824,_0x5b38db);let te=class extends _0x2913ee{constructor(_0x7fddb,_0x23ff00,_0x524321,_0x1a259d){const _0x393279=_0x204474;super(),_(this,_0x393279(0x112),new _0x10b606(_0x1f5461[_0x393279(0x25d)])),(this[_0x393279(0x285)]=_0x7fddb,this['_injector']=_0x23ff00,this[_0x393279(0x12c)]=_0x524321,this[_0x393279(0x206)]=_0x1a259d,this[_0x393279(0x132)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5117a9=_0x204474;this[_0x5117a9(0x169)](this[_0x5117a9(0x285)][_0x5117a9(0x2bf)]['pipe'](_0x206773(()=>{const _0x1ae120=_0x5117a9,_0x3f09e6=this[_0x1ae120(0x285)][_0x1ae120(0x1ac)]();return _0x3f09e6?this['_collaborationController'][_0x1ae120(0x160)](_0x3f09e6[_0x1ae120(0x1fb)]()):_0xb7126(null);}),_0x206773(_0x51f241=>_0x51f241?_0x51f241['status$']:_0xb7126(_0x1f5461[_0x5117a9(0x25d)])))[_0x5117a9(0x2de)](_0x465b13=>{const _0x592412=_0x5117a9;this['_status$'][_0x592412(0x281)](_0x465b13);}));}[_0x204474(0x132)](){const _0x5400cc=_0x204474;this[_0x5400cc(0x169)](this['_uiPartsService'][_0x5400cc(0x27b)](_0x589be7[_0x5400cc(0x1dd)],()=>_0xbe971e(Ki({'status$':this['_status$']['asObservable']()}),this[_0x5400cc(0x20a)])));}};te=Gi([Q(0x0,_0x454f61),Q(0x1,_0x3b5dda(_0x3ff8dd)),Q(0x2,_0x3b5dda(_0x46734f)),Q(0x3,_0x11c0ba)],te);function _0x5213(_0x1faf21,_0x4a85b5){const _0x14395b=_0x1439();return _0x5213=function(_0x5213c9,_0x21dbe8){_0x5213c9=_0x5213c9-0xe6;let _0x180638=_0x14395b[_0x5213c9];return _0x180638;},_0x5213(_0x1faf21,_0x4a85b5);}function Ki(_0x318c7c){const {status$:_0x7176ee}=_0x318c7c;return function(){return _0x7cacd7(Wi,{'status$':_0x7176ee});};}var zi=Object[_0x204474(0x193)],Ji=(_0x229cf5,_0x3f4394,_0x282a98,_0x4f8f1f)=>{const _0x51ce76=_0x204474;for(var _0x34dfaf=_0x4f8f1f>0x1?void 0x0:_0x4f8f1f?zi(_0x3f4394,_0x282a98):_0x3f4394,_0x3f4dfc=_0x229cf5[_0x51ce76(0x2d6)]-0x1,_0x259a28;_0x3f4dfc>=0x0;_0x3f4dfc--)(_0x259a28=_0x229cf5[_0x3f4dfc])&&(_0x34dfaf=_0x259a28(_0x34dfaf)||_0x34dfaf);return _0x34dfaf;},B=(_0x5ecd90,_0x181c19)=>(_0x309964,_0x10d970)=>_0x181c19(_0x309964,_0x10d970,_0x5ecd90);let se=class extends _0x2913ee{constructor(_0x2e7cc3,_0x35117a,_0x4c5a18,_0x245e74,_0x304757,_0x458b63){const _0x1d1db1=_0x204474;super(),this['_beforeCloseService']=_0x2e7cc3,this[_0x1d1db1(0x1f3)]=_0x35117a,this[_0x1d1db1(0x2c8)]=_0x4c5a18,this[_0x1d1db1(0x21d)]=_0x245e74,this[_0x1d1db1(0x2e6)]=_0x304757,this[_0x1d1db1(0x2f1)]=_0x458b63,this[_0x1d1db1(0x167)](),this[_0x1d1db1(0x248)]();}[_0x204474(0x167)](){const _0x3fadf6=_0x204474;this[_0x3fadf6(0x169)](this[_0x3fadf6(0x11c)][_0x3fadf6(0x177)](()=>{const _0x174438=_0x3fadf6;if(this[_0x174438(0x1f3)][_0x174438(0x1e2)]['size'])return this[_0x174438(0x2f1)]['t'](_0x174438(0x1a4));}));}['_initEvent'](){const _0x34730a=_0x204474;this['disposeWithMe'](this[_0x34730a(0x2c8)][_0x34730a(0x27c)]['subscribe'](_0x401ba7=>{const _0x3cb0f8=_0x34730a;_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x20f)]&&this[_0x3cb0f8(0x21d)][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x19a)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x25f)]&&this[_0x3cb0f8(0x21d)][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x19a)],'content':this[_0x3cb0f8(0x2f1)]['t'](_0x3cb0f8(0x214))}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x16e)]&&this[_0x3cb0f8(0x2e6)][_0x3cb0f8(0x1dc)]({'title':this[_0x3cb0f8(0x2f1)]['t'](_0x3cb0f8(0x187)),'content':this['_localeService']['t'](_0x3cb0f8(0x100)),'type':_0x3cb0f8(0x13e),'duration':0x0}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x1ab)]&&this[_0x3cb0f8(0x21d)][_0x3cb0f8(0x1dc)]({'type':_0x1f7332['Error'],'content':this[_0x3cb0f8(0x2f1)]['t']('collaboration.closeRoom')+'('+_0x401ba7[_0x3cb0f8(0x172)]+')'}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x204)]&&this['_messageService'][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x19a)],'content':this[_0x3cb0f8(0x2f1)]['t'](_0x401ba7['data']||'')}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x232)]&&this['_messageService'][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x19a)],'content':this[_0x3cb0f8(0x2f1)]['t'](_0x3cb0f8(0x2db))}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x124)]&&this[_0x3cb0f8(0x21d)][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x186)],'content':this[_0x3cb0f8(0x2f1)]['t'](_0x3cb0f8(0x1a0))}),_0x401ba7['id']===_0x168a89[_0x3cb0f8(0x144)]&&this['_messageService'][_0x3cb0f8(0x1dc)]({'type':_0x1f7332[_0x3cb0f8(0x186)],'content':this[_0x3cb0f8(0x2f1)]['t'](_0x3cb0f8(0x1cd))});}));}};se=Ji([B(0x0,_0x100b40),B(0x1,_0x1ee374),B(0x2,_0x3b5dda(_0x25f36d)),B(0x3,_0x59af27),B(0x4,_0x25f805),B(0x5,_0x3b5dda(_0x474dfa))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x17f822(_0x204474(0x17b));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5bbeda,_0x4aac3a,_0x5dde05,_0x1d25fc)=>{const _0x324163=_0x204474;for(var _0x3efa63=_0x1d25fc>0x1?void 0x0:_0x1d25fc?Qi(_0x4aac3a,_0x5dde05):_0x4aac3a,_0x84e9fa=_0x5bbeda[_0x324163(0x2d6)]-0x1,_0x595cea;_0x84e9fa>=0x0;_0x84e9fa--)(_0x595cea=_0x5bbeda[_0x84e9fa])&&(_0x3efa63=_0x595cea(_0x3efa63)||_0x3efa63);return _0x3efa63;},G=(_0x4ae23a,_0x31b41d)=>(_0x1fc108,_0x787ff8)=>_0x31b41d(_0x1fc108,_0x787ff8,_0x4ae23a);let ie=class extends _0x50ac14{constructor(_0x3aa5ae,_0x5d7d35,_0x197944,_0x51b311,_0x14cf8e){const _0x5b7110=_0x204474;super(),this[_0x5b7110(0x1e1)]=_0x3aa5ae,this['_logService']=_0x5d7d35,this[_0x5b7110(0x2b0)]=_0x197944,this[_0x5b7110(0x286)]=_0x51b311,_0x14cf8e?_0x14cf8e==null||_0x14cf8e[_0x5b7110(0x2e9)]()[_0x5b7110(0x239)](()=>this[_0x5b7110(0xfd)]()):(this[_0x5b7110(0x196)][_0x5b7110(0x2d4)](_0x5b7110(0x161),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5b7110(0xfd)]());}async['_init'](){const _0xaa21de=_0x204474,_0x2bf162=this[_0xaa21de(0x1e1)][_0xaa21de(0x143)](_0xaa21de(0x2c2)),_0x1e620f=this[_0xaa21de(0x1e1)][_0xaa21de(0x143)](_0xaa21de(0x25b)),_0x3cf052=this[_0xaa21de(0x1e1)][_0xaa21de(0x143)](_0xaa21de(0x1a9));if(!_0x2bf162||!_0x1e620f){this[_0xaa21de(0x196)][_0xaa21de(0x2d4)](_0xaa21de(0x161),_0xaa21de(0x1cc));return;}const _0x5019d4=await this['_dataLoaderService']['loadUnit'](_0x2bf162,Number(_0x1e620f),_0x3cf052);_0x5019d4&&_0x5019d4 instanceof _0x44fe7d&&this['_setupSubUnitSync'](_0x5019d4);}async[_0x204474(0x21c)](_0x3d9ac5){const _0xdc935a=_0x204474;await this[_0xdc935a(0x115)](_0x3d9ac5),_0x3d9ac5['activeSheet$'][_0xdc935a(0x12e)](_0x1708d9(this[_0xdc935a(0x22e)]))[_0xdc935a(0x2de)](_0x2df668=>{const _0x4e43f8=_0xdc935a;_0x2df668&&this[_0x4e43f8(0x1a1)](_0x2df668);}),this['_urlService'][_0xdc935a(0x253)][_0xdc935a(0x12e)](_0x1708d9(this[_0xdc935a(0x22e)]))[_0xdc935a(0x2de)](()=>this[_0xdc935a(0x115)](_0x3d9ac5));}[_0x204474(0x1a1)](_0x4f6113,_0x11c079=!0x1){const _0xd15e5a=_0x204474,_0x2c6b7b=this[_0xd15e5a(0x1e1)][_0xd15e5a(0x143)](_0xd15e5a(0x1a9));_0x4f6113[_0xd15e5a(0x10f)]()!==_0x2c6b7b&&this[_0xd15e5a(0x1e1)]['setParam'](_0xd15e5a(0x1a9),_0x4f6113[_0xd15e5a(0x10f)](),_0x11c079);}async['_updateSubUnitFromURLParams'](_0x138173){const _0x1f1baf=_0x204474;var _0x3b7f27;const _0x935b45=this[_0x1f1baf(0x1e1)][_0x1f1baf(0x143)](_0x1f1baf(0x1a9));if(!_0x935b45||!_0x138173['getSheetBySheetId'](_0x935b45)){const _0x287ebd=_0x138173[_0x1f1baf(0x1ea)]()[0x0],_0x427978=_0x138173[_0x1f1baf(0x28a)](_0x287ebd);if(!_0x427978)return;this[_0x1f1baf(0x1a1)](_0x427978,!0x0),await this[_0x1f1baf(0x2b0)]['executeCommand'](_0x279503['id'],{'unitId':_0x138173[_0x1f1baf(0x1fb)](),'subUnitId':_0x287ebd});return;}((_0x3b7f27=_0x138173['getActiveSheet']())==null?void 0x0:_0x3b7f27[_0x1f1baf(0x10f)]())!==_0x935b45&&await this['_commandService']['executeCommand'](_0x279503['id'],{'unitId':_0x138173[_0x1f1baf(0x1fb)](),'subUnitId':_0x935b45});}};ie=qi([G(0x0,Ut),G(0x1,_0x394cd6),G(0x2,_0x18b56e),G(0x3,_0x3b5dda(_0x28bc42)),G(0x4,_0x3d4faf(_0x30d406))],ie);var en=Object[_0x204474(0x193)],tn=(_0x43d044,_0x36ce86,_0x523cc0,_0x3408e6)=>{const _0x292660=_0x204474;for(var _0x3901cb=_0x3408e6>0x1?void 0x0:_0x3408e6?en(_0x36ce86,_0x523cc0):_0x36ce86,_0x559430=_0x43d044[_0x292660(0x2d6)]-0x1,_0x46aa4e;_0x559430>=0x0;_0x559430--)(_0x46aa4e=_0x43d044[_0x559430])&&(_0x3901cb=_0x46aa4e(_0x3901cb)||_0x3901cb);return _0x3901cb;},pe=(_0x420575,_0x5baad1)=>(_0x1965b3,_0x2cf8bd)=>_0x5baad1(_0x1965b3,_0x2cf8bd,_0x420575);let ne=class{constructor(_0x443bac,_0x17f877,_0x52184c){const _0x541926=_0x204474;this['_injector']=_0x443bac,this[_0x541926(0x284)]=_0x17f877,this[_0x541926(0x212)]=_0x52184c;}[_0x204474(0x1c6)](_0x33024e){const _0x13f41d=_0x204474;this[_0x13f41d(0x1c0)](_0x33024e),this[_0x13f41d(0x2c0)](_0x33024e);}[_0x204474(0xf8)](_0x83009a){const _0x3edbd0=_0x204474,{unitID:_0x54412e}=_0x83009a,_0x2bd567=this[_0x3edbd0(0x212)][_0x3edbd0(0x1aa)](_0x54412e)['with'](_0x17fbae),{redoCache:_0x4fefe4}=_0x2bd567[_0x3edbd0(0x24d)]();if(_0x4fefe4[_0x3edbd0(0x2d6)]===0x0)return _0x83009a;let _0x316398=_0x1b22d2[_0x3edbd0(0x18d)](_0x83009a[_0x3edbd0(0x242)][0x0]);for(let _0x2f73b0=0x0;_0x2f73b0<_0x4fefe4['length'];_0x2f73b0++){const _0x12c0ff={'id':_0x3edbd0(0x29c),'params':{..._0x4fefe4[_0x2f73b0]}},_0x23056a=this[_0x3edbd0(0x284)][_0x3edbd0(0x18a)](_0x316398,_0x12c0ff,!0x1);if(_0x353d8c(_0x23056a))throw _0x23056a[_0x3edbd0(0x13e)];_0x316398=_0x23056a[_0x3edbd0(0xf2)];}return{..._0x1b22d2['deepClone'](_0x83009a),'mutations':[_0x316398]};}[_0x204474(0x1c0)](_0x4fef1f){const _0x1c108c=_0x204474,{unitID:_0x2d608}=_0x4fef1f,_0x326afd=this[_0x1c108c(0x212)][_0x1c108c(0x1aa)](_0x2d608)[_0x1c108c(0x238)](_0x17fbae),{undoCache:_0x95d674,redoCache:_0x3a1661}=_0x326afd[_0x1c108c(0x24d)]();if(_0x95d674['length']===0x0||_0x3a1661[_0x1c108c(0x2d6)]===0x0)return;const _0x28723a=[],_0x3738b7=[];let _0x56ba44=_0x1b22d2[_0x1c108c(0x18d)](_0x4fef1f[_0x1c108c(0x242)][0x0]),_0x380ca6=_0x1b22d2[_0x1c108c(0x18d)](_0x4fef1f['mutations'][0x0]);for(let _0x2eaa73=_0x95d674[_0x1c108c(0x2d6)]-0x1;_0x2eaa73>=0x0;_0x2eaa73--){const _0x1e7361={'id':'doc.mutation.rich-text-editing','params':{..._0x95d674[_0x2eaa73]}},_0x2b6e7a={'id':_0x1c108c(0x29c),'params':{..._0x3a1661[_0x2eaa73]}},_0x58fa7a=this[_0x1c108c(0x284)]['transformMutation'](_0x56ba44,_0x1e7361,!0x1),_0x174680=this[_0x1c108c(0x284)][_0x1c108c(0x18a)](_0x380ca6,_0x2b6e7a,!0x1);if(_0x353d8c(_0x58fa7a))throw _0x58fa7a[_0x1c108c(0x13e)];if(_0x353d8c(_0x174680))throw _0x174680[_0x1c108c(0x13e)];_0x28723a['unshift'](_0x58fa7a[_0x1c108c(0x1c8)]['params']),_0x3738b7['unshift'](_0x174680[_0x1c108c(0x1c8)]['params']),_0x56ba44=_0x58fa7a[_0x1c108c(0xf2)],_0x380ca6=_0x174680[_0x1c108c(0xf2)];}_0x326afd[_0x1c108c(0x218)]({'undoCache':_0x28723a,'redoCache':_0x3738b7});}[_0x204474(0x2c0)](_0xe371c5){const _0x3f892d=_0x204474,{unitID:_0x3481fb}=_0xe371c5,_0x272f82=this['_renderManagerService'][_0x3f892d(0x1aa)](_0x3481fb)['with'](_0x17fbae),_0x22192f=_0x272f82[_0x3f892d(0x27e)]();if(_0x22192f==null)return;const _0x3a96cb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe371c5[_0x3f892d(0x1c3)],'actions':null,'textRanges':[_0x22192f]}}],_0x5c9237=this[_0x3f892d(0x284)][_0x3f892d(0x113)](_0xe371c5,_0x3a96cb);if(!_0xe01674(_0x5c9237))throw _0x5c9237[_0x3f892d(0x13e)];const _0x579daf=_0x5c9237[_0x3f892d(0x1c8)][0x0][_0x3f892d(0x292)][_0x3f892d(0x2a7)];Array[_0x3f892d(0x136)](_0x579daf)&&_0x579daf[_0x3f892d(0x2d6)]&&_0x272f82[_0x3f892d(0xec)](_0x579daf[0x0]);}};ne=tn([pe(0x0,_0x3b5dda(_0x3ff8dd)),pe(0x1,_0x43fa09),pe(0x2,_0x2cb401)],ne);var sn=Object[_0x204474(0x193)],nn=(_0x14f734,_0x2d3914,_0x38f06a,_0x147563)=>{const _0x51ebc4=_0x204474;for(var _0x2ac6da=_0x147563>0x1?void 0x0:_0x147563?sn(_0x2d3914,_0x38f06a):_0x2d3914,_0x40af15=_0x14f734[_0x51ebc4(0x2d6)]-0x1,_0x1409da;_0x40af15>=0x0;_0x40af15--)(_0x1409da=_0x14f734[_0x40af15])&&(_0x2ac6da=_0x1409da(_0x2ac6da)||_0x2ac6da);return _0x2ac6da;},Ce=(_0x5b8ebf,_0x26016f)=>(_0x451def,_0xcf0c06)=>_0x26016f(_0x451def,_0xcf0c06,_0x5b8ebf);let re=class{constructor(_0x223313,_0x389a85,_0x2a9134){const _0x3f3953=_0x204474;this[_0x3f3953(0x20a)]=_0x223313,this[_0x3f3953(0x284)]=_0x389a85,this[_0x3f3953(0x29a)]=_0x2a9134;}[_0x204474(0x190)](_0x561355){const _0xea217=_0x204474;this[_0xea217(0x17c)](_0x561355);}['transformRemoteChangeset'](_0x537b7e){const _0x320022=_0x204474,{unitID:_0x2fa264}=_0x537b7e,{collaboration:_0xda421b}=this[_0x320022(0x29a)][_0x320022(0x29e)](_0x2fa264);if(_0xda421b[_0x320022(0x2d6)]===0x0)return _0x537b7e;let _0x505f84=_0x1b22d2['deepClone'](_0x537b7e['mutations'][0x0]);for(let _0x4705b0=0x0;_0x4705b0<_0xda421b['length'];_0x4705b0++){const _0x5d0239={'id':_0x320022(0x29c),'params':{'unitId':_0xda421b[_0x4705b0]['unitId'],..._0xda421b[_0x4705b0][_0x320022(0x1c7)]}},_0x50de4c=this[_0x320022(0x284)][_0x320022(0x18a)](_0x505f84,_0x5d0239,!0x1);if(_0x353d8c(_0x50de4c))throw _0x50de4c[_0x320022(0x13e)];_0x505f84=_0x50de4c[_0x320022(0xf2)];}return{..._0x1b22d2[_0x320022(0x18d)](_0x537b7e),'mutations':[_0x505f84]};}['_transformHistoryAndStateStack'](_0x47b1ff){const _0x4c6e76=_0x204474,{unitID:_0x576702}=_0x47b1ff,{history:_0x1c6647,collaboration:_0x126d2c}=this[_0x4c6e76(0x29a)][_0x4c6e76(0x29e)](_0x576702);if(_0x1c6647[_0x4c6e76(0x2d6)]===0x0&&_0x126d2c[_0x4c6e76(0x2d6)]===0x0)return;const _0xe8f526=[],_0x91978a=[];let _0x5d1cfd=_0x1b22d2[_0x4c6e76(0x18d)](_0x47b1ff['mutations'][0x0]),_0x5caa22=_0x1b22d2[_0x4c6e76(0x18d)](_0x47b1ff[_0x4c6e76(0x242)][0x0]);for(let _0x54a822=_0x1c6647[_0x4c6e76(0x2d6)]-0x1;_0x54a822>=0x0;_0x54a822--){const _0x5bedf0={'id':_0x4c6e76(0x29c),'params':{'unitId':_0x1c6647[_0x54a822][_0x4c6e76(0x209)],..._0x1c6647[_0x54a822][_0x4c6e76(0x1d9)]}},_0x119cc3={'id':_0x4c6e76(0x29c),'params':{'unitId':_0x1c6647[_0x54a822][_0x4c6e76(0x209)],..._0x1c6647[_0x54a822][_0x4c6e76(0x1c7)]}},_0x5b3696=this[_0x4c6e76(0x284)][_0x4c6e76(0x18a)](_0x5d1cfd,_0x5bedf0,!0x1),_0x3758df=this[_0x4c6e76(0x284)][_0x4c6e76(0x18a)](_0x5caa22,_0x119cc3,!0x1);if(_0x353d8c(_0x5b3696))throw _0x5b3696[_0x4c6e76(0x13e)];if(_0x353d8c(_0x3758df))throw _0x3758df['error'];_0xe8f526[_0x4c6e76(0x29b)]({..._0x1c6647[_0x54a822],'undoState':_0x5b3696[_0x4c6e76(0x1c8)][_0x4c6e76(0x292)],'redoState':_0x3758df[_0x4c6e76(0x1c8)]['params']}),_0x5d1cfd=_0x5b3696[_0x4c6e76(0xf2)],_0x5caa22=_0x3758df['m1Prime'];}_0x5d1cfd=_0x1b22d2[_0x4c6e76(0x18d)](_0x47b1ff['mutations'][0x0]),_0x5caa22=_0x1b22d2['deepClone'](_0x47b1ff[_0x4c6e76(0x242)][0x0]);for(let _0x5eb502=_0x126d2c[_0x4c6e76(0x2d6)]-0x1;_0x5eb502>=0x0;_0x5eb502--){const _0x4817f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x126d2c[_0x5eb502][_0x4c6e76(0x209)],..._0x126d2c[_0x5eb502][_0x4c6e76(0x1d9)]}},_0x3306e5={'id':_0x4c6e76(0x29c),'params':{'unitId':_0x126d2c[_0x5eb502][_0x4c6e76(0x209)],..._0x126d2c[_0x5eb502]['redoState']}},_0x2c1bd5=this[_0x4c6e76(0x284)]['transformMutation'](_0x5d1cfd,_0x4817f9,!0x1),_0x585e18=this[_0x4c6e76(0x284)]['transformMutation'](_0x5caa22,_0x3306e5,!0x1);if(_0x353d8c(_0x2c1bd5))throw _0x2c1bd5[_0x4c6e76(0x13e)];if(_0x353d8c(_0x585e18))throw _0x585e18[_0x4c6e76(0x13e)];_0x91978a[_0x4c6e76(0x29b)]({..._0x126d2c[_0x5eb502],'undoState':_0x2c1bd5[_0x4c6e76(0x1c8)]['params'],'redoState':_0x585e18[_0x4c6e76(0x1c8)]['params']}),_0x5d1cfd=_0x2c1bd5[_0x4c6e76(0xf2)],_0x5caa22=_0x585e18[_0x4c6e76(0xf2)];}this[_0x4c6e76(0x29a)][_0x4c6e76(0x1b8)](_0x576702,{'history':_0xe8f526,'collaboration':_0x91978a});}};re=nn([Ce(0x0,_0x3b5dda(_0x3ff8dd)),Ce(0x1,_0x43fa09),Ce(0x2,_0x3b5dda(_0xd7d387))],re);var rn=Object[_0x204474(0x193)],on=(_0x143279,_0x4c3dd0,_0x4604d0,_0x42c65a)=>{const _0x698d80=_0x204474;for(var _0x5f118e=_0x42c65a>0x1?void 0x0:_0x42c65a?rn(_0x4c3dd0,_0x4604d0):_0x4c3dd0,_0x5468ed=_0x143279[_0x698d80(0x2d6)]-0x1,_0x4de3b2;_0x5468ed>=0x0;_0x5468ed--)(_0x4de3b2=_0x143279[_0x5468ed])&&(_0x5f118e=_0x4de3b2(_0x5f118e)||_0x5f118e);return _0x5f118e;},tt=(_0x2a3f55,_0x2461be)=>(_0x32851a,_0x359310)=>_0x2461be(_0x32851a,_0x359310,_0x2a3f55);let oe=class{constructor(_0x1cd479,_0x141383){const _0x383c15=_0x204474;this[_0x383c15(0x20a)]=_0x1cd479,this[_0x383c15(0x284)]=_0x141383;}[_0x204474(0x13a)](_0x174673){const _0x4caa27=_0x204474;var _0x135adb;const _0x18c658=this[_0x4caa27(0x20a)][_0x4caa27(0x156)](_0x209356),_0xa7157b=(_0x135adb=_0x18c658[_0x4caa27(0x16b)]())!=null?_0x135adb:[];if(_0xa7157b[_0x4caa27(0x2d6)]===0x0)return;const _0x7d5e2d=_0x174673[_0x4caa27(0x1c3)],_0x4c38bb=[{'id':_0x4caa27(0x29c),'params':{'unitId':_0x7d5e2d,'actions':null,'textRanges':_0xa7157b}}],_0xa9b0b0=this[_0x4caa27(0x284)][_0x4caa27(0x113)](_0x174673,_0x4c38bb);if(!_0xe01674(_0xa9b0b0))throw _0xa9b0b0[_0x4caa27(0x13e)];const _0x55798f=_0xa9b0b0['m2Prime'][0x0][_0x4caa27(0x292)]['textRanges'];Array[_0x4caa27(0x136)](_0x55798f)&&_0x55798f[_0x4caa27(0x2d6)]&&_0x18c658[_0x4caa27(0x268)](_0x55798f,{'unitId':_0x7d5e2d,'subUnitId':_0x7d5e2d},!0x1);}};oe=on([tt(0x0,_0x3b5dda(_0x3ff8dd)),tt(0x1,_0x43fa09)],oe);var an=Object[_0x204474(0x193)],cn=(_0x49f220,_0x3d5a1d,_0xdb847f,_0x25d956)=>{const _0x415b30=_0x204474;for(var _0x15c755=_0x25d956>0x1?void 0x0:_0x25d956?an(_0x3d5a1d,_0xdb847f):_0x3d5a1d,_0xa4687d=_0x49f220[_0x415b30(0x2d6)]-0x1,_0x2e9fea;_0xa4687d>=0x0;_0xa4687d--)(_0x2e9fea=_0x49f220[_0xa4687d])&&(_0x15c755=_0x2e9fea(_0x15c755)||_0x15c755);return _0x15c755;},U=(_0xcea6d,_0x18b524)=>(_0x31b5e7,_0x3b3252)=>_0x18b524(_0x31b5e7,_0x3b3252,_0xcea6d);let ae=class extends _0x2913ee{constructor(_0x14d2ed,_0x6121ca,_0x29a22d,_0x2d776b,_0x3994a6,_0x20dcd9,_0x3b23af,_0x505c4f){const _0x2a75cf=_0x204474;super(),_(this,_0x2a75cf(0x112),new _0x10b606(_0x1f5461[_0x2a75cf(0x25d)])),(this['_docStateChangeManagerService']=_0x14d2ed,this[_0x2a75cf(0x12c)]=_0x6121ca,this[_0x2a75cf(0x293)]=_0x29a22d,this[_0x2a75cf(0x2ed)]=_0x2d776b,this[_0x2a75cf(0x21f)]=_0x3994a6,this[_0x2a75cf(0x140)]=_0x20dcd9,this[_0x2a75cf(0x21d)]=_0x3b23af,this[_0x2a75cf(0x2f1)]=_0x505c4f,this[_0x2a75cf(0x252)]());}['_initEntityListener'](){const _0xb53d3d=_0x204474;this['disposeWithMe'](this[_0xb53d3d(0x12c)][_0xb53d3d(0x243)]['subscribe'](_0x5b2fa0=>{const _0x1bd86b=_0xb53d3d,_0x11cd8e=this[_0x1bd86b(0x29a)][_0x1bd86b(0x14a)]['subscribe'](_0x43ce57=>{const _0x466a0e=_0x1bd86b;if(_0x43ce57==null)return;const {unitId:_0xf4f3c9,redoState:_0x23727b,commandId:_0x346b3f}=_0x43ce57;if(_0xf4f3c9!==_0x5b2fa0['unitID'])return;const _0x16870b={'id':_0x346b3f,'type':_0x19e99a[_0x466a0e(0x1f0)],'params':{'unitId':_0xf4f3c9,'actions':_0x23727b['actions'],'textRanges':null}};_0x5b2fa0[_0x466a0e(0x29d)](_0x16870b);});if(_0x5b2fa0[_0x1bd86b(0x169)](_0x11cd8e),_0x5b2fa0 instanceof _0x48e509){const _0x19aac7={'onTransformIME':_0x290f66=>this['_docTransformIMECacheService'][_0x1bd86b(0x1c6)](_0x290f66),'onTransformState':_0x2ff827=>this['_docTransformStateCacheService']['transformStateCache'](_0x2ff827),'onTransformSelections':_0x43c1f8=>this['_docTransformSelectionsService'][_0x1bd86b(0x13a)](_0x43c1f8),'onSyncEditingCollabCursor':_0x42ce1d=>this[_0x1bd86b(0x140)]['syncEditingCollabCursor'](_0x42ce1d),'onTransformRemoteChangesetByIMECache':_0x3eb949=>this[_0x1bd86b(0x293)][_0x1bd86b(0xf8)](_0x3eb949),'onTransformRemoteChangesetByStateCache':_0x72e335=>this[_0x1bd86b(0x2ed)]['transformRemoteChangeset'](_0x72e335)};_0x5b2fa0[_0x1bd86b(0x189)](_0x19aac7);}}));}};ae=cn([U(0x0,_0x3b5dda(_0xd7d387)),U(0x1,_0x3b5dda(_0x46734f)),U(0x2,_0x3b5dda(ne)),U(0x3,_0x3b5dda(re)),U(0x4,_0x3b5dda(oe)),U(0x5,_0x3b5dda(He)),U(0x6,_0x59af27),U(0x7,_0x3b5dda(_0x474dfa))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3b2f50,_0x285e4b,_0x1684ac,_0x4e9dc2)=>{const _0x253142=_0x204474;for(var _0x311e28=_0x4e9dc2>0x1?void 0x0:_0x4e9dc2?ln(_0x285e4b,_0x1684ac):_0x285e4b,_0xb4dccf=_0x3b2f50[_0x253142(0x2d6)]-0x1,_0x350b81;_0xb4dccf>=0x0;_0xb4dccf--)(_0x350b81=_0x3b2f50[_0xb4dccf])&&(_0x311e28=_0x350b81(_0x311e28)||_0x311e28);return _0x311e28;},Ee=(_0x1c8641,_0x42d58d)=>(_0x44d91f,_0x3d7b94)=>_0x42d58d(_0x44d91f,_0x3d7b94,_0x1c8641);let we=class extends _0x2913ee{constructor(_0x4502a4,_0xf4096e,_0x2f9700){const _0x4749dc=_0x204474;super(),_(this,'_cachedData',new Map()),_(this,_0x4749dc(0x1b3),new Map()),_(this,_0x4749dc(0x1ef),!0x1),(this[_0x4749dc(0x2e5)]=_0x4502a4,this[_0x4749dc(0x182)]=_0xf4096e,this[_0x4749dc(0x2ac)]=_0x2f9700);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x204474(0x20b)](){const _0x3d7e18=_0x204474;this[_0x3d7e18(0x1ef)]=!0x1;}get[_0x204474(0x1e2)](){return this['_saveTaskMap'];}[_0x204474(0x2da)](){const _0x913096=_0x204474;this[_0x913096(0x25e)]()[_0x913096(0x239)](()=>super[_0x913096(0x2da)]());}async[_0x204474(0x254)](_0xf1f918){const _0x242a54=_0x204474;return this[_0x242a54(0x1ef)]?null:this[_0x242a54(0x182)][_0x242a54(0x10a)](_0x3b0d41(_0xf1f918));}async[_0x204474(0x21e)](_0x29053d,_0x512dc7){const _0x21177c=_0x204474;return!!this[_0x21177c(0x182)][_0x21177c(0x2e7)](_0x29053d,_0x512dc7);}[_0x204474(0x1da)](_0x458777,_0x53ef7d,_0x2995fe,_0x456253){const _0x1ab8d0=_0x204474,_0x52e86d=this[_0x1ab8d0(0x2ac)][_0x1ab8d0(0x11b)](_0x458777);this[_0x1ab8d0(0x26c)][_0x1ab8d0(0x1f2)](_0x458777,{'unitID':_0x458777,'type':_0x53ef7d,'awaitingChangeset':_0x2995fe,'mutations':_0x456253,'rev':_0x52e86d}),this[_0x1ab8d0(0x1b3)][_0x1ab8d0(0x279)](_0x458777)||this[_0x1ab8d0(0x19c)](_0x458777);}[_0x204474(0x19c)](_0x545be4){const _0x4f1a58=_0x204474,_0x5553d9=this[_0x4f1a58(0x198)]();_0x5553d9===0x0?this[_0x4f1a58(0x120)](_0x545be4):this[_0x4f1a58(0x1b3)][_0x4f1a58(0x1f2)](_0x545be4,setTimeout(()=>this['_saveCache'](_0x545be4),_0x5553d9));}[_0x204474(0x198)](){const _0x41c6fa=_0x204474;var _0x17cced;return(_0x17cced=this[_0x41c6fa(0x2e5)][_0x41c6fa(0x149)](_0x35f443))!=null?_0x17cced:_0x17b384;}[_0x204474(0x120)](_0x431939){const _0x41d340=_0x204474,_0x4546af=this[_0x41d340(0x1b3)][_0x41d340(0x156)](_0x431939);return _0x4546af!==void 0x0&&window['clearTimeout'](_0x4546af),this[_0x41d340(0x182)]['setItem'](_0x3b0d41(_0x431939),this[_0x41d340(0x26c)][_0x41d340(0x156)](_0x431939))[_0x41d340(0x239)](()=>this[_0x41d340(0x1b3)][_0x41d340(0x23c)](_0x431939));}async[_0x204474(0x25e)](){const _0x4a8527=_0x204474,_0x475317=[];this[_0x4a8527(0x1b3)]['forEach']((_0x1d8fa0,_0xd42a92)=>{const _0x172580=_0x4a8527;window[_0x172580(0x260)](_0x1d8fa0),_0x475317['push'](this[_0x172580(0x120)](_0xd42a92)[_0x172580(0x239)](()=>{const _0x39f229=_0x172580;this[_0x39f229(0x1b3)][_0x39f229(0x23c)](_0xd42a92);}));}),await Promise[_0x4a8527(0x111)](_0x475317);}};we=_n([Ee(0x0,_0x5dad6a),Ee(0x1,_0x557636),Ee(0x2,_0x3b5dda(_0x265d5c))],we);class hn extends _0x50ac14{constructor(){const _0x35330a=_0x204474;super(),_(this,_0x35330a(0x253)),this[_0x35330a(0x253)]=_0x1d5ac3(window,_0x35330a(0xf5))[_0x35330a(0x12e)](_0x1708d9(this[_0x35330a(0x22e)]),_0x1d380a(0x1),_0xffd4ea(void 0x0));}['setParam'](_0x34460e,_0x1da5df,_0x4d7a22=!0x1){const _0x28fcc2=_0x204474,_0x4a15d8=new URL(window['location'][_0x28fcc2(0x28b)]);_0x4a15d8[_0x28fcc2(0x2bd)][_0x28fcc2(0x1f2)](_0x34460e,_0x1da5df),_0x4d7a22?window[_0x28fcc2(0x2ab)][_0x28fcc2(0x1ff)]('','',_0x4a15d8[_0x28fcc2(0x1d4)]()):window[_0x28fcc2(0x2ab)][_0x28fcc2(0x125)]('','',_0x4a15d8[_0x28fcc2(0x1d4)]());}[_0x204474(0x1c1)](_0x353976,_0x5c6f94=!0x1){const _0x176454=_0x204474,_0x4f0659=new URL(window[_0x176454(0x2cd)][_0x176454(0x28b)]);_0x4f0659[_0x176454(0x2bd)][_0x176454(0x23c)](_0x353976),_0x5c6f94?window['history'][_0x176454(0x1ff)]('','',_0x4f0659[_0x176454(0x1d4)]()):window['history'][_0x176454(0x125)]('','',_0x4f0659[_0x176454(0x1d4)]());}[_0x204474(0x143)](_0x5ccf92){const _0x1d2078=_0x204474;var _0x51e444;return(_0x51e444=new URL(window[_0x1d2078(0x2cd)][_0x1d2078(0x28b)])[_0x1d2078(0x2bd)]['get'](_0x5ccf92))!=null?_0x51e444:void 0x0;}}var un=Object[_0x204474(0x1c9)],dn=Object[_0x204474(0x193)],fn=(_0x3e1ab4,_0x50f081,_0x446b8a)=>_0x50f081 in _0x3e1ab4?un(_0x3e1ab4,_0x50f081,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x446b8a}):_0x3e1ab4[_0x50f081]=_0x446b8a,Sn=(_0x128442,_0x4541c9,_0x12f9cc,_0x1d538d)=>{const _0x580431=_0x204474;for(var _0x6023fb=_0x1d538d>0x1?void 0x0:_0x1d538d?dn(_0x4541c9,_0x12f9cc):_0x4541c9,_0x1cc8e7=_0x128442[_0x580431(0x2d6)]-0x1,_0x462f72;_0x1cc8e7>=0x0;_0x1cc8e7--)(_0x462f72=_0x128442[_0x1cc8e7])&&(_0x6023fb=_0x462f72(_0x6023fb)||_0x6023fb);return _0x6023fb;},Oe=(_0x34132b,_0xb64e42)=>(_0x40cadb,_0x2bb3b1)=>_0xb64e42(_0x40cadb,_0x2bb3b1,_0x34132b),mn=(_0x4ae607,_0x12fda2,_0x1cd87b)=>fn(_0x4ae607,_0x12fda2+'',_0x1cd87b);const In=_0x204474(0x241);let Ae=class extends _0x5d5ea7{constructor(_0x188b94=et,_0x356177,_0x86b0eb,_0x387680){const _0x37e900=_0x204474;super(),this[_0x37e900(0x2e0)]=_0x188b94,this['_renderManagerService']=_0x356177,this['_injector']=_0x86b0eb,this[_0x37e900(0x2e5)]=_0x387680;const {..._0x48e969}=_0x283a20({},et,this[_0x37e900(0x2e0)]);this['_configService']['setConfig'](Zi,_0x48e969);}[_0x204474(0x16d)](){const _0x5b11a6=_0x204474;this[_0x5b11a6(0x23d)](),this[_0x5b11a6(0x2cb)]();}[_0x204474(0x227)](){const _0x3e221f=_0x204474;this[_0x3e221f(0x2d1)]();}[_0x204474(0x23d)](){const _0x21412e=_0x204474;var _0x4b9c38;const _0x44a90f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x32e256,{'useClass':_0x31803d}],[_0x1ee374,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x336998(this[_0x21412e(0x20a)],_0x503f56(_0x44a90f,(_0x4b9c38=this[_0x21412e(0x2e0)])==null?void 0x0:_0x4b9c38[_0x21412e(0x2cc)]));}[_0x204474(0x2d1)](){const _0x5ad916=_0x204474;this[_0x5ad916(0x169)](this[_0x5ad916(0x212)][_0x5ad916(0x109)](_0xc26137['UNIVER_DOC'],[Le])),this['disposeWithMe'](this[_0x5ad916(0x212)][_0x5ad916(0x109)](_0xc26137['UNIVER_SHEET'],[Pe]));}[_0x204474(0x2cb)](){const _0x43961b=_0x204474;_0x189576(this[_0x43961b(0x20a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x204474(0x118),In),Ae=Sn([_0x1e9134(_0x397677),Oe(0x1,_0x2cb401),Oe(0x2,_0x3b5dda(_0x3ff8dd)),Oe(0x3,_0x5dad6a)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x3a459f,_0x39bdd8,_0x571c50,_0x539767)=>{for(var _0x22d945=_0x539767>0x1?void 0x0:_0x539767?gn(_0x39bdd8,_0x571c50):_0x39bdd8,_0x5f2e0b=_0x3a459f['length']-0x1,_0x448c5e;_0x5f2e0b>=0x0;_0x5f2e0b--)(_0x448c5e=_0x3a459f[_0x5f2e0b])&&(_0x22d945=_0x448c5e(_0x22d945)||_0x22d945);return _0x22d945;},K=(_0x4b7abf,_0x446860)=>(_0x486306,_0x260cb0)=>_0x446860(_0x486306,_0x260cb0,_0x4b7abf);let st=class extends _0x486580{constructor(_0x2c3709,_0x310471,_0x3cbca4,_0x5905dd,_0x1b6939){super(_0x2c3709,_0x310471,_0x3cbca4,_0x5905dd,_0x1b6939);}async[_0x204474(0x236)](_0x284076){const _0x13b9a5=_0x204474,_0x3f80cc=await this[_0x13b9a5(0x188)](),_0x52844d=this['_createSocketURL'](_0x284076,_0x3f80cc);return this[_0x13b9a5(0x263)](_0x52844d);}[_0x204474(0x280)](_0x297b4e,_0x213a1a){const _0x2d1a41=_0x204474,_0x4e1146=typeof window>'u'?new URL(_0x297b4e):new URL(_0x297b4e,window['location'][_0x2d1a41(0x2a2)]);_0x4e1146['searchParams'][_0x2d1a41(0x1f2)](_0x2d1a41(0x2be),_0x213a1a);const _0x3ac78f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d1a41(0x2cd)]['search']);return _0x3ac78f[_0x2d1a41(0x156)](_0x2d1a41(0xfa))&&_0x4e1146[_0x2d1a41(0x2bd)][_0x2d1a41(0x1f2)](_0x2d1a41(0xfa),_0x3ac78f[_0x2d1a41(0x156)](_0x2d1a41(0xfa))),_0x4e1146[_0x2d1a41(0x1d4)]();}async[_0x204474(0x188)](){const _0x1907be=_0x204474;var _0x2d6c76,_0x53fd75,_0x5b235a;const _0x29d63d=this[_0x1907be(0x2e5)][_0x1907be(0x149)](_0x4ec13a),_0x17ba8a=(_0x2d6c76=_0x29d63d==null?void 0x0:_0x29d63d[_0x1907be(0x278)])!=null?_0x2d6c76:_0x1b8d39;return(_0x5b235a=(_0x53fd75=(await this[_0x1907be(0x12f)][_0x1907be(0x156)](_0x17ba8a,{'headers':{'Content-Type':_0x1907be(0x1c2)}}))[_0x1907be(0xf1)])==null?void 0x0:_0x53fd75[_0x1907be(0x2c7)])!=null?_0x5b235a:'';}};st=vn([K(0x0,_0x3b5dda(_0x3ff8dd)),K(0x1,_0x3b5dda(_0x5706ab)),K(0x2,_0x5dad6a),K(0x3,_0x394cd6),K(0x4,_0x33eac2)],st);const it=0x7530,nt=_0x204474(0x11a);class Fn extends _0x2913ee{constructor(){const _0x5c4712=_0x204474;super(),_(this,'_id',_0x3768bc()),_(this,_0x5c4712(0x199),new Set()),_(this,_0x5c4712(0x202),new Map()),_(this,_0x5c4712(0x295),null),_(this,_0x5c4712(0x1eb),new Map()),_(this,_0x5c4712(0x1d8),new Map()),this[_0x5c4712(0xfd)]();}[_0x204474(0x2da)](){const _0x5176be=_0x204474;super['dispose'](),this[_0x5176be(0x1eb)][_0x5176be(0x21b)]((_0x2b121c,_0x213316)=>this[_0x5176be(0x2d3)](_0x213316)),this[_0x5176be(0x295)]&&window[_0x5176be(0x1d3)](this[_0x5176be(0x295)]);}[_0x204474(0x13c)](_0x2ef45b){const _0x350afe=_0x204474;return this[_0x350afe(0x2b8)](_0x2ef45b)[_0x350afe(0x12e)](_0x1c464d());}[_0x204474(0x1e5)](_0x1d948f){const _0x53c4a2=_0x204474;this[_0x53c4a2(0x199)][_0x53c4a2(0x195)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x1d948f),this['_send']({'type':0x0,'memberID':this[_0x53c4a2(0x17d)],'unitIDs':[_0x1d948f],'isForwarded':!0x1});}['disposeUnit'](_0x21b0ed){const _0x42a21d=_0x204474;this['_selfUnitIDs'][_0x42a21d(0x23c)](_0x21b0ed),this['_selfUnitIDs'][_0x42a21d(0x195)]===0x0&&this[_0x42a21d(0x295)]&&window['clearInterval'](this[_0x42a21d(0x295)]);}[_0x204474(0xfd)](){const _0x6b2c58=_0x204474;this[_0x6b2c58(0x169)](_0x4be3ad(_0x1d5ac3(window,_0x6b2c58(0x2e1))['subscribe'](_0x502070=>{const _0x3f35c2=_0x6b2c58;if(_0x502070['key']!==nt||!_0x502070['newValue'])return;const _0x1462dc=JSON[_0x3f35c2(0xf9)](_0x502070['newValue']);this['_handleEvent'](_0x1462dc);}))),window[_0x6b2c58(0x2d0)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x6b2c58(0x275)](this[_0x6b2c58(0x199)])}));}['_handleEvent'](_0x5708c4){const _0x239414=_0x204474;switch(_0x5708c4['type']){case 0x0:this['_handleJoinEvent'](_0x5708c4);break;case 0x1:this['_handleLeaveEvent'](_0x5708c4);break;case 0x2:this[_0x239414(0x2dd)](_0x5708c4);break;}}[_0x204474(0x26a)](_0x53ee35){const _0x4e3f3c=_0x204474,{unitIDs:_0x1d1f9d,memberID:_0x37e3e7,isForwarded:_0x5470ee}=_0x53ee35;_0x1d1f9d['forEach'](_0x3a901f=>{const _0xe1ad44=_0x5213;if(!_0x5470ee&&this['_unitOnClients'][_0xe1ad44(0x279)](_0x3a901f)&&this[_0xe1ad44(0x2b8)](_0x3a901f)['next'](_0x421f8d['OTHER_CLIENTS_EDITING']),!this[_0xe1ad44(0x202)][_0xe1ad44(0x279)](_0x3a901f)||!this[_0xe1ad44(0x202)]['get'](_0x3a901f)[_0xe1ad44(0x279)](_0x37e3e7)){const _0x4d52fb=this['_unitOnClients'][_0xe1ad44(0x156)](_0x3a901f)||new Set();_0x4d52fb['add'](_0x37e3e7),this[_0xe1ad44(0x202)][_0xe1ad44(0x1f2)](_0x3a901f,_0x4d52fb),this[_0xe1ad44(0x22a)](_0x37e3e7);}}),_0x5470ee||this[_0x4e3f3c(0x1e8)]({'type':0x0,'memberID':this[_0x4e3f3c(0x17d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x204474(0x22a)](_0x3e048a){const _0x190be4=_0x204474;this['_removeClearOtherTimer'](_0x3e048a);const _0x1ad2cb=window[_0x190be4(0x107)](()=>{const _0xa39d95=_0x190be4;this['_unitOnClients'][_0xa39d95(0x21b)](_0x395b08=>{const _0x2684da=_0xa39d95;_0x395b08[_0x2684da(0x23c)](_0x3e048a);});},it*0x2);this[_0x190be4(0x1eb)][_0x190be4(0x1f2)](_0x3e048a,_0x1ad2cb);}[_0x204474(0x2d3)](_0x33cba6){const _0x565b44=_0x204474;if(this[_0x565b44(0x1eb)]['has'](_0x33cba6)){const _0x40d7bc=this['_clearOtherTimers'][_0x565b44(0x156)](_0x33cba6);_0x40d7bc&&window['clearTimeout'](_0x40d7bc),this['_clearOtherTimers'][_0x565b44(0x1f2)](_0x33cba6,null);}}[_0x204474(0x23a)](_0x52f8e5){const _0x279b34=_0x204474,{memberID:_0x37ce82,unitIDs:_0x5bd06e}=_0x52f8e5;_0x5bd06e[_0x279b34(0x21b)](_0x352d57=>{const _0x1d1a1d=_0x279b34;var _0x2cb455;const _0x5c2a18=this['_unitOnClients'][_0x1d1a1d(0x156)](_0x352d57);_0x5c2a18&&(_0x5c2a18[_0x1d1a1d(0x23c)](_0x37ce82),(_0x2cb455=this['_ensureSubject'](_0x352d57))==null||_0x2cb455['next'](_0x5c2a18[_0x1d1a1d(0x195)]===0x0?_0x421f8d[_0x1d1a1d(0x1b6)]:_0x421f8d['OTHER_CLIENTS_EDITING']));}),this[_0x279b34(0x2d3)](_0x37ce82);}[_0x204474(0x2dd)](_0xc4660f){const _0x2c72d5=_0x204474;this[_0x2c72d5(0x22a)](_0xc4660f['memberID']);}[_0x204474(0x1e8)](_0x4dfc65){const _0x4c0a7a=_0x204474;localStorage[_0x4c0a7a(0x2e7)](nt,JSON[_0x4c0a7a(0x19f)](_0x4dfc65));}['_scheduleHeartbeat'](){const _0x3177ac=_0x204474;this[_0x3177ac(0x295)]=window[_0x3177ac(0x148)](()=>{const _0x9cd803=_0x3177ac;this[_0x9cd803(0x1e8)]({'type':0x2,'memberID':this[_0x9cd803(0x17d)]});},it);}[_0x204474(0x2b8)](_0x3171d3){const _0x1bb507=_0x204474;return this['_unitStatus'][_0x1bb507(0x279)](_0x3171d3)||this[_0x1bb507(0x1d8)][_0x1bb507(0x1f2)](_0x3171d3,new _0x10b606(_0x421f8d[_0x1bb507(0x1b6)])),this[_0x1bb507(0x1d8)]['get'](_0x3171d3);}}var Mt=(_0x4b04ef=>(_0x4b04ef[_0x4b04ef[_0x204474(0x14d)]=0x0]=_0x204474(0x14d),_0x4b04ef[_0x4b04ef['OK']=0x1]='OK',_0x4b04ef[_0x4b04ef[_0x204474(0x1bb)]=0x2]='INTERNAL_ERROR',_0x4b04ef[_0x4b04ef[_0x204474(0x16e)]=0x3]=_0x204474(0x16e),_0x4b04ef[_0x4b04ef[_0x204474(0x1b7)]=0x4]='NOT_FOUND',_0x4b04ef[_0x4b04ef[_0x204474(0x129)]=0x5]=_0x204474(0x129),_0x4b04ef[_0x4b04ef[_0x204474(0x244)]=0x6]=_0x204474(0x244),_0x4b04ef[_0x4b04ef[_0x204474(0x166)]=0x7]=_0x204474(0x166),_0x4b04ef[_0x4b04ef['TOO_MANY_REQUESTS']=0x8]=_0x204474(0x296),_0x4b04ef[_0x4b04ef[_0x204474(0x23b)]=0x9]='COMPLETION_FINISHED',_0x4b04ef[_0x4b04ef[_0x204474(0x259)]=0xa]=_0x204474(0x259),_0x4b04ef[_0x4b04ef[_0x204474(0x171)]=0xb]=_0x204474(0x171),_0x4b04ef[_0x4b04ef[_0x204474(0x22c)]=0xc]=_0x204474(0x22c),_0x4b04ef[_0x4b04ef[_0x204474(0x2c1)]=0xd]=_0x204474(0x2c1),_0x4b04ef[_0x4b04ef[_0x204474(0x24f)]=0xe]=_0x204474(0x24f),_0x4b04ef[_0x4b04ef[_0x204474(0x15d)]=0x1389]=_0x204474(0x15d),_0x4b04ef[_0x4b04ef['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b04ef[_0x4b04ef[_0x204474(0x2ce)]=0x1772]=_0x204474(0x2ce),_0x4b04ef[_0x4b04ef[_0x204474(0x207)]=0x1773]=_0x204474(0x207),_0x4b04ef[_0x4b04ef[_0x204474(0x14e)]=0x1b59]=_0x204474(0x14e),_0x4b04ef[_0x4b04ef[_0x204474(0x2b5)]=0x1b5a]=_0x204474(0x2b5),_0x4b04ef[_0x4b04ef[_0x204474(0x2a6)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4b04ef[_0x4b04ef[_0x204474(0x223)]=0x1b5c]=_0x204474(0x223),_0x4b04ef[_0x4b04ef[_0x204474(0x101)]=0x1b5d]=_0x204474(0x101),_0x4b04ef[_0x4b04ef[_0x204474(0x1be)]=0x1f41]=_0x204474(0x1be),_0x4b04ef[_0x4b04ef[_0x204474(0x183)]=0x2329]=_0x204474(0x183),_0x4b04ef[_0x4b04ef['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x204474(0x247),_0x4b04ef[_0x4b04ef[_0x204474(0x283)]=0x232b]=_0x204474(0x283),_0x4b04ef[_0x4b04ef['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x204474(0x131),_0x4b04ef[_0x4b04ef[_0x204474(0x256)]=0x232d]=_0x204474(0x256),_0x4b04ef[_0x4b04ef[_0x204474(0x15c)]=0x2711]=_0x204474(0x15c),_0x4b04ef[_0x4b04ef[_0x204474(0x1e0)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4b04ef[_0x4b04ef['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4b04ef[_0x4b04ef[_0x204474(0x1e7)]=0x2714]=_0x204474(0x1e7),_0x4b04ef[_0x4b04ef[_0x204474(0x2dc)]=0x271a]=_0x204474(0x2dc),_0x4b04ef[_0x4b04ef['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x204474(0x1b9),_0x4b04ef[_0x4b04ef[_0x204474(0x22d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4b04ef[_0x4b04ef['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x204474(0x1e4),_0x4b04ef[_0x4b04ef[_0x204474(0x289)]=0x271e]=_0x204474(0x289),_0x4b04ef[_0x4b04ef[_0x204474(0x106)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4b04ef[_0x4b04ef[_0x204474(0x269)]=0x2720]=_0x204474(0x269),_0x4b04ef[_0x4b04ef[_0x204474(0x2e8)]=0x2af9]=_0x204474(0x2e8),_0x4b04ef[_0x4b04ef['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x204474(0x24c),_0x4b04ef[_0x4b04ef['INVALID_INVITE_CODE']=0x2ee2]=_0x204474(0x114),_0x4b04ef[_0x4b04ef[_0x204474(0x16a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4b04ef[_0x4b04ef[_0x204474(0x1ec)]=0x2ee4]=_0x204474(0x1ec),_0x4b04ef[_0x4b04ef[_0x204474(0x2ee)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4b04ef[_0x4b04ef[_0x204474(0xf7)]=0x32c9]=_0x204474(0xf7),_0x4b04ef[_0x4b04ef[_0x204474(0x1ad)]=0x32ca]=_0x204474(0x1ad),_0x4b04ef[_0x4b04ef[_0x204474(0xed)]=0x32cb]=_0x204474(0xed),_0x4b04ef[_0x4b04ef[_0x204474(0x298)]=-0x1]=_0x204474(0x298),_0x4b04ef))(Mt||{}),pn=Object[_0x204474(0x193)],Cn=(_0xb0f4ae,_0x4507e8,_0x5d74d5,_0x4fefda)=>{const _0x4bea97=_0x204474;for(var _0x479254=_0x4fefda>0x1?void 0x0:_0x4fefda?pn(_0x4507e8,_0x5d74d5):_0x4507e8,_0x14883e=_0xb0f4ae[_0x4bea97(0x2d6)]-0x1,_0x334bef;_0x14883e>=0x0;_0x14883e--)(_0x334bef=_0xb0f4ae[_0x14883e])&&(_0x479254=_0x334bef(_0x479254)||_0x479254);return _0x479254;},be=(_0x1dadd8,_0x40cce0)=>(_0x1cd550,_0xf12b48)=>_0x40cce0(_0x1cd550,_0xf12b48,_0x1dadd8);let rt=class extends _0x2913ee{constructor(_0x40e757,_0x28d3ad,_0x192f92){const _0x293715=_0x204474;super(),this[_0x293715(0x134)]=_0x40e757,this[_0x293715(0x12f)]=_0x28d3ad,this[_0x293715(0x2e5)]=_0x192f92;}async['runOnServer'](_0x10d706,_0x14403f,_0x2591e3,..._0x3a5e51){const _0x3406f3=_0x204474;var _0x24c901,_0x26c55b,_0x5046ee,_0x19eeb5;const _0x2318c2=this[_0x3406f3(0x134)][_0x3406f3(0x1ac)]();if(!_0x2318c2)throw new Error(_0x3406f3(0x128));const _0x4d7d9c=((_0x24c901=this[_0x3406f3(0x2e5)][_0x3406f3(0x149)](_0xb6ac21))!=null?_0x24c901:_0x1e81c3)+'/'+_0x10d706+_0x3406f3(0x2a0)+_0x14403f,_0x4a0c83=new URL(window[_0x3406f3(0x2cd)][_0x3406f3(0x28b)]),_0x4dee78={'scriptId':_0x10d706,'runId':(_0x26c55b=_0x4a0c83[_0x3406f3(0x2bd)][_0x3406f3(0x156)](_0x3406f3(0xfa)))!=null?_0x26c55b:'','function':_0x14403f,'unitId':_0x2318c2[_0x3406f3(0x1fb)](),'argsOfFunction':JSON[_0x3406f3(0x19f)](_0x3a5e51),'invokeId':(_0x5046ee=_0x2591e3[_0x3406f3(0x2d7)])!=null?_0x5046ee:'','executionId':(_0x19eeb5=_0x2591e3[_0x3406f3(0x1fc)])!=null?_0x19eeb5:''};try{const _0x438153=await this['_httpService'][_0x3406f3(0x2ae)](_0x4d7d9c,{'body':_0x4dee78});return _0x438153[_0x3406f3(0xf1)][_0x3406f3(0x13e)]&&_0x438153[_0x3406f3(0xf1)][_0x3406f3(0x13e)][_0x3406f3(0x17a)]!==Mt['OK']?_0x3406f3(0x219):_0x438153[_0x3406f3(0xf1)]['result'];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x454f61),be(0x1,_0x3b5dda(_0x5706ab)),be(0x2,_0x5dad6a)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5783a1=_0x5e40;function _0x5e40(_0x1b8539,_0x2795a8){const _0x45996c=_0x4599();return _0x5e40=function(_0x5e40c8,_0x4773c5){_0x5e40c8=_0x5e40c8-0x1a5;let _0x41392a=_0x45996c[_0x5e40c8];return _0x41392a;},_0x5e40(_0x1b8539,_0x2795a8);}function _0x4599(){const _0x2d834e=['150uwNYXW','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Click\x20to\x20Reconnect','Local\x20file','32DlqrcQ','Connection\x20failed,\x20please\x20check\x20your\x20network.','2171393GFLkNa','3374980lrRwhc','Syncing...','16502193LbKRIk','284294iscSpF','12545128Gkmrru','198906tZubfe','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','79554wMoPaH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error'];_0x4599=function(){return _0x2d834e;};return _0x4599();}(function(_0x2a8435,_0x1d6a40){const _0x4b8adf=_0x5e40,_0x358feb=_0x2a8435();while(!![]){try{const _0x48b7e2=parseInt(_0x4b8adf(0x1b4))/0x1+parseInt(_0x4b8adf(0x1ae))/0x2*(parseInt(_0x4b8adf(0x1b6))/0x3)+-parseInt(_0x4b8adf(0x1b1))/0x4+parseInt(_0x4b8adf(0x1a8))/0x5*(parseInt(_0x4b8adf(0x1b9))/0x6)+parseInt(_0x4b8adf(0x1b0))/0x7+parseInt(_0x4b8adf(0x1b5))/0x8+-parseInt(_0x4b8adf(0x1b3))/0x9;if(_0x48b7e2===_0x1d6a40)break;else _0x358feb['push'](_0x358feb['shift']());}catch(_0x552367){_0x358feb['push'](_0x358feb['shift']());}}}(_0x4599,0xe672a));const e={'collab-client':{'tooltip':{'reconnect':_0x5783a1(0x1ac)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x5783a1(0x1ad),'synced':_0x5783a1(0x1ab),'syncing':_0x5783a1(0x1b2),'offline':_0x5783a1(0x1aa)},'session':{'connection-failed':_0x5783a1(0x1af),'will-retry':_0x5783a1(0x1b7),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5783a1(0x1b8)},'conflict':{'title':_0x5783a1(0x1a9),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x5783a1(0x1a7),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5783a1(0x1a6)},'auth':{'needGotoLoginAlert':_0x5783a1(0x1a5)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xa4ff6c=_0x32d4;(function(_0x37f06b,_0x27a6e6){const _0x1713c5=_0x32d4,_0x119728=_0x37f06b();while(!![]){try{const _0x1fee73=-parseInt(_0x1713c5(0x182))/0x1*(-parseInt(_0x1713c5(0x189))/0x2)+parseInt(_0x1713c5(0x186))/0x3*(-parseInt(_0x1713c5(0x18a))/0x4)+-parseInt(_0x1713c5(0x187))/0x5+parseInt(_0x1713c5(0x17a))/0x6+-parseInt(_0x1713c5(0x184))/0x7+parseInt(_0x1713c5(0x17e))/0x8*(parseInt(_0x1713c5(0x17c))/0x9)+parseInt(_0x1713c5(0x188))/0xa*(-parseInt(_0x1713c5(0x185))/0xb);if(_0x1fee73===_0x27a6e6)break;else _0x119728['push'](_0x119728['shift']());}catch(_0x3af892){_0x119728['push'](_0x119728['shift']());}}}(_0x2f53,0x1caad));const o={'collab-client':{'tooltip':{'reconnect':_0xa4ff6c(0x17f)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0xa4ff6c(0x176),'notCollab':_0xa4ff6c(0x17b),'synced':'همگام\x20سازی','syncing':_0xa4ff6c(0x178),'offline':_0xa4ff6c(0x181)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0xa4ff6c(0x18b),'room-full':_0xa4ff6c(0x179),'collaboration-timeout':_0xa4ff6c(0x175)},'conflict':{'title':_0xa4ff6c(0x177),'content':_0xa4ff6c(0x183)},'permission':{'title':_0xa4ff6c(0x173),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0xa4ff6c(0x174)},'closeRoom':_0xa4ff6c(0x17d)},'auth':{'needGotoLoginAlert':_0xa4ff6c(0x180)}};function _0x32d4(_0x2951da,_0x25e8f0){const _0x2f53fb=_0x2f53();return _0x32d4=function(_0x32d494,_0xccb2ce){_0x32d494=_0x32d494-0x173;let _0x44d2bf=_0x2f53fb[_0x32d494];return _0x44d2bf;},_0x32d4(_0x2951da,_0x25e8f0);}function _0x2f53(){const _0x88079d=['173115xaANJa','105000WHuolI','2830oeTnTz','16eNLCGk','4NXyjto','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20ویرایش','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1106466AWvnRH','پرونده\x20محلی','9414SIAejh','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','1336CibAyZ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','8696UiepCz','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','108318wqMFJA','8437oHlhDD'];_0x2f53=function(){return _0x88079d;};return _0x2f53();}export{o as default};
|