@univerjs-pro/collaboration-client-ui 0.10.9-experimental.20250925-61b61a0 → 0.10.9-nightly.202509260614
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 _0xbc8ce8=_0xa1fb;(function(_0x3bccc9,_0x5a92ba){const _0x9dd6a9=_0xa1fb,_0x38159d=_0x3bccc9();while(!![]){try{const _0x48620c=parseInt(_0x9dd6a9(0x277))/0x1*(-parseInt(_0x9dd6a9(0x342))/0x2)+-parseInt(_0x9dd6a9(0x1cc))/0x3*(-parseInt(_0x9dd6a9(0x19b))/0x4)+parseInt(_0x9dd6a9(0x272))/0x5*(-parseInt(_0x9dd6a9(0x319))/0x6)+parseInt(_0x9dd6a9(0x324))/0x7*(parseInt(_0x9dd6a9(0x2c2))/0x8)+parseInt(_0x9dd6a9(0x250))/0x9+-parseInt(_0x9dd6a9(0x184))/0xa+parseInt(_0x9dd6a9(0x199))/0xb*(-parseInt(_0x9dd6a9(0x181))/0xc);if(_0x48620c===_0x5a92ba)break;else _0x38159d['push'](_0x38159d['shift']());}catch(_0x9354b5){_0x38159d['push'](_0x38159d['shift']());}}}(_0x5c44,0xf3f3d));var xt=Object[_0xbc8ce8(0x36e)],Bt=(_0x4c0f75,_0x4d5f44,_0x4e24ab)=>_0x4d5f44 in _0x4c0f75?xt(_0x4c0f75,_0x4d5f44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e24ab}):_0x4c0f75[_0x4d5f44]=_0x4e24ab,_=(_0x1ddd89,_0x6ee42,_0x2c9c45)=>Bt(_0x1ddd89,typeof _0x6ee42!=_0xbc8ce8(0x2d2)?_0x6ee42+'':_0x6ee42,_0x2c9c45);import{jsx as _0x5c7c88,jsxs as _0x24cd4e}from'react/jsx-runtime';import{CollaborationStatus as _0x45c3c5,CollaborationSessionService as _0x5cc36e,CollaborationController as _0x2fa5fa,DataLoaderService as _0x17f757,MemberService as _0x2e62f0,SessionStatus as _0x3bc540,ILocalCacheService as _0x3d421e,CollaborationUIEventService as _0x4971c4,CollaborationUIEventId as _0x2e0d4b,DocCollaborationEntity as _0x3abc5c,getLocalCacheKey as _0x37482e,LOCAL_CACHE_INTERVAL as _0x39be8e,LOCAL_CACHE_INTERVAL_KEY as _0x27a6e0,UniverCollaborationClientPlugin as _0x1c247d,CollaborationSocketService as _0x423179,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xf552d2,DEFAULT_WS_SESSION_TICKET_URL as _0x30a6e2,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x148486,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3ff078,UnitStatus as _0x51caba}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x467da4,IUniverInstanceService as _0x1e80d2,Inject as _0x4c4c18,Injector as _0x38c8c2,Disposable as _0x580868,createIdentifier as _0x5b20b8,ILogService as _0x2bddda,ICommandService as _0x538ee9,Optional as _0x5539f8,RxDisposable as _0x2e4af9,Workbook as _0x25fe81,DOC_RANGE_TYPE as _0x51e0ba,debounce as _0x55fa07,Rectangle as _0x3509f5,DisposableCollection as _0x285226,toDisposable as _0x2f65bb,UniverInstanceType as _0x84c282,generateRandomId as _0x396ac3,COLORS as _0x538c08,ColorKit as _0x1dcd8c,ThemeService as _0x2fb60d,fromEventSubject as _0x58863a,Tools as _0x40cd1d,CommandType as _0x5bc1fa,IConfigService as _0x4bf0e0,ILocalStorageService as _0x1e3a1c,DependentOn as _0x35bf1c,Plugin as _0x192449,merge as _0x4630f8,registerDependencies as _0x411854,mergeOverrideWithDependencies as _0x2eedc3,touchDependencies as _0x498482}from'@univerjs/core';import{useObservable as _0x1c5941,useDependency as _0x1e9ac1,IUIPartsService as _0x47681f,BuiltInUIPart as _0x37868c,connectInjector as _0x15ee91,IBeforeCloseService as _0x254688,IMessageService as _0x346b81,INotificationService as _0x7dfe6c}from'@univerjs/ui';import{BehaviorSubject as _0x3a13e7,switchMap as _0x1da0d9,of as _0x43fdef,takeUntil as _0x483b0b,debounceTime as _0x546b5e,Subject as _0x129b30,filter as _0x1c9f8e,merge as _0x40dbc8,combineLatest as _0x4b65c9,fromEvent as _0x1dd96a,shareReplay as _0x3604d5,mapTo as _0x466f09,distinctUntilChanged as _0xb995e7}from'rxjs';import{Tooltip as _0x14351d,clsx as _0x420b3c,MessageType as _0x38afbf}from'@univerjs/design';import{forwardRef as _0x68d820,useRef as _0x4b6232,createElement as _0x1fc2d1,useCallback as _0x18f0b2}from'react';import{IRemoteInstanceService as _0x15ca8c}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x966106,RefRangeService as _0x16c599,SetSelectionsOperation as _0x2ee9ea,SheetsSelectionsService as _0x5e27b2,EffectRefRangId as _0x396ccc,handleIRemoveRow as _0xbb3f07,handleIRemoveCol as _0x591d6d,handleMoveRange as _0x42be81,handleInsertRow as _0x1f3369,handleInsertRangeMoveRight as _0x5a2584,handleInsertRangeMoveDown as _0x40a8de,handleInsertCol as _0x1bf76f,handleDeleteRangeMoveUp as _0x2bfa0b,handleDeleteRangeMoveLeft as _0x507558,runRefRangeMutations as _0x4981cc}from'@univerjs/sheets';import{Shape as _0x566451,Rect as _0x656be9,getColor as _0x1d79a4,RegularPolygon as _0x27544d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x210c87,Vector2 as _0x2ed24e,SHEET_VIEWPORT_KEY as _0x2ca137,IRenderManagerService as _0x3d888d}from'@univerjs/engine-render';import{ISocketService as _0x26e90f,WebSocketService as _0x1d2d8e,HTTPService as _0x3cd9bb}from'@univerjs/network';import{IDocClipboardService as _0x49bef9,NodePositionConvertToCursor as _0x19d17a,NodePositionConvertToRectRange as _0x3aa295,TEXT_RANGE_LAYER_INDEX as _0xb48db7,SetDocZoomRatioOperation as _0x24991a,DocIMEInputManagerService as _0x462dca,DocStateChangeManagerService as _0xc6a8d4}from'@univerjs/docs-ui';import{IImageIoService as _0x49ef37}from'@univerjs/drawing';import{ITransformService as _0x780cfc,CollaborationEvent as _0x56f359,isTransformMutationFailure as _0x53e2cc,isTransformMutationsWithChangesetSuccess as _0x324e40,RevisionService as _0x440509,ISnapshotServerService as _0x25d127}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4c73e1,RichTextEditingMutation as _0x51e998,DocSelectionManagerService as _0x40ea66,DocSkeletonManagerService as _0x28db62}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x267bff,serializeRangeWithSheet as _0x1f7d45}from'@univerjs/engine-formula';import{map as _0x52690a,filter as _0x678038,throttleTime as _0x127c2e,takeUntil as _0x1c6ff5,switchMap as _0x1e8c1e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x316b2c,getCoordByCell as _0x37c667,getSheetObject as _0x5c1b9e}from'@univerjs/sheets-ui';var v=function(){const _0x27923a=_0xbc8ce8;return v=Object[_0x27923a(0x1d3)]||function(_0x54f94d){const _0x161a0d=_0x27923a;for(var _0x33dcbc,_0x5bb176=0x1,_0x5317bd=arguments['length'];_0x5bb176<_0x5317bd;_0x5bb176++){_0x33dcbc=arguments[_0x5bb176];for(var _0x1e39e4 in _0x33dcbc)Object[_0x161a0d(0x18e)][_0x161a0d(0x2e7)]['call'](_0x33dcbc,_0x1e39e4)&&(_0x54f94d[_0x1e39e4]=_0x33dcbc[_0x1e39e4]);}return _0x54f94d;},v[_0x27923a(0x1d9)](this,arguments);},ci=function(_0xdaa9d7,_0x4782b8){const _0x154db8=_0xbc8ce8;var _0x11080a={};for(var _0x3f1c70 in _0xdaa9d7)Object['prototype'][_0x154db8(0x2e7)][_0x154db8(0x22e)](_0xdaa9d7,_0x3f1c70)&&_0x4782b8['indexOf'](_0x3f1c70)<0x0&&(_0x11080a[_0x3f1c70]=_0xdaa9d7[_0x3f1c70]);if(_0xdaa9d7!=null&&typeof Object['getOwnPropertySymbols']==_0x154db8(0x1b1)){for(var _0x1e0940=0x0,_0x3f1c70=Object[_0x154db8(0x2d3)](_0xdaa9d7);_0x1e0940<_0x3f1c70[_0x154db8(0x32a)];_0x1e0940++)_0x4782b8[_0x154db8(0x2c7)](_0x3f1c70[_0x1e0940])<0x0&&Object['prototype'][_0x154db8(0x368)][_0x154db8(0x22e)](_0xdaa9d7,_0x3f1c70[_0x1e0940])&&(_0x11080a[_0x3f1c70[_0x1e0940]]=_0xdaa9d7[_0x3f1c70[_0x1e0940]]);}return _0x11080a;},ke=_0x68d820(function(_0x1fd595,_0x4df9f4){const _0x42f3d7=_0xbc8ce8;var _0x3b60a1=_0x1fd595[_0x42f3d7(0x308)],_0x4f4f9b=_0x1fd595['id'],_0x1f93ed=_0x1fd595[_0x42f3d7(0x2cc)],_0x3e8898=_0x1fd595[_0x42f3d7(0x2c0)],_0x2673ca=ci(_0x1fd595,[_0x42f3d7(0x308),'id','className','extend']),_0x1929b8=_0x42f3d7(0x1a8)[_0x42f3d7(0x1ec)](_0x4f4f9b,'\x20')['concat'](_0x1f93ed||'')[_0x42f3d7(0x2df)](),_0x1e2eb6=_0x4b6232('_'[_0x42f3d7(0x1ec)](hi()));return Rt(_0x3b60a1,''[_0x42f3d7(0x1ec)](_0x4f4f9b),{'defIds':_0x3b60a1[_0x42f3d7(0x2aa)],'idSuffix':_0x1e2eb6[_0x42f3d7(0x287)]},v({'ref':_0x4df9f4,'className':_0x1929b8},_0x2673ca),_0x3e8898);});function Rt(_0x7026aa,_0x4a8752,_0x59fad1,_0x32a03e,_0x11e8cc){const _0x3c23d6=_0xbc8ce8;return _0x1fc2d1(_0x7026aa[_0x3c23d6(0x17c)],v(v({'key':_0x4a8752},li(_0x7026aa,_0x59fad1,_0x11e8cc)),_0x32a03e),(_i(_0x7026aa,_0x59fad1)[_0x3c23d6(0x1f5)]||[])[_0x3c23d6(0x2d0)](function(_0x53a2d6,_0x47e69f){const _0x146897=_0x3c23d6;return Rt(_0x53a2d6,''['concat'](_0x4a8752,'-')[_0x146897(0x1ec)](_0x7026aa[_0x146897(0x17c)],'-')['concat'](_0x47e69f),_0x59fad1,void 0x0,_0x11e8cc);}));}function li(_0x449389,_0x45a4e4,_0x43bc65){const _0x2b571a=_0xbc8ce8;var _0x53ffbc=v({},_0x449389[_0x2b571a(0x23f)]);_0x43bc65!=null&&_0x43bc65[_0x2b571a(0x2a8)]&&_0x53ffbc[_0x2b571a(0x269)]===_0x2b571a(0x2a8)&&(_0x53ffbc[_0x2b571a(0x269)]=_0x43bc65['colorChannel1']),_0x449389[_0x2b571a(0x17c)]===_0x2b571a(0x35b)&&_0x53ffbc['id']&&(_0x53ffbc['id']=_0x53ffbc['id']+_0x45a4e4[_0x2b571a(0x260)]),Object['entries'](_0x53ffbc)[_0x2b571a(0x2f4)](function(_0x1e52d8){const _0x2cc6d9=_0x2b571a;var _0x156356=_0x1e52d8[0x0],_0x187c43=_0x1e52d8[0x1];_0x156356===_0x2cc6d9(0x35b)&&typeof _0x187c43==_0x2cc6d9(0x202)&&(_0x53ffbc[_0x156356]=_0x187c43[_0x2cc6d9(0x33c)](/url\(#(.*)\)/,_0x2cc6d9(0x355)['concat'](_0x45a4e4[_0x2cc6d9(0x260)],')')));});var _0x1b0564=_0x45a4e4[_0x2b571a(0x2aa)];return!_0x1b0564||_0x1b0564[_0x2b571a(0x32a)]===0x0||(_0x449389[_0x2b571a(0x17c)]===_0x2b571a(0x36d)&&_0x53ffbc['xlink:href']&&(_0x53ffbc[_0x2b571a(0x2bc)]=_0x53ffbc[_0x2b571a(0x2bc)]+_0x45a4e4[_0x2b571a(0x260)]),Object[_0x2b571a(0x360)](_0x53ffbc)[_0x2b571a(0x2f4)](function(_0x8de5c8){const _0x1ccb61=_0x2b571a;var _0x35f5fd=_0x8de5c8[0x0],_0x5d773a=_0x8de5c8[0x1];typeof _0x5d773a=='string'&&(_0x53ffbc[_0x35f5fd]=_0x5d773a[_0x1ccb61(0x33c)](/url\(#(.*)\)/,_0x1ccb61(0x355)[_0x1ccb61(0x1ec)](_0x45a4e4[_0x1ccb61(0x260)],')')));})),_0x53ffbc;}function _i(_0x3d798b,_0x237ccd){const _0x139996=_0xbc8ce8;var _0x33eced,_0x1685f8=_0x237ccd[_0x139996(0x2aa)];return!_0x1685f8||_0x1685f8[_0x139996(0x32a)]===0x0?_0x3d798b:_0x3d798b[_0x139996(0x17c)]===_0x139996(0x1c8)&&(!((_0x33eced=_0x3d798b['children'])===null||_0x33eced===void 0x0)&&_0x33eced['length'])?v(v({},_0x3d798b),{'children':_0x3d798b[_0x139996(0x1f5)][_0x139996(0x2d0)](function(_0xc2391f){const _0x3282b3=_0x139996;return typeof _0xc2391f[_0x3282b3(0x23f)]['id']==_0x3282b3(0x202)&&_0x1685f8&&_0x1685f8[_0x3282b3(0x2b9)](_0xc2391f[_0x3282b3(0x23f)]['id'])?v(v({},_0xc2391f),{'attrs':v(v({},_0xc2391f[_0x3282b3(0x23f)]),{'id':_0xc2391f[_0x3282b3(0x23f)]['id']+_0x237ccd[_0x3282b3(0x260)]})}):_0xc2391f;})}):_0x3d798b;}function hi(){const _0x46c119=_0xbc8ce8;return Math[_0x46c119(0x167)]()[_0x46c119(0x23c)](0x24)['substring'](0x2,0x8);}ke[_0xbc8ce8(0x328)]=_0xbc8ce8(0x175);var ui={'tag':_0xbc8ce8(0x36f),'attrs':{'xmlns':_0xbc8ce8(0x18b),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xbc8ce8(0x16b),'height':_0xbc8ce8(0x16b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xbc8ce8(0x330),'attrs':{'stroke':_0xbc8ce8(0x329),'d':_0xbc8ce8(0x1dc),'strokeLinecap':_0xbc8ce8(0x33b),'strokeLinejoin':_0xbc8ce8(0x33b),'strokeWidth':1.2}}]},{'tag':_0xbc8ce8(0x1c8),'attrs':{},'children':[{'tag':_0xbc8ce8(0x1c5),'attrs':{'id':_0xbc8ce8(0x2c1)},'children':[{'tag':'path','attrs':{'fill':_0xbc8ce8(0x216),'d':_0xbc8ce8(0x1ba)}}]}]}],'defIds':[_0xbc8ce8(0x2c1)]},Dt=_0x68d820(function(_0x2e06f8,_0x3522bd){return _0x1fc2d1(ke,Object['assign']({},_0x2e06f8,{'id':'off-line-icon','ref':_0x3522bd,'icon':ui}));});Dt[_0xbc8ce8(0x328)]=_0xbc8ce8(0x17e);var di={'tag':_0xbc8ce8(0x36f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xbc8ce8(0x1b5),'viewBox':_0xbc8ce8(0x20a),'width':_0xbc8ce8(0x16b),'height':_0xbc8ce8(0x16b)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc8ce8(0x1ff)},'children':[{'tag':_0xbc8ce8(0x330),'attrs':{'stroke':_0xbc8ce8(0x329),'d':_0xbc8ce8(0x1a4),'strokeLinecap':_0xbc8ce8(0x33b),'strokeLinejoin':_0xbc8ce8(0x33b),'strokeWidth':1.2}}]},{'tag':_0xbc8ce8(0x1c8),'attrs':{},'children':[{'tag':_0xbc8ce8(0x1c5),'attrs':{'id':_0xbc8ce8(0x29a)},'children':[{'tag':_0xbc8ce8(0x330),'attrs':{'fill':_0xbc8ce8(0x216),'d':_0xbc8ce8(0x1ba),'transform':_0xbc8ce8(0x275)}}]}]}],'defIds':[_0xbc8ce8(0x29a)]},Nt=_0x68d820(function(_0x3c75b0,_0x26ce60){const _0x28bcc9=_0xbc8ce8;return _0x1fc2d1(ke,Object[_0x28bcc9(0x1d3)]({},_0x3c75b0,{'id':'on-line-icon','ref':_0x26ce60,'icon':di}));});Nt[_0xbc8ce8(0x328)]='OnLineIcon';function fi(_0x272402){const _0x266de3=_0xbc8ce8;switch(_0x272402){case _0x45c3c5[_0x266de3(0x2e9)]:return'collabStatus.offline';case _0x45c3c5[_0x266de3(0x23e)]:return _0x266de3(0x179);case _0x45c3c5[_0x266de3(0x211)]:return _0x266de3(0x18c);case _0x45c3c5[_0x266de3(0x30a)]:return _0x266de3(0x198);case _0x45c3c5[_0x266de3(0x267)]:case _0x45c3c5['AWAITING_WITH_PENDING']:return _0x266de3(0x1cd);case _0x45c3c5['SYNCED']:case _0x45c3c5['PENDING']:return'collabStatus.synced';}}function Si(_0x4acdc0){const _0x43feaf=_0xbc8ce8,{status$:_0x496317}=_0x4acdc0,_0x4f8975=_0x1c5941(_0x496317,_0x45c3c5['NOT_COLLAB']),_0x2e3bbc=_0x1e9ac1(_0x467da4),_0x4180f1=_0x1e9ac1(_0x5cc36e),_0x4aa7bb=_0x4f8975!==_0x45c3c5['OFFLINE'],_0x4cfb55=_0x2e3bbc['t'](fi(_0x4f8975)),_0x2ab882=_0x4aa7bb?_0x5c7c88(Nt,{}):_0x5c7c88(Dt,{}),_0x2e4916=_0x18f0b2(()=>{const _0x442ca5=_0xa1fb;_0x4aa7bb||_0x4180f1[_0x442ca5(0x20e)]();},[_0x4aa7bb,_0x4180f1]);function _0x5ed855(){const _0x5129c8=_0xa1fb;return _0x24cd4e(_0x5129c8(0x1e3),{'className':'univer-flex\x20univer-items-center','onClick':_0x2e4916,'children':[_0x5c7c88('div',{'className':_0x420b3c(_0x5129c8(0x1be),{'univer-text-green-500':_0x4aa7bb,'univer-text-red-500':!_0x4aa7bb}),'children':_0x2ab882}),_0x5c7c88('div',{'className':_0x5129c8(0x166),'children':_0x4cfb55})]});}return _0x4aa7bb?_0x5ed855():_0x5c7c88(_0x14351d,{'title':_0x2e3bbc['t'](_0x43feaf(0x35e)),'children':_0x5ed855()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x43ecfa,_0xd26840,_0x332c21,_0xe1df37)=>{const _0x63a5ed=_0xbc8ce8;for(var _0x49ca8f=_0xe1df37>0x1?void 0x0:_0xe1df37?mi(_0xd26840,_0x332c21):_0xd26840,_0x245579=_0x43ecfa[_0x63a5ed(0x32a)]-0x1,_0x518c29;_0x245579>=0x0;_0x245579--)(_0x518c29=_0x43ecfa[_0x245579])&&(_0x49ca8f=_0x518c29(_0x49ca8f)||_0x49ca8f);return _0x49ca8f;},q=(_0x39ec5d,_0x2cf6f0)=>(_0x6be7e4,_0x564e5e)=>_0x2cf6f0(_0x6be7e4,_0x564e5e,_0x39ec5d);let se=class extends _0x580868{constructor(_0x58b2b0,_0x6ebb32,_0x33635a,_0x23e84a){const _0x5dd4dd=_0xbc8ce8;super(),_(this,_0x5dd4dd(0x1ee),new _0x3a13e7(_0x45c3c5[_0x5dd4dd(0x30a)])),(this[_0x5dd4dd(0x16c)]=_0x58b2b0,this['_injector']=_0x6ebb32,this[_0x5dd4dd(0x234)]=_0x33635a,this['_uiPartsService']=_0x23e84a,this[_0x5dd4dd(0x34a)](),this[_0x5dd4dd(0x23a)]());}[_0xbc8ce8(0x23a)](){const _0x46dfe6=_0xbc8ce8;this['disposeWithMe'](this[_0x46dfe6(0x16c)]['focused$'][_0x46dfe6(0x1e0)](_0x1da0d9(()=>{const _0x5ac762=_0x46dfe6,_0x1c2022=this['_univerInstanceService'][_0x5ac762(0x30e)]();return _0x1c2022?this[_0x5ac762(0x234)]['getCollabEntity$'](_0x1c2022[_0x5ac762(0x1a0)]()):_0x43fdef(null);}),_0x1da0d9(_0x20cdaf=>_0x20cdaf?_0x20cdaf['status$']:_0x43fdef(_0x45c3c5[_0x46dfe6(0x30a)])))['subscribe'](_0x371c27=>{const _0x2c15a4=_0x46dfe6;this[_0x2c15a4(0x1ee)][_0x2c15a4(0x1e4)](_0x371c27);}));}[_0xbc8ce8(0x34a)](){const _0x34b3e2=_0xbc8ce8;this['disposeWithMe'](this[_0x34b3e2(0x2e3)][_0x34b3e2(0x1d6)](_0x37868c[_0x34b3e2(0x1f8)],()=>_0x15ee91(vi({'status$':this['_status$'][_0x34b3e2(0x1fb)]()}),this[_0x34b3e2(0x365)])));}};se=Ii([q(0x0,_0x1e80d2),q(0x1,_0x4c4c18(_0x38c8c2)),q(0x2,_0x4c4c18(_0x2fa5fa)),q(0x3,_0x47681f)],se);function vi(_0x3e1be3){const {status$:_0x5ce458}=_0x3e1be3;return function(){return _0x5c7c88(Si,{'status$':_0x5ce458});};}const Ut=_0x5b20b8(_0xbc8ce8(0x20c));var gi=Object[_0xbc8ce8(0x247)],pi=(_0x31fac6,_0x142acd,_0x17cab2,_0x5cdd77)=>{const _0x41616f=_0xbc8ce8;for(var _0x46adf8=_0x5cdd77>0x1?void 0x0:_0x5cdd77?gi(_0x142acd,_0x17cab2):_0x142acd,_0x264018=_0x31fac6[_0x41616f(0x32a)]-0x1,_0x5be86c;_0x264018>=0x0;_0x264018--)(_0x5be86c=_0x31fac6[_0x264018])&&(_0x46adf8=_0x5be86c(_0x46adf8)||_0x46adf8);return _0x46adf8;},G=(_0x4feb37,_0x2e62a7)=>(_0x25d2a7,_0x329e8b)=>_0x2e62a7(_0x25d2a7,_0x329e8b,_0x4feb37);let ie=class extends _0x2e4af9{constructor(_0x13df07,_0x50eb7d,_0x129bec,_0x17297b,_0x179d36){const _0x29fc51=_0xbc8ce8;super(),this['_urlService']=_0x13df07,this[_0x29fc51(0x27d)]=_0x50eb7d,this[_0x29fc51(0x28d)]=_0x129bec,this['_dataLoaderService']=_0x17297b,_0x179d36?_0x179d36==null||_0x179d36[_0x29fc51(0x1fa)]()[_0x29fc51(0x2a6)](()=>this['_init']()):(this[_0x29fc51(0x27d)]['debug'](_0x29fc51(0x182),_0x29fc51(0x18f)),this[_0x29fc51(0x16d)]());}async['_init'](){const _0x3f4eec=_0xbc8ce8,_0x260d69=this['_urlService'][_0x3f4eec(0x1b9)](_0x3f4eec(0x1b3)),_0x598f5c=this['_urlService']['getParam'](_0x3f4eec(0x2c5)),_0x2c4a1b=this[_0x3f4eec(0x26e)][_0x3f4eec(0x1b9)](_0x3f4eec(0x1e8));if(!_0x260d69||!_0x598f5c){this['_logService'][_0x3f4eec(0x284)](_0x3f4eec(0x182),_0x3f4eec(0x327));return;}const _0x18c153=await this[_0x3f4eec(0x1ae)][_0x3f4eec(0x2b2)](_0x260d69,Number(_0x598f5c),_0x2c4a1b);_0x18c153&&_0x18c153 instanceof _0x25fe81&&this[_0x3f4eec(0x17a)](_0x18c153);}async[_0xbc8ce8(0x17a)](_0x4f6443){const _0x30008e=_0xbc8ce8;await this[_0x30008e(0x2c3)](_0x4f6443),_0x4f6443[_0x30008e(0x36b)]['pipe'](_0x483b0b(this[_0x30008e(0x2ff)]))['subscribe'](_0x9747e9=>{const _0x49371e=_0x30008e;_0x9747e9&&this[_0x49371e(0x188)](_0x9747e9);}),this[_0x30008e(0x26e)]['urlChange$'][_0x30008e(0x1e0)](_0x483b0b(this[_0x30008e(0x2ff)]))[_0x30008e(0x19c)](()=>this[_0x30008e(0x2c3)](_0x4f6443));}[_0xbc8ce8(0x188)](_0xd997d7,_0x3b9b7d=!0x1){const _0x21fe0b=_0xbc8ce8,_0x284514=this['_urlService'][_0x21fe0b(0x1b9)]('subunit');_0xd997d7[_0x21fe0b(0x206)]()!==_0x284514&&this[_0x21fe0b(0x26e)][_0x21fe0b(0x1c4)]('subunit',_0xd997d7['getSheetId'](),_0x3b9b7d);}async[_0xbc8ce8(0x2c3)](_0x7a6de7){const _0x495eea=_0xbc8ce8;var _0x5f58b6;const _0x574d82=this[_0x495eea(0x26e)]['getParam'](_0x495eea(0x1e8));if(!_0x574d82||!_0x7a6de7[_0x495eea(0x1b2)](_0x574d82)){const _0x2b6517=_0x7a6de7[_0x495eea(0x2f7)]()[0x0],_0xf0719b=_0x7a6de7[_0x495eea(0x1b2)](_0x2b6517);if(!_0xf0719b)return;this[_0x495eea(0x188)](_0xf0719b,!0x0),await this['_commandService']['executeCommand'](_0x966106['id'],{'unitId':_0x7a6de7['getUnitId'](),'subUnitId':_0x2b6517});return;}((_0x5f58b6=_0x7a6de7[_0x495eea(0x1e2)]())==null?void 0x0:_0x5f58b6['getSheetId']())!==_0x574d82&&await this[_0x495eea(0x28d)][_0x495eea(0x242)](_0x966106['id'],{'unitId':_0x7a6de7[_0x495eea(0x1a0)](),'subUnitId':_0x574d82});}};ie=pi([G(0x0,Ut),G(0x1,_0x2bddda),G(0x2,_0x538ee9),G(0x3,_0x4c4c18(_0x17f757)),G(0x4,_0x5539f8(_0x15ca8c))],ie);var Ci=Object[_0xbc8ce8(0x247)],Ei=(_0x11bb4b,_0x174b0c,_0x32c255,_0xa9593f)=>{const _0x7b013c=_0xbc8ce8;for(var _0x166ab7=_0xa9593f>0x1?void 0x0:_0xa9593f?Ci(_0x174b0c,_0x32c255):_0x174b0c,_0x105e79=_0x11bb4b[_0x7b013c(0x32a)]-0x1,_0x4e9f09;_0x105e79>=0x0;_0x105e79--)(_0x4e9f09=_0x11bb4b[_0x105e79])&&(_0x166ab7=_0x4e9f09(_0x166ab7)||_0x166ab7);return _0x166ab7;},Je=(_0x1ec67c,_0x1e11db)=>(_0x265b9d,_0x5e0002)=>_0x1e11db(_0x265b9d,_0x5e0002,_0x1ec67c);let Ne=class extends _0x2e4af9{constructor(_0x24da9f,_0x4912fb){const _0x26ae8b=_0xbc8ce8;super(),this[_0x26ae8b(0x313)]=_0x24da9f,this['_imageIoService']=_0x4912fb,this[_0x26ae8b(0x16d)]();}['_init'](){const _0x36544e=_0xbc8ce8,_0x557d7e=this;this[_0x36544e(0x1f2)](this[_0x36544e(0x313)]['addClipboardHook']({'onBeforePasteImage':async _0x4a45d3=>{const _0x735303=_0x36544e,_0x4ef761=await _0x557d7e[_0x735303(0x2be)]['saveImage'](_0x4a45d3);return _0x4ef761?{'source':_0x4ef761['source'],'imageSourceType':_0x4ef761[_0x735303(0x29f)]}:null;}}));}};Ne=Ei([Je(0x0,_0x49bef9),Je(0x1,_0x49ef37)],Ne);const Ze=['purple.300','jiqing.500',_0xbc8ce8(0x16e),_0xbc8ce8(0x1da),_0xbc8ce8(0x173),_0xbc8ce8(0x257)];class He extends _0x580868{constructor(){const _0x4672d3=_0xbc8ce8;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x4672d3(0x24c),0x0);}[_0xbc8ce8(0x1a5)](_0x3e32a6){const _0xdd33e7=_0xbc8ce8;if(this[_0xdd33e7(0x18d)][_0xdd33e7(0x24d)](_0x3e32a6))return this[_0xdd33e7(0x18d)]['get'](_0x3e32a6);const _0x398ebb=Ze[this[_0xdd33e7(0x24c)]];return this['_colorIndex']=(this[_0xdd33e7(0x24c)]+0x1)%Ze['length'],this[_0xdd33e7(0x18d)][_0xdd33e7(0x1d2)](_0x3e32a6,_0x398ebb),_0x398ebb;}}function Mt(_0x1a05ec){let _0x3aa3ec='';for(const _0x5b9dc3 of _0x1a05ec){const {startOffset:_0x3d8f92,endOffset:_0x14c50b,isActive:_0x304116,rangeType:_0x23a550,segmentId:_0x3f8c77,segmentPage:_0x3deb3e}=_0x5b9dc3;_0x3aa3ec['length']&&(_0x3aa3ec+=','),_0x3aa3ec+=_0x3d8f92+':'+_0x14c50b+':'+(_0x304116?'1':'0')+':'+_0x23a550+':'+_0x3f8c77+':'+_0x3deb3e;}return _0x3aa3ec;}function Oi(_0x32e51a){const _0xf1918f=_0xbc8ce8,_0xebc6be=_0x32e51a[_0xf1918f(0x32c)](','),_0x58028a=[];for(const _0x4bcebb of _0xebc6be){const [_0x442114,_0x552b3e,_0xc71769,_0x56cd13,_0x86b388,_0x22f747]=_0x4bcebb[_0xf1918f(0x32c)](':');_0x58028a[_0xf1918f(0x321)]({'startOffset':Number(_0x442114),'endOffset':Number(_0x552b3e),'collapsed':_0x442114===_0x552b3e,'isActive':_0xc71769==='1','rangeType':_0x56cd13===_0x51e0ba[_0xf1918f(0x248)]?_0x51e0ba[_0xf1918f(0x248)]:_0x51e0ba['RECT'],'segmentId':typeof _0x86b388==_0xf1918f(0x202)?String(_0x86b388):'','segmentPage':Number(_0x22f747!=null?_0x22f747:-0x1)});}return _0x58028a[_0xf1918f(0x343)](_0x20e169=>_0x20e169[_0xf1918f(0x361)])||(_0x58028a[0x0][_0xf1918f(0x361)]=!0x0),_0x58028a;}class Fe extends _0x2e4af9{constructor(){const _0x4be9bf=_0xbc8ce8;super(...arguments),_(this,_0x4be9bf(0x1db),new _0x3a13e7(null)),_(this,_0x4be9bf(0x1eb),this['_collabCursorState$'][_0x4be9bf(0x1fb)]());}[_0xbc8ce8(0x1c0)](_0x143aef){const _0xf29b04=_0xbc8ce8,{unitID:_0x2d9864,memberID:_0x1ced85,textRanges:_0xebcd96}=_0x143aef,_0x118f36=Mt(_0xebcd96);if(_0x118f36==='')return;const _0xb0360e={'unitID':_0x2d9864,'memberID':_0x1ced85,'selection':_0x118f36};this[_0xf29b04(0x1db)][_0xf29b04(0x1e4)](_0xb0360e);}}var bi=Object[_0xbc8ce8(0x247)],Ti=(_0x18fa24,_0x51d5c8,_0x1b2a29,_0x8b814f)=>{const _0x492b7d=_0xbc8ce8;for(var _0x47213a=_0x8b814f>0x1?void 0x0:_0x8b814f?bi(_0x51d5c8,_0x1b2a29):_0x51d5c8,_0x28655b=_0x18fa24[_0x492b7d(0x32a)]-0x1,_0x4ea201;_0x28655b>=0x0;_0x28655b--)(_0x4ea201=_0x18fa24[_0x28655b])&&(_0x47213a=_0x4ea201(_0x47213a)||_0x47213a);return _0x47213a;},P=(_0x5c573a,_0x153658)=>(_0x51ccc1,_0x36fc1b)=>_0x153658(_0x51ccc1,_0x36fc1b,_0x5c573a);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2e4af9{constructor(_0x4643e5,_0x3edbad,_0x1cd09f,_0x4b2c4a,_0x458d79,_0x588364,_0x536541,_0x388ad5,_0x5dfa77){const _0x455a7b=_0xbc8ce8;super(),_(this,_0x455a7b(0x315),!0x1),_(this,_0x455a7b(0x16d),!0x1),_(this,_0x455a7b(0x2da),new _0x3a13e7(new Map())),_(this,_0x455a7b(0x231),this[_0x455a7b(0x2da)]['asObservable']()),_(this,_0x455a7b(0x290),new _0x3a13e7([])),_(this,_0x455a7b(0x1aa),this[_0x455a7b(0x290)][_0x455a7b(0x1e0)](_0x546b5e(Ri))),_(this,'_updateLocalCursor',_0x55fa07(_0x9d56de=>{const _0x23b966=_0x455a7b,_0x3967bb={'eventID':_0x56f359[_0x23b966(0x217)],'data':{'unitID':this[_0x23b966(0x278)],'memberID':this[_0x23b966(0x1b7)]['getMemberID'](),'selection':Mt(_0x9d56de)}};this['_session'][_0x23b966(0x339)](_0x3967bb,this['unitID']);},Di)),(this[_0x455a7b(0x278)]=_0x4643e5,this[_0x455a7b(0x1b7)]=_0x3edbad,this[_0x455a7b(0x365)]=_0x1cd09f,this[_0x455a7b(0x232)]=_0x4b2c4a,this[_0x455a7b(0x28e)]=_0x458d79,this[_0x455a7b(0x29e)]=_0x588364,this['_transformService']=_0x536541,this[_0x455a7b(0x16c)]=_0x388ad5,this[_0x455a7b(0x28d)]=_0x5dfa77);}get[_0xbc8ce8(0x292)](){const _0x22794a=_0xbc8ce8;return this[_0x22794a(0x2da)][_0x22794a(0x176)]();}get[_0xbc8ce8(0x335)](){const _0x39bb3d=_0xbc8ce8;return this[_0x39bb3d(0x290)][_0x39bb3d(0x176)]();}[_0xbc8ce8(0x162)](){const _0x45a7ff=_0xbc8ce8;super[_0x45a7ff(0x162)](),this['_cursorInfo$']['next'](new Map()),this[_0x45a7ff(0x2da)]['complete'](),this[_0x45a7ff(0x290)][_0x45a7ff(0x1e4)]([]),this[_0x45a7ff(0x290)][_0x45a7ff(0x253)]();}[_0xbc8ce8(0x28b)](){const _0x377134=_0xbc8ce8;this[_0x377134(0x16d)]||(this[_0x377134(0x16d)]=!0x0,this[_0x377134(0x1b7)][_0x377134(0x32f)][_0x377134(0x1e0)](_0x483b0b(this[_0x377134(0x2ff)]))['subscribe'](_0x445cf7=>{const _0x7eceef=_0x377134;_0x445cf7===_0x3bc540[_0x7eceef(0x1bf)]?this[_0x7eceef(0x30f)]():this[_0x7eceef(0x1f7)]();}),this[_0x377134(0x1b7)][_0x377134(0x22a)][_0x377134(0x1e0)](_0x483b0b(this[_0x377134(0x2ff)]))[_0x377134(0x19c)](_0x52be53=>{const _0x56f957=_0x377134,_0x7fd4fe=_0x52be53['eventID'];_0x7fd4fe===_0x56f359[_0x56f957(0x217)]&&this['_onCursorUpdate'](_0x52be53),_0x7fd4fe===_0x56f359['USERS_LEAVE']&&this['_onCursorDelete'](_0x52be53);}),this['disposeWithMe'](this['_commandService'][_0x377134(0x235)](_0x442a11=>{const _0x295229=_0x377134,_0x2a789f=_0x442a11['params'];_0x2a789f!=null&&this[_0x295229(0x315)]&&_0x442a11['id']===_0x4c73e1['id']&&_0x2a789f[_0x295229(0x1c6)]===this[_0x295229(0x278)]&&_0x2a789f['isEditing']===!0x1&&_0x2a789f[_0x295229(0x369)]['length']>0x0&&this[_0x295229(0x1a1)](_0x2a789f[_0x295229(0x369)]);})),this[_0x377134(0x29e)][_0x377134(0x1eb)][_0x377134(0x1e0)](_0x483b0b(this[_0x377134(0x2ff)]))[_0x377134(0x19c)](_0x2f9d30=>{const _0x44f6ad=_0x377134;if((_0x2f9d30==null?void 0x0:_0x2f9d30[_0x44f6ad(0x278)])!==this['unitID'])return;const _0x4fff2d={'eventID':_0x56f359[_0x44f6ad(0x217)],'data':_0x2f9d30};this[_0x44f6ad(0x21d)](_0x4fff2d);}),this[_0x377134(0x1f2)](this[_0x377134(0x28d)]['onCommandExecuted'](_0x1635f6=>{const _0x26038b=_0x377134;if(_0x1635f6['params']==null)return;const _0x582bf1=_0x1635f6[_0x26038b(0x341)];if(_0x1635f6['id']!==_0x51e998['id']||_0x582bf1[_0x26038b(0x1c6)]!==this[_0x26038b(0x278)])return;const _0x245b96={'id':_0x26038b(0x1f4),'params':_0x582bf1},_0x433881=this[_0x26038b(0x292)];for(const [_0x417b5f,_0x128730]of _0x433881){const _0x39ef87={'id':_0x26038b(0x1f4),'params':{'unitId':this[_0x26038b(0x278)],'actions':null,'textRanges':_0x128730[_0x26038b(0x369)]}},_0x13391d=this[_0x26038b(0x163)][_0x26038b(0x1d1)](_0x245b96,_0x39ef87,!0x1);if(_0x53e2cc(_0x13391d))throw _0x13391d[_0x26038b(0x1fe)];_0x433881[_0x26038b(0x1d2)](_0x417b5f,{..._0x128730,'ranges':_0x13391d['m2Prime']['params'][_0x26038b(0x261)]});}queueMicrotask(()=>{const _0x1db6f8=_0x26038b;this[_0x1db6f8(0x2da)]['next'](_0x433881);});})));}[_0xbc8ce8(0x21d)](_0x4f1787){const _0x3908b4=_0xbc8ce8;var _0x27cf4a,_0x286313;const {memberID:_0x50f832,selection:_0x467a3f}=_0x4f1787[_0x3908b4(0x338)],_0x3686e0=Oi(_0x467a3f),_0x18bd62=(_0x286313=(_0x27cf4a=this['_memberService'][_0x3908b4(0x20d)](this[_0x3908b4(0x278)],_0x50f832))==null?void 0x0:_0x27cf4a[_0x3908b4(0x2ea)])!=null?_0x286313:'Unknown\x20user',_0x20c6d0={'color':this[_0x3908b4(0x232)][_0x3908b4(0x1a5)](_0x50f832),'name':_0x18bd62,'ranges':_0x3686e0},_0x4ee936=this['cursorInfo'];_0x4ee936['set'](_0x50f832,_0x20c6d0),this[_0x3908b4(0x2da)][_0x3908b4(0x1e4)](_0x4ee936);}[_0xbc8ce8(0x30d)](_0x532934){const _0x51b56f=_0xbc8ce8,{memberID:_0x29ceec}=_0x532934['data'],_0x2cd3d5=this[_0x51b56f(0x292)];_0x2cd3d5[_0x51b56f(0x2eb)](_0x29ceec),this[_0x51b56f(0x2da)][_0x51b56f(0x1e4)](_0x2cd3d5);}[_0xbc8ce8(0x30f)](){const _0xb3b891=_0xbc8ce8;var _0x22589d;if(this[_0xb3b891(0x315)]=!0x0,((_0x22589d=this[_0xb3b891(0x16c)][_0xb3b891(0x30e)]())==null?void 0x0:_0x22589d['getUnitId']())!==this['unitID'])return;const _0x572bc7=this[_0xb3b891(0x365)][_0xb3b891(0x249)](_0x40ea66)[_0xb3b891(0x2bd)]();Array[_0xb3b891(0x312)](_0x572bc7)&&_0x572bc7[_0xb3b891(0x32a)]>0x0&&this[_0xb3b891(0x1a1)](_0x572bc7);}['_toggleOffline'](){const _0x243058=_0xbc8ce8;this[_0x243058(0x315)]=!0x1;}};Ue=Ti([P(0x2,_0x4c4c18(_0x38c8c2)),P(0x3,_0x4c4c18(He)),P(0x4,_0x4c4c18(_0x2e62f0)),P(0x5,_0x4c4c18(Fe)),P(0x6,_0x780cfc),P(0x7,_0x1e80d2),P(0x8,_0x538ee9)],Ue);var Ni=Object[_0xbc8ce8(0x247)],Ui=(_0x25d9be,_0x52bd91,_0x89bb59,_0x3ca64d)=>{const _0x3f6f96=_0xbc8ce8;for(var _0x287989=_0x3ca64d>0x1?void 0x0:_0x3ca64d?Ni(_0x52bd91,_0x89bb59):_0x52bd91,_0x1979de=_0x25d9be[_0x3f6f96(0x32a)]-0x1,_0x9ecb56;_0x1979de>=0x0;_0x1979de--)(_0x9ecb56=_0x25d9be[_0x1979de])&&(_0x287989=_0x9ecb56(_0x287989)||_0x287989);return _0x287989;},x=(_0x45c734,_0x487822)=>(_0x3dd192,_0x5b05b6)=>_0x487822(_0x3dd192,_0x5b05b6,_0x45c734);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x4fe630=[],_0xe5321e=!0x1;return _0x592688=>{_0x4fe630['push'](_0x592688),_0xe5321e||(_0xe5321e=!0x0,setTimeout(()=>{const _0x55beab=_0xa1fb;_0x4fe630[_0x55beab(0x2f4)](_0x3cf066=>_0x3cf066()),_0x4fe630=[],_0xe5321e=!0x1;}));};};let Me=class extends _0x2e4af9{constructor(_0xe655bf,_0x256825,_0xc766cc,_0x5542d3,_0x5cb04c,_0x8caa28,_0x5a1791,_0x28c9ba){const _0x124866=_0xbc8ce8;super(),_(this,_0x124866(0x315),!0x1),_(this,_0x124866(0x16d),!0x1),_(this,'_cursorInfo$',new _0x3a13e7(new Map())),_(this,_0x124866(0x231),this[_0x124866(0x2da)][_0x124866(0x1fb)]()),_(this,_0x124866(0x290),new _0x3a13e7([])),_(this,_0x124866(0x1aa),this[_0x124866(0x290)]['pipe'](_0x546b5e(Mi))),_(this,_0x124866(0x1a1),_0x55fa07((_0x2d4773,_0x5b6ea2)=>{const _0xe681d7=_0x124866,_0x1be5f8={'eventID':_0x56f359[_0xe681d7(0x217)],'data':{'unitID':this[_0xe681d7(0x278)],'memberID':this[_0xe681d7(0x1b7)][_0xe681d7(0x251)](),'selection':_0x1f7d45(_0x2d4773,_0x5b6ea2[_0xe681d7(0x207)])}};this[_0xe681d7(0x1b7)][_0xe681d7(0x339)](_0x1be5f8,this[_0xe681d7(0x278)]);},Li)),(this[_0x124866(0x278)]=_0xe655bf,this[_0x124866(0x1b7)]=_0x256825,this[_0x124866(0x365)]=_0xc766cc,this[_0x124866(0x232)]=_0x5542d3,this[_0x124866(0x28e)]=_0x5cb04c,this[_0x124866(0x16c)]=_0x8caa28,this[_0x124866(0x28d)]=_0x5a1791,this[_0x124866(0x161)]=_0x28c9ba);}get[_0xbc8ce8(0x292)](){const _0x389fc7=_0xbc8ce8;return this[_0x389fc7(0x2da)]['getValue']();}get[_0xbc8ce8(0x335)](){const _0x1b2697=_0xbc8ce8;return this[_0x1b2697(0x290)][_0x1b2697(0x176)]();}[_0xbc8ce8(0x162)](){const _0x147e21=_0xbc8ce8;super[_0x147e21(0x162)](),this[_0x147e21(0x2da)][_0x147e21(0x1e4)](new Map()),this[_0x147e21(0x2da)][_0x147e21(0x253)](),this[_0x147e21(0x290)]['next']([]),this[_0x147e21(0x290)][_0x147e21(0x253)]();}[_0xbc8ce8(0x28b)](){const _0x3e0368=_0xbc8ce8;this[_0x3e0368(0x16d)]||(this[_0x3e0368(0x16d)]=!0x0,this[_0x3e0368(0x1b7)][_0x3e0368(0x32f)][_0x3e0368(0x1e0)](_0x483b0b(this['dispose$']))[_0x3e0368(0x19c)](_0x2b7129=>{const _0x5589fe=_0x3e0368;_0x2b7129===_0x3bc540[_0x5589fe(0x1bf)]?this[_0x5589fe(0x30f)]():this[_0x5589fe(0x1f7)]();}),this[_0x3e0368(0x1b7)]['event$'][_0x3e0368(0x1e0)](_0x483b0b(this[_0x3e0368(0x2ff)]))[_0x3e0368(0x19c)](_0x295ea9=>{const _0x102082=_0x3e0368,_0x16c5ed=_0x295ea9['eventID'];_0x16c5ed===_0x56f359[_0x102082(0x217)]&&this[_0x102082(0x21d)](_0x295ea9),_0x16c5ed===_0x56f359['USERS_LEAVE']&&this[_0x102082(0x30d)](_0x295ea9);}),this[_0x3e0368(0x29d)](),this[_0x3e0368(0x1f2)](this[_0x3e0368(0x28d)][_0x3e0368(0x235)](_0x2615ed=>{const _0x1b1d05=_0x3e0368;if(this[_0x1b1d05(0x315)]&&_0x2615ed['id']===_0x2ee9ea['id']&&_0x2615ed[_0x1b1d05(0x341)][_0x1b1d05(0x1c6)]===this['unitID']){const _0x1e87e7=_0x2615ed[_0x1b1d05(0x341)];this['_updateLocalCursor'](_0x1e87e7['subUnitId'],_0x1e87e7[_0x1b1d05(0x27c)][0x0]);}})));}[_0xbc8ce8(0x21d)](_0x5d55c5){const _0x2856ad=_0xbc8ce8;var _0x1da3c3,_0x5f4883;const {memberID:_0x92956d,selection:_0x2c7524}=_0x5d55c5[_0x2856ad(0x338)],{sheetName:_0x478bd3,range:_0x3c4cc4}=_0x267bff(_0x2c7524),_0x5ad408={'name':(_0x5f4883=(_0x1da3c3=this[_0x2856ad(0x28e)][_0x2856ad(0x20d)](this[_0x2856ad(0x278)],_0x92956d))==null?void 0x0:_0x1da3c3[_0x2856ad(0x2ea)])!=null?_0x5f4883:_0x2856ad(0x2c4),'range':this['_getMergeRange'](_0x478bd3,_0x3c4cc4),'sheetID':_0x478bd3,'color':this[_0x2856ad(0x232)][_0x2856ad(0x1a5)](_0x92956d),'selection':_0x2c7524},_0x4a2de2=this[_0x2856ad(0x292)];_0x4a2de2['set'](_0x92956d,_0x5ad408),this['_cursorInfo$'][_0x2856ad(0x1e4)](_0x4a2de2);}[_0xbc8ce8(0x30d)](_0x4ecdb4){const _0x87e84=_0xbc8ce8,{memberID:_0x4d2d7a}=_0x4ecdb4[_0x87e84(0x338)],_0x340e46=this[_0x87e84(0x292)];_0x340e46[_0x87e84(0x2eb)](_0x4d2d7a),this['_cursorInfo$'][_0x87e84(0x1e4)](_0x340e46);}[_0xbc8ce8(0x33a)](_0x37f0c0,_0x4189a7){const _0x1048e4=_0xbc8ce8;var _0x1f8e1d,_0x263e2e;const _0x57ba91=(_0x263e2e=(_0x1f8e1d=this[_0x1048e4(0x16c)]['getUniverSheetInstance'](this[_0x1048e4(0x278)]))==null?void 0x0:_0x1f8e1d['getSheetBySheetId'](_0x37f0c0))==null?void 0x0:_0x263e2e[_0x1048e4(0x2a4)]();return(_0x57ba91==null?void 0x0:_0x57ba91[_0x1048e4(0x177)](_0x372b0c=>_0x3509f5['contains'](_0x372b0c,_0x4189a7)))||_0x4189a7;}[_0xbc8ce8(0x29d)](){const _0x576fd4=_0xbc8ce8,_0x5d66f4=new _0x285226(),_0x452460=Pi(),_0x4a8c90=()=>{const _0x51dd2f=_0xa1fb;_0x5d66f4[_0x51dd2f(0x162)]();const _0x17cf39=(_0x46bbcc,_0x2ac2d6,_0x4e1392,_0x53bba7)=>{const _0x316dd5=_0x51dd2f;let _0x131481=[];switch(_0x46bbcc['id']){case _0x396ccc[_0x316dd5(0x2cd)]:{_0x131481=_0x507558(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x233)]:{_0x131481=_0x2bfa0b(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x325)]:{_0x131481=_0x1bf76f(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x326)]:{_0x131481=_0x40a8de(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x29b)]:{_0x131481=_0x5a2584(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x27e)]:{_0x131481=_0x1f3369(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x1bd)]:{_0x131481=_0x42be81(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x2db)]:{_0x131481=_0x591d6d(_0x46bbcc,_0x53bba7);break;}case _0x396ccc[_0x316dd5(0x228)]:{_0x131481=_0xbb3f07(_0x46bbcc,_0x53bba7);break;}}const _0xd06fd9=_0x4981cc(_0x131481,_0x53bba7),_0x4745ca=this['cursorInfo'][_0x316dd5(0x249)](_0x2ac2d6);if(_0x4745ca&&_0xd06fd9){const _0x321ec3={..._0x4745ca,'range':_0xd06fd9};this['cursorInfo'][_0x316dd5(0x1d2)](_0x2ac2d6,_0x321ec3),_0x452460(()=>{const _0x198a9d=_0x316dd5,_0x21c460=this[_0x198a9d(0x161)]['registerRefRange'](_0xd06fd9,_0x1a3c9a=>(_0x21c460['dispose'](),_0x17cf39(_0x1a3c9a,_0x2ac2d6,_0x4e1392,_0xd06fd9)));_0x5d66f4[_0x198a9d(0x2d1)](_0x21c460);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x51dd2f(0x2f4)]((_0x1aa314,_0x1ee2c1)=>{const _0x98be1=_0x51dd2f,{range:_0xf1e3e3,sheetID:_0x3f441c}=_0x1aa314,_0x29ae01=this['_refRangeService'][_0x98be1(0x322)](_0xf1e3e3,_0x28f637=>(_0x29ae01[_0x98be1(0x162)](),_0x17cf39(_0x28f637,_0x1ee2c1,_0x3f441c,_0xf1e3e3)));_0x5d66f4[_0x98be1(0x2d1)](_0x29ae01);});};this[_0x576fd4(0x1f2)](_0x2f65bb(this[_0x576fd4(0x2da)]['subscribe'](()=>{_0x4a8c90();})));}['_toggleOnline'](){const _0x45a655=_0xbc8ce8;var _0x2e6229,_0x512fad;if(this[_0x45a655(0x315)]=!0x0,((_0x2e6229=this[_0x45a655(0x16c)][_0x45a655(0x30e)]())==null?void 0x0:_0x2e6229[_0x45a655(0x1a0)]())!==this['unitID'])return;const _0x488775=(_0x512fad=this[_0x45a655(0x365)][_0x45a655(0x249)](_0x5e27b2)[_0x45a655(0x178)]())==null?void 0x0:_0x512fad[0x0],_0x568b26=this['_univerInstanceService']['getCurrentUnitForType'](_0x84c282[_0x45a655(0x32e)])['getActiveSheet']();_0x488775&&_0x568b26&&this[_0x45a655(0x1a1)](_0x568b26[_0x45a655(0x206)](),_0x488775);}[_0xbc8ce8(0x1f7)](){const _0x9fac06=_0xbc8ce8;this[_0x9fac06(0x315)]=!0x1;}};Me=Ui([x(0x2,_0x4c4c18(_0x38c8c2)),x(0x3,_0x4c4c18(He)),x(0x4,_0x4c4c18(_0x2e62f0)),x(0x5,_0x1e80d2),x(0x6,_0x538ee9),x(0x7,_0x4c4c18(_0x16c599))],Me);var wi=Object[_0xbc8ce8(0x247)],Ai=(_0x8237bd,_0xd3deba,_0x40707d,_0x3e042b)=>{const _0x18bff3=_0xbc8ce8;for(var _0x427195=_0x3e042b>0x1?void 0x0:_0x3e042b?wi(_0xd3deba,_0x40707d):_0xd3deba,_0x3b184c=_0x8237bd[_0x18bff3(0x32a)]-0x1,_0x32538f;_0x3b184c>=0x0;_0x3b184c--)(_0x32538f=_0x8237bd[_0x3b184c])&&(_0x427195=_0x32538f(_0x427195)||_0x427195);return _0x427195;},me=(_0x5d75d0,_0x1f6413)=>(_0x4749ec,_0x2007ff)=>_0x1f6413(_0x4749ec,_0x2007ff,_0x5d75d0);let F=class extends _0x2e4af9{constructor(_0x25b771,_0x2bdfed,_0x4382f9){const _0x421b31=_0xbc8ce8;super(),_(this,_0x421b31(0x1de),new Map()),_(this,_0x421b31(0x366),new _0x129b30()),(this[_0x421b31(0x16c)]=_0x25b771,this[_0x421b31(0x365)]=_0x2bdfed,this[_0x421b31(0x28f)]=_0x4382f9,this['_init']());}['dispose'](){const _0x534a82=_0xbc8ce8;super[_0x534a82(0x162)](),this[_0x534a82(0x366)][_0x534a82(0x253)](),this[_0x534a82(0x1de)][_0x534a82(0x2f4)](_0x1f1faa=>_0x1f1faa['dispose']());}[_0xbc8ce8(0x2ac)](_0x4d56ef){const _0x541c2c=_0xbc8ce8;return this['_entities'][_0x541c2c(0x24d)](_0x4d56ef)?this[_0x541c2c(0x1de)][_0x541c2c(0x249)](_0x4d56ef)['cursorInfo$']:this[_0x541c2c(0x366)][_0x541c2c(0x1e0)](_0x1c9f8e(_0x2078dd=>_0x2078dd[_0x541c2c(0x278)]===_0x4d56ef),_0x1da0d9(_0x5610a3=>_0x5610a3[_0x541c2c(0x231)]));}[_0xbc8ce8(0x16d)](){const _0x44c05a=_0xbc8ce8;this[_0x44c05a(0x16c)]['getTypeOfUnitAdded$'](_0x84c282[_0x44c05a(0x32e)])['pipe'](_0x483b0b(this[_0x44c05a(0x2ff)]))[_0x44c05a(0x19c)](async _0x20b4b9=>{const _0x2303c8=_0x44c05a,_0x2a90ec=_0x20b4b9[_0x2303c8(0x1a0)](),_0xf4b581=await this['_startSheetCollabCursor'](_0x2a90ec);this[_0x2303c8(0x366)]['next'](_0xf4b581),this['_entities'][_0x2303c8(0x1d2)](_0x2a90ec,_0xf4b581);}),this[_0x44c05a(0x16c)][_0x44c05a(0x2ed)](_0x84c282[_0x44c05a(0x239)])[_0x44c05a(0x1e0)](_0x483b0b(this['dispose$']))[_0x44c05a(0x1e0)](_0x1c9f8e(_0x41b898=>!_0x41b898['getUnitId']()[_0x44c05a(0x20b)]('__')))[_0x44c05a(0x19c)](async _0x370df9=>{const _0x25c961=_0x44c05a,_0x346388=_0x370df9[_0x25c961(0x1a0)](),_0x25f62f=await this[_0x25c961(0x203)](_0x346388);this[_0x25c961(0x366)]['next'](_0x25f62f),this[_0x25c961(0x1de)][_0x25c961(0x1d2)](_0x346388,_0x25f62f);}),_0x40dbc8(this['_univerInstanceService'][_0x44c05a(0x237)](_0x84c282[_0x44c05a(0x239)]),this[_0x44c05a(0x16c)][_0x44c05a(0x237)](_0x84c282['UNIVER_SHEET']))['pipe'](_0x483b0b(this[_0x44c05a(0x2ff)]))[_0x44c05a(0x19c)](_0x2013b2=>{const _0x37ffb5=_0x44c05a,_0x13d8e2=_0x2013b2[_0x37ffb5(0x1a0)](),_0x23b6d3=this[_0x37ffb5(0x1de)][_0x37ffb5(0x249)](_0x13d8e2);_0x23b6d3&&(_0x23b6d3['dispose'](),this['_entities']['delete'](_0x13d8e2));});}async[_0xbc8ce8(0x264)](_0x2b2203){const _0x21f405=_0xbc8ce8,_0x248294=await this[_0x21f405(0x28f)][_0x21f405(0x255)](_0x2b2203),_0x43b67f=this[_0x21f405(0x365)][_0x21f405(0x2f6)](Me,_0x2b2203,_0x248294);return _0x43b67f['init'](),_0x43b67f;}async[_0xbc8ce8(0x203)](_0xdf0c4d){const _0x36d174=_0xbc8ce8,_0x617afd=await this[_0x36d174(0x28f)][_0x36d174(0x255)](_0xdf0c4d),_0x13b624=this[_0x36d174(0x365)]['createInstance'](Ue,_0xdf0c4d,_0x617afd);return _0x13b624[_0x36d174(0x28b)](),_0x13b624;}};F=Ai([me(0x0,_0x1e80d2),me(0x1,_0x4c4c18(_0x38c8c2)),me(0x2,_0x4c4c18(_0x5cc36e))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x17204c,_0x431e3b){const _0x266ced=_0xbc8ce8;let {radius:_0x1c4cbd,width:_0x4c93cb,height:_0x8f7ec2}=_0x431e3b;_0x1c4cbd=_0x1c4cbd!=null?_0x1c4cbd:0x0,_0x4c93cb=_0x4c93cb!=null?_0x4c93cb:0x1e,_0x8f7ec2=_0x8f7ec2!=null?_0x8f7ec2:0x1e;let _0x2c39e5=0x0,_0xce743b=0x0,_0x5cbf12=0x0;_0x2c39e5=_0xce743b=_0x5cbf12=Math[_0x266ced(0x31d)](_0x1c4cbd,_0x4c93cb/0x2,_0x8f7ec2/0x2),_0x17204c['beginPath'](),_0x17204c[_0x266ced(0x2bf)](_0x2c39e5,0x0),_0x17204c[_0x266ced(0x22f)](_0x4c93cb-_0xce743b,0x0),_0x17204c[_0x266ced(0x348)](_0x4c93cb-_0xce743b,_0xce743b,_0xce743b,Math['PI']*0x3/0x2,0x0,!0x1),_0x17204c[_0x266ced(0x22f)](_0x4c93cb,_0x8f7ec2-_0x5cbf12),_0x17204c[_0x266ced(0x348)](_0x4c93cb-_0x5cbf12,_0x8f7ec2-_0x5cbf12,_0x5cbf12,0x0,Math['PI']/0x2,!0x1),_0x17204c[_0x266ced(0x22f)](0x0,_0x8f7ec2),_0x17204c[_0x266ced(0x22f)](0x0,_0x2c39e5),_0x17204c[_0x266ced(0x348)](_0x2c39e5,_0x2c39e5,_0x2c39e5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17204c['closePath'](),_0x431e3b['fill']&&(_0x17204c[_0x266ced(0x25d)](),_0x17204c['fillStyle']=_0x431e3b[_0x266ced(0x269)],_0x431e3b[_0x266ced(0x19d)]===_0x266ced(0x1b4)?_0x17204c[_0x266ced(0x269)](_0x266ced(0x1b4)):_0x17204c[_0x266ced(0x269)](),_0x17204c['restore']());}class ue extends _0x566451{constructor(_0x534ee8,_0x41122e){const _0x3dd0c9=_0xbc8ce8;super(_0x534ee8,_0x41122e),_(this,'color'),_(this,'text'),(this['color']=_0x41122e==null?void 0x0:_0x41122e[_0x3dd0c9(0x169)],this[_0x3dd0c9(0x27f)]=_0x41122e==null?void 0x0:_0x41122e['text']);}static['drawWith'](_0x2ec293,_0x40b360){const _0x487fec=_0xbc8ce8,{text:_0x136668,color:_0x236767}=_0x40b360;_0x2ec293[_0x487fec(0x25d)](),_0x2ec293[_0x487fec(0x347)]=_0x487fec(0x346);const _0x3f89e9=_0x2ec293[_0x487fec(0x1a6)](_0x136668)[_0x487fec(0x2a9)],_0x10a924=Math[_0x487fec(0x31d)](_0x3f89e9+0x2*Ie,Qe);$i(_0x2ec293,{'height':J,'radius':0x4,'width':_0x10a924,'fill':_0x236767}),_0x2ec293[_0x487fec(0x19a)]='#FFF';const _0x9d205c=Ie,_0x40303d=J-yi,_0x198421=Qe-0x2*Ie;if(_0x3f89e9>_0x198421){let _0x53cff0='',_0x29d4e8=0x0;for(const _0xac466b of _0x136668){const _0x2e59a0=_0x2ec293['measureText'](_0xac466b)[_0x487fec(0x2a9)];if(_0x29d4e8+_0x2e59a0<=_0x198421-_0x2ec293[_0x487fec(0x1a6)](_0x487fec(0x363))[_0x487fec(0x2a9)])_0x53cff0+=_0xac466b,_0x29d4e8+=_0x2e59a0;else{_0x53cff0+=_0x487fec(0x363);break;}}_0x2ec293[_0x487fec(0x274)](_0x53cff0,_0x9d205c,_0x40303d);}else _0x2ec293['fillText'](_0x136668,_0x9d205c,_0x40303d);_0x2ec293[_0x487fec(0x318)]();}['_draw'](_0x411a1b){const _0x1db596=_0xbc8ce8;ue[_0x1db596(0x279)](_0x411a1b,this);}}const ve=_0xbc8ce8(0x259),xi=_0xbc8ce8(0x286),Bi=_0xbc8ce8(0x311),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0xbc8ce8(0x282);class qe{constructor(_0x50b74a,_0x449210,_0x463efd,_0x213103){const _0x38e500=_0xbc8ce8;_(this,_0x38e500(0x1e7),[]),_(this,'_anchor',null),_(this,_0x38e500(0x340),null),_(this,_0x38e500(0x226),null),_(this,_0x38e500(0x1e1),null),_(this,_0x38e500(0x354),null),(this[_0x38e500(0x364)]=_0x50b74a,this['_scene']=_0x449210,this['_docSkeleton']=_0x463efd,this[_0x38e500(0x310)]=_0x213103,this['_render']());}set[_0xbc8ce8(0x174)](_0x5320c3){const _0x19b953=_0xbc8ce8;_0x5320c3?(this[_0x19b953(0x226)]&&this[_0x19b953(0x226)][_0x19b953(0x2ee)](),this[_0x19b953(0x340)]&&this[_0x19b953(0x340)]['show']()):(this[_0x19b953(0x226)]&&this['_anchorDot'][_0x19b953(0x26f)](),this[_0x19b953(0x340)]&&this[_0x19b953(0x340)][_0x19b953(0x2ee)]());}[_0xbc8ce8(0x162)](){const _0x14371d=_0xbc8ce8;for(const _0x62d699 of this[_0x14371d(0x1e7)])_0x62d699[_0x14371d(0x162)]();this[_0x14371d(0x340)]&&this['_textBubble'][_0x14371d(0x162)](),this[_0x14371d(0x226)]&&this['_anchorDot'][_0x14371d(0x162)](),this['_anchor']&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0xbc8ce8(0x276)](){const _0x3a6dc2=_0xbc8ce8;var _0x31ddcb;const {_docSkeleton:_0x3b3ce9,_document:_0x29abc1}=this,{color:_0x5c37fa,name:_0x42ea9f,ranges:_0x5715e4}=this[_0x3a6dc2(0x364)],_0x24b14e=_0x29abc1[_0x3a6dc2(0x27b)](),{docsLeft:_0x52a06b,docsTop:_0x3fc4c8}=_0x24b14e,_0x572228=new _0x19d17a(_0x24b14e,_0x3b3ce9);for(const {startOffset:_0x14d549,endOffset:_0x49d5d1,rangeType:_0xd945e8,segmentId:_0x28f635,segmentPage:_0x492896,collapsed:_0x12030b,isActive:_0x4dfdb4}of _0x5715e4){const _0x2fc449=_0x3b3ce9[_0x3a6dc2(0x236)](_0x14d549,!0x0,_0x28f635,_0x492896);let _0x32c695=_0x3b3ce9[_0x3a6dc2(0x236)](_0x49d5d1,!0x0,_0x28f635,_0x492896);if(_0x32c695==null&&(_0x32c695=_0x3b3ce9[_0x3a6dc2(0x236)](_0x49d5d1-0x1,!0x1,_0x28f635,_0x492896)),_0x4dfdb4){const {contentBoxPointGroup:_0xf3380e}=_0x572228[_0x3a6dc2(0x31e)](_0x32c695,_0x32c695);if(_0xf3380e[_0x3a6dc2(0x32a)]===0x0)continue;this[_0x3a6dc2(0x332)](_0x5c37fa,_0xf3380e,_0x52a06b,_0x3fc4c8,_0x42ea9f),this['_eventUnsubscribe']=this[_0x3a6dc2(0x280)]();}if(_0x2fc449&&_0x32c695){if(_0xd945e8===_0x51e0ba[_0x3a6dc2(0x350)]){const _0x95efc3=new _0x3aa295(_0x24b14e,_0x3b3ce9),{pointGroup:_0x1e3bfc}=(_0x31ddcb=_0x95efc3[_0x3a6dc2(0x31e)](_0x2fc449,_0x32c695))!=null?_0x31ddcb:{};if(_0x1e3bfc==null||_0x1e3bfc[_0x3a6dc2(0x32a)]===0x0)continue;this[_0x3a6dc2(0x209)](_0x5c37fa,_0x1e3bfc,_0x52a06b,_0x3fc4c8);}else{if(!_0x12030b){const {borderBoxPointGroup:_0x37f336}=_0x572228['getRangePointData'](_0x2fc449,_0x32c695);if(_0x37f336[_0x3a6dc2(0x32a)]===0x0)continue;this[_0x3a6dc2(0x33e)](_0x5c37fa,_0x37f336,_0x52a06b,_0x3fc4c8);}}}}}[_0xbc8ce8(0x332)](_0xb0976e,_0x6ed267,_0x4251a9,_0x1dc980,_0x3c9f87){const _0x11cfd3=_0xbc8ce8,_0x1f8777=this[_0x11cfd3(0x25b)](_0x6ed267),{left:_0x3525f3,top:_0x1b2e53,height:_0x2f4184}=_0x1f8777,_0x14009b=this[_0x11cfd3(0x214)](),_0x558b32=Hi/_0x14009b,_0xacdeaa=new _0x656be9(ve+_0x396ac3(K),{'left':_0x3525f3+_0x4251a9-_0x558b32,'top':_0x1b2e53+_0x1dc980,'height':_0x2f4184,'width':ki,'fill':_0xb0976e||_0x1d79a4(_0x538c08[_0x11cfd3(0x352)],0x0),'strokeWidth':_0x558b32,'stroke':Fi,'evented':!0x0});this[_0x11cfd3(0x26c)]=_0xacdeaa,this[_0x11cfd3(0x245)][_0x11cfd3(0x316)](_0xacdeaa,_0xb48db7);const _0x266fcb=new _0x656be9(ve+_0x396ac3(K),{'left':_0x3525f3+_0x4251a9-_0x558b32,'top':_0x1b2e53+_0x1dc980-ge/0x2,'height':ge,'width':ge,'fill':_0xb0976e||_0x1d79a4(_0x538c08['black'],0x0),'strokeWidth':0x0,'stroke':_0xb0976e||_0x1d79a4(_0x538c08[_0x11cfd3(0x352)],0x0),'evented':!0x1});this[_0x11cfd3(0x226)]=_0x266fcb,this['_scene'][_0x11cfd3(0x316)](_0x266fcb,_0xb48db7);const _0x2a785c=new ue(ve+_0x396ac3(K),{'left':_0x3525f3+_0x4251a9-_0x558b32,'top':_0x1b2e53+_0x1dc980-J,'text':_0x3c9f87,'color':_0xb0976e});this[_0x11cfd3(0x340)]=_0x2a785c,this[_0x11cfd3(0x245)][_0x11cfd3(0x316)](_0x2a785c,_0xb48db7),this['_hover']=!0x1;}[_0xbc8ce8(0x280)](){const _0x1e0d3f=_0xbc8ce8,_0x1d9642=this[_0x1e0d3f(0x26c)][_0x1e0d3f(0x191)][_0x1e0d3f(0x1d5)](()=>{const _0x124495=_0x1e0d3f;this[_0x124495(0x174)]=!0x0;}),_0x4e9f86=this['_anchor'][_0x1e0d3f(0x2b0)][_0x1e0d3f(0x1d5)](()=>{const _0x34d698=_0x1e0d3f;this[_0x34d698(0x1e1)]&&clearTimeout(this['_hideTimer']),this[_0x34d698(0x1e1)]=setTimeout(()=>{const _0xb592bf=_0x34d698;this[_0xb592bf(0x174)]=!0x1;},0x7d0);});return()=>{const _0x2e78a0=_0x1e0d3f;_0x1d9642[_0x2e78a0(0x30b)](),_0x4e9f86[_0x2e78a0(0x30b)]();};}[_0xbc8ce8(0x33e)](_0x50f3b6,_0x4747cd,_0x2fec37,_0x508d2b){const _0x4890f8=_0xbc8ce8,_0x57f17b=new _0x1dcd8c(_0x50f3b6)[_0x4890f8(0x256)](0.2)['toRgbString'](),_0x14ee0a=new _0x27544d(xi+_0x396ac3(K),{'pointsGroup':_0x4747cd,'fill':_0x57f17b||_0x1d79a4(_0x538c08[_0x4890f8(0x352)],0.2),'left':_0x2fec37,'top':_0x508d2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4890f8(0x1e7)]['push'](_0x14ee0a),this['_scene']['addObject'](_0x14ee0a,_0xb48db7);}[_0xbc8ce8(0x209)](_0x2ad88e,_0x3a3485,_0x2ef868,_0x2a7468){const _0x13771e=_0xbc8ce8,_0x2dc8f0=new _0x1dcd8c(_0x2ad88e)[_0x13771e(0x256)](0.2)[_0x13771e(0x31b)](),_0x45e8e4=new _0x27544d(Bi+_0x396ac3(K),{'pointsGroup':_0x3a3485,'fill':_0x2dc8f0||_0x1d79a4(_0x538c08[_0x13771e(0x352)],0.2),'left':_0x2ef868,'top':_0x2a7468,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13771e(0x1e7)][_0x13771e(0x321)](_0x45e8e4),this[_0x13771e(0x245)]['addObject'](_0x45e8e4,_0xb48db7);}[_0xbc8ce8(0x25b)](_0x3e3a4a){const _0x3455e3=_0x3e3a4a[0x0],_0x33f3e9=_0x3455e3[0x0],_0x384d46=_0x3455e3[0x2],{x:_0x36c5d6,y:_0x3e310c}=_0x33f3e9,{x:_0x120a03,y:_0x136af2}=_0x384d46;return{'left':_0x36c5d6,'top':_0x3e310c,'width':_0x120a03-_0x36c5d6,'height':_0x136af2-_0x3e310c};}[_0xbc8ce8(0x214)](){const _0x4af0a6=_0xbc8ce8,{scaleX:_0x571372,scaleY:_0x1a1b9e}=this['_scene'][_0x4af0a6(0x195)]();return Math[_0x4af0a6(0x1fc)](_0x571372,_0x1a1b9e);}}var Yi=Object[_0xbc8ce8(0x247)],ji=(_0x698cee,_0x48eafa,_0x2238f7,_0x1df997)=>{for(var _0x11f1e8=_0x1df997>0x1?void 0x0:_0x1df997?Yi(_0x48eafa,_0x2238f7):_0x48eafa,_0x30998a=_0x698cee['length']-0x1,_0x5ccf1d;_0x30998a>=0x0;_0x30998a--)(_0x5ccf1d=_0x698cee[_0x30998a])&&(_0x11f1e8=_0x5ccf1d(_0x11f1e8)||_0x11f1e8);return _0x11f1e8;},ee=(_0x58cc24,_0xdcaa44)=>(_0x2105f0,_0x325ac4)=>_0xdcaa44(_0x2105f0,_0x325ac4,_0x58cc24);let Le=class extends _0x2e4af9{constructor(_0x2cf4df,_0x2a332c,_0x257ab3,_0x46ba1c,_0x2aa979){const _0x46fdde=_0xbc8ce8;super(),_(this,_0x46fdde(0x295),[]),_(this,_0x46fdde(0x303),[]),(this[_0x46fdde(0x205)]=_0x2cf4df,this[_0x46fdde(0x189)]=_0x2a332c,this[_0x46fdde(0x25e)]=_0x257ab3,this[_0x46fdde(0x28d)]=_0x46ba1c,this[_0x46fdde(0x183)]=_0x2aa979,this['_init']());}[_0xbc8ce8(0x16d)](){const _0x5cee1e=_0xbc8ce8,_0x1ab29f=this[_0x5cee1e(0x205)]['unitId'],_0x3df69d=this[_0x5cee1e(0x189)];this[_0x5cee1e(0x1f2)](_0x4b65c9([this[_0x5cee1e(0x25e)][_0x5cee1e(0x2ac)](_0x1ab29f),this[_0x5cee1e(0x183)][_0x5cee1e(0x1f6)]])[_0x5cee1e(0x1e0)](_0x52690a(([_0x202ae6,_0x54f7f2])=>({'skeleton':_0x3df69d[_0x5cee1e(0x219)](),'cursors':[..._0x202ae6[_0x5cee1e(0x266)]()][_0x5cee1e(0x2ef)](_0xae6c40=>({..._0xae6c40,'color':this[_0x5cee1e(0x183)][_0x5cee1e(0x170)](_0xae6c40[_0x5cee1e(0x169)])}))})))[_0x5cee1e(0x19c)](_0x106ca9=>{const _0x2a58ae=_0x5cee1e;if(this[_0x2a58ae(0x2dc)](),_0x106ca9){const {skeleton:_0x1c4826,cursors:_0x37a238}=_0x106ca9;this['_updateCollabCursors'](_0x1c4826,_0x37a238);}})),this[_0x5cee1e(0x2fa)](),this[_0x5cee1e(0x168)]();}[_0xbc8ce8(0x17f)](_0x1ceee9,_0x199e9e){const _0x313f8f=_0xbc8ce8,{scene:_0x4a8a82,mainComponent:_0xedf1b0}=this['_context'],_0x13d28b=_0x199e9e[_0x313f8f(0x2d0)](_0x206b66=>new qe(_0x206b66,_0x4a8a82,_0x1ceee9,_0xedf1b0));this['_cursorShapes']=_0x13d28b,this[_0x313f8f(0x303)]=_0x199e9e;}[_0xbc8ce8(0x26b)](){const _0x931bda=_0xbc8ce8;this[_0x931bda(0x2dc)]();const {scene:_0x4362b0,mainComponent:_0x1bb6f9}=this[_0x931bda(0x205)],_0x616bc7=this['_docSkeletonManagerService']['getSkeleton'](),_0x4a0789=this[_0x931bda(0x303)][_0x931bda(0x2d0)](_0x120262=>new qe(_0x120262,_0x4362b0,_0x616bc7,_0x1bb6f9));this[_0x931bda(0x295)]=_0x4a0789;}['_removeCollabCursors'](){const _0x23a052=_0xbc8ce8;this[_0x23a052(0x295)][_0x23a052(0x2f4)](_0x5f5a61=>_0x5f5a61[_0x23a052(0x162)]()),this[_0x23a052(0x295)]=[];}[_0xbc8ce8(0x168)](){const _0x357ce9=_0xbc8ce8,_0x4543ab=[_0x24991a['id']];this[_0x357ce9(0x1f2)](this[_0x357ce9(0x28d)]['onCommandExecuted'](_0x5b40a3=>{const _0x2ed989=_0x357ce9;_0x4543ab[_0x2ed989(0x2b9)](_0x5b40a3['id'])&&_0x5b40a3['params'][_0x2ed989(0x1c6)]===this['_context'][_0x2ed989(0x1c6)]&&this[_0x2ed989(0x26b)]();}));}[_0xbc8ce8(0x2fa)](){const _0x473fed=_0xbc8ce8;this[_0x473fed(0x1f2)](_0x58863a(this[_0x473fed(0x205)]['engine'][_0x473fed(0x254)])[_0x473fed(0x1e0)](_0x678038(_0x403548=>_0x403548[_0x473fed(0x2c5)]===_0x210c87[_0x473fed(0x172)]),_0x127c2e(0x10))[_0x473fed(0x19c)](()=>{const _0x567e74=_0x473fed;this[_0x567e74(0x26b)]();}));}};Le=ji([ee(0x1,_0x4c4c18(_0x28db62)),ee(0x2,_0x4c4c18(F)),ee(0x3,_0x538ee9),ee(0x4,_0x4c4c18(_0x2fb60d))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x566451{constructor(_0x5949e8,_0x41efb9){const _0x551ce3=_0xbc8ce8;super(_0x5949e8,_0x41efb9),_(this,_0x551ce3(0x314)),_(this,'_hovered',!0x1),_(this,_0x551ce3(0x1d4)),_(this,'_name',''),_(this,_0x551ce3(0x2d9),_0x551ce3(0x2ba)),_(this,_0x551ce3(0x210)),(_0x41efb9&&this[_0x551ce3(0x334)](_0x41efb9),this[_0x551ce3(0x191)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x551ce3(0x2b0)][_0x551ce3(0x1d5)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xe1014){const _0x452c96=_0xbc8ce8;var _0x301abe,_0x39d2a4,_0x2206e3,_0x3190bf,_0x5a52b8,_0x471418;this[_0x452c96(0x314)]=(_0x301abe=_0xe1014[_0x452c96(0x169)])!=null?_0x301abe:this[_0x452c96(0x314)],this[_0x452c96(0x265)]=(_0x39d2a4=_0xe1014['hovered'])!=null?_0x39d2a4:this['_hovered'],this['_range']=(_0x2206e3=_0xe1014[_0x452c96(0x207)])!=null?_0x2206e3:this[_0x452c96(0x1d4)],this['_name']=(_0x3190bf=_0xe1014[_0x452c96(0x2ea)])!=null?_0x3190bf:this[_0x452c96(0x268)],this[_0x452c96(0x2d9)]=(_0x5a52b8=_0xe1014[_0x452c96(0x1e6)])!=null?_0x5a52b8:this[_0x452c96(0x2d9)],this[_0x452c96(0x210)]=(_0x471418=_0xe1014['backgroundColor'])!=null?_0x471418:this[_0x452c96(0x210)],this['transformByState']({'width':_0xe1014[_0x452c96(0x2a9)],'height':_0xe1014[_0x452c96(0x2cf)]});}[_0xbc8ce8(0x258)](_0x4d2d8a){const _0x1b71d3=_0xbc8ce8,{row:_0x4a556b,column:_0x14968a}=_0x4d2d8a;if(_0x4a556b>=this['_range'][_0x1b71d3(0x2b4)]&&_0x4a556b<=this['_range'][_0x1b71d3(0x17b)]&&_0x14968a>=this['_range']['startColumn']&&_0x14968a<=this[_0x1b71d3(0x1d4)][_0x1b71d3(0x21b)]){this[_0x1b71d3(0x334)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x520e3a){return!0x1;}['_draw'](_0x2db056){const _0x8e78f6=_0xbc8ce8;_0x656be9['drawWith'](_0x2db056,{'width':this[_0x8e78f6(0x2a9)],'height':this[_0x8e78f6(0x2cf)],'strokeWidth':Wi,'stroke':this[_0x8e78f6(0x314)],'evented':!0x1,'fill':this[_0x8e78f6(0x210)]}),this[_0x8e78f6(0x265)]&&(_0x2db056[_0x8e78f6(0x25d)](),_0x2db056[_0x8e78f6(0x208)](0x1,0x0,0x0,0x1,this['width'],this[_0x8e78f6(0x2d9)]===_0x8e78f6(0x1c1)?0x0:-J),ue['drawWith'](_0x2db056,{'text':this['_name'],'color':this[_0x8e78f6(0x314)]}),_0x2db056[_0x8e78f6(0x318)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x3770fe,_0x20ec9b,_0x4bf278,_0x5582bb)=>{const _0x3a5cb7=_0xbc8ce8;for(var _0x78d88d=_0x5582bb>0x1?void 0x0:_0x5582bb?Gi(_0x20ec9b,_0x4bf278):_0x20ec9b,_0x1e2c9c=_0x3770fe[_0x3a5cb7(0x32a)]-0x1,_0x151766;_0x1e2c9c>=0x0;_0x1e2c9c--)(_0x151766=_0x3770fe[_0x1e2c9c])&&(_0x78d88d=_0x151766(_0x78d88d)||_0x78d88d);return _0x78d88d;},pe=(_0x2b751a,_0x5cfce0)=>(_0x3b0f63,_0x30dfa7)=>_0x5cfce0(_0x3b0f63,_0x30dfa7,_0x2b751a);const zi=0x1389;let Pe=class extends _0x2e4af9{constructor(_0x5ce7f3,_0x2284eb,_0x491eca,_0x35ef76){const _0x527bc2=_0xbc8ce8;super(),_(this,_0x527bc2(0x303),new Set()),_(this,_0x527bc2(0x2e0),null),(this[_0x527bc2(0x205)]=_0x5ce7f3,this[_0x527bc2(0x2d8)]=_0x2284eb,this[_0x527bc2(0x25e)]=_0x491eca,this['_themeService']=_0x35ef76,this[_0x527bc2(0x16d)]());}['_init'](){const _0x3acc52=_0xbc8ce8;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x1c6ff5(this['dispose$']),_0x1e8c1e(_0x4f3b48=>{const _0x2114c3=_0xa1fb;if(_0x4f3b48){const _0x51dfc2=_0x4f3b48[_0x2114c3(0x246)];return _0x4b65c9(this[_0x2114c3(0x25e)][_0x2114c3(0x2ac)](this[_0x2114c3(0x205)][_0x2114c3(0x1c6)]),this[_0x2114c3(0x183)]['currentTheme$'])[_0x2114c3(0x1e0)](_0x52690a(([_0x4efe0c,_0x49726b])=>{const _0x3f7d91=new Map();return _0x4efe0c['forEach']((_0x4d5f78,_0x3a0bd7)=>{const _0x1d6699=_0xa1fb;if(_0x4d5f78[_0x1d6699(0x240)]===_0x51dfc2){const _0x4b9fe2={..._0x4d5f78};_0x4b9fe2[_0x1d6699(0x169)]=this[_0x1d6699(0x183)][_0x1d6699(0x170)](_0x4d5f78[_0x1d6699(0x169)]),_0x3f7d91['set'](_0x3a0bd7,_0x4b9fe2);}}),{'skeleton':_0x4f3b48,'cursors':_0x3f7d91};}));}return _0x43fdef({'skeleton':null,'cursors':new Map()});}))[_0x3acc52(0x19c)](({skeleton:_0x390626,cursors:_0x1bb0ad})=>{const _0x3359d2=_0x3acc52;this[_0x3359d2(0x2dc)](),_0x390626&&this['_updateCollabCursors'](_0x390626,_0x1bb0ad);}),this['_sheetSkeletonManagerService'][_0x3acc52(0x225)][_0x3acc52(0x19c)](_0x1b87ab=>{const _0x53dc3c=_0x3acc52;if(_0x1b87ab==null)return;const {skeleton:_0x3bb3d9}=_0x1b87ab,{scene:_0x2326f2}=this[_0x53dc3c(0x205)];_0x2326f2[_0x53dc3c(0x25a)]['subscribeEvent'](_0x55fa07(_0x17170a=>{const _0x27bc94=_0x53dc3c;var _0x48894b,_0x381cd6;const {offsetX:_0x47cedb,offsetY:_0x590670}=_0x17170a,{x:_0x1778d5,y:_0x11d456}=_0x2326f2[_0x27bc94(0x34b)](_0x2ed24e[_0x27bc94(0x165)]([_0x47cedb,_0x590670])),{scaleX:_0x3bddd0,scaleY:_0x1705c6}=_0x2326f2[_0x27bc94(0x195)](),_0x4426ef=_0x2326f2[_0x27bc94(0x2ad)](_0x2ca137[_0x27bc94(0x2e4)]),_0x9d1860=_0x2326f2[_0x27bc94(0x2f1)](_0x2ed24e[_0x27bc94(0x165)]([_0x1778d5,_0x11d456]),_0x4426ef),_0x286c3d=_0x3bb3d9[_0x27bc94(0x2e8)](_0x47cedb,_0x590670,_0x3bddd0,_0x1705c6,_0x9d1860);((_0x48894b=this[_0x27bc94(0x2e0)])==null?void 0x0:_0x48894b['column'])===_0x286c3d[_0x27bc94(0x2d5)]&&((_0x381cd6=this[_0x27bc94(0x2e0)])==null?void 0x0:_0x381cd6['row'])===_0x286c3d[_0x27bc94(0x24a)]||this[_0x27bc94(0x303)][_0x27bc94(0x2f4)](_0xb81eed=>{const _0x3c94e6=_0x27bc94;_0xb81eed[_0x3c94e6(0x258)](_0x286c3d);});},0x64));});}[_0xbc8ce8(0x17f)](_0x3fe7e4,_0x2ca5cd){const _0xc268fa=_0xbc8ce8;var _0x5990c4;const _0x2f4d4c=(_0x5990c4=this[_0xc268fa(0x2d8)][_0xc268fa(0x19e)]())==null?void 0x0:_0x5990c4[_0xc268fa(0x35d)];if(!_0x2f4d4c)return;const _0x1ca2f1=this[_0xc268fa(0x29c)]();if(!_0x1ca2f1)return;this['_cursors'][_0xc268fa(0x2f4)](_0x3c2f73=>{const _0x8ca230=_0xc268fa;_0x3c2f73[_0x8ca230(0x2f3)]();});const {scene:_0x212640}=_0x1ca2f1,_0x19dbee=Ji(Array[_0xc268fa(0x1fd)](_0x2ca5cd[_0xc268fa(0x266)]()))[_0xc268fa(0x2d0)](_0x424deb=>{const _0x59e006=_0xc268fa,{color:_0x22e1f7,range:_0x4e7527,name:_0x537707,selection:_0x37b31e,sheetID:_0x3b5b6c}=_0x424deb,{startColumn:_0x20d4ed,startRow:_0x31796f,endColumn:_0x444d4b,endRow:_0x140a3e}=_0x4e7527,_0x5c56b3=_0x37c667(_0x31796f,_0x20d4ed,_0x212640,_0x2f4d4c),_0x50c59b=_0x37c667(_0x140a3e,_0x444d4b,_0x212640,_0x2f4d4c),{columnHeaderHeightAndMarginTop:_0x4c9eaf}=_0x2f4d4c,{startX:_0x597d,startY:_0x2f17b1}=_0x5c56b3,{endX:_0x164a03,endY:_0x139b5f}=_0x50c59b,_0x35e8fa=_0x164a03-_0x597d,_0x5d8a1b=_0x139b5f-_0x2f17b1,_0x5ab381={'labelPosition':_0x2f17b1-_0x4c9eaf>=J?_0x59e006(0x2ba):'bottom','sheetID':_0x3b5b6c,'range':_0x4e7527,'color':_0x22e1f7,'name':_0x537707,'selection':_0x37b31e,'left':_0x597d,'top':_0x2f17b1,'width':_0x35e8fa,'height':_0x5d8a1b,'evented':!0x1,'zIndex':zi};return new Xi(_0x537707,_0x5ab381);});_0x212640[_0xc268fa(0x1a7)](_0x19dbee,Vi),this[_0xc268fa(0x303)]=new Set(_0x19dbee);}[_0xbc8ce8(0x2dc)](){const _0x63b33e=_0xbc8ce8;var _0x4d93cd;(_0x4d93cd=this['_cursors'])==null||_0x4d93cd[_0x63b33e(0x2f4)](_0x207c64=>_0x207c64['dispose']());}['_getSheetObject'](){const _0x554619=_0xbc8ce8;return _0x5c1b9e(this[_0x554619(0x205)][_0x554619(0x1b3)],this[_0x554619(0x205)]);}};Pe=Ki([pe(0x1,_0x4c4c18(_0x316b2c)),pe(0x2,_0x4c4c18(F)),pe(0x3,_0x4c4c18(_0x2fb60d))],Pe);function Ji(_0x41fd32){const _0x57d459=_0xbc8ce8,_0x4a6fc9=new Map();return _0x41fd32['forEach'](_0x13c9c8=>{const _0x49e878=_0xa1fb;if(_0x4a6fc9['has'](_0x13c9c8[_0x49e878(0x31a)])){const _0x5188f8=_0x4a6fc9[_0x49e878(0x249)](_0x13c9c8[_0x49e878(0x31a)]);_0x5188f8[_0x49e878(0x2ea)]+=',\x20'+_0x13c9c8[_0x49e878(0x2ea)];}else _0x4a6fc9[_0x49e878(0x1d2)](_0x13c9c8['selection'],_0x13c9c8);}),Array[_0x57d459(0x1fd)](_0x4a6fc9[_0x57d459(0x266)]());}var Zi=Object[_0xbc8ce8(0x247)],Qi=(_0x332006,_0x97a4d3,_0xcbe7b6,_0x5e8b1c)=>{const _0x1b78ed=_0xbc8ce8;for(var _0x3110cc=_0x5e8b1c>0x1?void 0x0:_0x5e8b1c?Zi(_0x97a4d3,_0xcbe7b6):_0x97a4d3,_0x25fe20=_0x332006[_0x1b78ed(0x32a)]-0x1,_0x2a9dfd;_0x25fe20>=0x0;_0x25fe20--)(_0x2a9dfd=_0x332006[_0x25fe20])&&(_0x3110cc=_0x2a9dfd(_0x3110cc)||_0x3110cc);return _0x3110cc;},B=(_0x585f3,_0x189b9b)=>(_0x2f25b1,_0x5e1321)=>_0x189b9b(_0x2f25b1,_0x5e1321,_0x585f3);let ne=class extends _0x580868{constructor(_0x4f2e27,_0x103312,_0x466ba9,_0x47c53f,_0x5e3a74,_0x359e20){const _0x22de71=_0xbc8ce8;super(),this[_0x22de71(0x1f1)]=_0x4f2e27,this['_localCacheService']=_0x103312,this[_0x22de71(0x200)]=_0x466ba9,this[_0x22de71(0x2d6)]=_0x47c53f,this[_0x22de71(0x2a2)]=_0x5e3a74,this[_0x22de71(0x2a5)]=_0x359e20,this[_0x22de71(0x289)](),this[_0x22de71(0x34d)]();}[_0xbc8ce8(0x289)](){const _0x28f24e=_0xbc8ce8;this[_0x28f24e(0x1f2)](this[_0x28f24e(0x1f1)][_0x28f24e(0x358)](()=>{const _0x5211ac=_0x28f24e;if(this[_0x5211ac(0x2b6)][_0x5211ac(0x1af)]['size'])return this[_0x5211ac(0x2a5)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xbc8ce8(0x34d)](){const _0x4d191d=_0xbc8ce8;this[_0x4d191d(0x1f2)](this[_0x4d191d(0x200)][_0x4d191d(0x22a)]['subscribe'](_0x4299aa=>{const _0x4fa168=_0x4d191d;_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x229)]&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf['Warning'],'content':this[_0x4fa168(0x2a5)]['t']('collaboration.single-unit.warning')}),_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x1ea)]&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf[_0x4fa168(0x24f)],'content':this[_0x4fa168(0x2a5)]['t']('collaboration.closeRoom')}),_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x2ae)]&&this[_0x4fa168(0x2a2)][_0x4fa168(0x26f)]({'title':this['_localeService']['t'](_0x4fa168(0x196)),'content':this[_0x4fa168(0x2a5)]['t'](_0x4fa168(0x351)),'type':'error','duration':0x0}),_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x23e)]&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf['Error'],'content':this[_0x4fa168(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4299aa[_0x4fa168(0x338)]+')'}),_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x2cb)]&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf[_0x4fa168(0x24f)],'content':this[_0x4fa168(0x2a5)]['t'](_0x4299aa[_0x4fa168(0x338)]||'')}),_0x4299aa['id']===_0x2e0d4b['SOCKET_FAILED_RETRY']&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf['Warning'],'content':this[_0x4fa168(0x2a5)]['t'](_0x4fa168(0x164))}),_0x4299aa['id']===_0x2e0d4b['SOCKET_FAILED']&&this[_0x4fa168(0x2d6)][_0x4fa168(0x26f)]({'type':_0x38afbf[_0x4fa168(0x1a9)],'content':this[_0x4fa168(0x2a5)]['t']('session.connection-failed')}),_0x4299aa['id']===_0x2e0d4b[_0x4fa168(0x33d)]&&this['_messageService'][_0x4fa168(0x26f)]({'type':_0x38afbf['Error'],'content':this[_0x4fa168(0x2a5)]['t'](_0x4fa168(0x2f8))});}));}};ne=Qi([B(0x0,_0x254688),B(0x1,_0x3d421e),B(0x2,_0x4c4c18(_0x4971c4)),B(0x3,_0x346b81),B(0x4,_0x7dfe6c),B(0x5,_0x4c4c18(_0x467da4))],ne);const qi=_0xbc8ce8(0x212),et={};var en=Object[_0xbc8ce8(0x247)],tn=(_0x32a448,_0x39096e,_0x614cf2,_0x4c922b)=>{const _0x421ab7=_0xbc8ce8;for(var _0x42a39e=_0x4c922b>0x1?void 0x0:_0x4c922b?en(_0x39096e,_0x614cf2):_0x39096e,_0x22e42d=_0x32a448[_0x421ab7(0x32a)]-0x1,_0x9f814c;_0x22e42d>=0x0;_0x22e42d--)(_0x9f814c=_0x32a448[_0x22e42d])&&(_0x42a39e=_0x9f814c(_0x42a39e)||_0x42a39e);return _0x42a39e;},tt=(_0x340158,_0x28230a)=>(_0x297dae,_0x59b277)=>_0x28230a(_0x297dae,_0x59b277,_0x340158);let re=class{constructor(_0x8b76cf,_0x21e83c){const _0x25792a=_0xbc8ce8;this[_0x25792a(0x163)]=_0x8b76cf,this[_0x25792a(0x1ed)]=_0x21e83c;}[_0xbc8ce8(0x2b3)](_0x43e485){const _0x43968d=_0xbc8ce8;this[_0x43968d(0x19f)](_0x43e485),this[_0x43968d(0x31f)](_0x43e485);}[_0xbc8ce8(0x302)](_0x34fb0a){const _0x2865aa=_0xbc8ce8,{unitID:_0x5824bc}=_0x34fb0a,_0x6f295=this[_0x2865aa(0x1ed)][_0x2865aa(0x2de)](_0x5824bc)[_0x2865aa(0x16a)](_0x462dca),{redoCache:_0x131401}=_0x6f295[_0x2865aa(0x2e6)]();if(_0x131401['length']===0x0)return _0x34fb0a;let _0x3bdee1=_0x40cd1d['deepClone'](_0x34fb0a['mutations'][0x0]);for(let _0x6ebe10=0x0;_0x6ebe10<_0x131401[_0x2865aa(0x32a)];_0x6ebe10++){const _0x25b46b={'id':'doc.mutation.rich-text-editing','params':{..._0x131401[_0x6ebe10]}},_0x361ef4=this[_0x2865aa(0x163)][_0x2865aa(0x1d1)](_0x3bdee1,_0x25b46b,!0x1);if(_0x53e2cc(_0x361ef4))throw _0x361ef4[_0x2865aa(0x1fe)];_0x3bdee1=_0x361ef4[_0x2865aa(0x218)];}return{..._0x40cd1d[_0x2865aa(0x1bb)](_0x34fb0a),'mutations':[_0x3bdee1]};}[_0xbc8ce8(0x19f)](_0x4ffef5){const _0x36876c=_0xbc8ce8,{unitID:_0x40fcf1}=_0x4ffef5,_0x3fc2ae=this[_0x36876c(0x1ed)][_0x36876c(0x2de)](_0x40fcf1)['with'](_0x462dca),{undoCache:_0x9adff1,redoCache:_0x355122}=_0x3fc2ae['getUndoRedoMutationParamsCache']();if(_0x9adff1[_0x36876c(0x32a)]===0x0||_0x355122[_0x36876c(0x32a)]===0x0)return;const _0x235952=[],_0x459db1=[];let _0xa2d135=_0x40cd1d[_0x36876c(0x1bb)](_0x4ffef5[_0x36876c(0x345)][0x0]),_0x5ea783=_0x40cd1d[_0x36876c(0x1bb)](_0x4ffef5['mutations'][0x0]);for(let _0x154aec=_0x9adff1[_0x36876c(0x32a)]-0x1;_0x154aec>=0x0;_0x154aec--){const _0x9a08b0={'id':_0x36876c(0x1f4),'params':{..._0x9adff1[_0x154aec]}},_0x4d5bd8={'id':'doc.mutation.rich-text-editing','params':{..._0x355122[_0x154aec]}},_0x35d109=this[_0x36876c(0x163)][_0x36876c(0x1d1)](_0xa2d135,_0x9a08b0,!0x1),_0x5dd224=this[_0x36876c(0x163)]['transformMutation'](_0x5ea783,_0x4d5bd8,!0x1);if(_0x53e2cc(_0x35d109))throw _0x35d109[_0x36876c(0x1fe)];if(_0x53e2cc(_0x5dd224))throw _0x5dd224['error'];_0x235952['unshift'](_0x35d109['m2Prime'][_0x36876c(0x341)]),_0x459db1['unshift'](_0x5dd224[_0x36876c(0x359)][_0x36876c(0x341)]),_0xa2d135=_0x35d109['m1Prime'],_0x5ea783=_0x5dd224[_0x36876c(0x218)];}_0x3fc2ae[_0x36876c(0x2a3)]({'undoCache':_0x235952,'redoCache':_0x459db1});}['_transformPreviousActiveRange'](_0x381013){const _0x16d430=_0xbc8ce8,{unitID:_0x4b2cd8}=_0x381013,_0xfa01f5=this[_0x16d430(0x1ed)]['getRenderById'](_0x4b2cd8)[_0x16d430(0x16a)](_0x462dca),_0x13b1f5=_0xfa01f5['getActiveRange']();if(_0x13b1f5==null)return;const _0x143795=[{'id':_0x16d430(0x1f4),'params':{'unitId':_0x381013['unitID'],'actions':null,'textRanges':[_0x13b1f5]}}],_0x22d739=this[_0x16d430(0x163)]['transformMutationsWithChangeset'](_0x381013,_0x143795);if(!_0x324e40(_0x22d739))throw _0x22d739[_0x16d430(0x1fe)];const _0x2212bd=_0x22d739[_0x16d430(0x359)][0x0][_0x16d430(0x341)][_0x16d430(0x261)];Array['isArray'](_0x2212bd)&&_0x2212bd[_0x16d430(0x32a)]&&_0xfa01f5['setActiveRange'](_0x2212bd[0x0]);}};re=tn([tt(0x0,_0x780cfc),tt(0x1,_0x3d888d)],re);var sn=Object[_0xbc8ce8(0x247)],nn=(_0x1211cb,_0x43622e,_0xc36970,_0x332a0c)=>{const _0x3a783f=_0xbc8ce8;for(var _0xc95f4b=_0x332a0c>0x1?void 0x0:_0x332a0c?sn(_0x43622e,_0xc36970):_0x43622e,_0x178162=_0x1211cb[_0x3a783f(0x32a)]-0x1,_0x56ec6d;_0x178162>=0x0;_0x178162--)(_0x56ec6d=_0x1211cb[_0x178162])&&(_0xc95f4b=_0x56ec6d(_0xc95f4b)||_0xc95f4b);return _0xc95f4b;},Ce=(_0x5b0cc6,_0x387ead)=>(_0x3a0667,_0x232d38)=>_0x387ead(_0x3a0667,_0x232d38,_0x5b0cc6);let oe=class{constructor(_0x5912d9,_0x24ffd7,_0x44f72b){const _0x249b76=_0xbc8ce8;this['_injector']=_0x5912d9,this[_0x249b76(0x163)]=_0x24ffd7,this[_0x249b76(0x222)]=_0x44f72b;}[_0xbc8ce8(0x1a3)](_0x5190be){const _0x48de65=_0xbc8ce8;this[_0x48de65(0x1e5)](_0x5190be);}['transformRemoteChangeset'](_0x1b9015){const _0x3f3631=_0xbc8ce8,{unitID:_0x278221}=_0x1b9015,{collaboration:_0x2c290f}=this[_0x3f3631(0x222)][_0x3f3631(0x186)](_0x278221);if(_0x2c290f[_0x3f3631(0x32a)]===0x0)return _0x1b9015;let _0x358453=_0x40cd1d[_0x3f3631(0x1bb)](_0x1b9015[_0x3f3631(0x345)][0x0]);for(let _0x5a82f7=0x0;_0x5a82f7<_0x2c290f[_0x3f3631(0x32a)];_0x5a82f7++){const _0x129e76={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c290f[_0x5a82f7][_0x3f3631(0x1c6)],..._0x2c290f[_0x5a82f7][_0x3f3631(0x244)]}},_0xb5e932=this['_transformService'][_0x3f3631(0x1d1)](_0x358453,_0x129e76,!0x1);if(_0x53e2cc(_0xb5e932))throw _0xb5e932[_0x3f3631(0x1fe)];_0x358453=_0xb5e932[_0x3f3631(0x218)];}return{..._0x40cd1d[_0x3f3631(0x1bb)](_0x1b9015),'mutations':[_0x358453]};}[_0xbc8ce8(0x1e5)](_0x5af69d){const _0x2926b4=_0xbc8ce8,{unitID:_0x3bedd7}=_0x5af69d,{history:_0xd754d6,collaboration:_0x5f17b1}=this['_docStateChangeManagerService'][_0x2926b4(0x186)](_0x3bedd7);if(_0xd754d6[_0x2926b4(0x32a)]===0x0&&_0x5f17b1[_0x2926b4(0x32a)]===0x0)return;const _0x5791f5=[],_0x254bd2=[];let _0x1b4606=_0x40cd1d[_0x2926b4(0x1bb)](_0x5af69d[_0x2926b4(0x345)][0x0]),_0x7d10ca=_0x40cd1d[_0x2926b4(0x1bb)](_0x5af69d[_0x2926b4(0x345)][0x0]);for(let _0x50b258=_0xd754d6[_0x2926b4(0x32a)]-0x1;_0x50b258>=0x0;_0x50b258--){const _0xd12cd8={'id':_0x2926b4(0x1f4),'params':{'unitId':_0xd754d6[_0x50b258]['unitId'],..._0xd754d6[_0x50b258][_0x2926b4(0x16f)]}},_0x5621e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd754d6[_0x50b258][_0x2926b4(0x1c6)],..._0xd754d6[_0x50b258]['redoState']}},_0x3fe989=this[_0x2926b4(0x163)][_0x2926b4(0x1d1)](_0x1b4606,_0xd12cd8,!0x1),_0x58e1bc=this['_transformService']['transformMutation'](_0x7d10ca,_0x5621e2,!0x1);if(_0x53e2cc(_0x3fe989))throw _0x3fe989['error'];if(_0x53e2cc(_0x58e1bc))throw _0x58e1bc['error'];_0x5791f5[_0x2926b4(0x2ce)]({..._0xd754d6[_0x50b258],'undoState':_0x3fe989['m2Prime'][_0x2926b4(0x341)],'redoState':_0x58e1bc[_0x2926b4(0x359)][_0x2926b4(0x341)]}),_0x1b4606=_0x3fe989[_0x2926b4(0x218)],_0x7d10ca=_0x58e1bc[_0x2926b4(0x218)];}_0x1b4606=_0x40cd1d[_0x2926b4(0x1bb)](_0x5af69d[_0x2926b4(0x345)][0x0]),_0x7d10ca=_0x40cd1d[_0x2926b4(0x1bb)](_0x5af69d['mutations'][0x0]);for(let _0x563662=_0x5f17b1[_0x2926b4(0x32a)]-0x1;_0x563662>=0x0;_0x563662--){const _0x506a16={'id':_0x2926b4(0x1f4),'params':{'unitId':_0x5f17b1[_0x563662]['unitId'],..._0x5f17b1[_0x563662][_0x2926b4(0x16f)]}},_0x4a6a3d={'id':_0x2926b4(0x1f4),'params':{'unitId':_0x5f17b1[_0x563662][_0x2926b4(0x1c6)],..._0x5f17b1[_0x563662]['redoState']}},_0x6be447=this[_0x2926b4(0x163)][_0x2926b4(0x1d1)](_0x1b4606,_0x506a16,!0x1),_0x191dc9=this[_0x2926b4(0x163)]['transformMutation'](_0x7d10ca,_0x4a6a3d,!0x1);if(_0x53e2cc(_0x6be447))throw _0x6be447[_0x2926b4(0x1fe)];if(_0x53e2cc(_0x191dc9))throw _0x191dc9['error'];_0x254bd2[_0x2926b4(0x2ce)]({..._0x5f17b1[_0x563662],'undoState':_0x6be447[_0x2926b4(0x359)][_0x2926b4(0x341)],'redoState':_0x191dc9[_0x2926b4(0x359)]['params']}),_0x1b4606=_0x6be447[_0x2926b4(0x218)],_0x7d10ca=_0x191dc9['m1Prime'];}this[_0x2926b4(0x222)][_0x2926b4(0x2fc)](_0x3bedd7,{'history':_0x5791f5,'collaboration':_0x254bd2});}};oe=nn([Ce(0x0,_0x4c4c18(_0x38c8c2)),Ce(0x1,_0x780cfc),Ce(0x2,_0x4c4c18(_0xc6a8d4))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x40daf3,_0x38788c,_0x67cac3,_0x3b3c37)=>{for(var _0x2048f1=_0x3b3c37>0x1?void 0x0:_0x3b3c37?rn(_0x38788c,_0x67cac3):_0x38788c,_0x59279a=_0x40daf3['length']-0x1,_0x40f3a6;_0x59279a>=0x0;_0x59279a--)(_0x40f3a6=_0x40daf3[_0x59279a])&&(_0x2048f1=_0x40f3a6(_0x2048f1)||_0x2048f1);return _0x2048f1;},st=(_0x3be6ac,_0x45c2f8)=>(_0x53823d,_0x11f706)=>_0x45c2f8(_0x53823d,_0x11f706,_0x3be6ac);let ae=class{constructor(_0x13db84,_0x356c3c){const _0x101f87=_0xbc8ce8;this[_0x101f87(0x365)]=_0x13db84,this[_0x101f87(0x163)]=_0x356c3c;}['transformSelections'](_0x59a9c6){const _0x5b078b=_0xbc8ce8;var _0x2c6132;const _0xc30b8c=this[_0x5b078b(0x365)][_0x5b078b(0x249)](_0x40ea66),_0x1f29d4=(_0x2c6132=_0xc30b8c['getDocRanges']())!=null?_0x2c6132:[];if(_0x1f29d4[_0x5b078b(0x32a)]===0x0)return;const _0xb4ead4=_0x59a9c6[_0x5b078b(0x278)],_0x2409a1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb4ead4,'actions':null,'textRanges':_0x1f29d4}}],_0x3b8da5=this[_0x5b078b(0x163)][_0x5b078b(0x356)](_0x59a9c6,_0x2409a1);if(!_0x324e40(_0x3b8da5))throw _0x3b8da5[_0x5b078b(0x1fe)];const _0x240dc7=_0x3b8da5[_0x5b078b(0x359)][0x0]['params'][_0x5b078b(0x261)];Array[_0x5b078b(0x312)](_0x240dc7)&&_0x240dc7[_0x5b078b(0x32a)]&&_0xc30b8c[_0x5b078b(0x2e1)](_0x240dc7,{'unitId':_0xb4ead4,'subUnitId':_0xb4ead4},!0x1);}};ae=on([st(0x0,_0x4c4c18(_0x38c8c2)),st(0x1,_0x780cfc)],ae);var an=Object[_0xbc8ce8(0x247)],cn=(_0xd776eb,_0x248780,_0x31f165,_0x544a43)=>{const _0x215348=_0xbc8ce8;for(var _0x2eb445=_0x544a43>0x1?void 0x0:_0x544a43?an(_0x248780,_0x31f165):_0x248780,_0xd1fdad=_0xd776eb[_0x215348(0x32a)]-0x1,_0x4b6528;_0xd1fdad>=0x0;_0xd1fdad--)(_0x4b6528=_0xd776eb[_0xd1fdad])&&(_0x2eb445=_0x4b6528(_0x2eb445)||_0x2eb445);return _0x2eb445;},N=(_0x2cf98b,_0x21056)=>(_0x2e44f2,_0x5a2e50)=>_0x21056(_0x2e44f2,_0x5a2e50,_0x2cf98b);let ce=class extends _0x580868{constructor(_0x1f86be,_0x2d72f6,_0x4680ce,_0x36fb0c,_0x5c3b37,_0x4cc6b7,_0x4b4a28,_0x2d8bf1){const _0x558d85=_0xbc8ce8;super(),_(this,'_status$',new _0x3a13e7(_0x45c3c5['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1f86be,this[_0x558d85(0x234)]=_0x2d72f6,this[_0x558d85(0x17d)]=_0x4680ce,this[_0x558d85(0x18a)]=_0x36fb0c,this[_0x558d85(0x300)]=_0x5c3b37,this[_0x558d85(0x2fe)]=_0x4cc6b7,this[_0x558d85(0x2d6)]=_0x4b4a28,this[_0x558d85(0x2a5)]=_0x2d8bf1,this[_0x558d85(0x1b0)]());}[_0xbc8ce8(0x1b0)](){const _0x2d0231=_0xbc8ce8;this[_0x2d0231(0x1f2)](this[_0x2d0231(0x234)][_0x2d0231(0x2b8)][_0x2d0231(0x19c)](_0x349dbb=>{const _0x509336=_0x2d0231,_0xfd91f=this[_0x509336(0x222)]['docStateChange$'][_0x509336(0x19c)](_0x3ba4b6=>{const _0x1d9427=_0x509336;if(_0x3ba4b6==null)return;const {unitId:_0x1912af,redoState:_0x380fb2,commandId:_0x18f6e3}=_0x3ba4b6;if(_0x1912af!==_0x349dbb['unitID'])return;const _0xbeb681={'id':_0x18f6e3,'type':_0x5bc1fa[_0x1d9427(0x221)],'params':{'unitId':_0x1912af,'actions':_0x380fb2[_0x1d9427(0x36a)],'textRanges':null}};_0x349dbb[_0x1d9427(0x301)](_0xbeb681);});if(_0x349dbb[_0x509336(0x1f2)](_0xfd91f),_0x349dbb instanceof _0x3abc5c){const _0x4de6ea={'onTransformIME':_0x160a7c=>this['_docTransformIMECacheService']['transformIMECache'](_0x160a7c),'onTransformState':_0x2352e0=>this[_0x509336(0x18a)][_0x509336(0x1a3)](_0x2352e0),'onTransformSelections':_0x4ff3e2=>this[_0x509336(0x300)][_0x509336(0x1d0)](_0x4ff3e2),'onSyncEditingCollabCursor':_0x318972=>this[_0x509336(0x2fe)]['syncEditingCollabCursor'](_0x318972),'onTransformRemoteChangesetByIMECache':_0x4819fa=>this['_docTransformIMECacheService'][_0x509336(0x302)](_0x4819fa),'onTransformRemoteChangesetByStateCache':_0x235042=>this[_0x509336(0x18a)][_0x509336(0x302)](_0x235042)};_0x349dbb['addHandlerCallback'](_0x4de6ea);}}));}};ce=cn([N(0x0,_0x4c4c18(_0xc6a8d4)),N(0x1,_0x4c4c18(_0x2fa5fa)),N(0x2,_0x4c4c18(re)),N(0x3,_0x4c4c18(oe)),N(0x4,_0x4c4c18(ae)),N(0x5,_0x4c4c18(Fe)),N(0x6,_0x346b81),N(0x7,_0x4c4c18(_0x467da4))],ce);var ln=Object[_0xbc8ce8(0x247)],_n=(_0x525159,_0x58b604,_0x23cd08,_0x12c598)=>{const _0x87bede=_0xbc8ce8;for(var _0x948d8=_0x12c598>0x1?void 0x0:_0x12c598?ln(_0x58b604,_0x23cd08):_0x58b604,_0x56b297=_0x525159[_0x87bede(0x32a)]-0x1,_0x390505;_0x56b297>=0x0;_0x56b297--)(_0x390505=_0x525159[_0x56b297])&&(_0x948d8=_0x390505(_0x948d8)||_0x948d8);return _0x948d8;},Ee=(_0x1fb913,_0x3c02e6)=>(_0x182612,_0x279187)=>_0x3c02e6(_0x182612,_0x279187,_0x1fb913);let we=class extends _0x580868{constructor(_0x1dbbb5,_0x246196,_0x24760b){const _0x1f3a09=_0xbc8ce8;super(),_(this,_0x1f3a09(0x1c7),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x1f3a09(0x270),!0x1),(this[_0x1f3a09(0x1c3)]=_0x1dbbb5,this[_0x1f3a09(0x26a)]=_0x246196,this[_0x1f3a09(0x24b)]=_0x24760b);}[_0xbc8ce8(0x230)](){const _0x100c4f=_0xbc8ce8;this[_0x100c4f(0x270)]=!0x0;}[_0xbc8ce8(0x238)](){this['_disabled']=!0x1;}get[_0xbc8ce8(0x1af)](){const _0x3cbfc7=_0xbc8ce8;return this[_0x3cbfc7(0x320)];}[_0xbc8ce8(0x162)](){const _0x1c0fd7=_0xbc8ce8;this[_0x1c0fd7(0x2f0)]()[_0x1c0fd7(0x2a6)](()=>super[_0x1c0fd7(0x162)]());}async[_0xbc8ce8(0x1cf)](_0x33efdb){const _0xaa1ebd=_0xbc8ce8;return this['_disabled']?null:this[_0xaa1ebd(0x26a)][_0xaa1ebd(0x2f5)](_0x37482e(_0x33efdb));}async['saveOfflineData'](_0x2ec4c2,_0x4e40fd){const _0x463197=_0xbc8ce8;return!!this[_0x463197(0x26a)]['setItem'](_0x2ec4c2,_0x4e40fd);}[_0xbc8ce8(0x2a1)](_0x4fe103,_0x3d23c6,_0x4e9db2,_0x41afc7){const _0x33ccff=_0xbc8ce8,_0x217228=this['_revisionService'][_0x33ccff(0x215)](_0x4fe103);this[_0x33ccff(0x1c7)][_0x33ccff(0x1d2)](_0x4fe103,{'unitID':_0x4fe103,'type':_0x3d23c6,'awaitingChangeset':_0x4e9db2,'mutations':_0x41afc7,'rev':_0x217228}),this[_0x33ccff(0x320)]['has'](_0x4fe103)||this[_0x33ccff(0x35a)](_0x4fe103);}['_scheduleSaving'](_0x250628){const _0x37c0ce=_0xbc8ce8,_0x474b46=this['_getSaveTimeout']();_0x474b46===0x0?this['_saveCache'](_0x250628):this[_0x37c0ce(0x320)]['set'](_0x250628,setTimeout(()=>this[_0x37c0ce(0x263)](_0x250628),_0x474b46));}[_0xbc8ce8(0x296)](){const _0x8eb4e7=_0xbc8ce8;var _0x16b0f8;return(_0x16b0f8=this[_0x8eb4e7(0x1c3)][_0x8eb4e7(0x22b)](_0x27a6e0))!=null?_0x16b0f8:_0x39be8e;}[_0xbc8ce8(0x263)](_0x48579f){const _0x2b4c4d=_0xbc8ce8,_0x3e4115=this[_0x2b4c4d(0x320)][_0x2b4c4d(0x249)](_0x48579f);return _0x3e4115!==void 0x0&&window['clearTimeout'](_0x3e4115),this[_0x2b4c4d(0x26a)]['setItem'](_0x37482e(_0x48579f),this[_0x2b4c4d(0x1c7)][_0x2b4c4d(0x249)](_0x48579f))[_0x2b4c4d(0x2a6)](()=>this[_0x2b4c4d(0x320)][_0x2b4c4d(0x2eb)](_0x48579f));}async['exhaustSavingTask'](){const _0x12e4e0=_0xbc8ce8,_0x41af6a=[];this[_0x12e4e0(0x320)][_0x12e4e0(0x2f4)]((_0x2a032e,_0x7e10e)=>{const _0x11af43=_0x12e4e0;window[_0x11af43(0x190)](_0x2a032e),_0x41af6a[_0x11af43(0x321)](this[_0x11af43(0x263)](_0x7e10e)[_0x11af43(0x2a6)](()=>{const _0x32778b=_0x11af43;this['_saveTaskMap'][_0x32778b(0x2eb)](_0x7e10e);}));}),await Promise[_0x12e4e0(0x2b5)](_0x41af6a);}};we=_n([Ee(0x0,_0x4bf0e0),Ee(0x1,_0x1e3a1c),Ee(0x2,_0x4c4c18(_0x440509))],we);class hn extends _0x2e4af9{constructor(){const _0x1bde00=_0xbc8ce8;super(),_(this,_0x1bde00(0x1b6)),this[_0x1bde00(0x1b6)]=_0x1dd96a(window,_0x1bde00(0x35c))['pipe'](_0x483b0b(this[_0x1bde00(0x2ff)]),_0x3604d5(0x1),_0x466f09(void 0x0));}['setParam'](_0x4f1e42,_0x3da546,_0x2e02a1=!0x1){const _0x267bb7=_0xbc8ce8,_0x210089=new URL(window[_0x267bb7(0x21a)][_0x267bb7(0x2bb)]);_0x210089['searchParams'][_0x267bb7(0x1d2)](_0x4f1e42,_0x3da546),_0x2e02a1?window[_0x267bb7(0x317)][_0x267bb7(0x28a)]('','',_0x210089[_0x267bb7(0x23c)]()):window[_0x267bb7(0x317)]['pushState']('','',_0x210089[_0x267bb7(0x23c)]());}[_0xbc8ce8(0x1a2)](_0x584b8b,_0x1e728a=!0x1){const _0x41a6f4=_0xbc8ce8,_0x5602cd=new URL(window[_0x41a6f4(0x21a)][_0x41a6f4(0x2bb)]);_0x5602cd[_0x41a6f4(0x336)][_0x41a6f4(0x2eb)](_0x584b8b),_0x1e728a?window[_0x41a6f4(0x317)][_0x41a6f4(0x28a)]('','',_0x5602cd['toString']()):window[_0x41a6f4(0x317)][_0x41a6f4(0x333)]('','',_0x5602cd[_0x41a6f4(0x23c)]());}[_0xbc8ce8(0x1b9)](_0x5a9dea){const _0x4944aa=_0xbc8ce8;var _0x4d5a49;return(_0x4d5a49=new URL(window[_0x4944aa(0x21a)][_0x4944aa(0x2bb)])[_0x4944aa(0x336)][_0x4944aa(0x249)](_0x5a9dea))!=null?_0x4d5a49:void 0x0;}}var un=Object[_0xbc8ce8(0x36e)],dn=Object['getOwnPropertyDescriptor'],fn=(_0xd774a2,_0x44eeb9,_0x2f4ee1)=>_0x44eeb9 in _0xd774a2?un(_0xd774a2,_0x44eeb9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f4ee1}):_0xd774a2[_0x44eeb9]=_0x2f4ee1,Sn=(_0xb1dcec,_0x3a470d,_0x2bf55c,_0xa54e13)=>{const _0x473d2f=_0xbc8ce8;for(var _0x119104=_0xa54e13>0x1?void 0x0:_0xa54e13?dn(_0x3a470d,_0x2bf55c):_0x3a470d,_0x2a68b2=_0xb1dcec[_0x473d2f(0x32a)]-0x1,_0x57384b;_0x2a68b2>=0x0;_0x2a68b2--)(_0x57384b=_0xb1dcec[_0x2a68b2])&&(_0x119104=_0x57384b(_0x119104)||_0x119104);return _0x119104;},Oe=(_0x50024c,_0x215b7a)=>(_0x3d79b5,_0x47f45f)=>_0x215b7a(_0x3d79b5,_0x47f45f,_0x50024c),mn=(_0xb8dec8,_0xd960a1,_0x490dbd)=>fn(_0xb8dec8,_0xd960a1+'',_0x490dbd);const In=_0xbc8ce8(0x2f9);let Ae=class extends _0x192449{constructor(_0x2344d2=et,_0x294598,_0x2eee6a,_0x539395){const _0x1ef01d=_0xbc8ce8;super(),this['_config']=_0x2344d2,this[_0x1ef01d(0x1ed)]=_0x294598,this[_0x1ef01d(0x365)]=_0x2eee6a,this[_0x1ef01d(0x1c3)]=_0x539395;const {..._0x4f2b80}=_0x4630f8({},et,this[_0x1ef01d(0x2f2)]);this[_0x1ef01d(0x1c3)][_0x1ef01d(0x1c2)](qi,_0x4f2b80);}[_0xbc8ce8(0x2b7)](){const _0x558a75=_0xbc8ce8;this['_registerDependencies'](),this[_0x558a75(0x291)]();}[_0xbc8ce8(0x1ef)](){const _0x86d7f6=_0xbc8ce8;this[_0x86d7f6(0x1bc)]();}[_0xbc8ce8(0x1ce)](){const _0x33bee2=_0xbc8ce8;var _0x1366a5;const _0x5efa00=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x26e90f,{'useClass':_0x1d2d8e}],[_0x3d421e,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x411854(this[_0x33bee2(0x365)],_0x2eedc3(_0x5efa00,(_0x1366a5=this[_0x33bee2(0x2f2)])==null?void 0x0:_0x1366a5[_0x33bee2(0x344)]));}[_0xbc8ce8(0x1bc)](){const _0x134759=_0xbc8ce8;this[_0x134759(0x1f2)](this[_0x134759(0x1ed)][_0x134759(0x1e9)](_0x84c282[_0x134759(0x239)],[Le])),this[_0x134759(0x1f2)](this[_0x134759(0x1ed)]['registerRenderModule'](_0x84c282['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x284611=_0xbc8ce8;_0x498482(this[_0x284611(0x365)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0xbc8ce8(0x30c),In),Ae=Sn([_0x35bf1c(_0x1c247d),Oe(0x1,_0x3d888d),Oe(0x2,_0x4c4c18(_0x38c8c2)),Oe(0x3,_0x4bf0e0)],Ae);var vn=Object[_0xbc8ce8(0x247)],gn=(_0x479c12,_0x16b906,_0x489ce1,_0x1cf4f3)=>{const _0x1e17e3=_0xbc8ce8;for(var _0x136f0f=_0x1cf4f3>0x1?void 0x0:_0x1cf4f3?vn(_0x16b906,_0x489ce1):_0x16b906,_0x18944e=_0x479c12[_0x1e17e3(0x32a)]-0x1,_0x210632;_0x18944e>=0x0;_0x18944e--)(_0x210632=_0x479c12[_0x18944e])&&(_0x136f0f=_0x210632(_0x136f0f)||_0x136f0f);return _0x136f0f;},z=(_0x508735,_0x432bcf)=>(_0x4ee6b2,_0x25077d)=>_0x432bcf(_0x4ee6b2,_0x25077d,_0x508735);let it=class extends _0x423179{constructor(_0x571c3f,_0x5993de,_0x3058a7,_0x1e39e5,_0x567ed8){super(_0x571c3f,_0x5993de,_0x3058a7,_0x1e39e5,_0x567ed8);}async[_0xbc8ce8(0x22c)](_0xfe4abf){const _0x234b41=_0xbc8ce8,_0x3640a3=await this[_0x234b41(0x2fb)](),_0x23070e=this[_0x234b41(0x20f)](_0xfe4abf,_0x3640a3);return this[_0x234b41(0x331)](_0x23070e);}['_createSocketURL'](_0x456e3a,_0x359ca7){const _0x33b0c4=_0xbc8ce8,_0x527b31=typeof window>'u'?new URL(_0x456e3a):new URL(_0x456e3a,window[_0x33b0c4(0x21a)][_0x33b0c4(0x353)]);_0x527b31[_0x33b0c4(0x336)][_0x33b0c4(0x1d2)](_0x33b0c4(0x1dd),_0x359ca7);const _0x5abe5f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33b0c4(0x21a)]['search']);return _0x5abe5f['get']('runId')&&_0x527b31[_0x33b0c4(0x336)][_0x33b0c4(0x1d2)](_0x33b0c4(0x227),_0x5abe5f['get'](_0x33b0c4(0x227))),_0x527b31[_0x33b0c4(0x23c)]();}async[_0xbc8ce8(0x2fb)](){const _0x162cc5=_0xbc8ce8;var _0x5ba4b7,_0x248859,_0x1fed54;const _0x7d8347=this[_0x162cc5(0x1c3)][_0x162cc5(0x22b)](_0xf552d2),_0x19649d=(_0x5ba4b7=_0x7d8347==null?void 0x0:_0x7d8347[_0x162cc5(0x1d8)])!=null?_0x5ba4b7:_0x30a6e2;return(_0x1fed54=(_0x248859=(await this[_0x162cc5(0x197)][_0x162cc5(0x249)](_0x19649d,{'headers':{'Content-Type':_0x162cc5(0x243)}}))[_0x162cc5(0x299)])==null?void 0x0:_0x248859[_0x162cc5(0x2e5)])!=null?_0x1fed54:'';}};it=gn([z(0x0,_0x4c4c18(_0x38c8c2)),z(0x1,_0x4c4c18(_0x3cd9bb)),z(0x2,_0x4bf0e0),z(0x3,_0x2bddda),z(0x4,_0x25d127)],it);var Lt=(_0x1bfa31=>(_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x309)]=0x0]=_0xbc8ce8(0x309),_0x1bfa31[_0x1bfa31['OK']=0x1]='OK',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x362)]=0x2]=_0xbc8ce8(0x362),_0x1bfa31[_0x1bfa31['PERMISSION_DENIED']=0x3]=_0xbc8ce8(0x2ae),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x357)]=0x4]=_0xbc8ce8(0x357),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x26d)]=0x5]='UNAUTHENTICATED',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x201)]=0x6]=_0xbc8ce8(0x201),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1f9)]=0x7]=_0xbc8ce8(0x1f9),_0x1bfa31[_0x1bfa31['TOO_MANY_REQUESTS']=0x8]=_0xbc8ce8(0x1d7),_0x1bfa31[_0x1bfa31['COMPLETION_FINISHED']=0x9]=_0xbc8ce8(0x1b8),_0x1bfa31[_0x1bfa31['LOGIN_FAILED']=0xa]=_0xbc8ce8(0x297),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x28c)]=0xb]=_0xbc8ce8(0x28c),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x252)]=0xc]=_0xbc8ce8(0x252),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1f0)]=0xd]=_0xbc8ce8(0x1f0),_0x1bfa31[_0x1bfa31['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xbc8ce8(0x223),_0x1bfa31[_0x1bfa31['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x2e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x193)]=0x1772]=_0xbc8ce8(0x193),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x34e)]=0x1773]=_0xbc8ce8(0x34e),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x305)]=0x1b59]=_0xbc8ce8(0x305),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x349)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x213)]=0x1b5b]=_0xbc8ce8(0x213),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x2d7)]=0x1b5c]=_0xbc8ce8(0x2d7),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1ab)]=0x1b5d]='APPLY_DUPLICATED',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1cb)]=0x1f41]=_0xbc8ce8(0x1cb),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x171)]=0x2329]=_0xbc8ce8(0x171),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x2b1)]=0x232a]=_0xbc8ce8(0x2b1),_0x1bfa31[_0x1bfa31['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbc8ce8(0x337),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x25f)]=0x232c]=_0xbc8ce8(0x25f),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x21e)]=0x232d]=_0xbc8ce8(0x21e),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x194)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1ca)]=0x2712]=_0xbc8ce8(0x1ca),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x192)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x27a)]=0x2714]=_0xbc8ce8(0x27a),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x23d)]=0x271a]=_0xbc8ce8(0x23d),_0x1bfa31[_0x1bfa31['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xbc8ce8(0x33f),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1f3)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x367)]=0x271d]=_0xbc8ce8(0x367),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x1df)]=0x271e]=_0xbc8ce8(0x1df),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x36c)]=0x271f]=_0xbc8ce8(0x36c),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x2ab)]=0x2720]=_0xbc8ce8(0x2ab),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x323)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x306)]=0x2ee1]=_0xbc8ce8(0x306),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x21f)]=0x2ee2]=_0xbc8ce8(0x21f),_0x1bfa31[_0x1bfa31['INVITE_CODE_REQUIRED']=0x2ee3]=_0xbc8ce8(0x2af),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x298)]=0x2ee4]=_0xbc8ce8(0x298),_0x1bfa31[_0x1bfa31['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xbc8ce8(0x24e),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x31c)]=0x32c9]=_0xbc8ce8(0x31c),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x2dd)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1bfa31[_0x1bfa31['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbc8ce8(0x2fd),_0x1bfa31[_0x1bfa31[_0xbc8ce8(0x273)]=-0x1]=_0xbc8ce8(0x273),_0x1bfa31))(Lt||{}),pn=Object[_0xbc8ce8(0x247)],Cn=(_0x107ec8,_0x2190c3,_0x147c41,_0x2667a8)=>{for(var _0x534bb5=_0x2667a8>0x1?void 0x0:_0x2667a8?pn(_0x2190c3,_0x147c41):_0x2190c3,_0x18aad1=_0x107ec8['length']-0x1,_0x54cb0b;_0x18aad1>=0x0;_0x18aad1--)(_0x54cb0b=_0x107ec8[_0x18aad1])&&(_0x534bb5=_0x54cb0b(_0x534bb5)||_0x534bb5);return _0x534bb5;},be=(_0x3e3ef9,_0x8f84a6)=>(_0x4f0f1d,_0x29b21c)=>_0x8f84a6(_0x4f0f1d,_0x29b21c,_0x3e3ef9);function _0x5c44(){const _0x4d62df=['_labelPosition','_cursorInfo$','RemoveColCommandId','_removeCollabCursors','MOBILE_HAS_BEEN_BOUND','getRenderById','trim','_lastPointer','replaceDocRanges','SNAPSHOT_INVALID_SNAPSHOT','_uiPartsService','VIEW_MAIN','ticket','getUndoRedoMutationParamsCache','hasOwnProperty','getCellPositionByOffset','OFFLINE','name','delete','key','getTypeOfUnitAdded$','hide','flatMap','exhaustSavingTask','getVpScrollXYInfoByPosToVp','_config','makeDirty','forEach','getItem','createInstance','getUnhiddenWorksheets','session.collaboration-timeout','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initResize','_getSessionTicket','setStateCache','EMAIL_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','dispose$','_docTransformSelectionsService','onLocalMutation','transformRemoteChangeset','_cursors','_send','APPLY_REJECT','INVITE_CODE_HAS_BEEN_UES','_handleLeaveEvent','icon','UNDEFINED','NOT_COLLAB','unsubscribe','pluginName','_onCursorDelete','getFocusedUnit','_toggleOnline','_document','collab-rect-range-','isArray','_docClipboardService','_color','_online','addObject','history','restore','6QKDdmD','selection','toRgbString','WECHAT_HAS_BEEN_BOUND','min','getRangePointData','_transformPreviousActiveRange','_saveTaskMap','push','registerRefRange','PY_RUNTIME_SCRIPT_ERROR','42119GMsoBk','InsertColCommandId','InsertRangeMoveDownCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','displayName','currentColor','length','parse','split','invokeId','UNIVER_SHEET','sessionStatus$','path','_doCreateSocket','_drawAnchor','pushState','setShapeProps','roomMembers','searchParams','LICENSE_IMPORT_SIZE_EXCEEDED','data','send','_getMergeRange','round','replace','SUBMIT_CHANGESET_TIMEOUT','_drawTextRange','YUUMI_ASYNCIO_CANCELLED','_textBubble','params','2vFObyg','some','override','mutations','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','font','arc','APPLY_NON_SEQUENTIAL_REVISION','_initStatusComponent','getRelativeToViewportCoord','_unitOnClients','_initEvent','ENSURE_SNAPSHOT_EXECUTION','newValue','RECT','permission.content','black','origin','_eventUnsubscribe','url(#$1','transformMutationsWithChangeset','NOT_FOUND','registerBeforeClose','m2Prime','_scheduleSaving','mask','popstate','skeleton','collab-client.tooltip.reconnect','unload','entries','isActive','INTERNAL_ERROR','...','_cursor','_injector','_entityInit$','YUUMI_ALL_TABLES_IS_INVALID','propertyIsEnumerable','ranges','actions','activeSheet$','YUUMI_AI_RUN_FAILED','use','defineProperty','svg','_refRangeService','dispose','_transformService','session.will-retry','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random','_initCommandExecutedListener','color','with','1em','_univerInstanceService','_init','green.600','undoState','getColorFromTheme','LICENSE_MAX_UNITS_EXCEEDED','resize','blue.400','_hover','UniverIcon','getValue','find','getCurrentSelections','collabStatus.conflict','_setupSubUnitSync','endRow','tag','_docTransformIMECacheService','OffLineIcon','_updateCollabCursors','result','356088cmGJZN','[CollaborationDataLoaderController]','_themeService','2822520hGmTxB','_scheduleHeartbeat','getStateCache','_handleEvent','_updateURLWithCurrentState','_docSkeletonManagerService','_docTransformStateCacheService','http://www.w3.org/2000/svg','collabStatus.fetchMiss','_assignedColors','prototype','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clearTimeout','onPointerEnter$','YUUMI_RATE_OVER_LIMIT','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_UNABLE_LOAD_URL','getAncestorScale','permission.title','_httpService','collabStatus.notCollab','209QrXPkc','fillStyle','12IleDqF','subscribe','fillRule','getCurrent','_transformUndoRedoStack','getUnitId','_updateLocalCursor','removeParam','transformStateCache','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','assignAColorForMemberID','measureText','addObjects','univerjs-icon\x20univerjs-icon-','Error','roomMembers$','APPLY_DUPLICATED','setInterval','_heartbeatTimer','_dataLoaderService','saveTaskMap','_initEntityListener','function','getSheetBySheetId','unit','evenodd','none','urlChange$','_session','COMPLETION_FINISHED','getParam','M0\x200H16V16H0z','deepClone','_registerRenderDependencies','MoveRangeCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','ONLINE','syncEditingCollabCursor','bottom','setConfig','_configService','setParam','clipPath','unitId','_cachedData','defs','storage','YUUMI_URL_COL_OUT_OF_RANGE','CONNECTOR_DATA_TOO_LARGE','1996854nRuAdR','collabStatus.syncing','_registerDependencies','loadOfflineData','transformSelections','transformMutation','set','assign','_range','subscribeEvent','registerComponent','TOO_MANY_REQUESTS','wsSessionTicketUrl','apply','red.300','_collabCursorState$','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','sessionTicket','_entities','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','pipe','_hideTimer','getActiveSheet','div','next','_transformHistoryAndStateStack','labelPosition','_shapes','subunit','registerRenderModule','CLOSE_ROOM','collabCursorState$','concat','_renderManagerService','_status$','onRendered','EMAIL_VERIFY_CODE_MISMATCH','_beforeCloseService','disposeWithMe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','doc.mutation.rich-text-editing','children','currentTheme$','_toggleOffline','HEADER_MENU','INVALID_ARGUMENT','whenReady','asObservable','max','from','error','url(#on-line-icon_clip0_910_349)','_collaborationUIEventService','ALREADY_EXISTS','string','_startDocCollabCursor','executionId','_context','getSheetId','range','transform','_drawRectRange','0\x200\x2017\x2016','startsWith','uni.network.url-service','getMember','reconnect','_createSocketURL','_backgroundColor','FETCH_MISS','collaboration-client-ui.config','APPLY_REVISION_CONFILICT','_getScale','getCurrentRevOfUnit','white','UPDATE_CURSOR','m1Prime','getSkeleton','location','endColumn','_handleHeartbeatEvent','_onCursorUpdate','LICENSE_DISTRO_REJECTED','INVALID_INVITE_CODE','_ensureSubject','MUTATION','_docStateChangeManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentSkeleton$','_anchorDot','runId','RemoveRowCommandId','OTHER_CLIENT_EDITING','event$','getConfig','createSocket','addEventListener','call','lineTo','disableLocalCache','cursorInfo$','_colorAssignService','DeleteRangeMoveUpCommandId','_collaborationController','onCommandExecuted','findNodePositionByCharIndex','getTypeOfUnitDisposed$','enableLocalCache','UNIVER_DOC','_initStatusListener','_unitStatus','toString','YUUMI_NO_CUBOID_FOR_QUESTION','CONFLICT','attrs','sheetID','/run/','executeCommand','application/json','redoState','_scene','sheetId','getOwnPropertyDescriptor','TEXT','get','row','_revisionService','_colorIndex','has','INVITE_CODE_ALREADY_BOUND','Warning','12671487WXuhpa','getMemberID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','onTransformChange$','requireSession','setAlpha','yellow.400','onMouseMove','collab-text-anchor-','onPointerMove$','_getAnchorBounding','stringify','save','_collabCursorController','LICENSE_EXPORT_SIZE_EXCEEDED','idSuffix','textRanges','disposeUnit','_saveCache','_startSheetCollabCursor','_hovered','values','AWAITING','_name','fill','_localStorageService','_refreshCollabCursors','_anchor','UNAUTHENTICATED','_urlService','show','_disabled','_id','7598620kxYvBY','UNRECOGNIZED','fillText','translate(.97)','_render','178177aPTXHt','unitID','drawWith','YUUMI_SUBSCRIPTION_NOT_FOUND','getOffsetConfig','selections','_logService','InsertRowCommandId','text','_handleHover','ACTIVE_UNIT_EVENT_CHANNEL','rgba(255,\x20255,\x20255,\x200.01)','memberID','debug','setItem','collab-text-range-','current','OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','replaceState','init','MOBILE_VERIFY_CODE_MISMATCH','_commandService','_memberService','_collabSessionService','_roomMembers$','_initDependencies','cursorInfo','_selfUnitIDs','clearInterval','_cursorShapes','_getSaveTimeout','LOGIN_FAILED','USER_NOT_INVITED_CODE','body','on-line-icon_clip0_910_349','InsertRangeMoveRightCommandId','_getSheetObject','_onRefRangeChange','_syncEditingCollabCursorService','imageSourceType','_scheduleClearOtherTimer','updateOfflineData','_notificationService','setUndoRedoMutationParamsCache','getMergeData','_localeService','then','_instanceService','colorChannel1','width','defIds','YUUMI_CONNECTOR_URL_NOT_FOUND','getCollabCursors$','getViewport','PERMISSION_DENIED','INVITE_CODE_REQUIRED','onPointerLeave$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loadUnit','transformIMECache','startRow','all','_localCacheService','onStarting','entityInit$','includes','top','href','xlink:href','getDocRanges','_imageIoService','moveTo','extend','off-line-icon_clip0_910_343','184YyYdjY','_updateSubUnitFromURLParams','Unknown\x20user','type','Failed','indexOf','_removeClearOtherTimer','setTimeout','runOnServer','JOIN_ROOM_FAILED','className','DeleteRangeMoveLeftCommandId','unshift','height','map','add','symbol','getOwnPropertySymbols','_clearOtherTimers','column','_messageService','APPLY_PERMISSION_DENIED','_sheetSkeletonManagerService'];_0x5c44=function(){return _0x4d62df;};return _0x5c44();}let nt=class extends _0x580868{constructor(_0x558def,_0xb09a15,_0x32bdc5){const _0x27b8b3=_0xbc8ce8;super(),this[_0x27b8b3(0x2a7)]=_0x558def,this[_0x27b8b3(0x197)]=_0xb09a15,this[_0x27b8b3(0x1c3)]=_0x32bdc5;}async[_0xbc8ce8(0x2ca)](_0x140be3,_0x2c548a,_0x200127,..._0x249946){const _0x4e26a8=_0xbc8ce8;var _0x551bcc,_0x3a4beb,_0x50da15,_0x273419;const _0x1963a1=this[_0x4e26a8(0x2a7)]['getFocusedUnit']();if(!_0x1963a1)throw new Error(_0x4e26a8(0x224));const _0x284eda=((_0x551bcc=this[_0x4e26a8(0x1c3)]['getConfig'](_0x148486))!=null?_0x551bcc:_0x3ff078)+'/'+_0x140be3+_0x4e26a8(0x241)+_0x2c548a,_0x3073e3=new URL(window['location'][_0x4e26a8(0x2bb)]),_0x58ef0d={'scriptId':_0x140be3,'runId':(_0x3a4beb=_0x3073e3[_0x4e26a8(0x336)][_0x4e26a8(0x249)](_0x4e26a8(0x227)))!=null?_0x3a4beb:'','function':_0x2c548a,'unitId':_0x1963a1[_0x4e26a8(0x1a0)](),'argsOfFunction':JSON[_0x4e26a8(0x25c)](_0x249946),'invokeId':(_0x50da15=_0x200127[_0x4e26a8(0x32d)])!=null?_0x50da15:'','executionId':(_0x273419=_0x200127[_0x4e26a8(0x204)])!=null?_0x273419:''};try{const _0x2df7f6=await this['_httpService']['post'](_0x284eda,{'body':_0x58ef0d});return _0x2df7f6[_0x4e26a8(0x299)][_0x4e26a8(0x1fe)]&&_0x2df7f6[_0x4e26a8(0x299)][_0x4e26a8(0x1fe)]['code']!==Lt['OK']?_0x4e26a8(0x2c6):_0x2df7f6['body'][_0x4e26a8(0x180)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x1e80d2),be(0x1,_0x4c4c18(_0x3cd9bb)),be(0x2,_0x4bf0e0)],nt);const rt=0x7530,ot=_0xbc8ce8(0x281);class Fn extends _0x580868{constructor(){const _0x33f27f=_0xbc8ce8;super(),_(this,_0x33f27f(0x271),_0x396ac3()),_(this,_0x33f27f(0x293),new Set()),_(this,_0x33f27f(0x34c),new Map()),_(this,_0x33f27f(0x1ad),null),_(this,_0x33f27f(0x2d4),new Map()),_(this,'_unitStatus',new Map()),this[_0x33f27f(0x16d)]();}[_0xbc8ce8(0x162)](){const _0x3136e8=_0xbc8ce8;super[_0x3136e8(0x162)](),this[_0x3136e8(0x2d4)][_0x3136e8(0x2f4)]((_0x37684b,_0x1a730e)=>this[_0x3136e8(0x2c8)](_0x1a730e)),this[_0x3136e8(0x1ad)]&&window[_0x3136e8(0x294)](this[_0x3136e8(0x1ad)]);}['getUnitStatus$'](_0xddf6a5){const _0x108edd=_0xbc8ce8;return this[_0x108edd(0x220)](_0xddf6a5)[_0x108edd(0x1e0)](_0xb995e7());}['editingUnit'](_0x5b2dbd){const _0x2378a4=_0xbc8ce8;this['_selfUnitIDs']['size']===0x0&&this[_0x2378a4(0x185)](),this[_0x2378a4(0x293)][_0x2378a4(0x2d1)](_0x5b2dbd),this[_0x2378a4(0x304)]({'type':0x0,'memberID':this[_0x2378a4(0x271)],'unitIDs':[_0x5b2dbd],'isForwarded':!0x1});}[_0xbc8ce8(0x262)](_0x20df0d){const _0xdc8b1f=_0xbc8ce8;this[_0xdc8b1f(0x293)]['delete'](_0x20df0d),this[_0xdc8b1f(0x293)]['size']===0x0&&this[_0xdc8b1f(0x1ad)]&&window[_0xdc8b1f(0x294)](this[_0xdc8b1f(0x1ad)]);}[_0xbc8ce8(0x16d)](){const _0x4997d9=_0xbc8ce8;this[_0x4997d9(0x1f2)](_0x2f65bb(_0x1dd96a(window,_0x4997d9(0x1c9))[_0x4997d9(0x19c)](_0x49a5ca=>{const _0x235e9c=_0x4997d9;if(_0x49a5ca[_0x235e9c(0x2ec)]!==ot||!_0x49a5ca['newValue'])return;const _0x1050d7=JSON[_0x235e9c(0x32b)](_0x49a5ca[_0x235e9c(0x34f)]);this[_0x235e9c(0x187)](_0x1050d7);}))),window[_0x4997d9(0x22d)](_0x4997d9(0x35f),()=>this[_0x4997d9(0x304)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4997d9(0x1fd)](this[_0x4997d9(0x293)])}));}[_0xbc8ce8(0x187)](_0x12adaa){const _0x537b41=_0xbc8ce8;switch(_0x12adaa['type']){case 0x0:this['_handleJoinEvent'](_0x12adaa);break;case 0x1:this['_handleLeaveEvent'](_0x12adaa);break;case 0x2:this[_0x537b41(0x21c)](_0x12adaa);break;}}['_handleJoinEvent'](_0x20c6c2){const _0xa99ef7=_0xbc8ce8,{unitIDs:_0x36fb25,memberID:_0x19274a,isForwarded:_0x1ce378}=_0x20c6c2;_0x36fb25[_0xa99ef7(0x2f4)](_0x15a119=>{const _0xf5c17=_0xa99ef7;if(!_0x1ce378&&this['_unitOnClients'][_0xf5c17(0x24d)](_0x15a119)&&this['_ensureSubject'](_0x15a119)['next'](_0x51caba[_0xf5c17(0x288)]),!this[_0xf5c17(0x34c)]['has'](_0x15a119)||!this[_0xf5c17(0x34c)]['get'](_0x15a119)['has'](_0x19274a)){const _0x2dda74=this[_0xf5c17(0x34c)][_0xf5c17(0x249)](_0x15a119)||new Set();_0x2dda74[_0xf5c17(0x2d1)](_0x19274a),this[_0xf5c17(0x34c)]['set'](_0x15a119,_0x2dda74),this[_0xf5c17(0x2a0)](_0x19274a);}}),_0x1ce378||this[_0xa99ef7(0x304)]({'type':0x0,'memberID':this[_0xa99ef7(0x271)],'unitIDs':[...this[_0xa99ef7(0x293)]],'isForwarded':!0x0});}[_0xbc8ce8(0x2a0)](_0x53e8f5){const _0x12d454=_0xbc8ce8;this[_0x12d454(0x2c8)](_0x53e8f5);const _0x473c16=window[_0x12d454(0x2c9)](()=>{const _0x598efd=_0x12d454;this['_unitOnClients'][_0x598efd(0x2f4)](_0x3ffa81=>{const _0x220ca9=_0x598efd;_0x3ffa81[_0x220ca9(0x2eb)](_0x53e8f5);});},rt*0x2);this[_0x12d454(0x2d4)]['set'](_0x53e8f5,_0x473c16);}[_0xbc8ce8(0x2c8)](_0x4afcd2){const _0xdc99ec=_0xbc8ce8;if(this[_0xdc99ec(0x2d4)][_0xdc99ec(0x24d)](_0x4afcd2)){const _0x54a3ef=this['_clearOtherTimers'][_0xdc99ec(0x249)](_0x4afcd2);_0x54a3ef&&window[_0xdc99ec(0x190)](_0x54a3ef),this[_0xdc99ec(0x2d4)][_0xdc99ec(0x1d2)](_0x4afcd2,null);}}[_0xbc8ce8(0x307)](_0x9b1cd0){const _0x340457=_0xbc8ce8,{memberID:_0x4f54f9,unitIDs:_0x508edf}=_0x9b1cd0;_0x508edf[_0x340457(0x2f4)](_0xc09b24=>{const _0xd1ec75=_0x340457;var _0x4dcbce;const _0x39a71d=this['_unitOnClients'][_0xd1ec75(0x249)](_0xc09b24);_0x39a71d&&(_0x39a71d['delete'](_0x4f54f9),(_0x4dcbce=this['_ensureSubject'](_0xc09b24))==null||_0x4dcbce[_0xd1ec75(0x1e4)](_0x39a71d['size']===0x0?_0x51caba['NO_OTHER_CLIENTS_EDITING']:_0x51caba[_0xd1ec75(0x288)]));}),this[_0x340457(0x2c8)](_0x4f54f9);}[_0xbc8ce8(0x21c)](_0x5f3493){const _0x506fe9=_0xbc8ce8;this['_scheduleClearOtherTimer'](_0x5f3493[_0x506fe9(0x283)]);}[_0xbc8ce8(0x304)](_0x36697b){const _0x24acdd=_0xbc8ce8;localStorage[_0x24acdd(0x285)](ot,JSON[_0x24acdd(0x25c)](_0x36697b));}['_scheduleHeartbeat'](){const _0x51de89=_0xbc8ce8;this[_0x51de89(0x1ad)]=window[_0x51de89(0x1ac)](()=>{const _0x5c91f3=_0x51de89;this[_0x5c91f3(0x304)]({'type':0x2,'memberID':this[_0x5c91f3(0x271)]});},rt);}[_0xbc8ce8(0x220)](_0x235145){const _0x4f0b98=_0xbc8ce8;return this[_0x4f0b98(0x23b)][_0x4f0b98(0x24d)](_0x235145)||this[_0x4f0b98(0x23b)][_0x4f0b98(0x1d2)](_0x235145,new _0x3a13e7(_0x51caba['NO_OTHER_CLIENTS_EDITING'])),this[_0x4f0b98(0x23b)][_0x4f0b98(0x249)](_0x235145);}}function _0xa1fb(_0x413fcd,_0x1c1885){const _0x5c44fa=_0x5c44();return _0xa1fb=function(_0xa1fb0e,_0x48197c){_0xa1fb0e=_0xa1fb0e-0x161;let _0x42565d=_0x5c44fa[_0xa1fb0e];return _0x42565d;},_0xa1fb(_0x413fcd,_0x1c1885);}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x39e5a0=_0x4240;(function(_0x45ee99,_0x137e00){const _0x11d69e=_0x4240,_0xe0295a=_0x45ee99();while(!![]){try{const _0x26f482=parseInt(_0x11d69e(0x16f))/0x1*(-parseInt(_0x11d69e(0xa8))/0x2)+parseInt(_0x11d69e(0x112))/0x3+-parseInt(_0x11d69e(0x26f))/0x4*(-parseInt(_0x11d69e(0x22c))/0x5)+-parseInt(_0x11d69e(0xd4))/0x6*(parseInt(_0x11d69e(0xf1))/0x7)+-parseInt(_0x11d69e(0x108))/0x8*(parseInt(_0x11d69e(0x217))/0x9)+parseInt(_0x11d69e(0x11e))/0xa+parseInt(_0x11d69e(0x254))/0xb;if(_0x26f482===_0x137e00)break;else _0xe0295a['push'](_0xe0295a['shift']());}catch(_0x574e2a){_0xe0295a['push'](_0xe0295a['shift']());}}}(_0x470b,0x89e54));var xt=Object[_0x39e5a0(0x186)],Bt=(_0x235bcf,_0x1fe5f0,_0x9c7885)=>_0x1fe5f0 in _0x235bcf?xt(_0x235bcf,_0x1fe5f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c7885}):_0x235bcf[_0x1fe5f0]=_0x9c7885,_=(_0x2c134b,_0x471343,_0x47749c)=>Bt(_0x2c134b,typeof _0x471343!='symbol'?_0x471343+'':_0x471343,_0x47749c);import{jsx as _0x25f88a,jsxs as _0x302688}from'react/jsx-runtime';import{CollaborationStatus as _0x3885c5,CollaborationSessionService as _0x18e03a,CollaborationController as _0x5f3b18,DataLoaderService as _0x3367dd,MemberService as _0x2c9a16,SessionStatus as _0x260da1,ILocalCacheService as _0x552c67,CollaborationUIEventService as _0x4c7686,CollaborationUIEventId as _0x222de0,DocCollaborationEntity as _0x56781e,getLocalCacheKey as _0x14abcb,LOCAL_CACHE_INTERVAL as _0x3d90bf,LOCAL_CACHE_INTERVAL_KEY as _0x4dc1f5,UniverCollaborationClientPlugin as _0x3c092e,CollaborationSocketService as _0x429c3a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x27c24e,DEFAULT_WS_SESSION_TICKET_URL as _0x3c24a9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xdc3bd7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x433ed7,UnitStatus as _0x3aa553}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x572998,IUniverInstanceService as _0x31cd6a,Inject as _0x546f06,Injector as _0x443c56,Disposable as _0x2c1746,createIdentifier as _0x4f0d98,ILogService as _0x38d9e1,ICommandService as _0x384799,Optional as _0x24f097,RxDisposable as _0x2eff66,Workbook as _0x47cfea,DOC_RANGE_TYPE as _0x57e71f,debounce as _0x5ecfd0,Rectangle as _0x3f73aa,DisposableCollection as _0x5bac8e,toDisposable as _0x2120d5,UniverInstanceType as _0x13a6d7,generateRandomId as _0x2021eb,COLORS as _0x20c712,ColorKit as _0x1a687f,ThemeService as _0x267852,fromEventSubject as _0x24eabd,Tools as _0xa93bb6,CommandType as _0x38da82,IConfigService as _0x1cd828,ILocalStorageService as _0x519dd1,DependentOn as _0x165ce7,Plugin as _0x1bce85,merge as _0x54f132,registerDependencies as _0x522a20,mergeOverrideWithDependencies as _0x5a28c6,touchDependencies as _0x5488c1}from'@univerjs/core';import{useObservable as _0x2adcd4,useDependency as _0x9cec4f,IUIPartsService as _0x54d82d,BuiltInUIPart as _0x4f80bd,connectInjector as _0x3e4ac5,IBeforeCloseService as _0x2852e9,IMessageService as _0x1825c4,INotificationService as _0x2cf121}from'@univerjs/ui';import{BehaviorSubject as _0x13e65e,switchMap as _0x4173ee,of as _0x596fdc,takeUntil as _0x2ec815,debounceTime as _0x197b64,Subject as _0x3d5ec4,filter as _0x1d8de4,merge as _0x3630bd,combineLatest as _0x41592f,fromEvent as _0xb4f25d,shareReplay as _0x357da0,mapTo as _0x572218,distinctUntilChanged as _0x4d1d7d}from'rxjs';import{Tooltip as _0x562028,clsx as _0x49752a,MessageType as _0x13006d}from'@univerjs/design';import{forwardRef as _0xe1b5ad,useRef as _0x1e308e,createElement as _0x1f4bc0,useCallback as _0x5868f0}from'react';import{IRemoteInstanceService as _0x145c96}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x759508,RefRangeService as _0x5ea68f,SetSelectionsOperation as _0xfafda6,SheetsSelectionsService as _0x3989c0,EffectRefRangId as _0x3d0310,handleIRemoveRow as _0x421141,handleIRemoveCol as _0x55d0d7,handleMoveRange as _0x406e9d,handleInsertRow as _0x2f0c8a,handleInsertRangeMoveRight as _0x3facfa,handleInsertRangeMoveDown as _0x4e1c23,handleInsertCol as _0x443d6d,handleDeleteRangeMoveUp as _0x234f21,handleDeleteRangeMoveLeft as _0x2a918a,runRefRangeMutations as _0x550042}from'@univerjs/sheets';import{Shape as _0x401e9f,Rect as _0x55df46,getColor as _0x246598,RegularPolygon as _0x366b24,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x35acba,Vector2 as _0xf21b19,SHEET_VIEWPORT_KEY as _0x9f8f1d,IRenderManagerService as _0x36e82c}from'@univerjs/engine-render';import{ISocketService as _0xbf83de,WebSocketService as _0x1237ba,HTTPService as _0x46ef92}from'@univerjs/network';import{IDocClipboardService as _0x1fb839,NodePositionConvertToCursor as _0x3cccbc,NodePositionConvertToRectRange as _0x2779e6,TEXT_RANGE_LAYER_INDEX as _0x27ba38,SetDocZoomRatioOperation as _0x6673cf,DocIMEInputManagerService as _0x1b2d69,DocStateChangeManagerService as _0x17de1c}from'@univerjs/docs-ui';import{IImageIoService as _0x514206}from'@univerjs/drawing';import{ITransformService as _0x445c13,CollaborationEvent as _0x25d93e,isTransformMutationFailure as _0x5ee050,isTransformMutationsWithChangesetSuccess as _0x3a1c57,RevisionService as _0x144dc6,ISnapshotServerService as _0x20303c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x315a58,RichTextEditingMutation as _0x3e9b3c,DocSelectionManagerService as _0x3efe9d,DocSkeletonManagerService as _0x3061c8}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x270ac2,serializeRangeWithSheet as _0x165fb5}from'@univerjs/engine-formula';import{map as _0x4eb70e,filter as _0x1faea4,throttleTime as _0x4cb267,takeUntil as _0x314f39,switchMap as _0x41fe6f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1681dc,getCoordByCell as _0x1ae1ab,getSheetObject as _0x2b5c88}from'@univerjs/sheets-ui';var v=function(){const _0x4351e3=_0x39e5a0;return v=Object[_0x4351e3(0x1cb)]||function(_0x2572f0){const _0x22fe87=_0x4351e3;for(var _0x1abaae,_0x1442c9=0x1,_0x47695c=arguments['length'];_0x1442c9<_0x47695c;_0x1442c9++){_0x1abaae=arguments[_0x1442c9];for(var _0x390e0d in _0x1abaae)Object[_0x22fe87(0x195)][_0x22fe87(0x126)][_0x22fe87(0x271)](_0x1abaae,_0x390e0d)&&(_0x2572f0[_0x390e0d]=_0x1abaae[_0x390e0d]);}return _0x2572f0;},v[_0x4351e3(0x15b)](this,arguments);},ci=function(_0x5a0631,_0x1331cf){const _0x5f3a47=_0x39e5a0;var _0x32d07d={};for(var _0x4043cd in _0x5a0631)Object[_0x5f3a47(0x195)][_0x5f3a47(0x126)]['call'](_0x5a0631,_0x4043cd)&&_0x1331cf[_0x5f3a47(0xd7)](_0x4043cd)<0x0&&(_0x32d07d[_0x4043cd]=_0x5a0631[_0x4043cd]);if(_0x5a0631!=null&&typeof Object[_0x5f3a47(0xfe)]==_0x5f3a47(0x196)){for(var _0x23d349=0x0,_0x4043cd=Object[_0x5f3a47(0xfe)](_0x5a0631);_0x23d349<_0x4043cd[_0x5f3a47(0xca)];_0x23d349++)_0x1331cf[_0x5f3a47(0xd7)](_0x4043cd[_0x23d349])<0x0&&Object[_0x5f3a47(0x195)]['propertyIsEnumerable'][_0x5f3a47(0x271)](_0x5a0631,_0x4043cd[_0x23d349])&&(_0x32d07d[_0x4043cd[_0x23d349]]=_0x5a0631[_0x4043cd[_0x23d349]]);}return _0x32d07d;},ke=_0xe1b5ad(function(_0x1aa51e,_0x5ad860){const _0x192109=_0x39e5a0;var _0x5935fb=_0x1aa51e[_0x192109(0x12e)],_0x298fe3=_0x1aa51e['id'],_0x4f5169=_0x1aa51e[_0x192109(0xb3)],_0x24edba=_0x1aa51e[_0x192109(0x190)],_0x5c70e7=ci(_0x1aa51e,[_0x192109(0x12e),'id','className',_0x192109(0x190)]),_0x347bdf=_0x192109(0x1d2)[_0x192109(0x1fb)](_0x298fe3,'\x20')[_0x192109(0x1fb)](_0x4f5169||'')[_0x192109(0x117)](),_0x5b852a=_0x1e308e('_'[_0x192109(0x1fb)](hi()));return Rt(_0x5935fb,''['concat'](_0x298fe3),{'defIds':_0x5935fb['defIds'],'idSuffix':_0x5b852a[_0x192109(0x192)]},v({'ref':_0x5ad860,'className':_0x347bdf},_0x5c70e7),_0x24edba);});function Rt(_0x2c8f2d,_0x4ddbff,_0x400998,_0x22b4ea,_0x9a0937){const _0x5e1aed=_0x39e5a0;return _0x1f4bc0(_0x2c8f2d[_0x5e1aed(0x1e9)],v(v({'key':_0x4ddbff},li(_0x2c8f2d,_0x400998,_0x9a0937)),_0x22b4ea),(_i(_0x2c8f2d,_0x400998)['children']||[])[_0x5e1aed(0x1f5)](function(_0x1e6f37,_0x5066b6){const _0x166197=_0x5e1aed;return Rt(_0x1e6f37,''[_0x166197(0x1fb)](_0x4ddbff,'-')[_0x166197(0x1fb)](_0x2c8f2d[_0x166197(0x1e9)],'-')['concat'](_0x5066b6),_0x400998,void 0x0,_0x9a0937);}));}function li(_0x4853e6,_0xdcebea,_0x23886b){const _0x3a20e8=_0x39e5a0;var _0x465207=v({},_0x4853e6['attrs']);_0x23886b!=null&&_0x23886b[_0x3a20e8(0x276)]&&_0x465207['fill']===_0x3a20e8(0x276)&&(_0x465207['fill']=_0x23886b['colorChannel1']),_0x4853e6[_0x3a20e8(0x1e9)]===_0x3a20e8(0x15c)&&_0x465207['id']&&(_0x465207['id']=_0x465207['id']+_0xdcebea[_0x3a20e8(0x102)]),Object[_0x3a20e8(0x267)](_0x465207)[_0x3a20e8(0x205)](function(_0x3a358e){const _0x572e34=_0x3a20e8;var _0x523e6d=_0x3a358e[0x0],_0x39ef2d=_0x3a358e[0x1];_0x523e6d===_0x572e34(0x15c)&&typeof _0x39ef2d=='string'&&(_0x465207[_0x523e6d]=_0x39ef2d[_0x572e34(0x110)](/url\(#(.*)\)/,_0x572e34(0xf8)[_0x572e34(0x1fb)](_0xdcebea['idSuffix'],')')));});var _0x1b2589=_0xdcebea[_0x3a20e8(0x18c)];return!_0x1b2589||_0x1b2589['length']===0x0||(_0x4853e6[_0x3a20e8(0x1e9)]===_0x3a20e8(0x162)&&_0x465207['xlink:href']&&(_0x465207[_0x3a20e8(0x167)]=_0x465207[_0x3a20e8(0x167)]+_0xdcebea[_0x3a20e8(0x102)]),Object[_0x3a20e8(0x267)](_0x465207)[_0x3a20e8(0x205)](function(_0x139240){const _0x1c14d3=_0x3a20e8;var _0x3f31df=_0x139240[0x0],_0x11fc1c=_0x139240[0x1];typeof _0x11fc1c==_0x1c14d3(0x120)&&(_0x465207[_0x3f31df]=_0x11fc1c[_0x1c14d3(0x110)](/url\(#(.*)\)/,'url(#$1'[_0x1c14d3(0x1fb)](_0xdcebea['idSuffix'],')')));})),_0x465207;}function _i(_0x300259,_0x39cbca){const _0x179fbc=_0x39e5a0;var _0x59c04c,_0x24a0d7=_0x39cbca[_0x179fbc(0x18c)];return!_0x24a0d7||_0x24a0d7['length']===0x0?_0x300259:_0x300259[_0x179fbc(0x1e9)]===_0x179fbc(0x259)&&(!((_0x59c04c=_0x300259[_0x179fbc(0xe1)])===null||_0x59c04c===void 0x0)&&_0x59c04c[_0x179fbc(0xca)])?v(v({},_0x300259),{'children':_0x300259[_0x179fbc(0xe1)][_0x179fbc(0x1f5)](function(_0x399d27){const _0x50cb1a=_0x179fbc;return typeof _0x399d27[_0x50cb1a(0x18d)]['id']==_0x50cb1a(0x120)&&_0x24a0d7&&_0x24a0d7[_0x50cb1a(0x121)](_0x399d27[_0x50cb1a(0x18d)]['id'])?v(v({},_0x399d27),{'attrs':v(v({},_0x399d27[_0x50cb1a(0x18d)]),{'id':_0x399d27[_0x50cb1a(0x18d)]['id']+_0x39cbca[_0x50cb1a(0x102)]})}):_0x399d27;})}):_0x300259;}function _0x470b(){const _0x24e3f0=['_onCursorDelete','extend','getActiveSheet','current','runId','arc','prototype','function','_instanceService','collab-text-anchor-','_unitOnClients','_toggleOffline','_clearOtherTimers','_getSaveTimeout','replaceDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','sessionStatus$','cursorInfo$','_memberService','parse','makeDirty','_urlService','_updateCollabCursors','_colorAssignService','DeleteRangeMoveUpCommandId','_config','ONLINE','memberID','SYNCED','_syncEditingCollabCursorService','_anchor','setConfig','ALREADY_EXISTS','findNodePositionByCharIndex','_scene','text','getViewport','clearTimeout','_drawAnchor','searchParams','_online','YUUMI_UNABLE_LOAD_URL','USER_NOT_INVITED_CODE','_updateLocalCursor','collaboration.single-unit.warning','_messageService','_transformService','result','set','_setupSubUnitSync','div','getStateCache','setParam','_cursorShapes','_scheduleClearOtherTimer','OnLineIcon','_draw','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stringify','endColumn','assign','fillRule','getValue','_cursors','from','_localCacheService','editingUnit','univerjs-icon\x20univerjs-icon-','onPointerLeave$','getRenderById','collabStatus.offline','MoveRangeCommandId','_initResize','skeleton','top','_initCommandExecutedListener','_revisionService','INVITE_CODE_ALREADY_BOUND','getSheetBySheetId','selection','saveImage','ACTIVE_UNIT_EVENT_CHANNEL','_beforeCloseService','currentColor','_onCursorUpdate','registerRenderModule','min','UNIVER_DOC','getCollabEntity$','setInterval','tag','YUUMI_NO_CUBOID_FOR_QUESTION','_anchorDot','_textBubble','sessionTicket','values','_startSheetCollabCursor','unitId','InsertColCommandId','_themeService','_commandService','_backgroundColor','map','onCommandExecuted','getTypeOfUnitAdded$','wsSessionTicketUrl','AWAITING_WITH_PENDING','_handleEvent','concat','_setupBeforeClosingHandler','params','disableLocalCache','setShapeProps','textRanges','color','exhaustSavingTask','setTimeout','substring','forEach','addObject','unitID','red.300','_docTransformSelectionsService','_onRefRangeChange','black','toRgbString','_handleHeartbeatEvent','RemoveColCommandId','_context','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getOffsetConfig','random','EMAIL_HAS_BEEN_BOUND','fillText','eventID','storage','194454Fasqkr','getActiveRange','_heartbeatTimer','_roomMembers$','_disabled','off-line-icon_clip0_910_343','COMPLETION_FINISHED','save','NOT_COLLAB','on-line-icon_clip0_910_349','_docTransformStateCacheService','_httpService','_docSyncEditingCollabCursorService','_hovered','VIEW_MAIN','INVITE_CODE_REQUIRED','width','complete','collaboration.closeRoom','1em','_getAnchorBounding','2202815zYuVMq','redoState','transformStateCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','getSheetId','MUTATION','EMAIL_VERIFY_CODE_MISMATCH','#FFF','session.collaboration-timeout','subUnitId','origin','transformRemoteChangeset','getRelativeToViewportCoord','[RemoteUniscriptService]:\x20no\x20focused\x20unit','application/json','CLOSE_ROOM','doc.mutation.rich-text-editing','loadOfflineData','entityInit$','_initEvent','_dataLoaderService','OTHER_CLIENTS_EDITING','ranges','univer-mr-2\x20univer-flex\x20univer-text-xl','getCurrentRevOfUnit','_uiPartsService','reconnect','backgroundColor','saveTaskMap','url(#on-line-icon_clip0_910_349)','executeCommand','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','error','registerComponent','YUUMI_AI_RUN_FAILED','INTERNAL_ERROR','APPLY_REJECT','FromArray','5584469LXGTbc','onPointerEnter$','APPLY_PERMISSION_DENIED','_renderManagerService','setActiveRange','defs','_refreshCollabCursors','row','subscribeEvent','LICENSE_EXPORT_SIZE_EXCEEDED','LOGIN_FAILED','TOO_MANY_REQUESTS','_drawTextRange','getMember','sheetId','_colorIndex','roomMembers','override','fill','entries','http://www.w3.org/2000/svg','M0\x200H16V16H0z','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerRefRange','PERMISSION_DENIED','UNRECOGNIZED','ticket','4KMyZWx','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','call','_initDependencies','transformMutation','round','permission.title','colorChannel1','InsertRowCommandId','getVpScrollXYInfoByPosToVp','_session','getColorFromTheme','location','transform','_localStorageService','_updateURLWithCurrentState','loadUnit','enableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSheetObject','fillStyle','_init','mutations','split','_range','disposeWithMe','collabStatus.syncing','roomMembers$','SUBMIT_CHANGESET_TIMEOUT','_selfUnitIDs','newValue','Unknown\x20user','restore','urlChange$','_collabSessionService','debug','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SOCKET_FAILED_RETRY','focused$','_cachedData','collabStatus.synced','_docStateChangeManagerService','hide','YUUMI_CONNECTOR_URL_NOT_FOUND','measureText','_cursorInfo$','_hideTimer','TEXT','_saveCache','getDocRanges','currentTheme$','translate(.97)','PENDING','INVALID_INVITE_CODE','hovered','isArray','source','getParam','_eventUnsubscribe','flatMap','cursorInfo','...','PY_RUNTIME_SCRIPT_ERROR','_notificationService','transformByState','_assignedColors','_initStatusComponent','size','saveOfflineData','getUnitId','subunit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','_document','RemoveRowCommandId','toString','unit','_imageIoService','_collabCursorController','2306PAzDUb','selections','drawWith','_docSkeletonManagerService','m2Prime','session.connection-failed','docStateChange$','_handleLeaveEvent','then','addEventListener','transformMutationsWithChangeset','className','_lastPointer','pushState','executionId','clipPath','transformIMECache','_entityInit$','NO_OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','displayName','getSkeleton','undoState','CONFLICT','getTypeOfUnitDisposed$','setAlpha','MOBILE_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','with','_render','isEditing','search','lineTo','_univerInstanceService','length','ENSURE_SNAPSHOT_EXECUTION','replaceState','show','all','_docTransformIMECacheService','Warning','data','getMemberID','beginPath','8490NLvvCU','FETCH_MISS','0\x200\x2017\x2016','indexOf','_getSessionTicket','history','_refRangeService','collab-rect-range-','deepClone','runOnServer','INVITE_CODE_HAS_BEEN_UES','permission.content','NOT_FOUND','children','_drawRectRange','whenReady','init','setItem','_removeClearOtherTimer','assignAColorForMemberID','isActive','_sheetSkeletonManagerService','RECT','_id','getAncestorScale','has','getOwnPropertyDescriptor','href','Failed','4333JwPmWx','asObservable','dispose$','session.will-retry','endRow','_transformUndoRedoStack','APPLY_REVISION_CONFILICT','url(#$1','[CollaborationDataLoaderController]','event$','_startDocCollabCursor','m1Prime','key','getOwnPropertySymbols','_collaborationUIEventService','_getMergeRange','height','idSuffix','_handleHover','_createSocketURL','OffLineIcon','_removeCollabCursors','_scheduleHeartbeat','128owRqMe','_initEntityListener','_getScale','addObjects','createSocket','_localeService','contains','Error','replace','_hover','3019029yGCxJc','_injector','onLocalMutation','unshift','dispose','trim','activeSheet$','_doCreateSocket','getCurrent','_updateSubUnitFromURLParams','univer-flex\x20univer-items-center','some','2157650YmlKdp','url(#off-line-icon_clip0_910_343)','string','includes','getCellPositionByOffset','SNAPSHOT_INVALID_SNAPSHOT','createInstance','sheetID','hasOwnProperty','collab-text-range-','range','pluginName','UNIVER_SHEET','UNDEFINED','send','body','icon','InsertRangeMoveDownCommandId','getCollabCursors$','_registerRenderDependencies','blue.400','next','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformHistoryAndStateStack','currentSkeleton$','actions','type','_collaborationController','_labelPosition','_toggleOnline','delete','post','_send','collab-client.tooltip.reconnect','_registerDependencies','find','transformSelections','_name','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','syncEditingCollabCursor','APPLY_DUPLICATED','pipe','YUUMI_ALL_TABLES_IS_INVALID','push','subscribe','svg','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_unitStatus','requireSession','setUndoRedoMutationParamsCache','add','getRangePointData','collabCursorState$','_status$','path','MOBILE_VERIFY_CODE_MISMATCH','collabStatus.notCollab','LICENSE_DISTRO_REJECTED','_ensureSubject','getConfig','apply','mask','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','onStarting','column','_cursor','labelPosition','use','unload','status$','_shapes','DeleteRangeMoveLeftCommandId','xlink:href','collaboration-client.offline-data-not-saved','code','LICENSE_MAX_UNITS_EXCEEDED','unsubscribe','getUnitStatus$','bottom','_color','333jqGAVD','getItem','YUUMI_RATE_OVER_LIMIT','onRendered','YUUMI_ASYNCIO_CANCELLED','get','off-line-icon','UPDATE_CURSOR','collaboration-client-ui.config','startsWith','evenodd','name','_logService','_entities','startRow','_saveTaskMap','updateOfflineData','_transformPreviousActiveRange','closePath','getUndoRedoMutationParamsCache','white','_collabCursorState$','OFFLINE','defineProperty','_configService','USERS_LEAVE','_docSkeleton','getFocusedUnit','getCurrentUnitForType','defIds','attrs','WECHAT_HAS_BEEN_BOUND'];_0x470b=function(){return _0x24e3f0;};return _0x470b();}function hi(){const _0x1d16f9=_0x39e5a0;return Math[_0x1d16f9(0x212)]()[_0x1d16f9(0xa4)](0x24)[_0x1d16f9(0x204)](0x2,0x8);}ke[_0x39e5a0(0xbc)]='UniverIcon';var ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x39e5a0(0x22a),'height':_0x39e5a0(0x22a)},'children':[{'tag':'g','attrs':{'clipPath':_0x39e5a0(0x11f)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'stroke':_0x39e5a0(0x1e2),'d':_0x39e5a0(0x14c),'strokeLinecap':_0x39e5a0(0x274),'strokeLinejoin':_0x39e5a0(0x274),'strokeWidth':1.2}}]},{'tag':_0x39e5a0(0x259),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x39e5a0(0x21c)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'fill':_0x39e5a0(0x183),'d':_0x39e5a0(0x269)}}]}]}],'defIds':[_0x39e5a0(0x21c)]},Dt=_0xe1b5ad(function(_0x3c6a98,_0x4f22dc){const _0x1c9d0c=_0x39e5a0;return _0x1f4bc0(ke,Object['assign']({},_0x3c6a98,{'id':_0x1c9d0c(0x175),'ref':_0x4f22dc,'icon':ui}));});Dt[_0x39e5a0(0xbc)]=_0x39e5a0(0x105);var di={'tag':_0x39e5a0(0x14b),'attrs':{'xmlns':_0x39e5a0(0x268),'fill':'none','viewBox':_0x39e5a0(0xd6),'width':_0x39e5a0(0x22a),'height':_0x39e5a0(0x22a)},'children':[{'tag':'g','attrs':{'clipPath':_0x39e5a0(0x24a)},'children':[{'tag':_0x39e5a0(0x155),'attrs':{'stroke':'currentColor','d':_0x39e5a0(0x15d),'strokeLinecap':_0x39e5a0(0x274),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x39e5a0(0x259),'attrs':{},'children':[{'tag':_0x39e5a0(0xb7),'attrs':{'id':_0x39e5a0(0x220)},'children':[{'tag':'path','attrs':{'fill':_0x39e5a0(0x183),'d':_0x39e5a0(0x269),'transform':_0x39e5a0(0x8c)}}]}]}],'defIds':[_0x39e5a0(0x220)]},Nt=_0xe1b5ad(function(_0x7c5b6f,_0x4865ea){return _0x1f4bc0(ke,Object['assign']({},_0x7c5b6f,{'id':'on-line-icon','ref':_0x4865ea,'icon':di}));});Nt['displayName']=_0x39e5a0(0x1c6);function fi(_0x1afe32){const _0x504a54=_0x39e5a0;switch(_0x1afe32){case _0x3885c5['OFFLINE']:return _0x504a54(0x1d5);case _0x3885c5[_0x504a54(0xbf)]:return'collabStatus.conflict';case _0x3885c5[_0x504a54(0xd5)]:return'collabStatus.fetchMiss';case _0x3885c5[_0x504a54(0x21f)]:return _0x504a54(0x157);case _0x3885c5['AWAITING']:case _0x3885c5[_0x504a54(0x1f9)]:return _0x504a54(0x73);case _0x3885c5[_0x504a54(0x1ab)]:case _0x3885c5[_0x504a54(0x8d)]:return _0x504a54(0x81);}}function Si(_0x32795c){const _0x45b123=_0x39e5a0,{status$:_0x2c68c3}=_0x32795c,_0x36d2ad=_0x2adcd4(_0x2c68c3,_0x3885c5[_0x45b123(0x21f)]),_0x2838bd=_0x9cec4f(_0x572998),_0x1f00be=_0x9cec4f(_0x18e03a),_0x4c50b3=_0x36d2ad!==_0x3885c5[_0x45b123(0x185)],_0x1c38a7=_0x2838bd['t'](fi(_0x36d2ad)),_0x3954dd=_0x4c50b3?_0x25f88a(Nt,{}):_0x25f88a(Dt,{}),_0x219977=_0x5868f0(()=>{const _0x169628=_0x45b123;_0x4c50b3||_0x1f00be[_0x169628(0x247)]();},[_0x4c50b3,_0x1f00be]);function _0x4732f4(){const _0x30f62c=_0x45b123;return _0x302688(_0x30f62c(0x1c1),{'className':_0x30f62c(0x11c),'onClick':_0x219977,'children':[_0x25f88a(_0x30f62c(0x1c1),{'className':_0x49752a(_0x30f62c(0x244),{'univer-text-green-500':_0x4c50b3,'univer-text-red-500':!_0x4c50b3}),'children':_0x3954dd}),_0x25f88a(_0x30f62c(0x1c1),{'className':_0x30f62c(0x270),'children':_0x1c38a7})]});}return _0x4c50b3?_0x4732f4():_0x25f88a(_0x562028,{'title':_0x2838bd['t'](_0x45b123(0x13f)),'children':_0x4732f4()});}var mi=Object[_0x39e5a0(0xee)],Ii=(_0xa0c6c0,_0x5e26d8,_0x16c986,_0x4b34f8)=>{for(var _0x5227f5=_0x4b34f8>0x1?void 0x0:_0x4b34f8?mi(_0x5e26d8,_0x16c986):_0x5e26d8,_0x29127d=_0xa0c6c0['length']-0x1,_0x55a17a;_0x29127d>=0x0;_0x29127d--)(_0x55a17a=_0xa0c6c0[_0x29127d])&&(_0x5227f5=_0x55a17a(_0x5227f5)||_0x5227f5);return _0x5227f5;},q=(_0xc33281,_0xe1b89)=>(_0x25e5ce,_0x39c969)=>_0xe1b89(_0x25e5ce,_0x39c969,_0xc33281);let se=class extends _0x2c1746{constructor(_0x2abaed,_0x2e0cd7,_0x18aff9,_0x2882cb){const _0x95da82=_0x39e5a0;super(),_(this,'_status$',new _0x13e65e(_0x3885c5[_0x95da82(0x21f)])),(this['_univerInstanceService']=_0x2abaed,this[_0x95da82(0x113)]=_0x2e0cd7,this[_0x95da82(0x139)]=_0x18aff9,this[_0x95da82(0x246)]=_0x2882cb,this[_0x95da82(0x9b)](),this[_0x95da82(0x230)]());}['_initStatusListener'](){const _0xe72b95=_0x39e5a0;this[_0xe72b95(0x72)](this[_0xe72b95(0xc9)][_0xe72b95(0x7f)]['pipe'](_0x4173ee(()=>{const _0x18e572=_0xe72b95,_0xb414cb=this[_0x18e572(0xc9)][_0x18e572(0x18a)]();return _0xb414cb?this['_collaborationController'][_0x18e572(0x1e7)](_0xb414cb[_0x18e572(0x9e)]()):_0x596fdc(null);}),_0x4173ee(_0x2c963c=>_0x2c963c?_0x2c963c[_0xe72b95(0x164)]:_0x596fdc(_0x3885c5[_0xe72b95(0x21f)])))[_0xe72b95(0x14a)](_0x4316a6=>{const _0xa6ebef=_0xe72b95;this[_0xa6ebef(0x154)]['next'](_0x4316a6);}));}[_0x39e5a0(0x9b)](){const _0xaab6c3=_0x39e5a0;this[_0xaab6c3(0x72)](this['_uiPartsService'][_0xaab6c3(0x24f)](_0x4f80bd['HEADER_MENU'],()=>_0x3e4ac5(vi({'status$':this[_0xaab6c3(0x154)][_0xaab6c3(0xf2)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x31cd6a),q(0x1,_0x546f06(_0x443c56)),q(0x2,_0x546f06(_0x5f3b18)),q(0x3,_0x54d82d)],se);function vi(_0x91d7d1){const {status$:_0x30df4d}=_0x91d7d1;return function(){return _0x25f88a(Si,{'status$':_0x30df4d});};}const Ut=_0x4f0d98('uni.network.url-service');var gi=Object[_0x39e5a0(0xee)],pi=(_0x2deb31,_0x213a5a,_0x171506,_0x295221)=>{for(var _0x562cc5=_0x295221>0x1?void 0x0:_0x295221?gi(_0x213a5a,_0x171506):_0x213a5a,_0x458cec=_0x2deb31['length']-0x1,_0x174037;_0x458cec>=0x0;_0x458cec--)(_0x174037=_0x2deb31[_0x458cec])&&(_0x562cc5=_0x174037(_0x562cc5)||_0x562cc5);return _0x562cc5;},G=(_0x4cd44e,_0x1491cb)=>(_0x583bc3,_0xfd1b5b)=>_0x1491cb(_0x583bc3,_0xfd1b5b,_0x4cd44e);let ie=class extends _0x2eff66{constructor(_0xa31e6b,_0x2332bd,_0x2a5802,_0x48871b,_0x36d281){const _0x3d692a=_0x39e5a0;super(),this[_0x3d692a(0x1a4)]=_0xa31e6b,this[_0x3d692a(0x17b)]=_0x2332bd,this[_0x3d692a(0x1f3)]=_0x2a5802,this[_0x3d692a(0x241)]=_0x48871b,_0x36d281?_0x36d281==null||_0x36d281[_0x3d692a(0xe3)]()['then'](()=>this[_0x3d692a(0x6e)]()):(this[_0x3d692a(0x17b)][_0x3d692a(0x7c)](_0x3d692a(0xf9),_0x3d692a(0x26a)),this[_0x3d692a(0x6e)]());}async[_0x39e5a0(0x6e)](){const _0x88f3da=_0x39e5a0,_0x13182c=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0xa5)),_0x2a605d=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0x138)),_0x518a05=this[_0x88f3da(0x1a4)][_0x88f3da(0x92)](_0x88f3da(0x9f));if(!_0x13182c||!_0x2a605d){this[_0x88f3da(0x17b)][_0x88f3da(0x7c)](_0x88f3da(0xf9),_0x88f3da(0x7d));return;}const _0xa38257=await this['_dataLoaderService'][_0x88f3da(0x69)](_0x13182c,Number(_0x2a605d),_0x518a05);_0xa38257&&_0xa38257 instanceof _0x47cfea&&this[_0x88f3da(0x1c0)](_0xa38257);}async['_setupSubUnitSync'](_0x1b2455){const _0x39f7c9=_0x39e5a0;await this['_updateSubUnitFromURLParams'](_0x1b2455),_0x1b2455[_0x39f7c9(0x118)][_0x39f7c9(0x147)](_0x2ec815(this['dispose$']))[_0x39f7c9(0x14a)](_0x2f78d7=>{const _0x5500bd=_0x39f7c9;_0x2f78d7&&this[_0x5500bd(0x68)](_0x2f78d7);}),this[_0x39f7c9(0x1a4)][_0x39f7c9(0x7a)][_0x39f7c9(0x147)](_0x2ec815(this['dispose$']))[_0x39f7c9(0x14a)](()=>this[_0x39f7c9(0x11b)](_0x1b2455));}[_0x39e5a0(0x68)](_0x4df016,_0x33eb5b=!0x1){const _0x2253f4=_0x39e5a0,_0x3da73c=this[_0x2253f4(0x1a4)][_0x2253f4(0x92)](_0x2253f4(0x9f));_0x4df016[_0x2253f4(0x231)]()!==_0x3da73c&&this[_0x2253f4(0x1a4)][_0x2253f4(0x1c3)]('subunit',_0x4df016[_0x2253f4(0x231)](),_0x33eb5b);}async[_0x39e5a0(0x11b)](_0x319a61){const _0x2a6e86=_0x39e5a0;var _0x26d3db;const _0x3e5fb5=this[_0x2a6e86(0x1a4)][_0x2a6e86(0x92)]('subunit');if(!_0x3e5fb5||!_0x319a61['getSheetBySheetId'](_0x3e5fb5)){const _0x3ced14=_0x319a61['getUnhiddenWorksheets']()[0x0],_0x1918b3=_0x319a61[_0x2a6e86(0x1dd)](_0x3ced14);if(!_0x1918b3)return;this['_updateURLWithCurrentState'](_0x1918b3,!0x0),await this['_commandService'][_0x2a6e86(0x24b)](_0x759508['id'],{'unitId':_0x319a61[_0x2a6e86(0x9e)](),'subUnitId':_0x3ced14});return;}((_0x26d3db=_0x319a61['getActiveSheet']())==null?void 0x0:_0x26d3db[_0x2a6e86(0x231)]())!==_0x3e5fb5&&await this[_0x2a6e86(0x1f3)][_0x2a6e86(0x24b)](_0x759508['id'],{'unitId':_0x319a61[_0x2a6e86(0x9e)](),'subUnitId':_0x3e5fb5});}};ie=pi([G(0x0,Ut),G(0x1,_0x38d9e1),G(0x2,_0x384799),G(0x3,_0x546f06(_0x3367dd)),G(0x4,_0x24f097(_0x145c96))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x24d4c0,_0x5f5253,_0x3e51e4,_0xf1aa8b)=>{const _0x58cf74=_0x39e5a0;for(var _0x1eecd8=_0xf1aa8b>0x1?void 0x0:_0xf1aa8b?Ci(_0x5f5253,_0x3e51e4):_0x5f5253,_0x46f245=_0x24d4c0[_0x58cf74(0xca)]-0x1,_0x3819fd;_0x46f245>=0x0;_0x46f245--)(_0x3819fd=_0x24d4c0[_0x46f245])&&(_0x1eecd8=_0x3819fd(_0x1eecd8)||_0x1eecd8);return _0x1eecd8;},Je=(_0x484145,_0x59288e)=>(_0x190f9a,_0x9c624b)=>_0x59288e(_0x190f9a,_0x9c624b,_0x484145);let Ne=class extends _0x2eff66{constructor(_0x39d147,_0x4f1f9f){const _0x4e8e58=_0x39e5a0;super(),this['_docClipboardService']=_0x39d147,this[_0x4e8e58(0xa6)]=_0x4f1f9f,this[_0x4e8e58(0x6e)]();}[_0x39e5a0(0x6e)](){const _0x1038c0=_0x39e5a0,_0x58c1f5=this;this[_0x1038c0(0x72)](this[_0x1038c0(0x24d)]['addClipboardHook']({'onBeforePasteImage':async _0x42c062=>{const _0x50dedb=_0x1038c0,_0xd14916=await _0x58c1f5[_0x50dedb(0xa6)][_0x50dedb(0x1df)](_0x42c062);return _0xd14916?{'source':_0xd14916[_0x50dedb(0x91)],'imageSourceType':_0xd14916['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x1fb839),Je(0x1,_0x514206)],Ne);const Ze=['purple.300','jiqing.500','green.600',_0x39e5a0(0x208),_0x39e5a0(0x132),'yellow.400'];class He extends _0x2c1746{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x39e5a0(0xe7)](_0x32e337){const _0x267042=_0x39e5a0;if(this['_assignedColors'][_0x267042(0xed)](_0x32e337))return this[_0x267042(0x9a)][_0x267042(0x174)](_0x32e337);const _0x39d3a4=Ze[this['_colorIndex']];return this[_0x267042(0x263)]=(this[_0x267042(0x263)]+0x1)%Ze['length'],this[_0x267042(0x9a)][_0x267042(0x1bf)](_0x32e337,_0x39d3a4),_0x39d3a4;}}function Mt(_0x58334d){const _0x2e97b7=_0x39e5a0;let _0x18942c='';for(const _0x14d31d of _0x58334d){const {startOffset:_0x4a0c16,endOffset:_0x1bd080,isActive:_0xaea523,rangeType:_0x524654,segmentId:_0x5dad91,segmentPage:_0x3e54f1}=_0x14d31d;_0x18942c[_0x2e97b7(0xca)]&&(_0x18942c+=','),_0x18942c+=_0x4a0c16+':'+_0x1bd080+':'+(_0xaea523?'1':'0')+':'+_0x524654+':'+_0x5dad91+':'+_0x3e54f1;}return _0x18942c;}function Oi(_0x40df29){const _0x543fdd=_0x39e5a0,_0x5280a8=_0x40df29['split'](','),_0x57c955=[];for(const _0x65d4d9 of _0x5280a8){const [_0x3f5b75,_0x1ea626,_0xae6edf,_0x3a72a0,_0x30d5f1,_0x5cff6b]=_0x65d4d9[_0x543fdd(0x70)](':');_0x57c955[_0x543fdd(0x149)]({'startOffset':Number(_0x3f5b75),'endOffset':Number(_0x1ea626),'collapsed':_0x3f5b75===_0x1ea626,'isActive':_0xae6edf==='1','rangeType':_0x3a72a0===_0x57e71f[_0x543fdd(0x88)]?_0x57e71f[_0x543fdd(0x88)]:_0x57e71f[_0x543fdd(0xea)],'segmentId':typeof _0x30d5f1==_0x543fdd(0x120)?String(_0x30d5f1):'','segmentPage':Number(_0x5cff6b!=null?_0x5cff6b:-0x1)});}return _0x57c955[_0x543fdd(0x11d)](_0x5d06b3=>_0x5d06b3[_0x543fdd(0xe8)])||(_0x57c955[0x0][_0x543fdd(0xe8)]=!0x0),_0x57c955;}class Fe extends _0x2eff66{constructor(){const _0x38d2b3=_0x39e5a0;super(...arguments),_(this,'_collabCursorState$',new _0x13e65e(null)),_(this,_0x38d2b3(0x153),this[_0x38d2b3(0x184)][_0x38d2b3(0xf2)]());}['syncEditingCollabCursor'](_0x1ada8a){const _0x500b82=_0x39e5a0,{unitID:_0x258fc1,memberID:_0x43081e,textRanges:_0x183320}=_0x1ada8a,_0x42902b=Mt(_0x183320);if(_0x42902b==='')return;const _0x2a1aab={'unitID':_0x258fc1,'memberID':_0x43081e,'selection':_0x42902b};this[_0x500b82(0x184)]['next'](_0x2a1aab);}}var bi=Object[_0x39e5a0(0xee)],Ti=(_0x29c62c,_0x4e205e,_0x480d0b,_0x393e64)=>{const _0x851656=_0x39e5a0;for(var _0x552169=_0x393e64>0x1?void 0x0:_0x393e64?bi(_0x4e205e,_0x480d0b):_0x4e205e,_0x29308f=_0x29c62c[_0x851656(0xca)]-0x1,_0x35ccd2;_0x29308f>=0x0;_0x29308f--)(_0x35ccd2=_0x29c62c[_0x29308f])&&(_0x552169=_0x35ccd2(_0x552169)||_0x552169);return _0x552169;},P=(_0x2e017b,_0x3f6626)=>(_0x3bc7bb,_0x28f3e9)=>_0x3f6626(_0x3bc7bb,_0x28f3e9,_0x2e017b);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2eff66{constructor(_0x1bdcf5,_0x62f4e7,_0x4819c3,_0x477fd9,_0x2504b6,_0x926bef,_0x2609de,_0x3ad4c2,_0x425fef){const _0x2ab1d3=_0x39e5a0;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x2ab1d3(0x86),new _0x13e65e(new Map())),_(this,_0x2ab1d3(0x1a0),this[_0x2ab1d3(0x86)][_0x2ab1d3(0xf2)]()),_(this,_0x2ab1d3(0x21a),new _0x13e65e([])),_(this,_0x2ab1d3(0x74),this[_0x2ab1d3(0x21a)][_0x2ab1d3(0x147)](_0x197b64(Ri))),_(this,'_updateLocalCursor',_0x5ecfd0(_0x36ec62=>{const _0x265b50=_0x2ab1d3,_0xc0e7ce={'eventID':_0x25d93e[_0x265b50(0x176)],'data':{'unitID':this[_0x265b50(0x207)],'memberID':this[_0x265b50(0x279)][_0x265b50(0xd2)](),'selection':Mt(_0x36ec62)}};this[_0x265b50(0x279)][_0x265b50(0x12c)](_0xc0e7ce,this['unitID']);},Di)),(this[_0x2ab1d3(0x207)]=_0x1bdcf5,this[_0x2ab1d3(0x279)]=_0x62f4e7,this[_0x2ab1d3(0x113)]=_0x4819c3,this[_0x2ab1d3(0x1a6)]=_0x477fd9,this[_0x2ab1d3(0x1a1)]=_0x2504b6,this[_0x2ab1d3(0x1ac)]=_0x926bef,this[_0x2ab1d3(0x1bd)]=_0x2609de,this[_0x2ab1d3(0xc9)]=_0x3ad4c2,this[_0x2ab1d3(0x1f3)]=_0x425fef);}get[_0x39e5a0(0x95)](){const _0x230e88=_0x39e5a0;return this[_0x230e88(0x86)]['getValue']();}get[_0x39e5a0(0x264)](){const _0x548133=_0x39e5a0;return this['_roomMembers$'][_0x548133(0x1cd)]();}[_0x39e5a0(0x116)](){const _0xed23de=_0x39e5a0;super[_0xed23de(0x116)](),this[_0xed23de(0x86)][_0xed23de(0x133)](new Map()),this[_0xed23de(0x86)]['complete'](),this[_0xed23de(0x21a)][_0xed23de(0x133)]([]),this['_roomMembers$'][_0xed23de(0x228)]();}[_0x39e5a0(0xe4)](){const _0x5bc79f=_0x39e5a0;this[_0x5bc79f(0x6e)]||(this[_0x5bc79f(0x6e)]=!0x0,this[_0x5bc79f(0x279)]['sessionStatus$'][_0x5bc79f(0x147)](_0x2ec815(this['dispose$']))['subscribe'](_0x4fab76=>{const _0xb813d=_0x5bc79f;_0x4fab76===_0x260da1[_0xb813d(0x1a9)]?this['_toggleOnline']():this[_0xb813d(0x19a)]();}),this[_0x5bc79f(0x279)][_0x5bc79f(0xfa)][_0x5bc79f(0x147)](_0x2ec815(this[_0x5bc79f(0xf3)]))[_0x5bc79f(0x14a)](_0x5a7677=>{const _0x3ce69e=_0x5bc79f,_0x9355b=_0x5a7677['eventID'];_0x9355b===_0x25d93e[_0x3ce69e(0x176)]&&this['_onCursorUpdate'](_0x5a7677),_0x9355b===_0x25d93e['USERS_LEAVE']&&this[_0x3ce69e(0x18f)](_0x5a7677);}),this[_0x5bc79f(0x72)](this[_0x5bc79f(0x1f3)][_0x5bc79f(0x1f6)](_0xcc94e0=>{const _0x43a080=_0x5bc79f,_0x3bb598=_0xcc94e0[_0x43a080(0x1fd)];_0x3bb598!=null&&this[_0x43a080(0x1b7)]&&_0xcc94e0['id']===_0x315a58['id']&&_0x3bb598['unitId']===this['unitID']&&_0x3bb598[_0x43a080(0xc6)]===!0x1&&_0x3bb598[_0x43a080(0x243)][_0x43a080(0xca)]>0x0&&this[_0x43a080(0x1ba)](_0x3bb598[_0x43a080(0x243)]);})),this[_0x5bc79f(0x1ac)][_0x5bc79f(0x153)][_0x5bc79f(0x147)](_0x2ec815(this[_0x5bc79f(0xf3)]))[_0x5bc79f(0x14a)](_0x349c85=>{const _0x10f3a4=_0x5bc79f;if((_0x349c85==null?void 0x0:_0x349c85[_0x10f3a4(0x207)])!==this[_0x10f3a4(0x207)])return;const _0xc5f19c={'eventID':_0x25d93e[_0x10f3a4(0x176)],'data':_0x349c85};this[_0x10f3a4(0x1e3)](_0xc5f19c);}),this[_0x5bc79f(0x72)](this[_0x5bc79f(0x1f3)][_0x5bc79f(0x1f6)](_0x22d3eb=>{const _0x35c4d1=_0x5bc79f;if(_0x22d3eb[_0x35c4d1(0x1fd)]==null)return;const _0x3ad258=_0x22d3eb[_0x35c4d1(0x1fd)];if(_0x22d3eb['id']!==_0x3e9b3c['id']||_0x3ad258[_0x35c4d1(0x1f0)]!==this[_0x35c4d1(0x207)])return;const _0x46eefc={'id':'doc.mutation.rich-text-editing','params':_0x3ad258},_0x297466=this['cursorInfo'];for(const [_0x8c4612,_0x3a0781]of _0x297466){const _0x310348={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x35c4d1(0x207)],'actions':null,'textRanges':_0x3a0781['ranges']}},_0x40ce91=this[_0x35c4d1(0x1bd)][_0x35c4d1(0x273)](_0x46eefc,_0x310348,!0x1);if(_0x5ee050(_0x40ce91))throw _0x40ce91[_0x35c4d1(0x24e)];_0x297466[_0x35c4d1(0x1bf)](_0x8c4612,{..._0x3a0781,'ranges':_0x40ce91['m2Prime'][_0x35c4d1(0x1fd)][_0x35c4d1(0x200)]});}queueMicrotask(()=>{const _0xdce63e=_0x35c4d1;this[_0xdce63e(0x86)][_0xdce63e(0x133)](_0x297466);});})));}[_0x39e5a0(0x1e3)](_0x11911f){const _0x10a8a3=_0x39e5a0;var _0x2ff46b,_0x6f98b9;const {memberID:_0x30fe48,selection:_0x47ed8b}=_0x11911f[_0x10a8a3(0xd1)],_0x5bc9fc=Oi(_0x47ed8b),_0x78a624=(_0x6f98b9=(_0x2ff46b=this[_0x10a8a3(0x1a1)]['getMember'](this['unitID'],_0x30fe48))==null?void 0x0:_0x2ff46b['name'])!=null?_0x6f98b9:_0x10a8a3(0x78),_0x5eaded={'color':this[_0x10a8a3(0x1a6)][_0x10a8a3(0xe7)](_0x30fe48),'name':_0x78a624,'ranges':_0x5bc9fc},_0x47457d=this[_0x10a8a3(0x95)];_0x47457d[_0x10a8a3(0x1bf)](_0x30fe48,_0x5eaded),this[_0x10a8a3(0x86)][_0x10a8a3(0x133)](_0x47457d);}[_0x39e5a0(0x18f)](_0x53258b){const _0x5192e0=_0x39e5a0,{memberID:_0x47e7e9}=_0x53258b[_0x5192e0(0xd1)],_0x228b82=this[_0x5192e0(0x95)];_0x228b82[_0x5192e0(0x13c)](_0x47e7e9),this[_0x5192e0(0x86)][_0x5192e0(0x133)](_0x228b82);}['_toggleOnline'](){const _0x31bf94=_0x39e5a0;var _0x134cd2;if(this[_0x31bf94(0x1b7)]=!0x0,((_0x134cd2=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x134cd2['getUnitId']())!==this['unitID'])return;const _0x3fd259=this['_injector']['get'](_0x3efe9d)[_0x31bf94(0x8a)]();Array['isArray'](_0x3fd259)&&_0x3fd259[_0x31bf94(0xca)]>0x0&&this[_0x31bf94(0x1ba)](_0x3fd259);}[_0x39e5a0(0x19a)](){const _0x13c037=_0x39e5a0;this[_0x13c037(0x1b7)]=!0x1;}};Ue=Ti([P(0x2,_0x546f06(_0x443c56)),P(0x3,_0x546f06(He)),P(0x4,_0x546f06(_0x2c9a16)),P(0x5,_0x546f06(Fe)),P(0x6,_0x445c13),P(0x7,_0x31cd6a),P(0x8,_0x384799)],Ue);var Ni=Object[_0x39e5a0(0xee)],Ui=(_0xdf075b,_0x5c60c9,_0x5ac911,_0x425d21)=>{const _0x32397b=_0x39e5a0;for(var _0x450e3c=_0x425d21>0x1?void 0x0:_0x425d21?Ni(_0x5c60c9,_0x5ac911):_0x5c60c9,_0x4bdd04=_0xdf075b[_0x32397b(0xca)]-0x1,_0x30ff48;_0x4bdd04>=0x0;_0x4bdd04--)(_0x30ff48=_0xdf075b[_0x4bdd04])&&(_0x450e3c=_0x30ff48(_0x450e3c)||_0x450e3c);return _0x450e3c;},x=(_0x421355,_0x43dcf6)=>(_0x3bdb9f,_0x5919ad)=>_0x43dcf6(_0x3bdb9f,_0x5919ad,_0x421355);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1221b4=[],_0x1725ec=!0x1;return _0x48c2a3=>{const _0x5c8632=_0x4240;_0x1221b4[_0x5c8632(0x149)](_0x48c2a3),_0x1725ec||(_0x1725ec=!0x0,setTimeout(()=>{const _0x3d3738=_0x5c8632;_0x1221b4[_0x3d3738(0x205)](_0x22c942=>_0x22c942()),_0x1221b4=[],_0x1725ec=!0x1;}));};};let Me=class extends _0x2eff66{constructor(_0x3758c1,_0x16bb4a,_0x577f4d,_0x1b344d,_0x29ed44,_0x588594,_0x248733,_0x429d43){const _0x3a437d=_0x39e5a0;super(),_(this,_0x3a437d(0x1b7),!0x1),_(this,_0x3a437d(0x6e),!0x1),_(this,_0x3a437d(0x86),new _0x13e65e(new Map())),_(this,_0x3a437d(0x1a0),this['_cursorInfo$'][_0x3a437d(0xf2)]()),_(this,'_roomMembers$',new _0x13e65e([])),_(this,_0x3a437d(0x74),this[_0x3a437d(0x21a)]['pipe'](_0x197b64(Mi))),_(this,'_updateLocalCursor',_0x5ecfd0((_0x34c5b1,_0x1ecd4a)=>{const _0x166f74=_0x3a437d,_0x5d8dad={'eventID':_0x25d93e[_0x166f74(0x176)],'data':{'unitID':this[_0x166f74(0x207)],'memberID':this[_0x166f74(0x279)][_0x166f74(0xd2)](),'selection':_0x165fb5(_0x34c5b1,_0x1ecd4a[_0x166f74(0x128)])}};this[_0x166f74(0x279)][_0x166f74(0x12c)](_0x5d8dad,this[_0x166f74(0x207)]);},Li)),(this[_0x3a437d(0x207)]=_0x3758c1,this['_session']=_0x16bb4a,this[_0x3a437d(0x113)]=_0x577f4d,this['_colorAssignService']=_0x1b344d,this[_0x3a437d(0x1a1)]=_0x29ed44,this[_0x3a437d(0xc9)]=_0x588594,this[_0x3a437d(0x1f3)]=_0x248733,this[_0x3a437d(0xda)]=_0x429d43);}get[_0x39e5a0(0x95)](){const _0x3d4d47=_0x39e5a0;return this[_0x3d4d47(0x86)][_0x3d4d47(0x1cd)]();}get['roomMembers'](){const _0x10285d=_0x39e5a0;return this[_0x10285d(0x21a)][_0x10285d(0x1cd)]();}[_0x39e5a0(0x116)](){const _0x22b808=_0x39e5a0;super['dispose'](),this[_0x22b808(0x86)]['next'](new Map()),this['_cursorInfo$'][_0x22b808(0x228)](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0x39e5a0(0xe4)](){const _0x5296d4=_0x39e5a0;this[_0x5296d4(0x6e)]||(this[_0x5296d4(0x6e)]=!0x0,this[_0x5296d4(0x279)][_0x5296d4(0x19f)]['pipe'](_0x2ec815(this[_0x5296d4(0xf3)]))[_0x5296d4(0x14a)](_0x24c438=>{const _0x136518=_0x5296d4;_0x24c438===_0x260da1[_0x136518(0x1a9)]?this[_0x136518(0x13b)]():this['_toggleOffline']();}),this['_session'][_0x5296d4(0xfa)][_0x5296d4(0x147)](_0x2ec815(this[_0x5296d4(0xf3)]))[_0x5296d4(0x14a)](_0x3c888f=>{const _0x4b2293=_0x5296d4,_0x38f6cb=_0x3c888f[_0x4b2293(0x215)];_0x38f6cb===_0x25d93e[_0x4b2293(0x176)]&&this[_0x4b2293(0x1e3)](_0x3c888f),_0x38f6cb===_0x25d93e[_0x4b2293(0x188)]&&this['_onCursorDelete'](_0x3c888f);}),this[_0x5296d4(0x20a)](),this[_0x5296d4(0x72)](this[_0x5296d4(0x1f3)]['onCommandExecuted'](_0x530a80=>{const _0x39d195=_0x5296d4;if(this[_0x39d195(0x1b7)]&&_0x530a80['id']===_0xfafda6['id']&&_0x530a80[_0x39d195(0x1fd)][_0x39d195(0x1f0)]===this[_0x39d195(0x207)]){const _0x4b18a1=_0x530a80[_0x39d195(0x1fd)];this['_updateLocalCursor'](_0x4b18a1[_0x39d195(0x236)],_0x4b18a1[_0x39d195(0xa9)][0x0]);}})));}[_0x39e5a0(0x1e3)](_0x1f12cb){const _0x3ecf85=_0x39e5a0;var _0x359622,_0x3118d9;const {memberID:_0x6e12b6,selection:_0x1d5f47}=_0x1f12cb['data'],{sheetName:_0x55c832,range:_0x578a81}=_0x270ac2(_0x1d5f47),_0x53a833={'name':(_0x3118d9=(_0x359622=this['_memberService'][_0x3ecf85(0x261)](this[_0x3ecf85(0x207)],_0x6e12b6))==null?void 0x0:_0x359622[_0x3ecf85(0x17a)])!=null?_0x3118d9:_0x3ecf85(0x78),'range':this['_getMergeRange'](_0x55c832,_0x578a81),'sheetID':_0x55c832,'color':this['_colorAssignService'][_0x3ecf85(0xe7)](_0x6e12b6),'selection':_0x1d5f47},_0x296f0d=this[_0x3ecf85(0x95)];_0x296f0d['set'](_0x6e12b6,_0x53a833),this[_0x3ecf85(0x86)]['next'](_0x296f0d);}['_onCursorDelete'](_0x3bfd1f){const _0x384d11=_0x39e5a0,{memberID:_0x121959}=_0x3bfd1f['data'],_0xe0c52b=this[_0x384d11(0x95)];_0xe0c52b[_0x384d11(0x13c)](_0x121959),this[_0x384d11(0x86)][_0x384d11(0x133)](_0xe0c52b);}[_0x39e5a0(0x100)](_0x4ea13e,_0x2371f4){const _0x29fd20=_0x39e5a0;var _0x5aa627,_0x5223fb;const _0x36cd06=(_0x5223fb=(_0x5aa627=this[_0x29fd20(0xc9)]['getUniverSheetInstance'](this[_0x29fd20(0x207)]))==null?void 0x0:_0x5aa627[_0x29fd20(0x1dd)](_0x4ea13e))==null?void 0x0:_0x5223fb['getMergeData']();return(_0x36cd06==null?void 0x0:_0x36cd06[_0x29fd20(0x141)](_0x27340a=>_0x3f73aa[_0x29fd20(0x10e)](_0x27340a,_0x2371f4)))||_0x2371f4;}[_0x39e5a0(0x20a)](){const _0x334302=_0x39e5a0,_0x2926b0=new _0x5bac8e(),_0x8eef78=Pi(),_0xaabde4=()=>{const _0x4e77ed=_0x4240;_0x2926b0[_0x4e77ed(0x116)]();const _0x87dd0b=(_0x51ab8f,_0x58c846,_0x206887,_0x5dc052)=>{const _0x4229d8=_0x4e77ed;let _0x4fdea7=[];switch(_0x51ab8f['id']){case _0x3d0310[_0x4229d8(0x166)]:{_0x4fdea7=_0x2a918a(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1a7)]:{_0x4fdea7=_0x234f21(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1f1)]:{_0x4fdea7=_0x443d6d(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x12f)]:{_0x4fdea7=_0x4e1c23(_0x51ab8f,_0x5dc052);break;}case _0x3d0310['InsertRangeMoveRightCommandId']:{_0x4fdea7=_0x3facfa(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x277)]:{_0x4fdea7=_0x2f0c8a(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x1d6)]:{_0x4fdea7=_0x406e9d(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0x20e)]:{_0x4fdea7=_0x55d0d7(_0x51ab8f,_0x5dc052);break;}case _0x3d0310[_0x4229d8(0xa3)]:{_0x4fdea7=_0x421141(_0x51ab8f,_0x5dc052);break;}}const _0x3a1091=_0x550042(_0x4fdea7,_0x5dc052),_0x30ed12=this[_0x4229d8(0x95)]['get'](_0x58c846);if(_0x30ed12&&_0x3a1091){const _0x4f2566={..._0x30ed12,'range':_0x3a1091};this['cursorInfo'][_0x4229d8(0x1bf)](_0x58c846,_0x4f2566),_0x8eef78(()=>{const _0x44ba3c=_0x4229d8,_0x1c3d7b=this['_refRangeService'][_0x44ba3c(0x26b)](_0x3a1091,_0x22f25a=>(_0x1c3d7b['dispose'](),_0x87dd0b(_0x22f25a,_0x58c846,_0x206887,_0x3a1091)));_0x2926b0[_0x44ba3c(0x151)](_0x1c3d7b);});}return{'redos':[],'undos':[]};};this[_0x4e77ed(0x95)][_0x4e77ed(0x205)]((_0x5297ad,_0x2800bf)=>{const _0x4eb377=_0x4e77ed,{range:_0x420e3d,sheetID:_0x6c44ab}=_0x5297ad,_0x338782=this[_0x4eb377(0xda)]['registerRefRange'](_0x420e3d,_0x9d8c25=>(_0x338782['dispose'](),_0x87dd0b(_0x9d8c25,_0x2800bf,_0x6c44ab,_0x420e3d)));_0x2926b0[_0x4eb377(0x151)](_0x338782);});};this[_0x334302(0x72)](_0x2120d5(this['_cursorInfo$']['subscribe'](()=>{_0xaabde4();})));}['_toggleOnline'](){const _0x5da3da=_0x39e5a0;var _0x1eebc1,_0x270d9d;if(this[_0x5da3da(0x1b7)]=!0x0,((_0x1eebc1=this[_0x5da3da(0xc9)][_0x5da3da(0x18a)]())==null?void 0x0:_0x1eebc1[_0x5da3da(0x9e)]())!==this[_0x5da3da(0x207)])return;const _0x49fc89=(_0x270d9d=this[_0x5da3da(0x113)][_0x5da3da(0x174)](_0x3989c0)['getCurrentSelections']())==null?void 0x0:_0x270d9d[0x0],_0x39fb45=this[_0x5da3da(0xc9)][_0x5da3da(0x18b)](_0x13a6d7[_0x5da3da(0x12a)])[_0x5da3da(0x191)]();_0x49fc89&&_0x39fb45&&this['_updateLocalCursor'](_0x39fb45[_0x5da3da(0x231)](),_0x49fc89);}[_0x39e5a0(0x19a)](){const _0xbfa38a=_0x39e5a0;this[_0xbfa38a(0x1b7)]=!0x1;}};Me=Ui([x(0x2,_0x546f06(_0x443c56)),x(0x3,_0x546f06(He)),x(0x4,_0x546f06(_0x2c9a16)),x(0x5,_0x31cd6a),x(0x6,_0x384799),x(0x7,_0x546f06(_0x5ea68f))],Me);var wi=Object[_0x39e5a0(0xee)],Ai=(_0xc6cd5d,_0xc65e7,_0x23ae5e,_0x4d4fc0)=>{const _0x4507d4=_0x39e5a0;for(var _0x272430=_0x4d4fc0>0x1?void 0x0:_0x4d4fc0?wi(_0xc65e7,_0x23ae5e):_0xc65e7,_0x58dea6=_0xc6cd5d[_0x4507d4(0xca)]-0x1,_0x1854d0;_0x58dea6>=0x0;_0x58dea6--)(_0x1854d0=_0xc6cd5d[_0x58dea6])&&(_0x272430=_0x1854d0(_0x272430)||_0x272430);return _0x272430;},me=(_0x5824e3,_0x5f23f4)=>(_0x4509c3,_0x597fc6)=>_0x5f23f4(_0x4509c3,_0x597fc6,_0x5824e3);let F=class extends _0x2eff66{constructor(_0x2a76f1,_0x1e7edf,_0xd14fa2){const _0x1360e3=_0x39e5a0;super(),_(this,_0x1360e3(0x17c),new Map()),_(this,'_entityInit$',new _0x3d5ec4()),(this['_univerInstanceService']=_0x2a76f1,this[_0x1360e3(0x113)]=_0x1e7edf,this[_0x1360e3(0x7b)]=_0xd14fa2,this['_init']());}[_0x39e5a0(0x116)](){const _0x1a758d=_0x39e5a0;super[_0x1a758d(0x116)](),this[_0x1a758d(0xb9)][_0x1a758d(0x228)](),this['_entities'][_0x1a758d(0x205)](_0x5a728b=>_0x5a728b[_0x1a758d(0x116)]());}[_0x39e5a0(0x130)](_0x5f5c01){const _0x410881=_0x39e5a0;return this[_0x410881(0x17c)][_0x410881(0xed)](_0x5f5c01)?this[_0x410881(0x17c)]['get'](_0x5f5c01)[_0x410881(0x1a0)]:this[_0x410881(0xb9)][_0x410881(0x147)](_0x1d8de4(_0x287f17=>_0x287f17[_0x410881(0x207)]===_0x5f5c01),_0x4173ee(_0x521a84=>_0x521a84[_0x410881(0x1a0)]));}['_init'](){const _0x21b5cd=_0x39e5a0;this[_0x21b5cd(0xc9)][_0x21b5cd(0x1f7)](_0x13a6d7[_0x21b5cd(0x12a)])[_0x21b5cd(0x147)](_0x2ec815(this['dispose$']))[_0x21b5cd(0x14a)](async _0x5b30b6=>{const _0x4b0044=_0x21b5cd,_0x3d323d=_0x5b30b6['getUnitId'](),_0x314d12=await this['_startSheetCollabCursor'](_0x3d323d);this[_0x4b0044(0xb9)][_0x4b0044(0x133)](_0x314d12),this['_entities'][_0x4b0044(0x1bf)](_0x3d323d,_0x314d12);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x13a6d7[_0x21b5cd(0x1e6)])[_0x21b5cd(0x147)](_0x2ec815(this['dispose$']))[_0x21b5cd(0x147)](_0x1d8de4(_0x5f3dcc=>!_0x5f3dcc[_0x21b5cd(0x9e)]()[_0x21b5cd(0x178)]('__')))['subscribe'](async _0x41d080=>{const _0xac29e2=_0x21b5cd,_0x2bee4b=_0x41d080['getUnitId'](),_0x12ad43=await this[_0xac29e2(0xfb)](_0x2bee4b);this['_entityInit$'][_0xac29e2(0x133)](_0x12ad43),this[_0xac29e2(0x17c)][_0xac29e2(0x1bf)](_0x2bee4b,_0x12ad43);}),_0x3630bd(this[_0x21b5cd(0xc9)][_0x21b5cd(0xc0)](_0x13a6d7[_0x21b5cd(0x1e6)]),this[_0x21b5cd(0xc9)][_0x21b5cd(0xc0)](_0x13a6d7[_0x21b5cd(0x12a)]))[_0x21b5cd(0x147)](_0x2ec815(this[_0x21b5cd(0xf3)]))[_0x21b5cd(0x14a)](_0x4db576=>{const _0xea6276=_0x21b5cd,_0x57584a=_0x4db576[_0xea6276(0x9e)](),_0x366721=this[_0xea6276(0x17c)][_0xea6276(0x174)](_0x57584a);_0x366721&&(_0x366721[_0xea6276(0x116)](),this[_0xea6276(0x17c)][_0xea6276(0x13c)](_0x57584a));});}async[_0x39e5a0(0x1ef)](_0x4a9152){const _0x33eb46=_0x39e5a0,_0x23bce2=await this[_0x33eb46(0x7b)]['requireSession'](_0x4a9152),_0x4a01bd=this[_0x33eb46(0x113)]['createInstance'](Me,_0x4a9152,_0x23bce2);return _0x4a01bd['init'](),_0x4a01bd;}async[_0x39e5a0(0xfb)](_0x59c513){const _0x2ad203=_0x39e5a0,_0x47833a=await this['_collabSessionService'][_0x2ad203(0x14f)](_0x59c513),_0x327e97=this[_0x2ad203(0x113)][_0x2ad203(0x124)](Ue,_0x59c513,_0x47833a);return _0x327e97['init'](),_0x327e97;}};F=Ai([me(0x0,_0x31cd6a),me(0x1,_0x546f06(_0x443c56)),me(0x2,_0x546f06(_0x18e03a))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0xb5ef5f,_0x3ed84e){const _0x14a56c=_0x39e5a0;let {radius:_0x320432,width:_0x5eaf89,height:_0x4f314b}=_0x3ed84e;_0x320432=_0x320432!=null?_0x320432:0x0,_0x5eaf89=_0x5eaf89!=null?_0x5eaf89:0x1e,_0x4f314b=_0x4f314b!=null?_0x4f314b:0x1e;let _0x116c70=0x0,_0x25b3fe=0x0,_0xc69f53=0x0;_0x116c70=_0x25b3fe=_0xc69f53=Math['min'](_0x320432,_0x5eaf89/0x2,_0x4f314b/0x2),_0xb5ef5f[_0x14a56c(0xd3)](),_0xb5ef5f['moveTo'](_0x116c70,0x0),_0xb5ef5f[_0x14a56c(0xc8)](_0x5eaf89-_0x25b3fe,0x0),_0xb5ef5f[_0x14a56c(0x194)](_0x5eaf89-_0x25b3fe,_0x25b3fe,_0x25b3fe,Math['PI']*0x3/0x2,0x0,!0x1),_0xb5ef5f[_0x14a56c(0xc8)](_0x5eaf89,_0x4f314b-_0xc69f53),_0xb5ef5f[_0x14a56c(0x194)](_0x5eaf89-_0xc69f53,_0x4f314b-_0xc69f53,_0xc69f53,0x0,Math['PI']/0x2,!0x1),_0xb5ef5f[_0x14a56c(0xc8)](0x0,_0x4f314b),_0xb5ef5f['lineTo'](0x0,_0x116c70),_0xb5ef5f[_0x14a56c(0x194)](_0x116c70,_0x116c70,_0x116c70,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb5ef5f[_0x14a56c(0x181)](),_0x3ed84e[_0x14a56c(0x266)]&&(_0xb5ef5f[_0x14a56c(0x21e)](),_0xb5ef5f[_0x14a56c(0x6d)]=_0x3ed84e[_0x14a56c(0x266)],_0x3ed84e[_0x14a56c(0x1cc)]==='evenodd'?_0xb5ef5f[_0x14a56c(0x266)](_0x14a56c(0x179)):_0xb5ef5f['fill'](),_0xb5ef5f[_0x14a56c(0x79)]());}class ue extends _0x401e9f{constructor(_0x1a561c,_0x15f0f4){const _0x46badd=_0x39e5a0;super(_0x1a561c,_0x15f0f4),_(this,_0x46badd(0x201)),_(this,_0x46badd(0x1b2)),(this[_0x46badd(0x201)]=_0x15f0f4==null?void 0x0:_0x15f0f4['color'],this[_0x46badd(0x1b2)]=_0x15f0f4==null?void 0x0:_0x15f0f4[_0x46badd(0x1b2)]);}static['drawWith'](_0x125fc6,_0x3b07f8){const _0x247745=_0x39e5a0,{text:_0x2d5f07,color:_0x400083}=_0x3b07f8;_0x125fc6['save'](),_0x125fc6['font']=_0x247745(0xa0);const _0x22281e=_0x125fc6[_0x247745(0x85)](_0x2d5f07)[_0x247745(0x227)],_0x5e2c72=Math[_0x247745(0x1e5)](_0x22281e+0x2*Ie,Qe);$i(_0x125fc6,{'height':J,'radius':0x4,'width':_0x5e2c72,'fill':_0x400083}),_0x125fc6[_0x247745(0x6d)]=_0x247745(0x234);const _0x277e0f=Ie,_0x19d1e5=J-yi,_0xe7c968=Qe-0x2*Ie;if(_0x22281e>_0xe7c968){let _0x16c166='',_0x7847de=0x0;for(const _0x23959c of _0x2d5f07){const _0x3b3606=_0x125fc6[_0x247745(0x85)](_0x23959c)[_0x247745(0x227)];if(_0x7847de+_0x3b3606<=_0xe7c968-_0x125fc6[_0x247745(0x85)](_0x247745(0x96))['width'])_0x16c166+=_0x23959c,_0x7847de+=_0x3b3606;else{_0x16c166+=_0x247745(0x96);break;}}_0x125fc6[_0x247745(0x214)](_0x16c166,_0x277e0f,_0x19d1e5);}else _0x125fc6[_0x247745(0x214)](_0x2d5f07,_0x277e0f,_0x19d1e5);_0x125fc6['restore']();}[_0x39e5a0(0x1c7)](_0x2395e9){const _0x25a876=_0x39e5a0;ue[_0x25a876(0xaa)](_0x2395e9,this);}}const ve=_0x39e5a0(0x198),xi=_0x39e5a0(0x127),Bi=_0x39e5a0(0xdb),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x336412,_0x287b51,_0x492e47,_0xc84542){const _0x26a24b=_0x39e5a0;_(this,_0x26a24b(0x165),[]),_(this,_0x26a24b(0x1ad),null),_(this,_0x26a24b(0x1ec),null),_(this,_0x26a24b(0x1eb),null),_(this,_0x26a24b(0x87),null),_(this,_0x26a24b(0x93),null),(this[_0x26a24b(0x160)]=_0x336412,this[_0x26a24b(0x1b1)]=_0x287b51,this[_0x26a24b(0x189)]=_0x492e47,this[_0x26a24b(0xa2)]=_0xc84542,this[_0x26a24b(0xc5)]());}set[_0x39e5a0(0x111)](_0x577acd){const _0x428513=_0x39e5a0;_0x577acd?(this[_0x428513(0x1eb)]&&this['_anchorDot'][_0x428513(0x83)](),this[_0x428513(0x1ec)]&&this[_0x428513(0x1ec)]['show']()):(this['_anchorDot']&&this[_0x428513(0x1eb)][_0x428513(0xcd)](),this[_0x428513(0x1ec)]&&this[_0x428513(0x1ec)]['hide']());}[_0x39e5a0(0x116)](){const _0x4d1c7a=_0x39e5a0;for(const _0x1995c6 of this[_0x4d1c7a(0x165)])_0x1995c6[_0x4d1c7a(0x116)]();this['_textBubble']&&this[_0x4d1c7a(0x1ec)]['dispose'](),this[_0x4d1c7a(0x1eb)]&&this[_0x4d1c7a(0x1eb)][_0x4d1c7a(0x116)](),this[_0x4d1c7a(0x1ad)]&&this[_0x4d1c7a(0x1ad)][_0x4d1c7a(0x116)](),this[_0x4d1c7a(0x93)]&&this['_eventUnsubscribe']();}[_0x39e5a0(0xc5)](){const _0x38b992=_0x39e5a0;var _0x504373;const {_docSkeleton:_0x37adb2,_document:_0x4009c0}=this,{color:_0x4d4efd,name:_0xc0ae3f,ranges:_0x3069ae}=this['_cursor'],_0x52d05f=_0x4009c0[_0x38b992(0x211)](),{docsLeft:_0x2c1e22,docsTop:_0x27583d}=_0x52d05f,_0x4f73b4=new _0x3cccbc(_0x52d05f,_0x37adb2);for(const {startOffset:_0x401704,endOffset:_0x2b7822,rangeType:_0x2e0d15,segmentId:_0x4685d8,segmentPage:_0x34bda3,collapsed:_0xbd5bd2,isActive:_0x539db1}of _0x3069ae){const _0x100bd6=_0x37adb2[_0x38b992(0x1b0)](_0x401704,!0x0,_0x4685d8,_0x34bda3);let _0x59062c=_0x37adb2[_0x38b992(0x1b0)](_0x2b7822,!0x0,_0x4685d8,_0x34bda3);if(_0x59062c==null&&(_0x59062c=_0x37adb2[_0x38b992(0x1b0)](_0x2b7822-0x1,!0x1,_0x4685d8,_0x34bda3)),_0x539db1){const {contentBoxPointGroup:_0x3cf224}=_0x4f73b4['getRangePointData'](_0x59062c,_0x59062c);if(_0x3cf224[_0x38b992(0xca)]===0x0)continue;this[_0x38b992(0x1b5)](_0x4d4efd,_0x3cf224,_0x2c1e22,_0x27583d,_0xc0ae3f),this[_0x38b992(0x93)]=this['_handleHover']();}if(_0x100bd6&&_0x59062c){if(_0x2e0d15===_0x57e71f[_0x38b992(0xea)]){const _0x52a806=new _0x2779e6(_0x52d05f,_0x37adb2),{pointGroup:_0x480b1b}=(_0x504373=_0x52a806[_0x38b992(0x152)](_0x100bd6,_0x59062c))!=null?_0x504373:{};if(_0x480b1b==null||_0x480b1b[_0x38b992(0xca)]===0x0)continue;this[_0x38b992(0xe2)](_0x4d4efd,_0x480b1b,_0x2c1e22,_0x27583d);}else{if(!_0xbd5bd2){const {borderBoxPointGroup:_0x217f4f}=_0x4f73b4[_0x38b992(0x152)](_0x100bd6,_0x59062c);if(_0x217f4f[_0x38b992(0xca)]===0x0)continue;this['_drawTextRange'](_0x4d4efd,_0x217f4f,_0x2c1e22,_0x27583d);}}}}}[_0x39e5a0(0x1b5)](_0x4d8ea2,_0x419016,_0x5bbea5,_0x441a22,_0x22abc4){const _0x29c061=_0x39e5a0,_0x2e315d=this[_0x29c061(0x22b)](_0x419016),{left:_0x173261,top:_0x40ac89,height:_0x55cf06}=_0x2e315d,_0x473790=this[_0x29c061(0x10a)](),_0x142fa6=Hi/_0x473790,_0x2ba233=new _0x55df46(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22,'height':_0x55cf06,'width':ki,'fill':_0x4d8ea2||_0x246598(_0x20c712[_0x29c061(0x20b)],0x0),'strokeWidth':_0x142fa6,'stroke':Fi,'evented':!0x0});this[_0x29c061(0x1ad)]=_0x2ba233,this['_scene']['addObject'](_0x2ba233,_0x27ba38);const _0x106a8b=new _0x55df46(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22-ge/0x2,'height':ge,'width':ge,'fill':_0x4d8ea2||_0x246598(_0x20c712['black'],0x0),'strokeWidth':0x0,'stroke':_0x4d8ea2||_0x246598(_0x20c712[_0x29c061(0x20b)],0x0),'evented':!0x1});this['_anchorDot']=_0x106a8b,this[_0x29c061(0x1b1)][_0x29c061(0x206)](_0x106a8b,_0x27ba38);const _0x525d2d=new ue(ve+_0x2021eb(K),{'left':_0x173261+_0x5bbea5-_0x142fa6,'top':_0x40ac89+_0x441a22-J,'text':_0x22abc4,'color':_0x4d8ea2});this['_textBubble']=_0x525d2d,this['_scene'][_0x29c061(0x206)](_0x525d2d,_0x27ba38),this[_0x29c061(0x111)]=!0x1;}[_0x39e5a0(0x103)](){const _0x59f12b=_0x39e5a0,_0x2bd41f=this['_anchor'][_0x59f12b(0x255)][_0x59f12b(0x25c)](()=>{const _0x17338d=_0x59f12b;this[_0x17338d(0x111)]=!0x0;}),_0x2afba6=this[_0x59f12b(0x1ad)][_0x59f12b(0x1d3)][_0x59f12b(0x25c)](()=>{const _0x5cce18=_0x59f12b;this[_0x5cce18(0x87)]&&clearTimeout(this[_0x5cce18(0x87)]),this['_hideTimer']=setTimeout(()=>{const _0x59fddf=_0x5cce18;this[_0x59fddf(0x111)]=!0x1;},0x7d0);});return()=>{const _0x15df54=_0x59f12b;_0x2bd41f[_0x15df54(0x16b)](),_0x2afba6[_0x15df54(0x16b)]();};}[_0x39e5a0(0x260)](_0x42e739,_0x4950c9,_0xfd414b,_0x41dfce){const _0x279a0c=_0x39e5a0,_0x3525f1=new _0x1a687f(_0x42e739)[_0x279a0c(0xc1)](0.2)[_0x279a0c(0x20c)](),_0x1ac294=new _0x366b24(xi+_0x2021eb(K),{'pointsGroup':_0x4950c9,'fill':_0x3525f1||_0x246598(_0x20c712[_0x279a0c(0x20b)],0.2),'left':_0xfd414b,'top':_0x41dfce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x279a0c(0x149)](_0x1ac294),this[_0x279a0c(0x1b1)]['addObject'](_0x1ac294,_0x27ba38);}[_0x39e5a0(0xe2)](_0x21acdf,_0x486577,_0x2fdea2,_0x1645e9){const _0x4af28b=_0x39e5a0,_0x25d2ea=new _0x1a687f(_0x21acdf)['setAlpha'](0.2)['toRgbString'](),_0x5b3260=new _0x366b24(Bi+_0x2021eb(K),{'pointsGroup':_0x486577,'fill':_0x25d2ea||_0x246598(_0x20c712[_0x4af28b(0x20b)],0.2),'left':_0x2fdea2,'top':_0x1645e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4af28b(0x165)][_0x4af28b(0x149)](_0x5b3260),this['_scene'][_0x4af28b(0x206)](_0x5b3260,_0x27ba38);}['_getAnchorBounding'](_0x4a2f7c){const _0x50fef4=_0x4a2f7c[0x0],_0x4127f4=_0x50fef4[0x0],_0x728107=_0x50fef4[0x2],{x:_0x61b8b2,y:_0x4f4b8e}=_0x4127f4,{x:_0x3e22e5,y:_0x314db8}=_0x728107;return{'left':_0x61b8b2,'top':_0x4f4b8e,'width':_0x3e22e5-_0x61b8b2,'height':_0x314db8-_0x4f4b8e};}['_getScale'](){const _0x545340=_0x39e5a0,{scaleX:_0x514b43,scaleY:_0x2f1531}=this[_0x545340(0x1b1)][_0x545340(0xec)]();return Math['max'](_0x514b43,_0x2f1531);}}var Yi=Object[_0x39e5a0(0xee)],ji=(_0x16a495,_0x59c68c,_0x2d8345,_0x547e9c)=>{const _0x2965b6=_0x39e5a0;for(var _0x4b3969=_0x547e9c>0x1?void 0x0:_0x547e9c?Yi(_0x59c68c,_0x2d8345):_0x59c68c,_0x78a223=_0x16a495[_0x2965b6(0xca)]-0x1,_0x5bf9be;_0x78a223>=0x0;_0x78a223--)(_0x5bf9be=_0x16a495[_0x78a223])&&(_0x4b3969=_0x5bf9be(_0x4b3969)||_0x4b3969);return _0x4b3969;},ee=(_0x3c3d9a,_0x75e666)=>(_0x1447b6,_0x5e79b9)=>_0x75e666(_0x1447b6,_0x5e79b9,_0x3c3d9a);let Le=class extends _0x2eff66{constructor(_0x35b884,_0x2f7c89,_0x372d95,_0x4fb22e,_0x3f7d09){const _0x181e30=_0x39e5a0;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x181e30(0x20f)]=_0x35b884,this[_0x181e30(0xab)]=_0x2f7c89,this['_collabCursorController']=_0x372d95,this[_0x181e30(0x1f3)]=_0x4fb22e,this[_0x181e30(0x1f2)]=_0x3f7d09,this[_0x181e30(0x6e)]());}['_init'](){const _0x5c4754=_0x39e5a0,_0xdab856=this[_0x5c4754(0x20f)][_0x5c4754(0x1f0)],_0x5ce98e=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x41592f([this[_0x5c4754(0xa7)][_0x5c4754(0x130)](_0xdab856),this['_themeService'][_0x5c4754(0x8b)]])[_0x5c4754(0x147)](_0x4eb70e(([_0x106fe5,_0x460e3d])=>({'skeleton':_0x5ce98e[_0x5c4754(0xbd)](),'cursors':[..._0x106fe5['values']()][_0x5c4754(0x94)](_0x192cb6=>({..._0x192cb6,'color':this[_0x5c4754(0x1f2)][_0x5c4754(0x27a)](_0x192cb6[_0x5c4754(0x201)])}))})))['subscribe'](_0x2d7172=>{const _0x542995=_0x5c4754;if(this[_0x542995(0x106)](),_0x2d7172){const {skeleton:_0x3d827b,cursors:_0x349cc4}=_0x2d7172;this[_0x542995(0x1a5)](_0x3d827b,_0x349cc4);}})),this[_0x5c4754(0x1d7)](),this[_0x5c4754(0x1da)]();}['_updateCollabCursors'](_0x34da1f,_0x38434e){const _0x355301=_0x39e5a0,{scene:_0x5dc603,mainComponent:_0x23bab4}=this[_0x355301(0x20f)],_0x4d911f=_0x38434e['map'](_0x3b1995=>new qe(_0x3b1995,_0x5dc603,_0x34da1f,_0x23bab4));this[_0x355301(0x1c4)]=_0x4d911f,this[_0x355301(0x1ce)]=_0x38434e;}[_0x39e5a0(0x25a)](){const _0x1c7ba1=_0x39e5a0;this['_removeCollabCursors']();const {scene:_0x28cb88,mainComponent:_0x4582ed}=this['_context'],_0xf344b5=this[_0x1c7ba1(0xab)][_0x1c7ba1(0xbd)](),_0x2299f0=this[_0x1c7ba1(0x1ce)][_0x1c7ba1(0x1f5)](_0x2153f8=>new qe(_0x2153f8,_0x28cb88,_0xf344b5,_0x4582ed));this[_0x1c7ba1(0x1c4)]=_0x2299f0;}[_0x39e5a0(0x106)](){const _0xc7a4e1=_0x39e5a0;this[_0xc7a4e1(0x1c4)][_0xc7a4e1(0x205)](_0x468e00=>_0x468e00['dispose']()),this[_0xc7a4e1(0x1c4)]=[];}[_0x39e5a0(0x1da)](){const _0x11eb65=_0x39e5a0,_0x3836d6=[_0x6673cf['id']];this[_0x11eb65(0x72)](this[_0x11eb65(0x1f3)][_0x11eb65(0x1f6)](_0x13a998=>{const _0x274eae=_0x11eb65;_0x3836d6[_0x274eae(0x121)](_0x13a998['id'])&&_0x13a998['params']['unitId']===this['_context'][_0x274eae(0x1f0)]&&this[_0x274eae(0x25a)]();}));}[_0x39e5a0(0x1d7)](){const _0x41ed8f=_0x39e5a0;this[_0x41ed8f(0x72)](_0x24eabd(this[_0x41ed8f(0x20f)]['engine']['onTransformChange$'])[_0x41ed8f(0x147)](_0x1faea4(_0x45d430=>_0x45d430[_0x41ed8f(0x138)]===_0x35acba['resize']),_0x4cb267(0x10))[_0x41ed8f(0x14a)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x546f06(_0x3061c8)),ee(0x2,_0x546f06(F)),ee(0x3,_0x384799),ee(0x4,_0x546f06(_0x267852))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x401e9f{constructor(_0x1273f7,_0x3a1b53){const _0x6b2ec7=_0x39e5a0;super(_0x1273f7,_0x3a1b53),_(this,'_color'),_(this,_0x6b2ec7(0x224),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x6b2ec7(0x13a),'top'),_(this,_0x6b2ec7(0x1f4)),(_0x3a1b53&&this[_0x6b2ec7(0x1ff)](_0x3a1b53),this[_0x6b2ec7(0x255)][_0x6b2ec7(0x25c)](()=>this[_0x6b2ec7(0x1ff)]({'hovered':!0x0})),this[_0x6b2ec7(0x1d3)][_0x6b2ec7(0x25c)](()=>this[_0x6b2ec7(0x1ff)]({'hovered':!0x1})));}[_0x39e5a0(0x1ff)](_0x503f22){const _0x365f84=_0x39e5a0;var _0x215f76,_0x1146fc,_0x2e4ac7,_0x3fed78,_0x4ff8e3,_0x3c5484;this[_0x365f84(0x16e)]=(_0x215f76=_0x503f22[_0x365f84(0x201)])!=null?_0x215f76:this[_0x365f84(0x16e)],this[_0x365f84(0x224)]=(_0x1146fc=_0x503f22[_0x365f84(0x8f)])!=null?_0x1146fc:this[_0x365f84(0x224)],this[_0x365f84(0x71)]=(_0x2e4ac7=_0x503f22[_0x365f84(0x128)])!=null?_0x2e4ac7:this[_0x365f84(0x71)],this[_0x365f84(0x143)]=(_0x3fed78=_0x503f22[_0x365f84(0x17a)])!=null?_0x3fed78:this[_0x365f84(0x143)],this[_0x365f84(0x13a)]=(_0x4ff8e3=_0x503f22[_0x365f84(0x161)])!=null?_0x4ff8e3:this['_labelPosition'],this[_0x365f84(0x1f4)]=(_0x3c5484=_0x503f22[_0x365f84(0x248)])!=null?_0x3c5484:this[_0x365f84(0x1f4)],this[_0x365f84(0x99)]({'width':_0x503f22['width'],'height':_0x503f22[_0x365f84(0x101)]});}['onMouseMove'](_0x2a1369){const _0x51a0f0=_0x39e5a0,{row:_0x48b483,column:_0x968ed8}=_0x2a1369;if(_0x48b483>=this[_0x51a0f0(0x71)][_0x51a0f0(0x17d)]&&_0x48b483<=this[_0x51a0f0(0x71)][_0x51a0f0(0xf5)]&&_0x968ed8>=this[_0x51a0f0(0x71)]['startColumn']&&_0x968ed8<=this[_0x51a0f0(0x71)][_0x51a0f0(0x1ca)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x51a0f0(0x1ff)]({'hovered':!0x1});}['triggerDblclick'](_0x45006e){return!0x1;}[_0x39e5a0(0x1c7)](_0x3f5f75){const _0x34cec1=_0x39e5a0;_0x55df46[_0x34cec1(0xaa)](_0x3f5f75,{'width':this[_0x34cec1(0x227)],'height':this[_0x34cec1(0x101)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x34cec1(0x1f4)]}),this[_0x34cec1(0x224)]&&(_0x3f5f75[_0x34cec1(0x21e)](),_0x3f5f75[_0x34cec1(0x27c)](0x1,0x0,0x0,0x1,this[_0x34cec1(0x227)],this[_0x34cec1(0x13a)]===_0x34cec1(0x16d)?0x0:-J),ue[_0x34cec1(0xaa)](_0x3f5f75,{'text':this[_0x34cec1(0x143)],'color':this[_0x34cec1(0x16e)]}),_0x3f5f75['restore']());}}var Gi=Object[_0x39e5a0(0xee)],Ki=(_0x127b41,_0xd5caf0,_0x38490c,_0x3d79cd)=>{const _0x173938=_0x39e5a0;for(var _0x5212ef=_0x3d79cd>0x1?void 0x0:_0x3d79cd?Gi(_0xd5caf0,_0x38490c):_0xd5caf0,_0x21e4ea=_0x127b41[_0x173938(0xca)]-0x1,_0xa235e3;_0x21e4ea>=0x0;_0x21e4ea--)(_0xa235e3=_0x127b41[_0x21e4ea])&&(_0x5212ef=_0xa235e3(_0x5212ef)||_0x5212ef);return _0x5212ef;},pe=(_0x2cd613,_0x409b88)=>(_0x290e9f,_0xe137bb)=>_0x409b88(_0x290e9f,_0xe137bb,_0x2cd613);const zi=0x1389;let Pe=class extends _0x2eff66{constructor(_0x525bfe,_0x58dd2a,_0x52a591,_0x3fb912){const _0x14fa60=_0x39e5a0;super(),_(this,_0x14fa60(0x1ce),new Set()),_(this,_0x14fa60(0xb4),null),(this[_0x14fa60(0x20f)]=_0x525bfe,this[_0x14fa60(0xe9)]=_0x58dd2a,this['_collabCursorController']=_0x52a591,this[_0x14fa60(0x1f2)]=_0x3fb912,this['_init']());}[_0x39e5a0(0x6e)](){const _0x206989=_0x39e5a0;this[_0x206989(0xe9)][_0x206989(0x136)]['pipe'](_0x314f39(this[_0x206989(0xf3)]),_0x41fe6f(_0xb07f89=>{const _0x3d15c8=_0x206989;if(_0xb07f89){const _0x585fed=_0xb07f89[_0x3d15c8(0x262)];return _0x41592f(this[_0x3d15c8(0xa7)][_0x3d15c8(0x130)](this['_context'][_0x3d15c8(0x1f0)]),this[_0x3d15c8(0x1f2)][_0x3d15c8(0x8b)])['pipe'](_0x4eb70e(([_0xe3480e,_0x22dcc2])=>{const _0x4ee947=new Map();return _0xe3480e['forEach']((_0x1aa5e9,_0x52875e)=>{const _0x44e54a=_0x4240;if(_0x1aa5e9[_0x44e54a(0x125)]===_0x585fed){const _0x11b406={..._0x1aa5e9};_0x11b406[_0x44e54a(0x201)]=this[_0x44e54a(0x1f2)][_0x44e54a(0x27a)](_0x1aa5e9[_0x44e54a(0x201)]),_0x4ee947[_0x44e54a(0x1bf)](_0x52875e,_0x11b406);}}),{'skeleton':_0xb07f89,'cursors':_0x4ee947};}));}return _0x596fdc({'skeleton':null,'cursors':new Map()});}))[_0x206989(0x14a)](({skeleton:_0x13b0b7,cursors:_0x17c4c6})=>{const _0x288e96=_0x206989;this[_0x288e96(0x106)](),_0x13b0b7&&this['_updateCollabCursors'](_0x13b0b7,_0x17c4c6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x206989(0x14a)](_0x221b61=>{const _0x69549c=_0x206989;if(_0x221b61==null)return;const {skeleton:_0x29d600}=_0x221b61,{scene:_0x4eb71b}=this[_0x69549c(0x20f)];_0x4eb71b['onPointerMove$'][_0x69549c(0x25c)](_0x5ecfd0(_0x299800=>{const _0x45326e=_0x69549c;var _0x39a6d5,_0x30460d;const {offsetX:_0x4ac8b7,offsetY:_0x1e0720}=_0x299800,{x:_0x267cbc,y:_0x2255a1}=_0x4eb71b[_0x45326e(0x239)](_0xf21b19[_0x45326e(0x253)]([_0x4ac8b7,_0x1e0720])),{scaleX:_0x38d669,scaleY:_0x1488fa}=_0x4eb71b[_0x45326e(0xec)](),_0x4fcef6=_0x4eb71b[_0x45326e(0x1b3)](_0x9f8f1d[_0x45326e(0x225)]),_0x574d50=_0x4eb71b[_0x45326e(0x278)](_0xf21b19[_0x45326e(0x253)]([_0x267cbc,_0x2255a1]),_0x4fcef6),_0x11f00c=_0x29d600[_0x45326e(0x122)](_0x4ac8b7,_0x1e0720,_0x38d669,_0x1488fa,_0x574d50);((_0x39a6d5=this[_0x45326e(0xb4)])==null?void 0x0:_0x39a6d5[_0x45326e(0x15f)])===_0x11f00c[_0x45326e(0x15f)]&&((_0x30460d=this[_0x45326e(0xb4)])==null?void 0x0:_0x30460d['row'])===_0x11f00c[_0x45326e(0x25b)]||this[_0x45326e(0x1ce)][_0x45326e(0x205)](_0x17291c=>{_0x17291c['onMouseMove'](_0x11f00c);});},0x64));});}[_0x39e5a0(0x1a5)](_0x3a2b31,_0x5433dc){const _0x58a27a=_0x39e5a0;var _0x57350b;const _0x42beed=(_0x57350b=this['_sheetSkeletonManagerService'][_0x58a27a(0x11a)]())==null?void 0x0:_0x57350b[_0x58a27a(0x1d8)];if(!_0x42beed)return;const _0x37fe56=this['_getSheetObject']();if(!_0x37fe56)return;this['_cursors'][_0x58a27a(0x205)](_0x6dc784=>{const _0x282c80=_0x58a27a;_0x6dc784[_0x282c80(0x1a3)]();});const {scene:_0x26adbb}=_0x37fe56,_0x398796=Ji(Array[_0x58a27a(0x1cf)](_0x5433dc[_0x58a27a(0x1ee)]()))[_0x58a27a(0x1f5)](_0xa9cb88=>{const _0x4f58ce=_0x58a27a,{color:_0x3762fe,range:_0xe2a3f7,name:_0x4edcd3,selection:_0x9302a7,sheetID:_0x29b1bd}=_0xa9cb88,{startColumn:_0x5a71fa,startRow:_0x4dc2a5,endColumn:_0x482de5,endRow:_0x154dec}=_0xe2a3f7,_0x5b7513=_0x1ae1ab(_0x4dc2a5,_0x5a71fa,_0x26adbb,_0x42beed),_0x218ae7=_0x1ae1ab(_0x154dec,_0x482de5,_0x26adbb,_0x42beed),{columnHeaderHeightAndMarginTop:_0x5a3c9a}=_0x42beed,{startX:_0x377568,startY:_0x59ec6b}=_0x5b7513,{endX:_0x59f29b,endY:_0x32fccd}=_0x218ae7,_0x5d6b40=_0x59f29b-_0x377568,_0x474de8=_0x32fccd-_0x59ec6b,_0x2167e1={'labelPosition':_0x59ec6b-_0x5a3c9a>=J?_0x4f58ce(0x1d9):_0x4f58ce(0x16d),'sheetID':_0x29b1bd,'range':_0xe2a3f7,'color':_0x3762fe,'name':_0x4edcd3,'selection':_0x9302a7,'left':_0x377568,'top':_0x59ec6b,'width':_0x5d6b40,'height':_0x474de8,'evented':!0x1,'zIndex':zi};return new Xi(_0x4edcd3,_0x2167e1);});_0x26adbb[_0x58a27a(0x10b)](_0x398796,Vi),this[_0x58a27a(0x1ce)]=new Set(_0x398796);}[_0x39e5a0(0x106)](){const _0x3ace75=_0x39e5a0;var _0x5359a8;(_0x5359a8=this[_0x3ace75(0x1ce)])==null||_0x5359a8[_0x3ace75(0x205)](_0x2cf42b=>_0x2cf42b[_0x3ace75(0x116)]());}[_0x39e5a0(0x6c)](){const _0x222b9f=_0x39e5a0;return _0x2b5c88(this[_0x222b9f(0x20f)][_0x222b9f(0xa5)],this[_0x222b9f(0x20f)]);}};Pe=Ki([pe(0x1,_0x546f06(_0x1681dc)),pe(0x2,_0x546f06(F)),pe(0x3,_0x546f06(_0x267852))],Pe);function Ji(_0x33401a){const _0x56ff0e=_0x39e5a0,_0x343097=new Map();return _0x33401a[_0x56ff0e(0x205)](_0x12ceb2=>{const _0x3cac8b=_0x56ff0e;if(_0x343097[_0x3cac8b(0xed)](_0x12ceb2[_0x3cac8b(0x1de)])){const _0x38c914=_0x343097[_0x3cac8b(0x174)](_0x12ceb2[_0x3cac8b(0x1de)]);_0x38c914[_0x3cac8b(0x17a)]+=',\x20'+_0x12ceb2[_0x3cac8b(0x17a)];}else _0x343097[_0x3cac8b(0x1bf)](_0x12ceb2[_0x3cac8b(0x1de)],_0x12ceb2);}),Array[_0x56ff0e(0x1cf)](_0x343097[_0x56ff0e(0x1ee)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x34a252,_0x394b7d,_0x3dad3d,_0x44e612)=>{const _0x2c86c2=_0x39e5a0;for(var _0x354e74=_0x44e612>0x1?void 0x0:_0x44e612?Zi(_0x394b7d,_0x3dad3d):_0x394b7d,_0x584fd2=_0x34a252[_0x2c86c2(0xca)]-0x1,_0x19fe5e;_0x584fd2>=0x0;_0x584fd2--)(_0x19fe5e=_0x34a252[_0x584fd2])&&(_0x354e74=_0x19fe5e(_0x354e74)||_0x354e74);return _0x354e74;},B=(_0x2066c1,_0x235f1b)=>(_0x511586,_0x2aed97)=>_0x235f1b(_0x511586,_0x2aed97,_0x2066c1);let ne=class extends _0x2c1746{constructor(_0x7edc60,_0x4fc90a,_0xe63e21,_0xa65a4b,_0x54cdde,_0x5645c4){const _0x2808d6=_0x39e5a0;super(),this['_beforeCloseService']=_0x7edc60,this[_0x2808d6(0x1d0)]=_0x4fc90a,this[_0x2808d6(0xff)]=_0xe63e21,this[_0x2808d6(0x1bc)]=_0xa65a4b,this[_0x2808d6(0x98)]=_0x54cdde,this[_0x2808d6(0x10d)]=_0x5645c4,this['_setupBeforeClosingHandler'](),this[_0x2808d6(0x240)]();}[_0x39e5a0(0x1fc)](){const _0x1bf56b=_0x39e5a0;this[_0x1bf56b(0x72)](this[_0x1bf56b(0x1e1)]['registerBeforeClose'](()=>{const _0x374e5d=_0x1bf56b;if(this[_0x374e5d(0x1d0)][_0x374e5d(0x249)][_0x374e5d(0x9c)])return this['_localeService']['t'](_0x374e5d(0x168));}));}[_0x39e5a0(0x240)](){const _0x4de4fd=_0x39e5a0;this[_0x4de4fd(0x72)](this[_0x4de4fd(0xff)][_0x4de4fd(0xfa)]['subscribe'](_0x57d0a0=>{const _0x3d6773=_0x4de4fd;_0x57d0a0['id']===_0x222de0[_0x3d6773(0xa1)]&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x1bb))}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x23c)]&&this['_messageService'][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x229))}),_0x57d0a0['id']===_0x222de0['PERMISSION_DENIED']&&this['_notificationService'][_0x3d6773(0xcd)]({'title':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x275)),'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xdf)),'type':'error','duration':0x0}),_0x57d0a0['id']===_0x222de0['CONFLICT']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this['_localeService']['t'](_0x3d6773(0x229))+'('+_0x57d0a0['data']+')'}),_0x57d0a0['id']===_0x222de0['JOIN_ROOM_FAILED']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this['_localeService']['t'](_0x57d0a0['data']||'')}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x7e)]&&this['_messageService'][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0xd0)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xf4))}),_0x57d0a0['id']===_0x222de0['SOCKET_FAILED']&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0xad))}),_0x57d0a0['id']===_0x222de0[_0x3d6773(0x75)]&&this[_0x3d6773(0x1bc)][_0x3d6773(0xcd)]({'type':_0x13006d[_0x3d6773(0x10f)],'content':this[_0x3d6773(0x10d)]['t'](_0x3d6773(0x235))});}));}};ne=Qi([B(0x0,_0x2852e9),B(0x1,_0x552c67),B(0x2,_0x546f06(_0x4c7686)),B(0x3,_0x1825c4),B(0x4,_0x2cf121),B(0x5,_0x546f06(_0x572998))],ne);const qi=_0x39e5a0(0x177),et={};var en=Object[_0x39e5a0(0xee)],tn=(_0x2c3791,_0xdeda35,_0x131f22,_0x4681e4)=>{for(var _0x258009=_0x4681e4>0x1?void 0x0:_0x4681e4?en(_0xdeda35,_0x131f22):_0xdeda35,_0x4c780a=_0x2c3791['length']-0x1,_0x10f588;_0x4c780a>=0x0;_0x4c780a--)(_0x10f588=_0x2c3791[_0x4c780a])&&(_0x258009=_0x10f588(_0x258009)||_0x258009);return _0x258009;},tt=(_0x60dd82,_0x5c1a93)=>(_0xbb2fdf,_0x4f4354)=>_0x5c1a93(_0xbb2fdf,_0x4f4354,_0x60dd82);let re=class{constructor(_0x33e5c5,_0x3bb570){const _0x3587dc=_0x39e5a0;this[_0x3587dc(0x1bd)]=_0x33e5c5,this['_renderManagerService']=_0x3bb570;}[_0x39e5a0(0xb8)](_0x344227){const _0x1c489d=_0x39e5a0;this[_0x1c489d(0xf6)](_0x344227),this[_0x1c489d(0x180)](_0x344227);}[_0x39e5a0(0x238)](_0x2dbb94){const _0x383129=_0x39e5a0,{unitID:_0x332468}=_0x2dbb94,_0x429f2b=this[_0x383129(0x257)][_0x383129(0x1d4)](_0x332468)[_0x383129(0xc4)](_0x1b2d69),{redoCache:_0x75ef07}=_0x429f2b[_0x383129(0x182)]();if(_0x75ef07[_0x383129(0xca)]===0x0)return _0x2dbb94;let _0x1bd1f7=_0xa93bb6[_0x383129(0xdc)](_0x2dbb94[_0x383129(0x6f)][0x0]);for(let _0x437816=0x0;_0x437816<_0x75ef07[_0x383129(0xca)];_0x437816++){const _0x1c633c={'id':_0x383129(0x23d),'params':{..._0x75ef07[_0x437816]}},_0x296b0a=this[_0x383129(0x1bd)][_0x383129(0x273)](_0x1bd1f7,_0x1c633c,!0x1);if(_0x5ee050(_0x296b0a))throw _0x296b0a[_0x383129(0x24e)];_0x1bd1f7=_0x296b0a[_0x383129(0xfc)];}return{..._0xa93bb6[_0x383129(0xdc)](_0x2dbb94),'mutations':[_0x1bd1f7]};}[_0x39e5a0(0xf6)](_0x4d8345){const _0x10700f=_0x39e5a0,{unitID:_0x4937e9}=_0x4d8345,_0x43736a=this[_0x10700f(0x257)]['getRenderById'](_0x4937e9)[_0x10700f(0xc4)](_0x1b2d69),{undoCache:_0x46b6dc,redoCache:_0x17a31a}=_0x43736a[_0x10700f(0x182)]();if(_0x46b6dc[_0x10700f(0xca)]===0x0||_0x17a31a[_0x10700f(0xca)]===0x0)return;const _0x2bb479=[],_0xea209f=[];let _0x252fc8=_0xa93bb6[_0x10700f(0xdc)](_0x4d8345[_0x10700f(0x6f)][0x0]),_0x306258=_0xa93bb6[_0x10700f(0xdc)](_0x4d8345[_0x10700f(0x6f)][0x0]);for(let _0xe0d2b1=_0x46b6dc['length']-0x1;_0xe0d2b1>=0x0;_0xe0d2b1--){const _0x18b054={'id':'doc.mutation.rich-text-editing','params':{..._0x46b6dc[_0xe0d2b1]}},_0xd04414={'id':_0x10700f(0x23d),'params':{..._0x17a31a[_0xe0d2b1]}},_0x323855=this[_0x10700f(0x1bd)]['transformMutation'](_0x252fc8,_0x18b054,!0x1),_0x7a6967=this['_transformService'][_0x10700f(0x273)](_0x306258,_0xd04414,!0x1);if(_0x5ee050(_0x323855))throw _0x323855[_0x10700f(0x24e)];if(_0x5ee050(_0x7a6967))throw _0x7a6967[_0x10700f(0x24e)];_0x2bb479[_0x10700f(0x115)](_0x323855['m2Prime'][_0x10700f(0x1fd)]),_0xea209f['unshift'](_0x7a6967['m2Prime'][_0x10700f(0x1fd)]),_0x252fc8=_0x323855['m1Prime'],_0x306258=_0x7a6967[_0x10700f(0xfc)];}_0x43736a[_0x10700f(0x150)]({'undoCache':_0x2bb479,'redoCache':_0xea209f});}[_0x39e5a0(0x180)](_0x40182f){const _0xe56173=_0x39e5a0,{unitID:_0x55d88f}=_0x40182f,_0x471d7f=this[_0xe56173(0x257)]['getRenderById'](_0x55d88f)['with'](_0x1b2d69),_0x5c9ea5=_0x471d7f[_0xe56173(0x218)]();if(_0x5c9ea5==null)return;const _0x26e45f=[{'id':_0xe56173(0x23d),'params':{'unitId':_0x40182f[_0xe56173(0x207)],'actions':null,'textRanges':[_0x5c9ea5]}}],_0x8bed28=this['_transformService'][_0xe56173(0xb2)](_0x40182f,_0x26e45f);if(!_0x3a1c57(_0x8bed28))throw _0x8bed28[_0xe56173(0x24e)];const _0x3889e8=_0x8bed28[_0xe56173(0xac)][0x0][_0xe56173(0x1fd)]['textRanges'];Array['isArray'](_0x3889e8)&&_0x3889e8[_0xe56173(0xca)]&&_0x471d7f[_0xe56173(0x258)](_0x3889e8[0x0]);}};re=tn([tt(0x0,_0x445c13),tt(0x1,_0x36e82c)],re);var sn=Object[_0x39e5a0(0xee)],nn=(_0x2aec68,_0x14975f,_0x35f688,_0x36f52f)=>{for(var _0x17b90a=_0x36f52f>0x1?void 0x0:_0x36f52f?sn(_0x14975f,_0x35f688):_0x14975f,_0x551a6b=_0x2aec68['length']-0x1,_0xa02a14;_0x551a6b>=0x0;_0x551a6b--)(_0xa02a14=_0x2aec68[_0x551a6b])&&(_0x17b90a=_0xa02a14(_0x17b90a)||_0x17b90a);return _0x17b90a;},Ce=(_0x3f58d0,_0x2b8652)=>(_0xbea1f1,_0x47210d)=>_0x2b8652(_0xbea1f1,_0x47210d,_0x3f58d0);let oe=class{constructor(_0x14c0a0,_0x5ca958,_0x52ade6){const _0x4a23d5=_0x39e5a0;this[_0x4a23d5(0x113)]=_0x14c0a0,this['_transformService']=_0x5ca958,this['_docStateChangeManagerService']=_0x52ade6;}['transformStateCache'](_0x3fb176){const _0x311f87=_0x39e5a0;this[_0x311f87(0x135)](_0x3fb176);}[_0x39e5a0(0x238)](_0x382500){const _0x3c8919=_0x39e5a0,{unitID:_0x582fd6}=_0x382500,{collaboration:_0x50cf10}=this[_0x3c8919(0x82)][_0x3c8919(0x1c2)](_0x582fd6);if(_0x50cf10['length']===0x0)return _0x382500;let _0x42b4d7=_0xa93bb6[_0x3c8919(0xdc)](_0x382500['mutations'][0x0]);for(let _0x599af8=0x0;_0x599af8<_0x50cf10[_0x3c8919(0xca)];_0x599af8++){const _0x1a9e3d={'id':_0x3c8919(0x23d),'params':{'unitId':_0x50cf10[_0x599af8][_0x3c8919(0x1f0)],..._0x50cf10[_0x599af8][_0x3c8919(0x22d)]}},_0x1dc87b=this[_0x3c8919(0x1bd)]['transformMutation'](_0x42b4d7,_0x1a9e3d,!0x1);if(_0x5ee050(_0x1dc87b))throw _0x1dc87b['error'];_0x42b4d7=_0x1dc87b[_0x3c8919(0xfc)];}return{..._0xa93bb6['deepClone'](_0x382500),'mutations':[_0x42b4d7]};}[_0x39e5a0(0x135)](_0x220c7d){const _0xec0d85=_0x39e5a0,{unitID:_0x2546b8}=_0x220c7d,{history:_0x1bd7c7,collaboration:_0x59cd21}=this[_0xec0d85(0x82)][_0xec0d85(0x1c2)](_0x2546b8);if(_0x1bd7c7['length']===0x0&&_0x59cd21['length']===0x0)return;const _0x496472=[],_0x2ebd4f=[];let _0xd1176b=_0xa93bb6['deepClone'](_0x220c7d[_0xec0d85(0x6f)][0x0]),_0x3c5f53=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d['mutations'][0x0]);for(let _0x156b9e=_0x1bd7c7['length']-0x1;_0x156b9e>=0x0;_0x156b9e--){const _0x5158a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bd7c7[_0x156b9e][_0xec0d85(0x1f0)],..._0x1bd7c7[_0x156b9e][_0xec0d85(0xbe)]}},_0x3655da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bd7c7[_0x156b9e]['unitId'],..._0x1bd7c7[_0x156b9e][_0xec0d85(0x22d)]}},_0x450a29=this['_transformService'][_0xec0d85(0x273)](_0xd1176b,_0x5158a8,!0x1),_0xf3516c=this['_transformService'][_0xec0d85(0x273)](_0x3c5f53,_0x3655da,!0x1);if(_0x5ee050(_0x450a29))throw _0x450a29['error'];if(_0x5ee050(_0xf3516c))throw _0xf3516c[_0xec0d85(0x24e)];_0x496472[_0xec0d85(0x115)]({..._0x1bd7c7[_0x156b9e],'undoState':_0x450a29[_0xec0d85(0xac)][_0xec0d85(0x1fd)],'redoState':_0xf3516c[_0xec0d85(0xac)][_0xec0d85(0x1fd)]}),_0xd1176b=_0x450a29['m1Prime'],_0x3c5f53=_0xf3516c['m1Prime'];}_0xd1176b=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d[_0xec0d85(0x6f)][0x0]),_0x3c5f53=_0xa93bb6[_0xec0d85(0xdc)](_0x220c7d['mutations'][0x0]);for(let _0x24dd4f=_0x59cd21[_0xec0d85(0xca)]-0x1;_0x24dd4f>=0x0;_0x24dd4f--){const _0x386e53={'id':_0xec0d85(0x23d),'params':{'unitId':_0x59cd21[_0x24dd4f][_0xec0d85(0x1f0)],..._0x59cd21[_0x24dd4f][_0xec0d85(0xbe)]}},_0x2ad637={'id':_0xec0d85(0x23d),'params':{'unitId':_0x59cd21[_0x24dd4f]['unitId'],..._0x59cd21[_0x24dd4f][_0xec0d85(0x22d)]}},_0x49172e=this[_0xec0d85(0x1bd)]['transformMutation'](_0xd1176b,_0x386e53,!0x1),_0x42887f=this[_0xec0d85(0x1bd)][_0xec0d85(0x273)](_0x3c5f53,_0x2ad637,!0x1);if(_0x5ee050(_0x49172e))throw _0x49172e[_0xec0d85(0x24e)];if(_0x5ee050(_0x42887f))throw _0x42887f['error'];_0x2ebd4f[_0xec0d85(0x115)]({..._0x59cd21[_0x24dd4f],'undoState':_0x49172e[_0xec0d85(0xac)][_0xec0d85(0x1fd)],'redoState':_0x42887f[_0xec0d85(0xac)][_0xec0d85(0x1fd)]}),_0xd1176b=_0x49172e[_0xec0d85(0xfc)],_0x3c5f53=_0x42887f[_0xec0d85(0xfc)];}this[_0xec0d85(0x82)]['setStateCache'](_0x2546b8,{'history':_0x496472,'collaboration':_0x2ebd4f});}};oe=nn([Ce(0x0,_0x546f06(_0x443c56)),Ce(0x1,_0x445c13),Ce(0x2,_0x546f06(_0x17de1c))],oe);var rn=Object[_0x39e5a0(0xee)],on=(_0x58c313,_0x391605,_0xc422ac,_0x47c3ea)=>{const _0x18d237=_0x39e5a0;for(var _0x2945ed=_0x47c3ea>0x1?void 0x0:_0x47c3ea?rn(_0x391605,_0xc422ac):_0x391605,_0x289461=_0x58c313[_0x18d237(0xca)]-0x1,_0x5e6537;_0x289461>=0x0;_0x289461--)(_0x5e6537=_0x58c313[_0x289461])&&(_0x2945ed=_0x5e6537(_0x2945ed)||_0x2945ed);return _0x2945ed;},st=(_0x4f22c1,_0x10d1d2)=>(_0x27c0e6,_0x3143d3)=>_0x10d1d2(_0x27c0e6,_0x3143d3,_0x4f22c1);let ae=class{constructor(_0x1a81cf,_0xc52d61){const _0x1e27ce=_0x39e5a0;this[_0x1e27ce(0x113)]=_0x1a81cf,this['_transformService']=_0xc52d61;}[_0x39e5a0(0x142)](_0x12dac4){const _0x4ce634=_0x39e5a0;var _0x1d2297;const _0x447b10=this[_0x4ce634(0x113)][_0x4ce634(0x174)](_0x3efe9d),_0x1ebbaf=(_0x1d2297=_0x447b10['getDocRanges']())!=null?_0x1d2297:[];if(_0x1ebbaf[_0x4ce634(0xca)]===0x0)return;const _0xb0319b=_0x12dac4['unitID'],_0x464273=[{'id':_0x4ce634(0x23d),'params':{'unitId':_0xb0319b,'actions':null,'textRanges':_0x1ebbaf}}],_0x56c89d=this[_0x4ce634(0x1bd)][_0x4ce634(0xb2)](_0x12dac4,_0x464273);if(!_0x3a1c57(_0x56c89d))throw _0x56c89d[_0x4ce634(0x24e)];const _0x44ae55=_0x56c89d[_0x4ce634(0xac)][0x0][_0x4ce634(0x1fd)][_0x4ce634(0x200)];Array[_0x4ce634(0x90)](_0x44ae55)&&_0x44ae55[_0x4ce634(0xca)]&&_0x447b10[_0x4ce634(0x19d)](_0x44ae55,{'unitId':_0xb0319b,'subUnitId':_0xb0319b},!0x1);}};ae=on([st(0x0,_0x546f06(_0x443c56)),st(0x1,_0x445c13)],ae);var an=Object[_0x39e5a0(0xee)],cn=(_0x12922c,_0x2583b6,_0x1871ab,_0x595936)=>{const _0x46dbe8=_0x39e5a0;for(var _0x37ec07=_0x595936>0x1?void 0x0:_0x595936?an(_0x2583b6,_0x1871ab):_0x2583b6,_0x231e6d=_0x12922c[_0x46dbe8(0xca)]-0x1,_0xd3fc7d;_0x231e6d>=0x0;_0x231e6d--)(_0xd3fc7d=_0x12922c[_0x231e6d])&&(_0x37ec07=_0xd3fc7d(_0x37ec07)||_0x37ec07);return _0x37ec07;},N=(_0x203f9f,_0x1b5363)=>(_0x36a77c,_0x43ca81)=>_0x1b5363(_0x36a77c,_0x43ca81,_0x203f9f);let ce=class extends _0x2c1746{constructor(_0xc5d1ad,_0x515866,_0x1d6fa0,_0x3e659a,_0x3dcacb,_0x38729b,_0x504c89,_0x546941){const _0x705575=_0x39e5a0;super(),_(this,_0x705575(0x154),new _0x13e65e(_0x3885c5[_0x705575(0x21f)])),(this[_0x705575(0x82)]=_0xc5d1ad,this['_collaborationController']=_0x515866,this[_0x705575(0xcf)]=_0x1d6fa0,this[_0x705575(0x221)]=_0x3e659a,this[_0x705575(0x209)]=_0x3dcacb,this[_0x705575(0x223)]=_0x38729b,this[_0x705575(0x1bc)]=_0x504c89,this[_0x705575(0x10d)]=_0x546941,this[_0x705575(0x109)]());}['_initEntityListener'](){const _0x4b4ba5=_0x39e5a0;this[_0x4b4ba5(0x72)](this[_0x4b4ba5(0x139)][_0x4b4ba5(0x23f)][_0x4b4ba5(0x14a)](_0x9958eb=>{const _0x16cfee=_0x4b4ba5,_0x10ffa6=this[_0x16cfee(0x82)][_0x16cfee(0xae)][_0x16cfee(0x14a)](_0x5ee742=>{const _0x3f7f9a=_0x16cfee;if(_0x5ee742==null)return;const {unitId:_0x152e93,redoState:_0x2c46bf,commandId:_0x86b61d}=_0x5ee742;if(_0x152e93!==_0x9958eb[_0x3f7f9a(0x207)])return;const _0x4f7f1d={'id':_0x86b61d,'type':_0x38da82[_0x3f7f9a(0x232)],'params':{'unitId':_0x152e93,'actions':_0x2c46bf[_0x3f7f9a(0x137)],'textRanges':null}};_0x9958eb[_0x3f7f9a(0x114)](_0x4f7f1d);});if(_0x9958eb[_0x16cfee(0x72)](_0x10ffa6),_0x9958eb instanceof _0x56781e){const _0x3ff828={'onTransformIME':_0x18aca2=>this['_docTransformIMECacheService'][_0x16cfee(0xb8)](_0x18aca2),'onTransformState':_0x1a91b5=>this['_docTransformStateCacheService'][_0x16cfee(0x22e)](_0x1a91b5),'onTransformSelections':_0x861236=>this[_0x16cfee(0x209)][_0x16cfee(0x142)](_0x861236),'onSyncEditingCollabCursor':_0x258909=>this[_0x16cfee(0x223)][_0x16cfee(0x145)](_0x258909),'onTransformRemoteChangesetByIMECache':_0x436cfa=>this['_docTransformIMECacheService'][_0x16cfee(0x238)](_0x436cfa),'onTransformRemoteChangesetByStateCache':_0x88b3a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x88b3a)};_0x9958eb['addHandlerCallback'](_0x3ff828);}}));}};ce=cn([N(0x0,_0x546f06(_0x17de1c)),N(0x1,_0x546f06(_0x5f3b18)),N(0x2,_0x546f06(re)),N(0x3,_0x546f06(oe)),N(0x4,_0x546f06(ae)),N(0x5,_0x546f06(Fe)),N(0x6,_0x1825c4),N(0x7,_0x546f06(_0x572998))],ce);var ln=Object[_0x39e5a0(0xee)],_n=(_0x4f427b,_0x3d8280,_0xa1e870,_0x2ef9a3)=>{const _0x40a895=_0x39e5a0;for(var _0x5f3279=_0x2ef9a3>0x1?void 0x0:_0x2ef9a3?ln(_0x3d8280,_0xa1e870):_0x3d8280,_0x2c0056=_0x4f427b[_0x40a895(0xca)]-0x1,_0x300b5f;_0x2c0056>=0x0;_0x2c0056--)(_0x300b5f=_0x4f427b[_0x2c0056])&&(_0x5f3279=_0x300b5f(_0x5f3279)||_0x5f3279);return _0x5f3279;},Ee=(_0x59f432,_0x53feb9)=>(_0x2f26d9,_0x590e31)=>_0x53feb9(_0x2f26d9,_0x590e31,_0x59f432);let we=class extends _0x2c1746{constructor(_0x3a4b45,_0x35a7a3,_0x586c83){const _0x13f216=_0x39e5a0;super(),_(this,'_cachedData',new Map()),_(this,_0x13f216(0x17e),new Map()),_(this,'_disabled',!0x1),(this[_0x13f216(0x187)]=_0x3a4b45,this[_0x13f216(0x67)]=_0x35a7a3,this[_0x13f216(0x1db)]=_0x586c83);}[_0x39e5a0(0x1fe)](){const _0x4de247=_0x39e5a0;this[_0x4de247(0x21b)]=!0x0;}[_0x39e5a0(0x6a)](){const _0x40f3fc=_0x39e5a0;this[_0x40f3fc(0x21b)]=!0x1;}get[_0x39e5a0(0x249)](){return this['_saveTaskMap'];}[_0x39e5a0(0x116)](){const _0x4a3b49=_0x39e5a0;this['exhaustSavingTask']()[_0x4a3b49(0xb0)](()=>super[_0x4a3b49(0x116)]());}async[_0x39e5a0(0x23e)](_0x58ce38){const _0x416017=_0x39e5a0;return this[_0x416017(0x21b)]?null:this[_0x416017(0x67)][_0x416017(0x170)](_0x14abcb(_0x58ce38));}async[_0x39e5a0(0x9d)](_0x594d5b,_0x5c136a){const _0x33b086=_0x39e5a0;return!!this['_localStorageService'][_0x33b086(0xe5)](_0x594d5b,_0x5c136a);}[_0x39e5a0(0x17f)](_0x349762,_0x42f933,_0x4fefa0,_0x1baa76){const _0x1093d8=_0x39e5a0,_0x15292c=this['_revisionService'][_0x1093d8(0x245)](_0x349762);this[_0x1093d8(0x80)]['set'](_0x349762,{'unitID':_0x349762,'type':_0x42f933,'awaitingChangeset':_0x4fefa0,'mutations':_0x1baa76,'rev':_0x15292c}),this[_0x1093d8(0x17e)]['has'](_0x349762)||this['_scheduleSaving'](_0x349762);}['_scheduleSaving'](_0x58e230){const _0x26556c=_0x39e5a0,_0x447d65=this[_0x26556c(0x19c)]();_0x447d65===0x0?this[_0x26556c(0x89)](_0x58e230):this['_saveTaskMap'][_0x26556c(0x1bf)](_0x58e230,setTimeout(()=>this[_0x26556c(0x89)](_0x58e230),_0x447d65));}[_0x39e5a0(0x19c)](){const _0x30d839=_0x39e5a0;var _0x302c0;return(_0x302c0=this[_0x30d839(0x187)][_0x30d839(0x15a)](_0x4dc1f5))!=null?_0x302c0:_0x3d90bf;}[_0x39e5a0(0x89)](_0x315af5){const _0x10c59b=_0x39e5a0,_0x2a6934=this[_0x10c59b(0x17e)][_0x10c59b(0x174)](_0x315af5);return _0x2a6934!==void 0x0&&window[_0x10c59b(0x1b4)](_0x2a6934),this['_localStorageService'][_0x10c59b(0xe5)](_0x14abcb(_0x315af5),this[_0x10c59b(0x80)][_0x10c59b(0x174)](_0x315af5))[_0x10c59b(0xb0)](()=>this[_0x10c59b(0x17e)][_0x10c59b(0x13c)](_0x315af5));}async[_0x39e5a0(0x202)](){const _0x3e3168=_0x39e5a0,_0x123eda=[];this[_0x3e3168(0x17e)]['forEach']((_0x41b093,_0x471e8a)=>{const _0x1d1a0b=_0x3e3168;window['clearTimeout'](_0x41b093),_0x123eda['push'](this[_0x1d1a0b(0x89)](_0x471e8a)[_0x1d1a0b(0xb0)](()=>{const _0x4c5f84=_0x1d1a0b;this[_0x4c5f84(0x17e)]['delete'](_0x471e8a);}));}),await Promise[_0x3e3168(0xce)](_0x123eda);}};we=_n([Ee(0x0,_0x1cd828),Ee(0x1,_0x519dd1),Ee(0x2,_0x546f06(_0x144dc6))],we);class hn extends _0x2eff66{constructor(){const _0x4cea7e=_0x39e5a0;super(),_(this,_0x4cea7e(0x7a)),this[_0x4cea7e(0x7a)]=_0xb4f25d(window,'popstate')[_0x4cea7e(0x147)](_0x2ec815(this[_0x4cea7e(0xf3)]),_0x357da0(0x1),_0x572218(void 0x0));}[_0x39e5a0(0x1c3)](_0x17f8db,_0x472ea0,_0x2beab9=!0x1){const _0x4c1829=_0x39e5a0,_0x496e39=new URL(window['location'][_0x4c1829(0xef)]);_0x496e39[_0x4c1829(0x1b6)][_0x4c1829(0x1bf)](_0x17f8db,_0x472ea0),_0x2beab9?window[_0x4c1829(0xd9)][_0x4c1829(0xcc)]('','',_0x496e39[_0x4c1829(0xa4)]()):window[_0x4c1829(0xd9)]['pushState']('','',_0x496e39['toString']());}['removeParam'](_0x229606,_0x1ea76b=!0x1){const _0xfd9389=_0x39e5a0,_0x948e24=new URL(window[_0xfd9389(0x27b)]['href']);_0x948e24[_0xfd9389(0x1b6)][_0xfd9389(0x13c)](_0x229606),_0x1ea76b?window[_0xfd9389(0xd9)][_0xfd9389(0xcc)]('','',_0x948e24[_0xfd9389(0xa4)]()):window[_0xfd9389(0xd9)][_0xfd9389(0xb5)]('','',_0x948e24['toString']());}[_0x39e5a0(0x92)](_0x2afa0){const _0x114ca3=_0x39e5a0;var _0x5eb858;return(_0x5eb858=new URL(window['location'][_0x114ca3(0xef)])['searchParams'][_0x114ca3(0x174)](_0x2afa0))!=null?_0x5eb858:void 0x0;}}var un=Object[_0x39e5a0(0x186)],dn=Object[_0x39e5a0(0xee)],fn=(_0x118a20,_0xc198ad,_0x1d8f7e)=>_0xc198ad in _0x118a20?un(_0x118a20,_0xc198ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d8f7e}):_0x118a20[_0xc198ad]=_0x1d8f7e,Sn=(_0x37201f,_0x39fe0a,_0x56f4a4,_0x3bad2c)=>{for(var _0x273842=_0x3bad2c>0x1?void 0x0:_0x3bad2c?dn(_0x39fe0a,_0x56f4a4):_0x39fe0a,_0x10790f=_0x37201f['length']-0x1,_0x40aad1;_0x10790f>=0x0;_0x10790f--)(_0x40aad1=_0x37201f[_0x10790f])&&(_0x273842=_0x40aad1(_0x273842)||_0x273842);return _0x273842;},Oe=(_0x2c7758,_0x3d57f6)=>(_0x46012c,_0x441f92)=>_0x3d57f6(_0x46012c,_0x441f92,_0x2c7758),mn=(_0x54090a,_0x4d586b,_0x2f4a09)=>fn(_0x54090a,_0x4d586b+'',_0x2f4a09);const In=_0x39e5a0(0x22f);let Ae=class extends _0x1bce85{constructor(_0xf0e721=et,_0x6e02d5,_0x2df905,_0x464bf9){const _0x667e5a=_0x39e5a0;super(),this[_0x667e5a(0x1a8)]=_0xf0e721,this[_0x667e5a(0x257)]=_0x6e02d5,this[_0x667e5a(0x113)]=_0x2df905,this[_0x667e5a(0x187)]=_0x464bf9;const {..._0x2f87fe}=_0x54f132({},et,this[_0x667e5a(0x1a8)]);this['_configService'][_0x667e5a(0x1ae)](qi,_0x2f87fe);}[_0x39e5a0(0x15e)](){const _0x3e280d=_0x39e5a0;this['_registerDependencies'](),this[_0x3e280d(0x272)]();}[_0x39e5a0(0x172)](){const _0x2fd4fe=_0x39e5a0;this[_0x2fd4fe(0x131)]();}[_0x39e5a0(0x140)](){const _0x5b4759=_0x39e5a0;var _0x553a69;const _0x4e2833=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xbf83de,{'useClass':_0x1237ba}],[_0x552c67,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x522a20(this[_0x5b4759(0x113)],_0x5a28c6(_0x4e2833,(_0x553a69=this[_0x5b4759(0x1a8)])==null?void 0x0:_0x553a69[_0x5b4759(0x265)]));}[_0x39e5a0(0x131)](){const _0x4b2af0=_0x39e5a0;this['disposeWithMe'](this['_renderManagerService'][_0x4b2af0(0x1e4)](_0x13a6d7[_0x4b2af0(0x1e6)],[Le])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13a6d7[_0x4b2af0(0x12a)],[Pe]));}['_initDependencies'](){_0x5488c1(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x39e5a0(0x129),In),Ae=Sn([_0x165ce7(_0x3c092e),Oe(0x1,_0x36e82c),Oe(0x2,_0x546f06(_0x443c56)),Oe(0x3,_0x1cd828)],Ae);var vn=Object[_0x39e5a0(0xee)],gn=(_0x1a7141,_0x55285c,_0x5d8f1a,_0x4ab57a)=>{const _0x3d2670=_0x39e5a0;for(var _0x1f9ad5=_0x4ab57a>0x1?void 0x0:_0x4ab57a?vn(_0x55285c,_0x5d8f1a):_0x55285c,_0x4a8f20=_0x1a7141[_0x3d2670(0xca)]-0x1,_0xc03df7;_0x4a8f20>=0x0;_0x4a8f20--)(_0xc03df7=_0x1a7141[_0x4a8f20])&&(_0x1f9ad5=_0xc03df7(_0x1f9ad5)||_0x1f9ad5);return _0x1f9ad5;},z=(_0x761f51,_0x54999d)=>(_0xacca63,_0x2fa85)=>_0x54999d(_0xacca63,_0x2fa85,_0x761f51);let it=class extends _0x429c3a{constructor(_0x365beb,_0x33836d,_0x535df7,_0x2e4f2c,_0x75d9d9){super(_0x365beb,_0x33836d,_0x535df7,_0x2e4f2c,_0x75d9d9);}async[_0x39e5a0(0x10c)](_0xb7fc7e){const _0x4e8af0=_0x39e5a0,_0x2ecf18=await this['_getSessionTicket'](),_0x22b0a4=this[_0x4e8af0(0x104)](_0xb7fc7e,_0x2ecf18);return this[_0x4e8af0(0x119)](_0x22b0a4);}['_createSocketURL'](_0x3a5037,_0x1323f8){const _0x50dcfb=_0x39e5a0,_0x5c72aa=typeof window>'u'?new URL(_0x3a5037):new URL(_0x3a5037,window[_0x50dcfb(0x27b)][_0x50dcfb(0x237)]);_0x5c72aa[_0x50dcfb(0x1b6)][_0x50dcfb(0x1bf)](_0x50dcfb(0x1ed),_0x1323f8);const _0x2a1887=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcfb(0x27b)][_0x50dcfb(0xc7)]);return _0x2a1887['get'](_0x50dcfb(0x193))&&_0x5c72aa['searchParams'][_0x50dcfb(0x1bf)](_0x50dcfb(0x193),_0x2a1887[_0x50dcfb(0x174)]('runId')),_0x5c72aa[_0x50dcfb(0xa4)]();}async[_0x39e5a0(0xd8)](){const _0x3b1ec8=_0x39e5a0;var _0x5a016d,_0x550b7f,_0x13a7b8;const _0x1dc4ca=this[_0x3b1ec8(0x187)]['getConfig'](_0x27c24e),_0x2fecfe=(_0x5a016d=_0x1dc4ca==null?void 0x0:_0x1dc4ca[_0x3b1ec8(0x1f8)])!=null?_0x5a016d:_0x3c24a9;return(_0x13a7b8=(_0x550b7f=(await this[_0x3b1ec8(0x222)]['get'](_0x2fecfe,{'headers':{'Content-Type':_0x3b1ec8(0x23b)}}))[_0x3b1ec8(0x12d)])==null?void 0x0:_0x550b7f[_0x3b1ec8(0x26e)])!=null?_0x13a7b8:'';}};it=gn([z(0x0,_0x546f06(_0x443c56)),z(0x1,_0x546f06(_0x46ef92)),z(0x2,_0x1cd828),z(0x3,_0x38d9e1),z(0x4,_0x20303c)],it);var Lt=(_0x4a13f1=>(_0x4a13f1[_0x4a13f1[_0x39e5a0(0x12b)]=0x0]='UNDEFINED',_0x4a13f1[_0x4a13f1['OK']=0x1]='OK',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x251)]=0x2]=_0x39e5a0(0x251),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x26c)]=0x3]=_0x39e5a0(0x26c),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xe0)]=0x4]=_0x39e5a0(0xe0),_0x4a13f1[_0x4a13f1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1af)]=0x6]='ALREADY_EXISTS',_0x4a13f1[_0x4a13f1['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x25f)]=0x8]=_0x39e5a0(0x25f),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x21d)]=0x9]=_0x39e5a0(0x21d),_0x4a13f1[_0x4a13f1['LOGIN_FAILED']=0xa]=_0x39e5a0(0x25e),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x156)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1c8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a13f1[_0x4a13f1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x39e5a0(0x233),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x14d)]=0xe]=_0x39e5a0(0x14d),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xbb)]=0x1389]=_0x39e5a0(0xbb),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x123)]=0x1771]=_0x39e5a0(0x123),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x19e)]=0x1772]=_0x39e5a0(0x19e),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xcb)]=0x1773]=_0x39e5a0(0xcb),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x252)]=0x1b59]=_0x39e5a0(0x252),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xc3)]=0x1b5a]=_0x39e5a0(0xc3),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xf7)]=0x1b5b]=_0x39e5a0(0xf7),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x256)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x146)]=0x1b5d]=_0x39e5a0(0x146),_0x4a13f1[_0x4a13f1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x16a)]=0x2329]=_0x39e5a0(0x16a),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x144)]=0x232a]=_0x39e5a0(0x144),_0x4a13f1[_0x4a13f1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4a13f1[_0x4a13f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x39e5a0(0x25d),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x158)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1b8)]=0x2711]=_0x39e5a0(0x1b8),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x24c)]=0x2712]=_0x39e5a0(0x24c),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x171)]=0x2713]=_0x39e5a0(0x171),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x6b)]=0x2714]=_0x39e5a0(0x6b),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1ea)]=0x271a]=_0x39e5a0(0x1ea),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x173)]=0x271b]=_0x39e5a0(0x173),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x134)]=0x271c]=_0x39e5a0(0x134),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x148)]=0x271d]=_0x39e5a0(0x148),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x210)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x250)]=0x271f]=_0x39e5a0(0x250),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x84)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4a13f1[_0x4a13f1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x39e5a0(0x97),_0x4a13f1[_0x4a13f1[_0x39e5a0(0xde)]=0x2ee1]=_0x39e5a0(0xde),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x8e)]=0x2ee2]='INVALID_INVITE_CODE',_0x4a13f1[_0x4a13f1[_0x39e5a0(0x226)]=0x2ee3]=_0x39e5a0(0x226),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1b9)]=0x2ee4]=_0x39e5a0(0x1b9),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x1dc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4a13f1[_0x4a13f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x39e5a0(0x18e),_0x4a13f1[_0x4a13f1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x39e5a0(0xc2),_0x4a13f1[_0x4a13f1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x39e5a0(0x213),_0x4a13f1[_0x4a13f1[_0x39e5a0(0x26d)]=-0x1]=_0x39e5a0(0x26d),_0x4a13f1))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x50795e,_0x364de7,_0x2fb1d7,_0x1a8ce6)=>{for(var _0x47662f=_0x1a8ce6>0x1?void 0x0:_0x1a8ce6?pn(_0x364de7,_0x2fb1d7):_0x364de7,_0x4c998a=_0x50795e['length']-0x1,_0x22598c;_0x4c998a>=0x0;_0x4c998a--)(_0x22598c=_0x50795e[_0x4c998a])&&(_0x47662f=_0x22598c(_0x47662f)||_0x47662f);return _0x47662f;},be=(_0x4323ca,_0x222376)=>(_0x4c73e8,_0x530b31)=>_0x222376(_0x4c73e8,_0x530b31,_0x4323ca);function _0x4240(_0x31b573,_0x4dea7a){const _0x470bc0=_0x470b();return _0x4240=function(_0x4240e7,_0x2bd2d5){_0x4240e7=_0x4240e7-0x67;let _0x3bce3f=_0x470bc0[_0x4240e7];return _0x3bce3f;},_0x4240(_0x31b573,_0x4dea7a);}let nt=class extends _0x2c1746{constructor(_0x55eef0,_0x1d492b,_0x4e8fa6){const _0x4cec12=_0x39e5a0;super(),this[_0x4cec12(0x197)]=_0x55eef0,this[_0x4cec12(0x222)]=_0x1d492b,this[_0x4cec12(0x187)]=_0x4e8fa6;}async[_0x39e5a0(0xdd)](_0x57d3d3,_0x1ce8de,_0x2f3ec3,..._0x14f2a3){const _0xb60cc6=_0x39e5a0;var _0x1de6c5,_0xe1bb56,_0x2cc819,_0x339799;const _0x4f2197=this[_0xb60cc6(0x197)]['getFocusedUnit']();if(!_0x4f2197)throw new Error(_0xb60cc6(0x23a));const _0x587495=((_0x1de6c5=this[_0xb60cc6(0x187)][_0xb60cc6(0x15a)](_0xdc3bd7))!=null?_0x1de6c5:_0x433ed7)+'/'+_0x57d3d3+'/run/'+_0x1ce8de,_0x141b17=new URL(window[_0xb60cc6(0x27b)][_0xb60cc6(0xef)]),_0x3f40cf={'scriptId':_0x57d3d3,'runId':(_0xe1bb56=_0x141b17[_0xb60cc6(0x1b6)][_0xb60cc6(0x174)](_0xb60cc6(0x193)))!=null?_0xe1bb56:'','function':_0x1ce8de,'unitId':_0x4f2197['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14f2a3),'invokeId':(_0x2cc819=_0x2f3ec3['invokeId'])!=null?_0x2cc819:'','executionId':(_0x339799=_0x2f3ec3[_0xb60cc6(0xb6)])!=null?_0x339799:''};try{const _0xd431ac=await this[_0xb60cc6(0x222)][_0xb60cc6(0x13d)](_0x587495,{'body':_0x3f40cf});return _0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x24e)]&&_0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x24e)][_0xb60cc6(0x169)]!==Lt['OK']?'Failed':_0xd431ac[_0xb60cc6(0x12d)][_0xb60cc6(0x1be)];}catch{return _0xb60cc6(0xf0);}}};nt=Cn([be(0x0,_0x31cd6a),be(0x1,_0x546f06(_0x46ef92)),be(0x2,_0x1cd828)],nt);const rt=0x7530,ot=_0x39e5a0(0x1e0);class Fn extends _0x2c1746{constructor(){const _0x222ed1=_0x39e5a0;super(),_(this,_0x222ed1(0xeb),_0x2021eb()),_(this,_0x222ed1(0x76),new Set()),_(this,_0x222ed1(0x199),new Map()),_(this,_0x222ed1(0x219),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x222ed1(0x14e),new Map()),this[_0x222ed1(0x6e)]();}[_0x39e5a0(0x116)](){const _0x1e4340=_0x39e5a0;super['dispose'](),this[_0x1e4340(0x19b)][_0x1e4340(0x205)]((_0x48aaf1,_0x5718e1)=>this[_0x1e4340(0xe6)](_0x5718e1)),this[_0x1e4340(0x219)]&&window['clearInterval'](this[_0x1e4340(0x219)]);}[_0x39e5a0(0x16c)](_0x2ccf1e){const _0x5c7672=_0x39e5a0;return this[_0x5c7672(0x159)](_0x2ccf1e)[_0x5c7672(0x147)](_0x4d1d7d());}[_0x39e5a0(0x1d1)](_0x16de09){const _0x2af82f=_0x39e5a0;this['_selfUnitIDs']['size']===0x0&&this[_0x2af82f(0x107)](),this[_0x2af82f(0x76)]['add'](_0x16de09),this['_send']({'type':0x0,'memberID':this[_0x2af82f(0xeb)],'unitIDs':[_0x16de09],'isForwarded':!0x1});}['disposeUnit'](_0x3f185e){const _0x3fde09=_0x39e5a0;this[_0x3fde09(0x76)][_0x3fde09(0x13c)](_0x3f185e),this['_selfUnitIDs'][_0x3fde09(0x9c)]===0x0&&this[_0x3fde09(0x219)]&&window['clearInterval'](this[_0x3fde09(0x219)]);}[_0x39e5a0(0x6e)](){const _0x46ef2d=_0x39e5a0;this['disposeWithMe'](_0x2120d5(_0xb4f25d(window,_0x46ef2d(0x216))[_0x46ef2d(0x14a)](_0x5ffac5=>{const _0x3934cd=_0x46ef2d;if(_0x5ffac5[_0x3934cd(0xfd)]!==ot||!_0x5ffac5[_0x3934cd(0x77)])return;const _0x32e7cb=JSON[_0x3934cd(0x1a2)](_0x5ffac5[_0x3934cd(0x77)]);this[_0x3934cd(0x1fa)](_0x32e7cb);}))),window[_0x46ef2d(0xb1)](_0x46ef2d(0x163),()=>this[_0x46ef2d(0x13e)]({'type':0x1,'memberID':this[_0x46ef2d(0xeb)],'unitIDs':Array[_0x46ef2d(0x1cf)](this['_selfUnitIDs'])}));}[_0x39e5a0(0x1fa)](_0x85f4eb){const _0x2bc5d5=_0x39e5a0;switch(_0x85f4eb[_0x2bc5d5(0x138)]){case 0x0:this['_handleJoinEvent'](_0x85f4eb);break;case 0x1:this[_0x2bc5d5(0xaf)](_0x85f4eb);break;case 0x2:this[_0x2bc5d5(0x20d)](_0x85f4eb);break;}}['_handleJoinEvent'](_0x1dd3cf){const _0x3fdd08=_0x39e5a0,{unitIDs:_0x290cce,memberID:_0x486b96,isForwarded:_0x3748c0}=_0x1dd3cf;_0x290cce[_0x3fdd08(0x205)](_0x249e0e=>{const _0xaf8874=_0x3fdd08;if(!_0x3748c0&&this[_0xaf8874(0x199)][_0xaf8874(0xed)](_0x249e0e)&&this['_ensureSubject'](_0x249e0e)[_0xaf8874(0x133)](_0x3aa553[_0xaf8874(0x242)]),!this[_0xaf8874(0x199)][_0xaf8874(0xed)](_0x249e0e)||!this[_0xaf8874(0x199)][_0xaf8874(0x174)](_0x249e0e)[_0xaf8874(0xed)](_0x486b96)){const _0x4ba600=this[_0xaf8874(0x199)][_0xaf8874(0x174)](_0x249e0e)||new Set();_0x4ba600[_0xaf8874(0x151)](_0x486b96),this['_unitOnClients'][_0xaf8874(0x1bf)](_0x249e0e,_0x4ba600),this[_0xaf8874(0x1c5)](_0x486b96);}}),_0x3748c0||this['_send']({'type':0x0,'memberID':this[_0x3fdd08(0xeb)],'unitIDs':[...this[_0x3fdd08(0x76)]],'isForwarded':!0x0});}[_0x39e5a0(0x1c5)](_0x1b7874){const _0xc378ca=_0x39e5a0;this['_removeClearOtherTimer'](_0x1b7874);const _0xc0ff1b=window[_0xc378ca(0x203)](()=>{const _0x1ce869=_0xc378ca;this['_unitOnClients'][_0x1ce869(0x205)](_0x393872=>{const _0x34e046=_0x1ce869;_0x393872[_0x34e046(0x13c)](_0x1b7874);});},rt*0x2);this[_0xc378ca(0x19b)][_0xc378ca(0x1bf)](_0x1b7874,_0xc0ff1b);}[_0x39e5a0(0xe6)](_0x3e18d9){const _0x248340=_0x39e5a0;if(this[_0x248340(0x19b)][_0x248340(0xed)](_0x3e18d9)){const _0x33d7db=this[_0x248340(0x19b)][_0x248340(0x174)](_0x3e18d9);_0x33d7db&&window[_0x248340(0x1b4)](_0x33d7db),this[_0x248340(0x19b)]['set'](_0x3e18d9,null);}}[_0x39e5a0(0xaf)](_0x79a85c){const _0x252879=_0x39e5a0,{memberID:_0x136224,unitIDs:_0x17398f}=_0x79a85c;_0x17398f[_0x252879(0x205)](_0x442503=>{const _0x535504=_0x252879;var _0x5629c1;const _0x31cec9=this['_unitOnClients'][_0x535504(0x174)](_0x442503);_0x31cec9&&(_0x31cec9[_0x535504(0x13c)](_0x136224),(_0x5629c1=this[_0x535504(0x159)](_0x442503))==null||_0x5629c1['next'](_0x31cec9['size']===0x0?_0x3aa553[_0x535504(0xba)]:_0x3aa553[_0x535504(0x242)]));}),this[_0x252879(0xe6)](_0x136224);}[_0x39e5a0(0x20d)](_0x4e1582){const _0x35b637=_0x39e5a0;this[_0x35b637(0x1c5)](_0x4e1582[_0x35b637(0x1aa)]);}[_0x39e5a0(0x13e)](_0x268ee8){const _0x569033=_0x39e5a0;localStorage[_0x569033(0xe5)](ot,JSON[_0x569033(0x1c9)](_0x268ee8));}[_0x39e5a0(0x107)](){const _0x51fce4=_0x39e5a0;this[_0x51fce4(0x219)]=window[_0x51fce4(0x1e8)](()=>{const _0x5d86b5=_0x51fce4;this[_0x5d86b5(0x13e)]({'type':0x2,'memberID':this[_0x5d86b5(0xeb)]});},rt);}['_ensureSubject'](_0x3af68f){const _0x1b0681=_0x39e5a0;return this[_0x1b0681(0x14e)][_0x1b0681(0xed)](_0x3af68f)||this[_0x1b0681(0x14e)][_0x1b0681(0x1bf)](_0x3af68f,new _0x13e65e(_0x3aa553[_0x1b0681(0xba)])),this[_0x1b0681(0x14e)][_0x1b0681(0x174)](_0x3af68f);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x27f8(_0x55ed25,_0x1b69c4){const _0x4a3458=_0x4a34();return _0x27f8=function(_0x27f870,_0x1a637d){_0x27f870=_0x27f870-0x138;let _0x5637e8=_0x4a3458[_0x27f870];return _0x5637e8;},_0x27f8(_0x55ed25,_0x1b69c4);}const _0x940687=_0x27f8;(function(_0x188faa,_0x3bed84){const _0x4ee129=_0x27f8,_0x4db6cf=_0x188faa();while(!![]){try{const _0x197ee2=-parseInt(_0x4ee129(0x13f))/0x1+parseInt(_0x4ee129(0x13a))/0x2*(-parseInt(_0x4ee129(0x139))/0x3)+parseInt(_0x4ee129(0x14e))/0x4*(parseInt(_0x4ee129(0x148))/0x5)+-parseInt(_0x4ee129(0x13c))/0x6*(-parseInt(_0x4ee129(0x147))/0x7)+parseInt(_0x4ee129(0x142))/0x8*(-parseInt(_0x4ee129(0x13d))/0x9)+-parseInt(_0x4ee129(0x145))/0xa+-parseInt(_0x4ee129(0x149))/0xb*(-parseInt(_0x4ee129(0x144))/0xc);if(_0x197ee2===_0x3bed84)break;else _0x4db6cf['push'](_0x4db6cf['shift']());}catch(_0x15659b){_0x4db6cf['push'](_0x4db6cf['shift']());}}}(_0x4a34,0x528e3));const e={'collab-client':{'tooltip':{'reconnect':_0x940687(0x150)}},'collabStatus':{'fetchMiss':_0x940687(0x13b),'conflict':_0x940687(0x140),'notCollab':_0x940687(0x138),'synced':'Synced','syncing':_0x940687(0x13e),'offline':_0x940687(0x14b)},'session':{'connection-failed':_0x940687(0x14a),'will-retry':_0x940687(0x14d),'room-full':_0x940687(0x14f),'collaboration-timeout':_0x940687(0x141)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x940687(0x14c)},'permission':{'title':'Authentication\x20Error','content':_0x940687(0x143)},'collaboration':{'single-unit':{'warning':_0x940687(0x146)},'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;export{o as default};function _0x4a34(){const _0x3d1112=['Syncing\x20server\x20data...','10464wikYFw','9xJfxHr','Syncing...','27199JQwMoR','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2121032ePdgsn','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','12rivAVj','5165270gdHNvL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2422gcNdMZ','73345KiJoCr','7948996QTnnLn','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','92XrACbB','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Local\x20file','309867maDWjI','10eryzuF'];_0x4a34=function(){return _0x3d1112;};return _0x4a34();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xc93b1d=_0x43d0;(function(_0x7788c9,_0x29e3c7){const _0x623301=_0x43d0,_0x38fd07=_0x7788c9();while(!![]){try{const _0x58236d=-parseInt(_0x623301(0x114))/0x1*(parseInt(_0x623301(0x112))/0x2)+-parseInt(_0x623301(0x113))/0x3*(-parseInt(_0x623301(0x110))/0x4)+-parseInt(_0x623301(0x108))/0x5+parseInt(_0x623301(0x10c))/0x6+-parseInt(_0x623301(0x119))/0x7+parseInt(_0x623301(0x109))/0x8+-parseInt(_0x623301(0x117))/0x9*(-parseInt(_0x623301(0x106))/0xa);if(_0x58236d===_0x29e3c7)break;else _0x38fd07['push'](_0x38fd07['shift']());}catch(_0x4ae309){_0x38fd07['push'](_0x38fd07['shift']());}}}(_0x3d12,0x850e9));const e={'collab-client':{'tooltip':{'reconnect':_0xc93b1d(0x104)}},'collabStatus':{'fetchMiss':_0xc93b1d(0x105),'conflict':_0xc93b1d(0x111),'notCollab':_0xc93b1d(0x118),'synced':_0xc93b1d(0x10e),'syncing':_0xc93b1d(0x115),'offline':_0xc93b1d(0x107)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0xc93b1d(0x116),'collaboration-timeout':_0xc93b1d(0x10b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0xc93b1d(0x11a)},'permission':{'title':_0xc93b1d(0x10f),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0xc93b1d(0x10d)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0xc93b1d(0x10a)}};export{e as default};function _0x43d0(_0x120488,_0x2619a1){const _0x3d1209=_0x3d12();return _0x43d0=function(_0x43d0a2,_0x4cd595){_0x43d0a2=_0x43d0a2-0x104;let _0x39fcee=_0x3d1209[_0x43d0a2];return _0x39fcee;},_0x43d0(_0x120488,_0x2619a1);}function _0x3d12(){const _0x2b3288=['6405474VKguWj','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','Authentication\x20Error','1068IzpmQa','Edit\x20conflicts','6IDfBXO','417IloJME','26339tRxXpS','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','9vJYtJs','Local\x20file','1492876mMgMZK','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.','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','2446030YXOhKM','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5304745myZAhb','4391520xaxbaE','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x3d12=function(){return _0x2b3288;};return _0x3d12();}
|