@univerjs-pro/collaboration-client-ui 0.9.4-nightly.202507290713 → 0.9.4-nightly.202507290757
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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 _0x1d41aa=_0x3072;(function(_0x23e105,_0x178996){const _0x28090b=_0x3072,_0x27d648=_0x23e105();while(!![]){try{const _0x59726b=-parseInt(_0x28090b(0x1da))/0x1+parseInt(_0x28090b(0x2c0))/0x2*(-parseInt(_0x28090b(0x33a))/0x3)+-parseInt(_0x28090b(0x22f))/0x4+-parseInt(_0x28090b(0x30d))/0x5+parseInt(_0x28090b(0x227))/0x6*(parseInt(_0x28090b(0x306))/0x7)+parseInt(_0x28090b(0x241))/0x8+parseInt(_0x28090b(0x2e4))/0x9*(parseInt(_0x28090b(0x33f))/0xa);if(_0x59726b===_0x178996)break;else _0x27d648['push'](_0x27d648['shift']());}catch(_0xaf3f11){_0x27d648['push'](_0x27d648['shift']());}}}(_0x2222,0xca97c));var xt=Object[_0x1d41aa(0x2b8)],Bt=(_0x3677fc,_0x2b75d8,_0x135568)=>_0x2b75d8 in _0x3677fc?xt(_0x3677fc,_0x2b75d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x135568}):_0x3677fc[_0x2b75d8]=_0x135568,_=(_0x1ae5ba,_0x145309,_0x266994)=>Bt(_0x1ae5ba,typeof _0x145309!=_0x1d41aa(0x1e2)?_0x145309+'':_0x145309,_0x266994);import{MemberService as _0x3cb3a0,SessionStatus as _0x1b4602,CollaborationSessionService as _0x1c2fc3,CollaborationStatus as _0x301b01,CollaborationController as _0x56d127,ILocalCacheService as _0x1255fd,CollaborationUIEventService as _0x34d2ea,CollaborationUIEventId as _0x1e0a6d,DataLoaderService as _0xd33af7,DocCollaborationEntity as _0x28706d,getLocalCacheKey as _0x2d56e6,LOCAL_CACHE_INTERVAL as _0x2f2d81,LOCAL_CACHE_INTERVAL_KEY as _0x5ae75a,UniverCollaborationClientPlugin as _0x484d9a,CollaborationSocketService as _0x305177,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2cd1d6,DEFAULT_WS_SESSION_TICKET_URL as _0x3fdae3,UnitStatus as _0x3edfe1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x47d86e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5dcb76}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x85e892,Disposable as _0x2800ff,DOC_RANGE_TYPE as _0x27bd23,Inject as _0xcce005,Injector as _0x5c6f4f,IUniverInstanceService as _0x3c49dc,ICommandService as _0x268a57,debounce as _0xd88edf,Rectangle as _0x1957ac,DisposableCollection as _0x14c60b,toDisposable as _0x4e6890,UniverInstanceType as _0x357bfd,generateRandomId as _0x575d2b,COLORS as _0x212370,ColorKit as _0x1c1677,ThemeService as _0x4aa273,fromEventSubject as _0x2de1b0,LocaleService as _0x269fd9,createIdentifier as _0x41b18f,ILogService as _0x41e6cd,Optional as _0xab635a,Workbook as _0x38bdf9,Tools as _0x59fb77,CommandType as _0x1c6be8,IConfigService as _0x3022cf,ILocalStorageService as _0x42b910,DependentOn as _0x3ac0fb,Plugin as _0x3780de,merge as _0x523698,registerDependencies as _0x5c8a6a,mergeOverrideWithDependencies as _0x28a7e9,touchDependencies as _0x2857b7}from'@univerjs/core';import{Shape as _0x55a175,Rect as _0x402196,getColor as _0x16e0cb,RegularPolygon as _0x299553,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x407e04,Vector2 as _0x4c714f,SHEET_VIEWPORT_KEY as _0x9746ba,IRenderManagerService as _0x49b12e}from'@univerjs/engine-render';import{ISocketService as _0x1794d9,WebSocketService as _0x493e8a,HTTPService as _0x2febdf}from'@univerjs/network';import{IDocClipboardService as _0x53d506,NodePositionConvertToCursor as _0x149adc,NodePositionConvertToRectRange as _0x572eb2,TEXT_RANGE_LAYER_INDEX as _0x437769,SetDocZoomRatioOperation as _0x331b82,DocIMEInputManagerService as _0x1f4fd3,DocStateChangeManagerService as _0x2b5696}from'@univerjs/docs-ui';import{IImageIoService as _0x101e9a}from'@univerjs/drawing';import{BehaviorSubject as _0x5a2de1,debounceTime as _0x18fe8d,takeUntil as _0xe2ba41,Subject as _0x1c165a,filter as _0x3d4807,switchMap as _0x61b8f7,merge as _0x501ea0,combineLatest as _0x1d7e6d,of as _0x554421,fromEvent as _0x21efab,shareReplay as _0x49522a,mapTo as _0x2771cf,distinctUntilChanged as _0x5c2efb}from'rxjs';import{ITransformService as _0x4ae50f,CollaborationEvent as _0x3c097d,isTransformMutationFailure as _0x30fa04,isTransformMutationsWithChangesetSuccess as _0x2c9078,RevisionService as _0x491b5d,ISnapshotServerService as _0x203215}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xa1f887,RichTextEditingMutation as _0x36e94a,DocSelectionManagerService as _0x27e88a,DocSkeletonManagerService as _0x1948fb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x330145,serializeRangeWithSheet as _0x15c99d}from'@univerjs/engine-formula';import{RefRangeService as _0x2ded4c,SetSelectionsOperation as _0x56a892,SheetsSelectionsService as _0x43c1b1,EffectRefRangId as _0x4b2a02,handleIRemoveRow as _0x5dd125,handleIRemoveCol as _0x2bf895,handleMoveRange as _0x20e0f0,handleInsertRow as _0xf640b4,handleInsertRangeMoveRight as _0x323e2d,handleInsertRangeMoveDown as _0x1f2ca4,handleInsertCol as _0x19ee34,handleDeleteRangeMoveUp as _0x2100d8,handleDeleteRangeMoveLeft as _0x12f3f8,runRefRangeMutations as _0x47d67b,SetWorksheetActivateCommand as _0x158419}from'@univerjs/sheets';import{map as _0x7c1c2c,filter as _0x5ce252,throttleTime as _0x3d96f3,takeUntil as _0x27174a,switchMap as _0x3ea857}from'rxjs/operators';import{SheetSkeletonManagerService as _0x380795,getCoordByCell as _0x1ffdb5,getSheetObject as _0x2629ad}from'@univerjs/sheets-ui';import{jsx as _0x56ab7c,jsxs as _0x5d53a3}from'react/jsx-runtime';import{useObservable as _0x4b86c6,useDependency as _0xd3ad5,IUIPartsService as _0x303682,BuiltInUIPart as _0x5eb0d7,connectInjector as _0x549c57,IBeforeCloseService as _0xa8c410,IMessageService as _0x41c5c4,INotificationService as _0x2555d3}from'@univerjs/ui';import{Tooltip as _0x11b0bf,clsx as _0x484ea5,MessageType as _0x445c63}from'@univerjs/design';import{forwardRef as _0x568c11,useRef as _0x38af19,createElement as _0x225279,useCallback as _0x198673}from'react';import{IRemoteInstanceService as _0x3c7901}from'@univerjs/rpc';var ci=Object[_0x1d41aa(0x248)],li=(_0x3ed819,_0x502998,_0x3c482d,_0x2f7d7f)=>{const _0x274396=_0x1d41aa;for(var _0x18e5de=_0x2f7d7f>0x1?void 0x0:_0x2f7d7f?ci(_0x502998,_0x3c482d):_0x502998,_0x5a945a=_0x3ed819[_0x274396(0x25c)]-0x1,_0x19c107;_0x5a945a>=0x0;_0x5a945a--)(_0x19c107=_0x3ed819[_0x5a945a])&&(_0x18e5de=_0x19c107(_0x18e5de)||_0x18e5de);return _0x18e5de;},Je=(_0x2b641f,_0x1194b8)=>(_0x4a5aab,_0x475f5b)=>_0x1194b8(_0x4a5aab,_0x475f5b,_0x2b641f);let Ne=class extends _0x85e892{constructor(_0x55d09a,_0x24c677){const _0x2fe574=_0x1d41aa;super(),this[_0x2fe574(0x3a5)]=_0x55d09a,this[_0x2fe574(0x23c)]=_0x24c677,this[_0x2fe574(0x2a7)]();}[_0x1d41aa(0x2a7)](){const _0xba29a3=_0x1d41aa,_0x21d074=this;this[_0xba29a3(0x34b)](this[_0xba29a3(0x3a5)][_0xba29a3(0x2d0)]({'onBeforePasteImage':async _0x16e30d=>{const _0x13ef05=_0xba29a3,_0x5e6d02=await _0x21d074[_0x13ef05(0x23c)][_0x13ef05(0x314)](_0x16e30d);return _0x5e6d02?{'source':_0x5e6d02[_0x13ef05(0x273)],'imageSourceType':_0x5e6d02[_0x13ef05(0x36c)]}:null;}}));}};Ne=li([Je(0x0,_0x53d506),Je(0x1,_0x101e9a)],Ne);const Ze=[_0x1d41aa(0x2db),_0x1d41aa(0x289),_0x1d41aa(0x1de),'red.300','blue.400','yellow.400'];class ke extends _0x2800ff{constructor(){const _0x114722=_0x1d41aa;super(...arguments),_(this,_0x114722(0x234),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2458ed){const _0x382ae1=_0x1d41aa;if(this[_0x382ae1(0x234)]['has'](_0x2458ed))return this[_0x382ae1(0x234)][_0x382ae1(0x217)](_0x2458ed);const _0x26eacb=Ze[this[_0x382ae1(0x2e0)]];return this[_0x382ae1(0x2e0)]=(this[_0x382ae1(0x2e0)]+0x1)%Ze[_0x382ae1(0x25c)],this[_0x382ae1(0x234)][_0x382ae1(0x36a)](_0x2458ed,_0x26eacb),_0x26eacb;}}function Rt(_0x6a3881){let _0x445753='';for(const _0x3aa88b of _0x6a3881){const {startOffset:_0x332876,endOffset:_0x217053,isActive:_0x462f86,rangeType:_0x268829,segmentId:_0x10b9ec,segmentPage:_0x490cf5}=_0x3aa88b;_0x445753['length']&&(_0x445753+=','),_0x445753+=_0x332876+':'+_0x217053+':'+(_0x462f86?'1':'0')+':'+_0x268829+':'+_0x10b9ec+':'+_0x490cf5;}return _0x445753;}function _i(_0x4f9c0d){const _0x41072c=_0x1d41aa,_0x5c39b4=_0x4f9c0d[_0x41072c(0x1d7)](','),_0xd6bce1=[];for(const _0x83c195 of _0x5c39b4){const [_0x23ddbc,_0x195a12,_0x3d807f,_0x552844,_0x497b6f,_0x151611]=_0x83c195[_0x41072c(0x1d7)](':');_0xd6bce1[_0x41072c(0x37f)]({'startOffset':Number(_0x23ddbc),'endOffset':Number(_0x195a12),'collapsed':_0x23ddbc===_0x195a12,'isActive':_0x3d807f==='1','rangeType':_0x552844===_0x27bd23[_0x41072c(0x3a2)]?_0x27bd23[_0x41072c(0x3a2)]:_0x27bd23['RECT'],'segmentId':typeof _0x497b6f=='string'?String(_0x497b6f):'','segmentPage':Number(_0x151611!=null?_0x151611:-0x1)});}return _0xd6bce1[_0x41072c(0x28e)](_0x1dcb48=>_0x1dcb48[_0x41072c(0x2e9)])||(_0xd6bce1[0x0][_0x41072c(0x2e9)]=!0x0),_0xd6bce1;}class He extends _0x85e892{constructor(){const _0xc9890f=_0x1d41aa;super(...arguments),_(this,_0xc9890f(0x29a),new _0x5a2de1(null)),_(this,_0xc9890f(0x280),this['_collabCursorState$'][_0xc9890f(0x1ed)]());}[_0x1d41aa(0x343)](_0x54d05a){const {unitID:_0x2c21af,memberID:_0x3b9365,textRanges:_0x193c1a}=_0x54d05a,_0x8de9c4=Rt(_0x193c1a);if(_0x8de9c4==='')return;const _0x577fc8={'unitID':_0x2c21af,'memberID':_0x3b9365,'selection':_0x8de9c4};this['_collabCursorState$']['next'](_0x577fc8);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0xd6b34f,_0x27226b,_0x255cc2,_0x29f7b3)=>{for(var _0x45139d=_0x29f7b3>0x1?void 0x0:_0x29f7b3?hi(_0x27226b,_0x255cc2):_0x27226b,_0x2833bc=_0xd6b34f['length']-0x1,_0x3b71ee;_0x2833bc>=0x0;_0x2833bc--)(_0x3b71ee=_0xd6b34f[_0x2833bc])&&(_0x45139d=_0x3b71ee(_0x45139d)||_0x45139d);return _0x45139d;},P=(_0x25fa10,_0x457800)=>(_0x4fe10a,_0x346f33)=>_0x457800(_0x4fe10a,_0x346f33,_0x25fa10);const di=0x12c,fi=0x64;let Ue=class extends _0x85e892{constructor(_0x599eb3,_0x543edb,_0x5b1840,_0x575b0b,_0x5c57f7,_0x356b93,_0xf7ecc4,_0x47b01c,_0x3d829a){const _0x4069c0=_0x1d41aa;super(),_(this,_0x4069c0(0x304),!0x1),_(this,'_init',!0x1),_(this,_0x4069c0(0x342),new _0x5a2de1(new Map())),_(this,'cursorInfo$',this[_0x4069c0(0x342)][_0x4069c0(0x1ed)]()),_(this,_0x4069c0(0x38d),new _0x5a2de1([])),_(this,_0x4069c0(0x2f0),this[_0x4069c0(0x38d)][_0x4069c0(0x27b)](_0x18fe8d(di))),_(this,_0x4069c0(0x2b4),_0xd88edf(_0x67c601=>{const _0x6e9367=_0x4069c0,_0x220c9f={'eventID':_0x3c097d['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Rt(_0x67c601)}};this['_session'][_0x6e9367(0x2be)](_0x220c9f,this['unitID']);},fi)),(this[_0x4069c0(0x249)]=_0x599eb3,this['_session']=_0x543edb,this[_0x4069c0(0x34f)]=_0x5b1840,this[_0x4069c0(0x348)]=_0x575b0b,this[_0x4069c0(0x270)]=_0x5c57f7,this['_syncEditingCollabCursorService']=_0x356b93,this[_0x4069c0(0x27f)]=_0xf7ecc4,this[_0x4069c0(0x2a5)]=_0x47b01c,this[_0x4069c0(0x354)]=_0x3d829a);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1d41aa(0x2da)](){const _0x18cab1=_0x1d41aa;return this[_0x18cab1(0x38d)]['getValue']();}[_0x1d41aa(0x27e)](){const _0x2000f=_0x1d41aa;super[_0x2000f(0x27e)](),this[_0x2000f(0x342)][_0x2000f(0x3a3)](new Map()),this['_cursorInfo$'][_0x2000f(0x2ca)](),this[_0x2000f(0x38d)][_0x2000f(0x3a3)]([]),this['_roomMembers$']['complete']();}[_0x1d41aa(0x288)](){const _0x23dcbf=_0x1d41aa;this[_0x23dcbf(0x2a7)]||(this['_init']=!0x0,this[_0x23dcbf(0x1df)][_0x23dcbf(0x2c9)][_0x23dcbf(0x27b)](_0xe2ba41(this[_0x23dcbf(0x1ab)]))['subscribe'](_0x3231ea=>{const _0x18fcd0=_0x23dcbf;_0x3231ea===_0x1b4602[_0x18fcd0(0x236)]?this[_0x18fcd0(0x28f)]():this[_0x18fcd0(0x1c5)]();}),this['_session']['event$'][_0x23dcbf(0x27b)](_0xe2ba41(this[_0x23dcbf(0x1ab)]))[_0x23dcbf(0x266)](_0x57de00=>{const _0x223a40=_0x23dcbf,_0x128be8=_0x57de00[_0x223a40(0x382)];_0x128be8===_0x3c097d[_0x223a40(0x27c)]&&this[_0x223a40(0x397)](_0x57de00),_0x128be8===_0x3c097d['USERS_LEAVE']&&this[_0x223a40(0x32a)](_0x57de00);}),this['disposeWithMe'](this[_0x23dcbf(0x354)][_0x23dcbf(0x31a)](_0x4730bb=>{const _0x39f347=_0x23dcbf,_0x4f2dbd=_0x4730bb[_0x39f347(0x2f9)];_0x4f2dbd!=null&&this[_0x39f347(0x304)]&&_0x4730bb['id']===_0xa1f887['id']&&_0x4f2dbd[_0x39f347(0x1a9)]===this['unitID']&&_0x4f2dbd[_0x39f347(0x2b5)]===!0x1&&_0x4f2dbd[_0x39f347(0x34a)][_0x39f347(0x25c)]>0x0&&this[_0x39f347(0x2b4)](_0x4f2dbd[_0x39f347(0x34a)]);})),this[_0x23dcbf(0x33b)][_0x23dcbf(0x280)][_0x23dcbf(0x27b)](_0xe2ba41(this['dispose$']))['subscribe'](_0x504b88=>{const _0xf13983=_0x23dcbf;if((_0x504b88==null?void 0x0:_0x504b88[_0xf13983(0x249)])!==this[_0xf13983(0x249)])return;const _0xe166bb={'eventID':_0x3c097d[_0xf13983(0x27c)],'data':_0x504b88};this[_0xf13983(0x397)](_0xe166bb);}),this['disposeWithMe'](this[_0x23dcbf(0x354)][_0x23dcbf(0x31a)](_0x462dda=>{const _0x5dc913=_0x23dcbf;if(_0x462dda[_0x5dc913(0x2f9)]==null)return;const _0x1df0db=_0x462dda[_0x5dc913(0x2f9)];if(_0x462dda['id']!==_0x36e94a['id']||_0x1df0db[_0x5dc913(0x1a9)]!==this[_0x5dc913(0x249)])return;const _0x47a3c4={'id':'doc.mutation.rich-text-editing','params':_0x1df0db},_0x2e0948=this['cursorInfo'];for(const [_0x5ad74c,_0x5b44fe]of _0x2e0948){const _0x1ca4eb={'id':_0x5dc913(0x328),'params':{'unitId':this[_0x5dc913(0x249)],'actions':null,'textRanges':_0x5b44fe['ranges']}},_0x3a6f91=this['_transformService'][_0x5dc913(0x28b)](_0x47a3c4,_0x1ca4eb,!0x1);if(_0x30fa04(_0x3a6f91))throw _0x3a6f91[_0x5dc913(0x318)];_0x2e0948[_0x5dc913(0x36a)](_0x5ad74c,{..._0x5b44fe,'ranges':_0x3a6f91[_0x5dc913(0x39f)]['params'][_0x5dc913(0x263)]});}queueMicrotask(()=>{const _0xfa1def=_0x5dc913;this[_0xfa1def(0x342)][_0xfa1def(0x3a3)](_0x2e0948);});})));}['_onCursorUpdate'](_0x5f390d){const _0x2aa2cf=_0x1d41aa;var _0x50f94b,_0x45697a;const {memberID:_0x5450a6,selection:_0x4af5fc}=_0x5f390d[_0x2aa2cf(0x355)],_0x487abd=_i(_0x4af5fc),_0x130488=(_0x45697a=(_0x50f94b=this[_0x2aa2cf(0x270)]['getMember'](this[_0x2aa2cf(0x249)],_0x5450a6))==null?void 0x0:_0x50f94b[_0x2aa2cf(0x35e)])!=null?_0x45697a:_0x2aa2cf(0x219),_0x4f206e={'color':this['_colorAssignService'][_0x2aa2cf(0x307)](_0x5450a6),'name':_0x130488,'ranges':_0x487abd},_0x4f4054=this[_0x2aa2cf(0x2bf)];_0x4f4054[_0x2aa2cf(0x36a)](_0x5450a6,_0x4f206e),this[_0x2aa2cf(0x342)][_0x2aa2cf(0x3a3)](_0x4f4054);}[_0x1d41aa(0x32a)](_0x23427d){const _0x3b003d=_0x1d41aa,{memberID:_0x31544d}=_0x23427d[_0x3b003d(0x355)],_0x57b668=this['cursorInfo'];_0x57b668[_0x3b003d(0x375)](_0x31544d),this[_0x3b003d(0x342)][_0x3b003d(0x3a3)](_0x57b668);}[_0x1d41aa(0x28f)](){const _0x270930=_0x1d41aa;var _0x2cedf2;if(this[_0x270930(0x304)]=!0x0,((_0x2cedf2=this[_0x270930(0x2a5)][_0x270930(0x21c)]())==null?void 0x0:_0x2cedf2[_0x270930(0x25f)]())!==this[_0x270930(0x249)])return;const _0x79be31=this[_0x270930(0x34f)][_0x270930(0x217)](_0x27e88a)['getDocRanges']();Array[_0x270930(0x1ba)](_0x79be31)&&_0x79be31[_0x270930(0x25c)]>0x0&&this[_0x270930(0x2b4)](_0x79be31);}[_0x1d41aa(0x1c5)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0xcce005(_0x5c6f4f)),P(0x3,_0xcce005(ke)),P(0x4,_0xcce005(_0x3cb3a0)),P(0x5,_0xcce005(He)),P(0x6,_0x4ae50f),P(0x7,_0x3c49dc),P(0x8,_0x268a57)],Ue);var Si=Object[_0x1d41aa(0x248)],mi=(_0x278be1,_0x15a378,_0x2c2465,_0x2b3281)=>{const _0x5344d9=_0x1d41aa;for(var _0x808a75=_0x2b3281>0x1?void 0x0:_0x2b3281?Si(_0x15a378,_0x2c2465):_0x15a378,_0x48dff5=_0x278be1[_0x5344d9(0x25c)]-0x1,_0x4c1a08;_0x48dff5>=0x0;_0x48dff5--)(_0x4c1a08=_0x278be1[_0x48dff5])&&(_0x808a75=_0x4c1a08(_0x808a75)||_0x808a75);return _0x808a75;},x=(_0x4bac71,_0x15152d)=>(_0x53a589,_0x37db32)=>_0x15152d(_0x53a589,_0x37db32,_0x4bac71);const Ii=0x12c,vi=0x64,gi=()=>{let _0x4b25e5=[],_0x276944=!0x1;return _0x2de8cb=>{const _0x56dfa3=_0x3072;_0x4b25e5[_0x56dfa3(0x37f)](_0x2de8cb),_0x276944||(_0x276944=!0x0,setTimeout(()=>{const _0x41c84a=_0x56dfa3;_0x4b25e5[_0x41c84a(0x384)](_0x3616b6=>_0x3616b6()),_0x4b25e5=[],_0x276944=!0x1;}));};};let Me=class extends _0x85e892{constructor(_0x398c01,_0x16872a,_0x24749a,_0x38dd2e,_0x34b7e9,_0x27a435,_0x45eecd,_0x3fc99e){const _0x1d5f89=_0x1d41aa;super(),_(this,_0x1d5f89(0x304),!0x1),_(this,_0x1d5f89(0x2a7),!0x1),_(this,_0x1d5f89(0x342),new _0x5a2de1(new Map())),_(this,_0x1d5f89(0x204),this[_0x1d5f89(0x342)]['asObservable']()),_(this,_0x1d5f89(0x38d),new _0x5a2de1([])),_(this,_0x1d5f89(0x2f0),this['_roomMembers$'][_0x1d5f89(0x27b)](_0x18fe8d(Ii))),_(this,_0x1d5f89(0x2b4),_0xd88edf((_0x411048,_0xde71e0)=>{const _0x193955=_0x1d5f89,_0x50252a={'eventID':_0x3c097d[_0x193955(0x27c)],'data':{'unitID':this[_0x193955(0x249)],'memberID':this['_session'][_0x193955(0x2d1)](),'selection':_0x15c99d(_0x411048,_0xde71e0[_0x193955(0x298)])}};this['_session'][_0x193955(0x2be)](_0x50252a,this[_0x193955(0x249)]);},vi)),(this['unitID']=_0x398c01,this[_0x1d5f89(0x1df)]=_0x16872a,this['_injector']=_0x24749a,this[_0x1d5f89(0x348)]=_0x38dd2e,this['_memberService']=_0x34b7e9,this[_0x1d5f89(0x2a5)]=_0x27a435,this[_0x1d5f89(0x354)]=_0x45eecd,this[_0x1d5f89(0x2c6)]=_0x3fc99e);}get[_0x1d41aa(0x2bf)](){const _0x383a21=_0x1d41aa;return this['_cursorInfo$'][_0x383a21(0x327)]();}get['roomMembers'](){const _0x179c73=_0x1d41aa;return this[_0x179c73(0x38d)][_0x179c73(0x327)]();}[_0x1d41aa(0x27e)](){const _0x1d8de9=_0x1d41aa;super[_0x1d8de9(0x27e)](),this[_0x1d8de9(0x342)]['next'](new Map()),this[_0x1d8de9(0x342)]['complete'](),this[_0x1d8de9(0x38d)][_0x1d8de9(0x3a3)]([]),this['_roomMembers$'][_0x1d8de9(0x2ca)]();}[_0x1d41aa(0x288)](){const _0x5426e1=_0x1d41aa;this[_0x5426e1(0x2a7)]||(this['_init']=!0x0,this[_0x5426e1(0x1df)][_0x5426e1(0x2c9)]['pipe'](_0xe2ba41(this[_0x5426e1(0x1ab)]))[_0x5426e1(0x266)](_0x3c50a5=>{const _0x316304=_0x5426e1;_0x3c50a5===_0x1b4602['ONLINE']?this[_0x316304(0x28f)]():this[_0x316304(0x1c5)]();}),this[_0x5426e1(0x1df)][_0x5426e1(0x259)][_0x5426e1(0x27b)](_0xe2ba41(this[_0x5426e1(0x1ab)]))[_0x5426e1(0x266)](_0xfcb629=>{const _0x4b33b4=_0x5426e1,_0x3ad519=_0xfcb629[_0x4b33b4(0x382)];_0x3ad519===_0x3c097d['UPDATE_CURSOR']&&this[_0x4b33b4(0x397)](_0xfcb629),_0x3ad519===_0x3c097d[_0x4b33b4(0x32c)]&&this[_0x4b33b4(0x32a)](_0xfcb629);}),this[_0x5426e1(0x360)](),this[_0x5426e1(0x34b)](this[_0x5426e1(0x354)][_0x5426e1(0x31a)](_0x3f2479=>{const _0x5ec9e3=_0x5426e1;if(this['_online']&&_0x3f2479['id']===_0x56a892['id']&&_0x3f2479[_0x5ec9e3(0x2f9)][_0x5ec9e3(0x1a9)]===this[_0x5ec9e3(0x249)]){const _0x2b40f6=_0x3f2479['params'];this['_updateLocalCursor'](_0x2b40f6[_0x5ec9e3(0x370)],_0x2b40f6[_0x5ec9e3(0x366)][0x0]);}})));}[_0x1d41aa(0x397)](_0xee87dc){const _0x484e0a=_0x1d41aa;var _0x5d10bc,_0x2c273c;const {memberID:_0x1d655e,selection:_0x2fe20c}=_0xee87dc[_0x484e0a(0x355)],{sheetName:_0x56a53b,range:_0x349af8}=_0x330145(_0x2fe20c),_0x279c69={'name':(_0x2c273c=(_0x5d10bc=this['_memberService'][_0x484e0a(0x22d)](this['unitID'],_0x1d655e))==null?void 0x0:_0x5d10bc[_0x484e0a(0x35e)])!=null?_0x2c273c:_0x484e0a(0x219),'range':this['_getMergeRange'](_0x56a53b,_0x349af8),'sheetID':_0x56a53b,'color':this[_0x484e0a(0x348)][_0x484e0a(0x307)](_0x1d655e),'selection':_0x2fe20c},_0x13b8d8=this[_0x484e0a(0x2bf)];_0x13b8d8[_0x484e0a(0x36a)](_0x1d655e,_0x279c69),this[_0x484e0a(0x342)][_0x484e0a(0x3a3)](_0x13b8d8);}[_0x1d41aa(0x32a)](_0x33343f){const _0x2f420b=_0x1d41aa,{memberID:_0x637518}=_0x33343f[_0x2f420b(0x355)],_0x2cff47=this[_0x2f420b(0x2bf)];_0x2cff47[_0x2f420b(0x375)](_0x637518),this[_0x2f420b(0x342)][_0x2f420b(0x3a3)](_0x2cff47);}[_0x1d41aa(0x345)](_0x33f153,_0x269fc0){const _0x561adb=_0x1d41aa;var _0x18dc39,_0x3d2729;const _0x395347=(_0x3d2729=(_0x18dc39=this['_univerInstanceService'][_0x561adb(0x371)](this[_0x561adb(0x249)]))==null?void 0x0:_0x18dc39[_0x561adb(0x293)](_0x33f153))==null?void 0x0:_0x3d2729[_0x561adb(0x38e)]();return(_0x395347==null?void 0x0:_0x395347[_0x561adb(0x2ae)](_0x3eb4c1=>_0x1957ac['contains'](_0x3eb4c1,_0x269fc0)))||_0x269fc0;}[_0x1d41aa(0x360)](){const _0x427f80=_0x1d41aa,_0x6183f2=new _0x14c60b(),_0x2dd26b=gi(),_0x2263c0=()=>{const _0x4e33d9=_0x3072;_0x6183f2[_0x4e33d9(0x27e)]();const _0xb6799f=(_0x46b47d,_0x1aa2e1,_0xed922,_0x578b63)=>{const _0x5e1aab=_0x4e33d9;let _0x30d038=[];switch(_0x46b47d['id']){case _0x4b2a02['DeleteRangeMoveLeftCommandId']:{_0x30d038=_0x12f3f8(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x2cb)]:{_0x30d038=_0x2100d8(_0x46b47d,_0x578b63);break;}case _0x4b2a02['InsertColCommandId']:{_0x30d038=_0x19ee34(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x1f9)]:{_0x30d038=_0x1f2ca4(_0x46b47d,_0x578b63);break;}case _0x4b2a02['InsertRangeMoveRightCommandId']:{_0x30d038=_0x323e2d(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x20e)]:{_0x30d038=_0xf640b4(_0x46b47d,_0x578b63);break;}case _0x4b2a02['MoveRangeCommandId']:{_0x30d038=_0x20e0f0(_0x46b47d,_0x578b63);break;}case _0x4b2a02[_0x5e1aab(0x21e)]:{_0x30d038=_0x2bf895(_0x46b47d,_0x578b63);break;}case _0x4b2a02['RemoveRowCommandId']:{_0x30d038=_0x5dd125(_0x46b47d,_0x578b63);break;}}const _0x5853db=_0x47d67b(_0x30d038,_0x578b63),_0x473212=this[_0x5e1aab(0x2bf)][_0x5e1aab(0x217)](_0x1aa2e1);if(_0x473212&&_0x5853db){const _0xdcba62={..._0x473212,'range':_0x5853db};this['cursorInfo'][_0x5e1aab(0x36a)](_0x1aa2e1,_0xdcba62),_0x2dd26b(()=>{const _0xc9f270=_0x5e1aab,_0x54cc93=this['_refRangeService']['registerRefRange'](_0x5853db,_0x5ab8bb=>(_0x54cc93['dispose'](),_0xb6799f(_0x5ab8bb,_0x1aa2e1,_0xed922,_0x5853db)));_0x6183f2[_0xc9f270(0x1e9)](_0x54cc93);});}return{'redos':[],'undos':[]};};this[_0x4e33d9(0x2bf)]['forEach']((_0xc3cbdd,_0x42b312)=>{const _0x16b4d8=_0x4e33d9,{range:_0x221644,sheetID:_0x184e8f}=_0xc3cbdd,_0x2d9ed2=this[_0x16b4d8(0x2c6)][_0x16b4d8(0x26f)](_0x221644,_0x57e35e=>(_0x2d9ed2['dispose'](),_0xb6799f(_0x57e35e,_0x42b312,_0x184e8f,_0x221644)));_0x6183f2[_0x16b4d8(0x1e9)](_0x2d9ed2);});};this[_0x427f80(0x34b)](_0x4e6890(this[_0x427f80(0x342)][_0x427f80(0x266)](()=>{_0x2263c0();})));}[_0x1d41aa(0x28f)](){const _0x4929f6=_0x1d41aa;var _0x464cca,_0x289ba5;if(this[_0x4929f6(0x304)]=!0x0,((_0x464cca=this['_univerInstanceService'][_0x4929f6(0x21c)]())==null?void 0x0:_0x464cca[_0x4929f6(0x25f)]())!==this['unitID'])return;const _0x3ea501=(_0x289ba5=this['_injector']['get'](_0x43c1b1)[_0x4929f6(0x35c)]())==null?void 0x0:_0x289ba5[0x0],_0x1330ca=this[_0x4929f6(0x2a5)][_0x4929f6(0x391)](_0x357bfd[_0x4929f6(0x2b1)])['getActiveSheet']();_0x3ea501&&_0x1330ca&&this[_0x4929f6(0x2b4)](_0x1330ca[_0x4929f6(0x1d9)](),_0x3ea501);}[_0x1d41aa(0x1c5)](){const _0x54ebac=_0x1d41aa;this[_0x54ebac(0x304)]=!0x1;}};Me=mi([x(0x2,_0xcce005(_0x5c6f4f)),x(0x3,_0xcce005(ke)),x(0x4,_0xcce005(_0x3cb3a0)),x(0x5,_0x3c49dc),x(0x6,_0x268a57),x(0x7,_0xcce005(_0x2ded4c))],Me);var pi=Object[_0x1d41aa(0x248)],Ci=(_0x2fd5fe,_0x32c093,_0x517bf5,_0x20a716)=>{const _0x107174=_0x1d41aa;for(var _0x42ff2b=_0x20a716>0x1?void 0x0:_0x20a716?pi(_0x32c093,_0x517bf5):_0x32c093,_0x5aa23b=_0x2fd5fe[_0x107174(0x25c)]-0x1,_0x28bae7;_0x5aa23b>=0x0;_0x5aa23b--)(_0x28bae7=_0x2fd5fe[_0x5aa23b])&&(_0x42ff2b=_0x28bae7(_0x42ff2b)||_0x42ff2b);return _0x42ff2b;},me=(_0x441f7b,_0x510068)=>(_0x2dd372,_0x289a2c)=>_0x510068(_0x2dd372,_0x289a2c,_0x441f7b);let F=class extends _0x85e892{constructor(_0x2f5d69,_0x2b29dd,_0x31bb99){const _0x44645e=_0x1d41aa;super(),_(this,'_entities',new Map()),_(this,_0x44645e(0x26b),new _0x1c165a()),(this[_0x44645e(0x2a5)]=_0x2f5d69,this[_0x44645e(0x34f)]=_0x2b29dd,this[_0x44645e(0x32b)]=_0x31bb99,this[_0x44645e(0x2a7)]());}[_0x1d41aa(0x27e)](){const _0xeef10d=_0x1d41aa;super['dispose'](),this[_0xeef10d(0x26b)][_0xeef10d(0x2ca)](),this[_0xeef10d(0x3a6)]['forEach'](_0x45aae4=>_0x45aae4['dispose']());}[_0x1d41aa(0x377)](_0x21b9bf){const _0x2edfcd=_0x1d41aa;return this[_0x2edfcd(0x3a6)][_0x2edfcd(0x1d4)](_0x21b9bf)?this[_0x2edfcd(0x3a6)][_0x2edfcd(0x217)](_0x21b9bf)[_0x2edfcd(0x204)]:this['_entityInit$']['pipe'](_0x3d4807(_0x31abd2=>_0x31abd2[_0x2edfcd(0x249)]===_0x21b9bf),_0x61b8f7(_0x5c1445=>_0x5c1445[_0x2edfcd(0x204)]));}[_0x1d41aa(0x2a7)](){const _0x53a4e7=_0x1d41aa;this[_0x53a4e7(0x2a5)]['getTypeOfUnitAdded$'](_0x357bfd['UNIVER_SHEET'])['pipe'](_0xe2ba41(this[_0x53a4e7(0x1ab)]))[_0x53a4e7(0x266)](async _0x3cac22=>{const _0xe8b91a=_0x53a4e7,_0x1c9486=_0x3cac22['getUnitId'](),_0x4b0e55=await this['_startSheetCollabCursor'](_0x1c9486);this[_0xe8b91a(0x26b)]['next'](_0x4b0e55),this['_entities'][_0xe8b91a(0x36a)](_0x1c9486,_0x4b0e55);}),this['_univerInstanceService'][_0x53a4e7(0x21d)](_0x357bfd['UNIVER_DOC'])[_0x53a4e7(0x27b)](_0xe2ba41(this[_0x53a4e7(0x1ab)]))[_0x53a4e7(0x27b)](_0x3d4807(_0x2de028=>!_0x2de028[_0x53a4e7(0x25f)]()['startsWith']('__')))[_0x53a4e7(0x266)](async _0x58df30=>{const _0x508fc0=_0x53a4e7,_0x5f4987=_0x58df30[_0x508fc0(0x25f)](),_0x1418f2=await this[_0x508fc0(0x28a)](_0x5f4987);this[_0x508fc0(0x26b)]['next'](_0x1418f2),this[_0x508fc0(0x3a6)]['set'](_0x5f4987,_0x1418f2);}),_0x501ea0(this[_0x53a4e7(0x2a5)][_0x53a4e7(0x29d)](_0x357bfd[_0x53a4e7(0x277)]),this[_0x53a4e7(0x2a5)]['getTypeOfUnitDisposed$'](_0x357bfd[_0x53a4e7(0x2b1)]))[_0x53a4e7(0x27b)](_0xe2ba41(this['dispose$']))[_0x53a4e7(0x266)](_0x47cf17=>{const _0x370cc6=_0x53a4e7,_0x5ef130=_0x47cf17[_0x370cc6(0x25f)](),_0x19d122=this[_0x370cc6(0x3a6)]['get'](_0x5ef130);_0x19d122&&(_0x19d122[_0x370cc6(0x27e)](),this['_entities'][_0x370cc6(0x375)](_0x5ef130));});}async[_0x1d41aa(0x2f8)](_0x37aa8a){const _0xed64ed=_0x1d41aa,_0x17c6f4=await this[_0xed64ed(0x32b)][_0xed64ed(0x2a1)](_0x37aa8a),_0x533015=this[_0xed64ed(0x34f)][_0xed64ed(0x32f)](Me,_0x37aa8a,_0x17c6f4);return _0x533015[_0xed64ed(0x288)](),_0x533015;}async[_0x1d41aa(0x28a)](_0x44b579){const _0x6b22b9=_0x1d41aa,_0x56b4b9=await this[_0x6b22b9(0x32b)][_0x6b22b9(0x2a1)](_0x44b579),_0x25f662=this['_injector']['createInstance'](Ue,_0x44b579,_0x56b4b9);return _0x25f662['init'](),_0x25f662;}};F=Ci([me(0x0,_0x3c49dc),me(0x1,_0xcce005(_0x5c6f4f)),me(0x2,_0xcce005(_0x1c2fc3))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x5d4fac,_0x19f36d){const _0x1f5f41=_0x1d41aa;let {radius:_0x609e68,width:_0x17120a,height:_0x1010fb}=_0x19f36d;_0x609e68=_0x609e68!=null?_0x609e68:0x0,_0x17120a=_0x17120a!=null?_0x17120a:0x1e,_0x1010fb=_0x1010fb!=null?_0x1010fb:0x1e;let _0x42e1dc=0x0,_0x1d562a=0x0,_0x163db0=0x0;_0x42e1dc=_0x1d562a=_0x163db0=Math[_0x1f5f41(0x2e8)](_0x609e68,_0x17120a/0x2,_0x1010fb/0x2),_0x5d4fac[_0x1f5f41(0x341)](),_0x5d4fac[_0x1f5f41(0x1f8)](_0x42e1dc,0x0),_0x5d4fac[_0x1f5f41(0x1c9)](_0x17120a-_0x1d562a,0x0),_0x5d4fac[_0x1f5f41(0x26c)](_0x17120a-_0x1d562a,_0x1d562a,_0x1d562a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d4fac[_0x1f5f41(0x1c9)](_0x17120a,_0x1010fb-_0x163db0),_0x5d4fac[_0x1f5f41(0x26c)](_0x17120a-_0x163db0,_0x1010fb-_0x163db0,_0x163db0,0x0,Math['PI']/0x2,!0x1),_0x5d4fac[_0x1f5f41(0x1c9)](0x0,_0x1010fb),_0x5d4fac[_0x1f5f41(0x1c9)](0x0,_0x42e1dc),_0x5d4fac[_0x1f5f41(0x26c)](_0x42e1dc,_0x42e1dc,_0x42e1dc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d4fac[_0x1f5f41(0x211)](),_0x19f36d['fill']&&(_0x5d4fac[_0x1f5f41(0x24d)](),_0x5d4fac[_0x1f5f41(0x31e)]=_0x19f36d[_0x1f5f41(0x2d5)],_0x19f36d['fillRule']===_0x1f5f41(0x24c)?_0x5d4fac[_0x1f5f41(0x2d5)]('evenodd'):_0x5d4fac[_0x1f5f41(0x2d5)](),_0x5d4fac['restore']());}class ue extends _0x55a175{constructor(_0xffcebe,_0x560573){const _0xb86e8a=_0x1d41aa;super(_0xffcebe,_0x560573),_(this,'color'),_(this,'text'),(this[_0xb86e8a(0x1e0)]=_0x560573==null?void 0x0:_0x560573[_0xb86e8a(0x1e0)],this['text']=_0x560573==null?void 0x0:_0x560573['text']);}static[_0x1d41aa(0x24e)](_0x54ff7f,_0x313427){const _0x105b38=_0x1d41aa,{text:_0x29915a,color:_0xc3b207}=_0x313427;_0x54ff7f['save'](),_0x54ff7f[_0x105b38(0x1c2)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a1b15=_0x54ff7f[_0x105b38(0x30e)](_0x29915a)[_0x105b38(0x39a)],_0x30b817=Math[_0x105b38(0x2e8)](_0x3a1b15+0x2*Ie,Qe);Oi(_0x54ff7f,{'height':J,'radius':0x4,'width':_0x30b817,'fill':_0xc3b207}),_0x54ff7f[_0x105b38(0x31e)]=_0x105b38(0x334);const _0x425d6b=Ie,_0x4d5fa6=J-Ei,_0x2a0aa0=Qe-0x2*Ie;if(_0x3a1b15>_0x2a0aa0){let _0x4b1968='',_0x40fcc6=0x0;for(const _0x3a7cf0 of _0x29915a){const _0x4b9943=_0x54ff7f[_0x105b38(0x30e)](_0x3a7cf0)[_0x105b38(0x39a)];if(_0x40fcc6+_0x4b9943<=_0x2a0aa0-_0x54ff7f[_0x105b38(0x30e)](_0x105b38(0x237))[_0x105b38(0x39a)])_0x4b1968+=_0x3a7cf0,_0x40fcc6+=_0x4b9943;else{_0x4b1968+='...';break;}}_0x54ff7f['fillText'](_0x4b1968,_0x425d6b,_0x4d5fa6);}else _0x54ff7f[_0x105b38(0x2a4)](_0x29915a,_0x425d6b,_0x4d5fa6);_0x54ff7f[_0x105b38(0x2aa)]();}[_0x1d41aa(0x378)](_0x32cfd1){const _0x15b6c5=_0x1d41aa;ue[_0x15b6c5(0x24e)](_0x32cfd1,this);}}const ve=_0x1d41aa(0x24b),bi='collab-text-range-',Ti=_0x1d41aa(0x292),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1d41aa(0x2ad);class qe{constructor(_0x26679b,_0x45111e,_0x5af4fe,_0xf18fca){const _0x5aa4a1=_0x1d41aa;_(this,_0x5aa4a1(0x2e6),[]),_(this,_0x5aa4a1(0x325),null),_(this,_0x5aa4a1(0x1c1),null),_(this,'_anchorDot',null),_(this,_0x5aa4a1(0x336),null),_(this,_0x5aa4a1(0x2c8),null),(this['_cursor']=_0x26679b,this[_0x5aa4a1(0x2ef)]=_0x45111e,this[_0x5aa4a1(0x2eb)]=_0x5af4fe,this[_0x5aa4a1(0x1c3)]=_0xf18fca,this['_render']());}set['_hover'](_0xdbac3b){const _0x249e20=_0x1d41aa;_0xdbac3b?(this[_0x249e20(0x230)]&&this[_0x249e20(0x230)][_0x249e20(0x367)](),this['_textBubble']&&this['_textBubble'][_0x249e20(0x1be)]()):(this[_0x249e20(0x230)]&&this[_0x249e20(0x230)]['show'](),this[_0x249e20(0x1c1)]&&this[_0x249e20(0x1c1)][_0x249e20(0x367)]());}['dispose'](){const _0x4c7104=_0x1d41aa;for(const _0x54b1e9 of this[_0x4c7104(0x2e6)])_0x54b1e9[_0x4c7104(0x27e)]();this[_0x4c7104(0x1c1)]&&this[_0x4c7104(0x1c1)]['dispose'](),this[_0x4c7104(0x230)]&&this[_0x4c7104(0x230)]['dispose'](),this[_0x4c7104(0x325)]&&this[_0x4c7104(0x325)][_0x4c7104(0x27e)](),this[_0x4c7104(0x2c8)]&&this[_0x4c7104(0x2c8)]();}['_render'](){const _0x1cd5e0=_0x1d41aa;var _0x104b81;const {_docSkeleton:_0x374c47,_document:_0x2356ba}=this,{color:_0x9ca4a8,name:_0x824043,ranges:_0x383991}=this[_0x1cd5e0(0x294)],_0x19a941=_0x2356ba[_0x1cd5e0(0x1fe)](),{docsLeft:_0x1d87b8,docsTop:_0x474900}=_0x19a941,_0x1e18cd=new _0x149adc(_0x19a941,_0x374c47);for(const {startOffset:_0x7fe0ad,endOffset:_0x2e1ecd,rangeType:_0x2a9cf6,segmentId:_0x2ae871,segmentPage:_0x372704,collapsed:_0x1d7c04,isActive:_0x45c28b}of _0x383991){const _0x312652=_0x374c47['findNodePositionByCharIndex'](_0x7fe0ad,!0x0,_0x2ae871,_0x372704);let _0x1b6baf=_0x374c47[_0x1cd5e0(0x20a)](_0x2e1ecd,!0x0,_0x2ae871,_0x372704);if(_0x1b6baf==null&&(_0x1b6baf=_0x374c47[_0x1cd5e0(0x20a)](_0x2e1ecd-0x1,!0x1,_0x2ae871,_0x372704)),_0x45c28b){const {contentBoxPointGroup:_0x44215d}=_0x1e18cd[_0x1cd5e0(0x1f1)](_0x1b6baf,_0x1b6baf);if(_0x44215d[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x2b9)](_0x9ca4a8,_0x44215d,_0x1d87b8,_0x474900,_0x824043),this[_0x1cd5e0(0x2c8)]=this[_0x1cd5e0(0x269)]();}if(_0x312652&&_0x1b6baf){if(_0x2a9cf6===_0x27bd23['RECT']){const _0x10bddc=new _0x572eb2(_0x19a941,_0x374c47),{pointGroup:_0x16b046}=(_0x104b81=_0x10bddc[_0x1cd5e0(0x1f1)](_0x312652,_0x1b6baf))!=null?_0x104b81:{};if(_0x16b046==null||_0x16b046[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x2a0)](_0x9ca4a8,_0x16b046,_0x1d87b8,_0x474900);}else{if(!_0x1d7c04){const {borderBoxPointGroup:_0x3a641f}=_0x1e18cd[_0x1cd5e0(0x1f1)](_0x312652,_0x1b6baf);if(_0x3a641f[_0x1cd5e0(0x25c)]===0x0)continue;this[_0x1cd5e0(0x224)](_0x9ca4a8,_0x3a641f,_0x1d87b8,_0x474900);}}}}}[_0x1d41aa(0x2b9)](_0x462450,_0x2fd580,_0x5c0564,_0x2e91ce,_0x1eecc8){const _0x4ff942=_0x1d41aa,_0x311e17=this[_0x4ff942(0x388)](_0x2fd580),{left:_0x35f108,top:_0x44b918,height:_0x44d0c8}=_0x311e17,_0xb0f83d=this[_0x4ff942(0x1fb)](),_0x72528c=Di/_0xb0f83d,_0x5ba214=new _0x402196(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce,'height':_0x44d0c8,'width':Ri,'fill':_0x462450||_0x16e0cb(_0x212370['black'],0x0),'strokeWidth':_0x72528c,'stroke':Ni,'evented':!0x0});this[_0x4ff942(0x325)]=_0x5ba214,this['_scene'][_0x4ff942(0x25a)](_0x5ba214,_0x437769);const _0x3afa62=new _0x402196(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce-ge/0x2,'height':ge,'width':ge,'fill':_0x462450||_0x16e0cb(_0x212370[_0x4ff942(0x244)],0x0),'strokeWidth':0x0,'stroke':_0x462450||_0x16e0cb(_0x212370[_0x4ff942(0x244)],0x0),'evented':!0x1});this['_anchorDot']=_0x3afa62,this[_0x4ff942(0x2ef)][_0x4ff942(0x25a)](_0x3afa62,_0x437769);const _0x317807=new ue(ve+_0x575d2b(G),{'left':_0x35f108+_0x5c0564-_0x72528c,'top':_0x44b918+_0x2e91ce-J,'text':_0x1eecc8,'color':_0x462450});this['_textBubble']=_0x317807,this[_0x4ff942(0x2ef)][_0x4ff942(0x25a)](_0x317807,_0x437769),this['_hover']=!0x1;}[_0x1d41aa(0x269)](){const _0x31aece=_0x1d41aa,_0x17f52a=this['_anchor'][_0x31aece(0x257)]['subscribeEvent'](()=>{const _0x24ad0d=_0x31aece;this[_0x24ad0d(0x353)]=!0x0;}),_0x5c37a0=this['_anchor'][_0x31aece(0x2dc)]['subscribeEvent'](()=>{const _0x522b5e=_0x31aece;this['_hideTimer']&&clearTimeout(this[_0x522b5e(0x336)]),this[_0x522b5e(0x336)]=setTimeout(()=>{const _0x65233a=_0x522b5e;this[_0x65233a(0x353)]=!0x1;},0x7d0);});return()=>{const _0x105dfe=_0x31aece;_0x17f52a['unsubscribe'](),_0x5c37a0[_0x105dfe(0x347)]();};}['_drawTextRange'](_0x1c982f,_0x1474f8,_0x23d459,_0x4214b7){const _0x47c94c=_0x1d41aa,_0x1af91f=new _0x1c1677(_0x1c982f)['setAlpha'](0.2)[_0x47c94c(0x286)](),_0x1cb153=new _0x299553(bi+_0x575d2b(G),{'pointsGroup':_0x1474f8,'fill':_0x1af91f||_0x16e0cb(_0x212370['black'],0.2),'left':_0x23d459,'top':_0x4214b7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47c94c(0x37f)](_0x1cb153),this[_0x47c94c(0x2ef)][_0x47c94c(0x25a)](_0x1cb153,_0x437769);}[_0x1d41aa(0x2a0)](_0x5b396c,_0x329227,_0x4a14ac,_0x12b44a){const _0x1bf290=_0x1d41aa,_0x1dac99=new _0x1c1677(_0x5b396c)[_0x1bf290(0x37e)](0.2)[_0x1bf290(0x286)](),_0x4ddeb1=new _0x299553(Ti+_0x575d2b(G),{'pointsGroup':_0x329227,'fill':_0x1dac99||_0x16e0cb(_0x212370[_0x1bf290(0x244)],0.2),'left':_0x4a14ac,'top':_0x12b44a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bf290(0x2e6)][_0x1bf290(0x37f)](_0x4ddeb1),this['_scene'][_0x1bf290(0x25a)](_0x4ddeb1,_0x437769);}[_0x1d41aa(0x388)](_0x56ab95){const _0x140875=_0x56ab95[0x0],_0x2e1198=_0x140875[0x0],_0x1002cf=_0x140875[0x2],{x:_0x17a86c,y:_0x3c4c62}=_0x2e1198,{x:_0x303c0a,y:_0x4abca0}=_0x1002cf;return{'left':_0x17a86c,'top':_0x3c4c62,'width':_0x303c0a-_0x17a86c,'height':_0x4abca0-_0x3c4c62};}[_0x1d41aa(0x1fb)](){const _0x338ab0=_0x1d41aa,{scaleX:_0x454571,scaleY:_0x2d1260}=this[_0x338ab0(0x2ef)]['getAncestorScale']();return Math[_0x338ab0(0x319)](_0x454571,_0x2d1260);}}var Ui=Object[_0x1d41aa(0x248)],Mi=(_0x1ddfdc,_0x3e6a07,_0x196602,_0x7efb82)=>{const _0x201d22=_0x1d41aa;for(var _0x3e32e4=_0x7efb82>0x1?void 0x0:_0x7efb82?Ui(_0x3e6a07,_0x196602):_0x3e6a07,_0x28e31e=_0x1ddfdc[_0x201d22(0x25c)]-0x1,_0x56dcf5;_0x28e31e>=0x0;_0x28e31e--)(_0x56dcf5=_0x1ddfdc[_0x28e31e])&&(_0x3e32e4=_0x56dcf5(_0x3e32e4)||_0x3e32e4);return _0x3e32e4;},q=(_0x3901b9,_0x1887ab)=>(_0x1b1e67,_0x17d2fa)=>_0x1887ab(_0x1b1e67,_0x17d2fa,_0x3901b9);let Le=class extends _0x85e892{constructor(_0x41645e,_0x17c9ad,_0x56e4db,_0x113ae7,_0x1ec601){const _0x42573f=_0x1d41aa;super(),_(this,_0x42573f(0x1b0),[]),_(this,_0x42573f(0x321),[]),(this['_context']=_0x41645e,this[_0x42573f(0x3a4)]=_0x17c9ad,this[_0x42573f(0x33c)]=_0x56e4db,this[_0x42573f(0x354)]=_0x113ae7,this[_0x42573f(0x265)]=_0x1ec601,this[_0x42573f(0x2a7)]());}[_0x1d41aa(0x2a7)](){const _0xafed3f=_0x1d41aa,_0x4e9920=this['_context'][_0xafed3f(0x1a9)],_0x27f375=this[_0xafed3f(0x3a4)];this[_0xafed3f(0x34b)](_0x1d7e6d([this[_0xafed3f(0x33c)][_0xafed3f(0x377)](_0x4e9920),this[_0xafed3f(0x265)][_0xafed3f(0x23b)]])[_0xafed3f(0x27b)](_0x7c1c2c(([_0x571f71,_0x3bb055])=>({'skeleton':_0x27f375['getSkeleton'](),'cursors':[..._0x571f71[_0xafed3f(0x2f4)]()][_0xafed3f(0x2a8)](_0x1e1621=>({..._0x1e1621,'color':this['_themeService'][_0xafed3f(0x356)](_0x1e1621[_0xafed3f(0x1e0)])}))})))[_0xafed3f(0x266)](_0x396568=>{const _0x8b5c87=_0xafed3f;if(this['_removeCollabCursors'](),_0x396568){const {skeleton:_0x4f78ce,cursors:_0x3877bd}=_0x396568;this[_0x8b5c87(0x2d7)](_0x4f78ce,_0x3877bd);}})),this[_0xafed3f(0x1d6)](),this[_0xafed3f(0x32d)]();}['_updateCollabCursors'](_0x3462f3,_0x38e78b){const _0x481c77=_0x1d41aa,{scene:_0x2aed7f,mainComponent:_0x18029e}=this['_context'],_0x2593a1=_0x38e78b[_0x481c77(0x38b)](_0xdc9147=>new qe(_0xdc9147,_0x2aed7f,_0x3462f3,_0x18029e));this[_0x481c77(0x1b0)]=_0x2593a1,this[_0x481c77(0x321)]=_0x38e78b;}[_0x1d41aa(0x2fe)](){const _0x148a25=_0x1d41aa;this['_removeCollabCursors']();const {scene:_0x48ea48,mainComponent:_0x2fcf50}=this[_0x148a25(0x23a)],_0xdbb620=this[_0x148a25(0x3a4)][_0x148a25(0x1a4)](),_0x101a3c=this[_0x148a25(0x321)][_0x148a25(0x38b)](_0xe20957=>new qe(_0xe20957,_0x48ea48,_0xdbb620,_0x2fcf50));this['_cursorShapes']=_0x101a3c;}[_0x1d41aa(0x2a3)](){const _0x24852d=_0x1d41aa;this[_0x24852d(0x1b0)]['forEach'](_0xe2d8b2=>_0xe2d8b2[_0x24852d(0x27e)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x143166=_0x1d41aa,_0x2c4939=[_0x331b82['id']];this[_0x143166(0x34b)](this[_0x143166(0x354)]['onCommandExecuted'](_0x238c5d=>{const _0x98488b=_0x143166;_0x2c4939['includes'](_0x238c5d['id'])&&_0x238c5d[_0x98488b(0x2f9)]['unitId']===this[_0x98488b(0x23a)][_0x98488b(0x1a9)]&&this[_0x98488b(0x2fe)]();}));}[_0x1d41aa(0x1d6)](){const _0x101ba0=_0x1d41aa;this[_0x101ba0(0x34b)](_0x2de1b0(this[_0x101ba0(0x23a)][_0x101ba0(0x30c)][_0x101ba0(0x205)])[_0x101ba0(0x27b)](_0x5ce252(_0x3bc462=>_0x3bc462[_0x101ba0(0x1ff)]===_0x407e04['resize']),_0x3d96f3(0x10))[_0x101ba0(0x266)](()=>{const _0x3c15a1=_0x101ba0;this[_0x3c15a1(0x2fe)]();}));}};Le=Mi([q(0x1,_0xcce005(_0x1948fb)),q(0x2,_0xcce005(F)),q(0x3,_0x268a57),q(0x4,_0xcce005(_0x4aa273))],Le);const Li=0x1,Pi=1.5;class wi extends _0x55a175{constructor(_0x555d12,_0x334410){const _0xdb2fc6=_0x1d41aa;super(_0x555d12,_0x334410),_(this,'_color'),_(this,_0xdb2fc6(0x251),!0x1),_(this,_0xdb2fc6(0x2dd)),_(this,_0xdb2fc6(0x1db),''),_(this,_0xdb2fc6(0x36b),_0xdb2fc6(0x29f)),_(this,_0xdb2fc6(0x1b2)),(_0x334410&&this[_0xdb2fc6(0x313)](_0x334410),this[_0xdb2fc6(0x257)][_0xdb2fc6(0x2a2)](()=>this[_0xdb2fc6(0x313)]({'hovered':!0x0})),this[_0xdb2fc6(0x2dc)][_0xdb2fc6(0x2a2)](()=>this[_0xdb2fc6(0x313)]({'hovered':!0x1})));}[_0x1d41aa(0x313)](_0x30f191){const _0x26bf9f=_0x1d41aa;var _0x1d3a96,_0x43cf70,_0x1b2b68,_0x38ba38,_0x226d59,_0x871f91;this[_0x26bf9f(0x28c)]=(_0x1d3a96=_0x30f191[_0x26bf9f(0x1e0)])!=null?_0x1d3a96:this[_0x26bf9f(0x28c)],this[_0x26bf9f(0x251)]=(_0x43cf70=_0x30f191[_0x26bf9f(0x202)])!=null?_0x43cf70:this['_hovered'],this[_0x26bf9f(0x2dd)]=(_0x1b2b68=_0x30f191[_0x26bf9f(0x298)])!=null?_0x1b2b68:this[_0x26bf9f(0x2dd)],this['_name']=(_0x38ba38=_0x30f191[_0x26bf9f(0x35e)])!=null?_0x38ba38:this[_0x26bf9f(0x1db)],this[_0x26bf9f(0x36b)]=(_0x226d59=_0x30f191['labelPosition'])!=null?_0x226d59:this[_0x26bf9f(0x36b)],this[_0x26bf9f(0x1b2)]=(_0x871f91=_0x30f191[_0x26bf9f(0x242)])!=null?_0x871f91:this[_0x26bf9f(0x1b2)],this[_0x26bf9f(0x1ad)]({'width':_0x30f191[_0x26bf9f(0x39a)],'height':_0x30f191[_0x26bf9f(0x2d3)]});}[_0x1d41aa(0x233)](_0x53821a){const _0x1de0cd=_0x1d41aa,{row:_0x2df736,column:_0x1c5d16}=_0x53821a;if(_0x2df736>=this['_range'][_0x1de0cd(0x1f3)]&&_0x2df736<=this[_0x1de0cd(0x2dd)]['endRow']&&_0x1c5d16>=this[_0x1de0cd(0x2dd)]['startColumn']&&_0x1c5d16<=this[_0x1de0cd(0x2dd)]['endColumn']){this[_0x1de0cd(0x313)]({'hovered':!0x0});return;}this[_0x1de0cd(0x313)]({'hovered':!0x1});}[_0x1d41aa(0x2ee)](_0x4f581d){return!0x1;}[_0x1d41aa(0x378)](_0x3ecbfc){const _0x3b0515=_0x1d41aa;_0x402196[_0x3b0515(0x24e)](_0x3ecbfc,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x3b0515(0x28c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3b0515(0x251)]&&(_0x3ecbfc[_0x3b0515(0x24d)](),_0x3ecbfc[_0x3b0515(0x35b)](0x1,0x0,0x0,0x1,this[_0x3b0515(0x39a)],this[_0x3b0515(0x36b)]===_0x3b0515(0x239)?0x0:-J),ue[_0x3b0515(0x24e)](_0x3ecbfc,{'text':this[_0x3b0515(0x1db)],'color':this['_color']}),_0x3ecbfc[_0x3b0515(0x2aa)]());}}var Ai=Object[_0x1d41aa(0x248)],yi=(_0x260388,_0x41a5a0,_0x410e63,_0x3d841a)=>{for(var _0x373be9=_0x3d841a>0x1?void 0x0:_0x3d841a?Ai(_0x41a5a0,_0x410e63):_0x41a5a0,_0x2ac570=_0x260388['length']-0x1,_0x5dc64a;_0x2ac570>=0x0;_0x2ac570--)(_0x5dc64a=_0x260388[_0x2ac570])&&(_0x373be9=_0x5dc64a(_0x373be9)||_0x373be9);return _0x373be9;},pe=(_0x56d718,_0x324cb0)=>(_0x56a7b1,_0x1fa44d)=>_0x324cb0(_0x56a7b1,_0x1fa44d,_0x56d718);const $i=0x1389;let Pe=class extends _0x85e892{constructor(_0x4983a5,_0x2cf139,_0x5d5f74,_0x3b813d){const _0x18b9cf=_0x1d41aa;super(),_(this,_0x18b9cf(0x321),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x4983a5,this[_0x18b9cf(0x324)]=_0x2cf139,this['_collabCursorController']=_0x5d5f74,this[_0x18b9cf(0x265)]=_0x3b813d,this[_0x18b9cf(0x2a7)]());}[_0x1d41aa(0x2a7)](){const _0x2a8d54=_0x1d41aa;this[_0x2a8d54(0x324)]['currentSkeleton$']['pipe'](_0x27174a(this[_0x2a8d54(0x1ab)]),_0x3ea857(_0x5d3750=>{const _0x122c91=_0x2a8d54;if(_0x5d3750){const _0x18c754=_0x5d3750['sheetId'];return _0x1d7e6d(this['_collabCursorController'][_0x122c91(0x377)](this[_0x122c91(0x23a)]['unitId']),this[_0x122c91(0x265)][_0x122c91(0x23b)])[_0x122c91(0x27b)](_0x7c1c2c(([_0x395b4c,_0x125245])=>{const _0x20ce91=_0x122c91,_0x5ad520=new Map();return _0x395b4c[_0x20ce91(0x384)]((_0x1d7fc8,_0x18adfd)=>{const _0x2f6f9a=_0x20ce91;if(_0x1d7fc8['sheetID']===_0x18c754){const _0x4c9ca1={..._0x1d7fc8};_0x4c9ca1[_0x2f6f9a(0x1e0)]=this[_0x2f6f9a(0x265)][_0x2f6f9a(0x356)](_0x1d7fc8[_0x2f6f9a(0x1e0)]),_0x5ad520[_0x2f6f9a(0x36a)](_0x18adfd,_0x4c9ca1);}}),{'skeleton':_0x5d3750,'cursors':_0x5ad520};}));}return _0x554421({'skeleton':null,'cursors':new Map()});}))[_0x2a8d54(0x266)](({skeleton:_0x37c720,cursors:_0x22d1a1})=>{const _0x4d17fd=_0x2a8d54;this[_0x4d17fd(0x2a3)](),_0x37c720&&this[_0x4d17fd(0x2d7)](_0x37c720,_0x22d1a1);}),this[_0x2a8d54(0x324)]['currentSkeleton$']['subscribe'](_0x35c735=>{const _0x39ff95=_0x2a8d54;if(_0x35c735==null)return;const {skeleton:_0x253246}=_0x35c735,{scene:_0x45e26f}=this[_0x39ff95(0x23a)];_0x45e26f[_0x39ff95(0x346)][_0x39ff95(0x2a2)](_0xd88edf(_0x294697=>{const _0x24b2f1=_0x39ff95;var _0x32323b,_0x451f55;const {offsetX:_0x1b1477,offsetY:_0x5812f8}=_0x294697,{x:_0xcfe86e,y:_0x5c454f}=_0x45e26f[_0x24b2f1(0x2df)](_0x4c714f['FromArray']([_0x1b1477,_0x5812f8])),{scaleX:_0x44b92f,scaleY:_0x254675}=_0x45e26f[_0x24b2f1(0x2f1)](),_0xd5cdd8=_0x45e26f[_0x24b2f1(0x210)](_0x9746ba[_0x24b2f1(0x255)]),_0x2e89c7=_0x45e26f[_0x24b2f1(0x220)](_0x4c714f[_0x24b2f1(0x34d)]([_0xcfe86e,_0x5c454f]),_0xd5cdd8),_0x3aea9c=_0x253246[_0x24b2f1(0x1f6)](_0x1b1477,_0x5812f8,_0x44b92f,_0x254675,_0x2e89c7);((_0x32323b=this[_0x24b2f1(0x303)])==null?void 0x0:_0x32323b[_0x24b2f1(0x315)])===_0x3aea9c[_0x24b2f1(0x315)]&&((_0x451f55=this[_0x24b2f1(0x303)])==null?void 0x0:_0x451f55[_0x24b2f1(0x1e7)])===_0x3aea9c[_0x24b2f1(0x1e7)]||this[_0x24b2f1(0x321)][_0x24b2f1(0x384)](_0x20402b=>{const _0x2b1c14=_0x24b2f1;_0x20402b[_0x2b1c14(0x233)](_0x3aea9c);});},0x64));});}['_updateCollabCursors'](_0x13dda4,_0x2ed68a){const _0x176a88=_0x1d41aa;var _0x129494;const _0x5f547b=(_0x129494=this[_0x176a88(0x324)][_0x176a88(0x1a3)]())==null?void 0x0:_0x129494[_0x176a88(0x1a5)];if(!_0x5f547b)return;const _0x170768=this[_0x176a88(0x2ab)]();if(!_0x170768)return;this[_0x176a88(0x321)][_0x176a88(0x384)](_0x24e79b=>{const _0x24cf9d=_0x176a88;_0x24e79b[_0x24cf9d(0x1d5)]();});const {scene:_0x26a83c}=_0x170768,_0x5a6d3a=xi(Array[_0x176a88(0x337)](_0x2ed68a[_0x176a88(0x2f4)]()))[_0x176a88(0x38b)](_0x101a4d=>{const _0x126ccb=_0x176a88,{color:_0x414477,range:_0x424c05,name:_0x379a07,selection:_0x1a5caf,sheetID:_0x43fed7}=_0x101a4d,{startColumn:_0x2ca7d0,startRow:_0x20372c,endColumn:_0x59b702,endRow:_0x2d826a}=_0x424c05,_0x367c07=_0x1ffdb5(_0x20372c,_0x2ca7d0,_0x26a83c,_0x5f547b),_0x396697=_0x1ffdb5(_0x2d826a,_0x59b702,_0x26a83c,_0x5f547b),{columnHeaderHeightAndMarginTop:_0x34f3f1}=_0x5f547b,{startX:_0xcb620c,startY:_0x49ee22}=_0x367c07,{endX:_0x3550e7,endY:_0x19b367}=_0x396697,_0x4b4722=_0x3550e7-_0xcb620c,_0x59a86a=_0x19b367-_0x49ee22,_0x334b3a={'labelPosition':_0x49ee22-_0x34f3f1>=J?_0x126ccb(0x29f):_0x126ccb(0x239),'sheetID':_0x43fed7,'range':_0x424c05,'color':_0x414477,'name':_0x379a07,'selection':_0x1a5caf,'left':_0xcb620c,'top':_0x49ee22,'width':_0x4b4722,'height':_0x59a86a,'evented':!0x1,'zIndex':$i};return new wi(_0x379a07,_0x334b3a);});_0x26a83c[_0x176a88(0x20f)](_0x5a6d3a,Li),this['_cursors']=new Set(_0x5a6d3a);}[_0x1d41aa(0x2a3)](){const _0x173cb8=_0x1d41aa;var _0x3ed16a;(_0x3ed16a=this['_cursors'])==null||_0x3ed16a[_0x173cb8(0x384)](_0x16a06e=>_0x16a06e[_0x173cb8(0x27e)]());}[_0x1d41aa(0x2ab)](){const _0x1751a8=_0x1d41aa;return _0x2629ad(this[_0x1751a8(0x23a)][_0x1751a8(0x311)],this['_context']);}};Pe=yi([pe(0x1,_0xcce005(_0x380795)),pe(0x2,_0xcce005(F)),pe(0x3,_0xcce005(_0x4aa273))],Pe);function xi(_0x13ef00){const _0x208300=_0x1d41aa,_0x5cc704=new Map();return _0x13ef00[_0x208300(0x384)](_0x28bb68=>{const _0x386f78=_0x208300;if(_0x5cc704['has'](_0x28bb68[_0x386f78(0x22c)])){const _0x48e342=_0x5cc704[_0x386f78(0x217)](_0x28bb68['selection']);_0x48e342[_0x386f78(0x35e)]+=',\x20'+_0x28bb68['name'];}else _0x5cc704[_0x386f78(0x36a)](_0x28bb68[_0x386f78(0x22c)],_0x28bb68);}),Array[_0x208300(0x337)](_0x5cc704[_0x208300(0x2f4)]());}var v=function(){const _0x3dde02=_0x1d41aa;return v=Object[_0x3dde02(0x31f)]||function(_0x303fd3){const _0x36c41b=_0x3dde02;for(var _0x1ab404,_0x2bc74a=0x1,_0x53415c=arguments[_0x36c41b(0x25c)];_0x2bc74a<_0x53415c;_0x2bc74a++){_0x1ab404=arguments[_0x2bc74a];for(var _0x5cfa17 in _0x1ab404)Object[_0x36c41b(0x385)][_0x36c41b(0x329)][_0x36c41b(0x379)](_0x1ab404,_0x5cfa17)&&(_0x303fd3[_0x5cfa17]=_0x1ab404[_0x5cfa17]);}return _0x303fd3;},v[_0x3dde02(0x39c)](this,arguments);},Bi=function(_0x51500d,_0x8415ba){const _0x43dc2b=_0x1d41aa;var _0x57fd2e={};for(var _0x9c0ff9 in _0x51500d)Object[_0x43dc2b(0x385)][_0x43dc2b(0x329)]['call'](_0x51500d,_0x9c0ff9)&&_0x8415ba[_0x43dc2b(0x1aa)](_0x9c0ff9)<0x0&&(_0x57fd2e[_0x9c0ff9]=_0x51500d[_0x9c0ff9]);if(_0x51500d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3c2622=0x0,_0x9c0ff9=Object[_0x43dc2b(0x374)](_0x51500d);_0x3c2622<_0x9c0ff9['length'];_0x3c2622++)_0x8415ba[_0x43dc2b(0x1aa)](_0x9c0ff9[_0x3c2622])<0x0&&Object[_0x43dc2b(0x385)]['propertyIsEnumerable'][_0x43dc2b(0x379)](_0x51500d,_0x9c0ff9[_0x3c2622])&&(_0x57fd2e[_0x9c0ff9[_0x3c2622]]=_0x51500d[_0x9c0ff9[_0x3c2622]]);}return _0x57fd2e;},Fe=_0x568c11(function(_0xd5a21,_0x1f20d6){const _0x347ab4=_0x1d41aa;var _0x11ffe7=_0xd5a21['icon'],_0xe59045=_0xd5a21['id'],_0x5424ac=_0xd5a21[_0x347ab4(0x24f)],_0x1dd378=_0xd5a21[_0x347ab4(0x39e)],_0x321c9a=Bi(_0xd5a21,['icon','id',_0x347ab4(0x24f),'extend']),_0x3705ee=_0x347ab4(0x22a)[_0x347ab4(0x394)](_0xe59045,'\x20')[_0x347ab4(0x394)](_0x5424ac||'')[_0x347ab4(0x218)](),_0x4adb93=_0x38af19('_'['concat'](Fi()));return Dt(_0x11ffe7,''[_0x347ab4(0x394)](_0xe59045),{'defIds':_0x11ffe7[_0x347ab4(0x235)],'idSuffix':_0x4adb93[_0x347ab4(0x2ed)]},v({'ref':_0x1f20d6,'className':_0x3705ee},_0x321c9a),_0x1dd378);});function Dt(_0x16f12e,_0x412ddd,_0x126850,_0x291103,_0x5224cb){const _0x3076cb=_0x1d41aa;return _0x225279(_0x16f12e['tag'],v(v({'key':_0x412ddd},ki(_0x16f12e,_0x126850,_0x5224cb)),_0x291103),(Hi(_0x16f12e,_0x126850)[_0x3076cb(0x287)]||[])[_0x3076cb(0x38b)](function(_0xfdd62b,_0x354ba1){const _0x19f50b=_0x3076cb;return Dt(_0xfdd62b,''['concat'](_0x412ddd,'-')[_0x19f50b(0x394)](_0x16f12e[_0x19f50b(0x300)],'-')[_0x19f50b(0x394)](_0x354ba1),_0x126850,void 0x0,_0x5224cb);}));}function ki(_0x3ac80c,_0x28bc20,_0xd91dd){const _0x8b1780=_0x1d41aa;var _0x447d98=v({},_0x3ac80c['attrs']);_0xd91dd!=null&&_0xd91dd[_0x8b1780(0x389)]&&_0x447d98[_0x8b1780(0x2d5)]===_0x8b1780(0x389)&&(_0x447d98['fill']=_0xd91dd['colorChannel1']),_0x3ac80c[_0x8b1780(0x300)]==='mask'&&_0x447d98['id']&&(_0x447d98['id']=_0x447d98['id']+_0x28bc20[_0x8b1780(0x26a)]),Object['entries'](_0x447d98)[_0x8b1780(0x384)](function(_0x5838cb){const _0x3120ed=_0x8b1780;var _0x33656b=_0x5838cb[0x0],_0x25e429=_0x5838cb[0x1];_0x33656b===_0x3120ed(0x2ff)&&typeof _0x25e429==_0x3120ed(0x349)&&(_0x447d98[_0x33656b]=_0x25e429[_0x3120ed(0x282)](/url\(#(.*)\)/,'url(#$1'[_0x3120ed(0x394)](_0x28bc20[_0x3120ed(0x26a)],')')));});var _0x285794=_0x28bc20[_0x8b1780(0x235)];return!_0x285794||_0x285794[_0x8b1780(0x25c)]===0x0||(_0x3ac80c[_0x8b1780(0x300)]===_0x8b1780(0x2bc)&&_0x447d98[_0x8b1780(0x1d0)]&&(_0x447d98['xlink:href']=_0x447d98[_0x8b1780(0x1d0)]+_0x28bc20[_0x8b1780(0x26a)]),Object[_0x8b1780(0x390)](_0x447d98)[_0x8b1780(0x384)](function(_0x20cfc5){const _0x3b57f4=_0x8b1780;var _0x1da12a=_0x20cfc5[0x0],_0x89e729=_0x20cfc5[0x1];typeof _0x89e729==_0x3b57f4(0x349)&&(_0x447d98[_0x1da12a]=_0x89e729[_0x3b57f4(0x282)](/url\(#(.*)\)/,_0x3b57f4(0x223)[_0x3b57f4(0x394)](_0x28bc20['idSuffix'],')')));})),_0x447d98;}function Hi(_0x3c802c,_0xdc9860){const _0x3ccb10=_0x1d41aa;var _0x15e300,_0x4ce9d1=_0xdc9860[_0x3ccb10(0x235)];return!_0x4ce9d1||_0x4ce9d1[_0x3ccb10(0x25c)]===0x0?_0x3c802c:_0x3c802c['tag']===_0x3ccb10(0x212)&&(!((_0x15e300=_0x3c802c[_0x3ccb10(0x287)])===null||_0x15e300===void 0x0)&&_0x15e300[_0x3ccb10(0x25c)])?v(v({},_0x3c802c),{'children':_0x3c802c[_0x3ccb10(0x287)][_0x3ccb10(0x38b)](function(_0x33f189){const _0x2cfcb3=_0x3ccb10;return typeof _0x33f189[_0x2cfcb3(0x1ef)]['id']=='string'&&_0x4ce9d1&&_0x4ce9d1[_0x2cfcb3(0x357)](_0x33f189[_0x2cfcb3(0x1ef)]['id'])?v(v({},_0x33f189),{'attrs':v(v({},_0x33f189[_0x2cfcb3(0x1ef)]),{'id':_0x33f189[_0x2cfcb3(0x1ef)]['id']+_0xdc9860[_0x2cfcb3(0x26a)]})}):_0x33f189;})}):_0x3c802c;}function Fi(){const _0x334225=_0x1d41aa;return Math[_0x334225(0x21f)]()[_0x334225(0x2d8)](0x24)[_0x334225(0x364)](0x2,0x8);}Fe['displayName']=_0x1d41aa(0x1cd);var Yi={'tag':'svg','attrs':{'xmlns':_0x1d41aa(0x291),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1d41aa(0x317),'height':_0x1d41aa(0x317)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d41aa(0x1cc)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'stroke':_0x1d41aa(0x339),'d':_0x1d41aa(0x22e),'strokeLinecap':_0x1d41aa(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d41aa(0x212),'attrs':{},'children':[{'tag':_0x1d41aa(0x351),'attrs':{'id':_0x1d41aa(0x36d)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'fill':_0x1d41aa(0x1e1),'d':_0x1d41aa(0x20d)}}]}]}],'defIds':[_0x1d41aa(0x36d)]},Nt=_0x568c11(function(_0xc978da,_0x1275f6){const _0x1b7bdb=_0x1d41aa;return _0x225279(Fe,Object[_0x1b7bdb(0x31f)]({},_0xc978da,{'id':_0x1b7bdb(0x396),'ref':_0x1275f6,'icon':Yi}));});Nt[_0x1d41aa(0x1b8)]=_0x1d41aa(0x1a8);var ji={'tag':_0x1d41aa(0x1c8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d41aa(0x250),'viewBox':_0x1d41aa(0x33d),'width':'1em','height':_0x1d41aa(0x317)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d41aa(0x3a1)},'children':[{'tag':'path','attrs':{'stroke':_0x1d41aa(0x339),'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':'round','strokeLinejoin':_0x1d41aa(0x25e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d41aa(0x1ee)},'children':[{'tag':_0x1d41aa(0x2f7),'attrs':{'fill':_0x1d41aa(0x1e1),'d':_0x1d41aa(0x20d),'transform':_0x1d41aa(0x1f4)}}]}]}],'defIds':[_0x1d41aa(0x1ee)]},Ut=_0x568c11(function(_0x4570cd,_0x471d1e){const _0x50206e=_0x1d41aa;return _0x225279(Fe,Object[_0x50206e(0x31f)]({},_0x4570cd,{'id':_0x50206e(0x1bb),'ref':_0x471d1e,'icon':ji}));});Ut[_0x1d41aa(0x1b8)]=_0x1d41aa(0x381);function Vi(_0x257ab3){const _0x5ef2ea=_0x1d41aa;switch(_0x257ab3){case _0x301b01[_0x5ef2ea(0x297)]:return'collabStatus.offline';case _0x301b01[_0x5ef2ea(0x36f)]:return'collabStatus.conflict';case _0x301b01[_0x5ef2ea(0x216)]:return _0x5ef2ea(0x1fa);case _0x301b01['NOT_COLLAB']:return _0x5ef2ea(0x2c5);case _0x301b01[_0x5ef2ea(0x1af)]:case _0x301b01[_0x5ef2ea(0x302)]:return _0x5ef2ea(0x206);case _0x301b01['SYNCED']:case _0x301b01[_0x5ef2ea(0x2fb)]:return _0x5ef2ea(0x200);}}function Wi(_0xd50b96){const _0x1769e6=_0x1d41aa,{status$:_0x23a0ba}=_0xd50b96,_0x438f66=_0x4b86c6(_0x23a0ba,_0x301b01['NOT_COLLAB']),_0x56eb6c=_0xd3ad5(_0x269fd9),_0x3b3fb8=_0xd3ad5(_0x1c2fc3),_0x12a1cc=_0x438f66!==_0x301b01[_0x1769e6(0x297)],_0x18614a=_0x56eb6c['t'](Vi(_0x438f66)),_0xd2fc98=_0x12a1cc?_0x56ab7c(Ut,{}):_0x56ab7c(Nt,{}),_0x10db1a=_0x198673(()=>{const _0x4144ee=_0x1769e6;_0x12a1cc||_0x3b3fb8[_0x4144ee(0x380)]();},[_0x12a1cc,_0x3b3fb8]);function _0x24f2b9(){const _0x4a29a5=_0x1769e6;return _0x5d53a3('div',{'className':_0x4a29a5(0x2c3),'onClick':_0x10db1a,'children':[_0x56ab7c('div',{'className':_0x484ea5(_0x4a29a5(0x2ac),{'univer-text-green-500':_0x12a1cc,'univer-text-red-500':!_0x12a1cc}),'children':_0xd2fc98}),_0x56ab7c(_0x4a29a5(0x29c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x18614a})]});}return _0x12a1cc?_0x24f2b9():_0x56ab7c(_0x11b0bf,{'title':_0x56eb6c['t'](_0x1769e6(0x1bf)),'children':_0x24f2b9()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x25632e,_0x7e985,_0x55bfc1,_0x4421bf)=>{const _0x85462b=_0x1d41aa;for(var _0x7e57bd=_0x4421bf>0x1?void 0x0:_0x4421bf?Xi(_0x7e985,_0x55bfc1):_0x7e985,_0x3b1530=_0x25632e[_0x85462b(0x25c)]-0x1,_0x581364;_0x3b1530>=0x0;_0x3b1530--)(_0x581364=_0x25632e[_0x3b1530])&&(_0x7e57bd=_0x581364(_0x7e57bd)||_0x7e57bd);return _0x7e57bd;},ee=(_0x5e57ab,_0xa34b16)=>(_0x3be997,_0x1e7d0b)=>_0xa34b16(_0x3be997,_0x1e7d0b,_0x5e57ab);let se=class extends _0x2800ff{constructor(_0x45c933,_0x4fc8ae,_0x4a22c4,_0x24c1f5){const _0x29aac5=_0x1d41aa;super(),_(this,'_status$',new _0x5a2de1(_0x301b01[_0x29aac5(0x1f7)])),(this[_0x29aac5(0x2a5)]=_0x45c933,this[_0x29aac5(0x34f)]=_0x4fc8ae,this[_0x29aac5(0x1e3)]=_0x4a22c4,this[_0x29aac5(0x2d4)]=_0x24c1f5,this[_0x29aac5(0x1bd)](),this[_0x29aac5(0x3a0)]());}[_0x1d41aa(0x3a0)](){const _0x28365c=_0x1d41aa;this[_0x28365c(0x34b)](this[_0x28365c(0x2a5)][_0x28365c(0x1a1)][_0x28365c(0x27b)](_0x61b8f7(()=>{const _0x34043c=_0x28365c,_0x44ebac=this[_0x34043c(0x2a5)][_0x34043c(0x21c)]();return _0x44ebac?this['_collaborationController']['getCollabEntity$'](_0x44ebac[_0x34043c(0x25f)]()):_0x554421(null);}),_0x61b8f7(_0x5a2ec6=>_0x5a2ec6?_0x5a2ec6['status$']:_0x554421(_0x301b01[_0x28365c(0x1f7)])))[_0x28365c(0x266)](_0x5ed244=>{const _0x3b69bb=_0x28365c;this[_0x3b69bb(0x1bc)][_0x3b69bb(0x3a3)](_0x5ed244);}));}['_initStatusComponent'](){const _0x14a2a2=_0x1d41aa;this[_0x14a2a2(0x34b)](this[_0x14a2a2(0x2d4)]['registerComponent'](_0x5eb0d7[_0x14a2a2(0x31b)],()=>_0x549c57(Ki({'status$':this[_0x14a2a2(0x1bc)][_0x14a2a2(0x1ed)]()}),this[_0x14a2a2(0x34f)])));}};se=Gi([ee(0x0,_0x3c49dc),ee(0x1,_0xcce005(_0x5c6f4f)),ee(0x2,_0xcce005(_0x56d127)),ee(0x3,_0x303682)],se);function Ki(_0x496622){const {status$:_0x94d2d5}=_0x496622;return function(){return _0x56ab7c(Wi,{'status$':_0x94d2d5});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4490f0,_0x553287,_0x5b1a1d,_0x52cb68)=>{const _0x736712=_0x1d41aa;for(var _0x176fa1=_0x52cb68>0x1?void 0x0:_0x52cb68?zi(_0x553287,_0x5b1a1d):_0x553287,_0x13f35d=_0x4490f0[_0x736712(0x25c)]-0x1,_0x541f52;_0x13f35d>=0x0;_0x13f35d--)(_0x541f52=_0x4490f0[_0x13f35d])&&(_0x176fa1=_0x541f52(_0x176fa1)||_0x176fa1);return _0x176fa1;},B=(_0x24519a,_0x3cdeb5)=>(_0x17797c,_0x36d478)=>_0x3cdeb5(_0x17797c,_0x36d478,_0x24519a);let ie=class extends _0x2800ff{constructor(_0x276ffc,_0x2c4f96,_0x40e16a,_0x3dbda7,_0x21427a,_0x478455){const _0x1eb75b=_0x1d41aa;super(),this['_beforeCloseService']=_0x276ffc,this[_0x1eb75b(0x2e7)]=_0x2c4f96,this[_0x1eb75b(0x213)]=_0x40e16a,this['_messageService']=_0x3dbda7,this[_0x1eb75b(0x30a)]=_0x21427a,this['_localeService']=_0x478455,this[_0x1eb75b(0x290)](),this[_0x1eb75b(0x1ea)]();}['_setupBeforeClosingHandler'](){const _0x5124c7=_0x1d41aa;this[_0x5124c7(0x34b)](this[_0x5124c7(0x38a)]['registerBeforeClose'](()=>{const _0x38e3d7=_0x5124c7;if(this['_localCacheService']['saveTaskMap'][_0x38e3d7(0x24a)])return this[_0x38e3d7(0x316)]['t'](_0x38e3d7(0x31c));}));}['_initEvent'](){const _0x39d5fc=_0x1d41aa;this[_0x39d5fc(0x34b)](this['_collaborationUIEventService'][_0x39d5fc(0x259)][_0x39d5fc(0x266)](_0x3905c2=>{const _0x4f3c2c=_0x39d5fc;_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x2a9)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this['_localeService']['t'](_0x4f3c2c(0x386))}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x1e8)]&&this['_messageService'][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this[_0x4f3c2c(0x316)]['t'](_0x4f3c2c(0x2b2))}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x365)]&&this['_notificationService'][_0x4f3c2c(0x1be)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x4f3c2c(0x279)),'type':_0x4f3c2c(0x318),'duration':0x0}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x36f)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63['Error'],'content':this[_0x4f3c2c(0x316)]['t'](_0x4f3c2c(0x2b2))+'('+_0x3905c2[_0x4f3c2c(0x355)]+')'}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x246)]&&this['_messageService']['show']({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this['_localeService']['t'](_0x3905c2[_0x4f3c2c(0x355)]||'')}),_0x3905c2['id']===_0x1e0a6d['SOCKET_FAILED_RETRY']&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1ce)],'content':this[_0x4f3c2c(0x316)]['t']('session.will-retry')}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x1dc)]&&this[_0x4f3c2c(0x27a)][_0x4f3c2c(0x1be)]({'type':_0x445c63[_0x4f3c2c(0x1eb)],'content':this[_0x4f3c2c(0x316)]['t']('session.connection-failed')}),_0x3905c2['id']===_0x1e0a6d[_0x4f3c2c(0x252)]&&this[_0x4f3c2c(0x27a)]['show']({'type':_0x445c63[_0x4f3c2c(0x1eb)],'content':this[_0x4f3c2c(0x316)]['t']('session.collaboration-timeout')});}));}};ie=Ji([B(0x0,_0xa8c410),B(0x1,_0x1255fd),B(0x2,_0xcce005(_0x34d2ea)),B(0x3,_0x41c5c4),B(0x4,_0x2555d3),B(0x5,_0xcce005(_0x269fd9))],ie);const Zi=_0x1d41aa(0x1d1),et={},Mt=_0x41b18f('uni.network.url-service');var Qi=Object[_0x1d41aa(0x248)],qi=(_0x5cef0c,_0x51d604,_0x4ad948,_0x273b26)=>{for(var _0x952c4c=_0x273b26>0x1?void 0x0:_0x273b26?Qi(_0x51d604,_0x4ad948):_0x51d604,_0x22ed9=_0x5cef0c['length']-0x1,_0x32b647;_0x22ed9>=0x0;_0x22ed9--)(_0x32b647=_0x5cef0c[_0x22ed9])&&(_0x952c4c=_0x32b647(_0x952c4c)||_0x952c4c);return _0x952c4c;},K=(_0x21860a,_0x577af9)=>(_0x386d4a,_0x2dc26a)=>_0x577af9(_0x386d4a,_0x2dc26a,_0x21860a);let ne=class extends _0x85e892{constructor(_0x4bfe17,_0x3c48c5,_0x3a952d,_0x255a89,_0x121cca){const _0x4486ee=_0x1d41aa;super(),this[_0x4486ee(0x1b1)]=_0x4bfe17,this[_0x4486ee(0x32e)]=_0x3c48c5,this['_commandService']=_0x3a952d,this[_0x4486ee(0x2cd)]=_0x255a89,_0x121cca?_0x121cca==null||_0x121cca['whenReady']()[_0x4486ee(0x276)](()=>this[_0x4486ee(0x2a7)]()):(this[_0x4486ee(0x32e)]['debug'](_0x4486ee(0x2c4),_0x4486ee(0x2de)),this[_0x4486ee(0x2a7)]());}async[_0x1d41aa(0x2a7)](){const _0xc13c43=_0x1d41aa,_0x83eba5=this['_urlService'][_0xc13c43(0x229)](_0xc13c43(0x311)),_0x21ba55=this[_0xc13c43(0x1b1)][_0xc13c43(0x229)](_0xc13c43(0x1ff)),_0x1dcc88=this['_urlService']['getParam'](_0xc13c43(0x358));if(!_0x83eba5||!_0x21ba55){this['_logService'][_0xc13c43(0x21b)](_0xc13c43(0x2c4),_0xc13c43(0x1c6));return;}const _0x11808d=await this[_0xc13c43(0x2cd)][_0xc13c43(0x26d)](_0x83eba5,Number(_0x21ba55),_0x1dcc88);_0x11808d&&_0x11808d instanceof _0x38bdf9&&this[_0xc13c43(0x30f)](_0x11808d);}async[_0x1d41aa(0x30f)](_0x1cf6f1){const _0x4be13e=_0x1d41aa;await this[_0x4be13e(0x352)](_0x1cf6f1),_0x1cf6f1[_0x4be13e(0x326)][_0x4be13e(0x27b)](_0xe2ba41(this[_0x4be13e(0x1ab)]))[_0x4be13e(0x266)](_0x2a5bc5=>{_0x2a5bc5&&this['_updateURLWithCurrentState'](_0x2a5bc5);}),this['_urlService'][_0x4be13e(0x201)]['pipe'](_0xe2ba41(this[_0x4be13e(0x1ab)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1cf6f1));}[_0x1d41aa(0x299)](_0x1f8d1f,_0x2412a2=!0x1){const _0x22ac14=_0x1d41aa,_0xdb5d7b=this[_0x22ac14(0x1b1)][_0x22ac14(0x229)](_0x22ac14(0x358));_0x1f8d1f[_0x22ac14(0x1d9)]()!==_0xdb5d7b&&this[_0x22ac14(0x1b1)][_0x22ac14(0x1b3)]('subunit',_0x1f8d1f[_0x22ac14(0x1d9)](),_0x2412a2);}async[_0x1d41aa(0x352)](_0x43c7d0){const _0x352840=_0x1d41aa;var _0x4d6d3e;const _0x67cbb2=this[_0x352840(0x1b1)][_0x352840(0x229)](_0x352840(0x358));if(!_0x67cbb2||!_0x43c7d0['getSheetBySheetId'](_0x67cbb2)){const _0xbe783c=_0x43c7d0[_0x352840(0x362)]()[0x0],_0x74d7f1=_0x43c7d0[_0x352840(0x293)](_0xbe783c);if(!_0x74d7f1)return;this[_0x352840(0x299)](_0x74d7f1,!0x0),await this[_0x352840(0x354)][_0x352840(0x203)](_0x158419['id'],{'unitId':_0x43c7d0[_0x352840(0x25f)](),'subUnitId':_0xbe783c});return;}((_0x4d6d3e=_0x43c7d0[_0x352840(0x398)]())==null?void 0x0:_0x4d6d3e[_0x352840(0x1d9)]())!==_0x67cbb2&&await this[_0x352840(0x354)][_0x352840(0x203)](_0x158419['id'],{'unitId':_0x43c7d0[_0x352840(0x25f)](),'subUnitId':_0x67cbb2});}};ne=qi([K(0x0,Mt),K(0x1,_0x41e6cd),K(0x2,_0x268a57),K(0x3,_0xcce005(_0xd33af7)),K(0x4,_0xab635a(_0x3c7901))],ne);function _0x3072(_0x535a82,_0x3621fa){const _0x222279=_0x2222();return _0x3072=function(_0x30729b,_0x48118b){_0x30729b=_0x30729b-0x1a1;let _0x3661a2=_0x222279[_0x30729b];return _0x3661a2;},_0x3072(_0x535a82,_0x3621fa);}var en=Object[_0x1d41aa(0x248)],tn=(_0x4bf102,_0x43cf6e,_0x32cca2,_0x20f021)=>{const _0x2dd770=_0x1d41aa;for(var _0x4bc79a=_0x20f021>0x1?void 0x0:_0x20f021?en(_0x43cf6e,_0x32cca2):_0x43cf6e,_0x2d56d0=_0x4bf102[_0x2dd770(0x25c)]-0x1,_0x3945fd;_0x2d56d0>=0x0;_0x2d56d0--)(_0x3945fd=_0x4bf102[_0x2d56d0])&&(_0x4bc79a=_0x3945fd(_0x4bc79a)||_0x4bc79a);return _0x4bc79a;},tt=(_0x4d0605,_0x5ef928)=>(_0x2add49,_0x292244)=>_0x5ef928(_0x2add49,_0x292244,_0x4d0605);let re=class{constructor(_0x53dc9e,_0x3e36f4){const _0x537186=_0x1d41aa;this[_0x537186(0x27f)]=_0x53dc9e,this['_renderManagerService']=_0x3e36f4;}[_0x1d41aa(0x34e)](_0x21fffe){const _0x1aeb1a=_0x1d41aa;this[_0x1aeb1a(0x350)](_0x21fffe),this['_transformPreviousActiveRange'](_0x21fffe);}[_0x1d41aa(0x335)](_0x40d994){const _0x48b300=_0x1d41aa,{unitID:_0x57c323}=_0x40d994,_0x20021d=this['_renderManagerService'][_0x48b300(0x322)](_0x57c323)[_0x48b300(0x2cf)](_0x1f4fd3),{redoCache:_0x18fa1e}=_0x20021d[_0x48b300(0x268)]();if(_0x18fa1e[_0x48b300(0x25c)]===0x0)return _0x40d994;let _0x2b946f=_0x59fb77['deepClone'](_0x40d994[_0x48b300(0x23e)][0x0]);for(let _0xe9c6fc=0x0;_0xe9c6fc<_0x18fa1e[_0x48b300(0x25c)];_0xe9c6fc++){const _0x93f21e={'id':_0x48b300(0x328),'params':{..._0x18fa1e[_0xe9c6fc]}},_0x50f111=this['_transformService'][_0x48b300(0x28b)](_0x2b946f,_0x93f21e,!0x1);if(_0x30fa04(_0x50f111))throw _0x50f111['error'];_0x2b946f=_0x50f111[_0x48b300(0x22b)];}return{..._0x59fb77[_0x48b300(0x214)](_0x40d994),'mutations':[_0x2b946f]};}[_0x1d41aa(0x350)](_0x156b9e){const _0x1d307f=_0x1d41aa,{unitID:_0x5120a2}=_0x156b9e,_0x2311ea=this[_0x1d307f(0x340)][_0x1d307f(0x322)](_0x5120a2)[_0x1d307f(0x2cf)](_0x1f4fd3),{undoCache:_0x5b2c4f,redoCache:_0x5ca951}=_0x2311ea[_0x1d307f(0x268)]();if(_0x5b2c4f[_0x1d307f(0x25c)]===0x0||_0x5ca951['length']===0x0)return;const _0x4802ac=[],_0x5f1522=[];let _0x40184c=_0x59fb77['deepClone'](_0x156b9e[_0x1d307f(0x23e)][0x0]),_0x566f2e=_0x59fb77[_0x1d307f(0x214)](_0x156b9e['mutations'][0x0]);for(let _0x578bf8=_0x5b2c4f[_0x1d307f(0x25c)]-0x1;_0x578bf8>=0x0;_0x578bf8--){const _0x5e8857={'id':_0x1d307f(0x328),'params':{..._0x5b2c4f[_0x578bf8]}},_0x44e225={'id':_0x1d307f(0x328),'params':{..._0x5ca951[_0x578bf8]}},_0x3acbe6=this['_transformService'][_0x1d307f(0x28b)](_0x40184c,_0x5e8857,!0x1),_0x1d2678=this['_transformService'][_0x1d307f(0x28b)](_0x566f2e,_0x44e225,!0x1);if(_0x30fa04(_0x3acbe6))throw _0x3acbe6[_0x1d307f(0x318)];if(_0x30fa04(_0x1d2678))throw _0x1d2678[_0x1d307f(0x318)];_0x4802ac[_0x1d307f(0x37a)](_0x3acbe6[_0x1d307f(0x39f)][_0x1d307f(0x2f9)]),_0x5f1522[_0x1d307f(0x37a)](_0x1d2678[_0x1d307f(0x39f)][_0x1d307f(0x2f9)]),_0x40184c=_0x3acbe6[_0x1d307f(0x22b)],_0x566f2e=_0x1d2678[_0x1d307f(0x22b)];}_0x2311ea['setUndoRedoMutationParamsCache']({'undoCache':_0x4802ac,'redoCache':_0x5f1522});}['_transformPreviousActiveRange'](_0x4fd734){const _0x343730=_0x1d41aa,{unitID:_0x4ee389}=_0x4fd734,_0x2ac45c=this[_0x343730(0x340)][_0x343730(0x322)](_0x4ee389)['with'](_0x1f4fd3),_0x488632=_0x2ac45c[_0x343730(0x23d)]();if(_0x488632==null)return;const _0x1bcfc6=[{'id':_0x343730(0x328),'params':{'unitId':_0x4fd734[_0x343730(0x249)],'actions':null,'textRanges':[_0x488632]}}],_0x3e0457=this['_transformService'][_0x343730(0x37d)](_0x4fd734,_0x1bcfc6);if(!_0x2c9078(_0x3e0457))throw _0x3e0457[_0x343730(0x318)];const _0xe099a6=_0x3e0457['m2Prime'][0x0][_0x343730(0x2f9)][_0x343730(0x263)];Array['isArray'](_0xe099a6)&&_0xe099a6[_0x343730(0x25c)]&&_0x2ac45c[_0x343730(0x207)](_0xe099a6[0x0]);}};re=tn([tt(0x0,_0x4ae50f),tt(0x1,_0x49b12e)],re);var sn=Object[_0x1d41aa(0x248)],nn=(_0x1a2816,_0x1f3521,_0x4af95c,_0x5c57a9)=>{const _0x5a983d=_0x1d41aa;for(var _0x297e3b=_0x5c57a9>0x1?void 0x0:_0x5c57a9?sn(_0x1f3521,_0x4af95c):_0x1f3521,_0x184e25=_0x1a2816[_0x5a983d(0x25c)]-0x1,_0x1b6287;_0x184e25>=0x0;_0x184e25--)(_0x1b6287=_0x1a2816[_0x184e25])&&(_0x297e3b=_0x1b6287(_0x297e3b)||_0x297e3b);return _0x297e3b;},Ce=(_0x4f0adb,_0x3fca27)=>(_0xfd46bb,_0x4cfff4)=>_0x3fca27(_0xfd46bb,_0x4cfff4,_0x4f0adb);let oe=class{constructor(_0x42e153,_0x280900,_0xde2456){const _0x283cb5=_0x1d41aa;this[_0x283cb5(0x34f)]=_0x42e153,this[_0x283cb5(0x27f)]=_0x280900,this['_docStateChangeManagerService']=_0xde2456;}[_0x1d41aa(0x283)](_0x55a586){const _0x1a287e=_0x1d41aa;this[_0x1a287e(0x399)](_0x55a586);}[_0x1d41aa(0x335)](_0x186f96){const _0x52f3f7=_0x1d41aa,{unitID:_0x3883fd}=_0x186f96,{collaboration:_0x553fcf}=this[_0x52f3f7(0x253)][_0x52f3f7(0x285)](_0x3883fd);if(_0x553fcf['length']===0x0)return _0x186f96;let _0x3cad5a=_0x59fb77[_0x52f3f7(0x214)](_0x186f96[_0x52f3f7(0x23e)][0x0]);for(let _0xa95ac6=0x0;_0xa95ac6<_0x553fcf[_0x52f3f7(0x25c)];_0xa95ac6++){const _0x58ed83={'id':_0x52f3f7(0x328),'params':{'unitId':_0x553fcf[_0xa95ac6][_0x52f3f7(0x1a9)],..._0x553fcf[_0xa95ac6]['redoState']}},_0x587c32=this[_0x52f3f7(0x27f)][_0x52f3f7(0x28b)](_0x3cad5a,_0x58ed83,!0x1);if(_0x30fa04(_0x587c32))throw _0x587c32[_0x52f3f7(0x318)];_0x3cad5a=_0x587c32[_0x52f3f7(0x22b)];}return{..._0x59fb77['deepClone'](_0x186f96),'mutations':[_0x3cad5a]};}[_0x1d41aa(0x399)](_0x52cdfa){const _0x5d4b09=_0x1d41aa,{unitID:_0x12edcf}=_0x52cdfa,{history:_0x46442f,collaboration:_0x563c62}=this[_0x5d4b09(0x253)][_0x5d4b09(0x285)](_0x12edcf);if(_0x46442f[_0x5d4b09(0x25c)]===0x0&&_0x563c62['length']===0x0)return;const _0x5653d5=[],_0x3f0bad=[];let _0x332b8b=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]),_0x50e38d=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]);for(let _0x4cfe21=_0x46442f['length']-0x1;_0x4cfe21>=0x0;_0x4cfe21--){const _0x5a4c2f={'id':_0x5d4b09(0x328),'params':{'unitId':_0x46442f[_0x4cfe21][_0x5d4b09(0x1a9)],..._0x46442f[_0x4cfe21]['undoState']}},_0x427fa1={'id':_0x5d4b09(0x328),'params':{'unitId':_0x46442f[_0x4cfe21][_0x5d4b09(0x1a9)],..._0x46442f[_0x4cfe21]['redoState']}},_0x1c4386=this[_0x5d4b09(0x27f)][_0x5d4b09(0x28b)](_0x332b8b,_0x5a4c2f,!0x1),_0x30e35e=this['_transformService'][_0x5d4b09(0x28b)](_0x50e38d,_0x427fa1,!0x1);if(_0x30fa04(_0x1c4386))throw _0x1c4386['error'];if(_0x30fa04(_0x30e35e))throw _0x30e35e[_0x5d4b09(0x318)];_0x5653d5[_0x5d4b09(0x37a)]({..._0x46442f[_0x4cfe21],'undoState':_0x1c4386['m2Prime']['params'],'redoState':_0x30e35e[_0x5d4b09(0x39f)][_0x5d4b09(0x2f9)]}),_0x332b8b=_0x1c4386['m1Prime'],_0x50e38d=_0x30e35e[_0x5d4b09(0x22b)];}_0x332b8b=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]),_0x50e38d=_0x59fb77[_0x5d4b09(0x214)](_0x52cdfa[_0x5d4b09(0x23e)][0x0]);for(let _0x53bb1f=_0x563c62[_0x5d4b09(0x25c)]-0x1;_0x53bb1f>=0x0;_0x53bb1f--){const _0x2fdf07={'id':_0x5d4b09(0x328),'params':{'unitId':_0x563c62[_0x53bb1f][_0x5d4b09(0x1a9)],..._0x563c62[_0x53bb1f]['undoState']}},_0xb6c8fd={'id':_0x5d4b09(0x328),'params':{'unitId':_0x563c62[_0x53bb1f]['unitId'],..._0x563c62[_0x53bb1f][_0x5d4b09(0x323)]}},_0x183ca6=this['_transformService'][_0x5d4b09(0x28b)](_0x332b8b,_0x2fdf07,!0x1),_0x389f39=this[_0x5d4b09(0x27f)][_0x5d4b09(0x28b)](_0x50e38d,_0xb6c8fd,!0x1);if(_0x30fa04(_0x183ca6))throw _0x183ca6[_0x5d4b09(0x318)];if(_0x30fa04(_0x389f39))throw _0x389f39[_0x5d4b09(0x318)];_0x3f0bad[_0x5d4b09(0x37a)]({..._0x563c62[_0x53bb1f],'undoState':_0x183ca6[_0x5d4b09(0x39f)]['params'],'redoState':_0x389f39[_0x5d4b09(0x39f)]['params']}),_0x332b8b=_0x183ca6['m1Prime'],_0x50e38d=_0x389f39['m1Prime'];}this[_0x5d4b09(0x253)][_0x5d4b09(0x368)](_0x12edcf,{'history':_0x5653d5,'collaboration':_0x3f0bad});}};oe=nn([Ce(0x0,_0xcce005(_0x5c6f4f)),Ce(0x1,_0x4ae50f),Ce(0x2,_0xcce005(_0x2b5696))],oe);var rn=Object[_0x1d41aa(0x248)],on=(_0x880a6,_0x5cb858,_0x2a953b,_0x5a0b27)=>{const _0x24b7bf=_0x1d41aa;for(var _0x2e65ce=_0x5a0b27>0x1?void 0x0:_0x5a0b27?rn(_0x5cb858,_0x2a953b):_0x5cb858,_0x3ecdf1=_0x880a6[_0x24b7bf(0x25c)]-0x1,_0x3c6bbe;_0x3ecdf1>=0x0;_0x3ecdf1--)(_0x3c6bbe=_0x880a6[_0x3ecdf1])&&(_0x2e65ce=_0x3c6bbe(_0x2e65ce)||_0x2e65ce);return _0x2e65ce;},st=(_0x3893d1,_0x472c19)=>(_0x521c7a,_0x13af7e)=>_0x472c19(_0x521c7a,_0x13af7e,_0x3893d1);let ae=class{constructor(_0x1427dd,_0x55fa6e){const _0x1b976a=_0x1d41aa;this[_0x1b976a(0x34f)]=_0x1427dd,this[_0x1b976a(0x27f)]=_0x55fa6e;}[_0x1d41aa(0x2b6)](_0x639b7e){const _0x34d28e=_0x1d41aa;var _0x546959;const _0x16cd11=this['_injector'][_0x34d28e(0x217)](_0x27e88a),_0x112b8b=(_0x546959=_0x16cd11[_0x34d28e(0x2f6)]())!=null?_0x546959:[];if(_0x112b8b[_0x34d28e(0x25c)]===0x0)return;const _0x3d3317=_0x639b7e['unitID'],_0x45ef4c=[{'id':_0x34d28e(0x328),'params':{'unitId':_0x3d3317,'actions':null,'textRanges':_0x112b8b}}],_0x5365a8=this[_0x34d28e(0x27f)][_0x34d28e(0x37d)](_0x639b7e,_0x45ef4c);if(!_0x2c9078(_0x5365a8))throw _0x5365a8[_0x34d28e(0x318)];const _0x12147b=_0x5365a8['m2Prime'][0x0][_0x34d28e(0x2f9)][_0x34d28e(0x263)];Array[_0x34d28e(0x1ba)](_0x12147b)&&_0x12147b[_0x34d28e(0x25c)]&&_0x16cd11[_0x34d28e(0x1d8)](_0x12147b,{'unitId':_0x3d3317,'subUnitId':_0x3d3317},!0x1);}};ae=on([st(0x0,_0xcce005(_0x5c6f4f)),st(0x1,_0x4ae50f)],ae);var an=Object[_0x1d41aa(0x248)],cn=(_0x534b18,_0x360546,_0x3d4c15,_0x4f18a3)=>{const _0x100304=_0x1d41aa;for(var _0x25aa7a=_0x4f18a3>0x1?void 0x0:_0x4f18a3?an(_0x360546,_0x3d4c15):_0x360546,_0x3af972=_0x534b18[_0x100304(0x25c)]-0x1,_0x18e66c;_0x3af972>=0x0;_0x3af972--)(_0x18e66c=_0x534b18[_0x3af972])&&(_0x25aa7a=_0x18e66c(_0x25aa7a)||_0x25aa7a);return _0x25aa7a;},N=(_0x1fb679,_0x14dac1)=>(_0x46a7bc,_0x522f96)=>_0x14dac1(_0x46a7bc,_0x522f96,_0x1fb679);let ce=class extends _0x2800ff{constructor(_0x1746a6,_0x117f7f,_0x373b7b,_0x5d77ef,_0x1979f6,_0x589f58,_0x9052d9,_0x5c6ff6){const _0x3db6a0=_0x1d41aa;super(),_(this,_0x3db6a0(0x1bc),new _0x5a2de1(_0x301b01['NOT_COLLAB'])),(this[_0x3db6a0(0x253)]=_0x1746a6,this[_0x3db6a0(0x1e3)]=_0x117f7f,this['_docTransformIMECacheService']=_0x373b7b,this[_0x3db6a0(0x35d)]=_0x5d77ef,this[_0x3db6a0(0x26e)]=_0x1979f6,this['_docSyncEditingCollabCursorService']=_0x589f58,this[_0x3db6a0(0x27a)]=_0x9052d9,this[_0x3db6a0(0x316)]=_0x5c6ff6,this['_initEntityListener']());}[_0x1d41aa(0x361)](){const _0x4957cf=_0x1d41aa;this['disposeWithMe'](this[_0x4957cf(0x1e3)][_0x4957cf(0x38c)][_0x4957cf(0x266)](_0x1628b7=>{const _0xc3a8d5=_0x4957cf,_0x16efd0=this[_0xc3a8d5(0x253)]['docStateChange$'][_0xc3a8d5(0x266)](_0x164a64=>{const _0x199c71=_0xc3a8d5;if(_0x164a64==null)return;const {unitId:_0x375271,redoState:_0x1310ea,commandId:_0x376556}=_0x164a64;if(_0x375271!==_0x1628b7[_0x199c71(0x249)])return;const _0x4efed5={'id':_0x376556,'type':_0x1c6be8[_0x199c71(0x392)],'params':{'unitId':_0x375271,'actions':_0x1310ea[_0x199c71(0x39b)],'textRanges':null}};_0x1628b7[_0x199c71(0x271)](_0x4efed5);});if(_0x1628b7[_0xc3a8d5(0x34b)](_0x16efd0),_0x1628b7 instanceof _0x28706d){const _0x1b946d={'onTransformIME':_0x1fcf27=>this[_0xc3a8d5(0x1c4)][_0xc3a8d5(0x34e)](_0x1fcf27),'onTransformState':_0x48919b=>this[_0xc3a8d5(0x35d)][_0xc3a8d5(0x283)](_0x48919b),'onTransformSelections':_0x366a2b=>this[_0xc3a8d5(0x26e)][_0xc3a8d5(0x2b6)](_0x366a2b),'onSyncEditingCollabCursor':_0x249324=>this['_docSyncEditingCollabCursorService'][_0xc3a8d5(0x343)](_0x249324),'onTransformRemoteChangesetByIMECache':_0x57b0c1=>this[_0xc3a8d5(0x1c4)][_0xc3a8d5(0x335)](_0x57b0c1),'onTransformRemoteChangesetByStateCache':_0x12e82c=>this[_0xc3a8d5(0x35d)][_0xc3a8d5(0x335)](_0x12e82c)};_0x1628b7[_0xc3a8d5(0x308)](_0x1b946d);}}));}};ce=cn([N(0x0,_0xcce005(_0x2b5696)),N(0x1,_0xcce005(_0x56d127)),N(0x2,_0xcce005(re)),N(0x3,_0xcce005(oe)),N(0x4,_0xcce005(ae)),N(0x5,_0xcce005(He)),N(0x6,_0x41c5c4),N(0x7,_0xcce005(_0x269fd9))],ce);var ln=Object[_0x1d41aa(0x248)],_n=(_0x356d59,_0x353cf8,_0x52372f,_0x3ad1e6)=>{const _0x348c74=_0x1d41aa;for(var _0x23a8f6=_0x3ad1e6>0x1?void 0x0:_0x3ad1e6?ln(_0x353cf8,_0x52372f):_0x353cf8,_0x2ca3b6=_0x356d59[_0x348c74(0x25c)]-0x1,_0x58fa8e;_0x2ca3b6>=0x0;_0x2ca3b6--)(_0x58fa8e=_0x356d59[_0x2ca3b6])&&(_0x23a8f6=_0x58fa8e(_0x23a8f6)||_0x23a8f6);return _0x23a8f6;},Ee=(_0xf404b5,_0x1cea03)=>(_0x44e91a,_0x5a1af6)=>_0x1cea03(_0x44e91a,_0x5a1af6,_0xf404b5);let we=class extends _0x2800ff{constructor(_0x3c2850,_0x2b81c6,_0x44e37a){const _0x29b078=_0x1d41aa;super(),_(this,_0x29b078(0x359),new Map()),_(this,_0x29b078(0x2e3),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3c2850,this[_0x29b078(0x267)]=_0x2b81c6,this[_0x29b078(0x1f5)]=_0x44e37a);}[_0x1d41aa(0x383)](){const _0x193a39=_0x1d41aa;this[_0x193a39(0x2e5)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x1d41aa(0x1e5)](){const _0x4acaf3=_0x1d41aa;return this[_0x4acaf3(0x2e3)];}['dispose'](){const _0x583b84=_0x1d41aa;this[_0x583b84(0x1d3)]()[_0x583b84(0x276)](()=>super['dispose']());}async[_0x1d41aa(0x1fc)](_0x3cde5e){const _0x5c5f59=_0x1d41aa;return this[_0x5c5f59(0x2e5)]?null:this[_0x5c5f59(0x267)]['getItem'](_0x2d56e6(_0x3cde5e));}async[_0x1d41aa(0x208)](_0x917b80,_0x49e524){const _0x1e53f1=_0x1d41aa;return!!this[_0x1e53f1(0x267)]['setItem'](_0x917b80,_0x49e524);}[_0x1d41aa(0x228)](_0x6f9d18,_0x3247c8,_0xfbde85,_0x3b9ad4){const _0x465bd2=_0x1d41aa,_0x23b1f=this[_0x465bd2(0x1f5)][_0x465bd2(0x309)](_0x6f9d18);this[_0x465bd2(0x359)]['set'](_0x6f9d18,{'unitID':_0x6f9d18,'type':_0x3247c8,'awaitingChangeset':_0xfbde85,'mutations':_0x3b9ad4,'rev':_0x23b1f}),this[_0x465bd2(0x2e3)]['has'](_0x6f9d18)||this[_0x465bd2(0x262)](_0x6f9d18);}[_0x1d41aa(0x262)](_0x46f3e3){const _0x18f077=_0x1d41aa,_0x57afa8=this['_getSaveTimeout']();_0x57afa8===0x0?this['_saveCache'](_0x46f3e3):this['_saveTaskMap']['set'](_0x46f3e3,setTimeout(()=>this[_0x18f077(0x376)](_0x46f3e3),_0x57afa8));}['_getSaveTimeout'](){const _0x492b38=_0x1d41aa;var _0x1dd562;return(_0x1dd562=this['_configService'][_0x492b38(0x344)](_0x5ae75a))!=null?_0x1dd562:_0x2f2d81;}['_saveCache'](_0x44f832){const _0x4a08a2=_0x1d41aa,_0x2e59c8=this[_0x4a08a2(0x2e3)][_0x4a08a2(0x217)](_0x44f832);return _0x2e59c8!==void 0x0&&window[_0x4a08a2(0x1dd)](_0x2e59c8),this[_0x4a08a2(0x267)][_0x4a08a2(0x1a6)](_0x2d56e6(_0x44f832),this[_0x4a08a2(0x359)][_0x4a08a2(0x217)](_0x44f832))[_0x4a08a2(0x276)](()=>this[_0x4a08a2(0x2e3)]['delete'](_0x44f832));}async[_0x1d41aa(0x1d3)](){const _0x4b7172=_0x1d41aa,_0x155241=[];this[_0x4b7172(0x2e3)]['forEach']((_0x4d6f57,_0x5e82b7)=>{const _0x571659=_0x4b7172;window[_0x571659(0x1dd)](_0x4d6f57),_0x155241[_0x571659(0x37f)](this[_0x571659(0x376)](_0x5e82b7)['then'](()=>{const _0x596cb1=_0x571659;this[_0x596cb1(0x2e3)][_0x596cb1(0x375)](_0x5e82b7);}));}),await Promise[_0x4b7172(0x296)](_0x155241);}};we=_n([Ee(0x0,_0x3022cf),Ee(0x1,_0x42b910),Ee(0x2,_0xcce005(_0x491b5d))],we);class hn extends _0x85e892{constructor(){const _0x5710e1=_0x1d41aa;super(),_(this,_0x5710e1(0x201)),this[_0x5710e1(0x201)]=_0x21efab(window,_0x5710e1(0x1c0))[_0x5710e1(0x27b)](_0xe2ba41(this[_0x5710e1(0x1ab)]),_0x49522a(0x1),_0x2771cf(void 0x0));}[_0x1d41aa(0x1b3)](_0x2bcfa4,_0x52ee1f,_0x28632c=!0x1){const _0x64a2f1=_0x1d41aa,_0x410144=new URL(window[_0x64a2f1(0x295)][_0x64a2f1(0x1e6)]);_0x410144[_0x64a2f1(0x215)][_0x64a2f1(0x36a)](_0x2bcfa4,_0x52ee1f),_0x28632c?window[_0x64a2f1(0x225)]['replaceState']('','',_0x410144[_0x64a2f1(0x2d8)]()):window[_0x64a2f1(0x225)][_0x64a2f1(0x395)]('','',_0x410144[_0x64a2f1(0x2d8)]());}['removeParam'](_0x455013,_0x2ff62c=!0x1){const _0x38df0b=_0x1d41aa,_0x486dcd=new URL(window['location'][_0x38df0b(0x1e6)]);_0x486dcd['searchParams'][_0x38df0b(0x375)](_0x455013),_0x2ff62c?window['history'][_0x38df0b(0x1e4)]('','',_0x486dcd[_0x38df0b(0x2d8)]()):window['history'][_0x38df0b(0x395)]('','',_0x486dcd['toString']());}[_0x1d41aa(0x229)](_0x46187b){const _0x422907=_0x1d41aa;var _0x13b6fa;return(_0x13b6fa=new URL(window['location']['href'])['searchParams'][_0x422907(0x217)](_0x46187b))!=null?_0x13b6fa:void 0x0;}}var un=Object[_0x1d41aa(0x2b8)],dn=Object[_0x1d41aa(0x248)],fn=(_0x1f5882,_0x20e03b,_0x34bab7)=>_0x20e03b in _0x1f5882?un(_0x1f5882,_0x20e03b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34bab7}):_0x1f5882[_0x20e03b]=_0x34bab7,Sn=(_0x3cdccc,_0x41dc99,_0x45e5d3,_0x494542)=>{const _0x5c56ee=_0x1d41aa;for(var _0xac4f79=_0x494542>0x1?void 0x0:_0x494542?dn(_0x41dc99,_0x45e5d3):_0x41dc99,_0x5362b2=_0x3cdccc[_0x5c56ee(0x25c)]-0x1,_0x3d5eb5;_0x5362b2>=0x0;_0x5362b2--)(_0x3d5eb5=_0x3cdccc[_0x5362b2])&&(_0xac4f79=_0x3d5eb5(_0xac4f79)||_0xac4f79);return _0xac4f79;},Oe=(_0xda97fe,_0x117414)=>(_0x24df00,_0x34b23a)=>_0x117414(_0x24df00,_0x34b23a,_0xda97fe),mn=(_0x11b6c6,_0x44ff03,_0x2d2dcf)=>fn(_0x11b6c6,_0x44ff03+'',_0x2d2dcf);const In=_0x1d41aa(0x1b9);let Ae=class extends _0x3780de{constructor(_0x21afa8=et,_0x42c717,_0x2c756e,_0x1f26d6){const _0x2e1bd5=_0x1d41aa;super(),this[_0x2e1bd5(0x243)]=_0x21afa8,this[_0x2e1bd5(0x340)]=_0x42c717,this[_0x2e1bd5(0x34f)]=_0x2c756e,this['_configService']=_0x1f26d6;const {..._0x57d404}=_0x523698({},et,this[_0x2e1bd5(0x243)]);this[_0x2e1bd5(0x23f)][_0x2e1bd5(0x2f2)](Zi,_0x57d404);}[_0x1d41aa(0x1a7)](){const _0x378e28=_0x1d41aa;this[_0x378e28(0x25d)](),this[_0x378e28(0x38f)]();}[_0x1d41aa(0x2b0)](){const _0x1aff42=_0x1d41aa;this[_0x1aff42(0x305)]();}[_0x1d41aa(0x25d)](){const _0x37bd06=_0x1d41aa;var _0x51ee80;const _0x3ca194=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x1794d9,{'useClass':_0x493e8a}],[_0x1255fd,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x5c8a6a(this['_injector'],_0x28a7e9(_0x3ca194,(_0x51ee80=this[_0x37bd06(0x243)])==null?void 0x0:_0x51ee80[_0x37bd06(0x1cf)]));}[_0x1d41aa(0x305)](){const _0x443c7a=_0x1d41aa;this[_0x443c7a(0x34b)](this['_renderManagerService'][_0x443c7a(0x2ea)](_0x357bfd[_0x443c7a(0x277)],[Le])),this['disposeWithMe'](this[_0x443c7a(0x340)][_0x443c7a(0x2ea)](_0x357bfd[_0x443c7a(0x2b1)],[Pe]));}[_0x1d41aa(0x38f)](){_0x2857b7(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x1d41aa(0x1ae),In),Ae=Sn([_0x3ac0fb(_0x484d9a),Oe(0x1,_0x49b12e),Oe(0x2,_0xcce005(_0x5c6f4f)),Oe(0x3,_0x3022cf)],Ae);var vn=Object[_0x1d41aa(0x248)],gn=(_0x291c2b,_0x2eb399,_0x10d8a1,_0x4a8761)=>{const _0x12058c=_0x1d41aa;for(var _0x191dea=_0x4a8761>0x1?void 0x0:_0x4a8761?vn(_0x2eb399,_0x10d8a1):_0x2eb399,_0x1688f0=_0x291c2b[_0x12058c(0x25c)]-0x1,_0x1c162e;_0x1688f0>=0x0;_0x1688f0--)(_0x1c162e=_0x291c2b[_0x1688f0])&&(_0x191dea=_0x1c162e(_0x191dea)||_0x191dea);return _0x191dea;},z=(_0x1239fc,_0x1644a7)=>(_0x44f22d,_0x3977e1)=>_0x1644a7(_0x44f22d,_0x3977e1,_0x1239fc);function _0x2222(){const _0x5928fd=['_doCreateSocket','INVITE_CODE_HAS_BEEN_UES','use','LICENSE_DISTRO_REJECTED','send','cursorInfo','178mrkTdo','APPLY_REVISION_CONFILICT','LOGIN_FAILED','univer-flex\x20univer-items-center','[CollaborationDataLoaderController]','collabStatus.notCollab','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','_eventUnsubscribe','sessionStatus$','complete','DeleteRangeMoveUpCommandId','_handleEvent','_dataLoaderService','INVALID_INVITE_CODE','with','addClipboardHook','getMemberID','invokeId','height','_uiPartsService','fill','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateCollabCursors','toString','YUUMI_SUBSCRIPTION_NOT_FOUND','roomMembers','purple.300','onPointerLeave$','_range','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','_colorIndex','_ensureSubject','USER_NOT_INVITED_CODE','_saveTaskMap','30962421EEbXcK','_disabled','_shapes','_localCacheService','min','isActive','registerRenderModule','_docSkeleton','LICENSE_MAX_UNITS_EXCEEDED','current','triggerDblclick','_scene','roomMembers$','getAncestorScale','setConfig','_selfUnitIDs','values','ALREADY_EXISTS','getDocRanges','path','_startSheetCollabCursor','params','addEventListener','PENDING','_handleHeartbeatEvent','stringify','_refreshCollabCursors','mask','tag','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','_lastPointer','_online','_registerRenderDependencies','721QDvZEs','assignAColorForMemberID','addHandlerCallback','getCurrentRevOfUnit','_notificationService','YUUMI_CONNECTOR_URL_NOT_FOUND','engine','7480750uuZGZf','measureText','_setupSubUnitSync','CHANGESET_REVISION_CONFILICT','unit','_removeClearOtherTimer','setShapeProps','saveImage','column','_localeService','1em','error','max','onCommandExecuted','HEADER_MENU','collaboration-client.offline-data-not-saved','code','fillStyle','assign','YUUMI_NO_CUBOID_FOR_QUESTION','_cursors','getRenderById','redoState','_sheetSkeletonManagerService','_anchor','activeSheet$','getValue','doc.mutation.rich-text-editing','hasOwnProperty','_onCursorDelete','_collabSessionService','USERS_LEAVE','_initCommandExecutedListener','_logService','createInstance','ENSURE_SNAPSHOT_EXECUTION','UNAUTHENTICATED','Failed','unload','#FFF','transformRemoteChangeset','_hideTimer','from','UNRECOGNIZED','currentColor','48309upaMNB','_syncEditingCollabCursorService','_collabCursorController','0\x200\x2017\x2016','APPLY_REJECT','10ghvQdX','_renderManagerService','beginPath','_cursorInfo$','syncEditingCollabCursor','getConfig','_getMergeRange','onPointerMove$','unsubscribe','_colorAssignService','string','ranges','disposeWithMe','EMAIL_HAS_BEEN_BOUND','FromArray','transformIMECache','_injector','_transformUndoRedoStack','clipPath','_updateSubUnitFromURLParams','_hover','_commandService','data','getColorFromTheme','includes','subunit','_cachedData','LICENSE_IMPORT_SIZE_EXCEEDED','transform','getCurrentSelections','_docTransformStateCacheService','name','clearInterval','_onRefRangeChange','_initEntityListener','getUnhiddenWorksheets','ACTIVE_UNIT_EVENT_CHANNEL','substring','PERMISSION_DENIED','selections','hide','setStateCache','newValue','set','_labelPosition','imageSourceType','off-line-icon_clip0_910_343','_handleLeaveEvent','CONFLICT','subUnitId','getUniverSheetInstance','_send','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertySymbols','delete','_saveCache','getCollabCursors$','_draw','call','unshift','storage','_unitStatus','transformMutationsWithChangeset','setAlpha','push','reconnect','OnLineIcon','eventID','disableLocalCache','forEach','prototype','collaboration.single-unit.warning','sessionTicket','_getAnchorBounding','colorChannel1','_beforeCloseService','map','entityInit$','_roomMembers$','getMergeData','_initDependencies','entries','getCurrentUnitForType','MUTATION','INVALID_ARGUMENT','concat','pushState','off-line-icon','_onCursorUpdate','getActiveSheet','_transformHistoryAndStateStack','width','actions','apply','WECHAT_HAS_BEEN_BOUND','extend','m2Prime','_initStatusListener','url(#on-line-icon_clip0_910_349)','TEXT','next','_docSkeletonManagerService','_docClipboardService','_entities','focused$','INVITE_CODE_REQUIRED','getCurrent','getSkeleton','skeleton','setItem','onStarting','OffLineIcon','unitId','indexOf','dispose$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformByState','pluginName','AWAITING','_cursorShapes','_urlService','_backgroundColor','setParam','YUUMI_RATE_OVER_LIMIT','key','_createSocketURL','SNAPSHOT_INVALID_SNAPSHOT','displayName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isArray','on-line-icon','_status$','_initStatusComponent','show','collab-client.tooltip.reconnect','popstate','_textBubble','font','_document','_docTransformIMECacheService','_toggleOffline','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COMPLETION_FINISHED','svg','lineTo','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','url(#off-line-icon_clip0_910_343)','UniverIcon','Warning','override','xlink:href','collaboration-client-ui.config','application/json','exhaustSavingTask','has','makeDirty','_initResize','split','replaceDocRanges','getSheetId','168514vsOsSs','_name','SOCKET_FAILED','clearTimeout','green.600','_session','color','white','symbol','_collaborationController','replaceState','saveTaskMap','href','row','CLOSE_ROOM','add','_initEvent','Error','parse','asObservable','on-line-icon_clip0_910_349','attrs','body','getRangePointData','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startRow','translate(.97)','_revisionService','getCellPositionByOffset','NOT_COLLAB','moveTo','InsertRangeMoveDownCommandId','collabStatus.fetchMiss','_getScale','loadOfflineData','memberID','getOffsetConfig','type','collabStatus.synced','urlChange$','hovered','executeCommand','cursorInfo$','onTransformChange$','collabStatus.syncing','setActiveRange','saveOfflineData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','findNodePositionByCharIndex','_instanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','M0\x200H16V16H0z','InsertRowCommandId','addObjects','getViewport','closePath','defs','_collaborationUIEventService','deepClone','searchParams','FETCH_MISS','get','trim','Unknown\x20user','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','debug','getFocusedUnit','getTypeOfUnitAdded$','RemoveColCommandId','random','getVpScrollXYInfoByPosToVp','OTHER_CLIENTS_EDITING','APPLY_PERMISSION_DENIED','url(#$1','_drawTextRange','history','getUnitStatus$','20964GzhYMR','updateOfflineData','getParam','univerjs-icon\x20univerjs-icon-','m1Prime','selection','getMember','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','4903340XbjrBG','_anchorDot','NO_OTHER_CLIENTS_EDITING','_handleJoinEvent','onMouseMove','_assignedColors','defIds','ONLINE','...','_heartbeatTimer','bottom','_context','currentTheme$','_imageIoService','getActiveRange','mutations','_configService','origin','10826680edbykB','backgroundColor','_config','black','_clearOtherTimers','JOIN_ROOM_FAILED','_id','getOwnPropertyDescriptor','unitID','size','collab-text-anchor-','evenodd','save','drawWith','className','none','_hovered','SUBMIT_CHANGESET_TIMEOUT','_docStateChangeManagerService','PY_RUNTIME_SCRIPT_ERROR','VIEW_MAIN','_scheduleHeartbeat','onPointerEnter$','APPLY_NON_SEQUENTIAL_REVISION','event$','addObject','result','length','_registerDependencies','round','getUnitId','UNDEFINED','post','_scheduleSaving','textRanges','runId','_themeService','subscribe','_localStorageService','getUndoRedoMutationParamsCache','_handleHover','idSuffix','_entityInit$','arc','loadUnit','_docTransformSelectionsService','registerRefRange','_memberService','onLocalMutation','YUUMI_URL_COL_OUT_OF_RANGE','source','NOT_FOUND','search','then','UNIVER_DOC','TOO_MANY_REQUESTS','permission.content','_messageService','pipe','UPDATE_CURSOR','_unitOnClients','dispose','_transformService','collabCursorState$','ticket','replace','transformStateCache','_httpService','getStateCache','toRgbString','children','init','jiqing.500','_startDocCollabCursor','transformMutation','_color','/run/','some','_toggleOnline','_setupBeforeClosingHandler','http://www.w3.org/2000/svg','collab-rect-range-','getSheetBySheetId','_cursor','location','all','OFFLINE','range','_updateURLWithCurrentState','_collabCursorState$','disposeUnit','div','getTypeOfUnitDisposed$','executionId','top','_drawRectRange','requireSession','subscribeEvent','_removeCollabCursors','fillText','_univerInstanceService','YUUMI_AI_RUN_FAILED','_init','flatMap','OTHER_CLIENT_EDITING','restore','_getSheetObject','univer-mr-2\x20univer-flex\x20univer-text-xl','rgba(255,\x20255,\x20255,\x200.01)','find','YUUMI_UNABLE_LOAD_URL','onRendered','UNIVER_SHEET','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','_updateLocalCursor','isEditing','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','defineProperty','_drawAnchor'];_0x2222=function(){return _0x5928fd;};return _0x2222();}let it=class extends _0x305177{constructor(_0x1968d3,_0x3478d5,_0x14333c,_0x5a2c60,_0x5d186c){super(_0x1968d3,_0x3478d5,_0x14333c,_0x5a2c60,_0x5d186c);}async['createSocket'](_0x4c0742){const _0xae711a=_0x1d41aa,_0x5773b6=await this['_getSessionTicket'](),_0x18ae60=this[_0xae711a(0x1b6)](_0x4c0742,_0x5773b6);return this[_0xae711a(0x2ba)](_0x18ae60);}['_createSocketURL'](_0x1256ad,_0x1464ec){const _0x46512d=_0x1d41aa,_0x27f71c=typeof window>'u'?new URL(_0x1256ad):new URL(_0x1256ad,window[_0x46512d(0x295)][_0x46512d(0x240)]);_0x27f71c['searchParams']['set'](_0x46512d(0x387),_0x1464ec);const _0x50fede=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x46512d(0x275)]);return _0x50fede[_0x46512d(0x217)](_0x46512d(0x264))&&_0x27f71c['searchParams']['set'](_0x46512d(0x264),_0x50fede[_0x46512d(0x217)]('runId')),_0x27f71c['toString']();}async['_getSessionTicket'](){const _0x5c10e=_0x1d41aa;var _0x1da45f,_0x4a6214,_0x2184ec;const _0x32795e=this[_0x5c10e(0x23f)]['getConfig'](_0x2cd1d6),_0x488537=(_0x1da45f=_0x32795e==null?void 0x0:_0x32795e['wsSessionTicketUrl'])!=null?_0x1da45f:_0x3fdae3;return(_0x2184ec=(_0x4a6214=(await this[_0x5c10e(0x284)][_0x5c10e(0x217)](_0x488537,{'headers':{'Content-Type':_0x5c10e(0x1d2)}}))[_0x5c10e(0x1f0)])==null?void 0x0:_0x4a6214[_0x5c10e(0x281)])!=null?_0x2184ec:'';}};it=gn([z(0x0,_0xcce005(_0x5c6f4f)),z(0x1,_0xcce005(_0x2febdf)),z(0x2,_0x3022cf),z(0x3,_0x41e6cd),z(0x4,_0x203215)],it);const nt=0x7530,rt=_0x1d41aa(0x363);class Fn extends _0x2800ff{constructor(){const _0x13e908=_0x1d41aa;super(),_(this,_0x13e908(0x247),_0x575d2b()),_(this,_0x13e908(0x2f3),new Set()),_(this,_0x13e908(0x27d),new Map()),_(this,_0x13e908(0x238),null),_(this,_0x13e908(0x245),new Map()),_(this,_0x13e908(0x37c),new Map()),this['_init']();}[_0x1d41aa(0x27e)](){const _0x3fb4eb=_0x1d41aa;super[_0x3fb4eb(0x27e)](),this[_0x3fb4eb(0x245)][_0x3fb4eb(0x384)]((_0x577143,_0x25c08c)=>this[_0x3fb4eb(0x312)](_0x25c08c)),this[_0x3fb4eb(0x238)]&&window[_0x3fb4eb(0x35f)](this[_0x3fb4eb(0x238)]);}[_0x1d41aa(0x226)](_0x510bac){return this['_ensureSubject'](_0x510bac)['pipe'](_0x5c2efb());}['editingUnit'](_0x523aef){const _0x598d70=_0x1d41aa;this['_selfUnitIDs']['size']===0x0&&this[_0x598d70(0x256)](),this['_selfUnitIDs'][_0x598d70(0x1e9)](_0x523aef),this['_send']({'type':0x0,'memberID':this[_0x598d70(0x247)],'unitIDs':[_0x523aef],'isForwarded':!0x1});}[_0x1d41aa(0x29b)](_0x547272){const _0x29f645=_0x1d41aa;this[_0x29f645(0x2f3)][_0x29f645(0x375)](_0x547272),this[_0x29f645(0x2f3)][_0x29f645(0x24a)]===0x0&&this[_0x29f645(0x238)]&&window[_0x29f645(0x35f)](this[_0x29f645(0x238)]);}[_0x1d41aa(0x2a7)](){const _0x2a5545=_0x1d41aa;this['disposeWithMe'](_0x4e6890(_0x21efab(window,_0x2a5545(0x37b))['subscribe'](_0x559e99=>{const _0x1a9587=_0x2a5545;if(_0x559e99[_0x1a9587(0x1b5)]!==rt||!_0x559e99['newValue'])return;const _0x3a4ec2=JSON[_0x1a9587(0x1ec)](_0x559e99[_0x1a9587(0x369)]);this[_0x1a9587(0x2cc)](_0x3a4ec2);}))),window[_0x2a5545(0x2fa)](_0x2a5545(0x333),()=>this[_0x2a5545(0x372)]({'type':0x1,'memberID':this[_0x2a5545(0x247)],'unitIDs':Array[_0x2a5545(0x337)](this[_0x2a5545(0x2f3)])}));}[_0x1d41aa(0x2cc)](_0x1000a5){const _0x4df072=_0x1d41aa;switch(_0x1000a5[_0x4df072(0x1ff)]){case 0x0:this[_0x4df072(0x232)](_0x1000a5);break;case 0x1:this[_0x4df072(0x36e)](_0x1000a5);break;case 0x2:this[_0x4df072(0x2fc)](_0x1000a5);break;}}[_0x1d41aa(0x232)](_0xb06a39){const _0x17cdce=_0x1d41aa,{unitIDs:_0x2d661b,memberID:_0x14fbe5,isForwarded:_0x54459a}=_0xb06a39;_0x2d661b['forEach'](_0x152d06=>{const _0x431465=_0x3072;if(!_0x54459a&&this['_unitOnClients'][_0x431465(0x1d4)](_0x152d06)&&this[_0x431465(0x2e1)](_0x152d06)[_0x431465(0x3a3)](_0x3edfe1[_0x431465(0x221)]),!this[_0x431465(0x27d)][_0x431465(0x1d4)](_0x152d06)||!this['_unitOnClients']['get'](_0x152d06)['has'](_0x14fbe5)){const _0x420dba=this[_0x431465(0x27d)][_0x431465(0x217)](_0x152d06)||new Set();_0x420dba['add'](_0x14fbe5),this['_unitOnClients']['set'](_0x152d06,_0x420dba),this['_scheduleClearOtherTimer'](_0x14fbe5);}}),_0x54459a||this[_0x17cdce(0x372)]({'type':0x0,'memberID':this[_0x17cdce(0x247)],'unitIDs':[...this[_0x17cdce(0x2f3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x132d71){const _0x295e64=_0x1d41aa;this['_removeClearOtherTimer'](_0x132d71);const _0x372209=window['setTimeout'](()=>{const _0x3988fe=_0x3072;this[_0x3988fe(0x27d)][_0x3988fe(0x384)](_0x1fd535=>{const _0xffd714=_0x3988fe;_0x1fd535[_0xffd714(0x375)](_0x132d71);});},nt*0x2);this[_0x295e64(0x245)][_0x295e64(0x36a)](_0x132d71,_0x372209);}[_0x1d41aa(0x312)](_0x30ce5b){const _0x2e9bf2=_0x1d41aa;if(this[_0x2e9bf2(0x245)]['has'](_0x30ce5b)){const _0x127187=this['_clearOtherTimers'][_0x2e9bf2(0x217)](_0x30ce5b);_0x127187&&window[_0x2e9bf2(0x1dd)](_0x127187),this[_0x2e9bf2(0x245)][_0x2e9bf2(0x36a)](_0x30ce5b,null);}}[_0x1d41aa(0x36e)](_0x346e94){const _0x375d52=_0x1d41aa,{memberID:_0x312605,unitIDs:_0x418318}=_0x346e94;_0x418318[_0x375d52(0x384)](_0x3e6f9d=>{const _0x58f543=_0x375d52;var _0x246510;const _0x526dcb=this['_unitOnClients']['get'](_0x3e6f9d);_0x526dcb&&(_0x526dcb[_0x58f543(0x375)](_0x312605),(_0x246510=this[_0x58f543(0x2e1)](_0x3e6f9d))==null||_0x246510[_0x58f543(0x3a3)](_0x526dcb[_0x58f543(0x24a)]===0x0?_0x3edfe1[_0x58f543(0x231)]:_0x3edfe1['OTHER_CLIENTS_EDITING']));}),this[_0x375d52(0x312)](_0x312605);}[_0x1d41aa(0x2fc)](_0x4e40c1){const _0x1fe54c=_0x1d41aa;this[_0x1fe54c(0x301)](_0x4e40c1[_0x1fe54c(0x1fd)]);}[_0x1d41aa(0x372)](_0x5a7274){const _0xca772e=_0x1d41aa;localStorage[_0xca772e(0x1a6)](rt,JSON[_0xca772e(0x2fd)](_0x5a7274));}[_0x1d41aa(0x256)](){const _0x308d1d=_0x1d41aa;this[_0x308d1d(0x238)]=window['setInterval'](()=>{const _0x53ca1f=_0x308d1d;this['_send']({'type':0x2,'memberID':this[_0x53ca1f(0x247)]});},nt);}['_ensureSubject'](_0x17746b){const _0x59831c=_0x1d41aa;return this[_0x59831c(0x37c)][_0x59831c(0x1d4)](_0x17746b)||this[_0x59831c(0x37c)][_0x59831c(0x36a)](_0x17746b,new _0x5a2de1(_0x3edfe1[_0x59831c(0x231)])),this['_unitStatus']['get'](_0x17746b);}}var Lt=(_0x3d4376=>(_0x3d4376[_0x3d4376['UNDEFINED']=0x0]=_0x1d41aa(0x260),_0x3d4376[_0x3d4376['OK']=0x1]='OK',_0x3d4376[_0x3d4376['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3d4376[_0x3d4376[_0x1d41aa(0x365)]=0x3]=_0x1d41aa(0x365),_0x3d4376[_0x3d4376[_0x1d41aa(0x274)]=0x4]=_0x1d41aa(0x274),_0x3d4376[_0x3d4376[_0x1d41aa(0x331)]=0x5]=_0x1d41aa(0x331),_0x3d4376[_0x3d4376[_0x1d41aa(0x2f5)]=0x6]=_0x1d41aa(0x2f5),_0x3d4376[_0x3d4376[_0x1d41aa(0x393)]=0x7]=_0x1d41aa(0x393),_0x3d4376[_0x3d4376[_0x1d41aa(0x278)]=0x8]=_0x1d41aa(0x278),_0x3d4376[_0x3d4376['COMPLETION_FINISHED']=0x9]=_0x1d41aa(0x1c7),_0x3d4376[_0x3d4376[_0x1d41aa(0x2c2)]=0xa]=_0x1d41aa(0x2c2),_0x3d4376[_0x3d4376[_0x1d41aa(0x373)]=0xb]=_0x1d41aa(0x373),_0x3d4376[_0x3d4376[_0x1d41aa(0x209)]=0xc]=_0x1d41aa(0x209),_0x3d4376[_0x3d4376[_0x1d41aa(0x1ca)]=0xd]=_0x1d41aa(0x1ca),_0x3d4376[_0x3d4376[_0x1d41aa(0x1f2)]=0xe]=_0x1d41aa(0x1f2),_0x3d4376[_0x3d4376[_0x1d41aa(0x310)]=0x1389]=_0x1d41aa(0x310),_0x3d4376[_0x3d4376[_0x1d41aa(0x1b7)]=0x1771]=_0x1d41aa(0x1b7),_0x3d4376[_0x3d4376['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3d4376[_0x3d4376[_0x1d41aa(0x330)]=0x1773]=_0x1d41aa(0x330),_0x3d4376[_0x3d4376['APPLY_REJECT']=0x1b59]=_0x1d41aa(0x33e),_0x3d4376[_0x3d4376[_0x1d41aa(0x258)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d4376[_0x3d4376[_0x1d41aa(0x2c1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d4376[_0x3d4376[_0x1d41aa(0x222)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d4376[_0x3d4376['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x3d4376[_0x3d4376['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3d4376[_0x3d4376[_0x1d41aa(0x2ec)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3d4376[_0x3d4376[_0x1d41aa(0x2d6)]=0x232a]=_0x1d41aa(0x2d6),_0x3d4376[_0x3d4376[_0x1d41aa(0x35a)]=0x232b]=_0x1d41aa(0x35a),_0x3d4376[_0x3d4376['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d41aa(0x2b7),_0x3d4376[_0x3d4376[_0x1d41aa(0x2bd)]=0x232d]=_0x1d41aa(0x2bd),_0x3d4376[_0x3d4376[_0x1d41aa(0x2af)]=0x2711]=_0x1d41aa(0x2af),_0x3d4376[_0x3d4376['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1d41aa(0x272),_0x3d4376[_0x3d4376[_0x1d41aa(0x1b4)]=0x2713]=_0x1d41aa(0x1b4),_0x3d4376[_0x3d4376['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d41aa(0x2d9),_0x3d4376[_0x3d4376[_0x1d41aa(0x320)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3d4376[_0x3d4376[_0x1d41aa(0x2b3)]=0x271b]=_0x1d41aa(0x2b3),_0x3d4376[_0x3d4376[_0x1d41aa(0x20c)]=0x271c]=_0x1d41aa(0x20c),_0x3d4376[_0x3d4376[_0x1d41aa(0x2c7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3d4376[_0x3d4376[_0x1d41aa(0x21a)]=0x271e]=_0x1d41aa(0x21a),_0x3d4376[_0x3d4376[_0x1d41aa(0x2a6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3d4376[_0x3d4376['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1d41aa(0x30b),_0x3d4376[_0x3d4376[_0x1d41aa(0x254)]=0x2af9]=_0x1d41aa(0x254),_0x3d4376[_0x3d4376[_0x1d41aa(0x2bb)]=0x2ee1]=_0x1d41aa(0x2bb),_0x3d4376[_0x3d4376[_0x1d41aa(0x2ce)]=0x2ee2]=_0x1d41aa(0x2ce),_0x3d4376[_0x3d4376[_0x1d41aa(0x1a2)]=0x2ee3]=_0x1d41aa(0x1a2),_0x3d4376[_0x3d4376[_0x1d41aa(0x2e2)]=0x2ee4]=_0x1d41aa(0x2e2),_0x3d4376[_0x3d4376[_0x1d41aa(0x1cb)]=0x2ee5]=_0x1d41aa(0x1cb),_0x3d4376[_0x3d4376[_0x1d41aa(0x39d)]=0x32c9]=_0x1d41aa(0x39d),_0x3d4376[_0x3d4376['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d4376[_0x3d4376['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1d41aa(0x34c),_0x3d4376[_0x3d4376['UNRECOGNIZED']=-0x1]=_0x1d41aa(0x338),_0x3d4376))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x49e0e9,_0x2b3960,_0x2a110d,_0x517fa2)=>{const _0x302117=_0x1d41aa;for(var _0x3a86f9=_0x517fa2>0x1?void 0x0:_0x517fa2?pn(_0x2b3960,_0x2a110d):_0x2b3960,_0x1f2d9f=_0x49e0e9[_0x302117(0x25c)]-0x1,_0x4dcc69;_0x1f2d9f>=0x0;_0x1f2d9f--)(_0x4dcc69=_0x49e0e9[_0x1f2d9f])&&(_0x3a86f9=_0x4dcc69(_0x3a86f9)||_0x3a86f9);return _0x3a86f9;},be=(_0x394d9c,_0x12cd14)=>(_0x588fa1,_0x222063)=>_0x12cd14(_0x588fa1,_0x222063,_0x394d9c);let ot=class extends _0x2800ff{constructor(_0x51db2b,_0x31bb5a,_0x3f0a82){const _0x3e4e0c=_0x1d41aa;super(),this[_0x3e4e0c(0x20b)]=_0x51db2b,this[_0x3e4e0c(0x284)]=_0x31bb5a,this[_0x3e4e0c(0x23f)]=_0x3f0a82;}async['runOnServer'](_0x191f39,_0x7b91c5,_0x25d0d7,..._0x461a42){const _0x1ca97d=_0x1d41aa;var _0xd7d105,_0x45f71c,_0x11acf9,_0xef770c;const _0x4728ff=this[_0x1ca97d(0x20b)]['getFocusedUnit']();if(!_0x4728ff)throw new Error(_0x1ca97d(0x1ac));const _0x22d406=((_0xd7d105=this[_0x1ca97d(0x23f)][_0x1ca97d(0x344)](_0x47d86e))!=null?_0xd7d105:_0x5dcb76)+'/'+_0x191f39+_0x1ca97d(0x28d)+_0x7b91c5,_0x25e00c=new URL(window[_0x1ca97d(0x295)][_0x1ca97d(0x1e6)]),_0x487443={'scriptId':_0x191f39,'runId':(_0x45f71c=_0x25e00c[_0x1ca97d(0x215)]['get'](_0x1ca97d(0x264)))!=null?_0x45f71c:'','function':_0x7b91c5,'unitId':_0x4728ff[_0x1ca97d(0x25f)](),'argsOfFunction':JSON[_0x1ca97d(0x2fd)](_0x461a42),'invokeId':(_0x11acf9=_0x25d0d7[_0x1ca97d(0x2d2)])!=null?_0x11acf9:'','executionId':(_0xef770c=_0x25d0d7[_0x1ca97d(0x29e)])!=null?_0xef770c:''};try{const _0x20c4c8=await this[_0x1ca97d(0x284)][_0x1ca97d(0x261)](_0x22d406,{'body':_0x487443});return _0x20c4c8[_0x1ca97d(0x1f0)][_0x1ca97d(0x318)]&&_0x20c4c8['body'][_0x1ca97d(0x318)][_0x1ca97d(0x31d)]!==Lt['OK']?_0x1ca97d(0x332):_0x20c4c8[_0x1ca97d(0x1f0)][_0x1ca97d(0x25b)];}catch{return _0x1ca97d(0x332);}}};ot=Cn([be(0x0,_0x3c49dc),be(0x1,_0xcce005(_0x2febdf)),be(0x2,_0x3022cf)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x962cf9=_0x188b;(function(_0x2c5956,_0x3bc6de){const _0x5c3258=_0x188b,_0x257cc3=_0x2c5956();while(!![]){try{const _0x3d56b2=parseInt(_0x5c3258(0x37a))/0x1*(-parseInt(_0x5c3258(0x282))/0x2)+-parseInt(_0x5c3258(0x2b3))/0x3+-parseInt(_0x5c3258(0x303))/0x4+-parseInt(_0x5c3258(0x327))/0x5*(-parseInt(_0x5c3258(0x1ef))/0x6)+parseInt(_0x5c3258(0x2ef))/0x7*(-parseInt(_0x5c3258(0x331))/0x8)+-parseInt(_0x5c3258(0x21f))/0x9+parseInt(_0x5c3258(0x340))/0xa*(parseInt(_0x5c3258(0x366))/0xb);if(_0x3d56b2===_0x3bc6de)break;else _0x257cc3['push'](_0x257cc3['shift']());}catch(_0x89b23a){_0x257cc3['push'](_0x257cc3['shift']());}}}(_0x4864,0x4fd75));var xt=Object[_0x962cf9(0x338)],Bt=(_0x33b63c,_0x31c65a,_0x3ff787)=>_0x31c65a in _0x33b63c?xt(_0x33b63c,_0x31c65a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff787}):_0x33b63c[_0x31c65a]=_0x3ff787,_=(_0x49cd94,_0x4ac921,_0x4af5bb)=>Bt(_0x49cd94,typeof _0x4ac921!=_0x962cf9(0x3ed)?_0x4ac921+'':_0x4ac921,_0x4af5bb);import{MemberService as _0x44e05b,SessionStatus as _0x5e760a,CollaborationSessionService as _0x193bf2,CollaborationStatus as _0x6cb9cb,CollaborationController as _0x305548,ILocalCacheService as _0x2c845a,CollaborationUIEventService as _0x2eac54,CollaborationUIEventId as _0x57b00b,DataLoaderService as _0x46019f,DocCollaborationEntity as _0x52bfbc,getLocalCacheKey as _0x2923f1,LOCAL_CACHE_INTERVAL as _0x645872,LOCAL_CACHE_INTERVAL_KEY as _0x3cc047,UniverCollaborationClientPlugin as _0x246b97,CollaborationSocketService as _0x47b134,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x560485,DEFAULT_WS_SESSION_TICKET_URL as _0x1a3bf9,UnitStatus as _0xa42b24,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4794eb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3170bf}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x18aeae,Disposable as _0x28d182,DOC_RANGE_TYPE as _0x3de40f,Inject as _0xcb25a3,Injector as _0x266e02,IUniverInstanceService as _0x163e05,ICommandService as _0xfb0aa9,debounce as _0x397ea6,Rectangle as _0x3a69ba,DisposableCollection as _0x5bfc5c,toDisposable as _0x354a81,UniverInstanceType as _0x11844b,generateRandomId as _0x1ebbcc,COLORS as _0x4a7b72,ColorKit as _0x56ac4f,ThemeService as _0x16a58d,fromEventSubject as _0x502021,LocaleService as _0x430f5d,createIdentifier as _0x21c8fa,ILogService as _0x4b5f06,Optional as _0x308ac6,Workbook as _0x1b3c74,Tools as _0x59a4e3,CommandType as _0x1d3f18,IConfigService as _0x4befe5,ILocalStorageService as _0x258cee,DependentOn as _0x296f17,Plugin as _0x3a3a0d,merge as _0x2af056,registerDependencies as _0x418a4b,mergeOverrideWithDependencies as _0x4a5b4b,touchDependencies as _0x47fe41}from'@univerjs/core';import{Shape as _0x539d2d,Rect as _0x46a699,getColor as _0x175f6c,RegularPolygon as _0x2a0284,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2ceced,Vector2 as _0x55f890,SHEET_VIEWPORT_KEY as _0x42a5e7,IRenderManagerService as _0x288115}from'@univerjs/engine-render';import{ISocketService as _0x7ddd3f,WebSocketService as _0x10595c,HTTPService as _0x55461b}from'@univerjs/network';import{IDocClipboardService as _0x321e6d,NodePositionConvertToCursor as _0x235692,NodePositionConvertToRectRange as _0x43f332,TEXT_RANGE_LAYER_INDEX as _0x25c91b,SetDocZoomRatioOperation as _0x3f79cf,DocIMEInputManagerService as _0x59b75e,DocStateChangeManagerService as _0x717295}from'@univerjs/docs-ui';import{IImageIoService as _0x388d5b}from'@univerjs/drawing';import{BehaviorSubject as _0x1c5311,debounceTime as _0x3c5b4e,takeUntil as _0x1bd82a,Subject as _0x4695d8,filter as _0x1236d0,switchMap as _0x2f8d76,merge as _0x11111f,combineLatest as _0x2237a4,of as _0x4d0da8,fromEvent as _0x417bf8,shareReplay as _0x2a4246,mapTo as _0x122c39,distinctUntilChanged as _0x5d80e7}from'rxjs';import{ITransformService as _0x4a79a0,CollaborationEvent as _0x3672bc,isTransformMutationFailure as _0x4c0423,isTransformMutationsWithChangesetSuccess as _0x3cbbdb,RevisionService as _0x4035c3,ISnapshotServerService as _0x1a3962}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4b71a8,RichTextEditingMutation as _0x310036,DocSelectionManagerService as _0x3f746d,DocSkeletonManagerService as _0x2bca3f}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x526017,serializeRangeWithSheet as _0xfa712e}from'@univerjs/engine-formula';import{RefRangeService as _0x1c651d,SetSelectionsOperation as _0x11fc24,SheetsSelectionsService as _0x5c4cf1,EffectRefRangId as _0x5a318d,handleIRemoveRow as _0x410181,handleIRemoveCol as _0x416efc,handleMoveRange as _0x1ae13c,handleInsertRow as _0x404933,handleInsertRangeMoveRight as _0x283dee,handleInsertRangeMoveDown as _0x1426b,handleInsertCol as _0x1a3809,handleDeleteRangeMoveUp as _0x349952,handleDeleteRangeMoveLeft as _0x411b54,runRefRangeMutations as _0x5018ea,SetWorksheetActivateCommand as _0x4b7744}from'@univerjs/sheets';import{map as _0x47ba9f,filter as _0x2dd156,throttleTime as _0x54ce4a,takeUntil as _0x3552e3,switchMap as _0xf9b43b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5eb21a,getCoordByCell as _0x13ed17,getSheetObject as _0x3fa149}from'@univerjs/sheets-ui';import{jsx as _0x535b0f,jsxs as _0xb613cd}from'react/jsx-runtime';import{useObservable as _0x596b18,useDependency as _0x484074,IUIPartsService as _0x30a935,BuiltInUIPart as _0xdbd323,connectInjector as _0x50120e,IBeforeCloseService as _0x177a2b,IMessageService as _0x163a37,INotificationService as _0x22f31f}from'@univerjs/ui';import{Tooltip as _0x154e34,clsx as _0x46edce,MessageType as _0x389fd2}from'@univerjs/design';import{forwardRef as _0x2f8ad9,useRef as _0x30aa5e,createElement as _0x5d95a3,useCallback as _0x4728c0}from'react';import{IRemoteInstanceService as _0x12a8e4}from'@univerjs/rpc';var ci=Object[_0x962cf9(0x31b)],li=(_0x56043e,_0x38c83b,_0x14308d,_0x3f188f)=>{const _0x2e8480=_0x962cf9;for(var _0x3d57ec=_0x3f188f>0x1?void 0x0:_0x3f188f?ci(_0x38c83b,_0x14308d):_0x38c83b,_0x43d421=_0x56043e[_0x2e8480(0x1fd)]-0x1,_0x951ad9;_0x43d421>=0x0;_0x43d421--)(_0x951ad9=_0x56043e[_0x43d421])&&(_0x3d57ec=_0x951ad9(_0x3d57ec)||_0x3d57ec);return _0x3d57ec;},Je=(_0x6d196e,_0x43faec)=>(_0x2e735f,_0xcd7e9b)=>_0x43faec(_0x2e735f,_0xcd7e9b,_0x6d196e);let Ne=class extends _0x18aeae{constructor(_0x2ec7d7,_0xa69771){const _0x84a3da=_0x962cf9;super(),this[_0x84a3da(0x34c)]=_0x2ec7d7,this[_0x84a3da(0x315)]=_0xa69771,this[_0x84a3da(0x32c)]();}[_0x962cf9(0x32c)](){const _0x3207ea=_0x962cf9,_0xd4f1cd=this;this['disposeWithMe'](this[_0x3207ea(0x34c)][_0x3207ea(0x2e0)]({'onBeforePasteImage':async _0x1b31d1=>{const _0x2588b5=_0x3207ea,_0x306afd=await _0xd4f1cd[_0x2588b5(0x315)][_0x2588b5(0x3db)](_0x1b31d1);return _0x306afd?{'source':_0x306afd[_0x2588b5(0x2e1)],'imageSourceType':_0x306afd[_0x2588b5(0x3b4)]}:null;}}));}};Ne=li([Je(0x0,_0x321e6d),Je(0x1,_0x388d5b)],Ne);const Ze=['purple.300',_0x962cf9(0x2e2),'green.600',_0x962cf9(0x329),_0x962cf9(0x218),_0x962cf9(0x29f)];class ke extends _0x28d182{constructor(){const _0x134eb8=_0x962cf9;super(...arguments),_(this,_0x134eb8(0x36e),new Map()),_(this,_0x134eb8(0x27f),0x0);}[_0x962cf9(0x358)](_0x1bafc3){const _0x4dfbdb=_0x962cf9;if(this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x2f3)](_0x1bafc3))return this['_assignedColors'][_0x4dfbdb(0x22d)](_0x1bafc3);const _0x403826=Ze[this[_0x4dfbdb(0x27f)]];return this[_0x4dfbdb(0x27f)]=(this['_colorIndex']+0x1)%Ze[_0x4dfbdb(0x1fd)],this[_0x4dfbdb(0x36e)][_0x4dfbdb(0x335)](_0x1bafc3,_0x403826),_0x403826;}}function Rt(_0x128d29){const _0xc5d4f2=_0x962cf9;let _0xa6a586='';for(const _0xaa7245 of _0x128d29){const {startOffset:_0x35871b,endOffset:_0x417d0f,isActive:_0x364ac1,rangeType:_0x210c8b,segmentId:_0x43abe4,segmentPage:_0x170738}=_0xaa7245;_0xa6a586[_0xc5d4f2(0x1fd)]&&(_0xa6a586+=','),_0xa6a586+=_0x35871b+':'+_0x417d0f+':'+(_0x364ac1?'1':'0')+':'+_0x210c8b+':'+_0x43abe4+':'+_0x170738;}return _0xa6a586;}function _i(_0x5321ca){const _0x4a920e=_0x962cf9,_0x17e8a1=_0x5321ca[_0x4a920e(0x27d)](','),_0x31b6ef=[];for(const _0x5363be of _0x17e8a1){const [_0x53660d,_0x3d0e19,_0x100a39,_0x3274df,_0xede01c,_0x2a92cf]=_0x5363be[_0x4a920e(0x27d)](':');_0x31b6ef[_0x4a920e(0x3d1)]({'startOffset':Number(_0x53660d),'endOffset':Number(_0x3d0e19),'collapsed':_0x53660d===_0x3d0e19,'isActive':_0x100a39==='1','rangeType':_0x3274df===_0x3de40f[_0x4a920e(0x2f9)]?_0x3de40f[_0x4a920e(0x2f9)]:_0x3de40f['RECT'],'segmentId':typeof _0xede01c==_0x4a920e(0x377)?String(_0xede01c):'','segmentPage':Number(_0x2a92cf!=null?_0x2a92cf:-0x1)});}return _0x31b6ef[_0x4a920e(0x34f)](_0x10cd15=>_0x10cd15['isActive'])||(_0x31b6ef[0x0][_0x4a920e(0x2ae)]=!0x0),_0x31b6ef;}class He extends _0x18aeae{constructor(){const _0x24b630=_0x962cf9;super(...arguments),_(this,_0x24b630(0x241),new _0x1c5311(null)),_(this,'collabCursorState$',this[_0x24b630(0x241)]['asObservable']());}['syncEditingCollabCursor'](_0x2202db){const _0x399586=_0x962cf9,{unitID:_0x2a2b02,memberID:_0x40ec5d,textRanges:_0x1d883a}=_0x2202db,_0x7173ea=Rt(_0x1d883a);if(_0x7173ea==='')return;const _0x26c1dd={'unitID':_0x2a2b02,'memberID':_0x40ec5d,'selection':_0x7173ea};this['_collabCursorState$'][_0x399586(0x30e)](_0x26c1dd);}}var hi=Object[_0x962cf9(0x31b)],ui=(_0x153f04,_0x9489e1,_0x3a3ca4,_0x1e22f6)=>{const _0x3347be=_0x962cf9;for(var _0x4b2491=_0x1e22f6>0x1?void 0x0:_0x1e22f6?hi(_0x9489e1,_0x3a3ca4):_0x9489e1,_0x2cbf9e=_0x153f04[_0x3347be(0x1fd)]-0x1,_0x191333;_0x2cbf9e>=0x0;_0x2cbf9e--)(_0x191333=_0x153f04[_0x2cbf9e])&&(_0x4b2491=_0x191333(_0x4b2491)||_0x4b2491);return _0x4b2491;},P=(_0x14e2ed,_0x4a760b)=>(_0x4644c9,_0x1c0c24)=>_0x4a760b(_0x4644c9,_0x1c0c24,_0x14e2ed);const di=0x12c,fi=0x64;let Ue=class extends _0x18aeae{constructor(_0x39f87a,_0x14f195,_0x4cc5fd,_0x471b48,_0x5e0d67,_0x216ff2,_0xc1caf8,_0x23dd04,_0x30b2e7){const _0x5ccccb=_0x962cf9;super(),_(this,'_online',!0x1),_(this,_0x5ccccb(0x32c),!0x1),_(this,_0x5ccccb(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this[_0x5ccccb(0x227)]['asObservable']()),_(this,_0x5ccccb(0x258),new _0x1c5311([])),_(this,'roomMembers$',this[_0x5ccccb(0x258)]['pipe'](_0x3c5b4e(di))),_(this,_0x5ccccb(0x3b6),_0x397ea6(_0x316a50=>{const _0x32c785=_0x5ccccb,_0x1b1a39={'eventID':_0x3672bc[_0x32c785(0x333)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x32c785(0x230)](),'selection':Rt(_0x316a50)}};this[_0x32c785(0x1fa)][_0x32c785(0x1fc)](_0x1b1a39,this[_0x32c785(0x295)]);},fi)),(this['unitID']=_0x39f87a,this[_0x5ccccb(0x1fa)]=_0x14f195,this[_0x5ccccb(0x35e)]=_0x4cc5fd,this['_colorAssignService']=_0x471b48,this[_0x5ccccb(0x346)]=_0x5e0d67,this[_0x5ccccb(0x322)]=_0x216ff2,this['_transformService']=_0xc1caf8,this['_univerInstanceService']=_0x23dd04,this[_0x5ccccb(0x3af)]=_0x30b2e7);}get[_0x962cf9(0x2fd)](){const _0x23374c=_0x962cf9;return this[_0x23374c(0x227)]['getValue']();}get[_0x962cf9(0x21c)](){const _0x2ef2ac=_0x962cf9;return this[_0x2ef2ac(0x258)][_0x2ef2ac(0x264)]();}[_0x962cf9(0x2e8)](){const _0x215ff9=_0x962cf9;super[_0x215ff9(0x2e8)](),this[_0x215ff9(0x227)][_0x215ff9(0x30e)](new Map()),this[_0x215ff9(0x227)][_0x215ff9(0x1e2)](),this[_0x215ff9(0x258)][_0x215ff9(0x30e)]([]),this['_roomMembers$'][_0x215ff9(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x437eb6=_0x962cf9;this['_init']||(this[_0x437eb6(0x32c)]=!0x0,this[_0x437eb6(0x1fa)][_0x437eb6(0x2df)][_0x437eb6(0x3c5)](_0x1bd82a(this['dispose$']))[_0x437eb6(0x321)](_0x56317f=>{const _0x3167a9=_0x437eb6;_0x56317f===_0x5e760a[_0x3167a9(0x2f4)]?this['_toggleOnline']():this[_0x3167a9(0x32a)]();}),this[_0x437eb6(0x1fa)][_0x437eb6(0x37b)][_0x437eb6(0x3c5)](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0xf5b9d8=>{const _0x50098e=_0x437eb6,_0x17cd53=_0xf5b9d8[_0x50098e(0x318)];_0x17cd53===_0x3672bc[_0x50098e(0x333)]&&this[_0x50098e(0x35c)](_0xf5b9d8),_0x17cd53===_0x3672bc[_0x50098e(0x389)]&&this[_0x50098e(0x313)](_0xf5b9d8);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)]['onCommandExecuted'](_0x13064a=>{const _0x2c910f=_0x437eb6,_0xadb9aa=_0x13064a[_0x2c910f(0x334)];_0xadb9aa!=null&&this[_0x2c910f(0x200)]&&_0x13064a['id']===_0x4b71a8['id']&&_0xadb9aa['unitId']===this[_0x2c910f(0x295)]&&_0xadb9aa[_0x2c910f(0x34b)]===!0x1&&_0xadb9aa['ranges']['length']>0x0&&this[_0x2c910f(0x3b6)](_0xadb9aa[_0x2c910f(0x30b)]);})),this[_0x437eb6(0x322)][_0x437eb6(0x2a8)]['pipe'](_0x1bd82a(this[_0x437eb6(0x304)]))[_0x437eb6(0x321)](_0x4c2963=>{const _0x5bff6a=_0x437eb6;if((_0x4c2963==null?void 0x0:_0x4c2963[_0x5bff6a(0x295)])!==this[_0x5bff6a(0x295)])return;const _0x5a5cba={'eventID':_0x3672bc[_0x5bff6a(0x333)],'data':_0x4c2963};this[_0x5bff6a(0x35c)](_0x5a5cba);}),this[_0x437eb6(0x36c)](this[_0x437eb6(0x3af)][_0x437eb6(0x23a)](_0x367b3f=>{const _0x405870=_0x437eb6;if(_0x367b3f[_0x405870(0x334)]==null)return;const _0x526698=_0x367b3f[_0x405870(0x334)];if(_0x367b3f['id']!==_0x310036['id']||_0x526698[_0x405870(0x3bf)]!==this[_0x405870(0x295)])return;const _0x42d049={'id':'doc.mutation.rich-text-editing','params':_0x526698},_0x35de8e=this[_0x405870(0x2fd)];for(const [_0x334bad,_0x6292bd]of _0x35de8e){const _0x3a79c2={'id':_0x405870(0x25a),'params':{'unitId':this[_0x405870(0x295)],'actions':null,'textRanges':_0x6292bd[_0x405870(0x30b)]}},_0x471e05=this['_transformService'][_0x405870(0x1f9)](_0x42d049,_0x3a79c2,!0x1);if(_0x4c0423(_0x471e05))throw _0x471e05['error'];_0x35de8e['set'](_0x334bad,{..._0x6292bd,'ranges':_0x471e05['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5b9a18=_0x405870;this[_0x5b9a18(0x227)][_0x5b9a18(0x30e)](_0x35de8e);});})));}[_0x962cf9(0x35c)](_0x5adde3){const _0x18f891=_0x962cf9;var _0xf54770,_0x5e7e4a;const {memberID:_0x42828f,selection:_0x43d545}=_0x5adde3[_0x18f891(0x228)],_0xc06910=_i(_0x43d545),_0x12ba7a=(_0x5e7e4a=(_0xf54770=this[_0x18f891(0x346)]['getMember'](this['unitID'],_0x42828f))==null?void 0x0:_0xf54770[_0x18f891(0x3f4)])!=null?_0x5e7e4a:_0x18f891(0x242),_0x3d9417={'color':this[_0x18f891(0x26e)]['assignAColorForMemberID'](_0x42828f),'name':_0x12ba7a,'ranges':_0xc06910},_0x104488=this[_0x18f891(0x2fd)];_0x104488[_0x18f891(0x335)](_0x42828f,_0x3d9417),this[_0x18f891(0x227)][_0x18f891(0x30e)](_0x104488);}[_0x962cf9(0x313)](_0x4db48f){const _0x479b4b=_0x962cf9,{memberID:_0x2b08c1}=_0x4db48f['data'],_0x2a9a86=this[_0x479b4b(0x2fd)];_0x2a9a86[_0x479b4b(0x260)](_0x2b08c1),this[_0x479b4b(0x227)][_0x479b4b(0x30e)](_0x2a9a86);}[_0x962cf9(0x2b2)](){const _0x3e9e6b=_0x962cf9;var _0x12abc4;if(this['_online']=!0x0,((_0x12abc4=this[_0x3e9e6b(0x221)][_0x3e9e6b(0x320)]())==null?void 0x0:_0x12abc4[_0x3e9e6b(0x2db)]())!==this[_0x3e9e6b(0x295)])return;const _0x4a6c65=this[_0x3e9e6b(0x35e)]['get'](_0x3f746d)['getDocRanges']();Array['isArray'](_0x4a6c65)&&_0x4a6c65[_0x3e9e6b(0x1fd)]>0x0&&this[_0x3e9e6b(0x3b6)](_0x4a6c65);}['_toggleOffline'](){const _0x99d06b=_0x962cf9;this[_0x99d06b(0x200)]=!0x1;}};Ue=ui([P(0x2,_0xcb25a3(_0x266e02)),P(0x3,_0xcb25a3(ke)),P(0x4,_0xcb25a3(_0x44e05b)),P(0x5,_0xcb25a3(He)),P(0x6,_0x4a79a0),P(0x7,_0x163e05),P(0x8,_0xfb0aa9)],Ue);var Si=Object[_0x962cf9(0x31b)],mi=(_0x127a4c,_0x1d159f,_0x2040cb,_0xc5afc2)=>{const _0x331de1=_0x962cf9;for(var _0x256071=_0xc5afc2>0x1?void 0x0:_0xc5afc2?Si(_0x1d159f,_0x2040cb):_0x1d159f,_0x31d5b9=_0x127a4c[_0x331de1(0x1fd)]-0x1,_0x1ad86e;_0x31d5b9>=0x0;_0x31d5b9--)(_0x1ad86e=_0x127a4c[_0x31d5b9])&&(_0x256071=_0x1ad86e(_0x256071)||_0x256071);return _0x256071;},x=(_0x1c04e0,_0x570b04)=>(_0x142510,_0x255b44)=>_0x570b04(_0x142510,_0x255b44,_0x1c04e0);const Ii=0x12c,vi=0x64,gi=()=>{let _0x1afec1=[],_0x9e16a9=!0x1;return _0x14321b=>{_0x1afec1['push'](_0x14321b),_0x9e16a9||(_0x9e16a9=!0x0,setTimeout(()=>{const _0x53f97a=_0x188b;_0x1afec1[_0x53f97a(0x2c1)](_0x179407=>_0x179407()),_0x1afec1=[],_0x9e16a9=!0x1;}));};};let Me=class extends _0x18aeae{constructor(_0x209516,_0x4f1664,_0x2e39bd,_0x27b067,_0x3cab3b,_0x4564b3,_0x4038fb,_0x257345){const _0x2d6c96=_0x962cf9;super(),_(this,_0x2d6c96(0x200),!0x1),_(this,'_init',!0x1),_(this,_0x2d6c96(0x227),new _0x1c5311(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x2d6c96(0x3d2)]()),_(this,_0x2d6c96(0x258),new _0x1c5311([])),_(this,_0x2d6c96(0x25f),this[_0x2d6c96(0x258)][_0x2d6c96(0x3c5)](_0x3c5b4e(Ii))),_(this,_0x2d6c96(0x3b6),_0x397ea6((_0xb0e4c3,_0xcf5c44)=>{const _0x5dc367=_0x2d6c96,_0x3a77e1={'eventID':_0x3672bc[_0x5dc367(0x333)],'data':{'unitID':this[_0x5dc367(0x295)],'memberID':this['_session'][_0x5dc367(0x230)](),'selection':_0xfa712e(_0xb0e4c3,_0xcf5c44[_0x5dc367(0x3a2)])}};this[_0x5dc367(0x1fa)][_0x5dc367(0x1fc)](_0x3a77e1,this[_0x5dc367(0x295)]);},vi)),(this['unitID']=_0x209516,this[_0x2d6c96(0x1fa)]=_0x4f1664,this['_injector']=_0x2e39bd,this[_0x2d6c96(0x26e)]=_0x27b067,this[_0x2d6c96(0x346)]=_0x3cab3b,this[_0x2d6c96(0x221)]=_0x4564b3,this[_0x2d6c96(0x3af)]=_0x4038fb,this['_refRangeService']=_0x257345);}get[_0x962cf9(0x2fd)](){const _0x42cbc5=_0x962cf9;return this[_0x42cbc5(0x227)][_0x42cbc5(0x264)]();}get[_0x962cf9(0x21c)](){const _0xd3faef=_0x962cf9;return this[_0xd3faef(0x258)][_0xd3faef(0x264)]();}['dispose'](){const _0x501fac=_0x962cf9;super[_0x501fac(0x2e8)](),this['_cursorInfo$']['next'](new Map()),this[_0x501fac(0x227)][_0x501fac(0x1e2)](),this[_0x501fac(0x258)][_0x501fac(0x30e)]([]),this[_0x501fac(0x258)][_0x501fac(0x1e2)]();}[_0x962cf9(0x25c)](){const _0x373150=_0x962cf9;this[_0x373150(0x32c)]||(this[_0x373150(0x32c)]=!0x0,this['_session'][_0x373150(0x2df)]['pipe'](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x44296b=>{const _0x42206b=_0x373150;_0x44296b===_0x5e760a[_0x42206b(0x2f4)]?this['_toggleOnline']():this[_0x42206b(0x32a)]();}),this['_session'][_0x373150(0x37b)][_0x373150(0x3c5)](_0x1bd82a(this[_0x373150(0x304)]))[_0x373150(0x321)](_0x15ef4e=>{const _0x2d3260=_0x373150,_0x25ee0b=_0x15ef4e[_0x2d3260(0x318)];_0x25ee0b===_0x3672bc[_0x2d3260(0x333)]&&this[_0x2d3260(0x35c)](_0x15ef4e),_0x25ee0b===_0x3672bc[_0x2d3260(0x389)]&&this[_0x2d3260(0x313)](_0x15ef4e);}),this[_0x373150(0x39c)](),this[_0x373150(0x36c)](this[_0x373150(0x3af)]['onCommandExecuted'](_0x2d8d30=>{const _0x33fc1f=_0x373150;if(this[_0x33fc1f(0x200)]&&_0x2d8d30['id']===_0x11fc24['id']&&_0x2d8d30[_0x33fc1f(0x334)]['unitId']===this[_0x33fc1f(0x295)]){const _0x2f3f87=_0x2d8d30['params'];this[_0x33fc1f(0x3b6)](_0x2f3f87[_0x33fc1f(0x288)],_0x2f3f87[_0x33fc1f(0x296)][0x0]);}})));}[_0x962cf9(0x35c)](_0x441de7){const _0x1feb46=_0x962cf9;var _0x2321d8,_0x2962af;const {memberID:_0xfbfdb7,selection:_0x2916f2}=_0x441de7[_0x1feb46(0x228)],{sheetName:_0xad0f62,range:_0x720e04}=_0x526017(_0x2916f2),_0x4fe83f={'name':(_0x2962af=(_0x2321d8=this[_0x1feb46(0x346)]['getMember'](this[_0x1feb46(0x295)],_0xfbfdb7))==null?void 0x0:_0x2321d8[_0x1feb46(0x3f4)])!=null?_0x2962af:_0x1feb46(0x242),'range':this['_getMergeRange'](_0xad0f62,_0x720e04),'sheetID':_0xad0f62,'color':this[_0x1feb46(0x26e)]['assignAColorForMemberID'](_0xfbfdb7),'selection':_0x2916f2},_0x24e21f=this[_0x1feb46(0x2fd)];_0x24e21f['set'](_0xfbfdb7,_0x4fe83f),this[_0x1feb46(0x227)][_0x1feb46(0x30e)](_0x24e21f);}['_onCursorDelete'](_0x12d11e){const _0x266823=_0x962cf9,{memberID:_0xe26309}=_0x12d11e[_0x266823(0x228)],_0x3dd357=this[_0x266823(0x2fd)];_0x3dd357['delete'](_0xe26309),this[_0x266823(0x227)][_0x266823(0x30e)](_0x3dd357);}['_getMergeRange'](_0xcf6e4a,_0x465e27){const _0xa8592b=_0x962cf9;var _0x1af5a0,_0x588e1a;const _0xc7b118=(_0x588e1a=(_0x1af5a0=this[_0xa8592b(0x221)][_0xa8592b(0x310)](this[_0xa8592b(0x295)]))==null?void 0x0:_0x1af5a0[_0xa8592b(0x24d)](_0xcf6e4a))==null?void 0x0:_0x588e1a[_0xa8592b(0x31c)]();return(_0xc7b118==null?void 0x0:_0xc7b118[_0xa8592b(0x226)](_0x410381=>_0x3a69ba[_0xa8592b(0x229)](_0x410381,_0x465e27)))||_0x465e27;}[_0x962cf9(0x39c)](){const _0x1923db=_0x962cf9,_0x61cb0f=new _0x5bfc5c(),_0x21075d=gi(),_0x215aad=()=>{const _0x16a3a6=_0x188b;_0x61cb0f[_0x16a3a6(0x2e8)]();const _0x17aabb=(_0x4bcba9,_0x49db0c,_0x441fb1,_0x13c71a)=>{const _0x3c7524=_0x16a3a6;let _0x2662ce=[];switch(_0x4bcba9['id']){case _0x5a318d[_0x3c7524(0x1e1)]:{_0x2662ce=_0x411b54(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x24a)]:{_0x2662ce=_0x349952(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38c)]:{_0x2662ce=_0x1a3809(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x38f)]:{_0x2662ce=_0x1426b(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x29c)]:{_0x2662ce=_0x283dee(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2f2)]:{_0x2662ce=_0x404933(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x34a)]:{_0x2662ce=_0x1ae13c(_0x4bcba9,_0x13c71a);break;}case _0x5a318d[_0x3c7524(0x2b0)]:{_0x2662ce=_0x416efc(_0x4bcba9,_0x13c71a);break;}case _0x5a318d['RemoveRowCommandId']:{_0x2662ce=_0x410181(_0x4bcba9,_0x13c71a);break;}}const _0x408894=_0x5018ea(_0x2662ce,_0x13c71a),_0x3bbfe0=this[_0x3c7524(0x2fd)][_0x3c7524(0x22d)](_0x49db0c);if(_0x3bbfe0&&_0x408894){const _0x496860={..._0x3bbfe0,'range':_0x408894};this[_0x3c7524(0x2fd)]['set'](_0x49db0c,_0x496860),_0x21075d(()=>{const _0x5c464c=_0x3c7524,_0x8480bb=this[_0x5c464c(0x1f0)][_0x5c464c(0x1e8)](_0x408894,_0xc5cac1=>(_0x8480bb[_0x5c464c(0x2e8)](),_0x17aabb(_0xc5cac1,_0x49db0c,_0x441fb1,_0x408894)));_0x61cb0f[_0x5c464c(0x1eb)](_0x8480bb);});}return{'redos':[],'undos':[]};};this[_0x16a3a6(0x2fd)][_0x16a3a6(0x2c1)]((_0x537476,_0x103598)=>{const _0x2b25f7=_0x16a3a6,{range:_0x421d5e,sheetID:_0x157705}=_0x537476,_0x10c97e=this[_0x2b25f7(0x1f0)][_0x2b25f7(0x1e8)](_0x421d5e,_0xd05a93=>(_0x10c97e['dispose'](),_0x17aabb(_0xd05a93,_0x103598,_0x157705,_0x421d5e)));_0x61cb0f['add'](_0x10c97e);});};this['disposeWithMe'](_0x354a81(this[_0x1923db(0x227)][_0x1923db(0x321)](()=>{_0x215aad();})));}[_0x962cf9(0x2b2)](){const _0x1e82af=_0x962cf9;var _0x2aa38f,_0x57fd8d;if(this['_online']=!0x0,((_0x2aa38f=this[_0x1e82af(0x221)][_0x1e82af(0x320)]())==null?void 0x0:_0x2aa38f[_0x1e82af(0x2db)]())!==this[_0x1e82af(0x295)])return;const _0x5ed2f2=(_0x57fd8d=this[_0x1e82af(0x35e)][_0x1e82af(0x22d)](_0x5c4cf1)[_0x1e82af(0x396)]())==null?void 0x0:_0x57fd8d[0x0],_0x10140f=this[_0x1e82af(0x221)]['getCurrentUnitForType'](_0x11844b[_0x1e82af(0x1e9)])['getActiveSheet']();_0x5ed2f2&&_0x10140f&&this[_0x1e82af(0x3b6)](_0x10140f['getSheetId'](),_0x5ed2f2);}[_0x962cf9(0x32a)](){const _0x54cc7b=_0x962cf9;this[_0x54cc7b(0x200)]=!0x1;}};Me=mi([x(0x2,_0xcb25a3(_0x266e02)),x(0x3,_0xcb25a3(ke)),x(0x4,_0xcb25a3(_0x44e05b)),x(0x5,_0x163e05),x(0x6,_0xfb0aa9),x(0x7,_0xcb25a3(_0x1c651d))],Me);var pi=Object[_0x962cf9(0x31b)],Ci=(_0x26f969,_0x2fdc6b,_0x170ecb,_0x50304b)=>{const _0x3e8d6a=_0x962cf9;for(var _0x2fb9a4=_0x50304b>0x1?void 0x0:_0x50304b?pi(_0x2fdc6b,_0x170ecb):_0x2fdc6b,_0x3f3d0a=_0x26f969[_0x3e8d6a(0x1fd)]-0x1,_0x27cb2b;_0x3f3d0a>=0x0;_0x3f3d0a--)(_0x27cb2b=_0x26f969[_0x3f3d0a])&&(_0x2fb9a4=_0x27cb2b(_0x2fb9a4)||_0x2fb9a4);return _0x2fb9a4;},me=(_0x2b86f4,_0x26f0ea)=>(_0x450b69,_0x2541bb)=>_0x26f0ea(_0x450b69,_0x2541bb,_0x2b86f4);let F=class extends _0x18aeae{constructor(_0x5ba8af,_0x268ee0,_0x14e7c4){const _0x37c24e=_0x962cf9;super(),_(this,_0x37c24e(0x2d5),new Map()),_(this,'_entityInit$',new _0x4695d8()),(this[_0x37c24e(0x221)]=_0x5ba8af,this[_0x37c24e(0x35e)]=_0x268ee0,this[_0x37c24e(0x332)]=_0x14e7c4,this['_init']());}[_0x962cf9(0x2e8)](){const _0x4da1b7=_0x962cf9;super['dispose'](),this['_entityInit$'][_0x4da1b7(0x1e2)](),this[_0x4da1b7(0x2d5)][_0x4da1b7(0x2c1)](_0x22082a=>_0x22082a['dispose']());}[_0x962cf9(0x2bb)](_0x3c1bbc){const _0x21bc5c=_0x962cf9;return this[_0x21bc5c(0x2d5)][_0x21bc5c(0x2f3)](_0x3c1bbc)?this[_0x21bc5c(0x2d5)][_0x21bc5c(0x22d)](_0x3c1bbc)[_0x21bc5c(0x2ac)]:this[_0x21bc5c(0x3ef)][_0x21bc5c(0x3c5)](_0x1236d0(_0x56527a=>_0x56527a['unitID']===_0x3c1bbc),_0x2f8d76(_0x6e22a=>_0x6e22a[_0x21bc5c(0x2ac)]));}[_0x962cf9(0x32c)](){const _0x5af6ea=_0x962cf9;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11844b[_0x5af6ea(0x1e9)])['pipe'](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](async _0x7f13f8=>{const _0xd43d0a=_0x5af6ea,_0x17a556=_0x7f13f8[_0xd43d0a(0x2db)](),_0x23647a=await this['_startSheetCollabCursor'](_0x17a556);this[_0xd43d0a(0x3ef)][_0xd43d0a(0x30e)](_0x23647a),this[_0xd43d0a(0x2d5)][_0xd43d0a(0x335)](_0x17a556,_0x23647a);}),this[_0x5af6ea(0x221)][_0x5af6ea(0x2fa)](_0x11844b[_0x5af6ea(0x301)])[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))[_0x5af6ea(0x3c5)](_0x1236d0(_0x1b20ae=>!_0x1b20ae[_0x5af6ea(0x2db)]()[_0x5af6ea(0x3e2)]('__')))[_0x5af6ea(0x321)](async _0x224e49=>{const _0x1fd1ed=_0x5af6ea,_0x4827a3=_0x224e49['getUnitId'](),_0x481c28=await this['_startDocCollabCursor'](_0x4827a3);this[_0x1fd1ed(0x3ef)][_0x1fd1ed(0x30e)](_0x481c28),this['_entities']['set'](_0x4827a3,_0x481c28);}),_0x11111f(this[_0x5af6ea(0x221)]['getTypeOfUnitDisposed$'](_0x11844b[_0x5af6ea(0x301)]),this['_univerInstanceService'][_0x5af6ea(0x2bc)](_0x11844b[_0x5af6ea(0x1e9)]))[_0x5af6ea(0x3c5)](_0x1bd82a(this[_0x5af6ea(0x304)]))['subscribe'](_0x56148f=>{const _0x2bf248=_0x5af6ea,_0x551f3f=_0x56148f[_0x2bf248(0x2db)](),_0x1ea24d=this[_0x2bf248(0x2d5)][_0x2bf248(0x22d)](_0x551f3f);_0x1ea24d&&(_0x1ea24d['dispose'](),this[_0x2bf248(0x2d5)][_0x2bf248(0x260)](_0x551f3f));});}async['_startSheetCollabCursor'](_0x3c3073){const _0x3a4823=_0x962cf9,_0x11e7e3=await this['_collabSessionService'][_0x3a4823(0x3ee)](_0x3c3073),_0xcb9c17=this[_0x3a4823(0x35e)]['createInstance'](Me,_0x3c3073,_0x11e7e3);return _0xcb9c17[_0x3a4823(0x25c)](),_0xcb9c17;}async[_0x962cf9(0x38d)](_0x8b6c5a){const _0x2e96f4=_0x962cf9,_0x4e203a=await this[_0x2e96f4(0x332)][_0x2e96f4(0x3ee)](_0x8b6c5a),_0x571f3d=this['_injector'][_0x2e96f4(0x3c3)](Ue,_0x8b6c5a,_0x4e203a);return _0x571f3d['init'](),_0x571f3d;}};F=Ci([me(0x0,_0x163e05),me(0x1,_0xcb25a3(_0x266e02)),me(0x2,_0xcb25a3(_0x193bf2))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function _0x188b(_0x2e03d5,_0x3eb997){const _0x48640c=_0x4864();return _0x188b=function(_0x188b4d,_0x600c81){_0x188b4d=_0x188b4d-0x1df;let _0x2946c8=_0x48640c[_0x188b4d];return _0x2946c8;},_0x188b(_0x2e03d5,_0x3eb997);}function Oi(_0x481cc1,_0x46dfad){const _0x1c146c=_0x962cf9;let {radius:_0x3a5e3e,width:_0x341367,height:_0x49700a}=_0x46dfad;_0x3a5e3e=_0x3a5e3e!=null?_0x3a5e3e:0x0,_0x341367=_0x341367!=null?_0x341367:0x1e,_0x49700a=_0x49700a!=null?_0x49700a:0x1e;let _0x5a83a3=0x0,_0x1079cd=0x0,_0x207d8a=0x0;_0x5a83a3=_0x1079cd=_0x207d8a=Math[_0x1c146c(0x235)](_0x3a5e3e,_0x341367/0x2,_0x49700a/0x2),_0x481cc1[_0x1c146c(0x305)](),_0x481cc1[_0x1c146c(0x336)](_0x5a83a3,0x0),_0x481cc1[_0x1c146c(0x3ae)](_0x341367-_0x1079cd,0x0),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x1079cd,_0x1079cd,_0x1079cd,Math['PI']*0x3/0x2,0x0,!0x1),_0x481cc1[_0x1c146c(0x3ae)](_0x341367,_0x49700a-_0x207d8a),_0x481cc1[_0x1c146c(0x382)](_0x341367-_0x207d8a,_0x49700a-_0x207d8a,_0x207d8a,0x0,Math['PI']/0x2,!0x1),_0x481cc1[_0x1c146c(0x3ae)](0x0,_0x49700a),_0x481cc1['lineTo'](0x0,_0x5a83a3),_0x481cc1[_0x1c146c(0x382)](_0x5a83a3,_0x5a83a3,_0x5a83a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x481cc1[_0x1c146c(0x393)](),_0x46dfad[_0x1c146c(0x375)]&&(_0x481cc1['save'](),_0x481cc1[_0x1c146c(0x3d0)]=_0x46dfad['fill'],_0x46dfad[_0x1c146c(0x2cb)]===_0x1c146c(0x39d)?_0x481cc1[_0x1c146c(0x375)](_0x1c146c(0x39d)):_0x481cc1[_0x1c146c(0x375)](),_0x481cc1['restore']());}class ue extends _0x539d2d{constructor(_0x370d21,_0x6872bb){const _0x32cf62=_0x962cf9;super(_0x370d21,_0x6872bb),_(this,_0x32cf62(0x276)),_(this,_0x32cf62(0x3c1)),(this[_0x32cf62(0x276)]=_0x6872bb==null?void 0x0:_0x6872bb[_0x32cf62(0x276)],this[_0x32cf62(0x3c1)]=_0x6872bb==null?void 0x0:_0x6872bb['text']);}static[_0x962cf9(0x2ce)](_0x286dad,_0x5a266b){const _0x475f58=_0x962cf9,{text:_0x4ee850,color:_0x4096e2}=_0x5a266b;_0x286dad['save'](),_0x286dad[_0x475f58(0x24c)]=_0x475f58(0x3b3);const _0x19d87d=_0x286dad[_0x475f58(0x205)](_0x4ee850)[_0x475f58(0x2dd)],_0x56aeda=Math[_0x475f58(0x235)](_0x19d87d+0x2*Ie,Qe);Oi(_0x286dad,{'height':J,'radius':0x4,'width':_0x56aeda,'fill':_0x4096e2}),_0x286dad[_0x475f58(0x3d0)]='#FFF';const _0x2d1203=Ie,_0x1bf8fe=J-Ei,_0x310eeb=Qe-0x2*Ie;if(_0x19d87d>_0x310eeb){let _0x10ed25='',_0x549387=0x0;for(const _0x511b01 of _0x4ee850){const _0x89fb52=_0x286dad[_0x475f58(0x205)](_0x511b01)[_0x475f58(0x2dd)];if(_0x549387+_0x89fb52<=_0x310eeb-_0x286dad[_0x475f58(0x205)](_0x475f58(0x3ca))['width'])_0x10ed25+=_0x511b01,_0x549387+=_0x89fb52;else{_0x10ed25+='...';break;}}_0x286dad['fillText'](_0x10ed25,_0x2d1203,_0x1bf8fe);}else _0x286dad[_0x475f58(0x254)](_0x4ee850,_0x2d1203,_0x1bf8fe);_0x286dad[_0x475f58(0x33b)]();}[_0x962cf9(0x379)](_0x4d9860){const _0x98dff2=_0x962cf9;ue[_0x98dff2(0x2ce)](_0x4d9860,this);}}const ve=_0x962cf9(0x225),bi=_0x962cf9(0x29d),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4f3e12,_0x4c8062,_0xf71c02,_0x489c88){const _0x5f5cf6=_0x962cf9;_(this,_0x5f5cf6(0x20a),[]),_(this,_0x5f5cf6(0x251),null),_(this,_0x5f5cf6(0x271),null),_(this,_0x5f5cf6(0x255),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x5f5cf6(0x339)]=_0x4f3e12,this[_0x5f5cf6(0x29b)]=_0x4c8062,this[_0x5f5cf6(0x28b)]=_0xf71c02,this[_0x5f5cf6(0x348)]=_0x489c88,this[_0x5f5cf6(0x326)]());}set[_0x962cf9(0x2da)](_0x5caaca){const _0x38bcdd=_0x962cf9;_0x5caaca?(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3a7)](),this['_textBubble']&&this['_textBubble'][_0x38bcdd(0x3d9)]()):(this[_0x38bcdd(0x255)]&&this[_0x38bcdd(0x255)][_0x38bcdd(0x3d9)](),this[_0x38bcdd(0x271)]&&this[_0x38bcdd(0x271)][_0x38bcdd(0x3a7)]());}[_0x962cf9(0x2e8)](){const _0x34ce80=_0x962cf9;for(const _0xcb48a9 of this['_shapes'])_0xcb48a9[_0x34ce80(0x2e8)]();this[_0x34ce80(0x271)]&&this['_textBubble'][_0x34ce80(0x2e8)](),this['_anchorDot']&&this[_0x34ce80(0x255)]['dispose'](),this[_0x34ce80(0x251)]&&this[_0x34ce80(0x251)][_0x34ce80(0x2e8)](),this[_0x34ce80(0x2c3)]&&this[_0x34ce80(0x2c3)]();}[_0x962cf9(0x326)](){const _0xc7ee63=_0x962cf9;var _0x510b74;const {_docSkeleton:_0x36fda9,_document:_0x5e4c56}=this,{color:_0x48bdec,name:_0x418051,ranges:_0x29a777}=this['_cursor'],_0x501054=_0x5e4c56[_0xc7ee63(0x256)](),{docsLeft:_0x352b1d,docsTop:_0x4cc29e}=_0x501054,_0x417e01=new _0x235692(_0x501054,_0x36fda9);for(const {startOffset:_0x1ea74d,endOffset:_0x44a4c0,rangeType:_0x4b592f,segmentId:_0x1551d5,segmentPage:_0x75365a,collapsed:_0x5c97b0,isActive:_0x55c86d}of _0x29a777){const _0x2f53d8=_0x36fda9['findNodePositionByCharIndex'](_0x1ea74d,!0x0,_0x1551d5,_0x75365a);let _0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0,!0x0,_0x1551d5,_0x75365a);if(_0x261a12==null&&(_0x261a12=_0x36fda9[_0xc7ee63(0x2ad)](_0x44a4c0-0x1,!0x1,_0x1551d5,_0x75365a)),_0x55c86d){const {contentBoxPointGroup:_0x5e447b}=_0x417e01[_0xc7ee63(0x2c2)](_0x261a12,_0x261a12);if(_0x5e447b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x274)](_0x48bdec,_0x5e447b,_0x352b1d,_0x4cc29e,_0x418051),this[_0xc7ee63(0x2c3)]=this[_0xc7ee63(0x240)]();}if(_0x2f53d8&&_0x261a12){if(_0x4b592f===_0x3de40f['RECT']){const _0x3fa639=new _0x43f332(_0x501054,_0x36fda9),{pointGroup:_0x56328b}=(_0x510b74=_0x3fa639['getRangePointData'](_0x2f53d8,_0x261a12))!=null?_0x510b74:{};if(_0x56328b==null||_0x56328b[_0xc7ee63(0x1fd)]===0x0)continue;this[_0xc7ee63(0x3f2)](_0x48bdec,_0x56328b,_0x352b1d,_0x4cc29e);}else{if(!_0x5c97b0){const {borderBoxPointGroup:_0x527c25}=_0x417e01[_0xc7ee63(0x2c2)](_0x2f53d8,_0x261a12);if(_0x527c25[_0xc7ee63(0x1fd)]===0x0)continue;this['_drawTextRange'](_0x48bdec,_0x527c25,_0x352b1d,_0x4cc29e);}}}}}[_0x962cf9(0x274)](_0x3c06e9,_0x4901a7,_0x5334d4,_0x50d74a,_0x5ef6cc){const _0x307666=_0x962cf9,_0x198647=this[_0x307666(0x283)](_0x4901a7),{left:_0x3c8790,top:_0x30b985,height:_0x14dec8}=_0x198647,_0x137a64=this[_0x307666(0x25d)](),_0x5b5c01=Di/_0x137a64,_0x5583ee=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a,'height':_0x14dec8,'width':Ri,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':_0x5b5c01,'stroke':Ni,'evented':!0x0});this[_0x307666(0x251)]=_0x5583ee,this[_0x307666(0x29b)]['addObject'](_0x5583ee,_0x25c91b);const _0x662e89=new _0x46a699(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-ge/0x2,'height':ge,'width':ge,'fill':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'strokeWidth':0x0,'stroke':_0x3c06e9||_0x175f6c(_0x4a7b72[_0x307666(0x349)],0x0),'evented':!0x1});this[_0x307666(0x255)]=_0x662e89,this[_0x307666(0x29b)]['addObject'](_0x662e89,_0x25c91b);const _0xd5864e=new ue(ve+_0x1ebbcc(G),{'left':_0x3c8790+_0x5334d4-_0x5b5c01,'top':_0x30b985+_0x50d74a-J,'text':_0x5ef6cc,'color':_0x3c06e9});this[_0x307666(0x271)]=_0xd5864e,this[_0x307666(0x29b)][_0x307666(0x22c)](_0xd5864e,_0x25c91b),this[_0x307666(0x2da)]=!0x1;}['_handleHover'](){const _0x5b4135=_0x962cf9,_0x370e83=this[_0x5b4135(0x251)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x546f9b=_0x5b4135;this[_0x546f9b(0x2da)]=!0x0;}),_0x59eff2=this[_0x5b4135(0x251)][_0x5b4135(0x3e1)]['subscribeEvent'](()=>{const _0x4c0e05=_0x5b4135;this[_0x4c0e05(0x297)]&&clearTimeout(this[_0x4c0e05(0x297)]),this[_0x4c0e05(0x297)]=setTimeout(()=>{const _0x5ac14d=_0x4c0e05;this[_0x5ac14d(0x2da)]=!0x1;},0x7d0);});return()=>{const _0x1eecd6=_0x5b4135;_0x370e83['unsubscribe'](),_0x59eff2[_0x1eecd6(0x263)]();};}[_0x962cf9(0x34d)](_0x1d629d,_0x1f0f4f,_0x451027,_0x4e891c){const _0x4e9db1=_0x962cf9,_0xeb92e1=new _0x56ac4f(_0x1d629d)[_0x4e9db1(0x1ea)](0.2)[_0x4e9db1(0x213)](),_0x21ebad=new _0x2a0284(bi+_0x1ebbcc(G),{'pointsGroup':_0x1f0f4f,'fill':_0xeb92e1||_0x175f6c(_0x4a7b72[_0x4e9db1(0x349)],0.2),'left':_0x451027,'top':_0x4e891c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e9db1(0x20a)][_0x4e9db1(0x3d1)](_0x21ebad),this['_scene'][_0x4e9db1(0x22c)](_0x21ebad,_0x25c91b);}[_0x962cf9(0x3f2)](_0x64cf41,_0xd562ce,_0x1058b3,_0x556edb){const _0x19abce=_0x962cf9,_0x3c4ab5=new _0x56ac4f(_0x64cf41)['setAlpha'](0.2)['toRgbString'](),_0x25db57=new _0x2a0284(Ti+_0x1ebbcc(G),{'pointsGroup':_0xd562ce,'fill':_0x3c4ab5||_0x175f6c(_0x4a7b72['black'],0.2),'left':_0x1058b3,'top':_0x556edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19abce(0x20a)][_0x19abce(0x3d1)](_0x25db57),this[_0x19abce(0x29b)][_0x19abce(0x22c)](_0x25db57,_0x25c91b);}[_0x962cf9(0x283)](_0x10ab49){const _0xf3f299=_0x10ab49[0x0],_0x204e9f=_0xf3f299[0x0],_0x4f0719=_0xf3f299[0x2],{x:_0x351721,y:_0x2f7e9c}=_0x204e9f,{x:_0x22e2b1,y:_0x1cdf0c}=_0x4f0719;return{'left':_0x351721,'top':_0x2f7e9c,'width':_0x22e2b1-_0x351721,'height':_0x1cdf0c-_0x2f7e9c};}[_0x962cf9(0x25d)](){const {scaleX:_0x497539,scaleY:_0x4eade3}=this['_scene']['getAncestorScale']();return Math['max'](_0x497539,_0x4eade3);}}var Ui=Object[_0x962cf9(0x31b)],Mi=(_0x53dc8a,_0x33cb2f,_0x1f92fb,_0x2e7afc)=>{const _0x587aee=_0x962cf9;for(var _0x5eb581=_0x2e7afc>0x1?void 0x0:_0x2e7afc?Ui(_0x33cb2f,_0x1f92fb):_0x33cb2f,_0x69e821=_0x53dc8a[_0x587aee(0x1fd)]-0x1,_0x45d57f;_0x69e821>=0x0;_0x69e821--)(_0x45d57f=_0x53dc8a[_0x69e821])&&(_0x5eb581=_0x45d57f(_0x5eb581)||_0x5eb581);return _0x5eb581;},q=(_0x2e37c7,_0x3ae657)=>(_0x3a5b44,_0x4b07e4)=>_0x3ae657(_0x3a5b44,_0x4b07e4,_0x2e37c7);let Le=class extends _0x18aeae{constructor(_0x1a58cd,_0x26e33c,_0x221832,_0x14f939,_0x2ec36e){const _0xe4c3d1=_0x962cf9;super(),_(this,'_cursorShapes',[]),_(this,_0xe4c3d1(0x26d),[]),(this[_0xe4c3d1(0x391)]=_0x1a58cd,this['_docSkeletonManagerService']=_0x26e33c,this[_0xe4c3d1(0x22a)]=_0x221832,this[_0xe4c3d1(0x3af)]=_0x14f939,this[_0xe4c3d1(0x27a)]=_0x2ec36e,this[_0xe4c3d1(0x32c)]());}[_0x962cf9(0x32c)](){const _0x280ded=_0x962cf9,_0x110626=this[_0x280ded(0x391)]['unitId'],_0x3c6c2d=this['_docSkeletonManagerService'];this[_0x280ded(0x36c)](_0x2237a4([this['_collabCursorController'][_0x280ded(0x2bb)](_0x110626),this[_0x280ded(0x27a)][_0x280ded(0x24f)]])[_0x280ded(0x3c5)](_0x47ba9f(([_0x56b434,_0x22fce8])=>({'skeleton':_0x3c6c2d[_0x280ded(0x388)](),'cursors':[..._0x56b434[_0x280ded(0x281)]()][_0x280ded(0x24e)](_0x1a1c79=>({..._0x1a1c79,'color':this[_0x280ded(0x27a)][_0x280ded(0x2a0)](_0x1a1c79[_0x280ded(0x276)])}))})))[_0x280ded(0x321)](_0x36ec66=>{const _0x320a57=_0x280ded;if(this[_0x320a57(0x2c5)](),_0x36ec66){const {skeleton:_0x81692,cursors:_0x281e39}=_0x36ec66;this[_0x320a57(0x2b1)](_0x81692,_0x281e39);}})),this['_initResize'](),this[_0x280ded(0x39e)]();}[_0x962cf9(0x2b1)](_0x52977f,_0x5954c1){const _0x575cd6=_0x962cf9,{scene:_0x18e9de,mainComponent:_0x5cec5a}=this[_0x575cd6(0x391)],_0x42de8a=_0x5954c1[_0x575cd6(0x33c)](_0x2c1d24=>new qe(_0x2c1d24,_0x18e9de,_0x52977f,_0x5cec5a));this['_cursorShapes']=_0x42de8a,this['_cursors']=_0x5954c1;}[_0x962cf9(0x3e8)](){const _0x27b6ce=_0x962cf9;this[_0x27b6ce(0x2c5)]();const {scene:_0x222a55,mainComponent:_0x4f24a0}=this['_context'],_0x324332=this[_0x27b6ce(0x2a6)]['getSkeleton'](),_0x1e2f14=this['_cursors'][_0x27b6ce(0x33c)](_0x38f8fb=>new qe(_0x38f8fb,_0x222a55,_0x324332,_0x4f24a0));this[_0x27b6ce(0x324)]=_0x1e2f14;}[_0x962cf9(0x2c5)](){const _0x18541f=_0x962cf9;this[_0x18541f(0x324)]['forEach'](_0x2f464a=>_0x2f464a[_0x18541f(0x2e8)]()),this[_0x18541f(0x324)]=[];}[_0x962cf9(0x39e)](){const _0x1514c9=_0x962cf9,_0x9d7441=[_0x3f79cf['id']];this['disposeWithMe'](this[_0x1514c9(0x3af)]['onCommandExecuted'](_0x438751=>{const _0x27d7ca=_0x1514c9;_0x9d7441[_0x27d7ca(0x3c4)](_0x438751['id'])&&_0x438751[_0x27d7ca(0x334)]['unitId']===this[_0x27d7ca(0x391)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x962cf9(0x1ed)](){const _0x440428=_0x962cf9;this[_0x440428(0x36c)](_0x502021(this['_context']['engine']['onTransformChange$'])['pipe'](_0x2dd156(_0x500e6e=>_0x500e6e[_0x440428(0x259)]===_0x2ceced[_0x440428(0x31e)]),_0x54ce4a(0x10))[_0x440428(0x321)](()=>{const _0x3c4cf5=_0x440428;this[_0x3c4cf5(0x3e8)]();}));}};Le=Mi([q(0x1,_0xcb25a3(_0x2bca3f)),q(0x2,_0xcb25a3(F)),q(0x3,_0xfb0aa9),q(0x4,_0xcb25a3(_0x16a58d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x539d2d{constructor(_0x59b75a,_0x44c94f){const _0x62a41=_0x962cf9;super(_0x59b75a,_0x44c94f),_(this,_0x62a41(0x1e0)),_(this,_0x62a41(0x316),!0x1),_(this,_0x62a41(0x2b9)),_(this,_0x62a41(0x36b),''),_(this,'_labelPosition',_0x62a41(0x28d)),_(this,_0x62a41(0x250)),(_0x44c94f&&this['setShapeProps'](_0x44c94f),this[_0x62a41(0x352)][_0x62a41(0x2fb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x62a41(0x3e1)][_0x62a41(0x2fb)](()=>this[_0x62a41(0x398)]({'hovered':!0x1})));}[_0x962cf9(0x398)](_0x2408df){const _0x344558=_0x962cf9;var _0x2036c4,_0x495c1c,_0x2e981e,_0xe1e713,_0x2a0bfd,_0x277d73;this[_0x344558(0x1e0)]=(_0x2036c4=_0x2408df[_0x344558(0x276)])!=null?_0x2036c4:this['_color'],this[_0x344558(0x316)]=(_0x495c1c=_0x2408df['hovered'])!=null?_0x495c1c:this[_0x344558(0x316)],this[_0x344558(0x2b9)]=(_0x2e981e=_0x2408df[_0x344558(0x3a2)])!=null?_0x2e981e:this[_0x344558(0x2b9)],this['_name']=(_0xe1e713=_0x2408df['name'])!=null?_0xe1e713:this[_0x344558(0x36b)],this[_0x344558(0x38e)]=(_0x2a0bfd=_0x2408df[_0x344558(0x280)])!=null?_0x2a0bfd:this['_labelPosition'],this['_backgroundColor']=(_0x277d73=_0x2408df[_0x344558(0x3b2)])!=null?_0x277d73:this[_0x344558(0x250)],this['transformByState']({'width':_0x2408df[_0x344558(0x2dd)],'height':_0x2408df[_0x344558(0x257)]});}[_0x962cf9(0x25e)](_0x190428){const _0x441dd4=_0x962cf9,{row:_0x5aac5d,column:_0x5317b5}=_0x190428;if(_0x5aac5d>=this[_0x441dd4(0x2b9)][_0x441dd4(0x306)]&&_0x5aac5d<=this['_range'][_0x441dd4(0x1ec)]&&_0x5317b5>=this['_range'][_0x441dd4(0x212)]&&_0x5317b5<=this[_0x441dd4(0x2b9)][_0x441dd4(0x3c0)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x962cf9(0x206)](_0xc34e47){return!0x1;}[_0x962cf9(0x379)](_0xb7934d){const _0x3b37f5=_0x962cf9;_0x46a699[_0x3b37f5(0x2ce)](_0xb7934d,{'width':this[_0x3b37f5(0x2dd)],'height':this[_0x3b37f5(0x257)],'strokeWidth':Pi,'stroke':this[_0x3b37f5(0x1e0)],'evented':!0x1,'fill':this[_0x3b37f5(0x250)]}),this[_0x3b37f5(0x316)]&&(_0xb7934d[_0x3b37f5(0x2bf)](),_0xb7934d[_0x3b37f5(0x26c)](0x1,0x0,0x0,0x1,this[_0x3b37f5(0x2dd)],this['_labelPosition']===_0x3b37f5(0x1df)?0x0:-J),ue[_0x3b37f5(0x2ce)](_0xb7934d,{'text':this[_0x3b37f5(0x36b)],'color':this[_0x3b37f5(0x1e0)]}),_0xb7934d[_0x3b37f5(0x33b)]());}}var Ai=Object[_0x962cf9(0x31b)],yi=(_0x2cad19,_0x2e10a1,_0x4ceb26,_0x31bf48)=>{for(var _0x2a53fa=_0x31bf48>0x1?void 0x0:_0x31bf48?Ai(_0x2e10a1,_0x4ceb26):_0x2e10a1,_0x3d95e4=_0x2cad19['length']-0x1,_0x28b4cf;_0x3d95e4>=0x0;_0x3d95e4--)(_0x28b4cf=_0x2cad19[_0x3d95e4])&&(_0x2a53fa=_0x28b4cf(_0x2a53fa)||_0x2a53fa);return _0x2a53fa;},pe=(_0xf7c7d3,_0x4cfcb1)=>(_0x515b23,_0x2e2363)=>_0x4cfcb1(_0x515b23,_0x2e2363,_0xf7c7d3);const $i=0x1389;let Pe=class extends _0x18aeae{constructor(_0x253833,_0x50267b,_0x2183da,_0x4c1b5e){const _0x8628e7=_0x962cf9;super(),_(this,'_cursors',new Set()),_(this,_0x8628e7(0x2b7),null),(this[_0x8628e7(0x391)]=_0x253833,this[_0x8628e7(0x26b)]=_0x50267b,this[_0x8628e7(0x22a)]=_0x2183da,this[_0x8628e7(0x27a)]=_0x4c1b5e,this[_0x8628e7(0x32c)]());}[_0x962cf9(0x32c)](){const _0x405d2a=_0x962cf9;this['_sheetSkeletonManagerService'][_0x405d2a(0x3cd)]['pipe'](_0x3552e3(this[_0x405d2a(0x304)]),_0xf9b43b(_0x32dd32=>{const _0x5b3409=_0x405d2a;if(_0x32dd32){const _0x2f1989=_0x32dd32[_0x5b3409(0x3bb)];return _0x2237a4(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x5b3409(0x27a)][_0x5b3409(0x24f)])[_0x5b3409(0x3c5)](_0x47ba9f(([_0x22eedf,_0x5c7513])=>{const _0x3e30f6=_0x5b3409,_0x531db2=new Map();return _0x22eedf[_0x3e30f6(0x2c1)]((_0x8068e0,_0x2dcb58)=>{const _0x3dae32=_0x3e30f6;if(_0x8068e0[_0x3dae32(0x3e7)]===_0x2f1989){const _0x3dc3a1={..._0x8068e0};_0x3dc3a1[_0x3dae32(0x276)]=this[_0x3dae32(0x27a)]['getColorFromTheme'](_0x8068e0[_0x3dae32(0x276)]),_0x531db2[_0x3dae32(0x335)](_0x2dcb58,_0x3dc3a1);}}),{'skeleton':_0x32dd32,'cursors':_0x531db2};}));}return _0x4d0da8({'skeleton':null,'cursors':new Map()});}))[_0x405d2a(0x321)](({skeleton:_0x4815d0,cursors:_0x37c367})=>{const _0x5919d9=_0x405d2a;this['_removeCollabCursors'](),_0x4815d0&&this[_0x5919d9(0x2b1)](_0x4815d0,_0x37c367);}),this[_0x405d2a(0x26b)][_0x405d2a(0x3cd)]['subscribe'](_0x101337=>{const _0x108ecc=_0x405d2a;if(_0x101337==null)return;const {skeleton:_0x3f3247}=_0x101337,{scene:_0x371403}=this['_context'];_0x371403[_0x108ecc(0x30f)]['subscribeEvent'](_0x397ea6(_0xfb925e=>{const _0x53fe90=_0x108ecc;var _0x5ad4f6,_0x4ca461;const {offsetX:_0x21e401,offsetY:_0x45ebf0}=_0xfb925e,{x:_0x6e3b1c,y:_0x37f6a5}=_0x371403[_0x53fe90(0x2aa)](_0x55f890[_0x53fe90(0x284)]([_0x21e401,_0x45ebf0])),{scaleX:_0x1b654c,scaleY:_0xca6627}=_0x371403[_0x53fe90(0x3f1)](),_0x239e99=_0x371403[_0x53fe90(0x249)](_0x42a5e7[_0x53fe90(0x2d9)]),_0x153a6d=_0x371403['getVpScrollXYInfoByPosToVp'](_0x55f890[_0x53fe90(0x284)]([_0x6e3b1c,_0x37f6a5]),_0x239e99),_0x4b6961=_0x3f3247['getCellPositionByOffset'](_0x21e401,_0x45ebf0,_0x1b654c,_0xca6627,_0x153a6d);((_0x5ad4f6=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x5ad4f6[_0x53fe90(0x32d)])===_0x4b6961[_0x53fe90(0x32d)]&&((_0x4ca461=this[_0x53fe90(0x2b7)])==null?void 0x0:_0x4ca461[_0x53fe90(0x3d8)])===_0x4b6961['row']||this[_0x53fe90(0x26d)][_0x53fe90(0x2c1)](_0x4005fe=>{const _0x480237=_0x53fe90;_0x4005fe[_0x480237(0x25e)](_0x4b6961);});},0x64));});}[_0x962cf9(0x2b1)](_0xffb949,_0x127d19){const _0x5f306e=_0x962cf9;var _0x25ac80;const _0x4957d9=(_0x25ac80=this[_0x5f306e(0x26b)][_0x5f306e(0x1f1)]())==null?void 0x0:_0x25ac80[_0x5f306e(0x27c)];if(!_0x4957d9)return;const _0x4f71bc=this['_getSheetObject']();if(!_0x4f71bc)return;this[_0x5f306e(0x26d)][_0x5f306e(0x2c1)](_0x5eeb50=>{_0x5eeb50['makeDirty']();});const {scene:_0x13f06a}=_0x4f71bc,_0x52a43c=xi(Array[_0x5f306e(0x35a)](_0x127d19['values']()))[_0x5f306e(0x33c)](_0x55053b=>{const _0x3d7deb=_0x5f306e,{color:_0x467d75,range:_0x2dd78c,name:_0x106ce2,selection:_0xa46df8,sheetID:_0x3089df}=_0x55053b,{startColumn:_0x5a115c,startRow:_0x52a327,endColumn:_0x5a66de,endRow:_0x176b6e}=_0x2dd78c,_0x39644c=_0x13ed17(_0x52a327,_0x5a115c,_0x13f06a,_0x4957d9),_0x1d9566=_0x13ed17(_0x176b6e,_0x5a66de,_0x13f06a,_0x4957d9),{columnHeaderHeightAndMarginTop:_0x48b0cf}=_0x4957d9,{startX:_0x7c901,startY:_0x4fe1e9}=_0x39644c,{endX:_0x369d6d,endY:_0x323e8d}=_0x1d9566,_0x4062a6=_0x369d6d-_0x7c901,_0x4fb0d3=_0x323e8d-_0x4fe1e9,_0x47d551={'labelPosition':_0x4fe1e9-_0x48b0cf>=J?_0x3d7deb(0x28d):_0x3d7deb(0x1df),'sheetID':_0x3089df,'range':_0x2dd78c,'color':_0x467d75,'name':_0x106ce2,'selection':_0xa46df8,'left':_0x7c901,'top':_0x4fe1e9,'width':_0x4062a6,'height':_0x4fb0d3,'evented':!0x1,'zIndex':$i};return new wi(_0x106ce2,_0x47d551);});_0x13f06a[_0x5f306e(0x378)](_0x52a43c,Li),this[_0x5f306e(0x26d)]=new Set(_0x52a43c);}[_0x962cf9(0x2c5)](){const _0x1f3582=_0x962cf9;var _0x1f7459;(_0x1f7459=this['_cursors'])==null||_0x1f7459[_0x1f3582(0x2c1)](_0x3e1ca6=>_0x3e1ca6['dispose']());}[_0x962cf9(0x2a4)](){const _0x11c59a=_0x962cf9;return _0x3fa149(this['_context'][_0x11c59a(0x1f3)],this[_0x11c59a(0x391)]);}};Pe=yi([pe(0x1,_0xcb25a3(_0x5eb21a)),pe(0x2,_0xcb25a3(F)),pe(0x3,_0xcb25a3(_0x16a58d))],Pe);function xi(_0x1f5a3c){const _0x12658d=_0x962cf9,_0x5ee8ff=new Map();return _0x1f5a3c['forEach'](_0x360e8c=>{const _0x17872d=_0x188b;if(_0x5ee8ff['has'](_0x360e8c[_0x17872d(0x1e5)])){const _0x222d52=_0x5ee8ff[_0x17872d(0x22d)](_0x360e8c[_0x17872d(0x1e5)]);_0x222d52['name']+=',\x20'+_0x360e8c[_0x17872d(0x3f4)];}else _0x5ee8ff[_0x17872d(0x335)](_0x360e8c[_0x17872d(0x1e5)],_0x360e8c);}),Array[_0x12658d(0x35a)](_0x5ee8ff[_0x12658d(0x281)]());}function _0x4864(){const _0x471893=['_memberService','_localStorageService','_document','black','MoveRangeCommandId','isEditing','_docClipboardService','_drawTextRange','undoState','some','docStateChange$','m2Prime','onPointerEnter$','AWAITING_WITH_PENDING','_collaborationUIEventService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','colorChannel1','assignAColorForMemberID','_removeClearOtherTimer','from','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','urlChange$','_injector','YUUMI_RATE_OVER_LIMIT','collab-client.tooltip.reconnect','_setupSubUnitSync','createSocket','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','_transformHistoryAndStateStack','transformIMECache','22jnLcTe','searchParams','_beforeCloseService','textRanges','SYNCED','_name','disposeWithMe','all','_assignedColors','_initStatusComponent','deepClone','_initEvent','0\x200\x2016\x2016','_heartbeatTimer','collabStatus.synced','fill','children','string','addObjects','_draw','1klcGui','event$','clearTimeout','then','_unitStatus','path','none','updateOfflineData','arc','url(#$1','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setItem','unload','Failed','getSkeleton','USERS_LEAVE','collaboration.closeRoom','SNAPSHOT_INVALID_SNAPSHOT','InsertColCommandId','_startDocCollabCursor','_labelPosition','InsertRangeMoveDownCommandId','runOnServer','_context','div','closePath','current','_status$','getCurrentSelections','getUnhiddenWorksheets','setShapeProps','registerComponent','OffLineIcon','SNAPSHOT_HAS_BEEN_REMOVED','_onRefRangeChange','evenodd','_initCommandExecutedListener','APPLY_REJECT','activeSheet$','_docSyncEditingCollabCursorService','range','OTHER_CLIENTS_EDITING','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','hide','_initDependencies','ENSURE_SNAPSHOT_EXECUTION','_handleEvent','setActiveRange','saveTaskMap','idSuffix','lineTo','_commandService','INVITE_CODE_ALREADY_BOUND','_ensureSubject','backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','imageSourceType','TOO_MANY_REQUESTS','_updateLocalCursor','white','search','UNRECOGNIZED','PENDING','sheetId','OTHER_CLIENT_EDITING','_selfUnitIDs','key','unitId','endColumn','text','OnLineIcon','createInstance','includes','pipe','substring','getConfig','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','...','M0\x200H16V16H0z','session.connection-failed','currentSkeleton$','SUBMIT_CHANGESET_TIMEOUT','transformRemoteChangeset','fillStyle','push','asObservable','stringify','_transformUndoRedoStack','href','code','tag','row','show','onLocalMutation','saveImage','LICENSE_DISTRO_REJECTED','removeParam','size','actions','YUUMI_AI_RUN_FAILED','onPointerLeave$','startsWith','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverIcon','clipPath','replace','sheetID','_refreshCollabCursors','PERMISSION_DENIED','disposeUnit','indexOf','on-line-icon_clip0_910_349','symbol','requireSession','_entityInit$','post','getAncestorScale','_drawRectRange','getCollabEntity$','name','JOIN_ROOM_FAILED','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','extend','bottom','_color','DeleteRangeMoveLeftCommandId','complete','off-line-icon','_updateURLWithCurrentState','selection','with','OFFLINE','registerRefRange','UNIVER_SHEET','setAlpha','add','endRow','_initResize','transformMutationsWithChangeset','126keWaqU','_refRangeService','getCurrent','executionId','unit','ALREADY_EXISTS','[CollaborationDataLoaderController]','getSheetId','CONFLICT','YUUMI_CONNECTOR_URL_NOT_FOUND','transformMutation','_session','setConfig','send','length','focused$','entityInit$','_online','_notificationService','_handleJoinEvent','getUndoRedoMutationParamsCache','syncEditingCollabCursor','measureText','triggerDblclick','MOBILE_VERIFY_CODE_MISMATCH','assign','runId','_shapes','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformStateCacheService','_docTransformSelectionsService','replaceState','_clearOtherTimers','COMPLETION_FINISHED','saveOfflineData','startColumn','toRgbString','EMAIL_VERIFY_CODE_MISMATCH','_docStateChangeManagerService','_saveCache','INVITE_CODE_REQUIRED','blue.400','isArray','defs','className','roomMembers','Warning','editingUnit','4547988eNvKcP','xlink:href','_univerInstanceService','CLOSE_ROOM','_instanceService','function','collab-text-anchor-','find','_cursorInfo$','data','contains','_collabCursorController','getRenderById','addObject','get','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CHANGESET_REVISION_CONFILICT','getMemberID','http://www.w3.org/2000/svg','_config','replaceDocRanges','round','min','_scheduleSaving','_initEntityListener','Error','NOT_COLLAB','onCommandExecuted','INTERNAL_ERROR','YUUMI_UNABLE_LOAD_URL','use','history','attrs','_handleHover','_collabCursorState$','Unknown\x20user','clearInterval','body','getParam','displayName','setStateCache','getActiveRange','getViewport','DeleteRangeMoveUpCommandId','apply','font','getSheetBySheetId','flatMap','currentTheme$','_backgroundColor','_anchor','_handleLeaveEvent','_registerDependencies','fillText','_anchorDot','getOffsetConfig','height','_roomMembers$','type','doc.mutation.rich-text-editing','_transformService','init','_getScale','onMouseMove','roomMembers$','delete','exhaustSavingTask','MOBILE_HAS_BEEN_BOUND','unsubscribe','getValue','_messageService','_docTransformIMECacheService','collaboration.single-unit.warning','concat','APPLY_PERMISSION_DENIED','session.collaboration-timeout','_sheetSkeletonManagerService','transform','_cursors','_colorAssignService','_cachedData','_disabled','_textBubble','pluginName','collabStatus.conflict','_drawAnchor','registerRenderModule','color','whenReady','UNDEFINED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_themeService','call','skeleton','split','_handleHeartbeatEvent','_colorIndex','labelPosition','values','878698IejHwF','_getAnchorBounding','FromArray','INVITE_CODE_HAS_BEEN_UES','prototype','HEADER_MENU','subUnitId','reconnect','collaboration-client.offline-data-not-saved','_docSkeleton','_createSocketURL','top','disableLocalCache','uni.network.url-service','_registerRenderDependencies','propertyIsEnumerable','mutations','ticket','_getSaveTimeout','unitID','selections','_hideTimer','APPLY_REVISION_CONFILICT','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','InsertRangeMoveRightCommandId','collab-text-range-','_revisionService','yellow.400','getColorFromTheme','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_getSheetObject','setParam','_docSkeletonManagerService','_getSessionTicket','collabCursorState$','toString','getRelativeToViewportCoord','unshift','cursorInfo$','findNodePositionByCharIndex','isActive','collabStatus.fetchMiss','RemoveColCommandId','_updateCollabCursors','_toggleOnline','935337WNjmOf','YUUMI_ALL_TABLES_IS_INVALID','_transformPreviousActiveRange','invokeId','_lastPointer','executeCommand','_range','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabCursors$','getTypeOfUnitDisposed$','_uiPartsService','_id','save','_renderManagerService','forEach','getRangePointData','_eventUnsubscribe','loadUnit','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_doCreateSocket','getActiveSheet','NOT_FOUND','fillRule','_initStatusListener','result','drawWith','onStarting','0\x200\x2017\x2016','_logService','WECHAT_HAS_BEEN_BOUND','override','off-line-icon_clip0_910_343','_entities','/run/','univerjs-icon\x20univerjs-icon-','pushState','VIEW_MAIN','_hover','getUnitId','AWAITING','width','_collaborationController','sessionStatus$','addClipboardHook','source','jiqing.500','collaboration-client-ui.config','_scheduleHeartbeat','collabStatus.syncing','mask','_httpService','dispose','onRendered','random','icon','collabStatus.offline','loadOfflineData','addEventListener','7WMdrXr','transformSelections','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','has','ONLINE','1em','memberID','_localCacheService','setUndoRedoMutationParamsCache','TEXT','getTypeOfUnitAdded$','subscribeEvent','_dataLoaderService','cursorInfo','translate(.97)','subunit','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_DOC','currentColor','2034064NzWbGH','dispose$','beginPath','startRow','_saveTaskMap','trim','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleClearOtherTimer','ranges','MUTATION','CONNECTOR_DATA_TOO_LARGE','next','onPointerMove$','getUniverSheetInstance','m1Prime','_send','_onCursorDelete','getStateCache','_imageIoService','_hovered','LICENSE_EXPORT_SIZE_EXCEEDED','eventID','entries','_configService','getOwnPropertyDescriptor','getMergeData','_updateSubUnitFromURLParams','resize','error','getFocusedUnit','subscribe','_syncEditingCollabCursorService','getUnitStatus$','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','71650kHhypw','_urlService','red.300','_toggleOffline','redoState','_init','column','defIds','debug','SOCKET_FAILED','3572824xaxHqf','_collabSessionService','UPDATE_CURSOR','params','set','moveTo','newValue','defineProperty','_cursor','location','restore','map','LOGIN_FAILED','svg','_localeService','11188390OIpRns','INVALID_ARGUMENT','getDocRanges','APPLY_NON_SEQUENTIAL_REVISION','storage','getOwnPropertySymbols'];_0x4864=function(){return _0x471893;};return _0x4864();}var v=function(){const _0x33edc5=_0x962cf9;return v=Object[_0x33edc5(0x208)]||function(_0x956b8b){const _0xfa8401=_0x33edc5;for(var _0x5190ab,_0x145200=0x1,_0x3e15e4=arguments['length'];_0x145200<_0x3e15e4;_0x145200++){_0x5190ab=arguments[_0x145200];for(var _0x2dfdc9 in _0x5190ab)Object[_0xfa8401(0x286)][_0xfa8401(0x2c7)][_0xfa8401(0x27b)](_0x5190ab,_0x2dfdc9)&&(_0x956b8b[_0x2dfdc9]=_0x5190ab[_0x2dfdc9]);}return _0x956b8b;},v[_0x33edc5(0x24b)](this,arguments);},Bi=function(_0x53f2c,_0x9f1f2a){const _0x58dc09=_0x962cf9;var _0xdab1b={};for(var _0x57b31c in _0x53f2c)Object[_0x58dc09(0x286)][_0x58dc09(0x2c7)]['call'](_0x53f2c,_0x57b31c)&&_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c)<0x0&&(_0xdab1b[_0x57b31c]=_0x53f2c[_0x57b31c]);if(_0x53f2c!=null&&typeof Object[_0x58dc09(0x345)]==_0x58dc09(0x224)){for(var _0x40e325=0x0,_0x57b31c=Object[_0x58dc09(0x345)](_0x53f2c);_0x40e325<_0x57b31c[_0x58dc09(0x1fd)];_0x40e325++)_0x9f1f2a[_0x58dc09(0x3eb)](_0x57b31c[_0x40e325])<0x0&&Object[_0x58dc09(0x286)][_0x58dc09(0x291)][_0x58dc09(0x27b)](_0x53f2c,_0x57b31c[_0x40e325])&&(_0xdab1b[_0x57b31c[_0x40e325]]=_0x53f2c[_0x57b31c[_0x40e325]]);}return _0xdab1b;},Fe=_0x2f8ad9(function(_0x2a1e3f,_0xa32a61){const _0x4048b2=_0x962cf9;var _0x1c6622=_0x2a1e3f[_0x4048b2(0x2eb)],_0x1094ff=_0x2a1e3f['id'],_0x2f6323=_0x2a1e3f[_0x4048b2(0x21b)],_0x54b8ec=_0x2a1e3f[_0x4048b2(0x3f7)],_0x418329=Bi(_0x2a1e3f,[_0x4048b2(0x2eb),'id',_0x4048b2(0x21b),_0x4048b2(0x3f7)]),_0x52d904=_0x4048b2(0x2d7)['concat'](_0x1094ff,'\x20')['concat'](_0x2f6323||'')[_0x4048b2(0x308)](),_0x4a79c3=_0x30aa5e('_'[_0x4048b2(0x268)](Fi()));return Dt(_0x1c6622,''[_0x4048b2(0x268)](_0x1094ff),{'defIds':_0x1c6622['defIds'],'idSuffix':_0x4a79c3[_0x4048b2(0x394)]},v({'ref':_0xa32a61,'className':_0x52d904},_0x418329),_0x54b8ec);});function Dt(_0x5ee006,_0x238e3e,_0x2f9212,_0x4b7b53,_0x238221){const _0xf0671e=_0x962cf9;return _0x5d95a3(_0x5ee006[_0xf0671e(0x3d7)],v(v({'key':_0x238e3e},ki(_0x5ee006,_0x2f9212,_0x238221)),_0x4b7b53),(Hi(_0x5ee006,_0x2f9212)[_0xf0671e(0x376)]||[])[_0xf0671e(0x33c)](function(_0x34284e,_0x4d00e7){const _0x536881=_0xf0671e;return Dt(_0x34284e,''[_0x536881(0x268)](_0x238e3e,'-')['concat'](_0x5ee006['tag'],'-')['concat'](_0x4d00e7),_0x2f9212,void 0x0,_0x238221);}));}function ki(_0xf0e539,_0x25e2f5,_0xd2d395){const _0x288f70=_0x962cf9;var _0x289ba3=v({},_0xf0e539['attrs']);_0xd2d395!=null&&_0xd2d395[_0x288f70(0x357)]&&_0x289ba3[_0x288f70(0x375)]===_0x288f70(0x357)&&(_0x289ba3['fill']=_0xd2d395[_0x288f70(0x357)]),_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x2e6)&&_0x289ba3['id']&&(_0x289ba3['id']=_0x289ba3['id']+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x4ae410){const _0x4d4851=_0x288f70;var _0x10c827=_0x4ae410[0x0],_0x4307e4=_0x4ae410[0x1];_0x10c827===_0x4d4851(0x2e6)&&typeof _0x4307e4=='string'&&(_0x289ba3[_0x10c827]=_0x4307e4['replace'](/url\(#(.*)\)/,_0x4d4851(0x383)[_0x4d4851(0x268)](_0x25e2f5[_0x4d4851(0x3ad)],')')));});var _0x22d9df=_0x25e2f5[_0x288f70(0x32e)];return!_0x22d9df||_0x22d9df[_0x288f70(0x1fd)]===0x0||(_0xf0e539[_0x288f70(0x3d7)]===_0x288f70(0x23d)&&_0x289ba3[_0x288f70(0x220)]&&(_0x289ba3[_0x288f70(0x220)]=_0x289ba3[_0x288f70(0x220)]+_0x25e2f5[_0x288f70(0x3ad)]),Object[_0x288f70(0x319)](_0x289ba3)[_0x288f70(0x2c1)](function(_0x5abcf3){const _0x247faa=_0x288f70;var _0x417615=_0x5abcf3[0x0],_0x12369d=_0x5abcf3[0x1];typeof _0x12369d==_0x247faa(0x377)&&(_0x289ba3[_0x417615]=_0x12369d[_0x247faa(0x3e6)](/url\(#(.*)\)/,_0x247faa(0x383)[_0x247faa(0x268)](_0x25e2f5['idSuffix'],')')));})),_0x289ba3;}function Hi(_0x37b3d1,_0x30fc10){const _0x40ebab=_0x962cf9;var _0x122e0d,_0x1da0f9=_0x30fc10[_0x40ebab(0x32e)];return!_0x1da0f9||_0x1da0f9['length']===0x0?_0x37b3d1:_0x37b3d1[_0x40ebab(0x3d7)]===_0x40ebab(0x21a)&&(!((_0x122e0d=_0x37b3d1[_0x40ebab(0x376)])===null||_0x122e0d===void 0x0)&&_0x122e0d['length'])?v(v({},_0x37b3d1),{'children':_0x37b3d1[_0x40ebab(0x376)]['map'](function(_0x4a7062){const _0x137cda=_0x40ebab;return typeof _0x4a7062['attrs']['id']==_0x137cda(0x377)&&_0x1da0f9&&_0x1da0f9[_0x137cda(0x3c4)](_0x4a7062['attrs']['id'])?v(v({},_0x4a7062),{'attrs':v(v({},_0x4a7062[_0x137cda(0x23f)]),{'id':_0x4a7062[_0x137cda(0x23f)]['id']+_0x30fc10['idSuffix']})}):_0x4a7062;})}):_0x37b3d1;}function Fi(){const _0x375c07=_0x962cf9;return Math[_0x375c07(0x2ea)]()[_0x375c07(0x2a9)](0x24)[_0x375c07(0x3c6)](0x2,0x8);}Fe[_0x962cf9(0x246)]=_0x962cf9(0x3e4);var Yi={'tag':_0x962cf9(0x33e),'attrs':{'xmlns':_0x962cf9(0x231),'fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x372),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':'currentColor','d':_0x962cf9(0x3f6),'strokeLinecap':_0x962cf9(0x234),'strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x2d4)},'children':[{'tag':'path','attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb)}}]}]}],'defIds':[_0x962cf9(0x2d4)]},Nt=_0x2f8ad9(function(_0x330a2f,_0x4de598){const _0x4d5c77=_0x962cf9;return _0x5d95a3(Fe,Object[_0x4d5c77(0x208)]({},_0x330a2f,{'id':_0x4d5c77(0x1e3),'ref':_0x4de598,'icon':Yi}));});Nt[_0x962cf9(0x246)]=_0x962cf9(0x39a);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x962cf9(0x380),'viewBox':_0x962cf9(0x2d0),'width':_0x962cf9(0x2f5),'height':_0x962cf9(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'stroke':_0x962cf9(0x302),'d':_0x962cf9(0x363),'strokeLinecap':'round','strokeLinejoin':_0x962cf9(0x234),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x962cf9(0x3e5),'attrs':{'id':_0x962cf9(0x3ec)},'children':[{'tag':_0x962cf9(0x37f),'attrs':{'fill':_0x962cf9(0x3b7),'d':_0x962cf9(0x3cb),'transform':_0x962cf9(0x2fe)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0x2f8ad9(function(_0x4083ad,_0x3b25c6){const _0x2bf021=_0x962cf9;return _0x5d95a3(Fe,Object[_0x2bf021(0x208)]({},_0x4083ad,{'id':'on-line-icon','ref':_0x3b25c6,'icon':ji}));});Ut[_0x962cf9(0x246)]=_0x962cf9(0x3c2);function Vi(_0x5c8575){const _0x58fd7e=_0x962cf9;switch(_0x5c8575){case _0x6cb9cb[_0x58fd7e(0x1e7)]:return _0x58fd7e(0x2ec);case _0x6cb9cb[_0x58fd7e(0x1f7)]:return _0x58fd7e(0x273);case _0x6cb9cb['FETCH_MISS']:return _0x58fd7e(0x2af);case _0x6cb9cb[_0x58fd7e(0x239)]:return'collabStatus.notCollab';case _0x6cb9cb[_0x58fd7e(0x2dc)]:case _0x6cb9cb[_0x58fd7e(0x353)]:return _0x58fd7e(0x2e5);case _0x6cb9cb[_0x58fd7e(0x36a)]:case _0x6cb9cb[_0x58fd7e(0x3ba)]:return _0x58fd7e(0x374);}}function Wi(_0x17da27){const _0x340f97=_0x962cf9,{status$:_0x30bf26}=_0x17da27,_0xf782eb=_0x596b18(_0x30bf26,_0x6cb9cb['NOT_COLLAB']),_0x31a5a3=_0x484074(_0x430f5d),_0x277ffe=_0x484074(_0x193bf2),_0x2967cf=_0xf782eb!==_0x6cb9cb['OFFLINE'],_0x5c614e=_0x31a5a3['t'](Vi(_0xf782eb)),_0x4c1f9a=_0x2967cf?_0x535b0f(Ut,{}):_0x535b0f(Nt,{}),_0x56a8c7=_0x4728c0(()=>{const _0x4da470=_0x188b;_0x2967cf||_0x277ffe[_0x4da470(0x289)]();},[_0x2967cf,_0x277ffe]);function _0x415ed3(){const _0x706bcd=_0x188b;return _0xb613cd(_0x706bcd(0x392),{'className':'univer-flex\x20univer-items-center','onClick':_0x56a8c7,'children':[_0x535b0f(_0x706bcd(0x392),{'className':_0x46edce('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2967cf,'univer-text-red-500':!_0x2967cf}),'children':_0x4c1f9a}),_0x535b0f(_0x706bcd(0x392),{'className':_0x706bcd(0x3e3),'children':_0x5c614e})]});}return _0x2967cf?_0x415ed3():_0x535b0f(_0x154e34,{'title':_0x31a5a3['t'](_0x340f97(0x360)),'children':_0x415ed3()});}var Xi=Object[_0x962cf9(0x31b)],Gi=(_0x2436fa,_0x5c07e5,_0x1b096e,_0x918ae5)=>{const _0x303b83=_0x962cf9;for(var _0x5f28f4=_0x918ae5>0x1?void 0x0:_0x918ae5?Xi(_0x5c07e5,_0x1b096e):_0x5c07e5,_0x111d74=_0x2436fa[_0x303b83(0x1fd)]-0x1,_0x4916b1;_0x111d74>=0x0;_0x111d74--)(_0x4916b1=_0x2436fa[_0x111d74])&&(_0x5f28f4=_0x4916b1(_0x5f28f4)||_0x5f28f4);return _0x5f28f4;},ee=(_0x2eca27,_0x27a714)=>(_0x290993,_0x41e163)=>_0x27a714(_0x290993,_0x41e163,_0x2eca27);let se=class extends _0x28d182{constructor(_0x2a02fb,_0x362110,_0x12ec23,_0x58fa0f){const _0x541141=_0x962cf9;super(),_(this,_0x541141(0x395),new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x541141(0x221)]=_0x2a02fb,this[_0x541141(0x35e)]=_0x362110,this[_0x541141(0x2de)]=_0x12ec23,this[_0x541141(0x2bd)]=_0x58fa0f,this[_0x541141(0x36f)](),this[_0x541141(0x2cc)]());}[_0x962cf9(0x2cc)](){const _0x337f95=_0x962cf9;this[_0x337f95(0x36c)](this[_0x337f95(0x221)][_0x337f95(0x1fe)]['pipe'](_0x2f8d76(()=>{const _0x4ee88f=_0x337f95,_0xf6b842=this[_0x4ee88f(0x221)][_0x4ee88f(0x320)]();return _0xf6b842?this[_0x4ee88f(0x2de)][_0x4ee88f(0x3f3)](_0xf6b842[_0x4ee88f(0x2db)]()):_0x4d0da8(null);}),_0x2f8d76(_0x3a22a0=>_0x3a22a0?_0x3a22a0['status$']:_0x4d0da8(_0x6cb9cb[_0x337f95(0x239)])))[_0x337f95(0x321)](_0x5dfc57=>{const _0x10e6da=_0x337f95;this[_0x10e6da(0x395)][_0x10e6da(0x30e)](_0x5dfc57);}));}[_0x962cf9(0x36f)](){const _0x494590=_0x962cf9;this['disposeWithMe'](this['_uiPartsService'][_0x494590(0x399)](_0xdbd323[_0x494590(0x287)],()=>_0x50120e(Ki({'status$':this[_0x494590(0x395)][_0x494590(0x3d2)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x163e05),ee(0x1,_0xcb25a3(_0x266e02)),ee(0x2,_0xcb25a3(_0x305548)),ee(0x3,_0x30a935)],se);function Ki(_0x43962d){const {status$:_0x498c57}=_0x43962d;return function(){return _0x535b0f(Wi,{'status$':_0x498c57});};}var zi=Object[_0x962cf9(0x31b)],Ji=(_0x59880c,_0x423274,_0x38e03e,_0x60e6f7)=>{const _0x4f18fb=_0x962cf9;for(var _0x225e0c=_0x60e6f7>0x1?void 0x0:_0x60e6f7?zi(_0x423274,_0x38e03e):_0x423274,_0x751428=_0x59880c[_0x4f18fb(0x1fd)]-0x1,_0x4706cc;_0x751428>=0x0;_0x751428--)(_0x4706cc=_0x59880c[_0x751428])&&(_0x225e0c=_0x4706cc(_0x225e0c)||_0x225e0c);return _0x225e0c;},B=(_0x3c90b6,_0x52be76)=>(_0x533b8e,_0x49f2ef)=>_0x52be76(_0x533b8e,_0x49f2ef,_0x3c90b6);let ie=class extends _0x28d182{constructor(_0xed2d43,_0x4ebd52,_0x187e73,_0x3ad98f,_0x59cbf4,_0x5317c1){const _0x380c49=_0x962cf9;super(),this[_0x380c49(0x368)]=_0xed2d43,this[_0x380c49(0x2f7)]=_0x4ebd52,this['_collaborationUIEventService']=_0x187e73,this[_0x380c49(0x265)]=_0x3ad98f,this[_0x380c49(0x201)]=_0x59cbf4,this[_0x380c49(0x33f)]=_0x5317c1,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x962cf9(0x2a3)](){const _0x30e60b=_0x962cf9;this[_0x30e60b(0x36c)](this[_0x30e60b(0x368)]['registerBeforeClose'](()=>{const _0x1c7aa2=_0x30e60b;if(this[_0x1c7aa2(0x2f7)][_0x1c7aa2(0x3ac)][_0x1c7aa2(0x3de)])return this[_0x1c7aa2(0x33f)]['t'](_0x1c7aa2(0x28a));}));}[_0x962cf9(0x371)](){const _0x1e6e36=_0x962cf9;this[_0x1e6e36(0x36c)](this[_0x1e6e36(0x354)][_0x1e6e36(0x37b)][_0x1e6e36(0x321)](_0x516567=>{const _0x3200dd=_0x1e6e36;_0x516567['id']===_0x57b00b[_0x3200dd(0x3bc)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2['Warning'],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x267))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x222)]&&this['_messageService'][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x38a))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3e9)]&&this[_0x3200dd(0x201)][_0x3200dd(0x3d9)]({'title':this[_0x3200dd(0x33f)]['t']('permission.title'),'content':this[_0x3200dd(0x33f)]['t']('permission.content'),'type':_0x3200dd(0x31f),'duration':0x0}),_0x516567['id']===_0x57b00b[_0x3200dd(0x1f7)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x516567['data']+')'}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3f5)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t'](_0x516567[_0x3200dd(0x228)]||'')}),_0x516567['id']===_0x57b00b['SOCKET_FAILED_RETRY']&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x21d)],'content':this[_0x3200dd(0x33f)]['t']('session.will-retry')}),_0x516567['id']===_0x57b00b[_0x3200dd(0x330)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this[_0x3200dd(0x33f)]['t'](_0x3200dd(0x3cc))}),_0x516567['id']===_0x57b00b[_0x3200dd(0x3ce)]&&this[_0x3200dd(0x265)][_0x3200dd(0x3d9)]({'type':_0x389fd2[_0x3200dd(0x238)],'content':this['_localeService']['t'](_0x3200dd(0x26a))});}));}};ie=Ji([B(0x0,_0x177a2b),B(0x1,_0x2c845a),B(0x2,_0xcb25a3(_0x2eac54)),B(0x3,_0x163a37),B(0x4,_0x22f31f),B(0x5,_0xcb25a3(_0x430f5d))],ie);const Zi=_0x962cf9(0x2e3),et={},Mt=_0x21c8fa(_0x962cf9(0x28f));var Qi=Object[_0x962cf9(0x31b)],qi=(_0x2194e9,_0x49af15,_0x58bfd8,_0x45cae5)=>{const _0xd6e83b=_0x962cf9;for(var _0x27615d=_0x45cae5>0x1?void 0x0:_0x45cae5?Qi(_0x49af15,_0x58bfd8):_0x49af15,_0x592571=_0x2194e9[_0xd6e83b(0x1fd)]-0x1,_0x38910c;_0x592571>=0x0;_0x592571--)(_0x38910c=_0x2194e9[_0x592571])&&(_0x27615d=_0x38910c(_0x27615d)||_0x27615d);return _0x27615d;},K=(_0x416541,_0x3c74d9)=>(_0x39413a,_0x450ac5)=>_0x3c74d9(_0x39413a,_0x450ac5,_0x416541);let ne=class extends _0x18aeae{constructor(_0x3d1f03,_0x5ef7cd,_0x458a12,_0x3481f8,_0x2064a8){const _0x3d343f=_0x962cf9;super(),this[_0x3d343f(0x328)]=_0x3d1f03,this['_logService']=_0x5ef7cd,this['_commandService']=_0x458a12,this[_0x3d343f(0x2fc)]=_0x3481f8,_0x2064a8?_0x2064a8==null||_0x2064a8[_0x3d343f(0x277)]()[_0x3d343f(0x37d)](()=>this[_0x3d343f(0x32c)]()):(this[_0x3d343f(0x2d1)][_0x3d343f(0x32f)](_0x3d343f(0x1f5),_0x3d343f(0x279)),this['_init']());}async['_init'](){const _0x2cb91d=_0x962cf9,_0x57ac5b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)]('unit'),_0x987c7b=this[_0x2cb91d(0x328)][_0x2cb91d(0x245)](_0x2cb91d(0x259)),_0x40ff50=this['_urlService'][_0x2cb91d(0x245)](_0x2cb91d(0x2ff));if(!_0x57ac5b||!_0x987c7b){this[_0x2cb91d(0x2d1)]['debug']('[CollaborationDataLoaderController]',_0x2cb91d(0x355));return;}const _0x4599f7=await this['_dataLoaderService'][_0x2cb91d(0x2c4)](_0x57ac5b,Number(_0x987c7b),_0x40ff50);_0x4599f7&&_0x4599f7 instanceof _0x1b3c74&&this[_0x2cb91d(0x361)](_0x4599f7);}async[_0x962cf9(0x361)](_0x5be2e5){const _0x361634=_0x962cf9;await this[_0x361634(0x31d)](_0x5be2e5),_0x5be2e5[_0x361634(0x3a0)][_0x361634(0x3c5)](_0x1bd82a(this['dispose$']))[_0x361634(0x321)](_0x1c609a=>{const _0x449bc0=_0x361634;_0x1c609a&&this[_0x449bc0(0x1e4)](_0x1c609a);}),this[_0x361634(0x328)][_0x361634(0x35d)][_0x361634(0x3c5)](_0x1bd82a(this[_0x361634(0x304)]))[_0x361634(0x321)](()=>this[_0x361634(0x31d)](_0x5be2e5));}['_updateURLWithCurrentState'](_0x5c31f2,_0x11962d=!0x1){const _0x4a635a=_0x962cf9,_0x3df2c3=this[_0x4a635a(0x328)][_0x4a635a(0x245)]('subunit');_0x5c31f2[_0x4a635a(0x1f6)]()!==_0x3df2c3&&this[_0x4a635a(0x328)][_0x4a635a(0x2a5)]('subunit',_0x5c31f2[_0x4a635a(0x1f6)](),_0x11962d);}async[_0x962cf9(0x31d)](_0xdef513){const _0x10d495=_0x962cf9;var _0x57e74d;const _0x1fde7b=this[_0x10d495(0x328)][_0x10d495(0x245)](_0x10d495(0x2ff));if(!_0x1fde7b||!_0xdef513[_0x10d495(0x24d)](_0x1fde7b)){const _0x5692da=_0xdef513[_0x10d495(0x397)]()[0x0],_0xc70e60=_0xdef513[_0x10d495(0x24d)](_0x5692da);if(!_0xc70e60)return;this[_0x10d495(0x1e4)](_0xc70e60,!0x0),await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x5692da});return;}((_0x57e74d=_0xdef513[_0x10d495(0x2c9)]())==null?void 0x0:_0x57e74d['getSheetId']())!==_0x1fde7b&&await this[_0x10d495(0x3af)][_0x10d495(0x2b8)](_0x4b7744['id'],{'unitId':_0xdef513[_0x10d495(0x2db)](),'subUnitId':_0x1fde7b});}};ne=qi([K(0x0,Mt),K(0x1,_0x4b5f06),K(0x2,_0xfb0aa9),K(0x3,_0xcb25a3(_0x46019f)),K(0x4,_0x308ac6(_0x12a8e4))],ne);var en=Object[_0x962cf9(0x31b)],tn=(_0x85d72e,_0x5c25d7,_0x4f59d3,_0x4b2e4e)=>{const _0x27e3c1=_0x962cf9;for(var _0x1eab1d=_0x4b2e4e>0x1?void 0x0:_0x4b2e4e?en(_0x5c25d7,_0x4f59d3):_0x5c25d7,_0x20d79d=_0x85d72e[_0x27e3c1(0x1fd)]-0x1,_0x2ab7c0;_0x20d79d>=0x0;_0x20d79d--)(_0x2ab7c0=_0x85d72e[_0x20d79d])&&(_0x1eab1d=_0x2ab7c0(_0x1eab1d)||_0x1eab1d);return _0x1eab1d;},tt=(_0x4cf0a8,_0x2ab8ae)=>(_0x239071,_0x5e9338)=>_0x2ab8ae(_0x239071,_0x5e9338,_0x4cf0a8);let re=class{constructor(_0x3ee68d,_0x121d0d){const _0x332b81=_0x962cf9;this[_0x332b81(0x25b)]=_0x3ee68d,this[_0x332b81(0x2c0)]=_0x121d0d;}[_0x962cf9(0x365)](_0x182b1f){const _0x378528=_0x962cf9;this[_0x378528(0x3d4)](_0x182b1f),this[_0x378528(0x2b5)](_0x182b1f);}[_0x962cf9(0x3cf)](_0x205233){const _0x3aab00=_0x962cf9,{unitID:_0x5e409d}=_0x205233,_0x520c52=this[_0x3aab00(0x2c0)][_0x3aab00(0x22b)](_0x5e409d)['with'](_0x59b75e),{redoCache:_0x38d9a6}=_0x520c52[_0x3aab00(0x203)]();if(_0x38d9a6[_0x3aab00(0x1fd)]===0x0)return _0x205233;let _0x48f689=_0x59a4e3['deepClone'](_0x205233[_0x3aab00(0x292)][0x0]);for(let _0x591ceb=0x0;_0x591ceb<_0x38d9a6[_0x3aab00(0x1fd)];_0x591ceb++){const _0x3166f6={'id':_0x3aab00(0x25a),'params':{..._0x38d9a6[_0x591ceb]}},_0x402307=this['_transformService'][_0x3aab00(0x1f9)](_0x48f689,_0x3166f6,!0x1);if(_0x4c0423(_0x402307))throw _0x402307[_0x3aab00(0x31f)];_0x48f689=_0x402307[_0x3aab00(0x311)];}return{..._0x59a4e3[_0x3aab00(0x370)](_0x205233),'mutations':[_0x48f689]};}[_0x962cf9(0x3d4)](_0x6ea12d){const _0x4d1225=_0x962cf9,{unitID:_0x2a722a}=_0x6ea12d,_0x19c9b3=this[_0x4d1225(0x2c0)][_0x4d1225(0x22b)](_0x2a722a)[_0x4d1225(0x1e6)](_0x59b75e),{undoCache:_0x3ad5e7,redoCache:_0x10560f}=_0x19c9b3[_0x4d1225(0x203)]();if(_0x3ad5e7[_0x4d1225(0x1fd)]===0x0||_0x10560f[_0x4d1225(0x1fd)]===0x0)return;const _0x3e191e=[],_0x282653=[];let _0x3efbd4=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]),_0x45d436=_0x59a4e3[_0x4d1225(0x370)](_0x6ea12d[_0x4d1225(0x292)][0x0]);for(let _0x18c1c0=_0x3ad5e7[_0x4d1225(0x1fd)]-0x1;_0x18c1c0>=0x0;_0x18c1c0--){const _0x3b17c1={'id':'doc.mutation.rich-text-editing','params':{..._0x3ad5e7[_0x18c1c0]}},_0x29b8c5={'id':_0x4d1225(0x25a),'params':{..._0x10560f[_0x18c1c0]}},_0x1a80fe=this['_transformService'][_0x4d1225(0x1f9)](_0x3efbd4,_0x3b17c1,!0x1),_0x7a84af=this[_0x4d1225(0x25b)][_0x4d1225(0x1f9)](_0x45d436,_0x29b8c5,!0x1);if(_0x4c0423(_0x1a80fe))throw _0x1a80fe[_0x4d1225(0x31f)];if(_0x4c0423(_0x7a84af))throw _0x7a84af[_0x4d1225(0x31f)];_0x3e191e[_0x4d1225(0x2ab)](_0x1a80fe['m2Prime'][_0x4d1225(0x334)]),_0x282653[_0x4d1225(0x2ab)](_0x7a84af[_0x4d1225(0x351)][_0x4d1225(0x334)]),_0x3efbd4=_0x1a80fe[_0x4d1225(0x311)],_0x45d436=_0x7a84af[_0x4d1225(0x311)];}_0x19c9b3[_0x4d1225(0x2f8)]({'undoCache':_0x3e191e,'redoCache':_0x282653});}['_transformPreviousActiveRange'](_0x20c76c){const _0x2fd7a6=_0x962cf9,{unitID:_0x3c9c78}=_0x20c76c,_0x41341d=this[_0x2fd7a6(0x2c0)][_0x2fd7a6(0x22b)](_0x3c9c78)['with'](_0x59b75e),_0x457b39=_0x41341d[_0x2fd7a6(0x248)]();if(_0x457b39==null)return;const _0x467cbb=[{'id':_0x2fd7a6(0x25a),'params':{'unitId':_0x20c76c[_0x2fd7a6(0x295)],'actions':null,'textRanges':[_0x457b39]}}],_0x1173db=this['_transformService']['transformMutationsWithChangeset'](_0x20c76c,_0x467cbb);if(!_0x3cbbdb(_0x1173db))throw _0x1173db['error'];const _0x546871=_0x1173db[_0x2fd7a6(0x351)][0x0][_0x2fd7a6(0x334)][_0x2fd7a6(0x369)];Array[_0x2fd7a6(0x219)](_0x546871)&&_0x546871['length']&&_0x41341d[_0x2fd7a6(0x3ab)](_0x546871[0x0]);}};re=tn([tt(0x0,_0x4a79a0),tt(0x1,_0x288115)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2f1ae8,_0x649e83,_0x2cd02a,_0x56636a)=>{const _0x71cca9=_0x962cf9;for(var _0x43b38f=_0x56636a>0x1?void 0x0:_0x56636a?sn(_0x649e83,_0x2cd02a):_0x649e83,_0xd1395b=_0x2f1ae8[_0x71cca9(0x1fd)]-0x1,_0x3f782c;_0xd1395b>=0x0;_0xd1395b--)(_0x3f782c=_0x2f1ae8[_0xd1395b])&&(_0x43b38f=_0x3f782c(_0x43b38f)||_0x43b38f);return _0x43b38f;},Ce=(_0xcb313d,_0x11637c)=>(_0x15edf0,_0x305f9f)=>_0x11637c(_0x15edf0,_0x305f9f,_0xcb313d);let oe=class{constructor(_0x1d0830,_0x24de98,_0x5ccfae){const _0x52328b=_0x962cf9;this[_0x52328b(0x35e)]=_0x1d0830,this[_0x52328b(0x25b)]=_0x24de98,this[_0x52328b(0x215)]=_0x5ccfae;}['transformStateCache'](_0x2bde5a){const _0x5207f5=_0x962cf9;this[_0x5207f5(0x364)](_0x2bde5a);}[_0x962cf9(0x3cf)](_0x260194){const _0x4d999b=_0x962cf9,{unitID:_0xfa5094}=_0x260194,{collaboration:_0x22faba}=this['_docStateChangeManagerService'][_0x4d999b(0x314)](_0xfa5094);if(_0x22faba[_0x4d999b(0x1fd)]===0x0)return _0x260194;let _0x54c3ee=_0x59a4e3[_0x4d999b(0x370)](_0x260194[_0x4d999b(0x292)][0x0]);for(let _0x17c27c=0x0;_0x17c27c<_0x22faba[_0x4d999b(0x1fd)];_0x17c27c++){const _0xb0e5b3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22faba[_0x17c27c][_0x4d999b(0x3bf)],..._0x22faba[_0x17c27c][_0x4d999b(0x32b)]}},_0x18a0fc=this[_0x4d999b(0x25b)][_0x4d999b(0x1f9)](_0x54c3ee,_0xb0e5b3,!0x1);if(_0x4c0423(_0x18a0fc))throw _0x18a0fc[_0x4d999b(0x31f)];_0x54c3ee=_0x18a0fc['m1Prime'];}return{..._0x59a4e3['deepClone'](_0x260194),'mutations':[_0x54c3ee]};}['_transformHistoryAndStateStack'](_0x587f7a){const _0x50bf2a=_0x962cf9,{unitID:_0x47bfcd}=_0x587f7a,{history:_0x3fe14f,collaboration:_0x29b59b}=this['_docStateChangeManagerService'][_0x50bf2a(0x314)](_0x47bfcd);if(_0x3fe14f[_0x50bf2a(0x1fd)]===0x0&&_0x29b59b[_0x50bf2a(0x1fd)]===0x0)return;const _0x508f11=[],_0x52e3f0=[];let _0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a['mutations'][0x0]);for(let _0x3c5d99=_0x3fe14f[_0x50bf2a(0x1fd)]-0x1;_0x3c5d99>=0x0;_0x3c5d99--){const _0x3cfe2c={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x3fe14f[_0x3c5d99]['unitId'],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x34e)]}},_0x19c42e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fe14f[_0x3c5d99][_0x50bf2a(0x3bf)],..._0x3fe14f[_0x3c5d99][_0x50bf2a(0x32b)]}},_0x53ecc2=this['_transformService'][_0x50bf2a(0x1f9)](_0x294e33,_0x3cfe2c,!0x1),_0x125a53=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x19c42e,!0x1);if(_0x4c0423(_0x53ecc2))throw _0x53ecc2[_0x50bf2a(0x31f)];if(_0x4c0423(_0x125a53))throw _0x125a53[_0x50bf2a(0x31f)];_0x508f11[_0x50bf2a(0x2ab)]({..._0x3fe14f[_0x3c5d99],'undoState':_0x53ecc2[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x125a53[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x53ecc2[_0x50bf2a(0x311)],_0x2a9eb8=_0x125a53['m1Prime'];}_0x294e33=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]),_0x2a9eb8=_0x59a4e3[_0x50bf2a(0x370)](_0x587f7a[_0x50bf2a(0x292)][0x0]);for(let _0x8b2beb=_0x29b59b[_0x50bf2a(0x1fd)]-0x1;_0x8b2beb>=0x0;_0x8b2beb--){const _0x513c80={'id':_0x50bf2a(0x25a),'params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['undoState']}},_0x287efd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29b59b[_0x8b2beb][_0x50bf2a(0x3bf)],..._0x29b59b[_0x8b2beb]['redoState']}},_0x54b735=this[_0x50bf2a(0x25b)][_0x50bf2a(0x1f9)](_0x294e33,_0x513c80,!0x1),_0x141fea=this['_transformService'][_0x50bf2a(0x1f9)](_0x2a9eb8,_0x287efd,!0x1);if(_0x4c0423(_0x54b735))throw _0x54b735[_0x50bf2a(0x31f)];if(_0x4c0423(_0x141fea))throw _0x141fea[_0x50bf2a(0x31f)];_0x52e3f0[_0x50bf2a(0x2ab)]({..._0x29b59b[_0x8b2beb],'undoState':_0x54b735[_0x50bf2a(0x351)][_0x50bf2a(0x334)],'redoState':_0x141fea[_0x50bf2a(0x351)][_0x50bf2a(0x334)]}),_0x294e33=_0x54b735['m1Prime'],_0x2a9eb8=_0x141fea['m1Prime'];}this['_docStateChangeManagerService'][_0x50bf2a(0x247)](_0x47bfcd,{'history':_0x508f11,'collaboration':_0x52e3f0});}};oe=nn([Ce(0x0,_0xcb25a3(_0x266e02)),Ce(0x1,_0x4a79a0),Ce(0x2,_0xcb25a3(_0x717295))],oe);var rn=Object[_0x962cf9(0x31b)],on=(_0x2a98a9,_0x43cd3c,_0x530188,_0x1b2643)=>{for(var _0xc98d2c=_0x1b2643>0x1?void 0x0:_0x1b2643?rn(_0x43cd3c,_0x530188):_0x43cd3c,_0x5e2b33=_0x2a98a9['length']-0x1,_0x364168;_0x5e2b33>=0x0;_0x5e2b33--)(_0x364168=_0x2a98a9[_0x5e2b33])&&(_0xc98d2c=_0x364168(_0xc98d2c)||_0xc98d2c);return _0xc98d2c;},st=(_0x142b5b,_0x299cde)=>(_0x3e5752,_0x9fd99b)=>_0x299cde(_0x3e5752,_0x9fd99b,_0x142b5b);let ae=class{constructor(_0x53b13c,_0x11649b){this['_injector']=_0x53b13c,this['_transformService']=_0x11649b;}[_0x962cf9(0x2f0)](_0x4dd49b){const _0x592100=_0x962cf9;var _0x49b1d7;const _0x200f40=this[_0x592100(0x35e)][_0x592100(0x22d)](_0x3f746d),_0x433016=(_0x49b1d7=_0x200f40[_0x592100(0x342)]())!=null?_0x49b1d7:[];if(_0x433016[_0x592100(0x1fd)]===0x0)return;const _0x40d847=_0x4dd49b[_0x592100(0x295)],_0x1517c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d847,'actions':null,'textRanges':_0x433016}}],_0x51a6e0=this[_0x592100(0x25b)][_0x592100(0x1ee)](_0x4dd49b,_0x1517c9);if(!_0x3cbbdb(_0x51a6e0))throw _0x51a6e0[_0x592100(0x31f)];const _0x273921=_0x51a6e0['m2Prime'][0x0][_0x592100(0x334)][_0x592100(0x369)];Array[_0x592100(0x219)](_0x273921)&&_0x273921['length']&&_0x200f40[_0x592100(0x233)](_0x273921,{'unitId':_0x40d847,'subUnitId':_0x40d847},!0x1);}};ae=on([st(0x0,_0xcb25a3(_0x266e02)),st(0x1,_0x4a79a0)],ae);var an=Object[_0x962cf9(0x31b)],cn=(_0x12f033,_0x408c41,_0x24c965,_0x2fa3ba)=>{const _0x29c4f7=_0x962cf9;for(var _0x39b068=_0x2fa3ba>0x1?void 0x0:_0x2fa3ba?an(_0x408c41,_0x24c965):_0x408c41,_0x439b9f=_0x12f033[_0x29c4f7(0x1fd)]-0x1,_0x3040c7;_0x439b9f>=0x0;_0x439b9f--)(_0x3040c7=_0x12f033[_0x439b9f])&&(_0x39b068=_0x3040c7(_0x39b068)||_0x39b068);return _0x39b068;},N=(_0x471b06,_0x5e0abb)=>(_0x115e40,_0x23627b)=>_0x5e0abb(_0x115e40,_0x23627b,_0x471b06);let ce=class extends _0x28d182{constructor(_0x233a6f,_0x4f4d14,_0x4f2bb9,_0x125837,_0x1243f2,_0x256c36,_0x412ea3,_0x19d528){const _0x274421=_0x962cf9;super(),_(this,'_status$',new _0x1c5311(_0x6cb9cb['NOT_COLLAB'])),(this[_0x274421(0x215)]=_0x233a6f,this['_collaborationController']=_0x4f4d14,this[_0x274421(0x266)]=_0x4f2bb9,this['_docTransformStateCacheService']=_0x125837,this[_0x274421(0x20d)]=_0x1243f2,this[_0x274421(0x3a1)]=_0x256c36,this['_messageService']=_0x412ea3,this['_localeService']=_0x19d528,this[_0x274421(0x237)]());}[_0x962cf9(0x237)](){const _0xe8e2cd=_0x962cf9;this['disposeWithMe'](this[_0xe8e2cd(0x2de)][_0xe8e2cd(0x1ff)]['subscribe'](_0x6927a0=>{const _0x3912c2=_0xe8e2cd,_0x5815dd=this[_0x3912c2(0x215)][_0x3912c2(0x350)]['subscribe'](_0x276ab3=>{const _0x15d2db=_0x3912c2;if(_0x276ab3==null)return;const {unitId:_0x35b0ff,redoState:_0x411b79,commandId:_0xb8a38b}=_0x276ab3;if(_0x35b0ff!==_0x6927a0[_0x15d2db(0x295)])return;const _0x14cda2={'id':_0xb8a38b,'type':_0x1d3f18[_0x15d2db(0x30c)],'params':{'unitId':_0x35b0ff,'actions':_0x411b79[_0x15d2db(0x3df)],'textRanges':null}};_0x6927a0[_0x15d2db(0x3da)](_0x14cda2);});if(_0x6927a0['disposeWithMe'](_0x5815dd),_0x6927a0 instanceof _0x52bfbc){const _0x2f508b={'onTransformIME':_0x5e6724=>this[_0x3912c2(0x266)][_0x3912c2(0x365)](_0x5e6724),'onTransformState':_0x538ed5=>this[_0x3912c2(0x20c)]['transformStateCache'](_0x538ed5),'onTransformSelections':_0x49f6ec=>this[_0x3912c2(0x20d)][_0x3912c2(0x2f0)](_0x49f6ec),'onSyncEditingCollabCursor':_0x54c605=>this[_0x3912c2(0x3a1)][_0x3912c2(0x204)](_0x54c605),'onTransformRemoteChangesetByIMECache':_0x2dafaf=>this[_0x3912c2(0x266)]['transformRemoteChangeset'](_0x2dafaf),'onTransformRemoteChangesetByStateCache':_0x177293=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x177293)};_0x6927a0['addHandlerCallback'](_0x2f508b);}}));}};ce=cn([N(0x0,_0xcb25a3(_0x717295)),N(0x1,_0xcb25a3(_0x305548)),N(0x2,_0xcb25a3(re)),N(0x3,_0xcb25a3(oe)),N(0x4,_0xcb25a3(ae)),N(0x5,_0xcb25a3(He)),N(0x6,_0x163a37),N(0x7,_0xcb25a3(_0x430f5d))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x43e16e,_0x1bfe21,_0x415a28,_0x3923b7)=>{const _0xc94717=_0x962cf9;for(var _0x1c9ac6=_0x3923b7>0x1?void 0x0:_0x3923b7?ln(_0x1bfe21,_0x415a28):_0x1bfe21,_0x2c3bb2=_0x43e16e[_0xc94717(0x1fd)]-0x1,_0x22f885;_0x2c3bb2>=0x0;_0x2c3bb2--)(_0x22f885=_0x43e16e[_0x2c3bb2])&&(_0x1c9ac6=_0x22f885(_0x1c9ac6)||_0x1c9ac6);return _0x1c9ac6;},Ee=(_0x1ce913,_0x779a16)=>(_0x4baa2f,_0xa2e9dd)=>_0x779a16(_0x4baa2f,_0xa2e9dd,_0x1ce913);let we=class extends _0x28d182{constructor(_0xe93d42,_0xe9a965,_0x55b7fc){const _0x30c6ad=_0x962cf9;super(),_(this,_0x30c6ad(0x26f),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x30c6ad(0x270),!0x1),(this[_0x30c6ad(0x31a)]=_0xe93d42,this[_0x30c6ad(0x347)]=_0xe9a965,this[_0x30c6ad(0x29e)]=_0x55b7fc);}[_0x962cf9(0x28e)](){const _0x37d269=_0x962cf9;this[_0x37d269(0x270)]=!0x0;}['enableLocalCache'](){const _0x5bb752=_0x962cf9;this[_0x5bb752(0x270)]=!0x1;}get[_0x962cf9(0x3ac)](){return this['_saveTaskMap'];}[_0x962cf9(0x2e8)](){const _0x2b1baf=_0x962cf9;this[_0x2b1baf(0x261)]()[_0x2b1baf(0x37d)](()=>super[_0x2b1baf(0x2e8)]());}async[_0x962cf9(0x2ed)](_0x514333){const _0x112828=_0x962cf9;return this['_disabled']?null:this[_0x112828(0x347)]['getItem'](_0x2923f1(_0x514333));}async[_0x962cf9(0x211)](_0x53d30b,_0xb8ca96){const _0x231bfc=_0x962cf9;return!!this[_0x231bfc(0x347)][_0x231bfc(0x385)](_0x53d30b,_0xb8ca96);}[_0x962cf9(0x381)](_0x19a3c5,_0x148109,_0x42315f,_0x5aefa1){const _0x2106bf=_0x962cf9,_0x4cfdc8=this[_0x2106bf(0x29e)]['getCurrentRevOfUnit'](_0x19a3c5);this[_0x2106bf(0x26f)][_0x2106bf(0x335)](_0x19a3c5,{'unitID':_0x19a3c5,'type':_0x148109,'awaitingChangeset':_0x42315f,'mutations':_0x5aefa1,'rev':_0x4cfdc8}),this[_0x2106bf(0x307)][_0x2106bf(0x2f3)](_0x19a3c5)||this[_0x2106bf(0x236)](_0x19a3c5);}[_0x962cf9(0x236)](_0x14e740){const _0x240959=_0x962cf9,_0x5660a6=this[_0x240959(0x294)]();_0x5660a6===0x0?this[_0x240959(0x216)](_0x14e740):this[_0x240959(0x307)][_0x240959(0x335)](_0x14e740,setTimeout(()=>this['_saveCache'](_0x14e740),_0x5660a6));}[_0x962cf9(0x294)](){const _0x5acdf4=_0x962cf9;var _0x106139;return(_0x106139=this[_0x5acdf4(0x31a)][_0x5acdf4(0x3c7)](_0x3cc047))!=null?_0x106139:_0x645872;}[_0x962cf9(0x216)](_0x1c98c9){const _0x4fce06=_0x962cf9,_0x2dbf22=this[_0x4fce06(0x307)][_0x4fce06(0x22d)](_0x1c98c9);return _0x2dbf22!==void 0x0&&window['clearTimeout'](_0x2dbf22),this['_localStorageService'][_0x4fce06(0x385)](_0x2923f1(_0x1c98c9),this[_0x4fce06(0x26f)]['get'](_0x1c98c9))[_0x4fce06(0x37d)](()=>this[_0x4fce06(0x307)][_0x4fce06(0x260)](_0x1c98c9));}async[_0x962cf9(0x261)](){const _0x22515f=_0x962cf9,_0x26cdbf=[];this[_0x22515f(0x307)]['forEach']((_0x118fcf,_0x49d69e)=>{const _0x5ebe66=_0x22515f;window[_0x5ebe66(0x37c)](_0x118fcf),_0x26cdbf[_0x5ebe66(0x3d1)](this[_0x5ebe66(0x216)](_0x49d69e)['then'](()=>{const _0x4477ca=_0x5ebe66;this[_0x4477ca(0x307)][_0x4477ca(0x260)](_0x49d69e);}));}),await Promise[_0x22515f(0x36d)](_0x26cdbf);}};we=_n([Ee(0x0,_0x4befe5),Ee(0x1,_0x258cee),Ee(0x2,_0xcb25a3(_0x4035c3))],we);class hn extends _0x18aeae{constructor(){const _0x72c279=_0x962cf9;super(),_(this,_0x72c279(0x35d)),this['urlChange$']=_0x417bf8(window,'popstate')['pipe'](_0x1bd82a(this[_0x72c279(0x304)]),_0x2a4246(0x1),_0x122c39(void 0x0));}['setParam'](_0x3cc231,_0x227041,_0x328e24=!0x1){const _0x54c91c=_0x962cf9,_0x334b15=new URL(window[_0x54c91c(0x33a)][_0x54c91c(0x3d5)]);_0x334b15[_0x54c91c(0x367)][_0x54c91c(0x335)](_0x3cc231,_0x227041),_0x328e24?window[_0x54c91c(0x23e)][_0x54c91c(0x20e)]('','',_0x334b15[_0x54c91c(0x2a9)]()):window[_0x54c91c(0x23e)]['pushState']('','',_0x334b15['toString']());}[_0x962cf9(0x3dd)](_0x41927e,_0x22e1ae=!0x1){const _0x132989=_0x962cf9,_0x5db930=new URL(window[_0x132989(0x33a)][_0x132989(0x3d5)]);_0x5db930[_0x132989(0x367)][_0x132989(0x260)](_0x41927e),_0x22e1ae?window[_0x132989(0x23e)][_0x132989(0x20e)]('','',_0x5db930[_0x132989(0x2a9)]()):window[_0x132989(0x23e)][_0x132989(0x2d8)]('','',_0x5db930[_0x132989(0x2a9)]());}[_0x962cf9(0x245)](_0x2db46b){const _0x1ebed7=_0x962cf9;var _0x6f7a80;return(_0x6f7a80=new URL(window[_0x1ebed7(0x33a)]['href'])[_0x1ebed7(0x367)][_0x1ebed7(0x22d)](_0x2db46b))!=null?_0x6f7a80:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x962cf9(0x31b)],fn=(_0x1acfdd,_0x5556d6,_0x1d5e11)=>_0x5556d6 in _0x1acfdd?un(_0x1acfdd,_0x5556d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d5e11}):_0x1acfdd[_0x5556d6]=_0x1d5e11,Sn=(_0x116094,_0x398f47,_0xd39966,_0x220cf1)=>{for(var _0x3c43fb=_0x220cf1>0x1?void 0x0:_0x220cf1?dn(_0x398f47,_0xd39966):_0x398f47,_0x2c00ab=_0x116094['length']-0x1,_0x1e803d;_0x2c00ab>=0x0;_0x2c00ab--)(_0x1e803d=_0x116094[_0x2c00ab])&&(_0x3c43fb=_0x1e803d(_0x3c43fb)||_0x3c43fb);return _0x3c43fb;},Oe=(_0x101aff,_0xe01c9a)=>(_0x97a0e7,_0x3c218a)=>_0xe01c9a(_0x97a0e7,_0x3c218a,_0x101aff),mn=(_0x543027,_0x246078,_0x59e678)=>fn(_0x543027,_0x246078+'',_0x59e678);const In=_0x962cf9(0x384);let Ae=class extends _0x3a3a0d{constructor(_0x4049d8=et,_0x1baf49,_0x2de28d,_0x110658){const _0x14969c=_0x962cf9;super(),this[_0x14969c(0x232)]=_0x4049d8,this[_0x14969c(0x2c0)]=_0x1baf49,this[_0x14969c(0x35e)]=_0x2de28d,this[_0x14969c(0x31a)]=_0x110658;const {..._0x19eb74}=_0x2af056({},et,this[_0x14969c(0x232)]);this[_0x14969c(0x31a)][_0x14969c(0x1fb)](Zi,_0x19eb74);}[_0x962cf9(0x2cf)](){const _0x115f49=_0x962cf9;this[_0x115f49(0x253)](),this[_0x115f49(0x3a8)]();}[_0x962cf9(0x2e9)](){const _0x4279ed=_0x962cf9;this[_0x4279ed(0x290)]();}['_registerDependencies'](){const _0x5e647d=_0x962cf9;var _0x550ff4;const _0x48bea5=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x7ddd3f,{'useClass':_0x10595c}],[_0x2c845a,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x418a4b(this[_0x5e647d(0x35e)],_0x4a5b4b(_0x48bea5,(_0x550ff4=this[_0x5e647d(0x232)])==null?void 0x0:_0x550ff4[_0x5e647d(0x2d3)]));}['_registerRenderDependencies'](){const _0x33061d=_0x962cf9;this[_0x33061d(0x36c)](this[_0x33061d(0x2c0)][_0x33061d(0x275)](_0x11844b[_0x33061d(0x301)],[Le])),this[_0x33061d(0x36c)](this['_renderManagerService'][_0x33061d(0x275)](_0x11844b[_0x33061d(0x1e9)],[Pe]));}[_0x962cf9(0x3a8)](){const _0x197292=_0x962cf9;_0x47fe41(this[_0x197292(0x35e)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x962cf9(0x272),In),Ae=Sn([_0x296f17(_0x246b97),Oe(0x1,_0x288115),Oe(0x2,_0xcb25a3(_0x266e02)),Oe(0x3,_0x4befe5)],Ae);var vn=Object[_0x962cf9(0x31b)],gn=(_0x1d137d,_0x148154,_0x468060,_0x170e1f)=>{for(var _0x47fce7=_0x170e1f>0x1?void 0x0:_0x170e1f?vn(_0x148154,_0x468060):_0x148154,_0x44ba67=_0x1d137d['length']-0x1,_0x268b83;_0x44ba67>=0x0;_0x44ba67--)(_0x268b83=_0x1d137d[_0x44ba67])&&(_0x47fce7=_0x268b83(_0x47fce7)||_0x47fce7);return _0x47fce7;},z=(_0x4071ef,_0x280d13)=>(_0x393b96,_0x7ea9df)=>_0x280d13(_0x393b96,_0x7ea9df,_0x4071ef);let it=class extends _0x47b134{constructor(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7){super(_0x5b9e17,_0x38aa4d,_0x1e2cc5,_0x2ccf8f,_0x527fa7);}async[_0x962cf9(0x362)](_0x48d79e){const _0x4adf7d=_0x962cf9,_0x5a5571=await this[_0x4adf7d(0x2a7)](),_0xea13e1=this['_createSocketURL'](_0x48d79e,_0x5a5571);return this[_0x4adf7d(0x2c8)](_0xea13e1);}[_0x962cf9(0x28c)](_0x2e93d6,_0x406eaa){const _0x7f669=_0x962cf9,_0x711804=typeof window>'u'?new URL(_0x2e93d6):new URL(_0x2e93d6,window[_0x7f669(0x33a)]['origin']);_0x711804[_0x7f669(0x367)][_0x7f669(0x335)]('sessionTicket',_0x406eaa);const _0x1808b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7f669(0x3b8)]);return _0x1808b1[_0x7f669(0x22d)]('runId')&&_0x711804[_0x7f669(0x367)][_0x7f669(0x335)](_0x7f669(0x209),_0x1808b1['get'](_0x7f669(0x209))),_0x711804[_0x7f669(0x2a9)]();}async[_0x962cf9(0x2a7)](){const _0x4c2949=_0x962cf9;var _0x199c48,_0x5efb53,_0x4d037b;const _0x4f3255=this[_0x4c2949(0x31a)][_0x4c2949(0x3c7)](_0x560485),_0x138b8d=(_0x199c48=_0x4f3255==null?void 0x0:_0x4f3255['wsSessionTicketUrl'])!=null?_0x199c48:_0x1a3bf9;return(_0x4d037b=(_0x5efb53=(await this[_0x4c2949(0x2e7)][_0x4c2949(0x22d)](_0x138b8d,{'headers':{'Content-Type':'application/json'}}))[_0x4c2949(0x244)])==null?void 0x0:_0x5efb53[_0x4c2949(0x293)])!=null?_0x4d037b:'';}};it=gn([z(0x0,_0xcb25a3(_0x266e02)),z(0x1,_0xcb25a3(_0x55461b)),z(0x2,_0x4befe5),z(0x3,_0x4b5f06),z(0x4,_0x1a3962)],it);const nt=0x7530,rt=_0x962cf9(0x3a5);class Fn extends _0x28d182{constructor(){const _0x4c54dd=_0x962cf9;super(),_(this,_0x4c54dd(0x2be),_0x1ebbcc()),_(this,_0x4c54dd(0x3bd),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x4c54dd(0x373),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x6e916e=_0x962cf9;super[_0x6e916e(0x2e8)](),this[_0x6e916e(0x20f)][_0x6e916e(0x2c1)]((_0x442381,_0x1b8277)=>this[_0x6e916e(0x359)](_0x1b8277)),this[_0x6e916e(0x373)]&&window[_0x6e916e(0x243)](this[_0x6e916e(0x373)]);}[_0x962cf9(0x323)](_0xe5d202){const _0x21f7c5=_0x962cf9;return this[_0x21f7c5(0x3b1)](_0xe5d202)[_0x21f7c5(0x3c5)](_0x5d80e7());}[_0x962cf9(0x21e)](_0x18532f){const _0x4d905b=_0x962cf9;this['_selfUnitIDs'][_0x4d905b(0x3de)]===0x0&&this[_0x4d905b(0x2e4)](),this[_0x4d905b(0x3bd)][_0x4d905b(0x1eb)](_0x18532f),this[_0x4d905b(0x312)]({'type':0x0,'memberID':this[_0x4d905b(0x2be)],'unitIDs':[_0x18532f],'isForwarded':!0x1});}[_0x962cf9(0x3ea)](_0x23a6af){const _0xca0c90=_0x962cf9;this[_0xca0c90(0x3bd)][_0xca0c90(0x260)](_0x23a6af),this[_0xca0c90(0x3bd)]['size']===0x0&&this[_0xca0c90(0x373)]&&window[_0xca0c90(0x243)](this[_0xca0c90(0x373)]);}['_init'](){const _0x480209=_0x962cf9;this[_0x480209(0x36c)](_0x354a81(_0x417bf8(window,_0x480209(0x344))[_0x480209(0x321)](_0x580147=>{const _0x4d20a5=_0x480209;if(_0x580147[_0x4d20a5(0x3be)]!==rt||!_0x580147['newValue'])return;const _0x138e44=JSON['parse'](_0x580147[_0x4d20a5(0x337)]);this[_0x4d20a5(0x3aa)](_0x138e44);}))),window[_0x480209(0x2ee)](_0x480209(0x386),()=>this[_0x480209(0x312)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x480209(0x35a)](this[_0x480209(0x3bd)])}));}[_0x962cf9(0x3aa)](_0x5cfd24){const _0x1ed9f0=_0x962cf9;switch(_0x5cfd24['type']){case 0x0:this[_0x1ed9f0(0x202)](_0x5cfd24);break;case 0x1:this['_handleLeaveEvent'](_0x5cfd24);break;case 0x2:this[_0x1ed9f0(0x27e)](_0x5cfd24);break;}}[_0x962cf9(0x202)](_0x4976f5){const _0xc38921=_0x962cf9,{unitIDs:_0x27d985,memberID:_0x269cf3,isForwarded:_0x46d726}=_0x4976f5;_0x27d985['forEach'](_0x54417e=>{const _0x426f65=_0x188b;if(!_0x46d726&&this['_unitOnClients'][_0x426f65(0x2f3)](_0x54417e)&&this[_0x426f65(0x3b1)](_0x54417e)['next'](_0xa42b24[_0x426f65(0x3a3)]),!this[_0x426f65(0x3a4)][_0x426f65(0x2f3)](_0x54417e)||!this['_unitOnClients'][_0x426f65(0x22d)](_0x54417e)[_0x426f65(0x2f3)](_0x269cf3)){const _0x2b37c1=this[_0x426f65(0x3a4)][_0x426f65(0x22d)](_0x54417e)||new Set();_0x2b37c1[_0x426f65(0x1eb)](_0x269cf3),this[_0x426f65(0x3a4)][_0x426f65(0x335)](_0x54417e,_0x2b37c1),this['_scheduleClearOtherTimer'](_0x269cf3);}}),_0x46d726||this['_send']({'type':0x0,'memberID':this[_0xc38921(0x2be)],'unitIDs':[...this[_0xc38921(0x3bd)]],'isForwarded':!0x0});}[_0x962cf9(0x30a)](_0x36df4a){const _0x448942=_0x962cf9;this['_removeClearOtherTimer'](_0x36df4a);const _0x513ad5=window['setTimeout'](()=>{const _0x44560f=_0x188b;this[_0x44560f(0x3a4)][_0x44560f(0x2c1)](_0x1abc19=>{_0x1abc19['delete'](_0x36df4a);});},nt*0x2);this['_clearOtherTimers'][_0x448942(0x335)](_0x36df4a,_0x513ad5);}['_removeClearOtherTimer'](_0x2db7a4){const _0x22e4b4=_0x962cf9;if(this[_0x22e4b4(0x20f)][_0x22e4b4(0x2f3)](_0x2db7a4)){const _0x2417cc=this[_0x22e4b4(0x20f)][_0x22e4b4(0x22d)](_0x2db7a4);_0x2417cc&&window['clearTimeout'](_0x2417cc),this[_0x22e4b4(0x20f)][_0x22e4b4(0x335)](_0x2db7a4,null);}}[_0x962cf9(0x252)](_0x213467){const _0x138a94=_0x962cf9,{memberID:_0x128b50,unitIDs:_0x9278c8}=_0x213467;_0x9278c8[_0x138a94(0x2c1)](_0xde7ab4=>{const _0x3efca7=_0x138a94;var _0x527510;const _0x1af7b3=this['_unitOnClients']['get'](_0xde7ab4);_0x1af7b3&&(_0x1af7b3['delete'](_0x128b50),(_0x527510=this[_0x3efca7(0x3b1)](_0xde7ab4))==null||_0x527510[_0x3efca7(0x30e)](_0x1af7b3[_0x3efca7(0x3de)]===0x0?_0xa42b24[_0x3efca7(0x2f1)]:_0xa42b24[_0x3efca7(0x3a3)]));}),this[_0x138a94(0x359)](_0x128b50);}[_0x962cf9(0x27e)](_0x421e00){const _0x423127=_0x962cf9;this['_scheduleClearOtherTimer'](_0x421e00[_0x423127(0x2f6)]);}[_0x962cf9(0x312)](_0x4f573c){const _0x3524e6=_0x962cf9;localStorage[_0x3524e6(0x385)](rt,JSON['stringify'](_0x4f573c));}['_scheduleHeartbeat'](){const _0x3e2d3b=_0x962cf9;this[_0x3e2d3b(0x373)]=window['setInterval'](()=>{const _0x22fc37=_0x3e2d3b;this['_send']({'type':0x2,'memberID':this[_0x22fc37(0x2be)]});},nt);}[_0x962cf9(0x3b1)](_0x4c6ff5){const _0x55e5ba=_0x962cf9;return this['_unitStatus'][_0x55e5ba(0x2f3)](_0x4c6ff5)||this['_unitStatus'][_0x55e5ba(0x335)](_0x4c6ff5,new _0x1c5311(_0xa42b24[_0x55e5ba(0x2f1)])),this[_0x55e5ba(0x37e)][_0x55e5ba(0x22d)](_0x4c6ff5);}}var Lt=(_0x594151=>(_0x594151[_0x594151[_0x962cf9(0x278)]=0x0]=_0x962cf9(0x278),_0x594151[_0x594151['OK']=0x1]='OK',_0x594151[_0x594151[_0x962cf9(0x23b)]=0x2]=_0x962cf9(0x23b),_0x594151[_0x594151['PERMISSION_DENIED']=0x3]=_0x962cf9(0x3e9),_0x594151[_0x594151[_0x962cf9(0x2ca)]=0x4]=_0x962cf9(0x2ca),_0x594151[_0x594151['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x594151[_0x594151[_0x962cf9(0x1f4)]=0x6]=_0x962cf9(0x1f4),_0x594151[_0x594151[_0x962cf9(0x341)]=0x7]='INVALID_ARGUMENT',_0x594151[_0x594151[_0x962cf9(0x3b5)]=0x8]=_0x962cf9(0x3b5),_0x594151[_0x594151['COMPLETION_FINISHED']=0x9]=_0x962cf9(0x210),_0x594151[_0x594151['LOGIN_FAILED']=0xa]=_0x962cf9(0x33d),_0x594151[_0x594151['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x962cf9(0x207),_0x594151[_0x594151['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x962cf9(0x29a),_0x594151[_0x594151[_0x962cf9(0x214)]=0xd]=_0x962cf9(0x214),_0x594151[_0x594151[_0x962cf9(0x2ba)]=0xe]=_0x962cf9(0x2ba),_0x594151[_0x594151[_0x962cf9(0x22f)]=0x1389]=_0x962cf9(0x22f),_0x594151[_0x594151[_0x962cf9(0x38b)]=0x1771]=_0x962cf9(0x38b),_0x594151[_0x594151[_0x962cf9(0x39b)]=0x1772]=_0x962cf9(0x39b),_0x594151[_0x594151[_0x962cf9(0x3a9)]=0x1773]=_0x962cf9(0x3a9),_0x594151[_0x594151[_0x962cf9(0x39f)]=0x1b59]=_0x962cf9(0x39f),_0x594151[_0x594151['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x962cf9(0x343),_0x594151[_0x594151['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x962cf9(0x298),_0x594151[_0x594151[_0x962cf9(0x269)]=0x1b5c]=_0x962cf9(0x269),_0x594151[_0x594151[_0x962cf9(0x356)]=0x1b5d]=_0x962cf9(0x356),_0x594151[_0x594151['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x962cf9(0x30d),_0x594151[_0x594151[_0x962cf9(0x35b)]=0x2329]=_0x962cf9(0x35b),_0x594151[_0x594151['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x962cf9(0x2a1),_0x594151[_0x594151[_0x962cf9(0x300)]=0x232b]=_0x962cf9(0x300),_0x594151[_0x594151[_0x962cf9(0x317)]=0x232c]=_0x962cf9(0x317),_0x594151[_0x594151['LICENSE_DISTRO_REJECTED']=0x232d]=_0x962cf9(0x3dc),_0x594151[_0x594151[_0x962cf9(0x23c)]=0x2711]=_0x962cf9(0x23c),_0x594151[_0x594151[_0x962cf9(0x20b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x594151[_0x594151[_0x962cf9(0x35f)]=0x2713]=_0x962cf9(0x35f),_0x594151[_0x594151[_0x962cf9(0x325)]=0x2714]=_0x962cf9(0x325),_0x594151[_0x594151[_0x962cf9(0x2a2)]=0x271a]=_0x962cf9(0x2a2),_0x594151[_0x594151['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x962cf9(0x3c9),_0x594151[_0x594151[_0x962cf9(0x309)]=0x271c]=_0x962cf9(0x309),_0x594151[_0x594151['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x962cf9(0x2b4),_0x594151[_0x594151[_0x962cf9(0x3a6)]=0x271e]=_0x962cf9(0x3a6),_0x594151[_0x594151['YUUMI_AI_RUN_FAILED']=0x271f]=_0x962cf9(0x3e0),_0x594151[_0x594151[_0x962cf9(0x1f8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x594151[_0x594151[_0x962cf9(0x3c8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x594151[_0x594151[_0x962cf9(0x285)]=0x2ee1]=_0x962cf9(0x285),_0x594151[_0x594151[_0x962cf9(0x299)]=0x2ee2]=_0x962cf9(0x299),_0x594151[_0x594151['INVITE_CODE_REQUIRED']=0x2ee3]=_0x962cf9(0x217),_0x594151[_0x594151['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x594151[_0x594151[_0x962cf9(0x3b0)]=0x2ee5]=_0x962cf9(0x3b0),_0x594151[_0x594151[_0x962cf9(0x2d2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x594151[_0x594151[_0x962cf9(0x262)]=0x32ca]=_0x962cf9(0x262),_0x594151[_0x594151[_0x962cf9(0x2c6)]=0x32cb]=_0x962cf9(0x2c6),_0x594151[_0x594151[_0x962cf9(0x3b9)]=-0x1]=_0x962cf9(0x3b9),_0x594151))(Lt||{}),pn=Object[_0x962cf9(0x31b)],Cn=(_0x11278b,_0x2e09a1,_0x581528,_0xc6c0af)=>{const _0x41ffc2=_0x962cf9;for(var _0x27702d=_0xc6c0af>0x1?void 0x0:_0xc6c0af?pn(_0x2e09a1,_0x581528):_0x2e09a1,_0x547a7c=_0x11278b[_0x41ffc2(0x1fd)]-0x1,_0x37dfc3;_0x547a7c>=0x0;_0x547a7c--)(_0x37dfc3=_0x11278b[_0x547a7c])&&(_0x27702d=_0x37dfc3(_0x27702d)||_0x27702d);return _0x27702d;},be=(_0x3b352a,_0x35ab22)=>(_0x317c4,_0x1ff99d)=>_0x35ab22(_0x317c4,_0x1ff99d,_0x3b352a);let ot=class extends _0x28d182{constructor(_0x5805b8,_0x2c2de4,_0x3080ed){const _0x4c95c9=_0x962cf9;super(),this['_instanceService']=_0x5805b8,this[_0x4c95c9(0x2e7)]=_0x2c2de4,this[_0x4c95c9(0x31a)]=_0x3080ed;}async[_0x962cf9(0x390)](_0x384af7,_0x573066,_0x56fb33,..._0x3a7110){const _0x526a2f=_0x962cf9;var _0x3c4d60,_0x2ca8ce,_0x57d35d,_0x2c24d1;const _0x4dc622=this[_0x526a2f(0x223)][_0x526a2f(0x320)]();if(!_0x4dc622)throw new Error(_0x526a2f(0x22e));const _0x10690d=((_0x3c4d60=this[_0x526a2f(0x31a)][_0x526a2f(0x3c7)](_0x4794eb))!=null?_0x3c4d60:_0x3170bf)+'/'+_0x384af7+_0x526a2f(0x2d6)+_0x573066,_0x509d47=new URL(window['location'][_0x526a2f(0x3d5)]),_0x534161={'scriptId':_0x384af7,'runId':(_0x2ca8ce=_0x509d47[_0x526a2f(0x367)][_0x526a2f(0x22d)](_0x526a2f(0x209)))!=null?_0x2ca8ce:'','function':_0x573066,'unitId':_0x4dc622[_0x526a2f(0x2db)](),'argsOfFunction':JSON[_0x526a2f(0x3d3)](_0x3a7110),'invokeId':(_0x57d35d=_0x56fb33[_0x526a2f(0x2b6)])!=null?_0x57d35d:'','executionId':(_0x2c24d1=_0x56fb33[_0x526a2f(0x1f2)])!=null?_0x2c24d1:''};try{const _0x32a894=await this[_0x526a2f(0x2e7)][_0x526a2f(0x3f0)](_0x10690d,{'body':_0x534161});return _0x32a894[_0x526a2f(0x244)][_0x526a2f(0x31f)]&&_0x32a894[_0x526a2f(0x244)]['error'][_0x526a2f(0x3d6)]!==Lt['OK']?_0x526a2f(0x387):_0x32a894[_0x526a2f(0x244)][_0x526a2f(0x2cd)];}catch{return _0x526a2f(0x387);}}};ot=Cn([be(0x0,_0x163e05),be(0x1,_0xcb25a3(_0x55461b)),be(0x2,_0x4befe5)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3c97dc=_0x49b4;(function(_0x4fa098,_0x2c5dc5){const _0x1ed7a4=_0x49b4,_0x502aae=_0x4fa098();while(!![]){try{const _0x318e1e=-parseInt(_0x1ed7a4(0x1bb))/0x1*(-parseInt(_0x1ed7a4(0x1b4))/0x2)+parseInt(_0x1ed7a4(0x1b5))/0x3+parseInt(_0x1ed7a4(0x1c1))/0x4*(parseInt(_0x1ed7a4(0x1ba))/0x5)+parseInt(_0x1ed7a4(0x1ae))/0x6*(-parseInt(_0x1ed7a4(0x1b8))/0x7)+parseInt(_0x1ed7a4(0x1b7))/0x8+parseInt(_0x1ed7a4(0x1ad))/0x9*(parseInt(_0x1ed7a4(0x1bf))/0xa)+parseInt(_0x1ed7a4(0x1b9))/0xb*(-parseInt(_0x1ed7a4(0x1bd))/0xc);if(_0x318e1e===_0x2c5dc5)break;else _0x502aae['push'](_0x502aae['shift']());}catch(_0x28d7bf){_0x502aae['push'](_0x502aae['shift']());}}}(_0x3bb7,0x44c14));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3c97dc(0x1b1),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x3c97dc(0x1bc),'offline':_0x3c97dc(0x1af)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3c97dc(0x1b3),'room-full':_0x3c97dc(0x1b0),'collaboration-timeout':_0x3c97dc(0x1b2)},'conflict':{'title':_0x3c97dc(0x1c2),'content':_0x3c97dc(0x1be)},'permission':{'title':'Authentication\x20Error','content':_0x3c97dc(0x1b6)},'collaboration':{'single-unit':{'warning':_0x3c97dc(0x1c0)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x49b4(_0x205ef5,_0x427534){const _0x3bb756=_0x3bb7();return _0x49b4=function(_0x49b4f3,_0xb614e9){_0x49b4f3=_0x49b4f3-0x1ad;let _0x9f2c40=_0x3bb756[_0x49b4f3];return _0x9f2c40;},_0x49b4(_0x205ef5,_0x427534);}function _0x3bb7(){const _0x2e048a=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1796ZgAjto','Collaboration\x20Conflict','8928VCnlNZ','199278wUnffL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','30oPyfyY','276510NUvHdX','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1202280AHLxtn','77ugIRQZ','237094GJqilW','3635kJbCac','37143DleSgl','Syncing...','312XGfrgB','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.','820nSkGXX'];_0x3bb7=function(){return _0x2e048a;};return _0x3bb7();}export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3669(){const _0x106813=['Collaboration\x20Conflict','Synced','2424576yzqzhP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','4deBpNT','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2474820FDFQpe','2359935qlUbmA','Connection\x20failed,\x20please\x20check\x20your\x20network.','10293390RaxNGH','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.','Local\x20file','75976dnyOKO','413139tzrygv','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','343flHLxf','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','318301StjgpI'];_0x3669=function(){return _0x106813;};return _0x3669();}const _0x2fdcc3=_0x420e;(function(_0x45a0b3,_0x34dd2e){const _0x590ba8=_0x420e,_0x2a0223=_0x45a0b3();while(!![]){try{const _0x52358f=parseInt(_0x590ba8(0x69))/0x1*(parseInt(_0x590ba8(0x71))/0x2)+-parseInt(_0x590ba8(0x64))/0x3+parseInt(_0x590ba8(0x6c))/0x4+parseInt(_0x590ba8(0x75))/0x5+parseInt(_0x590ba8(0x74))/0x6+-parseInt(_0x590ba8(0x66))/0x7*(parseInt(_0x590ba8(0x7a))/0x8)+-parseInt(_0x590ba8(0x77))/0x9;if(_0x52358f===_0x34dd2e)break;else _0x2a0223['push'](_0x2a0223['shift']());}catch(_0xffc83a){_0x2a0223['push'](_0x2a0223['shift']());}}}(_0x3669,0x5ce0b));function _0x420e(_0x194cc7,_0x580f58){const _0x366945=_0x3669();return _0x420e=function(_0x420eb6,_0x2507fd){_0x420eb6=_0x420eb6-0x64;let _0x1dd04a=_0x366945[_0x420eb6];return _0x1dd04a;},_0x420e(_0x194cc7,_0x580f58);}const e={'collab-client':{'tooltip':{'reconnect':_0x2fdcc3(0x70)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x2fdcc3(0x72),'notCollab':_0x2fdcc3(0x79),'synced':_0x2fdcc3(0x6b),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2fdcc3(0x76),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2fdcc3(0x6e),'collaboration-timeout':_0x2fdcc3(0x6d)},'conflict':{'title':_0x2fdcc3(0x6a),'content':_0x2fdcc3(0x78)},'permission':{'title':_0x2fdcc3(0x67),'content':_0x2fdcc3(0x6f)},'collaboration':{'single-unit':{'warning':_0x2fdcc3(0x65)},'closeRoom':_0x2fdcc3(0x68)},'auth':{'needGotoLoginAlert':_0x2fdcc3(0x73)}};export{e as default};
|