@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5cd2e1=_0xc1c7;(function(_0x47d999,_0x128144){const _0x235d23=_0xc1c7,_0x4041e8=_0x47d999();while(!![]){try{const _0x339328=parseInt(_0x235d23(0x20f))/0x1+-parseInt(_0x235d23(0x281))/0x2*(-parseInt(_0x235d23(0x236))/0x3)+-parseInt(_0x235d23(0x1c1))/0x4*(parseInt(_0x235d23(0x3a2))/0x5)+-parseInt(_0x235d23(0x251))/0x6+parseInt(_0x235d23(0x350))/0x7*(-parseInt(_0x235d23(0x36e))/0x8)+parseInt(_0x235d23(0x33b))/0x9+-parseInt(_0x235d23(0x205))/0xa*(-parseInt(_0x235d23(0x30e))/0xb);if(_0x339328===_0x128144)break;else _0x4041e8['push'](_0x4041e8['shift']());}catch(_0x3ba4c5){_0x4041e8['push'](_0x4041e8['shift']());}}}(_0x1402,0xf04b6));var Yt=Object[_0x5cd2e1(0x2d8)],Wt=(_0x5f1b6b,_0x2bb62c,_0xa5cf70)=>_0x2bb62c in _0x5f1b6b?Yt(_0x5f1b6b,_0x2bb62c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa5cf70}):_0x5f1b6b[_0x2bb62c]=_0xa5cf70,_=(_0x5dfad0,_0x1fba86,_0x455c84)=>Wt(_0x5dfad0,typeof _0x1fba86!=_0x5cd2e1(0x1c7)?_0x1fba86+'':_0x1fba86,_0x455c84);import{jsx as _0x18b240,jsxs as _0x5cccd7}from'react/jsx-runtime';import{CollaborationStatus as _0x2eedc4,CollaborationSessionService as _0x5c8b4c,CollaborationController as _0x653e72,DataLoaderService as _0xf24669,MemberService as _0x44e3da,SessionStatus as _0x373a85,ILocalCacheService as _0x2f092b,CollaborationUIEventService as _0x1f2235,CollaborationUIEventId as _0x8498da,DocCollaborationEntity as _0x19f78d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3698b1,getLocalCacheKey as _0x5f3576,LOCAL_CACHE_INTERVAL as _0x1a39b7,LOCAL_CACHE_INTERVAL_KEY as _0x63fea5,UniverCollaborationClientPlugin as _0x34dff9,CollaborationSocketService as _0x2303b5,DEFAULT_WS_SESSION_TICKET_URL as _0x137a0e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x25f49d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5ac840,UnitStatus as _0x522c35}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x247dfc,IUniverInstanceService as _0x296958,Inject as _0xf4d66f,Injector as _0xae1fe5,Disposable as _0x570abd,createIdentifier as _0x197fd9,ILogService as _0x3343ad,ICommandService as _0x33726a,Optional as _0xbfe425,RxDisposable as _0xb8a4ef,Workbook as _0x46566b,DOC_RANGE_TYPE as _0x38326c,debounce as _0x55cfda,Rectangle as _0x557bf8,DisposableCollection as _0x154bfa,toDisposable as _0x1182c8,UniverInstanceType as _0x298b40,generateRandomId as _0x2bc8c1,COLORS as _0x4c198e,ColorKit as _0x106cbc,ThemeService as _0x2ad83a,fromEventSubject as _0x3bbec4,Tools as _0x106280,CommandType as _0x7f0e47,IConfigService as _0x19d257,CanceledError as _0x21dfe5,isFormulaString as _0x27ee34,isFormulaId as _0x397057,ILocalStorageService as _0xa4ed63,DependentOn as _0x35d530,Plugin as _0x31ad12,merge as _0x49c2ae,registerDependencies as _0x2ed16c,mergeOverrideWithDependencies as _0x272528,touchDependencies as _0x2e6ab8}from'@univerjs/core';import{useObservable as _0xdb9fc4,useDependency as _0x2a52db,IUIPartsService as _0xe01a4b,BuiltInUIPart as _0x17d987,connectInjector as _0x2dcf9c,IBeforeCloseService as _0x11252d,IMessageService as _0x347467,INotificationService as _0x55bab0}from'@univerjs/ui';import{BehaviorSubject as _0x59b9f6,switchMap as _0x3ee0f0,of as _0x529786,takeUntil as _0x27172d,debounceTime as _0x1c0d71,Subject as _0x50bd36,filter as _0x23fc73,merge as _0x1047ef,combineLatest as _0x29b637,fromEvent as _0x4ca1ea,shareReplay as _0x52baa3,mapTo as _0x185422,distinctUntilChanged as _0x4f772a}from'rxjs';import{Tooltip as _0x1bbaf2,clsx as _0x3022bc,MessageType as _0x50fba4}from'@univerjs/design';import{useRef as _0xfe7314,createElement as _0xdd59f1,forwardRef as _0x902ad7,useCallback as _0x21cb51}from'react';import{IRemoteInstanceService as _0x10547a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x35ab4e,RefRangeService as _0x110f7f,SetSelectionsOperation as _0x58dcd8,SheetsSelectionsService as _0x12665f,EffectRefRangId as _0x3ec1c7,handleIRemoveRow as _0x20df3d,handleIRemoveCol as _0x21bd6d,handleMoveRange as _0x398d4a,handleInsertRow as _0x7cde13,handleInsertRangeMoveRight as _0x22037c,handleInsertRangeMoveDown as _0x55f9a,handleInsertCol as _0x59a916,handleDeleteRangeMoveUp as _0x190678,handleDeleteRangeMoveLeft as _0x54b7c1,runRefRangeMutations as _0xb75889}from'@univerjs/sheets';import{Shape as _0x4b9cbe,Rect as _0x2d1bf5,getColor as _0x24880e,RegularPolygon as _0xd9e657,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5dc9aa,Vector2 as _0x2915cf,SHEET_VIEWPORT_KEY as _0x4fea51,IRenderManagerService as _0x1313bc}from'@univerjs/engine-render';import{HTTPService as _0x43b379,ISocketService as _0x14224e,WebSocketService as _0x1a0016}from'@univerjs/network';import{IDocClipboardService as _0x3ad532,NodePositionConvertToCursor as _0x385735,NodePositionConvertToRectRange as _0x443d5d,TEXT_RANGE_LAYER_INDEX as _0x5412da,SetDocZoomRatioOperation as _0x4afac5,DocIMEInputManagerService as _0x2ca4d7,DocStateChangeManagerService as _0x581053}from'@univerjs/docs-ui';import{IImageIoService as _0x2009f9}from'@univerjs/drawing';import{ITransformService as _0x4717ac,CollaborationEvent as _0x15277f,isTransformMutationFailure as _0x57e874,isTransformMutationsWithChangesetSuccess as _0x3af7b8,RevisionService as _0x51de99,ISnapshotServerService as _0x20d4c6}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x27fff9,RichTextEditingMutation as _0x117a04,DocSelectionManagerService as _0x1f6f6a,DocSkeletonManagerService as _0x6561bc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2ddc3b,serializeRangeWithSheet as _0x1e114a,FormulaExecuteStageType as _0x2d2b6f,FormulaExecutedStateType as _0x534541,SetFormulaCalculationStartMutation as _0x212ff4,SetFormulaCalculationNotificationMutation as _0x3ce6bc}from'@univerjs/engine-formula';import{map as _0x29f709,filter as _0x2cfe9d,throttleTime as _0x46253a,takeUntil as _0x359cc7,switchMap as _0x3a6a71}from'rxjs/operators';import{SheetSkeletonManagerService as _0x21020f,getCoordByCell as _0x2c9d54,getSheetObject as _0x1f3a80}from'@univerjs/sheets-ui';function Ge({ref:_0x126b4e,..._0x2a93f7}){const _0x5719=_0x5cd2e1,{icon:_0x3277fe,id:_0x1c6d09,className:_0x321d10,extend:_0x1a6f1f,..._0x46c9c2}=_0x2a93f7,_0x463699=('univerjs-icon\x20univerjs-icon-'+_0x1c6d09+'\x20'+(_0x321d10||''))['trim'](),_0x2d9af8=_0xfe7314('_'+vi());return At(_0x3277fe,''+_0x1c6d09,{'defIds':_0x3277fe['defIds'],'idSuffix':_0x2d9af8[_0x5719(0x2b0)]},{'ref':_0x126b4e,'className':_0x463699,..._0x46c9c2},_0x1a6f1f);}function At(_0x8a41d7,_0x57bf58,_0x3092dd,_0x3e7936,_0x3e4396){const _0x591760=_0x5cd2e1;return _0xdd59f1(_0x8a41d7[_0x591760(0x34f)],{'key':_0x57bf58,...gi(_0x8a41d7,_0x3092dd,_0x3e4396),..._0x3e7936},(Ei(_0x8a41d7,_0x3092dd)[_0x591760(0x364)]||[])[_0x591760(0x29a)]((_0x5d3910,_0xd3c025)=>At(_0x5d3910,_0x57bf58+'-'+_0x8a41d7['tag']+'-'+_0xd3c025,_0x3092dd,void 0x0,_0x3e4396)));}function gi(_0x5e0f09,_0x4cf007,_0x2aefba){const _0x73d1db=_0x5cd2e1,_0x52ad1b={..._0x5e0f09[_0x73d1db(0x22f)]};_0x2aefba!=null&&_0x2aefba[_0x73d1db(0x29d)]&&_0x52ad1b[_0x73d1db(0x27c)]==='colorChannel1'&&(_0x52ad1b[_0x73d1db(0x27c)]=_0x2aefba[_0x73d1db(0x29d)]),_0x5e0f09['tag']==='mask'&&_0x52ad1b['id']&&(_0x52ad1b['id']=_0x52ad1b['id']+_0x4cf007[_0x73d1db(0x215)]),Object[_0x73d1db(0x3a9)](_0x52ad1b)['forEach'](([_0x38c85d,_0x4956f3])=>{const _0x52dbee=_0x73d1db;_0x38c85d==='mask'&&typeof _0x4956f3==_0x52dbee(0x22a)&&(_0x52ad1b[_0x38c85d]=_0x4956f3['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4cf007[_0x52dbee(0x215)]+')'));});const {defIds:_0x5b050f}=_0x4cf007;return!_0x5b050f||_0x5b050f['length']===0x0||(_0x5e0f09[_0x73d1db(0x34f)]===_0x73d1db(0x31b)&&_0x52ad1b['xlink:href']&&(_0x52ad1b[_0x73d1db(0x1d9)]=_0x52ad1b[_0x73d1db(0x1d9)]+_0x4cf007['idSuffix']),Object[_0x73d1db(0x3a9)](_0x52ad1b)['forEach'](([_0x2b51ce,_0x4981dd])=>{const _0x2fe319=_0x73d1db;typeof _0x4981dd==_0x2fe319(0x22a)&&(_0x52ad1b[_0x2b51ce]=_0x4981dd[_0x2fe319(0x2ca)](/url\(#(.*)\)/,'url(#$1'+_0x4cf007[_0x2fe319(0x215)]+')'));})),_0x52ad1b;}function Ei(_0x3b5085,_0x28988c){const _0x3e24b5=_0x5cd2e1;var _0x38a2ea;const {defIds:_0x207023}=_0x28988c;return!_0x207023||_0x207023[_0x3e24b5(0x3ed)]===0x0?_0x3b5085:_0x3b5085['tag']===_0x3e24b5(0x309)&&((_0x38a2ea=_0x3b5085['children'])!=null&&_0x38a2ea[_0x3e24b5(0x3ed)])?{..._0x3b5085,'children':_0x3b5085[_0x3e24b5(0x364)][_0x3e24b5(0x29a)](_0x2dc55e=>typeof _0x2dc55e['attrs']['id']=='string'&&_0x207023&&_0x207023[_0x3e24b5(0x3f8)](_0x2dc55e[_0x3e24b5(0x22f)]['id'])?{..._0x2dc55e,'attrs':{..._0x2dc55e[_0x3e24b5(0x22f)],'id':_0x2dc55e[_0x3e24b5(0x22f)]['id']+_0x28988c[_0x3e24b5(0x215)]}}:_0x2dc55e)}:_0x3b5085;}function vi(){const _0x4d3b5d=_0x5cd2e1;return Math[_0x4d3b5d(0x3a5)]()[_0x4d3b5d(0x2da)](0x24)[_0x4d3b5d(0x1ff)](0x2,0x8);}Ge['displayName']=_0x5cd2e1(0x2d6);const pi={'tag':_0x5cd2e1(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5cd2e1(0x2e2),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5cd2e1(0x34d)},'children':[{'tag':'g','attrs':{'clipPath':_0x5cd2e1(0x301)},'children':[{'tag':_0x5cd2e1(0x3e4),'attrs':{'stroke':_0x5cd2e1(0x1f6),'d':_0x5cd2e1(0x343),'strokeLinecap':_0x5cd2e1(0x3fe),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5cd2e1(0x309),'attrs':{},'children':[{'tag':_0x5cd2e1(0x389),'attrs':{'id':_0x5cd2e1(0x3f0)},'children':[{'tag':_0x5cd2e1(0x3e4),'attrs':{'fill':_0x5cd2e1(0x1f8),'d':_0x5cd2e1(0x33f)}}]}]}],'defIds':[_0x5cd2e1(0x3f0)]},Pt=_0x902ad7(function(_0x370caf,_0x2de635){const _0xc62cc1=_0x5cd2e1;return _0xdd59f1(Ge,Object[_0xc62cc1(0x1bd)]({},_0x370caf,{'id':_0xc62cc1(0x248),'ref':_0x2de635,'icon':pi}));});Pt[_0x5cd2e1(0x37a)]=_0x5cd2e1(0x21f);const Oi={'tag':_0x5cd2e1(0x32b),'attrs':{'xmlns':_0x5cd2e1(0x2ae),'fill':_0x5cd2e1(0x2e2),'viewBox':_0x5cd2e1(0x31d),'width':'1em','height':_0x5cd2e1(0x34d)},'children':[{'tag':'g','attrs':{'clipPath':_0x5cd2e1(0x224)},'children':[{'tag':_0x5cd2e1(0x3e4),'attrs':{'stroke':_0x5cd2e1(0x1f6),'d':_0x5cd2e1(0x1c3),'strokeLinecap':_0x5cd2e1(0x3fe),'strokeLinejoin':_0x5cd2e1(0x3fe),'strokeWidth':1.2}}]},{'tag':_0x5cd2e1(0x309),'attrs':{},'children':[{'tag':_0x5cd2e1(0x389),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x5cd2e1(0x1f8),'d':_0x5cd2e1(0x33f),'transform':_0x5cd2e1(0x383)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x902ad7(function(_0x1b1468,_0x283a7f){const _0x17bcbc=_0x5cd2e1;return _0xdd59f1(Ge,Object[_0x17bcbc(0x1bd)]({},_0x1b1468,{'id':_0x17bcbc(0x22e),'ref':_0x283a7f,'icon':Oi}));});wt[_0x5cd2e1(0x37a)]=_0x5cd2e1(0x2c4);function Ti(_0x2ffde8){const _0x39431c=_0x5cd2e1;switch(_0x2ffde8){case _0x2eedc4[_0x39431c(0x33e)]:return _0x39431c(0x3b7);case _0x2eedc4[_0x39431c(0x33a)]:return'collabStatus.conflict';case _0x2eedc4[_0x39431c(0x23a)]:return _0x39431c(0x2a4);case _0x2eedc4[_0x39431c(0x1e0)]:return _0x39431c(0x307);case _0x2eedc4['AWAITING']:case _0x2eedc4['AWAITING_WITH_PENDING']:return _0x39431c(0x21d);case _0x2eedc4['SYNCED']:case _0x2eedc4[_0x39431c(0x282)]:return'collabStatus.synced';}}function Ci(_0x570748){const _0x516e2a=_0x5cd2e1,{status$:_0x372609}=_0x570748,_0x31d108=_0xdb9fc4(_0x372609,_0x2eedc4[_0x516e2a(0x1e0)]),_0x5bbe22=_0x2a52db(_0x247dfc),_0x555395=_0x2a52db(_0x5c8b4c),_0x453e9c=_0x31d108!==_0x2eedc4[_0x516e2a(0x33e)],_0x401eea=_0x5bbe22['t'](Ti(_0x31d108)),_0x5232da=_0x453e9c?_0x18b240(wt,{}):_0x18b240(Pt,{}),_0x38777e=_0x21cb51(()=>{_0x453e9c||_0x555395['reconnect']();},[_0x453e9c,_0x555395]);function _0x16aae8(){const _0x38ba6c=_0x516e2a;return _0x5cccd7(_0x38ba6c(0x28b),{'className':_0x38ba6c(0x32e),'onClick':_0x38777e,'children':[_0x18b240('div',{'className':_0x3022bc(_0x38ba6c(0x3ce),{'univer-text-green-500':_0x453e9c,'univer-text-red-500':!_0x453e9c}),'children':_0x5232da}),_0x18b240(_0x38ba6c(0x28b),{'className':_0x38ba6c(0x341),'children':_0x401eea})]});}return _0x453e9c?_0x16aae8():_0x18b240(_0x1bbaf2,{'title':_0x5bbe22['t'](_0x516e2a(0x317)),'children':_0x16aae8()});}var Ri=Object[_0x5cd2e1(0x2c3)],Di=(_0x204aa9,_0x2f0e37,_0x5c9bfe,_0xbe177)=>{const _0x550cf3=_0x5cd2e1;for(var _0x508287=_0xbe177>0x1?void 0x0:_0xbe177?Ri(_0x2f0e37,_0x5c9bfe):_0x2f0e37,_0x1841e9=_0x204aa9[_0x550cf3(0x3ed)]-0x1,_0x133c0c;_0x1841e9>=0x0;_0x1841e9--)(_0x133c0c=_0x204aa9[_0x1841e9])&&(_0x508287=_0x133c0c(_0x508287)||_0x508287);return _0x508287;},se=(_0x238849,_0x394adb)=>(_0x17b86a,_0x222b3e)=>_0x394adb(_0x17b86a,_0x222b3e,_0x238849);let ae=class extends _0x570abd{constructor(_0x64a00d,_0x1c48ff,_0x42a623,_0x102505){const _0x5c9c33=_0x5cd2e1;super(),_(this,'_status$',new _0x59b9f6(_0x2eedc4['NOT_COLLAB'])),(this[_0x5c9c33(0x256)]=_0x64a00d,this['_injector']=_0x1c48ff,this['_collaborationController']=_0x42a623,this[_0x5c9c33(0x2d5)]=_0x102505,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x5cd2e1(0x222)](){const _0x3330ce=_0x5cd2e1;this[_0x3330ce(0x2cf)](this['_univerInstanceService']['focused$']['pipe'](_0x3ee0f0(()=>{const _0x26218d=_0x3330ce,_0x404791=this[_0x26218d(0x256)][_0x26218d(0x348)]();return _0x404791?this[_0x26218d(0x206)]['getCollabEntity$'](_0x404791[_0x26218d(0x354)]()):_0x529786(null);}),_0x3ee0f0(_0x5c2181=>_0x5c2181?_0x5c2181['status$']:_0x529786(_0x2eedc4[_0x3330ce(0x1e0)])))[_0x3330ce(0x34a)](_0x55cc6a=>{const _0x2f93d1=_0x3330ce;this[_0x2f93d1(0x2ef)][_0x2f93d1(0x3dd)](_0x55cc6a);}));}['_initStatusComponent'](){const _0x192bc6=_0x5cd2e1;this['disposeWithMe'](this[_0x192bc6(0x2d5)]['registerComponent'](_0x17d987['HEADER_MENU'],()=>_0x2dcf9c(Ni({'status$':this[_0x192bc6(0x2ef)][_0x192bc6(0x405)]()}),this[_0x192bc6(0x22c)])));}};ae=Di([se(0x0,_0x296958),se(0x1,_0xf4d66f(_0xae1fe5)),se(0x2,_0xf4d66f(_0x653e72)),se(0x3,_0xe01a4b)],ae);function Ni(_0x3e61c5){const {status$:_0x5e43ac}=_0x3e61c5;return function(){return _0x18b240(Ci,{'status$':_0x5e43ac});};}const yt=_0x197fd9('uni.network.url-service');var bi=Object[_0x5cd2e1(0x2c3)],Li=(_0x31a1c6,_0x35865f,_0x418d07,_0x22bd44)=>{const _0x125e83=_0x5cd2e1;for(var _0x1f396c=_0x22bd44>0x1?void 0x0:_0x22bd44?bi(_0x35865f,_0x418d07):_0x35865f,_0x144724=_0x31a1c6[_0x125e83(0x3ed)]-0x1,_0x23fbca;_0x144724>=0x0;_0x144724--)(_0x23fbca=_0x31a1c6[_0x144724])&&(_0x1f396c=_0x23fbca(_0x1f396c)||_0x1f396c);return _0x1f396c;},K=(_0x5684d3,_0x414957)=>(_0x4ee733,_0xf5d133)=>_0x414957(_0x4ee733,_0xf5d133,_0x5684d3);let ce=class extends _0xb8a4ef{constructor(_0x2382b2,_0x2b5476,_0x2fbeb0,_0x26fdab,_0x1f81b5){const _0x175b9d=_0x5cd2e1;super(),this[_0x175b9d(0x207)]=_0x2382b2,this[_0x175b9d(0x315)]=_0x2b5476,this['_commandService']=_0x2fbeb0,this[_0x175b9d(0x347)]=_0x26fdab,_0x1f81b5?_0x1f81b5==null||_0x1f81b5[_0x175b9d(0x377)]()[_0x175b9d(0x1b8)](()=>this['_init']()):(this[_0x175b9d(0x315)][_0x175b9d(0x3e0)](_0x175b9d(0x3a4),_0x175b9d(0x33c)),this[_0x175b9d(0x396)]());}async['_init'](){const _0x5b4bca=_0x5cd2e1,_0x11cc2d=this[_0x5b4bca(0x207)][_0x5b4bca(0x2dc)](_0x5b4bca(0x2ff)),_0x142a5b=this['_urlService']['getParam']('type'),_0x2662c9=this[_0x5b4bca(0x207)][_0x5b4bca(0x2dc)](_0x5b4bca(0x36b));if(!_0x11cc2d||!_0x142a5b){this[_0x5b4bca(0x315)][_0x5b4bca(0x3e0)](_0x5b4bca(0x3a4),_0x5b4bca(0x313));return;}const _0x33dd88=await this[_0x5b4bca(0x347)][_0x5b4bca(0x385)](_0x11cc2d,Number(_0x142a5b),_0x2662c9);_0x33dd88&&_0x33dd88 instanceof _0x46566b&&this[_0x5b4bca(0x3b2)](_0x33dd88);}async['_setupSubUnitSync'](_0x37e9b6){const _0x5385ec=_0x5cd2e1;await this[_0x5385ec(0x3e6)](_0x37e9b6),_0x37e9b6[_0x5385ec(0x2d0)]['pipe'](_0x27172d(this[_0x5385ec(0x1fb)]))[_0x5385ec(0x34a)](_0x3cc7d1=>{const _0x1d963e=_0x5385ec;_0x3cc7d1&&this[_0x1d963e(0x342)](_0x3cc7d1);}),this[_0x5385ec(0x207)][_0x5385ec(0x3d0)][_0x5385ec(0x26f)](_0x27172d(this[_0x5385ec(0x1fb)]))[_0x5385ec(0x34a)](()=>this[_0x5385ec(0x3e6)](_0x37e9b6));}[_0x5cd2e1(0x342)](_0x25ba19,_0x47711d=!0x1){const _0x634e6c=_0x5cd2e1,_0x59e85e=this[_0x634e6c(0x207)]['getParam'](_0x634e6c(0x36b));_0x25ba19['getSheetId']()!==_0x59e85e&&this[_0x634e6c(0x207)][_0x634e6c(0x3cf)](_0x634e6c(0x36b),_0x25ba19[_0x634e6c(0x23e)](),_0x47711d);}async[_0x5cd2e1(0x3e6)](_0x3f6f45){const _0x5eec18=_0x5cd2e1;var _0x48a688;const _0x56b724=this['_urlService'][_0x5eec18(0x2dc)](_0x5eec18(0x36b));if(!_0x56b724||!_0x3f6f45[_0x5eec18(0x1cf)](_0x56b724)){const _0x253814=_0x3f6f45['getUnhiddenWorksheets']()[0x0],_0xaa453c=_0x3f6f45[_0x5eec18(0x1cf)](_0x253814);if(!_0xaa453c)return;this[_0x5eec18(0x342)](_0xaa453c,!0x0),await this['_commandService'][_0x5eec18(0x30f)](_0x35ab4e['id'],{'unitId':_0x3f6f45[_0x5eec18(0x354)](),'subUnitId':_0x253814});return;}((_0x48a688=_0x3f6f45['getActiveSheet']())==null?void 0x0:_0x48a688['getSheetId']())!==_0x56b724&&await this['_commandService'][_0x5eec18(0x30f)](_0x35ab4e['id'],{'unitId':_0x3f6f45[_0x5eec18(0x354)](),'subUnitId':_0x56b724});}};ce=Li([K(0x0,yt),K(0x1,_0x3343ad),K(0x2,_0x33726a),K(0x3,_0xf4d66f(_0xf24669)),K(0x4,_0xbfe425(_0x10547a))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x3098c5,_0x10a066,_0x2d988b,_0x30f427)=>{const _0x1ed74c=_0x5cd2e1;for(var _0x45f8c9=_0x30f427>0x1?void 0x0:_0x30f427?Ui(_0x10a066,_0x2d988b):_0x10a066,_0x4b7576=_0x3098c5[_0x1ed74c(0x3ed)]-0x1,_0x46cd08;_0x4b7576>=0x0;_0x4b7576--)(_0x46cd08=_0x3098c5[_0x4b7576])&&(_0x45f8c9=_0x46cd08(_0x45f8c9)||_0x45f8c9);return _0x45f8c9;},rt=(_0x533c3d,_0x4361be)=>(_0x445fe6,_0x15a38a)=>_0x4361be(_0x445fe6,_0x15a38a,_0x533c3d);let $e=class extends _0xb8a4ef{constructor(_0x3b1f9e,_0x591266){const _0x5ca5ed=_0x5cd2e1;super(),this[_0x5ca5ed(0x243)]=_0x3b1f9e,this[_0x5ca5ed(0x2bf)]=_0x591266,this['_init']();}[_0x5cd2e1(0x396)](){const _0x128391=_0x5cd2e1,_0x3f89c9=this;this[_0x128391(0x2cf)](this[_0x128391(0x243)][_0x128391(0x2ce)]({'onBeforePasteImage':async _0x805f52=>{const _0x1549cf=_0x128391,_0x4ad977=await _0x3f89c9[_0x1549cf(0x2bf)][_0x1549cf(0x3e1)](_0x805f52);return _0x4ad977?{'source':_0x4ad977[_0x1549cf(0x306)],'imageSourceType':_0x4ad977[_0x1549cf(0x21a)]}:null;}}));}};$e=Mi([rt(0x0,_0x3ad532),rt(0x1,_0x2009f9)],$e);const ot=[_0x5cd2e1(0x290),_0x5cd2e1(0x1dd),_0x5cd2e1(0x20b),'red.300',_0x5cd2e1(0x314),_0x5cd2e1(0x2f1)];class Ke extends _0x570abd{constructor(){const _0x447848=_0x5cd2e1;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x447848(0x35e),0x0);}[_0x5cd2e1(0x23d)](_0x3f990d){const _0x5450d4=_0x5cd2e1;if(this['_assignedColors']['has'](_0x3f990d))return this['_assignedColors']['get'](_0x3f990d);const _0x52622e=ot[this[_0x5450d4(0x35e)]];return this[_0x5450d4(0x35e)]=(this[_0x5450d4(0x35e)]+0x1)%ot['length'],this['_assignedColors'][_0x5450d4(0x322)](_0x3f990d,_0x52622e),_0x52622e;}}function $t(_0x45d2dc){const _0x4ccd90=_0x5cd2e1;let _0x42490c='';for(const _0x31e690 of _0x45d2dc){const {startOffset:_0x1835f3,endOffset:_0x3c02d3,isActive:_0x30d62a,rangeType:_0x18233e,segmentId:_0x54a8ec,segmentPage:_0x1b61b6}=_0x31e690;_0x42490c[_0x4ccd90(0x3ed)]&&(_0x42490c+=','),_0x42490c+=_0x1835f3+':'+_0x3c02d3+':'+(_0x30d62a?'1':'0')+':'+_0x18233e+':'+_0x54a8ec+':'+_0x1b61b6;}return _0x42490c;}function Ai(_0x3011f1){const _0x3652b5=_0x5cd2e1,_0x11185e=_0x3011f1['split'](','),_0x2bd9dd=[];for(const _0x2677e2 of _0x11185e){const [_0x23651b,_0x46453a,_0x246f46,_0x5e55e8,_0x53272a,_0x34298c]=_0x2677e2['split'](':');_0x2bd9dd['push']({'startOffset':Number(_0x23651b),'endOffset':Number(_0x46453a),'collapsed':_0x23651b===_0x46453a,'isActive':_0x246f46==='1','rangeType':_0x5e55e8===_0x38326c[_0x3652b5(0x369)]?_0x38326c[_0x3652b5(0x369)]:_0x38326c['RECT'],'segmentId':typeof _0x53272a==_0x3652b5(0x22a)?String(_0x53272a):'','segmentPage':Number(_0x34298c!=null?_0x34298c:-0x1)});}return _0x2bd9dd[_0x3652b5(0x34e)](_0x4c8383=>_0x4c8383[_0x3652b5(0x1ea)])||(_0x2bd9dd[0x0][_0x3652b5(0x1ea)]=!0x0),_0x2bd9dd;}class ze extends _0xb8a4ef{constructor(){const _0x1ef8ce=_0x5cd2e1;super(...arguments),_(this,'_collabCursorState$',new _0x59b9f6(null)),_(this,_0x1ef8ce(0x335),this[_0x1ef8ce(0x272)][_0x1ef8ce(0x405)]());}['syncEditingCollabCursor'](_0x551f31){const _0x5dd167=_0x5cd2e1,{unitID:_0x180571,memberID:_0x70e977,textRanges:_0x2a9a27}=_0x551f31,_0x4e287b=$t(_0x2a9a27);if(_0x4e287b==='')return;const _0x3f1458={'unitID':_0x180571,'memberID':_0x70e977,'selection':_0x4e287b};this['_collabCursorState$'][_0x5dd167(0x3dd)](_0x3f1458);}}var Pi=Object[_0x5cd2e1(0x2c3)],wi=(_0x57b81c,_0x386ab4,_0x53e0ba,_0x418b15)=>{const _0x31e9e8=_0x5cd2e1;for(var _0x2b0c41=_0x418b15>0x1?void 0x0:_0x418b15?Pi(_0x386ab4,_0x53e0ba):_0x386ab4,_0x38cbf9=_0x57b81c[_0x31e9e8(0x3ed)]-0x1,_0x46efec;_0x38cbf9>=0x0;_0x38cbf9--)(_0x46efec=_0x57b81c[_0x38cbf9])&&(_0x2b0c41=_0x46efec(_0x2b0c41)||_0x2b0c41);return _0x2b0c41;},A=(_0x360322,_0x1025e1)=>(_0x178339,_0x116c04)=>_0x1025e1(_0x178339,_0x116c04,_0x360322);const yi=0x12c,$i=0x64;let xe=class extends _0xb8a4ef{constructor(_0xa9f3a4,_0x2fff91,_0x5d01bc,_0x5c72c7,_0x410c0d,_0x2043a2,_0x3832b5,_0x393da0,_0x30a11c){const _0x3f974b=_0x5cd2e1;super(),_(this,_0x3f974b(0x2f2),!0x1),_(this,_0x3f974b(0x396),!0x1),_(this,_0x3f974b(0x38f),new _0x59b9f6(new Map())),_(this,_0x3f974b(0x209),this[_0x3f974b(0x38f)]['asObservable']()),_(this,_0x3f974b(0x401),new _0x59b9f6([])),_(this,_0x3f974b(0x352),this[_0x3f974b(0x401)][_0x3f974b(0x26f)](_0x1c0d71(yi))),_(this,_0x3f974b(0x23c),_0x55cfda(_0x4ab5fa=>{const _0x5c776c=_0x3f974b,_0x123d12={'eventID':_0x15277f[_0x5c776c(0x34c)],'data':{'unitID':this[_0x5c776c(0x287)],'memberID':this['_session'][_0x5c776c(0x3d8)](),'selection':$t(_0x4ab5fa)}};this['_session'][_0x5c776c(0x2bd)](_0x123d12,this[_0x5c776c(0x287)]);},$i)),(this[_0x3f974b(0x287)]=_0xa9f3a4,this[_0x3f974b(0x25d)]=_0x2fff91,this[_0x3f974b(0x22c)]=_0x5d01bc,this[_0x3f974b(0x3c9)]=_0x5c72c7,this['_memberService']=_0x410c0d,this['_syncEditingCollabCursorService']=_0x2043a2,this[_0x3f974b(0x1df)]=_0x3832b5,this['_univerInstanceService']=_0x393da0,this[_0x3f974b(0x1e8)]=_0x30a11c);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5cd2e1(0x28d)](){const _0x22257d=_0x5cd2e1;return this['_roomMembers$'][_0x22257d(0x28a)]();}['dispose'](){const _0x1540fe=_0x5cd2e1;super['dispose'](),this[_0x1540fe(0x38f)][_0x1540fe(0x3dd)](new Map()),this[_0x1540fe(0x38f)][_0x1540fe(0x267)](),this[_0x1540fe(0x401)][_0x1540fe(0x3dd)]([]),this['_roomMembers$'][_0x1540fe(0x267)]();}['init'](){const _0xfb3c08=_0x5cd2e1;this[_0xfb3c08(0x396)]||(this[_0xfb3c08(0x396)]=!0x0,this['_session'][_0xfb3c08(0x31e)][_0xfb3c08(0x26f)](_0x27172d(this[_0xfb3c08(0x1fb)]))['subscribe'](_0x3c1754=>{const _0x11cb14=_0xfb3c08;_0x3c1754===_0x373a85[_0x11cb14(0x28e)]?this[_0x11cb14(0x2d9)]():this[_0x11cb14(0x3da)]();}),this[_0xfb3c08(0x25d)][_0xfb3c08(0x26b)][_0xfb3c08(0x26f)](_0x27172d(this['dispose$']))['subscribe'](_0x532c32=>{const _0x5af2c6=_0xfb3c08,_0x454678=_0x532c32[_0x5af2c6(0x294)];_0x454678===_0x15277f[_0x5af2c6(0x34c)]&&this[_0x5af2c6(0x3f2)](_0x532c32),_0x454678===_0x15277f[_0x5af2c6(0x297)]&&this[_0x5af2c6(0x1f1)](_0x532c32);}),this['disposeWithMe'](this[_0xfb3c08(0x1e8)][_0xfb3c08(0x32f)](_0x292397=>{const _0x3505d9=_0xfb3c08,_0x1d5dbf=_0x292397[_0x3505d9(0x216)];_0x1d5dbf!=null&&this[_0x3505d9(0x2f2)]&&_0x292397['id']===_0x27fff9['id']&&_0x1d5dbf[_0x3505d9(0x1e5)]===this[_0x3505d9(0x287)]&&_0x1d5dbf['isEditing']===!0x1&&_0x1d5dbf['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x1d5dbf[_0x3505d9(0x1c8)]);})),this['_syncEditingCollabCursorService'][_0xfb3c08(0x335)][_0xfb3c08(0x26f)](_0x27172d(this[_0xfb3c08(0x1fb)]))['subscribe'](_0xe1bc5=>{const _0x5f18f3=_0xfb3c08;if((_0xe1bc5==null?void 0x0:_0xe1bc5[_0x5f18f3(0x287)])!==this[_0x5f18f3(0x287)])return;const _0x5e856b={'eventID':_0x15277f[_0x5f18f3(0x34c)],'data':_0xe1bc5};this[_0x5f18f3(0x3f2)](_0x5e856b);}),this[_0xfb3c08(0x2cf)](this[_0xfb3c08(0x1e8)][_0xfb3c08(0x32f)](_0x9f76a6=>{const _0x3869ff=_0xfb3c08;if(_0x9f76a6[_0x3869ff(0x216)]==null)return;const _0x4f62da=_0x9f76a6[_0x3869ff(0x216)];if(_0x9f76a6['id']!==_0x117a04['id']||_0x4f62da['unitId']!==this['unitID'])return;const _0xb2dd82={'id':_0x3869ff(0x336),'params':_0x4f62da},_0x5332b2=this[_0x3869ff(0x365)];for(const [_0x1b28b8,_0x39a627]of _0x5332b2){const _0xf7991f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x39a627[_0x3869ff(0x1c8)]}},_0x10a048=this[_0x3869ff(0x1df)][_0x3869ff(0x2fc)](_0xb2dd82,_0xf7991f,!0x1);if(_0x57e874(_0x10a048))throw _0x10a048['error'];_0x5332b2['set'](_0x1b28b8,{..._0x39a627,'ranges':_0x10a048['m2Prime'][_0x3869ff(0x216)]['textRanges']});}queueMicrotask(()=>{const _0x5c17d5=_0x3869ff;this[_0x5c17d5(0x38f)][_0x5c17d5(0x3dd)](_0x5332b2);});})));}['_onCursorUpdate'](_0x2ee8d1){const _0x17be90=_0x5cd2e1;var _0x4a3594,_0x37d7b9;const {memberID:_0x3ccffc,selection:_0x3cd68e}=_0x2ee8d1[_0x17be90(0x1fd)],_0x4e70a3=Ai(_0x3cd68e),_0x2f4f13=(_0x37d7b9=(_0x4a3594=this[_0x17be90(0x25f)][_0x17be90(0x2db)](this[_0x17be90(0x287)],_0x3ccffc))==null?void 0x0:_0x4a3594[_0x17be90(0x3b6)])!=null?_0x37d7b9:_0x17be90(0x1ba),_0x4762d1={'color':this[_0x17be90(0x3c9)][_0x17be90(0x23d)](_0x3ccffc),'name':_0x2f4f13,'ranges':_0x4e70a3},_0x94cab7=this['cursorInfo'];_0x94cab7[_0x17be90(0x322)](_0x3ccffc,_0x4762d1),this[_0x17be90(0x38f)][_0x17be90(0x3dd)](_0x94cab7);}[_0x5cd2e1(0x1f1)](_0xf1ca1f){const _0x10fe00=_0x5cd2e1,{memberID:_0x4f1c11}=_0xf1ca1f[_0x10fe00(0x1fd)],_0x19c84f=this[_0x10fe00(0x365)];_0x19c84f['delete'](_0x4f1c11),this[_0x10fe00(0x38f)][_0x10fe00(0x3dd)](_0x19c84f);}[_0x5cd2e1(0x2d9)](){const _0xf20cf7=_0x5cd2e1;var _0x3de721;if(this['_online']=!0x0,((_0x3de721=this[_0xf20cf7(0x256)][_0xf20cf7(0x348)]())==null?void 0x0:_0x3de721[_0xf20cf7(0x354)]())!==this[_0xf20cf7(0x287)])return;const _0x58ed7b=this[_0xf20cf7(0x22c)][_0xf20cf7(0x2b6)](_0x1f6f6a)[_0xf20cf7(0x3ea)]();Array[_0xf20cf7(0x276)](_0x58ed7b)&&_0x58ed7b[_0xf20cf7(0x3ed)]>0x0&&this[_0xf20cf7(0x23c)](_0x58ed7b);}[_0x5cd2e1(0x3da)](){const _0x53c951=_0x5cd2e1;this[_0x53c951(0x2f2)]=!0x1;}};xe=wi([A(0x2,_0xf4d66f(_0xae1fe5)),A(0x3,_0xf4d66f(Ke)),A(0x4,_0xf4d66f(_0x44e3da)),A(0x5,_0xf4d66f(ze)),A(0x6,_0x4717ac),A(0x7,_0x296958),A(0x8,_0x33726a)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x447aff,_0x1d3aba,_0x303b83,_0xe220c5)=>{const _0x5d1b26=_0x5cd2e1;for(var _0x32f92d=_0xe220c5>0x1?void 0x0:_0xe220c5?xi(_0x1d3aba,_0x303b83):_0x1d3aba,_0x229362=_0x447aff[_0x5d1b26(0x3ed)]-0x1,_0x4ede02;_0x229362>=0x0;_0x229362--)(_0x4ede02=_0x447aff[_0x229362])&&(_0x32f92d=_0x4ede02(_0x32f92d)||_0x32f92d);return _0x32f92d;},B=(_0x39fcd7,_0x3fcb79)=>(_0x50fa87,_0x1d41c1)=>_0x3fcb79(_0x50fa87,_0x1d41c1,_0x39fcd7);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x55de3c=[],_0x2d5df7=!0x1;return _0x2a86fc=>{const _0x15537c=_0xc1c7;_0x55de3c[_0x15537c(0x30a)](_0x2a86fc),_0x2d5df7||(_0x2d5df7=!0x0,setTimeout(()=>{const _0x2dbf7d=_0x15537c;_0x55de3c[_0x2dbf7d(0x258)](_0xa1dde3=>_0xa1dde3()),_0x55de3c=[],_0x2d5df7=!0x1;}));};};let Be=class extends _0xb8a4ef{constructor(_0xf0b2eb,_0x5369cd,_0x4c4cdb,_0x1f3993,_0x76af2c,_0x57736a,_0xa447d0,_0x463839){const _0x39a1e6=_0x5cd2e1;super(),_(this,_0x39a1e6(0x2f2),!0x1),_(this,'_init',!0x1),_(this,_0x39a1e6(0x38f),new _0x59b9f6(new Map())),_(this,_0x39a1e6(0x209),this[_0x39a1e6(0x38f)][_0x39a1e6(0x405)]()),_(this,'_roomMembers$',new _0x59b9f6([])),_(this,_0x39a1e6(0x352),this[_0x39a1e6(0x401)]['pipe'](_0x1c0d71(Fi))),_(this,_0x39a1e6(0x23c),_0x55cfda((_0x34e224,_0x729c2e)=>{const _0x36b015=_0x39a1e6,_0x37fe79={'eventID':_0x15277f[_0x36b015(0x34c)],'data':{'unitID':this[_0x36b015(0x287)],'memberID':this[_0x36b015(0x25d)][_0x36b015(0x3d8)](),'selection':_0x1e114a(_0x34e224,_0x729c2e[_0x36b015(0x391)])}};this[_0x36b015(0x25d)][_0x36b015(0x2bd)](_0x37fe79,this[_0x36b015(0x287)]);},ki)),(this[_0x39a1e6(0x287)]=_0xf0b2eb,this[_0x39a1e6(0x25d)]=_0x5369cd,this[_0x39a1e6(0x22c)]=_0x4c4cdb,this[_0x39a1e6(0x3c9)]=_0x1f3993,this['_memberService']=_0x76af2c,this[_0x39a1e6(0x256)]=_0x57736a,this[_0x39a1e6(0x1e8)]=_0xa447d0,this[_0x39a1e6(0x340)]=_0x463839);}get[_0x5cd2e1(0x365)](){const _0x1c05cd=_0x5cd2e1;return this[_0x1c05cd(0x38f)][_0x1c05cd(0x28a)]();}get[_0x5cd2e1(0x28d)](){const _0x1fd13f=_0x5cd2e1;return this[_0x1fd13f(0x401)]['getValue']();}['dispose'](){const _0xd9b323=_0x5cd2e1;super[_0xd9b323(0x1cc)](),this[_0xd9b323(0x38f)][_0xd9b323(0x3dd)](new Map()),this['_cursorInfo$'][_0xd9b323(0x267)](),this[_0xd9b323(0x401)][_0xd9b323(0x3dd)]([]),this[_0xd9b323(0x401)][_0xd9b323(0x267)]();}[_0x5cd2e1(0x329)](){const _0x3f1fb3=_0x5cd2e1;this[_0x3f1fb3(0x396)]||(this[_0x3f1fb3(0x396)]=!0x0,this[_0x3f1fb3(0x25d)][_0x3f1fb3(0x31e)]['pipe'](_0x27172d(this['dispose$']))[_0x3f1fb3(0x34a)](_0x180d47=>{const _0x33e67d=_0x3f1fb3;_0x180d47===_0x373a85[_0x33e67d(0x28e)]?this[_0x33e67d(0x2d9)]():this[_0x33e67d(0x3da)]();}),this[_0x3f1fb3(0x25d)][_0x3f1fb3(0x26b)]['pipe'](_0x27172d(this[_0x3f1fb3(0x1fb)]))[_0x3f1fb3(0x34a)](_0x743a28=>{const _0x44174b=_0x3f1fb3,_0x1db710=_0x743a28[_0x44174b(0x294)];_0x1db710===_0x15277f[_0x44174b(0x34c)]&&this[_0x44174b(0x3f2)](_0x743a28),_0x1db710===_0x15277f['USERS_LEAVE']&&this[_0x44174b(0x1f1)](_0x743a28);}),this[_0x3f1fb3(0x2ee)](),this['disposeWithMe'](this['_commandService'][_0x3f1fb3(0x32f)](_0x17557c=>{const _0x452de3=_0x3f1fb3;if(this[_0x452de3(0x2f2)]&&_0x17557c['id']===_0x58dcd8['id']&&_0x17557c[_0x452de3(0x216)][_0x452de3(0x1e5)]===this[_0x452de3(0x287)]){const _0x4273bb=_0x17557c[_0x452de3(0x216)];this[_0x452de3(0x23c)](_0x4273bb[_0x452de3(0x34b)],_0x4273bb['selections'][0x0]);}})));}[_0x5cd2e1(0x3f2)](_0x1f689f){const _0x4f65cd=_0x5cd2e1;var _0x5cc3c8,_0x3f471c;const {memberID:_0x35e982,selection:_0x36ef06}=_0x1f689f[_0x4f65cd(0x1fd)],{sheetName:_0x556c43,range:_0x53cab8}=_0x2ddc3b(_0x36ef06),_0x52386a={'name':(_0x3f471c=(_0x5cc3c8=this[_0x4f65cd(0x25f)][_0x4f65cd(0x2db)](this[_0x4f65cd(0x287)],_0x35e982))==null?void 0x0:_0x5cc3c8[_0x4f65cd(0x3b6)])!=null?_0x3f471c:_0x4f65cd(0x1ba),'range':this[_0x4f65cd(0x367)](_0x556c43,_0x53cab8),'sheetID':_0x556c43,'color':this[_0x4f65cd(0x3c9)][_0x4f65cd(0x23d)](_0x35e982),'selection':_0x36ef06},_0x4410bd=this['cursorInfo'];_0x4410bd['set'](_0x35e982,_0x52386a),this[_0x4f65cd(0x38f)][_0x4f65cd(0x3dd)](_0x4410bd);}['_onCursorDelete'](_0x10216f){const _0x16eebc=_0x5cd2e1,{memberID:_0x4ecc8e}=_0x10216f[_0x16eebc(0x1fd)],_0x2e8aaa=this[_0x16eebc(0x365)];_0x2e8aaa[_0x16eebc(0x35c)](_0x4ecc8e),this[_0x16eebc(0x38f)][_0x16eebc(0x3dd)](_0x2e8aaa);}[_0x5cd2e1(0x367)](_0x15f036,_0x6bbc78){const _0x17f0f3=_0x5cd2e1;var _0x364472,_0x357f39;const _0x1490c0=(_0x357f39=(_0x364472=this[_0x17f0f3(0x256)][_0x17f0f3(0x3b8)](this[_0x17f0f3(0x287)]))==null?void 0x0:_0x364472[_0x17f0f3(0x1cf)](_0x15f036))==null?void 0x0:_0x357f39[_0x17f0f3(0x400)]();return(_0x1490c0==null?void 0x0:_0x1490c0['find'](_0x801204=>_0x557bf8[_0x17f0f3(0x38a)](_0x801204,_0x6bbc78)))||_0x6bbc78;}[_0x5cd2e1(0x2ee)](){const _0x19a148=_0x5cd2e1,_0x259ac7=new _0x154bfa(),_0x50a608=Hi(),_0x3203ee=()=>{const _0x52b674=_0xc1c7;_0x259ac7['dispose']();const _0x3ec088=(_0xd8f00c,_0x1b352f,_0x28cc5b,_0x4173e0)=>{const _0x3e8be5=_0xc1c7;let _0x3e682b=[];switch(_0xd8f00c['id']){case _0x3ec1c7[_0x3e8be5(0x1bc)]:{_0x3e682b=_0x54b7c1(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x3dc)]:{_0x3e682b=_0x190678(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x2ac)]:{_0x3e682b=_0x59a916(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x353)]:{_0x3e682b=_0x55f9a(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x1f7)]:{_0x3e682b=_0x22037c(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x3a7)]:{_0x3e682b=_0x7cde13(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x30b)]:{_0x3e682b=_0x398d4a(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x387)]:{_0x3e682b=_0x21bd6d(_0xd8f00c,_0x4173e0);break;}case _0x3ec1c7[_0x3e8be5(0x1e6)]:{_0x3e682b=_0x20df3d(_0xd8f00c,_0x4173e0);break;}}const _0x3045f3=_0xb75889(_0x3e682b,_0x4173e0),_0x129383=this['cursorInfo'][_0x3e8be5(0x2b6)](_0x1b352f);if(_0x129383&&_0x3045f3){const _0x336a6f={..._0x129383,'range':_0x3045f3};this[_0x3e8be5(0x365)]['set'](_0x1b352f,_0x336a6f),_0x50a608(()=>{const _0x411ea2=_0x3e8be5,_0x3725ed=this[_0x411ea2(0x340)][_0x411ea2(0x344)](_0x3045f3,_0x358c3c=>(_0x3725ed['dispose'](),_0x3ec088(_0x358c3c,_0x1b352f,_0x28cc5b,_0x3045f3)));_0x259ac7['add'](_0x3725ed);});}return{'redos':[],'undos':[]};};this[_0x52b674(0x365)]['forEach']((_0x39fe7e,_0xa5885f)=>{const _0x5d3615=_0x52b674,{range:_0x48173e,sheetID:_0xbbecd9}=_0x39fe7e,_0x31c595=this[_0x5d3615(0x340)][_0x5d3615(0x344)](_0x48173e,_0xca268c=>(_0x31c595['dispose'](),_0x3ec088(_0xca268c,_0xa5885f,_0xbbecd9,_0x48173e)));_0x259ac7[_0x5d3615(0x3db)](_0x31c595);});};this[_0x19a148(0x2cf)](_0x1182c8(this['_cursorInfo$'][_0x19a148(0x34a)](()=>{_0x3203ee();})));}[_0x5cd2e1(0x2d9)](){const _0x125717=_0x5cd2e1;var _0x12ee9a,_0x190fee;if(this['_online']=!0x0,((_0x12ee9a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x12ee9a[_0x125717(0x354)]())!==this[_0x125717(0x287)])return;const _0x567192=(_0x190fee=this[_0x125717(0x22c)]['get'](_0x12665f)[_0x125717(0x27f)]())==null?void 0x0:_0x190fee[0x0],_0x3b0889=this[_0x125717(0x256)][_0x125717(0x31f)](_0x298b40[_0x125717(0x3ef)])[_0x125717(0x395)]();_0x567192&&_0x3b0889&&this[_0x125717(0x23c)](_0x3b0889[_0x125717(0x23e)](),_0x567192);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0xf4d66f(_0xae1fe5)),B(0x3,_0xf4d66f(Ke)),B(0x4,_0xf4d66f(_0x44e3da)),B(0x5,_0x296958),B(0x6,_0x33726a),B(0x7,_0xf4d66f(_0x110f7f))],Be);var Yi=Object[_0x5cd2e1(0x2c3)],Wi=(_0x713b45,_0x86e16e,_0x3a4981,_0x2bb923)=>{for(var _0xe5a31e=_0x2bb923>0x1?void 0x0:_0x2bb923?Yi(_0x86e16e,_0x3a4981):_0x86e16e,_0x50b4a3=_0x713b45['length']-0x1,_0x36aeff;_0x50b4a3>=0x0;_0x50b4a3--)(_0x36aeff=_0x713b45[_0x50b4a3])&&(_0xe5a31e=_0x36aeff(_0xe5a31e)||_0xe5a31e);return _0xe5a31e;},Ce=(_0x39cf09,_0x58a828)=>(_0x5ae8a4,_0x182c7c)=>_0x58a828(_0x5ae8a4,_0x182c7c,_0x39cf09);let H=class extends _0xb8a4ef{constructor(_0x581f36,_0x306092,_0x3b0ce5){const _0x4b3b6b=_0x5cd2e1;super(),_(this,'_entities',new Map()),_(this,_0x4b3b6b(0x2c1),new _0x50bd36()),(this[_0x4b3b6b(0x256)]=_0x581f36,this[_0x4b3b6b(0x22c)]=_0x306092,this[_0x4b3b6b(0x260)]=_0x3b0ce5,this[_0x4b3b6b(0x396)]());}[_0x5cd2e1(0x1cc)](){const _0x3e4d96=_0x5cd2e1;super[_0x3e4d96(0x1cc)](),this[_0x3e4d96(0x2c1)]['complete'](),this[_0x3e4d96(0x201)][_0x3e4d96(0x258)](_0x14c6a7=>_0x14c6a7[_0x3e4d96(0x1cc)]());}['getCollabCursors$'](_0x4f7daa){const _0x390b65=_0x5cd2e1;return this[_0x390b65(0x201)][_0x390b65(0x217)](_0x4f7daa)?this[_0x390b65(0x201)][_0x390b65(0x2b6)](_0x4f7daa)['cursorInfo$']:this[_0x390b65(0x2c1)][_0x390b65(0x26f)](_0x23fc73(_0x154ac8=>_0x154ac8[_0x390b65(0x287)]===_0x4f7daa),_0x3ee0f0(_0x277af4=>_0x277af4['cursorInfo$']));}[_0x5cd2e1(0x396)](){const _0x17fbe0=_0x5cd2e1;this[_0x17fbe0(0x256)][_0x17fbe0(0x2e9)](_0x298b40[_0x17fbe0(0x3ef)])['pipe'](_0x27172d(this[_0x17fbe0(0x1fb)]))[_0x17fbe0(0x34a)](async _0x2c99ea=>{const _0x29356d=_0x17fbe0,_0x1679cc=_0x2c99ea[_0x29356d(0x354)](),_0x3a4a24=await this[_0x29356d(0x331)](_0x1679cc);this[_0x29356d(0x2c1)][_0x29356d(0x3dd)](_0x3a4a24),this['_entities']['set'](_0x1679cc,_0x3a4a24);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x298b40[_0x17fbe0(0x2ba)])[_0x17fbe0(0x26f)](_0x27172d(this['dispose$']))['pipe'](_0x23fc73(_0xf22345=>!_0xf22345[_0x17fbe0(0x354)]()[_0x17fbe0(0x3cb)]('__')))['subscribe'](async _0x3b1531=>{const _0x4d7d77=_0x17fbe0,_0xdd0be7=_0x3b1531[_0x4d7d77(0x354)](),_0x321fe2=await this[_0x4d7d77(0x3fb)](_0xdd0be7);this['_entityInit$'][_0x4d7d77(0x3dd)](_0x321fe2),this[_0x4d7d77(0x201)][_0x4d7d77(0x322)](_0xdd0be7,_0x321fe2);}),_0x1047ef(this[_0x17fbe0(0x256)][_0x17fbe0(0x368)](_0x298b40[_0x17fbe0(0x2ba)]),this[_0x17fbe0(0x256)][_0x17fbe0(0x368)](_0x298b40[_0x17fbe0(0x3ef)]))[_0x17fbe0(0x26f)](_0x27172d(this[_0x17fbe0(0x1fb)]))[_0x17fbe0(0x34a)](_0x323d73=>{const _0x2b131b=_0x17fbe0,_0x4455af=_0x323d73[_0x2b131b(0x354)](),_0xeeab3b=this[_0x2b131b(0x201)][_0x2b131b(0x2b6)](_0x4455af);_0xeeab3b&&(_0xeeab3b['dispose'](),this[_0x2b131b(0x201)]['delete'](_0x4455af));});}async['_startSheetCollabCursor'](_0x4af589){const _0x1183a4=_0x5cd2e1,_0x28a93a=await this['_collabSessionService'][_0x1183a4(0x3e3)](_0x4af589),_0x557dd0=this[_0x1183a4(0x22c)][_0x1183a4(0x259)](Be,_0x4af589,_0x28a93a);return _0x557dd0[_0x1183a4(0x329)](),_0x557dd0;}async[_0x5cd2e1(0x3fb)](_0xb54b98){const _0xf6f38c=_0x5cd2e1,_0x415604=await this[_0xf6f38c(0x260)][_0xf6f38c(0x3e3)](_0xb54b98),_0x11da4f=this[_0xf6f38c(0x22c)][_0xf6f38c(0x259)](xe,_0xb54b98,_0x415604);return _0x11da4f[_0xf6f38c(0x329)](),_0x11da4f;}};H=Wi([Ce(0x0,_0x296958),Ce(0x1,_0xf4d66f(_0xae1fe5)),Ce(0x2,_0xf4d66f(_0x5c8b4c))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0xae0f5d,_0x4ca319){const _0x13b764=_0x5cd2e1;let {radius:_0x2f3f55,width:_0x5be2ba,height:_0x4eff4b}=_0x4ca319;_0x2f3f55=_0x2f3f55!=null?_0x2f3f55:0x0,_0x5be2ba=_0x5be2ba!=null?_0x5be2ba:0x1e,_0x4eff4b=_0x4eff4b!=null?_0x4eff4b:0x1e;let _0x5809b2=0x0,_0x3458be=0x0,_0x2a577b=0x0;_0x5809b2=_0x3458be=_0x2a577b=Math[_0x13b764(0x1dc)](_0x2f3f55,_0x5be2ba/0x2,_0x4eff4b/0x2),_0xae0f5d[_0x13b764(0x250)](),_0xae0f5d[_0x13b764(0x220)](_0x5809b2,0x0),_0xae0f5d['lineTo'](_0x5be2ba-_0x3458be,0x0),_0xae0f5d[_0x13b764(0x337)](_0x5be2ba-_0x3458be,_0x3458be,_0x3458be,Math['PI']*0x3/0x2,0x0,!0x1),_0xae0f5d[_0x13b764(0x38c)](_0x5be2ba,_0x4eff4b-_0x2a577b),_0xae0f5d['arc'](_0x5be2ba-_0x2a577b,_0x4eff4b-_0x2a577b,_0x2a577b,0x0,Math['PI']/0x2,!0x1),_0xae0f5d[_0x13b764(0x38c)](0x0,_0x4eff4b),_0xae0f5d['lineTo'](0x0,_0x5809b2),_0xae0f5d[_0x13b764(0x337)](_0x5809b2,_0x5809b2,_0x5809b2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xae0f5d['closePath'](),_0x4ca319[_0x13b764(0x27c)]&&(_0xae0f5d[_0x13b764(0x2f5)](),_0xae0f5d[_0x13b764(0x20e)]=_0x4ca319[_0x13b764(0x27c)],_0x4ca319[_0x13b764(0x237)]==='evenodd'?_0xae0f5d[_0x13b764(0x27c)]('evenodd'):_0xae0f5d['fill'](),_0xae0f5d['restore']());}class ve extends _0x4b9cbe{constructor(_0x36949e,_0x1db0d5){const _0x29dc6d=_0x5cd2e1;super(_0x36949e,_0x1db0d5),_(this,_0x29dc6d(0x24a)),_(this,_0x29dc6d(0x1d2)),(this[_0x29dc6d(0x24a)]=_0x1db0d5==null?void 0x0:_0x1db0d5[_0x29dc6d(0x24a)],this[_0x29dc6d(0x1d2)]=_0x1db0d5==null?void 0x0:_0x1db0d5['text']);}static['drawWith'](_0x2d25fb,_0xa5cd89){const _0x198dc5=_0x5cd2e1,{text:_0x46abc3,color:_0x58e66c}=_0xa5cd89;_0x2d25fb['save'](),_0x2d25fb[_0x198dc5(0x298)]=_0x198dc5(0x3c1);const _0x58f3e2=_0x2d25fb[_0x198dc5(0x257)](_0x46abc3)[_0x198dc5(0x218)],_0xb590a5=Math['min'](_0x58f3e2+0x2*Re,at);ji(_0x2d25fb,{'height':Q,'radius':0x4,'width':_0xb590a5,'fill':_0x58e66c}),_0x2d25fb['fillStyle']='#FFF';const _0x237008=Re,_0x3c8e14=Q-Vi,_0x142752=at-0x2*Re;if(_0x58f3e2>_0x142752){let _0x99c208='',_0x399d82=0x0;for(const _0x55d097 of _0x46abc3){const _0x3d1e33=_0x2d25fb[_0x198dc5(0x257)](_0x55d097)['width'];if(_0x399d82+_0x3d1e33<=_0x142752-_0x2d25fb[_0x198dc5(0x257)]('...')[_0x198dc5(0x218)])_0x99c208+=_0x55d097,_0x399d82+=_0x3d1e33;else{_0x99c208+=_0x198dc5(0x39c);break;}}_0x2d25fb[_0x198dc5(0x2d7)](_0x99c208,_0x237008,_0x3c8e14);}else _0x2d25fb['fillText'](_0x46abc3,_0x237008,_0x3c8e14);_0x2d25fb[_0x198dc5(0x3d9)]();}[_0x5cd2e1(0x280)](_0x4291fd){const _0xef126f=_0x5cd2e1;ve[_0xef126f(0x356)](_0x4291fd,this);}}const De=_0x5cd2e1(0x2a9),Xi=_0x5cd2e1(0x3e2),Gi=_0x5cd2e1(0x283),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x5cd2e1(0x1ee);class ct{constructor(_0x24f88a,_0x42b8de,_0x31e809,_0x28fa13){const _0xfccd13=_0x5cd2e1;_(this,_0xfccd13(0x38b),[]),_(this,_0xfccd13(0x2b9),null),_(this,_0xfccd13(0x1c4),null),_(this,'_anchorDot',null),_(this,_0xfccd13(0x246),null),_(this,'_eventUnsubscribe',null),(this[_0xfccd13(0x223)]=_0x24f88a,this[_0xfccd13(0x2bb)]=_0x42b8de,this[_0xfccd13(0x21e)]=_0x31e809,this[_0xfccd13(0x310)]=_0x28fa13,this[_0xfccd13(0x36a)]());}set['_hover'](_0x170ce7){const _0x2ca291=_0x5cd2e1;_0x170ce7?(this[_0x2ca291(0x1e7)]&&this['_anchorDot'][_0x2ca291(0x1da)](),this[_0x2ca291(0x1c4)]&&this[_0x2ca291(0x1c4)]['show']()):(this[_0x2ca291(0x1e7)]&&this[_0x2ca291(0x1e7)][_0x2ca291(0x312)](),this[_0x2ca291(0x1c4)]&&this[_0x2ca291(0x1c4)][_0x2ca291(0x1da)]());}['dispose'](){const _0x2fd805=_0x5cd2e1;for(const _0x4a9f9c of this[_0x2fd805(0x38b)])_0x4a9f9c[_0x2fd805(0x1cc)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x2fd805(0x1e7)]&&this[_0x2fd805(0x1e7)][_0x2fd805(0x1cc)](),this['_anchor']&&this[_0x2fd805(0x2b9)][_0x2fd805(0x1cc)](),this['_eventUnsubscribe']&&this[_0x2fd805(0x39a)]();}[_0x5cd2e1(0x36a)](){const _0x29cc3a=_0x5cd2e1;var _0x272c26;const {_docSkeleton:_0x4590c8,_document:_0x110afc}=this,{color:_0x4d4732,name:_0x18ffa5,ranges:_0x2101ea}=this[_0x29cc3a(0x223)],_0x6b1b4=_0x110afc['getOffsetConfig'](),{docsLeft:_0x50812d,docsTop:_0x598fb9}=_0x6b1b4,_0x43bd7e=new _0x385735(_0x6b1b4,_0x4590c8);for(const {startOffset:_0x424c1f,endOffset:_0xaab52c,rangeType:_0x2290b9,segmentId:_0x3d60ce,segmentPage:_0x557109,collapsed:_0x12b827,isActive:_0x363cd0}of _0x2101ea){const _0x3a0298=_0x4590c8[_0x29cc3a(0x39b)](_0x424c1f,!0x0,_0x3d60ce,_0x557109);let _0x2a79fe=_0x4590c8[_0x29cc3a(0x39b)](_0xaab52c,!0x0,_0x3d60ce,_0x557109);if(_0x2a79fe==null&&(_0x2a79fe=_0x4590c8[_0x29cc3a(0x39b)](_0xaab52c-0x1,!0x1,_0x3d60ce,_0x557109)),_0x363cd0){const {contentBoxPointGroup:_0x1de513}=_0x43bd7e[_0x29cc3a(0x3a1)](_0x2a79fe,_0x2a79fe);if(_0x1de513[_0x29cc3a(0x3ed)]===0x0)continue;this[_0x29cc3a(0x3d3)](_0x4d4732,_0x1de513,_0x50812d,_0x598fb9,_0x18ffa5),this[_0x29cc3a(0x39a)]=this[_0x29cc3a(0x328)]();}if(_0x3a0298&&_0x2a79fe){if(_0x2290b9===_0x38326c[_0x29cc3a(0x200)]){const _0x447b6e=new _0x443d5d(_0x6b1b4,_0x4590c8),{pointGroup:_0x623726}=(_0x272c26=_0x447b6e[_0x29cc3a(0x3a1)](_0x3a0298,_0x2a79fe))!=null?_0x272c26:{};if(_0x623726==null||_0x623726['length']===0x0)continue;this[_0x29cc3a(0x32d)](_0x4d4732,_0x623726,_0x50812d,_0x598fb9);}else{if(!_0x12b827){const {borderBoxPointGroup:_0x36188c}=_0x43bd7e[_0x29cc3a(0x3a1)](_0x3a0298,_0x2a79fe);if(_0x36188c['length']===0x0)continue;this[_0x29cc3a(0x366)](_0x4d4732,_0x36188c,_0x50812d,_0x598fb9);}}}}}[_0x5cd2e1(0x3d3)](_0x2bf574,_0x3de16f,_0x2079cb,_0x303f5b,_0x3375ef){const _0xdb15d6=_0x5cd2e1,_0x2ba064=this[_0xdb15d6(0x3aa)](_0x3de16f),{left:_0x35414b,top:_0x13968e,height:_0x504f66}=_0x2ba064,_0x530613=this[_0xdb15d6(0x311)](),_0x55e8b2=zi/_0x530613,_0x40c962=new _0x2d1bf5(De+_0x2bc8c1(z),{'left':_0x35414b+_0x2079cb-_0x55e8b2,'top':_0x13968e+_0x303f5b,'height':_0x504f66,'width':Ki,'fill':_0x2bf574||_0x24880e(_0x4c198e['black'],0x0),'strokeWidth':_0x55e8b2,'stroke':Ji,'evented':!0x0});this[_0xdb15d6(0x2b9)]=_0x40c962,this[_0xdb15d6(0x2bb)][_0xdb15d6(0x2dd)](_0x40c962,_0x5412da);const _0x1e78bc=new _0x2d1bf5(De+_0x2bc8c1(z),{'left':_0x35414b+_0x2079cb-_0x55e8b2,'top':_0x13968e+_0x303f5b-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x2bf574||_0x24880e(_0x4c198e[_0xdb15d6(0x279)],0x0),'strokeWidth':0x0,'stroke':_0x2bf574||_0x24880e(_0x4c198e[_0xdb15d6(0x279)],0x0),'evented':!0x1});this[_0xdb15d6(0x1e7)]=_0x1e78bc,this['_scene'][_0xdb15d6(0x2dd)](_0x1e78bc,_0x5412da);const _0x28da55=new ve(De+_0x2bc8c1(z),{'left':_0x35414b+_0x2079cb-_0x55e8b2,'top':_0x13968e+_0x303f5b-Q,'text':_0x3375ef,'color':_0x2bf574});this[_0xdb15d6(0x1c4)]=_0x28da55,this[_0xdb15d6(0x2bb)][_0xdb15d6(0x2dd)](_0x28da55,_0x5412da),this[_0xdb15d6(0x321)]=!0x1;}[_0x5cd2e1(0x328)](){const _0x2e7abf=_0x5cd2e1,_0x23dbe=this[_0x2e7abf(0x2b9)][_0x2e7abf(0x22b)][_0x2e7abf(0x390)](()=>{this['_hover']=!0x0;}),_0x30b77b=this[_0x2e7abf(0x2b9)][_0x2e7abf(0x1e1)][_0x2e7abf(0x390)](()=>{const _0x374293=_0x2e7abf;this[_0x374293(0x246)]&&clearTimeout(this[_0x374293(0x246)]),this['_hideTimer']=setTimeout(()=>{const _0x493cf5=_0x374293;this[_0x493cf5(0x321)]=!0x1;},0x7d0);});return()=>{const _0x3327b3=_0x2e7abf;_0x23dbe[_0x3327b3(0x2ec)](),_0x30b77b[_0x3327b3(0x2ec)]();};}[_0x5cd2e1(0x366)](_0x4d00f0,_0x147559,_0x2e4858,_0x1624a4){const _0x579925=_0x5cd2e1,_0x495bd3=new _0x106cbc(_0x4d00f0)['setAlpha'](0.2)[_0x579925(0x2fb)](),_0x2be3b7=new _0xd9e657(Xi+_0x2bc8c1(z),{'pointsGroup':_0x147559,'fill':_0x495bd3||_0x24880e(_0x4c198e[_0x579925(0x279)],0.2),'left':_0x2e4858,'top':_0x1624a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x579925(0x38b)][_0x579925(0x30a)](_0x2be3b7),this[_0x579925(0x2bb)][_0x579925(0x2dd)](_0x2be3b7,_0x5412da);}[_0x5cd2e1(0x32d)](_0x11ad95,_0x196155,_0x413e40,_0x1e4d4a){const _0x49cc92=_0x5cd2e1,_0x2c9053=new _0x106cbc(_0x11ad95)[_0x49cc92(0x2bc)](0.2)[_0x49cc92(0x2fb)](),_0x1862ab=new _0xd9e657(Gi+_0x2bc8c1(z),{'pointsGroup':_0x196155,'fill':_0x2c9053||_0x24880e(_0x4c198e[_0x49cc92(0x279)],0.2),'left':_0x413e40,'top':_0x1e4d4a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49cc92(0x38b)][_0x49cc92(0x30a)](_0x1862ab),this[_0x49cc92(0x2bb)]['addObject'](_0x1862ab,_0x5412da);}[_0x5cd2e1(0x3aa)](_0x43171f){const _0x4c0584=_0x43171f[0x0],_0x4c741b=_0x4c0584[0x0],_0x44959a=_0x4c0584[0x2],{x:_0x30e6d6,y:_0x50bdc5}=_0x4c741b,{x:_0x4be9bd,y:_0x10dbf8}=_0x44959a;return{'left':_0x30e6d6,'top':_0x50bdc5,'width':_0x4be9bd-_0x30e6d6,'height':_0x10dbf8-_0x50bdc5};}['_getScale'](){const _0x3177d2=_0x5cd2e1,{scaleX:_0x32765a,scaleY:_0x3f247f}=this[_0x3177d2(0x2bb)]['getAncestorScale']();return Math[_0x3177d2(0x285)](_0x32765a,_0x3f247f);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x4c42d3,_0x8fb1e6,_0x360e8d,_0x50548a)=>{const _0x33156f=_0x5cd2e1;for(var _0x104585=_0x50548a>0x1?void 0x0:_0x50548a?Zi(_0x8fb1e6,_0x360e8d):_0x8fb1e6,_0x3bd5b9=_0x4c42d3[_0x33156f(0x3ed)]-0x1,_0x13cdf1;_0x3bd5b9>=0x0;_0x3bd5b9--)(_0x13cdf1=_0x4c42d3[_0x3bd5b9])&&(_0x104585=_0x13cdf1(_0x104585)||_0x104585);return _0x104585;},ie=(_0x5366b8,_0x5d4cc7)=>(_0x49171c,_0x1c3c6f)=>_0x5d4cc7(_0x49171c,_0x1c3c6f,_0x5366b8);let Fe=class extends _0xb8a4ef{constructor(_0x5f319f,_0x1d302b,_0x29133b,_0x43d428,_0x58759){const _0x509433=_0x5cd2e1;super(),_(this,_0x509433(0x269),[]),_(this,_0x509433(0x35f),[]),(this['_context']=_0x5f319f,this[_0x509433(0x2b2)]=_0x1d302b,this[_0x509433(0x407)]=_0x29133b,this[_0x509433(0x1e8)]=_0x43d428,this[_0x509433(0x292)]=_0x58759,this['_init']());}['_init'](){const _0x275092=_0x5cd2e1,_0x18cb55=this[_0x275092(0x334)][_0x275092(0x1e5)],_0x3dc68d=this[_0x275092(0x2b2)];this[_0x275092(0x2cf)](_0x29b637([this['_collabCursorController'][_0x275092(0x273)](_0x18cb55),this['_themeService'][_0x275092(0x3bf)]])['pipe'](_0x29f709(([_0xc2b502,_0xe96cde])=>({'skeleton':_0x3dc68d[_0x275092(0x3f3)](),'cursors':[..._0xc2b502['values']()][_0x275092(0x2cb)](_0x71404d=>({..._0x71404d,'color':this['_themeService']['getColorFromTheme'](_0x71404d[_0x275092(0x24a)])}))})))['subscribe'](_0x4bbf5e=>{if(this['_removeCollabCursors'](),_0x4bbf5e){const {skeleton:_0x20dad1,cursors:_0x482491}=_0x4bbf5e;this['_updateCollabCursors'](_0x20dad1,_0x482491);}})),this['_initResize'](),this[_0x275092(0x2b5)]();}['_updateCollabCursors'](_0x3e43cc,_0x256f4b){const _0xa99056=_0x5cd2e1,{scene:_0x57d934,mainComponent:_0x2300a2}=this[_0xa99056(0x334)],_0x5509ff=_0x256f4b[_0xa99056(0x29a)](_0x41258c=>new ct(_0x41258c,_0x57d934,_0x3e43cc,_0x2300a2));this['_cursorShapes']=_0x5509ff,this[_0xa99056(0x35f)]=_0x256f4b;}[_0x5cd2e1(0x1e2)](){const _0x12a8ff=_0x5cd2e1;this['_removeCollabCursors']();const {scene:_0x279da3,mainComponent:_0x4c0d9a}=this[_0x12a8ff(0x334)],_0x519402=this[_0x12a8ff(0x2b2)]['getSkeleton'](),_0x126587=this[_0x12a8ff(0x35f)]['map'](_0x568ee7=>new ct(_0x568ee7,_0x279da3,_0x519402,_0x4c0d9a));this[_0x12a8ff(0x269)]=_0x126587;}[_0x5cd2e1(0x2fe)](){const _0x64944f=_0x5cd2e1;this[_0x64944f(0x269)]['forEach'](_0x20e86d=>_0x20e86d[_0x64944f(0x1cc)]()),this[_0x64944f(0x269)]=[];}[_0x5cd2e1(0x2b5)](){const _0xdaf67c=_0x5cd2e1,_0x291bc7=[_0x4afac5['id']];this['disposeWithMe'](this[_0xdaf67c(0x1e8)]['onCommandExecuted'](_0x452c55=>{const _0x273ce6=_0xdaf67c;_0x291bc7[_0x273ce6(0x3f8)](_0x452c55['id'])&&_0x452c55[_0x273ce6(0x216)][_0x273ce6(0x1e5)]===this['_context']['unitId']&&this[_0x273ce6(0x1e2)]();}));}['_initResize'](){const _0x2dc27a=_0x5cd2e1;this[_0x2dc27a(0x2cf)](_0x3bbec4(this['_context']['engine'][_0x2dc27a(0x1fe)])['pipe'](_0x2cfe9d(_0x1fcdcc=>_0x1fcdcc[_0x2dc27a(0x2c6)]===_0x5dc9aa[_0x2dc27a(0x3ca)]),_0x46253a(0x10))[_0x2dc27a(0x34a)](()=>{const _0x1550e2=_0x2dc27a;this[_0x1550e2(0x1e2)]();}));}};Fe=Qi([ie(0x1,_0xf4d66f(_0x6561bc)),ie(0x2,_0xf4d66f(H)),ie(0x3,_0x33726a),ie(0x4,_0xf4d66f(_0x2ad83a))],Fe);const qi=0x1,en=1.5;class tn extends _0x4b9cbe{constructor(_0x150a6e,_0x3d5762){const _0x1b8f8b=_0x5cd2e1;super(_0x150a6e,_0x3d5762),_(this,'_color'),_(this,_0x1b8f8b(0x203),!0x1),_(this,_0x1b8f8b(0x363)),_(this,_0x1b8f8b(0x360),''),_(this,_0x1b8f8b(0x26c),_0x1b8f8b(0x393)),_(this,_0x1b8f8b(0x1bf)),(_0x3d5762&&this[_0x1b8f8b(0x21c)](_0x3d5762),this[_0x1b8f8b(0x22b)][_0x1b8f8b(0x390)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1b8f8b(0x1e1)][_0x1b8f8b(0x390)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5cd2e1(0x21c)](_0x2e3e2c){const _0x1841c7=_0x5cd2e1;var _0x570878,_0x55b4fa,_0x19a293,_0x3a3b09,_0x46526c,_0x5ebe2c;this['_color']=(_0x570878=_0x2e3e2c[_0x1841c7(0x24a)])!=null?_0x570878:this[_0x1841c7(0x388)],this['_hovered']=(_0x55b4fa=_0x2e3e2c[_0x1841c7(0x28c)])!=null?_0x55b4fa:this[_0x1841c7(0x203)],this[_0x1841c7(0x363)]=(_0x19a293=_0x2e3e2c[_0x1841c7(0x391)])!=null?_0x19a293:this['_range'],this['_name']=(_0x3a3b09=_0x2e3e2c['name'])!=null?_0x3a3b09:this['_name'],this[_0x1841c7(0x26c)]=(_0x46526c=_0x2e3e2c[_0x1841c7(0x2c5)])!=null?_0x46526c:this['_labelPosition'],this[_0x1841c7(0x1bf)]=(_0x5ebe2c=_0x2e3e2c['backgroundColor'])!=null?_0x5ebe2c:this[_0x1841c7(0x1bf)],this[_0x1841c7(0x38e)]({'width':_0x2e3e2c[_0x1841c7(0x218)],'height':_0x2e3e2c[_0x1841c7(0x1ec)]});}[_0x5cd2e1(0x2b3)](_0x45ef9b){const _0x5cd65c=_0x5cd2e1,{row:_0x50d527,column:_0x26c1da}=_0x45ef9b;if(_0x50d527>=this[_0x5cd65c(0x363)][_0x5cd65c(0x2ab)]&&_0x50d527<=this[_0x5cd65c(0x363)][_0x5cd65c(0x399)]&&_0x26c1da>=this[_0x5cd65c(0x363)][_0x5cd65c(0x255)]&&_0x26c1da<=this['_range']['endColumn']){this[_0x5cd65c(0x21c)]({'hovered':!0x0});return;}this[_0x5cd65c(0x21c)]({'hovered':!0x1});}[_0x5cd2e1(0x378)](_0x5367a2){return!0x1;}[_0x5cd2e1(0x280)](_0xc337e3){const _0x1cc62f=_0x5cd2e1;_0x2d1bf5[_0x1cc62f(0x356)](_0xc337e3,{'width':this[_0x1cc62f(0x218)],'height':this[_0x1cc62f(0x1ec)],'strokeWidth':en,'stroke':this[_0x1cc62f(0x388)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0xc337e3['save'](),_0xc337e3[_0x1cc62f(0x1c2)](0x1,0x0,0x0,0x1,this[_0x1cc62f(0x218)],this[_0x1cc62f(0x26c)]===_0x1cc62f(0x3e8)?0x0:-Q),ve[_0x1cc62f(0x356)](_0xc337e3,{'text':this[_0x1cc62f(0x360)],'color':this['_color']}),_0xc337e3['restore']());}}var sn=Object[_0x5cd2e1(0x2c3)],nn=(_0x17fcb0,_0x28db64,_0x551dbc,_0x432144)=>{const _0x45bec9=_0x5cd2e1;for(var _0x11b00d=_0x432144>0x1?void 0x0:_0x432144?sn(_0x28db64,_0x551dbc):_0x28db64,_0x263e67=_0x17fcb0[_0x45bec9(0x3ed)]-0x1,_0x4bb66d;_0x263e67>=0x0;_0x263e67--)(_0x4bb66d=_0x17fcb0[_0x263e67])&&(_0x11b00d=_0x4bb66d(_0x11b00d)||_0x11b00d);return _0x11b00d;},be=(_0x2f9f8f,_0x386a1e)=>(_0x3d8000,_0x1fd9a6)=>_0x386a1e(_0x3d8000,_0x1fd9a6,_0x2f9f8f);const rn=0x1389;let ke=class extends _0xb8a4ef{constructor(_0x247fc9,_0x4d5485,_0x44909d,_0x3d62f2){const _0x1391f8=_0x5cd2e1;super(),_(this,_0x1391f8(0x35f),new Set()),_(this,_0x1391f8(0x333),null),(this['_context']=_0x247fc9,this[_0x1391f8(0x263)]=_0x4d5485,this[_0x1391f8(0x407)]=_0x44909d,this[_0x1391f8(0x292)]=_0x3d62f2,this[_0x1391f8(0x396)]());}[_0x5cd2e1(0x396)](){const _0x517395=_0x5cd2e1;this[_0x517395(0x263)][_0x517395(0x3b0)][_0x517395(0x26f)](_0x359cc7(this[_0x517395(0x1fb)]),_0x3a6a71(_0x431322=>{const _0x1c5298=_0x517395;if(_0x431322){const _0xe72000=_0x431322['sheetId'];return _0x29b637(this[_0x1c5298(0x407)][_0x1c5298(0x273)](this[_0x1c5298(0x334)][_0x1c5298(0x1e5)]),this[_0x1c5298(0x292)][_0x1c5298(0x3bf)])[_0x1c5298(0x26f)](_0x29f709(([_0x38155e,_0x314983])=>{const _0x47d043=_0x1c5298,_0x5bbabf=new Map();return _0x38155e[_0x47d043(0x258)]((_0x1386ea,_0x56cfb1)=>{const _0x2bb645=_0x47d043;if(_0x1386ea[_0x2bb645(0x231)]===_0xe72000){const _0x392e30={..._0x1386ea};_0x392e30[_0x2bb645(0x24a)]=this['_themeService'][_0x2bb645(0x325)](_0x1386ea[_0x2bb645(0x24a)]),_0x5bbabf[_0x2bb645(0x322)](_0x56cfb1,_0x392e30);}}),{'skeleton':_0x431322,'cursors':_0x5bbabf};}));}return _0x529786({'skeleton':null,'cursors':new Map()});}))[_0x517395(0x34a)](({skeleton:_0x3be574,cursors:_0x391e30})=>{const _0x3196bb=_0x517395;this[_0x3196bb(0x2fe)](),_0x3be574&&this['_updateCollabCursors'](_0x3be574,_0x391e30);}),this['_sheetSkeletonManagerService'][_0x517395(0x3b0)]['subscribe'](_0x36ca71=>{const _0x277c0d=_0x517395;if(_0x36ca71==null)return;const {skeleton:_0x4a282b}=_0x36ca71,{scene:_0x1b882c}=this['_context'];_0x1b882c[_0x277c0d(0x3fd)]['subscribeEvent'](_0x55cfda(_0x4325b4=>{const _0x5f0336=_0x277c0d;var _0x10846e,_0x5df330;const {offsetX:_0x4b1f19,offsetY:_0x289b21}=_0x4325b4,{x:_0x59d87a,y:_0x291121}=_0x1b882c[_0x5f0336(0x265)](_0x2915cf['FromArray']([_0x4b1f19,_0x289b21])),{scaleX:_0x53c0de,scaleY:_0x5a3dee}=_0x1b882c[_0x5f0336(0x30d)](),_0x38b89d=_0x1b882c[_0x5f0336(0x25c)](_0x4fea51['VIEW_MAIN']),_0x36741b=_0x1b882c[_0x5f0336(0x1f3)](_0x2915cf['FromArray']([_0x59d87a,_0x291121]),_0x38b89d),_0x46760f=_0x4a282b[_0x5f0336(0x1d4)](_0x4b1f19,_0x289b21,_0x53c0de,_0x5a3dee,_0x36741b);((_0x10846e=this[_0x5f0336(0x333)])==null?void 0x0:_0x10846e[_0x5f0336(0x339)])===_0x46760f[_0x5f0336(0x339)]&&((_0x5df330=this[_0x5f0336(0x333)])==null?void 0x0:_0x5df330[_0x5f0336(0x362)])===_0x46760f[_0x5f0336(0x362)]||this[_0x5f0336(0x35f)][_0x5f0336(0x258)](_0x5e1390=>{const _0x56123c=_0x5f0336;_0x5e1390[_0x56123c(0x2b3)](_0x46760f);});},0x64));});}[_0x5cd2e1(0x271)](_0x1df996,_0x28e120){const _0xec9c67=_0x5cd2e1;var _0x106e48;const _0x58516f=(_0x106e48=this[_0xec9c67(0x263)][_0xec9c67(0x349)]())==null?void 0x0:_0x106e48['skeleton'];if(!_0x58516f)return;const _0x2d96b4=this['_getSheetObject']();if(!_0x2d96b4)return;this[_0xec9c67(0x35f)][_0xec9c67(0x258)](_0x29409b=>{const _0x48b86b=_0xec9c67;_0x29409b[_0x48b86b(0x1d5)]();});const {scene:_0x4e52c1}=_0x2d96b4,_0x5ca33e=on(Array[_0xec9c67(0x3bd)](_0x28e120[_0xec9c67(0x37b)]()))['map'](_0x581429=>{const _0x2a07bf=_0xec9c67,{color:_0x138b0e,range:_0x2c0efd,name:_0x428c72,selection:_0x5ccc8d,sheetID:_0x4c61df}=_0x581429,{startColumn:_0x49b1d9,startRow:_0x2790d0,endColumn:_0xa693c8,endRow:_0x18314c}=_0x2c0efd,_0x3237fb=_0x2c9d54(_0x2790d0,_0x49b1d9,_0x4e52c1,_0x58516f),_0x4dbdd2=_0x2c9d54(_0x18314c,_0xa693c8,_0x4e52c1,_0x58516f),{columnHeaderHeightAndMarginTop:_0x3a5344}=_0x58516f,{startX:_0x359ff3,startY:_0x399d67}=_0x3237fb,{endX:_0xeb506f,endY:_0x45d581}=_0x4dbdd2,_0x2b1c7e=_0xeb506f-_0x359ff3,_0x699614=_0x45d581-_0x399d67,_0xc3a9c9={'labelPosition':_0x399d67-_0x3a5344>=Q?_0x2a07bf(0x393):'bottom','sheetID':_0x4c61df,'range':_0x2c0efd,'color':_0x138b0e,'name':_0x428c72,'selection':_0x5ccc8d,'left':_0x359ff3,'top':_0x399d67,'width':_0x2b1c7e,'height':_0x699614,'evented':!0x1,'zIndex':rn};return new tn(_0x428c72,_0xc3a9c9);});_0x4e52c1['addObjects'](_0x5ca33e,qi),this[_0xec9c67(0x35f)]=new Set(_0x5ca33e);}['_removeCollabCursors'](){const _0x151dd0=_0x5cd2e1;var _0x20e51c;(_0x20e51c=this[_0x151dd0(0x35f)])==null||_0x20e51c[_0x151dd0(0x258)](_0x2caa64=>_0x2caa64['dispose']());}[_0x5cd2e1(0x21b)](){const _0x11ca70=_0x5cd2e1;return _0x1f3a80(this[_0x11ca70(0x334)][_0x11ca70(0x2ff)],this['_context']);}};ke=nn([be(0x1,_0xf4d66f(_0x21020f)),be(0x2,_0xf4d66f(H)),be(0x3,_0xf4d66f(_0x2ad83a))],ke);function on(_0xdf9147){const _0x574423=_0x5cd2e1,_0x1cf469=new Map();return _0xdf9147[_0x574423(0x258)](_0x3a3ed6=>{const _0x507c5a=_0x574423;if(_0x1cf469[_0x507c5a(0x217)](_0x3a3ed6[_0x507c5a(0x374)])){const _0x411ba1=_0x1cf469[_0x507c5a(0x2b6)](_0x3a3ed6[_0x507c5a(0x374)]);_0x411ba1[_0x507c5a(0x3b6)]+=',\x20'+_0x3a3ed6['name'];}else _0x1cf469[_0x507c5a(0x322)](_0x3a3ed6[_0x507c5a(0x374)],_0x3a3ed6);}),Array[_0x574423(0x3bd)](_0x1cf469['values']());}var an=Object[_0x5cd2e1(0x2c3)],cn=(_0x53eb3c,_0x524dbe,_0x5ea3dd,_0x32b387)=>{for(var _0x5d3eaa=_0x32b387>0x1?void 0x0:_0x32b387?an(_0x524dbe,_0x5ea3dd):_0x524dbe,_0xf3e073=_0x53eb3c['length']-0x1,_0x404346;_0xf3e073>=0x0;_0xf3e073--)(_0x404346=_0x53eb3c[_0xf3e073])&&(_0x5d3eaa=_0x404346(_0x5d3eaa)||_0x5d3eaa);return _0x5d3eaa;},F=(_0x1877b0,_0x100e8b)=>(_0xc9552e,_0x24109d)=>_0x100e8b(_0xc9552e,_0x24109d,_0x1877b0);let _e=class extends _0x570abd{constructor(_0x29255e,_0xbbac12,_0x2bbb2b,_0x3d5472,_0x1a6219,_0xfc22e5){const _0x2f4186=_0x5cd2e1;super(),this[_0x2f4186(0x2e1)]=_0x29255e,this[_0x2f4186(0x37e)]=_0xbbac12,this['_collaborationUIEventService']=_0x2bbb2b,this['_messageService']=_0x3d5472,this[_0x2f4186(0x208)]=_0x1a6219,this[_0x2f4186(0x2df)]=_0xfc22e5,this['_setupBeforeClosingHandler'](),this[_0x2f4186(0x3f4)]();}[_0x5cd2e1(0x2e0)](){const _0x2dadf8=_0x5cd2e1;this[_0x2dadf8(0x2cf)](this[_0x2dadf8(0x2e1)]['registerBeforeClose'](()=>{const _0x70cf65=_0x2dadf8;if(this['_localCacheService'][_0x70cf65(0x1b9)][_0x70cf65(0x247)])return this[_0x70cf65(0x2df)]['t'](_0x70cf65(0x370));}));}[_0x5cd2e1(0x3f4)](){const _0x5884cd=_0x5cd2e1;this[_0x5884cd(0x2cf)](this['_collaborationUIEventService'][_0x5884cd(0x26b)][_0x5884cd(0x34a)](_0x17703a=>{const _0x45e648=_0x5884cd;_0x17703a['id']===_0x8498da['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x30c)],'content':this[_0x45e648(0x2df)]['t'](_0x45e648(0x3f5))}),_0x17703a['id']===_0x8498da[_0x45e648(0x2f3)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x30c)],'content':this[_0x45e648(0x2df)]['t']('collaboration.closeRoom')}),_0x17703a['id']===_0x8498da['PERMISSION_DENIED']&&this['_notificationService'][_0x45e648(0x312)]({'title':this[_0x45e648(0x2df)]['t']('permission.title'),'content':this[_0x45e648(0x2df)]['t'](_0x45e648(0x2c7)),'type':'error','duration':0x0}),_0x17703a['id']===_0x8498da[_0x45e648(0x33a)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x3c6)],'content':this[_0x45e648(0x2df)]['t']('collaboration.closeRoom')+'('+_0x17703a[_0x45e648(0x1fd)]+')'}),_0x17703a['id']===_0x8498da[_0x45e648(0x2c0)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x30c)],'content':this[_0x45e648(0x2df)]['t'](_0x17703a['data']||'')}),_0x17703a['id']===_0x8498da[_0x45e648(0x1d7)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4['Warning'],'content':this[_0x45e648(0x2df)]['t'](_0x45e648(0x3de))}),_0x17703a['id']===_0x8498da[_0x45e648(0x1db)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x3c6)],'content':this[_0x45e648(0x2df)]['t']('session.connection-failed')}),_0x17703a['id']===_0x8498da[_0x45e648(0x386)]&&this[_0x45e648(0x305)][_0x45e648(0x312)]({'type':_0x50fba4[_0x45e648(0x3c6)],'content':this[_0x45e648(0x2df)]['t'](_0x45e648(0x351))});}));}};_e=cn([F(0x0,_0x11252d),F(0x1,_0x2f092b),F(0x2,_0xf4d66f(_0x1f2235)),F(0x3,_0x347467),F(0x4,_0x55bab0),F(0x5,_0xf4d66f(_0x247dfc))],_e);var _n=Object[_0x5cd2e1(0x2c3)],ln=(_0x5e23a4,_0x4e296e,_0x3d02ed,_0x5ba3e1)=>{const _0x372f75=_0x5cd2e1;for(var _0x34f67a=_0x5ba3e1>0x1?void 0x0:_0x5ba3e1?_n(_0x4e296e,_0x3d02ed):_0x4e296e,_0xe4dfb5=_0x5e23a4[_0x372f75(0x3ed)]-0x1,_0x275216;_0xe4dfb5>=0x0;_0xe4dfb5--)(_0x275216=_0x5e23a4[_0xe4dfb5])&&(_0x34f67a=_0x275216(_0x34f67a)||_0x34f67a);return _0x34f67a;},ne=(_0x4be880,_0x45e680)=>(_0x33ae6c,_0x28c1cc)=>_0x45e680(_0x33ae6c,_0x28c1cc,_0x4be880);let le=class extends _0x570abd{constructor(_0x2a58e0,_0x28d4b2,_0x1c95f4,_0x45dbb7){const _0x52a3f7=_0x5cd2e1;super(),_(this,_0x52a3f7(0x2c8)),(this[_0x52a3f7(0x22c)]=_0x2a58e0,this['_httpService']=_0x28d4b2,this['_logService']=_0x1c95f4,this[_0x52a3f7(0x3fc)]=_0x45dbb7,this[_0x52a3f7(0x396)]());}[_0x5cd2e1(0x396)](){const _0x5a9876=_0x5cd2e1;this['_initWindowErrorListener'](),this[_0x5a9876(0x25a)](),this[_0x5a9876(0x332)](),this['_initUserListener']();}[_0x5cd2e1(0x2aa)](){const _0x1cc02f=_0x5cd2e1;this[_0x1cc02f(0x2cf)](this['_collaborationSessionService']['socket$'][_0x1cc02f(0x34a)](_0xea398=>{const _0x2bccea=_0x1cc02f;this[_0x2bccea(0x2c8)]=_0xea398==null?void 0x0:_0xea398['memberID'];}));}[_0x5cd2e1(0x2e3)](){const _0x542d98=_0x5cd2e1,_0x3304b8=_0x490787=>{const _0x555ca7=_0xc1c7;var _0x250e23;this[_0x555ca7(0x268)](_0x555ca7(0x35b),_0x555ca7(0x1c9)+_0x490787['message']+_0x555ca7(0x379)+_0x490787[_0x555ca7(0x2a8)]+':'+_0x490787[_0x555ca7(0x212)]+':'+_0x490787['colno']+'\x0a'+(((_0x250e23=_0x490787[_0x555ca7(0x35b)])==null?void 0x0:_0x250e23[_0x555ca7(0x299)])||''));};window[_0x542d98(0x1d6)](_0x542d98(0x35b),_0x3304b8),this[_0x542d98(0x2cf)](()=>{const _0x41c97c=_0x542d98;window[_0x41c97c(0x23b)]('error',_0x3304b8);});}['_initUnhandledRejectionListener'](){const _0x3c565a=_0x5cd2e1,_0x2dfb19=_0x65b45d=>{const _0x1e275f=_0xc1c7;this[_0x1e275f(0x268)](_0x1e275f(0x35b),_0x1e275f(0x3cc)+_0x65b45d[_0x1e275f(0x3be)]);};window[_0x3c565a(0x1d6)](_0x3c565a(0x3ab),_0x2dfb19),this[_0x3c565a(0x2cf)](()=>{const _0x531d2d=_0x3c565a;window[_0x531d2d(0x23b)]('unhandledrejection',_0x2dfb19);});}[_0x5cd2e1(0x332)](){const _0x38b6f6=_0x5cd2e1,_0x2cc377=this[_0x38b6f6(0x315)][_0x38b6f6(0x35b)][_0x38b6f6(0x28f)](this['_logService']);this[_0x38b6f6(0x315)][_0x38b6f6(0x35b)]=(..._0x34ac6f)=>{const _0xf83295=_0x38b6f6,_0xe10f5a=_0x34ac6f[_0xf83295(0x29a)](_0x34b97b=>_0x34b97b instanceof Error?_0x34b97b[_0xf83295(0x3f1)]+'\x0a'+_0x34b97b[_0xf83295(0x299)]:String(_0x34b97b))[_0xf83295(0x381)]('\x20');this['_uploadLog']('error',_0xf83295(0x2b7)+_0xe10f5a),_0x2cc377(..._0x34ac6f);},this[_0x38b6f6(0x2cf)](()=>{const _0x283f34=_0x38b6f6;this[_0x283f34(0x315)][_0x283f34(0x35b)]=_0x2cc377;});}[_0x5cd2e1(0x268)](_0x1edb97,_0x528798){const _0x5d7741=_0x5cd2e1;try{const _0x5714c1={'userId':this[_0x5d7741(0x2c8)],'logLabel':_0x1edb97,'content':_0x528798};this['_httpService'][_0x5d7741(0x2f7)](_0x5d7741(0x213),{'body':_0x5714c1})['catch'](()=>{});}catch{}}};le=ln([ne(0x0,_0xf4d66f(_0xae1fe5)),ne(0x1,_0xf4d66f(_0x43b379)),ne(0x2,_0x3343ad),ne(0x3,_0xf4d66f(_0x5c8b4c))],le);const hn=_0x5cd2e1(0x29e),_t={};var un=Object[_0x5cd2e1(0x2c3)],dn=(_0x4f4f28,_0x446a58,_0x4a2655,_0x4d0b19)=>{const _0x3983bb=_0x5cd2e1;for(var _0x2e10b2=_0x4d0b19>0x1?void 0x0:_0x4d0b19?un(_0x446a58,_0x4a2655):_0x446a58,_0x2e28d6=_0x4f4f28[_0x3983bb(0x3ed)]-0x1,_0x3062e1;_0x2e28d6>=0x0;_0x2e28d6--)(_0x3062e1=_0x4f4f28[_0x2e28d6])&&(_0x2e10b2=_0x3062e1(_0x2e10b2)||_0x2e10b2);return _0x2e10b2;},lt=(_0x59bf24,_0x55face)=>(_0x553eba,_0x1963b9)=>_0x55face(_0x553eba,_0x1963b9,_0x59bf24);function _0xc1c7(_0x262af3,_0xffaf2e){_0x262af3=_0x262af3-0x1b6;const _0x14020b=_0x1402();let _0xc1c735=_0x14020b[_0x262af3];return _0xc1c735;}let he=class{constructor(_0x51702e,_0x3e1f73){const _0x53e380=_0x5cd2e1;this[_0x53e380(0x1df)]=_0x51702e,this['_renderManagerService']=_0x3e1f73;}['transformIMECache'](_0x15adcd){const _0x5ca79b=_0x5cd2e1;this[_0x5ca79b(0x296)](_0x15adcd),this['_transformPreviousActiveRange'](_0x15adcd);}['transformRemoteChangeset'](_0x58d15d){const _0x83741b=_0x5cd2e1,{unitID:_0x53b790}=_0x58d15d,_0x35a5a6=this[_0x83741b(0x227)][_0x83741b(0x32a)](_0x53b790)[_0x83741b(0x238)](_0x2ca4d7),{redoCache:_0x114de8}=_0x35a5a6[_0x83741b(0x2e5)]();if(_0x114de8[_0x83741b(0x3ed)]===0x0)return _0x58d15d;let _0x128096=_0x106280[_0x83741b(0x2a0)](_0x58d15d[_0x83741b(0x24c)][0x0]);for(let _0x4a651f=0x0;_0x4a651f<_0x114de8[_0x83741b(0x3ed)];_0x4a651f++){const _0x3afd2f={'id':_0x83741b(0x336),'params':{..._0x114de8[_0x4a651f]}},_0x1fd75c=this[_0x83741b(0x1df)]['transformMutation'](_0x128096,_0x3afd2f,!0x1);if(_0x57e874(_0x1fd75c))throw _0x1fd75c[_0x83741b(0x35b)];_0x128096=_0x1fd75c[_0x83741b(0x293)];}return{..._0x106280['deepClone'](_0x58d15d),'mutations':[_0x128096]};}[_0x5cd2e1(0x296)](_0x19a43c){const _0x2fb16a=_0x5cd2e1,{unitID:_0x420659}=_0x19a43c,_0x5b0474=this[_0x2fb16a(0x227)]['getRenderById'](_0x420659)['with'](_0x2ca4d7),{undoCache:_0x3a8062,redoCache:_0x217e2e}=_0x5b0474[_0x2fb16a(0x2e5)]();if(_0x3a8062[_0x2fb16a(0x3ed)]===0x0||_0x217e2e[_0x2fb16a(0x3ed)]===0x0)return;const _0x29f6d0=[],_0x215dcb=[];let _0x5393fe=_0x106280['deepClone'](_0x19a43c[_0x2fb16a(0x24c)][0x0]),_0x2206c3=_0x106280[_0x2fb16a(0x2a0)](_0x19a43c[_0x2fb16a(0x24c)][0x0]);for(let _0x74e904=_0x3a8062[_0x2fb16a(0x3ed)]-0x1;_0x74e904>=0x0;_0x74e904--){const _0x36adfa={'id':_0x2fb16a(0x336),'params':{..._0x3a8062[_0x74e904]}},_0xf9127d={'id':'doc.mutation.rich-text-editing','params':{..._0x217e2e[_0x74e904]}},_0xd342cc=this['_transformService'][_0x2fb16a(0x2fc)](_0x5393fe,_0x36adfa,!0x1),_0x54c453=this[_0x2fb16a(0x1df)][_0x2fb16a(0x2fc)](_0x2206c3,_0xf9127d,!0x1);if(_0x57e874(_0xd342cc))throw _0xd342cc[_0x2fb16a(0x35b)];if(_0x57e874(_0x54c453))throw _0x54c453['error'];_0x29f6d0[_0x2fb16a(0x3b4)](_0xd342cc[_0x2fb16a(0x326)][_0x2fb16a(0x216)]),_0x215dcb[_0x2fb16a(0x3b4)](_0x54c453[_0x2fb16a(0x326)][_0x2fb16a(0x216)]),_0x5393fe=_0xd342cc['m1Prime'],_0x2206c3=_0x54c453[_0x2fb16a(0x293)];}_0x5b0474[_0x2fb16a(0x2e6)]({'undoCache':_0x29f6d0,'redoCache':_0x215dcb});}[_0x5cd2e1(0x291)](_0x4b2684){const _0x309863=_0x5cd2e1,{unitID:_0x502988}=_0x4b2684,_0x214f65=this[_0x309863(0x227)]['getRenderById'](_0x502988)[_0x309863(0x238)](_0x2ca4d7),_0x5b6dc9=_0x214f65[_0x309863(0x3d7)]();if(_0x5b6dc9==null)return;const _0x2cf818=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b2684[_0x309863(0x287)],'actions':null,'textRanges':[_0x5b6dc9]}}],_0x3ea123=this[_0x309863(0x1df)][_0x309863(0x1be)](_0x4b2684,_0x2cf818);if(!_0x3af7b8(_0x3ea123))throw _0x3ea123['error'];const _0x18117c=_0x3ea123[_0x309863(0x326)][0x0][_0x309863(0x216)]['textRanges'];Array['isArray'](_0x18117c)&&_0x18117c['length']&&_0x214f65[_0x309863(0x3c7)](_0x18117c[0x0]);}};he=dn([lt(0x0,_0x4717ac),lt(0x1,_0x1313bc)],he);var Sn=Object[_0x5cd2e1(0x2c3)],In=(_0x115134,_0x42e396,_0x38a997,_0x36d1ed)=>{for(var _0x46e95e=_0x36d1ed>0x1?void 0x0:_0x36d1ed?Sn(_0x42e396,_0x38a997):_0x42e396,_0x52768e=_0x115134['length']-0x1,_0x267fcf;_0x52768e>=0x0;_0x52768e--)(_0x267fcf=_0x115134[_0x52768e])&&(_0x46e95e=_0x267fcf(_0x46e95e)||_0x46e95e);return _0x46e95e;},Le=(_0x1cabf0,_0x13ac2a)=>(_0x22c007,_0x3c7d0e)=>_0x13ac2a(_0x22c007,_0x3c7d0e,_0x1cabf0);let ue=class{constructor(_0x28d228,_0x5e1a07,_0x3947e0){const _0x2732f3=_0x5cd2e1;this['_injector']=_0x28d228,this[_0x2732f3(0x1df)]=_0x5e1a07,this['_docStateChangeManagerService']=_0x3947e0;}['transformStateCache'](_0xba80c9){const _0x4d782e=_0x5cd2e1;this[_0x4d782e(0x27d)](_0xba80c9);}[_0x5cd2e1(0x24f)](_0x1c3633){const _0xe46d15=_0x5cd2e1,{unitID:_0x22acfb}=_0x1c3633,{collaboration:_0x4b75a6}=this[_0xe46d15(0x346)][_0xe46d15(0x371)](_0x22acfb);if(_0x4b75a6[_0xe46d15(0x3ed)]===0x0)return _0x1c3633;let _0x57deac=_0x106280[_0xe46d15(0x2a0)](_0x1c3633[_0xe46d15(0x24c)][0x0]);for(let _0xa81693=0x0;_0xa81693<_0x4b75a6['length'];_0xa81693++){const _0x596f9a={'id':_0xe46d15(0x336),'params':{'unitId':_0x4b75a6[_0xa81693][_0xe46d15(0x1e5)],..._0x4b75a6[_0xa81693][_0xe46d15(0x225)]}},_0x1929d0=this[_0xe46d15(0x1df)][_0xe46d15(0x2fc)](_0x57deac,_0x596f9a,!0x1);if(_0x57e874(_0x1929d0))throw _0x1929d0[_0xe46d15(0x35b)];_0x57deac=_0x1929d0[_0xe46d15(0x293)];}return{..._0x106280[_0xe46d15(0x2a0)](_0x1c3633),'mutations':[_0x57deac]};}[_0x5cd2e1(0x27d)](_0x55333a){const _0x15f5e1=_0x5cd2e1,{unitID:_0x532243}=_0x55333a,{history:_0x29623b,collaboration:_0x28bda2}=this[_0x15f5e1(0x346)][_0x15f5e1(0x371)](_0x532243);if(_0x29623b['length']===0x0&&_0x28bda2[_0x15f5e1(0x3ed)]===0x0)return;const _0x15a043=[],_0x53ae42=[];let _0x2f6f4d=_0x106280[_0x15f5e1(0x2a0)](_0x55333a[_0x15f5e1(0x24c)][0x0]),_0x312f70=_0x106280[_0x15f5e1(0x2a0)](_0x55333a[_0x15f5e1(0x24c)][0x0]);for(let _0xd821d=_0x29623b[_0x15f5e1(0x3ed)]-0x1;_0xd821d>=0x0;_0xd821d--){const _0x2a42b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29623b[_0xd821d][_0x15f5e1(0x1e5)],..._0x29623b[_0xd821d][_0x15f5e1(0x358)]}},_0x46fa19={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29623b[_0xd821d]['unitId'],..._0x29623b[_0xd821d]['redoState']}},_0x4ca3d3=this[_0x15f5e1(0x1df)][_0x15f5e1(0x2fc)](_0x2f6f4d,_0x2a42b9,!0x1),_0x3048bf=this[_0x15f5e1(0x1df)][_0x15f5e1(0x2fc)](_0x312f70,_0x46fa19,!0x1);if(_0x57e874(_0x4ca3d3))throw _0x4ca3d3['error'];if(_0x57e874(_0x3048bf))throw _0x3048bf[_0x15f5e1(0x35b)];_0x15a043[_0x15f5e1(0x3b4)]({..._0x29623b[_0xd821d],'undoState':_0x4ca3d3[_0x15f5e1(0x326)][_0x15f5e1(0x216)],'redoState':_0x3048bf['m2Prime'][_0x15f5e1(0x216)]}),_0x2f6f4d=_0x4ca3d3['m1Prime'],_0x312f70=_0x3048bf[_0x15f5e1(0x293)];}_0x2f6f4d=_0x106280['deepClone'](_0x55333a[_0x15f5e1(0x24c)][0x0]),_0x312f70=_0x106280[_0x15f5e1(0x2a0)](_0x55333a[_0x15f5e1(0x24c)][0x0]);for(let _0x3a1b31=_0x28bda2['length']-0x1;_0x3a1b31>=0x0;_0x3a1b31--){const _0x42a0fe={'id':_0x15f5e1(0x336),'params':{'unitId':_0x28bda2[_0x3a1b31][_0x15f5e1(0x1e5)],..._0x28bda2[_0x3a1b31][_0x15f5e1(0x358)]}},_0x46a2d3={'id':_0x15f5e1(0x336),'params':{'unitId':_0x28bda2[_0x3a1b31][_0x15f5e1(0x1e5)],..._0x28bda2[_0x3a1b31]['redoState']}},_0x143cbf=this['_transformService'][_0x15f5e1(0x2fc)](_0x2f6f4d,_0x42a0fe,!0x1),_0x48fc9c=this[_0x15f5e1(0x1df)][_0x15f5e1(0x2fc)](_0x312f70,_0x46a2d3,!0x1);if(_0x57e874(_0x143cbf))throw _0x143cbf[_0x15f5e1(0x35b)];if(_0x57e874(_0x48fc9c))throw _0x48fc9c[_0x15f5e1(0x35b)];_0x53ae42[_0x15f5e1(0x3b4)]({..._0x28bda2[_0x3a1b31],'undoState':_0x143cbf['m2Prime']['params'],'redoState':_0x48fc9c['m2Prime'][_0x15f5e1(0x216)]}),_0x2f6f4d=_0x143cbf[_0x15f5e1(0x293)],_0x312f70=_0x48fc9c[_0x15f5e1(0x293)];}this['_docStateChangeManagerService']['setStateCache'](_0x532243,{'history':_0x15a043,'collaboration':_0x53ae42});}};ue=In([Le(0x0,_0xf4d66f(_0xae1fe5)),Le(0x1,_0x4717ac),Le(0x2,_0xf4d66f(_0x581053))],ue);var mn=Object[_0x5cd2e1(0x2c3)],fn=(_0x3b14d9,_0x55524,_0x5c45fd,_0x5f418e)=>{const _0x3d46e9=_0x5cd2e1;for(var _0x419ef0=_0x5f418e>0x1?void 0x0:_0x5f418e?mn(_0x55524,_0x5c45fd):_0x55524,_0x4a0574=_0x3b14d9[_0x3d46e9(0x3ed)]-0x1,_0x4b836f;_0x4a0574>=0x0;_0x4a0574--)(_0x4b836f=_0x3b14d9[_0x4a0574])&&(_0x419ef0=_0x4b836f(_0x419ef0)||_0x419ef0);return _0x419ef0;},ht=(_0xd38ff5,_0x63949d)=>(_0x202e2b,_0x417cbb)=>_0x63949d(_0x202e2b,_0x417cbb,_0xd38ff5);let de=class{constructor(_0x396a1a,_0x36e22a){const _0x3af791=_0x5cd2e1;this[_0x3af791(0x22c)]=_0x396a1a,this[_0x3af791(0x1df)]=_0x36e22a;}[_0x5cd2e1(0x394)](_0x4fe1cd){const _0x3a275b=_0x5cd2e1;var _0x3cb854;const _0x36d9cd=this[_0x3a275b(0x22c)][_0x3a275b(0x2b6)](_0x1f6f6a),_0x19c686=(_0x3cb854=_0x36d9cd[_0x3a275b(0x3ea)]())!=null?_0x3cb854:[];if(_0x19c686[_0x3a275b(0x3ed)]===0x0)return;const _0x37ebca=_0x4fe1cd['unitID'],_0x455517=[{'id':_0x3a275b(0x336),'params':{'unitId':_0x37ebca,'actions':null,'textRanges':_0x19c686}}],_0x22b523=this[_0x3a275b(0x1df)][_0x3a275b(0x1be)](_0x4fe1cd,_0x455517);if(!_0x3af7b8(_0x22b523))throw _0x22b523[_0x3a275b(0x35b)];const _0x31a310=_0x22b523[_0x3a275b(0x326)][0x0][_0x3a275b(0x216)][_0x3a275b(0x2a1)];Array['isArray'](_0x31a310)&&_0x31a310['length']&&_0x36d9cd['replaceDocRanges'](_0x31a310,{'unitId':_0x37ebca,'subUnitId':_0x37ebca},!0x1);}};de=fn([ht(0x0,_0xf4d66f(_0xae1fe5)),ht(0x1,_0x4717ac)],de);var gn=Object[_0x5cd2e1(0x2c3)],En=(_0x1a1754,_0x5ae0eb,_0x18433a,_0x579a9a)=>{const _0x31cd1c=_0x5cd2e1;for(var _0x10873a=_0x579a9a>0x1?void 0x0:_0x579a9a?gn(_0x5ae0eb,_0x18433a):_0x5ae0eb,_0x411152=_0x1a1754[_0x31cd1c(0x3ed)]-0x1,_0x3cc703;_0x411152>=0x0;_0x411152--)(_0x3cc703=_0x1a1754[_0x411152])&&(_0x10873a=_0x3cc703(_0x10873a)||_0x10873a);return _0x10873a;},U=(_0x39ee7b,_0x277d2f)=>(_0x5bdd2f,_0x4ec841)=>_0x277d2f(_0x5bdd2f,_0x4ec841,_0x39ee7b);let Se=class extends _0x570abd{constructor(_0x157282,_0x2ce67f,_0x534756,_0x23b707,_0x4d3511,_0x468955,_0x32894c,_0x50937a){const _0x28a4bf=_0x5cd2e1;super(),_(this,_0x28a4bf(0x2ef),new _0x59b9f6(_0x2eedc4[_0x28a4bf(0x1e0)])),(this[_0x28a4bf(0x346)]=_0x157282,this[_0x28a4bf(0x206)]=_0x2ce67f,this[_0x28a4bf(0x27a)]=_0x534756,this[_0x28a4bf(0x2b8)]=_0x23b707,this[_0x28a4bf(0x266)]=_0x4d3511,this['_docSyncEditingCollabCursorService']=_0x468955,this[_0x28a4bf(0x305)]=_0x32894c,this[_0x28a4bf(0x2df)]=_0x50937a,this[_0x28a4bf(0x3b5)]());}[_0x5cd2e1(0x3b5)](){const _0x15a1c7=_0x5cd2e1;this[_0x15a1c7(0x2cf)](this[_0x15a1c7(0x206)][_0x15a1c7(0x33d)]['subscribe'](_0x111657=>{const _0x59075f=_0x15a1c7,_0x32ec5b=this[_0x59075f(0x346)][_0x59075f(0x3a0)][_0x59075f(0x34a)](_0x19782c=>{const _0xeb8afe=_0x59075f;if(_0x19782c==null)return;const {unitId:_0x57bc43,redoState:_0x1746a0,commandId:_0xf2edc5}=_0x19782c;if(_0x57bc43!==_0x111657[_0xeb8afe(0x287)])return;const _0x550368={'id':_0xf2edc5,'type':_0x7f0e47[_0xeb8afe(0x2a2)],'params':{'unitId':_0x57bc43,'actions':_0x1746a0[_0xeb8afe(0x264)],'textRanges':null}};_0x111657[_0xeb8afe(0x320)](_0x550368);});if(_0x111657[_0x59075f(0x2cf)](_0x32ec5b),_0x111657 instanceof _0x19f78d){const _0x5ab865={'onTransformIME':_0x4432d3=>this[_0x59075f(0x27a)]['transformIMECache'](_0x4432d3),'onTransformState':_0x4087ad=>this[_0x59075f(0x2b8)][_0x59075f(0x36c)](_0x4087ad),'onTransformSelections':_0x5e3f39=>this[_0x59075f(0x266)][_0x59075f(0x394)](_0x5e3f39),'onSyncEditingCollabCursor':_0xb9d7d9=>this[_0x59075f(0x254)][_0x59075f(0x3ae)](_0xb9d7d9),'onTransformRemoteChangesetByIMECache':_0x5c39e0=>this[_0x59075f(0x27a)][_0x59075f(0x24f)](_0x5c39e0),'onTransformRemoteChangesetByStateCache':_0x28c3b0=>this[_0x59075f(0x2b8)][_0x59075f(0x24f)](_0x28c3b0)};_0x111657[_0x59075f(0x221)](_0x5ab865);}}));}};Se=En([U(0x0,_0xf4d66f(_0x581053)),U(0x1,_0xf4d66f(_0x653e72)),U(0x2,_0xf4d66f(he)),U(0x3,_0xf4d66f(ue)),U(0x4,_0xf4d66f(de)),U(0x5,_0xf4d66f(ze)),U(0x6,_0x347467),U(0x7,_0xf4d66f(_0x247dfc))],Se);var Z=(_0x4588d7=>(_0x4588d7[_0x4588d7[_0x5cd2e1(0x3bb)]=0x0]=_0x5cd2e1(0x3bb),_0x4588d7[_0x4588d7['OK']=0x1]='OK',_0x4588d7[_0x4588d7['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4588d7[_0x4588d7[_0x5cd2e1(0x20a)]=0x3]='PERMISSION_DENIED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x39f)]=0x4]='NOT_FOUND',_0x4588d7[_0x4588d7[_0x5cd2e1(0x2e4)]=0x5]=_0x5cd2e1(0x2e4),_0x4588d7[_0x4588d7[_0x5cd2e1(0x289)]=0x6]=_0x5cd2e1(0x289),_0x4588d7[_0x4588d7[_0x5cd2e1(0x24e)]=0x7]='INVALID_ARGUMENT',_0x4588d7[_0x4588d7[_0x5cd2e1(0x202)]=0x8]=_0x5cd2e1(0x202),_0x4588d7[_0x4588d7[_0x5cd2e1(0x302)]=0x9]=_0x5cd2e1(0x302),_0x4588d7[_0x4588d7['LOGIN_FAILED']=0xa]=_0x5cd2e1(0x286),_0x4588d7[_0x4588d7[_0x5cd2e1(0x26e)]=0xb]=_0x5cd2e1(0x26e),_0x4588d7[_0x4588d7[_0x5cd2e1(0x232)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x372)]=0xd]=_0x5cd2e1(0x372),_0x4588d7[_0x4588d7[_0x5cd2e1(0x355)]=0xe]=_0x5cd2e1(0x355),_0x4588d7[_0x4588d7['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x5cd2e1(0x1eb),_0x4588d7[_0x4588d7['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x5cd2e1(0x3f7),_0x4588d7[_0x4588d7['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5cd2e1(0x323),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2cd)]=0x65]=_0x5cd2e1(0x2cd),_0x4588d7[_0x4588d7['USER_NOT_FOUND']=0xc9]=_0x5cd2e1(0x26d),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3c3)]=0xca]='USER_IS_ANONYMOUS',_0x4588d7[_0x4588d7[_0x5cd2e1(0x303)]=0x1389]=_0x5cd2e1(0x303),_0x4588d7[_0x4588d7['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5cd2e1(0x2c9),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1d1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x3a6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4588d7[_0x4588d7['APPLY_REJECT']=0x1b59]=_0x5cd2e1(0x376),_0x4588d7[_0x4588d7[_0x5cd2e1(0x234)]=0x1b5a]=_0x5cd2e1(0x234),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2cc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4588d7[_0x4588d7[_0x5cd2e1(0x274)]=0x1b5c]=_0x5cd2e1(0x274),_0x4588d7[_0x4588d7[_0x5cd2e1(0x318)]=0x1b5d]=_0x5cd2e1(0x318),_0x4588d7[_0x4588d7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5cd2e1(0x404),_0x4588d7[_0x4588d7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x3d2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x2e7)]=0x232b]=_0x5cd2e1(0x2e7),_0x4588d7[_0x4588d7[_0x5cd2e1(0x39d)]=0x232c]=_0x5cd2e1(0x39d),_0x4588d7[_0x4588d7[_0x5cd2e1(0x252)]=0x232d]=_0x5cd2e1(0x252),_0x4588d7[_0x4588d7['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5cd2e1(0x3ba),_0x4588d7[_0x4588d7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4588d7[_0x4588d7[_0x5cd2e1(0x1f4)]=0x2713]=_0x5cd2e1(0x1f4),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2d1)]=0x2714]=_0x5cd2e1(0x2d1),_0x4588d7[_0x4588d7[_0x5cd2e1(0x214)]=0x271a]=_0x5cd2e1(0x214),_0x4588d7[_0x4588d7['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5cd2e1(0x2f8),_0x4588d7[_0x4588d7['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5cd2e1(0x20d),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3e9)]=0x271d]=_0x5cd2e1(0x3e9),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2a5)]=0x271e]=_0x5cd2e1(0x2a5),_0x4588d7[_0x4588d7['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5cd2e1(0x1fc),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3ec)]=0x2720]=_0x5cd2e1(0x3ec),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3e7)]=0x2af9]=_0x5cd2e1(0x3e7),_0x4588d7[_0x4588d7[_0x5cd2e1(0x204)]=0x2ee1]=_0x5cd2e1(0x204),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2f9)]=0x2ee2]=_0x5cd2e1(0x2f9),_0x4588d7[_0x4588d7['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5cd2e1(0x327),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1c6)]=0x2ee4]=_0x5cd2e1(0x1c6),_0x4588d7[_0x4588d7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5cd2e1(0x330),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3ee)]=0x32c9]=_0x5cd2e1(0x3ee),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1b6)]=0x32ca]=_0x5cd2e1(0x1b6),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1ca)]=0x32cb]=_0x5cd2e1(0x1ca),_0x4588d7[_0x4588d7[_0x5cd2e1(0x3c8)]=0x36b1]=_0x5cd2e1(0x3c8),_0x4588d7[_0x4588d7[_0x5cd2e1(0x241)]=0x36b2]=_0x5cd2e1(0x241),_0x4588d7[_0x4588d7['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5cd2e1(0x392),_0x4588d7[_0x4588d7['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4588d7[_0x4588d7[_0x5cd2e1(0x1de)]=0x36b5]=_0x5cd2e1(0x1de),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2d3)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4588d7[_0x4588d7[_0x5cd2e1(0x261)]=0x36b7]=_0x5cd2e1(0x261),_0x4588d7[_0x4588d7['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x5cd2e1(0x3b9),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2f0)]=0x3715]=_0x5cd2e1(0x2f0),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1e3)]=0x3716]=_0x5cd2e1(0x1e3),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2d4)]=0x3717]=_0x5cd2e1(0x2d4),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2f4)]=0x37dd]=_0x5cd2e1(0x2f4),_0x4588d7[_0x4588d7['REDEMPTION_INVALID_CODE']=0x3a99]=_0x5cd2e1(0x408),_0x4588d7[_0x4588d7['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x5cd2e1(0x1d3),_0x4588d7[_0x4588d7[_0x5cd2e1(0x1f9)]=0x3a9b]=_0x5cd2e1(0x1f9),_0x4588d7[_0x4588d7[_0x5cd2e1(0x2e8)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4588d7[_0x4588d7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4588d7[_0x4588d7[_0x5cd2e1(0x3b3)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4588d7[_0x4588d7['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x5cd2e1(0x275),_0x4588d7[_0x4588d7[_0x5cd2e1(0x235)]=0x3e81]=_0x5cd2e1(0x235),_0x4588d7[_0x4588d7['UNRECOGNIZED']=-0x1]=_0x5cd2e1(0x1ce),_0x4588d7))(Z||{});function vn(_0x86b825){const _0x100ac4=_0x5cd2e1;var _0x1b1dfd,_0x52a2d8;const _0x497bee=(_0x1b1dfd=_0x86b825[_0x100ac4(0x25b)])==null?void 0x0:_0x1b1dfd[_0x100ac4(0x1f2)],_0x46b5bd=((_0x52a2d8=_0x86b825[_0x100ac4(0x25b)])==null?void 0x0:_0x52a2d8['totalFormulasToCalculate'])||0x0;return _0x497bee===_0x2d2b6f[_0x100ac4(0x2eb)]&&_0x46b5bd>0x0;}function pn(_0x607beb){const _0x31da42=_0x5cd2e1;return _0x607beb[_0x31da42(0x31a)]===_0x534541['SUCCESS'];}var On=Object[_0x5cd2e1(0x2c3)],Tn=(_0x3b9dfd,_0x1a45b7,_0x34b15e,_0x2a829b)=>{const _0x5bff17=_0x5cd2e1;for(var _0x3054ef=_0x2a829b>0x1?void 0x0:_0x2a829b?On(_0x1a45b7,_0x34b15e):_0x1a45b7,_0x1e1729=_0x3b9dfd[_0x5bff17(0x3ed)]-0x1,_0xd8559a;_0x1e1729>=0x0;_0x1e1729--)(_0xd8559a=_0x3b9dfd[_0x1e1729])&&(_0x3054ef=_0xd8559a(_0x3054ef)||_0x3054ef);return _0x3054ef;},P=(_0x1d714f,_0x170c6a)=>(_0x3fb104,_0x16335d)=>_0x170c6a(_0x3fb104,_0x16335d,_0x1d714f);const Cn='/universer-api/license/formula/limit/status',Rn=_0x5cd2e1(0x3c0),Dn=_0x5cd2e1(0x2fa);let Ie=class extends _0x570abd{constructor(_0x10e7c7,_0x97a78b,_0xb703b8,_0x1e3ee3,_0x2c32c2,_0x579a03,_0x45cf65){const _0x26c040=_0x5cd2e1;super(),_(this,_0x26c040(0x3e5),null),_(this,_0x26c040(0x2ad),0x0),_(this,'_currentUsage',0x0),_(this,_0x26c040(0x402),[]),_(this,_0x26c040(0x3f9),0x0),(this['_messageService']=_0x10e7c7,this[_0x26c040(0x1e8)]=_0x97a78b,this[_0x26c040(0x382)]=_0xb703b8,this['_httpService']=_0x1e3ee3,this[_0x26c040(0x256)]=_0x2c32c2,this['_logService']=_0x579a03,this[_0x26c040(0x2df)]=_0x45cf65,this[_0x26c040(0x277)]());}[_0x5cd2e1(0x277)](){const _0x5e4fce=_0x5cd2e1;this[_0x5e4fce(0x2cf)](this['_commandService'][_0x5e4fce(0x22d)]((_0x1e94fc,_0xfe1ca3)=>{const _0x169396=_0x5e4fce;var _0x42cbe2;if(_0x1e94fc['id']!==_0x212ff4['id'])return;const _0xf1cad5=_0x1e94fc[_0x169396(0x216)];if(!this[_0x169396(0x3f6)]((_0x42cbe2=_0xf1cad5[_0x169396(0x3af)])!=null?_0x42cbe2:[]))return;if(!this[_0x169396(0x3d4)]())throw this[_0x169396(0x2de)](_0x1e94fc,_0xfe1ca3),this[_0x169396(0x319)](),new _0x21dfe5();})),this[_0x5e4fce(0x2cf)](this['_commandService'][_0x5e4fce(0x32f)]((_0x1e5c08,_0x1cbf8a)=>{const _0x73f8bc=_0x5e4fce;if(_0x1e5c08['id']!==_0x3ce6bc['id'])return;const _0x3c6d32=_0x1e5c08[_0x73f8bc(0x216)];if(vn(_0x3c6d32)){const _0x5eaee5=_0x2bc8c1();this[_0x73f8bc(0x402)][_0x73f8bc(0x30a)](_0x5eaee5),this[_0x73f8bc(0x229)](_0x5eaee5);}else{if(pn(_0x3c6d32)&&this[_0x73f8bc(0x402)][_0x73f8bc(0x3ed)]>0x0){const _0x2bdf53=this[_0x73f8bc(0x402)][_0x73f8bc(0x397)]();this['_releaseCalculationLimit'](_0x2bdf53);}}}));}[_0x5cd2e1(0x1cc)](){const _0x514e49=_0x5cd2e1;super['dispose'](),this[_0x514e49(0x2d2)](),this[_0x514e49(0x402)]=[],this['_currentUsage']=0x0,this[_0x514e49(0x2ad)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x5cd2e1(0x2de)](_0x3919f5,_0x52d854){const _0x4df622=_0x5cd2e1;for(let _0x191c98=0x0;_0x191c98<0x1e;_0x191c98++)try{if(await this[_0x4df622(0x300)](),this[_0x4df622(0x3d4)]()){this[_0x4df622(0x1f0)](_0x3919f5,_0x52d854),this[_0x4df622(0x305)][_0x4df622(0x312)]({'content':this[_0x4df622(0x2df)]['t'](_0x4df622(0x1d0)),'type':_0x50fba4['Success']});return;}await new Promise(_0x162ec6=>{const _0x5d1f07=_0x4df622;this[_0x5d1f07(0x3e5)]=window[_0x5d1f07(0x304)](_0x162ec6,0x3e8);});}catch(_0x4f3927){this['_logService'][_0x4df622(0x35b)](_0x4f3927);}this[_0x4df622(0x305)]['show']({'content':this['_localeService']['t'](_0x4df622(0x2a6)),'type':_0x50fba4[_0x4df622(0x3c6)]});}[_0x5cd2e1(0x1f0)](_0x5e4848,_0x58e836){const _0x23c76c=_0x5cd2e1;try{this[_0x23c76c(0x1e8)]['executeCommand'](_0x5e4848['id'],_0x5e4848[_0x23c76c(0x216)],_0x58e836);}catch(_0x42382a){this[_0x23c76c(0x315)]['error'](_0x42382a);}}[_0x5cd2e1(0x29f)](_0x558eed,_0x1ba089){const _0x478f95=_0x5cd2e1;_0x1ba089<this[_0x478f95(0x3f9)]||(this[_0x478f95(0x3f9)]=_0x1ba089,this['_maxFormulaLimit']=Number[_0x478f95(0x3b1)](_0x558eed[_0x478f95(0x211)]),this['_currentUsage']=Number['parseInt'](_0x558eed[_0x478f95(0x406)]));}async[_0x5cd2e1(0x229)](_0x220eab){const _0x57ba12=_0x5cd2e1;var _0x3d2f59,_0x4901f6;const _0x10cc40=Date[_0x57ba12(0x245)]();try{const _0x4abd2d=((_0x3d2f59=this[_0x57ba12(0x382)][_0x57ba12(0x27b)](_0x3698b1))==null?void 0x0:_0x3d2f59[_0x57ba12(0x230)])||Rn,_0x45f48d=(await this[_0x57ba12(0x324)][_0x57ba12(0x2f7)](_0x4abd2d,{'body':JSON[_0x57ba12(0x359)]({'taskId':_0x220eab})}))[_0x57ba12(0x2ea)];if(((_0x4901f6=_0x45f48d[_0x57ba12(0x35b)])==null?void 0x0:_0x4901f6[_0x57ba12(0x1c0)])!==Z['OK'])return;this[_0x57ba12(0x29f)](_0x45f48d['limitInfo'],_0x10cc40);}catch(_0x324d88){this['_logService']['error'](_0x324d88);}}async['_getFormulaLimitStatus'](_0x2707a4){const _0x2f766e=_0x5cd2e1;var _0x325c0f,_0x55b1ad;const _0x18842c=Date['now']();try{const _0x579916=((_0x325c0f=this[_0x2f766e(0x382)]['getConfig'](_0x3698b1))==null?void 0x0:_0x325c0f[_0x2f766e(0x384)])||Cn,_0x1bde2b=_0x2707a4?_0x579916+_0x2f766e(0x373)+encodeURIComponent(_0x2707a4):_0x579916,_0x4ef764=(await this[_0x2f766e(0x324)][_0x2f766e(0x2b6)](_0x1bde2b))[_0x2f766e(0x2ea)];if(((_0x55b1ad=_0x4ef764[_0x2f766e(0x35b)])==null?void 0x0:_0x55b1ad[_0x2f766e(0x1c0)])!==Z['OK'])return;this[_0x2f766e(0x29f)](_0x4ef764['limitInfo'],_0x18842c);}catch(_0xebd2cd){this['_logService'][_0x2f766e(0x35b)](_0xebd2cd);}}async['_releaseCalculationLimit'](_0x4a396d){const _0x105d6a=_0x5cd2e1;var _0x154cb5,_0xe5df5c;const _0x67f2b7=Date[_0x105d6a(0x245)]();try{const _0x27a23e=((_0x154cb5=this[_0x105d6a(0x382)][_0x105d6a(0x27b)](_0x3698b1))==null?void 0x0:_0x154cb5[_0x105d6a(0x37d)])||Dn,_0x3d7705=(await this['_httpService'][_0x105d6a(0x2f7)](_0x27a23e,{'body':JSON[_0x105d6a(0x359)]({'taskId':_0x4a396d})}))[_0x105d6a(0x2ea)];if(((_0xe5df5c=_0x3d7705[_0x105d6a(0x35b)])==null?void 0x0:_0xe5df5c['code'])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x3d7705['limitInfo'],_0x67f2b7);}catch(_0x52b1df){this[_0x105d6a(0x315)][_0x105d6a(0x35b)](_0x52b1df);}}[_0x5cd2e1(0x3d4)](){const _0x32e185=_0x5cd2e1;return this[_0x32e185(0x2ad)]===0x0?!0x0:this[_0x32e185(0x2ad)]-this[_0x32e185(0x1fa)]>0x0;}[_0x5cd2e1(0x2d2)](){const _0x13fc9b=_0x5cd2e1;this['_pollingInterval']&&(clearTimeout(this[_0x13fc9b(0x3e5)]),this['_pollingInterval']=null);}[_0x5cd2e1(0x319)](){const _0x502aa0=_0x5cd2e1;this[_0x502aa0(0x305)][_0x502aa0(0x312)]({'content':this[_0x502aa0(0x2df)]['t'](_0x502aa0(0x25e)),'type':_0x50fba4[_0x502aa0(0x308)]});}[_0x5cd2e1(0x3f6)](_0x5c27f8){const _0x20a572=_0x5cd2e1;for(const _0x522c48 of _0x5c27f8){const {unitId:_0x40cbce,sheetId:_0x53621f,range:_0x3348ee}=_0x522c48,_0x48c723=this[_0x20a572(0x256)][_0x20a572(0x2c2)](_0x40cbce);if(!_0x48c723)continue;const _0x4e821c=_0x48c723['getSheetBySheetId'](_0x53621f);if(!_0x4e821c)continue;const _0x4c10f7=_0x4e821c[_0x20a572(0x2be)]();for(let _0x58c68e=_0x3348ee[_0x20a572(0x2ab)];_0x58c68e<=_0x3348ee[_0x20a572(0x399)];_0x58c68e++)for(let _0x33e31d=_0x3348ee[_0x20a572(0x255)];_0x33e31d<=_0x3348ee['endColumn'];_0x33e31d++){const _0x2b3343=_0x4c10f7[_0x20a572(0x28a)](_0x58c68e,_0x33e31d);if(_0x2b3343&&(_0x27ee34(_0x2b3343['f'])||_0x397057(_0x2b3343['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0xf4d66f(_0x347467)),P(0x1,_0x33726a),P(0x2,_0x19d257),P(0x3,_0xf4d66f(_0x43b379)),P(0x4,_0x296958),P(0x5,_0x3343ad),P(0x6,_0xf4d66f(_0x247dfc))],Ie);var Nn=Object[_0x5cd2e1(0x2c3)],bn=(_0x400542,_0x536858,_0x4093c0,_0x27f992)=>{const _0x2fd6ca=_0x5cd2e1;for(var _0x4c132e=_0x27f992>0x1?void 0x0:_0x27f992?Nn(_0x536858,_0x4093c0):_0x536858,_0x48d2a8=_0x400542[_0x2fd6ca(0x3ed)]-0x1,_0x308bf3;_0x48d2a8>=0x0;_0x48d2a8--)(_0x308bf3=_0x400542[_0x48d2a8])&&(_0x4c132e=_0x308bf3(_0x4c132e)||_0x4c132e);return _0x4c132e;},Ue=(_0x5e3232,_0x5d9b42)=>(_0x4aefca,_0x1a9f33)=>_0x5d9b42(_0x4aefca,_0x1a9f33,_0x5e3232);let He=class extends _0x570abd{constructor(_0x2ce241,_0x48fc2d,_0x14d681){const _0x5ca256=_0x5cd2e1;super(),_(this,_0x5ca256(0x1cd),new Map()),_(this,_0x5ca256(0x1bb),new Map()),_(this,_0x5ca256(0x278),!0x1),(this[_0x5ca256(0x382)]=_0x2ce241,this[_0x5ca256(0x2a7)]=_0x48fc2d,this[_0x5ca256(0x37f)]=_0x14d681);}[_0x5cd2e1(0x1ef)](){const _0x3091f8=_0x5cd2e1;this[_0x3091f8(0x278)]=!0x0;}[_0x5cd2e1(0x24b)](){const _0x429eb2=_0x5cd2e1;this[_0x429eb2(0x278)]=!0x1;}get[_0x5cd2e1(0x1b9)](){const _0x265f47=_0x5cd2e1;return this[_0x265f47(0x1bb)];}[_0x5cd2e1(0x1cc)](){const _0x267c0b=_0x5cd2e1;this['exhaustSavingTask']()[_0x267c0b(0x1b8)](()=>super['dispose']());}async[_0x5cd2e1(0x2a3)](_0x12e9b8){const _0xa70e92=_0x5cd2e1;return this[_0xa70e92(0x278)]?null:this[_0xa70e92(0x2a7)][_0xa70e92(0x3d1)](_0x5f3576(_0x12e9b8));}async[_0x5cd2e1(0x2ed)](_0x2eabc4,_0x477fdb){const _0x24377b=_0x5cd2e1;return!!this['_localStorageService'][_0x24377b(0x226)](_0x2eabc4,_0x477fdb);}[_0x5cd2e1(0x3eb)](_0x177ef0,_0x57578c,_0x428352,_0x5bd15b){const _0x57a81c=_0x5cd2e1,_0x2d17dd=this['_revisionService'][_0x57a81c(0x219)](_0x177ef0);this[_0x57a81c(0x1cd)][_0x57a81c(0x322)](_0x177ef0,{'unitID':_0x177ef0,'type':_0x57578c,'awaitingChangeset':_0x428352,'mutations':_0x5bd15b,'rev':_0x2d17dd}),this[_0x57a81c(0x1bb)]['has'](_0x177ef0)||this[_0x57a81c(0x210)](_0x177ef0);}[_0x5cd2e1(0x210)](_0x77f1cd){const _0x71f4a2=_0x5cd2e1,_0x40f9c=this[_0x71f4a2(0x253)]();_0x40f9c===0x0?this[_0x71f4a2(0x288)](_0x77f1cd):this[_0x71f4a2(0x1bb)][_0x71f4a2(0x322)](_0x77f1cd,setTimeout(()=>this['_saveCache'](_0x77f1cd),_0x40f9c));}[_0x5cd2e1(0x253)](){var _0x87c274;return(_0x87c274=this['_configService']['getConfig'](_0x63fea5))!=null?_0x87c274:_0x1a39b7;}[_0x5cd2e1(0x288)](_0x5b8ec8){const _0x3925f3=_0x5cd2e1,_0x553307=this[_0x3925f3(0x1bb)][_0x3925f3(0x2b6)](_0x5b8ec8);return _0x553307!==void 0x0&&window[_0x3925f3(0x35d)](_0x553307),this[_0x3925f3(0x2a7)][_0x3925f3(0x226)](_0x5f3576(_0x5b8ec8),this['_cachedData'][_0x3925f3(0x2b6)](_0x5b8ec8))[_0x3925f3(0x1b8)](()=>this[_0x3925f3(0x1bb)][_0x3925f3(0x35c)](_0x5b8ec8));}async[_0x5cd2e1(0x1e4)](){const _0x3453d9=_0x5cd2e1,_0x24a180=[];this[_0x3453d9(0x1bb)]['forEach']((_0x457af9,_0x47c8d0)=>{const _0x1de111=_0x3453d9;window[_0x1de111(0x35d)](_0x457af9),_0x24a180['push'](this['_saveCache'](_0x47c8d0)['then'](()=>{const _0x1bfd84=_0x1de111;this[_0x1bfd84(0x1bb)][_0x1bfd84(0x35c)](_0x47c8d0);}));}),await Promise[_0x3453d9(0x1ed)](_0x24a180);}};He=bn([Ue(0x0,_0x19d257),Ue(0x1,_0xa4ed63),Ue(0x2,_0xf4d66f(_0x51de99))],He);class Ln extends _0xb8a4ef{constructor(){const _0x2a0a46=_0x5cd2e1;super(),_(this,'urlChange$'),this[_0x2a0a46(0x3d0)]=_0x4ca1ea(window,_0x2a0a46(0x249))[_0x2a0a46(0x26f)](_0x27172d(this[_0x2a0a46(0x1fb)]),_0x52baa3(0x1),_0x185422(void 0x0));}[_0x5cd2e1(0x3cf)](_0x5ae9ed,_0x295e0b,_0x5f5940=!0x1){const _0x50d0aa=_0x5cd2e1,_0x26d7d1=new URL(window[_0x50d0aa(0x26a)][_0x50d0aa(0x2fd)]);_0x26d7d1[_0x50d0aa(0x244)][_0x50d0aa(0x322)](_0x5ae9ed,_0x295e0b),_0x5f5940?window['history'][_0x50d0aa(0x3ad)]('','',_0x26d7d1[_0x50d0aa(0x2da)]()):window['history']['pushState']('','',_0x26d7d1[_0x50d0aa(0x2da)]());}[_0x5cd2e1(0x345)](_0x479803,_0x10212c=!0x1){const _0x161767=_0x5cd2e1,_0x2e0890=new URL(window[_0x161767(0x26a)][_0x161767(0x2fd)]);_0x2e0890[_0x161767(0x244)][_0x161767(0x35c)](_0x479803),_0x10212c?window[_0x161767(0x1d8)][_0x161767(0x3ad)]('','',_0x2e0890['toString']()):window['history'][_0x161767(0x24d)]('','',_0x2e0890[_0x161767(0x2da)]());}['getParam'](_0x1b9d22){const _0x536578=_0x5cd2e1;var _0x435cf2;return(_0x435cf2=new URL(window[_0x536578(0x26a)][_0x536578(0x2fd)])[_0x536578(0x244)][_0x536578(0x2b6)](_0x1b9d22))!=null?_0x435cf2:void 0x0;}}var Un=Object[_0x5cd2e1(0x2d8)],Mn=Object[_0x5cd2e1(0x2c3)],An=(_0xd0cd02,_0x426a45,_0x2559ac)=>_0x426a45 in _0xd0cd02?Un(_0xd0cd02,_0x426a45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2559ac}):_0xd0cd02[_0x426a45]=_0x2559ac,Pn=(_0xedd506,_0x518fef,_0x52c955,_0x4c30e2)=>{const _0x54d577=_0x5cd2e1;for(var _0x4b69bd=_0x4c30e2>0x1?void 0x0:_0x4c30e2?Mn(_0x518fef,_0x52c955):_0x518fef,_0x488bea=_0xedd506[_0x54d577(0x3ed)]-0x1,_0x2aae0a;_0x488bea>=0x0;_0x488bea--)(_0x2aae0a=_0xedd506[_0x488bea])&&(_0x4b69bd=_0x2aae0a(_0x4b69bd)||_0x4b69bd);return _0x4b69bd;},Me=(_0x49cb2c,_0x5ce196)=>(_0x24f291,_0x5f31f6)=>_0x5ce196(_0x24f291,_0x5f31f6,_0x49cb2c),wn=(_0x5aca21,_0x2f2d7f,_0x511190)=>An(_0x5aca21,_0x2f2d7f+'',_0x511190);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x31ad12{constructor(_0x1d8d33=_t,_0x3dbf88,_0x36af07,_0x8970ee){const _0x43eb5c=_0x5cd2e1;super(),this['_config']=_0x1d8d33,this[_0x43eb5c(0x227)]=_0x3dbf88,this[_0x43eb5c(0x22c)]=_0x36af07,this[_0x43eb5c(0x382)]=_0x8970ee;const {..._0x2ba3b5}=_0x49c2ae({},_t,this[_0x43eb5c(0x3bc)]);this[_0x43eb5c(0x382)][_0x43eb5c(0x239)](hn,_0x2ba3b5);}['onStarting'](){const _0x4f2c57=_0x5cd2e1;this[_0x4f2c57(0x240)](),this[_0x4f2c57(0x375)]();}[_0x5cd2e1(0x1f5)](){const _0x5c6833=_0x5cd2e1;this[_0x5c6833(0x32c)]();}[_0x5cd2e1(0x240)](){const _0x32d715=_0x5cd2e1;var _0x5f4051;const _0x2ab428=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x14224e,{'useClass':_0x1a0016}],[_0x2f092b,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x32d715(0x3bc)][_0x32d715(0x35a)]&&_0x2ab428[_0x32d715(0x30a)]([le]),_0x2ed16c(this['_injector'],_0x272528(_0x2ab428,(_0x5f4051=this[_0x32d715(0x3bc)])==null?void 0x0:_0x5f4051[_0x32d715(0x380)]));}[_0x5cd2e1(0x32c)](){const _0x2af41b=_0x5cd2e1;this[_0x2af41b(0x2cf)](this['_renderManagerService'][_0x2af41b(0x1e9)](_0x298b40[_0x2af41b(0x2ba)],[Fe])),this[_0x2af41b(0x2cf)](this[_0x2af41b(0x227)][_0x2af41b(0x1e9)](_0x298b40[_0x2af41b(0x3ef)],[ke]));}[_0x5cd2e1(0x375)](){const _0x4a9165=_0x5cd2e1;_0x2e6ab8(this[_0x4a9165(0x22c)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x4a9165(0x3bc)][_0x4a9165(0x35a)]&&_0x2e6ab8(this[_0x4a9165(0x22c)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x35d530(_0x34dff9),Me(0x1,_0x1313bc),Me(0x2,_0xf4d66f(_0xae1fe5)),Me(0x3,_0x19d257)],Ye);var $n=Object[_0x5cd2e1(0x2c3)],xn=(_0x2ea464,_0x436776,_0x40c9ff,_0x467a65)=>{const _0x3c3036=_0x5cd2e1;for(var _0x57500b=_0x467a65>0x1?void 0x0:_0x467a65?$n(_0x436776,_0x40c9ff):_0x436776,_0x2b1b6e=_0x2ea464[_0x3c3036(0x3ed)]-0x1,_0xc5889f;_0x2b1b6e>=0x0;_0x2b1b6e--)(_0xc5889f=_0x2ea464[_0x2b1b6e])&&(_0x57500b=_0xc5889f(_0x57500b)||_0x57500b);return _0x57500b;},J=(_0x466f29,_0x24cf58)=>(_0x594dca,_0x1119c5)=>_0x24cf58(_0x594dca,_0x1119c5,_0x466f29);let ut=class extends _0x2303b5{constructor(_0x228d8d,_0x476cd6,_0x23fba5,_0x26f409,_0x1afba5){super(_0x228d8d,_0x476cd6,_0x23fba5,_0x26f409,_0x1afba5);}async[_0x5cd2e1(0x20c)](_0x28b7b6){const _0xf97429=_0x5cd2e1,_0x1bd949=await this['_getSessionTicket'](),_0x3c7e0d=this[_0xf97429(0x2af)](_0x28b7b6,_0x1bd949);return this[_0xf97429(0x295)](_0x3c7e0d);}[_0x5cd2e1(0x2af)](_0x12262e,_0x10c406){const _0x51137a=_0x5cd2e1,_0x425329=typeof window>'u'?new URL(_0x12262e):new URL(_0x12262e,window[_0x51137a(0x26a)][_0x51137a(0x357)]);_0x425329[_0x51137a(0x244)]['set'](_0x51137a(0x38d),_0x10c406);const _0x47af51=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x51137a(0x26a)][_0x51137a(0x270)]);return _0x47af51['get'](_0x51137a(0x1c5))&&_0x425329[_0x51137a(0x244)][_0x51137a(0x322)](_0x51137a(0x1c5),_0x47af51[_0x51137a(0x2b6)](_0x51137a(0x1c5))),_0x425329['toString']();}async[_0x5cd2e1(0x3ff)](){const _0x308983=_0x5cd2e1;var _0x4ab30d,_0x166475,_0x1cbd1c;const _0x28bfcf=this['_configService']['getConfig'](_0x3698b1),_0x12e223=(_0x4ab30d=_0x28bfcf==null?void 0x0:_0x28bfcf[_0x308983(0x37c)])!=null?_0x4ab30d:_0x137a0e;return(_0x1cbd1c=(_0x166475=(await this['_httpService'][_0x308983(0x2b6)](_0x12e223,{'headers':{'Content-Type':_0x308983(0x398)}}))['body'])==null?void 0x0:_0x166475['ticket'])!=null?_0x1cbd1c:'';}};function _0x1402(){const _0xe7c6d6=['UNAUTHENTICATED','getUndoRedoMutationParamsCache','setUndoRedoMutationParamsCache','LICENSE_IMPORT_SIZE_EXCEEDED','REDEMPTION_CODE_NOT_STARTED','getTypeOfUnitAdded$','body','START_CALCULATION','unsubscribe','saveOfflineData','_onRefRangeChange','_status$','ENTITLE_CHAT_LIMIT_EXCEED','yellow.400','_online','CLOSE_ROOM','ENTITLE_NEED_BILLING_ADDRESS','save','clearInterval','post','YUUMI_ASYNCIO_CANCELLED','INVALID_INVITE_CODE','/universer-api/license/formula/limit/done','toRgbString','transformMutation','href','_removeCollabCursors','unit','_getFormulaLimitStatus','url(#off-line-icon_clip0_910_343)','COMPLETION_FINISHED','CHANGESET_REVISION_CONFILICT','setTimeout','_messageService','source','collabStatus.notCollab','Loading','defs','push','MoveRangeCommandId','Warning','getAncestorScale','351978wdGWmu','executeCommand','_document','_getScale','show','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','blue.400','_logService','getUnitStatus$','collab-client.tooltip.reconnect','APPLY_DUPLICATED','_showGuardMessage','functionsExecutedState','use','executionId','0\x200\x2017\x2016','sessionStatus$','getCurrentUnitForType','onLocalMutation','_hover','set','CURRENT_STATUS_CANNOT_OPERATE','_httpService','getColorFromTheme','m2Prime','INVITE_CODE_REQUIRED','_handleHover','init','getRenderById','svg','_registerRenderDependencies','_drawRectRange','univer-flex\x20univer-items-center','onCommandExecuted','INVITE_CODE_ALREADY_BOUND','_startSheetCollabCursor','_monkeyPatchLogService','_lastPointer','_context','collabCursorState$','doc.mutation.rich-text-editing','arc','newValue','column','CONFLICT','13091220MKzymP','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','OFFLINE','M0\x200H16V16H0z','_refRangeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_updateURLWithCurrentState','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','registerRefRange','removeParam','_docStateChangeManagerService','_dataLoaderService','getFocusedUnit','getCurrent','subscribe','subUnitId','UPDATE_CURSOR','1em','some','tag','133etCQqn','session.collaboration-timeout','roomMembers$','InsertRangeMoveDownCommandId','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','drawWith','origin','undoState','stringify','enableFrontendLog','error','delete','clearTimeout','_colorIndex','_cursors','_name','_handleEvent','row','_range','children','cursorInfo','_drawTextRange','_getMergeRange','getTypeOfUnitDisposed$','TEXT','_render','subunit','transformStateCache','key','366088EUjygV','/run/','collaboration.offline-data-not-saved','getStateCache','EMAIL_VERIFY_CODE_MISMATCH','?taskId=','selection','_initDependencies','APPLY_REJECT','whenReady','triggerDblclick','\x20at\x20','displayName','values','wsSessionTicketUrl','releaseFormulaLimitUrl','_localCacheService','_revisionService','override','join','_configService','translate(.97)','getFormulaLimitStatusUrl','loadUnit','SUBMIT_CHANGESET_TIMEOUT','RemoveColCommandId','_color','clipPath','contains','_shapes','lineTo','sessionTicket','transformByState','_cursorInfo$','subscribeEvent','range','ENTITLE_DUP_SUBSCRIPTION','top','transformSelections','getActiveSheet','_init','shift','application/json','endRow','_eventUnsubscribe','findNodePositionByCharIndex','...','LICENSE_EXPORT_SIZE_EXCEEDED','runOnServer','NOT_FOUND','docStateChange$','getRangePointData','1383255QfYoRA','_removeClearOtherTimer','[CollaborationDataLoaderController]','random','ENSURE_SNAPSHOT_EXECUTION','InsertRowCommandId','Failed','entries','_getAnchorBounding','unhandledrejection','_selfUnitIDs','replaceState','syncEditingCollabCursor','dirtyRanges','currentSkeleton$','parseInt','_setupSubUnitSync','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unshift','_initEntityListener','name','collabStatus.offline','getUniverSheetInstance','ENTITLE_USE_COUPON_NOT_1ST_TRADE','YUUMI_UNABLE_LOAD_URL','UNDEFINED','_config','from','reason','currentTheme$','/universer-api/license/formula/limit/start','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','editingUnit','USER_IS_ANONYMOUS','_ensureSubject','setInterval','Error','setActiveRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_colorAssignService','resize','startsWith','[Unhandled\x20Rejection]:\x20','_send','univer-mr-2\x20univer-flex\x20univer-text-xl','setParam','urlChange$','getItem','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_drawAnchor','_checkCalculationAvailable','_scheduleHeartbeat','storage','getActiveRange','getMemberID','restore','_toggleOffline','add','DeleteRangeMoveUpCommandId','next','session.will-retry','_unitStatus','debug','saveImage','collab-text-range-','requireSession','path','_pollingInterval','_updateSubUnitFromURLParams','PY_RUNTIME_SCRIPT_ERROR','bottom','YUUMI_ALL_TABLES_IS_INVALID','getDocRanges','updateOfflineData','YUUMI_CONNECTOR_URL_NOT_FOUND','length','WECHAT_HAS_BEEN_BOUND','UNIVER_SHEET','off-line-icon_clip0_910_343','message','_onCursorUpdate','getSkeleton','_initEvent','collaboration.single-unit.warning','_hasFormulaInDirtyRanges','LOGIN_TOKEN_PROCESSING_FAILED','includes','_lastResponseTimestamp','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_startDocCollabCursor','_collaborationSessionService','onPointerMove$','round','_getSessionTicket','getMergeData','_roomMembers$','_taskIds','_clearOtherTimers','CONNECTOR_DATA_TOO_LARGE','asObservable','currentUsage','_collabCursorController','REDEMPTION_INVALID_CODE','MOBILE_HAS_BEEN_BOUND','invokeId','then','saveTaskMap','Unknown\x20user','_saveTaskMap','DeleteRangeMoveLeftCommandId','assign','transformMutationsWithChangeset','_backgroundColor','code','28PAXiiu','transform','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','_textBubble','runId','USER_NOT_INVITED_CODE','symbol','ranges','[Window\x20Error]:\x20','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','dispose','_cachedData','UNRECOGNIZED','getSheetBySheetId','formula.calculation.started','SNAPSHOT_HAS_BEEN_REMOVED','text','REDEMPTION_CODE_INACTIVE','getCellPositionByOffset','makeDirty','addEventListener','SOCKET_FAILED_RETRY','history','xlink:href','hide','SOCKET_FAILED','min','jiqing.500','ENTITLE_INVALID_COUPON_CODE','_transformService','NOT_COLLAB','onPointerLeave$','_refreshCollabCursors','ENTITLE_REPORT_LIMIT_EXCEED','exhaustSavingTask','unitId','RemoveRowCommandId','_anchorDot','_commandService','registerRenderModule','isActive','AUTHORIZE_CODE_ILLEGAL','height','all','rgba(255,\x20255,\x20255,\x200.01)','disableLocalCache','_applyCommand','_onCursorDelete','stage','getVpScrollXYInfoByPosToVp','YUUMI_RATE_OVER_LIMIT','onRendered','currentColor','InsertRangeMoveRightCommandId','white','REDEMPTION_CODE_FULLY_REDEEMED','_currentUsage','dispose$','YUUMI_AI_RUN_FAILED','data','onTransformChange$','substring','RECT','_entities','TOO_MANY_REQUESTS','_hovered','INVITE_CODE_HAS_BEEN_UES','620znYOfg','_collaborationController','_urlService','_notificationService','cursorInfo$','PERMISSION_DENIED','green.600','createSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fillStyle','1650654sqIcAh','_scheduleSaving','maxFormulaLimit','lineno','/universer-api/frontend/logs','YUUMI_NO_CUBOID_FOR_QUESTION','idSuffix','params','has','width','getCurrentRevOfUnit','imageSourceType','_getSheetObject','setShapeProps','collabStatus.syncing','_docSkeleton','OffLineIcon','moveTo','addHandlerCallback','_initStatusListener','_cursor','url(#on-line-icon_clip0_910_349)','redoState','setItem','_renderManagerService','_heartbeatTimer','_startCalculationLimit','string','onPointerEnter$','_injector','beforeCommandExecuted','on-line-icon','attrs','startFormulaLimitUrl','sheetID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleJoinEvent','APPLY_NON_SEQUENTIAL_REVISION','DATA_SOURCE_TOO_LARGE','6147xdfIRo','fillRule','with','setConfig','FETCH_MISS','removeEventListener','_updateLocalCursor','assignAColorForMemberID','getSheetId','_instanceService','_registerDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_handleHeartbeatEvent','_docClipboardService','searchParams','now','_hideTimer','size','off-line-icon','popstate','color','enableLocalCache','mutations','pushState','INVALID_ARGUMENT','transformRemoteChangeset','beginPath','7928322vLVEvu','LICENSE_DISTRO_REJECTED','_getSaveTimeout','_docSyncEditingCollabCursorService','startColumn','_univerInstanceService','measureText','forEach','createInstance','_initUnhandledRejectionListener','stageInfo','getViewport','_session','formula.calculation.waiting','_memberService','_collabSessionService','ENTITLE_COUPON_USED_UP','disposeUnit','_sheetSkeletonManagerService','actions','getRelativeToViewportCoord','_docTransformSelectionsService','complete','_uploadLog','_cursorShapes','location','event$','_labelPosition','USER_NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','pipe','search','_updateCollabCursors','_collabCursorState$','getCollabCursors$','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_HAS_BEEN_CREATED','isArray','_initCommandInterceptor','_disabled','black','_docTransformIMECacheService','getConfig','fill','_transformHistoryAndStateStack','OTHER_CLIENTS_EDITING','getCurrentSelections','_draw','22JfrVml','PENDING','collab-rect-range-','_id','max','LOGIN_FAILED','unitID','_saveCache','ALREADY_EXISTS','getValue','div','hovered','roomMembers','ONLINE','bind','purple.300','_transformPreviousActiveRange','_themeService','m1Prime','eventID','_doCreateSocket','_transformUndoRedoStack','USERS_LEAVE','font','stack','map','parse','_handleLeaveEvent','colorChannel1','collaboration-client-ui.config','_setFormulaLimitStatus','deepClone','textRanges','MUTATION','loadOfflineData','collabStatus.fetchMiss','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','formula.calculation.unable','_localStorageService','filename','collab-text-anchor-','_initUserListener','startRow','InsertColCommandId','_maxFormulaLimit','http://www.w3.org/2000/svg','_createSocketURL','current','_unitOnClients','_docSkeletonManagerService','onMouseMove','_scheduleClearOtherTimer','_initCommandExecutedListener','get','[LogService\x20Error]:\x20','_docTransformStateCacheService','_anchor','UNIVER_DOC','_scene','setAlpha','send','getCellMatrix','_imageIoService','JOIN_ROOM_FAILED','_entityInit$','getUnit','getOwnPropertyDescriptor','OnLineIcon','labelPosition','type','permission.content','_memberID','SNAPSHOT_INVALID_SNAPSHOT','replace','flatMap','APPLY_REVISION_CONFILICT','ERROR_AGAIN','addClipboardHook','disposeWithMe','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearPolling','ENTITLE_COUPON_EXPIRED','ENTITLE_INSUFFICIENT_QUOTA','_uiPartsService','UniverIcon','fillText','defineProperty','_toggleOnline','toString','getMember','getParam','addObject','_checkAndWaitForCalculationPermission','_localeService','_setupBeforeClosingHandler','_beforeCloseService','none','_initWindowErrorListener'];_0x1402=function(){return _0xe7c6d6;};return _0x1402();}ut=xn([J(0x0,_0xf4d66f(_0xae1fe5)),J(0x1,_0xf4d66f(_0x43b379)),J(0x2,_0x19d257),J(0x3,_0x3343ad),J(0x4,_0x20d4c6)],ut);var Bn=Object[_0x5cd2e1(0x2c3)],Fn=(_0x52b728,_0xc7bded,_0x2007be,_0x5090c5)=>{const _0x4d3570=_0x5cd2e1;for(var _0x2013ed=_0x5090c5>0x1?void 0x0:_0x5090c5?Bn(_0xc7bded,_0x2007be):_0xc7bded,_0x562d45=_0x52b728[_0x4d3570(0x3ed)]-0x1,_0x139543;_0x562d45>=0x0;_0x562d45--)(_0x139543=_0x52b728[_0x562d45])&&(_0x2013ed=_0x139543(_0x2013ed)||_0x2013ed);return _0x2013ed;},Ae=(_0xa4136d,_0x4f79ac)=>(_0x43eb18,_0x38a746)=>_0x4f79ac(_0x43eb18,_0x38a746,_0xa4136d);let dt=class extends _0x570abd{constructor(_0x3073ff,_0x3f251c,_0x58f3ec){const _0x199612=_0x5cd2e1;super(),this[_0x199612(0x23f)]=_0x3073ff,this[_0x199612(0x324)]=_0x3f251c,this['_configService']=_0x58f3ec;}async[_0x5cd2e1(0x39e)](_0x20219a,_0x1489be,_0x402bd7,..._0x501a12){const _0x1885ae=_0x5cd2e1;var _0x2e4362,_0x1fdb5a,_0xf1a8a4,_0x378b47;const _0x314ed6=this[_0x1885ae(0x23f)]['getFocusedUnit']();if(!_0x314ed6)throw new Error(_0x1885ae(0x3fa));const _0x5c038a=((_0x2e4362=this[_0x1885ae(0x382)][_0x1885ae(0x27b)](_0x25f49d))!=null?_0x2e4362:_0x5ac840)+'/'+_0x20219a+_0x1885ae(0x36f)+_0x1489be,_0x2f02ae=new URL(window[_0x1885ae(0x26a)]['href']),_0x175a47={'scriptId':_0x20219a,'runId':(_0x1fdb5a=_0x2f02ae['searchParams'][_0x1885ae(0x2b6)]('runId'))!=null?_0x1fdb5a:'','function':_0x1489be,'unitId':_0x314ed6['getUnitId'](),'argsOfFunction':JSON[_0x1885ae(0x359)](_0x501a12),'invokeId':(_0xf1a8a4=_0x402bd7[_0x1885ae(0x1b7)])!=null?_0xf1a8a4:'','executionId':(_0x378b47=_0x402bd7[_0x1885ae(0x31c)])!=null?_0x378b47:''};try{const _0x18c2b1=await this[_0x1885ae(0x324)][_0x1885ae(0x2f7)](_0x5c038a,{'body':_0x175a47});return _0x18c2b1[_0x1885ae(0x2ea)][_0x1885ae(0x35b)]&&_0x18c2b1[_0x1885ae(0x2ea)][_0x1885ae(0x35b)]['code']!==Z['OK']?_0x1885ae(0x3a8):_0x18c2b1[_0x1885ae(0x2ea)]['result'];}catch{return _0x1885ae(0x3a8);}}};dt=Fn([Ae(0x0,_0x296958),Ae(0x1,_0xf4d66f(_0x43b379)),Ae(0x2,_0x19d257)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x570abd{constructor(){const _0x47f578=_0x5cd2e1;super(),_(this,_0x47f578(0x284),_0x2bc8c1()),_(this,'_selfUnitIDs',new Set()),_(this,_0x47f578(0x2b1),new Map()),_(this,_0x47f578(0x228),null),_(this,_0x47f578(0x403),new Map()),_(this,'_unitStatus',new Map()),this[_0x47f578(0x396)]();}[_0x5cd2e1(0x1cc)](){const _0x409cfd=_0x5cd2e1;super[_0x409cfd(0x1cc)](),this[_0x409cfd(0x403)]['forEach']((_0x3f87f9,_0x5bd5e1)=>this[_0x409cfd(0x3a3)](_0x5bd5e1)),this[_0x409cfd(0x228)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5cd2e1(0x316)](_0x52df41){const _0x3cf287=_0x5cd2e1;return this['_ensureSubject'](_0x52df41)[_0x3cf287(0x26f)](_0x4f772a());}[_0x5cd2e1(0x3c2)](_0x2f01d5){const _0x3e4ba2=_0x5cd2e1;this[_0x3e4ba2(0x3ac)][_0x3e4ba2(0x247)]===0x0&&this[_0x3e4ba2(0x3d5)](),this[_0x3e4ba2(0x3ac)]['add'](_0x2f01d5),this[_0x3e4ba2(0x3cd)]({'type':0x0,'memberID':this[_0x3e4ba2(0x284)],'unitIDs':[_0x2f01d5],'isForwarded':!0x1});}[_0x5cd2e1(0x262)](_0x19f83d){const _0x4c3f64=_0x5cd2e1;this['_selfUnitIDs'][_0x4c3f64(0x35c)](_0x19f83d),this['_selfUnitIDs'][_0x4c3f64(0x247)]===0x0&&this[_0x4c3f64(0x228)]&&window[_0x4c3f64(0x2f6)](this[_0x4c3f64(0x228)]);}['_init'](){const _0x2717bc=_0x5cd2e1;this[_0x2717bc(0x2cf)](_0x1182c8(_0x4ca1ea(window,_0x2717bc(0x3d6))[_0x2717bc(0x34a)](_0x967d35=>{const _0x8ddcb9=_0x2717bc;if(_0x967d35[_0x8ddcb9(0x36d)]!==It||!_0x967d35['newValue'])return;const _0x459a50=JSON[_0x8ddcb9(0x29b)](_0x967d35[_0x8ddcb9(0x338)]);this['_handleEvent'](_0x459a50);}))),window[_0x2717bc(0x1d6)]('unload',()=>this[_0x2717bc(0x3cd)]({'type':0x1,'memberID':this[_0x2717bc(0x284)],'unitIDs':Array[_0x2717bc(0x3bd)](this[_0x2717bc(0x3ac)])}));}[_0x5cd2e1(0x361)](_0x540f87){const _0x4877d9=_0x5cd2e1;switch(_0x540f87['type']){case 0x0:this['_handleJoinEvent'](_0x540f87);break;case 0x1:this[_0x4877d9(0x29c)](_0x540f87);break;case 0x2:this[_0x4877d9(0x242)](_0x540f87);break;}}[_0x5cd2e1(0x233)](_0x2cdd99){const _0x3f4a2f=_0x5cd2e1,{unitIDs:_0x2fe9fe,memberID:_0x4836b8,isForwarded:_0x2b44d5}=_0x2cdd99;_0x2fe9fe[_0x3f4a2f(0x258)](_0x473b26=>{const _0x211c49=_0x3f4a2f;if(!_0x2b44d5&&this[_0x211c49(0x2b1)][_0x211c49(0x217)](_0x473b26)&&this[_0x211c49(0x3c4)](_0x473b26)[_0x211c49(0x3dd)](_0x522c35['OTHER_CLIENTS_EDITING']),!this[_0x211c49(0x2b1)][_0x211c49(0x217)](_0x473b26)||!this['_unitOnClients'][_0x211c49(0x2b6)](_0x473b26)[_0x211c49(0x217)](_0x4836b8)){const _0x5796dd=this[_0x211c49(0x2b1)]['get'](_0x473b26)||new Set();_0x5796dd['add'](_0x4836b8),this[_0x211c49(0x2b1)]['set'](_0x473b26,_0x5796dd),this[_0x211c49(0x2b4)](_0x4836b8);}}),_0x2b44d5||this[_0x3f4a2f(0x3cd)]({'type':0x0,'memberID':this[_0x3f4a2f(0x284)],'unitIDs':[...this[_0x3f4a2f(0x3ac)]],'isForwarded':!0x0});}[_0x5cd2e1(0x2b4)](_0x120ccd){const _0x83f568=_0x5cd2e1;this[_0x83f568(0x3a3)](_0x120ccd);const _0x5b7cdb=window[_0x83f568(0x304)](()=>{const _0x43a36f=_0x83f568;this['_unitOnClients'][_0x43a36f(0x258)](_0x56bae5=>{const _0x196ea7=_0x43a36f;_0x56bae5[_0x196ea7(0x35c)](_0x120ccd);});},St*0x2);this[_0x83f568(0x403)][_0x83f568(0x322)](_0x120ccd,_0x5b7cdb);}['_removeClearOtherTimer'](_0xac1503){const _0x2133ec=_0x5cd2e1;if(this[_0x2133ec(0x403)][_0x2133ec(0x217)](_0xac1503)){const _0x403673=this[_0x2133ec(0x403)][_0x2133ec(0x2b6)](_0xac1503);_0x403673&&window['clearTimeout'](_0x403673),this['_clearOtherTimers'][_0x2133ec(0x322)](_0xac1503,null);}}[_0x5cd2e1(0x29c)](_0x5c6470){const _0x5339f2=_0x5cd2e1,{memberID:_0x29b9da,unitIDs:_0x50da8f}=_0x5c6470;_0x50da8f[_0x5339f2(0x258)](_0x2e9913=>{const _0x450d68=_0x5339f2;var _0x3935e7;const _0x490501=this[_0x450d68(0x2b1)]['get'](_0x2e9913);_0x490501&&(_0x490501[_0x450d68(0x35c)](_0x29b9da),(_0x3935e7=this[_0x450d68(0x3c4)](_0x2e9913))==null||_0x3935e7[_0x450d68(0x3dd)](_0x490501[_0x450d68(0x247)]===0x0?_0x522c35[_0x450d68(0x1cb)]:_0x522c35[_0x450d68(0x27e)]));}),this['_removeClearOtherTimer'](_0x29b9da);}[_0x5cd2e1(0x242)](_0x2a5c68){const _0x1fa67a=_0x5cd2e1;this[_0x1fa67a(0x2b4)](_0x2a5c68['memberID']);}[_0x5cd2e1(0x3cd)](_0x53fbf7){const _0x5f53a9=_0x5cd2e1;localStorage[_0x5f53a9(0x226)](It,JSON[_0x5f53a9(0x359)](_0x53fbf7));}[_0x5cd2e1(0x3d5)](){const _0x572018=_0x5cd2e1;this[_0x572018(0x228)]=window[_0x572018(0x3c5)](()=>{const _0x3e6e42=_0x572018;this[_0x3e6e42(0x3cd)]({'type':0x2,'memberID':this['_id']});},St);}[_0x5cd2e1(0x3c4)](_0x49ce29){const _0xe81ed5=_0x5cd2e1;return this[_0xe81ed5(0x3df)][_0xe81ed5(0x217)](_0x49ce29)||this['_unitStatus']['set'](_0x49ce29,new _0x59b9f6(_0x522c35['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xe81ed5(0x2b6)](_0x49ce29);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x1e40b1=_0x38fa;(function(_0x95951a,_0x224866){const _0x5da787=_0x38fa,_0xd18537=_0x95951a();while(!![]){try{const _0x1dfe9f=-parseInt(_0x5da787(0x2f5))/0x1+-parseInt(_0x5da787(0x2f4))/0x2+parseInt(_0x5da787(0x1ca))/0x3*(parseInt(_0x5da787(0x268))/0x4)+-parseInt(_0x5da787(0x28e))/0x5*(-parseInt(_0x5da787(0x229))/0x6)+parseInt(_0x5da787(0x225))/0x7+-parseInt(_0x5da787(0xdf))/0x8*(-parseInt(_0x5da787(0xe5))/0x9)+parseInt(_0x5da787(0x1cb))/0xa*(-parseInt(_0x5da787(0xfe))/0xb);if(_0x1dfe9f===_0x224866)break;else _0xd18537['push'](_0xd18537['shift']());}catch(_0x365831){_0xd18537['push'](_0xd18537['shift']());}}}(_0x4aab,0xae791));var Yt=Object['defineProperty'],Wt=(_0x16019f,_0x110416,_0x4e0018)=>_0x110416 in _0x16019f?Yt(_0x16019f,_0x110416,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e0018}):_0x16019f[_0x110416]=_0x4e0018,_=(_0x4405ff,_0x287fd9,_0xd66fa5)=>Wt(_0x4405ff,typeof _0x287fd9!='symbol'?_0x287fd9+'':_0x287fd9,_0xd66fa5);import{jsx as _0x536d58,jsxs as _0x1a093a}from'react/jsx-runtime';import{CollaborationStatus as _0x126115,CollaborationSessionService as _0x38b52a,CollaborationController as _0x465340,DataLoaderService as _0x19e9f7,MemberService as _0x4d6b15,SessionStatus as _0x5c067f,ILocalCacheService as _0x51b584,CollaborationUIEventService as _0xfcb14b,CollaborationUIEventId as _0x29a27e,DocCollaborationEntity as _0x185d0f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x7fd448,getLocalCacheKey as _0x192196,LOCAL_CACHE_INTERVAL as _0x14c463,LOCAL_CACHE_INTERVAL_KEY as _0x18d25d,UniverCollaborationClientPlugin as _0x485e39,CollaborationSocketService as _0x4c670c,DEFAULT_WS_SESSION_TICKET_URL as _0x3b6f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x50aa9c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x78af75,UnitStatus as _0x114a9b}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x51435d,IUniverInstanceService as _0x161ad0,Inject as _0x2c0e45,Injector as _0x3fc224,Disposable as _0x4e2370,createIdentifier as _0x19cd97,ILogService as _0x29510e,ICommandService as _0x7462c,Optional as _0x37f660,RxDisposable as _0x52c72b,Workbook as _0x4df832,DOC_RANGE_TYPE as _0x4cbb3c,debounce as _0x480f0d,Rectangle as _0x44bb29,DisposableCollection as _0x4f0c87,toDisposable as _0x4b734a,UniverInstanceType as _0x25fa51,generateRandomId as _0x2b8a5d,COLORS as _0x2162bc,ColorKit as _0x5d75b4,ThemeService as _0x200d5a,fromEventSubject as _0x5026b8,Tools as _0x509f1e,CommandType as _0x488e10,IConfigService as _0xaf39b9,CanceledError as _0x309b6a,isFormulaString as _0x16ba62,isFormulaId as _0x244a3a,ILocalStorageService as _0x401375,DependentOn as _0xe8bdb1,Plugin as _0x504480,merge as _0x119aa6,registerDependencies as _0x5c9d92,mergeOverrideWithDependencies as _0x1282ba,touchDependencies as _0x3ecbaa}from'@univerjs/core';import{useObservable as _0x22378b,useDependency as _0x26b09f,IUIPartsService as _0x37320f,BuiltInUIPart as _0x4c7ebe,connectInjector as _0x4392f7,IBeforeCloseService as _0x3cd0f6,IMessageService as _0x5aac8c,INotificationService as _0x5c99d5}from'@univerjs/ui';import{BehaviorSubject as _0xefb469,switchMap as _0x163538,of as _0x1b1789,takeUntil as _0x5d9a7c,debounceTime as _0x16ada7,Subject as _0x2ecf52,filter as _0x15df19,merge as _0x212f2b,combineLatest as _0x486491,fromEvent as _0x336182,shareReplay as _0x5d780b,mapTo as _0x44ca7b,distinctUntilChanged as _0x26115a}from'rxjs';import{Tooltip as _0x9bf705,clsx as _0x5085c6,MessageType as _0x413557}from'@univerjs/design';import{useRef as _0x1fc853,createElement as _0x52bed7,forwardRef as _0xec3552,useCallback as _0x3c7968}from'react';import{IRemoteInstanceService as _0x213dc6}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x5eff69,RefRangeService as _0x4a3acd,SetSelectionsOperation as _0x40536b,SheetsSelectionsService as _0x4bec6f,EffectRefRangId as _0x37e3ca,handleIRemoveRow as _0x1c3d70,handleIRemoveCol as _0x47f10c,handleMoveRange as _0x38059d,handleInsertRow as _0x3957c8,handleInsertRangeMoveRight as _0x24b9be,handleInsertRangeMoveDown as _0x23dfff,handleInsertCol as _0x245f5c,handleDeleteRangeMoveUp as _0xb28157,handleDeleteRangeMoveLeft as _0xc65089,runRefRangeMutations as _0x89c58f}from'@univerjs/sheets';import{Shape as _0x29b4e3,Rect as _0x4d3d55,getColor as _0xe0e13e,RegularPolygon as _0x13a851,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x35411e,Vector2 as _0x5c81fa,SHEET_VIEWPORT_KEY as _0x1b7b1e,IRenderManagerService as _0xef4dde}from'@univerjs/engine-render';import{HTTPService as _0xb0aafa,ISocketService as _0x53cf78,WebSocketService as _0x4c4ca2}from'@univerjs/network';import{IDocClipboardService as _0x19ff31,NodePositionConvertToCursor as _0x2573ee,NodePositionConvertToRectRange as _0x47b2a6,TEXT_RANGE_LAYER_INDEX as _0x4973ed,SetDocZoomRatioOperation as _0x350f79,DocIMEInputManagerService as _0x208526,DocStateChangeManagerService as _0x1e4bf3}from'@univerjs/docs-ui';import{IImageIoService as _0x12a140}from'@univerjs/drawing';import{ITransformService as _0xa76561,CollaborationEvent as _0x364cbb,isTransformMutationFailure as _0x463700,isTransformMutationsWithChangesetSuccess as _0x22ff8b,RevisionService as _0x520e2c,ISnapshotServerService as _0x6fbdfe}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x50d425,RichTextEditingMutation as _0x1b9411,DocSelectionManagerService as _0x8b731d,DocSkeletonManagerService as _0x1842c9}from'@univerjs/docs';function _0x38fa(_0x6d2e16,_0x45eae1){_0x6d2e16=_0x6d2e16-0xce;const _0x4aabca=_0x4aab();let _0x38fa5b=_0x4aabca[_0x6d2e16];return _0x38fa5b;}import{deserializeRangeWithSheet as _0x236172,serializeRangeWithSheet as _0x5e08f5,FormulaExecuteStageType as _0x422184,FormulaExecutedStateType as _0x3bbcbd,SetFormulaCalculationStartMutation as _0x1ecee1,SetFormulaCalculationNotificationMutation as _0x49db29}from'@univerjs/engine-formula';import{map as _0x4ad3b0,filter as _0x1194e9,throttleTime as _0xe140a4,takeUntil as _0x25496f,switchMap as _0x46468b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2e6db2,getCoordByCell as _0x4ae2c3,getSheetObject as _0x542516}from'@univerjs/sheets-ui';function Ge({ref:_0x2a7fdc,..._0x3e867a}){const _0x30e5cd=_0x38fa,{icon:_0x1f1c31,id:_0x1513c1,className:_0x4ebfbf,extend:_0x3fd1f9,..._0xe1d57c}=_0x3e867a,_0x130f7d=(_0x30e5cd(0x108)+_0x1513c1+'\x20'+(_0x4ebfbf||''))[_0x30e5cd(0x1d2)](),_0x136b6d=_0x1fc853('_'+vi());return At(_0x1f1c31,''+_0x1513c1,{'defIds':_0x1f1c31[_0x30e5cd(0x2cb)],'idSuffix':_0x136b6d['current']},{'ref':_0x2a7fdc,'className':_0x130f7d,..._0xe1d57c},_0x3fd1f9);}function At(_0x5de33c,_0x3692ba,_0x4ddb93,_0x4a88b8,_0x38e04a){const _0x3829cc=_0x38fa;return _0x52bed7(_0x5de33c[_0x3829cc(0x189)],{'key':_0x3692ba,...gi(_0x5de33c,_0x4ddb93,_0x38e04a),..._0x4a88b8},(Ei(_0x5de33c,_0x4ddb93)[_0x3829cc(0x2a7)]||[])[_0x3829cc(0x1de)]((_0x2a6d22,_0xe2cbef)=>At(_0x2a6d22,_0x3692ba+'-'+_0x5de33c[_0x3829cc(0x189)]+'-'+_0xe2cbef,_0x4ddb93,void 0x0,_0x38e04a)));}function _0x4aab(){const _0x21abe2=['override','_document','ONLINE','getParam','_ensureSubject','Failed','trim','getConfig','sheetId','getMergeData','formula.calculation.unable','onPointerEnter$','getRenderById','registerBeforeClose','catch','ENTITLE_COUPON_USED_UP','setTimeout','replaceDocRanges','map','Error','eventID','_docStateChangeManagerService','entries','createSocket','subUnitId','getCurrentSelections','_pollingInterval','_themeService','REDEMPTION_CODE_FULLY_REDEEMED','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','ERROR_AGAIN','collaboration.closeRoom','syncEditingCollabCursor','currentColor','newValue','textRanges','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','_imageIoService','_collabCursorController','set','/universer-api/license/formula/limit/done','doc.mutation.rich-text-editing','_localCacheService','collab-client.tooltip.reconnect','defs','NO_OTHER_CLIENTS_EDITING','imageSourceType','USERS_LEAVE','_maxFormulaLimit','CHANGESET_REVISION_CONFILICT','_initWindowErrorListener','urlChange$','getValue','loadOfflineData','_registerRenderDependencies','REDEMPTION_CODE_INACTIVE','_getMergeRange','unsubscribe','then','memberID','_docTransformIMECacheService','INTERNAL_ERROR','PENDING','getRangePointData','_startCalculationLimit','SNAPSHOT_INVALID_SNAPSHOT','\x20at\x20','history','_range','_send','UNIVER_SHEET','width','DATA_SOURCE_TOO_LARGE','_getScale','onLocalMutation','_taskIds','_handleJoinEvent','addClipboardHook','_initUserListener','PY_RUNTIME_SCRIPT_ERROR','_updateURLWithCurrentState','_selfUnitIDs','setInterval','saveImage','http://www.w3.org/2000/svg','focused$','column','ENTITLE_CAN_NOT_BUY_LOWER_OTP','beginPath','2853921JMOBeG','_releaseCalculationLimit','_initResize','_cursorShapes','90096vZjRRs','collaboration.single-unit.warning','startsWith','REDEMPTION_INVALID_CODE','InsertRowCommandId','parseInt','result','_docTransformStateCacheService','_startDocCollabCursor','NOT_COLLAB','ENTITLE_USE_COUPON_NOT_1ST_TRADE','dispose','getActiveRange','wsSessionTicketUrl','USER_NOT_INVITED_CODE','_docClipboardService','registerRefRange','next','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStateCache','permission.title','add','makeDirty','SOCKET_FAILED','all','getColorFromTheme','_notificationService','YUUMI_AI_RUN_FAILED','endRow','_cursorInfo$','_onCursorUpdate','saveTaskMap','InsertRangeMoveDownCommandId','_memberID','getAncestorScale','editingUnit','string','off-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','getOffsetConfig','UniverIcon','_cursors','_messageService','reason','key','_getSheetObject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','post','lineTo','white','/run/','FromArray','xlink:href','selections','transformByState','transformMutationsWithChangeset','_initEntityListener','setItem','_configService','none','svg','MOBILE_HAS_BEEN_BOUND','1332tuwVVw','_showGuardMessage','hide','_removeClearOtherTimer','_memberService','addObject','collaboration-client-ui.config','bottom','YUUMI_RATE_OVER_LIMIT','_status$','href','exhaustSavingTask','startFormulaLimitUrl','displayName','getUnitId','_scheduleClearOtherTimer','UPDATE_CURSOR','getCurrentUnitForType','unshift','0\x200\x2017\x2016','delete','permission.content','_drawAnchor','getCollabCursors$','_shapes','[CollaborationDataLoaderController]','contains','clearInterval','on-line-icon_clip0_910_349','APPLY_REJECT','disposeWithMe','UNDEFINED','collabStatus.offline','session.will-retry','_uploadLog','searchParams','url(#$1','_context','260xugwhc','_transformService','currentTheme$','toRgbString','getMemberID','startRow','location','roomMembers','LICENSE_DISTRO_REJECTED','maxFormulaLimit','_unitOnClients','_initCommandInterceptor','_checkCalculationAvailable','_onCursorDelete','complete','JOIN_ROOM_FAILED','_session','ENTITLE_REPORT_LIMIT_EXCEED','setShapeProps','LICENSE_IMPORT_SIZE_EXCEEDED','ranges','_applyCommand','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_scheduleHeartbeat','length','children','flatMap','row','bind','_sheetSkeletonManagerService','colorChannel1','fillStyle','fillText','?taskId=','getItem','socket$','pipe','isArray','random','min','onPointerLeave$','SUBMIT_CHANGESET_TIMEOUT','_online','_toggleOnline','_heartbeatTimer','runOnServer','stageInfo','removeEventListener','OffLineIcon','CURRENT_STATUS_CANNOT_OPERATE','REDEMPTION_CODE_NOT_STARTED','RECT','hovered','replace','fill','INVITE_CODE_REQUIRED','UNAUTHENTICATED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','mask','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','defIds','getMember','error','0\x200\x2016\x2016','_transformUndoRedoStack','_backgroundColor','clipPath','getSheetId','substring','VIEW_MAIN','lineno','deepClone','_initEvent','AWAITING_WITH_PENDING','onStarting','transform','_transformPreviousActiveRange','NOT_FOUND','red.300','getUnhiddenWorksheets','_collabCursorState$','off-line-icon_clip0_910_343','_initCommandExecutedListener','PAYMENT_CHANNEL_NOT_SUPPORT','range','_updateLocalCursor','getStateCache','from','push','path','shift','unload','_collaborationUIEventService','YUUMI_UNABLE_LOAD_URL','source','TEXT','purple.300','_color','_injector','_entityInit$','fillRule','1909486sFQnaY','1143746AehNWK','_name','FETCH_MISS','moveTo','setAlpha','executeCommand','ALREADY_EXISTS','_uiPartsService','_removeCollabCursors','MoveRangeCommandId','_eventUnsubscribe','collabStatus.notCollab','APPLY_PERMISSION_DENIED','_logService','get','_scheduleSaving','YUUMI_NO_CUBOID_FOR_QUESTION','registerRenderModule','_handleHover','loadUnit','RemoveColCommandId','init','sessionStatus$','rgba(255,\x20255,\x20255,\x200.01)','split','ENTITLE_COUPON_EXPIRED','updateOfflineData','subscribeEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_localStorageService','OnLineIcon','filename','_entities','_renderManagerService','Warning','executionId','onPointerMove$','activeSheet$','ENTITLE_INVALID_COUPON_CODE','YUUMI_ALL_TABLES_IS_INVALID','m2Prime','yellow.400','docStateChange$','code','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','dispose$','MUTATION','INVITE_CODE_ALREADY_BOUND','_unitStatus','params','join','ENTITLE_DUP_SUBSCRIPTION','dirtyRanges','onCommandExecuted','LICENSE_EXPORT_SIZE_EXCEEDED','_currentUsage','attrs','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','_draw','assign','uni.network.url-service','START_CALCULATION','_collabSessionService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_clearOtherTimers','8qOAtza','getOwnPropertyDescriptor','_urlService','restore','clearTimeout','type','12431898ybinYp','evenodd','_startSheetCollabCursor','getFocusedUnit','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','disposeUnit','transformMutation','INVALID_INVITE_CODE','height','beforeCommandExecuted','unit','getVpScrollXYInfoByPosToVp','1em','_refRangeService','ENTITLE_NEED_BILLING_ADDRESS','_instanceService','includes','roomMembers$','origin','transformSelections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_HAS_BEEN_CREATED','createInstance','subscribe','7513yPxHry','show','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mutations','setParam','_assignedColors','black','debug','drawWith','_refreshCollabCursors','univerjs-icon\x20univerjs-icon-','with','entityInit$','enableFrontendLog','#FFF','univer-flex\x20univer-items-center','selection','USER_NOT_FOUND','m1Prime','_colorAssignService','transformRemoteChangeset','_colorIndex','_roomMembers$','_toggleOffline','actions','send','idSuffix','_handleEvent','max','onRendered','event$','transformIMECache','message','_monkeyPatchLogService','arc','functionsExecutedState','name','APPLY_REVISION_CONFILICT','_collaborationController','cursorInfo','round','APPLY_NON_SEQUENTIAL_REVISION','OFFLINE','Unknown\x20user','getUndoRedoMutationParamsCache','/universer-api/license/formula/limit/start','_getFormulaLimitStatus','registerComponent','_collaborationSessionService','asObservable','limitInfo','defineProperty','collabStatus.syncing','session.connection-failed','_createSocketURL','_setupSubUnitSync','text','getFormulaLimitStatusUrl','measureText','_initDependencies','body','getCellPositionByOffset','_updateSubUnitFromURLParams','enableLocalCache','runId','LOGIN_FAILED','findNodePositionByCharIndex','collaboration.offline-data-not-saved','invokeId','_checkAndWaitForCalculationPermission','_getSaveTimeout','OTHER_CLIENTS_EDITING','releaseFormulaLimitUrl','_scene','_docSkeletonManagerService','_localeService','UNRECOGNIZED','pluginName','_docSyncEditingCollabCursorService','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','_lastPointer','forEach','...','Success','subunit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getSessionTicket','values','blue.400','requireSession','toString','_clearPolling','_onRefRangeChange','colno','div','_textBubble','totalFormulasToCalculate','resize','url(#on-line-icon_clip0_910_349)','reconnect','setConfig','_updateCollabCursors','AUTHORIZE_CODE_ILLEGAL','EMAIL_HAS_BEEN_BOUND','_render','isEditing','engine','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','USER_IS_ANONYMOUS','_lastResponseTimestamp','[Unhandled\x20Rejection]:\x20','setUndoRedoMutationParamsCache','unitId','SNAPSHOT_HAS_BEEN_REMOVED','assignAColorForMemberID','color','INVALID_ARGUMENT','_saveTaskMap','has','size','top','_hover','CLOSE_ROOM','data','save','getTypeOfUnitAdded$','stringify','_init','REDEMPTION_USER_NOT_ELIGIBLE','_registerDependencies','application/json','_hideTimer','/universer-api/license/formula/limit/status','_httpService','translate(.97)','unitID','getSheetBySheetId','tag','getTypeOfUnitDisposed$','_config','_cachedData','_getAnchorBounding','ENSURE_SNAPSHOT_EXECUTION','TOO_MANY_REQUESTS','stack','setStateCache','_anchor','_saveCache','_univerInstanceService','UNIVER_DOC','getViewport','getSkeleton','_hovered','EMAIL_VERIFY_CODE_MISMATCH','isActive','_transformHistoryAndStateStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_INSUFFICIENT_QUOTA','collab-rect-range-','pushState','_anchorDot','_labelPosition','onMouseMove','replaceState','APPLY_DUPLICATED','RemoveRowCommandId','cursorInfo$','_setFormulaLimitStatus','InsertColCommandId','COMPLETION_FINISHED','now','_docTransformSelectionsService','MOBILE_VERIFY_CODE_MISMATCH','collab-text-anchor-','DeleteRangeMoveUpCommandId','backgroundColor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','_initStatusListener','_docSkeleton','currentUsage','endColumn','getCurrentRevOfUnit','addHandlerCallback','_cursor','getRelativeToViewportCoord','Loading','triggerDblclick','redoState','_beforeCloseService','_dataLoaderService','undoState','[Window\x20Error]:\x20','_handleHeartbeatEvent','_hasFormulaInDirtyRanges','startColumn','parse','storage','addEventListener','_id','/universer-api/frontend/logs','PERMISSION_DENIED','12732fBKmkc','17130FYKUfo'];_0x4aab=function(){return _0x21abe2;};return _0x4aab();}function gi(_0xa9d597,_0x58b832,_0x5787de){const _0x47504f=_0x38fa,_0x97f2fd={..._0xa9d597[_0x47504f(0xd4)]};_0x5787de!=null&&_0x5787de[_0x47504f(0x2ac)]&&_0x97f2fd[_0x47504f(0x2c4)]===_0x47504f(0x2ac)&&(_0x97f2fd['fill']=_0x5787de['colorChannel1']),_0xa9d597[_0x47504f(0x189)]===_0x47504f(0x2c9)&&_0x97f2fd['id']&&(_0x97f2fd['id']=_0x97f2fd['id']+_0x58b832[_0x47504f(0x118)]),Object[_0x47504f(0x1e2)](_0x97f2fd)['forEach'](([_0x414f56,_0x2e342a])=>{const _0x3765d2=_0x47504f;_0x414f56==='mask'&&typeof _0x2e342a==_0x3765d2(0x24d)&&(_0x97f2fd[_0x414f56]=_0x2e342a[_0x3765d2(0x2c3)](/url\(#(.*)\)/,_0x3765d2(0x28c)+_0x58b832[_0x3765d2(0x118)]+')'));});const {defIds:_0x42a258}=_0x58b832;return!_0x42a258||_0x42a258[_0x47504f(0x2a6)]===0x0||(_0xa9d597[_0x47504f(0x189)]==='use'&&_0x97f2fd['xlink:href']&&(_0x97f2fd['xlink:href']=_0x97f2fd[_0x47504f(0x25e)]+_0x58b832[_0x47504f(0x118)]),Object[_0x47504f(0x1e2)](_0x97f2fd)[_0x47504f(0x150)](([_0x16631a,_0x2d9426])=>{const _0x20634e=_0x47504f;typeof _0x2d9426=='string'&&(_0x97f2fd[_0x16631a]=_0x2d9426['replace'](/url\(#(.*)\)/,_0x20634e(0x28c)+_0x58b832[_0x20634e(0x118)]+')'));})),_0x97f2fd;}function Ei(_0x306b22,_0x1f090f){const _0x1b96f3=_0x38fa;var _0x31f15f;const {defIds:_0x5776e0}=_0x1f090f;return!_0x5776e0||_0x5776e0[_0x1b96f3(0x2a6)]===0x0?_0x306b22:_0x306b22['tag']===_0x1b96f3(0x1f8)&&((_0x31f15f=_0x306b22[_0x1b96f3(0x2a7)])!=null&&_0x31f15f['length'])?{..._0x306b22,'children':_0x306b22[_0x1b96f3(0x2a7)][_0x1b96f3(0x1de)](_0x3619b2=>typeof _0x3619b2[_0x1b96f3(0xd4)]['id']==_0x1b96f3(0x24d)&&_0x5776e0&&_0x5776e0['includes'](_0x3619b2[_0x1b96f3(0xd4)]['id'])?{..._0x3619b2,'attrs':{..._0x3619b2[_0x1b96f3(0xd4)],'id':_0x3619b2['attrs']['id']+_0x1f090f[_0x1b96f3(0x118)]}}:_0x3619b2)}:_0x306b22;}function vi(){const _0x6468af=_0x38fa;return Math[_0x6468af(0x2b4)]()[_0x6468af(0x159)](0x24)[_0x6468af(0x2d3)](0x2,0x8);}Ge[_0x1e40b1(0x275)]=_0x1e40b1(0x251);const pi={'tag':_0x1e40b1(0x266),'attrs':{'xmlns':_0x1e40b1(0x220),'fill':_0x1e40b1(0x265),'viewBox':_0x1e40b1(0x2ce),'width':_0x1e40b1(0xf2),'height':_0x1e40b1(0xf2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1e40b1(0x1ed),'d':_0x1e40b1(0x1f0),'strokeLinecap':_0x1e40b1(0x126),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1e40b1(0x1f8),'attrs':{},'children':[{'tag':_0x1e40b1(0x2d1),'attrs':{'id':_0x1e40b1(0x2e0)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1e40b1(0x2e0)]},Pt=_0xec3552(function(_0x4d65be,_0xa64874){const _0x5e4d2e=_0x1e40b1;return _0x52bed7(Ge,Object[_0x5e4d2e(0xd9)]({},_0x4d65be,{'id':_0x5e4d2e(0x24e),'ref':_0xa64874,'icon':pi}));});Pt['displayName']=_0x1e40b1(0x2be);const Oi={'tag':_0x1e40b1(0x266),'attrs':{'xmlns':_0x1e40b1(0x220),'fill':'none','viewBox':_0x1e40b1(0x27b),'width':_0x1e40b1(0xf2),'height':_0x1e40b1(0xf2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1e40b1(0x161)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'stroke':_0x1e40b1(0x1ed),'d':_0x1e40b1(0x1e9),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1e40b1(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1e40b1(0x284)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'fill':_0x1e40b1(0x25b),'d':'M0\x200H16V16H0z','transform':_0x1e40b1(0x186)}}]}]}],'defIds':[_0x1e40b1(0x284)]},wt=_0xec3552(function(_0x5e62ba,_0x33edea){const _0x5146dd=_0x1e40b1;return _0x52bed7(Ge,Object[_0x5146dd(0xd9)]({},_0x5e62ba,{'id':'on-line-icon','ref':_0x33edea,'icon':Oi}));});wt[_0x1e40b1(0x275)]=_0x1e40b1(0x313);function Ti(_0x56fce1){const _0x1a37d9=_0x1e40b1;switch(_0x56fce1){case _0x126115[_0x1a37d9(0x128)]:return _0x1a37d9(0x288);case _0x126115['CONFLICT']:return'collabStatus.conflict';case _0x126115[_0x1a37d9(0x2f7)]:return _0x1a37d9(0x258);case _0x126115[_0x1a37d9(0x232)]:return _0x1a37d9(0x300);case _0x126115['AWAITING']:case _0x126115[_0x1a37d9(0x2d8)]:return _0x1a37d9(0x132);case _0x126115['SYNCED']:case _0x126115[_0x1a37d9(0x20a)]:return'collabStatus.synced';}}function Ci(_0x30fe4d){const _0x537284=_0x1e40b1,{status$:_0x118911}=_0x30fe4d,_0x4a4a8e=_0x22378b(_0x118911,_0x126115[_0x537284(0x232)]),_0x3de569=_0x26b09f(_0x51435d),_0x400717=_0x26b09f(_0x38b52a),_0x53bf09=_0x4a4a8e!==_0x126115[_0x537284(0x128)],_0x1ecaab=_0x3de569['t'](Ti(_0x4a4a8e)),_0x3ecdb0=_0x53bf09?_0x536d58(wt,{}):_0x536d58(Pt,{}),_0x38fa27=_0x3c7968(()=>{const _0x3d978d=_0x537284;_0x53bf09||_0x400717[_0x3d978d(0x162)]();},[_0x53bf09,_0x400717]);function _0x370092(){const _0x463325=_0x537284;return _0x1a093a(_0x463325(0x15d),{'className':_0x463325(0x10d),'onClick':_0x38fa27,'children':[_0x536d58(_0x463325(0x15d),{'className':_0x5085c6('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x53bf09,'univer-text-red-500':!_0x53bf09}),'children':_0x3ecdb0}),_0x536d58(_0x463325(0x15d),{'className':_0x463325(0xfa),'children':_0x1ecaab})]});}return _0x53bf09?_0x370092():_0x536d58(_0x9bf705,{'title':_0x3de569['t'](_0x537284(0x1f7)),'children':_0x370092()});}var Ri=Object[_0x1e40b1(0xe0)],Di=(_0x147769,_0x466bff,_0x1f0d47,_0x16a281)=>{const _0x264128=_0x1e40b1;for(var _0x3af0f4=_0x16a281>0x1?void 0x0:_0x16a281?Ri(_0x466bff,_0x1f0d47):_0x466bff,_0x1b5ea1=_0x147769[_0x264128(0x2a6)]-0x1,_0x3edcb8;_0x1b5ea1>=0x0;_0x1b5ea1--)(_0x3edcb8=_0x147769[_0x1b5ea1])&&(_0x3af0f4=_0x3edcb8(_0x3af0f4)||_0x3af0f4);return _0x3af0f4;},se=(_0x461c2,_0xacd8e2)=>(_0x287ad7,_0x212360)=>_0xacd8e2(_0x287ad7,_0x212360,_0x461c2);let ae=class extends _0x4e2370{constructor(_0x143487,_0x1288e0,_0x20e6d6,_0x8f7fcd){const _0x4a980e=_0x1e40b1;super(),_(this,_0x4a980e(0x271),new _0xefb469(_0x126115[_0x4a980e(0x232)])),(this['_univerInstanceService']=_0x143487,this[_0x4a980e(0x2f1)]=_0x1288e0,this[_0x4a980e(0x124)]=_0x20e6d6,this['_uiPartsService']=_0x8f7fcd,this[_0x4a980e(0xea)](),this[_0x4a980e(0x1b2)]());}['_initStatusListener'](){const _0x434033=_0x1e40b1;this[_0x434033(0x286)](this[_0x434033(0x194)][_0x434033(0x221)][_0x434033(0x2b2)](_0x163538(()=>{const _0x33f4b8=_0x434033,_0x580411=this['_univerInstanceService']['getFocusedUnit']();return _0x580411?this[_0x33f4b8(0x124)]['getCollabEntity$'](_0x580411[_0x33f4b8(0x276)]()):_0x1b1789(null);}),_0x163538(_0x1d1870=>_0x1d1870?_0x1d1870['status$']:_0x1b1789(_0x126115[_0x434033(0x232)])))[_0x434033(0xfd)](_0x20dd57=>{const _0xa529f8=_0x434033;this[_0xa529f8(0x271)][_0xa529f8(0x23a)](_0x20dd57);}));}[_0x1e40b1(0xea)](){const _0x25e69c=_0x1e40b1;this['disposeWithMe'](this[_0x25e69c(0x2fc)][_0x25e69c(0x12d)](_0x4c7ebe[_0x25e69c(0x1b1)],()=>_0x4392f7(Ni({'status$':this[_0x25e69c(0x271)][_0x25e69c(0x12f)]()}),this[_0x25e69c(0x2f1)])));}};ae=Di([se(0x0,_0x161ad0),se(0x1,_0x2c0e45(_0x3fc224)),se(0x2,_0x2c0e45(_0x465340)),se(0x3,_0x37320f)],ae);function Ni(_0x45eb45){const {status$:_0x2e0fd1}=_0x45eb45;return function(){return _0x536d58(Ci,{'status$':_0x2e0fd1});};}const yt=_0x19cd97(_0x1e40b1(0xda));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x41e74e,_0x338b53,_0x5ba719,_0x2167df)=>{const _0x2b60cf=_0x1e40b1;for(var _0x249ac7=_0x2167df>0x1?void 0x0:_0x2167df?bi(_0x338b53,_0x5ba719):_0x338b53,_0x430c47=_0x41e74e[_0x2b60cf(0x2a6)]-0x1,_0x12a28a;_0x430c47>=0x0;_0x430c47--)(_0x12a28a=_0x41e74e[_0x430c47])&&(_0x249ac7=_0x12a28a(_0x249ac7)||_0x249ac7);return _0x249ac7;},K=(_0x30b62e,_0x14f274)=>(_0x361ce5,_0x4d7cc1)=>_0x14f274(_0x361ce5,_0x4d7cc1,_0x30b62e);let ce=class extends _0x52c72b{constructor(_0x5840c0,_0x177056,_0x379df6,_0x5a398f,_0xf9a430){const _0x9cbc8f=_0x1e40b1;super(),this[_0x9cbc8f(0xe1)]=_0x5840c0,this[_0x9cbc8f(0x302)]=_0x177056,this[_0x9cbc8f(0x2c8)]=_0x379df6,this[_0x9cbc8f(0x1be)]=_0x5a398f,_0xf9a430?_0xf9a430==null||_0xf9a430['whenReady']()[_0x9cbc8f(0x206)](()=>this[_0x9cbc8f(0x17f)]()):(this[_0x9cbc8f(0x302)][_0x9cbc8f(0x105)](_0x9cbc8f(0x281),_0x9cbc8f(0xdd)),this['_init']());}async[_0x1e40b1(0x17f)](){const _0x49bc54=_0x1e40b1,_0x1b0271=this['_urlService']['getParam'](_0x49bc54(0xf0)),_0x312b3c=this['_urlService']['getParam']('type'),_0x14aee8=this[_0x49bc54(0xe1)][_0x49bc54(0x1cf)](_0x49bc54(0x153));if(!_0x1b0271||!_0x312b3c){this[_0x49bc54(0x302)][_0x49bc54(0x105)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4f44d8=await this[_0x49bc54(0x1be)][_0x49bc54(0x308)](_0x1b0271,Number(_0x312b3c),_0x14aee8);_0x4f44d8&&_0x4f44d8 instanceof _0x4df832&&this[_0x49bc54(0x135)](_0x4f44d8);}async['_setupSubUnitSync'](_0x210b19){const _0x4ff856=_0x1e40b1;await this[_0x4ff856(0x13c)](_0x210b19),_0x210b19[_0x4ff856(0x31a)]['pipe'](_0x5d9a7c(this['dispose$']))[_0x4ff856(0xfd)](_0x5f21eb=>{_0x5f21eb&&this['_updateURLWithCurrentState'](_0x5f21eb);}),this['_urlService']['urlChange$'][_0x4ff856(0x2b2)](_0x5d9a7c(this['dispose$']))[_0x4ff856(0xfd)](()=>this['_updateSubUnitFromURLParams'](_0x210b19));}['_updateURLWithCurrentState'](_0xc68c47,_0x202af5=!0x1){const _0x5517cd=_0x1e40b1,_0x46bc68=this[_0x5517cd(0xe1)]['getParam'](_0x5517cd(0x153));_0xc68c47['getSheetId']()!==_0x46bc68&&this[_0x5517cd(0xe1)][_0x5517cd(0x102)](_0x5517cd(0x153),_0xc68c47[_0x5517cd(0x2d2)](),_0x202af5);}async[_0x1e40b1(0x13c)](_0x499aa1){const _0x1108ef=_0x1e40b1;var _0x2249a1;const _0x147cd=this[_0x1108ef(0xe1)][_0x1108ef(0x1cf)](_0x1108ef(0x153));if(!_0x147cd||!_0x499aa1[_0x1108ef(0x188)](_0x147cd)){const _0x1f5e08=_0x499aa1[_0x1108ef(0x2de)]()[0x0],_0x6dcb49=_0x499aa1['getSheetBySheetId'](_0x1f5e08);if(!_0x6dcb49)return;this[_0x1108ef(0x21c)](_0x6dcb49,!0x0),await this[_0x1108ef(0x2c8)][_0x1108ef(0x2fa)](_0x5eff69['id'],{'unitId':_0x499aa1[_0x1108ef(0x276)](),'subUnitId':_0x1f5e08});return;}((_0x2249a1=_0x499aa1['getActiveSheet']())==null?void 0x0:_0x2249a1[_0x1108ef(0x2d2)]())!==_0x147cd&&await this['_commandService']['executeCommand'](_0x5eff69['id'],{'unitId':_0x499aa1[_0x1108ef(0x276)](),'subUnitId':_0x147cd});}};ce=Li([K(0x0,yt),K(0x1,_0x29510e),K(0x2,_0x7462c),K(0x3,_0x2c0e45(_0x19e9f7)),K(0x4,_0x37f660(_0x213dc6))],ce);var Ui=Object[_0x1e40b1(0xe0)],Mi=(_0x409070,_0x23fac5,_0x3f9334,_0x5ca9ce)=>{const _0x1cf64d=_0x1e40b1;for(var _0x25e542=_0x5ca9ce>0x1?void 0x0:_0x5ca9ce?Ui(_0x23fac5,_0x3f9334):_0x23fac5,_0x29358b=_0x409070[_0x1cf64d(0x2a6)]-0x1,_0x462317;_0x29358b>=0x0;_0x29358b--)(_0x462317=_0x409070[_0x29358b])&&(_0x25e542=_0x462317(_0x25e542)||_0x25e542);return _0x25e542;},rt=(_0x3f0917,_0xc9a69c)=>(_0x4702a2,_0x3d0b3b)=>_0xc9a69c(_0x4702a2,_0x3d0b3b,_0x3f0917);let $e=class extends _0x52c72b{constructor(_0x420ee8,_0x6d8b31){const _0x1650a1=_0x1e40b1;super(),this[_0x1650a1(0x238)]=_0x420ee8,this[_0x1650a1(0x1f1)]=_0x6d8b31,this[_0x1650a1(0x17f)]();}[_0x1e40b1(0x17f)](){const _0x49b92a=_0x1e40b1,_0x3e48a9=this;this[_0x49b92a(0x286)](this['_docClipboardService'][_0x49b92a(0x219)]({'onBeforePasteImage':async _0x36a942=>{const _0x63d1bc=_0x49b92a,_0x4f9dfa=await _0x3e48a9[_0x63d1bc(0x1f1)][_0x63d1bc(0x21f)](_0x36a942);return _0x4f9dfa?{'source':_0x4f9dfa[_0x63d1bc(0x2ed)],'imageSourceType':_0x4f9dfa[_0x63d1bc(0x1fa)]}:null;}}));}};$e=Mi([rt(0x0,_0x19ff31),rt(0x1,_0x12a140)],$e);const ot=[_0x1e40b1(0x2ef),'jiqing.500','green.600',_0x1e40b1(0x2dd),_0x1e40b1(0x157),_0x1e40b1(0x31e)];class Ke extends _0x4e2370{constructor(){const _0x414d81=_0x1e40b1;super(...arguments),_(this,_0x414d81(0x103),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5edea0){const _0x15fa9d=_0x1e40b1;if(this[_0x15fa9d(0x103)]['has'](_0x5edea0))return this[_0x15fa9d(0x103)][_0x15fa9d(0x303)](_0x5edea0);const _0x2125e6=ot[this[_0x15fa9d(0x113)]];return this[_0x15fa9d(0x113)]=(this[_0x15fa9d(0x113)]+0x1)%ot['length'],this[_0x15fa9d(0x103)][_0x15fa9d(0x1f3)](_0x5edea0,_0x2125e6),_0x2125e6;}}function $t(_0x5e9b93){const _0x29e9d1=_0x1e40b1;let _0x566369='';for(const _0x5a161d of _0x5e9b93){const {startOffset:_0x5928f5,endOffset:_0x3eb373,isActive:_0x1c5bba,rangeType:_0x59aa70,segmentId:_0x4cf562,segmentPage:_0x4e120c}=_0x5a161d;_0x566369[_0x29e9d1(0x2a6)]&&(_0x566369+=','),_0x566369+=_0x5928f5+':'+_0x3eb373+':'+(_0x1c5bba?'1':'0')+':'+_0x59aa70+':'+_0x4cf562+':'+_0x4e120c;}return _0x566369;}function Ai(_0x23e71e){const _0x1dec89=_0x1e40b1,_0x2e4c3d=_0x23e71e[_0x1dec89(0x30d)](','),_0x567811=[];for(const _0xdff395 of _0x2e4c3d){const [_0x4d50fb,_0x99e18a,_0x4b020e,_0x5ef966,_0x12db64,_0x1f9e05]=_0xdff395['split'](':');_0x567811['push']({'startOffset':Number(_0x4d50fb),'endOffset':Number(_0x99e18a),'collapsed':_0x4d50fb===_0x99e18a,'isActive':_0x4b020e==='1','rangeType':_0x5ef966===_0x4cbb3c[_0x1dec89(0x2ee)]?_0x4cbb3c[_0x1dec89(0x2ee)]:_0x4cbb3c['RECT'],'segmentId':typeof _0x12db64=='string'?String(_0x12db64):'','segmentPage':Number(_0x1f9e05!=null?_0x1f9e05:-0x1)});}return _0x567811['some'](_0x46d519=>_0x46d519[_0x1dec89(0x19a)])||(_0x567811[0x0][_0x1dec89(0x19a)]=!0x0),_0x567811;}class ze extends _0x52c72b{constructor(){const _0x55d8b5=_0x1e40b1;super(...arguments),_(this,_0x55d8b5(0x2df),new _0xefb469(null)),_(this,_0x55d8b5(0xd5),this[_0x55d8b5(0x2df)][_0x55d8b5(0x12f)]());}['syncEditingCollabCursor'](_0x4792b7){const _0x274afe=_0x1e40b1,{unitID:_0x575714,memberID:_0x257c29,textRanges:_0x29a206}=_0x4792b7,_0x14c8c3=$t(_0x29a206);if(_0x14c8c3==='')return;const _0x1118fb={'unitID':_0x575714,'memberID':_0x257c29,'selection':_0x14c8c3};this[_0x274afe(0x2df)]['next'](_0x1118fb);}}var Pi=Object[_0x1e40b1(0xe0)],wi=(_0x3680f0,_0x5303a9,_0x1162a6,_0x281fbf)=>{const _0x486b78=_0x1e40b1;for(var _0x3208a1=_0x281fbf>0x1?void 0x0:_0x281fbf?Pi(_0x5303a9,_0x1162a6):_0x5303a9,_0x44983b=_0x3680f0[_0x486b78(0x2a6)]-0x1,_0x5f4e5e;_0x44983b>=0x0;_0x44983b--)(_0x5f4e5e=_0x3680f0[_0x44983b])&&(_0x3208a1=_0x5f4e5e(_0x3208a1)||_0x3208a1);return _0x3208a1;},A=(_0x508648,_0x153f10)=>(_0x3cce0a,_0x4d8cda)=>_0x153f10(_0x3cce0a,_0x4d8cda,_0x508648);const yi=0x12c,$i=0x64;let xe=class extends _0x52c72b{constructor(_0x10fabf,_0x87b015,_0x483a14,_0x442df9,_0x1de20d,_0x3acac6,_0x1b877e,_0x490d5e,_0x42486a){const _0x5c48a3=_0x1e40b1;super(),_(this,'_online',!0x1),_(this,_0x5c48a3(0x17f),!0x1),_(this,_0x5c48a3(0x246),new _0xefb469(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x5c48a3(0x114),new _0xefb469([])),_(this,_0x5c48a3(0xf7),this[_0x5c48a3(0x114)][_0x5c48a3(0x2b2)](_0x16ada7(yi))),_(this,_0x5c48a3(0x2e4),_0x480f0d(_0x9786ff=>{const _0x18a351=_0x5c48a3,_0x2f54a7={'eventID':_0x364cbb['UPDATE_CURSOR'],'data':{'unitID':this[_0x18a351(0x187)],'memberID':this[_0x18a351(0x29e)][_0x18a351(0x292)](),'selection':$t(_0x9786ff)}};this['_session'][_0x18a351(0x117)](_0x2f54a7,this[_0x18a351(0x187)]);},$i)),(this[_0x5c48a3(0x187)]=_0x10fabf,this[_0x5c48a3(0x29e)]=_0x87b015,this[_0x5c48a3(0x2f1)]=_0x483a14,this[_0x5c48a3(0x111)]=_0x442df9,this[_0x5c48a3(0x26c)]=_0x1de20d,this['_syncEditingCollabCursorService']=_0x3acac6,this[_0x5c48a3(0x28f)]=_0x1b877e,this[_0x5c48a3(0x194)]=_0x490d5e,this[_0x5c48a3(0x2c8)]=_0x42486a);}get[_0x1e40b1(0x125)](){const _0x1946b9=_0x1e40b1;return this[_0x1946b9(0x246)][_0x1946b9(0x200)]();}get['roomMembers'](){const _0x38e755=_0x1e40b1;return this[_0x38e755(0x114)][_0x38e755(0x200)]();}[_0x1e40b1(0x234)](){const _0x5d8a63=_0x1e40b1;super['dispose'](),this['_cursorInfo$'][_0x5d8a63(0x23a)](new Map()),this[_0x5d8a63(0x246)][_0x5d8a63(0x29c)](),this['_roomMembers$'][_0x5d8a63(0x23a)]([]),this['_roomMembers$'][_0x5d8a63(0x29c)]();}[_0x1e40b1(0x30a)](){const _0x30c186=_0x1e40b1;this['_init']||(this[_0x30c186(0x17f)]=!0x0,this[_0x30c186(0x29e)][_0x30c186(0x30b)][_0x30c186(0x2b2)](_0x5d9a7c(this[_0x30c186(0x323)]))['subscribe'](_0x4e3b2a=>{const _0x309a05=_0x30c186;_0x4e3b2a===_0x5c067f[_0x309a05(0x1ce)]?this['_toggleOnline']():this[_0x309a05(0x115)]();}),this[_0x30c186(0x29e)]['event$'][_0x30c186(0x2b2)](_0x5d9a7c(this[_0x30c186(0x323)]))[_0x30c186(0xfd)](_0x4d4360=>{const _0x47bc74=_0x30c186,_0x537e8a=_0x4d4360[_0x47bc74(0x1e0)];_0x537e8a===_0x364cbb[_0x47bc74(0x278)]&&this[_0x47bc74(0x247)](_0x4d4360),_0x537e8a===_0x364cbb[_0x47bc74(0x1fb)]&&this[_0x47bc74(0x29b)](_0x4d4360);}),this[_0x30c186(0x286)](this[_0x30c186(0x2c8)][_0x30c186(0xd1)](_0x3ae486=>{const _0x20f898=_0x30c186,_0x5f56ab=_0x3ae486[_0x20f898(0x327)];_0x5f56ab!=null&&this[_0x20f898(0x2b8)]&&_0x3ae486['id']===_0x50d425['id']&&_0x5f56ab[_0x20f898(0x170)]===this[_0x20f898(0x187)]&&_0x5f56ab[_0x20f898(0x168)]===!0x1&&_0x5f56ab[_0x20f898(0x2a2)][_0x20f898(0x2a6)]>0x0&&this[_0x20f898(0x2e4)](_0x5f56ab['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x5d9a7c(this['dispose$']))[_0x30c186(0xfd)](_0x1d6e87=>{const _0x591193=_0x30c186;if((_0x1d6e87==null?void 0x0:_0x1d6e87[_0x591193(0x187)])!==this['unitID'])return;const _0x4994b7={'eventID':_0x364cbb[_0x591193(0x278)],'data':_0x1d6e87};this[_0x591193(0x247)](_0x4994b7);}),this['disposeWithMe'](this['_commandService'][_0x30c186(0xd1)](_0x134c56=>{const _0x10c6c5=_0x30c186;if(_0x134c56[_0x10c6c5(0x327)]==null)return;const _0x11d686=_0x134c56[_0x10c6c5(0x327)];if(_0x134c56['id']!==_0x1b9411['id']||_0x11d686[_0x10c6c5(0x170)]!==this[_0x10c6c5(0x187)])return;const _0x415da1={'id':'doc.mutation.rich-text-editing','params':_0x11d686},_0x455c23=this[_0x10c6c5(0x125)];for(const [_0x4d1e3b,_0xbc882a]of _0x455c23){const _0x9e362f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10c6c5(0x187)],'actions':null,'textRanges':_0xbc882a['ranges']}},_0x29a7c3=this[_0x10c6c5(0x28f)]['transformMutation'](_0x415da1,_0x9e362f,!0x1);if(_0x463700(_0x29a7c3))throw _0x29a7c3[_0x10c6c5(0x2cd)];_0x455c23['set'](_0x4d1e3b,{..._0xbc882a,'ranges':_0x29a7c3[_0x10c6c5(0x31d)][_0x10c6c5(0x327)][_0x10c6c5(0x1ef)]});}queueMicrotask(()=>{const _0x3d1b32=_0x10c6c5;this[_0x3d1b32(0x246)][_0x3d1b32(0x23a)](_0x455c23);});})));}['_onCursorUpdate'](_0x2b25d2){const _0x284dd3=_0x1e40b1;var _0x10ed16,_0x1b5b1c;const {memberID:_0x2d21d9,selection:_0x3c89c5}=_0x2b25d2[_0x284dd3(0x17b)],_0x3efa13=Ai(_0x3c89c5),_0x39b42c=(_0x1b5b1c=(_0x10ed16=this[_0x284dd3(0x26c)][_0x284dd3(0x2cc)](this[_0x284dd3(0x187)],_0x2d21d9))==null?void 0x0:_0x10ed16[_0x284dd3(0x122)])!=null?_0x1b5b1c:_0x284dd3(0x129),_0x5c3f10={'color':this[_0x284dd3(0x111)][_0x284dd3(0x172)](_0x2d21d9),'name':_0x39b42c,'ranges':_0x3efa13},_0x63b63a=this[_0x284dd3(0x125)];_0x63b63a[_0x284dd3(0x1f3)](_0x2d21d9,_0x5c3f10),this[_0x284dd3(0x246)][_0x284dd3(0x23a)](_0x63b63a);}['_onCursorDelete'](_0x263127){const _0x3abc64=_0x1e40b1,{memberID:_0x4be268}=_0x263127[_0x3abc64(0x17b)],_0x22c315=this[_0x3abc64(0x125)];_0x22c315[_0x3abc64(0x27c)](_0x4be268),this[_0x3abc64(0x246)]['next'](_0x22c315);}[_0x1e40b1(0x2b9)](){const _0x22c2cc=_0x1e40b1;var _0x287872;if(this['_online']=!0x0,((_0x287872=this['_univerInstanceService'][_0x22c2cc(0xe8)]())==null?void 0x0:_0x287872[_0x22c2cc(0x276)]())!==this[_0x22c2cc(0x187)])return;const _0xf0b0a=this[_0x22c2cc(0x2f1)][_0x22c2cc(0x303)](_0x8b731d)[_0x22c2cc(0xd7)]();Array[_0x22c2cc(0x2b3)](_0xf0b0a)&&_0xf0b0a[_0x22c2cc(0x2a6)]>0x0&&this[_0x22c2cc(0x2e4)](_0xf0b0a);}[_0x1e40b1(0x115)](){const _0x5f1a95=_0x1e40b1;this[_0x5f1a95(0x2b8)]=!0x1;}};xe=wi([A(0x2,_0x2c0e45(_0x3fc224)),A(0x3,_0x2c0e45(Ke)),A(0x4,_0x2c0e45(_0x4d6b15)),A(0x5,_0x2c0e45(ze)),A(0x6,_0xa76561),A(0x7,_0x161ad0),A(0x8,_0x7462c)],xe);var xi=Object[_0x1e40b1(0xe0)],Bi=(_0x5a03d1,_0x3964c4,_0x35c994,_0x239ca4)=>{const _0x564d0b=_0x1e40b1;for(var _0x4ba524=_0x239ca4>0x1?void 0x0:_0x239ca4?xi(_0x3964c4,_0x35c994):_0x3964c4,_0x3254c7=_0x5a03d1[_0x564d0b(0x2a6)]-0x1,_0x28707c;_0x3254c7>=0x0;_0x3254c7--)(_0x28707c=_0x5a03d1[_0x3254c7])&&(_0x4ba524=_0x28707c(_0x4ba524)||_0x4ba524);return _0x4ba524;},B=(_0x3a321c,_0x22af1f)=>(_0x3897b6,_0x1da4f1)=>_0x22af1f(_0x3897b6,_0x1da4f1,_0x3a321c);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x2440a3=[],_0x212cec=!0x1;return _0x15da8d=>{const _0x3b91cd=_0x38fa;_0x2440a3[_0x3b91cd(0x2e7)](_0x15da8d),_0x212cec||(_0x212cec=!0x0,setTimeout(()=>{const _0x2c6a37=_0x3b91cd;_0x2440a3[_0x2c6a37(0x150)](_0x56548c=>_0x56548c()),_0x2440a3=[],_0x212cec=!0x1;}));};};let Be=class extends _0x52c72b{constructor(_0xd9302c,_0x398db9,_0x1f5e67,_0x410f45,_0x53d5bd,_0x5c1bff,_0x1b76d5,_0x3bdc52){const _0x23d271=_0x1e40b1;super(),_(this,_0x23d271(0x2b8),!0x1),_(this,_0x23d271(0x17f),!0x1),_(this,_0x23d271(0x246),new _0xefb469(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x23d271(0x12f)]()),_(this,_0x23d271(0x114),new _0xefb469([])),_(this,_0x23d271(0xf7),this[_0x23d271(0x114)][_0x23d271(0x2b2)](_0x16ada7(Fi))),_(this,_0x23d271(0x2e4),_0x480f0d((_0xc38ce1,_0x5ac8cc)=>{const _0x18bbe9=_0x23d271,_0xd4d215={'eventID':_0x364cbb[_0x18bbe9(0x278)],'data':{'unitID':this[_0x18bbe9(0x187)],'memberID':this[_0x18bbe9(0x29e)][_0x18bbe9(0x292)](),'selection':_0x5e08f5(_0xc38ce1,_0x5ac8cc[_0x18bbe9(0x2e3)])}};this['_session'][_0x18bbe9(0x117)](_0xd4d215,this[_0x18bbe9(0x187)]);},ki)),(this[_0x23d271(0x187)]=_0xd9302c,this[_0x23d271(0x29e)]=_0x398db9,this[_0x23d271(0x2f1)]=_0x1f5e67,this[_0x23d271(0x111)]=_0x410f45,this[_0x23d271(0x26c)]=_0x53d5bd,this[_0x23d271(0x194)]=_0x5c1bff,this['_commandService']=_0x1b76d5,this['_refRangeService']=_0x3bdc52);}get['cursorInfo'](){const _0x3ff690=_0x1e40b1;return this[_0x3ff690(0x246)][_0x3ff690(0x200)]();}get[_0x1e40b1(0x295)](){const _0x1bd1ff=_0x1e40b1;return this[_0x1bd1ff(0x114)][_0x1bd1ff(0x200)]();}[_0x1e40b1(0x234)](){const _0x2bdea4=_0x1e40b1;super[_0x2bdea4(0x234)](),this[_0x2bdea4(0x246)][_0x2bdea4(0x23a)](new Map()),this[_0x2bdea4(0x246)][_0x2bdea4(0x29c)](),this[_0x2bdea4(0x114)]['next']([]),this[_0x2bdea4(0x114)][_0x2bdea4(0x29c)]();}[_0x1e40b1(0x30a)](){const _0x5ee1f4=_0x1e40b1;this[_0x5ee1f4(0x17f)]||(this[_0x5ee1f4(0x17f)]=!0x0,this[_0x5ee1f4(0x29e)][_0x5ee1f4(0x30b)][_0x5ee1f4(0x2b2)](_0x5d9a7c(this[_0x5ee1f4(0x323)]))[_0x5ee1f4(0xfd)](_0x26b551=>{const _0x131dab=_0x5ee1f4;_0x26b551===_0x5c067f[_0x131dab(0x1ce)]?this['_toggleOnline']():this[_0x131dab(0x115)]();}),this['_session'][_0x5ee1f4(0x11c)][_0x5ee1f4(0x2b2)](_0x5d9a7c(this[_0x5ee1f4(0x323)]))['subscribe'](_0x9734ca=>{const _0xbaa33a=_0x5ee1f4,_0x22ab73=_0x9734ca[_0xbaa33a(0x1e0)];_0x22ab73===_0x364cbb[_0xbaa33a(0x278)]&&this[_0xbaa33a(0x247)](_0x9734ca),_0x22ab73===_0x364cbb[_0xbaa33a(0x1fb)]&&this[_0xbaa33a(0x29b)](_0x9734ca);}),this[_0x5ee1f4(0x15b)](),this['disposeWithMe'](this[_0x5ee1f4(0x2c8)]['onCommandExecuted'](_0x2e28f6=>{const _0xba8e3d=_0x5ee1f4;if(this['_online']&&_0x2e28f6['id']===_0x40536b['id']&&_0x2e28f6[_0xba8e3d(0x327)][_0xba8e3d(0x170)]===this[_0xba8e3d(0x187)]){const _0x5f457b=_0x2e28f6['params'];this['_updateLocalCursor'](_0x5f457b[_0xba8e3d(0x1e4)],_0x5f457b[_0xba8e3d(0x25f)][0x0]);}})));}['_onCursorUpdate'](_0x8c2daa){const _0x2b7406=_0x1e40b1;var _0x3d8796,_0x5bd59b;const {memberID:_0x4d054d,selection:_0x33a178}=_0x8c2daa[_0x2b7406(0x17b)],{sheetName:_0x12569c,range:_0x35b102}=_0x236172(_0x33a178),_0x1dea56={'name':(_0x5bd59b=(_0x3d8796=this[_0x2b7406(0x26c)][_0x2b7406(0x2cc)](this[_0x2b7406(0x187)],_0x4d054d))==null?void 0x0:_0x3d8796[_0x2b7406(0x122)])!=null?_0x5bd59b:_0x2b7406(0x129),'range':this[_0x2b7406(0x204)](_0x12569c,_0x35b102),'sheetID':_0x12569c,'color':this['_colorAssignService'][_0x2b7406(0x172)](_0x4d054d),'selection':_0x33a178},_0x35a2bc=this[_0x2b7406(0x125)];_0x35a2bc[_0x2b7406(0x1f3)](_0x4d054d,_0x1dea56),this[_0x2b7406(0x246)][_0x2b7406(0x23a)](_0x35a2bc);}[_0x1e40b1(0x29b)](_0x1db87f){const _0x46d585=_0x1e40b1,{memberID:_0x15b7d8}=_0x1db87f[_0x46d585(0x17b)],_0x12fbe7=this[_0x46d585(0x125)];_0x12fbe7[_0x46d585(0x27c)](_0x15b7d8),this['_cursorInfo$'][_0x46d585(0x23a)](_0x12fbe7);}['_getMergeRange'](_0x4c2778,_0x4ee3df){const _0x129805=_0x1e40b1;var _0xaf6a57,_0x19fbd9;const _0x40d147=(_0x19fbd9=(_0xaf6a57=this[_0x129805(0x194)]['getUniverSheetInstance'](this[_0x129805(0x187)]))==null?void 0x0:_0xaf6a57['getSheetBySheetId'](_0x4c2778))==null?void 0x0:_0x19fbd9[_0x129805(0x1d5)]();return(_0x40d147==null?void 0x0:_0x40d147['find'](_0x111c34=>_0x44bb29[_0x129805(0x282)](_0x111c34,_0x4ee3df)))||_0x4ee3df;}[_0x1e40b1(0x15b)](){const _0x501a2b=_0x1e40b1,_0x25cf5=new _0x4f0c87(),_0x2c0f10=Hi(),_0x2ee9b7=()=>{const _0x326a54=_0x38fa;_0x25cf5['dispose']();const _0x1f4669=(_0x49a15c,_0x438fe0,_0x589ed6,_0x58921a)=>{const _0x991edf=_0x38fa;let _0x14b588=[];switch(_0x49a15c['id']){case _0x37e3ca['DeleteRangeMoveLeftCommandId']:{_0x14b588=_0xc65089(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1ae)]:{_0x14b588=_0xb28157(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1a8)]:{_0x14b588=_0x245f5c(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x249)]:{_0x14b588=_0x23dfff(_0x49a15c,_0x58921a);break;}case _0x37e3ca['InsertRangeMoveRightCommandId']:{_0x14b588=_0x24b9be(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x22d)]:{_0x14b588=_0x3957c8(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x2fe)]:{_0x14b588=_0x38059d(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x309)]:{_0x14b588=_0x47f10c(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1a5)]:{_0x14b588=_0x1c3d70(_0x49a15c,_0x58921a);break;}}const _0x4be6fc=_0x89c58f(_0x14b588,_0x58921a),_0x269c4b=this[_0x991edf(0x125)]['get'](_0x438fe0);if(_0x269c4b&&_0x4be6fc){const _0x3822e9={..._0x269c4b,'range':_0x4be6fc};this[_0x991edf(0x125)][_0x991edf(0x1f3)](_0x438fe0,_0x3822e9),_0x2c0f10(()=>{const _0x3eebfe=_0x991edf,_0x8b7121=this[_0x3eebfe(0xf3)]['registerRefRange'](_0x4be6fc,_0x328174=>(_0x8b7121[_0x3eebfe(0x234)](),_0x1f4669(_0x328174,_0x438fe0,_0x589ed6,_0x4be6fc)));_0x25cf5[_0x3eebfe(0x23e)](_0x8b7121);});}return{'redos':[],'undos':[]};};this[_0x326a54(0x125)]['forEach']((_0x44b521,_0x49c610)=>{const _0x19970b=_0x326a54,{range:_0x4a244e,sheetID:_0x455cd9}=_0x44b521,_0x48f17f=this[_0x19970b(0xf3)][_0x19970b(0x239)](_0x4a244e,_0x387e51=>(_0x48f17f[_0x19970b(0x234)](),_0x1f4669(_0x387e51,_0x49c610,_0x455cd9,_0x4a244e)));_0x25cf5['add'](_0x48f17f);});};this[_0x501a2b(0x286)](_0x4b734a(this[_0x501a2b(0x246)]['subscribe'](()=>{_0x2ee9b7();})));}[_0x1e40b1(0x2b9)](){const _0x9f9022=_0x1e40b1;var _0x33cbd3,_0x1fafd9;if(this[_0x9f9022(0x2b8)]=!0x0,((_0x33cbd3=this['_univerInstanceService'][_0x9f9022(0xe8)]())==null?void 0x0:_0x33cbd3[_0x9f9022(0x276)]())!==this[_0x9f9022(0x187)])return;const _0x1f396a=(_0x1fafd9=this[_0x9f9022(0x2f1)][_0x9f9022(0x303)](_0x4bec6f)[_0x9f9022(0x1e5)]())==null?void 0x0:_0x1fafd9[0x0],_0x16c264=this[_0x9f9022(0x194)][_0x9f9022(0x279)](_0x25fa51['UNIVER_SHEET'])['getActiveSheet']();_0x1f396a&&_0x16c264&&this['_updateLocalCursor'](_0x16c264[_0x9f9022(0x2d2)](),_0x1f396a);}[_0x1e40b1(0x115)](){const _0x407f3f=_0x1e40b1;this[_0x407f3f(0x2b8)]=!0x1;}};Be=Bi([B(0x2,_0x2c0e45(_0x3fc224)),B(0x3,_0x2c0e45(Ke)),B(0x4,_0x2c0e45(_0x4d6b15)),B(0x5,_0x161ad0),B(0x6,_0x7462c),B(0x7,_0x2c0e45(_0x4a3acd))],Be);var Yi=Object[_0x1e40b1(0xe0)],Wi=(_0x2d901c,_0x45682c,_0xbf6293,_0x1121d3)=>{const _0x1ed11c=_0x1e40b1;for(var _0x6c02ae=_0x1121d3>0x1?void 0x0:_0x1121d3?Yi(_0x45682c,_0xbf6293):_0x45682c,_0x4012e4=_0x2d901c[_0x1ed11c(0x2a6)]-0x1,_0x57c6f6;_0x4012e4>=0x0;_0x4012e4--)(_0x57c6f6=_0x2d901c[_0x4012e4])&&(_0x6c02ae=_0x57c6f6(_0x6c02ae)||_0x6c02ae);return _0x6c02ae;},Ce=(_0x288c64,_0x343a79)=>(_0x3419ec,_0x52edc9)=>_0x343a79(_0x3419ec,_0x52edc9,_0x288c64);let H=class extends _0x52c72b{constructor(_0x673d37,_0x1c1ba9,_0x3f10c8){const _0x533b73=_0x1e40b1;super(),_(this,'_entities',new Map()),_(this,_0x533b73(0x2f2),new _0x2ecf52()),(this[_0x533b73(0x194)]=_0x673d37,this[_0x533b73(0x2f1)]=_0x1c1ba9,this[_0x533b73(0xdc)]=_0x3f10c8,this[_0x533b73(0x17f)]());}['dispose'](){const _0xe204ce=_0x1e40b1;super[_0xe204ce(0x234)](),this[_0xe204ce(0x2f2)][_0xe204ce(0x29c)](),this[_0xe204ce(0x315)][_0xe204ce(0x150)](_0x10fb24=>_0x10fb24[_0xe204ce(0x234)]());}[_0x1e40b1(0x27f)](_0xca0aab){const _0x9f7c39=_0x1e40b1;return this[_0x9f7c39(0x315)][_0x9f7c39(0x176)](_0xca0aab)?this[_0x9f7c39(0x315)][_0x9f7c39(0x303)](_0xca0aab)[_0x9f7c39(0x1a6)]:this[_0x9f7c39(0x2f2)][_0x9f7c39(0x2b2)](_0x15df19(_0x4368d1=>_0x4368d1['unitID']===_0xca0aab),_0x163538(_0x41278e=>_0x41278e[_0x9f7c39(0x1a6)]));}[_0x1e40b1(0x17f)](){const _0x2c4043=_0x1e40b1;this[_0x2c4043(0x194)][_0x2c4043(0x17d)](_0x25fa51[_0x2c4043(0x212)])[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))[_0x2c4043(0xfd)](async _0x45d10e=>{const _0x8e3220=_0x2c4043,_0x613d4b=_0x45d10e[_0x8e3220(0x276)](),_0x41f913=await this[_0x8e3220(0xe7)](_0x613d4b);this[_0x8e3220(0x2f2)]['next'](_0x41f913),this['_entities'][_0x8e3220(0x1f3)](_0x613d4b,_0x41f913);}),this[_0x2c4043(0x194)][_0x2c4043(0x17d)](_0x25fa51['UNIVER_DOC'])[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))['pipe'](_0x15df19(_0x39306e=>!_0x39306e[_0x2c4043(0x276)]()[_0x2c4043(0x22b)]('__')))[_0x2c4043(0xfd)](async _0xd3d66e=>{const _0x146b90=_0x2c4043,_0x39b6f7=_0xd3d66e[_0x146b90(0x276)](),_0x3c2bc3=await this[_0x146b90(0x231)](_0x39b6f7);this[_0x146b90(0x2f2)]['next'](_0x3c2bc3),this[_0x146b90(0x315)]['set'](_0x39b6f7,_0x3c2bc3);}),_0x212f2b(this[_0x2c4043(0x194)][_0x2c4043(0x18a)](_0x25fa51[_0x2c4043(0x195)]),this[_0x2c4043(0x194)][_0x2c4043(0x18a)](_0x25fa51[_0x2c4043(0x212)]))[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))[_0x2c4043(0xfd)](_0x4db056=>{const _0x5144a1=_0x2c4043,_0x1cf785=_0x4db056['getUnitId'](),_0x401ddb=this[_0x5144a1(0x315)][_0x5144a1(0x303)](_0x1cf785);_0x401ddb&&(_0x401ddb['dispose'](),this[_0x5144a1(0x315)][_0x5144a1(0x27c)](_0x1cf785));});}async[_0x1e40b1(0xe7)](_0x22433e){const _0x25c218=_0x1e40b1,_0x381ef9=await this[_0x25c218(0xdc)][_0x25c218(0x158)](_0x22433e),_0x5e1b57=this[_0x25c218(0x2f1)][_0x25c218(0xfc)](Be,_0x22433e,_0x381ef9);return _0x5e1b57[_0x25c218(0x30a)](),_0x5e1b57;}async['_startDocCollabCursor'](_0x2bc211){const _0x217078=_0x1e40b1,_0xae4cf1=await this['_collabSessionService'][_0x217078(0x158)](_0x2bc211),_0x2834bf=this[_0x217078(0x2f1)][_0x217078(0xfc)](xe,_0x2bc211,_0xae4cf1);return _0x2834bf['init'](),_0x2834bf;}};H=Wi([Ce(0x0,_0x161ad0),Ce(0x1,_0x2c0e45(_0x3fc224)),Ce(0x2,_0x2c0e45(_0x38b52a))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0xc1e364,_0x447e82){const _0x1bdb22=_0x1e40b1;let {radius:_0x55dda1,width:_0x586aa6,height:_0xbdd782}=_0x447e82;_0x55dda1=_0x55dda1!=null?_0x55dda1:0x0,_0x586aa6=_0x586aa6!=null?_0x586aa6:0x1e,_0xbdd782=_0xbdd782!=null?_0xbdd782:0x1e;let _0x226eb9=0x0,_0x8ad2c8=0x0,_0x1c8478=0x0;_0x226eb9=_0x8ad2c8=_0x1c8478=Math[_0x1bdb22(0x2b5)](_0x55dda1,_0x586aa6/0x2,_0xbdd782/0x2),_0xc1e364[_0x1bdb22(0x224)](),_0xc1e364[_0x1bdb22(0x2f8)](_0x226eb9,0x0),_0xc1e364[_0x1bdb22(0x25a)](_0x586aa6-_0x8ad2c8,0x0),_0xc1e364[_0x1bdb22(0x120)](_0x586aa6-_0x8ad2c8,_0x8ad2c8,_0x8ad2c8,Math['PI']*0x3/0x2,0x0,!0x1),_0xc1e364[_0x1bdb22(0x25a)](_0x586aa6,_0xbdd782-_0x1c8478),_0xc1e364[_0x1bdb22(0x120)](_0x586aa6-_0x1c8478,_0xbdd782-_0x1c8478,_0x1c8478,0x0,Math['PI']/0x2,!0x1),_0xc1e364[_0x1bdb22(0x25a)](0x0,_0xbdd782),_0xc1e364['lineTo'](0x0,_0x226eb9),_0xc1e364[_0x1bdb22(0x120)](_0x226eb9,_0x226eb9,_0x226eb9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc1e364['closePath'](),_0x447e82[_0x1bdb22(0x2c4)]&&(_0xc1e364[_0x1bdb22(0x17c)](),_0xc1e364[_0x1bdb22(0x2ad)]=_0x447e82['fill'],_0x447e82[_0x1bdb22(0x2f3)]==='evenodd'?_0xc1e364[_0x1bdb22(0x2c4)](_0x1bdb22(0xe6)):_0xc1e364['fill'](),_0xc1e364[_0x1bdb22(0xe2)]());}class ve extends _0x29b4e3{constructor(_0xb3185d,_0x3bd55e){const _0x35fbcc=_0x1e40b1;super(_0xb3185d,_0x3bd55e),_(this,_0x35fbcc(0x173)),_(this,'text'),(this[_0x35fbcc(0x173)]=_0x3bd55e==null?void 0x0:_0x3bd55e[_0x35fbcc(0x173)],this[_0x35fbcc(0x136)]=_0x3bd55e==null?void 0x0:_0x3bd55e[_0x35fbcc(0x136)]);}static[_0x1e40b1(0x106)](_0x5303f5,_0x3a10fd){const _0x2279fe=_0x1e40b1,{text:_0x686131,color:_0x150baf}=_0x3a10fd;_0x5303f5[_0x2279fe(0x17c)](),_0x5303f5['font']=_0x2279fe(0x2c7);const _0x45b853=_0x5303f5[_0x2279fe(0x138)](_0x686131)[_0x2279fe(0x213)],_0x2e9382=Math['min'](_0x45b853+0x2*Re,at);ji(_0x5303f5,{'height':Q,'radius':0x4,'width':_0x2e9382,'fill':_0x150baf}),_0x5303f5[_0x2279fe(0x2ad)]=_0x2279fe(0x10c);const _0x4e2df8=Re,_0x4c1f70=Q-Vi,_0x2081ba=at-0x2*Re;if(_0x45b853>_0x2081ba){let _0x238830='',_0x336f39=0x0;for(const _0x1bd8b4 of _0x686131){const _0x1af085=_0x5303f5['measureText'](_0x1bd8b4)['width'];if(_0x336f39+_0x1af085<=_0x2081ba-_0x5303f5[_0x2279fe(0x138)](_0x2279fe(0x151))[_0x2279fe(0x213)])_0x238830+=_0x1bd8b4,_0x336f39+=_0x1af085;else{_0x238830+=_0x2279fe(0x151);break;}}_0x5303f5[_0x2279fe(0x2ae)](_0x238830,_0x4e2df8,_0x4c1f70);}else _0x5303f5[_0x2279fe(0x2ae)](_0x686131,_0x4e2df8,_0x4c1f70);_0x5303f5[_0x2279fe(0xe2)]();}[_0x1e40b1(0xd8)](_0x9af987){const _0x45704f=_0x1e40b1;ve[_0x45704f(0x106)](_0x9af987,this);}}const De=_0x1e40b1(0x1ad),Xi='collab-text-range-',Gi=_0x1e40b1(0x19e),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x1e40b1(0x30c);class ct{constructor(_0x4c5ed6,_0x3aaf4d,_0x1b932d,_0x5f41b7){const _0x4a662f=_0x1e40b1;_(this,'_shapes',[]),_(this,_0x4a662f(0x192),null),_(this,_0x4a662f(0x15e),null),_(this,_0x4a662f(0x1a0),null),_(this,_0x4a662f(0x183),null),_(this,'_eventUnsubscribe',null),(this[_0x4a662f(0x1b8)]=_0x4c5ed6,this[_0x4a662f(0x147)]=_0x3aaf4d,this[_0x4a662f(0x1b3)]=_0x1b932d,this[_0x4a662f(0x1cd)]=_0x5f41b7,this[_0x4a662f(0x167)]());}set[_0x1e40b1(0x179)](_0x3fe76e){const _0x462d00=_0x1e40b1;_0x3fe76e?(this[_0x462d00(0x1a0)]&&this[_0x462d00(0x1a0)][_0x462d00(0x26a)](),this['_textBubble']&&this[_0x462d00(0x15e)][_0x462d00(0xff)]()):(this[_0x462d00(0x1a0)]&&this[_0x462d00(0x1a0)][_0x462d00(0xff)](),this['_textBubble']&&this[_0x462d00(0x15e)]['hide']());}['dispose'](){const _0x22a349=_0x1e40b1;for(const _0x4d53e7 of this[_0x22a349(0x280)])_0x4d53e7[_0x22a349(0x234)]();this['_textBubble']&&this[_0x22a349(0x15e)][_0x22a349(0x234)](),this['_anchorDot']&&this[_0x22a349(0x1a0)][_0x22a349(0x234)](),this[_0x22a349(0x192)]&&this[_0x22a349(0x192)]['dispose'](),this['_eventUnsubscribe']&&this[_0x22a349(0x2ff)]();}[_0x1e40b1(0x167)](){const _0x217f29=_0x1e40b1;var _0x3481ba;const {_docSkeleton:_0x5ef386,_document:_0x5ce62c}=this,{color:_0x3a9236,name:_0x289bc2,ranges:_0x1d2ac1}=this[_0x217f29(0x1b8)],_0x3f8934=_0x5ce62c[_0x217f29(0x250)](),{docsLeft:_0x19308d,docsTop:_0x4ef774}=_0x3f8934,_0x49a271=new _0x2573ee(_0x3f8934,_0x5ef386);for(const {startOffset:_0x3f8ca5,endOffset:_0x4df5d7,rangeType:_0x427ddb,segmentId:_0x409324,segmentPage:_0x32945a,collapsed:_0x260890,isActive:_0x52ba18}of _0x1d2ac1){const _0x5c1846=_0x5ef386[_0x217f29(0x140)](_0x3f8ca5,!0x0,_0x409324,_0x32945a);let _0x5149b4=_0x5ef386[_0x217f29(0x140)](_0x4df5d7,!0x0,_0x409324,_0x32945a);if(_0x5149b4==null&&(_0x5149b4=_0x5ef386[_0x217f29(0x140)](_0x4df5d7-0x1,!0x1,_0x409324,_0x32945a)),_0x52ba18){const {contentBoxPointGroup:_0x4ecf48}=_0x49a271[_0x217f29(0x20b)](_0x5149b4,_0x5149b4);if(_0x4ecf48[_0x217f29(0x2a6)]===0x0)continue;this[_0x217f29(0x27e)](_0x3a9236,_0x4ecf48,_0x19308d,_0x4ef774,_0x289bc2),this['_eventUnsubscribe']=this[_0x217f29(0x307)]();}if(_0x5c1846&&_0x5149b4){if(_0x427ddb===_0x4cbb3c[_0x217f29(0x2c1)]){const _0x4d3ea4=new _0x47b2a6(_0x3f8934,_0x5ef386),{pointGroup:_0x850390}=(_0x3481ba=_0x4d3ea4[_0x217f29(0x20b)](_0x5c1846,_0x5149b4))!=null?_0x3481ba:{};if(_0x850390==null||_0x850390[_0x217f29(0x2a6)]===0x0)continue;this[_0x217f29(0x321)](_0x3a9236,_0x850390,_0x19308d,_0x4ef774);}else{if(!_0x260890){const {borderBoxPointGroup:_0x2ad8bd}=_0x49a271[_0x217f29(0x20b)](_0x5c1846,_0x5149b4);if(_0x2ad8bd['length']===0x0)continue;this['_drawTextRange'](_0x3a9236,_0x2ad8bd,_0x19308d,_0x4ef774);}}}}}[_0x1e40b1(0x27e)](_0x78a844,_0x567cf9,_0x2e07d9,_0x5cbc33,_0x23880b){const _0x3726f8=_0x1e40b1,_0x55113a=this[_0x3726f8(0x18d)](_0x567cf9),{left:_0x48b4f5,top:_0x4a0b36,height:_0x3a64d8}=_0x55113a,_0x1a4014=this[_0x3726f8(0x215)](),_0x7f1629=zi/_0x1a4014,_0x5bba12=new _0x4d3d55(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33,'height':_0x3a64d8,'width':Ki,'fill':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'strokeWidth':_0x7f1629,'stroke':Ji,'evented':!0x0});this[_0x3726f8(0x192)]=_0x5bba12,this['_scene'][_0x3726f8(0x26d)](_0x5bba12,_0x4973ed);const _0x42c84d=new _0x4d3d55(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'strokeWidth':0x0,'stroke':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'evented':!0x1});this['_anchorDot']=_0x42c84d,this[_0x3726f8(0x147)][_0x3726f8(0x26d)](_0x42c84d,_0x4973ed);const _0x478963=new ve(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33-Q,'text':_0x23880b,'color':_0x78a844});this[_0x3726f8(0x15e)]=_0x478963,this[_0x3726f8(0x147)][_0x3726f8(0x26d)](_0x478963,_0x4973ed),this['_hover']=!0x1;}[_0x1e40b1(0x307)](){const _0x5be5f0=_0x1e40b1,_0x428628=this[_0x5be5f0(0x192)][_0x5be5f0(0x1d7)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x37e8c0=this['_anchor'][_0x5be5f0(0x2b6)]['subscribeEvent'](()=>{const _0x1ebaad=_0x5be5f0;this[_0x1ebaad(0x183)]&&clearTimeout(this[_0x1ebaad(0x183)]),this[_0x1ebaad(0x183)]=setTimeout(()=>{const _0x48d06c=_0x1ebaad;this[_0x48d06c(0x179)]=!0x1;},0x7d0);});return()=>{const _0x50e1c1=_0x5be5f0;_0x428628[_0x50e1c1(0x205)](),_0x37e8c0['unsubscribe']();};}['_drawTextRange'](_0x3eaabe,_0x1dd181,_0x361121,_0x4b930c){const _0x5f26e7=_0x1e40b1,_0x4e7fe5=new _0x5d75b4(_0x3eaabe)['setAlpha'](0.2)[_0x5f26e7(0x291)](),_0x4f004a=new _0x13a851(Xi+_0x2b8a5d(z),{'pointsGroup':_0x1dd181,'fill':_0x4e7fe5||_0xe0e13e(_0x2162bc[_0x5f26e7(0x104)],0.2),'left':_0x361121,'top':_0x4b930c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4f004a),this[_0x5f26e7(0x147)][_0x5f26e7(0x26d)](_0x4f004a,_0x4973ed);}['_drawRectRange'](_0x2d4a2c,_0x450bdc,_0x17acab,_0x331d69){const _0x5de789=_0x1e40b1,_0x1fb71c=new _0x5d75b4(_0x2d4a2c)[_0x5de789(0x2f9)](0.2)[_0x5de789(0x291)](),_0x3050d1=new _0x13a851(Gi+_0x2b8a5d(z),{'pointsGroup':_0x450bdc,'fill':_0x1fb71c||_0xe0e13e(_0x2162bc[_0x5de789(0x104)],0.2),'left':_0x17acab,'top':_0x331d69,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5de789(0x2e7)](_0x3050d1),this[_0x5de789(0x147)][_0x5de789(0x26d)](_0x3050d1,_0x4973ed);}[_0x1e40b1(0x18d)](_0x2b5363){const _0x364f42=_0x2b5363[0x0],_0x118197=_0x364f42[0x0],_0x1f6c52=_0x364f42[0x2],{x:_0x4442ee,y:_0x1511cd}=_0x118197,{x:_0x44e2a9,y:_0x4256ab}=_0x1f6c52;return{'left':_0x4442ee,'top':_0x1511cd,'width':_0x44e2a9-_0x4442ee,'height':_0x4256ab-_0x1511cd};}[_0x1e40b1(0x215)](){const _0x4b5fa7=_0x1e40b1,{scaleX:_0x4926eb,scaleY:_0x4c4929}=this['_scene'][_0x4b5fa7(0x24b)]();return Math[_0x4b5fa7(0x11a)](_0x4926eb,_0x4c4929);}}var Zi=Object[_0x1e40b1(0xe0)],Qi=(_0x4b15d8,_0x2da623,_0x11c355,_0x3b5adf)=>{const _0xcc0b48=_0x1e40b1;for(var _0x193682=_0x3b5adf>0x1?void 0x0:_0x3b5adf?Zi(_0x2da623,_0x11c355):_0x2da623,_0x3bdb82=_0x4b15d8[_0xcc0b48(0x2a6)]-0x1,_0x1dbc7e;_0x3bdb82>=0x0;_0x3bdb82--)(_0x1dbc7e=_0x4b15d8[_0x3bdb82])&&(_0x193682=_0x1dbc7e(_0x193682)||_0x193682);return _0x193682;},ie=(_0x1ee054,_0x4817b6)=>(_0x1c71e0,_0x248627)=>_0x4817b6(_0x1c71e0,_0x248627,_0x1ee054);let Fe=class extends _0x52c72b{constructor(_0x18e5bc,_0x446336,_0x51dba5,_0x8cf331,_0x189072){const _0x56dfbb=_0x1e40b1;super(),_(this,_0x56dfbb(0x228),[]),_(this,'_cursors',[]),(this['_context']=_0x18e5bc,this[_0x56dfbb(0x148)]=_0x446336,this[_0x56dfbb(0x1f2)]=_0x51dba5,this[_0x56dfbb(0x2c8)]=_0x8cf331,this[_0x56dfbb(0x1e7)]=_0x189072,this[_0x56dfbb(0x17f)]());}['_init'](){const _0x7da02=_0x1e40b1,_0x52081b=this[_0x7da02(0x28d)][_0x7da02(0x170)],_0x4a1b86=this[_0x7da02(0x148)];this[_0x7da02(0x286)](_0x486491([this['_collabCursorController'][_0x7da02(0x27f)](_0x52081b),this[_0x7da02(0x1e7)][_0x7da02(0x290)]])[_0x7da02(0x2b2)](_0x4ad3b0(([_0x2ceb36,_0x10bf7d])=>({'skeleton':_0x4a1b86[_0x7da02(0x197)](),'cursors':[..._0x2ceb36['values']()][_0x7da02(0x2a8)](_0x3d0855=>({..._0x3d0855,'color':this['_themeService']['getColorFromTheme'](_0x3d0855[_0x7da02(0x173)])}))})))[_0x7da02(0xfd)](_0x1ed65d=>{const _0x5a4d0e=_0x7da02;if(this[_0x5a4d0e(0x2fd)](),_0x1ed65d){const {skeleton:_0x1e6a88,cursors:_0x2b2644}=_0x1ed65d;this[_0x5a4d0e(0x164)](_0x1e6a88,_0x2b2644);}})),this['_initResize'](),this[_0x7da02(0x2e1)]();}['_updateCollabCursors'](_0x1a4e20,_0x5f54c2){const _0x32357a=_0x1e40b1,{scene:_0x21c8d9,mainComponent:_0x46f7e2}=this[_0x32357a(0x28d)],_0x3d79e2=_0x5f54c2[_0x32357a(0x1de)](_0x33f052=>new ct(_0x33f052,_0x21c8d9,_0x1a4e20,_0x46f7e2));this[_0x32357a(0x228)]=_0x3d79e2,this[_0x32357a(0x252)]=_0x5f54c2;}[_0x1e40b1(0x107)](){const _0x2d574a=_0x1e40b1;this[_0x2d574a(0x2fd)]();const {scene:_0x450c1a,mainComponent:_0x4b7406}=this[_0x2d574a(0x28d)],_0x5592f6=this[_0x2d574a(0x148)]['getSkeleton'](),_0x31b75d=this['_cursors']['map'](_0x2f2775=>new ct(_0x2f2775,_0x450c1a,_0x5592f6,_0x4b7406));this[_0x2d574a(0x228)]=_0x31b75d;}[_0x1e40b1(0x2fd)](){const _0x53f1ed=_0x1e40b1;this[_0x53f1ed(0x228)][_0x53f1ed(0x150)](_0x4fce93=>_0x4fce93[_0x53f1ed(0x234)]()),this[_0x53f1ed(0x228)]=[];}['_initCommandExecutedListener'](){const _0x50c1bc=_0x1e40b1,_0x30a089=[_0x350f79['id']];this['disposeWithMe'](this[_0x50c1bc(0x2c8)][_0x50c1bc(0xd1)](_0x50fcf4=>{const _0xd3dc5a=_0x50c1bc;_0x30a089[_0xd3dc5a(0xf6)](_0x50fcf4['id'])&&_0x50fcf4[_0xd3dc5a(0x327)][_0xd3dc5a(0x170)]===this[_0xd3dc5a(0x28d)][_0xd3dc5a(0x170)]&&this['_refreshCollabCursors']();}));}[_0x1e40b1(0x227)](){const _0x81462a=_0x1e40b1;this['disposeWithMe'](_0x5026b8(this[_0x81462a(0x28d)][_0x81462a(0x169)]['onTransformChange$'])['pipe'](_0x1194e9(_0x5d8eaa=>_0x5d8eaa['type']===_0x35411e[_0x81462a(0x160)]),_0xe140a4(0x10))[_0x81462a(0xfd)](()=>{const _0x1a44ab=_0x81462a;this[_0x1a44ab(0x107)]();}));}};Fe=Qi([ie(0x1,_0x2c0e45(_0x1842c9)),ie(0x2,_0x2c0e45(H)),ie(0x3,_0x7462c),ie(0x4,_0x2c0e45(_0x200d5a))],Fe);const qi=0x1,en=1.5;class tn extends _0x29b4e3{constructor(_0x10c4ef,_0x48dcd8){const _0x3f432c=_0x1e40b1;super(_0x10c4ef,_0x48dcd8),_(this,_0x3f432c(0x2f0)),_(this,_0x3f432c(0x198),!0x1),_(this,_0x3f432c(0x210)),_(this,_0x3f432c(0x2f6),''),_(this,_0x3f432c(0x1a1),_0x3f432c(0x178)),_(this,_0x3f432c(0x2d0)),(_0x48dcd8&&this[_0x3f432c(0x2a0)](_0x48dcd8),this['onPointerEnter$'][_0x3f432c(0x310)](()=>this[_0x3f432c(0x2a0)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3f432c(0x2a0)]({'hovered':!0x1})));}['setShapeProps'](_0x34421f){const _0xc16960=_0x1e40b1;var _0x55996c,_0x816429,_0x4c5426,_0x240c3f,_0x3fd8aa,_0x21e078;this[_0xc16960(0x2f0)]=(_0x55996c=_0x34421f['color'])!=null?_0x55996c:this['_color'],this[_0xc16960(0x198)]=(_0x816429=_0x34421f[_0xc16960(0x2c2)])!=null?_0x816429:this[_0xc16960(0x198)],this['_range']=(_0x4c5426=_0x34421f[_0xc16960(0x2e3)])!=null?_0x4c5426:this[_0xc16960(0x210)],this['_name']=(_0x240c3f=_0x34421f['name'])!=null?_0x240c3f:this[_0xc16960(0x2f6)],this[_0xc16960(0x1a1)]=(_0x3fd8aa=_0x34421f['labelPosition'])!=null?_0x3fd8aa:this[_0xc16960(0x1a1)],this[_0xc16960(0x2d0)]=(_0x21e078=_0x34421f[_0xc16960(0x1af)])!=null?_0x21e078:this[_0xc16960(0x2d0)],this[_0xc16960(0x260)]({'width':_0x34421f[_0xc16960(0x213)],'height':_0x34421f[_0xc16960(0xee)]});}[_0x1e40b1(0x1a2)](_0x2a9206){const _0x2561c6=_0x1e40b1,{row:_0x22c1b2,column:_0x2ef1e9}=_0x2a9206;if(_0x22c1b2>=this['_range'][_0x2561c6(0x293)]&&_0x22c1b2<=this[_0x2561c6(0x210)][_0x2561c6(0x245)]&&_0x2ef1e9>=this[_0x2561c6(0x210)][_0x2561c6(0x1c3)]&&_0x2ef1e9<=this[_0x2561c6(0x210)][_0x2561c6(0x1b5)]){this[_0x2561c6(0x2a0)]({'hovered':!0x0});return;}this[_0x2561c6(0x2a0)]({'hovered':!0x1});}[_0x1e40b1(0x1bb)](_0x72967b){return!0x1;}[_0x1e40b1(0xd8)](_0x46f901){const _0x33f0e6=_0x1e40b1;_0x4d3d55[_0x33f0e6(0x106)](_0x46f901,{'width':this[_0x33f0e6(0x213)],'height':this['height'],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x33f0e6(0x2d0)]}),this['_hovered']&&(_0x46f901[_0x33f0e6(0x17c)](),_0x46f901[_0x33f0e6(0x2da)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x33f0e6(0x26f)?0x0:-Q),ve['drawWith'](_0x46f901,{'text':this[_0x33f0e6(0x2f6)],'color':this['_color']}),_0x46f901[_0x33f0e6(0xe2)]());}}var sn=Object[_0x1e40b1(0xe0)],nn=(_0x3043e6,_0x4c0fde,_0x1ced30,_0x5897c6)=>{const _0x50c699=_0x1e40b1;for(var _0x4bb1f3=_0x5897c6>0x1?void 0x0:_0x5897c6?sn(_0x4c0fde,_0x1ced30):_0x4c0fde,_0x55abf8=_0x3043e6[_0x50c699(0x2a6)]-0x1,_0xe03e35;_0x55abf8>=0x0;_0x55abf8--)(_0xe03e35=_0x3043e6[_0x55abf8])&&(_0x4bb1f3=_0xe03e35(_0x4bb1f3)||_0x4bb1f3);return _0x4bb1f3;},be=(_0x1118b7,_0x4b737a)=>(_0x3b6e90,_0x26ae9a)=>_0x4b737a(_0x3b6e90,_0x26ae9a,_0x1118b7);const rn=0x1389;let ke=class extends _0x52c72b{constructor(_0x14b435,_0x1dfac3,_0x6372d4,_0x5bfa8c){const _0x4abd92=_0x1e40b1;super(),_(this,'_cursors',new Set()),_(this,_0x4abd92(0x14f),null),(this[_0x4abd92(0x28d)]=_0x14b435,this[_0x4abd92(0x2ab)]=_0x1dfac3,this[_0x4abd92(0x1f2)]=_0x6372d4,this[_0x4abd92(0x1e7)]=_0x5bfa8c,this[_0x4abd92(0x17f)]());}[_0x1e40b1(0x17f)](){const _0x17fd7a=_0x1e40b1;this[_0x17fd7a(0x2ab)]['currentSkeleton$'][_0x17fd7a(0x2b2)](_0x25496f(this[_0x17fd7a(0x323)]),_0x46468b(_0x98662a=>{const _0x148e8d=_0x17fd7a;if(_0x98662a){const _0x4d774f=_0x98662a[_0x148e8d(0x1d4)];return _0x486491(this[_0x148e8d(0x1f2)][_0x148e8d(0x27f)](this['_context'][_0x148e8d(0x170)]),this['_themeService'][_0x148e8d(0x290)])[_0x148e8d(0x2b2)](_0x4ad3b0(([_0x435703,_0x465d74])=>{const _0x1969ab=new Map();return _0x435703['forEach']((_0x373201,_0x367eb9)=>{const _0x192691=_0x38fa;if(_0x373201['sheetID']===_0x4d774f){const _0x296f40={..._0x373201};_0x296f40[_0x192691(0x173)]=this[_0x192691(0x1e7)][_0x192691(0x242)](_0x373201['color']),_0x1969ab[_0x192691(0x1f3)](_0x367eb9,_0x296f40);}}),{'skeleton':_0x98662a,'cursors':_0x1969ab};}));}return _0x1b1789({'skeleton':null,'cursors':new Map()});}))[_0x17fd7a(0xfd)](({skeleton:_0x49a7eb,cursors:_0x5d7f31})=>{const _0x1f7c7a=_0x17fd7a;this['_removeCollabCursors'](),_0x49a7eb&&this[_0x1f7c7a(0x164)](_0x49a7eb,_0x5d7f31);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x17fd7a(0xfd)](_0xb02db=>{const _0x53e595=_0x17fd7a;if(_0xb02db==null)return;const {skeleton:_0x3bc561}=_0xb02db,{scene:_0x1d5efc}=this[_0x53e595(0x28d)];_0x1d5efc[_0x53e595(0x319)][_0x53e595(0x310)](_0x480f0d(_0x26d5bc=>{const _0x299896=_0x53e595;var _0x5ba213,_0x382e80;const {offsetX:_0x482f28,offsetY:_0x294f96}=_0x26d5bc,{x:_0x235258,y:_0x22ca7e}=_0x1d5efc[_0x299896(0x1b9)](_0x5c81fa['FromArray']([_0x482f28,_0x294f96])),{scaleX:_0x2aa6d1,scaleY:_0x5c837d}=_0x1d5efc[_0x299896(0x24b)](),_0x4726b5=_0x1d5efc[_0x299896(0x196)](_0x1b7b1e[_0x299896(0x2d4)]),_0x5ce94d=_0x1d5efc[_0x299896(0xf1)](_0x5c81fa[_0x299896(0x25d)]([_0x235258,_0x22ca7e]),_0x4726b5),_0x1870ca=_0x3bc561[_0x299896(0x13b)](_0x482f28,_0x294f96,_0x2aa6d1,_0x5c837d,_0x5ce94d);((_0x5ba213=this[_0x299896(0x14f)])==null?void 0x0:_0x5ba213[_0x299896(0x222)])===_0x1870ca[_0x299896(0x222)]&&((_0x382e80=this[_0x299896(0x14f)])==null?void 0x0:_0x382e80[_0x299896(0x2a9)])===_0x1870ca[_0x299896(0x2a9)]||this['_cursors'][_0x299896(0x150)](_0x185e09=>{const _0x10bbbd=_0x299896;_0x185e09[_0x10bbbd(0x1a2)](_0x1870ca);});},0x64));});}[_0x1e40b1(0x164)](_0x279063,_0x7f940e){const _0x3a557e=_0x1e40b1;var _0x2e308d;const _0xfc677d=(_0x2e308d=this[_0x3a557e(0x2ab)]['getCurrent']())==null?void 0x0:_0x2e308d['skeleton'];if(!_0xfc677d)return;const _0x5ba661=this['_getSheetObject']();if(!_0x5ba661)return;this[_0x3a557e(0x252)][_0x3a557e(0x150)](_0x3bd9ae=>{const _0xea194d=_0x3a557e;_0x3bd9ae[_0xea194d(0x23f)]();});const {scene:_0x44ebf9}=_0x5ba661,_0x3d3ec9=on(Array['from'](_0x7f940e[_0x3a557e(0x156)]()))[_0x3a557e(0x1de)](_0x37edba=>{const _0x5dce5d=_0x3a557e,{color:_0x2d18fa,range:_0x27b385,name:_0x1986f9,selection:_0x4f3046,sheetID:_0xf2a2cb}=_0x37edba,{startColumn:_0xb2514e,startRow:_0x55f25f,endColumn:_0x3f62fe,endRow:_0x39fd43}=_0x27b385,_0x40b322=_0x4ae2c3(_0x55f25f,_0xb2514e,_0x44ebf9,_0xfc677d),_0x80e703=_0x4ae2c3(_0x39fd43,_0x3f62fe,_0x44ebf9,_0xfc677d),{columnHeaderHeightAndMarginTop:_0x2463ba}=_0xfc677d,{startX:_0x2702cb,startY:_0x68acd8}=_0x40b322,{endX:_0x501705,endY:_0x381d5a}=_0x80e703,_0x3c927a=_0x501705-_0x2702cb,_0x3dc03e=_0x381d5a-_0x68acd8,_0x30a20a={'labelPosition':_0x68acd8-_0x2463ba>=Q?'top':_0x5dce5d(0x26f),'sheetID':_0xf2a2cb,'range':_0x27b385,'color':_0x2d18fa,'name':_0x1986f9,'selection':_0x4f3046,'left':_0x2702cb,'top':_0x68acd8,'width':_0x3c927a,'height':_0x3dc03e,'evented':!0x1,'zIndex':rn};return new tn(_0x1986f9,_0x30a20a);});_0x44ebf9['addObjects'](_0x3d3ec9,qi),this[_0x3a557e(0x252)]=new Set(_0x3d3ec9);}[_0x1e40b1(0x2fd)](){const _0x3369d6=_0x1e40b1;var _0x1f2691;(_0x1f2691=this['_cursors'])==null||_0x1f2691['forEach'](_0x22ca5d=>_0x22ca5d[_0x3369d6(0x234)]());}[_0x1e40b1(0x256)](){const _0x1c0c61=_0x1e40b1;return _0x542516(this[_0x1c0c61(0x28d)][_0x1c0c61(0xf0)],this[_0x1c0c61(0x28d)]);}};ke=nn([be(0x1,_0x2c0e45(_0x2e6db2)),be(0x2,_0x2c0e45(H)),be(0x3,_0x2c0e45(_0x200d5a))],ke);function on(_0x13d47c){const _0x202983=_0x1e40b1,_0x54569d=new Map();return _0x13d47c[_0x202983(0x150)](_0x5da13d=>{const _0x4ecebe=_0x202983;if(_0x54569d[_0x4ecebe(0x176)](_0x5da13d[_0x4ecebe(0x10e)])){const _0x43b549=_0x54569d[_0x4ecebe(0x303)](_0x5da13d['selection']);_0x43b549[_0x4ecebe(0x122)]+=',\x20'+_0x5da13d[_0x4ecebe(0x122)];}else _0x54569d[_0x4ecebe(0x1f3)](_0x5da13d[_0x4ecebe(0x10e)],_0x5da13d);}),Array[_0x202983(0x2e6)](_0x54569d[_0x202983(0x156)]());}var an=Object[_0x1e40b1(0xe0)],cn=(_0x24ad3b,_0x29ad9c,_0x43d123,_0x121864)=>{for(var _0xf1fe6e=_0x121864>0x1?void 0x0:_0x121864?an(_0x29ad9c,_0x43d123):_0x29ad9c,_0x1fda3c=_0x24ad3b['length']-0x1,_0x206df5;_0x1fda3c>=0x0;_0x1fda3c--)(_0x206df5=_0x24ad3b[_0x1fda3c])&&(_0xf1fe6e=_0x206df5(_0xf1fe6e)||_0xf1fe6e);return _0xf1fe6e;},F=(_0x193401,_0x173412)=>(_0xa1ba8f,_0x3c21f6)=>_0x173412(_0xa1ba8f,_0x3c21f6,_0x193401);let _e=class extends _0x4e2370{constructor(_0x4b2001,_0x40e7a7,_0x329925,_0x3ce750,_0x5b9a41,_0x836a4f){const _0xeb12ff=_0x1e40b1;super(),this[_0xeb12ff(0x1bd)]=_0x4b2001,this[_0xeb12ff(0x1f6)]=_0x40e7a7,this[_0xeb12ff(0x2eb)]=_0x329925,this['_messageService']=_0x3ce750,this[_0xeb12ff(0x243)]=_0x5b9a41,this[_0xeb12ff(0x149)]=_0x836a4f,this[_0xeb12ff(0x14d)](),this['_initEvent']();}[_0x1e40b1(0x14d)](){const _0x563297=_0x1e40b1;this['disposeWithMe'](this[_0x563297(0x1bd)][_0x563297(0x1d9)](()=>{const _0x4b0318=_0x563297;if(this[_0x4b0318(0x1f6)]['saveTaskMap']['size'])return this[_0x4b0318(0x149)]['t'](_0x4b0318(0x141));}));}[_0x1e40b1(0x2d7)](){const _0x1a1548=_0x1e40b1;this[_0x1a1548(0x286)](this[_0x1a1548(0x2eb)][_0x1a1548(0x11c)]['subscribe'](_0x1b82bb=>{const _0x5e268f=_0x1a1548;_0x1b82bb['id']===_0x29a27e['OTHER_CLIENT_EDITING']&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x317)],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x22a))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x17a)]&&this[_0x5e268f(0x253)]['show']({'type':_0x413557['Warning'],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x1eb))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x1c9)]&&this[_0x5e268f(0x243)][_0x5e268f(0xff)]({'title':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x23d)),'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x27d)),'type':_0x5e268f(0x2cd),'duration':0x0}),_0x1b82bb['id']===_0x29a27e['CONFLICT']&&this[_0x5e268f(0x253)]['show']({'type':_0x413557[_0x5e268f(0x1df)],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x1eb))+'('+_0x1b82bb['data']+')'}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x29d)]&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557['Warning'],'content':this[_0x5e268f(0x149)]['t'](_0x1b82bb[_0x5e268f(0x17b)]||'')}),_0x1b82bb['id']===_0x29a27e['SOCKET_FAILED_RETRY']&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557['Warning'],'content':this['_localeService']['t'](_0x5e268f(0x289))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x240)]&&this['_messageService'][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x1df)],'content':this['_localeService']['t'](_0x5e268f(0x133))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x2b7)]&&this['_messageService'][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x1df)],'content':this[_0x5e268f(0x149)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x3cd0f6),F(0x1,_0x51b584),F(0x2,_0x2c0e45(_0xfcb14b)),F(0x3,_0x5aac8c),F(0x4,_0x5c99d5),F(0x5,_0x2c0e45(_0x51435d))],_e);var _n=Object[_0x1e40b1(0xe0)],ln=(_0x145493,_0x145f85,_0x32aa64,_0x33e0d8)=>{const _0x48e6fb=_0x1e40b1;for(var _0x170331=_0x33e0d8>0x1?void 0x0:_0x33e0d8?_n(_0x145f85,_0x32aa64):_0x145f85,_0x5b3c14=_0x145493[_0x48e6fb(0x2a6)]-0x1,_0x46b9f7;_0x5b3c14>=0x0;_0x5b3c14--)(_0x46b9f7=_0x145493[_0x5b3c14])&&(_0x170331=_0x46b9f7(_0x170331)||_0x170331);return _0x170331;},ne=(_0x25de80,_0x452a94)=>(_0x22ebba,_0x3b1a53)=>_0x452a94(_0x22ebba,_0x3b1a53,_0x25de80);let le=class extends _0x4e2370{constructor(_0x2258f9,_0x53b322,_0x330ab2,_0x4113cd){const _0x2b68a1=_0x1e40b1;super(),_(this,_0x2b68a1(0x24a)),(this['_injector']=_0x2258f9,this['_httpService']=_0x53b322,this[_0x2b68a1(0x302)]=_0x330ab2,this[_0x2b68a1(0x12e)]=_0x4113cd,this[_0x2b68a1(0x17f)]());}[_0x1e40b1(0x17f)](){const _0x5f3271=_0x1e40b1;this[_0x5f3271(0x1fe)](),this['_initUnhandledRejectionListener'](),this[_0x5f3271(0x11f)](),this[_0x5f3271(0x21a)]();}[_0x1e40b1(0x21a)](){const _0x56f344=_0x1e40b1;this[_0x56f344(0x286)](this[_0x56f344(0x12e)][_0x56f344(0x2b1)][_0x56f344(0xfd)](_0x4a44ef=>{const _0x1888f7=_0x56f344;this[_0x1888f7(0x24a)]=_0x4a44ef==null?void 0x0:_0x4a44ef[_0x1888f7(0x207)];}));}[_0x1e40b1(0x1fe)](){const _0x58dc47=_0x1e40b1,_0x36470d=_0x327dcb=>{const _0x13aadb=_0x38fa;var _0x4fedcd;this[_0x13aadb(0x28a)](_0x13aadb(0x2cd),_0x13aadb(0x1c0)+_0x327dcb['message']+_0x13aadb(0x20e)+_0x327dcb[_0x13aadb(0x314)]+':'+_0x327dcb[_0x13aadb(0x2d5)]+':'+_0x327dcb[_0x13aadb(0x15c)]+'\x0a'+(((_0x4fedcd=_0x327dcb['error'])==null?void 0x0:_0x4fedcd[_0x13aadb(0x190)])||''));};window['addEventListener'](_0x58dc47(0x2cd),_0x36470d),this[_0x58dc47(0x286)](()=>{const _0xa8103f=_0x58dc47;window[_0xa8103f(0x2bd)](_0xa8103f(0x2cd),_0x36470d);});}['_initUnhandledRejectionListener'](){const _0x5948fa=_0x1e40b1,_0x12fd63=_0x35f530=>{const _0x45dd3d=_0x38fa;this[_0x45dd3d(0x28a)](_0x45dd3d(0x2cd),_0x45dd3d(0x16e)+_0x35f530[_0x45dd3d(0x254)]);};window[_0x5948fa(0x1c6)]('unhandledrejection',_0x12fd63),this['disposeWithMe'](()=>{const _0x8c1b0f=_0x5948fa;window[_0x8c1b0f(0x2bd)]('unhandledrejection',_0x12fd63);});}[_0x1e40b1(0x11f)](){const _0x56f9a3=_0x1e40b1,_0x55ab0f=this[_0x56f9a3(0x302)]['error'][_0x56f9a3(0x2aa)](this[_0x56f9a3(0x302)]);this['_logService']['error']=(..._0x494d6b)=>{const _0x337957=_0x56f9a3,_0x137413=_0x494d6b[_0x337957(0x1de)](_0x16465f=>_0x16465f instanceof Error?_0x16465f[_0x337957(0x11e)]+'\x0a'+_0x16465f['stack']:String(_0x16465f))[_0x337957(0xce)]('\x20');this['_uploadLog'](_0x337957(0x2cd),'[LogService\x20Error]:\x20'+_0x137413),_0x55ab0f(..._0x494d6b);},this['disposeWithMe'](()=>{const _0x2441cc=_0x56f9a3;this[_0x2441cc(0x302)]['error']=_0x55ab0f;});}['_uploadLog'](_0x2ee370,_0x2904ee){const _0x4a4180=_0x1e40b1;try{const _0x4d8ca1={'userId':this[_0x4a4180(0x24a)],'logLabel':_0x2ee370,'content':_0x2904ee};this[_0x4a4180(0x185)][_0x4a4180(0x259)](_0x4a4180(0x1c8),{'body':_0x4d8ca1})[_0x4a4180(0x1da)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2c0e45(_0x3fc224)),ne(0x1,_0x2c0e45(_0xb0aafa)),ne(0x2,_0x29510e),ne(0x3,_0x2c0e45(_0x38b52a))],le);const hn=_0x1e40b1(0x26e),_t={};var un=Object[_0x1e40b1(0xe0)],dn=(_0x48e805,_0x50b1d8,_0x49ab61,_0x52f6dc)=>{const _0x430b73=_0x1e40b1;for(var _0x308d43=_0x52f6dc>0x1?void 0x0:_0x52f6dc?un(_0x50b1d8,_0x49ab61):_0x50b1d8,_0x4cc762=_0x48e805[_0x430b73(0x2a6)]-0x1,_0x5bc34e;_0x4cc762>=0x0;_0x4cc762--)(_0x5bc34e=_0x48e805[_0x4cc762])&&(_0x308d43=_0x5bc34e(_0x308d43)||_0x308d43);return _0x308d43;},lt=(_0x1f40bb,_0x5b722e)=>(_0x567eb0,_0x21f294)=>_0x5b722e(_0x567eb0,_0x21f294,_0x1f40bb);let he=class{constructor(_0x481982,_0x4b7fa8){const _0x20b150=_0x1e40b1;this['_transformService']=_0x481982,this[_0x20b150(0x316)]=_0x4b7fa8;}['transformIMECache'](_0x3d6120){const _0x19b205=_0x1e40b1;this[_0x19b205(0x2cf)](_0x3d6120),this[_0x19b205(0x2db)](_0x3d6120);}[_0x1e40b1(0x112)](_0x3be3fb){const _0x1f8d46=_0x1e40b1,{unitID:_0x49d064}=_0x3be3fb,_0xf8fb7=this['_renderManagerService'][_0x1f8d46(0x1d8)](_0x49d064)[_0x1f8d46(0x109)](_0x208526),{redoCache:_0x470f5b}=_0xf8fb7[_0x1f8d46(0x12a)]();if(_0x470f5b[_0x1f8d46(0x2a6)]===0x0)return _0x3be3fb;let _0x473c80=_0x509f1e['deepClone'](_0x3be3fb[_0x1f8d46(0x101)][0x0]);for(let _0x485923=0x0;_0x485923<_0x470f5b['length'];_0x485923++){const _0x3500bc={'id':_0x1f8d46(0x1f5),'params':{..._0x470f5b[_0x485923]}},_0x4aafcc=this[_0x1f8d46(0x28f)][_0x1f8d46(0xec)](_0x473c80,_0x3500bc,!0x1);if(_0x463700(_0x4aafcc))throw _0x4aafcc[_0x1f8d46(0x2cd)];_0x473c80=_0x4aafcc[_0x1f8d46(0x110)];}return{..._0x509f1e[_0x1f8d46(0x2d6)](_0x3be3fb),'mutations':[_0x473c80]};}[_0x1e40b1(0x2cf)](_0x2e5f5e){const _0x1e93e4=_0x1e40b1,{unitID:_0x310f00}=_0x2e5f5e,_0x553b77=this[_0x1e93e4(0x316)][_0x1e93e4(0x1d8)](_0x310f00)[_0x1e93e4(0x109)](_0x208526),{undoCache:_0xdb8829,redoCache:_0x5ad7cb}=_0x553b77[_0x1e93e4(0x12a)]();if(_0xdb8829[_0x1e93e4(0x2a6)]===0x0||_0x5ad7cb['length']===0x0)return;const _0x32ed6f=[],_0x2b3aac=[];let _0x40b7f7=_0x509f1e[_0x1e93e4(0x2d6)](_0x2e5f5e[_0x1e93e4(0x101)][0x0]),_0x1c90ee=_0x509f1e[_0x1e93e4(0x2d6)](_0x2e5f5e[_0x1e93e4(0x101)][0x0]);for(let _0x41a2b5=_0xdb8829[_0x1e93e4(0x2a6)]-0x1;_0x41a2b5>=0x0;_0x41a2b5--){const _0x5bc905={'id':_0x1e93e4(0x1f5),'params':{..._0xdb8829[_0x41a2b5]}},_0x31424={'id':_0x1e93e4(0x1f5),'params':{..._0x5ad7cb[_0x41a2b5]}},_0x465434=this[_0x1e93e4(0x28f)][_0x1e93e4(0xec)](_0x40b7f7,_0x5bc905,!0x1),_0x3e2e44=this[_0x1e93e4(0x28f)][_0x1e93e4(0xec)](_0x1c90ee,_0x31424,!0x1);if(_0x463700(_0x465434))throw _0x465434[_0x1e93e4(0x2cd)];if(_0x463700(_0x3e2e44))throw _0x3e2e44[_0x1e93e4(0x2cd)];_0x32ed6f['unshift'](_0x465434[_0x1e93e4(0x31d)][_0x1e93e4(0x327)]),_0x2b3aac[_0x1e93e4(0x27a)](_0x3e2e44[_0x1e93e4(0x31d)]['params']),_0x40b7f7=_0x465434[_0x1e93e4(0x110)],_0x1c90ee=_0x3e2e44['m1Prime'];}_0x553b77[_0x1e93e4(0x16f)]({'undoCache':_0x32ed6f,'redoCache':_0x2b3aac});}['_transformPreviousActiveRange'](_0x210947){const _0x3c9f52=_0x1e40b1,{unitID:_0x26218a}=_0x210947,_0x3066b0=this['_renderManagerService'][_0x3c9f52(0x1d8)](_0x26218a)['with'](_0x208526),_0x8edc9c=_0x3066b0[_0x3c9f52(0x235)]();if(_0x8edc9c==null)return;const _0x4bef4e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x210947[_0x3c9f52(0x187)],'actions':null,'textRanges':[_0x8edc9c]}}],_0x4ac303=this[_0x3c9f52(0x28f)][_0x3c9f52(0x261)](_0x210947,_0x4bef4e);if(!_0x22ff8b(_0x4ac303))throw _0x4ac303[_0x3c9f52(0x2cd)];const _0xa818e0=_0x4ac303[_0x3c9f52(0x31d)][0x0][_0x3c9f52(0x327)][_0x3c9f52(0x1ef)];Array['isArray'](_0xa818e0)&&_0xa818e0['length']&&_0x3066b0['setActiveRange'](_0xa818e0[0x0]);}};he=dn([lt(0x0,_0xa76561),lt(0x1,_0xef4dde)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x3f7a54,_0x260268,_0x5b58c6,_0xe9f302)=>{const _0x11dde4=_0x1e40b1;for(var _0x2bac4a=_0xe9f302>0x1?void 0x0:_0xe9f302?Sn(_0x260268,_0x5b58c6):_0x260268,_0x3b3627=_0x3f7a54[_0x11dde4(0x2a6)]-0x1,_0xc15419;_0x3b3627>=0x0;_0x3b3627--)(_0xc15419=_0x3f7a54[_0x3b3627])&&(_0x2bac4a=_0xc15419(_0x2bac4a)||_0x2bac4a);return _0x2bac4a;},Le=(_0x3f5e96,_0x3b1998)=>(_0x44825e,_0x38b77c)=>_0x3b1998(_0x44825e,_0x38b77c,_0x3f5e96);let ue=class{constructor(_0x44464b,_0x2c58d8,_0x100754){const _0x590579=_0x1e40b1;this[_0x590579(0x2f1)]=_0x44464b,this[_0x590579(0x28f)]=_0x2c58d8,this[_0x590579(0x1e1)]=_0x100754;}[_0x1e40b1(0x23c)](_0x4f0e15){const _0x3ed521=_0x1e40b1;this[_0x3ed521(0x19b)](_0x4f0e15);}['transformRemoteChangeset'](_0x3e7a22){const _0x378aad=_0x1e40b1,{unitID:_0x54b79e}=_0x3e7a22,{collaboration:_0xd1e313}=this['_docStateChangeManagerService']['getStateCache'](_0x54b79e);if(_0xd1e313['length']===0x0)return _0x3e7a22;let _0x3eb368=_0x509f1e[_0x378aad(0x2d6)](_0x3e7a22['mutations'][0x0]);for(let _0x2e8c5f=0x0;_0x2e8c5f<_0xd1e313[_0x378aad(0x2a6)];_0x2e8c5f++){const _0x321df5={'id':_0x378aad(0x1f5),'params':{'unitId':_0xd1e313[_0x2e8c5f][_0x378aad(0x170)],..._0xd1e313[_0x2e8c5f][_0x378aad(0x1bc)]}},_0x13d9e6=this[_0x378aad(0x28f)]['transformMutation'](_0x3eb368,_0x321df5,!0x1);if(_0x463700(_0x13d9e6))throw _0x13d9e6[_0x378aad(0x2cd)];_0x3eb368=_0x13d9e6[_0x378aad(0x110)];}return{..._0x509f1e[_0x378aad(0x2d6)](_0x3e7a22),'mutations':[_0x3eb368]};}[_0x1e40b1(0x19b)](_0x146c54){const _0x3b3885=_0x1e40b1,{unitID:_0x4e3486}=_0x146c54,{history:_0x2d8aee,collaboration:_0x16d221}=this[_0x3b3885(0x1e1)][_0x3b3885(0x2e5)](_0x4e3486);if(_0x2d8aee['length']===0x0&&_0x16d221[_0x3b3885(0x2a6)]===0x0)return;const _0x2679fd=[],_0xd8d6e9=[];let _0x44da8e=_0x509f1e['deepClone'](_0x146c54[_0x3b3885(0x101)][0x0]),_0x3a1319=_0x509f1e['deepClone'](_0x146c54['mutations'][0x0]);for(let _0x42f195=_0x2d8aee[_0x3b3885(0x2a6)]-0x1;_0x42f195>=0x0;_0x42f195--){const _0x4f21af={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x2d8aee[_0x42f195][_0x3b3885(0x170)],..._0x2d8aee[_0x42f195][_0x3b3885(0x1bf)]}},_0x39dc74={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x2d8aee[_0x42f195]['unitId'],..._0x2d8aee[_0x42f195][_0x3b3885(0x1bc)]}},_0x20e83e=this[_0x3b3885(0x28f)]['transformMutation'](_0x44da8e,_0x4f21af,!0x1),_0x551353=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x3a1319,_0x39dc74,!0x1);if(_0x463700(_0x20e83e))throw _0x20e83e[_0x3b3885(0x2cd)];if(_0x463700(_0x551353))throw _0x551353['error'];_0x2679fd['unshift']({..._0x2d8aee[_0x42f195],'undoState':_0x20e83e[_0x3b3885(0x31d)][_0x3b3885(0x327)],'redoState':_0x551353[_0x3b3885(0x31d)][_0x3b3885(0x327)]}),_0x44da8e=_0x20e83e[_0x3b3885(0x110)],_0x3a1319=_0x551353['m1Prime'];}_0x44da8e=_0x509f1e['deepClone'](_0x146c54[_0x3b3885(0x101)][0x0]),_0x3a1319=_0x509f1e[_0x3b3885(0x2d6)](_0x146c54[_0x3b3885(0x101)][0x0]);for(let _0x13c34c=_0x16d221['length']-0x1;_0x13c34c>=0x0;_0x13c34c--){const _0x2b5934={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x16d221[_0x13c34c]['unitId'],..._0x16d221[_0x13c34c][_0x3b3885(0x1bf)]}},_0x2cfdd6={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x16d221[_0x13c34c][_0x3b3885(0x170)],..._0x16d221[_0x13c34c][_0x3b3885(0x1bc)]}},_0x4072c9=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x44da8e,_0x2b5934,!0x1),_0x3ec8ba=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x3a1319,_0x2cfdd6,!0x1);if(_0x463700(_0x4072c9))throw _0x4072c9[_0x3b3885(0x2cd)];if(_0x463700(_0x3ec8ba))throw _0x3ec8ba[_0x3b3885(0x2cd)];_0xd8d6e9[_0x3b3885(0x27a)]({..._0x16d221[_0x13c34c],'undoState':_0x4072c9[_0x3b3885(0x31d)][_0x3b3885(0x327)],'redoState':_0x3ec8ba[_0x3b3885(0x31d)][_0x3b3885(0x327)]}),_0x44da8e=_0x4072c9['m1Prime'],_0x3a1319=_0x3ec8ba[_0x3b3885(0x110)];}this[_0x3b3885(0x1e1)][_0x3b3885(0x191)](_0x4e3486,{'history':_0x2679fd,'collaboration':_0xd8d6e9});}};ue=In([Le(0x0,_0x2c0e45(_0x3fc224)),Le(0x1,_0xa76561),Le(0x2,_0x2c0e45(_0x1e4bf3))],ue);var mn=Object[_0x1e40b1(0xe0)],fn=(_0x29d141,_0x34465f,_0x4ebff6,_0x2190d8)=>{const _0x56cf6d=_0x1e40b1;for(var _0x16124e=_0x2190d8>0x1?void 0x0:_0x2190d8?mn(_0x34465f,_0x4ebff6):_0x34465f,_0x2f3764=_0x29d141[_0x56cf6d(0x2a6)]-0x1,_0x37e6da;_0x2f3764>=0x0;_0x2f3764--)(_0x37e6da=_0x29d141[_0x2f3764])&&(_0x16124e=_0x37e6da(_0x16124e)||_0x16124e);return _0x16124e;},ht=(_0x29a6d4,_0x13026d)=>(_0x4c8078,_0x1cb18f)=>_0x13026d(_0x4c8078,_0x1cb18f,_0x29a6d4);let de=class{constructor(_0x3e7cfd,_0x40ad12){const _0x338bab=_0x1e40b1;this['_injector']=_0x3e7cfd,this[_0x338bab(0x28f)]=_0x40ad12;}[_0x1e40b1(0xf9)](_0x497d53){const _0x3fddfb=_0x1e40b1;var _0x1956a1;const _0x548834=this[_0x3fddfb(0x2f1)][_0x3fddfb(0x303)](_0x8b731d),_0x5a2489=(_0x1956a1=_0x548834[_0x3fddfb(0xd7)]())!=null?_0x1956a1:[];if(_0x5a2489['length']===0x0)return;const _0x12eada=_0x497d53[_0x3fddfb(0x187)],_0x800e6=[{'id':_0x3fddfb(0x1f5),'params':{'unitId':_0x12eada,'actions':null,'textRanges':_0x5a2489}}],_0x25afe5=this['_transformService'][_0x3fddfb(0x261)](_0x497d53,_0x800e6);if(!_0x22ff8b(_0x25afe5))throw _0x25afe5['error'];const _0x262532=_0x25afe5['m2Prime'][0x0][_0x3fddfb(0x327)][_0x3fddfb(0x1ef)];Array['isArray'](_0x262532)&&_0x262532[_0x3fddfb(0x2a6)]&&_0x548834[_0x3fddfb(0x1dd)](_0x262532,{'unitId':_0x12eada,'subUnitId':_0x12eada},!0x1);}};de=fn([ht(0x0,_0x2c0e45(_0x3fc224)),ht(0x1,_0xa76561)],de);var gn=Object[_0x1e40b1(0xe0)],En=(_0x59a73a,_0x424bd1,_0x42e769,_0x51a268)=>{const _0x2d5585=_0x1e40b1;for(var _0x32fe7c=_0x51a268>0x1?void 0x0:_0x51a268?gn(_0x424bd1,_0x42e769):_0x424bd1,_0xe64726=_0x59a73a[_0x2d5585(0x2a6)]-0x1,_0x42026c;_0xe64726>=0x0;_0xe64726--)(_0x42026c=_0x59a73a[_0xe64726])&&(_0x32fe7c=_0x42026c(_0x32fe7c)||_0x32fe7c);return _0x32fe7c;},U=(_0x5e613e,_0xd18b74)=>(_0xae3a84,_0x15fc99)=>_0xd18b74(_0xae3a84,_0x15fc99,_0x5e613e);let Se=class extends _0x4e2370{constructor(_0x3b442a,_0x4878ec,_0x184f73,_0x29f0ac,_0x1dca75,_0x5d5468,_0x15c060,_0x3e8a30){const _0x41eb12=_0x1e40b1;super(),_(this,_0x41eb12(0x271),new _0xefb469(_0x126115[_0x41eb12(0x232)])),(this[_0x41eb12(0x1e1)]=_0x3b442a,this[_0x41eb12(0x124)]=_0x4878ec,this[_0x41eb12(0x208)]=_0x184f73,this[_0x41eb12(0x230)]=_0x29f0ac,this[_0x41eb12(0x1ab)]=_0x1dca75,this[_0x41eb12(0x14c)]=_0x5d5468,this['_messageService']=_0x15c060,this[_0x41eb12(0x149)]=_0x3e8a30,this[_0x41eb12(0x262)]());}[_0x1e40b1(0x262)](){const _0x180aa5=_0x1e40b1;this[_0x180aa5(0x286)](this[_0x180aa5(0x124)][_0x180aa5(0x10a)][_0x180aa5(0xfd)](_0x1b72c4=>{const _0xf34283=_0x180aa5,_0x270548=this[_0xf34283(0x1e1)][_0xf34283(0x31f)][_0xf34283(0xfd)](_0x49cc94=>{const _0x178417=_0xf34283;if(_0x49cc94==null)return;const {unitId:_0x28df47,redoState:_0x3c707e,commandId:_0x1bc5b4}=_0x49cc94;if(_0x28df47!==_0x1b72c4[_0x178417(0x187)])return;const _0x107e78={'id':_0x1bc5b4,'type':_0x488e10[_0x178417(0x324)],'params':{'unitId':_0x28df47,'actions':_0x3c707e[_0x178417(0x116)],'textRanges':null}};_0x1b72c4[_0x178417(0x216)](_0x107e78);});if(_0x1b72c4[_0xf34283(0x286)](_0x270548),_0x1b72c4 instanceof _0x185d0f){const _0x309909={'onTransformIME':_0x611d95=>this[_0xf34283(0x208)][_0xf34283(0x11d)](_0x611d95),'onTransformState':_0x5e5bd3=>this[_0xf34283(0x230)][_0xf34283(0x23c)](_0x5e5bd3),'onTransformSelections':_0x39f794=>this[_0xf34283(0x1ab)][_0xf34283(0xf9)](_0x39f794),'onSyncEditingCollabCursor':_0x2cb5fb=>this[_0xf34283(0x14c)][_0xf34283(0x1ec)](_0x2cb5fb),'onTransformRemoteChangesetByIMECache':_0x4e3aa9=>this[_0xf34283(0x208)][_0xf34283(0x112)](_0x4e3aa9),'onTransformRemoteChangesetByStateCache':_0x17842b=>this[_0xf34283(0x230)][_0xf34283(0x112)](_0x17842b)};_0x1b72c4[_0xf34283(0x1b7)](_0x309909);}}));}};Se=En([U(0x0,_0x2c0e45(_0x1e4bf3)),U(0x1,_0x2c0e45(_0x465340)),U(0x2,_0x2c0e45(he)),U(0x3,_0x2c0e45(ue)),U(0x4,_0x2c0e45(de)),U(0x5,_0x2c0e45(ze)),U(0x6,_0x5aac8c),U(0x7,_0x2c0e45(_0x51435d))],Se);var Z=(_0x2f24d7=>(_0x2f24d7[_0x2f24d7[_0x1e40b1(0x287)]=0x0]=_0x1e40b1(0x287),_0x2f24d7[_0x2f24d7['OK']=0x1]='OK',_0x2f24d7[_0x2f24d7['INTERNAL_ERROR']=0x2]=_0x1e40b1(0x209),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1c9)]=0x3]=_0x1e40b1(0x1c9),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2dc)]=0x4]=_0x1e40b1(0x2dc),_0x2f24d7[_0x2f24d7['UNAUTHENTICATED']=0x5]=_0x1e40b1(0x2c6),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2fb)]=0x6]=_0x1e40b1(0x2fb),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x174)]=0x7]='INVALID_ARGUMENT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x18f)]=0x8]='TOO_MANY_REQUESTS',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1a9)]=0x9]='COMPLETION_FINISHED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x13f)]=0xa]='LOGIN_FAILED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1ac)]=0xb]=_0x1e40b1(0x1ac),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x100)]=0xc]=_0x1e40b1(0x100),_0x2f24d7[_0x2f24d7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1e40b1(0x199),_0x2f24d7[_0x2f24d7['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1e40b1(0x23b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x165)]=0xf]=_0x1e40b1(0x165),_0x2f24d7[_0x2f24d7['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1e40b1(0x24f),_0x2f24d7[_0x2f24d7['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1e40b1(0x2bf),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1ea)]=0x65]=_0x1e40b1(0x1ea),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x10f)]=0xc9]=_0x1e40b1(0x10f),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x16c)]=0xca]=_0x1e40b1(0x16c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1fd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x20d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x18e)]=0x1773]=_0x1e40b1(0x18e),_0x2f24d7[_0x2f24d7['APPLY_REJECT']=0x1b59]=_0x1e40b1(0x285),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x127)]=0x1b5a]=_0x1e40b1(0x127),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x123)]=0x1b5b]=_0x1e40b1(0x123),_0x2f24d7[_0x2f24d7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1e40b1(0x301),_0x2f24d7[_0x2f24d7['APPLY_DUPLICATED']=0x1b5d]=_0x1e40b1(0x1a4),_0x2f24d7[_0x2f24d7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x322)]=0x2329]=_0x1e40b1(0x322),_0x2f24d7[_0x2f24d7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1e40b1(0x16a),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2a1)]=0x232b]=_0x1e40b1(0x2a1),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xd2)]=0x232c]=_0x1e40b1(0xd2),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x296)]=0x232d]=_0x1e40b1(0x296),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2ec)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f24d7[_0x2f24d7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f24d7[_0x2f24d7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1e40b1(0x270),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x311)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x305)]=0x271a]=_0x1e40b1(0x305),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x16b)]=0x271b]=_0x1e40b1(0x16b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x154)]=0x271c]=_0x1e40b1(0x154),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x31c)]=0x271d]=_0x1e40b1(0x31c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x19c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x244)]=0x271f]=_0x1e40b1(0x244),_0x2f24d7[_0x2f24d7['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1e40b1(0xd6),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x21b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2f24d7[_0x2f24d7[_0x1e40b1(0xe9)]=0x2ee1]=_0x1e40b1(0xe9),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xed)]=0x2ee2]=_0x1e40b1(0xed),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2c5)]=0x2ee3]=_0x1e40b1(0x2c5),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x237)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f24d7[_0x2f24d7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1e40b1(0x325),_0x2f24d7[_0x2f24d7['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1e40b1(0x14e),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x267)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x166)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x223)]=0x36b1]=_0x1e40b1(0x223),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2a4)]=0x36b2]=_0x1e40b1(0x2a4),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xcf)]=0x36b3]=_0x1e40b1(0xcf),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2e2)]=0x36b4]=_0x1e40b1(0x2e2),_0x2f24d7[_0x2f24d7['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1e40b1(0x31b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x30e)]=0x36b6]=_0x1e40b1(0x30e),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1db)]=0x36b7]=_0x1e40b1(0x1db),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x233)]=0x36b8]=_0x1e40b1(0x233),_0x2f24d7[_0x2f24d7['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x29f)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x19d)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2f24d7[_0x2f24d7['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1e40b1(0xf4),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x22c)]=0x3a99]=_0x1e40b1(0x22c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x203)]=0x3a9a]=_0x1e40b1(0x203),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1e8)]=0x3a9b]=_0x1e40b1(0x1e8),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2c0)]=0x3a9c]=_0x1e40b1(0x2c0),_0x2f24d7[_0x2f24d7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1e40b1(0x180),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1b0)]=0x3a9e]=_0x1e40b1(0x1b0),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xfb)]=0x3a9f]=_0x1e40b1(0xfb),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x214)]=0x3e81]=_0x1e40b1(0x214),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x14a)]=-0x1]=_0x1e40b1(0x14a),_0x2f24d7))(Z||{});function vn(_0x23e64c){const _0xd39f7f=_0x1e40b1;var _0x2f144a,_0x6c6ccc;const _0x5a660c=(_0x2f144a=_0x23e64c[_0xd39f7f(0x2bc)])==null?void 0x0:_0x2f144a['stage'],_0x2410ef=((_0x6c6ccc=_0x23e64c['stageInfo'])==null?void 0x0:_0x6c6ccc[_0xd39f7f(0x15f)])||0x0;return _0x5a660c===_0x422184[_0xd39f7f(0xdb)]&&_0x2410ef>0x0;}function pn(_0x362612){const _0x134b60=_0x1e40b1;return _0x362612[_0x134b60(0x121)]===_0x3bbcbd['SUCCESS'];}var On=Object[_0x1e40b1(0xe0)],Tn=(_0x64c847,_0x1a493d,_0x4dc6b2,_0x2ab9a2)=>{const _0x3980fd=_0x1e40b1;for(var _0x174237=_0x2ab9a2>0x1?void 0x0:_0x2ab9a2?On(_0x1a493d,_0x4dc6b2):_0x1a493d,_0x5e7cc9=_0x64c847[_0x3980fd(0x2a6)]-0x1,_0x550f3e;_0x5e7cc9>=0x0;_0x5e7cc9--)(_0x550f3e=_0x64c847[_0x5e7cc9])&&(_0x174237=_0x550f3e(_0x174237)||_0x174237);return _0x174237;},P=(_0x48ee9a,_0x5ab8e2)=>(_0x4b8e87,_0x102bf6)=>_0x5ab8e2(_0x4b8e87,_0x102bf6,_0x48ee9a);const Cn=_0x1e40b1(0x184),Rn=_0x1e40b1(0x12b),Dn=_0x1e40b1(0x1f4);let Ie=class extends _0x4e2370{constructor(_0x40d88e,_0x25a8dc,_0x1b87b4,_0x5a3fd3,_0x134a69,_0x37edd4,_0x83a987){const _0x123aa6=_0x1e40b1;super(),_(this,_0x123aa6(0x1e6),null),_(this,_0x123aa6(0x1fc),0x0),_(this,_0x123aa6(0xd3),0x0),_(this,'_taskIds',[]),_(this,_0x123aa6(0x16d),0x0),(this[_0x123aa6(0x253)]=_0x40d88e,this[_0x123aa6(0x2c8)]=_0x25a8dc,this[_0x123aa6(0x264)]=_0x1b87b4,this[_0x123aa6(0x185)]=_0x5a3fd3,this[_0x123aa6(0x194)]=_0x134a69,this[_0x123aa6(0x302)]=_0x37edd4,this['_localeService']=_0x83a987,this['_initCommandInterceptor']());}[_0x1e40b1(0x299)](){const _0x2d05ff=_0x1e40b1;this[_0x2d05ff(0x286)](this[_0x2d05ff(0x2c8)][_0x2d05ff(0xef)]((_0x1c27d6,_0x28545a)=>{const _0x29eafd=_0x2d05ff;var _0x211461;if(_0x1c27d6['id']!==_0x1ecee1['id'])return;const _0x505485=_0x1c27d6[_0x29eafd(0x327)];if(!this[_0x29eafd(0x1c2)]((_0x211461=_0x505485[_0x29eafd(0xd0)])!=null?_0x211461:[]))return;if(!this[_0x29eafd(0x29a)]())throw this[_0x29eafd(0x143)](_0x1c27d6,_0x28545a),this[_0x29eafd(0x269)](),new _0x309b6a();})),this['disposeWithMe'](this[_0x2d05ff(0x2c8)]['onCommandExecuted']((_0x5db1d2,_0x348bd8)=>{const _0x58a924=_0x2d05ff;if(_0x5db1d2['id']!==_0x49db29['id'])return;const _0x23a441=_0x5db1d2[_0x58a924(0x327)];if(vn(_0x23a441)){const _0x1f1ea2=_0x2b8a5d();this['_taskIds'][_0x58a924(0x2e7)](_0x1f1ea2),this[_0x58a924(0x20c)](_0x1f1ea2);}else{if(pn(_0x23a441)&&this[_0x58a924(0x217)][_0x58a924(0x2a6)]>0x0){const _0x3e1a01=this[_0x58a924(0x217)][_0x58a924(0x2e9)]();this[_0x58a924(0x226)](_0x3e1a01);}}}));}[_0x1e40b1(0x234)](){const _0x2602b9=_0x1e40b1;super[_0x2602b9(0x234)](),this[_0x2602b9(0x15a)](),this[_0x2602b9(0x217)]=[],this[_0x2602b9(0xd3)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x1e40b1(0x143)](_0x17720b,_0x11d9df){const _0x21fbc0=_0x1e40b1;for(let _0x5c3065=0x0;_0x5c3065<0x1e;_0x5c3065++)try{if(await this[_0x21fbc0(0x12c)](),this[_0x21fbc0(0x29a)]()){this[_0x21fbc0(0x2a3)](_0x17720b,_0x11d9df),this['_messageService'][_0x21fbc0(0xff)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x413557[_0x21fbc0(0x152)]});return;}await new Promise(_0x460754=>{const _0x43a2e3=_0x21fbc0;this[_0x43a2e3(0x1e6)]=window[_0x43a2e3(0x1dc)](_0x460754,0x3e8);});}catch(_0x286aa5){this[_0x21fbc0(0x302)][_0x21fbc0(0x2cd)](_0x286aa5);}this[_0x21fbc0(0x253)][_0x21fbc0(0xff)]({'content':this[_0x21fbc0(0x149)]['t'](_0x21fbc0(0x1d6)),'type':_0x413557[_0x21fbc0(0x1df)]});}[_0x1e40b1(0x2a3)](_0x57b3c3,_0x72ccbe){const _0x2fb05c=_0x1e40b1;try{this[_0x2fb05c(0x2c8)]['executeCommand'](_0x57b3c3['id'],_0x57b3c3['params'],_0x72ccbe);}catch(_0x2dddcd){this[_0x2fb05c(0x302)][_0x2fb05c(0x2cd)](_0x2dddcd);}}[_0x1e40b1(0x1a7)](_0xcd6f57,_0x37fc91){const _0x4605ef=_0x1e40b1;_0x37fc91<this['_lastResponseTimestamp']||(this[_0x4605ef(0x16d)]=_0x37fc91,this['_maxFormulaLimit']=Number[_0x4605ef(0x22e)](_0xcd6f57[_0x4605ef(0x297)]),this[_0x4605ef(0xd3)]=Number['parseInt'](_0xcd6f57[_0x4605ef(0x1b4)]));}async[_0x1e40b1(0x20c)](_0x40e852){const _0x32db2c=_0x1e40b1;var _0x5b3d90,_0x620a22;const _0x46b031=Date['now']();try{const _0x14e584=((_0x5b3d90=this[_0x32db2c(0x264)]['getConfig'](_0x7fd448))==null?void 0x0:_0x5b3d90[_0x32db2c(0x274)])||Rn,_0x5af7b9=(await this['_httpService']['post'](_0x14e584,{'body':JSON[_0x32db2c(0x17e)]({'taskId':_0x40e852})}))[_0x32db2c(0x13a)];if(((_0x620a22=_0x5af7b9[_0x32db2c(0x2cd)])==null?void 0x0:_0x620a22[_0x32db2c(0x320)])!==Z['OK'])return;this[_0x32db2c(0x1a7)](_0x5af7b9[_0x32db2c(0x130)],_0x46b031);}catch(_0x16d621){this[_0x32db2c(0x302)]['error'](_0x16d621);}}async[_0x1e40b1(0x12c)](_0x19d1dd){const _0x5d1e1e=_0x1e40b1;var _0x1c31b0,_0x1cafa2;const _0x29afe2=Date[_0x5d1e1e(0x1aa)]();try{const _0x1d248f=((_0x1c31b0=this[_0x5d1e1e(0x264)][_0x5d1e1e(0x1d3)](_0x7fd448))==null?void 0x0:_0x1c31b0[_0x5d1e1e(0x137)])||Cn,_0x907294=_0x19d1dd?_0x1d248f+_0x5d1e1e(0x2af)+encodeURIComponent(_0x19d1dd):_0x1d248f,_0x1613c9=(await this[_0x5d1e1e(0x185)][_0x5d1e1e(0x303)](_0x907294))[_0x5d1e1e(0x13a)];if(((_0x1cafa2=_0x1613c9[_0x5d1e1e(0x2cd)])==null?void 0x0:_0x1cafa2['code'])!==Z['OK'])return;this[_0x5d1e1e(0x1a7)](_0x1613c9[_0x5d1e1e(0x130)],_0x29afe2);}catch(_0x305810){this[_0x5d1e1e(0x302)][_0x5d1e1e(0x2cd)](_0x305810);}}async[_0x1e40b1(0x226)](_0x2d0798){const _0x4b04be=_0x1e40b1;var _0x193bda,_0x12595c;const _0x309933=Date[_0x4b04be(0x1aa)]();try{const _0x5ed5e0=((_0x193bda=this[_0x4b04be(0x264)][_0x4b04be(0x1d3)](_0x7fd448))==null?void 0x0:_0x193bda[_0x4b04be(0x146)])||Dn,_0x9ee6f6=(await this[_0x4b04be(0x185)][_0x4b04be(0x259)](_0x5ed5e0,{'body':JSON[_0x4b04be(0x17e)]({'taskId':_0x2d0798})}))['body'];if(((_0x12595c=_0x9ee6f6[_0x4b04be(0x2cd)])==null?void 0x0:_0x12595c[_0x4b04be(0x320)])!==Z['OK'])return;this[_0x4b04be(0x1a7)](_0x9ee6f6[_0x4b04be(0x130)],_0x309933);}catch(_0x36717c){this[_0x4b04be(0x302)][_0x4b04be(0x2cd)](_0x36717c);}}[_0x1e40b1(0x29a)](){const _0x4da236=_0x1e40b1;return this[_0x4da236(0x1fc)]===0x0?!0x0:this[_0x4da236(0x1fc)]-this[_0x4da236(0xd3)]>0x0;}[_0x1e40b1(0x15a)](){const _0x145c49=_0x1e40b1;this[_0x145c49(0x1e6)]&&(clearTimeout(this[_0x145c49(0x1e6)]),this[_0x145c49(0x1e6)]=null);}[_0x1e40b1(0x269)](){const _0xf7eb71=_0x1e40b1;this[_0xf7eb71(0x253)][_0xf7eb71(0xff)]({'content':this[_0xf7eb71(0x149)]['t']('formula.calculation.waiting'),'type':_0x413557[_0xf7eb71(0x1ba)]});}[_0x1e40b1(0x1c2)](_0x435685){const _0x44379a=_0x1e40b1;for(const _0xba0e13 of _0x435685){const {unitId:_0x48fc83,sheetId:_0x2d9c59,range:_0x2f992a}=_0xba0e13,_0x2491d7=this['_univerInstanceService']['getUnit'](_0x48fc83);if(!_0x2491d7)continue;const _0x4551d4=_0x2491d7[_0x44379a(0x188)](_0x2d9c59);if(!_0x4551d4)continue;const _0x42ce47=_0x4551d4['getCellMatrix']();for(let _0x41f6a9=_0x2f992a[_0x44379a(0x293)];_0x41f6a9<=_0x2f992a[_0x44379a(0x245)];_0x41f6a9++)for(let _0x30c78d=_0x2f992a['startColumn'];_0x30c78d<=_0x2f992a[_0x44379a(0x1b5)];_0x30c78d++){const _0x332b28=_0x42ce47['getValue'](_0x41f6a9,_0x30c78d);if(_0x332b28&&(_0x16ba62(_0x332b28['f'])||_0x244a3a(_0x332b28['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x2c0e45(_0x5aac8c)),P(0x1,_0x7462c),P(0x2,_0xaf39b9),P(0x3,_0x2c0e45(_0xb0aafa)),P(0x4,_0x161ad0),P(0x5,_0x29510e),P(0x6,_0x2c0e45(_0x51435d))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x1afce8,_0x4b61a2,_0x19258a,_0xdecfce)=>{const _0x3f05f4=_0x1e40b1;for(var _0x122550=_0xdecfce>0x1?void 0x0:_0xdecfce?Nn(_0x4b61a2,_0x19258a):_0x4b61a2,_0x2abe50=_0x1afce8[_0x3f05f4(0x2a6)]-0x1,_0x28a3cd;_0x2abe50>=0x0;_0x2abe50--)(_0x28a3cd=_0x1afce8[_0x2abe50])&&(_0x122550=_0x28a3cd(_0x122550)||_0x122550);return _0x122550;},Ue=(_0x5549b4,_0x9da7a0)=>(_0x2fbaa1,_0x299fd7)=>_0x9da7a0(_0x2fbaa1,_0x299fd7,_0x5549b4);let He=class extends _0x4e2370{constructor(_0x1ca90a,_0x438548,_0x385409){const _0x49243d=_0x1e40b1;super(),_(this,_0x49243d(0x18c),new Map()),_(this,_0x49243d(0x175),new Map()),_(this,'_disabled',!0x1),(this[_0x49243d(0x264)]=_0x1ca90a,this['_localStorageService']=_0x438548,this['_revisionService']=_0x385409);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1e40b1(0x13d)](){this['_disabled']=!0x1;}get[_0x1e40b1(0x248)](){const _0x1e9901=_0x1e40b1;return this[_0x1e9901(0x175)];}[_0x1e40b1(0x234)](){const _0x36b2d2=_0x1e40b1;this[_0x36b2d2(0x273)]()[_0x36b2d2(0x206)](()=>super[_0x36b2d2(0x234)]());}async[_0x1e40b1(0x201)](_0x34e1a2){const _0x372fe0=_0x1e40b1;return this['_disabled']?null:this[_0x372fe0(0x312)][_0x372fe0(0x2b0)](_0x192196(_0x34e1a2));}async['saveOfflineData'](_0x20e6e6,_0x143e49){const _0x1cc9dd=_0x1e40b1;return!!this['_localStorageService'][_0x1cc9dd(0x263)](_0x20e6e6,_0x143e49);}[_0x1e40b1(0x30f)](_0x4f836c,_0x1d4b1f,_0x4a2306,_0x1d1784){const _0x4c1751=_0x1e40b1,_0x2a6dfb=this['_revisionService'][_0x4c1751(0x1b6)](_0x4f836c);this[_0x4c1751(0x18c)][_0x4c1751(0x1f3)](_0x4f836c,{'unitID':_0x4f836c,'type':_0x1d4b1f,'awaitingChangeset':_0x4a2306,'mutations':_0x1d1784,'rev':_0x2a6dfb}),this['_saveTaskMap'][_0x4c1751(0x176)](_0x4f836c)||this[_0x4c1751(0x304)](_0x4f836c);}[_0x1e40b1(0x304)](_0x342d7e){const _0x40784b=_0x1e40b1,_0x1aa555=this[_0x40784b(0x144)]();_0x1aa555===0x0?this[_0x40784b(0x193)](_0x342d7e):this[_0x40784b(0x175)]['set'](_0x342d7e,setTimeout(()=>this[_0x40784b(0x193)](_0x342d7e),_0x1aa555));}[_0x1e40b1(0x144)](){const _0x31bc4d=_0x1e40b1;var _0x250530;return(_0x250530=this[_0x31bc4d(0x264)]['getConfig'](_0x18d25d))!=null?_0x250530:_0x14c463;}[_0x1e40b1(0x193)](_0x1aaa11){const _0x467a25=_0x1e40b1,_0x223759=this[_0x467a25(0x175)]['get'](_0x1aaa11);return _0x223759!==void 0x0&&window[_0x467a25(0xe3)](_0x223759),this[_0x467a25(0x312)][_0x467a25(0x263)](_0x192196(_0x1aaa11),this[_0x467a25(0x18c)][_0x467a25(0x303)](_0x1aaa11))[_0x467a25(0x206)](()=>this['_saveTaskMap'][_0x467a25(0x27c)](_0x1aaa11));}async[_0x1e40b1(0x273)](){const _0x1738e2=_0x1e40b1,_0x2ed1ee=[];this[_0x1738e2(0x175)][_0x1738e2(0x150)]((_0x1ec788,_0x3b4aaf)=>{const _0x539ecd=_0x1738e2;window['clearTimeout'](_0x1ec788),_0x2ed1ee[_0x539ecd(0x2e7)](this[_0x539ecd(0x193)](_0x3b4aaf)[_0x539ecd(0x206)](()=>{const _0x5bcf33=_0x539ecd;this[_0x5bcf33(0x175)]['delete'](_0x3b4aaf);}));}),await Promise[_0x1738e2(0x241)](_0x2ed1ee);}};He=bn([Ue(0x0,_0xaf39b9),Ue(0x1,_0x401375),Ue(0x2,_0x2c0e45(_0x520e2c))],He);class Ln extends _0x52c72b{constructor(){const _0x429151=_0x1e40b1;super(),_(this,'urlChange$'),this[_0x429151(0x1ff)]=_0x336182(window,'popstate')['pipe'](_0x5d9a7c(this[_0x429151(0x323)]),_0x5d780b(0x1),_0x44ca7b(void 0x0));}[_0x1e40b1(0x102)](_0x1007e2,_0x352119,_0x5aa200=!0x1){const _0x114b46=_0x1e40b1,_0x1e1de7=new URL(window[_0x114b46(0x294)][_0x114b46(0x272)]);_0x1e1de7[_0x114b46(0x28b)][_0x114b46(0x1f3)](_0x1007e2,_0x352119),_0x5aa200?window[_0x114b46(0x20f)][_0x114b46(0x1a3)]('','',_0x1e1de7[_0x114b46(0x159)]()):window[_0x114b46(0x20f)][_0x114b46(0x19f)]('','',_0x1e1de7[_0x114b46(0x159)]());}['removeParam'](_0x4daaf9,_0x1f0cab=!0x1){const _0x23d582=_0x1e40b1,_0x14945c=new URL(window[_0x23d582(0x294)][_0x23d582(0x272)]);_0x14945c[_0x23d582(0x28b)][_0x23d582(0x27c)](_0x4daaf9),_0x1f0cab?window['history'][_0x23d582(0x1a3)]('','',_0x14945c['toString']()):window[_0x23d582(0x20f)]['pushState']('','',_0x14945c[_0x23d582(0x159)]());}['getParam'](_0x4cb44a){const _0x33fd54=_0x1e40b1;var _0x1e8138;return(_0x1e8138=new URL(window[_0x33fd54(0x294)]['href'])['searchParams'][_0x33fd54(0x303)](_0x4cb44a))!=null?_0x1e8138:void 0x0;}}var Un=Object[_0x1e40b1(0x131)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x58fe43,_0x42f7b3,_0x4dfe8e)=>_0x42f7b3 in _0x58fe43?Un(_0x58fe43,_0x42f7b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dfe8e}):_0x58fe43[_0x42f7b3]=_0x4dfe8e,Pn=(_0x3de7df,_0x312cee,_0x4ef40b,_0xa92184)=>{const _0xb8de49=_0x1e40b1;for(var _0x53f6b1=_0xa92184>0x1?void 0x0:_0xa92184?Mn(_0x312cee,_0x4ef40b):_0x312cee,_0x54506d=_0x3de7df[_0xb8de49(0x2a6)]-0x1,_0x3046ec;_0x54506d>=0x0;_0x54506d--)(_0x3046ec=_0x3de7df[_0x54506d])&&(_0x53f6b1=_0x3046ec(_0x53f6b1)||_0x53f6b1);return _0x53f6b1;},Me=(_0x55404a,_0x285d79)=>(_0x5f2b21,_0x155361)=>_0x285d79(_0x5f2b21,_0x155361,_0x55404a),wn=(_0x51a661,_0x363681,_0x530bb3)=>An(_0x51a661,_0x363681+'',_0x530bb3);const yn=_0x1e40b1(0x2ca);let Ye=class extends _0x504480{constructor(_0x28cad9=_t,_0x4d10ca,_0xaf395e,_0x3f0881){const _0x46d427=_0x1e40b1;super(),this[_0x46d427(0x18b)]=_0x28cad9,this[_0x46d427(0x316)]=_0x4d10ca,this['_injector']=_0xaf395e,this[_0x46d427(0x264)]=_0x3f0881;const {..._0x131280}=_0x119aa6({},_t,this[_0x46d427(0x18b)]);this[_0x46d427(0x264)][_0x46d427(0x163)](hn,_0x131280);}[_0x1e40b1(0x2d9)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1e40b1(0x11b)](){const _0x3691eb=_0x1e40b1;this[_0x3691eb(0x202)]();}[_0x1e40b1(0x181)](){const _0x89e362=_0x1e40b1;var _0x11b502;const _0x4360ab=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x53cf78,{'useClass':_0x4c4ca2}],[_0x51b584,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this['_config'][_0x89e362(0x10b)]&&_0x4360ab[_0x89e362(0x2e7)]([le]),_0x5c9d92(this[_0x89e362(0x2f1)],_0x1282ba(_0x4360ab,(_0x11b502=this[_0x89e362(0x18b)])==null?void 0x0:_0x11b502[_0x89e362(0x1cc)]));}[_0x1e40b1(0x202)](){const _0x130d18=_0x1e40b1;this[_0x130d18(0x286)](this[_0x130d18(0x316)]['registerRenderModule'](_0x25fa51['UNIVER_DOC'],[Fe])),this[_0x130d18(0x286)](this[_0x130d18(0x316)][_0x130d18(0x306)](_0x25fa51[_0x130d18(0x212)],[ke]));}[_0x1e40b1(0x139)](){const _0x5e2329=_0x1e40b1;_0x3ecbaa(this['_injector'],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5e2329(0x18b)][_0x5e2329(0x10b)]&&_0x3ecbaa(this[_0x5e2329(0x2f1)],[[le]]);}};wn(Ye,_0x1e40b1(0x14b),yn),Ye=Pn([_0xe8bdb1(_0x485e39),Me(0x1,_0xef4dde),Me(0x2,_0x2c0e45(_0x3fc224)),Me(0x3,_0xaf39b9)],Ye);var $n=Object[_0x1e40b1(0xe0)],xn=(_0x1f039d,_0x1056a5,_0x41b13f,_0x98a6f)=>{for(var _0x504c05=_0x98a6f>0x1?void 0x0:_0x98a6f?$n(_0x1056a5,_0x41b13f):_0x1056a5,_0x2356f7=_0x1f039d['length']-0x1,_0x42307d;_0x2356f7>=0x0;_0x2356f7--)(_0x42307d=_0x1f039d[_0x2356f7])&&(_0x504c05=_0x42307d(_0x504c05)||_0x504c05);return _0x504c05;},J=(_0xe10560,_0x5c53ad)=>(_0x51d09c,_0x3677d0)=>_0x5c53ad(_0x51d09c,_0x3677d0,_0xe10560);let ut=class extends _0x4c670c{constructor(_0x2e2f18,_0x10b99e,_0x182e56,_0x217329,_0x5213c1){super(_0x2e2f18,_0x10b99e,_0x182e56,_0x217329,_0x5213c1);}async[_0x1e40b1(0x1e3)](_0x4cca47){const _0x568f9d=_0x1e40b1,_0x254cb3=await this[_0x568f9d(0x155)](),_0x43385b=this['_createSocketURL'](_0x4cca47,_0x254cb3);return this['_doCreateSocket'](_0x43385b);}[_0x1e40b1(0x134)](_0x1eaef6,_0x2f83e7){const _0x4eb782=_0x1e40b1,_0x406b0d=typeof window>'u'?new URL(_0x1eaef6):new URL(_0x1eaef6,window[_0x4eb782(0x294)][_0x4eb782(0xf8)]);_0x406b0d[_0x4eb782(0x28b)][_0x4eb782(0x1f3)]('sessionTicket',_0x2f83e7);const _0x164fd4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x164fd4[_0x4eb782(0x303)](_0x4eb782(0x13e))&&_0x406b0d[_0x4eb782(0x28b)]['set'](_0x4eb782(0x13e),_0x164fd4[_0x4eb782(0x303)](_0x4eb782(0x13e))),_0x406b0d[_0x4eb782(0x159)]();}async[_0x1e40b1(0x155)](){const _0x52013e=_0x1e40b1;var _0x4117d7,_0x9c0bd9,_0x3a3358;const _0x1708c6=this['_configService'][_0x52013e(0x1d3)](_0x7fd448),_0x22e8fc=(_0x4117d7=_0x1708c6==null?void 0x0:_0x1708c6[_0x52013e(0x236)])!=null?_0x4117d7:_0x3b6f;return(_0x3a3358=(_0x9c0bd9=(await this[_0x52013e(0x185)][_0x52013e(0x303)](_0x22e8fc,{'headers':{'Content-Type':_0x52013e(0x182)}}))[_0x52013e(0x13a)])==null?void 0x0:_0x9c0bd9['ticket'])!=null?_0x3a3358:'';}};ut=xn([J(0x0,_0x2c0e45(_0x3fc224)),J(0x1,_0x2c0e45(_0xb0aafa)),J(0x2,_0xaf39b9),J(0x3,_0x29510e),J(0x4,_0x6fbdfe)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x436748,_0x3de2e0,_0x42c0c2,_0x1615ce)=>{const _0x11fb28=_0x1e40b1;for(var _0xa22413=_0x1615ce>0x1?void 0x0:_0x1615ce?Bn(_0x3de2e0,_0x42c0c2):_0x3de2e0,_0x32fece=_0x436748[_0x11fb28(0x2a6)]-0x1,_0x4e7105;_0x32fece>=0x0;_0x32fece--)(_0x4e7105=_0x436748[_0x32fece])&&(_0xa22413=_0x4e7105(_0xa22413)||_0xa22413);return _0xa22413;},Ae=(_0x5cf8f9,_0x2a2757)=>(_0x3e83f,_0x1ae389)=>_0x2a2757(_0x3e83f,_0x1ae389,_0x5cf8f9);let dt=class extends _0x4e2370{constructor(_0x1c84a0,_0x1d82fc,_0x5d852c){const _0x2c5b70=_0x1e40b1;super(),this[_0x2c5b70(0xf5)]=_0x1c84a0,this[_0x2c5b70(0x185)]=_0x1d82fc,this[_0x2c5b70(0x264)]=_0x5d852c;}async[_0x1e40b1(0x2bb)](_0x335c8d,_0x14a894,_0x32e484,..._0x52e0d9){const _0x42b903=_0x1e40b1;var _0x2430c6,_0x1f80f0,_0x22e311,_0x251384;const _0x5546a3=this[_0x42b903(0xf5)][_0x42b903(0xe8)]();if(!_0x5546a3)throw new Error(_0x42b903(0x257));const _0x4e0bab=((_0x2430c6=this['_configService']['getConfig'](_0x50aa9c))!=null?_0x2430c6:_0x78af75)+'/'+_0x335c8d+_0x42b903(0x25c)+_0x14a894,_0x3a78fc=new URL(window[_0x42b903(0x294)][_0x42b903(0x272)]),_0xefaffd={'scriptId':_0x335c8d,'runId':(_0x1f80f0=_0x3a78fc[_0x42b903(0x28b)][_0x42b903(0x303)](_0x42b903(0x13e)))!=null?_0x1f80f0:'','function':_0x14a894,'unitId':_0x5546a3[_0x42b903(0x276)](),'argsOfFunction':JSON[_0x42b903(0x17e)](_0x52e0d9),'invokeId':(_0x22e311=_0x32e484[_0x42b903(0x142)])!=null?_0x22e311:'','executionId':(_0x251384=_0x32e484[_0x42b903(0x318)])!=null?_0x251384:''};try{const _0x5d72b3=await this['_httpService'][_0x42b903(0x259)](_0x4e0bab,{'body':_0xefaffd});return _0x5d72b3['body']['error']&&_0x5d72b3[_0x42b903(0x13a)][_0x42b903(0x2cd)][_0x42b903(0x320)]!==Z['OK']?_0x42b903(0x1d1):_0x5d72b3[_0x42b903(0x13a)][_0x42b903(0x22f)];}catch{return _0x42b903(0x1d1);}}};dt=Fn([Ae(0x0,_0x161ad0),Ae(0x1,_0x2c0e45(_0xb0aafa)),Ae(0x2,_0xaf39b9)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x4e2370{constructor(){const _0x2ffa62=_0x1e40b1;super(),_(this,_0x2ffa62(0x1c7),_0x2b8a5d()),_(this,_0x2ffa62(0x21d),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ffa62(0x2ba),null),_(this,_0x2ffa62(0xde),new Map()),_(this,'_unitStatus',new Map()),this[_0x2ffa62(0x17f)]();}[_0x1e40b1(0x234)](){const _0x2fb82c=_0x1e40b1;super['dispose'](),this[_0x2fb82c(0xde)][_0x2fb82c(0x150)]((_0x480cb9,_0x5496bd)=>this[_0x2fb82c(0x26b)](_0x5496bd)),this[_0x2fb82c(0x2ba)]&&window[_0x2fb82c(0x283)](this['_heartbeatTimer']);}['getUnitStatus$'](_0xb78bd){const _0x57cb2b=_0x1e40b1;return this[_0x57cb2b(0x1d0)](_0xb78bd)[_0x57cb2b(0x2b2)](_0x26115a());}[_0x1e40b1(0x24c)](_0x48bb75){const _0x1bd835=_0x1e40b1;this[_0x1bd835(0x21d)][_0x1bd835(0x177)]===0x0&&this[_0x1bd835(0x2a5)](),this[_0x1bd835(0x21d)][_0x1bd835(0x23e)](_0x48bb75),this[_0x1bd835(0x211)]({'type':0x0,'memberID':this[_0x1bd835(0x1c7)],'unitIDs':[_0x48bb75],'isForwarded':!0x1});}[_0x1e40b1(0xeb)](_0x69b78f){const _0x5e9c2e=_0x1e40b1;this['_selfUnitIDs']['delete'](_0x69b78f),this[_0x5e9c2e(0x21d)][_0x5e9c2e(0x177)]===0x0&&this['_heartbeatTimer']&&window[_0x5e9c2e(0x283)](this[_0x5e9c2e(0x2ba)]);}['_init'](){const _0x40e902=_0x1e40b1;this['disposeWithMe'](_0x4b734a(_0x336182(window,_0x40e902(0x1c5))['subscribe'](_0x3a598f=>{const _0x2295c6=_0x40e902;if(_0x3a598f[_0x2295c6(0x255)]!==It||!_0x3a598f[_0x2295c6(0x1ee)])return;const _0x5f0acb=JSON[_0x2295c6(0x1c4)](_0x3a598f['newValue']);this[_0x2295c6(0x119)](_0x5f0acb);}))),window[_0x40e902(0x1c6)](_0x40e902(0x2ea),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x40e902(0x2e6)](this[_0x40e902(0x21d)])}));}[_0x1e40b1(0x119)](_0x4d1af1){const _0x16c1ed=_0x1e40b1;switch(_0x4d1af1[_0x16c1ed(0xe4)]){case 0x0:this[_0x16c1ed(0x218)](_0x4d1af1);break;case 0x1:this['_handleLeaveEvent'](_0x4d1af1);break;case 0x2:this[_0x16c1ed(0x1c1)](_0x4d1af1);break;}}['_handleJoinEvent'](_0x2d9d61){const _0x22be5c=_0x1e40b1,{unitIDs:_0x18bbdd,memberID:_0x1e3b1c,isForwarded:_0x4d09a8}=_0x2d9d61;_0x18bbdd[_0x22be5c(0x150)](_0x5cf9f7=>{const _0x43ee75=_0x22be5c;if(!_0x4d09a8&&this[_0x43ee75(0x298)][_0x43ee75(0x176)](_0x5cf9f7)&&this[_0x43ee75(0x1d0)](_0x5cf9f7)[_0x43ee75(0x23a)](_0x114a9b[_0x43ee75(0x145)]),!this[_0x43ee75(0x298)]['has'](_0x5cf9f7)||!this[_0x43ee75(0x298)][_0x43ee75(0x303)](_0x5cf9f7)[_0x43ee75(0x176)](_0x1e3b1c)){const _0xdad10a=this['_unitOnClients']['get'](_0x5cf9f7)||new Set();_0xdad10a[_0x43ee75(0x23e)](_0x1e3b1c),this[_0x43ee75(0x298)][_0x43ee75(0x1f3)](_0x5cf9f7,_0xdad10a),this[_0x43ee75(0x277)](_0x1e3b1c);}}),_0x4d09a8||this['_send']({'type':0x0,'memberID':this[_0x22be5c(0x1c7)],'unitIDs':[...this[_0x22be5c(0x21d)]],'isForwarded':!0x0});}[_0x1e40b1(0x277)](_0x5ef45c){const _0x1d736f=_0x1e40b1;this['_removeClearOtherTimer'](_0x5ef45c);const _0x394ed7=window['setTimeout'](()=>{const _0x21c157=_0x38fa;this[_0x21c157(0x298)][_0x21c157(0x150)](_0x582544=>{const _0x5b0f6e=_0x21c157;_0x582544[_0x5b0f6e(0x27c)](_0x5ef45c);});},St*0x2);this['_clearOtherTimers'][_0x1d736f(0x1f3)](_0x5ef45c,_0x394ed7);}[_0x1e40b1(0x26b)](_0x2c2c53){const _0x1bd244=_0x1e40b1;if(this['_clearOtherTimers']['has'](_0x2c2c53)){const _0x445fc8=this['_clearOtherTimers'][_0x1bd244(0x303)](_0x2c2c53);_0x445fc8&&window['clearTimeout'](_0x445fc8),this['_clearOtherTimers']['set'](_0x2c2c53,null);}}['_handleLeaveEvent'](_0x5125f8){const _0x11a8e0=_0x1e40b1,{memberID:_0x2abb12,unitIDs:_0xc8b963}=_0x5125f8;_0xc8b963[_0x11a8e0(0x150)](_0x5a487f=>{const _0x4feea9=_0x11a8e0;var _0x48fe5f;const _0x4cb970=this[_0x4feea9(0x298)][_0x4feea9(0x303)](_0x5a487f);_0x4cb970&&(_0x4cb970[_0x4feea9(0x27c)](_0x2abb12),(_0x48fe5f=this[_0x4feea9(0x1d0)](_0x5a487f))==null||_0x48fe5f[_0x4feea9(0x23a)](_0x4cb970[_0x4feea9(0x177)]===0x0?_0x114a9b[_0x4feea9(0x1f9)]:_0x114a9b['OTHER_CLIENTS_EDITING']));}),this[_0x11a8e0(0x26b)](_0x2abb12);}['_handleHeartbeatEvent'](_0x570ecb){const _0x1e4796=_0x1e40b1;this[_0x1e4796(0x277)](_0x570ecb[_0x1e4796(0x207)]);}[_0x1e40b1(0x211)](_0x296fc5){const _0x4eed6f=_0x1e40b1;localStorage[_0x4eed6f(0x263)](It,JSON['stringify'](_0x296fc5));}['_scheduleHeartbeat'](){const _0x8e31b2=_0x1e40b1;this[_0x8e31b2(0x2ba)]=window[_0x8e31b2(0x21e)](()=>{const _0x359b08=_0x8e31b2;this[_0x359b08(0x211)]({'type':0x2,'memberID':this['_id']});},St);}[_0x1e40b1(0x1d0)](_0x1d4c01){const _0x4aaf74=_0x1e40b1;return this[_0x4aaf74(0x326)][_0x4aaf74(0x176)](_0x1d4c01)||this[_0x4aaf74(0x326)][_0x4aaf74(0x1f3)](_0x1d4c01,new _0xefb469(_0x114a9b[_0x4aaf74(0x1f9)])),this[_0x4aaf74(0x326)][_0x4aaf74(0x303)](_0x1d4c01);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|