@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060724

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 +15 -15
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x514347=_0x35fb;(function(_0xeae832,_0x173efa){const _0x532538=_0x35fb,_0x1a8fbf=_0xeae832();while(!![]){try{const _0x46d369=-parseInt(_0x532538(0x2a4))/0x1*(-parseInt(_0x532538(0x2f6))/0x2)+parseInt(_0x532538(0x372))/0x3+parseInt(_0x532538(0x1b8))/0x4+parseInt(_0x532538(0x2e0))/0x5+parseInt(_0x532538(0x294))/0x6*(parseInt(_0x532538(0x204))/0x7)+-parseInt(_0x532538(0x309))/0x8+parseInt(_0x532538(0x2b0))/0x9*(-parseInt(_0x532538(0x25d))/0xa);if(_0x46d369===_0x173efa)break;else _0x1a8fbf['push'](_0x1a8fbf['shift']());}catch(_0x373e55){_0x1a8fbf['push'](_0x1a8fbf['shift']());}}}(_0x434e,0x25b35));var xt=Object[_0x514347(0x348)],Bt=(_0x2113ad,_0x17d3c0,_0x3cab4c)=>_0x17d3c0 in _0x2113ad?xt(_0x2113ad,_0x17d3c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cab4c}):_0x2113ad[_0x17d3c0]=_0x3cab4c,_=(_0x10ffdc,_0x47115b,_0x1eccf8)=>Bt(_0x10ffdc,typeof _0x47115b!=_0x514347(0x2d8)?_0x47115b+'':_0x47115b,_0x1eccf8);import{jsx as _0x241ebd,jsxs as _0x2e3114}from'react/jsx-runtime';import{CollaborationStatus as _0x7e6acb,CollaborationSessionService as _0x228e1a,CollaborationController as _0x4755ac,DataLoaderService as _0x35603b,MemberService as _0x22285b,SessionStatus as _0x3bf1d3,ILocalCacheService as _0x3ff8d0,CollaborationUIEventService as _0x2c15d7,CollaborationUIEventId as _0x1b6ac4,DocCollaborationEntity as _0x1abf4f,getLocalCacheKey as _0x4c201a,LOCAL_CACHE_INTERVAL as _0x2ea309,LOCAL_CACHE_INTERVAL_KEY as _0x5e3c4a,UniverCollaborationClientPlugin as _0x3500cc,CollaborationSocketService as _0x171668,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x478aeb,DEFAULT_WS_SESSION_TICKET_URL as _0xe45bc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2c641c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x29344e,UnitStatus as _0x391b6b}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x3b8afc,IUniverInstanceService as _0x2ec70f,Inject as _0x199102,Injector as _0x5d1904,Disposable as _0x6ab83e,createIdentifier as _0x22e32a,ILogService as _0x486f03,ICommandService as _0x4aa35c,Optional as _0x48c07a,RxDisposable as _0x5941cc,Workbook as _0x6c7551,DOC_RANGE_TYPE as _0xdb047a,debounce as _0x445839,Rectangle as _0x503653,DisposableCollection as _0x50ae4a,toDisposable as _0xe19ae0,UniverInstanceType as _0x50b062,generateRandomId as _0x5b1fc8,COLORS as _0xa2a834,ColorKit as _0x3dcd36,ThemeService as _0x26ae7b,fromEventSubject as _0x351fdd,Tools as _0x5cbd6f,CommandType as _0x48577c,IConfigService as _0xf9f7e9,ILocalStorageService as _0x3edc7c,DependentOn as _0x22f470,Plugin as _0x466099,merge as _0x4798ee,registerDependencies as _0x314f5a,mergeOverrideWithDependencies as _0x31d61b,touchDependencies as _0xba5b39}from'@univerjs/core';import{useObservable as _0x45ee4d,useDependency as _0xdaf22b,IUIPartsService as _0x5d1cd3,BuiltInUIPart as _0xa65074,connectInjector as _0x4a0881,IBeforeCloseService as _0x4b1f08,IMessageService as _0x109eea,INotificationService as _0x293e66}from'@univerjs/ui';import{BehaviorSubject as _0x59c4e2,switchMap as _0x5a40db,of as _0x1b6305,takeUntil as _0x2a9ca9,debounceTime as _0x4aee69,Subject as _0x1cd852,filter as _0x479930,merge as _0x1aaa82,combineLatest as _0x4488ec,fromEvent as _0xd74d5e,shareReplay as _0x4d209a,mapTo as _0x362984,distinctUntilChanged as _0x450ef9}from'rxjs';import{Tooltip as _0x5d4720,clsx as _0x4378ff,MessageType as _0x4f1e2f}from'@univerjs/design';import{forwardRef as _0x2d95dd,useRef as _0x5c6741,createElement as _0x475a59,useCallback as _0xd11756}from'react';import{IRemoteInstanceService as _0x52f403}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x312fec,RefRangeService as _0x281dd2,SetSelectionsOperation as _0x6be0d3,SheetsSelectionsService as _0x287ba4,EffectRefRangId as _0xaf06b7,handleIRemoveRow as _0x452a56,handleIRemoveCol as _0x2ba05e,handleMoveRange as _0x26f0df,handleInsertRow as _0x22be95,handleInsertRangeMoveRight as _0x59b37f,handleInsertRangeMoveDown as _0x893dc6,handleInsertCol as _0x5195a7,handleDeleteRangeMoveUp as _0x440073,handleDeleteRangeMoveLeft as _0x13f0f1,runRefRangeMutations as _0x433c69}from'@univerjs/sheets';import{Shape as _0x2682e9,Rect as _0x5e8da8,getColor as _0x49efb5,RegularPolygon as _0x5c8d28,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3e91fc,Vector2 as _0x1f58d4,SHEET_VIEWPORT_KEY as _0x25adba,IRenderManagerService as _0x253730}from'@univerjs/engine-render';import{ISocketService as _0x25eca7,WebSocketService as _0x44a48c,HTTPService as _0x327d2c}from'@univerjs/network';import{IDocClipboardService as _0x3033e1,NodePositionConvertToCursor as _0x1f4925,NodePositionConvertToRectRange as _0x407b5b,TEXT_RANGE_LAYER_INDEX as _0x5256d3,SetDocZoomRatioOperation as _0x3aeea9,DocIMEInputManagerService as _0x5a8ec3,DocStateChangeManagerService as _0x453065}from'@univerjs/docs-ui';import{IImageIoService as _0x39a295}from'@univerjs/drawing';import{ITransformService as _0x46ccb6,CollaborationEvent as _0x46fd0c,isTransformMutationFailure as _0x182c42,isTransformMutationsWithChangesetSuccess as _0xd59276,RevisionService as _0x20fce4,ISnapshotServerService as _0x2f32c1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4cdb54,RichTextEditingMutation as _0x6d60ad,DocSelectionManagerService as _0x563f76,DocSkeletonManagerService as _0x12095e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2eff64,serializeRangeWithSheet as _0x40f921}from'@univerjs/engine-formula';import{map as _0x118565,filter as _0x518d2c,throttleTime as _0x5956fc,takeUntil as _0x46e1fd,switchMap as _0x46a48d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2909e7,getCoordByCell as _0x5d9dd9,getSheetObject as _0x3e1e6c}from'@univerjs/sheets-ui';var v=function(){const _0x524bb8=_0x514347;return v=Object[_0x524bb8(0x307)]||function(_0x28c6a1){const _0x2e533e=_0x524bb8;for(var _0x3c0c3f,_0x2159e6=0x1,_0x5da988=arguments[_0x2e533e(0x374)];_0x2159e6<_0x5da988;_0x2159e6++){_0x3c0c3f=arguments[_0x2159e6];for(var _0x51dfb0 in _0x3c0c3f)Object['prototype'][_0x2e533e(0x19a)]['call'](_0x3c0c3f,_0x51dfb0)&&(_0x28c6a1[_0x51dfb0]=_0x3c0c3f[_0x51dfb0]);}return _0x28c6a1;},v[_0x524bb8(0x1f9)](this,arguments);},ci=function(_0x41fc2a,_0x5cc52c){const _0x262ac8=_0x514347;var _0x44885d={};for(var _0x257222 in _0x41fc2a)Object[_0x262ac8(0x261)][_0x262ac8(0x19a)][_0x262ac8(0x24e)](_0x41fc2a,_0x257222)&&_0x5cc52c['indexOf'](_0x257222)<0x0&&(_0x44885d[_0x257222]=_0x41fc2a[_0x257222]);if(_0x41fc2a!=null&&typeof Object[_0x262ac8(0x2c2)]==_0x262ac8(0x2cb)){for(var _0x1934ac=0x0,_0x257222=Object[_0x262ac8(0x2c2)](_0x41fc2a);_0x1934ac<_0x257222[_0x262ac8(0x374)];_0x1934ac++)_0x5cc52c['indexOf'](_0x257222[_0x1934ac])<0x0&&Object['prototype'][_0x262ac8(0x315)][_0x262ac8(0x24e)](_0x41fc2a,_0x257222[_0x1934ac])&&(_0x44885d[_0x257222[_0x1934ac]]=_0x41fc2a[_0x257222[_0x1934ac]]);}return _0x44885d;},ke=_0x2d95dd(function(_0x2d93a2,_0x26937f){const _0x126ad2=_0x514347;var _0x4186f9=_0x2d93a2['icon'],_0x18b089=_0x2d93a2['id'],_0x45dd95=_0x2d93a2[_0x126ad2(0x251)],_0x4969ac=_0x2d93a2[_0x126ad2(0x362)],_0x4e9535=ci(_0x2d93a2,[_0x126ad2(0x1c7),'id',_0x126ad2(0x251),_0x126ad2(0x362)]),_0xf9d758=_0x126ad2(0x2fb)[_0x126ad2(0x35b)](_0x18b089,'\x20')[_0x126ad2(0x35b)](_0x45dd95||'')[_0x126ad2(0x2f0)](),_0xc392a1=_0x5c6741('_'[_0x126ad2(0x35b)](hi()));return Rt(_0x4186f9,''[_0x126ad2(0x35b)](_0x18b089),{'defIds':_0x4186f9[_0x126ad2(0x19e)],'idSuffix':_0xc392a1['current']},v({'ref':_0x26937f,'className':_0xf9d758},_0x4e9535),_0x4969ac);});function Rt(_0x3f6603,_0x30654a,_0x3dd06a,_0x1f4b1f,_0x58706d){const _0x1a02fa=_0x514347;return _0x475a59(_0x3f6603[_0x1a02fa(0x310)],v(v({'key':_0x30654a},li(_0x3f6603,_0x3dd06a,_0x58706d)),_0x1f4b1f),(_i(_0x3f6603,_0x3dd06a)['children']||[])[_0x1a02fa(0x27f)](function(_0x1ff9bd,_0x669cf2){const _0x289f29=_0x1a02fa;return Rt(_0x1ff9bd,''[_0x289f29(0x35b)](_0x30654a,'-')[_0x289f29(0x35b)](_0x3f6603[_0x289f29(0x310)],'-')[_0x289f29(0x35b)](_0x669cf2),_0x3dd06a,void 0x0,_0x58706d);}));}function li(_0x457da2,_0x1b5db3,_0x3af6ce){const _0x325908=_0x514347;var _0x16cc1b=v({},_0x457da2['attrs']);_0x3af6ce!=null&&_0x3af6ce[_0x325908(0x1b5)]&&_0x16cc1b[_0x325908(0x28c)]===_0x325908(0x1b5)&&(_0x16cc1b['fill']=_0x3af6ce[_0x325908(0x1b5)]),_0x457da2[_0x325908(0x310)]===_0x325908(0x340)&&_0x16cc1b['id']&&(_0x16cc1b['id']=_0x16cc1b['id']+_0x1b5db3[_0x325908(0x2ec)]),Object[_0x325908(0x1dd)](_0x16cc1b)[_0x325908(0x2fa)](function(_0x4d5896){const _0x4b164a=_0x325908;var _0x3e552f=_0x4d5896[0x0],_0x587ebb=_0x4d5896[0x1];_0x3e552f===_0x4b164a(0x340)&&typeof _0x587ebb==_0x4b164a(0x2fc)&&(_0x16cc1b[_0x3e552f]=_0x587ebb['replace'](/url\(#(.*)\)/,_0x4b164a(0x34b)[_0x4b164a(0x35b)](_0x1b5db3[_0x4b164a(0x2ec)],')')));});var _0x100bd4=_0x1b5db3[_0x325908(0x19e)];return!_0x100bd4||_0x100bd4[_0x325908(0x374)]===0x0||(_0x457da2[_0x325908(0x310)]==='use'&&_0x16cc1b[_0x325908(0x1e6)]&&(_0x16cc1b['xlink:href']=_0x16cc1b['xlink:href']+_0x1b5db3[_0x325908(0x2ec)]),Object[_0x325908(0x1dd)](_0x16cc1b)[_0x325908(0x2fa)](function(_0x50e39c){const _0x28daa6=_0x325908;var _0x365c7f=_0x50e39c[0x0],_0xcacfd9=_0x50e39c[0x1];typeof _0xcacfd9==_0x28daa6(0x2fc)&&(_0x16cc1b[_0x365c7f]=_0xcacfd9[_0x28daa6(0x21b)](/url\(#(.*)\)/,'url(#$1'[_0x28daa6(0x35b)](_0x1b5db3[_0x28daa6(0x2ec)],')')));})),_0x16cc1b;}function _i(_0x3b4195,_0x231e9a){const _0x3afbbd=_0x514347;var _0x124362,_0x8ea9fb=_0x231e9a[_0x3afbbd(0x19e)];return!_0x8ea9fb||_0x8ea9fb[_0x3afbbd(0x374)]===0x0?_0x3b4195:_0x3b4195[_0x3afbbd(0x310)]==='defs'&&(!((_0x124362=_0x3b4195[_0x3afbbd(0x291)])===null||_0x124362===void 0x0)&&_0x124362[_0x3afbbd(0x374)])?v(v({},_0x3b4195),{'children':_0x3b4195[_0x3afbbd(0x291)][_0x3afbbd(0x27f)](function(_0x144db8){const _0x501a04=_0x3afbbd;return typeof _0x144db8[_0x501a04(0x1a3)]['id']==_0x501a04(0x2fc)&&_0x8ea9fb&&_0x8ea9fb[_0x501a04(0x257)](_0x144db8['attrs']['id'])?v(v({},_0x144db8),{'attrs':v(v({},_0x144db8[_0x501a04(0x1a3)]),{'id':_0x144db8[_0x501a04(0x1a3)]['id']+_0x231e9a[_0x501a04(0x2ec)]})}):_0x144db8;})}):_0x3b4195;}function hi(){const _0x454e23=_0x514347;return Math[_0x454e23(0x186)]()['toString'](0x24)[_0x454e23(0x335)](0x2,0x8);}ke['displayName']=_0x514347(0x2b4);var ui={'tag':_0x514347(0x2cd),'attrs':{'xmlns':_0x514347(0x338),'fill':_0x514347(0x2d0),'viewBox':_0x514347(0x2d4),'width':_0x514347(0x32a),'height':_0x514347(0x32a)},'children':[{'tag':'g','attrs':{'clipPath':_0x514347(0x2f7)},'children':[{'tag':'path','attrs':{'stroke':_0x514347(0x377),'d':_0x514347(0x33b),'strokeLinecap':_0x514347(0x296),'strokeLinejoin':_0x514347(0x296),'strokeWidth':1.2}}]},{'tag':_0x514347(0x242),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x514347(0x27d)},'children':[{'tag':_0x514347(0x361),'attrs':{'fill':'white','d':_0x514347(0x32b)}}]}]}],'defIds':[_0x514347(0x27d)]},Dt=_0x2d95dd(function(_0x3af98b,_0x5d5442){const _0xf98757=_0x514347;return _0x475a59(ke,Object[_0xf98757(0x307)]({},_0x3af98b,{'id':'off-line-icon','ref':_0x5d5442,'icon':ui}));});Dt[_0x514347(0x19f)]='OffLineIcon';var di={'tag':_0x514347(0x2cd),'attrs':{'xmlns':_0x514347(0x338),'fill':_0x514347(0x2d0),'viewBox':_0x514347(0x252),'width':_0x514347(0x32a),'height':_0x514347(0x32a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x514347(0x361),'attrs':{'stroke':_0x514347(0x377),'d':_0x514347(0x249),'strokeLinecap':_0x514347(0x296),'strokeLinejoin':_0x514347(0x296),'strokeWidth':1.2}}]},{'tag':_0x514347(0x242),'attrs':{},'children':[{'tag':_0x514347(0x182),'attrs':{'id':_0x514347(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x514347(0x1a1),'d':_0x514347(0x32b),'transform':_0x514347(0x1cf)}}]}]}],'defIds':[_0x514347(0x23c)]},Nt=_0x2d95dd(function(_0x356ba7,_0x429797){const _0x460ba7=_0x514347;return _0x475a59(ke,Object[_0x460ba7(0x307)]({},_0x356ba7,{'id':_0x460ba7(0x300),'ref':_0x429797,'icon':di}));});Nt[_0x514347(0x19f)]='OnLineIcon';function fi(_0x566e58){const _0x37464e=_0x514347;switch(_0x566e58){case _0x7e6acb[_0x37464e(0x2a2)]:return _0x37464e(0x2b7);case _0x7e6acb[_0x37464e(0x1d2)]:return _0x37464e(0x201);case _0x7e6acb['FETCH_MISS']:return _0x37464e(0x27c);case _0x7e6acb[_0x37464e(0x337)]:return _0x37464e(0x26c);case _0x7e6acb[_0x37464e(0x260)]:case _0x7e6acb[_0x37464e(0x1f1)]:return _0x37464e(0x2dd);case _0x7e6acb[_0x37464e(0x364)]:case _0x7e6acb[_0x37464e(0x287)]:return _0x37464e(0x22e);}}function Si(_0x173df7){const _0x14a429=_0x514347,{status$:_0x3fbad0}=_0x173df7,_0xfb7cfb=_0x45ee4d(_0x3fbad0,_0x7e6acb[_0x14a429(0x337)]),_0x187ca2=_0xdaf22b(_0x3b8afc),_0x4b77e0=_0xdaf22b(_0x228e1a),_0x322c5a=_0xfb7cfb!==_0x7e6acb[_0x14a429(0x2a2)],_0x26de4f=_0x187ca2['t'](fi(_0xfb7cfb)),_0x11e4cd=_0x322c5a?_0x241ebd(Nt,{}):_0x241ebd(Dt,{}),_0x85bd7c=_0xd11756(()=>{const _0x20f6f0=_0x14a429;_0x322c5a||_0x4b77e0[_0x20f6f0(0x2c0)]();},[_0x322c5a,_0x4b77e0]);function _0x39cbc9(){const _0x5309d6=_0x14a429;return _0x2e3114(_0x5309d6(0x2af),{'className':_0x5309d6(0x1c4),'onClick':_0x85bd7c,'children':[_0x241ebd(_0x5309d6(0x2af),{'className':_0x4378ff(_0x5309d6(0x359),{'univer-text-green-500':_0x322c5a,'univer-text-red-500':!_0x322c5a}),'children':_0x11e4cd}),_0x241ebd(_0x5309d6(0x2af),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x26de4f})]});}return _0x322c5a?_0x39cbc9():_0x241ebd(_0x5d4720,{'title':_0x187ca2['t'](_0x14a429(0x1a4)),'children':_0x39cbc9()});}var mi=Object[_0x514347(0x190)],Ii=(_0x1d4fe9,_0x5b96d7,_0x54b5f6,_0x402c18)=>{for(var _0x4b0104=_0x402c18>0x1?void 0x0:_0x402c18?mi(_0x5b96d7,_0x54b5f6):_0x5b96d7,_0x31be76=_0x1d4fe9['length']-0x1,_0x19a45f;_0x31be76>=0x0;_0x31be76--)(_0x19a45f=_0x1d4fe9[_0x31be76])&&(_0x4b0104=_0x19a45f(_0x4b0104)||_0x4b0104);return _0x4b0104;},q=(_0x172a22,_0x2c1fad)=>(_0x497efb,_0xea7efb)=>_0x2c1fad(_0x497efb,_0xea7efb,_0x172a22);let se=class extends _0x6ab83e{constructor(_0x17be61,_0x4d5533,_0x427844,_0x2ad9c2){const _0x54e902=_0x514347;super(),_(this,'_status$',new _0x59c4e2(_0x7e6acb[_0x54e902(0x337)])),(this['_univerInstanceService']=_0x17be61,this['_injector']=_0x4d5533,this[_0x54e902(0x1f8)]=_0x427844,this[_0x54e902(0x286)]=_0x2ad9c2,this[_0x54e902(0x2d6)](),this['_initStatusListener']());}[_0x514347(0x37a)](){const _0x1c4c0a=_0x514347;this['disposeWithMe'](this[_0x1c4c0a(0x25b)][_0x1c4c0a(0x1fc)][_0x1c4c0a(0x27a)](_0x5a40db(()=>{const _0x53a754=_0x1c4c0a,_0x1b5f5e=this[_0x53a754(0x25b)][_0x53a754(0x20f)]();return _0x1b5f5e?this[_0x53a754(0x1f8)]['getCollabEntity$'](_0x1b5f5e[_0x53a754(0x37d)]()):_0x1b6305(null);}),_0x5a40db(_0xb849d8=>_0xb849d8?_0xb849d8[_0x1c4c0a(0x18d)]:_0x1b6305(_0x7e6acb[_0x1c4c0a(0x337)])))[_0x1c4c0a(0x2f5)](_0x476526=>{const _0x3b60f8=_0x1c4c0a;this[_0x3b60f8(0x199)][_0x3b60f8(0x376)](_0x476526);}));}[_0x514347(0x2d6)](){const _0x15a5e2=_0x514347;this[_0x15a5e2(0x266)](this['_uiPartsService'][_0x15a5e2(0x2b8)](_0xa65074[_0x15a5e2(0x30c)],()=>_0x4a0881(vi({'status$':this[_0x15a5e2(0x199)]['asObservable']()}),this[_0x15a5e2(0x1d4)])));}};se=Ii([q(0x0,_0x2ec70f),q(0x1,_0x199102(_0x5d1904)),q(0x2,_0x199102(_0x4755ac)),q(0x3,_0x5d1cd3)],se);function vi(_0x1b521d){const {status$:_0xc623d2}=_0x1b521d;return function(){return _0x241ebd(Si,{'status$':_0xc623d2});};}const Ut=_0x22e32a('uni.network.url-service');var gi=Object[_0x514347(0x190)],pi=(_0xb75e77,_0x7a2189,_0x217744,_0x58cdfc)=>{const _0x1b908d=_0x514347;for(var _0x5edd79=_0x58cdfc>0x1?void 0x0:_0x58cdfc?gi(_0x7a2189,_0x217744):_0x7a2189,_0x2c4fee=_0xb75e77[_0x1b908d(0x374)]-0x1,_0x2befa1;_0x2c4fee>=0x0;_0x2c4fee--)(_0x2befa1=_0xb75e77[_0x2c4fee])&&(_0x5edd79=_0x2befa1(_0x5edd79)||_0x5edd79);return _0x5edd79;},G=(_0x191a53,_0x1cbc62)=>(_0x2adb0a,_0xf7871f)=>_0x1cbc62(_0x2adb0a,_0xf7871f,_0x191a53);let ie=class extends _0x5941cc{constructor(_0x3d557d,_0xc1510f,_0x11ef4a,_0x39b2c2,_0x2f6e33){const _0x598991=_0x514347;super(),this[_0x598991(0x331)]=_0x3d557d,this['_logService']=_0xc1510f,this[_0x598991(0x2f9)]=_0x11ef4a,this[_0x598991(0x334)]=_0x39b2c2,_0x2f6e33?_0x2f6e33==null||_0x2f6e33['whenReady']()[_0x598991(0x2e5)](()=>this[_0x598991(0x2a6)]()):(this[_0x598991(0x342)][_0x598991(0x2eb)](_0x598991(0x285),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x598991(0x2a6)]());}async['_init'](){const _0x2c9556=_0x514347,_0x3b5d78=this['_urlService'][_0x2c9556(0x1f0)]('unit'),_0x5c0b51=this[_0x2c9556(0x331)]['getParam']('type'),_0x50295e=this[_0x2c9556(0x331)]['getParam'](_0x2c9556(0x2b6));if(!_0x3b5d78||!_0x5c0b51){this[_0x2c9556(0x342)]['debug']('[CollaborationDataLoaderController]',_0x2c9556(0x298));return;}const _0x68f55e=await this['_dataLoaderService']['loadUnit'](_0x3b5d78,Number(_0x5c0b51),_0x50295e);_0x68f55e&&_0x68f55e instanceof _0x6c7551&&this['_setupSubUnitSync'](_0x68f55e);}async[_0x514347(0x304)](_0x1a7bb0){const _0x18c642=_0x514347;await this[_0x18c642(0x2fe)](_0x1a7bb0),_0x1a7bb0[_0x18c642(0x200)]['pipe'](_0x2a9ca9(this['dispose$']))[_0x18c642(0x2f5)](_0xe32cb5=>{_0xe32cb5&&this['_updateURLWithCurrentState'](_0xe32cb5);}),this['_urlService'][_0x18c642(0x26e)][_0x18c642(0x27a)](_0x2a9ca9(this['dispose$']))[_0x18c642(0x2f5)](()=>this[_0x18c642(0x2fe)](_0x1a7bb0));}['_updateURLWithCurrentState'](_0x2f1596,_0x540a75=!0x1){const _0x1a8160=_0x514347,_0x563798=this['_urlService'][_0x1a8160(0x1f0)](_0x1a8160(0x2b6));_0x2f1596['getSheetId']()!==_0x563798&&this[_0x1a8160(0x331)][_0x1a8160(0x293)](_0x1a8160(0x2b6),_0x2f1596[_0x1a8160(0x2aa)](),_0x540a75);}async[_0x514347(0x2fe)](_0x2789ee){const _0x3b3613=_0x514347;var _0x2ddbe5;const _0xb838dc=this[_0x3b3613(0x331)][_0x3b3613(0x1f0)](_0x3b3613(0x2b6));if(!_0xb838dc||!_0x2789ee[_0x3b3613(0x2db)](_0xb838dc)){const _0x2a3cb8=_0x2789ee[_0x3b3613(0x28a)]()[0x0],_0x5ba935=_0x2789ee[_0x3b3613(0x2db)](_0x2a3cb8);if(!_0x5ba935)return;this[_0x3b3613(0x1c3)](_0x5ba935,!0x0),await this[_0x3b3613(0x2f9)]['executeCommand'](_0x312fec['id'],{'unitId':_0x2789ee[_0x3b3613(0x37d)](),'subUnitId':_0x2a3cb8});return;}((_0x2ddbe5=_0x2789ee[_0x3b3613(0x35f)]())==null?void 0x0:_0x2ddbe5[_0x3b3613(0x2aa)]())!==_0xb838dc&&await this[_0x3b3613(0x2f9)][_0x3b3613(0x31f)](_0x312fec['id'],{'unitId':_0x2789ee[_0x3b3613(0x37d)](),'subUnitId':_0xb838dc});}};ie=pi([G(0x0,Ut),G(0x1,_0x486f03),G(0x2,_0x4aa35c),G(0x3,_0x199102(_0x35603b)),G(0x4,_0x48c07a(_0x52f403))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x21a039,_0x47b89c,_0x47c850,_0x742be)=>{const _0x1a774c=_0x514347;for(var _0x33b93b=_0x742be>0x1?void 0x0:_0x742be?Ci(_0x47b89c,_0x47c850):_0x47b89c,_0x338eac=_0x21a039[_0x1a774c(0x374)]-0x1,_0x130b93;_0x338eac>=0x0;_0x338eac--)(_0x130b93=_0x21a039[_0x338eac])&&(_0x33b93b=_0x130b93(_0x33b93b)||_0x33b93b);return _0x33b93b;},Je=(_0x4e4413,_0x133a07)=>(_0x1c595f,_0x829466)=>_0x133a07(_0x1c595f,_0x829466,_0x4e4413);let Ne=class extends _0x5941cc{constructor(_0x3ee44e,_0x50977b){const _0x435e35=_0x514347;super(),this[_0x435e35(0x241)]=_0x3ee44e,this['_imageIoService']=_0x50977b,this['_init']();}['_init'](){const _0x132fdb=_0x514347,_0x43af43=this;this[_0x132fdb(0x266)](this['_docClipboardService'][_0x132fdb(0x282)]({'onBeforePasteImage':async _0x5be459=>{const _0x3450aa=_0x132fdb,_0x4da9b5=await _0x43af43[_0x3450aa(0x352)][_0x3450aa(0x1b9)](_0x5be459);return _0x4da9b5?{'source':_0x4da9b5[_0x3450aa(0x2dc)],'imageSourceType':_0x4da9b5[_0x3450aa(0x292)]}:null;}}));}};Ne=Ei([Je(0x0,_0x3033e1),Je(0x1,_0x39a295)],Ne);const Ze=['purple.300',_0x514347(0x2e7),_0x514347(0x216),'red.300','blue.400','yellow.400'];class He extends _0x6ab83e{constructor(){const _0x489917=_0x514347;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x489917(0x274),0x0);}['assignAColorForMemberID'](_0x1c097b){const _0x2309fc=_0x514347;if(this[_0x2309fc(0x1bb)][_0x2309fc(0x20c)](_0x1c097b))return this['_assignedColors']['get'](_0x1c097b);const _0x3884e1=Ze[this['_colorIndex']];return this[_0x2309fc(0x274)]=(this[_0x2309fc(0x274)]+0x1)%Ze[_0x2309fc(0x374)],this[_0x2309fc(0x1bb)][_0x2309fc(0x1e2)](_0x1c097b,_0x3884e1),_0x3884e1;}}function Mt(_0x2fb1a4){const _0x4ae11c=_0x514347;let _0x4f41a0='';for(const _0xba97bd of _0x2fb1a4){const {startOffset:_0x22414a,endOffset:_0x185c24,isActive:_0x14d028,rangeType:_0x46d498,segmentId:_0x349526,segmentPage:_0x4eba66}=_0xba97bd;_0x4f41a0[_0x4ae11c(0x374)]&&(_0x4f41a0+=','),_0x4f41a0+=_0x22414a+':'+_0x185c24+':'+(_0x14d028?'1':'0')+':'+_0x46d498+':'+_0x349526+':'+_0x4eba66;}return _0x4f41a0;}function Oi(_0x1fcffc){const _0x44716e=_0x514347,_0x2c4e60=_0x1fcffc[_0x44716e(0x238)](','),_0x34c34d=[];for(const _0x105339 of _0x2c4e60){const [_0x48179e,_0x36568e,_0x3e683d,_0xb9d58d,_0x406090,_0x358138]=_0x105339[_0x44716e(0x238)](':');_0x34c34d[_0x44716e(0x34d)]({'startOffset':Number(_0x48179e),'endOffset':Number(_0x36568e),'collapsed':_0x48179e===_0x36568e,'isActive':_0x3e683d==='1','rangeType':_0xb9d58d===_0xdb047a[_0x44716e(0x19b)]?_0xdb047a[_0x44716e(0x19b)]:_0xdb047a[_0x44716e(0x2fd)],'segmentId':typeof _0x406090==_0x44716e(0x2fc)?String(_0x406090):'','segmentPage':Number(_0x358138!=null?_0x358138:-0x1)});}return _0x34c34d[_0x44716e(0x289)](_0x4d67f3=>_0x4d67f3[_0x44716e(0x2f8)])||(_0x34c34d[0x0][_0x44716e(0x2f8)]=!0x0),_0x34c34d;}class Fe extends _0x5941cc{constructor(){const _0x3f12e8=_0x514347;super(...arguments),_(this,_0x3f12e8(0x358),new _0x59c4e2(null)),_(this,_0x3f12e8(0x269),this['_collabCursorState$']['asObservable']());}[_0x514347(0x203)](_0x4289ed){const _0xb2b872=_0x514347,{unitID:_0x188734,memberID:_0x3af317,textRanges:_0x1c50c5}=_0x4289ed,_0x487ab6=Mt(_0x1c50c5);if(_0x487ab6==='')return;const _0x3452e9={'unitID':_0x188734,'memberID':_0x3af317,'selection':_0x487ab6};this['_collabCursorState$'][_0xb2b872(0x376)](_0x3452e9);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x1ea5de,_0x47ec2e,_0x5a7438,_0x3fa37c)=>{for(var _0x3adb2a=_0x3fa37c>0x1?void 0x0:_0x3fa37c?bi(_0x47ec2e,_0x5a7438):_0x47ec2e,_0x52410b=_0x1ea5de['length']-0x1,_0x2e7309;_0x52410b>=0x0;_0x52410b--)(_0x2e7309=_0x1ea5de[_0x52410b])&&(_0x3adb2a=_0x2e7309(_0x3adb2a)||_0x3adb2a);return _0x3adb2a;},P=(_0x2adade,_0x9dbdd0)=>(_0x32e8d7,_0x4813f9)=>_0x9dbdd0(_0x32e8d7,_0x4813f9,_0x2adade);const Ri=0x12c,Di=0x64;function _0x35fb(_0x5ca24b,_0x339b39){const _0x434e71=_0x434e();return _0x35fb=function(_0x35fb8a,_0xc67c9b){_0x35fb8a=_0x35fb8a-0x17a;let _0x44622e=_0x434e71[_0x35fb8a];return _0x44622e;},_0x35fb(_0x5ca24b,_0x339b39);}let Ue=class extends _0x5941cc{constructor(_0x576f30,_0x413e8f,_0x273bc2,_0x2b4c45,_0x39b062,_0x323f7e,_0xf33bb6,_0x252428,_0x217fdb){const _0xd9650b=_0x514347;super(),_(this,'_online',!0x1),_(this,_0xd9650b(0x2a6),!0x1),_(this,'_cursorInfo$',new _0x59c4e2(new Map())),_(this,'cursorInfo$',this[_0xd9650b(0x195)][_0xd9650b(0x33e)]()),_(this,_0xd9650b(0x228),new _0x59c4e2([])),_(this,'roomMembers$',this[_0xd9650b(0x228)][_0xd9650b(0x27a)](_0x4aee69(Ri))),_(this,_0xd9650b(0x271),_0x445839(_0x17e740=>{const _0x15d8de=_0xd9650b,_0x280811={'eventID':_0x46fd0c['UPDATE_CURSOR'],'data':{'unitID':this[_0x15d8de(0x28f)],'memberID':this[_0x15d8de(0x370)][_0x15d8de(0x36a)](),'selection':Mt(_0x17e740)}};this[_0x15d8de(0x370)]['send'](_0x280811,this['unitID']);},Di)),(this[_0xd9650b(0x28f)]=_0x576f30,this[_0xd9650b(0x370)]=_0x413e8f,this['_injector']=_0x273bc2,this[_0xd9650b(0x2ff)]=_0x2b4c45,this[_0xd9650b(0x320)]=_0x39b062,this['_syncEditingCollabCursorService']=_0x323f7e,this['_transformService']=_0xf33bb6,this['_univerInstanceService']=_0x252428,this[_0xd9650b(0x2f9)]=_0x217fdb);}get[_0x514347(0x2d9)](){return this['_cursorInfo$']['getValue']();}get[_0x514347(0x267)](){const _0x5b6a75=_0x514347;return this[_0x5b6a75(0x228)][_0x5b6a75(0x344)]();}[_0x514347(0x2c6)](){const _0x2cb043=_0x514347;super[_0x2cb043(0x2c6)](),this[_0x2cb043(0x195)][_0x2cb043(0x376)](new Map()),this[_0x2cb043(0x195)]['complete'](),this[_0x2cb043(0x228)][_0x2cb043(0x376)]([]),this[_0x2cb043(0x228)]['complete']();}[_0x514347(0x36d)](){const _0x5e3693=_0x514347;this['_init']||(this[_0x5e3693(0x2a6)]=!0x0,this[_0x5e3693(0x370)][_0x5e3693(0x22a)]['pipe'](_0x2a9ca9(this[_0x5e3693(0x18a)]))[_0x5e3693(0x2f5)](_0x3a233e=>{const _0x48ad1f=_0x5e3693;_0x3a233e===_0x3bf1d3[_0x48ad1f(0x36b)]?this[_0x48ad1f(0x2ab)]():this['_toggleOffline']();}),this[_0x5e3693(0x370)][_0x5e3693(0x31c)][_0x5e3693(0x27a)](_0x2a9ca9(this[_0x5e3693(0x18a)]))[_0x5e3693(0x2f5)](_0xe35737=>{const _0x323931=_0x5e3693,_0x5944c1=_0xe35737[_0x323931(0x187)];_0x5944c1===_0x46fd0c[_0x323931(0x325)]&&this[_0x323931(0x2c3)](_0xe35737),_0x5944c1===_0x46fd0c[_0x323931(0x268)]&&this[_0x323931(0x2ba)](_0xe35737);}),this[_0x5e3693(0x266)](this[_0x5e3693(0x2f9)][_0x5e3693(0x18b)](_0x52946c=>{const _0x585420=_0x5e3693,_0x24dd93=_0x52946c['params'];_0x24dd93!=null&&this[_0x585420(0x330)]&&_0x52946c['id']===_0x4cdb54['id']&&_0x24dd93[_0x585420(0x36e)]===this['unitID']&&_0x24dd93[_0x585420(0x248)]===!0x1&&_0x24dd93['ranges'][_0x585420(0x374)]>0x0&&this[_0x585420(0x271)](_0x24dd93[_0x585420(0x37b)]);})),this['_syncEditingCollabCursorService'][_0x5e3693(0x269)][_0x5e3693(0x27a)](_0x2a9ca9(this[_0x5e3693(0x18a)]))['subscribe'](_0x1b70d4=>{const _0x1ebf85=_0x5e3693;if((_0x1b70d4==null?void 0x0:_0x1b70d4[_0x1ebf85(0x28f)])!==this[_0x1ebf85(0x28f)])return;const _0x7c95e2={'eventID':_0x46fd0c[_0x1ebf85(0x325)],'data':_0x1b70d4};this[_0x1ebf85(0x2c3)](_0x7c95e2);}),this[_0x5e3693(0x266)](this[_0x5e3693(0x2f9)][_0x5e3693(0x18b)](_0x25314a=>{const _0x50f49c=_0x5e3693;if(_0x25314a[_0x50f49c(0x24b)]==null)return;const _0x215f2b=_0x25314a[_0x50f49c(0x24b)];if(_0x25314a['id']!==_0x6d60ad['id']||_0x215f2b['unitId']!==this[_0x50f49c(0x28f)])return;const _0x1309a1={'id':'doc.mutation.rich-text-editing','params':_0x215f2b},_0x29aa03=this[_0x50f49c(0x2d9)];for(const [_0x3c3f73,_0x18b2a5]of _0x29aa03){const _0x22d6a8={'id':_0x50f49c(0x312),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x18b2a5[_0x50f49c(0x37b)]}},_0x4a8f73=this[_0x50f49c(0x34a)]['transformMutation'](_0x1309a1,_0x22d6a8,!0x1);if(_0x182c42(_0x4a8f73))throw _0x4a8f73['error'];_0x29aa03['set'](_0x3c3f73,{..._0x18b2a5,'ranges':_0x4a8f73[_0x50f49c(0x230)][_0x50f49c(0x24b)][_0x50f49c(0x345)]});}queueMicrotask(()=>{const _0x3ca013=_0x50f49c;this[_0x3ca013(0x195)][_0x3ca013(0x376)](_0x29aa03);});})));}[_0x514347(0x2c3)](_0x21eb7b){const _0x1a86af=_0x514347;var _0x2aab05,_0x4c970b;const {memberID:_0x426e48,selection:_0x44cea6}=_0x21eb7b[_0x1a86af(0x332)],_0x554165=Oi(_0x44cea6),_0x3cfe30=(_0x4c970b=(_0x2aab05=this[_0x1a86af(0x320)][_0x1a86af(0x381)](this[_0x1a86af(0x28f)],_0x426e48))==null?void 0x0:_0x2aab05[_0x1a86af(0x35e)])!=null?_0x4c970b:'Unknown\x20user',_0x4d96a6={'color':this[_0x1a86af(0x2ff)][_0x1a86af(0x2bc)](_0x426e48),'name':_0x3cfe30,'ranges':_0x554165},_0x1b943f=this[_0x1a86af(0x2d9)];_0x1b943f[_0x1a86af(0x1e2)](_0x426e48,_0x4d96a6),this['_cursorInfo$']['next'](_0x1b943f);}[_0x514347(0x2ba)](_0x494dd6){const _0x372415=_0x514347,{memberID:_0x18b852}=_0x494dd6[_0x372415(0x332)],_0x5ecfe5=this[_0x372415(0x2d9)];_0x5ecfe5['delete'](_0x18b852),this['_cursorInfo$'][_0x372415(0x376)](_0x5ecfe5);}[_0x514347(0x2ab)](){const _0x3a856d=_0x514347;var _0x487eb9;if(this['_online']=!0x0,((_0x487eb9=this[_0x3a856d(0x25b)][_0x3a856d(0x20f)]())==null?void 0x0:_0x487eb9[_0x3a856d(0x37d)]())!==this[_0x3a856d(0x28f)])return;const _0xab2b4e=this['_injector'][_0x3a856d(0x1af)](_0x563f76)[_0x3a856d(0x326)]();Array['isArray'](_0xab2b4e)&&_0xab2b4e[_0x3a856d(0x374)]>0x0&&this[_0x3a856d(0x271)](_0xab2b4e);}[_0x514347(0x225)](){const _0x47f3a9=_0x514347;this[_0x47f3a9(0x330)]=!0x1;}};Ue=Ti([P(0x2,_0x199102(_0x5d1904)),P(0x3,_0x199102(He)),P(0x4,_0x199102(_0x22285b)),P(0x5,_0x199102(Fe)),P(0x6,_0x46ccb6),P(0x7,_0x2ec70f),P(0x8,_0x4aa35c)],Ue);var Ni=Object[_0x514347(0x190)],Ui=(_0x2e5cfc,_0x2cf5b5,_0x24e36e,_0x3a79c5)=>{for(var _0x4491ac=_0x3a79c5>0x1?void 0x0:_0x3a79c5?Ni(_0x2cf5b5,_0x24e36e):_0x2cf5b5,_0x3b583f=_0x2e5cfc['length']-0x1,_0x54cb80;_0x3b583f>=0x0;_0x3b583f--)(_0x54cb80=_0x2e5cfc[_0x3b583f])&&(_0x4491ac=_0x54cb80(_0x4491ac)||_0x4491ac);return _0x4491ac;},x=(_0x35f0c2,_0x8fb9c1)=>(_0x5e7732,_0xd4b8c1)=>_0x8fb9c1(_0x5e7732,_0xd4b8c1,_0x35f0c2);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1e48b6=[],_0x9a5c5f=!0x1;return _0x555200=>{const _0x4e8e6e=_0x35fb;_0x1e48b6[_0x4e8e6e(0x34d)](_0x555200),_0x9a5c5f||(_0x9a5c5f=!0x0,setTimeout(()=>{const _0x4bd209=_0x4e8e6e;_0x1e48b6[_0x4bd209(0x2fa)](_0x3a4791=>_0x3a4791()),_0x1e48b6=[],_0x9a5c5f=!0x1;}));};};let Me=class extends _0x5941cc{constructor(_0x854e5f,_0x5b67f3,_0x601453,_0x52cdf5,_0x10c8fe,_0x3b7b94,_0x3ecd07,_0x1dc1e6){const _0x3893e0=_0x514347;super(),_(this,_0x3893e0(0x330),!0x1),_(this,_0x3893e0(0x2a6),!0x1),_(this,'_cursorInfo$',new _0x59c4e2(new Map())),_(this,_0x3893e0(0x193),this[_0x3893e0(0x195)][_0x3893e0(0x33e)]()),_(this,_0x3893e0(0x228),new _0x59c4e2([])),_(this,_0x3893e0(0x2bb),this[_0x3893e0(0x228)]['pipe'](_0x4aee69(Mi))),_(this,_0x3893e0(0x271),_0x445839((_0x5016ef,_0xa8d4fc)=>{const _0x57059b=_0x3893e0,_0x38c0e4={'eventID':_0x46fd0c['UPDATE_CURSOR'],'data':{'unitID':this[_0x57059b(0x28f)],'memberID':this[_0x57059b(0x370)][_0x57059b(0x36a)](),'selection':_0x40f921(_0x5016ef,_0xa8d4fc['range'])}};this[_0x57059b(0x370)][_0x57059b(0x1ed)](_0x38c0e4,this[_0x57059b(0x28f)]);},Li)),(this[_0x3893e0(0x28f)]=_0x854e5f,this[_0x3893e0(0x370)]=_0x5b67f3,this['_injector']=_0x601453,this[_0x3893e0(0x2ff)]=_0x52cdf5,this[_0x3893e0(0x320)]=_0x10c8fe,this[_0x3893e0(0x25b)]=_0x3b7b94,this[_0x3893e0(0x2f9)]=_0x3ecd07,this['_refRangeService']=_0x1dc1e6);}get['cursorInfo'](){const _0x327941=_0x514347;return this[_0x327941(0x195)][_0x327941(0x344)]();}get['roomMembers'](){const _0x3dc840=_0x514347;return this['_roomMembers$'][_0x3dc840(0x344)]();}[_0x514347(0x2c6)](){const _0x415b6d=_0x514347;super[_0x415b6d(0x2c6)](),this[_0x415b6d(0x195)]['next'](new Map()),this['_cursorInfo$'][_0x415b6d(0x1c2)](),this['_roomMembers$']['next']([]),this[_0x415b6d(0x228)][_0x415b6d(0x1c2)]();}['init'](){const _0x1c8226=_0x514347;this[_0x1c8226(0x2a6)]||(this[_0x1c8226(0x2a6)]=!0x0,this[_0x1c8226(0x370)]['sessionStatus$']['pipe'](_0x2a9ca9(this['dispose$']))[_0x1c8226(0x2f5)](_0x4704a8=>{const _0x2b36b4=_0x1c8226;_0x4704a8===_0x3bf1d3['ONLINE']?this[_0x2b36b4(0x2ab)]():this[_0x2b36b4(0x225)]();}),this[_0x1c8226(0x370)]['event$'][_0x1c8226(0x27a)](_0x2a9ca9(this[_0x1c8226(0x18a)]))[_0x1c8226(0x2f5)](_0x69ecae=>{const _0x3f6cb8=_0x1c8226,_0x5edc4a=_0x69ecae[_0x3f6cb8(0x187)];_0x5edc4a===_0x46fd0c['UPDATE_CURSOR']&&this[_0x3f6cb8(0x2c3)](_0x69ecae),_0x5edc4a===_0x46fd0c[_0x3f6cb8(0x268)]&&this[_0x3f6cb8(0x2ba)](_0x69ecae);}),this['_onRefRangeChange'](),this[_0x1c8226(0x266)](this['_commandService'][_0x1c8226(0x18b)](_0x418fc3=>{const _0x53da71=_0x1c8226;if(this[_0x53da71(0x330)]&&_0x418fc3['id']===_0x6be0d3['id']&&_0x418fc3[_0x53da71(0x24b)][_0x53da71(0x36e)]===this[_0x53da71(0x28f)]){const _0xfcafd0=_0x418fc3[_0x53da71(0x24b)];this[_0x53da71(0x271)](_0xfcafd0['subUnitId'],_0xfcafd0[_0x53da71(0x1ae)][0x0]);}})));}['_onCursorUpdate'](_0x4ae92e){const _0x297bf7=_0x514347;var _0x3ab02,_0x138750;const {memberID:_0x27099f,selection:_0x515d8b}=_0x4ae92e[_0x297bf7(0x332)],{sheetName:_0x1d9483,range:_0x17cc4d}=_0x2eff64(_0x515d8b),_0xa4f09b={'name':(_0x138750=(_0x3ab02=this[_0x297bf7(0x320)][_0x297bf7(0x381)](this[_0x297bf7(0x28f)],_0x27099f))==null?void 0x0:_0x3ab02[_0x297bf7(0x35e)])!=null?_0x138750:'Unknown\x20user','range':this['_getMergeRange'](_0x1d9483,_0x17cc4d),'sheetID':_0x1d9483,'color':this['_colorAssignService'][_0x297bf7(0x2bc)](_0x27099f),'selection':_0x515d8b},_0x43e06a=this[_0x297bf7(0x2d9)];_0x43e06a[_0x297bf7(0x1e2)](_0x27099f,_0xa4f09b),this['_cursorInfo$'][_0x297bf7(0x376)](_0x43e06a);}[_0x514347(0x2ba)](_0x17ef4d){const _0x43e5d6=_0x514347,{memberID:_0x4c2cc2}=_0x17ef4d[_0x43e5d6(0x332)],_0x3079b9=this[_0x43e5d6(0x2d9)];_0x3079b9[_0x43e5d6(0x346)](_0x4c2cc2),this[_0x43e5d6(0x195)][_0x43e5d6(0x376)](_0x3079b9);}[_0x514347(0x1e1)](_0x51ea8a,_0x5d8bf7){const _0x36168e=_0x514347;var _0x2a918e,_0x533a50;const _0x2eb6c9=(_0x533a50=(_0x2a918e=this['_univerInstanceService'][_0x36168e(0x20b)](this[_0x36168e(0x28f)]))==null?void 0x0:_0x2a918e[_0x36168e(0x2db)](_0x51ea8a))==null?void 0x0:_0x533a50[_0x36168e(0x37c)]();return(_0x2eb6c9==null?void 0x0:_0x2eb6c9[_0x36168e(0x232)](_0x1b6770=>_0x503653['contains'](_0x1b6770,_0x5d8bf7)))||_0x5d8bf7;}['_onRefRangeChange'](){const _0x1feafb=_0x514347,_0x5451a5=new _0x50ae4a(),_0x56af19=Pi(),_0x6203f2=()=>{const _0x4d3e5c=_0x35fb;_0x5451a5[_0x4d3e5c(0x2c6)]();const _0x23f0e6=(_0x239bb2,_0x4f5aef,_0x178a46,_0xb30a94)=>{const _0x9c3fe5=_0x4d3e5c;let _0x319260=[];switch(_0x239bb2['id']){case _0xaf06b7[_0x9c3fe5(0x34c)]:{_0x319260=_0x13f0f1(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x2ce)]:{_0x319260=_0x440073(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x350)]:{_0x319260=_0x5195a7(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x1a6)]:{_0x319260=_0x893dc6(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x34f)]:{_0x319260=_0x59b37f(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x1b6)]:{_0x319260=_0x22be95(_0x239bb2,_0xb30a94);break;}case _0xaf06b7['MoveRangeCommandId']:{_0x319260=_0x26f0df(_0x239bb2,_0xb30a94);break;}case _0xaf06b7['RemoveColCommandId']:{_0x319260=_0x2ba05e(_0x239bb2,_0xb30a94);break;}case _0xaf06b7[_0x9c3fe5(0x28e)]:{_0x319260=_0x452a56(_0x239bb2,_0xb30a94);break;}}const _0x710fe8=_0x433c69(_0x319260,_0xb30a94),_0x739fb6=this[_0x9c3fe5(0x2d9)][_0x9c3fe5(0x1af)](_0x4f5aef);if(_0x739fb6&&_0x710fe8){const _0xd36e72={..._0x739fb6,'range':_0x710fe8};this[_0x9c3fe5(0x2d9)][_0x9c3fe5(0x1e2)](_0x4f5aef,_0xd36e72),_0x56af19(()=>{const _0x5b3f63=_0x9c3fe5,_0x140ac7=this[_0x5b3f63(0x368)][_0x5b3f63(0x378)](_0x710fe8,_0x566487=>(_0x140ac7[_0x5b3f63(0x2c6)](),_0x23f0e6(_0x566487,_0x4f5aef,_0x178a46,_0x710fe8)));_0x5451a5['add'](_0x140ac7);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4d3e5c(0x2fa)]((_0x4e58aa,_0xbd849c)=>{const _0x3ac1a2=_0x4d3e5c,{range:_0x41f0fa,sheetID:_0x36920d}=_0x4e58aa,_0x765f11=this[_0x3ac1a2(0x368)]['registerRefRange'](_0x41f0fa,_0x4ca82b=>(_0x765f11[_0x3ac1a2(0x2c6)](),_0x23f0e6(_0x4ca82b,_0xbd849c,_0x36920d,_0x41f0fa)));_0x5451a5[_0x3ac1a2(0x2ad)](_0x765f11);});};this[_0x1feafb(0x266)](_0xe19ae0(this[_0x1feafb(0x195)]['subscribe'](()=>{_0x6203f2();})));}[_0x514347(0x2ab)](){const _0x5430ac=_0x514347;var _0x2ef6ac,_0x3a9a34;if(this[_0x5430ac(0x330)]=!0x0,((_0x2ef6ac=this[_0x5430ac(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x2ef6ac['getUnitId']())!==this[_0x5430ac(0x28f)])return;const _0x9934c4=(_0x3a9a34=this[_0x5430ac(0x1d4)]['get'](_0x287ba4)[_0x5430ac(0x2b5)]())==null?void 0x0:_0x3a9a34[0x0],_0x2a862f=this[_0x5430ac(0x25b)][_0x5430ac(0x1c1)](_0x50b062[_0x5430ac(0x2f4)])['getActiveSheet']();_0x9934c4&&_0x2a862f&&this[_0x5430ac(0x271)](_0x2a862f[_0x5430ac(0x2aa)](),_0x9934c4);}[_0x514347(0x225)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x199102(_0x5d1904)),x(0x3,_0x199102(He)),x(0x4,_0x199102(_0x22285b)),x(0x5,_0x2ec70f),x(0x6,_0x4aa35c),x(0x7,_0x199102(_0x281dd2))],Me);var wi=Object[_0x514347(0x190)],Ai=(_0xf8ed51,_0x5bbb04,_0x228d88,_0x4d473c)=>{const _0x144a00=_0x514347;for(var _0x1f2d2c=_0x4d473c>0x1?void 0x0:_0x4d473c?wi(_0x5bbb04,_0x228d88):_0x5bbb04,_0x4ceff3=_0xf8ed51[_0x144a00(0x374)]-0x1,_0x1db5d8;_0x4ceff3>=0x0;_0x4ceff3--)(_0x1db5d8=_0xf8ed51[_0x4ceff3])&&(_0x1f2d2c=_0x1db5d8(_0x1f2d2c)||_0x1f2d2c);return _0x1f2d2c;},me=(_0x3c91a6,_0x484193)=>(_0x41cdd3,_0x1d4e31)=>_0x484193(_0x41cdd3,_0x1d4e31,_0x3c91a6);let F=class extends _0x5941cc{constructor(_0x11e686,_0x56ded0,_0xda839d){const _0x3047dd=_0x514347;super(),_(this,_0x3047dd(0x354),new Map()),_(this,'_entityInit$',new _0x1cd852()),(this['_univerInstanceService']=_0x11e686,this[_0x3047dd(0x1d4)]=_0x56ded0,this['_collabSessionService']=_0xda839d,this[_0x3047dd(0x2a6)]());}[_0x514347(0x2c6)](){const _0x149a52=_0x514347;super[_0x149a52(0x2c6)](),this[_0x149a52(0x191)][_0x149a52(0x1c2)](),this['_entities'][_0x149a52(0x2fa)](_0x27a90b=>_0x27a90b[_0x149a52(0x2c6)]());}['getCollabCursors$'](_0x7b9278){const _0x5804f0=_0x514347;return this['_entities'][_0x5804f0(0x20c)](_0x7b9278)?this['_entities'][_0x5804f0(0x1af)](_0x7b9278)[_0x5804f0(0x193)]:this[_0x5804f0(0x191)][_0x5804f0(0x27a)](_0x479930(_0x55e532=>_0x55e532[_0x5804f0(0x28f)]===_0x7b9278),_0x5a40db(_0x129fb0=>_0x129fb0[_0x5804f0(0x193)]));}['_init'](){const _0x2411b9=_0x514347;this[_0x2411b9(0x25b)][_0x2411b9(0x17e)](_0x50b062[_0x2411b9(0x2f4)])[_0x2411b9(0x27a)](_0x2a9ca9(this['dispose$']))[_0x2411b9(0x2f5)](async _0x2cf9dd=>{const _0x21dee0=_0x2411b9,_0x2da7cb=_0x2cf9dd[_0x21dee0(0x37d)](),_0x5f175a=await this[_0x21dee0(0x367)](_0x2da7cb);this[_0x21dee0(0x191)][_0x21dee0(0x376)](_0x5f175a),this[_0x21dee0(0x354)][_0x21dee0(0x1e2)](_0x2da7cb,_0x5f175a);}),this['_univerInstanceService'][_0x2411b9(0x17e)](_0x50b062[_0x2411b9(0x1f6)])[_0x2411b9(0x27a)](_0x2a9ca9(this[_0x2411b9(0x18a)]))['pipe'](_0x479930(_0x466890=>!_0x466890[_0x2411b9(0x37d)]()['startsWith']('__')))[_0x2411b9(0x2f5)](async _0x138074=>{const _0x2d94bd=_0x2411b9,_0x554d7f=_0x138074[_0x2d94bd(0x37d)](),_0x24ab8a=await this[_0x2d94bd(0x227)](_0x554d7f);this['_entityInit$'][_0x2d94bd(0x376)](_0x24ab8a),this[_0x2d94bd(0x354)][_0x2d94bd(0x1e2)](_0x554d7f,_0x24ab8a);}),_0x1aaa82(this['_univerInstanceService'][_0x2411b9(0x17d)](_0x50b062[_0x2411b9(0x1f6)]),this[_0x2411b9(0x25b)]['getTypeOfUnitDisposed$'](_0x50b062[_0x2411b9(0x2f4)]))[_0x2411b9(0x27a)](_0x2a9ca9(this[_0x2411b9(0x18a)]))[_0x2411b9(0x2f5)](_0x4f4837=>{const _0x20de49=_0x2411b9,_0x3ea812=_0x4f4837['getUnitId'](),_0x470e45=this['_entities'][_0x20de49(0x1af)](_0x3ea812);_0x470e45&&(_0x470e45[_0x20de49(0x2c6)](),this['_entities'][_0x20de49(0x346)](_0x3ea812));});}async[_0x514347(0x367)](_0x47e26e){const _0x2ae807=_0x514347,_0x3ce428=await this[_0x2ae807(0x237)][_0x2ae807(0x27b)](_0x47e26e),_0x59a7c3=this[_0x2ae807(0x1d4)][_0x2ae807(0x21c)](Me,_0x47e26e,_0x3ce428);return _0x59a7c3[_0x2ae807(0x36d)](),_0x59a7c3;}async[_0x514347(0x227)](_0x70696d){const _0x353991=_0x514347,_0x87a1d=await this['_collabSessionService']['requireSession'](_0x70696d),_0x2c0c7b=this[_0x353991(0x1d4)][_0x353991(0x21c)](Ue,_0x70696d,_0x87a1d);return _0x2c0c7b[_0x353991(0x36d)](),_0x2c0c7b;}};F=Ai([me(0x0,_0x2ec70f),me(0x1,_0x199102(_0x5d1904)),me(0x2,_0x199102(_0x228e1a))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x35fb19,_0x2d77de){const _0x44a683=_0x514347;let {radius:_0x439c90,width:_0x19cb0b,height:_0x54e6a6}=_0x2d77de;_0x439c90=_0x439c90!=null?_0x439c90:0x0,_0x19cb0b=_0x19cb0b!=null?_0x19cb0b:0x1e,_0x54e6a6=_0x54e6a6!=null?_0x54e6a6:0x1e;let _0x55dc96=0x0,_0x251adf=0x0,_0xf83ff8=0x0;_0x55dc96=_0x251adf=_0xf83ff8=Math[_0x44a683(0x253)](_0x439c90,_0x19cb0b/0x2,_0x54e6a6/0x2),_0x35fb19[_0x44a683(0x23d)](),_0x35fb19[_0x44a683(0x31d)](_0x55dc96,0x0),_0x35fb19['lineTo'](_0x19cb0b-_0x251adf,0x0),_0x35fb19[_0x44a683(0x1ef)](_0x19cb0b-_0x251adf,_0x251adf,_0x251adf,Math['PI']*0x3/0x2,0x0,!0x1),_0x35fb19['lineTo'](_0x19cb0b,_0x54e6a6-_0xf83ff8),_0x35fb19[_0x44a683(0x1ef)](_0x19cb0b-_0xf83ff8,_0x54e6a6-_0xf83ff8,_0xf83ff8,0x0,Math['PI']/0x2,!0x1),_0x35fb19[_0x44a683(0x209)](0x0,_0x54e6a6),_0x35fb19[_0x44a683(0x209)](0x0,_0x55dc96),_0x35fb19[_0x44a683(0x1ef)](_0x55dc96,_0x55dc96,_0x55dc96,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35fb19['closePath'](),_0x2d77de[_0x44a683(0x28c)]&&(_0x35fb19[_0x44a683(0x196)](),_0x35fb19['fillStyle']=_0x2d77de[_0x44a683(0x28c)],_0x2d77de[_0x44a683(0x2f1)]===_0x44a683(0x211)?_0x35fb19[_0x44a683(0x28c)](_0x44a683(0x211)):_0x35fb19[_0x44a683(0x28c)](),_0x35fb19['restore']());}class ue extends _0x2682e9{constructor(_0x4c5953,_0x4fb942){const _0x3e34f7=_0x514347;super(_0x4c5953,_0x4fb942),_(this,'color'),_(this,_0x3e34f7(0x306)),(this[_0x3e34f7(0x1f2)]=_0x4fb942==null?void 0x0:_0x4fb942['color'],this[_0x3e34f7(0x306)]=_0x4fb942==null?void 0x0:_0x4fb942['text']);}static[_0x514347(0x2bf)](_0x23a702,_0x46804c){const _0x62437=_0x514347,{text:_0x1a623f,color:_0x1aad44}=_0x46804c;_0x23a702[_0x62437(0x196)](),_0x23a702[_0x62437(0x205)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55f11a=_0x23a702[_0x62437(0x357)](_0x1a623f)[_0x62437(0x2e3)],_0x19a576=Math[_0x62437(0x253)](_0x55f11a+0x2*Ie,Qe);$i(_0x23a702,{'height':J,'radius':0x4,'width':_0x19a576,'fill':_0x1aad44}),_0x23a702[_0x62437(0x256)]=_0x62437(0x347);const _0x174a2a=Ie,_0x3052ab=J-yi,_0x16f069=Qe-0x2*Ie;if(_0x55f11a>_0x16f069){let _0x52c62c='',_0x4b4a92=0x0;for(const _0xa74d12 of _0x1a623f){const _0x346511=_0x23a702['measureText'](_0xa74d12)[_0x62437(0x2e3)];if(_0x4b4a92+_0x346511<=_0x16f069-_0x23a702[_0x62437(0x357)](_0x62437(0x272))[_0x62437(0x2e3)])_0x52c62c+=_0xa74d12,_0x4b4a92+=_0x346511;else{_0x52c62c+=_0x62437(0x272);break;}}_0x23a702[_0x62437(0x379)](_0x52c62c,_0x174a2a,_0x3052ab);}else _0x23a702[_0x62437(0x379)](_0x1a623f,_0x174a2a,_0x3052ab);_0x23a702['restore']();}[_0x514347(0x277)](_0x5d58f4){const _0x5e6081=_0x514347;ue[_0x5e6081(0x2bf)](_0x5d58f4,this);}}const ve=_0x514347(0x32e),xi=_0x514347(0x1e3),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x514347(0x22f);class qe{constructor(_0x5e3c2d,_0xc0af90,_0x19fe39,_0x213b84){const _0x192a08=_0x514347;_(this,_0x192a08(0x22b),[]),_(this,_0x192a08(0x233),null),_(this,'_textBubble',null),_(this,_0x192a08(0x36f),null),_(this,_0x192a08(0x270),null),_(this,_0x192a08(0x28b),null),(this[_0x192a08(0x2b9)]=_0x5e3c2d,this[_0x192a08(0x192)]=_0xc0af90,this[_0x192a08(0x1ba)]=_0x19fe39,this[_0x192a08(0x1d1)]=_0x213b84,this['_render']());}set[_0x514347(0x35d)](_0x868a62){const _0x268062=_0x514347;_0x868a62?(this[_0x268062(0x36f)]&&this[_0x268062(0x36f)][_0x268062(0x2ae)](),this[_0x268062(0x206)]&&this['_textBubble'][_0x268062(0x2f3)]()):(this[_0x268062(0x36f)]&&this[_0x268062(0x36f)]['show'](),this[_0x268062(0x206)]&&this[_0x268062(0x206)][_0x268062(0x2ae)]());}[_0x514347(0x2c6)](){const _0x43d386=_0x514347;for(const _0x543655 of this[_0x43d386(0x22b)])_0x543655[_0x43d386(0x2c6)]();this[_0x43d386(0x206)]&&this[_0x43d386(0x206)][_0x43d386(0x2c6)](),this[_0x43d386(0x36f)]&&this[_0x43d386(0x36f)][_0x43d386(0x2c6)](),this[_0x43d386(0x233)]&&this['_anchor'][_0x43d386(0x2c6)](),this[_0x43d386(0x28b)]&&this[_0x43d386(0x28b)]();}[_0x514347(0x1d9)](){const _0xd1cb34=_0x514347;var _0x47ef7f;const {_docSkeleton:_0x4adbcd,_document:_0x222991}=this,{color:_0x36563d,name:_0xf02606,ranges:_0x293b96}=this[_0xd1cb34(0x2b9)],_0x3ea8f0=_0x222991[_0xd1cb34(0x311)](),{docsLeft:_0x28cf7d,docsTop:_0x3c4fdc}=_0x3ea8f0,_0x210869=new _0x1f4925(_0x3ea8f0,_0x4adbcd);for(const {startOffset:_0x4c8540,endOffset:_0x4537c7,rangeType:_0x5018fe,segmentId:_0x1d60ed,segmentPage:_0x16ca51,collapsed:_0x5bfcbb,isActive:_0x5d26b4}of _0x293b96){const _0x5dfc98=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4c8540,!0x0,_0x1d60ed,_0x16ca51);let _0x29d006=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4537c7,!0x0,_0x1d60ed,_0x16ca51);if(_0x29d006==null&&(_0x29d006=_0x4adbcd[_0xd1cb34(0x1ad)](_0x4537c7-0x1,!0x1,_0x1d60ed,_0x16ca51)),_0x5d26b4){const {contentBoxPointGroup:_0x3da47a}=_0x210869[_0xd1cb34(0x1e9)](_0x29d006,_0x29d006);if(_0x3da47a[_0xd1cb34(0x374)]===0x0)continue;this[_0xd1cb34(0x23a)](_0x36563d,_0x3da47a,_0x28cf7d,_0x3c4fdc,_0xf02606),this[_0xd1cb34(0x28b)]=this[_0xd1cb34(0x21e)]();}if(_0x5dfc98&&_0x29d006){if(_0x5018fe===_0xdb047a[_0xd1cb34(0x2fd)]){const _0x436262=new _0x407b5b(_0x3ea8f0,_0x4adbcd),{pointGroup:_0x1a9c8c}=(_0x47ef7f=_0x436262[_0xd1cb34(0x1e9)](_0x5dfc98,_0x29d006))!=null?_0x47ef7f:{};if(_0x1a9c8c==null||_0x1a9c8c[_0xd1cb34(0x374)]===0x0)continue;this['_drawRectRange'](_0x36563d,_0x1a9c8c,_0x28cf7d,_0x3c4fdc);}else{if(!_0x5bfcbb){const {borderBoxPointGroup:_0x2b37c7}=_0x210869[_0xd1cb34(0x1e9)](_0x5dfc98,_0x29d006);if(_0x2b37c7[_0xd1cb34(0x374)]===0x0)continue;this[_0xd1cb34(0x333)](_0x36563d,_0x2b37c7,_0x28cf7d,_0x3c4fdc);}}}}}['_drawAnchor'](_0x3f7eba,_0x1b5242,_0x2afaa6,_0x41e427,_0xedc023){const _0x5e4eed=_0x514347,_0x5be1f8=this[_0x5e4eed(0x353)](_0x1b5242),{left:_0x3a6330,top:_0x253ece,height:_0x1c068c}=_0x5be1f8,_0x40d686=this['_getScale'](),_0x470809=Hi/_0x40d686,_0x4230ea=new _0x5e8da8(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427,'height':_0x1c068c,'width':ki,'fill':_0x3f7eba||_0x49efb5(_0xa2a834[_0x5e4eed(0x215)],0x0),'strokeWidth':_0x470809,'stroke':Fi,'evented':!0x0});this[_0x5e4eed(0x233)]=_0x4230ea,this[_0x5e4eed(0x192)][_0x5e4eed(0x1cd)](_0x4230ea,_0x5256d3);const _0x4c5ac6=new _0x5e8da8(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427-ge/0x2,'height':ge,'width':ge,'fill':_0x3f7eba||_0x49efb5(_0xa2a834['black'],0x0),'strokeWidth':0x0,'stroke':_0x3f7eba||_0x49efb5(_0xa2a834[_0x5e4eed(0x215)],0x0),'evented':!0x1});this['_anchorDot']=_0x4c5ac6,this[_0x5e4eed(0x192)][_0x5e4eed(0x1cd)](_0x4c5ac6,_0x5256d3);const _0x5d8021=new ue(ve+_0x5b1fc8(K),{'left':_0x3a6330+_0x2afaa6-_0x470809,'top':_0x253ece+_0x41e427-J,'text':_0xedc023,'color':_0x3f7eba});this[_0x5e4eed(0x206)]=_0x5d8021,this['_scene'][_0x5e4eed(0x1cd)](_0x5d8021,_0x5256d3),this[_0x5e4eed(0x35d)]=!0x1;}['_handleHover'](){const _0x33f654=_0x514347,_0x284a89=this['_anchor'][_0x33f654(0x297)][_0x33f654(0x2ca)](()=>{const _0x3d6b5d=_0x33f654;this[_0x3d6b5d(0x35d)]=!0x0;}),_0x2c265b=this[_0x33f654(0x233)][_0x33f654(0x22d)]['subscribeEvent'](()=>{const _0x1470ec=_0x33f654;this[_0x1470ec(0x270)]&&clearTimeout(this[_0x1470ec(0x270)]),this['_hideTimer']=setTimeout(()=>{const _0x25f3b6=_0x1470ec;this[_0x25f3b6(0x35d)]=!0x1;},0x7d0);});return()=>{const _0x11a6a0=_0x33f654;_0x284a89[_0x11a6a0(0x1ec)](),_0x2c265b[_0x11a6a0(0x1ec)]();};}[_0x514347(0x333)](_0x2d9a02,_0x4abe74,_0x1383f7,_0x27bd1c){const _0xd9eb57=_0x514347,_0x3674c8=new _0x3dcd36(_0x2d9a02)[_0xd9eb57(0x24d)](0.2)[_0xd9eb57(0x220)](),_0x11028e=new _0x5c8d28(xi+_0x5b1fc8(K),{'pointsGroup':_0x4abe74,'fill':_0x3674c8||_0x49efb5(_0xa2a834['black'],0.2),'left':_0x1383f7,'top':_0x27bd1c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xd9eb57(0x22b)][_0xd9eb57(0x34d)](_0x11028e),this['_scene']['addObject'](_0x11028e,_0x5256d3);}[_0x514347(0x1b2)](_0x28849d,_0x37de01,_0x537482,_0x17a83a){const _0x221a36=_0x514347,_0x43d940=new _0x3dcd36(_0x28849d)['setAlpha'](0.2)['toRgbString'](),_0xc29893=new _0x5c8d28(Bi+_0x5b1fc8(K),{'pointsGroup':_0x37de01,'fill':_0x43d940||_0x49efb5(_0xa2a834[_0x221a36(0x215)],0.2),'left':_0x537482,'top':_0x17a83a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221a36(0x22b)]['push'](_0xc29893),this['_scene'][_0x221a36(0x1cd)](_0xc29893,_0x5256d3);}['_getAnchorBounding'](_0x191651){const _0x702071=_0x191651[0x0],_0x43cd21=_0x702071[0x0],_0x1f5e0b=_0x702071[0x2],{x:_0x104cc3,y:_0x317e20}=_0x43cd21,{x:_0x35c0b0,y:_0x214183}=_0x1f5e0b;return{'left':_0x104cc3,'top':_0x317e20,'width':_0x35c0b0-_0x104cc3,'height':_0x214183-_0x317e20};}['_getScale'](){const _0x118c4b=_0x514347,{scaleX:_0x1c86c5,scaleY:_0x4f7672}=this[_0x118c4b(0x192)][_0x118c4b(0x2c5)]();return Math[_0x118c4b(0x247)](_0x1c86c5,_0x4f7672);}}var Yi=Object[_0x514347(0x190)],ji=(_0x26914e,_0x263111,_0x1595f5,_0x4ea155)=>{const _0x4fec48=_0x514347;for(var _0x2b9993=_0x4ea155>0x1?void 0x0:_0x4ea155?Yi(_0x263111,_0x1595f5):_0x263111,_0x2c5506=_0x26914e[_0x4fec48(0x374)]-0x1,_0x51ac2a;_0x2c5506>=0x0;_0x2c5506--)(_0x51ac2a=_0x26914e[_0x2c5506])&&(_0x2b9993=_0x51ac2a(_0x2b9993)||_0x2b9993);return _0x2b9993;},ee=(_0x38c10e,_0x465247)=>(_0x7425f5,_0x62f872)=>_0x465247(_0x7425f5,_0x62f872,_0x38c10e);let Le=class extends _0x5941cc{constructor(_0x16f976,_0x4ebec9,_0x3334ad,_0x3ee319,_0x23c635){const _0x5e300a=_0x514347;super(),_(this,_0x5e300a(0x2d5),[]),_(this,_0x5e300a(0x1ee),[]),(this[_0x5e300a(0x1f5)]=_0x16f976,this['_docSkeletonManagerService']=_0x4ebec9,this[_0x5e300a(0x2e2)]=_0x3334ad,this[_0x5e300a(0x2f9)]=_0x3ee319,this[_0x5e300a(0x31a)]=_0x23c635,this[_0x5e300a(0x2a6)]());}[_0x514347(0x2a6)](){const _0x280cca=_0x514347,_0x4648b3=this[_0x280cca(0x1f5)][_0x280cca(0x36e)],_0x22e52a=this[_0x280cca(0x278)];this[_0x280cca(0x266)](_0x4488ec([this['_collabCursorController'][_0x280cca(0x243)](_0x4648b3),this[_0x280cca(0x31a)][_0x280cca(0x234)]])[_0x280cca(0x27a)](_0x118565(([_0x598ee6,_0x29d6f5])=>({'skeleton':_0x22e52a['getSkeleton'](),'cursors':[..._0x598ee6['values']()]['flatMap'](_0x1a1e18=>({..._0x1a1e18,'color':this[_0x280cca(0x31a)][_0x280cca(0x194)](_0x1a1e18[_0x280cca(0x1f2)])}))})))[_0x280cca(0x2f5)](_0x5acaf5=>{const _0x41e4ae=_0x280cca;if(this[_0x41e4ae(0x23f)](),_0x5acaf5){const {skeleton:_0x448637,cursors:_0x12415e}=_0x5acaf5;this[_0x41e4ae(0x1e4)](_0x448637,_0x12415e);}})),this[_0x280cca(0x1f7)](),this[_0x280cca(0x339)]();}[_0x514347(0x1e4)](_0x2e7353,_0x47b6c9){const _0x4905fb=_0x514347,{scene:_0x4e0bbb,mainComponent:_0xdbe8bd}=this[_0x4905fb(0x1f5)],_0x1f6957=_0x47b6c9[_0x4905fb(0x27f)](_0x58f8ec=>new qe(_0x58f8ec,_0x4e0bbb,_0x2e7353,_0xdbe8bd));this[_0x4905fb(0x2d5)]=_0x1f6957,this[_0x4905fb(0x1ee)]=_0x47b6c9;}[_0x514347(0x30a)](){const _0x39b222=_0x514347;this[_0x39b222(0x23f)]();const {scene:_0x3051f3,mainComponent:_0x1e72b8}=this[_0x39b222(0x1f5)],_0x39bef0=this['_docSkeletonManagerService']['getSkeleton'](),_0x2aa11e=this['_cursors'][_0x39b222(0x27f)](_0x3f27ed=>new qe(_0x3f27ed,_0x3051f3,_0x39bef0,_0x1e72b8));this['_cursorShapes']=_0x2aa11e;}[_0x514347(0x23f)](){const _0x167e29=_0x514347;this['_cursorShapes'][_0x167e29(0x2fa)](_0x4a8474=>_0x4a8474[_0x167e29(0x2c6)]()),this[_0x167e29(0x2d5)]=[];}['_initCommandExecutedListener'](){const _0x2901ae=_0x514347,_0x36d7c6=[_0x3aeea9['id']];this['disposeWithMe'](this[_0x2901ae(0x2f9)][_0x2901ae(0x18b)](_0x3649eb=>{const _0x3cf7f5=_0x2901ae;_0x36d7c6['includes'](_0x3649eb['id'])&&_0x3649eb['params'][_0x3cf7f5(0x36e)]===this[_0x3cf7f5(0x1f5)][_0x3cf7f5(0x36e)]&&this[_0x3cf7f5(0x30a)]();}));}['_initResize'](){const _0x30aaac=_0x514347;this[_0x30aaac(0x266)](_0x351fdd(this[_0x30aaac(0x1f5)][_0x30aaac(0x1cb)][_0x30aaac(0x1bd)])[_0x30aaac(0x27a)](_0x518d2c(_0x1ae901=>_0x1ae901[_0x30aaac(0x1bf)]===_0x3e91fc[_0x30aaac(0x229)]),_0x5956fc(0x10))[_0x30aaac(0x2f5)](()=>{const _0xc49482=_0x30aaac;this[_0xc49482(0x30a)]();}));}};Le=ji([ee(0x1,_0x199102(_0x12095e)),ee(0x2,_0x199102(F)),ee(0x3,_0x4aa35c),ee(0x4,_0x199102(_0x26ae7b))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x2682e9{constructor(_0x545030,_0x4e75bb){const _0x4c2b19=_0x514347;super(_0x545030,_0x4e75bb),_(this,_0x4c2b19(0x19c)),_(this,'_hovered',!0x1),_(this,_0x4c2b19(0x318)),_(this,'_name',''),_(this,'_labelPosition',_0x4c2b19(0x1e0)),_(this,_0x4c2b19(0x18c)),(_0x4e75bb&&this[_0x4c2b19(0x29a)](_0x4e75bb),this[_0x4c2b19(0x297)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2b19(0x22d)][_0x4c2b19(0x2ca)](()=>this[_0x4c2b19(0x29a)]({'hovered':!0x1})));}[_0x514347(0x29a)](_0x5cdfc6){const _0x35f702=_0x514347;var _0x6d95cb,_0x1ec157,_0x25297f,_0x240ec2,_0x367058,_0x2614ef;this[_0x35f702(0x19c)]=(_0x6d95cb=_0x5cdfc6['color'])!=null?_0x6d95cb:this['_color'],this['_hovered']=(_0x1ec157=_0x5cdfc6[_0x35f702(0x24f)])!=null?_0x1ec157:this[_0x35f702(0x2e4)],this[_0x35f702(0x318)]=(_0x25297f=_0x5cdfc6[_0x35f702(0x29f)])!=null?_0x25297f:this[_0x35f702(0x318)],this[_0x35f702(0x32f)]=(_0x240ec2=_0x5cdfc6['name'])!=null?_0x240ec2:this[_0x35f702(0x32f)],this[_0x35f702(0x18f)]=(_0x367058=_0x5cdfc6[_0x35f702(0x264)])!=null?_0x367058:this[_0x35f702(0x18f)],this[_0x35f702(0x18c)]=(_0x2614ef=_0x5cdfc6[_0x35f702(0x240)])!=null?_0x2614ef:this[_0x35f702(0x18c)],this['transformByState']({'width':_0x5cdfc6[_0x35f702(0x2e3)],'height':_0x5cdfc6[_0x35f702(0x313)]});}[_0x514347(0x281)](_0x3a724d){const _0x2faa74=_0x514347,{row:_0x32bc92,column:_0x3f3c93}=_0x3a724d;if(_0x32bc92>=this[_0x2faa74(0x318)][_0x2faa74(0x185)]&&_0x32bc92<=this['_range'][_0x2faa74(0x1b4)]&&_0x3f3c93>=this[_0x2faa74(0x318)]['startColumn']&&_0x3f3c93<=this[_0x2faa74(0x318)][_0x2faa74(0x301)]){this[_0x2faa74(0x29a)]({'hovered':!0x0});return;}this[_0x2faa74(0x29a)]({'hovered':!0x1});}['triggerDblclick'](_0x375c6f){return!0x1;}[_0x514347(0x277)](_0x96b6b1){const _0x6390df=_0x514347;_0x5e8da8['drawWith'](_0x96b6b1,{'width':this['width'],'height':this[_0x6390df(0x313)],'strokeWidth':Wi,'stroke':this[_0x6390df(0x19c)],'evented':!0x1,'fill':this[_0x6390df(0x18c)]}),this['_hovered']&&(_0x96b6b1['save'](),_0x96b6b1[_0x6390df(0x2a3)](0x1,0x0,0x0,0x1,this['width'],this[_0x6390df(0x18f)]===_0x6390df(0x2cf)?0x0:-J),ue[_0x6390df(0x2bf)](_0x96b6b1,{'text':this[_0x6390df(0x32f)],'color':this[_0x6390df(0x19c)]}),_0x96b6b1[_0x6390df(0x308)]());}}var Gi=Object[_0x514347(0x190)],Ki=(_0x39b382,_0x2e389f,_0x1db990,_0x4cbc51)=>{const _0xb8f0b4=_0x514347;for(var _0x53a728=_0x4cbc51>0x1?void 0x0:_0x4cbc51?Gi(_0x2e389f,_0x1db990):_0x2e389f,_0x22e61a=_0x39b382[_0xb8f0b4(0x374)]-0x1,_0x272cba;_0x22e61a>=0x0;_0x22e61a--)(_0x272cba=_0x39b382[_0x22e61a])&&(_0x53a728=_0x272cba(_0x53a728)||_0x53a728);return _0x53a728;},pe=(_0x10e77d,_0x1e4c81)=>(_0x5bcd02,_0x19c375)=>_0x1e4c81(_0x5bcd02,_0x19c375,_0x10e77d);const zi=0x1389;let Pe=class extends _0x5941cc{constructor(_0x489fe6,_0x1cdf50,_0x5c8f44,_0x1c8fef){const _0x1e4098=_0x514347;super(),_(this,_0x1e4098(0x1ee),new Set()),_(this,'_lastPointer',null),(this[_0x1e4098(0x1f5)]=_0x489fe6,this[_0x1e4098(0x373)]=_0x1cdf50,this[_0x1e4098(0x2e2)]=_0x5c8f44,this[_0x1e4098(0x31a)]=_0x1c8fef,this['_init']());}['_init'](){const _0x43212d=_0x514347;this[_0x43212d(0x373)]['currentSkeleton$'][_0x43212d(0x27a)](_0x46e1fd(this[_0x43212d(0x18a)]),_0x46a48d(_0x2235f7=>{const _0x2ea80d=_0x43212d;if(_0x2235f7){const _0x45ffad=_0x2235f7[_0x2ea80d(0x1be)];return _0x4488ec(this[_0x2ea80d(0x2e2)][_0x2ea80d(0x243)](this[_0x2ea80d(0x1f5)]['unitId']),this[_0x2ea80d(0x31a)][_0x2ea80d(0x234)])[_0x2ea80d(0x27a)](_0x118565(([_0xe174fa,_0xab929])=>{const _0x55f3de=_0x2ea80d,_0x2c441a=new Map();return _0xe174fa[_0x55f3de(0x2fa)]((_0x800f76,_0x213f2a)=>{const _0x85210a=_0x55f3de;if(_0x800f76['sheetID']===_0x45ffad){const _0x13663c={..._0x800f76};_0x13663c[_0x85210a(0x1f2)]=this[_0x85210a(0x31a)][_0x85210a(0x194)](_0x800f76[_0x85210a(0x1f2)]),_0x2c441a[_0x85210a(0x1e2)](_0x213f2a,_0x13663c);}}),{'skeleton':_0x2235f7,'cursors':_0x2c441a};}));}return _0x1b6305({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5dc379,cursors:_0x4fcc2b})=>{const _0x1cf3ac=_0x43212d;this[_0x1cf3ac(0x23f)](),_0x5dc379&&this['_updateCollabCursors'](_0x5dc379,_0x4fcc2b);}),this[_0x43212d(0x373)][_0x43212d(0x2a9)][_0x43212d(0x2f5)](_0x4ad44c=>{const _0x321dec=_0x43212d;if(_0x4ad44c==null)return;const {skeleton:_0x4d3516}=_0x4ad44c,{scene:_0x4e2539}=this[_0x321dec(0x1f5)];_0x4e2539[_0x321dec(0x1e7)]['subscribeEvent'](_0x445839(_0x38a8a7=>{const _0x5b59c1=_0x321dec;var _0x36078c,_0x2d2cd2;const {offsetX:_0x5942fa,offsetY:_0x406c99}=_0x38a8a7,{x:_0x1a1de0,y:_0x3d9f3f}=_0x4e2539['getRelativeToViewportCoord'](_0x1f58d4[_0x5b59c1(0x2d3)]([_0x5942fa,_0x406c99])),{scaleX:_0x4ae841,scaleY:_0x1e5236}=_0x4e2539[_0x5b59c1(0x2c5)](),_0x4f3ece=_0x4e2539[_0x5b59c1(0x2bd)](_0x25adba[_0x5b59c1(0x1f4)]),_0xdc05d7=_0x4e2539[_0x5b59c1(0x218)](_0x1f58d4[_0x5b59c1(0x2d3)]([_0x1a1de0,_0x3d9f3f]),_0x4f3ece),_0x23c208=_0x4d3516['getCellPositionByOffset'](_0x5942fa,_0x406c99,_0x4ae841,_0x1e5236,_0xdc05d7);((_0x36078c=this[_0x5b59c1(0x380)])==null?void 0x0:_0x36078c['column'])===_0x23c208['column']&&((_0x2d2cd2=this[_0x5b59c1(0x380)])==null?void 0x0:_0x2d2cd2[_0x5b59c1(0x2b1)])===_0x23c208['row']||this[_0x5b59c1(0x1ee)]['forEach'](_0x510ab9=>{const _0x21bbae=_0x5b59c1;_0x510ab9[_0x21bbae(0x281)](_0x23c208);});},0x64));});}[_0x514347(0x1e4)](_0x2c16d0,_0x58f85d){const _0x45772d=_0x514347;var _0x5e8681;const _0x4a1cc2=(_0x5e8681=this[_0x45772d(0x373)][_0x45772d(0x1d0)]())==null?void 0x0:_0x5e8681[_0x45772d(0x2b2)];if(!_0x4a1cc2)return;const _0x588139=this[_0x45772d(0x223)]();if(!_0x588139)return;this['_cursors'][_0x45772d(0x2fa)](_0x5a31d9=>{_0x5a31d9['makeDirty']();});const {scene:_0x5b2297}=_0x588139,_0x4eccf7=Ji(Array[_0x45772d(0x2c4)](_0x58f85d[_0x45772d(0x265)]()))[_0x45772d(0x27f)](_0x584a0f=>{const _0x1cce24=_0x45772d,{color:_0x5552fb,range:_0x2506fa,name:_0x3e849a,selection:_0x4876f8,sheetID:_0x449bfe}=_0x584a0f,{startColumn:_0x2b0d7d,startRow:_0x191074,endColumn:_0x40a86e,endRow:_0x3429d4}=_0x2506fa,_0x12ae8f=_0x5d9dd9(_0x191074,_0x2b0d7d,_0x5b2297,_0x4a1cc2),_0x1628a4=_0x5d9dd9(_0x3429d4,_0x40a86e,_0x5b2297,_0x4a1cc2),{columnHeaderHeightAndMarginTop:_0x403ab3}=_0x4a1cc2,{startX:_0x3b2edf,startY:_0x2cfbbe}=_0x12ae8f,{endX:_0x26974e,endY:_0xb6b3b6}=_0x1628a4,_0x48a21c=_0x26974e-_0x3b2edf,_0x4c3c38=_0xb6b3b6-_0x2cfbbe,_0x5f2567={'labelPosition':_0x2cfbbe-_0x403ab3>=J?_0x1cce24(0x1e0):'bottom','sheetID':_0x449bfe,'range':_0x2506fa,'color':_0x5552fb,'name':_0x3e849a,'selection':_0x4876f8,'left':_0x3b2edf,'top':_0x2cfbbe,'width':_0x48a21c,'height':_0x4c3c38,'evented':!0x1,'zIndex':zi};return new Xi(_0x3e849a,_0x5f2567);});_0x5b2297[_0x45772d(0x299)](_0x4eccf7,Vi),this['_cursors']=new Set(_0x4eccf7);}['_removeCollabCursors'](){const _0x1052e9=_0x514347;var _0x24bc66;(_0x24bc66=this['_cursors'])==null||_0x24bc66[_0x1052e9(0x2fa)](_0x157375=>_0x157375[_0x1052e9(0x2c6)]());}[_0x514347(0x223)](){const _0x24fc3d=_0x514347;return _0x3e1e6c(this[_0x24fc3d(0x1f5)][_0x24fc3d(0x2b3)],this[_0x24fc3d(0x1f5)]);}};Pe=Ki([pe(0x1,_0x199102(_0x2909e7)),pe(0x2,_0x199102(F)),pe(0x3,_0x199102(_0x26ae7b))],Pe);function Ji(_0x36709c){const _0x12f157=_0x514347,_0x352907=new Map();return _0x36709c[_0x12f157(0x2fa)](_0x4c3b04=>{const _0x46eaa1=_0x12f157;if(_0x352907[_0x46eaa1(0x20c)](_0x4c3b04[_0x46eaa1(0x1d8)])){const _0x347b05=_0x352907[_0x46eaa1(0x1af)](_0x4c3b04['selection']);_0x347b05[_0x46eaa1(0x35e)]+=',\x20'+_0x4c3b04[_0x46eaa1(0x35e)];}else _0x352907[_0x46eaa1(0x1e2)](_0x4c3b04[_0x46eaa1(0x1d8)],_0x4c3b04);}),Array[_0x12f157(0x2c4)](_0x352907['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x4fb8dc,_0x394e9f,_0x495b0e,_0x9b9fa7)=>{const _0x4bcb8e=_0x514347;for(var _0x4df305=_0x9b9fa7>0x1?void 0x0:_0x9b9fa7?Zi(_0x394e9f,_0x495b0e):_0x394e9f,_0x17de51=_0x4fb8dc[_0x4bcb8e(0x374)]-0x1,_0x3ee965;_0x17de51>=0x0;_0x17de51--)(_0x3ee965=_0x4fb8dc[_0x17de51])&&(_0x4df305=_0x3ee965(_0x4df305)||_0x4df305);return _0x4df305;},B=(_0x502588,_0x5ef842)=>(_0x569770,_0x42cd45)=>_0x5ef842(_0x569770,_0x42cd45,_0x502588);let ne=class extends _0x6ab83e{constructor(_0x1e46a6,_0x456636,_0x1b408b,_0x1a9f99,_0x17284c,_0x4dd444){const _0x5acec1=_0x514347;super(),this[_0x5acec1(0x213)]=_0x1e46a6,this[_0x5acec1(0x21f)]=_0x456636,this[_0x5acec1(0x250)]=_0x1b408b,this[_0x5acec1(0x262)]=_0x1a9f99,this['_notificationService']=_0x17284c,this[_0x5acec1(0x316)]=_0x4dd444,this[_0x5acec1(0x288)](),this[_0x5acec1(0x1b1)]();}['_setupBeforeClosingHandler'](){const _0x4f8996=_0x514347;this[_0x4f8996(0x266)](this['_beforeCloseService'][_0x4f8996(0x2ef)](()=>{const _0xcc11a8=_0x4f8996;if(this[_0xcc11a8(0x21f)]['saveTaskMap'][_0xcc11a8(0x255)])return this['_localeService']['t'](_0xcc11a8(0x1d7));}));}[_0x514347(0x1b1)](){const _0x32ab6a=_0x514347;this[_0x32ab6a(0x266)](this[_0x32ab6a(0x250)][_0x32ab6a(0x31c)][_0x32ab6a(0x2f5)](_0x1dd5bc=>{const _0x20e93c=_0x32ab6a;_0x1dd5bc['id']===_0x1b6ac4['OTHER_CLIENT_EDITING']&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x2da))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x236)]&&this[_0x20e93c(0x262)]['show']({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this['_localeService']['t'](_0x20e93c(0x245))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x2e9)]&&this['_notificationService'][_0x20e93c(0x2f3)]({'title':this['_localeService']['t'](_0x20e93c(0x25f)),'content':this['_localeService']['t']('permission.content'),'type':_0x20e93c(0x328),'duration':0x0}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x1d2)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x1b3)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x245))+'('+_0x1dd5bc[_0x20e93c(0x332)]+')'}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x198)]&&this['_messageService'][_0x20e93c(0x2f3)]({'type':_0x4f1e2f['Warning'],'content':this[_0x20e93c(0x316)]['t'](_0x1dd5bc[_0x20e93c(0x332)]||'')}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x30b)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x17f)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x1c0))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x217)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f['Error'],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x2e8))}),_0x1dd5bc['id']===_0x1b6ac4[_0x20e93c(0x1cc)]&&this[_0x20e93c(0x262)][_0x20e93c(0x2f3)]({'type':_0x4f1e2f[_0x20e93c(0x1b3)],'content':this[_0x20e93c(0x316)]['t'](_0x20e93c(0x20d))});}));}};ne=Qi([B(0x0,_0x4b1f08),B(0x1,_0x3ff8d0),B(0x2,_0x199102(_0x2c15d7)),B(0x3,_0x109eea),B(0x4,_0x293e66),B(0x5,_0x199102(_0x3b8afc))],ne);const qi=_0x514347(0x37e),et={};var en=Object[_0x514347(0x190)],tn=(_0x175a74,_0x4b9b1f,_0x5c70e1,_0xe46720)=>{const _0x41cafa=_0x514347;for(var _0x567fac=_0xe46720>0x1?void 0x0:_0xe46720?en(_0x4b9b1f,_0x5c70e1):_0x4b9b1f,_0x3ec053=_0x175a74[_0x41cafa(0x374)]-0x1,_0x5a151e;_0x3ec053>=0x0;_0x3ec053--)(_0x5a151e=_0x175a74[_0x3ec053])&&(_0x567fac=_0x5a151e(_0x567fac)||_0x567fac);return _0x567fac;},tt=(_0x4004d5,_0x59ce27)=>(_0x517011,_0xeeba76)=>_0x59ce27(_0x517011,_0xeeba76,_0x4004d5);let re=class{constructor(_0x20b35d,_0x3fc09f){const _0x441f94=_0x514347;this[_0x441f94(0x34a)]=_0x20b35d,this[_0x441f94(0x323)]=_0x3fc09f;}[_0x514347(0x188)](_0x5e0aaa){const _0x141c77=_0x514347;this[_0x141c77(0x2a5)](_0x5e0aaa),this[_0x141c77(0x327)](_0x5e0aaa);}['transformRemoteChangeset'](_0x4a4774){const _0x5b0e1d=_0x514347,{unitID:_0x283245}=_0x4a4774,_0x27d028=this[_0x5b0e1d(0x323)][_0x5b0e1d(0x336)](_0x283245)['with'](_0x5a8ec3),{redoCache:_0x328745}=_0x27d028[_0x5b0e1d(0x25e)]();if(_0x328745[_0x5b0e1d(0x374)]===0x0)return _0x4a4774;let _0x2cc82f=_0x5cbd6f[_0x5b0e1d(0x305)](_0x4a4774[_0x5b0e1d(0x29c)][0x0]);for(let _0x15e332=0x0;_0x15e332<_0x328745[_0x5b0e1d(0x374)];_0x15e332++){const _0x5f4a73={'id':_0x5b0e1d(0x312),'params':{..._0x328745[_0x15e332]}},_0x1bb858=this[_0x5b0e1d(0x34a)][_0x5b0e1d(0x1f3)](_0x2cc82f,_0x5f4a73,!0x1);if(_0x182c42(_0x1bb858))throw _0x1bb858[_0x5b0e1d(0x328)];_0x2cc82f=_0x1bb858['m1Prime'];}return{..._0x5cbd6f[_0x5b0e1d(0x305)](_0x4a4774),'mutations':[_0x2cc82f]};}['_transformUndoRedoStack'](_0x50ae68){const _0xcd1483=_0x514347,{unitID:_0x25c613}=_0x50ae68,_0x8d0ecc=this['_renderManagerService']['getRenderById'](_0x25c613)[_0xcd1483(0x26f)](_0x5a8ec3),{undoCache:_0x5b99ac,redoCache:_0x2e42c6}=_0x8d0ecc[_0xcd1483(0x25e)]();if(_0x5b99ac[_0xcd1483(0x374)]===0x0||_0x2e42c6[_0xcd1483(0x374)]===0x0)return;const _0x30a117=[],_0x56b0be=[];let _0x48cfd0=_0x5cbd6f[_0xcd1483(0x305)](_0x50ae68[_0xcd1483(0x29c)][0x0]),_0x11778a=_0x5cbd6f['deepClone'](_0x50ae68[_0xcd1483(0x29c)][0x0]);for(let _0x25cb07=_0x5b99ac[_0xcd1483(0x374)]-0x1;_0x25cb07>=0x0;_0x25cb07--){const _0x35e6fd={'id':_0xcd1483(0x312),'params':{..._0x5b99ac[_0x25cb07]}},_0xd200a4={'id':_0xcd1483(0x312),'params':{..._0x2e42c6[_0x25cb07]}},_0x1f805b=this[_0xcd1483(0x34a)]['transformMutation'](_0x48cfd0,_0x35e6fd,!0x1),_0x1522f5=this['_transformService']['transformMutation'](_0x11778a,_0xd200a4,!0x1);if(_0x182c42(_0x1f805b))throw _0x1f805b[_0xcd1483(0x328)];if(_0x182c42(_0x1522f5))throw _0x1522f5[_0xcd1483(0x328)];_0x30a117[_0xcd1483(0x17c)](_0x1f805b[_0xcd1483(0x230)][_0xcd1483(0x24b)]),_0x56b0be[_0xcd1483(0x17c)](_0x1522f5[_0xcd1483(0x230)][_0xcd1483(0x24b)]),_0x48cfd0=_0x1f805b[_0xcd1483(0x25c)],_0x11778a=_0x1522f5[_0xcd1483(0x25c)];}_0x8d0ecc[_0xcd1483(0x2d1)]({'undoCache':_0x30a117,'redoCache':_0x56b0be});}['_transformPreviousActiveRange'](_0x23dbf4){const _0x155053=_0x514347,{unitID:_0x4c9660}=_0x23dbf4,_0x3ca39e=this[_0x155053(0x323)]['getRenderById'](_0x4c9660)[_0x155053(0x26f)](_0x5a8ec3),_0x356f9a=_0x3ca39e[_0x155053(0x1de)]();if(_0x356f9a==null)return;const _0x3dc1ee=[{'id':_0x155053(0x312),'params':{'unitId':_0x23dbf4['unitID'],'actions':null,'textRanges':[_0x356f9a]}}],_0x3365f8=this[_0x155053(0x34a)]['transformMutationsWithChangeset'](_0x23dbf4,_0x3dc1ee);if(!_0xd59276(_0x3365f8))throw _0x3365f8[_0x155053(0x328)];const _0x4683d0=_0x3365f8[_0x155053(0x230)][0x0][_0x155053(0x24b)][_0x155053(0x345)];Array['isArray'](_0x4683d0)&&_0x4683d0['length']&&_0x3ca39e[_0x155053(0x369)](_0x4683d0[0x0]);}};re=tn([tt(0x0,_0x46ccb6),tt(0x1,_0x253730)],re);var sn=Object[_0x514347(0x190)],nn=(_0x1b1dce,_0xbdfb6f,_0x462e55,_0x1a077b)=>{const _0x2a4417=_0x514347;for(var _0x2a3a70=_0x1a077b>0x1?void 0x0:_0x1a077b?sn(_0xbdfb6f,_0x462e55):_0xbdfb6f,_0x345efd=_0x1b1dce[_0x2a4417(0x374)]-0x1,_0x2171d6;_0x345efd>=0x0;_0x345efd--)(_0x2171d6=_0x1b1dce[_0x345efd])&&(_0x2a3a70=_0x2171d6(_0x2a3a70)||_0x2a3a70);return _0x2a3a70;},Ce=(_0x56809b,_0x3efcae)=>(_0x1301c2,_0x12e91d)=>_0x3efcae(_0x1301c2,_0x12e91d,_0x56809b);let oe=class{constructor(_0x15c69e,_0xbc9661,_0x41f498){const _0xe9a428=_0x514347;this[_0xe9a428(0x1d4)]=_0x15c69e,this[_0xe9a428(0x34a)]=_0xbc9661,this[_0xe9a428(0x197)]=_0x41f498;}[_0x514347(0x2ee)](_0x50126f){this['_transformHistoryAndStateStack'](_0x50126f);}['transformRemoteChangeset'](_0x2f1bf4){const _0x185efe=_0x514347,{unitID:_0x544402}=_0x2f1bf4,{collaboration:_0x26b6b5}=this[_0x185efe(0x197)][_0x185efe(0x32c)](_0x544402);if(_0x26b6b5['length']===0x0)return _0x2f1bf4;let _0x4a074f=_0x5cbd6f[_0x185efe(0x305)](_0x2f1bf4[_0x185efe(0x29c)][0x0]);for(let _0x480902=0x0;_0x480902<_0x26b6b5[_0x185efe(0x374)];_0x480902++){const _0x13c354={'id':_0x185efe(0x312),'params':{'unitId':_0x26b6b5[_0x480902][_0x185efe(0x36e)],..._0x26b6b5[_0x480902][_0x185efe(0x302)]}},_0x3cf72b=this[_0x185efe(0x34a)]['transformMutation'](_0x4a074f,_0x13c354,!0x1);if(_0x182c42(_0x3cf72b))throw _0x3cf72b['error'];_0x4a074f=_0x3cf72b['m1Prime'];}return{..._0x5cbd6f['deepClone'](_0x2f1bf4),'mutations':[_0x4a074f]};}[_0x514347(0x324)](_0x146eeb){const _0x21dfe9=_0x514347,{unitID:_0x11ebf6}=_0x146eeb,{history:_0x54906a,collaboration:_0x30ff4e}=this[_0x21dfe9(0x197)][_0x21dfe9(0x32c)](_0x11ebf6);if(_0x54906a[_0x21dfe9(0x374)]===0x0&&_0x30ff4e[_0x21dfe9(0x374)]===0x0)return;const _0x4ac752=[],_0x5dada1=[];let _0x474f58=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb[_0x21dfe9(0x29c)][0x0]),_0x112cfc=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]);for(let _0x597678=_0x54906a[_0x21dfe9(0x374)]-0x1;_0x597678>=0x0;_0x597678--){const _0x323aa7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54906a[_0x597678][_0x21dfe9(0x36e)],..._0x54906a[_0x597678][_0x21dfe9(0x184)]}},_0x5f1acf={'id':_0x21dfe9(0x312),'params':{'unitId':_0x54906a[_0x597678][_0x21dfe9(0x36e)],..._0x54906a[_0x597678][_0x21dfe9(0x302)]}},_0x3f788f=this[_0x21dfe9(0x34a)][_0x21dfe9(0x1f3)](_0x474f58,_0x323aa7,!0x1),_0xa4df91=this['_transformService']['transformMutation'](_0x112cfc,_0x5f1acf,!0x1);if(_0x182c42(_0x3f788f))throw _0x3f788f[_0x21dfe9(0x328)];if(_0x182c42(_0xa4df91))throw _0xa4df91[_0x21dfe9(0x328)];_0x4ac752[_0x21dfe9(0x17c)]({..._0x54906a[_0x597678],'undoState':_0x3f788f[_0x21dfe9(0x230)]['params'],'redoState':_0xa4df91['m2Prime'][_0x21dfe9(0x24b)]}),_0x474f58=_0x3f788f[_0x21dfe9(0x25c)],_0x112cfc=_0xa4df91[_0x21dfe9(0x25c)];}_0x474f58=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]),_0x112cfc=_0x5cbd6f[_0x21dfe9(0x305)](_0x146eeb['mutations'][0x0]);for(let _0x41d51a=_0x30ff4e[_0x21dfe9(0x374)]-0x1;_0x41d51a>=0x0;_0x41d51a--){const _0x1c1789={'id':_0x21dfe9(0x312),'params':{'unitId':_0x30ff4e[_0x41d51a][_0x21dfe9(0x36e)],..._0x30ff4e[_0x41d51a]['undoState']}},_0x323d0a={'id':_0x21dfe9(0x312),'params':{'unitId':_0x30ff4e[_0x41d51a][_0x21dfe9(0x36e)],..._0x30ff4e[_0x41d51a]['redoState']}},_0x51d13f=this['_transformService'][_0x21dfe9(0x1f3)](_0x474f58,_0x1c1789,!0x1),_0x27b077=this[_0x21dfe9(0x34a)][_0x21dfe9(0x1f3)](_0x112cfc,_0x323d0a,!0x1);if(_0x182c42(_0x51d13f))throw _0x51d13f[_0x21dfe9(0x328)];if(_0x182c42(_0x27b077))throw _0x27b077[_0x21dfe9(0x328)];_0x5dada1[_0x21dfe9(0x17c)]({..._0x30ff4e[_0x41d51a],'undoState':_0x51d13f[_0x21dfe9(0x230)]['params'],'redoState':_0x27b077[_0x21dfe9(0x230)][_0x21dfe9(0x24b)]}),_0x474f58=_0x51d13f[_0x21dfe9(0x25c)],_0x112cfc=_0x27b077[_0x21dfe9(0x25c)];}this[_0x21dfe9(0x197)][_0x21dfe9(0x25a)](_0x11ebf6,{'history':_0x4ac752,'collaboration':_0x5dada1});}};oe=nn([Ce(0x0,_0x199102(_0x5d1904)),Ce(0x1,_0x46ccb6),Ce(0x2,_0x199102(_0x453065))],oe);var rn=Object[_0x514347(0x190)],on=(_0x463be1,_0x14f2c2,_0x58b834,_0x3b371a)=>{const _0x4c46a6=_0x514347;for(var _0x5047ad=_0x3b371a>0x1?void 0x0:_0x3b371a?rn(_0x14f2c2,_0x58b834):_0x14f2c2,_0x3aebf7=_0x463be1[_0x4c46a6(0x374)]-0x1,_0x5075a0;_0x3aebf7>=0x0;_0x3aebf7--)(_0x5075a0=_0x463be1[_0x3aebf7])&&(_0x5047ad=_0x5075a0(_0x5047ad)||_0x5047ad);return _0x5047ad;},st=(_0x2ecfb9,_0x5bbdf2)=>(_0x3b9d72,_0xc5cb29)=>_0x5bbdf2(_0x3b9d72,_0xc5cb29,_0x2ecfb9);let ae=class{constructor(_0x252822,_0x472a96){const _0x251508=_0x514347;this[_0x251508(0x1d4)]=_0x252822,this['_transformService']=_0x472a96;}[_0x514347(0x33a)](_0xe5453){const _0x523d79=_0x514347;var _0x58233d;const _0x11ad2d=this[_0x523d79(0x1d4)]['get'](_0x563f76),_0x44d843=(_0x58233d=_0x11ad2d[_0x523d79(0x326)]())!=null?_0x58233d:[];if(_0x44d843[_0x523d79(0x374)]===0x0)return;const _0x5f8b34=_0xe5453[_0x523d79(0x28f)],_0x1a3958=[{'id':_0x523d79(0x312),'params':{'unitId':_0x5f8b34,'actions':null,'textRanges':_0x44d843}}],_0x44be4c=this[_0x523d79(0x34a)][_0x523d79(0x317)](_0xe5453,_0x1a3958);if(!_0xd59276(_0x44be4c))throw _0x44be4c[_0x523d79(0x328)];const _0x30df85=_0x44be4c[_0x523d79(0x230)][0x0][_0x523d79(0x24b)][_0x523d79(0x345)];Array['isArray'](_0x30df85)&&_0x30df85[_0x523d79(0x374)]&&_0x11ad2d[_0x523d79(0x2c1)](_0x30df85,{'unitId':_0x5f8b34,'subUnitId':_0x5f8b34},!0x1);}};ae=on([st(0x0,_0x199102(_0x5d1904)),st(0x1,_0x46ccb6)],ae);var an=Object[_0x514347(0x190)],cn=(_0x85b1d2,_0x501ab5,_0x1e98ed,_0x3ea64b)=>{for(var _0x51470c=_0x3ea64b>0x1?void 0x0:_0x3ea64b?an(_0x501ab5,_0x1e98ed):_0x501ab5,_0x47db13=_0x85b1d2['length']-0x1,_0x1c31ec;_0x47db13>=0x0;_0x47db13--)(_0x1c31ec=_0x85b1d2[_0x47db13])&&(_0x51470c=_0x1c31ec(_0x51470c)||_0x51470c);return _0x51470c;},N=(_0x6de9c6,_0x2b0602)=>(_0x321672,_0x4e0f67)=>_0x2b0602(_0x321672,_0x4e0f67,_0x6de9c6);let ce=class extends _0x6ab83e{constructor(_0x2eabf4,_0xc078c6,_0xe88b60,_0x1b121f,_0x9c96de,_0x36dd73,_0x44f697,_0x96c98f){const _0x1c52d6=_0x514347;super(),_(this,_0x1c52d6(0x199),new _0x59c4e2(_0x7e6acb[_0x1c52d6(0x337)])),(this[_0x1c52d6(0x197)]=_0x2eabf4,this['_collaborationController']=_0xc078c6,this[_0x1c52d6(0x284)]=_0xe88b60,this['_docTransformStateCacheService']=_0x1b121f,this[_0x1c52d6(0x22c)]=_0x9c96de,this[_0x1c52d6(0x231)]=_0x36dd73,this[_0x1c52d6(0x262)]=_0x44f697,this[_0x1c52d6(0x316)]=_0x96c98f,this[_0x1c52d6(0x1eb)]());}[_0x514347(0x1eb)](){const _0x474d6b=_0x514347;this[_0x474d6b(0x266)](this['_collaborationController'][_0x474d6b(0x1db)]['subscribe'](_0x46a205=>{const _0x3f52f5=_0x474d6b,_0x620d5a=this[_0x3f52f5(0x197)][_0x3f52f5(0x239)][_0x3f52f5(0x2f5)](_0x175ad5=>{const _0x365031=_0x3f52f5;if(_0x175ad5==null)return;const {unitId:_0x4ef082,redoState:_0x32c3bd,commandId:_0x43be04}=_0x175ad5;if(_0x4ef082!==_0x46a205['unitID'])return;const _0x395ab5={'id':_0x43be04,'type':_0x48577c['MUTATION'],'params':{'unitId':_0x4ef082,'actions':_0x32c3bd[_0x365031(0x319)],'textRanges':null}};_0x46a205['onLocalMutation'](_0x395ab5);});if(_0x46a205[_0x3f52f5(0x266)](_0x620d5a),_0x46a205 instanceof _0x1abf4f){const _0x2d89d9={'onTransformIME':_0x3af0e7=>this[_0x3f52f5(0x284)][_0x3f52f5(0x188)](_0x3af0e7),'onTransformState':_0x19dc96=>this[_0x3f52f5(0x202)]['transformStateCache'](_0x19dc96),'onTransformSelections':_0x489f30=>this[_0x3f52f5(0x22c)][_0x3f52f5(0x33a)](_0x489f30),'onSyncEditingCollabCursor':_0x89792f=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x89792f),'onTransformRemoteChangesetByIMECache':_0x346408=>this['_docTransformIMECacheService'][_0x3f52f5(0x20e)](_0x346408),'onTransformRemoteChangesetByStateCache':_0x31db14=>this[_0x3f52f5(0x202)][_0x3f52f5(0x20e)](_0x31db14)};_0x46a205[_0x3f52f5(0x24c)](_0x2d89d9);}}));}};ce=cn([N(0x0,_0x199102(_0x453065)),N(0x1,_0x199102(_0x4755ac)),N(0x2,_0x199102(re)),N(0x3,_0x199102(oe)),N(0x4,_0x199102(ae)),N(0x5,_0x199102(Fe)),N(0x6,_0x109eea),N(0x7,_0x199102(_0x3b8afc))],ce);var ln=Object[_0x514347(0x190)],_n=(_0x178272,_0x5900a6,_0x177923,_0x599305)=>{const _0x31a9e2=_0x514347;for(var _0x12694a=_0x599305>0x1?void 0x0:_0x599305?ln(_0x5900a6,_0x177923):_0x5900a6,_0x307eca=_0x178272[_0x31a9e2(0x374)]-0x1,_0x22128d;_0x307eca>=0x0;_0x307eca--)(_0x22128d=_0x178272[_0x307eca])&&(_0x12694a=_0x22128d(_0x12694a)||_0x12694a);return _0x12694a;},Ee=(_0x46e569,_0x135fdf)=>(_0x12bec6,_0x3101aa)=>_0x135fdf(_0x12bec6,_0x3101aa,_0x46e569);let we=class extends _0x6ab83e{constructor(_0x1c83e6,_0xe7014f,_0x47ebdd){const _0x2fe405=_0x514347;super(),_(this,_0x2fe405(0x321),new Map()),_(this,_0x2fe405(0x18e),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x1c83e6,this[_0x2fe405(0x2c9)]=_0xe7014f,this[_0x2fe405(0x1ff)]=_0x47ebdd);}[_0x514347(0x2c8)](){const _0x53d57d=_0x514347;this[_0x53d57d(0x254)]=!0x0;}[_0x514347(0x17a)](){const _0xa339c4=_0x514347;this[_0xa339c4(0x254)]=!0x1;}get[_0x514347(0x2e6)](){const _0x145e6d=_0x514347;return this[_0x145e6d(0x18e)];}['dispose'](){const _0x4b3a5c=_0x514347;this[_0x4b3a5c(0x20a)]()['then'](()=>super[_0x4b3a5c(0x2c6)]());}async[_0x514347(0x355)](_0xd6ef71){const _0x586e41=_0x514347;return this[_0x586e41(0x254)]?null:this['_localStorageService'][_0x586e41(0x1da)](_0x4c201a(_0xd6ef71));}async[_0x514347(0x1fa)](_0x26b6fd,_0x1286eb){const _0x1474ad=_0x514347;return!!this[_0x1474ad(0x2c9)][_0x1474ad(0x23b)](_0x26b6fd,_0x1286eb);}[_0x514347(0x2de)](_0x11c1bd,_0xc661de,_0x1b66c7,_0x41484a){const _0x1dd480=_0x514347,_0x16ac74=this['_revisionService']['getCurrentRevOfUnit'](_0x11c1bd);this[_0x1dd480(0x321)][_0x1dd480(0x1e2)](_0x11c1bd,{'unitID':_0x11c1bd,'type':_0xc661de,'awaitingChangeset':_0x1b66c7,'mutations':_0x41484a,'rev':_0x16ac74}),this['_saveTaskMap'][_0x1dd480(0x20c)](_0x11c1bd)||this[_0x1dd480(0x235)](_0x11c1bd);}['_scheduleSaving'](_0x5002cf){const _0x565290=_0x514347,_0x4eb632=this[_0x565290(0x37f)]();_0x4eb632===0x0?this[_0x565290(0x212)](_0x5002cf):this[_0x565290(0x18e)][_0x565290(0x1e2)](_0x5002cf,setTimeout(()=>this['_saveCache'](_0x5002cf),_0x4eb632));}['_getSaveTimeout'](){const _0x4ca7b9=_0x514347;var _0x193e7c;return(_0x193e7c=this[_0x4ca7b9(0x33c)]['getConfig'](_0x5e3c4a))!=null?_0x193e7c:_0x2ea309;}[_0x514347(0x212)](_0xf45957){const _0x2e64a5=_0x514347,_0x573a96=this[_0x2e64a5(0x18e)]['get'](_0xf45957);return _0x573a96!==void 0x0&&window[_0x2e64a5(0x356)](_0x573a96),this[_0x2e64a5(0x2c9)][_0x2e64a5(0x23b)](_0x4c201a(_0xf45957),this['_cachedData'][_0x2e64a5(0x1af)](_0xf45957))[_0x2e64a5(0x2e5)](()=>this['_saveTaskMap'][_0x2e64a5(0x346)](_0xf45957));}async[_0x514347(0x20a)](){const _0x581cab=_0x514347,_0x22346f=[];this[_0x581cab(0x18e)][_0x581cab(0x2fa)]((_0x4b343e,_0x4f395b)=>{const _0x196286=_0x581cab;window[_0x196286(0x356)](_0x4b343e),_0x22346f[_0x196286(0x34d)](this[_0x196286(0x212)](_0x4f395b)[_0x196286(0x2e5)](()=>{const _0x1c60f1=_0x196286;this[_0x1c60f1(0x18e)][_0x1c60f1(0x346)](_0x4f395b);}));}),await Promise[_0x581cab(0x279)](_0x22346f);}};we=_n([Ee(0x0,_0xf9f7e9),Ee(0x1,_0x3edc7c),Ee(0x2,_0x199102(_0x20fce4))],we);class hn extends _0x5941cc{constructor(){const _0x37498a=_0x514347;super(),_(this,_0x37498a(0x26e)),this[_0x37498a(0x26e)]=_0xd74d5e(window,_0x37498a(0x29b))['pipe'](_0x2a9ca9(this[_0x37498a(0x18a)]),_0x4d209a(0x1),_0x362984(void 0x0));}[_0x514347(0x293)](_0x12c1f8,_0x3a8949,_0x642336=!0x1){const _0xc8cc29=_0x514347,_0x1776b8=new URL(window[_0xc8cc29(0x365)][_0xc8cc29(0x19d)]);_0x1776b8[_0xc8cc29(0x258)][_0xc8cc29(0x1e2)](_0x12c1f8,_0x3a8949),_0x642336?window[_0xc8cc29(0x1d6)][_0xc8cc29(0x276)]('','',_0x1776b8[_0xc8cc29(0x181)]()):window['history'][_0xc8cc29(0x1e8)]('','',_0x1776b8['toString']());}[_0x514347(0x219)](_0x24acc6,_0x4203c6=!0x1){const _0x37f79d=_0x514347,_0x53bddb=new URL(window[_0x37f79d(0x365)][_0x37f79d(0x19d)]);_0x53bddb[_0x37f79d(0x258)][_0x37f79d(0x346)](_0x24acc6),_0x4203c6?window[_0x37f79d(0x1d6)]['replaceState']('','',_0x53bddb[_0x37f79d(0x181)]()):window[_0x37f79d(0x1d6)][_0x37f79d(0x1e8)]('','',_0x53bddb['toString']());}['getParam'](_0x358b7c){const _0x1c6de4=_0x514347;var _0x21524a;return(_0x21524a=new URL(window[_0x1c6de4(0x365)]['href'])['searchParams'][_0x1c6de4(0x1af)](_0x358b7c))!=null?_0x21524a:void 0x0;}}var un=Object[_0x514347(0x348)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x52d83c,_0x58b939,_0x9406e6)=>_0x58b939 in _0x52d83c?un(_0x52d83c,_0x58b939,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9406e6}):_0x52d83c[_0x58b939]=_0x9406e6,Sn=(_0x3f1f11,_0x517d48,_0x48f941,_0x156906)=>{for(var _0x17b19d=_0x156906>0x1?void 0x0:_0x156906?dn(_0x517d48,_0x48f941):_0x517d48,_0x2fa69e=_0x3f1f11['length']-0x1,_0x5d6575;_0x2fa69e>=0x0;_0x2fa69e--)(_0x5d6575=_0x3f1f11[_0x2fa69e])&&(_0x17b19d=_0x5d6575(_0x17b19d)||_0x17b19d);return _0x17b19d;},Oe=(_0x11f812,_0x4bc99a)=>(_0xe8bd95,_0x211f04)=>_0x4bc99a(_0xe8bd95,_0x211f04,_0x11f812),mn=(_0x21af32,_0xc33dc8,_0x1a5fc4)=>fn(_0x21af32,_0xc33dc8+'',_0x1a5fc4);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x466099{constructor(_0x4ba763=et,_0x5c61ad,_0x1dd0dc,_0x119d8f){const _0x4b9643=_0x514347;super(),this[_0x4b9643(0x1df)]=_0x4ba763,this[_0x4b9643(0x323)]=_0x5c61ad,this['_injector']=_0x1dd0dc,this[_0x4b9643(0x33c)]=_0x119d8f;const {..._0x44f085}=_0x4798ee({},et,this[_0x4b9643(0x1df)]);this['_configService'][_0x4b9643(0x2a7)](qi,_0x44f085);}[_0x514347(0x2d7)](){const _0x1eb097=_0x514347;this[_0x1eb097(0x2a0)](),this[_0x1eb097(0x322)]();}[_0x514347(0x1b7)](){this['_registerRenderDependencies']();}[_0x514347(0x2a0)](){const _0x1de834=_0x514347;var _0x46f938;const _0x2f8b75=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x25eca7,{'useClass':_0x44a48c}],[_0x3ff8d0,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x314f5a(this[_0x1de834(0x1d4)],_0x31d61b(_0x2f8b75,(_0x46f938=this['_config'])==null?void 0x0:_0x46f938[_0x1de834(0x1a9)]));}['_registerRenderDependencies'](){const _0x13a961=_0x514347;this[_0x13a961(0x266)](this[_0x13a961(0x323)][_0x13a961(0x1a2)](_0x50b062[_0x13a961(0x1f6)],[Le])),this[_0x13a961(0x266)](this['_renderManagerService']['registerRenderModule'](_0x50b062[_0x13a961(0x2f4)],[Pe]));}[_0x514347(0x322)](){const _0x2cdfe3=_0x514347;_0xba5b39(this[_0x2cdfe3(0x1d4)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x22f470(_0x3500cc),Oe(0x1,_0x253730),Oe(0x2,_0x199102(_0x5d1904)),Oe(0x3,_0xf9f7e9)],Ae);var vn=Object[_0x514347(0x190)],gn=(_0x3fe281,_0x1dd7bc,_0x41bf7d,_0x794c2)=>{const _0x1e8db3=_0x514347;for(var _0x441bf0=_0x794c2>0x1?void 0x0:_0x794c2?vn(_0x1dd7bc,_0x41bf7d):_0x1dd7bc,_0x21974a=_0x3fe281[_0x1e8db3(0x374)]-0x1,_0x482940;_0x21974a>=0x0;_0x21974a--)(_0x482940=_0x3fe281[_0x21974a])&&(_0x441bf0=_0x482940(_0x441bf0)||_0x441bf0);return _0x441bf0;},z=(_0x36072e,_0x4cad6c)=>(_0x3e78db,_0x506302)=>_0x4cad6c(_0x3e78db,_0x506302,_0x36072e);let it=class extends _0x171668{constructor(_0x87315e,_0x16ab1e,_0x143d8d,_0x8646f0,_0xad1c0c){super(_0x87315e,_0x16ab1e,_0x143d8d,_0x8646f0,_0xad1c0c);}async['createSocket'](_0x4b42b1){const _0x5e7df3=_0x514347,_0x33bc27=await this[_0x5e7df3(0x214)](),_0xfd5710=this[_0x5e7df3(0x30e)](_0x4b42b1,_0x33bc27);return this['_doCreateSocket'](_0xfd5710);}[_0x514347(0x30e)](_0x390ac0,_0x357b0f){const _0x5df561=_0x514347,_0x245d93=typeof window>'u'?new URL(_0x390ac0):new URL(_0x390ac0,window[_0x5df561(0x365)][_0x5df561(0x208)]);_0x245d93[_0x5df561(0x258)][_0x5df561(0x1e2)](_0x5df561(0x1fe),_0x357b0f);const _0x43aaa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5df561(0x1d3)]);return _0x43aaa2[_0x5df561(0x1af)](_0x5df561(0x33f))&&_0x245d93[_0x5df561(0x258)][_0x5df561(0x1e2)]('runId',_0x43aaa2[_0x5df561(0x1af)](_0x5df561(0x33f))),_0x245d93[_0x5df561(0x181)]();}async[_0x514347(0x214)](){const _0x73114=_0x514347;var _0x110847,_0x24c0fd,_0x56a849;const _0x5c42ae=this['_configService'][_0x73114(0x349)](_0x478aeb),_0x5bbbfc=(_0x110847=_0x5c42ae==null?void 0x0:_0x5c42ae[_0x73114(0x1ce)])!=null?_0x110847:_0xe45bc;return(_0x56a849=(_0x24c0fd=(await this[_0x73114(0x2ed)]['get'](_0x5bbbfc,{'headers':{'Content-Type':_0x73114(0x222)}}))[_0x73114(0x224)])==null?void 0x0:_0x24c0fd[_0x73114(0x375)])!=null?_0x56a849:'';}};it=gn([z(0x0,_0x199102(_0x5d1904)),z(0x1,_0x199102(_0x327d2c)),z(0x2,_0xf9f7e9),z(0x3,_0x486f03),z(0x4,_0x2f32c1)],it);var Lt=(_0x338f83=>(_0x338f83[_0x338f83[_0x514347(0x295)]=0x0]=_0x514347(0x295),_0x338f83[_0x338f83['OK']=0x1]='OK',_0x338f83[_0x338f83['INTERNAL_ERROR']=0x2]=_0x514347(0x26d),_0x338f83[_0x338f83[_0x514347(0x2e9)]=0x3]='PERMISSION_DENIED',_0x338f83[_0x338f83[_0x514347(0x189)]=0x4]='NOT_FOUND',_0x338f83[_0x338f83[_0x514347(0x2a8)]=0x5]=_0x514347(0x2a8),_0x338f83[_0x338f83[_0x514347(0x1c5)]=0x6]='ALREADY_EXISTS',_0x338f83[_0x338f83['INVALID_ARGUMENT']=0x7]=_0x514347(0x2f2),_0x338f83[_0x338f83[_0x514347(0x1a5)]=0x8]=_0x514347(0x1a5),_0x338f83[_0x338f83['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x338f83[_0x338f83[_0x514347(0x303)]=0xa]=_0x514347(0x303),_0x338f83[_0x338f83[_0x514347(0x1fd)]=0xb]=_0x514347(0x1fd),_0x338f83[_0x338f83[_0x514347(0x273)]=0xc]=_0x514347(0x273),_0x338f83[_0x338f83['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x514347(0x36c),_0x338f83[_0x338f83[_0x514347(0x26a)]=0xe]=_0x514347(0x26a),_0x338f83[_0x338f83[_0x514347(0x1aa)]=0x1389]=_0x514347(0x1aa),_0x338f83[_0x338f83[_0x514347(0x21d)]=0x1771]=_0x514347(0x21d),_0x338f83[_0x338f83['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x514347(0x2d2),_0x338f83[_0x338f83[_0x514347(0x351)]=0x1773]=_0x514347(0x351),_0x338f83[_0x338f83[_0x514347(0x263)]=0x1b59]=_0x514347(0x263),_0x338f83[_0x338f83['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x338f83[_0x338f83[_0x514347(0x371)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x338f83[_0x338f83[_0x514347(0x210)]=0x1b5c]=_0x514347(0x210),_0x338f83[_0x338f83[_0x514347(0x1ea)]=0x1b5d]=_0x514347(0x1ea),_0x338f83[_0x338f83['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x514347(0x2e1),_0x338f83[_0x338f83['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x514347(0x275),_0x338f83[_0x338f83['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x514347(0x1ac),_0x338f83[_0x338f83[_0x514347(0x24a)]=0x232b]=_0x514347(0x24a),_0x338f83[_0x338f83[_0x514347(0x30d)]=0x232c]=_0x514347(0x30d),_0x338f83[_0x338f83[_0x514347(0x343)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x338f83[_0x338f83[_0x514347(0x314)]=0x2711]=_0x514347(0x314),_0x338f83[_0x338f83[_0x514347(0x32d)]=0x2712]=_0x514347(0x32d),_0x338f83[_0x338f83[_0x514347(0x1a0)]=0x2713]=_0x514347(0x1a0),_0x338f83[_0x338f83[_0x514347(0x1c8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x338f83[_0x338f83['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x338f83[_0x338f83[_0x514347(0x1c6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x338f83[_0x338f83['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x514347(0x366),_0x338f83[_0x338f83[_0x514347(0x2df)]=0x271d]=_0x514347(0x2df),_0x338f83[_0x338f83[_0x514347(0x30f)]=0x271e]=_0x514347(0x30f),_0x338f83[_0x338f83['YUUMI_AI_RUN_FAILED']=0x271f]=_0x514347(0x1a7),_0x338f83[_0x338f83[_0x514347(0x207)]=0x2720]=_0x514347(0x207),_0x338f83[_0x338f83[_0x514347(0x329)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x338f83[_0x338f83[_0x514347(0x180)]=0x2ee1]=_0x514347(0x180),_0x338f83[_0x338f83[_0x514347(0x17b)]=0x2ee2]=_0x514347(0x17b),_0x338f83[_0x338f83[_0x514347(0x290)]=0x2ee3]=_0x514347(0x290),_0x338f83[_0x338f83[_0x514347(0x1fb)]=0x2ee4]=_0x514347(0x1fb),_0x338f83[_0x338f83[_0x514347(0x1e5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x338f83[_0x338f83[_0x514347(0x26b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x338f83[_0x338f83[_0x514347(0x1dc)]=0x32ca]=_0x514347(0x1dc),_0x338f83[_0x338f83[_0x514347(0x29e)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x338f83[_0x338f83[_0x514347(0x280)]=-0x1]=_0x514347(0x280),_0x338f83))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4c6004,_0x691427,_0x4172b7,_0x3bd28a)=>{const _0xf5426a=_0x514347;for(var _0x50870c=_0x3bd28a>0x1?void 0x0:_0x3bd28a?pn(_0x691427,_0x4172b7):_0x691427,_0x2cf644=_0x4c6004[_0xf5426a(0x374)]-0x1,_0x482623;_0x2cf644>=0x0;_0x2cf644--)(_0x482623=_0x4c6004[_0x2cf644])&&(_0x50870c=_0x482623(_0x50870c)||_0x50870c);return _0x50870c;},be=(_0x49e5d3,_0x37cfe9)=>(_0x2aa75c,_0x1ac18f)=>_0x37cfe9(_0x2aa75c,_0x1ac18f,_0x49e5d3);let nt=class extends _0x6ab83e{constructor(_0x5dc6a5,_0x1eca2f,_0x1fcbc7){const _0x6deaa8=_0x514347;super(),this[_0x6deaa8(0x28d)]=_0x5dc6a5,this[_0x6deaa8(0x2ed)]=_0x1eca2f,this['_configService']=_0x1fcbc7;}async['runOnServer'](_0x32de58,_0x1276fd,_0x2fcb58,..._0x2f0e6e){const _0x1fb40=_0x514347;var _0x16907c,_0x3fadad,_0x44ebcb,_0x3bfd0b;const _0x4f0f3d=this[_0x1fb40(0x28d)][_0x1fb40(0x20f)]();if(!_0x4f0f3d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3c3716=((_0x16907c=this[_0x1fb40(0x33c)][_0x1fb40(0x349)](_0x2c641c))!=null?_0x16907c:_0x29344e)+'/'+_0x32de58+_0x1fb40(0x29d)+_0x1276fd,_0x161d19=new URL(window[_0x1fb40(0x365)]['href']),_0x28a832={'scriptId':_0x32de58,'runId':(_0x3fadad=_0x161d19['searchParams'][_0x1fb40(0x1af)](_0x1fb40(0x33f)))!=null?_0x3fadad:'','function':_0x1276fd,'unitId':_0x4f0f3d[_0x1fb40(0x37d)](),'argsOfFunction':JSON['stringify'](_0x2f0e6e),'invokeId':(_0x44ebcb=_0x2fcb58['invokeId'])!=null?_0x44ebcb:'','executionId':(_0x3bfd0b=_0x2fcb58[_0x1fb40(0x2cc)])!=null?_0x3bfd0b:''};try{const _0x3b725c=await this['_httpService'][_0x1fb40(0x1bc)](_0x3c3716,{'body':_0x28a832});return _0x3b725c['body']['error']&&_0x3b725c['body']['error'][_0x1fb40(0x246)]!==Lt['OK']?_0x1fb40(0x283):_0x3b725c['body']['result'];}catch{return _0x1fb40(0x283);}}};nt=Cn([be(0x0,_0x2ec70f),be(0x1,_0x199102(_0x327d2c)),be(0x2,_0xf9f7e9)],nt);const rt=0x7530,ot=_0x514347(0x2be);function _0x434e(){const _0x3e288f=['WECHAT_HAS_BEEN_BOUND','collabStatus.notCollab','INTERNAL_ERROR','urlChange$','with','_hideTimer','_updateLocalCursor','...','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_colorIndex','LICENSE_MAX_UNITS_EXCEEDED','replaceState','_draw','_docSkeletonManagerService','all','pipe','requireSession','collabStatus.fetchMiss','off-line-icon_clip0_910_343','_ensureSubject','map','UNRECOGNIZED','onMouseMove','addClipboardHook','Failed','_docTransformIMECacheService','[CollaborationDataLoaderController]','_uiPartsService','PENDING','_setupBeforeClosingHandler','some','getUnhiddenWorksheets','_eventUnsubscribe','fill','_instanceService','RemoveRowCommandId','unitID','INVITE_CODE_REQUIRED','children','imageSourceType','setParam','24HLCrtW','UNDEFINED','round','onPointerEnter$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addObjects','setShapeProps','popstate','mutations','/run/','EMAIL_HAS_BEEN_BOUND','range','_registerDependencies','_unitStatus','OFFLINE','transform','15361TJWZMA','_transformUndoRedoStack','_init','setConfig','UNAUTHENTICATED','currentSkeleton$','getSheetId','_toggleOnline','disposeUnit','add','hide','div','1863otCUDU','row','skeleton','unit','UniverIcon','getCurrentSelections','subunit','collabStatus.offline','registerComponent','_cursor','_onCursorDelete','roomMembers$','assignAColorForMemberID','getViewport','ACTIVE_UNIT_EVENT_CHANNEL','drawWith','reconnect','replaceDocRanges','getOwnPropertySymbols','_onCursorUpdate','from','getAncestorScale','dispose','addEventListener','disableLocalCache','_localStorageService','subscribeEvent','function','executionId','svg','DeleteRangeMoveUpCommandId','bottom','none','setUndoRedoMutationParamsCache','SNAPSHOT_HAS_BEEN_REMOVED','FromArray','0\x200\x2016\x2016','_cursorShapes','_initStatusComponent','onStarting','symbol','cursorInfo','collaboration.single-unit.warning','getSheetBySheetId','source','collabStatus.syncing','updateOfflineData','YUUMI_ALL_TABLES_IS_INVALID','716620pGOSxm','CONNECTOR_DATA_TOO_LARGE','_collabCursorController','width','_hovered','then','saveTaskMap','jiqing.500','session.connection-failed','PERMISSION_DENIED','_heartbeatTimer','debug','idSuffix','_httpService','transformStateCache','registerBeforeClose','trim','fillRule','INVALID_ARGUMENT','show','UNIVER_SHEET','subscribe','36eiMjMz','url(#off-line-icon_clip0_910_343)','isActive','_commandService','forEach','univerjs-icon\x20univerjs-icon-','string','RECT','_updateSubUnitFromURLParams','_colorAssignService','on-line-icon','endColumn','redoState','LOGIN_FAILED','_setupSubUnitSync','deepClone','text','assign','restore','1790040AgsvXR','_refreshCollabCursors','SOCKET_FAILED_RETRY','HEADER_MENU','LICENSE_EXPORT_SIZE_EXCEEDED','_createSocketURL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','tag','getOffsetConfig','doc.mutation.rich-text-editing','height','YUUMI_UNABLE_LOAD_URL','propertyIsEnumerable','_localeService','transformMutationsWithChangeset','_range','actions','_themeService','clearInterval','event$','moveTo','newValue','executeCommand','_memberService','_cachedData','_initDependencies','_renderManagerService','_transformHistoryAndStateStack','UPDATE_CURSOR','getDocRanges','_transformPreviousActiveRange','error','PY_RUNTIME_SCRIPT_ERROR','1em','M0\x200H16V16H0z','getStateCache','YUUMI_URL_COL_OUT_OF_RANGE','collab-text-anchor-','_name','_online','_urlService','data','_drawTextRange','_dataLoaderService','substring','getRenderById','NOT_COLLAB','http://www.w3.org/2000/svg','_initCommandExecutedListener','transformSelections','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','_configService','OTHER_CLIENTS_EDITING','asObservable','runId','mask','setTimeout','_logService','LICENSE_DISTRO_REJECTED','getValue','textRanges','delete','#FFF','defineProperty','getConfig','_transformService','url(#$1','DeleteRangeMoveLeftCommandId','push','_handleEvent','InsertRangeMoveRightCommandId','InsertColCommandId','ENSURE_SNAPSHOT_EXECUTION','_imageIoService','_getAnchorBounding','_entities','loadOfflineData','clearTimeout','measureText','_collabCursorState$','univer-mr-2\x20univer-flex\x20univer-text-xl','_removeClearOtherTimer','concat','unload','_hover','name','getActiveSheet','_handleJoinEvent','path','extend','_selfUnitIDs','SYNCED','location','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_startSheetCollabCursor','_refRangeService','setActiveRange','getMemberID','ONLINE','EMAIL_VERIFY_CODE_MISMATCH','init','unitId','_anchorDot','_session','APPLY_REVISION_CONFILICT','749802vsTvvr','_sheetSkeletonManagerService','length','ticket','next','currentColor','registerRefRange','fillText','_initStatusListener','ranges','getMergeData','getUnitId','collaboration-client-ui.config','_getSaveTimeout','_lastPointer','getMember','enableLocalCache','INVALID_INVITE_CODE','unshift','getTypeOfUnitDisposed$','getTypeOfUnitAdded$','Warning','INVITE_CODE_HAS_BEEN_UES','toString','clipPath','setInterval','undoState','startRow','random','eventID','transformIMECache','NOT_FOUND','dispose$','onCommandExecuted','_backgroundColor','status$','_saveTaskMap','_labelPosition','getOwnPropertyDescriptor','_entityInit$','_scene','cursorInfo$','getColorFromTheme','_cursorInfo$','save','_docStateChangeManagerService','JOIN_ROOM_FAILED','_status$','hasOwnProperty','TEXT','_color','href','defIds','displayName','YUUMI_RATE_OVER_LIMIT','white','registerRenderModule','attrs','collab-client.tooltip.reconnect','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','YUUMI_AI_RUN_FAILED','stringify','override','CHANGESET_REVISION_CONFILICT','_scheduleClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','findNodePositionByCharIndex','selections','get','_scheduleHeartbeat','_initEvent','_drawRectRange','Error','endRow','colorChannel1','InsertRowCommandId','onRendered','1066584xUwZEY','saveImage','_docSkeleton','_assignedColors','post','onTransformChange$','sheetId','type','session.will-retry','getCurrentUnitForType','complete','_updateURLWithCurrentState','univer-flex\x20univer-items-center','ALREADY_EXISTS','YUUMI_ASYNCIO_CANCELLED','icon','YUUMI_SUBSCRIPTION_NOT_FOUND','NO_OTHER_CLIENTS_EDITING','_id','engine','SUBMIT_CHANGESET_TIMEOUT','addObject','wsSessionTicketUrl','translate(.97)','getCurrent','_document','CONFLICT','search','_injector','_unitOnClients','history','collaboration-client.offline-data-not-saved','selection','_render','getItem','entityInit$','MOBILE_HAS_BEEN_BOUND','entries','getActiveRange','_config','top','_getMergeRange','set','collab-text-range-','_updateCollabCursors','INVITE_CODE_ALREADY_BOUND','xlink:href','onPointerMove$','pushState','getRangePointData','APPLY_DUPLICATED','_initEntityListener','unsubscribe','send','_cursors','arc','getParam','AWAITING_WITH_PENDING','color','transformMutation','VIEW_MAIN','_context','UNIVER_DOC','_initResize','_collaborationController','apply','saveOfflineData','USER_NOT_INVITED_CODE','focused$','MOBILE_VERIFY_CODE_MISMATCH','sessionTicket','_revisionService','activeSheet$','collabStatus.conflict','_docTransformStateCacheService','syncEditingCollabCursor','533687QsYUZf','font','_textBubble','YUUMI_CONNECTOR_URL_NOT_FOUND','origin','lineTo','exhaustSavingTask','getUniverSheetInstance','has','session.collaboration-timeout','transformRemoteChangeset','getFocusedUnit','APPLY_PERMISSION_DENIED','evenodd','_saveCache','_beforeCloseService','_getSessionTicket','black','green.600','SOCKET_FAILED','getVpScrollXYInfoByPosToVp','removeParam','_handleLeaveEvent','replace','createInstance','SNAPSHOT_INVALID_SNAPSHOT','_handleHover','_localCacheService','toRgbString','_clearOtherTimers','application/json','_getSheetObject','body','_toggleOffline','key','_startDocCollabCursor','_roomMembers$','resize','sessionStatus$','_shapes','_docTransformSelectionsService','onPointerLeave$','collabStatus.synced','rgba(255,\x20255,\x20255,\x200.01)','m2Prime','_docSyncEditingCollabCursorService','find','_anchor','currentTheme$','_scheduleSaving','CLOSE_ROOM','_collabSessionService','split','docStateChange$','_drawAnchor','setItem','on-line-icon_clip0_910_349','beginPath','_handleHeartbeatEvent','_removeCollabCursors','backgroundColor','_docClipboardService','defs','getCollabCursors$','_send','collaboration.closeRoom','code','max','isEditing','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','LICENSE_IMPORT_SIZE_EXCEEDED','params','addHandlerCallback','setAlpha','call','hovered','_collaborationUIEventService','className','0\x200\x2017\x2016','min','_disabled','size','fillStyle','includes','searchParams','memberID','setStateCache','_univerInstanceService','m1Prime','41700JRuXPv','getUndoRedoMutationParamsCache','permission.title','AWAITING','prototype','_messageService','APPLY_REJECT','labelPosition','values','disposeWithMe','roomMembers','USERS_LEAVE','collabCursorState$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED'];_0x434e=function(){return _0x3e288f;};return _0x434e();}class Fn extends _0x6ab83e{constructor(){const _0x4af2ef=_0x514347;super(),_(this,_0x4af2ef(0x1ca),_0x5b1fc8()),_(this,_0x4af2ef(0x363),new Set()),_(this,_0x4af2ef(0x1d5),new Map()),_(this,_0x4af2ef(0x2ea),null),_(this,_0x4af2ef(0x221),new Map()),_(this,'_unitStatus',new Map()),this[_0x4af2ef(0x2a6)]();}[_0x514347(0x2c6)](){const _0x31538c=_0x514347;super[_0x31538c(0x2c6)](),this['_clearOtherTimers'][_0x31538c(0x2fa)]((_0x2fa4a4,_0x2b42ec)=>this[_0x31538c(0x35a)](_0x2b42ec)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x31538c(0x2ea)]);}['getUnitStatus$'](_0x492beb){const _0x1e4015=_0x514347;return this[_0x1e4015(0x27e)](_0x492beb)[_0x1e4015(0x27a)](_0x450ef9());}['editingUnit'](_0x36327e){const _0x111db0=_0x514347;this[_0x111db0(0x363)][_0x111db0(0x255)]===0x0&&this[_0x111db0(0x1b0)](),this['_selfUnitIDs'][_0x111db0(0x2ad)](_0x36327e),this['_send']({'type':0x0,'memberID':this[_0x111db0(0x1ca)],'unitIDs':[_0x36327e],'isForwarded':!0x1});}[_0x514347(0x2ac)](_0x501a54){const _0x67d519=_0x514347;this[_0x67d519(0x363)][_0x67d519(0x346)](_0x501a54),this[_0x67d519(0x363)][_0x67d519(0x255)]===0x0&&this[_0x67d519(0x2ea)]&&window[_0x67d519(0x31b)](this[_0x67d519(0x2ea)]);}[_0x514347(0x2a6)](){const _0x4e8f3a=_0x514347;this[_0x4e8f3a(0x266)](_0xe19ae0(_0xd74d5e(window,'storage')[_0x4e8f3a(0x2f5)](_0x12d8f7=>{const _0x2d6341=_0x4e8f3a;if(_0x12d8f7[_0x2d6341(0x226)]!==ot||!_0x12d8f7[_0x2d6341(0x31e)])return;const _0x1bff7a=JSON['parse'](_0x12d8f7[_0x2d6341(0x31e)]);this[_0x2d6341(0x34e)](_0x1bff7a);}))),window[_0x4e8f3a(0x2c7)](_0x4e8f3a(0x35c),()=>this[_0x4e8f3a(0x244)]({'type':0x1,'memberID':this[_0x4e8f3a(0x1ca)],'unitIDs':Array[_0x4e8f3a(0x2c4)](this[_0x4e8f3a(0x363)])}));}['_handleEvent'](_0x5070d5){const _0x2deaba=_0x514347;switch(_0x5070d5[_0x2deaba(0x1bf)]){case 0x0:this[_0x2deaba(0x360)](_0x5070d5);break;case 0x1:this[_0x2deaba(0x21a)](_0x5070d5);break;case 0x2:this[_0x2deaba(0x23e)](_0x5070d5);break;}}[_0x514347(0x360)](_0x317b42){const _0x13c1b2=_0x514347,{unitIDs:_0x27ad0f,memberID:_0x5c5f3d,isForwarded:_0x32d050}=_0x317b42;_0x27ad0f['forEach'](_0x3a14e8=>{const _0x1ac645=_0x35fb;if(!_0x32d050&&this[_0x1ac645(0x1d5)][_0x1ac645(0x20c)](_0x3a14e8)&&this[_0x1ac645(0x27e)](_0x3a14e8)['next'](_0x391b6b['OTHER_CLIENTS_EDITING']),!this[_0x1ac645(0x1d5)][_0x1ac645(0x20c)](_0x3a14e8)||!this['_unitOnClients'][_0x1ac645(0x1af)](_0x3a14e8)[_0x1ac645(0x20c)](_0x5c5f3d)){const _0x45505c=this[_0x1ac645(0x1d5)][_0x1ac645(0x1af)](_0x3a14e8)||new Set();_0x45505c[_0x1ac645(0x2ad)](_0x5c5f3d),this['_unitOnClients']['set'](_0x3a14e8,_0x45505c),this['_scheduleClearOtherTimer'](_0x5c5f3d);}}),_0x32d050||this[_0x13c1b2(0x244)]({'type':0x0,'memberID':this[_0x13c1b2(0x1ca)],'unitIDs':[...this[_0x13c1b2(0x363)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x138863){const _0x5c94dc=_0x514347;this[_0x5c94dc(0x35a)](_0x138863);const _0x3f939b=window[_0x5c94dc(0x341)](()=>{const _0x2980ce=_0x5c94dc;this[_0x2980ce(0x1d5)]['forEach'](_0x2ca0ef=>{const _0x331e89=_0x2980ce;_0x2ca0ef[_0x331e89(0x346)](_0x138863);});},rt*0x2);this[_0x5c94dc(0x221)][_0x5c94dc(0x1e2)](_0x138863,_0x3f939b);}['_removeClearOtherTimer'](_0x49a290){const _0x128457=_0x514347;if(this[_0x128457(0x221)]['has'](_0x49a290)){const _0x219a0f=this[_0x128457(0x221)][_0x128457(0x1af)](_0x49a290);_0x219a0f&&window[_0x128457(0x356)](_0x219a0f),this['_clearOtherTimers']['set'](_0x49a290,null);}}[_0x514347(0x21a)](_0x1df218){const _0x1f1836=_0x514347,{memberID:_0x1306d7,unitIDs:_0x38b378}=_0x1df218;_0x38b378[_0x1f1836(0x2fa)](_0x597b48=>{const _0x1765e0=_0x1f1836;var _0x126d8b;const _0x3293d2=this[_0x1765e0(0x1d5)]['get'](_0x597b48);_0x3293d2&&(_0x3293d2[_0x1765e0(0x346)](_0x1306d7),(_0x126d8b=this[_0x1765e0(0x27e)](_0x597b48))==null||_0x126d8b[_0x1765e0(0x376)](_0x3293d2[_0x1765e0(0x255)]===0x0?_0x391b6b[_0x1765e0(0x1c9)]:_0x391b6b[_0x1765e0(0x33d)]));}),this[_0x1f1836(0x35a)](_0x1306d7);}['_handleHeartbeatEvent'](_0x4e36a8){const _0x3faace=_0x514347;this[_0x3faace(0x1ab)](_0x4e36a8[_0x3faace(0x259)]);}[_0x514347(0x244)](_0x1c8c73){const _0x439194=_0x514347;localStorage[_0x439194(0x23b)](ot,JSON[_0x439194(0x1a8)](_0x1c8c73));}[_0x514347(0x1b0)](){const _0x31d8b5=_0x514347;this[_0x31d8b5(0x2ea)]=window[_0x31d8b5(0x183)](()=>{const _0x566660=_0x31d8b5;this['_send']({'type':0x2,'memberID':this[_0x566660(0x1ca)]});},rt);}[_0x514347(0x27e)](_0x47c961){const _0x2fad72=_0x514347;return this[_0x2fad72(0x2a1)][_0x2fad72(0x20c)](_0x47c961)||this[_0x2fad72(0x2a1)][_0x2fad72(0x1e2)](_0x47c961,new _0x59c4e2(_0x391b6b['NO_OTHER_CLIENTS_EDITING'])),this[_0x2fad72(0x2a1)][_0x2fad72(0x1af)](_0x47c961);}}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 _0x7bdef9=_0x2ab1;(function(_0x2cc779,_0x3230f2){const _0x51357f=_0x2ab1,_0x299d29=_0x2cc779();while(!![]){try{const _0x260e57=-parseInt(_0x51357f(0x2ac))/0x1*(-parseInt(_0x51357f(0x2c1))/0x2)+parseInt(_0x51357f(0x333))/0x3+-parseInt(_0x51357f(0x262))/0x4*(-parseInt(_0x51357f(0x217))/0x5)+parseInt(_0x51357f(0x1f5))/0x6*(parseInt(_0x51357f(0x24e))/0x7)+-parseInt(_0x51357f(0x372))/0x8+parseInt(_0x51357f(0x342))/0x9+-parseInt(_0x51357f(0x332))/0xa*(parseInt(_0x51357f(0x335))/0xb);if(_0x260e57===_0x3230f2)break;else _0x299d29['push'](_0x299d29['shift']());}catch(_0x37c66f){_0x299d29['push'](_0x299d29['shift']());}}}(_0x1639,0x1e2b9));var xt=Object['defineProperty'],Bt=(_0x4b3cfc,_0x3a79ff,_0x5bb627)=>_0x3a79ff in _0x4b3cfc?xt(_0x4b3cfc,_0x3a79ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bb627}):_0x4b3cfc[_0x3a79ff]=_0x5bb627,_=(_0x983406,_0x2936aa,_0x134281)=>Bt(_0x983406,typeof _0x2936aa!='symbol'?_0x2936aa+'':_0x2936aa,_0x134281);import{jsx as _0xa728f4,jsxs as _0x5db9ad}from'react/jsx-runtime';import{CollaborationStatus as _0x5b4a83,CollaborationSessionService as _0x4730f2,CollaborationController as _0x4ca7db,DataLoaderService as _0x8363bf,MemberService as _0xbb3a41,SessionStatus as _0x13197d,ILocalCacheService as _0x54e499,CollaborationUIEventService as _0x5d11d7,CollaborationUIEventId as _0x4ea152,DocCollaborationEntity as _0x138107,getLocalCacheKey as _0x155a1f,LOCAL_CACHE_INTERVAL as _0x552100,LOCAL_CACHE_INTERVAL_KEY as _0x1e2002,UniverCollaborationClientPlugin as _0x1a5fa8,CollaborationSocketService as _0x2c4830,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5d2254,DEFAULT_WS_SESSION_TICKET_URL as _0x5e8a35,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1d4044,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x36c691,UnitStatus as _0x20629e}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x157089,IUniverInstanceService as _0x16a5a2,Inject as _0x28e459,Injector as _0x5706a4,Disposable as _0x5f8b08,createIdentifier as _0x6ba680,ILogService as _0x2e81d3,ICommandService as _0x5f4771,Optional as _0x8b30ac,RxDisposable as _0x5cab1a,Workbook as _0x433c83,DOC_RANGE_TYPE as _0x3b3bc6,debounce as _0x56d432,Rectangle as _0x26a094,DisposableCollection as _0x381fdb,toDisposable as _0x3b8fd3,UniverInstanceType as _0x30fe4c,generateRandomId as _0x2f2dad,COLORS as _0xe40f77,ColorKit as _0x277a83,ThemeService as _0x4580bb,fromEventSubject as _0x20cd4c,Tools as _0x18fe65,CommandType as _0x5f54ad,IConfigService as _0x54983c,ILocalStorageService as _0x4bd2f1,DependentOn as _0x433821,Plugin as _0x3a4470,merge as _0x512149,registerDependencies as _0x2d2570,mergeOverrideWithDependencies as _0x1c6182,touchDependencies as _0x1da899}from'@univerjs/core';import{useObservable as _0x159644,useDependency as _0x214a8e,IUIPartsService as _0x32844c,BuiltInUIPart as _0x4a33ab,connectInjector as _0x546a0f,IBeforeCloseService as _0xd3bcc7,IMessageService as _0x1eebbb,INotificationService as _0xf370a}from'@univerjs/ui';import{BehaviorSubject as _0xf21850,switchMap as _0x14fe73,of as _0x3269bf,takeUntil as _0x585971,debounceTime as _0x55601b,Subject as _0x33c498,filter as _0xabc5cb,merge as _0x5f0d8c,combineLatest as _0x513ccb,fromEvent as _0xe3cc5e,shareReplay as _0x2e1b4d,mapTo as _0x5e4884,distinctUntilChanged as _0x33564c}from'rxjs';import{Tooltip as _0xf22e1,clsx as _0x551513,MessageType as _0x5c3688}from'@univerjs/design';import{forwardRef as _0x3de126,useRef as _0x2abf8e,createElement as _0x320542,useCallback as _0xa6a1e2}from'react';import{IRemoteInstanceService as _0x369fd8}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x31df4e,RefRangeService as _0x2981af,SetSelectionsOperation as _0x3eb0de,SheetsSelectionsService as _0x4e72ca,EffectRefRangId as _0x17a34a,handleIRemoveRow as _0x167fab,handleIRemoveCol as _0x51dfa0,handleMoveRange as _0x1cf45f,handleInsertRow as _0x325418,handleInsertRangeMoveRight as _0x858bca,handleInsertRangeMoveDown as _0x4242c3,handleInsertCol as _0x3d7da7,handleDeleteRangeMoveUp as _0x186acc,handleDeleteRangeMoveLeft as _0xc653b3,runRefRangeMutations as _0x25b2da}from'@univerjs/sheets';import{Shape as _0x469096,Rect as _0x17d9e4,getColor as _0x947e3e,RegularPolygon as _0x5c2d7a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x18cc1e,Vector2 as _0x380419,SHEET_VIEWPORT_KEY as _0x58dfdc,IRenderManagerService as _0x56d891}from'@univerjs/engine-render';import{ISocketService as _0x4f27e6,WebSocketService as _0x2595d6,HTTPService as _0x1c3c2d}from'@univerjs/network';import{IDocClipboardService as _0xb60b38,NodePositionConvertToCursor as _0x23a61d,NodePositionConvertToRectRange as _0x2ed1e2,TEXT_RANGE_LAYER_INDEX as _0x5cf034,SetDocZoomRatioOperation as _0x3bb030,DocIMEInputManagerService as _0x360055,DocStateChangeManagerService as _0x177418}from'@univerjs/docs-ui';import{IImageIoService as _0x9ccccc}from'@univerjs/drawing';import{ITransformService as _0x51afb8,CollaborationEvent as _0xb0a477,isTransformMutationFailure as _0x1db28a,isTransformMutationsWithChangesetSuccess as _0x3cfba8,RevisionService as _0x42e7a9,ISnapshotServerService as _0xbb987f}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4605ac,RichTextEditingMutation as _0x13cfe6,DocSelectionManagerService as _0x4c3c8c,DocSkeletonManagerService as _0x26942d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x38f162,serializeRangeWithSheet as _0x3e6f31}from'@univerjs/engine-formula';import{map as _0x4f6aa0,filter as _0x3e50b8,throttleTime as _0x180f5e,takeUntil as _0x581be8,switchMap as _0xc6dfa8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x51a48d,getCoordByCell as _0x49cbb2,getSheetObject as _0x44d870}from'@univerjs/sheets-ui';var v=function(){return v=Object['assign']||function(_0x282d5c){const _0x30795a=_0x2ab1;for(var _0x89f48f,_0x6782=0x1,_0x2cbf4e=arguments['length'];_0x6782<_0x2cbf4e;_0x6782++){_0x89f48f=arguments[_0x6782];for(var _0x31702c in _0x89f48f)Object[_0x30795a(0x247)][_0x30795a(0x2cb)]['call'](_0x89f48f,_0x31702c)&&(_0x282d5c[_0x31702c]=_0x89f48f[_0x31702c]);}return _0x282d5c;},v['apply'](this,arguments);},ci=function(_0x3980c9,_0xff91f9){const _0x5c0e65=_0x2ab1;var _0x13d1c1={};for(var _0x6413c4 in _0x3980c9)Object['prototype'][_0x5c0e65(0x2cb)]['call'](_0x3980c9,_0x6413c4)&&_0xff91f9['indexOf'](_0x6413c4)<0x0&&(_0x13d1c1[_0x6413c4]=_0x3980c9[_0x6413c4]);if(_0x3980c9!=null&&typeof Object['getOwnPropertySymbols']==_0x5c0e65(0x1f7)){for(var _0x2b16cb=0x0,_0x6413c4=Object['getOwnPropertySymbols'](_0x3980c9);_0x2b16cb<_0x6413c4[_0x5c0e65(0x3e1)];_0x2b16cb++)_0xff91f9['indexOf'](_0x6413c4[_0x2b16cb])<0x0&&Object[_0x5c0e65(0x247)][_0x5c0e65(0x252)][_0x5c0e65(0x291)](_0x3980c9,_0x6413c4[_0x2b16cb])&&(_0x13d1c1[_0x6413c4[_0x2b16cb]]=_0x3980c9[_0x6413c4[_0x2b16cb]]);}return _0x13d1c1;},ke=_0x3de126(function(_0x37da85,_0x20eb4d){const _0x3635b5=_0x2ab1;var _0x5aedbe=_0x37da85[_0x3635b5(0x1fa)],_0x2b7978=_0x37da85['id'],_0x1baeac=_0x37da85['className'],_0x1a02c0=_0x37da85[_0x3635b5(0x2bf)],_0x5c6674=ci(_0x37da85,[_0x3635b5(0x1fa),'id',_0x3635b5(0x345),_0x3635b5(0x2bf)]),_0x26e451='univerjs-icon\x20univerjs-icon-'[_0x3635b5(0x3db)](_0x2b7978,'\x20')[_0x3635b5(0x3db)](_0x1baeac||'')[_0x3635b5(0x222)](),_0x4734d5=_0x2abf8e('_'['concat'](hi()));return Rt(_0x5aedbe,''[_0x3635b5(0x3db)](_0x2b7978),{'defIds':_0x5aedbe[_0x3635b5(0x281)],'idSuffix':_0x4734d5[_0x3635b5(0x338)]},v({'ref':_0x20eb4d,'className':_0x26e451},_0x5c6674),_0x1a02c0);});function Rt(_0x1aa8f2,_0x3a3cce,_0x5f1152,_0x5b5e8f,_0x2f2b44){const _0x3fddf1=_0x2ab1;return _0x320542(_0x1aa8f2[_0x3fddf1(0x2a8)],v(v({'key':_0x3a3cce},li(_0x1aa8f2,_0x5f1152,_0x2f2b44)),_0x5b5e8f),(_i(_0x1aa8f2,_0x5f1152)[_0x3fddf1(0x243)]||[])['map'](function(_0x5e08bf,_0x5c7879){const _0x282084=_0x3fddf1;return Rt(_0x5e08bf,''[_0x282084(0x3db)](_0x3a3cce,'-')[_0x282084(0x3db)](_0x1aa8f2[_0x282084(0x2a8)],'-')[_0x282084(0x3db)](_0x5c7879),_0x5f1152,void 0x0,_0x2f2b44);}));}function li(_0x370966,_0x33aed1,_0x340165){const _0x1fc977=_0x2ab1;var _0x639544=v({},_0x370966[_0x1fc977(0x39d)]);_0x340165!=null&&_0x340165[_0x1fc977(0x2e7)]&&_0x639544[_0x1fc977(0x272)]==='colorChannel1'&&(_0x639544[_0x1fc977(0x272)]=_0x340165[_0x1fc977(0x2e7)]),_0x370966[_0x1fc977(0x2a8)]===_0x1fc977(0x2d1)&&_0x639544['id']&&(_0x639544['id']=_0x639544['id']+_0x33aed1[_0x1fc977(0x2eb)]),Object['entries'](_0x639544)[_0x1fc977(0x306)](function(_0x1a63d0){const _0x112e92=_0x1fc977;var _0x36dd12=_0x1a63d0[0x0],_0x4afd03=_0x1a63d0[0x1];_0x36dd12===_0x112e92(0x2d1)&&typeof _0x4afd03==_0x112e92(0x296)&&(_0x639544[_0x36dd12]=_0x4afd03[_0x112e92(0x3c4)](/url\(#(.*)\)/,_0x112e92(0x265)[_0x112e92(0x3db)](_0x33aed1[_0x112e92(0x2eb)],')')));});var _0x460d92=_0x33aed1[_0x1fc977(0x281)];return!_0x460d92||_0x460d92[_0x1fc977(0x3e1)]===0x0||(_0x370966['tag']==='use'&&_0x639544[_0x1fc977(0x1f8)]&&(_0x639544['xlink:href']=_0x639544['xlink:href']+_0x33aed1[_0x1fc977(0x2eb)]),Object[_0x1fc977(0x32f)](_0x639544)[_0x1fc977(0x306)](function(_0x5cfe2b){const _0x1e29b3=_0x1fc977;var _0x36cdb0=_0x5cfe2b[0x0],_0x4798a4=_0x5cfe2b[0x1];typeof _0x4798a4==_0x1e29b3(0x296)&&(_0x639544[_0x36cdb0]=_0x4798a4['replace'](/url\(#(.*)\)/,_0x1e29b3(0x265)[_0x1e29b3(0x3db)](_0x33aed1['idSuffix'],')')));})),_0x639544;}function _i(_0x4004b2,_0x502ea3){const _0x40da57=_0x2ab1;var _0x516e8d,_0x551597=_0x502ea3[_0x40da57(0x281)];return!_0x551597||_0x551597['length']===0x0?_0x4004b2:_0x4004b2[_0x40da57(0x2a8)]==='defs'&&(!((_0x516e8d=_0x4004b2[_0x40da57(0x243)])===null||_0x516e8d===void 0x0)&&_0x516e8d[_0x40da57(0x3e1)])?v(v({},_0x4004b2),{'children':_0x4004b2['children'][_0x40da57(0x239)](function(_0x4e98a6){const _0x5537f9=_0x40da57;return typeof _0x4e98a6[_0x5537f9(0x39d)]['id']=='string'&&_0x551597&&_0x551597[_0x5537f9(0x23f)](_0x4e98a6[_0x5537f9(0x39d)]['id'])?v(v({},_0x4e98a6),{'attrs':v(v({},_0x4e98a6[_0x5537f9(0x39d)]),{'id':_0x4e98a6[_0x5537f9(0x39d)]['id']+_0x502ea3[_0x5537f9(0x2eb)]})}):_0x4e98a6;})}):_0x4004b2;}function hi(){const _0x5c7e34=_0x2ab1;return Math[_0x5c7e34(0x3bd)]()[_0x5c7e34(0x32c)](0x24)[_0x5c7e34(0x253)](0x2,0x8);}ke[_0x7bdef9(0x3b6)]=_0x7bdef9(0x30a);var ui={'tag':_0x7bdef9(0x2c9),'attrs':{'xmlns':_0x7bdef9(0x259),'fill':_0x7bdef9(0x3a3),'viewBox':_0x7bdef9(0x3a6),'width':'1em','height':_0x7bdef9(0x364)},'children':[{'tag':'g','attrs':{'clipPath':_0x7bdef9(0x2d4)},'children':[{'tag':'path','attrs':{'stroke':_0x7bdef9(0x2a9),'d':_0x7bdef9(0x244),'strokeLinecap':'round','strokeLinejoin':_0x7bdef9(0x1e3),'strokeWidth':1.2}}]},{'tag':_0x7bdef9(0x23b),'attrs':{},'children':[{'tag':_0x7bdef9(0x3c1),'attrs':{'id':_0x7bdef9(0x263)},'children':[{'tag':_0x7bdef9(0x2c8),'attrs':{'fill':'white','d':_0x7bdef9(0x398)}}]}]}],'defIds':[_0x7bdef9(0x263)]},Dt=_0x3de126(function(_0x4f8a93,_0x31f166){const _0x36b0af=_0x7bdef9;return _0x320542(ke,Object['assign']({},_0x4f8a93,{'id':_0x36b0af(0x2d6),'ref':_0x31f166,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x7bdef9(0x2c9),'attrs':{'xmlns':_0x7bdef9(0x259),'fill':_0x7bdef9(0x3a3),'viewBox':_0x7bdef9(0x23c),'width':_0x7bdef9(0x364),'height':_0x7bdef9(0x364)},'children':[{'tag':'g','attrs':{'clipPath':_0x7bdef9(0x377)},'children':[{'tag':_0x7bdef9(0x2c8),'attrs':{'stroke':_0x7bdef9(0x2a9),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x7bdef9(0x23b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x7bdef9(0x2d8)},'children':[{'tag':_0x7bdef9(0x2c8),'attrs':{'fill':_0x7bdef9(0x386),'d':_0x7bdef9(0x398),'transform':_0x7bdef9(0x3ac)}}]}]}],'defIds':[_0x7bdef9(0x2d8)]},Nt=_0x3de126(function(_0x5d29e5,_0x5ebc45){const _0x2da30a=_0x7bdef9;return _0x320542(ke,Object[_0x2da30a(0x26d)]({},_0x5d29e5,{'id':_0x2da30a(0x277),'ref':_0x5ebc45,'icon':di}));});Nt[_0x7bdef9(0x3b6)]=_0x7bdef9(0x2dc);function fi(_0x32764f){const _0xaf359f=_0x7bdef9;switch(_0x32764f){case _0x5b4a83[_0xaf359f(0x36c)]:return'collabStatus.offline';case _0x5b4a83[_0xaf359f(0x220)]:return _0xaf359f(0x34b);case _0x5b4a83[_0xaf359f(0x3ae)]:return _0xaf359f(0x236);case _0x5b4a83[_0xaf359f(0x2cc)]:return _0xaf359f(0x1fd);case _0x5b4a83[_0xaf359f(0x3a4)]:case _0x5b4a83[_0xaf359f(0x26a)]:return _0xaf359f(0x2ae);case _0x5b4a83[_0xaf359f(0x354)]:case _0x5b4a83[_0xaf359f(0x2a6)]:return'collabStatus.synced';}}function Si(_0x44a5c6){const {status$:_0x4bb96f}=_0x44a5c6,_0x2b2f9a=_0x159644(_0x4bb96f,_0x5b4a83['NOT_COLLAB']),_0x50847b=_0x214a8e(_0x157089),_0x324c3=_0x214a8e(_0x4730f2),_0x275c26=_0x2b2f9a!==_0x5b4a83['OFFLINE'],_0x2cb568=_0x50847b['t'](fi(_0x2b2f9a)),_0xcaffc2=_0x275c26?_0xa728f4(Nt,{}):_0xa728f4(Dt,{}),_0x3f1839=_0xa6a1e2(()=>{const _0x62d7d8=_0x2ab1;_0x275c26||_0x324c3[_0x62d7d8(0x38a)]();},[_0x275c26,_0x324c3]);function _0x557354(){const _0x313831=_0x2ab1;return _0x5db9ad(_0x313831(0x1df),{'className':_0x313831(0x361),'onClick':_0x3f1839,'children':[_0xa728f4(_0x313831(0x1df),{'className':_0x551513('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x275c26,'univer-text-red-500':!_0x275c26}),'children':_0xcaffc2}),_0xa728f4(_0x313831(0x1df),{'className':_0x313831(0x28e),'children':_0x2cb568})]});}return _0x275c26?_0x557354():_0xa728f4(_0xf22e1,{'title':_0x50847b['t']('collab-client.tooltip.reconnect'),'children':_0x557354()});}var mi=Object[_0x7bdef9(0x2a7)],Ii=(_0x3c5743,_0xfa5621,_0xaf47aa,_0x2d0d05)=>{const _0x32dfe0=_0x7bdef9;for(var _0x1d452f=_0x2d0d05>0x1?void 0x0:_0x2d0d05?mi(_0xfa5621,_0xaf47aa):_0xfa5621,_0xa2dec3=_0x3c5743[_0x32dfe0(0x3e1)]-0x1,_0x1c64c1;_0xa2dec3>=0x0;_0xa2dec3--)(_0x1c64c1=_0x3c5743[_0xa2dec3])&&(_0x1d452f=_0x1c64c1(_0x1d452f)||_0x1d452f);return _0x1d452f;},q=(_0x2dc169,_0x249ccd)=>(_0x18360f,_0x5259a2)=>_0x249ccd(_0x18360f,_0x5259a2,_0x2dc169);let se=class extends _0x5f8b08{constructor(_0x5c1903,_0x2ca222,_0xe94202,_0x1996c0){const _0x5656fe=_0x7bdef9;super(),_(this,'_status$',new _0xf21850(_0x5b4a83[_0x5656fe(0x2cc)])),(this[_0x5656fe(0x241)]=_0x5c1903,this['_injector']=_0x2ca222,this['_collaborationController']=_0xe94202,this[_0x5656fe(0x2df)]=_0x1996c0,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5ad612=_0x7bdef9;this[_0x5ad612(0x28a)](this['_univerInstanceService'][_0x5ad612(0x36e)][_0x5ad612(0x35a)](_0x14fe73(()=>{const _0x201a09=_0x5ad612,_0x537e12=this[_0x201a09(0x241)]['getFocusedUnit']();return _0x537e12?this[_0x201a09(0x376)][_0x201a09(0x246)](_0x537e12['getUnitId']()):_0x3269bf(null);}),_0x14fe73(_0x28ce02=>_0x28ce02?_0x28ce02[_0x5ad612(0x2f5)]:_0x3269bf(_0x5b4a83[_0x5ad612(0x2cc)])))['subscribe'](_0x5bef81=>{const _0x125c82=_0x5ad612;this[_0x125c82(0x303)][_0x125c82(0x299)](_0x5bef81);}));}[_0x7bdef9(0x2b9)](){const _0x40d1ad=_0x7bdef9;this['disposeWithMe'](this[_0x40d1ad(0x2df)][_0x40d1ad(0x290)](_0x4a33ab[_0x40d1ad(0x3cc)],()=>_0x546a0f(vi({'status$':this[_0x40d1ad(0x303)][_0x40d1ad(0x385)]()}),this[_0x40d1ad(0x371)])));}};function _0x2ab1(_0x5b98ed,_0x1754e3){const _0x16392f=_0x1639();return _0x2ab1=function(_0x2ab1ac,_0x2bd6ed){_0x2ab1ac=_0x2ab1ac-0x1da;let _0x2e6e12=_0x16392f[_0x2ab1ac];return _0x2e6e12;},_0x2ab1(_0x5b98ed,_0x1754e3);}se=Ii([q(0x0,_0x16a5a2),q(0x1,_0x28e459(_0x5706a4)),q(0x2,_0x28e459(_0x4ca7db)),q(0x3,_0x32844c)],se);function vi(_0x3304a9){const {status$:_0x58689d}=_0x3304a9;return function(){return _0xa728f4(Si,{'status$':_0x58689d});};}const Ut=_0x6ba680(_0x7bdef9(0x34f));var gi=Object[_0x7bdef9(0x2a7)],pi=(_0x37c1c1,_0x3c74e7,_0xfd6089,_0x59c30c)=>{const _0x503bbf=_0x7bdef9;for(var _0x3e7a64=_0x59c30c>0x1?void 0x0:_0x59c30c?gi(_0x3c74e7,_0xfd6089):_0x3c74e7,_0xed0bf2=_0x37c1c1[_0x503bbf(0x3e1)]-0x1,_0x38de3c;_0xed0bf2>=0x0;_0xed0bf2--)(_0x38de3c=_0x37c1c1[_0xed0bf2])&&(_0x3e7a64=_0x38de3c(_0x3e7a64)||_0x3e7a64);return _0x3e7a64;},G=(_0x288a6e,_0x258e81)=>(_0x2233fa,_0x48b762)=>_0x258e81(_0x2233fa,_0x48b762,_0x288a6e);let ie=class extends _0x5cab1a{constructor(_0x506253,_0x3dc8df,_0x294045,_0x2df74b,_0x259fdf){const _0x1a6097=_0x7bdef9;super(),this['_urlService']=_0x506253,this[_0x1a6097(0x3ee)]=_0x3dc8df,this[_0x1a6097(0x352)]=_0x294045,this[_0x1a6097(0x2b0)]=_0x2df74b,_0x259fdf?_0x259fdf==null||_0x259fdf['whenReady']()['then'](()=>this[_0x1a6097(0x373)]()):(this[_0x1a6097(0x3ee)][_0x1a6097(0x273)](_0x1a6097(0x3a0),_0x1a6097(0x347)),this[_0x1a6097(0x373)]());}async[_0x7bdef9(0x373)](){const _0x401760=_0x7bdef9,_0x207399=this[_0x401760(0x379)][_0x401760(0x2f7)](_0x401760(0x1e6)),_0x33b7dc=this[_0x401760(0x379)][_0x401760(0x2f7)](_0x401760(0x374)),_0x54e980=this[_0x401760(0x379)][_0x401760(0x2f7)](_0x401760(0x231));if(!_0x207399||!_0x33b7dc){this[_0x401760(0x3ee)][_0x401760(0x273)](_0x401760(0x3a0),_0x401760(0x2ce));return;}const _0x7286a7=await this[_0x401760(0x2b0)][_0x401760(0x391)](_0x207399,Number(_0x33b7dc),_0x54e980);_0x7286a7&&_0x7286a7 instanceof _0x433c83&&this[_0x401760(0x20f)](_0x7286a7);}async[_0x7bdef9(0x20f)](_0xaa459c){const _0x1f8785=_0x7bdef9;await this[_0x1f8785(0x3aa)](_0xaa459c),_0xaa459c[_0x1f8785(0x233)]['pipe'](_0x585971(this[_0x1f8785(0x228)]))[_0x1f8785(0x358)](_0x51b499=>{_0x51b499&&this['_updateURLWithCurrentState'](_0x51b499);}),this[_0x1f8785(0x379)][_0x1f8785(0x286)][_0x1f8785(0x35a)](_0x585971(this[_0x1f8785(0x228)]))[_0x1f8785(0x358)](()=>this[_0x1f8785(0x3aa)](_0xaa459c));}[_0x7bdef9(0x339)](_0x5a0416,_0x44525b=!0x1){const _0xf1a18a=_0x7bdef9,_0x358931=this['_urlService'][_0xf1a18a(0x2f7)](_0xf1a18a(0x231));_0x5a0416[_0xf1a18a(0x209)]()!==_0x358931&&this[_0xf1a18a(0x379)][_0xf1a18a(0x226)](_0xf1a18a(0x231),_0x5a0416[_0xf1a18a(0x209)](),_0x44525b);}async[_0x7bdef9(0x3aa)](_0x1a6690){const _0x1f68af=_0x7bdef9;var _0x12ffe1;const _0x2eeb42=this['_urlService']['getParam']('subunit');if(!_0x2eeb42||!_0x1a6690[_0x1f68af(0x2b6)](_0x2eeb42)){const _0x550007=_0x1a6690[_0x1f68af(0x221)]()[0x0],_0x3e7f01=_0x1a6690[_0x1f68af(0x2b6)](_0x550007);if(!_0x3e7f01)return;this[_0x1f68af(0x339)](_0x3e7f01,!0x0),await this['_commandService'][_0x1f68af(0x2fc)](_0x31df4e['id'],{'unitId':_0x1a6690[_0x1f68af(0x334)](),'subUnitId':_0x550007});return;}((_0x12ffe1=_0x1a6690[_0x1f68af(0x2f0)]())==null?void 0x0:_0x12ffe1[_0x1f68af(0x209)]())!==_0x2eeb42&&await this[_0x1f68af(0x352)][_0x1f68af(0x2fc)](_0x31df4e['id'],{'unitId':_0x1a6690[_0x1f68af(0x334)](),'subUnitId':_0x2eeb42});}};ie=pi([G(0x0,Ut),G(0x1,_0x2e81d3),G(0x2,_0x5f4771),G(0x3,_0x28e459(_0x8363bf)),G(0x4,_0x8b30ac(_0x369fd8))],ie);var Ci=Object[_0x7bdef9(0x2a7)],Ei=(_0xc4f4df,_0x4e29ef,_0x51c42f,_0x5d46b5)=>{const _0x28eed0=_0x7bdef9;for(var _0x577d6e=_0x5d46b5>0x1?void 0x0:_0x5d46b5?Ci(_0x4e29ef,_0x51c42f):_0x4e29ef,_0x5a1412=_0xc4f4df[_0x28eed0(0x3e1)]-0x1,_0x2e2e35;_0x5a1412>=0x0;_0x5a1412--)(_0x2e2e35=_0xc4f4df[_0x5a1412])&&(_0x577d6e=_0x2e2e35(_0x577d6e)||_0x577d6e);return _0x577d6e;},Je=(_0x4484fb,_0x170559)=>(_0x48d8df,_0x43161c)=>_0x170559(_0x48d8df,_0x43161c,_0x4484fb);let Ne=class extends _0x5cab1a{constructor(_0x7d15f7,_0x296860){const _0x206b09=_0x7bdef9;super(),this[_0x206b09(0x302)]=_0x7d15f7,this[_0x206b09(0x2c0)]=_0x296860,this[_0x206b09(0x373)]();}[_0x7bdef9(0x373)](){const _0x2677f1=_0x7bdef9,_0x5aa051=this;this[_0x2677f1(0x28a)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4b7fc9=>{const _0x3b5d85=_0x2677f1,_0xa6a89b=await _0x5aa051[_0x3b5d85(0x2c0)][_0x3b5d85(0x2c3)](_0x4b7fc9);return _0xa6a89b?{'source':_0xa6a89b[_0x3b5d85(0x3a7)],'imageSourceType':_0xa6a89b[_0x3b5d85(0x3da)]}:null;}}));}};Ne=Ei([Je(0x0,_0xb60b38),Je(0x1,_0x9ccccc)],Ne);const Ze=[_0x7bdef9(0x224),'jiqing.500','green.600',_0x7bdef9(0x2f8),_0x7bdef9(0x25e),_0x7bdef9(0x2aa)];class He extends _0x5f8b08{constructor(){const _0x596fdb=_0x7bdef9;super(...arguments),_(this,_0x596fdb(0x269),new Map()),_(this,_0x596fdb(0x2f4),0x0);}['assignAColorForMemberID'](_0x2e8ff3){const _0x24d639=_0x7bdef9;if(this['_assignedColors'][_0x24d639(0x2c4)](_0x2e8ff3))return this[_0x24d639(0x269)][_0x24d639(0x1fe)](_0x2e8ff3);const _0x69e3f6=Ze[this['_colorIndex']];return this[_0x24d639(0x2f4)]=(this[_0x24d639(0x2f4)]+0x1)%Ze[_0x24d639(0x3e1)],this[_0x24d639(0x269)]['set'](_0x2e8ff3,_0x69e3f6),_0x69e3f6;}}function Mt(_0x3eccf0){const _0x455d9e=_0x7bdef9;let _0x25f80e='';for(const _0x2bf15a of _0x3eccf0){const {startOffset:_0x377638,endOffset:_0x7cab95,isActive:_0x5cefed,rangeType:_0x5becef,segmentId:_0x590a3c,segmentPage:_0x3cea7c}=_0x2bf15a;_0x25f80e[_0x455d9e(0x3e1)]&&(_0x25f80e+=','),_0x25f80e+=_0x377638+':'+_0x7cab95+':'+(_0x5cefed?'1':'0')+':'+_0x5becef+':'+_0x590a3c+':'+_0x3cea7c;}return _0x25f80e;}function Oi(_0x572af2){const _0x26179f=_0x7bdef9,_0x2d6d65=_0x572af2['split'](','),_0x46cc36=[];for(const _0x340ed5 of _0x2d6d65){const [_0x38b2cf,_0x2e0ce1,_0x152f80,_0x38e36b,_0x4a7080,_0x88925b]=_0x340ed5[_0x26179f(0x29e)](':');_0x46cc36[_0x26179f(0x287)]({'startOffset':Number(_0x38b2cf),'endOffset':Number(_0x2e0ce1),'collapsed':_0x38b2cf===_0x2e0ce1,'isActive':_0x152f80==='1','rangeType':_0x38e36b===_0x3b3bc6[_0x26179f(0x3b2)]?_0x3b3bc6[_0x26179f(0x3b2)]:_0x3b3bc6[_0x26179f(0x2e4)],'segmentId':typeof _0x4a7080==_0x26179f(0x296)?String(_0x4a7080):'','segmentPage':Number(_0x88925b!=null?_0x88925b:-0x1)});}return _0x46cc36[_0x26179f(0x1ef)](_0x1fcc14=>_0x1fcc14[_0x26179f(0x304)])||(_0x46cc36[0x0][_0x26179f(0x304)]=!0x0),_0x46cc36;}class Fe extends _0x5cab1a{constructor(){const _0x17390f=_0x7bdef9;super(...arguments),_(this,_0x17390f(0x38b),new _0xf21850(null)),_(this,'collabCursorState$',this[_0x17390f(0x38b)][_0x17390f(0x385)]());}[_0x7bdef9(0x318)](_0x454fa8){const _0x4d9bb9=_0x7bdef9,{unitID:_0x3510ca,memberID:_0x287286,textRanges:_0x27921d}=_0x454fa8,_0x1af836=Mt(_0x27921d);if(_0x1af836==='')return;const _0x518233={'unitID':_0x3510ca,'memberID':_0x287286,'selection':_0x1af836};this[_0x4d9bb9(0x38b)][_0x4d9bb9(0x299)](_0x518233);}}var bi=Object[_0x7bdef9(0x2a7)],Ti=(_0x3a7203,_0x3fc5f2,_0x23cb3e,_0x430721)=>{for(var _0x17f353=_0x430721>0x1?void 0x0:_0x430721?bi(_0x3fc5f2,_0x23cb3e):_0x3fc5f2,_0x2033a9=_0x3a7203['length']-0x1,_0x3adec0;_0x2033a9>=0x0;_0x2033a9--)(_0x3adec0=_0x3a7203[_0x2033a9])&&(_0x17f353=_0x3adec0(_0x17f353)||_0x17f353);return _0x17f353;},P=(_0x143ffc,_0xa46b4b)=>(_0x5b27a6,_0x47387e)=>_0xa46b4b(_0x5b27a6,_0x47387e,_0x143ffc);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5cab1a{constructor(_0x28ef40,_0x4733a5,_0x3dd5a4,_0x409d28,_0x10a68c,_0x50a47e,_0x3d34c3,_0x19bbf9,_0x1f3c1e){const _0x52c609=_0x7bdef9;super(),_(this,_0x52c609(0x26f),!0x1),_(this,_0x52c609(0x373),!0x1),_(this,'_cursorInfo$',new _0xf21850(new Map())),_(this,'cursorInfo$',this[_0x52c609(0x264)]['asObservable']()),_(this,_0x52c609(0x27d),new _0xf21850([])),_(this,_0x52c609(0x254),this['_roomMembers$'][_0x52c609(0x35a)](_0x55601b(Ri))),_(this,_0x52c609(0x353),_0x56d432(_0x41720e=>{const _0x2d309a=_0x52c609,_0x532371={'eventID':_0xb0a477[_0x2d309a(0x300)],'data':{'unitID':this['unitID'],'memberID':this[_0x2d309a(0x1de)][_0x2d309a(0x3dc)](),'selection':Mt(_0x41720e)}};this[_0x2d309a(0x1de)][_0x2d309a(0x284)](_0x532371,this[_0x2d309a(0x321)]);},Di)),(this[_0x52c609(0x321)]=_0x28ef40,this[_0x52c609(0x1de)]=_0x4733a5,this[_0x52c609(0x371)]=_0x3dd5a4,this[_0x52c609(0x1fb)]=_0x409d28,this['_memberService']=_0x10a68c,this[_0x52c609(0x295)]=_0x50a47e,this[_0x52c609(0x274)]=_0x3d34c3,this[_0x52c609(0x241)]=_0x19bbf9,this['_commandService']=_0x1f3c1e);}get['cursorInfo'](){const _0x22bb04=_0x7bdef9;return this[_0x22bb04(0x264)][_0x22bb04(0x2ef)]();}get[_0x7bdef9(0x251)](){const _0x41e3c4=_0x7bdef9;return this[_0x41e3c4(0x27d)]['getValue']();}[_0x7bdef9(0x1fc)](){const _0x18b4b5=_0x7bdef9;super[_0x18b4b5(0x1fc)](),this['_cursorInfo$'][_0x18b4b5(0x299)](new Map()),this[_0x18b4b5(0x264)][_0x18b4b5(0x3dd)](),this['_roomMembers$'][_0x18b4b5(0x299)]([]),this[_0x18b4b5(0x27d)][_0x18b4b5(0x3dd)]();}[_0x7bdef9(0x29b)](){const _0x2d5565=_0x7bdef9;this[_0x2d5565(0x373)]||(this[_0x2d5565(0x373)]=!0x0,this[_0x2d5565(0x1de)][_0x2d5565(0x301)][_0x2d5565(0x35a)](_0x585971(this[_0x2d5565(0x228)]))[_0x2d5565(0x358)](_0xbb0bf=>{const _0x3f141d=_0x2d5565;_0xbb0bf===_0x13197d[_0x3f141d(0x2b1)]?this[_0x3f141d(0x206)]():this[_0x3f141d(0x202)]();}),this['_session'][_0x2d5565(0x359)][_0x2d5565(0x35a)](_0x585971(this[_0x2d5565(0x228)]))[_0x2d5565(0x358)](_0x399550=>{const _0x25d350=_0x2d5565,_0x257376=_0x399550[_0x25d350(0x325)];_0x257376===_0xb0a477[_0x25d350(0x300)]&&this[_0x25d350(0x203)](_0x399550),_0x257376===_0xb0a477[_0x25d350(0x39c)]&&this['_onCursorDelete'](_0x399550);}),this['disposeWithMe'](this[_0x2d5565(0x352)][_0x2d5565(0x21a)](_0x2c11a1=>{const _0x2051fb=_0x2d5565,_0x169b92=_0x2c11a1[_0x2051fb(0x3d4)];_0x169b92!=null&&this[_0x2051fb(0x26f)]&&_0x2c11a1['id']===_0x4605ac['id']&&_0x169b92[_0x2051fb(0x36f)]===this[_0x2051fb(0x321)]&&_0x169b92['isEditing']===!0x1&&_0x169b92['ranges']['length']>0x0&&this[_0x2051fb(0x353)](_0x169b92['ranges']);})),this[_0x2d5565(0x295)]['collabCursorState$'][_0x2d5565(0x35a)](_0x585971(this['dispose$']))[_0x2d5565(0x358)](_0xe3c432=>{const _0x34655c=_0x2d5565;if((_0xe3c432==null?void 0x0:_0xe3c432[_0x34655c(0x321)])!==this[_0x34655c(0x321)])return;const _0x2c5c8d={'eventID':_0xb0a477['UPDATE_CURSOR'],'data':_0xe3c432};this[_0x34655c(0x203)](_0x2c5c8d);}),this[_0x2d5565(0x28a)](this[_0x2d5565(0x352)][_0x2d5565(0x21a)](_0xc28c0a=>{const _0x22a3c0=_0x2d5565;if(_0xc28c0a['params']==null)return;const _0x44ebd3=_0xc28c0a[_0x22a3c0(0x3d4)];if(_0xc28c0a['id']!==_0x13cfe6['id']||_0x44ebd3['unitId']!==this[_0x22a3c0(0x321)])return;const _0x539ed7={'id':_0x22a3c0(0x1dc),'params':_0x44ebd3},_0x42fb54=this[_0x22a3c0(0x282)];for(const [_0x52d1f6,_0x529625]of _0x42fb54){const _0x34eae8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x22a3c0(0x321)],'actions':null,'textRanges':_0x529625[_0x22a3c0(0x258)]}},_0x585fb5=this[_0x22a3c0(0x274)][_0x22a3c0(0x27e)](_0x539ed7,_0x34eae8,!0x1);if(_0x1db28a(_0x585fb5))throw _0x585fb5[_0x22a3c0(0x218)];_0x42fb54[_0x22a3c0(0x210)](_0x52d1f6,{..._0x529625,'ranges':_0x585fb5['m2Prime'][_0x22a3c0(0x3d4)][_0x22a3c0(0x355)]});}queueMicrotask(()=>{const _0x53d059=_0x22a3c0;this['_cursorInfo$'][_0x53d059(0x299)](_0x42fb54);});})));}['_onCursorUpdate'](_0x1cfd66){const _0xf8fda2=_0x7bdef9;var _0x171dca,_0x2277fa;const {memberID:_0x135832,selection:_0x18d15}=_0x1cfd66[_0xf8fda2(0x388)],_0x38fe4f=Oi(_0x18d15),_0x46139f=(_0x2277fa=(_0x171dca=this[_0xf8fda2(0x3d8)][_0xf8fda2(0x27f)](this[_0xf8fda2(0x321)],_0x135832))==null?void 0x0:_0x171dca[_0xf8fda2(0x3d5)])!=null?_0x2277fa:_0xf8fda2(0x1f9),_0x575c13={'color':this[_0xf8fda2(0x1fb)][_0xf8fda2(0x1ec)](_0x135832),'name':_0x46139f,'ranges':_0x38fe4f},_0x4c388c=this[_0xf8fda2(0x282)];_0x4c388c[_0xf8fda2(0x210)](_0x135832,_0x575c13),this[_0xf8fda2(0x264)]['next'](_0x4c388c);}[_0x7bdef9(0x298)](_0x1c5249){const _0x58d0a2=_0x7bdef9,{memberID:_0x2770eb}=_0x1c5249[_0x58d0a2(0x388)],_0x287743=this[_0x58d0a2(0x282)];_0x287743[_0x58d0a2(0x2c6)](_0x2770eb),this[_0x58d0a2(0x264)]['next'](_0x287743);}[_0x7bdef9(0x206)](){const _0x3a4bb8=_0x7bdef9;var _0x3a40b6;if(this['_online']=!0x0,((_0x3a40b6=this[_0x3a4bb8(0x241)][_0x3a4bb8(0x3ed)]())==null?void 0x0:_0x3a40b6[_0x3a4bb8(0x334)]())!==this[_0x3a4bb8(0x321)])return;const _0x108f2e=this[_0x3a4bb8(0x371)][_0x3a4bb8(0x1fe)](_0x4c3c8c)['getDocRanges']();Array['isArray'](_0x108f2e)&&_0x108f2e[_0x3a4bb8(0x3e1)]>0x0&&this[_0x3a4bb8(0x353)](_0x108f2e);}[_0x7bdef9(0x202)](){const _0x5855ee=_0x7bdef9;this[_0x5855ee(0x26f)]=!0x1;}};Ue=Ti([P(0x2,_0x28e459(_0x5706a4)),P(0x3,_0x28e459(He)),P(0x4,_0x28e459(_0xbb3a41)),P(0x5,_0x28e459(Fe)),P(0x6,_0x51afb8),P(0x7,_0x16a5a2),P(0x8,_0x5f4771)],Ue);var Ni=Object[_0x7bdef9(0x2a7)],Ui=(_0x3ffd76,_0x3777b4,_0x142afe,_0x599d10)=>{const _0x3754e5=_0x7bdef9;for(var _0x4e0a97=_0x599d10>0x1?void 0x0:_0x599d10?Ni(_0x3777b4,_0x142afe):_0x3777b4,_0x3b5135=_0x3ffd76[_0x3754e5(0x3e1)]-0x1,_0x44a62e;_0x3b5135>=0x0;_0x3b5135--)(_0x44a62e=_0x3ffd76[_0x3b5135])&&(_0x4e0a97=_0x44a62e(_0x4e0a97)||_0x4e0a97);return _0x4e0a97;},x=(_0x3d085e,_0x11770e)=>(_0x30a829,_0x48425e)=>_0x11770e(_0x30a829,_0x48425e,_0x3d085e);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x4cd69b=[],_0x108453=!0x1;return _0x23785f=>{const _0x308a91=_0x2ab1;_0x4cd69b[_0x308a91(0x287)](_0x23785f),_0x108453||(_0x108453=!0x0,setTimeout(()=>{const _0x182dcd=_0x308a91;_0x4cd69b[_0x182dcd(0x306)](_0x11ca52=>_0x11ca52()),_0x4cd69b=[],_0x108453=!0x1;}));};};let Me=class extends _0x5cab1a{constructor(_0x14bc21,_0x448612,_0x4de32f,_0x2506b3,_0x31b66c,_0x2edab2,_0x3742df,_0x143228){const _0x11791a=_0x7bdef9;super(),_(this,_0x11791a(0x26f),!0x1),_(this,_0x11791a(0x373),!0x1),_(this,_0x11791a(0x264),new _0xf21850(new Map())),_(this,_0x11791a(0x2a0),this['_cursorInfo$'][_0x11791a(0x385)]()),_(this,_0x11791a(0x27d),new _0xf21850([])),_(this,'roomMembers$',this[_0x11791a(0x27d)][_0x11791a(0x35a)](_0x55601b(Mi))),_(this,_0x11791a(0x353),_0x56d432((_0x2efd78,_0x1287e5)=>{const _0x166883=_0x11791a,_0x119342={'eventID':_0xb0a477['UPDATE_CURSOR'],'data':{'unitID':this[_0x166883(0x321)],'memberID':this['_session'][_0x166883(0x3dc)](),'selection':_0x3e6f31(_0x2efd78,_0x1287e5[_0x166883(0x285)])}};this[_0x166883(0x1de)]['send'](_0x119342,this['unitID']);},Li)),(this[_0x11791a(0x321)]=_0x14bc21,this[_0x11791a(0x1de)]=_0x448612,this['_injector']=_0x4de32f,this['_colorAssignService']=_0x2506b3,this[_0x11791a(0x3d8)]=_0x31b66c,this[_0x11791a(0x241)]=_0x2edab2,this[_0x11791a(0x352)]=_0x3742df,this[_0x11791a(0x31e)]=_0x143228);}get['cursorInfo'](){const _0xe908c9=_0x7bdef9;return this[_0xe908c9(0x264)]['getValue']();}get[_0x7bdef9(0x251)](){const _0x4a5d88=_0x7bdef9;return this[_0x4a5d88(0x27d)][_0x4a5d88(0x2ef)]();}[_0x7bdef9(0x1fc)](){const _0x2e0f14=_0x7bdef9;super[_0x2e0f14(0x1fc)](),this[_0x2e0f14(0x264)][_0x2e0f14(0x299)](new Map()),this['_cursorInfo$']['complete'](),this[_0x2e0f14(0x27d)][_0x2e0f14(0x299)]([]),this['_roomMembers$'][_0x2e0f14(0x3dd)]();}[_0x7bdef9(0x29b)](){const _0x2c6e0b=_0x7bdef9;this['_init']||(this[_0x2c6e0b(0x373)]=!0x0,this['_session'][_0x2c6e0b(0x301)][_0x2c6e0b(0x35a)](_0x585971(this[_0x2c6e0b(0x228)]))['subscribe'](_0xebb154=>{const _0x3ab6fe=_0x2c6e0b;_0xebb154===_0x13197d[_0x3ab6fe(0x2b1)]?this[_0x3ab6fe(0x206)]():this[_0x3ab6fe(0x202)]();}),this[_0x2c6e0b(0x1de)][_0x2c6e0b(0x359)]['pipe'](_0x585971(this['dispose$']))['subscribe'](_0x5d209d=>{const _0x45a557=_0x2c6e0b,_0x32ce8f=_0x5d209d[_0x45a557(0x325)];_0x32ce8f===_0xb0a477['UPDATE_CURSOR']&&this[_0x45a557(0x203)](_0x5d209d),_0x32ce8f===_0xb0a477['USERS_LEAVE']&&this['_onCursorDelete'](_0x5d209d);}),this['_onRefRangeChange'](),this[_0x2c6e0b(0x28a)](this[_0x2c6e0b(0x352)][_0x2c6e0b(0x21a)](_0x4303c4=>{const _0xf17d00=_0x2c6e0b;if(this['_online']&&_0x4303c4['id']===_0x3eb0de['id']&&_0x4303c4[_0xf17d00(0x3d4)][_0xf17d00(0x36f)]===this['unitID']){const _0x5cac28=_0x4303c4['params'];this[_0xf17d00(0x353)](_0x5cac28[_0xf17d00(0x3a8)],_0x5cac28[_0xf17d00(0x271)][0x0]);}})));}['_onCursorUpdate'](_0xe43448){const _0x2d21a7=_0x7bdef9;var _0x22e97f,_0x5e70aa;const {memberID:_0x512848,selection:_0x2246ea}=_0xe43448[_0x2d21a7(0x388)],{sheetName:_0x431de,range:_0x8bdaad}=_0x38f162(_0x2246ea),_0x5f043d={'name':(_0x5e70aa=(_0x22e97f=this[_0x2d21a7(0x3d8)][_0x2d21a7(0x27f)](this[_0x2d21a7(0x321)],_0x512848))==null?void 0x0:_0x22e97f[_0x2d21a7(0x3d5)])!=null?_0x5e70aa:_0x2d21a7(0x1f9),'range':this[_0x2d21a7(0x2b2)](_0x431de,_0x8bdaad),'sheetID':_0x431de,'color':this[_0x2d21a7(0x1fb)][_0x2d21a7(0x1ec)](_0x512848),'selection':_0x2246ea},_0x2290d7=this[_0x2d21a7(0x282)];_0x2290d7['set'](_0x512848,_0x5f043d),this[_0x2d21a7(0x264)][_0x2d21a7(0x299)](_0x2290d7);}[_0x7bdef9(0x298)](_0x1704c0){const _0x3787eb=_0x7bdef9,{memberID:_0x5b9c0b}=_0x1704c0[_0x3787eb(0x388)],_0xeb07f2=this[_0x3787eb(0x282)];_0xeb07f2['delete'](_0x5b9c0b),this[_0x3787eb(0x264)][_0x3787eb(0x299)](_0xeb07f2);}[_0x7bdef9(0x2b2)](_0x3a2b99,_0x9040aa){const _0xe15886=_0x7bdef9;var _0x5e335e,_0x48be71;const _0x4620be=(_0x48be71=(_0x5e335e=this[_0xe15886(0x241)][_0xe15886(0x2ff)](this[_0xe15886(0x321)]))==null?void 0x0:_0x5e335e['getSheetBySheetId'](_0x3a2b99))==null?void 0x0:_0x48be71[_0xe15886(0x340)]();return(_0x4620be==null?void 0x0:_0x4620be[_0xe15886(0x32b)](_0x1f62cd=>_0x26a094['contains'](_0x1f62cd,_0x9040aa)))||_0x9040aa;}[_0x7bdef9(0x1ee)](){const _0x97affc=_0x7bdef9,_0x4bdb12=new _0x381fdb(),_0x3f926e=Pi(),_0x42e5db=()=>{const _0x28be41=_0x2ab1;_0x4bdb12['dispose']();const _0x4f4fd9=(_0x49708a,_0x24e9b4,_0x25be5a,_0x550152)=>{const _0x1d56a7=_0x2ab1;let _0x161f57=[];switch(_0x49708a['id']){case _0x17a34a[_0x1d56a7(0x24f)]:{_0x161f57=_0xc653b3(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x3a1)]:{_0x161f57=_0x186acc(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x396)]:{_0x161f57=_0x3d7da7(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x250)]:{_0x161f57=_0x4242c3(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x3cb)]:{_0x161f57=_0x858bca(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x3d6)]:{_0x161f57=_0x325418(_0x49708a,_0x550152);break;}case _0x17a34a['MoveRangeCommandId']:{_0x161f57=_0x1cf45f(_0x49708a,_0x550152);break;}case _0x17a34a['RemoveColCommandId']:{_0x161f57=_0x51dfa0(_0x49708a,_0x550152);break;}case _0x17a34a[_0x1d56a7(0x3c6)]:{_0x161f57=_0x167fab(_0x49708a,_0x550152);break;}}const _0x43c0ec=_0x25b2da(_0x161f57,_0x550152),_0x3991a2=this['cursorInfo'][_0x1d56a7(0x1fe)](_0x24e9b4);if(_0x3991a2&&_0x43c0ec){const _0x7f324c={..._0x3991a2,'range':_0x43c0ec};this['cursorInfo']['set'](_0x24e9b4,_0x7f324c),_0x3f926e(()=>{const _0x25f026=_0x1d56a7,_0x53f204=this[_0x25f026(0x31e)]['registerRefRange'](_0x43c0ec,_0x1ed6d6=>(_0x53f204['dispose'](),_0x4f4fd9(_0x1ed6d6,_0x24e9b4,_0x25be5a,_0x43c0ec)));_0x4bdb12[_0x25f026(0x3bf)](_0x53f204);});}return{'redos':[],'undos':[]};};this[_0x28be41(0x282)][_0x28be41(0x306)]((_0x48e1ab,_0x11b71f)=>{const _0x4d6706=_0x28be41,{range:_0x1a4e8b,sheetID:_0x11a645}=_0x48e1ab,_0x339356=this['_refRangeService'][_0x4d6706(0x25a)](_0x1a4e8b,_0x1762d1=>(_0x339356['dispose'](),_0x4f4fd9(_0x1762d1,_0x11b71f,_0x11a645,_0x1a4e8b)));_0x4bdb12['add'](_0x339356);});};this[_0x97affc(0x28a)](_0x3b8fd3(this[_0x97affc(0x264)]['subscribe'](()=>{_0x42e5db();})));}[_0x7bdef9(0x206)](){const _0xbdf66c=_0x7bdef9;var _0x4a97a2,_0x4d5e39;if(this[_0xbdf66c(0x26f)]=!0x0,((_0x4a97a2=this[_0xbdf66c(0x241)][_0xbdf66c(0x3ed)]())==null?void 0x0:_0x4a97a2[_0xbdf66c(0x334)]())!==this[_0xbdf66c(0x321)])return;const _0x506b78=(_0x4d5e39=this[_0xbdf66c(0x371)][_0xbdf66c(0x1fe)](_0x4e72ca)[_0xbdf66c(0x326)]())==null?void 0x0:_0x4d5e39[0x0],_0x555922=this[_0xbdf66c(0x241)]['getCurrentUnitForType'](_0x30fe4c[_0xbdf66c(0x370)])[_0xbdf66c(0x2f0)]();_0x506b78&&_0x555922&&this[_0xbdf66c(0x353)](_0x555922['getSheetId'](),_0x506b78);}[_0x7bdef9(0x202)](){const _0x557436=_0x7bdef9;this[_0x557436(0x26f)]=!0x1;}};Me=Ui([x(0x2,_0x28e459(_0x5706a4)),x(0x3,_0x28e459(He)),x(0x4,_0x28e459(_0xbb3a41)),x(0x5,_0x16a5a2),x(0x6,_0x5f4771),x(0x7,_0x28e459(_0x2981af))],Me);var wi=Object[_0x7bdef9(0x2a7)],Ai=(_0x19282c,_0x35e37e,_0x1f4099,_0x3670ad)=>{const _0x22aa7a=_0x7bdef9;for(var _0x2520f0=_0x3670ad>0x1?void 0x0:_0x3670ad?wi(_0x35e37e,_0x1f4099):_0x35e37e,_0x142bd6=_0x19282c[_0x22aa7a(0x3e1)]-0x1,_0x533e42;_0x142bd6>=0x0;_0x142bd6--)(_0x533e42=_0x19282c[_0x142bd6])&&(_0x2520f0=_0x533e42(_0x2520f0)||_0x2520f0);return _0x2520f0;},me=(_0x162656,_0x4fce05)=>(_0x31e48c,_0x5d32d6)=>_0x4fce05(_0x31e48c,_0x5d32d6,_0x162656);let F=class extends _0x5cab1a{constructor(_0x1dd799,_0x393b72,_0x389ac7){const _0x2a164f=_0x7bdef9;super(),_(this,_0x2a164f(0x2e3),new Map()),_(this,_0x2a164f(0x3af),new _0x33c498()),(this[_0x2a164f(0x241)]=_0x1dd799,this[_0x2a164f(0x371)]=_0x393b72,this[_0x2a164f(0x235)]=_0x389ac7,this['_init']());}['dispose'](){const _0x58a423=_0x7bdef9;super[_0x58a423(0x1fc)](),this[_0x58a423(0x3af)][_0x58a423(0x3dd)](),this[_0x58a423(0x2e3)][_0x58a423(0x306)](_0x82687=>_0x82687[_0x58a423(0x1fc)]());}[_0x7bdef9(0x2b4)](_0x242eb9){const _0x4c94a5=_0x7bdef9;return this[_0x4c94a5(0x2e3)][_0x4c94a5(0x2c4)](_0x242eb9)?this[_0x4c94a5(0x2e3)][_0x4c94a5(0x1fe)](_0x242eb9)[_0x4c94a5(0x2a0)]:this[_0x4c94a5(0x3af)][_0x4c94a5(0x35a)](_0xabc5cb(_0x199ba4=>_0x199ba4['unitID']===_0x242eb9),_0x14fe73(_0x3e00c4=>_0x3e00c4[_0x4c94a5(0x2a0)]));}[_0x7bdef9(0x373)](){const _0x4cbaf7=_0x7bdef9;this['_univerInstanceService'][_0x4cbaf7(0x216)](_0x30fe4c['UNIVER_SHEET'])[_0x4cbaf7(0x35a)](_0x585971(this[_0x4cbaf7(0x228)]))[_0x4cbaf7(0x358)](async _0x3c9220=>{const _0x4a6898=_0x4cbaf7,_0x5735e5=_0x3c9220[_0x4a6898(0x334)](),_0xf9cfb=await this[_0x4a6898(0x2bb)](_0x5735e5);this['_entityInit$'][_0x4a6898(0x299)](_0xf9cfb),this['_entities'][_0x4a6898(0x210)](_0x5735e5,_0xf9cfb);}),this[_0x4cbaf7(0x241)][_0x4cbaf7(0x216)](_0x30fe4c[_0x4cbaf7(0x2e1)])[_0x4cbaf7(0x35a)](_0x585971(this[_0x4cbaf7(0x228)]))[_0x4cbaf7(0x35a)](_0xabc5cb(_0x4f9a7e=>!_0x4f9a7e[_0x4cbaf7(0x334)]()[_0x4cbaf7(0x22d)]('__')))[_0x4cbaf7(0x358)](async _0x278d95=>{const _0x446483=_0x4cbaf7,_0x18805f=_0x278d95[_0x446483(0x334)](),_0x16af88=await this['_startDocCollabCursor'](_0x18805f);this['_entityInit$']['next'](_0x16af88),this[_0x446483(0x2e3)][_0x446483(0x210)](_0x18805f,_0x16af88);}),_0x5f0d8c(this['_univerInstanceService'][_0x4cbaf7(0x238)](_0x30fe4c[_0x4cbaf7(0x2e1)]),this['_univerInstanceService'][_0x4cbaf7(0x238)](_0x30fe4c[_0x4cbaf7(0x370)]))[_0x4cbaf7(0x35a)](_0x585971(this[_0x4cbaf7(0x228)]))['subscribe'](_0x2f8ed4=>{const _0xedae7=_0x4cbaf7,_0x37d9b8=_0x2f8ed4[_0xedae7(0x334)](),_0x5174e5=this[_0xedae7(0x2e3)][_0xedae7(0x1fe)](_0x37d9b8);_0x5174e5&&(_0x5174e5[_0xedae7(0x1fc)](),this[_0xedae7(0x2e3)][_0xedae7(0x2c6)](_0x37d9b8));});}async['_startSheetCollabCursor'](_0x4d195f){const _0x5f53e8=_0x7bdef9,_0x24668f=await this[_0x5f53e8(0x235)]['requireSession'](_0x4d195f),_0x24ab96=this[_0x5f53e8(0x371)]['createInstance'](Me,_0x4d195f,_0x24668f);return _0x24ab96[_0x5f53e8(0x29b)](),_0x24ab96;}async['_startDocCollabCursor'](_0xe64ec0){const _0x2da0cc=_0x7bdef9,_0x26d46a=await this[_0x2da0cc(0x235)][_0x2da0cc(0x3e6)](_0xe64ec0),_0x1c8dd2=this['_injector']['createInstance'](Ue,_0xe64ec0,_0x26d46a);return _0x1c8dd2[_0x2da0cc(0x29b)](),_0x1c8dd2;}};F=Ai([me(0x0,_0x16a5a2),me(0x1,_0x28e459(_0x5706a4)),me(0x2,_0x28e459(_0x4730f2))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x39c789,_0x252b5f){const _0x50256c=_0x7bdef9;let {radius:_0x12105b,width:_0x19a431,height:_0x24d463}=_0x252b5f;_0x12105b=_0x12105b!=null?_0x12105b:0x0,_0x19a431=_0x19a431!=null?_0x19a431:0x1e,_0x24d463=_0x24d463!=null?_0x24d463:0x1e;let _0x1178cd=0x0,_0x5c1461=0x0,_0x5aeff2=0x0;_0x1178cd=_0x5c1461=_0x5aeff2=Math[_0x50256c(0x1dd)](_0x12105b,_0x19a431/0x2,_0x24d463/0x2),_0x39c789[_0x50256c(0x229)](),_0x39c789[_0x50256c(0x2a2)](_0x1178cd,0x0),_0x39c789[_0x50256c(0x26c)](_0x19a431-_0x5c1461,0x0),_0x39c789['arc'](_0x19a431-_0x5c1461,_0x5c1461,_0x5c1461,Math['PI']*0x3/0x2,0x0,!0x1),_0x39c789[_0x50256c(0x26c)](_0x19a431,_0x24d463-_0x5aeff2),_0x39c789[_0x50256c(0x1e8)](_0x19a431-_0x5aeff2,_0x24d463-_0x5aeff2,_0x5aeff2,0x0,Math['PI']/0x2,!0x1),_0x39c789[_0x50256c(0x26c)](0x0,_0x24d463),_0x39c789[_0x50256c(0x26c)](0x0,_0x1178cd),_0x39c789[_0x50256c(0x1e8)](_0x1178cd,_0x1178cd,_0x1178cd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39c789[_0x50256c(0x3bc)](),_0x252b5f[_0x50256c(0x272)]&&(_0x39c789['save'](),_0x39c789[_0x50256c(0x363)]=_0x252b5f[_0x50256c(0x272)],_0x252b5f[_0x50256c(0x319)]===_0x50256c(0x2ba)?_0x39c789['fill']('evenodd'):_0x39c789[_0x50256c(0x272)](),_0x39c789[_0x50256c(0x208)]());}class ue extends _0x469096{constructor(_0x1706c3,_0xefb6c7){const _0x164bf6=_0x7bdef9;super(_0x1706c3,_0xefb6c7),_(this,'color'),_(this,_0x164bf6(0x37f)),(this[_0x164bf6(0x387)]=_0xefb6c7==null?void 0x0:_0xefb6c7['color'],this[_0x164bf6(0x37f)]=_0xefb6c7==null?void 0x0:_0xefb6c7[_0x164bf6(0x37f)]);}static[_0x7bdef9(0x21c)](_0x342e03,_0x5c7ab3){const _0xcc108c=_0x7bdef9,{text:_0x27b94c,color:_0x547cdc}=_0x5c7ab3;_0x342e03[_0xcc108c(0x38e)](),_0x342e03[_0xcc108c(0x3e0)]=_0xcc108c(0x39e);const _0x281a4d=_0x342e03['measureText'](_0x27b94c)['width'],_0x5dd015=Math[_0xcc108c(0x1dd)](_0x281a4d+0x2*Ie,Qe);$i(_0x342e03,{'height':J,'radius':0x4,'width':_0x5dd015,'fill':_0x547cdc}),_0x342e03[_0xcc108c(0x363)]=_0xcc108c(0x1e4);const _0x3419f5=Ie,_0x1db029=J-yi,_0x33bf53=Qe-0x2*Ie;if(_0x281a4d>_0x33bf53){let _0x1c1439='',_0x16d3ad=0x0;for(const _0x255981 of _0x27b94c){const _0x119021=_0x342e03['measureText'](_0x255981)['width'];if(_0x16d3ad+_0x119021<=_0x33bf53-_0x342e03['measureText'](_0xcc108c(0x293))['width'])_0x1c1439+=_0x255981,_0x16d3ad+=_0x119021;else{_0x1c1439+=_0xcc108c(0x293);break;}}_0x342e03[_0xcc108c(0x267)](_0x1c1439,_0x3419f5,_0x1db029);}else _0x342e03[_0xcc108c(0x267)](_0x27b94c,_0x3419f5,_0x1db029);_0x342e03[_0xcc108c(0x208)]();}[_0x7bdef9(0x207)](_0x4c49d7){const _0x3d7e2d=_0x7bdef9;ue[_0x3d7e2d(0x21c)](_0x4c49d7,this);}}const ve=_0x7bdef9(0x2dd),xi=_0x7bdef9(0x381),Bi=_0x7bdef9(0x341),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x7bdef9(0x21f);class qe{constructor(_0x555e01,_0x394641,_0x22d7a3,_0x5328bb){const _0x2fbcce=_0x7bdef9;_(this,_0x2fbcce(0x234),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,_0x2fbcce(0x256),null),_(this,_0x2fbcce(0x1f4),null),(this[_0x2fbcce(0x310)]=_0x555e01,this[_0x2fbcce(0x31b)]=_0x394641,this[_0x2fbcce(0x37b)]=_0x22d7a3,this[_0x2fbcce(0x22b)]=_0x5328bb,this[_0x2fbcce(0x1f0)]());}set['_hover'](_0x108fcb){const _0x5e0102=_0x7bdef9;_0x108fcb?(this[_0x5e0102(0x2d0)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x5e0102(0x3b1)][_0x5e0102(0x3d0)]()):(this[_0x5e0102(0x2d0)]&&this[_0x5e0102(0x2d0)][_0x5e0102(0x3d0)](),this[_0x5e0102(0x3b1)]&&this[_0x5e0102(0x3b1)][_0x5e0102(0x21d)]());}[_0x7bdef9(0x1fc)](){const _0x503049=_0x7bdef9;for(const _0x55f7f0 of this[_0x503049(0x234)])_0x55f7f0['dispose']();this['_textBubble']&&this['_textBubble'][_0x503049(0x1fc)](),this[_0x503049(0x2d0)]&&this[_0x503049(0x2d0)][_0x503049(0x1fc)](),this[_0x503049(0x39a)]&&this['_anchor'][_0x503049(0x1fc)](),this[_0x503049(0x1f4)]&&this[_0x503049(0x1f4)]();}[_0x7bdef9(0x1f0)](){const _0xef6f5c=_0x7bdef9;var _0x177951;const {_docSkeleton:_0x2d5e08,_document:_0x27bfc4}=this,{color:_0x274422,name:_0x346d8b,ranges:_0x3896d9}=this[_0xef6f5c(0x310)],_0x186082=_0x27bfc4[_0xef6f5c(0x2f2)](),{docsLeft:_0x13ea8d,docsTop:_0x13c644}=_0x186082,_0x549d6c=new _0x23a61d(_0x186082,_0x2d5e08);for(const {startOffset:_0x225422,endOffset:_0x2a0f2d,rangeType:_0x417366,segmentId:_0x45df2c,segmentPage:_0x295d0b,collapsed:_0x10576d,isActive:_0x574472}of _0x3896d9){const _0x1996ae=_0x2d5e08[_0xef6f5c(0x1f6)](_0x225422,!0x0,_0x45df2c,_0x295d0b);let _0x2cb6b6=_0x2d5e08['findNodePositionByCharIndex'](_0x2a0f2d,!0x0,_0x45df2c,_0x295d0b);if(_0x2cb6b6==null&&(_0x2cb6b6=_0x2d5e08[_0xef6f5c(0x1f6)](_0x2a0f2d-0x1,!0x1,_0x45df2c,_0x295d0b)),_0x574472){const {contentBoxPointGroup:_0x430756}=_0x549d6c['getRangePointData'](_0x2cb6b6,_0x2cb6b6);if(_0x430756[_0xef6f5c(0x3e1)]===0x0)continue;this[_0xef6f5c(0x28c)](_0x274422,_0x430756,_0x13ea8d,_0x13c644,_0x346d8b),this[_0xef6f5c(0x1f4)]=this[_0xef6f5c(0x2bd)]();}if(_0x1996ae&&_0x2cb6b6){if(_0x417366===_0x3b3bc6[_0xef6f5c(0x2e4)]){const _0x2823e3=new _0x2ed1e2(_0x186082,_0x2d5e08),{pointGroup:_0x203715}=(_0x177951=_0x2823e3[_0xef6f5c(0x365)](_0x1996ae,_0x2cb6b6))!=null?_0x177951:{};if(_0x203715==null||_0x203715['length']===0x0)continue;this[_0xef6f5c(0x3e8)](_0x274422,_0x203715,_0x13ea8d,_0x13c644);}else{if(!_0x10576d){const {borderBoxPointGroup:_0x46927f}=_0x549d6c[_0xef6f5c(0x365)](_0x1996ae,_0x2cb6b6);if(_0x46927f[_0xef6f5c(0x3e1)]===0x0)continue;this[_0xef6f5c(0x34c)](_0x274422,_0x46927f,_0x13ea8d,_0x13c644);}}}}}['_drawAnchor'](_0x6c7514,_0x21992e,_0x50b0b9,_0xc58e09,_0x32dc27){const _0x333913=_0x7bdef9,_0x2f5899=this[_0x333913(0x322)](_0x21992e),{left:_0x13882f,top:_0x31830e,height:_0x3957c5}=_0x2f5899,_0x4a5822=this[_0x333913(0x31a)](),_0x46d3e1=Hi/_0x4a5822,_0x12e6eb=new _0x17d9e4(ve+_0x2f2dad(K),{'left':_0x13882f+_0x50b0b9-_0x46d3e1,'top':_0x31830e+_0xc58e09,'height':_0x3957c5,'width':ki,'fill':_0x6c7514||_0x947e3e(_0xe40f77[_0x333913(0x22c)],0x0),'strokeWidth':_0x46d3e1,'stroke':Fi,'evented':!0x0});this[_0x333913(0x39a)]=_0x12e6eb,this[_0x333913(0x31b)][_0x333913(0x32d)](_0x12e6eb,_0x5cf034);const _0x1c8bce=new _0x17d9e4(ve+_0x2f2dad(K),{'left':_0x13882f+_0x50b0b9-_0x46d3e1,'top':_0x31830e+_0xc58e09-ge/0x2,'height':ge,'width':ge,'fill':_0x6c7514||_0x947e3e(_0xe40f77['black'],0x0),'strokeWidth':0x0,'stroke':_0x6c7514||_0x947e3e(_0xe40f77[_0x333913(0x22c)],0x0),'evented':!0x1});this[_0x333913(0x2d0)]=_0x1c8bce,this[_0x333913(0x31b)][_0x333913(0x32d)](_0x1c8bce,_0x5cf034);const _0x5cac1f=new ue(ve+_0x2f2dad(K),{'left':_0x13882f+_0x50b0b9-_0x46d3e1,'top':_0x31830e+_0xc58e09-J,'text':_0x32dc27,'color':_0x6c7514});this[_0x333913(0x3b1)]=_0x5cac1f,this[_0x333913(0x31b)][_0x333913(0x32d)](_0x5cac1f,_0x5cf034),this[_0x333913(0x3b5)]=!0x1;}[_0x7bdef9(0x2bd)](){const _0x1d1530=_0x7bdef9,_0x32d3a7=this[_0x1d1530(0x39a)][_0x1d1530(0x320)][_0x1d1530(0x2af)](()=>{const _0x40e6fa=_0x1d1530;this[_0x40e6fa(0x3b5)]=!0x0;}),_0x1fee55=this[_0x1d1530(0x39a)][_0x1d1530(0x390)][_0x1d1530(0x2af)](()=>{const _0xad7b41=_0x1d1530;this['_hideTimer']&&clearTimeout(this[_0xad7b41(0x256)]),this[_0xad7b41(0x256)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x554bdf=_0x1d1530;_0x32d3a7['unsubscribe'](),_0x1fee55[_0x554bdf(0x2ab)]();};}['_drawTextRange'](_0xc63e4,_0x3ea1de,_0x4d57d6,_0x568b5d){const _0x5a0fd3=_0x7bdef9,_0x46cdd1=new _0x277a83(_0xc63e4)[_0x5a0fd3(0x1ff)](0.2)['toRgbString'](),_0x5e736a=new _0x5c2d7a(xi+_0x2f2dad(K),{'pointsGroup':_0x3ea1de,'fill':_0x46cdd1||_0x947e3e(_0xe40f77['black'],0.2),'left':_0x4d57d6,'top':_0x568b5d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5a0fd3(0x287)](_0x5e736a),this[_0x5a0fd3(0x31b)][_0x5a0fd3(0x32d)](_0x5e736a,_0x5cf034);}['_drawRectRange'](_0x39f66a,_0x4c76e4,_0x54e851,_0x1d4a4e){const _0x1feb12=_0x7bdef9,_0x633548=new _0x277a83(_0x39f66a)[_0x1feb12(0x1ff)](0.2)[_0x1feb12(0x3d9)](),_0x4935b4=new _0x5c2d7a(Bi+_0x2f2dad(K),{'pointsGroup':_0x4c76e4,'fill':_0x633548||_0x947e3e(_0xe40f77[_0x1feb12(0x22c)],0.2),'left':_0x54e851,'top':_0x1d4a4e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1feb12(0x234)][_0x1feb12(0x287)](_0x4935b4),this['_scene'][_0x1feb12(0x32d)](_0x4935b4,_0x5cf034);}[_0x7bdef9(0x322)](_0x3adf79){const _0x110e6e=_0x3adf79[0x0],_0x61ddd4=_0x110e6e[0x0],_0x56c182=_0x110e6e[0x2],{x:_0x23d26f,y:_0x1accf3}=_0x61ddd4,{x:_0x4cb896,y:_0x3282ba}=_0x56c182;return{'left':_0x23d26f,'top':_0x1accf3,'width':_0x4cb896-_0x23d26f,'height':_0x3282ba-_0x1accf3};}[_0x7bdef9(0x31a)](){const _0x382306=_0x7bdef9,{scaleX:_0xc97e3f,scaleY:_0x9e9dd4}=this[_0x382306(0x31b)][_0x382306(0x20a)]();return Math[_0x382306(0x1e7)](_0xc97e3f,_0x9e9dd4);}}var Yi=Object[_0x7bdef9(0x2a7)],ji=(_0x4423c6,_0x428932,_0x3b5687,_0x5246c4)=>{const _0x3c1596=_0x7bdef9;for(var _0x21baf3=_0x5246c4>0x1?void 0x0:_0x5246c4?Yi(_0x428932,_0x3b5687):_0x428932,_0x5293d5=_0x4423c6[_0x3c1596(0x3e1)]-0x1,_0xa51b6;_0x5293d5>=0x0;_0x5293d5--)(_0xa51b6=_0x4423c6[_0x5293d5])&&(_0x21baf3=_0xa51b6(_0x21baf3)||_0x21baf3);return _0x21baf3;},ee=(_0xf76df1,_0x2f5406)=>(_0x3c7526,_0x3fb8b4)=>_0x2f5406(_0x3c7526,_0x3fb8b4,_0xf76df1);let Le=class extends _0x5cab1a{constructor(_0x29052c,_0x37f6b1,_0x559e50,_0x58a161,_0x37d199){const _0x54654b=_0x7bdef9;super(),_(this,_0x54654b(0x2d9),[]),_(this,'_cursors',[]),(this[_0x54654b(0x32a)]=_0x29052c,this[_0x54654b(0x25f)]=_0x37f6b1,this[_0x54654b(0x2b7)]=_0x559e50,this[_0x54654b(0x352)]=_0x58a161,this[_0x54654b(0x283)]=_0x37d199,this['_init']());}[_0x7bdef9(0x373)](){const _0x36d32e=_0x7bdef9,_0x5bcc79=this[_0x36d32e(0x32a)][_0x36d32e(0x36f)],_0x5d7cba=this[_0x36d32e(0x25f)];this[_0x36d32e(0x28a)](_0x513ccb([this[_0x36d32e(0x2b7)]['getCollabCursors$'](_0x5bcc79),this[_0x36d32e(0x283)][_0x36d32e(0x35c)]])['pipe'](_0x4f6aa0(([_0x43a893,_0x441b62])=>({'skeleton':_0x5d7cba['getSkeleton'](),'cursors':[..._0x43a893['values']()][_0x36d32e(0x260)](_0x3ea9a7=>({..._0x3ea9a7,'color':this[_0x36d32e(0x283)][_0x36d32e(0x392)](_0x3ea9a7[_0x36d32e(0x387)])}))})))[_0x36d32e(0x358)](_0x1c1e89=>{const _0x3362e3=_0x36d32e;if(this[_0x3362e3(0x35f)](),_0x1c1e89){const {skeleton:_0x289a84,cursors:_0x3b6146}=_0x1c1e89;this[_0x3362e3(0x2d3)](_0x289a84,_0x3b6146);}})),this[_0x36d32e(0x362)](),this[_0x36d32e(0x2de)]();}[_0x7bdef9(0x2d3)](_0x568b7c,_0x12ade6){const _0x10f537=_0x7bdef9,{scene:_0x1ae328,mainComponent:_0x456401}=this[_0x10f537(0x32a)],_0x32e4fc=_0x12ade6['map'](_0x871d62=>new qe(_0x871d62,_0x1ae328,_0x568b7c,_0x456401));this['_cursorShapes']=_0x32e4fc,this['_cursors']=_0x12ade6;}[_0x7bdef9(0x24b)](){const _0x453138=_0x7bdef9;this[_0x453138(0x35f)]();const {scene:_0x3c2ee3,mainComponent:_0x5436cf}=this[_0x453138(0x32a)],_0x4871c9=this[_0x453138(0x25f)][_0x453138(0x2b5)](),_0x2ccaca=this['_cursors'][_0x453138(0x239)](_0x3dab60=>new qe(_0x3dab60,_0x3c2ee3,_0x4871c9,_0x5436cf));this[_0x453138(0x2d9)]=_0x2ccaca;}[_0x7bdef9(0x35f)](){const _0x494269=_0x7bdef9;this[_0x494269(0x2d9)][_0x494269(0x306)](_0x400c7e=>_0x400c7e[_0x494269(0x1fc)]()),this['_cursorShapes']=[];}[_0x7bdef9(0x2de)](){const _0x2e770c=_0x7bdef9,_0x2ff458=[_0x3bb030['id']];this['disposeWithMe'](this['_commandService'][_0x2e770c(0x21a)](_0x4db8a8=>{const _0x2e8007=_0x2e770c;_0x2ff458[_0x2e8007(0x23f)](_0x4db8a8['id'])&&_0x4db8a8[_0x2e8007(0x3d4)][_0x2e8007(0x36f)]===this[_0x2e8007(0x32a)][_0x2e8007(0x36f)]&&this[_0x2e8007(0x24b)]();}));}['_initResize'](){const _0x199bd6=_0x7bdef9;this[_0x199bd6(0x28a)](_0x20cd4c(this[_0x199bd6(0x32a)][_0x199bd6(0x1db)][_0x199bd6(0x3d7)])[_0x199bd6(0x35a)](_0x3e50b8(_0x52524c=>_0x52524c[_0x199bd6(0x374)]===_0x18cc1e[_0x199bd6(0x275)]),_0x180f5e(0x10))[_0x199bd6(0x358)](()=>{const _0x39c28a=_0x199bd6;this[_0x39c28a(0x24b)]();}));}};Le=ji([ee(0x1,_0x28e459(_0x26942d)),ee(0x2,_0x28e459(F)),ee(0x3,_0x5f4771),ee(0x4,_0x28e459(_0x4580bb))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x469096{constructor(_0x1c70b5,_0x21db02){const _0x1ca446=_0x7bdef9;super(_0x1c70b5,_0x21db02),_(this,_0x1ca446(0x2c5)),_(this,_0x1ca446(0x25d),!0x1),_(this,_0x1ca446(0x3b8)),_(this,_0x1ca446(0x37c),''),_(this,'_labelPosition',_0x1ca446(0x327)),_(this,_0x1ca446(0x349)),(_0x21db02&&this['setShapeProps'](_0x21db02),this[_0x1ca446(0x320)][_0x1ca446(0x2af)](()=>this[_0x1ca446(0x276)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1ca446(0x2af)](()=>this[_0x1ca446(0x276)]({'hovered':!0x1})));}[_0x7bdef9(0x276)](_0x183523){const _0xe5fe1a=_0x7bdef9;var _0x296964,_0x5ca1df,_0x158893,_0xf3216,_0xc0aeca,_0x562dd4;this[_0xe5fe1a(0x2c5)]=(_0x296964=_0x183523['color'])!=null?_0x296964:this['_color'],this[_0xe5fe1a(0x25d)]=(_0x5ca1df=_0x183523[_0xe5fe1a(0x3e9)])!=null?_0x5ca1df:this[_0xe5fe1a(0x25d)],this[_0xe5fe1a(0x3b8)]=(_0x158893=_0x183523[_0xe5fe1a(0x285)])!=null?_0x158893:this[_0xe5fe1a(0x3b8)],this['_name']=(_0xf3216=_0x183523[_0xe5fe1a(0x3d5)])!=null?_0xf3216:this[_0xe5fe1a(0x37c)],this[_0xe5fe1a(0x230)]=(_0xc0aeca=_0x183523[_0xe5fe1a(0x3bb)])!=null?_0xc0aeca:this[_0xe5fe1a(0x230)],this[_0xe5fe1a(0x349)]=(_0x562dd4=_0x183523[_0xe5fe1a(0x34d)])!=null?_0x562dd4:this[_0xe5fe1a(0x349)],this[_0xe5fe1a(0x213)]({'width':_0x183523[_0xe5fe1a(0x3c7)],'height':_0x183523['height']});}['onMouseMove'](_0x820175){const _0x422c85=_0x7bdef9,{row:_0x3d7a77,column:_0x2c7b81}=_0x820175;if(_0x3d7a77>=this[_0x422c85(0x3b8)][_0x422c85(0x2bc)]&&_0x3d7a77<=this['_range']['endRow']&&_0x2c7b81>=this[_0x422c85(0x3b8)][_0x422c85(0x38f)]&&_0x2c7b81<=this[_0x422c85(0x3b8)][_0x422c85(0x1f2)]){this[_0x422c85(0x276)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x7bdef9(0x37a)](_0x1a180b){return!0x1;}[_0x7bdef9(0x207)](_0x289d01){const _0x2abeca=_0x7bdef9;_0x17d9e4['drawWith'](_0x289d01,{'width':this[_0x2abeca(0x3c7)],'height':this[_0x2abeca(0x366)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2abeca(0x349)]}),this[_0x2abeca(0x25d)]&&(_0x289d01[_0x2abeca(0x38e)](),_0x289d01[_0x2abeca(0x39f)](0x1,0x0,0x0,0x1,this[_0x2abeca(0x3c7)],this[_0x2abeca(0x230)]===_0x2abeca(0x1e5)?0x0:-J),ue[_0x2abeca(0x21c)](_0x289d01,{'text':this[_0x2abeca(0x37c)],'color':this[_0x2abeca(0x2c5)]}),_0x289d01[_0x2abeca(0x208)]());}}var Gi=Object[_0x7bdef9(0x2a7)],Ki=(_0x1f06f5,_0x5deadf,_0x520c61,_0x245dfb)=>{for(var _0x159885=_0x245dfb>0x1?void 0x0:_0x245dfb?Gi(_0x5deadf,_0x520c61):_0x5deadf,_0x25a4a0=_0x1f06f5['length']-0x1,_0x5167f7;_0x25a4a0>=0x0;_0x25a4a0--)(_0x5167f7=_0x1f06f5[_0x25a4a0])&&(_0x159885=_0x5167f7(_0x159885)||_0x159885);return _0x159885;},pe=(_0x5a5360,_0x113730)=>(_0x293b7b,_0x35c7af)=>_0x113730(_0x293b7b,_0x35c7af,_0x5a5360);const zi=0x1389;let Pe=class extends _0x5cab1a{constructor(_0x1bbce7,_0x527a23,_0x1313f5,_0x25113b){const _0x458505=_0x7bdef9;super(),_(this,'_cursors',new Set()),_(this,_0x458505(0x343),null),(this[_0x458505(0x32a)]=_0x1bbce7,this[_0x458505(0x29d)]=_0x527a23,this[_0x458505(0x2b7)]=_0x1313f5,this[_0x458505(0x283)]=_0x25113b,this[_0x458505(0x373)]());}[_0x7bdef9(0x373)](){const _0x361529=_0x7bdef9;this[_0x361529(0x29d)][_0x361529(0x36a)]['pipe'](_0x581be8(this[_0x361529(0x228)]),_0xc6dfa8(_0x978284=>{const _0x4dd0c6=_0x361529;if(_0x978284){const _0x40a98e=_0x978284[_0x4dd0c6(0x2e8)];return _0x513ccb(this[_0x4dd0c6(0x2b7)][_0x4dd0c6(0x2b4)](this[_0x4dd0c6(0x32a)][_0x4dd0c6(0x36f)]),this[_0x4dd0c6(0x283)][_0x4dd0c6(0x35c)])[_0x4dd0c6(0x35a)](_0x4f6aa0(([_0x28c6b6,_0x5f19d1])=>{const _0x53b5a5=_0x4dd0c6,_0x4ce818=new Map();return _0x28c6b6[_0x53b5a5(0x306)]((_0x1d12b7,_0x266d8e)=>{const _0x5505d9=_0x53b5a5;if(_0x1d12b7[_0x5505d9(0x2c2)]===_0x40a98e){const _0x580d6c={..._0x1d12b7};_0x580d6c[_0x5505d9(0x387)]=this[_0x5505d9(0x283)][_0x5505d9(0x392)](_0x1d12b7[_0x5505d9(0x387)]),_0x4ce818['set'](_0x266d8e,_0x580d6c);}}),{'skeleton':_0x978284,'cursors':_0x4ce818};}));}return _0x3269bf({'skeleton':null,'cursors':new Map()});}))[_0x361529(0x358)](({skeleton:_0x4b8f7f,cursors:_0x594ce1})=>{const _0xd91556=_0x361529;this[_0xd91556(0x35f)](),_0x4b8f7f&&this['_updateCollabCursors'](_0x4b8f7f,_0x594ce1);}),this[_0x361529(0x29d)][_0x361529(0x36a)]['subscribe'](_0x4da8d2=>{const _0x35b2a8=_0x361529;if(_0x4da8d2==null)return;const {skeleton:_0x26fc2c}=_0x4da8d2,{scene:_0x252aed}=this[_0x35b2a8(0x32a)];_0x252aed[_0x35b2a8(0x289)][_0x35b2a8(0x2af)](_0x56d432(_0x321671=>{const _0x2b9544=_0x35b2a8;var _0x5c7bb9,_0x4a132e;const {offsetX:_0x6bca85,offsetY:_0x536e6f}=_0x321671,{x:_0x5c94cb,y:_0x21a476}=_0x252aed[_0x2b9544(0x35e)](_0x380419[_0x2b9544(0x3c9)]([_0x6bca85,_0x536e6f])),{scaleX:_0x4ccc60,scaleY:_0x135d73}=_0x252aed[_0x2b9544(0x20a)](),_0x1c6502=_0x252aed['getViewport'](_0x58dfdc[_0x2b9544(0x393)]),_0x3315d0=_0x252aed[_0x2b9544(0x292)](_0x380419[_0x2b9544(0x3c9)]([_0x5c94cb,_0x21a476]),_0x1c6502),_0x16dded=_0x26fc2c[_0x2b9544(0x2a5)](_0x6bca85,_0x536e6f,_0x4ccc60,_0x135d73,_0x3315d0);((_0x5c7bb9=this[_0x2b9544(0x343)])==null?void 0x0:_0x5c7bb9[_0x2b9544(0x37e)])===_0x16dded[_0x2b9544(0x37e)]&&((_0x4a132e=this[_0x2b9544(0x343)])==null?void 0x0:_0x4a132e[_0x2b9544(0x367)])===_0x16dded['row']||this[_0x2b9544(0x29f)][_0x2b9544(0x306)](_0x568b11=>{const _0x5468f2=_0x2b9544;_0x568b11[_0x5468f2(0x394)](_0x16dded);});},0x64));});}[_0x7bdef9(0x2d3)](_0x324b6c,_0x1de7c7){const _0x4b96f4=_0x7bdef9;var _0x314224;const _0x230a24=(_0x314224=this[_0x4b96f4(0x29d)][_0x4b96f4(0x29a)]())==null?void 0x0:_0x314224['skeleton'];if(!_0x230a24)return;const _0x1afc01=this[_0x4b96f4(0x3c2)]();if(!_0x1afc01)return;this[_0x4b96f4(0x29f)][_0x4b96f4(0x306)](_0x42e5e6=>{const _0x129280=_0x4b96f4;_0x42e5e6[_0x129280(0x3b9)]();});const {scene:_0xcc3158}=_0x1afc01,_0x41bafc=Ji(Array['from'](_0x1de7c7[_0x4b96f4(0x30e)]()))[_0x4b96f4(0x239)](_0x303764=>{const _0x259752=_0x4b96f4,{color:_0x27606a,range:_0x4f3607,name:_0x82ff51,selection:_0x2578ad,sheetID:_0x4f0204}=_0x303764,{startColumn:_0x483386,startRow:_0x2b6b2c,endColumn:_0xd3c6fc,endRow:_0xaef4da}=_0x4f3607,_0x33c506=_0x49cbb2(_0x2b6b2c,_0x483386,_0xcc3158,_0x230a24),_0x15340b=_0x49cbb2(_0xaef4da,_0xd3c6fc,_0xcc3158,_0x230a24),{columnHeaderHeightAndMarginTop:_0x4838ab}=_0x230a24,{startX:_0x112fa0,startY:_0x1f0c35}=_0x33c506,{endX:_0x22d58c,endY:_0x54a398}=_0x15340b,_0xe7c8e6=_0x22d58c-_0x112fa0,_0x440e7d=_0x54a398-_0x1f0c35,_0x3f036d={'labelPosition':_0x1f0c35-_0x4838ab>=J?_0x259752(0x327):_0x259752(0x1e5),'sheetID':_0x4f0204,'range':_0x4f3607,'color':_0x27606a,'name':_0x82ff51,'selection':_0x2578ad,'left':_0x112fa0,'top':_0x1f0c35,'width':_0xe7c8e6,'height':_0x440e7d,'evented':!0x1,'zIndex':zi};return new Xi(_0x82ff51,_0x3f036d);});_0xcc3158[_0x4b96f4(0x3d3)](_0x41bafc,Vi),this[_0x4b96f4(0x29f)]=new Set(_0x41bafc);}['_removeCollabCursors'](){const _0x1e91d9=_0x7bdef9;var _0x405a92;(_0x405a92=this[_0x1e91d9(0x29f)])==null||_0x405a92[_0x1e91d9(0x306)](_0x1e2578=>_0x1e2578[_0x1e91d9(0x1fc)]());}[_0x7bdef9(0x3c2)](){return _0x44d870(this['_context']['unit'],this['_context']);}};Pe=Ki([pe(0x1,_0x28e459(_0x51a48d)),pe(0x2,_0x28e459(F)),pe(0x3,_0x28e459(_0x4580bb))],Pe);function Ji(_0x38efe0){const _0x4f31f5=_0x7bdef9,_0x43483a=new Map();return _0x38efe0[_0x4f31f5(0x306)](_0x310b63=>{const _0x301546=_0x4f31f5;if(_0x43483a[_0x301546(0x2c4)](_0x310b63[_0x301546(0x323)])){const _0x149ca5=_0x43483a[_0x301546(0x1fe)](_0x310b63[_0x301546(0x323)]);_0x149ca5[_0x301546(0x3d5)]+=',\x20'+_0x310b63[_0x301546(0x3d5)];}else _0x43483a[_0x301546(0x210)](_0x310b63[_0x301546(0x323)],_0x310b63);}),Array['from'](_0x43483a[_0x4f31f5(0x30e)]());}var Zi=Object[_0x7bdef9(0x2a7)],Qi=(_0x53fc97,_0x3219ad,_0x33be16,_0x1a3176)=>{const _0x28767c=_0x7bdef9;for(var _0x1d9631=_0x1a3176>0x1?void 0x0:_0x1a3176?Zi(_0x3219ad,_0x33be16):_0x3219ad,_0xc18652=_0x53fc97[_0x28767c(0x3e1)]-0x1,_0x20bc49;_0xc18652>=0x0;_0xc18652--)(_0x20bc49=_0x53fc97[_0xc18652])&&(_0x1d9631=_0x20bc49(_0x1d9631)||_0x1d9631);return _0x1d9631;},B=(_0x4924b7,_0x4d337b)=>(_0x1f0f93,_0x53ca7c)=>_0x4d337b(_0x1f0f93,_0x53ca7c,_0x4924b7);let ne=class extends _0x5f8b08{constructor(_0x49cf2c,_0x2bb566,_0x5fd0ef,_0x9fcd9e,_0x5b508e,_0x492836){const _0x205f3b=_0x7bdef9;super(),this['_beforeCloseService']=_0x49cf2c,this[_0x205f3b(0x2fb)]=_0x2bb566,this[_0x205f3b(0x257)]=_0x5fd0ef,this['_messageService']=_0x9fcd9e,this[_0x205f3b(0x33f)]=_0x5b508e,this[_0x205f3b(0x2c7)]=_0x492836,this[_0x205f3b(0x1eb)](),this['_initEvent']();}[_0x7bdef9(0x1eb)](){const _0x23b7c7=_0x7bdef9;this['disposeWithMe'](this[_0x23b7c7(0x1e1)][_0x23b7c7(0x211)](()=>{const _0x1f80ff=_0x23b7c7;if(this[_0x1f80ff(0x2fb)][_0x1f80ff(0x23a)][_0x1f80ff(0x383)])return this[_0x1f80ff(0x2c7)]['t'](_0x1f80ff(0x305));}));}[_0x7bdef9(0x255)](){const _0x162c3f=_0x7bdef9;this[_0x162c3f(0x28a)](this['_collaborationUIEventService'][_0x162c3f(0x359)][_0x162c3f(0x358)](_0x27532e=>{const _0x242ae0=_0x162c3f;_0x27532e['id']===_0x4ea152[_0x242ae0(0x237)]&&this[_0x242ae0(0x1e9)][_0x242ae0(0x3d0)]({'type':_0x5c3688[_0x242ae0(0x266)],'content':this[_0x242ae0(0x2c7)]['t']('collaboration.single-unit.warning')}),_0x27532e['id']===_0x4ea152[_0x242ae0(0x201)]&&this[_0x242ae0(0x1e9)][_0x242ae0(0x3d0)]({'type':_0x5c3688[_0x242ae0(0x266)],'content':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x294))}),_0x27532e['id']===_0x4ea152[_0x242ae0(0x2fe)]&&this[_0x242ae0(0x33f)]['show']({'title':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x389)),'content':this['_localeService']['t'](_0x242ae0(0x2ed)),'type':_0x242ae0(0x218),'duration':0x0}),_0x27532e['id']===_0x4ea152['CONFLICT']&&this[_0x242ae0(0x1e9)]['show']({'type':_0x5c3688['Error'],'content':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x294))+'('+_0x27532e[_0x242ae0(0x388)]+')'}),_0x27532e['id']===_0x4ea152[_0x242ae0(0x23d)]&&this[_0x242ae0(0x1e9)][_0x242ae0(0x3d0)]({'type':_0x5c3688[_0x242ae0(0x266)],'content':this[_0x242ae0(0x2c7)]['t'](_0x27532e[_0x242ae0(0x388)]||'')}),_0x27532e['id']===_0x4ea152['SOCKET_FAILED_RETRY']&&this[_0x242ae0(0x1e9)]['show']({'type':_0x5c3688[_0x242ae0(0x266)],'content':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x2cf))}),_0x27532e['id']===_0x4ea152['SOCKET_FAILED']&&this[_0x242ae0(0x1e9)][_0x242ae0(0x3d0)]({'type':_0x5c3688['Error'],'content':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x24d))}),_0x27532e['id']===_0x4ea152['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x242ae0(0x1e9)][_0x242ae0(0x3d0)]({'type':_0x5c3688[_0x242ae0(0x297)],'content':this[_0x242ae0(0x2c7)]['t'](_0x242ae0(0x3a9))});}));}};ne=Qi([B(0x0,_0xd3bcc7),B(0x1,_0x54e499),B(0x2,_0x28e459(_0x5d11d7)),B(0x3,_0x1eebbb),B(0x4,_0xf370a),B(0x5,_0x28e459(_0x157089))],ne);const qi=_0x7bdef9(0x33a),et={};var en=Object[_0x7bdef9(0x2a7)],tn=(_0x535c7c,_0x2f9d3d,_0x3e3fb6,_0x5d51bd)=>{const _0x4f6460=_0x7bdef9;for(var _0x23ca78=_0x5d51bd>0x1?void 0x0:_0x5d51bd?en(_0x2f9d3d,_0x3e3fb6):_0x2f9d3d,_0x19a7c4=_0x535c7c[_0x4f6460(0x3e1)]-0x1,_0x46c527;_0x19a7c4>=0x0;_0x19a7c4--)(_0x46c527=_0x535c7c[_0x19a7c4])&&(_0x23ca78=_0x46c527(_0x23ca78)||_0x23ca78);return _0x23ca78;},tt=(_0x51751e,_0x3f7eff)=>(_0x783e25,_0x1a02eb)=>_0x3f7eff(_0x783e25,_0x1a02eb,_0x51751e);let re=class{constructor(_0x59a6fa,_0x98b56){this['_transformService']=_0x59a6fa,this['_renderManagerService']=_0x98b56;}[_0x7bdef9(0x2e2)](_0x593cf3){const _0x2ba0f8=_0x7bdef9;this[_0x2ba0f8(0x278)](_0x593cf3),this[_0x2ba0f8(0x2d5)](_0x593cf3);}['transformRemoteChangeset'](_0x131e5f){const _0x3ae59a=_0x7bdef9,{unitID:_0x2b2cd7}=_0x131e5f,_0x2da663=this[_0x3ae59a(0x348)]['getRenderById'](_0x2b2cd7)[_0x3ae59a(0x375)](_0x360055),{redoCache:_0x579ba0}=_0x2da663['getUndoRedoMutationParamsCache']();if(_0x579ba0[_0x3ae59a(0x3e1)]===0x0)return _0x131e5f;let _0x1c4232=_0x18fe65[_0x3ae59a(0x223)](_0x131e5f[_0x3ae59a(0x2f6)][0x0]);for(let _0x8bea87=0x0;_0x8bea87<_0x579ba0[_0x3ae59a(0x3e1)];_0x8bea87++){const _0x3280bb={'id':_0x3ae59a(0x1dc),'params':{..._0x579ba0[_0x8bea87]}},_0x365977=this['_transformService'][_0x3ae59a(0x27e)](_0x1c4232,_0x3280bb,!0x1);if(_0x1db28a(_0x365977))throw _0x365977[_0x3ae59a(0x218)];_0x1c4232=_0x365977[_0x3ae59a(0x3a5)];}return{..._0x18fe65[_0x3ae59a(0x223)](_0x131e5f),'mutations':[_0x1c4232]};}[_0x7bdef9(0x278)](_0x559083){const _0x3c1f97=_0x7bdef9,{unitID:_0x544686}=_0x559083,_0x1052cc=this['_renderManagerService'][_0x3c1f97(0x24c)](_0x544686)[_0x3c1f97(0x375)](_0x360055),{undoCache:_0x405ae5,redoCache:_0x571c1a}=_0x1052cc['getUndoRedoMutationParamsCache']();if(_0x405ae5[_0x3c1f97(0x3e1)]===0x0||_0x571c1a[_0x3c1f97(0x3e1)]===0x0)return;const _0x741024=[],_0x219477=[];let _0x47d9f0=_0x18fe65['deepClone'](_0x559083[_0x3c1f97(0x2f6)][0x0]),_0x444d98=_0x18fe65[_0x3c1f97(0x223)](_0x559083[_0x3c1f97(0x2f6)][0x0]);for(let _0x1c61f6=_0x405ae5[_0x3c1f97(0x3e1)]-0x1;_0x1c61f6>=0x0;_0x1c61f6--){const _0x20ce9b={'id':_0x3c1f97(0x1dc),'params':{..._0x405ae5[_0x1c61f6]}},_0x56834b={'id':_0x3c1f97(0x1dc),'params':{..._0x571c1a[_0x1c61f6]}},_0x1d3ae8=this['_transformService'][_0x3c1f97(0x27e)](_0x47d9f0,_0x20ce9b,!0x1),_0x41553e=this[_0x3c1f97(0x274)][_0x3c1f97(0x27e)](_0x444d98,_0x56834b,!0x1);if(_0x1db28a(_0x1d3ae8))throw _0x1d3ae8[_0x3c1f97(0x218)];if(_0x1db28a(_0x41553e))throw _0x41553e[_0x3c1f97(0x218)];_0x741024[_0x3c1f97(0x3ea)](_0x1d3ae8[_0x3c1f97(0x34a)][_0x3c1f97(0x3d4)]),_0x219477[_0x3c1f97(0x3ea)](_0x41553e[_0x3c1f97(0x34a)][_0x3c1f97(0x3d4)]),_0x47d9f0=_0x1d3ae8[_0x3c1f97(0x3a5)],_0x444d98=_0x41553e['m1Prime'];}_0x1052cc[_0x3c1f97(0x21b)]({'undoCache':_0x741024,'redoCache':_0x219477});}['_transformPreviousActiveRange'](_0x546a2a){const _0x38f173=_0x7bdef9,{unitID:_0x22eb75}=_0x546a2a,_0x296cae=this[_0x38f173(0x348)][_0x38f173(0x24c)](_0x22eb75)[_0x38f173(0x375)](_0x360055),_0x4f0b57=_0x296cae[_0x38f173(0x33c)]();if(_0x4f0b57==null)return;const _0x3b6e92=[{'id':_0x38f173(0x1dc),'params':{'unitId':_0x546a2a['unitID'],'actions':null,'textRanges':[_0x4f0b57]}}],_0x5a5645=this['_transformService'][_0x38f173(0x280)](_0x546a2a,_0x3b6e92);if(!_0x3cfba8(_0x5a5645))throw _0x5a5645[_0x38f173(0x218)];const _0xad1b0f=_0x5a5645['m2Prime'][0x0]['params'][_0x38f173(0x355)];Array['isArray'](_0xad1b0f)&&_0xad1b0f[_0x38f173(0x3e1)]&&_0x296cae[_0x38f173(0x3a2)](_0xad1b0f[0x0]);}};re=tn([tt(0x0,_0x51afb8),tt(0x1,_0x56d891)],re);var sn=Object[_0x7bdef9(0x2a7)],nn=(_0x5533b8,_0x3b2d6c,_0x3e7229,_0x59b785)=>{const _0x470116=_0x7bdef9;for(var _0x4a4b2c=_0x59b785>0x1?void 0x0:_0x59b785?sn(_0x3b2d6c,_0x3e7229):_0x3b2d6c,_0x4e179f=_0x5533b8[_0x470116(0x3e1)]-0x1,_0x3354ee;_0x4e179f>=0x0;_0x4e179f--)(_0x3354ee=_0x5533b8[_0x4e179f])&&(_0x4a4b2c=_0x3354ee(_0x4a4b2c)||_0x4a4b2c);return _0x4a4b2c;},Ce=(_0x35ffdd,_0x35c39d)=>(_0x58b150,_0x2a8123)=>_0x35c39d(_0x58b150,_0x2a8123,_0x35ffdd);let oe=class{constructor(_0x4f1c97,_0x35a1fc,_0x23eb7f){const _0x574c4d=_0x7bdef9;this[_0x574c4d(0x371)]=_0x4f1c97,this[_0x574c4d(0x274)]=_0x35a1fc,this[_0x574c4d(0x215)]=_0x23eb7f;}[_0x7bdef9(0x22f)](_0x27b052){const _0x5905f0=_0x7bdef9;this[_0x5905f0(0x3ef)](_0x27b052);}[_0x7bdef9(0x26b)](_0x4a2c35){const _0x1e39bc=_0x7bdef9,{unitID:_0x15cc64}=_0x4a2c35,{collaboration:_0x58321d}=this[_0x1e39bc(0x215)][_0x1e39bc(0x31c)](_0x15cc64);if(_0x58321d[_0x1e39bc(0x3e1)]===0x0)return _0x4a2c35;let _0x4dfef0=_0x18fe65[_0x1e39bc(0x223)](_0x4a2c35[_0x1e39bc(0x2f6)][0x0]);for(let _0x4deada=0x0;_0x4deada<_0x58321d['length'];_0x4deada++){const _0x54ddf1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58321d[_0x4deada][_0x1e39bc(0x36f)],..._0x58321d[_0x4deada][_0x1e39bc(0x382)]}},_0x46e049=this[_0x1e39bc(0x274)][_0x1e39bc(0x27e)](_0x4dfef0,_0x54ddf1,!0x1);if(_0x1db28a(_0x46e049))throw _0x46e049[_0x1e39bc(0x218)];_0x4dfef0=_0x46e049['m1Prime'];}return{..._0x18fe65['deepClone'](_0x4a2c35),'mutations':[_0x4dfef0]};}['_transformHistoryAndStateStack'](_0x205dde){const _0x317296=_0x7bdef9,{unitID:_0x21a473}=_0x205dde,{history:_0x278997,collaboration:_0x12109a}=this[_0x317296(0x215)]['getStateCache'](_0x21a473);if(_0x278997['length']===0x0&&_0x12109a[_0x317296(0x3e1)]===0x0)return;const _0x5e8c0c=[],_0x331a47=[];let _0x399129=_0x18fe65[_0x317296(0x223)](_0x205dde['mutations'][0x0]),_0x29fcda=_0x18fe65[_0x317296(0x223)](_0x205dde[_0x317296(0x2f6)][0x0]);for(let _0x564873=_0x278997[_0x317296(0x3e1)]-0x1;_0x564873>=0x0;_0x564873--){const _0x3fbb31={'id':_0x317296(0x1dc),'params':{'unitId':_0x278997[_0x564873]['unitId'],..._0x278997[_0x564873][_0x317296(0x3b3)]}},_0x193229={'id':_0x317296(0x1dc),'params':{'unitId':_0x278997[_0x564873][_0x317296(0x36f)],..._0x278997[_0x564873][_0x317296(0x382)]}},_0x9003c9=this[_0x317296(0x274)]['transformMutation'](_0x399129,_0x3fbb31,!0x1),_0x3546e3=this[_0x317296(0x274)][_0x317296(0x27e)](_0x29fcda,_0x193229,!0x1);if(_0x1db28a(_0x9003c9))throw _0x9003c9[_0x317296(0x218)];if(_0x1db28a(_0x3546e3))throw _0x3546e3['error'];_0x5e8c0c[_0x317296(0x3ea)]({..._0x278997[_0x564873],'undoState':_0x9003c9[_0x317296(0x34a)][_0x317296(0x3d4)],'redoState':_0x3546e3['m2Prime'][_0x317296(0x3d4)]}),_0x399129=_0x9003c9[_0x317296(0x3a5)],_0x29fcda=_0x3546e3[_0x317296(0x3a5)];}_0x399129=_0x18fe65[_0x317296(0x223)](_0x205dde[_0x317296(0x2f6)][0x0]),_0x29fcda=_0x18fe65[_0x317296(0x223)](_0x205dde[_0x317296(0x2f6)][0x0]);for(let _0x1e46e9=_0x12109a[_0x317296(0x3e1)]-0x1;_0x1e46e9>=0x0;_0x1e46e9--){const _0x30c9c4={'id':_0x317296(0x1dc),'params':{'unitId':_0x12109a[_0x1e46e9][_0x317296(0x36f)],..._0x12109a[_0x1e46e9][_0x317296(0x3b3)]}},_0x1365d4={'id':_0x317296(0x1dc),'params':{'unitId':_0x12109a[_0x1e46e9]['unitId'],..._0x12109a[_0x1e46e9]['redoState']}},_0x206780=this[_0x317296(0x274)][_0x317296(0x27e)](_0x399129,_0x30c9c4,!0x1),_0x5d69e7=this[_0x317296(0x274)]['transformMutation'](_0x29fcda,_0x1365d4,!0x1);if(_0x1db28a(_0x206780))throw _0x206780[_0x317296(0x218)];if(_0x1db28a(_0x5d69e7))throw _0x5d69e7['error'];_0x331a47[_0x317296(0x3ea)]({..._0x12109a[_0x1e46e9],'undoState':_0x206780['m2Prime'][_0x317296(0x3d4)],'redoState':_0x5d69e7[_0x317296(0x34a)]['params']}),_0x399129=_0x206780[_0x317296(0x3a5)],_0x29fcda=_0x5d69e7[_0x317296(0x3a5)];}this[_0x317296(0x215)][_0x317296(0x200)](_0x21a473,{'history':_0x5e8c0c,'collaboration':_0x331a47});}};oe=nn([Ce(0x0,_0x28e459(_0x5706a4)),Ce(0x1,_0x51afb8),Ce(0x2,_0x28e459(_0x177418))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x4e3e5b,_0x58ca9e,_0x54f3ad,_0x515dbe)=>{const _0x498fdb=_0x7bdef9;for(var _0x374a84=_0x515dbe>0x1?void 0x0:_0x515dbe?rn(_0x58ca9e,_0x54f3ad):_0x58ca9e,_0x41dbcc=_0x4e3e5b[_0x498fdb(0x3e1)]-0x1,_0x2a5d5e;_0x41dbcc>=0x0;_0x41dbcc--)(_0x2a5d5e=_0x4e3e5b[_0x41dbcc])&&(_0x374a84=_0x2a5d5e(_0x374a84)||_0x374a84);return _0x374a84;},st=(_0x41385e,_0x4458f6)=>(_0x484511,_0x155513)=>_0x4458f6(_0x484511,_0x155513,_0x41385e);let ae=class{constructor(_0x1dcd5f,_0x3bd9c7){const _0x238b60=_0x7bdef9;this[_0x238b60(0x371)]=_0x1dcd5f,this['_transformService']=_0x3bd9c7;}['transformSelections'](_0x788d86){const _0x2a2f8c=_0x7bdef9;var _0x348e32;const _0x531080=this['_injector'][_0x2a2f8c(0x1fe)](_0x4c3c8c),_0x2f4931=(_0x348e32=_0x531080[_0x2a2f8c(0x36d)]())!=null?_0x348e32:[];if(_0x2f4931['length']===0x0)return;const _0x47eb8d=_0x788d86['unitID'],_0x50bfa0=[{'id':_0x2a2f8c(0x1dc),'params':{'unitId':_0x47eb8d,'actions':null,'textRanges':_0x2f4931}}],_0x1563f2=this[_0x2a2f8c(0x274)][_0x2a2f8c(0x280)](_0x788d86,_0x50bfa0);if(!_0x3cfba8(_0x1563f2))throw _0x1563f2[_0x2a2f8c(0x218)];const _0x1ee059=_0x1563f2[_0x2a2f8c(0x34a)][0x0][_0x2a2f8c(0x3d4)][_0x2a2f8c(0x355)];Array['isArray'](_0x1ee059)&&_0x1ee059[_0x2a2f8c(0x3e1)]&&_0x531080[_0x2a2f8c(0x2ea)](_0x1ee059,{'unitId':_0x47eb8d,'subUnitId':_0x47eb8d},!0x1);}};ae=on([st(0x0,_0x28e459(_0x5706a4)),st(0x1,_0x51afb8)],ae);var an=Object[_0x7bdef9(0x2a7)],cn=(_0x4b9bab,_0x2bbdfa,_0x45ce69,_0x5ec7ed)=>{const _0x4d2765=_0x7bdef9;for(var _0x42e30e=_0x5ec7ed>0x1?void 0x0:_0x5ec7ed?an(_0x2bbdfa,_0x45ce69):_0x2bbdfa,_0x2b9198=_0x4b9bab[_0x4d2765(0x3e1)]-0x1,_0x57c43c;_0x2b9198>=0x0;_0x2b9198--)(_0x57c43c=_0x4b9bab[_0x2b9198])&&(_0x42e30e=_0x57c43c(_0x42e30e)||_0x42e30e);return _0x42e30e;},N=(_0xa19afd,_0xcf73b9)=>(_0x3d1f8e,_0x22ee0e)=>_0xcf73b9(_0x3d1f8e,_0x22ee0e,_0xa19afd);let ce=class extends _0x5f8b08{constructor(_0x5d5440,_0x4d7644,_0x3b1944,_0x489345,_0x5c79d6,_0x27f275,_0x1fe331,_0x9a5cf4){const _0x5ec7a3=_0x7bdef9;super(),_(this,_0x5ec7a3(0x303),new _0xf21850(_0x5b4a83[_0x5ec7a3(0x2cc)])),(this[_0x5ec7a3(0x215)]=_0x5d5440,this['_collaborationController']=_0x4d7644,this[_0x5ec7a3(0x2f1)]=_0x3b1944,this['_docTransformStateCacheService']=_0x489345,this['_docTransformSelectionsService']=_0x5c79d6,this[_0x5ec7a3(0x2cd)]=_0x27f275,this[_0x5ec7a3(0x1e9)]=_0x1fe331,this[_0x5ec7a3(0x2c7)]=_0x9a5cf4,this[_0x5ec7a3(0x30c)]());}[_0x7bdef9(0x30c)](){const _0x58a6b3=_0x7bdef9;this[_0x58a6b3(0x28a)](this[_0x58a6b3(0x376)][_0x58a6b3(0x2e0)][_0x58a6b3(0x358)](_0x36239e=>{const _0x1b45ae=_0x58a6b3,_0x432be9=this[_0x1b45ae(0x215)][_0x1b45ae(0x2a4)][_0x1b45ae(0x358)](_0x204174=>{const _0xb62a39=_0x1b45ae;if(_0x204174==null)return;const {unitId:_0xb85df5,redoState:_0x5baba0,commandId:_0x2e2e9e}=_0x204174;if(_0xb85df5!==_0x36239e[_0xb62a39(0x321)])return;const _0x5dd053={'id':_0x2e2e9e,'type':_0x5f54ad[_0xb62a39(0x357)],'params':{'unitId':_0xb85df5,'actions':_0x5baba0['actions'],'textRanges':null}};_0x36239e[_0xb62a39(0x2a1)](_0x5dd053);});if(_0x36239e[_0x1b45ae(0x28a)](_0x432be9),_0x36239e instanceof _0x138107){const _0x3d0725={'onTransformIME':_0x5ef417=>this['_docTransformIMECacheService']['transformIMECache'](_0x5ef417),'onTransformState':_0x57243b=>this['_docTransformStateCacheService']['transformStateCache'](_0x57243b),'onTransformSelections':_0x746008=>this['_docTransformSelectionsService'][_0x1b45ae(0x1ea)](_0x746008),'onSyncEditingCollabCursor':_0x5e9f1a=>this[_0x1b45ae(0x2cd)][_0x1b45ae(0x318)](_0x5e9f1a),'onTransformRemoteChangesetByIMECache':_0x3915e5=>this[_0x1b45ae(0x2f1)][_0x1b45ae(0x26b)](_0x3915e5),'onTransformRemoteChangesetByStateCache':_0x13dfbd=>this[_0x1b45ae(0x314)][_0x1b45ae(0x26b)](_0x13dfbd)};_0x36239e['addHandlerCallback'](_0x3d0725);}}));}};ce=cn([N(0x0,_0x28e459(_0x177418)),N(0x1,_0x28e459(_0x4ca7db)),N(0x2,_0x28e459(re)),N(0x3,_0x28e459(oe)),N(0x4,_0x28e459(ae)),N(0x5,_0x28e459(Fe)),N(0x6,_0x1eebbb),N(0x7,_0x28e459(_0x157089))],ce);var ln=Object[_0x7bdef9(0x2a7)],_n=(_0x471721,_0x307c05,_0xa87bb,_0x455b86)=>{const _0x1faa95=_0x7bdef9;for(var _0x586b9b=_0x455b86>0x1?void 0x0:_0x455b86?ln(_0x307c05,_0xa87bb):_0x307c05,_0x19c22c=_0x471721[_0x1faa95(0x3e1)]-0x1,_0x106ca3;_0x19c22c>=0x0;_0x19c22c--)(_0x106ca3=_0x471721[_0x19c22c])&&(_0x586b9b=_0x106ca3(_0x586b9b)||_0x586b9b);return _0x586b9b;},Ee=(_0xe5b12e,_0x4b2e51)=>(_0x4f5e8f,_0x1ccc02)=>_0x4b2e51(_0x4f5e8f,_0x1ccc02,_0xe5b12e);let we=class extends _0x5f8b08{constructor(_0x1c5757,_0x347f73,_0x114f83){const _0x7ac82d=_0x7bdef9;super(),_(this,_0x7ac82d(0x2f3),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x7ac82d(0x1e2),!0x1),(this[_0x7ac82d(0x3df)]=_0x1c5757,this['_localStorageService']=_0x347f73,this[_0x7ac82d(0x24a)]=_0x114f83);}[_0x7bdef9(0x3d1)](){const _0x509dc5=_0x7bdef9;this[_0x509dc5(0x1e2)]=!0x0;}[_0x7bdef9(0x3ca)](){const _0x3bcbcc=_0x7bdef9;this[_0x3bcbcc(0x1e2)]=!0x1;}get[_0x7bdef9(0x23a)](){const _0x3ecf31=_0x7bdef9;return this[_0x3ecf31(0x248)];}[_0x7bdef9(0x1fc)](){const _0x598d2d=_0x7bdef9;this[_0x598d2d(0x28d)]()[_0x598d2d(0x3ce)](()=>super['dispose']());}async[_0x7bdef9(0x3eb)](_0x4f456c){const _0x10aca7=_0x7bdef9;return this[_0x10aca7(0x1e2)]?null:this[_0x10aca7(0x311)]['getItem'](_0x155a1f(_0x4f456c));}async[_0x7bdef9(0x3e4)](_0x2c4506,_0x2d4c51){const _0x509945=_0x7bdef9;return!!this[_0x509945(0x311)][_0x509945(0x2ec)](_0x2c4506,_0x2d4c51);}[_0x7bdef9(0x307)](_0xe890f8,_0xd1ec98,_0x12f949,_0x16e7df){const _0x2a6df7=_0x7bdef9,_0x3227d3=this['_revisionService'][_0x2a6df7(0x261)](_0xe890f8);this[_0x2a6df7(0x2f3)][_0x2a6df7(0x210)](_0xe890f8,{'unitID':_0xe890f8,'type':_0xd1ec98,'awaitingChangeset':_0x12f949,'mutations':_0x16e7df,'rev':_0x3227d3}),this['_saveTaskMap']['has'](_0xe890f8)||this['_scheduleSaving'](_0xe890f8);}[_0x7bdef9(0x2e6)](_0x290000){const _0x352352=_0x7bdef9,_0x505c03=this[_0x352352(0x36b)]();_0x505c03===0x0?this[_0x352352(0x3e7)](_0x290000):this['_saveTaskMap'][_0x352352(0x210)](_0x290000,setTimeout(()=>this[_0x352352(0x3e7)](_0x290000),_0x505c03));}['_getSaveTimeout'](){const _0x458e92=_0x7bdef9;var _0x307127;return(_0x307127=this[_0x458e92(0x3df)][_0x458e92(0x27a)](_0x1e2002))!=null?_0x307127:_0x552100;}[_0x7bdef9(0x3e7)](_0x451476){const _0x5d09f1=_0x7bdef9,_0x7864f3=this[_0x5d09f1(0x248)][_0x5d09f1(0x1fe)](_0x451476);return _0x7864f3!==void 0x0&&window[_0x5d09f1(0x2fd)](_0x7864f3),this['_localStorageService'][_0x5d09f1(0x2ec)](_0x155a1f(_0x451476),this['_cachedData']['get'](_0x451476))[_0x5d09f1(0x3ce)](()=>this[_0x5d09f1(0x248)][_0x5d09f1(0x2c6)](_0x451476));}async[_0x7bdef9(0x28d)](){const _0x26313d=_0x7bdef9,_0x40fc74=[];this['_saveTaskMap']['forEach']((_0x144ef6,_0x498203)=>{const _0x15ad52=_0x2ab1;window[_0x15ad52(0x2fd)](_0x144ef6),_0x40fc74[_0x15ad52(0x287)](this['_saveCache'](_0x498203)[_0x15ad52(0x3ce)](()=>{const _0x5edbfa=_0x15ad52;this['_saveTaskMap'][_0x5edbfa(0x2c6)](_0x498203);}));}),await Promise[_0x26313d(0x1e0)](_0x40fc74);}};we=_n([Ee(0x0,_0x54983c),Ee(0x1,_0x4bd2f1),Ee(0x2,_0x28e459(_0x42e7a9))],we);class hn extends _0x5cab1a{constructor(){const _0x1a4fb6=_0x7bdef9;super(),_(this,_0x1a4fb6(0x286)),this['urlChange$']=_0xe3cc5e(window,_0x1a4fb6(0x288))[_0x1a4fb6(0x35a)](_0x585971(this[_0x1a4fb6(0x228)]),_0x2e1b4d(0x1),_0x5e4884(void 0x0));}[_0x7bdef9(0x226)](_0x5b7663,_0x2d3651,_0x286050=!0x1){const _0x33c40b=_0x7bdef9,_0x5a1510=new URL(window[_0x33c40b(0x204)][_0x33c40b(0x395)]);_0x5a1510[_0x33c40b(0x346)]['set'](_0x5b7663,_0x2d3651),_0x286050?window[_0x33c40b(0x2ee)]['replaceState']('','',_0x5a1510['toString']()):window['history'][_0x33c40b(0x3b0)]('','',_0x5a1510[_0x33c40b(0x32c)]());}[_0x7bdef9(0x3d2)](_0x1df734,_0x559cca=!0x1){const _0xdbd37c=_0x7bdef9,_0x4f6d52=new URL(window['location']['href']);_0x4f6d52[_0xdbd37c(0x346)]['delete'](_0x1df734),_0x559cca?window[_0xdbd37c(0x2ee)][_0xdbd37c(0x2b3)]('','',_0x4f6d52[_0xdbd37c(0x32c)]()):window[_0xdbd37c(0x2ee)][_0xdbd37c(0x3b0)]('','',_0x4f6d52['toString']());}[_0x7bdef9(0x2f7)](_0x43f58a){const _0x1b45c0=_0x7bdef9;var _0x9b4fc7;return(_0x9b4fc7=new URL(window[_0x1b45c0(0x204)][_0x1b45c0(0x395)])[_0x1b45c0(0x346)][_0x1b45c0(0x1fe)](_0x43f58a))!=null?_0x9b4fc7:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x2210af,_0x5c5719,_0x490954)=>_0x5c5719 in _0x2210af?un(_0x2210af,_0x5c5719,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x490954}):_0x2210af[_0x5c5719]=_0x490954,Sn=(_0x1b5544,_0x3ffda4,_0x478367,_0x156b4f)=>{const _0x50e8b9=_0x7bdef9;for(var _0x25e496=_0x156b4f>0x1?void 0x0:_0x156b4f?dn(_0x3ffda4,_0x478367):_0x3ffda4,_0x10f204=_0x1b5544[_0x50e8b9(0x3e1)]-0x1,_0x2ed812;_0x10f204>=0x0;_0x10f204--)(_0x2ed812=_0x1b5544[_0x10f204])&&(_0x25e496=_0x2ed812(_0x25e496)||_0x25e496);return _0x25e496;},Oe=(_0xefacbe,_0xcd834e)=>(_0x3e60a5,_0x5e5f4e)=>_0xcd834e(_0x3e60a5,_0x5e5f4e,_0xefacbe),mn=(_0x2d4932,_0x512898,_0x3074cb)=>fn(_0x2d4932,_0x512898+'',_0x3074cb);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x3a4470{constructor(_0x366d67=et,_0x43debe,_0x142254,_0x13927d){const _0x57ef7e=_0x7bdef9;super(),this[_0x57ef7e(0x331)]=_0x366d67,this[_0x57ef7e(0x348)]=_0x43debe,this[_0x57ef7e(0x371)]=_0x142254,this[_0x57ef7e(0x3df)]=_0x13927d;const {..._0x49dc60}=_0x512149({},et,this[_0x57ef7e(0x331)]);this[_0x57ef7e(0x3df)][_0x57ef7e(0x3c3)](qi,_0x49dc60);}[_0x7bdef9(0x315)](){const _0x5525a9=_0x7bdef9;this[_0x5525a9(0x1f1)](),this[_0x5525a9(0x1ed)]();}['onRendered'](){const _0x17964f=_0x7bdef9;this[_0x17964f(0x29c)]();}[_0x7bdef9(0x1f1)](){const _0xba74fb=_0x7bdef9;var _0x145a49;const _0x1e3cff=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x4f27e6,{'useClass':_0x2595d6}],[_0x54e499,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2d2570(this[_0xba74fb(0x371)],_0x1c6182(_0x1e3cff,(_0x145a49=this[_0xba74fb(0x331)])==null?void 0x0:_0x145a49[_0xba74fb(0x27b)]));}[_0x7bdef9(0x29c)](){const _0x2bf356=_0x7bdef9;this['disposeWithMe'](this[_0x2bf356(0x348)][_0x2bf356(0x33b)](_0x30fe4c[_0x2bf356(0x2e1)],[Le])),this[_0x2bf356(0x28a)](this[_0x2bf356(0x348)][_0x2bf356(0x33b)](_0x30fe4c[_0x2bf356(0x370)],[Pe]));}[_0x7bdef9(0x1ed)](){const _0xd1ce9f=_0x7bdef9;_0x1da899(this[_0xd1ce9f(0x371)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x7bdef9(0x3c0),In),Ae=Sn([_0x433821(_0x1a5fa8),Oe(0x1,_0x56d891),Oe(0x2,_0x28e459(_0x5706a4)),Oe(0x3,_0x54983c)],Ae);var vn=Object[_0x7bdef9(0x2a7)],gn=(_0x1b2d06,_0x1b1942,_0x36b772,_0x18d403)=>{for(var _0x2419f8=_0x18d403>0x1?void 0x0:_0x18d403?vn(_0x1b1942,_0x36b772):_0x1b1942,_0x233bf7=_0x1b2d06['length']-0x1,_0x4fdc3e;_0x233bf7>=0x0;_0x233bf7--)(_0x4fdc3e=_0x1b2d06[_0x233bf7])&&(_0x2419f8=_0x4fdc3e(_0x2419f8)||_0x2419f8);return _0x2419f8;},z=(_0x2f1d87,_0x17c4f4)=>(_0x30c0a9,_0x3b4fab)=>_0x17c4f4(_0x30c0a9,_0x3b4fab,_0x2f1d87);let it=class extends _0x2c4830{constructor(_0x58dbde,_0x2d65e3,_0x2252dd,_0x4545c2,_0x4e5f01){super(_0x58dbde,_0x2d65e3,_0x2252dd,_0x4545c2,_0x4e5f01);}async[_0x7bdef9(0x329)](_0x1c006b){const _0x9521e7=_0x7bdef9,_0x499296=await this[_0x9521e7(0x30f)](),_0x4210be=this[_0x9521e7(0x3b7)](_0x1c006b,_0x499296);return this[_0x9521e7(0x35d)](_0x4210be);}['_createSocketURL'](_0x218f3e,_0x3d5952){const _0x189d70=_0x7bdef9,_0x524272=typeof window>'u'?new URL(_0x218f3e):new URL(_0x218f3e,window[_0x189d70(0x204)][_0x189d70(0x232)]);_0x524272['searchParams']['set'](_0x189d70(0x3be),_0x3d5952);const _0x320394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x189d70(0x204)][_0x189d70(0x2ca)]);return _0x320394[_0x189d70(0x1fe)](_0x189d70(0x20d))&&_0x524272[_0x189d70(0x346)]['set'](_0x189d70(0x20d),_0x320394[_0x189d70(0x1fe)](_0x189d70(0x20d))),_0x524272[_0x189d70(0x32c)]();}async[_0x7bdef9(0x30f)](){const _0xd82c6c=_0x7bdef9;var _0x434115,_0x31f8bc,_0xf8018d;const _0x334930=this[_0xd82c6c(0x3df)][_0xd82c6c(0x27a)](_0x5d2254),_0x3a8e24=(_0x434115=_0x334930==null?void 0x0:_0x334930[_0xd82c6c(0x30b)])!=null?_0x434115:_0x5e8a35;return(_0xf8018d=(_0x31f8bc=(await this[_0xd82c6c(0x25b)][_0xd82c6c(0x1fe)](_0x3a8e24,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x31f8bc[_0xd82c6c(0x31d)])!=null?_0xf8018d:'';}};function _0x1639(){const _0x4bbcbd=['_context','find','toString','addObject','_unitOnClients','entries','Failed','_config','20VdWJhC','526890lfAchZ','getUnitId','1625250AoxNat','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVALID_ARGUMENT','current','_updateURLWithCurrentState','collaboration-client-ui.config','registerRenderModule','getActiveRange','ALREADY_EXISTS','YUUMI_URL_COL_OUT_OF_RANGE','_notificationService','getMergeData','collab-rect-range-','1197225hrOjAB','_lastPointer','LICENSE_DISTRO_REJECTED','className','searchParams','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_renderManagerService','_backgroundColor','m2Prime','collabStatus.conflict','_drawTextRange','backgroundColor','MOBILE_HAS_BEEN_BOUND','uni.network.url-service','/run/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commandService','_updateLocalCursor','SYNCED','textRanges','unload','MUTATION','subscribe','event$','pipe','memberID','currentTheme$','_doCreateSocket','getRelativeToViewportCoord','_removeCollabCursors','disposeUnit','univer-flex\x20univer-items-center','_initResize','fillStyle','1em','getRangePointData','height','row','_selfUnitIDs','ENSURE_SNAPSHOT_EXECUTION','currentSkeleton$','_getSaveTimeout','OFFLINE','getDocRanges','focused$','unitId','UNIVER_SHEET','_injector','1464208NmfVNc','_init','type','with','_collaborationController','url(#on-line-icon_clip0_910_349)','PY_RUNTIME_SCRIPT_ERROR','_urlService','triggerDblclick','_docSkeleton','_name','APPLY_REVISION_CONFILICT','column','text','USER_NOT_INVITED_CODE','collab-text-range-','redoState','size','YUUMI_RATE_OVER_LIMIT','asObservable','white','color','data','permission.title','reconnect','_collabCursorState$','post','YUUMI_ASYNCIO_CANCELLED','save','startColumn','onPointerLeave$','loadUnit','getColorFromTheme','VIEW_MAIN','onMouseMove','href','InsertColCommandId','invokeId','M0\x200H16V16H0z','APPLY_DUPLICATED','_anchor','INTERNAL_ERROR','USERS_LEAVE','attrs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transform','[CollaborationDataLoaderController]','DeleteRangeMoveUpCommandId','setActiveRange','none','AWAITING','m1Prime','0\x200\x2016\x2016','source','subUnitId','session.collaboration-timeout','_updateSubUnitFromURLParams','INVALID_INVITE_CODE','translate(.97)','ACTIVE_UNIT_EVENT_CHANNEL','FETCH_MISS','_entityInit$','pushState','_textBubble','TEXT','undoState','executionId','_hover','displayName','_createSocketURL','_range','makeDirty','WECHAT_HAS_BEEN_BOUND','labelPosition','closePath','random','sessionTicket','add','pluginName','clipPath','_getSheetObject','setConfig','replace','result','RemoveRowCommandId','width','from','FromArray','enableLocalCache','InsertRangeMoveRightCommandId','HEADER_MENU','UNAUTHENTICATED','then','setInterval','show','disableLocalCache','removeParam','addObjects','params','name','InsertRowCommandId','onTransformChange$','_memberService','toRgbString','imageSourceType','concat','getMemberID','complete','_scheduleClearOtherTimer','_configService','font','length','_handleJoinEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','saveOfflineData','UNDEFINED','requireSession','_saveCache','_drawRectRange','hovered','unshift','loadOfflineData','SNAPSHOT_HAS_BEEN_REMOVED','getFocusedUnit','_logService','_transformHistoryAndStateStack','_handleLeaveEvent','engine','doc.mutation.rich-text-editing','min','_session','div','all','_beforeCloseService','_disabled','round','#FFF','bottom','unit','max','arc','_messageService','transformSelections','_setupBeforeClosingHandler','assignAColorForMemberID','_initDependencies','_onRefRangeChange','some','_render','_registerDependencies','endColumn','CHANGESET_REVISION_CONFILICT','_eventUnsubscribe','1165830tVtaSy','findNodePositionByCharIndex','function','xlink:href','Unknown\x20user','icon','_colorAssignService','dispose','collabStatus.notCollab','get','setAlpha','setStateCache','CLOSE_ROOM','_toggleOffline','_onCursorUpdate','location','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOnline','_draw','restore','getSheetId','getAncestorScale','INVITE_CODE_HAS_BEEN_UES','APPLY_PERMISSION_DENIED','runId','_unitStatus','_setupSubUnitSync','set','registerBeforeClose','body','transformByState','NO_OTHER_CLIENTS_EDITING','_docStateChangeManagerService','getTypeOfUnitAdded$','5uGhwdA','error','LOGIN_FAILED','onCommandExecuted','setUndoRedoMutationParamsCache','drawWith','hide','CONNECTOR_DATA_TOO_LARGE','rgba(255,\x20255,\x20255,\x200.01)','CONFLICT','getUnhiddenWorksheets','trim','deepClone','purple.300','EMAIL_VERIFY_CODE_MISMATCH','setParam','parse','dispose$','beginPath','clearInterval','_document','black','startsWith','_clearOtherTimers','transformStateCache','_labelPosition','subunit','origin','activeSheet$','_shapes','_collabSessionService','collabStatus.fetchMiss','OTHER_CLIENT_EDITING','getTypeOfUnitDisposed$','map','saveTaskMap','defs','0\x200\x2017\x2016','JOIN_ROOM_FAILED','stringify','includes','INVITE_CODE_REQUIRED','_univerInstanceService','_handleEvent','children','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','_scheduleHeartbeat','getCollabEntity$','prototype','_saveTaskMap','YUUMI_AI_RUN_FAILED','_revisionService','_refreshCollabCursors','getRenderById','session.connection-failed','7meJmRX','DeleteRangeMoveLeftCommandId','InsertRangeMoveDownCommandId','roomMembers','propertyIsEnumerable','substring','roomMembers$','_initEvent','_hideTimer','_collaborationUIEventService','ranges','http://www.w3.org/2000/svg','registerRefRange','_httpService','LICENSE_IMPORT_SIZE_EXCEEDED','_hovered','blue.400','_docSkeletonManagerService','flatMap','getCurrentRevOfUnit','285892IQPolb','off-line-icon_clip0_910_343','_cursorInfo$','url(#$1','Warning','fillText','_heartbeatTimer','_assignedColors','AWAITING_WITH_PENDING','transformRemoteChangeset','lineTo','assign','LICENSE_EXPORT_SIZE_EXCEEDED','_online','OTHER_CLIENTS_EDITING','selections','fill','debug','_transformService','resize','setShapeProps','on-line-icon','_transformUndoRedoStack','YUUMI_CONNECTOR_URL_NOT_FOUND','getConfig','override','TOO_MANY_REQUESTS','_roomMembers$','transformMutation','getMember','transformMutationsWithChangeset','defIds','cursorInfo','_themeService','send','range','urlChange$','push','popstate','onPointerMove$','disposeWithMe','_ensureSubject','_drawAnchor','exhaustSavingTask','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MOBILE_VERIFY_CODE_MISMATCH','registerComponent','call','getVpScrollXYInfoByPosToVp','...','collaboration.closeRoom','_syncEditingCollabCursorService','string','Error','_onCursorDelete','next','getCurrent','init','_registerRenderDependencies','_sheetSkeletonManagerService','split','_cursors','cursorInfo$','onLocalMutation','moveTo','newValue','docStateChange$','getCellPositionByOffset','PENDING','getOwnPropertyDescriptor','tag','currentColor','yellow.400','unsubscribe','5534LxDHXj','YUUMI_UNABLE_LOAD_URL','collabStatus.syncing','subscribeEvent','_dataLoaderService','ONLINE','_getMergeRange','replaceState','getCollabCursors$','getSkeleton','getSheetBySheetId','_collabCursorController','NOT_FOUND','_initStatusComponent','evenodd','_startSheetCollabCursor','startRow','_handleHover','YUUMI_ALL_TABLES_IS_INVALID','extend','_imageIoService','10hcOglq','sheetID','saveImage','has','_color','delete','_localeService','path','svg','search','hasOwnProperty','NOT_COLLAB','_docSyncEditingCollabCursorService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.will-retry','_anchorDot','mask','_send','_updateCollabCursors','url(#off-line-icon_clip0_910_343)','_transformPreviousActiveRange','off-line-icon','_instanceService','on-line-icon_clip0_910_349','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','editingUnit','OnLineIcon','collab-text-anchor-','_initCommandExecutedListener','_uiPartsService','entityInit$','UNIVER_DOC','transformIMECache','_entities','RECT','YUUMI_NO_CUBOID_FOR_QUESTION','_scheduleSaving','colorChannel1','sheetId','APPLY_NON_SEQUENTIAL_REVISION','replaceDocRanges','idSuffix','setItem','permission.content','history','getValue','getActiveSheet','_docTransformIMECacheService','getOffsetConfig','_cachedData','_colorIndex','status$','mutations','getParam','red.300','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','_localCacheService','executeCommand','clearTimeout','PERMISSION_DENIED','getUniverSheetInstance','UPDATE_CURSOR','sessionStatus$','_docClipboardService','_status$','isActive','collaboration-client.offline-data-not-saved','forEach','updateOfflineData','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','UniverIcon','wsSessionTicketUrl','_initEntityListener','COMPLETION_FINISHED','values','_getSessionTicket','_cursor','_localStorageService','key','SNAPSHOT_INVALID_SNAPSHOT','_docTransformStateCacheService','onStarting','APPLY_REJECT','getUnitStatus$','syncEditingCollabCursor','fillRule','_getScale','_scene','getStateCache','ticket','_refRangeService','code','onPointerEnter$','unitID','_getAnchorBounding','selection','UNRECOGNIZED','eventID','getCurrentSelections','top','_id','createSocket'];_0x1639=function(){return _0x4bbcbd;};return _0x1639();}it=gn([z(0x0,_0x28e459(_0x5706a4)),z(0x1,_0x28e459(_0x1c3c2d)),z(0x2,_0x54983c),z(0x3,_0x2e81d3),z(0x4,_0xbb987f)],it);var Lt=(_0x3150da=>(_0x3150da[_0x3150da[_0x7bdef9(0x3e5)]=0x0]=_0x7bdef9(0x3e5),_0x3150da[_0x3150da['OK']=0x1]='OK',_0x3150da[_0x3150da[_0x7bdef9(0x39b)]=0x2]=_0x7bdef9(0x39b),_0x3150da[_0x3150da['PERMISSION_DENIED']=0x3]=_0x7bdef9(0x2fe),_0x3150da[_0x3150da[_0x7bdef9(0x2b8)]=0x4]=_0x7bdef9(0x2b8),_0x3150da[_0x3150da[_0x7bdef9(0x3cd)]=0x5]='UNAUTHENTICATED',_0x3150da[_0x3150da[_0x7bdef9(0x33d)]=0x6]=_0x7bdef9(0x33d),_0x3150da[_0x3150da[_0x7bdef9(0x337)]=0x7]='INVALID_ARGUMENT',_0x3150da[_0x3150da[_0x7bdef9(0x27c)]=0x8]=_0x7bdef9(0x27c),_0x3150da[_0x3150da['COMPLETION_FINISHED']=0x9]=_0x7bdef9(0x30d),_0x3150da[_0x3150da['LOGIN_FAILED']=0xa]=_0x7bdef9(0x219),_0x3150da[_0x3150da[_0x7bdef9(0x28f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3150da[_0x3150da[_0x7bdef9(0x336)]=0xc]=_0x7bdef9(0x336),_0x3150da[_0x3150da[_0x7bdef9(0x225)]=0xd]=_0x7bdef9(0x225),_0x3150da[_0x3150da[_0x7bdef9(0x205)]=0xe]=_0x7bdef9(0x205),_0x3150da[_0x3150da['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x7bdef9(0x1f3),_0x3150da[_0x3150da[_0x7bdef9(0x313)]=0x1771]=_0x7bdef9(0x313),_0x3150da[_0x3150da[_0x7bdef9(0x3ec)]=0x1772]=_0x7bdef9(0x3ec),_0x3150da[_0x3150da[_0x7bdef9(0x369)]=0x1773]=_0x7bdef9(0x369),_0x3150da[_0x3150da['APPLY_REJECT']=0x1b59]=_0x7bdef9(0x316),_0x3150da[_0x3150da[_0x7bdef9(0x2e9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3150da[_0x3150da[_0x7bdef9(0x37d)]=0x1b5b]=_0x7bdef9(0x37d),_0x3150da[_0x3150da[_0x7bdef9(0x20c)]=0x1b5c]=_0x7bdef9(0x20c),_0x3150da[_0x3150da[_0x7bdef9(0x399)]=0x1b5d]=_0x7bdef9(0x399),_0x3150da[_0x3150da[_0x7bdef9(0x21e)]=0x1f41]=_0x7bdef9(0x21e),_0x3150da[_0x3150da['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3150da[_0x3150da[_0x7bdef9(0x351)]=0x232a]=_0x7bdef9(0x351),_0x3150da[_0x3150da['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x7bdef9(0x25c),_0x3150da[_0x3150da[_0x7bdef9(0x26e)]=0x232c]=_0x7bdef9(0x26e),_0x3150da[_0x3150da[_0x7bdef9(0x344)]=0x232d]=_0x7bdef9(0x344),_0x3150da[_0x3150da[_0x7bdef9(0x2ad)]=0x2711]=_0x7bdef9(0x2ad),_0x3150da[_0x3150da[_0x7bdef9(0x33e)]=0x2712]=_0x7bdef9(0x33e),_0x3150da[_0x3150da[_0x7bdef9(0x384)]=0x2713]=_0x7bdef9(0x384),_0x3150da[_0x3150da[_0x7bdef9(0x2da)]=0x2714]=_0x7bdef9(0x2da),_0x3150da[_0x3150da[_0x7bdef9(0x2e5)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3150da[_0x3150da[_0x7bdef9(0x38d)]=0x271b]=_0x7bdef9(0x38d),_0x3150da[_0x3150da['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3150da[_0x3150da[_0x7bdef9(0x2be)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3150da[_0x3150da[_0x7bdef9(0x308)]=0x271e]=_0x7bdef9(0x308),_0x3150da[_0x3150da[_0x7bdef9(0x249)]=0x271f]=_0x7bdef9(0x249),_0x3150da[_0x3150da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x7bdef9(0x279),_0x3150da[_0x3150da[_0x7bdef9(0x378)]=0x2af9]=_0x7bdef9(0x378),_0x3150da[_0x3150da[_0x7bdef9(0x20b)]=0x2ee1]=_0x7bdef9(0x20b),_0x3150da[_0x3150da['INVALID_INVITE_CODE']=0x2ee2]=_0x7bdef9(0x3ab),_0x3150da[_0x3150da[_0x7bdef9(0x240)]=0x2ee3]=_0x7bdef9(0x240),_0x3150da[_0x3150da[_0x7bdef9(0x380)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3150da[_0x3150da['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3150da[_0x3150da[_0x7bdef9(0x3ba)]=0x32c9]=_0x7bdef9(0x3ba),_0x3150da[_0x3150da[_0x7bdef9(0x34e)]=0x32ca]=_0x7bdef9(0x34e),_0x3150da[_0x3150da[_0x7bdef9(0x2f9)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3150da[_0x3150da[_0x7bdef9(0x324)]=-0x1]='UNRECOGNIZED',_0x3150da))(Lt||{}),pn=Object[_0x7bdef9(0x2a7)],Cn=(_0x3465af,_0x39d4b3,_0x1098e5,_0x200e37)=>{const _0x1cc5a6=_0x7bdef9;for(var _0x57367b=_0x200e37>0x1?void 0x0:_0x200e37?pn(_0x39d4b3,_0x1098e5):_0x39d4b3,_0x24a5a1=_0x3465af[_0x1cc5a6(0x3e1)]-0x1,_0x20ccd9;_0x24a5a1>=0x0;_0x24a5a1--)(_0x20ccd9=_0x3465af[_0x24a5a1])&&(_0x57367b=_0x20ccd9(_0x57367b)||_0x57367b);return _0x57367b;},be=(_0x9813a0,_0x5da4fd)=>(_0x27f01a,_0x1a898c)=>_0x5da4fd(_0x27f01a,_0x1a898c,_0x9813a0);let nt=class extends _0x5f8b08{constructor(_0x2686df,_0x988cbd,_0x5e520a){const _0x2e52b5=_0x7bdef9;super(),this[_0x2e52b5(0x2d7)]=_0x2686df,this['_httpService']=_0x988cbd,this[_0x2e52b5(0x3df)]=_0x5e520a;}async['runOnServer'](_0x5c4658,_0x1bb7e0,_0x5bc0ba,..._0x217ce2){const _0x55f4bd=_0x7bdef9;var _0x2ac810,_0x5d5d45,_0x4129e3,_0x1e04ab;const _0x2a8ba5=this[_0x55f4bd(0x2d7)]['getFocusedUnit']();if(!_0x2a8ba5)throw new Error(_0x55f4bd(0x3e3));const _0x2416d5=((_0x2ac810=this[_0x55f4bd(0x3df)]['getConfig'](_0x1d4044))!=null?_0x2ac810:_0x36c691)+'/'+_0x5c4658+_0x55f4bd(0x350)+_0x1bb7e0,_0x36cfc0=new URL(window[_0x55f4bd(0x204)][_0x55f4bd(0x395)]),_0xaf8e29={'scriptId':_0x5c4658,'runId':(_0x5d5d45=_0x36cfc0[_0x55f4bd(0x346)][_0x55f4bd(0x1fe)](_0x55f4bd(0x20d)))!=null?_0x5d5d45:'','function':_0x1bb7e0,'unitId':_0x2a8ba5[_0x55f4bd(0x334)](),'argsOfFunction':JSON[_0x55f4bd(0x23e)](_0x217ce2),'invokeId':(_0x4129e3=_0x5bc0ba[_0x55f4bd(0x397)])!=null?_0x4129e3:'','executionId':(_0x1e04ab=_0x5bc0ba[_0x55f4bd(0x3b4)])!=null?_0x1e04ab:''};try{const _0x1b18ee=await this[_0x55f4bd(0x25b)][_0x55f4bd(0x38c)](_0x2416d5,{'body':_0xaf8e29});return _0x1b18ee[_0x55f4bd(0x212)][_0x55f4bd(0x218)]&&_0x1b18ee[_0x55f4bd(0x212)][_0x55f4bd(0x218)][_0x55f4bd(0x31f)]!==Lt['OK']?_0x55f4bd(0x330):_0x1b18ee[_0x55f4bd(0x212)][_0x55f4bd(0x3c5)];}catch{return _0x55f4bd(0x330);}}};nt=Cn([be(0x0,_0x16a5a2),be(0x1,_0x28e459(_0x1c3c2d)),be(0x2,_0x54983c)],nt);const rt=0x7530,ot=_0x7bdef9(0x3ad);class Fn extends _0x5f8b08{constructor(){const _0xb27dd0=_0x7bdef9;super(),_(this,_0xb27dd0(0x328),_0x2f2dad()),_(this,'_selfUnitIDs',new Set()),_(this,_0xb27dd0(0x32e),new Map()),_(this,_0xb27dd0(0x268),null),_(this,_0xb27dd0(0x22e),new Map()),_(this,'_unitStatus',new Map()),this[_0xb27dd0(0x373)]();}[_0x7bdef9(0x1fc)](){const _0x28b044=_0x7bdef9;super[_0x28b044(0x1fc)](),this['_clearOtherTimers']['forEach']((_0x3a5fe3,_0x29bc0c)=>this[_0x28b044(0x2fa)](_0x29bc0c)),this['_heartbeatTimer']&&window[_0x28b044(0x22a)](this[_0x28b044(0x268)]);}[_0x7bdef9(0x317)](_0x597c26){const _0x4cd216=_0x7bdef9;return this[_0x4cd216(0x28b)](_0x597c26)[_0x4cd216(0x35a)](_0x33564c());}[_0x7bdef9(0x2db)](_0x2351f4){const _0x4e5817=_0x7bdef9;this['_selfUnitIDs']['size']===0x0&&this[_0x4e5817(0x245)](),this[_0x4e5817(0x368)]['add'](_0x2351f4),this[_0x4e5817(0x2d2)]({'type':0x0,'memberID':this[_0x4e5817(0x328)],'unitIDs':[_0x2351f4],'isForwarded':!0x1});}[_0x7bdef9(0x360)](_0x5090c5){const _0x2b2f83=_0x7bdef9;this[_0x2b2f83(0x368)][_0x2b2f83(0x2c6)](_0x5090c5),this[_0x2b2f83(0x368)][_0x2b2f83(0x383)]===0x0&&this[_0x2b2f83(0x268)]&&window[_0x2b2f83(0x22a)](this['_heartbeatTimer']);}[_0x7bdef9(0x373)](){const _0x1ae500=_0x7bdef9;this[_0x1ae500(0x28a)](_0x3b8fd3(_0xe3cc5e(window,'storage')['subscribe'](_0x5d15f7=>{const _0x5a6fe2=_0x1ae500;if(_0x5d15f7[_0x5a6fe2(0x312)]!==ot||!_0x5d15f7[_0x5a6fe2(0x2a3)])return;const _0x200328=JSON[_0x5a6fe2(0x227)](_0x5d15f7['newValue']);this['_handleEvent'](_0x200328);}))),window['addEventListener'](_0x1ae500(0x356),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1ae500(0x3c8)](this[_0x1ae500(0x368)])}));}[_0x7bdef9(0x242)](_0x59d2de){const _0x21a738=_0x7bdef9;switch(_0x59d2de[_0x21a738(0x374)]){case 0x0:this['_handleJoinEvent'](_0x59d2de);break;case 0x1:this[_0x21a738(0x1da)](_0x59d2de);break;case 0x2:this[_0x21a738(0x309)](_0x59d2de);break;}}[_0x7bdef9(0x3e2)](_0x3d77b8){const _0x55581e=_0x7bdef9,{unitIDs:_0x5065c0,memberID:_0x14d379,isForwarded:_0x4c7b12}=_0x3d77b8;_0x5065c0[_0x55581e(0x306)](_0x55a9e5=>{const _0x128fc4=_0x55581e;if(!_0x4c7b12&&this[_0x128fc4(0x32e)]['has'](_0x55a9e5)&&this[_0x128fc4(0x28b)](_0x55a9e5)[_0x128fc4(0x299)](_0x20629e[_0x128fc4(0x270)]),!this['_unitOnClients'][_0x128fc4(0x2c4)](_0x55a9e5)||!this['_unitOnClients'][_0x128fc4(0x1fe)](_0x55a9e5)['has'](_0x14d379)){const _0x6bf7d8=this[_0x128fc4(0x32e)]['get'](_0x55a9e5)||new Set();_0x6bf7d8['add'](_0x14d379),this[_0x128fc4(0x32e)][_0x128fc4(0x210)](_0x55a9e5,_0x6bf7d8),this['_scheduleClearOtherTimer'](_0x14d379);}}),_0x4c7b12||this[_0x55581e(0x2d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x55581e(0x368)]],'isForwarded':!0x0});}[_0x7bdef9(0x3de)](_0x19a8bd){const _0x395af5=_0x7bdef9;this[_0x395af5(0x2fa)](_0x19a8bd);const _0x47f2a2=window['setTimeout'](()=>{const _0x1d0830=_0x395af5;this[_0x1d0830(0x32e)]['forEach'](_0x50bb8a=>{_0x50bb8a['delete'](_0x19a8bd);});},rt*0x2);this[_0x395af5(0x22e)][_0x395af5(0x210)](_0x19a8bd,_0x47f2a2);}[_0x7bdef9(0x2fa)](_0x1f32df){const _0x13ae67=_0x7bdef9;if(this[_0x13ae67(0x22e)]['has'](_0x1f32df)){const _0x3e40fa=this[_0x13ae67(0x22e)][_0x13ae67(0x1fe)](_0x1f32df);_0x3e40fa&&window[_0x13ae67(0x2fd)](_0x3e40fa),this['_clearOtherTimers'][_0x13ae67(0x210)](_0x1f32df,null);}}['_handleLeaveEvent'](_0x31a4a9){const _0x1e8dd9=_0x7bdef9,{memberID:_0x97872c,unitIDs:_0x5b8613}=_0x31a4a9;_0x5b8613[_0x1e8dd9(0x306)](_0x491143=>{const _0x3e821e=_0x1e8dd9;var _0x6a9b90;const _0x4db5f0=this[_0x3e821e(0x32e)][_0x3e821e(0x1fe)](_0x491143);_0x4db5f0&&(_0x4db5f0[_0x3e821e(0x2c6)](_0x97872c),(_0x6a9b90=this[_0x3e821e(0x28b)](_0x491143))==null||_0x6a9b90['next'](_0x4db5f0[_0x3e821e(0x383)]===0x0?_0x20629e[_0x3e821e(0x214)]:_0x20629e[_0x3e821e(0x270)]));}),this[_0x1e8dd9(0x2fa)](_0x97872c);}[_0x7bdef9(0x309)](_0x31fc3e){const _0x5427fa=_0x7bdef9;this['_scheduleClearOtherTimer'](_0x31fc3e[_0x5427fa(0x35b)]);}[_0x7bdef9(0x2d2)](_0x4c5a42){const _0x497993=_0x7bdef9;localStorage[_0x497993(0x2ec)](ot,JSON[_0x497993(0x23e)](_0x4c5a42));}[_0x7bdef9(0x245)](){const _0x4aa9d0=_0x7bdef9;this[_0x4aa9d0(0x268)]=window[_0x4aa9d0(0x3cf)](()=>{const _0x53ef08=_0x4aa9d0;this[_0x53ef08(0x2d2)]({'type':0x2,'memberID':this[_0x53ef08(0x328)]});},rt);}[_0x7bdef9(0x28b)](_0x3d0249){const _0xa1b0b6=_0x7bdef9;return this[_0xa1b0b6(0x20e)]['has'](_0x3d0249)||this[_0xa1b0b6(0x20e)][_0xa1b0b6(0x210)](_0x3d0249,new _0xf21850(_0x20629e['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xa1b0b6(0x1fe)](_0x3d0249);}}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
- function _0x4c58(){const _0x16381b=['2016428gnicsa','Collaboration\x20Conflict','Local\x20file','Edit\x20conflicts','70504WILjCG','Click\x20to\x20Reconnect','58152DrUNRP','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.','400nvYboi','49093IcGYCN','477TWTUxd','7615QilXbQ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','936103zEWMUj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Syncing...','310176FKjGQG','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','7YGmZxK','1446cECHiI','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x4c58=function(){return _0x16381b;};return _0x4c58();}const _0x46c146=_0x1a20;(function(_0x362458,_0x3ceb44){const _0x103b09=_0x1a20,_0x266d31=_0x362458();while(!![]){try{const _0x18e9d9=parseInt(_0x103b09(0x1ce))/0x1*(-parseInt(_0x103b09(0x1be))/0x2)+parseInt(_0x103b09(0x1cb))/0x3+-parseInt(_0x103b09(0x1d1))/0x4+-parseInt(_0x103b09(0x1c3))/0x5*(-parseInt(_0x103b09(0x1cf))/0x6)+-parseInt(_0x103b09(0x1c6))/0x7+-parseInt(_0x103b09(0x1bc))/0x8*(-parseInt(_0x103b09(0x1c2))/0x9)+-parseInt(_0x103b09(0x1c0))/0xa*(-parseInt(_0x103b09(0x1c1))/0xb);if(_0x18e9d9===_0x3ceb44)break;else _0x266d31['push'](_0x266d31['shift']());}catch(_0x2c5296){_0x266d31['push'](_0x266d31['shift']());}}}(_0x4c58,0x430f4));const e={'collab-client':{'tooltip':{'reconnect':_0x46c146(0x1bd)}},'collabStatus':{'fetchMiss':_0x46c146(0x1c9),'conflict':_0x46c146(0x1bb),'notCollab':_0x46c146(0x1ba),'synced':_0x46c146(0x1cc),'syncing':_0x46c146(0x1ca),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x46c146(0x1cd),'will-retry':_0x46c146(0x1c7),'room-full':_0x46c146(0x1c8),'collaboration-timeout':_0x46c146(0x1c5)},'conflict':{'title':_0x46c146(0x1b9),'content':_0x46c146(0x1bf)},'permission':{'title':'Authentication\x20Error','content':_0x46c146(0x1d0)},'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':_0x46c146(0x1c4)}},o=e;function _0x1a20(_0x368b2a,_0x238b8c){const _0x4c5812=_0x4c58();return _0x1a20=function(_0x1a20c4,_0xe2af44){_0x1a20c4=_0x1a20c4-0x1b9;let _0x3316a7=_0x4c5812[_0x1a20c4];return _0x3316a7;},_0x1a20(_0x368b2a,_0x238b8c);}export{o as default};
1
+ const _0x12a0da=_0x3c8e;(function(_0xc3dc50,_0x1fbef7){const _0x53b6c4=_0x3c8e,_0x24b909=_0xc3dc50();while(!![]){try{const _0x560aec=-parseInt(_0x53b6c4(0x119))/0x1+-parseInt(_0x53b6c4(0x11f))/0x2*(parseInt(_0x53b6c4(0x127))/0x3)+parseInt(_0x53b6c4(0x124))/0x4+parseInt(_0x53b6c4(0x118))/0x5*(-parseInt(_0x53b6c4(0x11e))/0x6)+-parseInt(_0x53b6c4(0x11d))/0x7+-parseInt(_0x53b6c4(0x11c))/0x8+parseInt(_0x53b6c4(0x121))/0x9;if(_0x560aec===_0x1fbef7)break;else _0x24b909['push'](_0x24b909['shift']());}catch(_0x4c44b4){_0x24b909['push'](_0x24b909['shift']());}}}(_0x4adb,0x3fb6b));function _0x4adb(){const _0x2ed34d=['350gBJbxZ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','13520106GJvmOZ','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','425196nvrnPZ','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','6837TkMlEM','Authentication\x20Error','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','710UBZmJw','185251zrIzkF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2233152OrrLZN','2907310tMyRWs','2916aiBEVh'];_0x4adb=function(){return _0x2ed34d;};return _0x4adb();}const e={'collab-client':{'tooltip':{'reconnect':_0x12a0da(0x126)}},'collabStatus':{'fetchMiss':_0x12a0da(0x125),'conflict':_0x12a0da(0x114),'notCollab':_0x12a0da(0x116),'synced':'Synced','syncing':'Syncing...','offline':_0x12a0da(0x117)},'session':{'connection-failed':_0x12a0da(0x122),'will-retry':_0x12a0da(0x115),'room-full':_0x12a0da(0x120),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','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':_0x12a0da(0x128),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x12a0da(0x123)},'closeRoom':_0x12a0da(0x11a)},'auth':{'needGotoLoginAlert':_0x12a0da(0x11b)}},o=e;function _0x3c8e(_0xc5cf9a,_0xc348e6){const _0x4adb0a=_0x4adb();return _0x3c8e=function(_0x3c8ee9,_0x521973){_0x3c8ee9=_0x3c8ee9-0x114;let _0x51b658=_0x4adb0a[_0x3c8ee9];return _0x51b658;},_0x3c8e(_0xc5cf9a,_0xc348e6);}export{o as default};
@@ -1 +1 @@
1
- function _0x4fe5(_0x3efce4,_0x293f1d){const _0x395617=_0x3956();return _0x4fe5=function(_0x4fe561,_0x3d6b85){_0x4fe561=_0x4fe561-0x1db;let _0x4b5707=_0x395617[_0x4fe561];return _0x4b5707;},_0x4fe5(_0x3efce4,_0x293f1d);}const _0x39d05e=_0x4fe5;(function(_0x4be949,_0x1ddb2a){const _0x5e4c63=_0x4fe5,_0x395b40=_0x4be949();while(!![]){try{const _0x4ad106=-parseInt(_0x5e4c63(0x1ec))/0x1+-parseInt(_0x5e4c63(0x1e8))/0x2*(parseInt(_0x5e4c63(0x1ed))/0x3)+parseInt(_0x5e4c63(0x1df))/0x4+-parseInt(_0x5e4c63(0x1e6))/0x5*(parseInt(_0x5e4c63(0x1dc))/0x6)+-parseInt(_0x5e4c63(0x1e3))/0x7+parseInt(_0x5e4c63(0x1ee))/0x8+-parseInt(_0x5e4c63(0x1dd))/0x9*(-parseInt(_0x5e4c63(0x1e4))/0xa);if(_0x4ad106===_0x1ddb2a)break;else _0x395b40['push'](_0x395b40['shift']());}catch(_0x4730cc){_0x395b40['push'](_0x395b40['shift']());}}}(_0x3956,0x1d2bd));function _0x3956(){const _0x445fc6=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','788830AHXmCi','1438880CIRJVE','Syncing...','250mtJpsw','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12746XkMztA','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.','Authentication\x20Error','227326kSiWtu','60NjirPW','1695616JxHmLX','Syncing\x20server\x20data...','Edit\x20conflicts','Local\x20file','13044UMXhBA','18DPJJYG','Click\x20to\x20Reconnect','783732SvELkx','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced'];_0x3956=function(){return _0x445fc6;};return _0x3956();}const e={'collab-client':{'tooltip':{'reconnect':_0x39d05e(0x1de)}},'collabStatus':{'fetchMiss':_0x39d05e(0x1ef),'conflict':_0x39d05e(0x1f0),'notCollab':_0x39d05e(0x1db),'synced':_0x39d05e(0x1e1),'syncing':_0x39d05e(0x1e5),'offline':_0x39d05e(0x1e7)},'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':_0x39d05e(0x1e9)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x39d05e(0x1ea)},'permission':{'title':_0x39d05e(0x1eb),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x39d05e(0x1e0)},'auth':{'needGotoLoginAlert':_0x39d05e(0x1e2)}};export{e as default};
1
+ const _0x393710=_0x3ce3;function _0x3ce3(_0x4e567d,_0x171159){const _0x3f4f3a=_0x3f4f();return _0x3ce3=function(_0x3ce30b,_0x3953a6){_0x3ce30b=_0x3ce30b-0xd7;let _0x3fdf70=_0x3f4f3a[_0x3ce30b];return _0x3fdf70;},_0x3ce3(_0x4e567d,_0x171159);}(function(_0x550873,_0x154dd4){const _0x27583d=_0x3ce3,_0x5ddd84=_0x550873();while(!![]){try{const _0x212519=-parseInt(_0x27583d(0xeb))/0x1+parseInt(_0x27583d(0xe4))/0x2+-parseInt(_0x27583d(0xd9))/0x3*(parseInt(_0x27583d(0xe0))/0x4)+-parseInt(_0x27583d(0xe6))/0x5+parseInt(_0x27583d(0xe8))/0x6*(-parseInt(_0x27583d(0xe7))/0x7)+parseInt(_0x27583d(0xdb))/0x8+parseInt(_0x27583d(0xd8))/0x9*(parseInt(_0x27583d(0xea))/0xa);if(_0x212519===_0x154dd4)break;else _0x5ddd84['push'](_0x5ddd84['shift']());}catch(_0x38b8c7){_0x5ddd84['push'](_0x5ddd84['shift']());}}}(_0x3f4f,0x6648e));function _0x3f4f(){const _0x2b8bf0=['Synced','1345216osTnPT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3025535RJoRIW','2324833oXmqnL','6KKrWxd','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.','10xLMFPR','791434KBgRbW','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','8983332fEtTql','972120kUFYwO','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6407216ikgCDJ','Authentication\x20Error','Collaboration\x20Conflict','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4PTIcMl','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x3f4f=function(){return _0x2b8bf0;};return _0x3f4f();}const e={'collab-client':{'tooltip':{'reconnect':_0x393710(0xe1)}},'collabStatus':{'fetchMiss':_0x393710(0xde),'conflict':_0x393710(0xee),'notCollab':_0x393710(0xed),'synced':_0x393710(0xe3),'syncing':_0x393710(0xd7),'offline':_0x393710(0xda)},'session':{'connection-failed':_0x393710(0xef),'will-retry':_0x393710(0xdf),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x393710(0xdd),'content':_0x393710(0xe9)},'permission':{'title':_0x393710(0xdc),'content':_0x393710(0xe5)},'collaboration':{'single-unit':{'warning':_0x393710(0xec)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x393710(0xe2)}};export{e as default};