@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130703 → 0.10.8

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x43db(_0x4842aa,_0x1c0e0c){const _0x419948=_0x4199();return _0x43db=function(_0x43db9c,_0x44ec98){_0x43db9c=_0x43db9c-0x1d5;let _0x3164ff=_0x419948[_0x43db9c];return _0x3164ff;},_0x43db(_0x4842aa,_0x1c0e0c);}(function(_0x2befa0,_0x532fdb){const _0x4e398c=_0x43db,_0x4ec39e=_0x2befa0();while(!![]){try{const _0x22b5eb=-parseInt(_0x4e398c(0x2ae))/0x1+-parseInt(_0x4e398c(0x2c7))/0x2*(-parseInt(_0x4e398c(0x44a))/0x3)+parseInt(_0x4e398c(0x395))/0x4+-parseInt(_0x4e398c(0x27e))/0x5*(-parseInt(_0x4e398c(0x3bc))/0x6)+parseInt(_0x4e398c(0x262))/0x7+-parseInt(_0x4e398c(0x363))/0x8+-parseInt(_0x4e398c(0x279))/0x9;if(_0x22b5eb===_0x532fdb)break;else _0x4ec39e['push'](_0x4ec39e['shift']());}catch(_0x40a0ba){_0x4ec39e['push'](_0x4ec39e['shift']());}}}(_0x4199,0x815d0),function(_0x52c667,_0x4c8fde){const _0x5059d4=_0x43db;typeof exports==_0x5059d4(0x2c1)&&typeof module<'u'?_0x4c8fde(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==_0x5059d4(0x248)&&define[_0x5059d4(0x236)]?define([_0x5059d4(0x284),_0x5059d4(0x405),_0x5059d4(0x417),_0x5059d4(0x2b0),'@univerjs/ui',_0x5059d4(0x373),_0x5059d4(0x311),_0x5059d4(0x2ef),_0x5059d4(0x32b),_0x5059d4(0x2a9),_0x5059d4(0x443),'@univerjs/network',_0x5059d4(0x219),_0x5059d4(0x3c1),_0x5059d4(0x43c),_0x5059d4(0x41e),'@univerjs/engine-formula','rxjs/operators',_0x5059d4(0x2db)],_0x4c8fde):(_0x52c667=typeof globalThis<'u'?globalThis:_0x52c667||self,_0x4c8fde(_0x52c667[_0x5059d4(0x36d)]={},_0x52c667[_0x5059d4(0x462)],_0x52c667[_0x5059d4(0x37d)],_0x52c667[_0x5059d4(0x461)],_0x52c667[_0x5059d4(0x305)],_0x52c667[_0x5059d4(0x373)],_0x52c667[_0x5059d4(0x428)],_0x52c667['React'],_0x52c667[_0x5059d4(0x3c9)],_0x52c667['UniverSheets'],_0x52c667['UniverEngineRender'],_0x52c667[_0x5059d4(0x37a)],_0x52c667[_0x5059d4(0x26d)],_0x52c667[_0x5059d4(0x3ed)],_0x52c667[_0x5059d4(0x232)],_0x52c667['UniverDocs'],_0x52c667[_0x5059d4(0x2d3)],_0x52c667[_0x5059d4(0x373)]['operators'],_0x52c667['UniverSheetsUi']));}(this,function(_0x2245a1,_0x447c69,_0x1ac61a,_0x3d05ee,_0x1c4740,_0x353c21,_0xaeffda,_0x729dd1,_0x42cb63,_0x401d6b,_0x1eb76f,_0x4cfd05,_0x50ffa0,_0x372151,_0x4876d5,_0x427dab,_0x447c02,_0x41ab20,_0x316114){'use strict';const _0x52f010=_0x43db;var _0x4ffcaf=Object[_0x52f010(0x41c)],_0x2c9240=(_0x573270,_0x354886,_0x51c11c)=>_0x354886 in _0x573270?_0x4ffcaf(_0x573270,_0x354886,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c11c}):_0x573270[_0x354886]=_0x51c11c,_0x544075=(_0x44bb42,_0x4fcb7b,_0x9f012f)=>_0x2c9240(_0x44bb42,typeof _0x4fcb7b!='symbol'?_0x4fcb7b+'':_0x4fcb7b,_0x9f012f),_0x18b41f=function(){const _0x5801ab=_0x52f010;return _0x18b41f=Object[_0x5801ab(0x410)]||function(_0x2dc9ae){const _0x5a9f6e=_0x5801ab;for(var _0x329558,_0x20d20e=0x1,_0x2ebfe7=arguments[_0x5a9f6e(0x2d4)];_0x20d20e<_0x2ebfe7;_0x20d20e++){_0x329558=arguments[_0x20d20e];for(var _0x2b0dc5 in _0x329558)Object[_0x5a9f6e(0x415)]['hasOwnProperty'][_0x5a9f6e(0x302)](_0x329558,_0x2b0dc5)&&(_0x2dc9ae[_0x2b0dc5]=_0x329558[_0x2b0dc5]);}return _0x2dc9ae;},_0x18b41f[_0x5801ab(0x41a)](this,arguments);},_0x32c777=function(_0x45c59e,_0x22cde5){const _0x3e560f=_0x52f010;var _0x4c8a88={};for(var _0x3d2c60 in _0x45c59e)Object[_0x3e560f(0x415)][_0x3e560f(0x290)][_0x3e560f(0x302)](_0x45c59e,_0x3d2c60)&&_0x22cde5[_0x3e560f(0x296)](_0x3d2c60)<0x0&&(_0x4c8a88[_0x3d2c60]=_0x45c59e[_0x3d2c60]);if(_0x45c59e!=null&&typeof Object[_0x3e560f(0x45d)]=='function'){for(var _0x3681f1=0x0,_0x3d2c60=Object[_0x3e560f(0x45d)](_0x45c59e);_0x3681f1<_0x3d2c60['length'];_0x3681f1++)_0x22cde5[_0x3e560f(0x296)](_0x3d2c60[_0x3681f1])<0x0&&Object[_0x3e560f(0x415)][_0x3e560f(0x38d)]['call'](_0x45c59e,_0x3d2c60[_0x3681f1])&&(_0x4c8a88[_0x3d2c60[_0x3681f1]]=_0x45c59e[_0x3d2c60[_0x3681f1]]);}return _0x4c8a88;},_0x24443e=_0x729dd1[_0x52f010(0x2f7)](function(_0x5cba90,_0x4c6c8d){const _0x2c2e7a=_0x52f010;var _0xff7ef2=_0x5cba90[_0x2c2e7a(0x2e8)],_0x2187cb=_0x5cba90['id'],_0x47ea4f=_0x5cba90[_0x2c2e7a(0x35b)],_0x2eada9=_0x5cba90[_0x2c2e7a(0x369)],_0x130075=_0x32c777(_0x5cba90,['icon','id',_0x2c2e7a(0x35b),_0x2c2e7a(0x369)]),_0x5d50c3=_0x2c2e7a(0x3ef)[_0x2c2e7a(0x273)](_0x2187cb,'\x20')[_0x2c2e7a(0x273)](_0x47ea4f||'')['trim'](),_0x3ec332=_0x729dd1[_0x2c2e7a(0x299)]('_'[_0x2c2e7a(0x273)](_0x4cff3e()));return _0x497fc9(_0xff7ef2,''['concat'](_0x2187cb),{'defIds':_0xff7ef2[_0x2c2e7a(0x249)],'idSuffix':_0x3ec332[_0x2c2e7a(0x2ac)]},_0x18b41f({'ref':_0x4c6c8d,'className':_0x5d50c3},_0x130075),_0x2eada9);});function _0x497fc9(_0x32e82d,_0x2245b1,_0x5821db,_0x5772ae,_0x3016f4){const _0x4fe177=_0x52f010;return _0x729dd1[_0x4fe177(0x31f)](_0x32e82d[_0x4fe177(0x319)],_0x18b41f(_0x18b41f({'key':_0x2245b1},_0x554717(_0x32e82d,_0x5821db,_0x3016f4)),_0x5772ae),(_0x5315e3(_0x32e82d,_0x5821db)[_0x4fe177(0x230)]||[])['map'](function(_0x43c61d,_0x3eddd2){const _0x44bd38=_0x4fe177;return _0x497fc9(_0x43c61d,''[_0x44bd38(0x273)](_0x2245b1,'-')[_0x44bd38(0x273)](_0x32e82d[_0x44bd38(0x319)],'-')[_0x44bd38(0x273)](_0x3eddd2),_0x5821db,void 0x0,_0x3016f4);}));}function _0x554717(_0xf48a30,_0x255496,_0x1b4243){const _0x2617fd=_0x52f010;var _0x10ec7c=_0x18b41f({},_0xf48a30[_0x2617fd(0x24d)]);_0x1b4243!=null&&_0x1b4243['colorChannel1']&&_0x10ec7c['fill']===_0x2617fd(0x2c5)&&(_0x10ec7c['fill']=_0x1b4243[_0x2617fd(0x2c5)]),_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x250)&&_0x10ec7c['id']&&(_0x10ec7c['id']=_0x10ec7c['id']+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)[_0x2617fd(0x2ce)](function(_0x3f1e3c){const _0x3d0672=_0x2617fd;var _0x568aae=_0x3f1e3c[0x0],_0x5f0eae=_0x3f1e3c[0x1];_0x568aae===_0x3d0672(0x250)&&typeof _0x5f0eae==_0x3d0672(0x339)&&(_0x10ec7c[_0x568aae]=_0x5f0eae['replace'](/url\(#(.*)\)/,_0x3d0672(0x37b)[_0x3d0672(0x273)](_0x255496['idSuffix'],')')));});var _0x222c56=_0x255496[_0x2617fd(0x249)];return!_0x222c56||_0x222c56[_0x2617fd(0x2d4)]===0x0||(_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x242)&&_0x10ec7c[_0x2617fd(0x251)]&&(_0x10ec7c['xlink:href']=_0x10ec7c[_0x2617fd(0x251)]+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)['forEach'](function(_0x5eb728){const _0x47b3ca=_0x2617fd;var _0x563dec=_0x5eb728[0x0],_0x4768f0=_0x5eb728[0x1];typeof _0x4768f0=='string'&&(_0x10ec7c[_0x563dec]=_0x4768f0[_0x47b3ca(0x3ea)](/url\(#(.*)\)/,_0x47b3ca(0x37b)['concat'](_0x255496[_0x47b3ca(0x3b4)],')')));})),_0x10ec7c;}function _0x5315e3(_0x33a770,_0x28455b){const _0x374340=_0x52f010;var _0x16820e,_0x10e841=_0x28455b[_0x374340(0x249)];return!_0x10e841||_0x10e841['length']===0x0?_0x33a770:_0x33a770[_0x374340(0x319)]===_0x374340(0x268)&&(!((_0x16820e=_0x33a770[_0x374340(0x230)])===null||_0x16820e===void 0x0)&&_0x16820e[_0x374340(0x2d4)])?_0x18b41f(_0x18b41f({},_0x33a770),{'children':_0x33a770[_0x374340(0x230)][_0x374340(0x2c4)](function(_0x5117b1){const _0x19705d=_0x374340;return typeof _0x5117b1['attrs']['id']==_0x19705d(0x339)&&_0x10e841&&_0x10e841[_0x19705d(0x261)](_0x5117b1[_0x19705d(0x24d)]['id'])?_0x18b41f(_0x18b41f({},_0x5117b1),{'attrs':_0x18b41f(_0x18b41f({},_0x5117b1[_0x19705d(0x24d)]),{'id':_0x5117b1[_0x19705d(0x24d)]['id']+_0x28455b['idSuffix']})}):_0x5117b1;})}):_0x33a770;}function _0x4cff3e(){const _0xb21da9=_0x52f010;return Math[_0xb21da9(0x3a7)]()[_0xb21da9(0x434)](0x24)[_0xb21da9(0x2e0)](0x2,0x8);}_0x24443e['displayName']='UniverIcon';var _0x5cefde={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':'none','viewBox':_0x52f010(0x422),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x52f010(0x35a)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x42d),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52f010(0x367)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'fill':_0x52f010(0x2fb),'d':_0x52f010(0x28e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3c7f05=_0x729dd1[_0x52f010(0x2f7)](function(_0x540fc7,_0x5217f5){const _0x5ba635=_0x52f010;return _0x729dd1[_0x5ba635(0x31f)](_0x24443e,Object[_0x5ba635(0x410)]({},_0x540fc7,{'id':'off-line-icon','ref':_0x5217f5,'icon':_0x5cefde}));});_0x3c7f05[_0x52f010(0x451)]='OffLineIcon';var _0x4e410b={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':_0x52f010(0x30d),'viewBox':_0x52f010(0x46b),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x1ef),'strokeLinecap':_0x52f010(0x347),'strokeLinejoin':_0x52f010(0x347),'strokeWidth':1.2}}]},{'tag':_0x52f010(0x268),'attrs':{},'children':[{'tag':_0x52f010(0x310),'attrs':{'id':_0x52f010(0x2df)},'children':[{'tag':'path','attrs':{'fill':_0x52f010(0x2fb),'d':'M0\x200H16V16H0z','transform':_0x52f010(0x26c)}}]}]}],'defIds':[_0x52f010(0x2df)]},_0x2e4b47=_0x729dd1[_0x52f010(0x2f7)](function(_0x5127fe,_0x3b246f){const _0x201cae=_0x52f010;return _0x729dd1[_0x201cae(0x31f)](_0x24443e,Object['assign']({},_0x5127fe,{'id':_0x201cae(0x386),'ref':_0x3b246f,'icon':_0x4e410b}));});_0x2e4b47[_0x52f010(0x451)]=_0x52f010(0x2c3);function _0x2544ea(_0xbfb6e9){const _0x66152e=_0x52f010;switch(_0xbfb6e9){case _0x1ac61a[_0x66152e(0x30b)]['OFFLINE']:return _0x66152e(0x2f0);case _0x1ac61a['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x1ac61a['CollaborationStatus'][_0x66152e(0x2e3)]:return _0x66152e(0x1ec);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x335)]:return _0x66152e(0x209);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x274)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1e5)]:return _0x66152e(0x3df);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x308)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1d7)]:return'collabStatus.synced';}}function _0x1864d4(_0x4166f6){const _0x4e8366=_0x52f010,{status$:_0x205d64}=_0x4166f6,_0x2a3bc1=_0x1c4740[_0x4e8366(0x28b)](_0x205d64,_0x1ac61a[_0x4e8366(0x30b)][_0x4e8366(0x335)]),_0x1b1a27=_0x1c4740['useDependency'](_0x3d05ee[_0x4e8366(0x2a2)]),_0xf6062c=_0x1c4740[_0x4e8366(0x28c)](_0x1ac61a[_0x4e8366(0x265)]),_0x595443=_0x2a3bc1!==_0x1ac61a['CollaborationStatus'][_0x4e8366(0x206)],_0x21314c=_0x1b1a27['t'](_0x2544ea(_0x2a3bc1)),_0xda432b=_0x595443?_0x447c69[_0x4e8366(0x22a)](_0x2e4b47,{}):_0x447c69[_0x4e8366(0x22a)](_0x3c7f05,{}),_0x5ee5b6=_0x729dd1[_0x4e8366(0x269)](()=>{_0x595443||_0xf6062c['reconnect']();},[_0x595443,_0xf6062c]);function _0x2e7e44(){const _0x32625e=_0x4e8366;return _0x447c69[_0x32625e(0x288)](_0x32625e(0x390),{'className':_0x32625e(0x3c3),'onClick':_0x5ee5b6,'children':[_0x447c69['jsx'](_0x32625e(0x390),{'className':_0xaeffda['clsx'](_0x32625e(0x2eb),{'univer-text-green-500':_0x595443,'univer-text-red-500':!_0x595443}),'children':_0xda432b}),_0x447c69[_0x32625e(0x22a)](_0x32625e(0x390),{'className':_0x32625e(0x247),'children':_0x21314c})]});}return _0x595443?_0x2e7e44():_0x447c69['jsx'](_0xaeffda[_0x4e8366(0x2d2)],{'title':_0x1b1a27['t'](_0x4e8366(0x416)),'children':_0x2e7e44()});}var _0xe6669b=Object[_0x52f010(0x3d4)],_0x5a169c=(_0x81bf31,_0x221eaa,_0x1c89d0,_0x142ba5)=>{const _0x334a30=_0x52f010;for(var _0x22ff16=_0x142ba5>0x1?void 0x0:_0x142ba5?_0xe6669b(_0x221eaa,_0x1c89d0):_0x221eaa,_0x1bb55a=_0x81bf31[_0x334a30(0x2d4)]-0x1,_0x5447a6;_0x1bb55a>=0x0;_0x1bb55a--)(_0x5447a6=_0x81bf31[_0x1bb55a])&&(_0x22ff16=_0x5447a6(_0x22ff16)||_0x22ff16);return _0x22ff16;},_0x17c005=(_0x658c53,_0x283e6c)=>(_0x3cefc7,_0x1482bd)=>_0x283e6c(_0x3cefc7,_0x1482bd,_0x658c53);_0x2245a1[_0x52f010(0x42f)]=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x35b5dd,_0xba616d,_0x17931d,_0xa686da){const _0xe79239=_0x52f010;super(),_0x544075(this,_0xe79239(0x2f4),new _0x353c21['BehaviorSubject'](_0x1ac61a[_0xe79239(0x30b)][_0xe79239(0x335)])),(this[_0xe79239(0x40e)]=_0x35b5dd,this[_0xe79239(0x2c9)]=_0xba616d,this[_0xe79239(0x445)]=_0x17931d,this[_0xe79239(0x35d)]=_0xa686da,this[_0xe79239(0x3fe)](),this[_0xe79239(0x44f)]());}[_0x52f010(0x44f)](){const _0x5c42d2=_0x52f010;this['disposeWithMe'](this[_0x5c42d2(0x40e)][_0x5c42d2(0x25e)][_0x5c42d2(0x38c)](_0x353c21[_0x5c42d2(0x2af)](()=>{const _0x28d292=_0x5c42d2,_0x28c4e7=this['_univerInstanceService'][_0x28d292(0x218)]();return _0x28c4e7?this['_collaborationController'][_0x28d292(0x3b9)](_0x28c4e7[_0x28d292(0x272)]()):_0x353c21['of'](null);}),_0x353c21[_0x5c42d2(0x2af)](_0x537322=>_0x537322?_0x537322[_0x5c42d2(0x2d9)]:_0x353c21['of'](_0x1ac61a['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x58215f=>{const _0xce6e4e=_0x5c42d2;this[_0xce6e4e(0x2f4)][_0xce6e4e(0x1fd)](_0x58215f);}));}[_0x52f010(0x3fe)](){const _0x327aaa=_0x52f010;this[_0x327aaa(0x2ba)](this[_0x327aaa(0x35d)][_0x327aaa(0x40f)](_0x1c4740[_0x327aaa(0x34e)]['HEADER_MENU'],()=>_0x1c4740[_0x327aaa(0x2fe)](_0x5e1139({'status$':this['_status$'][_0x327aaa(0x46d)]()}),this['_injector'])));}},_0x2245a1[_0x52f010(0x42f)]=_0x5a169c([_0x17c005(0x0,_0x3d05ee['IUniverInstanceService']),_0x17c005(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x17c005(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x315)])),_0x17c005(0x3,_0x1c4740['IUIPartsService'])],_0x2245a1[_0x52f010(0x42f)]);function _0x5e1139(_0x373e59){const {status$:_0x3c6684}=_0x373e59;return function(){const _0x1c2737=_0x43db;return _0x447c69[_0x1c2737(0x22a)](_0x1864d4,{'status$':_0x3c6684});};}const _0x40ca0b=_0x3d05ee[_0x52f010(0x43d)]('uni.network.url-service');var _0x5316cc=Object[_0x52f010(0x3d4)],_0x4e7f63=(_0x58f83d,_0x404526,_0x5d15f9,_0x437e6f)=>{const _0x5edce6=_0x52f010;for(var _0x101952=_0x437e6f>0x1?void 0x0:_0x437e6f?_0x5316cc(_0x404526,_0x5d15f9):_0x404526,_0x30ed1d=_0x58f83d[_0x5edce6(0x2d4)]-0x1,_0x2a2fbf;_0x30ed1d>=0x0;_0x30ed1d--)(_0x2a2fbf=_0x58f83d[_0x30ed1d])&&(_0x101952=_0x2a2fbf(_0x101952)||_0x101952);return _0x101952;},_0x25cda5=(_0x1ae7fb,_0x2a213e)=>(_0x344259,_0x58b2fb)=>_0x2a213e(_0x344259,_0x58b2fb,_0x1ae7fb);_0x2245a1[_0x52f010(0x364)]=class extends _0x3d05ee['RxDisposable']{constructor(_0x3eda1f,_0x429d9b,_0x1a4291,_0x55f2f5,_0x8a46c){const _0x434a40=_0x52f010;super(),this[_0x434a40(0x3d9)]=_0x3eda1f,this[_0x434a40(0x456)]=_0x429d9b,this['_commandService']=_0x1a4291,this[_0x434a40(0x454)]=_0x55f2f5,_0x8a46c?_0x8a46c==null||_0x8a46c[_0x434a40(0x298)]()[_0x434a40(0x277)](()=>this[_0x434a40(0x36a)]()):(this[_0x434a40(0x456)]['debug']('[CollaborationDataLoaderController]',_0x434a40(0x40d)),this[_0x434a40(0x36a)]());}async['_init'](){const _0x5977f0=_0x52f010,_0x336a67=this[_0x5977f0(0x3d9)][_0x5977f0(0x3e1)](_0x5977f0(0x293)),_0xd1306e=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x39d)),_0x44c931=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x270));if(!_0x336a67||!_0xd1306e){this[_0x5977f0(0x456)][_0x5977f0(0x3e7)](_0x5977f0(0x379),_0x5977f0(0x406));return;}const _0x322504=await this['_dataLoaderService'][_0x5977f0(0x276)](_0x336a67,Number(_0xd1306e),_0x44c931);_0x322504&&_0x322504 instanceof _0x3d05ee['Workbook']&&this[_0x5977f0(0x436)](_0x322504);}async[_0x52f010(0x436)](_0x4cde0d){const _0x41fd9c=_0x52f010;await this['_updateSubUnitFromURLParams'](_0x4cde0d),_0x4cde0d['activeSheet$'][_0x41fd9c(0x38c)](_0x353c21[_0x41fd9c(0x25f)](this['dispose$']))[_0x41fd9c(0x222)](_0x1390b4=>{const _0x23df47=_0x41fd9c;_0x1390b4&&this[_0x23df47(0x2f9)](_0x1390b4);}),this[_0x41fd9c(0x3d9)][_0x41fd9c(0x38f)][_0x41fd9c(0x38c)](_0x353c21['takeUntil'](this[_0x41fd9c(0x43b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4cde0d));}[_0x52f010(0x2f9)](_0x543b4e,_0x2fe301=!0x1){const _0x3cce6f=_0x52f010,_0x59f1fc=this[_0x3cce6f(0x3d9)][_0x3cce6f(0x3e1)]('subunit');_0x543b4e[_0x3cce6f(0x399)]()!==_0x59f1fc&&this[_0x3cce6f(0x3d9)][_0x3cce6f(0x40a)](_0x3cce6f(0x270),_0x543b4e[_0x3cce6f(0x399)](),_0x2fe301);}async[_0x52f010(0x43e)](_0x2b3d00){const _0x5dbee9=_0x52f010;var _0x4fe502;const _0x97ff66=this[_0x5dbee9(0x3d9)][_0x5dbee9(0x3e1)]('subunit');if(!_0x97ff66||!_0x2b3d00[_0x5dbee9(0x3b6)](_0x97ff66)){const _0x51ea04=_0x2b3d00[_0x5dbee9(0x204)]()[0x0],_0xb12f23=_0x2b3d00[_0x5dbee9(0x3b6)](_0x51ea04);if(!_0xb12f23)return;this[_0x5dbee9(0x2f9)](_0xb12f23,!0x0),await this['_commandService'][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00['getUnitId'](),'subUnitId':_0x51ea04});return;}((_0x4fe502=_0x2b3d00['getActiveSheet']())==null?void 0x0:_0x4fe502[_0x5dbee9(0x399)]())!==_0x97ff66&&await this[_0x5dbee9(0x448)][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00[_0x5dbee9(0x272)](),'subUnitId':_0x97ff66});}},_0x2245a1[_0x52f010(0x364)]=_0x4e7f63([_0x25cda5(0x0,_0x40ca0b),_0x25cda5(0x1,_0x3d05ee[_0x52f010(0x3ae)]),_0x25cda5(0x2,_0x3d05ee[_0x52f010(0x375)]),_0x25cda5(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x27d)])),_0x25cda5(0x4,_0x3d05ee[_0x52f010(0x452)](_0x42cb63[_0x52f010(0x3a0)]))],_0x2245a1[_0x52f010(0x364)]);var _0x3689ae=Object[_0x52f010(0x3d4)],_0x2c9bfd=(_0x97b461,_0x2df871,_0x4f7277,_0x1899ff)=>{for(var _0x3d7073=_0x1899ff>0x1?void 0x0:_0x1899ff?_0x3689ae(_0x2df871,_0x4f7277):_0x2df871,_0x15afeb=_0x97b461['length']-0x1,_0x313da3;_0x15afeb>=0x0;_0x15afeb--)(_0x313da3=_0x97b461[_0x15afeb])&&(_0x3d7073=_0x313da3(_0x3d7073)||_0x3d7073);return _0x3d7073;},_0x40b5cf=(_0x1a0b7b,_0x430e80)=>(_0x418d60,_0x55bccf)=>_0x430e80(_0x418d60,_0x55bccf,_0x1a0b7b);let _0x2d6ba0=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x337705,_0x54034c){const _0x44308e=_0x52f010;super(),this[_0x44308e(0x1e4)]=_0x337705,this[_0x44308e(0x258)]=_0x54034c,this['_init']();}[_0x52f010(0x36a)](){const _0x4041b5=_0x52f010,_0x5bd3db=this;this[_0x4041b5(0x2ba)](this[_0x4041b5(0x1e4)][_0x4041b5(0x1f9)]({'onBeforePasteImage':async _0x1f6202=>{const _0x135e60=_0x4041b5,_0x43ec66=await _0x5bd3db[_0x135e60(0x258)]['saveImage'](_0x1f6202);return _0x43ec66?{'source':_0x43ec66[_0x135e60(0x384)],'imageSourceType':_0x43ec66[_0x135e60(0x259)]}:null;}}));}};_0x2d6ba0=_0x2c9bfd([_0x40b5cf(0x0,_0x50ffa0[_0x52f010(0x24f)]),_0x40b5cf(0x1,_0x372151[_0x52f010(0x22c)])],_0x2d6ba0);const _0x5e8ada=[_0x52f010(0x31b),_0x52f010(0x3ab),_0x52f010(0x271),'red.300','blue.400',_0x52f010(0x38a)];class _0x27e238 extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x413236=_0x52f010;super(...arguments),_0x544075(this,_0x413236(0x3a3),new Map()),_0x544075(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x173b69){const _0x35f2d6=_0x52f010;if(this[_0x35f2d6(0x3a3)][_0x35f2d6(0x350)](_0x173b69))return this[_0x35f2d6(0x3a3)][_0x35f2d6(0x25b)](_0x173b69);const _0x5b4fc9=_0x5e8ada[this[_0x35f2d6(0x460)]];return this[_0x35f2d6(0x460)]=(this[_0x35f2d6(0x460)]+0x1)%_0x5e8ada[_0x35f2d6(0x2d4)],this[_0x35f2d6(0x3a3)][_0x35f2d6(0x3f1)](_0x173b69,_0x5b4fc9),_0x5b4fc9;}}function _0x328dc8(_0x2de6ec){const _0x5c306e=_0x52f010;let _0xfabcc1='';for(const _0x1d6b65 of _0x2de6ec){const {startOffset:_0x4cf36a,endOffset:_0x2af8b3,isActive:_0x1c589b,rangeType:_0x4b3644,segmentId:_0x3b1dd1,segmentPage:_0x4dd824}=_0x1d6b65;_0xfabcc1[_0x5c306e(0x2d4)]&&(_0xfabcc1+=','),_0xfabcc1+=_0x4cf36a+':'+_0x2af8b3+':'+(_0x1c589b?'1':'0')+':'+_0x4b3644+':'+_0x3b1dd1+':'+_0x4dd824;}return _0xfabcc1;}function _0x15082b(_0x1f7d58){const _0x3665c6=_0x52f010,_0x467c24=_0x1f7d58[_0x3665c6(0x3bb)](','),_0x5277af=[];for(const _0x1144cb of _0x467c24){const [_0x423693,_0x45ec85,_0x24ee3a,_0x5df098,_0x4aa5b9,_0x3b43f2]=_0x1144cb[_0x3665c6(0x3bb)](':');_0x5277af[_0x3665c6(0x404)]({'startOffset':Number(_0x423693),'endOffset':Number(_0x45ec85),'collapsed':_0x423693===_0x45ec85,'isActive':_0x24ee3a==='1','rangeType':_0x5df098===_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]?_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]:_0x3d05ee[_0x3665c6(0x368)]['RECT'],'segmentId':typeof _0x4aa5b9==_0x3665c6(0x339)?String(_0x4aa5b9):'','segmentPage':Number(_0x3b43f2!=null?_0x3b43f2:-0x1)});}return _0x5277af['some'](_0x5c3f75=>_0x5c3f75['isActive'])||(_0x5277af[0x0]['isActive']=!0x0),_0x5277af;}class _0x4e98a8 extends _0x3d05ee['RxDisposable']{constructor(){const _0x3368da=_0x52f010;super(...arguments),_0x544075(this,'_collabCursorState$',new _0x353c21[(_0x3368da(0x411))](null)),_0x544075(this,_0x3368da(0x327),this[_0x3368da(0x20d)][_0x3368da(0x46d)]());}[_0x52f010(0x2e1)](_0x1d9826){const _0x591e9e=_0x52f010,{unitID:_0x2f8022,memberID:_0x7889f6,textRanges:_0x406d59}=_0x1d9826,_0x3f6bee=_0x328dc8(_0x406d59);if(_0x3f6bee==='')return;const _0x414d5b={'unitID':_0x2f8022,'memberID':_0x7889f6,'selection':_0x3f6bee};this['_collabCursorState$'][_0x591e9e(0x1fd)](_0x414d5b);}}var _0x30c976=Object[_0x52f010(0x3d4)],_0x285bee=(_0x2adb23,_0xb8cdfe,_0x262f73,_0xc23f4a)=>{const _0x3505e2=_0x52f010;for(var _0x48971b=_0xc23f4a>0x1?void 0x0:_0xc23f4a?_0x30c976(_0xb8cdfe,_0x262f73):_0xb8cdfe,_0x56cbaf=_0x2adb23[_0x3505e2(0x2d4)]-0x1,_0x447ee9;_0x56cbaf>=0x0;_0x56cbaf--)(_0x447ee9=_0x2adb23[_0x56cbaf])&&(_0x48971b=_0x447ee9(_0x48971b)||_0x48971b);return _0x48971b;},_0x2b1627=(_0x40e525,_0x2ec84b)=>(_0x1f09da,_0x53f746)=>_0x2ec84b(_0x1f09da,_0x53f746,_0x40e525);const _0x272ace=0x12c,_0x346fd=0x64;let _0x35be9d=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x3a8caf,_0x27860a,_0x3dbb12,_0x37cb73,_0x4a8800,_0x1e0df8,_0x2446c9,_0x5df840,_0x448fe3){const _0x569b38=_0x52f010;super(),_0x544075(this,'_online',!0x1),_0x544075(this,'_init',!0x1),_0x544075(this,_0x569b38(0x3dd),new _0x353c21[(_0x569b38(0x411))](new Map())),_0x544075(this,'cursorInfo$',this[_0x569b38(0x3dd)]['asObservable']()),_0x544075(this,_0x569b38(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x569b38(0x34a),this[_0x569b38(0x21a)][_0x569b38(0x38c)](_0x353c21[_0x569b38(0x33d)](_0x272ace))),_0x544075(this,_0x569b38(0x40b),_0x3d05ee[_0x569b38(0x46a)](_0x3317df=>{const _0x254c55=_0x569b38,_0x39a4ba={'eventID':_0x4876d5[_0x254c55(0x2d1)][_0x254c55(0x256)],'data':{'unitID':this[_0x254c55(0x412)],'memberID':this[_0x254c55(0x27a)][_0x254c55(0x360)](),'selection':_0x328dc8(_0x3317df)}};this[_0x254c55(0x27a)][_0x254c55(0x1e1)](_0x39a4ba,this[_0x254c55(0x412)]);},_0x346fd)),(this[_0x569b38(0x412)]=_0x3a8caf,this[_0x569b38(0x27a)]=_0x27860a,this[_0x569b38(0x2c9)]=_0x3dbb12,this[_0x569b38(0x238)]=_0x37cb73,this['_memberService']=_0x4a8800,this[_0x569b38(0x2c8)]=_0x1e0df8,this[_0x569b38(0x27f)]=_0x2446c9,this['_univerInstanceService']=_0x5df840,this['_commandService']=_0x448fe3);}get['cursorInfo'](){const _0x124c31=_0x52f010;return this[_0x124c31(0x3dd)]['getValue']();}get['roomMembers'](){const _0x5890d8=_0x52f010;return this[_0x5890d8(0x21a)]['getValue']();}['dispose'](){const _0x3352e8=_0x52f010;super[_0x3352e8(0x244)](),this['_cursorInfo$'][_0x3352e8(0x1fd)](new Map()),this['_cursorInfo$'][_0x3352e8(0x237)](),this[_0x3352e8(0x21a)]['next']([]),this['_roomMembers$'][_0x3352e8(0x237)]();}[_0x52f010(0x39b)](){const _0x13c467=_0x52f010;this[_0x13c467(0x36a)]||(this[_0x13c467(0x36a)]=!0x0,this['_session'][_0x13c467(0x1dc)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this['dispose$']))[_0x13c467(0x222)](_0x534371=>{const _0x4a95e5=_0x13c467;_0x534371===_0x1ac61a[_0x4a95e5(0x20e)]['ONLINE']?this[_0x4a95e5(0x3b2)]():this[_0x4a95e5(0x1f5)]();}),this['_session'][_0x13c467(0x444)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this[_0x13c467(0x43b)]))[_0x13c467(0x222)](_0x294c71=>{const _0xec7056=_0x13c467,_0x4f863f=_0x294c71['eventID'];_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x256)]&&this[_0xec7056(0x391)](_0x294c71),_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x362)]&&this['_onCursorDelete'](_0x294c71);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0xa55485=>{const _0x26c366=_0x13c467,_0x569763=_0xa55485[_0x26c366(0x21c)];_0x569763!=null&&this[_0x26c366(0x26b)]&&_0xa55485['id']===_0x427dab[_0x26c366(0x3c7)]['id']&&_0x569763[_0x26c366(0x32e)]===this[_0x26c366(0x412)]&&_0x569763['isEditing']===!0x1&&_0x569763[_0x26c366(0x313)][_0x26c366(0x2d4)]>0x0&&this['_updateLocalCursor'](_0x569763[_0x26c366(0x313)]);})),this[_0x13c467(0x2c8)][_0x13c467(0x327)][_0x13c467(0x38c)](_0x353c21['takeUntil'](this[_0x13c467(0x43b)]))['subscribe'](_0x169b0a=>{const _0x4a6532=_0x13c467;if((_0x169b0a==null?void 0x0:_0x169b0a['unitID'])!==this[_0x4a6532(0x412)])return;const _0x36c6a9={'eventID':_0x4876d5['CollaborationEvent'][_0x4a6532(0x256)],'data':_0x169b0a};this[_0x4a6532(0x391)](_0x36c6a9);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0x105f4e=>{const _0xc7007=_0x13c467;if(_0x105f4e[_0xc7007(0x21c)]==null)return;const _0xf5004b=_0x105f4e['params'];if(_0x105f4e['id']!==_0x427dab[_0xc7007(0x223)]['id']||_0xf5004b['unitId']!==this['unitID'])return;const _0xa4eeae={'id':_0xc7007(0x23d),'params':_0xf5004b},_0x57f9f1=this[_0xc7007(0x267)];for(const [_0x1faacc,_0x2253ec]of _0x57f9f1){const _0x25877c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xc7007(0x412)],'actions':null,'textRanges':_0x2253ec['ranges']}},_0x5313c4=this[_0xc7007(0x27f)]['transformMutation'](_0xa4eeae,_0x25877c,!0x1);if(_0x4876d5[_0xc7007(0x453)](_0x5313c4))throw _0x5313c4[_0xc7007(0x1e8)];_0x57f9f1[_0xc7007(0x3f1)](_0x1faacc,{..._0x2253ec,'ranges':_0x5313c4[_0xc7007(0x43f)][_0xc7007(0x21c)][_0xc7007(0x301)]});}queueMicrotask(()=>{const _0x564796=_0xc7007;this[_0x564796(0x3dd)][_0x564796(0x1fd)](_0x57f9f1);});})));}[_0x52f010(0x391)](_0x2402bc){const _0x473119=_0x52f010;var _0x4e69b7,_0x2d0453;const {memberID:_0x26f856,selection:_0x286d04}=_0x2402bc[_0x473119(0x3f9)],_0x514126=_0x15082b(_0x286d04),_0x39d969=(_0x2d0453=(_0x4e69b7=this[_0x473119(0x2e7)][_0x473119(0x2b2)](this[_0x473119(0x412)],_0x26f856))==null?void 0x0:_0x4e69b7[_0x473119(0x234)])!=null?_0x2d0453:_0x473119(0x2a6),_0x5da18e={'color':this[_0x473119(0x238)][_0x473119(0x387)](_0x26f856),'name':_0x39d969,'ranges':_0x514126},_0x3dee3f=this[_0x473119(0x267)];_0x3dee3f['set'](_0x26f856,_0x5da18e),this[_0x473119(0x3dd)]['next'](_0x3dee3f);}[_0x52f010(0x3c6)](_0x3405e5){const _0x55c0d5=_0x52f010,{memberID:_0x4142c1}=_0x3405e5[_0x55c0d5(0x3f9)],_0x51903d=this['cursorInfo'];_0x51903d[_0x55c0d5(0x3d1)](_0x4142c1),this[_0x55c0d5(0x3dd)][_0x55c0d5(0x1fd)](_0x51903d);}['_toggleOnline'](){const _0x20879c=_0x52f010;var _0x1d2b92;if(this[_0x20879c(0x26b)]=!0x0,((_0x1d2b92=this[_0x20879c(0x40e)]['getFocusedUnit']())==null?void 0x0:_0x1d2b92[_0x20879c(0x272)]())!==this['unitID'])return;const _0x88e9e7=this[_0x20879c(0x2c9)][_0x20879c(0x25b)](_0x427dab[_0x20879c(0x1d5)])[_0x20879c(0x36b)]();Array[_0x20879c(0x3fb)](_0x88e9e7)&&_0x88e9e7['length']>0x0&&this[_0x20879c(0x40b)](_0x88e9e7);}['_toggleOffline'](){const _0x2f29dc=_0x52f010;this[_0x2f29dc(0x26b)]=!0x1;}};_0x35be9d=_0x285bee([_0x2b1627(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x2b1627(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x2b1627(0x4,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x24b)])),_0x2b1627(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x2b1627(0x6,_0x4876d5[_0x52f010(0x1dd)]),_0x2b1627(0x7,_0x3d05ee[_0x52f010(0x365)]),_0x2b1627(0x8,_0x3d05ee[_0x52f010(0x375)])],_0x35be9d);var _0x4b6a17=Object['getOwnPropertyDescriptor'],_0x7a6911=(_0x1e4ef9,_0x552467,_0x4cfecf,_0x3ea00f)=>{const _0x43ccf0=_0x52f010;for(var _0x4b2431=_0x3ea00f>0x1?void 0x0:_0x3ea00f?_0x4b6a17(_0x552467,_0x4cfecf):_0x552467,_0x5c95b4=_0x1e4ef9[_0x43ccf0(0x2d4)]-0x1,_0x3bf6b8;_0x5c95b4>=0x0;_0x5c95b4--)(_0x3bf6b8=_0x1e4ef9[_0x5c95b4])&&(_0x4b2431=_0x3bf6b8(_0x4b2431)||_0x4b2431);return _0x4b2431;},_0x407587=(_0x477b97,_0x568aea)=>(_0x1673a6,_0x30e05b)=>_0x568aea(_0x1673a6,_0x30e05b,_0x477b97);const _0x478ef6=0x12c,_0x22bf90=0x64,_0x286b72=()=>{let _0x57651e=[],_0x390ad1=!0x1;return _0x3d56e1=>{const _0x19f1cc=_0x43db;_0x57651e[_0x19f1cc(0x404)](_0x3d56e1),_0x390ad1||(_0x390ad1=!0x0,setTimeout(()=>{const _0x1a2d55=_0x19f1cc;_0x57651e[_0x1a2d55(0x2ce)](_0x4480c4=>_0x4480c4()),_0x57651e=[],_0x390ad1=!0x1;}));};};let _0x283ab6=class extends _0x3d05ee['RxDisposable']{constructor(_0x101195,_0x33d840,_0x12aad3,_0x18f985,_0x3f698b,_0x2b2abd,_0x1934e7,_0x10a5b6){const _0x5dd1da=_0x52f010;super(),_0x544075(this,_0x5dd1da(0x26b),!0x1),_0x544075(this,_0x5dd1da(0x36a),!0x1),_0x544075(this,_0x5dd1da(0x3dd),new _0x353c21['BehaviorSubject'](new Map())),_0x544075(this,_0x5dd1da(0x3c5),this['_cursorInfo$'][_0x5dd1da(0x46d)]()),_0x544075(this,_0x5dd1da(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x5dd1da(0x34a),this[_0x5dd1da(0x21a)][_0x5dd1da(0x38c)](_0x353c21[_0x5dd1da(0x33d)](_0x478ef6))),_0x544075(this,_0x5dd1da(0x40b),_0x3d05ee[_0x5dd1da(0x46a)]((_0x5d30c6,_0x52990a)=>{const _0x2dfe87=_0x5dd1da,_0x58b5ac={'eventID':_0x4876d5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2dfe87(0x412)],'memberID':this[_0x2dfe87(0x27a)][_0x2dfe87(0x360)](),'selection':_0x447c02['serializeRangeWithSheet'](_0x5d30c6,_0x52990a[_0x2dfe87(0x3fd)])}};this[_0x2dfe87(0x27a)]['send'](_0x58b5ac,this['unitID']);},_0x22bf90)),(this[_0x5dd1da(0x412)]=_0x101195,this['_session']=_0x33d840,this[_0x5dd1da(0x2c9)]=_0x12aad3,this[_0x5dd1da(0x238)]=_0x18f985,this[_0x5dd1da(0x2e7)]=_0x3f698b,this[_0x5dd1da(0x40e)]=_0x2b2abd,this[_0x5dd1da(0x448)]=_0x1934e7,this[_0x5dd1da(0x427)]=_0x10a5b6);}get[_0x52f010(0x267)](){const _0x5734f3=_0x52f010;return this[_0x5734f3(0x3dd)][_0x5734f3(0x3a4)]();}get[_0x52f010(0x338)](){const _0x4e32a1=_0x52f010;return this[_0x4e32a1(0x21a)][_0x4e32a1(0x3a4)]();}['dispose'](){const _0x6a77f2=_0x52f010;super['dispose'](),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x1fd)](new Map()),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x237)](),this[_0x6a77f2(0x21a)][_0x6a77f2(0x1fd)]([]),this[_0x6a77f2(0x21a)]['complete']();}['init'](){const _0x3cd749=_0x52f010;this[_0x3cd749(0x36a)]||(this[_0x3cd749(0x36a)]=!0x0,this[_0x3cd749(0x27a)][_0x3cd749(0x1dc)]['pipe'](_0x353c21[_0x3cd749(0x25f)](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x1a0e7c=>{const _0x1d5cd8=_0x3cd749;_0x1a0e7c===_0x1ac61a[_0x1d5cd8(0x20e)]['ONLINE']?this[_0x1d5cd8(0x3b2)]():this['_toggleOffline']();}),this[_0x3cd749(0x27a)]['event$']['pipe'](_0x353c21['takeUntil'](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x4d394b=>{const _0x180512=_0x3cd749,_0x278b5c=_0x4d394b[_0x180512(0x397)];_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x256)]&&this['_onCursorUpdate'](_0x4d394b),_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x362)]&&this[_0x180512(0x3c6)](_0x4d394b);}),this[_0x3cd749(0x329)](),this[_0x3cd749(0x2ba)](this[_0x3cd749(0x448)][_0x3cd749(0x2d7)](_0x4c8f23=>{const _0xe37091=_0x3cd749;if(this['_online']&&_0x4c8f23['id']===_0x401d6b['SetSelectionsOperation']['id']&&_0x4c8f23['params'][_0xe37091(0x32e)]===this[_0xe37091(0x412)]){const _0x2eb286=_0x4c8f23[_0xe37091(0x21c)];this[_0xe37091(0x40b)](_0x2eb286[_0xe37091(0x3a9)],_0x2eb286['selections'][0x0]);}})));}[_0x52f010(0x391)](_0xb6367b){const _0x9b0bf5=_0x52f010;var _0x1754e7,_0x2863dd;const {memberID:_0x551eaa,selection:_0x50f6dc}=_0xb6367b[_0x9b0bf5(0x3f9)],{sheetName:_0x4f4eaa,range:_0x534fdc}=_0x447c02['deserializeRangeWithSheet'](_0x50f6dc),_0x1f794b={'name':(_0x2863dd=(_0x1754e7=this[_0x9b0bf5(0x2e7)][_0x9b0bf5(0x2b2)](this[_0x9b0bf5(0x412)],_0x551eaa))==null?void 0x0:_0x1754e7['name'])!=null?_0x2863dd:_0x9b0bf5(0x2a6),'range':this[_0x9b0bf5(0x21b)](_0x4f4eaa,_0x534fdc),'sheetID':_0x4f4eaa,'color':this[_0x9b0bf5(0x238)][_0x9b0bf5(0x387)](_0x551eaa),'selection':_0x50f6dc},_0x519937=this[_0x9b0bf5(0x267)];_0x519937[_0x9b0bf5(0x3f1)](_0x551eaa,_0x1f794b),this[_0x9b0bf5(0x3dd)][_0x9b0bf5(0x1fd)](_0x519937);}[_0x52f010(0x3c6)](_0x1830fd){const _0x57f6cc=_0x52f010,{memberID:_0x2481e5}=_0x1830fd[_0x57f6cc(0x3f9)],_0x19519d=this[_0x57f6cc(0x267)];_0x19519d['delete'](_0x2481e5),this[_0x57f6cc(0x3dd)][_0x57f6cc(0x1fd)](_0x19519d);}[_0x52f010(0x21b)](_0x3d152f,_0x333343){const _0x5e00f1=_0x52f010;var _0x3b45f4,_0x656abc;const _0x510de2=(_0x656abc=(_0x3b45f4=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x5e00f1(0x412)]))==null?void 0x0:_0x3b45f4[_0x5e00f1(0x3b6)](_0x3d152f))==null?void 0x0:_0x656abc[_0x5e00f1(0x1fc)]();return(_0x510de2==null?void 0x0:_0x510de2[_0x5e00f1(0x22d)](_0x321175=>_0x3d05ee[_0x5e00f1(0x292)][_0x5e00f1(0x326)](_0x321175,_0x333343)))||_0x333343;}[_0x52f010(0x329)](){const _0x229353=_0x52f010,_0x53c40e=new _0x3d05ee[(_0x229353(0x3e8))](),_0x32c2ee=_0x286b72(),_0x4552a7=()=>{const _0x66799=_0x229353;_0x53c40e[_0x66799(0x244)]();const _0x98ffd7=(_0x1d6186,_0x4e795b,_0x1bd9c0,_0x5c5ceb)=>{const _0x3ee9ec=_0x66799;let _0x59be15=[];switch(_0x1d6186['id']){case _0x401d6b[_0x3ee9ec(0x2be)]['DeleteRangeMoveLeftCommandId']:{_0x59be15=_0x401d6b['handleDeleteRangeMoveLeft'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fc)]:{_0x59be15=_0x401d6b['handleDeleteRangeMoveUp'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertColCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x241)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertRangeMoveDownCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x30a)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x3ce)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x408)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fa)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x2bf)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x32c)]:{_0x59be15=_0x401d6b['handleMoveRange'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b['EffectRefRangId'][_0x3ee9ec(0x225)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x228)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['RemoveRowCommandId']:{_0x59be15=_0x401d6b['handleIRemoveRow'](_0x1d6186,_0x5c5ceb);break;}}const _0x4c0887=_0x401d6b[_0x3ee9ec(0x2a3)](_0x59be15,_0x5c5ceb),_0x20f8ce=this[_0x3ee9ec(0x267)][_0x3ee9ec(0x25b)](_0x4e795b);if(_0x20f8ce&&_0x4c0887){const _0x35e288={..._0x20f8ce,'range':_0x4c0887};this[_0x3ee9ec(0x267)]['set'](_0x4e795b,_0x35e288),_0x32c2ee(()=>{const _0x42831d=_0x3ee9ec,_0x1e984b=this[_0x42831d(0x427)][_0x42831d(0x2e2)](_0x4c0887,_0x24ccf9=>(_0x1e984b[_0x42831d(0x244)](),_0x98ffd7(_0x24ccf9,_0x4e795b,_0x1bd9c0,_0x4c0887)));_0x53c40e[_0x42831d(0x46c)](_0x1e984b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x66799(0x2ce)]((_0xfc775,_0xdbfb1d)=>{const _0x53be25=_0x66799,{range:_0x32194a,sheetID:_0x11958c}=_0xfc775,_0xf9e3e3=this[_0x53be25(0x427)][_0x53be25(0x2e2)](_0x32194a,_0x5cf9ce=>(_0xf9e3e3[_0x53be25(0x244)](),_0x98ffd7(_0x5cf9ce,_0xdbfb1d,_0x11958c,_0x32194a)));_0x53c40e[_0x53be25(0x46c)](_0xf9e3e3);});};this[_0x229353(0x2ba)](_0x3d05ee[_0x229353(0x20a)](this[_0x229353(0x3dd)][_0x229353(0x222)](()=>{_0x4552a7();})));}['_toggleOnline'](){const _0x38cac3=_0x52f010;var _0x3c76af,_0x4ad02f;if(this['_online']=!0x0,((_0x3c76af=this[_0x38cac3(0x40e)][_0x38cac3(0x218)]())==null?void 0x0:_0x3c76af['getUnitId']())!==this[_0x38cac3(0x412)])return;const _0x58647b=(_0x4ad02f=this[_0x38cac3(0x2c9)][_0x38cac3(0x25b)](_0x401d6b[_0x38cac3(0x323)])[_0x38cac3(0x1db)]())==null?void 0x0:_0x4ad02f[0x0],_0x48fd59=this[_0x38cac3(0x40e)]['getCurrentUnitForType'](_0x3d05ee['UniverInstanceType'][_0x38cac3(0x44b)])[_0x38cac3(0x257)]();_0x58647b&&_0x48fd59&&this['_updateLocalCursor'](_0x48fd59[_0x38cac3(0x399)](),_0x58647b);}[_0x52f010(0x1f5)](){const _0x54b15c=_0x52f010;this[_0x54b15c(0x26b)]=!0x1;}};_0x283ab6=_0x7a6911([_0x407587(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x407587(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x407587(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x24b)])),_0x407587(0x5,_0x3d05ee[_0x52f010(0x365)]),_0x407587(0x6,_0x3d05ee[_0x52f010(0x375)]),_0x407587(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x401d6b[_0x52f010(0x345)]))],_0x283ab6);var _0x165df=Object['getOwnPropertyDescriptor'],_0x306517=(_0x2b992a,_0xff6d7f,_0x2939b4,_0x5d7a16)=>{const _0x4a2b36=_0x52f010;for(var _0x57f913=_0x5d7a16>0x1?void 0x0:_0x5d7a16?_0x165df(_0xff6d7f,_0x2939b4):_0xff6d7f,_0x5e79eb=_0x2b992a[_0x4a2b36(0x2d4)]-0x1,_0x27984a;_0x5e79eb>=0x0;_0x5e79eb--)(_0x27984a=_0x2b992a[_0x5e79eb])&&(_0x57f913=_0x27984a(_0x57f913)||_0x57f913);return _0x57f913;},_0x3a59a5=(_0x480bc2,_0xee8d99)=>(_0x3ac10e,_0x5b1c55)=>_0xee8d99(_0x3ac10e,_0x5b1c55,_0x480bc2);let _0x5d58f9=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x523bb2,_0x1981c2,_0x58e0ec){const _0x17a264=_0x52f010;super(),_0x544075(this,_0x17a264(0x1f8),new Map()),_0x544075(this,_0x17a264(0x1ed),new _0x353c21[(_0x17a264(0x221))]()),(this[_0x17a264(0x40e)]=_0x523bb2,this['_injector']=_0x1981c2,this[_0x17a264(0x465)]=_0x58e0ec,this[_0x17a264(0x36a)]());}[_0x52f010(0x244)](){const _0x5e30ad=_0x52f010;super[_0x5e30ad(0x244)](),this[_0x5e30ad(0x1ed)][_0x5e30ad(0x237)](),this['_entities'][_0x5e30ad(0x2ce)](_0x5113b5=>_0x5113b5[_0x5e30ad(0x244)]());}[_0x52f010(0x2d5)](_0x229fa9){const _0x4e0854=_0x52f010;return this[_0x4e0854(0x1f8)][_0x4e0854(0x350)](_0x229fa9)?this['_entities'][_0x4e0854(0x25b)](_0x229fa9)['cursorInfo$']:this['_entityInit$'][_0x4e0854(0x38c)](_0x353c21[_0x4e0854(0x1d9)](_0x304705=>_0x304705['unitID']===_0x229fa9),_0x353c21[_0x4e0854(0x2af)](_0x34923c=>_0x34923c[_0x4e0854(0x3c5)]));}['_init'](){const _0x5b226c=_0x52f010;this['_univerInstanceService'][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)])['pipe'](_0x353c21['takeUntil'](this['dispose$']))[_0x5b226c(0x222)](async _0x5b02d7=>{const _0x239c5d=_0x5b226c,_0x355c75=_0x5b02d7[_0x239c5d(0x272)](),_0x56b466=await this[_0x239c5d(0x3de)](_0x355c75);this['_entityInit$']['next'](_0x56b466),this['_entities'][_0x239c5d(0x3f1)](_0x355c75,_0x56b466);}),this[_0x5b226c(0x40e)][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)])['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x38c)](_0x353c21[_0x5b226c(0x1d9)](_0x38d66b=>!_0x38d66b['getUnitId']()[_0x5b226c(0x2cd)]('__')))[_0x5b226c(0x222)](async _0x12c10a=>{const _0x363059=_0x5b226c,_0x2a1d5e=_0x12c10a[_0x363059(0x272)](),_0x19d79c=await this[_0x363059(0x372)](_0x2a1d5e);this[_0x363059(0x1ed)][_0x363059(0x1fd)](_0x19d79c),this[_0x363059(0x1f8)][_0x363059(0x3f1)](_0x2a1d5e,_0x19d79c);}),_0x353c21[_0x5b226c(0x36c)](this[_0x5b226c(0x40e)][_0x5b226c(0x1e0)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)]),this[_0x5b226c(0x40e)]['getTypeOfUnitDisposed$'](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)]))['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x222)](_0x5aa6a8=>{const _0x4596ab=_0x5b226c,_0x41660b=_0x5aa6a8[_0x4596ab(0x272)](),_0x4a30f0=this[_0x4596ab(0x1f8)][_0x4596ab(0x25b)](_0x41660b);_0x4a30f0&&(_0x4a30f0[_0x4596ab(0x244)](),this[_0x4596ab(0x1f8)][_0x4596ab(0x3d1)](_0x41660b));});}async[_0x52f010(0x3de)](_0x3f4398){const _0x54fb71=_0x52f010,_0x1c1f21=await this[_0x54fb71(0x465)][_0x54fb71(0x2bd)](_0x3f4398),_0x4c132c=this[_0x54fb71(0x2c9)]['createInstance'](_0x283ab6,_0x3f4398,_0x1c1f21);return _0x4c132c[_0x54fb71(0x39b)](),_0x4c132c;}async[_0x52f010(0x372)](_0x1e7c35){const _0x1b27f=_0x52f010,_0x2c55e3=await this['_collabSessionService'][_0x1b27f(0x2bd)](_0x1e7c35),_0x216a52=this[_0x1b27f(0x2c9)][_0x1b27f(0x437)](_0x35be9d,_0x1e7c35,_0x2c55e3);return _0x216a52[_0x1b27f(0x39b)](),_0x216a52;}};_0x5d58f9=_0x306517([_0x3a59a5(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x3a59a5(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x3a59a5(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x265)]))],_0x5d58f9);const _0x4c4c6b=0x14,_0x4e87c8=0xc8,_0x2ddf94=0x4,_0x448ef8=0x5;function _0x40e5c5(_0x11c48e,_0x1bce0e){const _0x3b968b=_0x52f010;let {radius:_0x35820b,width:_0x51a2a1,height:_0x3bbfdc}=_0x1bce0e;_0x35820b=_0x35820b!=null?_0x35820b:0x0,_0x51a2a1=_0x51a2a1!=null?_0x51a2a1:0x1e,_0x3bbfdc=_0x3bbfdc!=null?_0x3bbfdc:0x1e;let _0x43dbda=0x0,_0x3680a6=0x0,_0x5f11bf=0x0;_0x43dbda=_0x3680a6=_0x5f11bf=Math[_0x3b968b(0x3dc)](_0x35820b,_0x51a2a1/0x2,_0x3bbfdc/0x2),_0x11c48e[_0x3b968b(0x447)](),_0x11c48e[_0x3b968b(0x1e9)](_0x43dbda,0x0),_0x11c48e[_0x3b968b(0x330)](_0x51a2a1-_0x3680a6,0x0),_0x11c48e[_0x3b968b(0x254)](_0x51a2a1-_0x3680a6,_0x3680a6,_0x3680a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11c48e['lineTo'](_0x51a2a1,_0x3bbfdc-_0x5f11bf),_0x11c48e['arc'](_0x51a2a1-_0x5f11bf,_0x3bbfdc-_0x5f11bf,_0x5f11bf,0x0,Math['PI']/0x2,!0x1),_0x11c48e[_0x3b968b(0x330)](0x0,_0x3bbfdc),_0x11c48e[_0x3b968b(0x330)](0x0,_0x43dbda),_0x11c48e[_0x3b968b(0x254)](_0x43dbda,_0x43dbda,_0x43dbda,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11c48e[_0x3b968b(0x325)](),_0x1bce0e[_0x3b968b(0x286)]&&(_0x11c48e[_0x3b968b(0x23b)](),_0x11c48e[_0x3b968b(0x31e)]=_0x1bce0e[_0x3b968b(0x286)],_0x1bce0e[_0x3b968b(0x2b8)]===_0x3b968b(0x464)?_0x11c48e[_0x3b968b(0x286)](_0x3b968b(0x464)):_0x11c48e[_0x3b968b(0x286)](),_0x11c48e['restore']());}class _0x1d7753 extends _0x1eb76f['Shape']{constructor(_0x5aa2cd,_0x3e65f4){const _0x39db7c=_0x52f010;super(_0x5aa2cd,_0x3e65f4),_0x544075(this,_0x39db7c(0x253)),_0x544075(this,_0x39db7c(0x3f7)),(this[_0x39db7c(0x253)]=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x253)],this['text']=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x3f7)]);}static[_0x52f010(0x29c)](_0xda5c66,_0x3b77b5){const _0x1f29a1=_0x52f010,{text:_0x5d679a,color:_0x46469b}=_0x3b77b5;_0xda5c66[_0x1f29a1(0x23b)](),_0xda5c66[_0x1f29a1(0x245)]=_0x1f29a1(0x2a8);const _0x2b031a=_0xda5c66[_0x1f29a1(0x3d7)](_0x5d679a)[_0x1f29a1(0x354)],_0x34aaba=Math[_0x1f29a1(0x3dc)](_0x2b031a+0x2*_0x2ddf94,_0x4e87c8);_0x40e5c5(_0xda5c66,{'height':_0x4c4c6b,'radius':0x4,'width':_0x34aaba,'fill':_0x46469b}),_0xda5c66['fillStyle']=_0x1f29a1(0x449);const _0x5453d0=_0x2ddf94,_0x5a59b1=_0x4c4c6b-_0x448ef8,_0x2f66f2=_0x4e87c8-0x2*_0x2ddf94;if(_0x2b031a>_0x2f66f2){let _0x17230c='',_0x3fbb3=0x0;for(const _0x43d4e0 of _0x5d679a){const _0xc7dbca=_0xda5c66[_0x1f29a1(0x3d7)](_0x43d4e0)['width'];if(_0x3fbb3+_0xc7dbca<=_0x2f66f2-_0xda5c66[_0x1f29a1(0x3d7)](_0x1f29a1(0x25c))[_0x1f29a1(0x354)])_0x17230c+=_0x43d4e0,_0x3fbb3+=_0xc7dbca;else{_0x17230c+=_0x1f29a1(0x25c);break;}}_0xda5c66[_0x1f29a1(0x3b5)](_0x17230c,_0x5453d0,_0x5a59b1);}else _0xda5c66[_0x1f29a1(0x3b5)](_0x5d679a,_0x5453d0,_0x5a59b1);_0xda5c66[_0x1f29a1(0x1fa)]();}[_0x52f010(0x341)](_0x4394bd){_0x1d7753['drawWith'](_0x4394bd,this);}}const _0x47706c=_0x52f010(0x243),_0x4ea2f3=_0x52f010(0x2d8),_0x5d216f=_0x52f010(0x37f),_0x276c29=0x6,_0x4a9d48=1.5,_0x4a2eb5=0x4,_0x7c790c=1.5,_0x1a8a5a=_0x52f010(0x2b4);class _0x2a616a{constructor(_0x1bd953,_0x4a6c6d,_0x3a4c56,_0x15541f){const _0x55658f=_0x52f010;_0x544075(this,_0x55658f(0x23e),[]),_0x544075(this,'_anchor',null),_0x544075(this,_0x55658f(0x44e),null),_0x544075(this,'_anchorDot',null),_0x544075(this,_0x55658f(0x42b),null),_0x544075(this,_0x55658f(0x44d),null),(this[_0x55658f(0x2a5)]=_0x1bd953,this[_0x55658f(0x300)]=_0x4a6c6d,this[_0x55658f(0x440)]=_0x3a4c56,this['_document']=_0x15541f,this['_render']());}set[_0x52f010(0x41b)](_0x29387a){const _0x143a9b=_0x52f010;_0x29387a?(this['_anchorDot']&&this[_0x143a9b(0x285)][_0x143a9b(0x396)](),this[_0x143a9b(0x44e)]&&this['_textBubble']['show']()):(this[_0x143a9b(0x285)]&&this[_0x143a9b(0x285)][_0x143a9b(0x32f)](),this[_0x143a9b(0x44e)]&&this[_0x143a9b(0x44e)]['hide']());}[_0x52f010(0x244)](){const _0x4eb5ee=_0x52f010;for(const _0x278011 of this[_0x4eb5ee(0x23e)])_0x278011[_0x4eb5ee(0x244)]();this['_textBubble']&&this[_0x4eb5ee(0x44e)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x285)]&&this[_0x4eb5ee(0x285)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x36e)]&&this['_anchor'][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x44d)]&&this[_0x4eb5ee(0x44d)]();}['_render'](){const _0x5c68a0=_0x52f010;var _0x1d73e6;const {_docSkeleton:_0x15512b,_document:_0x1ccad6}=this,{color:_0xe1dc6b,name:_0x17f3c2,ranges:_0x170657}=this[_0x5c68a0(0x2a5)],_0x532a3b=_0x1ccad6[_0x5c68a0(0x3ff)](),{docsLeft:_0x2da8f3,docsTop:_0x41349b}=_0x532a3b,_0x3ad2bd=new _0x50ffa0[(_0x5c68a0(0x1f6))](_0x532a3b,_0x15512b);for(const {startOffset:_0x389939,endOffset:_0x4c68ee,rangeType:_0x28a6b4,segmentId:_0x228c49,segmentPage:_0x2c12cc,collapsed:_0x8cbae4,isActive:_0x320877}of _0x170657){const _0x3e84fe=_0x15512b[_0x5c68a0(0x3da)](_0x389939,!0x0,_0x228c49,_0x2c12cc);let _0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee,!0x0,_0x228c49,_0x2c12cc);if(_0x919338==null&&(_0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee-0x1,!0x1,_0x228c49,_0x2c12cc)),_0x320877){const {contentBoxPointGroup:_0x2d3ae7}=_0x3ad2bd[_0x5c68a0(0x227)](_0x919338,_0x919338);if(_0x2d3ae7[_0x5c68a0(0x2d4)]===0x0)continue;this[_0x5c68a0(0x328)](_0xe1dc6b,_0x2d3ae7,_0x2da8f3,_0x41349b,_0x17f3c2),this[_0x5c68a0(0x44d)]=this[_0x5c68a0(0x26e)]();}if(_0x3e84fe&&_0x919338){if(_0x28a6b4===_0x3d05ee['DOC_RANGE_TYPE']['RECT']){const _0xaa15bf=new _0x50ffa0[(_0x5c68a0(0x3e3))](_0x532a3b,_0x15512b),{pointGroup:_0xc86b3c}=(_0x1d73e6=_0xaa15bf[_0x5c68a0(0x227)](_0x3e84fe,_0x919338))!=null?_0x1d73e6:{};if(_0xc86b3c==null||_0xc86b3c['length']===0x0)continue;this['_drawRectRange'](_0xe1dc6b,_0xc86b3c,_0x2da8f3,_0x41349b);}else{if(!_0x8cbae4){const {borderBoxPointGroup:_0x5da154}=_0x3ad2bd[_0x5c68a0(0x227)](_0x3e84fe,_0x919338);if(_0x5da154['length']===0x0)continue;this[_0x5c68a0(0x1f0)](_0xe1dc6b,_0x5da154,_0x2da8f3,_0x41349b);}}}}}[_0x52f010(0x328)](_0x2d9d80,_0x2b6fac,_0x2de296,_0x4ed8d2,_0x5ce66d){const _0x1f58ec=_0x52f010,_0x2376d1=this[_0x1f58ec(0x281)](_0x2b6fac),{left:_0x36628c,top:_0x26b0d1,height:_0x2fc7db}=_0x2376d1,_0x77803a=this['_getScale'](),_0x269fae=_0x7c790c/_0x77803a,_0x386431=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2,'height':_0x2fc7db,'width':_0x4a9d48,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':_0x269fae,'stroke':_0x1a8a5a,'evented':!0x0});this['_anchor']=_0x386431,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x386431,_0x50ffa0[_0x1f58ec(0x21e)]);const _0x483bc0=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee['generateRandomId'](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4a2eb5/0x2,'height':_0x4a2eb5,'width':_0x4a2eb5,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':0x0,'stroke':_0x2d9d80||_0x1eb76f['getColor'](_0x3d05ee[_0x1f58ec(0x3fc)][_0x1f58ec(0x371)],0x0),'evented':!0x1});this[_0x1f58ec(0x285)]=_0x483bc0,this['_scene'][_0x1f58ec(0x381)](_0x483bc0,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);const _0x70c895=new _0x1d7753(_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4c4c6b,'text':_0x5ce66d,'color':_0x2d9d80});this[_0x1f58ec(0x44e)]=_0x70c895,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x70c895,_0x50ffa0[_0x1f58ec(0x21e)]),this[_0x1f58ec(0x41b)]=!0x1;}[_0x52f010(0x26e)](){const _0x6563bd=_0x52f010,_0x22b045=this[_0x6563bd(0x36e)]['onPointerEnter$'][_0x6563bd(0x3cc)](()=>{const _0x131223=_0x6563bd;this[_0x131223(0x41b)]=!0x0;}),_0x33e879=this[_0x6563bd(0x36e)][_0x6563bd(0x235)][_0x6563bd(0x3cc)](()=>{const _0xf1b9da=_0x6563bd;this[_0xf1b9da(0x42b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x46a341=_0xf1b9da;this[_0x46a341(0x41b)]=!0x1;},0x7d0);});return()=>{const _0x3b3fc9=_0x6563bd;_0x22b045[_0x3b3fc9(0x401)](),_0x33e879[_0x3b3fc9(0x401)]();};}[_0x52f010(0x1f0)](_0x2b0267,_0x121d76,_0x276d4b,_0x58adc4){const _0x3ddec3=_0x52f010,_0x5aa732=new _0x3d05ee[(_0x3ddec3(0x34d))](_0x2b0267)[_0x3ddec3(0x2cb)](0.2)[_0x3ddec3(0x3f2)](),_0x29d377=new _0x1eb76f['RegularPolygon'](_0x4ea2f3+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x121d76,'fill':_0x5aa732||_0x1eb76f['getColor'](_0x3d05ee[_0x3ddec3(0x3fc)][_0x3ddec3(0x371)],0.2),'left':_0x276d4b,'top':_0x58adc4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ddec3(0x23e)][_0x3ddec3(0x404)](_0x29d377),this['_scene']['addObject'](_0x29d377,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);}[_0x52f010(0x46f)](_0x1e3045,_0x192444,_0x1c0e3c,_0x1351da){const _0x3154c0=_0x52f010,_0x2a7dfd=new _0x3d05ee[(_0x3154c0(0x34d))](_0x1e3045)[_0x3154c0(0x2cb)](0.2)[_0x3154c0(0x3f2)](),_0x36d728=new _0x1eb76f[(_0x3154c0(0x2f6))](_0x5d216f+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x192444,'fill':_0x2a7dfd||_0x1eb76f[_0x3154c0(0x33c)](_0x3d05ee[_0x3154c0(0x3fc)][_0x3154c0(0x371)],0.2),'left':_0x1c0e3c,'top':_0x1351da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3154c0(0x23e)][_0x3154c0(0x404)](_0x36d728),this[_0x3154c0(0x300)][_0x3154c0(0x381)](_0x36d728,_0x50ffa0[_0x3154c0(0x21e)]);}[_0x52f010(0x281)](_0x117184){const _0x277e8c=_0x117184[0x0],_0x7f08c8=_0x277e8c[0x0],_0xa0d173=_0x277e8c[0x2],{x:_0x2ce671,y:_0x274147}=_0x7f08c8,{x:_0x5d7d0b,y:_0x3e5822}=_0xa0d173;return{'left':_0x2ce671,'top':_0x274147,'width':_0x5d7d0b-_0x2ce671,'height':_0x3e5822-_0x274147};}[_0x52f010(0x425)](){const _0x212268=_0x52f010,{scaleX:_0x34bd53,scaleY:_0xe4e7cf}=this[_0x212268(0x300)][_0x212268(0x421)]();return Math[_0x212268(0x1fb)](_0x34bd53,_0xe4e7cf);}}var _0x2005e9=Object[_0x52f010(0x3d4)],_0x1e06b5=(_0x21e589,_0x700958,_0x53fe87,_0x32c10f)=>{const _0x4939c2=_0x52f010;for(var _0x57591a=_0x32c10f>0x1?void 0x0:_0x32c10f?_0x2005e9(_0x700958,_0x53fe87):_0x700958,_0x4e1267=_0x21e589[_0x4939c2(0x2d4)]-0x1,_0x2c65f3;_0x4e1267>=0x0;_0x4e1267--)(_0x2c65f3=_0x21e589[_0x4e1267])&&(_0x57591a=_0x2c65f3(_0x57591a)||_0x57591a);return _0x57591a;},_0x2c8015=(_0x29c4bb,_0x3fa9b5)=>(_0x3d6af2,_0x2b8b4a)=>_0x3fa9b5(_0x3d6af2,_0x2b8b4a,_0x29c4bb);let _0xf7a1a5=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0xb63731,_0xc7ce95,_0x47b790,_0x484f68,_0x100cc3){const _0x393db6=_0x52f010;super(),_0x544075(this,_0x393db6(0x3ee),[]),_0x544075(this,_0x393db6(0x3d0),[]),(this[_0x393db6(0x3e0)]=_0xb63731,this[_0x393db6(0x214)]=_0xc7ce95,this['_collabCursorController']=_0x47b790,this[_0x393db6(0x448)]=_0x484f68,this[_0x393db6(0x312)]=_0x100cc3,this[_0x393db6(0x36a)]());}[_0x52f010(0x36a)](){const _0x5d4cca=_0x52f010,_0x230c6f=this[_0x5d4cca(0x3e0)][_0x5d4cca(0x32e)],_0x4ba153=this['_docSkeletonManagerService'];this[_0x5d4cca(0x2ba)](_0x353c21[_0x5d4cca(0x400)]([this['_collabCursorController'][_0x5d4cca(0x2d5)](_0x230c6f),this[_0x5d4cca(0x312)]['currentTheme$']])[_0x5d4cca(0x38c)](_0x41ab20['map'](([_0x5e788b,_0x1f5f8d])=>({'skeleton':_0x4ba153[_0x5d4cca(0x450)](),'cursors':[..._0x5e788b['values']()][_0x5d4cca(0x2cf)](_0x25d36e=>({..._0x25d36e,'color':this[_0x5d4cca(0x312)][_0x5d4cca(0x3f8)](_0x25d36e[_0x5d4cca(0x253)])}))})))[_0x5d4cca(0x222)](_0x585ed1=>{const _0x266a7b=_0x5d4cca;if(this[_0x266a7b(0x260)](),_0x585ed1){const {skeleton:_0x3f6566,cursors:_0x15d2f5}=_0x585ed1;this[_0x266a7b(0x432)](_0x3f6566,_0x15d2f5);}})),this[_0x5d4cca(0x3fa)](),this[_0x5d4cca(0x357)]();}['_updateCollabCursors'](_0x579e87,_0x132cb1){const _0xec0327=_0x52f010,{scene:_0x5bf09d,mainComponent:_0x2585d7}=this[_0xec0327(0x3e0)],_0x136951=_0x132cb1[_0xec0327(0x2c4)](_0x22b017=>new _0x2a616a(_0x22b017,_0x5bf09d,_0x579e87,_0x2585d7));this[_0xec0327(0x3ee)]=_0x136951,this[_0xec0327(0x3d0)]=_0x132cb1;}[_0x52f010(0x3ac)](){const _0x4306ae=_0x52f010;this[_0x4306ae(0x260)]();const {scene:_0x2ed6c3,mainComponent:_0x93886e}=this[_0x4306ae(0x3e0)],_0x116804=this[_0x4306ae(0x214)][_0x4306ae(0x450)](),_0x1bbcc6=this[_0x4306ae(0x3d0)][_0x4306ae(0x2c4)](_0x506ade=>new _0x2a616a(_0x506ade,_0x2ed6c3,_0x116804,_0x93886e));this['_cursorShapes']=_0x1bbcc6;}['_removeCollabCursors'](){const _0x18f240=_0x52f010;this[_0x18f240(0x3ee)]['forEach'](_0x112582=>_0x112582['dispose']()),this[_0x18f240(0x3ee)]=[];}[_0x52f010(0x357)](){const _0x4c664e=_0x52f010,_0x471fb1=[_0x50ffa0['SetDocZoomRatioOperation']['id']];this[_0x4c664e(0x2ba)](this[_0x4c664e(0x448)]['onCommandExecuted'](_0x1f8911=>{const _0x596a3b=_0x4c664e;_0x471fb1[_0x596a3b(0x261)](_0x1f8911['id'])&&_0x1f8911['params'][_0x596a3b(0x32e)]===this[_0x596a3b(0x3e0)][_0x596a3b(0x32e)]&&this[_0x596a3b(0x3ac)]();}));}[_0x52f010(0x3fa)](){const _0x39c332=_0x52f010;this[_0x39c332(0x2ba)](_0x3d05ee[_0x39c332(0x3d8)](this[_0x39c332(0x3e0)]['engine']['onTransformChange$'])[_0x39c332(0x38c)](_0x41ab20[_0x39c332(0x1d9)](_0x1fdba6=>_0x1fdba6[_0x39c332(0x39d)]===_0x1eb76f[_0x39c332(0x215)][_0x39c332(0x3ec)]),_0x41ab20[_0x39c332(0x33e)](0x10))[_0x39c332(0x222)](()=>{const _0x6cb293=_0x39c332;this[_0x6cb293(0x3ac)]();}));}};_0xf7a1a5=_0x1e06b5([_0x2c8015(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x427dab[_0x52f010(0x29b)])),_0x2c8015(0x2,_0x3d05ee['Inject'](_0x5d58f9)),_0x2c8015(0x3,_0x3d05ee['ICommandService']),_0x2c8015(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0xf7a1a5);const _0xeec2f8=0x1,_0x4452ce=1.5;class _0x184912 extends _0x1eb76f['Shape']{constructor(_0x1a2215,_0x528ab6){const _0x578f27=_0x52f010;super(_0x1a2215,_0x528ab6),_0x544075(this,_0x578f27(0x3f5)),_0x544075(this,'_hovered',!0x1),_0x544075(this,_0x578f27(0x1ea)),_0x544075(this,_0x578f27(0x23a),''),_0x544075(this,_0x578f27(0x20c),'top'),_0x544075(this,'_backgroundColor'),(_0x528ab6&&this[_0x578f27(0x3db)](_0x528ab6),this['onPointerEnter$'][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x0})),this[_0x578f27(0x235)][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x1})));}[_0x52f010(0x3db)](_0xe7360d){const _0x4c34d9=_0x52f010;var _0x1b61d3,_0x48de2a,_0x204653,_0x41d422,_0x36edd3,_0x59328b;this['_color']=(_0x1b61d3=_0xe7360d[_0x4c34d9(0x253)])!=null?_0x1b61d3:this[_0x4c34d9(0x3f5)],this[_0x4c34d9(0x419)]=(_0x48de2a=_0xe7360d[_0x4c34d9(0x2d6)])!=null?_0x48de2a:this['_hovered'],this[_0x4c34d9(0x1ea)]=(_0x204653=_0xe7360d[_0x4c34d9(0x3fd)])!=null?_0x204653:this[_0x4c34d9(0x1ea)],this[_0x4c34d9(0x23a)]=(_0x41d422=_0xe7360d['name'])!=null?_0x41d422:this['_name'],this[_0x4c34d9(0x20c)]=(_0x36edd3=_0xe7360d[_0x4c34d9(0x264)])!=null?_0x36edd3:this[_0x4c34d9(0x20c)],this[_0x4c34d9(0x351)]=(_0x59328b=_0xe7360d[_0x4c34d9(0x446)])!=null?_0x59328b:this[_0x4c34d9(0x351)],this[_0x4c34d9(0x2b6)]({'width':_0xe7360d[_0x4c34d9(0x354)],'height':_0xe7360d[_0x4c34d9(0x403)]});}[_0x52f010(0x358)](_0x153ff9){const _0x17a9d0=_0x52f010,{row:_0x5f1416,column:_0x1b25bb}=_0x153ff9;if(_0x5f1416>=this['_range'][_0x17a9d0(0x233)]&&_0x5f1416<=this['_range'][_0x17a9d0(0x366)]&&_0x1b25bb>=this['_range'][_0x17a9d0(0x340)]&&_0x1b25bb<=this[_0x17a9d0(0x1ea)]['endColumn']){this[_0x17a9d0(0x3db)]({'hovered':!0x0});return;}this[_0x17a9d0(0x3db)]({'hovered':!0x1});}[_0x52f010(0x240)](_0x21d723){return!0x1;}[_0x52f010(0x341)](_0x1c4796){const _0x5c699e=_0x52f010;_0x1eb76f[_0x5c699e(0x2b5)][_0x5c699e(0x29c)](_0x1c4796,{'width':this[_0x5c699e(0x354)],'height':this[_0x5c699e(0x403)],'strokeWidth':_0x4452ce,'stroke':this[_0x5c699e(0x3f5)],'evented':!0x1,'fill':this[_0x5c699e(0x351)]}),this[_0x5c699e(0x419)]&&(_0x1c4796['save'](),_0x1c4796[_0x5c699e(0x2e9)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c699e(0x20c)]===_0x5c699e(0x36f)?0x0:-_0x4c4c6b),_0x1d7753[_0x5c699e(0x29c)](_0x1c4796,{'text':this[_0x5c699e(0x23a)],'color':this['_color']}),_0x1c4796[_0x5c699e(0x1fa)]());}}var _0xeba64a=Object['getOwnPropertyDescriptor'],_0x55787c=(_0x427aa7,_0x3a50f1,_0x322aef,_0xa3088a)=>{const _0x2edc33=_0x52f010;for(var _0xe87e04=_0xa3088a>0x1?void 0x0:_0xa3088a?_0xeba64a(_0x3a50f1,_0x322aef):_0x3a50f1,_0x489ec0=_0x427aa7[_0x2edc33(0x2d4)]-0x1,_0x1af9a8;_0x489ec0>=0x0;_0x489ec0--)(_0x1af9a8=_0x427aa7[_0x489ec0])&&(_0xe87e04=_0x1af9a8(_0xe87e04)||_0xe87e04);return _0xe87e04;},_0x1bda8=(_0x154a79,_0x14cd2f)=>(_0x109e34,_0x485ca4)=>_0x14cd2f(_0x109e34,_0x485ca4,_0x154a79);const _0x2e46d4=0x1389;let _0x31a600=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x37b5dd,_0x3b85e5,_0x471e0e,_0x5aab1c){const _0x5a8f15=_0x52f010;super(),_0x544075(this,_0x5a8f15(0x3d0),new Set()),_0x544075(this,'_lastPointer',null),(this['_context']=_0x37b5dd,this[_0x5a8f15(0x409)]=_0x3b85e5,this[_0x5a8f15(0x356)]=_0x471e0e,this['_themeService']=_0x5aab1c,this[_0x5a8f15(0x36a)]());}[_0x52f010(0x36a)](){const _0x2dfa18=_0x52f010;this['_sheetSkeletonManagerService'][_0x2dfa18(0x226)][_0x2dfa18(0x38c)](_0x41ab20[_0x2dfa18(0x25f)](this[_0x2dfa18(0x43b)]),_0x41ab20[_0x2dfa18(0x2af)](_0x1a96a2=>{const _0x543763=_0x2dfa18;if(_0x1a96a2){const _0x5c1dbf=_0x1a96a2[_0x543763(0x383)];return _0x353c21[_0x543763(0x400)](this[_0x543763(0x356)][_0x543763(0x2d5)](this['_context'][_0x543763(0x32e)]),this['_themeService'][_0x543763(0x205)])[_0x543763(0x38c)](_0x41ab20[_0x543763(0x2c4)](([_0x1bd957,_0x27ecae])=>{const _0x450767=_0x543763,_0x4ce036=new Map();return _0x1bd957[_0x450767(0x2ce)]((_0xff4bba,_0x3dd83f)=>{const _0x30c221=_0x450767;if(_0xff4bba[_0x30c221(0x3b8)]===_0x5c1dbf){const _0xb62a49={..._0xff4bba};_0xb62a49['color']=this[_0x30c221(0x312)][_0x30c221(0x3f8)](_0xff4bba[_0x30c221(0x253)]),_0x4ce036['set'](_0x3dd83f,_0xb62a49);}}),{'skeleton':_0x1a96a2,'cursors':_0x4ce036};}));}return _0x353c21['of']({'skeleton':null,'cursors':new Map()});}))[_0x2dfa18(0x222)](({skeleton:_0x146133,cursors:_0x50a822})=>{this['_removeCollabCursors'](),_0x146133&&this['_updateCollabCursors'](_0x146133,_0x50a822);}),this[_0x2dfa18(0x409)]['currentSkeleton$'][_0x2dfa18(0x222)](_0x3a8109=>{const _0x2d687b=_0x2dfa18;if(_0x3a8109==null)return;const {skeleton:_0x4b5bb3}=_0x3a8109,{scene:_0x56ea12}=this[_0x2d687b(0x3e0)];_0x56ea12[_0x2d687b(0x467)]['subscribeEvent'](_0x3d05ee[_0x2d687b(0x46a)](_0x10cc38=>{const _0x1c30ef=_0x2d687b;var _0x23af21,_0x2cba86;const {offsetX:_0x7d047e,offsetY:_0x38a8d2}=_0x10cc38,{x:_0x2fce01,y:_0x4b1a4e}=_0x56ea12[_0x1c30ef(0x355)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x7d047e,_0x38a8d2])),{scaleX:_0x40e559,scaleY:_0x48ae40}=_0x56ea12['getAncestorScale'](),_0x38677a=_0x56ea12[_0x1c30ef(0x37c)](_0x1eb76f[_0x1c30ef(0x27c)][_0x1c30ef(0x1e6)]),_0x31424b=_0x56ea12[_0x1c30ef(0x2ea)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x2fce01,_0x4b1a4e]),_0x38677a),_0x55e3f0=_0x4b5bb3[_0x1c30ef(0x2de)](_0x7d047e,_0x38a8d2,_0x40e559,_0x48ae40,_0x31424b);((_0x23af21=this[_0x1c30ef(0x352)])==null?void 0x0:_0x23af21[_0x1c30ef(0x30e)])===_0x55e3f0[_0x1c30ef(0x30e)]&&((_0x2cba86=this[_0x1c30ef(0x352)])==null?void 0x0:_0x2cba86[_0x1c30ef(0x246)])===_0x55e3f0[_0x1c30ef(0x246)]||this[_0x1c30ef(0x3d0)][_0x1c30ef(0x2ce)](_0x303651=>{const _0x10d2d5=_0x1c30ef;_0x303651[_0x10d2d5(0x358)](_0x55e3f0);});},0x64));});}[_0x52f010(0x432)](_0x343b4c,_0x17b4f9){const _0x25ed09=_0x52f010;var _0x1ee74b;const _0x5b855a=(_0x1ee74b=this[_0x25ed09(0x409)][_0x25ed09(0x322)]())==null?void 0x0:_0x1ee74b[_0x25ed09(0x28d)];if(!_0x5b855a)return;const _0x1608bc=this['_getSheetObject']();if(!_0x1608bc)return;this[_0x25ed09(0x3d0)][_0x25ed09(0x2ce)](_0x13dcd5=>{_0x13dcd5['makeDirty']();});const {scene:_0x5891e7}=_0x1608bc,_0x507a83=_0x5f2c70(Array['from'](_0x17b4f9['values']()))[_0x25ed09(0x2c4)](_0x372a7e=>{const _0x2f1223=_0x25ed09,{color:_0x9d2976,range:_0x100531,name:_0x25c208,selection:_0xb79cd5,sheetID:_0x3d9be8}=_0x372a7e,{startColumn:_0x5e76fe,startRow:_0x2619ef,endColumn:_0x38ac0e,endRow:_0xd5ea90}=_0x100531,_0x16fde0=_0x316114['getCoordByCell'](_0x2619ef,_0x5e76fe,_0x5891e7,_0x5b855a),_0x3a01ea=_0x316114[_0x2f1223(0x2cc)](_0xd5ea90,_0x38ac0e,_0x5891e7,_0x5b855a),{columnHeaderHeightAndMarginTop:_0x35b8d9}=_0x5b855a,{startX:_0x4b2935,startY:_0x3ea3c5}=_0x16fde0,{endX:_0x39352c,endY:_0x41eb8c}=_0x3a01ea,_0x375915=_0x39352c-_0x4b2935,_0x4a43c4=_0x41eb8c-_0x3ea3c5,_0x51ea6a={'labelPosition':_0x3ea3c5-_0x35b8d9>=_0x4c4c6b?_0x2f1223(0x3af):_0x2f1223(0x36f),'sheetID':_0x3d9be8,'range':_0x100531,'color':_0x9d2976,'name':_0x25c208,'selection':_0xb79cd5,'left':_0x4b2935,'top':_0x3ea3c5,'width':_0x375915,'height':_0x4a43c4,'evented':!0x1,'zIndex':_0x2e46d4};return new _0x184912(_0x25c208,_0x51ea6a);});_0x5891e7[_0x25ed09(0x22f)](_0x507a83,_0xeec2f8),this[_0x25ed09(0x3d0)]=new Set(_0x507a83);}[_0x52f010(0x260)](){const _0x501225=_0x52f010;var _0x5b37c6;(_0x5b37c6=this[_0x501225(0x3d0)])==null||_0x5b37c6['forEach'](_0x50e88e=>_0x50e88e['dispose']());}['_getSheetObject'](){const _0x2f8b40=_0x52f010;return _0x316114[_0x2f8b40(0x24a)](this[_0x2f8b40(0x3e0)][_0x2f8b40(0x293)],this[_0x2f8b40(0x3e0)]);}};_0x31a600=_0x55787c([_0x1bda8(0x1,_0x3d05ee['Inject'](_0x316114[_0x52f010(0x45e)])),_0x1bda8(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x5d58f9)),_0x1bda8(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0x31a600);function _0x5f2c70(_0x3ce77a){const _0x1e1222=_0x52f010,_0x5c6770=new Map();return _0x3ce77a['forEach'](_0x3142ed=>{const _0x178dbc=_0x43db;if(_0x5c6770['has'](_0x3142ed[_0x178dbc(0x32d)])){const _0x9cbfa9=_0x5c6770[_0x178dbc(0x25b)](_0x3142ed[_0x178dbc(0x32d)]);_0x9cbfa9['name']+=',\x20'+_0x3142ed[_0x178dbc(0x234)];}else _0x5c6770['set'](_0x3142ed['selection'],_0x3142ed);}),Array[_0x1e1222(0x22b)](_0x5c6770[_0x1e1222(0x42c)]());}var _0x533767=Object['getOwnPropertyDescriptor'],_0x56a8a7=(_0x227ee9,_0x3de404,_0x11e77d,_0x3f4016)=>{const _0x104dee=_0x52f010;for(var _0x1a69a2=_0x3f4016>0x1?void 0x0:_0x3f4016?_0x533767(_0x3de404,_0x11e77d):_0x3de404,_0x5309b8=_0x227ee9[_0x104dee(0x2d4)]-0x1,_0x19d8de;_0x5309b8>=0x0;_0x5309b8--)(_0x19d8de=_0x227ee9[_0x5309b8])&&(_0x1a69a2=_0x19d8de(_0x1a69a2)||_0x1a69a2);return _0x1a69a2;},_0x207ac4=(_0x26ae16,_0x47873e)=>(_0x3f7a44,_0x3d16d0)=>_0x47873e(_0x3f7a44,_0x3d16d0,_0x26ae16);let _0x57280f=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x150ccc,_0x49ff9c,_0x113c54,_0x356a6c,_0x489e81,_0x3f6136){const _0x521de1=_0x52f010;super(),this['_beforeCloseService']=_0x150ccc,this[_0x521de1(0x224)]=_0x49ff9c,this[_0x521de1(0x307)]=_0x113c54,this[_0x521de1(0x23f)]=_0x356a6c,this[_0x521de1(0x21f)]=_0x489e81,this[_0x521de1(0x275)]=_0x3f6136,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x52f010(0x343)](){const _0x40ea10=_0x52f010;this[_0x40ea10(0x2ba)](this[_0x40ea10(0x39a)][_0x40ea10(0x42a)](()=>{const _0x522fe5=_0x40ea10;if(this[_0x522fe5(0x224)][_0x522fe5(0x200)][_0x522fe5(0x41d)])return this[_0x522fe5(0x275)]['t'](_0x522fe5(0x45f));}));}['_initEvent'](){const _0x530f65=_0x52f010;this['disposeWithMe'](this['_collaborationUIEventService'][_0x530f65(0x444)][_0x530f65(0x222)](_0x4c84b1=>{const _0x4d4b8e=_0x530f65;_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3cf)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this['_localeService']['t'](_0x4d4b8e(0x213))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3ca)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['PERMISSION_DENIED']&&this[_0x4d4b8e(0x21f)][_0x4d4b8e(0x32f)]({'title':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x35f)),'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2d0)),'type':_0x4d4b8e(0x1e8),'duration':0x0}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['CONFLICT']&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)]['Error'],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')+'('+_0x4c84b1['data']+')'}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['JOIN_ROOM_FAILED']&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4c84b1[_0x4d4b8e(0x3f9)]||'')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x20b)]&&this['_messageService']['show']({'type':_0xaeffda['MessageType']['Warning'],'content':this['_localeService']['t'](_0x4d4b8e(0x370))}),_0x4c84b1['id']===_0x1ac61a['CollaborationUIEventId'][_0x4d4b8e(0x23c)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2f1))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x2ed)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t']('session.collaboration-timeout')});}));}};_0x57280f=_0x56a8a7([_0x207ac4(0x0,_0x1c4740['IBeforeCloseService']),_0x207ac4(0x1,_0x1ac61a[_0x52f010(0x2a1)]),_0x207ac4(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x229)])),_0x207ac4(0x3,_0x1c4740[_0x52f010(0x3c2)]),_0x207ac4(0x4,_0x1c4740[_0x52f010(0x3f0)]),_0x207ac4(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x57280f);const _0x42725f=_0x52f010(0x469),_0x215384={};var _0xf04de0=Object[_0x52f010(0x3d4)],_0xae68d0=(_0x609013,_0x57c227,_0x1cc7b2,_0x265077)=>{const _0x32ceff=_0x52f010;for(var _0x5963a3=_0x265077>0x1?void 0x0:_0x265077?_0xf04de0(_0x57c227,_0x1cc7b2):_0x57c227,_0x3cc179=_0x609013[_0x32ceff(0x2d4)]-0x1,_0x2018e0;_0x3cc179>=0x0;_0x3cc179--)(_0x2018e0=_0x609013[_0x3cc179])&&(_0x5963a3=_0x2018e0(_0x5963a3)||_0x5963a3);return _0x5963a3;},_0x4743ea=(_0x2eebda,_0x2bfbce)=>(_0xb30017,_0xd7eb7b)=>_0x2bfbce(_0xb30017,_0xd7eb7b,_0x2eebda);let _0x3d9de0=class{constructor(_0x1565e,_0x43e724){const _0x5591b0=_0x52f010;this[_0x5591b0(0x27f)]=_0x1565e,this['_renderManagerService']=_0x43e724;}['transformIMECache'](_0x3f85f9){const _0x2832e7=_0x52f010;this[_0x2832e7(0x283)](_0x3f85f9),this['_transformPreviousActiveRange'](_0x3f85f9);}['transformRemoteChangeset'](_0x23988c){const _0x4d4cf9=_0x52f010,{unitID:_0x28fd4e}=_0x23988c,_0x3bbd61=this['_renderManagerService'][_0x4d4cf9(0x280)](_0x28fd4e)[_0x4d4cf9(0x42e)](_0x50ffa0[_0x4d4cf9(0x463)]),{redoCache:_0x347025}=_0x3bbd61[_0x4d4cf9(0x1f3)]();if(_0x347025[_0x4d4cf9(0x2d4)]===0x0)return _0x23988c;let _0x5efa64=_0x3d05ee['Tools'][_0x4d4cf9(0x433)](_0x23988c[_0x4d4cf9(0x306)][0x0]);for(let _0x2cff19=0x0;_0x2cff19<_0x347025[_0x4d4cf9(0x2d4)];_0x2cff19++){const _0xcfc923={'id':'doc.mutation.rich-text-editing','params':{..._0x347025[_0x2cff19]}},_0x52276a=this['_transformService'][_0x4d4cf9(0x470)](_0x5efa64,_0xcfc923,!0x1);if(_0x4876d5['isTransformMutationFailure'](_0x52276a))throw _0x52276a['error'];_0x5efa64=_0x52276a[_0x4d4cf9(0x43a)];}return{..._0x3d05ee[_0x4d4cf9(0x382)][_0x4d4cf9(0x433)](_0x23988c),'mutations':[_0x5efa64]};}[_0x52f010(0x283)](_0x2838f9){const _0x1d8696=_0x52f010,{unitID:_0x21f1b0}=_0x2838f9,_0xb8e75=this['_renderManagerService'][_0x1d8696(0x280)](_0x21f1b0)['with'](_0x50ffa0['DocIMEInputManagerService']),{undoCache:_0x291c72,redoCache:_0x2e8a20}=_0xb8e75['getUndoRedoMutationParamsCache']();if(_0x291c72[_0x1d8696(0x2d4)]===0x0||_0x2e8a20[_0x1d8696(0x2d4)]===0x0)return;const _0x329e5f=[],_0x2f2c5a=[];let _0x527980=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9[_0x1d8696(0x306)][0x0]),_0x2cf947=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9['mutations'][0x0]);for(let _0x4848a4=_0x291c72[_0x1d8696(0x2d4)]-0x1;_0x4848a4>=0x0;_0x4848a4--){const _0x17b43d={'id':_0x1d8696(0x23d),'params':{..._0x291c72[_0x4848a4]}},_0x394ca4={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8a20[_0x4848a4]}},_0x110a7b=this['_transformService'][_0x1d8696(0x470)](_0x527980,_0x17b43d,!0x1),_0x104b3a=this[_0x1d8696(0x27f)][_0x1d8696(0x470)](_0x2cf947,_0x394ca4,!0x1);if(_0x4876d5[_0x1d8696(0x453)](_0x110a7b))throw _0x110a7b[_0x1d8696(0x1e8)];if(_0x4876d5[_0x1d8696(0x453)](_0x104b3a))throw _0x104b3a['error'];_0x329e5f[_0x1d8696(0x438)](_0x110a7b[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x2f2c5a[_0x1d8696(0x438)](_0x104b3a[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x527980=_0x110a7b['m1Prime'],_0x2cf947=_0x104b3a[_0x1d8696(0x43a)];}_0xb8e75[_0x1d8696(0x29d)]({'undoCache':_0x329e5f,'redoCache':_0x2f2c5a});}[_0x52f010(0x2f8)](_0x24bc91){const _0x1cd729=_0x52f010,{unitID:_0x2042c2}=_0x24bc91,_0x4ec23f=this[_0x1cd729(0x334)][_0x1cd729(0x280)](_0x2042c2)[_0x1cd729(0x42e)](_0x50ffa0[_0x1cd729(0x463)]),_0x44c5fc=_0x4ec23f[_0x1cd729(0x39f)]();if(_0x44c5fc==null)return;const _0x5cec30=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24bc91[_0x1cd729(0x412)],'actions':null,'textRanges':[_0x44c5fc]}}],_0x1f339a=this[_0x1cd729(0x27f)]['transformMutationsWithChangeset'](_0x24bc91,_0x5cec30);if(!_0x4876d5['isTransformMutationsWithChangesetSuccess'](_0x1f339a))throw _0x1f339a['error'];const _0x7a6eab=_0x1f339a[_0x1cd729(0x43f)][0x0][_0x1cd729(0x21c)][_0x1cd729(0x301)];Array['isArray'](_0x7a6eab)&&_0x7a6eab[_0x1cd729(0x2d4)]&&_0x4ec23f[_0x1cd729(0x1f2)](_0x7a6eab[0x0]);}};_0x3d9de0=_0xae68d0([_0x4743ea(0x0,_0x4876d5['ITransformService']),_0x4743ea(0x1,_0x1eb76f[_0x52f010(0x3d3)])],_0x3d9de0);var _0x4f1ea3=Object[_0x52f010(0x3d4)],_0xc64858=(_0x1fafba,_0xcebd0d,_0x40bb66,_0x58062d)=>{const _0x1c0c24=_0x52f010;for(var _0x11869d=_0x58062d>0x1?void 0x0:_0x58062d?_0x4f1ea3(_0xcebd0d,_0x40bb66):_0xcebd0d,_0x240be2=_0x1fafba[_0x1c0c24(0x2d4)]-0x1,_0x270324;_0x240be2>=0x0;_0x240be2--)(_0x270324=_0x1fafba[_0x240be2])&&(_0x11869d=_0x270324(_0x11869d)||_0x11869d);return _0x11869d;},_0x40a272=(_0x1fb32c,_0x8aed05)=>(_0x41166e,_0x307f1b)=>_0x8aed05(_0x41166e,_0x307f1b,_0x1fb32c);let _0x422d1f=class{constructor(_0x39e1b3,_0x2e3098,_0x4bd4c2){const _0xdc247=_0x52f010;this[_0xdc247(0x2c9)]=_0x39e1b3,this[_0xdc247(0x27f)]=_0x2e3098,this[_0xdc247(0x291)]=_0x4bd4c2;}[_0x52f010(0x3ba)](_0x5c2b76){const _0x36f8a2=_0x52f010;this[_0x36f8a2(0x2e4)](_0x5c2b76);}[_0x52f010(0x24c)](_0x3e3f3c){const _0x103707=_0x52f010,{unitID:_0x36f2f0}=_0x3e3f3c,{collaboration:_0x46e41e}=this['_docStateChangeManagerService'][_0x103707(0x22e)](_0x36f2f0);if(_0x46e41e['length']===0x0)return _0x3e3f3c;let _0x39a4f6=_0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c[_0x103707(0x306)][0x0]);for(let _0x206158=0x0;_0x206158<_0x46e41e['length'];_0x206158++){const _0x379312={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e41e[_0x206158]['unitId'],..._0x46e41e[_0x206158][_0x103707(0x468)]}},_0xe1dd82=this[_0x103707(0x27f)][_0x103707(0x470)](_0x39a4f6,_0x379312,!0x1);if(_0x4876d5[_0x103707(0x453)](_0xe1dd82))throw _0xe1dd82[_0x103707(0x1e8)];_0x39a4f6=_0xe1dd82[_0x103707(0x43a)];}return{..._0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c),'mutations':[_0x39a4f6]};}[_0x52f010(0x2e4)](_0x19898b){const _0x2469d8=_0x52f010,{unitID:_0x10784b}=_0x19898b,{history:_0x8e379d,collaboration:_0x167974}=this['_docStateChangeManagerService'][_0x2469d8(0x22e)](_0x10784b);if(_0x8e379d[_0x2469d8(0x2d4)]===0x0&&_0x167974[_0x2469d8(0x2d4)]===0x0)return;const _0x487c85=[],_0x5c0005=[];let _0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x16e4d6=_0x8e379d[_0x2469d8(0x2d4)]-0x1;_0x16e4d6>=0x0;_0x16e4d6--){const _0x5b99a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6][_0x2469d8(0x459)]}},_0x3c8d20={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6]['redoState']}},_0x42082f=this['_transformService']['transformMutation'](_0x1dcbce,_0x5b99a5,!0x1),_0x55a0fb=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x3c8d20,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x42082f))throw _0x42082f[_0x2469d8(0x1e8)];if(_0x4876d5[_0x2469d8(0x453)](_0x55a0fb))throw _0x55a0fb[_0x2469d8(0x1e8)];_0x487c85[_0x2469d8(0x438)]({..._0x8e379d[_0x16e4d6],'undoState':_0x42082f[_0x2469d8(0x43f)]['params'],'redoState':_0x55a0fb[_0x2469d8(0x43f)]['params']}),_0x1dcbce=_0x42082f[_0x2469d8(0x43a)],_0x20cc1b=_0x55a0fb[_0x2469d8(0x43a)];}_0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee[_0x2469d8(0x382)]['deepClone'](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x1a390e=_0x167974['length']-0x1;_0x1a390e>=0x0;_0x1a390e--){const _0x3097aa={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e][_0x2469d8(0x32e)],..._0x167974[_0x1a390e]['undoState']}},_0x441899={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e]['unitId'],..._0x167974[_0x1a390e]['redoState']}},_0x50ee7f=this[_0x2469d8(0x27f)]['transformMutation'](_0x1dcbce,_0x3097aa,!0x1),_0x1cf572=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x441899,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x50ee7f))throw _0x50ee7f[_0x2469d8(0x1e8)];if(_0x4876d5['isTransformMutationFailure'](_0x1cf572))throw _0x1cf572[_0x2469d8(0x1e8)];_0x5c0005[_0x2469d8(0x438)]({..._0x167974[_0x1a390e],'undoState':_0x50ee7f['m2Prime']['params'],'redoState':_0x1cf572[_0x2469d8(0x43f)][_0x2469d8(0x21c)]}),_0x1dcbce=_0x50ee7f[_0x2469d8(0x43a)],_0x20cc1b=_0x1cf572[_0x2469d8(0x43a)];}this['_docStateChangeManagerService'][_0x2469d8(0x34f)](_0x10784b,{'history':_0x487c85,'collaboration':_0x5c0005});}};_0x422d1f=_0xc64858([_0x40a272(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x40a272(0x1,_0x4876d5['ITransformService']),_0x40a272(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x50ffa0[_0x52f010(0x220)]))],_0x422d1f);var _0x4900ab=Object[_0x52f010(0x3d4)],_0xf2bc14=(_0x15c8b6,_0x43eaf3,_0x52873d,_0xb7bc40)=>{const _0xe33999=_0x52f010;for(var _0x264e3e=_0xb7bc40>0x1?void 0x0:_0xb7bc40?_0x4900ab(_0x43eaf3,_0x52873d):_0x43eaf3,_0x37d3ad=_0x15c8b6[_0xe33999(0x2d4)]-0x1,_0x2fa60d;_0x37d3ad>=0x0;_0x37d3ad--)(_0x2fa60d=_0x15c8b6[_0x37d3ad])&&(_0x264e3e=_0x2fa60d(_0x264e3e)||_0x264e3e);return _0x264e3e;},_0x14b888=(_0x3d0b42,_0x1449f6)=>(_0x3a46d5,_0x305fcf)=>_0x1449f6(_0x3a46d5,_0x305fcf,_0x3d0b42);let _0x1a0a2c=class{constructor(_0x395982,_0x3027c7){const _0x1ad7ed=_0x52f010;this['_injector']=_0x395982,this[_0x1ad7ed(0x27f)]=_0x3027c7;}[_0x52f010(0x252)](_0x14e6e0){const _0x2e889d=_0x52f010;var _0x3d7670;const _0x37ebe8=this[_0x2e889d(0x2c9)][_0x2e889d(0x25b)](_0x427dab[_0x2e889d(0x1d5)]),_0x3940bf=(_0x3d7670=_0x37ebe8[_0x2e889d(0x36b)]())!=null?_0x3d7670:[];if(_0x3940bf['length']===0x0)return;const _0x1198a0=_0x14e6e0['unitID'],_0x4eccfe=[{'id':_0x2e889d(0x23d),'params':{'unitId':_0x1198a0,'actions':null,'textRanges':_0x3940bf}}],_0x43e0a2=this[_0x2e889d(0x27f)][_0x2e889d(0x1df)](_0x14e6e0,_0x4eccfe);if(!_0x4876d5[_0x2e889d(0x3bd)](_0x43e0a2))throw _0x43e0a2[_0x2e889d(0x1e8)];const _0x189933=_0x43e0a2[_0x2e889d(0x43f)][0x0][_0x2e889d(0x21c)][_0x2e889d(0x301)];Array[_0x2e889d(0x3fb)](_0x189933)&&_0x189933[_0x2e889d(0x2d4)]&&_0x37ebe8[_0x2e889d(0x41f)](_0x189933,{'unitId':_0x1198a0,'subUnitId':_0x1198a0},!0x1);}};_0x1a0a2c=_0xf2bc14([_0x14b888(0x0,_0x3d05ee['Inject'](_0x3d05ee[_0x52f010(0x316)])),_0x14b888(0x1,_0x4876d5[_0x52f010(0x1dd)])],_0x1a0a2c);var _0x297c74=Object['getOwnPropertyDescriptor'],_0x50d072=(_0x1bf917,_0x5b3618,_0x431804,_0x28af21)=>{const _0x25eb11=_0x52f010;for(var _0x183631=_0x28af21>0x1?void 0x0:_0x28af21?_0x297c74(_0x5b3618,_0x431804):_0x5b3618,_0x441f8f=_0x1bf917[_0x25eb11(0x2d4)]-0x1,_0x5491e9;_0x441f8f>=0x0;_0x441f8f--)(_0x5491e9=_0x1bf917[_0x441f8f])&&(_0x183631=_0x5491e9(_0x183631)||_0x183631);return _0x183631;},_0x3eb141=(_0x1f567a,_0x312eba)=>(_0x1dda23,_0x25246f)=>_0x312eba(_0x1dda23,_0x25246f,_0x1f567a);let _0x1027a1=class extends _0x3d05ee['Disposable']{constructor(_0x15ece2,_0xd24945,_0x44ac2c,_0x4bea92,_0x199ab8,_0x4f5b42,_0x7d82e7,_0x3b3004){const _0x35672b=_0x52f010;super(),_0x544075(this,'_status$',new _0x353c21[(_0x35672b(0x411))](_0x1ac61a['CollaborationStatus'][_0x35672b(0x335)])),(this[_0x35672b(0x291)]=_0x15ece2,this['_collaborationController']=_0xd24945,this['_docTransformIMECacheService']=_0x44ac2c,this[_0x35672b(0x418)]=_0x4bea92,this[_0x35672b(0x1eb)]=_0x199ab8,this[_0x35672b(0x26f)]=_0x4f5b42,this[_0x35672b(0x23f)]=_0x7d82e7,this[_0x35672b(0x275)]=_0x3b3004,this[_0x35672b(0x29e)]());}[_0x52f010(0x29e)](){const _0x152c82=_0x52f010;this['disposeWithMe'](this[_0x152c82(0x445)][_0x152c82(0x439)][_0x152c82(0x222)](_0x2ad5fa=>{const _0x5a6b8a=_0x152c82,_0x84d252=this['_docStateChangeManagerService'][_0x5a6b8a(0x2ff)][_0x5a6b8a(0x222)](_0x192f8e=>{const _0x148c1c=_0x5a6b8a;if(_0x192f8e==null)return;const {unitId:_0x33ac9f,redoState:_0x200882,commandId:_0x230f61}=_0x192f8e;if(_0x33ac9f!==_0x2ad5fa[_0x148c1c(0x412)])return;const _0x54437c={'id':_0x230f61,'type':_0x3d05ee['CommandType'][_0x148c1c(0x377)],'params':{'unitId':_0x33ac9f,'actions':_0x200882['actions'],'textRanges':null}};_0x2ad5fa[_0x148c1c(0x398)](_0x54437c);});if(_0x2ad5fa[_0x5a6b8a(0x2ba)](_0x84d252),_0x2ad5fa instanceof _0x1ac61a[_0x5a6b8a(0x342)]){const _0xb08b92={'onTransformIME':_0x132d97=>this[_0x5a6b8a(0x2fd)]['transformIMECache'](_0x132d97),'onTransformState':_0x1666ac=>this[_0x5a6b8a(0x418)][_0x5a6b8a(0x3ba)](_0x1666ac),'onTransformSelections':_0x419ade=>this['_docTransformSelectionsService'][_0x5a6b8a(0x252)](_0x419ade),'onSyncEditingCollabCursor':_0x258fa4=>this[_0x5a6b8a(0x26f)][_0x5a6b8a(0x2e1)](_0x258fa4),'onTransformRemoteChangesetByIMECache':_0x1e9582=>this[_0x5a6b8a(0x2fd)]['transformRemoteChangeset'](_0x1e9582),'onTransformRemoteChangesetByStateCache':_0x3592bf=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3592bf)};_0x2ad5fa[_0x5a6b8a(0x239)](_0xb08b92);}}));}};_0x1027a1=_0x50d072([_0x3eb141(0x0,_0x3d05ee['Inject'](_0x50ffa0[_0x52f010(0x220)])),_0x3eb141(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x315)])),_0x3eb141(0x2,_0x3d05ee['Inject'](_0x3d9de0)),_0x3eb141(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x422d1f)),_0x3eb141(0x4,_0x3d05ee['Inject'](_0x1a0a2c)),_0x3eb141(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x3eb141(0x6,_0x1c4740[_0x52f010(0x3c2)]),_0x3eb141(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x1027a1);var _0x2201c5=Object[_0x52f010(0x3d4)],_0x2726e3=(_0x2c155a,_0x349b6d,_0x28e992,_0x592e2f)=>{const _0x1af93d=_0x52f010;for(var _0x3b5d36=_0x592e2f>0x1?void 0x0:_0x592e2f?_0x2201c5(_0x349b6d,_0x28e992):_0x349b6d,_0x1ba198=_0x2c155a[_0x1af93d(0x2d4)]-0x1,_0x25d909;_0x1ba198>=0x0;_0x1ba198--)(_0x25d909=_0x2c155a[_0x1ba198])&&(_0x3b5d36=_0x25d909(_0x3b5d36)||_0x3b5d36);return _0x3b5d36;},_0x46583a=(_0x142d8f,_0x3655bb)=>(_0x148d4f,_0x83f604)=>_0x3655bb(_0x148d4f,_0x83f604,_0x142d8f);let _0x48d8ce=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x2685c8,_0x5445f1,_0x191aa3){const _0x4fdf09=_0x52f010;super(),_0x544075(this,_0x4fdf09(0x30f),new Map()),_0x544075(this,_0x4fdf09(0x2f5),new Map()),_0x544075(this,_0x4fdf09(0x44c),!0x1),(this[_0x4fdf09(0x202)]=_0x2685c8,this['_localStorageService']=_0x5445f1,this[_0x4fdf09(0x3a2)]=_0x191aa3);}[_0x52f010(0x3c4)](){this['_disabled']=!0x0;}[_0x52f010(0x455)](){const _0x145c86=_0x52f010;this[_0x145c86(0x44c)]=!0x1;}get[_0x52f010(0x200)](){const _0x4b72cf=_0x52f010;return this[_0x4b72cf(0x2f5)];}['dispose'](){const _0x18533d=_0x52f010;this['exhaustSavingTask']()['then'](()=>super[_0x18533d(0x244)]());}async[_0x52f010(0x376)](_0x1d1053){const _0x553e5c=_0x52f010;return this['_disabled']?null:this[_0x553e5c(0x309)][_0x553e5c(0x31a)](_0x1ac61a[_0x553e5c(0x2b1)](_0x1d1053));}async[_0x52f010(0x40c)](_0x3008d4,_0x51c1e3){const _0x3fa0ce=_0x52f010;return!!this[_0x3fa0ce(0x309)][_0x3fa0ce(0x423)](_0x3008d4,_0x51c1e3);}[_0x52f010(0x380)](_0xe4f8ed,_0x107fa4,_0x4dc0eb,_0x4dc409){const _0xe97eb9=_0x52f010,_0x268857=this['_revisionService']['getCurrentRevOfUnit'](_0xe4f8ed);this[_0xe97eb9(0x30f)]['set'](_0xe4f8ed,{'unitID':_0xe4f8ed,'type':_0x107fa4,'awaitingChangeset':_0x4dc0eb,'mutations':_0x4dc409,'rev':_0x268857}),this['_saveTaskMap']['has'](_0xe4f8ed)||this[_0xe97eb9(0x297)](_0xe4f8ed);}[_0x52f010(0x297)](_0x6e28ae){const _0x202b9a=_0x52f010,_0x4fa1e6=this[_0x202b9a(0x3c0)]();_0x4fa1e6===0x0?this[_0x202b9a(0x324)](_0x6e28ae):this[_0x202b9a(0x2f5)][_0x202b9a(0x3f1)](_0x6e28ae,setTimeout(()=>this[_0x202b9a(0x324)](_0x6e28ae),_0x4fa1e6));}[_0x52f010(0x3c0)](){const _0x28dd29=_0x52f010;var _0x4b25ab;return(_0x4b25ab=this[_0x28dd29(0x202)][_0x28dd29(0x34b)](_0x1ac61a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b25ab:_0x1ac61a[_0x28dd29(0x394)];}[_0x52f010(0x324)](_0x5d8cee){const _0x58bd82=_0x52f010,_0x47953a=this[_0x58bd82(0x2f5)][_0x58bd82(0x25b)](_0x5d8cee);return _0x47953a!==void 0x0&&window[_0x58bd82(0x430)](_0x47953a),this[_0x58bd82(0x309)]['setItem'](_0x1ac61a[_0x58bd82(0x2b1)](_0x5d8cee),this['_cachedData']['get'](_0x5d8cee))['then'](()=>this[_0x58bd82(0x2f5)][_0x58bd82(0x3d1)](_0x5d8cee));}async[_0x52f010(0x424)](){const _0x543396=_0x52f010,_0x17b157=[];this[_0x543396(0x2f5)][_0x543396(0x2ce)]((_0xb8bd9b,_0x3435a9)=>{const _0x167b46=_0x543396;window[_0x167b46(0x430)](_0xb8bd9b),_0x17b157[_0x167b46(0x404)](this['_saveCache'](_0x3435a9)['then'](()=>{const _0x370287=_0x167b46;this[_0x370287(0x2f5)][_0x370287(0x3d1)](_0x3435a9);}));}),await Promise[_0x543396(0x2bc)](_0x17b157);}};_0x48d8ce=_0x2726e3([_0x46583a(0x0,_0x3d05ee[_0x52f010(0x3eb)]),_0x46583a(0x1,_0x3d05ee[_0x52f010(0x2f3)]),_0x46583a(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x4876d5[_0x52f010(0x1ee)]))],_0x48d8ce);class _0x353b3b extends _0x3d05ee[_0x52f010(0x442)]{constructor(){const _0x1669a5=_0x52f010;super(),_0x544075(this,_0x1669a5(0x38f)),this[_0x1669a5(0x38f)]=_0x353c21['fromEvent'](window,_0x1669a5(0x3f4))[_0x1669a5(0x38c)](_0x353c21[_0x1669a5(0x25f)](this['dispose$']),_0x353c21[_0x1669a5(0x3a8)](0x1),_0x353c21['mapTo'](void 0x0));}[_0x52f010(0x40a)](_0x128fb5,_0x4b50c8,_0x5030cf=!0x1){const _0x3a32bc=_0x52f010,_0x387f17=new URL(window[_0x3a32bc(0x266)][_0x3a32bc(0x344)]);_0x387f17[_0x3a32bc(0x24e)][_0x3a32bc(0x3f1)](_0x128fb5,_0x4b50c8),_0x5030cf?window['history'][_0x3a32bc(0x2b3)]('','',_0x387f17[_0x3a32bc(0x434)]()):window[_0x3a32bc(0x231)][_0x3a32bc(0x1da)]('','',_0x387f17[_0x3a32bc(0x434)]());}[_0x52f010(0x2f2)](_0x5c1cc5,_0x488a81=!0x1){const _0x5096ea=_0x52f010,_0x4bdd89=new URL(window[_0x5096ea(0x266)][_0x5096ea(0x344)]);_0x4bdd89[_0x5096ea(0x24e)][_0x5096ea(0x3d1)](_0x5c1cc5),_0x488a81?window['history']['replaceState']('','',_0x4bdd89[_0x5096ea(0x434)]()):window[_0x5096ea(0x231)][_0x5096ea(0x1da)]('','',_0x4bdd89[_0x5096ea(0x434)]());}[_0x52f010(0x3e1)](_0x4e0267){const _0x5039c8=_0x52f010;var _0x7e626e;return(_0x7e626e=new URL(window[_0x5039c8(0x266)]['href'])[_0x5039c8(0x24e)][_0x5039c8(0x25b)](_0x4e0267))!=null?_0x7e626e:void 0x0;}}var _0x15f48f=Object[_0x52f010(0x41c)],_0x5954ec=Object[_0x52f010(0x3d4)],_0x5a2563=(_0x27841e,_0x1a8f36,_0x113b3d)=>_0x1a8f36 in _0x27841e?_0x15f48f(_0x27841e,_0x1a8f36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113b3d}):_0x27841e[_0x1a8f36]=_0x113b3d,_0x4575a0=(_0x336f28,_0x426498,_0x2ea188,_0x32da92)=>{const _0x3fe821=_0x52f010;for(var _0x3d1a9a=_0x32da92>0x1?void 0x0:_0x32da92?_0x5954ec(_0x426498,_0x2ea188):_0x426498,_0x415660=_0x336f28[_0x3fe821(0x2d4)]-0x1,_0x4eca83;_0x415660>=0x0;_0x415660--)(_0x4eca83=_0x336f28[_0x415660])&&(_0x3d1a9a=_0x4eca83(_0x3d1a9a)||_0x3d1a9a);return _0x3d1a9a;},_0x57bd72=(_0x37e9be,_0x5ed492)=>(_0x39e148,_0x5be135)=>_0x5ed492(_0x39e148,_0x5be135,_0x37e9be),_0x363c2b=(_0x284bc2,_0x9fed8b,_0x3dcc69)=>_0x5a2563(_0x284bc2,_0x9fed8b+'',_0x3dcc69);const _0x5b0791=_0x52f010(0x331);_0x2245a1[_0x52f010(0x35e)]=class extends _0x3d05ee['Plugin']{constructor(_0x591b5c=_0x215384,_0x48817d,_0x5284a7,_0x988136){const _0x2cec20=_0x52f010;super(),this['_config']=_0x591b5c,this['_renderManagerService']=_0x48817d,this[_0x2cec20(0x2c9)]=_0x5284a7,this[_0x2cec20(0x202)]=_0x988136;const {..._0xbff6cf}=_0x3d05ee[_0x2cec20(0x36c)]({},_0x215384,this[_0x2cec20(0x25a)]);this[_0x2cec20(0x202)]['setConfig'](_0x42725f,_0xbff6cf);}[_0x52f010(0x431)](){const _0x980154=_0x52f010;this[_0x980154(0x2c0)](),this['_initDependencies']();}[_0x52f010(0x3d5)](){this['_registerRenderDependencies']();}[_0x52f010(0x2c0)](){const _0x3877d4=_0x52f010;var _0x84cf03;const _0x26030c=[[_0x27e238],[_0x1a0a2c],[_0x3d9de0],[_0x422d1f],[_0x4e98a8],[_0x40ca0b,{'useClass':_0x353b3b}],[_0x4cfd05[_0x3877d4(0x361)],{'useClass':_0x4cfd05[_0x3877d4(0x32a)]}],[_0x1ac61a[_0x3877d4(0x2a1)],{'useClass':_0x48d8ce}],[_0x2245a1[_0x3877d4(0x42f)]],[_0x1027a1],[_0x57280f],[_0x5d58f9],[_0x2d6ba0],[_0x2245a1[_0x3877d4(0x364)]]];_0x3d05ee[_0x3877d4(0x420)](this[_0x3877d4(0x2c9)],_0x3d05ee[_0x3877d4(0x337)](_0x26030c,(_0x84cf03=this[_0x3877d4(0x25a)])==null?void 0x0:_0x84cf03['override']));}[_0x52f010(0x3aa)](){const _0x5c3f7e=_0x52f010;this[_0x5c3f7e(0x2ba)](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee[_0x5c3f7e(0x287)][_0x5c3f7e(0x2dc)],[_0xf7a1a5])),this['disposeWithMe'](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee['UniverInstanceType'][_0x5c3f7e(0x44b)],[_0x31a600]));}[_0x52f010(0x435)](){const _0x21ea14=_0x52f010;_0x3d05ee[_0x21ea14(0x3c8)](this[_0x21ea14(0x2c9)],[[_0x5d58f9],[_0x2245a1['DesktopCollaborationStatusDisplayController']],[_0x1027a1],[_0x57280f],[_0x2245a1[_0x21ea14(0x364)]]]);}},_0x363c2b(_0x2245a1[_0x52f010(0x35e)],'pluginName',_0x5b0791),_0x2245a1[_0x52f010(0x35e)]=_0x4575a0([_0x3d05ee[_0x52f010(0x378)](_0x1ac61a[_0x52f010(0x318)]),_0x57bd72(0x1,_0x1eb76f[_0x52f010(0x3d3)]),_0x57bd72(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x57bd72(0x3,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['UniverCollaborationClientUIPlugin']);var _0x57b008=Object[_0x52f010(0x3d4)],_0x55c18f=(_0x57180f,_0xd1d2cc,_0x77d94c,_0x4354a2)=>{const _0x3a3d52=_0x52f010;for(var _0x3724cc=_0x4354a2>0x1?void 0x0:_0x4354a2?_0x57b008(_0xd1d2cc,_0x77d94c):_0xd1d2cc,_0x44024d=_0x57180f[_0x3a3d52(0x2d4)]-0x1,_0x32308e;_0x44024d>=0x0;_0x44024d--)(_0x32308e=_0x57180f[_0x44024d])&&(_0x3724cc=_0x32308e(_0x3724cc)||_0x3724cc);return _0x3724cc;},_0x51aa80=(_0x23c3bb,_0x5d1d89)=>(_0x14e7f5,_0x341318)=>_0x5d1d89(_0x14e7f5,_0x341318,_0x23c3bb);_0x2245a1[_0x52f010(0x255)]=class extends _0x1ac61a['CollaborationSocketService']{constructor(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5){super(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5);}async[_0x52f010(0x3b7)](_0x418eb1){const _0x166e46=_0x52f010,_0x33c396=await this[_0x166e46(0x216)](),_0x16a456=this[_0x166e46(0x374)](_0x418eb1,_0x33c396);return this['_doCreateSocket'](_0x16a456);}[_0x52f010(0x374)](_0xb918ec,_0x48ebb2){const _0x4937e0=_0x52f010,_0x3d5e88=typeof window>'u'?new URL(_0xb918ec):new URL(_0xb918ec,window[_0x4937e0(0x266)][_0x4937e0(0x413)]);_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)]('sessionTicket',_0x48ebb2);const _0x214653=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4937e0(0x266)][_0x4937e0(0x2c2)]);return _0x214653[_0x4937e0(0x25b)]('runId')&&_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)](_0x4937e0(0x45c),_0x214653['get']('runId')),_0x3d5e88[_0x4937e0(0x434)]();}async[_0x52f010(0x216)](){const _0x5e6edc=_0x52f010;var _0x437ecb,_0x507452,_0x3968ed;const _0x4ea848=this[_0x5e6edc(0x202)][_0x5e6edc(0x34b)](_0x1ac61a[_0x5e6edc(0x294)]),_0x36398e=(_0x437ecb=_0x4ea848==null?void 0x0:_0x4ea848[_0x5e6edc(0x2c6)])!=null?_0x437ecb:_0x1ac61a[_0x5e6edc(0x21d)];return(_0x3968ed=(_0x507452=(await this[_0x5e6edc(0x1e3)][_0x5e6edc(0x25b)](_0x36398e,{'headers':{'Content-Type':'application/json'}}))[_0x5e6edc(0x28a)])==null?void 0x0:_0x507452[_0x5e6edc(0x31d)])!=null?_0x3968ed:'';}},_0x2245a1[_0x52f010(0x255)]=_0x55c18f([_0x51aa80(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x51aa80(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x51aa80(0x2,_0x3d05ee[_0x52f010(0x3eb)]),_0x51aa80(0x3,_0x3d05ee[_0x52f010(0x3ae)]),_0x51aa80(0x4,_0x4876d5[_0x52f010(0x289)])],_0x2245a1['BrowserCollaborationSocketService']);var _0x592e89=(_0x92d219=>(_0x92d219[_0x92d219[_0x52f010(0x3b1)]=0x0]=_0x52f010(0x3b1),_0x92d219[_0x92d219['OK']=0x1]='OK',_0x92d219[_0x92d219['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x92d219[_0x92d219[_0x52f010(0x1e2)]=0x3]=_0x52f010(0x1e2),_0x92d219[_0x92d219[_0x52f010(0x458)]=0x4]=_0x52f010(0x458),_0x92d219[_0x92d219[_0x52f010(0x2ad)]=0x5]=_0x52f010(0x2ad),_0x92d219[_0x92d219[_0x52f010(0x1de)]=0x6]=_0x52f010(0x1de),_0x92d219[_0x92d219[_0x52f010(0x303)]=0x7]=_0x52f010(0x303),_0x92d219[_0x92d219[_0x52f010(0x429)]=0x8]='TOO_MANY_REQUESTS',_0x92d219[_0x92d219[_0x52f010(0x34c)]=0x9]=_0x52f010(0x34c),_0x92d219[_0x92d219['LOGIN_FAILED']=0xa]=_0x52f010(0x346),_0x92d219[_0x92d219[_0x52f010(0x207)]=0xb]=_0x52f010(0x207),_0x92d219[_0x92d219['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x52f010(0x3cb),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x52f010(0x29f),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x52f010(0x33b),_0x92d219[_0x92d219[_0x52f010(0x3e6)]=0x1389]=_0x52f010(0x3e6),_0x92d219[_0x92d219['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x92d219[_0x92d219[_0x52f010(0x3e5)]=0x1772]=_0x52f010(0x3e5),_0x92d219[_0x92d219[_0x52f010(0x2e6)]=0x1773]=_0x52f010(0x2e6),_0x92d219[_0x92d219[_0x52f010(0x353)]=0x1b59]=_0x52f010(0x353),_0x92d219[_0x92d219['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x52f010(0x201),_0x92d219[_0x92d219['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x92d219[_0x92d219[_0x52f010(0x31c)]=0x1b5c]=_0x52f010(0x31c),_0x92d219[_0x92d219['APPLY_DUPLICATED']=0x1b5d]=_0x52f010(0x407),_0x92d219[_0x92d219[_0x52f010(0x3b3)]=0x1f41]=_0x52f010(0x3b3),_0x92d219[_0x92d219['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x52f010(0x1f1),_0x92d219[_0x92d219[_0x52f010(0x28f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x92d219[_0x92d219[_0x52f010(0x210)]=0x232b]=_0x52f010(0x210),_0x92d219[_0x92d219['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x52f010(0x38b),_0x92d219[_0x92d219['LICENSE_DISTRO_REJECTED']=0x232d]=_0x52f010(0x393),_0x92d219[_0x92d219['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x52f010(0x317),_0x92d219[_0x92d219[_0x52f010(0x211)]=0x2712]=_0x52f010(0x211),_0x92d219[_0x92d219['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x52f010(0x282),_0x92d219[_0x92d219['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x92d219[_0x92d219[_0x52f010(0x33a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x92d219[_0x92d219['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52f010(0x39c),_0x92d219[_0x92d219[_0x52f010(0x39e)]=0x271c]=_0x52f010(0x39e),_0x92d219[_0x92d219[_0x52f010(0x45a)]=0x271d]=_0x52f010(0x45a),_0x92d219[_0x92d219['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x52f010(0x348),_0x92d219[_0x92d219[_0x52f010(0x321)]=0x271f]=_0x52f010(0x321),_0x92d219[_0x92d219[_0x52f010(0x3a1)]=0x2720]=_0x52f010(0x3a1),_0x92d219[_0x92d219['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x92d219[_0x92d219[_0x52f010(0x2e5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x92d219[_0x92d219[_0x52f010(0x333)]=0x2ee2]=_0x52f010(0x333),_0x92d219[_0x92d219['INVITE_CODE_REQUIRED']=0x2ee3]=_0x52f010(0x2a0),_0x92d219[_0x92d219[_0x52f010(0x203)]=0x2ee4]=_0x52f010(0x203),_0x92d219[_0x92d219[_0x52f010(0x3a6)]=0x2ee5]=_0x52f010(0x3a6),_0x92d219[_0x92d219[_0x52f010(0x3f6)]=0x32c9]=_0x52f010(0x3f6),_0x92d219[_0x92d219['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x92d219[_0x92d219[_0x52f010(0x2ab)]=0x32cb]=_0x52f010(0x2ab),_0x92d219[_0x92d219[_0x52f010(0x263)]=-0x1]=_0x52f010(0x263),_0x92d219))(_0x592e89||{}),_0x31cc23=Object['getOwnPropertyDescriptor'],_0x52210f=(_0xe76f25,_0x215b89,_0x527207,_0x4590f4)=>{const _0x332bff=_0x52f010;for(var _0x551c49=_0x4590f4>0x1?void 0x0:_0x4590f4?_0x31cc23(_0x215b89,_0x527207):_0x215b89,_0x251c46=_0xe76f25[_0x332bff(0x2d4)]-0x1,_0x192808;_0x251c46>=0x0;_0x251c46--)(_0x192808=_0xe76f25[_0x251c46])&&(_0x551c49=_0x192808(_0x551c49)||_0x551c49);return _0x551c49;},_0x502bb0=(_0x30915d,_0x4a640b)=>(_0x1f8df6,_0x279350)=>_0x4a640b(_0x1f8df6,_0x279350,_0x30915d);_0x2245a1[_0x52f010(0x3a5)]=class extends _0x3d05ee['Disposable']{constructor(_0x2afeee,_0x52a3a2,_0x2396c7){const _0x5154c9=_0x52f010;super(),this[_0x5154c9(0x471)]=_0x2afeee,this[_0x5154c9(0x1e3)]=_0x52a3a2,this[_0x5154c9(0x202)]=_0x2396c7;}async['runOnServer'](_0x1171cd,_0x51b6d1,_0x57c474,..._0x105e6f){const _0x5094c0=_0x52f010;var _0x20bf84,_0x5f2b06,_0x327d69,_0x53c2d4;const _0x38536f=this['_instanceService'][_0x5094c0(0x218)]();if(!_0x38536f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38a698=((_0x20bf84=this[_0x5094c0(0x202)][_0x5094c0(0x34b)](_0x1ac61a[_0x5094c0(0x29a)]))!=null?_0x20bf84:_0x1ac61a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1171cd+_0x5094c0(0x212)+_0x51b6d1,_0x21a092=new URL(window[_0x5094c0(0x266)][_0x5094c0(0x344)]),_0x2dd84f={'scriptId':_0x1171cd,'runId':(_0x5f2b06=_0x21a092[_0x5094c0(0x24e)]['get'](_0x5094c0(0x45c)))!=null?_0x5f2b06:'','function':_0x51b6d1,'unitId':_0x38536f[_0x5094c0(0x272)](),'argsOfFunction':JSON[_0x5094c0(0x3f3)](_0x105e6f),'invokeId':(_0x327d69=_0x57c474[_0x5094c0(0x26a)])!=null?_0x327d69:'','executionId':(_0x53c2d4=_0x57c474[_0x5094c0(0x314)])!=null?_0x53c2d4:''};try{const _0xc10121=await this[_0x5094c0(0x1e3)][_0x5094c0(0x3b0)](_0x38a698,{'body':_0x2dd84f});return _0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)]&&_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)][_0x5094c0(0x2ca)]!==_0x592e89['OK']?_0x5094c0(0x336):_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x2aa)];}catch{return _0x5094c0(0x336);}}},_0x2245a1[_0x52f010(0x3a5)]=_0x52210f([_0x502bb0(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x502bb0(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x502bb0(0x2,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['RemoteUniscriptService']);const _0x44db39=0x7530,_0x4114e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf1872b extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x4dcc7d=_0x52f010;super(),_0x544075(this,_0x4dcc7d(0x332),_0x3d05ee[_0x4dcc7d(0x426)]()),_0x544075(this,_0x4dcc7d(0x3e4),new Set()),_0x544075(this,_0x4dcc7d(0x1f7),new Map()),_0x544075(this,_0x4dcc7d(0x3bf),null),_0x544075(this,'_clearOtherTimers',new Map()),_0x544075(this,_0x4dcc7d(0x388),new Map()),this[_0x4dcc7d(0x36a)]();}[_0x52f010(0x244)](){const _0xc6a512=_0x52f010;super['dispose'](),this[_0xc6a512(0x1d6)]['forEach']((_0x229427,_0x342cfe)=>this[_0xc6a512(0x208)](_0x342cfe)),this[_0xc6a512(0x3bf)]&&window[_0xc6a512(0x27b)](this[_0xc6a512(0x3bf)]);}[_0x52f010(0x38e)](_0x54d4aa){const _0x358729=_0x52f010;return this[_0x358729(0x2a4)](_0x54d4aa)[_0x358729(0x38c)](_0x353c21['distinctUntilChanged']());}['editingUnit'](_0x311bb9){const _0x29937b=_0x52f010;this[_0x29937b(0x3e4)][_0x29937b(0x41d)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x29937b(0x46c)](_0x311bb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x311bb9],'isForwarded':!0x1});}[_0x52f010(0x2ee)](_0x4734bc){const _0x38923d=_0x52f010;this[_0x38923d(0x3e4)][_0x38923d(0x3d1)](_0x4734bc),this[_0x38923d(0x3e4)]['size']===0x0&&this[_0x38923d(0x3bf)]&&window[_0x38923d(0x27b)](this[_0x38923d(0x3bf)]);}[_0x52f010(0x36a)](){const _0x310dde=_0x52f010;this[_0x310dde(0x2ba)](_0x3d05ee[_0x310dde(0x20a)](_0x353c21['fromEvent'](window,_0x310dde(0x2dd))['subscribe'](_0x418c80=>{const _0x2df1df=_0x310dde;if(_0x418c80['key']!==_0x4114e4||!_0x418c80[_0x2df1df(0x3d2)])return;const _0x5f8e8c=JSON[_0x2df1df(0x295)](_0x418c80[_0x2df1df(0x3d2)]);this[_0x2df1df(0x45b)](_0x5f8e8c);}))),window[_0x310dde(0x359)](_0x310dde(0x392),()=>this[_0x310dde(0x3e9)]({'type':0x1,'memberID':this[_0x310dde(0x332)],'unitIDs':Array[_0x310dde(0x22b)](this['_selfUnitIDs'])}));}[_0x52f010(0x45b)](_0x40db4b){const _0x176f9f=_0x52f010;switch(_0x40db4b[_0x176f9f(0x39d)]){case 0x0:this[_0x176f9f(0x30c)](_0x40db4b);break;case 0x1:this['_handleLeaveEvent'](_0x40db4b);break;case 0x2:this[_0x176f9f(0x349)](_0x40db4b);break;}}[_0x52f010(0x30c)](_0x2ec305){const _0x5a3c39=_0x52f010,{unitIDs:_0x1be541,memberID:_0x3596fa,isForwarded:_0x29efef}=_0x2ec305;_0x1be541[_0x5a3c39(0x2ce)](_0x35d9eb=>{const _0x106151=_0x5a3c39;if(!_0x29efef&&this['_unitOnClients']['has'](_0x35d9eb)&&this[_0x106151(0x2a4)](_0x35d9eb)['next'](_0x1ac61a[_0x106151(0x2bb)][_0x106151(0x35c)]),!this[_0x106151(0x1f7)][_0x106151(0x350)](_0x35d9eb)||!this['_unitOnClients']['get'](_0x35d9eb)[_0x106151(0x350)](_0x3596fa)){const _0x5cea91=this[_0x106151(0x1f7)][_0x106151(0x25b)](_0x35d9eb)||new Set();_0x5cea91[_0x106151(0x46c)](_0x3596fa),this[_0x106151(0x1f7)][_0x106151(0x3f1)](_0x35d9eb,_0x5cea91),this[_0x106151(0x1fe)](_0x3596fa);}}),_0x29efef||this[_0x5a3c39(0x3e9)]({'type':0x0,'memberID':this[_0x5a3c39(0x332)],'unitIDs':[...this[_0x5a3c39(0x3e4)]],'isForwarded':!0x0});}[_0x52f010(0x1fe)](_0x4ca056){const _0x385346=_0x52f010;this[_0x385346(0x208)](_0x4ca056);const _0x15b2ae=window[_0x385346(0x2b9)](()=>{const _0xdbc4d3=_0x385346;this[_0xdbc4d3(0x1f7)][_0xdbc4d3(0x2ce)](_0x5120f6=>{_0x5120f6['delete'](_0x4ca056);});},_0x44db39*0x2);this[_0x385346(0x1d6)][_0x385346(0x3f1)](_0x4ca056,_0x15b2ae);}['_removeClearOtherTimer'](_0x4fa05c){const _0x220659=_0x52f010;if(this['_clearOtherTimers'][_0x220659(0x350)](_0x4fa05c)){const _0x61c38=this['_clearOtherTimers'][_0x220659(0x25b)](_0x4fa05c);_0x61c38&&window[_0x220659(0x430)](_0x61c38),this[_0x220659(0x1d6)]['set'](_0x4fa05c,null);}}[_0x52f010(0x2ec)](_0x1a965d){const _0x20540a=_0x52f010,{memberID:_0x55a981,unitIDs:_0x29c0e8}=_0x1a965d;_0x29c0e8[_0x20540a(0x2ce)](_0x5addcb=>{const _0x14614a=_0x20540a;var _0x32d1aa;const _0x150180=this['_unitOnClients']['get'](_0x5addcb);_0x150180&&(_0x150180[_0x14614a(0x3d1)](_0x55a981),(_0x32d1aa=this['_ensureSubject'](_0x5addcb))==null||_0x32d1aa['next'](_0x150180[_0x14614a(0x41d)]===0x0?_0x1ac61a['UnitStatus'][_0x14614a(0x2da)]:_0x1ac61a['UnitStatus'][_0x14614a(0x35c)]));}),this[_0x20540a(0x208)](_0x55a981);}[_0x52f010(0x349)](_0x43e12a){const _0x32a9e4=_0x52f010;this[_0x32a9e4(0x1fe)](_0x43e12a[_0x32a9e4(0x1ff)]);}[_0x52f010(0x3e9)](_0xf0c8fa){localStorage['setItem'](_0x4114e4,JSON['stringify'](_0xf0c8fa));}[_0x52f010(0x389)](){const _0x2ada17=_0x52f010;this[_0x2ada17(0x3bf)]=window[_0x2ada17(0x37e)](()=>{const _0x3d1404=_0x2ada17;this[_0x3d1404(0x3e9)]({'type':0x2,'memberID':this[_0x3d1404(0x332)]});},_0x44db39);}['_ensureSubject'](_0x4b3bc1){const _0x4a07aa=_0x52f010;return this[_0x4a07aa(0x388)][_0x4a07aa(0x350)](_0x4b3bc1)||this[_0x4a07aa(0x388)][_0x4a07aa(0x3f1)](_0x4b3bc1,new _0x353c21[(_0x4a07aa(0x411))](_0x1ac61a[_0x4a07aa(0x2bb)][_0x4a07aa(0x2da)])),this[_0x4a07aa(0x388)]['get'](_0x4b3bc1);}}_0x2245a1['IURLService']=_0x40ca0b,_0x2245a1[_0x52f010(0x402)]=_0x184912,_0x2245a1[_0x52f010(0x20f)]=_0xf1872b,_0x2245a1[_0x52f010(0x1f4)]=_0x353b3b,Object[_0x52f010(0x41c)](_0x2245a1,Symbol[_0x52f010(0x3e2)],{'value':_0x52f010(0x3be)});}));function _0x4199(){const _0x1c2415=['type','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getActiveRange','IRemoteInstanceService','YUUMI_CONNECTOR_URL_NOT_FOUND','_revisionService','_assignedColors','getValue','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','random','shareReplay','subUnitId','_registerRenderDependencies','jiqing.500','_refreshCollabCursors','FromArray','ILogService','top','post','UNDEFINED','_toggleOnline','CONNECTOR_DATA_TOO_LARGE','idSuffix','fillText','getSheetBySheetId','createSocket','sheetID','getCollabEntity$','transformStateCache','split','102066vuMPmb','isTransformMutationsWithChangesetSuccess','Module','_heartbeatTimer','_getSaveTimeout','@univerjs/drawing','IMessageService','univer-flex\x20univer-items-center','disableLocalCache','cursorInfo$','_onCursorDelete','SetTextSelectionsOperation','touchDependencies','UniverRpc','CLOSE_ROOM','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribeEvent','executeCommand','InsertRangeMoveRightCommandId','OTHER_CLIENT_EDITING','_cursors','delete','newValue','IRenderManagerService','getOwnPropertyDescriptor','onRendered','Disposable','measureText','fromEventSubject','_urlService','findNodePositionByCharIndex','setShapeProps','min','_cursorInfo$','_startSheetCollabCursor','collabStatus.syncing','_context','getParam','toStringTag','NodePositionConvertToRectRange','_selfUnitIDs','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REVISION_CONFILICT','debug','DisposableCollection','_send','replace','IConfigService','resize','UniverDrawing','_cursorShapes','univerjs-icon\x20univerjs-icon-','INotificationService','set','toRgbString','stringify','popstate','_color','WECHAT_HAS_BEEN_BOUND','text','getColorFromTheme','data','_initResize','isArray','COLORS','range','_initStatusComponent','getOffsetConfig','combineLatest','unsubscribe','SheetCollabCursorShape','height','push','react/jsx-runtime','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','handleInsertRangeMoveRight','_sheetSkeletonManagerService','setParam','_updateLocalCursor','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','registerComponent','assign','BehaviorSubject','unitID','origin','svg','prototype','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','_docTransformStateCacheService','_hovered','apply','_hover','defineProperty','size','@univerjs/docs','replaceDocRanges','registerDependencies','getAncestorScale','0\x200\x2016\x2016','setItem','exhaustSavingTask','_getScale','generateRandomId','_refRangeService','UniverDesign','TOO_MANY_REQUESTS','registerBeforeClose','_hideTimer','values','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','with','DesktopCollaborationStatusDisplayController','clearTimeout','onStarting','_updateCollabCursors','deepClone','toString','_initDependencies','_setupSubUnitSync','createInstance','unshift','entityInit$','m1Prime','dispose$','@univerjs-pro/collaboration','createIdentifier','_updateSubUnitFromURLParams','m2Prime','_docSkeleton','Error','RxDisposable','@univerjs/engine-render','event$','_collaborationController','backgroundColor','beginPath','_commandService','#FFF','4527LMxRyL','UNIVER_SHEET','_disabled','_eventUnsubscribe','_textBubble','_initStatusListener','getSkeleton','displayName','Optional','isTransformMutationFailure','_dataLoaderService','enableLocalCache','_logService','Warning','NOT_FOUND','undoState','YUUMI_ALL_TABLES_IS_INVALID','_handleEvent','runId','getOwnPropertySymbols','SheetSkeletonManagerService','collaboration-client.offline-data-not-saved','_colorIndex','UniverCore','React','DocIMEInputManagerService','evenodd','_collabSessionService','MessageType','onPointerMove$','redoState','collaboration-client-ui.config','debounce','0\x200\x2017\x2016','add','asObservable','http://www.w3.org/2000/svg','_drawRectRange','transformMutation','_instanceService','DocSelectionManagerService','_clearOtherTimers','PENDING','1em','filter','pushState','getCurrentSelections','sessionStatus$','ITransformService','ALREADY_EXISTS','transformMutationsWithChangeset','getTypeOfUnitDisposed$','send','PERMISSION_DENIED','_httpService','_docClipboardService','AWAITING_WITH_PENDING','VIEW_MAIN','Inject','error','moveTo','_range','_docTransformSelectionsService','collabStatus.fetchMiss','_entityInit$','RevisionService','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','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getUndoRedoMutationParamsCache','WebURLService','_toggleOffline','NodePositionConvertToCursor','_unitOnClients','_entities','addClipboardHook','restore','max','getMergeData','next','_scheduleClearOtherTimer','memberID','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','_configService','USER_NOT_INVITED_CODE','getUnhiddenWorksheets','currentTheme$','OFFLINE','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','collabStatus.notCollab','toDisposable','SOCKET_FAILED_RETRY','_labelPosition','_collabCursorState$','SessionStatus','WebBrowserSingleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','/run/','collaboration.single-unit.warning','_docSkeletonManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','registerRenderModule','getFocusedUnit','@univerjs/docs-ui','_roomMembers$','_getMergeRange','params','DEFAULT_WS_SESSION_TICKET_URL','TEXT_RANGE_LAYER_INDEX','_notificationService','DocStateChangeManagerService','Subject','subscribe','RichTextEditingMutation','_localCacheService','RemoveColCommandId','currentSkeleton$','getRangePointData','handleIRemoveCol','CollaborationUIEventService','jsx','from','IImageIoService','find','getStateCache','addObjects','children','history','UniverProCollaboration','startRow','name','onPointerLeave$','amd','complete','_colorAssignService','addHandlerCallback','_name','save','SOCKET_FAILED','doc.mutation.rich-text-editing','_shapes','_messageService','triggerDblclick','handleInsertCol','use','collab-text-anchor-','dispose','font','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','defIds','getSheetObject','MemberService','transformRemoteChangeset','attrs','searchParams','IDocClipboardService','mask','xlink:href','transformSelections','color','arc','BrowserCollaborationSocketService','UPDATE_CURSOR','getActiveSheet','_imageIoService','imageSourceType','_config','get','...','entries','focused$','takeUntil','_removeCollabCursors','includes','2401805pojINa','UNRECOGNIZED','labelPosition','CollaborationSessionService','location','cursorInfo','defs','useCallback','invokeId','_online','translate(.97)','UniverDocsUi','_handleHover','_docSyncEditingCollabCursorService','subunit','green.600','getUnitId','concat','AWAITING','_localeService','loadUnit','then','SetWorksheetActivateCommand','2177568DIAZMK','_session','clearInterval','SHEET_VIEWPORT_KEY','DataLoaderService','95wEToaw','_transformService','getRenderById','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','exports','_anchorDot','fill','UniverInstanceType','jsxs','ISnapshotServerService','body','useObservable','useDependency','skeleton','M0\x200H16V16H0z','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_docStateChangeManagerService','Rectangle','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','parse','indexOf','_scheduleSaving','whenReady','useRef','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocSkeletonManagerService','drawWith','setUndoRedoMutationParamsCache','_initEntityListener','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_REQUIRED','ILocalCacheService','LocaleService','runRefRangeMutations','_ensureSubject','_cursor','Unknown\x20user','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/sheets','result','EMAIL_HAS_BEEN_BOUND','current','UNAUTHENTICATED','34179cihvlX','switchMap','@univerjs/core','getLocalCacheKey','getMember','replaceState','rgba(255,\x20255,\x20255,\x200.01)','Rect','transformByState','path','fillRule','setTimeout','disposeWithMe','UnitStatus','all','requireSession','EffectRefRangId','handleInsertRow','_registerDependencies','object','search','OnLineIcon','map','colorChannel1','wsSessionTicketUrl','1086sIQlbb','_syncEditingCollabCursorService','_injector','code','setAlpha','getCoordByCell','startsWith','forEach','flatMap','permission.content','CollaborationEvent','Tooltip','UniverEngineFormula','length','getCollabCursors$','hovered','onCommandExecuted','collab-text-range-','status$','NO_OTHER_CLIENTS_EDITING','@univerjs/sheets-ui','UNIVER_DOC','storage','getCellPositionByOffset','on-line-icon_clip0_910_349','substring','syncEditingCollabCursor','registerRefRange','FETCH_MISS','_transformHistoryAndStateStack','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','_memberService','icon','transform','getVpScrollXYInfoByPosToVp','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','SUBMIT_CHANGESET_TIMEOUT','disposeUnit','react','collabStatus.offline','session.connection-failed','removeParam','ILocalStorageService','_status$','_saveTaskMap','RegularPolygon','forwardRef','_transformPreviousActiveRange','_updateURLWithCurrentState','InsertRowCommandId','white','DeleteRangeMoveUpCommandId','_docTransformIMECacheService','connectInjector','docStateChange$','_scene','textRanges','call','INVALID_ARGUMENT','TEXT','UniverUi','mutations','_collaborationUIEventService','SYNCED','_localStorageService','handleInsertRangeMoveDown','CollaborationStatus','_handleJoinEvent','none','column','_cachedData','clipPath','@univerjs/design','_themeService','ranges','executionId','CollaborationController','Injector','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','tag','getItem','purple.300','APPLY_PERMISSION_DENIED','ticket','fillStyle','createElement','HTTPService','YUUMI_AI_RUN_FAILED','getCurrent','SheetsSelectionsService','_saveCache','closePath','contains','collabCursorState$','_drawAnchor','_onRefRangeChange','WebSocketService','@univerjs/rpc','MoveRangeCommandId','selection','unitId','show','lineTo','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_id','INVALID_INVITE_CODE','_renderManagerService','NOT_COLLAB','Failed','mergeOverrideWithDependencies','roomMembers','string','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getColor','debounceTime','throttleTime','getTypeOfUnitAdded$','startColumn','_draw','DocCollaborationEntity','_setupBeforeClosingHandler','href','RefRangeService','LOGIN_FAILED','round','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','roomMembers$','getConfig','COMPLETION_FINISHED','ColorKit','BuiltInUIPart','setStateCache','has','_backgroundColor','_lastPointer','APPLY_REJECT','width','getRelativeToViewportCoord','_collabCursorController','_initCommandExecutedListener','onMouseMove','addEventListener','url(#off-line-icon_clip0_910_343)','className','OTHER_CLIENTS_EDITING','_uiPartsService','UniverCollaborationClientUIPlugin','permission.title','getMemberID','ISocketService','USERS_LEAVE','8184832mRoVwR','CollaborationDataLoaderController','IUniverInstanceService','endRow','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','extend','_init','getDocRanges','merge','UniverProCollaborationClientUi','_anchor','bottom','session.will-retry','black','_startDocCollabCursor','rxjs','_createSocketURL','ICommandService','loadOfflineData','MUTATION','DependentOn','[CollaborationDataLoaderController]','UniverNetwork','url(#$1','getViewport','UniverProCollaborationClient','setInterval','collab-rect-range-','updateOfflineData','addObject','Tools','sheetId','source','CollaborationUIEventId','on-line-icon','assignAColorForMemberID','_unitStatus','_scheduleHeartbeat','yellow.400','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','propertyIsEnumerable','getUnitStatus$','urlChange$','div','_onCursorUpdate','unload','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','1373584TsqTLk','hide','eventID','onLocalMutation','getSheetId','_beforeCloseService','init','YUUMI_ASYNCIO_CANCELLED'];_0x4199=function(){return _0x1c2415;};return _0x4199();}
1
+ (function(_0x299571,_0x43600a){const _0x2a9f52=_0x4bb6,_0x2d5a4b=_0x299571();while(!![]){try{const _0x46638c=-parseInt(_0x2a9f52(0x217))/0x1*(-parseInt(_0x2a9f52(0x2fe))/0x2)+-parseInt(_0x2a9f52(0x428))/0x3*(-parseInt(_0x2a9f52(0x232))/0x4)+parseInt(_0x2a9f52(0x29d))/0x5*(-parseInt(_0x2a9f52(0x42e))/0x6)+-parseInt(_0x2a9f52(0x477))/0x7+parseInt(_0x2a9f52(0x451))/0x8*(-parseInt(_0x2a9f52(0x41f))/0x9)+-parseInt(_0x2a9f52(0x1fd))/0xa*(-parseInt(_0x2a9f52(0x267))/0xb)+parseInt(_0x2a9f52(0x353))/0xc;if(_0x46638c===_0x43600a)break;else _0x2d5a4b['push'](_0x2d5a4b['shift']());}catch(_0x2d054f){_0x2d5a4b['push'](_0x2d5a4b['shift']());}}}(_0x27fa,0xde9db),function(_0x2205c3,_0x53c76e){const _0x17b9fb=_0x4bb6;typeof exports==_0x17b9fb(0x396)&&typeof module<'u'?_0x53c76e(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=='function'&&define['amd']?define([_0x17b9fb(0x37e),'react/jsx-runtime',_0x17b9fb(0x3e8),_0x17b9fb(0x43e),_0x17b9fb(0x225),'rxjs',_0x17b9fb(0x2bc),_0x17b9fb(0x3d2),'@univerjs/rpc','@univerjs/sheets',_0x17b9fb(0x3c3),_0x17b9fb(0x298),_0x17b9fb(0x449),_0x17b9fb(0x242),'@univerjs-pro/collaboration',_0x17b9fb(0x324),'@univerjs/engine-formula','rxjs/operators',_0x17b9fb(0x466)],_0x53c76e):(_0x2205c3=typeof globalThis<'u'?globalThis:_0x2205c3||self,_0x53c76e(_0x2205c3[_0x17b9fb(0x376)]={},_0x2205c3['React'],_0x2205c3[_0x17b9fb(0x2da)],_0x2205c3['UniverCore'],_0x2205c3[_0x17b9fb(0x38d)],_0x2205c3[_0x17b9fb(0x228)],_0x2205c3[_0x17b9fb(0x303)],_0x2205c3[_0x17b9fb(0x2cc)],_0x2205c3[_0x17b9fb(0x1ee)],_0x2205c3[_0x17b9fb(0x42a)],_0x2205c3['UniverEngineRender'],_0x2205c3[_0x17b9fb(0x261)],_0x2205c3[_0x17b9fb(0x1e1)],_0x2205c3[_0x17b9fb(0x284)],_0x2205c3[_0x17b9fb(0x40c)],_0x2205c3[_0x17b9fb(0x384)],_0x2205c3[_0x17b9fb(0x302)],_0x2205c3[_0x17b9fb(0x228)]['operators'],_0x2205c3[_0x17b9fb(0x214)]));}(this,function(_0x11d7a5,_0x1af605,_0x1c12f2,_0x4921b5,_0x56a892,_0x66da6e,_0x20d8fb,_0x1796bf,_0x68b8d4,_0x3e73c9,_0x22d409,_0x1d4e08,_0x3fda77,_0x283592,_0x1a4d3b,_0x4bc80d,_0xeb64c6,_0x4449c2,_0x53da58){'use strict';const _0x449813=_0x4bb6;var _0x39a2cf=Object[_0x449813(0x388)],_0x347a53=(_0x27b99f,_0xce635c,_0x34a097)=>_0xce635c in _0x27b99f?_0x39a2cf(_0x27b99f,_0xce635c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a097}):_0x27b99f[_0xce635c]=_0x34a097,_0x8d7f57=(_0x1491e2,_0x11fd9a,_0x37e840)=>_0x347a53(_0x1491e2,typeof _0x11fd9a!=_0x449813(0x1d9)?_0x11fd9a+'':_0x11fd9a,_0x37e840),_0x5b7203=function(){const _0x57251e=_0x449813;return _0x5b7203=Object[_0x57251e(0x37d)]||function(_0x21a9e1){const _0x330122=_0x57251e;for(var _0x116c8c,_0x12d0c4=0x1,_0x3c8438=arguments[_0x330122(0x418)];_0x12d0c4<_0x3c8438;_0x12d0c4++){_0x116c8c=arguments[_0x12d0c4];for(var _0x21c681 in _0x116c8c)Object['prototype'][_0x330122(0x218)][_0x330122(0x38b)](_0x116c8c,_0x21c681)&&(_0x21a9e1[_0x21c681]=_0x116c8c[_0x21c681]);}return _0x21a9e1;},_0x5b7203[_0x57251e(0x22a)](this,arguments);},_0x398d2b=function(_0xea4d72,_0x15b001){const _0x2ba11a=_0x449813;var _0x42b988={};for(var _0x452580 in _0xea4d72)Object[_0x2ba11a(0x361)][_0x2ba11a(0x218)]['call'](_0xea4d72,_0x452580)&&_0x15b001['indexOf'](_0x452580)<0x0&&(_0x42b988[_0x452580]=_0xea4d72[_0x452580]);if(_0xea4d72!=null&&typeof Object['getOwnPropertySymbols']==_0x2ba11a(0x382)){for(var _0x4e47a6=0x0,_0x452580=Object[_0x2ba11a(0x24b)](_0xea4d72);_0x4e47a6<_0x452580['length'];_0x4e47a6++)_0x15b001[_0x2ba11a(0x385)](_0x452580[_0x4e47a6])<0x0&&Object[_0x2ba11a(0x361)]['propertyIsEnumerable']['call'](_0xea4d72,_0x452580[_0x4e47a6])&&(_0x42b988[_0x452580[_0x4e47a6]]=_0xea4d72[_0x452580[_0x4e47a6]]);}return _0x42b988;},_0x1c2af3=_0x1796bf['forwardRef'](function(_0x54ebf4,_0x279999){const _0x4f5bbe=_0x449813;var _0xe5b632=_0x54ebf4[_0x4f5bbe(0x3f2)],_0x26e746=_0x54ebf4['id'],_0x136aba=_0x54ebf4[_0x4f5bbe(0x1e7)],_0x4230e7=_0x54ebf4['extend'],_0x6c204e=_0x398d2b(_0x54ebf4,[_0x4f5bbe(0x3f2),'id',_0x4f5bbe(0x1e7),'extend']),_0x21f519=_0x4f5bbe(0x321)[_0x4f5bbe(0x455)](_0x26e746,'\x20')[_0x4f5bbe(0x455)](_0x136aba||'')[_0x4f5bbe(0x400)](),_0x3968f1=_0x1796bf[_0x4f5bbe(0x458)]('_'[_0x4f5bbe(0x455)](_0x45b6df()));return _0x48825c(_0xe5b632,''['concat'](_0x26e746),{'defIds':_0xe5b632[_0x4f5bbe(0x394)],'idSuffix':_0x3968f1[_0x4f5bbe(0x2d7)]},_0x5b7203({'ref':_0x279999,'className':_0x21f519},_0x6c204e),_0x4230e7);});function _0x48825c(_0x3f6861,_0x683885,_0x2ef3e8,_0x413a45,_0x541ab7){const _0x1e1cd6=_0x449813;return _0x1796bf[_0x1e1cd6(0x289)](_0x3f6861[_0x1e1cd6(0x213)],_0x5b7203(_0x5b7203({'key':_0x683885},_0x2704bc(_0x3f6861,_0x2ef3e8,_0x541ab7)),_0x413a45),(_0x38d47a(_0x3f6861,_0x2ef3e8)[_0x1e1cd6(0x3fe)]||[])[_0x1e1cd6(0x33d)](function(_0x56c619,_0x5c505f){const _0x1a15f3=_0x1e1cd6;return _0x48825c(_0x56c619,''[_0x1a15f3(0x455)](_0x683885,'-')[_0x1a15f3(0x455)](_0x3f6861['tag'],'-')[_0x1a15f3(0x455)](_0x5c505f),_0x2ef3e8,void 0x0,_0x541ab7);}));}function _0x2704bc(_0x447511,_0x47f495,_0xfd98bd){const _0x2e27b5=_0x449813;var _0x43c6b6=_0x5b7203({},_0x447511[_0x2e27b5(0x200)]);_0xfd98bd!=null&&_0xfd98bd[_0x2e27b5(0x309)]&&_0x43c6b6[_0x2e27b5(0x373)]===_0x2e27b5(0x309)&&(_0x43c6b6[_0x2e27b5(0x373)]=_0xfd98bd[_0x2e27b5(0x309)]),_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x22c)&&_0x43c6b6['id']&&(_0x43c6b6['id']=_0x43c6b6['id']+_0x47f495[_0x2e27b5(0x37c)]),Object['entries'](_0x43c6b6)['forEach'](function(_0x33b58f){const _0x485dfa=_0x2e27b5;var _0x44329b=_0x33b58f[0x0],_0x20a6ab=_0x33b58f[0x1];_0x44329b===_0x485dfa(0x22c)&&typeof _0x20a6ab=='string'&&(_0x43c6b6[_0x44329b]=_0x20a6ab[_0x485dfa(0x305)](/url\(#(.*)\)/,_0x485dfa(0x460)[_0x485dfa(0x455)](_0x47f495[_0x485dfa(0x37c)],')')));});var _0x907fdd=_0x47f495[_0x2e27b5(0x394)];return!_0x907fdd||_0x907fdd['length']===0x0||(_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x3cb)&&_0x43c6b6[_0x2e27b5(0x36e)]&&(_0x43c6b6['xlink:href']=_0x43c6b6[_0x2e27b5(0x36e)]+_0x47f495['idSuffix']),Object[_0x2e27b5(0x2d0)](_0x43c6b6)['forEach'](function(_0x350af7){const _0x46acaf=_0x2e27b5;var _0x20ff54=_0x350af7[0x0],_0x3efa1f=_0x350af7[0x1];typeof _0x3efa1f==_0x46acaf(0x415)&&(_0x43c6b6[_0x20ff54]=_0x3efa1f[_0x46acaf(0x305)](/url\(#(.*)\)/,_0x46acaf(0x460)[_0x46acaf(0x455)](_0x47f495[_0x46acaf(0x37c)],')')));})),_0x43c6b6;}function _0x38d47a(_0x5e7d33,_0x2e5d9f){const _0x1184a9=_0x449813;var _0x2715af,_0x5297c9=_0x2e5d9f[_0x1184a9(0x394)];return!_0x5297c9||_0x5297c9[_0x1184a9(0x418)]===0x0?_0x5e7d33:_0x5e7d33[_0x1184a9(0x213)]===_0x1184a9(0x411)&&(!((_0x2715af=_0x5e7d33[_0x1184a9(0x3fe)])===null||_0x2715af===void 0x0)&&_0x2715af['length'])?_0x5b7203(_0x5b7203({},_0x5e7d33),{'children':_0x5e7d33['children'][_0x1184a9(0x33d)](function(_0x43a3bb){const _0x2b62b0=_0x1184a9;return typeof _0x43a3bb[_0x2b62b0(0x200)]['id']==_0x2b62b0(0x415)&&_0x5297c9&&_0x5297c9['includes'](_0x43a3bb[_0x2b62b0(0x200)]['id'])?_0x5b7203(_0x5b7203({},_0x43a3bb),{'attrs':_0x5b7203(_0x5b7203({},_0x43a3bb['attrs']),{'id':_0x43a3bb[_0x2b62b0(0x200)]['id']+_0x2e5d9f[_0x2b62b0(0x37c)]})}):_0x43a3bb;})}):_0x5e7d33;}function _0x45b6df(){const _0x369d53=_0x449813;return Math[_0x369d53(0x37b)]()['toString'](0x24)[_0x369d53(0x222)](0x2,0x8);}_0x1c2af3[_0x449813(0x20a)]='UniverIcon';var _0x1219f7={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x3ec),'width':_0x449813(0x3b3),'height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x449813(0x467)},'children':[{'tag':_0x449813(0x354),'attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x36c),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':_0x449813(0x279),'attrs':{'id':_0x449813(0x3e9)},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x449813(0x3e9)]},_0x5bc710=_0x1796bf[_0x449813(0x2e8)](function(_0x40f66b,_0x1032ac){const _0x2481fb=_0x449813;return _0x1796bf[_0x2481fb(0x289)](_0x1c2af3,Object[_0x2481fb(0x37d)]({},_0x40f66b,{'id':_0x2481fb(0x3cf),'ref':_0x1032ac,'icon':_0x1219f7}));});_0x5bc710[_0x449813(0x20a)]=_0x449813(0x29e);var _0x274439={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x325),'width':'1em','height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x37f),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':_0x449813(0x43d),'transform':_0x449813(0x3a8)}}]}]}],'defIds':[_0x449813(0x457)]},_0x1630c9=_0x1796bf['forwardRef'](function(_0x1a789e,_0x8ac4c5){const _0x4be3af=_0x449813;return _0x1796bf[_0x4be3af(0x289)](_0x1c2af3,Object[_0x4be3af(0x37d)]({},_0x1a789e,{'id':_0x4be3af(0x34d),'ref':_0x8ac4c5,'icon':_0x274439}));});_0x1630c9[_0x449813(0x20a)]='OnLineIcon';function _0x3ee1b1(_0x3bcf4b){const _0x1f97bf=_0x449813;switch(_0x3bcf4b){case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x381)]:return _0x1f97bf(0x1e6);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x224)]:return _0x1f97bf(0x39b);case _0x1c12f2[_0x1f97bf(0x375)]['FETCH_MISS']:return _0x1f97bf(0x28a);case _0x1c12f2['CollaborationStatus']['NOT_COLLAB']:return _0x1f97bf(0x436);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x40b)]:case _0x1c12f2['CollaborationStatus'][_0x1f97bf(0x3ad)]:return _0x1f97bf(0x2c3);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x2ef)]:case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x270)]:return'collabStatus.synced';}}function _0x568b29(_0x12ba1e){const _0x312b5b=_0x449813,{status$:_0x57284d}=_0x12ba1e,_0x3ce4a2=_0x56a892[_0x312b5b(0x34b)](_0x57284d,_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x29a)]),_0x2ae499=_0x56a892[_0x312b5b(0x3ed)](_0x4921b5['LocaleService']),_0x22dc87=_0x56a892[_0x312b5b(0x3ed)](_0x1c12f2['CollaborationSessionService']),_0x11a37c=_0x3ce4a2!==_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x381)],_0x5abcfe=_0x2ae499['t'](_0x3ee1b1(_0x3ce4a2)),_0x33ec6b=_0x11a37c?_0x1af605[_0x312b5b(0x2d9)](_0x1630c9,{}):_0x1af605[_0x312b5b(0x2d9)](_0x5bc710,{}),_0x50e1f2=_0x1796bf[_0x312b5b(0x223)](()=>{const _0x4b4070=_0x312b5b;_0x11a37c||_0x22dc87[_0x4b4070(0x33c)]();},[_0x11a37c,_0x22dc87]);function _0x22f086(){const _0x271ca5=_0x312b5b;return _0x1af605[_0x271ca5(0x42c)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x1e9),'onClick':_0x50e1f2,'children':[_0x1af605['jsx'](_0x271ca5(0x3ea),{'className':_0x20d8fb[_0x271ca5(0x315)](_0x271ca5(0x448),{'univer-text-green-500':_0x11a37c,'univer-text-red-500':!_0x11a37c}),'children':_0x33ec6b}),_0x1af605[_0x271ca5(0x2d9)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x367),'children':_0x5abcfe})]});}return _0x11a37c?_0x22f086():_0x1af605[_0x312b5b(0x2d9)](_0x20d8fb['Tooltip'],{'title':_0x2ae499['t'](_0x312b5b(0x478)),'children':_0x22f086()});}var _0x4cada2=Object[_0x449813(0x29c)],_0xfb9c22=(_0x1edb4f,_0x1ae95d,_0x4303c3,_0x52e446)=>{const _0x58f7bf=_0x449813;for(var _0x5a944d=_0x52e446>0x1?void 0x0:_0x52e446?_0x4cada2(_0x1ae95d,_0x4303c3):_0x1ae95d,_0x4ddd97=_0x1edb4f[_0x58f7bf(0x418)]-0x1,_0xa5e197;_0x4ddd97>=0x0;_0x4ddd97--)(_0xa5e197=_0x1edb4f[_0x4ddd97])&&(_0x5a944d=_0xa5e197(_0x5a944d)||_0x5a944d);return _0x5a944d;},_0x4bc0ca=(_0x18922c,_0x1df124)=>(_0x35af67,_0x31d2a2)=>_0x1df124(_0x35af67,_0x31d2a2,_0x18922c);_0x11d7a5[_0x449813(0x2cb)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x2d3dc1,_0x53d74c,_0x508450,_0x4f167d){const _0x14e18d=_0x449813;super(),_0x8d7f57(this,'_status$',new _0x66da6e[(_0x14e18d(0x2ae))](_0x1c12f2[_0x14e18d(0x375)][_0x14e18d(0x29a)])),(this[_0x14e18d(0x3a6)]=_0x2d3dc1,this[_0x14e18d(0x27f)]=_0x53d74c,this[_0x14e18d(0x44b)]=_0x508450,this['_uiPartsService']=_0x4f167d,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x128165=_0x449813;this['disposeWithMe'](this['_univerInstanceService'][_0x128165(0x251)][_0x128165(0x35e)](_0x66da6e['switchMap'](()=>{const _0x2c6c66=_0x128165,_0x2a5654=this[_0x2c6c66(0x3a6)][_0x2c6c66(0x27c)]();return _0x2a5654?this[_0x2c6c66(0x44b)][_0x2c6c66(0x265)](_0x2a5654[_0x2c6c66(0x2c6)]()):_0x66da6e['of'](null);}),_0x66da6e[_0x128165(0x360)](_0x333c14=>_0x333c14?_0x333c14[_0x128165(0x280)]:_0x66da6e['of'](_0x1c12f2[_0x128165(0x375)][_0x128165(0x29a)])))['subscribe'](_0x357788=>{const _0x26c5bd=_0x128165;this[_0x26c5bd(0x215)][_0x26c5bd(0x2fd)](_0x357788);}));}[_0x449813(0x311)](){const _0x33d791=_0x449813;this[_0x33d791(0x25c)](this[_0x33d791(0x2f4)]['registerComponent'](_0x56a892[_0x33d791(0x1dc)]['HEADER_MENU'],()=>_0x56a892[_0x33d791(0x431)](_0x18a61d({'status$':this[_0x33d791(0x215)][_0x33d791(0x37a)]()}),this['_injector'])));}},_0x11d7a5[_0x449813(0x2cb)]=_0xfb9c22([_0x4bc0ca(0x0,_0x4921b5[_0x449813(0x42b)]),_0x4bc0ca(0x1,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x4bc0ca(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x4bc0ca(0x3,_0x56a892[_0x449813(0x2fc)])],_0x11d7a5['DesktopCollaborationStatusDisplayController']);function _0x18a61d(_0x18585c){const {status$:_0x7201b0}=_0x18585c;return function(){const _0x5c6772=_0x4bb6;return _0x1af605[_0x5c6772(0x2d9)](_0x568b29,{'status$':_0x7201b0});};}const _0x475a16=_0x4921b5[_0x449813(0x1e2)](_0x449813(0x2aa));var _0x38dd90=Object[_0x449813(0x29c)],_0x1c1016=(_0x261168,_0x7c8ff6,_0x1db5f8,_0x32ebcf)=>{const _0x223411=_0x449813;for(var _0x3c28b6=_0x32ebcf>0x1?void 0x0:_0x32ebcf?_0x38dd90(_0x7c8ff6,_0x1db5f8):_0x7c8ff6,_0x469481=_0x261168[_0x223411(0x418)]-0x1,_0x4f51ca;_0x469481>=0x0;_0x469481--)(_0x4f51ca=_0x261168[_0x469481])&&(_0x3c28b6=_0x4f51ca(_0x3c28b6)||_0x3c28b6);return _0x3c28b6;},_0x8ee33e=(_0xa70e4d,_0x12bce5)=>(_0x2f98f5,_0xcfc32e)=>_0x12bce5(_0x2f98f5,_0xcfc32e,_0xa70e4d);_0x11d7a5['CollaborationDataLoaderController']=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x4be8fd,_0x21ff03,_0x2bd289,_0x55d67b,_0x36ca73){const _0x38bb18=_0x449813;super(),this[_0x38bb18(0x3f9)]=_0x4be8fd,this[_0x38bb18(0x3f7)]=_0x21ff03,this['_commandService']=_0x2bd289,this[_0x38bb18(0x43f)]=_0x55d67b,_0x36ca73?_0x36ca73==null||_0x36ca73[_0x38bb18(0x30d)]()[_0x38bb18(0x3ef)](()=>this['_init']()):(this['_logService'][_0x38bb18(0x340)](_0x38bb18(0x357),_0x38bb18(0x3ce)),this[_0x38bb18(0x2c7)]());}async[_0x449813(0x2c7)](){const _0x436e00=_0x449813,_0x319fc1=this[_0x436e00(0x3f9)][_0x436e00(0x372)]('unit'),_0x356452=this[_0x436e00(0x3f9)]['getParam'](_0x436e00(0x426)),_0x3a985d=this[_0x436e00(0x3f9)][_0x436e00(0x372)](_0x436e00(0x233));if(!_0x319fc1||!_0x356452){this[_0x436e00(0x3f7)][_0x436e00(0x340)](_0x436e00(0x357),_0x436e00(0x45f));return;}const _0x142b67=await this[_0x436e00(0x43f)][_0x436e00(0x355)](_0x319fc1,Number(_0x356452),_0x3a985d);_0x142b67&&_0x142b67 instanceof _0x4921b5[_0x436e00(0x28f)]&&this['_setupSubUnitSync'](_0x142b67);}async[_0x449813(0x2ea)](_0x1e92bb){const _0x5eeb5b=_0x449813;await this[_0x5eeb5b(0x3ca)](_0x1e92bb),_0x1e92bb[_0x5eeb5b(0x227)][_0x5eeb5b(0x35e)](_0x66da6e[_0x5eeb5b(0x34f)](this[_0x5eeb5b(0x41d)]))[_0x5eeb5b(0x1fe)](_0x1caa7b=>{_0x1caa7b&&this['_updateURLWithCurrentState'](_0x1caa7b);}),this[_0x5eeb5b(0x3f9)]['urlChange$'][_0x5eeb5b(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x5eeb5b(0x1fe)](()=>this[_0x5eeb5b(0x3ca)](_0x1e92bb));}[_0x449813(0x24d)](_0x4a69f2,_0x2cfb92=!0x1){const _0x575573=_0x449813,_0x4958cc=this[_0x575573(0x3f9)]['getParam'](_0x575573(0x233));_0x4a69f2[_0x575573(0x45a)]()!==_0x4958cc&&this[_0x575573(0x3f9)][_0x575573(0x2c4)](_0x575573(0x233),_0x4a69f2['getSheetId'](),_0x2cfb92);}async[_0x449813(0x3ca)](_0x523ff5){const _0x33b9ce=_0x449813;var _0x34510e;const _0x3ea62c=this[_0x33b9ce(0x3f9)][_0x33b9ce(0x372)](_0x33b9ce(0x233));if(!_0x3ea62c||!_0x523ff5['getSheetBySheetId'](_0x3ea62c)){const _0x53373b=_0x523ff5[_0x33b9ce(0x29b)]()[0x0],_0x118bf1=_0x523ff5[_0x33b9ce(0x2bd)](_0x53373b);if(!_0x118bf1)return;this['_updateURLWithCurrentState'](_0x118bf1,!0x0),await this['_commandService']['executeCommand'](_0x3e73c9[_0x33b9ce(0x1e0)]['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x53373b});return;}((_0x34510e=_0x523ff5[_0x33b9ce(0x472)]())==null?void 0x0:_0x34510e[_0x33b9ce(0x45a)]())!==_0x3ea62c&&await this[_0x33b9ce(0x2a0)][_0x33b9ce(0x339)](_0x3e73c9['SetWorksheetActivateCommand']['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x3ea62c});}},_0x11d7a5['CollaborationDataLoaderController']=_0x1c1016([_0x8ee33e(0x0,_0x475a16),_0x8ee33e(0x1,_0x4921b5[_0x449813(0x2ee)]),_0x8ee33e(0x2,_0x4921b5['ICommandService']),_0x8ee33e(0x3,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x32c)])),_0x8ee33e(0x4,_0x4921b5[_0x449813(0x334)](_0x68b8d4[_0x449813(0x3d3)]))],_0x11d7a5[_0x449813(0x408)]);var _0x2c5a39=Object['getOwnPropertyDescriptor'],_0x1c1a77=(_0x6f9b11,_0x57723d,_0x4683b8,_0x430ef1)=>{const _0x20a1d7=_0x449813;for(var _0x1fc9fb=_0x430ef1>0x1?void 0x0:_0x430ef1?_0x2c5a39(_0x57723d,_0x4683b8):_0x57723d,_0x44020a=_0x6f9b11[_0x20a1d7(0x418)]-0x1,_0x961f5d;_0x44020a>=0x0;_0x44020a--)(_0x961f5d=_0x6f9b11[_0x44020a])&&(_0x1fc9fb=_0x961f5d(_0x1fc9fb)||_0x1fc9fb);return _0x1fc9fb;},_0x10db21=(_0x268ae3,_0x4f0a4f)=>(_0x36d0a1,_0x17a016)=>_0x4f0a4f(_0x36d0a1,_0x17a016,_0x268ae3);let _0x310481=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1ceac7,_0x3164c8){const _0x1e09cf=_0x449813;super(),this[_0x1e09cf(0x3a7)]=_0x1ceac7,this['_imageIoService']=_0x3164c8,this['_init']();}[_0x449813(0x2c7)](){const _0x940175=_0x449813,_0x5396e4=this;this[_0x940175(0x25c)](this[_0x940175(0x3a7)][_0x940175(0x3f6)]({'onBeforePasteImage':async _0x67ee71=>{const _0x237191=_0x940175,_0xe29bbd=await _0x5396e4[_0x237191(0x2d2)]['saveImage'](_0x67ee71);return _0xe29bbd?{'source':_0xe29bbd[_0x237191(0x405)],'imageSourceType':_0xe29bbd[_0x237191(0x247)]}:null;}}));}};_0x310481=_0x1c1a77([_0x10db21(0x0,_0x3fda77[_0x449813(0x1ff)]),_0x10db21(0x1,_0x283592[_0x449813(0x2a4)])],_0x310481);const _0x50a733=[_0x449813(0x2b8),_0x449813(0x26b),_0x449813(0x3c9),_0x449813(0x2f7),_0x449813(0x469),_0x449813(0x31a)];class _0xac4cbd extends _0x4921b5[_0x449813(0x292)]{constructor(){super(...arguments),_0x8d7f57(this,'_assignedColors',new Map()),_0x8d7f57(this,'_colorIndex',0x0);}[_0x449813(0x20f)](_0x15e41f){const _0x5dd173=_0x449813;if(this[_0x5dd173(0x377)][_0x5dd173(0x3fc)](_0x15e41f))return this['_assignedColors'][_0x5dd173(0x2dd)](_0x15e41f);const _0x4bb058=_0x50a733[this['_colorIndex']];return this[_0x5dd173(0x359)]=(this['_colorIndex']+0x1)%_0x50a733['length'],this[_0x5dd173(0x377)][_0x5dd173(0x2a1)](_0x15e41f,_0x4bb058),_0x4bb058;}}function _0x53aab5(_0x26fe39){let _0x25b8ae='';for(const _0x120d72 of _0x26fe39){const {startOffset:_0x2c7e78,endOffset:_0x492cbb,isActive:_0x1ac34c,rangeType:_0x1d40c8,segmentId:_0x2c7135,segmentPage:_0x42e080}=_0x120d72;_0x25b8ae['length']&&(_0x25b8ae+=','),_0x25b8ae+=_0x2c7e78+':'+_0x492cbb+':'+(_0x1ac34c?'1':'0')+':'+_0x1d40c8+':'+_0x2c7135+':'+_0x42e080;}return _0x25b8ae;}function _0x1290dc(_0x472f3d){const _0x4f7843=_0x449813,_0x1bd8ec=_0x472f3d[_0x4f7843(0x40a)](','),_0x311639=[];for(const _0x3e5a2c of _0x1bd8ec){const [_0x41e23e,_0x281cd5,_0x1d3913,_0xfff416,_0x7260f0,_0x1d1239]=_0x3e5a2c[_0x4f7843(0x40a)](':');_0x311639[_0x4f7843(0x2a3)]({'startOffset':Number(_0x41e23e),'endOffset':Number(_0x281cd5),'collapsed':_0x41e23e===_0x281cd5,'isActive':_0x1d3913==='1','rangeType':_0xfff416===_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]?_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]:_0x4921b5['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x7260f0==_0x4f7843(0x415)?String(_0x7260f0):'','segmentPage':Number(_0x1d1239!=null?_0x1d1239:-0x1)});}return _0x311639[_0x4f7843(0x2de)](_0x4a384f=>_0x4a384f[_0x4f7843(0x3a1)])||(_0x311639[0x0][_0x4f7843(0x3a1)]=!0x0),_0x311639;}class _0x2162e3 extends _0x4921b5['RxDisposable']{constructor(){const _0x20a0dd=_0x449813;super(...arguments),_0x8d7f57(this,'_collabCursorState$',new _0x66da6e[(_0x20a0dd(0x2ae))](null)),_0x8d7f57(this,'collabCursorState$',this[_0x20a0dd(0x440)]['asObservable']());}[_0x449813(0x2d3)](_0xc4848f){const _0x40b507=_0x449813,{unitID:_0x4a75da,memberID:_0x5572a4,textRanges:_0xced0b3}=_0xc4848f,_0xf1133e=_0x53aab5(_0xced0b3);if(_0xf1133e==='')return;const _0x2d7e31={'unitID':_0x4a75da,'memberID':_0x5572a4,'selection':_0xf1133e};this[_0x40b507(0x440)][_0x40b507(0x2fd)](_0x2d7e31);}}var _0x42f979=Object[_0x449813(0x29c)],_0x1098b2=(_0x2ed694,_0x1a7275,_0x46be4a,_0x5ad13c)=>{const _0x559053=_0x449813;for(var _0x44fbb6=_0x5ad13c>0x1?void 0x0:_0x5ad13c?_0x42f979(_0x1a7275,_0x46be4a):_0x1a7275,_0x329d39=_0x2ed694[_0x559053(0x418)]-0x1,_0x181d25;_0x329d39>=0x0;_0x329d39--)(_0x181d25=_0x2ed694[_0x329d39])&&(_0x44fbb6=_0x181d25(_0x44fbb6)||_0x44fbb6);return _0x44fbb6;},_0x4bcdfe=(_0x5d7e47,_0x4b92ca)=>(_0x122e29,_0x3c4a52)=>_0x4b92ca(_0x122e29,_0x3c4a52,_0x5d7e47);const _0x3ce0a5=0x12c,_0xca366=0x64;let _0x38bb7b=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1045e5,_0x2ec792,_0x2862a7,_0x34fbd3,_0x7fdba2,_0x3abf2b,_0x202d42,_0x5a5f33,_0x3ba9cc){const _0x3e3e83=_0x449813;super(),_0x8d7f57(this,_0x3e3e83(0x253),!0x1),_0x8d7f57(this,'_init',!0x1),_0x8d7f57(this,_0x3e3e83(0x343),new _0x66da6e[(_0x3e3e83(0x2ae))](new Map())),_0x8d7f57(this,_0x3e3e83(0x28d),this['_cursorInfo$']['asObservable']()),_0x8d7f57(this,'_roomMembers$',new _0x66da6e[(_0x3e3e83(0x2ae))]([])),_0x8d7f57(this,_0x3e3e83(0x370),this[_0x3e3e83(0x406)][_0x3e3e83(0x35e)](_0x66da6e[_0x3e3e83(0x44a)](_0x3ce0a5))),_0x8d7f57(this,_0x3e3e83(0x2f6),_0x4921b5[_0x3e3e83(0x3ac)](_0x514d6f=>{const _0x242e96=_0x3e3e83,_0x5b75e2={'eventID':_0x1a4d3b['CollaborationEvent'][_0x242e96(0x46d)],'data':{'unitID':this[_0x242e96(0x2b3)],'memberID':this[_0x242e96(0x312)][_0x242e96(0x1ec)](),'selection':_0x53aab5(_0x514d6f)}};this['_session'][_0x242e96(0x3d4)](_0x5b75e2,this[_0x242e96(0x2b3)]);},_0xca366)),(this[_0x3e3e83(0x2b3)]=_0x1045e5,this['_session']=_0x2ec792,this[_0x3e3e83(0x27f)]=_0x2862a7,this['_colorAssignService']=_0x34fbd3,this['_memberService']=_0x7fdba2,this[_0x3e3e83(0x335)]=_0x3abf2b,this[_0x3e3e83(0x216)]=_0x202d42,this[_0x3e3e83(0x3a6)]=_0x5a5f33,this[_0x3e3e83(0x2a0)]=_0x3ba9cc);}get['cursorInfo'](){const _0x1d4307=_0x449813;return this[_0x1d4307(0x343)]['getValue']();}get[_0x449813(0x21b)](){const _0x2989eb=_0x449813;return this[_0x2989eb(0x406)][_0x2989eb(0x2b4)]();}[_0x449813(0x2ec)](){const _0x3e53c3=_0x449813;super[_0x3e53c3(0x2ec)](),this['_cursorInfo$'][_0x3e53c3(0x2fd)](new Map()),this[_0x3e53c3(0x343)][_0x3e53c3(0x473)](),this[_0x3e53c3(0x406)][_0x3e53c3(0x2fd)]([]),this[_0x3e53c3(0x406)][_0x3e53c3(0x473)]();}[_0x449813(0x237)](){const _0xa784bf=_0x449813;this['_init']||(this[_0xa784bf(0x2c7)]=!0x0,this[_0xa784bf(0x312)][_0xa784bf(0x389)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x23ad70=>{const _0x2e1bd9=_0xa784bf;_0x23ad70===_0x1c12f2['SessionStatus']['ONLINE']?this[_0x2e1bd9(0x36b)]():this[_0x2e1bd9(0x1fa)]();}),this[_0xa784bf(0x312)]['event$'][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this['dispose$']))[_0xa784bf(0x1fe)](_0x70b30b=>{const _0x5942e2=_0xa784bf,_0x4b011d=_0x70b30b[_0x5942e2(0x3dc)];_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x46d)]&&this[_0x5942e2(0x277)](_0x70b30b),_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x32d)]&&this[_0x5942e2(0x257)](_0x70b30b);}),this[_0xa784bf(0x25c)](this['_commandService']['onCommandExecuted'](_0x453d39=>{const _0x38b8dd=_0xa784bf,_0x407d6a=_0x453d39[_0x38b8dd(0x268)];_0x407d6a!=null&&this[_0x38b8dd(0x253)]&&_0x453d39['id']===_0x4bc80d[_0x38b8dd(0x2d4)]['id']&&_0x407d6a[_0x38b8dd(0x2a2)]===this[_0x38b8dd(0x2b3)]&&_0x407d6a[_0x38b8dd(0x274)]===!0x1&&_0x407d6a['ranges']['length']>0x0&&this[_0x38b8dd(0x2f6)](_0x407d6a[_0x38b8dd(0x3b1)]);})),this[_0xa784bf(0x335)][_0xa784bf(0x276)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x81590f=>{const _0x4d1070=_0xa784bf;if((_0x81590f==null?void 0x0:_0x81590f[_0x4d1070(0x2b3)])!==this[_0x4d1070(0x2b3)])return;const _0x54ca4b={'eventID':_0x1a4d3b[_0x4d1070(0x3b7)]['UPDATE_CURSOR'],'data':_0x81590f};this[_0x4d1070(0x277)](_0x54ca4b);}),this[_0xa784bf(0x25c)](this[_0xa784bf(0x2a0)][_0xa784bf(0x46c)](_0x11c75c=>{const _0x65fc8c=_0xa784bf;if(_0x11c75c['params']==null)return;const _0x11a8a0=_0x11c75c['params'];if(_0x11c75c['id']!==_0x4bc80d[_0x65fc8c(0x338)]['id']||_0x11a8a0[_0x65fc8c(0x2a2)]!==this[_0x65fc8c(0x2b3)])return;const _0x4e48cd={'id':_0x65fc8c(0x439),'params':_0x11a8a0},_0x2f5bc8=this[_0x65fc8c(0x220)];for(const [_0x2a7712,_0x2c8d4f]of _0x2f5bc8){const _0x14b015={'id':_0x65fc8c(0x439),'params':{'unitId':this[_0x65fc8c(0x2b3)],'actions':null,'textRanges':_0x2c8d4f[_0x65fc8c(0x3b1)]}},_0x38fcd2=this['_transformService'][_0x65fc8c(0x454)](_0x4e48cd,_0x14b015,!0x1);if(_0x1a4d3b[_0x65fc8c(0x41a)](_0x38fcd2))throw _0x38fcd2['error'];_0x2f5bc8[_0x65fc8c(0x2a1)](_0x2a7712,{..._0x2c8d4f,'ranges':_0x38fcd2[_0x65fc8c(0x24f)][_0x65fc8c(0x268)]['textRanges']});}queueMicrotask(()=>{const _0x2eb3d7=_0x65fc8c;this['_cursorInfo$'][_0x2eb3d7(0x2fd)](_0x2f5bc8);});})));}[_0x449813(0x277)](_0x2160ba){const _0x3a957d=_0x449813;var _0x289a7c,_0x1cd2bc;const {memberID:_0x5f4f8b,selection:_0x3a49e8}=_0x2160ba[_0x3a957d(0x1e8)],_0x38a628=_0x1290dc(_0x3a49e8),_0x4d09d8=(_0x1cd2bc=(_0x289a7c=this['_memberService'][_0x3a957d(0x20d)](this[_0x3a957d(0x2b3)],_0x5f4f8b))==null?void 0x0:_0x289a7c[_0x3a957d(0x31e)])!=null?_0x1cd2bc:_0x3a957d(0x40d),_0x27944f={'color':this['_colorAssignService'][_0x3a957d(0x20f)](_0x5f4f8b),'name':_0x4d09d8,'ranges':_0x38a628},_0x2f18e3=this[_0x3a957d(0x220)];_0x2f18e3[_0x3a957d(0x2a1)](_0x5f4f8b,_0x27944f),this[_0x3a957d(0x343)][_0x3a957d(0x2fd)](_0x2f18e3);}['_onCursorDelete'](_0x41185f){const _0x48312c=_0x449813,{memberID:_0x55a6ae}=_0x41185f[_0x48312c(0x1e8)],_0x48156a=this['cursorInfo'];_0x48156a[_0x48312c(0x474)](_0x55a6ae),this['_cursorInfo$'][_0x48312c(0x2fd)](_0x48156a);}[_0x449813(0x36b)](){const _0x13f77f=_0x449813;var _0x506ce1;if(this[_0x13f77f(0x253)]=!0x0,((_0x506ce1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x506ce1[_0x13f77f(0x2c6)]())!==this[_0x13f77f(0x2b3)])return;const _0x529286=this[_0x13f77f(0x27f)][_0x13f77f(0x2dd)](_0x4bc80d[_0x13f77f(0x290)])[_0x13f77f(0x3bd)]();Array['isArray'](_0x529286)&&_0x529286[_0x13f77f(0x418)]>0x0&&this[_0x13f77f(0x2f6)](_0x529286);}[_0x449813(0x1fa)](){const _0x30b083=_0x449813;this[_0x30b083(0x253)]=!0x1;}};_0x38bb7b=_0x1098b2([_0x4bcdfe(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x4bcdfe(0x3,_0x4921b5['Inject'](_0xac4cbd)),_0x4bcdfe(0x4,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x366)])),_0x4bcdfe(0x5,_0x4921b5[_0x449813(0x41c)](_0x2162e3)),_0x4bcdfe(0x6,_0x1a4d3b['ITransformService']),_0x4bcdfe(0x7,_0x4921b5[_0x449813(0x42b)]),_0x4bcdfe(0x8,_0x4921b5['ICommandService'])],_0x38bb7b);var _0x25468f=Object[_0x449813(0x29c)],_0x51e84b=(_0x59a62a,_0x44edfb,_0x27557b,_0x2b2240)=>{const _0x3d829f=_0x449813;for(var _0x4a3279=_0x2b2240>0x1?void 0x0:_0x2b2240?_0x25468f(_0x44edfb,_0x27557b):_0x44edfb,_0xc8a9f5=_0x59a62a[_0x3d829f(0x418)]-0x1,_0x59084e;_0xc8a9f5>=0x0;_0xc8a9f5--)(_0x59084e=_0x59a62a[_0xc8a9f5])&&(_0x4a3279=_0x59084e(_0x4a3279)||_0x4a3279);return _0x4a3279;},_0x4c6752=(_0x38dfea,_0x290dd2)=>(_0x1d6c5a,_0x125e15)=>_0x290dd2(_0x1d6c5a,_0x125e15,_0x38dfea);const _0x4c331f=0x12c,_0x3331d0=0x64,_0x56a219=()=>{let _0xc705ba=[],_0xa51fe3=!0x1;return _0xbf986f=>{_0xc705ba['push'](_0xbf986f),_0xa51fe3||(_0xa51fe3=!0x0,setTimeout(()=>{const _0xd238d0=_0x4bb6;_0xc705ba[_0xd238d0(0x28b)](_0x1b13c3=>_0x1b13c3()),_0xc705ba=[],_0xa51fe3=!0x1;}));};};let _0x126db2=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x43a96b,_0x4e82b1,_0x2f76c7,_0x4c7c06,_0x55de63,_0xa2eec7,_0x5874c0,_0x4f5341){const _0x45282d=_0x449813;super(),_0x8d7f57(this,'_online',!0x1),_0x8d7f57(this,_0x45282d(0x2c7),!0x1),_0x8d7f57(this,_0x45282d(0x343),new _0x66da6e[(_0x45282d(0x2ae))](new Map())),_0x8d7f57(this,_0x45282d(0x28d),this[_0x45282d(0x343)]['asObservable']()),_0x8d7f57(this,_0x45282d(0x406),new _0x66da6e[(_0x45282d(0x2ae))]([])),_0x8d7f57(this,'roomMembers$',this[_0x45282d(0x406)]['pipe'](_0x66da6e[_0x45282d(0x44a)](_0x4c331f))),_0x8d7f57(this,_0x45282d(0x2f6),_0x4921b5[_0x45282d(0x3ac)]((_0xbc30c,_0x204d75)=>{const _0x5bb8f2=_0x45282d,_0x6c0197={'eventID':_0x1a4d3b['CollaborationEvent'][_0x5bb8f2(0x46d)],'data':{'unitID':this[_0x5bb8f2(0x2b3)],'memberID':this[_0x5bb8f2(0x312)][_0x5bb8f2(0x1ec)](),'selection':_0xeb64c6[_0x5bb8f2(0x479)](_0xbc30c,_0x204d75[_0x5bb8f2(0x320)])}};this['_session'][_0x5bb8f2(0x3d4)](_0x6c0197,this[_0x5bb8f2(0x2b3)]);},_0x3331d0)),(this[_0x45282d(0x2b3)]=_0x43a96b,this['_session']=_0x4e82b1,this[_0x45282d(0x27f)]=_0x2f76c7,this[_0x45282d(0x3dd)]=_0x4c7c06,this[_0x45282d(0x293)]=_0x55de63,this['_univerInstanceService']=_0xa2eec7,this[_0x45282d(0x2a0)]=_0x5874c0,this[_0x45282d(0x29f)]=_0x4f5341);}get[_0x449813(0x220)](){const _0x447a60=_0x449813;return this[_0x447a60(0x343)][_0x447a60(0x2b4)]();}get[_0x449813(0x21b)](){const _0x2b17d3=_0x449813;return this[_0x2b17d3(0x406)][_0x2b17d3(0x2b4)]();}[_0x449813(0x2ec)](){const _0x29df29=_0x449813;super[_0x29df29(0x2ec)](),this[_0x29df29(0x343)][_0x29df29(0x2fd)](new Map()),this[_0x29df29(0x343)][_0x29df29(0x473)](),this['_roomMembers$']['next']([]),this[_0x29df29(0x406)][_0x29df29(0x473)]();}[_0x449813(0x237)](){const _0x27b775=_0x449813;this['_init']||(this[_0x27b775(0x2c7)]=!0x0,this[_0x27b775(0x312)][_0x27b775(0x389)][_0x27b775(0x35e)](_0x66da6e[_0x27b775(0x34f)](this['dispose$']))[_0x27b775(0x1fe)](_0x29d651=>{const _0x441184=_0x27b775;_0x29d651===_0x1c12f2[_0x441184(0x3f0)][_0x441184(0x28c)]?this[_0x441184(0x36b)]():this[_0x441184(0x1fa)]();}),this['_session'][_0x27b775(0x34c)][_0x27b775(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x27b775(0x1fe)](_0x29f28e=>{const _0xc701b9=_0x27b775,_0x5b5144=_0x29f28e[_0xc701b9(0x3dc)];_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x46d)]&&this['_onCursorUpdate'](_0x29f28e),_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x32d)]&&this[_0xc701b9(0x257)](_0x29f28e);}),this[_0x27b775(0x3b8)](),this[_0x27b775(0x25c)](this[_0x27b775(0x2a0)][_0x27b775(0x46c)](_0x144c27=>{const _0x5dd28f=_0x27b775;if(this[_0x5dd28f(0x253)]&&_0x144c27['id']===_0x3e73c9['SetSelectionsOperation']['id']&&_0x144c27[_0x5dd28f(0x268)][_0x5dd28f(0x2a2)]===this['unitID']){const _0x49baf9=_0x144c27[_0x5dd28f(0x268)];this[_0x5dd28f(0x2f6)](_0x49baf9[_0x5dd28f(0x319)],_0x49baf9[_0x5dd28f(0x438)][0x0]);}})));}['_onCursorUpdate'](_0x4541bc){const _0x1443b5=_0x449813;var _0x26f1cf,_0x505932;const {memberID:_0x466040,selection:_0x1b2881}=_0x4541bc['data'],{sheetName:_0x531625,range:_0x2c00cc}=_0xeb64c6[_0x1443b5(0x3ab)](_0x1b2881),_0x306e1f={'name':(_0x505932=(_0x26f1cf=this['_memberService'][_0x1443b5(0x20d)](this[_0x1443b5(0x2b3)],_0x466040))==null?void 0x0:_0x26f1cf['name'])!=null?_0x505932:_0x1443b5(0x40d),'range':this[_0x1443b5(0x341)](_0x531625,_0x2c00cc),'sheetID':_0x531625,'color':this['_colorAssignService'][_0x1443b5(0x20f)](_0x466040),'selection':_0x1b2881},_0x4fd589=this[_0x1443b5(0x220)];_0x4fd589[_0x1443b5(0x2a1)](_0x466040,_0x306e1f),this[_0x1443b5(0x343)][_0x1443b5(0x2fd)](_0x4fd589);}[_0x449813(0x257)](_0xfaf0db){const _0x16ce57=_0x449813,{memberID:_0x52dc47}=_0xfaf0db[_0x16ce57(0x1e8)],_0x4443e2=this[_0x16ce57(0x220)];_0x4443e2[_0x16ce57(0x474)](_0x52dc47),this[_0x16ce57(0x343)][_0x16ce57(0x2fd)](_0x4443e2);}['_getMergeRange'](_0x2810d4,_0x8498a7){const _0x3392da=_0x449813;var _0x15fadd,_0x10e921;const _0x1a5754=(_0x10e921=(_0x15fadd=this[_0x3392da(0x3a6)][_0x3392da(0x2dc)](this[_0x3392da(0x2b3)]))==null?void 0x0:_0x15fadd[_0x3392da(0x2bd)](_0x2810d4))==null?void 0x0:_0x10e921[_0x3392da(0x368)]();return(_0x1a5754==null?void 0x0:_0x1a5754[_0x3392da(0x33f)](_0x32aac5=>_0x4921b5['Rectangle'][_0x3392da(0x42f)](_0x32aac5,_0x8498a7)))||_0x8498a7;}[_0x449813(0x3b8)](){const _0xd0af11=_0x449813,_0x55ecbb=new _0x4921b5['DisposableCollection'](),_0x380cd0=_0x56a219(),_0x47d6c2=()=>{const _0x18213d=_0x4bb6;_0x55ecbb[_0x18213d(0x2ec)]();const _0x10d831=(_0x3ed78d,_0x2534ea,_0x48e6e0,_0x29ae7c)=>{const _0x5c3b90=_0x18213d;let _0x4f88dd=[];switch(_0x3ed78d['id']){case _0x3e73c9[_0x5c3b90(0x386)]['DeleteRangeMoveLeftCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveLeft'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveUp'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x374)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x301)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x383)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3fa)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2bb)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x403)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2d6)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x295)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3ff)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3cd)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['RemoveColCommandId']:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x412)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3cc)]:{_0x4f88dd=_0x3e73c9['handleIRemoveRow'](_0x3ed78d,_0x29ae7c);break;}}const _0x5e8cb5=_0x3e73c9['runRefRangeMutations'](_0x4f88dd,_0x29ae7c),_0x48a605=this[_0x5c3b90(0x220)]['get'](_0x2534ea);if(_0x48a605&&_0x5e8cb5){const _0x5cb945={..._0x48a605,'range':_0x5e8cb5};this['cursorInfo']['set'](_0x2534ea,_0x5cb945),_0x380cd0(()=>{const _0x966162=_0x5c3b90,_0x136af1=this[_0x966162(0x29f)]['registerRefRange'](_0x5e8cb5,_0x410a8f=>(_0x136af1[_0x966162(0x2ec)](),_0x10d831(_0x410a8f,_0x2534ea,_0x48e6e0,_0x5e8cb5)));_0x55ecbb[_0x966162(0x44f)](_0x136af1);});}return{'redos':[],'undos':[]};};this[_0x18213d(0x220)][_0x18213d(0x28b)]((_0x5dc2db,_0x403910)=>{const _0x583c86=_0x18213d,{range:_0x3b0a8e,sheetID:_0x1d6db8}=_0x5dc2db,_0x27d25c=this['_refRangeService'][_0x583c86(0x3e1)](_0x3b0a8e,_0x4d92f3=>(_0x27d25c[_0x583c86(0x2ec)](),_0x10d831(_0x4d92f3,_0x403910,_0x1d6db8,_0x3b0a8e)));_0x55ecbb[_0x583c86(0x44f)](_0x27d25c);});};this[_0xd0af11(0x25c)](_0x4921b5[_0xd0af11(0x2ad)](this[_0xd0af11(0x343)][_0xd0af11(0x1fe)](()=>{_0x47d6c2();})));}[_0x449813(0x36b)](){const _0x483821=_0x449813;var _0x3e5eb8,_0x35c1ae;if(this[_0x483821(0x253)]=!0x0,((_0x3e5eb8=this[_0x483821(0x3a6)][_0x483821(0x27c)]())==null?void 0x0:_0x3e5eb8[_0x483821(0x2c6)]())!==this[_0x483821(0x2b3)])return;const _0x45d7c2=(_0x35c1ae=this[_0x483821(0x27f)]['get'](_0x3e73c9[_0x483821(0x409)])[_0x483821(0x231)]())==null?void 0x0:_0x35c1ae[0x0],_0x33427f=this['_univerInstanceService'][_0x483821(0x3b9)](_0x4921b5[_0x483821(0x351)]['UNIVER_SHEET'])[_0x483821(0x472)]();_0x45d7c2&&_0x33427f&&this[_0x483821(0x2f6)](_0x33427f['getSheetId'](),_0x45d7c2);}[_0x449813(0x1fa)](){const _0x56d7dc=_0x449813;this[_0x56d7dc(0x253)]=!0x1;}};_0x126db2=_0x51e84b([_0x4c6752(0x2,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x4c6752(0x3,_0x4921b5[_0x449813(0x41c)](_0xac4cbd)),_0x4c6752(0x4,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x366)])),_0x4c6752(0x5,_0x4921b5[_0x449813(0x42b)]),_0x4c6752(0x6,_0x4921b5['ICommandService']),_0x4c6752(0x7,_0x4921b5[_0x449813(0x41c)](_0x3e73c9[_0x449813(0x250)]))],_0x126db2);var _0x522d5b=Object[_0x449813(0x29c)],_0x36b9fe=(_0xd2c20d,_0x40578e,_0xab4235,_0x992813)=>{const _0x283c71=_0x449813;for(var _0x18fd8e=_0x992813>0x1?void 0x0:_0x992813?_0x522d5b(_0x40578e,_0xab4235):_0x40578e,_0xe8e474=_0xd2c20d[_0x283c71(0x418)]-0x1,_0x5e4e79;_0xe8e474>=0x0;_0xe8e474--)(_0x5e4e79=_0xd2c20d[_0xe8e474])&&(_0x18fd8e=_0x5e4e79(_0x18fd8e)||_0x18fd8e);return _0x18fd8e;},_0x5e1d9c=(_0x2ce03e,_0x36b705)=>(_0x4fb23c,_0x2063e6)=>_0x36b705(_0x4fb23c,_0x2063e6,_0x2ce03e);let _0x3d739c=class extends _0x4921b5['RxDisposable']{constructor(_0x21bd91,_0x2674ec,_0x27c9c1){const _0x32f42d=_0x449813;super(),_0x8d7f57(this,_0x32f42d(0x306),new Map()),_0x8d7f57(this,_0x32f42d(0x202),new _0x66da6e[(_0x32f42d(0x3b5))]()),(this['_univerInstanceService']=_0x21bd91,this['_injector']=_0x2674ec,this[_0x32f42d(0x2c8)]=_0x27c9c1,this[_0x32f42d(0x2c7)]());}[_0x449813(0x2ec)](){const _0x2f9f7e=_0x449813;super[_0x2f9f7e(0x2ec)](),this[_0x2f9f7e(0x202)][_0x2f9f7e(0x473)](),this[_0x2f9f7e(0x306)][_0x2f9f7e(0x28b)](_0xf7c629=>_0xf7c629[_0x2f9f7e(0x2ec)]());}['getCollabCursors$'](_0x4283b9){const _0x13304c=_0x449813;return this[_0x13304c(0x306)]['has'](_0x4283b9)?this[_0x13304c(0x306)][_0x13304c(0x2dd)](_0x4283b9)[_0x13304c(0x28d)]:this[_0x13304c(0x202)][_0x13304c(0x35e)](_0x66da6e[_0x13304c(0x401)](_0x13acdb=>_0x13acdb['unitID']===_0x4283b9),_0x66da6e[_0x13304c(0x360)](_0x3587b1=>_0x3587b1['cursorInfo$']));}[_0x449813(0x2c7)](){const _0x1c5601=_0x449813;this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x262)])[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['subscribe'](async _0x18a289=>{const _0x4237f2=_0x1c5601,_0x45b35a=_0x18a289[_0x4237f2(0x2c6)](),_0x4ba3ea=await this[_0x4237f2(0x32a)](_0x45b35a);this[_0x4237f2(0x202)][_0x4237f2(0x2fd)](_0x4ba3ea),this[_0x4237f2(0x306)][_0x4237f2(0x2a1)](_0x45b35a,_0x4ba3ea);}),this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)]['UNIVER_DOC'])['pipe'](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['pipe'](_0x66da6e['filter'](_0x5c265f=>!_0x5c265f[_0x1c5601(0x2c6)]()['startsWith']('__')))[_0x1c5601(0x1fe)](async _0x4d9ed0=>{const _0x51822d=_0x1c5601,_0x5993cb=_0x4d9ed0['getUnitId'](),_0x4b1e67=await this[_0x51822d(0x238)](_0x5993cb);this['_entityInit$'][_0x51822d(0x2fd)](_0x4b1e67),this['_entities'][_0x51822d(0x2a1)](_0x5993cb,_0x4b1e67);}),_0x66da6e[_0x1c5601(0x212)](this[_0x1c5601(0x3a6)]['getTypeOfUnitDisposed$'](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x299)]),this[_0x1c5601(0x3a6)][_0x1c5601(0x3b6)](_0x4921b5['UniverInstanceType'][_0x1c5601(0x262)]))[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))[_0x1c5601(0x1fe)](_0x4f8555=>{const _0x4930e0=_0x1c5601,_0x39b0af=_0x4f8555[_0x4930e0(0x2c6)](),_0xb38c83=this[_0x4930e0(0x306)]['get'](_0x39b0af);_0xb38c83&&(_0xb38c83[_0x4930e0(0x2ec)](),this[_0x4930e0(0x306)]['delete'](_0x39b0af));});}async['_startSheetCollabCursor'](_0xe1c3f7){const _0x3a0b2b=_0x449813,_0x46922e=await this['_collabSessionService'][_0x3a0b2b(0x452)](_0xe1c3f7),_0x1f72b7=this[_0x3a0b2b(0x27f)]['createInstance'](_0x126db2,_0xe1c3f7,_0x46922e);return _0x1f72b7[_0x3a0b2b(0x237)](),_0x1f72b7;}async[_0x449813(0x238)](_0x2a8f0f){const _0xed1066=_0x449813,_0x2db1b7=await this[_0xed1066(0x2c8)][_0xed1066(0x452)](_0x2a8f0f),_0x589882=this[_0xed1066(0x27f)][_0xed1066(0x20e)](_0x38bb7b,_0x2a8f0f,_0x2db1b7);return _0x589882[_0xed1066(0x237)](),_0x589882;}};_0x3d739c=_0x36b9fe([_0x5e1d9c(0x0,_0x4921b5[_0x449813(0x42b)]),_0x5e1d9c(0x1,_0x4921b5['Inject'](_0x4921b5['Injector'])),_0x5e1d9c(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2['CollaborationSessionService']))],_0x3d739c);const _0x58db44=0x14,_0x366c08=0xc8,_0x53dcf8=0x4,_0x11710a=0x5;function _0x5c20f1(_0x5382e5,_0x46659a){const _0x51817c=_0x449813;let {radius:_0x1ea76c,width:_0x481a1d,height:_0x2c0e26}=_0x46659a;_0x1ea76c=_0x1ea76c!=null?_0x1ea76c:0x0,_0x481a1d=_0x481a1d!=null?_0x481a1d:0x1e,_0x2c0e26=_0x2c0e26!=null?_0x2c0e26:0x1e;let _0x2fe341=0x0,_0x3c644a=0x0,_0x207bdc=0x0;_0x2fe341=_0x3c644a=_0x207bdc=Math[_0x51817c(0x456)](_0x1ea76c,_0x481a1d/0x2,_0x2c0e26/0x2),_0x5382e5[_0x51817c(0x296)](),_0x5382e5['moveTo'](_0x2fe341,0x0),_0x5382e5['lineTo'](_0x481a1d-_0x3c644a,0x0),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x3c644a,_0x3c644a,_0x3c644a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5382e5['lineTo'](_0x481a1d,_0x2c0e26-_0x207bdc),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x207bdc,_0x2c0e26-_0x207bdc,_0x207bdc,0x0,Math['PI']/0x2,!0x1),_0x5382e5['lineTo'](0x0,_0x2c0e26),_0x5382e5[_0x51817c(0x36f)](0x0,_0x2fe341),_0x5382e5['arc'](_0x2fe341,_0x2fe341,_0x2fe341,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5382e5[_0x51817c(0x234)](),_0x46659a[_0x51817c(0x373)]&&(_0x5382e5[_0x51817c(0x344)](),_0x5382e5['fillStyle']=_0x46659a[_0x51817c(0x373)],_0x46659a[_0x51817c(0x34e)]===_0x51817c(0x45b)?_0x5382e5[_0x51817c(0x373)](_0x51817c(0x45b)):_0x5382e5['fill'](),_0x5382e5['restore']());}class _0x5b91d6 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0xc99067,_0x3d11fd){const _0x28735f=_0x449813;super(_0xc99067,_0x3d11fd),_0x8d7f57(this,_0x28735f(0x2c1)),_0x8d7f57(this,_0x28735f(0x31d)),(this[_0x28735f(0x2c1)]=_0x3d11fd==null?void 0x0:_0x3d11fd[_0x28735f(0x2c1)],this[_0x28735f(0x31d)]=_0x3d11fd==null?void 0x0:_0x3d11fd['text']);}static[_0x449813(0x437)](_0x48a53b,_0x51c4d0){const _0xd7af3=_0x449813,{text:_0xa20b44,color:_0x4275e0}=_0x51c4d0;_0x48a53b[_0xd7af3(0x344)](),_0x48a53b[_0xd7af3(0x3aa)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2dbd8e=_0x48a53b[_0xd7af3(0x1f7)](_0xa20b44)[_0xd7af3(0x2b0)],_0x3b9053=Math[_0xd7af3(0x456)](_0x2dbd8e+0x2*_0x53dcf8,_0x366c08);_0x5c20f1(_0x48a53b,{'height':_0x58db44,'radius':0x4,'width':_0x3b9053,'fill':_0x4275e0}),_0x48a53b['fillStyle']=_0xd7af3(0x30b);const _0x18c529=_0x53dcf8,_0x555f51=_0x58db44-_0x11710a,_0x311bb5=_0x366c08-0x2*_0x53dcf8;if(_0x2dbd8e>_0x311bb5){let _0x1b1252='',_0x422553=0x0;for(const _0x36eb99 of _0xa20b44){const _0x35f81e=_0x48a53b['measureText'](_0x36eb99)[_0xd7af3(0x2b0)];if(_0x422553+_0x35f81e<=_0x311bb5-_0x48a53b['measureText'](_0xd7af3(0x1dd))[_0xd7af3(0x2b0)])_0x1b1252+=_0x36eb99,_0x422553+=_0x35f81e;else{_0x1b1252+=_0xd7af3(0x1dd);break;}}_0x48a53b[_0xd7af3(0x459)](_0x1b1252,_0x18c529,_0x555f51);}else _0x48a53b[_0xd7af3(0x459)](_0xa20b44,_0x18c529,_0x555f51);_0x48a53b[_0xd7af3(0x44c)]();}['_draw'](_0x5277f4){_0x5b91d6['drawWith'](_0x5277f4,this);}}const _0x434321=_0x449813(0x271),_0x4e4b8d=_0x449813(0x210),_0x3a2f1f='collab-rect-range-',_0x37999e=0x6,_0x375b17=1.5,_0x4eaf7c=0x4,_0x1a852e=1.5,_0x2e445c='rgba(255,\x20255,\x20255,\x200.01)';class _0x3dc3c5{constructor(_0x17c9e5,_0x5bb7bf,_0x1c9107,_0x3f0efc){const _0x4a8040=_0x449813;_0x8d7f57(this,_0x4a8040(0x398),[]),_0x8d7f57(this,_0x4a8040(0x211),null),_0x8d7f57(this,_0x4a8040(0x1db),null),_0x8d7f57(this,_0x4a8040(0x402),null),_0x8d7f57(this,_0x4a8040(0x43b),null),_0x8d7f57(this,'_eventUnsubscribe',null),(this[_0x4a8040(0x46e)]=_0x17c9e5,this[_0x4a8040(0x229)]=_0x5bb7bf,this['_docSkeleton']=_0x1c9107,this['_document']=_0x3f0efc,this['_render']());}set['_hover'](_0x1d2de6){const _0x3610ca=_0x449813;_0x1d2de6?(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x23a)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x2d1)]()):(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x2d1)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x23a)]());}[_0x449813(0x2ec)](){const _0x565a72=_0x449813;for(const _0x4c9660 of this[_0x565a72(0x398)])_0x4c9660['dispose']();this[_0x565a72(0x1db)]&&this['_textBubble']['dispose'](),this[_0x565a72(0x402)]&&this[_0x565a72(0x402)][_0x565a72(0x2ec)](),this[_0x565a72(0x211)]&&this[_0x565a72(0x211)]['dispose'](),this[_0x565a72(0x3b2)]&&this[_0x565a72(0x3b2)]();}[_0x449813(0x1e3)](){const _0x24014d=_0x449813;var _0x1d2d77;const {_docSkeleton:_0x327d60,_document:_0x53dfe2}=this,{color:_0x40a1b8,name:_0x8ac478,ranges:_0x2903eb}=this[_0x24014d(0x46e)],_0x2ffa57=_0x53dfe2[_0x24014d(0x3e6)](),{docsLeft:_0x220d85,docsTop:_0x3a7163}=_0x2ffa57,_0x323bc=new _0x3fda77[(_0x24014d(0x44d))](_0x2ffa57,_0x327d60);for(const {startOffset:_0x59922c,endOffset:_0x3173a4,rangeType:_0x757a99,segmentId:_0x4eb75b,segmentPage:_0x2135ae,collapsed:_0x2c4846,isActive:_0x326daf}of _0x2903eb){const _0x24de25=_0x327d60[_0x24014d(0x24a)](_0x59922c,!0x0,_0x4eb75b,_0x2135ae);let _0x306e46=_0x327d60['findNodePositionByCharIndex'](_0x3173a4,!0x0,_0x4eb75b,_0x2135ae);if(_0x306e46==null&&(_0x306e46=_0x327d60[_0x24014d(0x24a)](_0x3173a4-0x1,!0x1,_0x4eb75b,_0x2135ae)),_0x326daf){const {contentBoxPointGroup:_0x4110f8}=_0x323bc['getRangePointData'](_0x306e46,_0x306e46);if(_0x4110f8[_0x24014d(0x418)]===0x0)continue;this[_0x24014d(0x1f9)](_0x40a1b8,_0x4110f8,_0x220d85,_0x3a7163,_0x8ac478),this[_0x24014d(0x3b2)]=this[_0x24014d(0x364)]();}if(_0x24de25&&_0x306e46){if(_0x757a99===_0x4921b5[_0x24014d(0x285)][_0x24014d(0x25f)]){const _0x29e0f3=new _0x3fda77[(_0x24014d(0x2ff))](_0x2ffa57,_0x327d60),{pointGroup:_0x18e0c6}=(_0x1d2d77=_0x29e0f3[_0x24014d(0x395)](_0x24de25,_0x306e46))!=null?_0x1d2d77:{};if(_0x18e0c6==null||_0x18e0c6['length']===0x0)continue;this[_0x24014d(0x31f)](_0x40a1b8,_0x18e0c6,_0x220d85,_0x3a7163);}else{if(!_0x2c4846){const {borderBoxPointGroup:_0x451f29}=_0x323bc[_0x24014d(0x395)](_0x24de25,_0x306e46);if(_0x451f29['length']===0x0)continue;this[_0x24014d(0x2be)](_0x40a1b8,_0x451f29,_0x220d85,_0x3a7163);}}}}}['_drawAnchor'](_0x448a52,_0x508466,_0x328bdf,_0x16c856,_0x3b7dee){const _0x2e0b9d=_0x449813,_0x2cd834=this['_getAnchorBounding'](_0x508466),{left:_0x5660f7,top:_0x4144cb,height:_0x2cbd13}=_0x2cd834,_0x353eb3=this[_0x2e0b9d(0x433)](),_0x52caf0=_0x1a852e/_0x353eb3,_0x355878=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5[_0x2e0b9d(0x420)](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856,'height':_0x2cbd13,'width':_0x375b17,'fill':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5['COLORS'][_0x2e0b9d(0x3da)],0x0),'strokeWidth':_0x52caf0,'stroke':_0x2e445c,'evented':!0x0});this[_0x2e0b9d(0x211)]=_0x355878,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x355878,_0x3fda77[_0x2e0b9d(0x444)]);const _0x1cfe9e=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x4eaf7c/0x2,'height':_0x4eaf7c,'width':_0x4eaf7c,'fill':_0x448a52||_0x22d409['getColor'](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'strokeWidth':0x0,'stroke':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'evented':!0x1});this[_0x2e0b9d(0x402)]=_0x1cfe9e,this['_scene'][_0x2e0b9d(0x226)](_0x1cfe9e,_0x3fda77[_0x2e0b9d(0x444)]);const _0x291f70=new _0x5b91d6(_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x58db44,'text':_0x3b7dee,'color':_0x448a52});this[_0x2e0b9d(0x1db)]=_0x291f70,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x291f70,_0x3fda77[_0x2e0b9d(0x444)]),this['_hover']=!0x1;}[_0x449813(0x364)](){const _0x542f30=_0x449813,_0x32439c=this[_0x542f30(0x211)][_0x542f30(0x33b)][_0x542f30(0x38e)](()=>{const _0x475a98=_0x542f30;this[_0x475a98(0x263)]=!0x0;}),_0x4fece1=this['_anchor']['onPointerLeave$'][_0x542f30(0x38e)](()=>{const _0x4f441f=_0x542f30;this[_0x4f441f(0x43b)]&&clearTimeout(this[_0x4f441f(0x43b)]),this['_hideTimer']=setTimeout(()=>{const _0x1a7fd9=_0x4f441f;this[_0x1a7fd9(0x263)]=!0x1;},0x7d0);});return()=>{const _0x29f681=_0x542f30;_0x32439c[_0x29f681(0x30c)](),_0x4fece1[_0x29f681(0x30c)]();};}[_0x449813(0x2be)](_0x5bfd21,_0xdc811a,_0x595541,_0x177c85){const _0x354c9d=_0x449813,_0x363fbf=new _0x4921b5[(_0x354c9d(0x40e))](_0x5bfd21)[_0x354c9d(0x43c)](0.2)[_0x354c9d(0x3f4)](),_0x29fee0=new _0x22d409['RegularPolygon'](_0x4e4b8d+_0x4921b5[_0x354c9d(0x420)](_0x37999e),{'pointsGroup':_0xdc811a,'fill':_0x363fbf||_0x22d409[_0x354c9d(0x307)](_0x4921b5[_0x354c9d(0x3ee)][_0x354c9d(0x3da)],0.2),'left':_0x595541,'top':_0x177c85,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354c9d(0x398)][_0x354c9d(0x2a3)](_0x29fee0),this[_0x354c9d(0x229)]['addObject'](_0x29fee0,_0x3fda77[_0x354c9d(0x444)]);}['_drawRectRange'](_0x284183,_0x5aacc1,_0x4a0b3d,_0x2416ed){const _0x460ade=_0x449813,_0x5a0c06=new _0x4921b5[(_0x460ade(0x40e))](_0x284183)[_0x460ade(0x43c)](0.2)[_0x460ade(0x3f4)](),_0xaa9480=new _0x22d409[(_0x460ade(0x468))](_0x3a2f1f+_0x4921b5['generateRandomId'](_0x37999e),{'pointsGroup':_0x5aacc1,'fill':_0x5a0c06||_0x22d409['getColor'](_0x4921b5[_0x460ade(0x3ee)][_0x460ade(0x3da)],0.2),'left':_0x4a0b3d,'top':_0x2416ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x460ade(0x398)]['push'](_0xaa9480),this[_0x460ade(0x229)][_0x460ade(0x226)](_0xaa9480,_0x3fda77[_0x460ade(0x444)]);}[_0x449813(0x249)](_0x42bbc5){const _0x32a54c=_0x42bbc5[0x0],_0x4acb3c=_0x32a54c[0x0],_0x1cecdd=_0x32a54c[0x2],{x:_0x2319be,y:_0x3f565f}=_0x4acb3c,{x:_0x42dda1,y:_0x39f51d}=_0x1cecdd;return{'left':_0x2319be,'top':_0x3f565f,'width':_0x42dda1-_0x2319be,'height':_0x39f51d-_0x3f565f};}[_0x449813(0x433)](){const _0xaa41f0=_0x449813,{scaleX:_0x40ae29,scaleY:_0x5d56b1}=this[_0xaa41f0(0x229)][_0xaa41f0(0x2e4)]();return Math[_0xaa41f0(0x264)](_0x40ae29,_0x5d56b1);}}var _0x439df9=Object[_0x449813(0x29c)],_0x86f17e=(_0x3692d0,_0x1ec026,_0x38ab58,_0x314f8c)=>{const _0x5aa70d=_0x449813;for(var _0xdda3fd=_0x314f8c>0x1?void 0x0:_0x314f8c?_0x439df9(_0x1ec026,_0x38ab58):_0x1ec026,_0x91e882=_0x3692d0[_0x5aa70d(0x418)]-0x1,_0x279269;_0x91e882>=0x0;_0x91e882--)(_0x279269=_0x3692d0[_0x91e882])&&(_0xdda3fd=_0x279269(_0xdda3fd)||_0xdda3fd);return _0xdda3fd;},_0x3bece7=(_0x42feed,_0x1733a8)=>(_0x45ff7e,_0x53d0f9)=>_0x1733a8(_0x45ff7e,_0x53d0f9,_0x42feed);let _0x3a30e1=class extends _0x4921b5['RxDisposable']{constructor(_0x2f1e3c,_0x2bc463,_0xd16816,_0x1042e8,_0x297a1a){const _0x165aa4=_0x449813;super(),_0x8d7f57(this,_0x165aa4(0x235),[]),_0x8d7f57(this,_0x165aa4(0x36a),[]),(this[_0x165aa4(0x39f)]=_0x2f1e3c,this[_0x165aa4(0x219)]=_0x2bc463,this[_0x165aa4(0x3fd)]=_0xd16816,this[_0x165aa4(0x2a0)]=_0x1042e8,this[_0x165aa4(0x317)]=_0x297a1a,this['_init']());}[_0x449813(0x2c7)](){const _0x39e8da=_0x449813,_0x4b9d36=this[_0x39e8da(0x39f)][_0x39e8da(0x2a2)],_0x50a326=this[_0x39e8da(0x219)];this[_0x39e8da(0x25c)](_0x66da6e[_0x39e8da(0x461)]([this[_0x39e8da(0x3fd)]['getCollabCursors$'](_0x4b9d36),this[_0x39e8da(0x317)][_0x39e8da(0x2e3)]])[_0x39e8da(0x35e)](_0x4449c2[_0x39e8da(0x33d)](([_0x2a37c4,_0x293649])=>({'skeleton':_0x50a326[_0x39e8da(0x326)](),'cursors':[..._0x2a37c4['values']()]['flatMap'](_0x316a02=>({..._0x316a02,'color':this['_themeService'][_0x39e8da(0x3d7)](_0x316a02[_0x39e8da(0x2c1)])}))})))[_0x39e8da(0x1fe)](_0x1084ca=>{const _0x336b90=_0x39e8da;if(this[_0x336b90(0x349)](),_0x1084ca){const {skeleton:_0x26edf2,cursors:_0xeb169e}=_0x1084ca;this['_updateCollabCursors'](_0x26edf2,_0xeb169e);}})),this[_0x39e8da(0x2ab)](),this[_0x39e8da(0x3d0)]();}[_0x449813(0x430)](_0x27b156,_0x4ba6de){const _0x4ed111=_0x449813,{scene:_0x2078f5,mainComponent:_0x6cd077}=this[_0x4ed111(0x39f)],_0x48e1b5=_0x4ba6de['map'](_0x364e03=>new _0x3dc3c5(_0x364e03,_0x2078f5,_0x27b156,_0x6cd077));this[_0x4ed111(0x235)]=_0x48e1b5,this['_cursors']=_0x4ba6de;}[_0x449813(0x427)](){const _0x26d565=_0x449813;this[_0x26d565(0x349)]();const {scene:_0x224889,mainComponent:_0xde560a}=this[_0x26d565(0x39f)],_0x329fff=this['_docSkeletonManagerService'][_0x26d565(0x326)](),_0x4946e5=this[_0x26d565(0x36a)][_0x26d565(0x33d)](_0x11550b=>new _0x3dc3c5(_0x11550b,_0x224889,_0x329fff,_0xde560a));this['_cursorShapes']=_0x4946e5;}['_removeCollabCursors'](){const _0x33fe85=_0x449813;this[_0x33fe85(0x235)]['forEach'](_0x47ea63=>_0x47ea63['dispose']()),this[_0x33fe85(0x235)]=[];}[_0x449813(0x3d0)](){const _0x2a78eb=_0x449813,_0x32b548=[_0x3fda77[_0x2a78eb(0x336)]['id']];this[_0x2a78eb(0x25c)](this[_0x2a78eb(0x2a0)][_0x2a78eb(0x46c)](_0x10c6e7=>{const _0x2049ed=_0x2a78eb;_0x32b548[_0x2049ed(0x3c7)](_0x10c6e7['id'])&&_0x10c6e7[_0x2049ed(0x268)][_0x2049ed(0x2a2)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x449813(0x2ab)](){const _0x41101a=_0x449813;this['disposeWithMe'](_0x4921b5[_0x41101a(0x1f8)](this[_0x41101a(0x39f)][_0x41101a(0x38f)]['onTransformChange$'])[_0x41101a(0x35e)](_0x4449c2[_0x41101a(0x401)](_0x1cddf2=>_0x1cddf2[_0x41101a(0x426)]===_0x22d409[_0x41101a(0x330)][_0x41101a(0x475)]),_0x4449c2['throttleTime'](0x10))[_0x41101a(0x1fe)](()=>{const _0x56b971=_0x41101a;this[_0x56b971(0x427)]();}));}};_0x3a30e1=_0x86f17e([_0x3bece7(0x1,_0x4921b5[_0x449813(0x41c)](_0x4bc80d[_0x449813(0x304)])),_0x3bece7(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x3bece7(0x3,_0x4921b5[_0x449813(0x35a)]),_0x3bece7(0x4,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x25e)]))],_0x3a30e1);const _0x9a850a=0x1,_0x3d76ae=1.5;class _0x1a0019 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0x156001,_0x42bb8e){const _0x3ad607=_0x449813;super(_0x156001,_0x42bb8e),_0x8d7f57(this,'_color'),_0x8d7f57(this,_0x3ad607(0x443),!0x1),_0x8d7f57(this,_0x3ad607(0x314)),_0x8d7f57(this,_0x3ad607(0x424),''),_0x8d7f57(this,_0x3ad607(0x2f2),_0x3ad607(0x2a6)),_0x8d7f57(this,'_backgroundColor'),(_0x42bb8e&&this[_0x3ad607(0x1f4)](_0x42bb8e),this[_0x3ad607(0x33b)][_0x3ad607(0x38e)](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x1})));}[_0x449813(0x1f4)](_0x1956a3){const _0x2dda37=_0x449813;var _0x22193f,_0x4a3342,_0x44bc4d,_0x3d467d,_0x4299f4,_0x3b74b0;this['_color']=(_0x22193f=_0x1956a3[_0x2dda37(0x2c1)])!=null?_0x22193f:this[_0x2dda37(0x3a5)],this[_0x2dda37(0x443)]=(_0x4a3342=_0x1956a3[_0x2dda37(0x1ed)])!=null?_0x4a3342:this[_0x2dda37(0x443)],this[_0x2dda37(0x314)]=(_0x44bc4d=_0x1956a3[_0x2dda37(0x320)])!=null?_0x44bc4d:this[_0x2dda37(0x314)],this['_name']=(_0x3d467d=_0x1956a3[_0x2dda37(0x31e)])!=null?_0x3d467d:this[_0x2dda37(0x424)],this[_0x2dda37(0x2f2)]=(_0x4299f4=_0x1956a3['labelPosition'])!=null?_0x4299f4:this[_0x2dda37(0x2f2)],this[_0x2dda37(0x30e)]=(_0x3b74b0=_0x1956a3['backgroundColor'])!=null?_0x3b74b0:this[_0x2dda37(0x30e)],this[_0x2dda37(0x387)]({'width':_0x1956a3[_0x2dda37(0x2b0)],'height':_0x1956a3['height']});}[_0x449813(0x28e)](_0x432280){const _0x2ad65f=_0x449813,{row:_0x4952db,column:_0x248945}=_0x432280;if(_0x4952db>=this[_0x2ad65f(0x314)][_0x2ad65f(0x3ae)]&&_0x4952db<=this[_0x2ad65f(0x314)][_0x2ad65f(0x45d)]&&_0x248945>=this[_0x2ad65f(0x314)][_0x2ad65f(0x35d)]&&_0x248945<=this[_0x2ad65f(0x314)][_0x2ad65f(0x2f0)]){this[_0x2ad65f(0x1f4)]({'hovered':!0x0});return;}this[_0x2ad65f(0x1f4)]({'hovered':!0x1});}[_0x449813(0x1eb)](_0x1fb35b){return!0x1;}['_draw'](_0x4bf257){const _0x3594be=_0x449813;_0x22d409[_0x3594be(0x275)][_0x3594be(0x437)](_0x4bf257,{'width':this[_0x3594be(0x2b0)],'height':this[_0x3594be(0x27a)],'strokeWidth':_0x3d76ae,'stroke':this[_0x3594be(0x3a5)],'evented':!0x1,'fill':this[_0x3594be(0x30e)]}),this[_0x3594be(0x443)]&&(_0x4bf257[_0x3594be(0x344)](),_0x4bf257[_0x3594be(0x1f1)](0x1,0x0,0x0,0x1,this[_0x3594be(0x2b0)],this[_0x3594be(0x2f2)]===_0x3594be(0x33a)?0x0:-_0x58db44),_0x5b91d6[_0x3594be(0x437)](_0x4bf257,{'text':this[_0x3594be(0x424)],'color':this['_color']}),_0x4bf257[_0x3594be(0x44c)]());}}var _0x3936fe=Object[_0x449813(0x29c)],_0x4fdae2=(_0x520bde,_0x1c15cb,_0x3be35b,_0x5bce87)=>{const _0x447b39=_0x449813;for(var _0x3dcbc8=_0x5bce87>0x1?void 0x0:_0x5bce87?_0x3936fe(_0x1c15cb,_0x3be35b):_0x1c15cb,_0x267149=_0x520bde[_0x447b39(0x418)]-0x1,_0x387fd9;_0x267149>=0x0;_0x267149--)(_0x387fd9=_0x520bde[_0x267149])&&(_0x3dcbc8=_0x387fd9(_0x3dcbc8)||_0x3dcbc8);return _0x3dcbc8;},_0x559bea=(_0x4b62f1,_0x521e0f)=>(_0x592fa7,_0x3d361a)=>_0x521e0f(_0x592fa7,_0x3d361a,_0x4b62f1);const _0x4bb736=0x1389;let _0x3bab0f=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x351e19,_0x411ebb,_0x5ad90f,_0x28e41a){const _0x183b07=_0x449813;super(),_0x8d7f57(this,'_cursors',new Set()),_0x8d7f57(this,_0x183b07(0x371),null),(this[_0x183b07(0x39f)]=_0x351e19,this['_sheetSkeletonManagerService']=_0x411ebb,this[_0x183b07(0x3fd)]=_0x5ad90f,this[_0x183b07(0x317)]=_0x28e41a,this[_0x183b07(0x2c7)]());}[_0x449813(0x2c7)](){const _0x398122=_0x449813;this[_0x398122(0x3df)]['currentSkeleton$']['pipe'](_0x4449c2[_0x398122(0x34f)](this[_0x398122(0x41d)]),_0x4449c2[_0x398122(0x360)](_0xc4d48=>{const _0x2e7452=_0x398122;if(_0xc4d48){const _0x539a47=_0xc4d48[_0x2e7452(0x3c5)];return _0x66da6e['combineLatest'](this['_collabCursorController'][_0x2e7452(0x38a)](this[_0x2e7452(0x39f)]['unitId']),this[_0x2e7452(0x317)][_0x2e7452(0x2e3)])['pipe'](_0x4449c2[_0x2e7452(0x33d)](([_0x45be4d,_0x35f7a5])=>{const _0x5ecf45=_0x2e7452,_0x33ea4d=new Map();return _0x45be4d[_0x5ecf45(0x28b)]((_0x20fa66,_0x423c2c)=>{const _0x4876ce=_0x5ecf45;if(_0x20fa66[_0x4876ce(0x40f)]===_0x539a47){const _0x30216f={..._0x20fa66};_0x30216f[_0x4876ce(0x2c1)]=this[_0x4876ce(0x317)][_0x4876ce(0x3d7)](_0x20fa66[_0x4876ce(0x2c1)]),_0x33ea4d[_0x4876ce(0x2a1)](_0x423c2c,_0x30216f);}}),{'skeleton':_0xc4d48,'cursors':_0x33ea4d};}));}return _0x66da6e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1a8a64,cursors:_0x5341cf})=>{const _0x3e7830=_0x398122;this[_0x3e7830(0x349)](),_0x1a8a64&&this[_0x3e7830(0x430)](_0x1a8a64,_0x5341cf);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x398122(0x1fe)](_0x5e812a=>{const _0x82c06a=_0x398122;if(_0x5e812a==null)return;const {skeleton:_0x272187}=_0x5e812a,{scene:_0x1b3a78}=this['_context'];_0x1b3a78[_0x82c06a(0x450)][_0x82c06a(0x38e)](_0x4921b5[_0x82c06a(0x3ac)](_0x3d24e0=>{const _0xbba18e=_0x82c06a;var _0x2924a3,_0xc889f9;const {offsetX:_0x133fcc,offsetY:_0x40306b}=_0x3d24e0,{x:_0x1fe42c,y:_0x442b3e}=_0x1b3a78['getRelativeToViewportCoord'](_0x22d409[_0xbba18e(0x256)]['FromArray']([_0x133fcc,_0x40306b])),{scaleX:_0x1b04a2,scaleY:_0x3a33a5}=_0x1b3a78[_0xbba18e(0x2e4)](),_0x545290=_0x1b3a78[_0xbba18e(0x1f3)](_0x22d409[_0xbba18e(0x2d5)][_0xbba18e(0x23b)]),_0x221acc=_0x1b3a78[_0xbba18e(0x393)](_0x22d409[_0xbba18e(0x256)][_0xbba18e(0x2f9)]([_0x1fe42c,_0x442b3e]),_0x545290),_0x381919=_0x272187[_0xbba18e(0x32e)](_0x133fcc,_0x40306b,_0x1b04a2,_0x3a33a5,_0x221acc);((_0x2924a3=this[_0xbba18e(0x371)])==null?void 0x0:_0x2924a3[_0xbba18e(0x258)])===_0x381919[_0xbba18e(0x258)]&&((_0xc889f9=this[_0xbba18e(0x371)])==null?void 0x0:_0xc889f9[_0xbba18e(0x286)])===_0x381919[_0xbba18e(0x286)]||this['_cursors']['forEach'](_0x53409e=>{const _0x31af3c=_0xbba18e;_0x53409e[_0x31af3c(0x28e)](_0x381919);});},0x64));});}['_updateCollabCursors'](_0xb52f62,_0x29a9fc){const _0x1ee520=_0x449813;var _0x4cc0b7;const _0xe1aee1=(_0x4cc0b7=this['_sheetSkeletonManagerService'][_0x1ee520(0x34a)]())==null?void 0x0:_0x4cc0b7[_0x1ee520(0x316)];if(!_0xe1aee1)return;const _0x43c777=this[_0x1ee520(0x3e2)]();if(!_0x43c777)return;this[_0x1ee520(0x36a)][_0x1ee520(0x28b)](_0x359146=>{const _0x2c7833=_0x1ee520;_0x359146[_0x2c7833(0x2b7)]();});const {scene:_0x230460}=_0x43c777,_0x75b7b5=_0x4e0124(Array[_0x1ee520(0x3a2)](_0x29a9fc[_0x1ee520(0x1ea)]()))[_0x1ee520(0x33d)](_0x408bcd=>{const _0x391b79=_0x1ee520,{color:_0x55ce0b,range:_0x1435c1,name:_0x4e6462,selection:_0x51d279,sheetID:_0xd3119e}=_0x408bcd,{startColumn:_0x29bfd4,startRow:_0xc8d6a1,endColumn:_0x508261,endRow:_0x5d8ef6}=_0x1435c1,_0x13d02a=_0x53da58[_0x391b79(0x2e9)](_0xc8d6a1,_0x29bfd4,_0x230460,_0xe1aee1),_0x2e07c7=_0x53da58['getCoordByCell'](_0x5d8ef6,_0x508261,_0x230460,_0xe1aee1),{columnHeaderHeightAndMarginTop:_0x1a7bd4}=_0xe1aee1,{startX:_0x26ca30,startY:_0x6ca787}=_0x13d02a,{endX:_0x4d870c,endY:_0x72e0ee}=_0x2e07c7,_0x47147c=_0x4d870c-_0x26ca30,_0x5b35d4=_0x72e0ee-_0x6ca787,_0x12e61c={'labelPosition':_0x6ca787-_0x1a7bd4>=_0x58db44?_0x391b79(0x2a6):_0x391b79(0x33a),'sheetID':_0xd3119e,'range':_0x1435c1,'color':_0x55ce0b,'name':_0x4e6462,'selection':_0x51d279,'left':_0x26ca30,'top':_0x6ca787,'width':_0x47147c,'height':_0x5b35d4,'evented':!0x1,'zIndex':_0x4bb736};return new _0x1a0019(_0x4e6462,_0x12e61c);});_0x230460[_0x1ee520(0x1da)](_0x75b7b5,_0x9a850a),this[_0x1ee520(0x36a)]=new Set(_0x75b7b5);}[_0x449813(0x349)](){const _0x4d39e2=_0x449813;var _0x178dcd;(_0x178dcd=this['_cursors'])==null||_0x178dcd[_0x4d39e2(0x28b)](_0x5716c5=>_0x5716c5[_0x4d39e2(0x2ec)]());}[_0x449813(0x3e2)](){const _0x410204=_0x449813;return _0x53da58[_0x410204(0x259)](this[_0x410204(0x39f)][_0x410204(0x287)],this[_0x410204(0x39f)]);}};_0x3bab0f=_0x4fdae2([_0x559bea(0x1,_0x4921b5[_0x449813(0x41c)](_0x53da58[_0x449813(0x1f2)])),_0x559bea(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x559bea(0x3,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x25e)]))],_0x3bab0f);function _0x4e0124(_0x2cd084){const _0x9a4b32=_0x449813,_0x1663cb=new Map();return _0x2cd084[_0x9a4b32(0x28b)](_0x5e8d54=>{const _0xf3fc0e=_0x9a4b32;if(_0x1663cb[_0xf3fc0e(0x3fc)](_0x5e8d54['selection'])){const _0x5a4199=_0x1663cb[_0xf3fc0e(0x2dd)](_0x5e8d54['selection']);_0x5a4199[_0xf3fc0e(0x31e)]+=',\x20'+_0x5e8d54[_0xf3fc0e(0x31e)];}else _0x1663cb[_0xf3fc0e(0x2a1)](_0x5e8d54[_0xf3fc0e(0x379)],_0x5e8d54);}),Array['from'](_0x1663cb['values']());}var _0x4f72cd=Object['getOwnPropertyDescriptor'],_0x4643f0=(_0x112d9a,_0x47ee27,_0x3fc607,_0x4d073a)=>{const _0x262999=_0x449813;for(var _0x1a45ff=_0x4d073a>0x1?void 0x0:_0x4d073a?_0x4f72cd(_0x47ee27,_0x3fc607):_0x47ee27,_0x506537=_0x112d9a[_0x262999(0x418)]-0x1,_0x1e99fc;_0x506537>=0x0;_0x506537--)(_0x1e99fc=_0x112d9a[_0x506537])&&(_0x1a45ff=_0x1e99fc(_0x1a45ff)||_0x1a45ff);return _0x1a45ff;},_0x37b6f9=(_0xdb7d8a,_0x4e302e)=>(_0x5d802e,_0xb3a3d6)=>_0x4e302e(_0x5d802e,_0xb3a3d6,_0xdb7d8a);let _0x803c51=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x38aad0,_0x300978,_0x332b2c,_0x3424d1,_0x501b20,_0x5de0af){const _0x2d1b4f=_0x449813;super(),this[_0x2d1b4f(0x423)]=_0x38aad0,this[_0x2d1b4f(0x3a4)]=_0x300978,this[_0x2d1b4f(0x327)]=_0x332b2c,this[_0x2d1b4f(0x3bb)]=_0x3424d1,this[_0x2d1b4f(0x23d)]=_0x501b20,this[_0x2d1b4f(0x2db)]=_0x5de0af,this[_0x2d1b4f(0x24e)](),this[_0x2d1b4f(0x404)]();}[_0x449813(0x24e)](){const _0x8ca758=_0x449813;this[_0x8ca758(0x25c)](this[_0x8ca758(0x423)][_0x8ca758(0x35b)](()=>{const _0x49bbd9=_0x8ca758;if(this[_0x49bbd9(0x3a4)][_0x49bbd9(0x45c)]['size'])return this[_0x49bbd9(0x2db)]['t'](_0x49bbd9(0x3e3));}));}[_0x449813(0x404)](){const _0x37e7c5=_0x449813;this[_0x37e7c5(0x25c)](this[_0x37e7c5(0x327)]['event$']['subscribe'](_0xbc6824=>{const _0x512678=_0x37e7c5;_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['OTHER_CLIENT_EDITING']&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)]['Warning'],'content':this[_0x512678(0x2db)]['t']('collaboration.single-unit.warning')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3e7)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x26d))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['PERMISSION_DENIED']&&this['_notificationService'][_0x512678(0x2d1)]({'title':this[_0x512678(0x2db)]['t'](_0x512678(0x2b9)),'content':this[_0x512678(0x2db)]['t']('permission.content'),'type':_0x512678(0x288),'duration':0x0}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x224)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('collaboration.closeRoom')+'('+_0xbc6824[_0x512678(0x1e8)]+')'}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x2b5)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0xbc6824[_0x512678(0x1e8)]||'')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x378)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this['_localeService']['t'](_0x512678(0x294))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3c0)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('session.connection-failed')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x3e4))});}));}};_0x803c51=_0x4643f0([_0x37b6f9(0x0,_0x56a892[_0x449813(0x266)]),_0x37b6f9(0x1,_0x1c12f2[_0x449813(0x240)]),_0x37b6f9(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x26a)])),_0x37b6f9(0x3,_0x56a892[_0x449813(0x3fb)]),_0x37b6f9(0x4,_0x56a892[_0x449813(0x3f1)]),_0x37b6f9(0x5,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x803c51);const _0x4dbd1e=_0x449813(0x429),_0x752cfd={};var _0x8a2a4a=Object[_0x449813(0x29c)],_0x2b3944=(_0x1fdbe9,_0x17792e,_0x3fd2af,_0x559d12)=>{const _0x24c113=_0x449813;for(var _0x13b0d0=_0x559d12>0x1?void 0x0:_0x559d12?_0x8a2a4a(_0x17792e,_0x3fd2af):_0x17792e,_0x5ade60=_0x1fdbe9[_0x24c113(0x418)]-0x1,_0x324753;_0x5ade60>=0x0;_0x5ade60--)(_0x324753=_0x1fdbe9[_0x5ade60])&&(_0x13b0d0=_0x324753(_0x13b0d0)||_0x13b0d0);return _0x13b0d0;},_0x9a337f=(_0x992be2,_0x2d3384)=>(_0xb91dc7,_0xb030cd)=>_0x2d3384(_0xb91dc7,_0xb030cd,_0x992be2);let _0x4b3596=class{constructor(_0x1269b1,_0x1af6fb){const _0x218d9f=_0x449813;this[_0x218d9f(0x216)]=_0x1269b1,this[_0x218d9f(0x3af)]=_0x1af6fb;}[_0x449813(0x407)](_0x316e5b){const _0x5ccaa7=_0x449813;this[_0x5ccaa7(0x3c1)](_0x316e5b),this[_0x5ccaa7(0x369)](_0x316e5b);}[_0x449813(0x2f8)](_0x18b519){const _0x3bd6bd=_0x449813,{unitID:_0x3a4bc8}=_0x18b519,_0x4a31b9=this['_renderManagerService'][_0x3bd6bd(0x3db)](_0x3a4bc8)[_0x3bd6bd(0x27e)](_0x3fda77[_0x3bd6bd(0x26c)]),{redoCache:_0x8e9ac8}=_0x4a31b9['getUndoRedoMutationParamsCache']();if(_0x8e9ac8['length']===0x0)return _0x18b519;let _0x4dd976=_0x4921b5[_0x3bd6bd(0x25d)][_0x3bd6bd(0x201)](_0x18b519['mutations'][0x0]);for(let _0x4a0e34=0x0;_0x4a0e34<_0x8e9ac8[_0x3bd6bd(0x418)];_0x4a0e34++){const _0x16d13e={'id':'doc.mutation.rich-text-editing','params':{..._0x8e9ac8[_0x4a0e34]}},_0x4ef553=this[_0x3bd6bd(0x216)]['transformMutation'](_0x4dd976,_0x16d13e,!0x1);if(_0x1a4d3b[_0x3bd6bd(0x41a)](_0x4ef553))throw _0x4ef553[_0x3bd6bd(0x288)];_0x4dd976=_0x4ef553[_0x3bd6bd(0x23c)];}return{..._0x4921b5['Tools'][_0x3bd6bd(0x201)](_0x18b519),'mutations':[_0x4dd976]};}[_0x449813(0x3c1)](_0x590209){const _0x392730=_0x449813,{unitID:_0x3dddd1}=_0x590209,_0x12e6c1=this[_0x392730(0x3af)]['getRenderById'](_0x3dddd1)[_0x392730(0x27e)](_0x3fda77[_0x392730(0x26c)]),{undoCache:_0x1858c5,redoCache:_0x2c29d2}=_0x12e6c1['getUndoRedoMutationParamsCache']();if(_0x1858c5[_0x392730(0x418)]===0x0||_0x2c29d2[_0x392730(0x418)]===0x0)return;const _0x54b4dc=[],_0x3f6fb8=[];let _0x4eec80=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209[_0x392730(0x3e5)][0x0]),_0x5182c3=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209['mutations'][0x0]);for(let _0x1cc40d=_0x1858c5[_0x392730(0x418)]-0x1;_0x1cc40d>=0x0;_0x1cc40d--){const _0x5d6cab={'id':_0x392730(0x439),'params':{..._0x1858c5[_0x1cc40d]}},_0xcf1a43={'id':_0x392730(0x439),'params':{..._0x2c29d2[_0x1cc40d]}},_0x59d0af=this['_transformService']['transformMutation'](_0x4eec80,_0x5d6cab,!0x1),_0x385ad8=this[_0x392730(0x216)][_0x392730(0x454)](_0x5182c3,_0xcf1a43,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x59d0af))throw _0x59d0af[_0x392730(0x288)];if(_0x1a4d3b[_0x392730(0x41a)](_0x385ad8))throw _0x385ad8['error'];_0x54b4dc[_0x392730(0x205)](_0x59d0af['m2Prime'][_0x392730(0x268)]),_0x3f6fb8[_0x392730(0x205)](_0x385ad8[_0x392730(0x24f)][_0x392730(0x268)]),_0x4eec80=_0x59d0af[_0x392730(0x23c)],_0x5182c3=_0x385ad8[_0x392730(0x23c)];}_0x12e6c1['setUndoRedoMutationParamsCache']({'undoCache':_0x54b4dc,'redoCache':_0x3f6fb8});}[_0x449813(0x369)](_0x5787a9){const _0x550c3a=_0x449813,{unitID:_0x81a3c7}=_0x5787a9,_0x14b20d=this['_renderManagerService'][_0x550c3a(0x3db)](_0x81a3c7)[_0x550c3a(0x27e)](_0x3fda77['DocIMEInputManagerService']),_0x34d661=_0x14b20d['getActiveRange']();if(_0x34d661==null)return;const _0x408f73=[{'id':_0x550c3a(0x439),'params':{'unitId':_0x5787a9['unitID'],'actions':null,'textRanges':[_0x34d661]}}],_0x10d7fc=this[_0x550c3a(0x216)][_0x550c3a(0x348)](_0x5787a9,_0x408f73);if(!_0x1a4d3b['isTransformMutationsWithChangesetSuccess'](_0x10d7fc))throw _0x10d7fc[_0x550c3a(0x288)];const _0x387e7e=_0x10d7fc[_0x550c3a(0x24f)][0x0][_0x550c3a(0x268)][_0x550c3a(0x2ce)];Array['isArray'](_0x387e7e)&&_0x387e7e['length']&&_0x14b20d[_0x550c3a(0x332)](_0x387e7e[0x0]);}};_0x4b3596=_0x2b3944([_0x9a337f(0x0,_0x1a4d3b[_0x449813(0x310)]),_0x9a337f(0x1,_0x22d409[_0x449813(0x2e2)])],_0x4b3596);var _0x19407e=Object[_0x449813(0x29c)],_0x20bda7=(_0x5d92f1,_0x41751f,_0x196ca4,_0x47b859)=>{const _0x1ca907=_0x449813;for(var _0x3235db=_0x47b859>0x1?void 0x0:_0x47b859?_0x19407e(_0x41751f,_0x196ca4):_0x41751f,_0x5e6d98=_0x5d92f1[_0x1ca907(0x418)]-0x1,_0x31aaeb;_0x5e6d98>=0x0;_0x5e6d98--)(_0x31aaeb=_0x5d92f1[_0x5e6d98])&&(_0x3235db=_0x31aaeb(_0x3235db)||_0x3235db);return _0x3235db;},_0x275655=(_0x33324a,_0x44ea74)=>(_0x52f8c3,_0x3d6cfc)=>_0x44ea74(_0x52f8c3,_0x3d6cfc,_0x33324a);let _0x34c2df=class{constructor(_0x255990,_0x4ed34e,_0x5c9125){const _0x3a9282=_0x449813;this['_injector']=_0x255990,this['_transformService']=_0x4ed34e,this[_0x3a9282(0x313)]=_0x5c9125;}['transformStateCache'](_0x1e5d0a){this['_transformHistoryAndStateStack'](_0x1e5d0a);}[_0x449813(0x2f8)](_0x20a1c6){const _0x2c1753=_0x449813,{unitID:_0x11ca28}=_0x20a1c6,{collaboration:_0xcc1e9d}=this[_0x2c1753(0x313)][_0x2c1753(0x207)](_0x11ca28);if(_0xcc1e9d[_0x2c1753(0x418)]===0x0)return _0x20a1c6;let _0x294778=_0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6['mutations'][0x0]);for(let _0x436981=0x0;_0x436981<_0xcc1e9d[_0x2c1753(0x418)];_0x436981++){const _0x3a69bf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcc1e9d[_0x436981][_0x2c1753(0x2a2)],..._0xcc1e9d[_0x436981][_0x2c1753(0x3bf)]}},_0x40cd95=this[_0x2c1753(0x216)][_0x2c1753(0x454)](_0x294778,_0x3a69bf,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x40cd95))throw _0x40cd95[_0x2c1753(0x288)];_0x294778=_0x40cd95[_0x2c1753(0x23c)];}return{..._0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6),'mutations':[_0x294778]};}['_transformHistoryAndStateStack'](_0x4a2c61){const _0x43f5ca=_0x449813,{unitID:_0x479120}=_0x4a2c61,{history:_0x1bc44e,collaboration:_0x4a2ba0}=this[_0x43f5ca(0x313)][_0x43f5ca(0x207)](_0x479120);if(_0x1bc44e[_0x43f5ca(0x418)]===0x0&&_0x4a2ba0[_0x43f5ca(0x418)]===0x0)return;const _0x1f88b2=[],_0x41f130=[];let _0x3807ac=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61['mutations'][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x4f78e7=_0x1bc44e[_0x43f5ca(0x418)]-0x1;_0x4f78e7>=0x0;_0x4f78e7--){const _0x316c83={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7][_0x43f5ca(0x2a2)],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x246)]}},_0x3a5dd8={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7]['unitId'],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x3bf)]}},_0x2b9652=this[_0x43f5ca(0x216)]['transformMutation'](_0x3807ac,_0x316c83,!0x1),_0x3527a3=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x52707d,_0x3a5dd8,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x2b9652))throw _0x2b9652['error'];if(_0x1a4d3b['isTransformMutationFailure'](_0x3527a3))throw _0x3527a3[_0x43f5ca(0x288)];_0x1f88b2['unshift']({..._0x1bc44e[_0x4f78e7],'undoState':_0x2b9652['m2Prime'][_0x43f5ca(0x268)],'redoState':_0x3527a3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x2b9652[_0x43f5ca(0x23c)],_0x52707d=_0x3527a3['m1Prime'];}_0x3807ac=_0x4921b5['Tools'][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x5a4b49=_0x4a2ba0[_0x43f5ca(0x418)]-0x1;_0x5a4b49>=0x0;_0x5a4b49--){const _0x5cc361={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49]['undoState']}},_0x1354b2={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49][_0x43f5ca(0x3bf)]}},_0x3a3c1e=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x3807ac,_0x5cc361,!0x1),_0x2abae3=this['_transformService'][_0x43f5ca(0x454)](_0x52707d,_0x1354b2,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x3a3c1e))throw _0x3a3c1e[_0x43f5ca(0x288)];if(_0x1a4d3b['isTransformMutationFailure'](_0x2abae3))throw _0x2abae3[_0x43f5ca(0x288)];_0x41f130[_0x43f5ca(0x205)]({..._0x4a2ba0[_0x5a4b49],'undoState':_0x3a3c1e[_0x43f5ca(0x24f)][_0x43f5ca(0x268)],'redoState':_0x2abae3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x3a3c1e[_0x43f5ca(0x23c)],_0x52707d=_0x2abae3[_0x43f5ca(0x23c)];}this[_0x43f5ca(0x313)][_0x43f5ca(0x2ca)](_0x479120,{'history':_0x1f88b2,'collaboration':_0x41f130});}};_0x34c2df=_0x20bda7([_0x275655(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x275655(0x1,_0x1a4d3b[_0x449813(0x310)]),_0x275655(0x2,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)]))],_0x34c2df);var _0x367867=Object[_0x449813(0x29c)],_0x42eb0a=(_0x5b34d8,_0x385da2,_0x4bf011,_0x3a38ff)=>{const _0x2dcb06=_0x449813;for(var _0x11a966=_0x3a38ff>0x1?void 0x0:_0x3a38ff?_0x367867(_0x385da2,_0x4bf011):_0x385da2,_0x2ba06a=_0x5b34d8[_0x2dcb06(0x418)]-0x1,_0x444e26;_0x2ba06a>=0x0;_0x2ba06a--)(_0x444e26=_0x5b34d8[_0x2ba06a])&&(_0x11a966=_0x444e26(_0x11a966)||_0x11a966);return _0x11a966;},_0x19e4c4=(_0x51256b,_0x434c39)=>(_0x2f04be,_0x57cc22)=>_0x434c39(_0x2f04be,_0x57cc22,_0x51256b);let _0x104c36=class{constructor(_0x5f080b,_0x533944){const _0x67260f=_0x449813;this['_injector']=_0x5f080b,this[_0x67260f(0x216)]=_0x533944;}[_0x449813(0x22b)](_0x3a7212){const _0x47f5e8=_0x449813;var _0x3c6510;const _0x1da1ef=this[_0x47f5e8(0x27f)][_0x47f5e8(0x2dd)](_0x4bc80d['DocSelectionManagerService']),_0x24e4c6=(_0x3c6510=_0x1da1ef[_0x47f5e8(0x3bd)]())!=null?_0x3c6510:[];if(_0x24e4c6[_0x47f5e8(0x418)]===0x0)return;const _0x57635c=_0x3a7212[_0x47f5e8(0x2b3)],_0x389ec8=[{'id':_0x47f5e8(0x439),'params':{'unitId':_0x57635c,'actions':null,'textRanges':_0x24e4c6}}],_0x223e40=this[_0x47f5e8(0x216)][_0x47f5e8(0x348)](_0x3a7212,_0x389ec8);if(!_0x1a4d3b[_0x47f5e8(0x283)](_0x223e40))throw _0x223e40['error'];const _0x1a7b54=_0x223e40[_0x47f5e8(0x24f)][0x0][_0x47f5e8(0x268)][_0x47f5e8(0x2ce)];Array[_0x47f5e8(0x1d8)](_0x1a7b54)&&_0x1a7b54['length']&&_0x1da1ef[_0x47f5e8(0x25a)](_0x1a7b54,{'unitId':_0x57635c,'subUnitId':_0x57635c},!0x1);}};_0x104c36=_0x42eb0a([_0x19e4c4(0x0,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x19e4c4(0x1,_0x1a4d3b[_0x449813(0x310)])],_0x104c36);var _0x4d2ba6=Object[_0x449813(0x29c)],_0x5ea8be=(_0xb042fb,_0x48ae05,_0xaae952,_0x46e32c)=>{for(var _0x390e75=_0x46e32c>0x1?void 0x0:_0x46e32c?_0x4d2ba6(_0x48ae05,_0xaae952):_0x48ae05,_0x4a4bcc=_0xb042fb['length']-0x1,_0x4f7776;_0x4a4bcc>=0x0;_0x4a4bcc--)(_0x4f7776=_0xb042fb[_0x4a4bcc])&&(_0x390e75=_0x4f7776(_0x390e75)||_0x390e75);return _0x390e75;},_0x3b0622=(_0x4fe63a,_0x16278a)=>(_0x1bd25f,_0x141469)=>_0x16278a(_0x1bd25f,_0x141469,_0x4fe63a);let _0x2f73bf=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x5621de,_0x51171e,_0x4b4085,_0x19d0d0,_0x2ee2ea,_0x213568,_0x77c25d,_0x233518){const _0x3cb707=_0x449813;super(),_0x8d7f57(this,_0x3cb707(0x215),new _0x66da6e[(_0x3cb707(0x2ae))](_0x1c12f2[_0x3cb707(0x375)]['NOT_COLLAB'])),(this[_0x3cb707(0x313)]=_0x5621de,this[_0x3cb707(0x44b)]=_0x51171e,this[_0x3cb707(0x416)]=_0x4b4085,this['_docTransformStateCacheService']=_0x19d0d0,this['_docTransformSelectionsService']=_0x2ee2ea,this[_0x3cb707(0x425)]=_0x213568,this[_0x3cb707(0x3bb)]=_0x77c25d,this[_0x3cb707(0x2db)]=_0x233518,this[_0x3cb707(0x2e6)]());}['_initEntityListener'](){const _0x90a3ea=_0x449813;this['disposeWithMe'](this[_0x90a3ea(0x44b)][_0x90a3ea(0x434)][_0x90a3ea(0x1fe)](_0x5c4a72=>{const _0x3fbc08=_0x90a3ea,_0x11aba5=this[_0x3fbc08(0x313)]['docStateChange$'][_0x3fbc08(0x1fe)](_0x43b3d1=>{const _0x567c46=_0x3fbc08;if(_0x43b3d1==null)return;const {unitId:_0x4033d8,redoState:_0x1e3c7d,commandId:_0x142e64}=_0x43b3d1;if(_0x4033d8!==_0x5c4a72['unitID'])return;const _0x3dc534={'id':_0x142e64,'type':_0x4921b5[_0x567c46(0x39a)][_0x567c46(0x33e)],'params':{'unitId':_0x4033d8,'actions':_0x1e3c7d[_0x567c46(0x2e0)],'textRanges':null}};_0x5c4a72[_0x567c46(0x3de)](_0x3dc534);});if(_0x5c4a72[_0x3fbc08(0x25c)](_0x11aba5),_0x5c4a72 instanceof _0x1c12f2[_0x3fbc08(0x352)]){const _0x2a795c={'onTransformIME':_0x2d0d7f=>this[_0x3fbc08(0x416)][_0x3fbc08(0x407)](_0x2d0d7f),'onTransformState':_0x3e9bd5=>this['_docTransformStateCacheService'][_0x3fbc08(0x1f5)](_0x3e9bd5),'onTransformSelections':_0x4b18ba=>this[_0x3fbc08(0x419)][_0x3fbc08(0x22b)](_0x4b18ba),'onSyncEditingCollabCursor':_0x120e66=>this[_0x3fbc08(0x425)][_0x3fbc08(0x2d3)](_0x120e66),'onTransformRemoteChangesetByIMECache':_0x259ece=>this[_0x3fbc08(0x416)]['transformRemoteChangeset'](_0x259ece),'onTransformRemoteChangesetByStateCache':_0x39e212=>this[_0x3fbc08(0x322)][_0x3fbc08(0x2f8)](_0x39e212)};_0x5c4a72['addHandlerCallback'](_0x2a795c);}}));}};_0x2f73bf=_0x5ea8be([_0x3b0622(0x0,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)])),_0x3b0622(0x1,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x3b0622(0x2,_0x4921b5[_0x449813(0x41c)](_0x4b3596)),_0x3b0622(0x3,_0x4921b5['Inject'](_0x34c2df)),_0x3b0622(0x4,_0x4921b5[_0x449813(0x41c)](_0x104c36)),_0x3b0622(0x5,_0x4921b5['Inject'](_0x2162e3)),_0x3b0622(0x6,_0x56a892[_0x449813(0x3fb)]),_0x3b0622(0x7,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x2f73bf);var _0xf8c48c=Object[_0x449813(0x29c)],_0x1b0344=(_0x1b357a,_0x787dd5,_0x261a48,_0x3cb5cf)=>{for(var _0x15258e=_0x3cb5cf>0x1?void 0x0:_0x3cb5cf?_0xf8c48c(_0x787dd5,_0x261a48):_0x787dd5,_0x18f007=_0x1b357a['length']-0x1,_0x4da289;_0x18f007>=0x0;_0x18f007--)(_0x4da289=_0x1b357a[_0x18f007])&&(_0x15258e=_0x4da289(_0x15258e)||_0x15258e);return _0x15258e;},_0x226d09=(_0x28b4da,_0x48663b)=>(_0x2a7c28,_0x230dbc)=>_0x48663b(_0x2a7c28,_0x230dbc,_0x28b4da);let _0xe558cc=class extends _0x4921b5['Disposable']{constructor(_0x273495,_0xb5d3a1,_0x4f111e){const _0x5f1f85=_0x449813;super(),_0x8d7f57(this,_0x5f1f85(0x39d),new Map()),_0x8d7f57(this,_0x5f1f85(0x30f),new Map()),_0x8d7f57(this,_0x5f1f85(0x347),!0x1),(this[_0x5f1f85(0x2e5)]=_0x273495,this[_0x5f1f85(0x1f0)]=_0xb5d3a1,this[_0x5f1f85(0x2fa)]=_0x4f111e);}['disableLocalCache'](){const _0xaf6d0a=_0x449813;this[_0xaf6d0a(0x347)]=!0x0;}[_0x449813(0x308)](){const _0x54e4aa=_0x449813;this[_0x54e4aa(0x347)]=!0x1;}get[_0x449813(0x45c)](){const _0x46755d=_0x449813;return this[_0x46755d(0x30f)];}[_0x449813(0x2ec)](){const _0x5ed37f=_0x449813;this['exhaustSavingTask']()['then'](()=>super[_0x5ed37f(0x2ec)]());}async[_0x449813(0x25b)](_0xc13a14){const _0x49f3d0=_0x449813;return this[_0x49f3d0(0x347)]?null:this['_localStorageService']['getItem'](_0x1c12f2[_0x49f3d0(0x391)](_0xc13a14));}async[_0x449813(0x3c6)](_0x3af88f,_0x3f847a){const _0x3cb8d0=_0x449813;return!!this[_0x3cb8d0(0x1f0)][_0x3cb8d0(0x2b2)](_0x3af88f,_0x3f847a);}[_0x449813(0x1fb)](_0x15ba16,_0x48b2f9,_0x4e9860,_0x4f90b3){const _0x179314=_0x449813,_0x1a729e=this['_revisionService'][_0x179314(0x363)](_0x15ba16);this['_cachedData'][_0x179314(0x2a1)](_0x15ba16,{'unitID':_0x15ba16,'type':_0x48b2f9,'awaitingChangeset':_0x4e9860,'mutations':_0x4f90b3,'rev':_0x1a729e}),this[_0x179314(0x30f)]['has'](_0x15ba16)||this['_scheduleSaving'](_0x15ba16);}[_0x449813(0x1e4)](_0x2a6a6d){const _0x437631=_0x449813,_0x2b58c7=this[_0x437631(0x2c9)]();_0x2b58c7===0x0?this[_0x437631(0x244)](_0x2a6a6d):this[_0x437631(0x30f)][_0x437631(0x2a1)](_0x2a6a6d,setTimeout(()=>this['_saveCache'](_0x2a6a6d),_0x2b58c7));}[_0x449813(0x2c9)](){const _0x51393d=_0x449813;var _0x24a059;return(_0x24a059=this[_0x51393d(0x2e5)][_0x51393d(0x471)](_0x1c12f2['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x24a059:_0x1c12f2['LOCAL_CACHE_INTERVAL'];}[_0x449813(0x244)](_0x3b7f7e){const _0x3663fe=_0x449813,_0x40b627=this[_0x3663fe(0x30f)][_0x3663fe(0x2dd)](_0x3b7f7e);return _0x40b627!==void 0x0&&window[_0x3663fe(0x2ba)](_0x40b627),this[_0x3663fe(0x1f0)][_0x3663fe(0x2b2)](_0x1c12f2[_0x3663fe(0x391)](_0x3b7f7e),this[_0x3663fe(0x39d)]['get'](_0x3b7f7e))[_0x3663fe(0x3ef)](()=>this[_0x3663fe(0x30f)][_0x3663fe(0x474)](_0x3b7f7e));}async[_0x449813(0x358)](){const _0x12408d=_0x449813,_0x36dd1d=[];this[_0x12408d(0x30f)]['forEach']((_0x405ad4,_0x84f8e0)=>{const _0x365f6b=_0x12408d;window['clearTimeout'](_0x405ad4),_0x36dd1d[_0x365f6b(0x2a3)](this[_0x365f6b(0x244)](_0x84f8e0)['then'](()=>{const _0x2005de=_0x365f6b;this[_0x2005de(0x30f)][_0x2005de(0x474)](_0x84f8e0);}));}),await Promise[_0x12408d(0x2df)](_0x36dd1d);}};_0xe558cc=_0x1b0344([_0x226d09(0x0,_0x4921b5[_0x449813(0x2f5)]),_0x226d09(0x1,_0x4921b5[_0x449813(0x356)]),_0x226d09(0x2,_0x4921b5[_0x449813(0x41c)](_0x1a4d3b[_0x449813(0x421)]))],_0xe558cc);class _0x589d2e extends _0x4921b5[_0x449813(0x442)]{constructor(){const _0x33b963=_0x449813;super(),_0x8d7f57(this,'urlChange$'),this[_0x33b963(0x21d)]=_0x66da6e[_0x33b963(0x1e5)](window,_0x33b963(0x26e))[_0x33b963(0x35e)](_0x66da6e[_0x33b963(0x34f)](this['dispose$']),_0x66da6e[_0x33b963(0x255)](0x1),_0x66da6e[_0x33b963(0x3f3)](void 0x0));}[_0x449813(0x2c4)](_0x2fe2f8,_0x1d06ef,_0x36e547=!0x1){const _0x257b2a=_0x449813,_0x484cac=new URL(window[_0x257b2a(0x345)][_0x257b2a(0x31b)]);_0x484cac[_0x257b2a(0x3be)][_0x257b2a(0x2a1)](_0x2fe2f8,_0x1d06ef),_0x36e547?window['history'][_0x257b2a(0x21e)]('','',_0x484cac[_0x257b2a(0x36d)]()):window[_0x257b2a(0x2a8)][_0x257b2a(0x21f)]('','',_0x484cac[_0x257b2a(0x36d)]());}[_0x449813(0x2a5)](_0x1ef7c9,_0x1818e5=!0x1){const _0x7319b7=_0x449813,_0x30b5f9=new URL(window[_0x7319b7(0x345)]['href']);_0x30b5f9[_0x7319b7(0x3be)]['delete'](_0x1ef7c9),_0x1818e5?window[_0x7319b7(0x2a8)][_0x7319b7(0x21e)]('','',_0x30b5f9[_0x7319b7(0x36d)]()):window['history'][_0x7319b7(0x21f)]('','',_0x30b5f9[_0x7319b7(0x36d)]());}[_0x449813(0x372)](_0x2671eb){const _0x87f5fc=_0x449813;var _0x319d7a;return(_0x319d7a=new URL(window[_0x87f5fc(0x345)][_0x87f5fc(0x31b)])[_0x87f5fc(0x3be)][_0x87f5fc(0x2dd)](_0x2671eb))!=null?_0x319d7a:void 0x0;}}var _0x5827e7=Object[_0x449813(0x388)],_0x2c381d=Object['getOwnPropertyDescriptor'],_0x472c2c=(_0x12939d,_0x4b45d5,_0x312804)=>_0x4b45d5 in _0x12939d?_0x5827e7(_0x12939d,_0x4b45d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x312804}):_0x12939d[_0x4b45d5]=_0x312804,_0x2aab85=(_0x3821be,_0x4586bc,_0x25a4e1,_0x5679c5)=>{const _0x4802d0=_0x449813;for(var _0x5e222c=_0x5679c5>0x1?void 0x0:_0x5679c5?_0x2c381d(_0x4586bc,_0x25a4e1):_0x4586bc,_0x2aaec4=_0x3821be[_0x4802d0(0x418)]-0x1,_0x4c0b6d;_0x2aaec4>=0x0;_0x2aaec4--)(_0x4c0b6d=_0x3821be[_0x2aaec4])&&(_0x5e222c=_0x4c0b6d(_0x5e222c)||_0x5e222c);return _0x5e222c;},_0x93a56b=(_0xa97c59,_0x1df76e)=>(_0x3d5f68,_0x597159)=>_0x1df76e(_0x3d5f68,_0x597159,_0xa97c59),_0x97cd59=(_0x333724,_0x190bdc,_0x251749)=>_0x472c2c(_0x333724,_0x190bdc+'',_0x251749);const _0x1b69a2='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x11d7a5['UniverCollaborationClientUIPlugin']=class extends _0x4921b5[_0x449813(0x447)]{constructor(_0x1f6651=_0x752cfd,_0x22b6fa,_0x6a4f52,_0x327774){const _0x240f06=_0x449813;super(),this[_0x240f06(0x462)]=_0x1f6651,this[_0x240f06(0x3af)]=_0x22b6fa,this[_0x240f06(0x27f)]=_0x6a4f52,this[_0x240f06(0x2e5)]=_0x327774;const {..._0x379585}=_0x4921b5['merge']({},_0x752cfd,this[_0x240f06(0x462)]);this['_configService'][_0x240f06(0x278)](_0x4dbd1e,_0x379585);}[_0x449813(0x2e1)](){const _0x2432cf=_0x449813;this[_0x2432cf(0x432)](),this[_0x2432cf(0x2c2)]();}[_0x449813(0x297)](){const _0x572110=_0x449813;this[_0x572110(0x254)]();}[_0x449813(0x432)](){const _0xb883c3=_0x449813;var _0x4a7306;const _0x224280=[[_0xac4cbd],[_0x104c36],[_0x4b3596],[_0x34c2df],[_0x2162e3],[_0x475a16,{'useClass':_0x589d2e}],[_0x1d4e08[_0xb883c3(0x1de)],{'useClass':_0x1d4e08['WebSocketService']}],[_0x1c12f2[_0xb883c3(0x240)],{'useClass':_0xe558cc}],[_0x11d7a5['DesktopCollaborationStatusDisplayController']],[_0x2f73bf],[_0x803c51],[_0x3d739c],[_0x310481],[_0x11d7a5[_0xb883c3(0x408)]]];_0x4921b5['registerDependencies'](this['_injector'],_0x4921b5[_0xb883c3(0x2cd)](_0x224280,(_0x4a7306=this[_0xb883c3(0x462)])==null?void 0x0:_0x4a7306[_0xb883c3(0x346)]));}[_0x449813(0x254)](){const _0x42868d=_0x449813;this['disposeWithMe'](this['_renderManagerService'][_0x42868d(0x46a)](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x299)],[_0x3a30e1])),this['disposeWithMe'](this[_0x42868d(0x3af)]['registerRenderModule'](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x262)],[_0x3bab0f]));}['_initDependencies'](){const _0xdb86e2=_0x449813;_0x4921b5[_0xdb86e2(0x3d5)](this[_0xdb86e2(0x27f)],[[_0x3d739c],[_0x11d7a5[_0xdb86e2(0x2cb)]],[_0x2f73bf],[_0x803c51],[_0x11d7a5[_0xdb86e2(0x408)]]]);}},_0x97cd59(_0x11d7a5[_0x449813(0x35c)],_0x449813(0x417),_0x1b69a2),_0x11d7a5[_0x449813(0x35c)]=_0x2aab85([_0x4921b5['DependentOn'](_0x1c12f2['UniverCollaborationClientPlugin']),_0x93a56b(0x1,_0x22d409[_0x449813(0x2e2)]),_0x93a56b(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x93a56b(0x3,_0x4921b5['IConfigService'])],_0x11d7a5[_0x449813(0x35c)]);var _0x2a22d8=Object[_0x449813(0x29c)],_0x445dad=(_0x5a6cee,_0x1aa160,_0x1def1c,_0x3ba387)=>{for(var _0x3da75b=_0x3ba387>0x1?void 0x0:_0x3ba387?_0x2a22d8(_0x1aa160,_0x1def1c):_0x1aa160,_0x51cf11=_0x5a6cee['length']-0x1,_0x187622;_0x51cf11>=0x0;_0x51cf11--)(_0x187622=_0x5a6cee[_0x51cf11])&&(_0x3da75b=_0x187622(_0x3da75b)||_0x3da75b);return _0x3da75b;},_0x27de08=(_0xb84cca,_0x3bf2e8)=>(_0x5e505b,_0x41bb26)=>_0x3bf2e8(_0x5e505b,_0x41bb26,_0xb84cca);_0x11d7a5['BrowserCollaborationSocketService']=class extends _0x1c12f2['CollaborationSocketService']{constructor(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733){super(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733);}async[_0x449813(0x410)](_0x371686){const _0x3536f5=_0x449813,_0x5b758a=await this[_0x3536f5(0x331)](),_0x4f83a3=this[_0x3536f5(0x281)](_0x371686,_0x5b758a);return this[_0x3536f5(0x41b)](_0x4f83a3);}[_0x449813(0x281)](_0x479234,_0x1f0c7f){const _0x261202=_0x449813,_0x3b65cf=typeof window>'u'?new URL(_0x479234):new URL(_0x479234,window[_0x261202(0x345)][_0x261202(0x22f)]);_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x2af),_0x1f0c7f);const _0x1d03ea=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x261202(0x345)][_0x261202(0x390)]);return _0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))&&_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x26f),_0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))),_0x3b65cf[_0x261202(0x36d)]();}async['_getSessionTicket'](){const _0x19570c=_0x449813;var _0x6d7e8e,_0x5f5a8b,_0x5d0f44;const _0x443da5=this[_0x19570c(0x2e5)][_0x19570c(0x471)](_0x1c12f2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xc275e4=(_0x6d7e8e=_0x443da5==null?void 0x0:_0x443da5['wsSessionTicketUrl'])!=null?_0x6d7e8e:_0x1c12f2[_0x19570c(0x44e)];return(_0x5d0f44=(_0x5f5a8b=(await this[_0x19570c(0x2fb)][_0x19570c(0x2dd)](_0xc275e4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5f5a8b[_0x19570c(0x441)])!=null?_0x5d0f44:'';}},_0x11d7a5[_0x449813(0x208)]=_0x445dad([_0x27de08(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x27de08(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x27de08(0x2,_0x4921b5[_0x449813(0x2f5)]),_0x27de08(0x3,_0x4921b5[_0x449813(0x2ee)]),_0x27de08(0x4,_0x1a4d3b[_0x449813(0x465)])],_0x11d7a5[_0x449813(0x208)]);var _0xde315c=(_0xb75d82=>(_0xb75d82[_0xb75d82[_0x449813(0x248)]=0x0]='UNDEFINED',_0xb75d82[_0xb75d82['OK']=0x1]='OK',_0xb75d82[_0xb75d82[_0x449813(0x2c0)]=0x2]='INTERNAL_ERROR',_0xb75d82[_0xb75d82[_0x449813(0x3eb)]=0x3]='PERMISSION_DENIED',_0xb75d82[_0xb75d82['NOT_FOUND']=0x4]='NOT_FOUND',_0xb75d82[_0xb75d82['UNAUTHENTICATED']=0x5]=_0x449813(0x2a9),_0xb75d82[_0xb75d82[_0x449813(0x362)]=0x6]=_0x449813(0x362),_0xb75d82[_0xb75d82['INVALID_ARGUMENT']=0x7]=_0x449813(0x32f),_0xb75d82[_0xb75d82[_0x449813(0x342)]=0x8]='TOO_MANY_REQUESTS',_0xb75d82[_0xb75d82['COMPLETION_FINISHED']=0x9]=_0x449813(0x318),_0xb75d82[_0xb75d82[_0x449813(0x269)]=0xa]=_0x449813(0x269),_0xb75d82[_0xb75d82[_0x449813(0x1ef)]=0xb]=_0x449813(0x1ef),_0xb75d82[_0xb75d82[_0x449813(0x3f5)]=0xc]=_0x449813(0x3f5),_0xb75d82[_0xb75d82[_0x449813(0x392)]=0xd]=_0x449813(0x392),_0xb75d82[_0xb75d82['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x449813(0x2eb),_0xb75d82[_0xb75d82['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x449813(0x464),_0xb75d82[_0xb75d82[_0x449813(0x2a7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb75d82[_0xb75d82[_0x449813(0x2c5)]=0x1772]=_0x449813(0x2c5),_0xb75d82[_0xb75d82[_0x449813(0x39e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xb75d82[_0xb75d82[_0x449813(0x1df)]=0x1b59]=_0x449813(0x1df),_0xb75d82[_0xb75d82[_0x449813(0x365)]=0x1b5a]=_0x449813(0x365),_0xb75d82[_0xb75d82[_0x449813(0x252)]=0x1b5b]=_0x449813(0x252),_0xb75d82[_0xb75d82[_0x449813(0x2f3)]=0x1b5c]=_0x449813(0x2f3),_0xb75d82[_0xb75d82[_0x449813(0x2bf)]=0x1b5d]=_0x449813(0x2bf),_0xb75d82[_0xb75d82['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xb75d82[_0xb75d82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x449813(0x446),_0xb75d82[_0xb75d82[_0x449813(0x45e)]=0x232a]=_0x449813(0x45e),_0xb75d82[_0xb75d82['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x449813(0x260),_0xb75d82[_0xb75d82[_0x449813(0x27d)]=0x232c]=_0x449813(0x27d),_0xb75d82[_0xb75d82[_0x449813(0x20b)]=0x232d]=_0x449813(0x20b),_0xb75d82[_0xb75d82[_0x449813(0x21c)]=0x2711]=_0x449813(0x21c),_0xb75d82[_0xb75d82[_0x449813(0x209)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xb75d82[_0xb75d82['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x449813(0x273),_0xb75d82[_0xb75d82[_0x449813(0x3d8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x3b4)]=0x271a]=_0x449813(0x3b4),_0xb75d82[_0xb75d82[_0x449813(0x3c8)]=0x271b]=_0x449813(0x3c8),_0xb75d82[_0xb75d82[_0x449813(0x3c2)]=0x271c]=_0x449813(0x3c2),_0xb75d82[_0xb75d82[_0x449813(0x3a3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xb75d82[_0xb75d82[_0x449813(0x414)]=0x271e]=_0x449813(0x414),_0xb75d82[_0xb75d82[_0x449813(0x42d)]=0x271f]=_0x449813(0x42d),_0xb75d82[_0xb75d82[_0x449813(0x350)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x241)]=0x2af9]=_0x449813(0x241),_0xb75d82[_0xb75d82[_0x449813(0x3c4)]=0x2ee1]=_0x449813(0x3c4),_0xb75d82[_0xb75d82[_0x449813(0x3e0)]=0x2ee2]=_0x449813(0x3e0),_0xb75d82[_0xb75d82[_0x449813(0x2cf)]=0x2ee3]=_0x449813(0x2cf),_0xb75d82[_0xb75d82[_0x449813(0x20c)]=0x2ee4]=_0x449813(0x20c),_0xb75d82[_0xb75d82[_0x449813(0x323)]=0x2ee5]=_0x449813(0x323),_0xb75d82[_0xb75d82[_0x449813(0x43a)]=0x32c9]=_0x449813(0x43a),_0xb75d82[_0xb75d82[_0x449813(0x30a)]=0x32ca]=_0x449813(0x30a),_0xb75d82[_0xb75d82[_0x449813(0x2ed)]=0x32cb]=_0x449813(0x2ed),_0xb75d82[_0xb75d82[_0x449813(0x204)]=-0x1]=_0x449813(0x204),_0xb75d82))(_0xde315c||{}),_0x5de5b0=Object[_0x449813(0x29c)],_0x1834d9=(_0x303ccf,_0x167d05,_0x1706c4,_0x3e35f7)=>{const _0x4a9eda=_0x449813;for(var _0x3330c3=_0x3e35f7>0x1?void 0x0:_0x3e35f7?_0x5de5b0(_0x167d05,_0x1706c4):_0x167d05,_0x398bc4=_0x303ccf[_0x4a9eda(0x418)]-0x1,_0xedc880;_0x398bc4>=0x0;_0x398bc4--)(_0xedc880=_0x303ccf[_0x398bc4])&&(_0x3330c3=_0xedc880(_0x3330c3)||_0x3330c3);return _0x3330c3;},_0x24d00d=(_0x2423ee,_0xec2bb6)=>(_0x342169,_0x1bc94c)=>_0xec2bb6(_0x342169,_0x1bc94c,_0x2423ee);_0x11d7a5[_0x449813(0x38c)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x3df10f,_0x3ce29e,_0x389592){const _0x221dd5=_0x449813;super(),this[_0x221dd5(0x413)]=_0x3df10f,this[_0x221dd5(0x2fb)]=_0x3ce29e,this[_0x221dd5(0x2e5)]=_0x389592;}async['runOnServer'](_0x3eaa4f,_0x2745bf,_0xc9c0ca,..._0x5771e3){const _0x49a2da=_0x449813;var _0x5d57fe,_0x941a18,_0x197f38,_0x5a4de5;const _0x5c5c31=this['_instanceService'][_0x49a2da(0x27c)]();if(!_0x5c5c31)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x58ded0=((_0x5d57fe=this[_0x49a2da(0x2e5)][_0x49a2da(0x471)](_0x1c12f2['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d57fe:_0x1c12f2[_0x49a2da(0x1f6)])+'/'+_0x3eaa4f+'/run/'+_0x2745bf,_0x10b113=new URL(window[_0x49a2da(0x345)][_0x49a2da(0x31b)]),_0x5b6f06={'scriptId':_0x3eaa4f,'runId':(_0x941a18=_0x10b113[_0x49a2da(0x3be)][_0x49a2da(0x2dd)](_0x49a2da(0x26f)))!=null?_0x941a18:'','function':_0x2745bf,'unitId':_0x5c5c31[_0x49a2da(0x2c6)](),'argsOfFunction':JSON[_0x49a2da(0x206)](_0x5771e3),'invokeId':(_0x197f38=_0xc9c0ca['invokeId'])!=null?_0x197f38:'','executionId':(_0x5a4de5=_0xc9c0ca[_0x49a2da(0x39c)])!=null?_0x5a4de5:''};try{const _0x15887c=await this[_0x49a2da(0x2fb)][_0x49a2da(0x272)](_0x58ded0,{'body':_0x5b6f06});return _0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)]&&_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)][_0x49a2da(0x203)]!==_0xde315c['OK']?_0x49a2da(0x35f):_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x236)];}catch{return _0x49a2da(0x35f);}}},_0x11d7a5['RemoteUniscriptService']=_0x1834d9([_0x24d00d(0x0,_0x4921b5[_0x449813(0x42b)]),_0x24d00d(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x24d00d(0x2,_0x4921b5[_0x449813(0x2f5)])],_0x11d7a5[_0x449813(0x38c)]);const _0x8b6028=0x7530,_0x45f572=_0x449813(0x3b0);class _0x4ad09d extends _0x4921b5['Disposable']{constructor(){const _0x59c1fb=_0x449813;super(),_0x8d7f57(this,'_id',_0x4921b5[_0x59c1fb(0x420)]()),_0x8d7f57(this,_0x59c1fb(0x470),new Set()),_0x8d7f57(this,_0x59c1fb(0x333),new Map()),_0x8d7f57(this,'_heartbeatTimer',null),_0x8d7f57(this,_0x59c1fb(0x243),new Map()),_0x8d7f57(this,_0x59c1fb(0x328),new Map()),this[_0x59c1fb(0x2c7)]();}[_0x449813(0x2ec)](){const _0x1a5f9e=_0x449813;super['dispose'](),this[_0x1a5f9e(0x243)][_0x1a5f9e(0x28b)]((_0x826794,_0x4f0b67)=>this['_removeClearOtherTimer'](_0x4f0b67)),this[_0x1a5f9e(0x2e7)]&&window[_0x1a5f9e(0x476)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1d7210){const _0x122bed=_0x449813;return this[_0x122bed(0x1fc)](_0x1d7210)[_0x122bed(0x35e)](_0x66da6e[_0x122bed(0x2f1)]());}['editingUnit'](_0x5e4eff){const _0x1ef5c9=_0x449813;this[_0x1ef5c9(0x470)][_0x1ef5c9(0x397)]===0x0&&this[_0x1ef5c9(0x22d)](),this[_0x1ef5c9(0x470)][_0x1ef5c9(0x44f)](_0x5e4eff),this[_0x1ef5c9(0x221)]({'type':0x0,'memberID':this[_0x1ef5c9(0x22e)],'unitIDs':[_0x5e4eff],'isForwarded':!0x1});}['disposeUnit'](_0x424438){const _0x11f150=_0x449813;this[_0x11f150(0x470)][_0x11f150(0x474)](_0x424438),this['_selfUnitIDs'][_0x11f150(0x397)]===0x0&&this[_0x11f150(0x2e7)]&&window['clearInterval'](this[_0x11f150(0x2e7)]);}[_0x449813(0x2c7)](){const _0x37fbfc=_0x449813;this['disposeWithMe'](_0x4921b5[_0x37fbfc(0x2ad)](_0x66da6e[_0x37fbfc(0x1e5)](window,'storage')['subscribe'](_0x29e944=>{const _0x2fe05d=_0x37fbfc;if(_0x29e944[_0x2fe05d(0x337)]!==_0x45f572||!_0x29e944[_0x2fe05d(0x291)])return;const _0x232d32=JSON[_0x2fe05d(0x239)](_0x29e944['newValue']);this[_0x2fe05d(0x3bc)](_0x232d32);}))),window[_0x37fbfc(0x23e)](_0x37fbfc(0x445),()=>this['_send']({'type':0x1,'memberID':this[_0x37fbfc(0x22e)],'unitIDs':Array['from'](this[_0x37fbfc(0x470)])}));}[_0x449813(0x3bc)](_0x5c75b4){const _0x307868=_0x449813;switch(_0x5c75b4[_0x307868(0x426)]){case 0x0:this[_0x307868(0x3d1)](_0x5c75b4);break;case 0x1:this[_0x307868(0x32b)](_0x5c75b4);break;case 0x2:this[_0x307868(0x23f)](_0x5c75b4);break;}}[_0x449813(0x3d1)](_0x42ce17){const _0x1bfa4b=_0x449813,{unitIDs:_0x1b69b8,memberID:_0x2dc394,isForwarded:_0x2c3885}=_0x42ce17;_0x1b69b8['forEach'](_0x4c971f=>{const _0x1055c=_0x4bb6;if(!_0x2c3885&&this[_0x1055c(0x333)][_0x1055c(0x3fc)](_0x4c971f)&&this['_ensureSubject'](_0x4c971f)[_0x1055c(0x2fd)](_0x1c12f2[_0x1055c(0x453)][_0x1055c(0x329)]),!this[_0x1055c(0x333)]['has'](_0x4c971f)||!this[_0x1055c(0x333)]['get'](_0x4c971f)['has'](_0x2dc394)){const _0x7d78d5=this[_0x1055c(0x333)][_0x1055c(0x2dd)](_0x4c971f)||new Set();_0x7d78d5['add'](_0x2dc394),this['_unitOnClients']['set'](_0x4c971f,_0x7d78d5),this['_scheduleClearOtherTimer'](_0x2dc394);}}),_0x2c3885||this[_0x1bfa4b(0x221)]({'type':0x0,'memberID':this[_0x1bfa4b(0x22e)],'unitIDs':[...this[_0x1bfa4b(0x470)]],'isForwarded':!0x0});}[_0x449813(0x2d8)](_0x4f2867){const _0x4c9746=_0x449813;this[_0x4c9746(0x380)](_0x4f2867);const _0x262bbf=window[_0x4c9746(0x41e)](()=>{const _0x44b82a=_0x4c9746;this['_unitOnClients'][_0x44b82a(0x28b)](_0x2a7ae5=>{const _0x4fcd32=_0x44b82a;_0x2a7ae5[_0x4fcd32(0x474)](_0x4f2867);});},_0x8b6028*0x2);this['_clearOtherTimers'][_0x4c9746(0x2a1)](_0x4f2867,_0x262bbf);}[_0x449813(0x380)](_0x3e4e14){const _0x49c64b=_0x449813;if(this['_clearOtherTimers']['has'](_0x3e4e14)){const _0x108856=this[_0x49c64b(0x243)]['get'](_0x3e4e14);_0x108856&&window[_0x49c64b(0x2ba)](_0x108856),this['_clearOtherTimers']['set'](_0x3e4e14,null);}}[_0x449813(0x32b)](_0x1041ce){const _0x48a93e=_0x449813,{memberID:_0x33dedc,unitIDs:_0x47bcee}=_0x1041ce;_0x47bcee[_0x48a93e(0x28b)](_0x411006=>{const _0x3ee50f=_0x48a93e;var _0x31f731;const _0x2657d0=this[_0x3ee50f(0x333)][_0x3ee50f(0x2dd)](_0x411006);_0x2657d0&&(_0x2657d0[_0x3ee50f(0x474)](_0x33dedc),(_0x31f731=this[_0x3ee50f(0x1fc)](_0x411006))==null||_0x31f731['next'](_0x2657d0[_0x3ee50f(0x397)]===0x0?_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x2b6)]:_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x329)]));}),this['_removeClearOtherTimer'](_0x33dedc);}[_0x449813(0x23f)](_0x5d6ec8){this['_scheduleClearOtherTimer'](_0x5d6ec8['memberID']);}[_0x449813(0x221)](_0x1c1652){const _0x358202=_0x449813;localStorage[_0x358202(0x2b2)](_0x45f572,JSON['stringify'](_0x1c1652));}[_0x449813(0x22d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x7b8fe9=_0x4bb6;this[_0x7b8fe9(0x221)]({'type':0x2,'memberID':this['_id']});},_0x8b6028);}[_0x449813(0x1fc)](_0xc3efb7){const _0x236e48=_0x449813;return this[_0x236e48(0x328)][_0x236e48(0x3fc)](_0xc3efb7)||this['_unitStatus'][_0x236e48(0x2a1)](_0xc3efb7,new _0x66da6e['BehaviorSubject'](_0x1c12f2[_0x236e48(0x453)][_0x236e48(0x2b6)])),this[_0x236e48(0x328)][_0x236e48(0x2dd)](_0xc3efb7);}}_0x11d7a5[_0x449813(0x245)]=_0x475a16,_0x11d7a5['SheetCollabCursorShape']=_0x1a0019,_0x11d7a5['WebBrowserSingleActiveUnitService']=_0x4ad09d,_0x11d7a5['WebURLService']=_0x589d2e,Object['defineProperty'](_0x11d7a5,Symbol[_0x449813(0x3f8)],{'value':_0x449813(0x463)});}));function _0x4bb6(_0x52253a,_0x1a013c){const _0x27fad7=_0x27fa();return _0x4bb6=function(_0x4bb649,_0x3d3254){_0x4bb649=_0x4bb649-0x1d8;let _0xcffcc0=_0x27fad7[_0x4bb649];return _0xcffcc0;},_0x4bb6(_0x52253a,_0x1a013c);}function _0x27fa(){const _0x3cfac6=['show','_imageIoService','syncEditingCollabCursor','SetTextSelectionsOperation','SHEET_VIEWPORT_KEY','InsertRowCommandId','current','_scheduleClearOtherTimer','jsx','UniverProCollaborationClient','_localeService','getUniverSheetInstance','get','some','all','actions','onStarting','IRenderManagerService','currentTheme$','getAncestorScale','_configService','_initEntityListener','_heartbeatTimer','forwardRef','getCoordByCell','_setupSubUnitSync','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','EMAIL_HAS_BEEN_BOUND','ILogService','SYNCED','endColumn','distinctUntilChanged','_labelPosition','APPLY_PERMISSION_DENIED','_uiPartsService','IConfigService','_updateLocalCursor','red.300','transformRemoteChangeset','FromArray','_revisionService','_httpService','IUIPartsService','next','748rIKzHG','NodePositionConvertToRectRange','DocStateChangeManagerService','handleInsertCol','UniverEngineFormula','UniverDesign','DocSkeletonManagerService','replace','_entities','getColor','enableLocalCache','colorChannel1','MOBILE_HAS_BEEN_BOUND','#FFF','unsubscribe','whenReady','_backgroundColor','_saveTaskMap','ITransformService','_initStatusComponent','_session','_docStateChangeManagerService','_range','clsx','skeleton','_themeService','COMPLETION_FINISHED','subUnitId','yellow.400','href','round','text','name','_drawRectRange','range','univerjs-icon\x20univerjs-icon-','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','@univerjs/docs','0\x200\x2017\x2016','getSkeleton','_collaborationUIEventService','_unitStatus','OTHER_CLIENTS_EDITING','_startSheetCollabCursor','_handleLeaveEvent','DataLoaderService','USERS_LEAVE','getCellPositionByOffset','INVALID_ARGUMENT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','setActiveRange','_unitOnClients','Optional','_syncEditingCollabCursorService','SetDocZoomRatioOperation','key','RichTextEditingMutation','executeCommand','bottom','onPointerEnter$','reconnect','map','MUTATION','find','debug','_getMergeRange','TOO_MANY_REQUESTS','_cursorInfo$','save','location','override','_disabled','transformMutationsWithChangeset','_removeCollabCursors','getCurrent','useObservable','event$','on-line-icon','fillRule','takeUntil','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverInstanceType','DocCollaborationEntity','11078796ODSnNy','path','loadUnit','ILocalStorageService','[CollaborationDataLoaderController]','exhaustSavingTask','_colorIndex','ICommandService','registerBeforeClose','UniverCollaborationClientUIPlugin','startColumn','pipe','Failed','switchMap','prototype','ALREADY_EXISTS','getCurrentRevOfUnit','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','MemberService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMergeData','_transformPreviousActiveRange','_cursors','_toggleOnline','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','toString','xlink:href','lineTo','roomMembers$','_lastPointer','getParam','fill','InsertColCommandId','CollaborationStatus','UniverProCollaborationClientUi','_assignedColors','SOCKET_FAILED_RETRY','selection','asObservable','random','idSuffix','assign','exports','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','_removeClearOtherTimer','OFFLINE','function','InsertRangeMoveDownCommandId','UniverDocs','indexOf','EffectRefRangId','transformByState','defineProperty','sessionStatus$','getCollabCursors$','call','RemoteUniscriptService','UniverUi','subscribeEvent','engine','search','getLocalCacheKey','EMAIL_VERIFY_CODE_MISMATCH','getVpScrollXYInfoByPosToVp','defIds','getRangePointData','object','size','_shapes','http://www.w3.org/2000/svg','CommandType','collabStatus.conflict','executionId','_cachedData','ENSURE_SNAPSHOT_EXECUTION','_context','CollaborationUIEventId','isActive','from','YUUMI_ALL_TABLES_IS_INVALID','_localCacheService','_color','_univerInstanceService','_docClipboardService','translate(.97)','none','font','deserializeRangeWithSheet','debounce','AWAITING_WITH_PENDING','startRow','_renderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','ranges','_eventUnsubscribe','1em','YUUMI_NO_CUBOID_FOR_QUESTION','Subject','getTypeOfUnitDisposed$','CollaborationEvent','_onRefRangeChange','getCurrentUnitForType','Shape','_messageService','_handleEvent','getDocRanges','searchParams','redoState','SOCKET_FAILED','_transformUndoRedoStack','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/engine-render','INVITE_CODE_HAS_BEEN_UES','sheetId','saveOfflineData','includes','YUUMI_ASYNCIO_CANCELLED','green.600','_updateSubUnitFromURLParams','use','RemoveRowCommandId','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-icon','_initCommandExecutedListener','_handleJoinEvent','react','IRemoteInstanceService','send','touchDependencies','arc','getColorFromTheme','YUUMI_SUBSCRIPTION_NOT_FOUND','white','black','getRenderById','eventID','_colorAssignService','onLocalMutation','_sheetSkeletonManagerService','INVALID_INVITE_CODE','registerRefRange','_getSheetObject','collaboration-client.offline-data-not-saved','session.collaboration-timeout','mutations','getOffsetConfig','CLOSE_ROOM','@univerjs-pro/collaboration-client','off-line-icon_clip0_910_343','div','PERMISSION_DENIED','0\x200\x2016\x2016','useDependency','COLORS','then','SessionStatus','INotificationService','icon','mapTo','toRgbString','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addClipboardHook','_logService','toStringTag','_urlService','handleInsertRangeMoveDown','IMessageService','has','_collabCursorController','children','MoveRangeCommandId','trim','filter','_anchorDot','handleInsertRangeMoveRight','_initEvent','source','_roomMembers$','transformIMECache','CollaborationDataLoaderController','SheetsSelectionsService','split','AWAITING','UniverProCollaboration','Unknown\x20user','ColorKit','sheetID','createSocket','defs','handleIRemoveCol','_instanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','string','_docTransformIMECacheService','pluginName','length','_docTransformSelectionsService','isTransformMutationFailure','_doCreateSocket','Inject','dispose$','setTimeout','1017JTYMxK','generateRandomId','RevisionService','getTypeOfUnitAdded$','_beforeCloseService','_name','_docSyncEditingCollabCursorService','type','_refreshCollabCursors','91857OHzMwJ','collaboration-client-ui.config','UniverSheets','IUniverInstanceService','jsxs','YUUMI_AI_RUN_FAILED','6lVQXRb','contains','_updateCollabCursors','connectInjector','_registerDependencies','_getScale','entityInit$','body','collabStatus.notCollab','drawWith','selections','doc.mutation.rich-text-editing','WECHAT_HAS_BEEN_BOUND','_hideTimer','setAlpha','M0\x200H16V16H0z','@univerjs/core','_dataLoaderService','_collabCursorState$','ticket','RxDisposable','_hovered','TEXT_RANGE_LAYER_INDEX','unload','LICENSE_MAX_UNITS_EXCEEDED','Plugin','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/docs-ui','debounceTime','_collaborationController','restore','NodePositionConvertToCursor','DEFAULT_WS_SESSION_TICKET_URL','add','onPointerMove$','105016kapljQ','requireSession','UnitStatus','transformMutation','concat','min','on-line-icon_clip0_910_349','useRef','fillText','getSheetId','evenodd','saveTaskMap','endRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url(#$1','combineLatest','_config','Module','CHANGESET_REVISION_CONFILICT','ISnapshotServerService','@univerjs/sheets-ui','url(#off-line-icon_clip0_910_343)','RegularPolygon','blue.400','registerRenderModule','LocaleService','onCommandExecuted','UPDATE_CURSOR','_cursor','Error','_selfUnitIDs','getConfig','getActiveSheet','complete','delete','resize','clearInterval','8688939ptPjtz','collab-client.tooltip.reconnect','serializeRangeWithSheet','isArray','symbol','addObjects','_textBubble','BuiltInUIPart','...','ISocketService','APPLY_REJECT','SetWorksheetActivateCommand','UniverDocsUi','createIdentifier','_render','_scheduleSaving','fromEvent','collabStatus.offline','className','data','univer-flex\x20univer-items-center','values','triggerDblclick','getMemberID','hovered','UniverRpc','MOBILE_VERIFY_CODE_MISMATCH','_localStorageService','transform','SheetSkeletonManagerService','getViewport','setShapeProps','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','measureText','fromEventSubject','_drawAnchor','_toggleOffline','updateOfflineData','_ensureSubject','2600kHUfeJ','subscribe','IDocClipboardService','attrs','deepClone','_entityInit$','code','UNRECOGNIZED','unshift','stringify','getStateCache','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','displayName','LICENSE_DISTRO_REJECTED','USER_NOT_INVITED_CODE','getMember','createInstance','assignAColorForMemberID','collab-text-range-','_anchor','merge','tag','UniverSheetsUi','_status$','_transformService','829dffBCl','hasOwnProperty','_docSkeletonManagerService','CollaborationController','roomMembers','YUUMI_UNABLE_LOAD_URL','urlChange$','replaceState','pushState','cursorInfo','_send','substring','useCallback','CONFLICT','@univerjs/ui','addObject','activeSheet$','rxjs','_scene','apply','transformSelections','mask','_scheduleHeartbeat','_id','origin','currentColor','getCurrentSelections','100xaOKiS','subunit','closePath','_cursorShapes','result','init','_startDocCollabCursor','parse','hide','VIEW_MAIN','m1Prime','_notificationService','addEventListener','_handleHeartbeatEvent','ILocalCacheService','PY_RUNTIME_SCRIPT_ERROR','@univerjs/drawing','_clearOtherTimers','_saveCache','IURLService','undoState','imageSourceType','UNDEFINED','_getAnchorBounding','findNodePositionByCharIndex','getOwnPropertySymbols','Injector','_updateURLWithCurrentState','_setupBeforeClosingHandler','m2Prime','RefRangeService','focused$','APPLY_REVISION_CONFILICT','_online','_registerRenderDependencies','shareReplay','Vector2','_onCursorDelete','column','getSheetObject','replaceDocRanges','loadOfflineData','disposeWithMe','Tools','ThemeService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','UniverNetwork','UNIVER_SHEET','_hover','max','getCollabEntity$','IBeforeCloseService','76538bglnXy','params','LOGIN_FAILED','CollaborationUIEventService','jiqing.500','DocIMEInputManagerService','collaboration.closeRoom','popstate','runId','PENDING','collab-text-anchor-','post','YUUMI_RATE_OVER_LIMIT','isEditing','Rect','collabCursorState$','_onCursorUpdate','setConfig','clipPath','height','TEXT','getFocusedUnit','LICENSE_EXPORT_SIZE_EXCEEDED','with','_injector','status$','_createSocketURL','svg','isTransformMutationsWithChangesetSuccess','UniverDrawing','DOC_RANGE_TYPE','row','unit','error','createElement','collabStatus.fetchMiss','forEach','ONLINE','cursorInfo$','onMouseMove','Workbook','DocSelectionManagerService','newValue','Disposable','_memberService','session.will-retry','handleInsertRow','beginPath','onRendered','@univerjs/network','UNIVER_DOC','NOT_COLLAB','getUnhiddenWorksheets','getOwnPropertyDescriptor','856855LJEHiz','OffLineIcon','_refRangeService','_commandService','set','unitId','push','IImageIoService','removeParam','top','SNAPSHOT_INVALID_SNAPSHOT','history','UNAUTHENTICATED','uni.network.url-service','_initResize','MessageType','toDisposable','BehaviorSubject','sessionTicket','width','Warning','setItem','unitID','getValue','JOIN_ROOM_FAILED','NO_OTHER_CLIENTS_EDITING','makeDirty','purple.300','permission.title','clearTimeout','InsertRangeMoveRightCommandId','@univerjs/design','getSheetBySheetId','_drawTextRange','APPLY_DUPLICATED','INTERNAL_ERROR','color','_initDependencies','collabStatus.syncing','setParam','SNAPSHOT_HAS_BEEN_REMOVED','getUnitId','_init','_collabSessionService','_getSaveTimeout','setStateCache','DesktopCollaborationStatusDisplayController','React','mergeOverrideWithDependencies','textRanges','INVITE_CODE_REQUIRED','entries'];_0x27fa=function(){return _0x3cfac6;};return _0x27fa();}