@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x43a3(_0xf79068,_0x17db00){const _0x23b988=_0x23b9();return _0x43a3=function(_0x43a354,_0x1f5485){_0x43a354=_0x43a354-0x1d0;let _0x124f82=_0x23b988[_0x43a354];return _0x124f82;},_0x43a3(_0xf79068,_0x17db00);}(function(_0x431a8d,_0x1aaf93){const _0x5bddbe=_0x43a3,_0x65bc7a=_0x431a8d();while(!![]){try{const _0x229c02=parseInt(_0x5bddbe(0x2fe))/0x1*(parseInt(_0x5bddbe(0x244))/0x2)+-parseInt(_0x5bddbe(0x433))/0x3*(-parseInt(_0x5bddbe(0x479))/0x4)+-parseInt(_0x5bddbe(0x29a))/0x5+-parseInt(_0x5bddbe(0x30a))/0x6*(parseInt(_0x5bddbe(0x454))/0x7)+parseInt(_0x5bddbe(0x3e0))/0x8*(-parseInt(_0x5bddbe(0x21f))/0x9)+-parseInt(_0x5bddbe(0x32e))/0xa*(-parseInt(_0x5bddbe(0x2e7))/0xb)+-parseInt(_0x5bddbe(0x467))/0xc;if(_0x229c02===_0x1aaf93)break;else _0x65bc7a['push'](_0x65bc7a['shift']());}catch(_0x24a317){_0x65bc7a['push'](_0x65bc7a['shift']());}}}(_0x23b9,0xe00ea),function(_0x26d905,_0x37d0e6){const _0x14df03=_0x43a3;typeof exports=='object'&&typeof module<'u'?_0x37d0e6(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==_0x14df03(0x43e)&&define[_0x14df03(0x375)]?define([_0x14df03(0x3cd),_0x14df03(0x400),_0x14df03(0x21c),_0x14df03(0x2ef),_0x14df03(0x216),'rxjs',_0x14df03(0x37c),_0x14df03(0x329),_0x14df03(0x2fd),_0x14df03(0x278),_0x14df03(0x3b6),_0x14df03(0x392),_0x14df03(0x40b),_0x14df03(0x284),'@univerjs-pro/collaboration',_0x14df03(0x2e5),'@univerjs/engine-formula',_0x14df03(0x47d),_0x14df03(0x28d)],_0x37d0e6):(_0x26d905=typeof globalThis<'u'?globalThis:_0x26d905||self,_0x37d0e6(_0x26d905['UniverProCollaborationClientUi']={},_0x26d905['React'],_0x26d905['UniverProCollaborationClient'],_0x26d905[_0x14df03(0x341)],_0x26d905[_0x14df03(0x1ea)],_0x26d905['rxjs'],_0x26d905[_0x14df03(0x320)],_0x26d905[_0x14df03(0x1da)],_0x26d905[_0x14df03(0x211)],_0x26d905[_0x14df03(0x45a)],_0x26d905['UniverEngineRender'],_0x26d905[_0x14df03(0x443)],_0x26d905[_0x14df03(0x401)],_0x26d905['UniverDrawing'],_0x26d905[_0x14df03(0x30d)],_0x26d905[_0x14df03(0x420)],_0x26d905[_0x14df03(0x28b)],_0x26d905[_0x14df03(0x346)][_0x14df03(0x44c)],_0x26d905[_0x14df03(0x2b0)]));}(this,function(_0x4e7c38,_0x488575,_0x145b5b,_0x2cbbfa,_0x4b3ed5,_0xf7bf00,_0x404916,_0x3dd97b,_0x414f7f,_0x4e9833,_0x5d67f3,_0x55c378,_0x5e3fdb,_0x16c4d3,_0x278572,_0x4f3300,_0x53ba61,_0x302e84,_0x2717c9){'use strict';const _0x311f42=_0x43a3;var _0x4cc9b7=Object[_0x311f42(0x2f6)],_0x5bfc14=(_0x443b38,_0x2a3488,_0x3c4ee3)=>_0x2a3488 in _0x443b38?_0x4cc9b7(_0x443b38,_0x2a3488,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c4ee3}):_0x443b38[_0x2a3488]=_0x3c4ee3,_0xe6c276=(_0x1d2be4,_0x458ebe,_0x3b20e7)=>_0x5bfc14(_0x1d2be4,typeof _0x458ebe!=_0x311f42(0x333)?_0x458ebe+'':_0x458ebe,_0x3b20e7),_0x479841=function(){return _0x479841=Object['assign']||function(_0x277e83){const _0x4af09c=_0x43a3;for(var _0x12bb94,_0x4d6223=0x1,_0x549348=arguments[_0x4af09c(0x2bd)];_0x4d6223<_0x549348;_0x4d6223++){_0x12bb94=arguments[_0x4d6223];for(var _0x207655 in _0x12bb94)Object['prototype'][_0x4af09c(0x406)][_0x4af09c(0x29e)](_0x12bb94,_0x207655)&&(_0x277e83[_0x207655]=_0x12bb94[_0x207655]);}return _0x277e83;},_0x479841['apply'](this,arguments);},_0x570d31=function(_0x13e2e9,_0x168367){const _0x39a0ce=_0x311f42;var _0x44cc80={};for(var _0xcadab2 in _0x13e2e9)Object[_0x39a0ce(0x203)][_0x39a0ce(0x406)][_0x39a0ce(0x29e)](_0x13e2e9,_0xcadab2)&&_0x168367[_0x39a0ce(0x378)](_0xcadab2)<0x0&&(_0x44cc80[_0xcadab2]=_0x13e2e9[_0xcadab2]);if(_0x13e2e9!=null&&typeof Object['getOwnPropertySymbols']==_0x39a0ce(0x43e)){for(var _0x4a7ddc=0x0,_0xcadab2=Object[_0x39a0ce(0x2c7)](_0x13e2e9);_0x4a7ddc<_0xcadab2[_0x39a0ce(0x2bd)];_0x4a7ddc++)_0x168367[_0x39a0ce(0x378)](_0xcadab2[_0x4a7ddc])<0x0&&Object[_0x39a0ce(0x203)][_0x39a0ce(0x33e)][_0x39a0ce(0x29e)](_0x13e2e9,_0xcadab2[_0x4a7ddc])&&(_0x44cc80[_0xcadab2[_0x4a7ddc]]=_0x13e2e9[_0xcadab2[_0x4a7ddc]]);}return _0x44cc80;},_0x460cbb=_0x3dd97b[_0x311f42(0x36f)](function(_0x201b6c,_0x3c4af7){const _0x348a4b=_0x311f42;var _0xe7dc1=_0x201b6c[_0x348a4b(0x2ca)],_0x3262c1=_0x201b6c['id'],_0x506b54=_0x201b6c[_0x348a4b(0x214)],_0x390778=_0x201b6c[_0x348a4b(0x24f)],_0x31edbf=_0x570d31(_0x201b6c,['icon','id',_0x348a4b(0x214),'extend']),_0x3d38c4=_0x348a4b(0x455)[_0x348a4b(0x283)](_0x3262c1,'\x20')[_0x348a4b(0x283)](_0x506b54||'')[_0x348a4b(0x1ef)](),_0x59be3c=_0x3dd97b[_0x348a4b(0x424)]('_'[_0x348a4b(0x283)](_0x51411d()));return _0x406ab4(_0xe7dc1,''[_0x348a4b(0x283)](_0x3262c1),{'defIds':_0xe7dc1[_0x348a4b(0x3a1)],'idSuffix':_0x59be3c[_0x348a4b(0x21e)]},_0x479841({'ref':_0x3c4af7,'className':_0x3d38c4},_0x31edbf),_0x390778);});function _0x406ab4(_0x4193a4,_0x1a0dd0,_0x3d2dd5,_0xed196c,_0x17d6fc){const _0x5a7b21=_0x311f42;return _0x3dd97b['createElement'](_0x4193a4['tag'],_0x479841(_0x479841({'key':_0x1a0dd0},_0x1ca023(_0x4193a4,_0x3d2dd5,_0x17d6fc)),_0xed196c),(_0x3c280e(_0x4193a4,_0x3d2dd5)[_0x5a7b21(0x1dd)]||[])[_0x5a7b21(0x42e)](function(_0x1a6011,_0xfff1bf){const _0x4c806b=_0x5a7b21;return _0x406ab4(_0x1a6011,''[_0x4c806b(0x283)](_0x1a0dd0,'-')['concat'](_0x4193a4['tag'],'-')[_0x4c806b(0x283)](_0xfff1bf),_0x3d2dd5,void 0x0,_0x17d6fc);}));}function _0x1ca023(_0x1f574f,_0x27dc33,_0x4aff54){const _0xb961e9=_0x311f42;var _0x76e636=_0x479841({},_0x1f574f[_0xb961e9(0x439)]);_0x4aff54!=null&&_0x4aff54[_0xb961e9(0x437)]&&_0x76e636['fill']===_0xb961e9(0x437)&&(_0x76e636[_0xb961e9(0x237)]=_0x4aff54[_0xb961e9(0x437)]),_0x1f574f['tag']===_0xb961e9(0x419)&&_0x76e636['id']&&(_0x76e636['id']=_0x76e636['id']+_0x27dc33[_0xb961e9(0x3f8)]),Object[_0xb961e9(0x3e9)](_0x76e636)[_0xb961e9(0x344)](function(_0x2552a9){const _0x56b825=_0xb961e9;var _0xa8ba06=_0x2552a9[0x0],_0x479505=_0x2552a9[0x1];_0xa8ba06===_0x56b825(0x419)&&typeof _0x479505==_0x56b825(0x29c)&&(_0x76e636[_0xa8ba06]=_0x479505[_0x56b825(0x313)](/url\(#(.*)\)/,_0x56b825(0x3fd)[_0x56b825(0x283)](_0x27dc33[_0x56b825(0x3f8)],')')));});var _0x271384=_0x27dc33[_0xb961e9(0x3a1)];return!_0x271384||_0x271384[_0xb961e9(0x2bd)]===0x0||(_0x1f574f['tag']===_0xb961e9(0x46e)&&_0x76e636[_0xb961e9(0x307)]&&(_0x76e636[_0xb961e9(0x307)]=_0x76e636['xlink:href']+_0x27dc33[_0xb961e9(0x3f8)]),Object[_0xb961e9(0x3e9)](_0x76e636)[_0xb961e9(0x344)](function(_0x111ed8){const _0x2db30a=_0xb961e9;var _0x3737a9=_0x111ed8[0x0],_0x264800=_0x111ed8[0x1];typeof _0x264800==_0x2db30a(0x29c)&&(_0x76e636[_0x3737a9]=_0x264800[_0x2db30a(0x313)](/url\(#(.*)\)/,_0x2db30a(0x3fd)[_0x2db30a(0x283)](_0x27dc33[_0x2db30a(0x3f8)],')')));})),_0x76e636;}function _0x3c280e(_0x4b34f8,_0xb70649){const _0x39f10c=_0x311f42;var _0x1e7d42,_0x2198d3=_0xb70649[_0x39f10c(0x3a1)];return!_0x2198d3||_0x2198d3[_0x39f10c(0x2bd)]===0x0?_0x4b34f8:_0x4b34f8['tag']==='defs'&&(!((_0x1e7d42=_0x4b34f8[_0x39f10c(0x1dd)])===null||_0x1e7d42===void 0x0)&&_0x1e7d42[_0x39f10c(0x2bd)])?_0x479841(_0x479841({},_0x4b34f8),{'children':_0x4b34f8[_0x39f10c(0x1dd)][_0x39f10c(0x42e)](function(_0x14e1b9){const _0x131e78=_0x39f10c;return typeof _0x14e1b9['attrs']['id']==_0x131e78(0x29c)&&_0x2198d3&&_0x2198d3[_0x131e78(0x238)](_0x14e1b9['attrs']['id'])?_0x479841(_0x479841({},_0x14e1b9),{'attrs':_0x479841(_0x479841({},_0x14e1b9['attrs']),{'id':_0x14e1b9[_0x131e78(0x439)]['id']+_0xb70649['idSuffix']})}):_0x14e1b9;})}):_0x4b34f8;}function _0x51411d(){const _0x184d2e=_0x311f42;return Math[_0x184d2e(0x255)]()[_0x184d2e(0x3d6)](0x24)[_0x184d2e(0x46a)](0x2,0x8);}_0x460cbb['displayName']=_0x311f42(0x39a);var _0x48217c={'tag':_0x311f42(0x3b1),'attrs':{'xmlns':_0x311f42(0x2c8),'fill':_0x311f42(0x3df),'viewBox':'0\x200\x2016\x2016','width':_0x311f42(0x239),'height':_0x311f42(0x239)},'children':[{'tag':'g','attrs':{'clipPath':_0x311f42(0x3c3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x311f42(0x3d2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x311f42(0x1ed),'attrs':{},'children':[{'tag':_0x311f42(0x41c),'attrs':{'id':_0x311f42(0x2c5)},'children':[{'tag':_0x311f42(0x460),'attrs':{'fill':_0x311f42(0x3e3),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x311f42(0x2c5)]},_0x4bfaf3=_0x3dd97b[_0x311f42(0x36f)](function(_0x409b5e,_0x1c104a){const _0x12b006=_0x311f42;return _0x3dd97b[_0x12b006(0x2c6)](_0x460cbb,Object[_0x12b006(0x246)]({},_0x409b5e,{'id':_0x12b006(0x34d),'ref':_0x1c104a,'icon':_0x48217c}));});_0x4bfaf3[_0x311f42(0x2e3)]=_0x311f42(0x215);var _0x1b2fb5={'tag':_0x311f42(0x3b1),'attrs':{'xmlns':_0x311f42(0x2c8),'fill':'none','viewBox':_0x311f42(0x23c),'width':_0x311f42(0x239),'height':_0x311f42(0x239)},'children':[{'tag':'g','attrs':{'clipPath':_0x311f42(0x257)},'children':[{'tag':_0x311f42(0x460),'attrs':{'stroke':_0x311f42(0x21d),'d':_0x311f42(0x34c),'strokeLinecap':'round','strokeLinejoin':_0x311f42(0x3d2),'strokeWidth':1.2}}]},{'tag':_0x311f42(0x1ed),'attrs':{},'children':[{'tag':_0x311f42(0x41c),'attrs':{'id':_0x311f42(0x200)},'children':[{'tag':_0x311f42(0x460),'attrs':{'fill':'white','d':_0x311f42(0x38e),'transform':_0x311f42(0x33f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2815ce=_0x3dd97b[_0x311f42(0x36f)](function(_0x3cf859,_0x1c4ac2){const _0x22ccd1=_0x311f42;return _0x3dd97b[_0x22ccd1(0x2c6)](_0x460cbb,Object[_0x22ccd1(0x246)]({},_0x3cf859,{'id':_0x22ccd1(0x1d0),'ref':_0x1c4ac2,'icon':_0x1b2fb5}));});_0x2815ce[_0x311f42(0x2e3)]=_0x311f42(0x428);function _0xdc6f3a(_0x2bb847){const _0x1d3d5a=_0x311f42;switch(_0x2bb847){case _0x145b5b[_0x1d3d5a(0x422)]['OFFLINE']:return _0x1d3d5a(0x40d);case _0x145b5b[_0x1d3d5a(0x422)]['CONFLICT']:return _0x1d3d5a(0x474);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x3f6)]:return _0x1d3d5a(0x39d);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x271)]:return _0x1d3d5a(0x309);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x398)]:case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x332)]:return _0x1d3d5a(0x3a5);case _0x145b5b['CollaborationStatus']['SYNCED']:case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x2e8)]:return _0x1d3d5a(0x2b5);}}function _0xbba9d(_0x2e8304){const _0x2a5c50=_0x311f42,{status$:_0x5c2775}=_0x2e8304,_0x154436=_0x4b3ed5[_0x2a5c50(0x210)](_0x5c2775,_0x145b5b[_0x2a5c50(0x422)][_0x2a5c50(0x271)]),_0xc547ed=_0x4b3ed5[_0x2a5c50(0x20e)](_0x2cbbfa[_0x2a5c50(0x3e6)]),_0x28b8a9=_0x4b3ed5[_0x2a5c50(0x20e)](_0x145b5b[_0x2a5c50(0x2e2)]),_0x304441=_0x154436!==_0x145b5b[_0x2a5c50(0x422)]['OFFLINE'],_0x258434=_0xc547ed['t'](_0xdc6f3a(_0x154436)),_0x3040da=_0x304441?_0x488575[_0x2a5c50(0x22c)](_0x2815ce,{}):_0x488575[_0x2a5c50(0x22c)](_0x4bfaf3,{}),_0x5cabf9=_0x3dd97b[_0x2a5c50(0x23e)](()=>{const _0x4f37ad=_0x2a5c50;_0x304441||_0x28b8a9[_0x4f37ad(0x252)]();},[_0x304441,_0x28b8a9]);function _0x4c85c7(){const _0x4cb3f0=_0x2a5c50;return _0x488575[_0x4cb3f0(0x25d)]('div',{'className':_0x4cb3f0(0x1f2),'onClick':_0x5cabf9,'children':[_0x488575['jsx'](_0x4cb3f0(0x28c),{'className':_0x404916[_0x4cb3f0(0x409)](_0x4cb3f0(0x247),{'univer-text-green-500':_0x304441,'univer-text-red-500':!_0x304441}),'children':_0x3040da}),_0x488575[_0x4cb3f0(0x22c)](_0x4cb3f0(0x28c),{'className':_0x4cb3f0(0x3fc),'children':_0x258434})]});}return _0x304441?_0x4c85c7():_0x488575[_0x2a5c50(0x22c)](_0x404916[_0x2a5c50(0x1d9)],{'title':_0xc547ed['t'](_0x2a5c50(0x27b)),'children':_0x4c85c7()});}var _0x5d3f97=Object['getOwnPropertyDescriptor'],_0x41a9e=(_0x3e3944,_0x529b09,_0x2d90e,_0x42ae4e)=>{const _0x2d6272=_0x311f42;for(var _0x166648=_0x42ae4e>0x1?void 0x0:_0x42ae4e?_0x5d3f97(_0x529b09,_0x2d90e):_0x529b09,_0x14bee1=_0x3e3944[_0x2d6272(0x2bd)]-0x1,_0x11d5ae;_0x14bee1>=0x0;_0x14bee1--)(_0x11d5ae=_0x3e3944[_0x14bee1])&&(_0x166648=_0x11d5ae(_0x166648)||_0x166648);return _0x166648;},_0x51ae24=(_0xe3cab9,_0x13da2c)=>(_0x50a7e4,_0x4c129d)=>_0x13da2c(_0x50a7e4,_0x4c129d,_0xe3cab9);_0x4e7c38[_0x311f42(0x321)]=class extends _0x2cbbfa['Disposable']{constructor(_0x1ede02,_0x36a59b,_0x44311b,_0x4c5d80){const _0x2c0fdb=_0x311f42;super(),_0xe6c276(this,_0x2c0fdb(0x2cc),new _0xf7bf00['BehaviorSubject'](_0x145b5b['CollaborationStatus'][_0x2c0fdb(0x271)])),(this[_0x2c0fdb(0x462)]=_0x1ede02,this[_0x2c0fdb(0x3f1)]=_0x36a59b,this[_0x2c0fdb(0x328)]=_0x44311b,this[_0x2c0fdb(0x3e4)]=_0x4c5d80,this[_0x2c0fdb(0x43b)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x398613=_0x311f42;this[_0x398613(0x32d)](this[_0x398613(0x462)][_0x398613(0x236)][_0x398613(0x2b2)](_0xf7bf00['switchMap'](()=>{const _0x51cccb=_0x398613,_0x54e172=this[_0x51cccb(0x462)][_0x51cccb(0x202)]();return _0x54e172?this['_collaborationController']['getCollabEntity$'](_0x54e172[_0x51cccb(0x3af)]()):_0xf7bf00['of'](null);}),_0xf7bf00[_0x398613(0x303)](_0x116200=>_0x116200?_0x116200[_0x398613(0x2bc)]:_0xf7bf00['of'](_0x145b5b[_0x398613(0x422)][_0x398613(0x271)])))[_0x398613(0x44d)](_0xecb2c0=>{this['_status$']['next'](_0xecb2c0);}));}['_initStatusComponent'](){const _0x9ce96f=_0x311f42;this[_0x9ce96f(0x32d)](this[_0x9ce96f(0x3e4)]['registerComponent'](_0x4b3ed5[_0x9ce96f(0x457)][_0x9ce96f(0x31d)],()=>_0x4b3ed5[_0x9ce96f(0x46f)](_0x5a2124({'status$':this[_0x9ce96f(0x2cc)][_0x9ce96f(0x253)]()}),this[_0x9ce96f(0x3f1)])));}},_0x4e7c38[_0x311f42(0x321)]=_0x41a9e([_0x51ae24(0x0,_0x2cbbfa[_0x311f42(0x3fb)]),_0x51ae24(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x338)])),_0x51ae24(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b['CollaborationController'])),_0x51ae24(0x3,_0x4b3ed5[_0x311f42(0x2f3)])],_0x4e7c38[_0x311f42(0x321)]);function _0x5a2124(_0x4019bf){const {status$:_0x324373}=_0x4019bf;return function(){const _0x4b576a=_0x43a3;return _0x488575[_0x4b576a(0x22c)](_0xbba9d,{'status$':_0x324373});};}const _0x530712=_0x2cbbfa[_0x311f42(0x387)]('uni.network.url-service');var _0x6121a=Object[_0x311f42(0x3d4)],_0x13b876=(_0x4e502c,_0x11cce5,_0x47e075,_0x2f6de0)=>{const _0x36bcf6=_0x311f42;for(var _0x583168=_0x2f6de0>0x1?void 0x0:_0x2f6de0?_0x6121a(_0x11cce5,_0x47e075):_0x11cce5,_0x175f1a=_0x4e502c[_0x36bcf6(0x2bd)]-0x1,_0x345635;_0x175f1a>=0x0;_0x175f1a--)(_0x345635=_0x4e502c[_0x175f1a])&&(_0x583168=_0x345635(_0x583168)||_0x583168);return _0x583168;},_0x55bf38=(_0x12bfe9,_0x5d91fe)=>(_0x242cbb,_0x2a9c65)=>_0x5d91fe(_0x242cbb,_0x2a9c65,_0x12bfe9);_0x4e7c38[_0x311f42(0x3bf)]=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x290d87,_0x313fb1,_0x368bfc,_0x33445e,_0x2e4f50){const _0x9e3f39=_0x311f42;super(),this[_0x9e3f39(0x37e)]=_0x290d87,this['_logService']=_0x313fb1,this[_0x9e3f39(0x35c)]=_0x368bfc,this[_0x9e3f39(0x37d)]=_0x33445e,_0x2e4f50?_0x2e4f50==null||_0x2e4f50[_0x9e3f39(0x453)]()[_0x9e3f39(0x478)](()=>this[_0x9e3f39(0x2c0)]()):(this[_0x9e3f39(0x47c)][_0x9e3f39(0x28f)](_0x9e3f39(0x3f5),_0x9e3f39(0x24b)),this[_0x9e3f39(0x2c0)]());}async['_init'](){const _0x207a7c=_0x311f42,_0x335325=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x201)),_0x10562e=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x340)),_0x76676c=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x425));if(!_0x335325||!_0x10562e){this[_0x207a7c(0x47c)][_0x207a7c(0x28f)](_0x207a7c(0x3f5),_0x207a7c(0x466));return;}const _0xb0c06c=await this[_0x207a7c(0x37d)][_0x207a7c(0x1d7)](_0x335325,Number(_0x10562e),_0x76676c);_0xb0c06c&&_0xb0c06c instanceof _0x2cbbfa[_0x207a7c(0x395)]&&this[_0x207a7c(0x385)](_0xb0c06c);}async['_setupSubUnitSync'](_0x4c0430){const _0x3d7298=_0x311f42;await this['_updateSubUnitFromURLParams'](_0x4c0430),_0x4c0430[_0x3d7298(0x3dc)][_0x3d7298(0x2b2)](_0xf7bf00['takeUntil'](this[_0x3d7298(0x289)]))[_0x3d7298(0x44d)](_0x57edb2=>{const _0x4e0e4e=_0x3d7298;_0x57edb2&&this[_0x4e0e4e(0x301)](_0x57edb2);}),this[_0x3d7298(0x37e)]['urlChange$'][_0x3d7298(0x2b2)](_0xf7bf00['takeUntil'](this['dispose$']))[_0x3d7298(0x44d)](()=>this[_0x3d7298(0x43a)](_0x4c0430));}[_0x311f42(0x301)](_0x4a29cc,_0x582547=!0x1){const _0x554f79=_0x311f42,_0x187e4d=this['_urlService'][_0x554f79(0x23b)]('subunit');_0x4a29cc[_0x554f79(0x2d7)]()!==_0x187e4d&&this[_0x554f79(0x37e)]['setParam'](_0x554f79(0x425),_0x4a29cc[_0x554f79(0x2d7)](),_0x582547);}async[_0x311f42(0x43a)](_0x88b74b){const _0x3bc872=_0x311f42;var _0x52b992;const _0x4de967=this[_0x3bc872(0x37e)]['getParam'](_0x3bc872(0x425));if(!_0x4de967||!_0x88b74b['getSheetBySheetId'](_0x4de967)){const _0x351045=_0x88b74b[_0x3bc872(0x217)]()[0x0],_0x1e8d71=_0x88b74b['getSheetBySheetId'](_0x351045);if(!_0x1e8d71)return;this[_0x3bc872(0x301)](_0x1e8d71,!0x0),await this['_commandService']['executeCommand'](_0x4e9833[_0x3bc872(0x461)]['id'],{'unitId':_0x88b74b[_0x3bc872(0x3af)](),'subUnitId':_0x351045});return;}((_0x52b992=_0x88b74b['getActiveSheet']())==null?void 0x0:_0x52b992[_0x3bc872(0x2d7)]())!==_0x4de967&&await this[_0x3bc872(0x35c)][_0x3bc872(0x38a)](_0x4e9833[_0x3bc872(0x461)]['id'],{'unitId':_0x88b74b[_0x3bc872(0x3af)](),'subUnitId':_0x4de967});}},_0x4e7c38['CollaborationDataLoaderController']=_0x13b876([_0x55bf38(0x0,_0x530712),_0x55bf38(0x1,_0x2cbbfa['ILogService']),_0x55bf38(0x2,_0x2cbbfa[_0x311f42(0x413)]),_0x55bf38(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b['DataLoaderService'])),_0x55bf38(0x4,_0x2cbbfa[_0x311f42(0x39b)](_0x414f7f[_0x311f42(0x259)]))],_0x4e7c38[_0x311f42(0x3bf)]);var _0x4e6f28=Object[_0x311f42(0x3d4)],_0x35fb37=(_0x10b255,_0x3bd65e,_0x3c26f7,_0x19247d)=>{for(var _0x3b0051=_0x19247d>0x1?void 0x0:_0x19247d?_0x4e6f28(_0x3bd65e,_0x3c26f7):_0x3bd65e,_0x2455d4=_0x10b255['length']-0x1,_0x44fc7d;_0x2455d4>=0x0;_0x2455d4--)(_0x44fc7d=_0x10b255[_0x2455d4])&&(_0x3b0051=_0x44fc7d(_0x3b0051)||_0x3b0051);return _0x3b0051;},_0x4baf66=(_0x45a243,_0x2f54c1)=>(_0x1cd304,_0x44ed4b)=>_0x2f54c1(_0x1cd304,_0x44ed4b,_0x45a243);let _0x1aa902=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x34bdc8,_0x4bdd7d){const _0x21c606=_0x311f42;super(),this[_0x21c606(0x37a)]=_0x34bdc8,this[_0x21c606(0x208)]=_0x4bdd7d,this[_0x21c606(0x2c0)]();}['_init'](){const _0xd4d256=_0x311f42,_0x5b3a91=this;this['disposeWithMe'](this['_docClipboardService'][_0xd4d256(0x312)]({'onBeforePasteImage':async _0x4b4817=>{const _0x4a1876=_0xd4d256,_0x3fe593=await _0x5b3a91[_0x4a1876(0x208)][_0x4a1876(0x3c4)](_0x4b4817);return _0x3fe593?{'source':_0x3fe593[_0x4a1876(0x204)],'imageSourceType':_0x3fe593[_0x4a1876(0x306)]}:null;}}));}};_0x1aa902=_0x35fb37([_0x4baf66(0x0,_0x5e3fdb[_0x311f42(0x46d)]),_0x4baf66(0x1,_0x16c4d3[_0x311f42(0x383)])],_0x1aa902);const _0x392581=[_0x311f42(0x417),_0x311f42(0x24a),_0x311f42(0x364),_0x311f42(0x22f),_0x311f42(0x308),_0x311f42(0x445)];class _0x5a339c extends _0x2cbbfa['Disposable']{constructor(){const _0x18e06c=_0x311f42;super(...arguments),_0xe6c276(this,_0x18e06c(0x27a),new Map()),_0xe6c276(this,_0x18e06c(0x384),0x0);}[_0x311f42(0x209)](_0x7713d9){const _0x3c9082=_0x311f42;if(this[_0x3c9082(0x27a)][_0x3c9082(0x40e)](_0x7713d9))return this[_0x3c9082(0x27a)][_0x3c9082(0x2de)](_0x7713d9);const _0x13f812=_0x392581[this['_colorIndex']];return this['_colorIndex']=(this[_0x3c9082(0x384)]+0x1)%_0x392581[_0x3c9082(0x2bd)],this[_0x3c9082(0x27a)]['set'](_0x7713d9,_0x13f812),_0x13f812;}}function _0x559016(_0x26011c){const _0x33abab=_0x311f42;let _0x12b549='';for(const _0x65ff82 of _0x26011c){const {startOffset:_0x46f9c0,endOffset:_0x1d0fb3,isActive:_0x5c23cc,rangeType:_0x13dc60,segmentId:_0x377c3f,segmentPage:_0x540fac}=_0x65ff82;_0x12b549[_0x33abab(0x2bd)]&&(_0x12b549+=','),_0x12b549+=_0x46f9c0+':'+_0x1d0fb3+':'+(_0x5c23cc?'1':'0')+':'+_0x13dc60+':'+_0x377c3f+':'+_0x540fac;}return _0x12b549;}function _0xd0255c(_0x3905f6){const _0x51499c=_0x311f42,_0x47eba7=_0x3905f6[_0x51499c(0x2da)](','),_0x4efca8=[];for(const _0x5835bc of _0x47eba7){const [_0x4f6878,_0x25404f,_0x50dbf1,_0x46df4e,_0x52f09e,_0x437471]=_0x5835bc['split'](':');_0x4efca8[_0x51499c(0x421)]({'startOffset':Number(_0x4f6878),'endOffset':Number(_0x25404f),'collapsed':_0x4f6878===_0x25404f,'isActive':_0x50dbf1==='1','rangeType':_0x46df4e===_0x2cbbfa[_0x51499c(0x22b)][_0x51499c(0x225)]?_0x2cbbfa['DOC_RANGE_TYPE'][_0x51499c(0x225)]:_0x2cbbfa[_0x51499c(0x22b)][_0x51499c(0x2c1)],'segmentId':typeof _0x52f09e==_0x51499c(0x29c)?String(_0x52f09e):'','segmentPage':Number(_0x437471!=null?_0x437471:-0x1)});}return _0x4efca8[_0x51499c(0x287)](_0x1c1f8b=>_0x1c1f8b['isActive'])||(_0x4efca8[0x0]['isActive']=!0x0),_0x4efca8;}class _0x3e1c93 extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(){const _0x1b2db9=_0x311f42;super(...arguments),_0xe6c276(this,_0x1b2db9(0x3f2),new _0xf7bf00[(_0x1b2db9(0x1e9))](null)),_0xe6c276(this,'collabCursorState$',this[_0x1b2db9(0x3f2)][_0x1b2db9(0x253)]());}[_0x311f42(0x334)](_0x2648a5){const _0x282be9=_0x311f42,{unitID:_0x308ca2,memberID:_0x238a87,textRanges:_0x2aaac2}=_0x2648a5,_0x258348=_0x559016(_0x2aaac2);if(_0x258348==='')return;const _0x26403d={'unitID':_0x308ca2,'memberID':_0x238a87,'selection':_0x258348};this['_collabCursorState$'][_0x282be9(0x38c)](_0x26403d);}}var _0x143d81=Object['getOwnPropertyDescriptor'],_0x261f00=(_0x36baca,_0x14cb79,_0x6855cd,_0x11f0a7)=>{for(var _0x16260c=_0x11f0a7>0x1?void 0x0:_0x11f0a7?_0x143d81(_0x14cb79,_0x6855cd):_0x14cb79,_0x57068b=_0x36baca['length']-0x1,_0x271c93;_0x57068b>=0x0;_0x57068b--)(_0x271c93=_0x36baca[_0x57068b])&&(_0x16260c=_0x271c93(_0x16260c)||_0x16260c);return _0x16260c;},_0x426b78=(_0x42ef08,_0x9e0094)=>(_0x1858b8,_0x37b35d)=>_0x9e0094(_0x1858b8,_0x37b35d,_0x42ef08);const _0x5b7c2b=0x12c,_0xab193b=0x64;let _0xcd798b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x459930,_0x1bd2f5,_0x293155,_0x42bd2c,_0x231f92,_0x4ff2e2,_0x6b82a,_0x24e92c,_0x1048dd){const _0x8348d9=_0x311f42;super(),_0xe6c276(this,'_online',!0x1),_0xe6c276(this,_0x8348d9(0x2c0),!0x1),_0xe6c276(this,_0x8348d9(0x411),new _0xf7bf00['BehaviorSubject'](new Map())),_0xe6c276(this,'cursorInfo$',this[_0x8348d9(0x411)]['asObservable']()),_0xe6c276(this,'_roomMembers$',new _0xf7bf00['BehaviorSubject']([])),_0xe6c276(this,_0x8348d9(0x362),this[_0x8348d9(0x221)][_0x8348d9(0x2b2)](_0xf7bf00['debounceTime'](_0x5b7c2b))),_0xe6c276(this,_0x8348d9(0x235),_0x2cbbfa['debounce'](_0x428882=>{const _0xb857a6=_0x8348d9,_0x7e15db={'eventID':_0x278572[_0xb857a6(0x27e)][_0xb857a6(0x42d)],'data':{'unitID':this[_0xb857a6(0x3b8)],'memberID':this[_0xb857a6(0x429)][_0xb857a6(0x1f8)](),'selection':_0x559016(_0x428882)}};this[_0xb857a6(0x429)][_0xb857a6(0x299)](_0x7e15db,this[_0xb857a6(0x3b8)]);},_0xab193b)),(this[_0x8348d9(0x3b8)]=_0x459930,this[_0x8348d9(0x429)]=_0x1bd2f5,this[_0x8348d9(0x3f1)]=_0x293155,this[_0x8348d9(0x254)]=_0x42bd2c,this[_0x8348d9(0x2ad)]=_0x231f92,this['_syncEditingCollabCursorService']=_0x4ff2e2,this[_0x8348d9(0x281)]=_0x6b82a,this[_0x8348d9(0x462)]=_0x24e92c,this[_0x8348d9(0x35c)]=_0x1048dd);}get[_0x311f42(0x45d)](){const _0x28d610=_0x311f42;return this[_0x28d610(0x411)][_0x28d610(0x3ed)]();}get['roomMembers'](){const _0x21fc3a=_0x311f42;return this[_0x21fc3a(0x221)][_0x21fc3a(0x3ed)]();}[_0x311f42(0x22e)](){const _0x482dbd=_0x311f42;super[_0x482dbd(0x22e)](),this[_0x482dbd(0x411)][_0x482dbd(0x38c)](new Map()),this['_cursorInfo$'][_0x482dbd(0x249)](),this[_0x482dbd(0x221)][_0x482dbd(0x38c)]([]),this[_0x482dbd(0x221)][_0x482dbd(0x249)]();}[_0x311f42(0x436)](){const _0x4861c6=_0x311f42;this[_0x4861c6(0x2c0)]||(this[_0x4861c6(0x2c0)]=!0x0,this[_0x4861c6(0x429)][_0x4861c6(0x274)][_0x4861c6(0x2b2)](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x1dbf37=>{const _0x43e777=_0x4861c6;_0x1dbf37===_0x145b5b['SessionStatus']['ONLINE']?this[_0x43e777(0x27c)]():this['_toggleOffline']();}),this[_0x4861c6(0x429)][_0x4861c6(0x250)]['pipe'](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x2fa2c5=>{const _0x1b62ed=_0x4861c6,_0x21924e=_0x2fa2c5[_0x1b62ed(0x2a0)];_0x21924e===_0x278572['CollaborationEvent'][_0x1b62ed(0x42d)]&&this[_0x1b62ed(0x358)](_0x2fa2c5),_0x21924e===_0x278572[_0x1b62ed(0x27e)]['USERS_LEAVE']&&this[_0x1b62ed(0x343)](_0x2fa2c5);}),this[_0x4861c6(0x32d)](this['_commandService'][_0x4861c6(0x394)](_0x26b46e=>{const _0x1a3eb8=_0x4861c6,_0x945e33=_0x26b46e['params'];_0x945e33!=null&&this['_online']&&_0x26b46e['id']===_0x4f3300[_0x1a3eb8(0x1d5)]['id']&&_0x945e33[_0x1a3eb8(0x427)]===this[_0x1a3eb8(0x3b8)]&&_0x945e33[_0x1a3eb8(0x2ab)]===!0x1&&_0x945e33[_0x1a3eb8(0x372)][_0x1a3eb8(0x2bd)]>0x0&&this[_0x1a3eb8(0x235)](_0x945e33[_0x1a3eb8(0x372)]);})),this[_0x4861c6(0x3ec)][_0x4861c6(0x2b8)]['pipe'](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x1422fd=>{const _0x463bb2=_0x4861c6;if((_0x1422fd==null?void 0x0:_0x1422fd[_0x463bb2(0x3b8)])!==this['unitID'])return;const _0x4c7c38={'eventID':_0x278572[_0x463bb2(0x27e)]['UPDATE_CURSOR'],'data':_0x1422fd};this[_0x463bb2(0x358)](_0x4c7c38);}),this[_0x4861c6(0x32d)](this[_0x4861c6(0x35c)][_0x4861c6(0x394)](_0x21c5d8=>{const _0x4cd5a1=_0x4861c6;if(_0x21c5d8['params']==null)return;const _0x2c47e0=_0x21c5d8[_0x4cd5a1(0x3fa)];if(_0x21c5d8['id']!==_0x4f3300[_0x4cd5a1(0x304)]['id']||_0x2c47e0['unitId']!==this[_0x4cd5a1(0x3b8)])return;const _0x2df772={'id':_0x4cd5a1(0x1d3),'params':_0x2c47e0},_0x296530=this[_0x4cd5a1(0x45d)];for(const [_0x24c2bb,_0xed5fdd]of _0x296530){const _0x15e9b0={'id':_0x4cd5a1(0x1d3),'params':{'unitId':this[_0x4cd5a1(0x3b8)],'actions':null,'textRanges':_0xed5fdd[_0x4cd5a1(0x372)]}},_0xdb573a=this[_0x4cd5a1(0x281)][_0x4cd5a1(0x2b4)](_0x2df772,_0x15e9b0,!0x1);if(_0x278572[_0x4cd5a1(0x349)](_0xdb573a))throw _0xdb573a['error'];_0x296530[_0x4cd5a1(0x1d6)](_0x24c2bb,{..._0xed5fdd,'ranges':_0xdb573a[_0x4cd5a1(0x2a9)][_0x4cd5a1(0x3fa)][_0x4cd5a1(0x34a)]});}queueMicrotask(()=>{const _0x9530d7=_0x4cd5a1;this[_0x9530d7(0x411)][_0x9530d7(0x38c)](_0x296530);});})));}[_0x311f42(0x358)](_0x5312c6){const _0x204481=_0x311f42;var _0x124c88,_0x5226ae;const {memberID:_0x517167,selection:_0x37361a}=_0x5312c6['data'],_0x51f074=_0xd0255c(_0x37361a),_0x1983a5=(_0x5226ae=(_0x124c88=this[_0x204481(0x2ad)][_0x204481(0x261)](this[_0x204481(0x3b8)],_0x517167))==null?void 0x0:_0x124c88['name'])!=null?_0x5226ae:_0x204481(0x3cb),_0x2750d3={'color':this[_0x204481(0x254)]['assignAColorForMemberID'](_0x517167),'name':_0x1983a5,'ranges':_0x51f074},_0xa82e78=this[_0x204481(0x45d)];_0xa82e78[_0x204481(0x1d6)](_0x517167,_0x2750d3),this['_cursorInfo$'][_0x204481(0x38c)](_0xa82e78);}[_0x311f42(0x343)](_0x466cd4){const _0x57ee6c=_0x311f42,{memberID:_0x1497b1}=_0x466cd4[_0x57ee6c(0x240)],_0x2fc2d8=this[_0x57ee6c(0x45d)];_0x2fc2d8[_0x57ee6c(0x292)](_0x1497b1),this['_cursorInfo$'][_0x57ee6c(0x38c)](_0x2fc2d8);}['_toggleOnline'](){const _0xbf6595=_0x311f42;var _0x558a9f;if(this[_0xbf6595(0x260)]=!0x0,((_0x558a9f=this['_univerInstanceService'][_0xbf6595(0x202)]())==null?void 0x0:_0x558a9f[_0xbf6595(0x3af)]())!==this[_0xbf6595(0x3b8)])return;const _0x4563fc=this[_0xbf6595(0x3f1)][_0xbf6595(0x2de)](_0x4f3300['DocSelectionManagerService'])[_0xbf6595(0x3e1)]();Array[_0xbf6595(0x46b)](_0x4563fc)&&_0x4563fc[_0xbf6595(0x2bd)]>0x0&&this[_0xbf6595(0x235)](_0x4563fc);}[_0x311f42(0x2d5)](){const _0x395fa2=_0x311f42;this[_0x395fa2(0x260)]=!0x1;}};_0xcd798b=_0x261f00([_0x426b78(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['Injector'])),_0x426b78(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x5a339c)),_0x426b78(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x37f)])),_0x426b78(0x5,_0x2cbbfa['Inject'](_0x3e1c93)),_0x426b78(0x6,_0x278572['ITransformService']),_0x426b78(0x7,_0x2cbbfa['IUniverInstanceService']),_0x426b78(0x8,_0x2cbbfa['ICommandService'])],_0xcd798b);var _0x25e208=Object[_0x311f42(0x3d4)],_0x4df843=(_0x4d2c14,_0x2a9b63,_0x17813d,_0x3964d0)=>{for(var _0x258ff9=_0x3964d0>0x1?void 0x0:_0x3964d0?_0x25e208(_0x2a9b63,_0x17813d):_0x2a9b63,_0x22e03d=_0x4d2c14['length']-0x1,_0x4769b3;_0x22e03d>=0x0;_0x22e03d--)(_0x4769b3=_0x4d2c14[_0x22e03d])&&(_0x258ff9=_0x4769b3(_0x258ff9)||_0x258ff9);return _0x258ff9;},_0x18a6b8=(_0x3698bf,_0xb06a86)=>(_0x3fa60a,_0x12a373)=>_0xb06a86(_0x3fa60a,_0x12a373,_0x3698bf);const _0x4a5d17=0x12c,_0x3b3f6f=0x64,_0x11aee2=()=>{let _0x51f765=[],_0x289269=!0x1;return _0x44ed16=>{const _0x36e4f0=_0x43a3;_0x51f765[_0x36e4f0(0x421)](_0x44ed16),_0x289269||(_0x289269=!0x0,setTimeout(()=>{const _0x160a3a=_0x36e4f0;_0x51f765[_0x160a3a(0x344)](_0x298763=>_0x298763()),_0x51f765=[],_0x289269=!0x1;}));};};let _0x369713=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0xb078f8,_0x2bb5fd,_0x42bed5,_0xeeb007,_0x57a273,_0xb4c3cb,_0x1da68b,_0x57cc29){const _0x576e7c=_0x311f42;super(),_0xe6c276(this,_0x576e7c(0x260),!0x1),_0xe6c276(this,_0x576e7c(0x2c0),!0x1),_0xe6c276(this,_0x576e7c(0x411),new _0xf7bf00['BehaviorSubject'](new Map())),_0xe6c276(this,_0x576e7c(0x38b),this[_0x576e7c(0x411)][_0x576e7c(0x253)]()),_0xe6c276(this,_0x576e7c(0x221),new _0xf7bf00[(_0x576e7c(0x1e9))]([])),_0xe6c276(this,_0x576e7c(0x362),this[_0x576e7c(0x221)][_0x576e7c(0x2b2)](_0xf7bf00[_0x576e7c(0x248)](_0x4a5d17))),_0xe6c276(this,'_updateLocalCursor',_0x2cbbfa[_0x576e7c(0x3bb)]((_0x11fd5a,_0x3667fd)=>{const _0x1ba020=_0x576e7c,_0xb8add3={'eventID':_0x278572[_0x1ba020(0x27e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1ba020(0x3b8)],'memberID':this[_0x1ba020(0x429)][_0x1ba020(0x1f8)](),'selection':_0x53ba61[_0x1ba020(0x32c)](_0x11fd5a,_0x3667fd[_0x1ba020(0x465)])}};this[_0x1ba020(0x429)][_0x1ba020(0x299)](_0xb8add3,this[_0x1ba020(0x3b8)]);},_0x3b3f6f)),(this[_0x576e7c(0x3b8)]=_0xb078f8,this[_0x576e7c(0x429)]=_0x2bb5fd,this[_0x576e7c(0x3f1)]=_0x42bed5,this[_0x576e7c(0x254)]=_0xeeb007,this[_0x576e7c(0x2ad)]=_0x57a273,this[_0x576e7c(0x462)]=_0xb4c3cb,this[_0x576e7c(0x35c)]=_0x1da68b,this[_0x576e7c(0x1e6)]=_0x57cc29);}get[_0x311f42(0x45d)](){const _0x5f4c39=_0x311f42;return this[_0x5f4c39(0x411)][_0x5f4c39(0x3ed)]();}get['roomMembers'](){const _0x1721ee=_0x311f42;return this['_roomMembers$'][_0x1721ee(0x3ed)]();}[_0x311f42(0x22e)](){const _0x279a87=_0x311f42;super['dispose'](),this['_cursorInfo$'][_0x279a87(0x38c)](new Map()),this[_0x279a87(0x411)][_0x279a87(0x249)](),this[_0x279a87(0x221)]['next']([]),this[_0x279a87(0x221)][_0x279a87(0x249)]();}[_0x311f42(0x436)](){const _0x20f96f=_0x311f42;this['_init']||(this[_0x20f96f(0x2c0)]=!0x0,this[_0x20f96f(0x429)]['sessionStatus$'][_0x20f96f(0x2b2)](_0xf7bf00[_0x20f96f(0x36b)](this['dispose$']))[_0x20f96f(0x44d)](_0x59eecf=>{const _0x121942=_0x20f96f;_0x59eecf===_0x145b5b[_0x121942(0x389)][_0x121942(0x2f8)]?this[_0x121942(0x27c)]():this['_toggleOffline']();}),this[_0x20f96f(0x429)][_0x20f96f(0x250)]['pipe'](_0xf7bf00[_0x20f96f(0x36b)](this[_0x20f96f(0x289)]))[_0x20f96f(0x44d)](_0x21e07f=>{const _0x3570a8=_0x20f96f,_0x49a43d=_0x21e07f[_0x3570a8(0x2a0)];_0x49a43d===_0x278572[_0x3570a8(0x27e)][_0x3570a8(0x42d)]&&this[_0x3570a8(0x358)](_0x21e07f),_0x49a43d===_0x278572[_0x3570a8(0x27e)][_0x3570a8(0x293)]&&this['_onCursorDelete'](_0x21e07f);}),this[_0x20f96f(0x3b4)](),this[_0x20f96f(0x32d)](this[_0x20f96f(0x35c)][_0x20f96f(0x394)](_0x423d37=>{const _0x5f0326=_0x20f96f;if(this['_online']&&_0x423d37['id']===_0x4e9833[_0x5f0326(0x35b)]['id']&&_0x423d37[_0x5f0326(0x3fa)]['unitId']===this[_0x5f0326(0x3b8)]){const _0xa918dd=_0x423d37[_0x5f0326(0x3fa)];this[_0x5f0326(0x235)](_0xa918dd[_0x5f0326(0x1fd)],_0xa918dd[_0x5f0326(0x2d8)][0x0]);}})));}[_0x311f42(0x358)](_0x202c1c){const _0x1d88c2=_0x311f42;var _0xaf5c87,_0x2ace00;const {memberID:_0x18efe5,selection:_0x2f06b5}=_0x202c1c[_0x1d88c2(0x240)],{sheetName:_0x51d9dd,range:_0x72635e}=_0x53ba61[_0x1d88c2(0x224)](_0x2f06b5),_0x3bfa9e={'name':(_0x2ace00=(_0xaf5c87=this[_0x1d88c2(0x2ad)][_0x1d88c2(0x261)](this['unitID'],_0x18efe5))==null?void 0x0:_0xaf5c87[_0x1d88c2(0x3cc)])!=null?_0x2ace00:_0x1d88c2(0x3cb),'range':this[_0x1d88c2(0x3ae)](_0x51d9dd,_0x72635e),'sheetID':_0x51d9dd,'color':this[_0x1d88c2(0x254)]['assignAColorForMemberID'](_0x18efe5),'selection':_0x2f06b5},_0x83ac0d=this[_0x1d88c2(0x45d)];_0x83ac0d[_0x1d88c2(0x1d6)](_0x18efe5,_0x3bfa9e),this[_0x1d88c2(0x411)]['next'](_0x83ac0d);}['_onCursorDelete'](_0x3bbf0b){const _0x24f3d3=_0x311f42,{memberID:_0x4b49d0}=_0x3bbf0b[_0x24f3d3(0x240)],_0x324e0c=this[_0x24f3d3(0x45d)];_0x324e0c[_0x24f3d3(0x292)](_0x4b49d0),this[_0x24f3d3(0x411)][_0x24f3d3(0x38c)](_0x324e0c);}[_0x311f42(0x3ae)](_0x5c222f,_0x3a8caf){const _0x15306c=_0x311f42;var _0x3d6b06,_0x2bb299;const _0x236b4f=(_0x2bb299=(_0x3d6b06=this[_0x15306c(0x462)][_0x15306c(0x2e0)](this[_0x15306c(0x3b8)]))==null?void 0x0:_0x3d6b06[_0x15306c(0x232)](_0x5c222f))==null?void 0x0:_0x2bb299[_0x15306c(0x258)]();return(_0x236b4f==null?void 0x0:_0x236b4f['find'](_0x3142e0=>_0x2cbbfa['Rectangle']['contains'](_0x3142e0,_0x3a8caf)))||_0x3a8caf;}[_0x311f42(0x3b4)](){const _0x45479a=_0x311f42,_0x14ef13=new _0x2cbbfa[(_0x45479a(0x31c))](),_0x40e958=_0x11aee2(),_0x2a37d1=()=>{const _0xceae8c=_0x45479a;_0x14ef13[_0xceae8c(0x22e)]();const _0x3b878c=(_0x58947d,_0xf0e832,_0x16fbc2,_0x175fa4)=>{const _0x47658a=_0xceae8c;let _0x443f98=[];switch(_0x58947d['id']){case _0x4e9833[_0x47658a(0x1f9)]['DeleteRangeMoveLeftCommandId']:{_0x443f98=_0x4e9833['handleDeleteRangeMoveLeft'](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x21a)]:{_0x443f98=_0x4e9833[_0x47658a(0x33b)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId'][_0x47658a(0x219)]:{_0x443f98=_0x4e9833[_0x47658a(0x353)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x20f)]:{_0x443f98=_0x4e9833[_0x47658a(0x268)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x325)]:{_0x443f98=_0x4e9833[_0x47658a(0x2d0)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x25c)]:{_0x443f98=_0x4e9833[_0x47658a(0x448)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x231)]:{_0x443f98=_0x4e9833[_0x47658a(0x20b)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId'][_0x47658a(0x3b5)]:{_0x443f98=_0x4e9833[_0x47658a(0x315)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId']['RemoveRowCommandId']:{_0x443f98=_0x4e9833[_0x47658a(0x31f)](_0x58947d,_0x175fa4);break;}}const _0x3764dd=_0x4e9833[_0x47658a(0x45b)](_0x443f98,_0x175fa4),_0x160e05=this['cursorInfo'][_0x47658a(0x2de)](_0xf0e832);if(_0x160e05&&_0x3764dd){const _0x2deb5b={..._0x160e05,'range':_0x3764dd};this['cursorInfo'][_0x47658a(0x1d6)](_0xf0e832,_0x2deb5b),_0x40e958(()=>{const _0x47f302=_0x47658a,_0x69eeb0=this[_0x47f302(0x1e6)][_0x47f302(0x298)](_0x3764dd,_0x289869=>(_0x69eeb0[_0x47f302(0x22e)](),_0x3b878c(_0x289869,_0xf0e832,_0x16fbc2,_0x3764dd)));_0x14ef13[_0x47f302(0x266)](_0x69eeb0);});}return{'redos':[],'undos':[]};};this[_0xceae8c(0x45d)][_0xceae8c(0x344)]((_0x5a4d40,_0x5c51b8)=>{const _0x41f59e=_0xceae8c,{range:_0xb689fd,sheetID:_0x264a5c}=_0x5a4d40,_0x1ea84c=this[_0x41f59e(0x1e6)][_0x41f59e(0x298)](_0xb689fd,_0x5e1449=>(_0x1ea84c[_0x41f59e(0x22e)](),_0x3b878c(_0x5e1449,_0x5c51b8,_0x264a5c,_0xb689fd)));_0x14ef13['add'](_0x1ea84c);});};this['disposeWithMe'](_0x2cbbfa[_0x45479a(0x25e)](this[_0x45479a(0x411)][_0x45479a(0x44d)](()=>{_0x2a37d1();})));}[_0x311f42(0x27c)](){const _0x3e143b=_0x311f42;var _0x175aff,_0x367d79;if(this[_0x3e143b(0x260)]=!0x0,((_0x175aff=this[_0x3e143b(0x462)][_0x3e143b(0x202)]())==null?void 0x0:_0x175aff[_0x3e143b(0x3af)]())!==this[_0x3e143b(0x3b8)])return;const _0x5dd095=(_0x367d79=this['_injector']['get'](_0x4e9833[_0x3e143b(0x26f)])[_0x3e143b(0x324)]())==null?void 0x0:_0x367d79[0x0],_0x45cca2=this['_univerInstanceService'][_0x3e143b(0x33a)](_0x2cbbfa[_0x3e143b(0x3f0)][_0x3e143b(0x363)])[_0x3e143b(0x366)]();_0x5dd095&&_0x45cca2&&this[_0x3e143b(0x235)](_0x45cca2[_0x3e143b(0x2d7)](),_0x5dd095);}['_toggleOffline'](){const _0xc19661=_0x311f42;this[_0xc19661(0x260)]=!0x1;}};_0x369713=_0x4df843([_0x18a6b8(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x338)])),_0x18a6b8(0x3,_0x2cbbfa['Inject'](_0x5a339c)),_0x18a6b8(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x37f)])),_0x18a6b8(0x5,_0x2cbbfa[_0x311f42(0x3fb)]),_0x18a6b8(0x6,_0x2cbbfa[_0x311f42(0x413)]),_0x18a6b8(0x7,_0x2cbbfa[_0x311f42(0x229)](_0x4e9833[_0x311f42(0x3d3)]))],_0x369713);var _0x1d5aee=Object[_0x311f42(0x3d4)],_0x26f90a=(_0x395e58,_0x4fde64,_0x531667,_0x2085a3)=>{for(var _0x370ba8=_0x2085a3>0x1?void 0x0:_0x2085a3?_0x1d5aee(_0x4fde64,_0x531667):_0x4fde64,_0x37557f=_0x395e58['length']-0x1,_0x27a057;_0x37557f>=0x0;_0x37557f--)(_0x27a057=_0x395e58[_0x37557f])&&(_0x370ba8=_0x27a057(_0x370ba8)||_0x370ba8);return _0x370ba8;},_0x2e336f=(_0x103d83,_0x4bbf07)=>(_0x3bb420,_0x190e48)=>_0x4bbf07(_0x3bb420,_0x190e48,_0x103d83);let _0xa564bf=class extends _0x2cbbfa['RxDisposable']{constructor(_0x170ec5,_0x32210c,_0x165bbb){const _0x18b605=_0x311f42;super(),_0xe6c276(this,_0x18b605(0x3ea),new Map()),_0xe6c276(this,_0x18b605(0x2ac),new _0xf7bf00['Subject']()),(this['_univerInstanceService']=_0x170ec5,this[_0x18b605(0x3f1)]=_0x32210c,this[_0x18b605(0x24c)]=_0x165bbb,this['_init']());}[_0x311f42(0x22e)](){const _0x4a4e29=_0x311f42;super[_0x4a4e29(0x22e)](),this['_entityInit$'][_0x4a4e29(0x249)](),this[_0x4a4e29(0x3ea)]['forEach'](_0x17b7ac=>_0x17b7ac['dispose']());}[_0x311f42(0x25a)](_0x29340a){const _0x4e7bbf=_0x311f42;return this['_entities'][_0x4e7bbf(0x40e)](_0x29340a)?this[_0x4e7bbf(0x3ea)]['get'](_0x29340a)[_0x4e7bbf(0x38b)]:this[_0x4e7bbf(0x2ac)][_0x4e7bbf(0x2b2)](_0xf7bf00['filter'](_0x4e67f2=>_0x4e67f2['unitID']===_0x29340a),_0xf7bf00[_0x4e7bbf(0x303)](_0x56d09f=>_0x56d09f[_0x4e7bbf(0x38b)]));}['_init'](){const _0xf269a1=_0x311f42;this[_0xf269a1(0x462)][_0xf269a1(0x279)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x363)])['pipe'](_0xf7bf00[_0xf269a1(0x36b)](this['dispose$']))[_0xf269a1(0x44d)](async _0x5a4f26=>{const _0xe0bef0=_0xf269a1,_0x6e4b59=_0x5a4f26[_0xe0bef0(0x3af)](),_0x4c9307=await this['_startSheetCollabCursor'](_0x6e4b59);this[_0xe0bef0(0x2ac)][_0xe0bef0(0x38c)](_0x4c9307),this[_0xe0bef0(0x3ea)][_0xe0bef0(0x1d6)](_0x6e4b59,_0x4c9307);}),this[_0xf269a1(0x462)][_0xf269a1(0x279)](_0x2cbbfa[_0xf269a1(0x3f0)]['UNIVER_DOC'])[_0xf269a1(0x2b2)](_0xf7bf00[_0xf269a1(0x36b)](this['dispose$']))[_0xf269a1(0x2b2)](_0xf7bf00['filter'](_0x12d96b=>!_0x12d96b[_0xf269a1(0x3af)]()['startsWith']('__')))['subscribe'](async _0x3281e9=>{const _0xc41577=_0xf269a1,_0x31e8f0=_0x3281e9[_0xc41577(0x3af)](),_0x4a6df8=await this[_0xc41577(0x476)](_0x31e8f0);this[_0xc41577(0x2ac)][_0xc41577(0x38c)](_0x4a6df8),this[_0xc41577(0x3ea)]['set'](_0x31e8f0,_0x4a6df8);}),_0xf7bf00[_0xf269a1(0x335)](this[_0xf269a1(0x462)][_0xf269a1(0x426)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x2d6)]),this[_0xf269a1(0x462)][_0xf269a1(0x426)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x363)]))[_0xf269a1(0x2b2)](_0xf7bf00['takeUntil'](this[_0xf269a1(0x289)]))[_0xf269a1(0x44d)](_0x4919f6=>{const _0x49a6c0=_0xf269a1,_0x3db23d=_0x4919f6[_0x49a6c0(0x3af)](),_0x4fb624=this['_entities'][_0x49a6c0(0x2de)](_0x3db23d);_0x4fb624&&(_0x4fb624[_0x49a6c0(0x22e)](),this[_0x49a6c0(0x3ea)][_0x49a6c0(0x292)](_0x3db23d));});}async['_startSheetCollabCursor'](_0x59df58){const _0x222626=_0x311f42,_0x364ce5=await this[_0x222626(0x24c)][_0x222626(0x379)](_0x59df58),_0x3a1cca=this[_0x222626(0x3f1)][_0x222626(0x2b1)](_0x369713,_0x59df58,_0x364ce5);return _0x3a1cca[_0x222626(0x436)](),_0x3a1cca;}async[_0x311f42(0x476)](_0x14b5ad){const _0x18d3dd=_0x311f42,_0x53f2ca=await this[_0x18d3dd(0x24c)][_0x18d3dd(0x379)](_0x14b5ad),_0x7a960e=this[_0x18d3dd(0x3f1)]['createInstance'](_0xcd798b,_0x14b5ad,_0x53f2ca);return _0x7a960e['init'](),_0x7a960e;}};_0xa564bf=_0x26f90a([_0x2e336f(0x0,_0x2cbbfa['IUniverInstanceService']),_0x2e336f(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['Injector'])),_0x2e336f(0x2,_0x2cbbfa['Inject'](_0x145b5b[_0x311f42(0x2e2)]))],_0xa564bf);const _0x43179b=0x14,_0x5df4e0=0xc8,_0x4e3f8a=0x4,_0x8dc6c0=0x5;function _0x328d37(_0x1d49d1,_0x2a103f){const _0x9b3cef=_0x311f42;let {radius:_0x4dceba,width:_0x576bec,height:_0x2eb7ae}=_0x2a103f;_0x4dceba=_0x4dceba!=null?_0x4dceba:0x0,_0x576bec=_0x576bec!=null?_0x576bec:0x1e,_0x2eb7ae=_0x2eb7ae!=null?_0x2eb7ae:0x1e;let _0x27bd57=0x0,_0x4cec68=0x0,_0x3d6bff=0x0;_0x27bd57=_0x4cec68=_0x3d6bff=Math[_0x9b3cef(0x1e7)](_0x4dceba,_0x576bec/0x2,_0x2eb7ae/0x2),_0x1d49d1[_0x9b3cef(0x264)](),_0x1d49d1['moveTo'](_0x27bd57,0x0),_0x1d49d1[_0x9b3cef(0x234)](_0x576bec-_0x4cec68,0x0),_0x1d49d1['arc'](_0x576bec-_0x4cec68,_0x4cec68,_0x4cec68,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d49d1[_0x9b3cef(0x234)](_0x576bec,_0x2eb7ae-_0x3d6bff),_0x1d49d1[_0x9b3cef(0x3da)](_0x576bec-_0x3d6bff,_0x2eb7ae-_0x3d6bff,_0x3d6bff,0x0,Math['PI']/0x2,!0x1),_0x1d49d1[_0x9b3cef(0x234)](0x0,_0x2eb7ae),_0x1d49d1[_0x9b3cef(0x234)](0x0,_0x27bd57),_0x1d49d1[_0x9b3cef(0x3da)](_0x27bd57,_0x27bd57,_0x27bd57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d49d1[_0x9b3cef(0x3f3)](),_0x2a103f[_0x9b3cef(0x237)]&&(_0x1d49d1[_0x9b3cef(0x43c)](),_0x1d49d1[_0x9b3cef(0x44f)]=_0x2a103f['fill'],_0x2a103f[_0x9b3cef(0x3ff)]===_0x9b3cef(0x3a8)?_0x1d49d1[_0x9b3cef(0x237)](_0x9b3cef(0x3a8)):_0x1d49d1['fill'](),_0x1d49d1['restore']());}class _0x59a55d extends _0x5d67f3[_0x311f42(0x1e5)]{constructor(_0x50721b,_0x201ad6){const _0x29b9f9=_0x311f42;super(_0x50721b,_0x201ad6),_0xe6c276(this,_0x29b9f9(0x382)),_0xe6c276(this,_0x29b9f9(0x371)),(this[_0x29b9f9(0x382)]=_0x201ad6==null?void 0x0:_0x201ad6[_0x29b9f9(0x382)],this[_0x29b9f9(0x371)]=_0x201ad6==null?void 0x0:_0x201ad6[_0x29b9f9(0x371)]);}static[_0x311f42(0x468)](_0xe6f5cf,_0x1bb83a){const _0x4da33f=_0x311f42,{text:_0x3b67c3,color:_0x4d6850}=_0x1bb83a;_0xe6f5cf[_0x4da33f(0x43c)](),_0xe6f5cf[_0x4da33f(0x32b)]=_0x4da33f(0x440);const _0x140b8f=_0xe6f5cf['measureText'](_0x3b67c3)[_0x4da33f(0x2ee)],_0x3a20d2=Math[_0x4da33f(0x1e7)](_0x140b8f+0x2*_0x4e3f8a,_0x5df4e0);_0x328d37(_0xe6f5cf,{'height':_0x43179b,'radius':0x4,'width':_0x3a20d2,'fill':_0x4d6850}),_0xe6f5cf[_0x4da33f(0x44f)]='#FFF';const _0x5247e7=_0x4e3f8a,_0x12c060=_0x43179b-_0x8dc6c0,_0x28ef74=_0x5df4e0-0x2*_0x4e3f8a;if(_0x140b8f>_0x28ef74){let _0x17df96='',_0x29ba49=0x0;for(const _0x41215a of _0x3b67c3){const _0x1153fa=_0xe6f5cf[_0x4da33f(0x374)](_0x41215a)[_0x4da33f(0x2ee)];if(_0x29ba49+_0x1153fa<=_0x28ef74-_0xe6f5cf['measureText'](_0x4da33f(0x20d))[_0x4da33f(0x2ee)])_0x17df96+=_0x41215a,_0x29ba49+=_0x1153fa;else{_0x17df96+=_0x4da33f(0x20d);break;}}_0xe6f5cf['fillText'](_0x17df96,_0x5247e7,_0x12c060);}else _0xe6f5cf['fillText'](_0x3b67c3,_0x5247e7,_0x12c060);_0xe6f5cf['restore']();}[_0x311f42(0x361)](_0x178e98){const _0x2690bd=_0x311f42;_0x59a55d[_0x2690bd(0x468)](_0x178e98,this);}}const _0x30e428='collab-text-anchor-',_0x4eefe3=_0x311f42(0x36a),_0x21f59f=_0x311f42(0x352),_0x13d3c1=0x6,_0x3b67fe=1.5,_0x38bc4d=0x4,_0x1c1071=1.5,_0x59c2d3=_0x311f42(0x3ca);class _0x172221{constructor(_0xccf875,_0x322668,_0x4e9e9e,_0x545063){const _0x191f11=_0x311f42;_0xe6c276(this,_0x191f11(0x227),[]),_0xe6c276(this,_0x191f11(0x43f),null),_0xe6c276(this,_0x191f11(0x2ba),null),_0xe6c276(this,_0x191f11(0x3a4),null),_0xe6c276(this,_0x191f11(0x2cd),null),_0xe6c276(this,_0x191f11(0x1eb),null),(this[_0x191f11(0x1fc)]=_0xccf875,this[_0x191f11(0x26a)]=_0x322668,this[_0x191f11(0x1df)]=_0x4e9e9e,this['_document']=_0x545063,this[_0x191f11(0x435)]());}set[_0x311f42(0x423)](_0x5a7400){const _0xb1edd7=_0x311f42;_0x5a7400?(this[_0xb1edd7(0x3a4)]&&this[_0xb1edd7(0x3a4)][_0xb1edd7(0x2b6)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot'][_0xb1edd7(0x1fa)](),this[_0xb1edd7(0x2ba)]&&this['_textBubble'][_0xb1edd7(0x2b6)]());}[_0x311f42(0x22e)](){const _0x8af46c=_0x311f42;for(const _0x2f48f4 of this['_shapes'])_0x2f48f4[_0x8af46c(0x22e)]();this[_0x8af46c(0x2ba)]&&this[_0x8af46c(0x2ba)]['dispose'](),this[_0x8af46c(0x3a4)]&&this['_anchorDot'][_0x8af46c(0x22e)](),this[_0x8af46c(0x43f)]&&this[_0x8af46c(0x43f)][_0x8af46c(0x22e)](),this[_0x8af46c(0x1eb)]&&this[_0x8af46c(0x1eb)]();}[_0x311f42(0x435)](){const _0x3cf390=_0x311f42;var _0x4167bf;const {_docSkeleton:_0x1c473d,_document:_0x4e5bcd}=this,{color:_0x164284,name:_0x540bb4,ranges:_0x56be1c}=this[_0x3cf390(0x1fc)],_0x5a62d0=_0x4e5bcd[_0x3cf390(0x1e8)](),{docsLeft:_0xc28dfb,docsTop:_0xe90f5b}=_0x5a62d0,_0x5e4784=new _0x5e3fdb['NodePositionConvertToCursor'](_0x5a62d0,_0x1c473d);for(const {startOffset:_0x2aacc5,endOffset:_0x3617e1,rangeType:_0x40d37c,segmentId:_0x410535,segmentPage:_0x485a02,collapsed:_0x159b3f,isActive:_0x5bbe43}of _0x56be1c){const _0xc42fc6=_0x1c473d['findNodePositionByCharIndex'](_0x2aacc5,!0x0,_0x410535,_0x485a02);let _0x3d8d22=_0x1c473d['findNodePositionByCharIndex'](_0x3617e1,!0x0,_0x410535,_0x485a02);if(_0x3d8d22==null&&(_0x3d8d22=_0x1c473d[_0x3cf390(0x46c)](_0x3617e1-0x1,!0x1,_0x410535,_0x485a02)),_0x5bbe43){const {contentBoxPointGroup:_0x565b93}=_0x5e4784[_0x3cf390(0x434)](_0x3d8d22,_0x3d8d22);if(_0x565b93['length']===0x0)continue;this[_0x3cf390(0x2d1)](_0x164284,_0x565b93,_0xc28dfb,_0xe90f5b,_0x540bb4),this[_0x3cf390(0x1eb)]=this[_0x3cf390(0x33d)]();}if(_0xc42fc6&&_0x3d8d22){if(_0x40d37c===_0x2cbbfa[_0x3cf390(0x22b)][_0x3cf390(0x2c1)]){const _0x198906=new _0x5e3fdb[(_0x3cf390(0x3e5))](_0x5a62d0,_0x1c473d),{pointGroup:_0x2e043c}=(_0x4167bf=_0x198906[_0x3cf390(0x434)](_0xc42fc6,_0x3d8d22))!=null?_0x4167bf:{};if(_0x2e043c==null||_0x2e043c[_0x3cf390(0x2bd)]===0x0)continue;this[_0x3cf390(0x2e9)](_0x164284,_0x2e043c,_0xc28dfb,_0xe90f5b);}else{if(!_0x159b3f){const {borderBoxPointGroup:_0x47a6eb}=_0x5e4784[_0x3cf390(0x434)](_0xc42fc6,_0x3d8d22);if(_0x47a6eb[_0x3cf390(0x2bd)]===0x0)continue;this['_drawTextRange'](_0x164284,_0x47a6eb,_0xc28dfb,_0xe90f5b);}}}}}['_drawAnchor'](_0x45edd3,_0x2d9d92,_0x6420f8,_0x35ed41,_0x47dae5){const _0x5adde4=_0x311f42,_0x282ad7=this['_getAnchorBounding'](_0x2d9d92),{left:_0x5063a2,top:_0x2c4837,height:_0x371c08}=_0x282ad7,_0x2291b7=this[_0x5adde4(0x302)](),_0x13f695=_0x1c1071/_0x2291b7,_0x498e9b=new _0x5d67f3[(_0x5adde4(0x262))](_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41,'height':_0x371c08,'width':_0x3b67fe,'fill':_0x45edd3||_0x5d67f3[_0x5adde4(0x29d)](_0x2cbbfa[_0x5adde4(0x28a)][_0x5adde4(0x251)],0x0),'strokeWidth':_0x13f695,'stroke':_0x59c2d3,'evented':!0x0});this[_0x5adde4(0x43f)]=_0x498e9b,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x498e9b,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']);const _0x50f6f7=new _0x5d67f3[(_0x5adde4(0x262))](_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41-_0x38bc4d/0x2,'height':_0x38bc4d,'width':_0x38bc4d,'fill':_0x45edd3||_0x5d67f3['getColor'](_0x2cbbfa[_0x5adde4(0x28a)][_0x5adde4(0x251)],0x0),'strokeWidth':0x0,'stroke':_0x45edd3||_0x5d67f3[_0x5adde4(0x29d)](_0x2cbbfa['COLORS'][_0x5adde4(0x251)],0x0),'evented':!0x1});this[_0x5adde4(0x3a4)]=_0x50f6f7,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x50f6f7,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']);const _0x1b44bf=new _0x59a55d(_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41-_0x43179b,'text':_0x47dae5,'color':_0x45edd3});this['_textBubble']=_0x1b44bf,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x1b44bf,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x4030b9=_0x311f42,_0x54fb7a=this[_0x4030b9(0x43f)][_0x4030b9(0x256)][_0x4030b9(0x44e)](()=>{const _0x320bb1=_0x4030b9;this[_0x320bb1(0x423)]=!0x0;}),_0x476543=this[_0x4030b9(0x43f)][_0x4030b9(0x25f)]['subscribeEvent'](()=>{const _0x4cbe22=_0x4030b9;this[_0x4cbe22(0x2cd)]&&clearTimeout(this[_0x4cbe22(0x2cd)]),this[_0x4cbe22(0x2cd)]=setTimeout(()=>{const _0x348ff1=_0x4cbe22;this[_0x348ff1(0x423)]=!0x1;},0x7d0);});return()=>{const _0x50ffd0=_0x4030b9;_0x54fb7a['unsubscribe'](),_0x476543[_0x50ffd0(0x29f)]();};}[_0x311f42(0x1d8)](_0xa306a9,_0x2d0837,_0x47b5ed,_0xaadadf){const _0x546d96=_0x311f42,_0x43e6a5=new _0x2cbbfa[(_0x546d96(0x35a))](_0xa306a9)[_0x546d96(0x294)](0.2)[_0x546d96(0x2b9)](),_0x5f1567=new _0x5d67f3[(_0x546d96(0x393))](_0x4eefe3+_0x2cbbfa[_0x546d96(0x475)](_0x13d3c1),{'pointsGroup':_0x2d0837,'fill':_0x43e6a5||_0x5d67f3[_0x546d96(0x29d)](_0x2cbbfa[_0x546d96(0x28a)]['black'],0.2),'left':_0x47b5ed,'top':_0xaadadf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x546d96(0x227)][_0x546d96(0x421)](_0x5f1567),this['_scene'][_0x546d96(0x38f)](_0x5f1567,_0x5e3fdb[_0x546d96(0x3c8)]);}[_0x311f42(0x2e9)](_0xaac0e8,_0x5c41b5,_0x2d892c,_0x1ce4bd){const _0x4a3a30=_0x311f42,_0xc69ec7=new _0x2cbbfa[(_0x4a3a30(0x35a))](_0xaac0e8)[_0x4a3a30(0x294)](0.2)[_0x4a3a30(0x2b9)](),_0x188d22=new _0x5d67f3[(_0x4a3a30(0x393))](_0x21f59f+_0x2cbbfa[_0x4a3a30(0x475)](_0x13d3c1),{'pointsGroup':_0x5c41b5,'fill':_0xc69ec7||_0x5d67f3[_0x4a3a30(0x29d)](_0x2cbbfa[_0x4a3a30(0x28a)][_0x4a3a30(0x251)],0.2),'left':_0x2d892c,'top':_0x1ce4bd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a3a30(0x227)]['push'](_0x188d22),this[_0x4a3a30(0x26a)]['addObject'](_0x188d22,_0x5e3fdb[_0x4a3a30(0x3c8)]);}[_0x311f42(0x408)](_0x234daa){const _0x4b943b=_0x234daa[0x0],_0x51e5f0=_0x4b943b[0x0],_0x1e90a9=_0x4b943b[0x2],{x:_0x373189,y:_0x449509}=_0x51e5f0,{x:_0x4f8f42,y:_0x174ac6}=_0x1e90a9;return{'left':_0x373189,'top':_0x449509,'width':_0x4f8f42-_0x373189,'height':_0x174ac6-_0x449509};}[_0x311f42(0x302)](){const _0x29a657=_0x311f42,{scaleX:_0x284c42,scaleY:_0x5e75a2}=this['_scene']['getAncestorScale']();return Math[_0x29a657(0x1e4)](_0x284c42,_0x5e75a2);}}var _0x371be1=Object[_0x311f42(0x3d4)],_0x1ef5a1=(_0x370720,_0x3e08f2,_0x2539c2,_0x33b861)=>{const _0x49bc7c=_0x311f42;for(var _0x3cb9a9=_0x33b861>0x1?void 0x0:_0x33b861?_0x371be1(_0x3e08f2,_0x2539c2):_0x3e08f2,_0x42c877=_0x370720[_0x49bc7c(0x2bd)]-0x1,_0x2fdbbe;_0x42c877>=0x0;_0x42c877--)(_0x2fdbbe=_0x370720[_0x42c877])&&(_0x3cb9a9=_0x2fdbbe(_0x3cb9a9)||_0x3cb9a9);return _0x3cb9a9;},_0x15a8c9=(_0x3585e8,_0x4aba9c)=>(_0x2c6247,_0x1e472b)=>_0x4aba9c(_0x2c6247,_0x1e472b,_0x3585e8);let _0x45a73b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x17273b,_0x207bcf,_0x2826f6,_0x9bab11,_0x27e612){const _0x83d225=_0x311f42;super(),_0xe6c276(this,'_cursorShapes',[]),_0xe6c276(this,_0x83d225(0x3b9),[]),(this[_0x83d225(0x45f)]=_0x17273b,this['_docSkeletonManagerService']=_0x207bcf,this['_collabCursorController']=_0x2826f6,this[_0x83d225(0x35c)]=_0x9bab11,this['_themeService']=_0x27e612,this[_0x83d225(0x2c0)]());}[_0x311f42(0x2c0)](){const _0x423cf3=_0x311f42,_0x3b868a=this[_0x423cf3(0x45f)][_0x423cf3(0x427)],_0x4f8034=this[_0x423cf3(0x47f)];this['disposeWithMe'](_0xf7bf00[_0x423cf3(0x2eb)]([this[_0x423cf3(0x2ea)][_0x423cf3(0x25a)](_0x3b868a),this[_0x423cf3(0x47b)][_0x423cf3(0x35f)]])[_0x423cf3(0x2b2)](_0x302e84['map'](([_0x4e4e16,_0xb38911])=>({'skeleton':_0x4f8034[_0x423cf3(0x318)](),'cursors':[..._0x4e4e16[_0x423cf3(0x45c)]()]['flatMap'](_0xf7e993=>({..._0xf7e993,'color':this[_0x423cf3(0x47b)][_0x423cf3(0x30f)](_0xf7e993['color'])}))})))[_0x423cf3(0x44d)](_0x631bd5=>{const _0x333a72=_0x423cf3;if(this[_0x333a72(0x2f0)](),_0x631bd5){const {skeleton:_0x22fc7f,cursors:_0xaa198d}=_0x631bd5;this[_0x333a72(0x24d)](_0x22fc7f,_0xaa198d);}})),this[_0x423cf3(0x39e)](),this['_initCommandExecutedListener']();}[_0x311f42(0x24d)](_0x32aba6,_0x126b8b){const _0x14a6bf=_0x311f42,{scene:_0x3cd187,mainComponent:_0x3fe31e}=this[_0x14a6bf(0x45f)],_0x9f8ef2=_0x126b8b[_0x14a6bf(0x42e)](_0x45067f=>new _0x172221(_0x45067f,_0x3cd187,_0x32aba6,_0x3fe31e));this[_0x14a6bf(0x459)]=_0x9f8ef2,this[_0x14a6bf(0x3b9)]=_0x126b8b;}[_0x311f42(0x34b)](){const _0x1cede9=_0x311f42;this[_0x1cede9(0x2f0)]();const {scene:_0x2f93fd,mainComponent:_0x2ae3c9}=this[_0x1cede9(0x45f)],_0x2444aa=this[_0x1cede9(0x47f)][_0x1cede9(0x318)](),_0x2e9acb=this[_0x1cede9(0x3b9)]['map'](_0x255f39=>new _0x172221(_0x255f39,_0x2f93fd,_0x2444aa,_0x2ae3c9));this[_0x1cede9(0x459)]=_0x2e9acb;}[_0x311f42(0x2f0)](){const _0x28cf2e=_0x311f42;this[_0x28cf2e(0x459)][_0x28cf2e(0x344)](_0x371d0=>_0x371d0['dispose']()),this[_0x28cf2e(0x459)]=[];}[_0x311f42(0x220)](){const _0x944b7b=_0x311f42,_0x15308b=[_0x5e3fdb[_0x944b7b(0x1f4)]['id']];this[_0x944b7b(0x32d)](this[_0x944b7b(0x35c)][_0x944b7b(0x394)](_0x3ec9fd=>{const _0x2b5ec8=_0x944b7b;_0x15308b[_0x2b5ec8(0x238)](_0x3ec9fd['id'])&&_0x3ec9fd[_0x2b5ec8(0x3fa)]['unitId']===this[_0x2b5ec8(0x45f)][_0x2b5ec8(0x427)]&&this[_0x2b5ec8(0x34b)]();}));}['_initResize'](){const _0x34e81b=_0x311f42;this[_0x34e81b(0x32d)](_0x2cbbfa[_0x34e81b(0x441)](this[_0x34e81b(0x45f)][_0x34e81b(0x1fb)][_0x34e81b(0x2e1)])[_0x34e81b(0x2b2)](_0x302e84[_0x34e81b(0x230)](_0x3e91ee=>_0x3e91ee[_0x34e81b(0x340)]===_0x5d67f3['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x34e81b(0x30b)]),_0x302e84[_0x34e81b(0x365)](0x10))[_0x34e81b(0x44d)](()=>{const _0x1f4627=_0x34e81b;this[_0x1f4627(0x34b)]();}));}};_0x45a73b=_0x1ef5a1([_0x15a8c9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x4f3300[_0x311f42(0x3b2)])),_0x15a8c9(0x2,_0x2cbbfa['Inject'](_0xa564bf)),_0x15a8c9(0x3,_0x2cbbfa[_0x311f42(0x413)]),_0x15a8c9(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x3cf)]))],_0x45a73b);const _0x55d696=0x1,_0xf836db=1.5;class _0x3a7b4c extends _0x5d67f3[_0x311f42(0x1e5)]{constructor(_0x3fd5fa,_0x3f23be){const _0x3548c5=_0x311f42;super(_0x3fd5fa,_0x3f23be),_0xe6c276(this,_0x3548c5(0x206)),_0xe6c276(this,'_hovered',!0x1),_0xe6c276(this,_0x3548c5(0x3c1)),_0xe6c276(this,'_name',''),_0xe6c276(this,_0x3548c5(0x1d4),_0x3548c5(0x288)),_0xe6c276(this,_0x3548c5(0x20c)),(_0x3f23be&&this[_0x3548c5(0x37b)](_0x3f23be),this[_0x3548c5(0x256)][_0x3548c5(0x44e)](()=>this[_0x3548c5(0x37b)]({'hovered':!0x0})),this[_0x3548c5(0x25f)][_0x3548c5(0x44e)](()=>this[_0x3548c5(0x37b)]({'hovered':!0x1})));}[_0x311f42(0x37b)](_0x376441){const _0x421b94=_0x311f42;var _0x9ba895,_0x14cec6,_0x54ab0b,_0x4a282f,_0x45af6d,_0x115f53;this[_0x421b94(0x206)]=(_0x9ba895=_0x376441[_0x421b94(0x382)])!=null?_0x9ba895:this['_color'],this[_0x421b94(0x310)]=(_0x14cec6=_0x376441[_0x421b94(0x3ce)])!=null?_0x14cec6:this[_0x421b94(0x310)],this[_0x421b94(0x3c1)]=(_0x54ab0b=_0x376441['range'])!=null?_0x54ab0b:this['_range'],this[_0x421b94(0x1fe)]=(_0x4a282f=_0x376441['name'])!=null?_0x4a282f:this[_0x421b94(0x1fe)],this[_0x421b94(0x1d4)]=(_0x45af6d=_0x376441[_0x421b94(0x442)])!=null?_0x45af6d:this['_labelPosition'],this['_backgroundColor']=(_0x115f53=_0x376441[_0x421b94(0x2b7)])!=null?_0x115f53:this[_0x421b94(0x20c)],this[_0x421b94(0x42f)]({'width':_0x376441[_0x421b94(0x2ee)],'height':_0x376441[_0x421b94(0x3b7)]});}['onMouseMove'](_0x1ae844){const _0x413130=_0x311f42,{row:_0x64406a,column:_0x60fc8}=_0x1ae844;if(_0x64406a>=this[_0x413130(0x3c1)][_0x413130(0x386)]&&_0x64406a<=this[_0x413130(0x3c1)][_0x413130(0x463)]&&_0x60fc8>=this[_0x413130(0x3c1)][_0x413130(0x305)]&&_0x60fc8<=this[_0x413130(0x3c1)][_0x413130(0x296)]){this[_0x413130(0x37b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x1210ce){return!0x1;}[_0x311f42(0x361)](_0x5712df){const _0x129368=_0x311f42;_0x5d67f3[_0x129368(0x262)]['drawWith'](_0x5712df,{'width':this[_0x129368(0x2ee)],'height':this['height'],'strokeWidth':_0xf836db,'stroke':this[_0x129368(0x206)],'evented':!0x1,'fill':this[_0x129368(0x20c)]}),this[_0x129368(0x310)]&&(_0x5712df[_0x129368(0x43c)](),_0x5712df[_0x129368(0x3f4)](0x1,0x0,0x0,0x1,this[_0x129368(0x2ee)],this[_0x129368(0x1d4)]===_0x129368(0x347)?0x0:-_0x43179b),_0x59a55d[_0x129368(0x468)](_0x5712df,{'text':this[_0x129368(0x1fe)],'color':this[_0x129368(0x206)]}),_0x5712df[_0x129368(0x2cb)]());}}var _0x2732ab=Object[_0x311f42(0x3d4)],_0x124258=(_0xe805fc,_0x2d712d,_0x2d89b4,_0x2b2c71)=>{const _0x1f09a1=_0x311f42;for(var _0x11128f=_0x2b2c71>0x1?void 0x0:_0x2b2c71?_0x2732ab(_0x2d712d,_0x2d89b4):_0x2d712d,_0x49ebfb=_0xe805fc[_0x1f09a1(0x2bd)]-0x1,_0xd88a20;_0x49ebfb>=0x0;_0x49ebfb--)(_0xd88a20=_0xe805fc[_0x49ebfb])&&(_0x11128f=_0xd88a20(_0x11128f)||_0x11128f);return _0x11128f;},_0x36efc9=(_0x12b0b9,_0x80fe48)=>(_0xbc91d1,_0x523be8)=>_0x80fe48(_0xbc91d1,_0x523be8,_0x12b0b9);const _0x2b4d70=0x1389;let _0x201e9b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x316ec6,_0x9fe796,_0x31dbc9,_0x2de153){const _0x4e88b0=_0x311f42;super(),_0xe6c276(this,'_cursors',new Set()),_0xe6c276(this,_0x4e88b0(0x39f),null),(this[_0x4e88b0(0x45f)]=_0x316ec6,this['_sheetSkeletonManagerService']=_0x9fe796,this['_collabCursorController']=_0x31dbc9,this[_0x4e88b0(0x47b)]=_0x2de153,this[_0x4e88b0(0x2c0)]());}[_0x311f42(0x2c0)](){const _0x9ed8b9=_0x311f42;this[_0x9ed8b9(0x33c)][_0x9ed8b9(0x2fa)]['pipe'](_0x302e84[_0x9ed8b9(0x36b)](this[_0x9ed8b9(0x289)]),_0x302e84[_0x9ed8b9(0x303)](_0x3d65e3=>{const _0x1eae43=_0x9ed8b9;if(_0x3d65e3){const _0x1ef780=_0x3d65e3[_0x1eae43(0x396)];return _0xf7bf00[_0x1eae43(0x2eb)](this['_collabCursorController'][_0x1eae43(0x25a)](this[_0x1eae43(0x45f)][_0x1eae43(0x427)]),this['_themeService'][_0x1eae43(0x35f)])['pipe'](_0x302e84[_0x1eae43(0x42e)](([_0x6b3c41,_0x1fe888])=>{const _0x5924e6=_0x1eae43,_0x17bc17=new Map();return _0x6b3c41[_0x5924e6(0x344)]((_0xa01215,_0x283c9c)=>{const _0x119db1=_0x5924e6;if(_0xa01215['sheetID']===_0x1ef780){const _0xe2aea7={..._0xa01215};_0xe2aea7[_0x119db1(0x382)]=this[_0x119db1(0x47b)][_0x119db1(0x30f)](_0xa01215[_0x119db1(0x382)]),_0x17bc17[_0x119db1(0x1d6)](_0x283c9c,_0xe2aea7);}}),{'skeleton':_0x3d65e3,'cursors':_0x17bc17};}));}return _0xf7bf00['of']({'skeleton':null,'cursors':new Map()});}))[_0x9ed8b9(0x44d)](({skeleton:_0x1e084d,cursors:_0x43c362})=>{const _0x38cb43=_0x9ed8b9;this[_0x38cb43(0x2f0)](),_0x1e084d&&this[_0x38cb43(0x24d)](_0x1e084d,_0x43c362);}),this['_sheetSkeletonManagerService'][_0x9ed8b9(0x2fa)][_0x9ed8b9(0x44d)](_0x39f0b5=>{const _0xeb0fd5=_0x9ed8b9;if(_0x39f0b5==null)return;const {skeleton:_0x9376a7}=_0x39f0b5,{scene:_0x3de6e7}=this[_0xeb0fd5(0x45f)];_0x3de6e7['onPointerMove$'][_0xeb0fd5(0x44e)](_0x2cbbfa[_0xeb0fd5(0x3bb)](_0x424747=>{const _0x2bdffd=_0xeb0fd5;var _0x608557,_0x3ce5d7;const {offsetX:_0x401450,offsetY:_0x43a342}=_0x424747,{x:_0x507381,y:_0x41b42c}=_0x3de6e7[_0x2bdffd(0x2f7)](_0x5d67f3[_0x2bdffd(0x3e8)]['FromArray']([_0x401450,_0x43a342])),{scaleX:_0x1bcdd6,scaleY:_0x4ff302}=_0x3de6e7['getAncestorScale'](),_0x385c2a=_0x3de6e7[_0x2bdffd(0x438)](_0x5d67f3[_0x2bdffd(0x3eb)][_0x2bdffd(0x431)]),_0x3e2f30=_0x3de6e7[_0x2bdffd(0x3d7)](_0x5d67f3['Vector2']['FromArray']([_0x507381,_0x41b42c]),_0x385c2a),_0x588f38=_0x9376a7[_0x2bdffd(0x26e)](_0x401450,_0x43a342,_0x1bcdd6,_0x4ff302,_0x3e2f30);((_0x608557=this['_lastPointer'])==null?void 0x0:_0x608557[_0x2bdffd(0x380)])===_0x588f38[_0x2bdffd(0x380)]&&((_0x3ce5d7=this['_lastPointer'])==null?void 0x0:_0x3ce5d7[_0x2bdffd(0x323)])===_0x588f38[_0x2bdffd(0x323)]||this[_0x2bdffd(0x3b9)]['forEach'](_0x4da5c5=>{const _0x3cf309=_0x2bdffd;_0x4da5c5[_0x3cf309(0x273)](_0x588f38);});},0x64));});}[_0x311f42(0x24d)](_0x5b907f,_0x55b03b){const _0x143d05=_0x311f42;var _0x518df8;const _0x28b4da=(_0x518df8=this[_0x143d05(0x33c)]['getCurrent']())==null?void 0x0:_0x518df8[_0x143d05(0x1e2)];if(!_0x28b4da)return;const _0x288cae=this[_0x143d05(0x28e)]();if(!_0x288cae)return;this['_cursors']['forEach'](_0x50eac4=>{const _0x3ec08f=_0x143d05;_0x50eac4[_0x3ec08f(0x3ef)]();});const {scene:_0x36bb59}=_0x288cae,_0x344dd6=_0x5ed4c6(Array[_0x143d05(0x316)](_0x55b03b[_0x143d05(0x45c)]()))[_0x143d05(0x42e)](_0x40c5cf=>{const _0x5bcdc0=_0x143d05,{color:_0x459d0e,range:_0xfa5d26,name:_0xf8657c,selection:_0x1fb7c8,sheetID:_0x65b606}=_0x40c5cf,{startColumn:_0x113f61,startRow:_0x496855,endColumn:_0x351bf4,endRow:_0x58d504}=_0xfa5d26,_0x471a81=_0x2717c9[_0x5bcdc0(0x3d1)](_0x496855,_0x113f61,_0x36bb59,_0x28b4da),_0x5bbb1e=_0x2717c9[_0x5bcdc0(0x3d1)](_0x58d504,_0x351bf4,_0x36bb59,_0x28b4da),{columnHeaderHeightAndMarginTop:_0x166624}=_0x28b4da,{startX:_0x44f15c,startY:_0x164897}=_0x471a81,{endX:_0x5eb530,endY:_0x8da6e9}=_0x5bbb1e,_0x2314e0=_0x5eb530-_0x44f15c,_0x4f8703=_0x8da6e9-_0x164897,_0x4df5b2={'labelPosition':_0x164897-_0x166624>=_0x43179b?'top':_0x5bcdc0(0x347),'sheetID':_0x65b606,'range':_0xfa5d26,'color':_0x459d0e,'name':_0xf8657c,'selection':_0x1fb7c8,'left':_0x44f15c,'top':_0x164897,'width':_0x2314e0,'height':_0x4f8703,'evented':!0x1,'zIndex':_0x2b4d70};return new _0x3a7b4c(_0xf8657c,_0x4df5b2);});_0x36bb59[_0x143d05(0x390)](_0x344dd6,_0x55d696),this['_cursors']=new Set(_0x344dd6);}[_0x311f42(0x2f0)](){const _0x1daaf3=_0x311f42;var _0x294fe1;(_0x294fe1=this[_0x1daaf3(0x3b9)])==null||_0x294fe1[_0x1daaf3(0x344)](_0x4b88b5=>_0x4b88b5[_0x1daaf3(0x22e)]());}[_0x311f42(0x28e)](){const _0x4c52b9=_0x311f42;return _0x2717c9['getSheetObject'](this[_0x4c52b9(0x45f)]['unit'],this[_0x4c52b9(0x45f)]);}};_0x201e9b=_0x124258([_0x36efc9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2717c9[_0x311f42(0x35e)])),_0x36efc9(0x2,_0x2cbbfa[_0x311f42(0x229)](_0xa564bf)),_0x36efc9(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['ThemeService']))],_0x201e9b);function _0x5ed4c6(_0x3260ca){const _0x28b8b6=_0x311f42,_0x3f0201=new Map();return _0x3260ca[_0x28b8b6(0x344)](_0x23c218=>{const _0x450d3d=_0x28b8b6;if(_0x3f0201[_0x450d3d(0x40e)](_0x23c218[_0x450d3d(0x40c)])){const _0x58617e=_0x3f0201[_0x450d3d(0x2de)](_0x23c218[_0x450d3d(0x40c)]);_0x58617e[_0x450d3d(0x3cc)]+=',\x20'+_0x23c218['name'];}else _0x3f0201['set'](_0x23c218['selection'],_0x23c218);}),Array[_0x28b8b6(0x316)](_0x3f0201['values']());}var _0xc9b539=Object[_0x311f42(0x3d4)],_0x19c59b=(_0x5d9d30,_0x113723,_0x4ce1d5,_0x2dca7f)=>{const _0x2c069e=_0x311f42;for(var _0x1ab65a=_0x2dca7f>0x1?void 0x0:_0x2dca7f?_0xc9b539(_0x113723,_0x4ce1d5):_0x113723,_0x3e876e=_0x5d9d30[_0x2c069e(0x2bd)]-0x1,_0x5735fc;_0x3e876e>=0x0;_0x3e876e--)(_0x5735fc=_0x5d9d30[_0x3e876e])&&(_0x1ab65a=_0x5735fc(_0x1ab65a)||_0x1ab65a);return _0x1ab65a;},_0x42fb77=(_0xe2c5d0,_0x1f714f)=>(_0x16caf9,_0xe6e033)=>_0x1f714f(_0x16caf9,_0xe6e033,_0xe2c5d0);let _0x713d47=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0x45bcdd,_0x54efb8,_0x387a1d,_0x269c5d,_0x3652fe,_0x485d7){const _0x541583=_0x311f42;super(),this[_0x541583(0x367)]=_0x45bcdd,this[_0x541583(0x242)]=_0x54efb8,this['_collaborationUIEventService']=_0x387a1d,this[_0x541583(0x449)]=_0x269c5d,this['_notificationService']=_0x3652fe,this[_0x541583(0x402)]=_0x485d7,this[_0x541583(0x26c)](),this[_0x541583(0x342)]();}[_0x311f42(0x26c)](){const _0x4e5d9d=_0x311f42;this[_0x4e5d9d(0x32d)](this['_beforeCloseService'][_0x4e5d9d(0x277)](()=>{const _0x1d2b7c=_0x4e5d9d;if(this[_0x1d2b7c(0x242)][_0x1d2b7c(0x415)][_0x1d2b7c(0x450)])return this['_localeService']['t'](_0x1d2b7c(0x1f6));}));}[_0x311f42(0x342)](){const _0x1ccf8e=_0x311f42;this['disposeWithMe'](this[_0x1ccf8e(0x2fb)][_0x1ccf8e(0x250)][_0x1ccf8e(0x44d)](_0x58e06f=>{const _0x47948c=_0x1ccf8e;_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x3d8)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916['MessageType'][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t']('collaboration.single-unit.warning')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x34e)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x44a)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x3d9)]&&this['_notificationService'][_0x47948c(0x1fa)]({'title':this[_0x47948c(0x402)]['t']('permission.title'),'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x1dc)),'type':_0x47948c(0x369),'duration':0x0}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)]['CONFLICT']&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x47a)],'content':this[_0x47948c(0x402)]['t']('collaboration.closeRoom')+'('+_0x58e06f[_0x47948c(0x240)]+')'}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x337)]&&this['_messageService']['show']({'type':_0x404916['MessageType'][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t'](_0x58e06f[_0x47948c(0x240)]||'')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x418)]&&this[_0x47948c(0x449)]['show']({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x285))}),_0x58e06f['id']===_0x145b5b['CollaborationUIEventId'][_0x47948c(0x2c4)]&&this['_messageService'][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)]['Error'],'content':this[_0x47948c(0x402)]['t']('session.connection-failed')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x412)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x47a)],'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x36c))});}));}};_0x713d47=_0x19c59b([_0x42fb77(0x0,_0x4b3ed5[_0x311f42(0x29b)]),_0x42fb77(0x1,_0x145b5b[_0x311f42(0x45e)]),_0x42fb77(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x41d)])),_0x42fb77(0x3,_0x4b3ed5[_0x311f42(0x339)]),_0x42fb77(0x4,_0x4b3ed5[_0x311f42(0x1f1)]),_0x42fb77(0x5,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x3e6)]))],_0x713d47);const _0x1d920a=_0x311f42(0x222),_0x45b2b9={};var _0x5efbf2=Object[_0x311f42(0x3d4)],_0x255631=(_0x21f2dc,_0x5cc409,_0x501e0c,_0x5530a5)=>{const _0x1d959f=_0x311f42;for(var _0xf6a19e=_0x5530a5>0x1?void 0x0:_0x5530a5?_0x5efbf2(_0x5cc409,_0x501e0c):_0x5cc409,_0x38ae84=_0x21f2dc[_0x1d959f(0x2bd)]-0x1,_0x226a1c;_0x38ae84>=0x0;_0x38ae84--)(_0x226a1c=_0x21f2dc[_0x38ae84])&&(_0xf6a19e=_0x226a1c(_0xf6a19e)||_0xf6a19e);return _0xf6a19e;},_0x46bef4=(_0x3ea996,_0x1a5491)=>(_0x24b39c,_0x16b704)=>_0x1a5491(_0x24b39c,_0x16b704,_0x3ea996);let _0x1e8ee4=class{constructor(_0x3aced3,_0x4974ea){this['_transformService']=_0x3aced3,this['_renderManagerService']=_0x4974ea;}[_0x311f42(0x2f9)](_0x23d378){const _0x5e1edd=_0x311f42;this[_0x5e1edd(0x213)](_0x23d378),this[_0x5e1edd(0x31a)](_0x23d378);}[_0x311f42(0x2d9)](_0x1f8741){const _0x3cf44c=_0x311f42,{unitID:_0x55d7ea}=_0x1f8741,_0x18841a=this[_0x3cf44c(0x42b)][_0x3cf44c(0x265)](_0x55d7ea)['with'](_0x5e3fdb['DocIMEInputManagerService']),{redoCache:_0x34b90d}=_0x18841a[_0x3cf44c(0x3e7)]();if(_0x34b90d[_0x3cf44c(0x2bd)]===0x0)return _0x1f8741;let _0x34839e=_0x2cbbfa[_0x3cf44c(0x381)][_0x3cf44c(0x2e6)](_0x1f8741['mutations'][0x0]);for(let _0x588a57=0x0;_0x588a57<_0x34b90d[_0x3cf44c(0x2bd)];_0x588a57++){const _0x1d6325={'id':_0x3cf44c(0x1d3),'params':{..._0x34b90d[_0x588a57]}},_0x253a5f=this[_0x3cf44c(0x281)]['transformMutation'](_0x34839e,_0x1d6325,!0x1);if(_0x278572['isTransformMutationFailure'](_0x253a5f))throw _0x253a5f[_0x3cf44c(0x369)];_0x34839e=_0x253a5f['m1Prime'];}return{..._0x2cbbfa['Tools'][_0x3cf44c(0x2e6)](_0x1f8741),'mutations':[_0x34839e]};}[_0x311f42(0x213)](_0x3fa8c5){const _0x200dd3=_0x311f42,{unitID:_0x159ba4}=_0x3fa8c5,_0x1c236d=this['_renderManagerService'][_0x200dd3(0x265)](_0x159ba4)[_0x200dd3(0x34f)](_0x5e3fdb[_0x200dd3(0x432)]),{undoCache:_0x2931e2,redoCache:_0xd2c400}=_0x1c236d[_0x200dd3(0x3e7)]();if(_0x2931e2[_0x200dd3(0x2bd)]===0x0||_0xd2c400['length']===0x0)return;const _0x3fa924=[],_0x216168=[];let _0x4a7eb2=_0x2cbbfa[_0x200dd3(0x381)]['deepClone'](_0x3fa8c5[_0x200dd3(0x430)][0x0]),_0x4de0df=_0x2cbbfa[_0x200dd3(0x381)][_0x200dd3(0x2e6)](_0x3fa8c5[_0x200dd3(0x430)][0x0]);for(let _0x36c76c=_0x2931e2[_0x200dd3(0x2bd)]-0x1;_0x36c76c>=0x0;_0x36c76c--){const _0x2644fe={'id':_0x200dd3(0x1d3),'params':{..._0x2931e2[_0x36c76c]}},_0x379c92={'id':_0x200dd3(0x1d3),'params':{..._0xd2c400[_0x36c76c]}},_0x1cc557=this['_transformService']['transformMutation'](_0x4a7eb2,_0x2644fe,!0x1),_0x544407=this['_transformService'][_0x200dd3(0x2b4)](_0x4de0df,_0x379c92,!0x1);if(_0x278572['isTransformMutationFailure'](_0x1cc557))throw _0x1cc557[_0x200dd3(0x369)];if(_0x278572['isTransformMutationFailure'](_0x544407))throw _0x544407[_0x200dd3(0x369)];_0x3fa924[_0x200dd3(0x404)](_0x1cc557[_0x200dd3(0x2a9)][_0x200dd3(0x3fa)]),_0x216168[_0x200dd3(0x404)](_0x544407[_0x200dd3(0x2a9)]['params']),_0x4a7eb2=_0x1cc557[_0x200dd3(0x2d3)],_0x4de0df=_0x544407[_0x200dd3(0x2d3)];}_0x1c236d[_0x200dd3(0x377)]({'undoCache':_0x3fa924,'redoCache':_0x216168});}['_transformPreviousActiveRange'](_0x277d57){const _0x1b66e7=_0x311f42,{unitID:_0xa5f53f}=_0x277d57,_0x2df2b6=this[_0x1b66e7(0x42b)][_0x1b66e7(0x265)](_0xa5f53f)[_0x1b66e7(0x34f)](_0x5e3fdb[_0x1b66e7(0x432)]),_0x2cbe1c=_0x2df2b6[_0x1b66e7(0x1db)]();if(_0x2cbe1c==null)return;const _0x2b7845=[{'id':_0x1b66e7(0x1d3),'params':{'unitId':_0x277d57['unitID'],'actions':null,'textRanges':[_0x2cbe1c]}}],_0x3ac180=this[_0x1b66e7(0x281)][_0x1b66e7(0x322)](_0x277d57,_0x2b7845);if(!_0x278572[_0x1b66e7(0x376)](_0x3ac180))throw _0x3ac180['error'];const _0x3ef9f3=_0x3ac180['m2Prime'][0x0][_0x1b66e7(0x3fa)]['textRanges'];Array[_0x1b66e7(0x46b)](_0x3ef9f3)&&_0x3ef9f3['length']&&_0x2df2b6[_0x1b66e7(0x30e)](_0x3ef9f3[0x0]);}};_0x1e8ee4=_0x255631([_0x46bef4(0x0,_0x278572['ITransformService']),_0x46bef4(0x1,_0x5d67f3[_0x311f42(0x2ec)])],_0x1e8ee4);var _0x58fe85=Object[_0x311f42(0x3d4)],_0x2955ce=(_0x5d5c46,_0xfc0215,_0x1fad34,_0x22d81c)=>{const _0x481f2f=_0x311f42;for(var _0x339db8=_0x22d81c>0x1?void 0x0:_0x22d81c?_0x58fe85(_0xfc0215,_0x1fad34):_0xfc0215,_0x3d78fb=_0x5d5c46[_0x481f2f(0x2bd)]-0x1,_0x49ee28;_0x3d78fb>=0x0;_0x3d78fb--)(_0x49ee28=_0x5d5c46[_0x3d78fb])&&(_0x339db8=_0x49ee28(_0x339db8)||_0x339db8);return _0x339db8;},_0x48b82c=(_0x1262c7,_0x3a10da)=>(_0x293960,_0x2ee6ff)=>_0x3a10da(_0x293960,_0x2ee6ff,_0x1262c7);let _0x20ffc4=class{constructor(_0x4bcb19,_0x5acca9,_0x5ad14b){const _0x184bfb=_0x311f42;this[_0x184bfb(0x3f1)]=_0x4bcb19,this[_0x184bfb(0x281)]=_0x5acca9,this[_0x184bfb(0x397)]=_0x5ad14b;}[_0x311f42(0x3ad)](_0x5a0ffe){const _0x569f8f=_0x311f42;this[_0x569f8f(0x330)](_0x5a0ffe);}[_0x311f42(0x2d9)](_0x5b1c27){const _0x442fd2=_0x311f42,{unitID:_0x3d2055}=_0x5b1c27,{collaboration:_0x2278a4}=this[_0x442fd2(0x397)][_0x442fd2(0x3db)](_0x3d2055);if(_0x2278a4[_0x442fd2(0x2bd)]===0x0)return _0x5b1c27;let _0x452ee0=_0x2cbbfa[_0x442fd2(0x381)]['deepClone'](_0x5b1c27['mutations'][0x0]);for(let _0x2e65ff=0x0;_0x2e65ff<_0x2278a4[_0x442fd2(0x2bd)];_0x2e65ff++){const _0x2723c5={'id':_0x442fd2(0x1d3),'params':{'unitId':_0x2278a4[_0x2e65ff]['unitId'],..._0x2278a4[_0x2e65ff][_0x442fd2(0x228)]}},_0x3453e2=this[_0x442fd2(0x281)][_0x442fd2(0x2b4)](_0x452ee0,_0x2723c5,!0x1);if(_0x278572['isTransformMutationFailure'](_0x3453e2))throw _0x3453e2[_0x442fd2(0x369)];_0x452ee0=_0x3453e2[_0x442fd2(0x2d3)];}return{..._0x2cbbfa['Tools'][_0x442fd2(0x2e6)](_0x5b1c27),'mutations':[_0x452ee0]};}[_0x311f42(0x330)](_0x243b8c){const _0xabb22c=_0x311f42,{unitID:_0x52d485}=_0x243b8c,{history:_0x31bcc5,collaboration:_0x1a8195}=this[_0xabb22c(0x397)]['getStateCache'](_0x52d485);if(_0x31bcc5[_0xabb22c(0x2bd)]===0x0&&_0x1a8195[_0xabb22c(0x2bd)]===0x0)return;const _0x54597d=[],_0x190d4f=[];let _0x352fa6=_0x2cbbfa[_0xabb22c(0x381)][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]),_0xee8bbe=_0x2cbbfa[_0xabb22c(0x381)][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]);for(let _0xee2f7a=_0x31bcc5[_0xabb22c(0x2bd)]-0x1;_0xee2f7a>=0x0;_0xee2f7a--){const _0x27dfdb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31bcc5[_0xee2f7a][_0xabb22c(0x427)],..._0x31bcc5[_0xee2f7a][_0xabb22c(0x2ae)]}},_0x44d05e={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x31bcc5[_0xee2f7a]['unitId'],..._0x31bcc5[_0xee2f7a][_0xabb22c(0x228)]}},_0x1d3ff8=this[_0xabb22c(0x281)][_0xabb22c(0x2b4)](_0x352fa6,_0x27dfdb,!0x1),_0x861134=this[_0xabb22c(0x281)]['transformMutation'](_0xee8bbe,_0x44d05e,!0x1);if(_0x278572[_0xabb22c(0x349)](_0x1d3ff8))throw _0x1d3ff8[_0xabb22c(0x369)];if(_0x278572[_0xabb22c(0x349)](_0x861134))throw _0x861134[_0xabb22c(0x369)];_0x54597d[_0xabb22c(0x404)]({..._0x31bcc5[_0xee2f7a],'undoState':_0x1d3ff8['m2Prime']['params'],'redoState':_0x861134[_0xabb22c(0x2a9)][_0xabb22c(0x3fa)]}),_0x352fa6=_0x1d3ff8['m1Prime'],_0xee8bbe=_0x861134[_0xabb22c(0x2d3)];}_0x352fa6=_0x2cbbfa['Tools'][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]),_0xee8bbe=_0x2cbbfa[_0xabb22c(0x381)]['deepClone'](_0x243b8c[_0xabb22c(0x430)][0x0]);for(let _0x49cf2a=_0x1a8195[_0xabb22c(0x2bd)]-0x1;_0x49cf2a>=0x0;_0x49cf2a--){const _0x1960d6={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x1a8195[_0x49cf2a][_0xabb22c(0x427)],..._0x1a8195[_0x49cf2a][_0xabb22c(0x2ae)]}},_0x4994ec={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x1a8195[_0x49cf2a][_0xabb22c(0x427)],..._0x1a8195[_0x49cf2a][_0xabb22c(0x228)]}},_0x15ad06=this[_0xabb22c(0x281)]['transformMutation'](_0x352fa6,_0x1960d6,!0x1),_0x1adb4d=this[_0xabb22c(0x281)][_0xabb22c(0x2b4)](_0xee8bbe,_0x4994ec,!0x1);if(_0x278572['isTransformMutationFailure'](_0x15ad06))throw _0x15ad06[_0xabb22c(0x369)];if(_0x278572[_0xabb22c(0x349)](_0x1adb4d))throw _0x1adb4d[_0xabb22c(0x369)];_0x190d4f[_0xabb22c(0x404)]({..._0x1a8195[_0x49cf2a],'undoState':_0x15ad06['m2Prime'][_0xabb22c(0x3fa)],'redoState':_0x1adb4d['m2Prime']['params']}),_0x352fa6=_0x15ad06[_0xabb22c(0x2d3)],_0xee8bbe=_0x1adb4d[_0xabb22c(0x2d3)];}this['_docStateChangeManagerService'][_0xabb22c(0x464)](_0x52d485,{'history':_0x54597d,'collaboration':_0x190d4f});}};_0x20ffc4=_0x2955ce([_0x48b82c(0x0,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x48b82c(0x1,_0x278572['ITransformService']),_0x48b82c(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x5e3fdb['DocStateChangeManagerService']))],_0x20ffc4);var _0x5bb2e3=Object[_0x311f42(0x3d4)],_0x55e6ae=(_0xa887cb,_0x47f18f,_0x481c3b,_0x6ad4a9)=>{const _0x2bca3e=_0x311f42;for(var _0x3e8cde=_0x6ad4a9>0x1?void 0x0:_0x6ad4a9?_0x5bb2e3(_0x47f18f,_0x481c3b):_0x47f18f,_0x4a9a49=_0xa887cb[_0x2bca3e(0x2bd)]-0x1,_0xcecb3c;_0x4a9a49>=0x0;_0x4a9a49--)(_0xcecb3c=_0xa887cb[_0x4a9a49])&&(_0x3e8cde=_0xcecb3c(_0x3e8cde)||_0x3e8cde);return _0x3e8cde;},_0x54b761=(_0xe6a4ed,_0x16c7f4)=>(_0x2e3d87,_0x118648)=>_0x16c7f4(_0x2e3d87,_0x118648,_0xe6a4ed);let _0x22f635=class{constructor(_0x20bac1,_0x550757){const _0x213621=_0x311f42;this[_0x213621(0x3f1)]=_0x20bac1,this[_0x213621(0x281)]=_0x550757;}[_0x311f42(0x41a)](_0x5a6cf2){const _0x5016a6=_0x311f42;var _0x395b5b;const _0x272779=this[_0x5016a6(0x3f1)][_0x5016a6(0x2de)](_0x4f3300['DocSelectionManagerService']),_0x421b4a=(_0x395b5b=_0x272779[_0x5016a6(0x3e1)]())!=null?_0x395b5b:[];if(_0x421b4a['length']===0x0)return;const _0xc74968=_0x5a6cf2[_0x5016a6(0x3b8)],_0x178022=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc74968,'actions':null,'textRanges':_0x421b4a}}],_0xf93481=this['_transformService'][_0x5016a6(0x322)](_0x5a6cf2,_0x178022);if(!_0x278572['isTransformMutationsWithChangesetSuccess'](_0xf93481))throw _0xf93481['error'];const _0x185942=_0xf93481[_0x5016a6(0x2a9)][0x0][_0x5016a6(0x3fa)][_0x5016a6(0x34a)];Array['isArray'](_0x185942)&&_0x185942[_0x5016a6(0x2bd)]&&_0x272779[_0x5016a6(0x35d)](_0x185942,{'unitId':_0xc74968,'subUnitId':_0xc74968},!0x1);}};_0x22f635=_0x55e6ae([_0x54b761(0x0,_0x2cbbfa['Inject'](_0x2cbbfa['Injector'])),_0x54b761(0x1,_0x278572[_0x311f42(0x207)])],_0x22f635);var _0x177a91=Object[_0x311f42(0x3d4)],_0x34db3b=(_0x22423e,_0x451f4a,_0x45788a,_0x21f6eb)=>{const _0x1b163d=_0x311f42;for(var _0x25147a=_0x21f6eb>0x1?void 0x0:_0x21f6eb?_0x177a91(_0x451f4a,_0x45788a):_0x451f4a,_0x21cbb7=_0x22423e[_0x1b163d(0x2bd)]-0x1,_0x5baf0c;_0x21cbb7>=0x0;_0x21cbb7--)(_0x5baf0c=_0x22423e[_0x21cbb7])&&(_0x25147a=_0x5baf0c(_0x25147a)||_0x25147a);return _0x25147a;},_0x34bbd7=(_0x2b3149,_0x2ebd9f)=>(_0x5ad8e1,_0x202c9b)=>_0x2ebd9f(_0x5ad8e1,_0x202c9b,_0x2b3149);let _0x1294eb=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0x3d3409,_0x12af34,_0x355cd1,_0x234e82,_0x1cba10,_0x29f469,_0x10cf0e,_0x5d1288){const _0x10e019=_0x311f42;super(),_0xe6c276(this,_0x10e019(0x2cc),new _0xf7bf00['BehaviorSubject'](_0x145b5b['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x3d3409,this[_0x10e019(0x328)]=_0x12af34,this['_docTransformIMECacheService']=_0x355cd1,this[_0x10e019(0x2d2)]=_0x234e82,this['_docTransformSelectionsService']=_0x1cba10,this['_docSyncEditingCollabCursorService']=_0x29f469,this['_messageService']=_0x10cf0e,this[_0x10e019(0x402)]=_0x5d1288,this[_0x10e019(0x2f1)]());}['_initEntityListener'](){const _0x323e3a=_0x311f42;this[_0x323e3a(0x32d)](this[_0x323e3a(0x328)]['entityInit$'][_0x323e3a(0x44d)](_0x18e943=>{const _0x38f101=_0x323e3a,_0x5eb33f=this[_0x38f101(0x397)]['docStateChange$'][_0x38f101(0x44d)](_0x28367a=>{const _0x1b3e8d=_0x38f101;if(_0x28367a==null)return;const {unitId:_0x5c6453,redoState:_0x1c1878,commandId:_0x192c75}=_0x28367a;if(_0x5c6453!==_0x18e943[_0x1b3e8d(0x3b8)])return;const _0x2869fc={'id':_0x192c75,'type':_0x2cbbfa[_0x1b3e8d(0x2c2)][_0x1b3e8d(0x3d0)],'params':{'unitId':_0x5c6453,'actions':_0x1c1878[_0x1b3e8d(0x456)],'textRanges':null}};_0x18e943[_0x1b3e8d(0x2bb)](_0x2869fc);});if(_0x18e943[_0x38f101(0x32d)](_0x5eb33f),_0x18e943 instanceof _0x145b5b[_0x38f101(0x42c)]){const _0x4b1727={'onTransformIME':_0xb23ddb=>this[_0x38f101(0x22d)][_0x38f101(0x2f9)](_0xb23ddb),'onTransformState':_0x261c96=>this['_docTransformStateCacheService'][_0x38f101(0x3ad)](_0x261c96),'onTransformSelections':_0x8fd407=>this[_0x38f101(0x2ff)][_0x38f101(0x41a)](_0x8fd407),'onSyncEditingCollabCursor':_0x220841=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x220841),'onTransformRemoteChangesetByIMECache':_0x1a81cc=>this['_docTransformIMECacheService'][_0x38f101(0x2d9)](_0x1a81cc),'onTransformRemoteChangesetByStateCache':_0x3b58ee=>this[_0x38f101(0x2d2)][_0x38f101(0x2d9)](_0x3b58ee)};_0x18e943['addHandlerCallback'](_0x4b1727);}}));}};_0x1294eb=_0x34db3b([_0x34bbd7(0x0,_0x2cbbfa[_0x311f42(0x229)](_0x5e3fdb[_0x311f42(0x2e4)])),_0x34bbd7(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x1f3)])),_0x34bbd7(0x2,_0x2cbbfa['Inject'](_0x1e8ee4)),_0x34bbd7(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x20ffc4)),_0x34bbd7(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x22f635)),_0x34bbd7(0x5,_0x2cbbfa[_0x311f42(0x229)](_0x3e1c93)),_0x34bbd7(0x6,_0x4b3ed5[_0x311f42(0x339)]),_0x34bbd7(0x7,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x3e6)]))],_0x1294eb);var _0x55b3ea=Object['getOwnPropertyDescriptor'],_0x46c9b5=(_0x2a1b6b,_0x114776,_0x2d9cac,_0x44dd86)=>{const _0x105daf=_0x311f42;for(var _0x37f144=_0x44dd86>0x1?void 0x0:_0x44dd86?_0x55b3ea(_0x114776,_0x2d9cac):_0x114776,_0x49b858=_0x2a1b6b[_0x105daf(0x2bd)]-0x1,_0x1a5762;_0x49b858>=0x0;_0x49b858--)(_0x1a5762=_0x2a1b6b[_0x49b858])&&(_0x37f144=_0x1a5762(_0x37f144)||_0x37f144);return _0x37f144;},_0x1e7db8=(_0x847187,_0x490788)=>(_0x926062,_0x2685a7)=>_0x490788(_0x926062,_0x2685a7,_0x847187);let _0x38c6f3=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0xbd132d,_0x3dd672,_0x3aab0e){const _0x520b0b=_0x311f42;super(),_0xe6c276(this,_0x520b0b(0x275),new Map()),_0xe6c276(this,'_saveTaskMap',new Map()),_0xe6c276(this,_0x520b0b(0x388),!0x1),(this[_0x520b0b(0x368)]=_0xbd132d,this['_localStorageService']=_0x3dd672,this[_0x520b0b(0x38d)]=_0x3aab0e);}[_0x311f42(0x3a9)](){const _0x4abbb4=_0x311f42;this[_0x4abbb4(0x388)]=!0x0;}['enableLocalCache'](){const _0x2396df=_0x311f42;this[_0x2396df(0x388)]=!0x1;}get[_0x311f42(0x415)](){const _0x8b90e=_0x311f42;return this[_0x8b90e(0x47e)];}[_0x311f42(0x22e)](){const _0x3e0ef8=_0x311f42;this[_0x3e0ef8(0x3d5)]()[_0x3e0ef8(0x478)](()=>super[_0x3e0ef8(0x22e)]());}async[_0x311f42(0x472)](_0x3c6fd1){const _0x1bdb75=_0x311f42;return this[_0x1bdb75(0x388)]?null:this[_0x1bdb75(0x267)][_0x1bdb75(0x3c6)](_0x145b5b[_0x1bdb75(0x405)](_0x3c6fd1));}async[_0x311f42(0x36d)](_0x56d6e5,_0xa8a1e){const _0x25a6dc=_0x311f42;return!!this[_0x25a6dc(0x267)][_0x25a6dc(0x1f5)](_0x56d6e5,_0xa8a1e);}[_0x311f42(0x40f)](_0x6be5be,_0x349257,_0x2442df,_0x5e3f06){const _0x9e1dcb=_0x311f42,_0x3b9d08=this[_0x9e1dcb(0x38d)][_0x9e1dcb(0x282)](_0x6be5be);this[_0x9e1dcb(0x275)][_0x9e1dcb(0x1d6)](_0x6be5be,{'unitID':_0x6be5be,'type':_0x349257,'awaitingChangeset':_0x2442df,'mutations':_0x5e3f06,'rev':_0x3b9d08}),this[_0x9e1dcb(0x47e)]['has'](_0x6be5be)||this[_0x9e1dcb(0x1ff)](_0x6be5be);}[_0x311f42(0x1ff)](_0x5dc342){const _0x2dd857=_0x311f42,_0x56cc04=this['_getSaveTimeout']();_0x56cc04===0x0?this['_saveCache'](_0x5dc342):this[_0x2dd857(0x47e)]['set'](_0x5dc342,setTimeout(()=>this['_saveCache'](_0x5dc342),_0x56cc04));}[_0x311f42(0x407)](){const _0x359479=_0x311f42;var _0x1e98ba;return(_0x1e98ba=this[_0x359479(0x368)][_0x359479(0x1d1)](_0x145b5b[_0x359479(0x27d)]))!=null?_0x1e98ba:_0x145b5b[_0x359479(0x218)];}[_0x311f42(0x471)](_0x1ca0ab){const _0xffb599=_0x311f42,_0x2d4d74=this[_0xffb599(0x47e)][_0xffb599(0x2de)](_0x1ca0ab);return _0x2d4d74!==void 0x0&&window[_0xffb599(0x269)](_0x2d4d74),this[_0xffb599(0x267)][_0xffb599(0x1f5)](_0x145b5b['getLocalCacheKey'](_0x1ca0ab),this[_0xffb599(0x275)][_0xffb599(0x2de)](_0x1ca0ab))[_0xffb599(0x478)](()=>this[_0xffb599(0x47e)]['delete'](_0x1ca0ab));}async[_0x311f42(0x3d5)](){const _0x2b94fa=_0x311f42,_0x5a2b79=[];this[_0x2b94fa(0x47e)]['forEach']((_0x134832,_0x19c12c)=>{const _0xd933f=_0x2b94fa;window[_0xd933f(0x269)](_0x134832),_0x5a2b79[_0xd933f(0x421)](this[_0xd933f(0x471)](_0x19c12c)['then'](()=>{this['_saveTaskMap']['delete'](_0x19c12c);}));}),await Promise[_0x2b94fa(0x391)](_0x5a2b79);}};_0x38c6f3=_0x46c9b5([_0x1e7db8(0x0,_0x2cbbfa[_0x311f42(0x212)]),_0x1e7db8(0x1,_0x2cbbfa[_0x311f42(0x348)]),_0x1e7db8(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x278572[_0x311f42(0x480)]))],_0x38c6f3);class _0x332a20 extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(){const _0xd1ae1a=_0x311f42;super(),_0xe6c276(this,_0xd1ae1a(0x2a5)),this['urlChange$']=_0xf7bf00[_0xd1ae1a(0x2dd)](window,_0xd1ae1a(0x3aa))[_0xd1ae1a(0x2b2)](_0xf7bf00[_0xd1ae1a(0x36b)](this[_0xd1ae1a(0x289)]),_0xf7bf00[_0xd1ae1a(0x3ac)](0x1),_0xf7bf00[_0xd1ae1a(0x1e0)](void 0x0));}['setParam'](_0x5c86f2,_0x25383e,_0x2bfbcb=!0x1){const _0x2e9fbe=_0x311f42,_0x5954bd=new URL(window[_0x2e9fbe(0x2df)][_0x2e9fbe(0x452)]);_0x5954bd[_0x2e9fbe(0x331)][_0x2e9fbe(0x1d6)](_0x5c86f2,_0x25383e),_0x2bfbcb?window[_0x2e9fbe(0x1de)][_0x2e9fbe(0x3a3)]('','',_0x5954bd['toString']()):window['history'][_0x2e9fbe(0x2a3)]('','',_0x5954bd['toString']());}[_0x311f42(0x3ba)](_0x5aab8b,_0x209b66=!0x1){const _0x3f03c7=_0x311f42,_0x309dc6=new URL(window[_0x3f03c7(0x2df)][_0x3f03c7(0x452)]);_0x309dc6[_0x3f03c7(0x331)][_0x3f03c7(0x292)](_0x5aab8b),_0x209b66?window[_0x3f03c7(0x1de)][_0x3f03c7(0x3a3)]('','',_0x309dc6[_0x3f03c7(0x3d6)]()):window['history'][_0x3f03c7(0x2a3)]('','',_0x309dc6[_0x3f03c7(0x3d6)]());}['getParam'](_0x44711c){const _0x472a39=_0x311f42;var _0x19fc1c;return(_0x19fc1c=new URL(window[_0x472a39(0x2df)][_0x472a39(0x452)])[_0x472a39(0x331)][_0x472a39(0x2de)](_0x44711c))!=null?_0x19fc1c:void 0x0;}}var _0x240d23=Object['defineProperty'],_0x23e1e8=Object['getOwnPropertyDescriptor'],_0x34e1aa=(_0x194d6e,_0x190e36,_0x3c31a4)=>_0x190e36 in _0x194d6e?_0x240d23(_0x194d6e,_0x190e36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c31a4}):_0x194d6e[_0x190e36]=_0x3c31a4,_0x4ccbdd=(_0x4eaecd,_0x5f46fe,_0x56fe93,_0x88f224)=>{const _0x394d15=_0x311f42;for(var _0x44b835=_0x88f224>0x1?void 0x0:_0x88f224?_0x23e1e8(_0x5f46fe,_0x56fe93):_0x5f46fe,_0x5def69=_0x4eaecd[_0x394d15(0x2bd)]-0x1,_0xfc70c8;_0x5def69>=0x0;_0x5def69--)(_0xfc70c8=_0x4eaecd[_0x5def69])&&(_0x44b835=_0xfc70c8(_0x44b835)||_0x44b835);return _0x44b835;},_0x103a0a=(_0x212980,_0x5ac048)=>(_0x3826dc,_0x4b4169)=>_0x5ac048(_0x3826dc,_0x4b4169,_0x212980),_0xf79c6b=(_0x36f3c4,_0x3ce2bf,_0x5525de)=>_0x34e1aa(_0x36f3c4,_0x3ce2bf+'',_0x5525de);const _0x5b46fe=_0x311f42(0x20a);_0x4e7c38[_0x311f42(0x2c3)]=class extends _0x2cbbfa[_0x311f42(0x41f)]{constructor(_0x4abad7=_0x45b2b9,_0x4a4d1d,_0xbd6189,_0x2e92ce){const _0x36d05f=_0x311f42;super(),this[_0x36d05f(0x356)]=_0x4abad7,this['_renderManagerService']=_0x4a4d1d,this[_0x36d05f(0x3f1)]=_0xbd6189,this[_0x36d05f(0x368)]=_0x2e92ce;const {..._0x386655}=_0x2cbbfa[_0x36d05f(0x335)]({},_0x45b2b9,this[_0x36d05f(0x356)]);this[_0x36d05f(0x368)][_0x36d05f(0x205)](_0x1d920a,_0x386655);}[_0x311f42(0x243)](){const _0x3174e3=_0x311f42;this[_0x3174e3(0x2dc)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x311f42(0x2dc)](){const _0x55f9b2=_0x311f42;var _0x471d70;const _0x117064=[[_0x5a339c],[_0x22f635],[_0x1e8ee4],[_0x20ffc4],[_0x3e1c93],[_0x530712,{'useClass':_0x332a20}],[_0x55c378[_0x55f9b2(0x360)],{'useClass':_0x55c378[_0x55f9b2(0x41e)]}],[_0x145b5b[_0x55f9b2(0x45e)],{'useClass':_0x38c6f3}],[_0x4e7c38[_0x55f9b2(0x321)]],[_0x1294eb],[_0x713d47],[_0xa564bf],[_0x1aa902],[_0x4e7c38[_0x55f9b2(0x3bf)]]];_0x2cbbfa[_0x55f9b2(0x43d)](this['_injector'],_0x2cbbfa[_0x55f9b2(0x223)](_0x117064,(_0x471d70=this[_0x55f9b2(0x356)])==null?void 0x0:_0x471d70[_0x55f9b2(0x263)]));}[_0x311f42(0x1ee)](){const _0x52d63a=_0x311f42;this[_0x52d63a(0x32d)](this[_0x52d63a(0x42b)]['registerRenderModule'](_0x2cbbfa[_0x52d63a(0x3f0)][_0x52d63a(0x2d6)],[_0x45a73b])),this[_0x52d63a(0x32d)](this[_0x52d63a(0x42b)][_0x52d63a(0x3bc)](_0x2cbbfa[_0x52d63a(0x3f0)][_0x52d63a(0x363)],[_0x201e9b]));}[_0x311f42(0x286)](){const _0x18a6a1=_0x311f42;_0x2cbbfa[_0x18a6a1(0x399)](this[_0x18a6a1(0x3f1)],[[_0xa564bf],[_0x4e7c38[_0x18a6a1(0x321)]],[_0x1294eb],[_0x713d47],[_0x4e7c38[_0x18a6a1(0x3bf)]]]);}},_0xf79c6b(_0x4e7c38[_0x311f42(0x2c3)],_0x311f42(0x477),_0x5b46fe),_0x4e7c38[_0x311f42(0x2c3)]=_0x4ccbdd([_0x2cbbfa[_0x311f42(0x3ee)](_0x145b5b['UniverCollaborationClientPlugin']),_0x103a0a(0x1,_0x5d67f3[_0x311f42(0x2ec)]),_0x103a0a(0x2,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x103a0a(0x3,_0x2cbbfa[_0x311f42(0x212)])],_0x4e7c38[_0x311f42(0x2c3)]);var _0x47e7a1=Object['getOwnPropertyDescriptor'],_0x289ced=(_0x29080b,_0x5799a1,_0x27d83f,_0xe28f91)=>{const _0x31019b=_0x311f42;for(var _0x236504=_0xe28f91>0x1?void 0x0:_0xe28f91?_0x47e7a1(_0x5799a1,_0x27d83f):_0x5799a1,_0xb1276c=_0x29080b[_0x31019b(0x2bd)]-0x1,_0x12e72c;_0xb1276c>=0x0;_0xb1276c--)(_0x12e72c=_0x29080b[_0xb1276c])&&(_0x236504=_0x12e72c(_0x236504)||_0x236504);return _0x236504;},_0x2237e9=(_0x465b1d,_0x52118b)=>(_0x2d3d43,_0x30e282)=>_0x52118b(_0x2d3d43,_0x30e282,_0x465b1d);_0x4e7c38[_0x311f42(0x3fe)]=class extends _0x145b5b['CollaborationSocketService']{constructor(_0x532465,_0x24c23d,_0x25bf5c,_0x2df6cb,_0x3c9051){super(_0x532465,_0x24c23d,_0x25bf5c,_0x2df6cb,_0x3c9051);}async[_0x311f42(0x3b3)](_0x51ec39){const _0x1350b0=_0x311f42,_0x5b585a=await this[_0x1350b0(0x1e1)](),_0x381dde=this['_createSocketURL'](_0x51ec39,_0x5b585a);return this['_doCreateSocket'](_0x381dde);}[_0x311f42(0x2a6)](_0x5a1c2f,_0x1ab9dc){const _0x28f8ab=_0x311f42,_0xcb812=typeof window>'u'?new URL(_0x5a1c2f):new URL(_0x5a1c2f,window[_0x28f8ab(0x2df)]['origin']);_0xcb812['searchParams'][_0x28f8ab(0x1d6)](_0x28f8ab(0x444),_0x1ab9dc);const _0x2a6dd4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x28f8ab(0x22a)]);return _0x2a6dd4[_0x28f8ab(0x2de)](_0x28f8ab(0x314))&&_0xcb812[_0x28f8ab(0x331)][_0x28f8ab(0x1d6)]('runId',_0x2a6dd4[_0x28f8ab(0x2de)]('runId')),_0xcb812['toString']();}async[_0x311f42(0x1e1)](){const _0xd768d6=_0x311f42;var _0x4a5d15,_0x33f774,_0x369e08;const _0x5a79df=this[_0xd768d6(0x368)]['getConfig'](_0x145b5b[_0xd768d6(0x473)]),_0x160987=(_0x4a5d15=_0x5a79df==null?void 0x0:_0x5a79df[_0xd768d6(0x2ed)])!=null?_0x4a5d15:_0x145b5b[_0xd768d6(0x26b)];return(_0x369e08=(_0x33f774=(await this[_0xd768d6(0x2f4)][_0xd768d6(0x2de)](_0x160987,{'headers':{'Content-Type':_0xd768d6(0x2a4)}}))[_0xd768d6(0x403)])==null?void 0x0:_0x33f774['ticket'])!=null?_0x369e08:'';}},_0x4e7c38[_0x311f42(0x3fe)]=_0x289ced([_0x2237e9(0x0,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x2237e9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x55c378[_0x311f42(0x446)])),_0x2237e9(0x2,_0x2cbbfa['IConfigService']),_0x2237e9(0x3,_0x2cbbfa[_0x311f42(0x241)]),_0x2237e9(0x4,_0x278572[_0x311f42(0x447)])],_0x4e7c38[_0x311f42(0x3fe)]);var _0x454d7d=(_0x8341b8=>(_0x8341b8[_0x8341b8['UNDEFINED']=0x0]=_0x311f42(0x2be),_0x8341b8[_0x8341b8['OK']=0x1]='OK',_0x8341b8[_0x8341b8[_0x311f42(0x2a8)]=0x2]=_0x311f42(0x2a8),_0x8341b8[_0x8341b8['PERMISSION_DENIED']=0x3]=_0x311f42(0x3d9),_0x8341b8[_0x8341b8[_0x311f42(0x31b)]=0x4]=_0x311f42(0x31b),_0x8341b8[_0x8341b8[_0x311f42(0x1ec)]=0x5]=_0x311f42(0x1ec),_0x8341b8[_0x8341b8[_0x311f42(0x370)]=0x6]='ALREADY_EXISTS',_0x8341b8[_0x8341b8['INVALID_ARGUMENT']=0x7]=_0x311f42(0x23d),_0x8341b8[_0x8341b8[_0x311f42(0x3c2)]=0x8]='TOO_MANY_REQUESTS',_0x8341b8[_0x8341b8['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x8341b8[_0x8341b8[_0x311f42(0x319)]=0xa]=_0x311f42(0x319),_0x8341b8[_0x8341b8[_0x311f42(0x2af)]=0xb]=_0x311f42(0x2af),_0x8341b8[_0x8341b8[_0x311f42(0x3a0)]=0xc]=_0x311f42(0x3a0),_0x8341b8[_0x8341b8[_0x311f42(0x23a)]=0xd]=_0x311f42(0x23a),_0x8341b8[_0x8341b8[_0x311f42(0x2aa)]=0xe]=_0x311f42(0x2aa),_0x8341b8[_0x8341b8[_0x311f42(0x3c5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8341b8[_0x8341b8[_0x311f42(0x300)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x8341b8[_0x8341b8[_0x311f42(0x2db)]=0x1772]=_0x311f42(0x2db),_0x8341b8[_0x8341b8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8341b8[_0x8341b8[_0x311f42(0x458)]=0x1b59]=_0x311f42(0x458),_0x8341b8[_0x8341b8[_0x311f42(0x25b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x8341b8[_0x8341b8[_0x311f42(0x3bd)]=0x1b5b]=_0x311f42(0x3bd),_0x8341b8[_0x8341b8[_0x311f42(0x276)]=0x1b5c]=_0x311f42(0x276),_0x8341b8[_0x8341b8[_0x311f42(0x2a2)]=0x1b5d]=_0x311f42(0x2a2),_0x8341b8[_0x8341b8[_0x311f42(0x245)]=0x1f41]=_0x311f42(0x245),_0x8341b8[_0x8341b8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x311f42(0x354),_0x8341b8[_0x8341b8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x311f42(0x290),_0x8341b8[_0x8341b8[_0x311f42(0x410)]=0x232b]=_0x311f42(0x410),_0x8341b8[_0x8341b8[_0x311f42(0x233)]=0x232c]=_0x311f42(0x233),_0x8341b8[_0x8341b8[_0x311f42(0x3c9)]=0x232d]=_0x311f42(0x3c9),_0x8341b8[_0x8341b8[_0x311f42(0x2a7)]=0x2711]=_0x311f42(0x2a7),_0x8341b8[_0x8341b8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x8341b8[_0x8341b8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x8341b8[_0x8341b8[_0x311f42(0x31e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x8341b8[_0x8341b8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x311f42(0x3b0),_0x8341b8[_0x8341b8[_0x311f42(0x414)]=0x271b]=_0x311f42(0x414),_0x8341b8[_0x8341b8[_0x311f42(0x2a1)]=0x271c]=_0x311f42(0x2a1),_0x8341b8[_0x8341b8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x8341b8[_0x8341b8[_0x311f42(0x26d)]=0x271e]=_0x311f42(0x26d),_0x8341b8[_0x8341b8['YUUMI_AI_RUN_FAILED']=0x271f]=_0x311f42(0x24e),_0x8341b8[_0x8341b8[_0x311f42(0x1d2)]=0x2720]=_0x311f42(0x1d2),_0x8341b8[_0x8341b8[_0x311f42(0x3c0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x8341b8[_0x8341b8[_0x311f42(0x311)]=0x2ee1]=_0x311f42(0x311),_0x8341b8[_0x8341b8[_0x311f42(0x357)]=0x2ee2]=_0x311f42(0x357),_0x8341b8[_0x8341b8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x311f42(0x416),_0x8341b8[_0x8341b8[_0x311f42(0x3a6)]=0x2ee4]=_0x311f42(0x3a6),_0x8341b8[_0x8341b8[_0x311f42(0x469)]=0x2ee5]=_0x311f42(0x469),_0x8341b8[_0x8341b8[_0x311f42(0x2cf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x8341b8[_0x8341b8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x311f42(0x3a2),_0x8341b8[_0x8341b8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x311f42(0x345),_0x8341b8[_0x8341b8[_0x311f42(0x23f)]=-0x1]=_0x311f42(0x23f),_0x8341b8))(_0x454d7d||{}),_0x224de0=Object[_0x311f42(0x3d4)],_0x5a831d=(_0x12f25e,_0x2846c6,_0x3d3119,_0x191aef)=>{const _0x46a2d2=_0x311f42;for(var _0x3085f2=_0x191aef>0x1?void 0x0:_0x191aef?_0x224de0(_0x2846c6,_0x3d3119):_0x2846c6,_0x11a4a2=_0x12f25e[_0x46a2d2(0x2bd)]-0x1,_0xe481c8;_0x11a4a2>=0x0;_0x11a4a2--)(_0xe481c8=_0x12f25e[_0x11a4a2])&&(_0x3085f2=_0xe481c8(_0x3085f2)||_0x3085f2);return _0x3085f2;},_0x2e00b7=(_0x9c65a5,_0x438742)=>(_0x3c7503,_0x4ca274)=>_0x438742(_0x3c7503,_0x4ca274,_0x9c65a5);_0x4e7c38[_0x311f42(0x226)]=class extends _0x2cbbfa['Disposable']{constructor(_0x49b144,_0x5e66ff,_0x56782f){const _0x1c7d46=_0x311f42;super(),this[_0x1c7d46(0x3dd)]=_0x49b144,this['_httpService']=_0x5e66ff,this['_configService']=_0x56782f;}async[_0x311f42(0x350)](_0x1cc6b1,_0x48e872,_0x273cd3,..._0x3da553){const _0x298aea=_0x311f42;var _0x7b4610,_0x552fd0,_0x157abe,_0x51de94;const _0x424b24=this[_0x298aea(0x3dd)][_0x298aea(0x202)]();if(!_0x424b24)throw new Error(_0x298aea(0x359));const _0xbb775a=((_0x7b4610=this[_0x298aea(0x368)]['getConfig'](_0x145b5b[_0x298aea(0x30c)]))!=null?_0x7b4610:_0x145b5b[_0x298aea(0x1f7)])+'/'+_0x1cc6b1+_0x298aea(0x21b)+_0x48e872,_0x54add1=new URL(window[_0x298aea(0x2df)][_0x298aea(0x452)]),_0x2c8941={'scriptId':_0x1cc6b1,'runId':(_0x552fd0=_0x54add1[_0x298aea(0x331)]['get'](_0x298aea(0x314)))!=null?_0x552fd0:'','function':_0x48e872,'unitId':_0x424b24[_0x298aea(0x3af)](),'argsOfFunction':JSON[_0x298aea(0x2ce)](_0x3da553),'invokeId':(_0x157abe=_0x273cd3[_0x298aea(0x336)])!=null?_0x157abe:'','executionId':(_0x51de94=_0x273cd3[_0x298aea(0x295)])!=null?_0x51de94:''};try{const _0x37b700=await this[_0x298aea(0x2f4)][_0x298aea(0x42a)](_0xbb775a,{'body':_0x2c8941});return _0x37b700[_0x298aea(0x403)][_0x298aea(0x369)]&&_0x37b700[_0x298aea(0x403)]['error'][_0x298aea(0x3f9)]!==_0x454d7d['OK']?_0x298aea(0x36e):_0x37b700['body'][_0x298aea(0x317)];}catch{return'Failed';}}},_0x4e7c38[_0x311f42(0x226)]=_0x5a831d([_0x2e00b7(0x0,_0x2cbbfa[_0x311f42(0x3fb)]),_0x2e00b7(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x55c378['HTTPService'])),_0x2e00b7(0x2,_0x2cbbfa[_0x311f42(0x212)])],_0x4e7c38['RemoteUniscriptService']);const _0x140ba1=0x7530,_0x20c621=_0x311f42(0x351);class _0x4a9da2 extends _0x2cbbfa['Disposable']{constructor(){const _0x5e4131=_0x311f42;super(),_0xe6c276(this,_0x5e4131(0x41b),_0x2cbbfa['generateRandomId']()),_0xe6c276(this,_0x5e4131(0x2fc),new Set()),_0xe6c276(this,'_unitOnClients',new Map()),_0xe6c276(this,_0x5e4131(0x32f),null),_0xe6c276(this,_0x5e4131(0x44b),new Map()),_0xe6c276(this,_0x5e4131(0x1f0),new Map()),this[_0x5e4131(0x2c0)]();}['dispose'](){const _0x52cf47=_0x311f42;super[_0x52cf47(0x22e)](),this['_clearOtherTimers'][_0x52cf47(0x344)]((_0x394b53,_0x5cc5b2)=>this['_removeClearOtherTimer'](_0x5cc5b2)),this['_heartbeatTimer']&&window[_0x52cf47(0x355)](this[_0x52cf47(0x32f)]);}['getUnitStatus$'](_0x4cf5c5){const _0x517291=_0x311f42;return this[_0x517291(0x326)](_0x4cf5c5)[_0x517291(0x2b2)](_0xf7bf00[_0x517291(0x3f7)]());}[_0x311f42(0x2f2)](_0x562899){const _0x15871f=_0x311f42;this[_0x15871f(0x2fc)][_0x15871f(0x450)]===0x0&&this[_0x15871f(0x3a7)](),this[_0x15871f(0x2fc)][_0x15871f(0x266)](_0x562899),this[_0x15871f(0x270)]({'type':0x0,'memberID':this[_0x15871f(0x41b)],'unitIDs':[_0x562899],'isForwarded':!0x1});}[_0x311f42(0x373)](_0x140602){const _0x235601=_0x311f42;this[_0x235601(0x2fc)]['delete'](_0x140602),this[_0x235601(0x2fc)]['size']===0x0&&this[_0x235601(0x32f)]&&window[_0x235601(0x355)](this[_0x235601(0x32f)]);}[_0x311f42(0x2c0)](){const _0x461439=_0x311f42;this[_0x461439(0x32d)](_0x2cbbfa['toDisposable'](_0xf7bf00[_0x461439(0x2dd)](window,'storage')[_0x461439(0x44d)](_0x2fcd5c=>{const _0x55e1b7=_0x461439;if(_0x2fcd5c[_0x55e1b7(0x451)]!==_0x20c621||!_0x2fcd5c[_0x55e1b7(0x297)])return;const _0x121f18=JSON['parse'](_0x2fcd5c[_0x55e1b7(0x297)]);this[_0x55e1b7(0x470)](_0x121f18);}))),window[_0x461439(0x2c9)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x461439(0x41b)],'unitIDs':Array[_0x461439(0x316)](this['_selfUnitIDs'])}));}[_0x311f42(0x470)](_0x5b59f1){switch(_0x5b59f1['type']){case 0x0:this['_handleJoinEvent'](_0x5b59f1);break;case 0x1:this['_handleLeaveEvent'](_0x5b59f1);break;case 0x2:this['_handleHeartbeatEvent'](_0x5b59f1);break;}}[_0x311f42(0x39c)](_0x34b02e){const _0x2b6a08=_0x311f42,{unitIDs:_0x16a879,memberID:_0x12a1c7,isForwarded:_0x12d712}=_0x34b02e;_0x16a879[_0x2b6a08(0x344)](_0x456abc=>{const _0x2fd721=_0x2b6a08;if(!_0x12d712&&this[_0x2fd721(0x2b3)]['has'](_0x456abc)&&this[_0x2fd721(0x326)](_0x456abc)['next'](_0x145b5b[_0x2fd721(0x327)][_0x2fd721(0x3e2)]),!this[_0x2fd721(0x2b3)][_0x2fd721(0x40e)](_0x456abc)||!this[_0x2fd721(0x2b3)][_0x2fd721(0x2de)](_0x456abc)[_0x2fd721(0x40e)](_0x12a1c7)){const _0x250c8e=this['_unitOnClients']['get'](_0x456abc)||new Set();_0x250c8e[_0x2fd721(0x266)](_0x12a1c7),this[_0x2fd721(0x2b3)][_0x2fd721(0x1d6)](_0x456abc,_0x250c8e),this[_0x2fd721(0x3c7)](_0x12a1c7);}}),_0x12d712||this[_0x2b6a08(0x270)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2b6a08(0x2fc)]],'isForwarded':!0x0});}[_0x311f42(0x3c7)](_0x1ba467){const _0x57e191=_0x311f42;this[_0x57e191(0x32a)](_0x1ba467);const _0x261f0f=window[_0x57e191(0x272)](()=>{const _0x227e8a=_0x57e191;this[_0x227e8a(0x2b3)]['forEach'](_0x5efbc6=>{_0x5efbc6['delete'](_0x1ba467);});},_0x140ba1*0x2);this[_0x57e191(0x44b)]['set'](_0x1ba467,_0x261f0f);}[_0x311f42(0x32a)](_0x421529){const _0xd27eef=_0x311f42;if(this[_0xd27eef(0x44b)][_0xd27eef(0x40e)](_0x421529)){const _0xe0f095=this['_clearOtherTimers'][_0xd27eef(0x2de)](_0x421529);_0xe0f095&&window[_0xd27eef(0x269)](_0xe0f095),this[_0xd27eef(0x44b)][_0xd27eef(0x1d6)](_0x421529,null);}}['_handleLeaveEvent'](_0x33ed9e){const _0x467279=_0x311f42,{memberID:_0x9e4aa0,unitIDs:_0x2879c9}=_0x33ed9e;_0x2879c9[_0x467279(0x344)](_0x110b0c=>{const _0x21ea36=_0x467279;var _0x3b0c7b;const _0x290d31=this[_0x21ea36(0x2b3)][_0x21ea36(0x2de)](_0x110b0c);_0x290d31&&(_0x290d31[_0x21ea36(0x292)](_0x9e4aa0),(_0x3b0c7b=this[_0x21ea36(0x326)](_0x110b0c))==null||_0x3b0c7b[_0x21ea36(0x38c)](_0x290d31[_0x21ea36(0x450)]===0x0?_0x145b5b[_0x21ea36(0x327)][_0x21ea36(0x280)]:_0x145b5b[_0x21ea36(0x327)][_0x21ea36(0x3e2)]));}),this['_removeClearOtherTimer'](_0x9e4aa0);}['_handleHeartbeatEvent'](_0x55c735){const _0x3242c4=_0x311f42;this[_0x3242c4(0x3c7)](_0x55c735[_0x3242c4(0x1e3)]);}[_0x311f42(0x270)](_0x45874f){const _0xc76204=_0x311f42;localStorage[_0xc76204(0x1f5)](_0x20c621,JSON['stringify'](_0x45874f));}['_scheduleHeartbeat'](){const _0x1beb57=_0x311f42;this[_0x1beb57(0x32f)]=window[_0x1beb57(0x3ab)](()=>{const _0x4c26c1=_0x1beb57;this[_0x4c26c1(0x270)]({'type':0x2,'memberID':this['_id']});},_0x140ba1);}[_0x311f42(0x326)](_0x177f21){const _0x2fecf3=_0x311f42;return this[_0x2fecf3(0x1f0)][_0x2fecf3(0x40e)](_0x177f21)||this[_0x2fecf3(0x1f0)][_0x2fecf3(0x1d6)](_0x177f21,new _0xf7bf00[(_0x2fecf3(0x1e9))](_0x145b5b['UnitStatus'][_0x2fecf3(0x280)])),this[_0x2fecf3(0x1f0)][_0x2fecf3(0x2de)](_0x177f21);}}_0x4e7c38[_0x311f42(0x3be)]=_0x530712,_0x4e7c38[_0x311f42(0x291)]=_0x3a7b4c,_0x4e7c38[_0x311f42(0x2bf)]=_0x4a9da2,_0x4e7c38[_0x311f42(0x3de)]=_0x332a20,Object[_0x311f42(0x2f6)](_0x4e7c38,Symbol['toStringTag'],{'value':'Module'});}));function _0x23b9(){const _0x32411f=['setAlpha','executionId','endColumn','newValue','registerRefRange','send','3406800orCmRT','IBeforeCloseService','string','getColor','call','unsubscribe','eventID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_DUPLICATED','pushState','application/json','urlChange$','_createSocketURL','YUUMI_UNABLE_LOAD_URL','INTERNAL_ERROR','m2Prime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isEditing','_entityInit$','_memberService','undoState','MOBILE_VERIFY_CODE_MISMATCH','UniverSheetsUi','createInstance','pipe','_unitOnClients','transformMutation','collabStatus.synced','hide','backgroundColor','collabCursorState$','toRgbString','_textBubble','onLocalMutation','status$','length','UNDEFINED','WebBrowserSingleActiveUnitService','_init','RECT','CommandType','UniverCollaborationClientUIPlugin','SOCKET_FAILED','off-line-icon_clip0_910_343','createElement','getOwnPropertySymbols','http://www.w3.org/2000/svg','addEventListener','icon','restore','_status$','_hideTimer','stringify','WECHAT_HAS_BEEN_BOUND','handleInsertRangeMoveRight','_drawAnchor','_docTransformStateCacheService','m1Prime','MessageType','_toggleOffline','UNIVER_DOC','getSheetId','selections','transformRemoteChangeset','split','SNAPSHOT_HAS_BEEN_REMOVED','_registerDependencies','fromEvent','get','location','getUniverSheetInstance','onTransformChange$','CollaborationSessionService','displayName','DocStateChangeManagerService','@univerjs/docs','deepClone','33zbhclD','PENDING','_drawRectRange','_collabCursorController','combineLatest','IRenderManagerService','wsSessionTicketUrl','width','@univerjs/core','_removeCollabCursors','_initEntityListener','editingUnit','IUIPartsService','_httpService','RxDisposable','defineProperty','getRelativeToViewportCoord','ONLINE','transformIMECache','currentSkeleton$','_collaborationUIEventService','_selfUnitIDs','@univerjs/rpc','11LYgRuw','_docTransformSelectionsService','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','_getScale','switchMap','RichTextEditingMutation','startColumn','imageSourceType','xlink:href','blue.400','collabStatus.notCollab','1239930mMuyIj','resize','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UniverProCollaboration','setActiveRange','getColorFromTheme','_hovered','INVITE_CODE_HAS_BEEN_UES','addClipboardHook','replace','runId','handleIRemoveCol','from','result','getSkeleton','LOGIN_FAILED','_transformPreviousActiveRange','NOT_FOUND','DisposableCollection','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveRow','UniverDesign','DesktopCollaborationStatusDisplayController','transformMutationsWithChangeset','row','getCurrentSelections','InsertRangeMoveRightCommandId','_ensureSubject','UnitStatus','_collaborationController','react','_removeClearOtherTimer','font','serializeRangeWithSheet','disposeWithMe','5322830teVxcl','_heartbeatTimer','_transformHistoryAndStateStack','searchParams','AWAITING_WITH_PENDING','symbol','syncEditingCollabCursor','merge','invokeId','JOIN_ROOM_FAILED','Injector','IMessageService','getCurrentUnitForType','handleDeleteRangeMoveUp','_sheetSkeletonManagerService','_handleHover','propertyIsEnumerable','translate(.97)','type','UniverCore','_initEvent','_onCursorDelete','forEach','EMAIL_HAS_BEEN_BOUND','rxjs','bottom','ILocalStorageService','isTransformMutationFailure','textRanges','_refreshCollabCursors','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','off-line-icon','CLOSE_ROOM','with','runOnServer','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','handleInsertCol','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','_config','INVALID_INVITE_CODE','_onCursorUpdate','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ColorKit','SetSelectionsOperation','_commandService','replaceDocRanges','SheetSkeletonManagerService','currentTheme$','ISocketService','_draw','roomMembers$','UNIVER_SHEET','green.600','throttleTime','getActiveSheet','_beforeCloseService','_configService','error','collab-text-range-','takeUntil','session.collaboration-timeout','saveOfflineData','Failed','forwardRef','ALREADY_EXISTS','text','ranges','disposeUnit','measureText','amd','isTransformMutationsWithChangesetSuccess','setUndoRedoMutationParamsCache','indexOf','requireSession','_docClipboardService','setShapeProps','@univerjs/design','_dataLoaderService','_urlService','MemberService','column','Tools','color','IImageIoService','_colorIndex','_setupSubUnitSync','startRow','createIdentifier','_disabled','SessionStatus','executeCommand','cursorInfo$','next','_revisionService','M0\x200H16V16H0z','addObject','addObjects','all','@univerjs/network','RegularPolygon','onCommandExecuted','Workbook','sheetId','_docStateChangeManagerService','AWAITING','touchDependencies','UniverIcon','Optional','_handleJoinEvent','collabStatus.fetchMiss','_initResize','_lastPointer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defIds','MOBILE_HAS_BEEN_BOUND','replaceState','_anchorDot','collabStatus.syncing','USER_NOT_INVITED_CODE','_scheduleHeartbeat','evenodd','disableLocalCache','popstate','setInterval','shareReplay','transformStateCache','_getMergeRange','getUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','svg','DocSkeletonManagerService','createSocket','_onRefRangeChange','RemoveColCommandId','@univerjs/engine-render','height','unitID','_cursors','removeParam','debounce','registerRenderModule','APPLY_REVISION_CONFILICT','IURLService','CollaborationDataLoaderController','PY_RUNTIME_SCRIPT_ERROR','_range','TOO_MANY_REQUESTS','url(#off-line-icon_clip0_910_343)','saveImage','CHANGESET_REVISION_CONFILICT','getItem','_scheduleClearOtherTimer','TEXT_RANGE_LAYER_INDEX','LICENSE_DISTRO_REJECTED','rgba(255,\x20255,\x20255,\x200.01)','Unknown\x20user','name','exports','hovered','ThemeService','MUTATION','getCoordByCell','round','RefRangeService','getOwnPropertyDescriptor','exhaustSavingTask','toString','getVpScrollXYInfoByPosToVp','OTHER_CLIENT_EDITING','PERMISSION_DENIED','arc','getStateCache','activeSheet$','_instanceService','WebURLService','none','88yFVGcH','getDocRanges','OTHER_CLIENTS_EDITING','white','_uiPartsService','NodePositionConvertToRectRange','LocaleService','getUndoRedoMutationParamsCache','Vector2','entries','_entities','SHEET_VIEWPORT_KEY','_syncEditingCollabCursorService','getValue','DependentOn','makeDirty','UniverInstanceType','_injector','_collabCursorState$','closePath','transform','[CollaborationDataLoaderController]','FETCH_MISS','distinctUntilChanged','idSuffix','code','params','IUniverInstanceService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#$1','BrowserCollaborationSocketService','fillRule','react/jsx-runtime','UniverDocsUi','_localeService','body','unshift','getLocalCacheKey','hasOwnProperty','_getSaveTimeout','_getAnchorBounding','clsx','Disposable','@univerjs/docs-ui','selection','collabStatus.offline','has','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','_cursorInfo$','SUBMIT_CHANGESET_TIMEOUT','ICommandService','YUUMI_ASYNCIO_CANCELLED','saveTaskMap','INVITE_CODE_REQUIRED','purple.300','SOCKET_FAILED_RETRY','mask','transformSelections','_id','clipPath','CollaborationUIEventService','WebSocketService','Plugin','UniverDocs','push','CollaborationStatus','_hover','useRef','subunit','getTypeOfUnitDisposed$','unitId','OnLineIcon','_session','post','_renderManagerService','DocCollaborationEntity','UPDATE_CURSOR','map','transformByState','mutations','VIEW_MAIN','DocIMEInputManagerService','4044jUDaEF','getRangePointData','_render','init','colorChannel1','getViewport','attrs','_updateSubUnitFromURLParams','_initStatusComponent','save','registerDependencies','function','_anchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fromEventSubject','labelPosition','UniverNetwork','sessionTicket','yellow.400','HTTPService','ISnapshotServerService','handleInsertRow','_messageService','Warning','_clearOtherTimers','operators','subscribe','subscribeEvent','fillStyle','size','key','href','whenReady','7sEIceZ','univerjs-icon\x20univerjs-icon-','actions','BuiltInUIPart','APPLY_REJECT','_cursorShapes','UniverSheets','runRefRangeMutations','values','cursorInfo','ILocalCacheService','_context','path','SetWorksheetActivateCommand','_univerInstanceService','endRow','setStateCache','range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','26206668PaJCvR','drawWith','INVITE_CODE_ALREADY_BOUND','substring','isArray','findNodePositionByCharIndex','IDocClipboardService','use','connectInjector','_handleEvent','_saveCache','loadOfflineData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.conflict','generateRandomId','_startDocCollabCursor','pluginName','then','5336gevcfQ','Error','_themeService','_logService','rxjs/operators','_saveTaskMap','_docSkeletonManagerService','RevisionService','on-line-icon','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','doc.mutation.rich-text-editing','_labelPosition','SetTextSelectionsOperation','set','loadUnit','_drawTextRange','Tooltip','React','getActiveRange','permission.content','children','history','_docSkeleton','mapTo','_getSessionTicket','skeleton','memberID','max','Shape','_refRangeService','min','getOffsetConfig','BehaviorSubject','UniverUi','_eventUnsubscribe','UNAUTHENTICATED','defs','_registerRenderDependencies','trim','_unitStatus','INotificationService','univer-flex\x20univer-items-center','CollaborationController','SetDocZoomRatioOperation','setItem','collaboration-client.offline-data-not-saved','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMemberID','EffectRefRangId','show','engine','_cursor','subUnitId','_name','_scheduleSaving','on-line-icon_clip0_910_349','unit','getFocusedUnit','prototype','source','setConfig','_color','ITransformService','_imageIoService','assignAColorForMemberID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','handleMoveRange','_backgroundColor','...','useDependency','InsertRangeMoveDownCommandId','useObservable','UniverRpc','IConfigService','_transformUndoRedoStack','className','OffLineIcon','@univerjs/ui','getUnhiddenWorksheets','LOCAL_CACHE_INTERVAL','InsertColCommandId','DeleteRangeMoveUpCommandId','/run/','@univerjs-pro/collaboration-client','currentColor','current','788193FgwqwR','_initCommandExecutedListener','_roomMembers$','collaboration-client-ui.config','mergeOverrideWithDependencies','deserializeRangeWithSheet','TEXT','RemoteUniscriptService','_shapes','redoState','Inject','search','DOC_RANGE_TYPE','jsx','_docTransformIMECacheService','dispose','red.300','filter','MoveRangeCommandId','getSheetBySheetId','LICENSE_EXPORT_SIZE_EXCEEDED','lineTo','_updateLocalCursor','focused$','fill','includes','1em','EMAIL_VERIFY_CODE_MISMATCH','getParam','0\x200\x2017\x2016','INVALID_ARGUMENT','useCallback','UNRECOGNIZED','data','ILogService','_localCacheService','onStarting','283256HaXTam','CONNECTOR_DATA_TOO_LARGE','assign','univer-mr-2\x20univer-flex\x20univer-text-xl','debounceTime','complete','jiqing.500','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collabSessionService','_updateCollabCursors','YUUMI_AI_RUN_FAILED','extend','event$','black','reconnect','asObservable','_colorAssignService','random','onPointerEnter$','url(#on-line-icon_clip0_910_349)','getMergeData','IRemoteInstanceService','getCollabCursors$','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','jsxs','toDisposable','onPointerLeave$','_online','getMember','Rect','override','beginPath','getRenderById','add','_localStorageService','handleInsertRangeMoveDown','clearTimeout','_scene','DEFAULT_WS_SESSION_TICKET_URL','_setupBeforeClosingHandler','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCellPositionByOffset','SheetsSelectionsService','_send','NOT_COLLAB','setTimeout','onMouseMove','sessionStatus$','_cachedData','APPLY_PERMISSION_DENIED','registerBeforeClose','@univerjs/sheets','getTypeOfUnitAdded$','_assignedColors','collab-client.tooltip.reconnect','_toggleOnline','LOCAL_CACHE_INTERVAL_KEY','CollaborationEvent','CollaborationUIEventId','NO_OTHER_CLIENTS_EDITING','_transformService','getCurrentRevOfUnit','concat','@univerjs/drawing','session.will-retry','_initDependencies','some','top','dispose$','COLORS','UniverEngineFormula','div','@univerjs/sheets-ui','_getSheetObject','debug','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetCollabCursorShape','delete','USERS_LEAVE'];_0x23b9=function(){return _0x32411f;};return _0x23b9();}
1
+ (function(_0x3d8e92,_0x17a13c){const _0x3f2150=_0x106e,_0x2102af=_0x3d8e92();while(!![]){try{const _0x2ef8fc=-parseInt(_0x3f2150(0x27d))/0x1+-parseInt(_0x3f2150(0x3cb))/0x2*(parseInt(_0x3f2150(0x13d))/0x3)+parseInt(_0x3f2150(0x2a2))/0x4*(parseInt(_0x3f2150(0x392))/0x5)+parseInt(_0x3f2150(0x39d))/0x6*(parseInt(_0x3f2150(0x37d))/0x7)+-parseInt(_0x3f2150(0x154))/0x8+parseInt(_0x3f2150(0x2c2))/0x9*(parseInt(_0x3f2150(0x33e))/0xa)+parseInt(_0x3f2150(0x381))/0xb*(-parseInt(_0x3f2150(0x2a9))/0xc);if(_0x2ef8fc===_0x17a13c)break;else _0x2102af['push'](_0x2102af['shift']());}catch(_0x4ad100){_0x2102af['push'](_0x2102af['shift']());}}}(_0x11b5,0xc3ea2),function(_0x51cd83,_0x1bb64d){const _0x1c7027=_0x106e;typeof exports=='object'&&typeof module<'u'?_0x1bb64d(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==_0x1c7027(0x263)&&define[_0x1c7027(0x2dd)]?define([_0x1c7027(0x1e4),'react/jsx-runtime',_0x1c7027(0x14f),_0x1c7027(0x1e5),'@univerjs/ui',_0x1c7027(0x32a),'@univerjs/design',_0x1c7027(0x348),'@univerjs/rpc',_0x1c7027(0x1a7),'@univerjs/engine-render',_0x1c7027(0x146),_0x1c7027(0x395),'@univerjs/drawing',_0x1c7027(0x2e0),'@univerjs/docs',_0x1c7027(0x28e),_0x1c7027(0x225),_0x1c7027(0x2c8)],_0x1bb64d):(_0x51cd83=typeof globalThis<'u'?globalThis:_0x51cd83||self,_0x1bb64d(_0x51cd83['UniverProCollaborationClientUi']={},_0x51cd83[_0x1c7027(0x229)],_0x51cd83[_0x1c7027(0x3a5)],_0x51cd83['UniverCore'],_0x51cd83[_0x1c7027(0x189)],_0x51cd83[_0x1c7027(0x32a)],_0x51cd83[_0x1c7027(0x302)],_0x51cd83[_0x1c7027(0x229)],_0x51cd83[_0x1c7027(0x1d7)],_0x51cd83[_0x1c7027(0x355)],_0x51cd83['UniverEngineRender'],_0x51cd83[_0x1c7027(0x1cf)],_0x51cd83['UniverDocsUi'],_0x51cd83[_0x1c7027(0x35c)],_0x51cd83[_0x1c7027(0x3b9)],_0x51cd83[_0x1c7027(0x252)],_0x51cd83[_0x1c7027(0x2c9)],_0x51cd83['rxjs'][_0x1c7027(0x2c0)],_0x51cd83['UniverSheetsUi']));}(this,function(_0x32312a,_0x16b037,_0x367c63,_0x58f6c8,_0x570ef0,_0x1578c2,_0x2023b2,_0x34d825,_0x5a1fe7,_0x606422,_0x41c725,_0x53e9e6,_0x21c652,_0x320ecf,_0x44e0d0,_0x4cf100,_0xae4619,_0x6ea371,_0x578b8a){'use strict';const _0x191796=_0x106e;var _0x4bd2f7=Object[_0x191796(0x31d)],_0x45289e=(_0x3cbddc,_0x1d6074,_0x569da2)=>_0x1d6074 in _0x3cbddc?_0x4bd2f7(_0x3cbddc,_0x1d6074,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x569da2}):_0x3cbddc[_0x1d6074]=_0x569da2,_0x27b740=(_0xbd89b5,_0x234ae6,_0x278221)=>_0x45289e(_0xbd89b5,typeof _0x234ae6!=_0x191796(0x235)?_0x234ae6+'':_0x234ae6,_0x278221),_0x214ed0=function(){const _0x5db894=_0x191796;return _0x214ed0=Object['assign']||function(_0x32f921){const _0x560e7a=_0x106e;for(var _0x33cf8f,_0x74e2a9=0x1,_0x526479=arguments[_0x560e7a(0x262)];_0x74e2a9<_0x526479;_0x74e2a9++){_0x33cf8f=arguments[_0x74e2a9];for(var _0x6ed364 in _0x33cf8f)Object[_0x560e7a(0x274)][_0x560e7a(0x320)][_0x560e7a(0x15b)](_0x33cf8f,_0x6ed364)&&(_0x32f921[_0x6ed364]=_0x33cf8f[_0x6ed364]);}return _0x32f921;},_0x214ed0[_0x5db894(0x3cc)](this,arguments);},_0x4332ec=function(_0x1d8f73,_0x432db1){const _0x3d7fd2=_0x191796;var _0x568596={};for(var _0x44f702 in _0x1d8f73)Object[_0x3d7fd2(0x274)][_0x3d7fd2(0x320)][_0x3d7fd2(0x15b)](_0x1d8f73,_0x44f702)&&_0x432db1['indexOf'](_0x44f702)<0x0&&(_0x568596[_0x44f702]=_0x1d8f73[_0x44f702]);if(_0x1d8f73!=null&&typeof Object[_0x3d7fd2(0x35a)]==_0x3d7fd2(0x263)){for(var _0xd987d2=0x0,_0x44f702=Object[_0x3d7fd2(0x35a)](_0x1d8f73);_0xd987d2<_0x44f702[_0x3d7fd2(0x262)];_0xd987d2++)_0x432db1[_0x3d7fd2(0x236)](_0x44f702[_0xd987d2])<0x0&&Object['prototype'][_0x3d7fd2(0x20e)][_0x3d7fd2(0x15b)](_0x1d8f73,_0x44f702[_0xd987d2])&&(_0x568596[_0x44f702[_0xd987d2]]=_0x1d8f73[_0x44f702[_0xd987d2]]);}return _0x568596;},_0x35c402=_0x34d825[_0x191796(0x2f5)](function(_0x38b8ad,_0x159f70){const _0x3c0584=_0x191796;var _0x3250c0=_0x38b8ad[_0x3c0584(0x294)],_0x2f7893=_0x38b8ad['id'],_0x277d74=_0x38b8ad[_0x3c0584(0x167)],_0x4230d4=_0x38b8ad[_0x3c0584(0x2be)],_0x50a39a=_0x4332ec(_0x38b8ad,[_0x3c0584(0x294),'id','className',_0x3c0584(0x2be)]),_0x295174=_0x3c0584(0x33a)[_0x3c0584(0x1f6)](_0x2f7893,'\x20')[_0x3c0584(0x1f6)](_0x277d74||'')[_0x3c0584(0x1b2)](),_0x4bbbe8=_0x34d825[_0x3c0584(0x141)]('_'['concat'](_0x4ca8e8()));return _0x1ad75f(_0x3250c0,''[_0x3c0584(0x1f6)](_0x2f7893),{'defIds':_0x3250c0[_0x3c0584(0x178)],'idSuffix':_0x4bbbe8[_0x3c0584(0x2fc)]},_0x214ed0({'ref':_0x159f70,'className':_0x295174},_0x50a39a),_0x4230d4);});function _0x1ad75f(_0x330edf,_0x2b39d8,_0x54c6fd,_0x40f132,_0x2af477){const _0x332513=_0x191796;return _0x34d825[_0x332513(0x300)](_0x330edf[_0x332513(0x285)],_0x214ed0(_0x214ed0({'key':_0x2b39d8},_0x2e6447(_0x330edf,_0x54c6fd,_0x2af477)),_0x40f132),(_0x4f73c9(_0x330edf,_0x54c6fd)[_0x332513(0x237)]||[])[_0x332513(0x286)](function(_0x444468,_0x40783b){const _0x342897=_0x332513;return _0x1ad75f(_0x444468,''[_0x342897(0x1f6)](_0x2b39d8,'-')[_0x342897(0x1f6)](_0x330edf['tag'],'-')['concat'](_0x40783b),_0x54c6fd,void 0x0,_0x2af477);}));}function _0x2e6447(_0x31db9a,_0x4659e0,_0x56191d){const _0x22f949=_0x191796;var _0x4ca040=_0x214ed0({},_0x31db9a['attrs']);_0x56191d!=null&&_0x56191d[_0x22f949(0x39a)]&&_0x4ca040[_0x22f949(0x2e8)]===_0x22f949(0x39a)&&(_0x4ca040[_0x22f949(0x2e8)]=_0x56191d[_0x22f949(0x39a)]),_0x31db9a[_0x22f949(0x285)]===_0x22f949(0x140)&&_0x4ca040['id']&&(_0x4ca040['id']=_0x4ca040['id']+_0x4659e0[_0x22f949(0x1b0)]),Object[_0x22f949(0x27c)](_0x4ca040)['forEach'](function(_0xf91e3e){const _0x249d18=_0x22f949;var _0x5b4ac7=_0xf91e3e[0x0],_0xe6a7b0=_0xf91e3e[0x1];_0x5b4ac7===_0x249d18(0x140)&&typeof _0xe6a7b0==_0x249d18(0x28f)&&(_0x4ca040[_0x5b4ac7]=_0xe6a7b0[_0x249d18(0x1ba)](/url\(#(.*)\)/,_0x249d18(0x37f)[_0x249d18(0x1f6)](_0x4659e0['idSuffix'],')')));});var _0x2f27c4=_0x4659e0['defIds'];return!_0x2f27c4||_0x2f27c4[_0x22f949(0x262)]===0x0||(_0x31db9a[_0x22f949(0x285)]==='use'&&_0x4ca040['xlink:href']&&(_0x4ca040[_0x22f949(0x2c7)]=_0x4ca040['xlink:href']+_0x4659e0['idSuffix']),Object['entries'](_0x4ca040)[_0x22f949(0x238)](function(_0x29aea0){const _0x422099=_0x22f949;var _0x44d4e0=_0x29aea0[0x0],_0x6353c3=_0x29aea0[0x1];typeof _0x6353c3==_0x422099(0x28f)&&(_0x4ca040[_0x44d4e0]=_0x6353c3[_0x422099(0x1ba)](/url\(#(.*)\)/,_0x422099(0x37f)[_0x422099(0x1f6)](_0x4659e0[_0x422099(0x1b0)],')')));})),_0x4ca040;}function _0x4f73c9(_0x203fd2,_0x32974b){const _0x3efde4=_0x191796;var _0x28f756,_0x5a9f15=_0x32974b['defIds'];return!_0x5a9f15||_0x5a9f15[_0x3efde4(0x262)]===0x0?_0x203fd2:_0x203fd2[_0x3efde4(0x285)]==='defs'&&(!((_0x28f756=_0x203fd2['children'])===null||_0x28f756===void 0x0)&&_0x28f756[_0x3efde4(0x262)])?_0x214ed0(_0x214ed0({},_0x203fd2),{'children':_0x203fd2[_0x3efde4(0x237)][_0x3efde4(0x286)](function(_0x4f10ae){const _0x19cab2=_0x3efde4;return typeof _0x4f10ae['attrs']['id']==_0x19cab2(0x28f)&&_0x5a9f15&&_0x5a9f15[_0x19cab2(0x193)](_0x4f10ae[_0x19cab2(0x35e)]['id'])?_0x214ed0(_0x214ed0({},_0x4f10ae),{'attrs':_0x214ed0(_0x214ed0({},_0x4f10ae[_0x19cab2(0x35e)]),{'id':_0x4f10ae[_0x19cab2(0x35e)]['id']+_0x32974b[_0x19cab2(0x1b0)]})}):_0x4f10ae;})}):_0x203fd2;}function _0x4ca8e8(){const _0x4eac67=_0x191796;return Math[_0x4eac67(0x279)]()['toString'](0x24)[_0x4eac67(0x214)](0x2,0x8);}_0x35c402[_0x191796(0x1e9)]=_0x191796(0x35d);var _0x193bff={'tag':_0x191796(0x3b8),'attrs':{'xmlns':_0x191796(0x345),'fill':'none','viewBox':_0x191796(0x171),'width':'1em','height':_0x191796(0x163)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x191796(0x194),'attrs':{'stroke':_0x191796(0x188),'d':_0x191796(0x3a3),'strokeLinecap':_0x191796(0x149),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x191796(0x1d4),'attrs':{'id':_0x191796(0x399)},'children':[{'tag':_0x191796(0x194),'attrs':{'fill':'white','d':_0x191796(0x346)}}]}]}],'defIds':[_0x191796(0x399)]},_0x433177=_0x34d825[_0x191796(0x2f5)](function(_0xb86d4d,_0x22f7ec){const _0x26c9ca=_0x191796;return _0x34d825[_0x26c9ca(0x300)](_0x35c402,Object['assign']({},_0xb86d4d,{'id':'off-line-icon','ref':_0x22f7ec,'icon':_0x193bff}));});_0x433177['displayName']=_0x191796(0x2bb);var _0x2318c0={'tag':'svg','attrs':{'xmlns':_0x191796(0x345),'fill':_0x191796(0x1e0),'viewBox':_0x191796(0x24d),'width':_0x191796(0x163),'height':_0x191796(0x163)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x191796(0x194),'attrs':{'stroke':_0x191796(0x188),'d':_0x191796(0x17c),'strokeLinecap':_0x191796(0x149),'strokeLinejoin':_0x191796(0x149),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x191796(0x2fd)},'children':[{'tag':_0x191796(0x194),'attrs':{'fill':_0x191796(0x166),'d':_0x191796(0x346),'transform':_0x191796(0x2df)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x32ad4a=_0x34d825[_0x191796(0x2f5)](function(_0x2488a4,_0xccde14){const _0x239b8c=_0x191796;return _0x34d825['createElement'](_0x35c402,Object['assign']({},_0x2488a4,{'id':_0x239b8c(0x1d2),'ref':_0xccde14,'icon':_0x2318c0}));});_0x32ad4a['displayName']=_0x191796(0x3d3);function _0x6b8020(_0x284cb8){const _0x1a5f3f=_0x191796;switch(_0x284cb8){case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x391)]:return _0x1a5f3f(0x17e);case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x23e)]:return _0x1a5f3f(0x153);case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x209)]:return'collabStatus.fetchMiss';case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x245)]:return _0x1a5f3f(0x15c);case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x1e2)]:case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x366)]:return'collabStatus.syncing';case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x3d2)]:case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x2cd)]:return _0x1a5f3f(0x3cf);}}function _0x3a723a(_0x597299){const _0x48ab0c=_0x191796,{status$:_0x245d7c}=_0x597299,_0x224969=_0x570ef0[_0x48ab0c(0x17f)](_0x245d7c,_0x367c63[_0x48ab0c(0x3c6)][_0x48ab0c(0x245)]),_0x4fedc7=_0x570ef0[_0x48ab0c(0x246)](_0x58f6c8['LocaleService']),_0x1f5e14=_0x570ef0[_0x48ab0c(0x246)](_0x367c63[_0x48ab0c(0x303)]),_0x4367f2=_0x224969!==_0x367c63[_0x48ab0c(0x3c6)][_0x48ab0c(0x391)],_0x5ac932=_0x4fedc7['t'](_0x6b8020(_0x224969)),_0x505f7f=_0x4367f2?_0x16b037[_0x48ab0c(0x265)](_0x32ad4a,{}):_0x16b037[_0x48ab0c(0x265)](_0x433177,{}),_0x5b26af=_0x34d825[_0x48ab0c(0x382)](()=>{const _0xa47786=_0x48ab0c;_0x4367f2||_0x1f5e14[_0xa47786(0x34b)]();},[_0x4367f2,_0x1f5e14]);function _0x5b0fc8(){const _0x12d6ee=_0x48ab0c;return _0x16b037[_0x12d6ee(0x307)](_0x12d6ee(0x329),{'className':_0x12d6ee(0x24a),'onClick':_0x5b26af,'children':[_0x16b037['jsx'](_0x12d6ee(0x329),{'className':_0x2023b2[_0x12d6ee(0x37c)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4367f2,'univer-text-red-500':!_0x4367f2}),'children':_0x505f7f}),_0x16b037[_0x12d6ee(0x265)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5ac932})]});}return _0x4367f2?_0x5b0fc8():_0x16b037[_0x48ab0c(0x265)](_0x2023b2[_0x48ab0c(0x3af)],{'title':_0x4fedc7['t'](_0x48ab0c(0x297)),'children':_0x5b0fc8()});}var _0x29653a=Object[_0x191796(0x1e8)],_0x291a3a=(_0x43c68f,_0x51cb67,_0xee70ad,_0x410fc8)=>{const _0x4a9c34=_0x191796;for(var _0x3b28a0=_0x410fc8>0x1?void 0x0:_0x410fc8?_0x29653a(_0x51cb67,_0xee70ad):_0x51cb67,_0x48a377=_0x43c68f[_0x4a9c34(0x262)]-0x1,_0x34ef4c;_0x48a377>=0x0;_0x48a377--)(_0x34ef4c=_0x43c68f[_0x48a377])&&(_0x3b28a0=_0x34ef4c(_0x3b28a0)||_0x3b28a0);return _0x3b28a0;},_0x1b1f47=(_0x35613b,_0x256663)=>(_0x244c60,_0x461c5f)=>_0x256663(_0x244c60,_0x461c5f,_0x35613b);_0x32312a['DesktopCollaborationStatusDisplayController']=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x1211cc,_0x49f991,_0x58c5b0,_0x11f61f){const _0x3fa0d3=_0x191796;super(),_0x27b740(this,_0x3fa0d3(0x3a8),new _0x1578c2[(_0x3fa0d3(0x204))](_0x367c63[_0x3fa0d3(0x3c6)]['NOT_COLLAB'])),(this[_0x3fa0d3(0x18a)]=_0x1211cc,this['_injector']=_0x49f991,this['_collaborationController']=_0x58c5b0,this[_0x3fa0d3(0x1a8)]=_0x11f61f,this['_initStatusComponent'](),this[_0x3fa0d3(0x2d0)]());}[_0x191796(0x2d0)](){const _0x1bb258=_0x191796;this[_0x1bb258(0x1dc)](this['_univerInstanceService'][_0x1bb258(0x1a4)][_0x1bb258(0x31a)](_0x1578c2[_0x1bb258(0x1ac)](()=>{const _0x6a6631=_0x1bb258,_0x3935fd=this[_0x6a6631(0x18a)][_0x6a6631(0x2fa)]();return _0x3935fd?this['_collaborationController'][_0x6a6631(0x2eb)](_0x3935fd[_0x6a6631(0x1c5)]()):_0x1578c2['of'](null);}),_0x1578c2[_0x1bb258(0x1ac)](_0x8a593f=>_0x8a593f?_0x8a593f[_0x1bb258(0x34f)]:_0x1578c2['of'](_0x367c63['CollaborationStatus'][_0x1bb258(0x245)])))[_0x1bb258(0x2a4)](_0x2462cc=>{const _0xdcd1e8=_0x1bb258;this[_0xdcd1e8(0x3a8)]['next'](_0x2462cc);}));}[_0x191796(0x3ae)](){const _0x590f01=_0x191796;this[_0x590f01(0x1dc)](this[_0x590f01(0x1a8)][_0x590f01(0x3b0)](_0x570ef0[_0x590f01(0x3cd)]['HEADER_MENU'],()=>_0x570ef0[_0x590f01(0x325)](_0xf3fddd({'status$':this[_0x590f01(0x3a8)][_0x590f01(0x374)]()}),this[_0x590f01(0x3d4)])));}},_0x32312a[_0x191796(0x33c)]=_0x291a3a([_0x1b1f47(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x1b1f47(0x1,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1b1f47(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x2b9)])),_0x1b1f47(0x3,_0x570ef0[_0x191796(0x1bf)])],_0x32312a[_0x191796(0x33c)]);function _0xf3fddd(_0x14c54c){const {status$:_0x16e145}=_0x14c54c;return function(){const _0x2186e5=_0x106e;return _0x16b037[_0x2186e5(0x265)](_0x3a723a,{'status$':_0x16e145});};}const _0x68c4f9=_0x58f6c8[_0x191796(0x25e)](_0x191796(0x243));var _0x93e340=Object[_0x191796(0x1e8)],_0x68d238=(_0x521c14,_0x106493,_0x48fe69,_0x2c4639)=>{const _0x4f8e99=_0x191796;for(var _0x487811=_0x2c4639>0x1?void 0x0:_0x2c4639?_0x93e340(_0x106493,_0x48fe69):_0x106493,_0x5a0839=_0x521c14[_0x4f8e99(0x262)]-0x1,_0x362e73;_0x5a0839>=0x0;_0x5a0839--)(_0x362e73=_0x521c14[_0x5a0839])&&(_0x487811=_0x362e73(_0x487811)||_0x487811);return _0x487811;},_0x16c111=(_0x14b2b3,_0x51c2fb)=>(_0x816c3,_0x369d06)=>_0x51c2fb(_0x816c3,_0x369d06,_0x14b2b3);_0x32312a[_0x191796(0x183)]=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x3b2ac0,_0x25bad3,_0x8e1669,_0x5e5923,_0x237fbd){const _0x57971c=_0x191796;super(),this[_0x57971c(0x36b)]=_0x3b2ac0,this[_0x57971c(0x311)]=_0x25bad3,this[_0x57971c(0x172)]=_0x8e1669,this[_0x57971c(0x143)]=_0x5e5923,_0x237fbd?_0x237fbd==null||_0x237fbd['whenReady']()[_0x57971c(0x3bc)](()=>this['_init']()):(this['_logService'][_0x57971c(0x26e)](_0x57971c(0x3a7),_0x57971c(0x1eb)),this[_0x57971c(0x254)]());}async[_0x191796(0x254)](){const _0x4d6664=_0x191796,_0x323803=this[_0x4d6664(0x36b)][_0x4d6664(0x3b5)](_0x4d6664(0x29d)),_0x2ad7cd=this[_0x4d6664(0x36b)][_0x4d6664(0x3b5)](_0x4d6664(0x199)),_0x3fea85=this['_urlService']['getParam']('subunit');if(!_0x323803||!_0x2ad7cd){this[_0x4d6664(0x311)][_0x4d6664(0x26e)]('[CollaborationDataLoaderController]',_0x4d6664(0x2b6));return;}const _0x3187e8=await this['_dataLoaderService']['loadUnit'](_0x323803,Number(_0x2ad7cd),_0x3fea85);_0x3187e8&&_0x3187e8 instanceof _0x58f6c8[_0x4d6664(0x1f2)]&&this['_setupSubUnitSync'](_0x3187e8);}async[_0x191796(0x22b)](_0x48d4ad){const _0x269c4e=_0x191796;await this[_0x269c4e(0x28a)](_0x48d4ad),_0x48d4ad[_0x269c4e(0x25d)]['pipe'](_0x1578c2[_0x269c4e(0x1b3)](this['dispose$']))[_0x269c4e(0x2a4)](_0x1420fb=>{const _0x8e5a30=_0x269c4e;_0x1420fb&&this[_0x8e5a30(0x38b)](_0x1420fb);}),this[_0x269c4e(0x36b)]['urlChange$'][_0x269c4e(0x31a)](_0x1578c2[_0x269c4e(0x1b3)](this[_0x269c4e(0x2da)]))['subscribe'](()=>this[_0x269c4e(0x28a)](_0x48d4ad));}[_0x191796(0x38b)](_0x216192,_0x5253aa=!0x1){const _0xc6f7b0=_0x191796,_0x13566f=this[_0xc6f7b0(0x36b)]['getParam'](_0xc6f7b0(0x1b5));_0x216192['getSheetId']()!==_0x13566f&&this['_urlService'][_0xc6f7b0(0x323)](_0xc6f7b0(0x1b5),_0x216192[_0xc6f7b0(0x23d)](),_0x5253aa);}async[_0x191796(0x28a)](_0x359cd1){const _0x331dd3=_0x191796;var _0x2a4959;const _0x147328=this['_urlService'][_0x331dd3(0x3b5)](_0x331dd3(0x1b5));if(!_0x147328||!_0x359cd1[_0x331dd3(0x247)](_0x147328)){const _0x2581e3=_0x359cd1[_0x331dd3(0x21b)]()[0x0],_0x7ffb2e=_0x359cd1[_0x331dd3(0x247)](_0x2581e3);if(!_0x7ffb2e)return;this[_0x331dd3(0x38b)](_0x7ffb2e,!0x0),await this[_0x331dd3(0x172)]['executeCommand'](_0x606422[_0x331dd3(0x24e)]['id'],{'unitId':_0x359cd1[_0x331dd3(0x1c5)](),'subUnitId':_0x2581e3});return;}((_0x2a4959=_0x359cd1[_0x331dd3(0x357)]())==null?void 0x0:_0x2a4959[_0x331dd3(0x23d)]())!==_0x147328&&await this[_0x331dd3(0x172)][_0x331dd3(0x38a)](_0x606422['SetWorksheetActivateCommand']['id'],{'unitId':_0x359cd1[_0x331dd3(0x1c5)](),'subUnitId':_0x147328});}},_0x32312a[_0x191796(0x183)]=_0x68d238([_0x16c111(0x0,_0x68c4f9),_0x16c111(0x1,_0x58f6c8[_0x191796(0x21c)]),_0x16c111(0x2,_0x58f6c8[_0x191796(0x1a1)]),_0x16c111(0x3,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x2d8)])),_0x16c111(0x4,_0x58f6c8[_0x191796(0x2f3)](_0x5a1fe7[_0x191796(0x30b)]))],_0x32312a[_0x191796(0x183)]);var _0x2547c4=Object[_0x191796(0x1e8)],_0x57c79c=(_0x323c03,_0x1be6ab,_0x434800,_0x1adb44)=>{const _0x49e079=_0x191796;for(var _0x4115e1=_0x1adb44>0x1?void 0x0:_0x1adb44?_0x2547c4(_0x1be6ab,_0x434800):_0x1be6ab,_0x5788c=_0x323c03[_0x49e079(0x262)]-0x1,_0x4b4cf3;_0x5788c>=0x0;_0x5788c--)(_0x4b4cf3=_0x323c03[_0x5788c])&&(_0x4115e1=_0x4b4cf3(_0x4115e1)||_0x4115e1);return _0x4115e1;},_0x4cb7e3=(_0x3f472e,_0x931da)=>(_0x2a2477,_0x9456d9)=>_0x931da(_0x2a2477,_0x9456d9,_0x3f472e);let _0x5a2fa8=class extends _0x58f6c8['RxDisposable']{constructor(_0x3cc118,_0x20031b){const _0x2a347a=_0x191796;super(),this[_0x2a347a(0x394)]=_0x3cc118,this[_0x2a347a(0x20f)]=_0x20031b,this['_init']();}[_0x191796(0x254)](){const _0x1f961d=_0x191796,_0x325266=this;this[_0x1f961d(0x1dc)](this[_0x1f961d(0x394)][_0x1f961d(0x3b2)]({'onBeforePasteImage':async _0x9410d9=>{const _0x173102=_0x1f961d,_0x1e1f2b=await _0x325266[_0x173102(0x20f)][_0x173102(0x2c3)](_0x9410d9);return _0x1e1f2b?{'source':_0x1e1f2b[_0x173102(0x26f)],'imageSourceType':_0x1e1f2b[_0x173102(0x241)]}:null;}}));}};_0x5a2fa8=_0x57c79c([_0x4cb7e3(0x0,_0x21c652[_0x191796(0x35b)]),_0x4cb7e3(0x1,_0x320ecf['IImageIoService'])],_0x5a2fa8);const _0x41fdb4=[_0x191796(0x313),_0x191796(0x1b6),_0x191796(0x332),'red.300',_0x191796(0x19d),_0x191796(0x390)];class _0x49f086 extends _0x58f6c8[_0x191796(0x384)]{constructor(){const _0x30b124=_0x191796;super(...arguments),_0x27b740(this,_0x30b124(0x14b),new Map()),_0x27b740(this,_0x30b124(0x2b3),0x0);}['assignAColorForMemberID'](_0x348c72){const _0x210af7=_0x191796;if(this[_0x210af7(0x14b)][_0x210af7(0x1f3)](_0x348c72))return this[_0x210af7(0x14b)]['get'](_0x348c72);const _0x545be9=_0x41fdb4[this[_0x210af7(0x2b3)]];return this[_0x210af7(0x2b3)]=(this[_0x210af7(0x2b3)]+0x1)%_0x41fdb4['length'],this[_0x210af7(0x14b)][_0x210af7(0x338)](_0x348c72,_0x545be9),_0x545be9;}}function _0x11eeeb(_0x3e7b8a){const _0x2796c5=_0x191796;let _0x384640='';for(const _0x5c309a of _0x3e7b8a){const {startOffset:_0x3b073b,endOffset:_0x1ca743,isActive:_0x94dafc,rangeType:_0x3ac846,segmentId:_0x5d73fc,segmentPage:_0xb28f}=_0x5c309a;_0x384640[_0x2796c5(0x262)]&&(_0x384640+=','),_0x384640+=_0x3b073b+':'+_0x1ca743+':'+(_0x94dafc?'1':'0')+':'+_0x3ac846+':'+_0x5d73fc+':'+_0xb28f;}return _0x384640;}function _0x2388de(_0x32260e){const _0x3401e0=_0x191796,_0x4c4d09=_0x32260e[_0x3401e0(0x365)](','),_0x4e595d=[];for(const _0x4937ae of _0x4c4d09){const [_0x15553b,_0x375f76,_0x5d5b3e,_0x1060d8,_0x5e421f,_0x426185]=_0x4937ae[_0x3401e0(0x365)](':');_0x4e595d[_0x3401e0(0x1c3)]({'startOffset':Number(_0x15553b),'endOffset':Number(_0x375f76),'collapsed':_0x15553b===_0x375f76,'isActive':_0x5d5b3e==='1','rangeType':_0x1060d8===_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1ff)]?_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1ff)]:_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1a2)],'segmentId':typeof _0x5e421f==_0x3401e0(0x28f)?String(_0x5e421f):'','segmentPage':Number(_0x426185!=null?_0x426185:-0x1)});}return _0x4e595d['some'](_0x693731=>_0x693731['isActive'])||(_0x4e595d[0x0][_0x3401e0(0x2c1)]=!0x0),_0x4e595d;}class _0x3ba835 extends _0x58f6c8['RxDisposable']{constructor(){const _0x38ba67=_0x191796;super(...arguments),_0x27b740(this,'_collabCursorState$',new _0x1578c2[(_0x38ba67(0x204))](null)),_0x27b740(this,_0x38ba67(0x3d0),this['_collabCursorState$'][_0x38ba67(0x374)]());}[_0x191796(0x276)](_0x443db3){const _0x24de46=_0x191796,{unitID:_0xe93911,memberID:_0x1238d1,textRanges:_0x5913b7}=_0x443db3,_0x4c380a=_0x11eeeb(_0x5913b7);if(_0x4c380a==='')return;const _0x1c18f4={'unitID':_0xe93911,'memberID':_0x1238d1,'selection':_0x4c380a};this['_collabCursorState$'][_0x24de46(0x39b)](_0x1c18f4);}}var _0x488f6d=Object['getOwnPropertyDescriptor'],_0x55a891=(_0x2ba222,_0x4ec2a5,_0x3ba782,_0x22e444)=>{const _0x15fcfd=_0x191796;for(var _0x488ab5=_0x22e444>0x1?void 0x0:_0x22e444?_0x488f6d(_0x4ec2a5,_0x3ba782):_0x4ec2a5,_0x345e68=_0x2ba222[_0x15fcfd(0x262)]-0x1,_0x23a896;_0x345e68>=0x0;_0x345e68--)(_0x23a896=_0x2ba222[_0x345e68])&&(_0x488ab5=_0x23a896(_0x488ab5)||_0x488ab5);return _0x488ab5;},_0x63eea4=(_0xbcef8d,_0x2b672b)=>(_0x46e7d9,_0x56e360)=>_0x2b672b(_0x46e7d9,_0x56e360,_0xbcef8d);const _0x8d6b5c=0x12c,_0x4d47e3=0x64;let _0x3593cc=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x5262b8,_0x1c5c79,_0x3cca9f,_0xcd5af7,_0x4e680a,_0x4a0831,_0x4e63a9,_0x16529d,_0x25f0e6){const _0x336ea6=_0x191796;super(),_0x27b740(this,_0x336ea6(0x3c3),!0x1),_0x27b740(this,_0x336ea6(0x254),!0x1),_0x27b740(this,'_cursorInfo$',new _0x1578c2[(_0x336ea6(0x204))](new Map())),_0x27b740(this,_0x336ea6(0x2ab),this[_0x336ea6(0x267)][_0x336ea6(0x374)]()),_0x27b740(this,_0x336ea6(0x354),new _0x1578c2[(_0x336ea6(0x204))]([])),_0x27b740(this,'roomMembers$',this['_roomMembers$'][_0x336ea6(0x31a)](_0x1578c2[_0x336ea6(0x1d1)](_0x8d6b5c))),_0x27b740(this,'_updateLocalCursor',_0x58f6c8[_0x336ea6(0x2d4)](_0x2803d8=>{const _0x4f9b84=_0x336ea6,_0x5641f9={'eventID':_0x44e0d0[_0x4f9b84(0x287)][_0x4f9b84(0x1e7)],'data':{'unitID':this[_0x4f9b84(0x26d)],'memberID':this[_0x4f9b84(0x1fe)][_0x4f9b84(0x363)](),'selection':_0x11eeeb(_0x2803d8)}};this[_0x4f9b84(0x1fe)][_0x4f9b84(0x202)](_0x5641f9,this['unitID']);},_0x4d47e3)),(this[_0x336ea6(0x26d)]=_0x5262b8,this[_0x336ea6(0x1fe)]=_0x1c5c79,this[_0x336ea6(0x3d4)]=_0x3cca9f,this[_0x336ea6(0x3b4)]=_0xcd5af7,this[_0x336ea6(0x1af)]=_0x4e680a,this[_0x336ea6(0x2d1)]=_0x4a0831,this[_0x336ea6(0x21e)]=_0x4e63a9,this['_univerInstanceService']=_0x16529d,this['_commandService']=_0x25f0e6);}get[_0x191796(0x232)](){const _0x8b9fb3=_0x191796;return this[_0x8b9fb3(0x267)][_0x8b9fb3(0x3d6)]();}get[_0x191796(0x38c)](){const _0x47d159=_0x191796;return this['_roomMembers$'][_0x47d159(0x3d6)]();}['dispose'](){const _0xa098b4=_0x191796;super[_0xa098b4(0x211)](),this[_0xa098b4(0x267)][_0xa098b4(0x39b)](new Map()),this[_0xa098b4(0x267)][_0xa098b4(0x210)](),this[_0xa098b4(0x354)]['next']([]),this['_roomMembers$'][_0xa098b4(0x210)]();}[_0x191796(0x29e)](){const _0x47cd80=_0x191796;this['_init']||(this[_0x47cd80(0x254)]=!0x0,this['_session']['sessionStatus$'][_0x47cd80(0x31a)](_0x1578c2[_0x47cd80(0x1b3)](this[_0x47cd80(0x2da)]))[_0x47cd80(0x2a4)](_0x2ab230=>{const _0x6c642f=_0x47cd80;_0x2ab230===_0x367c63[_0x6c642f(0x197)][_0x6c642f(0x182)]?this[_0x6c642f(0x180)]():this[_0x6c642f(0x37b)]();}),this[_0x47cd80(0x1fe)][_0x47cd80(0x18e)][_0x47cd80(0x31a)](_0x1578c2[_0x47cd80(0x1b3)](this['dispose$']))[_0x47cd80(0x2a4)](_0x5b63b2=>{const _0x1755e7=_0x47cd80,_0xe3c7c=_0x5b63b2[_0x1755e7(0x1b8)];_0xe3c7c===_0x44e0d0['CollaborationEvent'][_0x1755e7(0x1e7)]&&this[_0x1755e7(0x339)](_0x5b63b2),_0xe3c7c===_0x44e0d0['CollaborationEvent'][_0x1755e7(0x397)]&&this[_0x1755e7(0x181)](_0x5b63b2);}),this[_0x47cd80(0x1dc)](this[_0x47cd80(0x172)][_0x47cd80(0x31c)](_0x3513bb=>{const _0x5d5f44=_0x47cd80,_0x2e33a4=_0x3513bb[_0x5d5f44(0x26c)];_0x2e33a4!=null&&this[_0x5d5f44(0x3c3)]&&_0x3513bb['id']===_0x4cf100['SetTextSelectionsOperation']['id']&&_0x2e33a4['unitId']===this['unitID']&&_0x2e33a4[_0x5d5f44(0x33f)]===!0x1&&_0x2e33a4[_0x5d5f44(0x18b)]['length']>0x0&&this[_0x5d5f44(0x30c)](_0x2e33a4[_0x5d5f44(0x18b)]);})),this[_0x47cd80(0x2d1)]['collabCursorState$'][_0x47cd80(0x31a)](_0x1578c2['takeUntil'](this[_0x47cd80(0x2da)]))[_0x47cd80(0x2a4)](_0x89220a=>{const _0x57e4a9=_0x47cd80;if((_0x89220a==null?void 0x0:_0x89220a[_0x57e4a9(0x26d)])!==this['unitID'])return;const _0x5cfbef={'eventID':_0x44e0d0[_0x57e4a9(0x287)][_0x57e4a9(0x1e7)],'data':_0x89220a};this[_0x57e4a9(0x339)](_0x5cfbef);}),this[_0x47cd80(0x1dc)](this[_0x47cd80(0x172)][_0x47cd80(0x31c)](_0x4d7597=>{const _0x1a223c=_0x47cd80;if(_0x4d7597[_0x1a223c(0x26c)]==null)return;const _0x3ee24c=_0x4d7597[_0x1a223c(0x26c)];if(_0x4d7597['id']!==_0x4cf100[_0x1a223c(0x217)]['id']||_0x3ee24c[_0x1a223c(0x1f4)]!==this['unitID'])return;const _0xf4e064={'id':_0x1a223c(0x13f),'params':_0x3ee24c},_0x49241f=this[_0x1a223c(0x232)];for(const [_0x558fd8,_0x5d4fc1]of _0x49241f){const _0x42f20a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1a223c(0x26d)],'actions':null,'textRanges':_0x5d4fc1['ranges']}},_0x2b7967=this['_transformService'][_0x1a223c(0x280)](_0xf4e064,_0x42f20a,!0x1);if(_0x44e0d0[_0x1a223c(0x388)](_0x2b7967))throw _0x2b7967[_0x1a223c(0x2a8)];_0x49241f['set'](_0x558fd8,{..._0x5d4fc1,'ranges':_0x2b7967[_0x1a223c(0x1b4)][_0x1a223c(0x26c)][_0x1a223c(0x372)]});}queueMicrotask(()=>{const _0x5d46d7=_0x1a223c;this[_0x5d46d7(0x267)][_0x5d46d7(0x39b)](_0x49241f);});})));}['_onCursorUpdate'](_0x2d6c39){const _0x1fb3e3=_0x191796;var _0x6ff69c,_0xc9ecb0;const {memberID:_0x4e91ba,selection:_0xee0f49}=_0x2d6c39[_0x1fb3e3(0x340)],_0x2b3c5a=_0x2388de(_0xee0f49),_0x5e2c78=(_0xc9ecb0=(_0x6ff69c=this[_0x1fb3e3(0x1af)][_0x1fb3e3(0x3bd)](this[_0x1fb3e3(0x26d)],_0x4e91ba))==null?void 0x0:_0x6ff69c['name'])!=null?_0xc9ecb0:_0x1fb3e3(0x151),_0x3eb301={'color':this[_0x1fb3e3(0x3b4)]['assignAColorForMemberID'](_0x4e91ba),'name':_0x5e2c78,'ranges':_0x2b3c5a},_0x24a322=this[_0x1fb3e3(0x232)];_0x24a322['set'](_0x4e91ba,_0x3eb301),this['_cursorInfo$']['next'](_0x24a322);}[_0x191796(0x181)](_0x1bf7f1){const _0xb7db54=_0x191796,{memberID:_0x2f1a63}=_0x1bf7f1[_0xb7db54(0x340)],_0x5c1b43=this['cursorInfo'];_0x5c1b43[_0xb7db54(0x2b2)](_0x2f1a63),this[_0xb7db54(0x267)][_0xb7db54(0x39b)](_0x5c1b43);}[_0x191796(0x180)](){const _0x4c0450=_0x191796;var _0x3448df;if(this['_online']=!0x0,((_0x3448df=this[_0x4c0450(0x18a)]['getFocusedUnit']())==null?void 0x0:_0x3448df[_0x4c0450(0x1c5)]())!==this[_0x4c0450(0x26d)])return;const _0x3c1efa=this[_0x4c0450(0x3d4)][_0x4c0450(0x364)](_0x4cf100[_0x4c0450(0x191)])[_0x4c0450(0x2d3)]();Array['isArray'](_0x3c1efa)&&_0x3c1efa[_0x4c0450(0x262)]>0x0&&this['_updateLocalCursor'](_0x3c1efa);}['_toggleOffline'](){const _0xdf39bd=_0x191796;this[_0xdf39bd(0x3c3)]=!0x1;}};_0x3593cc=_0x55a891([_0x63eea4(0x2,_0x58f6c8['Inject'](_0x58f6c8[_0x191796(0x1cb)])),_0x63eea4(0x3,_0x58f6c8[_0x191796(0x330)](_0x49f086)),_0x63eea4(0x4,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x349)])),_0x63eea4(0x5,_0x58f6c8[_0x191796(0x330)](_0x3ba835)),_0x63eea4(0x6,_0x44e0d0['ITransformService']),_0x63eea4(0x7,_0x58f6c8[_0x191796(0x1bc)]),_0x63eea4(0x8,_0x58f6c8[_0x191796(0x1a1)])],_0x3593cc);var _0x1c2c52=Object[_0x191796(0x1e8)],_0x444966=(_0x1ecebe,_0x21c1e6,_0xe882f3,_0x2f7bf0)=>{const _0xbe6c3c=_0x191796;for(var _0x493965=_0x2f7bf0>0x1?void 0x0:_0x2f7bf0?_0x1c2c52(_0x21c1e6,_0xe882f3):_0x21c1e6,_0x20887d=_0x1ecebe[_0xbe6c3c(0x262)]-0x1,_0x4a7991;_0x20887d>=0x0;_0x20887d--)(_0x4a7991=_0x1ecebe[_0x20887d])&&(_0x493965=_0x4a7991(_0x493965)||_0x493965);return _0x493965;},_0x1c21d2=(_0x422a37,_0x2fbae9)=>(_0x1422fa,_0x31160b)=>_0x2fbae9(_0x1422fa,_0x31160b,_0x422a37);const _0x897bf8=0x12c,_0x2d1980=0x64,_0x2db046=()=>{let _0x2a01ad=[],_0x29d5dc=!0x1;return _0x1f733b=>{const _0x56415c=_0x106e;_0x2a01ad[_0x56415c(0x1c3)](_0x1f733b),_0x29d5dc||(_0x29d5dc=!0x0,setTimeout(()=>{const _0x25b2b2=_0x56415c;_0x2a01ad[_0x25b2b2(0x238)](_0x22240e=>_0x22240e()),_0x2a01ad=[],_0x29d5dc=!0x1;}));};};let _0x400b20=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x722987,_0x28c45e,_0x1f0380,_0x1e1cfb,_0x44fceb,_0x9ae1d3,_0x3cf3f5,_0x1a5582){const _0x2371c1=_0x191796;super(),_0x27b740(this,_0x2371c1(0x3c3),!0x1),_0x27b740(this,_0x2371c1(0x254),!0x1),_0x27b740(this,_0x2371c1(0x267),new _0x1578c2['BehaviorSubject'](new Map())),_0x27b740(this,'cursorInfo$',this[_0x2371c1(0x267)][_0x2371c1(0x374)]()),_0x27b740(this,_0x2371c1(0x354),new _0x1578c2[(_0x2371c1(0x204))]([])),_0x27b740(this,'roomMembers$',this[_0x2371c1(0x354)][_0x2371c1(0x31a)](_0x1578c2[_0x2371c1(0x1d1)](_0x897bf8))),_0x27b740(this,_0x2371c1(0x30c),_0x58f6c8[_0x2371c1(0x2d4)]((_0xbe1df1,_0x51d4c6)=>{const _0x593ef6=_0x2371c1,_0x2ae5b9={'eventID':_0x44e0d0['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x593ef6(0x26d)],'memberID':this[_0x593ef6(0x1fe)][_0x593ef6(0x363)](),'selection':_0xae4619[_0x593ef6(0x2cc)](_0xbe1df1,_0x51d4c6[_0x593ef6(0x21d)])}};this[_0x593ef6(0x1fe)][_0x593ef6(0x202)](_0x2ae5b9,this[_0x593ef6(0x26d)]);},_0x2d1980)),(this['unitID']=_0x722987,this[_0x2371c1(0x1fe)]=_0x28c45e,this[_0x2371c1(0x3d4)]=_0x1f0380,this[_0x2371c1(0x3b4)]=_0x1e1cfb,this[_0x2371c1(0x1af)]=_0x44fceb,this[_0x2371c1(0x18a)]=_0x9ae1d3,this[_0x2371c1(0x172)]=_0x3cf3f5,this['_refRangeService']=_0x1a5582);}get['cursorInfo'](){const _0x25f2c6=_0x191796;return this[_0x25f2c6(0x267)][_0x25f2c6(0x3d6)]();}get[_0x191796(0x38c)](){const _0x31903c=_0x191796;return this[_0x31903c(0x354)][_0x31903c(0x3d6)]();}[_0x191796(0x211)](){const _0x52d3d3=_0x191796;super['dispose'](),this[_0x52d3d3(0x267)][_0x52d3d3(0x39b)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x52d3d3(0x39b)]([]),this[_0x52d3d3(0x354)][_0x52d3d3(0x210)]();}[_0x191796(0x29e)](){const _0x390388=_0x191796;this[_0x390388(0x254)]||(this[_0x390388(0x254)]=!0x0,this['_session'][_0x390388(0x184)][_0x390388(0x31a)](_0x1578c2[_0x390388(0x1b3)](this[_0x390388(0x2da)]))['subscribe'](_0x378571=>{const _0x190c61=_0x390388;_0x378571===_0x367c63[_0x190c61(0x197)][_0x190c61(0x182)]?this[_0x190c61(0x180)]():this['_toggleOffline']();}),this[_0x390388(0x1fe)]['event$'][_0x390388(0x31a)](_0x1578c2[_0x390388(0x1b3)](this[_0x390388(0x2da)]))[_0x390388(0x2a4)](_0x4c4550=>{const _0x4ccea5=_0x390388,_0x2ac508=_0x4c4550['eventID'];_0x2ac508===_0x44e0d0[_0x4ccea5(0x287)]['UPDATE_CURSOR']&&this[_0x4ccea5(0x339)](_0x4c4550),_0x2ac508===_0x44e0d0[_0x4ccea5(0x287)]['USERS_LEAVE']&&this[_0x4ccea5(0x181)](_0x4c4550);}),this['_onRefRangeChange'](),this[_0x390388(0x1dc)](this['_commandService'][_0x390388(0x31c)](_0x14a080=>{const _0xc1419c=_0x390388;if(this['_online']&&_0x14a080['id']===_0x606422['SetSelectionsOperation']['id']&&_0x14a080['params'][_0xc1419c(0x1f4)]===this[_0xc1419c(0x26d)]){const _0x18593c=_0x14a080[_0xc1419c(0x26c)];this[_0xc1419c(0x30c)](_0x18593c[_0xc1419c(0x192)],_0x18593c[_0xc1419c(0x14e)][0x0]);}})));}[_0x191796(0x339)](_0x3f0681){const _0x446fa7=_0x191796;var _0x39ae95,_0x152149;const {memberID:_0x3ab1be,selection:_0x33b461}=_0x3f0681['data'],{sheetName:_0x2a99dc,range:_0x23bb60}=_0xae4619[_0x446fa7(0x321)](_0x33b461),_0x22053a={'name':(_0x152149=(_0x39ae95=this['_memberService'][_0x446fa7(0x3bd)](this[_0x446fa7(0x26d)],_0x3ab1be))==null?void 0x0:_0x39ae95[_0x446fa7(0x1e3)])!=null?_0x152149:_0x446fa7(0x151),'range':this[_0x446fa7(0x37a)](_0x2a99dc,_0x23bb60),'sheetID':_0x2a99dc,'color':this[_0x446fa7(0x3b4)]['assignAColorForMemberID'](_0x3ab1be),'selection':_0x33b461},_0xc2a5bc=this['cursorInfo'];_0xc2a5bc[_0x446fa7(0x338)](_0x3ab1be,_0x22053a),this[_0x446fa7(0x267)][_0x446fa7(0x39b)](_0xc2a5bc);}['_onCursorDelete'](_0x1ab303){const _0x57db8e=_0x191796,{memberID:_0x3434d8}=_0x1ab303['data'],_0x22a12f=this[_0x57db8e(0x232)];_0x22a12f[_0x57db8e(0x2b2)](_0x3434d8),this[_0x57db8e(0x267)][_0x57db8e(0x39b)](_0x22a12f);}[_0x191796(0x37a)](_0x562841,_0x244999){const _0x329abc=_0x191796;var _0x2e95f2,_0x32eee8;const _0x4e6724=(_0x32eee8=(_0x2e95f2=this[_0x329abc(0x18a)][_0x329abc(0x288)](this['unitID']))==null?void 0x0:_0x2e95f2['getSheetBySheetId'](_0x562841))==null?void 0x0:_0x32eee8[_0x329abc(0x270)]();return(_0x4e6724==null?void 0x0:_0x4e6724[_0x329abc(0x1ec)](_0x9b1164=>_0x58f6c8[_0x329abc(0x222)]['contains'](_0x9b1164,_0x244999)))||_0x244999;}[_0x191796(0x1f1)](){const _0x11249d=_0x191796,_0x35e32c=new _0x58f6c8[(_0x11249d(0x387))](),_0x422450=_0x2db046(),_0x12172d=()=>{const _0x3db5ef=_0x11249d;_0x35e32c[_0x3db5ef(0x211)]();const _0x5caf68=(_0x1e58ed,_0x3b2067,_0x30d0cd,_0x8529f6)=>{const _0x47c49b=_0x3db5ef;let _0x5b1a2d=[];switch(_0x1e58ed['id']){case _0x606422[_0x47c49b(0x39e)]['DeleteRangeMoveLeftCommandId']:{_0x5b1a2d=_0x606422['handleDeleteRangeMoveLeft'](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x5b1a2d=_0x606422['handleDeleteRangeMoveUp'](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x16d)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x335)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x16f)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x1a0)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x316)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x1fd)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x367)]:{_0x5b1a2d=_0x606422['handleInsertRow'](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId'][_0x47c49b(0x370)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x2f0)](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId'][_0x47c49b(0x219)]:{_0x5b1a2d=_0x606422['handleIRemoveCol'](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x21a)]:{_0x5b1a2d=_0x606422['handleIRemoveRow'](_0x1e58ed,_0x8529f6);break;}}const _0x21bb60=_0x606422[_0x47c49b(0x1be)](_0x5b1a2d,_0x8529f6),_0x214108=this['cursorInfo']['get'](_0x3b2067);if(_0x214108&&_0x21bb60){const _0x5222f2={..._0x214108,'range':_0x21bb60};this[_0x47c49b(0x232)][_0x47c49b(0x338)](_0x3b2067,_0x5222f2),_0x422450(()=>{const _0x3c1925=_0x47c49b,_0x1de57c=this[_0x3c1925(0x258)][_0x3c1925(0x2e3)](_0x21bb60,_0x1d8ef1=>(_0x1de57c[_0x3c1925(0x211)](),_0x5caf68(_0x1d8ef1,_0x3b2067,_0x30d0cd,_0x21bb60)));_0x35e32c[_0x3c1925(0x273)](_0x1de57c);});}return{'redos':[],'undos':[]};};this[_0x3db5ef(0x232)][_0x3db5ef(0x238)]((_0x4e0a4,_0x30befc)=>{const _0x5026b7=_0x3db5ef,{range:_0x278aba,sheetID:_0x1bbd77}=_0x4e0a4,_0xcf2985=this[_0x5026b7(0x258)][_0x5026b7(0x2e3)](_0x278aba,_0x5ee4e8=>(_0xcf2985[_0x5026b7(0x211)](),_0x5caf68(_0x5ee4e8,_0x30befc,_0x1bbd77,_0x278aba)));_0x35e32c[_0x5026b7(0x273)](_0xcf2985);});};this['disposeWithMe'](_0x58f6c8[_0x11249d(0x1df)](this[_0x11249d(0x267)][_0x11249d(0x2a4)](()=>{_0x12172d();})));}[_0x191796(0x180)](){const _0x4c2e89=_0x191796;var _0x10c079,_0x32e9a4;if(this[_0x4c2e89(0x3c3)]=!0x0,((_0x10c079=this[_0x4c2e89(0x18a)][_0x4c2e89(0x2fa)]())==null?void 0x0:_0x10c079[_0x4c2e89(0x1c5)]())!==this[_0x4c2e89(0x26d)])return;const _0x46df03=(_0x32e9a4=this[_0x4c2e89(0x3d4)][_0x4c2e89(0x364)](_0x606422[_0x4c2e89(0x278)])[_0x4c2e89(0x24b)]())==null?void 0x0:_0x32e9a4[0x0],_0x259eaa=this[_0x4c2e89(0x18a)][_0x4c2e89(0x31f)](_0x58f6c8['UniverInstanceType']['UNIVER_SHEET'])[_0x4c2e89(0x357)]();_0x46df03&&_0x259eaa&&this['_updateLocalCursor'](_0x259eaa[_0x4c2e89(0x23d)](),_0x46df03);}[_0x191796(0x37b)](){this['_online']=!0x1;}};_0x400b20=_0x444966([_0x1c21d2(0x2,_0x58f6c8[_0x191796(0x330)](_0x58f6c8['Injector'])),_0x1c21d2(0x3,_0x58f6c8['Inject'](_0x49f086)),_0x1c21d2(0x4,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x349)])),_0x1c21d2(0x5,_0x58f6c8[_0x191796(0x1bc)]),_0x1c21d2(0x6,_0x58f6c8[_0x191796(0x1a1)]),_0x1c21d2(0x7,_0x58f6c8[_0x191796(0x330)](_0x606422['RefRangeService']))],_0x400b20);var _0x90c3e5=Object[_0x191796(0x1e8)],_0xd47c55=(_0x111216,_0x59ed26,_0x20a436,_0x276d45)=>{const _0x10a581=_0x191796;for(var _0x5a94a4=_0x276d45>0x1?void 0x0:_0x276d45?_0x90c3e5(_0x59ed26,_0x20a436):_0x59ed26,_0xc1697d=_0x111216[_0x10a581(0x262)]-0x1,_0x3c6c06;_0xc1697d>=0x0;_0xc1697d--)(_0x3c6c06=_0x111216[_0xc1697d])&&(_0x5a94a4=_0x3c6c06(_0x5a94a4)||_0x5a94a4);return _0x5a94a4;},_0x231fe9=(_0x3a4bc9,_0x14ce4a)=>(_0x334851,_0x3269a4)=>_0x14ce4a(_0x334851,_0x3269a4,_0x3a4bc9);let _0xe9a56d=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x31cc84,_0x171f9d,_0x175ce9){const _0x1130f3=_0x191796;super(),_0x27b740(this,_0x1130f3(0x380),new Map()),_0x27b740(this,_0x1130f3(0x240),new _0x1578c2['Subject']()),(this[_0x1130f3(0x18a)]=_0x31cc84,this[_0x1130f3(0x3d4)]=_0x171f9d,this[_0x1130f3(0x164)]=_0x175ce9,this[_0x1130f3(0x254)]());}[_0x191796(0x211)](){const _0x55a1cf=_0x191796;super[_0x55a1cf(0x211)](),this[_0x55a1cf(0x240)][_0x55a1cf(0x210)](),this[_0x55a1cf(0x380)][_0x55a1cf(0x238)](_0x58311b=>_0x58311b[_0x55a1cf(0x211)]());}[_0x191796(0x1ed)](_0x26c234){const _0x3d68fa=_0x191796;return this[_0x3d68fa(0x380)][_0x3d68fa(0x1f3)](_0x26c234)?this['_entities'][_0x3d68fa(0x364)](_0x26c234)[_0x3d68fa(0x2ab)]:this[_0x3d68fa(0x240)]['pipe'](_0x1578c2[_0x3d68fa(0x3a0)](_0x19f814=>_0x19f814[_0x3d68fa(0x26d)]===_0x26c234),_0x1578c2['switchMap'](_0x581b56=>_0x581b56['cursorInfo$']));}[_0x191796(0x254)](){const _0x496bf9=_0x191796;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x144)])['pipe'](_0x1578c2[_0x496bf9(0x1b3)](this[_0x496bf9(0x2da)]))['subscribe'](async _0x1d3d31=>{const _0x5dbfd6=_0x496bf9,_0x3d242d=_0x1d3d31[_0x5dbfd6(0x1c5)](),_0x58c8ba=await this[_0x5dbfd6(0x203)](_0x3d242d);this[_0x5dbfd6(0x240)][_0x5dbfd6(0x39b)](_0x58c8ba),this['_entities'][_0x5dbfd6(0x338)](_0x3d242d,_0x58c8ba);}),this[_0x496bf9(0x18a)][_0x496bf9(0x1fa)](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x396)])[_0x496bf9(0x31a)](_0x1578c2['takeUntil'](this[_0x496bf9(0x2da)]))[_0x496bf9(0x31a)](_0x1578c2[_0x496bf9(0x3a0)](_0x158e49=>!_0x158e49['getUnitId']()[_0x496bf9(0x1ef)]('__')))[_0x496bf9(0x2a4)](async _0x58b97a=>{const _0x115c42=_0x496bf9,_0x3a51d1=_0x58b97a[_0x115c42(0x1c5)](),_0x377d18=await this[_0x115c42(0x2cf)](_0x3a51d1);this[_0x115c42(0x240)]['next'](_0x377d18),this[_0x115c42(0x380)][_0x115c42(0x338)](_0x3a51d1,_0x377d18);}),_0x1578c2['merge'](this[_0x496bf9(0x18a)][_0x496bf9(0x2d2)](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x396)]),this[_0x496bf9(0x18a)][_0x496bf9(0x2d2)](_0x58f6c8['UniverInstanceType'][_0x496bf9(0x144)]))[_0x496bf9(0x31a)](_0x1578c2[_0x496bf9(0x1b3)](this[_0x496bf9(0x2da)]))[_0x496bf9(0x2a4)](_0x5230bb=>{const _0x362a3e=_0x496bf9,_0x1c0d4d=_0x5230bb['getUnitId'](),_0x5b8c55=this[_0x362a3e(0x380)][_0x362a3e(0x364)](_0x1c0d4d);_0x5b8c55&&(_0x5b8c55[_0x362a3e(0x211)](),this[_0x362a3e(0x380)][_0x362a3e(0x2b2)](_0x1c0d4d));});}async['_startSheetCollabCursor'](_0x2bf279){const _0x3934a6=_0x191796,_0x29ad61=await this[_0x3934a6(0x164)][_0x3934a6(0x227)](_0x2bf279),_0x1696dc=this[_0x3934a6(0x3d4)]['createInstance'](_0x400b20,_0x2bf279,_0x29ad61);return _0x1696dc[_0x3934a6(0x29e)](),_0x1696dc;}async[_0x191796(0x2cf)](_0x3ee8c5){const _0x3d6253=_0x191796,_0x547d8d=await this[_0x3d6253(0x164)][_0x3d6253(0x227)](_0x3ee8c5),_0x264067=this[_0x3d6253(0x3d4)][_0x3d6253(0x3c9)](_0x3593cc,_0x3ee8c5,_0x547d8d);return _0x264067[_0x3d6253(0x29e)](),_0x264067;}};_0xe9a56d=_0xd47c55([_0x231fe9(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x231fe9(0x1,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x231fe9(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x303)]))],_0xe9a56d);const _0x498cb4=0x14,_0x22f2f7=0xc8,_0x1bb032=0x4,_0x264ed1=0x5;function _0xa63b92(_0x5d7988,_0x9290a8){const _0x3aa6a4=_0x191796;let {radius:_0xed90d7,width:_0x9812e8,height:_0x393534}=_0x9290a8;_0xed90d7=_0xed90d7!=null?_0xed90d7:0x0,_0x9812e8=_0x9812e8!=null?_0x9812e8:0x1e,_0x393534=_0x393534!=null?_0x393534:0x1e;let _0x539a83=0x0,_0x2fb7d6=0x0,_0x2f5b0e=0x0;_0x539a83=_0x2fb7d6=_0x2f5b0e=Math['min'](_0xed90d7,_0x9812e8/0x2,_0x393534/0x2),_0x5d7988[_0x3aa6a4(0x3bb)](),_0x5d7988['moveTo'](_0x539a83,0x0),_0x5d7988[_0x3aa6a4(0x1da)](_0x9812e8-_0x2fb7d6,0x0),_0x5d7988[_0x3aa6a4(0x327)](_0x9812e8-_0x2fb7d6,_0x2fb7d6,_0x2fb7d6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d7988['lineTo'](_0x9812e8,_0x393534-_0x2f5b0e),_0x5d7988[_0x3aa6a4(0x327)](_0x9812e8-_0x2f5b0e,_0x393534-_0x2f5b0e,_0x2f5b0e,0x0,Math['PI']/0x2,!0x1),_0x5d7988['lineTo'](0x0,_0x393534),_0x5d7988['lineTo'](0x0,_0x539a83),_0x5d7988[_0x3aa6a4(0x327)](_0x539a83,_0x539a83,_0x539a83,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d7988[_0x3aa6a4(0x299)](),_0x9290a8[_0x3aa6a4(0x2e8)]&&(_0x5d7988[_0x3aa6a4(0x20d)](),_0x5d7988['fillStyle']=_0x9290a8[_0x3aa6a4(0x2e8)],_0x9290a8[_0x3aa6a4(0x2ee)]===_0x3aa6a4(0x341)?_0x5d7988[_0x3aa6a4(0x2e8)]('evenodd'):_0x5d7988[_0x3aa6a4(0x2e8)](),_0x5d7988[_0x3aa6a4(0x368)]());}class _0x2afa13 extends _0x41c725[_0x191796(0x23b)]{constructor(_0x1f56be,_0x26ab1f){const _0x39058f=_0x191796;super(_0x1f56be,_0x26ab1f),_0x27b740(this,_0x39058f(0x1fc)),_0x27b740(this,_0x39058f(0x2ba)),(this[_0x39058f(0x1fc)]=_0x26ab1f==null?void 0x0:_0x26ab1f['color'],this[_0x39058f(0x2ba)]=_0x26ab1f==null?void 0x0:_0x26ab1f[_0x39058f(0x2ba)]);}static[_0x191796(0x376)](_0x5187c1,_0x1511ab){const _0x2181dc=_0x191796,{text:_0xd98725,color:_0x29357c}=_0x1511ab;_0x5187c1[_0x2181dc(0x20d)](),_0x5187c1[_0x2181dc(0x2de)]=_0x2181dc(0x2a0);const _0x558d35=_0x5187c1['measureText'](_0xd98725)['width'],_0x48c840=Math[_0x2181dc(0x1d3)](_0x558d35+0x2*_0x1bb032,_0x22f2f7);_0xa63b92(_0x5187c1,{'height':_0x498cb4,'radius':0x4,'width':_0x48c840,'fill':_0x29357c}),_0x5187c1[_0x2181dc(0x190)]='#FFF';const _0x5d05e6=_0x1bb032,_0x71701f=_0x498cb4-_0x264ed1,_0x439d96=_0x22f2f7-0x2*_0x1bb032;if(_0x558d35>_0x439d96){let _0x25d31a='',_0x11f945=0x0;for(const _0x18a2be of _0xd98725){const _0x195e11=_0x5187c1[_0x2181dc(0x3c4)](_0x18a2be)[_0x2181dc(0x177)];if(_0x11f945+_0x195e11<=_0x439d96-_0x5187c1['measureText'](_0x2181dc(0x23a))[_0x2181dc(0x177)])_0x25d31a+=_0x18a2be,_0x11f945+=_0x195e11;else{_0x25d31a+=_0x2181dc(0x23a);break;}}_0x5187c1[_0x2181dc(0x239)](_0x25d31a,_0x5d05e6,_0x71701f);}else _0x5187c1['fillText'](_0xd98725,_0x5d05e6,_0x71701f);_0x5187c1[_0x2181dc(0x368)]();}[_0x191796(0x1ea)](_0x1db0e0){const _0x22c65e=_0x191796;_0x2afa13[_0x22c65e(0x376)](_0x1db0e0,this);}}const _0x176d9c=_0x191796(0x356),_0x15fae2=_0x191796(0x30f),_0x1efd1a=_0x191796(0x160),_0x2a553f=0x6,_0x4c9e64=1.5,_0x95d677=0x4,_0x22c171=1.5,_0x1bba2f=_0x191796(0x2d6);class _0x23be51{constructor(_0x1f0f93,_0x18521d,_0x135a4c,_0x18239b){const _0x457e52=_0x191796;_0x27b740(this,_0x457e52(0x269),[]),_0x27b740(this,_0x457e52(0x218),null),_0x27b740(this,_0x457e52(0x1f7),null),_0x27b740(this,'_anchorDot',null),_0x27b740(this,_0x457e52(0x32b),null),_0x27b740(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1f0f93,this[_0x457e52(0x1ee)]=_0x18521d,this[_0x457e52(0x2e9)]=_0x135a4c,this[_0x457e52(0x1db)]=_0x18239b,this[_0x457e52(0x29f)]());}set[_0x191796(0x310)](_0x95d7ef){const _0xd38fd4=_0x191796;_0x95d7ef?(this[_0xd38fd4(0x213)]&&this[_0xd38fd4(0x213)]['hide'](),this[_0xd38fd4(0x1f7)]&&this[_0xd38fd4(0x1f7)]['show']()):(this[_0xd38fd4(0x213)]&&this[_0xd38fd4(0x213)][_0xd38fd4(0x158)](),this[_0xd38fd4(0x1f7)]&&this[_0xd38fd4(0x1f7)][_0xd38fd4(0x196)]());}[_0x191796(0x211)](){const _0x5519fe=_0x191796;for(const _0x4e0b89 of this['_shapes'])_0x4e0b89[_0x5519fe(0x211)]();this[_0x5519fe(0x1f7)]&&this[_0x5519fe(0x1f7)][_0x5519fe(0x211)](),this[_0x5519fe(0x213)]&&this['_anchorDot']['dispose'](),this[_0x5519fe(0x218)]&&this[_0x5519fe(0x218)][_0x5519fe(0x211)](),this[_0x5519fe(0x22f)]&&this[_0x5519fe(0x22f)]();}['_render'](){const _0x301dfa=_0x191796;var _0x28b72b;const {_docSkeleton:_0x37505b,_document:_0x4254d8}=this,{color:_0x38e438,name:_0x59090e,ranges:_0x450827}=this['_cursor'],_0x8a22bd=_0x4254d8[_0x301dfa(0x2bd)](),{docsLeft:_0x2330f8,docsTop:_0x521556}=_0x8a22bd,_0x108a37=new _0x21c652['NodePositionConvertToCursor'](_0x8a22bd,_0x37505b);for(const {startOffset:_0x4c227b,endOffset:_0x432663,rangeType:_0xc799c8,segmentId:_0x2ab13c,segmentPage:_0xc5757,collapsed:_0x2e0c7b,isActive:_0x18d877}of _0x450827){const _0x426778=_0x37505b[_0x301dfa(0x2ef)](_0x4c227b,!0x0,_0x2ab13c,_0xc5757);let _0x2a2267=_0x37505b[_0x301dfa(0x2ef)](_0x432663,!0x0,_0x2ab13c,_0xc5757);if(_0x2a2267==null&&(_0x2a2267=_0x37505b['findNodePositionByCharIndex'](_0x432663-0x1,!0x1,_0x2ab13c,_0xc5757)),_0x18d877){const {contentBoxPointGroup:_0x3e8e18}=_0x108a37[_0x301dfa(0x1e6)](_0x2a2267,_0x2a2267);if(_0x3e8e18['length']===0x0)continue;this[_0x301dfa(0x18c)](_0x38e438,_0x3e8e18,_0x2330f8,_0x521556,_0x59090e),this[_0x301dfa(0x22f)]=this['_handleHover']();}if(_0x426778&&_0x2a2267){if(_0xc799c8===_0x58f6c8[_0x301dfa(0x16c)][_0x301dfa(0x1a2)]){const _0x412e08=new _0x21c652[(_0x301dfa(0x228))](_0x8a22bd,_0x37505b),{pointGroup:_0x2bf9a1}=(_0x28b72b=_0x412e08['getRangePointData'](_0x426778,_0x2a2267))!=null?_0x28b72b:{};if(_0x2bf9a1==null||_0x2bf9a1[_0x301dfa(0x262)]===0x0)continue;this['_drawRectRange'](_0x38e438,_0x2bf9a1,_0x2330f8,_0x521556);}else{if(!_0x2e0c7b){const {borderBoxPointGroup:_0x517b80}=_0x108a37[_0x301dfa(0x1e6)](_0x426778,_0x2a2267);if(_0x517b80[_0x301dfa(0x262)]===0x0)continue;this[_0x301dfa(0x19f)](_0x38e438,_0x517b80,_0x2330f8,_0x521556);}}}}}[_0x191796(0x18c)](_0x537c75,_0x1fab88,_0xdd88f5,_0x4ea3eb,_0x39ae10){const _0x2e3bc9=_0x191796,_0x2f13f4=this['_getAnchorBounding'](_0x1fab88),{left:_0xd991f5,top:_0x3582c8,height:_0x3123c9}=_0x2f13f4,_0x40c4ab=this[_0x2e3bc9(0x2d7)](),_0x5100a4=_0x22c171/_0x40c4ab,_0x36d165=new _0x41c725[(_0x2e3bc9(0x1c6))](_0x176d9c+_0x58f6c8[_0x2e3bc9(0x295)](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb,'height':_0x3123c9,'width':_0x4c9e64,'fill':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8['COLORS'][_0x2e3bc9(0x223)],0x0),'strokeWidth':_0x5100a4,'stroke':_0x1bba2f,'evented':!0x0});this['_anchor']=_0x36d165,this[_0x2e3bc9(0x1ee)][_0x2e3bc9(0x251)](_0x36d165,_0x21c652['TEXT_RANGE_LAYER_INDEX']);const _0x3f4c4e=new _0x41c725[(_0x2e3bc9(0x1c6))](_0x176d9c+_0x58f6c8['generateRandomId'](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb-_0x95d677/0x2,'height':_0x95d677,'width':_0x95d677,'fill':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8[_0x2e3bc9(0x281)][_0x2e3bc9(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8['COLORS'][_0x2e3bc9(0x223)],0x0),'evented':!0x1});this[_0x2e3bc9(0x213)]=_0x3f4c4e,this[_0x2e3bc9(0x1ee)]['addObject'](_0x3f4c4e,_0x21c652[_0x2e3bc9(0x3b6)]);const _0x2c6c09=new _0x2afa13(_0x176d9c+_0x58f6c8[_0x2e3bc9(0x295)](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb-_0x498cb4,'text':_0x39ae10,'color':_0x537c75});this[_0x2e3bc9(0x1f7)]=_0x2c6c09,this[_0x2e3bc9(0x1ee)][_0x2e3bc9(0x251)](_0x2c6c09,_0x21c652[_0x2e3bc9(0x3b6)]),this[_0x2e3bc9(0x310)]=!0x1;}[_0x191796(0x28b)](){const _0x4da944=_0x191796,_0x2b84ac=this[_0x4da944(0x218)][_0x4da944(0x3ca)]['subscribeEvent'](()=>{const _0x280055=_0x4da944;this[_0x280055(0x310)]=!0x0;}),_0x597828=this[_0x4da944(0x218)][_0x4da944(0x1d8)][_0x4da944(0x336)](()=>{const _0x4143c9=_0x4da944;this[_0x4143c9(0x32b)]&&clearTimeout(this[_0x4143c9(0x32b)]),this[_0x4143c9(0x32b)]=setTimeout(()=>{const _0x21c030=_0x4143c9;this[_0x21c030(0x310)]=!0x1;},0x7d0);});return()=>{const _0x274640=_0x4da944;_0x2b84ac['unsubscribe'](),_0x597828[_0x274640(0x1c9)]();};}[_0x191796(0x19f)](_0x2e81d2,_0x20dc8b,_0x5f1ff4,_0x5e00ca){const _0xfed328=_0x191796,_0x1fcd43=new _0x58f6c8['ColorKit'](_0x2e81d2)['setAlpha'](0.2)[_0xfed328(0x208)](),_0x4cdb6f=new _0x41c725['RegularPolygon'](_0x15fae2+_0x58f6c8[_0xfed328(0x295)](_0x2a553f),{'pointsGroup':_0x20dc8b,'fill':_0x1fcd43||_0x41c725[_0xfed328(0x2af)](_0x58f6c8[_0xfed328(0x281)]['black'],0.2),'left':_0x5f1ff4,'top':_0x5e00ca,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xfed328(0x1c3)](_0x4cdb6f),this[_0xfed328(0x1ee)]['addObject'](_0x4cdb6f,_0x21c652['TEXT_RANGE_LAYER_INDEX']);}[_0x191796(0x30e)](_0x332591,_0x1967eb,_0x1c6585,_0x5b139c){const _0x3cb367=_0x191796,_0x4db2df=new _0x58f6c8['ColorKit'](_0x332591)['setAlpha'](0.2)[_0x3cb367(0x208)](),_0xa1de91=new _0x41c725[(_0x3cb367(0x2ff))](_0x1efd1a+_0x58f6c8[_0x3cb367(0x295)](_0x2a553f),{'pointsGroup':_0x1967eb,'fill':_0x4db2df||_0x41c725['getColor'](_0x58f6c8[_0x3cb367(0x281)]['black'],0.2),'left':_0x1c6585,'top':_0x5b139c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3cb367(0x269)][_0x3cb367(0x1c3)](_0xa1de91),this['_scene']['addObject'](_0xa1de91,_0x21c652[_0x3cb367(0x3b6)]);}[_0x191796(0x3c8)](_0x452a24){const _0xb8f8a6=_0x452a24[0x0],_0x51b615=_0xb8f8a6[0x0],_0x1a7520=_0xb8f8a6[0x2],{x:_0xe4f011,y:_0x2d7dbc}=_0x51b615,{x:_0xda6e9d,y:_0x5f256b}=_0x1a7520;return{'left':_0xe4f011,'top':_0x2d7dbc,'width':_0xda6e9d-_0xe4f011,'height':_0x5f256b-_0x2d7dbc};}[_0x191796(0x2d7)](){const _0x23f789=_0x191796,{scaleX:_0x2e1bfe,scaleY:_0x15572d}=this['_scene'][_0x23f789(0x1bd)]();return Math['max'](_0x2e1bfe,_0x15572d);}}var _0x394238=Object[_0x191796(0x1e8)],_0x1bcb0c=(_0x223201,_0x419646,_0x4641b1,_0x25550b)=>{const _0x251a54=_0x191796;for(var _0x2c1410=_0x25550b>0x1?void 0x0:_0x25550b?_0x394238(_0x419646,_0x4641b1):_0x419646,_0x4409af=_0x223201[_0x251a54(0x262)]-0x1,_0x509b0e;_0x4409af>=0x0;_0x4409af--)(_0x509b0e=_0x223201[_0x4409af])&&(_0x2c1410=_0x509b0e(_0x2c1410)||_0x2c1410);return _0x2c1410;},_0x570ce8=(_0x53017a,_0x360843)=>(_0x1e2e7c,_0x369e4a)=>_0x360843(_0x1e2e7c,_0x369e4a,_0x53017a);let _0x2c6f2b=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x568dc6,_0x73dff5,_0x116b9e,_0x1f8d16,_0x42c01e){const _0x5cdbf4=_0x191796;super(),_0x27b740(this,'_cursorShapes',[]),_0x27b740(this,_0x5cdbf4(0x2f4),[]),(this[_0x5cdbf4(0x244)]=_0x568dc6,this['_docSkeletonManagerService']=_0x73dff5,this[_0x5cdbf4(0x19a)]=_0x116b9e,this['_commandService']=_0x1f8d16,this[_0x5cdbf4(0x19e)]=_0x42c01e,this['_init']());}[_0x191796(0x254)](){const _0x222feb=_0x191796,_0x5e2615=this['_context'][_0x222feb(0x1f4)],_0x5d188a=this[_0x222feb(0x36c)];this[_0x222feb(0x1dc)](_0x1578c2[_0x222feb(0x224)]([this[_0x222feb(0x19a)]['getCollabCursors$'](_0x5e2615),this[_0x222feb(0x19e)][_0x222feb(0x2c4)]])[_0x222feb(0x31a)](_0x6ea371['map'](([_0x107893,_0x2c8616])=>({'skeleton':_0x5d188a['getSkeleton'](),'cursors':[..._0x107893[_0x222feb(0x195)]()][_0x222feb(0x2f6)](_0x57a31e=>({..._0x57a31e,'color':this[_0x222feb(0x19e)][_0x222feb(0x324)](_0x57a31e[_0x222feb(0x1fc)])}))})))[_0x222feb(0x2a4)](_0x3a6fb0=>{const _0x4a47e3=_0x222feb;if(this[_0x4a47e3(0x2c5)](),_0x3a6fb0){const {skeleton:_0x3810d3,cursors:_0x47beed}=_0x3a6fb0;this['_updateCollabCursors'](_0x3810d3,_0x47beed);}})),this['_initResize'](),this[_0x222feb(0x315)]();}[_0x191796(0x1c7)](_0x2f37fe,_0x54d7e2){const _0x135927=_0x191796,{scene:_0xbb8a44,mainComponent:_0x8f0c9e}=this[_0x135927(0x244)],_0x54c39c=_0x54d7e2[_0x135927(0x286)](_0x2a7595=>new _0x23be51(_0x2a7595,_0xbb8a44,_0x2f37fe,_0x8f0c9e));this[_0x135927(0x186)]=_0x54c39c,this[_0x135927(0x2f4)]=_0x54d7e2;}[_0x191796(0x2e7)](){const _0x3c280c=_0x191796;this[_0x3c280c(0x2c5)]();const {scene:_0x27ea55,mainComponent:_0x191582}=this[_0x3c280c(0x244)],_0x54be3b=this[_0x3c280c(0x36c)][_0x3c280c(0x28c)](),_0x5e2181=this[_0x3c280c(0x2f4)]['map'](_0x1f49f6=>new _0x23be51(_0x1f49f6,_0x27ea55,_0x54be3b,_0x191582));this[_0x3c280c(0x186)]=_0x5e2181;}[_0x191796(0x2c5)](){const _0xa8beae=_0x191796;this[_0xa8beae(0x186)][_0xa8beae(0x238)](_0x43510d=>_0x43510d[_0xa8beae(0x211)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b0bd6=_0x191796,_0x32dcfe=[_0x21c652[_0x2b0bd6(0x2ca)]['id']];this[_0x2b0bd6(0x1dc)](this[_0x2b0bd6(0x172)][_0x2b0bd6(0x31c)](_0x274231=>{const _0xde237b=_0x2b0bd6;_0x32dcfe[_0xde237b(0x193)](_0x274231['id'])&&_0x274231[_0xde237b(0x26c)]['unitId']===this[_0xde237b(0x244)][_0xde237b(0x1f4)]&&this[_0xde237b(0x2e7)]();}));}[_0x191796(0x389)](){const _0x3d8c78=_0x191796;this[_0x3d8c78(0x1dc)](_0x58f6c8['fromEventSubject'](this[_0x3d8c78(0x244)][_0x3d8c78(0x170)]['onTransformChange$'])[_0x3d8c78(0x31a)](_0x6ea371[_0x3d8c78(0x3a0)](_0x3076f2=>_0x3076f2[_0x3d8c78(0x199)]===_0x41c725['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x6ea371[_0x3d8c78(0x3ac)](0x10))[_0x3d8c78(0x2a4)](()=>{this['_refreshCollabCursors']();}));}};_0x2c6f2b=_0x1bcb0c([_0x570ce8(0x1,_0x58f6c8[_0x191796(0x330)](_0x4cf100[_0x191796(0x169)])),_0x570ce8(0x2,_0x58f6c8[_0x191796(0x330)](_0xe9a56d)),_0x570ce8(0x3,_0x58f6c8[_0x191796(0x1a1)]),_0x570ce8(0x4,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x331)]))],_0x2c6f2b);const _0x56f935=0x1,_0x2bf5c4=1.5;class _0x1a6a3b extends _0x41c725[_0x191796(0x23b)]{constructor(_0x429581,_0x4d4070){const _0x5e0ded=_0x191796;super(_0x429581,_0x4d4070),_0x27b740(this,_0x5e0ded(0x20a)),_0x27b740(this,_0x5e0ded(0x358),!0x1),_0x27b740(this,_0x5e0ded(0x33d)),_0x27b740(this,_0x5e0ded(0x2ac),''),_0x27b740(this,'_labelPosition','top'),_0x27b740(this,_0x5e0ded(0x34e)),(_0x4d4070&&this[_0x5e0ded(0x168)](_0x4d4070),this[_0x5e0ded(0x3ca)][_0x5e0ded(0x336)](()=>this[_0x5e0ded(0x168)]({'hovered':!0x0})),this[_0x5e0ded(0x1d8)][_0x5e0ded(0x336)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x7e8e79){const _0x1a0194=_0x191796;var _0x428077,_0x543fe8,_0x186bbc,_0x34db69,_0x3a570c,_0x15eab6;this[_0x1a0194(0x20a)]=(_0x428077=_0x7e8e79[_0x1a0194(0x1fc)])!=null?_0x428077:this[_0x1a0194(0x20a)],this['_hovered']=(_0x543fe8=_0x7e8e79[_0x1a0194(0x29a)])!=null?_0x543fe8:this[_0x1a0194(0x358)],this[_0x1a0194(0x33d)]=(_0x186bbc=_0x7e8e79[_0x1a0194(0x21d)])!=null?_0x186bbc:this[_0x1a0194(0x33d)],this[_0x1a0194(0x2ac)]=(_0x34db69=_0x7e8e79[_0x1a0194(0x1e3)])!=null?_0x34db69:this[_0x1a0194(0x2ac)],this[_0x1a0194(0x25b)]=(_0x3a570c=_0x7e8e79[_0x1a0194(0x206)])!=null?_0x3a570c:this[_0x1a0194(0x25b)],this[_0x1a0194(0x34e)]=(_0x15eab6=_0x7e8e79[_0x1a0194(0x215)])!=null?_0x15eab6:this['_backgroundColor'],this['transformByState']({'width':_0x7e8e79[_0x1a0194(0x177)],'height':_0x7e8e79[_0x1a0194(0x350)]});}[_0x191796(0x3c0)](_0xa790a8){const _0x1e4bcb=_0x191796,{row:_0x1043f1,column:_0x36cbb3}=_0xa790a8;if(_0x1043f1>=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x1b7)]&&_0x1043f1<=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x220)]&&_0x36cbb3>=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x18d)]&&_0x36cbb3<=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x1d6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1e4bcb(0x168)]({'hovered':!0x1});}[_0x191796(0x375)](_0xcee3e5){return!0x1;}[_0x191796(0x1ea)](_0x5ee58c){const _0x34f7f3=_0x191796;_0x41c725['Rect'][_0x34f7f3(0x376)](_0x5ee58c,{'width':this['width'],'height':this[_0x34f7f3(0x350)],'strokeWidth':_0x2bf5c4,'stroke':this[_0x34f7f3(0x20a)],'evented':!0x1,'fill':this[_0x34f7f3(0x34e)]}),this[_0x34f7f3(0x358)]&&(_0x5ee58c[_0x34f7f3(0x20d)](),_0x5ee58c[_0x34f7f3(0x32e)](0x1,0x0,0x0,0x1,this['width'],this[_0x34f7f3(0x25b)]===_0x34f7f3(0x226)?0x0:-_0x498cb4),_0x2afa13[_0x34f7f3(0x376)](_0x5ee58c,{'text':this[_0x34f7f3(0x2ac)],'color':this['_color']}),_0x5ee58c[_0x34f7f3(0x368)]());}}var _0x3e4388=Object[_0x191796(0x1e8)],_0x321997=(_0x2c892b,_0x31cac3,_0x58b3b8,_0x4ab32d)=>{const _0x2c5d81=_0x191796;for(var _0x168585=_0x4ab32d>0x1?void 0x0:_0x4ab32d?_0x3e4388(_0x31cac3,_0x58b3b8):_0x31cac3,_0x8ab825=_0x2c892b[_0x2c5d81(0x262)]-0x1,_0xe9f0aa;_0x8ab825>=0x0;_0x8ab825--)(_0xe9f0aa=_0x2c892b[_0x8ab825])&&(_0x168585=_0xe9f0aa(_0x168585)||_0x168585);return _0x168585;},_0x28b684=(_0x4f5a23,_0x5f0beb)=>(_0x18c3d1,_0x430e67)=>_0x5f0beb(_0x18c3d1,_0x430e67,_0x4f5a23);const _0x2dc0c1=0x1389;let _0x4e02c2=class extends _0x58f6c8['RxDisposable']{constructor(_0x57c5a9,_0x3f20c9,_0x5cf423,_0x5824e3){const _0x476b32=_0x191796;super(),_0x27b740(this,_0x476b32(0x2f4),new Set()),_0x27b740(this,_0x476b32(0x38f),null),(this[_0x476b32(0x244)]=_0x57c5a9,this[_0x476b32(0x22d)]=_0x3f20c9,this['_collabCursorController']=_0x5cf423,this[_0x476b32(0x19e)]=_0x5824e3,this[_0x476b32(0x254)]());}[_0x191796(0x254)](){const _0x69f9f=_0x191796;this['_sheetSkeletonManagerService'][_0x69f9f(0x13e)][_0x69f9f(0x31a)](_0x6ea371[_0x69f9f(0x1b3)](this[_0x69f9f(0x2da)]),_0x6ea371['switchMap'](_0x4c1de9=>{const _0x130064=_0x69f9f;if(_0x4c1de9){const _0x267ff9=_0x4c1de9[_0x130064(0x2e5)];return _0x1578c2['combineLatest'](this['_collabCursorController'][_0x130064(0x1ed)](this[_0x130064(0x244)][_0x130064(0x1f4)]),this[_0x130064(0x19e)]['currentTheme$'])[_0x130064(0x31a)](_0x6ea371[_0x130064(0x286)](([_0x3e7991,_0x1324f5])=>{const _0x3919fa=_0x130064,_0x4ac985=new Map();return _0x3e7991[_0x3919fa(0x238)]((_0xf0087d,_0x200f20)=>{const _0x466566=_0x3919fa;if(_0xf0087d[_0x466566(0x20b)]===_0x267ff9){const _0xbab920={..._0xf0087d};_0xbab920['color']=this[_0x466566(0x19e)][_0x466566(0x324)](_0xf0087d[_0x466566(0x1fc)]),_0x4ac985[_0x466566(0x338)](_0x200f20,_0xbab920);}}),{'skeleton':_0x4c1de9,'cursors':_0x4ac985};}));}return _0x1578c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x69f9f(0x2a4)](({skeleton:_0x18be27,cursors:_0x7a4318})=>{const _0x278383=_0x69f9f;this[_0x278383(0x2c5)](),_0x18be27&&this['_updateCollabCursors'](_0x18be27,_0x7a4318);}),this[_0x69f9f(0x22d)]['currentSkeleton$'][_0x69f9f(0x2a4)](_0x2318e8=>{const _0x293cde=_0x69f9f;if(_0x2318e8==null)return;const {skeleton:_0x120d3a}=_0x2318e8,{scene:_0x2a5a07}=this['_context'];_0x2a5a07[_0x293cde(0x266)][_0x293cde(0x336)](_0x58f6c8['debounce'](_0x59bfba=>{const _0x4f8654=_0x293cde;var _0x4ef2ed,_0x721df7;const {offsetX:_0x123640,offsetY:_0x12fdb3}=_0x59bfba,{x:_0x4f41c1,y:_0x1bc8e8}=_0x2a5a07['getRelativeToViewportCoord'](_0x41c725[_0x4f8654(0x2dc)]['FromArray']([_0x123640,_0x12fdb3])),{scaleX:_0x2bf8b6,scaleY:_0x192476}=_0x2a5a07[_0x4f8654(0x1bd)](),_0x35f637=_0x2a5a07[_0x4f8654(0x283)](_0x41c725[_0x4f8654(0x26a)][_0x4f8654(0x275)]),_0x383fa8=_0x2a5a07[_0x4f8654(0x25f)](_0x41c725[_0x4f8654(0x2dc)][_0x4f8654(0x2aa)]([_0x4f41c1,_0x1bc8e8]),_0x35f637),_0x47813b=_0x120d3a['getCellPositionByOffset'](_0x123640,_0x12fdb3,_0x2bf8b6,_0x192476,_0x383fa8);((_0x4ef2ed=this['_lastPointer'])==null?void 0x0:_0x4ef2ed[_0x4f8654(0x361)])===_0x47813b[_0x4f8654(0x361)]&&((_0x721df7=this[_0x4f8654(0x38f)])==null?void 0x0:_0x721df7[_0x4f8654(0x319)])===_0x47813b[_0x4f8654(0x319)]||this[_0x4f8654(0x2f4)][_0x4f8654(0x238)](_0x455270=>{const _0x11029a=_0x4f8654;_0x455270[_0x11029a(0x3c0)](_0x47813b);});},0x64));});}['_updateCollabCursors'](_0xed9b82,_0x17bfcd){const _0x34026a=_0x191796;var _0x111a29;const _0x3fd994=(_0x111a29=this[_0x34026a(0x22d)][_0x34026a(0x157)]())==null?void 0x0:_0x111a29[_0x34026a(0x337)];if(!_0x3fd994)return;const _0x232517=this[_0x34026a(0x282)]();if(!_0x232517)return;this['_cursors'][_0x34026a(0x238)](_0x5b4fe6=>{const _0x3cb1fc=_0x34026a;_0x5b4fe6[_0x3cb1fc(0x322)]();});const {scene:_0x3439af}=_0x232517,_0x351812=_0x1ac589(Array[_0x34026a(0x1a9)](_0x17bfcd[_0x34026a(0x195)]()))[_0x34026a(0x286)](_0x2e402e=>{const _0x13b932=_0x34026a,{color:_0xb9db69,range:_0x1e9ea1,name:_0x18f445,selection:_0x491a33,sheetID:_0xbc215f}=_0x2e402e,{startColumn:_0x3bc5a9,startRow:_0x262c4f,endColumn:_0xef60c4,endRow:_0x5132b8}=_0x1e9ea1,_0x456f70=_0x578b8a[_0x13b932(0x3b7)](_0x262c4f,_0x3bc5a9,_0x3439af,_0x3fd994),_0xdb6622=_0x578b8a[_0x13b932(0x3b7)](_0x5132b8,_0xef60c4,_0x3439af,_0x3fd994),{columnHeaderHeightAndMarginTop:_0x2b2735}=_0x3fd994,{startX:_0x22b0f4,startY:_0x340755}=_0x456f70,{endX:_0x310f0c,endY:_0x34f1d0}=_0xdb6622,_0x464ca2=_0x310f0c-_0x22b0f4,_0x5d9a5a=_0x34f1d0-_0x340755,_0x789c4d={'labelPosition':_0x340755-_0x2b2735>=_0x498cb4?_0x13b932(0x152):'bottom','sheetID':_0xbc215f,'range':_0x1e9ea1,'color':_0xb9db69,'name':_0x18f445,'selection':_0x491a33,'left':_0x22b0f4,'top':_0x340755,'width':_0x464ca2,'height':_0x5d9a5a,'evented':!0x1,'zIndex':_0x2dc0c1};return new _0x1a6a3b(_0x18f445,_0x789c4d);});_0x3439af[_0x34026a(0x3c5)](_0x351812,_0x56f935),this['_cursors']=new Set(_0x351812);}[_0x191796(0x2c5)](){var _0x597d28;(_0x597d28=this['_cursors'])==null||_0x597d28['forEach'](_0x2f61b3=>_0x2f61b3['dispose']());}[_0x191796(0x282)](){const _0x49f42e=_0x191796;return _0x578b8a[_0x49f42e(0x162)](this['_context']['unit'],this['_context']);}};_0x4e02c2=_0x321997([_0x28b684(0x1,_0x58f6c8[_0x191796(0x330)](_0x578b8a['SheetSkeletonManagerService'])),_0x28b684(0x2,_0x58f6c8[_0x191796(0x330)](_0xe9a56d)),_0x28b684(0x3,_0x58f6c8[_0x191796(0x330)](_0x58f6c8['ThemeService']))],_0x4e02c2);function _0x1ac589(_0x6ed1b8){const _0xe12d49=new Map();return _0x6ed1b8['forEach'](_0x525ff8=>{const _0x3fb0ec=_0x106e;if(_0xe12d49[_0x3fb0ec(0x1f3)](_0x525ff8[_0x3fb0ec(0x3a6)])){const _0x14f16a=_0xe12d49[_0x3fb0ec(0x364)](_0x525ff8[_0x3fb0ec(0x3a6)]);_0x14f16a[_0x3fb0ec(0x1e3)]+=',\x20'+_0x525ff8[_0x3fb0ec(0x1e3)];}else _0xe12d49[_0x3fb0ec(0x338)](_0x525ff8['selection'],_0x525ff8);}),Array['from'](_0xe12d49['values']());}var _0x2a47cf=Object[_0x191796(0x1e8)],_0x39e3cd=(_0xed2a8f,_0x3d0d2a,_0x526dc4,_0x2e331d)=>{const _0x491250=_0x191796;for(var _0x23504e=_0x2e331d>0x1?void 0x0:_0x2e331d?_0x2a47cf(_0x3d0d2a,_0x526dc4):_0x3d0d2a,_0x50f428=_0xed2a8f[_0x491250(0x262)]-0x1,_0x32597d;_0x50f428>=0x0;_0x50f428--)(_0x32597d=_0xed2a8f[_0x50f428])&&(_0x23504e=_0x32597d(_0x23504e)||_0x23504e);return _0x23504e;},_0x1fdfc9=(_0xc759b6,_0x4c9c35)=>(_0x116249,_0x4237ac)=>_0x4c9c35(_0x116249,_0x4237ac,_0xc759b6);let _0x5bac2c=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x146f0d,_0x56cf24,_0x2b3bd9,_0x47956f,_0x9c861a,_0x3dd6f8){const _0x5f3976=_0x191796;super(),this['_beforeCloseService']=_0x146f0d,this[_0x5f3976(0x36f)]=_0x56cf24,this[_0x5f3976(0x16a)]=_0x2b3bd9,this[_0x5f3976(0x344)]=_0x47956f,this[_0x5f3976(0x201)]=_0x9c861a,this[_0x5f3976(0x1ce)]=_0x3dd6f8,this[_0x5f3976(0x2b8)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xb8cf55=_0x191796;this[_0xb8cf55(0x1dc)](this[_0xb8cf55(0x3a2)][_0xb8cf55(0x3be)](()=>{const _0x10e073=_0xb8cf55;if(this[_0x10e073(0x36f)]['saveTaskMap'][_0x10e073(0x2fe)])return this[_0x10e073(0x1ce)]['t'](_0x10e073(0x24c));}));}[_0x191796(0x176)](){const _0x5ad17f=_0x191796;this[_0x5ad17f(0x1dc)](this[_0x5ad17f(0x16a)][_0x5ad17f(0x18e)][_0x5ad17f(0x2a4)](_0x26e557=>{const _0x48fd42=_0x5ad17f;_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x14c)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x20c))}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t']('collaboration.closeRoom')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x293)]&&this['_notificationService']['show']({'title':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x37e)),'content':this['_localeService']['t']('permission.content'),'type':_0x48fd42(0x2a8),'duration':0x0}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x23e)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)]['Error'],'content':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x2b7))+'('+_0x26e557[_0x48fd42(0x340)]+')'}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)]['JOIN_ROOM_FAILED']&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t'](_0x26e557['data']||'')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x260)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this['_localeService']['t'](_0x48fd42(0x1c2))}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x271)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x2c6)],'content':this[_0x48fd42(0x1ce)]['t']('session.connection-failed')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x2b5)]&&this[_0x48fd42(0x344)]['show']({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x2c6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x5bac2c=_0x39e3cd([_0x1fdfc9(0x0,_0x570ef0[_0x191796(0x2f7)]),_0x1fdfc9(0x1,_0x367c63[_0x191796(0x326)]),_0x1fdfc9(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x353)])),_0x1fdfc9(0x3,_0x570ef0[_0x191796(0x36a)]),_0x1fdfc9(0x4,_0x570ef0[_0x191796(0x306)]),_0x1fdfc9(0x5,_0x58f6c8['Inject'](_0x58f6c8['LocaleService']))],_0x5bac2c);const _0x1c3d00=_0x191796(0x292),_0x30447a={};var _0x4267d7=Object[_0x191796(0x1e8)],_0x1e278e=(_0x164f3b,_0x40b535,_0x1c6e88,_0x99a967)=>{for(var _0x197567=_0x99a967>0x1?void 0x0:_0x99a967?_0x4267d7(_0x40b535,_0x1c6e88):_0x40b535,_0xca5ec6=_0x164f3b['length']-0x1,_0x570d2c;_0xca5ec6>=0x0;_0xca5ec6--)(_0x570d2c=_0x164f3b[_0xca5ec6])&&(_0x197567=_0x570d2c(_0x197567)||_0x197567);return _0x197567;},_0x1669a7=(_0x55fde2,_0x32a1e3)=>(_0xd7b1e1,_0x4642b5)=>_0x32a1e3(_0xd7b1e1,_0x4642b5,_0x55fde2);let _0x3fc0f6=class{constructor(_0xb4289,_0xad290c){const _0x2f7643=_0x191796;this[_0x2f7643(0x21e)]=_0xb4289,this[_0x2f7643(0x2f9)]=_0xad290c;}['transformIMECache'](_0x57a25b){const _0x3e3a3a=_0x191796;this[_0x3e3a3a(0x18f)](_0x57a25b),this[_0x3e3a3a(0x398)](_0x57a25b);}[_0x191796(0x3ad)](_0x1bf055){const _0x4ea380=_0x191796,{unitID:_0x7e9b06}=_0x1bf055,_0x3ae21f=this[_0x4ea380(0x2f9)][_0x4ea380(0x1a3)](_0x7e9b06)[_0x4ea380(0x165)](_0x21c652[_0x4ea380(0x2a6)]),{redoCache:_0x4dd32b}=_0x3ae21f[_0x4ea380(0x3b1)]();if(_0x4dd32b['length']===0x0)return _0x1bf055;let _0x55086c=_0x58f6c8['Tools'][_0x4ea380(0x1cd)](_0x1bf055[_0x4ea380(0x26b)][0x0]);for(let _0x36baea=0x0;_0x36baea<_0x4dd32b['length'];_0x36baea++){const _0x5cd104={'id':_0x4ea380(0x13f),'params':{..._0x4dd32b[_0x36baea]}},_0x42ea77=this[_0x4ea380(0x21e)][_0x4ea380(0x280)](_0x55086c,_0x5cd104,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x42ea77))throw _0x42ea77[_0x4ea380(0x2a8)];_0x55086c=_0x42ea77[_0x4ea380(0x308)];}return{..._0x58f6c8[_0x4ea380(0x24f)][_0x4ea380(0x1cd)](_0x1bf055),'mutations':[_0x55086c]};}[_0x191796(0x18f)](_0x42ffd8){const _0xcdc74=_0x191796,{unitID:_0x390b87}=_0x42ffd8,_0x5a3093=this[_0xcdc74(0x2f9)][_0xcdc74(0x1a3)](_0x390b87)[_0xcdc74(0x165)](_0x21c652['DocIMEInputManagerService']),{undoCache:_0x3ff32a,redoCache:_0x336dbd}=_0x5a3093['getUndoRedoMutationParamsCache']();if(_0x3ff32a[_0xcdc74(0x262)]===0x0||_0x336dbd[_0xcdc74(0x262)]===0x0)return;const _0x238a4d=[],_0x39c235=[];let _0x2b16e8=_0x58f6c8[_0xcdc74(0x24f)][_0xcdc74(0x1cd)](_0x42ffd8[_0xcdc74(0x26b)][0x0]),_0x5d6270=_0x58f6c8['Tools'][_0xcdc74(0x1cd)](_0x42ffd8['mutations'][0x0]);for(let _0x3a5591=_0x3ff32a[_0xcdc74(0x262)]-0x1;_0x3a5591>=0x0;_0x3a5591--){const _0x48658b={'id':_0xcdc74(0x13f),'params':{..._0x3ff32a[_0x3a5591]}},_0x2449fb={'id':'doc.mutation.rich-text-editing','params':{..._0x336dbd[_0x3a5591]}},_0x5efde8=this[_0xcdc74(0x21e)][_0xcdc74(0x280)](_0x2b16e8,_0x48658b,!0x1),_0x1a26e5=this[_0xcdc74(0x21e)][_0xcdc74(0x280)](_0x5d6270,_0x2449fb,!0x1);if(_0x44e0d0[_0xcdc74(0x388)](_0x5efde8))throw _0x5efde8[_0xcdc74(0x2a8)];if(_0x44e0d0[_0xcdc74(0x388)](_0x1a26e5))throw _0x1a26e5[_0xcdc74(0x2a8)];_0x238a4d[_0xcdc74(0x16b)](_0x5efde8[_0xcdc74(0x1b4)][_0xcdc74(0x26c)]),_0x39c235['unshift'](_0x1a26e5['m2Prime'][_0xcdc74(0x26c)]),_0x2b16e8=_0x5efde8[_0xcdc74(0x308)],_0x5d6270=_0x1a26e5[_0xcdc74(0x308)];}_0x5a3093[_0xcdc74(0x25c)]({'undoCache':_0x238a4d,'redoCache':_0x39c235});}['_transformPreviousActiveRange'](_0x522528){const _0x732c41=_0x191796,{unitID:_0x411d92}=_0x522528,_0x349e6d=this[_0x732c41(0x2f9)][_0x732c41(0x1a3)](_0x411d92)[_0x732c41(0x165)](_0x21c652[_0x732c41(0x2a6)]),_0x4f2ffb=_0x349e6d[_0x732c41(0x1d9)]();if(_0x4f2ffb==null)return;const _0x2e96af=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x522528['unitID'],'actions':null,'textRanges':[_0x4f2ffb]}}],_0x193289=this[_0x732c41(0x21e)][_0x732c41(0x261)](_0x522528,_0x2e96af);if(!_0x44e0d0[_0x732c41(0x2a5)](_0x193289))throw _0x193289[_0x732c41(0x2a8)];const _0x2e9b8e=_0x193289[_0x732c41(0x1b4)][0x0][_0x732c41(0x26c)][_0x732c41(0x372)];Array['isArray'](_0x2e9b8e)&&_0x2e9b8e['length']&&_0x349e6d[_0x732c41(0x3c1)](_0x2e9b8e[0x0]);}};_0x3fc0f6=_0x1e278e([_0x1669a7(0x0,_0x44e0d0[_0x191796(0x30d)]),_0x1669a7(0x1,_0x41c725['IRenderManagerService'])],_0x3fc0f6);var _0x36bd3f=Object[_0x191796(0x1e8)],_0x3f3162=(_0x4f3c25,_0x176a35,_0x662116,_0x1668dc)=>{const _0x282a04=_0x191796;for(var _0x4edd9c=_0x1668dc>0x1?void 0x0:_0x1668dc?_0x36bd3f(_0x176a35,_0x662116):_0x176a35,_0x281222=_0x4f3c25[_0x282a04(0x262)]-0x1,_0x44a450;_0x281222>=0x0;_0x281222--)(_0x44a450=_0x4f3c25[_0x281222])&&(_0x4edd9c=_0x44a450(_0x4edd9c)||_0x4edd9c);return _0x4edd9c;},_0x333f1e=(_0x137288,_0x488c60)=>(_0x4dfbf5,_0x2ecdff)=>_0x488c60(_0x4dfbf5,_0x2ecdff,_0x137288);let _0x3ceb89=class{constructor(_0x39d925,_0x1694ec,_0x4e48c4){const _0x43603a=_0x191796;this[_0x43603a(0x3d4)]=_0x39d925,this[_0x43603a(0x21e)]=_0x1694ec,this['_docStateChangeManagerService']=_0x4e48c4;}[_0x191796(0x27f)](_0x349a9a){const _0x87cd25=_0x191796;this[_0x87cd25(0x27e)](_0x349a9a);}[_0x191796(0x3ad)](_0x28373c){const _0x1e4ba9=_0x191796,{unitID:_0xb1f2e5}=_0x28373c,{collaboration:_0x163f36}=this['_docStateChangeManagerService'][_0x1e4ba9(0x1a6)](_0xb1f2e5);if(_0x163f36['length']===0x0)return _0x28373c;let _0x2a5d3e=_0x58f6c8[_0x1e4ba9(0x24f)][_0x1e4ba9(0x1cd)](_0x28373c[_0x1e4ba9(0x26b)][0x0]);for(let _0x4de42d=0x0;_0x4de42d<_0x163f36[_0x1e4ba9(0x262)];_0x4de42d++){const _0x391409={'id':_0x1e4ba9(0x13f),'params':{'unitId':_0x163f36[_0x4de42d][_0x1e4ba9(0x1f4)],..._0x163f36[_0x4de42d][_0x1e4ba9(0x253)]}},_0x2ec5b6=this['_transformService']['transformMutation'](_0x2a5d3e,_0x391409,!0x1);if(_0x44e0d0[_0x1e4ba9(0x388)](_0x2ec5b6))throw _0x2ec5b6[_0x1e4ba9(0x2a8)];_0x2a5d3e=_0x2ec5b6['m1Prime'];}return{..._0x58f6c8[_0x1e4ba9(0x24f)][_0x1e4ba9(0x1cd)](_0x28373c),'mutations':[_0x2a5d3e]};}[_0x191796(0x27e)](_0x4e4ebf){const _0x34bb76=_0x191796,{unitID:_0x1d5cbb}=_0x4e4ebf,{history:_0x227f01,collaboration:_0x5afbd5}=this[_0x34bb76(0x328)][_0x34bb76(0x1a6)](_0x1d5cbb);if(_0x227f01[_0x34bb76(0x262)]===0x0&&_0x5afbd5['length']===0x0)return;const _0xd4ef5f=[],_0x52928c=[];let _0x50c46e=_0x58f6c8[_0x34bb76(0x24f)]['deepClone'](_0x4e4ebf[_0x34bb76(0x26b)][0x0]),_0x5c509c=_0x58f6c8[_0x34bb76(0x24f)][_0x34bb76(0x1cd)](_0x4e4ebf[_0x34bb76(0x26b)][0x0]);for(let _0x3ae0db=_0x227f01['length']-0x1;_0x3ae0db>=0x0;_0x3ae0db--){const _0x59942a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x227f01[_0x3ae0db]['unitId'],..._0x227f01[_0x3ae0db][_0x34bb76(0x22a)]}},_0x5caf04={'id':_0x34bb76(0x13f),'params':{'unitId':_0x227f01[_0x3ae0db][_0x34bb76(0x1f4)],..._0x227f01[_0x3ae0db]['redoState']}},_0x2b514e=this[_0x34bb76(0x21e)]['transformMutation'](_0x50c46e,_0x59942a,!0x1),_0x4500d7=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x5c509c,_0x5caf04,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x2b514e))throw _0x2b514e[_0x34bb76(0x2a8)];if(_0x44e0d0[_0x34bb76(0x388)](_0x4500d7))throw _0x4500d7[_0x34bb76(0x2a8)];_0xd4ef5f[_0x34bb76(0x16b)]({..._0x227f01[_0x3ae0db],'undoState':_0x2b514e['m2Prime'][_0x34bb76(0x26c)],'redoState':_0x4500d7[_0x34bb76(0x1b4)]['params']}),_0x50c46e=_0x2b514e['m1Prime'],_0x5c509c=_0x4500d7[_0x34bb76(0x308)];}_0x50c46e=_0x58f6c8[_0x34bb76(0x24f)]['deepClone'](_0x4e4ebf['mutations'][0x0]),_0x5c509c=_0x58f6c8[_0x34bb76(0x24f)][_0x34bb76(0x1cd)](_0x4e4ebf[_0x34bb76(0x26b)][0x0]);for(let _0xd7b98a=_0x5afbd5[_0x34bb76(0x262)]-0x1;_0xd7b98a>=0x0;_0xd7b98a--){const _0x194b37={'id':_0x34bb76(0x13f),'params':{'unitId':_0x5afbd5[_0xd7b98a][_0x34bb76(0x1f4)],..._0x5afbd5[_0xd7b98a][_0x34bb76(0x22a)]}},_0x32d73c={'id':_0x34bb76(0x13f),'params':{'unitId':_0x5afbd5[_0xd7b98a][_0x34bb76(0x1f4)],..._0x5afbd5[_0xd7b98a][_0x34bb76(0x253)]}},_0x408c8f=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x50c46e,_0x194b37,!0x1),_0xc78a4=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x5c509c,_0x32d73c,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x408c8f))throw _0x408c8f[_0x34bb76(0x2a8)];if(_0x44e0d0['isTransformMutationFailure'](_0xc78a4))throw _0xc78a4['error'];_0x52928c[_0x34bb76(0x16b)]({..._0x5afbd5[_0xd7b98a],'undoState':_0x408c8f[_0x34bb76(0x1b4)][_0x34bb76(0x26c)],'redoState':_0xc78a4['m2Prime'][_0x34bb76(0x26c)]}),_0x50c46e=_0x408c8f[_0x34bb76(0x308)],_0x5c509c=_0xc78a4[_0x34bb76(0x308)];}this[_0x34bb76(0x328)][_0x34bb76(0x298)](_0x1d5cbb,{'history':_0xd4ef5f,'collaboration':_0x52928c});}};_0x3ceb89=_0x3f3162([_0x333f1e(0x0,_0x58f6c8['Inject'](_0x58f6c8['Injector'])),_0x333f1e(0x1,_0x44e0d0[_0x191796(0x30d)]),_0x333f1e(0x2,_0x58f6c8['Inject'](_0x21c652[_0x191796(0x38d)]))],_0x3ceb89);var _0x3a0f13=Object[_0x191796(0x1e8)],_0x4f4d47=(_0x518a6e,_0x309549,_0x345761,_0x2e64ac)=>{const _0x38907c=_0x191796;for(var _0x5552b9=_0x2e64ac>0x1?void 0x0:_0x2e64ac?_0x3a0f13(_0x309549,_0x345761):_0x309549,_0xc66fbf=_0x518a6e[_0x38907c(0x262)]-0x1,_0xb83e10;_0xc66fbf>=0x0;_0xc66fbf--)(_0xb83e10=_0x518a6e[_0xc66fbf])&&(_0x5552b9=_0xb83e10(_0x5552b9)||_0x5552b9);return _0x5552b9;},_0x1550b5=(_0xcbd17c,_0x298141)=>(_0x3398ce,_0x14269f)=>_0x298141(_0x3398ce,_0x14269f,_0xcbd17c);let _0x8796d8=class{constructor(_0x5cc5d5,_0x492f6e){const _0x37c8b3=_0x191796;this[_0x37c8b3(0x3d4)]=_0x5cc5d5,this['_transformService']=_0x492f6e;}[_0x191796(0x15e)](_0x3d9975){const _0x7200cb=_0x191796;var _0x13e11e;const _0x26d6e0=this[_0x7200cb(0x3d4)][_0x7200cb(0x364)](_0x4cf100[_0x7200cb(0x191)]),_0x2cc724=(_0x13e11e=_0x26d6e0[_0x7200cb(0x2d3)]())!=null?_0x13e11e:[];if(_0x2cc724['length']===0x0)return;const _0x5314aa=_0x3d9975[_0x7200cb(0x26d)],_0x532622=[{'id':_0x7200cb(0x13f),'params':{'unitId':_0x5314aa,'actions':null,'textRanges':_0x2cc724}}],_0x3409da=this[_0x7200cb(0x21e)][_0x7200cb(0x261)](_0x3d9975,_0x532622);if(!_0x44e0d0[_0x7200cb(0x2a5)](_0x3409da))throw _0x3409da[_0x7200cb(0x2a8)];const _0x44652d=_0x3409da[_0x7200cb(0x1b4)][0x0][_0x7200cb(0x26c)][_0x7200cb(0x372)];Array[_0x7200cb(0x312)](_0x44652d)&&_0x44652d['length']&&_0x26d6e0['replaceDocRanges'](_0x44652d,{'unitId':_0x5314aa,'subUnitId':_0x5314aa},!0x1);}};_0x8796d8=_0x4f4d47([_0x1550b5(0x0,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1550b5(0x1,_0x44e0d0[_0x191796(0x30d)])],_0x8796d8);var _0x4b4371=Object['getOwnPropertyDescriptor'],_0x4c5ce2=(_0x1418a0,_0xa5e613,_0x505afe,_0x21b76c)=>{for(var _0x5e50c8=_0x21b76c>0x1?void 0x0:_0x21b76c?_0x4b4371(_0xa5e613,_0x505afe):_0xa5e613,_0x12f0a8=_0x1418a0['length']-0x1,_0x3c61cd;_0x12f0a8>=0x0;_0x12f0a8--)(_0x3c61cd=_0x1418a0[_0x12f0a8])&&(_0x5e50c8=_0x3c61cd(_0x5e50c8)||_0x5e50c8);return _0x5e50c8;},_0x5a8e6f=(_0x38e131,_0xae2e6e)=>(_0x21c0d0,_0x186b8e)=>_0xae2e6e(_0x21c0d0,_0x186b8e,_0x38e131);let _0x31c538=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x425532,_0x20ef2a,_0x35bd1e,_0x1f1991,_0x226f03,_0x490663,_0x218de6,_0x16e170){const _0x5d9f39=_0x191796;super(),_0x27b740(this,'_status$',new _0x1578c2[(_0x5d9f39(0x204))](_0x367c63[_0x5d9f39(0x3c6)][_0x5d9f39(0x245)])),(this[_0x5d9f39(0x328)]=_0x425532,this[_0x5d9f39(0x1ae)]=_0x20ef2a,this[_0x5d9f39(0x373)]=_0x35bd1e,this[_0x5d9f39(0x2bc)]=_0x1f1991,this[_0x5d9f39(0x1f9)]=_0x226f03,this[_0x5d9f39(0x2ed)]=_0x490663,this[_0x5d9f39(0x344)]=_0x218de6,this[_0x5d9f39(0x1ce)]=_0x16e170,this[_0x5d9f39(0x23f)]());}[_0x191796(0x23f)](){const _0x1b340c=_0x191796;this['disposeWithMe'](this[_0x1b340c(0x1ae)][_0x1b340c(0x1e1)][_0x1b340c(0x2a4)](_0xa2f9db=>{const _0x29ed3e=_0x1b340c,_0x3cbd26=this[_0x29ed3e(0x328)][_0x29ed3e(0x305)][_0x29ed3e(0x2a4)](_0x2512b1=>{const _0x3bbe27=_0x29ed3e;if(_0x2512b1==null)return;const {unitId:_0x2969c3,redoState:_0x2caa19,commandId:_0x996300}=_0x2512b1;if(_0x2969c3!==_0xa2f9db[_0x3bbe27(0x26d)])return;const _0x4a9510={'id':_0x996300,'type':_0x58f6c8[_0x3bbe27(0x150)][_0x3bbe27(0x317)],'params':{'unitId':_0x2969c3,'actions':_0x2caa19['actions'],'textRanges':null}};_0xa2f9db['onLocalMutation'](_0x4a9510);});if(_0xa2f9db[_0x29ed3e(0x1dc)](_0x3cbd26),_0xa2f9db instanceof _0x367c63[_0x29ed3e(0x2b1)]){const _0x4a9f85={'onTransformIME':_0xc1ba4d=>this[_0x29ed3e(0x373)][_0x29ed3e(0x272)](_0xc1ba4d),'onTransformState':_0x38b918=>this['_docTransformStateCacheService']['transformStateCache'](_0x38b918),'onTransformSelections':_0x245ba7=>this[_0x29ed3e(0x1f9)][_0x29ed3e(0x15e)](_0x245ba7),'onSyncEditingCollabCursor':_0x1e9c34=>this[_0x29ed3e(0x2ed)][_0x29ed3e(0x276)](_0x1e9c34),'onTransformRemoteChangesetByIMECache':_0x4b9795=>this[_0x29ed3e(0x373)]['transformRemoteChangeset'](_0x4b9795),'onTransformRemoteChangesetByStateCache':_0x211b4e=>this[_0x29ed3e(0x2bc)]['transformRemoteChangeset'](_0x211b4e)};_0xa2f9db[_0x29ed3e(0x2d5)](_0x4a9f85);}}));}};_0x31c538=_0x4c5ce2([_0x5a8e6f(0x0,_0x58f6c8[_0x191796(0x330)](_0x21c652[_0x191796(0x38d)])),_0x5a8e6f(0x1,_0x58f6c8['Inject'](_0x367c63['CollaborationController'])),_0x5a8e6f(0x2,_0x58f6c8[_0x191796(0x330)](_0x3fc0f6)),_0x5a8e6f(0x3,_0x58f6c8['Inject'](_0x3ceb89)),_0x5a8e6f(0x4,_0x58f6c8[_0x191796(0x330)](_0x8796d8)),_0x5a8e6f(0x5,_0x58f6c8['Inject'](_0x3ba835)),_0x5a8e6f(0x6,_0x570ef0['IMessageService']),_0x5a8e6f(0x7,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x2ce)]))],_0x31c538);var _0x537153=Object[_0x191796(0x1e8)],_0x12baf2=(_0x131ffc,_0x114b17,_0x57c804,_0x4a7fcc)=>{for(var _0x3dd07c=_0x4a7fcc>0x1?void 0x0:_0x4a7fcc?_0x537153(_0x114b17,_0x57c804):_0x114b17,_0x3bafb5=_0x131ffc['length']-0x1,_0x50acc8;_0x3bafb5>=0x0;_0x3bafb5--)(_0x50acc8=_0x131ffc[_0x3bafb5])&&(_0x3dd07c=_0x50acc8(_0x3dd07c)||_0x3dd07c);return _0x3dd07c;},_0x830515=(_0x385bc6,_0x5cdbd9)=>(_0x289ca8,_0x4af1ff)=>_0x5cdbd9(_0x289ca8,_0x4af1ff,_0x385bc6);let _0x328bf8=class extends _0x58f6c8['Disposable']{constructor(_0x4f990d,_0x470083,_0x2f455a){const _0x1d7691=_0x191796;super(),_0x27b740(this,'_cachedData',new Map()),_0x27b740(this,'_saveTaskMap',new Map()),_0x27b740(this,_0x1d7691(0x383),!0x1),(this[_0x1d7691(0x212)]=_0x4f990d,this['_localStorageService']=_0x470083,this['_revisionService']=_0x2f455a);}[_0x191796(0x3a1)](){const _0x27d61f=_0x191796;this[_0x27d61f(0x383)]=!0x0;}['enableLocalCache'](){const _0x2e2548=_0x191796;this[_0x2e2548(0x383)]=!0x1;}get[_0x191796(0x1d0)](){const _0x23de38=_0x191796;return this[_0x23de38(0x250)];}[_0x191796(0x211)](){const _0x443e45=_0x191796;this[_0x443e45(0x34d)]()[_0x443e45(0x3bc)](()=>super[_0x443e45(0x211)]());}async[_0x191796(0x257)](_0x2ad841){const _0x5eeb27=_0x191796;return this[_0x5eeb27(0x383)]?null:this['_localStorageService']['getItem'](_0x367c63[_0x5eeb27(0x2f2)](_0x2ad841));}async[_0x191796(0x304)](_0x2dbe1e,_0x559ae9){const _0x5e925c=_0x191796;return!!this[_0x5e925c(0x256)][_0x5e925c(0x290)](_0x2dbe1e,_0x559ae9);}[_0x191796(0x205)](_0x4a18b8,_0x4602c8,_0xda0bec,_0x10efe7){const _0xdfb174=_0x191796,_0x431291=this[_0xdfb174(0x15a)][_0xdfb174(0x36e)](_0x4a18b8);this[_0xdfb174(0x2ec)][_0xdfb174(0x338)](_0x4a18b8,{'unitID':_0x4a18b8,'type':_0x4602c8,'awaitingChangeset':_0xda0bec,'mutations':_0x10efe7,'rev':_0x431291}),this[_0xdfb174(0x250)][_0xdfb174(0x1f3)](_0x4a18b8)||this[_0xdfb174(0x1b9)](_0x4a18b8);}[_0x191796(0x1b9)](_0x451bc4){const _0x40a3a4=_0x191796,_0x513342=this[_0x40a3a4(0x3a4)]();_0x513342===0x0?this[_0x40a3a4(0x1a5)](_0x451bc4):this[_0x40a3a4(0x250)][_0x40a3a4(0x338)](_0x451bc4,setTimeout(()=>this[_0x40a3a4(0x1a5)](_0x451bc4),_0x513342));}['_getSaveTimeout'](){const _0x3026a4=_0x191796;var _0x3c2e7f;return(_0x3c2e7f=this['_configService'][_0x3026a4(0x359)](_0x367c63[_0x3026a4(0x2ea)]))!=null?_0x3c2e7f:_0x367c63['LOCAL_CACHE_INTERVAL'];}[_0x191796(0x1a5)](_0xa3f588){const _0x4f7877=_0x191796,_0x2278e3=this[_0x4f7877(0x250)]['get'](_0xa3f588);return _0x2278e3!==void 0x0&&window[_0x4f7877(0x296)](_0x2278e3),this[_0x4f7877(0x256)][_0x4f7877(0x290)](_0x367c63[_0x4f7877(0x2f2)](_0xa3f588),this[_0x4f7877(0x2ec)]['get'](_0xa3f588))['then'](()=>this['_saveTaskMap'][_0x4f7877(0x2b2)](_0xa3f588));}async[_0x191796(0x34d)](){const _0x149049=_0x191796,_0x4c53e3=[];this[_0x149049(0x250)]['forEach']((_0xdc66a7,_0x1f70ac)=>{const _0x595ebf=_0x149049;window[_0x595ebf(0x296)](_0xdc66a7),_0x4c53e3[_0x595ebf(0x1c3)](this[_0x595ebf(0x1a5)](_0x1f70ac)['then'](()=>{const _0x211653=_0x595ebf;this[_0x211653(0x250)][_0x211653(0x2b2)](_0x1f70ac);}));}),await Promise[_0x149049(0x28d)](_0x4c53e3);}};_0x328bf8=_0x12baf2([_0x830515(0x0,_0x58f6c8['IConfigService']),_0x830515(0x1,_0x58f6c8[_0x191796(0x3ba)]),_0x830515(0x2,_0x58f6c8[_0x191796(0x330)](_0x44e0d0[_0x191796(0x1de)]))],_0x328bf8);class _0x989686 extends _0x58f6c8[_0x191796(0x1dd)]{constructor(){const _0x4f1e70=_0x191796;super(),_0x27b740(this,_0x4f1e70(0x27b)),this[_0x4f1e70(0x27b)]=_0x1578c2[_0x4f1e70(0x142)](window,_0x4f1e70(0x1b1))['pipe'](_0x1578c2['takeUntil'](this[_0x4f1e70(0x2da)]),_0x1578c2['shareReplay'](0x1),_0x1578c2['mapTo'](void 0x0));}[_0x191796(0x323)](_0x89e5a7,_0xb39e63,_0xdcb3a3=!0x1){const _0x401af7=_0x191796,_0x452143=new URL(window[_0x401af7(0x35f)][_0x401af7(0x14d)]);_0x452143[_0x401af7(0x233)][_0x401af7(0x338)](_0x89e5a7,_0xb39e63),_0xdcb3a3?window[_0x401af7(0x2bf)][_0x401af7(0x221)]('','',_0x452143[_0x401af7(0x284)]()):window[_0x401af7(0x2bf)][_0x401af7(0x3a9)]('','',_0x452143[_0x401af7(0x284)]());}[_0x191796(0x393)](_0x19c352,_0x4b7f40=!0x1){const _0x150085=_0x191796,_0x23b401=new URL(window['location']['href']);_0x23b401[_0x150085(0x233)][_0x150085(0x2b2)](_0x19c352),_0x4b7f40?window[_0x150085(0x2bf)][_0x150085(0x221)]('','',_0x23b401['toString']()):window[_0x150085(0x2bf)][_0x150085(0x3a9)]('','',_0x23b401['toString']());}[_0x191796(0x3b5)](_0x29aff6){const _0x1a3ae2=_0x191796;var _0x49cdd6;return(_0x49cdd6=new URL(window[_0x1a3ae2(0x35f)][_0x1a3ae2(0x14d)])[_0x1a3ae2(0x233)][_0x1a3ae2(0x364)](_0x29aff6))!=null?_0x49cdd6:void 0x0;}}var _0x1868b4=Object[_0x191796(0x31d)],_0xcf6a5b=Object[_0x191796(0x1e8)],_0x1aedd6=(_0x231e2e,_0x24ba2b,_0x1ff13b)=>_0x24ba2b in _0x231e2e?_0x1868b4(_0x231e2e,_0x24ba2b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ff13b}):_0x231e2e[_0x24ba2b]=_0x1ff13b,_0x3402cf=(_0x3311cd,_0x3c789f,_0x109883,_0x19562d)=>{for(var _0x23fba2=_0x19562d>0x1?void 0x0:_0x19562d?_0xcf6a5b(_0x3c789f,_0x109883):_0x3c789f,_0x51d6fb=_0x3311cd['length']-0x1,_0x80fff5;_0x51d6fb>=0x0;_0x51d6fb--)(_0x80fff5=_0x3311cd[_0x51d6fb])&&(_0x23fba2=_0x80fff5(_0x23fba2)||_0x23fba2);return _0x23fba2;},_0x1261b9=(_0x4b0318,_0x79cf88)=>(_0x597593,_0x445f9b)=>_0x79cf88(_0x597593,_0x445f9b,_0x4b0318),_0x5daf17=(_0x34af63,_0x31e165,_0x53fb24)=>_0x1aedd6(_0x34af63,_0x31e165+'',_0x53fb24);const _0x656c71='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x32312a[_0x191796(0x333)]=class extends _0x58f6c8['Plugin']{constructor(_0x94ddd4=_0x30447a,_0x3a40e0,_0x451b9e,_0x1e2a99){const _0x5096a9=_0x191796;super(),this['_config']=_0x94ddd4,this['_renderManagerService']=_0x3a40e0,this['_injector']=_0x451b9e,this[_0x5096a9(0x212)]=_0x1e2a99;const {..._0x4029c4}=_0x58f6c8[_0x5096a9(0x242)]({},_0x30447a,this[_0x5096a9(0x2a3)]);this[_0x5096a9(0x212)][_0x5096a9(0x2db)](_0x1c3d00,_0x4029c4);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x191796(0x159)](){const _0x168de5=_0x191796;this[_0x168de5(0x3b3)]();}['_registerDependencies'](){const _0x30851d=_0x191796;var _0x3034d7;const _0x22c37f=[[_0x49f086],[_0x8796d8],[_0x3fc0f6],[_0x3ceb89],[_0x3ba835],[_0x68c4f9,{'useClass':_0x989686}],[_0x53e9e6[_0x30851d(0x1c0)],{'useClass':_0x53e9e6[_0x30851d(0x34c)]}],[_0x367c63[_0x30851d(0x326)],{'useClass':_0x328bf8}],[_0x32312a[_0x30851d(0x33c)]],[_0x31c538],[_0x5bac2c],[_0xe9a56d],[_0x5a2fa8],[_0x32312a[_0x30851d(0x183)]]];_0x58f6c8[_0x30851d(0x318)](this[_0x30851d(0x3d4)],_0x58f6c8['mergeOverrideWithDependencies'](_0x22c37f,(_0x3034d7=this[_0x30851d(0x2a3)])==null?void 0x0:_0x3034d7[_0x30851d(0x259)]));}['_registerRenderDependencies'](){const _0x5acb48=_0x191796;this[_0x5acb48(0x1dc)](this[_0x5acb48(0x2f9)][_0x5acb48(0x1cc)](_0x58f6c8[_0x5acb48(0x2cb)][_0x5acb48(0x396)],[_0x2c6f2b])),this[_0x5acb48(0x1dc)](this[_0x5acb48(0x2f9)][_0x5acb48(0x1cc)](_0x58f6c8['UniverInstanceType'][_0x5acb48(0x144)],[_0x4e02c2]));}[_0x191796(0x2d9)](){const _0x5804b5=_0x191796;_0x58f6c8['touchDependencies'](this['_injector'],[[_0xe9a56d],[_0x32312a[_0x5804b5(0x33c)]],[_0x31c538],[_0x5bac2c],[_0x32312a['CollaborationDataLoaderController']]]);}},_0x5daf17(_0x32312a[_0x191796(0x333)],'pluginName',_0x656c71),_0x32312a[_0x191796(0x333)]=_0x3402cf([_0x58f6c8[_0x191796(0x148)](_0x367c63[_0x191796(0x36d)]),_0x1261b9(0x1,_0x41c725[_0x191796(0x2a7)]),_0x1261b9(0x2,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1261b9(0x3,_0x58f6c8[_0x191796(0x30a)])],_0x32312a[_0x191796(0x333)]);var _0x3ca987=Object[_0x191796(0x1e8)],_0xf09c6c=(_0x30ee47,_0xea6bb3,_0x53ae62,_0x20512e)=>{const _0x43792c=_0x191796;for(var _0x9771f9=_0x20512e>0x1?void 0x0:_0x20512e?_0x3ca987(_0xea6bb3,_0x53ae62):_0xea6bb3,_0x17839c=_0x30ee47[_0x43792c(0x262)]-0x1,_0x1f452f;_0x17839c>=0x0;_0x17839c--)(_0x1f452f=_0x30ee47[_0x17839c])&&(_0x9771f9=_0x1f452f(_0x9771f9)||_0x9771f9);return _0x9771f9;},_0x3fc6bc=(_0x1ee380,_0x1a1cff)=>(_0xc880ac,_0x1aaf27)=>_0x1a1cff(_0xc880ac,_0x1aaf27,_0x1ee380);_0x32312a[_0x191796(0x39c)]=class extends _0x367c63[_0x191796(0x289)]{constructor(_0x568912,_0x1e5944,_0x4b18b0,_0x487c8a,_0x10c69a){super(_0x568912,_0x1e5944,_0x4b18b0,_0x487c8a,_0x10c69a);}async[_0x191796(0x379)](_0x48b07a){const _0x17eaf9=_0x191796,_0x39df45=await this[_0x17eaf9(0x2b4)](),_0x3b20b1=this[_0x17eaf9(0x22c)](_0x48b07a,_0x39df45);return this['_doCreateSocket'](_0x3b20b1);}[_0x191796(0x22c)](_0x50a20f,_0x37c832){const _0x67f557=_0x191796,_0x1b6e0f=typeof window>'u'?new URL(_0x50a20f):new URL(_0x50a20f,window[_0x67f557(0x35f)]['origin']);_0x1b6e0f['searchParams'][_0x67f557(0x338)](_0x67f557(0x198),_0x37c832);const _0xef64ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x67f557(0x35f)]['search']);return _0xef64ee[_0x67f557(0x364)](_0x67f557(0x31e))&&_0x1b6e0f[_0x67f557(0x233)][_0x67f557(0x338)](_0x67f557(0x31e),_0xef64ee[_0x67f557(0x364)](_0x67f557(0x31e))),_0x1b6e0f[_0x67f557(0x284)]();}async['_getSessionTicket'](){const _0x5b67b1=_0x191796;var _0x186676,_0x4d3dbf,_0x3c5596;const _0x4d22e5=this[_0x5b67b1(0x212)][_0x5b67b1(0x359)](_0x367c63[_0x5b67b1(0x200)]),_0x234e67=(_0x186676=_0x4d22e5==null?void 0x0:_0x4d22e5['wsSessionTicketUrl'])!=null?_0x186676:_0x367c63[_0x5b67b1(0x16e)];return(_0x3c5596=(_0x4d3dbf=(await this['_httpService'][_0x5b67b1(0x364)](_0x234e67,{'headers':{'Content-Type':_0x5b67b1(0x15f)}}))['body'])==null?void 0x0:_0x4d3dbf[_0x5b67b1(0x3ce)])!=null?_0x3c5596:'';}},_0x32312a[_0x191796(0x39c)]=_0xf09c6c([_0x3fc6bc(0x0,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x3fc6bc(0x1,_0x58f6c8[_0x191796(0x330)](_0x53e9e6['HTTPService'])),_0x3fc6bc(0x2,_0x58f6c8[_0x191796(0x30a)]),_0x3fc6bc(0x3,_0x58f6c8['ILogService']),_0x3fc6bc(0x4,_0x44e0d0[_0x191796(0x360)])],_0x32312a[_0x191796(0x39c)]);var _0x4bea21=(_0x32b254=>(_0x32b254[_0x32b254['UNDEFINED']=0x0]='UNDEFINED',_0x32b254[_0x32b254['OK']=0x1]='OK',_0x32b254[_0x32b254[_0x191796(0x175)]=0x2]=_0x191796(0x175),_0x32b254[_0x32b254['PERMISSION_DENIED']=0x3]=_0x191796(0x293),_0x32b254[_0x32b254['NOT_FOUND']=0x4]='NOT_FOUND',_0x32b254[_0x32b254[_0x191796(0x3c7)]=0x5]='UNAUTHENTICATED',_0x32b254[_0x32b254['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x32b254[_0x32b254[_0x191796(0x1fb)]=0x7]=_0x191796(0x1fb),_0x32b254[_0x32b254['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x32b254[_0x32b254[_0x191796(0x1bb)]=0x9]=_0x191796(0x1bb),_0x32b254[_0x32b254[_0x191796(0x2e6)]=0xa]=_0x191796(0x2e6),_0x32b254[_0x32b254[_0x191796(0x161)]=0xb]=_0x191796(0x161),_0x32b254[_0x32b254['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x32b254[_0x32b254[_0x191796(0x234)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x32b254[_0x32b254[_0x191796(0x249)]=0xe]=_0x191796(0x249),_0x32b254[_0x32b254['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x191796(0x174),_0x32b254[_0x32b254[_0x191796(0x1f0)]=0x1771]=_0x191796(0x1f0),_0x32b254[_0x32b254['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x191796(0x230),_0x32b254[_0x32b254[_0x191796(0x2ae)]=0x1773]=_0x191796(0x2ae),_0x32b254[_0x32b254[_0x191796(0x34a)]=0x1b59]=_0x191796(0x34a),_0x32b254[_0x32b254[_0x191796(0x314)]=0x1b5a]=_0x191796(0x314),_0x32b254[_0x32b254[_0x191796(0x255)]=0x1b5b]=_0x191796(0x255),_0x32b254[_0x32b254[_0x191796(0x334)]=0x1b5c]=_0x191796(0x334),_0x32b254[_0x32b254[_0x191796(0x15d)]=0x1b5d]=_0x191796(0x15d),_0x32b254[_0x32b254[_0x191796(0x1d5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x32b254[_0x32b254['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x32b254[_0x32b254[_0x191796(0x3ab)]=0x232a]=_0x191796(0x3ab),_0x32b254[_0x32b254[_0x191796(0x38e)]=0x232b]=_0x191796(0x38e),_0x32b254[_0x32b254[_0x191796(0x377)]=0x232c]=_0x191796(0x377),_0x32b254[_0x32b254[_0x191796(0x21f)]=0x232d]=_0x191796(0x21f),_0x32b254[_0x32b254[_0x191796(0x1ab)]=0x2711]=_0x191796(0x1ab),_0x32b254[_0x32b254[_0x191796(0x231)]=0x2712]=_0x191796(0x231),_0x32b254[_0x32b254[_0x191796(0x32c)]=0x2713]=_0x191796(0x32c),_0x32b254[_0x32b254[_0x191796(0x351)]=0x2714]=_0x191796(0x351),_0x32b254[_0x32b254['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x191796(0x155),_0x32b254[_0x32b254[_0x191796(0x1f5)]=0x271b]=_0x191796(0x1f5),_0x32b254[_0x32b254[_0x191796(0x2e4)]=0x271c]=_0x191796(0x2e4),_0x32b254[_0x32b254[_0x191796(0x31b)]=0x271d]=_0x191796(0x31b),_0x32b254[_0x32b254[_0x191796(0x378)]=0x271e]=_0x191796(0x378),_0x32b254[_0x32b254['YUUMI_AI_RUN_FAILED']=0x271f]=_0x191796(0x147),_0x32b254[_0x32b254['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x191796(0x291),_0x32b254[_0x32b254[_0x191796(0x352)]=0x2af9]=_0x191796(0x352),_0x32b254[_0x32b254[_0x191796(0x25a)]=0x2ee1]=_0x191796(0x25a),_0x32b254[_0x32b254['INVALID_INVITE_CODE']=0x2ee2]=_0x191796(0x1c1),_0x32b254[_0x32b254[_0x191796(0x14a)]=0x2ee3]=_0x191796(0x14a),_0x32b254[_0x32b254[_0x191796(0x2e1)]=0x2ee4]=_0x191796(0x2e1),_0x32b254[_0x32b254[_0x191796(0x362)]=0x2ee5]=_0x191796(0x362),_0x32b254[_0x32b254[_0x191796(0x268)]=0x32c9]=_0x191796(0x268),_0x32b254[_0x32b254['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x191796(0x277),_0x32b254[_0x32b254['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x191796(0x2b0),_0x32b254[_0x32b254[_0x191796(0x3aa)]=-0x1]=_0x191796(0x3aa),_0x32b254))(_0x4bea21||{}),_0x3b08ed=Object[_0x191796(0x1e8)],_0x4e5a59=(_0x531bb4,_0x4bb4f9,_0x5ec27c,_0x1e45e0)=>{const _0x3089e0=_0x191796;for(var _0x21cb99=_0x1e45e0>0x1?void 0x0:_0x1e45e0?_0x3b08ed(_0x4bb4f9,_0x5ec27c):_0x4bb4f9,_0x3c6aa5=_0x531bb4[_0x3089e0(0x262)]-0x1,_0x550735;_0x3c6aa5>=0x0;_0x3c6aa5--)(_0x550735=_0x531bb4[_0x3c6aa5])&&(_0x21cb99=_0x550735(_0x21cb99)||_0x21cb99);return _0x21cb99;},_0x192eeb=(_0x130105,_0x26c0e5)=>(_0x4cec79,_0xc78f69)=>_0x26c0e5(_0x4cec79,_0xc78f69,_0x130105);_0x32312a['RemoteUniscriptService']=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x17bd8f,_0xb15615,_0x219380){const _0x480238=_0x191796;super(),this['_instanceService']=_0x17bd8f,this['_httpService']=_0xb15615,this[_0x480238(0x212)]=_0x219380;}async['runOnServer'](_0x3e6e11,_0xb9848d,_0x3a1051,..._0x2cd9e7){const _0x4a849d=_0x191796;var _0x17f668,_0x249e31,_0x5f1804,_0x47ee26;const _0x34e2d9=this[_0x4a849d(0x17a)][_0x4a849d(0x2fa)]();if(!_0x34e2d9)throw new Error(_0x4a849d(0x371));const _0x4dc7b1=((_0x17f668=this['_configService'][_0x4a849d(0x359)](_0x367c63[_0x4a849d(0x29c)]))!=null?_0x17f668:_0x367c63[_0x4a849d(0x369)])+'/'+_0x3e6e11+_0x4a849d(0x1f8)+_0xb9848d,_0x36794a=new URL(window[_0x4a849d(0x35f)][_0x4a849d(0x14d)]),_0x444007={'scriptId':_0x3e6e11,'runId':(_0x249e31=_0x36794a['searchParams'][_0x4a849d(0x364)](_0x4a849d(0x31e)))!=null?_0x249e31:'','function':_0xb9848d,'unitId':_0x34e2d9[_0x4a849d(0x1c5)](),'argsOfFunction':JSON[_0x4a849d(0x33b)](_0x2cd9e7),'invokeId':(_0x5f1804=_0x3a1051[_0x4a849d(0x343)])!=null?_0x5f1804:'','executionId':(_0x47ee26=_0x3a1051[_0x4a849d(0x29b)])!=null?_0x47ee26:''};try{const _0x543496=await this[_0x4a849d(0x385)][_0x4a849d(0x39f)](_0x4dc7b1,{'body':_0x444007});return _0x543496[_0x4a849d(0x19c)][_0x4a849d(0x2a8)]&&_0x543496[_0x4a849d(0x19c)][_0x4a849d(0x2a8)][_0x4a849d(0x2f8)]!==_0x4bea21['OK']?_0x4a849d(0x2ad):_0x543496[_0x4a849d(0x19c)][_0x4a849d(0x32f)];}catch{return'Failed';}}},_0x32312a[_0x191796(0x1c8)]=_0x4e5a59([_0x192eeb(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x192eeb(0x1,_0x58f6c8['Inject'](_0x53e9e6[_0x191796(0x3d1)])),_0x192eeb(0x2,_0x58f6c8['IConfigService'])],_0x32312a['RemoteUniscriptService']);const _0x55dfd7=0x7530,_0x5ba1e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x199c6b extends _0x58f6c8[_0x191796(0x384)]{constructor(){const _0x3ad280=_0x191796;super(),_0x27b740(this,'_id',_0x58f6c8['generateRandomId']()),_0x27b740(this,_0x3ad280(0x2a1),new Set()),_0x27b740(this,'_unitOnClients',new Map()),_0x27b740(this,'_heartbeatTimer',null),_0x27b740(this,'_clearOtherTimers',new Map()),_0x27b740(this,_0x3ad280(0x22e),new Map()),this[_0x3ad280(0x254)]();}[_0x191796(0x211)](){const _0x492b78=_0x191796;super['dispose'](),this[_0x492b78(0x264)][_0x492b78(0x238)]((_0x1ff5bc,_0x1ff4a5)=>this['_removeClearOtherTimer'](_0x1ff4a5)),this[_0x492b78(0x173)]&&window['clearInterval'](this[_0x492b78(0x173)]);}['getUnitStatus$'](_0x19094b){const _0x378df2=_0x191796;return this['_ensureSubject'](_0x19094b)[_0x378df2(0x31a)](_0x1578c2[_0x378df2(0x179)]());}['editingUnit'](_0x21c4cc){const _0x46a739=_0x191796;this[_0x46a739(0x2a1)][_0x46a739(0x2fe)]===0x0&&this['_scheduleHeartbeat'](),this[_0x46a739(0x2a1)][_0x46a739(0x273)](_0x21c4cc),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x21c4cc],'isForwarded':!0x1});}[_0x191796(0x2e2)](_0x100090){const _0x4e526a=_0x191796;this[_0x4e526a(0x2a1)]['delete'](_0x100090),this[_0x4e526a(0x2a1)]['size']===0x0&&this[_0x4e526a(0x173)]&&window[_0x4e526a(0x27a)](this['_heartbeatTimer']);}[_0x191796(0x254)](){const _0x2172ee=_0x191796;this[_0x2172ee(0x1dc)](_0x58f6c8[_0x2172ee(0x1df)](_0x1578c2[_0x2172ee(0x142)](window,_0x2172ee(0x187))[_0x2172ee(0x2a4)](_0x56a8eb=>{const _0x4a8092=_0x2172ee;if(_0x56a8eb[_0x4a8092(0x216)]!==_0x5ba1e4||!_0x56a8eb['newValue'])return;const _0x8b2862=JSON[_0x4a8092(0x301)](_0x56a8eb[_0x4a8092(0x2f1)]);this['_handleEvent'](_0x8b2862);}))),window[_0x2172ee(0x3c2)](_0x2172ee(0x17d),()=>this['_send']({'type':0x1,'memberID':this[_0x2172ee(0x386)],'unitIDs':Array['from'](this[_0x2172ee(0x2a1)])}));}[_0x191796(0x156)](_0x3eb005){const _0x44c035=_0x191796;switch(_0x3eb005[_0x44c035(0x199)]){case 0x0:this['_handleJoinEvent'](_0x3eb005);break;case 0x1:this[_0x44c035(0x309)](_0x3eb005);break;case 0x2:this[_0x44c035(0x145)](_0x3eb005);break;}}[_0x191796(0x1ca)](_0x15c5f2){const _0x1f45ab=_0x191796,{unitIDs:_0xd0efde,memberID:_0x531975,isForwarded:_0x5807c3}=_0x15c5f2;_0xd0efde['forEach'](_0x1a0b5d=>{const _0x15af0f=_0x106e;if(!_0x5807c3&&this[_0x15af0f(0x185)][_0x15af0f(0x1f3)](_0x1a0b5d)&&this[_0x15af0f(0x17b)](_0x1a0b5d)[_0x15af0f(0x39b)](_0x367c63[_0x15af0f(0x207)][_0x15af0f(0x23c)]),!this[_0x15af0f(0x185)][_0x15af0f(0x1f3)](_0x1a0b5d)||!this[_0x15af0f(0x185)][_0x15af0f(0x364)](_0x1a0b5d)[_0x15af0f(0x1f3)](_0x531975)){const _0x1574ab=this['_unitOnClients'][_0x15af0f(0x364)](_0x1a0b5d)||new Set();_0x1574ab[_0x15af0f(0x273)](_0x531975),this['_unitOnClients'][_0x15af0f(0x338)](_0x1a0b5d,_0x1574ab),this['_scheduleClearOtherTimer'](_0x531975);}}),_0x5807c3||this[_0x1f45ab(0x2fb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1f45ab(0x2a1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x454f95){const _0x574cf3=_0x191796;this['_removeClearOtherTimer'](_0x454f95);const _0x4b764a=window['setTimeout'](()=>{const _0x7a3eb9=_0x106e;this[_0x7a3eb9(0x185)][_0x7a3eb9(0x238)](_0x7cbf24=>{const _0x12c37f=_0x7a3eb9;_0x7cbf24[_0x12c37f(0x2b2)](_0x454f95);});},_0x55dfd7*0x2);this[_0x574cf3(0x264)][_0x574cf3(0x338)](_0x454f95,_0x4b764a);}[_0x191796(0x19b)](_0x1173f8){const _0x1c90e9=_0x191796;if(this['_clearOtherTimers'][_0x1c90e9(0x1f3)](_0x1173f8)){const _0x59c541=this[_0x1c90e9(0x264)][_0x1c90e9(0x364)](_0x1173f8);_0x59c541&&window[_0x1c90e9(0x296)](_0x59c541),this['_clearOtherTimers']['set'](_0x1173f8,null);}}[_0x191796(0x309)](_0x589716){const _0x42b856=_0x191796,{memberID:_0x432563,unitIDs:_0x23ee9a}=_0x589716;_0x23ee9a['forEach'](_0x879a1=>{const _0x2e4537=_0x106e;var _0x349d7f;const _0x33de75=this['_unitOnClients']['get'](_0x879a1);_0x33de75&&(_0x33de75[_0x2e4537(0x2b2)](_0x432563),(_0x349d7f=this[_0x2e4537(0x17b)](_0x879a1))==null||_0x349d7f[_0x2e4537(0x39b)](_0x33de75['size']===0x0?_0x367c63[_0x2e4537(0x207)][_0x2e4537(0x1ad)]:_0x367c63[_0x2e4537(0x207)]['OTHER_CLIENTS_EDITING']));}),this[_0x42b856(0x19b)](_0x432563);}[_0x191796(0x145)](_0x5e39a3){const _0xee3c64=_0x191796;this[_0xee3c64(0x3d5)](_0x5e39a3['memberID']);}[_0x191796(0x2fb)](_0x415dd8){const _0x355d5d=_0x191796;localStorage['setItem'](_0x5ba1e4,JSON[_0x355d5d(0x33b)](_0x415dd8));}[_0x191796(0x1c4)](){const _0x4bd1fb=_0x191796;this[_0x4bd1fb(0x173)]=window['setInterval'](()=>{const _0x3be077=_0x4bd1fb;this[_0x3be077(0x2fb)]({'type':0x2,'memberID':this[_0x3be077(0x386)]});},_0x55dfd7);}[_0x191796(0x17b)](_0x317017){const _0x4372c8=_0x191796;return this['_unitStatus']['has'](_0x317017)||this[_0x4372c8(0x22e)][_0x4372c8(0x338)](_0x317017,new _0x1578c2[(_0x4372c8(0x204))](_0x367c63[_0x4372c8(0x207)][_0x4372c8(0x1ad)])),this[_0x4372c8(0x22e)][_0x4372c8(0x364)](_0x317017);}}_0x32312a[_0x191796(0x347)]=_0x68c4f9,_0x32312a['SheetCollabCursorShape']=_0x1a6a3b,_0x32312a[_0x191796(0x248)]=_0x199c6b,_0x32312a['WebURLService']=_0x989686,Object[_0x191796(0x31d)](_0x32312a,Symbol[_0x191796(0x342)],{'value':'Module'});}));function _0x106e(_0x44bdae,_0xd050de){const _0x11b559=_0x11b5();return _0x106e=function(_0x106ec2,_0x3b13fe){_0x106ec2=_0x106ec2-0x13d;let _0x41293d=_0x11b559[_0x106ec2];return _0x41293d;},_0x106e(_0x44bdae,_0xd050de);}function _0x11b5(){const _0x1d121f=['_labelPosition','setUndoRedoMutationParamsCache','activeSheet$','createIdentifier','getVpScrollXYInfoByPosToVp','SOCKET_FAILED_RETRY','transformMutationsWithChangeset','length','function','_clearOtherTimers','jsx','onPointerMove$','_cursorInfo$','WECHAT_HAS_BEEN_BOUND','_shapes','SHEET_VIEWPORT_KEY','mutations','params','unitID','debug','source','getMergeData','SOCKET_FAILED','transformIMECache','add','prototype','VIEW_MAIN','syncEditingCollabCursor','MOBILE_HAS_BEEN_BOUND','SheetsSelectionsService','random','clearInterval','urlChange$','entries','764801snDivr','_transformHistoryAndStateStack','transformStateCache','transformMutation','COLORS','_getSheetObject','getViewport','toString','tag','map','CollaborationEvent','getUniverSheetInstance','CollaborationSocketService','_updateSubUnitFromURLParams','_handleHover','getSkeleton','all','@univerjs/engine-formula','string','setItem','YUUMI_CONNECTOR_URL_NOT_FOUND','collaboration-client-ui.config','PERMISSION_DENIED','icon','generateRandomId','clearTimeout','collab-client.tooltip.reconnect','setStateCache','closePath','hovered','executionId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','unit','init','_render','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_selfUnitIDs','5229356hSRvNC','_config','subscribe','isTransformMutationsWithChangesetSuccess','DocIMEInputManagerService','IRenderManagerService','error','13308ebBWcN','FromArray','cursorInfo$','_name','Failed','ENSURE_SNAPSHOT_EXECUTION','getColor','EMAIL_HAS_BEEN_BOUND','DocCollaborationEntity','delete','_colorIndex','_getSessionTicket','SUBMIT_CHANGESET_TIMEOUT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration.closeRoom','_setupBeforeClosingHandler','CollaborationController','text','OffLineIcon','_docTransformStateCacheService','getOffsetConfig','extend','history','operators','isActive','13831641nYBLZT','saveImage','currentTheme$','_removeCollabCursors','Error','xlink:href','@univerjs/sheets-ui','UniverEngineFormula','SetDocZoomRatioOperation','UniverInstanceType','serializeRangeWithSheet','PENDING','LocaleService','_startDocCollabCursor','_initStatusListener','_syncEditingCollabCursorService','getTypeOfUnitDisposed$','getDocRanges','debounce','addHandlerCallback','rgba(255,\x20255,\x20255,\x200.01)','_getScale','DataLoaderService','_initDependencies','dispose$','setConfig','Vector2','amd','font','translate(.97)','@univerjs-pro/collaboration','USER_NOT_INVITED_CODE','disposeUnit','registerRefRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheetId','LOGIN_FAILED','_refreshCollabCursors','fill','_docSkeleton','LOCAL_CACHE_INTERVAL_KEY','getCollabEntity$','_cachedData','_docSyncEditingCollabCursorService','fillRule','findNodePositionByCharIndex','handleMoveRange','newValue','getLocalCacheKey','Optional','_cursors','forwardRef','flatMap','IBeforeCloseService','code','_renderManagerService','getFocusedUnit','_send','current','on-line-icon_clip0_910_349','size','RegularPolygon','createElement','parse','UniverDesign','CollaborationSessionService','saveOfflineData','docStateChange$','INotificationService','jsxs','m1Prime','_handleLeaveEvent','IConfigService','IRemoteInstanceService','_updateLocalCursor','ITransformService','_drawRectRange','collab-text-range-','_hover','_logService','isArray','purple.300','APPLY_NON_SEQUENTIAL_REVISION','_initCommandExecutedListener','InsertRangeMoveRightCommandId','MUTATION','registerDependencies','row','pipe','YUUMI_ALL_TABLES_IS_INVALID','onCommandExecuted','defineProperty','runId','getCurrentUnitForType','hasOwnProperty','deserializeRangeWithSheet','makeDirty','setParam','getColorFromTheme','connectInjector','ILocalCacheService','arc','_docStateChangeManagerService','div','rxjs','_hideTimer','YUUMI_RATE_OVER_LIMIT','Warning','transform','result','Inject','ThemeService','green.600','UniverCollaborationClientUIPlugin','APPLY_PERMISSION_DENIED','handleInsertCol','subscribeEvent','skeleton','set','_onCursorUpdate','univerjs-icon\x20univerjs-icon-','stringify','DesktopCollaborationStatusDisplayController','_range','10NfzElf','isEditing','data','evenodd','toStringTag','invokeId','_messageService','http://www.w3.org/2000/svg','M0\x200H16V16H0z','IURLService','react','MemberService','APPLY_REJECT','reconnect','WebSocketService','exhaustSavingTask','_backgroundColor','status$','height','YUUMI_SUBSCRIPTION_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventService','_roomMembers$','UniverSheets','collab-text-anchor-','getActiveSheet','_hovered','getConfig','getOwnPropertySymbols','IDocClipboardService','UniverDrawing','UniverIcon','attrs','location','ISnapshotServerService','column','INVITE_CODE_ALREADY_BOUND','getMemberID','get','split','AWAITING_WITH_PENDING','InsertRowCommandId','restore','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IMessageService','_urlService','_docSkeletonManagerService','UniverCollaborationClientPlugin','getCurrentRevOfUnit','_localCacheService','MoveRangeCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','textRanges','_docTransformIMECacheService','asObservable','triggerDblclick','drawWith','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createSocket','_getMergeRange','_toggleOffline','clsx','7CIbpsR','permission.title','url(#$1','_entities','7667zXHFVb','useCallback','_disabled','Disposable','_httpService','_id','DisposableCollection','isTransformMutationFailure','_initResize','executeCommand','_updateURLWithCurrentState','roomMembers','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','_lastPointer','yellow.400','OFFLINE','5izZAGN','removeParam','_docClipboardService','@univerjs/docs-ui','UNIVER_DOC','USERS_LEAVE','_transformPreviousActiveRange','off-line-icon_clip0_910_343','colorChannel1','next','BrowserCollaborationSocketService','5763696SKVSYW','EffectRefRangId','post','filter','disableLocalCache','_beforeCloseService','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','_getSaveTimeout','UniverProCollaborationClient','selection','[CollaborationDataLoaderController]','_status$','pushState','UNRECOGNIZED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','throttleTime','transformRemoteChangeset','_initStatusComponent','Tooltip','registerComponent','getUndoRedoMutationParamsCache','addClipboardHook','_registerRenderDependencies','_colorAssignService','getParam','TEXT_RANGE_LAYER_INDEX','getCoordByCell','svg','UniverProCollaboration','ILocalStorageService','beginPath','then','getMember','registerBeforeClose','CollaborationUIEventId','onMouseMove','setActiveRange','addEventListener','_online','measureText','addObjects','CollaborationStatus','UNAUTHENTICATED','_getAnchorBounding','createInstance','onPointerEnter$','15854yjIUFg','apply','BuiltInUIPart','ticket','collabStatus.synced','collabCursorState$','HTTPService','SYNCED','OnLineIcon','_injector','_scheduleClearOtherTimer','getValue','318iEUYYc','currentSkeleton$','doc.mutation.rich-text-editing','mask','useRef','fromEvent','_dataLoaderService','UNIVER_SHEET','_handleHeartbeatEvent','@univerjs/network','YUUMI_AI_RUN_FAILED','DependentOn','round','INVITE_CODE_REQUIRED','_assignedColors','OTHER_CLIENT_EDITING','href','selections','@univerjs-pro/collaboration-client','CommandType','Unknown\x20user','top','collabStatus.conflict','4994416nPLSTc','YUUMI_NO_CUBOID_FOR_QUESTION','_handleEvent','getCurrent','show','onRendered','_revisionService','call','collabStatus.notCollab','APPLY_DUPLICATED','transformSelections','application/json','collab-rect-range-','MOBILE_VERIFY_CODE_MISMATCH','getSheetObject','1em','_collabSessionService','with','white','className','setShapeProps','DocSkeletonManagerService','_collaborationUIEventService','unshift','DOC_RANGE_TYPE','InsertColCommandId','DEFAULT_WS_SESSION_TICKET_URL','InsertRangeMoveDownCommandId','engine','0\x200\x2016\x2016','_commandService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','INTERNAL_ERROR','_initEvent','width','defIds','distinctUntilChanged','_instanceService','_ensureSubject','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','unload','collabStatus.offline','useObservable','_toggleOnline','_onCursorDelete','ONLINE','CollaborationDataLoaderController','sessionStatus$','_unitOnClients','_cursorShapes','storage','currentColor','UniverUi','_univerInstanceService','ranges','_drawAnchor','startColumn','event$','_transformUndoRedoStack','fillStyle','DocSelectionManagerService','subUnitId','includes','path','values','hide','SessionStatus','sessionTicket','type','_collabCursorController','_removeClearOtherTimer','body','blue.400','_themeService','_drawTextRange','handleInsertRangeMoveDown','ICommandService','RECT','getRenderById','focused$','_saveCache','getStateCache','@univerjs/sheets','_uiPartsService','from','MessageType','YUUMI_UNABLE_LOAD_URL','switchMap','NO_OTHER_CLIENTS_EDITING','_collaborationController','_memberService','idSuffix','popstate','trim','takeUntil','m2Prime','subunit','jiqing.500','startRow','eventID','_scheduleSaving','replace','COMPLETION_FINISHED','IUniverInstanceService','getAncestorScale','runRefRangeMutations','IUIPartsService','ISocketService','INVALID_INVITE_CODE','session.will-retry','push','_scheduleHeartbeat','getUnitId','Rect','_updateCollabCursors','RemoteUniscriptService','unsubscribe','_handleJoinEvent','Injector','registerRenderModule','deepClone','_localeService','UniverNetwork','saveTaskMap','debounceTime','on-line-icon','min','clipPath','CONNECTOR_DATA_TOO_LARGE','endColumn','UniverRpc','onPointerLeave$','getActiveRange','lineTo','_document','disposeWithMe','RxDisposable','RevisionService','toDisposable','none','entityInit$','AWAITING','name','exports','@univerjs/core','getRangePointData','UPDATE_CURSOR','getOwnPropertyDescriptor','displayName','_draw','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','find','getCollabCursors$','_scene','startsWith','SNAPSHOT_INVALID_SNAPSHOT','_onRefRangeChange','Workbook','has','unitId','YUUMI_ASYNCIO_CANCELLED','concat','_textBubble','/run/','_docTransformSelectionsService','getTypeOfUnitAdded$','INVALID_ARGUMENT','color','handleInsertRangeMoveRight','_session','TEXT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_notificationService','send','_startSheetCollabCursor','BehaviorSubject','updateOfflineData','labelPosition','UnitStatus','toRgbString','FETCH_MISS','_color','sheetID','collaboration.single-unit.warning','save','propertyIsEnumerable','_imageIoService','complete','dispose','_configService','_anchorDot','substring','backgroundColor','key','RichTextEditingMutation','_anchor','RemoveColCommandId','RemoveRowCommandId','getUnhiddenWorksheets','ILogService','range','_transformService','LICENSE_DISTRO_REJECTED','endRow','replaceState','Rectangle','black','combineLatest','rxjs/operators','bottom','requireSession','NodePositionConvertToRectRange','React','undoState','_setupSubUnitSync','_createSocketURL','_sheetSkeletonManagerService','_unitStatus','_eventUnsubscribe','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo','searchParams','EMAIL_VERIFY_CODE_MISMATCH','symbol','indexOf','children','forEach','fillText','...','Shape','OTHER_CLIENTS_EDITING','getSheetId','CONFLICT','_initEntityListener','_entityInit$','imageSourceType','merge','uni.network.url-service','_context','NOT_COLLAB','useDependency','getSheetBySheetId','WebBrowserSingleActiveUnitService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-flex\x20univer-items-center','getCurrentSelections','collaboration-client.offline-data-not-saved','0\x200\x2017\x2016','SetWorksheetActivateCommand','Tools','_saveTaskMap','addObject','UniverDocs','redoState','_init','APPLY_REVISION_CONFILICT','_localStorageService','loadOfflineData','_refRangeService','override','INVITE_CODE_HAS_BEEN_UES'];_0x11b5=function(){return _0x1d121f;};return _0x11b5();}