@univerjs-pro/collaboration-client-ui 0.10.3-nightly.202508150623 → 0.10.4-nightly.202508220605

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 (49) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +18 -18
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4c8ad2=_0x1a2b;(function(_0xe42dfd,_0x215a60){const _0x55884f=_0x1a2b,_0x539e04=_0xe42dfd();while(!![]){try{const _0x17acb9=-parseInt(_0x55884f(0x234))/0x1*(parseInt(_0x55884f(0x2b6))/0x2)+-parseInt(_0x55884f(0x110))/0x3+parseInt(_0x55884f(0x2ce))/0x4*(-parseInt(_0x55884f(0x23b))/0x5)+-parseInt(_0x55884f(0x208))/0x6+parseInt(_0x55884f(0x238))/0x7*(parseInt(_0x55884f(0x1ed))/0x8)+parseInt(_0x55884f(0x114))/0x9+parseInt(_0x55884f(0x2f8))/0xa;if(_0x17acb9===_0x215a60)break;else _0x539e04['push'](_0x539e04['shift']());}catch(_0x4c9fe2){_0x539e04['push'](_0x539e04['shift']());}}}(_0x588e,0x5ffdf));var xt=Object['defineProperty'],Bt=(_0x31237a,_0x464c20,_0x375a3c)=>_0x464c20 in _0x31237a?xt(_0x31237a,_0x464c20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x375a3c}):_0x31237a[_0x464c20]=_0x375a3c,_=(_0x4fc8eb,_0x4120b7,_0x5605e8)=>Bt(_0x4fc8eb,typeof _0x4120b7!=_0x4c8ad2(0x1b5)?_0x4120b7+'':_0x4120b7,_0x5605e8);import{jsx as _0x294e3f,jsxs as _0x5cbd89}from'react/jsx-runtime';import{CollaborationStatus as _0x24ef01,CollaborationSessionService as _0x15bdfc,CollaborationController as _0x550088,DataLoaderService as _0x42970d,MemberService as _0xa5d6f3,SessionStatus as _0x3eb07c,ILocalCacheService as _0x4fb00a,CollaborationUIEventService as _0x2f6647,CollaborationUIEventId as _0x1d4610,DocCollaborationEntity as _0x317c6a,getLocalCacheKey as _0x1eef40,LOCAL_CACHE_INTERVAL as _0x2b0095,LOCAL_CACHE_INTERVAL_KEY as _0x407ca9,UniverCollaborationClientPlugin as _0x3c5b90,CollaborationSocketService as _0x3fa182,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x308563,DEFAULT_WS_SESSION_TICKET_URL as _0x35ef93,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4bbfa3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1ead77,UnitStatus as _0xfe3c08}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4a58fb,IUniverInstanceService as _0x267da8,Inject as _0xf17c52,Injector as _0x14a08a,Disposable as _0x388847,createIdentifier as _0x43cb3a,ILogService as _0x4b3f07,ICommandService as _0x232566,Optional as _0x57e43c,RxDisposable as _0x5da5d3,Workbook as _0x2aaa39,DOC_RANGE_TYPE as _0x5105b5,debounce as _0x41d8fd,Rectangle as _0x3ceb29,DisposableCollection as _0x16f850,toDisposable as _0x5d9642,UniverInstanceType as _0x20dac5,generateRandomId as _0x2ddacf,COLORS as _0x104f50,ColorKit as _0x2cb09e,ThemeService as _0x1cd76d,fromEventSubject as _0x459619,Tools as _0x5351cf,CommandType as _0x10f85b,IConfigService as _0x59143e,ILocalStorageService as _0x46d3a7,DependentOn as _0x741372,Plugin as _0x45b852,merge as _0x4493c5,registerDependencies as _0x57cd9c,mergeOverrideWithDependencies as _0x2df628,touchDependencies as _0x281670}from'@univerjs/core';import{useObservable as _0x2712ba,useDependency as _0x505c89,IUIPartsService as _0x3c71ca,BuiltInUIPart as _0x13180d,connectInjector as _0x4d2713,IBeforeCloseService as _0x40c8c1,IMessageService as _0x46909f,INotificationService as _0x5980b1}from'@univerjs/ui';import{BehaviorSubject as _0x2c7c6b,switchMap as _0x4eb1c8,of as _0x27dea0,takeUntil as _0x1b892a,debounceTime as _0x4e3222,Subject as _0x3d4b2e,filter as _0x55f630,merge as _0x553a69,combineLatest as _0x4c7b20,fromEvent as _0x544f13,shareReplay as _0x53d780,mapTo as _0x70830c,distinctUntilChanged as _0x3afa5b}from'rxjs';import{Tooltip as _0x16e4ca,clsx as _0x42d014,MessageType as _0x5c11e7}from'@univerjs/design';import{forwardRef as _0x4f7ac2,useRef as _0x917733,createElement as _0x1ea42,useCallback as _0x22cb0b}from'react';import{IRemoteInstanceService as _0x3f1b55}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x51641c,RefRangeService as _0x37b921,SetSelectionsOperation as _0x147245,SheetsSelectionsService as _0x52066a,EffectRefRangId as _0x38bf57,handleIRemoveRow as _0xb76994,handleIRemoveCol as _0x28f6ee,handleMoveRange as _0x1d0c1d,handleInsertRow as _0x247376,handleInsertRangeMoveRight as _0x360ad7,handleInsertRangeMoveDown as _0x19e277,handleInsertCol as _0x550b87,handleDeleteRangeMoveUp as _0x537b49,handleDeleteRangeMoveLeft as _0x1a5d80,runRefRangeMutations as _0x32f10b}from'@univerjs/sheets';import{Shape as _0xbd1e50,Rect as _0x3c1b9e,getColor as _0xdbc905,RegularPolygon as _0x38ffad,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e67c8,Vector2 as _0x5ce56f,SHEET_VIEWPORT_KEY as _0x171a46,IRenderManagerService as _0x3e0ac0}from'@univerjs/engine-render';import{ISocketService as _0x516080,WebSocketService as _0x49dfa8,HTTPService as _0x1d1e38}from'@univerjs/network';import{IDocClipboardService as _0x441ec5,NodePositionConvertToCursor as _0x262416,NodePositionConvertToRectRange as _0xbc31f3,TEXT_RANGE_LAYER_INDEX as _0x5a9741,SetDocZoomRatioOperation as _0x3774c2,DocIMEInputManagerService as _0x41bf8a,DocStateChangeManagerService as _0x428b14}from'@univerjs/docs-ui';import{IImageIoService as _0x44033e}from'@univerjs/drawing';import{ITransformService as _0x461df4,CollaborationEvent as _0x102a5f,isTransformMutationFailure as _0x5cbe5a,isTransformMutationsWithChangesetSuccess as _0x41c887,RevisionService as _0x3cec18,ISnapshotServerService as _0xc396e3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x34ebbe,RichTextEditingMutation as _0x58395c,DocSelectionManagerService as _0x412aa6,DocSkeletonManagerService as _0x6fdb44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x13ab72,serializeRangeWithSheet as _0x5e839d}from'@univerjs/engine-formula';import{map as _0x205f1d,filter as _0x397aa8,throttleTime as _0x13c8d3,takeUntil as _0x49b1ed,switchMap as _0x550ec3}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3fc9fb,getCoordByCell as _0x58cc5a,getSheetObject as _0x2a8062}from'@univerjs/sheets-ui';var v=function(){const _0x13cc42=_0x4c8ad2;return v=Object['assign']||function(_0x25b299){const _0x4ae148=_0x1a2b;for(var _0x11dfa9,_0x3671fa=0x1,_0x35e05f=arguments[_0x4ae148(0x203)];_0x3671fa<_0x35e05f;_0x3671fa++){_0x11dfa9=arguments[_0x3671fa];for(var _0x455ab1 in _0x11dfa9)Object[_0x4ae148(0x183)][_0x4ae148(0x292)][_0x4ae148(0x2b2)](_0x11dfa9,_0x455ab1)&&(_0x25b299[_0x455ab1]=_0x11dfa9[_0x455ab1]);}return _0x25b299;},v[_0x13cc42(0x220)](this,arguments);},ci=function(_0x547edf,_0x414e6d){const _0x3157e7=_0x4c8ad2;var _0x230dc9={};for(var _0x27247c in _0x547edf)Object['prototype']['hasOwnProperty']['call'](_0x547edf,_0x27247c)&&_0x414e6d[_0x3157e7(0x221)](_0x27247c)<0x0&&(_0x230dc9[_0x27247c]=_0x547edf[_0x27247c]);if(_0x547edf!=null&&typeof Object[_0x3157e7(0x274)]==_0x3157e7(0x260)){for(var _0x140b92=0x0,_0x27247c=Object['getOwnPropertySymbols'](_0x547edf);_0x140b92<_0x27247c[_0x3157e7(0x203)];_0x140b92++)_0x414e6d[_0x3157e7(0x221)](_0x27247c[_0x140b92])<0x0&&Object[_0x3157e7(0x183)][_0x3157e7(0x2e7)]['call'](_0x547edf,_0x27247c[_0x140b92])&&(_0x230dc9[_0x27247c[_0x140b92]]=_0x547edf[_0x27247c[_0x140b92]]);}return _0x230dc9;},ke=_0x4f7ac2(function(_0x528ffb,_0x2f32b2){const _0x482920=_0x4c8ad2;var _0x46ac5c=_0x528ffb['icon'],_0x2e4f35=_0x528ffb['id'],_0x48c377=_0x528ffb[_0x482920(0x12c)],_0x4d39fb=_0x528ffb[_0x482920(0x21c)],_0xdecbe9=ci(_0x528ffb,['icon','id','className','extend']),_0x2fb503='univerjs-icon\x20univerjs-icon-'[_0x482920(0x185)](_0x2e4f35,'\x20')['concat'](_0x48c377||'')[_0x482920(0x2ef)](),_0x6b1366=_0x917733('_'['concat'](hi()));return Rt(_0x46ac5c,''[_0x482920(0x185)](_0x2e4f35),{'defIds':_0x46ac5c[_0x482920(0x2b5)],'idSuffix':_0x6b1366[_0x482920(0x230)]},v({'ref':_0x2f32b2,'className':_0x2fb503},_0xdecbe9),_0x4d39fb);});function Rt(_0x2466f6,_0x44db21,_0x837aff,_0x96a452,_0x1f919c){const _0x3af2a3=_0x4c8ad2;return _0x1ea42(_0x2466f6['tag'],v(v({'key':_0x44db21},li(_0x2466f6,_0x837aff,_0x1f919c)),_0x96a452),(_i(_0x2466f6,_0x837aff)[_0x3af2a3(0x21d)]||[])[_0x3af2a3(0x287)](function(_0x37489b,_0x1a7dee){const _0x182d24=_0x3af2a3;return Rt(_0x37489b,''['concat'](_0x44db21,'-')[_0x182d24(0x185)](_0x2466f6[_0x182d24(0x235)],'-')['concat'](_0x1a7dee),_0x837aff,void 0x0,_0x1f919c);}));}function li(_0x4e6890,_0x253588,_0x3b618b){const _0x452253=_0x4c8ad2;var _0x227b32=v({},_0x4e6890[_0x452253(0x2a1)]);_0x3b618b!=null&&_0x3b618b[_0x452253(0x25b)]&&_0x227b32[_0x452253(0x13e)]===_0x452253(0x25b)&&(_0x227b32['fill']=_0x3b618b['colorChannel1']),_0x4e6890[_0x452253(0x235)]===_0x452253(0x16d)&&_0x227b32['id']&&(_0x227b32['id']=_0x227b32['id']+_0x253588[_0x452253(0x12d)]),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x2c4be9){const _0x3f2bfc=_0x452253;var _0x17af98=_0x2c4be9[0x0],_0x36e322=_0x2c4be9[0x1];_0x17af98===_0x3f2bfc(0x16d)&&typeof _0x36e322==_0x3f2bfc(0x16c)&&(_0x227b32[_0x17af98]=_0x36e322[_0x3f2bfc(0x19d)](/url\(#(.*)\)/,_0x3f2bfc(0x2eb)[_0x3f2bfc(0x185)](_0x253588[_0x3f2bfc(0x12d)],')')));});var _0x11ddb3=_0x253588[_0x452253(0x2b5)];return!_0x11ddb3||_0x11ddb3[_0x452253(0x203)]===0x0||(_0x4e6890[_0x452253(0x235)]==='use'&&_0x227b32[_0x452253(0x1bf)]&&(_0x227b32['xlink:href']=_0x227b32[_0x452253(0x1bf)]+_0x253588['idSuffix']),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x52cab1){const _0x182c92=_0x452253;var _0x2fd831=_0x52cab1[0x0],_0x4f3a98=_0x52cab1[0x1];typeof _0x4f3a98==_0x182c92(0x16c)&&(_0x227b32[_0x2fd831]=_0x4f3a98['replace'](/url\(#(.*)\)/,_0x182c92(0x2eb)[_0x182c92(0x185)](_0x253588[_0x182c92(0x12d)],')')));})),_0x227b32;}function _i(_0xe0eeb5,_0x1f5336){const _0x129994=_0x4c8ad2;var _0x43c4fd,_0x13703e=_0x1f5336[_0x129994(0x2b5)];return!_0x13703e||_0x13703e['length']===0x0?_0xe0eeb5:_0xe0eeb5[_0x129994(0x235)]===_0x129994(0x19b)&&(!((_0x43c4fd=_0xe0eeb5[_0x129994(0x21d)])===null||_0x43c4fd===void 0x0)&&_0x43c4fd[_0x129994(0x203)])?v(v({},_0xe0eeb5),{'children':_0xe0eeb5[_0x129994(0x21d)][_0x129994(0x287)](function(_0x2fbd93){const _0x1e1d28=_0x129994;return typeof _0x2fbd93[_0x1e1d28(0x2a1)]['id']==_0x1e1d28(0x16c)&&_0x13703e&&_0x13703e['includes'](_0x2fbd93[_0x1e1d28(0x2a1)]['id'])?v(v({},_0x2fbd93),{'attrs':v(v({},_0x2fbd93[_0x1e1d28(0x2a1)]),{'id':_0x2fbd93['attrs']['id']+_0x1f5336[_0x1e1d28(0x12d)]})}):_0x2fbd93;})}):_0xe0eeb5;}function hi(){const _0x548de8=_0x4c8ad2;return Math[_0x548de8(0x206)]()[_0x548de8(0x2d3)](0x24)[_0x548de8(0x1b1)](0x2,0x8);}ke[_0x4c8ad2(0x29c)]='UniverIcon';var ui={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':_0x4c8ad2(0x193),'fill':_0x4c8ad2(0x15e),'viewBox':_0x4c8ad2(0x198),'width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x140),'strokeLinecap':_0x4c8ad2(0x2f4),'strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x24e)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8)}}]}]}],'defIds':[_0x4c8ad2(0x24e)]},Dt=_0x4f7ac2(function(_0x1d05aa,_0x4e7395){const _0x24cf13=_0x4c8ad2;return _0x1ea42(ke,Object[_0x24cf13(0x1c6)]({},_0x1d05aa,{'id':_0x24cf13(0x2fb),'ref':_0x4e7395,'icon':ui}));});Dt['displayName']=_0x4c8ad2(0x24a);var di={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c8ad2(0x15e),'viewBox':'0\x200\x2017\x2016','width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x1a0),'strokeLinecap':'round','strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x180)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8),'transform':_0x4c8ad2(0x170)}}]}]}],'defIds':[_0x4c8ad2(0x180)]},Nt=_0x4f7ac2(function(_0x2f139b,_0x35af86){const _0x1b2908=_0x4c8ad2;return _0x1ea42(ke,Object['assign']({},_0x2f139b,{'id':_0x1b2908(0x27b),'ref':_0x35af86,'icon':di}));});Nt[_0x4c8ad2(0x29c)]=_0x4c8ad2(0x115);function fi(_0xca264e){const _0x55caca=_0x4c8ad2;switch(_0xca264e){case _0x24ef01['OFFLINE']:return _0x55caca(0x28e);case _0x24ef01['CONFLICT']:return _0x55caca(0x1f0);case _0x24ef01[_0x55caca(0x1fa)]:return _0x55caca(0x27c);case _0x24ef01[_0x55caca(0x25e)]:return _0x55caca(0x166);case _0x24ef01['AWAITING']:case _0x24ef01[_0x55caca(0x117)]:return _0x55caca(0x155);case _0x24ef01['SYNCED']:case _0x24ef01[_0x55caca(0x30d)]:return _0x55caca(0x29b);}}function Si(_0x54e971){const _0x42ae89=_0x4c8ad2,{status$:_0x33c7af}=_0x54e971,_0x5edb7c=_0x2712ba(_0x33c7af,_0x24ef01[_0x42ae89(0x25e)]),_0x618c91=_0x505c89(_0x4a58fb),_0x2853da=_0x505c89(_0x15bdfc),_0x390a9f=_0x5edb7c!==_0x24ef01[_0x42ae89(0x2c2)],_0x5799ee=_0x618c91['t'](fi(_0x5edb7c)),_0x9ba5d1=_0x390a9f?_0x294e3f(Nt,{}):_0x294e3f(Dt,{}),_0x152a76=_0x22cb0b(()=>{_0x390a9f||_0x2853da['reconnect']();},[_0x390a9f,_0x2853da]);function _0x4d02a3(){const _0x3588ad=_0x42ae89;return _0x5cbd89('div',{'className':_0x3588ad(0x209),'onClick':_0x152a76,'children':[_0x294e3f('div',{'className':_0x42d014(_0x3588ad(0x2ec),{'univer-text-green-500':_0x390a9f,'univer-text-red-500':!_0x390a9f}),'children':_0x9ba5d1}),_0x294e3f(_0x3588ad(0x1e4),{'className':_0x3588ad(0x1cf),'children':_0x5799ee})]});}return _0x390a9f?_0x4d02a3():_0x294e3f(_0x16e4ca,{'title':_0x618c91['t'](_0x42ae89(0x18b)),'children':_0x4d02a3()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x5db455,_0x9ea17b,_0x497af6,_0x47efdf)=>{const _0x238979=_0x4c8ad2;for(var _0x3edd20=_0x47efdf>0x1?void 0x0:_0x47efdf?mi(_0x9ea17b,_0x497af6):_0x9ea17b,_0xea0f60=_0x5db455[_0x238979(0x203)]-0x1,_0x13900d;_0xea0f60>=0x0;_0xea0f60--)(_0x13900d=_0x5db455[_0xea0f60])&&(_0x3edd20=_0x13900d(_0x3edd20)||_0x3edd20);return _0x3edd20;},q=(_0x4cbfcf,_0x17fd19)=>(_0x2e5d1f,_0x1784ef)=>_0x17fd19(_0x2e5d1f,_0x1784ef,_0x4cbfcf);let se=class extends _0x388847{constructor(_0x322454,_0x2fff02,_0x56484e,_0x1966a1){const _0x943efc=_0x4c8ad2;super(),_(this,_0x943efc(0x282),new _0x2c7c6b(_0x24ef01[_0x943efc(0x25e)])),(this['_univerInstanceService']=_0x322454,this[_0x943efc(0x2f1)]=_0x2fff02,this[_0x943efc(0x14d)]=_0x56484e,this[_0x943efc(0x28a)]=_0x1966a1,this[_0x943efc(0x2db)](),this['_initStatusListener']());}[_0x4c8ad2(0x15a)](){const _0x3543ca=_0x4c8ad2;this[_0x3543ca(0x1b8)](this[_0x3543ca(0x1c8)][_0x3543ca(0x1a5)][_0x3543ca(0x189)](_0x4eb1c8(()=>{const _0x408a7a=_0x3543ca,_0x36f62b=this[_0x408a7a(0x1c8)][_0x408a7a(0x305)]();return _0x36f62b?this[_0x408a7a(0x14d)][_0x408a7a(0x308)](_0x36f62b[_0x408a7a(0x2c7)]()):_0x27dea0(null);}),_0x4eb1c8(_0x1a75e7=>_0x1a75e7?_0x1a75e7[_0x3543ca(0x1fc)]:_0x27dea0(_0x24ef01[_0x3543ca(0x25e)])))[_0x3543ca(0x11d)](_0x2f5d5b=>{const _0x3f2868=_0x3543ca;this[_0x3f2868(0x282)][_0x3f2868(0x17c)](_0x2f5d5b);}));}[_0x4c8ad2(0x2db)](){const _0x2d3b9d=_0x4c8ad2;this[_0x2d3b9d(0x1b8)](this['_uiPartsService'][_0x2d3b9d(0x246)](_0x13180d[_0x2d3b9d(0x233)],()=>_0x4d2713(vi({'status$':this[_0x2d3b9d(0x282)][_0x2d3b9d(0x205)]()}),this[_0x2d3b9d(0x2f1)])));}};se=Ii([q(0x0,_0x267da8),q(0x1,_0xf17c52(_0x14a08a)),q(0x2,_0xf17c52(_0x550088)),q(0x3,_0x3c71ca)],se);function vi(_0x1e048a){const {status$:_0x353e26}=_0x1e048a;return function(){return _0x294e3f(Si,{'status$':_0x353e26});};}const Ut=_0x43cb3a('uni.network.url-service');var gi=Object[_0x4c8ad2(0x122)],pi=(_0x4e9b96,_0x55b509,_0x5c48e9,_0x3e4b8a)=>{const _0x2e9d4e=_0x4c8ad2;for(var _0x296198=_0x3e4b8a>0x1?void 0x0:_0x3e4b8a?gi(_0x55b509,_0x5c48e9):_0x55b509,_0x15dc39=_0x4e9b96[_0x2e9d4e(0x203)]-0x1,_0x1808e1;_0x15dc39>=0x0;_0x15dc39--)(_0x1808e1=_0x4e9b96[_0x15dc39])&&(_0x296198=_0x1808e1(_0x296198)||_0x296198);return _0x296198;},G=(_0x1db914,_0x12e8f8)=>(_0x3f1384,_0x44c107)=>_0x12e8f8(_0x3f1384,_0x44c107,_0x1db914);let ie=class extends _0x5da5d3{constructor(_0x1122a4,_0x37f113,_0x312612,_0x1c8cfd,_0xafc1e5){const _0x10f4a1=_0x4c8ad2;super(),this['_urlService']=_0x1122a4,this[_0x10f4a1(0x22d)]=_0x37f113,this['_commandService']=_0x312612,this['_dataLoaderService']=_0x1c8cfd,_0xafc1e5?_0xafc1e5==null||_0xafc1e5[_0x10f4a1(0x299)]()[_0x10f4a1(0x1bd)](()=>this[_0x10f4a1(0x1f7)]()):(this[_0x10f4a1(0x22d)][_0x10f4a1(0x28c)](_0x10f4a1(0x2b9),_0x10f4a1(0x2f7)),this[_0x10f4a1(0x1f7)]());}async[_0x4c8ad2(0x1f7)](){const _0x463f82=_0x4c8ad2,_0x1e63f5=this['_urlService'][_0x463f82(0x191)]('unit'),_0x2571e0=this[_0x463f82(0x176)]['getParam']('type'),_0xb8abf6=this[_0x463f82(0x176)]['getParam'](_0x463f82(0x237));if(!_0x1e63f5||!_0x2571e0){this[_0x463f82(0x22d)][_0x463f82(0x28c)](_0x463f82(0x2b9),_0x463f82(0x139));return;}const _0x56e625=await this['_dataLoaderService']['loadUnit'](_0x1e63f5,Number(_0x2571e0),_0xb8abf6);_0x56e625&&_0x56e625 instanceof _0x2aaa39&&this[_0x463f82(0x224)](_0x56e625);}async[_0x4c8ad2(0x224)](_0x166d04){const _0x3ee98f=_0x4c8ad2;await this['_updateSubUnitFromURLParams'](_0x166d04),_0x166d04[_0x3ee98f(0x173)][_0x3ee98f(0x189)](_0x1b892a(this['dispose$']))[_0x3ee98f(0x11d)](_0x2dbc12=>{const _0x50e2f9=_0x3ee98f;_0x2dbc12&&this[_0x50e2f9(0x1c9)](_0x2dbc12);}),this[_0x3ee98f(0x176)][_0x3ee98f(0x1f4)][_0x3ee98f(0x189)](_0x1b892a(this[_0x3ee98f(0x298)]))[_0x3ee98f(0x11d)](()=>this[_0x3ee98f(0x25f)](_0x166d04));}['_updateURLWithCurrentState'](_0xdb9d8,_0x170a63=!0x1){const _0x544671=_0x4c8ad2,_0x5d482e=this['_urlService'][_0x544671(0x191)](_0x544671(0x237));_0xdb9d8[_0x544671(0x2af)]()!==_0x5d482e&&this['_urlService'][_0x544671(0x177)](_0x544671(0x237),_0xdb9d8['getSheetId'](),_0x170a63);}async[_0x4c8ad2(0x25f)](_0x13301a){const _0x16e4fa=_0x4c8ad2;var _0x3dd801;const _0x15f734=this[_0x16e4fa(0x176)]['getParam'](_0x16e4fa(0x237));if(!_0x15f734||!_0x13301a['getSheetBySheetId'](_0x15f734)){const _0x40d38a=_0x13301a[_0x16e4fa(0x181)]()[0x0],_0x275e32=_0x13301a[_0x16e4fa(0x17f)](_0x40d38a);if(!_0x275e32)return;this['_updateURLWithCurrentState'](_0x275e32,!0x0),await this[_0x16e4fa(0x276)][_0x16e4fa(0x26f)](_0x51641c['id'],{'unitId':_0x13301a['getUnitId'](),'subUnitId':_0x40d38a});return;}((_0x3dd801=_0x13301a[_0x16e4fa(0x188)]())==null?void 0x0:_0x3dd801[_0x16e4fa(0x2af)]())!==_0x15f734&&await this['_commandService']['executeCommand'](_0x51641c['id'],{'unitId':_0x13301a[_0x16e4fa(0x2c7)](),'subUnitId':_0x15f734});}};ie=pi([G(0x0,Ut),G(0x1,_0x4b3f07),G(0x2,_0x232566),G(0x3,_0xf17c52(_0x42970d)),G(0x4,_0x57e43c(_0x3f1b55))],ie);var Ci=Object[_0x4c8ad2(0x122)],Ei=(_0x5b4468,_0x474539,_0x3cb9b3,_0x3bdee3)=>{const _0x508966=_0x4c8ad2;for(var _0x453811=_0x3bdee3>0x1?void 0x0:_0x3bdee3?Ci(_0x474539,_0x3cb9b3):_0x474539,_0x1b13d5=_0x5b4468[_0x508966(0x203)]-0x1,_0x249acc;_0x1b13d5>=0x0;_0x1b13d5--)(_0x249acc=_0x5b4468[_0x1b13d5])&&(_0x453811=_0x249acc(_0x453811)||_0x453811);return _0x453811;},Je=(_0x3cd2b4,_0x21d701)=>(_0x4a6fb,_0x1bbd3d)=>_0x21d701(_0x4a6fb,_0x1bbd3d,_0x3cd2b4);let Ne=class extends _0x5da5d3{constructor(_0x31938c,_0x292790){super(),this['_docClipboardService']=_0x31938c,this['_imageIoService']=_0x292790,this['_init']();}[_0x4c8ad2(0x1f7)](){const _0x18e5ab=_0x4c8ad2,_0x484b4b=this;this[_0x18e5ab(0x1b8)](this[_0x18e5ab(0x2cd)][_0x18e5ab(0x16f)]({'onBeforePasteImage':async _0x21a87c=>{const _0x1777dc=_0x18e5ab,_0x2e832e=await _0x484b4b[_0x1777dc(0x23c)][_0x1777dc(0x145)](_0x21a87c);return _0x2e832e?{'source':_0x2e832e[_0x1777dc(0x125)],'imageSourceType':_0x2e832e['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x441ec5),Je(0x1,_0x44033e)],Ne);const Ze=['purple.300',_0x4c8ad2(0x131),_0x4c8ad2(0x13d),_0x4c8ad2(0x1ee),_0x4c8ad2(0x153),_0x4c8ad2(0x29e)];class He extends _0x388847{constructor(){const _0x4e657c=_0x4c8ad2;super(...arguments),_(this,_0x4e657c(0x297),new Map()),_(this,_0x4e657c(0x1d9),0x0);}[_0x4c8ad2(0x280)](_0x53540d){const _0x27c656=_0x4c8ad2;if(this[_0x27c656(0x297)][_0x27c656(0x207)](_0x53540d))return this[_0x27c656(0x297)][_0x27c656(0x254)](_0x53540d);const _0x425614=Ze[this['_colorIndex']];return this[_0x27c656(0x1d9)]=(this[_0x27c656(0x1d9)]+0x1)%Ze['length'],this[_0x27c656(0x297)]['set'](_0x53540d,_0x425614),_0x425614;}}function Mt(_0x3ccbb4){const _0x48863b=_0x4c8ad2;let _0x1c14c9='';for(const _0x207864 of _0x3ccbb4){const {startOffset:_0x49d9a4,endOffset:_0x14626b,isActive:_0x48e0fa,rangeType:_0x2eb59c,segmentId:_0x4d9115,segmentPage:_0x1b307e}=_0x207864;_0x1c14c9[_0x48863b(0x203)]&&(_0x1c14c9+=','),_0x1c14c9+=_0x49d9a4+':'+_0x14626b+':'+(_0x48e0fa?'1':'0')+':'+_0x2eb59c+':'+_0x4d9115+':'+_0x1b307e;}return _0x1c14c9;}function Oi(_0x8edd1f){const _0x1c70d3=_0x4c8ad2,_0x426d84=_0x8edd1f['split'](','),_0x2d93bd=[];for(const _0x24a089 of _0x426d84){const [_0x3c3b7c,_0x1edcdd,_0x11c88b,_0x6c80e3,_0xa460fe,_0x4b86ac]=_0x24a089[_0x1c70d3(0x306)](':');_0x2d93bd[_0x1c70d3(0x171)]({'startOffset':Number(_0x3c3b7c),'endOffset':Number(_0x1edcdd),'collapsed':_0x3c3b7c===_0x1edcdd,'isActive':_0x11c88b==='1','rangeType':_0x6c80e3===_0x5105b5[_0x1c70d3(0x2a5)]?_0x5105b5[_0x1c70d3(0x2a5)]:_0x5105b5[_0x1c70d3(0x20b)],'segmentId':typeof _0xa460fe=='string'?String(_0xa460fe):'','segmentPage':Number(_0x4b86ac!=null?_0x4b86ac:-0x1)});}return _0x2d93bd['some'](_0x271c33=>_0x271c33['isActive'])||(_0x2d93bd[0x0]['isActive']=!0x0),_0x2d93bd;}class Fe extends _0x5da5d3{constructor(){const _0x2c2cd6=_0x4c8ad2;super(...arguments),_(this,'_collabCursorState$',new _0x2c7c6b(null)),_(this,_0x2c2cd6(0x1df),this['_collabCursorState$'][_0x2c2cd6(0x205)]());}[_0x4c8ad2(0x1f9)](_0x50df44){const _0x4d21bf=_0x4c8ad2,{unitID:_0x17263a,memberID:_0x492258,textRanges:_0x19e1fc}=_0x50df44,_0x4eec44=Mt(_0x19e1fc);if(_0x4eec44==='')return;const _0x2b2149={'unitID':_0x17263a,'memberID':_0x492258,'selection':_0x4eec44};this['_collabCursorState$'][_0x4d21bf(0x17c)](_0x2b2149);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x22925f,_0x235452,_0x24c239,_0x503be3)=>{const _0x8715b=_0x4c8ad2;for(var _0x13ff56=_0x503be3>0x1?void 0x0:_0x503be3?bi(_0x235452,_0x24c239):_0x235452,_0x133b56=_0x22925f[_0x8715b(0x203)]-0x1,_0x547d64;_0x133b56>=0x0;_0x133b56--)(_0x547d64=_0x22925f[_0x133b56])&&(_0x13ff56=_0x547d64(_0x13ff56)||_0x13ff56);return _0x13ff56;},P=(_0x11db7e,_0x511db5)=>(_0x408e4f,_0x163428)=>_0x511db5(_0x408e4f,_0x163428,_0x11db7e);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5da5d3{constructor(_0x428679,_0x374718,_0x3bb51e,_0x1afd7d,_0x8493a,_0x2bb475,_0x13e00b,_0x2b8db2,_0x3a177d){const _0x120404=_0x4c8ad2;super(),_(this,_0x120404(0x178),!0x1),_(this,_0x120404(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,_0x120404(0x1cc),this['_cursorInfo$'][_0x120404(0x205)]()),_(this,'_roomMembers$',new _0x2c7c6b([])),_(this,_0x120404(0x2bd),this[_0x120404(0x1be)][_0x120404(0x189)](_0x4e3222(Ri))),_(this,'_updateLocalCursor',_0x41d8fd(_0x51bc52=>{const _0x143036=_0x120404,_0x4953d6={'eventID':_0x102a5f['UPDATE_CURSOR'],'data':{'unitID':this[_0x143036(0x179)],'memberID':this['_session']['getMemberID'](),'selection':Mt(_0x51bc52)}};this[_0x143036(0x135)][_0x143036(0x15f)](_0x4953d6,this[_0x143036(0x179)]);},Di)),(this[_0x120404(0x179)]=_0x428679,this[_0x120404(0x135)]=_0x374718,this[_0x120404(0x2f1)]=_0x3bb51e,this['_colorAssignService']=_0x1afd7d,this[_0x120404(0x1ae)]=_0x8493a,this[_0x120404(0x1f2)]=_0x2bb475,this[_0x120404(0x288)]=_0x13e00b,this['_univerInstanceService']=_0x2b8db2,this['_commandService']=_0x3a177d);}get['cursorInfo'](){const _0x4ff637=_0x4c8ad2;return this[_0x4ff637(0x290)][_0x4ff637(0x302)]();}get['roomMembers'](){const _0xc1fab4=_0x4c8ad2;return this[_0xc1fab4(0x1be)]['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x1d8250=_0x4c8ad2;super[_0x1d8250(0x1f1)](),this[_0x1d8250(0x290)][_0x1d8250(0x17c)](new Map()),this['_cursorInfo$'][_0x1d8250(0x128)](),this[_0x1d8250(0x1be)]['next']([]),this[_0x1d8250(0x1be)]['complete']();}['init'](){const _0x460786=_0x4c8ad2;this[_0x460786(0x1f7)]||(this['_init']=!0x0,this['_session'][_0x460786(0x215)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x5b4ba5=>{const _0x578781=_0x460786;_0x5b4ba5===_0x3eb07c[_0x578781(0x2e0)]?this[_0x578781(0x2d4)]():this['_toggleOffline']();}),this[_0x460786(0x135)][_0x460786(0x2c0)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))[_0x460786(0x11d)](_0x21c682=>{const _0x3f6242=_0x460786,_0x27af21=_0x21c682[_0x3f6242(0x1b7)];_0x27af21===_0x102a5f[_0x3f6242(0x1ef)]&&this[_0x3f6242(0x2c1)](_0x21c682),_0x27af21===_0x102a5f[_0x3f6242(0x20e)]&&this[_0x3f6242(0x141)](_0x21c682);}),this[_0x460786(0x1b8)](this['_commandService'][_0x460786(0x241)](_0x5acf31=>{const _0x5b8690=_0x460786,_0xe44a37=_0x5acf31['params'];_0xe44a37!=null&&this[_0x5b8690(0x178)]&&_0x5acf31['id']===_0x34ebbe['id']&&_0xe44a37['unitId']===this[_0x5b8690(0x179)]&&_0xe44a37[_0x5b8690(0x190)]===!0x1&&_0xe44a37['ranges']['length']>0x0&&this[_0x5b8690(0x154)](_0xe44a37[_0x5b8690(0x2e6)]);})),this[_0x460786(0x1f2)][_0x460786(0x1df)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x1024dd=>{const _0x5e145a=_0x460786;if((_0x1024dd==null?void 0x0:_0x1024dd[_0x5e145a(0x179)])!==this['unitID'])return;const _0xc72a2={'eventID':_0x102a5f[_0x5e145a(0x1ef)],'data':_0x1024dd};this[_0x5e145a(0x2c1)](_0xc72a2);}),this[_0x460786(0x1b8)](this[_0x460786(0x276)][_0x460786(0x241)](_0x333552=>{const _0x35c0c6=_0x460786;if(_0x333552[_0x35c0c6(0x11b)]==null)return;const _0x3c2088=_0x333552[_0x35c0c6(0x11b)];if(_0x333552['id']!==_0x58395c['id']||_0x3c2088['unitId']!==this[_0x35c0c6(0x179)])return;const _0x32c1dc={'id':_0x35c0c6(0x1f6),'params':_0x3c2088},_0xc31dc9=this['cursorInfo'];for(const [_0x3d27c5,_0x5d66f1]of _0xc31dc9){const _0x539629={'id':_0x35c0c6(0x1f6),'params':{'unitId':this[_0x35c0c6(0x179)],'actions':null,'textRanges':_0x5d66f1[_0x35c0c6(0x2e6)]}},_0x449500=this[_0x35c0c6(0x288)][_0x35c0c6(0x163)](_0x32c1dc,_0x539629,!0x1);if(_0x5cbe5a(_0x449500))throw _0x449500[_0x35c0c6(0x1ff)];_0xc31dc9['set'](_0x3d27c5,{..._0x5d66f1,'ranges':_0x449500['m2Prime']['params'][_0x35c0c6(0x2d2)]});}queueMicrotask(()=>{const _0x40249f=_0x35c0c6;this['_cursorInfo$'][_0x40249f(0x17c)](_0xc31dc9);});})));}[_0x4c8ad2(0x2c1)](_0x3dd8ec){const _0x3ff85c=_0x4c8ad2;var _0x3f0d04,_0x1fa157;const {memberID:_0xd64995,selection:_0x2cd7bd}=_0x3dd8ec[_0x3ff85c(0x2a9)],_0x2ee024=Oi(_0x2cd7bd),_0x1d0d2d=(_0x1fa157=(_0x3f0d04=this['_memberService'][_0x3ff85c(0x1ea)](this[_0x3ff85c(0x179)],_0xd64995))==null?void 0x0:_0x3f0d04[_0x3ff85c(0x132)])!=null?_0x1fa157:_0x3ff85c(0x20a),_0x3dda83={'color':this[_0x3ff85c(0x174)]['assignAColorForMemberID'](_0xd64995),'name':_0x1d0d2d,'ranges':_0x2ee024},_0x3b36d6=this[_0x3ff85c(0x1e2)];_0x3b36d6[_0x3ff85c(0x12a)](_0xd64995,_0x3dda83),this[_0x3ff85c(0x290)]['next'](_0x3b36d6);}[_0x4c8ad2(0x141)](_0x334a4b){const _0x442963=_0x4c8ad2,{memberID:_0x449831}=_0x334a4b['data'],_0x4a15db=this[_0x442963(0x1e2)];_0x4a15db[_0x442963(0x14a)](_0x449831),this[_0x442963(0x290)][_0x442963(0x17c)](_0x4a15db);}[_0x4c8ad2(0x2d4)](){const _0x4c777b=_0x4c8ad2;var _0xfa0851;if(this[_0x4c777b(0x178)]=!0x0,((_0xfa0851=this[_0x4c777b(0x1c8)][_0x4c777b(0x305)]())==null?void 0x0:_0xfa0851[_0x4c777b(0x2c7)]())!==this[_0x4c777b(0x179)])return;const _0x5825eb=this[_0x4c777b(0x2f1)][_0x4c777b(0x254)](_0x412aa6)[_0x4c777b(0x160)]();Array['isArray'](_0x5825eb)&&_0x5825eb[_0x4c777b(0x203)]>0x0&&this['_updateLocalCursor'](_0x5825eb);}['_toggleOffline'](){const _0x5b7309=_0x4c8ad2;this[_0x5b7309(0x178)]=!0x1;}};Ue=Ti([P(0x2,_0xf17c52(_0x14a08a)),P(0x3,_0xf17c52(He)),P(0x4,_0xf17c52(_0xa5d6f3)),P(0x5,_0xf17c52(Fe)),P(0x6,_0x461df4),P(0x7,_0x267da8),P(0x8,_0x232566)],Ue);var Ni=Object[_0x4c8ad2(0x122)],Ui=(_0x301e4e,_0x350909,_0x14ed6a,_0x449f86)=>{const _0x5dcb13=_0x4c8ad2;for(var _0x2fe598=_0x449f86>0x1?void 0x0:_0x449f86?Ni(_0x350909,_0x14ed6a):_0x350909,_0x40300a=_0x301e4e[_0x5dcb13(0x203)]-0x1,_0x27bb50;_0x40300a>=0x0;_0x40300a--)(_0x27bb50=_0x301e4e[_0x40300a])&&(_0x2fe598=_0x27bb50(_0x2fe598)||_0x2fe598);return _0x2fe598;},x=(_0x4c4c1d,_0x527d31)=>(_0xc94ade,_0x3d4708)=>_0x527d31(_0xc94ade,_0x3d4708,_0x4c4c1d);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x59b253=[],_0x2d7601=!0x1;return _0x512395=>{_0x59b253['push'](_0x512395),_0x2d7601||(_0x2d7601=!0x0,setTimeout(()=>{_0x59b253['forEach'](_0x14d12b=>_0x14d12b()),_0x59b253=[],_0x2d7601=!0x1;}));};};let Me=class extends _0x5da5d3{constructor(_0x2ea7d8,_0x4ba55e,_0x80c999,_0x21a9d5,_0x2ae7d6,_0x5c85e7,_0x51354e,_0x4f35b1){const _0x4c8290=_0x4c8ad2;super(),_(this,_0x4c8290(0x178),!0x1),_(this,_0x4c8290(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,'cursorInfo$',this[_0x4c8290(0x290)][_0x4c8290(0x205)]()),_(this,_0x4c8290(0x1be),new _0x2c7c6b([])),_(this,_0x4c8290(0x2bd),this[_0x4c8290(0x1be)][_0x4c8290(0x189)](_0x4e3222(Mi))),_(this,_0x4c8290(0x154),_0x41d8fd((_0x5eb4ec,_0x4ad8a9)=>{const _0x3e4da0=_0x4c8290,_0x3f109e={'eventID':_0x102a5f[_0x3e4da0(0x1ef)],'data':{'unitID':this[_0x3e4da0(0x179)],'memberID':this['_session'][_0x3e4da0(0x1b0)](),'selection':_0x5e839d(_0x5eb4ec,_0x4ad8a9[_0x3e4da0(0x142)])}};this[_0x3e4da0(0x135)][_0x3e4da0(0x15f)](_0x3f109e,this[_0x3e4da0(0x179)]);},Li)),(this[_0x4c8290(0x179)]=_0x2ea7d8,this[_0x4c8290(0x135)]=_0x4ba55e,this[_0x4c8290(0x2f1)]=_0x80c999,this[_0x4c8290(0x174)]=_0x21a9d5,this['_memberService']=_0x2ae7d6,this[_0x4c8290(0x1c8)]=_0x5c85e7,this[_0x4c8290(0x276)]=_0x51354e,this['_refRangeService']=_0x4f35b1);}get[_0x4c8ad2(0x1e2)](){const _0x27dd61=_0x4c8ad2;return this[_0x27dd61(0x290)][_0x27dd61(0x302)]();}get[_0x4c8ad2(0x243)](){return this['_roomMembers$']['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x3bda0d=_0x4c8ad2;super[_0x3bda0d(0x1f1)](),this[_0x3bda0d(0x290)][_0x3bda0d(0x17c)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x3bda0d(0x1be)]['complete']();}[_0x4c8ad2(0x15c)](){const _0x4691a1=_0x4c8ad2;this[_0x4691a1(0x1f7)]||(this[_0x4691a1(0x1f7)]=!0x0,this[_0x4691a1(0x135)][_0x4691a1(0x215)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x272b07=>{const _0x5b593f=_0x4691a1;_0x272b07===_0x3eb07c[_0x5b593f(0x2e0)]?this[_0x5b593f(0x2d4)]():this[_0x5b593f(0x2a0)]();}),this[_0x4691a1(0x135)][_0x4691a1(0x2c0)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x294faf=>{const _0x4aea10=_0x4691a1,_0x598e21=_0x294faf[_0x4aea10(0x1b7)];_0x598e21===_0x102a5f[_0x4aea10(0x1ef)]&&this[_0x4aea10(0x2c1)](_0x294faf),_0x598e21===_0x102a5f[_0x4aea10(0x20e)]&&this[_0x4aea10(0x141)](_0x294faf);}),this['_onRefRangeChange'](),this[_0x4691a1(0x1b8)](this[_0x4691a1(0x276)][_0x4691a1(0x241)](_0x491e6b=>{const _0x45af50=_0x4691a1;if(this[_0x45af50(0x178)]&&_0x491e6b['id']===_0x147245['id']&&_0x491e6b['params']['unitId']===this['unitID']){const _0x5b7617=_0x491e6b[_0x45af50(0x11b)];this[_0x45af50(0x154)](_0x5b7617[_0x45af50(0x256)],_0x5b7617[_0x45af50(0x2b4)][0x0]);}})));}[_0x4c8ad2(0x2c1)](_0xbd2bcc){const _0x20b6c1=_0x4c8ad2;var _0x32922b,_0x5da0d8;const {memberID:_0x8c34aa,selection:_0x1604b0}=_0xbd2bcc[_0x20b6c1(0x2a9)],{sheetName:_0x4d45ae,range:_0x1f6cdd}=_0x13ab72(_0x1604b0),_0x5ae504={'name':(_0x5da0d8=(_0x32922b=this['_memberService'][_0x20b6c1(0x1ea)](this[_0x20b6c1(0x179)],_0x8c34aa))==null?void 0x0:_0x32922b[_0x20b6c1(0x132)])!=null?_0x5da0d8:'Unknown\x20user','range':this[_0x20b6c1(0x11a)](_0x4d45ae,_0x1f6cdd),'sheetID':_0x4d45ae,'color':this[_0x20b6c1(0x174)][_0x20b6c1(0x280)](_0x8c34aa),'selection':_0x1604b0},_0x281656=this[_0x20b6c1(0x1e2)];_0x281656[_0x20b6c1(0x12a)](_0x8c34aa,_0x5ae504),this['_cursorInfo$'][_0x20b6c1(0x17c)](_0x281656);}['_onCursorDelete'](_0x1da0e9){const _0xccc4fc=_0x4c8ad2,{memberID:_0xa64450}=_0x1da0e9[_0xccc4fc(0x2a9)],_0x48226a=this[_0xccc4fc(0x1e2)];_0x48226a[_0xccc4fc(0x14a)](_0xa64450),this[_0xccc4fc(0x290)][_0xccc4fc(0x17c)](_0x48226a);}[_0x4c8ad2(0x11a)](_0x16a4c6,_0x2070aa){const _0x5305a6=_0x4c8ad2;var _0x5b52a4,_0x5a7e29;const _0x35bf40=(_0x5a7e29=(_0x5b52a4=this[_0x5305a6(0x1c8)][_0x5305a6(0x1a4)](this[_0x5305a6(0x179)]))==null?void 0x0:_0x5b52a4[_0x5305a6(0x17f)](_0x16a4c6))==null?void 0x0:_0x5a7e29['getMergeData']();return(_0x35bf40==null?void 0x0:_0x35bf40['find'](_0x5c1aed=>_0x3ceb29[_0x5305a6(0x1d3)](_0x5c1aed,_0x2070aa)))||_0x2070aa;}[_0x4c8ad2(0x148)](){const _0x5d7377=_0x4c8ad2,_0x20bfd7=new _0x16f850(),_0xc043af=Pi(),_0x1c8045=()=>{const _0x1eb7bc=_0x1a2b;_0x20bfd7['dispose']();const _0x3c2a1d=(_0x46b974,_0x3118e8,_0xca0d2c,_0xae02a5)=>{const _0xf86959=_0x1a2b;let _0x59d047=[];switch(_0x46b974['id']){case _0x38bf57[_0xf86959(0x2ee)]:{_0x59d047=_0x1a5d80(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x192)]:{_0x59d047=_0x537b49(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x26d)]:{_0x59d047=_0x550b87(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x11c)]:{_0x59d047=_0x19e277(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x247)]:{_0x59d047=_0x360ad7(_0x46b974,_0xae02a5);break;}case _0x38bf57['InsertRowCommandId']:{_0x59d047=_0x247376(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x24c)]:{_0x59d047=_0x1d0c1d(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x218)]:{_0x59d047=_0x28f6ee(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x1c5)]:{_0x59d047=_0xb76994(_0x46b974,_0xae02a5);break;}}const _0x1cbd6a=_0x32f10b(_0x59d047,_0xae02a5),_0x152421=this['cursorInfo']['get'](_0x3118e8);if(_0x152421&&_0x1cbd6a){const _0x4661ed={..._0x152421,'range':_0x1cbd6a};this[_0xf86959(0x1e2)][_0xf86959(0x12a)](_0x3118e8,_0x4661ed),_0xc043af(()=>{const _0x2b3c19=_0xf86959,_0x56bf4c=this[_0x2b3c19(0x187)][_0x2b3c19(0x2ac)](_0x1cbd6a,_0x2f22ef=>(_0x56bf4c[_0x2b3c19(0x1f1)](),_0x3c2a1d(_0x2f22ef,_0x3118e8,_0xca0d2c,_0x1cbd6a)));_0x20bfd7[_0x2b3c19(0x2a6)](_0x56bf4c);});}return{'redos':[],'undos':[]};};this[_0x1eb7bc(0x1e2)][_0x1eb7bc(0x1db)]((_0x28f5d4,_0x2c5e03)=>{const _0x1dc945=_0x1eb7bc,{range:_0x18418f,sheetID:_0x12d53a}=_0x28f5d4,_0x18f48d=this['_refRangeService'][_0x1dc945(0x2ac)](_0x18418f,_0x371b42=>(_0x18f48d[_0x1dc945(0x1f1)](),_0x3c2a1d(_0x371b42,_0x2c5e03,_0x12d53a,_0x18418f)));_0x20bfd7['add'](_0x18f48d);});};this[_0x5d7377(0x1b8)](_0x5d9642(this[_0x5d7377(0x290)][_0x5d7377(0x11d)](()=>{_0x1c8045();})));}['_toggleOnline'](){const _0x492401=_0x4c8ad2;var _0x36f984,_0x52e502;if(this['_online']=!0x0,((_0x36f984=this[_0x492401(0x1c8)]['getFocusedUnit']())==null?void 0x0:_0x36f984[_0x492401(0x2c7)]())!==this[_0x492401(0x179)])return;const _0x158f80=(_0x52e502=this['_injector'][_0x492401(0x254)](_0x52066a)[_0x492401(0x197)]())==null?void 0x0:_0x52e502[0x0],_0x5d8b1c=this[_0x492401(0x1c8)][_0x492401(0x1f3)](_0x20dac5['UNIVER_SHEET'])[_0x492401(0x188)]();_0x158f80&&_0x5d8b1c&&this[_0x492401(0x154)](_0x5d8b1c[_0x492401(0x2af)](),_0x158f80);}[_0x4c8ad2(0x2a0)](){const _0x49a660=_0x4c8ad2;this[_0x49a660(0x178)]=!0x1;}};Me=Ui([x(0x2,_0xf17c52(_0x14a08a)),x(0x3,_0xf17c52(He)),x(0x4,_0xf17c52(_0xa5d6f3)),x(0x5,_0x267da8),x(0x6,_0x232566),x(0x7,_0xf17c52(_0x37b921))],Me);var wi=Object[_0x4c8ad2(0x122)],Ai=(_0x2a311d,_0x32d8aa,_0x517c69,_0x3aa1d2)=>{for(var _0x23519e=_0x3aa1d2>0x1?void 0x0:_0x3aa1d2?wi(_0x32d8aa,_0x517c69):_0x32d8aa,_0x2bbda0=_0x2a311d['length']-0x1,_0x57a90e;_0x2bbda0>=0x0;_0x2bbda0--)(_0x57a90e=_0x2a311d[_0x2bbda0])&&(_0x23519e=_0x57a90e(_0x23519e)||_0x23519e);return _0x23519e;},me=(_0x194402,_0x361ac4)=>(_0x19c9e1,_0x4d209c)=>_0x361ac4(_0x19c9e1,_0x4d209c,_0x194402);let F=class extends _0x5da5d3{constructor(_0x752877,_0x4cc9f9,_0x591c92){const _0x4255ef=_0x4c8ad2;super(),_(this,'_entities',new Map()),_(this,_0x4255ef(0x267),new _0x3d4b2e()),(this['_univerInstanceService']=_0x752877,this[_0x4255ef(0x2f1)]=_0x4cc9f9,this[_0x4255ef(0x14e)]=_0x591c92,this[_0x4255ef(0x1f7)]());}[_0x4c8ad2(0x1f1)](){const _0x1766a9=_0x4c8ad2;super[_0x1766a9(0x1f1)](),this[_0x1766a9(0x267)][_0x1766a9(0x128)](),this[_0x1766a9(0x2d9)][_0x1766a9(0x1db)](_0x295548=>_0x295548['dispose']());}[_0x4c8ad2(0x2da)](_0x16a7fb){const _0x5b5231=_0x4c8ad2;return this['_entities'][_0x5b5231(0x207)](_0x16a7fb)?this[_0x5b5231(0x2d9)][_0x5b5231(0x254)](_0x16a7fb)[_0x5b5231(0x1cc)]:this['_entityInit$']['pipe'](_0x55f630(_0x2b76e7=>_0x2b76e7['unitID']===_0x16a7fb),_0x4eb1c8(_0x2f788f=>_0x2f788f['cursorInfo$']));}[_0x4c8ad2(0x1f7)](){const _0x2e3f02=_0x4c8ad2;this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x225)])[_0x2e3f02(0x189)](_0x1b892a(this[_0x2e3f02(0x298)]))['subscribe'](async _0x43c62d=>{const _0xf241ab=_0x2e3f02,_0x5de6bc=_0x43c62d[_0xf241ab(0x2c7)](),_0x4a981a=await this[_0xf241ab(0x196)](_0x5de6bc);this[_0xf241ab(0x267)][_0xf241ab(0x17c)](_0x4a981a),this[_0xf241ab(0x2d9)]['set'](_0x5de6bc,_0x4a981a);}),this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x159)])['pipe'](_0x1b892a(this[_0x2e3f02(0x298)]))[_0x2e3f02(0x189)](_0x55f630(_0xa0cae2=>!_0xa0cae2['getUnitId']()[_0x2e3f02(0x23a)]('__')))[_0x2e3f02(0x11d)](async _0x583f3a=>{const _0x40fe70=_0x2e3f02,_0x23c170=_0x583f3a['getUnitId'](),_0x4a2526=await this[_0x40fe70(0x124)](_0x23c170);this['_entityInit$'][_0x40fe70(0x17c)](_0x4a2526),this[_0x40fe70(0x2d9)]['set'](_0x23c170,_0x4a2526);}),_0x553a69(this[_0x2e3f02(0x1c8)][_0x2e3f02(0x1b6)](_0x20dac5[_0x2e3f02(0x159)]),this[_0x2e3f02(0x1c8)]['getTypeOfUnitDisposed$'](_0x20dac5['UNIVER_SHEET']))[_0x2e3f02(0x189)](_0x1b892a(this['dispose$']))['subscribe'](_0x1f5910=>{const _0x12a294=_0x2e3f02,_0x19d2a6=_0x1f5910[_0x12a294(0x2c7)](),_0x2f8226=this['_entities'][_0x12a294(0x254)](_0x19d2a6);_0x2f8226&&(_0x2f8226[_0x12a294(0x1f1)](),this[_0x12a294(0x2d9)]['delete'](_0x19d2a6));});}async[_0x4c8ad2(0x196)](_0x3de07a){const _0x2a26bd=_0x4c8ad2,_0x3d03ac=await this[_0x2a26bd(0x14e)][_0x2a26bd(0x272)](_0x3de07a),_0x27ed6b=this['_injector'][_0x2a26bd(0x182)](Me,_0x3de07a,_0x3d03ac);return _0x27ed6b[_0x2a26bd(0x15c)](),_0x27ed6b;}async[_0x4c8ad2(0x124)](_0x13961b){const _0x2509f5=_0x4c8ad2,_0x47034b=await this[_0x2509f5(0x14e)][_0x2509f5(0x272)](_0x13961b),_0x46449a=this['_injector'][_0x2509f5(0x182)](Ue,_0x13961b,_0x47034b);return _0x46449a[_0x2509f5(0x15c)](),_0x46449a;}};F=Ai([me(0x0,_0x267da8),me(0x1,_0xf17c52(_0x14a08a)),me(0x2,_0xf17c52(_0x15bdfc))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x520ac0,_0x38698b){const _0x442776=_0x4c8ad2;let {radius:_0x45cc16,width:_0x161605,height:_0x63e17b}=_0x38698b;_0x45cc16=_0x45cc16!=null?_0x45cc16:0x0,_0x161605=_0x161605!=null?_0x161605:0x1e,_0x63e17b=_0x63e17b!=null?_0x63e17b:0x1e;let _0xff991c=0x0,_0x212c43=0x0,_0xf5273=0x0;_0xff991c=_0x212c43=_0xf5273=Math[_0x442776(0x17e)](_0x45cc16,_0x161605/0x2,_0x63e17b/0x2),_0x520ac0['beginPath'](),_0x520ac0[_0x442776(0x213)](_0xff991c,0x0),_0x520ac0[_0x442776(0x201)](_0x161605-_0x212c43,0x0),_0x520ac0['arc'](_0x161605-_0x212c43,_0x212c43,_0x212c43,Math['PI']*0x3/0x2,0x0,!0x1),_0x520ac0[_0x442776(0x201)](_0x161605,_0x63e17b-_0xf5273),_0x520ac0[_0x442776(0x278)](_0x161605-_0xf5273,_0x63e17b-_0xf5273,_0xf5273,0x0,Math['PI']/0x2,!0x1),_0x520ac0[_0x442776(0x201)](0x0,_0x63e17b),_0x520ac0[_0x442776(0x201)](0x0,_0xff991c),_0x520ac0['arc'](_0xff991c,_0xff991c,_0xff991c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x520ac0[_0x442776(0x11e)](),_0x38698b['fill']&&(_0x520ac0[_0x442776(0x240)](),_0x520ac0[_0x442776(0x26a)]=_0x38698b[_0x442776(0x13e)],_0x38698b['fillRule']===_0x442776(0x186)?_0x520ac0['fill'](_0x442776(0x186)):_0x520ac0['fill'](),_0x520ac0[_0x442776(0x2fe)]());}class ue extends _0xbd1e50{constructor(_0x3253b8,_0x85a5e4){const _0x5ccd0e=_0x4c8ad2;super(_0x3253b8,_0x85a5e4),_(this,_0x5ccd0e(0x1b9)),_(this,_0x5ccd0e(0x2e1)),(this[_0x5ccd0e(0x1b9)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x1b9)],this[_0x5ccd0e(0x2e1)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x2e1)]);}static[_0x4c8ad2(0x1c2)](_0x11ed57,_0x7f0137){const _0x328e30=_0x4c8ad2,{text:_0x3abfda,color:_0xaa3304}=_0x7f0137;_0x11ed57[_0x328e30(0x240)](),_0x11ed57[_0x328e30(0x1e3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1054ca=_0x11ed57['measureText'](_0x3abfda)['width'],_0x50cdcc=Math[_0x328e30(0x17e)](_0x1054ca+0x2*Ie,Qe);$i(_0x11ed57,{'height':J,'radius':0x4,'width':_0x50cdcc,'fill':_0xaa3304}),_0x11ed57[_0x328e30(0x26a)]=_0x328e30(0x1da);const _0x3efce5=Ie,_0x1ecf0e=J-yi,_0x1a0f4b=Qe-0x2*Ie;if(_0x1054ca>_0x1a0f4b){let _0x289e3b='',_0x431e5b=0x0;for(const _0x1235c8 of _0x3abfda){const _0x617b96=_0x11ed57[_0x328e30(0x303)](_0x1235c8)['width'];if(_0x431e5b+_0x617b96<=_0x1a0f4b-_0x11ed57[_0x328e30(0x303)](_0x328e30(0x2c9))[_0x328e30(0x273)])_0x289e3b+=_0x1235c8,_0x431e5b+=_0x617b96;else{_0x289e3b+=_0x328e30(0x2c9);break;}}_0x11ed57[_0x328e30(0x257)](_0x289e3b,_0x3efce5,_0x1ecf0e);}else _0x11ed57[_0x328e30(0x257)](_0x3abfda,_0x3efce5,_0x1ecf0e);_0x11ed57[_0x328e30(0x2fe)]();}[_0x4c8ad2(0x200)](_0x3675f7){const _0x375eaa=_0x4c8ad2;ue[_0x375eaa(0x1c2)](_0x3675f7,this);}}const ve='collab-text-anchor-',xi=_0x4c8ad2(0x10d),Bi=_0x4c8ad2(0x1c0),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x4c8ad2(0x1a8);class qe{constructor(_0xf1adab,_0x20925b,_0x4e017a,_0x377376){const _0x1b13c6=_0x4c8ad2;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x1b13c6(0x2b8),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x1b13c6(0x146),null),(this['_cursor']=_0xf1adab,this[_0x1b13c6(0x293)]=_0x20925b,this[_0x1b13c6(0x283)]=_0x4e017a,this[_0x1b13c6(0x226)]=_0x377376,this[_0x1b13c6(0x210)]());}set['_hover'](_0x379866){const _0x6956bc=_0x4c8ad2;_0x379866?(this[_0x6956bc(0x1d6)]&&this['_anchorDot'][_0x6956bc(0x258)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)]['show']()):(this[_0x6956bc(0x1d6)]&&this[_0x6956bc(0x1d6)][_0x6956bc(0x26b)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)][_0x6956bc(0x258)]());}['dispose'](){const _0x1c1e92=_0x4c8ad2;for(const _0x453a6c of this[_0x1c1e92(0x156)])_0x453a6c[_0x1c1e92(0x1f1)]();this[_0x1c1e92(0x2b8)]&&this[_0x1c1e92(0x2b8)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1d6)]&&this[_0x1c1e92(0x1d6)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1ac)]&&this['_anchor'][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x146)]&&this['_eventUnsubscribe']();}[_0x4c8ad2(0x210)](){const _0x5823c8=_0x4c8ad2;var _0x27507a;const {_docSkeleton:_0x1aea93,_document:_0x47ea14}=this,{color:_0x527242,name:_0x3450d0,ranges:_0x3960c0}=this['_cursor'],_0x549489=_0x47ea14[_0x5823c8(0x134)](),{docsLeft:_0xab5c50,docsTop:_0x308ee9}=_0x549489,_0x4e2de8=new _0x262416(_0x549489,_0x1aea93);for(const {startOffset:_0x1d19fa,endOffset:_0x5f014e,rangeType:_0x17f792,segmentId:_0x5dd423,segmentPage:_0x4d86b4,collapsed:_0x53eea0,isActive:_0x3bf118}of _0x3960c0){const _0x4086fb=_0x1aea93[_0x5823c8(0x1a3)](_0x1d19fa,!0x0,_0x5dd423,_0x4d86b4);let _0x3f997e=_0x1aea93[_0x5823c8(0x1a3)](_0x5f014e,!0x0,_0x5dd423,_0x4d86b4);if(_0x3f997e==null&&(_0x3f997e=_0x1aea93['findNodePositionByCharIndex'](_0x5f014e-0x1,!0x1,_0x5dd423,_0x4d86b4)),_0x3bf118){const {contentBoxPointGroup:_0x443b33}=_0x4e2de8[_0x5823c8(0x204)](_0x3f997e,_0x3f997e);if(_0x443b33[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x26e)](_0x527242,_0x443b33,_0xab5c50,_0x308ee9,_0x3450d0),this['_eventUnsubscribe']=this[_0x5823c8(0x1ad)]();}if(_0x4086fb&&_0x3f997e){if(_0x17f792===_0x5105b5['RECT']){const _0x5048a8=new _0xbc31f3(_0x549489,_0x1aea93),{pointGroup:_0x32d078}=(_0x27507a=_0x5048a8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e))!=null?_0x27507a:{};if(_0x32d078==null||_0x32d078[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x1ce)](_0x527242,_0x32d078,_0xab5c50,_0x308ee9);}else{if(!_0x53eea0){const {borderBoxPointGroup:_0x1e3c0a}=_0x4e2de8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e);if(_0x1e3c0a[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x25d)](_0x527242,_0x1e3c0a,_0xab5c50,_0x308ee9);}}}}}['_drawAnchor'](_0x2883e2,_0x1ecfc3,_0x41e8cc,_0x77b476,_0x4b4996){const _0x35f071=_0x4c8ad2,_0x473742=this[_0x35f071(0x129)](_0x1ecfc3),{left:_0x45a415,top:_0x24ac95,height:_0x54d9fe}=_0x473742,_0x11927d=this[_0x35f071(0x289)](),_0x3a3164=Hi/_0x11927d,_0x45ad4a=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476,'height':_0x54d9fe,'width':ki,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':_0x3a3164,'stroke':Fi,'evented':!0x0});this[_0x35f071(0x1ac)]=_0x45ad4a,this[_0x35f071(0x293)][_0x35f071(0x2d5)](_0x45ad4a,_0x5a9741);const _0x3b2335=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-ge/0x2,'height':ge,'width':ge,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'evented':!0x1});this[_0x35f071(0x1d6)]=_0x3b2335,this['_scene'][_0x35f071(0x2d5)](_0x3b2335,_0x5a9741);const _0x19e3cd=new ue(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-J,'text':_0x4b4996,'color':_0x2883e2});this['_textBubble']=_0x19e3cd,this['_scene'][_0x35f071(0x2d5)](_0x19e3cd,_0x5a9741),this[_0x35f071(0x265)]=!0x1;}[_0x4c8ad2(0x1ad)](){const _0x3dcab7=_0x4c8ad2,_0x1aa306=this[_0x3dcab7(0x1ac)]['onPointerEnter$'][_0x3dcab7(0x222)](()=>{this['_hover']=!0x0;}),_0x33685f=this[_0x3dcab7(0x1ac)][_0x3dcab7(0x2b3)][_0x3dcab7(0x222)](()=>{const _0x4f9c0a=_0x3dcab7;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4f9c0a(0x1eb)]=setTimeout(()=>{const _0x326ad6=_0x4f9c0a;this[_0x326ad6(0x265)]=!0x1;},0x7d0);});return()=>{const _0x464b06=_0x3dcab7;_0x1aa306[_0x464b06(0x137)](),_0x33685f['unsubscribe']();};}[_0x4c8ad2(0x25d)](_0x4c3b81,_0x2af390,_0xe8df2a,_0x385f9e){const _0x4bb2f6=_0x4c8ad2,_0x2fa6b0=new _0x2cb09e(_0x4c3b81)['setAlpha'](0.2)[_0x4bb2f6(0x1d8)](),_0x570ecd=new _0x38ffad(xi+_0x2ddacf(K),{'pointsGroup':_0x2af390,'fill':_0x2fa6b0||_0xdbc905(_0x104f50[_0x4bb2f6(0x1af)],0.2),'left':_0xe8df2a,'top':_0x385f9e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4bb2f6(0x156)]['push'](_0x570ecd),this['_scene'][_0x4bb2f6(0x2d5)](_0x570ecd,_0x5a9741);}['_drawRectRange'](_0x4f69ca,_0x14274c,_0x4413db,_0x5d1693){const _0x68920c=_0x4c8ad2,_0x45e54e=new _0x2cb09e(_0x4f69ca)[_0x68920c(0x18a)](0.2)[_0x68920c(0x1d8)](),_0x5c9344=new _0x38ffad(Bi+_0x2ddacf(K),{'pointsGroup':_0x14274c,'fill':_0x45e54e||_0xdbc905(_0x104f50[_0x68920c(0x1af)],0.2),'left':_0x4413db,'top':_0x5d1693,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x68920c(0x156)][_0x68920c(0x171)](_0x5c9344),this[_0x68920c(0x293)][_0x68920c(0x2d5)](_0x5c9344,_0x5a9741);}[_0x4c8ad2(0x129)](_0x465c6f){const _0x8f5aa6=_0x465c6f[0x0],_0x3ad7e1=_0x8f5aa6[0x0],_0x544328=_0x8f5aa6[0x2],{x:_0x54d4d3,y:_0x187045}=_0x3ad7e1,{x:_0x4ef894,y:_0x2a6853}=_0x544328;return{'left':_0x54d4d3,'top':_0x187045,'width':_0x4ef894-_0x54d4d3,'height':_0x2a6853-_0x187045};}[_0x4c8ad2(0x289)](){const _0x54bebd=_0x4c8ad2,{scaleX:_0x1f3923,scaleY:_0x83d9f4}=this[_0x54bebd(0x293)]['getAncestorScale']();return Math['max'](_0x1f3923,_0x83d9f4);}}var Yi=Object[_0x4c8ad2(0x122)],ji=(_0x4b4380,_0x2caf37,_0x33c773,_0xcfbc0a)=>{for(var _0x26b34a=_0xcfbc0a>0x1?void 0x0:_0xcfbc0a?Yi(_0x2caf37,_0x33c773):_0x2caf37,_0x4aa1f6=_0x4b4380['length']-0x1,_0x171906;_0x4aa1f6>=0x0;_0x4aa1f6--)(_0x171906=_0x4b4380[_0x4aa1f6])&&(_0x26b34a=_0x171906(_0x26b34a)||_0x26b34a);return _0x26b34a;},ee=(_0x3f370f,_0x220b81)=>(_0x3f47a7,_0x3b3187)=>_0x220b81(_0x3f47a7,_0x3b3187,_0x3f370f);let Le=class extends _0x5da5d3{constructor(_0x1d76de,_0x2636e3,_0x1ae268,_0x307925,_0x428710){const _0x330ee5=_0x4c8ad2;super(),_(this,_0x330ee5(0x121),[]),_(this,'_cursors',[]),(this['_context']=_0x1d76de,this['_docSkeletonManagerService']=_0x2636e3,this[_0x330ee5(0x2f0)]=_0x1ae268,this[_0x330ee5(0x276)]=_0x307925,this[_0x330ee5(0x19a)]=_0x428710,this[_0x330ee5(0x1f7)]());}['_init'](){const _0x241566=_0x4c8ad2,_0x4279ad=this[_0x241566(0x162)]['unitId'],_0x1b8cab=this[_0x241566(0x2a3)];this[_0x241566(0x1b8)](_0x4c7b20([this[_0x241566(0x2f0)][_0x241566(0x2da)](_0x4279ad),this[_0x241566(0x19a)][_0x241566(0x1a1)]])['pipe'](_0x205f1d(([_0x28d195,_0x30a11e])=>({'skeleton':_0x1b8cab[_0x241566(0x1bb)](),'cursors':[..._0x28d195[_0x241566(0x16a)]()][_0x241566(0x1e8)](_0x2fbcc3=>({..._0x2fbcc3,'color':this['_themeService'][_0x241566(0x2be)](_0x2fbcc3[_0x241566(0x1b9)])}))})))[_0x241566(0x11d)](_0x49e35b=>{const _0x276d0d=_0x241566;if(this[_0x276d0d(0x151)](),_0x49e35b){const {skeleton:_0xb72793,cursors:_0x47f816}=_0x49e35b;this[_0x276d0d(0x161)](_0xb72793,_0x47f816);}})),this[_0x241566(0x2bb)](),this['_initCommandExecutedListener']();}[_0x4c8ad2(0x161)](_0x276517,_0x407064){const _0x2ea76b=_0x4c8ad2,{scene:_0x1487ff,mainComponent:_0x3b4fcf}=this[_0x2ea76b(0x162)],_0x4d7ff2=_0x407064[_0x2ea76b(0x287)](_0x2f19ce=>new qe(_0x2f19ce,_0x1487ff,_0x276517,_0x3b4fcf));this[_0x2ea76b(0x121)]=_0x4d7ff2,this['_cursors']=_0x407064;}['_refreshCollabCursors'](){const _0x1b0f34=_0x4c8ad2;this[_0x1b0f34(0x151)]();const {scene:_0x16347c,mainComponent:_0x96f0e8}=this[_0x1b0f34(0x162)],_0x5a2861=this['_docSkeletonManagerService'][_0x1b0f34(0x1bb)](),_0x420fd6=this[_0x1b0f34(0x1ab)][_0x1b0f34(0x287)](_0x5009f7=>new qe(_0x5009f7,_0x16347c,_0x5a2861,_0x96f0e8));this[_0x1b0f34(0x121)]=_0x420fd6;}['_removeCollabCursors'](){const _0x2a88bb=_0x4c8ad2;this[_0x2a88bb(0x121)]['forEach'](_0x4f7316=>_0x4f7316[_0x2a88bb(0x1f1)]()),this['_cursorShapes']=[];}[_0x4c8ad2(0x2d0)](){const _0x4faccc=_0x4c8ad2,_0x3965e4=[_0x3774c2['id']];this['disposeWithMe'](this[_0x4faccc(0x276)][_0x4faccc(0x241)](_0x2972db=>{const _0x3bb574=_0x4faccc;_0x3965e4['includes'](_0x2972db['id'])&&_0x2972db['params'][_0x3bb574(0x259)]===this[_0x3bb574(0x162)][_0x3bb574(0x259)]&&this[_0x3bb574(0x172)]();}));}[_0x4c8ad2(0x2bb)](){const _0x9844bb=_0x4c8ad2;this[_0x9844bb(0x1b8)](_0x459619(this[_0x9844bb(0x162)][_0x9844bb(0x2ca)][_0x9844bb(0x2e8)])[_0x9844bb(0x189)](_0x397aa8(_0x43b287=>_0x43b287[_0x9844bb(0x1e1)]===_0x4e67c8[_0x9844bb(0x26c)]),_0x13c8d3(0x10))[_0x9844bb(0x11d)](()=>{const _0x3f399e=_0x9844bb;this[_0x3f399e(0x172)]();}));}};Le=ji([ee(0x1,_0xf17c52(_0x6fdb44)),ee(0x2,_0xf17c52(F)),ee(0x3,_0x232566),ee(0x4,_0xf17c52(_0x1cd76d))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0xbd1e50{constructor(_0x5e7ea1,_0x471ae7){const _0x4143da=_0x4c8ad2;super(_0x5e7ea1,_0x471ae7),_(this,_0x4143da(0x236)),_(this,'_hovered',!0x1),_(this,_0x4143da(0x2f3)),_(this,_0x4143da(0x10f),''),_(this,_0x4143da(0x21e),_0x4143da(0x1b2)),_(this,_0x4143da(0x130)),(_0x471ae7&&this['setShapeProps'](_0x471ae7),this[_0x4143da(0x1d7)]['subscribeEvent'](()=>this[_0x4143da(0x2d8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4143da(0x222)](()=>this[_0x4143da(0x2d8)]({'hovered':!0x1})));}['setShapeProps'](_0x29d769){const _0x1a6f39=_0x4c8ad2;var _0x546e8f,_0x3fe30b,_0x203f76,_0x3c79d9,_0xdaf947,_0x39b64b;this[_0x1a6f39(0x236)]=(_0x546e8f=_0x29d769[_0x1a6f39(0x1b9)])!=null?_0x546e8f:this[_0x1a6f39(0x236)],this[_0x1a6f39(0x1e7)]=(_0x3fe30b=_0x29d769[_0x1a6f39(0x13b)])!=null?_0x3fe30b:this['_hovered'],this[_0x1a6f39(0x2f3)]=(_0x203f76=_0x29d769[_0x1a6f39(0x142)])!=null?_0x203f76:this[_0x1a6f39(0x2f3)],this[_0x1a6f39(0x10f)]=(_0x3c79d9=_0x29d769[_0x1a6f39(0x132)])!=null?_0x3c79d9:this[_0x1a6f39(0x10f)],this[_0x1a6f39(0x21e)]=(_0xdaf947=_0x29d769['labelPosition'])!=null?_0xdaf947:this[_0x1a6f39(0x21e)],this[_0x1a6f39(0x130)]=(_0x39b64b=_0x29d769[_0x1a6f39(0x27a)])!=null?_0x39b64b:this[_0x1a6f39(0x130)],this[_0x1a6f39(0x248)]({'width':_0x29d769[_0x1a6f39(0x273)],'height':_0x29d769[_0x1a6f39(0x2cc)]});}[_0x4c8ad2(0x2bc)](_0x531ef1){const _0x19ca67=_0x4c8ad2,{row:_0x38867c,column:_0x528493}=_0x531ef1;if(_0x38867c>=this[_0x19ca67(0x2f3)]['startRow']&&_0x38867c<=this[_0x19ca67(0x2f3)]['endRow']&&_0x528493>=this[_0x19ca67(0x2f3)]['startColumn']&&_0x528493<=this[_0x19ca67(0x2f3)][_0x19ca67(0x2e9)]){this[_0x19ca67(0x2d8)]({'hovered':!0x0});return;}this[_0x19ca67(0x2d8)]({'hovered':!0x1});}['triggerDblclick'](_0x401232){return!0x1;}[_0x4c8ad2(0x200)](_0x1458e9){const _0x1f5250=_0x4c8ad2;_0x3c1b9e[_0x1f5250(0x1c2)](_0x1458e9,{'width':this[_0x1f5250(0x273)],'height':this[_0x1f5250(0x2cc)],'strokeWidth':Wi,'stroke':this[_0x1f5250(0x236)],'evented':!0x1,'fill':this[_0x1f5250(0x130)]}),this[_0x1f5250(0x1e7)]&&(_0x1458e9[_0x1f5250(0x240)](),_0x1458e9[_0x1f5250(0x2e3)](0x1,0x0,0x0,0x1,this[_0x1f5250(0x273)],this['_labelPosition']===_0x1f5250(0x244)?0x0:-J),ue[_0x1f5250(0x1c2)](_0x1458e9,{'text':this[_0x1f5250(0x10f)],'color':this[_0x1f5250(0x236)]}),_0x1458e9[_0x1f5250(0x2fe)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x2af5da,_0x4f10e6,_0x5388a1,_0x23ff09)=>{const _0x3fb4b6=_0x4c8ad2;for(var _0x1aaf87=_0x23ff09>0x1?void 0x0:_0x23ff09?Gi(_0x4f10e6,_0x5388a1):_0x4f10e6,_0x288a41=_0x2af5da[_0x3fb4b6(0x203)]-0x1,_0x479870;_0x288a41>=0x0;_0x288a41--)(_0x479870=_0x2af5da[_0x288a41])&&(_0x1aaf87=_0x479870(_0x1aaf87)||_0x1aaf87);return _0x1aaf87;},pe=(_0x5dcf2c,_0x5961a1)=>(_0x14a745,_0x45f145)=>_0x5961a1(_0x14a745,_0x45f145,_0x5dcf2c);const zi=0x1389;let Pe=class extends _0x5da5d3{constructor(_0x50517e,_0x179605,_0x41301d,_0x14f472){const _0x4f6ee7=_0x4c8ad2;super(),_(this,_0x4f6ee7(0x1ab),new Set()),_(this,'_lastPointer',null),(this[_0x4f6ee7(0x162)]=_0x50517e,this['_sheetSkeletonManagerService']=_0x179605,this['_collabCursorController']=_0x41301d,this[_0x4f6ee7(0x19a)]=_0x14f472,this[_0x4f6ee7(0x1f7)]());}['_init'](){const _0xc353b2=_0x4c8ad2;this[_0xc353b2(0x24b)]['currentSkeleton$'][_0xc353b2(0x189)](_0x49b1ed(this[_0xc353b2(0x298)]),_0x550ec3(_0x2735f4=>{const _0x7fa3e7=_0xc353b2;if(_0x2735f4){const _0x445639=_0x2735f4[_0x7fa3e7(0x223)];return _0x4c7b20(this[_0x7fa3e7(0x2f0)][_0x7fa3e7(0x2da)](this[_0x7fa3e7(0x162)][_0x7fa3e7(0x259)]),this[_0x7fa3e7(0x19a)]['currentTheme$'])['pipe'](_0x205f1d(([_0x37d12a,_0x4b3d09])=>{const _0x4d9077=new Map();return _0x37d12a['forEach']((_0x2c76fa,_0x130581)=>{const _0x1b9022=_0x1a2b;if(_0x2c76fa[_0x1b9022(0x28f)]===_0x445639){const _0x1e7799={..._0x2c76fa};_0x1e7799[_0x1b9022(0x1b9)]=this[_0x1b9022(0x19a)][_0x1b9022(0x2be)](_0x2c76fa['color']),_0x4d9077[_0x1b9022(0x12a)](_0x130581,_0x1e7799);}}),{'skeleton':_0x2735f4,'cursors':_0x4d9077};}));}return _0x27dea0({'skeleton':null,'cursors':new Map()});}))[_0xc353b2(0x11d)](({skeleton:_0x124342,cursors:_0x114a03})=>{const _0x31eebb=_0xc353b2;this['_removeCollabCursors'](),_0x124342&&this[_0x31eebb(0x161)](_0x124342,_0x114a03);}),this[_0xc353b2(0x24b)][_0xc353b2(0x111)][_0xc353b2(0x11d)](_0x1af883=>{const _0x3a0f0c=_0xc353b2;if(_0x1af883==null)return;const {skeleton:_0xec7a49}=_0x1af883,{scene:_0x39c124}=this[_0x3a0f0c(0x162)];_0x39c124[_0x3a0f0c(0x168)][_0x3a0f0c(0x222)](_0x41d8fd(_0x354ffa=>{const _0x4bcdc0=_0x3a0f0c;var _0x2e91f8,_0x54e862;const {offsetX:_0x3711b3,offsetY:_0x3af5b5}=_0x354ffa,{x:_0x30e9b6,y:_0x2dc875}=_0x39c124['getRelativeToViewportCoord'](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x3711b3,_0x3af5b5])),{scaleX:_0x262f77,scaleY:_0x39904b}=_0x39c124['getAncestorScale'](),_0x352f5e=_0x39c124[_0x4bcdc0(0x2fa)](_0x171a46['VIEW_MAIN']),_0x1f9c20=_0x39c124[_0x4bcdc0(0x12e)](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x30e9b6,_0x2dc875]),_0x352f5e),_0x47dbf9=_0xec7a49['getCellPositionByOffset'](_0x3711b3,_0x3af5b5,_0x262f77,_0x39904b,_0x1f9c20);((_0x2e91f8=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x2e91f8[_0x4bcdc0(0x1d1)])===_0x47dbf9[_0x4bcdc0(0x1d1)]&&((_0x54e862=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x54e862[_0x4bcdc0(0x13c)])===_0x47dbf9['row']||this['_cursors'][_0x4bcdc0(0x1db)](_0xfba506=>{const _0x2bbd6d=_0x4bcdc0;_0xfba506[_0x2bbd6d(0x2bc)](_0x47dbf9);});},0x64));});}[_0x4c8ad2(0x161)](_0x1681a2,_0x57d1c8){const _0x576ac7=_0x4c8ad2;var _0x35bd4d;const _0x591f4f=(_0x35bd4d=this['_sheetSkeletonManagerService'][_0x576ac7(0x1c4)]())==null?void 0x0:_0x35bd4d['skeleton'];if(!_0x591f4f)return;const _0x186859=this['_getSheetObject']();if(!_0x186859)return;this[_0x576ac7(0x1ab)][_0x576ac7(0x1db)](_0x509c39=>{const _0x51bbff=_0x576ac7;_0x509c39[_0x51bbff(0x20d)]();});const {scene:_0xbf76c}=_0x186859,_0xf6adbf=Ji(Array[_0x576ac7(0x2e5)](_0x57d1c8[_0x576ac7(0x16a)]()))['map'](_0x1dd3f5=>{const _0xe7fcb8=_0x576ac7,{color:_0x48aa0f,range:_0x441dc2,name:_0x2a322c,selection:_0x3fb3c4,sheetID:_0x5737bf}=_0x1dd3f5,{startColumn:_0x44916c,startRow:_0x38e36e,endColumn:_0x5d3797,endRow:_0x9f980}=_0x441dc2,_0xd5dc28=_0x58cc5a(_0x38e36e,_0x44916c,_0xbf76c,_0x591f4f),_0x55ccba=_0x58cc5a(_0x9f980,_0x5d3797,_0xbf76c,_0x591f4f),{columnHeaderHeightAndMarginTop:_0x573c7e}=_0x591f4f,{startX:_0x1bad14,startY:_0x5d89ef}=_0xd5dc28,{endX:_0x530f0c,endY:_0x5caa08}=_0x55ccba,_0x2cc6dd=_0x530f0c-_0x1bad14,_0x11ad3a=_0x5caa08-_0x5d89ef,_0x1b9fcc={'labelPosition':_0x5d89ef-_0x573c7e>=J?_0xe7fcb8(0x1b2):_0xe7fcb8(0x244),'sheetID':_0x5737bf,'range':_0x441dc2,'color':_0x48aa0f,'name':_0x2a322c,'selection':_0x3fb3c4,'left':_0x1bad14,'top':_0x5d89ef,'width':_0x2cc6dd,'height':_0x11ad3a,'evented':!0x1,'zIndex':zi};return new Xi(_0x2a322c,_0x1b9fcc);});_0xbf76c[_0x576ac7(0x1c7)](_0xf6adbf,Vi),this[_0x576ac7(0x1ab)]=new Set(_0xf6adbf);}[_0x4c8ad2(0x151)](){const _0x1747bd=_0x4c8ad2;var _0x39c041;(_0x39c041=this[_0x1747bd(0x1ab)])==null||_0x39c041[_0x1747bd(0x1db)](_0x27861b=>_0x27861b[_0x1747bd(0x1f1)]());}[_0x4c8ad2(0x12b)](){const _0xd02738=_0x4c8ad2;return _0x2a8062(this[_0xd02738(0x162)][_0xd02738(0x219)],this[_0xd02738(0x162)]);}};Pe=Ki([pe(0x1,_0xf17c52(_0x3fc9fb)),pe(0x2,_0xf17c52(F)),pe(0x3,_0xf17c52(_0x1cd76d))],Pe);function Ji(_0x4277cd){const _0x2ac1f6=_0x4c8ad2,_0x4cc471=new Map();return _0x4277cd[_0x2ac1f6(0x1db)](_0x2d6ade=>{const _0x48af73=_0x2ac1f6;if(_0x4cc471['has'](_0x2d6ade['selection'])){const _0x553298=_0x4cc471[_0x48af73(0x254)](_0x2d6ade[_0x48af73(0x22c)]);_0x553298[_0x48af73(0x132)]+=',\x20'+_0x2d6ade[_0x48af73(0x132)];}else _0x4cc471[_0x48af73(0x12a)](_0x2d6ade[_0x48af73(0x22c)],_0x2d6ade);}),Array[_0x2ac1f6(0x2e5)](_0x4cc471[_0x2ac1f6(0x16a)]());}var Zi=Object[_0x4c8ad2(0x122)],Qi=(_0x3a9ab9,_0x42abd8,_0x1b4246,_0x241898)=>{const _0x510794=_0x4c8ad2;for(var _0x58f6b0=_0x241898>0x1?void 0x0:_0x241898?Zi(_0x42abd8,_0x1b4246):_0x42abd8,_0x4b5c70=_0x3a9ab9[_0x510794(0x203)]-0x1,_0x2d415a;_0x4b5c70>=0x0;_0x4b5c70--)(_0x2d415a=_0x3a9ab9[_0x4b5c70])&&(_0x58f6b0=_0x2d415a(_0x58f6b0)||_0x58f6b0);return _0x58f6b0;},B=(_0x418e7e,_0x59c9b0)=>(_0x26fcb2,_0xb71a05)=>_0x59c9b0(_0x26fcb2,_0xb71a05,_0x418e7e);let ne=class extends _0x388847{constructor(_0xbd9aca,_0x33cb7f,_0x5dd730,_0x1632e3,_0x529494,_0x16328d){const _0x472a10=_0x4c8ad2;super(),this[_0x472a10(0x1de)]=_0xbd9aca,this[_0x472a10(0x30b)]=_0x33cb7f,this[_0x472a10(0x16e)]=_0x5dd730,this[_0x472a10(0x29a)]=_0x1632e3,this[_0x472a10(0x18e)]=_0x529494,this[_0x472a10(0x1fe)]=_0x16328d,this[_0x472a10(0x23f)](),this[_0x472a10(0x30c)]();}[_0x4c8ad2(0x23f)](){const _0x279513=_0x4c8ad2;this[_0x279513(0x1b8)](this['_beforeCloseService'][_0x279513(0x1d4)](()=>{const _0x3d74fb=_0x279513;if(this['_localCacheService'][_0x3d74fb(0x20c)][_0x3d74fb(0x294)])return this[_0x3d74fb(0x1fe)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4c8ad2(0x30c)](){const _0x5f3bce=_0x4c8ad2;this[_0x5f3bce(0x1b8)](this[_0x5f3bce(0x16e)][_0x5f3bce(0x2c0)]['subscribe'](_0x5ca2d9=>{const _0xde4cf2=_0x5f3bce;_0x5ca2d9['id']===_0x1d4610['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x2df))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2dc)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2ed)]&&this['_notificationService'][_0xde4cf2(0x26b)]({'title':this['_localeService']['t'](_0xde4cf2(0x2aa)),'content':this[_0xde4cf2(0x1fe)]['t']('permission.content'),'type':'error','duration':0x0}),_0x5ca2d9['id']===_0x1d4610['CONFLICT']&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7['Error'],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))+'('+_0x5ca2d9[_0xde4cf2(0x2a9)]+')'}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x285)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0x5ca2d9[_0xde4cf2(0x2a9)]||'')}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x24d)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x263))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x1c3)]&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x301))}),_0x5ca2d9['id']===_0x1d4610['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x251))});}));}};ne=Qi([B(0x0,_0x40c8c1),B(0x1,_0x4fb00a),B(0x2,_0xf17c52(_0x2f6647)),B(0x3,_0x46909f),B(0x4,_0x5980b1),B(0x5,_0xf17c52(_0x4a58fb))],ne);const qi=_0x4c8ad2(0x1a9),et={};function _0x1a2b(_0x4111ee,_0x5002f0){const _0x588e97=_0x588e();return _0x1a2b=function(_0x1a2bef,_0x47ce64){_0x1a2bef=_0x1a2bef-0x10d;let _0x3ad16b=_0x588e97[_0x1a2bef];return _0x3ad16b;},_0x1a2b(_0x4111ee,_0x5002f0);}var en=Object[_0x4c8ad2(0x122)],tn=(_0x4c20b4,_0x86c842,_0x634d0f,_0x1226d4)=>{const _0x2f3d31=_0x4c8ad2;for(var _0xe6a55b=_0x1226d4>0x1?void 0x0:_0x1226d4?en(_0x86c842,_0x634d0f):_0x86c842,_0x530036=_0x4c20b4[_0x2f3d31(0x203)]-0x1,_0x2edfd3;_0x530036>=0x0;_0x530036--)(_0x2edfd3=_0x4c20b4[_0x530036])&&(_0xe6a55b=_0x2edfd3(_0xe6a55b)||_0xe6a55b);return _0xe6a55b;},tt=(_0xeb28a0,_0x202491)=>(_0x3148e8,_0x346fa5)=>_0x202491(_0x3148e8,_0x346fa5,_0xeb28a0);let re=class{constructor(_0x3fb518,_0x1ec6af){const _0x5ad3d6=_0x4c8ad2;this[_0x5ad3d6(0x288)]=_0x3fb518,this[_0x5ad3d6(0x1aa)]=_0x1ec6af;}[_0x4c8ad2(0x14f)](_0x4b8d38){const _0x52e71f=_0x4c8ad2;this['_transformUndoRedoStack'](_0x4b8d38),this[_0x52e71f(0x249)](_0x4b8d38);}[_0x4c8ad2(0x307)](_0x115171){const _0x2f7c59=_0x4c8ad2,{unitID:_0x56c54f}=_0x115171,_0x5e00ab=this[_0x2f7c59(0x1aa)][_0x2f7c59(0x1e5)](_0x56c54f)['with'](_0x41bf8a),{redoCache:_0x1af0d7}=_0x5e00ab['getUndoRedoMutationParamsCache']();if(_0x1af0d7['length']===0x0)return _0x115171;let _0x5f567d=_0x5351cf['deepClone'](_0x115171[_0x2f7c59(0x2cf)][0x0]);for(let _0x5f2c4a=0x0;_0x5f2c4a<_0x1af0d7[_0x2f7c59(0x203)];_0x5f2c4a++){const _0x22842e={'id':_0x2f7c59(0x1f6),'params':{..._0x1af0d7[_0x5f2c4a]}},_0xc26370=this['_transformService'][_0x2f7c59(0x163)](_0x5f567d,_0x22842e,!0x1);if(_0x5cbe5a(_0xc26370))throw _0xc26370[_0x2f7c59(0x1ff)];_0x5f567d=_0xc26370[_0x2f7c59(0x1dd)];}return{..._0x5351cf[_0x2f7c59(0x18d)](_0x115171),'mutations':[_0x5f567d]};}['_transformUndoRedoStack'](_0x25382f){const _0x1dc912=_0x4c8ad2,{unitID:_0x1a93bf}=_0x25382f,_0x1ac6e4=this['_renderManagerService']['getRenderById'](_0x1a93bf)[_0x1dc912(0x2b0)](_0x41bf8a),{undoCache:_0x2e55c2,redoCache:_0x55ab51}=_0x1ac6e4['getUndoRedoMutationParamsCache']();if(_0x2e55c2[_0x1dc912(0x203)]===0x0||_0x55ab51[_0x1dc912(0x203)]===0x0)return;const _0x10f189=[],_0x418507=[];let _0x4ef428=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]),_0x4c3ae6=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]);for(let _0x208671=_0x2e55c2[_0x1dc912(0x203)]-0x1;_0x208671>=0x0;_0x208671--){const _0x186f38={'id':'doc.mutation.rich-text-editing','params':{..._0x2e55c2[_0x208671]}},_0x205832={'id':_0x1dc912(0x1f6),'params':{..._0x55ab51[_0x208671]}},_0x337a86=this['_transformService'][_0x1dc912(0x163)](_0x4ef428,_0x186f38,!0x1),_0x13f941=this['_transformService'][_0x1dc912(0x163)](_0x4c3ae6,_0x205832,!0x1);if(_0x5cbe5a(_0x337a86))throw _0x337a86[_0x1dc912(0x1ff)];if(_0x5cbe5a(_0x13f941))throw _0x13f941[_0x1dc912(0x1ff)];_0x10f189[_0x1dc912(0x2c3)](_0x337a86[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x418507[_0x1dc912(0x2c3)](_0x13f941[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x4ef428=_0x337a86[_0x1dc912(0x1dd)],_0x4c3ae6=_0x13f941[_0x1dc912(0x1dd)];}_0x1ac6e4[_0x1dc912(0x1a6)]({'undoCache':_0x10f189,'redoCache':_0x418507});}[_0x4c8ad2(0x249)](_0x86fe38){const _0x5dbb18=_0x4c8ad2,{unitID:_0x5a45a7}=_0x86fe38,_0x971750=this['_renderManagerService'][_0x5dbb18(0x1e5)](_0x5a45a7)[_0x5dbb18(0x2b0)](_0x41bf8a),_0x5bb673=_0x971750[_0x5dbb18(0x21f)]();if(_0x5bb673==null)return;const _0x17f19f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x86fe38[_0x5dbb18(0x179)],'actions':null,'textRanges':[_0x5bb673]}}],_0x5a2728=this['_transformService']['transformMutationsWithChangeset'](_0x86fe38,_0x17f19f);if(!_0x41c887(_0x5a2728))throw _0x5a2728[_0x5dbb18(0x1ff)];const _0x1e142d=_0x5a2728[_0x5dbb18(0x17a)][0x0][_0x5dbb18(0x11b)][_0x5dbb18(0x2d2)];Array['isArray'](_0x1e142d)&&_0x1e142d[_0x5dbb18(0x203)]&&_0x971750[_0x5dbb18(0x2ba)](_0x1e142d[0x0]);}};re=tn([tt(0x0,_0x461df4),tt(0x1,_0x3e0ac0)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1c43b8,_0x5dac38,_0x3137ea,_0x2cd5a8)=>{const _0x2e03e9=_0x4c8ad2;for(var _0x3fbf7f=_0x2cd5a8>0x1?void 0x0:_0x2cd5a8?sn(_0x5dac38,_0x3137ea):_0x5dac38,_0x2daebc=_0x1c43b8[_0x2e03e9(0x203)]-0x1,_0x415f8d;_0x2daebc>=0x0;_0x2daebc--)(_0x415f8d=_0x1c43b8[_0x2daebc])&&(_0x3fbf7f=_0x415f8d(_0x3fbf7f)||_0x3fbf7f);return _0x3fbf7f;},Ce=(_0x30919e,_0x12682c)=>(_0x552506,_0x5b76e6)=>_0x12682c(_0x552506,_0x5b76e6,_0x30919e);let oe=class{constructor(_0x5734c1,_0x1d8a6d,_0x3cf3c3){const _0x44e0fb=_0x4c8ad2;this[_0x44e0fb(0x2f1)]=_0x5734c1,this[_0x44e0fb(0x288)]=_0x1d8a6d,this[_0x44e0fb(0x262)]=_0x3cf3c3;}[_0x4c8ad2(0x152)](_0xa8adbb){const _0x31f21e=_0x4c8ad2;this[_0x31f21e(0x27d)](_0xa8adbb);}[_0x4c8ad2(0x307)](_0x42b214){const _0x49359e=_0x4c8ad2,{unitID:_0x24739a}=_0x42b214,{collaboration:_0x207faa}=this[_0x49359e(0x262)][_0x49359e(0x2fc)](_0x24739a);if(_0x207faa[_0x49359e(0x203)]===0x0)return _0x42b214;let _0x3f2e28=_0x5351cf[_0x49359e(0x18d)](_0x42b214['mutations'][0x0]);for(let _0x17de84=0x0;_0x17de84<_0x207faa[_0x49359e(0x203)];_0x17de84++){const _0x5f05c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207faa[_0x17de84][_0x49359e(0x259)],..._0x207faa[_0x17de84][_0x49359e(0x300)]}},_0x4d2653=this['_transformService'][_0x49359e(0x163)](_0x3f2e28,_0x5f05c8,!0x1);if(_0x5cbe5a(_0x4d2653))throw _0x4d2653[_0x49359e(0x1ff)];_0x3f2e28=_0x4d2653[_0x49359e(0x1dd)];}return{..._0x5351cf[_0x49359e(0x18d)](_0x42b214),'mutations':[_0x3f2e28]};}[_0x4c8ad2(0x27d)](_0x3f547c){const _0xde4ac5=_0x4c8ad2,{unitID:_0x2320fd}=_0x3f547c,{history:_0x34a774,collaboration:_0x119f7c}=this[_0xde4ac5(0x262)]['getStateCache'](_0x2320fd);if(_0x34a774['length']===0x0&&_0x119f7c[_0xde4ac5(0x203)]===0x0)return;const _0x27a35e=[],_0x3bf485=[];let _0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf['deepClone'](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x3549f6=_0x34a774[_0xde4ac5(0x203)]-0x1;_0x3549f6>=0x0;_0x3549f6--){const _0xff65fd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x143)]}},_0x1349bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x300)]}},_0x2ee294=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x11ea90,_0xff65fd,!0x1),_0x4715a2=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x1349bb,!0x1);if(_0x5cbe5a(_0x2ee294))throw _0x2ee294[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x4715a2))throw _0x4715a2[_0xde4ac5(0x1ff)];_0x27a35e[_0xde4ac5(0x2c3)]({..._0x34a774[_0x3549f6],'undoState':_0x2ee294[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)],'redoState':_0x4715a2[_0xde4ac5(0x17a)]['params']}),_0x11ea90=_0x2ee294['m1Prime'],_0x5bdbc5=_0x4715a2[_0xde4ac5(0x1dd)];}_0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x5dc2a8=_0x119f7c[_0xde4ac5(0x203)]-0x1;_0x5dc2a8>=0x0;_0x5dc2a8--){const _0x362614={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x143)]}},_0x3a837f={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x300)]}},_0x42dccc=this['_transformService'][_0xde4ac5(0x163)](_0x11ea90,_0x362614,!0x1),_0x2f2851=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x3a837f,!0x1);if(_0x5cbe5a(_0x42dccc))throw _0x42dccc[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x2f2851))throw _0x2f2851['error'];_0x3bf485[_0xde4ac5(0x2c3)]({..._0x119f7c[_0x5dc2a8],'undoState':_0x42dccc[_0xde4ac5(0x17a)]['params'],'redoState':_0x2f2851[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)]}),_0x11ea90=_0x42dccc[_0xde4ac5(0x1dd)],_0x5bdbc5=_0x2f2851[_0xde4ac5(0x1dd)];}this[_0xde4ac5(0x262)][_0xde4ac5(0x27e)](_0x2320fd,{'history':_0x27a35e,'collaboration':_0x3bf485});}};oe=nn([Ce(0x0,_0xf17c52(_0x14a08a)),Ce(0x1,_0x461df4),Ce(0x2,_0xf17c52(_0x428b14))],oe);var rn=Object[_0x4c8ad2(0x122)],on=(_0xfc3393,_0x376afa,_0x3d08fe,_0x399364)=>{for(var _0x3cf811=_0x399364>0x1?void 0x0:_0x399364?rn(_0x376afa,_0x3d08fe):_0x376afa,_0x3b05d4=_0xfc3393['length']-0x1,_0x4ec420;_0x3b05d4>=0x0;_0x3b05d4--)(_0x4ec420=_0xfc3393[_0x3b05d4])&&(_0x3cf811=_0x4ec420(_0x3cf811)||_0x3cf811);return _0x3cf811;},st=(_0x542bdf,_0x10438b)=>(_0x59da91,_0x43e91f)=>_0x10438b(_0x59da91,_0x43e91f,_0x542bdf);let ae=class{constructor(_0x157cab,_0x387fb4){const _0x3f6415=_0x4c8ad2;this['_injector']=_0x157cab,this[_0x3f6415(0x288)]=_0x387fb4;}[_0x4c8ad2(0x1f8)](_0x31ab5e){const _0x2e4fd3=_0x4c8ad2;var _0x4ddd7c;const _0x48ebe6=this[_0x2e4fd3(0x2f1)][_0x2e4fd3(0x254)](_0x412aa6),_0x4030e0=(_0x4ddd7c=_0x48ebe6[_0x2e4fd3(0x160)]())!=null?_0x4ddd7c:[];if(_0x4030e0[_0x2e4fd3(0x203)]===0x0)return;const _0x3eda85=_0x31ab5e['unitID'],_0x4c58a1=[{'id':_0x2e4fd3(0x1f6),'params':{'unitId':_0x3eda85,'actions':null,'textRanges':_0x4030e0}}],_0x32e925=this[_0x2e4fd3(0x288)][_0x2e4fd3(0x268)](_0x31ab5e,_0x4c58a1);if(!_0x41c887(_0x32e925))throw _0x32e925['error'];const _0x5b1d44=_0x32e925[_0x2e4fd3(0x17a)][0x0][_0x2e4fd3(0x11b)][_0x2e4fd3(0x2d2)];Array[_0x2e4fd3(0x2c6)](_0x5b1d44)&&_0x5b1d44['length']&&_0x48ebe6['replaceDocRanges'](_0x5b1d44,{'unitId':_0x3eda85,'subUnitId':_0x3eda85},!0x1);}};ae=on([st(0x0,_0xf17c52(_0x14a08a)),st(0x1,_0x461df4)],ae);function _0x588e(){const _0xe84c5f=['getOwnPropertySymbols','getConfig','_commandService','_createSocketURL','arc','APPLY_NON_SEQUENTIAL_REVISION','backgroundColor','on-line-icon','collabStatus.fetchMiss','_transformHistoryAndStateStack','setStateCache','INVITE_CODE_HAS_BEEN_UES','assignAColorForMemberID','getCurrentRevOfUnit','_status$','_docSkeleton','href','JOIN_ROOM_FAILED','saveOfflineData','map','_transformService','_getScale','_uiPartsService','removeParam','debug','_handleLeaveEvent','collabStatus.offline','sheetID','_cursorInfo$','_saveTaskMap','hasOwnProperty','_scene','size','MOBILE_VERIFY_CODE_MISMATCH','actions','_assignedColors','dispose$','whenReady','_messageService','collabStatus.synced','displayName','clearTimeout','yellow.400','Warning','_toggleOffline','attrs','EMAIL_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','_docTransformIMECacheService','TEXT','add','_scheduleClearOtherTimer','popstate','data','permission.title','INVALID_ARGUMENT','registerRefRange','runOnServer','clipPath','getSheetId','with','pushState','call','onPointerLeave$','selections','defIds','4tlpEbw','YUUMI_CONNECTOR_URL_NOT_FOUND','_textBubble','[CollaborationDataLoaderController]','setActiveRange','_initResize','onMouseMove','roomMembers$','getColorFromTheme','APPLY_DUPLICATED','event$','_onCursorUpdate','OFFLINE','unshift','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','isArray','getUnitId','M0\x200H16V16H0z','...','engine','white','height','_docClipboardService','559964UviYNR','mutations','_initCommandExecutedListener','defineProperty','textRanges','toString','_toggleOnline','addObject','setItem','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_entities','getCollabCursors$','_initStatusComponent','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','registerRenderModule','collaboration.single-unit.warning','ONLINE','text','INVITE_CODE_ALREADY_BOUND','transform','key','from','ranges','propertyIsEnumerable','onTransformChange$','endColumn','_config','url(#$1','univer-mr-2\x20univer-flex\x20univer-text-xl','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','trim','_collabCursorController','_injector','INTERNAL_ERROR','_range','round','LOGIN_FAILED','_saveCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','15774930FFescK','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getViewport','off-line-icon','getStateCache','post','restore','UNAUTHENTICATED','redoState','session.connection-failed','getValue','measureText','_handleEvent','getFocusedUnit','split','transformRemoteChangeset','getCollabEntity$','newValue','_revisionService','_localCacheService','_initEvent','PENDING','storage','collab-text-range-','_localStorageService','_name','2026110hiecuc','currentSkeleton$','NO_OTHER_CLIENTS_EDITING','location','4292820LRwtQA','OnLineIcon','origin','AWAITING_WITH_PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','INVALID_INVITE_CODE','_getMergeRange','params','InsertRangeMoveDownCommandId','subscribe','closePath','APPLY_PERMISSION_DENIED','_lastPointer','_cursorShapes','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','_startDocCollabCursor','source','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','complete','_getAnchorBounding','set','_getSheetObject','className','idSuffix','getVpScrollXYInfoByPosToVp','disposeUnit','_backgroundColor','jiqing.500','name','getTypeOfUnitAdded$','getOffsetConfig','_session','_removeClearOtherTimer','unsubscribe','YUUMI_ASYNCIO_CANCELLED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','hovered','row','green.600','fill','getUnitStatus$','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','_onCursorDelete','range','undoState','1em','saveImage','_eventUnsubscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onRefRangeChange','pluginName','delete','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','_collaborationController','_collabSessionService','transformIMECache','INVITE_CODE_REQUIRED','_removeCollabCursors','transformStateCache','blue.400','_updateLocalCursor','collabStatus.syncing','_shapes','setInterval','_unitOnClients','UNIVER_DOC','_initStatusListener','unload','init','MUTATION','none','send','getDocRanges','_updateCollabCursors','_context','transformMutation','svg','editingUnit','collabStatus.notCollab','NOT_FOUND','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','values','LICENSE_MAX_UNITS_EXCEEDED','string','mask','_collaborationUIEventService','addClipboardHook','translate(.97)','push','_refreshCollabCursors','activeSheet$','_colorAssignService','runId','_urlService','setParam','_online','unitID','m2Prime','_registerRenderDependencies','next','Failed','min','getSheetBySheetId','on-line-icon_clip0_910_349','getUnhiddenWorksheets','createInstance','prototype','_unitStatus','concat','evenodd','_refRangeService','getActiveSheet','pipe','setAlpha','collab-client.tooltip.reconnect','replaceState','deepClone','_notificationService','_id','isEditing','getParam','DeleteRangeMoveUpCommandId','http://www.w3.org/2000/svg','searchParams','ALREADY_EXISTS','_startSheetCollabCursor','getCurrentSelections','0\x200\x2016\x2016','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_themeService','defs','_scheduleHeartbeat','replace','onStarting','_clearOtherTimers','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','currentTheme$','_getSessionTicket','findNodePositionByCharIndex','getUniverSheetInstance','focused$','setUndoRedoMutationParamsCache','COMPLETION_FINISHED','rgba(255,\x20255,\x20255,\x200.01)','collaboration-client-ui.config','_renderManagerService','_cursors','_anchor','_handleHover','_memberService','black','getMemberID','substring','top','override','YUUMI_TABLE_NOT_FOUND_IN_UNIT','symbol','getTypeOfUnitDisposed$','eventID','disposeWithMe','color','_doCreateSocket','getSkeleton','addHandlerCallback','then','_roomMembers$','xlink:href','collab-rect-range-','_docTransformSelectionsService','drawWith','SOCKET_FAILED','getCurrent','RemoveRowCommandId','assign','addObjects','_univerInstanceService','_updateURLWithCurrentState','executionId','_disabled','cursorInfo$','_httpService','_drawRectRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','application/json','column','onRendered','contains','registerBeforeClose','YUUMI_UNABLE_LOAD_URL','_anchorDot','onPointerEnter$','toRgbString','_colorIndex','#FFF','forEach','path','m1Prime','_beforeCloseService','collabCursorState$','USER_NOT_INVITED_CODE','type','cursorInfo','font','div','getRenderById','entries','_hovered','flatMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMember','_hideTimer','_selfUnitIDs','8MEmEYN','red.300','UPDATE_CURSOR','collabStatus.conflict','dispose','_syncEditingCollabCursorService','getCurrentUnitForType','urlChange$','SNAPSHOT_INVALID_SNAPSHOT','doc.mutation.rich-text-editing','_init','transformSelections','syncEditingCollabCursor','FETCH_MISS','result','status$','memberID','_localeService','error','_draw','lineTo','_cachedData','length','getRangePointData','asObservable','random','has','1929546wBvCEr','univer-flex\x20univer-items-center','Unknown\x20user','RECT','saveTaskMap','makeDirty','USERS_LEAVE','_heartbeatTimer','_render','stringify','YUUMI_URL_COL_OUT_OF_RANGE','moveTo','CHANGESET_REVISION_CONFILICT','sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','UNDEFINED','RemoveColCommandId','unit','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','extend','children','_labelPosition','getActiveRange','apply','indexOf','subscribeEvent','sheetId','_setupSubUnitSync','UNIVER_SHEET','_document','_docTransformStateCacheService','history','MOBILE_HAS_BEEN_BOUND','_ensureSubject','ticket','selection','_logService','ENSURE_SNAPSHOT_EXECUTION','_registerDependencies','current','_instanceService','_send','HEADER_MENU','266284OVulyx','tag','_color','subunit','2997421yQKGJO','PY_RUNTIME_SCRIPT_ERROR','startsWith','20MMvhFS','_imageIoService','FromArray','YUUMI_ALL_TABLES_IS_INVALID','_setupBeforeClosingHandler','save','onCommandExecuted','APPLY_REJECT','roomMembers','bottom','_configService','registerComponent','InsertRangeMoveRightCommandId','transformByState','_transformPreviousActiveRange','OffLineIcon','_sheetSkeletonManagerService','MoveRangeCommandId','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','setTimeout','APPLY_REVISION_CONFILICT','session.collaboration-timeout','Error','YUUMI_AI_RUN_FAILED','get','_docSyncEditingCollabCursorService','subUnitId','fillText','hide','unitId','_initEntityListener','colorChannel1','sessionTicket','_drawTextRange','NOT_COLLAB','_updateSubUnitFromURLParams','function','_scheduleSaving','_docStateChangeManagerService','session.will-retry','invokeId','_hover','currentColor','_entityInit$','transformMutationsWithChangeset','body','fillStyle','show','resize','InsertColCommandId','_drawAnchor','executeCommand','entityInit$','_handleJoinEvent','requireSession','width'];_0x588e=function(){return _0xe84c5f;};return _0x588e();}var an=Object['getOwnPropertyDescriptor'],cn=(_0x3235aa,_0x524692,_0x51fd31,_0x519f39)=>{const _0x291fd6=_0x4c8ad2;for(var _0x783f3=_0x519f39>0x1?void 0x0:_0x519f39?an(_0x524692,_0x51fd31):_0x524692,_0x2b6484=_0x3235aa[_0x291fd6(0x203)]-0x1,_0x2804ab;_0x2b6484>=0x0;_0x2b6484--)(_0x2804ab=_0x3235aa[_0x2b6484])&&(_0x783f3=_0x2804ab(_0x783f3)||_0x783f3);return _0x783f3;},N=(_0x39cea6,_0x5532bf)=>(_0x2354ce,_0x306855)=>_0x5532bf(_0x2354ce,_0x306855,_0x39cea6);let ce=class extends _0x388847{constructor(_0x322aa4,_0x251657,_0x266b26,_0x4c803a,_0x56bff4,_0x497465,_0x1732d7,_0x443322){const _0xc87e08=_0x4c8ad2;super(),_(this,_0xc87e08(0x282),new _0x2c7c6b(_0x24ef01[_0xc87e08(0x25e)])),(this[_0xc87e08(0x262)]=_0x322aa4,this[_0xc87e08(0x14d)]=_0x251657,this[_0xc87e08(0x2a4)]=_0x266b26,this['_docTransformStateCacheService']=_0x4c803a,this[_0xc87e08(0x1c1)]=_0x56bff4,this['_docSyncEditingCollabCursorService']=_0x497465,this['_messageService']=_0x1732d7,this[_0xc87e08(0x1fe)]=_0x443322,this[_0xc87e08(0x25a)]());}['_initEntityListener'](){const _0x222fa1=_0x4c8ad2;this['disposeWithMe'](this[_0x222fa1(0x14d)][_0x222fa1(0x270)][_0x222fa1(0x11d)](_0x1d3d8e=>{const _0x242b18=_0x222fa1,_0x226034=this['_docStateChangeManagerService']['docStateChange$'][_0x242b18(0x11d)](_0x4ca936=>{const _0x487276=_0x242b18;if(_0x4ca936==null)return;const {unitId:_0x45d277,redoState:_0xda7cff,commandId:_0x884786}=_0x4ca936;if(_0x45d277!==_0x1d3d8e[_0x487276(0x179)])return;const _0x184c47={'id':_0x884786,'type':_0x10f85b[_0x487276(0x15d)],'params':{'unitId':_0x45d277,'actions':_0xda7cff[_0x487276(0x296)],'textRanges':null}};_0x1d3d8e['onLocalMutation'](_0x184c47);});if(_0x1d3d8e[_0x242b18(0x1b8)](_0x226034),_0x1d3d8e instanceof _0x317c6a){const _0x31b2fe={'onTransformIME':_0x4ce2d2=>this[_0x242b18(0x2a4)][_0x242b18(0x14f)](_0x4ce2d2),'onTransformState':_0x50b1dd=>this[_0x242b18(0x227)][_0x242b18(0x152)](_0x50b1dd),'onTransformSelections':_0x1dd8f7=>this['_docTransformSelectionsService']['transformSelections'](_0x1dd8f7),'onSyncEditingCollabCursor':_0x503c08=>this[_0x242b18(0x255)][_0x242b18(0x1f9)](_0x503c08),'onTransformRemoteChangesetByIMECache':_0x4e6c6d=>this[_0x242b18(0x2a4)]['transformRemoteChangeset'](_0x4e6c6d),'onTransformRemoteChangesetByStateCache':_0x590c4c=>this[_0x242b18(0x227)]['transformRemoteChangeset'](_0x590c4c)};_0x1d3d8e[_0x242b18(0x1bc)](_0x31b2fe);}}));}};ce=cn([N(0x0,_0xf17c52(_0x428b14)),N(0x1,_0xf17c52(_0x550088)),N(0x2,_0xf17c52(re)),N(0x3,_0xf17c52(oe)),N(0x4,_0xf17c52(ae)),N(0x5,_0xf17c52(Fe)),N(0x6,_0x46909f),N(0x7,_0xf17c52(_0x4a58fb))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2c29be,_0x26d4d8,_0x5bea5e,_0x315404)=>{const _0x157f6c=_0x4c8ad2;for(var _0x22ae0e=_0x315404>0x1?void 0x0:_0x315404?ln(_0x26d4d8,_0x5bea5e):_0x26d4d8,_0x43565c=_0x2c29be[_0x157f6c(0x203)]-0x1,_0x31924a;_0x43565c>=0x0;_0x43565c--)(_0x31924a=_0x2c29be[_0x43565c])&&(_0x22ae0e=_0x31924a(_0x22ae0e)||_0x22ae0e);return _0x22ae0e;},Ee=(_0x1c4d1e,_0x509846)=>(_0x1bca51,_0x47553b)=>_0x509846(_0x1bca51,_0x47553b,_0x1c4d1e);let we=class extends _0x388847{constructor(_0x1745a3,_0x15869c,_0xa403d4){const _0x13c848=_0x4c8ad2;super(),_(this,_0x13c848(0x202),new Map()),_(this,_0x13c848(0x291),new Map()),_(this,_0x13c848(0x1cb),!0x1),(this['_configService']=_0x1745a3,this[_0x13c848(0x10e)]=_0x15869c,this[_0x13c848(0x30a)]=_0xa403d4);}['disableLocalCache'](){const _0x464cd0=_0x4c8ad2;this[_0x464cd0(0x1cb)]=!0x0;}['enableLocalCache'](){const _0x36ef48=_0x4c8ad2;this[_0x36ef48(0x1cb)]=!0x1;}get[_0x4c8ad2(0x20c)](){const _0x103683=_0x4c8ad2;return this[_0x103683(0x291)];}[_0x4c8ad2(0x1f1)](){const _0x3a8203=_0x4c8ad2;this['exhaustSavingTask']()[_0x3a8203(0x1bd)](()=>super[_0x3a8203(0x1f1)]());}async['loadOfflineData'](_0x3cc6d0){const _0x25637b=_0x4c8ad2;return this[_0x25637b(0x1cb)]?null:this[_0x25637b(0x10e)]['getItem'](_0x1eef40(_0x3cc6d0));}async[_0x4c8ad2(0x286)](_0x4fc653,_0x1e32fd){const _0x451ca0=_0x4c8ad2;return!!this[_0x451ca0(0x10e)]['setItem'](_0x4fc653,_0x1e32fd);}['updateOfflineData'](_0x5e22e2,_0x18dcf1,_0x326202,_0x5b99c5){const _0x504a81=_0x4c8ad2,_0x4e868e=this[_0x504a81(0x30a)][_0x504a81(0x281)](_0x5e22e2);this['_cachedData'][_0x504a81(0x12a)](_0x5e22e2,{'unitID':_0x5e22e2,'type':_0x18dcf1,'awaitingChangeset':_0x326202,'mutations':_0x5b99c5,'rev':_0x4e868e}),this[_0x504a81(0x291)]['has'](_0x5e22e2)||this[_0x504a81(0x261)](_0x5e22e2);}[_0x4c8ad2(0x261)](_0x19946a){const _0x3d2e13=_0x4c8ad2,_0x5cd976=this['_getSaveTimeout']();_0x5cd976===0x0?this[_0x3d2e13(0x2f6)](_0x19946a):this['_saveTaskMap']['set'](_0x19946a,setTimeout(()=>this[_0x3d2e13(0x2f6)](_0x19946a),_0x5cd976));}['_getSaveTimeout'](){const _0x2c575b=_0x4c8ad2;var _0x81d827;return(_0x81d827=this[_0x2c575b(0x245)][_0x2c575b(0x275)](_0x407ca9))!=null?_0x81d827:_0x2b0095;}[_0x4c8ad2(0x2f6)](_0x4579c9){const _0x4b51c2=_0x4c8ad2,_0x4e947d=this[_0x4b51c2(0x291)]['get'](_0x4579c9);return _0x4e947d!==void 0x0&&window[_0x4b51c2(0x29d)](_0x4e947d),this[_0x4b51c2(0x10e)]['setItem'](_0x1eef40(_0x4579c9),this[_0x4b51c2(0x202)][_0x4b51c2(0x254)](_0x4579c9))[_0x4b51c2(0x1bd)](()=>this['_saveTaskMap'][_0x4b51c2(0x14a)](_0x4579c9));}async['exhaustSavingTask'](){const _0x511c16=_0x4c8ad2,_0x2c30a6=[];this['_saveTaskMap'][_0x511c16(0x1db)]((_0x19d2a5,_0x27a94d)=>{const _0x265c92=_0x511c16;window[_0x265c92(0x29d)](_0x19d2a5),_0x2c30a6[_0x265c92(0x171)](this[_0x265c92(0x2f6)](_0x27a94d)[_0x265c92(0x1bd)](()=>{this['_saveTaskMap']['delete'](_0x27a94d);}));}),await Promise['all'](_0x2c30a6);}};we=_n([Ee(0x0,_0x59143e),Ee(0x1,_0x46d3a7),Ee(0x2,_0xf17c52(_0x3cec18))],we);class hn extends _0x5da5d3{constructor(){const _0x8d5ca2=_0x4c8ad2;super(),_(this,_0x8d5ca2(0x1f4)),this[_0x8d5ca2(0x1f4)]=_0x544f13(window,_0x8d5ca2(0x2a8))['pipe'](_0x1b892a(this['dispose$']),_0x53d780(0x1),_0x70830c(void 0x0));}[_0x4c8ad2(0x177)](_0x48d5f6,_0x498fdb,_0xc852c8=!0x1){const _0x37209a=_0x4c8ad2,_0xb2663c=new URL(window[_0x37209a(0x113)][_0x37209a(0x284)]);_0xb2663c['searchParams'][_0x37209a(0x12a)](_0x48d5f6,_0x498fdb),_0xc852c8?window[_0x37209a(0x228)][_0x37209a(0x18c)]('','',_0xb2663c[_0x37209a(0x2d3)]()):window[_0x37209a(0x228)][_0x37209a(0x2b1)]('','',_0xb2663c[_0x37209a(0x2d3)]());}[_0x4c8ad2(0x28b)](_0x4fa059,_0x52c1dd=!0x1){const _0x505a93=_0x4c8ad2,_0x1664c9=new URL(window['location']['href']);_0x1664c9[_0x505a93(0x194)][_0x505a93(0x14a)](_0x4fa059),_0x52c1dd?window[_0x505a93(0x228)][_0x505a93(0x18c)]('','',_0x1664c9[_0x505a93(0x2d3)]()):window[_0x505a93(0x228)][_0x505a93(0x2b1)]('','',_0x1664c9['toString']());}[_0x4c8ad2(0x191)](_0x9c58d3){const _0x392510=_0x4c8ad2;var _0x2af345;return(_0x2af345=new URL(window[_0x392510(0x113)][_0x392510(0x284)])[_0x392510(0x194)][_0x392510(0x254)](_0x9c58d3))!=null?_0x2af345:void 0x0;}}var un=Object[_0x4c8ad2(0x2d1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51ae90,_0x13402e,_0x15147d)=>_0x13402e in _0x51ae90?un(_0x51ae90,_0x13402e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15147d}):_0x51ae90[_0x13402e]=_0x15147d,Sn=(_0x4bf657,_0x7a921c,_0x4f1f2c,_0x4ba3ed)=>{for(var _0x393799=_0x4ba3ed>0x1?void 0x0:_0x4ba3ed?dn(_0x7a921c,_0x4f1f2c):_0x7a921c,_0x3b7713=_0x4bf657['length']-0x1,_0x1c434b;_0x3b7713>=0x0;_0x3b7713--)(_0x1c434b=_0x4bf657[_0x3b7713])&&(_0x393799=_0x1c434b(_0x393799)||_0x393799);return _0x393799;},Oe=(_0x75a49a,_0x237950)=>(_0x1b7ab4,_0x2ecac9)=>_0x237950(_0x1b7ab4,_0x2ecac9,_0x75a49a),mn=(_0x4a06d4,_0x5e7915,_0x10625a)=>fn(_0x4a06d4,_0x5e7915+'',_0x10625a);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x45b852{constructor(_0x8e67e5=et,_0x3be52f,_0x3ed019,_0x42803c){const _0x39483e=_0x4c8ad2;super(),this[_0x39483e(0x2ea)]=_0x8e67e5,this[_0x39483e(0x1aa)]=_0x3be52f,this[_0x39483e(0x2f1)]=_0x3ed019,this['_configService']=_0x42803c;const {..._0x2c105b}=_0x4493c5({},et,this['_config']);this[_0x39483e(0x245)]['setConfig'](qi,_0x2c105b);}[_0x4c8ad2(0x19e)](){const _0x389573=_0x4c8ad2;this[_0x389573(0x22f)](),this[_0x389573(0x13a)]();}[_0x4c8ad2(0x1d2)](){const _0x35840c=_0x4c8ad2;this[_0x35840c(0x17b)]();}[_0x4c8ad2(0x22f)](){const _0x2cc9e0=_0x4c8ad2;var _0x3f38b1;const _0x57c7f6=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x516080,{'useClass':_0x49dfa8}],[_0x4fb00a,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x57cd9c(this[_0x2cc9e0(0x2f1)],_0x2df628(_0x57c7f6,(_0x3f38b1=this[_0x2cc9e0(0x2ea)])==null?void 0x0:_0x3f38b1[_0x2cc9e0(0x1b3)]));}[_0x4c8ad2(0x17b)](){const _0x4771e0=_0x4c8ad2;this['disposeWithMe'](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x159)],[Le])),this[_0x4771e0(0x1b8)](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x225)],[Pe]));}[_0x4c8ad2(0x13a)](){const _0x5d51ec=_0x4c8ad2;_0x281670(this[_0x5d51ec(0x2f1)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x4c8ad2(0x149),In),Ae=Sn([_0x741372(_0x3c5b90),Oe(0x1,_0x3e0ac0),Oe(0x2,_0xf17c52(_0x14a08a)),Oe(0x3,_0x59143e)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x5df5ec,_0x5934ca,_0x2a5639,_0x12bd40)=>{const _0x1eba24=_0x4c8ad2;for(var _0x575cb0=_0x12bd40>0x1?void 0x0:_0x12bd40?vn(_0x5934ca,_0x2a5639):_0x5934ca,_0x254ea0=_0x5df5ec[_0x1eba24(0x203)]-0x1,_0x5a537f;_0x254ea0>=0x0;_0x254ea0--)(_0x5a537f=_0x5df5ec[_0x254ea0])&&(_0x575cb0=_0x5a537f(_0x575cb0)||_0x575cb0);return _0x575cb0;},z=(_0x2120fc,_0x58170e)=>(_0x2d0226,_0x165191)=>_0x58170e(_0x2d0226,_0x165191,_0x2120fc);let it=class extends _0x3fa182{constructor(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db){super(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db);}async['createSocket'](_0x573aa8){const _0x5ec39b=_0x4c8ad2,_0x351430=await this[_0x5ec39b(0x1a2)](),_0x44212a=this[_0x5ec39b(0x277)](_0x573aa8,_0x351430);return this[_0x5ec39b(0x1ba)](_0x44212a);}[_0x4c8ad2(0x277)](_0x498867,_0x4a0c28){const _0x4d8710=_0x4c8ad2,_0xafbe7b=typeof window>'u'?new URL(_0x498867):new URL(_0x498867,window[_0x4d8710(0x113)][_0x4d8710(0x116)]);_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x25c),_0x4a0c28);const _0x1f0c61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d8710(0x113)]['search']);return _0x1f0c61[_0x4d8710(0x254)]('runId')&&_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x175),_0x1f0c61[_0x4d8710(0x254)](_0x4d8710(0x175))),_0xafbe7b[_0x4d8710(0x2d3)]();}async[_0x4c8ad2(0x1a2)](){const _0x1d2d84=_0x4c8ad2;var _0x42d362,_0x322ae3,_0x4a86dd;const _0x98d34b=this[_0x1d2d84(0x245)]['getConfig'](_0x308563),_0x1e51b1=(_0x42d362=_0x98d34b==null?void 0x0:_0x98d34b['wsSessionTicketUrl'])!=null?_0x42d362:_0x35ef93;return(_0x4a86dd=(_0x322ae3=(await this['_httpService'][_0x1d2d84(0x254)](_0x1e51b1,{'headers':{'Content-Type':_0x1d2d84(0x1d0)}}))['body'])==null?void 0x0:_0x322ae3[_0x1d2d84(0x22b)])!=null?_0x4a86dd:'';}};it=gn([z(0x0,_0xf17c52(_0x14a08a)),z(0x1,_0xf17c52(_0x1d1e38)),z(0x2,_0x59143e),z(0x3,_0x4b3f07),z(0x4,_0xc396e3)],it);var Lt=(_0x33d7ec=>(_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x217)]=0x0]='UNDEFINED',_0x33d7ec[_0x33d7ec['OK']=0x1]='OK',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f2)]=0x2]=_0x4c8ad2(0x2f2),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ed)]=0x3]=_0x4c8ad2(0x2ed),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x167)]=0x4]=_0x4c8ad2(0x167),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ff)]=0x5]=_0x4c8ad2(0x2ff),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x195)]=0x6]=_0x4c8ad2(0x195),_0x33d7ec[_0x33d7ec['INVALID_ARGUMENT']=0x7]=_0x4c8ad2(0x2ab),_0x33d7ec[_0x33d7ec['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1a7)]=0x9]='COMPLETION_FINISHED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f5)]=0xa]=_0x4c8ad2(0x2f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x295)]=0xb]=_0x4c8ad2(0x295),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f9)]=0xc]=_0x4c8ad2(0x2f9),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2a2)]=0xd]=_0x4c8ad2(0x2a2),_0x33d7ec[_0x33d7ec['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4c8ad2(0x199),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x214)]=0x1389]=_0x4c8ad2(0x214),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1f5)]=0x1771]=_0x4c8ad2(0x1f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x169)]=0x1772]=_0x4c8ad2(0x169),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x22e)]=0x1773]=_0x4c8ad2(0x22e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x242)]=0x1b59]='APPLY_REJECT',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x279)]=0x1b5a]=_0x4c8ad2(0x279),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x250)]=0x1b5b]=_0x4c8ad2(0x250),_0x33d7ec[_0x33d7ec['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c8ad2(0x11f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2bf)]=0x1b5d]=_0x4c8ad2(0x2bf),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x16b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x126)]=0x232a]=_0x4c8ad2(0x126),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2c4)]=0x232b]=_0x4c8ad2(0x2c4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2d7)]=0x232c]=_0x4c8ad2(0x2d7),_0x33d7ec[_0x33d7ec['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4c8ad2(0x14b),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1d5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x33d7ec[_0x33d7ec['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c8ad2(0x212),_0x33d7ec[_0x33d7ec['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4c8ad2(0x2dd),_0x33d7ec[_0x33d7ec['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c8ad2(0x216),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x118)]=0x271a]=_0x4c8ad2(0x118),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x138)]=0x271b]=_0x4c8ad2(0x138),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1b4)]=0x271c]=_0x4c8ad2(0x1b4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x23e)]=0x271d]=_0x4c8ad2(0x23e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x253)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2b7)]=0x2720]=_0x4c8ad2(0x2b7),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x239)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33d7ec[_0x33d7ec['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c8ad2(0x27f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x119)]=0x2ee2]=_0x4c8ad2(0x119),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x150)]=0x2ee3]=_0x4c8ad2(0x150),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e0)]=0x2ee4]=_0x4c8ad2(0x1e0),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2e2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21a)]=0x32c9]=_0x4c8ad2(0x21a),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x229)]=0x32ca]=_0x4c8ad2(0x229),_0x33d7ec[_0x33d7ec['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33d7ec[_0x33d7ec['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x33d7ec))(Lt||{}),pn=Object[_0x4c8ad2(0x122)],Cn=(_0x12b007,_0x9d27d0,_0x5a8d7a,_0x516190)=>{const _0x7f91c2=_0x4c8ad2;for(var _0x45c1b9=_0x516190>0x1?void 0x0:_0x516190?pn(_0x9d27d0,_0x5a8d7a):_0x9d27d0,_0x122cdc=_0x12b007[_0x7f91c2(0x203)]-0x1,_0x41fb9;_0x122cdc>=0x0;_0x122cdc--)(_0x41fb9=_0x12b007[_0x122cdc])&&(_0x45c1b9=_0x41fb9(_0x45c1b9)||_0x45c1b9);return _0x45c1b9;},be=(_0x385005,_0x53356e)=>(_0x45c4d3,_0x33d801)=>_0x53356e(_0x45c4d3,_0x33d801,_0x385005);let nt=class extends _0x388847{constructor(_0x551f65,_0x23c9e9,_0x36616b){const _0x43041c=_0x4c8ad2;super(),this[_0x43041c(0x231)]=_0x551f65,this[_0x43041c(0x1cd)]=_0x23c9e9,this['_configService']=_0x36616b;}async[_0x4c8ad2(0x2ad)](_0x4ef2dc,_0x3516ca,_0x377c7a,..._0x155418){const _0x167e96=_0x4c8ad2;var _0x548668,_0x48d452,_0x34b99a,_0x55741c;const _0x4a2d3f=this[_0x167e96(0x231)][_0x167e96(0x305)]();if(!_0x4a2d3f)throw new Error(_0x167e96(0x147));const _0x8fa8da=((_0x548668=this[_0x167e96(0x245)][_0x167e96(0x275)](_0x4bbfa3))!=null?_0x548668:_0x1ead77)+'/'+_0x4ef2dc+'/run/'+_0x3516ca,_0x4d1ed5=new URL(window[_0x167e96(0x113)][_0x167e96(0x284)]),_0x3bf4ec={'scriptId':_0x4ef2dc,'runId':(_0x48d452=_0x4d1ed5[_0x167e96(0x194)][_0x167e96(0x254)](_0x167e96(0x175)))!=null?_0x48d452:'','function':_0x3516ca,'unitId':_0x4a2d3f[_0x167e96(0x2c7)](),'argsOfFunction':JSON[_0x167e96(0x211)](_0x155418),'invokeId':(_0x34b99a=_0x377c7a[_0x167e96(0x264)])!=null?_0x34b99a:'','executionId':(_0x55741c=_0x377c7a[_0x167e96(0x1ca)])!=null?_0x55741c:''};try{const _0x280049=await this[_0x167e96(0x1cd)][_0x167e96(0x2fd)](_0x8fa8da,{'body':_0x3bf4ec});return _0x280049['body'][_0x167e96(0x1ff)]&&_0x280049[_0x167e96(0x269)]['error']['code']!==Lt['OK']?_0x167e96(0x17d):_0x280049['body'][_0x167e96(0x1fb)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x267da8),be(0x1,_0xf17c52(_0x1d1e38)),be(0x2,_0x59143e)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x388847{constructor(){const _0x5d97ed=_0x4c8ad2;super(),_(this,_0x5d97ed(0x18f),_0x2ddacf()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5d97ed(0x158),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x5d97ed(0x1f7)]();}['dispose'](){const _0xc1b959=_0x4c8ad2;super[_0xc1b959(0x1f1)](),this[_0xc1b959(0x19f)][_0xc1b959(0x1db)]((_0x3abe9c,_0x3ebec3)=>this[_0xc1b959(0x136)](_0x3ebec3)),this[_0xc1b959(0x20f)]&&window[_0xc1b959(0x127)](this[_0xc1b959(0x20f)]);}[_0x4c8ad2(0x13f)](_0x213b9e){return this['_ensureSubject'](_0x213b9e)['pipe'](_0x3afa5b());}[_0x4c8ad2(0x165)](_0x301e3c){const _0x3e072e=_0x4c8ad2;this['_selfUnitIDs'][_0x3e072e(0x294)]===0x0&&this[_0x3e072e(0x19c)](),this[_0x3e072e(0x1ec)]['add'](_0x301e3c),this[_0x3e072e(0x232)]({'type':0x0,'memberID':this[_0x3e072e(0x18f)],'unitIDs':[_0x301e3c],'isForwarded':!0x1});}[_0x4c8ad2(0x12f)](_0x4f9cc6){const _0x13560f=_0x4c8ad2;this[_0x13560f(0x1ec)][_0x13560f(0x14a)](_0x4f9cc6),this[_0x13560f(0x1ec)][_0x13560f(0x294)]===0x0&&this[_0x13560f(0x20f)]&&window[_0x13560f(0x127)](this['_heartbeatTimer']);}[_0x4c8ad2(0x1f7)](){const _0x4ef3ee=_0x4c8ad2;this[_0x4ef3ee(0x1b8)](_0x5d9642(_0x544f13(window,_0x4ef3ee(0x30e))['subscribe'](_0x1bd438=>{const _0x59e9a3=_0x4ef3ee;if(_0x1bd438[_0x59e9a3(0x2e4)]!==ot||!_0x1bd438['newValue'])return;const _0x985d23=JSON['parse'](_0x1bd438[_0x59e9a3(0x309)]);this[_0x59e9a3(0x304)](_0x985d23);}))),window[_0x4ef3ee(0x2c5)](_0x4ef3ee(0x15b),()=>this[_0x4ef3ee(0x232)]({'type':0x1,'memberID':this[_0x4ef3ee(0x18f)],'unitIDs':Array[_0x4ef3ee(0x2e5)](this[_0x4ef3ee(0x1ec)])}));}[_0x4c8ad2(0x304)](_0x1ac17b){const _0x5ad447=_0x4c8ad2;switch(_0x1ac17b['type']){case 0x0:this[_0x5ad447(0x271)](_0x1ac17b);break;case 0x1:this[_0x5ad447(0x28d)](_0x1ac17b);break;case 0x2:this['_handleHeartbeatEvent'](_0x1ac17b);break;}}['_handleJoinEvent'](_0x5bf25d){const _0x29f73a=_0x4c8ad2,{unitIDs:_0x1780fb,memberID:_0x407cd7,isForwarded:_0x1e8c93}=_0x5bf25d;_0x1780fb['forEach'](_0x88b098=>{const _0x28f705=_0x1a2b;if(!_0x1e8c93&&this[_0x28f705(0x158)][_0x28f705(0x207)](_0x88b098)&&this['_ensureSubject'](_0x88b098)[_0x28f705(0x17c)](_0xfe3c08[_0x28f705(0x123)]),!this['_unitOnClients']['has'](_0x88b098)||!this['_unitOnClients'][_0x28f705(0x254)](_0x88b098)['has'](_0x407cd7)){const _0x3438f5=this[_0x28f705(0x158)][_0x28f705(0x254)](_0x88b098)||new Set();_0x3438f5[_0x28f705(0x2a6)](_0x407cd7),this[_0x28f705(0x158)][_0x28f705(0x12a)](_0x88b098,_0x3438f5),this['_scheduleClearOtherTimer'](_0x407cd7);}}),_0x1e8c93||this[_0x29f73a(0x232)]({'type':0x0,'memberID':this[_0x29f73a(0x18f)],'unitIDs':[...this[_0x29f73a(0x1ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4585b5){const _0x4de34d=_0x4c8ad2;this[_0x4de34d(0x136)](_0x4585b5);const _0x5e37dc=window[_0x4de34d(0x24f)](()=>{const _0xc82a65=_0x4de34d;this[_0xc82a65(0x158)][_0xc82a65(0x1db)](_0x117ad2=>{const _0xcf0e3a=_0xc82a65;_0x117ad2[_0xcf0e3a(0x14a)](_0x4585b5);});},rt*0x2);this[_0x4de34d(0x19f)][_0x4de34d(0x12a)](_0x4585b5,_0x5e37dc);}['_removeClearOtherTimer'](_0x3b8168){const _0x388717=_0x4c8ad2;if(this['_clearOtherTimers']['has'](_0x3b8168)){const _0x58e190=this[_0x388717(0x19f)][_0x388717(0x254)](_0x3b8168);_0x58e190&&window[_0x388717(0x29d)](_0x58e190),this[_0x388717(0x19f)][_0x388717(0x12a)](_0x3b8168,null);}}[_0x4c8ad2(0x28d)](_0x17b1e0){const _0x47736c=_0x4c8ad2,{memberID:_0x3aab63,unitIDs:_0x1ba778}=_0x17b1e0;_0x1ba778['forEach'](_0x5d3433=>{const _0x3a761d=_0x1a2b;var _0x14af0e;const _0x44b2a1=this['_unitOnClients'][_0x3a761d(0x254)](_0x5d3433);_0x44b2a1&&(_0x44b2a1[_0x3a761d(0x14a)](_0x3aab63),(_0x14af0e=this[_0x3a761d(0x22a)](_0x5d3433))==null||_0x14af0e['next'](_0x44b2a1['size']===0x0?_0xfe3c08[_0x3a761d(0x112)]:_0xfe3c08['OTHER_CLIENTS_EDITING']));}),this[_0x47736c(0x136)](_0x3aab63);}['_handleHeartbeatEvent'](_0x4fcc05){const _0x2ea74e=_0x4c8ad2;this[_0x2ea74e(0x2a7)](_0x4fcc05[_0x2ea74e(0x1fd)]);}[_0x4c8ad2(0x232)](_0x57c020){const _0x34077f=_0x4c8ad2;localStorage[_0x34077f(0x2d6)](ot,JSON['stringify'](_0x57c020));}['_scheduleHeartbeat'](){const _0x9d0f3e=_0x4c8ad2;this['_heartbeatTimer']=window[_0x9d0f3e(0x157)](()=>{const _0x357e0f=_0x9d0f3e;this[_0x357e0f(0x232)]({'type':0x2,'memberID':this[_0x357e0f(0x18f)]});},rt);}['_ensureSubject'](_0x28fa2e){const _0x30efdb=_0x4c8ad2;return this['_unitStatus'][_0x30efdb(0x207)](_0x28fa2e)||this[_0x30efdb(0x184)][_0x30efdb(0x12a)](_0x28fa2e,new _0x2c7c6b(_0xfe3c08[_0x30efdb(0x112)])),this[_0x30efdb(0x184)][_0x30efdb(0x254)](_0x28fa2e);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0xb5b8d0=_0x5e97;(function(_0x49687b,_0x52a505){const _0x2b855a=_0x5e97,_0x13346f=_0x49687b();while(!![]){try{const _0x231e54=-parseInt(_0x2b855a(0x1c9))/0x1*(parseInt(_0x2b855a(0x214))/0x2)+parseInt(_0x2b855a(0x81))/0x3+-parseInt(_0x2b855a(0xf6))/0x4*(-parseInt(_0x2b855a(0x25d))/0x5)+-parseInt(_0x2b855a(0x131))/0x6*(parseInt(_0x2b855a(0x113))/0x7)+parseInt(_0x2b855a(0xef))/0x8*(-parseInt(_0x2b855a(0x15b))/0x9)+parseInt(_0x2b855a(0x12f))/0xa*(-parseInt(_0x2b855a(0x201))/0xb)+parseInt(_0x2b855a(0x1f3))/0xc*(parseInt(_0x2b855a(0x225))/0xd);if(_0x231e54===_0x52a505)break;else _0x13346f['push'](_0x13346f['shift']());}catch(_0x28025c){_0x13346f['push'](_0x13346f['shift']());}}}(_0x454b,0x738d0));var xt=Object['defineProperty'],Bt=(_0x411ce9,_0x1fe06f,_0x1c3ba9)=>_0x1fe06f in _0x411ce9?xt(_0x411ce9,_0x1fe06f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c3ba9}):_0x411ce9[_0x1fe06f]=_0x1c3ba9,_=(_0x2ce368,_0xb0e98b,_0x5e9f29)=>Bt(_0x2ce368,typeof _0xb0e98b!=_0xb5b8d0(0x7d)?_0xb0e98b+'':_0xb0e98b,_0x5e9f29);import{jsx as _0x39863f,jsxs as _0x8b05a}from'react/jsx-runtime';import{CollaborationStatus as _0x42a6e9,CollaborationSessionService as _0x21ac1e,CollaborationController as _0x4316fb,DataLoaderService as _0x125524,MemberService as _0x26abab,SessionStatus as _0x1ce609,ILocalCacheService as _0x6a6b7c,CollaborationUIEventService as _0x52cd43,CollaborationUIEventId as _0x2b6db6,DocCollaborationEntity as _0x31305f,getLocalCacheKey as _0xd2da85,LOCAL_CACHE_INTERVAL as _0x559221,LOCAL_CACHE_INTERVAL_KEY as _0x164bdd,UniverCollaborationClientPlugin as _0x41bb79,CollaborationSocketService as _0x463be4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20e3b0,DEFAULT_WS_SESSION_TICKET_URL as _0x2e0915,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x346584,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xf2b8ba,UnitStatus as _0x3dca56}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x2b1b91,IUniverInstanceService as _0x58e3c0,Inject as _0x5ab208,Injector as _0x4b1804,Disposable as _0x48907d,createIdentifier as _0x4a0a32,ILogService as _0x5346a3,ICommandService as _0x5fe99,Optional as _0x3043ed,RxDisposable as _0x1f1152,Workbook as _0x3664f4,DOC_RANGE_TYPE as _0x26b3c6,debounce as _0x516ce7,Rectangle as _0x403b0c,DisposableCollection as _0x1c4b08,toDisposable as _0x3880d2,UniverInstanceType as _0x31676a,generateRandomId as _0xd9bb20,COLORS as _0x952e1d,ColorKit as _0x2fca1c,ThemeService as _0x5d448e,fromEventSubject as _0x50f2e6,Tools as _0x326ea0,CommandType as _0xbb6eac,IConfigService as _0xf5ee3b,ILocalStorageService as _0x453d3f,DependentOn as _0x12b540,Plugin as _0x2f60e6,merge as _0x4b6b27,registerDependencies as _0x19e2fa,mergeOverrideWithDependencies as _0x508cc9,touchDependencies as _0xba00af}from'@univerjs/core';import{useObservable as _0x4b8379,useDependency as _0x1232dd,IUIPartsService as _0x36a357,BuiltInUIPart as _0x39299c,connectInjector as _0x3ca231,IBeforeCloseService as _0x2ca3fc,IMessageService as _0x1e86bf,INotificationService as _0x38e44c}from'@univerjs/ui';function _0x5e97(_0x2a63ea,_0x14b286){const _0x454bfc=_0x454b();return _0x5e97=function(_0x5e97a1,_0x18b5cc){_0x5e97a1=_0x5e97a1-0x74;let _0x50ddc6=_0x454bfc[_0x5e97a1];return _0x50ddc6;},_0x5e97(_0x2a63ea,_0x14b286);}import{BehaviorSubject as _0x5436fa,switchMap as _0x128650,of as _0x4ae151,takeUntil as _0x51ba43,debounceTime as _0x3ea57a,Subject as _0x114b27,filter as _0x385986,merge as _0x45a6cc,combineLatest as _0x5d2c69,fromEvent as _0x54bb75,shareReplay as _0x5b6a85,mapTo as _0x2076c9,distinctUntilChanged as _0x46d39e}from'rxjs';import{Tooltip as _0x4178b1,clsx as _0x77953,MessageType as _0x3bda76}from'@univerjs/design';import{forwardRef as _0xa45e87,useRef as _0x3ce3df,createElement as _0x4971e6,useCallback as _0x29f74b}from'react';import{IRemoteInstanceService as _0x124e6b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xbc39dc,RefRangeService as _0x1e3e0d,SetSelectionsOperation as _0x74528c,SheetsSelectionsService as _0x2936c1,EffectRefRangId as _0x576042,handleIRemoveRow as _0x350551,handleIRemoveCol as _0x16d084,handleMoveRange as _0x1c62c6,handleInsertRow as _0x22d7db,handleInsertRangeMoveRight as _0x271d66,handleInsertRangeMoveDown as _0x36cadb,handleInsertCol as _0x2129b3,handleDeleteRangeMoveUp as _0xc3ee8c,handleDeleteRangeMoveLeft as _0x3e22c0,runRefRangeMutations as _0x4c34bf}from'@univerjs/sheets';import{Shape as _0x54f0c1,Rect as _0x24ca21,getColor as _0x513ec6,RegularPolygon as _0x54151c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2eabd7,Vector2 as _0x53af8e,SHEET_VIEWPORT_KEY as _0x51b856,IRenderManagerService as _0x1c89d7}from'@univerjs/engine-render';import{ISocketService as _0x1892b4,WebSocketService as _0x51103c,HTTPService as _0x16ff0f}from'@univerjs/network';import{IDocClipboardService as _0x11e8dd,NodePositionConvertToCursor as _0x3e7d38,NodePositionConvertToRectRange as _0xd28206,TEXT_RANGE_LAYER_INDEX as _0x13551f,SetDocZoomRatioOperation as _0xeb20c4,DocIMEInputManagerService as _0x31c147,DocStateChangeManagerService as _0x379fe1}from'@univerjs/docs-ui';import{IImageIoService as _0x4e0455}from'@univerjs/drawing';import{ITransformService as _0x4cf894,CollaborationEvent as _0x2594c2,isTransformMutationFailure as _0x1a0d06,isTransformMutationsWithChangesetSuccess as _0xd83022,RevisionService as _0x595ed7,ISnapshotServerService as _0x4b3a17}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xdaa116,RichTextEditingMutation as _0x41c29b,DocSelectionManagerService as _0x5b3937,DocSkeletonManagerService as _0x25119e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x330e23,serializeRangeWithSheet as _0x2481c2}from'@univerjs/engine-formula';import{map as _0xcffc2,filter as _0xf06919,throttleTime as _0x1433b1,takeUntil as _0x562d89,switchMap as _0x270c8f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x214d4d,getCoordByCell as _0x13a212,getSheetObject as _0x506a72}from'@univerjs/sheets-ui';var v=function(){const _0x270b4f=_0xb5b8d0;return v=Object[_0x270b4f(0xa4)]||function(_0x313a00){const _0x540172=_0x270b4f;for(var _0x2cb695,_0x553d4f=0x1,_0x50815d=arguments[_0x540172(0xb1)];_0x553d4f<_0x50815d;_0x553d4f++){_0x2cb695=arguments[_0x553d4f];for(var _0x3e2b8a in _0x2cb695)Object[_0x540172(0x1cc)][_0x540172(0x14f)][_0x540172(0x1da)](_0x2cb695,_0x3e2b8a)&&(_0x313a00[_0x3e2b8a]=_0x2cb695[_0x3e2b8a]);}return _0x313a00;},v[_0x270b4f(0x90)](this,arguments);},ci=function(_0x15d3fa,_0x5ea727){const _0x426370=_0xb5b8d0;var _0x2305dd={};for(var _0x40d818 in _0x15d3fa)Object[_0x426370(0x1cc)][_0x426370(0x14f)][_0x426370(0x1da)](_0x15d3fa,_0x40d818)&&_0x5ea727[_0x426370(0x97)](_0x40d818)<0x0&&(_0x2305dd[_0x40d818]=_0x15d3fa[_0x40d818]);if(_0x15d3fa!=null&&typeof Object['getOwnPropertySymbols']==_0x426370(0x19e)){for(var _0x4d82d0=0x0,_0x40d818=Object[_0x426370(0x135)](_0x15d3fa);_0x4d82d0<_0x40d818['length'];_0x4d82d0++)_0x5ea727['indexOf'](_0x40d818[_0x4d82d0])<0x0&&Object[_0x426370(0x1cc)][_0x426370(0x1d0)]['call'](_0x15d3fa,_0x40d818[_0x4d82d0])&&(_0x2305dd[_0x40d818[_0x4d82d0]]=_0x15d3fa[_0x40d818[_0x4d82d0]]);}return _0x2305dd;},ke=_0xa45e87(function(_0x452951,_0x452c3b){const _0x217e50=_0xb5b8d0;var _0xb7ec36=_0x452951[_0x217e50(0xcd)],_0x53812a=_0x452951['id'],_0x23c6ff=_0x452951[_0x217e50(0xf1)],_0x108ab1=_0x452951[_0x217e50(0x19b)],_0x160785=ci(_0x452951,[_0x217e50(0xcd),'id',_0x217e50(0xf1),_0x217e50(0x19b)]),_0x1add5f=_0x217e50(0x1bf)['concat'](_0x53812a,'\x20')[_0x217e50(0xc6)](_0x23c6ff||'')[_0x217e50(0x18d)](),_0x203ebc=_0x3ce3df('_'[_0x217e50(0xc6)](hi()));return Rt(_0xb7ec36,''[_0x217e50(0xc6)](_0x53812a),{'defIds':_0xb7ec36[_0x217e50(0x223)],'idSuffix':_0x203ebc[_0x217e50(0x21b)]},v({'ref':_0x452c3b,'className':_0x1add5f},_0x160785),_0x108ab1);});function Rt(_0x24f7a7,_0x585928,_0x1621be,_0x2ab748,_0x3300a0){const _0x376564=_0xb5b8d0;return _0x4971e6(_0x24f7a7['tag'],v(v({'key':_0x585928},li(_0x24f7a7,_0x1621be,_0x3300a0)),_0x2ab748),(_i(_0x24f7a7,_0x1621be)[_0x376564(0x196)]||[])[_0x376564(0x254)](function(_0x286c54,_0x57e544){const _0x279ed8=_0x376564;return Rt(_0x286c54,''['concat'](_0x585928,'-')[_0x279ed8(0xc6)](_0x24f7a7[_0x279ed8(0x86)],'-')[_0x279ed8(0xc6)](_0x57e544),_0x1621be,void 0x0,_0x3300a0);}));}function li(_0x2c0e27,_0xf1938a,_0x5d764d){const _0x1de750=_0xb5b8d0;var _0x44fa47=v({},_0x2c0e27[_0x1de750(0x13a)]);_0x5d764d!=null&&_0x5d764d['colorChannel1']&&_0x44fa47[_0x1de750(0x167)]===_0x1de750(0xc0)&&(_0x44fa47[_0x1de750(0x167)]=_0x5d764d[_0x1de750(0xc0)]),_0x2c0e27[_0x1de750(0x86)]==='mask'&&_0x44fa47['id']&&(_0x44fa47['id']=_0x44fa47['id']+_0xf1938a[_0x1de750(0x1ef)]),Object[_0x1de750(0x17c)](_0x44fa47)[_0x1de750(0x13e)](function(_0x203bf8){const _0x4d6c58=_0x1de750;var _0x38c78a=_0x203bf8[0x0],_0x57ff52=_0x203bf8[0x1];_0x38c78a==='mask'&&typeof _0x57ff52==_0x4d6c58(0xdb)&&(_0x44fa47[_0x38c78a]=_0x57ff52['replace'](/url\(#(.*)\)/,_0x4d6c58(0xb3)[_0x4d6c58(0xc6)](_0xf1938a[_0x4d6c58(0x1ef)],')')));});var _0x3a6faf=_0xf1938a[_0x1de750(0x223)];return!_0x3a6faf||_0x3a6faf['length']===0x0||(_0x2c0e27[_0x1de750(0x86)]==='use'&&_0x44fa47['xlink:href']&&(_0x44fa47[_0x1de750(0x114)]=_0x44fa47['xlink:href']+_0xf1938a[_0x1de750(0x1ef)]),Object[_0x1de750(0x17c)](_0x44fa47)['forEach'](function(_0x57ba6a){const _0x14d002=_0x1de750;var _0x4547b5=_0x57ba6a[0x0],_0x573495=_0x57ba6a[0x1];typeof _0x573495==_0x14d002(0xdb)&&(_0x44fa47[_0x4547b5]=_0x573495['replace'](/url\(#(.*)\)/,_0x14d002(0xb3)['concat'](_0xf1938a[_0x14d002(0x1ef)],')')));})),_0x44fa47;}function _i(_0x2d59ee,_0x289fd6){const _0x145849=_0xb5b8d0;var _0x21e586,_0x4f393c=_0x289fd6[_0x145849(0x223)];return!_0x4f393c||_0x4f393c[_0x145849(0xb1)]===0x0?_0x2d59ee:_0x2d59ee[_0x145849(0x86)]===_0x145849(0x15e)&&(!((_0x21e586=_0x2d59ee['children'])===null||_0x21e586===void 0x0)&&_0x21e586['length'])?v(v({},_0x2d59ee),{'children':_0x2d59ee[_0x145849(0x196)][_0x145849(0x254)](function(_0x583f6b){const _0x427422=_0x145849;return typeof _0x583f6b[_0x427422(0x13a)]['id']==_0x427422(0xdb)&&_0x4f393c&&_0x4f393c['includes'](_0x583f6b[_0x427422(0x13a)]['id'])?v(v({},_0x583f6b),{'attrs':v(v({},_0x583f6b[_0x427422(0x13a)]),{'id':_0x583f6b['attrs']['id']+_0x289fd6[_0x427422(0x1ef)]})}):_0x583f6b;})}):_0x2d59ee;}function hi(){const _0x34e285=_0xb5b8d0;return Math[_0x34e285(0x25e)]()[_0x34e285(0x75)](0x24)['substring'](0x2,0x8);}ke[_0xb5b8d0(0x21e)]=_0xb5b8d0(0x257);function _0x454b(){const _0x2ae350=['translate(.97)','className','name','_scheduleClearOtherTimer','error','getSheetBySheetId','1096244dXWkMt','clipPath','registerRenderModule','INVITE_CODE_REQUIRED','_registerDependencies','_updateURLWithCurrentState','_anchorDot','data','_initStatusListener','_updateLocalCursor','pluginName','_selfUnitIDs','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','_lastPointer','collab-client.tooltip.reconnect','saveImage','beginPath','_initStatusComponent','arc','eventID','setTimeout','univer-flex\x20univer-items-center','getUnitStatus$','onCommandExecuted','_anchor','_scheduleSaving','off-line-icon','registerRefRange','541996dhykYQ','xlink:href','textRanges','_shapes','_initResize','_colorAssignService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','onLocalMutation','USERS_LEAVE','has','asObservable','on-line-icon','LOGIN_FAILED','labelPosition','_getAnchorBounding','getMergeData','getConfig','syncEditingCollabCursor','getOwnPropertyDescriptor','ranges','max','_session','MUTATION','_injector','_handleLeaveEvent','code','_status$','_document','50VtgORg','setActiveRange','12PhjGkE','_removeClearOtherTimer','runId','onPointerMove$','getOwnPropertySymbols','getItem','collabStatus.conflict','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.title','attrs','UNAUTHENTICATED','_range','_startSheetCollabCursor','forEach','addObjects','OFFLINE','CONFLICT','pushState','newValue','getDocRanges','_collaborationUIEventService','_renderManagerService','yellow.400','unit','unitId','PERMISSION_DENIED','_onRefRangeChange','from','subunit','transformByState','hasOwnProperty','dispose$','disposeUnit','UPDATE_CURSOR','_docTransformSelectionsService','_urlService','subscribeEvent','roomMembers','_unitOnClients','width','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_FAILED','1757529ihdfVL','requireSession','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','defs','_handleHeartbeatEvent','_updateSubUnitFromURLParams','set','0\x200\x2017\x2016','startColumn','path','CHANGESET_REVISION_CONFILICT','mutations','fill','YUUMI_UNABLE_LOAD_URL','_hovered','INVALID_INVITE_CODE','enableLocalCache','_entities','black','pipe','...','hide','_cursor','wsSessionTicketUrl','INVITE_CODE_HAS_BEEN_UES','font','_online','UNDEFINED','setItem','_getScale','_updateCollabCursors','APPLY_NON_SEQUENTIAL_REVISION','M0\x200H16V16H0z','entries','addEventListener','transformIMECache','debug','event$','RECT','next','ACTIVE_UNIT_EVENT_CHANNEL','replaceDocRanges','_handleHover','session.collaboration-timeout','text','drawWith','_saveCache','unitID','_docTransformStateCacheService','_render','trim','_commandService','stringify','push','find','transformMutation','save','APPLY_REVISION_CONFILICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','onTransformChange$','search','_scene','_collaborationController','extend','YUUMI_RATE_OVER_LIMIT','isActive','function','_docClipboardService','UNIVER_DOC','transformMutationsWithChangeset','toRgbString','currentSkeleton$','OnLineIcon','[CollaborationDataLoaderController]','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sessionStatus$','INVALID_ARGUMENT','urlChange$','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','key','_getSheetObject','_ensureSubject','_getSaveTimeout','purple.300','init','_messageService','_colorIndex','getCollabCursors$','_scheduleHeartbeat','body','entityInit$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','subscribe','backgroundColor','_context','_assignedColors','LICENSE_MAX_UNITS_EXCEEDED','_memberService','univerjs-icon\x20univerjs-icon-','_labelPosition','_logService','_refreshCollabCursors','_toggleOffline','RemoveRowCommandId','_cursors','history','height','getFocusedUnit','1BBenMT','getViewport','_docSkeletonManagerService','prototype','getUndoRedoMutationParamsCache','show','_dataLoaderService','propertyIsEnumerable','none','replaceState','registerBeforeClose','transformSelections','VIEW_MAIN','_toggleOnline','getParam','top','subUnitId','call','parse','_transformService','contains','send','_handleJoinEvent','getVpScrollXYInfoByPosToVp','SYNCED','_startDocCollabCursor','EMAIL_HAS_BEEN_BOUND','currentTheme$','size','getCellPositionByOffset','MoveRangeCommandId','_heartbeatTimer','white','green.600','setParam','engine','currentColor','_onCursorDelete','idSuffix','_hover','ALREADY_EXISTS','permission.content','1402932UoZrLL','selections','collab-text-range-','getSkeleton','startRow','getSheetId','onStarting','createInstance','TEXT','round','Warning','location','cursorInfo','href','240889FDWrSI','on-line-icon_clip0_910_349','_hideTimer','_httpService','cursorInfo$','getActiveSheet','findNodePositionByCharIndex','getTypeOfUnitDisposed$','setConfig','_onCursorUpdate','HEADER_MENU','_themeService','OTHER_CLIENT_EDITING','FromArray','setAlpha','focused$','transformStateCache','UNRECOGNIZED','getRenderById','1285582UFJDsY','editingUnit','closePath','values','blue.400','addClipboardHook','unload','current','ONLINE','application/json','displayName','NO_OTHER_CLIENTS_EDITING','_collabCursorController','disposeWithMe','div','defIds','INTERNAL_ERROR','130XGGcQw','http://www.w3.org/2000/svg','delete','SNAPSHOT_INVALID_SNAPSHOT','1em','collabStatus.syncing','YUUMI_AI_RUN_FAILED','defineProperty','complete','_id','saveTaskMap','sheetId','_cursorInfo$','getColorFromTheme','override','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fillRule','moveTo','_init','_docSyncEditingCollabCursorService','_localStorageService','type','_instanceService','_backgroundColor','_univerInstanceService','roomMembers$','_refRangeService','getRangePointData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','collabStatus.offline','_localeService','_collabCursorState$','doc.mutation.rich-text-editing','get','InsertRowCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','CLOSE_ROOM','fillStyle','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','CONNECTOR_DATA_TOO_LARGE','column','hovered','_docStateChangeManagerService','_drawRectRange','origin','map','_registerRenderDependencies','_localCacheService','UniverIcon','_revisionService','_clearOtherTimers','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','_name','10jDySBS','random','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','AWAITING','min','NOT_COLLAB','YUUMI_ASYNCIO_CANCELLED','undoState','_setupSubUnitSync','collabStatus.notCollab','transform','memberID','_configService','_roomMembers$','onPointerEnter$','_setupBeforeClosingHandler','Failed','_drawTextRange','collabStatus.synced','invokeId','clearInterval','triggerDblclick','NOT_FOUND','0\x200\x2016\x2016','fillText','activeSheet$','m1Prime','then','toString','unshift','_initDependencies','range','PY_RUNTIME_SCRIPT_ERROR','collabCursorState$','getUnitId','restore','symbol','clearTimeout','WECHAT_HAS_BEEN_BOUND','InsertColCommandId','747147iyVgZA','popstate','getRelativeToViewportCoord','executeCommand','collabStatus.fetchMiss','tag','_initCommandExecutedListener','_getSessionTicket','unsubscribe','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','onRendered','setInterval','add','apply','svg','onPointerLeave$','getValue','_saveTaskMap','YUUMI_NO_CUBOID_FOR_QUESTION','source','indexOf','_handleEvent','_collabSessionService','_transformUndoRedoStack','#FFF','getMember','color','removeParam','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','getActiveRange','DeleteRangeMoveUpCommandId','skeleton','assign','_doCreateSocket','UNIVER_SHEET','APPLY_PERMISSION_DENIED','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','collaboration.single-unit.warning','_createSocketURL','YUUMI_URL_COL_OUT_OF_RANGE','with','saveOfflineData','off-line-icon_clip0_910_343','_send','length','flatMap','url(#$1','_initEntityListener','collaboration-client-ui.config','_getMergeRange','uni.network.url-service','transformRemoteChangeset','setUndoRedoMutationParamsCache','_disabled','loadOfflineData','dispose','_docTransformIMECacheService','m2Prime','_transformHistoryAndStateStack','colorChannel1','_cursorShapes','_draw','isArray','deepClone','_entityInit$','concat','_textBubble','_unitStatus','getStateCache','OTHER_CLIENTS_EDITING','_notificationService','Error','icon','_sheetSkeletonManagerService','assignAColorForMemberID','searchParams','_removeCollabCursors','_config','getTypeOfUnitAdded$','_imageIoService','onMouseMove','_color','setShapeProps','ticket','selection','redoState','string','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','TOO_MANY_REQUESTS','_eventUnsubscribe','_beforeCloseService','endColumn','AWAITING_WITH_PENDING','params','red.300','measureText','Unknown\x20user','collab-rect-range-','lineTo','_initEvent','_transformPreviousActiveRange','startsWith','getAncestorScale','collaboration.closeRoom','RemoveColCommandId','_cachedData','24dKjHiO'];_0x454b=function(){return _0x2ae350;};return _0x454b();}var ui={'tag':_0xb5b8d0(0x91),'attrs':{'xmlns':_0xb5b8d0(0x226),'fill':_0xb5b8d0(0x1d1),'viewBox':_0xb5b8d0(0x274),'width':_0xb5b8d0(0x229),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'stroke':_0xb5b8d0(0x1ed),'d':_0xb5b8d0(0x1aa),'strokeLinecap':'round','strokeLinejoin':_0xb5b8d0(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'fill':_0xb5b8d0(0x1e9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xb5b8d0(0xaf)]},Dt=_0xa45e87(function(_0x56af73,_0x435255){const _0x1b2c1b=_0xb5b8d0;return _0x4971e6(ke,Object[_0x1b2c1b(0xa4)]({},_0x56af73,{'id':_0x1b2c1b(0x111),'ref':_0x435255,'icon':ui}));});Dt[_0xb5b8d0(0x21e)]='OffLineIcon';var di={'tag':_0xb5b8d0(0x91),'attrs':{'xmlns':_0xb5b8d0(0x226),'fill':_0xb5b8d0(0x1d1),'viewBox':_0xb5b8d0(0x162),'width':'1em','height':_0xb5b8d0(0x229)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xb5b8d0(0x1ed),'d':_0xb5b8d0(0x25f),'strokeLinecap':'round','strokeLinejoin':_0xb5b8d0(0x1fc),'strokeWidth':1.2}}]},{'tag':_0xb5b8d0(0x15e),'attrs':{},'children':[{'tag':_0xb5b8d0(0xf7),'attrs':{'id':_0xb5b8d0(0x202)},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'fill':_0xb5b8d0(0x1e9),'d':_0xb5b8d0(0x17b),'transform':_0xb5b8d0(0xf0)}}]}]}],'defIds':[_0xb5b8d0(0x202)]},Nt=_0xa45e87(function(_0x3ed6c1,_0x16391a){const _0x54c65b=_0xb5b8d0;return _0x4971e6(ke,Object[_0x54c65b(0xa4)]({},_0x3ed6c1,{'id':_0x54c65b(0x11e),'ref':_0x16391a,'icon':di}));});Nt[_0xb5b8d0(0x21e)]=_0xb5b8d0(0x1a4);function fi(_0x2e94ec){const _0x3a8cc5=_0xb5b8d0;switch(_0x2e94ec){case _0x42a6e9['OFFLINE']:return _0x3a8cc5(0x243);case _0x42a6e9[_0x3a8cc5(0x141)]:return _0x3a8cc5(0x137);case _0x42a6e9['FETCH_MISS']:return _0x3a8cc5(0x85);case _0x42a6e9[_0x3a8cc5(0x262)]:return _0x3a8cc5(0x266);case _0x42a6e9[_0x3a8cc5(0x260)]:case _0x42a6e9[_0x3a8cc5(0xe1)]:return _0x3a8cc5(0x22a);case _0x42a6e9[_0x3a8cc5(0x1e1)]:case _0x42a6e9['PENDING']:return _0x3a8cc5(0x26f);}}function Si(_0x35ed95){const _0x4b2f6e=_0xb5b8d0,{status$:_0x51b1bc}=_0x35ed95,_0x2772b5=_0x4b8379(_0x51b1bc,_0x42a6e9[_0x4b2f6e(0x262)]),_0x502ff6=_0x1232dd(_0x2b1b91),_0x3e81c2=_0x1232dd(_0x21ac1e),_0x1633af=_0x2772b5!==_0x42a6e9[_0x4b2f6e(0x140)],_0x502d3a=_0x502ff6['t'](fi(_0x2772b5)),_0x3c9fdb=_0x1633af?_0x39863f(Nt,{}):_0x39863f(Dt,{}),_0x5d8d5a=_0x29f74b(()=>{_0x1633af||_0x3e81c2['reconnect']();},[_0x1633af,_0x3e81c2]);function _0x55df3e(){const _0x1ee4cb=_0x4b2f6e;return _0x8b05a(_0x1ee4cb(0x222),{'className':_0x1ee4cb(0x10c),'onClick':_0x5d8d5a,'children':[_0x39863f('div',{'className':_0x77953('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1633af,'univer-text-red-500':!_0x1633af}),'children':_0x3c9fdb}),_0x39863f(_0x1ee4cb(0x222),{'className':_0x1ee4cb(0x119),'children':_0x502d3a})]});}return _0x1633af?_0x55df3e():_0x39863f(_0x4178b1,{'title':_0x502ff6['t'](_0x4b2f6e(0x105)),'children':_0x55df3e()});}var mi=Object[_0xb5b8d0(0x125)],Ii=(_0xc47983,_0x4b6d8d,_0x30f08b,_0x1b17b8)=>{for(var _0x499938=_0x1b17b8>0x1?void 0x0:_0x1b17b8?mi(_0x4b6d8d,_0x30f08b):_0x4b6d8d,_0x15f206=_0xc47983['length']-0x1,_0x28affb;_0x15f206>=0x0;_0x15f206--)(_0x28affb=_0xc47983[_0x15f206])&&(_0x499938=_0x28affb(_0x499938)||_0x499938);return _0x499938;},q=(_0x5513da,_0x3f61f3)=>(_0x8fb9e1,_0x5dc599)=>_0x3f61f3(_0x8fb9e1,_0x5dc599,_0x5513da);let se=class extends _0x48907d{constructor(_0x27410f,_0x233a5d,_0x1af125,_0xc9238d){const _0x3ebbbc=_0xb5b8d0;super(),_(this,_0x3ebbbc(0x12d),new _0x5436fa(_0x42a6e9[_0x3ebbbc(0x262)])),(this[_0x3ebbbc(0x23d)]=_0x27410f,this[_0x3ebbbc(0x12a)]=_0x233a5d,this['_collaborationController']=_0x1af125,this['_uiPartsService']=_0xc9238d,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xb5b8d0(0xfe)](){const _0x4b0e99=_0xb5b8d0;this[_0x4b0e99(0x221)](this[_0x4b0e99(0x23d)][_0x4b0e99(0x210)][_0x4b0e99(0x16e)](_0x128650(()=>{const _0x1189d2=_0x4b0e99,_0x30e60b=this[_0x1189d2(0x23d)][_0x1189d2(0x1c8)]();return _0x30e60b?this[_0x1189d2(0x19a)]['getCollabEntity$'](_0x30e60b[_0x1189d2(0x7b)]()):_0x4ae151(null);}),_0x128650(_0x98ef5e=>_0x98ef5e?_0x98ef5e['status$']:_0x4ae151(_0x42a6e9[_0x4b0e99(0x262)])))[_0x4b0e99(0x1b9)](_0x34b671=>{const _0x52cad0=_0x4b0e99;this['_status$'][_0x52cad0(0x182)](_0x34b671);}));}[_0xb5b8d0(0x108)](){const _0x367489=_0xb5b8d0;this[_0x367489(0x221)](this['_uiPartsService']['registerComponent'](_0x39299c[_0x367489(0x20b)],()=>_0x3ca231(vi({'status$':this[_0x367489(0x12d)][_0x367489(0x11d)]()}),this[_0x367489(0x12a)])));}};se=Ii([q(0x0,_0x58e3c0),q(0x1,_0x5ab208(_0x4b1804)),q(0x2,_0x5ab208(_0x4316fb)),q(0x3,_0x36a357)],se);function vi(_0x473627){const {status$:_0x4910c0}=_0x473627;return function(){return _0x39863f(Si,{'status$':_0x4910c0});};}const Ut=_0x4a0a32(_0xb5b8d0(0xb7));var gi=Object[_0xb5b8d0(0x125)],pi=(_0x2c65e9,_0x50681b,_0x1a1e4d,_0x9cb276)=>{const _0x4172ae=_0xb5b8d0;for(var _0x5a3d0c=_0x9cb276>0x1?void 0x0:_0x9cb276?gi(_0x50681b,_0x1a1e4d):_0x50681b,_0x4900a7=_0x2c65e9[_0x4172ae(0xb1)]-0x1,_0x42623e;_0x4900a7>=0x0;_0x4900a7--)(_0x42623e=_0x2c65e9[_0x4900a7])&&(_0x5a3d0c=_0x42623e(_0x5a3d0c)||_0x5a3d0c);return _0x5a3d0c;},G=(_0x45c772,_0x5975a4)=>(_0x1cc71c,_0x1db4e6)=>_0x5975a4(_0x1cc71c,_0x1db4e6,_0x45c772);let ie=class extends _0x1f1152{constructor(_0x503b50,_0x4d0130,_0x3217a9,_0x53827a,_0x4dd9c0){const _0x226dea=_0xb5b8d0;super(),this[_0x226dea(0x154)]=_0x503b50,this['_logService']=_0x4d0130,this[_0x226dea(0x18e)]=_0x3217a9,this[_0x226dea(0x1cf)]=_0x53827a,_0x4dd9c0?_0x4dd9c0==null||_0x4dd9c0['whenReady']()['then'](()=>this[_0x226dea(0x237)]()):(this[_0x226dea(0x1c1)][_0x226dea(0x17f)](_0x226dea(0x1a5),_0x226dea(0x138)),this[_0x226dea(0x237)]());}async[_0xb5b8d0(0x237)](){const _0x2f91ea=_0xb5b8d0,_0x1627b6=this[_0x2f91ea(0x154)][_0x2f91ea(0x1d7)](_0x2f91ea(0x148)),_0x19812d=this[_0x2f91ea(0x154)][_0x2f91ea(0x1d7)]('type'),_0x9872d6=this[_0x2f91ea(0x154)]['getParam'](_0x2f91ea(0x14d));if(!_0x1627b6||!_0x19812d){this[_0x2f91ea(0x1c1)][_0x2f91ea(0x17f)](_0x2f91ea(0x1a5),_0x2f91ea(0x15d));return;}const _0x238455=await this[_0x2f91ea(0x1cf)]['loadUnit'](_0x1627b6,Number(_0x19812d),_0x9872d6);_0x238455&&_0x238455 instanceof _0x3664f4&&this[_0x2f91ea(0x265)](_0x238455);}async[_0xb5b8d0(0x265)](_0x3eb05a){const _0x12b86f=_0xb5b8d0;await this[_0x12b86f(0x160)](_0x3eb05a),_0x3eb05a[_0x12b86f(0x276)]['pipe'](_0x51ba43(this[_0x12b86f(0x150)]))[_0x12b86f(0x1b9)](_0x4758a3=>{const _0x24d4b1=_0x12b86f;_0x4758a3&&this[_0x24d4b1(0xfb)](_0x4758a3);}),this['_urlService'][_0x12b86f(0x1a9)][_0x12b86f(0x16e)](_0x51ba43(this[_0x12b86f(0x150)]))[_0x12b86f(0x1b9)](()=>this[_0x12b86f(0x160)](_0x3eb05a));}[_0xb5b8d0(0xfb)](_0x481f6d,_0x528a20=!0x1){const _0x24a004=_0xb5b8d0,_0x3a1811=this['_urlService'][_0x24a004(0x1d7)](_0x24a004(0x14d));_0x481f6d[_0x24a004(0x1f8)]()!==_0x3a1811&&this['_urlService'][_0x24a004(0x1eb)]('subunit',_0x481f6d[_0x24a004(0x1f8)](),_0x528a20);}async[_0xb5b8d0(0x160)](_0x3482f7){const _0x1d467d=_0xb5b8d0;var _0x51bbaf;const _0x1e1c54=this[_0x1d467d(0x154)][_0x1d467d(0x1d7)](_0x1d467d(0x14d));if(!_0x1e1c54||!_0x3482f7[_0x1d467d(0xf5)](_0x1e1c54)){const _0x2b70a0=_0x3482f7['getUnhiddenWorksheets']()[0x0],_0x47cd40=_0x3482f7['getSheetBySheetId'](_0x2b70a0);if(!_0x47cd40)return;this[_0x1d467d(0xfb)](_0x47cd40,!0x0),await this[_0x1d467d(0x18e)][_0x1d467d(0x84)](_0xbc39dc['id'],{'unitId':_0x3482f7[_0x1d467d(0x7b)](),'subUnitId':_0x2b70a0});return;}((_0x51bbaf=_0x3482f7['getActiveSheet']())==null?void 0x0:_0x51bbaf[_0x1d467d(0x1f8)]())!==_0x1e1c54&&await this[_0x1d467d(0x18e)][_0x1d467d(0x84)](_0xbc39dc['id'],{'unitId':_0x3482f7[_0x1d467d(0x7b)](),'subUnitId':_0x1e1c54});}};ie=pi([G(0x0,Ut),G(0x1,_0x5346a3),G(0x2,_0x5fe99),G(0x3,_0x5ab208(_0x125524)),G(0x4,_0x3043ed(_0x124e6b))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x3c7a27,_0x50e6a0,_0x2ecb84,_0x30ac16)=>{for(var _0x5d19f8=_0x30ac16>0x1?void 0x0:_0x30ac16?Ci(_0x50e6a0,_0x2ecb84):_0x50e6a0,_0x2627c4=_0x3c7a27['length']-0x1,_0x173518;_0x2627c4>=0x0;_0x2627c4--)(_0x173518=_0x3c7a27[_0x2627c4])&&(_0x5d19f8=_0x173518(_0x5d19f8)||_0x5d19f8);return _0x5d19f8;},Je=(_0x3214c8,_0x141c5d)=>(_0x9034a3,_0xa9cd71)=>_0x141c5d(_0x9034a3,_0xa9cd71,_0x3214c8);let Ne=class extends _0x1f1152{constructor(_0x2f22da,_0x21b952){const _0xbe4bbf=_0xb5b8d0;super(),this[_0xbe4bbf(0x19f)]=_0x2f22da,this[_0xbe4bbf(0xd4)]=_0x21b952,this['_init']();}[_0xb5b8d0(0x237)](){const _0x5631ad=_0xb5b8d0,_0x3e98a0=this;this[_0x5631ad(0x221)](this['_docClipboardService'][_0x5631ad(0x219)]({'onBeforePasteImage':async _0x360379=>{const _0x5ca767=_0x5631ad,_0x10e271=await _0x3e98a0[_0x5ca767(0xd4)][_0x5ca767(0x106)](_0x360379);return _0x10e271?{'source':_0x10e271[_0x5ca767(0x96)],'imageSourceType':_0x10e271['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x11e8dd),Je(0x1,_0x4e0455)],Ne);const Ze=[_0xb5b8d0(0x1af),'jiqing.500',_0xb5b8d0(0x1ea),_0xb5b8d0(0xe3),_0xb5b8d0(0x218),_0xb5b8d0(0x147)];class He extends _0x48907d{constructor(){const _0x3bd279=_0xb5b8d0;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x3bd279(0x1b2),0x0);}[_0xb5b8d0(0xcf)](_0x49ca56){const _0x366dd2=_0xb5b8d0;if(this[_0x366dd2(0x1bc)][_0x366dd2(0x11c)](_0x49ca56))return this[_0x366dd2(0x1bc)]['get'](_0x49ca56);const _0xbe1227=Ze[this[_0x366dd2(0x1b2)]];return this[_0x366dd2(0x1b2)]=(this[_0x366dd2(0x1b2)]+0x1)%Ze[_0x366dd2(0xb1)],this[_0x366dd2(0x1bc)][_0x366dd2(0x161)](_0x49ca56,_0xbe1227),_0xbe1227;}}function Mt(_0x18dc97){let _0x1109cc='';for(const _0x633fa4 of _0x18dc97){const {startOffset:_0x1a32f2,endOffset:_0x3f632d,isActive:_0x53cc9f,rangeType:_0x24582e,segmentId:_0x5b954f,segmentPage:_0x20e9fa}=_0x633fa4;_0x1109cc['length']&&(_0x1109cc+=','),_0x1109cc+=_0x1a32f2+':'+_0x3f632d+':'+(_0x53cc9f?'1':'0')+':'+_0x24582e+':'+_0x5b954f+':'+_0x20e9fa;}return _0x1109cc;}function Oi(_0x36ed97){const _0x37fa0e=_0xb5b8d0,_0x309ec1=_0x36ed97['split'](','),_0x15283f=[];for(const _0x2dd8fc of _0x309ec1){const [_0x2fb5e6,_0x32f991,_0x53bee5,_0x278519,_0x2adf5b,_0x44717e]=_0x2dd8fc['split'](':');_0x15283f[_0x37fa0e(0x190)]({'startOffset':Number(_0x2fb5e6),'endOffset':Number(_0x32f991),'collapsed':_0x2fb5e6===_0x32f991,'isActive':_0x53bee5==='1','rangeType':_0x278519===_0x26b3c6[_0x37fa0e(0x1fb)]?_0x26b3c6['TEXT']:_0x26b3c6[_0x37fa0e(0x181)],'segmentId':typeof _0x2adf5b==_0x37fa0e(0xdb)?String(_0x2adf5b):'','segmentPage':Number(_0x44717e!=null?_0x44717e:-0x1)});}return _0x15283f['some'](_0x5f3fe8=>_0x5f3fe8[_0x37fa0e(0x19d)])||(_0x15283f[0x0][_0x37fa0e(0x19d)]=!0x0),_0x15283f;}class Fe extends _0x1f1152{constructor(){const _0x3caefb=_0xb5b8d0;super(...arguments),_(this,_0x3caefb(0x245),new _0x5436fa(null)),_(this,_0x3caefb(0x7a),this[_0x3caefb(0x245)][_0x3caefb(0x11d)]());}['syncEditingCollabCursor'](_0x59cc42){const _0x5218eb=_0xb5b8d0,{unitID:_0x554858,memberID:_0x4030b3,textRanges:_0x38a7d6}=_0x59cc42,_0x5d2a22=Mt(_0x38a7d6);if(_0x5d2a22==='')return;const _0x1e9b4f={'unitID':_0x554858,'memberID':_0x4030b3,'selection':_0x5d2a22};this[_0x5218eb(0x245)][_0x5218eb(0x182)](_0x1e9b4f);}}var bi=Object[_0xb5b8d0(0x125)],Ti=(_0xfdcb72,_0x508806,_0x139d80,_0x3cc1b5)=>{const _0x168934=_0xb5b8d0;for(var _0x3cc762=_0x3cc1b5>0x1?void 0x0:_0x3cc1b5?bi(_0x508806,_0x139d80):_0x508806,_0x3738fc=_0xfdcb72[_0x168934(0xb1)]-0x1,_0x8f0b1d;_0x3738fc>=0x0;_0x3738fc--)(_0x8f0b1d=_0xfdcb72[_0x3738fc])&&(_0x3cc762=_0x8f0b1d(_0x3cc762)||_0x3cc762);return _0x3cc762;},P=(_0x10a9e5,_0xb17963)=>(_0x49c3c5,_0x363355)=>_0xb17963(_0x49c3c5,_0x363355,_0x10a9e5);const Ri=0x12c,Di=0x64;let Ue=class extends _0x1f1152{constructor(_0x5e2d45,_0x3dbdbc,_0x2668d8,_0x3e5fab,_0x397cf1,_0xd7a2fb,_0x5c824a,_0x5992d1,_0x3fd72f){const _0x5558cb=_0xb5b8d0;super(),_(this,'_online',!0x1),_(this,_0x5558cb(0x237),!0x1),_(this,'_cursorInfo$',new _0x5436fa(new Map())),_(this,_0x5558cb(0x205),this[_0x5558cb(0x231)][_0x5558cb(0x11d)]()),_(this,_0x5558cb(0x26a),new _0x5436fa([])),_(this,'roomMembers$',this[_0x5558cb(0x26a)]['pipe'](_0x3ea57a(Ri))),_(this,_0x5558cb(0xff),_0x516ce7(_0x1cc876=>{const _0x367134=_0x5558cb,_0xfd2619={'eventID':_0x2594c2['UPDATE_CURSOR'],'data':{'unitID':this[_0x367134(0x18a)],'memberID':this[_0x367134(0x128)]['getMemberID'](),'selection':Mt(_0x1cc876)}};this[_0x367134(0x128)][_0x367134(0x1de)](_0xfd2619,this[_0x367134(0x18a)]);},Di)),(this[_0x5558cb(0x18a)]=_0x5e2d45,this[_0x5558cb(0x128)]=_0x3dbdbc,this['_injector']=_0x2668d8,this[_0x5558cb(0x118)]=_0x3e5fab,this[_0x5558cb(0x1be)]=_0x397cf1,this[_0x5558cb(0x8b)]=_0xd7a2fb,this['_transformService']=_0x5c824a,this[_0x5558cb(0x23d)]=_0x5992d1,this[_0x5558cb(0x18e)]=_0x3fd72f);}get[_0xb5b8d0(0x1ff)](){const _0xd641c8=_0xb5b8d0;return this[_0xd641c8(0x231)][_0xd641c8(0x93)]();}get[_0xb5b8d0(0x156)](){const _0x3eb3c0=_0xb5b8d0;return this[_0x3eb3c0(0x26a)]['getValue']();}['dispose'](){const _0x237ca9=_0xb5b8d0;super['dispose'](),this[_0x237ca9(0x231)][_0x237ca9(0x182)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x237ca9(0x182)]([]),this['_roomMembers$'][_0x237ca9(0x22d)]();}[_0xb5b8d0(0x1b0)](){const _0x23e54f=_0xb5b8d0;this['_init']||(this['_init']=!0x0,this['_session'][_0x23e54f(0x1a7)][_0x23e54f(0x16e)](_0x51ba43(this[_0x23e54f(0x150)]))[_0x23e54f(0x1b9)](_0x52b5f9=>{const _0x1726cc=_0x23e54f;_0x52b5f9===_0x1ce609[_0x1726cc(0x21c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x23e54f(0x128)][_0x23e54f(0x180)]['pipe'](_0x51ba43(this['dispose$']))[_0x23e54f(0x1b9)](_0x2d88ee=>{const _0x1b983c=_0x23e54f,_0x4531dc=_0x2d88ee[_0x1b983c(0x10a)];_0x4531dc===_0x2594c2[_0x1b983c(0x152)]&&this[_0x1b983c(0x20a)](_0x2d88ee),_0x4531dc===_0x2594c2[_0x1b983c(0x11b)]&&this['_onCursorDelete'](_0x2d88ee);}),this[_0x23e54f(0x221)](this[_0x23e54f(0x18e)][_0x23e54f(0x10e)](_0x5de3ab=>{const _0x1f4226=_0x23e54f,_0x4f7fc6=_0x5de3ab[_0x1f4226(0xe2)];_0x4f7fc6!=null&&this[_0x1f4226(0x175)]&&_0x5de3ab['id']===_0xdaa116['id']&&_0x4f7fc6[_0x1f4226(0x149)]===this[_0x1f4226(0x18a)]&&_0x4f7fc6['isEditing']===!0x1&&_0x4f7fc6['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x4f7fc6[_0x1f4226(0x126)]);})),this[_0x23e54f(0x8b)]['collabCursorState$'][_0x23e54f(0x16e)](_0x51ba43(this['dispose$']))[_0x23e54f(0x1b9)](_0x35e8d7=>{const _0x4a1ebd=_0x23e54f;if((_0x35e8d7==null?void 0x0:_0x35e8d7['unitID'])!==this[_0x4a1ebd(0x18a)])return;const _0x1018e1={'eventID':_0x2594c2['UPDATE_CURSOR'],'data':_0x35e8d7};this[_0x4a1ebd(0x20a)](_0x1018e1);}),this[_0x23e54f(0x221)](this[_0x23e54f(0x18e)][_0x23e54f(0x10e)](_0x57c55f=>{const _0x581c95=_0x23e54f;if(_0x57c55f[_0x581c95(0xe2)]==null)return;const _0x5668a4=_0x57c55f[_0x581c95(0xe2)];if(_0x57c55f['id']!==_0x41c29b['id']||_0x5668a4[_0x581c95(0x149)]!==this[_0x581c95(0x18a)])return;const _0x237b2d={'id':_0x581c95(0x246),'params':_0x5668a4},_0x4d9091=this[_0x581c95(0x1ff)];for(const [_0x2c6804,_0x43c982]of _0x4d9091){const _0x1d5dfc={'id':_0x581c95(0x246),'params':{'unitId':this[_0x581c95(0x18a)],'actions':null,'textRanges':_0x43c982[_0x581c95(0x126)]}},_0x495114=this['_transformService'][_0x581c95(0x192)](_0x237b2d,_0x1d5dfc,!0x1);if(_0x1a0d06(_0x495114))throw _0x495114[_0x581c95(0xf4)];_0x4d9091[_0x581c95(0x161)](_0x2c6804,{..._0x43c982,'ranges':_0x495114[_0x581c95(0xbe)]['params'][_0x581c95(0x115)]});}queueMicrotask(()=>{const _0x8a563c=_0x581c95;this[_0x8a563c(0x231)][_0x8a563c(0x182)](_0x4d9091);});})));}[_0xb5b8d0(0x20a)](_0x3ebc5b){const _0x28c571=_0xb5b8d0;var _0x412b26,_0x53bad4;const {memberID:_0x4402de,selection:_0x2dae9a}=_0x3ebc5b['data'],_0x5c8a37=Oi(_0x2dae9a),_0x5c29a8=(_0x53bad4=(_0x412b26=this[_0x28c571(0x1be)][_0x28c571(0x9c)](this[_0x28c571(0x18a)],_0x4402de))==null?void 0x0:_0x412b26[_0x28c571(0xf2)])!=null?_0x53bad4:_0x28c571(0xe5),_0x56879f={'color':this[_0x28c571(0x118)]['assignAColorForMemberID'](_0x4402de),'name':_0x5c29a8,'ranges':_0x5c8a37},_0x166b0c=this['cursorInfo'];_0x166b0c[_0x28c571(0x161)](_0x4402de,_0x56879f),this[_0x28c571(0x231)][_0x28c571(0x182)](_0x166b0c);}[_0xb5b8d0(0x1ee)](_0x5b90e3){const _0x39247e=_0xb5b8d0,{memberID:_0x34de65}=_0x5b90e3[_0x39247e(0xfd)],_0x31f539=this['cursorInfo'];_0x31f539[_0x39247e(0x227)](_0x34de65),this[_0x39247e(0x231)][_0x39247e(0x182)](_0x31f539);}[_0xb5b8d0(0x1d6)](){const _0x3c5ddf=_0xb5b8d0;var _0x3c60f7;if(this['_online']=!0x0,((_0x3c60f7=this[_0x3c5ddf(0x23d)][_0x3c5ddf(0x1c8)]())==null?void 0x0:_0x3c60f7['getUnitId']())!==this[_0x3c5ddf(0x18a)])return;const _0x22eaab=this['_injector']['get'](_0x5b3937)['getDocRanges']();Array[_0x3c5ddf(0xc3)](_0x22eaab)&&_0x22eaab['length']>0x0&&this[_0x3c5ddf(0xff)](_0x22eaab);}[_0xb5b8d0(0x1c3)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x5ab208(_0x4b1804)),P(0x3,_0x5ab208(He)),P(0x4,_0x5ab208(_0x26abab)),P(0x5,_0x5ab208(Fe)),P(0x6,_0x4cf894),P(0x7,_0x58e3c0),P(0x8,_0x5fe99)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0xfe644,_0x1ee95c,_0x1567b7,_0x6c1f15)=>{const _0x286bca=_0xb5b8d0;for(var _0x5d553c=_0x6c1f15>0x1?void 0x0:_0x6c1f15?Ni(_0x1ee95c,_0x1567b7):_0x1ee95c,_0x2a3405=_0xfe644[_0x286bca(0xb1)]-0x1,_0x3dcf91;_0x2a3405>=0x0;_0x2a3405--)(_0x3dcf91=_0xfe644[_0x2a3405])&&(_0x5d553c=_0x3dcf91(_0x5d553c)||_0x5d553c);return _0x5d553c;},x=(_0x23afc0,_0x159ed5)=>(_0x4afbd8,_0x58a7be)=>_0x159ed5(_0x4afbd8,_0x58a7be,_0x23afc0);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1e52d9=[],_0x533c78=!0x1;return _0x2ae29e=>{const _0x9bd2d6=_0x5e97;_0x1e52d9[_0x9bd2d6(0x190)](_0x2ae29e),_0x533c78||(_0x533c78=!0x0,setTimeout(()=>{_0x1e52d9['forEach'](_0x3d6d30=>_0x3d6d30()),_0x1e52d9=[],_0x533c78=!0x1;}));};};let Me=class extends _0x1f1152{constructor(_0x5e36ca,_0x1a12af,_0x167e72,_0x1b4835,_0x3364a4,_0x572c03,_0x3ebff2,_0x36adfe){const _0x514ff8=_0xb5b8d0;super(),_(this,_0x514ff8(0x175),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x5436fa(new Map())),_(this,_0x514ff8(0x205),this['_cursorInfo$'][_0x514ff8(0x11d)]()),_(this,_0x514ff8(0x26a),new _0x5436fa([])),_(this,_0x514ff8(0x23e),this[_0x514ff8(0x26a)]['pipe'](_0x3ea57a(Mi))),_(this,_0x514ff8(0xff),_0x516ce7((_0x307599,_0x29e4be)=>{const _0x5378da=_0x514ff8,_0x1b3db3={'eventID':_0x2594c2[_0x5378da(0x152)],'data':{'unitID':this[_0x5378da(0x18a)],'memberID':this[_0x5378da(0x128)]['getMemberID'](),'selection':_0x2481c2(_0x307599,_0x29e4be[_0x5378da(0x78)])}};this[_0x5378da(0x128)][_0x5378da(0x1de)](_0x1b3db3,this[_0x5378da(0x18a)]);},Li)),(this[_0x514ff8(0x18a)]=_0x5e36ca,this['_session']=_0x1a12af,this[_0x514ff8(0x12a)]=_0x167e72,this[_0x514ff8(0x118)]=_0x1b4835,this[_0x514ff8(0x1be)]=_0x3364a4,this['_univerInstanceService']=_0x572c03,this[_0x514ff8(0x18e)]=_0x3ebff2,this[_0x514ff8(0x23f)]=_0x36adfe);}get[_0xb5b8d0(0x1ff)](){const _0x5ae6fe=_0xb5b8d0;return this[_0x5ae6fe(0x231)]['getValue']();}get[_0xb5b8d0(0x156)](){return this['_roomMembers$']['getValue']();}[_0xb5b8d0(0xbc)](){const _0x4fb2de=_0xb5b8d0;super[_0x4fb2de(0xbc)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x4fb2de(0x22d)](),this['_roomMembers$'][_0x4fb2de(0x182)]([]),this['_roomMembers$'][_0x4fb2de(0x22d)]();}[_0xb5b8d0(0x1b0)](){const _0x1701fb=_0xb5b8d0;this[_0x1701fb(0x237)]||(this[_0x1701fb(0x237)]=!0x0,this['_session'][_0x1701fb(0x1a7)][_0x1701fb(0x16e)](_0x51ba43(this[_0x1701fb(0x150)]))['subscribe'](_0x413413=>{const _0xdad537=_0x1701fb;_0x413413===_0x1ce609['ONLINE']?this['_toggleOnline']():this[_0xdad537(0x1c3)]();}),this[_0x1701fb(0x128)][_0x1701fb(0x180)][_0x1701fb(0x16e)](_0x51ba43(this[_0x1701fb(0x150)]))[_0x1701fb(0x1b9)](_0x51c67f=>{const _0x417101=_0x1701fb,_0x245443=_0x51c67f['eventID'];_0x245443===_0x2594c2['UPDATE_CURSOR']&&this[_0x417101(0x20a)](_0x51c67f),_0x245443===_0x2594c2['USERS_LEAVE']&&this['_onCursorDelete'](_0x51c67f);}),this[_0x1701fb(0x14b)](),this['disposeWithMe'](this[_0x1701fb(0x18e)]['onCommandExecuted'](_0x261974=>{const _0x35015b=_0x1701fb;if(this[_0x35015b(0x175)]&&_0x261974['id']===_0x74528c['id']&&_0x261974[_0x35015b(0xe2)]['unitId']===this[_0x35015b(0x18a)]){const _0x4ba2e0=_0x261974['params'];this[_0x35015b(0xff)](_0x4ba2e0[_0x35015b(0x1d9)],_0x4ba2e0[_0x35015b(0x1f4)][0x0]);}})));}[_0xb5b8d0(0x20a)](_0xf8a0c1){const _0x498378=_0xb5b8d0;var _0x2e88af,_0x48d647;const {memberID:_0x4adad8,selection:_0x243e0c}=_0xf8a0c1[_0x498378(0xfd)],{sheetName:_0x1e4781,range:_0x209f66}=_0x330e23(_0x243e0c),_0x2dee4b={'name':(_0x48d647=(_0x2e88af=this[_0x498378(0x1be)][_0x498378(0x9c)](this[_0x498378(0x18a)],_0x4adad8))==null?void 0x0:_0x2e88af[_0x498378(0xf2)])!=null?_0x48d647:'Unknown\x20user','range':this[_0x498378(0xb6)](_0x1e4781,_0x209f66),'sheetID':_0x1e4781,'color':this[_0x498378(0x118)][_0x498378(0xcf)](_0x4adad8),'selection':_0x243e0c},_0x255f71=this['cursorInfo'];_0x255f71[_0x498378(0x161)](_0x4adad8,_0x2dee4b),this[_0x498378(0x231)][_0x498378(0x182)](_0x255f71);}[_0xb5b8d0(0x1ee)](_0x4358f5){const _0x279805=_0xb5b8d0,{memberID:_0x2987e6}=_0x4358f5[_0x279805(0xfd)],_0x451098=this['cursorInfo'];_0x451098[_0x279805(0x227)](_0x2987e6),this[_0x279805(0x231)][_0x279805(0x182)](_0x451098);}['_getMergeRange'](_0x5b54ca,_0x3e6574){const _0x5d4341=_0xb5b8d0;var _0x197db5,_0xb638e;const _0x5554a4=(_0xb638e=(_0x197db5=this[_0x5d4341(0x23d)][_0x5d4341(0xa0)](this[_0x5d4341(0x18a)]))==null?void 0x0:_0x197db5[_0x5d4341(0xf5)](_0x5b54ca))==null?void 0x0:_0xb638e[_0x5d4341(0x122)]();return(_0x5554a4==null?void 0x0:_0x5554a4[_0x5d4341(0x191)](_0xed3902=>_0x403b0c[_0x5d4341(0x1dd)](_0xed3902,_0x3e6574)))||_0x3e6574;}['_onRefRangeChange'](){const _0x28177e=_0xb5b8d0,_0x398279=new _0x1c4b08(),_0x35d235=Pi(),_0x1b1cf7=()=>{const _0x5a08e2=_0x5e97;_0x398279[_0x5a08e2(0xbc)]();const _0x4b6cff=(_0x4f643c,_0x4424b1,_0x14d98f,_0x42049d)=>{const _0x108ec6=_0x5a08e2;let _0x1cfc22=[];switch(_0x4f643c['id']){case _0x576042[_0x108ec6(0x242)]:{_0x1cfc22=_0x3e22c0(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0xa2)]:{_0x1cfc22=_0xc3ee8c(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x80)]:{_0x1cfc22=_0x2129b3(_0x4f643c,_0x42049d);break;}case _0x576042['InsertRangeMoveDownCommandId']:{_0x1cfc22=_0x36cadb(_0x4f643c,_0x42049d);break;}case _0x576042['InsertRangeMoveRightCommandId']:{_0x1cfc22=_0x271d66(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x248)]:{_0x1cfc22=_0x22d7db(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x1e7)]:{_0x1cfc22=_0x1c62c6(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0xed)]:{_0x1cfc22=_0x16d084(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x1c4)]:{_0x1cfc22=_0x350551(_0x4f643c,_0x42049d);break;}}const _0x4e0bd4=_0x4c34bf(_0x1cfc22,_0x42049d),_0x5023c7=this[_0x108ec6(0x1ff)]['get'](_0x4424b1);if(_0x5023c7&&_0x4e0bd4){const _0x3951d5={..._0x5023c7,'range':_0x4e0bd4};this['cursorInfo']['set'](_0x4424b1,_0x3951d5),_0x35d235(()=>{const _0x53fcb1=_0x108ec6,_0x17ff71=this['_refRangeService'][_0x53fcb1(0x112)](_0x4e0bd4,_0x16de6e=>(_0x17ff71['dispose'](),_0x4b6cff(_0x16de6e,_0x4424b1,_0x14d98f,_0x4e0bd4)));_0x398279[_0x53fcb1(0x8f)](_0x17ff71);});}return{'redos':[],'undos':[]};};this[_0x5a08e2(0x1ff)]['forEach']((_0x2ce384,_0x1bc5df)=>{const _0x34dc91=_0x5a08e2,{range:_0x2b6dbf,sheetID:_0x468373}=_0x2ce384,_0x51fa3a=this[_0x34dc91(0x23f)][_0x34dc91(0x112)](_0x2b6dbf,_0x5dd67c=>(_0x51fa3a[_0x34dc91(0xbc)](),_0x4b6cff(_0x5dd67c,_0x1bc5df,_0x468373,_0x2b6dbf)));_0x398279[_0x34dc91(0x8f)](_0x51fa3a);});};this[_0x28177e(0x221)](_0x3880d2(this[_0x28177e(0x231)][_0x28177e(0x1b9)](()=>{_0x1b1cf7();})));}['_toggleOnline'](){const _0x5e006b=_0xb5b8d0;var _0x13bf70,_0x3871fa;if(this[_0x5e006b(0x175)]=!0x0,((_0x13bf70=this[_0x5e006b(0x23d)]['getFocusedUnit']())==null?void 0x0:_0x13bf70['getUnitId']())!==this['unitID'])return;const _0x213bdd=(_0x3871fa=this[_0x5e006b(0x12a)][_0x5e006b(0x247)](_0x2936c1)['getCurrentSelections']())==null?void 0x0:_0x3871fa[0x0],_0x366c7d=this[_0x5e006b(0x23d)]['getCurrentUnitForType'](_0x31676a[_0x5e006b(0xa6)])[_0x5e006b(0x206)]();_0x213bdd&&_0x366c7d&&this[_0x5e006b(0xff)](_0x366c7d[_0x5e006b(0x1f8)](),_0x213bdd);}[_0xb5b8d0(0x1c3)](){const _0x157a41=_0xb5b8d0;this[_0x157a41(0x175)]=!0x1;}};Me=Ui([x(0x2,_0x5ab208(_0x4b1804)),x(0x3,_0x5ab208(He)),x(0x4,_0x5ab208(_0x26abab)),x(0x5,_0x58e3c0),x(0x6,_0x5fe99),x(0x7,_0x5ab208(_0x1e3e0d))],Me);var wi=Object['getOwnPropertyDescriptor'],Ai=(_0x5c64b3,_0x359c51,_0xfa4490,_0xeb2eec)=>{const _0x3080ec=_0xb5b8d0;for(var _0x1983fd=_0xeb2eec>0x1?void 0x0:_0xeb2eec?wi(_0x359c51,_0xfa4490):_0x359c51,_0x38e060=_0x5c64b3[_0x3080ec(0xb1)]-0x1,_0x1b0131;_0x38e060>=0x0;_0x38e060--)(_0x1b0131=_0x5c64b3[_0x38e060])&&(_0x1983fd=_0x1b0131(_0x1983fd)||_0x1983fd);return _0x1983fd;},me=(_0x3cf5ad,_0x5c2270)=>(_0x3a1bf0,_0x4b013b)=>_0x5c2270(_0x3a1bf0,_0x4b013b,_0x3cf5ad);let F=class extends _0x1f1152{constructor(_0x160665,_0x2d0012,_0x82cdaf){const _0x966075=_0xb5b8d0;super(),_(this,_0x966075(0x16c),new Map()),_(this,_0x966075(0xc5),new _0x114b27()),(this[_0x966075(0x23d)]=_0x160665,this[_0x966075(0x12a)]=_0x2d0012,this[_0x966075(0x99)]=_0x82cdaf,this['_init']());}[_0xb5b8d0(0xbc)](){const _0x1c29db=_0xb5b8d0;super[_0x1c29db(0xbc)](),this[_0x1c29db(0xc5)][_0x1c29db(0x22d)](),this[_0x1c29db(0x16c)][_0x1c29db(0x13e)](_0x39e5f1=>_0x39e5f1[_0x1c29db(0xbc)]());}[_0xb5b8d0(0x1b3)](_0x62217e){const _0x4fa844=_0xb5b8d0;return this[_0x4fa844(0x16c)]['has'](_0x62217e)?this[_0x4fa844(0x16c)][_0x4fa844(0x247)](_0x62217e)[_0x4fa844(0x205)]:this['_entityInit$'][_0x4fa844(0x16e)](_0x385986(_0xa83643=>_0xa83643[_0x4fa844(0x18a)]===_0x62217e),_0x128650(_0x31e926=>_0x31e926['cursorInfo$']));}[_0xb5b8d0(0x237)](){const _0x448d1f=_0xb5b8d0;this[_0x448d1f(0x23d)][_0x448d1f(0xd3)](_0x31676a[_0x448d1f(0xa6)])[_0x448d1f(0x16e)](_0x51ba43(this[_0x448d1f(0x150)]))[_0x448d1f(0x1b9)](async _0x40cdbb=>{const _0x59ce5e=_0x448d1f,_0x58e6db=_0x40cdbb[_0x59ce5e(0x7b)](),_0x517ad9=await this[_0x59ce5e(0x13d)](_0x58e6db);this['_entityInit$'][_0x59ce5e(0x182)](_0x517ad9),this[_0x59ce5e(0x16c)][_0x59ce5e(0x161)](_0x58e6db,_0x517ad9);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x31676a[_0x448d1f(0x1a0)])[_0x448d1f(0x16e)](_0x51ba43(this[_0x448d1f(0x150)]))[_0x448d1f(0x16e)](_0x385986(_0x30182e=>!_0x30182e[_0x448d1f(0x7b)]()[_0x448d1f(0xea)]('__')))[_0x448d1f(0x1b9)](async _0x93a228=>{const _0x4c5160=_0x448d1f,_0x408f42=_0x93a228[_0x4c5160(0x7b)](),_0x4a2478=await this[_0x4c5160(0x1e2)](_0x408f42);this[_0x4c5160(0xc5)]['next'](_0x4a2478),this[_0x4c5160(0x16c)][_0x4c5160(0x161)](_0x408f42,_0x4a2478);}),_0x45a6cc(this[_0x448d1f(0x23d)][_0x448d1f(0x208)](_0x31676a[_0x448d1f(0x1a0)]),this[_0x448d1f(0x23d)][_0x448d1f(0x208)](_0x31676a['UNIVER_SHEET']))[_0x448d1f(0x16e)](_0x51ba43(this['dispose$']))[_0x448d1f(0x1b9)](_0x286e75=>{const _0x4f283e=_0x448d1f,_0x468617=_0x286e75[_0x4f283e(0x7b)](),_0x587bf9=this[_0x4f283e(0x16c)]['get'](_0x468617);_0x587bf9&&(_0x587bf9[_0x4f283e(0xbc)](),this[_0x4f283e(0x16c)][_0x4f283e(0x227)](_0x468617));});}async[_0xb5b8d0(0x13d)](_0x4898bd){const _0x20ed97=_0xb5b8d0,_0x5b11e6=await this[_0x20ed97(0x99)][_0x20ed97(0x15c)](_0x4898bd),_0x43332f=this[_0x20ed97(0x12a)][_0x20ed97(0x1fa)](Me,_0x4898bd,_0x5b11e6);return _0x43332f[_0x20ed97(0x1b0)](),_0x43332f;}async[_0xb5b8d0(0x1e2)](_0x5097f8){const _0x4212dc=_0xb5b8d0,_0x8b0193=await this['_collabSessionService'][_0x4212dc(0x15c)](_0x5097f8),_0x182222=this[_0x4212dc(0x12a)][_0x4212dc(0x1fa)](Ue,_0x5097f8,_0x8b0193);return _0x182222[_0x4212dc(0x1b0)](),_0x182222;}};F=Ai([me(0x0,_0x58e3c0),me(0x1,_0x5ab208(_0x4b1804)),me(0x2,_0x5ab208(_0x21ac1e))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x49f396,_0x2db013){const _0x5b5e43=_0xb5b8d0;let {radius:_0x1ac232,width:_0xab1b15,height:_0x3e2d7f}=_0x2db013;_0x1ac232=_0x1ac232!=null?_0x1ac232:0x0,_0xab1b15=_0xab1b15!=null?_0xab1b15:0x1e,_0x3e2d7f=_0x3e2d7f!=null?_0x3e2d7f:0x1e;let _0x385ba8=0x0,_0x5f30fe=0x0,_0x4ea897=0x0;_0x385ba8=_0x5f30fe=_0x4ea897=Math[_0x5b5e43(0x261)](_0x1ac232,_0xab1b15/0x2,_0x3e2d7f/0x2),_0x49f396[_0x5b5e43(0x107)](),_0x49f396[_0x5b5e43(0x236)](_0x385ba8,0x0),_0x49f396[_0x5b5e43(0xe7)](_0xab1b15-_0x5f30fe,0x0),_0x49f396['arc'](_0xab1b15-_0x5f30fe,_0x5f30fe,_0x5f30fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x49f396[_0x5b5e43(0xe7)](_0xab1b15,_0x3e2d7f-_0x4ea897),_0x49f396[_0x5b5e43(0x109)](_0xab1b15-_0x4ea897,_0x3e2d7f-_0x4ea897,_0x4ea897,0x0,Math['PI']/0x2,!0x1),_0x49f396[_0x5b5e43(0xe7)](0x0,_0x3e2d7f),_0x49f396[_0x5b5e43(0xe7)](0x0,_0x385ba8),_0x49f396[_0x5b5e43(0x109)](_0x385ba8,_0x385ba8,_0x385ba8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x49f396[_0x5b5e43(0x216)](),_0x2db013[_0x5b5e43(0x167)]&&(_0x49f396[_0x5b5e43(0x193)](),_0x49f396[_0x5b5e43(0x24b)]=_0x2db013[_0x5b5e43(0x167)],_0x2db013[_0x5b5e43(0x235)]==='evenodd'?_0x49f396[_0x5b5e43(0x167)]('evenodd'):_0x49f396[_0x5b5e43(0x167)](),_0x49f396[_0x5b5e43(0x7c)]());}class ue extends _0x54f0c1{constructor(_0x1ce582,_0x29900e){const _0x333783=_0xb5b8d0;super(_0x1ce582,_0x29900e),_(this,'color'),_(this,_0x333783(0x187)),(this['color']=_0x29900e==null?void 0x0:_0x29900e[_0x333783(0x9d)],this[_0x333783(0x187)]=_0x29900e==null?void 0x0:_0x29900e[_0x333783(0x187)]);}static['drawWith'](_0x54f2bf,_0x25b999){const _0x2777cc=_0xb5b8d0,{text:_0x4f6c3d,color:_0x1cb0f9}=_0x25b999;_0x54f2bf[_0x2777cc(0x193)](),_0x54f2bf[_0x2777cc(0x174)]=_0x2777cc(0x234);const _0x31690e=_0x54f2bf[_0x2777cc(0xe4)](_0x4f6c3d)[_0x2777cc(0x158)],_0x2c88a2=Math['min'](_0x31690e+0x2*Ie,Qe);$i(_0x54f2bf,{'height':J,'radius':0x4,'width':_0x2c88a2,'fill':_0x1cb0f9}),_0x54f2bf[_0x2777cc(0x24b)]=_0x2777cc(0x9b);const _0x448d8a=Ie,_0x3cb188=J-yi,_0x2d1c03=Qe-0x2*Ie;if(_0x31690e>_0x2d1c03){let _0x29ce66='',_0xe5794b=0x0;for(const _0x33e7ae of _0x4f6c3d){const _0x3a6176=_0x54f2bf[_0x2777cc(0xe4)](_0x33e7ae)[_0x2777cc(0x158)];if(_0xe5794b+_0x3a6176<=_0x2d1c03-_0x54f2bf['measureText'](_0x2777cc(0x16f))[_0x2777cc(0x158)])_0x29ce66+=_0x33e7ae,_0xe5794b+=_0x3a6176;else{_0x29ce66+=_0x2777cc(0x16f);break;}}_0x54f2bf[_0x2777cc(0x275)](_0x29ce66,_0x448d8a,_0x3cb188);}else _0x54f2bf[_0x2777cc(0x275)](_0x4f6c3d,_0x448d8a,_0x3cb188);_0x54f2bf[_0x2777cc(0x7c)]();}[_0xb5b8d0(0xc2)](_0x118969){const _0x3f0eaa=_0xb5b8d0;ue[_0x3f0eaa(0x188)](_0x118969,this);}}const ve='collab-text-anchor-',xi=_0xb5b8d0(0x1f5),Bi=_0xb5b8d0(0xe6),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x230e4e,_0x3e8f7b,_0x2c89e1,_0x2c7acb){const _0x30971e=_0xb5b8d0;_(this,'_shapes',[]),_(this,_0x30971e(0x10f),null),_(this,'_textBubble',null),_(this,_0x30971e(0xfc),null),_(this,_0x30971e(0x203),null),_(this,_0x30971e(0xde),null),(this[_0x30971e(0x171)]=_0x230e4e,this[_0x30971e(0x199)]=_0x3e8f7b,this['_docSkeleton']=_0x2c89e1,this[_0x30971e(0x12e)]=_0x2c7acb,this[_0x30971e(0x18c)]());}set[_0xb5b8d0(0x1f0)](_0x3b281d){const _0x2e6c6d=_0xb5b8d0;_0x3b281d?(this['_anchorDot']&&this[_0x2e6c6d(0xfc)][_0x2e6c6d(0x170)](),this[_0x2e6c6d(0xc7)]&&this[_0x2e6c6d(0xc7)][_0x2e6c6d(0x1ce)]()):(this[_0x2e6c6d(0xfc)]&&this[_0x2e6c6d(0xfc)][_0x2e6c6d(0x1ce)](),this['_textBubble']&&this[_0x2e6c6d(0xc7)]['hide']());}[_0xb5b8d0(0xbc)](){const _0x10db40=_0xb5b8d0;for(const _0x5de589 of this['_shapes'])_0x5de589['dispose']();this[_0x10db40(0xc7)]&&this['_textBubble'][_0x10db40(0xbc)](),this['_anchorDot']&&this['_anchorDot'][_0x10db40(0xbc)](),this[_0x10db40(0x10f)]&&this[_0x10db40(0x10f)][_0x10db40(0xbc)](),this[_0x10db40(0xde)]&&this[_0x10db40(0xde)]();}[_0xb5b8d0(0x18c)](){const _0x1e026a=_0xb5b8d0;var _0x5f271b;const {_docSkeleton:_0x5d3653,_document:_0x20195a}=this,{color:_0x447ebb,name:_0x58b124,ranges:_0x3d4851}=this[_0x1e026a(0x171)],_0x4718c7=_0x20195a['getOffsetConfig'](),{docsLeft:_0x133442,docsTop:_0x4d26d8}=_0x4718c7,_0x3383c0=new _0x3e7d38(_0x4718c7,_0x5d3653);for(const {startOffset:_0xcd31d4,endOffset:_0x17d0ee,rangeType:_0x4b3673,segmentId:_0x396340,segmentPage:_0x597c02,collapsed:_0x5daa70,isActive:_0x33c0ce}of _0x3d4851){const _0x2890be=_0x5d3653['findNodePositionByCharIndex'](_0xcd31d4,!0x0,_0x396340,_0x597c02);let _0x193da1=_0x5d3653[_0x1e026a(0x207)](_0x17d0ee,!0x0,_0x396340,_0x597c02);if(_0x193da1==null&&(_0x193da1=_0x5d3653[_0x1e026a(0x207)](_0x17d0ee-0x1,!0x1,_0x396340,_0x597c02)),_0x33c0ce){const {contentBoxPointGroup:_0x541b2b}=_0x3383c0[_0x1e026a(0x240)](_0x193da1,_0x193da1);if(_0x541b2b[_0x1e026a(0xb1)]===0x0)continue;this['_drawAnchor'](_0x447ebb,_0x541b2b,_0x133442,_0x4d26d8,_0x58b124),this[_0x1e026a(0xde)]=this[_0x1e026a(0x185)]();}if(_0x2890be&&_0x193da1){if(_0x4b3673===_0x26b3c6[_0x1e026a(0x181)]){const _0x23cbf0=new _0xd28206(_0x4718c7,_0x5d3653),{pointGroup:_0x43cee0}=(_0x5f271b=_0x23cbf0['getRangePointData'](_0x2890be,_0x193da1))!=null?_0x5f271b:{};if(_0x43cee0==null||_0x43cee0[_0x1e026a(0xb1)]===0x0)continue;this[_0x1e026a(0x252)](_0x447ebb,_0x43cee0,_0x133442,_0x4d26d8);}else{if(!_0x5daa70){const {borderBoxPointGroup:_0x345cf9}=_0x3383c0['getRangePointData'](_0x2890be,_0x193da1);if(_0x345cf9[_0x1e026a(0xb1)]===0x0)continue;this[_0x1e026a(0x26e)](_0x447ebb,_0x345cf9,_0x133442,_0x4d26d8);}}}}}['_drawAnchor'](_0x267943,_0x296b45,_0x547156,_0x37a67e,_0xebc03c){const _0x11f7b1=_0xb5b8d0,_0x1271fd=this[_0x11f7b1(0x121)](_0x296b45),{left:_0x3a164e,top:_0x119821,height:_0x340df0}=_0x1271fd,_0x21bc3e=this[_0x11f7b1(0x178)](),_0x100bea=Hi/_0x21bc3e,_0x1c9b19=new _0x24ca21(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e,'height':_0x340df0,'width':ki,'fill':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'strokeWidth':_0x100bea,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x1c9b19,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x1c9b19,_0x13551f);const _0x37d85c=new _0x24ca21(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e-ge/0x2,'height':ge,'width':ge,'fill':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'strokeWidth':0x0,'stroke':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'evented':!0x1});this[_0x11f7b1(0xfc)]=_0x37d85c,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x37d85c,_0x13551f);const _0x25207d=new ue(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e-J,'text':_0xebc03c,'color':_0x267943});this['_textBubble']=_0x25207d,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x25207d,_0x13551f),this[_0x11f7b1(0x1f0)]=!0x1;}[_0xb5b8d0(0x185)](){const _0x4e1ffb=_0xb5b8d0,_0x39a781=this['_anchor'][_0x4e1ffb(0x26b)][_0x4e1ffb(0x155)](()=>{const _0x581f8a=_0x4e1ffb;this[_0x581f8a(0x1f0)]=!0x0;}),_0x2cd092=this['_anchor'][_0x4e1ffb(0x92)][_0x4e1ffb(0x155)](()=>{const _0x1ece3e=_0x4e1ffb;this[_0x1ece3e(0x203)]&&clearTimeout(this[_0x1ece3e(0x203)]),this['_hideTimer']=setTimeout(()=>{const _0x18e049=_0x1ece3e;this[_0x18e049(0x1f0)]=!0x1;},0x7d0);});return()=>{const _0x4a656d=_0x4e1ffb;_0x39a781[_0x4a656d(0x89)](),_0x2cd092[_0x4a656d(0x89)]();};}['_drawTextRange'](_0x241e24,_0xa05e17,_0x5ddb93,_0x423743){const _0x2027dc=_0xb5b8d0,_0x208003=new _0x2fca1c(_0x241e24)[_0x2027dc(0x20f)](0.2)['toRgbString'](),_0x4226e3=new _0x54151c(xi+_0xd9bb20(K),{'pointsGroup':_0xa05e17,'fill':_0x208003||_0x513ec6(_0x952e1d['black'],0.2),'left':_0x5ddb93,'top':_0x423743,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2027dc(0x116)][_0x2027dc(0x190)](_0x4226e3),this['_scene'][_0x2027dc(0x1b8)](_0x4226e3,_0x13551f);}[_0xb5b8d0(0x252)](_0x496128,_0x41fa73,_0x5b3b12,_0x494a40){const _0x1f4a0f=_0xb5b8d0,_0x1c18ba=new _0x2fca1c(_0x496128)[_0x1f4a0f(0x20f)](0.2)[_0x1f4a0f(0x1a2)](),_0x43b39c=new _0x54151c(Bi+_0xd9bb20(K),{'pointsGroup':_0x41fa73,'fill':_0x1c18ba||_0x513ec6(_0x952e1d['black'],0.2),'left':_0x5b3b12,'top':_0x494a40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f4a0f(0x116)][_0x1f4a0f(0x190)](_0x43b39c),this['_scene']['addObject'](_0x43b39c,_0x13551f);}['_getAnchorBounding'](_0x5dd1c3){const _0x2fe45b=_0x5dd1c3[0x0],_0x353965=_0x2fe45b[0x0],_0x38fec3=_0x2fe45b[0x2],{x:_0x494644,y:_0x4af15d}=_0x353965,{x:_0x3cbf25,y:_0x3ce1e0}=_0x38fec3;return{'left':_0x494644,'top':_0x4af15d,'width':_0x3cbf25-_0x494644,'height':_0x3ce1e0-_0x4af15d};}[_0xb5b8d0(0x178)](){const _0x4d4f80=_0xb5b8d0,{scaleX:_0x565111,scaleY:_0x529ef2}=this['_scene'][_0x4d4f80(0xeb)]();return Math[_0x4d4f80(0x127)](_0x565111,_0x529ef2);}}var Yi=Object[_0xb5b8d0(0x125)],ji=(_0xc430c7,_0x176826,_0xae4ba0,_0x2c5b96)=>{const _0x37e398=_0xb5b8d0;for(var _0x2294ed=_0x2c5b96>0x1?void 0x0:_0x2c5b96?Yi(_0x176826,_0xae4ba0):_0x176826,_0x1a075a=_0xc430c7[_0x37e398(0xb1)]-0x1,_0x16e789;_0x1a075a>=0x0;_0x1a075a--)(_0x16e789=_0xc430c7[_0x1a075a])&&(_0x2294ed=_0x16e789(_0x2294ed)||_0x2294ed);return _0x2294ed;},ee=(_0x250e22,_0x30cca2)=>(_0x136cba,_0x4858b5)=>_0x30cca2(_0x136cba,_0x4858b5,_0x250e22);let Le=class extends _0x1f1152{constructor(_0x2c072d,_0x431870,_0x4083f4,_0x59d8ba,_0x2047ea){const _0x21a8ff=_0xb5b8d0;super(),_(this,'_cursorShapes',[]),_(this,_0x21a8ff(0x1c5),[]),(this[_0x21a8ff(0x1bb)]=_0x2c072d,this[_0x21a8ff(0x1cb)]=_0x431870,this[_0x21a8ff(0x220)]=_0x4083f4,this[_0x21a8ff(0x18e)]=_0x59d8ba,this[_0x21a8ff(0x20c)]=_0x2047ea,this['_init']());}['_init'](){const _0x37c1f0=_0xb5b8d0,_0x533304=this[_0x37c1f0(0x1bb)][_0x37c1f0(0x149)],_0x425187=this[_0x37c1f0(0x1cb)];this[_0x37c1f0(0x221)](_0x5d2c69([this[_0x37c1f0(0x220)][_0x37c1f0(0x1b3)](_0x533304),this['_themeService'][_0x37c1f0(0x1e4)]])[_0x37c1f0(0x16e)](_0xcffc2(([_0x41e7dc,_0x4ba5b5])=>({'skeleton':_0x425187[_0x37c1f0(0x1f6)](),'cursors':[..._0x41e7dc[_0x37c1f0(0x217)]()][_0x37c1f0(0xb2)](_0x47eec2=>({..._0x47eec2,'color':this[_0x37c1f0(0x20c)][_0x37c1f0(0x232)](_0x47eec2[_0x37c1f0(0x9d)])}))})))['subscribe'](_0x27412f=>{const _0x3c2cb3=_0x37c1f0;if(this['_removeCollabCursors'](),_0x27412f){const {skeleton:_0x151f3d,cursors:_0x404ede}=_0x27412f;this[_0x3c2cb3(0x179)](_0x151f3d,_0x404ede);}})),this[_0x37c1f0(0x117)](),this[_0x37c1f0(0x87)]();}[_0xb5b8d0(0x179)](_0x1a947e,_0x1e082e){const _0x5590e0=_0xb5b8d0,{scene:_0x3e8f28,mainComponent:_0xe1517f}=this[_0x5590e0(0x1bb)],_0x1249fb=_0x1e082e['map'](_0x110495=>new qe(_0x110495,_0x3e8f28,_0x1a947e,_0xe1517f));this[_0x5590e0(0xc1)]=_0x1249fb,this[_0x5590e0(0x1c5)]=_0x1e082e;}['_refreshCollabCursors'](){const _0x31c67b=_0xb5b8d0;this[_0x31c67b(0xd1)]();const {scene:_0x95041,mainComponent:_0x581c7d}=this[_0x31c67b(0x1bb)],_0x6ffc6a=this[_0x31c67b(0x1cb)][_0x31c67b(0x1f6)](),_0x3fa750=this[_0x31c67b(0x1c5)]['map'](_0x4b7a6b=>new qe(_0x4b7a6b,_0x95041,_0x6ffc6a,_0x581c7d));this[_0x31c67b(0xc1)]=_0x3fa750;}[_0xb5b8d0(0xd1)](){const _0x191540=_0xb5b8d0;this[_0x191540(0xc1)]['forEach'](_0x4a0619=>_0x4a0619[_0x191540(0xbc)]()),this[_0x191540(0xc1)]=[];}[_0xb5b8d0(0x87)](){const _0x165b05=_0xb5b8d0,_0x1d35c0=[_0xeb20c4['id']];this[_0x165b05(0x221)](this['_commandService'][_0x165b05(0x10e)](_0x1db568=>{const _0x3d60fb=_0x165b05;_0x1d35c0['includes'](_0x1db568['id'])&&_0x1db568[_0x3d60fb(0xe2)][_0x3d60fb(0x149)]===this['_context'][_0x3d60fb(0x149)]&&this[_0x3d60fb(0x1c2)]();}));}['_initResize'](){const _0xb5b09f=_0xb5b8d0;this[_0xb5b09f(0x221)](_0x50f2e6(this[_0xb5b09f(0x1bb)][_0xb5b09f(0x1ec)][_0xb5b09f(0x197)])[_0xb5b09f(0x16e)](_0xf06919(_0x4b418c=>_0x4b418c[_0xb5b09f(0x23a)]===_0x2eabd7['resize']),_0x1433b1(0x10))[_0xb5b09f(0x1b9)](()=>{const _0x3a4215=_0xb5b09f;this[_0x3a4215(0x1c2)]();}));}};Le=ji([ee(0x1,_0x5ab208(_0x25119e)),ee(0x2,_0x5ab208(F)),ee(0x3,_0x5fe99),ee(0x4,_0x5ab208(_0x5d448e))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x54f0c1{constructor(_0x4560c0,_0x4e67be){const _0x178932=_0xb5b8d0;super(_0x4560c0,_0x4e67be),_(this,_0x178932(0xd6)),_(this,'_hovered',!0x1),_(this,_0x178932(0x13c)),_(this,'_name',''),_(this,'_labelPosition',_0x178932(0x1d8)),_(this,_0x178932(0x23c)),(_0x4e67be&&this['setShapeProps'](_0x4e67be),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x178932(0xd7)]({'hovered':!0x0})),this[_0x178932(0x92)][_0x178932(0x155)](()=>this[_0x178932(0xd7)]({'hovered':!0x1})));}['setShapeProps'](_0x411cf1){const _0x16b727=_0xb5b8d0;var _0x390c61,_0x5ed27e,_0x4a517a,_0x35a0ee,_0x1652d2,_0x41d5cf;this[_0x16b727(0xd6)]=(_0x390c61=_0x411cf1[_0x16b727(0x9d)])!=null?_0x390c61:this['_color'],this[_0x16b727(0x169)]=(_0x5ed27e=_0x411cf1[_0x16b727(0x250)])!=null?_0x5ed27e:this[_0x16b727(0x169)],this[_0x16b727(0x13c)]=(_0x4a517a=_0x411cf1[_0x16b727(0x78)])!=null?_0x4a517a:this[_0x16b727(0x13c)],this['_name']=(_0x35a0ee=_0x411cf1[_0x16b727(0xf2)])!=null?_0x35a0ee:this[_0x16b727(0x25c)],this[_0x16b727(0x1c0)]=(_0x1652d2=_0x411cf1[_0x16b727(0x120)])!=null?_0x1652d2:this['_labelPosition'],this['_backgroundColor']=(_0x41d5cf=_0x411cf1[_0x16b727(0x1ba)])!=null?_0x41d5cf:this['_backgroundColor'],this[_0x16b727(0x14e)]({'width':_0x411cf1[_0x16b727(0x158)],'height':_0x411cf1[_0x16b727(0x1c7)]});}[_0xb5b8d0(0xd5)](_0x287737){const _0x263d65=_0xb5b8d0,{row:_0x155ad2,column:_0x2f7a62}=_0x287737;if(_0x155ad2>=this[_0x263d65(0x13c)][_0x263d65(0x1f7)]&&_0x155ad2<=this[_0x263d65(0x13c)]['endRow']&&_0x2f7a62>=this[_0x263d65(0x13c)][_0x263d65(0x163)]&&_0x2f7a62<=this[_0x263d65(0x13c)][_0x263d65(0xe0)]){this[_0x263d65(0xd7)]({'hovered':!0x0});return;}this[_0x263d65(0xd7)]({'hovered':!0x1});}[_0xb5b8d0(0x272)](_0x15c950){return!0x1;}[_0xb5b8d0(0xc2)](_0x3f7e94){const _0x346c9c=_0xb5b8d0;_0x24ca21[_0x346c9c(0x188)](_0x3f7e94,{'width':this[_0x346c9c(0x158)],'height':this[_0x346c9c(0x1c7)],'strokeWidth':Wi,'stroke':this[_0x346c9c(0xd6)],'evented':!0x1,'fill':this[_0x346c9c(0x23c)]}),this[_0x346c9c(0x169)]&&(_0x3f7e94[_0x346c9c(0x193)](),_0x3f7e94[_0x346c9c(0x267)](0x1,0x0,0x0,0x1,this[_0x346c9c(0x158)],this[_0x346c9c(0x1c0)]==='bottom'?0x0:-J),ue[_0x346c9c(0x188)](_0x3f7e94,{'text':this[_0x346c9c(0x25c)],'color':this[_0x346c9c(0xd6)]}),_0x3f7e94[_0x346c9c(0x7c)]());}}var Gi=Object[_0xb5b8d0(0x125)],Ki=(_0x4e71cd,_0x213c63,_0xf8e5db,_0x1663ee)=>{for(var _0x545e16=_0x1663ee>0x1?void 0x0:_0x1663ee?Gi(_0x213c63,_0xf8e5db):_0x213c63,_0x210f3f=_0x4e71cd['length']-0x1,_0x126507;_0x210f3f>=0x0;_0x210f3f--)(_0x126507=_0x4e71cd[_0x210f3f])&&(_0x545e16=_0x126507(_0x545e16)||_0x545e16);return _0x545e16;},pe=(_0x3f327b,_0xd257e2)=>(_0x179444,_0x47a9c7)=>_0xd257e2(_0x179444,_0x47a9c7,_0x3f327b);const zi=0x1389;let Pe=class extends _0x1f1152{constructor(_0xd8d48c,_0x253319,_0x55f822,_0x552e64){const _0x3cab46=_0xb5b8d0;super(),_(this,_0x3cab46(0x1c5),new Set()),_(this,'_lastPointer',null),(this[_0x3cab46(0x1bb)]=_0xd8d48c,this[_0x3cab46(0xce)]=_0x253319,this[_0x3cab46(0x220)]=_0x55f822,this[_0x3cab46(0x20c)]=_0x552e64,this[_0x3cab46(0x237)]());}[_0xb5b8d0(0x237)](){const _0x379676=_0xb5b8d0;this[_0x379676(0xce)][_0x379676(0x1a3)][_0x379676(0x16e)](_0x562d89(this[_0x379676(0x150)]),_0x270c8f(_0x13e758=>{const _0xb79ef4=_0x379676;if(_0x13e758){const _0x47ecba=_0x13e758[_0xb79ef4(0x230)];return _0x5d2c69(this[_0xb79ef4(0x220)]['getCollabCursors$'](this['_context'][_0xb79ef4(0x149)]),this[_0xb79ef4(0x20c)][_0xb79ef4(0x1e4)])[_0xb79ef4(0x16e)](_0xcffc2(([_0x2f5a3c,_0x4a8000])=>{const _0x96e53b=_0xb79ef4,_0x4acc2a=new Map();return _0x2f5a3c[_0x96e53b(0x13e)]((_0x12e354,_0x2da7a0)=>{const _0x235e58=_0x96e53b;if(_0x12e354['sheetID']===_0x47ecba){const _0x37fb7b={..._0x12e354};_0x37fb7b[_0x235e58(0x9d)]=this['_themeService']['getColorFromTheme'](_0x12e354[_0x235e58(0x9d)]),_0x4acc2a[_0x235e58(0x161)](_0x2da7a0,_0x37fb7b);}}),{'skeleton':_0x13e758,'cursors':_0x4acc2a};}));}return _0x4ae151({'skeleton':null,'cursors':new Map()});}))[_0x379676(0x1b9)](({skeleton:_0x251cfc,cursors:_0x33f294})=>{const _0x14fa06=_0x379676;this[_0x14fa06(0xd1)](),_0x251cfc&&this[_0x14fa06(0x179)](_0x251cfc,_0x33f294);}),this[_0x379676(0xce)][_0x379676(0x1a3)][_0x379676(0x1b9)](_0x354005=>{const _0x1ad487=_0x379676;if(_0x354005==null)return;const {skeleton:_0xa7b66c}=_0x354005,{scene:_0x221139}=this[_0x1ad487(0x1bb)];_0x221139[_0x1ad487(0x134)][_0x1ad487(0x155)](_0x516ce7(_0x2a250b=>{const _0x31a0dd=_0x1ad487;var _0x293cf0,_0x2f82ff;const {offsetX:_0x2c9f1a,offsetY:_0x9fd62d}=_0x2a250b,{x:_0x216d65,y:_0x350ba6}=_0x221139[_0x31a0dd(0x83)](_0x53af8e['FromArray']([_0x2c9f1a,_0x9fd62d])),{scaleX:_0x2f10dc,scaleY:_0x1e0a6e}=_0x221139[_0x31a0dd(0xeb)](),_0x44e725=_0x221139[_0x31a0dd(0x1ca)](_0x51b856[_0x31a0dd(0x1d5)]),_0x2e0e4d=_0x221139[_0x31a0dd(0x1e0)](_0x53af8e[_0x31a0dd(0x20e)]([_0x216d65,_0x350ba6]),_0x44e725),_0x496600=_0xa7b66c[_0x31a0dd(0x1e6)](_0x2c9f1a,_0x9fd62d,_0x2f10dc,_0x1e0a6e,_0x2e0e4d);((_0x293cf0=this[_0x31a0dd(0x104)])==null?void 0x0:_0x293cf0[_0x31a0dd(0x24f)])===_0x496600['column']&&((_0x2f82ff=this[_0x31a0dd(0x104)])==null?void 0x0:_0x2f82ff['row'])===_0x496600['row']||this[_0x31a0dd(0x1c5)][_0x31a0dd(0x13e)](_0x166b82=>{const _0xce1dd6=_0x31a0dd;_0x166b82[_0xce1dd6(0xd5)](_0x496600);});},0x64));});}['_updateCollabCursors'](_0x151753,_0xa84de){const _0x4c124b=_0xb5b8d0;var _0x203d7a;const _0x467297=(_0x203d7a=this[_0x4c124b(0xce)]['getCurrent']())==null?void 0x0:_0x203d7a[_0x4c124b(0xa3)];if(!_0x467297)return;const _0x532a6c=this[_0x4c124b(0x1ac)]();if(!_0x532a6c)return;this[_0x4c124b(0x1c5)]['forEach'](_0x3de6d8=>{_0x3de6d8['makeDirty']();});const {scene:_0x4b5c3e}=_0x532a6c,_0x2ed6cb=Ji(Array[_0x4c124b(0x14c)](_0xa84de['values']()))[_0x4c124b(0x254)](_0x3a69a1=>{const {color:_0x3d425c,range:_0x45e2a2,name:_0x16d1e3,selection:_0x239c0c,sheetID:_0x5c7ba6}=_0x3a69a1,{startColumn:_0x4a8381,startRow:_0x25888e,endColumn:_0x5f5a84,endRow:_0x176443}=_0x45e2a2,_0x343e12=_0x13a212(_0x25888e,_0x4a8381,_0x4b5c3e,_0x467297),_0x2e3545=_0x13a212(_0x176443,_0x5f5a84,_0x4b5c3e,_0x467297),{columnHeaderHeightAndMarginTop:_0x3b4399}=_0x467297,{startX:_0x38c8b2,startY:_0x2cb283}=_0x343e12,{endX:_0x14f173,endY:_0x37897c}=_0x2e3545,_0x18bd7e=_0x14f173-_0x38c8b2,_0x219577=_0x37897c-_0x2cb283,_0x34633d={'labelPosition':_0x2cb283-_0x3b4399>=J?'top':'bottom','sheetID':_0x5c7ba6,'range':_0x45e2a2,'color':_0x3d425c,'name':_0x16d1e3,'selection':_0x239c0c,'left':_0x38c8b2,'top':_0x2cb283,'width':_0x18bd7e,'height':_0x219577,'evented':!0x1,'zIndex':zi};return new Xi(_0x16d1e3,_0x34633d);});_0x4b5c3e[_0x4c124b(0x13f)](_0x2ed6cb,Vi),this[_0x4c124b(0x1c5)]=new Set(_0x2ed6cb);}[_0xb5b8d0(0xd1)](){const _0x2c1c1a=_0xb5b8d0;var _0x57e78f;(_0x57e78f=this[_0x2c1c1a(0x1c5)])==null||_0x57e78f[_0x2c1c1a(0x13e)](_0x1b32c4=>_0x1b32c4['dispose']());}[_0xb5b8d0(0x1ac)](){const _0x415930=_0xb5b8d0;return _0x506a72(this[_0x415930(0x1bb)][_0x415930(0x148)],this['_context']);}};Pe=Ki([pe(0x1,_0x5ab208(_0x214d4d)),pe(0x2,_0x5ab208(F)),pe(0x3,_0x5ab208(_0x5d448e))],Pe);function Ji(_0x52130f){const _0x586852=_0xb5b8d0,_0x2424a5=new Map();return _0x52130f[_0x586852(0x13e)](_0x1efa89=>{const _0x470181=_0x586852;if(_0x2424a5['has'](_0x1efa89[_0x470181(0xd9)])){const _0x2d3f6f=_0x2424a5['get'](_0x1efa89['selection']);_0x2d3f6f[_0x470181(0xf2)]+=',\x20'+_0x1efa89[_0x470181(0xf2)];}else _0x2424a5[_0x470181(0x161)](_0x1efa89[_0x470181(0xd9)],_0x1efa89);}),Array['from'](_0x2424a5[_0x586852(0x217)]());}var Zi=Object[_0xb5b8d0(0x125)],Qi=(_0x15dbfa,_0x1df3cd,_0x33ba9c,_0x56a9e2)=>{const _0x1da612=_0xb5b8d0;for(var _0x138051=_0x56a9e2>0x1?void 0x0:_0x56a9e2?Zi(_0x1df3cd,_0x33ba9c):_0x1df3cd,_0x1ef264=_0x15dbfa[_0x1da612(0xb1)]-0x1,_0x5886e2;_0x1ef264>=0x0;_0x1ef264--)(_0x5886e2=_0x15dbfa[_0x1ef264])&&(_0x138051=_0x5886e2(_0x138051)||_0x138051);return _0x138051;},B=(_0x230084,_0x53bfac)=>(_0x5e3bc8,_0x103f48)=>_0x53bfac(_0x5e3bc8,_0x103f48,_0x230084);let ne=class extends _0x48907d{constructor(_0x42f70f,_0x4722c7,_0x579da5,_0x35ca50,_0x2be9e3,_0x59659d){const _0x2c41de=_0xb5b8d0;super(),this[_0x2c41de(0xdf)]=_0x42f70f,this[_0x2c41de(0x256)]=_0x4722c7,this[_0x2c41de(0x145)]=_0x579da5,this[_0x2c41de(0x1b1)]=_0x35ca50,this[_0x2c41de(0xcb)]=_0x2be9e3,this[_0x2c41de(0x244)]=_0x59659d,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xb5b8d0(0x26c)](){const _0x32945d=_0xb5b8d0;this[_0x32945d(0x221)](this['_beforeCloseService'][_0x32945d(0x1d3)](()=>{const _0x389c3b=_0x32945d;if(this[_0x389c3b(0x256)][_0x389c3b(0x22f)][_0x389c3b(0x1e5)])return this['_localeService']['t'](_0x389c3b(0x25b));}));}[_0xb5b8d0(0xe8)](){const _0x42096a=_0xb5b8d0;this['disposeWithMe'](this['_collaborationUIEventService'][_0x42096a(0x180)][_0x42096a(0x1b9)](_0x37a886=>{const _0x4c3bd2=_0x42096a;_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x20d)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0xaa))}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x24a)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76['Warning'],'content':this[_0x4c3bd2(0x244)]['t']('collaboration.closeRoom')}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x14a)]&&this['_notificationService'][_0x4c3bd2(0x1ce)]({'title':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x139)),'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x1f2)),'type':'error','duration':0x0}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x141)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this['_localeService']['t'](_0x4c3bd2(0xec))+'('+_0x37a886[_0x4c3bd2(0xfd)]+')'}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x15a)]&&this[_0x4c3bd2(0x1b1)]['show']({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this['_localeService']['t'](_0x37a886[_0x4c3bd2(0xfd)]||'')}),_0x37a886['id']===_0x2b6db6['SOCKET_FAILED_RETRY']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this[_0x4c3bd2(0x244)]['t']('session.will-retry')}),_0x37a886['id']===_0x2b6db6['SOCKET_FAILED']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this['_localeService']['t']('session.connection-failed')}),_0x37a886['id']===_0x2b6db6['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x186))});}));}};ne=Qi([B(0x0,_0x2ca3fc),B(0x1,_0x6a6b7c),B(0x2,_0x5ab208(_0x52cd43)),B(0x3,_0x1e86bf),B(0x4,_0x38e44c),B(0x5,_0x5ab208(_0x2b1b91))],ne);const qi=_0xb5b8d0(0xb5),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x638215,_0x450eec,_0xdd2424,_0xfcbd66)=>{for(var _0x5b7c6a=_0xfcbd66>0x1?void 0x0:_0xfcbd66?en(_0x450eec,_0xdd2424):_0x450eec,_0x4ab0d7=_0x638215['length']-0x1,_0x5c50ff;_0x4ab0d7>=0x0;_0x4ab0d7--)(_0x5c50ff=_0x638215[_0x4ab0d7])&&(_0x5b7c6a=_0x5c50ff(_0x5b7c6a)||_0x5b7c6a);return _0x5b7c6a;},tt=(_0x57c08b,_0x361ed9)=>(_0x42bade,_0xfe8a84)=>_0x361ed9(_0x42bade,_0xfe8a84,_0x57c08b);let re=class{constructor(_0x1fc520,_0xcea2a2){const _0x57af4e=_0xb5b8d0;this[_0x57af4e(0x1dc)]=_0x1fc520,this['_renderManagerService']=_0xcea2a2;}[_0xb5b8d0(0x17e)](_0x1313ea){const _0x4efdd1=_0xb5b8d0;this[_0x4efdd1(0x9a)](_0x1313ea),this[_0x4efdd1(0xe9)](_0x1313ea);}[_0xb5b8d0(0xb8)](_0x4b9181){const _0x3ef59b=_0xb5b8d0,{unitID:_0x5df04b}=_0x4b9181,_0xe1fc90=this[_0x3ef59b(0x146)]['getRenderById'](_0x5df04b)['with'](_0x31c147),{redoCache:_0x1a397c}=_0xe1fc90[_0x3ef59b(0x1cd)]();if(_0x1a397c['length']===0x0)return _0x4b9181;let _0x2ffa41=_0x326ea0[_0x3ef59b(0xc4)](_0x4b9181[_0x3ef59b(0x166)][0x0]);for(let _0x159135=0x0;_0x159135<_0x1a397c[_0x3ef59b(0xb1)];_0x159135++){const _0x38ae8b={'id':_0x3ef59b(0x246),'params':{..._0x1a397c[_0x159135]}},_0x5b0ed1=this['_transformService'][_0x3ef59b(0x192)](_0x2ffa41,_0x38ae8b,!0x1);if(_0x1a0d06(_0x5b0ed1))throw _0x5b0ed1[_0x3ef59b(0xf4)];_0x2ffa41=_0x5b0ed1[_0x3ef59b(0x277)];}return{..._0x326ea0[_0x3ef59b(0xc4)](_0x4b9181),'mutations':[_0x2ffa41]};}[_0xb5b8d0(0x9a)](_0x4c6ea9){const _0x45b0d3=_0xb5b8d0,{unitID:_0x33aa43}=_0x4c6ea9,_0x451f46=this[_0x45b0d3(0x146)][_0x45b0d3(0x213)](_0x33aa43)[_0x45b0d3(0xad)](_0x31c147),{undoCache:_0x274f4d,redoCache:_0x48ef43}=_0x451f46[_0x45b0d3(0x1cd)]();if(_0x274f4d[_0x45b0d3(0xb1)]===0x0||_0x48ef43[_0x45b0d3(0xb1)]===0x0)return;const _0x1feffb=[],_0x155de4=[];let _0x13acf6=_0x326ea0[_0x45b0d3(0xc4)](_0x4c6ea9[_0x45b0d3(0x166)][0x0]),_0x5db3ad=_0x326ea0[_0x45b0d3(0xc4)](_0x4c6ea9[_0x45b0d3(0x166)][0x0]);for(let _0x28576f=_0x274f4d[_0x45b0d3(0xb1)]-0x1;_0x28576f>=0x0;_0x28576f--){const _0x323d27={'id':_0x45b0d3(0x246),'params':{..._0x274f4d[_0x28576f]}},_0x149a63={'id':_0x45b0d3(0x246),'params':{..._0x48ef43[_0x28576f]}},_0x53440a=this[_0x45b0d3(0x1dc)][_0x45b0d3(0x192)](_0x13acf6,_0x323d27,!0x1),_0x2413c0=this['_transformService'][_0x45b0d3(0x192)](_0x5db3ad,_0x149a63,!0x1);if(_0x1a0d06(_0x53440a))throw _0x53440a['error'];if(_0x1a0d06(_0x2413c0))throw _0x2413c0[_0x45b0d3(0xf4)];_0x1feffb['unshift'](_0x53440a[_0x45b0d3(0xbe)][_0x45b0d3(0xe2)]),_0x155de4[_0x45b0d3(0x76)](_0x2413c0[_0x45b0d3(0xbe)]['params']),_0x13acf6=_0x53440a[_0x45b0d3(0x277)],_0x5db3ad=_0x2413c0[_0x45b0d3(0x277)];}_0x451f46[_0x45b0d3(0xb9)]({'undoCache':_0x1feffb,'redoCache':_0x155de4});}[_0xb5b8d0(0xe9)](_0x334ef9){const _0x32c1ba=_0xb5b8d0,{unitID:_0x184b10}=_0x334ef9,_0x31e7ec=this[_0x32c1ba(0x146)][_0x32c1ba(0x213)](_0x184b10)[_0x32c1ba(0xad)](_0x31c147),_0x446417=_0x31e7ec[_0x32c1ba(0xa1)]();if(_0x446417==null)return;const _0x1bf625=[{'id':_0x32c1ba(0x246),'params':{'unitId':_0x334ef9[_0x32c1ba(0x18a)],'actions':null,'textRanges':[_0x446417]}}],_0x51f040=this[_0x32c1ba(0x1dc)][_0x32c1ba(0x1a1)](_0x334ef9,_0x1bf625);if(!_0xd83022(_0x51f040))throw _0x51f040[_0x32c1ba(0xf4)];const _0xb3fb82=_0x51f040[_0x32c1ba(0xbe)][0x0][_0x32c1ba(0xe2)][_0x32c1ba(0x115)];Array[_0x32c1ba(0xc3)](_0xb3fb82)&&_0xb3fb82[_0x32c1ba(0xb1)]&&_0x31e7ec[_0x32c1ba(0x130)](_0xb3fb82[0x0]);}};re=tn([tt(0x0,_0x4cf894),tt(0x1,_0x1c89d7)],re);var sn=Object[_0xb5b8d0(0x125)],nn=(_0x2b929c,_0x482c37,_0x28f6f9,_0xfee95a)=>{const _0x1cf614=_0xb5b8d0;for(var _0x52bdf6=_0xfee95a>0x1?void 0x0:_0xfee95a?sn(_0x482c37,_0x28f6f9):_0x482c37,_0x32394f=_0x2b929c[_0x1cf614(0xb1)]-0x1,_0x526fcf;_0x32394f>=0x0;_0x32394f--)(_0x526fcf=_0x2b929c[_0x32394f])&&(_0x52bdf6=_0x526fcf(_0x52bdf6)||_0x52bdf6);return _0x52bdf6;},Ce=(_0x47a588,_0x316c22)=>(_0x4f8d85,_0x5a48be)=>_0x316c22(_0x4f8d85,_0x5a48be,_0x47a588);let oe=class{constructor(_0x419f78,_0x46703b,_0x2045d9){const _0x25d5e1=_0xb5b8d0;this[_0x25d5e1(0x12a)]=_0x419f78,this[_0x25d5e1(0x1dc)]=_0x46703b,this['_docStateChangeManagerService']=_0x2045d9;}[_0xb5b8d0(0x211)](_0x2e24ca){this['_transformHistoryAndStateStack'](_0x2e24ca);}['transformRemoteChangeset'](_0x49474a){const _0x3f7d31=_0xb5b8d0,{unitID:_0x519fa4}=_0x49474a,{collaboration:_0x4407fd}=this['_docStateChangeManagerService']['getStateCache'](_0x519fa4);if(_0x4407fd[_0x3f7d31(0xb1)]===0x0)return _0x49474a;let _0x1df867=_0x326ea0['deepClone'](_0x49474a[_0x3f7d31(0x166)][0x0]);for(let _0x405f36=0x0;_0x405f36<_0x4407fd[_0x3f7d31(0xb1)];_0x405f36++){const _0x5d8537={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4407fd[_0x405f36][_0x3f7d31(0x149)],..._0x4407fd[_0x405f36][_0x3f7d31(0xda)]}},_0x1a23ef=this[_0x3f7d31(0x1dc)]['transformMutation'](_0x1df867,_0x5d8537,!0x1);if(_0x1a0d06(_0x1a23ef))throw _0x1a23ef[_0x3f7d31(0xf4)];_0x1df867=_0x1a23ef[_0x3f7d31(0x277)];}return{..._0x326ea0['deepClone'](_0x49474a),'mutations':[_0x1df867]};}[_0xb5b8d0(0xbf)](_0x1edd8b){const _0x1fe011=_0xb5b8d0,{unitID:_0x237ad9}=_0x1edd8b,{history:_0x4407a0,collaboration:_0x127410}=this[_0x1fe011(0x251)][_0x1fe011(0xc9)](_0x237ad9);if(_0x4407a0[_0x1fe011(0xb1)]===0x0&&_0x127410[_0x1fe011(0xb1)]===0x0)return;const _0x1ad04a=[],_0x48314f=[];let _0x331415=_0x326ea0['deepClone'](_0x1edd8b[_0x1fe011(0x166)][0x0]),_0x503c91=_0x326ea0[_0x1fe011(0xc4)](_0x1edd8b[_0x1fe011(0x166)][0x0]);for(let _0x3be140=_0x4407a0[_0x1fe011(0xb1)]-0x1;_0x3be140>=0x0;_0x3be140--){const _0x2f071d={'id':_0x1fe011(0x246),'params':{'unitId':_0x4407a0[_0x3be140][_0x1fe011(0x149)],..._0x4407a0[_0x3be140][_0x1fe011(0x264)]}},_0x3aa167={'id':_0x1fe011(0x246),'params':{'unitId':_0x4407a0[_0x3be140][_0x1fe011(0x149)],..._0x4407a0[_0x3be140]['redoState']}},_0x2497a6=this['_transformService']['transformMutation'](_0x331415,_0x2f071d,!0x1),_0x2ea870=this[_0x1fe011(0x1dc)][_0x1fe011(0x192)](_0x503c91,_0x3aa167,!0x1);if(_0x1a0d06(_0x2497a6))throw _0x2497a6[_0x1fe011(0xf4)];if(_0x1a0d06(_0x2ea870))throw _0x2ea870[_0x1fe011(0xf4)];_0x1ad04a[_0x1fe011(0x76)]({..._0x4407a0[_0x3be140],'undoState':_0x2497a6[_0x1fe011(0xbe)][_0x1fe011(0xe2)],'redoState':_0x2ea870[_0x1fe011(0xbe)][_0x1fe011(0xe2)]}),_0x331415=_0x2497a6['m1Prime'],_0x503c91=_0x2ea870['m1Prime'];}_0x331415=_0x326ea0['deepClone'](_0x1edd8b['mutations'][0x0]),_0x503c91=_0x326ea0[_0x1fe011(0xc4)](_0x1edd8b[_0x1fe011(0x166)][0x0]);for(let _0x574406=_0x127410[_0x1fe011(0xb1)]-0x1;_0x574406>=0x0;_0x574406--){const _0x403f61={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x127410[_0x574406][_0x1fe011(0x149)],..._0x127410[_0x574406]['undoState']}},_0x3acc02={'id':_0x1fe011(0x246),'params':{'unitId':_0x127410[_0x574406][_0x1fe011(0x149)],..._0x127410[_0x574406][_0x1fe011(0xda)]}},_0x47fb0c=this[_0x1fe011(0x1dc)][_0x1fe011(0x192)](_0x331415,_0x403f61,!0x1),_0x548b7c=this['_transformService'][_0x1fe011(0x192)](_0x503c91,_0x3acc02,!0x1);if(_0x1a0d06(_0x47fb0c))throw _0x47fb0c[_0x1fe011(0xf4)];if(_0x1a0d06(_0x548b7c))throw _0x548b7c[_0x1fe011(0xf4)];_0x48314f[_0x1fe011(0x76)]({..._0x127410[_0x574406],'undoState':_0x47fb0c[_0x1fe011(0xbe)][_0x1fe011(0xe2)],'redoState':_0x548b7c['m2Prime'][_0x1fe011(0xe2)]}),_0x331415=_0x47fb0c['m1Prime'],_0x503c91=_0x548b7c[_0x1fe011(0x277)];}this['_docStateChangeManagerService']['setStateCache'](_0x237ad9,{'history':_0x1ad04a,'collaboration':_0x48314f});}};oe=nn([Ce(0x0,_0x5ab208(_0x4b1804)),Ce(0x1,_0x4cf894),Ce(0x2,_0x5ab208(_0x379fe1))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x56a42f,_0x1b2cd2,_0x334413,_0x100466)=>{const _0x55ce91=_0xb5b8d0;for(var _0x1e15b4=_0x100466>0x1?void 0x0:_0x100466?rn(_0x1b2cd2,_0x334413):_0x1b2cd2,_0x389362=_0x56a42f[_0x55ce91(0xb1)]-0x1,_0xcbe393;_0x389362>=0x0;_0x389362--)(_0xcbe393=_0x56a42f[_0x389362])&&(_0x1e15b4=_0xcbe393(_0x1e15b4)||_0x1e15b4);return _0x1e15b4;},st=(_0x9b82d2,_0x2bcec3)=>(_0x4cc7b0,_0x486518)=>_0x2bcec3(_0x4cc7b0,_0x486518,_0x9b82d2);let ae=class{constructor(_0x31abf3,_0x5de4){this['_injector']=_0x31abf3,this['_transformService']=_0x5de4;}[_0xb5b8d0(0x1d4)](_0x134c94){const _0x5b126d=_0xb5b8d0;var _0x38b54f;const _0x457ec4=this['_injector']['get'](_0x5b3937),_0x3ab9e9=(_0x38b54f=_0x457ec4[_0x5b126d(0x144)]())!=null?_0x38b54f:[];if(_0x3ab9e9[_0x5b126d(0xb1)]===0x0)return;const _0x24b3fe=_0x134c94['unitID'],_0xe2b22d=[{'id':_0x5b126d(0x246),'params':{'unitId':_0x24b3fe,'actions':null,'textRanges':_0x3ab9e9}}],_0x388e85=this[_0x5b126d(0x1dc)][_0x5b126d(0x1a1)](_0x134c94,_0xe2b22d);if(!_0xd83022(_0x388e85))throw _0x388e85[_0x5b126d(0xf4)];const _0x71d72b=_0x388e85[_0x5b126d(0xbe)][0x0][_0x5b126d(0xe2)][_0x5b126d(0x115)];Array[_0x5b126d(0xc3)](_0x71d72b)&&_0x71d72b[_0x5b126d(0xb1)]&&_0x457ec4[_0x5b126d(0x184)](_0x71d72b,{'unitId':_0x24b3fe,'subUnitId':_0x24b3fe},!0x1);}};ae=on([st(0x0,_0x5ab208(_0x4b1804)),st(0x1,_0x4cf894)],ae);var an=Object[_0xb5b8d0(0x125)],cn=(_0x424eed,_0x3d314b,_0x10e00d,_0x1c0cca)=>{const _0x45e577=_0xb5b8d0;for(var _0x5e7267=_0x1c0cca>0x1?void 0x0:_0x1c0cca?an(_0x3d314b,_0x10e00d):_0x3d314b,_0x504a12=_0x424eed[_0x45e577(0xb1)]-0x1,_0x53056d;_0x504a12>=0x0;_0x504a12--)(_0x53056d=_0x424eed[_0x504a12])&&(_0x5e7267=_0x53056d(_0x5e7267)||_0x5e7267);return _0x5e7267;},N=(_0x4912b3,_0x2ee33e)=>(_0x23ebdf,_0x23e1ad)=>_0x2ee33e(_0x23ebdf,_0x23e1ad,_0x4912b3);let ce=class extends _0x48907d{constructor(_0x5edf5d,_0x525916,_0x13a454,_0x19761d,_0x5e5b03,_0x89a99d,_0x3e9118,_0x4fb74e){const _0x20d79e=_0xb5b8d0;super(),_(this,_0x20d79e(0x12d),new _0x5436fa(_0x42a6e9[_0x20d79e(0x262)])),(this[_0x20d79e(0x251)]=_0x5edf5d,this[_0x20d79e(0x19a)]=_0x525916,this[_0x20d79e(0xbd)]=_0x13a454,this['_docTransformStateCacheService']=_0x19761d,this[_0x20d79e(0x153)]=_0x5e5b03,this['_docSyncEditingCollabCursorService']=_0x89a99d,this[_0x20d79e(0x1b1)]=_0x3e9118,this[_0x20d79e(0x244)]=_0x4fb74e,this[_0x20d79e(0xb4)]());}[_0xb5b8d0(0xb4)](){const _0x542ac2=_0xb5b8d0;this['disposeWithMe'](this['_collaborationController'][_0x542ac2(0x1b6)][_0x542ac2(0x1b9)](_0x3b754c=>{const _0x338e6d=_0x542ac2,_0x353fed=this[_0x338e6d(0x251)]['docStateChange$']['subscribe'](_0x23bfac=>{const _0xb8e48=_0x338e6d;if(_0x23bfac==null)return;const {unitId:_0x22ea0d,redoState:_0x5dab50,commandId:_0x389d4b}=_0x23bfac;if(_0x22ea0d!==_0x3b754c[_0xb8e48(0x18a)])return;const _0x22c762={'id':_0x389d4b,'type':_0xbb6eac[_0xb8e48(0x129)],'params':{'unitId':_0x22ea0d,'actions':_0x5dab50['actions'],'textRanges':null}};_0x3b754c[_0xb8e48(0x11a)](_0x22c762);});if(_0x3b754c[_0x338e6d(0x221)](_0x353fed),_0x3b754c instanceof _0x31305f){const _0xbcdb69={'onTransformIME':_0x22c04b=>this[_0x338e6d(0xbd)][_0x338e6d(0x17e)](_0x22c04b),'onTransformState':_0x570348=>this[_0x338e6d(0x18b)][_0x338e6d(0x211)](_0x570348),'onTransformSelections':_0xa1434f=>this['_docTransformSelectionsService'][_0x338e6d(0x1d4)](_0xa1434f),'onSyncEditingCollabCursor':_0x17ffd1=>this[_0x338e6d(0x238)][_0x338e6d(0x124)](_0x17ffd1),'onTransformRemoteChangesetByIMECache':_0x2310f0=>this['_docTransformIMECacheService'][_0x338e6d(0xb8)](_0x2310f0),'onTransformRemoteChangesetByStateCache':_0x439f1c=>this[_0x338e6d(0x18b)]['transformRemoteChangeset'](_0x439f1c)};_0x3b754c['addHandlerCallback'](_0xbcdb69);}}));}};ce=cn([N(0x0,_0x5ab208(_0x379fe1)),N(0x1,_0x5ab208(_0x4316fb)),N(0x2,_0x5ab208(re)),N(0x3,_0x5ab208(oe)),N(0x4,_0x5ab208(ae)),N(0x5,_0x5ab208(Fe)),N(0x6,_0x1e86bf),N(0x7,_0x5ab208(_0x2b1b91))],ce);var ln=Object[_0xb5b8d0(0x125)],_n=(_0x17bc94,_0x380a9f,_0xc32746,_0x5d3993)=>{const _0x1d16be=_0xb5b8d0;for(var _0x337afb=_0x5d3993>0x1?void 0x0:_0x5d3993?ln(_0x380a9f,_0xc32746):_0x380a9f,_0x2a4f6d=_0x17bc94[_0x1d16be(0xb1)]-0x1,_0xb065fc;_0x2a4f6d>=0x0;_0x2a4f6d--)(_0xb065fc=_0x17bc94[_0x2a4f6d])&&(_0x337afb=_0xb065fc(_0x337afb)||_0x337afb);return _0x337afb;},Ee=(_0x227eb7,_0x584c15)=>(_0x3ab5a6,_0x2d0178)=>_0x584c15(_0x3ab5a6,_0x2d0178,_0x227eb7);let we=class extends _0x48907d{constructor(_0x399595,_0x222787,_0x1054b7){const _0x424304=_0xb5b8d0;super(),_(this,_0x424304(0xee),new Map()),_(this,_0x424304(0x94),new Map()),_(this,_0x424304(0xba),!0x1),(this[_0x424304(0x269)]=_0x399595,this[_0x424304(0x239)]=_0x222787,this[_0x424304(0x258)]=_0x1054b7);}['disableLocalCache'](){const _0x18866a=_0xb5b8d0;this[_0x18866a(0xba)]=!0x0;}[_0xb5b8d0(0x16b)](){const _0x49e530=_0xb5b8d0;this[_0x49e530(0xba)]=!0x1;}get[_0xb5b8d0(0x22f)](){const _0x506595=_0xb5b8d0;return this[_0x506595(0x94)];}[_0xb5b8d0(0xbc)](){const _0x26ae44=_0xb5b8d0;this['exhaustSavingTask']()['then'](()=>super[_0x26ae44(0xbc)]());}async[_0xb5b8d0(0xbb)](_0xad394f){const _0x213991=_0xb5b8d0;return this[_0x213991(0xba)]?null:this[_0x213991(0x239)][_0x213991(0x136)](_0xd2da85(_0xad394f));}async[_0xb5b8d0(0xae)](_0x59780b,_0x686473){const _0xa30650=_0xb5b8d0;return!!this['_localStorageService'][_0xa30650(0x177)](_0x59780b,_0x686473);}['updateOfflineData'](_0x13669d,_0x455e46,_0x573b44,_0x4c4ace){const _0x39e0b5=_0xb5b8d0,_0x1ae994=this[_0x39e0b5(0x258)]['getCurrentRevOfUnit'](_0x13669d);this[_0x39e0b5(0xee)][_0x39e0b5(0x161)](_0x13669d,{'unitID':_0x13669d,'type':_0x455e46,'awaitingChangeset':_0x573b44,'mutations':_0x4c4ace,'rev':_0x1ae994}),this[_0x39e0b5(0x94)]['has'](_0x13669d)||this['_scheduleSaving'](_0x13669d);}[_0xb5b8d0(0x110)](_0x49c000){const _0x230a3c=_0xb5b8d0,_0x3660de=this[_0x230a3c(0x1ae)]();_0x3660de===0x0?this[_0x230a3c(0x189)](_0x49c000):this[_0x230a3c(0x94)][_0x230a3c(0x161)](_0x49c000,setTimeout(()=>this[_0x230a3c(0x189)](_0x49c000),_0x3660de));}[_0xb5b8d0(0x1ae)](){const _0xfcd3ba=_0xb5b8d0;var _0x54b758;return(_0x54b758=this['_configService'][_0xfcd3ba(0x123)](_0x164bdd))!=null?_0x54b758:_0x559221;}[_0xb5b8d0(0x189)](_0x427025){const _0x3f7230=_0xb5b8d0,_0x1d0371=this['_saveTaskMap'][_0x3f7230(0x247)](_0x427025);return _0x1d0371!==void 0x0&&window[_0x3f7230(0x7e)](_0x1d0371),this[_0x3f7230(0x239)][_0x3f7230(0x177)](_0xd2da85(_0x427025),this[_0x3f7230(0xee)][_0x3f7230(0x247)](_0x427025))['then'](()=>this[_0x3f7230(0x94)][_0x3f7230(0x227)](_0x427025));}async['exhaustSavingTask'](){const _0xcfe5cf=_0xb5b8d0,_0x1127f4=[];this['_saveTaskMap'][_0xcfe5cf(0x13e)]((_0x5cdd34,_0x56bd4a)=>{const _0x2598e4=_0xcfe5cf;window[_0x2598e4(0x7e)](_0x5cdd34),_0x1127f4[_0x2598e4(0x190)](this['_saveCache'](_0x56bd4a)[_0x2598e4(0x74)](()=>{const _0x4d0ae9=_0x2598e4;this[_0x4d0ae9(0x94)][_0x4d0ae9(0x227)](_0x56bd4a);}));}),await Promise['all'](_0x1127f4);}};we=_n([Ee(0x0,_0xf5ee3b),Ee(0x1,_0x453d3f),Ee(0x2,_0x5ab208(_0x595ed7))],we);class hn extends _0x1f1152{constructor(){const _0xd5c79f=_0xb5b8d0;super(),_(this,_0xd5c79f(0x1a9)),this[_0xd5c79f(0x1a9)]=_0x54bb75(window,_0xd5c79f(0x82))[_0xd5c79f(0x16e)](_0x51ba43(this[_0xd5c79f(0x150)]),_0x5b6a85(0x1),_0x2076c9(void 0x0));}['setParam'](_0xc8625a,_0x112bc0,_0xb5504f=!0x1){const _0x5542f7=_0xb5b8d0,_0x2804a4=new URL(window[_0x5542f7(0x1fe)]['href']);_0x2804a4[_0x5542f7(0xd0)][_0x5542f7(0x161)](_0xc8625a,_0x112bc0),_0xb5504f?window[_0x5542f7(0x1c6)][_0x5542f7(0x1d2)]('','',_0x2804a4[_0x5542f7(0x75)]()):window[_0x5542f7(0x1c6)][_0x5542f7(0x142)]('','',_0x2804a4[_0x5542f7(0x75)]());}[_0xb5b8d0(0x9e)](_0x123c69,_0x47192d=!0x1){const _0x5bb025=_0xb5b8d0,_0x387b99=new URL(window[_0x5bb025(0x1fe)][_0x5bb025(0x200)]);_0x387b99['searchParams']['delete'](_0x123c69),_0x47192d?window['history'][_0x5bb025(0x1d2)]('','',_0x387b99[_0x5bb025(0x75)]()):window['history'][_0x5bb025(0x142)]('','',_0x387b99[_0x5bb025(0x75)]());}['getParam'](_0x397f9d){const _0x24b188=_0xb5b8d0;var _0x4f9fda;return(_0x4f9fda=new URL(window['location']['href'])['searchParams'][_0x24b188(0x247)](_0x397f9d))!=null?_0x4f9fda:void 0x0;}}var un=Object[_0xb5b8d0(0x22c)],dn=Object[_0xb5b8d0(0x125)],fn=(_0x3a1a1e,_0x3bf4bb,_0x1b4fa9)=>_0x3bf4bb in _0x3a1a1e?un(_0x3a1a1e,_0x3bf4bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b4fa9}):_0x3a1a1e[_0x3bf4bb]=_0x1b4fa9,Sn=(_0x5e6515,_0x1c3215,_0x393d1c,_0x1bb613)=>{const _0x62a023=_0xb5b8d0;for(var _0x372fef=_0x1bb613>0x1?void 0x0:_0x1bb613?dn(_0x1c3215,_0x393d1c):_0x1c3215,_0x3d79aa=_0x5e6515[_0x62a023(0xb1)]-0x1,_0x4cb90e;_0x3d79aa>=0x0;_0x3d79aa--)(_0x4cb90e=_0x5e6515[_0x3d79aa])&&(_0x372fef=_0x4cb90e(_0x372fef)||_0x372fef);return _0x372fef;},Oe=(_0x4193b8,_0x523ed5)=>(_0xb935a3,_0x492ac8)=>_0x523ed5(_0xb935a3,_0x492ac8,_0x4193b8),mn=(_0x3934ff,_0x4bbe86,_0xeb513e)=>fn(_0x3934ff,_0x4bbe86+'',_0xeb513e);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2f60e6{constructor(_0x4ab68b=et,_0x58fd12,_0x360114,_0xd4f20d){const _0x3dd913=_0xb5b8d0;super(),this['_config']=_0x4ab68b,this[_0x3dd913(0x146)]=_0x58fd12,this[_0x3dd913(0x12a)]=_0x360114,this[_0x3dd913(0x269)]=_0xd4f20d;const {..._0x3f2e6b}=_0x4b6b27({},et,this[_0x3dd913(0xd2)]);this[_0x3dd913(0x269)][_0x3dd913(0x209)](qi,_0x3f2e6b);}[_0xb5b8d0(0x1f9)](){const _0x468cd4=_0xb5b8d0;this[_0x468cd4(0xfa)](),this['_initDependencies']();}[_0xb5b8d0(0x8d)](){const _0x481432=_0xb5b8d0;this[_0x481432(0x255)]();}[_0xb5b8d0(0xfa)](){const _0x5ee8e0=_0xb5b8d0;var _0x5ae239;const _0x25286c=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1892b4,{'useClass':_0x51103c}],[_0x6a6b7c,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x19e2fa(this['_injector'],_0x508cc9(_0x25286c,(_0x5ae239=this[_0x5ee8e0(0xd2)])==null?void 0x0:_0x5ae239[_0x5ee8e0(0x233)]));}['_registerRenderDependencies'](){const _0x6940b8=_0xb5b8d0;this[_0x6940b8(0x221)](this[_0x6940b8(0x146)]['registerRenderModule'](_0x31676a['UNIVER_DOC'],[Le])),this[_0x6940b8(0x221)](this[_0x6940b8(0x146)][_0x6940b8(0xf8)](_0x31676a[_0x6940b8(0xa6)],[Pe]));}[_0xb5b8d0(0x77)](){const _0x506117=_0xb5b8d0;_0xba00af(this[_0x506117(0x12a)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0xb5b8d0(0x100),In),Ae=Sn([_0x12b540(_0x41bb79),Oe(0x1,_0x1c89d7),Oe(0x2,_0x5ab208(_0x4b1804)),Oe(0x3,_0xf5ee3b)],Ae);var vn=Object[_0xb5b8d0(0x125)],gn=(_0x282141,_0x4da3ad,_0x247905,_0x2803c0)=>{const _0x2d9425=_0xb5b8d0;for(var _0x40d1d3=_0x2803c0>0x1?void 0x0:_0x2803c0?vn(_0x4da3ad,_0x247905):_0x4da3ad,_0x5b517c=_0x282141[_0x2d9425(0xb1)]-0x1,_0x4d5aae;_0x5b517c>=0x0;_0x5b517c--)(_0x4d5aae=_0x282141[_0x5b517c])&&(_0x40d1d3=_0x4d5aae(_0x40d1d3)||_0x40d1d3);return _0x40d1d3;},z=(_0x371479,_0x5ed712)=>(_0x46ac40,_0x546bfe)=>_0x5ed712(_0x46ac40,_0x546bfe,_0x371479);let it=class extends _0x463be4{constructor(_0x12cde8,_0x1abf7b,_0x2c001e,_0x5cf588,_0x2ae444){super(_0x12cde8,_0x1abf7b,_0x2c001e,_0x5cf588,_0x2ae444);}async['createSocket'](_0x4a50a6){const _0x515737=_0xb5b8d0,_0x5ce90b=await this[_0x515737(0x88)](),_0x5298be=this[_0x515737(0xab)](_0x4a50a6,_0x5ce90b);return this[_0x515737(0xa5)](_0x5298be);}['_createSocketURL'](_0x1ef14c,_0x554f4b){const _0x56a190=_0xb5b8d0,_0x140994=typeof window>'u'?new URL(_0x1ef14c):new URL(_0x1ef14c,window[_0x56a190(0x1fe)][_0x56a190(0x253)]);_0x140994[_0x56a190(0xd0)][_0x56a190(0x161)]('sessionTicket',_0x554f4b);const _0x36f1ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x56a190(0x198)]);return _0x36f1ee[_0x56a190(0x247)](_0x56a190(0x133))&&_0x140994['searchParams'][_0x56a190(0x161)](_0x56a190(0x133),_0x36f1ee['get'](_0x56a190(0x133))),_0x140994['toString']();}async[_0xb5b8d0(0x88)](){const _0x770671=_0xb5b8d0;var _0x4cecd2,_0x5c7e9e,_0x136989;const _0x17f6bd=this[_0x770671(0x269)][_0x770671(0x123)](_0x20e3b0),_0x22810f=(_0x4cecd2=_0x17f6bd==null?void 0x0:_0x17f6bd[_0x770671(0x172)])!=null?_0x4cecd2:_0x2e0915;return(_0x136989=(_0x5c7e9e=(await this['_httpService'][_0x770671(0x247)](_0x22810f,{'headers':{'Content-Type':_0x770671(0x21d)}}))[_0x770671(0x1b5)])==null?void 0x0:_0x5c7e9e[_0x770671(0xd8)])!=null?_0x136989:'';}};it=gn([z(0x0,_0x5ab208(_0x4b1804)),z(0x1,_0x5ab208(_0x16ff0f)),z(0x2,_0xf5ee3b),z(0x3,_0x5346a3),z(0x4,_0x4b3a17)],it);var Lt=(_0xf10c0c=>(_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x176)]=0x0]=_0xb5b8d0(0x176),_0xf10c0c[_0xf10c0c['OK']=0x1]='OK',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x224)]=0x2]=_0xb5b8d0(0x224),_0xf10c0c[_0xf10c0c['PERMISSION_DENIED']=0x3]=_0xb5b8d0(0x14a),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x273)]=0x4]=_0xb5b8d0(0x273),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x13b)]=0x5]=_0xb5b8d0(0x13b),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1f1)]=0x6]=_0xb5b8d0(0x1f1),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1a8)]=0x7]='INVALID_ARGUMENT',_0xf10c0c[_0xf10c0c['TOO_MANY_REQUESTS']=0x8]=_0xb5b8d0(0xdd),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x25a)]=0x9]=_0xb5b8d0(0x25a),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x11f)]=0xa]=_0xb5b8d0(0x11f),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x8c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1a6)]=0xc]=_0xb5b8d0(0x1a6),_0xf10c0c[_0xf10c0c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xb5b8d0(0x102),_0xf10c0c[_0xf10c0c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb5b8d0(0xdc),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x165)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x228)]=0x1771]=_0xb5b8d0(0x228),_0xf10c0c[_0xf10c0c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xb5b8d0(0x24c),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x24d)]=0x1773]=_0xb5b8d0(0x24d),_0xf10c0c[_0xf10c0c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x17a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x194)]=0x1b5b]=_0xb5b8d0(0x194),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xa7)]=0x1b5c]=_0xb5b8d0(0xa7),_0xf10c0c[_0xf10c0c['APPLY_DUPLICATED']=0x1b5d]=_0xb5b8d0(0xa9),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x24e)]=0x1f41]=_0xb5b8d0(0x24e),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1bd)]=0x2329]=_0xb5b8d0(0x1bd),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x241)]=0x232a]=_0xb5b8d0(0x241),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x9f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf10c0c[_0xf10c0c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xf10c0c[_0xf10c0c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x168)]=0x2711]=_0xb5b8d0(0x168),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xac)]=0x2712]=_0xb5b8d0(0xac),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x19c)]=0x2713]=_0xb5b8d0(0x19c),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x249)]=0x2714]=_0xb5b8d0(0x249),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x95)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x263)]=0x271b]=_0xb5b8d0(0x263),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x159)]=0x271c]=_0xb5b8d0(0x159),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xa8)]=0x271d]=_0xb5b8d0(0xa8),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1b7)]=0x271e]=_0xb5b8d0(0x1b7),_0xf10c0c[_0xf10c0c['YUUMI_AI_RUN_FAILED']=0x271f]=_0xb5b8d0(0x22b),_0xf10c0c[_0xf10c0c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x79)]=0x2af9]=_0xb5b8d0(0x79),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x173)]=0x2ee1]=_0xb5b8d0(0x173),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x16a)]=0x2ee2]=_0xb5b8d0(0x16a),_0xf10c0c[_0xf10c0c['INVITE_CODE_REQUIRED']=0x2ee3]=_0xb5b8d0(0xf9),_0xf10c0c[_0xf10c0c['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x103)]=0x2ee5]=_0xb5b8d0(0x103),_0xf10c0c[_0xf10c0c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb5b8d0(0x7f),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x8a)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xf10c0c[_0xf10c0c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xb5b8d0(0x1e3),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x212)]=-0x1]=_0xb5b8d0(0x212),_0xf10c0c))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x724d2a,_0xa44137,_0x561b74,_0x453c91)=>{const _0xb72662=_0xb5b8d0;for(var _0x2a5037=_0x453c91>0x1?void 0x0:_0x453c91?pn(_0xa44137,_0x561b74):_0xa44137,_0x4d4a89=_0x724d2a[_0xb72662(0xb1)]-0x1,_0x42110a;_0x4d4a89>=0x0;_0x4d4a89--)(_0x42110a=_0x724d2a[_0x4d4a89])&&(_0x2a5037=_0x42110a(_0x2a5037)||_0x2a5037);return _0x2a5037;},be=(_0x5dec59,_0x54436d)=>(_0x35f373,_0x34e3be)=>_0x54436d(_0x35f373,_0x34e3be,_0x5dec59);let nt=class extends _0x48907d{constructor(_0x40cc6a,_0x1aef92,_0x5a42ee){const _0x108523=_0xb5b8d0;super(),this[_0x108523(0x23b)]=_0x40cc6a,this[_0x108523(0x204)]=_0x1aef92,this['_configService']=_0x5a42ee;}async['runOnServer'](_0x9cef98,_0x4687df,_0x159118,..._0x1b7a10){const _0x1b49da=_0xb5b8d0;var _0xbf48c5,_0x3ef3dc,_0x41d377,_0x53f949;const _0x2b4442=this[_0x1b49da(0x23b)]['getFocusedUnit']();if(!_0x2b4442)throw new Error(_0x1b49da(0x195));const _0x31a648=((_0xbf48c5=this['_configService'][_0x1b49da(0x123)](_0x346584))!=null?_0xbf48c5:_0xf2b8ba)+'/'+_0x9cef98+'/run/'+_0x4687df,_0x59a14d=new URL(window['location']['href']),_0x47a503={'scriptId':_0x9cef98,'runId':(_0x3ef3dc=_0x59a14d[_0x1b49da(0xd0)][_0x1b49da(0x247)](_0x1b49da(0x133)))!=null?_0x3ef3dc:'','function':_0x4687df,'unitId':_0x2b4442['getUnitId'](),'argsOfFunction':JSON[_0x1b49da(0x18f)](_0x1b7a10),'invokeId':(_0x41d377=_0x159118[_0x1b49da(0x270)])!=null?_0x41d377:'','executionId':(_0x53f949=_0x159118['executionId'])!=null?_0x53f949:''};try{const _0x3c2366=await this[_0x1b49da(0x204)]['post'](_0x31a648,{'body':_0x47a503});return _0x3c2366['body'][_0x1b49da(0xf4)]&&_0x3c2366[_0x1b49da(0x1b5)][_0x1b49da(0xf4)][_0x1b49da(0x12c)]!==Lt['OK']?_0x1b49da(0x26d):_0x3c2366[_0x1b49da(0x1b5)]['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x58e3c0),be(0x1,_0x5ab208(_0x16ff0f)),be(0x2,_0xf5ee3b)],nt);const rt=0x7530,ot=_0xb5b8d0(0x183);class Fn extends _0x48907d{constructor(){const _0xe6922e=_0xb5b8d0;super(),_(this,_0xe6922e(0x22e),_0xd9bb20()),_(this,_0xe6922e(0x101),new Set()),_(this,_0xe6922e(0x157),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0xe6922e(0xc8),new Map()),this['_init']();}['dispose'](){const _0x1a4657=_0xb5b8d0;super[_0x1a4657(0xbc)](),this[_0x1a4657(0x259)][_0x1a4657(0x13e)]((_0x58c050,_0x1480a5)=>this[_0x1a4657(0x132)](_0x1480a5)),this[_0x1a4657(0x1e8)]&&window[_0x1a4657(0x271)](this[_0x1a4657(0x1e8)]);}[_0xb5b8d0(0x10d)](_0x1c9e45){const _0x11d656=_0xb5b8d0;return this[_0x11d656(0x1ad)](_0x1c9e45)['pipe'](_0x46d39e());}[_0xb5b8d0(0x215)](_0x52fc5e){const _0x4d9982=_0xb5b8d0;this['_selfUnitIDs']['size']===0x0&&this[_0x4d9982(0x1b4)](),this[_0x4d9982(0x101)]['add'](_0x52fc5e),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52fc5e],'isForwarded':!0x1});}[_0xb5b8d0(0x151)](_0x22c4ac){const _0x294f2b=_0xb5b8d0;this[_0x294f2b(0x101)][_0x294f2b(0x227)](_0x22c4ac),this[_0x294f2b(0x101)][_0x294f2b(0x1e5)]===0x0&&this[_0x294f2b(0x1e8)]&&window[_0x294f2b(0x271)](this[_0x294f2b(0x1e8)]);}[_0xb5b8d0(0x237)](){const _0x2f3b4=_0xb5b8d0;this[_0x2f3b4(0x221)](_0x3880d2(_0x54bb75(window,'storage')[_0x2f3b4(0x1b9)](_0x2bfb23=>{const _0x1e8598=_0x2f3b4;if(_0x2bfb23[_0x1e8598(0x1ab)]!==ot||!_0x2bfb23[_0x1e8598(0x143)])return;const _0xf59653=JSON[_0x1e8598(0x1db)](_0x2bfb23[_0x1e8598(0x143)]);this[_0x1e8598(0x98)](_0xf59653);}))),window[_0x2f3b4(0x17d)](_0x2f3b4(0x21a),()=>this['_send']({'type':0x1,'memberID':this[_0x2f3b4(0x22e)],'unitIDs':Array[_0x2f3b4(0x14c)](this['_selfUnitIDs'])}));}[_0xb5b8d0(0x98)](_0x517c64){const _0xef5939=_0xb5b8d0;switch(_0x517c64[_0xef5939(0x23a)]){case 0x0:this[_0xef5939(0x1df)](_0x517c64);break;case 0x1:this[_0xef5939(0x12b)](_0x517c64);break;case 0x2:this[_0xef5939(0x15f)](_0x517c64);break;}}[_0xb5b8d0(0x1df)](_0x2ce7ca){const _0x504e94=_0xb5b8d0,{unitIDs:_0x10400e,memberID:_0x46fc68,isForwarded:_0x89b794}=_0x2ce7ca;_0x10400e[_0x504e94(0x13e)](_0x31d95a=>{const _0x1fffba=_0x504e94;if(!_0x89b794&&this[_0x1fffba(0x157)][_0x1fffba(0x11c)](_0x31d95a)&&this[_0x1fffba(0x1ad)](_0x31d95a)[_0x1fffba(0x182)](_0x3dca56[_0x1fffba(0xca)]),!this['_unitOnClients'][_0x1fffba(0x11c)](_0x31d95a)||!this[_0x1fffba(0x157)][_0x1fffba(0x247)](_0x31d95a)[_0x1fffba(0x11c)](_0x46fc68)){const _0xa2a520=this[_0x1fffba(0x157)][_0x1fffba(0x247)](_0x31d95a)||new Set();_0xa2a520['add'](_0x46fc68),this[_0x1fffba(0x157)][_0x1fffba(0x161)](_0x31d95a,_0xa2a520),this[_0x1fffba(0xf3)](_0x46fc68);}}),_0x89b794||this[_0x504e94(0xb0)]({'type':0x0,'memberID':this[_0x504e94(0x22e)],'unitIDs':[...this[_0x504e94(0x101)]],'isForwarded':!0x0});}[_0xb5b8d0(0xf3)](_0x2ae3c0){const _0x12dfcf=_0xb5b8d0;this[_0x12dfcf(0x132)](_0x2ae3c0);const _0xd15df=window[_0x12dfcf(0x10b)](()=>{const _0x2af8ef=_0x12dfcf;this[_0x2af8ef(0x157)][_0x2af8ef(0x13e)](_0x1bd993=>{const _0x1dc48f=_0x2af8ef;_0x1bd993[_0x1dc48f(0x227)](_0x2ae3c0);});},rt*0x2);this[_0x12dfcf(0x259)]['set'](_0x2ae3c0,_0xd15df);}[_0xb5b8d0(0x132)](_0x2b121b){const _0x44765a=_0xb5b8d0;if(this['_clearOtherTimers'][_0x44765a(0x11c)](_0x2b121b)){const _0x2fbfe5=this[_0x44765a(0x259)][_0x44765a(0x247)](_0x2b121b);_0x2fbfe5&&window[_0x44765a(0x7e)](_0x2fbfe5),this[_0x44765a(0x259)][_0x44765a(0x161)](_0x2b121b,null);}}['_handleLeaveEvent'](_0x961117){const _0x7ca8ac=_0xb5b8d0,{memberID:_0x8f8086,unitIDs:_0x4c3cda}=_0x961117;_0x4c3cda[_0x7ca8ac(0x13e)](_0x1d80fb=>{const _0x479c23=_0x7ca8ac;var _0x382117;const _0x527d34=this[_0x479c23(0x157)][_0x479c23(0x247)](_0x1d80fb);_0x527d34&&(_0x527d34[_0x479c23(0x227)](_0x8f8086),(_0x382117=this[_0x479c23(0x1ad)](_0x1d80fb))==null||_0x382117['next'](_0x527d34[_0x479c23(0x1e5)]===0x0?_0x3dca56[_0x479c23(0x21f)]:_0x3dca56['OTHER_CLIENTS_EDITING']));}),this[_0x7ca8ac(0x132)](_0x8f8086);}[_0xb5b8d0(0x15f)](_0x55294d){const _0xd3103=_0xb5b8d0;this[_0xd3103(0xf3)](_0x55294d[_0xd3103(0x268)]);}[_0xb5b8d0(0xb0)](_0x5d4f5b){const _0x5c60d7=_0xb5b8d0;localStorage['setItem'](ot,JSON[_0x5c60d7(0x18f)](_0x5d4f5b));}[_0xb5b8d0(0x1b4)](){const _0x5f585d=_0xb5b8d0;this['_heartbeatTimer']=window[_0x5f585d(0x8e)](()=>{const _0x4899d3=_0x5f585d;this[_0x4899d3(0xb0)]({'type':0x2,'memberID':this[_0x4899d3(0x22e)]});},rt);}[_0xb5b8d0(0x1ad)](_0x51d8c9){const _0x28770a=_0xb5b8d0;return this[_0x28770a(0xc8)]['has'](_0x51d8c9)||this[_0x28770a(0xc8)][_0x28770a(0x161)](_0x51d8c9,new _0x5436fa(_0x3dca56[_0x28770a(0x21f)])),this[_0x28770a(0xc8)][_0x28770a(0x247)](_0x51d8c9);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x577a71=_0x161d;function _0x1d51(){const _0x45092c=['Collaboration\x20Conflict','Local\x20file','4531100LDwHBa','5324337jzUjcV','8lCxvSl','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','7vvNmhH','141016YsrCND','27lvuJMm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2495500JsWdGX','1URTCfa','2958612mdqFqy','Edit\x20conflicts','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10336238HJVyGz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1549224jBAyqf'];_0x1d51=function(){return _0x45092c;};return _0x1d51();}(function(_0x65dabf,_0x13cdbf){const _0x4cbefe=_0x161d,_0x5f8e91=_0x65dabf();while(!![]){try{const _0x3de2e3=-parseInt(_0x4cbefe(0x9c))/0x1*(parseInt(_0x4cbefe(0x8a))/0x2)+-parseInt(_0x4cbefe(0x99))/0x3*(parseInt(_0x4cbefe(0x98))/0x4)+parseInt(_0x4cbefe(0x8d))/0x5+-parseInt(_0x4cbefe(0x9d))/0x6*(parseInt(_0x4cbefe(0x97))/0x7)+parseInt(_0x4cbefe(0x8f))/0x8*(parseInt(_0x4cbefe(0x8e))/0x9)+-parseInt(_0x4cbefe(0x9b))/0xa+parseInt(_0x4cbefe(0xa1))/0xb;if(_0x3de2e3===_0x13cdbf)break;else _0x5f8e91['push'](_0x5f8e91['shift']());}catch(_0x2e3bdc){_0x5f8e91['push'](_0x5f8e91['shift']());}}}(_0x1d51,0x93329));const e={'collab-client':{'tooltip':{'reconnect':_0x577a71(0x92)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x577a71(0x9e),'notCollab':_0x577a71(0x8c),'synced':'Synced','syncing':_0x577a71(0x9f),'offline':_0x577a71(0x88)},'session':{'connection-failed':_0x577a71(0x95),'will-retry':_0x577a71(0x89),'room-full':_0x577a71(0x93),'collaboration-timeout':_0x577a71(0x94)},'conflict':{'title':_0x577a71(0x8b),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x577a71(0x90),'content':_0x577a71(0x91)},'collaboration':{'single-unit':{'warning':_0x577a71(0xa0)},'closeRoom':_0x577a71(0x96)},'auth':{'needGotoLoginAlert':_0x577a71(0x9a)}},o=e;function _0x161d(_0x133338,_0x1017d2){const _0x1d51f9=_0x1d51();return _0x161d=function(_0x161d59,_0x1b0801){_0x161d59=_0x161d59-0x88;let _0x2794a7=_0x1d51f9[_0x161d59];return _0x2794a7;},_0x161d(_0x133338,_0x1017d2);}export{o as default};
1
+ function _0x42a4(_0x43ecbc,_0x5971ae){const _0x37ea82=_0x37ea();return _0x42a4=function(_0x42a4a1,_0x113687){_0x42a4a1=_0x42a4a1-0x129;let _0x239f5e=_0x37ea82[_0x42a4a1];return _0x239f5e;},_0x42a4(_0x43ecbc,_0x5971ae);}const _0x3d0534=_0x42a4;function _0x37ea(){const _0x15495e=['3940ONyOeo','1269693Ovrexb','7UyaCMu','Edit\x20conflicts','Syncing...','Local\x20file','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','1530954bmEHns','Synced','2639288taJuDm','23419pTznyI','66hrgyvY','Collaboration\x20Conflict','85520AWVRgV','4010qQqIOd','40RFKMxt','Authentication\x20Error','143130gjzZRQ'];_0x37ea=function(){return _0x15495e;};return _0x37ea();}(function(_0x219d86,_0x599fe3){const _0x4eb893=_0x42a4,_0x1cab7c=_0x219d86();while(!![]){try{const _0x5d8360=parseInt(_0x4eb893(0x139))/0x1+parseInt(_0x4eb893(0x136))/0x2*(parseInt(_0x4eb893(0x133))/0x3)+-parseInt(_0x4eb893(0x135))/0x4*(-parseInt(_0x4eb893(0x137))/0x5)+parseInt(_0x4eb893(0x12f))/0x6+parseInt(_0x4eb893(0x13c))/0x7*(parseInt(_0x4eb893(0x131))/0x8)+parseInt(_0x4eb893(0x13b))/0x9+-parseInt(_0x4eb893(0x13a))/0xa*(parseInt(_0x4eb893(0x132))/0xb);if(_0x5d8360===_0x599fe3)break;else _0x1cab7c['push'](_0x1cab7c['shift']());}catch(_0xfe72fe){_0x1cab7c['push'](_0x1cab7c['shift']());}}}(_0x37ea,0x3bf61));const e={'collab-client':{'tooltip':{'reconnect':_0x3d0534(0x12a)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3d0534(0x13d),'notCollab':_0x3d0534(0x129),'synced':_0x3d0534(0x130),'syncing':_0x3d0534(0x13e),'offline':_0x3d0534(0x12c)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3d0534(0x12d)},'conflict':{'title':_0x3d0534(0x134),'content':_0x3d0534(0x12e)},'permission':{'title':_0x3d0534(0x138),'content':_0x3d0534(0x12b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- function _0x222f(_0x2352d7,_0x5afac3){const _0x432606=_0x4326();return _0x222f=function(_0x222fd9,_0x67fe3f){_0x222fd9=_0x222fd9-0x167;let _0x842973=_0x432606[_0x222fd9];return _0x842973;},_0x222f(_0x2352d7,_0x5afac3);}const _0xde5623=_0x222f;(function(_0x84f15,_0x1996a0){const _0x11369e=_0x222f,_0x4488a7=_0x84f15();while(!![]){try{const _0x1f175f=parseInt(_0x11369e(0x17d))/0x1+parseInt(_0x11369e(0x16e))/0x2+-parseInt(_0x11369e(0x17b))/0x3*(parseInt(_0x11369e(0x171))/0x4)+parseInt(_0x11369e(0x16b))/0x5*(-parseInt(_0x11369e(0x169))/0x6)+parseInt(_0x11369e(0x178))/0x7+parseInt(_0x11369e(0x177))/0x8+-parseInt(_0x11369e(0x174))/0x9;if(_0x1f175f===_0x1996a0)break;else _0x4488a7['push'](_0x4488a7['shift']());}catch(_0x41ffb3){_0x4488a7['push'](_0x4488a7['shift']());}}}(_0x4326,0x579a9));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xde5623(0x168),'conflict':_0xde5623(0x17a),'notCollab':'Local\x20file','synced':_0xde5623(0x16a),'syncing':'Syncing...','offline':_0xde5623(0x173)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xde5623(0x16f),'room-full':_0xde5623(0x16d),'collaboration-timeout':_0xde5623(0x16c)},'conflict':{'title':_0xde5623(0x179),'content':_0xde5623(0x170)},'permission':{'title':_0xde5623(0x176),'content':_0xde5623(0x172)},'collaboration':{'single-unit':{'warning':_0xde5623(0x167)},'closeRoom':_0xde5623(0x17c)},'auth':{'needGotoLoginAlert':_0xde5623(0x175)}};function _0x4326(){const _0x385cdc=['72535lvYCuG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1191938jWkgGL','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','1847468NXiMqc','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','9396945ScDbHB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','4156352kLJafw','4857314uMcmDe','Collaboration\x20Conflict','Edit\x20conflicts','3SyYnJj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','650169KXewsH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','246QfXMhI','Synced'];_0x4326=function(){return _0x385cdc;};return _0x4326();}export{e as default};
1
+ const _0x51327f=_0x29ba;function _0x29ba(_0x55f545,_0x44ef5b){const _0x42154f=_0x4215();return _0x29ba=function(_0x29ba9a,_0x189a6b){_0x29ba9a=_0x29ba9a-0x1f4;let _0x168852=_0x42154f[_0x29ba9a];return _0x168852;},_0x29ba(_0x55f545,_0x44ef5b);}(function(_0x24fdac,_0x295d49){const _0x16c0ec=_0x29ba,_0x262084=_0x24fdac();while(!![]){try{const _0x35d881=-parseInt(_0x16c0ec(0x209))/0x1+-parseInt(_0x16c0ec(0x1fd))/0x2+parseInt(_0x16c0ec(0x1ff))/0x3+parseInt(_0x16c0ec(0x1f8))/0x4+-parseInt(_0x16c0ec(0x205))/0x5*(parseInt(_0x16c0ec(0x206))/0x6)+parseInt(_0x16c0ec(0x204))/0x7+parseInt(_0x16c0ec(0x203))/0x8;if(_0x35d881===_0x295d49)break;else _0x262084['push'](_0x262084['shift']());}catch(_0x6ef4f8){_0x262084['push'](_0x262084['shift']());}}}(_0x4215,0x414db));function _0x4215(){const _0x300786=['805nuqWTb','11844rHYrgL','Authentication\x20Error','Click\x20to\x20Reconnect','508942Opucst','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','1414320pCEYJR','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','64638RQCPzE','Collaboration\x20Conflict','1240707bfycpm','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','1192824Plcrwq','1472142umBrWL'];_0x4215=function(){return _0x300786;};return _0x4215();}const e={'collab-client':{'tooltip':{'reconnect':_0x51327f(0x208)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x51327f(0x202),'syncing':_0x51327f(0x1f7),'offline':_0x51327f(0x1f5)},'session':{'connection-failed':_0x51327f(0x1fb),'will-retry':_0x51327f(0x1f4),'room-full':_0x51327f(0x1f6),'collaboration-timeout':_0x51327f(0x1fc)},'conflict':{'title':_0x51327f(0x1fe),'content':_0x51327f(0x1f9)},'permission':{'title':_0x51327f(0x207),'content':_0x51327f(0x201)},'collaboration':{'single-unit':{'warning':_0x51327f(0x1fa)},'closeRoom':_0x51327f(0x200)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};