@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805

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.
Files changed (58) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -0
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/locale/sk-SK.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -0
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +17 -17
package/lib/es/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 _0x35261d=_0x4abd;(function(_0x480bc8,_0x193556){const _0x4e908e=_0x4abd,_0x59d378=_0x480bc8();while(!![]){try{const _0x301076=-parseInt(_0x4e908e(0x15a))/0x1+parseInt(_0x4e908e(0x1f0))/0x2*(parseInt(_0x4e908e(0xa7))/0x3)+parseInt(_0x4e908e(0x100))/0x4*(-parseInt(_0x4e908e(0x1a9))/0x5)+-parseInt(_0x4e908e(0x20d))/0x6*(-parseInt(_0x4e908e(0x26a))/0x7)+parseInt(_0x4e908e(0x130))/0x8*(parseInt(_0x4e908e(0x203))/0x9)+parseInt(_0x4e908e(0x253))/0xa+parseInt(_0x4e908e(0x292))/0xb*(-parseInt(_0x4e908e(0x284))/0xc);if(_0x301076===_0x193556)break;else _0x59d378['push'](_0x59d378['shift']());}catch(_0x47a395){_0x59d378['push'](_0x59d378['shift']());}}}(_0xb14e,0xdbd0c));var Yt=Object[_0x35261d(0x28f)],Wt=(_0x5df013,_0x553c4d,_0x10cac9)=>_0x553c4d in _0x5df013?Yt(_0x5df013,_0x553c4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10cac9}):_0x5df013[_0x553c4d]=_0x10cac9,_=(_0x1e4f2c,_0x21bdd1,_0x3f7bd1)=>Wt(_0x1e4f2c,typeof _0x21bdd1!='symbol'?_0x21bdd1+'':_0x21bdd1,_0x3f7bd1);import{jsx as _0x123b37,jsxs as _0x136bd2}from'react/jsx-runtime';import{CollaborationStatus as _0x2481d0,CollaborationSessionService as _0x161ab7,CollaborationController as _0x230f4,DataLoaderService as _0x2a0ba1,MemberService as _0x1d803f,SessionStatus as _0x90c74a,CollaborationUIEventService as _0x2448af,CollaborationUIEventId as _0x2cf9a6,ILocalCacheService as _0xd5c05d,DocCollaborationEntity as _0x3903e1,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1dee33,getLocalCacheKey as _0x5c11c9,LOCAL_CACHE_INTERVAL as _0x1717c5,LOCAL_CACHE_INTERVAL_KEY as _0x5143e0,UniverCollaborationClientPlugin as _0x5eb974,CollaborationSocketService as _0xb3f5c5,DEFAULT_WS_SESSION_TICKET_URL as _0x5aed54,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x14929d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3879f6,UnitStatus as _0x4ee52f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x33240e,Inject as _0x526d56,Injector as _0x3393f4,Disposable as _0x574664,IUniverInstanceService as _0x4da50f,createIdentifier as _0x41b37a,Optional as _0x268191,RxDisposable as _0x5cd561,Workbook as _0x1f4ff6,ILogService as _0x17989f,ICommandService as _0x431d0d,DOC_RANGE_TYPE as _0x4e947f,debounce as _0x5a5de3,Rectangle as _0x3e30a0,DisposableCollection as _0x262a72,toDisposable as _0x511582,UniverInstanceType as _0x388843,generateRandomId as _0x18acb6,COLORS as _0x311919,ColorKit as _0x12767b,ThemeService as _0x160c6e,fromEventSubject as _0x179326,Tools as _0x3faafe,CommandType as _0x120b22,CanceledError as _0x1a6f68,isFormulaString as _0x3a2fd2,isFormulaId as _0x388f83,IConfigService as _0x5905c3,ILocalStorageService as _0x151749,DependentOn as _0x8c3cbd,Plugin as _0x45b27a,merge as _0x2fa91d,registerDependencies as _0xdb3599,mergeOverrideWithDependencies as _0x596139,touchDependencies as _0x2e4ee7}from'@univerjs/core';import{useObservable as _0x42eacf,useDependency as _0x5109a4,BuiltInUIPart as _0x4fc840,connectInjector as _0x422396,IUIPartsService as _0x2e4356,IBeforeCloseService as _0xcf29c0,IMessageService as _0xc6b805,INotificationService as _0x2c5f9a}from'@univerjs/ui';import{BehaviorSubject as _0x190ae5,switchMap as _0xef42d4,of as _0x53ce20,takeUntil as _0x4bde4f,debounceTime as _0x4e6ba7,Subject as _0x41a143,filter as _0x3f794e,merge as _0x152dc6,combineLatest as _0x251939,fromEvent as _0x2e0772,shareReplay as _0x4ecbeb,mapTo as _0x44e1c9,distinctUntilChanged as _0x1d9c3f}from'rxjs';function _0x4abd(_0x3ebf4e,_0x424c05){_0x3ebf4e=_0x3ebf4e-0x96;const _0xb14e1a=_0xb14e();let _0x4abda6=_0xb14e1a[_0x3ebf4e];return _0x4abda6;}import{Tooltip as _0x33d14c,clsx as _0x1d332e,MessageType as _0x2edb7e}from'@univerjs/design';import{useRef as _0x4b765c,createElement as _0xcaa144,forwardRef as _0x3cd533,useCallback as _0x7d7eae}from'react';import{IRemoteInstanceService as _0x4025fd}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xdcd55e,RefRangeService as _0x565041,SetSelectionsOperation as _0x16a987,SheetsSelectionsService as _0x2a5f3c,EffectRefRangId as _0x4acbd2,handleIRemoveRow as _0x4cfe5f,handleIRemoveCol as _0x2d9b28,handleMoveRange as _0x31fea7,handleInsertRow as _0xe2aa24,handleInsertRangeMoveRight as _0x135739,handleInsertRangeMoveDown as _0x256dc5,handleInsertCol as _0x2efea8,handleDeleteRangeMoveUp as _0x37e305,handleDeleteRangeMoveLeft as _0x15d3f4,runRefRangeMutations as _0x2bc501}from'@univerjs/sheets';import{Shape as _0x4b83f3,Rect as _0x3fac0b,getColor as _0x12e3fb,RegularPolygon as _0x44a4ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2258d1,Vector2 as _0x3f118f,SHEET_VIEWPORT_KEY as _0x315cae,IRenderManagerService as _0x1589e8}from'@univerjs/engine-render';import{HTTPService as _0x1165a8,ISocketService as _0x2d2f28,WebSocketService as _0x5dbb21}from'@univerjs/network';import{IDocClipboardService as _0x3ee682,NodePositionConvertToCursor as _0x593536,NodePositionConvertToRectRange as _0x816e09,TEXT_RANGE_LAYER_INDEX as _0x4e7e07,SetDocZoomRatioOperation as _0x246c84,DocIMEInputManagerService as _0x5a23cc,DocStateChangeManagerService as _0x2a92a0}from'@univerjs/docs-ui';import{IImageIoService as _0x15ac52}from'@univerjs/drawing';import{CollaborationEvent as _0x31166c,isTransformMutationFailure as _0x384eb6,ITransformService as _0x2bb8a5,isTransformMutationsWithChangesetSuccess as _0x5a6ed3,RevisionService as _0x507cc2,ISnapshotServerService as _0x2760d7}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x805b1b,RichTextEditingMutation as _0x12357d,DocSelectionManagerService as _0x40ad8f,DocSkeletonManagerService as _0x144934}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xac7da6,serializeRangeWithSheet as _0xf40097,FormulaExecuteStageType as _0x2261f9,FormulaExecutedStateType as _0x58475e,SetFormulaCalculationStartMutation as _0x3d9f3b,SetFormulaCalculationNotificationMutation as _0x4f5bc0}from'@univerjs/engine-formula';import{map as _0x3b7002,filter as _0x41a922,throttleTime as _0x5543f9,takeUntil as _0x45c0b6,switchMap as _0x4f1383}from'rxjs/operators';import{SheetSkeletonManagerService as _0x18e06d,getCoordByCell as _0xca1a2a,getSheetObject as _0x5c8b20}from'@univerjs/sheets-ui';function Ge({ref:_0x30d41a,..._0x289125}){const _0x394ede=_0x35261d,{icon:_0x2a16c9,id:_0x37bc36,className:_0x11f177,extend:_0x4256b2,..._0x2fa735}=_0x289125,_0x12ba45=(_0x394ede(0x17f)+_0x37bc36+'\x20'+(_0x11f177||''))['trim'](),_0x3fe149=_0x4b765c('_'+vi());return At(_0x2a16c9,''+_0x37bc36,{'defIds':_0x2a16c9[_0x394ede(0x14e)],'idSuffix':_0x3fe149[_0x394ede(0xf4)]},{'ref':_0x30d41a,'className':_0x12ba45,..._0x2fa735},_0x4256b2);}function At(_0x946114,_0x511b4e,_0x4602a2,_0x4b6c3c,_0x1f6850){const _0x37b246=_0x35261d;return _0xcaa144(_0x946114[_0x37b246(0x140)],{'key':_0x511b4e,...gi(_0x946114,_0x4602a2,_0x1f6850),..._0x4b6c3c},(Ei(_0x946114,_0x4602a2)[_0x37b246(0x12f)]||[])[_0x37b246(0x1ba)]((_0x43ec80,_0x41d0d5)=>At(_0x43ec80,_0x511b4e+'-'+_0x946114[_0x37b246(0x140)]+'-'+_0x41d0d5,_0x4602a2,void 0x0,_0x1f6850)));}function gi(_0x7b872e,_0x18e800,_0x346b5f){const _0xcf5fb4=_0x35261d,_0x481a99={..._0x7b872e[_0xcf5fb4(0xd4)]};_0x346b5f!=null&&_0x346b5f[_0xcf5fb4(0x21e)]&&_0x481a99[_0xcf5fb4(0xb4)]===_0xcf5fb4(0x21e)&&(_0x481a99[_0xcf5fb4(0xb4)]=_0x346b5f[_0xcf5fb4(0x21e)]),_0x7b872e[_0xcf5fb4(0x140)]===_0xcf5fb4(0xcc)&&_0x481a99['id']&&(_0x481a99['id']=_0x481a99['id']+_0x18e800[_0xcf5fb4(0x2bb)]),Object[_0xcf5fb4(0xb5)](_0x481a99)[_0xcf5fb4(0xd9)](([_0x122d69,_0x156457])=>{const _0x1194f8=_0xcf5fb4;_0x122d69===_0x1194f8(0xcc)&&typeof _0x156457=='string'&&(_0x481a99[_0x122d69]=_0x156457[_0x1194f8(0x12e)](/url\(#(.*)\)/,'url(#$1'+_0x18e800['idSuffix']+')'));});const {defIds:_0x3d26cf}=_0x18e800;return!_0x3d26cf||_0x3d26cf[_0xcf5fb4(0x2cc)]===0x0||(_0x7b872e['tag']==='use'&&_0x481a99[_0xcf5fb4(0xed)]&&(_0x481a99[_0xcf5fb4(0xed)]=_0x481a99['xlink:href']+_0x18e800[_0xcf5fb4(0x2bb)]),Object[_0xcf5fb4(0xb5)](_0x481a99)[_0xcf5fb4(0xd9)](([_0x2e10ef,_0x12be24])=>{const _0x59bc89=_0xcf5fb4;typeof _0x12be24==_0x59bc89(0x239)&&(_0x481a99[_0x2e10ef]=_0x12be24['replace'](/url\(#(.*)\)/,_0x59bc89(0xbc)+_0x18e800[_0x59bc89(0x2bb)]+')'));})),_0x481a99;}function Ei(_0x1ff821,_0x42d38d){const _0x526a64=_0x35261d;var _0x3125d8;const {defIds:_0x4d9c54}=_0x42d38d;return!_0x4d9c54||_0x4d9c54[_0x526a64(0x2cc)]===0x0?_0x1ff821:_0x1ff821[_0x526a64(0x140)]==='defs'&&((_0x3125d8=_0x1ff821['children'])!=null&&_0x3125d8[_0x526a64(0x2cc)])?{..._0x1ff821,'children':_0x1ff821[_0x526a64(0x12f)]['map'](_0x401037=>typeof _0x401037[_0x526a64(0xd4)]['id']==_0x526a64(0x239)&&_0x4d9c54&&_0x4d9c54[_0x526a64(0x1be)](_0x401037[_0x526a64(0xd4)]['id'])?{..._0x401037,'attrs':{..._0x401037[_0x526a64(0xd4)],'id':_0x401037[_0x526a64(0xd4)]['id']+_0x42d38d[_0x526a64(0x2bb)]}}:_0x401037)}:_0x1ff821;}function vi(){const _0x2312b4=_0x35261d;return Math[_0x2312b4(0x1ef)]()[_0x2312b4(0xdc)](0x24)[_0x2312b4(0x231)](0x2,0x8);}Ge['displayName']=_0x35261d(0x252);const pi={'tag':_0x35261d(0x205),'attrs':{'xmlns':_0x35261d(0x255),'fill':_0x35261d(0x260),'viewBox':_0x35261d(0x2e6),'width':_0x35261d(0x228),'height':_0x35261d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x35261d(0x1b1)},'children':[{'tag':_0x35261d(0x17b),'attrs':{'stroke':_0x35261d(0x29e),'d':_0x35261d(0x2e2),'strokeLinecap':_0x35261d(0x171),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x35261d(0x275),'attrs':{'id':_0x35261d(0x1d4)},'children':[{'tag':_0x35261d(0x17b),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35261d(0x1d4)]},Pt=_0x3cd533(function(_0x2746d1,_0x22bc7d){const _0x4711ec=_0x35261d;return _0xcaa144(Ge,Object[_0x4711ec(0x13f)]({},_0x2746d1,{'id':_0x4711ec(0x218),'ref':_0x22bc7d,'icon':pi}));});Pt[_0x35261d(0x9d)]=_0x35261d(0x234);const Oi={'tag':_0x35261d(0x205),'attrs':{'xmlns':_0x35261d(0x255),'fill':_0x35261d(0x260),'viewBox':_0x35261d(0xbb),'width':_0x35261d(0x228),'height':_0x35261d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x35261d(0x197)},'children':[{'tag':'path','attrs':{'stroke':_0x35261d(0x29e),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x35261d(0x171),'strokeLinejoin':_0x35261d(0x171),'strokeWidth':1.2}}]},{'tag':_0x35261d(0x11b),'attrs':{},'children':[{'tag':_0x35261d(0x275),'attrs':{'id':_0x35261d(0xe3)},'children':[{'tag':'path','attrs':{'fill':_0x35261d(0x1b5),'d':'M0\x200H16V16H0z','transform':_0x35261d(0x10e)}}]}]}],'defIds':[_0x35261d(0xe3)]},wt=_0x3cd533(function(_0x4c099f,_0x42c766){const _0x3f4af7=_0x35261d;return _0xcaa144(Ge,Object[_0x3f4af7(0x13f)]({},_0x4c099f,{'id':'on-line-icon','ref':_0x42c766,'icon':Oi}));});wt['displayName']=_0x35261d(0xe9);function Ti(_0x3b856e){const _0x1c63e8=_0x35261d;switch(_0x3b856e){case _0x2481d0['OFFLINE']:return _0x1c63e8(0x2a0);case _0x2481d0[_0x1c63e8(0x19e)]:return _0x1c63e8(0x1d7);case _0x2481d0[_0x1c63e8(0xe8)]:return _0x1c63e8(0x9e);case _0x2481d0[_0x1c63e8(0x1c8)]:return _0x1c63e8(0x121);case _0x2481d0[_0x1c63e8(0xcd)]:case _0x2481d0['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2481d0[_0x1c63e8(0xbf)]:case _0x2481d0['PENDING']:return _0x1c63e8(0x1cd);}}function Ci(_0xd78d7d){const _0x523be6=_0x35261d,{status$:_0x39e084}=_0xd78d7d,_0x173401=_0x42eacf(_0x39e084,_0x2481d0['NOT_COLLAB']),_0x2be36a=_0x5109a4(_0x33240e),_0x281468=_0x5109a4(_0x161ab7),_0x145a4c=_0x173401!==_0x2481d0[_0x523be6(0x2a6)],_0x38f4f4=_0x2be36a['t'](Ti(_0x173401)),_0x51d15f=_0x145a4c?_0x123b37(wt,{}):_0x123b37(Pt,{}),_0xe9f397=_0x7d7eae(()=>{const _0x5d5186=_0x523be6;_0x145a4c||_0x281468[_0x5d5186(0xdb)]();},[_0x145a4c,_0x281468]);function _0x3ccacf(){const _0x39de62=_0x523be6;return _0x136bd2(_0x39de62(0xe4),{'className':_0x39de62(0x1d8),'onClick':_0xe9f397,'children':[_0x123b37(_0x39de62(0xe4),{'className':_0x1d332e(_0x39de62(0x276),{'univer-text-green-500':_0x145a4c,'univer-text-red-500':!_0x145a4c}),'children':_0x51d15f}),_0x123b37(_0x39de62(0xe4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x38f4f4})]});}return _0x145a4c?_0x3ccacf():_0x123b37(_0x33d14c,{'title':_0x2be36a['t'](_0x523be6(0x18b)),'children':_0x3ccacf()});}var Ri=Object[_0x35261d(0x2ec)],Di=(_0x5a6b48,_0x3d96f9,_0x239543,_0x48f678)=>{const _0x246c1a=_0x35261d;for(var _0x468d07=_0x48f678>0x1?void 0x0:_0x48f678?Ri(_0x3d96f9,_0x239543):_0x3d96f9,_0x184e07=_0x5a6b48[_0x246c1a(0x2cc)]-0x1,_0x555169;_0x184e07>=0x0;_0x184e07--)(_0x555169=_0x5a6b48[_0x184e07])&&(_0x468d07=_0x555169(_0x468d07)||_0x468d07);return _0x468d07;},se=(_0x5cbe86,_0x5670a4)=>(_0x514252,_0x441f09)=>_0x5670a4(_0x514252,_0x441f09,_0x5cbe86);let ae=class extends _0x574664{constructor(_0x4b48ff,_0x1e19f8,_0x1a4528,_0x73e3e8){const _0x5d049b=_0x35261d;super(),_(this,_0x5d049b(0x142),new _0x190ae5(_0x2481d0[_0x5d049b(0x1c8)])),(this[_0x5d049b(0x108)]=_0x4b48ff,this[_0x5d049b(0x2de)]=_0x1e19f8,this['_collaborationController']=_0x1a4528,this[_0x5d049b(0x189)]=_0x73e3e8,this[_0x5d049b(0x107)](),this[_0x5d049b(0xee)]());}[_0x35261d(0xee)](){const _0x55472b=_0x35261d;this[_0x55472b(0x2ca)](this['_univerInstanceService'][_0x55472b(0x240)][_0x55472b(0x2e3)](_0xef42d4(()=>{const _0x16d689=_0x55472b,_0x5cea38=this['_univerInstanceService']['getFocusedUnit']();return _0x5cea38?this['_collaborationController'][_0x16d689(0x2c7)](_0x5cea38[_0x16d689(0x10f)]()):_0x53ce20(null);}),_0xef42d4(_0x5d39a8=>_0x5d39a8?_0x5d39a8[_0x55472b(0x227)]:_0x53ce20(_0x2481d0[_0x55472b(0x1c8)])))[_0x55472b(0x223)](_0x55c037=>{const _0x3d5d1b=_0x55472b;this[_0x3d5d1b(0x142)][_0x3d5d1b(0x106)](_0x55c037);}));}[_0x35261d(0x107)](){const _0x41cbb9=_0x35261d;this['disposeWithMe'](this[_0x41cbb9(0x189)][_0x41cbb9(0x226)](_0x4fc840[_0x41cbb9(0x152)],()=>_0x422396(Ni({'status$':this['_status$'][_0x41cbb9(0x173)]()}),this[_0x41cbb9(0x2de)])));}};ae=Di([se(0x0,_0x4da50f),se(0x1,_0x526d56(_0x3393f4)),se(0x2,_0x526d56(_0x230f4)),se(0x3,_0x2e4356)],ae);function Ni(_0x12e570){const {status$:_0x278215}=_0x12e570;return function(){return _0x123b37(Ci,{'status$':_0x278215});};}const yt=_0x41b37a('uni.network.url-service');var bi=Object[_0x35261d(0x2ec)],Li=(_0x20f059,_0x1978a,_0x498ce9,_0x496f3b)=>{for(var _0x446ae0=_0x496f3b>0x1?void 0x0:_0x496f3b?bi(_0x1978a,_0x498ce9):_0x1978a,_0xb3b32f=_0x20f059['length']-0x1,_0x1100ea;_0xb3b32f>=0x0;_0xb3b32f--)(_0x1100ea=_0x20f059[_0xb3b32f])&&(_0x446ae0=_0x1100ea(_0x446ae0)||_0x446ae0);return _0x446ae0;},K=(_0x28aebe,_0x446965)=>(_0x405060,_0x113ca9)=>_0x446965(_0x405060,_0x113ca9,_0x28aebe);let ce=class extends _0x5cd561{constructor(_0x13c029,_0x3a6527,_0x3aca2a,_0x5863dd,_0xcb83c4){const _0x45a69a=_0x35261d;super(),this['_urlService']=_0x13c029,this['_logService']=_0x3a6527,this[_0x45a69a(0x198)]=_0x3aca2a,this[_0x45a69a(0x99)]=_0x5863dd,_0xcb83c4?_0xcb83c4==null||_0xcb83c4['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x45a69a(0x281),_0x45a69a(0x2d6)),this[_0x45a69a(0x187)]());}async[_0x35261d(0x187)](){const _0x18f89f=_0x35261d,_0xabd2a6=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)](_0x18f89f(0x22d)),_0x9830a3=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)](_0x18f89f(0x1d6)),_0x4bb9b2=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)]('subunit');if(!_0xabd2a6||!_0x9830a3){this[_0x18f89f(0x2cd)][_0x18f89f(0x232)](_0x18f89f(0x281),_0x18f89f(0x24b));return;}const _0x21fbc5=await this[_0x18f89f(0x99)][_0x18f89f(0xf3)](_0xabd2a6,Number(_0x9830a3),_0x4bb9b2);_0x21fbc5&&_0x21fbc5 instanceof _0x1f4ff6&&this[_0x18f89f(0xf1)](_0x21fbc5);}async[_0x35261d(0xf1)](_0x1fb909){const _0x428f8d=_0x35261d;await this['_updateSubUnitFromURLParams'](_0x1fb909),_0x1fb909[_0x428f8d(0x29a)][_0x428f8d(0x2e3)](_0x4bde4f(this['dispose$']))['subscribe'](_0x1bc2a6=>{const _0x52f647=_0x428f8d;_0x1bc2a6&&this[_0x52f647(0x1e0)](_0x1bc2a6);}),this['_urlService'][_0x428f8d(0x2b8)][_0x428f8d(0x2e3)](_0x4bde4f(this[_0x428f8d(0x2c1)]))[_0x428f8d(0x223)](()=>this['_updateSubUnitFromURLParams'](_0x1fb909));}['_updateURLWithCurrentState'](_0x8c200d,_0x58a172=!0x1){const _0x4202ad=_0x35261d,_0xe3ae30=this[_0x4202ad(0xfa)][_0x4202ad(0x2dc)](_0x4202ad(0x26d));_0x8c200d[_0x4202ad(0x2c6)]()!==_0xe3ae30&&this[_0x4202ad(0xfa)][_0x4202ad(0x269)](_0x4202ad(0x26d),_0x8c200d[_0x4202ad(0x2c6)](),_0x58a172);}async[_0x35261d(0x18f)](_0x393c5d){const _0x346ec3=_0x35261d;var _0x4669af;const _0x5508ad=this[_0x346ec3(0xfa)][_0x346ec3(0x2dc)]('subunit');if(!_0x5508ad||!_0x393c5d['getSheetBySheetId'](_0x5508ad)){const _0x42d464=_0x393c5d[_0x346ec3(0x9c)]()[0x0],_0x1fcb5b=_0x393c5d[_0x346ec3(0x1db)](_0x42d464);if(!_0x1fcb5b)return;this[_0x346ec3(0x1e0)](_0x1fcb5b,!0x0),await this[_0x346ec3(0x198)][_0x346ec3(0xf2)](_0xdcd55e['id'],{'unitId':_0x393c5d['getUnitId'](),'subUnitId':_0x42d464});return;}((_0x4669af=_0x393c5d[_0x346ec3(0x278)]())==null?void 0x0:_0x4669af[_0x346ec3(0x2c6)]())!==_0x5508ad&&await this[_0x346ec3(0x198)][_0x346ec3(0xf2)](_0xdcd55e['id'],{'unitId':_0x393c5d[_0x346ec3(0x10f)](),'subUnitId':_0x5508ad});}};ce=Li([K(0x0,yt),K(0x1,_0x17989f),K(0x2,_0x431d0d),K(0x3,_0x526d56(_0x2a0ba1)),K(0x4,_0x268191(_0x4025fd))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x280108,_0x48f42d,_0x54440d,_0xc55850)=>{const _0x54da46=_0x35261d;for(var _0x458cf9=_0xc55850>0x1?void 0x0:_0xc55850?Ui(_0x48f42d,_0x54440d):_0x48f42d,_0x2eefca=_0x280108[_0x54da46(0x2cc)]-0x1,_0xa5c84b;_0x2eefca>=0x0;_0x2eefca--)(_0xa5c84b=_0x280108[_0x2eefca])&&(_0x458cf9=_0xa5c84b(_0x458cf9)||_0x458cf9);return _0x458cf9;},rt=(_0x8985de,_0x5b2135)=>(_0x1dff06,_0x1eb33a)=>_0x5b2135(_0x1dff06,_0x1eb33a,_0x8985de);let $e=class extends _0x5cd561{constructor(_0x5b16f3,_0x1e5da6){const _0x14958e=_0x35261d;super(),this[_0x14958e(0x10b)]=_0x5b16f3,this[_0x14958e(0x2ab)]=_0x1e5da6,this[_0x14958e(0x187)]();}[_0x35261d(0x187)](){const _0x140e9f=_0x35261d,_0x383f77=this;this[_0x140e9f(0x2ca)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4cf8cc=>{const _0x5a6fcc=_0x140e9f,_0x249144=await _0x383f77[_0x5a6fcc(0x2ab)][_0x5a6fcc(0x1a7)](_0x4cf8cc);return _0x249144?{'source':_0x249144['source'],'imageSourceType':_0x249144[_0x5a6fcc(0xaa)]}:null;}}));}};$e=Mi([rt(0x0,_0x3ee682),rt(0x1,_0x15ac52)],$e);const ot=[_0x35261d(0x2f2),'jiqing.500',_0x35261d(0x1dc),'red.300',_0x35261d(0xec),_0x35261d(0x22c)];class Ke extends _0x574664{constructor(){const _0x55faa2=_0x35261d;super(...arguments),_(this,_0x55faa2(0x119),new Map()),_(this,_0x55faa2(0x2d3),0x0);}[_0x35261d(0x1d0)](_0x374527){const _0x1393c3=_0x35261d;if(this['_assignedColors']['has'](_0x374527))return this[_0x1393c3(0x119)]['get'](_0x374527);const _0x133099=ot[this['_colorIndex']];return this[_0x1393c3(0x2d3)]=(this[_0x1393c3(0x2d3)]+0x1)%ot[_0x1393c3(0x2cc)],this['_assignedColors']['set'](_0x374527,_0x133099),_0x133099;}}function $t(_0x8f3d54){const _0x1b553b=_0x35261d;let _0x508c5c='';for(const _0x78be8f of _0x8f3d54){const {startOffset:_0x474e8b,endOffset:_0x485509,isActive:_0x4cc351,rangeType:_0x1ad98e,segmentId:_0x39fe67,segmentPage:_0x6d0c24}=_0x78be8f;_0x508c5c[_0x1b553b(0x2cc)]&&(_0x508c5c+=','),_0x508c5c+=_0x474e8b+':'+_0x485509+':'+(_0x4cc351?'1':'0')+':'+_0x1ad98e+':'+_0x39fe67+':'+_0x6d0c24;}return _0x508c5c;}function Ai(_0x5a4be9){const _0x3f0b5f=_0x35261d,_0x1d7d82=_0x5a4be9[_0x3f0b5f(0x212)](','),_0x5acce7=[];for(const _0x3f8eab of _0x1d7d82){const [_0x4f42f7,_0x3811ba,_0xada770,_0x35020b,_0x108edf,_0x2fff31]=_0x3f8eab[_0x3f0b5f(0x212)](':');_0x5acce7[_0x3f0b5f(0xd1)]({'startOffset':Number(_0x4f42f7),'endOffset':Number(_0x3811ba),'collapsed':_0x4f42f7===_0x3811ba,'isActive':_0xada770==='1','rangeType':_0x35020b===_0x4e947f[_0x3f0b5f(0x204)]?_0x4e947f[_0x3f0b5f(0x204)]:_0x4e947f[_0x3f0b5f(0x122)],'segmentId':typeof _0x108edf==_0x3f0b5f(0x239)?String(_0x108edf):'','segmentPage':Number(_0x2fff31!=null?_0x2fff31:-0x1)});}return _0x5acce7[_0x3f0b5f(0xd6)](_0x549a77=>_0x549a77[_0x3f0b5f(0x2e8)])||(_0x5acce7[0x0][_0x3f0b5f(0x2e8)]=!0x0),_0x5acce7;}class ze extends _0x5cd561{constructor(){const _0x2dca4b=_0x35261d;super(...arguments),_(this,_0x2dca4b(0x1eb),new _0x190ae5(null)),_(this,'collabCursorState$',this[_0x2dca4b(0x1eb)][_0x2dca4b(0x173)]());}[_0x35261d(0xf7)](_0x3eacf3){const _0x2b03f1=_0x35261d,{unitID:_0x38e2d5,memberID:_0x42703d,textRanges:_0x28a56c}=_0x3eacf3,_0x379045=$t(_0x28a56c);if(_0x379045==='')return;const _0x98fd01={'unitID':_0x38e2d5,'memberID':_0x42703d,'selection':_0x379045};this[_0x2b03f1(0x1eb)][_0x2b03f1(0x106)](_0x98fd01);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5c393e,_0x5935d3,_0x29ac6c,_0x537bbb)=>{for(var _0x345945=_0x537bbb>0x1?void 0x0:_0x537bbb?Pi(_0x5935d3,_0x29ac6c):_0x5935d3,_0x2cf1e0=_0x5c393e['length']-0x1,_0x9b12a3;_0x2cf1e0>=0x0;_0x2cf1e0--)(_0x9b12a3=_0x5c393e[_0x2cf1e0])&&(_0x345945=_0x9b12a3(_0x345945)||_0x345945);return _0x345945;},A=(_0x5e5514,_0x21fad1)=>(_0x4286bb,_0x16f04b)=>_0x21fad1(_0x4286bb,_0x16f04b,_0x5e5514);const yi=0x12c,$i=0x64;let xe=class extends _0x5cd561{constructor(_0x5bfca2,_0x435f45,_0x3aaa8a,_0x1c26da,_0x377f4e,_0x34f232,_0x2ecda3,_0x55877f,_0x2f1edd){const _0x4b74b2=_0x35261d;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x4b74b2(0x111),new _0x190ae5(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4b74b2(0xff),new _0x190ae5([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4b74b2(0x2e3)](_0x4e6ba7(yi))),_(this,_0x4b74b2(0x1ec),_0x5a5de3(_0x252883=>{const _0x551bba=_0x4b74b2,_0x25823f={'eventID':_0x31166c['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x551bba(0x1f1)]['getMemberID'](),'selection':$t(_0x252883)}};this[_0x551bba(0x1f1)][_0x551bba(0x25b)](_0x25823f,this[_0x551bba(0x16b)]);},$i)),(this[_0x4b74b2(0x16b)]=_0x5bfca2,this[_0x4b74b2(0x1f1)]=_0x435f45,this[_0x4b74b2(0x2de)]=_0x3aaa8a,this[_0x4b74b2(0x2a4)]=_0x1c26da,this['_memberService']=_0x377f4e,this[_0x4b74b2(0xac)]=_0x34f232,this[_0x4b74b2(0x2ba)]=_0x2ecda3,this[_0x4b74b2(0x108)]=_0x55877f,this[_0x4b74b2(0x198)]=_0x2f1edd);}get[_0x35261d(0x21c)](){const _0x4e8125=_0x35261d;return this[_0x4e8125(0x111)][_0x4e8125(0x177)]();}get['roomMembers'](){const _0x5a6cea=_0x35261d;return this[_0x5a6cea(0xff)][_0x5a6cea(0x177)]();}[_0x35261d(0x256)](){const _0x17d7c0=_0x35261d;super['dispose'](),this[_0x17d7c0(0x111)][_0x17d7c0(0x106)](new Map()),this['_cursorInfo$']['complete'](),this[_0x17d7c0(0xff)][_0x17d7c0(0x106)]([]),this[_0x17d7c0(0xff)][_0x17d7c0(0x186)]();}['init'](){const _0x5a6e88=_0x35261d;this['_init']||(this[_0x5a6e88(0x187)]=!0x0,this[_0x5a6e88(0x1f1)]['sessionStatus$']['pipe'](_0x4bde4f(this[_0x5a6e88(0x2c1)]))['subscribe'](_0x50f133=>{const _0x43a8fd=_0x5a6e88;_0x50f133===_0x90c74a[_0x43a8fd(0xc6)]?this[_0x43a8fd(0x1bb)]():this[_0x43a8fd(0x248)]();}),this[_0x5a6e88(0x1f1)]['event$'][_0x5a6e88(0x2e3)](_0x4bde4f(this['dispose$']))[_0x5a6e88(0x223)](_0x20fd85=>{const _0x5db09d=_0x5a6e88,_0x415bca=_0x20fd85[_0x5db09d(0x191)];_0x415bca===_0x31166c[_0x5db09d(0x1c0)]&&this[_0x5db09d(0x24d)](_0x20fd85),_0x415bca===_0x31166c[_0x5db09d(0x2d0)]&&this['_onCursorDelete'](_0x20fd85);}),this[_0x5a6e88(0x2ca)](this[_0x5a6e88(0x198)]['onCommandExecuted'](_0x5a18fb=>{const _0x34350a=_0x5a6e88,_0x1ac071=_0x5a18fb['params'];_0x1ac071!=null&&this[_0x34350a(0x14a)]&&_0x5a18fb['id']===_0x805b1b['id']&&_0x1ac071[_0x34350a(0x196)]===this[_0x34350a(0x16b)]&&_0x1ac071[_0x34350a(0x1ac)]===!0x1&&_0x1ac071[_0x34350a(0x132)][_0x34350a(0x2cc)]>0x0&&this[_0x34350a(0x1ec)](_0x1ac071[_0x34350a(0x132)]);})),this[_0x5a6e88(0xac)][_0x5a6e88(0x2ee)][_0x5a6e88(0x2e3)](_0x4bde4f(this[_0x5a6e88(0x2c1)]))['subscribe'](_0x3c8cb8=>{const _0x3840e2=_0x5a6e88;if((_0x3c8cb8==null?void 0x0:_0x3c8cb8['unitID'])!==this['unitID'])return;const _0x351a84={'eventID':_0x31166c[_0x3840e2(0x1c0)],'data':_0x3c8cb8};this[_0x3840e2(0x24d)](_0x351a84);}),this[_0x5a6e88(0x2ca)](this['_commandService'][_0x5a6e88(0xb8)](_0x2d8799=>{const _0x4c6dff=_0x5a6e88;if(_0x2d8799[_0x4c6dff(0x1fc)]==null)return;const _0xfe6380=_0x2d8799[_0x4c6dff(0x1fc)];if(_0x2d8799['id']!==_0x12357d['id']||_0xfe6380[_0x4c6dff(0x196)]!==this[_0x4c6dff(0x16b)])return;const _0x5607f0={'id':'doc.mutation.rich-text-editing','params':_0xfe6380},_0x557f80=this[_0x4c6dff(0x21c)];for(const [_0x2a3f4f,_0x121b53]of _0x557f80){const _0x12f9c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x121b53[_0x4c6dff(0x132)]}},_0x35aa5f=this[_0x4c6dff(0x2ba)][_0x4c6dff(0x14b)](_0x5607f0,_0x12f9c8,!0x1);if(_0x384eb6(_0x35aa5f))throw _0x35aa5f['error'];_0x557f80['set'](_0x2a3f4f,{..._0x121b53,'ranges':_0x35aa5f[_0x4c6dff(0x1e9)][_0x4c6dff(0x1fc)][_0x4c6dff(0xde)]});}queueMicrotask(()=>{const _0x2d2393=_0x4c6dff;this[_0x2d2393(0x111)][_0x2d2393(0x106)](_0x557f80);});})));}[_0x35261d(0x24d)](_0x4994b9){const _0x4d139f=_0x35261d;var _0x55623a,_0x11622d;const {memberID:_0x54143e,selection:_0x1daf48}=_0x4994b9[_0x4d139f(0x11d)],_0x9262b3=Ai(_0x1daf48),_0x44cdb3=(_0x11622d=(_0x55623a=this[_0x4d139f(0x1ea)][_0x4d139f(0x273)](this[_0x4d139f(0x16b)],_0x54143e))==null?void 0x0:_0x55623a[_0x4d139f(0x1f2)])!=null?_0x11622d:_0x4d139f(0x23a),_0x53707e={'color':this['_colorAssignService'][_0x4d139f(0x1d0)](_0x54143e),'name':_0x44cdb3,'ranges':_0x9262b3},_0x49b3d4=this[_0x4d139f(0x21c)];_0x49b3d4[_0x4d139f(0x156)](_0x54143e,_0x53707e),this['_cursorInfo$'][_0x4d139f(0x106)](_0x49b3d4);}['_onCursorDelete'](_0x50307c){const _0x2bf031=_0x35261d,{memberID:_0x3bf8f8}=_0x50307c[_0x2bf031(0x11d)],_0x3d9b8f=this[_0x2bf031(0x21c)];_0x3d9b8f['delete'](_0x3bf8f8),this[_0x2bf031(0x111)][_0x2bf031(0x106)](_0x3d9b8f);}[_0x35261d(0x1bb)](){const _0xb2446c=_0x35261d;var _0x2553e6;if(this[_0xb2446c(0x14a)]=!0x0,((_0x2553e6=this[_0xb2446c(0x108)][_0xb2446c(0x10c)]())==null?void 0x0:_0x2553e6[_0xb2446c(0x10f)]())!==this[_0xb2446c(0x16b)])return;const _0x319a44=this[_0xb2446c(0x2de)][_0xb2446c(0x1aa)](_0x40ad8f)[_0xb2446c(0x28a)]();Array[_0xb2446c(0x233)](_0x319a44)&&_0x319a44[_0xb2446c(0x2cc)]>0x0&&this['_updateLocalCursor'](_0x319a44);}['_toggleOffline'](){const _0x5e9eed=_0x35261d;this[_0x5e9eed(0x14a)]=!0x1;}};xe=wi([A(0x2,_0x526d56(_0x3393f4)),A(0x3,_0x526d56(Ke)),A(0x4,_0x526d56(_0x1d803f)),A(0x5,_0x526d56(ze)),A(0x6,_0x2bb8a5),A(0x7,_0x4da50f),A(0x8,_0x431d0d)],xe);var xi=Object[_0x35261d(0x2ec)],Bi=(_0x46ec2c,_0x3f4a9b,_0x5123e0,_0x401e16)=>{const _0x2742d2=_0x35261d;for(var _0x381e60=_0x401e16>0x1?void 0x0:_0x401e16?xi(_0x3f4a9b,_0x5123e0):_0x3f4a9b,_0x4a9801=_0x46ec2c[_0x2742d2(0x2cc)]-0x1,_0x366df2;_0x4a9801>=0x0;_0x4a9801--)(_0x366df2=_0x46ec2c[_0x4a9801])&&(_0x381e60=_0x366df2(_0x381e60)||_0x381e60);return _0x381e60;},B=(_0x490bb6,_0x94933c)=>(_0x253bcf,_0x58c083)=>_0x94933c(_0x253bcf,_0x58c083,_0x490bb6);const Fi=0x12c,ki=0x64,Hi=()=>{let _0xf9cac6=[],_0x2bde6c=!0x1;return _0x2f1c34=>{const _0x451a65=_0x4abd;_0xf9cac6[_0x451a65(0xd1)](_0x2f1c34),_0x2bde6c||(_0x2bde6c=!0x0,setTimeout(()=>{const _0x3e17ed=_0x451a65;_0xf9cac6[_0x3e17ed(0xd9)](_0x463316=>_0x463316()),_0xf9cac6=[],_0x2bde6c=!0x1;}));};};let Be=class extends _0x5cd561{constructor(_0x3c91f9,_0x1e45ec,_0x56edea,_0x5046f3,_0x4662d2,_0x5773fc,_0x5b75b7,_0x577429){const _0x58720a=_0x35261d;super(),_(this,'_online',!0x1),_(this,_0x58720a(0x187),!0x1),_(this,_0x58720a(0x111),new _0x190ae5(new Map())),_(this,_0x58720a(0x194),this[_0x58720a(0x111)][_0x58720a(0x173)]()),_(this,_0x58720a(0xff),new _0x190ae5([])),_(this,_0x58720a(0x2e1),this[_0x58720a(0xff)][_0x58720a(0x2e3)](_0x4e6ba7(Fi))),_(this,_0x58720a(0x1ec),_0x5a5de3((_0x15547c,_0x10a4fa)=>{const _0x215e02=_0x58720a,_0x2c9c93={'eventID':_0x31166c[_0x215e02(0x1c0)],'data':{'unitID':this[_0x215e02(0x16b)],'memberID':this['_session'][_0x215e02(0x160)](),'selection':_0xf40097(_0x15547c,_0x10a4fa[_0x215e02(0x1ce)])}};this[_0x215e02(0x1f1)][_0x215e02(0x25b)](_0x2c9c93,this[_0x215e02(0x16b)]);},ki)),(this[_0x58720a(0x16b)]=_0x3c91f9,this[_0x58720a(0x1f1)]=_0x1e45ec,this[_0x58720a(0x2de)]=_0x56edea,this[_0x58720a(0x2a4)]=_0x5046f3,this[_0x58720a(0x1ea)]=_0x4662d2,this[_0x58720a(0x108)]=_0x5773fc,this['_commandService']=_0x5b75b7,this['_refRangeService']=_0x577429);}get[_0x35261d(0x21c)](){const _0x1e85f3=_0x35261d;return this[_0x1e85f3(0x111)][_0x1e85f3(0x177)]();}get[_0x35261d(0x270)](){const _0x2eb46b=_0x35261d;return this[_0x2eb46b(0xff)]['getValue']();}['dispose'](){const _0x1d7c64=_0x35261d;super[_0x1d7c64(0x256)](),this[_0x1d7c64(0x111)][_0x1d7c64(0x106)](new Map()),this[_0x1d7c64(0x111)][_0x1d7c64(0x186)](),this['_roomMembers$'][_0x1d7c64(0x106)]([]),this[_0x1d7c64(0xff)]['complete']();}[_0x35261d(0x2a1)](){const _0x5bfa7b=_0x35261d;this['_init']||(this[_0x5bfa7b(0x187)]=!0x0,this[_0x5bfa7b(0x1f1)][_0x5bfa7b(0x193)][_0x5bfa7b(0x2e3)](_0x4bde4f(this[_0x5bfa7b(0x2c1)]))[_0x5bfa7b(0x223)](_0x3b4b30=>{const _0x4334d6=_0x5bfa7b;_0x3b4b30===_0x90c74a['ONLINE']?this[_0x4334d6(0x1bb)]():this[_0x4334d6(0x248)]();}),this[_0x5bfa7b(0x1f1)]['event$'][_0x5bfa7b(0x2e3)](_0x4bde4f(this['dispose$']))[_0x5bfa7b(0x223)](_0x4fc328=>{const _0x4f185f=_0x5bfa7b,_0x5bc117=_0x4fc328[_0x4f185f(0x191)];_0x5bc117===_0x31166c[_0x4f185f(0x1c0)]&&this[_0x4f185f(0x24d)](_0x4fc328),_0x5bc117===_0x31166c[_0x4f185f(0x2d0)]&&this['_onCursorDelete'](_0x4fc328);}),this[_0x5bfa7b(0x29d)](),this['disposeWithMe'](this[_0x5bfa7b(0x198)][_0x5bfa7b(0xb8)](_0xf3e44a=>{const _0x1ceb0f=_0x5bfa7b;if(this[_0x1ceb0f(0x14a)]&&_0xf3e44a['id']===_0x16a987['id']&&_0xf3e44a['params']['unitId']===this[_0x1ceb0f(0x16b)]){const _0x60fe63=_0xf3e44a[_0x1ceb0f(0x1fc)];this['_updateLocalCursor'](_0x60fe63[_0x1ceb0f(0x161)],_0x60fe63[_0x1ceb0f(0x17e)][0x0]);}})));}['_onCursorUpdate'](_0xbe16f3){const _0x879839=_0x35261d;var _0x16c1b0,_0x19baa2;const {memberID:_0xf513c6,selection:_0x154762}=_0xbe16f3[_0x879839(0x11d)],{sheetName:_0xcc6adf,range:_0x55bc8a}=_0xac7da6(_0x154762),_0x20c33c={'name':(_0x19baa2=(_0x16c1b0=this['_memberService'][_0x879839(0x273)](this['unitID'],_0xf513c6))==null?void 0x0:_0x16c1b0[_0x879839(0x1f2)])!=null?_0x19baa2:_0x879839(0x23a),'range':this['_getMergeRange'](_0xcc6adf,_0x55bc8a),'sheetID':_0xcc6adf,'color':this[_0x879839(0x2a4)][_0x879839(0x1d0)](_0xf513c6),'selection':_0x154762},_0x571f5c=this['cursorInfo'];_0x571f5c['set'](_0xf513c6,_0x20c33c),this[_0x879839(0x111)][_0x879839(0x106)](_0x571f5c);}[_0x35261d(0x21a)](_0x5ab50d){const _0x2211b7=_0x35261d,{memberID:_0x36fbee}=_0x5ab50d[_0x2211b7(0x11d)],_0x574baf=this[_0x2211b7(0x21c)];_0x574baf['delete'](_0x36fbee),this['_cursorInfo$']['next'](_0x574baf);}[_0x35261d(0xe0)](_0x2a7d74,_0x133313){const _0x2bbe8f=_0x35261d;var _0x29410b,_0x20bf3f;const _0x4fd543=(_0x20bf3f=(_0x29410b=this['_univerInstanceService'][_0x2bbe8f(0xb0)](this[_0x2bbe8f(0x16b)]))==null?void 0x0:_0x29410b[_0x2bbe8f(0x1db)](_0x2a7d74))==null?void 0x0:_0x20bf3f[_0x2bbe8f(0x279)]();return(_0x4fd543==null?void 0x0:_0x4fd543[_0x2bbe8f(0x1a2)](_0x30a911=>_0x3e30a0['contains'](_0x30a911,_0x133313)))||_0x133313;}['_onRefRangeChange'](){const _0xb81947=_0x35261d,_0x518f04=new _0x262a72(),_0x4b2061=Hi(),_0x357199=()=>{const _0x369921=_0x4abd;_0x518f04[_0x369921(0x256)]();const _0x2e1a28=(_0x316002,_0x1834bc,_0xd4a33a,_0x4d7bdf)=>{const _0x214715=_0x369921;let _0x5b6b8d=[];switch(_0x316002['id']){case _0x4acbd2[_0x214715(0x1a1)]:{_0x5b6b8d=_0x15d3f4(_0x316002,_0x4d7bdf);break;}case _0x4acbd2['DeleteRangeMoveUpCommandId']:{_0x5b6b8d=_0x37e305(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x1b9)]:{_0x5b6b8d=_0x2efea8(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2ac)]:{_0x5b6b8d=_0x256dc5(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2a3)]:{_0x5b6b8d=_0x135739(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x12c)]:{_0x5b6b8d=_0xe2aa24(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x249)]:{_0x5b6b8d=_0x31fea7(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2e7)]:{_0x5b6b8d=_0x2d9b28(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x182)]:{_0x5b6b8d=_0x4cfe5f(_0x316002,_0x4d7bdf);break;}}const _0x3ae269=_0x2bc501(_0x5b6b8d,_0x4d7bdf),_0x58fdbb=this[_0x214715(0x21c)][_0x214715(0x1aa)](_0x1834bc);if(_0x58fdbb&&_0x3ae269){const _0x46cdb7={..._0x58fdbb,'range':_0x3ae269};this[_0x214715(0x21c)][_0x214715(0x156)](_0x1834bc,_0x46cdb7),_0x4b2061(()=>{const _0x1f893f=_0x214715,_0x13a267=this[_0x1f893f(0x224)][_0x1f893f(0xba)](_0x3ae269,_0x3fd333=>(_0x13a267['dispose'](),_0x2e1a28(_0x3fd333,_0x1834bc,_0xd4a33a,_0x3ae269)));_0x518f04['add'](_0x13a267);});}return{'redos':[],'undos':[]};};this[_0x369921(0x21c)][_0x369921(0xd9)]((_0x20a0b5,_0x793570)=>{const _0x256e3a=_0x369921,{range:_0x515d31,sheetID:_0x461879}=_0x20a0b5,_0x515012=this[_0x256e3a(0x224)]['registerRefRange'](_0x515d31,_0x186c2a=>(_0x515012['dispose'](),_0x2e1a28(_0x186c2a,_0x793570,_0x461879,_0x515d31)));_0x518f04['add'](_0x515012);});};this[_0xb81947(0x2ca)](_0x511582(this['_cursorInfo$'][_0xb81947(0x223)](()=>{_0x357199();})));}[_0x35261d(0x1bb)](){const _0xc4aea5=_0x35261d;var _0x2c718b,_0x5ecc9d;if(this[_0xc4aea5(0x14a)]=!0x0,((_0x2c718b=this['_univerInstanceService'][_0xc4aea5(0x10c)]())==null?void 0x0:_0x2c718b[_0xc4aea5(0x10f)]())!==this[_0xc4aea5(0x16b)])return;const _0x4d82e4=(_0x5ecc9d=this['_injector'][_0xc4aea5(0x1aa)](_0x2a5f3c)[_0xc4aea5(0x13b)]())==null?void 0x0:_0x5ecc9d[0x0],_0x1fbc79=this[_0xc4aea5(0x108)]['getCurrentUnitForType'](_0x388843[_0xc4aea5(0x127)])['getActiveSheet']();_0x4d82e4&&_0x1fbc79&&this[_0xc4aea5(0x1ec)](_0x1fbc79[_0xc4aea5(0x2c6)](),_0x4d82e4);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x526d56(_0x3393f4)),B(0x3,_0x526d56(Ke)),B(0x4,_0x526d56(_0x1d803f)),B(0x5,_0x4da50f),B(0x6,_0x431d0d),B(0x7,_0x526d56(_0x565041))],Be);var Yi=Object[_0x35261d(0x2ec)],Wi=(_0x46c687,_0x1a3e15,_0x4b1f91,_0x947a85)=>{const _0x32f2a9=_0x35261d;for(var _0x534c57=_0x947a85>0x1?void 0x0:_0x947a85?Yi(_0x1a3e15,_0x4b1f91):_0x1a3e15,_0x38c308=_0x46c687[_0x32f2a9(0x2cc)]-0x1,_0x5e7d19;_0x38c308>=0x0;_0x38c308--)(_0x5e7d19=_0x46c687[_0x38c308])&&(_0x534c57=_0x5e7d19(_0x534c57)||_0x534c57);return _0x534c57;},Ce=(_0x3691ea,_0x13f757)=>(_0x2a76cd,_0x1ef80f)=>_0x13f757(_0x2a76cd,_0x1ef80f,_0x3691ea);let H=class extends _0x5cd561{constructor(_0x7ef1af,_0x4c2ad9,_0x48a1ce){const _0x1d7f4c=_0x35261d;super(),_(this,_0x1d7f4c(0x290),new Map()),_(this,_0x1d7f4c(0x2c9),new _0x41a143()),(this['_univerInstanceService']=_0x7ef1af,this[_0x1d7f4c(0x2de)]=_0x4c2ad9,this[_0x1d7f4c(0x103)]=_0x48a1ce,this[_0x1d7f4c(0x187)]());}[_0x35261d(0x256)](){const _0x65a23f=_0x35261d;super['dispose'](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x1a3742=>_0x1a3742[_0x65a23f(0x256)]());}['getCollabCursors$'](_0x4081d8){const _0x44b5bf=_0x35261d;return this[_0x44b5bf(0x290)][_0x44b5bf(0x291)](_0x4081d8)?this[_0x44b5bf(0x290)][_0x44b5bf(0x1aa)](_0x4081d8)[_0x44b5bf(0x194)]:this['_entityInit$'][_0x44b5bf(0x2e3)](_0x3f794e(_0x41bfe0=>_0x41bfe0[_0x44b5bf(0x16b)]===_0x4081d8),_0xef42d4(_0x4cf01e=>_0x4cf01e[_0x44b5bf(0x194)]));}[_0x35261d(0x187)](){const _0x1f8690=_0x35261d;this[_0x1f8690(0x108)][_0x1f8690(0x2dd)](_0x388843['UNIVER_SHEET'])[_0x1f8690(0x2e3)](_0x4bde4f(this['dispose$']))[_0x1f8690(0x223)](async _0x40dfe5=>{const _0xedd50=_0x1f8690,_0x1db05f=_0x40dfe5[_0xedd50(0x10f)](),_0x3df277=await this[_0xedd50(0xf5)](_0x1db05f);this[_0xedd50(0x2c9)][_0xedd50(0x106)](_0x3df277),this[_0xedd50(0x290)][_0xedd50(0x156)](_0x1db05f,_0x3df277);}),this[_0x1f8690(0x108)][_0x1f8690(0x2dd)](_0x388843['UNIVER_DOC'])[_0x1f8690(0x2e3)](_0x4bde4f(this['dispose$']))['pipe'](_0x3f794e(_0x53bede=>!_0x53bede['getUnitId']()[_0x1f8690(0x271)]('__')))[_0x1f8690(0x223)](async _0xccea1e=>{const _0x2a7a83=_0x1f8690,_0x42adb7=_0xccea1e[_0x2a7a83(0x10f)](),_0x1e6960=await this['_startDocCollabCursor'](_0x42adb7);this[_0x2a7a83(0x2c9)]['next'](_0x1e6960),this['_entities']['set'](_0x42adb7,_0x1e6960);}),_0x152dc6(this['_univerInstanceService'][_0x1f8690(0x297)](_0x388843[_0x1f8690(0x235)]),this[_0x1f8690(0x108)]['getTypeOfUnitDisposed$'](_0x388843[_0x1f8690(0x127)]))['pipe'](_0x4bde4f(this[_0x1f8690(0x2c1)]))[_0x1f8690(0x223)](_0x11fde1=>{const _0x4b06d=_0x1f8690,_0x4f011a=_0x11fde1['getUnitId'](),_0x359911=this['_entities'][_0x4b06d(0x1aa)](_0x4f011a);_0x359911&&(_0x359911[_0x4b06d(0x256)](),this[_0x4b06d(0x290)][_0x4b06d(0x2d4)](_0x4f011a));});}async[_0x35261d(0xf5)](_0x3723cf){const _0x3a9117=_0x35261d,_0x1b0c80=await this[_0x3a9117(0x103)][_0x3a9117(0x9f)](_0x3723cf),_0x4f6a75=this[_0x3a9117(0x2de)][_0x3a9117(0x143)](Be,_0x3723cf,_0x1b0c80);return _0x4f6a75[_0x3a9117(0x2a1)](),_0x4f6a75;}async['_startDocCollabCursor'](_0x47c8a2){const _0x23a0d4=_0x35261d,_0x3ff85e=await this[_0x23a0d4(0x103)][_0x23a0d4(0x9f)](_0x47c8a2),_0x235085=this[_0x23a0d4(0x2de)][_0x23a0d4(0x143)](xe,_0x47c8a2,_0x3ff85e);return _0x235085['init'](),_0x235085;}};H=Wi([Ce(0x0,_0x4da50f),Ce(0x1,_0x526d56(_0x3393f4)),Ce(0x2,_0x526d56(_0x161ab7))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x27b65d,_0x50f215){const _0x484f47=_0x35261d;let {radius:_0x194840,width:_0x529c28,height:_0x2827a0}=_0x50f215;_0x194840=_0x194840!=null?_0x194840:0x0,_0x529c28=_0x529c28!=null?_0x529c28:0x1e,_0x2827a0=_0x2827a0!=null?_0x2827a0:0x1e;let _0x3d97b0=0x0,_0x4b0a0f=0x0,_0x5dcc20=0x0;_0x3d97b0=_0x4b0a0f=_0x5dcc20=Math[_0x484f47(0x277)](_0x194840,_0x529c28/0x2,_0x2827a0/0x2),_0x27b65d[_0x484f47(0x97)](),_0x27b65d[_0x484f47(0x18c)](_0x3d97b0,0x0),_0x27b65d[_0x484f47(0x1e1)](_0x529c28-_0x4b0a0f,0x0),_0x27b65d['arc'](_0x529c28-_0x4b0a0f,_0x4b0a0f,_0x4b0a0f,Math['PI']*0x3/0x2,0x0,!0x1),_0x27b65d[_0x484f47(0x1e1)](_0x529c28,_0x2827a0-_0x5dcc20),_0x27b65d['arc'](_0x529c28-_0x5dcc20,_0x2827a0-_0x5dcc20,_0x5dcc20,0x0,Math['PI']/0x2,!0x1),_0x27b65d[_0x484f47(0x1e1)](0x0,_0x2827a0),_0x27b65d[_0x484f47(0x1e1)](0x0,_0x3d97b0),_0x27b65d[_0x484f47(0x220)](_0x3d97b0,_0x3d97b0,_0x3d97b0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27b65d['closePath'](),_0x50f215['fill']&&(_0x27b65d[_0x484f47(0x1c7)](),_0x27b65d[_0x484f47(0x105)]=_0x50f215[_0x484f47(0xb4)],_0x50f215['fillRule']==='evenodd'?_0x27b65d['fill'](_0x484f47(0x29c)):_0x27b65d[_0x484f47(0xb4)](),_0x27b65d[_0x484f47(0x120)]());}class ve extends _0x4b83f3{constructor(_0x53c8b2,_0x3bec40){const _0x2f1ca3=_0x35261d;super(_0x53c8b2,_0x3bec40),_(this,'color'),_(this,'text'),(this[_0x2f1ca3(0x163)]=_0x3bec40==null?void 0x0:_0x3bec40[_0x2f1ca3(0x163)],this[_0x2f1ca3(0x23d)]=_0x3bec40==null?void 0x0:_0x3bec40[_0x2f1ca3(0x23d)]);}static[_0x35261d(0x293)](_0x3cb302,_0xed52c4){const _0x16eb58=_0x35261d,{text:_0x4d775f,color:_0x22cbac}=_0xed52c4;_0x3cb302[_0x16eb58(0x1c7)](),_0x3cb302[_0x16eb58(0x1c1)]=_0x16eb58(0x288);const _0xc69863=_0x3cb302[_0x16eb58(0x10d)](_0x4d775f)[_0x16eb58(0x266)],_0x449879=Math[_0x16eb58(0x277)](_0xc69863+0x2*Re,at);ji(_0x3cb302,{'height':Q,'radius':0x4,'width':_0x449879,'fill':_0x22cbac}),_0x3cb302[_0x16eb58(0x105)]='#FFF';const _0x37670e=Re,_0x4a570f=Q-Vi,_0x208662=at-0x2*Re;if(_0xc69863>_0x208662){let _0x2010c4='',_0x17f3b2=0x0;for(const _0x497302 of _0x4d775f){const _0x5e8f16=_0x3cb302['measureText'](_0x497302)[_0x16eb58(0x266)];if(_0x17f3b2+_0x5e8f16<=_0x208662-_0x3cb302[_0x16eb58(0x10d)](_0x16eb58(0x2d7))[_0x16eb58(0x266)])_0x2010c4+=_0x497302,_0x17f3b2+=_0x5e8f16;else{_0x2010c4+=_0x16eb58(0x2d7);break;}}_0x3cb302[_0x16eb58(0x1ed)](_0x2010c4,_0x37670e,_0x4a570f);}else _0x3cb302[_0x16eb58(0x1ed)](_0x4d775f,_0x37670e,_0x4a570f);_0x3cb302[_0x16eb58(0x120)]();}[_0x35261d(0x18e)](_0x2ddc36){const _0x462330=_0x35261d;ve[_0x462330(0x293)](_0x2ddc36,this);}}const De='collab-text-anchor-',Xi='collab-text-range-',Gi=_0x35261d(0x1df),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0x441cd9,_0x3403c,_0x1ac199,_0x44abbe){const _0x3d6097=_0x35261d;_(this,'_shapes',[]),_(this,_0x3d6097(0x1ca),null),_(this,'_textBubble',null),_(this,_0x3d6097(0x215),null),_(this,_0x3d6097(0x12a),null),_(this,_0x3d6097(0x164),null),(this[_0x3d6097(0x19a)]=_0x441cd9,this[_0x3d6097(0x1ad)]=_0x3403c,this[_0x3d6097(0xe1)]=_0x1ac199,this[_0x3d6097(0x19b)]=_0x44abbe,this[_0x3d6097(0x124)]());}set[_0x35261d(0x268)](_0x2d27ba){const _0x234023=_0x35261d;_0x2d27ba?(this[_0x234023(0x215)]&&this[_0x234023(0x215)][_0x234023(0xad)](),this[_0x234023(0xf0)]&&this[_0x234023(0xf0)][_0x234023(0x1d2)]()):(this[_0x234023(0x215)]&&this[_0x234023(0x215)][_0x234023(0x1d2)](),this[_0x234023(0xf0)]&&this[_0x234023(0xf0)][_0x234023(0xad)]());}[_0x35261d(0x256)](){const _0x323054=_0x35261d;for(const _0xc9e16c of this[_0x323054(0x13d)])_0xc9e16c['dispose']();this[_0x323054(0xf0)]&&this[_0x323054(0xf0)][_0x323054(0x256)](),this[_0x323054(0x215)]&&this['_anchorDot'][_0x323054(0x256)](),this[_0x323054(0x1ca)]&&this[_0x323054(0x1ca)][_0x323054(0x256)](),this[_0x323054(0x164)]&&this[_0x323054(0x164)]();}[_0x35261d(0x124)](){const _0x1818c6=_0x35261d;var _0x4c9373;const {_docSkeleton:_0x2a89ab,_document:_0x113d02}=this,{color:_0x35d701,name:_0x4bc72f,ranges:_0x355432}=this['_cursor'],_0x490e45=_0x113d02[_0x1818c6(0x16a)](),{docsLeft:_0x44e9b5,docsTop:_0x3fc7b7}=_0x490e45,_0x313bf8=new _0x593536(_0x490e45,_0x2a89ab);for(const {startOffset:_0x3ca66f,endOffset:_0x4241ab,rangeType:_0x24e5b7,segmentId:_0xf9f3b5,segmentPage:_0x4480e7,collapsed:_0x49f79b,isActive:_0x573fda}of _0x355432){const _0x3d728b=_0x2a89ab[_0x1818c6(0x1ab)](_0x3ca66f,!0x0,_0xf9f3b5,_0x4480e7);let _0x2cb4fb=_0x2a89ab[_0x1818c6(0x1ab)](_0x4241ab,!0x0,_0xf9f3b5,_0x4480e7);if(_0x2cb4fb==null&&(_0x2cb4fb=_0x2a89ab[_0x1818c6(0x1ab)](_0x4241ab-0x1,!0x1,_0xf9f3b5,_0x4480e7)),_0x573fda){const {contentBoxPointGroup:_0x241b04}=_0x313bf8['getRangePointData'](_0x2cb4fb,_0x2cb4fb);if(_0x241b04['length']===0x0)continue;this[_0x1818c6(0x125)](_0x35d701,_0x241b04,_0x44e9b5,_0x3fc7b7,_0x4bc72f),this[_0x1818c6(0x164)]=this['_handleHover']();}if(_0x3d728b&&_0x2cb4fb){if(_0x24e5b7===_0x4e947f[_0x1818c6(0x122)]){const _0x2a5dfa=new _0x816e09(_0x490e45,_0x2a89ab),{pointGroup:_0x341515}=(_0x4c9373=_0x2a5dfa[_0x1818c6(0x114)](_0x3d728b,_0x2cb4fb))!=null?_0x4c9373:{};if(_0x341515==null||_0x341515[_0x1818c6(0x2cc)]===0x0)continue;this[_0x1818c6(0xce)](_0x35d701,_0x341515,_0x44e9b5,_0x3fc7b7);}else{if(!_0x49f79b){const {borderBoxPointGroup:_0xaffb68}=_0x313bf8['getRangePointData'](_0x3d728b,_0x2cb4fb);if(_0xaffb68[_0x1818c6(0x2cc)]===0x0)continue;this[_0x1818c6(0x1bc)](_0x35d701,_0xaffb68,_0x44e9b5,_0x3fc7b7);}}}}}[_0x35261d(0x125)](_0x416914,_0x26b35c,_0x3d761f,_0x5ef854,_0x27d3f9){const _0x2bce07=_0x35261d,_0x2fadf1=this[_0x2bce07(0x126)](_0x26b35c),{left:_0xcaf7e9,top:_0x5a0155,height:_0x2de9d9}=_0x2fadf1,_0x5a335e=this[_0x2bce07(0x213)](),_0x348c47=zi/_0x5a335e,_0x5a9cd4=new _0x3fac0b(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854,'height':_0x2de9d9,'width':Ki,'fill':_0x416914||_0x12e3fb(_0x311919[_0x2bce07(0x1e8)],0x0),'strokeWidth':_0x348c47,'stroke':Ji,'evented':!0x0});this[_0x2bce07(0x1ca)]=_0x5a9cd4,this['_scene']['addObject'](_0x5a9cd4,_0x4e7e07);const _0xf698f6=new _0x3fac0b(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x416914||_0x12e3fb(_0x311919['black'],0x0),'strokeWidth':0x0,'stroke':_0x416914||_0x12e3fb(_0x311919[_0x2bce07(0x1e8)],0x0),'evented':!0x1});this['_anchorDot']=_0xf698f6,this[_0x2bce07(0x1ad)][_0x2bce07(0x27b)](_0xf698f6,_0x4e7e07);const _0x4092ea=new ve(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854-Q,'text':_0x27d3f9,'color':_0x416914});this[_0x2bce07(0xf0)]=_0x4092ea,this[_0x2bce07(0x1ad)][_0x2bce07(0x27b)](_0x4092ea,_0x4e7e07),this[_0x2bce07(0x268)]=!0x1;}[_0x35261d(0x29f)](){const _0x4fd2d4=_0x35261d,_0x1f5e4e=this[_0x4fd2d4(0x1ca)][_0x4fd2d4(0x267)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x24f92f=this['_anchor'][_0x4fd2d4(0x222)]['subscribeEvent'](()=>{const _0x5b7050=_0x4fd2d4;this[_0x5b7050(0x12a)]&&clearTimeout(this[_0x5b7050(0x12a)]),this[_0x5b7050(0x12a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c370c=_0x4fd2d4;_0x1f5e4e[_0x1c370c(0x2be)](),_0x24f92f[_0x1c370c(0x2be)]();};}['_drawTextRange'](_0x5da616,_0x2b641a,_0x26018d,_0xab8b2b){const _0x334837=_0x35261d,_0x4a68f9=new _0x12767b(_0x5da616)[_0x334837(0x285)](0.2)[_0x334837(0x20f)](),_0xf1678c=new _0x44a4ed(Xi+_0x18acb6(z),{'pointsGroup':_0x2b641a,'fill':_0x4a68f9||_0x12e3fb(_0x311919[_0x334837(0x1e8)],0.2),'left':_0x26018d,'top':_0xab8b2b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x334837(0xd1)](_0xf1678c),this[_0x334837(0x1ad)][_0x334837(0x27b)](_0xf1678c,_0x4e7e07);}[_0x35261d(0xce)](_0x546f09,_0x472ae0,_0x251bac,_0x4a647a){const _0x473e41=_0x35261d,_0xaaf44c=new _0x12767b(_0x546f09)[_0x473e41(0x285)](0.2)[_0x473e41(0x20f)](),_0x56f69b=new _0x44a4ed(Gi+_0x18acb6(z),{'pointsGroup':_0x472ae0,'fill':_0xaaf44c||_0x12e3fb(_0x311919[_0x473e41(0x1e8)],0.2),'left':_0x251bac,'top':_0x4a647a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x473e41(0x13d)][_0x473e41(0xd1)](_0x56f69b),this['_scene']['addObject'](_0x56f69b,_0x4e7e07);}[_0x35261d(0x126)](_0x2ebdac){const _0x20d385=_0x2ebdac[0x0],_0x21c111=_0x20d385[0x0],_0x1f8c33=_0x20d385[0x2],{x:_0x3d40a0,y:_0x1ec580}=_0x21c111,{x:_0x2788d7,y:_0x1f31c8}=_0x1f8c33;return{'left':_0x3d40a0,'top':_0x1ec580,'width':_0x2788d7-_0x3d40a0,'height':_0x1f31c8-_0x1ec580};}[_0x35261d(0x213)](){const _0x1887a2=_0x35261d,{scaleX:_0x57cb02,scaleY:_0x15d293}=this['_scene']['getAncestorScale']();return Math[_0x1887a2(0x26c)](_0x57cb02,_0x15d293);}}var Zi=Object[_0x35261d(0x2ec)],Qi=(_0x23297c,_0x4a6107,_0x597e9d,_0x4b8c16)=>{const _0x16ab38=_0x35261d;for(var _0x359b75=_0x4b8c16>0x1?void 0x0:_0x4b8c16?Zi(_0x4a6107,_0x597e9d):_0x4a6107,_0x2e6d15=_0x23297c[_0x16ab38(0x2cc)]-0x1,_0x50822a;_0x2e6d15>=0x0;_0x2e6d15--)(_0x50822a=_0x23297c[_0x2e6d15])&&(_0x359b75=_0x50822a(_0x359b75)||_0x359b75);return _0x359b75;},ie=(_0x3b7ea2,_0xf9caea)=>(_0x47b05e,_0x135390)=>_0xf9caea(_0x47b05e,_0x135390,_0x3b7ea2);let Fe=class extends _0x5cd561{constructor(_0x4f975a,_0x3ef2df,_0x3beb5a,_0x183c04,_0x3378b3){const _0x435bd8=_0x35261d;super(),_(this,_0x435bd8(0x1f9),[]),_(this,_0x435bd8(0x208),[]),(this[_0x435bd8(0x1c2)]=_0x4f975a,this[_0x435bd8(0x2b9)]=_0x3ef2df,this['_collabCursorController']=_0x3beb5a,this[_0x435bd8(0x198)]=_0x183c04,this['_themeService']=_0x3378b3,this[_0x435bd8(0x187)]());}[_0x35261d(0x187)](){const _0x3e1542=_0x35261d,_0x1a8ff5=this[_0x3e1542(0x1c2)]['unitId'],_0x396450=this[_0x3e1542(0x2b9)];this[_0x3e1542(0x2ca)](_0x251939([this[_0x3e1542(0x2e9)]['getCollabCursors$'](_0x1a8ff5),this[_0x3e1542(0xab)]['currentTheme$']])['pipe'](_0x3b7002(([_0x2f206a,_0x5a0a22])=>({'skeleton':_0x396450['getSkeleton'](),'cursors':[..._0x2f206a['values']()][_0x3e1542(0x2ea)](_0x1f5603=>({..._0x1f5603,'color':this['_themeService'][_0x3e1542(0x155)](_0x1f5603[_0x3e1542(0x163)])}))})))[_0x3e1542(0x223)](_0x42c49a=>{if(this['_removeCollabCursors'](),_0x42c49a){const {skeleton:_0x2de3e4,cursors:_0x6902e0}=_0x42c49a;this['_updateCollabCursors'](_0x2de3e4,_0x6902e0);}})),this[_0x3e1542(0xf6)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x452ab1,_0x526a08){const _0x47adb8=_0x35261d,{scene:_0x42d205,mainComponent:_0x313f29}=this[_0x47adb8(0x1c2)],_0x26f7ba=_0x526a08[_0x47adb8(0x1ba)](_0x427419=>new ct(_0x427419,_0x42d205,_0x452ab1,_0x313f29));this[_0x47adb8(0x1f9)]=_0x26f7ba,this['_cursors']=_0x526a08;}[_0x35261d(0x274)](){const _0x210f5f=_0x35261d;this['_removeCollabCursors']();const {scene:_0x5cf5b7,mainComponent:_0x4ca2ab}=this['_context'],_0x3344ef=this['_docSkeletonManagerService'][_0x210f5f(0xe2)](),_0x373bfe=this['_cursors'][_0x210f5f(0x1ba)](_0x17ff21=>new ct(_0x17ff21,_0x5cf5b7,_0x3344ef,_0x4ca2ab));this[_0x210f5f(0x1f9)]=_0x373bfe;}['_removeCollabCursors'](){const _0x5832e3=_0x35261d;this[_0x5832e3(0x1f9)][_0x5832e3(0xd9)](_0x20a09c=>_0x20a09c[_0x5832e3(0x256)]()),this[_0x5832e3(0x1f9)]=[];}['_initCommandExecutedListener'](){const _0x66223c=_0x35261d,_0x162326=[_0x246c84['id']];this[_0x66223c(0x2ca)](this['_commandService'][_0x66223c(0xb8)](_0x5cf179=>{const _0x5ae2ca=_0x66223c;_0x162326[_0x5ae2ca(0x1be)](_0x5cf179['id'])&&_0x5cf179['params'][_0x5ae2ca(0x196)]===this[_0x5ae2ca(0x1c2)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x172933=_0x35261d;this[_0x172933(0x2ca)](_0x179326(this[_0x172933(0x1c2)][_0x172933(0x137)][_0x172933(0x26b)])[_0x172933(0x2e3)](_0x41a922(_0x56d21a=>_0x56d21a[_0x172933(0x1d6)]===_0x2258d1[_0x172933(0x2d8)]),_0x5543f9(0x10))[_0x172933(0x223)](()=>{const _0x6db646=_0x172933;this[_0x6db646(0x274)]();}));}};Fe=Qi([ie(0x1,_0x526d56(_0x144934)),ie(0x2,_0x526d56(H)),ie(0x3,_0x431d0d),ie(0x4,_0x526d56(_0x160c6e))],Fe);const qi=0x1,en=1.5;class tn extends _0x4b83f3{constructor(_0xb9846,_0xa7eb84){const _0x464ece=_0x35261d;super(_0xb9846,_0xa7eb84),_(this,_0x464ece(0xfc)),_(this,_0x464ece(0x11e),!0x1),_(this,_0x464ece(0x1bd)),_(this,_0x464ece(0x1c5),''),_(this,_0x464ece(0xa8),_0x464ece(0x20b)),_(this,_0x464ece(0x195)),(_0xa7eb84&&this['setShapeProps'](_0xa7eb84),this[_0x464ece(0x267)]['subscribeEvent'](()=>this[_0x464ece(0xa2)]({'hovered':!0x0})),this[_0x464ece(0x222)][_0x464ece(0x216)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x2e9237){const _0x5cb411=_0x35261d;var _0x3f6c60,_0xe1b983,_0x37dd19,_0x45f241,_0x2f622f,_0x29ebe1;this['_color']=(_0x3f6c60=_0x2e9237['color'])!=null?_0x3f6c60:this[_0x5cb411(0xfc)],this[_0x5cb411(0x11e)]=(_0xe1b983=_0x2e9237[_0x5cb411(0x25e)])!=null?_0xe1b983:this['_hovered'],this[_0x5cb411(0x1bd)]=(_0x37dd19=_0x2e9237[_0x5cb411(0x1ce)])!=null?_0x37dd19:this[_0x5cb411(0x1bd)],this[_0x5cb411(0x1c5)]=(_0x45f241=_0x2e9237['name'])!=null?_0x45f241:this[_0x5cb411(0x1c5)],this[_0x5cb411(0xa8)]=(_0x2f622f=_0x2e9237['labelPosition'])!=null?_0x2f622f:this[_0x5cb411(0xa8)],this[_0x5cb411(0x195)]=(_0x29ebe1=_0x2e9237[_0x5cb411(0x287)])!=null?_0x29ebe1:this['_backgroundColor'],this[_0x5cb411(0x1d3)]({'width':_0x2e9237[_0x5cb411(0x266)],'height':_0x2e9237[_0x5cb411(0xfd)]});}[_0x35261d(0x1a6)](_0x4132c1){const _0x3b438b=_0x35261d,{row:_0x20ebd0,column:_0x28b9a5}=_0x4132c1;if(_0x20ebd0>=this['_range']['startRow']&&_0x20ebd0<=this[_0x3b438b(0x1bd)]['endRow']&&_0x28b9a5>=this[_0x3b438b(0x1bd)][_0x3b438b(0x2bd)]&&_0x28b9a5<=this[_0x3b438b(0x1bd)][_0x3b438b(0x259)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3b438b(0xa2)]({'hovered':!0x1});}['triggerDblclick'](_0xb33d97){return!0x1;}[_0x35261d(0x18e)](_0x3f2a4e){const _0x331e10=_0x35261d;_0x3fac0b[_0x331e10(0x293)](_0x3f2a4e,{'width':this['width'],'height':this[_0x331e10(0xfd)],'strokeWidth':en,'stroke':this[_0x331e10(0xfc)],'evented':!0x1,'fill':this[_0x331e10(0x195)]}),this[_0x331e10(0x11e)]&&(_0x3f2a4e['save'](),_0x3f2a4e[_0x331e10(0xd2)](0x1,0x0,0x0,0x1,this[_0x331e10(0x266)],this[_0x331e10(0xa8)]===_0x331e10(0x27c)?0x0:-Q),ve['drawWith'](_0x3f2a4e,{'text':this[_0x331e10(0x1c5)],'color':this[_0x331e10(0xfc)]}),_0x3f2a4e[_0x331e10(0x120)]());}}var sn=Object[_0x35261d(0x2ec)],nn=(_0xcfd49,_0x22fd29,_0x13f2fd,_0x5592d9)=>{const _0x18b4e2=_0x35261d;for(var _0xcb68f4=_0x5592d9>0x1?void 0x0:_0x5592d9?sn(_0x22fd29,_0x13f2fd):_0x22fd29,_0x50ec72=_0xcfd49[_0x18b4e2(0x2cc)]-0x1,_0xa927b5;_0x50ec72>=0x0;_0x50ec72--)(_0xa927b5=_0xcfd49[_0x50ec72])&&(_0xcb68f4=_0xa927b5(_0xcb68f4)||_0xcb68f4);return _0xcb68f4;},be=(_0x3f0cd9,_0x296780)=>(_0x1a253a,_0x500fd0)=>_0x296780(_0x1a253a,_0x500fd0,_0x3f0cd9);const rn=0x1389;let ke=class extends _0x5cd561{constructor(_0x367764,_0x161931,_0x2ca953,_0x53ed1e){const _0x56754c=_0x35261d;super(),_(this,_0x56754c(0x208),new Set()),_(this,_0x56754c(0x145),null),(this[_0x56754c(0x1c2)]=_0x367764,this[_0x56754c(0x2a7)]=_0x161931,this[_0x56754c(0x2e9)]=_0x2ca953,this['_themeService']=_0x53ed1e,this[_0x56754c(0x187)]());}[_0x35261d(0x187)](){const _0x1408e8=_0x35261d;this['_sheetSkeletonManagerService'][_0x1408e8(0x2a2)][_0x1408e8(0x2e3)](_0x45c0b6(this[_0x1408e8(0x2c1)]),_0x4f1383(_0x4c2e4c=>{const _0x591dfb=_0x1408e8;if(_0x4c2e4c){const _0x717b7e=_0x4c2e4c[_0x591dfb(0x1a0)];return _0x251939(this[_0x591dfb(0x2e9)][_0x591dfb(0x28e)](this[_0x591dfb(0x1c2)][_0x591dfb(0x196)]),this[_0x591dfb(0xab)][_0x591dfb(0x166)])['pipe'](_0x3b7002(([_0xbcb83c,_0x1191b3])=>{const _0xfe758a=new Map();return _0xbcb83c['forEach']((_0x6432b5,_0x24f053)=>{const _0x36bcf6=_0x4abd;if(_0x6432b5['sheetID']===_0x717b7e){const _0x8f9e17={..._0x6432b5};_0x8f9e17[_0x36bcf6(0x163)]=this[_0x36bcf6(0xab)][_0x36bcf6(0x155)](_0x6432b5[_0x36bcf6(0x163)]),_0xfe758a[_0x36bcf6(0x156)](_0x24f053,_0x8f9e17);}}),{'skeleton':_0x4c2e4c,'cursors':_0xfe758a};}));}return _0x53ce20({'skeleton':null,'cursors':new Map()});}))[_0x1408e8(0x223)](({skeleton:_0x2a787b,cursors:_0x396842})=>{const _0x4e2c46=_0x1408e8;this['_removeCollabCursors'](),_0x2a787b&&this[_0x4e2c46(0x17c)](_0x2a787b,_0x396842);}),this[_0x1408e8(0x2a7)][_0x1408e8(0x2a2)]['subscribe'](_0xfd55b5=>{const _0x1fb431=_0x1408e8;if(_0xfd55b5==null)return;const {skeleton:_0x35dc72}=_0xfd55b5,{scene:_0x2829f5}=this['_context'];_0x2829f5[_0x1fb431(0x236)][_0x1fb431(0x216)](_0x5a5de3(_0x3c0d20=>{const _0x4637f4=_0x1fb431;var _0x54d5aa,_0xe74b96;const {offsetX:_0x59df6e,offsetY:_0x3e7e04}=_0x3c0d20,{x:_0x5140cc,y:_0x5c02f6}=_0x2829f5[_0x4637f4(0x2e5)](_0x3f118f[_0x4637f4(0x2b0)]([_0x59df6e,_0x3e7e04])),{scaleX:_0xa853c1,scaleY:_0x2d7b4e}=_0x2829f5['getAncestorScale'](),_0x587713=_0x2829f5[_0x4637f4(0xd7)](_0x315cae[_0x4637f4(0x27a)]),_0x187d3f=_0x2829f5[_0x4637f4(0x2c5)](_0x3f118f[_0x4637f4(0x2b0)]([_0x5140cc,_0x5c02f6]),_0x587713),_0x4ebc64=_0x35dc72[_0x4637f4(0x2d5)](_0x59df6e,_0x3e7e04,_0xa853c1,_0x2d7b4e,_0x187d3f);((_0x54d5aa=this[_0x4637f4(0x145)])==null?void 0x0:_0x54d5aa[_0x4637f4(0xa6)])===_0x4ebc64['column']&&((_0xe74b96=this['_lastPointer'])==null?void 0x0:_0xe74b96[_0x4637f4(0x2bf)])===_0x4ebc64[_0x4637f4(0x2bf)]||this['_cursors'][_0x4637f4(0xd9)](_0x588668=>{const _0x5bd71d=_0x4637f4;_0x588668[_0x5bd71d(0x1a6)](_0x4ebc64);});},0x64));});}[_0x35261d(0x17c)](_0x54cbb4,_0x224af5){const _0x8a2bd3=_0x35261d;var _0xdb16be;const _0x4cd10b=(_0xdb16be=this[_0x8a2bd3(0x2a7)][_0x8a2bd3(0x104)]())==null?void 0x0:_0xdb16be[_0x8a2bd3(0x109)];if(!_0x4cd10b)return;const _0x3eb84c=this[_0x8a2bd3(0x1e6)]();if(!_0x3eb84c)return;this['_cursors'][_0x8a2bd3(0xd9)](_0x56ee13=>{const _0xc83c61=_0x8a2bd3;_0x56ee13[_0xc83c61(0x217)]();});const {scene:_0x5b4cf5}=_0x3eb84c,_0x33da7d=on(Array[_0x8a2bd3(0xf9)](_0x224af5[_0x8a2bd3(0x178)]()))['map'](_0x6f9124=>{const _0x1da76a=_0x8a2bd3,{color:_0x29d95c,range:_0x558988,name:_0xa2978,selection:_0x1344da,sheetID:_0x2f3908}=_0x6f9124,{startColumn:_0x1b9bd6,startRow:_0x59da29,endColumn:_0x3a15a1,endRow:_0x92a37a}=_0x558988,_0x2edc8c=_0xca1a2a(_0x59da29,_0x1b9bd6,_0x5b4cf5,_0x4cd10b),_0x1391be=_0xca1a2a(_0x92a37a,_0x3a15a1,_0x5b4cf5,_0x4cd10b),{columnHeaderHeightAndMarginTop:_0x17d564}=_0x4cd10b,{startX:_0x4c2f02,startY:_0x1943d9}=_0x2edc8c,{endX:_0x5296b8,endY:_0x1e9c7b}=_0x1391be,_0x341c64=_0x5296b8-_0x4c2f02,_0x419e15=_0x1e9c7b-_0x1943d9,_0x2e7624={'labelPosition':_0x1943d9-_0x17d564>=Q?_0x1da76a(0x20b):_0x1da76a(0x27c),'sheetID':_0x2f3908,'range':_0x558988,'color':_0x29d95c,'name':_0xa2978,'selection':_0x1344da,'left':_0x4c2f02,'top':_0x1943d9,'width':_0x341c64,'height':_0x419e15,'evented':!0x1,'zIndex':rn};return new tn(_0xa2978,_0x2e7624);});_0x5b4cf5[_0x8a2bd3(0x101)](_0x33da7d,qi),this['_cursors']=new Set(_0x33da7d);}[_0x35261d(0x1e2)](){const _0x277c4a=_0x35261d;var _0x498a28;(_0x498a28=this[_0x277c4a(0x208)])==null||_0x498a28['forEach'](_0x4ebab6=>_0x4ebab6['dispose']());}['_getSheetObject'](){const _0x11302b=_0x35261d;return _0x5c8b20(this[_0x11302b(0x1c2)][_0x11302b(0x22d)],this['_context']);}};ke=nn([be(0x1,_0x526d56(_0x18e06d)),be(0x2,_0x526d56(H)),be(0x3,_0x526d56(_0x160c6e))],ke);function on(_0x103ab6){const _0x301106=_0x35261d,_0x3af9ac=new Map();return _0x103ab6[_0x301106(0xd9)](_0x32ed39=>{const _0x3c1366=_0x301106;if(_0x3af9ac['has'](_0x32ed39['selection'])){const _0x3f848f=_0x3af9ac['get'](_0x32ed39[_0x3c1366(0x251)]);_0x3f848f[_0x3c1366(0x1f2)]+=',\x20'+_0x32ed39[_0x3c1366(0x1f2)];}else _0x3af9ac[_0x3c1366(0x156)](_0x32ed39[_0x3c1366(0x251)],_0x32ed39);}),Array['from'](_0x3af9ac[_0x301106(0x178)]());}var an=Object[_0x35261d(0x2ec)],cn=(_0x50f2f9,_0x5d7e7e,_0x4256cf,_0x2e7fc7)=>{const _0x37d741=_0x35261d;for(var _0x1cc0b7=_0x2e7fc7>0x1?void 0x0:_0x2e7fc7?an(_0x5d7e7e,_0x4256cf):_0x5d7e7e,_0x28614b=_0x50f2f9[_0x37d741(0x2cc)]-0x1,_0x2023fb;_0x28614b>=0x0;_0x28614b--)(_0x2023fb=_0x50f2f9[_0x28614b])&&(_0x1cc0b7=_0x2023fb(_0x1cc0b7)||_0x1cc0b7);return _0x1cc0b7;},F=(_0x1d6cb2,_0x174860)=>(_0x2eaf6a,_0x10b4ba)=>_0x174860(_0x2eaf6a,_0x10b4ba,_0x1d6cb2);let _e=class extends _0x574664{constructor(_0xde69f2,_0x2a39a8,_0x246d2c,_0x6306a8,_0x43d797,_0x592c44){const _0x2aa1d8=_0x35261d;super(),this[_0x2aa1d8(0x1b3)]=_0xde69f2,this[_0x2aa1d8(0x1f6)]=_0x2a39a8,this[_0x2aa1d8(0x2b2)]=_0x246d2c,this[_0x2aa1d8(0x20e)]=_0x6306a8,this['_notificationService']=_0x43d797,this[_0x2aa1d8(0x167)]=_0x592c44,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xe07d29=_0x35261d;this['disposeWithMe'](this[_0xe07d29(0x1b3)][_0xe07d29(0x11c)](()=>{const _0x3ea801=_0xe07d29;if(this[_0x3ea801(0x1f6)]['saveTaskMap'][_0x3ea801(0x1d9)])return this[_0x3ea801(0x167)]['t'](_0x3ea801(0x23b));}));}[_0x35261d(0x13c)](){const _0x2f0f7f=_0x35261d;this[_0x2f0f7f(0x2ca)](this['_collaborationUIEventService'][_0x2f0f7f(0x15f)][_0x2f0f7f(0x223)](_0x8ce1e5=>{const _0x1bcfd4=_0x2f0f7f;_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x209)]&&this[_0x1bcfd4(0x20e)]['show']({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x250)]&&this['_messageService'][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x202))}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0xc1)]&&this[_0x1bcfd4(0xfe)]['show']({'title':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x14c)),'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x28c)),'type':_0x1bcfd4(0x2a8),'duration':0x0}),_0x8ce1e5['id']===_0x2cf9a6['CONFLICT']&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x113)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x202))+'('+_0x8ce1e5[_0x1bcfd4(0x11d)]+')'}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x12b)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x8ce1e5['data']||'')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x1a5)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x229))}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x112)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x113)],'content':this['_localeService']['t']('session.connection-failed')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x2ce)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e['Error'],'content':this['_localeService']['t'](_0x1bcfd4(0xc2))});}));}};_e=cn([F(0x0,_0xcf29c0),F(0x1,_0xd5c05d),F(0x2,_0x526d56(_0x2448af)),F(0x3,_0xc6b805),F(0x4,_0x2c5f9a),F(0x5,_0x526d56(_0x33240e))],_e);var _n=Object[_0x35261d(0x2ec)],ln=(_0xc0c757,_0x31d626,_0xb7d15d,_0x24d4aa)=>{const _0x17af14=_0x35261d;for(var _0x37be47=_0x24d4aa>0x1?void 0x0:_0x24d4aa?_n(_0x31d626,_0xb7d15d):_0x31d626,_0x37fe72=_0xc0c757[_0x17af14(0x2cc)]-0x1,_0x3fdb58;_0x37fe72>=0x0;_0x37fe72--)(_0x3fdb58=_0xc0c757[_0x37fe72])&&(_0x37be47=_0x3fdb58(_0x37be47)||_0x37be47);return _0x37be47;},ne=(_0x1b6d6f,_0x2fd6b8)=>(_0x138910,_0x28f816)=>_0x2fd6b8(_0x138910,_0x28f816,_0x1b6d6f);let le=class extends _0x574664{constructor(_0x523fe5,_0xeea8b8,_0x5705fa,_0x5d2461){const _0x3df5d3=_0x35261d;super(),_(this,_0x3df5d3(0x154)),(this[_0x3df5d3(0x2de)]=_0x523fe5,this[_0x3df5d3(0x2c2)]=_0xeea8b8,this[_0x3df5d3(0x2cd)]=_0x5705fa,this['_collaborationSessionService']=_0x5d2461,this[_0x3df5d3(0x187)]());}['_init'](){const _0x142b12=_0x35261d;this['_initWindowErrorListener'](),this[_0x142b12(0x23e)](),this['_monkeyPatchLogService'](),this[_0x142b12(0x2af)]();}[_0x35261d(0x2af)](){const _0x688415=_0x35261d;this[_0x688415(0x2ca)](this[_0x688415(0xb2)][_0x688415(0x26f)]['subscribe'](_0x3ad764=>{const _0x516bf1=_0x688415;this[_0x516bf1(0x154)]=_0x3ad764==null?void 0x0:_0x3ad764['memberID'];}));}[_0x35261d(0x1af)](){const _0x1b534c=_0x35261d,_0x5223c6=_0x4b5d38=>{const _0x4ca17b=_0x4abd;var _0x42b3ad;this[_0x4ca17b(0x25f)](_0x4ca17b(0x2a8),_0x4ca17b(0x21b)+_0x4b5d38[_0x4ca17b(0xa9)]+_0x4ca17b(0x1fa)+_0x4b5d38['filename']+':'+_0x4b5d38[_0x4ca17b(0x221)]+':'+_0x4b5d38[_0x4ca17b(0x1e5)]+'\x0a'+(((_0x42b3ad=_0x4b5d38[_0x4ca17b(0x2a8)])==null?void 0x0:_0x42b3ad['stack'])||''));};window[_0x1b534c(0x1c9)](_0x1b534c(0x2a8),_0x5223c6),this[_0x1b534c(0x2ca)](()=>{const _0x492b46=_0x1b534c;window[_0x492b46(0xbe)](_0x492b46(0x2a8),_0x5223c6);});}[_0x35261d(0x23e)](){const _0xc51986=_0x35261d,_0x52cf38=_0x59daee=>{const _0x98b8fb=_0x4abd;this['_uploadLog'](_0x98b8fb(0x2a8),_0x98b8fb(0x22f)+_0x59daee['reason']);};window[_0xc51986(0x1c9)](_0xc51986(0x1fe),_0x52cf38),this['disposeWithMe'](()=>{const _0x178824=_0xc51986;window[_0x178824(0xbe)]('unhandledrejection',_0x52cf38);});}['_monkeyPatchLogService'](){const _0x337254=_0x35261d,_0x22bd9a=this[_0x337254(0x2cd)]['error'][_0x337254(0x146)](this[_0x337254(0x2cd)]);this[_0x337254(0x2cd)][_0x337254(0x2a8)]=(..._0x9b8ba0)=>{const _0xd21a6d=_0x337254,_0x18b8d3=_0x9b8ba0[_0xd21a6d(0x1ba)](_0x323f22=>_0x323f22 instanceof Error?_0x323f22[_0xd21a6d(0xa9)]+'\x0a'+_0x323f22[_0xd21a6d(0x150)]:String(_0x323f22))['join']('\x20');this['_uploadLog'](_0xd21a6d(0x2a8),_0xd21a6d(0x2aa)+_0x18b8d3),_0x22bd9a(..._0x9b8ba0);},this[_0x337254(0x2ca)](()=>{this['_logService']['error']=_0x22bd9a;});}[_0x35261d(0x25f)](_0x21756d,_0xacb264){const _0x3994dd=_0x35261d;try{const _0x4dda3b={'userId':this[_0x3994dd(0x154)],'logLabel':_0x21756d,'content':_0xacb264};this[_0x3994dd(0x2c2)][_0x3994dd(0x17d)](_0x3994dd(0x2b7),{'body':_0x4dda3b})[_0x3994dd(0xd0)](()=>{});}catch{}}};le=ln([ne(0x0,_0x526d56(_0x3393f4)),ne(0x1,_0x526d56(_0x1165a8)),ne(0x2,_0x17989f),ne(0x3,_0x526d56(_0x161ab7))],le);const hn=_0x35261d(0x1cc),_t={};var un=Object[_0x35261d(0x2ec)],dn=(_0x58f0c2,_0x420537,_0x29a1bf,_0x2bf924)=>{const _0xc8d0b6=_0x35261d;for(var _0x5eb3e1=_0x2bf924>0x1?void 0x0:_0x2bf924?un(_0x420537,_0x29a1bf):_0x420537,_0x1f02b7=_0x58f0c2[_0xc8d0b6(0x2cc)]-0x1,_0x4f4376;_0x1f02b7>=0x0;_0x1f02b7--)(_0x4f4376=_0x58f0c2[_0x1f02b7])&&(_0x5eb3e1=_0x4f4376(_0x5eb3e1)||_0x5eb3e1);return _0x5eb3e1;},lt=(_0x387190,_0xb4ce7a)=>(_0x304f9e,_0x1a22d8)=>_0xb4ce7a(_0x304f9e,_0x1a22d8,_0x387190);let he=class{constructor(_0x48a74c,_0x3b753f){const _0x3d4329=_0x35261d;this[_0x3d4329(0x2ba)]=_0x48a74c,this[_0x3d4329(0x263)]=_0x3b753f;}[_0x35261d(0x2cb)](_0x4034ec){const _0x162618=_0x35261d;this[_0x162618(0x214)](_0x4034ec),this[_0x162618(0xd3)](_0x4034ec);}[_0x35261d(0x19f)](_0xcc4409){const _0x89ec8a=_0x35261d,{unitID:_0x181047}=_0xcc4409,_0x4d3654=this[_0x89ec8a(0x263)]['getRenderById'](_0x181047)[_0x89ec8a(0x2e0)](_0x5a23cc),{redoCache:_0x363c34}=_0x4d3654[_0x89ec8a(0x192)]();if(_0x363c34[_0x89ec8a(0x2cc)]===0x0)return _0xcc4409;let _0x3dc466=_0x3faafe[_0x89ec8a(0xe5)](_0xcc4409[_0x89ec8a(0x9a)][0x0]);for(let _0x283571=0x0;_0x283571<_0x363c34[_0x89ec8a(0x2cc)];_0x283571++){const _0x356102={'id':_0x89ec8a(0x165),'params':{..._0x363c34[_0x283571]}},_0x35affd=this['_transformService'][_0x89ec8a(0x14b)](_0x3dc466,_0x356102,!0x1);if(_0x384eb6(_0x35affd))throw _0x35affd[_0x89ec8a(0x2a8)];_0x3dc466=_0x35affd[_0x89ec8a(0x1b6)];}return{..._0x3faafe[_0x89ec8a(0xe5)](_0xcc4409),'mutations':[_0x3dc466]};}[_0x35261d(0x214)](_0x56304a){const _0x5b1409=_0x35261d,{unitID:_0x235c33}=_0x56304a,_0x57bc2c=this[_0x5b1409(0x263)]['getRenderById'](_0x235c33)[_0x5b1409(0x2e0)](_0x5a23cc),{undoCache:_0x2f64d8,redoCache:_0x9dde72}=_0x57bc2c['getUndoRedoMutationParamsCache']();if(_0x2f64d8['length']===0x0||_0x9dde72[_0x5b1409(0x2cc)]===0x0)return;const _0x592641=[],_0x29f132=[];let _0x5d78cd=_0x3faafe[_0x5b1409(0xe5)](_0x56304a['mutations'][0x0]),_0x5915d5=_0x3faafe['deepClone'](_0x56304a[_0x5b1409(0x9a)][0x0]);for(let _0x5b38a5=_0x2f64d8['length']-0x1;_0x5b38a5>=0x0;_0x5b38a5--){const _0x313be4={'id':_0x5b1409(0x165),'params':{..._0x2f64d8[_0x5b38a5]}},_0x571651={'id':_0x5b1409(0x165),'params':{..._0x9dde72[_0x5b38a5]}},_0x215f3b=this[_0x5b1409(0x2ba)][_0x5b1409(0x14b)](_0x5d78cd,_0x313be4,!0x1),_0x2bf076=this[_0x5b1409(0x2ba)]['transformMutation'](_0x5915d5,_0x571651,!0x1);if(_0x384eb6(_0x215f3b))throw _0x215f3b[_0x5b1409(0x2a8)];if(_0x384eb6(_0x2bf076))throw _0x2bf076['error'];_0x592641[_0x5b1409(0xd8)](_0x215f3b[_0x5b1409(0x1e9)]['params']),_0x29f132['unshift'](_0x2bf076[_0x5b1409(0x1e9)][_0x5b1409(0x1fc)]),_0x5d78cd=_0x215f3b['m1Prime'],_0x5915d5=_0x2bf076[_0x5b1409(0x1b6)];}_0x57bc2c[_0x5b1409(0x185)]({'undoCache':_0x592641,'redoCache':_0x29f132});}['_transformPreviousActiveRange'](_0x4767a2){const _0x22fdc8=_0x35261d,{unitID:_0x1b3d45}=_0x4767a2,_0x19a1a1=this[_0x22fdc8(0x263)]['getRenderById'](_0x1b3d45)[_0x22fdc8(0x2e0)](_0x5a23cc),_0x1b8f67=_0x19a1a1['getActiveRange']();if(_0x1b8f67==null)return;const _0x5b94cc=[{'id':_0x22fdc8(0x165),'params':{'unitId':_0x4767a2[_0x22fdc8(0x16b)],'actions':null,'textRanges':[_0x1b8f67]}}],_0x711f07=this[_0x22fdc8(0x2ba)][_0x22fdc8(0x175)](_0x4767a2,_0x5b94cc);if(!_0x5a6ed3(_0x711f07))throw _0x711f07[_0x22fdc8(0x2a8)];const _0x308d19=_0x711f07[_0x22fdc8(0x1e9)][0x0][_0x22fdc8(0x1fc)][_0x22fdc8(0xde)];Array[_0x22fdc8(0x233)](_0x308d19)&&_0x308d19['length']&&_0x19a1a1[_0x22fdc8(0xbd)](_0x308d19[0x0]);}};he=dn([lt(0x0,_0x2bb8a5),lt(0x1,_0x1589e8)],he);var Sn=Object[_0x35261d(0x2ec)],In=(_0x453806,_0x19d791,_0x4d1436,_0x16176d)=>{for(var _0x2f1814=_0x16176d>0x1?void 0x0:_0x16176d?Sn(_0x19d791,_0x4d1436):_0x19d791,_0x154556=_0x453806['length']-0x1,_0x237a31;_0x154556>=0x0;_0x154556--)(_0x237a31=_0x453806[_0x154556])&&(_0x2f1814=_0x237a31(_0x2f1814)||_0x2f1814);return _0x2f1814;},Le=(_0x3c9570,_0x124f70)=>(_0x3d1d93,_0x3c6e8a)=>_0x124f70(_0x3d1d93,_0x3c6e8a,_0x3c9570);let ue=class{constructor(_0x73f782,_0x41da56,_0x196327){const _0x451d6a=_0x35261d;this[_0x451d6a(0x2de)]=_0x73f782,this[_0x451d6a(0x2ba)]=_0x41da56,this['_docStateChangeManagerService']=_0x196327;}[_0x35261d(0xb7)](_0xe014af){const _0x15efbe=_0x35261d;this[_0x15efbe(0x2c0)](_0xe014af);}[_0x35261d(0x19f)](_0x2e01c5){const _0x8c7d06=_0x35261d,{unitID:_0x3ae204}=_0x2e01c5,{collaboration:_0x302de4}=this['_docStateChangeManagerService']['getStateCache'](_0x3ae204);if(_0x302de4[_0x8c7d06(0x2cc)]===0x0)return _0x2e01c5;let _0x4d9a50=_0x3faafe[_0x8c7d06(0xe5)](_0x2e01c5['mutations'][0x0]);for(let _0x1dd509=0x0;_0x1dd509<_0x302de4[_0x8c7d06(0x2cc)];_0x1dd509++){const _0xad20f9={'id':_0x8c7d06(0x165),'params':{'unitId':_0x302de4[_0x1dd509]['unitId'],..._0x302de4[_0x1dd509][_0x8c7d06(0x2a5)]}},_0x4b7103=this['_transformService'][_0x8c7d06(0x14b)](_0x4d9a50,_0xad20f9,!0x1);if(_0x384eb6(_0x4b7103))throw _0x4b7103[_0x8c7d06(0x2a8)];_0x4d9a50=_0x4b7103[_0x8c7d06(0x1b6)];}return{..._0x3faafe[_0x8c7d06(0xe5)](_0x2e01c5),'mutations':[_0x4d9a50]};}[_0x35261d(0x2c0)](_0x3cec8b){const _0x929e99=_0x35261d,{unitID:_0x37c0c1}=_0x3cec8b,{history:_0x3e1580,collaboration:_0x503b5a}=this[_0x929e99(0x151)][_0x929e99(0x138)](_0x37c0c1);if(_0x3e1580[_0x929e99(0x2cc)]===0x0&&_0x503b5a[_0x929e99(0x2cc)]===0x0)return;const _0x1e709b=[],_0x51294e=[];let _0x145658=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]),_0x48d1b4=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]);for(let _0x3787ae=_0x3e1580[_0x929e99(0x2cc)]-0x1;_0x3787ae>=0x0;_0x3787ae--){const _0x1b792c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e1580[_0x3787ae][_0x929e99(0x196)],..._0x3e1580[_0x3787ae][_0x929e99(0x211)]}},_0x2d2412={'id':_0x929e99(0x165),'params':{'unitId':_0x3e1580[_0x3787ae][_0x929e99(0x196)],..._0x3e1580[_0x3787ae]['redoState']}},_0x3ba2e2=this[_0x929e99(0x2ba)][_0x929e99(0x14b)](_0x145658,_0x1b792c,!0x1),_0xd7bfd3=this['_transformService'][_0x929e99(0x14b)](_0x48d1b4,_0x2d2412,!0x1);if(_0x384eb6(_0x3ba2e2))throw _0x3ba2e2[_0x929e99(0x2a8)];if(_0x384eb6(_0xd7bfd3))throw _0xd7bfd3['error'];_0x1e709b[_0x929e99(0xd8)]({..._0x3e1580[_0x3787ae],'undoState':_0x3ba2e2[_0x929e99(0x1e9)]['params'],'redoState':_0xd7bfd3[_0x929e99(0x1e9)][_0x929e99(0x1fc)]}),_0x145658=_0x3ba2e2[_0x929e99(0x1b6)],_0x48d1b4=_0xd7bfd3[_0x929e99(0x1b6)];}_0x145658=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]),_0x48d1b4=_0x3faafe['deepClone'](_0x3cec8b[_0x929e99(0x9a)][0x0]);for(let _0x5ab27a=_0x503b5a['length']-0x1;_0x5ab27a>=0x0;_0x5ab27a--){const _0x1e36ee={'id':_0x929e99(0x165),'params':{'unitId':_0x503b5a[_0x5ab27a][_0x929e99(0x196)],..._0x503b5a[_0x5ab27a][_0x929e99(0x211)]}},_0x3da654={'id':_0x929e99(0x165),'params':{'unitId':_0x503b5a[_0x5ab27a][_0x929e99(0x196)],..._0x503b5a[_0x5ab27a][_0x929e99(0x2a5)]}},_0x1265bb=this[_0x929e99(0x2ba)][_0x929e99(0x14b)](_0x145658,_0x1e36ee,!0x1),_0x43259c=this['_transformService']['transformMutation'](_0x48d1b4,_0x3da654,!0x1);if(_0x384eb6(_0x1265bb))throw _0x1265bb[_0x929e99(0x2a8)];if(_0x384eb6(_0x43259c))throw _0x43259c[_0x929e99(0x2a8)];_0x51294e[_0x929e99(0xd8)]({..._0x503b5a[_0x5ab27a],'undoState':_0x1265bb[_0x929e99(0x1e9)]['params'],'redoState':_0x43259c[_0x929e99(0x1e9)]['params']}),_0x145658=_0x1265bb['m1Prime'],_0x48d1b4=_0x43259c[_0x929e99(0x1b6)];}this[_0x929e99(0x151)]['setStateCache'](_0x37c0c1,{'history':_0x1e709b,'collaboration':_0x51294e});}};function _0xb14e(){const _0x3d552e=['_commandService','origin','_cursor','_document','ENTITLE_NEED_BILLING_ADDRESS','_maxFormulaLimit','CONFLICT','transformRemoteChangeset','sheetId','DeleteRangeMoveLeftCommandId','find','_applyCommand','setTimeout','SOCKET_FAILED_RETRY','onMouseMove','saveImage','_collaborationController','6575lMCjZE','get','findNodePositionByCharIndex','isEditing','_scene','LICENSE_DISTRO_REJECTED','_initWindowErrorListener','_createSocketURL','url(#off-line-icon_clip0_910_343)','_docSyncEditingCollabCursorService','_beforeCloseService','_cachedData','white','m1Prime','YUUMI_URL_COL_OUT_OF_RANGE','then','InsertColCommandId','map','_toggleOnline','_drawTextRange','_range','includes','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UPDATE_CURSOR','font','_context','limitInfo','actions','_name','result','save','NOT_COLLAB','addEventListener','_anchor','runOnServer','collaboration-client-ui.config','collabStatus.synced','range','LICENSE_IMPORT_SIZE_EXCEEDED','assignAColorForMemberID','_currentUsage','show','transformByState','off-line-icon_clip0_910_343','key','type','collabStatus.conflict','univer-flex\x20univer-items-center','size','INVITE_CODE_HAS_BEEN_UES','getSheetBySheetId','green.600','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LICENSE_EXPORT_SIZE_EXCEEDED','collab-rect-range-','_updateURLWithCurrentState','lineTo','_removeCollabCursors','setItem','loadOfflineData','colno','_getSheetObject','_checkCalculationAvailable','black','m2Prime','_memberService','_collabCursorState$','_updateLocalCursor','fillText','beforeCommandExecuted','random','22958NWMnUe','_session','name','MOBILE_VERIFY_CODE_MISMATCH','dirtyRanges','_scheduleClearOtherTimer','_localCacheService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_unitOnClients','_cursorShapes','\x20at\x20','_config','params','runId','unhandledrejection','/universer-api/license/formula/limit/done','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_registerDependencies','collaboration.closeRoom','78453cYntQp','TEXT','svg','CHANGESET_REVISION_CONFILICT','search','_cursors','OTHER_CLIENT_EDITING','_disabled','top','MOBILE_HAS_BEEN_BOUND','163236lqoeaC','_messageService','toRgbString','replaceDocRanges','undoState','split','_getScale','_transformUndoRedoStack','_anchorDot','subscribeEvent','makeDirty','off-line-icon','EMAIL_HAS_BEEN_BOUND','_onCursorDelete','[Window\x20Error]:\x20','cursorInfo','START_CALCULATION','colorChannel1','REDEMPTION_CODE_HAS_BEEN_CREATED','arc','lineno','onPointerLeave$','subscribe','_refRangeService','_showGuardMessage','registerComponent','status$','1em','session.will-retry','LOGIN_FAILED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','yellow.400','unit','add','[Unhandled\x20Rejection]:\x20','ENTITLE_CHAT_LIMIT_EXCEED','substring','debug','isArray','OffLineIcon','UNIVER_DOC','onPointerMove$','_removeClearOtherTimer','_saveCache','string','Unknown\x20user','collaboration.offline-data-not-saved','ticket','text','_initUnhandledRejectionListener','LOGIN_TOKEN_PROCESSING_FAILED','focused$','memberID','setConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_id','NOT_FOUND','ENTITLE_INSUFFICIENT_QUOTA','newValue','_toggleOffline','MoveRangeCommandId','enableLocalCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','startRow','_onCursorUpdate','_registerRenderDependencies','location','CLOSE_ROOM','selection','UniverIcon','13364700nDbtve','pushState','http://www.w3.org/2000/svg','dispose','formula.calculation.unable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endColumn','UNDEFINED','send','stringify','NO_OTHER_CLIENTS_EDITING','hovered','_uploadLog','none','_handleHeartbeatEvent','updateOfflineData','_renderManagerService','createSocket','registerRenderModule','width','onPointerEnter$','_hover','setParam','133wxgEOP','onTransformChange$','max','subunit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','socket$','roomMembers','startsWith','parse','getMember','_refreshCollabCursors','clipPath','univer-mr-2\x20univer-flex\x20univer-text-xl','min','getActiveSheet','getMergeData','VIEW_MAIN','addObject','bottom','_instanceService','wsSessionTicketUrl','endRow','_docTransformStateCacheService','[CollaborationDataLoaderController]','unload','USER_IS_ANONYMOUS','3553008SvApGR','setAlpha','_docTransformSelectionsService','backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getFormulaLimitStatus','getDocRanges','_taskIds','permission.content','getFormulaLimitStatusUrl','getCollabCursors$','defineProperty','_entities','has','55ZwpkEC','drawWith','PAYMENT_CHANNEL_NOT_SUPPORT','_ensureSubject','REDEMPTION_CODE_INACTIVE','getTypeOfUnitDisposed$','_localStorageService','searchParams','activeSheet$','ENTITLE_REPORT_LIMIT_EXCEED','evenodd','_onRefRangeChange','currentColor','_handleHover','collabStatus.offline','init','currentSkeleton$','InsertRangeMoveRightCommandId','_colorAssignService','redoState','OFFLINE','_sheetSkeletonManagerService','error','_docTransformIMECacheService','[LogService\x20Error]:\x20','_imageIoService','InsertRangeMoveDownCommandId','shift','_getSaveTimeout','_initUserListener','FromArray','UNAUTHENTICATED','_collaborationUIEventService','ENTITLE_DUP_SUBSCRIPTION','SNAPSHOT_INVALID_SNAPSHOT','CURRENT_STATUS_CANNOT_OPERATE','SUCCESS','/universer-api/frontend/logs','urlChange$','_docSkeletonManagerService','_transformService','idSuffix','parseInt','startColumn','unsubscribe','row','_transformHistoryAndStateStack','dispose$','_httpService','_initCommandInterceptor','WECHAT_HAS_BEEN_BOUND','getVpScrollXYInfoByPosToVp','getSheetId','getCollabEntity$','onRendered','_entityInit$','disposeWithMe','transformIMECache','length','_logService','SUBMIT_CHANGESET_TIMEOUT','onLocalMutation','USERS_LEAVE','transformSelections','_unitStatus','_colorIndex','delete','getCellPositionByOffset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','...','resize','YUUMI_RATE_OVER_LIMIT','/universer-api/license/formula/limit/status','CONNECTOR_DATA_TOO_LARGE','getParam','getTypeOfUnitAdded$','_injector','totalFormulasToCalculate','with','roomMembers$','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','pipe','REDEMPTION_INVALID_CODE','getRelativeToViewportCoord','0\x200\x2016\x2016','RemoveColCommandId','isActive','_collabCursorController','flatMap','clearTimeout','getOwnPropertyDescriptor','_selfUnitIDs','collabCursorState$','ENTITLE_COUPON_USED_UP','all','_lastResponseTimestamp','purple.300','Loading','beginPath','_checkAndWaitForCalculationPermission','_dataLoaderService','mutations','DATA_SOURCE_TOO_LARGE','getUnhiddenWorksheets','displayName','collabStatus.fetchMiss','requireSession','_scheduleHeartbeat','REDEMPTION_CODE_FULLY_REDEEMED','setShapeProps','/run/','YUUMI_AI_RUN_FAILED','pluginName','column','363XCSnhw','_labelPosition','message','imageSourceType','_themeService','_syncEditingCollabCursorService','hide','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_CONNECTOR_URL_NOT_FOUND','getUniverSheetInstance','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationSessionService','ERROR_AGAIN','fill','entries','APPLY_PERMISSION_DENIED','transformStateCache','onCommandExecuted','now','registerRefRange','0\x200\x2017\x2016','url(#$1','setActiveRange','removeEventListener','SYNCED','_setFormulaLimitStatus','PERMISSION_DENIED','session.collaboration-timeout','editingUnit','stageInfo','enableFrontendLog','ONLINE','YUUMI_UNABLE_LOAD_URL','invokeId','_initDependencies','setInterval','MUTATION','mask','AWAITING','_drawRectRange','_saveTaskMap','catch','push','transform','_transformPreviousActiveRange','attrs','href','some','getViewport','unshift','forEach','_handleJoinEvent','reconnect','toString','Failed','textRanges','YUUMI_ALL_TABLES_IS_INVALID','_getMergeRange','_docSkeleton','getSkeleton','on-line-icon_clip0_910_349','div','deepClone','APPLY_DUPLICATED','history','FETCH_MISS','OnLineIcon','_handleLeaveEvent','REDEMPTION_USER_NOT_ELIGIBLE','blue.400','xlink:href','_initStatusListener','SNAPSHOT_HAS_BEEN_REMOVED','_textBubble','_setupSubUnitSync','executeCommand','loadUnit','current','_startSheetCollabCursor','_initResize','syncEditingCollabCursor','_clearOtherTimers','from','_urlService','APPLY_REVISION_CONFILICT','_color','height','_notificationService','_roomMembers$','3244RqIiMC','addObjects','_scheduleSaving','_collabSessionService','getCurrent','fillStyle','next','_initStatusComponent','_univerInstanceService','skeleton','clearInterval','_docClipboardService','getFocusedUnit','measureText','translate(.97)','getUnitId','_pollingInterval','_cursorInfo$','SOCKET_FAILED','Error','getRangePointData','INTERNAL_ERROR','LICENSE_MAX_UNITS_EXCEEDED','removeParam','getCurrentRevOfUnit','_assignedColors','APPLY_REJECT','defs','registerBeforeClose','data','_hovered','_send','restore','collabStatus.notCollab','RECT','INVITE_CODE_ALREADY_BOUND','_render','_drawAnchor','_getAnchorBounding','UNIVER_SHEET','exhaustSavingTask','replaceState','_hideTimer','JOIN_ROOM_FAILED','InsertRowCommandId','_getSessionTicket','replace','children','1160sbaShA','INVALID_ARGUMENT','ranges','_releaseCalculationLimit','APPLY_NON_SEQUENTIAL_REVISION','getUnit','_doCreateSocket','engine','getStateCache','onStarting','executionId','getCurrentSelections','_initEvent','_shapes','ALREADY_EXISTS','assign','tag','getCellMatrix','_status$','createInstance','USER_NOT_FOUND','_lastPointer','bind','_revisionService','currentUsage','ENSURE_SNAPSHOT_EXECUTION','_online','transformMutation','permission.title','TOO_MANY_REQUESTS','defIds','getConfig','stack','_docStateChangeManagerService','HEADER_MENU','OTHER_CLIENTS_EDITING','_memberID','getColorFromTheme','set','saveOfflineData','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','1059059WtrIWw','code','Warning','YUUMI_ASYNCIO_CANCELLED','USER_NOT_INVITED_CODE','event$','getMemberID','subUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','color','_eventUnsubscribe','doc.mutation.rich-text-editing','currentTheme$','_localeService','functionsExecutedState','maxFormulaLimit','getOffsetConfig','unitID','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','body','_clearPolling','COMPLETION_FINISHED','round','INVITE_CODE_REQUIRED','asObservable','storage','transformMutationsWithChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getValue','values','ENTITLE_COUPON_EXPIRED','Success','path','_updateCollabCursors','post','selections','univerjs-icon\x20univerjs-icon-','YUUMI_SUBSCRIPTION_NOT_FOUND','_startCalculationLimit','RemoveRowCommandId','UNRECOGNIZED','_initEntityListener','setUndoRedoMutationParamsCache','complete','_init','_handleEvent','_uiPartsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-client.tooltip.reconnect','moveTo','_configService','_draw','_updateSubUnitFromURLParams','stage','eventID','getUndoRedoMutationParamsCache','sessionStatus$','cursorInfo$','_backgroundColor','unitId','url(#on-line-icon_clip0_910_349)'];_0xb14e=function(){return _0x3d552e;};return _0xb14e();}ue=In([Le(0x0,_0x526d56(_0x3393f4)),Le(0x1,_0x2bb8a5),Le(0x2,_0x526d56(_0x2a92a0))],ue);var mn=Object[_0x35261d(0x2ec)],fn=(_0x1d2e87,_0x23355f,_0x170a2d,_0x868628)=>{const _0x308fa6=_0x35261d;for(var _0x23d412=_0x868628>0x1?void 0x0:_0x868628?mn(_0x23355f,_0x170a2d):_0x23355f,_0x2fed84=_0x1d2e87[_0x308fa6(0x2cc)]-0x1,_0x5bd873;_0x2fed84>=0x0;_0x2fed84--)(_0x5bd873=_0x1d2e87[_0x2fed84])&&(_0x23d412=_0x5bd873(_0x23d412)||_0x23d412);return _0x23d412;},ht=(_0x5afd77,_0x417fc5)=>(_0x5882ff,_0x80538a)=>_0x417fc5(_0x5882ff,_0x80538a,_0x5afd77);let de=class{constructor(_0x545675,_0x57a390){const _0x2982c4=_0x35261d;this[_0x2982c4(0x2de)]=_0x545675,this['_transformService']=_0x57a390;}[_0x35261d(0x2d1)](_0x1663f9){const _0x25604e=_0x35261d;var _0x37c13e;const _0x3f2326=this[_0x25604e(0x2de)][_0x25604e(0x1aa)](_0x40ad8f),_0x2b8cf3=(_0x37c13e=_0x3f2326['getDocRanges']())!=null?_0x37c13e:[];if(_0x2b8cf3[_0x25604e(0x2cc)]===0x0)return;const _0x411b97=_0x1663f9[_0x25604e(0x16b)],_0x218dfa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x411b97,'actions':null,'textRanges':_0x2b8cf3}}],_0x1a3eea=this[_0x25604e(0x2ba)][_0x25604e(0x175)](_0x1663f9,_0x218dfa);if(!_0x5a6ed3(_0x1a3eea))throw _0x1a3eea[_0x25604e(0x2a8)];const _0x18f6b6=_0x1a3eea[_0x25604e(0x1e9)][0x0][_0x25604e(0x1fc)][_0x25604e(0xde)];Array[_0x25604e(0x233)](_0x18f6b6)&&_0x18f6b6[_0x25604e(0x2cc)]&&_0x3f2326[_0x25604e(0x210)](_0x18f6b6,{'unitId':_0x411b97,'subUnitId':_0x411b97},!0x1);}};de=fn([ht(0x0,_0x526d56(_0x3393f4)),ht(0x1,_0x2bb8a5)],de);var gn=Object[_0x35261d(0x2ec)],En=(_0x19df75,_0x2982e3,_0x115f5c,_0x2cd48e)=>{const _0x502b2b=_0x35261d;for(var _0x454bb8=_0x2cd48e>0x1?void 0x0:_0x2cd48e?gn(_0x2982e3,_0x115f5c):_0x2982e3,_0x1c10a9=_0x19df75[_0x502b2b(0x2cc)]-0x1,_0x415b38;_0x1c10a9>=0x0;_0x1c10a9--)(_0x415b38=_0x19df75[_0x1c10a9])&&(_0x454bb8=_0x415b38(_0x454bb8)||_0x454bb8);return _0x454bb8;},U=(_0xd5adb3,_0x23df62)=>(_0x1af43f,_0x47b4b7)=>_0x23df62(_0x1af43f,_0x47b4b7,_0xd5adb3);let Se=class extends _0x574664{constructor(_0x369d96,_0x453a66,_0x191bd5,_0x2f4c4d,_0x1ac254,_0x41b43c,_0x1b07a7,_0x35f6eb){const _0x2b976d=_0x35261d;super(),_(this,_0x2b976d(0x142),new _0x190ae5(_0x2481d0[_0x2b976d(0x1c8)])),(this['_docStateChangeManagerService']=_0x369d96,this[_0x2b976d(0x1a8)]=_0x453a66,this[_0x2b976d(0x2a9)]=_0x191bd5,this[_0x2b976d(0x280)]=_0x2f4c4d,this[_0x2b976d(0x286)]=_0x1ac254,this[_0x2b976d(0x1b2)]=_0x41b43c,this[_0x2b976d(0x20e)]=_0x1b07a7,this['_localeService']=_0x35f6eb,this[_0x2b976d(0x184)]());}[_0x35261d(0x184)](){const _0x4ba3f3=_0x35261d;this[_0x4ba3f3(0x2ca)](this['_collaborationController']['entityInit$'][_0x4ba3f3(0x223)](_0x2ef230=>{const _0x181254=_0x4ba3f3,_0x43f2dc=this['_docStateChangeManagerService']['docStateChange$'][_0x181254(0x223)](_0x1077d5=>{const _0x1f3fc0=_0x181254;if(_0x1077d5==null)return;const {unitId:_0x5dbd65,redoState:_0x1a3a46,commandId:_0x2fbb2b}=_0x1077d5;if(_0x5dbd65!==_0x2ef230['unitID'])return;const _0x297b93={'id':_0x2fbb2b,'type':_0x120b22[_0x1f3fc0(0xcb)],'params':{'unitId':_0x5dbd65,'actions':_0x1a3a46[_0x1f3fc0(0x1c4)],'textRanges':null}};_0x2ef230[_0x1f3fc0(0x2cf)](_0x297b93);});if(_0x2ef230[_0x181254(0x2ca)](_0x43f2dc),_0x2ef230 instanceof _0x3903e1){const _0xd38b28={'onTransformIME':_0x1f2325=>this[_0x181254(0x2a9)][_0x181254(0x2cb)](_0x1f2325),'onTransformState':_0x51a7bc=>this[_0x181254(0x280)]['transformStateCache'](_0x51a7bc),'onTransformSelections':_0x472649=>this[_0x181254(0x286)][_0x181254(0x2d1)](_0x472649),'onSyncEditingCollabCursor':_0x19327f=>this[_0x181254(0x1b2)][_0x181254(0xf7)](_0x19327f),'onTransformRemoteChangesetByIMECache':_0x334f60=>this[_0x181254(0x2a9)][_0x181254(0x19f)](_0x334f60),'onTransformRemoteChangesetByStateCache':_0x29f98b=>this[_0x181254(0x280)][_0x181254(0x19f)](_0x29f98b)};_0x2ef230['addHandlerCallback'](_0xd38b28);}}));}};Se=En([U(0x0,_0x526d56(_0x2a92a0)),U(0x1,_0x526d56(_0x230f4)),U(0x2,_0x526d56(he)),U(0x3,_0x526d56(ue)),U(0x4,_0x526d56(de)),U(0x5,_0x526d56(ze)),U(0x6,_0xc6b805),U(0x7,_0x526d56(_0x33240e))],Se);var Z=(_0x2eb1ae=>(_0x2eb1ae[_0x2eb1ae['UNDEFINED']=0x0]=_0x35261d(0x25a),_0x2eb1ae[_0x2eb1ae['OK']=0x1]='OK',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x115)]=0x2]='INTERNAL_ERROR',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xc1)]=0x3]=_0x35261d(0xc1),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x245)]=0x4]=_0x35261d(0x245),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b1)]=0x5]=_0x35261d(0x2b1),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x13e)]=0x6]=_0x35261d(0x13e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x131)]=0x7]=_0x35261d(0x131),_0x2eb1ae[_0x2eb1ae['TOO_MANY_REQUESTS']=0x8]=_0x35261d(0x14d),_0x2eb1ae[_0x2eb1ae['COMPLETION_FINISHED']=0x9]=_0x35261d(0x170),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x22a)]=0xa]=_0x35261d(0x22a),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1f3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x243)]=0xc]=_0x35261d(0x243),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xae)]=0xd]=_0x35261d(0xae),_0x2eb1ae[_0x2eb1ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x35261d(0xb1),_0x2eb1ae[_0x2eb1ae['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x23f)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b5)]=0x64]=_0x35261d(0x2b5),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xb3)]=0x65]='ERROR_AGAIN',_0x2eb1ae[_0x2eb1ae['USER_NOT_FOUND']=0xc9]=_0x35261d(0x144),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x283)]=0xca]=_0x35261d(0x283),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x206)]=0x1389]=_0x35261d(0x206),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b4)]=0x1771]=_0x35261d(0x2b4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xef)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x149)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x11a)]=0x1b59]=_0x35261d(0x11a),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x134)]=0x1b5a]=_0x35261d(0x134),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xfb)]=0x1b5b]=_0x35261d(0xfb),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xb6)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xe6)]=0x1b5d]='APPLY_DUPLICATED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2db)]=0x1f41]=_0x35261d(0x2db),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x116)]=0x2329]=_0x35261d(0x116),_0x2eb1ae[_0x2eb1ae['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x35261d(0x18a),_0x2eb1ae[_0x2eb1ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x35261d(0x1cf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1de)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1ae)]=0x232d]=_0x35261d(0x1ae),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xc7)]=0x2711]=_0x35261d(0xc7),_0x2eb1ae[_0x2eb1ae['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x35261d(0x1b7),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2d9)]=0x2713]=_0x35261d(0x2d9),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x180)]=0x2714]=_0x35261d(0x180),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x162)]=0x271a]=_0x35261d(0x162),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x15d)]=0x271b]=_0x35261d(0x15d),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x258)]=0x271c]=_0x35261d(0x258),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xdf)]=0x271d]=_0x35261d(0xdf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x200)]=0x271e]=_0x35261d(0x200),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xa4)]=0x271f]=_0x35261d(0xa4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xaf)]=0x2720]=_0x35261d(0xaf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x16c)]=0x2af9]=_0x35261d(0x16c),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1da)]=0x2ee1]=_0x35261d(0x1da),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x158)]=0x2ee2]=_0x35261d(0x158),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x172)]=0x2ee3]=_0x35261d(0x172),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x15e)]=0x2ee4]=_0x35261d(0x15e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x123)]=0x2ee5]=_0x35261d(0x123),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2c4)]=0x32c9]=_0x35261d(0x2c4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x20c)]=0x32ca]=_0x35261d(0x20c),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x219)]=0x32cb]=_0x35261d(0x219),_0x2eb1ae[_0x2eb1ae['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x35261d(0x176),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x22b)]=0x36b2]=_0x35261d(0x22b),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b3)]=0x36b3]=_0x35261d(0x2b3),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x294)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2eb1ae[_0x2eb1ae['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x179)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2ef)]=0x36b7]=_0x35261d(0x2ef),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1f7)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x230)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x29b)]=0x3716]=_0x35261d(0x29b),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x246)]=0x3717]=_0x35261d(0x246),_0x2eb1ae[_0x2eb1ae['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x35261d(0x19c),_0x2eb1ae[_0x2eb1ae['REDEMPTION_INVALID_CODE']=0x3a99]=_0x35261d(0x2e4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x296)]=0x3a9a]=_0x35261d(0x296),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xa1)]=0x3a9b]=_0x35261d(0xa1),_0x2eb1ae[_0x2eb1ae['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xeb)]=0x3a9d]=_0x35261d(0xeb),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x26e)]=0x3a9e]=_0x35261d(0x26e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x21f)]=0x3a9f]=_0x35261d(0x21f),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x9b)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x183)]=-0x1]='UNRECOGNIZED',_0x2eb1ae))(Z||{});function vn(_0x4c9f99){const _0x3b00f0=_0x35261d;var _0x338c66,_0x1a75f0;const _0xf86632=(_0x338c66=_0x4c9f99[_0x3b00f0(0xc4)])==null?void 0x0:_0x338c66[_0x3b00f0(0x190)],_0x2c0f88=((_0x1a75f0=_0x4c9f99[_0x3b00f0(0xc4)])==null?void 0x0:_0x1a75f0[_0x3b00f0(0x2df)])||0x0;return _0xf86632===_0x2261f9[_0x3b00f0(0x21d)]&&_0x2c0f88>0x0;}function pn(_0x62b8df){const _0x52eca0=_0x35261d;return _0x62b8df[_0x52eca0(0x168)]===_0x58475e[_0x52eca0(0x2b6)];}var On=Object[_0x35261d(0x2ec)],Tn=(_0x406e70,_0xbf9c9f,_0x41eb91,_0x56b97b)=>{const _0x4c14c1=_0x35261d;for(var _0x19ed24=_0x56b97b>0x1?void 0x0:_0x56b97b?On(_0xbf9c9f,_0x41eb91):_0xbf9c9f,_0xb3afdb=_0x406e70[_0x4c14c1(0x2cc)]-0x1,_0x2e668f;_0xb3afdb>=0x0;_0xb3afdb--)(_0x2e668f=_0x406e70[_0xb3afdb])&&(_0x19ed24=_0x2e668f(_0x19ed24)||_0x19ed24);return _0x19ed24;},P=(_0x5bd688,_0x3f9a84)=>(_0x3ee13b,_0x4bd702)=>_0x3f9a84(_0x3ee13b,_0x4bd702,_0x5bd688);const Cn=_0x35261d(0x2da),Rn='/universer-api/license/formula/limit/start',Dn=_0x35261d(0x1ff);let Ie=class extends _0x574664{constructor(_0x3558b9,_0x37f1fe,_0x19712e,_0x28d416,_0x1eb675,_0x2d8b88,_0x3e3814){const _0xcf202d=_0x35261d;super(),_(this,'_pollingInterval',null),_(this,'_maxFormulaLimit',0x0),_(this,_0xcf202d(0x1d1),0x0),_(this,_0xcf202d(0x28b),[]),_(this,_0xcf202d(0x2f1),0x0),(this[_0xcf202d(0x20e)]=_0x3558b9,this[_0xcf202d(0x198)]=_0x37f1fe,this[_0xcf202d(0x18d)]=_0x19712e,this['_httpService']=_0x28d416,this[_0xcf202d(0x108)]=_0x1eb675,this[_0xcf202d(0x2cd)]=_0x2d8b88,this[_0xcf202d(0x167)]=_0x3e3814,this[_0xcf202d(0x2c3)]());}[_0x35261d(0x2c3)](){const _0x577b29=_0x35261d;this[_0x577b29(0x2ca)](this['_commandService'][_0x577b29(0x1ee)]((_0x5b4177,_0x6d83a8)=>{const _0x130889=_0x577b29;var _0x3e2215;if(_0x5b4177['id']!==_0x3d9f3b['id'])return;const _0x12029c=_0x5b4177[_0x130889(0x1fc)];if(!this['_hasFormulaInDirtyRanges']((_0x3e2215=_0x12029c[_0x130889(0x1f4)])!=null?_0x3e2215:[]))return;if(!this[_0x130889(0x1e7)]())throw this[_0x130889(0x98)](_0x5b4177,_0x6d83a8),this[_0x130889(0x225)](),new _0x1a6f68();})),this[_0x577b29(0x2ca)](this[_0x577b29(0x198)]['onCommandExecuted']((_0x4ef21d,_0x2c221a)=>{const _0x23fdeb=_0x577b29;if(_0x4ef21d['id']!==_0x4f5bc0['id'])return;const _0x4fb136=_0x4ef21d[_0x23fdeb(0x1fc)];if(vn(_0x4fb136)){const _0x127f95=_0x18acb6();this['_taskIds'][_0x23fdeb(0xd1)](_0x127f95),this[_0x23fdeb(0x181)](_0x127f95);}else{if(pn(_0x4fb136)&&this[_0x23fdeb(0x28b)][_0x23fdeb(0x2cc)]>0x0){const _0x1e02a4=this[_0x23fdeb(0x28b)][_0x23fdeb(0x2ad)]();this[_0x23fdeb(0x133)](_0x1e02a4);}}}));}[_0x35261d(0x256)](){const _0x14e0ab=_0x35261d;super['dispose'](),this[_0x14e0ab(0x16f)](),this[_0x14e0ab(0x28b)]=[],this[_0x14e0ab(0x1d1)]=0x0,this[_0x14e0ab(0x19d)]=0x0,this[_0x14e0ab(0x2f1)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2e1485,_0x2c1254){const _0x393ae7=_0x35261d;for(let _0x4f10fa=0x0;_0x4f10fa<0x1e;_0x4f10fa++)try{if(await this[_0x393ae7(0x289)](),this[_0x393ae7(0x1e7)]()){this['_applyCommand'](_0x2e1485,_0x2c1254),this[_0x393ae7(0x20e)][_0x393ae7(0x1d2)]({'content':this[_0x393ae7(0x167)]['t']('formula.calculation.started'),'type':_0x2edb7e[_0x393ae7(0x17a)]});return;}await new Promise(_0x2021ee=>{const _0x5d6c22=_0x393ae7;this[_0x5d6c22(0x110)]=window[_0x5d6c22(0x1a4)](_0x2021ee,0x3e8);});}catch(_0xec4084){this[_0x393ae7(0x2cd)]['error'](_0xec4084);}this[_0x393ae7(0x20e)][_0x393ae7(0x1d2)]({'content':this[_0x393ae7(0x167)]['t'](_0x393ae7(0x257)),'type':_0x2edb7e[_0x393ae7(0x113)]});}[_0x35261d(0x1a3)](_0x4d45d7,_0x3afe3a){const _0x13e643=_0x35261d;try{this['_commandService']['executeCommand'](_0x4d45d7['id'],_0x4d45d7[_0x13e643(0x1fc)],_0x3afe3a);}catch(_0x9614b9){this[_0x13e643(0x2cd)][_0x13e643(0x2a8)](_0x9614b9);}}['_setFormulaLimitStatus'](_0x24fe18,_0x404231){const _0x4bedf5=_0x35261d;_0x404231<this[_0x4bedf5(0x2f1)]||(this[_0x4bedf5(0x2f1)]=_0x404231,this[_0x4bedf5(0x19d)]=Number['parseInt'](_0x24fe18[_0x4bedf5(0x169)]),this['_currentUsage']=Number[_0x4bedf5(0x2bc)](_0x24fe18[_0x4bedf5(0x148)]));}async[_0x35261d(0x181)](_0x33cec3){const _0x4e7e15=_0x35261d;var _0x4325dc,_0x5683fd;const _0x5aa211=Date[_0x4e7e15(0xb9)]();try{const _0x4f032e=((_0x4325dc=this[_0x4e7e15(0x18d)]['getConfig'](_0x1dee33))==null?void 0x0:_0x4325dc['startFormulaLimitUrl'])||Rn,_0x426770=(await this[_0x4e7e15(0x2c2)][_0x4e7e15(0x17d)](_0x4f032e,{'body':JSON['stringify']({'taskId':_0x33cec3})}))[_0x4e7e15(0x16e)];if(((_0x5683fd=_0x426770['error'])==null?void 0x0:_0x5683fd[_0x4e7e15(0x15b)])!==Z['OK'])return;this[_0x4e7e15(0xc0)](_0x426770[_0x4e7e15(0x1c3)],_0x5aa211);}catch(_0x31c93c){this[_0x4e7e15(0x2cd)][_0x4e7e15(0x2a8)](_0x31c93c);}}async[_0x35261d(0x289)](_0x2e3b26){const _0x5046ef=_0x35261d;var _0x588c12,_0x168369;const _0x4fe41f=Date[_0x5046ef(0xb9)]();try{const _0x48f34c=((_0x588c12=this[_0x5046ef(0x18d)][_0x5046ef(0x14f)](_0x1dee33))==null?void 0x0:_0x588c12[_0x5046ef(0x28d)])||Cn,_0x21a8d3=_0x2e3b26?_0x48f34c+'?taskId='+encodeURIComponent(_0x2e3b26):_0x48f34c,_0x7fd205=(await this[_0x5046ef(0x2c2)][_0x5046ef(0x1aa)](_0x21a8d3))[_0x5046ef(0x16e)];if(((_0x168369=_0x7fd205[_0x5046ef(0x2a8)])==null?void 0x0:_0x168369['code'])!==Z['OK'])return;this[_0x5046ef(0xc0)](_0x7fd205['limitInfo'],_0x4fe41f);}catch(_0x543b8b){this[_0x5046ef(0x2cd)][_0x5046ef(0x2a8)](_0x543b8b);}}async['_releaseCalculationLimit'](_0x40e80a){const _0x5c7db4=_0x35261d;var _0x841028,_0x299ea9;const _0x4ea248=Date[_0x5c7db4(0xb9)]();try{const _0x2c1798=((_0x841028=this[_0x5c7db4(0x18d)][_0x5c7db4(0x14f)](_0x1dee33))==null?void 0x0:_0x841028['releaseFormulaLimitUrl'])||Dn,_0x5620ca=(await this[_0x5c7db4(0x2c2)][_0x5c7db4(0x17d)](_0x2c1798,{'body':JSON[_0x5c7db4(0x25c)]({'taskId':_0x40e80a})}))[_0x5c7db4(0x16e)];if(((_0x299ea9=_0x5620ca[_0x5c7db4(0x2a8)])==null?void 0x0:_0x299ea9[_0x5c7db4(0x15b)])!==Z['OK'])return;this[_0x5c7db4(0xc0)](_0x5620ca[_0x5c7db4(0x1c3)],_0x4ea248);}catch(_0x3e597e){this[_0x5c7db4(0x2cd)]['error'](_0x3e597e);}}[_0x35261d(0x1e7)](){const _0x49e224=_0x35261d;return this[_0x49e224(0x19d)]===0x0?!0x0:this[_0x49e224(0x19d)]-this['_currentUsage']>0x0;}[_0x35261d(0x16f)](){const _0x5cd77a=_0x35261d;this[_0x5cd77a(0x110)]&&(clearTimeout(this[_0x5cd77a(0x110)]),this[_0x5cd77a(0x110)]=null);}['_showGuardMessage'](){const _0x3c897a=_0x35261d;this[_0x3c897a(0x20e)][_0x3c897a(0x1d2)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x2edb7e[_0x3c897a(0x96)]});}[_0x35261d(0x159)](_0xc2ae5a){const _0x1e7863=_0x35261d;for(const _0x572e4b of _0xc2ae5a){const {unitId:_0x2836c3,sheetId:_0x16244f,range:_0x23caf7}=_0x572e4b,_0x3c1055=this[_0x1e7863(0x108)][_0x1e7863(0x135)](_0x2836c3);if(!_0x3c1055)continue;const _0x8d87b4=_0x3c1055[_0x1e7863(0x1db)](_0x16244f);if(!_0x8d87b4)continue;const _0x16929a=_0x8d87b4[_0x1e7863(0x141)]();for(let _0x6b4d2=_0x23caf7[_0x1e7863(0x24c)];_0x6b4d2<=_0x23caf7[_0x1e7863(0x27f)];_0x6b4d2++)for(let _0x49d99b=_0x23caf7[_0x1e7863(0x2bd)];_0x49d99b<=_0x23caf7['endColumn'];_0x49d99b++){const _0x2d0114=_0x16929a[_0x1e7863(0x177)](_0x6b4d2,_0x49d99b);if(_0x2d0114&&(_0x3a2fd2(_0x2d0114['f'])||_0x388f83(_0x2d0114['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x526d56(_0xc6b805)),P(0x1,_0x431d0d),P(0x2,_0x5905c3),P(0x3,_0x526d56(_0x1165a8)),P(0x4,_0x4da50f),P(0x5,_0x17989f),P(0x6,_0x526d56(_0x33240e))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x4d842e,_0x61285,_0x3a7fd6,_0x4a5cf4)=>{const _0x1d0afa=_0x35261d;for(var _0x23a454=_0x4a5cf4>0x1?void 0x0:_0x4a5cf4?Nn(_0x61285,_0x3a7fd6):_0x61285,_0x580628=_0x4d842e[_0x1d0afa(0x2cc)]-0x1,_0x4effaa;_0x580628>=0x0;_0x580628--)(_0x4effaa=_0x4d842e[_0x580628])&&(_0x23a454=_0x4effaa(_0x23a454)||_0x23a454);return _0x23a454;},Ue=(_0x124c9e,_0x455a9d)=>(_0x186710,_0xce3524)=>_0x455a9d(_0x186710,_0xce3524,_0x124c9e);let He=class extends _0x574664{constructor(_0x10053f,_0x1aa995,_0x2c2377){const _0x10e7cb=_0x35261d;super(),_(this,_0x10e7cb(0x1b4),new Map()),_(this,_0x10e7cb(0xcf),new Map()),_(this,_0x10e7cb(0x20a),!0x1),(this['_configService']=_0x10053f,this[_0x10e7cb(0x298)]=_0x1aa995,this[_0x10e7cb(0x147)]=_0x2c2377);}['disableLocalCache'](){const _0x472f90=_0x35261d;this[_0x472f90(0x20a)]=!0x0;}[_0x35261d(0x24a)](){const _0x4633e8=_0x35261d;this[_0x4633e8(0x20a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x35261d(0x256)](){const _0x92a591=_0x35261d;this[_0x92a591(0x128)]()[_0x92a591(0x1b8)](()=>super[_0x92a591(0x256)]());}async[_0x35261d(0x1e4)](_0xa50c11){const _0x3d059b=_0x35261d;return this[_0x3d059b(0x20a)]?null:this[_0x3d059b(0x298)]['getItem'](_0x5c11c9(_0xa50c11));}async[_0x35261d(0x157)](_0x3808d1,_0x1348dd){const _0x1825ab=_0x35261d;return!!this[_0x1825ab(0x298)][_0x1825ab(0x1e3)](_0x3808d1,_0x1348dd);}[_0x35261d(0x262)](_0x4b68aa,_0x16cc00,_0x5d04c6,_0x67b653){const _0xe8c21b=_0x35261d,_0x180e1f=this['_revisionService'][_0xe8c21b(0x118)](_0x4b68aa);this[_0xe8c21b(0x1b4)]['set'](_0x4b68aa,{'unitID':_0x4b68aa,'type':_0x16cc00,'awaitingChangeset':_0x5d04c6,'mutations':_0x67b653,'rev':_0x180e1f}),this[_0xe8c21b(0xcf)]['has'](_0x4b68aa)||this[_0xe8c21b(0x102)](_0x4b68aa);}[_0x35261d(0x102)](_0x5c5a42){const _0x44c4ef=_0x35261d,_0x89c339=this[_0x44c4ef(0x2ae)]();_0x89c339===0x0?this['_saveCache'](_0x5c5a42):this[_0x44c4ef(0xcf)][_0x44c4ef(0x156)](_0x5c5a42,setTimeout(()=>this[_0x44c4ef(0x238)](_0x5c5a42),_0x89c339));}[_0x35261d(0x2ae)](){var _0x4f6f55;return(_0x4f6f55=this['_configService']['getConfig'](_0x5143e0))!=null?_0x4f6f55:_0x1717c5;}[_0x35261d(0x238)](_0x3f39f4){const _0x1b243f=_0x35261d,_0x482979=this['_saveTaskMap'][_0x1b243f(0x1aa)](_0x3f39f4);return _0x482979!==void 0x0&&window[_0x1b243f(0x2eb)](_0x482979),this[_0x1b243f(0x298)][_0x1b243f(0x1e3)](_0x5c11c9(_0x3f39f4),this[_0x1b243f(0x1b4)][_0x1b243f(0x1aa)](_0x3f39f4))[_0x1b243f(0x1b8)](()=>this[_0x1b243f(0xcf)]['delete'](_0x3f39f4));}async[_0x35261d(0x128)](){const _0x15012b=_0x35261d,_0x701f97=[];this['_saveTaskMap']['forEach']((_0x1576b2,_0x2f4916)=>{const _0x515942=_0x4abd;window[_0x515942(0x2eb)](_0x1576b2),_0x701f97[_0x515942(0xd1)](this[_0x515942(0x238)](_0x2f4916)[_0x515942(0x1b8)](()=>{const _0x264486=_0x515942;this[_0x264486(0xcf)][_0x264486(0x2d4)](_0x2f4916);}));}),await Promise[_0x15012b(0x2f0)](_0x701f97);}};He=bn([Ue(0x0,_0x5905c3),Ue(0x1,_0x151749),Ue(0x2,_0x526d56(_0x507cc2))],He);class Ln extends _0x5cd561{constructor(){const _0x35f9a9=_0x35261d;super(),_(this,_0x35f9a9(0x2b8)),this[_0x35f9a9(0x2b8)]=_0x2e0772(window,'popstate')[_0x35f9a9(0x2e3)](_0x4bde4f(this[_0x35f9a9(0x2c1)]),_0x4ecbeb(0x1),_0x44e1c9(void 0x0));}['setParam'](_0x4681a2,_0x2769ea,_0x38d6b3=!0x1){const _0x48141e=_0x35261d,_0x315247=new URL(window[_0x48141e(0x24f)][_0x48141e(0xd5)]);_0x315247[_0x48141e(0x299)][_0x48141e(0x156)](_0x4681a2,_0x2769ea),_0x38d6b3?window[_0x48141e(0xe7)]['replaceState']('','',_0x315247[_0x48141e(0xdc)]()):window['history'][_0x48141e(0x254)]('','',_0x315247['toString']());}[_0x35261d(0x117)](_0x52443f,_0xb2b2e9=!0x1){const _0x4392c6=_0x35261d,_0x51a95d=new URL(window[_0x4392c6(0x24f)][_0x4392c6(0xd5)]);_0x51a95d[_0x4392c6(0x299)][_0x4392c6(0x2d4)](_0x52443f),_0xb2b2e9?window[_0x4392c6(0xe7)][_0x4392c6(0x129)]('','',_0x51a95d[_0x4392c6(0xdc)]()):window['history'][_0x4392c6(0x254)]('','',_0x51a95d['toString']());}['getParam'](_0x480f20){const _0x4b93b5=_0x35261d;var _0x424067;return(_0x424067=new URL(window['location'][_0x4b93b5(0xd5)])[_0x4b93b5(0x299)][_0x4b93b5(0x1aa)](_0x480f20))!=null?_0x424067:void 0x0;}}var Un=Object[_0x35261d(0x28f)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x391331,_0x407c20,_0x1597b2)=>_0x407c20 in _0x391331?Un(_0x391331,_0x407c20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1597b2}):_0x391331[_0x407c20]=_0x1597b2,Pn=(_0x2c2ef5,_0x5e25ac,_0x529272,_0x30a65f)=>{for(var _0x57910b=_0x30a65f>0x1?void 0x0:_0x30a65f?Mn(_0x5e25ac,_0x529272):_0x5e25ac,_0x578e74=_0x2c2ef5['length']-0x1,_0x150afb;_0x578e74>=0x0;_0x578e74--)(_0x150afb=_0x2c2ef5[_0x578e74])&&(_0x57910b=_0x150afb(_0x57910b)||_0x57910b);return _0x57910b;},Me=(_0x26668b,_0x418244)=>(_0xf78688,_0x65ab3e)=>_0x418244(_0xf78688,_0x65ab3e,_0x26668b),wn=(_0x4daefa,_0x23f4ba,_0x542347)=>An(_0x4daefa,_0x23f4ba+'',_0x542347);const yn=_0x35261d(0x1dd);let Ye=class extends _0x45b27a{constructor(_0xb2c742=_t,_0x106b45,_0x4c1ce4,_0x1dbf8a){const _0x1370a1=_0x35261d;super(),this['_config']=_0xb2c742,this[_0x1370a1(0x263)]=_0x106b45,this[_0x1370a1(0x2de)]=_0x4c1ce4,this[_0x1370a1(0x18d)]=_0x1dbf8a;const {..._0x2352cd}=_0x2fa91d({},_t,this['_config']);this[_0x1370a1(0x18d)][_0x1370a1(0x242)](hn,_0x2352cd);}[_0x35261d(0x139)](){const _0x15e8de=_0x35261d;this[_0x15e8de(0x201)](),this[_0x15e8de(0xc9)]();}[_0x35261d(0x2c8)](){const _0xf8835f=_0x35261d;this[_0xf8835f(0x24e)]();}[_0x35261d(0x201)](){const _0x44faae=_0x35261d;var _0x250eee;const _0x448cec=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x2d2f28,{'useClass':_0x5dbb21}],[_0xd5c05d,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x44faae(0x1fb)][_0x44faae(0xc5)]&&_0x448cec[_0x44faae(0xd1)]([le]),_0xdb3599(this[_0x44faae(0x2de)],_0x596139(_0x448cec,(_0x250eee=this[_0x44faae(0x1fb)])==null?void 0x0:_0x250eee['override']));}[_0x35261d(0x24e)](){const _0x701acb=_0x35261d;this[_0x701acb(0x2ca)](this[_0x701acb(0x263)][_0x701acb(0x265)](_0x388843['UNIVER_DOC'],[Fe])),this[_0x701acb(0x2ca)](this[_0x701acb(0x263)]['registerRenderModule'](_0x388843[_0x701acb(0x127)],[ke]));}[_0x35261d(0xc9)](){const _0x4b1862=_0x35261d;_0x2e4ee7(this[_0x4b1862(0x2de)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x4b1862(0xc5)]&&_0x2e4ee7(this['_injector'],[[le]]);}};wn(Ye,_0x35261d(0xa5),yn),Ye=Pn([_0x8c3cbd(_0x5eb974),Me(0x1,_0x1589e8),Me(0x2,_0x526d56(_0x3393f4)),Me(0x3,_0x5905c3)],Ye);var $n=Object[_0x35261d(0x2ec)],xn=(_0x3ee214,_0x2f323a,_0x51d3b1,_0x582df7)=>{const _0x111b79=_0x35261d;for(var _0x862123=_0x582df7>0x1?void 0x0:_0x582df7?$n(_0x2f323a,_0x51d3b1):_0x2f323a,_0x5a2a29=_0x3ee214[_0x111b79(0x2cc)]-0x1,_0x6d67ba;_0x5a2a29>=0x0;_0x5a2a29--)(_0x6d67ba=_0x3ee214[_0x5a2a29])&&(_0x862123=_0x6d67ba(_0x862123)||_0x862123);return _0x862123;},J=(_0xf448b5,_0x41e67f)=>(_0x307316,_0x57625b)=>_0x41e67f(_0x307316,_0x57625b,_0xf448b5);let ut=class extends _0xb3f5c5{constructor(_0x1acd45,_0xef1e9,_0x41e690,_0x1288d7,_0x3c66b3){super(_0x1acd45,_0xef1e9,_0x41e690,_0x1288d7,_0x3c66b3);}async[_0x35261d(0x264)](_0x4472fa){const _0x21c6e5=_0x35261d,_0x136a7d=await this[_0x21c6e5(0x12d)](),_0x302d11=this[_0x21c6e5(0x1b0)](_0x4472fa,_0x136a7d);return this[_0x21c6e5(0x136)](_0x302d11);}[_0x35261d(0x1b0)](_0x4e0b60,_0x4d9cdf){const _0x1284f7=_0x35261d,_0x5e7ff2=typeof window>'u'?new URL(_0x4e0b60):new URL(_0x4e0b60,window[_0x1284f7(0x24f)][_0x1284f7(0x199)]);_0x5e7ff2[_0x1284f7(0x299)]['set']('sessionTicket',_0x4d9cdf);const _0x4d17d6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1284f7(0x207)]);return _0x4d17d6['get']('runId')&&_0x5e7ff2['searchParams']['set'](_0x1284f7(0x1fd),_0x4d17d6[_0x1284f7(0x1aa)](_0x1284f7(0x1fd))),_0x5e7ff2['toString']();}async[_0x35261d(0x12d)](){const _0x26c043=_0x35261d;var _0x118294,_0x512ac5,_0x579f7e;const _0x47f212=this[_0x26c043(0x18d)][_0x26c043(0x14f)](_0x1dee33),_0x237b68=(_0x118294=_0x47f212==null?void 0x0:_0x47f212[_0x26c043(0x27e)])!=null?_0x118294:_0x5aed54;return(_0x579f7e=(_0x512ac5=(await this[_0x26c043(0x2c2)][_0x26c043(0x1aa)](_0x237b68,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x512ac5[_0x26c043(0x23c)])!=null?_0x579f7e:'';}};ut=xn([J(0x0,_0x526d56(_0x3393f4)),J(0x1,_0x526d56(_0x1165a8)),J(0x2,_0x5905c3),J(0x3,_0x17989f),J(0x4,_0x2760d7)],ut);var Bn=Object[_0x35261d(0x2ec)],Fn=(_0x3c66ed,_0x29a246,_0x3cf082,_0x2f046b)=>{for(var _0x483e80=_0x2f046b>0x1?void 0x0:_0x2f046b?Bn(_0x29a246,_0x3cf082):_0x29a246,_0x10ecfa=_0x3c66ed['length']-0x1,_0x361b78;_0x10ecfa>=0x0;_0x10ecfa--)(_0x361b78=_0x3c66ed[_0x10ecfa])&&(_0x483e80=_0x361b78(_0x483e80)||_0x483e80);return _0x483e80;},Ae=(_0x2bfc00,_0x26d48a)=>(_0x2fe96c,_0xb3201e)=>_0x26d48a(_0x2fe96c,_0xb3201e,_0x2bfc00);let dt=class extends _0x574664{constructor(_0x176606,_0xf224b9,_0x261b9c){const _0x3c2bb1=_0x35261d;super(),this['_instanceService']=_0x176606,this[_0x3c2bb1(0x2c2)]=_0xf224b9,this[_0x3c2bb1(0x18d)]=_0x261b9c;}async[_0x35261d(0x1cb)](_0x101e27,_0x6647e,_0x4bd080,..._0x1a1898){const _0x905675=_0x35261d;var _0x31c239,_0x3431ff,_0x1faa35,_0x2f695f;const _0xd0d236=this[_0x905675(0x27d)][_0x905675(0x10c)]();if(!_0xd0d236)throw new Error(_0x905675(0x1bf));const _0x18bd12=((_0x31c239=this['_configService'][_0x905675(0x14f)](_0x14929d))!=null?_0x31c239:_0x3879f6)+'/'+_0x101e27+_0x905675(0xa3)+_0x6647e,_0x19fc77=new URL(window[_0x905675(0x24f)]['href']),_0x57e9b1={'scriptId':_0x101e27,'runId':(_0x3431ff=_0x19fc77[_0x905675(0x299)][_0x905675(0x1aa)](_0x905675(0x1fd)))!=null?_0x3431ff:'','function':_0x6647e,'unitId':_0xd0d236[_0x905675(0x10f)](),'argsOfFunction':JSON[_0x905675(0x25c)](_0x1a1898),'invokeId':(_0x1faa35=_0x4bd080[_0x905675(0xc8)])!=null?_0x1faa35:'','executionId':(_0x2f695f=_0x4bd080[_0x905675(0x13a)])!=null?_0x2f695f:''};try{const _0x5cf9ec=await this[_0x905675(0x2c2)]['post'](_0x18bd12,{'body':_0x57e9b1});return _0x5cf9ec[_0x905675(0x16e)][_0x905675(0x2a8)]&&_0x5cf9ec[_0x905675(0x16e)][_0x905675(0x2a8)]['code']!==Z['OK']?_0x905675(0xdd):_0x5cf9ec['body'][_0x905675(0x1c6)];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x4da50f),Ae(0x1,_0x526d56(_0x1165a8)),Ae(0x2,_0x5905c3)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x574664{constructor(){const _0x3255b9=_0x35261d;super(),_(this,_0x3255b9(0x244),_0x18acb6()),_(this,_0x3255b9(0x2ed),new Set()),_(this,_0x3255b9(0x1f8),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3255b9(0x2d2),new Map()),this[_0x3255b9(0x187)]();}[_0x35261d(0x256)](){const _0x43c139=_0x35261d;super[_0x43c139(0x256)](),this[_0x43c139(0xf8)][_0x43c139(0xd9)]((_0x53ae52,_0x1c5bcb)=>this[_0x43c139(0x237)](_0x1c5bcb)),this[_0x43c139(0x16d)]&&window[_0x43c139(0x10a)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x40acd5){const _0x4ba3c4=_0x35261d;return this['_ensureSubject'](_0x40acd5)[_0x4ba3c4(0x2e3)](_0x1d9c3f());}[_0x35261d(0xc3)](_0x21297a){const _0x5d4a8b=_0x35261d;this[_0x5d4a8b(0x2ed)][_0x5d4a8b(0x1d9)]===0x0&&this[_0x5d4a8b(0xa0)](),this[_0x5d4a8b(0x2ed)][_0x5d4a8b(0x22e)](_0x21297a),this[_0x5d4a8b(0x11f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x21297a],'isForwarded':!0x1});}['disposeUnit'](_0x353650){const _0x45c454=_0x35261d;this[_0x45c454(0x2ed)][_0x45c454(0x2d4)](_0x353650),this[_0x45c454(0x2ed)][_0x45c454(0x1d9)]===0x0&&this[_0x45c454(0x16d)]&&window[_0x45c454(0x10a)](this['_heartbeatTimer']);}[_0x35261d(0x187)](){const _0x4904c6=_0x35261d;this[_0x4904c6(0x2ca)](_0x511582(_0x2e0772(window,_0x4904c6(0x174))[_0x4904c6(0x223)](_0x405077=>{const _0x19c805=_0x4904c6;if(_0x405077[_0x19c805(0x1d5)]!==It||!_0x405077[_0x19c805(0x247)])return;const _0x509207=JSON[_0x19c805(0x272)](_0x405077[_0x19c805(0x247)]);this[_0x19c805(0x188)](_0x509207);}))),window['addEventListener'](_0x4904c6(0x282),()=>this['_send']({'type':0x1,'memberID':this[_0x4904c6(0x244)],'unitIDs':Array[_0x4904c6(0xf9)](this[_0x4904c6(0x2ed)])}));}[_0x35261d(0x188)](_0x1b698a){const _0x23600d=_0x35261d;switch(_0x1b698a[_0x23600d(0x1d6)]){case 0x0:this[_0x23600d(0xda)](_0x1b698a);break;case 0x1:this['_handleLeaveEvent'](_0x1b698a);break;case 0x2:this[_0x23600d(0x261)](_0x1b698a);break;}}[_0x35261d(0xda)](_0x38514b){const _0x392a69=_0x35261d,{unitIDs:_0xaba3af,memberID:_0x50017f,isForwarded:_0x3d559d}=_0x38514b;_0xaba3af[_0x392a69(0xd9)](_0x57ac3a=>{const _0x5940b4=_0x392a69;if(!_0x3d559d&&this[_0x5940b4(0x1f8)][_0x5940b4(0x291)](_0x57ac3a)&&this[_0x5940b4(0x295)](_0x57ac3a)[_0x5940b4(0x106)](_0x4ee52f[_0x5940b4(0x153)]),!this[_0x5940b4(0x1f8)][_0x5940b4(0x291)](_0x57ac3a)||!this[_0x5940b4(0x1f8)]['get'](_0x57ac3a)[_0x5940b4(0x291)](_0x50017f)){const _0x2d5563=this[_0x5940b4(0x1f8)]['get'](_0x57ac3a)||new Set();_0x2d5563[_0x5940b4(0x22e)](_0x50017f),this[_0x5940b4(0x1f8)][_0x5940b4(0x156)](_0x57ac3a,_0x2d5563),this[_0x5940b4(0x1f5)](_0x50017f);}}),_0x3d559d||this['_send']({'type':0x0,'memberID':this[_0x392a69(0x244)],'unitIDs':[...this[_0x392a69(0x2ed)]],'isForwarded':!0x0});}[_0x35261d(0x1f5)](_0x4f0dd9){const _0x1fa697=_0x35261d;this[_0x1fa697(0x237)](_0x4f0dd9);const _0x317811=window[_0x1fa697(0x1a4)](()=>{const _0x67eb56=_0x1fa697;this[_0x67eb56(0x1f8)]['forEach'](_0x1576e9=>{const _0x3dfd16=_0x67eb56;_0x1576e9[_0x3dfd16(0x2d4)](_0x4f0dd9);});},St*0x2);this[_0x1fa697(0xf8)][_0x1fa697(0x156)](_0x4f0dd9,_0x317811);}[_0x35261d(0x237)](_0x5765eb){const _0x522517=_0x35261d;if(this['_clearOtherTimers'][_0x522517(0x291)](_0x5765eb)){const _0x3cc4a8=this[_0x522517(0xf8)][_0x522517(0x1aa)](_0x5765eb);_0x3cc4a8&&window[_0x522517(0x2eb)](_0x3cc4a8),this[_0x522517(0xf8)][_0x522517(0x156)](_0x5765eb,null);}}[_0x35261d(0xea)](_0x42054f){const _0x54ac94=_0x35261d,{memberID:_0x1ae175,unitIDs:_0x5ed5cc}=_0x42054f;_0x5ed5cc['forEach'](_0xc6f5be=>{const _0x3c2158=_0x4abd;var _0x44856e;const _0x5e4f5d=this[_0x3c2158(0x1f8)][_0x3c2158(0x1aa)](_0xc6f5be);_0x5e4f5d&&(_0x5e4f5d[_0x3c2158(0x2d4)](_0x1ae175),(_0x44856e=this[_0x3c2158(0x295)](_0xc6f5be))==null||_0x44856e['next'](_0x5e4f5d['size']===0x0?_0x4ee52f[_0x3c2158(0x25d)]:_0x4ee52f['OTHER_CLIENTS_EDITING']));}),this[_0x54ac94(0x237)](_0x1ae175);}[_0x35261d(0x261)](_0x2f8bf9){const _0x10a89a=_0x35261d;this[_0x10a89a(0x1f5)](_0x2f8bf9[_0x10a89a(0x241)]);}[_0x35261d(0x11f)](_0x52b9b8){const _0x4cc3cc=_0x35261d;localStorage[_0x4cc3cc(0x1e3)](It,JSON[_0x4cc3cc(0x25c)](_0x52b9b8));}[_0x35261d(0xa0)](){const _0x5d9a27=_0x35261d;this['_heartbeatTimer']=window[_0x5d9a27(0xca)](()=>{const _0x1db00f=_0x5d9a27;this[_0x1db00f(0x11f)]({'type':0x2,'memberID':this[_0x1db00f(0x244)]});},St);}[_0x35261d(0x295)](_0x3df45c){const _0x5187a7=_0x35261d;return this[_0x5187a7(0x2d2)][_0x5187a7(0x291)](_0x3df45c)||this[_0x5187a7(0x2d2)][_0x5187a7(0x156)](_0x3df45c,new _0x190ae5(_0x4ee52f[_0x5187a7(0x25d)])),this[_0x5187a7(0x2d2)][_0x5187a7(0x1aa)](_0x3df45c);}}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};