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

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 _0x3c2b(){const _0xbce73d=['apply','CONFLICT','children','330WQTUkq','row','_httpService','purple.300','AWAITING','_getAnchorBounding','isActive','unload','getCollabEntity$','endColumn','exhaustSavingTask','UniverEngineFormula','_instanceService','url(#off-line-icon_clip0_910_343)','RemoveRowCommandId','UniverCollaborationClientUIPlugin','ONLINE','currentColor','deserializeRangeWithSheet','getCurrentRevOfUnit','_updateLocalCursor','createInstance','_transformHistoryAndStateStack','_toggleOnline','UNAUTHENTICATED','jiqing.500','green.600','_ensureSubject','loadUnit','_initCommandExecutedListener','_renderManagerService','debug','CHANGESET_REVISION_CONFILICT','_config','getRenderById','getOwnPropertySymbols','_updateURLWithCurrentState','getRangePointData','RichTextEditingMutation','Inject','defIds','entityInit$','_render','_entities','PENDING','concat','_syncEditingCollabCursorService','LOGIN_FAILED','COLORS','min','_textBubble','handleInsertRow','RemoveColCommandId','WECHAT_HAS_BEEN_BOUND','_onCursorUpdate','_labelPosition','...','_registerRenderDependencies','transformSelections','idSuffix','location','_initDependencies','asObservable','getDocRanges','clearTimeout','UNDEFINED','_cachedData','RegularPolygon','history','_saveCache','_transformService','ICommandService','1em','_collabCursorController','dispose','_backgroundColor','rgba(255,\x20255,\x20255,\x200.01)','_name','source','LICENSE_DISTRO_REJECTED','@univerjs-pro/collaboration','ILocalCacheService','sessionTicket','YUUMI_CONNECTOR_URL_NOT_FOUND','_collabCursorState$','_docStateChangeManagerService','_localStorageService','set','error','transformMutationsWithChangeset','clearInterval','UPDATE_CURSOR','mapTo','range','setActiveRange','collab-client.tooltip.reconnect','UniverSheets','CollaborationSocketService','isArray','CommandType','forEach','DocSkeletonManagerService','react','_handleHover','getMemberID','createElement','fillText','_eventUnsubscribe','pluginName','_univerInstanceService','then','_createSocketURL','_selfUnitIDs','isTransformMutationFailure','_cursorInfo$','collaboration-client-ui.config','saveTaskMap','forwardRef','className','with','executionId','map','fill','setUndoRedoMutationParamsCache','executeCommand','off-line-icon_clip0_910_343','_dataLoaderService','InsertRangeMoveDownCommandId','addObject','_lastPointer','getSheetId','subscribeEvent','replaceDocRanges','COMPLETION_FINISHED','values','_urlService','getMember','stringify','Disposable','Optional','backgroundColor','_commandService','handleDeleteRangeMoveLeft','@univerjs/design','toDisposable','MessageType','UniverDocs','addEventListener','find','permission.title','connectInjector','SOCKET_FAILED_RETRY','IConfigService','xlink:href','BuiltInUIPart','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docSkeleton','mergeOverrideWithDependencies','_context','disableLocalCache','length','getCollabCursors$','_anchorDot','UniverDocsUi','getCoordByCell','max','lineTo','collabStatus.notCollab','onLocalMutation','collabCursorState$','white','addHandlerCallback','SessionStatus','_scheduleSaving','on-line-icon','getStateCache','_range','DataLoaderService','none','get','collabStatus.synced','INVITE_CODE_REQUIRED','EffectRefRangId','setItem','add','USERS_LEAVE','transformStateCache','saveImage','use','UniverCore','evenodd','yellow.400','UniverCollaborationClientPlugin','_drawAnchor','fillRule','transformByState','call','CollaborationDataLoaderController','debounce','getUndoRedoMutationParamsCache','_hovered','actions','unitId','setShapeProps','CollaborationStatus','CollaborationEvent','has','handleInsertCol','YUUMI_NO_CUBOID_FOR_QUESTION','hasOwnProperty','IRenderManagerService','urlChange$','DocIMEInputManagerService','div','APPLY_NON_SEQUENTIAL_REVISION','requireSession','ENSURE_SNAPSHOT_EXECUTION','_revisionService','[CollaborationDataLoaderController]','4geXZud','getItem','RECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverNetwork','_unitStatus','session.collaboration-timeout','_initStatusComponent','@univerjs/drawing','cursorInfo$','UniverInstanceType','text','_document','UNRECOGNIZED','serializeRangeWithSheet','IRemoteInstanceService','font','m1Prime','_docTransformSelectionsService','whenReady','_transformPreviousActiveRange','univer-flex\x20univer-items-center','transformRemoteChangeset','183162cdNtlm','fromEventSubject','application/json','attrs','getUnitStatus$','post','currentSkeleton$','ranges','unit','RemoteUniscriptService','collabStatus.syncing','_getSaveTimeout','UNIVER_DOC','DesktopCollaborationStatusDisplayController','SYNCED','UniverEngineRender','pipe','_collabSessionService','currentTheme$','push','@univerjs/docs-ui','70DsCWeY','debounceTime','Tools','DeleteRangeMoveLeftCommandId','colorChannel1','IImageIoService','CollaborationUIEventId','url(#$1','_registerDependencies','distinctUntilChanged','TRANSFORM_CHANGE_OBSERVABLE_TYPE','loadOfflineData','_notificationService','collab-rect-range-','setParam','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','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_configService','getSheetBySheetId','getCurrentUnitForType','Shape','DependentOn','defs','measureText','assignAColorForMemberID','href','2107104oGzrRS','ACTIVE_UNIT_EVENT_CHANNEL','_docSyncEditingCollabCursorService','_disabled','OffLineIcon','_onRefRangeChange','bottom','runId','_refreshCollabCursors','HTTPService','OTHER_CLIENT_EDITING','UniverProCollaboration','APPLY_PERMISSION_DENIED','unitID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getFocusedUnit','hovered','_clearOtherTimers','http://www.w3.org/2000/svg','fillStyle','RefRangeService','getCurrentSelections','handleDeleteRangeMoveUp','@univerjs/rpc','getColorFromTheme','enableLocalCache','_logService','getParam','_send','@univerjs/engine-render','YUUMI_RATE_OVER_LIMIT','startsWith','mask','_initStatusListener','Failed','YUUMI_UNABLE_LOAD_URL','prototype','_docSkeletonManagerService','docStateChange$','InsertRangeMoveRightCommandId','shareReplay','PERMISSION_DENIED','color','_colorIndex','Plugin','_colorAssignService','toString','_updateSubUnitFromURLParams','selections','handleIRemoveCol','session.connection-failed','_id','_cursorShapes','key','_initEntityListener','updateOfflineData','getLocalCacheKey','_shapes','_docClipboardService','redoState','NOT_FOUND','_handleJoinEvent','WebURLService','_removeClearOtherTimer','@univerjs/ui','_initEvent','indexOf','ISocketService','UniverSheetsUi','@univerjs-pro/collaboration-client','sheetID','rxjs/operators','registerBeforeClose','transformMutation','TEXT_RANGE_LAYER_INDEX','MOBILE_HAS_BEEN_BOUND','width','SHEET_VIEWPORT_KEY','getActiveSheet','params','_injector','_doCreateSocket','ALREADY_EXISTS','VIEW_MAIN','_handleEvent','UniverDrawing','subUnitId','_initResize','INTERNAL_ERROR','_sheetSkeletonManagerService','send','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_messageService','DeleteRangeMoveUpCommandId','_entityInit$','searchParams','_getMergeRange','_docTransformIMECacheService','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHeartbeatEvent','on-line-icon_clip0_910_349','textRanges','_hideTimer','707663UARBIp','BrowserCollaborationSocketService','transformIMECache','startColumn','getSkeleton','MoveRangeCommandId','collabStatus.fetchMiss','UNIVER_SHEET','registerRenderModule','registerDependencies','LOCAL_CACHE_INTERVAL_KEY','USER_NOT_INVITED_CODE','_roomMembers$','_collaborationController','getColor','setAlpha','_drawRectRange','mutations','APPLY_REJECT','SNAPSHOT_INVALID_SNAPSHOT','arc','CLOSE_ROOM','sessionStatus$','data','tag','init','APPLY_DUPLICATED','useDependency','TOO_MANY_REQUESTS','subunit','storage','MemberService','symbol','_memberService','Warning','UniverDesign','setInterval','IUIPartsService','_imageIoService','OTHER_CLIENTS_EDITING','deepClone','runRefRangeMutations','eventID','_localCacheService','reconnect','restore','MUTATION','SheetSkeletonManagerService','IDocClipboardService','status$','SNAPSHOT_HAS_BEEN_REMOVED','getAncestorScale','_color','unshift','split','beginPath','React','FETCH_MISS','OFFLINE','filter','RxDisposable','NodePositionConvertToCursor','createIdentifier','AWAITING_WITH_PENDING','@univerjs/engine-formula','size','_startSheetCollabCursor','transform','cursorInfo','random','from','@univerjs/core','Module','InsertColCommandId','off-line-icon','UniverRpc','roomMembers$','type','string','permission.content','NO_OTHER_CLIENTS_EDITING','_handleLeaveEvent','labelPosition','CollaborationSessionService','SetSelectionsOperation','contains','jsx','onPointerLeave$','replaceState','_online','_cursor','createSocket','SOCKET_FAILED','next','NOT_COLLAB','uni.network.url-service','roomMembers','black','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','closePath','_toggleOffline','getCellPositionByOffset','addObjects','328lahWfM','DOC_RANGE_TYPE','event$','Rect','DocSelectionManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','focused$','Unknown\x20user','name','#FFF','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_setupBeforeClosingHandler','IMessageService','Error','collab-text-range-','operators','trim','_status$','collaboration-client.offline-data-not-saved','_init','complete','1654137JghElx','search','getRelativeToViewportCoord','newValue','getOwnPropertyDescriptor','LICENSE_IMPORT_SIZE_EXCEEDED','_anchor','ISnapshotServerService','path','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','handleMoveRange','_getSheetObject','WebBrowserSingleActiveUnitService','runOnServer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FromArray','dispose$','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','hide','onTransformChange$','UniverIcon','pushState','switchMap','INVITE_CODE_ALREADY_BOUND','getUnitId','registerRefRange','_getSessionTicket','body','INVALID_INVITE_CODE','onCommandExecuted','popstate','UnitStatus','SetDocZoomRatioOperation','height','moveTo','RevisionService','_session','resize','380Dvnkoz','BehaviorSubject','top','UniverProCollaborationClientUi','_hover','_heartbeatTimer','_startDocCollabCursor','round','_collaborationUIEventService','_docTransformStateCacheService','YUUMI_ALL_TABLES_IS_INVALID','0\x200\x2017\x2016','ITransformService','origin','imageSourceType','_scheduleClearOtherTimer','startRow','svg','replace','3043779vdQGXd','_themeService','0\x200\x2016\x2016','react/jsx-runtime','M0\x200H16V16H0z','collaboration.single-unit.warning','getSheetObject','HEADER_MENU','handleInsertRangeMoveRight','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','delete','assign','INVITE_CODE_HAS_BEEN_UES','InsertRowCommandId','@univerjs/network','getConfig','entries','DocStateChangeManagerService','disposeWithMe','propertyIsEnumerable','_scene','CollaborationController','INVALID_ARGUMENT','ILogService','rxjs','collabStatus.offline','YUUMI_ASYNCIO_CANCELLED','generateRandomId','686700eUvzEZ','SetWorksheetActivateCommand','TEXT','onStarting','onPointerMove$','DEFAULT_WS_SESSION_TICKET_URL','_assignedColors','toRgbString','_updateCollabCursors','saveOfflineData','Rectangle','code','_setupSubUnitSync','combineLatest','session.will-retry','doc.mutation.rich-text-editing','includes','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTOR_DATA_TOO_LARGE','takeUntil','Injector','syncEditingCollabCursor','disposeUnit','_saveTaskMap','translate(.97)','_localeService','findNodePositionByCharIndex','onMouseMove','unsubscribe','ColorKit','YUUMI_AI_RUN_FAILED','_uiPartsService','_transformUndoRedoStack','getTypeOfUnitDisposed$','selection','activeSheet$','ThemeService','Vector2','_removeCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','IUniverInstanceService','icon','sheetId','_unitOnClients','subscribe','getValue','PY_RUNTIME_SCRIPT_ERROR','displayName','_refRangeService','handleInsertRangeMoveDown','drawWith','undoState','_onCursorDelete','MOBILE_VERIFY_CODE_MISMATCH','show','LocaleService','current','_drawTextRange','amd','SetTextSelectionsOperation','m2Prime','ILocalStorageService','fromEvent','registerComponent','_cursors'];_0x3c2b=function(){return _0xbce73d;};return _0x3c2b();}function _0xf3b4(_0xa30a48,_0x32c68d){const _0x3c2b82=_0x3c2b();return _0xf3b4=function(_0xf3b4c7,_0x2bef3e){_0xf3b4c7=_0xf3b4c7-0x68;let _0x2a828a=_0x3c2b82[_0xf3b4c7];return _0x2a828a;},_0xf3b4(_0xa30a48,_0x32c68d);}(function(_0x2283f8,_0x132767){const _0x164937=_0xf3b4,_0xc3e8db=_0x2283f8();while(!![]){try{const _0x41fbd5=parseInt(_0x164937(0x21c))/0x1*(parseInt(_0x164937(0x16c))/0x2)+-parseInt(_0x164937(0x1bc))/0x3*(parseInt(_0x164937(0x2f7))/0x4)+-parseInt(_0x164937(0x1d8))/0x5+-parseInt(_0x164937(0x6e))/0x6*(parseInt(_0x164937(0x83))/0x7)+-parseInt(_0x164937(0x9d))/0x8+-parseInt(_0x164937(0x181))/0x9+parseInt(_0x164937(0x1a9))/0xa*(parseInt(_0x164937(0x105))/0xb);if(_0x41fbd5===_0x132767)break;else _0xc3e8db['push'](_0xc3e8db['shift']());}catch(_0x1b6036){_0xc3e8db['push'](_0xc3e8db['shift']());}}}(_0x3c2b,0x911d6),function(_0x646924,_0x254e38){const _0x4ee407=_0xf3b4;typeof exports=='object'&&typeof module<'u'?_0x254e38(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x4ee407(0x212)]?define(['exports',_0x4ee407(0x1bf),_0x4ee407(0xe2),_0x4ee407(0x14c),_0x4ee407(0xdd),_0x4ee407(0x1d4),_0x4ee407(0x2ab),_0x4ee407(0x282),_0x4ee407(0xb4),'@univerjs/sheets',_0x4ee407(0xba),_0x4ee407(0x1ca),_0x4ee407(0x82),_0x4ee407(0x2ff),_0x4ee407(0x26c),'@univerjs/docs',_0x4ee407(0x145),_0x4ee407(0xe4),'@univerjs/sheets-ui'],_0x254e38):(_0x646924=typeof globalThis<'u'?globalThis:_0x646924||self,_0x254e38(_0x646924[_0x4ee407(0x1ac)]={},_0x646924[_0x4ee407(0x13d)],_0x646924['UniverProCollaborationClient'],_0x646924[_0x4ee407(0x2d9)],_0x646924['UniverUi'],_0x646924[_0x4ee407(0x1d4)],_0x646924[_0x4ee407(0x128)],_0x646924[_0x4ee407(0x13d)],_0x646924[_0x4ee407(0x150)],_0x646924[_0x4ee407(0x27c)],_0x646924[_0x4ee407(0x7d)],_0x646924[_0x4ee407(0x2fb)],_0x646924[_0x4ee407(0x2bf)],_0x646924[_0x4ee407(0xf2)],_0x646924[_0x4ee407(0xa8)],_0x646924[_0x4ee407(0x2ae)],_0x646924[_0x4ee407(0x227)],_0x646924[_0x4ee407(0x1d4)][_0x4ee407(0x17b)],_0x646924[_0x4ee407(0xe1)]));}(this,function(_0x36f152,_0x151287,_0x381b64,_0x40cffd,_0xce7937,_0x54e142,_0x53251d,_0x1ee406,_0x45fc08,_0x20769f,_0x1959b6,_0x54ac98,_0x2d3f57,_0xc6bb5d,_0x2146ab,_0x3bcff7,_0xc9e6b5,_0x2d50e0,_0x3acab1){'use strict';const _0x30a38d=_0xf3b4;var _0x1b8358=Object['defineProperty'],_0x21178d=(_0x13740e,_0x235dcd,_0x4d2675)=>_0x235dcd in _0x13740e?_0x1b8358(_0x13740e,_0x235dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2675}):_0x13740e[_0x235dcd]=_0x4d2675,_0x2f0bfd=(_0x162d3d,_0x5ec53b,_0x1da523)=>_0x21178d(_0x162d3d,typeof _0x5ec53b!=_0x30a38d(0x125)?_0x5ec53b+'':_0x5ec53b,_0x1da523),_0x238850=function(){const _0x27cb8b=_0x30a38d;return _0x238850=Object[_0x27cb8b(0x1c7)]||function(_0xa3c27e){const _0x5885df=_0x27cb8b;for(var _0x120ee8,_0x32d564=0x1,_0x3a4dfc=arguments[_0x5885df(0x2bc)];_0x32d564<_0x3a4dfc;_0x32d564++){_0x120ee8=arguments[_0x32d564];for(var _0x5e1fb4 in _0x120ee8)Object[_0x5885df(0xc1)]['hasOwnProperty'][_0x5885df(0x2e0)](_0x120ee8,_0x5e1fb4)&&(_0xa3c27e[_0x5e1fb4]=_0x120ee8[_0x5e1fb4]);}return _0xa3c27e;},_0x238850[_0x27cb8b(0x219)](this,arguments);},_0x539f53=function(_0x23e0ee,_0x470a62){const _0x35f831=_0x30a38d;var _0x2e4dab={};for(var _0x1cbc0c in _0x23e0ee)Object['prototype'][_0x35f831(0x2ed)]['call'](_0x23e0ee,_0x1cbc0c)&&_0x470a62[_0x35f831(0xdf)](_0x1cbc0c)<0x0&&(_0x2e4dab[_0x1cbc0c]=_0x23e0ee[_0x1cbc0c]);if(_0x23e0ee!=null&&typeof Object[_0x35f831(0x23f)]=='function'){for(var _0x4ea441=0x0,_0x1cbc0c=Object[_0x35f831(0x23f)](_0x23e0ee);_0x4ea441<_0x1cbc0c['length'];_0x4ea441++)_0x470a62[_0x35f831(0xdf)](_0x1cbc0c[_0x4ea441])<0x0&&Object[_0x35f831(0xc1)][_0x35f831(0x1cf)][_0x35f831(0x2e0)](_0x23e0ee,_0x1cbc0c[_0x4ea441])&&(_0x2e4dab[_0x1cbc0c[_0x4ea441]]=_0x23e0ee[_0x1cbc0c[_0x4ea441]]);}return _0x2e4dab;},_0x43ed63=_0x1ee406['forwardRef'](function(_0x1070e5,_0xe13fa9){const _0x32afcb=_0x30a38d;var _0x261c26=_0x1070e5[_0x32afcb(0x201)],_0x59eb16=_0x1070e5['id'],_0x5abfce=_0x1070e5[_0x32afcb(0x292)],_0x2462b7=_0x1070e5['extend'],_0x2284ce=_0x539f53(_0x1070e5,['icon','id','className','extend']),_0x594670='univerjs-icon\x20univerjs-icon-'[_0x32afcb(0x249)](_0x59eb16,'\x20')[_0x32afcb(0x249)](_0x5abfce||'')[_0x32afcb(0x17c)](),_0x162094=_0x1ee406['useRef']('_'[_0x32afcb(0x249)](_0x449d9f()));return _0x14542b(_0x261c26,''[_0x32afcb(0x249)](_0x59eb16),{'defIds':_0x261c26[_0x32afcb(0x244)],'idSuffix':_0x162094[_0x32afcb(0x210)]},_0x238850({'ref':_0xe13fa9,'className':_0x594670},_0x2284ce),_0x2462b7);});function _0x14542b(_0x514a6c,_0xbd6791,_0x532dea,_0x465bbf,_0x599b28){const _0x293453=_0x30a38d;return _0x1ee406[_0x293453(0x285)](_0x514a6c[_0x293453(0x11d)],_0x238850(_0x238850({'key':_0xbd6791},_0x2ff1f5(_0x514a6c,_0x532dea,_0x599b28)),_0x465bbf),(_0x105df3(_0x514a6c,_0x532dea)[_0x293453(0x21b)]||[])[_0x293453(0x295)](function(_0x2535bd,_0xa91d8c){const _0x4cbeb1=_0x293453;return _0x14542b(_0x2535bd,''[_0x4cbeb1(0x249)](_0xbd6791,'-')[_0x4cbeb1(0x249)](_0x514a6c[_0x4cbeb1(0x11d)],'-')['concat'](_0xa91d8c),_0x532dea,void 0x0,_0x599b28);}));}function _0x2ff1f5(_0x108684,_0x168bc2,_0x1f44ec){const _0x41a681=_0x30a38d;var _0xd1ca7d=_0x238850({},_0x108684[_0x41a681(0x71)]);_0x1f44ec!=null&&_0x1f44ec['colorChannel1']&&_0xd1ca7d['fill']===_0x41a681(0x87)&&(_0xd1ca7d[_0x41a681(0x296)]=_0x1f44ec[_0x41a681(0x87)]),_0x108684[_0x41a681(0x11d)]===_0x41a681(0xbd)&&_0xd1ca7d['id']&&(_0xd1ca7d['id']=_0xd1ca7d['id']+_0x168bc2[_0x41a681(0x257)]),Object[_0x41a681(0x1cc)](_0xd1ca7d)[_0x41a681(0x280)](function(_0xd5f52d){const _0x5a6d26=_0x41a681;var _0x5c3fd5=_0xd5f52d[0x0],_0x20fadd=_0xd5f52d[0x1];_0x5c3fd5==='mask'&&typeof _0x20fadd=='string'&&(_0xd1ca7d[_0x5c3fd5]=_0x20fadd[_0x5a6d26(0x1bb)](/url\(#(.*)\)/,'url(#$1'[_0x5a6d26(0x249)](_0x168bc2[_0x5a6d26(0x257)],')')));});var _0x44776a=_0x168bc2[_0x41a681(0x244)];return!_0x44776a||_0x44776a['length']===0x0||(_0x108684[_0x41a681(0x11d)]===_0x41a681(0x2d8)&&_0xd1ca7d[_0x41a681(0x2b5)]&&(_0xd1ca7d['xlink:href']=_0xd1ca7d['xlink:href']+_0x168bc2[_0x41a681(0x257)]),Object[_0x41a681(0x1cc)](_0xd1ca7d)['forEach'](function(_0x4413d4){const _0x255e84=_0x41a681;var _0x5082ce=_0x4413d4[0x0],_0x1ce0f2=_0x4413d4[0x1];typeof _0x1ce0f2==_0x255e84(0x153)&&(_0xd1ca7d[_0x5082ce]=_0x1ce0f2[_0x255e84(0x1bb)](/url\(#(.*)\)/,_0x255e84(0x8a)[_0x255e84(0x249)](_0x168bc2[_0x255e84(0x257)],')')));})),_0xd1ca7d;}function _0x105df3(_0x58517a,_0x3c9094){const _0x1091e5=_0x30a38d;var _0x405681,_0x5a0980=_0x3c9094[_0x1091e5(0x244)];return!_0x5a0980||_0x5a0980['length']===0x0?_0x58517a:_0x58517a[_0x1091e5(0x11d)]===_0x1091e5(0x99)&&(!((_0x405681=_0x58517a[_0x1091e5(0x21b)])===null||_0x405681===void 0x0)&&_0x405681[_0x1091e5(0x2bc)])?_0x238850(_0x238850({},_0x58517a),{'children':_0x58517a['children'][_0x1091e5(0x295)](function(_0x5e6b0b){const _0x3d701d=_0x1091e5;return typeof _0x5e6b0b[_0x3d701d(0x71)]['id']==_0x3d701d(0x153)&&_0x5a0980&&_0x5a0980[_0x3d701d(0x1e8)](_0x5e6b0b[_0x3d701d(0x71)]['id'])?_0x238850(_0x238850({},_0x5e6b0b),{'attrs':_0x238850(_0x238850({},_0x5e6b0b[_0x3d701d(0x71)]),{'id':_0x5e6b0b[_0x3d701d(0x71)]['id']+_0x3c9094[_0x3d701d(0x257)]})}):_0x5e6b0b;})}):_0x58517a;}function _0x449d9f(){const _0x3bad66=_0x30a38d;return Math[_0x3bad66(0x14a)]()[_0x3bad66(0xcb)](0x24)['substring'](0x2,0x8);}_0x43ed63[_0x30a38d(0x207)]=_0x30a38d(0x197);var _0x2d8fb2={'tag':'svg','attrs':{'xmlns':_0x30a38d(0xaf),'fill':_0x30a38d(0x2ce),'viewBox':_0x30a38d(0x1be),'width':_0x30a38d(0x264),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30a38d(0x229)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'stroke':_0x30a38d(0x22d),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30a38d(0x99),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x30a38d(0x299)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'fill':_0x30a38d(0x2c6),'d':_0x30a38d(0x1c0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1b9423=_0x1ee406[_0x30a38d(0x291)](function(_0x30e223,_0xd190d7){const _0x358a85=_0x30a38d;return _0x1ee406[_0x358a85(0x285)](_0x43ed63,Object[_0x358a85(0x1c7)]({},_0x30e223,{'id':_0x358a85(0x14f),'ref':_0xd190d7,'icon':_0x2d8fb2}));});_0x1b9423[_0x30a38d(0x207)]=_0x30a38d(0xa1);var _0x5063a7={'tag':_0x30a38d(0x1ba),'attrs':{'xmlns':_0x30a38d(0xaf),'fill':_0x30a38d(0x2ce),'viewBox':_0x30a38d(0x1b4),'width':_0x30a38d(0x264),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x30a38d(0x22d),'d':_0x30a38d(0x92),'strokeLinecap':_0x30a38d(0x1b0),'strokeLinejoin':_0x30a38d(0x1b0),'strokeWidth':1.2}}]},{'tag':_0x30a38d(0x99),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x30a38d(0x102)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'fill':_0x30a38d(0x2c6),'d':_0x30a38d(0x1c0),'transform':_0x30a38d(0x1f0)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x399f8b=_0x1ee406['forwardRef'](function(_0x3d2494,_0x49b907){const _0x2cc248=_0x30a38d;return _0x1ee406[_0x2cc248(0x285)](_0x43ed63,Object[_0x2cc248(0x1c7)]({},_0x3d2494,{'id':_0x2cc248(0x2ca),'ref':_0x49b907,'icon':_0x5063a7}));});_0x399f8b[_0x30a38d(0x207)]='OnLineIcon';function _0x2166d4(_0x4fc6a8){const _0x4ae3e2=_0x30a38d;switch(_0x4fc6a8){case _0x381b64['CollaborationStatus'][_0x4ae3e2(0x13f)]:return _0x4ae3e2(0x1d5);case _0x381b64['CollaborationStatus'][_0x4ae3e2(0x21a)]:return'collabStatus.conflict';case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x13e)]:return _0x4ae3e2(0x10b);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x163)]:return _0x4ae3e2(0x2c3);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x220)]:case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x144)]:return _0x4ae3e2(0x78);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x7c)]:case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x248)]:return _0x4ae3e2(0x2d0);}}function _0x19bc69(_0x2eef92){const _0x1f8e3a=_0x30a38d,{status$:_0x5121cb}=_0x2eef92,_0x43ed35=_0xce7937['useObservable'](_0x5121cb,_0x381b64['CollaborationStatus'][_0x1f8e3a(0x163)]),_0x610b9a=_0xce7937[_0x1f8e3a(0x120)](_0x40cffd['LocaleService']),_0x403852=_0xce7937[_0x1f8e3a(0x120)](_0x381b64[_0x1f8e3a(0x158)]),_0x48c814=_0x43ed35!==_0x381b64[_0x1f8e3a(0x2e8)][_0x1f8e3a(0x13f)],_0x2e1402=_0x610b9a['t'](_0x2166d4(_0x43ed35)),_0x44aad8=_0x48c814?_0x151287[_0x1f8e3a(0x15b)](_0x399f8b,{}):_0x151287[_0x1f8e3a(0x15b)](_0x1b9423,{}),_0x2873e1=_0x1ee406['useCallback'](()=>{const _0x148053=_0x1f8e3a;_0x48c814||_0x403852[_0x148053(0x131)]();},[_0x48c814,_0x403852]);function _0x2ca48c(){const _0x3c571b=_0x1f8e3a;return _0x151287['jsxs'](_0x3c571b(0x2f1),{'className':_0x3c571b(0x6c),'onClick':_0x2873e1,'children':[_0x151287[_0x3c571b(0x15b)](_0x3c571b(0x2f1),{'className':_0x53251d['clsx'](_0x3c571b(0x171),{'univer-text-green-500':_0x48c814,'univer-text-red-500':!_0x48c814}),'children':_0x44aad8}),_0x151287['jsx'](_0x3c571b(0x2f1),{'className':_0x3c571b(0x1e9),'children':_0x2e1402})]});}return _0x48c814?_0x2ca48c():_0x151287[_0x1f8e3a(0x15b)](_0x53251d['Tooltip'],{'title':_0x610b9a['t'](_0x1f8e3a(0x27b)),'children':_0x2ca48c()});}var _0x44f0b8=Object[_0x30a38d(0x185)],_0x4264bf=(_0x49d360,_0x53a136,_0x262a1d,_0x310f3a)=>{const _0x3f5aa6=_0x30a38d;for(var _0x5e7aeb=_0x310f3a>0x1?void 0x0:_0x310f3a?_0x44f0b8(_0x53a136,_0x262a1d):_0x53a136,_0x2c67ee=_0x49d360[_0x3f5aa6(0x2bc)]-0x1,_0x27239f;_0x2c67ee>=0x0;_0x2c67ee--)(_0x27239f=_0x49d360[_0x2c67ee])&&(_0x5e7aeb=_0x27239f(_0x5e7aeb)||_0x5e7aeb);return _0x5e7aeb;},_0x1ed875=(_0x539511,_0x3943c7)=>(_0x4d7b88,_0x4572e4)=>_0x3943c7(_0x4d7b88,_0x4572e4,_0x539511);_0x36f152['DesktopCollaborationStatusDisplayController']=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x5e7d49,_0xce105a,_0x495757,_0x5c9a07){const _0x22f458=_0x30a38d;super(),_0x2f0bfd(this,_0x22f458(0x17d),new _0x54e142['BehaviorSubject'](_0x381b64[_0x22f458(0x2e8)][_0x22f458(0x163)])),(this[_0x22f458(0x289)]=_0x5e7d49,this[_0x22f458(0xed)]=_0xce105a,this[_0x22f458(0x112)]=_0x495757,this[_0x22f458(0x1f7)]=_0x5c9a07,this[_0x22f458(0x2fe)](),this[_0x22f458(0xbe)]());}['_initStatusListener'](){const _0x5d11d2=_0x30a38d;this[_0x5d11d2(0x1ce)](this[_0x5d11d2(0x289)][_0x5d11d2(0x172)][_0x5d11d2(0x7e)](_0x54e142['switchMap'](()=>{const _0x4097ed=_0x5d11d2,_0x1098f7=this[_0x4097ed(0x289)]['getFocusedUnit']();return _0x1098f7?this['_collaborationController'][_0x4097ed(0x224)](_0x1098f7[_0x4097ed(0x19b)]()):_0x54e142['of'](null);}),_0x54e142[_0x5d11d2(0x199)](_0x57536a=>_0x57536a?_0x57536a[_0x5d11d2(0x136)]:_0x54e142['of'](_0x381b64['CollaborationStatus']['NOT_COLLAB'])))[_0x5d11d2(0x204)](_0x214374=>{const _0x685cce=_0x5d11d2;this[_0x685cce(0x17d)][_0x685cce(0x162)](_0x214374);}));}[_0x30a38d(0x2fe)](){const _0x1460e3=_0x30a38d;this[_0x1460e3(0x1ce)](this['_uiPartsService'][_0x1460e3(0x217)](_0xce7937[_0x1460e3(0x2b6)][_0x1460e3(0x1c3)],()=>_0xce7937[_0x1460e3(0x2b2)](_0x524faa({'status$':this[_0x1460e3(0x17d)][_0x1460e3(0x25a)]()}),this[_0x1460e3(0xed)])));}},_0x36f152[_0x30a38d(0x7b)]=_0x4264bf([_0x1ed875(0x0,_0x40cffd[_0x30a38d(0x200)]),_0x1ed875(0x1,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x1ed875(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64[_0x30a38d(0x1d1)])),_0x1ed875(0x3,_0xce7937[_0x30a38d(0x12a)])],_0x36f152['DesktopCollaborationStatusDisplayController']);function _0x524faa(_0x5592ed){const {status$:_0x2646ba}=_0x5592ed;return function(){const _0xb5631a=_0xf3b4;return _0x151287[_0xb5631a(0x15b)](_0x19bc69,{'status$':_0x2646ba});};}const _0x3040d7=_0x40cffd[_0x30a38d(0x143)](_0x30a38d(0x164));var _0x49d950=Object[_0x30a38d(0x185)],_0x1540b7=(_0x5dca61,_0x346f9c,_0x4d4e3a,_0x350634)=>{const _0x50622f=_0x30a38d;for(var _0x301383=_0x350634>0x1?void 0x0:_0x350634?_0x49d950(_0x346f9c,_0x4d4e3a):_0x346f9c,_0x44a5bc=_0x5dca61[_0x50622f(0x2bc)]-0x1,_0x510e7c;_0x44a5bc>=0x0;_0x44a5bc--)(_0x510e7c=_0x5dca61[_0x44a5bc])&&(_0x301383=_0x510e7c(_0x301383)||_0x301383);return _0x301383;},_0x5d9450=(_0x1e8843,_0x15dc06)=>(_0x5327b7,_0x45b84f)=>_0x15dc06(_0x5327b7,_0x45b84f,_0x1e8843);_0x36f152[_0x30a38d(0x2e1)]=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x1baaf8,_0x5b3a47,_0x5e39ac,_0x7fc330,_0x50a868){const _0x2cc98c=_0x30a38d;super(),this[_0x2cc98c(0x2a3)]=_0x1baaf8,this[_0x2cc98c(0xb7)]=_0x5b3a47,this['_commandService']=_0x5e39ac,this['_dataLoaderService']=_0x7fc330,_0x50a868?_0x50a868==null||_0x50a868[_0x2cc98c(0x6a)]()[_0x2cc98c(0x28a)](()=>this[_0x2cc98c(0x17f)]()):(this[_0x2cc98c(0xb7)][_0x2cc98c(0x23b)](_0x2cc98c(0x2f6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2cc98c(0x17f)]());}async[_0x30a38d(0x17f)](){const _0x49ea8c=_0x30a38d,_0x406f6b=this[_0x49ea8c(0x2a3)][_0x49ea8c(0xb8)](_0x49ea8c(0x76)),_0x5560b4=this[_0x49ea8c(0x2a3)][_0x49ea8c(0xb8)](_0x49ea8c(0x152)),_0xd57d12=this['_urlService'][_0x49ea8c(0xb8)](_0x49ea8c(0x122));if(!_0x406f6b||!_0x5560b4){this[_0x49ea8c(0xb7)][_0x49ea8c(0x23b)](_0x49ea8c(0x2f6),_0x49ea8c(0xab));return;}const _0x14785d=await this[_0x49ea8c(0x29a)][_0x49ea8c(0x238)](_0x406f6b,Number(_0x5560b4),_0xd57d12);_0x14785d&&_0x14785d instanceof _0x40cffd['Workbook']&&this['_setupSubUnitSync'](_0x14785d);}async[_0x30a38d(0x1e4)](_0x29e17a){const _0x206d7a=_0x30a38d;await this[_0x206d7a(0xcc)](_0x29e17a),_0x29e17a[_0x206d7a(0x1fb)][_0x206d7a(0x7e)](_0x54e142[_0x206d7a(0x1eb)](this[_0x206d7a(0x192)]))[_0x206d7a(0x204)](_0x2f3fb9=>{_0x2f3fb9&&this['_updateURLWithCurrentState'](_0x2f3fb9);}),this[_0x206d7a(0x2a3)]['urlChange$']['pipe'](_0x54e142['takeUntil'](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x29e17a));}['_updateURLWithCurrentState'](_0x25a591,_0x325ead=!0x1){const _0x5d82b8=_0x30a38d,_0x2e7388=this[_0x5d82b8(0x2a3)]['getParam']('subunit');_0x25a591['getSheetId']()!==_0x2e7388&&this[_0x5d82b8(0x2a3)][_0x5d82b8(0x91)](_0x5d82b8(0x122),_0x25a591[_0x5d82b8(0x29e)](),_0x325ead);}async[_0x30a38d(0xcc)](_0x240fc2){const _0x47fd00=_0x30a38d;var _0x39284c;const _0x3cb9a7=this[_0x47fd00(0x2a3)][_0x47fd00(0xb8)](_0x47fd00(0x122));if(!_0x3cb9a7||!_0x240fc2[_0x47fd00(0x95)](_0x3cb9a7)){const _0x10aec0=_0x240fc2['getUnhiddenWorksheets']()[0x0],_0x5af9ca=_0x240fc2[_0x47fd00(0x95)](_0x10aec0);if(!_0x5af9ca)return;this[_0x47fd00(0x240)](_0x5af9ca,!0x0),await this['_commandService'][_0x47fd00(0x298)](_0x20769f['SetWorksheetActivateCommand']['id'],{'unitId':_0x240fc2[_0x47fd00(0x19b)](),'subUnitId':_0x10aec0});return;}((_0x39284c=_0x240fc2[_0x47fd00(0xeb)]())==null?void 0x0:_0x39284c[_0x47fd00(0x29e)]())!==_0x3cb9a7&&await this[_0x47fd00(0x2a9)][_0x47fd00(0x298)](_0x20769f[_0x47fd00(0x1d9)]['id'],{'unitId':_0x240fc2[_0x47fd00(0x19b)](),'subUnitId':_0x3cb9a7});}},_0x36f152[_0x30a38d(0x2e1)]=_0x1540b7([_0x5d9450(0x0,_0x3040d7),_0x5d9450(0x1,_0x40cffd['ILogService']),_0x5d9450(0x2,_0x40cffd[_0x30a38d(0x263)]),_0x5d9450(0x3,_0x40cffd[_0x30a38d(0x243)](_0x381b64[_0x30a38d(0x2cd)])),_0x5d9450(0x4,_0x40cffd[_0x30a38d(0x2a7)](_0x45fc08[_0x30a38d(0x306)]))],_0x36f152[_0x30a38d(0x2e1)]);var _0xe1758d=Object[_0x30a38d(0x185)],_0x20b6c3=(_0x1ae596,_0x2ca8ca,_0x147281,_0x136ec2)=>{for(var _0x101ca8=_0x136ec2>0x1?void 0x0:_0x136ec2?_0xe1758d(_0x2ca8ca,_0x147281):_0x2ca8ca,_0x44d53b=_0x1ae596['length']-0x1,_0x5c3cf6;_0x44d53b>=0x0;_0x44d53b--)(_0x5c3cf6=_0x1ae596[_0x44d53b])&&(_0x101ca8=_0x5c3cf6(_0x101ca8)||_0x101ca8);return _0x101ca8;},_0x20e1be=(_0x3076c2,_0x1d9efc)=>(_0x41db5c,_0x1951b1)=>_0x1d9efc(_0x41db5c,_0x1951b1,_0x3076c2);let _0x252d3c=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x2ba572,_0x494d4a){const _0x29f90f=_0x30a38d;super(),this[_0x29f90f(0xd7)]=_0x2ba572,this[_0x29f90f(0x12b)]=_0x494d4a,this[_0x29f90f(0x17f)]();}[_0x30a38d(0x17f)](){const _0x474ce2=_0x30a38d,_0x5db837=this;this[_0x474ce2(0x1ce)](this[_0x474ce2(0xd7)]['addClipboardHook']({'onBeforePasteImage':async _0x72ea11=>{const _0x1211e9=_0x474ce2,_0x3ca10c=await _0x5db837[_0x1211e9(0x12b)][_0x1211e9(0x2d7)](_0x72ea11);return _0x3ca10c?{'source':_0x3ca10c[_0x1211e9(0x26a)],'imageSourceType':_0x3ca10c[_0x1211e9(0x1b7)]}:null;}}));}};_0x252d3c=_0x20b6c3([_0x20e1be(0x0,_0x2d3f57[_0x30a38d(0x135)]),_0x20e1be(0x1,_0xc6bb5d[_0x30a38d(0x88)])],_0x252d3c);const _0x370ee6=[_0x30a38d(0x21f),_0x30a38d(0x235),_0x30a38d(0x236),'red.300','blue.400',_0x30a38d(0x2db)];class _0x3070d8 extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(){const _0x104d47=_0x30a38d;super(...arguments),_0x2f0bfd(this,_0x104d47(0x1de),new Map()),_0x2f0bfd(this,'_colorIndex',0x0);}[_0x30a38d(0x9b)](_0x172a57){const _0x55a1b3=_0x30a38d;if(this['_assignedColors'][_0x55a1b3(0x2ea)](_0x172a57))return this[_0x55a1b3(0x1de)][_0x55a1b3(0x2cf)](_0x172a57);const _0x10a2bc=_0x370ee6[this['_colorIndex']];return this[_0x55a1b3(0xc8)]=(this[_0x55a1b3(0xc8)]+0x1)%_0x370ee6[_0x55a1b3(0x2bc)],this[_0x55a1b3(0x1de)][_0x55a1b3(0x273)](_0x172a57,_0x10a2bc),_0x10a2bc;}}function _0x129e02(_0x161663){const _0x944ede=_0x30a38d;let _0x17a643='';for(const _0x1a69c3 of _0x161663){const {startOffset:_0x25f967,endOffset:_0x3068ef,isActive:_0x2091ec,rangeType:_0x37c8ad,segmentId:_0x2ac02c,segmentPage:_0x3b0e9e}=_0x1a69c3;_0x17a643[_0x944ede(0x2bc)]&&(_0x17a643+=','),_0x17a643+=_0x25f967+':'+_0x3068ef+':'+(_0x2091ec?'1':'0')+':'+_0x37c8ad+':'+_0x2ac02c+':'+_0x3b0e9e;}return _0x17a643;}function _0x49b436(_0x5797ba){const _0x333e4b=_0x30a38d,_0x5e4e9d=_0x5797ba[_0x333e4b(0x13b)](','),_0x1d1900=[];for(const _0x107d06 of _0x5e4e9d){const [_0x171e7e,_0x7ab467,_0x50a82a,_0x17318e,_0x1bd164,_0x3f9745]=_0x107d06[_0x333e4b(0x13b)](':');_0x1d1900[_0x333e4b(0x81)]({'startOffset':Number(_0x171e7e),'endOffset':Number(_0x7ab467),'collapsed':_0x171e7e===_0x7ab467,'isActive':_0x50a82a==='1','rangeType':_0x17318e===_0x40cffd[_0x333e4b(0x16d)]['TEXT']?_0x40cffd[_0x333e4b(0x16d)][_0x333e4b(0x1da)]:_0x40cffd[_0x333e4b(0x16d)][_0x333e4b(0x2f9)],'segmentId':typeof _0x1bd164==_0x333e4b(0x153)?String(_0x1bd164):'','segmentPage':Number(_0x3f9745!=null?_0x3f9745:-0x1)});}return _0x1d1900['some'](_0x41f42f=>_0x41f42f[_0x333e4b(0x222)])||(_0x1d1900[0x0][_0x333e4b(0x222)]=!0x0),_0x1d1900;}class _0x317e7c extends _0x40cffd['RxDisposable']{constructor(){const _0xe63c0e=_0x30a38d;super(...arguments),_0x2f0bfd(this,_0xe63c0e(0x270),new _0x54e142[(_0xe63c0e(0x1aa))](null)),_0x2f0bfd(this,'collabCursorState$',this[_0xe63c0e(0x270)][_0xe63c0e(0x25a)]());}['syncEditingCollabCursor'](_0x59a4fa){const _0x7ba592=_0x30a38d,{unitID:_0x48e57b,memberID:_0x197ccb,textRanges:_0xad118}=_0x59a4fa,_0x41042a=_0x129e02(_0xad118);if(_0x41042a==='')return;const _0xe0cbf8={'unitID':_0x48e57b,'memberID':_0x197ccb,'selection':_0x41042a};this[_0x7ba592(0x270)][_0x7ba592(0x162)](_0xe0cbf8);}}var _0x281cd9=Object[_0x30a38d(0x185)],_0x3fc61e=(_0x3b613b,_0x1fc39f,_0x879386,_0x4f1d57)=>{const _0xed6550=_0x30a38d;for(var _0x3119b0=_0x4f1d57>0x1?void 0x0:_0x4f1d57?_0x281cd9(_0x1fc39f,_0x879386):_0x1fc39f,_0x555aaf=_0x3b613b[_0xed6550(0x2bc)]-0x1,_0x984004;_0x555aaf>=0x0;_0x555aaf--)(_0x984004=_0x3b613b[_0x555aaf])&&(_0x3119b0=_0x984004(_0x3119b0)||_0x3119b0);return _0x3119b0;},_0x2f3ba6=(_0x267e82,_0x2b5197)=>(_0x3d72d1,_0x5e3689)=>_0x2b5197(_0x3d72d1,_0x5e3689,_0x267e82);const _0x2b0bc9=0x12c,_0x2ceb36=0x64;let _0x58341d=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x4c95e9,_0x531339,_0x4821b6,_0x4afaa5,_0x47b19b,_0x38a219,_0x47500b,_0x3999dc,_0x5ba4e7){const _0x2356fd=_0x30a38d;super(),_0x2f0bfd(this,'_online',!0x1),_0x2f0bfd(this,'_init',!0x1),_0x2f0bfd(this,'_cursorInfo$',new _0x54e142[(_0x2356fd(0x1aa))](new Map())),_0x2f0bfd(this,_0x2356fd(0x300),this['_cursorInfo$'][_0x2356fd(0x25a)]()),_0x2f0bfd(this,'_roomMembers$',new _0x54e142[(_0x2356fd(0x1aa))]([])),_0x2f0bfd(this,'roomMembers$',this[_0x2356fd(0x111)]['pipe'](_0x54e142[_0x2356fd(0x84)](_0x2b0bc9))),_0x2f0bfd(this,_0x2356fd(0x230),_0x40cffd[_0x2356fd(0x2e2)](_0x593203=>{const _0x3f7894=_0x2356fd,_0x3b61ff={'eventID':_0x2146ab[_0x3f7894(0x2e9)][_0x3f7894(0x277)],'data':{'unitID':this[_0x3f7894(0xaa)],'memberID':this['_session'][_0x3f7894(0x284)](),'selection':_0x129e02(_0x593203)}};this[_0x3f7894(0x1a7)][_0x3f7894(0xf7)](_0x3b61ff,this[_0x3f7894(0xaa)]);},_0x2ceb36)),(this[_0x2356fd(0xaa)]=_0x4c95e9,this[_0x2356fd(0x1a7)]=_0x531339,this[_0x2356fd(0xed)]=_0x4821b6,this[_0x2356fd(0xca)]=_0x4afaa5,this[_0x2356fd(0x126)]=_0x47b19b,this[_0x2356fd(0x24a)]=_0x38a219,this[_0x2356fd(0x262)]=_0x47500b,this[_0x2356fd(0x289)]=_0x3999dc,this['_commandService']=_0x5ba4e7);}get['cursorInfo'](){const _0x213708=_0x30a38d;return this[_0x213708(0x28e)]['getValue']();}get[_0x30a38d(0x165)](){const _0x393b64=_0x30a38d;return this[_0x393b64(0x111)][_0x393b64(0x205)]();}[_0x30a38d(0x266)](){const _0x3ee894=_0x30a38d;super[_0x3ee894(0x266)](),this[_0x3ee894(0x28e)][_0x3ee894(0x162)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3ee894(0x111)][_0x3ee894(0x162)]([]),this['_roomMembers$'][_0x3ee894(0x180)]();}[_0x30a38d(0x11e)](){const _0x99d801=_0x30a38d;this['_init']||(this[_0x99d801(0x17f)]=!0x0,this['_session'][_0x99d801(0x11b)][_0x99d801(0x7e)](_0x54e142[_0x99d801(0x1eb)](this['dispose$']))[_0x99d801(0x204)](_0x5d4e52=>{const _0x1d2b03=_0x99d801;_0x5d4e52===_0x381b64[_0x1d2b03(0x2c8)]['ONLINE']?this[_0x1d2b03(0x233)]():this[_0x1d2b03(0x169)]();}),this[_0x99d801(0x1a7)][_0x99d801(0x16e)]['pipe'](_0x54e142[_0x99d801(0x1eb)](this['dispose$']))[_0x99d801(0x204)](_0xb03432=>{const _0x52bfa9=_0x99d801,_0x1a622a=_0xb03432[_0x52bfa9(0x12f)];_0x1a622a===_0x2146ab[_0x52bfa9(0x2e9)]['UPDATE_CURSOR']&&this[_0x52bfa9(0x252)](_0xb03432),_0x1a622a===_0x2146ab[_0x52bfa9(0x2e9)][_0x52bfa9(0x2d5)]&&this[_0x52bfa9(0x20c)](_0xb03432);}),this[_0x99d801(0x1ce)](this[_0x99d801(0x2a9)][_0x99d801(0x1a0)](_0x4b22ab=>{const _0x341a0e=_0x99d801,_0x32d135=_0x4b22ab[_0x341a0e(0xec)];_0x32d135!=null&&this[_0x341a0e(0x15e)]&&_0x4b22ab['id']===_0x3bcff7[_0x341a0e(0x213)]['id']&&_0x32d135[_0x341a0e(0x2e6)]===this[_0x341a0e(0xaa)]&&_0x32d135['isEditing']===!0x1&&_0x32d135[_0x341a0e(0x75)][_0x341a0e(0x2bc)]>0x0&&this[_0x341a0e(0x230)](_0x32d135['ranges']);})),this[_0x99d801(0x24a)][_0x99d801(0x2c5)][_0x99d801(0x7e)](_0x54e142['takeUntil'](this[_0x99d801(0x192)]))[_0x99d801(0x204)](_0x1ecb3b=>{const _0x2fb142=_0x99d801;if((_0x1ecb3b==null?void 0x0:_0x1ecb3b['unitID'])!==this[_0x2fb142(0xaa)])return;const _0x331460={'eventID':_0x2146ab['CollaborationEvent'][_0x2fb142(0x277)],'data':_0x1ecb3b};this[_0x2fb142(0x252)](_0x331460);}),this[_0x99d801(0x1ce)](this[_0x99d801(0x2a9)][_0x99d801(0x1a0)](_0x49aaf7=>{const _0xef35f5=_0x99d801;if(_0x49aaf7[_0xef35f5(0xec)]==null)return;const _0xaea62f=_0x49aaf7[_0xef35f5(0xec)];if(_0x49aaf7['id']!==_0x3bcff7[_0xef35f5(0x242)]['id']||_0xaea62f['unitId']!==this['unitID'])return;const _0x1b7138={'id':'doc.mutation.rich-text-editing','params':_0xaea62f},_0x2f1cac=this[_0xef35f5(0x149)];for(const [_0x1babb8,_0x29e7cb]of _0x2f1cac){const _0x319017={'id':_0xef35f5(0x1e7),'params':{'unitId':this[_0xef35f5(0xaa)],'actions':null,'textRanges':_0x29e7cb[_0xef35f5(0x75)]}},_0x1d019d=this[_0xef35f5(0x262)][_0xef35f5(0xe6)](_0x1b7138,_0x319017,!0x1);if(_0x2146ab[_0xef35f5(0x28d)](_0x1d019d))throw _0x1d019d[_0xef35f5(0x274)];_0x2f1cac['set'](_0x1babb8,{..._0x29e7cb,'ranges':_0x1d019d[_0xef35f5(0x214)][_0xef35f5(0xec)][_0xef35f5(0x103)]});}queueMicrotask(()=>{const _0x1e7e09=_0xef35f5;this[_0x1e7e09(0x28e)]['next'](_0x2f1cac);});})));}[_0x30a38d(0x252)](_0x5aa7f0){const _0x25c508=_0x30a38d;var _0x3f9d02,_0x3d7989;const {memberID:_0x1db986,selection:_0x4bab89}=_0x5aa7f0[_0x25c508(0x11c)],_0x7d31aa=_0x49b436(_0x4bab89),_0x3d777a=(_0x3d7989=(_0x3f9d02=this['_memberService'][_0x25c508(0x2a4)](this['unitID'],_0x1db986))==null?void 0x0:_0x3f9d02[_0x25c508(0x174)])!=null?_0x3d7989:_0x25c508(0x173),_0x484661={'color':this[_0x25c508(0xca)][_0x25c508(0x9b)](_0x1db986),'name':_0x3d777a,'ranges':_0x7d31aa},_0x5beb84=this[_0x25c508(0x149)];_0x5beb84[_0x25c508(0x273)](_0x1db986,_0x484661),this['_cursorInfo$'][_0x25c508(0x162)](_0x5beb84);}[_0x30a38d(0x20c)](_0x233dce){const _0x53f044=_0x30a38d,{memberID:_0xac138a}=_0x233dce['data'],_0x1662dd=this[_0x53f044(0x149)];_0x1662dd[_0x53f044(0x1c6)](_0xac138a),this[_0x53f044(0x28e)][_0x53f044(0x162)](_0x1662dd);}[_0x30a38d(0x233)](){const _0x5f078f=_0x30a38d;var _0x461693;if(this['_online']=!0x0,((_0x461693=this[_0x5f078f(0x289)][_0x5f078f(0xac)]())==null?void 0x0:_0x461693['getUnitId']())!==this[_0x5f078f(0xaa)])return;const _0x307fc0=this[_0x5f078f(0xed)][_0x5f078f(0x2cf)](_0x3bcff7[_0x5f078f(0x170)])[_0x5f078f(0x25b)]();Array[_0x5f078f(0x27e)](_0x307fc0)&&_0x307fc0[_0x5f078f(0x2bc)]>0x0&&this[_0x5f078f(0x230)](_0x307fc0);}[_0x30a38d(0x169)](){const _0x368039=_0x30a38d;this[_0x368039(0x15e)]=!0x1;}};_0x58341d=_0x3fc61e([_0x2f3ba6(0x2,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x2f3ba6(0x3,_0x40cffd[_0x30a38d(0x243)](_0x3070d8)),_0x2f3ba6(0x4,_0x40cffd['Inject'](_0x381b64[_0x30a38d(0x124)])),_0x2f3ba6(0x5,_0x40cffd['Inject'](_0x317e7c)),_0x2f3ba6(0x6,_0x2146ab[_0x30a38d(0x1b5)]),_0x2f3ba6(0x7,_0x40cffd[_0x30a38d(0x200)]),_0x2f3ba6(0x8,_0x40cffd[_0x30a38d(0x263)])],_0x58341d);var _0x50f5d8=Object[_0x30a38d(0x185)],_0x48104a=(_0x3c6d2c,_0x15aac5,_0x5eaa9e,_0x48ea08)=>{const _0x42d482=_0x30a38d;for(var _0x1404fd=_0x48ea08>0x1?void 0x0:_0x48ea08?_0x50f5d8(_0x15aac5,_0x5eaa9e):_0x15aac5,_0x4ae398=_0x3c6d2c[_0x42d482(0x2bc)]-0x1,_0x51e62a;_0x4ae398>=0x0;_0x4ae398--)(_0x51e62a=_0x3c6d2c[_0x4ae398])&&(_0x1404fd=_0x51e62a(_0x1404fd)||_0x1404fd);return _0x1404fd;},_0x5eb8c3=(_0x1172fc,_0x1c2a22)=>(_0x383dba,_0x26e3f7)=>_0x1c2a22(_0x383dba,_0x26e3f7,_0x1172fc);const _0x939cfc=0x12c,_0x19b3d3=0x64,_0x34d331=()=>{let _0x3ef7bd=[],_0x1def96=!0x1;return _0x4ba308=>{const _0x56ac8c=_0xf3b4;_0x3ef7bd[_0x56ac8c(0x81)](_0x4ba308),_0x1def96||(_0x1def96=!0x0,setTimeout(()=>{const _0x1a2f79=_0x56ac8c;_0x3ef7bd[_0x1a2f79(0x280)](_0xe6c581=>_0xe6c581()),_0x3ef7bd=[],_0x1def96=!0x1;}));};};let _0x4f1f12=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x35cd89,_0x524e7c,_0xb3bce0,_0x25d404,_0x53aaaa,_0xc41524,_0x1bff15,_0x2055e0){const _0x2936d4=_0x30a38d;super(),_0x2f0bfd(this,_0x2936d4(0x15e),!0x1),_0x2f0bfd(this,'_init',!0x1),_0x2f0bfd(this,_0x2936d4(0x28e),new _0x54e142[(_0x2936d4(0x1aa))](new Map())),_0x2f0bfd(this,_0x2936d4(0x300),this[_0x2936d4(0x28e)]['asObservable']()),_0x2f0bfd(this,_0x2936d4(0x111),new _0x54e142['BehaviorSubject']([])),_0x2f0bfd(this,_0x2936d4(0x151),this['_roomMembers$'][_0x2936d4(0x7e)](_0x54e142['debounceTime'](_0x939cfc))),_0x2f0bfd(this,_0x2936d4(0x230),_0x40cffd[_0x2936d4(0x2e2)]((_0x55f0ae,_0x2a6cfe)=>{const _0x4d0497=_0x2936d4,_0x2e0532={'eventID':_0x2146ab['CollaborationEvent'][_0x4d0497(0x277)],'data':{'unitID':this[_0x4d0497(0xaa)],'memberID':this[_0x4d0497(0x1a7)][_0x4d0497(0x284)](),'selection':_0xc9e6b5[_0x4d0497(0x305)](_0x55f0ae,_0x2a6cfe['range'])}};this[_0x4d0497(0x1a7)][_0x4d0497(0xf7)](_0x2e0532,this['unitID']);},_0x19b3d3)),(this[_0x2936d4(0xaa)]=_0x35cd89,this[_0x2936d4(0x1a7)]=_0x524e7c,this[_0x2936d4(0xed)]=_0xb3bce0,this[_0x2936d4(0xca)]=_0x25d404,this[_0x2936d4(0x126)]=_0x53aaaa,this[_0x2936d4(0x289)]=_0xc41524,this[_0x2936d4(0x2a9)]=_0x1bff15,this['_refRangeService']=_0x2055e0);}get[_0x30a38d(0x149)](){const _0x2f6a58=_0x30a38d;return this[_0x2f6a58(0x28e)][_0x2f6a58(0x205)]();}get[_0x30a38d(0x165)](){const _0x5af2cb=_0x30a38d;return this[_0x5af2cb(0x111)][_0x5af2cb(0x205)]();}[_0x30a38d(0x266)](){const _0x3cfac8=_0x30a38d;super['dispose'](),this['_cursorInfo$'][_0x3cfac8(0x162)](new Map()),this[_0x3cfac8(0x28e)]['complete'](),this[_0x3cfac8(0x111)][_0x3cfac8(0x162)]([]),this[_0x3cfac8(0x111)][_0x3cfac8(0x180)]();}['init'](){const _0x518d33=_0x30a38d;this[_0x518d33(0x17f)]||(this[_0x518d33(0x17f)]=!0x0,this[_0x518d33(0x1a7)][_0x518d33(0x11b)][_0x518d33(0x7e)](_0x54e142[_0x518d33(0x1eb)](this[_0x518d33(0x192)]))[_0x518d33(0x204)](_0x4f21bc=>{const _0x1c8a4f=_0x518d33;_0x4f21bc===_0x381b64['SessionStatus'][_0x1c8a4f(0x22c)]?this[_0x1c8a4f(0x233)]():this[_0x1c8a4f(0x169)]();}),this[_0x518d33(0x1a7)]['event$'][_0x518d33(0x7e)](_0x54e142[_0x518d33(0x1eb)](this[_0x518d33(0x192)]))[_0x518d33(0x204)](_0x409898=>{const _0x4bfa9e=_0x518d33,_0x357ac0=_0x409898['eventID'];_0x357ac0===_0x2146ab['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x409898),_0x357ac0===_0x2146ab[_0x4bfa9e(0x2e9)][_0x4bfa9e(0x2d5)]&&this[_0x4bfa9e(0x20c)](_0x409898);}),this[_0x518d33(0xa2)](),this[_0x518d33(0x1ce)](this['_commandService'][_0x518d33(0x1a0)](_0x35635b=>{const _0x9439b3=_0x518d33;if(this[_0x9439b3(0x15e)]&&_0x35635b['id']===_0x20769f[_0x9439b3(0x159)]['id']&&_0x35635b[_0x9439b3(0xec)]['unitId']===this['unitID']){const _0x501536=_0x35635b['params'];this[_0x9439b3(0x230)](_0x501536[_0x9439b3(0xf3)],_0x501536[_0x9439b3(0xcd)][0x0]);}})));}[_0x30a38d(0x252)](_0x43479c){const _0xdd522d=_0x30a38d;var _0x47ab37,_0x5d37b3;const {memberID:_0x1937c9,selection:_0x5b9a29}=_0x43479c[_0xdd522d(0x11c)],{sheetName:_0x37ca75,range:_0x4bfb26}=_0xc9e6b5[_0xdd522d(0x22e)](_0x5b9a29),_0x57446e={'name':(_0x5d37b3=(_0x47ab37=this['_memberService'][_0xdd522d(0x2a4)](this[_0xdd522d(0xaa)],_0x1937c9))==null?void 0x0:_0x47ab37[_0xdd522d(0x174)])!=null?_0x5d37b3:_0xdd522d(0x173),'range':this['_getMergeRange'](_0x37ca75,_0x4bfb26),'sheetID':_0x37ca75,'color':this[_0xdd522d(0xca)][_0xdd522d(0x9b)](_0x1937c9),'selection':_0x5b9a29},_0x261ce5=this['cursorInfo'];_0x261ce5[_0xdd522d(0x273)](_0x1937c9,_0x57446e),this['_cursorInfo$'][_0xdd522d(0x162)](_0x261ce5);}[_0x30a38d(0x20c)](_0x16c429){const _0x47d64c=_0x30a38d,{memberID:_0x3221bd}=_0x16c429[_0x47d64c(0x11c)],_0x2b365e=this[_0x47d64c(0x149)];_0x2b365e['delete'](_0x3221bd),this[_0x47d64c(0x28e)][_0x47d64c(0x162)](_0x2b365e);}[_0x30a38d(0xfd)](_0x32bb1f,_0x1f53dd){const _0x2b4681=_0x30a38d;var _0x364c93,_0x2f740c;const _0x471299=(_0x2f740c=(_0x364c93=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x2b4681(0xaa)]))==null?void 0x0:_0x364c93[_0x2b4681(0x95)](_0x32bb1f))==null?void 0x0:_0x2f740c['getMergeData']();return(_0x471299==null?void 0x0:_0x471299[_0x2b4681(0x2b0)](_0x90af4a=>_0x40cffd[_0x2b4681(0x1e2)][_0x2b4681(0x15a)](_0x90af4a,_0x1f53dd)))||_0x1f53dd;}['_onRefRangeChange'](){const _0x5c733c=_0x30a38d,_0x24e1ac=new _0x40cffd['DisposableCollection'](),_0x4fea67=_0x34d331(),_0x173f32=()=>{const _0x5e944f=_0xf3b4;_0x24e1ac[_0x5e944f(0x266)]();const _0x27506f=(_0x4a1150,_0x109b20,_0x4a77e0,_0x1a2ef1)=>{const _0xbbc7ea=_0x5e944f;let _0x4a4e49=[];switch(_0x4a1150['id']){case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x86)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x2aa)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0xfa)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0xb3)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x14e)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x2eb)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x29b)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x209)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0xc4)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x1c4)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x1c9)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x24f)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x10a)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x18c)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x250)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0xce)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x22a)]:{_0x4a4e49=_0x20769f['handleIRemoveRow'](_0x4a1150,_0x1a2ef1);break;}}const _0x4955ab=_0x20769f[_0xbbc7ea(0x12e)](_0x4a4e49,_0x1a2ef1),_0x2a5e35=this['cursorInfo'][_0xbbc7ea(0x2cf)](_0x109b20);if(_0x2a5e35&&_0x4955ab){const _0x2daf17={..._0x2a5e35,'range':_0x4955ab};this[_0xbbc7ea(0x149)]['set'](_0x109b20,_0x2daf17),_0x4fea67(()=>{const _0x766ea3=_0xbbc7ea,_0x2b160a=this['_refRangeService'][_0x766ea3(0x19c)](_0x4955ab,_0x57c9ff=>(_0x2b160a[_0x766ea3(0x266)](),_0x27506f(_0x57c9ff,_0x109b20,_0x4a77e0,_0x4955ab)));_0x24e1ac[_0x766ea3(0x2d4)](_0x2b160a);});}return{'redos':[],'undos':[]};};this[_0x5e944f(0x149)][_0x5e944f(0x280)]((_0x5efe79,_0x16aeff)=>{const _0x4d002e=_0x5e944f,{range:_0x210448,sheetID:_0x2297ad}=_0x5efe79,_0x485f18=this[_0x4d002e(0x208)][_0x4d002e(0x19c)](_0x210448,_0x4d267b=>(_0x485f18[_0x4d002e(0x266)](),_0x27506f(_0x4d267b,_0x16aeff,_0x2297ad,_0x210448)));_0x24e1ac['add'](_0x485f18);});};this['disposeWithMe'](_0x40cffd[_0x5c733c(0x2ac)](this[_0x5c733c(0x28e)]['subscribe'](()=>{_0x173f32();})));}[_0x30a38d(0x233)](){const _0x2f553b=_0x30a38d;var _0xc41ab7,_0x3cbb2c;if(this[_0x2f553b(0x15e)]=!0x0,((_0xc41ab7=this[_0x2f553b(0x289)]['getFocusedUnit']())==null?void 0x0:_0xc41ab7[_0x2f553b(0x19b)]())!==this[_0x2f553b(0xaa)])return;const _0x121624=(_0x3cbb2c=this[_0x2f553b(0xed)][_0x2f553b(0x2cf)](_0x20769f['SheetsSelectionsService'])[_0x2f553b(0xb2)]())==null?void 0x0:_0x3cbb2c[0x0],_0x30b85f=this['_univerInstanceService'][_0x2f553b(0x96)](_0x40cffd[_0x2f553b(0x301)][_0x2f553b(0x10c)])[_0x2f553b(0xeb)]();_0x121624&&_0x30b85f&&this['_updateLocalCursor'](_0x30b85f[_0x2f553b(0x29e)](),_0x121624);}[_0x30a38d(0x169)](){const _0x5c23fd=_0x30a38d;this[_0x5c23fd(0x15e)]=!0x1;}};_0x4f1f12=_0x48104a([_0x5eb8c3(0x2,_0x40cffd[_0x30a38d(0x243)](_0x40cffd['Injector'])),_0x5eb8c3(0x3,_0x40cffd[_0x30a38d(0x243)](_0x3070d8)),_0x5eb8c3(0x4,_0x40cffd[_0x30a38d(0x243)](_0x381b64['MemberService'])),_0x5eb8c3(0x5,_0x40cffd[_0x30a38d(0x200)]),_0x5eb8c3(0x6,_0x40cffd['ICommandService']),_0x5eb8c3(0x7,_0x40cffd[_0x30a38d(0x243)](_0x20769f[_0x30a38d(0xb1)]))],_0x4f1f12);var _0x572841=Object['getOwnPropertyDescriptor'],_0x102a60=(_0x3b64fe,_0x115e91,_0x561914,_0x231f0e)=>{const _0x2da967=_0x30a38d;for(var _0x1bc969=_0x231f0e>0x1?void 0x0:_0x231f0e?_0x572841(_0x115e91,_0x561914):_0x115e91,_0x18d7f1=_0x3b64fe[_0x2da967(0x2bc)]-0x1,_0x139bae;_0x18d7f1>=0x0;_0x18d7f1--)(_0x139bae=_0x3b64fe[_0x18d7f1])&&(_0x1bc969=_0x139bae(_0x1bc969)||_0x1bc969);return _0x1bc969;},_0x2c99dd=(_0x581d58,_0x2fa3d2)=>(_0x2f0b07,_0x319987)=>_0x2fa3d2(_0x2f0b07,_0x319987,_0x581d58);let _0xb8038=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x2eb9d2,_0xc9dcef,_0x409560){const _0x4da1a0=_0x30a38d;super(),_0x2f0bfd(this,_0x4da1a0(0x247),new Map()),_0x2f0bfd(this,_0x4da1a0(0xfb),new _0x54e142['Subject']()),(this['_univerInstanceService']=_0x2eb9d2,this[_0x4da1a0(0xed)]=_0xc9dcef,this[_0x4da1a0(0x7f)]=_0x409560,this[_0x4da1a0(0x17f)]());}[_0x30a38d(0x266)](){const _0x50bdc6=_0x30a38d;super[_0x50bdc6(0x266)](),this[_0x50bdc6(0xfb)][_0x50bdc6(0x180)](),this[_0x50bdc6(0x247)][_0x50bdc6(0x280)](_0x5d1cd3=>_0x5d1cd3[_0x50bdc6(0x266)]());}[_0x30a38d(0x2bd)](_0x119394){const _0x5a6624=_0x30a38d;return this['_entities']['has'](_0x119394)?this['_entities'][_0x5a6624(0x2cf)](_0x119394)[_0x5a6624(0x300)]:this[_0x5a6624(0xfb)][_0x5a6624(0x7e)](_0x54e142[_0x5a6624(0x140)](_0x29c0e8=>_0x29c0e8['unitID']===_0x119394),_0x54e142['switchMap'](_0x1a14f5=>_0x1a14f5['cursorInfo$']));}[_0x30a38d(0x17f)](){const _0x57b7e0=_0x30a38d;this[_0x57b7e0(0x289)]['getTypeOfUnitAdded$'](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x10c)])[_0x57b7e0(0x7e)](_0x54e142[_0x57b7e0(0x1eb)](this[_0x57b7e0(0x192)]))[_0x57b7e0(0x204)](async _0x381c9a=>{const _0xc38ec9=_0x57b7e0,_0x52dfac=_0x381c9a[_0xc38ec9(0x19b)](),_0x3f4142=await this['_startSheetCollabCursor'](_0x52dfac);this['_entityInit$']['next'](_0x3f4142),this[_0xc38ec9(0x247)][_0xc38ec9(0x273)](_0x52dfac,_0x3f4142);}),this[_0x57b7e0(0x289)]['getTypeOfUnitAdded$'](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x7a)])[_0x57b7e0(0x7e)](_0x54e142['takeUntil'](this[_0x57b7e0(0x192)]))['pipe'](_0x54e142[_0x57b7e0(0x140)](_0x199207=>!_0x199207[_0x57b7e0(0x19b)]()[_0x57b7e0(0xbc)]('__')))['subscribe'](async _0x5857db=>{const _0x391bb7=_0x57b7e0,_0x1dd6bb=_0x5857db[_0x391bb7(0x19b)](),_0x19bdd6=await this['_startDocCollabCursor'](_0x1dd6bb);this[_0x391bb7(0xfb)][_0x391bb7(0x162)](_0x19bdd6),this[_0x391bb7(0x247)]['set'](_0x1dd6bb,_0x19bdd6);}),_0x54e142[_0x57b7e0(0x193)](this[_0x57b7e0(0x289)]['getTypeOfUnitDisposed$'](_0x40cffd[_0x57b7e0(0x301)]['UNIVER_DOC']),this['_univerInstanceService'][_0x57b7e0(0x1f9)](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x10c)]))[_0x57b7e0(0x7e)](_0x54e142[_0x57b7e0(0x1eb)](this[_0x57b7e0(0x192)]))[_0x57b7e0(0x204)](_0x577c1d=>{const _0xfe9756=_0x57b7e0,_0x188be8=_0x577c1d['getUnitId'](),_0x4df40c=this[_0xfe9756(0x247)][_0xfe9756(0x2cf)](_0x188be8);_0x4df40c&&(_0x4df40c['dispose'](),this[_0xfe9756(0x247)]['delete'](_0x188be8));});}async[_0x30a38d(0x147)](_0x40a522){const _0x5b808b=_0x30a38d,_0x31cf0b=await this[_0x5b808b(0x7f)][_0x5b808b(0x2f3)](_0x40a522),_0x2b2159=this['_injector'][_0x5b808b(0x231)](_0x4f1f12,_0x40a522,_0x31cf0b);return _0x2b2159[_0x5b808b(0x11e)](),_0x2b2159;}async[_0x30a38d(0x1af)](_0x1c9421){const _0x3a3fc9=_0x30a38d,_0x315c64=await this['_collabSessionService']['requireSession'](_0x1c9421),_0x39fb47=this[_0x3a3fc9(0xed)]['createInstance'](_0x58341d,_0x1c9421,_0x315c64);return _0x39fb47[_0x3a3fc9(0x11e)](),_0x39fb47;}};_0xb8038=_0x102a60([_0x2c99dd(0x0,_0x40cffd['IUniverInstanceService']),_0x2c99dd(0x1,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x2c99dd(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationSessionService']))],_0xb8038);const _0x185196=0x14,_0x2400a8=0xc8,_0x27475e=0x4,_0x483539=0x5;function _0x281cfa(_0x54e28d,_0x5a5532){const _0x3b63ff=_0x30a38d;let {radius:_0x8e7c6f,width:_0x161093,height:_0x586045}=_0x5a5532;_0x8e7c6f=_0x8e7c6f!=null?_0x8e7c6f:0x0,_0x161093=_0x161093!=null?_0x161093:0x1e,_0x586045=_0x586045!=null?_0x586045:0x1e;let _0x5dff3d=0x0,_0x5ab33f=0x0,_0x1e1aaa=0x0;_0x5dff3d=_0x5ab33f=_0x1e1aaa=Math[_0x3b63ff(0x24d)](_0x8e7c6f,_0x161093/0x2,_0x586045/0x2),_0x54e28d[_0x3b63ff(0x13c)](),_0x54e28d[_0x3b63ff(0x1a5)](_0x5dff3d,0x0),_0x54e28d[_0x3b63ff(0x2c2)](_0x161093-_0x5ab33f,0x0),_0x54e28d['arc'](_0x161093-_0x5ab33f,_0x5ab33f,_0x5ab33f,Math['PI']*0x3/0x2,0x0,!0x1),_0x54e28d[_0x3b63ff(0x2c2)](_0x161093,_0x586045-_0x1e1aaa),_0x54e28d['arc'](_0x161093-_0x1e1aaa,_0x586045-_0x1e1aaa,_0x1e1aaa,0x0,Math['PI']/0x2,!0x1),_0x54e28d[_0x3b63ff(0x2c2)](0x0,_0x586045),_0x54e28d['lineTo'](0x0,_0x5dff3d),_0x54e28d[_0x3b63ff(0x119)](_0x5dff3d,_0x5dff3d,_0x5dff3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54e28d[_0x3b63ff(0x168)](),_0x5a5532[_0x3b63ff(0x296)]&&(_0x54e28d['save'](),_0x54e28d[_0x3b63ff(0xb0)]=_0x5a5532['fill'],_0x5a5532[_0x3b63ff(0x2de)]===_0x3b63ff(0x2da)?_0x54e28d[_0x3b63ff(0x296)](_0x3b63ff(0x2da)):_0x54e28d[_0x3b63ff(0x296)](),_0x54e28d['restore']());}class _0x4c8a0e extends _0x1959b6[_0x30a38d(0x97)]{constructor(_0x1687dc,_0x6727e1){const _0x15db81=_0x30a38d;super(_0x1687dc,_0x6727e1),_0x2f0bfd(this,_0x15db81(0xc7)),_0x2f0bfd(this,_0x15db81(0x302)),(this[_0x15db81(0xc7)]=_0x6727e1==null?void 0x0:_0x6727e1[_0x15db81(0xc7)],this[_0x15db81(0x302)]=_0x6727e1==null?void 0x0:_0x6727e1[_0x15db81(0x302)]);}static[_0x30a38d(0x20a)](_0x3f8a1d,_0x57dc9b){const _0x47b214=_0x30a38d,{text:_0x3fe86f,color:_0x24e049}=_0x57dc9b;_0x3f8a1d['save'](),_0x3f8a1d[_0x47b214(0x307)]=_0x47b214(0x1c5);const _0x729907=_0x3f8a1d[_0x47b214(0x9a)](_0x3fe86f)[_0x47b214(0xe9)],_0x203deb=Math[_0x47b214(0x24d)](_0x729907+0x2*_0x27475e,_0x2400a8);_0x281cfa(_0x3f8a1d,{'height':_0x185196,'radius':0x4,'width':_0x203deb,'fill':_0x24e049}),_0x3f8a1d[_0x47b214(0xb0)]=_0x47b214(0x175);const _0x5d8ead=_0x27475e,_0x30f5b0=_0x185196-_0x483539,_0x3da812=_0x2400a8-0x2*_0x27475e;if(_0x729907>_0x3da812){let _0x4fa7ee='',_0x239859=0x0;for(const _0x15d730 of _0x3fe86f){const _0x2a8739=_0x3f8a1d[_0x47b214(0x9a)](_0x15d730)[_0x47b214(0xe9)];if(_0x239859+_0x2a8739<=_0x3da812-_0x3f8a1d[_0x47b214(0x9a)](_0x47b214(0x254))[_0x47b214(0xe9)])_0x4fa7ee+=_0x15d730,_0x239859+=_0x2a8739;else{_0x4fa7ee+=_0x47b214(0x254);break;}}_0x3f8a1d[_0x47b214(0x286)](_0x4fa7ee,_0x5d8ead,_0x30f5b0);}else _0x3f8a1d[_0x47b214(0x286)](_0x3fe86f,_0x5d8ead,_0x30f5b0);_0x3f8a1d[_0x47b214(0x132)]();}['_draw'](_0x26a4d3){const _0x6b49a2=_0x30a38d;_0x4c8a0e[_0x6b49a2(0x20a)](_0x26a4d3,this);}}const _0xab1c0e='collab-text-anchor-',_0x756849=_0x30a38d(0x17a),_0xffb7bd=_0x30a38d(0x90),_0x16a733=0x6,_0x16d9aa=1.5,_0x383f64=0x4,_0x55da02=1.5,_0x1369cc=_0x30a38d(0x268);class _0x1ec17d{constructor(_0x190661,_0x22c4d6,_0x1a639d,_0x3e20f1){const _0x3a727c=_0x30a38d;_0x2f0bfd(this,_0x3a727c(0xd6),[]),_0x2f0bfd(this,_0x3a727c(0x187),null),_0x2f0bfd(this,_0x3a727c(0x24e),null),_0x2f0bfd(this,'_anchorDot',null),_0x2f0bfd(this,'_hideTimer',null),_0x2f0bfd(this,'_eventUnsubscribe',null),(this[_0x3a727c(0x15f)]=_0x190661,this[_0x3a727c(0x1d0)]=_0x22c4d6,this[_0x3a727c(0x2b8)]=_0x1a639d,this[_0x3a727c(0x303)]=_0x3e20f1,this[_0x3a727c(0x246)]());}set['_hover'](_0x1035d1){const _0x53b14c=_0x30a38d;_0x1035d1?(this[_0x53b14c(0x2be)]&&this['_anchorDot'][_0x53b14c(0x195)](),this[_0x53b14c(0x24e)]&&this[_0x53b14c(0x24e)][_0x53b14c(0x20e)]()):(this[_0x53b14c(0x2be)]&&this[_0x53b14c(0x2be)][_0x53b14c(0x20e)](),this[_0x53b14c(0x24e)]&&this[_0x53b14c(0x24e)][_0x53b14c(0x195)]());}[_0x30a38d(0x266)](){const _0x3931c1=_0x30a38d;for(const _0x3200a6 of this[_0x3931c1(0xd6)])_0x3200a6[_0x3931c1(0x266)]();this[_0x3931c1(0x24e)]&&this[_0x3931c1(0x24e)][_0x3931c1(0x266)](),this[_0x3931c1(0x2be)]&&this[_0x3931c1(0x2be)][_0x3931c1(0x266)](),this[_0x3931c1(0x187)]&&this[_0x3931c1(0x187)]['dispose'](),this[_0x3931c1(0x287)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4d24f3=_0x30a38d;var _0x5b4784;const {_docSkeleton:_0x1a7674,_document:_0x53afa4}=this,{color:_0x2378b4,name:_0x59b88e,ranges:_0x565908}=this['_cursor'],_0x52d0fb=_0x53afa4['getOffsetConfig'](),{docsLeft:_0xb2f6ee,docsTop:_0x2f7c9f}=_0x52d0fb,_0x3737ac=new _0x2d3f57[(_0x4d24f3(0x142))](_0x52d0fb,_0x1a7674);for(const {startOffset:_0x2c7b7a,endOffset:_0x584b4c,rangeType:_0x39ef5b,segmentId:_0x394129,segmentPage:_0x122fc7,collapsed:_0x15734f,isActive:_0x16a9bd}of _0x565908){const _0x11c837=_0x1a7674[_0x4d24f3(0x1f2)](_0x2c7b7a,!0x0,_0x394129,_0x122fc7);let _0x193e92=_0x1a7674['findNodePositionByCharIndex'](_0x584b4c,!0x0,_0x394129,_0x122fc7);if(_0x193e92==null&&(_0x193e92=_0x1a7674[_0x4d24f3(0x1f2)](_0x584b4c-0x1,!0x1,_0x394129,_0x122fc7)),_0x16a9bd){const {contentBoxPointGroup:_0x4620ab}=_0x3737ac[_0x4d24f3(0x241)](_0x193e92,_0x193e92);if(_0x4620ab[_0x4d24f3(0x2bc)]===0x0)continue;this['_drawAnchor'](_0x2378b4,_0x4620ab,_0xb2f6ee,_0x2f7c9f,_0x59b88e),this[_0x4d24f3(0x287)]=this['_handleHover']();}if(_0x11c837&&_0x193e92){if(_0x39ef5b===_0x40cffd[_0x4d24f3(0x16d)]['RECT']){const _0x229aad=new _0x2d3f57['NodePositionConvertToRectRange'](_0x52d0fb,_0x1a7674),{pointGroup:_0x41d851}=(_0x5b4784=_0x229aad[_0x4d24f3(0x241)](_0x11c837,_0x193e92))!=null?_0x5b4784:{};if(_0x41d851==null||_0x41d851['length']===0x0)continue;this[_0x4d24f3(0x115)](_0x2378b4,_0x41d851,_0xb2f6ee,_0x2f7c9f);}else{if(!_0x15734f){const {borderBoxPointGroup:_0x440d9e}=_0x3737ac[_0x4d24f3(0x241)](_0x11c837,_0x193e92);if(_0x440d9e[_0x4d24f3(0x2bc)]===0x0)continue;this[_0x4d24f3(0x211)](_0x2378b4,_0x440d9e,_0xb2f6ee,_0x2f7c9f);}}}}}[_0x30a38d(0x2dd)](_0x4ca4bb,_0x539e0b,_0x1cc286,_0x442bc5,_0x59f1ac){const _0x4a28a6=_0x30a38d,_0x515473=this[_0x4a28a6(0x221)](_0x539e0b),{left:_0x4202e3,top:_0x26d014,height:_0x5926e8}=_0x515473,_0x434ff4=this['_getScale'](),_0x1e1ce8=_0x55da02/_0x434ff4,_0x3c5d62=new _0x1959b6[(_0x4a28a6(0x16f))](_0xab1c0e+_0x40cffd[_0x4a28a6(0x1d7)](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5,'height':_0x5926e8,'width':_0x16d9aa,'fill':_0x4ca4bb||_0x1959b6['getColor'](_0x40cffd[_0x4a28a6(0x24c)][_0x4a28a6(0x166)],0x0),'strokeWidth':_0x1e1ce8,'stroke':_0x1369cc,'evented':!0x0});this[_0x4a28a6(0x187)]=_0x3c5d62,this[_0x4a28a6(0x1d0)]['addObject'](_0x3c5d62,_0x2d3f57[_0x4a28a6(0xe7)]);const _0x3d4945=new _0x1959b6['Rect'](_0xab1c0e+_0x40cffd['generateRandomId'](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5-_0x383f64/0x2,'height':_0x383f64,'width':_0x383f64,'fill':_0x4ca4bb||_0x1959b6[_0x4a28a6(0x113)](_0x40cffd['COLORS'][_0x4a28a6(0x166)],0x0),'strokeWidth':0x0,'stroke':_0x4ca4bb||_0x1959b6[_0x4a28a6(0x113)](_0x40cffd[_0x4a28a6(0x24c)][_0x4a28a6(0x166)],0x0),'evented':!0x1});this[_0x4a28a6(0x2be)]=_0x3d4945,this[_0x4a28a6(0x1d0)][_0x4a28a6(0x29c)](_0x3d4945,_0x2d3f57[_0x4a28a6(0xe7)]);const _0x2bfd40=new _0x4c8a0e(_0xab1c0e+_0x40cffd[_0x4a28a6(0x1d7)](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5-_0x185196,'text':_0x59f1ac,'color':_0x4ca4bb});this[_0x4a28a6(0x24e)]=_0x2bfd40,this[_0x4a28a6(0x1d0)]['addObject'](_0x2bfd40,_0x2d3f57[_0x4a28a6(0xe7)]),this['_hover']=!0x1;}[_0x30a38d(0x283)](){const _0x21e60b=_0x30a38d,_0x43b824=this[_0x21e60b(0x187)]['onPointerEnter$'][_0x21e60b(0x29f)](()=>{const _0x585ee9=_0x21e60b;this[_0x585ee9(0x1ad)]=!0x0;}),_0x3216e1=this[_0x21e60b(0x187)][_0x21e60b(0x15c)][_0x21e60b(0x29f)](()=>{const _0x2f50b3=_0x21e60b;this[_0x2f50b3(0x104)]&&clearTimeout(this[_0x2f50b3(0x104)]),this[_0x2f50b3(0x104)]=setTimeout(()=>{const _0x24854e=_0x2f50b3;this[_0x24854e(0x1ad)]=!0x1;},0x7d0);});return()=>{const _0x5f186d=_0x21e60b;_0x43b824[_0x5f186d(0x1f4)](),_0x3216e1[_0x5f186d(0x1f4)]();};}[_0x30a38d(0x211)](_0x3a625e,_0x19b56b,_0x3d1f72,_0x5a21ec){const _0x27f644=_0x30a38d,_0x446a98=new _0x40cffd[(_0x27f644(0x1f5))](_0x3a625e)[_0x27f644(0x114)](0.2)[_0x27f644(0x1df)](),_0x32ae85=new _0x1959b6[(_0x27f644(0x25f))](_0x756849+_0x40cffd[_0x27f644(0x1d7)](_0x16a733),{'pointsGroup':_0x19b56b,'fill':_0x446a98||_0x1959b6[_0x27f644(0x113)](_0x40cffd[_0x27f644(0x24c)]['black'],0.2),'left':_0x3d1f72,'top':_0x5a21ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27f644(0xd6)][_0x27f644(0x81)](_0x32ae85),this['_scene'][_0x27f644(0x29c)](_0x32ae85,_0x2d3f57[_0x27f644(0xe7)]);}['_drawRectRange'](_0xecfc2b,_0x35ea82,_0x55bf70,_0x2eed3f){const _0x4fadf7=_0x30a38d,_0x43365d=new _0x40cffd[(_0x4fadf7(0x1f5))](_0xecfc2b)[_0x4fadf7(0x114)](0.2)[_0x4fadf7(0x1df)](),_0x339171=new _0x1959b6[(_0x4fadf7(0x25f))](_0xffb7bd+_0x40cffd[_0x4fadf7(0x1d7)](_0x16a733),{'pointsGroup':_0x35ea82,'fill':_0x43365d||_0x1959b6[_0x4fadf7(0x113)](_0x40cffd['COLORS'][_0x4fadf7(0x166)],0.2),'left':_0x55bf70,'top':_0x2eed3f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4fadf7(0xd6)]['push'](_0x339171),this[_0x4fadf7(0x1d0)]['addObject'](_0x339171,_0x2d3f57['TEXT_RANGE_LAYER_INDEX']);}[_0x30a38d(0x221)](_0x43da78){const _0x19b713=_0x43da78[0x0],_0xfe21ce=_0x19b713[0x0],_0x58a989=_0x19b713[0x2],{x:_0xa13117,y:_0x2b1652}=_0xfe21ce,{x:_0x1d49fc,y:_0x5a45df}=_0x58a989;return{'left':_0xa13117,'top':_0x2b1652,'width':_0x1d49fc-_0xa13117,'height':_0x5a45df-_0x2b1652};}['_getScale'](){const _0x11e22c=_0x30a38d,{scaleX:_0x1b0fe9,scaleY:_0x475ee3}=this[_0x11e22c(0x1d0)]['getAncestorScale']();return Math[_0x11e22c(0x2c1)](_0x1b0fe9,_0x475ee3);}}var _0x3d4c0e=Object[_0x30a38d(0x185)],_0x35faf7=(_0x543058,_0x10816e,_0x34ac6a,_0x5b016c)=>{const _0x52cc1f=_0x30a38d;for(var _0x500ea5=_0x5b016c>0x1?void 0x0:_0x5b016c?_0x3d4c0e(_0x10816e,_0x34ac6a):_0x10816e,_0x19cabd=_0x543058[_0x52cc1f(0x2bc)]-0x1,_0x282105;_0x19cabd>=0x0;_0x19cabd--)(_0x282105=_0x543058[_0x19cabd])&&(_0x500ea5=_0x282105(_0x500ea5)||_0x500ea5);return _0x500ea5;},_0x364bd9=(_0x31ea81,_0x2c57e4)=>(_0x380f31,_0x129b88)=>_0x2c57e4(_0x380f31,_0x129b88,_0x31ea81);let _0x51e236=class extends _0x40cffd['RxDisposable']{constructor(_0x2ee5,_0xf050a9,_0x360616,_0x35730d,_0x2a0e36){const _0x325627=_0x30a38d;super(),_0x2f0bfd(this,'_cursorShapes',[]),_0x2f0bfd(this,_0x325627(0x218),[]),(this[_0x325627(0x2ba)]=_0x2ee5,this['_docSkeletonManagerService']=_0xf050a9,this[_0x325627(0x265)]=_0x360616,this['_commandService']=_0x35730d,this[_0x325627(0x1bd)]=_0x2a0e36,this['_init']());}[_0x30a38d(0x17f)](){const _0x53bcaa=_0x30a38d,_0x30ce02=this[_0x53bcaa(0x2ba)]['unitId'],_0x2e95a4=this['_docSkeletonManagerService'];this[_0x53bcaa(0x1ce)](_0x54e142[_0x53bcaa(0x1e5)]([this[_0x53bcaa(0x265)][_0x53bcaa(0x2bd)](_0x30ce02),this[_0x53bcaa(0x1bd)][_0x53bcaa(0x80)]])['pipe'](_0x2d50e0['map'](([_0x5362b6,_0x5afa5f])=>({'skeleton':_0x2e95a4[_0x53bcaa(0x109)](),'cursors':[..._0x5362b6[_0x53bcaa(0x2a2)]()]['flatMap'](_0x4d837e=>({..._0x4d837e,'color':this[_0x53bcaa(0x1bd)][_0x53bcaa(0xb5)](_0x4d837e[_0x53bcaa(0xc7)])}))})))[_0x53bcaa(0x204)](_0x4cbe31=>{if(this['_removeCollabCursors'](),_0x4cbe31){const {skeleton:_0x10fb05,cursors:_0x50220d}=_0x4cbe31;this['_updateCollabCursors'](_0x10fb05,_0x50220d);}})),this[_0x53bcaa(0xf4)](),this[_0x53bcaa(0x239)]();}[_0x30a38d(0x1e0)](_0x74a17c,_0x50f598){const _0x3a9d44=_0x30a38d,{scene:_0x3662c8,mainComponent:_0x51b5be}=this[_0x3a9d44(0x2ba)],_0x16cbf9=_0x50f598[_0x3a9d44(0x295)](_0x1cd627=>new _0x1ec17d(_0x1cd627,_0x3662c8,_0x74a17c,_0x51b5be));this[_0x3a9d44(0xd1)]=_0x16cbf9,this[_0x3a9d44(0x218)]=_0x50f598;}['_refreshCollabCursors'](){const _0x4cc225=_0x30a38d;this[_0x4cc225(0x1fe)]();const {scene:_0x253440,mainComponent:_0x51cb30}=this[_0x4cc225(0x2ba)],_0x1b367a=this[_0x4cc225(0xc2)][_0x4cc225(0x109)](),_0x3da597=this[_0x4cc225(0x218)][_0x4cc225(0x295)](_0x2b327b=>new _0x1ec17d(_0x2b327b,_0x253440,_0x1b367a,_0x51cb30));this[_0x4cc225(0xd1)]=_0x3da597;}[_0x30a38d(0x1fe)](){const _0x132af8=_0x30a38d;this[_0x132af8(0xd1)][_0x132af8(0x280)](_0xa656aa=>_0xa656aa['dispose']()),this[_0x132af8(0xd1)]=[];}['_initCommandExecutedListener'](){const _0x111b86=_0x30a38d,_0x2ef75c=[_0x2d3f57[_0x111b86(0x1a3)]['id']];this['disposeWithMe'](this[_0x111b86(0x2a9)][_0x111b86(0x1a0)](_0x3f5979=>{const _0x5b0cd9=_0x111b86;_0x2ef75c[_0x5b0cd9(0x1e8)](_0x3f5979['id'])&&_0x3f5979[_0x5b0cd9(0xec)][_0x5b0cd9(0x2e6)]===this['_context']['unitId']&&this[_0x5b0cd9(0xa5)]();}));}['_initResize'](){const _0x878ff6=_0x30a38d;this['disposeWithMe'](_0x40cffd[_0x878ff6(0x6f)](this['_context']['engine'][_0x878ff6(0x196)])[_0x878ff6(0x7e)](_0x2d50e0[_0x878ff6(0x140)](_0x2d492f=>_0x2d492f[_0x878ff6(0x152)]===_0x1959b6[_0x878ff6(0x8d)][_0x878ff6(0x1a8)]),_0x2d50e0['throttleTime'](0x10))[_0x878ff6(0x204)](()=>{const _0x35983b=_0x878ff6;this[_0x35983b(0xa5)]();}));}};_0x51e236=_0x35faf7([_0x364bd9(0x1,_0x40cffd[_0x30a38d(0x243)](_0x3bcff7[_0x30a38d(0x281)])),_0x364bd9(0x2,_0x40cffd[_0x30a38d(0x243)](_0xb8038)),_0x364bd9(0x3,_0x40cffd[_0x30a38d(0x263)]),_0x364bd9(0x4,_0x40cffd['Inject'](_0x40cffd['ThemeService']))],_0x51e236);const _0x43057a=0x1,_0x38e44d=1.5;class _0x49abc9 extends _0x1959b6['Shape']{constructor(_0x54ae30,_0x373112){const _0x37aaf7=_0x30a38d;super(_0x54ae30,_0x373112),_0x2f0bfd(this,_0x37aaf7(0x139)),_0x2f0bfd(this,_0x37aaf7(0x2e4),!0x1),_0x2f0bfd(this,_0x37aaf7(0x2cc)),_0x2f0bfd(this,_0x37aaf7(0x269),''),_0x2f0bfd(this,_0x37aaf7(0x253),_0x37aaf7(0x1ab)),_0x2f0bfd(this,_0x37aaf7(0x267)),(_0x373112&&this['setShapeProps'](_0x373112),this['onPointerEnter$'][_0x37aaf7(0x29f)](()=>this[_0x37aaf7(0x2e7)]({'hovered':!0x0})),this[_0x37aaf7(0x15c)][_0x37aaf7(0x29f)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4d168f){const _0x493af0=_0x30a38d;var _0x2ae56a,_0xa5b70a,_0x3a64c6,_0x47ff4f,_0x327841,_0x216fef;this[_0x493af0(0x139)]=(_0x2ae56a=_0x4d168f['color'])!=null?_0x2ae56a:this['_color'],this[_0x493af0(0x2e4)]=(_0xa5b70a=_0x4d168f[_0x493af0(0xad)])!=null?_0xa5b70a:this[_0x493af0(0x2e4)],this[_0x493af0(0x2cc)]=(_0x3a64c6=_0x4d168f[_0x493af0(0x279)])!=null?_0x3a64c6:this[_0x493af0(0x2cc)],this[_0x493af0(0x269)]=(_0x47ff4f=_0x4d168f[_0x493af0(0x174)])!=null?_0x47ff4f:this['_name'],this[_0x493af0(0x253)]=(_0x327841=_0x4d168f[_0x493af0(0x157)])!=null?_0x327841:this[_0x493af0(0x253)],this['_backgroundColor']=(_0x216fef=_0x4d168f[_0x493af0(0x2a8)])!=null?_0x216fef:this['_backgroundColor'],this[_0x493af0(0x2df)]({'width':_0x4d168f[_0x493af0(0xe9)],'height':_0x4d168f[_0x493af0(0x1a4)]});}[_0x30a38d(0x1f3)](_0x3230d6){const _0x13ac15=_0x30a38d,{row:_0x1565e3,column:_0x10c03e}=_0x3230d6;if(_0x1565e3>=this['_range'][_0x13ac15(0x1b9)]&&_0x1565e3<=this[_0x13ac15(0x2cc)]['endRow']&&_0x10c03e>=this[_0x13ac15(0x2cc)][_0x13ac15(0x108)]&&_0x10c03e<=this['_range'][_0x13ac15(0x225)]){this[_0x13ac15(0x2e7)]({'hovered':!0x0});return;}this[_0x13ac15(0x2e7)]({'hovered':!0x1});}['triggerDblclick'](_0x41b523){return!0x1;}['_draw'](_0x4bf652){const _0x12e077=_0x30a38d;_0x1959b6['Rect'][_0x12e077(0x20a)](_0x4bf652,{'width':this[_0x12e077(0xe9)],'height':this['height'],'strokeWidth':_0x38e44d,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x12e077(0x267)]}),this[_0x12e077(0x2e4)]&&(_0x4bf652['save'](),_0x4bf652[_0x12e077(0x148)](0x1,0x0,0x0,0x1,this[_0x12e077(0xe9)],this[_0x12e077(0x253)]===_0x12e077(0xa3)?0x0:-_0x185196),_0x4c8a0e[_0x12e077(0x20a)](_0x4bf652,{'text':this['_name'],'color':this[_0x12e077(0x139)]}),_0x4bf652[_0x12e077(0x132)]());}}var _0x67abdb=Object[_0x30a38d(0x185)],_0x198ee9=(_0x4e4a4c,_0x1a6d51,_0x1b09d3,_0x100918)=>{const _0x14a1e8=_0x30a38d;for(var _0x257901=_0x100918>0x1?void 0x0:_0x100918?_0x67abdb(_0x1a6d51,_0x1b09d3):_0x1a6d51,_0x206fd2=_0x4e4a4c[_0x14a1e8(0x2bc)]-0x1,_0x3e7f96;_0x206fd2>=0x0;_0x206fd2--)(_0x3e7f96=_0x4e4a4c[_0x206fd2])&&(_0x257901=_0x3e7f96(_0x257901)||_0x257901);return _0x257901;},_0x85c45=(_0x47aa7e,_0x33035c)=>(_0x135534,_0x5e6a16)=>_0x33035c(_0x135534,_0x5e6a16,_0x47aa7e);const _0x33e8da=0x1389;let _0x3640b4=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x5234d7,_0x204825,_0x2db265,_0xf9e425){const _0x3e008b=_0x30a38d;super(),_0x2f0bfd(this,_0x3e008b(0x218),new Set()),_0x2f0bfd(this,'_lastPointer',null),(this['_context']=_0x5234d7,this[_0x3e008b(0xf6)]=_0x204825,this['_collabCursorController']=_0x2db265,this[_0x3e008b(0x1bd)]=_0xf9e425,this['_init']());}[_0x30a38d(0x17f)](){const _0xc06c55=_0x30a38d;this[_0xc06c55(0xf6)][_0xc06c55(0x74)][_0xc06c55(0x7e)](_0x2d50e0['takeUntil'](this['dispose$']),_0x2d50e0[_0xc06c55(0x199)](_0x443e6a=>{const _0x33a339=_0xc06c55;if(_0x443e6a){const _0xafb38c=_0x443e6a[_0x33a339(0x202)];return _0x54e142['combineLatest'](this[_0x33a339(0x265)]['getCollabCursors$'](this[_0x33a339(0x2ba)][_0x33a339(0x2e6)]),this['_themeService'][_0x33a339(0x80)])[_0x33a339(0x7e)](_0x2d50e0[_0x33a339(0x295)](([_0x10d729,_0x1d76d0])=>{const _0x28f26f=_0x33a339,_0x1b7761=new Map();return _0x10d729[_0x28f26f(0x280)]((_0x3b06d3,_0x58355d)=>{const _0x517202=_0x28f26f;if(_0x3b06d3[_0x517202(0xe3)]===_0xafb38c){const _0x3c7a25={..._0x3b06d3};_0x3c7a25['color']=this[_0x517202(0x1bd)][_0x517202(0xb5)](_0x3b06d3[_0x517202(0xc7)]),_0x1b7761[_0x517202(0x273)](_0x58355d,_0x3c7a25);}}),{'skeleton':_0x443e6a,'cursors':_0x1b7761};}));}return _0x54e142['of']({'skeleton':null,'cursors':new Map()});}))[_0xc06c55(0x204)](({skeleton:_0x4ac93c,cursors:_0x2113aa})=>{const _0x4b86b7=_0xc06c55;this[_0x4b86b7(0x1fe)](),_0x4ac93c&&this[_0x4b86b7(0x1e0)](_0x4ac93c,_0x2113aa);}),this[_0xc06c55(0xf6)][_0xc06c55(0x74)][_0xc06c55(0x204)](_0x5e972c=>{const _0x176c69=_0xc06c55;if(_0x5e972c==null)return;const {skeleton:_0x2c18cd}=_0x5e972c,{scene:_0x44fc4b}=this['_context'];_0x44fc4b[_0x176c69(0x1dc)][_0x176c69(0x29f)](_0x40cffd[_0x176c69(0x2e2)](_0xdd20d2=>{const _0x26d232=_0x176c69;var _0x27cfd3,_0x51507b;const {offsetX:_0x1943c9,offsetY:_0x56e8c1}=_0xdd20d2,{x:_0x40e0dd,y:_0x58b0d6}=_0x44fc4b[_0x26d232(0x183)](_0x1959b6['Vector2']['FromArray']([_0x1943c9,_0x56e8c1])),{scaleX:_0x1c9e84,scaleY:_0x1fac80}=_0x44fc4b[_0x26d232(0x138)](),_0x10fff4=_0x44fc4b['getViewport'](_0x1959b6[_0x26d232(0xea)][_0x26d232(0xf0)]),_0x2bcf7b=_0x44fc4b['getVpScrollXYInfoByPosToVp'](_0x1959b6[_0x26d232(0x1fd)][_0x26d232(0x191)]([_0x40e0dd,_0x58b0d6]),_0x10fff4),_0x47f2c1=_0x2c18cd[_0x26d232(0x16a)](_0x1943c9,_0x56e8c1,_0x1c9e84,_0x1fac80,_0x2bcf7b);((_0x27cfd3=this['_lastPointer'])==null?void 0x0:_0x27cfd3['column'])===_0x47f2c1['column']&&((_0x51507b=this[_0x26d232(0x29d)])==null?void 0x0:_0x51507b[_0x26d232(0x21d)])===_0x47f2c1[_0x26d232(0x21d)]||this[_0x26d232(0x218)][_0x26d232(0x280)](_0xce7302=>{const _0x2448ad=_0x26d232;_0xce7302[_0x2448ad(0x1f3)](_0x47f2c1);});},0x64));});}[_0x30a38d(0x1e0)](_0x1531ca,_0x45e456){const _0x384b7a=_0x30a38d;var _0x4c2e53;const _0x3b24e5=(_0x4c2e53=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x4c2e53['skeleton'];if(!_0x3b24e5)return;const _0x781fb2=this[_0x384b7a(0x18d)]();if(!_0x781fb2)return;this[_0x384b7a(0x218)][_0x384b7a(0x280)](_0x206e3a=>{_0x206e3a['makeDirty']();});const {scene:_0x4e3319}=_0x781fb2,_0x40b616=_0xb6ea60(Array[_0x384b7a(0x14b)](_0x45e456[_0x384b7a(0x2a2)]()))[_0x384b7a(0x295)](_0x4e7b22=>{const _0x5d3bb0=_0x384b7a,{color:_0x2f9842,range:_0x3fdd11,name:_0x175937,selection:_0x24cd03,sheetID:_0xbfee97}=_0x4e7b22,{startColumn:_0x3e2af6,startRow:_0x427018,endColumn:_0x115cd1,endRow:_0x2ba64e}=_0x3fdd11,_0x124fa1=_0x3acab1['getCoordByCell'](_0x427018,_0x3e2af6,_0x4e3319,_0x3b24e5),_0x549d5b=_0x3acab1[_0x5d3bb0(0x2c0)](_0x2ba64e,_0x115cd1,_0x4e3319,_0x3b24e5),{columnHeaderHeightAndMarginTop:_0x1ec69c}=_0x3b24e5,{startX:_0x90e804,startY:_0x4009a0}=_0x124fa1,{endX:_0x5b0e27,endY:_0x1a51de}=_0x549d5b,_0x46d703=_0x5b0e27-_0x90e804,_0x4c03d4=_0x1a51de-_0x4009a0,_0x4b1413={'labelPosition':_0x4009a0-_0x1ec69c>=_0x185196?'top':_0x5d3bb0(0xa3),'sheetID':_0xbfee97,'range':_0x3fdd11,'color':_0x2f9842,'name':_0x175937,'selection':_0x24cd03,'left':_0x90e804,'top':_0x4009a0,'width':_0x46d703,'height':_0x4c03d4,'evented':!0x1,'zIndex':_0x33e8da};return new _0x49abc9(_0x175937,_0x4b1413);});_0x4e3319[_0x384b7a(0x16b)](_0x40b616,_0x43057a),this['_cursors']=new Set(_0x40b616);}[_0x30a38d(0x1fe)](){const _0x36d949=_0x30a38d;var _0x321519;(_0x321519=this[_0x36d949(0x218)])==null||_0x321519[_0x36d949(0x280)](_0x51691e=>_0x51691e[_0x36d949(0x266)]());}[_0x30a38d(0x18d)](){const _0x33a1cd=_0x30a38d;return _0x3acab1[_0x33a1cd(0x1c2)](this[_0x33a1cd(0x2ba)][_0x33a1cd(0x76)],this['_context']);}};_0x3640b4=_0x198ee9([_0x85c45(0x1,_0x40cffd[_0x30a38d(0x243)](_0x3acab1[_0x30a38d(0x134)])),_0x85c45(0x2,_0x40cffd['Inject'](_0xb8038)),_0x85c45(0x3,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1fc)]))],_0x3640b4);function _0xb6ea60(_0x251ad7){const _0x9aad2a=_0x30a38d,_0x48099e=new Map();return _0x251ad7[_0x9aad2a(0x280)](_0xcd3c45=>{const _0x164854=_0x9aad2a;if(_0x48099e[_0x164854(0x2ea)](_0xcd3c45[_0x164854(0x1fa)])){const _0xc74ebc=_0x48099e[_0x164854(0x2cf)](_0xcd3c45[_0x164854(0x1fa)]);_0xc74ebc[_0x164854(0x174)]+=',\x20'+_0xcd3c45['name'];}else _0x48099e[_0x164854(0x273)](_0xcd3c45[_0x164854(0x1fa)],_0xcd3c45);}),Array[_0x9aad2a(0x14b)](_0x48099e[_0x9aad2a(0x2a2)]());}var _0x3c3ace=Object['getOwnPropertyDescriptor'],_0x213ac1=(_0x53b444,_0xc3c40c,_0x14bf3f,_0x102ada)=>{for(var _0x4139ca=_0x102ada>0x1?void 0x0:_0x102ada?_0x3c3ace(_0xc3c40c,_0x14bf3f):_0xc3c40c,_0x344490=_0x53b444['length']-0x1,_0xb54947;_0x344490>=0x0;_0x344490--)(_0xb54947=_0x53b444[_0x344490])&&(_0x4139ca=_0xb54947(_0x4139ca)||_0x4139ca);return _0x4139ca;},_0x2c17ba=(_0x291765,_0x3c3b5f)=>(_0x38dd13,_0x22037c)=>_0x3c3b5f(_0x38dd13,_0x22037c,_0x291765);let _0x37771c=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x365651,_0xd9c8d5,_0xbdee2f,_0x3484ec,_0x9978c3,_0x2f51cc){const _0x3da8ab=_0x30a38d;super(),this['_beforeCloseService']=_0x365651,this['_localCacheService']=_0xd9c8d5,this[_0x3da8ab(0x1b1)]=_0xbdee2f,this[_0x3da8ab(0xf9)]=_0x3484ec,this[_0x3da8ab(0x8f)]=_0x9978c3,this[_0x3da8ab(0x1f1)]=_0x2f51cc,this[_0x3da8ab(0x177)](),this[_0x3da8ab(0xde)]();}[_0x30a38d(0x177)](){const _0x1419b4=_0x30a38d;this['disposeWithMe'](this['_beforeCloseService'][_0x1419b4(0xe5)](()=>{const _0xb2e5e5=_0x1419b4;if(this[_0xb2e5e5(0x130)][_0xb2e5e5(0x290)]['size'])return this[_0xb2e5e5(0x1f1)]['t'](_0xb2e5e5(0x17e));}));}[_0x30a38d(0xde)](){const _0x87f3e7=_0x30a38d;this[_0x87f3e7(0x1ce)](this[_0x87f3e7(0x1b1)][_0x87f3e7(0x16e)][_0x87f3e7(0x204)](_0x4b6e56=>{const _0x14445a=_0x87f3e7;_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0xa7)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d['MessageType']['Warning'],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x1c1))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)][_0x14445a(0x11a)]&&this['_messageService'][_0x14445a(0x20e)]({'type':_0x53251d['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0xc6)]&&this[_0x14445a(0x8f)]['show']({'title':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x2b1)),'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x154)),'type':_0x14445a(0x274),'duration':0x0}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0x21a)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d['MessageType'][_0x14445a(0x179)],'content':this[_0x14445a(0x1f1)]['t']('collaboration.closeRoom')+'('+_0x4b6e56['data']+')'}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)]['JOIN_ROOM_FAILED']&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x127)],'content':this[_0x14445a(0x1f1)]['t'](_0x4b6e56[_0x14445a(0x11c)]||'')}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0x2b3)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x127)],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x1e6))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)][_0x14445a(0x161)]&&this[_0x14445a(0xf9)]['show']({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x179)],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0xcf))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x14445a(0xf9)]['show']({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x179)],'content':this['_localeService']['t'](_0x14445a(0x2fd))});}));}};_0x37771c=_0x213ac1([_0x2c17ba(0x0,_0xce7937['IBeforeCloseService']),_0x2c17ba(0x1,_0x381b64[_0x30a38d(0x26d)]),_0x2c17ba(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationUIEventService'])),_0x2c17ba(0x3,_0xce7937[_0x30a38d(0x178)]),_0x2c17ba(0x4,_0xce7937['INotificationService']),_0x2c17ba(0x5,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x20f)]))],_0x37771c);const _0x4c8643=_0x30a38d(0x28f),_0x18c05a={};var _0x45ec85=Object['getOwnPropertyDescriptor'],_0x1c323c=(_0x559b60,_0x2784a9,_0x520ad1,_0x5281ee)=>{for(var _0x1fa5b9=_0x5281ee>0x1?void 0x0:_0x5281ee?_0x45ec85(_0x2784a9,_0x520ad1):_0x2784a9,_0x302611=_0x559b60['length']-0x1,_0x1453cc;_0x302611>=0x0;_0x302611--)(_0x1453cc=_0x559b60[_0x302611])&&(_0x1fa5b9=_0x1453cc(_0x1fa5b9)||_0x1fa5b9);return _0x1fa5b9;},_0x596652=(_0x9300d4,_0x474195)=>(_0x40851e,_0x4790ab)=>_0x474195(_0x40851e,_0x4790ab,_0x9300d4);let _0x49edda=class{constructor(_0xddf582,_0x17ed06){const _0xee7f1d=_0x30a38d;this[_0xee7f1d(0x262)]=_0xddf582,this[_0xee7f1d(0x23a)]=_0x17ed06;}[_0x30a38d(0x107)](_0x46c839){const _0x572c50=_0x30a38d;this[_0x572c50(0x1f8)](_0x46c839),this[_0x572c50(0x6b)](_0x46c839);}[_0x30a38d(0x6d)](_0x32040d){const _0x1d65ce=_0x30a38d,{unitID:_0x288744}=_0x32040d,_0x6af470=this[_0x1d65ce(0x23a)][_0x1d65ce(0x23e)](_0x288744)[_0x1d65ce(0x293)](_0x2d3f57[_0x1d65ce(0x2f0)]),{redoCache:_0x47a943}=_0x6af470[_0x1d65ce(0x2e3)]();if(_0x47a943[_0x1d65ce(0x2bc)]===0x0)return _0x32040d;let _0x14eaf1=_0x40cffd[_0x1d65ce(0x85)][_0x1d65ce(0x12d)](_0x32040d[_0x1d65ce(0x116)][0x0]);for(let _0x10fe9e=0x0;_0x10fe9e<_0x47a943[_0x1d65ce(0x2bc)];_0x10fe9e++){const _0x18a36c={'id':_0x1d65ce(0x1e7),'params':{..._0x47a943[_0x10fe9e]}},_0x416de7=this[_0x1d65ce(0x262)]['transformMutation'](_0x14eaf1,_0x18a36c,!0x1);if(_0x2146ab['isTransformMutationFailure'](_0x416de7))throw _0x416de7[_0x1d65ce(0x274)];_0x14eaf1=_0x416de7[_0x1d65ce(0x68)];}return{..._0x40cffd['Tools'][_0x1d65ce(0x12d)](_0x32040d),'mutations':[_0x14eaf1]};}['_transformUndoRedoStack'](_0x374c33){const _0x355ac1=_0x30a38d,{unitID:_0x53c69d}=_0x374c33,_0x4b75a5=this['_renderManagerService'][_0x355ac1(0x23e)](_0x53c69d)[_0x355ac1(0x293)](_0x2d3f57['DocIMEInputManagerService']),{undoCache:_0xe92cb4,redoCache:_0x3a21d6}=_0x4b75a5['getUndoRedoMutationParamsCache']();if(_0xe92cb4[_0x355ac1(0x2bc)]===0x0||_0x3a21d6['length']===0x0)return;const _0x13ceae=[],_0x3bbac9=[];let _0x2b1824=_0x40cffd['Tools'][_0x355ac1(0x12d)](_0x374c33[_0x355ac1(0x116)][0x0]),_0x44d511=_0x40cffd[_0x355ac1(0x85)][_0x355ac1(0x12d)](_0x374c33['mutations'][0x0]);for(let _0x2867bf=_0xe92cb4[_0x355ac1(0x2bc)]-0x1;_0x2867bf>=0x0;_0x2867bf--){const _0x4c1aae={'id':'doc.mutation.rich-text-editing','params':{..._0xe92cb4[_0x2867bf]}},_0x53867c={'id':_0x355ac1(0x1e7),'params':{..._0x3a21d6[_0x2867bf]}},_0x2b1539=this[_0x355ac1(0x262)]['transformMutation'](_0x2b1824,_0x4c1aae,!0x1),_0xe221e1=this[_0x355ac1(0x262)][_0x355ac1(0xe6)](_0x44d511,_0x53867c,!0x1);if(_0x2146ab[_0x355ac1(0x28d)](_0x2b1539))throw _0x2b1539[_0x355ac1(0x274)];if(_0x2146ab[_0x355ac1(0x28d)](_0xe221e1))throw _0xe221e1[_0x355ac1(0x274)];_0x13ceae['unshift'](_0x2b1539['m2Prime']['params']),_0x3bbac9[_0x355ac1(0x13a)](_0xe221e1[_0x355ac1(0x214)][_0x355ac1(0xec)]),_0x2b1824=_0x2b1539['m1Prime'],_0x44d511=_0xe221e1[_0x355ac1(0x68)];}_0x4b75a5[_0x355ac1(0x297)]({'undoCache':_0x13ceae,'redoCache':_0x3bbac9});}['_transformPreviousActiveRange'](_0xd311e9){const _0x23c3d5=_0x30a38d,{unitID:_0x145364}=_0xd311e9,_0x178185=this[_0x23c3d5(0x23a)][_0x23c3d5(0x23e)](_0x145364)[_0x23c3d5(0x293)](_0x2d3f57[_0x23c3d5(0x2f0)]),_0x3b8f24=_0x178185['getActiveRange']();if(_0x3b8f24==null)return;const _0x6e2d95=[{'id':_0x23c3d5(0x1e7),'params':{'unitId':_0xd311e9['unitID'],'actions':null,'textRanges':[_0x3b8f24]}}],_0x207e7c=this[_0x23c3d5(0x262)][_0x23c3d5(0x275)](_0xd311e9,_0x6e2d95);if(!_0x2146ab['isTransformMutationsWithChangesetSuccess'](_0x207e7c))throw _0x207e7c[_0x23c3d5(0x274)];const _0x57127e=_0x207e7c['m2Prime'][0x0][_0x23c3d5(0xec)][_0x23c3d5(0x103)];Array[_0x23c3d5(0x27e)](_0x57127e)&&_0x57127e[_0x23c3d5(0x2bc)]&&_0x178185[_0x23c3d5(0x27a)](_0x57127e[0x0]);}};_0x49edda=_0x1c323c([_0x596652(0x0,_0x2146ab[_0x30a38d(0x1b5)]),_0x596652(0x1,_0x1959b6[_0x30a38d(0x2ee)])],_0x49edda);var _0x35df81=Object[_0x30a38d(0x185)],_0x5dab2a=(_0x4185c7,_0x38f819,_0x45e8e1,_0x54ab24)=>{const _0x542be8=_0x30a38d;for(var _0x27ba69=_0x54ab24>0x1?void 0x0:_0x54ab24?_0x35df81(_0x38f819,_0x45e8e1):_0x38f819,_0xfc4c3c=_0x4185c7[_0x542be8(0x2bc)]-0x1,_0x3342f5;_0xfc4c3c>=0x0;_0xfc4c3c--)(_0x3342f5=_0x4185c7[_0xfc4c3c])&&(_0x27ba69=_0x3342f5(_0x27ba69)||_0x27ba69);return _0x27ba69;},_0x475c57=(_0x50c7fa,_0x384467)=>(_0x1c9e77,_0x725405)=>_0x384467(_0x1c9e77,_0x725405,_0x50c7fa);let _0x135e91=class{constructor(_0x18ebff,_0x3007ca,_0x3c40be){const _0x54a781=_0x30a38d;this[_0x54a781(0xed)]=_0x18ebff,this[_0x54a781(0x262)]=_0x3007ca,this[_0x54a781(0x271)]=_0x3c40be;}[_0x30a38d(0x2d6)](_0x7f6d56){this['_transformHistoryAndStateStack'](_0x7f6d56);}[_0x30a38d(0x6d)](_0x1b116a){const _0x5570c5=_0x30a38d,{unitID:_0x203624}=_0x1b116a,{collaboration:_0x5e58bc}=this[_0x5570c5(0x271)][_0x5570c5(0x2cb)](_0x203624);if(_0x5e58bc[_0x5570c5(0x2bc)]===0x0)return _0x1b116a;let _0x35632e=_0x40cffd[_0x5570c5(0x85)]['deepClone'](_0x1b116a[_0x5570c5(0x116)][0x0]);for(let _0x243cff=0x0;_0x243cff<_0x5e58bc[_0x5570c5(0x2bc)];_0x243cff++){const _0x53301c={'id':_0x5570c5(0x1e7),'params':{'unitId':_0x5e58bc[_0x243cff][_0x5570c5(0x2e6)],..._0x5e58bc[_0x243cff]['redoState']}},_0x5a680a=this[_0x5570c5(0x262)]['transformMutation'](_0x35632e,_0x53301c,!0x1);if(_0x2146ab[_0x5570c5(0x28d)](_0x5a680a))throw _0x5a680a[_0x5570c5(0x274)];_0x35632e=_0x5a680a[_0x5570c5(0x68)];}return{..._0x40cffd[_0x5570c5(0x85)]['deepClone'](_0x1b116a),'mutations':[_0x35632e]};}[_0x30a38d(0x232)](_0x49c29e){const _0x4a6926=_0x30a38d,{unitID:_0xd5864a}=_0x49c29e,{history:_0x22a931,collaboration:_0x18e0a0}=this[_0x4a6926(0x271)][_0x4a6926(0x2cb)](_0xd5864a);if(_0x22a931[_0x4a6926(0x2bc)]===0x0&&_0x18e0a0['length']===0x0)return;const _0x18ac8f=[],_0x55e0d3=[];let _0x55ea6e=_0x40cffd[_0x4a6926(0x85)]['deepClone'](_0x49c29e['mutations'][0x0]),_0x46eeb3=_0x40cffd[_0x4a6926(0x85)][_0x4a6926(0x12d)](_0x49c29e[_0x4a6926(0x116)][0x0]);for(let _0x619bb9=_0x22a931[_0x4a6926(0x2bc)]-0x1;_0x619bb9>=0x0;_0x619bb9--){const _0x2a416d={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x22a931[_0x619bb9][_0x4a6926(0x2e6)],..._0x22a931[_0x619bb9][_0x4a6926(0x20b)]}},_0x59ea9b={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x22a931[_0x619bb9][_0x4a6926(0x2e6)],..._0x22a931[_0x619bb9][_0x4a6926(0xd8)]}},_0x2f8592=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x55ea6e,_0x2a416d,!0x1),_0x4c2391=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x46eeb3,_0x59ea9b,!0x1);if(_0x2146ab[_0x4a6926(0x28d)](_0x2f8592))throw _0x2f8592[_0x4a6926(0x274)];if(_0x2146ab[_0x4a6926(0x28d)](_0x4c2391))throw _0x4c2391[_0x4a6926(0x274)];_0x18ac8f['unshift']({..._0x22a931[_0x619bb9],'undoState':_0x2f8592[_0x4a6926(0x214)]['params'],'redoState':_0x4c2391['m2Prime'][_0x4a6926(0xec)]}),_0x55ea6e=_0x2f8592[_0x4a6926(0x68)],_0x46eeb3=_0x4c2391[_0x4a6926(0x68)];}_0x55ea6e=_0x40cffd['Tools'][_0x4a6926(0x12d)](_0x49c29e[_0x4a6926(0x116)][0x0]),_0x46eeb3=_0x40cffd[_0x4a6926(0x85)][_0x4a6926(0x12d)](_0x49c29e['mutations'][0x0]);for(let _0x4a8321=_0x18e0a0['length']-0x1;_0x4a8321>=0x0;_0x4a8321--){const _0x549e2f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18e0a0[_0x4a8321]['unitId'],..._0x18e0a0[_0x4a8321][_0x4a6926(0x20b)]}},_0x12b039={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x18e0a0[_0x4a8321][_0x4a6926(0x2e6)],..._0x18e0a0[_0x4a8321][_0x4a6926(0xd8)]}},_0x4d7383=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x55ea6e,_0x549e2f,!0x1),_0x452a0e=this[_0x4a6926(0x262)]['transformMutation'](_0x46eeb3,_0x12b039,!0x1);if(_0x2146ab[_0x4a6926(0x28d)](_0x4d7383))throw _0x4d7383[_0x4a6926(0x274)];if(_0x2146ab['isTransformMutationFailure'](_0x452a0e))throw _0x452a0e[_0x4a6926(0x274)];_0x55e0d3[_0x4a6926(0x13a)]({..._0x18e0a0[_0x4a8321],'undoState':_0x4d7383[_0x4a6926(0x214)][_0x4a6926(0xec)],'redoState':_0x452a0e[_0x4a6926(0x214)]['params']}),_0x55ea6e=_0x4d7383[_0x4a6926(0x68)],_0x46eeb3=_0x452a0e[_0x4a6926(0x68)];}this[_0x4a6926(0x271)]['setStateCache'](_0xd5864a,{'history':_0x18ac8f,'collaboration':_0x55e0d3});}};_0x135e91=_0x5dab2a([_0x475c57(0x0,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x475c57(0x1,_0x2146ab[_0x30a38d(0x1b5)]),_0x475c57(0x2,_0x40cffd[_0x30a38d(0x243)](_0x2d3f57[_0x30a38d(0x1cd)]))],_0x135e91);var _0x258f18=Object['getOwnPropertyDescriptor'],_0x33a67f=(_0x214ebd,_0x2b4754,_0x48f424,_0xee8fc1)=>{const _0x4a5c5c=_0x30a38d;for(var _0x8c5c9b=_0xee8fc1>0x1?void 0x0:_0xee8fc1?_0x258f18(_0x2b4754,_0x48f424):_0x2b4754,_0x3cb15b=_0x214ebd[_0x4a5c5c(0x2bc)]-0x1,_0x297c55;_0x3cb15b>=0x0;_0x3cb15b--)(_0x297c55=_0x214ebd[_0x3cb15b])&&(_0x8c5c9b=_0x297c55(_0x8c5c9b)||_0x8c5c9b);return _0x8c5c9b;},_0x458210=(_0x5b0538,_0x1654ea)=>(_0x4627c6,_0x9bf623)=>_0x1654ea(_0x4627c6,_0x9bf623,_0x5b0538);let _0x5c4319=class{constructor(_0x5308c8,_0x4ee401){const _0x462398=_0x30a38d;this[_0x462398(0xed)]=_0x5308c8,this[_0x462398(0x262)]=_0x4ee401;}[_0x30a38d(0x256)](_0x5f2d25){const _0x31c79d=_0x30a38d;var _0x5feb77;const _0x427fc2=this[_0x31c79d(0xed)][_0x31c79d(0x2cf)](_0x3bcff7[_0x31c79d(0x170)]),_0x5d2a57=(_0x5feb77=_0x427fc2[_0x31c79d(0x25b)]())!=null?_0x5feb77:[];if(_0x5d2a57['length']===0x0)return;const _0xd07569=_0x5f2d25[_0x31c79d(0xaa)],_0x110df7=[{'id':_0x31c79d(0x1e7),'params':{'unitId':_0xd07569,'actions':null,'textRanges':_0x5d2a57}}],_0x2ab53e=this[_0x31c79d(0x262)][_0x31c79d(0x275)](_0x5f2d25,_0x110df7);if(!_0x2146ab['isTransformMutationsWithChangesetSuccess'](_0x2ab53e))throw _0x2ab53e['error'];const _0x3f1581=_0x2ab53e['m2Prime'][0x0][_0x31c79d(0xec)]['textRanges'];Array['isArray'](_0x3f1581)&&_0x3f1581['length']&&_0x427fc2[_0x31c79d(0x2a0)](_0x3f1581,{'unitId':_0xd07569,'subUnitId':_0xd07569},!0x1);}};_0x5c4319=_0x33a67f([_0x458210(0x0,_0x40cffd[_0x30a38d(0x243)](_0x40cffd[_0x30a38d(0x1ec)])),_0x458210(0x1,_0x2146ab[_0x30a38d(0x1b5)])],_0x5c4319);var _0x50c16a=Object[_0x30a38d(0x185)],_0x1abaf7=(_0x5e6343,_0xe16361,_0xeb647a,_0x5da84b)=>{const _0x1a353b=_0x30a38d;for(var _0x27fb77=_0x5da84b>0x1?void 0x0:_0x5da84b?_0x50c16a(_0xe16361,_0xeb647a):_0xe16361,_0xe58af6=_0x5e6343[_0x1a353b(0x2bc)]-0x1,_0x1fc939;_0xe58af6>=0x0;_0xe58af6--)(_0x1fc939=_0x5e6343[_0xe58af6])&&(_0x27fb77=_0x1fc939(_0x27fb77)||_0x27fb77);return _0x27fb77;},_0x3f3de0=(_0x383a88,_0x2ad1c4)=>(_0x5185bc,_0x2b1577)=>_0x2ad1c4(_0x5185bc,_0x2b1577,_0x383a88);let _0x3a02ed=class extends _0x40cffd['Disposable']{constructor(_0x3c3647,_0x1bd698,_0x467b04,_0x13cb04,_0x3d6517,_0x4b2b45,_0x4303f0,_0x227807){const _0x35cde4=_0x30a38d;super(),_0x2f0bfd(this,_0x35cde4(0x17d),new _0x54e142[(_0x35cde4(0x1aa))](_0x381b64['CollaborationStatus'][_0x35cde4(0x163)])),(this[_0x35cde4(0x271)]=_0x3c3647,this[_0x35cde4(0x112)]=_0x1bd698,this[_0x35cde4(0xfe)]=_0x467b04,this['_docTransformStateCacheService']=_0x13cb04,this[_0x35cde4(0x69)]=_0x3d6517,this[_0x35cde4(0x9f)]=_0x4b2b45,this[_0x35cde4(0xf9)]=_0x4303f0,this[_0x35cde4(0x1f1)]=_0x227807,this['_initEntityListener']());}[_0x30a38d(0xd3)](){const _0x113f8d=_0x30a38d;this[_0x113f8d(0x1ce)](this['_collaborationController'][_0x113f8d(0x245)][_0x113f8d(0x204)](_0x5f0645=>{const _0xcffb42=_0x113f8d,_0x3b4a32=this['_docStateChangeManagerService'][_0xcffb42(0xc3)][_0xcffb42(0x204)](_0x31da6f=>{const _0x4e2cd9=_0xcffb42;if(_0x31da6f==null)return;const {unitId:_0x39090e,redoState:_0x2b5323,commandId:_0x1bba54}=_0x31da6f;if(_0x39090e!==_0x5f0645[_0x4e2cd9(0xaa)])return;const _0x1315ee={'id':_0x1bba54,'type':_0x40cffd[_0x4e2cd9(0x27f)][_0x4e2cd9(0x133)],'params':{'unitId':_0x39090e,'actions':_0x2b5323[_0x4e2cd9(0x2e5)],'textRanges':null}};_0x5f0645[_0x4e2cd9(0x2c4)](_0x1315ee);});if(_0x5f0645['disposeWithMe'](_0x3b4a32),_0x5f0645 instanceof _0x381b64['DocCollaborationEntity']){const _0x4c5b0a={'onTransformIME':_0x16f174=>this[_0xcffb42(0xfe)][_0xcffb42(0x107)](_0x16f174),'onTransformState':_0x333bcd=>this[_0xcffb42(0x1b2)][_0xcffb42(0x2d6)](_0x333bcd),'onTransformSelections':_0x5256b1=>this['_docTransformSelectionsService']['transformSelections'](_0x5256b1),'onSyncEditingCollabCursor':_0x1d23cb=>this[_0xcffb42(0x9f)][_0xcffb42(0x1ed)](_0x1d23cb),'onTransformRemoteChangesetByIMECache':_0x2eae0e=>this[_0xcffb42(0xfe)]['transformRemoteChangeset'](_0x2eae0e),'onTransformRemoteChangesetByStateCache':_0x549919=>this['_docTransformStateCacheService'][_0xcffb42(0x6d)](_0x549919)};_0x5f0645[_0xcffb42(0x2c7)](_0x4c5b0a);}}));}};_0x3a02ed=_0x1abaf7([_0x3f3de0(0x0,_0x40cffd[_0x30a38d(0x243)](_0x2d3f57['DocStateChangeManagerService'])),_0x3f3de0(0x1,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationController'])),_0x3f3de0(0x2,_0x40cffd['Inject'](_0x49edda)),_0x3f3de0(0x3,_0x40cffd[_0x30a38d(0x243)](_0x135e91)),_0x3f3de0(0x4,_0x40cffd[_0x30a38d(0x243)](_0x5c4319)),_0x3f3de0(0x5,_0x40cffd['Inject'](_0x317e7c)),_0x3f3de0(0x6,_0xce7937[_0x30a38d(0x178)]),_0x3f3de0(0x7,_0x40cffd[_0x30a38d(0x243)](_0x40cffd[_0x30a38d(0x20f)]))],_0x3a02ed);var _0xfcdaac=Object[_0x30a38d(0x185)],_0x205948=(_0x27a77d,_0x242656,_0x4b8f21,_0x5bf2f0)=>{for(var _0x133ab1=_0x5bf2f0>0x1?void 0x0:_0x5bf2f0?_0xfcdaac(_0x242656,_0x4b8f21):_0x242656,_0x5bbd22=_0x27a77d['length']-0x1,_0x25b4bb;_0x5bbd22>=0x0;_0x5bbd22--)(_0x25b4bb=_0x27a77d[_0x5bbd22])&&(_0x133ab1=_0x25b4bb(_0x133ab1)||_0x133ab1);return _0x133ab1;},_0x1b1c7c=(_0x16a5ea,_0x73b1da)=>(_0x45907d,_0x3d983b)=>_0x73b1da(_0x45907d,_0x3d983b,_0x16a5ea);let _0x4eba2f=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x33e7ad,_0x39cf95,_0x254c58){const _0x337178=_0x30a38d;super(),_0x2f0bfd(this,'_cachedData',new Map()),_0x2f0bfd(this,_0x337178(0x1ef),new Map()),_0x2f0bfd(this,_0x337178(0xa0),!0x1),(this[_0x337178(0x94)]=_0x33e7ad,this['_localStorageService']=_0x39cf95,this[_0x337178(0x2f5)]=_0x254c58);}[_0x30a38d(0x2bb)](){const _0x2747af=_0x30a38d;this[_0x2747af(0xa0)]=!0x0;}[_0x30a38d(0xb6)](){const _0x5efa27=_0x30a38d;this[_0x5efa27(0xa0)]=!0x1;}get['saveTaskMap'](){const _0x15bfad=_0x30a38d;return this[_0x15bfad(0x1ef)];}[_0x30a38d(0x266)](){const _0x21dede=_0x30a38d;this[_0x21dede(0x226)]()[_0x21dede(0x28a)](()=>super[_0x21dede(0x266)]());}async[_0x30a38d(0x8e)](_0x3de7ee){const _0x407832=_0x30a38d;return this[_0x407832(0xa0)]?null:this[_0x407832(0x272)][_0x407832(0x2f8)](_0x381b64[_0x407832(0xd5)](_0x3de7ee));}async[_0x30a38d(0x1e1)](_0x22a475,_0x237118){const _0x27a5e5=_0x30a38d;return!!this[_0x27a5e5(0x272)][_0x27a5e5(0x2d3)](_0x22a475,_0x237118);}[_0x30a38d(0xd4)](_0x12bd22,_0x2e4254,_0x82d251,_0x2cf5f3){const _0x339069=_0x30a38d,_0xdd700c=this[_0x339069(0x2f5)][_0x339069(0x22f)](_0x12bd22);this['_cachedData'][_0x339069(0x273)](_0x12bd22,{'unitID':_0x12bd22,'type':_0x2e4254,'awaitingChangeset':_0x82d251,'mutations':_0x2cf5f3,'rev':_0xdd700c}),this[_0x339069(0x1ef)][_0x339069(0x2ea)](_0x12bd22)||this[_0x339069(0x2c9)](_0x12bd22);}['_scheduleSaving'](_0x4d0f7a){const _0xdd37b=_0x30a38d,_0x36c053=this['_getSaveTimeout']();_0x36c053===0x0?this['_saveCache'](_0x4d0f7a):this[_0xdd37b(0x1ef)][_0xdd37b(0x273)](_0x4d0f7a,setTimeout(()=>this[_0xdd37b(0x261)](_0x4d0f7a),_0x36c053));}[_0x30a38d(0x79)](){const _0x1e2c84=_0x30a38d;var _0x53ac83;return(_0x53ac83=this[_0x1e2c84(0x94)][_0x1e2c84(0x1cb)](_0x381b64[_0x1e2c84(0x10f)]))!=null?_0x53ac83:_0x381b64['LOCAL_CACHE_INTERVAL'];}[_0x30a38d(0x261)](_0x2d44e0){const _0x460b94=_0x30a38d,_0x4873dd=this[_0x460b94(0x1ef)]['get'](_0x2d44e0);return _0x4873dd!==void 0x0&&window[_0x460b94(0x25c)](_0x4873dd),this['_localStorageService'][_0x460b94(0x2d3)](_0x381b64[_0x460b94(0xd5)](_0x2d44e0),this[_0x460b94(0x25e)]['get'](_0x2d44e0))[_0x460b94(0x28a)](()=>this[_0x460b94(0x1ef)][_0x460b94(0x1c6)](_0x2d44e0));}async['exhaustSavingTask'](){const _0x2dd48c=_0x30a38d,_0x441f00=[];this[_0x2dd48c(0x1ef)][_0x2dd48c(0x280)]((_0x16075c,_0x29c754)=>{const _0x23ca1f=_0x2dd48c;window[_0x23ca1f(0x25c)](_0x16075c),_0x441f00[_0x23ca1f(0x81)](this[_0x23ca1f(0x261)](_0x29c754)[_0x23ca1f(0x28a)](()=>{const _0x1bee15=_0x23ca1f;this['_saveTaskMap'][_0x1bee15(0x1c6)](_0x29c754);}));}),await Promise['all'](_0x441f00);}};_0x4eba2f=_0x205948([_0x1b1c7c(0x0,_0x40cffd[_0x30a38d(0x2b4)]),_0x1b1c7c(0x1,_0x40cffd[_0x30a38d(0x215)]),_0x1b1c7c(0x2,_0x40cffd[_0x30a38d(0x243)](_0x2146ab[_0x30a38d(0x1a6)]))],_0x4eba2f);class _0xf51b1 extends _0x40cffd[_0x30a38d(0x141)]{constructor(){const _0x596487=_0x30a38d;super(),_0x2f0bfd(this,'urlChange$'),this[_0x596487(0x2ef)]=_0x54e142[_0x596487(0x216)](window,_0x596487(0x1a1))[_0x596487(0x7e)](_0x54e142[_0x596487(0x1eb)](this['dispose$']),_0x54e142[_0x596487(0xc5)](0x1),_0x54e142[_0x596487(0x278)](void 0x0));}['setParam'](_0x1de176,_0x4a2ae2,_0x98ea80=!0x1){const _0x253561=_0x30a38d,_0x54ec2d=new URL(window[_0x253561(0x258)]['href']);_0x54ec2d['searchParams'][_0x253561(0x273)](_0x1de176,_0x4a2ae2),_0x98ea80?window[_0x253561(0x260)][_0x253561(0x15d)]('','',_0x54ec2d[_0x253561(0xcb)]()):window[_0x253561(0x260)][_0x253561(0x198)]('','',_0x54ec2d[_0x253561(0xcb)]());}['removeParam'](_0x47cf00,_0x3dbcc4=!0x1){const _0x5ef0e9=_0x30a38d,_0x50e9c1=new URL(window[_0x5ef0e9(0x258)][_0x5ef0e9(0x9c)]);_0x50e9c1[_0x5ef0e9(0xfc)][_0x5ef0e9(0x1c6)](_0x47cf00),_0x3dbcc4?window[_0x5ef0e9(0x260)][_0x5ef0e9(0x15d)]('','',_0x50e9c1['toString']()):window[_0x5ef0e9(0x260)][_0x5ef0e9(0x198)]('','',_0x50e9c1[_0x5ef0e9(0xcb)]());}['getParam'](_0x50116a){const _0x3e4a31=_0x30a38d;var _0xcfb450;return(_0xcfb450=new URL(window[_0x3e4a31(0x258)][_0x3e4a31(0x9c)])[_0x3e4a31(0xfc)][_0x3e4a31(0x2cf)](_0x50116a))!=null?_0xcfb450:void 0x0;}}var _0x4e592c=Object['defineProperty'],_0x1236e1=Object[_0x30a38d(0x185)],_0x3c5834=(_0x1cba7d,_0x1ec9c6,_0x150d2c)=>_0x1ec9c6 in _0x1cba7d?_0x4e592c(_0x1cba7d,_0x1ec9c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x150d2c}):_0x1cba7d[_0x1ec9c6]=_0x150d2c,_0x23d24c=(_0x3f28d6,_0x182d28,_0x1d275b,_0x6d284d)=>{const _0x3258c5=_0x30a38d;for(var _0x31f55a=_0x6d284d>0x1?void 0x0:_0x6d284d?_0x1236e1(_0x182d28,_0x1d275b):_0x182d28,_0x3f3018=_0x3f28d6[_0x3258c5(0x2bc)]-0x1,_0x4d2658;_0x3f3018>=0x0;_0x3f3018--)(_0x4d2658=_0x3f28d6[_0x3f3018])&&(_0x31f55a=_0x4d2658(_0x31f55a)||_0x31f55a);return _0x31f55a;},_0x148dfc=(_0x192dbc,_0x2c40dc)=>(_0x3f67db,_0x364a4d)=>_0x2c40dc(_0x3f67db,_0x364a4d,_0x192dbc),_0x5ab260=(_0x5d21f3,_0x19cd21,_0x2d40c4)=>_0x3c5834(_0x5d21f3,_0x19cd21+'',_0x2d40c4);const _0x5b64ad=_0x30a38d(0x1ff);_0x36f152[_0x30a38d(0x22b)]=class extends _0x40cffd[_0x30a38d(0xc9)]{constructor(_0x45ade2=_0x18c05a,_0x2a9e99,_0x140dda,_0x1f996c){const _0x3f01ec=_0x30a38d;super(),this[_0x3f01ec(0x23d)]=_0x45ade2,this[_0x3f01ec(0x23a)]=_0x2a9e99,this[_0x3f01ec(0xed)]=_0x140dda,this[_0x3f01ec(0x94)]=_0x1f996c;const {..._0x528cb4}=_0x40cffd['merge']({},_0x18c05a,this[_0x3f01ec(0x23d)]);this[_0x3f01ec(0x94)]['setConfig'](_0x4c8643,_0x528cb4);}[_0x30a38d(0x1db)](){const _0x1beaf0=_0x30a38d;this[_0x1beaf0(0x8b)](),this[_0x1beaf0(0x259)]();}['onRendered'](){const _0x49d647=_0x30a38d;this[_0x49d647(0x255)]();}[_0x30a38d(0x8b)](){const _0x582a9f=_0x30a38d;var _0x139c9f;const _0x5d6fa4=[[_0x3070d8],[_0x5c4319],[_0x49edda],[_0x135e91],[_0x317e7c],[_0x3040d7,{'useClass':_0xf51b1}],[_0x54ac98[_0x582a9f(0xe0)],{'useClass':_0x54ac98['WebSocketService']}],[_0x381b64[_0x582a9f(0x26d)],{'useClass':_0x4eba2f}],[_0x36f152['DesktopCollaborationStatusDisplayController']],[_0x3a02ed],[_0x37771c],[_0xb8038],[_0x252d3c],[_0x36f152[_0x582a9f(0x2e1)]]];_0x40cffd[_0x582a9f(0x10e)](this['_injector'],_0x40cffd[_0x582a9f(0x2b9)](_0x5d6fa4,(_0x139c9f=this[_0x582a9f(0x23d)])==null?void 0x0:_0x139c9f['override']));}['_registerRenderDependencies'](){const _0x4e33a0=_0x30a38d;this['disposeWithMe'](this[_0x4e33a0(0x23a)][_0x4e33a0(0x10d)](_0x40cffd[_0x4e33a0(0x301)][_0x4e33a0(0x7a)],[_0x51e236])),this[_0x4e33a0(0x1ce)](this['_renderManagerService'][_0x4e33a0(0x10d)](_0x40cffd[_0x4e33a0(0x301)]['UNIVER_SHEET'],[_0x3640b4]));}[_0x30a38d(0x259)](){const _0x58c784=_0x30a38d;_0x40cffd['touchDependencies'](this[_0x58c784(0xed)],[[_0xb8038],[_0x36f152[_0x58c784(0x7b)]],[_0x3a02ed],[_0x37771c],[_0x36f152['CollaborationDataLoaderController']]]);}},_0x5ab260(_0x36f152[_0x30a38d(0x22b)],_0x30a38d(0x288),_0x5b64ad),_0x36f152[_0x30a38d(0x22b)]=_0x23d24c([_0x40cffd[_0x30a38d(0x98)](_0x381b64[_0x30a38d(0x2dc)]),_0x148dfc(0x1,_0x1959b6[_0x30a38d(0x2ee)]),_0x148dfc(0x2,_0x40cffd[_0x30a38d(0x243)](_0x40cffd['Injector'])),_0x148dfc(0x3,_0x40cffd[_0x30a38d(0x2b4)])],_0x36f152['UniverCollaborationClientUIPlugin']);var _0x575a98=Object[_0x30a38d(0x185)],_0x2e2f65=(_0x522eae,_0x20e93a,_0x493f63,_0x3059b3)=>{const _0x26b0a0=_0x30a38d;for(var _0x558a5a=_0x3059b3>0x1?void 0x0:_0x3059b3?_0x575a98(_0x20e93a,_0x493f63):_0x20e93a,_0xc0e0be=_0x522eae[_0x26b0a0(0x2bc)]-0x1,_0x4f84d2;_0xc0e0be>=0x0;_0xc0e0be--)(_0x4f84d2=_0x522eae[_0xc0e0be])&&(_0x558a5a=_0x4f84d2(_0x558a5a)||_0x558a5a);return _0x558a5a;},_0x379e6b=(_0x573ff1,_0x340786)=>(_0x3bee3a,_0x214127)=>_0x340786(_0x3bee3a,_0x214127,_0x573ff1);_0x36f152['BrowserCollaborationSocketService']=class extends _0x381b64[_0x30a38d(0x27d)]{constructor(_0x36519b,_0x5be721,_0x11aeb4,_0x400bf9,_0x4c2c3d){super(_0x36519b,_0x5be721,_0x11aeb4,_0x400bf9,_0x4c2c3d);}async[_0x30a38d(0x160)](_0x44434a){const _0x5f074e=_0x30a38d,_0x2f2556=await this[_0x5f074e(0x19d)](),_0x519124=this['_createSocketURL'](_0x44434a,_0x2f2556);return this[_0x5f074e(0xee)](_0x519124);}[_0x30a38d(0x28b)](_0x1f4a63,_0x495381){const _0x3cb2fb=_0x30a38d,_0x458c42=typeof window>'u'?new URL(_0x1f4a63):new URL(_0x1f4a63,window['location'][_0x3cb2fb(0x1b6)]);_0x458c42[_0x3cb2fb(0xfc)]['set'](_0x3cb2fb(0x26e),_0x495381);const _0x46dce6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3cb2fb(0x258)][_0x3cb2fb(0x182)]);return _0x46dce6[_0x3cb2fb(0x2cf)](_0x3cb2fb(0xa4))&&_0x458c42['searchParams']['set'](_0x3cb2fb(0xa4),_0x46dce6['get'](_0x3cb2fb(0xa4))),_0x458c42[_0x3cb2fb(0xcb)]();}async[_0x30a38d(0x19d)](){const _0x2b52ce=_0x30a38d;var _0x5f0f22,_0x18a0e9,_0x50dfb9;const _0x1e5a69=this[_0x2b52ce(0x94)]['getConfig'](_0x381b64[_0x2b52ce(0x194)]),_0x4bddca=(_0x5f0f22=_0x1e5a69==null?void 0x0:_0x1e5a69['wsSessionTicketUrl'])!=null?_0x5f0f22:_0x381b64[_0x2b52ce(0x1dd)];return(_0x50dfb9=(_0x18a0e9=(await this[_0x2b52ce(0x21e)][_0x2b52ce(0x2cf)](_0x4bddca,{'headers':{'Content-Type':_0x2b52ce(0x70)}}))[_0x2b52ce(0x19e)])==null?void 0x0:_0x18a0e9['ticket'])!=null?_0x50dfb9:'';}},_0x36f152[_0x30a38d(0x106)]=_0x2e2f65([_0x379e6b(0x0,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x379e6b(0x1,_0x40cffd[_0x30a38d(0x243)](_0x54ac98[_0x30a38d(0xa6)])),_0x379e6b(0x2,_0x40cffd['IConfigService']),_0x379e6b(0x3,_0x40cffd[_0x30a38d(0x1d3)]),_0x379e6b(0x4,_0x2146ab[_0x30a38d(0x188)])],_0x36f152[_0x30a38d(0x106)]);var _0x41c1f9=(_0x5243a3=>(_0x5243a3[_0x5243a3[_0x30a38d(0x25d)]=0x0]=_0x30a38d(0x25d),_0x5243a3[_0x5243a3['OK']=0x1]='OK',_0x5243a3[_0x5243a3['INTERNAL_ERROR']=0x2]=_0x30a38d(0xf5),_0x5243a3[_0x5243a3[_0x30a38d(0xc6)]=0x3]=_0x30a38d(0xc6),_0x5243a3[_0x5243a3['NOT_FOUND']=0x4]=_0x30a38d(0xd9),_0x5243a3[_0x5243a3['UNAUTHENTICATED']=0x5]=_0x30a38d(0x234),_0x5243a3[_0x5243a3[_0x30a38d(0xef)]=0x6]=_0x30a38d(0xef),_0x5243a3[_0x5243a3[_0x30a38d(0x1d2)]=0x7]='INVALID_ARGUMENT',_0x5243a3[_0x5243a3[_0x30a38d(0x121)]=0x8]=_0x30a38d(0x121),_0x5243a3[_0x5243a3[_0x30a38d(0x2a1)]=0x9]=_0x30a38d(0x2a1),_0x5243a3[_0x5243a3[_0x30a38d(0x24b)]=0xa]=_0x30a38d(0x24b),_0x5243a3[_0x5243a3['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x30a38d(0x20d),_0x5243a3[_0x5243a3[_0x30a38d(0x167)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5243a3[_0x5243a3['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x30a38d(0xff),_0x5243a3[_0x5243a3['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x30a38d(0x18a),_0x5243a3[_0x5243a3[_0x30a38d(0x23c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5243a3[_0x5243a3[_0x30a38d(0x118)]=0x1771]=_0x30a38d(0x118),_0x5243a3[_0x5243a3[_0x30a38d(0x137)]=0x1772]=_0x30a38d(0x137),_0x5243a3[_0x5243a3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x30a38d(0x2f4),_0x5243a3[_0x5243a3['APPLY_REJECT']=0x1b59]=_0x30a38d(0x117),_0x5243a3[_0x5243a3[_0x30a38d(0x2f2)]=0x1b5a]=_0x30a38d(0x2f2),_0x5243a3[_0x5243a3['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5243a3[_0x5243a3[_0x30a38d(0xa9)]=0x1b5c]=_0x30a38d(0xa9),_0x5243a3[_0x5243a3['APPLY_DUPLICATED']=0x1b5d]=_0x30a38d(0x11f),_0x5243a3[_0x5243a3[_0x30a38d(0x1ea)]=0x1f41]=_0x30a38d(0x1ea),_0x5243a3[_0x5243a3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5243a3[_0x5243a3[_0x30a38d(0x190)]=0x232a]=_0x30a38d(0x190),_0x5243a3[_0x5243a3[_0x30a38d(0x186)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5243a3[_0x5243a3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5243a3[_0x5243a3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x30a38d(0x26b),_0x5243a3[_0x5243a3[_0x30a38d(0xc0)]=0x2711]=_0x30a38d(0xc0),_0x5243a3[_0x5243a3[_0x30a38d(0x18b)]=0x2712]=_0x30a38d(0x18b),_0x5243a3[_0x5243a3[_0x30a38d(0xbb)]=0x2713]=_0x30a38d(0xbb),_0x5243a3[_0x5243a3[_0x30a38d(0x100)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5243a3[_0x5243a3[_0x30a38d(0x2ec)]=0x271a]=_0x30a38d(0x2ec),_0x5243a3[_0x5243a3[_0x30a38d(0x1d6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5243a3[_0x5243a3[_0x30a38d(0x2b7)]=0x271c]=_0x30a38d(0x2b7),_0x5243a3[_0x5243a3[_0x30a38d(0x1b3)]=0x271d]=_0x30a38d(0x1b3),_0x5243a3[_0x5243a3[_0x30a38d(0x2fa)]=0x271e]=_0x30a38d(0x2fa),_0x5243a3[_0x5243a3[_0x30a38d(0x1f6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5243a3[_0x5243a3[_0x30a38d(0x26f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5243a3[_0x5243a3[_0x30a38d(0x206)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5243a3[_0x5243a3[_0x30a38d(0x1c8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5243a3[_0x5243a3[_0x30a38d(0x19f)]=0x2ee2]=_0x30a38d(0x19f),_0x5243a3[_0x5243a3[_0x30a38d(0x2d1)]=0x2ee3]=_0x30a38d(0x2d1),_0x5243a3[_0x5243a3['USER_NOT_INVITED_CODE']=0x2ee4]=_0x30a38d(0x110),_0x5243a3[_0x5243a3[_0x30a38d(0x19a)]=0x2ee5]=_0x30a38d(0x19a),_0x5243a3[_0x5243a3[_0x30a38d(0x251)]=0x32c9]=_0x30a38d(0x251),_0x5243a3[_0x5243a3[_0x30a38d(0xe8)]=0x32ca]=_0x30a38d(0xe8),_0x5243a3[_0x5243a3['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5243a3[_0x5243a3['UNRECOGNIZED']=-0x1]=_0x30a38d(0x304),_0x5243a3))(_0x41c1f9||{}),_0x52ce2c=Object[_0x30a38d(0x185)],_0x2a01a1=(_0x590be1,_0x1682a2,_0x306e62,_0x2ee09b)=>{const _0x44bbfb=_0x30a38d;for(var _0x5ab280=_0x2ee09b>0x1?void 0x0:_0x2ee09b?_0x52ce2c(_0x1682a2,_0x306e62):_0x1682a2,_0x3207c6=_0x590be1[_0x44bbfb(0x2bc)]-0x1,_0x40a8fc;_0x3207c6>=0x0;_0x3207c6--)(_0x40a8fc=_0x590be1[_0x3207c6])&&(_0x5ab280=_0x40a8fc(_0x5ab280)||_0x5ab280);return _0x5ab280;},_0x4f4c8b=(_0x5df4f0,_0x12879a)=>(_0x1d9a89,_0x196e60)=>_0x12879a(_0x1d9a89,_0x196e60,_0x5df4f0);_0x36f152[_0x30a38d(0x77)]=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x31b042,_0x49fabb,_0x573889){const _0x5857eb=_0x30a38d;super(),this[_0x5857eb(0x228)]=_0x31b042,this[_0x5857eb(0x21e)]=_0x49fabb,this[_0x5857eb(0x94)]=_0x573889;}async[_0x30a38d(0x18f)](_0x1586c4,_0x5e12b5,_0x2b4611,..._0x2fa0c6){const _0x506cf1=_0x30a38d;var _0x493c05,_0x5b6073,_0x477da0,_0x48c73c;const _0x58836f=this[_0x506cf1(0x228)][_0x506cf1(0xac)]();if(!_0x58836f)throw new Error(_0x506cf1(0xf8));const _0x4bc1f0=((_0x493c05=this['_configService'][_0x506cf1(0x1cb)](_0x381b64[_0x506cf1(0x93)]))!=null?_0x493c05:_0x381b64[_0x506cf1(0x176)])+'/'+_0x1586c4+'/run/'+_0x5e12b5,_0x22d02e=new URL(window[_0x506cf1(0x258)][_0x506cf1(0x9c)]),_0x16e615={'scriptId':_0x1586c4,'runId':(_0x5b6073=_0x22d02e[_0x506cf1(0xfc)][_0x506cf1(0x2cf)](_0x506cf1(0xa4)))!=null?_0x5b6073:'','function':_0x5e12b5,'unitId':_0x58836f[_0x506cf1(0x19b)](),'argsOfFunction':JSON[_0x506cf1(0x2a5)](_0x2fa0c6),'invokeId':(_0x477da0=_0x2b4611['invokeId'])!=null?_0x477da0:'','executionId':(_0x48c73c=_0x2b4611[_0x506cf1(0x294)])!=null?_0x48c73c:''};try{const _0x259e8e=await this[_0x506cf1(0x21e)][_0x506cf1(0x73)](_0x4bc1f0,{'body':_0x16e615});return _0x259e8e['body'][_0x506cf1(0x274)]&&_0x259e8e[_0x506cf1(0x19e)][_0x506cf1(0x274)][_0x506cf1(0x1e3)]!==_0x41c1f9['OK']?_0x506cf1(0xbf):_0x259e8e[_0x506cf1(0x19e)]['result'];}catch{return _0x506cf1(0xbf);}}},_0x36f152[_0x30a38d(0x77)]=_0x2a01a1([_0x4f4c8b(0x0,_0x40cffd['IUniverInstanceService']),_0x4f4c8b(0x1,_0x40cffd[_0x30a38d(0x243)](_0x54ac98[_0x30a38d(0xa6)])),_0x4f4c8b(0x2,_0x40cffd[_0x30a38d(0x2b4)])],_0x36f152['RemoteUniscriptService']);const _0x357f2d=0x7530,_0x9ff7bb=_0x30a38d(0x9e);class _0x59f562 extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(){const _0x4c5ff5=_0x30a38d;super(),_0x2f0bfd(this,_0x4c5ff5(0xd0),_0x40cffd[_0x4c5ff5(0x1d7)]()),_0x2f0bfd(this,_0x4c5ff5(0x28c),new Set()),_0x2f0bfd(this,_0x4c5ff5(0x203),new Map()),_0x2f0bfd(this,_0x4c5ff5(0x1ae),null),_0x2f0bfd(this,'_clearOtherTimers',new Map()),_0x2f0bfd(this,_0x4c5ff5(0x2fc),new Map()),this[_0x4c5ff5(0x17f)]();}[_0x30a38d(0x266)](){const _0x16058c=_0x30a38d;super['dispose'](),this[_0x16058c(0xae)]['forEach']((_0x5da520,_0x3f9222)=>this[_0x16058c(0xdc)](_0x3f9222)),this[_0x16058c(0x1ae)]&&window[_0x16058c(0x276)](this[_0x16058c(0x1ae)]);}[_0x30a38d(0x72)](_0x3d5aad){const _0x3e77e6=_0x30a38d;return this[_0x3e77e6(0x237)](_0x3d5aad)[_0x3e77e6(0x7e)](_0x54e142[_0x3e77e6(0x8c)]());}['editingUnit'](_0x3756fb){const _0xeae9a=_0x30a38d;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xeae9a(0x28c)]['add'](_0x3756fb),this[_0xeae9a(0xb9)]({'type':0x0,'memberID':this[_0xeae9a(0xd0)],'unitIDs':[_0x3756fb],'isForwarded':!0x1});}[_0x30a38d(0x1ee)](_0x4c213c){const _0x359763=_0x30a38d;this[_0x359763(0x28c)][_0x359763(0x1c6)](_0x4c213c),this[_0x359763(0x28c)][_0x359763(0x146)]===0x0&&this[_0x359763(0x1ae)]&&window[_0x359763(0x276)](this['_heartbeatTimer']);}['_init'](){const _0x5a87a2=_0x30a38d;this[_0x5a87a2(0x1ce)](_0x40cffd['toDisposable'](_0x54e142['fromEvent'](window,_0x5a87a2(0x123))[_0x5a87a2(0x204)](_0x5d7ff6=>{const _0x4396ab=_0x5a87a2;if(_0x5d7ff6[_0x4396ab(0xd2)]!==_0x9ff7bb||!_0x5d7ff6[_0x4396ab(0x184)])return;const _0x12cb30=JSON['parse'](_0x5d7ff6[_0x4396ab(0x184)]);this[_0x4396ab(0xf1)](_0x12cb30);}))),window[_0x5a87a2(0x2af)](_0x5a87a2(0x223),()=>this[_0x5a87a2(0xb9)]({'type':0x1,'memberID':this[_0x5a87a2(0xd0)],'unitIDs':Array['from'](this[_0x5a87a2(0x28c)])}));}[_0x30a38d(0xf1)](_0x217545){const _0x419185=_0x30a38d;switch(_0x217545[_0x419185(0x152)]){case 0x0:this[_0x419185(0xda)](_0x217545);break;case 0x1:this[_0x419185(0x156)](_0x217545);break;case 0x2:this[_0x419185(0x101)](_0x217545);break;}}[_0x30a38d(0xda)](_0x14a995){const _0x2f0281=_0x30a38d,{unitIDs:_0x256269,memberID:_0x3ddb24,isForwarded:_0x12a4ff}=_0x14a995;_0x256269['forEach'](_0x247852=>{const _0xb4201c=_0xf3b4;if(!_0x12a4ff&&this[_0xb4201c(0x203)][_0xb4201c(0x2ea)](_0x247852)&&this['_ensureSubject'](_0x247852)['next'](_0x381b64[_0xb4201c(0x1a2)][_0xb4201c(0x12c)]),!this[_0xb4201c(0x203)]['has'](_0x247852)||!this['_unitOnClients'][_0xb4201c(0x2cf)](_0x247852)['has'](_0x3ddb24)){const _0x2757b0=this[_0xb4201c(0x203)][_0xb4201c(0x2cf)](_0x247852)||new Set();_0x2757b0[_0xb4201c(0x2d4)](_0x3ddb24),this[_0xb4201c(0x203)][_0xb4201c(0x273)](_0x247852,_0x2757b0),this[_0xb4201c(0x1b8)](_0x3ddb24);}}),_0x12a4ff||this[_0x2f0281(0xb9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x30a38d(0x1b8)](_0x264b46){const _0x4ac81e=_0x30a38d;this[_0x4ac81e(0xdc)](_0x264b46);const _0x5e97c8=window['setTimeout'](()=>{const _0x43ce83=_0x4ac81e;this[_0x43ce83(0x203)][_0x43ce83(0x280)](_0xd0e645=>{const _0x449389=_0x43ce83;_0xd0e645[_0x449389(0x1c6)](_0x264b46);});},_0x357f2d*0x2);this[_0x4ac81e(0xae)][_0x4ac81e(0x273)](_0x264b46,_0x5e97c8);}[_0x30a38d(0xdc)](_0x28b6c2){const _0x5cea38=_0x30a38d;if(this['_clearOtherTimers'][_0x5cea38(0x2ea)](_0x28b6c2)){const _0x18978=this[_0x5cea38(0xae)]['get'](_0x28b6c2);_0x18978&&window[_0x5cea38(0x25c)](_0x18978),this[_0x5cea38(0xae)]['set'](_0x28b6c2,null);}}[_0x30a38d(0x156)](_0x4deec0){const _0x443159=_0x30a38d,{memberID:_0x290495,unitIDs:_0x37e955}=_0x4deec0;_0x37e955[_0x443159(0x280)](_0x504589=>{const _0x2ca752=_0x443159;var _0x441863;const _0x3b9c7e=this[_0x2ca752(0x203)][_0x2ca752(0x2cf)](_0x504589);_0x3b9c7e&&(_0x3b9c7e[_0x2ca752(0x1c6)](_0x290495),(_0x441863=this[_0x2ca752(0x237)](_0x504589))==null||_0x441863[_0x2ca752(0x162)](_0x3b9c7e[_0x2ca752(0x146)]===0x0?_0x381b64[_0x2ca752(0x1a2)][_0x2ca752(0x155)]:_0x381b64[_0x2ca752(0x1a2)]['OTHER_CLIENTS_EDITING']));}),this[_0x443159(0xdc)](_0x290495);}[_0x30a38d(0x101)](_0x1906b6){const _0x30d55b=_0x30a38d;this[_0x30d55b(0x1b8)](_0x1906b6['memberID']);}[_0x30a38d(0xb9)](_0x452382){const _0x1903eb=_0x30a38d;localStorage[_0x1903eb(0x2d3)](_0x9ff7bb,JSON['stringify'](_0x452382));}['_scheduleHeartbeat'](){const _0x34b4ab=_0x30a38d;this['_heartbeatTimer']=window[_0x34b4ab(0x129)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x357f2d);}[_0x30a38d(0x237)](_0x486070){const _0x32fc13=_0x30a38d;return this[_0x32fc13(0x2fc)][_0x32fc13(0x2ea)](_0x486070)||this[_0x32fc13(0x2fc)][_0x32fc13(0x273)](_0x486070,new _0x54e142[(_0x32fc13(0x1aa))](_0x381b64[_0x32fc13(0x1a2)][_0x32fc13(0x155)])),this['_unitStatus'][_0x32fc13(0x2cf)](_0x486070);}}_0x36f152['IURLService']=_0x3040d7,_0x36f152['SheetCollabCursorShape']=_0x49abc9,_0x36f152[_0x30a38d(0x18e)]=_0x59f562,_0x36f152[_0x30a38d(0xdb)]=_0xf51b1,Object['defineProperty'](_0x36f152,Symbol['toStringTag'],{'value':_0x30a38d(0x14d)});}));