@univerjs-pro/collaboration-client-ui 0.10.13 → 0.10.14-nightly.202511031023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x386fea,_0x2a89ef){const _0x227a7f=_0x5580,_0x4c3531=_0x386fea();while(!![]){try{const _0x26754c=parseInt(_0x227a7f(0x2a3))/0x1*(-parseInt(_0x227a7f(0x21e))/0x2)+-parseInt(_0x227a7f(0x2d0))/0x3+-parseInt(_0x227a7f(0x39a))/0x4+parseInt(_0x227a7f(0x2ac))/0x5*(parseInt(_0x227a7f(0x1b5))/0x6)+parseInt(_0x227a7f(0x20d))/0x7*(parseInt(_0x227a7f(0x1d5))/0x8)+-parseInt(_0x227a7f(0x17b))/0x9+parseInt(_0x227a7f(0x255))/0xa;if(_0x26754c===_0x2a89ef)break;else _0x4c3531['push'](_0x4c3531['shift']());}catch(_0x2c593d){_0x4c3531['push'](_0x4c3531['shift']());}}}(_0x3c7d,0x4a1ce),function(_0x417c5e,_0x2c0fef){const _0x6d326b=_0x5580;typeof exports==_0x6d326b(0x303)&&typeof module<'u'?_0x2c0fef(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x6d326b(0x2df)&&define[_0x6d326b(0x1ba)]?define([_0x6d326b(0x237),_0x6d326b(0x1e2),_0x6d326b(0x183),'@univerjs/core',_0x6d326b(0x361),_0x6d326b(0x290),_0x6d326b(0x2b7),'react',_0x6d326b(0x1b2),_0x6d326b(0x199),_0x6d326b(0x1c7),'@univerjs/network',_0x6d326b(0x409),_0x6d326b(0x25f),_0x6d326b(0x3db),'@univerjs/docs',_0x6d326b(0x36e),_0x6d326b(0x2c8),_0x6d326b(0x397)],_0x2c0fef):(_0x417c5e=typeof globalThis<'u'?globalThis:_0x417c5e||self,_0x2c0fef(_0x417c5e['UniverProCollaborationClientUi']={},_0x417c5e['React'],_0x417c5e[_0x6d326b(0x329)],_0x417c5e[_0x6d326b(0x32e)],_0x417c5e[_0x6d326b(0x29c)],_0x417c5e['rxjs'],_0x417c5e['UniverDesign'],_0x417c5e['React'],_0x417c5e['UniverRpc'],_0x417c5e[_0x6d326b(0x24f)],_0x417c5e['UniverEngineRender'],_0x417c5e[_0x6d326b(0x2f1)],_0x417c5e['UniverDocsUi'],_0x417c5e[_0x6d326b(0x34c)],_0x417c5e[_0x6d326b(0x279)],_0x417c5e[_0x6d326b(0x43e)],_0x417c5e[_0x6d326b(0x2ff)],_0x417c5e['rxjs'][_0x6d326b(0x40e)],_0x417c5e[_0x6d326b(0x354)]));}(this,function(_0xc9a868,_0x20a652,_0x4a9508,_0x3446be,_0x1e2f17,_0xc33fa7,_0x5d7915,_0x2043a3,_0x2d183c,_0x2c6e97,_0x154eb1,_0x37d0f4,_0x4262be,_0x16331e,_0x5ee43a,_0x4cdd99,_0x5777d0,_0x1b2b92,_0x244403){'use strict';const _0x479db0=_0x5580;var _0x595ce3=Object[_0x479db0(0x204)],_0x5bcb43=(_0x52debf,_0x580fce,_0x2312f8)=>_0x580fce in _0x52debf?_0x595ce3(_0x52debf,_0x580fce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2312f8}):_0x52debf[_0x580fce]=_0x2312f8,_0x4b5aa6=(_0x22d2e1,_0x52d92e,_0x5245ec)=>_0x5bcb43(_0x22d2e1,typeof _0x52d92e!='symbol'?_0x52d92e+'':_0x52d92e,_0x5245ec);function _0x5c6345({ref:_0x3149cb,..._0xb090da}){const _0x5d7540=_0x479db0,{icon:_0x13e176,id:_0x5439c6,className:_0x227df9,extend:_0x5174c2,..._0x3288e3}=_0xb090da,_0x5df03d=(_0x5d7540(0x22f)+_0x5439c6+'\x20'+(_0x227df9||''))[_0x5d7540(0x2e3)](),_0x568eda=_0x2043a3[_0x5d7540(0x27d)]('_'+_0x24f240());return _0xf5fa4e(_0x13e176,''+_0x5439c6,{'defIds':_0x13e176[_0x5d7540(0x382)],'idSuffix':_0x568eda['current']},{'ref':_0x3149cb,'className':_0x5df03d,..._0x3288e3},_0x5174c2);}function _0xf5fa4e(_0x41117b,_0x48197d,_0x19f007,_0x2b0f8c,_0x13b5d8){const _0x393d3c=_0x479db0;return _0x2043a3['createElement'](_0x41117b['tag'],{'key':_0x48197d,..._0x64861a(_0x41117b,_0x19f007,_0x13b5d8),..._0x2b0f8c},(_0x27bef3(_0x41117b,_0x19f007)[_0x393d3c(0x364)]||[])['map']((_0xe1a76e,_0x145ef1)=>_0xf5fa4e(_0xe1a76e,_0x48197d+'-'+_0x41117b[_0x393d3c(0x1e9)]+'-'+_0x145ef1,_0x19f007,void 0x0,_0x13b5d8)));}function _0x64861a(_0x233ae1,_0x374933,_0x13adae){const _0x500135=_0x479db0,_0x2b9e79={..._0x233ae1[_0x500135(0x292)]};_0x13adae!=null&&_0x13adae[_0x500135(0x43f)]&&_0x2b9e79[_0x500135(0x328)]===_0x500135(0x43f)&&(_0x2b9e79[_0x500135(0x328)]=_0x13adae[_0x500135(0x43f)]),_0x233ae1[_0x500135(0x1e9)]===_0x500135(0x3f1)&&_0x2b9e79['id']&&(_0x2b9e79['id']=_0x2b9e79['id']+_0x374933[_0x500135(0x375)]),Object[_0x500135(0x2bc)](_0x2b9e79)[_0x500135(0x1ac)](([_0x276e25,_0x2f19fc])=>{const _0x247865=_0x500135;_0x276e25===_0x247865(0x3f1)&&typeof _0x2f19fc=='string'&&(_0x2b9e79[_0x276e25]=_0x2f19fc['replace'](/url\(#(.*)\)/,_0x247865(0x2ec)+_0x374933['idSuffix']+')'));});const {defIds:_0x290e87}=_0x374933;return!_0x290e87||_0x290e87['length']===0x0||(_0x233ae1[_0x500135(0x1e9)]===_0x500135(0x289)&&_0x2b9e79[_0x500135(0x2fb)]&&(_0x2b9e79['xlink:href']=_0x2b9e79['xlink:href']+_0x374933['idSuffix']),Object[_0x500135(0x2bc)](_0x2b9e79)[_0x500135(0x1ac)](([_0x24e969,_0x233480])=>{const _0x477011=_0x500135;typeof _0x233480=='string'&&(_0x2b9e79[_0x24e969]=_0x233480[_0x477011(0x1bf)](/url\(#(.*)\)/,_0x477011(0x2ec)+_0x374933[_0x477011(0x375)]+')'));})),_0x2b9e79;}function _0x27bef3(_0x150212,_0x510b9f){const _0x43239a=_0x479db0;var _0x518f22;const {defIds:_0x11d9a5}=_0x510b9f;return!_0x11d9a5||_0x11d9a5[_0x43239a(0x27b)]===0x0?_0x150212:_0x150212['tag']===_0x43239a(0x20e)&&((_0x518f22=_0x150212[_0x43239a(0x364)])!=null&&_0x518f22[_0x43239a(0x27b)])?{..._0x150212,'children':_0x150212[_0x43239a(0x364)][_0x43239a(0x2dc)](_0x29a1da=>typeof _0x29a1da[_0x43239a(0x292)]['id']=='string'&&_0x11d9a5&&_0x11d9a5[_0x43239a(0x1a1)](_0x29a1da['attrs']['id'])?{..._0x29a1da,'attrs':{..._0x29a1da['attrs'],'id':_0x29a1da[_0x43239a(0x292)]['id']+_0x510b9f[_0x43239a(0x375)]}}:_0x29a1da)}:_0x150212;}function _0x24f240(){const _0x83f978=_0x479db0;return Math[_0x83f978(0x3ac)]()[_0x83f978(0x42e)](0x24)['substring'](0x2,0x8);}_0x5c6345['displayName']=_0x479db0(0x268);const _0x38dcb3={'tag':_0x479db0(0x2f0),'attrs':{'xmlns':_0x479db0(0x3dc),'fill':_0x479db0(0x414),'viewBox':_0x479db0(0x28d),'width':_0x479db0(0x3a9),'height':_0x479db0(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':_0x479db0(0x209)},'children':[{'tag':'path','attrs':{'stroke':_0x479db0(0x324),'d':_0x479db0(0x230),'strokeLinecap':_0x479db0(0x333),'strokeLinejoin':_0x479db0(0x333),'strokeWidth':1.2}}]},{'tag':_0x479db0(0x20e),'attrs':{},'children':[{'tag':_0x479db0(0x332),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x479db0(0x3c6),'attrs':{'fill':_0x479db0(0x31e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x479db0(0x3e4)]},_0x14d66c=_0x2043a3['forwardRef'](function(_0x2c084b,_0x2502df){const _0x196bad=_0x479db0;return _0x2043a3[_0x196bad(0x345)](_0x5c6345,Object[_0x196bad(0x30a)]({},_0x2c084b,{'id':_0x196bad(0x206),'ref':_0x2502df,'icon':_0x38dcb3}));});_0x14d66c['displayName']=_0x479db0(0x1b8);const _0x28fb36={'tag':_0x479db0(0x2f0),'attrs':{'xmlns':_0x479db0(0x3dc),'fill':_0x479db0(0x414),'viewBox':_0x479db0(0x3f7),'width':'1em','height':_0x479db0(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':_0x479db0(0x1a5)},'children':[{'tag':_0x479db0(0x3c6),'attrs':{'stroke':_0x479db0(0x324),'d':_0x479db0(0x425),'strokeLinecap':_0x479db0(0x333),'strokeLinejoin':_0x479db0(0x333),'strokeWidth':1.2}}]},{'tag':_0x479db0(0x20e),'attrs':{},'children':[{'tag':_0x479db0(0x332),'attrs':{'id':_0x479db0(0x1dc)},'children':[{'tag':'path','attrs':{'fill':_0x479db0(0x31e),'d':'M0\x200H16V16H0z','transform':_0x479db0(0x396)}}]}]}],'defIds':[_0x479db0(0x1dc)]},_0x30f104=_0x2043a3[_0x479db0(0x428)](function(_0x27ba27,_0x3e3765){const _0x542e79=_0x479db0;return _0x2043a3['createElement'](_0x5c6345,Object['assign']({},_0x27ba27,{'id':_0x542e79(0x287),'ref':_0x3e3765,'icon':_0x28fb36}));});_0x30f104['displayName']=_0x479db0(0x222);function _0x42956b(_0x39c57d){const _0x2cc966=_0x479db0;switch(_0x39c57d){case _0x4a9508['CollaborationStatus'][_0x2cc966(0x385)]:return _0x2cc966(0x1a9);case _0x4a9508[_0x2cc966(0x3c2)]['CONFLICT']:return'collabStatus.conflict';case _0x4a9508['CollaborationStatus'][_0x2cc966(0x296)]:return _0x2cc966(0x1a4);case _0x4a9508['CollaborationStatus'][_0x2cc966(0x2e9)]:return _0x2cc966(0x29e);case _0x4a9508[_0x2cc966(0x3c2)]['AWAITING']:case _0x4a9508['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x2cc966(0x286);case _0x4a9508[_0x2cc966(0x3c2)][_0x2cc966(0x41d)]:case _0x4a9508['CollaborationStatus'][_0x2cc966(0x21d)]:return _0x2cc966(0x21a);}}function _0x485d9a(_0x4c2c40){const _0x273497=_0x479db0,{status$:_0x1fe7f9}=_0x4c2c40,_0x5dd144=_0x1e2f17[_0x273497(0x3f5)](_0x1fe7f9,_0x4a9508[_0x273497(0x3c2)]['NOT_COLLAB']),_0x4c9674=_0x1e2f17[_0x273497(0x33f)](_0x3446be['LocaleService']),_0x531188=_0x1e2f17[_0x273497(0x33f)](_0x4a9508[_0x273497(0x1ff)]),_0x5740e4=_0x5dd144!==_0x4a9508[_0x273497(0x3c2)][_0x273497(0x385)],_0x30ce04=_0x4c9674['t'](_0x42956b(_0x5dd144)),_0x43f86d=_0x5740e4?_0x20a652[_0x273497(0x395)](_0x30f104,{}):_0x20a652['jsx'](_0x14d66c,{}),_0x25eebb=_0x2043a3['useCallback'](()=>{const _0x5cb051=_0x273497;_0x5740e4||_0x531188[_0x5cb051(0x2b4)]();},[_0x5740e4,_0x531188]);function _0x4cf53b(){const _0x18dfb3=_0x273497;return _0x20a652['jsxs'](_0x18dfb3(0x43d),{'className':_0x18dfb3(0x3a6),'onClick':_0x25eebb,'children':[_0x20a652[_0x18dfb3(0x395)](_0x18dfb3(0x43d),{'className':_0x5d7915[_0x18dfb3(0x30b)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5740e4,'univer-text-red-500':!_0x5740e4}),'children':_0x43f86d}),_0x20a652['jsx'](_0x18dfb3(0x43d),{'className':_0x18dfb3(0x350),'children':_0x30ce04})]});}return _0x5740e4?_0x4cf53b():_0x20a652['jsx'](_0x5d7915['Tooltip'],{'title':_0x4c9674['t'](_0x273497(0x220)),'children':_0x4cf53b()});}var _0x2a186d=Object[_0x479db0(0x179)],_0x5b897a=(_0x4a24df,_0x1ee15f,_0x24a2ce,_0x12055e)=>{for(var _0x3e2e21=_0x12055e>0x1?void 0x0:_0x12055e?_0x2a186d(_0x1ee15f,_0x24a2ce):_0x1ee15f,_0x576911=_0x4a24df['length']-0x1,_0x4d04de;_0x576911>=0x0;_0x576911--)(_0x4d04de=_0x4a24df[_0x576911])&&(_0x3e2e21=_0x4d04de(_0x3e2e21)||_0x3e2e21);return _0x3e2e21;},_0x29bd63=(_0x5e53ab,_0x29f77a)=>(_0x451e2f,_0x3198cb)=>_0x29f77a(_0x451e2f,_0x3198cb,_0x5e53ab);_0xc9a868[_0x479db0(0x218)]=class extends _0x3446be['Disposable']{constructor(_0x39f49d,_0x10513a,_0x30dc49,_0x3e8d29){const _0x1cb44f=_0x479db0;super(),_0x4b5aa6(this,_0x1cb44f(0x3e0),new _0xc33fa7[(_0x1cb44f(0x41f))](_0x4a9508['CollaborationStatus'][_0x1cb44f(0x2e9)])),(this[_0x1cb44f(0x221)]=_0x39f49d,this['_injector']=_0x10513a,this[_0x1cb44f(0x3ca)]=_0x30dc49,this['_uiPartsService']=_0x3e8d29,this[_0x1cb44f(0x3bc)](),this[_0x1cb44f(0x3eb)]());}[_0x479db0(0x3eb)](){const _0x333d29=_0x479db0;this[_0x333d29(0x275)](this[_0x333d29(0x221)][_0x333d29(0x3ed)][_0x333d29(0x1da)](_0xc33fa7['switchMap'](()=>{const _0x11209c=_0x333d29,_0x411cc8=this['_univerInstanceService']['getFocusedUnit']();return _0x411cc8?this['_collaborationController'][_0x11209c(0x38c)](_0x411cc8[_0x11209c(0x346)]()):_0xc33fa7['of'](null);}),_0xc33fa7[_0x333d29(0x413)](_0x306f47=>_0x306f47?_0x306f47[_0x333d29(0x231)]:_0xc33fa7['of'](_0x4a9508[_0x333d29(0x3c2)]['NOT_COLLAB'])))['subscribe'](_0x377a3f=>{const _0x43bd8a=_0x333d29;this['_status$'][_0x43bd8a(0x1d1)](_0x377a3f);}));}[_0x479db0(0x3bc)](){const _0x457d5d=_0x479db0;this[_0x457d5d(0x275)](this[_0x457d5d(0x349)][_0x457d5d(0x227)](_0x1e2f17['BuiltInUIPart']['HEADER_MENU'],()=>_0x1e2f17[_0x457d5d(0x3d3)](_0x115c67({'status$':this['_status$'][_0x457d5d(0x42d)]()}),this[_0x457d5d(0x23c)])));}},_0xc9a868[_0x479db0(0x218)]=_0x5b897a([_0x29bd63(0x0,_0x3446be[_0x479db0(0x2b5)]),_0x29bd63(0x1,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x29bd63(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x198)])),_0x29bd63(0x3,_0x1e2f17[_0x479db0(0x210)])],_0xc9a868['DesktopCollaborationStatusDisplayController']);function _0x115c67(_0x519034){const {status$:_0x514f16}=_0x519034;return function(){const _0x4df524=_0x5580;return _0x20a652[_0x4df524(0x395)](_0x485d9a,{'status$':_0x514f16});};}const _0x413167=_0x3446be['createIdentifier'](_0x479db0(0x1e4));var _0x5abc15=Object['getOwnPropertyDescriptor'],_0x1df046=(_0x227c0d,_0x4748d8,_0x4fa05d,_0x50873a)=>{const _0x452862=_0x479db0;for(var _0x562f6f=_0x50873a>0x1?void 0x0:_0x50873a?_0x5abc15(_0x4748d8,_0x4fa05d):_0x4748d8,_0x15e485=_0x227c0d[_0x452862(0x27b)]-0x1,_0x1604eb;_0x15e485>=0x0;_0x15e485--)(_0x1604eb=_0x227c0d[_0x15e485])&&(_0x562f6f=_0x1604eb(_0x562f6f)||_0x562f6f);return _0x562f6f;},_0x527960=(_0x1f0b0c,_0x21aa74)=>(_0x30dacc,_0x594024)=>_0x21aa74(_0x30dacc,_0x594024,_0x1f0b0c);_0xc9a868[_0x479db0(0x2e4)]=class extends _0x3446be['RxDisposable']{constructor(_0x32986c,_0x4c58f6,_0x301503,_0x518e0f,_0x26246){const _0x3fc2de=_0x479db0;super(),this[_0x3fc2de(0x298)]=_0x32986c,this['_logService']=_0x4c58f6,this[_0x3fc2de(0x1ca)]=_0x301503,this[_0x3fc2de(0x3be)]=_0x518e0f,_0x26246?_0x26246==null||_0x26246[_0x3fc2de(0x386)]()['then'](()=>this[_0x3fc2de(0x240)]()):(this[_0x3fc2de(0x177)][_0x3fc2de(0x2b0)](_0x3fc2de(0x3c7),_0x3fc2de(0x360)),this[_0x3fc2de(0x240)]());}async[_0x479db0(0x240)](){const _0x5cad6a=_0x479db0,_0x43aea4=this[_0x5cad6a(0x298)][_0x5cad6a(0x18d)](_0x5cad6a(0x241)),_0x248414=this[_0x5cad6a(0x298)][_0x5cad6a(0x18d)]('type'),_0x2d956e=this[_0x5cad6a(0x298)]['getParam'](_0x5cad6a(0x3d8));if(!_0x43aea4||!_0x248414){this[_0x5cad6a(0x177)]['debug']('[CollaborationDataLoaderController]',_0x5cad6a(0x1ee));return;}const _0x53c801=await this[_0x5cad6a(0x3be)]['loadUnit'](_0x43aea4,Number(_0x248414),_0x2d956e);_0x53c801&&_0x53c801 instanceof _0x3446be['Workbook']&&this[_0x5cad6a(0x36d)](_0x53c801);}async[_0x479db0(0x36d)](_0x3c457d){const _0xef8038=_0x479db0;await this[_0xef8038(0x3c4)](_0x3c457d),_0x3c457d['activeSheet$'][_0xef8038(0x1da)](_0xc33fa7[_0xef8038(0x2f3)](this[_0xef8038(0x3af)]))['subscribe'](_0x59d752=>{const _0x46413b=_0xef8038;_0x59d752&&this[_0x46413b(0x1c0)](_0x59d752);}),this[_0xef8038(0x298)]['urlChange$'][_0xef8038(0x1da)](_0xc33fa7['takeUntil'](this['dispose$']))[_0xef8038(0x1b3)](()=>this[_0xef8038(0x3c4)](_0x3c457d));}['_updateURLWithCurrentState'](_0x448612,_0x2d9ba9=!0x1){const _0x51f55e=_0x479db0,_0x46683c=this[_0x51f55e(0x298)][_0x51f55e(0x18d)](_0x51f55e(0x3d8));_0x448612[_0x51f55e(0x249)]()!==_0x46683c&&this[_0x51f55e(0x298)][_0x51f55e(0x24e)](_0x51f55e(0x3d8),_0x448612['getSheetId'](),_0x2d9ba9);}async[_0x479db0(0x3c4)](_0x2e53e4){const _0x391131=_0x479db0;var _0x532300;const _0x273216=this[_0x391131(0x298)][_0x391131(0x18d)](_0x391131(0x3d8));if(!_0x273216||!_0x2e53e4[_0x391131(0x394)](_0x273216)){const _0x5a5d73=_0x2e53e4[_0x391131(0x3c5)]()[0x0],_0x4286dc=_0x2e53e4[_0x391131(0x394)](_0x5a5d73);if(!_0x4286dc)return;this[_0x391131(0x1c0)](_0x4286dc,!0x0),await this[_0x391131(0x1ca)][_0x391131(0x1cf)](_0x2c6e97['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e53e4[_0x391131(0x346)](),'subUnitId':_0x5a5d73});return;}((_0x532300=_0x2e53e4[_0x391131(0x185)]())==null?void 0x0:_0x532300[_0x391131(0x249)]())!==_0x273216&&await this[_0x391131(0x1ca)]['executeCommand'](_0x2c6e97[_0x391131(0x316)]['id'],{'unitId':_0x2e53e4[_0x391131(0x346)](),'subUnitId':_0x273216});}},_0xc9a868['CollaborationDataLoaderController']=_0x1df046([_0x527960(0x0,_0x413167),_0x527960(0x1,_0x3446be[_0x479db0(0x438)]),_0x527960(0x2,_0x3446be[_0x479db0(0x3ef)]),_0x527960(0x3,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x213)])),_0x527960(0x4,_0x3446be[_0x479db0(0x2f2)](_0x2d183c[_0x479db0(0x23a)]))],_0xc9a868[_0x479db0(0x2e4)]);var _0x3b76e5=Object['getOwnPropertyDescriptor'],_0x4b8cb1=(_0x2a3358,_0x5181cd,_0x319d19,_0x59f615)=>{const _0x20a54f=_0x479db0;for(var _0x4517d2=_0x59f615>0x1?void 0x0:_0x59f615?_0x3b76e5(_0x5181cd,_0x319d19):_0x5181cd,_0x3ed4c3=_0x2a3358[_0x20a54f(0x27b)]-0x1,_0x9daa39;_0x3ed4c3>=0x0;_0x3ed4c3--)(_0x9daa39=_0x2a3358[_0x3ed4c3])&&(_0x4517d2=_0x9daa39(_0x4517d2)||_0x4517d2);return _0x4517d2;},_0xaf962e=(_0x2cbcd2,_0x4d5a6b)=>(_0x316d38,_0xef6549)=>_0x4d5a6b(_0x316d38,_0xef6549,_0x2cbcd2);let _0x1e3e26=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x2dd1ec,_0x566e57){const _0x3c9e37=_0x479db0;super(),this['_docClipboardService']=_0x2dd1ec,this[_0x3c9e37(0x184)]=_0x566e57,this[_0x3c9e37(0x240)]();}[_0x479db0(0x240)](){const _0xbd430f=_0x479db0,_0x565ddf=this;this[_0xbd430f(0x275)](this[_0xbd430f(0x2b6)][_0xbd430f(0x43c)]({'onBeforePasteImage':async _0xc27de0=>{const _0x15369d=_0xbd430f,_0x401d93=await _0x565ddf[_0x15369d(0x184)][_0x15369d(0x423)](_0xc27de0);return _0x401d93?{'source':_0x401d93[_0x15369d(0x2d9)],'imageSourceType':_0x401d93[_0x15369d(0x426)]}:null;}}));}};_0x1e3e26=_0x4b8cb1([_0xaf962e(0x0,_0x4262be[_0x479db0(0x265)]),_0xaf962e(0x1,_0x16331e[_0x479db0(0x207)])],_0x1e3e26);const _0x13ca5c=[_0x479db0(0x37e),_0x479db0(0x18e),'green.600',_0x479db0(0x327),'blue.400',_0x479db0(0x264)];class _0x324f05 extends _0x3446be['Disposable']{constructor(){const _0x248d76=_0x479db0;super(...arguments),_0x4b5aa6(this,_0x248d76(0x34f),new Map()),_0x4b5aa6(this,'_colorIndex',0x0);}[_0x479db0(0x260)](_0x5048aa){const _0x3373ef=_0x479db0;if(this[_0x3373ef(0x34f)][_0x3373ef(0x408)](_0x5048aa))return this['_assignedColors'][_0x3373ef(0x18f)](_0x5048aa);const _0x1a33d1=_0x13ca5c[this[_0x3373ef(0x1f5)]];return this[_0x3373ef(0x1f5)]=(this['_colorIndex']+0x1)%_0x13ca5c[_0x3373ef(0x27b)],this[_0x3373ef(0x34f)][_0x3373ef(0x1c9)](_0x5048aa,_0x1a33d1),_0x1a33d1;}}function _0x50d575(_0x2efb2b){let _0x15ca1c='';for(const _0x5083f4 of _0x2efb2b){const {startOffset:_0x2f4fd4,endOffset:_0x1e43df,isActive:_0x496d21,rangeType:_0x169c83,segmentId:_0x3a8dd3,segmentPage:_0x832001}=_0x5083f4;_0x15ca1c['length']&&(_0x15ca1c+=','),_0x15ca1c+=_0x2f4fd4+':'+_0x1e43df+':'+(_0x496d21?'1':'0')+':'+_0x169c83+':'+_0x3a8dd3+':'+_0x832001;}return _0x15ca1c;}function _0x84b029(_0x243095){const _0x577908=_0x479db0,_0x1811cd=_0x243095[_0x577908(0x190)](','),_0x26b100=[];for(const _0xc3341a of _0x1811cd){const [_0x46314e,_0x5ab3a6,_0x2c867d,_0x452cd4,_0x32a971,_0x3e14a9]=_0xc3341a[_0x577908(0x190)](':');_0x26b100['push']({'startOffset':Number(_0x46314e),'endOffset':Number(_0x5ab3a6),'collapsed':_0x46314e===_0x5ab3a6,'isActive':_0x2c867d==='1','rangeType':_0x452cd4===_0x3446be['DOC_RANGE_TYPE'][_0x577908(0x3fa)]?_0x3446be[_0x577908(0x3f6)]['TEXT']:_0x3446be[_0x577908(0x3f6)]['RECT'],'segmentId':typeof _0x32a971==_0x577908(0x30d)?String(_0x32a971):'','segmentPage':Number(_0x3e14a9!=null?_0x3e14a9:-0x1)});}return _0x26b100[_0x577908(0x273)](_0x55f26a=>_0x55f26a[_0x577908(0x2c5)])||(_0x26b100[0x0][_0x577908(0x2c5)]=!0x0),_0x26b100;}class _0x35b0b1 extends _0x3446be[_0x479db0(0x315)]{constructor(){const _0x59567e=_0x479db0;super(...arguments),_0x4b5aa6(this,_0x59567e(0x1cd),new _0xc33fa7[(_0x59567e(0x41f))](null)),_0x4b5aa6(this,_0x59567e(0x1f1),this[_0x59567e(0x1cd)]['asObservable']());}['syncEditingCollabCursor'](_0x4e5028){const _0x53c753=_0x479db0,{unitID:_0x5551c4,memberID:_0x4516da,textRanges:_0x453c3b}=_0x4e5028,_0x1870b5=_0x50d575(_0x453c3b);if(_0x1870b5==='')return;const _0x58f84d={'unitID':_0x5551c4,'memberID':_0x4516da,'selection':_0x1870b5};this[_0x53c753(0x1cd)][_0x53c753(0x1d1)](_0x58f84d);}}var _0x368865=Object[_0x479db0(0x179)],_0x58338c=(_0xd678f0,_0x5d9db2,_0x21d942,_0x26ba33)=>{const _0xba356b=_0x479db0;for(var _0x4554e6=_0x26ba33>0x1?void 0x0:_0x26ba33?_0x368865(_0x5d9db2,_0x21d942):_0x5d9db2,_0x2073ae=_0xd678f0[_0xba356b(0x27b)]-0x1,_0x42f716;_0x2073ae>=0x0;_0x2073ae--)(_0x42f716=_0xd678f0[_0x2073ae])&&(_0x4554e6=_0x42f716(_0x4554e6)||_0x4554e6);return _0x4554e6;},_0x43f854=(_0x29d4ce,_0x314cb5)=>(_0x4b035a,_0x1b00cf)=>_0x314cb5(_0x4b035a,_0x1b00cf,_0x29d4ce);const _0x4e230c=0x12c,_0x1852d0=0x64;let _0x4a247a=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x453efc,_0x31fb8d,_0x468739,_0x4dd21e,_0x3ee11f,_0x546c74,_0x26d1d4,_0x30586d,_0x4dec37){const _0x3d97d4=_0x479db0;super(),_0x4b5aa6(this,_0x3d97d4(0x373),!0x1),_0x4b5aa6(this,_0x3d97d4(0x240),!0x1),_0x4b5aa6(this,'_cursorInfo$',new _0xc33fa7[(_0x3d97d4(0x41f))](new Map())),_0x4b5aa6(this,'cursorInfo$',this[_0x3d97d4(0x266)][_0x3d97d4(0x42d)]()),_0x4b5aa6(this,_0x3d97d4(0x19d),new _0xc33fa7['BehaviorSubject']([])),_0x4b5aa6(this,_0x3d97d4(0x3f9),this['_roomMembers$']['pipe'](_0xc33fa7['debounceTime'](_0x4e230c))),_0x4b5aa6(this,_0x3d97d4(0x277),_0x3446be[_0x3d97d4(0x1bb)](_0x291bff=>{const _0x5c05e7=_0x3d97d4,_0x14b6f1={'eventID':_0x5ee43a['CollaborationEvent'][_0x5c05e7(0x186)],'data':{'unitID':this['unitID'],'memberID':this[_0x5c05e7(0x318)][_0x5c05e7(0x35b)](),'selection':_0x50d575(_0x291bff)}};this['_session'][_0x5c05e7(0x440)](_0x14b6f1,this['unitID']);},_0x1852d0)),(this['unitID']=_0x453efc,this[_0x3d97d4(0x318)]=_0x31fb8d,this[_0x3d97d4(0x23c)]=_0x468739,this['_colorAssignService']=_0x4dd21e,this[_0x3d97d4(0x2c4)]=_0x3ee11f,this[_0x3d97d4(0x3bd)]=_0x546c74,this[_0x3d97d4(0x3aa)]=_0x26d1d4,this['_univerInstanceService']=_0x30586d,this[_0x3d97d4(0x1ca)]=_0x4dec37);}get[_0x479db0(0x294)](){const _0x563ca7=_0x479db0;return this[_0x563ca7(0x266)][_0x563ca7(0x424)]();}get[_0x479db0(0x31d)](){return this['_roomMembers$']['getValue']();}[_0x479db0(0x40d)](){const _0x10ae52=_0x479db0;super['dispose'](),this[_0x10ae52(0x266)][_0x10ae52(0x1d1)](new Map()),this[_0x10ae52(0x266)]['complete'](),this[_0x10ae52(0x19d)][_0x10ae52(0x1d1)]([]),this['_roomMembers$'][_0x10ae52(0x3d2)]();}[_0x479db0(0x357)](){const _0xf208c1=_0x479db0;this[_0xf208c1(0x240)]||(this['_init']=!0x0,this['_session'][_0xf208c1(0x201)][_0xf208c1(0x1da)](_0xc33fa7[_0xf208c1(0x2f3)](this[_0xf208c1(0x3af)]))['subscribe'](_0x332f9c=>{const _0x2c4577=_0xf208c1;_0x332f9c===_0x4a9508[_0x2c4577(0x38f)][_0x2c4577(0x29d)]?this['_toggleOnline']():this[_0x2c4577(0x319)]();}),this[_0xf208c1(0x318)][_0xf208c1(0x3b2)][_0xf208c1(0x1da)](_0xc33fa7['takeUntil'](this[_0xf208c1(0x3af)]))['subscribe'](_0x1d5b32=>{const _0xc1cd41=_0xf208c1,_0x53deea=_0x1d5b32[_0xc1cd41(0x421)];_0x53deea===_0x5ee43a[_0xc1cd41(0x3f8)][_0xc1cd41(0x186)]&&this['_onCursorUpdate'](_0x1d5b32),_0x53deea===_0x5ee43a[_0xc1cd41(0x3f8)][_0xc1cd41(0x2ab)]&&this['_onCursorDelete'](_0x1d5b32);}),this[_0xf208c1(0x275)](this['_commandService']['onCommandExecuted'](_0x36f534=>{const _0x291962=_0xf208c1,_0x5aa998=_0x36f534[_0x291962(0x2b2)];_0x5aa998!=null&&this[_0x291962(0x373)]&&_0x36f534['id']===_0x4cdd99['SetTextSelectionsOperation']['id']&&_0x5aa998[_0x291962(0x404)]===this[_0x291962(0x180)]&&_0x5aa998[_0x291962(0x24b)]===!0x1&&_0x5aa998[_0x291962(0x3e2)][_0x291962(0x27b)]>0x0&&this[_0x291962(0x277)](_0x5aa998[_0x291962(0x3e2)]);})),this[_0xf208c1(0x3bd)][_0xf208c1(0x1f1)][_0xf208c1(0x1da)](_0xc33fa7['takeUntil'](this[_0xf208c1(0x3af)]))[_0xf208c1(0x1b3)](_0x163004=>{const _0x1f43fd=_0xf208c1;if((_0x163004==null?void 0x0:_0x163004[_0x1f43fd(0x180)])!==this[_0x1f43fd(0x180)])return;const _0xee1f40={'eventID':_0x5ee43a[_0x1f43fd(0x3f8)]['UPDATE_CURSOR'],'data':_0x163004};this[_0x1f43fd(0x37a)](_0xee1f40);}),this[_0xf208c1(0x275)](this[_0xf208c1(0x1ca)][_0xf208c1(0x3ec)](_0x88f4bf=>{const _0x3bda38=_0xf208c1;if(_0x88f4bf[_0x3bda38(0x2b2)]==null)return;const _0x5eb5a0=_0x88f4bf[_0x3bda38(0x2b2)];if(_0x88f4bf['id']!==_0x4cdd99[_0x3bda38(0x197)]['id']||_0x5eb5a0[_0x3bda38(0x404)]!==this['unitID'])return;const _0xf64919={'id':_0x3bda38(0x28c),'params':_0x5eb5a0},_0xdba5ec=this[_0x3bda38(0x294)];for(const [_0x4433b5,_0x521043]of _0xdba5ec){const _0x376b1d={'id':_0x3bda38(0x28c),'params':{'unitId':this[_0x3bda38(0x180)],'actions':null,'textRanges':_0x521043['ranges']}},_0xb4655e=this[_0x3bda38(0x3aa)][_0x3bda38(0x342)](_0xf64919,_0x376b1d,!0x1);if(_0x5ee43a[_0x3bda38(0x3e3)](_0xb4655e))throw _0xb4655e['error'];_0xdba5ec[_0x3bda38(0x1c9)](_0x4433b5,{..._0x521043,'ranges':_0xb4655e['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x30a30a=_0x3bda38;this[_0x30a30a(0x266)]['next'](_0xdba5ec);});})));}[_0x479db0(0x37a)](_0x81f5f2){const _0x4e7721=_0x479db0;var _0x45f4f4,_0x235990;const {memberID:_0x443b6e,selection:_0x2b7737}=_0x81f5f2['data'],_0x427772=_0x84b029(_0x2b7737),_0x5cf9d7=(_0x235990=(_0x45f4f4=this[_0x4e7721(0x2c4)][_0x4e7721(0x32d)](this[_0x4e7721(0x180)],_0x443b6e))==null?void 0x0:_0x45f4f4['name'])!=null?_0x235990:_0x4e7721(0x2bf),_0xc161fd={'color':this[_0x4e7721(0x313)][_0x4e7721(0x260)](_0x443b6e),'name':_0x5cf9d7,'ranges':_0x427772},_0x5f44c7=this[_0x4e7721(0x294)];_0x5f44c7[_0x4e7721(0x1c9)](_0x443b6e,_0xc161fd),this[_0x4e7721(0x266)][_0x4e7721(0x1d1)](_0x5f44c7);}['_onCursorDelete'](_0x517fbb){const _0x4775a9=_0x479db0,{memberID:_0x5c808b}=_0x517fbb[_0x4775a9(0x429)],_0x5cce20=this[_0x4775a9(0x294)];_0x5cce20[_0x4775a9(0x368)](_0x5c808b),this[_0x4775a9(0x266)]['next'](_0x5cce20);}[_0x479db0(0x26e)](){const _0x11419e=_0x479db0;var _0x3cff76;if(this[_0x11419e(0x373)]=!0x0,((_0x3cff76=this['_univerInstanceService'][_0x11419e(0x3de)]())==null?void 0x0:_0x3cff76[_0x11419e(0x346)]())!==this[_0x11419e(0x180)])return;const _0x56ea6d=this['_injector'][_0x11419e(0x18f)](_0x4cdd99['DocSelectionManagerService'])[_0x11419e(0x334)]();Array[_0x11419e(0x3cf)](_0x56ea6d)&&_0x56ea6d[_0x11419e(0x27b)]>0x0&&this[_0x11419e(0x277)](_0x56ea6d);}[_0x479db0(0x319)](){this['_online']=!0x1;}};_0x4a247a=_0x58338c([_0x43f854(0x2,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x43f854(0x3,_0x3446be[_0x479db0(0x21b)](_0x324f05)),_0x43f854(0x4,_0x3446be['Inject'](_0x4a9508['MemberService'])),_0x43f854(0x5,_0x3446be['Inject'](_0x35b0b1)),_0x43f854(0x6,_0x5ee43a[_0x479db0(0x3b7)]),_0x43f854(0x7,_0x3446be[_0x479db0(0x2b5)]),_0x43f854(0x8,_0x3446be[_0x479db0(0x3ef)])],_0x4a247a);var _0x28b7f8=Object[_0x479db0(0x179)],_0x337ed5=(_0x3d03ea,_0x1b305e,_0x915c74,_0x468b8c)=>{for(var _0x398d5a=_0x468b8c>0x1?void 0x0:_0x468b8c?_0x28b7f8(_0x1b305e,_0x915c74):_0x1b305e,_0x49e2fe=_0x3d03ea['length']-0x1,_0x46bfa3;_0x49e2fe>=0x0;_0x49e2fe--)(_0x46bfa3=_0x3d03ea[_0x49e2fe])&&(_0x398d5a=_0x46bfa3(_0x398d5a)||_0x398d5a);return _0x398d5a;},_0xf93a31=(_0x2470fb,_0x1d592b)=>(_0x2175bd,_0x3a7e5e)=>_0x1d592b(_0x2175bd,_0x3a7e5e,_0x2470fb);const _0x15ee82=0x12c,_0x4abfb3=0x64,_0x565e5a=()=>{let _0x1a432b=[],_0x44b99f=!0x1;return _0x524550=>{const _0x3bff55=_0x5580;_0x1a432b[_0x3bff55(0x214)](_0x524550),_0x44b99f||(_0x44b99f=!0x0,setTimeout(()=>{const _0x592e44=_0x3bff55;_0x1a432b[_0x592e44(0x1ac)](_0x5c6dc9=>_0x5c6dc9()),_0x1a432b=[],_0x44b99f=!0x1;}));};};let _0x31024d=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x223483,_0x5b82aa,_0x2b3eba,_0x51d943,_0x5207c7,_0x5c74d1,_0xa09c07,_0xe59248){const _0x627345=_0x479db0;super(),_0x4b5aa6(this,_0x627345(0x373),!0x1),_0x4b5aa6(this,'_init',!0x1),_0x4b5aa6(this,_0x627345(0x266),new _0xc33fa7[(_0x627345(0x41f))](new Map())),_0x4b5aa6(this,_0x627345(0x3c3),this[_0x627345(0x266)][_0x627345(0x42d)]()),_0x4b5aa6(this,'_roomMembers$',new _0xc33fa7[(_0x627345(0x41f))]([])),_0x4b5aa6(this,_0x627345(0x3f9),this[_0x627345(0x19d)][_0x627345(0x1da)](_0xc33fa7['debounceTime'](_0x15ee82))),_0x4b5aa6(this,_0x627345(0x277),_0x3446be[_0x627345(0x1bb)]((_0x579e1d,_0x2b6a0b)=>{const _0x456b1e=_0x627345,_0x9bc91d={'eventID':_0x5ee43a[_0x456b1e(0x3f8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x456b1e(0x180)],'memberID':this[_0x456b1e(0x318)][_0x456b1e(0x35b)](),'selection':_0x5777d0[_0x456b1e(0x38a)](_0x579e1d,_0x2b6a0b[_0x456b1e(0x1f8)])}};this[_0x456b1e(0x318)][_0x456b1e(0x440)](_0x9bc91d,this['unitID']);},_0x4abfb3)),(this[_0x627345(0x180)]=_0x223483,this[_0x627345(0x318)]=_0x5b82aa,this[_0x627345(0x23c)]=_0x2b3eba,this[_0x627345(0x313)]=_0x51d943,this[_0x627345(0x2c4)]=_0x5207c7,this['_univerInstanceService']=_0x5c74d1,this['_commandService']=_0xa09c07,this[_0x627345(0x3d0)]=_0xe59248);}get['cursorInfo'](){const _0x35f7fd=_0x479db0;return this[_0x35f7fd(0x266)][_0x35f7fd(0x424)]();}get[_0x479db0(0x31d)](){const _0x200a0e=_0x479db0;return this[_0x200a0e(0x19d)][_0x200a0e(0x424)]();}[_0x479db0(0x40d)](){const _0x68b3f8=_0x479db0;super[_0x68b3f8(0x40d)](),this[_0x68b3f8(0x266)][_0x68b3f8(0x1d1)](new Map()),this[_0x68b3f8(0x266)]['complete'](),this[_0x68b3f8(0x19d)][_0x68b3f8(0x1d1)]([]),this['_roomMembers$'][_0x68b3f8(0x3d2)]();}[_0x479db0(0x357)](){const _0x2621ac=_0x479db0;this[_0x2621ac(0x240)]||(this['_init']=!0x0,this[_0x2621ac(0x318)][_0x2621ac(0x201)][_0x2621ac(0x1da)](_0xc33fa7['takeUntil'](this[_0x2621ac(0x3af)]))[_0x2621ac(0x1b3)](_0x561b34=>{const _0x5ec682=_0x2621ac;_0x561b34===_0x4a9508['SessionStatus'][_0x5ec682(0x29d)]?this[_0x5ec682(0x26e)]():this[_0x5ec682(0x319)]();}),this[_0x2621ac(0x318)][_0x2621ac(0x3b2)][_0x2621ac(0x1da)](_0xc33fa7[_0x2621ac(0x2f3)](this['dispose$']))[_0x2621ac(0x1b3)](_0x37cdde=>{const _0x89c0fd=_0x2621ac,_0x218de4=_0x37cdde['eventID'];_0x218de4===_0x5ee43a[_0x89c0fd(0x3f8)]['UPDATE_CURSOR']&&this[_0x89c0fd(0x37a)](_0x37cdde),_0x218de4===_0x5ee43a[_0x89c0fd(0x3f8)][_0x89c0fd(0x2ab)]&&this[_0x89c0fd(0x25b)](_0x37cdde);}),this['_onRefRangeChange'](),this[_0x2621ac(0x275)](this[_0x2621ac(0x1ca)][_0x2621ac(0x3ec)](_0x452643=>{const _0x7d194d=_0x2621ac;if(this['_online']&&_0x452643['id']===_0x2c6e97['SetSelectionsOperation']['id']&&_0x452643[_0x7d194d(0x2b2)][_0x7d194d(0x404)]===this['unitID']){const _0x1df6ba=_0x452643[_0x7d194d(0x2b2)];this[_0x7d194d(0x277)](_0x1df6ba['subUnitId'],_0x1df6ba['selections'][0x0]);}})));}[_0x479db0(0x37a)](_0xf57d65){const _0x527717=_0x479db0;var _0x43e8d3,_0x1473fd;const {memberID:_0x17f510,selection:_0x4f9c34}=_0xf57d65[_0x527717(0x429)],{sheetName:_0x3dd904,range:_0x1ed3ef}=_0x5777d0[_0x527717(0x387)](_0x4f9c34),_0x252402={'name':(_0x1473fd=(_0x43e8d3=this[_0x527717(0x2c4)][_0x527717(0x32d)](this[_0x527717(0x180)],_0x17f510))==null?void 0x0:_0x43e8d3[_0x527717(0x348)])!=null?_0x1473fd:_0x527717(0x2bf),'range':this[_0x527717(0x280)](_0x3dd904,_0x1ed3ef),'sheetID':_0x3dd904,'color':this[_0x527717(0x313)]['assignAColorForMemberID'](_0x17f510),'selection':_0x4f9c34},_0x35ed41=this[_0x527717(0x294)];_0x35ed41[_0x527717(0x1c9)](_0x17f510,_0x252402),this[_0x527717(0x266)][_0x527717(0x1d1)](_0x35ed41);}[_0x479db0(0x25b)](_0x11ee59){const _0x5ebcdd=_0x479db0,{memberID:_0x3e26ec}=_0x11ee59[_0x5ebcdd(0x429)],_0x36a4a3=this['cursorInfo'];_0x36a4a3[_0x5ebcdd(0x368)](_0x3e26ec),this[_0x5ebcdd(0x266)][_0x5ebcdd(0x1d1)](_0x36a4a3);}['_getMergeRange'](_0xd7f8,_0x424223){const _0x30ab42=_0x479db0;var _0x25a053,_0x4996c1;const _0x274814=(_0x4996c1=(_0x25a053=this[_0x30ab42(0x221)][_0x30ab42(0x3cc)](this[_0x30ab42(0x180)]))==null?void 0x0:_0x25a053[_0x30ab42(0x394)](_0xd7f8))==null?void 0x0:_0x4996c1[_0x30ab42(0x38b)]();return(_0x274814==null?void 0x0:_0x274814[_0x30ab42(0x191)](_0x12fe05=>_0x3446be['Rectangle'][_0x30ab42(0x41b)](_0x12fe05,_0x424223)))||_0x424223;}[_0x479db0(0x238)](){const _0x30cd12=_0x479db0,_0x23979b=new _0x3446be['DisposableCollection'](),_0x8f2492=_0x565e5a(),_0x567d53=()=>{const _0xc15c8d=_0x5580;_0x23979b['dispose']();const _0x1f9fe6=(_0x29adf7,_0x34aec9,_0x2f2df3,_0x52fc90)=>{const _0x116f2c=_0x5580;let _0x1f0cfa=[];switch(_0x29adf7['id']){case _0x2c6e97[_0x116f2c(0x31c)]['DeleteRangeMoveLeftCommandId']:{_0x1f0cfa=_0x2c6e97['handleDeleteRangeMoveLeft'](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x3ad)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x242)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97['EffectRefRangId']['InsertColCommandId']:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x1a0)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x1dd)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x3fd)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x299)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x3e6)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x432)]:{_0x1f0cfa=_0x2c6e97['handleInsertRow'](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x234)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x270)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x3cd)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x23d)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)]['RemoveRowCommandId']:{_0x1f0cfa=_0x2c6e97['handleIRemoveRow'](_0x29adf7,_0x52fc90);break;}}const _0x1bec4b=_0x2c6e97[_0x116f2c(0x34a)](_0x1f0cfa,_0x52fc90),_0x3044d4=this[_0x116f2c(0x294)]['get'](_0x34aec9);if(_0x3044d4&&_0x1bec4b){const _0x1a89b1={..._0x3044d4,'range':_0x1bec4b};this[_0x116f2c(0x294)][_0x116f2c(0x1c9)](_0x34aec9,_0x1a89b1),_0x8f2492(()=>{const _0x219dd0=_0x116f2c,_0x379c07=this[_0x219dd0(0x3d0)][_0x219dd0(0x25d)](_0x1bec4b,_0x3e06f6=>(_0x379c07['dispose'](),_0x1f9fe6(_0x3e06f6,_0x34aec9,_0x2f2df3,_0x1bec4b)));_0x23979b[_0x219dd0(0x335)](_0x379c07);});}return{'redos':[],'undos':[]};};this[_0xc15c8d(0x294)][_0xc15c8d(0x1ac)]((_0x230c85,_0x2e1a4c)=>{const _0x4540ab=_0xc15c8d,{range:_0x435807,sheetID:_0x1413b6}=_0x230c85,_0xade1ba=this[_0x4540ab(0x3d0)]['registerRefRange'](_0x435807,_0x855fd7=>(_0xade1ba[_0x4540ab(0x40d)](),_0x1f9fe6(_0x855fd7,_0x2e1a4c,_0x1413b6,_0x435807)));_0x23979b[_0x4540ab(0x335)](_0xade1ba);});};this[_0x30cd12(0x275)](_0x3446be['toDisposable'](this['_cursorInfo$'][_0x30cd12(0x1b3)](()=>{_0x567d53();})));}['_toggleOnline'](){const _0x1163d6=_0x479db0;var _0x42c2bb,_0x4a6758;if(this[_0x1163d6(0x373)]=!0x0,((_0x42c2bb=this[_0x1163d6(0x221)]['getFocusedUnit']())==null?void 0x0:_0x42c2bb[_0x1163d6(0x346)]())!==this[_0x1163d6(0x180)])return;const _0x2965de=(_0x4a6758=this['_injector'][_0x1163d6(0x18f)](_0x2c6e97[_0x1163d6(0x1c6)])[_0x1163d6(0x418)]())==null?void 0x0:_0x4a6758[0x0],_0x27cae9=this[_0x1163d6(0x221)][_0x1163d6(0x282)](_0x3446be['UniverInstanceType'][_0x1163d6(0x3a8)])['getActiveSheet']();_0x2965de&&_0x27cae9&&this[_0x1163d6(0x277)](_0x27cae9['getSheetId'](),_0x2965de);}[_0x479db0(0x319)](){this['_online']=!0x1;}};_0x31024d=_0x337ed5([_0xf93a31(0x2,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0xf93a31(0x3,_0x3446be[_0x479db0(0x21b)](_0x324f05)),_0xf93a31(0x4,_0x3446be['Inject'](_0x4a9508[_0x479db0(0x27a)])),_0xf93a31(0x5,_0x3446be[_0x479db0(0x2b5)]),_0xf93a31(0x6,_0x3446be[_0x479db0(0x3ef)]),_0xf93a31(0x7,_0x3446be[_0x479db0(0x21b)](_0x2c6e97['RefRangeService']))],_0x31024d);var _0x5752ff=Object[_0x479db0(0x179)],_0x1d44dc=(_0x388eb4,_0x16df97,_0xa93485,_0x6a02e2)=>{const _0x558fdc=_0x479db0;for(var _0x254b98=_0x6a02e2>0x1?void 0x0:_0x6a02e2?_0x5752ff(_0x16df97,_0xa93485):_0x16df97,_0x4f6954=_0x388eb4[_0x558fdc(0x27b)]-0x1,_0xfee410;_0x4f6954>=0x0;_0x4f6954--)(_0xfee410=_0x388eb4[_0x4f6954])&&(_0x254b98=_0xfee410(_0x254b98)||_0x254b98);return _0x254b98;},_0xfaddfe=(_0xa24e16,_0x2826c5)=>(_0xe4dc92,_0x44ce54)=>_0x2826c5(_0xe4dc92,_0x44ce54,_0xa24e16);let _0x302180=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x3590c8,_0x386444,_0x6b6ca5){const _0x13cd9d=_0x479db0;super(),_0x4b5aa6(this,_0x13cd9d(0x392),new Map()),_0x4b5aa6(this,_0x13cd9d(0x33a),new _0xc33fa7[(_0x13cd9d(0x245))]()),(this[_0x13cd9d(0x221)]=_0x3590c8,this[_0x13cd9d(0x23c)]=_0x386444,this[_0x13cd9d(0x3d6)]=_0x6b6ca5,this[_0x13cd9d(0x240)]());}['dispose'](){const _0x44c8f9=_0x479db0;super[_0x44c8f9(0x40d)](),this[_0x44c8f9(0x33a)]['complete'](),this[_0x44c8f9(0x392)][_0x44c8f9(0x1ac)](_0x4739f6=>_0x4739f6[_0x44c8f9(0x40d)]());}[_0x479db0(0x358)](_0x26702b){const _0x138663=_0x479db0;return this[_0x138663(0x392)]['has'](_0x26702b)?this[_0x138663(0x392)][_0x138663(0x18f)](_0x26702b)[_0x138663(0x3c3)]:this[_0x138663(0x33a)][_0x138663(0x1da)](_0xc33fa7[_0x138663(0x352)](_0x45bc06=>_0x45bc06['unitID']===_0x26702b),_0xc33fa7[_0x138663(0x413)](_0x305532=>_0x305532[_0x138663(0x3c3)]));}[_0x479db0(0x240)](){const _0x52026c=_0x479db0;this['_univerInstanceService'][_0x52026c(0x3c8)](_0x3446be['UniverInstanceType'][_0x52026c(0x3a8)])[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))[_0x52026c(0x1b3)](async _0x4750be=>{const _0x5134d0=_0x52026c,_0x2d0793=_0x4750be[_0x5134d0(0x346)](),_0x2298ec=await this['_startSheetCollabCursor'](_0x2d0793);this['_entityInit$']['next'](_0x2298ec),this[_0x5134d0(0x392)][_0x5134d0(0x1c9)](_0x2d0793,_0x2298ec);}),this[_0x52026c(0x221)][_0x52026c(0x3c8)](_0x3446be[_0x52026c(0x20a)][_0x52026c(0x24c)])[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))['pipe'](_0xc33fa7['filter'](_0x40cbea=>!_0x40cbea[_0x52026c(0x346)]()[_0x52026c(0x3d9)]('__')))[_0x52026c(0x1b3)](async _0x536666=>{const _0x5a891d=_0x52026c,_0x1cd8a2=_0x536666[_0x5a891d(0x346)](),_0x12270c=await this[_0x5a891d(0x314)](_0x1cd8a2);this[_0x5a891d(0x33a)][_0x5a891d(0x1d1)](_0x12270c),this[_0x5a891d(0x392)][_0x5a891d(0x1c9)](_0x1cd8a2,_0x12270c);}),_0xc33fa7['merge'](this[_0x52026c(0x221)][_0x52026c(0x2ed)](_0x3446be['UniverInstanceType'][_0x52026c(0x24c)]),this[_0x52026c(0x221)][_0x52026c(0x2ed)](_0x3446be['UniverInstanceType'][_0x52026c(0x3a8)]))[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))[_0x52026c(0x1b3)](_0x333211=>{const _0x2e1378=_0x52026c,_0x3fe6e7=_0x333211[_0x2e1378(0x346)](),_0x57047f=this[_0x2e1378(0x392)]['get'](_0x3fe6e7);_0x57047f&&(_0x57047f[_0x2e1378(0x40d)](),this[_0x2e1378(0x392)][_0x2e1378(0x368)](_0x3fe6e7));});}async[_0x479db0(0x444)](_0x26a61e){const _0x264707=_0x479db0,_0xd54c98=await this['_collabSessionService']['requireSession'](_0x26a61e),_0x4b5660=this[_0x264707(0x23c)]['createInstance'](_0x31024d,_0x26a61e,_0xd54c98);return _0x4b5660[_0x264707(0x357)](),_0x4b5660;}async['_startDocCollabCursor'](_0x111efc){const _0xbaddc1=_0x479db0,_0x283388=await this[_0xbaddc1(0x3d6)][_0xbaddc1(0x3bb)](_0x111efc),_0x54a343=this[_0xbaddc1(0x23c)][_0xbaddc1(0x1ec)](_0x4a247a,_0x111efc,_0x283388);return _0x54a343[_0xbaddc1(0x357)](),_0x54a343;}};_0x302180=_0x1d44dc([_0xfaddfe(0x0,_0x3446be['IUniverInstanceService']),_0xfaddfe(0x1,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0xfaddfe(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508['CollaborationSessionService']))],_0x302180);const _0x43962b=0x14,_0x45c628=0xc8,_0x17e733=0x4,_0x528dfb=0x5;function _0x1f3aab(_0x1704c7,_0x3de961){const _0x47f476=_0x479db0;let {radius:_0x1671e5,width:_0x4ac560,height:_0x410cbe}=_0x3de961;_0x1671e5=_0x1671e5!=null?_0x1671e5:0x0,_0x4ac560=_0x4ac560!=null?_0x4ac560:0x1e,_0x410cbe=_0x410cbe!=null?_0x410cbe:0x1e;let _0x3edadf=0x0,_0x3bdaac=0x0,_0xc8a5de=0x0;_0x3edadf=_0x3bdaac=_0xc8a5de=Math[_0x47f476(0x20f)](_0x1671e5,_0x4ac560/0x2,_0x410cbe/0x2),_0x1704c7[_0x47f476(0x1db)](),_0x1704c7[_0x47f476(0x26a)](_0x3edadf,0x0),_0x1704c7[_0x47f476(0x390)](_0x4ac560-_0x3bdaac,0x0),_0x1704c7[_0x47f476(0x326)](_0x4ac560-_0x3bdaac,_0x3bdaac,_0x3bdaac,Math['PI']*0x3/0x2,0x0,!0x1),_0x1704c7[_0x47f476(0x390)](_0x4ac560,_0x410cbe-_0xc8a5de),_0x1704c7[_0x47f476(0x326)](_0x4ac560-_0xc8a5de,_0x410cbe-_0xc8a5de,_0xc8a5de,0x0,Math['PI']/0x2,!0x1),_0x1704c7[_0x47f476(0x390)](0x0,_0x410cbe),_0x1704c7['lineTo'](0x0,_0x3edadf),_0x1704c7[_0x47f476(0x326)](_0x3edadf,_0x3edadf,_0x3edadf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1704c7[_0x47f476(0x1df)](),_0x3de961[_0x47f476(0x328)]&&(_0x1704c7[_0x47f476(0x2ba)](),_0x1704c7[_0x47f476(0x2d4)]=_0x3de961['fill'],_0x3de961[_0x47f476(0x274)]===_0x47f476(0x2cd)?_0x1704c7['fill'](_0x47f476(0x2cd)):_0x1704c7[_0x47f476(0x328)](),_0x1704c7[_0x47f476(0x40f)]());}class _0x41b85c extends _0x154eb1[_0x479db0(0x226)]{constructor(_0x1083b8,_0x463ad1){const _0x41a1b7=_0x479db0;super(_0x1083b8,_0x463ad1),_0x4b5aa6(this,_0x41a1b7(0x43b)),_0x4b5aa6(this,_0x41a1b7(0x208)),(this[_0x41a1b7(0x43b)]=_0x463ad1==null?void 0x0:_0x463ad1['color'],this[_0x41a1b7(0x208)]=_0x463ad1==null?void 0x0:_0x463ad1[_0x41a1b7(0x208)]);}static['drawWith'](_0x43d02e,_0x46f8a7){const _0x4fa1c4=_0x479db0,{text:_0x34f799,color:_0x5695f4}=_0x46f8a7;_0x43d02e['save'](),_0x43d02e[_0x4fa1c4(0x25e)]=_0x4fa1c4(0x3a0);const _0x47d26b=_0x43d02e['measureText'](_0x34f799)[_0x4fa1c4(0x1bd)],_0x49be16=Math[_0x4fa1c4(0x20f)](_0x47d26b+0x2*_0x17e733,_0x45c628);_0x1f3aab(_0x43d02e,{'height':_0x43962b,'radius':0x4,'width':_0x49be16,'fill':_0x5695f4}),_0x43d02e['fillStyle']=_0x4fa1c4(0x2dd);const _0x59d6a7=_0x17e733,_0x17b9a9=_0x43962b-_0x528dfb,_0x537abb=_0x45c628-0x2*_0x17e733;if(_0x47d26b>_0x537abb){let _0x1d9afd='',_0xbf1dca=0x0;for(const _0x24e870 of _0x34f799){const _0x6222e4=_0x43d02e[_0x4fa1c4(0x253)](_0x24e870)[_0x4fa1c4(0x1bd)];if(_0xbf1dca+_0x6222e4<=_0x537abb-_0x43d02e[_0x4fa1c4(0x253)](_0x4fa1c4(0x19c))['width'])_0x1d9afd+=_0x24e870,_0xbf1dca+=_0x6222e4;else{_0x1d9afd+='...';break;}}_0x43d02e[_0x4fa1c4(0x276)](_0x1d9afd,_0x59d6a7,_0x17b9a9);}else _0x43d02e['fillText'](_0x34f799,_0x59d6a7,_0x17b9a9);_0x43d02e[_0x4fa1c4(0x40f)]();}[_0x479db0(0x3a7)](_0x275704){_0x41b85c['drawWith'](_0x275704,this);}}const _0x2c4912=_0x479db0(0x304),_0x6ab1f7=_0x479db0(0x35a),_0x27c198=_0x479db0(0x258),_0x50a40f=0x6,_0x563693=1.5,_0x176b01=0x4,_0x4402fc=1.5,_0x2419de=_0x479db0(0x2c1);class _0x592d74{constructor(_0xa79931,_0x47615a,_0x5d9b16,_0x47421c){const _0x6a24fd=_0x479db0;_0x4b5aa6(this,_0x6a24fd(0x2f5),[]),_0x4b5aa6(this,'_anchor',null),_0x4b5aa6(this,_0x6a24fd(0x1a7),null),_0x4b5aa6(this,_0x6a24fd(0x295),null),_0x4b5aa6(this,_0x6a24fd(0x278),null),_0x4b5aa6(this,_0x6a24fd(0x427),null),(this[_0x6a24fd(0x2c6)]=_0xa79931,this[_0x6a24fd(0x205)]=_0x47615a,this[_0x6a24fd(0x3b3)]=_0x5d9b16,this['_document']=_0x47421c,this[_0x6a24fd(0x1b0)]());}set['_hover'](_0x22eade){const _0x5ecfe3=_0x479db0;_0x22eade?(this[_0x5ecfe3(0x295)]&&this[_0x5ecfe3(0x295)][_0x5ecfe3(0x2fe)](),this['_textBubble']&&this[_0x5ecfe3(0x1a7)][_0x5ecfe3(0x2a8)]()):(this[_0x5ecfe3(0x295)]&&this[_0x5ecfe3(0x295)]['show'](),this[_0x5ecfe3(0x1a7)]&&this[_0x5ecfe3(0x1a7)]['hide']());}[_0x479db0(0x40d)](){const _0x3d6eab=_0x479db0;for(const _0x471a9a of this[_0x3d6eab(0x2f5)])_0x471a9a[_0x3d6eab(0x40d)]();this[_0x3d6eab(0x1a7)]&&this[_0x3d6eab(0x1a7)][_0x3d6eab(0x40d)](),this[_0x3d6eab(0x295)]&&this[_0x3d6eab(0x295)]['dispose'](),this['_anchor']&&this[_0x3d6eab(0x321)][_0x3d6eab(0x40d)](),this[_0x3d6eab(0x427)]&&this['_eventUnsubscribe']();}[_0x479db0(0x1b0)](){const _0x2d45a6=_0x479db0;var _0x2b94f3;const {_docSkeleton:_0x5bd16,_document:_0x159a64}=this,{color:_0x531e7c,name:_0x5c6132,ranges:_0x5092e4}=this[_0x2d45a6(0x2c6)],_0x580f10=_0x159a64[_0x2d45a6(0x2a4)](),{docsLeft:_0x18fa2b,docsTop:_0x3cf1d2}=_0x580f10,_0x4ee7c6=new _0x4262be[(_0x2d45a6(0x1f6))](_0x580f10,_0x5bd16);for(const {startOffset:_0x2508ae,endOffset:_0x4d66a9,rangeType:_0x20f2d9,segmentId:_0x107272,segmentPage:_0x5420e6,collapsed:_0x317268,isActive:_0x4ddfec}of _0x5092e4){const _0x3121cd=_0x5bd16[_0x2d45a6(0x2cf)](_0x2508ae,!0x0,_0x107272,_0x5420e6);let _0xbcebd4=_0x5bd16[_0x2d45a6(0x2cf)](_0x4d66a9,!0x0,_0x107272,_0x5420e6);if(_0xbcebd4==null&&(_0xbcebd4=_0x5bd16[_0x2d45a6(0x2cf)](_0x4d66a9-0x1,!0x1,_0x107272,_0x5420e6)),_0x4ddfec){const {contentBoxPointGroup:_0x34ba7d}=_0x4ee7c6[_0x2d45a6(0x36f)](_0xbcebd4,_0xbcebd4);if(_0x34ba7d[_0x2d45a6(0x27b)]===0x0)continue;this[_0x2d45a6(0x39d)](_0x531e7c,_0x34ba7d,_0x18fa2b,_0x3cf1d2,_0x5c6132),this[_0x2d45a6(0x427)]=this[_0x2d45a6(0x2fa)]();}if(_0x3121cd&&_0xbcebd4){if(_0x20f2d9===_0x3446be['DOC_RANGE_TYPE'][_0x2d45a6(0x21c)]){const _0x4fc547=new _0x4262be[(_0x2d45a6(0x3f2))](_0x580f10,_0x5bd16),{pointGroup:_0xba9e51}=(_0x2b94f3=_0x4fc547[_0x2d45a6(0x36f)](_0x3121cd,_0xbcebd4))!=null?_0x2b94f3:{};if(_0xba9e51==null||_0xba9e51['length']===0x0)continue;this[_0x2d45a6(0x247)](_0x531e7c,_0xba9e51,_0x18fa2b,_0x3cf1d2);}else{if(!_0x317268){const {borderBoxPointGroup:_0x57773c}=_0x4ee7c6['getRangePointData'](_0x3121cd,_0xbcebd4);if(_0x57773c[_0x2d45a6(0x27b)]===0x0)continue;this['_drawTextRange'](_0x531e7c,_0x57773c,_0x18fa2b,_0x3cf1d2);}}}}}[_0x479db0(0x39d)](_0x5757c7,_0x466be3,_0x45ee5b,_0x231378,_0x3cb65d){const _0x58c2e5=_0x479db0,_0x2fbd1d=this[_0x58c2e5(0x356)](_0x466be3),{left:_0x3557ed,top:_0x497995,height:_0xff56e5}=_0x2fbd1d,_0x448ffa=this['_getScale'](),_0xfbee8b=_0x4402fc/_0x448ffa,_0x5d6639=new _0x154eb1['Rect'](_0x2c4912+_0x3446be[_0x58c2e5(0x407)](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378,'height':_0xff56e5,'width':_0x563693,'fill':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)][_0x58c2e5(0x433)],0x0),'strokeWidth':_0xfbee8b,'stroke':_0x2419de,'evented':!0x0});this[_0x58c2e5(0x321)]=_0x5d6639,this[_0x58c2e5(0x205)][_0x58c2e5(0x39c)](_0x5d6639,_0x4262be['TEXT_RANGE_LAYER_INDEX']);const _0x157123=new _0x154eb1['Rect'](_0x2c4912+_0x3446be['generateRandomId'](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378-_0x176b01/0x2,'height':_0x176b01,'width':_0x176b01,'fill':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)]['black'],0x0),'evented':!0x1});this[_0x58c2e5(0x295)]=_0x157123,this['_scene'][_0x58c2e5(0x39c)](_0x157123,_0x4262be[_0x58c2e5(0x2f9)]);const _0x53887a=new _0x41b85c(_0x2c4912+_0x3446be[_0x58c2e5(0x407)](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378-_0x43962b,'text':_0x3cb65d,'color':_0x5757c7});this[_0x58c2e5(0x1a7)]=_0x53887a,this['_scene'][_0x58c2e5(0x39c)](_0x53887a,_0x4262be[_0x58c2e5(0x2f9)]),this['_hover']=!0x1;}[_0x479db0(0x2fa)](){const _0x4d4d4d=_0x479db0,_0x8e7a2f=this[_0x4d4d4d(0x321)][_0x4d4d4d(0x3b9)][_0x4d4d4d(0x1ab)](()=>{const _0x2743a9=_0x4d4d4d;this[_0x2743a9(0x41c)]=!0x0;}),_0x3071d6=this['_anchor']['onPointerLeave$'][_0x4d4d4d(0x1ab)](()=>{const _0x32b7f6=_0x4d4d4d;this[_0x32b7f6(0x278)]&&clearTimeout(this['_hideTimer']),this[_0x32b7f6(0x278)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3f2b23=_0x4d4d4d;_0x8e7a2f['unsubscribe'](),_0x3071d6[_0x3f2b23(0x2f6)]();};}[_0x479db0(0x1e3)](_0x3f5a40,_0x475d2f,_0x15a209,_0xafbf2e){const _0x1c9b26=_0x479db0,_0x479a5a=new _0x3446be[(_0x1c9b26(0x2d8))](_0x3f5a40)[_0x1c9b26(0x35d)](0.2)[_0x1c9b26(0x1ce)](),_0x12f95b=new _0x154eb1['RegularPolygon'](_0x6ab1f7+_0x3446be[_0x1c9b26(0x407)](_0x50a40f),{'pointsGroup':_0x475d2f,'fill':_0x479a5a||_0x154eb1[_0x1c9b26(0x3b0)](_0x3446be[_0x1c9b26(0x1ef)][_0x1c9b26(0x433)],0.2),'left':_0x15a209,'top':_0xafbf2e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c9b26(0x2f5)][_0x1c9b26(0x214)](_0x12f95b),this[_0x1c9b26(0x205)][_0x1c9b26(0x39c)](_0x12f95b,_0x4262be[_0x1c9b26(0x2f9)]);}[_0x479db0(0x247)](_0xd90a75,_0x4c90dd,_0x62563b,_0x31c855){const _0x3324dd=_0x479db0,_0x724cf8=new _0x3446be['ColorKit'](_0xd90a75)[_0x3324dd(0x35d)](0.2)[_0x3324dd(0x1ce)](),_0xcf5ee3=new _0x154eb1['RegularPolygon'](_0x27c198+_0x3446be[_0x3324dd(0x407)](_0x50a40f),{'pointsGroup':_0x4c90dd,'fill':_0x724cf8||_0x154eb1['getColor'](_0x3446be[_0x3324dd(0x1ef)][_0x3324dd(0x433)],0.2),'left':_0x62563b,'top':_0x31c855,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3324dd(0x214)](_0xcf5ee3),this['_scene'][_0x3324dd(0x39c)](_0xcf5ee3,_0x4262be[_0x3324dd(0x2f9)]);}[_0x479db0(0x356)](_0x20007c){const _0x3e929a=_0x20007c[0x0],_0x6f3fbb=_0x3e929a[0x0],_0x1256a9=_0x3e929a[0x2],{x:_0x33c50e,y:_0x81b285}=_0x6f3fbb,{x:_0x44deed,y:_0x1efcad}=_0x1256a9;return{'left':_0x33c50e,'top':_0x81b285,'width':_0x44deed-_0x33c50e,'height':_0x1efcad-_0x81b285};}[_0x479db0(0x254)](){const _0x2624ba=_0x479db0,{scaleX:_0x3017b0,scaleY:_0x431ecb}=this[_0x2624ba(0x205)]['getAncestorScale']();return Math[_0x2624ba(0x37f)](_0x3017b0,_0x431ecb);}}var _0x5c167d=Object[_0x479db0(0x179)],_0x27db13=(_0x18e706,_0x6eec55,_0x38b718,_0x19442b)=>{const _0x1605ec=_0x479db0;for(var _0x994417=_0x19442b>0x1?void 0x0:_0x19442b?_0x5c167d(_0x6eec55,_0x38b718):_0x6eec55,_0x3b2fe8=_0x18e706[_0x1605ec(0x27b)]-0x1,_0x3fe3e0;_0x3b2fe8>=0x0;_0x3b2fe8--)(_0x3fe3e0=_0x18e706[_0x3b2fe8])&&(_0x994417=_0x3fe3e0(_0x994417)||_0x994417);return _0x994417;},_0x7152e9=(_0x28b128,_0x3eb496)=>(_0xc5dc36,_0xc92bb8)=>_0x3eb496(_0xc5dc36,_0xc92bb8,_0x28b128);let _0x1554de=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x401d69,_0x42a223,_0xe4ac15,_0x41a8a3,_0x240caa){const _0x488f35=_0x479db0;super(),_0x4b5aa6(this,_0x488f35(0x17c),[]),_0x4b5aa6(this,_0x488f35(0x2bb),[]),(this[_0x488f35(0x445)]=_0x401d69,this[_0x488f35(0x27e)]=_0x42a223,this[_0x488f35(0x252)]=_0xe4ac15,this[_0x488f35(0x1ca)]=_0x41a8a3,this[_0x488f35(0x1b1)]=_0x240caa,this[_0x488f35(0x240)]());}[_0x479db0(0x240)](){const _0x576cb2=_0x479db0,_0x1fc9e3=this[_0x576cb2(0x445)][_0x576cb2(0x404)],_0x3fd261=this['_docSkeletonManagerService'];this[_0x576cb2(0x275)](_0xc33fa7[_0x576cb2(0x406)]([this[_0x576cb2(0x252)][_0x576cb2(0x358)](_0x1fc9e3),this['_themeService'][_0x576cb2(0x233)]])[_0x576cb2(0x1da)](_0x1b2b92[_0x576cb2(0x2dc)](([_0x4e950a,_0x133aa2])=>({'skeleton':_0x3fd261[_0x576cb2(0x1fb)](),'cursors':[..._0x4e950a[_0x576cb2(0x1ed)]()]['flatMap'](_0x7e030c=>({..._0x7e030c,'color':this[_0x576cb2(0x1b1)][_0x576cb2(0x343)](_0x7e030c['color'])}))})))[_0x576cb2(0x1b3)](_0x5e52ac=>{const _0x2a09a3=_0x576cb2;if(this[_0x2a09a3(0x41a)](),_0x5e52ac){const {skeleton:_0x1ebbdd,cursors:_0x22f5cc}=_0x5e52ac;this[_0x2a09a3(0x2b1)](_0x1ebbdd,_0x22f5cc);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x479db0(0x2b1)](_0x37e598,_0x9ab903){const _0x39f706=_0x479db0,{scene:_0x11862a,mainComponent:_0xf77521}=this[_0x39f706(0x445)],_0x24c887=_0x9ab903[_0x39f706(0x2dc)](_0x282350=>new _0x592d74(_0x282350,_0x11862a,_0x37e598,_0xf77521));this['_cursorShapes']=_0x24c887,this[_0x39f706(0x2bb)]=_0x9ab903;}[_0x479db0(0x301)](){const _0x1dfa3e=_0x479db0;this[_0x1dfa3e(0x41a)]();const {scene:_0x41fe94,mainComponent:_0x3dbdf3}=this[_0x1dfa3e(0x445)],_0x20fbce=this['_docSkeletonManagerService'][_0x1dfa3e(0x1fb)](),_0x597672=this['_cursors']['map'](_0x48f44e=>new _0x592d74(_0x48f44e,_0x41fe94,_0x20fbce,_0x3dbdf3));this['_cursorShapes']=_0x597672;}['_removeCollabCursors'](){const _0x3cb6ec=_0x479db0;this[_0x3cb6ec(0x17c)][_0x3cb6ec(0x1ac)](_0x14af3d=>_0x14af3d[_0x3cb6ec(0x40d)]()),this[_0x3cb6ec(0x17c)]=[];}[_0x479db0(0x2e2)](){const _0x527662=_0x479db0,_0x59c78f=[_0x4262be[_0x527662(0x399)]['id']];this[_0x527662(0x275)](this[_0x527662(0x1ca)]['onCommandExecuted'](_0x20b449=>{const _0x3878b3=_0x527662;_0x59c78f['includes'](_0x20b449['id'])&&_0x20b449['params']['unitId']===this['_context'][_0x3878b3(0x404)]&&this[_0x3878b3(0x301)]();}));}[_0x479db0(0x362)](){const _0x1fe9d6=_0x479db0;this[_0x1fe9d6(0x275)](_0x3446be[_0x1fe9d6(0x402)](this['_context'][_0x1fe9d6(0x1e0)][_0x1fe9d6(0x30c)])['pipe'](_0x1b2b92['filter'](_0x142afe=>_0x142afe[_0x1fe9d6(0x26f)]===_0x154eb1[_0x1fe9d6(0x17a)]['resize']),_0x1b2b92['throttleTime'](0x10))['subscribe'](()=>{const _0x3847a0=_0x1fe9d6;this[_0x3847a0(0x301)]();}));}};_0x1554de=_0x27db13([_0x7152e9(0x1,_0x3446be[_0x479db0(0x21b)](_0x4cdd99[_0x479db0(0x28f)])),_0x7152e9(0x2,_0x3446be[_0x479db0(0x21b)](_0x302180)),_0x7152e9(0x3,_0x3446be[_0x479db0(0x3ef)]),_0x7152e9(0x4,_0x3446be[_0x479db0(0x21b)](_0x3446be['ThemeService']))],_0x1554de);const _0x1b0dbb=0x1,_0x25800c=1.5;class _0x4f6975 extends _0x154eb1[_0x479db0(0x226)]{constructor(_0x110e02,_0x588013){const _0x9dfab5=_0x479db0;super(_0x110e02,_0x588013),_0x4b5aa6(this,_0x9dfab5(0x3c1)),_0x4b5aa6(this,_0x9dfab5(0x1a2),!0x1),_0x4b5aa6(this,_0x9dfab5(0x1a3)),_0x4b5aa6(this,'_name',''),_0x4b5aa6(this,_0x9dfab5(0x3fe),'top'),_0x4b5aa6(this,_0x9dfab5(0x2b9)),(_0x588013&&this[_0x9dfab5(0x353)](_0x588013),this[_0x9dfab5(0x3b9)][_0x9dfab5(0x1ab)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x9dfab5(0x3e1)][_0x9dfab5(0x1ab)](()=>this[_0x9dfab5(0x353)]({'hovered':!0x1})));}[_0x479db0(0x353)](_0x2bad10){const _0x1e4a77=_0x479db0;var _0x397d9a,_0x3e52e6,_0x636445,_0x59422f,_0x10b500,_0x552fb4;this[_0x1e4a77(0x3c1)]=(_0x397d9a=_0x2bad10[_0x1e4a77(0x43b)])!=null?_0x397d9a:this['_color'],this[_0x1e4a77(0x1a2)]=(_0x3e52e6=_0x2bad10['hovered'])!=null?_0x3e52e6:this['_hovered'],this['_range']=(_0x636445=_0x2bad10['range'])!=null?_0x636445:this[_0x1e4a77(0x1a3)],this[_0x1e4a77(0x2eb)]=(_0x59422f=_0x2bad10['name'])!=null?_0x59422f:this['_name'],this[_0x1e4a77(0x3fe)]=(_0x10b500=_0x2bad10['labelPosition'])!=null?_0x10b500:this[_0x1e4a77(0x3fe)],this[_0x1e4a77(0x2b9)]=(_0x552fb4=_0x2bad10[_0x1e4a77(0x2ce)])!=null?_0x552fb4:this[_0x1e4a77(0x2b9)],this['transformByState']({'width':_0x2bad10[_0x1e4a77(0x1bd)],'height':_0x2bad10[_0x1e4a77(0x336)]});}[_0x479db0(0x3e7)](_0x1784ec){const _0x230405=_0x479db0,{row:_0x54c327,column:_0x468eb5}=_0x1784ec;if(_0x54c327>=this[_0x230405(0x1a3)][_0x230405(0x1e8)]&&_0x54c327<=this['_range'][_0x230405(0x33e)]&&_0x468eb5>=this[_0x230405(0x1a3)][_0x230405(0x371)]&&_0x468eb5<=this[_0x230405(0x1a3)][_0x230405(0x187)]){this[_0x230405(0x353)]({'hovered':!0x0});return;}this[_0x230405(0x353)]({'hovered':!0x1});}[_0x479db0(0x1ad)](_0x114c7f){return!0x1;}[_0x479db0(0x3a7)](_0x107f47){const _0xbceb6e=_0x479db0;_0x154eb1['Rect'][_0xbceb6e(0x410)](_0x107f47,{'width':this[_0xbceb6e(0x1bd)],'height':this[_0xbceb6e(0x336)],'strokeWidth':_0x25800c,'stroke':this[_0xbceb6e(0x3c1)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0xbceb6e(0x1a2)]&&(_0x107f47[_0xbceb6e(0x2ba)](),_0x107f47[_0xbceb6e(0x38e)](0x1,0x0,0x0,0x1,this[_0xbceb6e(0x1bd)],this[_0xbceb6e(0x3fe)]===_0xbceb6e(0x2ee)?0x0:-_0x43962b),_0x41b85c[_0xbceb6e(0x410)](_0x107f47,{'text':this[_0xbceb6e(0x2eb)],'color':this[_0xbceb6e(0x3c1)]}),_0x107f47[_0xbceb6e(0x40f)]());}}var _0x56ccb5=Object[_0x479db0(0x179)],_0x3c61bd=(_0x16f158,_0x5ef9d5,_0x1529f1,_0x3716ae)=>{const _0x2a7aff=_0x479db0;for(var _0x13b7e6=_0x3716ae>0x1?void 0x0:_0x3716ae?_0x56ccb5(_0x5ef9d5,_0x1529f1):_0x5ef9d5,_0x46c213=_0x16f158[_0x2a7aff(0x27b)]-0x1,_0x3ebae3;_0x46c213>=0x0;_0x46c213--)(_0x3ebae3=_0x16f158[_0x46c213])&&(_0x13b7e6=_0x3ebae3(_0x13b7e6)||_0x13b7e6);return _0x13b7e6;},_0x22c47f=(_0x171384,_0x500caa)=>(_0x20f03b,_0x529c31)=>_0x500caa(_0x20f03b,_0x529c31,_0x171384);const _0x1606fa=0x1389;let _0x125789=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x595d93,_0x33e189,_0x56293e,_0x5d9e6f){const _0x47e3b2=_0x479db0;super(),_0x4b5aa6(this,_0x47e3b2(0x2bb),new Set()),_0x4b5aa6(this,_0x47e3b2(0x2d5),null),(this[_0x47e3b2(0x445)]=_0x595d93,this[_0x47e3b2(0x3c0)]=_0x33e189,this[_0x47e3b2(0x252)]=_0x56293e,this['_themeService']=_0x5d9e6f,this[_0x47e3b2(0x240)]());}[_0x479db0(0x240)](){const _0x1d8e73=_0x479db0;this[_0x1d8e73(0x3c0)][_0x1d8e73(0x2be)][_0x1d8e73(0x1da)](_0x1b2b92[_0x1d8e73(0x2f3)](this[_0x1d8e73(0x3af)]),_0x1b2b92[_0x1d8e73(0x413)](_0x32f60b=>{const _0x13a039=_0x1d8e73;if(_0x32f60b){const _0x405dd6=_0x32f60b[_0x13a039(0x3a5)];return _0xc33fa7[_0x13a039(0x406)](this[_0x13a039(0x252)][_0x13a039(0x358)](this[_0x13a039(0x445)][_0x13a039(0x404)]),this[_0x13a039(0x1b1)][_0x13a039(0x233)])[_0x13a039(0x1da)](_0x1b2b92[_0x13a039(0x2dc)](([_0x5cde6b,_0x2a8de7])=>{const _0xe3ba32=_0x13a039,_0x3554d2=new Map();return _0x5cde6b[_0xe3ba32(0x1ac)]((_0x3ef375,_0x1c2fe4)=>{const _0x1f70ba=_0xe3ba32;if(_0x3ef375['sheetID']===_0x405dd6){const _0x12dccd={..._0x3ef375};_0x12dccd[_0x1f70ba(0x43b)]=this['_themeService'][_0x1f70ba(0x343)](_0x3ef375[_0x1f70ba(0x43b)]),_0x3554d2[_0x1f70ba(0x1c9)](_0x1c2fe4,_0x12dccd);}}),{'skeleton':_0x32f60b,'cursors':_0x3554d2};}));}return _0xc33fa7['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d8e73(0x1b3)](({skeleton:_0x153af3,cursors:_0xfc4fea})=>{const _0x584c0f=_0x1d8e73;this['_removeCollabCursors'](),_0x153af3&&this[_0x584c0f(0x2b1)](_0x153af3,_0xfc4fea);}),this['_sheetSkeletonManagerService'][_0x1d8e73(0x2be)][_0x1d8e73(0x1b3)](_0x248871=>{const _0x46b221=_0x1d8e73;if(_0x248871==null)return;const {skeleton:_0x47b8dc}=_0x248871,{scene:_0x29fc77}=this['_context'];_0x29fc77[_0x46b221(0x344)][_0x46b221(0x1ab)](_0x3446be[_0x46b221(0x1bb)](_0x1ddbb6=>{const _0x4c18ef=_0x46b221;var _0x4d33a2,_0x5b42e6;const {offsetX:_0xb20d79,offsetY:_0x17edad}=_0x1ddbb6,{x:_0x2e6973,y:_0x42374b}=_0x29fc77[_0x4c18ef(0x355)](_0x154eb1[_0x4c18ef(0x3a1)][_0x4c18ef(0x30f)]([_0xb20d79,_0x17edad])),{scaleX:_0x42cdd6,scaleY:_0x17aae2}=_0x29fc77[_0x4c18ef(0x17f)](),_0x1da0a9=_0x29fc77['getViewport'](_0x154eb1[_0x4c18ef(0x3e8)]['VIEW_MAIN']),_0x539bb5=_0x29fc77[_0x4c18ef(0x381)](_0x154eb1[_0x4c18ef(0x3a1)][_0x4c18ef(0x30f)]([_0x2e6973,_0x42374b]),_0x1da0a9),_0x31e830=_0x47b8dc[_0x4c18ef(0x3ae)](_0xb20d79,_0x17edad,_0x42cdd6,_0x17aae2,_0x539bb5);((_0x4d33a2=this[_0x4c18ef(0x2d5)])==null?void 0x0:_0x4d33a2[_0x4c18ef(0x17e)])===_0x31e830[_0x4c18ef(0x17e)]&&((_0x5b42e6=this[_0x4c18ef(0x2d5)])==null?void 0x0:_0x5b42e6[_0x4c18ef(0x1c8)])===_0x31e830['row']||this[_0x4c18ef(0x2bb)][_0x4c18ef(0x1ac)](_0x4dcfd2=>{const _0x84999=_0x4c18ef;_0x4dcfd2[_0x84999(0x3e7)](_0x31e830);});},0x64));});}[_0x479db0(0x2b1)](_0x4b47b3,_0x2b9ed5){const _0x25a85f=_0x479db0;var _0x6d0993;const _0x2eb0d3=(_0x6d0993=this['_sheetSkeletonManagerService'][_0x25a85f(0x31a)]())==null?void 0x0:_0x6d0993['skeleton'];if(!_0x2eb0d3)return;const _0x9ad4b8=this['_getSheetObject']();if(!_0x9ad4b8)return;this['_cursors'][_0x25a85f(0x1ac)](_0xbb83d4=>{const _0x2c0397=_0x25a85f;_0xbb83d4[_0x2c0397(0x22e)]();});const {scene:_0x52b735}=_0x9ad4b8,_0x186665=_0x261724(Array[_0x25a85f(0x18b)](_0x2b9ed5[_0x25a85f(0x1ed)]()))[_0x25a85f(0x2dc)](_0x19226e=>{const _0x5bca2f=_0x25a85f,{color:_0x45f0ef,range:_0x237749,name:_0x9fa703,selection:_0x3a0fc1,sheetID:_0xb4ba4a}=_0x19226e,{startColumn:_0x3961a4,startRow:_0x25e2bf,endColumn:_0x399fa1,endRow:_0x33d967}=_0x237749,_0x536cb3=_0x244403['getCoordByCell'](_0x25e2bf,_0x3961a4,_0x52b735,_0x2eb0d3),_0x30828b=_0x244403[_0x5bca2f(0x21f)](_0x33d967,_0x399fa1,_0x52b735,_0x2eb0d3),{columnHeaderHeightAndMarginTop:_0x1c31e1}=_0x2eb0d3,{startX:_0x47fc71,startY:_0x1c0e3e}=_0x536cb3,{endX:_0x18a144,endY:_0x29617b}=_0x30828b,_0x2bcae5=_0x18a144-_0x47fc71,_0x2a4589=_0x29617b-_0x1c0e3e,_0x32ea5d={'labelPosition':_0x1c0e3e-_0x1c31e1>=_0x43962b?_0x5bca2f(0x2f8):_0x5bca2f(0x2ee),'sheetID':_0xb4ba4a,'range':_0x237749,'color':_0x45f0ef,'name':_0x9fa703,'selection':_0x3a0fc1,'left':_0x47fc71,'top':_0x1c0e3e,'width':_0x2bcae5,'height':_0x2a4589,'evented':!0x1,'zIndex':_0x1606fa};return new _0x4f6975(_0x9fa703,_0x32ea5d);});_0x52b735[_0x25a85f(0x309)](_0x186665,_0x1b0dbb),this[_0x25a85f(0x2bb)]=new Set(_0x186665);}[_0x479db0(0x41a)](){const _0x32d229=_0x479db0;var _0x5380d9;(_0x5380d9=this[_0x32d229(0x2bb)])==null||_0x5380d9[_0x32d229(0x1ac)](_0x2303c7=>_0x2303c7['dispose']());}['_getSheetObject'](){const _0x295e90=_0x479db0;return _0x244403[_0x295e90(0x2d1)](this['_context'][_0x295e90(0x241)],this['_context']);}};_0x125789=_0x3c61bd([_0x22c47f(0x1,_0x3446be[_0x479db0(0x21b)](_0x244403[_0x479db0(0x20c)])),_0x22c47f(0x2,_0x3446be['Inject'](_0x302180)),_0x22c47f(0x3,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1f3)]))],_0x125789);function _0x261724(_0x5b3fc1){const _0x75841b=_0x479db0,_0x2c5fdc=new Map();return _0x5b3fc1['forEach'](_0x4142cb=>{const _0x41f935=_0x5580;if(_0x2c5fdc['has'](_0x4142cb[_0x41f935(0x25c)])){const _0x35de4f=_0x2c5fdc[_0x41f935(0x18f)](_0x4142cb[_0x41f935(0x25c)]);_0x35de4f[_0x41f935(0x348)]+=',\x20'+_0x4142cb[_0x41f935(0x348)];}else _0x2c5fdc[_0x41f935(0x1c9)](_0x4142cb[_0x41f935(0x25c)],_0x4142cb);}),Array['from'](_0x2c5fdc[_0x75841b(0x1ed)]());}var _0x35e09f=Object[_0x479db0(0x179)],_0x19a11b=(_0xb6f76b,_0x21e975,_0x364edc,_0x4bcda4)=>{const _0x3dc1d9=_0x479db0;for(var _0x473d5e=_0x4bcda4>0x1?void 0x0:_0x4bcda4?_0x35e09f(_0x21e975,_0x364edc):_0x21e975,_0x2c8dd0=_0xb6f76b[_0x3dc1d9(0x27b)]-0x1,_0x1c321f;_0x2c8dd0>=0x0;_0x2c8dd0--)(_0x1c321f=_0xb6f76b[_0x2c8dd0])&&(_0x473d5e=_0x1c321f(_0x473d5e)||_0x473d5e);return _0x473d5e;},_0x69a635=(_0x5eadaa,_0x15610a)=>(_0x22ffbe,_0x234aef)=>_0x15610a(_0x22ffbe,_0x234aef,_0x5eadaa);let _0x508130=class extends _0x3446be['Disposable']{constructor(_0x3befdf,_0x6bbd3,_0x37dadd,_0x254d96,_0x24d3f1,_0x499aee){const _0x5cba1b=_0x479db0;super(),this[_0x5cba1b(0x1e5)]=_0x3befdf,this[_0x5cba1b(0x411)]=_0x6bbd3,this[_0x5cba1b(0x3d1)]=_0x37dadd,this['_messageService']=_0x254d96,this[_0x5cba1b(0x1fd)]=_0x24d3f1,this[_0x5cba1b(0x19f)]=_0x499aee,this[_0x5cba1b(0x377)](),this[_0x5cba1b(0x3ea)]();}[_0x479db0(0x377)](){const _0x44e94e=_0x479db0;this['disposeWithMe'](this[_0x44e94e(0x1e5)]['registerBeforeClose'](()=>{const _0x857c46=_0x44e94e;if(this[_0x857c46(0x411)][_0x857c46(0x18c)][_0x857c46(0x2c9)])return this[_0x857c46(0x19f)]['t'](_0x857c46(0x380));}));}[_0x479db0(0x3ea)](){const _0x11da87=_0x479db0;this[_0x11da87(0x275)](this['_collaborationUIEventService'][_0x11da87(0x3b2)][_0x11da87(0x1b3)](_0xd50d31=>{const _0x2f89bc=_0x11da87;_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x40a)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x412)],'content':this[_0x2f89bc(0x19f)]['t']('collaboration.single-unit.warning')}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId'][_0x2f89bc(0x24a)]&&this[_0x2f89bc(0x1cc)]['show']({'type':_0x5d7915[_0x2f89bc(0x194)]['Warning'],'content':this[_0x2f89bc(0x19f)]['t']('collaboration.closeRoom')}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x2f89bc(0x1fd)][_0x2f89bc(0x2a8)]({'title':this['_localeService']['t'](_0x2f89bc(0x405)),'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x22b)),'type':'error','duration':0x0}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId']['CONFLICT']&&this[_0x2f89bc(0x1cc)][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x39b)],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x2bd))+'('+_0xd50d31[_0x2f89bc(0x429)]+')'}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x34d)]&&this['_messageService']['show']({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x412)],'content':this['_localeService']['t'](_0xd50d31[_0x2f89bc(0x429)]||'')}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x27f)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)]['Warning'],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x3e9))}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x3d5)]&&this[_0x2f89bc(0x1cc)][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x39b)],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x2a9))}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x1d7)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)]['Error'],'content':this['_localeService']['t'](_0x2f89bc(0x236))});}));}};_0x508130=_0x19a11b([_0x69a635(0x0,_0x1e2f17['IBeforeCloseService']),_0x69a635(0x1,_0x4a9508[_0x479db0(0x3e5)]),_0x69a635(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508['CollaborationUIEventService'])),_0x69a635(0x3,_0x1e2f17['IMessageService']),_0x69a635(0x4,_0x1e2f17[_0x479db0(0x415)]),_0x69a635(0x5,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x508130);const _0x14c0d0=_0x479db0(0x2d6),_0x151b2a={};var _0x20e23e=Object[_0x479db0(0x179)],_0x53ee01=(_0x1c6c20,_0x2ad41a,_0x1ef219,_0x22a487)=>{const _0x3676ff=_0x479db0;for(var _0x186520=_0x22a487>0x1?void 0x0:_0x22a487?_0x20e23e(_0x2ad41a,_0x1ef219):_0x2ad41a,_0x4ac30e=_0x1c6c20[_0x3676ff(0x27b)]-0x1,_0x160164;_0x4ac30e>=0x0;_0x4ac30e--)(_0x160164=_0x1c6c20[_0x4ac30e])&&(_0x186520=_0x160164(_0x186520)||_0x186520);return _0x186520;},_0x458fc2=(_0x4f5704,_0x33763d)=>(_0x1fb212,_0x4d01a8)=>_0x33763d(_0x1fb212,_0x4d01a8,_0x4f5704);let _0xb9b96b=class{constructor(_0x2852d3,_0xc83e1e){const _0x3c82ac=_0x479db0;this['_transformService']=_0x2852d3,this[_0x3c82ac(0x400)]=_0xc83e1e;}[_0x479db0(0x3fb)](_0x24494c){const _0xa0cd8c=_0x479db0;this[_0xa0cd8c(0x3b4)](_0x24494c),this[_0xa0cd8c(0x243)](_0x24494c);}[_0x479db0(0x1d4)](_0x51730f){const _0x4b1284=_0x479db0,{unitID:_0x2fb63c}=_0x51730f,_0x5d7bfa=this[_0x4b1284(0x400)][_0x4b1284(0x2e5)](_0x2fb63c)[_0x4b1284(0x1f0)](_0x4262be[_0x4b1284(0x257)]),{redoCache:_0x4c79d2}=_0x5d7bfa[_0x4b1284(0x196)]();if(_0x4c79d2['length']===0x0)return _0x51730f;let _0xb9d884=_0x3446be[_0x4b1284(0x37d)][_0x4b1284(0x420)](_0x51730f[_0x4b1284(0x302)][0x0]);for(let _0x166e08=0x0;_0x166e08<_0x4c79d2['length'];_0x166e08++){const _0x3294a0={'id':'doc.mutation.rich-text-editing','params':{..._0x4c79d2[_0x166e08]}},_0x2d99b5=this[_0x4b1284(0x3aa)]['transformMutation'](_0xb9d884,_0x3294a0,!0x1);if(_0x5ee43a[_0x4b1284(0x3e3)](_0x2d99b5))throw _0x2d99b5['error'];_0xb9d884=_0x2d99b5[_0x4b1284(0x29a)];}return{..._0x3446be[_0x4b1284(0x37d)][_0x4b1284(0x420)](_0x51730f),'mutations':[_0xb9d884]};}[_0x479db0(0x3b4)](_0x5c94aa){const _0x3b2129=_0x479db0,{unitID:_0x381f35}=_0x5c94aa,_0x90ceb6=this[_0x3b2129(0x400)]['getRenderById'](_0x381f35)[_0x3b2129(0x1f0)](_0x4262be['DocIMEInputManagerService']),{undoCache:_0x10abf1,redoCache:_0x37e05c}=_0x90ceb6[_0x3b2129(0x196)]();if(_0x10abf1[_0x3b2129(0x27b)]===0x0||_0x37e05c[_0x3b2129(0x27b)]===0x0)return;const _0x5b4f2e=[],_0x4963c9=[];let _0x25b2b5=_0x3446be['Tools']['deepClone'](_0x5c94aa[_0x3b2129(0x302)][0x0]),_0x84235e=_0x3446be['Tools'][_0x3b2129(0x420)](_0x5c94aa['mutations'][0x0]);for(let _0x491547=_0x10abf1[_0x3b2129(0x27b)]-0x1;_0x491547>=0x0;_0x491547--){const _0x3afcbe={'id':_0x3b2129(0x28c),'params':{..._0x10abf1[_0x491547]}},_0x34dbb5={'id':_0x3b2129(0x28c),'params':{..._0x37e05c[_0x491547]}},_0x1f5f68=this[_0x3b2129(0x3aa)]['transformMutation'](_0x25b2b5,_0x3afcbe,!0x1),_0x5cd964=this[_0x3b2129(0x3aa)][_0x3b2129(0x342)](_0x84235e,_0x34dbb5,!0x1);if(_0x5ee43a[_0x3b2129(0x3e3)](_0x1f5f68))throw _0x1f5f68[_0x3b2129(0x2cb)];if(_0x5ee43a['isTransformMutationFailure'](_0x5cd964))throw _0x5cd964['error'];_0x5b4f2e['unshift'](_0x1f5f68[_0x3b2129(0x288)]['params']),_0x4963c9[_0x3b2129(0x23f)](_0x5cd964[_0x3b2129(0x288)][_0x3b2129(0x2b2)]),_0x25b2b5=_0x1f5f68[_0x3b2129(0x29a)],_0x84235e=_0x5cd964[_0x3b2129(0x29a)];}_0x90ceb6[_0x3b2129(0x1be)]({'undoCache':_0x5b4f2e,'redoCache':_0x4963c9});}['_transformPreviousActiveRange'](_0x1da3f){const _0x2fdee8=_0x479db0,{unitID:_0x253d34}=_0x1da3f,_0x3adf1a=this[_0x2fdee8(0x400)][_0x2fdee8(0x2e5)](_0x253d34)[_0x2fdee8(0x1f0)](_0x4262be['DocIMEInputManagerService']),_0x26f3d3=_0x3adf1a[_0x2fdee8(0x320)]();if(_0x26f3d3==null)return;const _0x55e3c2=[{'id':_0x2fdee8(0x28c),'params':{'unitId':_0x1da3f[_0x2fdee8(0x180)],'actions':null,'textRanges':[_0x26f3d3]}}],_0x4a0ef6=this['_transformService'][_0x2fdee8(0x416)](_0x1da3f,_0x55e3c2);if(!_0x5ee43a[_0x2fdee8(0x442)](_0x4a0ef6))throw _0x4a0ef6[_0x2fdee8(0x2cb)];const _0x290f1c=_0x4a0ef6[_0x2fdee8(0x288)][0x0][_0x2fdee8(0x2b2)][_0x2fdee8(0x239)];Array['isArray'](_0x290f1c)&&_0x290f1c[_0x2fdee8(0x27b)]&&_0x3adf1a[_0x2fdee8(0x2e8)](_0x290f1c[0x0]);}};_0xb9b96b=_0x53ee01([_0x458fc2(0x0,_0x5ee43a[_0x479db0(0x3b7)]),_0x458fc2(0x1,_0x154eb1[_0x479db0(0x3b8)])],_0xb9b96b);var _0x58a728=Object[_0x479db0(0x179)],_0x256dfc=(_0x81b7c1,_0x610043,_0xaa1645,_0x325b81)=>{for(var _0x26b6db=_0x325b81>0x1?void 0x0:_0x325b81?_0x58a728(_0x610043,_0xaa1645):_0x610043,_0x202bbb=_0x81b7c1['length']-0x1,_0x82b89a;_0x202bbb>=0x0;_0x202bbb--)(_0x82b89a=_0x81b7c1[_0x202bbb])&&(_0x26b6db=_0x82b89a(_0x26b6db)||_0x26b6db);return _0x26b6db;},_0x264e9f=(_0x4ac7d6,_0xc9695f)=>(_0x172db2,_0x1dab91)=>_0xc9695f(_0x172db2,_0x1dab91,_0x4ac7d6);let _0x44d029=class{constructor(_0x3270fa,_0x32e53b,_0x437386){const _0x330af6=_0x479db0;this['_injector']=_0x3270fa,this['_transformService']=_0x32e53b,this[_0x330af6(0x398)]=_0x437386;}[_0x479db0(0x27c)](_0x222f6d){const _0x11bace=_0x479db0;this[_0x11bace(0x193)](_0x222f6d);}[_0x479db0(0x1d4)](_0x5619d5){const _0x51f918=_0x479db0,{unitID:_0x56bc92}=_0x5619d5,{collaboration:_0x4b971b}=this['_docStateChangeManagerService'][_0x51f918(0x23e)](_0x56bc92);if(_0x4b971b['length']===0x0)return _0x5619d5;let _0x101a1c=_0x3446be['Tools'][_0x51f918(0x420)](_0x5619d5[_0x51f918(0x302)][0x0]);for(let _0x5c9f7d=0x0;_0x5c9f7d<_0x4b971b[_0x51f918(0x27b)];_0x5c9f7d++){const _0x29bf0f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b971b[_0x5c9f7d]['unitId'],..._0x4b971b[_0x5c9f7d][_0x51f918(0x300)]}},_0x4bacac=this[_0x51f918(0x3aa)][_0x51f918(0x342)](_0x101a1c,_0x29bf0f,!0x1);if(_0x5ee43a[_0x51f918(0x3e3)](_0x4bacac))throw _0x4bacac[_0x51f918(0x2cb)];_0x101a1c=_0x4bacac[_0x51f918(0x29a)];}return{..._0x3446be[_0x51f918(0x37d)][_0x51f918(0x420)](_0x5619d5),'mutations':[_0x101a1c]};}[_0x479db0(0x193)](_0xf20209){const _0x30c505=_0x479db0,{unitID:_0x7e9a36}=_0xf20209,{history:_0x1c04f2,collaboration:_0x56515b}=this['_docStateChangeManagerService'][_0x30c505(0x23e)](_0x7e9a36);if(_0x1c04f2['length']===0x0&&_0x56515b[_0x30c505(0x27b)]===0x0)return;const _0x4f770a=[],_0xef5e3e=[];let _0x18ca79=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]),_0x5153cc=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]);for(let _0x7b052f=_0x1c04f2[_0x30c505(0x27b)]-0x1;_0x7b052f>=0x0;_0x7b052f--){const _0x53a7ce={'id':_0x30c505(0x28c),'params':{'unitId':_0x1c04f2[_0x7b052f]['unitId'],..._0x1c04f2[_0x7b052f]['undoState']}},_0x121356={'id':_0x30c505(0x28c),'params':{'unitId':_0x1c04f2[_0x7b052f][_0x30c505(0x404)],..._0x1c04f2[_0x7b052f]['redoState']}},_0x290219=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x18ca79,_0x53a7ce,!0x1),_0x28b2d6=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x5153cc,_0x121356,!0x1);if(_0x5ee43a[_0x30c505(0x3e3)](_0x290219))throw _0x290219[_0x30c505(0x2cb)];if(_0x5ee43a[_0x30c505(0x3e3)](_0x28b2d6))throw _0x28b2d6['error'];_0x4f770a['unshift']({..._0x1c04f2[_0x7b052f],'undoState':_0x290219[_0x30c505(0x288)]['params'],'redoState':_0x28b2d6[_0x30c505(0x288)][_0x30c505(0x2b2)]}),_0x18ca79=_0x290219[_0x30c505(0x29a)],_0x5153cc=_0x28b2d6[_0x30c505(0x29a)];}_0x18ca79=_0x3446be['Tools'][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]),_0x5153cc=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209['mutations'][0x0]);for(let _0x2d786b=_0x56515b[_0x30c505(0x27b)]-0x1;_0x2d786b>=0x0;_0x2d786b--){const _0x2c9d33={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x56515b[_0x2d786b][_0x30c505(0x404)],..._0x56515b[_0x2d786b]['undoState']}},_0x5bc682={'id':_0x30c505(0x28c),'params':{'unitId':_0x56515b[_0x2d786b][_0x30c505(0x404)],..._0x56515b[_0x2d786b]['redoState']}},_0x140c5b=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x18ca79,_0x2c9d33,!0x1),_0x4c3583=this[_0x30c505(0x3aa)]['transformMutation'](_0x5153cc,_0x5bc682,!0x1);if(_0x5ee43a[_0x30c505(0x3e3)](_0x140c5b))throw _0x140c5b[_0x30c505(0x2cb)];if(_0x5ee43a[_0x30c505(0x3e3)](_0x4c3583))throw _0x4c3583['error'];_0xef5e3e[_0x30c505(0x23f)]({..._0x56515b[_0x2d786b],'undoState':_0x140c5b[_0x30c505(0x288)][_0x30c505(0x2b2)],'redoState':_0x4c3583[_0x30c505(0x288)][_0x30c505(0x2b2)]}),_0x18ca79=_0x140c5b[_0x30c505(0x29a)],_0x5153cc=_0x4c3583['m1Prime'];}this[_0x30c505(0x398)][_0x30c505(0x17d)](_0x7e9a36,{'history':_0x4f770a,'collaboration':_0xef5e3e});}};_0x44d029=_0x256dfc([_0x264e9f(0x0,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x264e9f(0x1,_0x5ee43a[_0x479db0(0x3b7)]),_0x264e9f(0x2,_0x3446be[_0x479db0(0x21b)](_0x4262be[_0x479db0(0x322)]))],_0x44d029);var _0x1ee618=Object[_0x479db0(0x179)],_0x1287a4=(_0x24ef94,_0x409f2e,_0x247323,_0x410845)=>{for(var _0x3e0a94=_0x410845>0x1?void 0x0:_0x410845?_0x1ee618(_0x409f2e,_0x247323):_0x409f2e,_0x16b43d=_0x24ef94['length']-0x1,_0x469e49;_0x16b43d>=0x0;_0x16b43d--)(_0x469e49=_0x24ef94[_0x16b43d])&&(_0x3e0a94=_0x469e49(_0x3e0a94)||_0x3e0a94);return _0x3e0a94;},_0x113639=(_0x4448e5,_0x2fa8ee)=>(_0x34d7fe,_0x33cbfb)=>_0x2fa8ee(_0x34d7fe,_0x33cbfb,_0x4448e5);let _0x424ebb=class{constructor(_0x293240,_0x296dbf){const _0x380fbc=_0x479db0;this['_injector']=_0x293240,this[_0x380fbc(0x3aa)]=_0x296dbf;}['transformSelections'](_0x4655e4){const _0x2b78dc=_0x479db0;var _0x5e9f76;const _0x3d59f5=this[_0x2b78dc(0x23c)]['get'](_0x4cdd99[_0x2b78dc(0x1f7)]),_0x4e513f=(_0x5e9f76=_0x3d59f5[_0x2b78dc(0x334)]())!=null?_0x5e9f76:[];if(_0x4e513f['length']===0x0)return;const _0x77031=_0x4655e4[_0x2b78dc(0x180)],_0x3350f=[{'id':_0x2b78dc(0x28c),'params':{'unitId':_0x77031,'actions':null,'textRanges':_0x4e513f}}],_0x27ec10=this[_0x2b78dc(0x3aa)][_0x2b78dc(0x416)](_0x4655e4,_0x3350f);if(!_0x5ee43a[_0x2b78dc(0x442)](_0x27ec10))throw _0x27ec10[_0x2b78dc(0x2cb)];const _0x3c670b=_0x27ec10[_0x2b78dc(0x288)][0x0][_0x2b78dc(0x2b2)][_0x2b78dc(0x239)];Array[_0x2b78dc(0x3cf)](_0x3c670b)&&_0x3c670b[_0x2b78dc(0x27b)]&&_0x3d59f5['replaceDocRanges'](_0x3c670b,{'unitId':_0x77031,'subUnitId':_0x77031},!0x1);}};_0x424ebb=_0x1287a4([_0x113639(0x0,_0x3446be['Inject'](_0x3446be[_0x479db0(0x195)])),_0x113639(0x1,_0x5ee43a[_0x479db0(0x3b7)])],_0x424ebb);var _0x1de74a=Object[_0x479db0(0x179)],_0x474f38=(_0x195c0f,_0x2957e0,_0x40113d,_0x1d0ee5)=>{const _0x2e53b8=_0x479db0;for(var _0x320c75=_0x1d0ee5>0x1?void 0x0:_0x1d0ee5?_0x1de74a(_0x2957e0,_0x40113d):_0x2957e0,_0x5ebcd8=_0x195c0f[_0x2e53b8(0x27b)]-0x1,_0x12c352;_0x5ebcd8>=0x0;_0x5ebcd8--)(_0x12c352=_0x195c0f[_0x5ebcd8])&&(_0x320c75=_0x12c352(_0x320c75)||_0x320c75);return _0x320c75;},_0x3e3244=(_0x2e5bd4,_0x40023b)=>(_0x5822a0,_0x52f7c9)=>_0x40023b(_0x5822a0,_0x52f7c9,_0x2e5bd4);let _0x312d64=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x318b27,_0x712bf8,_0x32bd1c,_0x1fe587,_0x49495e,_0x4bca10,_0x136976,_0x2eafdc){const _0xe62f19=_0x479db0;super(),_0x4b5aa6(this,'_status$',new _0xc33fa7['BehaviorSubject'](_0x4a9508[_0xe62f19(0x3c2)][_0xe62f19(0x2e9)])),(this[_0xe62f19(0x398)]=_0x318b27,this[_0xe62f19(0x3ca)]=_0x712bf8,this[_0xe62f19(0x33c)]=_0x32bd1c,this[_0xe62f19(0x2c2)]=_0x1fe587,this['_docTransformSelectionsService']=_0x49495e,this[_0xe62f19(0x2cc)]=_0x4bca10,this[_0xe62f19(0x1cc)]=_0x136976,this[_0xe62f19(0x19f)]=_0x2eafdc,this[_0xe62f19(0x1c4)]());}['_initEntityListener'](){const _0x280981=_0x479db0;this['disposeWithMe'](this[_0x280981(0x3ca)]['entityInit$'][_0x280981(0x1b3)](_0x793bf=>{const _0x24ddb1=_0x280981,_0x179899=this[_0x24ddb1(0x398)][_0x24ddb1(0x32a)][_0x24ddb1(0x1b3)](_0x251330=>{const _0x3a81c3=_0x24ddb1;if(_0x251330==null)return;const {unitId:_0x13e675,redoState:_0x21dee5,commandId:_0x2e0e2f}=_0x251330;if(_0x13e675!==_0x793bf[_0x3a81c3(0x180)])return;const _0x7c82c8={'id':_0x2e0e2f,'type':_0x3446be[_0x3a81c3(0x2db)]['MUTATION'],'params':{'unitId':_0x13e675,'actions':_0x21dee5[_0x3a81c3(0x2e1)],'textRanges':null}};_0x793bf['onLocalMutation'](_0x7c82c8);});if(_0x793bf['disposeWithMe'](_0x179899),_0x793bf instanceof _0x4a9508[_0x24ddb1(0x2a1)]){const _0x399897={'onTransformIME':_0x3e7668=>this[_0x24ddb1(0x33c)][_0x24ddb1(0x3fb)](_0x3e7668),'onTransformState':_0x1d760c=>this['_docTransformStateCacheService'][_0x24ddb1(0x27c)](_0x1d760c),'onTransformSelections':_0x2d955e=>this['_docTransformSelectionsService'][_0x24ddb1(0x2f7)](_0x2d955e),'onSyncEditingCollabCursor':_0x383c71=>this[_0x24ddb1(0x2cc)]['syncEditingCollabCursor'](_0x383c71),'onTransformRemoteChangesetByIMECache':_0x1d087c=>this['_docTransformIMECacheService'][_0x24ddb1(0x1d4)](_0x1d087c),'onTransformRemoteChangesetByStateCache':_0x3ad68c=>this[_0x24ddb1(0x2c2)][_0x24ddb1(0x1d4)](_0x3ad68c)};_0x793bf[_0x24ddb1(0x374)](_0x399897);}}));}};_0x312d64=_0x474f38([_0x3e3244(0x0,_0x3446be[_0x479db0(0x21b)](_0x4262be[_0x479db0(0x322)])),_0x3e3244(0x1,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x198)])),_0x3e3244(0x2,_0x3446be['Inject'](_0xb9b96b)),_0x3e3244(0x3,_0x3446be[_0x479db0(0x21b)](_0x44d029)),_0x3e3244(0x4,_0x3446be[_0x479db0(0x21b)](_0x424ebb)),_0x3e3244(0x5,_0x3446be[_0x479db0(0x21b)](_0x35b0b1)),_0x3e3244(0x6,_0x1e2f17[_0x479db0(0x1d9)]),_0x3e3244(0x7,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x312d64);var _0x24e2bf=(_0x476444=>(_0x476444[_0x476444[_0x479db0(0x19e)]=0x0]=_0x479db0(0x19e),_0x476444[_0x476444['OK']=0x1]='OK',_0x476444[_0x476444['INTERNAL_ERROR']=0x2]=_0x479db0(0x189),_0x476444[_0x476444[_0x479db0(0x1eb)]=0x3]=_0x479db0(0x1eb),_0x476444[_0x476444[_0x479db0(0x42f)]=0x4]=_0x479db0(0x42f),_0x476444[_0x476444[_0x479db0(0x391)]=0x5]=_0x479db0(0x391),_0x476444[_0x476444['ALREADY_EXISTS']=0x6]=_0x479db0(0x223),_0x476444[_0x476444[_0x479db0(0x42c)]=0x7]=_0x479db0(0x42c),_0x476444[_0x476444[_0x479db0(0x216)]=0x8]='TOO_MANY_REQUESTS',_0x476444[_0x476444[_0x479db0(0x1c1)]=0x9]=_0x479db0(0x1c1),_0x476444[_0x476444[_0x479db0(0x3dd)]=0xa]=_0x479db0(0x3dd),_0x476444[_0x476444[_0x479db0(0x1e1)]=0xb]=_0x479db0(0x1e1),_0x476444[_0x476444['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x476444[_0x476444['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x479db0(0x261),_0x476444[_0x476444[_0x479db0(0x1c2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x476444[_0x476444[_0x479db0(0x215)]=0xf]=_0x479db0(0x215),_0x476444[_0x476444['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x479db0(0x1d2),_0x476444[_0x476444['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x476444[_0x476444[_0x479db0(0x281)]=0x65]='ERROR_AGAIN',_0x476444[_0x476444[_0x479db0(0x1b9)]=0xc9]=_0x479db0(0x1b9),_0x476444[_0x476444[_0x479db0(0x35c)]=0xca]=_0x479db0(0x35c),_0x476444[_0x476444[_0x479db0(0x307)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x476444[_0x476444[_0x479db0(0x3f3)]=0x1771]=_0x479db0(0x3f3),_0x476444[_0x476444['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x476444[_0x476444['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x476444[_0x476444[_0x479db0(0x330)]=0x1b59]=_0x479db0(0x330),_0x476444[_0x476444[_0x479db0(0x250)]=0x1b5a]=_0x479db0(0x250),_0x476444[_0x476444[_0x479db0(0x3ee)]=0x1b5b]=_0x479db0(0x3ee),_0x476444[_0x476444[_0x479db0(0x2e7)]=0x1b5c]=_0x479db0(0x2e7),_0x476444[_0x476444['APPLY_DUPLICATED']=0x1b5d]=_0x479db0(0x37b),_0x476444[_0x476444[_0x479db0(0x2d7)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x476444[_0x476444[_0x479db0(0x41e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x476444[_0x476444[_0x479db0(0x26b)]=0x232a]=_0x479db0(0x26b),_0x476444[_0x476444[_0x479db0(0x224)]=0x232b]=_0x479db0(0x224),_0x476444[_0x476444[_0x479db0(0x272)]=0x232c]=_0x479db0(0x272),_0x476444[_0x476444[_0x479db0(0x219)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x476444[_0x476444[_0x479db0(0x3cb)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x476444[_0x476444['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x479db0(0x43a),_0x476444[_0x476444[_0x479db0(0x431)]=0x2713]=_0x479db0(0x431),_0x476444[_0x476444[_0x479db0(0x2c0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x476444[_0x476444[_0x479db0(0x36b)]=0x271a]=_0x479db0(0x36b),_0x476444[_0x476444[_0x479db0(0x39e)]=0x271b]=_0x479db0(0x39e),_0x476444[_0x476444[_0x479db0(0x28b)]=0x271c]=_0x479db0(0x28b),_0x476444[_0x476444['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x479db0(0x3a3),_0x476444[_0x476444[_0x479db0(0x19b)]=0x271e]=_0x479db0(0x19b),_0x476444[_0x476444['YUUMI_AI_RUN_FAILED']=0x271f]=_0x479db0(0x2ea),_0x476444[_0x476444[_0x479db0(0x376)]=0x2720]=_0x479db0(0x376),_0x476444[_0x476444['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x479db0(0x2e6),_0x476444[_0x476444[_0x479db0(0x3c9)]=0x2ee1]=_0x479db0(0x3c9),_0x476444[_0x476444[_0x479db0(0x26c)]=0x2ee2]=_0x479db0(0x26c),_0x476444[_0x476444['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x476444[_0x476444[_0x479db0(0x235)]=0x2ee4]=_0x479db0(0x235),_0x476444[_0x476444['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x479db0(0x32b),_0x476444[_0x476444['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x479db0(0x229),_0x476444[_0x476444[_0x479db0(0x1b7)]=0x32ca]=_0x479db0(0x1b7),_0x476444[_0x476444[_0x479db0(0x1d8)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x476444[_0x476444[_0x479db0(0x422)]=0x36b1]=_0x479db0(0x422),_0x476444[_0x476444[_0x479db0(0x269)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x476444[_0x476444[_0x479db0(0x310)]=0x36b3]=_0x479db0(0x310),_0x476444[_0x476444[_0x479db0(0x1cb)]=0x36b4]=_0x479db0(0x1cb),_0x476444[_0x476444[_0x479db0(0x1b4)]=0x3715]=_0x479db0(0x1b4),_0x476444[_0x476444['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x479db0(0x436),_0x476444[_0x476444[_0x479db0(0x217)]=0x37dd]=_0x479db0(0x217),_0x476444[_0x476444[_0x479db0(0x37c)]=0x3a99]=_0x479db0(0x37c),_0x476444[_0x476444['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x476444[_0x476444[_0x479db0(0x31f)]=0x3a9b]=_0x479db0(0x31f),_0x476444[_0x476444[_0x479db0(0x1d6)]=0x3a9c]=_0x479db0(0x1d6),_0x476444[_0x476444['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x476444[_0x476444[_0x479db0(0x370)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x476444[_0x476444['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x476444[_0x476444[_0x479db0(0x439)]=-0x1]=_0x479db0(0x439),_0x476444))(_0x24e2bf||{});function _0x35e9ce(_0x3eb27c){const _0x2b2f3d=_0x479db0;var _0x1cc82f,_0x1af37f;const _0x5a0a8c=(_0x1cc82f=_0x3eb27c[_0x2b2f3d(0x312)])==null?void 0x0:_0x1cc82f[_0x2b2f3d(0x2d2)],_0xd4c5d2=((_0x1af37f=_0x3eb27c['stageInfo'])==null?void 0x0:_0x1af37f[_0x2b2f3d(0x34b)])||0x0;return _0x5a0a8c===_0x5777d0['FormulaExecuteStageType'][_0x2b2f3d(0x3bf)]&&_0xd4c5d2>0x0;}function _0x267595(_0x306582){const _0xe97e81=_0x479db0;return _0x306582[_0xe97e81(0x28a)]===_0x5777d0['FormulaExecutedStateType'][_0xe97e81(0x23b)];}var _0x50c789=Object[_0x479db0(0x179)],_0x51bb06=(_0x50d62f,_0x214734,_0x211957,_0xdb0650)=>{const _0xf4a72=_0x479db0;for(var _0x2ffd46=_0xdb0650>0x1?void 0x0:_0xdb0650?_0x50c789(_0x214734,_0x211957):_0x214734,_0x617a37=_0x50d62f[_0xf4a72(0x27b)]-0x1,_0x44e68d;_0x617a37>=0x0;_0x617a37--)(_0x44e68d=_0x50d62f[_0x617a37])&&(_0x2ffd46=_0x44e68d(_0x2ffd46)||_0x2ffd46);return _0x2ffd46;},_0x8120ad=(_0x6f73a6,_0x215fef)=>(_0x25a466,_0x381c21)=>_0x215fef(_0x25a466,_0x381c21,_0x6f73a6);const _0x4f1a91=_0x479db0(0x1af),_0x35f3f5=_0x479db0(0x2ad),_0x44ff63=_0x479db0(0x200);let _0x5c7fbc=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x2eb1fa,_0x5003d3,_0x473fd4,_0xbad8fc,_0x4f153c,_0x26a959,_0x117678){const _0x5d95ee=_0x479db0;super(),_0x4b5aa6(this,_0x5d95ee(0x228),null),_0x4b5aa6(this,'_maxFormulaLimit',0x0),_0x4b5aa6(this,'_currentUsage',0x0),_0x4b5aa6(this,_0x5d95ee(0x308),[]),_0x4b5aa6(this,_0x5d95ee(0x2e0),0x0),(this[_0x5d95ee(0x1cc)]=_0x2eb1fa,this[_0x5d95ee(0x1ca)]=_0x5003d3,this[_0x5d95ee(0x365)]=_0x473fd4,this[_0x5d95ee(0x30e)]=_0xbad8fc,this['_univerInstanceService']=_0x4f153c,this[_0x5d95ee(0x177)]=_0x26a959,this[_0x5d95ee(0x19f)]=_0x117678,this[_0x5d95ee(0x317)]());}[_0x479db0(0x317)](){const _0x43cd7f=_0x479db0;this[_0x43cd7f(0x275)](this[_0x43cd7f(0x1ca)]['beforeCommandExecuted']((_0x1e7a0b,_0x3849ec)=>{const _0x31fb41=_0x43cd7f;if(_0x1e7a0b['id']!==_0x5777d0[_0x31fb41(0x383)]['id'])return;const _0x47eb46=_0x1e7a0b[_0x31fb41(0x2b2)];if(!this['_hasFormulaInDirtyRanges'](_0x47eb46[_0x31fb41(0x18a)]))return;if(!this[_0x31fb41(0x40c)]())throw this['_checkAndWaitForCalculationPermission'](_0x1e7a0b,_0x3849ec),this[_0x31fb41(0x2a7)](),new _0x3446be[(_0x31fb41(0x337))]();})),this[_0x43cd7f(0x275)](this[_0x43cd7f(0x1ca)][_0x43cd7f(0x3ec)]((_0x3be9c4,_0x1ea1e3)=>{const _0x33e532=_0x43cd7f;if(_0x3be9c4['id']!==_0x5777d0[_0x33e532(0x3b1)]['id'])return;const _0x32d787=_0x3be9c4[_0x33e532(0x2b2)];if(_0x35e9ce(_0x32d787)){const _0x4ccd64=_0x3446be[_0x33e532(0x407)]();this[_0x33e532(0x308)]['push'](_0x4ccd64),this['_startCalculationLimit'](_0x4ccd64);}else{if(_0x267595(_0x32d787)&&this['_taskIds'][_0x33e532(0x27b)]>0x0){const _0x13ec0e=this[_0x33e532(0x308)][_0x33e532(0x1e7)]();this['_releaseCalculationLimit'](_0x13ec0e);}}}));}[_0x479db0(0x40d)](){const _0x30d24f=_0x479db0;super[_0x30d24f(0x40d)](),this['_clearPolling'](),this[_0x30d24f(0x308)]=[],this[_0x30d24f(0x2da)]=0x0,this[_0x30d24f(0x417)]=0x0,this[_0x30d24f(0x2e0)]=0x0;}async[_0x479db0(0x2af)](_0x47edc4,_0x46cf30){const _0x266ca7=_0x479db0;for(let _0x2a9bb5=0x0;_0x2a9bb5<0x1e;_0x2a9bb5++)try{if(await this[_0x266ca7(0x378)](),this[_0x266ca7(0x40c)]()){this[_0x266ca7(0x2d3)](_0x47edc4,_0x46cf30),this[_0x266ca7(0x1cc)][_0x266ca7(0x2a8)]({'content':this[_0x266ca7(0x19f)]['t']('formula.calculation.started'),'type':_0x5d7915['MessageType'][_0x266ca7(0x1fa)]});return;}await new Promise(_0x4fe553=>{const _0xb43bed=_0x266ca7;this[_0xb43bed(0x228)]=window[_0xb43bed(0x256)](_0x4fe553,0x3e8);});}catch(_0x4a35f4){this[_0x266ca7(0x177)][_0x266ca7(0x2cb)](_0x4a35f4);}this[_0x266ca7(0x1cc)][_0x266ca7(0x2a8)]({'content':this[_0x266ca7(0x19f)]['t'](_0x266ca7(0x311)),'type':_0x5d7915[_0x266ca7(0x194)][_0x266ca7(0x39b)]});}[_0x479db0(0x2d3)](_0x387432,_0x53e3b1){const _0x148426=_0x479db0;try{this[_0x148426(0x1ca)]['executeCommand'](_0x387432['id'],_0x387432[_0x148426(0x2b2)],_0x53e3b1);}catch(_0x4673b6){this['_logService']['error'](_0x4673b6);}}['_setFormulaLimitStatus'](_0x3e2aa1,_0x233d99){const _0x6113f9=_0x479db0;_0x233d99<this[_0x6113f9(0x2e0)]||(this[_0x6113f9(0x2e0)]=_0x233d99,this['_maxFormulaLimit']=Number[_0x6113f9(0x36a)](_0x3e2aa1['maxFormulaLimit']),this['_currentUsage']=Number[_0x6113f9(0x36a)](_0x3e2aa1['currentUsage']));}async['_startCalculationLimit'](_0x5eafb3){const _0x1aa97c=_0x479db0;var _0xd07078,_0xfe265;const _0x585d9c=Date[_0x1aa97c(0x2f4)]();try{const _0x299d5e=((_0xd07078=this[_0x1aa97c(0x365)][_0x1aa97c(0x31b)](_0x4a9508[_0x1aa97c(0x3fc)]))==null?void 0x0:_0xd07078[_0x1aa97c(0x3da)])||_0x35f3f5,_0x4ae172=(await this['_httpService'][_0x1aa97c(0x2b3)](_0x299d5e,{'body':JSON[_0x1aa97c(0x443)]({'taskId':_0x5eafb3})}))[_0x1aa97c(0x291)];if(((_0xfe265=_0x4ae172[_0x1aa97c(0x2cb)])==null?void 0x0:_0xfe265[_0x1aa97c(0x181)])!==_0x24e2bf['OK'])return;this[_0x1aa97c(0x3b6)](_0x4ae172[_0x1aa97c(0x340)],_0x585d9c);}catch(_0x521a15){this[_0x1aa97c(0x177)][_0x1aa97c(0x2cb)](_0x521a15);}}async['_getFormulaLimitStatus'](_0x21b618){const _0x94d62d=_0x479db0;var _0x3fca02,_0x58681f;const _0x1a6f6f=Date[_0x94d62d(0x2f4)]();try{const _0x3e2105=((_0x3fca02=this['_configService'][_0x94d62d(0x31b)](_0x4a9508[_0x94d62d(0x3fc)]))==null?void 0x0:_0x3fca02[_0x94d62d(0x3ce)])||_0x4f1a91,_0x5243c3=_0x21b618?_0x3e2105+_0x94d62d(0x3a4)+encodeURIComponent(_0x21b618):_0x3e2105,_0x36135d=(await this[_0x94d62d(0x30e)][_0x94d62d(0x18f)](_0x5243c3))[_0x94d62d(0x291)];if(((_0x58681f=_0x36135d[_0x94d62d(0x2cb)])==null?void 0x0:_0x58681f[_0x94d62d(0x181)])!==_0x24e2bf['OK'])return;this[_0x94d62d(0x3b6)](_0x36135d[_0x94d62d(0x340)],_0x1a6f6f);}catch(_0x2d6965){this['_logService'][_0x94d62d(0x2cb)](_0x2d6965);}}async[_0x479db0(0x1c5)](_0x3650e6){const _0x3157fd=_0x479db0;var _0x305339,_0x270e7b;const _0x5de5ae=Date[_0x3157fd(0x2f4)]();try{const _0x5b1a1f=((_0x305339=this['_configService']['getConfig'](_0x4a9508[_0x3157fd(0x3fc)]))==null?void 0x0:_0x305339['releaseFormulaLimitUrl'])||_0x44ff63,_0xf4ebb3=(await this[_0x3157fd(0x30e)][_0x3157fd(0x2b3)](_0x5b1a1f,{'body':JSON['stringify']({'taskId':_0x3650e6})}))[_0x3157fd(0x291)];if(((_0x270e7b=_0xf4ebb3['error'])==null?void 0x0:_0x270e7b[_0x3157fd(0x181)])!==_0x24e2bf['OK'])return;this[_0x3157fd(0x3b6)](_0xf4ebb3[_0x3157fd(0x340)],_0x5de5ae);}catch(_0x34b182){this[_0x3157fd(0x177)][_0x3157fd(0x2cb)](_0x34b182);}}['_checkCalculationAvailable'](){const _0x14345a=_0x479db0;return this[_0x14345a(0x417)]===0x0?!0x0:this[_0x14345a(0x417)]-this[_0x14345a(0x2da)]>0x0;}[_0x479db0(0x22c)](){const _0x59f450=_0x479db0;this[_0x59f450(0x228)]&&(clearTimeout(this[_0x59f450(0x228)]),this[_0x59f450(0x228)]=null);}[_0x479db0(0x2a7)](){const _0x4b601b=_0x479db0;this['_messageService'][_0x4b601b(0x2a8)]({'content':this[_0x4b601b(0x19f)]['t'](_0x4b601b(0x211)),'type':_0x5d7915[_0x4b601b(0x194)][_0x4b601b(0x2c3)]});}[_0x479db0(0x271)](_0xfe07cf){const _0x225cff=_0x479db0;for(const _0x21a572 of _0xfe07cf){const {unitId:_0x3a9f50,sheetId:_0x10679a,range:_0x26321a}=_0x21a572,_0x1b7cce=this[_0x225cff(0x221)]['getUnit'](_0x3a9f50);if(!_0x1b7cce)continue;const _0x2c6aa3=_0x1b7cce[_0x225cff(0x394)](_0x10679a);if(!_0x2c6aa3)continue;const _0x5b7399=_0x2c6aa3[_0x225cff(0x3ff)]();for(let _0xea2582=_0x26321a['startRow'];_0xea2582<=_0x26321a[_0x225cff(0x33e)];_0xea2582++)for(let _0x43ac34=_0x26321a[_0x225cff(0x371)];_0x43ac34<=_0x26321a[_0x225cff(0x187)];_0x43ac34++){const _0x1a76aa=_0x5b7399['getValue'](_0xea2582,_0x43ac34);if(_0x1a76aa&&(_0x3446be[_0x225cff(0x3ba)](_0x1a76aa['f'])||_0x3446be['isFormulaId'](_0x1a76aa['si'])))return!0x0;}}return!0x1;}};_0x5c7fbc=_0x51bb06([_0x8120ad(0x0,_0x3446be['Inject'](_0x1e2f17[_0x479db0(0x1d9)])),_0x8120ad(0x1,_0x3446be['ICommandService']),_0x8120ad(0x2,_0x3446be[_0x479db0(0x2ae)]),_0x8120ad(0x3,_0x3446be[_0x479db0(0x21b)](_0x37d0f4[_0x479db0(0x1fe)])),_0x8120ad(0x4,_0x3446be[_0x479db0(0x2b5)]),_0x8120ad(0x5,_0x3446be['ILogService']),_0x8120ad(0x6,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x5c7fbc);var _0x2e50a9=Object['getOwnPropertyDescriptor'],_0xef2c86=(_0x5134dc,_0x5009ea,_0x169b7d,_0x72f4c1)=>{const _0x5889cd=_0x479db0;for(var _0x3f78ae=_0x72f4c1>0x1?void 0x0:_0x72f4c1?_0x2e50a9(_0x5009ea,_0x169b7d):_0x5009ea,_0x3ed929=_0x5134dc[_0x5889cd(0x27b)]-0x1,_0x30929d;_0x3ed929>=0x0;_0x3ed929--)(_0x30929d=_0x5134dc[_0x3ed929])&&(_0x3f78ae=_0x30929d(_0x3f78ae)||_0x3f78ae);return _0x3f78ae;},_0x9b21eb=(_0x355dc5,_0x127262)=>(_0x40b9a3,_0xbefc3d)=>_0x127262(_0x40b9a3,_0xbefc3d,_0x355dc5);let _0x3343e5=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x1266ef,_0x273909,_0x196c8b){const _0x34c379=_0x479db0;super(),_0x4b5aa6(this,_0x34c379(0x419),new Map()),_0x4b5aa6(this,_0x34c379(0x203),new Map()),_0x4b5aa6(this,_0x34c379(0x212),!0x1),(this[_0x34c379(0x365)]=_0x1266ef,this['_localStorageService']=_0x273909,this[_0x34c379(0x3f0)]=_0x196c8b);}[_0x479db0(0x2a2)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x479db0(0x40d)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x479db0(0x259)](_0x12818d){const _0x1876ab=_0x479db0;return this[_0x1876ab(0x212)]?null:this[_0x1876ab(0x3d7)][_0x1876ab(0x3b5)](_0x4a9508['getLocalCacheKey'](_0x12818d));}async[_0x479db0(0x435)](_0x5763e6,_0x54e6e5){const _0x3b18f3=_0x479db0;return!!this[_0x3b18f3(0x3d7)][_0x3b18f3(0x262)](_0x5763e6,_0x54e6e5);}[_0x479db0(0x3d4)](_0x2f4027,_0x126df3,_0x525a6a,_0x83028c){const _0x2761a3=_0x479db0,_0x45c5cf=this[_0x2761a3(0x3f0)]['getCurrentRevOfUnit'](_0x2f4027);this[_0x2761a3(0x419)][_0x2761a3(0x1c9)](_0x2f4027,{'unitID':_0x2f4027,'type':_0x126df3,'awaitingChangeset':_0x525a6a,'mutations':_0x83028c,'rev':_0x45c5cf}),this[_0x2761a3(0x203)]['has'](_0x2f4027)||this[_0x2761a3(0x339)](_0x2f4027);}[_0x479db0(0x339)](_0x5b1e17){const _0xc98ac=_0x479db0,_0x566aa6=this[_0xc98ac(0x351)]();_0x566aa6===0x0?this[_0xc98ac(0x393)](_0x5b1e17):this[_0xc98ac(0x203)][_0xc98ac(0x1c9)](_0x5b1e17,setTimeout(()=>this[_0xc98ac(0x393)](_0x5b1e17),_0x566aa6));}[_0x479db0(0x351)](){const _0x166ca4=_0x479db0;var _0x570a1e;return(_0x570a1e=this['_configService'][_0x166ca4(0x31b)](_0x4a9508[_0x166ca4(0x401)]))!=null?_0x570a1e:_0x4a9508[_0x166ca4(0x40b)];}[_0x479db0(0x393)](_0x508fa1){const _0x5ce4bd=_0x479db0,_0x3a126a=this[_0x5ce4bd(0x203)]['get'](_0x508fa1);return _0x3a126a!==void 0x0&&window[_0x5ce4bd(0x437)](_0x3a126a),this['_localStorageService'][_0x5ce4bd(0x262)](_0x4a9508[_0x5ce4bd(0x1b6)](_0x508fa1),this[_0x5ce4bd(0x419)]['get'](_0x508fa1))[_0x5ce4bd(0x305)](()=>this[_0x5ce4bd(0x203)][_0x5ce4bd(0x368)](_0x508fa1));}async[_0x479db0(0x267)](){const _0x25cad3=_0x479db0,_0x28ff73=[];this[_0x25cad3(0x203)][_0x25cad3(0x1ac)]((_0x21c8e5,_0x254327)=>{const _0x1a12ac=_0x25cad3;window[_0x1a12ac(0x437)](_0x21c8e5),_0x28ff73[_0x1a12ac(0x214)](this[_0x1a12ac(0x393)](_0x254327)[_0x1a12ac(0x305)](()=>{const _0x569d19=_0x1a12ac;this[_0x569d19(0x203)]['delete'](_0x254327);}));}),await Promise[_0x25cad3(0x178)](_0x28ff73);}};_0x3343e5=_0xef2c86([_0x9b21eb(0x0,_0x3446be[_0x479db0(0x2ae)]),_0x9b21eb(0x1,_0x3446be[_0x479db0(0x248)]),_0x9b21eb(0x2,_0x3446be['Inject'](_0x5ee43a[_0x479db0(0x20b)]))],_0x3343e5);class _0x577537 extends _0x3446be['RxDisposable']{constructor(){const _0x134fb9=_0x479db0;super(),_0x4b5aa6(this,'urlChange$'),this[_0x134fb9(0x22a)]=_0xc33fa7[_0x134fb9(0x246)](window,_0x134fb9(0x369))[_0x134fb9(0x1da)](_0xc33fa7[_0x134fb9(0x2f3)](this['dispose$']),_0xc33fa7['shareReplay'](0x1),_0xc33fa7[_0x134fb9(0x33b)](void 0x0));}['setParam'](_0x4be417,_0x5e1d46,_0x3c123f=!0x1){const _0x131ca2=_0x479db0,_0x18ccee=new URL(window['location'][_0x131ca2(0x42a)]);_0x18ccee[_0x131ca2(0x2fd)][_0x131ca2(0x1c9)](_0x4be417,_0x5e1d46),_0x3c123f?window[_0x131ca2(0x32f)][_0x131ca2(0x34e)]('','',_0x18ccee[_0x131ca2(0x42e)]()):window[_0x131ca2(0x32f)]['pushState']('','',_0x18ccee[_0x131ca2(0x42e)]());}[_0x479db0(0x24d)](_0x2e34d1,_0x6b8df2=!0x1){const _0x28a771=_0x479db0,_0x5a615c=new URL(window['location'][_0x28a771(0x42a)]);_0x5a615c[_0x28a771(0x2fd)]['delete'](_0x2e34d1),_0x6b8df2?window['history'][_0x28a771(0x34e)]('','',_0x5a615c[_0x28a771(0x42e)]()):window[_0x28a771(0x32f)][_0x28a771(0x283)]('','',_0x5a615c[_0x28a771(0x42e)]());}[_0x479db0(0x18d)](_0x558f33){const _0x12d9d4=_0x479db0;var _0x513dc4;return(_0x513dc4=new URL(window[_0x12d9d4(0x2aa)][_0x12d9d4(0x42a)])['searchParams'][_0x12d9d4(0x18f)](_0x558f33))!=null?_0x513dc4:void 0x0;}}var _0x14ec35=Object[_0x479db0(0x204)],_0x52692b=Object[_0x479db0(0x179)],_0x45cb5b=(_0x44e698,_0x579a91,_0x4b73f1)=>_0x579a91 in _0x44e698?_0x14ec35(_0x44e698,_0x579a91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b73f1}):_0x44e698[_0x579a91]=_0x4b73f1,_0x54e05d=(_0x12f203,_0x40b321,_0x55dc41,_0x4509b7)=>{for(var _0x405019=_0x4509b7>0x1?void 0x0:_0x4509b7?_0x52692b(_0x40b321,_0x55dc41):_0x40b321,_0x587a90=_0x12f203['length']-0x1,_0x2d13bf;_0x587a90>=0x0;_0x587a90--)(_0x2d13bf=_0x12f203[_0x587a90])&&(_0x405019=_0x2d13bf(_0x405019)||_0x405019);return _0x405019;},_0x22d13e=(_0x45087a,_0x3e8a89)=>(_0x34780e,_0x2c0f48)=>_0x3e8a89(_0x34780e,_0x2c0f48,_0x45087a),_0x3a104f=(_0x4fd6ef,_0xd5c7d0,_0x189d9f)=>_0x45cb5b(_0x4fd6ef,_0xd5c7d0+'',_0x189d9f);const _0x3df01a=_0x479db0(0x1aa);_0xc9a868[_0x479db0(0x366)]=class extends _0x3446be[_0x479db0(0x35f)]{constructor(_0x567098=_0x151b2a,_0x53a7dd,_0x4e89ef,_0x2f146b){const _0x1d4833=_0x479db0;super(),this[_0x1d4833(0x2fc)]=_0x567098,this[_0x1d4833(0x400)]=_0x53a7dd,this[_0x1d4833(0x23c)]=_0x4e89ef,this[_0x1d4833(0x365)]=_0x2f146b;const {..._0x505646}=_0x3446be['merge']({},_0x151b2a,this[_0x1d4833(0x2fc)]);this[_0x1d4833(0x365)]['setConfig'](_0x14c0d0,_0x505646);}[_0x479db0(0x1f2)](){const _0x42a799=_0x479db0;this[_0x42a799(0x38d)](),this[_0x42a799(0x3ab)]();}[_0x479db0(0x251)](){const _0x1adce5=_0x479db0;this[_0x1adce5(0x39f)]();}[_0x479db0(0x38d)](){const _0x15e885=_0x479db0;var _0x3647af;const _0x505955=[[_0x324f05],[_0x5c7fbc],[_0x424ebb],[_0xb9b96b],[_0x44d029],[_0x35b0b1],[_0x413167,{'useClass':_0x577537}],[_0x37d0f4[_0x15e885(0x347)],{'useClass':_0x37d0f4[_0x15e885(0x331)]}],[_0x4a9508[_0x15e885(0x3e5)],{'useClass':_0x3343e5}],[_0xc9a868[_0x15e885(0x218)]],[_0x312d64],[_0x508130],[_0x302180],[_0x1e3e26],[_0xc9a868[_0x15e885(0x2e4)]]];_0x3446be['registerDependencies'](this['_injector'],_0x3446be[_0x15e885(0x192)](_0x505955,(_0x3647af=this[_0x15e885(0x2fc)])==null?void 0x0:_0x3647af[_0x15e885(0x1de)]));}[_0x479db0(0x39f)](){const _0x161172=_0x479db0;this[_0x161172(0x275)](this[_0x161172(0x400)][_0x161172(0x1bc)](_0x3446be[_0x161172(0x20a)][_0x161172(0x24c)],[_0x1554de])),this[_0x161172(0x275)](this[_0x161172(0x400)][_0x161172(0x1bc)](_0x3446be[_0x161172(0x20a)][_0x161172(0x3a8)],[_0x125789]));}[_0x479db0(0x3ab)](){const _0x86ce41=_0x479db0;_0x3446be['touchDependencies'](this[_0x86ce41(0x23c)],[[_0x302180],[_0xc9a868['DesktopCollaborationStatusDisplayController']],[_0x312d64],[_0x508130],[_0xc9a868[_0x86ce41(0x2e4)]],[_0x5c7fbc]]);}},_0x3a104f(_0xc9a868[_0x479db0(0x366)],_0x479db0(0x244),_0x3df01a),_0xc9a868[_0x479db0(0x366)]=_0x54e05d([_0x3446be[_0x479db0(0x379)](_0x4a9508[_0x479db0(0x430)]),_0x22d13e(0x1,_0x154eb1[_0x479db0(0x3b8)]),_0x22d13e(0x2,_0x3446be['Inject'](_0x3446be[_0x479db0(0x195)])),_0x22d13e(0x3,_0x3446be[_0x479db0(0x2ae)])],_0xc9a868[_0x479db0(0x366)]);var _0x268e76=Object['getOwnPropertyDescriptor'],_0x2881c4=(_0x90a8c7,_0x568380,_0x30fda0,_0x2d13a2)=>{const _0x44bce6=_0x479db0;for(var _0x3ff60f=_0x2d13a2>0x1?void 0x0:_0x2d13a2?_0x268e76(_0x568380,_0x30fda0):_0x568380,_0xe0cd83=_0x90a8c7[_0x44bce6(0x27b)]-0x1,_0x1daaaf;_0xe0cd83>=0x0;_0xe0cd83--)(_0x1daaaf=_0x90a8c7[_0xe0cd83])&&(_0x3ff60f=_0x1daaaf(_0x3ff60f)||_0x3ff60f);return _0x3ff60f;},_0x5dfcb4=(_0x2903f7,_0x5093fe)=>(_0x3f057f,_0x5c5cb1)=>_0x5093fe(_0x3f057f,_0x5c5cb1,_0x2903f7);_0xc9a868['BrowserCollaborationSocketService']=class extends _0x4a9508[_0x479db0(0x325)]{constructor(_0x28fa51,_0x21791d,_0x6a42b4,_0x325a38,_0x263064){super(_0x28fa51,_0x21791d,_0x6a42b4,_0x325a38,_0x263064);}async[_0x479db0(0x367)](_0x2ac47a){const _0x29c314=_0x479db0,_0xfa0c99=await this[_0x29c314(0x1a8)](),_0x51db11=this['_createSocketURL'](_0x2ac47a,_0xfa0c99);return this[_0x29c314(0x1ae)](_0x51db11);}['_createSocketURL'](_0xfa4791,_0x38f31f){const _0x2b4422=_0x479db0,_0x33c941=typeof window>'u'?new URL(_0xfa4791):new URL(_0xfa4791,window[_0x2b4422(0x2aa)][_0x2b4422(0x182)]);_0x33c941[_0x2b4422(0x2fd)][_0x2b4422(0x1c9)]('sessionTicket',_0x38f31f);const _0x4af71e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4af71e['get'](_0x2b4422(0x225))&&_0x33c941['searchParams'][_0x2b4422(0x1c9)]('runId',_0x4af71e[_0x2b4422(0x18f)](_0x2b4422(0x225))),_0x33c941[_0x2b4422(0x42e)]();}async[_0x479db0(0x1a8)](){const _0x16aa6a=_0x479db0;var _0x341fac,_0xdf36bc,_0x506348;const _0x348831=this[_0x16aa6a(0x365)][_0x16aa6a(0x31b)](_0x4a9508[_0x16aa6a(0x3fc)]),_0x1d3c70=(_0x341fac=_0x348831==null?void 0x0:_0x348831[_0x16aa6a(0x1d0)])!=null?_0x341fac:_0x4a9508[_0x16aa6a(0x372)];return(_0x506348=(_0xdf36bc=(await this[_0x16aa6a(0x30e)][_0x16aa6a(0x18f)](_0x1d3c70,{'headers':{'Content-Type':_0x16aa6a(0x293)}}))['body'])==null?void 0x0:_0xdf36bc[_0x16aa6a(0x202)])!=null?_0x506348:'';}},_0xc9a868[_0x479db0(0x2de)]=_0x2881c4([_0x5dfcb4(0x0,_0x3446be[_0x479db0(0x21b)](_0x3446be['Injector'])),_0x5dfcb4(0x1,_0x3446be[_0x479db0(0x21b)](_0x37d0f4['HTTPService'])),_0x5dfcb4(0x2,_0x3446be['IConfigService']),_0x5dfcb4(0x3,_0x3446be[_0x479db0(0x438)]),_0x5dfcb4(0x4,_0x5ee43a['ISnapshotServerService'])],_0xc9a868[_0x479db0(0x2de)]);var _0x7576ce=Object[_0x479db0(0x179)],_0x5de94c=(_0x161509,_0x241c40,_0x15a84b,_0x1633bc)=>{const _0x22216c=_0x479db0;for(var _0x47fd49=_0x1633bc>0x1?void 0x0:_0x1633bc?_0x7576ce(_0x241c40,_0x15a84b):_0x241c40,_0x2c0e83=_0x161509[_0x22216c(0x27b)]-0x1,_0x2d9994;_0x2c0e83>=0x0;_0x2c0e83--)(_0x2d9994=_0x161509[_0x2c0e83])&&(_0x47fd49=_0x2d9994(_0x47fd49)||_0x47fd49);return _0x47fd49;},_0x11082c=(_0x3df7f0,_0x5e2509)=>(_0x4d838c,_0x32ae6c)=>_0x5e2509(_0x4d838c,_0x32ae6c,_0x3df7f0);_0xc9a868[_0x479db0(0x359)]=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x3ea737,_0x3e1fa0,_0x142eae){const _0x2374f8=_0x479db0;super(),this[_0x2374f8(0x3f4)]=_0x3ea737,this['_httpService']=_0x3e1fa0,this[_0x2374f8(0x365)]=_0x142eae;}async[_0x479db0(0x2b8)](_0x1ed206,_0x5c94cd,_0x32b3cf,..._0x4ad342){const _0x464258=_0x479db0;var _0x3242bb,_0x2e0be0,_0x4e77cb,_0x5608da;const _0x2c3b1d=this[_0x464258(0x3f4)]['getFocusedUnit']();if(!_0x2c3b1d)throw new Error(_0x464258(0x403));const _0x4d4ef9=((_0x3242bb=this[_0x464258(0x365)][_0x464258(0x31b)](_0x4a9508['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3242bb:_0x4a9508[_0x464258(0x297)])+'/'+_0x1ed206+_0x464258(0x389)+_0x5c94cd,_0x56163f=new URL(window[_0x464258(0x2aa)][_0x464258(0x42a)]),_0x58fe0a={'scriptId':_0x1ed206,'runId':(_0x2e0be0=_0x56163f[_0x464258(0x2fd)]['get'](_0x464258(0x225)))!=null?_0x2e0be0:'','function':_0x5c94cd,'unitId':_0x2c3b1d[_0x464258(0x346)](),'argsOfFunction':JSON[_0x464258(0x443)](_0x4ad342),'invokeId':(_0x4e77cb=_0x32b3cf[_0x464258(0x284)])!=null?_0x4e77cb:'','executionId':(_0x5608da=_0x32b3cf[_0x464258(0x35e)])!=null?_0x5608da:''};try{const _0x294282=await this['_httpService'][_0x464258(0x2b3)](_0x4d4ef9,{'body':_0x58fe0a});return _0x294282[_0x464258(0x291)]['error']&&_0x294282[_0x464258(0x291)][_0x464258(0x2cb)][_0x464258(0x181)]!==_0x24e2bf['OK']?_0x464258(0x29b):_0x294282[_0x464258(0x291)][_0x464258(0x388)];}catch{return _0x464258(0x29b);}}},_0xc9a868[_0x479db0(0x359)]=_0x5de94c([_0x11082c(0x0,_0x3446be['IUniverInstanceService']),_0x11082c(0x1,_0x3446be[_0x479db0(0x21b)](_0x37d0f4[_0x479db0(0x1fe)])),_0x11082c(0x2,_0x3446be['IConfigService'])],_0xc9a868[_0x479db0(0x359)]);const _0x3fcc93=0x7530,_0x11d3d5='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1123e8 extends _0x3446be[_0x479db0(0x1fc)]{constructor(){const _0x481d56=_0x479db0;super(),_0x4b5aa6(this,_0x481d56(0x306),_0x3446be[_0x481d56(0x407)]()),_0x4b5aa6(this,'_selfUnitIDs',new Set()),_0x4b5aa6(this,'_unitOnClients',new Map()),_0x4b5aa6(this,'_heartbeatTimer',null),_0x4b5aa6(this,_0x481d56(0x25a),new Map()),_0x4b5aa6(this,_0x481d56(0x341),new Map()),this[_0x481d56(0x240)]();}[_0x479db0(0x40d)](){const _0x51dc4e=_0x479db0;super[_0x51dc4e(0x40d)](),this[_0x51dc4e(0x25a)]['forEach']((_0xf7f1,_0x4ee7c8)=>this[_0x51dc4e(0x176)](_0x4ee7c8)),this[_0x51dc4e(0x363)]&&window[_0x51dc4e(0x2ef)](this['_heartbeatTimer']);}[_0x479db0(0x19a)](_0x3f6ed4){const _0x2b5f0c=_0x479db0;return this[_0x2b5f0c(0x1ea)](_0x3f6ed4)[_0x2b5f0c(0x1da)](_0xc33fa7[_0x2b5f0c(0x32c)]());}[_0x479db0(0x1d3)](_0x29408b){const _0x244028=_0x479db0;this[_0x244028(0x263)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x244028(0x263)][_0x244028(0x335)](_0x29408b),this[_0x244028(0x28e)]({'type':0x0,'memberID':this[_0x244028(0x306)],'unitIDs':[_0x29408b],'isForwarded':!0x1});}[_0x479db0(0x188)](_0x3a8298){const _0xe8d3f3=_0x479db0;this[_0xe8d3f3(0x263)][_0xe8d3f3(0x368)](_0x3a8298),this[_0xe8d3f3(0x263)][_0xe8d3f3(0x2c9)]===0x0&&this[_0xe8d3f3(0x363)]&&window[_0xe8d3f3(0x2ef)](this[_0xe8d3f3(0x363)]);}[_0x479db0(0x240)](){const _0x341ffb=_0x479db0;this[_0x341ffb(0x275)](_0x3446be[_0x341ffb(0x384)](_0xc33fa7['fromEvent'](window,_0x341ffb(0x338))[_0x341ffb(0x1b3)](_0x598407=>{const _0x543598=_0x341ffb;if(_0x598407[_0x543598(0x1e6)]!==_0x11d3d5||!_0x598407['newValue'])return;const _0x210134=JSON[_0x543598(0x42b)](_0x598407[_0x543598(0x26d)]);this['_handleEvent'](_0x210134);}))),window[_0x341ffb(0x33d)](_0x341ffb(0x2ca),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x341ffb(0x18b)](this[_0x341ffb(0x263)])}));}[_0x479db0(0x29f)](_0x1104d4){const _0x4e0deb=_0x479db0;switch(_0x1104d4[_0x4e0deb(0x26f)]){case 0x0:this['_handleJoinEvent'](_0x1104d4);break;case 0x1:this[_0x4e0deb(0x22d)](_0x1104d4);break;case 0x2:this[_0x4e0deb(0x1f4)](_0x1104d4);break;}}[_0x479db0(0x3a2)](_0x30c0d1){const _0x9342a3=_0x479db0,{unitIDs:_0x55c1bf,memberID:_0x590166,isForwarded:_0x12fdb9}=_0x30c0d1;_0x55c1bf[_0x9342a3(0x1ac)](_0x35cc70=>{const _0x4e93e4=_0x9342a3;if(!_0x12fdb9&&this[_0x4e93e4(0x2a5)][_0x4e93e4(0x408)](_0x35cc70)&&this[_0x4e93e4(0x1ea)](_0x35cc70)['next'](_0x4a9508['UnitStatus'][_0x4e93e4(0x1a6)]),!this[_0x4e93e4(0x2a5)][_0x4e93e4(0x408)](_0x35cc70)||!this[_0x4e93e4(0x2a5)][_0x4e93e4(0x18f)](_0x35cc70)[_0x4e93e4(0x408)](_0x590166)){const _0x1d3df5=this['_unitOnClients'][_0x4e93e4(0x18f)](_0x35cc70)||new Set();_0x1d3df5[_0x4e93e4(0x335)](_0x590166),this[_0x4e93e4(0x2a5)][_0x4e93e4(0x1c9)](_0x35cc70,_0x1d3df5),this[_0x4e93e4(0x2c7)](_0x590166);}}),_0x12fdb9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x479db0(0x2c7)](_0x3b8c22){const _0x1ed5a9=_0x479db0;this[_0x1ed5a9(0x176)](_0x3b8c22);const _0x9f20a4=window['setTimeout'](()=>{const _0x2abcaf=_0x1ed5a9;this[_0x2abcaf(0x2a5)]['forEach'](_0x5a2e3e=>{const _0x29c43d=_0x2abcaf;_0x5a2e3e[_0x29c43d(0x368)](_0x3b8c22);});},_0x3fcc93*0x2);this['_clearOtherTimers'][_0x1ed5a9(0x1c9)](_0x3b8c22,_0x9f20a4);}[_0x479db0(0x176)](_0x186d81){const _0x706b3d=_0x479db0;if(this[_0x706b3d(0x25a)][_0x706b3d(0x408)](_0x186d81)){const _0x89002=this[_0x706b3d(0x25a)][_0x706b3d(0x18f)](_0x186d81);_0x89002&&window[_0x706b3d(0x437)](_0x89002),this[_0x706b3d(0x25a)][_0x706b3d(0x1c9)](_0x186d81,null);}}[_0x479db0(0x22d)](_0xfb30d2){const _0x24005c=_0x479db0,{memberID:_0x3d2807,unitIDs:_0x591049}=_0xfb30d2;_0x591049[_0x24005c(0x1ac)](_0x416802=>{const _0x362251=_0x24005c;var _0x379845;const _0x1354d5=this[_0x362251(0x2a5)]['get'](_0x416802);_0x1354d5&&(_0x1354d5[_0x362251(0x368)](_0x3d2807),(_0x379845=this['_ensureSubject'](_0x416802))==null||_0x379845[_0x362251(0x1d1)](_0x1354d5[_0x362251(0x2c9)]===0x0?_0x4a9508[_0x362251(0x1f9)][_0x362251(0x36c)]:_0x4a9508['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x3d2807);}[_0x479db0(0x1f4)](_0xcba40c){const _0x4b868a=_0x479db0;this[_0x4b868a(0x2c7)](_0xcba40c['memberID']);}[_0x479db0(0x28e)](_0x155055){const _0x455859=_0x479db0;localStorage[_0x455859(0x262)](_0x11d3d5,JSON[_0x455859(0x443)](_0x155055));}[_0x479db0(0x2a0)](){const _0x4fa209=_0x479db0;this['_heartbeatTimer']=window[_0x4fa209(0x3df)](()=>{const _0x2452d7=_0x4fa209;this[_0x2452d7(0x28e)]({'type':0x2,'memberID':this[_0x2452d7(0x306)]});},_0x3fcc93);}[_0x479db0(0x1ea)](_0x44c1a4){const _0x47ca34=_0x479db0;return this[_0x47ca34(0x341)]['has'](_0x44c1a4)||this[_0x47ca34(0x341)][_0x47ca34(0x1c9)](_0x44c1a4,new _0xc33fa7[(_0x47ca34(0x41f))](_0x4a9508[_0x47ca34(0x1f9)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x47ca34(0x18f)](_0x44c1a4);}}_0xc9a868[_0x479db0(0x285)]=_0x413167,_0xc9a868['SheetCollabCursorShape']=_0x4f6975,_0xc9a868[_0x479db0(0x232)]=_0x1123e8,_0xc9a868[_0x479db0(0x323)]=_0x577537,Object[_0x479db0(0x204)](_0xc9a868,Symbol[_0x479db0(0x434)],{'value':_0x479db0(0x441)});}));function _0x5580(_0x3f65a7,_0x55005c){const _0x3c7de7=_0x3c7d();return _0x5580=function(_0x5580d7,_0x54baef){_0x5580d7=_0x5580d7-0x176;let _0x28c807=_0x3c7de7[_0x5580d7];return _0x28c807;},_0x5580(_0x3f65a7,_0x55005c);}function _0x3c7d(){const _0x4d549d=['YUUMI_CONNECTOR_URL_NOT_FOUND','_setupBeforeClosingHandler','_getFormulaLimitStatus','DependentOn','_onCursorUpdate','APPLY_DUPLICATED','REDEMPTION_INVALID_CODE','Tools','purple.300','max','collaboration-client.offline-data-not-saved','getVpScrollXYInfoByPosToVp','defIds','SetFormulaCalculationStartMutation','toDisposable','OFFLINE','whenReady','deserializeRangeWithSheet','result','/run/','serializeRangeWithSheet','getMergeData','getCollabEntity$','_registerDependencies','transform','SessionStatus','lineTo','UNAUTHENTICATED','_entities','_saveCache','getSheetBySheetId','jsx','translate(.97)','@univerjs/sheets-ui','_docStateChangeManagerService','SetDocZoomRatioOperation','2255480LLwuQV','Error','addObject','_drawAnchor','YUUMI_ASYNCIO_CANCELLED','_registerRenderDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','?taskId=','sheetId','univer-flex\x20univer-items-center','_draw','UNIVER_SHEET','1em','_transformService','_initDependencies','random','DeleteRangeMoveUpCommandId','getCellPositionByOffset','dispose$','getColor','SetFormulaCalculationNotificationMutation','event$','_docSkeleton','_transformUndoRedoStack','getItem','_setFormulaLimitStatus','ITransformService','IRenderManagerService','onPointerEnter$','isFormulaString','requireSession','_initStatusComponent','_syncEditingCollabCursorService','_dataLoaderService','START_CALCULATION','_sheetSkeletonManagerService','_color','CollaborationStatus','cursorInfo$','_updateSubUnitFromURLParams','getUnhiddenWorksheets','path','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','INVITE_CODE_HAS_BEEN_UES','_collaborationController','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','RemoveColCommandId','getformulaLimitStatusUrl','isArray','_refRangeService','_collaborationUIEventService','complete','connectInjector','updateOfflineData','SOCKET_FAILED','_collabSessionService','_localStorageService','subunit','startsWith','startFormulaLimitUrl','@univerjs-pro/collaboration','http://www.w3.org/2000/svg','LOGIN_FAILED','getFocusedUnit','setInterval','_status$','onPointerLeave$','ranges','isTransformMutationFailure','off-line-icon_clip0_910_343','ILocalCacheService','handleInsertRangeMoveRight','onMouseMove','SHEET_VIEWPORT_KEY','session.will-retry','_initEvent','_initStatusListener','onCommandExecuted','focused$','APPLY_REVISION_CONFILICT','ICommandService','_revisionService','mask','NodePositionConvertToRectRange','SNAPSHOT_INVALID_SNAPSHOT','_instanceService','useObservable','DOC_RANGE_TYPE','0\x200\x2017\x2016','CollaborationEvent','roomMembers$','TEXT','transformIMECache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','handleInsertRangeMoveDown','_labelPosition','getCellMatrix','_renderManagerService','LOCAL_CACHE_INTERVAL_KEY','fromEventSubject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unitId','permission.title','combineLatest','generateRandomId','has','@univerjs/docs-ui','OTHER_CLIENT_EDITING','LOCAL_CACHE_INTERVAL','_checkCalculationAvailable','dispose','operators','restore','drawWith','_localCacheService','Warning','switchMap','none','INotificationService','transformMutationsWithChangeset','_maxFormulaLimit','getCurrentSelections','_cachedData','_removeCollabCursors','contains','_hover','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','BehaviorSubject','deepClone','eventID','ENTITLE_CAN_NOT_BUY_LOWER_OTP','saveImage','getValue','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','imageSourceType','_eventUnsubscribe','forwardRef','data','href','parse','INVALID_ARGUMENT','asObservable','toString','NOT_FOUND','UniverCollaborationClientPlugin','YUUMI_RATE_OVER_LIMIT','InsertRowCommandId','black','toStringTag','saveOfflineData','ENTITLE_REPORT_LIMIT_EXCEED','clearTimeout','ILogService','UNRECOGNIZED','YUUMI_URL_COL_OUT_OF_RANGE','color','addClipboardHook','div','UniverDocs','colorChannel1','send','Module','isTransformMutationsWithChangesetSuccess','stringify','_startSheetCollabCursor','_context','_removeClearOtherTimer','_logService','all','getOwnPropertyDescriptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','4932036YvfDRm','_cursorShapes','setStateCache','column','getAncestorScale','unitID','code','origin','@univerjs-pro/collaboration-client','_imageIoService','getActiveSheet','UPDATE_CURSOR','endColumn','disposeUnit','INTERNAL_ERROR','dirtyRanges','from','saveTaskMap','getParam','jiqing.500','get','split','find','mergeOverrideWithDependencies','_transformHistoryAndStateStack','MessageType','Injector','getUndoRedoMutationParamsCache','RichTextEditingMutation','CollaborationController','@univerjs/sheets','getUnitStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','...','_roomMembers$','UNDEFINED','_localeService','handleInsertCol','includes','_hovered','_range','collabStatus.fetchMiss','url(#on-line-icon_clip0_910_349)','OTHER_CLIENTS_EDITING','_textBubble','_getSessionTicket','collabStatus.offline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subscribeEvent','forEach','triggerDblclick','_doCreateSocket','/universer-api/license/formula/limit/status','_render','_themeService','@univerjs/rpc','subscribe','ENTITLE_CHAT_LIMIT_EXCEED','4998SYwQDv','getLocalCacheKey','MOBILE_HAS_BEEN_BOUND','OffLineIcon','USER_NOT_FOUND','amd','debounce','registerRenderModule','width','setUndoRedoMutationParamsCache','replace','_updateURLWithCurrentState','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LocaleService','_initEntityListener','_releaseCalculationLimit','SheetsSelectionsService','@univerjs/engine-render','row','set','_commandService','PAYMENT_CHANNEL_NOT_SUPPORT','_messageService','_collabCursorState$','toRgbString','executeCommand','wsSessionTicketUrl','next','LOGIN_TOKEN_PROCESSING_FAILED','editingUnit','transformRemoteChangeset','8mUUBwr','REDEMPTION_CODE_NOT_STARTED','SUBMIT_CHANGESET_TIMEOUT','EMAIL_HAS_BEEN_BOUND','IMessageService','pipe','beginPath','on-line-icon_clip0_910_349','InsertRangeMoveDownCommandId','override','closePath','engine','MOBILE_VERIFY_CODE_MISMATCH','react/jsx-runtime','_drawTextRange','uni.network.url-service','_beforeCloseService','key','shift','startRow','tag','_ensureSubject','PERMISSION_DENIED','createInstance','values','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLORS','with','collabCursorState$','onStarting','ThemeService','_handleHeartbeatEvent','_colorIndex','NodePositionConvertToCursor','DocSelectionManagerService','range','UnitStatus','Success','getSkeleton','Disposable','_notificationService','HTTPService','CollaborationSessionService','/universer-api/license/formula/limit/done','sessionStatus$','ticket','_saveTaskMap','defineProperty','_scene','off-line-icon','IImageIoService','text','url(#off-line-icon_clip0_910_343)','UniverInstanceType','RevisionService','SheetSkeletonManagerService','14077NSSlMU','defs','min','IUIPartsService','formula.calculation.waiting','_disabled','DataLoaderService','push','AUTHORIZE_CODE_ILLEGAL','TOO_MANY_REQUESTS','ENTITLE_NEED_BILLING_ADDRESS','DesktopCollaborationStatusDisplayController','LICENSE_DISTRO_REJECTED','collabStatus.synced','Inject','RECT','PENDING','6868ZdNnXD','getCoordByCell','collab-client.tooltip.reconnect','_univerInstanceService','OnLineIcon','ALREADY_EXISTS','LICENSE_IMPORT_SIZE_EXCEEDED','runId','Shape','registerComponent','_pollingInterval','WECHAT_HAS_BEEN_BOUND','urlChange$','permission.content','_clearPolling','_handleLeaveEvent','makeDirty','univerjs-icon\x20univerjs-icon-','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','status$','WebBrowserSingleActiveUnitService','currentTheme$','MoveRangeCommandId','USER_NOT_INVITED_CODE','session.collaboration-timeout','exports','_onRefRangeChange','textRanges','IRemoteInstanceService','SUCCESS','_injector','handleIRemoveCol','getStateCache','unshift','_init','unit','handleDeleteRangeMoveUp','_transformPreviousActiveRange','pluginName','Subject','fromEvent','_drawRectRange','ILocalStorageService','getSheetId','CLOSE_ROOM','isEditing','UNIVER_DOC','removeParam','setParam','UniverSheets','APPLY_NON_SEQUENTIAL_REVISION','onRendered','_collabCursorController','measureText','_getScale','14632490CCfzbV','setTimeout','DocIMEInputManagerService','collab-rect-range-','loadOfflineData','_clearOtherTimers','_onCursorDelete','selection','registerRefRange','font','@univerjs/drawing','assignAColorForMemberID','EMAIL_VERIFY_CODE_MISMATCH','setItem','_selfUnitIDs','yellow.400','IDocClipboardService','_cursorInfo$','exhaustSavingTask','UniverIcon','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_INVITE_CODE','newValue','_toggleOnline','type','handleMoveRange','_hasFormulaInDirtyRanges','LICENSE_EXPORT_SIZE_EXCEEDED','some','fillRule','disposeWithMe','fillText','_updateLocalCursor','_hideTimer','UniverProCollaboration','MemberService','length','transformStateCache','useRef','_docSkeletonManagerService','SOCKET_FAILED_RETRY','_getMergeRange','ERROR_AGAIN','getCurrentUnitForType','pushState','invokeId','IURLService','collabStatus.syncing','on-line-icon','m2Prime','use','functionsExecutedState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','doc.mutation.rich-text-editing','0\x200\x2016\x2016','_send','DocSkeletonManagerService','rxjs','body','attrs','application/json','cursorInfo','_anchorDot','FETCH_MISS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_urlService','InsertRangeMoveRightCommandId','m1Prime','Failed','UniverUi','ONLINE','collabStatus.notCollab','_handleEvent','_scheduleHeartbeat','DocCollaborationEntity','disableLocalCache','4UXvewr','getOffsetConfig','_unitOnClients','CollaborationUIEventId','_showGuardMessage','show','session.connection-failed','location','USERS_LEAVE','100eTTaZD','/universer-api/license/formula/limit/start','IConfigService','_checkAndWaitForCalculationPermission','debug','_updateCollabCursors','params','post','reconnect','IUniverInstanceService','_docClipboardService','@univerjs/design','runOnServer','_backgroundColor','save','_cursors','entries','collaboration.closeRoom','currentSkeleton$','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','rgba(255,\x20255,\x20255,\x200.01)','_docTransformStateCacheService','Loading','_memberService','isActive','_cursor','_scheduleClearOtherTimer','rxjs/operators','size','unload','error','_docSyncEditingCollabCursorService','evenodd','backgroundColor','findNodePositionByCharIndex','158232XhSlTK','getSheetObject','stage','_applyCommand','fillStyle','_lastPointer','collaboration-client-ui.config','CONNECTOR_DATA_TOO_LARGE','ColorKit','source','_currentUsage','CommandType','map','#FFF','BrowserCollaborationSocketService','function','_lastResponseTimestamp','actions','_initCommandExecutedListener','trim','CollaborationDataLoaderController','getRenderById','PY_RUNTIME_SCRIPT_ERROR','APPLY_PERMISSION_DENIED','setActiveRange','NOT_COLLAB','YUUMI_AI_RUN_FAILED','_name','url(#$1','getTypeOfUnitDisposed$','bottom','clearInterval','svg','UniverNetwork','Optional','takeUntil','now','_shapes','unsubscribe','transformSelections','top','TEXT_RANGE_LAYER_INDEX','_handleHover','xlink:href','_config','searchParams','hide','UniverEngineFormula','redoState','_refreshCollabCursors','mutations','object','collab-text-anchor-','then','_id','CHANGESET_REVISION_CONFILICT','_taskIds','addObjects','assign','clsx','onTransformChange$','string','_httpService','FromArray','ENTITLE_DUP_SUBSCRIPTION','formula.calculation.unable','stageInfo','_colorAssignService','_startDocCollabCursor','RxDisposable','SetWorksheetActivateCommand','_initCommandInterceptor','_session','_toggleOffline','getCurrent','getConfig','EffectRefRangId','roomMembers','white','REDEMPTION_CODE_FULLY_REDEEMED','getActiveRange','_anchor','DocStateChangeManagerService','WebURLService','currentColor','CollaborationSocketService','arc','red.300','fill','UniverProCollaborationClient','docStateChange$','INVITE_CODE_ALREADY_BOUND','distinctUntilChanged','getMember','UniverCore','history','APPLY_REJECT','WebSocketService','clipPath','round','getDocRanges','add','height','CanceledError','storage','_scheduleSaving','_entityInit$','mapTo','_docTransformIMECacheService','addEventListener','endRow','useDependency','limitInfo','_unitStatus','transformMutation','getColorFromTheme','onPointerMove$','createElement','getUnitId','ISocketService','name','_uiPartsService','runRefRangeMutations','totalFormulasToCalculate','UniverDrawing','JOIN_ROOM_FAILED','replaceState','_assignedColors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getSaveTimeout','filter','setShapeProps','UniverSheetsUi','getRelativeToViewportCoord','_getAnchorBounding','init','getCollabCursors$','RemoteUniscriptService','collab-text-range-','getMemberID','USER_IS_ANONYMOUS','setAlpha','executionId','Plugin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/ui','_initResize','_heartbeatTimer','children','_configService','UniverCollaborationClientUIPlugin','createSocket','delete','popstate','parseInt','YUUMI_NO_CUBOID_FOR_QUESTION','NO_OTHER_CLIENTS_EDITING','_setupSubUnitSync','@univerjs/engine-formula','getRangePointData','REDEMPTION_USER_REDEEM_TIMES_EXCEED','startColumn','DEFAULT_WS_SESSION_TICKET_URL','_online','addHandlerCallback','idSuffix'];_0x3c7d=function(){return _0x4d549d;};return _0x3c7d();}
1
+ function _0x28d7(){const _0x3e8daf=['ISocketService','_shapes','getUndoRedoMutationParamsCache','Workbook','UniverCollaborationClientPlugin','post','toRgbString','_colorIndex','_updateURLWithCurrentState','EffectRefRangId','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','min','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','BehaviorSubject','ticket','IMessageService','IRemoteInstanceService','collabStatus.syncing','OFFLINE','_beforeCloseService','_drawTextRange','collabCursorState$','IBeforeCloseService','arc','/run/','1101993CoydmQ','session.connection-failed','addObject','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','jsx','ranges','LocaleService','WebSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','createSocket','displayName','currentTheme$','_checkCalculationAvailable','currentUsage','_showGuardMessage','mergeOverrideWithDependencies','_getSessionTicket','startsWith','unsubscribe','SetTextSelectionsOperation','START_CALCULATION','ALREADY_EXISTS','_getFormulaLimitStatus','FETCH_MISS','registerRefRange','OTHER_CLIENT_EDITING','DependentOn','_collabSessionService','onPointerLeave$','isFormulaString','ITransformService','_logService','InsertColCommandId','_currentUsage','urlChange$','whenReady','mutations','React','_transformHistoryAndStateStack','_getSheetObject','_updateLocalCursor','310268jpMoPl','replace','_disabled','UniverProCollaborationClient','_cachedData','cursorInfo$','_assignedColors','collabStatus.notCollab','BuiltInUIPart','_scheduleClearOtherTimer','getColor','Tooltip','LOGIN_FAILED','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','totalFormulasToCalculate','width','fromEvent','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','saveOfflineData','_selfUnitIDs','object','_pollingInterval','@univerjs/ui','CollaborationController','HTTPService','setStateCache','InsertRangeMoveRightCommandId','_transformPreviousActiveRange','attrs','jiqing.500','_send','split','push','ThemeService','_createSocketURL','transform','rxjs/operators','LICENSE_IMPORT_SIZE_EXCEEDED','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/license/formula/limit/status','CURRENT_STATUS_CANNOT_OPERATE','getSheetBySheetId','150VtXhfQ','M0\x200H16V16H0z','_session','_getAnchorBounding','_lastPointer','InsertRowCommandId','subunit','contains','handleDeleteRangeMoveLeft','saveImage','off-line-icon','toString','_removeClearOtherTimer','_hovered','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','WECHAT_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','@univerjs-pro/collaboration-client','JOIN_ROOM_FAILED','MemberService','UNDEFINED','2uvbkeu','exhaustSavingTask','requireSession','_updateSubUnitFromURLParams','DATA_SOURCE_TOO_LARGE','fromEventSubject','height','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','runRefRangeMutations','onPointerMove$','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon','UNRECOGNIZED','@univerjs-pro/collaboration','_themeService','UniverProCollaborationClientUi','_initResize','_scheduleSaving','APPLY_REVISION_CONFILICT','range','PERMISSION_DENIED','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','then','m2Prime','startColumn','HEADER_MENU','_drawAnchor','MUTATION','YUUMI_URL_COL_OUT_OF_RANGE','size','getCurrent','_handleHeartbeatEvent','getCoordByCell','rxjs','onStarting','RichTextEditingMutation','getSkeleton','BrowserCollaborationSocketService','evenodd','lineTo','MOBILE_VERIFY_CODE_MISMATCH','_httpService','NOT_COLLAB','subscribeEvent','transformRemoteChangeset','ILogService','sheetID','CHANGESET_REVISION_CONFILICT','getValue','Optional','_urlService','assignAColorForMemberID','subscribe','green.600','shift','3069300NdYrJe','resize','UniverDesign','_cursor','USER_IS_ANONYMOUS','restore','clipPath','Subject','getItem','CollaborationSessionService','runId','LOGIN_TOKEN_PROCESSING_FAILED','transformByState','hovered','_entities','assign','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','path','_docTransformIMECacheService','debug','UniverEngineRender','triggerDblclick','_initStatusListener','getTypeOfUnitDisposed$','_handleEvent','IConfigService','invokeId','trim','from','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformSelectionsService','_unitStatus','body','INVITE_CODE_REQUIRED','PY_RUNTIME_SCRIPT_ERROR','getActiveSheet','fillRule','stageInfo','addClipboardHook','SOCKET_FAILED_RETRY','sessionStatus$','onLocalMutation','isTransformMutationFailure','_notificationService','CONNECTOR_DATA_TOO_LARGE','beginPath','getMember','show','UniverCollaborationClientUIPlugin','_handleJoinEvent','Inject','_online','_releaseCalculationLimit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','transformStateCache','IURLService','_transformService','set','_localStorageService','serializeRangeWithSheet','name','onMouseMove','add','fillStyle','_saveCache','getCollabEntity$','collab-text-range-','findNodePositionByCharIndex','hide','@univerjs/docs-ui','ISnapshotServerService','SetFormulaCalculationNotificationMutation','289377pnKqta','executionId','rgba(255,\x20255,\x20255,\x200.01)','saveTaskMap','_color','getMemberID','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','type','SheetCollabCursorShape','clearInterval','useObservable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationUIEventId','@univerjs/engine-formula','deserializeRangeWithSheet','engine','length','_id','_anchorDot','_onCursorDelete','DeleteRangeMoveUpCommandId','selection','setAlpha','_getScale','_hideTimer','stage','UniverDrawing','SOCKET_FAILED','_lastResponseTimestamp','_maxFormulaLimit','replaceState','_clearPolling','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','1em','setItem','_initCommandInterceptor','session.collaboration-timeout','INVALID_INVITE_CODE','Failed','get','Warning','cursorInfo','_collaborationController','getAncestorScale','0\x200\x2017\x2016','REDEMPTION_INVALID_CODE','getUnit','ENTITLE_REPORT_LIMIT_EXCEED','_setupSubUnitSync','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','createInstance','pushState','purple.300','getLocalCacheKey','USERS_LEAVE','INTERNAL_ERROR','_uiPartsService','unitId','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitStatus$','fillText','transformMutationsWithChangeset','skeleton','_textBubble','_startDocCollabCursor','merge','focused$','NOT_FOUND','url(#$1','beforeCommandExecuted','defIds','location','_instanceService','collaboration.closeRoom','reconnect','ENTITLE_INSUFFICIENT_QUOTA','registerComponent','getRangePointData','search','_hover','AWAITING','endRow','operators','data','UPDATE_CURSOR','RxDisposable','isTransformMutationsWithChangesetSuccess','_context','formula.calculation.unable','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_initStatusComponent','values','DocCollaborationEntity','addHandlerCallback','ERROR_AGAIN','source','bottom','_collabCursorState$','url(#on-line-icon_clip0_910_349)','_initEntityListener','_univerInstanceService','wsSessionTicketUrl','uni.network.url-service','@univerjs/docs','pipe','IUIPartsService','_init','textRanges','backgroundColor','key','onTransformChange$','REDEMPTION_CODE_FULLY_REDEEMED','_clearOtherTimers','setTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','setShapeProps','closePath','none','_cursorShapes','event$','useRef','formula.calculation.waiting','DocIMEInputManagerService','ONLINE','getRenderById','releaseFormulaLimitUrl','unload','_docSyncEditingCollabCursorService','_ensureSubject','getSheetObject','dispose','toStringTag','setConfig','ColorKit','unshift','syncEditingCollabCursor','IDocClipboardService','updateOfflineData','SYNCED','popstate','transformIMECache','10NQgIez','_labelPosition','RemoteUniscriptService','CollaborationDataLoaderController','maxFormulaLimit','IRenderManagerService','200qErjVZ','shareReplay','_draw','?taskId=','_handleHover','with','_onCursorUpdate','_render','Rectangle','setInterval','_name','generateRandomId','_scene','entries','_document','getCellPositionByOffset','string','_saveTaskMap','setActiveRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEvent','CollaborationEvent','round','complete','getActiveRange','_memberService','getMergeData','executeCommand','_config','MessageType','getViewport','takeUntil','FormulaExecuteStageType','YUUMI_AI_RUN_FAILED','Rect','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','pluginName','undoState','children','disposeUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localCacheService','YUUMI_ASYNCIO_CANCELLED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawRectRange','747315ESkJlq','SetWorksheetActivateCommand','_revisionService','isActive','Success','_docStateChangeManagerService','docStateChange$','code','measureText','registerDependencies','CommandType','blue.400','INVALID_ARGUMENT','includes','DeleteRangeMoveLeftCommandId','save','application/json','CollaborationSocketService','getUnitId','_startSheetCollabCursor','sessionTicket','getColorFromTheme','history','_range','drawWith','EMAIL_VERIFY_CODE_MISMATCH','_backgroundColor','_getMergeRange','Vector2','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','throttleTime','text','debounceTime','RegularPolygon','tag','SetFormulaCalculationStartMutation','translate(.97)','Disposable','_scheduleHeartbeat','ICommandService','selections','_refRangeService','getCollabCursors$','onRendered','onCommandExecuted','now','CanceledError','[CollaborationDataLoaderController]','_collaborationUIEventService','UniverSheets','stringify','current','div','some','APPLY_REJECT','black','Injector','NodePositionConvertToRectRange','map','UNIVER_DOC','Error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','parse','CLOSE_ROOM','colorChannel1','@univerjs/sheets-ui','@univerjs/design','DisposableCollection','RefRangeService','UniverSheetsUi','_registerDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','parseInt','_messageService','@univerjs/sheets','fill','deepClone','ENTITLE_CAN_NOT_BUY_LOWER_OTP','xlink:href','UniverRpc','idSuffix','runOnServer','function','Loading','permission.content','getRelativeToViewportCoord','override','limitInfo','OTHER_CLIENTS_EDITING','RevisionService','color','DocSelectionManagerService','symbol','_toggleOffline','clearTimeout','result','_docTransformStateCacheService','white','m1Prime','permission.title','DOC_RANGE_TYPE','DataLoaderService','FormulaExecutedStateType','_refreshCollabCursors','_registerRenderDependencies','UniverInstanceType','4471072gJiwyf','searchParams','onPointerEnter$','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','send','ENTITLE_DUP_SUBSCRIPTION','CollaborationStatus','_status$','_onRefRangeChange','dispose$','isFormulaId','next','mask','APPLY_DUPLICATED','newValue','TEXT','handleDeleteRangeMoveUp','_toggleOnline','getParam','moveTo','row','addEventListener','top','_getSaveTimeout','flatMap','registerBeforeClose','441839HFAKrY','init','startRow','debounce','disposeWithMe','_roomMembers$','disableLocalCache','error','useDependency','_commandService','ILocalStorageService','collabStatus.synced','forEach','makeDirty','getStateCache','UniverUi','combineLatest','activeSheet$','Module','getConfig','_colorAssignService','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','SHEET_VIEWPORT_KEY','getDocRanges','currentColor','UniverNetwork','roomMembers','_anchor','_hasFormulaInDirtyRanges','USER_NOT_INVITED_CODE','_collabCursorController','_removeCollabCursors','DesktopCollaborationStatusDisplayController','collab-rect-range-','redoState','collab-client.tooltip.reconnect','collabStatus.conflict','SheetsSelectionsService','loadUnit','_cursorInfo$','unitID','_syncEditingCollabCursorService','SessionStatus','_unitOnClients','_cursors','forwardRef','collaboration.single-unit.warning','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','DEFAULT_WS_SESSION_TICKET_URL','Unknown\x20user','getSheetId','red.300','delete','ENTITLE_CHAT_LIMIT_EXCEED','createIdentifier','amd','imageSourceType','@univerjs/core','_dataLoaderService','YUUMI_NO_CUBOID_FOR_QUESTION','ILocalCacheService','DocStateChangeManagerService','roomMembers$','COLORS','_transformUndoRedoStack','SheetSkeletonManagerService','_heartbeatTimer','actions','href','_localeService','setUndoRedoMutationParamsCache','mapTo','origin','switchMap','currentSkeleton$','column','AWAITING_WITH_PENDING','handleInsertCol','TEXT_RANGE_LAYER_INDEX','UnitStatus','_sheetSkeletonManagerService','_configService','_applyCommand','UniverIcon','CollaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','_taskIds','#FFF','Shape','ENSURE_SNAPSHOT_EXECUTION','defineProperty','filter','SUCCESS','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','COMPLETION_FINISHED','use','INVITE_CODE_HAS_BEEN_UES','UniverDocsUi','params','removeParam','_docSkeletonManagerService','svg','_eventUnsubscribe','getTypeOfUnitAdded$','transformMutation','getUniverSheetInstance','Tools','_setFormulaLimitStatus','NodePositionConvertToCursor','_docClipboardService','getFocusedUnit','isArray'];_0x28d7=function(){return _0x3e8daf;};return _0x28d7();}function _0x2ce3(_0x25f65b,_0x5de281){const _0x28d7e0=_0x28d7();return _0x2ce3=function(_0x2ce347,_0x10f8c5){_0x2ce347=_0x2ce347-0x1e6;let _0x57b8fe=_0x28d7e0[_0x2ce347];return _0x57b8fe;},_0x2ce3(_0x25f65b,_0x5de281);}(function(_0x4aeeeb,_0xd0b9f9){const _0x4d6098=_0x2ce3,_0x1f9043=_0x4aeeeb();while(!![]){try{const _0x48ccf9=-parseInt(_0x4d6098(0x309))/0x1*(-parseInt(_0x4d6098(0x409))/0x2)+parseInt(_0x4d6098(0x39c))/0x3+-parseInt(_0x4d6098(0x2ee))/0x4+-parseInt(_0x4d6098(0x24f))/0x5*(-parseInt(_0x4d6098(0x441))/0x6)+parseInt(_0x4d6098(0x3c6))/0x7*(-parseInt(_0x4d6098(0x255))/0x8)+parseInt(_0x4d6098(0x284))/0x9*(parseInt(_0x4d6098(0x3f3))/0xa)+parseInt(_0x4d6098(0x48b))/0xb;if(_0x48ccf9===_0xd0b9f9)break;else _0x1f9043['push'](_0x1f9043['shift']());}catch(_0x559b5a){_0x1f9043['push'](_0x1f9043['shift']());}}}(_0x28d7,0xd669a),function(_0x1f0e85,_0x4ee07b){const _0x3b57cc=_0x2ce3;typeof exports==_0x3b57cc(0x3dc)&&typeof module<'u'?_0x4ee07b(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x3b57cc(0x2d6)&&define[_0x3b57cc(0x343)]?define(['exports','react/jsx-runtime',_0x3b57cc(0x405),_0x3b57cc(0x345),_0x3b57cc(0x3de),_0x3b57cc(0x42b),_0x3b57cc(0x2c6),'react','@univerjs/rpc',_0x3b57cc(0x2ce),'@univerjs/engine-render','@univerjs/network',_0x3b57cc(0x488),'@univerjs/drawing',_0x3b57cc(0x416),_0x3b57cc(0x228),_0x3b57cc(0x499),_0x3b57cc(0x3ec),_0x3b57cc(0x2c5)],_0x4ee07b):(_0x1f0e85=typeof globalThis<'u'?globalThis:_0x1f0e85||self,_0x4ee07b(_0x1f0e85[_0x3b57cc(0x418)]={},_0x1f0e85[_0x3b57cc(0x3c2)],_0x1f0e85[_0x3b57cc(0x3c9)],_0x1f0e85['UniverCore'],_0x1f0e85[_0x3b57cc(0x318)],_0x1f0e85[_0x3b57cc(0x42b)],_0x1f0e85[_0x3b57cc(0x443)],_0x1f0e85['React'],_0x1f0e85[_0x3b57cc(0x2d3)],_0x1f0e85[_0x3b57cc(0x2b5)],_0x1f0e85[_0x3b57cc(0x456)],_0x1f0e85[_0x3b57cc(0x323)],_0x1f0e85[_0x3b57cc(0x36e)],_0x1f0e85[_0x3b57cc(0x4a6)],_0x1f0e85['UniverProCollaboration'],_0x1f0e85['UniverDocs'],_0x1f0e85['UniverEngineFormula'],_0x1f0e85[_0x3b57cc(0x42b)][_0x3b57cc(0x212)],_0x1f0e85[_0x3b57cc(0x2c9)]));}(this,function(_0x116b26,_0x45952e,_0x2de05c,_0x1187a4,_0x20024a,_0x1068bb,_0x64dbc4,_0x3e72b6,_0x585870,_0x2fe98e,_0x52d8dc,_0x391b32,_0x1b81cc,_0x56cf3b,_0xa5f490,_0x17f20c,_0xbede2,_0x4ba09f,_0x44ccda){'use strict';const _0x45f550=_0x2ce3;var _0xc015df=Object[_0x45f550(0x366)],_0x25a0c6=(_0x1aa1a5,_0x23d84e,_0x497013)=>_0x23d84e in _0x1aa1a5?_0xc015df(_0x1aa1a5,_0x23d84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497013}):_0x1aa1a5[_0x23d84e]=_0x497013,_0x4775d1=(_0x5166a5,_0x47bfc5,_0x3a2fbf)=>_0x25a0c6(_0x5166a5,typeof _0x47bfc5!=_0x45f550(0x2e0)?_0x47bfc5+'':_0x47bfc5,_0x3a2fbf);function _0x494ef5({ref:_0x56a600,..._0xf6be5}){const _0x4e3047=_0x45f550,{icon:_0x343321,id:_0x347360,className:_0x248354,extend:_0x3b8242,..._0x3d7f88}=_0xf6be5,_0x139c55=('univerjs-icon\x20univerjs-icon-'+_0x347360+'\x20'+(_0x248354||''))[_0x4e3047(0x45d)](),_0x227ff2=_0x3e72b6[_0x4e3047(0x23a)]('_'+_0x2a69a1());return _0x2e23e2(_0x343321,''+_0x347360,{'defIds':_0x343321[_0x4e3047(0x206)],'idSuffix':_0x227ff2[_0x4e3047(0x2b7)]},{'ref':_0x56a600,'className':_0x139c55,..._0x3d7f88},_0x3b8242);}function _0x2e23e2(_0x1e845c,_0x7b0184,_0x4b650f,_0x28f7d3,_0x3492c7){const _0x255e0d=_0x45f550;return _0x3e72b6['createElement'](_0x1e845c[_0x255e0d(0x2a6)],{'key':_0x7b0184,..._0x43038e(_0x1e845c,_0x4b650f,_0x3492c7),..._0x28f7d3},(_0x2975fc(_0x1e845c,_0x4b650f)[_0x255e0d(0x27c)]||[])['map']((_0x224257,_0x4250bb)=>_0x2e23e2(_0x224257,_0x7b0184+'-'+_0x1e845c['tag']+'-'+_0x4250bb,_0x4b650f,void 0x0,_0x3492c7)));}function _0x43038e(_0xfc4929,_0x1a91cf,_0x434d30){const _0x423621=_0x45f550,_0x3a74fb={..._0xfc4929[_0x423621(0x3e4)]};_0x434d30!=null&&_0x434d30['colorChannel1']&&_0x3a74fb['fill']===_0x423621(0x2c4)&&(_0x3a74fb[_0x423621(0x2cf)]=_0x434d30[_0x423621(0x2c4)]),_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x2fb)&&_0x3a74fb['id']&&(_0x3a74fb['id']=_0x3a74fb['id']+_0x1a91cf[_0x423621(0x2d4)]),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x3b323d,_0x4894b9])=>{const _0x187511=_0x423621;_0x3b323d===_0x187511(0x2fb)&&typeof _0x4894b9==_0x187511(0x265)&&(_0x3a74fb[_0x3b323d]=_0x4894b9[_0x187511(0x3c7)](/url\(#(.*)\)/,_0x187511(0x204)+_0x1a91cf[_0x187511(0x2d4)]+')'));});const {defIds:_0x34d31f}=_0x1a91cf;return!_0x34d31f||_0x34d31f[_0x423621(0x49c)]===0x0||(_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x36c)&&_0x3a74fb[_0x423621(0x2d2)]&&(_0x3a74fb[_0x423621(0x2d2)]=_0x3a74fb['xlink:href']+_0x1a91cf['idSuffix']),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x4322e5,_0x444d4d])=>{const _0x20603c=_0x423621;typeof _0x444d4d=='string'&&(_0x3a74fb[_0x4322e5]=_0x444d4d[_0x20603c(0x3c7)](/url\(#(.*)\)/,'url(#$1'+_0x1a91cf['idSuffix']+')'));})),_0x3a74fb;}function _0x2975fc(_0x5edba8,_0x1efc7b){const _0x891a2b=_0x45f550;var _0x56eb80;const {defIds:_0x51c2dd}=_0x1efc7b;return!_0x51c2dd||_0x51c2dd[_0x891a2b(0x49c)]===0x0?_0x5edba8:_0x5edba8['tag']===_0x891a2b(0x3ee)&&((_0x56eb80=_0x5edba8[_0x891a2b(0x27c)])!=null&&_0x56eb80[_0x891a2b(0x49c)])?{..._0x5edba8,'children':_0x5edba8[_0x891a2b(0x27c)][_0x891a2b(0x2be)](_0x402ef3=>typeof _0x402ef3['attrs']['id']==_0x891a2b(0x265)&&_0x51c2dd&&_0x51c2dd[_0x891a2b(0x291)](_0x402ef3[_0x891a2b(0x3e4)]['id'])?{..._0x402ef3,'attrs':{..._0x402ef3[_0x891a2b(0x3e4)],'id':_0x402ef3[_0x891a2b(0x3e4)]['id']+_0x1efc7b[_0x891a2b(0x2d4)]}}:_0x402ef3)}:_0x5edba8;}function _0x2a69a1(){const _0x498309=_0x45f550;return Math['random']()[_0x498309(0x3fe)](0x24)['substring'](0x2,0x8);}_0x494ef5['displayName']=_0x45f550(0x35f);const _0x4333a8={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':_0x45f550(0x237),'viewBox':'0\x200\x2016\x2016','width':_0x45f550(0x4ae),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':'currentColor','d':_0x45f550(0x31f),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45f550(0x3ee),'attrs':{},'children':[{'tag':_0x45f550(0x447),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':'white','d':_0x45f550(0x3f4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x32bf8d=_0x3e72b6[_0x45f550(0x337)](function(_0x410296,_0xfc3306){const _0x2b8452=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x2b8452(0x450)]({},_0x410296,{'id':_0x2b8452(0x3fd),'ref':_0xfc3306,'icon':_0x4333a8}));});_0x32bf8d[_0x45f550(0x3a7)]='OffLineIcon';const _0x1c6932={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':'none','viewBox':_0x45f550(0x1e9),'width':_0x45f550(0x4ae),'height':_0x45f550(0x4ae)},'children':[{'tag':'g','attrs':{'clipPath':_0x45f550(0x223)},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':_0x45f550(0x322),'d':_0x45f550(0x2a1),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':_0x45f550(0x2e5),'d':_0x45f550(0x3f4),'transform':_0x45f550(0x2a8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51164a=_0x3e72b6[_0x45f550(0x337)](function(_0x3756c7,_0x213ed4){const _0x23f94a=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x23f94a(0x450)]({},_0x3756c7,{'id':_0x23f94a(0x414),'ref':_0x213ed4,'icon':_0x1c6932}));});_0x51164a[_0x45f550(0x3a7)]='OnLineIcon';function _0x640631(_0x2e39f5){const _0x5be986=_0x45f550;switch(_0x2e39f5){case _0x2de05c['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x38a)]:return _0x5be986(0x32e);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x3b4)]:return'collabStatus.fetchMiss';case _0x2de05c['CollaborationStatus']['NOT_COLLAB']:return _0x5be986(0x3cd);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x210)]:case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x358)]:return _0x5be986(0x394);case _0x2de05c['CollaborationStatus'][_0x5be986(0x24c)]:case _0x2de05c[_0x5be986(0x2f5)]['PENDING']:return _0x5be986(0x314);}}function _0x71f5cb(_0xb5615){const _0x4dd830=_0x45f550,{status$:_0x496ab0}=_0xb5615,_0x32d255=_0x20024a[_0x4dd830(0x496)](_0x496ab0,_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x434)]),_0x4d0a3f=_0x20024a[_0x4dd830(0x311)](_0x1187a4[_0x4dd830(0x3a3)]),_0x1b310b=_0x20024a[_0x4dd830(0x311)](_0x2de05c[_0x4dd830(0x44a)]),_0x4281c5=_0x32d255!==_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x395)],_0x294412=_0x4d0a3f['t'](_0x640631(_0x32d255)),_0x288bc6=_0x4281c5?_0x45952e[_0x4dd830(0x3a1)](_0x51164a,{}):_0x45952e[_0x4dd830(0x3a1)](_0x32bf8d,{}),_0x15156f=_0x3e72b6['useCallback'](()=>{const _0x276938=_0x4dd830;_0x4281c5||_0x1b310b[_0x276938(0x20a)]();},[_0x4281c5,_0x1b310b]);function _0x5ca125(){const _0x59916a=_0x4dd830;return _0x45952e['jsxs'](_0x59916a(0x2b8),{'className':'univer-flex\x20univer-items-center','onClick':_0x15156f,'children':[_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x64dbc4['clsx'](_0x59916a(0x413),{'univer-text-green-500':_0x4281c5,'univer-text-red-500':!_0x4281c5}),'children':_0x288bc6}),_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x59916a(0x268),'children':_0x294412})]});}return _0x4281c5?_0x5ca125():_0x45952e['jsx'](_0x64dbc4[_0x4dd830(0x3d1)],{'title':_0x4d0a3f['t'](_0x4dd830(0x32d)),'children':_0x5ca125()});}var _0x491a22=Object[_0x45f550(0x38f)],_0x2fb467=(_0x3c6f38,_0x18c9bc,_0x36e0e8,_0x3c1290)=>{const _0x38f7de=_0x45f550;for(var _0x55ab2f=_0x3c1290>0x1?void 0x0:_0x3c1290?_0x491a22(_0x18c9bc,_0x36e0e8):_0x18c9bc,_0x4aa217=_0x3c6f38[_0x38f7de(0x49c)]-0x1,_0x53a63f;_0x4aa217>=0x0;_0x4aa217--)(_0x53a63f=_0x3c6f38[_0x4aa217])&&(_0x55ab2f=_0x53a63f(_0x55ab2f)||_0x55ab2f);return _0x55ab2f;},_0x4ecece=(_0x3bd181,_0x1f0135)=>(_0x19f789,_0x325306)=>_0x1f0135(_0x19f789,_0x325306,_0x3bd181);_0x116b26[_0x45f550(0x32a)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3bc150,_0x472b98,_0x469d48,_0x532715){const _0x5cfd4f=_0x45f550;super(),_0x4775d1(this,_0x5cfd4f(0x2f6),new _0x1068bb['BehaviorSubject'](_0x2de05c['CollaborationStatus'][_0x5cfd4f(0x434)])),(this['_univerInstanceService']=_0x3bc150,this[_0x5cfd4f(0x234)]=_0x472b98,this[_0x5cfd4f(0x1e7)]=_0x469d48,this[_0x5cfd4f(0x1f7)]=_0x532715,this[_0x5cfd4f(0x21b)](),this['_initStatusListener']());}[_0x45f550(0x458)](){const _0x4f1304=_0x45f550;this[_0x4f1304(0x30d)](this[_0x4f1304(0x225)][_0x4f1304(0x202)][_0x4f1304(0x229)](_0x1068bb[_0x4f1304(0x355)](()=>{const _0x36db8c=_0x4f1304,_0x177eba=this['_univerInstanceService'][_0x36db8c(0x37b)]();return _0x177eba?this[_0x36db8c(0x1e7)][_0x36db8c(0x484)](_0x177eba['getUnitId']()):_0x1068bb['of'](null);}),_0x1068bb[_0x4f1304(0x355)](_0x492846=>_0x492846?_0x492846['status$']:_0x1068bb['of'](_0x2de05c[_0x4f1304(0x2f5)][_0x4f1304(0x434)])))[_0x4f1304(0x43e)](_0x287706=>{const _0x76d033=_0x4f1304;this[_0x76d033(0x2f6)][_0x76d033(0x2fa)](_0x287706);}));}[_0x45f550(0x21b)](){const _0x26769b=_0x45f550;this['disposeWithMe'](this[_0x26769b(0x1f7)][_0x26769b(0x20c)](_0x20024a[_0x26769b(0x3ce)][_0x26769b(0x423)],()=>_0x20024a['connectInjector'](_0x228bd2({'status$':this[_0x26769b(0x2f6)]['asObservable']()}),this['_injector'])));}},_0x116b26[_0x45f550(0x32a)]=_0x2fb467([_0x4ecece(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x4ecece(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ecece(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x4ecece(0x3,_0x20024a[_0x45f550(0x22a)])],_0x116b26['DesktopCollaborationStatusDisplayController']);function _0x228bd2(_0x314a53){const {status$:_0x26cdf9}=_0x314a53;return function(){const _0x4b0a2d=_0x2ce3;return _0x45952e[_0x4b0a2d(0x3a1)](_0x71f5cb,{'status$':_0x26cdf9});};}const _0x48aae0=_0x1187a4[_0x45f550(0x342)](_0x45f550(0x227));var _0x6faaa7=Object[_0x45f550(0x38f)],_0x2329d7=(_0x10c09d,_0x4c82cf,_0x532383,_0x415d85)=>{const _0x30b195=_0x45f550;for(var _0x405fdb=_0x415d85>0x1?void 0x0:_0x415d85?_0x6faaa7(_0x4c82cf,_0x532383):_0x4c82cf,_0x3df413=_0x10c09d[_0x30b195(0x49c)]-0x1,_0x2a1839;_0x3df413>=0x0;_0x3df413--)(_0x2a1839=_0x10c09d[_0x3df413])&&(_0x405fdb=_0x2a1839(_0x405fdb)||_0x405fdb);return _0x405fdb;},_0x2700a7=(_0x50f701,_0x45118d)=>(_0x40cb80,_0x22973b)=>_0x45118d(_0x40cb80,_0x22973b,_0x50f701);_0x116b26[_0x45f550(0x252)]=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x1432ef,_0x239eb0,_0x260368,_0x3cfe54,_0x420fee){const _0x3cb7f2=_0x45f550;super(),this[_0x3cb7f2(0x43c)]=_0x1432ef,this[_0x3cb7f2(0x3bc)]=_0x239eb0,this[_0x3cb7f2(0x312)]=_0x260368,this[_0x3cb7f2(0x346)]=_0x3cfe54,_0x420fee?_0x420fee==null||_0x420fee[_0x3cb7f2(0x3c0)]()[_0x3cb7f2(0x420)](()=>this[_0x3cb7f2(0x22b)]()):(this['_logService'][_0x3cb7f2(0x455)]('[CollaborationDataLoaderController]',_0x3cb7f2(0x3ef)),this[_0x3cb7f2(0x22b)]());}async['_init'](){const _0x4d69da=_0x45f550,_0x49170b=this[_0x4d69da(0x43c)][_0x4d69da(0x301)]('unit'),_0x3a5f7a=this[_0x4d69da(0x43c)]['getParam'](_0x4d69da(0x493)),_0x413030=this[_0x4d69da(0x43c)][_0x4d69da(0x301)](_0x4d69da(0x3f9));if(!_0x49170b||!_0x3a5f7a){this[_0x4d69da(0x3bc)][_0x4d69da(0x455)](_0x4d69da(0x2b3),_0x4d69da(0x282));return;}const _0x4acdac=await this[_0x4d69da(0x346)][_0x4d69da(0x330)](_0x49170b,Number(_0x3a5f7a),_0x413030);_0x4acdac&&_0x4acdac instanceof _0x1187a4[_0x4d69da(0x380)]&&this[_0x4d69da(0x1ed)](_0x4acdac);}async[_0x45f550(0x1ed)](_0x17f53d){const _0x5493a1=_0x45f550;await this[_0x5493a1(0x40c)](_0x17f53d),_0x17f53d[_0x5493a1(0x31a)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))['subscribe'](_0xf788cb=>{const _0x45e4ba=_0x5493a1;_0xf788cb&&this[_0x45e4ba(0x385)](_0xf788cb);}),this['_urlService'][_0x5493a1(0x3bf)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))[_0x5493a1(0x43e)](()=>this[_0x5493a1(0x40c)](_0x17f53d));}[_0x45f550(0x385)](_0x1b9c39,_0x3df1fe=!0x1){const _0x2a96c1=_0x45f550,_0x43f8d0=this[_0x2a96c1(0x43c)]['getParam'](_0x2a96c1(0x3f9));_0x1b9c39[_0x2a96c1(0x33e)]()!==_0x43f8d0&&this['_urlService']['setParam'](_0x2a96c1(0x3f9),_0x1b9c39[_0x2a96c1(0x33e)](),_0x3df1fe);}async[_0x45f550(0x40c)](_0x459fd2){const _0x1f42f9=_0x45f550;var _0x159bec;const _0x557b19=this[_0x1f42f9(0x43c)][_0x1f42f9(0x301)](_0x1f42f9(0x3f9));if(!_0x557b19||!_0x459fd2[_0x1f42f9(0x3f2)](_0x557b19)){const _0x4043ac=_0x459fd2[_0x1f42f9(0x3d8)]()[0x0],_0x41b150=_0x459fd2['getSheetBySheetId'](_0x4043ac);if(!_0x41b150)return;this['_updateURLWithCurrentState'](_0x41b150,!0x0),await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e[_0x1f42f9(0x285)]['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x4043ac});return;}((_0x159bec=_0x459fd2[_0x1f42f9(0x465)]())==null?void 0x0:_0x159bec[_0x1f42f9(0x33e)]())!==_0x557b19&&await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e['SetWorksheetActivateCommand']['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x557b19});}},_0x116b26[_0x45f550(0x252)]=_0x2329d7([_0x2700a7(0x0,_0x48aae0),_0x2700a7(0x1,_0x1187a4[_0x45f550(0x437)]),_0x2700a7(0x2,_0x1187a4[_0x45f550(0x2ab)]),_0x2700a7(0x3,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x2e9)])),_0x2700a7(0x4,_0x1187a4[_0x45f550(0x43b)](_0x585870[_0x45f550(0x393)]))],_0x116b26[_0x45f550(0x252)]);var _0x5e1ce0=Object[_0x45f550(0x38f)],_0x19d9a1=(_0x1ea789,_0x5a3019,_0xc93bcb,_0x449ab8)=>{const _0x39651=_0x45f550;for(var _0xcc3127=_0x449ab8>0x1?void 0x0:_0x449ab8?_0x5e1ce0(_0x5a3019,_0xc93bcb):_0x5a3019,_0x435271=_0x1ea789[_0x39651(0x49c)]-0x1,_0x3517b8;_0x435271>=0x0;_0x435271--)(_0x3517b8=_0x1ea789[_0x435271])&&(_0xcc3127=_0x3517b8(_0xcc3127)||_0xcc3127);return _0xcc3127;},_0x4a84ef=(_0xbcca62,_0x32e995)=>(_0xaa9e79,_0x365394)=>_0x32e995(_0xaa9e79,_0x365394,_0xbcca62);let _0x5bb55b=class extends _0x1187a4['RxDisposable']{constructor(_0x162992,_0x1b5b56){const _0x32c959=_0x45f550;super(),this[_0x32c959(0x37a)]=_0x162992,this['_imageIoService']=_0x1b5b56,this[_0x32c959(0x22b)]();}[_0x45f550(0x22b)](){const _0x215bf2=_0x45f550,_0x187839=this;this[_0x215bf2(0x30d)](this['_docClipboardService'][_0x215bf2(0x468)]({'onBeforePasteImage':async _0x2b9d9a=>{const _0x215b06=_0x215bf2,_0x5aa031=await _0x187839['_imageIoService'][_0x215b06(0x3fc)](_0x2b9d9a);return _0x5aa031?{'source':_0x5aa031[_0x215b06(0x220)],'imageSourceType':_0x5aa031[_0x215b06(0x344)]}:null;}}));}};_0x5bb55b=_0x19d9a1([_0x4a84ef(0x0,_0x1b81cc[_0x45f550(0x24a)]),_0x4a84ef(0x1,_0x56cf3b['IImageIoService'])],_0x5bb55b);const _0x5ec0ef=[_0x45f550(0x1f3),_0x45f550(0x3e5),_0x45f550(0x43f),_0x45f550(0x33f),_0x45f550(0x28f),'yellow.400'];class _0x5cc5ff extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x21494e=_0x45f550;super(...arguments),_0x4775d1(this,'_assignedColors',new Map()),_0x4775d1(this,_0x21494e(0x384),0x0);}[_0x45f550(0x43d)](_0x459d30){const _0x2b0d72=_0x45f550;if(this[_0x2b0d72(0x3cc)]['has'](_0x459d30))return this[_0x2b0d72(0x3cc)]['get'](_0x459d30);const _0x3ed968=_0x5ec0ef[this[_0x2b0d72(0x384)]];return this[_0x2b0d72(0x384)]=(this['_colorIndex']+0x1)%_0x5ec0ef[_0x2b0d72(0x49c)],this[_0x2b0d72(0x3cc)][_0x2b0d72(0x47c)](_0x459d30,_0x3ed968),_0x3ed968;}}function _0x46e9a9(_0x35ee9e){const _0x2053f1=_0x45f550;let _0x220594='';for(const _0x5ceda0 of _0x35ee9e){const {startOffset:_0x92c5c5,endOffset:_0x1b477b,isActive:_0x1256b9,rangeType:_0x615d1a,segmentId:_0x3e4285,segmentPage:_0x3bb1a9}=_0x5ceda0;_0x220594[_0x2053f1(0x49c)]&&(_0x220594+=','),_0x220594+=_0x92c5c5+':'+_0x1b477b+':'+(_0x1256b9?'1':'0')+':'+_0x615d1a+':'+_0x3e4285+':'+_0x3bb1a9;}return _0x220594;}function _0xcdb123(_0x304961){const _0x51731b=_0x45f550,_0x2a9773=_0x304961['split'](','),_0x2477d7=[];for(const _0x307bf9 of _0x2a9773){const [_0x121e09,_0x9fbf9e,_0x33a6f4,_0xc89b70,_0x2577cb,_0x4a96ea]=_0x307bf9[_0x51731b(0x3e7)](':');_0x2477d7[_0x51731b(0x3e8)]({'startOffset':Number(_0x121e09),'endOffset':Number(_0x9fbf9e),'collapsed':_0x121e09===_0x9fbf9e,'isActive':_0x33a6f4==='1','rangeType':_0xc89b70===_0x1187a4['DOC_RANGE_TYPE'][_0x51731b(0x2fe)]?_0x1187a4[_0x51731b(0x2e8)][_0x51731b(0x2fe)]:_0x1187a4[_0x51731b(0x2e8)]['RECT'],'segmentId':typeof _0x2577cb=='string'?String(_0x2577cb):'','segmentPage':Number(_0x4a96ea!=null?_0x4a96ea:-0x1)});}return _0x2477d7[_0x51731b(0x2b9)](_0x2863b0=>_0x2863b0[_0x51731b(0x287)])||(_0x2477d7[0x0][_0x51731b(0x287)]=!0x0),_0x2477d7;}class _0x3cbd00 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x43ffe4=_0x45f550;super(...arguments),_0x4775d1(this,'_collabCursorState$',new _0x1068bb['BehaviorSubject'](null)),_0x4775d1(this,'collabCursorState$',this['_collabCursorState$'][_0x43ffe4(0x41f)]());}[_0x45f550(0x249)](_0x3b308a){const _0x24050f=_0x45f550,{unitID:_0x4c8b40,memberID:_0x520a3f,textRanges:_0x433003}=_0x3b308a,_0x1caa9a=_0x46e9a9(_0x433003);if(_0x1caa9a==='')return;const _0x57ea92={'unitID':_0x4c8b40,'memberID':_0x520a3f,'selection':_0x1caa9a};this[_0x24050f(0x222)][_0x24050f(0x2fa)](_0x57ea92);}}var _0xad61c2=Object[_0x45f550(0x38f)],_0x583d97=(_0x5c2ab7,_0x5dcd45,_0x5288e1,_0x5bb57b)=>{const _0x4cdcfa=_0x45f550;for(var _0xc2cda=_0x5bb57b>0x1?void 0x0:_0x5bb57b?_0xad61c2(_0x5dcd45,_0x5288e1):_0x5dcd45,_0x3c8e95=_0x5c2ab7[_0x4cdcfa(0x49c)]-0x1,_0x476a3c;_0x3c8e95>=0x0;_0x3c8e95--)(_0x476a3c=_0x5c2ab7[_0x3c8e95])&&(_0xc2cda=_0x476a3c(_0xc2cda)||_0xc2cda);return _0xc2cda;},_0x38bf1e=(_0xac5fb5,_0x579f30)=>(_0xa45741,_0x4327c9)=>_0x579f30(_0xa45741,_0x4327c9,_0xac5fb5);const _0x31f225=0x12c,_0x5b3860=0x64;let _0x5e29f4=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0xb98685,_0x4da786,_0x1ce1e9,_0x1a4afe,_0x492bfb,_0x50ddfb,_0x31db54,_0x299843,_0x202ea1){const _0x3a8ec1=_0x45f550;super(),_0x4775d1(this,'_online',!0x1),_0x4775d1(this,_0x3a8ec1(0x22b),!0x1),_0x4775d1(this,_0x3a8ec1(0x331),new _0x1068bb[(_0x3a8ec1(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this[_0x3a8ec1(0x331)]['asObservable']()),_0x4775d1(this,_0x3a8ec1(0x30e),new _0x1068bb[(_0x3a8ec1(0x390))]([])),_0x4775d1(this,_0x3a8ec1(0x34a),this['_roomMembers$'][_0x3a8ec1(0x229)](_0x1068bb[_0x3a8ec1(0x2a4)](_0x31f225))),_0x4775d1(this,_0x3a8ec1(0x3c5),_0x1187a4[_0x3a8ec1(0x30c)](_0x11b4f0=>{const _0x4e2b6d=_0x3a8ec1,_0x34312d={'eventID':_0xa5f490[_0x4e2b6d(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4e2b6d(0x332)],'memberID':this[_0x4e2b6d(0x3f5)][_0x4e2b6d(0x490)](),'selection':_0x46e9a9(_0x11b4f0)}};this[_0x4e2b6d(0x3f5)]['send'](_0x34312d,this[_0x4e2b6d(0x332)]);},_0x5b3860)),(this[_0x3a8ec1(0x332)]=_0xb98685,this['_session']=_0x4da786,this[_0x3a8ec1(0x234)]=_0x1ce1e9,this[_0x3a8ec1(0x31d)]=_0x1a4afe,this['_memberService']=_0x492bfb,this[_0x3a8ec1(0x333)]=_0x50ddfb,this[_0x3a8ec1(0x47b)]=_0x31db54,this[_0x3a8ec1(0x225)]=_0x299843,this[_0x3a8ec1(0x312)]=_0x202ea1);}get[_0x45f550(0x1e6)](){const _0x5f5766=_0x45f550;return this['_cursorInfo$'][_0x5f5766(0x43a)]();}get['roomMembers'](){const _0x47d1fc=_0x45f550;return this[_0x47d1fc(0x30e)][_0x47d1fc(0x43a)]();}[_0x45f550(0x244)](){const _0x376c94=_0x45f550;super[_0x376c94(0x244)](),this[_0x376c94(0x331)][_0x376c94(0x2fa)](new Map()),this['_cursorInfo$']['complete'](),this[_0x376c94(0x30e)][_0x376c94(0x2fa)]([]),this['_roomMembers$'][_0x376c94(0x26c)]();}[_0x45f550(0x30a)](){const _0x1fb263=_0x45f550;this[_0x1fb263(0x22b)]||(this[_0x1fb263(0x22b)]=!0x0,this['_session'][_0x1fb263(0x46a)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0xbafa9f=>{const _0xa3e605=_0x1fb263;_0xbafa9f===_0x2de05c[_0xa3e605(0x334)][_0xa3e605(0x23d)]?this[_0xa3e605(0x300)]():this['_toggleOffline']();}),this[_0x1fb263(0x3f5)][_0x1fb263(0x239)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this['dispose$']))[_0x1fb263(0x43e)](_0x45180a=>{const _0xdd6e23=_0x1fb263,_0x24e207=_0x45180a['eventID'];_0x24e207===_0xa5f490[_0xdd6e23(0x26a)]['UPDATE_CURSOR']&&this[_0xdd6e23(0x25b)](_0x45180a),_0x24e207===_0xa5f490[_0xdd6e23(0x26a)][_0xdd6e23(0x1f5)]&&this['_onCursorDelete'](_0x45180a);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)][_0x1fb263(0x2b0)](_0x31486d=>{const _0x33c120=_0x1fb263,_0x305bf6=_0x31486d[_0x33c120(0x36f)];_0x305bf6!=null&&this[_0x33c120(0x475)]&&_0x31486d['id']===_0x17f20c[_0x33c120(0x3b0)]['id']&&_0x305bf6[_0x33c120(0x1f8)]===this[_0x33c120(0x332)]&&_0x305bf6['isEditing']===!0x1&&_0x305bf6['ranges']['length']>0x0&&this[_0x33c120(0x3c5)](_0x305bf6['ranges']);})),this[_0x1fb263(0x333)][_0x1fb263(0x398)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0x47bf57=>{const _0x2890d0=_0x1fb263;if((_0x47bf57==null?void 0x0:_0x47bf57[_0x2890d0(0x332)])!==this[_0x2890d0(0x332)])return;const _0x156b48={'eventID':_0xa5f490[_0x2890d0(0x26a)]['UPDATE_CURSOR'],'data':_0x47bf57};this[_0x2890d0(0x25b)](_0x156b48);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)]['onCommandExecuted'](_0x3dd847=>{const _0x1af1c4=_0x1fb263;if(_0x3dd847['params']==null)return;const _0x75d3f5=_0x3dd847[_0x1af1c4(0x36f)];if(_0x3dd847['id']!==_0x17f20c[_0x1af1c4(0x42d)]['id']||_0x75d3f5[_0x1af1c4(0x1f8)]!==this[_0x1af1c4(0x332)])return;const _0x12d456={'id':_0x1af1c4(0x492),'params':_0x75d3f5},_0x21ceba=this[_0x1af1c4(0x1e6)];for(const [_0x329940,_0x3b5652]of _0x21ceba){const _0xb87f17={'id':_0x1af1c4(0x492),'params':{'unitId':this[_0x1af1c4(0x332)],'actions':null,'textRanges':_0x3b5652[_0x1af1c4(0x3a2)]}},_0x2ace6c=this[_0x1af1c4(0x47b)][_0x1af1c4(0x375)](_0x12d456,_0xb87f17,!0x1);if(_0xa5f490[_0x1af1c4(0x46c)](_0x2ace6c))throw _0x2ace6c[_0x1af1c4(0x310)];_0x21ceba[_0x1af1c4(0x47c)](_0x329940,{..._0x3b5652,'ranges':_0x2ace6c['m2Prime']['params'][_0x1af1c4(0x22c)]});}queueMicrotask(()=>{const _0x22f394=_0x1af1c4;this[_0x22f394(0x331)][_0x22f394(0x2fa)](_0x21ceba);});})));}['_onCursorUpdate'](_0xffaa2e){const _0x506cce=_0x45f550;var _0x359553,_0x691c44;const {memberID:_0x138882,selection:_0x50096a}=_0xffaa2e[_0x506cce(0x213)],_0x30263f=_0xcdb123(_0x50096a),_0x152471=(_0x691c44=(_0x359553=this[_0x506cce(0x26e)][_0x506cce(0x470)](this[_0x506cce(0x332)],_0x138882))==null?void 0x0:_0x359553[_0x506cce(0x47f)])!=null?_0x691c44:_0x506cce(0x33d),_0x5b8232={'color':this['_colorAssignService'][_0x506cce(0x43d)](_0x138882),'name':_0x152471,'ranges':_0x30263f},_0x2cec7f=this[_0x506cce(0x1e6)];_0x2cec7f[_0x506cce(0x47c)](_0x138882,_0x5b8232),this[_0x506cce(0x331)][_0x506cce(0x2fa)](_0x2cec7f);}[_0x45f550(0x49f)](_0x351f8d){const _0x228ca3=_0x45f550,{memberID:_0x58e18a}=_0x351f8d['data'],_0x4df7b9=this[_0x228ca3(0x1e6)];_0x4df7b9[_0x228ca3(0x340)](_0x58e18a),this[_0x228ca3(0x331)][_0x228ca3(0x2fa)](_0x4df7b9);}[_0x45f550(0x300)](){const _0x19761c=_0x45f550;var _0x1ee8ca;if(this[_0x19761c(0x475)]=!0x0,((_0x1ee8ca=this[_0x19761c(0x225)][_0x19761c(0x37b)]())==null?void 0x0:_0x1ee8ca[_0x19761c(0x296)]())!==this[_0x19761c(0x332)])return;const _0x2d7283=this[_0x19761c(0x234)][_0x19761c(0x4b4)](_0x17f20c[_0x19761c(0x2df)])[_0x19761c(0x321)]();Array[_0x19761c(0x37c)](_0x2d7283)&&_0x2d7283['length']>0x0&&this[_0x19761c(0x3c5)](_0x2d7283);}[_0x45f550(0x2e1)](){const _0x59b562=_0x45f550;this[_0x59b562(0x475)]=!0x1;}};_0x5e29f4=_0x583d97([_0x38bf1e(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4['Injector'])),_0x38bf1e(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x38bf1e(0x4,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x407)])),_0x38bf1e(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x38bf1e(0x6,_0xa5f490[_0x45f550(0x3bb)]),_0x38bf1e(0x7,_0x1187a4[_0x45f550(0x3a0)]),_0x38bf1e(0x8,_0x1187a4['ICommandService'])],_0x5e29f4);var _0x40f37e=Object[_0x45f550(0x38f)],_0x2e3808=(_0x84650b,_0x44180b,_0x12c8c3,_0x109db4)=>{const _0x4073dd=_0x45f550;for(var _0x30ba83=_0x109db4>0x1?void 0x0:_0x109db4?_0x40f37e(_0x44180b,_0x12c8c3):_0x44180b,_0x4bc3a5=_0x84650b[_0x4073dd(0x49c)]-0x1,_0x2f3e44;_0x4bc3a5>=0x0;_0x4bc3a5--)(_0x2f3e44=_0x84650b[_0x4bc3a5])&&(_0x30ba83=_0x2f3e44(_0x30ba83)||_0x30ba83);return _0x30ba83;},_0x4ea09b=(_0x55a7ed,_0x14401f)=>(_0x4e5c20,_0x2934d9)=>_0x14401f(_0x4e5c20,_0x2934d9,_0x55a7ed);const _0x13a196=0x12c,_0x56c654=0x64,_0x820a61=()=>{let _0x10ca9f=[],_0x378ea2=!0x1;return _0x3132c0=>{const _0x414ba5=_0x2ce3;_0x10ca9f[_0x414ba5(0x3e8)](_0x3132c0),_0x378ea2||(_0x378ea2=!0x0,setTimeout(()=>{const _0x485670=_0x414ba5;_0x10ca9f[_0x485670(0x315)](_0x4436fa=>_0x4436fa()),_0x10ca9f=[],_0x378ea2=!0x1;}));};};let _0x1b6df5=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x3d918b,_0xcb40bf,_0x446f2f,_0x2073b4,_0x4a2f46,_0x4a5d52,_0xb46402,_0x2e0596){const _0x41fdcf=_0x45f550;super(),_0x4775d1(this,_0x41fdcf(0x475),!0x1),_0x4775d1(this,_0x41fdcf(0x22b),!0x1),_0x4775d1(this,_0x41fdcf(0x331),new _0x1068bb[(_0x41fdcf(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x4775d1(this,_0x41fdcf(0x30e),new _0x1068bb[(_0x41fdcf(0x390))]([])),_0x4775d1(this,'roomMembers$',this[_0x41fdcf(0x30e)][_0x41fdcf(0x229)](_0x1068bb[_0x41fdcf(0x2a4)](_0x13a196))),_0x4775d1(this,'_updateLocalCursor',_0x1187a4['debounce']((_0x125811,_0x26225b)=>{const _0x3602d1=_0x41fdcf,_0x4f2eef={'eventID':_0xa5f490[_0x3602d1(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3602d1(0x332)],'memberID':this[_0x3602d1(0x3f5)][_0x3602d1(0x490)](),'selection':_0xbede2[_0x3602d1(0x47e)](_0x125811,_0x26225b[_0x3602d1(0x41c)])}};this[_0x3602d1(0x3f5)][_0x3602d1(0x2f3)](_0x4f2eef,this[_0x3602d1(0x332)]);},_0x56c654)),(this[_0x41fdcf(0x332)]=_0x3d918b,this[_0x41fdcf(0x3f5)]=_0xcb40bf,this['_injector']=_0x446f2f,this[_0x41fdcf(0x31d)]=_0x2073b4,this['_memberService']=_0x4a2f46,this['_univerInstanceService']=_0x4a5d52,this[_0x41fdcf(0x312)]=_0xb46402,this[_0x41fdcf(0x2ad)]=_0x2e0596);}get[_0x45f550(0x1e6)](){const _0x34d085=_0x45f550;return this[_0x34d085(0x331)][_0x34d085(0x43a)]();}get[_0x45f550(0x324)](){const _0x2bbcae=_0x45f550;return this[_0x2bbcae(0x30e)][_0x2bbcae(0x43a)]();}[_0x45f550(0x244)](){const _0x45f01a=_0x45f550;super[_0x45f01a(0x244)](),this[_0x45f01a(0x331)][_0x45f01a(0x2fa)](new Map()),this[_0x45f01a(0x331)][_0x45f01a(0x26c)](),this['_roomMembers$'][_0x45f01a(0x2fa)]([]),this['_roomMembers$']['complete']();}[_0x45f550(0x30a)](){const _0x3926fb=_0x45f550;this[_0x3926fb(0x22b)]||(this[_0x3926fb(0x22b)]=!0x0,this[_0x3926fb(0x3f5)][_0x3926fb(0x46a)][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x4c144b=>{const _0x557f3c=_0x3926fb;_0x4c144b===_0x2de05c[_0x557f3c(0x334)]['ONLINE']?this[_0x557f3c(0x300)]():this[_0x557f3c(0x2e1)]();}),this['_session']['event$'][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x3b29b1=>{const _0x58a669=_0x3926fb,_0x34ce2b=_0x3b29b1['eventID'];_0x34ce2b===_0xa5f490[_0x58a669(0x26a)][_0x58a669(0x214)]&&this['_onCursorUpdate'](_0x3b29b1),_0x34ce2b===_0xa5f490[_0x58a669(0x26a)]['USERS_LEAVE']&&this[_0x58a669(0x49f)](_0x3b29b1);}),this[_0x3926fb(0x2f7)](),this[_0x3926fb(0x30d)](this[_0x3926fb(0x312)][_0x3926fb(0x2b0)](_0xe8441c=>{const _0x30ff1b=_0x3926fb;if(this[_0x30ff1b(0x475)]&&_0xe8441c['id']===_0x2fe98e['SetSelectionsOperation']['id']&&_0xe8441c[_0x30ff1b(0x36f)]['unitId']===this['unitID']){const _0x1d64e7=_0xe8441c['params'];this['_updateLocalCursor'](_0x1d64e7['subUnitId'],_0x1d64e7[_0x30ff1b(0x2ac)][0x0]);}})));}[_0x45f550(0x25b)](_0x1a4b1e){const _0x45b3eb=_0x45f550;var _0x41cae7,_0x1dbf9f;const {memberID:_0x1a8716,selection:_0x17c87e}=_0x1a4b1e['data'],{sheetName:_0x2d00e7,range:_0x364488}=_0xbede2[_0x45b3eb(0x49a)](_0x17c87e),_0x527eb1={'name':(_0x1dbf9f=(_0x41cae7=this[_0x45b3eb(0x26e)]['getMember'](this[_0x45b3eb(0x332)],_0x1a8716))==null?void 0x0:_0x41cae7[_0x45b3eb(0x47f)])!=null?_0x1dbf9f:_0x45b3eb(0x33d),'range':this['_getMergeRange'](_0x2d00e7,_0x364488),'sheetID':_0x2d00e7,'color':this[_0x45b3eb(0x31d)]['assignAColorForMemberID'](_0x1a8716),'selection':_0x17c87e},_0x3d4fc8=this[_0x45b3eb(0x1e6)];_0x3d4fc8[_0x45b3eb(0x47c)](_0x1a8716,_0x527eb1),this[_0x45b3eb(0x331)][_0x45b3eb(0x2fa)](_0x3d4fc8);}['_onCursorDelete'](_0x4b14f8){const _0x2758ea=_0x45f550,{memberID:_0x578be7}=_0x4b14f8[_0x2758ea(0x213)],_0x340932=this[_0x2758ea(0x1e6)];_0x340932[_0x2758ea(0x340)](_0x578be7),this['_cursorInfo$'][_0x2758ea(0x2fa)](_0x340932);}[_0x45f550(0x29f)](_0x4d33c9,_0x3b5b17){const _0x43782a=_0x45f550;var _0x3441f9,_0x24f938;const _0x2c7f39=(_0x24f938=(_0x3441f9=this[_0x43782a(0x225)][_0x43782a(0x376)](this[_0x43782a(0x332)]))==null?void 0x0:_0x3441f9[_0x43782a(0x3f2)](_0x4d33c9))==null?void 0x0:_0x24f938[_0x43782a(0x26f)]();return(_0x2c7f39==null?void 0x0:_0x2c7f39['find'](_0x5cedef=>_0x1187a4[_0x43782a(0x25d)][_0x43782a(0x3fa)](_0x5cedef,_0x3b5b17)))||_0x3b5b17;}[_0x45f550(0x2f7)](){const _0x55fcda=_0x45f550,_0x47520f=new _0x1187a4[(_0x55fcda(0x2c7))](),_0x490e84=_0x820a61(),_0x2900ff=()=>{const _0x31d36c=_0x55fcda;_0x47520f['dispose']();const _0x100371=(_0x17959f,_0x225b54,_0x3ba45b,_0x29d909)=>{const _0x151196=_0x2ce3;let _0x2ccc70=[];switch(_0x17959f['id']){case _0x2fe98e[_0x151196(0x386)][_0x151196(0x292)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x3fb)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x4a0)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x2ff)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3bd)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x359)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x491)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveDown'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3e2)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveRight'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3f8)]:{_0x2ccc70=_0x2fe98e['handleInsertRow'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['MoveRangeCommandId']:{_0x2ccc70=_0x2fe98e['handleMoveRange'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveColCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveCol'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveRowCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveRow'](_0x17959f,_0x29d909);break;}}const _0x3ea530=_0x2fe98e[_0x151196(0x411)](_0x2ccc70,_0x29d909),_0x27f41e=this[_0x151196(0x1e6)][_0x151196(0x4b4)](_0x225b54);if(_0x27f41e&&_0x3ea530){const _0x276778={..._0x27f41e,'range':_0x3ea530};this[_0x151196(0x1e6)][_0x151196(0x47c)](_0x225b54,_0x276778),_0x490e84(()=>{const _0x337db1=_0x151196,_0xc13432=this['_refRangeService'][_0x337db1(0x3b5)](_0x3ea530,_0x6085eb=>(_0xc13432[_0x337db1(0x244)](),_0x100371(_0x6085eb,_0x225b54,_0x3ba45b,_0x3ea530)));_0x47520f[_0x337db1(0x481)](_0xc13432);});}return{'redos':[],'undos':[]};};this[_0x31d36c(0x1e6)][_0x31d36c(0x315)]((_0x6f25e8,_0x3713e3)=>{const _0x36f63d=_0x31d36c,{range:_0x59a6d6,sheetID:_0x24017b}=_0x6f25e8,_0x1acb16=this[_0x36f63d(0x2ad)][_0x36f63d(0x3b5)](_0x59a6d6,_0x4ee253=>(_0x1acb16[_0x36f63d(0x244)](),_0x100371(_0x4ee253,_0x3713e3,_0x24017b,_0x59a6d6)));_0x47520f[_0x36f63d(0x481)](_0x1acb16);});};this[_0x55fcda(0x30d)](_0x1187a4['toDisposable'](this[_0x55fcda(0x331)][_0x55fcda(0x43e)](()=>{_0x2900ff();})));}[_0x45f550(0x300)](){const _0x426be7=_0x45f550;var _0xf04161,_0x1c8864;if(this[_0x426be7(0x475)]=!0x0,((_0xf04161=this[_0x426be7(0x225)][_0x426be7(0x37b)]())==null?void 0x0:_0xf04161[_0x426be7(0x296)]())!==this['unitID'])return;const _0x45e37d=(_0x1c8864=this['_injector']['get'](_0x2fe98e[_0x426be7(0x32f)])['getCurrentSelections']())==null?void 0x0:_0x1c8864[0x0],_0x28864a=this[_0x426be7(0x225)]['getCurrentUnitForType'](_0x1187a4[_0x426be7(0x2ed)]['UNIVER_SHEET'])['getActiveSheet']();_0x45e37d&&_0x28864a&&this['_updateLocalCursor'](_0x28864a['getSheetId'](),_0x45e37d);}[_0x45f550(0x2e1)](){const _0x3499e1=_0x45f550;this[_0x3499e1(0x475)]=!0x1;}};_0x1b6df5=_0x2e3808([_0x4ea09b(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ea09b(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x4ea09b(0x4,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x407)])),_0x4ea09b(0x5,_0x1187a4[_0x45f550(0x3a0)]),_0x4ea09b(0x6,_0x1187a4['ICommandService']),_0x4ea09b(0x7,_0x1187a4['Inject'](_0x2fe98e[_0x45f550(0x2c8)]))],_0x1b6df5);var _0x30c638=Object[_0x45f550(0x38f)],_0x563405=(_0x3495c2,_0x329521,_0x14efeb,_0x3bef5c)=>{const _0x48dfa4=_0x45f550;for(var _0x52c63f=_0x3bef5c>0x1?void 0x0:_0x3bef5c?_0x30c638(_0x329521,_0x14efeb):_0x329521,_0x115e99=_0x3495c2[_0x48dfa4(0x49c)]-0x1,_0x44f879;_0x115e99>=0x0;_0x115e99--)(_0x44f879=_0x3495c2[_0x115e99])&&(_0x52c63f=_0x44f879(_0x52c63f)||_0x52c63f);return _0x52c63f;},_0x1b1bdb=(_0x58dd63,_0x26aeee)=>(_0x22daa1,_0x46e7c5)=>_0x26aeee(_0x22daa1,_0x46e7c5,_0x58dd63);let _0x12a146=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x7b9b9,_0x4e7066,_0x130099){const _0x47ce1a=_0x45f550;super(),_0x4775d1(this,'_entities',new Map()),_0x4775d1(this,_0x47ce1a(0x1f9),new _0x1068bb[(_0x47ce1a(0x448))]()),(this[_0x47ce1a(0x225)]=_0x7b9b9,this[_0x47ce1a(0x234)]=_0x4e7066,this[_0x47ce1a(0x3b8)]=_0x130099,this[_0x47ce1a(0x22b)]());}[_0x45f550(0x244)](){const _0x388cf2=_0x45f550;super['dispose'](),this[_0x388cf2(0x1f9)][_0x388cf2(0x26c)](),this['_entities'][_0x388cf2(0x315)](_0x19be0a=>_0x19be0a[_0x388cf2(0x244)]());}['getCollabCursors$'](_0x51a05b){const _0x175b41=_0x45f550;return this[_0x175b41(0x44f)][_0x175b41(0x478)](_0x51a05b)?this['_entities'][_0x175b41(0x4b4)](_0x51a05b)['cursorInfo$']:this[_0x175b41(0x1f9)][_0x175b41(0x229)](_0x1068bb[_0x175b41(0x367)](_0x4425ce=>_0x4425ce[_0x175b41(0x332)]===_0x51a05b),_0x1068bb[_0x175b41(0x355)](_0x5bbf18=>_0x5bbf18[_0x175b41(0x3cb)]));}[_0x45f550(0x22b)](){const _0x48b013=_0x45f550;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET'])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](async _0x22bee7=>{const _0x4c8d94=_0x48b013,_0xf7b1c4=_0x22bee7[_0x4c8d94(0x296)](),_0x28be3d=await this[_0x4c8d94(0x297)](_0xf7b1c4);this[_0x4c8d94(0x1f9)]['next'](_0x28be3d),this[_0x4c8d94(0x44f)][_0x4c8d94(0x47c)](_0xf7b1c4,_0x28be3d);}),this[_0x48b013(0x225)][_0x48b013(0x374)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this['dispose$']))[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x367)](_0x120d66=>!_0x120d66['getUnitId']()[_0x48b013(0x3ae)]('__')))[_0x48b013(0x43e)](async _0x27db8c=>{const _0x58889c=_0x48b013,_0x3efc8d=_0x27db8c[_0x58889c(0x296)](),_0x42bfd9=await this[_0x58889c(0x200)](_0x3efc8d);this[_0x58889c(0x1f9)][_0x58889c(0x2fa)](_0x42bfd9),this[_0x58889c(0x44f)]['set'](_0x3efc8d,_0x42bfd9);}),_0x1068bb[_0x48b013(0x201)](this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)]),this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET']))[_0x48b013(0x229)](_0x1068bb['takeUntil'](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](_0x3612d9=>{const _0x3252ea=_0x48b013,_0x781d7c=_0x3612d9[_0x3252ea(0x296)](),_0x5d76ca=this[_0x3252ea(0x44f)][_0x3252ea(0x4b4)](_0x781d7c);_0x5d76ca&&(_0x5d76ca[_0x3252ea(0x244)](),this[_0x3252ea(0x44f)][_0x3252ea(0x340)](_0x781d7c));});}async[_0x45f550(0x297)](_0x17b677){const _0x364ee0=_0x45f550,_0x523f2b=await this[_0x364ee0(0x3b8)][_0x364ee0(0x40b)](_0x17b677),_0x40e86c=this['_injector'][_0x364ee0(0x1f1)](_0x1b6df5,_0x17b677,_0x523f2b);return _0x40e86c[_0x364ee0(0x30a)](),_0x40e86c;}async[_0x45f550(0x200)](_0x2e2897){const _0xecc31e=_0x45f550,_0x10683e=await this['_collabSessionService'][_0xecc31e(0x40b)](_0x2e2897),_0xefd470=this['_injector'][_0xecc31e(0x1f1)](_0x5e29f4,_0x2e2897,_0x10683e);return _0xefd470[_0xecc31e(0x30a)](),_0xefd470;}};_0x12a146=_0x563405([_0x1b1bdb(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x1b1bdb(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x1b1bdb(0x2,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x44a)]))],_0x12a146);const _0x17be04=0x14,_0x2c4bda=0xc8,_0x217bb7=0x4,_0x125b2b=0x5;function _0xd69afb(_0x4e75f2,_0x30785e){const _0x3d7966=_0x45f550;let {radius:_0x247030,width:_0x1d45c1,height:_0xb34e27}=_0x30785e;_0x247030=_0x247030!=null?_0x247030:0x0,_0x1d45c1=_0x1d45c1!=null?_0x1d45c1:0x1e,_0xb34e27=_0xb34e27!=null?_0xb34e27:0x1e;let _0x4ea55b=0x0,_0x27078d=0x0,_0x15a492=0x0;_0x4ea55b=_0x27078d=_0x15a492=Math['min'](_0x247030,_0x1d45c1/0x2,_0xb34e27/0x2),_0x4e75f2[_0x3d7966(0x46f)](),_0x4e75f2[_0x3d7966(0x302)](_0x4ea55b,0x0),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1-_0x27078d,0x0),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x27078d,_0x27078d,_0x27078d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1,_0xb34e27-_0x15a492),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x15a492,_0xb34e27-_0x15a492,_0x15a492,0x0,Math['PI']/0x2,!0x1),_0x4e75f2[_0x3d7966(0x431)](0x0,_0xb34e27),_0x4e75f2[_0x3d7966(0x431)](0x0,_0x4ea55b),_0x4e75f2[_0x3d7966(0x39a)](_0x4ea55b,_0x4ea55b,_0x4ea55b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e75f2[_0x3d7966(0x236)](),_0x30785e['fill']&&(_0x4e75f2[_0x3d7966(0x293)](),_0x4e75f2[_0x3d7966(0x482)]=_0x30785e[_0x3d7966(0x2cf)],_0x30785e[_0x3d7966(0x466)]===_0x3d7966(0x430)?_0x4e75f2[_0x3d7966(0x2cf)]('evenodd'):_0x4e75f2[_0x3d7966(0x2cf)](),_0x4e75f2[_0x3d7966(0x446)]());}class _0x2978f3 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5c6a77,_0x162d4c){const _0x107d68=_0x45f550;super(_0x5c6a77,_0x162d4c),_0x4775d1(this,_0x107d68(0x2de)),_0x4775d1(this,'text'),(this[_0x107d68(0x2de)]=_0x162d4c==null?void 0x0:_0x162d4c[_0x107d68(0x2de)],this[_0x107d68(0x2a3)]=_0x162d4c==null?void 0x0:_0x162d4c['text']);}static[_0x45f550(0x29c)](_0xe463ff,_0x4bea87){const _0x31c4e1=_0x45f550,{text:_0x14e732,color:_0x2ef6e8}=_0x4bea87;_0xe463ff[_0x31c4e1(0x293)](),_0xe463ff['font']=_0x31c4e1(0x2cb);const _0x4be780=_0xe463ff[_0x31c4e1(0x28c)](_0x14e732)[_0x31c4e1(0x3d6)],_0x1e7b02=Math[_0x31c4e1(0x38c)](_0x4be780+0x2*_0x217bb7,_0x2c4bda);_0xd69afb(_0xe463ff,{'height':_0x17be04,'radius':0x4,'width':_0x1e7b02,'fill':_0x2ef6e8}),_0xe463ff[_0x31c4e1(0x482)]=_0x31c4e1(0x363);const _0x36ad7b=_0x217bb7,_0x107db3=_0x17be04-_0x125b2b,_0x1acd58=_0x2c4bda-0x2*_0x217bb7;if(_0x4be780>_0x1acd58){let _0x392444='',_0x93a718=0x0;for(const _0x3fede8 of _0x14e732){const _0xaeb751=_0xe463ff[_0x31c4e1(0x28c)](_0x3fede8)[_0x31c4e1(0x3d6)];if(_0x93a718+_0xaeb751<=_0x1acd58-_0xe463ff[_0x31c4e1(0x28c)](_0x31c4e1(0x38d))[_0x31c4e1(0x3d6)])_0x392444+=_0x3fede8,_0x93a718+=_0xaeb751;else{_0x392444+='...';break;}}_0xe463ff[_0x31c4e1(0x1fc)](_0x392444,_0x36ad7b,_0x107db3);}else _0xe463ff['fillText'](_0x14e732,_0x36ad7b,_0x107db3);_0xe463ff[_0x31c4e1(0x446)]();}[_0x45f550(0x257)](_0x2a2418){_0x2978f3['drawWith'](_0x2a2418,this);}}const _0x3106a7='collab-text-anchor-',_0x280658=_0x45f550(0x485),_0x447db4=_0x45f550(0x32b),_0x34867a=0x6,_0x3e13d1=1.5,_0x4510f7=0x4,_0x2f7386=1.5,_0x591f9f=_0x45f550(0x48d);class _0x20f467{constructor(_0x2aca9b,_0x533405,_0x434fe0,_0x2ac8ad){const _0x55c983=_0x45f550;_0x4775d1(this,_0x55c983(0x37e),[]),_0x4775d1(this,_0x55c983(0x325),null),_0x4775d1(this,'_textBubble',null),_0x4775d1(this,_0x55c983(0x49e),null),_0x4775d1(this,_0x55c983(0x4a4),null),_0x4775d1(this,'_eventUnsubscribe',null),(this[_0x55c983(0x444)]=_0x2aca9b,this['_scene']=_0x533405,this['_docSkeleton']=_0x434fe0,this[_0x55c983(0x263)]=_0x2ac8ad,this[_0x55c983(0x25c)]());}set[_0x45f550(0x20f)](_0x3655c3){const _0x4a9db9=_0x45f550;_0x3655c3?(this['_anchorDot']&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x487)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x471)]()):(this[_0x4a9db9(0x49e)]&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x471)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x487)]());}['dispose'](){const _0x39e879=_0x45f550;for(const _0x34bd5f of this[_0x39e879(0x37e)])_0x34bd5f[_0x39e879(0x244)]();this[_0x39e879(0x1ff)]&&this[_0x39e879(0x1ff)][_0x39e879(0x244)](),this[_0x39e879(0x49e)]&&this['_anchorDot']['dispose'](),this[_0x39e879(0x325)]&&this[_0x39e879(0x325)][_0x39e879(0x244)](),this['_eventUnsubscribe']&&this[_0x39e879(0x373)]();}[_0x45f550(0x25c)](){const _0x37fd36=_0x45f550;var _0x5f2eea;const {_docSkeleton:_0x48f239,_document:_0x430278}=this,{color:_0x578925,name:_0x33ce8e,ranges:_0x4db81a}=this['_cursor'],_0x558f6b=_0x430278['getOffsetConfig'](),{docsLeft:_0x1f3ab4,docsTop:_0x56ebb0}=_0x558f6b,_0x5456ab=new _0x1b81cc[(_0x37fd36(0x379))](_0x558f6b,_0x48f239);for(const {startOffset:_0x3f9ba3,endOffset:_0x484240,rangeType:_0x92e69,segmentId:_0x235fbf,segmentPage:_0x5ec2d9,collapsed:_0x39ec20,isActive:_0x5b06d0}of _0x4db81a){const _0x10f6db=_0x48f239[_0x37fd36(0x486)](_0x3f9ba3,!0x0,_0x235fbf,_0x5ec2d9);let _0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240,!0x0,_0x235fbf,_0x5ec2d9);if(_0x355134==null&&(_0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240-0x1,!0x1,_0x235fbf,_0x5ec2d9)),_0x5b06d0){const {contentBoxPointGroup:_0x40b591}=_0x5456ab['getRangePointData'](_0x355134,_0x355134);if(_0x40b591['length']===0x0)continue;this[_0x37fd36(0x424)](_0x578925,_0x40b591,_0x1f3ab4,_0x56ebb0,_0x33ce8e),this[_0x37fd36(0x373)]=this['_handleHover']();}if(_0x10f6db&&_0x355134){if(_0x92e69===_0x1187a4[_0x37fd36(0x2e8)]['RECT']){const _0x31a31f=new _0x1b81cc[(_0x37fd36(0x2bd))](_0x558f6b,_0x48f239),{pointGroup:_0x5ea144}=(_0x5f2eea=_0x31a31f['getRangePointData'](_0x10f6db,_0x355134))!=null?_0x5f2eea:{};if(_0x5ea144==null||_0x5ea144[_0x37fd36(0x49c)]===0x0)continue;this['_drawRectRange'](_0x578925,_0x5ea144,_0x1f3ab4,_0x56ebb0);}else{if(!_0x39ec20){const {borderBoxPointGroup:_0x1772a2}=_0x5456ab[_0x37fd36(0x20d)](_0x10f6db,_0x355134);if(_0x1772a2[_0x37fd36(0x49c)]===0x0)continue;this[_0x37fd36(0x397)](_0x578925,_0x1772a2,_0x1f3ab4,_0x56ebb0);}}}}}[_0x45f550(0x424)](_0x3fdcac,_0x1d8bbb,_0x18bdf2,_0x112e63,_0x22f6d2){const _0x2dad74=_0x45f550,_0x20044b=this[_0x2dad74(0x3f6)](_0x1d8bbb),{left:_0x105739,top:_0x48ae46,height:_0x1a5d00}=_0x20044b,_0x32de65=this[_0x2dad74(0x4a3)](),_0x1995b8=_0x2f7386/_0x32de65,_0x519a5c=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63,'height':_0x1a5d00,'width':_0x3e13d1,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4[_0x2dad74(0x34b)]['black'],0x0),'strokeWidth':_0x1995b8,'stroke':_0x591f9f,'evented':!0x0});this[_0x2dad74(0x325)]=_0x519a5c,this[_0x2dad74(0x261)][_0x2dad74(0x39e)](_0x519a5c,_0x1b81cc[_0x2dad74(0x35a)]);const _0x3c48f1=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x4510f7/0x2,'height':_0x4510f7,'width':_0x4510f7,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4['COLORS'][_0x2dad74(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3fdcac||_0x52d8dc['getColor'](_0x1187a4['COLORS']['black'],0x0),'evented':!0x1});this[_0x2dad74(0x49e)]=_0x3c48f1,this['_scene'][_0x2dad74(0x39e)](_0x3c48f1,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);const _0x28dfe9=new _0x2978f3(_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x17be04,'text':_0x22f6d2,'color':_0x3fdcac});this[_0x2dad74(0x1ff)]=_0x28dfe9,this[_0x2dad74(0x261)]['addObject'](_0x28dfe9,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']),this[_0x2dad74(0x20f)]=!0x1;}[_0x45f550(0x259)](){const _0x55c1eb=_0x45f550,_0x3dc1ef=this[_0x55c1eb(0x325)][_0x55c1eb(0x2f0)]['subscribeEvent'](()=>{const _0x5afcb3=_0x55c1eb;this[_0x5afcb3(0x20f)]=!0x0;}),_0x5a131f=this['_anchor'][_0x55c1eb(0x3b9)][_0x55c1eb(0x435)](()=>{const _0x137202=_0x55c1eb;this[_0x137202(0x4a4)]&&clearTimeout(this['_hideTimer']),this[_0x137202(0x4a4)]=setTimeout(()=>{const _0x4ffaa4=_0x137202;this[_0x4ffaa4(0x20f)]=!0x1;},0x7d0);});return()=>{const _0x581c53=_0x55c1eb;_0x3dc1ef[_0x581c53(0x3af)](),_0x5a131f['unsubscribe']();};}[_0x45f550(0x397)](_0x5cb18c,_0x458773,_0x5260af,_0x35cf8f){const _0x3994d1=_0x45f550,_0x4286ef=new _0x1187a4[(_0x3994d1(0x247))](_0x5cb18c)[_0x3994d1(0x4a2)](0.2)[_0x3994d1(0x383)](),_0x2e7d51=new _0x52d8dc[(_0x3994d1(0x2a5))](_0x280658+_0x1187a4[_0x3994d1(0x260)](_0x34867a),{'pointsGroup':_0x458773,'fill':_0x4286ef||_0x52d8dc[_0x3994d1(0x3d0)](_0x1187a4['COLORS'][_0x3994d1(0x2bb)],0.2),'left':_0x5260af,'top':_0x35cf8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3994d1(0x37e)][_0x3994d1(0x3e8)](_0x2e7d51),this[_0x3994d1(0x261)][_0x3994d1(0x39e)](_0x2e7d51,_0x1b81cc[_0x3994d1(0x35a)]);}[_0x45f550(0x283)](_0x5a1ece,_0x14f3be,_0x3c63d4,_0x4262d3){const _0x362ea9=_0x45f550,_0x35fb4d=new _0x1187a4[(_0x362ea9(0x247))](_0x5a1ece)[_0x362ea9(0x4a2)](0.2)['toRgbString'](),_0x4164f3=new _0x52d8dc[(_0x362ea9(0x2a5))](_0x447db4+_0x1187a4[_0x362ea9(0x260)](_0x34867a),{'pointsGroup':_0x14f3be,'fill':_0x35fb4d||_0x52d8dc['getColor'](_0x1187a4['COLORS'][_0x362ea9(0x2bb)],0.2),'left':_0x3c63d4,'top':_0x4262d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x362ea9(0x37e)][_0x362ea9(0x3e8)](_0x4164f3),this[_0x362ea9(0x261)][_0x362ea9(0x39e)](_0x4164f3,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);}[_0x45f550(0x3f6)](_0x4048ef){const _0x54a0be=_0x4048ef[0x0],_0x4b5821=_0x54a0be[0x0],_0x1e1afa=_0x54a0be[0x2],{x:_0x455b99,y:_0x224a2f}=_0x4b5821,{x:_0x54bd9a,y:_0x4ecb02}=_0x1e1afa;return{'left':_0x455b99,'top':_0x224a2f,'width':_0x54bd9a-_0x455b99,'height':_0x4ecb02-_0x224a2f};}[_0x45f550(0x4a3)](){const {scaleX:_0x877ab8,scaleY:_0x275fc5}=this['_scene']['getAncestorScale']();return Math['max'](_0x877ab8,_0x275fc5);}}var _0x5545c1=Object[_0x45f550(0x38f)],_0x45f7d8=(_0x2c0fd9,_0x19f843,_0x281a54,_0x2b2b8f)=>{const _0x2bbe62=_0x45f550;for(var _0x5a1919=_0x2b2b8f>0x1?void 0x0:_0x2b2b8f?_0x5545c1(_0x19f843,_0x281a54):_0x19f843,_0x107de8=_0x2c0fd9[_0x2bbe62(0x49c)]-0x1,_0x3585b4;_0x107de8>=0x0;_0x107de8--)(_0x3585b4=_0x2c0fd9[_0x107de8])&&(_0x5a1919=_0x3585b4(_0x5a1919)||_0x5a1919);return _0x5a1919;},_0x42c3f8=(_0x32cc32,_0x987b7a)=>(_0x11e297,_0x578558)=>_0x987b7a(_0x11e297,_0x578558,_0x32cc32);let _0x17ca61=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x17eb69,_0x361513,_0x26a05f,_0x3d317a,_0x273e3f){const _0x5e0693=_0x45f550;super(),_0x4775d1(this,_0x5e0693(0x238),[]),_0x4775d1(this,_0x5e0693(0x336),[]),(this[_0x5e0693(0x217)]=_0x17eb69,this[_0x5e0693(0x371)]=_0x361513,this[_0x5e0693(0x328)]=_0x26a05f,this[_0x5e0693(0x312)]=_0x3d317a,this[_0x5e0693(0x417)]=_0x273e3f,this[_0x5e0693(0x22b)]());}[_0x45f550(0x22b)](){const _0x16467b=_0x45f550,_0x4b103f=this[_0x16467b(0x217)][_0x16467b(0x1f8)],_0x10be9a=this[_0x16467b(0x371)];this[_0x16467b(0x30d)](_0x1068bb[_0x16467b(0x319)]([this['_collabCursorController']['getCollabCursors$'](_0x4b103f),this[_0x16467b(0x417)][_0x16467b(0x3a8)]])[_0x16467b(0x229)](_0x4ba09f['map'](([_0x59082c,_0x527603])=>({'skeleton':_0x10be9a['getSkeleton'](),'cursors':[..._0x59082c[_0x16467b(0x21c)]()][_0x16467b(0x307)](_0x1fd50b=>({..._0x1fd50b,'color':this[_0x16467b(0x417)]['getColorFromTheme'](_0x1fd50b[_0x16467b(0x2de)])}))})))[_0x16467b(0x43e)](_0x1dbb5c=>{const _0x553a01=_0x16467b;if(this[_0x553a01(0x329)](),_0x1dbb5c){const {skeleton:_0x3bf214,cursors:_0x5c174f}=_0x1dbb5c;this[_0x553a01(0x21a)](_0x3bf214,_0x5c174f);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x45f550(0x21a)](_0x5a3098,_0x48872f){const _0x21c5b7=_0x45f550,{scene:_0x42fbd0,mainComponent:_0x1e55d7}=this['_context'],_0x39a2c0=_0x48872f['map'](_0x5a3df4=>new _0x20f467(_0x5a3df4,_0x42fbd0,_0x5a3098,_0x1e55d7));this[_0x21c5b7(0x238)]=_0x39a2c0,this[_0x21c5b7(0x336)]=_0x48872f;}[_0x45f550(0x2eb)](){const _0x5271d9=_0x45f550;this[_0x5271d9(0x329)]();const {scene:_0x259d26,mainComponent:_0x29023a}=this[_0x5271d9(0x217)],_0x25335a=this['_docSkeletonManagerService'][_0x5271d9(0x42e)](),_0x5b29df=this[_0x5271d9(0x336)][_0x5271d9(0x2be)](_0x2cfe42=>new _0x20f467(_0x2cfe42,_0x259d26,_0x25335a,_0x29023a));this[_0x5271d9(0x238)]=_0x5b29df;}[_0x45f550(0x329)](){const _0x38b76a=_0x45f550;this[_0x38b76a(0x238)][_0x38b76a(0x315)](_0x2fe396=>_0x2fe396['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b9384=_0x45f550,_0xf7ae8c=[_0x1b81cc[_0x2b9384(0x3d3)]['id']];this['disposeWithMe'](this[_0x2b9384(0x312)]['onCommandExecuted'](_0x332e83=>{const _0x1d2c4d=_0x2b9384;_0xf7ae8c[_0x1d2c4d(0x291)](_0x332e83['id'])&&_0x332e83['params'][_0x1d2c4d(0x1f8)]===this[_0x1d2c4d(0x217)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x45f550(0x419)](){const _0x4a6ca4=_0x45f550;this[_0x4a6ca4(0x30d)](_0x1187a4[_0x4a6ca4(0x40e)](this[_0x4a6ca4(0x217)][_0x4a6ca4(0x49b)][_0x4a6ca4(0x22f)])[_0x4a6ca4(0x229)](_0x4ba09f[_0x4a6ca4(0x367)](_0x1fe248=>_0x1fe248[_0x4a6ca4(0x493)]===_0x52d8dc[_0x4a6ca4(0x1fa)][_0x4a6ca4(0x442)]),_0x4ba09f[_0x4a6ca4(0x2a2)](0x10))[_0x4a6ca4(0x43e)](()=>{this['_refreshCollabCursors']();}));}};_0x17ca61=_0x45f7d8([_0x42c3f8(0x1,_0x1187a4[_0x45f550(0x474)](_0x17f20c['DocSkeletonManagerService'])),_0x42c3f8(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x42c3f8(0x3,_0x1187a4[_0x45f550(0x2ab)]),_0x42c3f8(0x4,_0x1187a4['Inject'](_0x1187a4['ThemeService']))],_0x17ca61);const _0xae4647=0x1,_0x358b9a=1.5;class _0x377138 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5742d8,_0x1825ac){const _0x3463f0=_0x45f550;super(_0x5742d8,_0x1825ac),_0x4775d1(this,_0x3463f0(0x48f)),_0x4775d1(this,'_hovered',!0x1),_0x4775d1(this,_0x3463f0(0x29b)),_0x4775d1(this,'_name',''),_0x4775d1(this,_0x3463f0(0x250),_0x3463f0(0x305)),_0x4775d1(this,_0x3463f0(0x29e)),(_0x1825ac&&this[_0x3463f0(0x235)](_0x1825ac),this[_0x3463f0(0x2f0)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x0})),this[_0x3463f0(0x3b9)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x1})));}['setShapeProps'](_0x3515c5){const _0x220272=_0x45f550;var _0x807137,_0x4440dc,_0x1e7747,_0x1975db,_0x3feb38,_0x59dac1;this[_0x220272(0x48f)]=(_0x807137=_0x3515c5[_0x220272(0x2de)])!=null?_0x807137:this[_0x220272(0x48f)],this['_hovered']=(_0x4440dc=_0x3515c5[_0x220272(0x44e)])!=null?_0x4440dc:this[_0x220272(0x400)],this[_0x220272(0x29b)]=(_0x1e7747=_0x3515c5[_0x220272(0x41c)])!=null?_0x1e7747:this[_0x220272(0x29b)],this[_0x220272(0x25f)]=(_0x1975db=_0x3515c5[_0x220272(0x47f)])!=null?_0x1975db:this[_0x220272(0x25f)],this['_labelPosition']=(_0x3feb38=_0x3515c5['labelPosition'])!=null?_0x3feb38:this[_0x220272(0x250)],this['_backgroundColor']=(_0x59dac1=_0x3515c5[_0x220272(0x22d)])!=null?_0x59dac1:this[_0x220272(0x29e)],this[_0x220272(0x44d)]({'width':_0x3515c5[_0x220272(0x3d6)],'height':_0x3515c5[_0x220272(0x40f)]});}[_0x45f550(0x480)](_0x4770b8){const _0x463260=_0x45f550,{row:_0x26c45b,column:_0x1853f7}=_0x4770b8;if(_0x26c45b>=this[_0x463260(0x29b)][_0x463260(0x30b)]&&_0x26c45b<=this[_0x463260(0x29b)][_0x463260(0x211)]&&_0x1853f7>=this[_0x463260(0x29b)]['startColumn']&&_0x1853f7<=this[_0x463260(0x29b)][_0x463260(0x389)]){this[_0x463260(0x235)]({'hovered':!0x0});return;}this[_0x463260(0x235)]({'hovered':!0x1});}[_0x45f550(0x457)](_0x1bb43b){return!0x1;}[_0x45f550(0x257)](_0x4e80ba){const _0x4d2c58=_0x45f550;_0x52d8dc['Rect']['drawWith'](_0x4e80ba,{'width':this[_0x4d2c58(0x3d6)],'height':this[_0x4d2c58(0x40f)],'strokeWidth':_0x358b9a,'stroke':this[_0x4d2c58(0x48f)],'evented':!0x1,'fill':this[_0x4d2c58(0x29e)]}),this[_0x4d2c58(0x400)]&&(_0x4e80ba['save'](),_0x4e80ba[_0x4d2c58(0x3eb)](0x1,0x0,0x0,0x1,this[_0x4d2c58(0x3d6)],this[_0x4d2c58(0x250)]===_0x4d2c58(0x221)?0x0:-_0x17be04),_0x2978f3[_0x4d2c58(0x29c)](_0x4e80ba,{'text':this[_0x4d2c58(0x25f)],'color':this[_0x4d2c58(0x48f)]}),_0x4e80ba[_0x4d2c58(0x446)]());}}var _0x3c42d2=Object['getOwnPropertyDescriptor'],_0x15a7c3=(_0x392e63,_0x45602d,_0x1ce4d0,_0x1ef97e)=>{const _0x14d155=_0x45f550;for(var _0x215abd=_0x1ef97e>0x1?void 0x0:_0x1ef97e?_0x3c42d2(_0x45602d,_0x1ce4d0):_0x45602d,_0x310e3a=_0x392e63[_0x14d155(0x49c)]-0x1,_0x379e03;_0x310e3a>=0x0;_0x310e3a--)(_0x379e03=_0x392e63[_0x310e3a])&&(_0x215abd=_0x379e03(_0x215abd)||_0x215abd);return _0x215abd;},_0x2f7d3d=(_0xd8645a,_0x292ad3)=>(_0x10953d,_0x5bba3f)=>_0x292ad3(_0x10953d,_0x5bba3f,_0xd8645a);const _0x5148df=0x1389;let _0x43f6b3=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x77a16b,_0x15bbe8,_0x5e9ba5,_0x246d82){const _0x528988=_0x45f550;super(),_0x4775d1(this,_0x528988(0x336),new Set()),_0x4775d1(this,_0x528988(0x3f7),null),(this[_0x528988(0x217)]=_0x77a16b,this[_0x528988(0x35c)]=_0x15bbe8,this[_0x528988(0x328)]=_0x5e9ba5,this['_themeService']=_0x246d82,this[_0x528988(0x22b)]());}[_0x45f550(0x22b)](){const _0x3f0057=_0x45f550;this[_0x3f0057(0x35c)]['currentSkeleton$'][_0x3f0057(0x229)](_0x4ba09f[_0x3f0057(0x274)](this[_0x3f0057(0x2f8)]),_0x4ba09f[_0x3f0057(0x355)](_0x975fec=>{const _0xcfdcbf=_0x3f0057;if(_0x975fec){const _0x4d459a=_0x975fec['sheetId'];return _0x1068bb[_0xcfdcbf(0x319)](this['_collabCursorController'][_0xcfdcbf(0x2ae)](this[_0xcfdcbf(0x217)][_0xcfdcbf(0x1f8)]),this[_0xcfdcbf(0x417)][_0xcfdcbf(0x3a8)])[_0xcfdcbf(0x229)](_0x4ba09f[_0xcfdcbf(0x2be)](([_0x51d395,_0xc45db1])=>{const _0x3f02f0=_0xcfdcbf,_0x261142=new Map();return _0x51d395[_0x3f02f0(0x315)]((_0x10c688,_0x737d88)=>{const _0x171431=_0x3f02f0;if(_0x10c688[_0x171431(0x438)]===_0x4d459a){const _0x3285bd={..._0x10c688};_0x3285bd['color']=this[_0x171431(0x417)][_0x171431(0x299)](_0x10c688[_0x171431(0x2de)]),_0x261142[_0x171431(0x47c)](_0x737d88,_0x3285bd);}}),{'skeleton':_0x975fec,'cursors':_0x261142};}));}return _0x1068bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f0057(0x43e)](({skeleton:_0xaba89a,cursors:_0x1c7e60})=>{const _0x128fec=_0x3f0057;this[_0x128fec(0x329)](),_0xaba89a&&this[_0x128fec(0x21a)](_0xaba89a,_0x1c7e60);}),this['_sheetSkeletonManagerService'][_0x3f0057(0x356)]['subscribe'](_0x55c290=>{const _0x2bbf0d=_0x3f0057;if(_0x55c290==null)return;const {skeleton:_0x37b879}=_0x55c290,{scene:_0xce7979}=this[_0x2bbf0d(0x217)];_0xce7979[_0x2bbf0d(0x412)][_0x2bbf0d(0x435)](_0x1187a4['debounce'](_0x1a120d=>{const _0x4ff552=_0x2bbf0d;var _0x401c94,_0x356860;const {offsetX:_0x68c6b0,offsetY:_0x3ba564}=_0x1a120d,{x:_0x5852e4,y:_0x1b355a}=_0xce7979[_0x4ff552(0x2d9)](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x68c6b0,_0x3ba564])),{scaleX:_0x3b3841,scaleY:_0x1b3393}=_0xce7979[_0x4ff552(0x1e8)](),_0x31db6e=_0xce7979[_0x4ff552(0x273)](_0x52d8dc[_0x4ff552(0x320)]['VIEW_MAIN']),_0x31a313=_0xce7979['getVpScrollXYInfoByPosToVp'](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x5852e4,_0x1b355a]),_0x31db6e),_0x3c72f5=_0x37b879[_0x4ff552(0x264)](_0x68c6b0,_0x3ba564,_0x3b3841,_0x1b3393,_0x31a313);((_0x401c94=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x401c94[_0x4ff552(0x357)])===_0x3c72f5[_0x4ff552(0x357)]&&((_0x356860=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x356860[_0x4ff552(0x303)])===_0x3c72f5[_0x4ff552(0x303)]||this['_cursors'][_0x4ff552(0x315)](_0xea612c=>{_0xea612c['onMouseMove'](_0x3c72f5);});},0x64));});}['_updateCollabCursors'](_0x30bae5,_0x114afc){const _0x34d385=_0x45f550;var _0x21fbbb;const _0x2c9124=(_0x21fbbb=this[_0x34d385(0x35c)][_0x34d385(0x428)]())==null?void 0x0:_0x21fbbb[_0x34d385(0x1fe)];if(!_0x2c9124)return;const _0x27cb53=this['_getSheetObject']();if(!_0x27cb53)return;this[_0x34d385(0x336)]['forEach'](_0x2edcb9=>{const _0x4061cd=_0x34d385;_0x2edcb9[_0x4061cd(0x316)]();});const {scene:_0x8ecdad}=_0x27cb53,_0x926270=_0x4c0745(Array[_0x34d385(0x45e)](_0x114afc[_0x34d385(0x21c)]()))[_0x34d385(0x2be)](_0x51e23c=>{const _0x3c645c=_0x34d385,{color:_0x351c71,range:_0xe7e86,name:_0x4e9a1c,selection:_0x425be4,sheetID:_0x2e492d}=_0x51e23c,{startColumn:_0x2f2c64,startRow:_0x31516c,endColumn:_0x169628,endRow:_0x427e37}=_0xe7e86,_0x452ff7=_0x44ccda[_0x3c645c(0x42a)](_0x31516c,_0x2f2c64,_0x8ecdad,_0x2c9124),_0x4a7760=_0x44ccda[_0x3c645c(0x42a)](_0x427e37,_0x169628,_0x8ecdad,_0x2c9124),{columnHeaderHeightAndMarginTop:_0x3b5e94}=_0x2c9124,{startX:_0x336b8b,startY:_0xabf2ae}=_0x452ff7,{endX:_0x29ee4b,endY:_0x4e45f2}=_0x4a7760,_0x28dbbe=_0x29ee4b-_0x336b8b,_0x28e2e0=_0x4e45f2-_0xabf2ae,_0x18d54f={'labelPosition':_0xabf2ae-_0x3b5e94>=_0x17be04?_0x3c645c(0x305):'bottom','sheetID':_0x2e492d,'range':_0xe7e86,'color':_0x351c71,'name':_0x4e9a1c,'selection':_0x425be4,'left':_0x336b8b,'top':_0xabf2ae,'width':_0x28dbbe,'height':_0x28e2e0,'evented':!0x1,'zIndex':_0x5148df};return new _0x377138(_0x4e9a1c,_0x18d54f);});_0x8ecdad['addObjects'](_0x926270,_0xae4647),this['_cursors']=new Set(_0x926270);}[_0x45f550(0x329)](){const _0x5c60aa=_0x45f550;var _0x3a463e;(_0x3a463e=this[_0x5c60aa(0x336)])==null||_0x3a463e[_0x5c60aa(0x315)](_0x258ee8=>_0x258ee8[_0x5c60aa(0x244)]());}[_0x45f550(0x3c4)](){const _0x4f9d1e=_0x45f550;return _0x44ccda[_0x4f9d1e(0x243)](this['_context'][_0x4f9d1e(0x387)],this[_0x4f9d1e(0x217)]);}};_0x43f6b3=_0x15a7c3([_0x2f7d3d(0x1,_0x1187a4[_0x45f550(0x474)](_0x44ccda[_0x45f550(0x34d)])),_0x2f7d3d(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x2f7d3d(0x3,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3e9)]))],_0x43f6b3);function _0x4c0745(_0x32f508){const _0x204cd0=_0x45f550,_0x52e9d1=new Map();return _0x32f508[_0x204cd0(0x315)](_0x242d19=>{const _0x5c37f6=_0x204cd0;if(_0x52e9d1['has'](_0x242d19[_0x5c37f6(0x4a1)])){const _0x2d3cbc=_0x52e9d1[_0x5c37f6(0x4b4)](_0x242d19[_0x5c37f6(0x4a1)]);_0x2d3cbc[_0x5c37f6(0x47f)]+=',\x20'+_0x242d19[_0x5c37f6(0x47f)];}else _0x52e9d1[_0x5c37f6(0x47c)](_0x242d19[_0x5c37f6(0x4a1)],_0x242d19);}),Array[_0x204cd0(0x45e)](_0x52e9d1[_0x204cd0(0x21c)]());}var _0xba5bdf=Object[_0x45f550(0x38f)],_0x4e4eb7=(_0x18abf8,_0x211148,_0x3c2cd7,_0x136982)=>{const _0x1b2e2c=_0x45f550;for(var _0x1a1d10=_0x136982>0x1?void 0x0:_0x136982?_0xba5bdf(_0x211148,_0x3c2cd7):_0x211148,_0x1beaf5=_0x18abf8[_0x1b2e2c(0x49c)]-0x1,_0x46ed25;_0x1beaf5>=0x0;_0x1beaf5--)(_0x46ed25=_0x18abf8[_0x1beaf5])&&(_0x1a1d10=_0x46ed25(_0x1a1d10)||_0x1a1d10);return _0x1a1d10;},_0x24809d=(_0x1a8fa4,_0x3393f3)=>(_0x444ba8,_0x3c6253)=>_0x3393f3(_0x444ba8,_0x3c6253,_0x1a8fa4);let _0x3e8554=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x366c33,_0x40c9f2,_0x44feb6,_0x5759b5,_0x564fd3,_0x5bee14){const _0x193e9c=_0x45f550;super(),this[_0x193e9c(0x396)]=_0x366c33,this[_0x193e9c(0x27f)]=_0x40c9f2,this[_0x193e9c(0x2b4)]=_0x44feb6,this[_0x193e9c(0x2cd)]=_0x5759b5,this[_0x193e9c(0x46d)]=_0x564fd3,this['_localeService']=_0x5bee14,this['_setupBeforeClosingHandler'](),this[_0x193e9c(0x269)]();}['_setupBeforeClosingHandler'](){const _0x16fb21=_0x45f550;this[_0x16fb21(0x30d)](this[_0x16fb21(0x396)][_0x16fb21(0x308)](()=>{const _0x25a098=_0x16fb21;if(this[_0x25a098(0x27f)][_0x25a098(0x48e)][_0x25a098(0x427)])return this[_0x25a098(0x351)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x45f550(0x269)](){const _0x34950b=_0x45f550;this[_0x34950b(0x30d)](this[_0x34950b(0x2b4)][_0x34950b(0x239)][_0x34950b(0x43e)](_0x35ef9a=>{const _0x25535e=_0x34950b;_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x3b6)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x338))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x2c3)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x209))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x41d)]&&this[_0x25535e(0x46d)][_0x25535e(0x471)]({'title':this[_0x25535e(0x351)]['t'](_0x25535e(0x2e7)),'content':this['_localeService']['t'](_0x25535e(0x2d8)),'type':_0x25535e(0x310),'duration':0x0}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x38a)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4['MessageType'][_0x25535e(0x2c0)],'content':this['_localeService']['t'](_0x25535e(0x209))+'('+_0x35ef9a[_0x25535e(0x213)]+')'}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x406)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x4b5)],'content':this[_0x25535e(0x351)]['t'](_0x35ef9a[_0x25535e(0x213)]||'')}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x469)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this[_0x25535e(0x351)]['t']('session.will-retry')}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId'][_0x25535e(0x4a7)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Error'],'content':this['_localeService']['t'](_0x25535e(0x39d))}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x2c0)],'content':this[_0x25535e(0x351)]['t'](_0x25535e(0x4b1))});}));}};_0x3e8554=_0x4e4eb7([_0x24809d(0x0,_0x20024a[_0x45f550(0x399)]),_0x24809d(0x1,_0x2de05c[_0x45f550(0x348)]),_0x24809d(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x360)])),_0x24809d(0x3,_0x20024a[_0x45f550(0x392)]),_0x24809d(0x4,_0x20024a['INotificationService']),_0x24809d(0x5,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0x3e8554);const _0x3a1054=_0x45f550(0x402),_0x4af272={};var _0x3c1724=Object[_0x45f550(0x38f)],_0x41fe03=(_0x32f60c,_0x14c260,_0x503a15,_0xa510b1)=>{const _0x1762c4=_0x45f550;for(var _0x1bb24f=_0xa510b1>0x1?void 0x0:_0xa510b1?_0x3c1724(_0x14c260,_0x503a15):_0x14c260,_0x72c347=_0x32f60c[_0x1762c4(0x49c)]-0x1,_0x9d7650;_0x72c347>=0x0;_0x72c347--)(_0x9d7650=_0x32f60c[_0x72c347])&&(_0x1bb24f=_0x9d7650(_0x1bb24f)||_0x1bb24f);return _0x1bb24f;},_0x2dcfc8=(_0x263fec,_0x550f52)=>(_0x373ac0,_0x5e436a)=>_0x550f52(_0x373ac0,_0x5e436a,_0x263fec);let _0x444986=class{constructor(_0x4c553b,_0x2403a4){const _0x17da01=_0x45f550;this['_transformService']=_0x4c553b,this[_0x17da01(0x1f0)]=_0x2403a4;}[_0x45f550(0x24e)](_0xf16f0d){const _0x4105dc=_0x45f550;this[_0x4105dc(0x34c)](_0xf16f0d),this[_0x4105dc(0x3e3)](_0xf16f0d);}[_0x45f550(0x436)](_0x1408a6){const _0x3da2d9=_0x45f550,{unitID:_0x5a9206}=_0x1408a6,_0x95f431=this[_0x3da2d9(0x1f0)][_0x3da2d9(0x23e)](_0x5a9206)['with'](_0x1b81cc[_0x3da2d9(0x23c)]),{redoCache:_0x42e9e1}=_0x95f431[_0x3da2d9(0x37f)]();if(_0x42e9e1[_0x3da2d9(0x49c)]===0x0)return _0x1408a6;let _0x2651e1=_0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6[_0x3da2d9(0x3c1)][0x0]);for(let _0x144df8=0x0;_0x144df8<_0x42e9e1[_0x3da2d9(0x49c)];_0x144df8++){const _0x1c050b={'id':_0x3da2d9(0x492),'params':{..._0x42e9e1[_0x144df8]}},_0x540757=this[_0x3da2d9(0x47b)][_0x3da2d9(0x375)](_0x2651e1,_0x1c050b,!0x1);if(_0xa5f490[_0x3da2d9(0x46c)](_0x540757))throw _0x540757['error'];_0x2651e1=_0x540757[_0x3da2d9(0x2e6)];}return{..._0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6),'mutations':[_0x2651e1]};}[_0x45f550(0x34c)](_0x41abf5){const _0x2ede31=_0x45f550,{unitID:_0x15edfb}=_0x41abf5,_0x2e4ebe=this[_0x2ede31(0x1f0)]['getRenderById'](_0x15edfb)[_0x2ede31(0x25a)](_0x1b81cc['DocIMEInputManagerService']),{undoCache:_0xe42a89,redoCache:_0x1c6380}=_0x2e4ebe[_0x2ede31(0x37f)]();if(_0xe42a89[_0x2ede31(0x49c)]===0x0||_0x1c6380[_0x2ede31(0x49c)]===0x0)return;const _0x3e4bb8=[],_0x1f5589=[];let _0x556042=_0x1187a4[_0x2ede31(0x377)][_0x2ede31(0x2d0)](_0x41abf5['mutations'][0x0]),_0x25b2e4=_0x1187a4['Tools'][_0x2ede31(0x2d0)](_0x41abf5[_0x2ede31(0x3c1)][0x0]);for(let _0x29867f=_0xe42a89[_0x2ede31(0x49c)]-0x1;_0x29867f>=0x0;_0x29867f--){const _0x47b5f8={'id':_0x2ede31(0x492),'params':{..._0xe42a89[_0x29867f]}},_0x126a21={'id':_0x2ede31(0x492),'params':{..._0x1c6380[_0x29867f]}},_0x5b6d0d=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x556042,_0x47b5f8,!0x1),_0x8b4f2e=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x25b2e4,_0x126a21,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x5b6d0d))throw _0x5b6d0d[_0x2ede31(0x310)];if(_0xa5f490[_0x2ede31(0x46c)](_0x8b4f2e))throw _0x8b4f2e['error'];_0x3e4bb8['unshift'](_0x5b6d0d[_0x2ede31(0x421)][_0x2ede31(0x36f)]),_0x1f5589[_0x2ede31(0x248)](_0x8b4f2e[_0x2ede31(0x421)]['params']),_0x556042=_0x5b6d0d[_0x2ede31(0x2e6)],_0x25b2e4=_0x8b4f2e[_0x2ede31(0x2e6)];}_0x2e4ebe[_0x2ede31(0x352)]({'undoCache':_0x3e4bb8,'redoCache':_0x1f5589});}[_0x45f550(0x3e3)](_0x4bae5c){const _0x29210f=_0x45f550,{unitID:_0x45ad61}=_0x4bae5c,_0x1cb25d=this[_0x29210f(0x1f0)][_0x29210f(0x23e)](_0x45ad61)[_0x29210f(0x25a)](_0x1b81cc[_0x29210f(0x23c)]),_0x1aef4e=_0x1cb25d[_0x29210f(0x26d)]();if(_0x1aef4e==null)return;const _0x8825ef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bae5c[_0x29210f(0x332)],'actions':null,'textRanges':[_0x1aef4e]}}],_0x5f249b=this[_0x29210f(0x47b)][_0x29210f(0x1fd)](_0x4bae5c,_0x8825ef);if(!_0xa5f490[_0x29210f(0x216)](_0x5f249b))throw _0x5f249b['error'];const _0x2bc97a=_0x5f249b[_0x29210f(0x421)][0x0][_0x29210f(0x36f)][_0x29210f(0x22c)];Array[_0x29210f(0x37c)](_0x2bc97a)&&_0x2bc97a[_0x29210f(0x49c)]&&_0x1cb25d[_0x29210f(0x267)](_0x2bc97a[0x0]);}};_0x444986=_0x41fe03([_0x2dcfc8(0x0,_0xa5f490[_0x45f550(0x3bb)]),_0x2dcfc8(0x1,_0x52d8dc[_0x45f550(0x254)])],_0x444986);var _0x326908=Object['getOwnPropertyDescriptor'],_0x3c30c5=(_0xfba0ef,_0x2dbef2,_0x226565,_0x2dade6)=>{const _0x4ed5f9=_0x45f550;for(var _0x185f0f=_0x2dade6>0x1?void 0x0:_0x2dade6?_0x326908(_0x2dbef2,_0x226565):_0x2dbef2,_0x3c241d=_0xfba0ef[_0x4ed5f9(0x49c)]-0x1,_0x10ced2;_0x3c241d>=0x0;_0x3c241d--)(_0x10ced2=_0xfba0ef[_0x3c241d])&&(_0x185f0f=_0x10ced2(_0x185f0f)||_0x185f0f);return _0x185f0f;},_0x20e3c6=(_0x446d13,_0x469ffb)=>(_0x26505b,_0x5ece45)=>_0x469ffb(_0x26505b,_0x5ece45,_0x446d13);let _0x2f87dd=class{constructor(_0x5c46c7,_0x276c78,_0x2ce612){const _0x15ec9b=_0x45f550;this['_injector']=_0x5c46c7,this[_0x15ec9b(0x47b)]=_0x276c78,this[_0x15ec9b(0x289)]=_0x2ce612;}[_0x45f550(0x479)](_0x82260){const _0x21510b=_0x45f550;this[_0x21510b(0x3c3)](_0x82260);}[_0x45f550(0x436)](_0x9c707){const _0x50f6f9=_0x45f550,{unitID:_0x4ba1d8}=_0x9c707,{collaboration:_0x447a64}=this[_0x50f6f9(0x289)][_0x50f6f9(0x317)](_0x4ba1d8);if(_0x447a64['length']===0x0)return _0x9c707;let _0x17e137=_0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707[_0x50f6f9(0x3c1)][0x0]);for(let _0x6c104e=0x0;_0x6c104e<_0x447a64[_0x50f6f9(0x49c)];_0x6c104e++){const _0x20eebf={'id':_0x50f6f9(0x492),'params':{'unitId':_0x447a64[_0x6c104e][_0x50f6f9(0x1f8)],..._0x447a64[_0x6c104e][_0x50f6f9(0x32c)]}},_0x547c3c=this[_0x50f6f9(0x47b)]['transformMutation'](_0x17e137,_0x20eebf,!0x1);if(_0xa5f490[_0x50f6f9(0x46c)](_0x547c3c))throw _0x547c3c[_0x50f6f9(0x310)];_0x17e137=_0x547c3c['m1Prime'];}return{..._0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707),'mutations':[_0x17e137]};}[_0x45f550(0x3c3)](_0x173f20){const _0x36fefa=_0x45f550,{unitID:_0x4e58d3}=_0x173f20,{history:_0x37ce84,collaboration:_0x4f38cd}=this[_0x36fefa(0x289)][_0x36fefa(0x317)](_0x4e58d3);if(_0x37ce84[_0x36fefa(0x49c)]===0x0&&_0x4f38cd[_0x36fefa(0x49c)]===0x0)return;const _0x18bea3=[],_0x3c2ffd=[];let _0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)]['deepClone'](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x3d8754=_0x37ce84[_0x36fefa(0x49c)]-0x1;_0x3d8754>=0x0;_0x3d8754--){const _0x4921c6={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754][_0x36fefa(0x1f8)],..._0x37ce84[_0x3d8754][_0x36fefa(0x27b)]}},_0xb7e8bc={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754]['unitId'],..._0x37ce84[_0x3d8754][_0x36fefa(0x32c)]}},_0x231e9f=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x4921c6,!0x1),_0x1fece1=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0xb7e8bc,!0x1);if(_0xa5f490[_0x36fefa(0x46c)](_0x231e9f))throw _0x231e9f[_0x36fefa(0x310)];if(_0xa5f490['isTransformMutationFailure'](_0x1fece1))throw _0x1fece1[_0x36fefa(0x310)];_0x18bea3[_0x36fefa(0x248)]({..._0x37ce84[_0x3d8754],'undoState':_0x231e9f[_0x36fefa(0x421)]['params'],'redoState':_0x1fece1[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x231e9f[_0x36fefa(0x2e6)],_0x54f314=_0x1fece1[_0x36fefa(0x2e6)];}_0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x53d14a=_0x4f38cd['length']-0x1;_0x53d14a>=0x0;_0x53d14a--){const _0x1222f6={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a]['unitId'],..._0x4f38cd[_0x53d14a][_0x36fefa(0x27b)]}},_0x29f0c1={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a][_0x36fefa(0x1f8)],..._0x4f38cd[_0x53d14a][_0x36fefa(0x32c)]}},_0x4e5749=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x1222f6,!0x1),_0x445e96=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0x29f0c1,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x4e5749))throw _0x4e5749[_0x36fefa(0x310)];if(_0xa5f490[_0x36fefa(0x46c)](_0x445e96))throw _0x445e96['error'];_0x3c2ffd[_0x36fefa(0x248)]({..._0x4f38cd[_0x53d14a],'undoState':_0x4e5749[_0x36fefa(0x421)][_0x36fefa(0x36f)],'redoState':_0x445e96[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x4e5749[_0x36fefa(0x2e6)],_0x54f314=_0x445e96[_0x36fefa(0x2e6)];}this[_0x36fefa(0x289)][_0x36fefa(0x3e1)](_0x4e58d3,{'history':_0x18bea3,'collaboration':_0x3c2ffd});}};_0x2f87dd=_0x3c30c5([_0x20e3c6(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x20e3c6(0x1,_0xa5f490['ITransformService']),_0x20e3c6(0x2,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)]))],_0x2f87dd);var _0x3d1a45=Object[_0x45f550(0x38f)],_0x467ce9=(_0x3de351,_0xa8635,_0xc29e50,_0x469614)=>{const _0x403752=_0x45f550;for(var _0x2c6835=_0x469614>0x1?void 0x0:_0x469614?_0x3d1a45(_0xa8635,_0xc29e50):_0xa8635,_0x828a1f=_0x3de351[_0x403752(0x49c)]-0x1,_0x24798d;_0x828a1f>=0x0;_0x828a1f--)(_0x24798d=_0x3de351[_0x828a1f])&&(_0x2c6835=_0x24798d(_0x2c6835)||_0x2c6835);return _0x2c6835;},_0x299e07=(_0x4ebdd0,_0x38bc48)=>(_0x31a247,_0x2e5de7)=>_0x38bc48(_0x31a247,_0x2e5de7,_0x4ebdd0);let _0xab804=class{constructor(_0x6fe31c,_0x38dcc7){const _0x465fb8=_0x45f550;this[_0x465fb8(0x234)]=_0x6fe31c,this[_0x465fb8(0x47b)]=_0x38dcc7;}[_0x45f550(0x31e)](_0xa41fc1){const _0x1ab290=_0x45f550;var _0x4bf8cb;const _0x563f04=this[_0x1ab290(0x234)][_0x1ab290(0x4b4)](_0x17f20c[_0x1ab290(0x2df)]),_0x2f3987=(_0x4bf8cb=_0x563f04[_0x1ab290(0x321)]())!=null?_0x4bf8cb:[];if(_0x2f3987['length']===0x0)return;const _0x13f8da=_0xa41fc1[_0x1ab290(0x332)],_0x1a2d5f=[{'id':_0x1ab290(0x492),'params':{'unitId':_0x13f8da,'actions':null,'textRanges':_0x2f3987}}],_0x1c3091=this['_transformService']['transformMutationsWithChangeset'](_0xa41fc1,_0x1a2d5f);if(!_0xa5f490['isTransformMutationsWithChangesetSuccess'](_0x1c3091))throw _0x1c3091[_0x1ab290(0x310)];const _0x5a43e4=_0x1c3091[_0x1ab290(0x421)][0x0][_0x1ab290(0x36f)][_0x1ab290(0x22c)];Array[_0x1ab290(0x37c)](_0x5a43e4)&&_0x5a43e4[_0x1ab290(0x49c)]&&_0x563f04['replaceDocRanges'](_0x5a43e4,{'unitId':_0x13f8da,'subUnitId':_0x13f8da},!0x1);}};_0xab804=_0x467ce9([_0x299e07(0x0,_0x1187a4['Inject'](_0x1187a4[_0x45f550(0x2bc)])),_0x299e07(0x1,_0xa5f490[_0x45f550(0x3bb)])],_0xab804);var _0xdb65a5=Object['getOwnPropertyDescriptor'],_0x2ce73c=(_0x3aa6f4,_0x450567,_0x5d92f8,_0x1f55e8)=>{const _0x1adf8d=_0x45f550;for(var _0x5b341e=_0x1f55e8>0x1?void 0x0:_0x1f55e8?_0xdb65a5(_0x450567,_0x5d92f8):_0x450567,_0xbb346d=_0x3aa6f4[_0x1adf8d(0x49c)]-0x1,_0x102985;_0xbb346d>=0x0;_0xbb346d--)(_0x102985=_0x3aa6f4[_0xbb346d])&&(_0x5b341e=_0x102985(_0x5b341e)||_0x5b341e);return _0x5b341e;},_0x1c4ea2=(_0x348cb2,_0x3513da)=>(_0x4e23cb,_0x436baa)=>_0x3513da(_0x4e23cb,_0x436baa,_0x348cb2);let _0x1643ec=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x95267d,_0x1831e8,_0x480395,_0x422dba,_0x5887ba,_0x4def4d,_0xc71ac5,_0x5ef1bd){const _0x2c9748=_0x45f550;super(),_0x4775d1(this,_0x2c9748(0x2f6),new _0x1068bb[(_0x2c9748(0x390))](_0x2de05c[_0x2c9748(0x2f5)]['NOT_COLLAB'])),(this[_0x2c9748(0x289)]=_0x95267d,this[_0x2c9748(0x1e7)]=_0x1831e8,this[_0x2c9748(0x454)]=_0x480395,this[_0x2c9748(0x2e4)]=_0x422dba,this[_0x2c9748(0x460)]=_0x5887ba,this[_0x2c9748(0x241)]=_0x4def4d,this[_0x2c9748(0x2cd)]=_0xc71ac5,this[_0x2c9748(0x351)]=_0x5ef1bd,this[_0x2c9748(0x224)]());}[_0x45f550(0x224)](){const _0xce81ba=_0x45f550;this['disposeWithMe'](this[_0xce81ba(0x1e7)]['entityInit$'][_0xce81ba(0x43e)](_0x561113=>{const _0x5783cd=_0xce81ba,_0x4ae436=this[_0x5783cd(0x289)][_0x5783cd(0x28a)][_0x5783cd(0x43e)](_0x4bd07f=>{const _0x32b0db=_0x5783cd;if(_0x4bd07f==null)return;const {unitId:_0x30a875,redoState:_0x1dc18e,commandId:_0x33e61a}=_0x4bd07f;if(_0x30a875!==_0x561113[_0x32b0db(0x332)])return;const _0x29846f={'id':_0x33e61a,'type':_0x1187a4[_0x32b0db(0x28e)][_0x32b0db(0x425)],'params':{'unitId':_0x30a875,'actions':_0x1dc18e[_0x32b0db(0x34f)],'textRanges':null}};_0x561113[_0x32b0db(0x46b)](_0x29846f);});if(_0x561113[_0x5783cd(0x30d)](_0x4ae436),_0x561113 instanceof _0x2de05c[_0x5783cd(0x21d)]){const _0xe50d06={'onTransformIME':_0x9ac2=>this[_0x5783cd(0x454)][_0x5783cd(0x24e)](_0x9ac2),'onTransformState':_0x3a7433=>this['_docTransformStateCacheService'][_0x5783cd(0x479)](_0x3a7433),'onTransformSelections':_0x5369fd=>this[_0x5783cd(0x460)]['transformSelections'](_0x5369fd),'onSyncEditingCollabCursor':_0x2c0d12=>this[_0x5783cd(0x241)][_0x5783cd(0x249)](_0x2c0d12),'onTransformRemoteChangesetByIMECache':_0x2fae36=>this[_0x5783cd(0x454)][_0x5783cd(0x436)](_0x2fae36),'onTransformRemoteChangesetByStateCache':_0x190f2a=>this[_0x5783cd(0x2e4)]['transformRemoteChangeset'](_0x190f2a)};_0x561113[_0x5783cd(0x21e)](_0xe50d06);}}));}};_0x1643ec=_0x2ce73c([_0x1c4ea2(0x0,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)])),_0x1c4ea2(0x1,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x1c4ea2(0x2,_0x1187a4['Inject'](_0x444986)),_0x1c4ea2(0x3,_0x1187a4[_0x45f550(0x474)](_0x2f87dd)),_0x1c4ea2(0x4,_0x1187a4['Inject'](_0xab804)),_0x1c4ea2(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x1c4ea2(0x6,_0x20024a[_0x45f550(0x392)]),_0x1c4ea2(0x7,_0x1187a4['Inject'](_0x1187a4['LocaleService']))],_0x1643ec);var _0x44e248=(_0x1701ca=>(_0x1701ca[_0x1701ca[_0x45f550(0x408)]=0x0]='UNDEFINED',_0x1701ca[_0x1701ca['OK']=0x1]='OK',_0x1701ca[_0x1701ca[_0x45f550(0x1f6)]=0x2]='INTERNAL_ERROR',_0x1701ca[_0x1701ca[_0x45f550(0x41d)]=0x3]=_0x45f550(0x41d),_0x1701ca[_0x1701ca[_0x45f550(0x203)]=0x4]=_0x45f550(0x203),_0x1701ca[_0x1701ca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1701ca[_0x1701ca['ALREADY_EXISTS']=0x6]=_0x45f550(0x3b2),_0x1701ca[_0x1701ca[_0x45f550(0x290)]=0x7]=_0x45f550(0x290),_0x1701ca[_0x1701ca[_0x45f550(0x33b)]=0x8]=_0x45f550(0x33b),_0x1701ca[_0x1701ca['COMPLETION_FINISHED']=0x9]=_0x45f550(0x36b),_0x1701ca[_0x1701ca[_0x45f550(0x3d2)]=0xa]=_0x45f550(0x3d2),_0x1701ca[_0x1701ca[_0x45f550(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1701ca[_0x1701ca[_0x45f550(0x27e)]=0xc]=_0x45f550(0x27e),_0x1701ca[_0x1701ca[_0x45f550(0x29d)]=0xd]=_0x45f550(0x29d),_0x1701ca[_0x1701ca[_0x45f550(0x477)]=0xe]=_0x45f550(0x477),_0x1701ca[_0x1701ca['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1701ca[_0x1701ca[_0x45f550(0x44c)]=0x10]=_0x45f550(0x44c),_0x1701ca[_0x1701ca[_0x45f550(0x3f1)]=0x64]=_0x45f550(0x3f1),_0x1701ca[_0x1701ca[_0x45f550(0x21f)]=0x65]='ERROR_AGAIN',_0x1701ca[_0x1701ca['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1701ca[_0x1701ca[_0x45f550(0x445)]=0xca]='USER_IS_ANONYMOUS',_0x1701ca[_0x1701ca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45f550(0x439),_0x1701ca[_0x1701ca[_0x45f550(0x401)]=0x1771]=_0x45f550(0x401),_0x1701ca[_0x1701ca[_0x45f550(0x278)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1701ca[_0x1701ca[_0x45f550(0x365)]=0x1773]=_0x45f550(0x365),_0x1701ca[_0x1701ca[_0x45f550(0x2ba)]=0x1b59]=_0x45f550(0x2ba),_0x1701ca[_0x1701ca[_0x45f550(0x339)]=0x1b5a]=_0x45f550(0x339),_0x1701ca[_0x1701ca[_0x45f550(0x41b)]=0x1b5b]=_0x45f550(0x41b),_0x1701ca[_0x1701ca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45f550(0x33a),_0x1701ca[_0x1701ca[_0x45f550(0x2fc)]=0x1b5d]=_0x45f550(0x2fc),_0x1701ca[_0x1701ca[_0x45f550(0x46e)]=0x1f41]=_0x45f550(0x46e),_0x1701ca[_0x1701ca['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1701ca[_0x1701ca[_0x45f550(0x233)]=0x232a]=_0x45f550(0x233),_0x1701ca[_0x1701ca[_0x45f550(0x3ed)]=0x232b]=_0x45f550(0x3ed),_0x1701ca[_0x1701ca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45f550(0x4ad),_0x1701ca[_0x1701ca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x45f550(0x2f1),_0x1701ca[_0x1701ca['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1701ca[_0x1701ca[_0x45f550(0x426)]=0x2712]=_0x45f550(0x426),_0x1701ca[_0x1701ca[_0x45f550(0x369)]=0x2713]=_0x45f550(0x369),_0x1701ca[_0x1701ca[_0x45f550(0x41e)]=0x2714]=_0x45f550(0x41e),_0x1701ca[_0x1701ca[_0x45f550(0x347)]=0x271a]=_0x45f550(0x347),_0x1701ca[_0x1701ca[_0x45f550(0x280)]=0x271b]=_0x45f550(0x280),_0x1701ca[_0x1701ca[_0x45f550(0x497)]=0x271c]=_0x45f550(0x497),_0x1701ca[_0x1701ca[_0x45f550(0x1ee)]=0x271d]=_0x45f550(0x1ee),_0x1701ca[_0x1701ca['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1701ca[_0x1701ca['YUUMI_AI_RUN_FAILED']=0x271f]=_0x45f550(0x276),_0x1701ca[_0x1701ca[_0x45f550(0x3d9)]=0x2720]=_0x45f550(0x3d9),_0x1701ca[_0x1701ca[_0x45f550(0x464)]=0x2af9]=_0x45f550(0x464),_0x1701ca[_0x1701ca[_0x45f550(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1701ca[_0x1701ca[_0x45f550(0x4b2)]=0x2ee2]=_0x45f550(0x4b2),_0x1701ca[_0x1701ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x45f550(0x463),_0x1701ca[_0x1701ca[_0x45f550(0x327)]=0x2ee4]=_0x45f550(0x327),_0x1701ca[_0x1701ca[_0x45f550(0x219)]=0x2ee5]=_0x45f550(0x219),_0x1701ca[_0x1701ca[_0x45f550(0x403)]=0x32c9]=_0x45f550(0x403),_0x1701ca[_0x1701ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1701ca[_0x1701ca[_0x45f550(0x451)]=0x32cb]=_0x45f550(0x451),_0x1701ca[_0x1701ca[_0x45f550(0x2d1)]=0x36b1]=_0x45f550(0x2d1),_0x1701ca[_0x1701ca[_0x45f550(0x410)]=0x36b2]=_0x45f550(0x410),_0x1701ca[_0x1701ca[_0x45f550(0x2f4)]=0x36b3]=_0x45f550(0x2f4),_0x1701ca[_0x1701ca['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x45f550(0x3a5),_0x1701ca[_0x1701ca[_0x45f550(0x341)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1701ca[_0x1701ca[_0x45f550(0x1ec)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1701ca[_0x1701ca['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x45f550(0x20b),_0x1701ca[_0x1701ca['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1701ca[_0x1701ca[_0x45f550(0x1ea)]=0x3a99]=_0x45f550(0x1ea),_0x1701ca[_0x1701ca['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1701ca[_0x1701ca[_0x45f550(0x230)]=0x3a9b]=_0x45f550(0x230),_0x1701ca[_0x1701ca[_0x45f550(0x39f)]=0x3a9c]=_0x45f550(0x39f),_0x1701ca[_0x1701ca['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x45f550(0x38b),_0x1701ca[_0x1701ca[_0x45f550(0x2c1)]=0x3a9e]=_0x45f550(0x2c1),_0x1701ca[_0x1701ca[_0x45f550(0x1ef)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1701ca[_0x1701ca[_0x45f550(0x40d)]=0x3e81]=_0x45f550(0x40d),_0x1701ca[_0x1701ca[_0x45f550(0x415)]=-0x1]=_0x45f550(0x415),_0x1701ca))(_0x44e248||{});function _0x208711(_0x21da35){const _0x70309d=_0x45f550;var _0x1bc432,_0x1dcb67;const _0x5b7ed0=(_0x1bc432=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1bc432[_0x70309d(0x4a5)],_0x578566=((_0x1dcb67=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1dcb67[_0x70309d(0x3d5)])||0x0;return _0x5b7ed0===_0xbede2[_0x70309d(0x275)][_0x70309d(0x3b1)]&&_0x578566>0x0;}function _0x4d2fe3(_0x197053){const _0x10ace1=_0x45f550;return _0x197053['functionsExecutedState']===_0xbede2[_0x10ace1(0x2ea)][_0x10ace1(0x368)];}var _0x60090e=Object['getOwnPropertyDescriptor'],_0x939a4b=(_0x3e0f66,_0xb9b02c,_0x5617e8,_0x5330d5)=>{const _0x5035c9=_0x45f550;for(var _0x122af9=_0x5330d5>0x1?void 0x0:_0x5330d5?_0x60090e(_0xb9b02c,_0x5617e8):_0xb9b02c,_0x47c90c=_0x3e0f66[_0x5035c9(0x49c)]-0x1,_0x283860;_0x47c90c>=0x0;_0x47c90c--)(_0x283860=_0x3e0f66[_0x47c90c])&&(_0x122af9=_0x283860(_0x122af9)||_0x122af9);return _0x122af9;},_0xb1cbc9=(_0x2b2b32,_0x25a3c5)=>(_0xb1aaaa,_0x346642)=>_0x25a3c5(_0xb1aaaa,_0x346642,_0x2b2b32);const _0x2be216=_0x45f550(0x3f0),_0x492bae='/universer-api/license/formula/limit/start',_0x129797='/universer-api/license/formula/limit/done';let _0xb47647=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x2fda2e,_0x4c56b5,_0x10319d,_0x240c24,_0x3e00a0,_0x853e11,_0x5811f1){const _0x58092d=_0x45f550;super(),_0x4775d1(this,_0x58092d(0x3dd),null),_0x4775d1(this,_0x58092d(0x4a9),0x0),_0x4775d1(this,_0x58092d(0x3be),0x0),_0x4775d1(this,'_taskIds',[]),_0x4775d1(this,_0x58092d(0x4a8),0x0),(this[_0x58092d(0x2cd)]=_0x2fda2e,this['_commandService']=_0x4c56b5,this['_configService']=_0x10319d,this[_0x58092d(0x433)]=_0x240c24,this[_0x58092d(0x225)]=_0x3e00a0,this[_0x58092d(0x3bc)]=_0x853e11,this[_0x58092d(0x351)]=_0x5811f1,this[_0x58092d(0x4b0)]());}[_0x45f550(0x4b0)](){const _0x2a9760=_0x45f550;this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)][_0x2a9760(0x205)]((_0x51579e,_0x1f4cb2)=>{const _0x2ad99e=_0x2a9760;var _0x35e065;if(_0x51579e['id']!==_0xbede2[_0x2ad99e(0x2a7)]['id'])return;const _0x2df50d=_0x51579e['params'];if(!this[_0x2ad99e(0x326)]((_0x35e065=_0x2df50d['dirtyRanges'])!=null?_0x35e065:[]))return;if(!this[_0x2ad99e(0x3a9)]())throw this['_checkAndWaitForCalculationPermission'](_0x51579e,_0x1f4cb2),this[_0x2ad99e(0x3ab)](),new _0x1187a4[(_0x2ad99e(0x2b2))]();})),this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)]['onCommandExecuted']((_0x1a55d9,_0x542101)=>{const _0x520ae5=_0x2a9760;if(_0x1a55d9['id']!==_0xbede2[_0x520ae5(0x48a)]['id'])return;const _0x4322fa=_0x1a55d9[_0x520ae5(0x36f)];if(_0x208711(_0x4322fa)){const _0x2c9236=_0x1187a4['generateRandomId']();this[_0x520ae5(0x362)]['push'](_0x2c9236),this['_startCalculationLimit'](_0x2c9236);}else{if(_0x4d2fe3(_0x4322fa)&&this[_0x520ae5(0x362)]['length']>0x0){const _0xeb3142=this[_0x520ae5(0x362)][_0x520ae5(0x440)]();this[_0x520ae5(0x476)](_0xeb3142);}}}));}[_0x45f550(0x244)](){const _0xa6ec0b=_0x45f550;super['dispose'](),this[_0xa6ec0b(0x4ab)](),this['_taskIds']=[],this[_0xa6ec0b(0x3be)]=0x0,this[_0xa6ec0b(0x4a9)]=0x0,this[_0xa6ec0b(0x4a8)]=0x0;}async[_0x45f550(0x404)](_0x3c7c25,_0x2fde0b){const _0x357a08=_0x45f550;for(let _0x1da33a=0x0;_0x1da33a<0x1e;_0x1da33a++)try{if(await this[_0x357a08(0x3b3)](),this[_0x357a08(0x3a9)]()){this[_0x357a08(0x35e)](_0x3c7c25,_0x2fde0b),this['_messageService']['show']({'content':this[_0x357a08(0x351)]['t']('formula.calculation.started'),'type':_0x64dbc4[_0x357a08(0x272)][_0x357a08(0x288)]});return;}await new Promise(_0xdb6305=>{const _0x3ef824=_0x357a08;this[_0x3ef824(0x3dd)]=window[_0x3ef824(0x232)](_0xdb6305,0x3e8);});}catch(_0x5bf3af){this[_0x357a08(0x3bc)][_0x357a08(0x310)](_0x5bf3af);}this[_0x357a08(0x2cd)][_0x357a08(0x471)]({'content':this['_localeService']['t'](_0x357a08(0x218)),'type':_0x64dbc4[_0x357a08(0x272)]['Error']});}[_0x45f550(0x35e)](_0x4318fa,_0x53eeaa){const _0x2dd209=_0x45f550;try{this[_0x2dd209(0x312)][_0x2dd209(0x270)](_0x4318fa['id'],_0x4318fa['params'],_0x53eeaa);}catch(_0x5b3c02){this[_0x2dd209(0x3bc)][_0x2dd209(0x310)](_0x5b3c02);}}['_setFormulaLimitStatus'](_0x48f581,_0x5616c8){const _0xd08e3e=_0x45f550;_0x5616c8<this[_0xd08e3e(0x4a8)]||(this[_0xd08e3e(0x4a8)]=_0x5616c8,this[_0xd08e3e(0x4a9)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x253)]),this[_0xd08e3e(0x3be)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x3aa)]));}async['_startCalculationLimit'](_0x18c90a){const _0x5d7a7a=_0x45f550;var _0x4d60a1,_0x680cd;const _0x2e8a22=Date[_0x5d7a7a(0x2b1)]();try{const _0x403e18=((_0x4d60a1=this['_configService'][_0x5d7a7a(0x31c)](_0x2de05c[_0x5d7a7a(0x388)]))==null?void 0x0:_0x4d60a1['startFormulaLimitUrl'])||_0x492bae,_0xf1141=(await this[_0x5d7a7a(0x433)][_0x5d7a7a(0x382)](_0x403e18,{'body':JSON[_0x5d7a7a(0x2b6)]({'taskId':_0x18c90a})}))['body'];if(((_0x680cd=_0xf1141[_0x5d7a7a(0x310)])==null?void 0x0:_0x680cd['code'])!==_0x44e248['OK'])return;this[_0x5d7a7a(0x378)](_0xf1141['limitInfo'],_0x2e8a22);}catch(_0x47ff26){this['_logService'][_0x5d7a7a(0x310)](_0x47ff26);}}async['_getFormulaLimitStatus'](_0x3b4f7a){const _0x40c01d=_0x45f550;var _0x33d06c,_0x79511f;const _0x2ed8a6=Date[_0x40c01d(0x2b1)]();try{const _0x4a62d2=((_0x33d06c=this[_0x40c01d(0x35d)][_0x40c01d(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x33d06c['getformulaLimitStatusUrl'])||_0x2be216,_0x516cab=_0x3b4f7a?_0x4a62d2+_0x40c01d(0x258)+encodeURIComponent(_0x3b4f7a):_0x4a62d2,_0x19f4d4=(await this[_0x40c01d(0x433)][_0x40c01d(0x4b4)](_0x516cab))[_0x40c01d(0x462)];if(((_0x79511f=_0x19f4d4['error'])==null?void 0x0:_0x79511f[_0x40c01d(0x28b)])!==_0x44e248['OK'])return;this['_setFormulaLimitStatus'](_0x19f4d4[_0x40c01d(0x2db)],_0x2ed8a6);}catch(_0x4e193b){this['_logService'][_0x40c01d(0x310)](_0x4e193b);}}async[_0x45f550(0x476)](_0x1a7f8f){const _0x5f26fb=_0x45f550;var _0x29097b,_0x5375df;const _0x5ea3b9=Date[_0x5f26fb(0x2b1)]();try{const _0x39b959=((_0x29097b=this[_0x5f26fb(0x35d)][_0x5f26fb(0x31c)](_0x2de05c[_0x5f26fb(0x388)]))==null?void 0x0:_0x29097b[_0x5f26fb(0x23f)])||_0x129797,_0x5575a3=(await this['_httpService'][_0x5f26fb(0x382)](_0x39b959,{'body':JSON['stringify']({'taskId':_0x1a7f8f})}))['body'];if(((_0x5375df=_0x5575a3[_0x5f26fb(0x310)])==null?void 0x0:_0x5375df[_0x5f26fb(0x28b)])!==_0x44e248['OK'])return;this[_0x5f26fb(0x378)](_0x5575a3[_0x5f26fb(0x2db)],_0x5ea3b9);}catch(_0x41770d){this['_logService'][_0x5f26fb(0x310)](_0x41770d);}}[_0x45f550(0x3a9)](){const _0x253a55=_0x45f550;return this[_0x253a55(0x4a9)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x253a55(0x3be)]>0x0;}[_0x45f550(0x4ab)](){const _0x5e7be9=_0x45f550;this[_0x5e7be9(0x3dd)]&&(clearTimeout(this[_0x5e7be9(0x3dd)]),this[_0x5e7be9(0x3dd)]=null);}[_0x45f550(0x3ab)](){const _0x28947a=_0x45f550;this[_0x28947a(0x2cd)][_0x28947a(0x471)]({'content':this['_localeService']['t'](_0x28947a(0x23b)),'type':_0x64dbc4[_0x28947a(0x272)][_0x28947a(0x2d7)]});}[_0x45f550(0x326)](_0x4fbc96){const _0x5df14e=_0x45f550;for(const _0x955315 of _0x4fbc96){const {unitId:_0x4430c4,sheetId:_0x284860,range:_0x5ab56c}=_0x955315,_0xb9c1d7=this[_0x5df14e(0x225)][_0x5df14e(0x1eb)](_0x4430c4);if(!_0xb9c1d7)continue;const _0x353fb0=_0xb9c1d7[_0x5df14e(0x3f2)](_0x284860);if(!_0x353fb0)continue;const _0x175fb1=_0x353fb0['getCellMatrix']();for(let _0x1ef36c=_0x5ab56c[_0x5df14e(0x30b)];_0x1ef36c<=_0x5ab56c['endRow'];_0x1ef36c++)for(let _0x5f2f09=_0x5ab56c[_0x5df14e(0x422)];_0x5f2f09<=_0x5ab56c[_0x5df14e(0x389)];_0x5f2f09++){const _0x2b7999=_0x175fb1['getValue'](_0x1ef36c,_0x5f2f09);if(_0x2b7999&&(_0x1187a4[_0x5df14e(0x3ba)](_0x2b7999['f'])||_0x1187a4[_0x5df14e(0x2f9)](_0x2b7999['si'])))return!0x0;}}return!0x1;}};_0xb47647=_0x939a4b([_0xb1cbc9(0x0,_0x1187a4[_0x45f550(0x474)](_0x20024a[_0x45f550(0x392)])),_0xb1cbc9(0x1,_0x1187a4[_0x45f550(0x2ab)]),_0xb1cbc9(0x2,_0x1187a4[_0x45f550(0x45b)]),_0xb1cbc9(0x3,_0x1187a4['Inject'](_0x391b32[_0x45f550(0x3e0)])),_0xb1cbc9(0x4,_0x1187a4[_0x45f550(0x3a0)]),_0xb1cbc9(0x5,_0x1187a4['ILogService']),_0xb1cbc9(0x6,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0xb47647);var _0x5ab35f=Object[_0x45f550(0x38f)],_0x27e759=(_0x2b3f77,_0x270252,_0x17dd62,_0x1a2947)=>{const _0x46694b=_0x45f550;for(var _0x18a8d8=_0x1a2947>0x1?void 0x0:_0x1a2947?_0x5ab35f(_0x270252,_0x17dd62):_0x270252,_0x50212a=_0x2b3f77[_0x46694b(0x49c)]-0x1,_0x393a02;_0x50212a>=0x0;_0x50212a--)(_0x393a02=_0x2b3f77[_0x50212a])&&(_0x18a8d8=_0x393a02(_0x18a8d8)||_0x18a8d8);return _0x18a8d8;},_0x1e0cfd=(_0x1bb523,_0x403dbe)=>(_0x54f1df,_0x138eaf)=>_0x403dbe(_0x54f1df,_0x138eaf,_0x1bb523);let _0x59bd78=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3f2645,_0x10dcf5,_0x101355){const _0x1fd771=_0x45f550;super(),_0x4775d1(this,_0x1fd771(0x3ca),new Map()),_0x4775d1(this,_0x1fd771(0x266),new Map()),_0x4775d1(this,'_disabled',!0x1),(this[_0x1fd771(0x35d)]=_0x3f2645,this[_0x1fd771(0x47d)]=_0x10dcf5,this[_0x1fd771(0x286)]=_0x101355);}[_0x45f550(0x30f)](){const _0x1720ee=_0x45f550;this[_0x1720ee(0x3c8)]=!0x0;}['enableLocalCache'](){const _0x1e5017=_0x45f550;this[_0x1e5017(0x3c8)]=!0x1;}get[_0x45f550(0x48e)](){return this['_saveTaskMap'];}[_0x45f550(0x244)](){const _0x4b7c16=_0x45f550;this[_0x4b7c16(0x40a)]()['then'](()=>super[_0x4b7c16(0x244)]());}async['loadOfflineData'](_0xa30f8){const _0x1d4241=_0x45f550;return this[_0x1d4241(0x3c8)]?null:this[_0x1d4241(0x47d)][_0x1d4241(0x449)](_0x2de05c[_0x1d4241(0x1f4)](_0xa30f8));}async[_0x45f550(0x3da)](_0x4f64a9,_0x52f347){const _0x30030a=_0x45f550;return!!this[_0x30030a(0x47d)][_0x30030a(0x4af)](_0x4f64a9,_0x52f347);}[_0x45f550(0x24b)](_0x239820,_0x2b5b99,_0x1f89dd,_0x150e37){const _0x190f1f=_0x45f550,_0x28782d=this[_0x190f1f(0x286)]['getCurrentRevOfUnit'](_0x239820);this[_0x190f1f(0x3ca)][_0x190f1f(0x47c)](_0x239820,{'unitID':_0x239820,'type':_0x2b5b99,'awaitingChangeset':_0x1f89dd,'mutations':_0x150e37,'rev':_0x28782d}),this[_0x190f1f(0x266)][_0x190f1f(0x478)](_0x239820)||this[_0x190f1f(0x41a)](_0x239820);}[_0x45f550(0x41a)](_0x1e0dde){const _0xec77dc=_0x45f550,_0x3f81c9=this[_0xec77dc(0x306)]();_0x3f81c9===0x0?this[_0xec77dc(0x483)](_0x1e0dde):this[_0xec77dc(0x266)]['set'](_0x1e0dde,setTimeout(()=>this[_0xec77dc(0x483)](_0x1e0dde),_0x3f81c9));}[_0x45f550(0x306)](){const _0x9502a2=_0x45f550;var _0x2b0b8d;return(_0x2b0b8d=this[_0x9502a2(0x35d)][_0x9502a2(0x31c)](_0x2de05c[_0x9502a2(0x361)]))!=null?_0x2b0b8d:_0x2de05c[_0x9502a2(0x2f2)];}['_saveCache'](_0x4fb0a8){const _0x1aeed2=_0x45f550,_0x3e6394=this[_0x1aeed2(0x266)][_0x1aeed2(0x4b4)](_0x4fb0a8);return _0x3e6394!==void 0x0&&window['clearTimeout'](_0x3e6394),this[_0x1aeed2(0x47d)][_0x1aeed2(0x4af)](_0x2de05c[_0x1aeed2(0x1f4)](_0x4fb0a8),this[_0x1aeed2(0x3ca)][_0x1aeed2(0x4b4)](_0x4fb0a8))[_0x1aeed2(0x420)](()=>this[_0x1aeed2(0x266)]['delete'](_0x4fb0a8));}async['exhaustSavingTask'](){const _0x12ecab=_0x45f550,_0x38d3a6=[];this[_0x12ecab(0x266)][_0x12ecab(0x315)]((_0x216a76,_0x5bdac6)=>{const _0xb8af4c=_0x12ecab;window['clearTimeout'](_0x216a76),_0x38d3a6['push'](this['_saveCache'](_0x5bdac6)[_0xb8af4c(0x420)](()=>{const _0x4053b4=_0xb8af4c;this[_0x4053b4(0x266)][_0x4053b4(0x340)](_0x5bdac6);}));}),await Promise['all'](_0x38d3a6);}};_0x59bd78=_0x27e759([_0x1e0cfd(0x0,_0x1187a4['IConfigService']),_0x1e0cfd(0x1,_0x1187a4[_0x45f550(0x313)]),_0x1e0cfd(0x2,_0x1187a4['Inject'](_0xa5f490[_0x45f550(0x2dd)]))],_0x59bd78);class _0x56ec38 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x1486ae=_0x45f550;super(),_0x4775d1(this,_0x1486ae(0x3bf)),this[_0x1486ae(0x3bf)]=_0x1068bb['fromEvent'](window,_0x1486ae(0x24d))['pipe'](_0x1068bb[_0x1486ae(0x274)](this[_0x1486ae(0x2f8)]),_0x1068bb[_0x1486ae(0x256)](0x1),_0x1068bb[_0x1486ae(0x353)](void 0x0));}['setParam'](_0x4f5d79,_0x4f19cb,_0x2457c8=!0x1){const _0x2fd5fb=_0x45f550,_0x544bf1=new URL(window[_0x2fd5fb(0x207)]['href']);_0x544bf1[_0x2fd5fb(0x2ef)][_0x2fd5fb(0x47c)](_0x4f5d79,_0x4f19cb),_0x2457c8?window[_0x2fd5fb(0x29a)]['replaceState']('','',_0x544bf1[_0x2fd5fb(0x3fe)]()):window[_0x2fd5fb(0x29a)][_0x2fd5fb(0x1f2)]('','',_0x544bf1[_0x2fd5fb(0x3fe)]());}[_0x45f550(0x370)](_0x2cb59d,_0x123693=!0x1){const _0x613d20=_0x45f550,_0x347033=new URL(window[_0x613d20(0x207)][_0x613d20(0x350)]);_0x347033['searchParams'][_0x613d20(0x340)](_0x2cb59d),_0x123693?window['history'][_0x613d20(0x4aa)]('','',_0x347033['toString']()):window[_0x613d20(0x29a)]['pushState']('','',_0x347033['toString']());}[_0x45f550(0x301)](_0x2c2ad2){const _0x3c9841=_0x45f550;var _0x47dcfd;return(_0x47dcfd=new URL(window['location'][_0x3c9841(0x350)])[_0x3c9841(0x2ef)]['get'](_0x2c2ad2))!=null?_0x47dcfd:void 0x0;}}var _0x313ff3=Object[_0x45f550(0x366)],_0x20382b=Object[_0x45f550(0x38f)],_0x470b2c=(_0x60ec8f,_0x4288e5,_0x3b634e)=>_0x4288e5 in _0x60ec8f?_0x313ff3(_0x60ec8f,_0x4288e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b634e}):_0x60ec8f[_0x4288e5]=_0x3b634e,_0x162956=(_0x3660e4,_0x10a8a8,_0x3f8e56,_0x1f5a52)=>{for(var _0x42890c=_0x1f5a52>0x1?void 0x0:_0x1f5a52?_0x20382b(_0x10a8a8,_0x3f8e56):_0x10a8a8,_0x163d01=_0x3660e4['length']-0x1,_0x24964f;_0x163d01>=0x0;_0x163d01--)(_0x24964f=_0x3660e4[_0x163d01])&&(_0x42890c=_0x24964f(_0x42890c)||_0x42890c);return _0x42890c;},_0x543a99=(_0x37fda4,_0x2e3697)=>(_0x110089,_0x3d8baa)=>_0x2e3697(_0x110089,_0x3d8baa,_0x37fda4),_0x2112e6=(_0x237c00,_0xa56ade,_0x6518e5)=>_0x470b2c(_0x237c00,_0xa56ade+'',_0x6518e5);const _0x5b0642=_0x45f550(0x38e);_0x116b26[_0x45f550(0x472)]=class extends _0x1187a4['Plugin']{constructor(_0x5a9a2a=_0x4af272,_0x3322d7,_0x18d3f0,_0x125819){const _0x5ca822=_0x45f550;super(),this[_0x5ca822(0x271)]=_0x5a9a2a,this[_0x5ca822(0x1f0)]=_0x3322d7,this['_injector']=_0x18d3f0,this[_0x5ca822(0x35d)]=_0x125819;const {..._0x4d90ee}=_0x1187a4['merge']({},_0x4af272,this['_config']);this[_0x5ca822(0x35d)][_0x5ca822(0x246)](_0x3a1054,_0x4d90ee);}[_0x45f550(0x42c)](){const _0x24fd7c=_0x45f550;this['_registerDependencies'](),this[_0x24fd7c(0x4ac)]();}[_0x45f550(0x2af)](){const _0x349248=_0x45f550;this[_0x349248(0x2ec)]();}[_0x45f550(0x2ca)](){const _0x3b20f5=_0x45f550;var _0x3c944b;const _0x2921c2=[[_0x5cc5ff],[_0xb47647],[_0xab804],[_0x444986],[_0x2f87dd],[_0x3cbd00],[_0x48aae0,{'useClass':_0x56ec38}],[_0x391b32[_0x3b20f5(0x37d)],{'useClass':_0x391b32[_0x3b20f5(0x3a4)]}],[_0x2de05c[_0x3b20f5(0x348)],{'useClass':_0x59bd78}],[_0x116b26[_0x3b20f5(0x32a)]],[_0x1643ec],[_0x3e8554],[_0x12a146],[_0x5bb55b],[_0x116b26[_0x3b20f5(0x252)]]];_0x1187a4[_0x3b20f5(0x28d)](this[_0x3b20f5(0x234)],_0x1187a4[_0x3b20f5(0x3ac)](_0x2921c2,(_0x3c944b=this[_0x3b20f5(0x271)])==null?void 0x0:_0x3c944b[_0x3b20f5(0x2da)]));}[_0x45f550(0x2ec)](){const _0x23c5b9=_0x45f550;this['disposeWithMe'](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)][_0x23c5b9(0x2bf)],[_0x17ca61])),this[_0x23c5b9(0x30d)](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)]['UNIVER_SHEET'],[_0x43f6b3]));}[_0x45f550(0x4ac)](){const _0x4a065d=_0x45f550;_0x1187a4['touchDependencies'](this[_0x4a065d(0x234)],[[_0x12a146],[_0x116b26['DesktopCollaborationStatusDisplayController']],[_0x1643ec],[_0x3e8554],[_0x116b26[_0x4a065d(0x252)]],[_0xb47647]]);}},_0x2112e6(_0x116b26['UniverCollaborationClientUIPlugin'],_0x45f550(0x27a),_0x5b0642),_0x116b26[_0x45f550(0x472)]=_0x162956([_0x1187a4[_0x45f550(0x3b7)](_0x2de05c[_0x45f550(0x381)]),_0x543a99(0x1,_0x52d8dc[_0x45f550(0x254)]),_0x543a99(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x543a99(0x3,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x472)]);var _0x363a4f=Object[_0x45f550(0x38f)],_0x45e873=(_0x380a37,_0x542c6b,_0x1ffb51,_0x4b2730)=>{const _0x47b58e=_0x45f550;for(var _0x1c7b86=_0x4b2730>0x1?void 0x0:_0x4b2730?_0x363a4f(_0x542c6b,_0x1ffb51):_0x542c6b,_0x509c7d=_0x380a37[_0x47b58e(0x49c)]-0x1,_0x5b0023;_0x509c7d>=0x0;_0x509c7d--)(_0x5b0023=_0x380a37[_0x509c7d])&&(_0x1c7b86=_0x5b0023(_0x1c7b86)||_0x1c7b86);return _0x1c7b86;},_0x322557=(_0x5135f1,_0x23cac3)=>(_0x39c3a1,_0x348cb3)=>_0x23cac3(_0x39c3a1,_0x348cb3,_0x5135f1);_0x116b26[_0x45f550(0x42f)]=class extends _0x2de05c[_0x45f550(0x295)]{constructor(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e){super(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e);}async[_0x45f550(0x3a6)](_0x2da95b){const _0xbd6790=_0x45f550,_0x304c90=await this[_0xbd6790(0x3ad)](),_0x57fbcc=this[_0xbd6790(0x3ea)](_0x2da95b,_0x304c90);return this['_doCreateSocket'](_0x57fbcc);}['_createSocketURL'](_0x3fffe9,_0xf35d03){const _0x50dcc8=_0x45f550,_0x29d6c8=typeof window>'u'?new URL(_0x3fffe9):new URL(_0x3fffe9,window[_0x50dcc8(0x207)][_0x50dcc8(0x354)]);_0x29d6c8[_0x50dcc8(0x2ef)]['set'](_0x50dcc8(0x298),_0xf35d03);const _0x46b44b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcc8(0x207)][_0x50dcc8(0x20e)]);return _0x46b44b[_0x50dcc8(0x4b4)]('runId')&&_0x29d6c8['searchParams'][_0x50dcc8(0x47c)](_0x50dcc8(0x44b),_0x46b44b[_0x50dcc8(0x4b4)](_0x50dcc8(0x44b))),_0x29d6c8[_0x50dcc8(0x3fe)]();}async[_0x45f550(0x3ad)](){const _0x4ec7c3=_0x45f550;var _0x8f4a4e,_0x247fa8,_0x57d702;const _0x5406b1=this['_configService'][_0x4ec7c3(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x9dc838=(_0x8f4a4e=_0x5406b1==null?void 0x0:_0x5406b1[_0x4ec7c3(0x226)])!=null?_0x8f4a4e:_0x2de05c[_0x4ec7c3(0x33c)];return(_0x57d702=(_0x247fa8=(await this[_0x4ec7c3(0x433)][_0x4ec7c3(0x4b4)](_0x9dc838,{'headers':{'Content-Type':_0x4ec7c3(0x294)}}))[_0x4ec7c3(0x462)])==null?void 0x0:_0x247fa8[_0x4ec7c3(0x391)])!=null?_0x57d702:'';}},_0x116b26[_0x45f550(0x42f)]=_0x45e873([_0x322557(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x322557(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0x322557(0x2,_0x1187a4[_0x45f550(0x45b)]),_0x322557(0x3,_0x1187a4[_0x45f550(0x437)]),_0x322557(0x4,_0xa5f490[_0x45f550(0x489)])],_0x116b26[_0x45f550(0x42f)]);var _0x2e1f7d=Object[_0x45f550(0x38f)],_0x483d79=(_0x1e9418,_0x1dd9e0,_0x1b7411,_0x639e00)=>{for(var _0x31b497=_0x639e00>0x1?void 0x0:_0x639e00?_0x2e1f7d(_0x1dd9e0,_0x1b7411):_0x1dd9e0,_0x59a41b=_0x1e9418['length']-0x1,_0x58f38b;_0x59a41b>=0x0;_0x59a41b--)(_0x58f38b=_0x1e9418[_0x59a41b])&&(_0x31b497=_0x58f38b(_0x31b497)||_0x31b497);return _0x31b497;},_0xa0e948=(_0x5d2133,_0x282be7)=>(_0x433a0c,_0x19b452)=>_0x282be7(_0x433a0c,_0x19b452,_0x5d2133);_0x116b26[_0x45f550(0x251)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x308cad,_0x5b7a6a,_0x5559e2){const _0x76d979=_0x45f550;super(),this[_0x76d979(0x208)]=_0x308cad,this[_0x76d979(0x433)]=_0x5b7a6a,this[_0x76d979(0x35d)]=_0x5559e2;}async[_0x45f550(0x2d5)](_0x44ab79,_0x19c1d2,_0x349e44,..._0x404887){const _0x4fa30c=_0x45f550;var _0x3e0a8b,_0x1eee26,_0xd9137,_0x4ef757;const _0x2b41fc=this[_0x4fa30c(0x208)][_0x4fa30c(0x37b)]();if(!_0x2b41fc)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f2d14=((_0x3e0a8b=this['_configService']['getConfig'](_0x2de05c[_0x4fa30c(0x281)]))!=null?_0x3e0a8b:_0x2de05c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x44ab79+_0x4fa30c(0x39b)+_0x19c1d2,_0x2be7be=new URL(window[_0x4fa30c(0x207)][_0x4fa30c(0x350)]),_0x433e7d={'scriptId':_0x44ab79,'runId':(_0x1eee26=_0x2be7be[_0x4fa30c(0x2ef)][_0x4fa30c(0x4b4)](_0x4fa30c(0x44b)))!=null?_0x1eee26:'','function':_0x19c1d2,'unitId':_0x2b41fc['getUnitId'](),'argsOfFunction':JSON[_0x4fa30c(0x2b6)](_0x404887),'invokeId':(_0xd9137=_0x349e44[_0x4fa30c(0x45c)])!=null?_0xd9137:'','executionId':(_0x4ef757=_0x349e44[_0x4fa30c(0x48c)])!=null?_0x4ef757:''};try{const _0x23583b=await this[_0x4fa30c(0x433)][_0x4fa30c(0x382)](_0x1f2d14,{'body':_0x433e7d});return _0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)]&&_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)][_0x4fa30c(0x28b)]!==_0x44e248['OK']?_0x4fa30c(0x4b3):_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x2e3)];}catch{return _0x4fa30c(0x4b3);}}},_0x116b26[_0x45f550(0x251)]=_0x483d79([_0xa0e948(0x0,_0x1187a4['IUniverInstanceService']),_0xa0e948(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0xa0e948(0x2,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x251)]);const _0x14ab56=0x7530,_0x4943df=_0x45f550(0x45f);class _0x2173c8 extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x4e19f7=_0x45f550;super(),_0x4775d1(this,_0x4e19f7(0x49d),_0x1187a4[_0x4e19f7(0x260)]()),_0x4775d1(this,_0x4e19f7(0x3db),new Set()),_0x4775d1(this,'_unitOnClients',new Map()),_0x4775d1(this,_0x4e19f7(0x34e),null),_0x4775d1(this,_0x4e19f7(0x231),new Map()),_0x4775d1(this,_0x4e19f7(0x461),new Map()),this['_init']();}[_0x45f550(0x244)](){const _0x58112f=_0x45f550;super[_0x58112f(0x244)](),this[_0x58112f(0x231)][_0x58112f(0x315)]((_0x2ebf4c,_0x2a1f7a)=>this[_0x58112f(0x3ff)](_0x2a1f7a)),this[_0x58112f(0x34e)]&&window[_0x58112f(0x495)](this[_0x58112f(0x34e)]);}[_0x45f550(0x1fb)](_0x4a96f1){const _0x13229a=_0x45f550;return this[_0x13229a(0x242)](_0x4a96f1)[_0x13229a(0x229)](_0x1068bb['distinctUntilChanged']());}['editingUnit'](_0x124a8e){const _0x57a723=_0x45f550;this['_selfUnitIDs'][_0x57a723(0x427)]===0x0&&this[_0x57a723(0x2aa)](),this[_0x57a723(0x3db)]['add'](_0x124a8e),this[_0x57a723(0x3e6)]({'type':0x0,'memberID':this[_0x57a723(0x49d)],'unitIDs':[_0x124a8e],'isForwarded':!0x1});}[_0x45f550(0x27d)](_0x3262de){const _0xab799f=_0x45f550;this[_0xab799f(0x3db)][_0xab799f(0x340)](_0x3262de),this['_selfUnitIDs'][_0xab799f(0x427)]===0x0&&this[_0xab799f(0x34e)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x45f550(0x22b)](){const _0x55a0f1=_0x45f550;this[_0x55a0f1(0x30d)](_0x1187a4[_0x55a0f1(0x279)](_0x1068bb[_0x55a0f1(0x3d7)](window,'storage')[_0x55a0f1(0x43e)](_0x25e9b7=>{const _0x2f3cc5=_0x55a0f1;if(_0x25e9b7[_0x2f3cc5(0x22e)]!==_0x4943df||!_0x25e9b7[_0x2f3cc5(0x2fd)])return;const _0x1119ac=JSON[_0x2f3cc5(0x2c2)](_0x25e9b7[_0x2f3cc5(0x2fd)]);this[_0x2f3cc5(0x45a)](_0x1119ac);}))),window[_0x55a0f1(0x304)](_0x55a0f1(0x240),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x55a0f1(0x45e)](this[_0x55a0f1(0x3db)])}));}[_0x45f550(0x45a)](_0x449479){const _0x3da4e7=_0x45f550;switch(_0x449479[_0x3da4e7(0x493)]){case 0x0:this['_handleJoinEvent'](_0x449479);break;case 0x1:this['_handleLeaveEvent'](_0x449479);break;case 0x2:this[_0x3da4e7(0x429)](_0x449479);break;}}[_0x45f550(0x473)](_0x2e0818){const _0x3d5a31=_0x45f550,{unitIDs:_0x2d5367,memberID:_0x4564bc,isForwarded:_0x547eb0}=_0x2e0818;_0x2d5367[_0x3d5a31(0x315)](_0x59efae=>{const _0x33b610=_0x3d5a31;if(!_0x547eb0&&this[_0x33b610(0x335)][_0x33b610(0x478)](_0x59efae)&&this[_0x33b610(0x242)](_0x59efae)[_0x33b610(0x2fa)](_0x2de05c[_0x33b610(0x35b)][_0x33b610(0x2dc)]),!this['_unitOnClients'][_0x33b610(0x478)](_0x59efae)||!this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)[_0x33b610(0x478)](_0x4564bc)){const _0x41d06b=this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)||new Set();_0x41d06b[_0x33b610(0x481)](_0x4564bc),this['_unitOnClients'][_0x33b610(0x47c)](_0x59efae,_0x41d06b),this[_0x33b610(0x3cf)](_0x4564bc);}}),_0x547eb0||this[_0x3d5a31(0x3e6)]({'type':0x0,'memberID':this[_0x3d5a31(0x49d)],'unitIDs':[...this[_0x3d5a31(0x3db)]],'isForwarded':!0x0});}[_0x45f550(0x3cf)](_0x1b80f5){const _0x1c16e0=_0x45f550;this[_0x1c16e0(0x3ff)](_0x1b80f5);const _0x15a5be=window[_0x1c16e0(0x232)](()=>{const _0x2845f7=_0x1c16e0;this[_0x2845f7(0x335)][_0x2845f7(0x315)](_0x2e346b=>{const _0x4802f1=_0x2845f7;_0x2e346b[_0x4802f1(0x340)](_0x1b80f5);});},_0x14ab56*0x2);this[_0x1c16e0(0x231)][_0x1c16e0(0x47c)](_0x1b80f5,_0x15a5be);}[_0x45f550(0x3ff)](_0xc26ca1){const _0x183ff2=_0x45f550;if(this['_clearOtherTimers'][_0x183ff2(0x478)](_0xc26ca1)){const _0xa6fc7b=this[_0x183ff2(0x231)][_0x183ff2(0x4b4)](_0xc26ca1);_0xa6fc7b&&window[_0x183ff2(0x2e2)](_0xa6fc7b),this['_clearOtherTimers']['set'](_0xc26ca1,null);}}['_handleLeaveEvent'](_0x1ac9cc){const _0x48118a=_0x45f550,{memberID:_0x4684b1,unitIDs:_0xe42bf1}=_0x1ac9cc;_0xe42bf1[_0x48118a(0x315)](_0xc77883=>{const _0x741488=_0x48118a;var _0x235892;const _0x5c2b57=this[_0x741488(0x335)][_0x741488(0x4b4)](_0xc77883);_0x5c2b57&&(_0x5c2b57['delete'](_0x4684b1),(_0x235892=this[_0x741488(0x242)](_0xc77883))==null||_0x235892[_0x741488(0x2fa)](_0x5c2b57[_0x741488(0x427)]===0x0?_0x2de05c[_0x741488(0x35b)][_0x741488(0x452)]:_0x2de05c[_0x741488(0x35b)][_0x741488(0x2dc)]));}),this[_0x48118a(0x3ff)](_0x4684b1);}[_0x45f550(0x429)](_0x4c8f52){this['_scheduleClearOtherTimer'](_0x4c8f52['memberID']);}['_send'](_0xba49d9){const _0x2f12bc=_0x45f550;localStorage[_0x2f12bc(0x4af)](_0x4943df,JSON['stringify'](_0xba49d9));}['_scheduleHeartbeat'](){const _0x4a7fb6=_0x45f550;this['_heartbeatTimer']=window[_0x4a7fb6(0x25e)](()=>{const _0x537e58=_0x4a7fb6;this[_0x537e58(0x3e6)]({'type':0x2,'memberID':this[_0x537e58(0x49d)]});},_0x14ab56);}['_ensureSubject'](_0x25b60c){const _0x31a856=_0x45f550;return this[_0x31a856(0x461)]['has'](_0x25b60c)||this['_unitStatus'][_0x31a856(0x47c)](_0x25b60c,new _0x1068bb[(_0x31a856(0x390))](_0x2de05c[_0x31a856(0x35b)][_0x31a856(0x452)])),this[_0x31a856(0x461)][_0x31a856(0x4b4)](_0x25b60c);}}_0x116b26[_0x45f550(0x47a)]=_0x48aae0,_0x116b26[_0x45f550(0x494)]=_0x377138,_0x116b26[_0x45f550(0x3d4)]=_0x2173c8,_0x116b26['WebURLService']=_0x56ec38,Object['defineProperty'](_0x116b26,Symbol[_0x45f550(0x245)],{'value':_0x45f550(0x31b)});}));