@univerjs-pro/collaboration-client-ui 0.10.2-nightly.202508071209 → 0.10.2-nightly.202508080617
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2795(_0x36aae7,_0x2d96ef){const _0x853e19=_0x853e();return _0x2795=function(_0x279523,_0xcab11d){_0x279523=_0x279523-0x8a;let _0x86b554=_0x853e19[_0x279523];return _0x86b554;},_0x2795(_0x36aae7,_0x2d96ef);}(function(_0x51b74d,_0xf2c6bc){const _0x418c3a=_0x2795,_0xf7b6c1=_0x51b74d();while(!![]){try{const _0x17419c=-parseInt(_0x418c3a(0x2c1))/0x1+-parseInt(_0x418c3a(0x2b8))/0x2*(parseInt(_0x418c3a(0x16f))/0x3)+-parseInt(_0x418c3a(0x1a1))/0x4*(parseInt(_0x418c3a(0x14f))/0x5)+-parseInt(_0x418c3a(0x122))/0x6+parseInt(_0x418c3a(0xdb))/0x7*(-parseInt(_0x418c3a(0x260))/0x8)+-parseInt(_0x418c3a(0x242))/0x9*(-parseInt(_0x418c3a(0x24f))/0xa)+parseInt(_0x418c3a(0x11b))/0xb;if(_0x17419c===_0xf2c6bc)break;else _0xf7b6c1['push'](_0xf7b6c1['shift']());}catch(_0x4182d7){_0xf7b6c1['push'](_0xf7b6c1['shift']());}}}(_0x853e,0x92a26),function(_0x49a049,_0x249d6d){const _0x3db0d3=_0x2795;typeof exports==_0x3db0d3(0x18c)&&typeof module<'u'?_0x249d6d(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==_0x3db0d3(0x211)&&define['amd']?define([_0x3db0d3(0x1de),'react/jsx-runtime',_0x3db0d3(0xf5),'@univerjs/core',_0x3db0d3(0x2ea),_0x3db0d3(0x1a5),'@univerjs/design','react',_0x3db0d3(0x1cf),_0x3db0d3(0x168),'@univerjs/engine-render',_0x3db0d3(0x17c),_0x3db0d3(0x2ec),'@univerjs/drawing','@univerjs-pro/collaboration','@univerjs/docs',_0x3db0d3(0xe4),_0x3db0d3(0x16e),_0x3db0d3(0x16a)],_0x249d6d):(_0x49a049=typeof globalThis<'u'?globalThis:_0x49a049||self,_0x249d6d(_0x49a049[_0x3db0d3(0x1e2)]={},_0x49a049[_0x3db0d3(0x2a0)],_0x49a049[_0x3db0d3(0x95)],_0x49a049[_0x3db0d3(0x26d)],_0x49a049['UniverUi'],_0x49a049[_0x3db0d3(0x1a5)],_0x49a049[_0x3db0d3(0x2f4)],_0x49a049[_0x3db0d3(0x2a0)],_0x49a049['UniverRpc'],_0x49a049[_0x3db0d3(0x232)],_0x49a049['UniverEngineRender'],_0x49a049[_0x3db0d3(0x11c)],_0x49a049[_0x3db0d3(0x238)],_0x49a049['UniverDrawing'],_0x49a049[_0x3db0d3(0x2ae)],_0x49a049[_0x3db0d3(0x249)],_0x49a049[_0x3db0d3(0x1bb)],_0x49a049[_0x3db0d3(0x1a5)][_0x3db0d3(0xc0)],_0x49a049[_0x3db0d3(0xe0)]));}(this,function(_0x35533f,_0x5afc3c,_0x4bbaf5,_0x3e70b8,_0x410b06,_0x294c14,_0x25a710,_0x2005ed,_0x28a82b,_0x2e00d7,_0x14944b,_0x31b241,_0x188185,_0x41a7a5,_0x27c608,_0x81b01f,_0x384d3c,_0xff66a0,_0x24c4a6){'use strict';const _0x1eda19=_0x2795;var _0x41ecab=Object[_0x1eda19(0x2a2)],_0x37189d=(_0x5612d4,_0x5a54e5,_0x4c88ef)=>_0x5a54e5 in _0x5612d4?_0x41ecab(_0x5612d4,_0x5a54e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c88ef}):_0x5612d4[_0x5a54e5]=_0x4c88ef,_0x1d81a2=(_0x453518,_0x43945e,_0x54f70d)=>_0x37189d(_0x453518,typeof _0x43945e!='symbol'?_0x43945e+'':_0x43945e,_0x54f70d),_0x2f1bb9=function(){const _0x5737a9=_0x1eda19;return _0x2f1bb9=Object[_0x5737a9(0xb3)]||function(_0x1c3da2){const _0x2890bc=_0x5737a9;for(var _0x5b5144,_0x3569bb=0x1,_0x3b1db1=arguments[_0x2890bc(0xfa)];_0x3569bb<_0x3b1db1;_0x3569bb++){_0x5b5144=arguments[_0x3569bb];for(var _0x4edb88 in _0x5b5144)Object[_0x2890bc(0x10d)][_0x2890bc(0x2ad)]['call'](_0x5b5144,_0x4edb88)&&(_0x1c3da2[_0x4edb88]=_0x5b5144[_0x4edb88]);}return _0x1c3da2;},_0x2f1bb9['apply'](this,arguments);},_0x5d1db4=function(_0x57b0b1,_0x2b5d31){const _0x3910bf=_0x1eda19;var _0x5d15c9={};for(var _0x47340e in _0x57b0b1)Object[_0x3910bf(0x10d)]['hasOwnProperty'][_0x3910bf(0x13b)](_0x57b0b1,_0x47340e)&&_0x2b5d31[_0x3910bf(0x90)](_0x47340e)<0x0&&(_0x5d15c9[_0x47340e]=_0x57b0b1[_0x47340e]);if(_0x57b0b1!=null&&typeof Object[_0x3910bf(0x253)]==_0x3910bf(0x211)){for(var _0x523256=0x0,_0x47340e=Object['getOwnPropertySymbols'](_0x57b0b1);_0x523256<_0x47340e[_0x3910bf(0xfa)];_0x523256++)_0x2b5d31[_0x3910bf(0x90)](_0x47340e[_0x523256])<0x0&&Object[_0x3910bf(0x10d)][_0x3910bf(0x246)][_0x3910bf(0x13b)](_0x57b0b1,_0x47340e[_0x523256])&&(_0x5d15c9[_0x47340e[_0x523256]]=_0x57b0b1[_0x47340e[_0x523256]]);}return _0x5d15c9;},_0x5efc75=_0x2005ed[_0x1eda19(0x166)](function(_0x1f3fc2,_0x598a41){const _0x4f8a19=_0x1eda19;var _0x795b68=_0x1f3fc2[_0x4f8a19(0x1f1)],_0x22cd84=_0x1f3fc2['id'],_0x208639=_0x1f3fc2[_0x4f8a19(0x111)],_0x31eb56=_0x1f3fc2[_0x4f8a19(0x1f0)],_0x24fafd=_0x5d1db4(_0x1f3fc2,[_0x4f8a19(0x1f1),'id',_0x4f8a19(0x111),_0x4f8a19(0x1f0)]),_0x3313f6=_0x4f8a19(0x1a9)[_0x4f8a19(0x1c6)](_0x22cd84,'\x20')[_0x4f8a19(0x1c6)](_0x208639||'')[_0x4f8a19(0x294)](),_0x39810d=_0x2005ed[_0x4f8a19(0x2b4)]('_'['concat'](_0x350769()));return _0xa3e958(_0x795b68,''[_0x4f8a19(0x1c6)](_0x22cd84),{'defIds':_0x795b68['defIds'],'idSuffix':_0x39810d[_0x4f8a19(0x15f)]},_0x2f1bb9({'ref':_0x598a41,'className':_0x3313f6},_0x24fafd),_0x31eb56);});function _0xa3e958(_0x1ce7ae,_0x47ac8d,_0x5893ba,_0x3a9d5e,_0x57501d){const _0x473c15=_0x1eda19;return _0x2005ed['createElement'](_0x1ce7ae['tag'],_0x2f1bb9(_0x2f1bb9({'key':_0x47ac8d},_0xe60c74(_0x1ce7ae,_0x5893ba,_0x57501d)),_0x3a9d5e),(_0x17cc6e(_0x1ce7ae,_0x5893ba)[_0x473c15(0x22a)]||[])[_0x473c15(0x15b)](function(_0x1dc797,_0x525790){const _0x2282e1=_0x473c15;return _0xa3e958(_0x1dc797,''[_0x2282e1(0x1c6)](_0x47ac8d,'-')[_0x2282e1(0x1c6)](_0x1ce7ae[_0x2282e1(0x21b)],'-')['concat'](_0x525790),_0x5893ba,void 0x0,_0x57501d);}));}function _0xe60c74(_0x589d65,_0x4df984,_0x3bc6c9){const _0x466134=_0x1eda19;var _0x1ef274=_0x2f1bb9({},_0x589d65['attrs']);_0x3bc6c9!=null&&_0x3bc6c9[_0x466134(0xea)]&&_0x1ef274[_0x466134(0x102)]===_0x466134(0xea)&&(_0x1ef274[_0x466134(0x102)]=_0x3bc6c9['colorChannel1']),_0x589d65['tag']===_0x466134(0x1e6)&&_0x1ef274['id']&&(_0x1ef274['id']=_0x1ef274['id']+_0x4df984['idSuffix']),Object['entries'](_0x1ef274)[_0x466134(0x2a5)](function(_0x5b5658){const _0x510230=_0x466134;var _0xb1dec=_0x5b5658[0x0],_0x2669c4=_0x5b5658[0x1];_0xb1dec===_0x510230(0x1e6)&&typeof _0x2669c4==_0x510230(0x135)&&(_0x1ef274[_0xb1dec]=_0x2669c4[_0x510230(0x29e)](/url\(#(.*)\)/,_0x510230(0x244)[_0x510230(0x1c6)](_0x4df984['idSuffix'],')')));});var _0x58d3ff=_0x4df984[_0x466134(0x101)];return!_0x58d3ff||_0x58d3ff['length']===0x0||(_0x589d65[_0x466134(0x21b)]==='use'&&_0x1ef274[_0x466134(0xeb)]&&(_0x1ef274['xlink:href']=_0x1ef274[_0x466134(0xeb)]+_0x4df984[_0x466134(0x221)]),Object[_0x466134(0x31b)](_0x1ef274)[_0x466134(0x2a5)](function(_0x4450b6){const _0x40cd02=_0x466134;var _0xbe7c14=_0x4450b6[0x0],_0x2ab4cf=_0x4450b6[0x1];typeof _0x2ab4cf==_0x40cd02(0x135)&&(_0x1ef274[_0xbe7c14]=_0x2ab4cf['replace'](/url\(#(.*)\)/,_0x40cd02(0x244)[_0x40cd02(0x1c6)](_0x4df984[_0x40cd02(0x221)],')')));})),_0x1ef274;}function _0x17cc6e(_0x52d064,_0x232b2c){const _0x401189=_0x1eda19;var _0x1748e,_0x1be8ec=_0x232b2c['defIds'];return!_0x1be8ec||_0x1be8ec['length']===0x0?_0x52d064:_0x52d064[_0x401189(0x21b)]===_0x401189(0x2f7)&&(!((_0x1748e=_0x52d064[_0x401189(0x22a)])===null||_0x1748e===void 0x0)&&_0x1748e[_0x401189(0xfa)])?_0x2f1bb9(_0x2f1bb9({},_0x52d064),{'children':_0x52d064['children']['map'](function(_0x1ece98){const _0x514649=_0x401189;return typeof _0x1ece98[_0x514649(0xfd)]['id']=='string'&&_0x1be8ec&&_0x1be8ec[_0x514649(0x28a)](_0x1ece98[_0x514649(0xfd)]['id'])?_0x2f1bb9(_0x2f1bb9({},_0x1ece98),{'attrs':_0x2f1bb9(_0x2f1bb9({},_0x1ece98[_0x514649(0xfd)]),{'id':_0x1ece98[_0x514649(0xfd)]['id']+_0x232b2c[_0x514649(0x221)]})}):_0x1ece98;})}):_0x52d064;}function _0x350769(){const _0x2f96b5=_0x1eda19;return Math[_0x2f96b5(0xe3)]()[_0x2f96b5(0x1dd)](0x24)[_0x2f96b5(0x116)](0x2,0x8);}_0x5efc75[_0x1eda19(0x1d3)]=_0x1eda19(0x278);var _0x568a69={'tag':_0x1eda19(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1eda19(0x193),'viewBox':_0x1eda19(0x14b),'width':_0x1eda19(0x1c2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1eda19(0x121),'attrs':{'stroke':_0x1eda19(0x1ed),'d':_0x1eda19(0x252),'strokeLinecap':_0x1eda19(0x1b5),'strokeLinejoin':_0x1eda19(0x1b5),'strokeWidth':1.2}}]},{'tag':_0x1eda19(0x2f7),'attrs':{},'children':[{'tag':_0x1eda19(0x275),'attrs':{'id':_0x1eda19(0x2f5)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'fill':_0x1eda19(0x2fe),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1eda19(0x2f5)]},_0xe89a68=_0x2005ed[_0x1eda19(0x166)](function(_0x8de5cf,_0x38f869){const _0x62546c=_0x1eda19;return _0x2005ed[_0x62546c(0x128)](_0x5efc75,Object[_0x62546c(0xb3)]({},_0x8de5cf,{'id':'off-line-icon','ref':_0x38f869,'icon':_0x568a69}));});_0xe89a68['displayName']='OffLineIcon';var _0x39e402={'tag':_0x1eda19(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1eda19(0x193),'viewBox':_0x1eda19(0x2e6),'width':'1em','height':_0x1eda19(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1eda19(0x26c)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'stroke':_0x1eda19(0x1ed),'d':_0x1eda19(0xb2),'strokeLinecap':_0x1eda19(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1eda19(0x2f7),'attrs':{},'children':[{'tag':_0x1eda19(0x275),'attrs':{'id':_0x1eda19(0x119)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1eda19(0xd9)}}]}]}],'defIds':[_0x1eda19(0x119)]},_0x25c4b5=_0x2005ed[_0x1eda19(0x166)](function(_0x35c208,_0x1acd09){const _0x5ab036=_0x1eda19;return _0x2005ed[_0x5ab036(0x128)](_0x5efc75,Object[_0x5ab036(0xb3)]({},_0x35c208,{'id':_0x5ab036(0x2b7),'ref':_0x1acd09,'icon':_0x39e402}));});_0x25c4b5[_0x1eda19(0x1d3)]=_0x1eda19(0xce);function _0x34271b(_0x4c75c9){const _0xd1ccc=_0x1eda19;switch(_0x4c75c9){case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x320)]:return _0xd1ccc(0x24e);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x23b)]:return _0xd1ccc(0x99);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x25a)]:return _0xd1ccc(0x10c);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x234)]:return _0xd1ccc(0x2d4);case _0x4bbaf5[_0xd1ccc(0x317)]['AWAITING']:case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x132)]:return _0xd1ccc(0xdf);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x19d)]:case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0xad)]:return _0xd1ccc(0x29f);}}function _0x5cb16b(_0x18c630){const _0x7281b7=_0x1eda19,{status$:_0x128514}=_0x18c630,_0x5d5e81=_0x410b06[_0x7281b7(0x296)](_0x128514,_0x4bbaf5[_0x7281b7(0x317)][_0x7281b7(0x234)]),_0x292a4b=_0x410b06[_0x7281b7(0x24c)](_0x3e70b8[_0x7281b7(0x24a)]),_0x3f575c=_0x410b06[_0x7281b7(0x24c)](_0x4bbaf5[_0x7281b7(0x28c)]),_0x244b3c=_0x5d5e81!==_0x4bbaf5['CollaborationStatus'][_0x7281b7(0x320)],_0x3ce7a4=_0x292a4b['t'](_0x34271b(_0x5d5e81)),_0x27e7b1=_0x244b3c?_0x5afc3c[_0x7281b7(0x302)](_0x25c4b5,{}):_0x5afc3c['jsx'](_0xe89a68,{}),_0x499491=_0x2005ed[_0x7281b7(0x1c5)](()=>{_0x244b3c||_0x3f575c['reconnect']();},[_0x244b3c,_0x3f575c]);function _0x752670(){const _0x4480f4=_0x7281b7;return _0x5afc3c[_0x4480f4(0x1a6)](_0x4480f4(0x2d8),{'className':'univer-flex\x20univer-items-center','onClick':_0x499491,'children':[_0x5afc3c[_0x4480f4(0x302)](_0x4480f4(0x2d8),{'className':_0x25a710['clsx'](_0x4480f4(0x94),{'univer-text-green-500':_0x244b3c,'univer-text-red-500':!_0x244b3c}),'children':_0x27e7b1}),_0x5afc3c['jsx']('div',{'className':_0x4480f4(0x25f),'children':_0x3ce7a4})]});}return _0x244b3c?_0x752670():_0x5afc3c[_0x7281b7(0x302)](_0x25a710['Tooltip'],{'title':_0x292a4b['t']('collab-client.tooltip.reconnect'),'children':_0x752670()});}var _0x563c86=Object[_0x1eda19(0x250)],_0x2e9e27=(_0x1b1497,_0x131fd9,_0x53bf87,_0xb38ad7)=>{for(var _0x1b9030=_0xb38ad7>0x1?void 0x0:_0xb38ad7?_0x563c86(_0x131fd9,_0x53bf87):_0x131fd9,_0x39b191=_0x1b1497['length']-0x1,_0x5ccaf6;_0x39b191>=0x0;_0x39b191--)(_0x5ccaf6=_0x1b1497[_0x39b191])&&(_0x1b9030=_0x5ccaf6(_0x1b9030)||_0x1b9030);return _0x1b9030;},_0x209127=(_0x5b6908,_0x2be02f)=>(_0x5042f3,_0x24697a)=>_0x2be02f(_0x5042f3,_0x24697a,_0x5b6908);_0x35533f[_0x1eda19(0x279)]=class extends _0x3e70b8['Disposable']{constructor(_0x3176af,_0x1158b4,_0x44e85d,_0x4b7ad8){const _0x1d1c55=_0x1eda19;super(),_0x1d81a2(this,'_status$',new _0x294c14[(_0x1d1c55(0x125))](_0x4bbaf5[_0x1d1c55(0x317)][_0x1d1c55(0x234)])),(this['_univerInstanceService']=_0x3176af,this[_0x1d1c55(0xdd)]=_0x1158b4,this[_0x1d1c55(0x25e)]=_0x44e85d,this[_0x1d1c55(0x308)]=_0x4b7ad8,this[_0x1d1c55(0x1c3)](),this[_0x1d1c55(0x18d)]());}[_0x1eda19(0x18d)](){const _0x12594d=_0x1eda19;this[_0x12594d(0x316)](this[_0x12594d(0x2e7)][_0x12594d(0x300)]['pipe'](_0x294c14['switchMap'](()=>{const _0x3ca5f2=_0x12594d,_0x1672bd=this[_0x3ca5f2(0x2e7)][_0x3ca5f2(0x2b2)]();return _0x1672bd?this[_0x3ca5f2(0x25e)]['getCollabEntity$'](_0x1672bd[_0x3ca5f2(0x2f8)]()):_0x294c14['of'](null);}),_0x294c14[_0x12594d(0x23e)](_0x333220=>_0x333220?_0x333220[_0x12594d(0x16d)]:_0x294c14['of'](_0x4bbaf5[_0x12594d(0x317)]['NOT_COLLAB'])))[_0x12594d(0x2ca)](_0x44b939=>{this['_status$']['next'](_0x44b939);}));}['_initStatusComponent'](){const _0x1b5b96=_0x1eda19;this[_0x1b5b96(0x316)](this[_0x1b5b96(0x308)]['registerComponent'](_0x410b06[_0x1b5b96(0x110)][_0x1b5b96(0x262)],()=>_0x410b06[_0x1b5b96(0xb6)](_0x179fc6({'status$':this['_status$'][_0x1b5b96(0x1c1)]()}),this[_0x1b5b96(0xdd)])));}},_0x35533f[_0x1eda19(0x279)]=_0x2e9e27([_0x209127(0x0,_0x3e70b8[_0x1eda19(0xa9)]),_0x209127(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8['Injector'])),_0x209127(0x2,_0x3e70b8['Inject'](_0x4bbaf5['CollaborationController'])),_0x209127(0x3,_0x410b06[_0x1eda19(0x12a)])],_0x35533f[_0x1eda19(0x279)]);function _0x179fc6(_0xe792f8){const {status$:_0x2ab462}=_0xe792f8;return function(){const _0x4af8ca=_0x2795;return _0x5afc3c[_0x4af8ca(0x302)](_0x5cb16b,{'status$':_0x2ab462});};}const _0x4f6373=_0x3e70b8[_0x1eda19(0x1ec)](_0x1eda19(0x16b));var _0x5ddbc6=Object[_0x1eda19(0x250)],_0x4fba64=(_0xf19986,_0x58788e,_0x585a87,_0x305299)=>{const _0x4c4b55=_0x1eda19;for(var _0x5453df=_0x305299>0x1?void 0x0:_0x305299?_0x5ddbc6(_0x58788e,_0x585a87):_0x58788e,_0x222146=_0xf19986[_0x4c4b55(0xfa)]-0x1,_0x28bf08;_0x222146>=0x0;_0x222146--)(_0x28bf08=_0xf19986[_0x222146])&&(_0x5453df=_0x28bf08(_0x5453df)||_0x5453df);return _0x5453df;},_0x9c9e98=(_0x4bab06,_0x599944)=>(_0x4b73c4,_0x124005)=>_0x599944(_0x4b73c4,_0x124005,_0x4bab06);_0x35533f[_0x1eda19(0x208)]=class extends _0x3e70b8['RxDisposable']{constructor(_0x15e8c8,_0x2f45fd,_0x1dbaa1,_0x2bccc9,_0x1c1fb6){const _0x221c17=_0x1eda19;super(),this['_urlService']=_0x15e8c8,this[_0x221c17(0x236)]=_0x2f45fd,this[_0x221c17(0x1fb)]=_0x1dbaa1,this['_dataLoaderService']=_0x2bccc9,_0x1c1fb6?_0x1c1fb6==null||_0x1c1fb6['whenReady']()[_0x221c17(0x165)](()=>this[_0x221c17(0x237)]()):(this[_0x221c17(0x236)][_0x221c17(0x1b1)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x221c17(0x237)]());}async[_0x1eda19(0x237)](){const _0x128a2b=_0x1eda19,_0x5941b6=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)]('unit'),_0x1a8a68=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)](_0x128a2b(0x207)),_0x1cde7e=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)]('subunit');if(!_0x5941b6||!_0x1a8a68){this['_logService']['debug'](_0x128a2b(0x1d6),_0x128a2b(0xfc));return;}const _0x9515a8=await this['_dataLoaderService'][_0x128a2b(0x1d2)](_0x5941b6,Number(_0x1a8a68),_0x1cde7e);_0x9515a8&&_0x9515a8 instanceof _0x3e70b8[_0x128a2b(0x117)]&&this[_0x128a2b(0x305)](_0x9515a8);}async[_0x1eda19(0x305)](_0x34b710){const _0x57cb9e=_0x1eda19;await this[_0x57cb9e(0x206)](_0x34b710),_0x34b710[_0x57cb9e(0x245)][_0x57cb9e(0x136)](_0x294c14[_0x57cb9e(0x160)](this[_0x57cb9e(0x2ce)]))[_0x57cb9e(0x2ca)](_0x4fcbe3=>{_0x4fcbe3&&this['_updateURLWithCurrentState'](_0x4fcbe3);}),this[_0x57cb9e(0x15a)][_0x57cb9e(0x2a3)][_0x57cb9e(0x136)](_0x294c14[_0x57cb9e(0x160)](this['dispose$']))[_0x57cb9e(0x2ca)](()=>this[_0x57cb9e(0x206)](_0x34b710));}[_0x1eda19(0x24d)](_0x4105d1,_0x1970b3=!0x1){const _0xc3d0c8=_0x1eda19,_0x283b93=this[_0xc3d0c8(0x15a)][_0xc3d0c8(0x25d)](_0xc3d0c8(0x2cb));_0x4105d1[_0xc3d0c8(0x2b5)]()!==_0x283b93&&this[_0xc3d0c8(0x15a)][_0xc3d0c8(0x2d6)](_0xc3d0c8(0x2cb),_0x4105d1[_0xc3d0c8(0x2b5)](),_0x1970b3);}async[_0x1eda19(0x206)](_0x1d7a52){const _0x534f92=_0x1eda19;var _0x2a0e1d;const _0x37f1b0=this[_0x534f92(0x15a)][_0x534f92(0x25d)](_0x534f92(0x2cb));if(!_0x37f1b0||!_0x1d7a52[_0x534f92(0x272)](_0x37f1b0)){const _0x5b37f3=_0x1d7a52[_0x534f92(0xd1)]()[0x0],_0x5cecbc=_0x1d7a52[_0x534f92(0x272)](_0x5b37f3);if(!_0x5cecbc)return;this['_updateURLWithCurrentState'](_0x5cecbc,!0x0),await this[_0x534f92(0x1fb)][_0x534f92(0x327)](_0x2e00d7[_0x534f92(0x243)]['id'],{'unitId':_0x1d7a52[_0x534f92(0x2f8)](),'subUnitId':_0x5b37f3});return;}((_0x2a0e1d=_0x1d7a52[_0x534f92(0x30f)]())==null?void 0x0:_0x2a0e1d['getSheetId']())!==_0x37f1b0&&await this[_0x534f92(0x1fb)]['executeCommand'](_0x2e00d7[_0x534f92(0x243)]['id'],{'unitId':_0x1d7a52[_0x534f92(0x2f8)](),'subUnitId':_0x37f1b0});}},_0x35533f['CollaborationDataLoaderController']=_0x4fba64([_0x9c9e98(0x0,_0x4f6373),_0x9c9e98(0x1,_0x3e70b8[_0x1eda19(0x1da)]),_0x9c9e98(0x2,_0x3e70b8[_0x1eda19(0xe1)]),_0x9c9e98(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x2e2)])),_0x9c9e98(0x4,_0x3e70b8[_0x1eda19(0x2c4)](_0x28a82b[_0x1eda19(0x21a)]))],_0x35533f[_0x1eda19(0x208)]);var _0x238308=Object[_0x1eda19(0x250)],_0x4b3dd1=(_0x1f5e0d,_0x11050f,_0x3f913e,_0x1a3c7e)=>{const _0x23d49c=_0x1eda19;for(var _0x1f3895=_0x1a3c7e>0x1?void 0x0:_0x1a3c7e?_0x238308(_0x11050f,_0x3f913e):_0x11050f,_0x68e7d1=_0x1f5e0d[_0x23d49c(0xfa)]-0x1,_0x49e3fe;_0x68e7d1>=0x0;_0x68e7d1--)(_0x49e3fe=_0x1f5e0d[_0x68e7d1])&&(_0x1f3895=_0x49e3fe(_0x1f3895)||_0x1f3895);return _0x1f3895;},_0x3aea14=(_0x4c4108,_0x40c0ec)=>(_0x4591c5,_0xa31d7f)=>_0x40c0ec(_0x4591c5,_0xa31d7f,_0x4c4108);let _0x12d618=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x33fd38,_0x3bf46b){const _0xc595d1=_0x1eda19;super(),this[_0xc595d1(0x1f9)]=_0x33fd38,this['_imageIoService']=_0x3bf46b,this[_0xc595d1(0x237)]();}['_init'](){const _0x346d52=_0x1eda19,_0x59eab9=this;this[_0x346d52(0x316)](this[_0x346d52(0x1f9)][_0x346d52(0x1bc)]({'onBeforePasteImage':async _0x24258b=>{const _0x15dae3=_0x346d52,_0x5f402b=await _0x59eab9[_0x15dae3(0xb1)][_0x15dae3(0x1e1)](_0x24258b);return _0x5f402b?{'source':_0x5f402b[_0x15dae3(0x15c)],'imageSourceType':_0x5f402b['imageSourceType']}:null;}}));}};_0x12d618=_0x4b3dd1([_0x3aea14(0x0,_0x188185['IDocClipboardService']),_0x3aea14(0x1,_0x41a7a5[_0x1eda19(0x2d3)])],_0x12d618);const _0x5a82bd=[_0x1eda19(0x2dd),_0x1eda19(0x10f),_0x1eda19(0x29a),'red.300',_0x1eda19(0xa8),_0x1eda19(0x161)];class _0x598ec8 extends _0x3e70b8[_0x1eda19(0x151)]{constructor(){const _0x150528=_0x1eda19;super(...arguments),_0x1d81a2(this,_0x150528(0x2d7),new Map()),_0x1d81a2(this,_0x150528(0xa2),0x0);}[_0x1eda19(0x18f)](_0x517bdc){const _0x37b4cc=_0x1eda19;if(this['_assignedColors']['has'](_0x517bdc))return this[_0x37b4cc(0x2d7)][_0x37b4cc(0x15d)](_0x517bdc);const _0x4c2a3c=_0x5a82bd[this['_colorIndex']];return this[_0x37b4cc(0xa2)]=(this['_colorIndex']+0x1)%_0x5a82bd[_0x37b4cc(0xfa)],this[_0x37b4cc(0x2d7)][_0x37b4cc(0x1e4)](_0x517bdc,_0x4c2a3c),_0x4c2a3c;}}function _0x411d8c(_0x2f07ff){const _0x33bf6b=_0x1eda19;let _0x303505='';for(const _0x17ff71 of _0x2f07ff){const {startOffset:_0x1583a2,endOffset:_0x132492,isActive:_0x1c4c9a,rangeType:_0x520852,segmentId:_0x3f1655,segmentPage:_0x47a026}=_0x17ff71;_0x303505[_0x33bf6b(0xfa)]&&(_0x303505+=','),_0x303505+=_0x1583a2+':'+_0x132492+':'+(_0x1c4c9a?'1':'0')+':'+_0x520852+':'+_0x3f1655+':'+_0x47a026;}return _0x303505;}function _0x2006e5(_0x138c90){const _0x2aa2af=_0x1eda19,_0x3e343e=_0x138c90[_0x2aa2af(0x13a)](','),_0x2fa76c=[];for(const _0x3c79d9 of _0x3e343e){const [_0x3befb2,_0x3e0c73,_0x5f2388,_0x54e98c,_0x5d2f67,_0x4249ee]=_0x3c79d9[_0x2aa2af(0x13a)](':');_0x2fa76c[_0x2aa2af(0x269)]({'startOffset':Number(_0x3befb2),'endOffset':Number(_0x3e0c73),'collapsed':_0x3befb2===_0x3e0c73,'isActive':_0x5f2388==='1','rangeType':_0x54e98c===_0x3e70b8[_0x2aa2af(0x2bd)]['TEXT']?_0x3e70b8['DOC_RANGE_TYPE'][_0x2aa2af(0x31e)]:_0x3e70b8['DOC_RANGE_TYPE'][_0x2aa2af(0x266)],'segmentId':typeof _0x5d2f67==_0x2aa2af(0x135)?String(_0x5d2f67):'','segmentPage':Number(_0x4249ee!=null?_0x4249ee:-0x1)});}return _0x2fa76c[_0x2aa2af(0x1b4)](_0x30ac6e=>_0x30ac6e[_0x2aa2af(0x9d)])||(_0x2fa76c[0x0][_0x2aa2af(0x9d)]=!0x0),_0x2fa76c;}class _0x1d8f47 extends _0x3e70b8['RxDisposable']{constructor(){const _0x3ade97=_0x1eda19;super(...arguments),_0x1d81a2(this,_0x3ade97(0x22e),new _0x294c14[(_0x3ade97(0x125))](null)),_0x1d81a2(this,'collabCursorState$',this[_0x3ade97(0x22e)][_0x3ade97(0x1c1)]());}[_0x1eda19(0xd0)](_0x57a68f){const _0x4832b1=_0x1eda19,{unitID:_0x3e6fa2,memberID:_0x1c37cf,textRanges:_0x10afdf}=_0x57a68f,_0x142f0b=_0x411d8c(_0x10afdf);if(_0x142f0b==='')return;const _0x5881b5={'unitID':_0x3e6fa2,'memberID':_0x1c37cf,'selection':_0x142f0b};this[_0x4832b1(0x22e)]['next'](_0x5881b5);}}var _0x3ace56=Object[_0x1eda19(0x250)],_0x3afaa5=(_0x4c4195,_0x313195,_0x4ecf98,_0x555e37)=>{const _0x1bb0c3=_0x1eda19;for(var _0x5cf219=_0x555e37>0x1?void 0x0:_0x555e37?_0x3ace56(_0x313195,_0x4ecf98):_0x313195,_0x4c3303=_0x4c4195[_0x1bb0c3(0xfa)]-0x1,_0x774a0b;_0x4c3303>=0x0;_0x4c3303--)(_0x774a0b=_0x4c4195[_0x4c3303])&&(_0x5cf219=_0x774a0b(_0x5cf219)||_0x5cf219);return _0x5cf219;},_0x4db199=(_0xf500a2,_0x2f9f40)=>(_0x4989b4,_0x2e32ec)=>_0x2f9f40(_0x4989b4,_0x2e32ec,_0xf500a2);const _0x31a31b=0x12c,_0x441ee6=0x64;let _0x5bf135=class extends _0x3e70b8['RxDisposable']{constructor(_0x4a86fd,_0x240c04,_0x14ab60,_0x3d97c1,_0x59c698,_0x12553f,_0x4c5072,_0x2328f6,_0x200fd7){const _0x5ef714=_0x1eda19;super(),_0x1d81a2(this,_0x5ef714(0x137),!0x1),_0x1d81a2(this,_0x5ef714(0x237),!0x1),_0x1d81a2(this,_0x5ef714(0xd8),new _0x294c14['BehaviorSubject'](new Map())),_0x1d81a2(this,'cursorInfo$',this[_0x5ef714(0xd8)][_0x5ef714(0x1c1)]()),_0x1d81a2(this,'_roomMembers$',new _0x294c14[(_0x5ef714(0x125))]([])),_0x1d81a2(this,_0x5ef714(0xab),this[_0x5ef714(0x139)][_0x5ef714(0x136)](_0x294c14[_0x5ef714(0x181)](_0x31a31b))),_0x1d81a2(this,_0x5ef714(0x158),_0x3e70b8[_0x5ef714(0x97)](_0x42e3e7=>{const _0x5d4b7d=_0x5ef714,_0x5a3845={'eventID':_0x27c608[_0x5d4b7d(0x313)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5d4b7d(0x214)],'memberID':this[_0x5d4b7d(0x1db)][_0x5d4b7d(0x2fb)](),'selection':_0x411d8c(_0x42e3e7)}};this[_0x5d4b7d(0x1db)][_0x5d4b7d(0xf4)](_0x5a3845,this[_0x5d4b7d(0x214)]);},_0x441ee6)),(this[_0x5ef714(0x214)]=_0x4a86fd,this[_0x5ef714(0x1db)]=_0x240c04,this[_0x5ef714(0xdd)]=_0x14ab60,this['_colorAssignService']=_0x3d97c1,this[_0x5ef714(0x105)]=_0x59c698,this['_syncEditingCollabCursorService']=_0x12553f,this[_0x5ef714(0x178)]=_0x4c5072,this[_0x5ef714(0x2e7)]=_0x2328f6,this[_0x5ef714(0x1fb)]=_0x200fd7);}get[_0x1eda19(0x241)](){const _0x565780=_0x1eda19;return this[_0x565780(0xd8)][_0x565780(0x30d)]();}get['roomMembers'](){const _0x56b660=_0x1eda19;return this[_0x56b660(0x139)][_0x56b660(0x30d)]();}['dispose'](){const _0x2e4938=_0x1eda19;super['dispose'](),this[_0x2e4938(0xd8)][_0x2e4938(0x190)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x2e4938(0x190)]([]),this['_roomMembers$'][_0x2e4938(0x1ee)]();}[_0x1eda19(0xf9)](){const _0x4bcc58=_0x1eda19;this['_init']||(this['_init']=!0x0,this[_0x4bcc58(0x1db)][_0x4bcc58(0x251)][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this[_0x4bcc58(0x2ce)]))['subscribe'](_0x13fc37=>{const _0xe8161c=_0x4bcc58;_0x13fc37===_0x4bbaf5[_0xe8161c(0xf3)][_0xe8161c(0x131)]?this[_0xe8161c(0x12d)]():this[_0xe8161c(0xa0)]();}),this[_0x4bcc58(0x1db)][_0x4bcc58(0x28b)][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this['dispose$']))[_0x4bcc58(0x2ca)](_0x360400=>{const _0x192efd=_0x4bcc58,_0x38de9d=_0x360400['eventID'];_0x38de9d===_0x27c608['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x360400),_0x38de9d===_0x27c608[_0x192efd(0x313)][_0x192efd(0x1cb)]&&this[_0x192efd(0xcc)](_0x360400);}),this[_0x4bcc58(0x316)](this[_0x4bcc58(0x1fb)][_0x4bcc58(0x2f3)](_0x4916a0=>{const _0xda23b2=_0x4bcc58,_0x3909bc=_0x4916a0['params'];_0x3909bc!=null&&this[_0xda23b2(0x137)]&&_0x4916a0['id']===_0x81b01f[_0xda23b2(0x2d9)]['id']&&_0x3909bc[_0xda23b2(0x31d)]===this[_0xda23b2(0x214)]&&_0x3909bc[_0xda23b2(0x2e4)]===!0x1&&_0x3909bc[_0xda23b2(0x11f)][_0xda23b2(0xfa)]>0x0&&this['_updateLocalCursor'](_0x3909bc[_0xda23b2(0x11f)]);})),this[_0x4bcc58(0x2ac)]['collabCursorState$'][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this['dispose$']))[_0x4bcc58(0x2ca)](_0x2333ad=>{const _0x1efe1e=_0x4bcc58;if((_0x2333ad==null?void 0x0:_0x2333ad[_0x1efe1e(0x214)])!==this[_0x1efe1e(0x214)])return;const _0x2a3ddb={'eventID':_0x27c608['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x2333ad};this[_0x1efe1e(0x255)](_0x2a3ddb);}),this[_0x4bcc58(0x316)](this[_0x4bcc58(0x1fb)][_0x4bcc58(0x2f3)](_0x4e654d=>{const _0x3c8199=_0x4bcc58;if(_0x4e654d['params']==null)return;const _0x17369f=_0x4e654d['params'];if(_0x4e654d['id']!==_0x81b01f[_0x3c8199(0x134)]['id']||_0x17369f[_0x3c8199(0x31d)]!==this[_0x3c8199(0x214)])return;const _0x45bea4={'id':'doc.mutation.rich-text-editing','params':_0x17369f},_0x2dae7b=this[_0x3c8199(0x241)];for(const [_0x34341d,_0x315964]of _0x2dae7b){const _0x5d492b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3c8199(0x214)],'actions':null,'textRanges':_0x315964[_0x3c8199(0x11f)]}},_0x4ab3bb=this[_0x3c8199(0x178)][_0x3c8199(0xe6)](_0x45bea4,_0x5d492b,!0x1);if(_0x27c608[_0x3c8199(0x179)](_0x4ab3bb))throw _0x4ab3bb[_0x3c8199(0x1fe)];_0x2dae7b[_0x3c8199(0x1e4)](_0x34341d,{..._0x315964,'ranges':_0x4ab3bb['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x426204=_0x3c8199;this[_0x426204(0xd8)][_0x426204(0x190)](_0x2dae7b);});})));}['_onCursorUpdate'](_0xd24c2e){const _0x32ae23=_0x1eda19;var _0x110eb4,_0xed7072;const {memberID:_0x36dc36,selection:_0x3ee0b2}=_0xd24c2e['data'],_0x437c04=_0x2006e5(_0x3ee0b2),_0x2d8faf=(_0xed7072=(_0x110eb4=this[_0x32ae23(0x105)][_0x32ae23(0x1cd)](this['unitID'],_0x36dc36))==null?void 0x0:_0x110eb4[_0x32ae23(0x31f)])!=null?_0xed7072:_0x32ae23(0xb7),_0x18fee3={'color':this[_0x32ae23(0x2f0)]['assignAColorForMemberID'](_0x36dc36),'name':_0x2d8faf,'ranges':_0x437c04},_0x143829=this[_0x32ae23(0x241)];_0x143829[_0x32ae23(0x1e4)](_0x36dc36,_0x18fee3),this[_0x32ae23(0xd8)]['next'](_0x143829);}['_onCursorDelete'](_0x1aa6ea){const _0x32b399=_0x1eda19,{memberID:_0x3c235a}=_0x1aa6ea[_0x32b399(0x328)],_0xa63c0f=this[_0x32b399(0x241)];_0xa63c0f['delete'](_0x3c235a),this[_0x32b399(0xd8)][_0x32b399(0x190)](_0xa63c0f);}[_0x1eda19(0x12d)](){const _0x534ae4=_0x1eda19;var _0x4d0c6d;if(this['_online']=!0x0,((_0x4d0c6d=this[_0x534ae4(0x2e7)][_0x534ae4(0x2b2)]())==null?void 0x0:_0x4d0c6d[_0x534ae4(0x2f8)]())!==this['unitID'])return;const _0x4a6d46=this[_0x534ae4(0xdd)][_0x534ae4(0x15d)](_0x81b01f[_0x534ae4(0x1bd)])[_0x534ae4(0xae)]();Array[_0x534ae4(0xcb)](_0x4a6d46)&&_0x4a6d46['length']>0x0&&this['_updateLocalCursor'](_0x4a6d46);}[_0x1eda19(0xa0)](){const _0x2a4130=_0x1eda19;this[_0x2a4130(0x137)]=!0x1;}};_0x5bf135=_0x3afaa5([_0x4db199(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x4db199(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x598ec8)),_0x4db199(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x310)])),_0x4db199(0x5,_0x3e70b8['Inject'](_0x1d8f47)),_0x4db199(0x6,_0x27c608[_0x1eda19(0x183)]),_0x4db199(0x7,_0x3e70b8[_0x1eda19(0xa9)]),_0x4db199(0x8,_0x3e70b8[_0x1eda19(0xe1)])],_0x5bf135);var _0x8d61f7=Object[_0x1eda19(0x250)],_0x502c25=(_0x14b318,_0x4d1ef5,_0x365e32,_0x2bb0e7)=>{const _0x19ca92=_0x1eda19;for(var _0x5a3e4c=_0x2bb0e7>0x1?void 0x0:_0x2bb0e7?_0x8d61f7(_0x4d1ef5,_0x365e32):_0x4d1ef5,_0x274712=_0x14b318[_0x19ca92(0xfa)]-0x1,_0x4d8ea1;_0x274712>=0x0;_0x274712--)(_0x4d8ea1=_0x14b318[_0x274712])&&(_0x5a3e4c=_0x4d8ea1(_0x5a3e4c)||_0x5a3e4c);return _0x5a3e4c;},_0x4e8653=(_0x1ec6b0,_0x52f1c5)=>(_0x578c05,_0x223895)=>_0x52f1c5(_0x578c05,_0x223895,_0x1ec6b0);const _0x2f474d=0x12c,_0x406cbe=0x64,_0x3dc746=()=>{let _0x571f9e=[],_0x16f8ea=!0x1;return _0x2184d7=>{_0x571f9e['push'](_0x2184d7),_0x16f8ea||(_0x16f8ea=!0x0,setTimeout(()=>{const _0x1a1991=_0x2795;_0x571f9e[_0x1a1991(0x2a5)](_0x2f058d=>_0x2f058d()),_0x571f9e=[],_0x16f8ea=!0x1;}));};};let _0x2c2d4f=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x2cff55,_0x4df5e7,_0x27823b,_0x4a415f,_0x5fac6,_0x373e90,_0x562245,_0x23c99c){const _0x2ef96d=_0x1eda19;super(),_0x1d81a2(this,_0x2ef96d(0x137),!0x1),_0x1d81a2(this,'_init',!0x1),_0x1d81a2(this,_0x2ef96d(0xd8),new _0x294c14[(_0x2ef96d(0x125))](new Map())),_0x1d81a2(this,'cursorInfo$',this[_0x2ef96d(0xd8)][_0x2ef96d(0x1c1)]()),_0x1d81a2(this,_0x2ef96d(0x139),new _0x294c14[(_0x2ef96d(0x125))]([])),_0x1d81a2(this,_0x2ef96d(0xab),this[_0x2ef96d(0x139)][_0x2ef96d(0x136)](_0x294c14[_0x2ef96d(0x181)](_0x2f474d))),_0x1d81a2(this,'_updateLocalCursor',_0x3e70b8[_0x2ef96d(0x97)]((_0x563a46,_0x422309)=>{const _0x4d80a5=_0x2ef96d,_0xd2132e={'eventID':_0x27c608[_0x4d80a5(0x313)][_0x4d80a5(0x106)],'data':{'unitID':this[_0x4d80a5(0x214)],'memberID':this[_0x4d80a5(0x1db)][_0x4d80a5(0x2fb)](),'selection':_0x384d3c['serializeRangeWithSheet'](_0x563a46,_0x422309[_0x4d80a5(0xee)])}};this[_0x4d80a5(0x1db)]['send'](_0xd2132e,this[_0x4d80a5(0x214)]);},_0x406cbe)),(this[_0x2ef96d(0x214)]=_0x2cff55,this[_0x2ef96d(0x1db)]=_0x4df5e7,this[_0x2ef96d(0xdd)]=_0x27823b,this[_0x2ef96d(0x2f0)]=_0x4a415f,this[_0x2ef96d(0x105)]=_0x5fac6,this[_0x2ef96d(0x2e7)]=_0x373e90,this[_0x2ef96d(0x1fb)]=_0x562245,this[_0x2ef96d(0x12f)]=_0x23c99c);}get['cursorInfo'](){const _0x529e51=_0x1eda19;return this[_0x529e51(0xd8)][_0x529e51(0x30d)]();}get[_0x1eda19(0x1e9)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x230125=_0x1eda19;super[_0x230125(0x324)](),this['_cursorInfo$'][_0x230125(0x190)](new Map()),this[_0x230125(0xd8)][_0x230125(0x1ee)](),this[_0x230125(0x139)][_0x230125(0x190)]([]),this[_0x230125(0x139)][_0x230125(0x1ee)]();}['init'](){const _0x3c28bd=_0x1eda19;this[_0x3c28bd(0x237)]||(this[_0x3c28bd(0x237)]=!0x0,this[_0x3c28bd(0x1db)]['sessionStatus$']['pipe'](_0x294c14[_0x3c28bd(0x160)](this['dispose$']))[_0x3c28bd(0x2ca)](_0x29bce2=>{const _0x1ba1fa=_0x3c28bd;_0x29bce2===_0x4bbaf5[_0x1ba1fa(0xf3)][_0x1ba1fa(0x131)]?this[_0x1ba1fa(0x12d)]():this[_0x1ba1fa(0xa0)]();}),this[_0x3c28bd(0x1db)][_0x3c28bd(0x28b)][_0x3c28bd(0x136)](_0x294c14['takeUntil'](this[_0x3c28bd(0x2ce)]))[_0x3c28bd(0x2ca)](_0x2dd8f8=>{const _0x5cf2f6=_0x3c28bd,_0x11d06e=_0x2dd8f8[_0x5cf2f6(0x2dc)];_0x11d06e===_0x27c608[_0x5cf2f6(0x313)][_0x5cf2f6(0x106)]&&this[_0x5cf2f6(0x255)](_0x2dd8f8),_0x11d06e===_0x27c608[_0x5cf2f6(0x313)]['USERS_LEAVE']&&this[_0x5cf2f6(0xcc)](_0x2dd8f8);}),this[_0x3c28bd(0x1a8)](),this[_0x3c28bd(0x316)](this[_0x3c28bd(0x1fb)][_0x3c28bd(0x2f3)](_0x2099f2=>{const _0x50c4f4=_0x3c28bd;if(this['_online']&&_0x2099f2['id']===_0x2e00d7[_0x50c4f4(0x2bb)]['id']&&_0x2099f2['params'][_0x50c4f4(0x31d)]===this[_0x50c4f4(0x214)]){const _0x7c2fc3=_0x2099f2[_0x50c4f4(0x230)];this[_0x50c4f4(0x158)](_0x7c2fc3[_0x50c4f4(0x2da)],_0x7c2fc3[_0x50c4f4(0x16c)][0x0]);}})));}['_onCursorUpdate'](_0x9e554f){const _0x1e2757=_0x1eda19;var _0x1e8a62,_0x280b2f;const {memberID:_0x554553,selection:_0x3a4c66}=_0x9e554f[_0x1e2757(0x328)],{sheetName:_0x4e2005,range:_0x18035f}=_0x384d3c[_0x1e2757(0xec)](_0x3a4c66),_0xcdb471={'name':(_0x280b2f=(_0x1e8a62=this[_0x1e2757(0x105)][_0x1e2757(0x1cd)](this['unitID'],_0x554553))==null?void 0x0:_0x1e8a62['name'])!=null?_0x280b2f:'Unknown\x20user','range':this[_0x1e2757(0xcf)](_0x4e2005,_0x18035f),'sheetID':_0x4e2005,'color':this[_0x1e2757(0x2f0)][_0x1e2757(0x18f)](_0x554553),'selection':_0x3a4c66},_0x2675c0=this[_0x1e2757(0x241)];_0x2675c0['set'](_0x554553,_0xcdb471),this[_0x1e2757(0xd8)]['next'](_0x2675c0);}[_0x1eda19(0xcc)](_0x5e1e26){const _0x42bfb7=_0x1eda19,{memberID:_0x436fe1}=_0x5e1e26[_0x42bfb7(0x328)],_0x2f4811=this[_0x42bfb7(0x241)];_0x2f4811['delete'](_0x436fe1),this[_0x42bfb7(0xd8)]['next'](_0x2f4811);}[_0x1eda19(0xcf)](_0x1b4fbf,_0x262d60){const _0x345dcf=_0x1eda19;var _0x21d469,_0x550f4a;const _0x52b088=(_0x550f4a=(_0x21d469=this[_0x345dcf(0x2e7)]['getUniverSheetInstance'](this[_0x345dcf(0x214)]))==null?void 0x0:_0x21d469[_0x345dcf(0x272)](_0x1b4fbf))==null?void 0x0:_0x550f4a['getMergeData']();return(_0x52b088==null?void 0x0:_0x52b088[_0x345dcf(0x212)](_0x5513c8=>_0x3e70b8[_0x345dcf(0x96)][_0x345dcf(0x164)](_0x5513c8,_0x262d60)))||_0x262d60;}['_onRefRangeChange'](){const _0x46fcac=_0x1eda19,_0x5a5ad5=new _0x3e70b8['DisposableCollection'](),_0x232963=_0x3dc746(),_0x4468f6=()=>{const _0x1c9548=_0x2795;_0x5a5ad5[_0x1c9548(0x324)]();const _0x8ff9ff=(_0x23fed2,_0x4fdcb9,_0xbbe8a4,_0x2a81b9)=>{const _0x2e6d99=_0x1c9548;let _0x5e4f5d=[];switch(_0x23fed2['id']){case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x1b3)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x24b)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x239)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x8e)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x1cc)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x28d)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x154)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x222)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)]['InsertRangeMoveRightCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x156)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7['EffectRefRangId']['InsertRowCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x14d)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)]['MoveRangeCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x209)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0xbd)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x31a)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x9a)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x2e3)](_0x23fed2,_0x2a81b9);break;}}const _0x290f96=_0x2e00d7[_0x2e6d99(0x265)](_0x5e4f5d,_0x2a81b9),_0x34b559=this['cursorInfo'][_0x2e6d99(0x15d)](_0x4fdcb9);if(_0x34b559&&_0x290f96){const _0x45db6b={..._0x34b559,'range':_0x290f96};this[_0x2e6d99(0x241)]['set'](_0x4fdcb9,_0x45db6b),_0x232963(()=>{const _0xb16c45=_0x2e6d99,_0x3ab0ee=this[_0xb16c45(0x12f)][_0xb16c45(0x18e)](_0x290f96,_0x25c314=>(_0x3ab0ee[_0xb16c45(0x324)](),_0x8ff9ff(_0x25c314,_0x4fdcb9,_0xbbe8a4,_0x290f96)));_0x5a5ad5[_0xb16c45(0x9e)](_0x3ab0ee);});}return{'redos':[],'undos':[]};};this[_0x1c9548(0x241)][_0x1c9548(0x2a5)]((_0x5158b1,_0x1c8fc6)=>{const _0x66555c=_0x1c9548,{range:_0x123a47,sheetID:_0x1f8877}=_0x5158b1,_0x24d583=this['_refRangeService'][_0x66555c(0x18e)](_0x123a47,_0x557306=>(_0x24d583[_0x66555c(0x324)](),_0x8ff9ff(_0x557306,_0x1c8fc6,_0x1f8877,_0x123a47)));_0x5a5ad5['add'](_0x24d583);});};this[_0x46fcac(0x316)](_0x3e70b8['toDisposable'](this[_0x46fcac(0xd8)]['subscribe'](()=>{_0x4468f6();})));}[_0x1eda19(0x12d)](){const _0x401f1a=_0x1eda19;var _0x3f298e,_0x4a493c;if(this[_0x401f1a(0x137)]=!0x0,((_0x3f298e=this['_univerInstanceService'][_0x401f1a(0x2b2)]())==null?void 0x0:_0x3f298e[_0x401f1a(0x2f8)]())!==this['unitID'])return;const _0x2ebffb=(_0x4a493c=this['_injector'][_0x401f1a(0x15d)](_0x2e00d7[_0x401f1a(0x282)])['getCurrentSelections']())==null?void 0x0:_0x4a493c[0x0],_0x37df7f=this['_univerInstanceService'][_0x401f1a(0x10a)](_0x3e70b8[_0x401f1a(0x10e)][_0x401f1a(0x124)])[_0x401f1a(0x30f)]();_0x2ebffb&&_0x37df7f&&this['_updateLocalCursor'](_0x37df7f[_0x401f1a(0x2b5)](),_0x2ebffb);}[_0x1eda19(0xa0)](){const _0x2ae031=_0x1eda19;this[_0x2ae031(0x137)]=!0x1;}};_0x2c2d4f=_0x502c25([_0x4e8653(0x2,_0x3e70b8['Inject'](_0x3e70b8[_0x1eda19(0x2aa)])),_0x4e8653(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x598ec8)),_0x4e8653(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x310)])),_0x4e8653(0x5,_0x3e70b8[_0x1eda19(0xa9)]),_0x4e8653(0x6,_0x3e70b8[_0x1eda19(0xe1)]),_0x4e8653(0x7,_0x3e70b8[_0x1eda19(0x1be)](_0x2e00d7['RefRangeService']))],_0x2c2d4f);var _0x4b877a=Object['getOwnPropertyDescriptor'],_0x55b863=(_0x4de6c0,_0x3a8d02,_0x4af1d9,_0x405d18)=>{const _0x273c00=_0x1eda19;for(var _0x5c0715=_0x405d18>0x1?void 0x0:_0x405d18?_0x4b877a(_0x3a8d02,_0x4af1d9):_0x3a8d02,_0x1a1f93=_0x4de6c0[_0x273c00(0xfa)]-0x1,_0x49b77d;_0x1a1f93>=0x0;_0x1a1f93--)(_0x49b77d=_0x4de6c0[_0x1a1f93])&&(_0x5c0715=_0x49b77d(_0x5c0715)||_0x5c0715);return _0x5c0715;},_0x3ac574=(_0x43c40a,_0x2a924d)=>(_0x27dd24,_0x2f3376)=>_0x2a924d(_0x27dd24,_0x2f3376,_0x43c40a);let _0x2b1c7e=class extends _0x3e70b8['RxDisposable']{constructor(_0xb7ac1f,_0x3efa5b,_0x216039){const _0x13fbfe=_0x1eda19;super(),_0x1d81a2(this,'_entities',new Map()),_0x1d81a2(this,_0x13fbfe(0x1e5),new _0x294c14[(_0x13fbfe(0x321))]()),(this[_0x13fbfe(0x2e7)]=_0xb7ac1f,this[_0x13fbfe(0xdd)]=_0x3efa5b,this[_0x13fbfe(0x170)]=_0x216039,this[_0x13fbfe(0x237)]());}[_0x1eda19(0x324)](){const _0x2a8d7c=_0x1eda19;super[_0x2a8d7c(0x324)](),this['_entityInit$'][_0x2a8d7c(0x1ee)](),this[_0x2a8d7c(0x2df)][_0x2a8d7c(0x2a5)](_0x2eddcb=>_0x2eddcb['dispose']());}[_0x1eda19(0x104)](_0x2c3b1b){const _0x2cd79b=_0x1eda19;return this[_0x2cd79b(0x2df)][_0x2cd79b(0x25b)](_0x2c3b1b)?this[_0x2cd79b(0x2df)][_0x2cd79b(0x15d)](_0x2c3b1b)[_0x2cd79b(0x138)]:this[_0x2cd79b(0x1e5)][_0x2cd79b(0x136)](_0x294c14['filter'](_0x24efb7=>_0x24efb7[_0x2cd79b(0x214)]===_0x2c3b1b),_0x294c14[_0x2cd79b(0x23e)](_0x834fd=>_0x834fd[_0x2cd79b(0x138)]));}[_0x1eda19(0x237)](){const _0x3c7cce=_0x1eda19;this['_univerInstanceService'][_0x3c7cce(0xf8)](_0x3e70b8[_0x3c7cce(0x10e)]['UNIVER_SHEET'])['pipe'](_0x294c14[_0x3c7cce(0x160)](this[_0x3c7cce(0x2ce)]))[_0x3c7cce(0x2ca)](async _0x318284=>{const _0x55bce3=_0x3c7cce,_0x8444ae=_0x318284[_0x55bce3(0x2f8)](),_0x7dc686=await this[_0x55bce3(0x311)](_0x8444ae);this[_0x55bce3(0x1e5)][_0x55bce3(0x190)](_0x7dc686),this['_entities'][_0x55bce3(0x1e4)](_0x8444ae,_0x7dc686);}),this[_0x3c7cce(0x2e7)][_0x3c7cce(0xf8)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x149)])['pipe'](_0x294c14['takeUntil'](this[_0x3c7cce(0x2ce)]))['pipe'](_0x294c14[_0x3c7cce(0x284)](_0x5ca5e3=>!_0x5ca5e3['getUnitId']()[_0x3c7cce(0xa7)]('__')))[_0x3c7cce(0x2ca)](async _0x9ff96f=>{const _0x3744fd=_0x3c7cce,_0x22ab4a=_0x9ff96f[_0x3744fd(0x2f8)](),_0x28400c=await this[_0x3744fd(0x1ad)](_0x22ab4a);this[_0x3744fd(0x1e5)][_0x3744fd(0x190)](_0x28400c),this[_0x3744fd(0x2df)][_0x3744fd(0x1e4)](_0x22ab4a,_0x28400c);}),_0x294c14[_0x3c7cce(0x306)](this[_0x3c7cce(0x2e7)][_0x3c7cce(0x148)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x149)]),this[_0x3c7cce(0x2e7)][_0x3c7cce(0x148)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x124)]))[_0x3c7cce(0x136)](_0x294c14[_0x3c7cce(0x160)](this[_0x3c7cce(0x2ce)]))[_0x3c7cce(0x2ca)](_0x3c1ae5=>{const _0x4361f8=_0x3c7cce,_0x583735=_0x3c1ae5['getUnitId'](),_0x98f52f=this[_0x4361f8(0x2df)]['get'](_0x583735);_0x98f52f&&(_0x98f52f['dispose'](),this[_0x4361f8(0x2df)][_0x4361f8(0x2d0)](_0x583735));});}async[_0x1eda19(0x311)](_0x5ceb38){const _0x274077=_0x1eda19,_0x2e488f=await this[_0x274077(0x170)][_0x274077(0x1f2)](_0x5ceb38),_0x19a1e7=this[_0x274077(0xdd)][_0x274077(0x20c)](_0x2c2d4f,_0x5ceb38,_0x2e488f);return _0x19a1e7[_0x274077(0xf9)](),_0x19a1e7;}async[_0x1eda19(0x1ad)](_0x549a1e){const _0x5d1553=_0x1eda19,_0x21ea83=await this[_0x5d1553(0x170)][_0x5d1553(0x1f2)](_0x549a1e),_0x2cca84=this[_0x5d1553(0xdd)]['createInstance'](_0x5bf135,_0x549a1e,_0x21ea83);return _0x2cca84[_0x5d1553(0xf9)](),_0x2cca84;}};_0x2b1c7e=_0x55b863([_0x3ac574(0x0,_0x3e70b8[_0x1eda19(0xa9)]),_0x3ac574(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x3ac574(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x28c)]))],_0x2b1c7e);const _0x286ef5=0x14,_0x5d69a4=0xc8,_0x315c16=0x4,_0x38ff39=0x5;function _0x4e20ed(_0x5ba417,_0x2110cc){const _0x2cc5f9=_0x1eda19;let {radius:_0x5e4cd1,width:_0x5946d1,height:_0x274ce6}=_0x2110cc;_0x5e4cd1=_0x5e4cd1!=null?_0x5e4cd1:0x0,_0x5946d1=_0x5946d1!=null?_0x5946d1:0x1e,_0x274ce6=_0x274ce6!=null?_0x274ce6:0x1e;let _0xf32173=0x0,_0x34ddff=0x0,_0x44a69b=0x0;_0xf32173=_0x34ddff=_0x44a69b=Math[_0x2cc5f9(0x2ba)](_0x5e4cd1,_0x5946d1/0x2,_0x274ce6/0x2),_0x5ba417['beginPath'](),_0x5ba417[_0x2cc5f9(0x1b2)](_0xf32173,0x0),_0x5ba417[_0x2cc5f9(0x283)](_0x5946d1-_0x34ddff,0x0),_0x5ba417[_0x2cc5f9(0xf6)](_0x5946d1-_0x34ddff,_0x34ddff,_0x34ddff,Math['PI']*0x3/0x2,0x0,!0x1),_0x5ba417[_0x2cc5f9(0x283)](_0x5946d1,_0x274ce6-_0x44a69b),_0x5ba417['arc'](_0x5946d1-_0x44a69b,_0x274ce6-_0x44a69b,_0x44a69b,0x0,Math['PI']/0x2,!0x1),_0x5ba417[_0x2cc5f9(0x283)](0x0,_0x274ce6),_0x5ba417[_0x2cc5f9(0x283)](0x0,_0xf32173),_0x5ba417[_0x2cc5f9(0xf6)](_0xf32173,_0xf32173,_0xf32173,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5ba417[_0x2cc5f9(0x298)](),_0x2110cc[_0x2cc5f9(0x102)]&&(_0x5ba417[_0x2cc5f9(0x147)](),_0x5ba417['fillStyle']=_0x2110cc[_0x2cc5f9(0x102)],_0x2110cc['fillRule']===_0x2cc5f9(0x293)?_0x5ba417[_0x2cc5f9(0x102)](_0x2cc5f9(0x293)):_0x5ba417[_0x2cc5f9(0x102)](),_0x5ba417[_0x2cc5f9(0xa4)]());}class _0x4e76f4 extends _0x14944b[_0x1eda19(0x301)]{constructor(_0x1523c1,_0x2ba300){const _0x46023d=_0x1eda19;super(_0x1523c1,_0x2ba300),_0x1d81a2(this,_0x46023d(0x1fc)),_0x1d81a2(this,_0x46023d(0x22f)),(this['color']=_0x2ba300==null?void 0x0:_0x2ba300['color'],this['text']=_0x2ba300==null?void 0x0:_0x2ba300[_0x46023d(0x22f)]);}static[_0x1eda19(0x143)](_0x49a40f,_0x1ac05b){const _0x104644=_0x1eda19,{text:_0x330241,color:_0x11fb16}=_0x1ac05b;_0x49a40f[_0x104644(0x147)](),_0x49a40f[_0x104644(0x19e)]=_0x104644(0x198);const _0x593ff2=_0x49a40f[_0x104644(0x1a4)](_0x330241)[_0x104644(0x229)],_0x17acf9=Math['min'](_0x593ff2+0x2*_0x315c16,_0x5d69a4);_0x4e20ed(_0x49a40f,{'height':_0x286ef5,'radius':0x4,'width':_0x17acf9,'fill':_0x11fb16}),_0x49a40f['fillStyle']='#FFF';const _0x3a497c=_0x315c16,_0x3bc3f2=_0x286ef5-_0x38ff39,_0xbb93e7=_0x5d69a4-0x2*_0x315c16;if(_0x593ff2>_0xbb93e7){let _0x561b71='',_0x515f75=0x0;for(const _0xe77c4a of _0x330241){const _0x34e80a=_0x49a40f['measureText'](_0xe77c4a)[_0x104644(0x229)];if(_0x515f75+_0x34e80a<=_0xbb93e7-_0x49a40f[_0x104644(0x1a4)](_0x104644(0x18a))['width'])_0x561b71+=_0xe77c4a,_0x515f75+=_0x34e80a;else{_0x561b71+=_0x104644(0x18a);break;}}_0x49a40f[_0x104644(0x319)](_0x561b71,_0x3a497c,_0x3bc3f2);}else _0x49a40f['fillText'](_0x330241,_0x3a497c,_0x3bc3f2);_0x49a40f[_0x104644(0xa4)]();}['_draw'](_0x590b42){const _0x48602c=_0x1eda19;_0x4e76f4[_0x48602c(0x143)](_0x590b42,this);}}const _0x2bb81d=_0x1eda19(0x268),_0x51bcf0=_0x1eda19(0xd5),_0x5ad82e=_0x1eda19(0x8c),_0x2485b8=0x6,_0x1e60a6=1.5,_0x413990=0x4,_0x4caf63=1.5,_0x220c52=_0x1eda19(0xc4);class _0x36b67d{constructor(_0x2539dd,_0x5ba47b,_0x10e51a,_0x28cae2){const _0x12b64b=_0x1eda19;_0x1d81a2(this,_0x12b64b(0x323),[]),_0x1d81a2(this,_0x12b64b(0x202),null),_0x1d81a2(this,_0x12b64b(0x192),null),_0x1d81a2(this,_0x12b64b(0x191),null),_0x1d81a2(this,_0x12b64b(0xe2),null),_0x1d81a2(this,_0x12b64b(0x21e),null),(this[_0x12b64b(0x287)]=_0x2539dd,this[_0x12b64b(0xe8)]=_0x5ba47b,this[_0x12b64b(0x1df)]=_0x10e51a,this[_0x12b64b(0x8d)]=_0x28cae2,this[_0x12b64b(0xb0)]());}set[_0x1eda19(0x182)](_0x448972){const _0xb68300=_0x1eda19;_0x448972?(this[_0xb68300(0x191)]&&this[_0xb68300(0x191)][_0xb68300(0x2f1)](),this[_0xb68300(0x192)]&&this['_textBubble'][_0xb68300(0x264)]()):(this[_0xb68300(0x191)]&&this['_anchorDot'][_0xb68300(0x264)](),this['_textBubble']&&this[_0xb68300(0x192)]['hide']());}[_0x1eda19(0x324)](){const _0x81719d=_0x1eda19;for(const _0x39b2eb of this[_0x81719d(0x323)])_0x39b2eb[_0x81719d(0x324)]();this[_0x81719d(0x192)]&&this[_0x81719d(0x192)]['dispose'](),this['_anchorDot']&&this[_0x81719d(0x191)][_0x81719d(0x324)](),this[_0x81719d(0x202)]&&this[_0x81719d(0x202)]['dispose'](),this[_0x81719d(0x21e)]&&this[_0x81719d(0x21e)]();}['_render'](){const _0x211833=_0x1eda19;var _0x334af7;const {_docSkeleton:_0x2f5ef4,_document:_0x25cf70}=this,{color:_0x4f01e8,name:_0x1c78c5,ranges:_0x3963c4}=this[_0x211833(0x287)],_0x126008=_0x25cf70[_0x211833(0x273)](),{docsLeft:_0x24c86e,docsTop:_0x55edb5}=_0x126008,_0x500122=new _0x188185[(_0x211833(0x2b9))](_0x126008,_0x2f5ef4);for(const {startOffset:_0x4be295,endOffset:_0x5721cd,rangeType:_0x2d66e9,segmentId:_0x227b2e,segmentPage:_0x398962,collapsed:_0x1f469c,isActive:_0x425375}of _0x3963c4){const _0x212ef8=_0x2f5ef4[_0x211833(0x1ca)](_0x4be295,!0x0,_0x227b2e,_0x398962);let _0xa0e37=_0x2f5ef4['findNodePositionByCharIndex'](_0x5721cd,!0x0,_0x227b2e,_0x398962);if(_0xa0e37==null&&(_0xa0e37=_0x2f5ef4['findNodePositionByCharIndex'](_0x5721cd-0x1,!0x1,_0x227b2e,_0x398962)),_0x425375){const {contentBoxPointGroup:_0x29fd6b}=_0x500122[_0x211833(0x12e)](_0xa0e37,_0xa0e37);if(_0x29fd6b[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x2e9)](_0x4f01e8,_0x29fd6b,_0x24c86e,_0x55edb5,_0x1c78c5),this['_eventUnsubscribe']=this[_0x211833(0xaa)]();}if(_0x212ef8&&_0xa0e37){if(_0x2d66e9===_0x3e70b8[_0x211833(0x2bd)][_0x211833(0x266)]){const _0x19b66f=new _0x188185[(_0x211833(0x210))](_0x126008,_0x2f5ef4),{pointGroup:_0x5a3cc0}=(_0x334af7=_0x19b66f[_0x211833(0x12e)](_0x212ef8,_0xa0e37))!=null?_0x334af7:{};if(_0x5a3cc0==null||_0x5a3cc0[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x27f)](_0x4f01e8,_0x5a3cc0,_0x24c86e,_0x55edb5);}else{if(!_0x1f469c){const {borderBoxPointGroup:_0x2978cc}=_0x500122[_0x211833(0x12e)](_0x212ef8,_0xa0e37);if(_0x2978cc[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x2bf)](_0x4f01e8,_0x2978cc,_0x24c86e,_0x55edb5);}}}}}[_0x1eda19(0x2e9)](_0xca102c,_0x3ee8d6,_0x4ec686,_0x4ea676,_0xd15da){const _0x511e18=_0x1eda19,_0x9a3441=this[_0x511e18(0x98)](_0x3ee8d6),{left:_0x20c16b,top:_0x27d078,height:_0x528ab7}=_0x9a3441,_0x3c5d44=this['_getScale'](),_0x3af832=_0x4caf63/_0x3c5d44,_0x1a2211=new _0x14944b[(_0x511e18(0xac))](_0x2bb81d+_0x3e70b8['generateRandomId'](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676,'height':_0x528ab7,'width':_0x1e60a6,'fill':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'strokeWidth':_0x3af832,'stroke':_0x220c52,'evented':!0x0});this[_0x511e18(0x202)]=_0x1a2211,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x1a2211,_0x188185[_0x511e18(0x261)]);const _0x40f45b=new _0x14944b['Rect'](_0x2bb81d+_0x3e70b8[_0x511e18(0x2cc)](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676-_0x413990/0x2,'height':_0x413990,'width':_0x413990,'fill':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'strokeWidth':0x0,'stroke':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'evented':!0x1});this[_0x511e18(0x191)]=_0x40f45b,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x40f45b,_0x188185[_0x511e18(0x261)]);const _0x335e45=new _0x4e76f4(_0x2bb81d+_0x3e70b8[_0x511e18(0x2cc)](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676-_0x286ef5,'text':_0xd15da,'color':_0xca102c});this[_0x511e18(0x192)]=_0x335e45,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x335e45,_0x188185[_0x511e18(0x261)]),this[_0x511e18(0x182)]=!0x1;}['_handleHover'](){const _0x5bf0a2=_0x1eda19,_0x4d26a0=this['_anchor']['onPointerEnter$'][_0x5bf0a2(0x2db)](()=>{const _0x21150b=_0x5bf0a2;this[_0x21150b(0x182)]=!0x0;}),_0xdfee03=this[_0x5bf0a2(0x202)]['onPointerLeave$'][_0x5bf0a2(0x2db)](()=>{const _0x5bcf06=_0x5bf0a2;this['_hideTimer']&&clearTimeout(this[_0x5bcf06(0xe2)]),this[_0x5bcf06(0xe2)]=setTimeout(()=>{const _0x4d1476=_0x5bcf06;this[_0x4d1476(0x182)]=!0x1;},0x7d0);});return()=>{const _0x49ba9e=_0x5bf0a2;_0x4d26a0[_0x49ba9e(0xa5)](),_0xdfee03['unsubscribe']();};}[_0x1eda19(0x2bf)](_0x1696ef,_0xc6c9fc,_0x42728c,_0x4a4aad){const _0x30be56=_0x1eda19,_0xe2ffcd=new _0x3e70b8['ColorKit'](_0x1696ef)[_0x30be56(0x1b8)](0.2)['toRgbString'](),_0x169e70=new _0x14944b[(_0x30be56(0x286))](_0x51bcf0+_0x3e70b8[_0x30be56(0x2cc)](_0x2485b8),{'pointsGroup':_0xc6c9fc,'fill':_0xe2ffcd||_0x14944b[_0x30be56(0x197)](_0x3e70b8[_0x30be56(0x93)][_0x30be56(0x17a)],0.2),'left':_0x42728c,'top':_0x4a4aad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30be56(0x323)][_0x30be56(0x269)](_0x169e70),this[_0x30be56(0xe8)][_0x30be56(0x309)](_0x169e70,_0x188185[_0x30be56(0x261)]);}[_0x1eda19(0x27f)](_0x469a17,_0x5078ea,_0x241186,_0x327ab9){const _0x212772=_0x1eda19,_0x50d6b1=new _0x3e70b8['ColorKit'](_0x469a17)[_0x212772(0x1b8)](0.2)['toRgbString'](),_0x4b185b=new _0x14944b[(_0x212772(0x286))](_0x5ad82e+_0x3e70b8['generateRandomId'](_0x2485b8),{'pointsGroup':_0x5078ea,'fill':_0x50d6b1||_0x14944b[_0x212772(0x197)](_0x3e70b8[_0x212772(0x93)]['black'],0.2),'left':_0x241186,'top':_0x327ab9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x212772(0x323)]['push'](_0x4b185b),this['_scene']['addObject'](_0x4b185b,_0x188185[_0x212772(0x261)]);}[_0x1eda19(0x98)](_0x22f22e){const _0x2ac237=_0x22f22e[0x0],_0x4cfbef=_0x2ac237[0x0],_0x5eb942=_0x2ac237[0x2],{x:_0x23e2ac,y:_0x199e5b}=_0x4cfbef,{x:_0x4274e2,y:_0x3aea5c}=_0x5eb942;return{'left':_0x23e2ac,'top':_0x199e5b,'width':_0x4274e2-_0x23e2ac,'height':_0x3aea5c-_0x199e5b};}[_0x1eda19(0x30a)](){const _0x27e1ad=_0x1eda19,{scaleX:_0x1dbdd6,scaleY:_0x164b46}=this[_0x27e1ad(0xe8)]['getAncestorScale']();return Math[_0x27e1ad(0x140)](_0x1dbdd6,_0x164b46);}}var _0x4c4a1a=Object[_0x1eda19(0x250)],_0x4051c4=(_0x274ba7,_0x23b75b,_0x2607e5,_0x31539e)=>{const _0x2abe2b=_0x1eda19;for(var _0x4b6bdb=_0x31539e>0x1?void 0x0:_0x31539e?_0x4c4a1a(_0x23b75b,_0x2607e5):_0x23b75b,_0x23c320=_0x274ba7[_0x2abe2b(0xfa)]-0x1,_0x59a463;_0x23c320>=0x0;_0x23c320--)(_0x59a463=_0x274ba7[_0x23c320])&&(_0x4b6bdb=_0x59a463(_0x4b6bdb)||_0x4b6bdb);return _0x4b6bdb;},_0x57098=(_0xabf06a,_0x3fa01a)=>(_0x3247a1,_0x504556)=>_0x3fa01a(_0x3247a1,_0x504556,_0xabf06a);let _0xffd5df=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x2aac78,_0x2486b3,_0x4dbc30,_0x2d56c9,_0x1d5949){const _0x36dc69=_0x1eda19;super(),_0x1d81a2(this,_0x36dc69(0x1dc),[]),_0x1d81a2(this,_0x36dc69(0x17f),[]),(this[_0x36dc69(0x31c)]=_0x2aac78,this[_0x36dc69(0xc5)]=_0x2486b3,this[_0x36dc69(0x17d)]=_0x4dbc30,this[_0x36dc69(0x1fb)]=_0x2d56c9,this[_0x36dc69(0x157)]=_0x1d5949,this[_0x36dc69(0x237)]());}['_init'](){const _0xdaca88=_0x1eda19,_0x2c3991=this[_0xdaca88(0x31c)][_0xdaca88(0x31d)],_0x2255f0=this[_0xdaca88(0xc5)];this[_0xdaca88(0x316)](_0x294c14[_0xdaca88(0x13f)]([this['_collabCursorController'][_0xdaca88(0x104)](_0x2c3991),this[_0xdaca88(0x157)][_0xdaca88(0x28e)]])['pipe'](_0xff66a0[_0xdaca88(0x15b)](([_0x42a1dd,_0x532d7e])=>({'skeleton':_0x2255f0[_0xdaca88(0x30e)](),'cursors':[..._0x42a1dd[_0xdaca88(0x223)]()]['flatMap'](_0x5e64ff=>({..._0x5e64ff,'color':this[_0xdaca88(0x157)][_0xdaca88(0x22d)](_0x5e64ff[_0xdaca88(0x1fc)])}))})))[_0xdaca88(0x2ca)](_0x16aba7=>{const _0x11bd89=_0xdaca88;if(this[_0x11bd89(0x115)](),_0x16aba7){const {skeleton:_0x42d3cd,cursors:_0x179759}=_0x16aba7;this[_0x11bd89(0x289)](_0x42d3cd,_0x179759);}})),this[_0xdaca88(0x1e8)](),this[_0xdaca88(0xff)]();}[_0x1eda19(0x289)](_0x506d02,_0x591b6c){const _0x53f76b=_0x1eda19,{scene:_0x47747c,mainComponent:_0x914fc9}=this['_context'],_0x2993cb=_0x591b6c[_0x53f76b(0x15b)](_0x2ad363=>new _0x36b67d(_0x2ad363,_0x47747c,_0x506d02,_0x914fc9));this['_cursorShapes']=_0x2993cb,this[_0x53f76b(0x17f)]=_0x591b6c;}[_0x1eda19(0x29d)](){const _0x4b4e4d=_0x1eda19;this[_0x4b4e4d(0x115)]();const {scene:_0x5287d9,mainComponent:_0x22b28d}=this[_0x4b4e4d(0x31c)],_0x2bf15f=this['_docSkeletonManagerService']['getSkeleton'](),_0x5bc0c0=this['_cursors'][_0x4b4e4d(0x15b)](_0x4dbd48=>new _0x36b67d(_0x4dbd48,_0x5287d9,_0x2bf15f,_0x22b28d));this[_0x4b4e4d(0x1dc)]=_0x5bc0c0;}[_0x1eda19(0x115)](){const _0x271f92=_0x1eda19;this['_cursorShapes']['forEach'](_0x39a5d3=>_0x39a5d3['dispose']()),this[_0x271f92(0x1dc)]=[];}[_0x1eda19(0xff)](){const _0x1c9ce7=_0x1eda19,_0x3e063d=[_0x188185[_0x1c9ce7(0x196)]['id']];this[_0x1c9ce7(0x316)](this['_commandService'][_0x1c9ce7(0x2f3)](_0x3fcb5f=>{const _0x2a06ea=_0x1c9ce7;_0x3e063d[_0x2a06ea(0x28a)](_0x3fcb5f['id'])&&_0x3fcb5f[_0x2a06ea(0x230)][_0x2a06ea(0x31d)]===this[_0x2a06ea(0x31c)][_0x2a06ea(0x31d)]&&this[_0x2a06ea(0x29d)]();}));}[_0x1eda19(0x1e8)](){const _0xa0593e=_0x1eda19;this['disposeWithMe'](_0x3e70b8['fromEventSubject'](this['_context'][_0xa0593e(0x1b0)][_0xa0593e(0x13e)])[_0xa0593e(0x136)](_0xff66a0[_0xa0593e(0x284)](_0xf5b0f0=>_0xf5b0f0[_0xa0593e(0x207)]===_0x14944b[_0xa0593e(0x1e3)]['resize']),_0xff66a0[_0xa0593e(0xb9)](0x10))[_0xa0593e(0x2ca)](()=>{const _0x5b748a=_0xa0593e;this[_0x5b748a(0x29d)]();}));}};_0xffd5df=_0x4051c4([_0x57098(0x1,_0x3e70b8['Inject'](_0x81b01f[_0x1eda19(0x14a)])),_0x57098(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x2b1c7e)),_0x57098(0x3,_0x3e70b8[_0x1eda19(0xe1)]),_0x57098(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x1b9)]))],_0xffd5df);const _0x1b2670=0x1,_0x3bf27c=1.5;class _0x2c3757 extends _0x14944b['Shape']{constructor(_0x20635b,_0xff6ead){const _0x3d4ac9=_0x1eda19;super(_0x20635b,_0xff6ead),_0x1d81a2(this,'_color'),_0x1d81a2(this,'_hovered',!0x1),_0x1d81a2(this,_0x3d4ac9(0x281)),_0x1d81a2(this,_0x3d4ac9(0x11d),''),_0x1d81a2(this,_0x3d4ac9(0x194),_0x3d4ac9(0x1d7)),_0x1d81a2(this,_0x3d4ac9(0x1ea)),(_0xff6ead&&this['setShapeProps'](_0xff6ead),this[_0x3d4ac9(0x8a)][_0x3d4ac9(0x2db)](()=>this[_0x3d4ac9(0x14e)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3d4ac9(0x14e)]({'hovered':!0x1})));}[_0x1eda19(0x14e)](_0x3c40d3){const _0x510587=_0x1eda19;var _0x35d7da,_0x289dbe,_0x561e13,_0x1e2c22,_0x318d74,_0x110f38;this['_color']=(_0x35d7da=_0x3c40d3[_0x510587(0x1fc)])!=null?_0x35d7da:this[_0x510587(0x20f)],this[_0x510587(0x270)]=(_0x289dbe=_0x3c40d3[_0x510587(0x29c)])!=null?_0x289dbe:this[_0x510587(0x270)],this[_0x510587(0x281)]=(_0x561e13=_0x3c40d3[_0x510587(0xee)])!=null?_0x561e13:this[_0x510587(0x281)],this[_0x510587(0x11d)]=(_0x1e2c22=_0x3c40d3[_0x510587(0x31f)])!=null?_0x1e2c22:this[_0x510587(0x11d)],this[_0x510587(0x194)]=(_0x318d74=_0x3c40d3[_0x510587(0xe5)])!=null?_0x318d74:this[_0x510587(0x194)],this['_backgroundColor']=(_0x110f38=_0x3c40d3[_0x510587(0x1ab)])!=null?_0x110f38:this[_0x510587(0x1ea)],this[_0x510587(0x318)]({'width':_0x3c40d3[_0x510587(0x229)],'height':_0x3c40d3[_0x510587(0x141)]});}[_0x1eda19(0x231)](_0x46ea6f){const _0x158457=_0x1eda19,{row:_0x17eb46,column:_0x3ec4ab}=_0x46ea6f;if(_0x17eb46>=this[_0x158457(0x281)]['startRow']&&_0x17eb46<=this[_0x158457(0x281)][_0x158457(0xfe)]&&_0x3ec4ab>=this[_0x158457(0x281)]['startColumn']&&_0x3ec4ab<=this[_0x158457(0x281)][_0x158457(0x216)]){this[_0x158457(0x14e)]({'hovered':!0x0});return;}this[_0x158457(0x14e)]({'hovered':!0x1});}[_0x1eda19(0xdc)](_0x18d4c8){return!0x1;}['_draw'](_0x4b56b5){const _0x38b7b5=_0x1eda19;_0x14944b[_0x38b7b5(0xac)]['drawWith'](_0x4b56b5,{'width':this[_0x38b7b5(0x229)],'height':this[_0x38b7b5(0x141)],'strokeWidth':_0x3bf27c,'stroke':this[_0x38b7b5(0x20f)],'evented':!0x1,'fill':this[_0x38b7b5(0x1ea)]}),this[_0x38b7b5(0x270)]&&(_0x4b56b5[_0x38b7b5(0x147)](),_0x4b56b5['transform'](0x1,0x0,0x0,0x1,this[_0x38b7b5(0x229)],this[_0x38b7b5(0x194)]===_0x38b7b5(0x297)?0x0:-_0x286ef5),_0x4e76f4[_0x38b7b5(0x143)](_0x4b56b5,{'text':this[_0x38b7b5(0x11d)],'color':this[_0x38b7b5(0x20f)]}),_0x4b56b5[_0x38b7b5(0xa4)]());}}var _0x32e441=Object[_0x1eda19(0x250)],_0x152a63=(_0x147bf4,_0x17db47,_0x2aa8c9,_0xf0507b)=>{const _0x40269d=_0x1eda19;for(var _0x4d6f0e=_0xf0507b>0x1?void 0x0:_0xf0507b?_0x32e441(_0x17db47,_0x2aa8c9):_0x17db47,_0x104ee0=_0x147bf4[_0x40269d(0xfa)]-0x1,_0x43797f;_0x104ee0>=0x0;_0x104ee0--)(_0x43797f=_0x147bf4[_0x104ee0])&&(_0x4d6f0e=_0x43797f(_0x4d6f0e)||_0x4d6f0e);return _0x4d6f0e;},_0x3f5b66=(_0x520a2a,_0x34f6cc)=>(_0x3e2beb,_0x473bf0)=>_0x34f6cc(_0x3e2beb,_0x473bf0,_0x520a2a);const _0x2ca968=0x1389;let _0x378706=class extends _0x3e70b8['RxDisposable']{constructor(_0x3c2029,_0x2149b0,_0x1f9b2a,_0x461b7e){const _0xf4b998=_0x1eda19;super(),_0x1d81a2(this,'_cursors',new Set()),_0x1d81a2(this,_0xf4b998(0xef),null),(this[_0xf4b998(0x31c)]=_0x3c2029,this[_0xf4b998(0x2c7)]=_0x2149b0,this[_0xf4b998(0x17d)]=_0x1f9b2a,this['_themeService']=_0x461b7e,this['_init']());}[_0x1eda19(0x237)](){const _0x4cf18d=_0x1eda19;this[_0x4cf18d(0x2c7)]['currentSkeleton$']['pipe'](_0xff66a0[_0x4cf18d(0x160)](this[_0x4cf18d(0x2ce)]),_0xff66a0[_0x4cf18d(0x23e)](_0x27738b=>{const _0xa2498b=_0x4cf18d;if(_0x27738b){const _0x1b7d69=_0x27738b[_0xa2498b(0x126)];return _0x294c14[_0xa2498b(0x13f)](this[_0xa2498b(0x17d)]['getCollabCursors$'](this[_0xa2498b(0x31c)]['unitId']),this[_0xa2498b(0x157)][_0xa2498b(0x28e)])[_0xa2498b(0x136)](_0xff66a0[_0xa2498b(0x15b)](([_0x309876,_0x509dd2])=>{const _0x246b5d=new Map();return _0x309876['forEach']((_0x231036,_0x3c84b3)=>{const _0x1f38a9=_0x2795;if(_0x231036[_0x1f38a9(0x1c0)]===_0x1b7d69){const _0x39a631={..._0x231036};_0x39a631[_0x1f38a9(0x1fc)]=this[_0x1f38a9(0x157)][_0x1f38a9(0x22d)](_0x231036[_0x1f38a9(0x1fc)]),_0x246b5d['set'](_0x3c84b3,_0x39a631);}}),{'skeleton':_0x27738b,'cursors':_0x246b5d};}));}return _0x294c14['of']({'skeleton':null,'cursors':new Map()});}))[_0x4cf18d(0x2ca)](({skeleton:_0x5f362f,cursors:_0x5ec41f})=>{const _0x29fbab=_0x4cf18d;this[_0x29fbab(0x115)](),_0x5f362f&&this['_updateCollabCursors'](_0x5f362f,_0x5ec41f);}),this['_sheetSkeletonManagerService'][_0x4cf18d(0x146)][_0x4cf18d(0x2ca)](_0x3f1ea0=>{const _0x1ee055=_0x4cf18d;if(_0x3f1ea0==null)return;const {skeleton:_0x382668}=_0x3f1ea0,{scene:_0x42ee19}=this[_0x1ee055(0x31c)];_0x42ee19[_0x1ee055(0x1c7)]['subscribeEvent'](_0x3e70b8[_0x1ee055(0x97)](_0x58deb2=>{const _0x168a08=_0x1ee055;var _0xe5e2c6,_0x1169d4;const {offsetX:_0x312352,offsetY:_0x1e8849}=_0x58deb2,{x:_0x18f731,y:_0x5a3004}=_0x42ee19['getRelativeToViewportCoord'](_0x14944b[_0x168a08(0xb8)][_0x168a08(0xd7)]([_0x312352,_0x1e8849])),{scaleX:_0x3c0c66,scaleY:_0x3a5b39}=_0x42ee19[_0x168a08(0x100)](),_0x105cf6=_0x42ee19['getViewport'](_0x14944b[_0x168a08(0xc9)]['VIEW_MAIN']),_0x3e8507=_0x42ee19[_0x168a08(0x1ce)](_0x14944b[_0x168a08(0xb8)][_0x168a08(0xd7)]([_0x18f731,_0x5a3004]),_0x105cf6),_0x3d5814=_0x382668[_0x168a08(0xc8)](_0x312352,_0x1e8849,_0x3c0c66,_0x3a5b39,_0x3e8507);((_0xe5e2c6=this[_0x168a08(0xef)])==null?void 0x0:_0xe5e2c6[_0x168a08(0x1a7)])===_0x3d5814[_0x168a08(0x1a7)]&&((_0x1169d4=this['_lastPointer'])==null?void 0x0:_0x1169d4[_0x168a08(0x291)])===_0x3d5814[_0x168a08(0x291)]||this[_0x168a08(0x17f)][_0x168a08(0x2a5)](_0x279b8c=>{const _0x1f9e37=_0x168a08;_0x279b8c[_0x1f9e37(0x231)](_0x3d5814);});},0x64));});}[_0x1eda19(0x289)](_0x2ba2fc,_0x188e33){const _0x1b6717=_0x1eda19;var _0x1f325d;const _0x2b3551=(_0x1f325d=this[_0x1b6717(0x2c7)][_0x1b6717(0x2e0)]())==null?void 0x0:_0x1f325d[_0x1b6717(0x1f5)];if(!_0x2b3551)return;const _0x3c2c69=this[_0x1b6717(0x295)]();if(!_0x3c2c69)return;this[_0x1b6717(0x17f)][_0x1b6717(0x2a5)](_0xd3321c=>{_0xd3321c['makeDirty']();});const {scene:_0xf45208}=_0x3c2c69,_0x15a298=_0x40110f(Array[_0x1b6717(0xde)](_0x188e33[_0x1b6717(0x223)]()))[_0x1b6717(0x15b)](_0x343b1a=>{const _0x4740f0=_0x1b6717,{color:_0x2c1845,range:_0x327975,name:_0x3b5911,selection:_0x1c0806,sheetID:_0x558576}=_0x343b1a,{startColumn:_0x5a70ea,startRow:_0x1b381b,endColumn:_0x23e10c,endRow:_0x2fd525}=_0x327975,_0x1dedec=_0x24c4a6[_0x4740f0(0x2ff)](_0x1b381b,_0x5a70ea,_0xf45208,_0x2b3551),_0xd5a9e2=_0x24c4a6['getCoordByCell'](_0x2fd525,_0x23e10c,_0xf45208,_0x2b3551),{columnHeaderHeightAndMarginTop:_0x4039fb}=_0x2b3551,{startX:_0x499652,startY:_0xc78902}=_0x1dedec,{endX:_0x559cc6,endY:_0x4adb09}=_0xd5a9e2,_0x201262=_0x559cc6-_0x499652,_0x21e772=_0x4adb09-_0xc78902,_0x2fc6f8={'labelPosition':_0xc78902-_0x4039fb>=_0x286ef5?_0x4740f0(0x1d7):_0x4740f0(0x297),'sheetID':_0x558576,'range':_0x327975,'color':_0x2c1845,'name':_0x3b5911,'selection':_0x1c0806,'left':_0x499652,'top':_0xc78902,'width':_0x201262,'height':_0x21e772,'evented':!0x1,'zIndex':_0x2ca968};return new _0x2c3757(_0x3b5911,_0x2fc6f8);});_0xf45208['addObjects'](_0x15a298,_0x1b2670),this['_cursors']=new Set(_0x15a298);}[_0x1eda19(0x115)](){const _0x59efe3=_0x1eda19;var _0x1b6101;(_0x1b6101=this[_0x59efe3(0x17f)])==null||_0x1b6101[_0x59efe3(0x2a5)](_0x237e78=>_0x237e78[_0x59efe3(0x324)]());}['_getSheetObject'](){const _0x1dd970=_0x1eda19;return _0x24c4a6[_0x1dd970(0x1af)](this['_context']['unit'],this[_0x1dd970(0x31c)]);}};_0x378706=_0x152a63([_0x3f5b66(0x1,_0x3e70b8['Inject'](_0x24c4a6[_0x1eda19(0xbb)])),_0x3f5b66(0x2,_0x3e70b8['Inject'](_0x2b1c7e)),_0x3f5b66(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x1b9)]))],_0x378706);function _0x40110f(_0x42de9f){const _0x4080d5=_0x1eda19,_0x86e9cc=new Map();return _0x42de9f[_0x4080d5(0x2a5)](_0x1fe530=>{const _0x350995=_0x4080d5;if(_0x86e9cc['has'](_0x1fe530[_0x350995(0x150)])){const _0x4b2660=_0x86e9cc['get'](_0x1fe530['selection']);_0x4b2660[_0x350995(0x31f)]+=',\x20'+_0x1fe530[_0x350995(0x31f)];}else _0x86e9cc[_0x350995(0x1e4)](_0x1fe530[_0x350995(0x150)],_0x1fe530);}),Array[_0x4080d5(0xde)](_0x86e9cc['values']());}var _0xb0e0cd=Object[_0x1eda19(0x250)],_0x21ff7b=(_0x2d2d94,_0x11cf02,_0x1016ae,_0x29d017)=>{const _0x2a73ef=_0x1eda19;for(var _0x504792=_0x29d017>0x1?void 0x0:_0x29d017?_0xb0e0cd(_0x11cf02,_0x1016ae):_0x11cf02,_0x282e55=_0x2d2d94[_0x2a73ef(0xfa)]-0x1,_0xbc320f;_0x282e55>=0x0;_0x282e55--)(_0xbc320f=_0x2d2d94[_0x282e55])&&(_0x504792=_0xbc320f(_0x504792)||_0x504792);return _0x504792;},_0x423550=(_0x4553e6,_0x283aca)=>(_0x3a3174,_0x3c175c)=>_0x283aca(_0x3a3174,_0x3c175c,_0x4553e6);let _0xd419f7=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x482805,_0x5eaac1,_0x4003c8,_0x36e4ec,_0x53c904,_0xab0dea){const _0x5f2c00=_0x1eda19;super(),this[_0x5f2c00(0x258)]=_0x482805,this['_localCacheService']=_0x5eaac1,this[_0x5f2c00(0x153)]=_0x4003c8,this[_0x5f2c00(0x2a1)]=_0x36e4ec,this[_0x5f2c00(0x290)]=_0x53c904,this['_localeService']=_0xab0dea,this[_0x5f2c00(0xb4)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5cfd90=_0x1eda19;this['disposeWithMe'](this[_0x5cfd90(0x258)][_0x5cfd90(0x22c)](()=>{const _0x28eb34=_0x5cfd90;if(this[_0x28eb34(0x233)][_0x28eb34(0xc7)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x1eda19(0x1a0)](){const _0x854d37=_0x1eda19;this[_0x854d37(0x316)](this[_0x854d37(0x153)]['event$'][_0x854d37(0x2ca)](_0x32ffc0=>{const _0x330c23=_0x854d37;_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x142)]&&this['_messageService']['show']({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t']('collaboration.single-unit.warning')}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x1ef)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x130))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)]['PERMISSION_DENIED']&&this[_0x330c23(0x290)][_0x330c23(0x264)]({'title':this['_localeService']['t'](_0x330c23(0x2b3)),'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0xc6)),'type':_0x330c23(0x1fe),'duration':0x0}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x23b)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710['MessageType'][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x130))+'('+_0x32ffc0[_0x330c23(0x328)]+')'}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x1d4)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)]['Warning'],'content':this[_0x330c23(0x25c)]['t'](_0x32ffc0[_0x330c23(0x328)]||'')}),_0x32ffc0['id']===_0x4bbaf5['CollaborationUIEventId'][_0x330c23(0x1c9)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x303))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x304)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x2de))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x13c)]&&this[_0x330c23(0x2a1)]['show']({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x28f))});}));}};_0xd419f7=_0x21ff7b([_0x423550(0x0,_0x410b06[_0x1eda19(0x27c)]),_0x423550(0x1,_0x4bbaf5[_0x1eda19(0xf2)]),_0x423550(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0xba)])),_0x423550(0x3,_0x410b06[_0x1eda19(0x171)]),_0x423550(0x4,_0x410b06[_0x1eda19(0x145)]),_0x423550(0x5,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x24a)]))],_0xd419f7);const _0x1e2954=_0x1eda19(0x21f),_0x11c272={};var _0x123a8d=Object[_0x1eda19(0x250)],_0x495d1e=(_0x2b662e,_0x3b150b,_0x5d7c21,_0x26c94c)=>{const _0x227ce5=_0x1eda19;for(var _0x24afa6=_0x26c94c>0x1?void 0x0:_0x26c94c?_0x123a8d(_0x3b150b,_0x5d7c21):_0x3b150b,_0x4d4079=_0x2b662e[_0x227ce5(0xfa)]-0x1,_0x5da562;_0x4d4079>=0x0;_0x4d4079--)(_0x5da562=_0x2b662e[_0x4d4079])&&(_0x24afa6=_0x5da562(_0x24afa6)||_0x24afa6);return _0x24afa6;},_0x4fe4e1=(_0x23eb0a,_0x53532a)=>(_0x54234a,_0x38c894)=>_0x53532a(_0x54234a,_0x38c894,_0x23eb0a);let _0x169909=class{constructor(_0x2246a1,_0x4eac92){const _0x5a3160=_0x1eda19;this[_0x5a3160(0x178)]=_0x2246a1,this['_renderManagerService']=_0x4eac92;}[_0x1eda19(0xd6)](_0x572506){const _0x11a1d7=_0x1eda19;this['_transformUndoRedoStack'](_0x572506),this[_0x11a1d7(0x2a8)](_0x572506);}[_0x1eda19(0x23a)](_0x2652da){const _0x3fb338=_0x1eda19,{unitID:_0x27dd7d}=_0x2652da,_0x1b65a3=this[_0x3fb338(0x174)][_0x3fb338(0x120)](_0x27dd7d)[_0x3fb338(0xfb)](_0x188185[_0x3fb338(0x2c5)]),{redoCache:_0x455b30}=_0x1b65a3[_0x3fb338(0x224)]();if(_0x455b30['length']===0x0)return _0x2652da;let _0x311f8e=_0x3e70b8[_0x3fb338(0x29b)]['deepClone'](_0x2652da[_0x3fb338(0x23c)][0x0]);for(let _0x344cbe=0x0;_0x344cbe<_0x455b30[_0x3fb338(0xfa)];_0x344cbe++){const _0x369047={'id':'doc.mutation.rich-text-editing','params':{..._0x455b30[_0x344cbe]}},_0xc3c635=this['_transformService'][_0x3fb338(0xe6)](_0x311f8e,_0x369047,!0x1);if(_0x27c608['isTransformMutationFailure'](_0xc3c635))throw _0xc3c635[_0x3fb338(0x1fe)];_0x311f8e=_0xc3c635[_0x3fb338(0xa6)];}return{..._0x3e70b8[_0x3fb338(0x29b)][_0x3fb338(0x1a2)](_0x2652da),'mutations':[_0x311f8e]};}[_0x1eda19(0x118)](_0x3c7580){const _0x530183=_0x1eda19,{unitID:_0x474008}=_0x3c7580,_0x2101d9=this[_0x530183(0x174)][_0x530183(0x120)](_0x474008)[_0x530183(0xfb)](_0x188185[_0x530183(0x2c5)]),{undoCache:_0x25427d,redoCache:_0xfb39c2}=_0x2101d9[_0x530183(0x224)]();if(_0x25427d[_0x530183(0xfa)]===0x0||_0xfb39c2[_0x530183(0xfa)]===0x0)return;const _0x2ae617=[],_0x4d64db=[];let _0x145853=_0x3e70b8['Tools'][_0x530183(0x1a2)](_0x3c7580[_0x530183(0x23c)][0x0]),_0x4035f7=_0x3e70b8[_0x530183(0x29b)]['deepClone'](_0x3c7580['mutations'][0x0]);for(let _0x504cc4=_0x25427d['length']-0x1;_0x504cc4>=0x0;_0x504cc4--){const _0x44d203={'id':_0x530183(0x195),'params':{..._0x25427d[_0x504cc4]}},_0x325167={'id':_0x530183(0x195),'params':{..._0xfb39c2[_0x504cc4]}},_0x3d4b21=this['_transformService'][_0x530183(0xe6)](_0x145853,_0x44d203,!0x1),_0x43a4f0=this[_0x530183(0x178)]['transformMutation'](_0x4035f7,_0x325167,!0x1);if(_0x27c608[_0x530183(0x179)](_0x3d4b21))throw _0x3d4b21[_0x530183(0x1fe)];if(_0x27c608[_0x530183(0x179)](_0x43a4f0))throw _0x43a4f0['error'];_0x2ae617[_0x530183(0x240)](_0x3d4b21[_0x530183(0x248)][_0x530183(0x230)]),_0x4d64db['unshift'](_0x43a4f0['m2Prime'][_0x530183(0x230)]),_0x145853=_0x3d4b21[_0x530183(0xa6)],_0x4035f7=_0x43a4f0[_0x530183(0xa6)];}_0x2101d9[_0x530183(0xf1)]({'undoCache':_0x2ae617,'redoCache':_0x4d64db});}[_0x1eda19(0x2a8)](_0x201aba){const _0x4b3fad=_0x1eda19,{unitID:_0x4c0240}=_0x201aba,_0x790f97=this[_0x4b3fad(0x174)]['getRenderById'](_0x4c0240)['with'](_0x188185['DocIMEInputManagerService']),_0x191621=_0x790f97['getActiveRange']();if(_0x191621==null)return;const _0x43d173=[{'id':_0x4b3fad(0x195),'params':{'unitId':_0x201aba['unitID'],'actions':null,'textRanges':[_0x191621]}}],_0xf54118=this['_transformService'][_0x4b3fad(0x19f)](_0x201aba,_0x43d173);if(!_0x27c608[_0x4b3fad(0x10b)](_0xf54118))throw _0xf54118[_0x4b3fad(0x1fe)];const _0x4116e4=_0xf54118[_0x4b3fad(0x248)][0x0][_0x4b3fad(0x230)][_0x4b3fad(0xa3)];Array['isArray'](_0x4116e4)&&_0x4116e4['length']&&_0x790f97[_0x4b3fad(0x1e7)](_0x4116e4[0x0]);}};_0x169909=_0x495d1e([_0x4fe4e1(0x0,_0x27c608[_0x1eda19(0x183)]),_0x4fe4e1(0x1,_0x14944b['IRenderManagerService'])],_0x169909);var _0x3873f4=Object[_0x1eda19(0x250)],_0x5467ab=(_0x5264ff,_0x55be35,_0x5de7a0,_0x12ae55)=>{const _0x3ff0f4=_0x1eda19;for(var _0x11af9e=_0x12ae55>0x1?void 0x0:_0x12ae55?_0x3873f4(_0x55be35,_0x5de7a0):_0x55be35,_0x1c9417=_0x5264ff[_0x3ff0f4(0xfa)]-0x1,_0x5e59e0;_0x1c9417>=0x0;_0x1c9417--)(_0x5e59e0=_0x5264ff[_0x1c9417])&&(_0x11af9e=_0x5e59e0(_0x11af9e)||_0x11af9e);return _0x11af9e;},_0x5720d9=(_0x5a93f9,_0x4f3e5e)=>(_0x221800,_0x488a9c)=>_0x4f3e5e(_0x221800,_0x488a9c,_0x5a93f9);let _0x205db0=class{constructor(_0x440de6,_0x375552,_0x3784f2){const _0x221f99=_0x1eda19;this['_injector']=_0x440de6,this[_0x221f99(0x178)]=_0x375552,this[_0x221f99(0x2f9)]=_0x3784f2;}[_0x1eda19(0x1ac)](_0x250dcf){const _0x532ae6=_0x1eda19;this[_0x532ae6(0xe9)](_0x250dcf);}[_0x1eda19(0x23a)](_0x2067a3){const _0x5d9001=_0x1eda19,{unitID:_0x4e9e4e}=_0x2067a3,{collaboration:_0x31cbac}=this[_0x5d9001(0x2f9)][_0x5d9001(0x177)](_0x4e9e4e);if(_0x31cbac[_0x5d9001(0xfa)]===0x0)return _0x2067a3;let _0x327180=_0x3e70b8[_0x5d9001(0x29b)][_0x5d9001(0x1a2)](_0x2067a3[_0x5d9001(0x23c)][0x0]);for(let _0x2aa128=0x0;_0x2aa128<_0x31cbac[_0x5d9001(0xfa)];_0x2aa128++){const _0x218887={'id':_0x5d9001(0x195),'params':{'unitId':_0x31cbac[_0x2aa128][_0x5d9001(0x31d)],..._0x31cbac[_0x2aa128][_0x5d9001(0xc2)]}},_0x3e6b96=this['_transformService'][_0x5d9001(0xe6)](_0x327180,_0x218887,!0x1);if(_0x27c608[_0x5d9001(0x179)](_0x3e6b96))throw _0x3e6b96['error'];_0x327180=_0x3e6b96['m1Prime'];}return{..._0x3e70b8[_0x5d9001(0x29b)][_0x5d9001(0x1a2)](_0x2067a3),'mutations':[_0x327180]};}[_0x1eda19(0xe9)](_0x5828e1){const _0x2744f4=_0x1eda19,{unitID:_0x44907e}=_0x5828e1,{history:_0x1ca7a6,collaboration:_0xaa003d}=this[_0x2744f4(0x2f9)][_0x2744f4(0x177)](_0x44907e);if(_0x1ca7a6['length']===0x0&&_0xaa003d[_0x2744f4(0xfa)]===0x0)return;const _0x2c8e4d=[],_0x1929da=[];let _0x2f47bf=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]),_0x5f3a2c=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]);for(let _0x16b3c7=_0x1ca7a6[_0x2744f4(0xfa)]-0x1;_0x16b3c7>=0x0;_0x16b3c7--){const _0x23d8d1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ca7a6[_0x16b3c7][_0x2744f4(0x31d)],..._0x1ca7a6[_0x16b3c7][_0x2744f4(0x235)]}},_0x4d3939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ca7a6[_0x16b3c7][_0x2744f4(0x31d)],..._0x1ca7a6[_0x16b3c7][_0x2744f4(0xc2)]}},_0x45ad17=this[_0x2744f4(0x178)][_0x2744f4(0xe6)](_0x2f47bf,_0x23d8d1,!0x1),_0x1e3628=this[_0x2744f4(0x178)]['transformMutation'](_0x5f3a2c,_0x4d3939,!0x1);if(_0x27c608[_0x2744f4(0x179)](_0x45ad17))throw _0x45ad17[_0x2744f4(0x1fe)];if(_0x27c608['isTransformMutationFailure'](_0x1e3628))throw _0x1e3628[_0x2744f4(0x1fe)];_0x2c8e4d[_0x2744f4(0x240)]({..._0x1ca7a6[_0x16b3c7],'undoState':_0x45ad17[_0x2744f4(0x248)]['params'],'redoState':_0x1e3628['m2Prime'][_0x2744f4(0x230)]}),_0x2f47bf=_0x45ad17['m1Prime'],_0x5f3a2c=_0x1e3628[_0x2744f4(0xa6)];}_0x2f47bf=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]),_0x5f3a2c=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]);for(let _0x49b57f=_0xaa003d[_0x2744f4(0xfa)]-0x1;_0x49b57f>=0x0;_0x49b57f--){const _0x1a7e2c={'id':_0x2744f4(0x195),'params':{'unitId':_0xaa003d[_0x49b57f]['unitId'],..._0xaa003d[_0x49b57f][_0x2744f4(0x235)]}},_0x3b56e6={'id':_0x2744f4(0x195),'params':{'unitId':_0xaa003d[_0x49b57f][_0x2744f4(0x31d)],..._0xaa003d[_0x49b57f][_0x2744f4(0xc2)]}},_0x55d615=this[_0x2744f4(0x178)]['transformMutation'](_0x2f47bf,_0x1a7e2c,!0x1),_0x4f2933=this[_0x2744f4(0x178)][_0x2744f4(0xe6)](_0x5f3a2c,_0x3b56e6,!0x1);if(_0x27c608[_0x2744f4(0x179)](_0x55d615))throw _0x55d615[_0x2744f4(0x1fe)];if(_0x27c608['isTransformMutationFailure'](_0x4f2933))throw _0x4f2933['error'];_0x1929da[_0x2744f4(0x240)]({..._0xaa003d[_0x49b57f],'undoState':_0x55d615[_0x2744f4(0x248)][_0x2744f4(0x230)],'redoState':_0x4f2933[_0x2744f4(0x248)][_0x2744f4(0x230)]}),_0x2f47bf=_0x55d615[_0x2744f4(0xa6)],_0x5f3a2c=_0x4f2933[_0x2744f4(0xa6)];}this[_0x2744f4(0x2f9)][_0x2744f4(0x292)](_0x44907e,{'history':_0x2c8e4d,'collaboration':_0x1929da});}};_0x205db0=_0x5467ab([_0x5720d9(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8['Injector'])),_0x5720d9(0x1,_0x27c608[_0x1eda19(0x183)]),_0x5720d9(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x188185[_0x1eda19(0x2cf)]))],_0x205db0);var _0x86733d=Object[_0x1eda19(0x250)],_0x5e8ca7=(_0x3ed897,_0x5d5fb7,_0x1484d8,_0x383947)=>{const _0x40c286=_0x1eda19;for(var _0x27c3ae=_0x383947>0x1?void 0x0:_0x383947?_0x86733d(_0x5d5fb7,_0x1484d8):_0x5d5fb7,_0x11017f=_0x3ed897[_0x40c286(0xfa)]-0x1,_0x5c5465;_0x11017f>=0x0;_0x11017f--)(_0x5c5465=_0x3ed897[_0x11017f])&&(_0x27c3ae=_0x5c5465(_0x27c3ae)||_0x27c3ae);return _0x27c3ae;},_0x3d5f52=(_0x1a50b8,_0x35884e)=>(_0x8b0e4f,_0x531efb)=>_0x35884e(_0x8b0e4f,_0x531efb,_0x1a50b8);let _0x1beb1d=class{constructor(_0x2769c4,_0x1365ed){const _0x2f435d=_0x1eda19;this[_0x2f435d(0xdd)]=_0x2769c4,this[_0x2f435d(0x178)]=_0x1365ed;}[_0x1eda19(0x2c9)](_0x1b2d47){const _0x3b1cac=_0x1eda19;var _0x4e0540;const _0x33642c=this['_injector'][_0x3b1cac(0x15d)](_0x81b01f['DocSelectionManagerService']),_0x18a734=(_0x4e0540=_0x33642c[_0x3b1cac(0xae)]())!=null?_0x4e0540:[];if(_0x18a734[_0x3b1cac(0xfa)]===0x0)return;const _0x2180ab=_0x1b2d47[_0x3b1cac(0x214)],_0x1a6a1a=[{'id':_0x3b1cac(0x195),'params':{'unitId':_0x2180ab,'actions':null,'textRanges':_0x18a734}}],_0x18668b=this[_0x3b1cac(0x178)]['transformMutationsWithChangeset'](_0x1b2d47,_0x1a6a1a);if(!_0x27c608[_0x3b1cac(0x10b)](_0x18668b))throw _0x18668b[_0x3b1cac(0x1fe)];const _0x49ef8e=_0x18668b[_0x3b1cac(0x248)][0x0]['params']['textRanges'];Array['isArray'](_0x49ef8e)&&_0x49ef8e['length']&&_0x33642c[_0x3b1cac(0x2ee)](_0x49ef8e,{'unitId':_0x2180ab,'subUnitId':_0x2180ab},!0x1);}};_0x1beb1d=_0x5e8ca7([_0x3d5f52(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x3d5f52(0x1,_0x27c608[_0x1eda19(0x183)])],_0x1beb1d);var _0x59679d=Object[_0x1eda19(0x250)],_0x17f0c9=(_0x57a8f5,_0x3e9fc2,_0x11c47c,_0x22c1c2)=>{const _0x48818f=_0x1eda19;for(var _0xe0bb0b=_0x22c1c2>0x1?void 0x0:_0x22c1c2?_0x59679d(_0x3e9fc2,_0x11c47c):_0x3e9fc2,_0x370965=_0x57a8f5[_0x48818f(0xfa)]-0x1,_0x1c53ea;_0x370965>=0x0;_0x370965--)(_0x1c53ea=_0x57a8f5[_0x370965])&&(_0xe0bb0b=_0x1c53ea(_0xe0bb0b)||_0xe0bb0b);return _0xe0bb0b;},_0x2d2f70=(_0x469983,_0x528e87)=>(_0x3f9dfa,_0x2c0a64)=>_0x528e87(_0x3f9dfa,_0x2c0a64,_0x469983);let _0x1c9d5b=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x1b7dfc,_0xa26dd2,_0x1a14b3,_0x4253b5,_0x4c0d65,_0x2e8400,_0x27b005,_0x25381c){const _0x188258=_0x1eda19;super(),_0x1d81a2(this,_0x188258(0x2c2),new _0x294c14[(_0x188258(0x125))](_0x4bbaf5[_0x188258(0x317)][_0x188258(0x234)])),(this[_0x188258(0x2f9)]=_0x1b7dfc,this[_0x188258(0x25e)]=_0xa26dd2,this[_0x188258(0x225)]=_0x1a14b3,this[_0x188258(0x315)]=_0x4253b5,this[_0x188258(0x1f7)]=_0x4c0d65,this[_0x188258(0x254)]=_0x2e8400,this[_0x188258(0x2a1)]=_0x27b005,this[_0x188258(0x25c)]=_0x25381c,this['_initEntityListener']());}['_initEntityListener'](){const _0x22e0b5=_0x1eda19;this[_0x22e0b5(0x316)](this[_0x22e0b5(0x25e)][_0x22e0b5(0x1bf)][_0x22e0b5(0x2ca)](_0x3696f1=>{const _0x3110eb=_0x22e0b5,_0x328e6e=this[_0x3110eb(0x2f9)][_0x3110eb(0x180)][_0x3110eb(0x2ca)](_0x36941b=>{const _0x539e6f=_0x3110eb;if(_0x36941b==null)return;const {unitId:_0x2bbba7,redoState:_0x109f7a,commandId:_0x1a403d}=_0x36941b;if(_0x2bbba7!==_0x3696f1['unitID'])return;const _0x58d298={'id':_0x1a403d,'type':_0x3e70b8[_0x539e6f(0x159)][_0x539e6f(0x1d0)],'params':{'unitId':_0x2bbba7,'actions':_0x109f7a[_0x539e6f(0x27e)],'textRanges':null}};_0x3696f1[_0x539e6f(0x9c)](_0x58d298);});if(_0x3696f1[_0x3110eb(0x316)](_0x328e6e),_0x3696f1 instanceof _0x4bbaf5[_0x3110eb(0xed)]){const _0x498135={'onTransformIME':_0xdef540=>this['_docTransformIMECacheService'][_0x3110eb(0xd6)](_0xdef540),'onTransformState':_0x3d0a5d=>this[_0x3110eb(0x315)][_0x3110eb(0x1ac)](_0x3d0a5d),'onTransformSelections':_0x1b0504=>this['_docTransformSelectionsService']['transformSelections'](_0x1b0504),'onSyncEditingCollabCursor':_0x8d4ef9=>this[_0x3110eb(0x254)][_0x3110eb(0xd0)](_0x8d4ef9),'onTransformRemoteChangesetByIMECache':_0x33fb73=>this[_0x3110eb(0x225)][_0x3110eb(0x23a)](_0x33fb73),'onTransformRemoteChangesetByStateCache':_0x878d8e=>this[_0x3110eb(0x315)][_0x3110eb(0x23a)](_0x878d8e)};_0x3696f1[_0x3110eb(0xcd)](_0x498135);}}));}};_0x1c9d5b=_0x17f0c9([_0x2d2f70(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x188185[_0x1eda19(0x2cf)])),_0x2d2f70(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5['CollaborationController'])),_0x2d2f70(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x169909)),_0x2d2f70(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x205db0)),_0x2d2f70(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x1beb1d)),_0x2d2f70(0x5,_0x3e70b8[_0x1eda19(0x1be)](_0x1d8f47)),_0x2d2f70(0x6,_0x410b06[_0x1eda19(0x171)]),_0x2d2f70(0x7,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x24a)]))],_0x1c9d5b);var _0x3feb8a=Object[_0x1eda19(0x250)],_0x1734d4=(_0x3153cb,_0x583bcb,_0x469878,_0x279d39)=>{for(var _0x402631=_0x279d39>0x1?void 0x0:_0x279d39?_0x3feb8a(_0x583bcb,_0x469878):_0x583bcb,_0x1fa08e=_0x3153cb['length']-0x1,_0x257b27;_0x1fa08e>=0x0;_0x1fa08e--)(_0x257b27=_0x3153cb[_0x1fa08e])&&(_0x402631=_0x257b27(_0x402631)||_0x402631);return _0x402631;},_0x5bef6e=(_0x1abe74,_0xe8806f)=>(_0x212c45,_0x33d3e5)=>_0xe8806f(_0x212c45,_0x33d3e5,_0x1abe74);let _0x651f8b=class extends _0x3e70b8['Disposable']{constructor(_0x2cac7b,_0xd174,_0x47a9ac){const _0x154361=_0x1eda19;super(),_0x1d81a2(this,_0x154361(0x162),new Map()),_0x1d81a2(this,'_saveTaskMap',new Map()),_0x1d81a2(this,'_disabled',!0x1),(this[_0x154361(0x1f4)]=_0x2cac7b,this['_localStorageService']=_0xd174,this[_0x154361(0x228)]=_0x47a9ac);}[_0x1eda19(0x169)](){const _0x36c016=_0x1eda19;this[_0x36c016(0x26a)]=!0x0;}[_0x1eda19(0x185)](){const _0x429141=_0x1eda19;this[_0x429141(0x26a)]=!0x1;}get[_0x1eda19(0xc7)](){const _0x503fd0=_0x1eda19;return this[_0x503fd0(0x1ba)];}[_0x1eda19(0x324)](){const _0x24c021=_0x1eda19;this[_0x24c021(0x184)]()[_0x24c021(0x165)](()=>super[_0x24c021(0x324)]());}async[_0x1eda19(0x23d)](_0x4d0ac9){const _0x2e8d1c=_0x1eda19;return this['_disabled']?null:this['_localStorageService']['getItem'](_0x4bbaf5[_0x2e8d1c(0x1ae)](_0x4d0ac9));}async['saveOfflineData'](_0x11dd41,_0x39746f){const _0x6bb7d9=_0x1eda19;return!!this['_localStorageService'][_0x6bb7d9(0x227)](_0x11dd41,_0x39746f);}['updateOfflineData'](_0x2186b0,_0xf0237a,_0x76b374,_0x1d79b4){const _0xb0736f=_0x1eda19,_0x543173=this[_0xb0736f(0x228)]['getCurrentRevOfUnit'](_0x2186b0);this[_0xb0736f(0x162)][_0xb0736f(0x1e4)](_0x2186b0,{'unitID':_0x2186b0,'type':_0xf0237a,'awaitingChangeset':_0x76b374,'mutations':_0x1d79b4,'rev':_0x543173}),this['_saveTaskMap'][_0xb0736f(0x25b)](_0x2186b0)||this[_0xb0736f(0x187)](_0x2186b0);}[_0x1eda19(0x187)](_0xda676d){const _0x3c52c5=_0x1eda19,_0x3b79bf=this[_0x3c52c5(0x314)]();_0x3b79bf===0x0?this['_saveCache'](_0xda676d):this[_0x3c52c5(0x1ba)]['set'](_0xda676d,setTimeout(()=>this[_0x3c52c5(0x1d5)](_0xda676d),_0x3b79bf));}[_0x1eda19(0x314)](){const _0x3eb47f=_0x1eda19;var _0x39b72c;return(_0x39b72c=this[_0x3eb47f(0x1f4)][_0x3eb47f(0x129)](_0x4bbaf5[_0x3eb47f(0xf0)]))!=null?_0x39b72c:_0x4bbaf5[_0x3eb47f(0x22b)];}[_0x1eda19(0x1d5)](_0x46dcc7){const _0x501dbe=_0x1eda19,_0x16b18c=this[_0x501dbe(0x1ba)][_0x501dbe(0x15d)](_0x46dcc7);return _0x16b18c!==void 0x0&&window[_0x501dbe(0x2a7)](_0x16b18c),this['_localStorageService'][_0x501dbe(0x227)](_0x4bbaf5['getLocalCacheKey'](_0x46dcc7),this[_0x501dbe(0x162)][_0x501dbe(0x15d)](_0x46dcc7))[_0x501dbe(0x165)](()=>this[_0x501dbe(0x1ba)][_0x501dbe(0x2d0)](_0x46dcc7));}async[_0x1eda19(0x184)](){const _0x282101=_0x1eda19,_0x1abebd=[];this[_0x282101(0x1ba)][_0x282101(0x2a5)]((_0x62c4e7,_0x2bd163)=>{const _0x1a7427=_0x282101;window[_0x1a7427(0x2a7)](_0x62c4e7),_0x1abebd[_0x1a7427(0x269)](this[_0x1a7427(0x1d5)](_0x2bd163)[_0x1a7427(0x165)](()=>{const _0x1fa174=_0x1a7427;this[_0x1fa174(0x1ba)][_0x1fa174(0x2d0)](_0x2bd163);}));}),await Promise[_0x282101(0x1eb)](_0x1abebd);}};_0x651f8b=_0x1734d4([_0x5bef6e(0x0,_0x3e70b8['IConfigService']),_0x5bef6e(0x1,_0x3e70b8[_0x1eda19(0x285)]),_0x5bef6e(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x27c608['RevisionService']))],_0x651f8b);class _0x54cf63 extends _0x3e70b8['RxDisposable']{constructor(){const _0x3c2a6c=_0x1eda19;super(),_0x1d81a2(this,'urlChange$'),this[_0x3c2a6c(0x2a3)]=_0x294c14[_0x3c2a6c(0x299)](window,_0x3c2a6c(0x144))[_0x3c2a6c(0x136)](_0x294c14[_0x3c2a6c(0x160)](this[_0x3c2a6c(0x2ce)]),_0x294c14[_0x3c2a6c(0xc3)](0x1),_0x294c14[_0x3c2a6c(0x114)](void 0x0));}[_0x1eda19(0x2d6)](_0x2ba275,_0x12e44f,_0x2347c7=!0x1){const _0x595fc2=_0x1eda19,_0x242b18=new URL(window['location'][_0x595fc2(0x247)]);_0x242b18[_0x595fc2(0x2f2)][_0x595fc2(0x1e4)](_0x2ba275,_0x12e44f),_0x2347c7?window[_0x595fc2(0x155)][_0x595fc2(0x107)]('','',_0x242b18[_0x595fc2(0x1dd)]()):window[_0x595fc2(0x155)]['pushState']('','',_0x242b18['toString']());}[_0x1eda19(0x19c)](_0x565de7,_0x44124d=!0x1){const _0x101665=_0x1eda19,_0x20f79f=new URL(window[_0x101665(0x1b7)]['href']);_0x20f79f[_0x101665(0x2f2)][_0x101665(0x2d0)](_0x565de7),_0x44124d?window[_0x101665(0x155)]['replaceState']('','',_0x20f79f[_0x101665(0x1dd)]()):window[_0x101665(0x155)][_0x101665(0x20b)]('','',_0x20f79f[_0x101665(0x1dd)]());}[_0x1eda19(0x25d)](_0x34b5e6){const _0x4392f6=_0x1eda19;var _0x99877f;return(_0x99877f=new URL(window[_0x4392f6(0x1b7)]['href'])[_0x4392f6(0x2f2)][_0x4392f6(0x15d)](_0x34b5e6))!=null?_0x99877f:void 0x0;}}var _0x3a3097=Object[_0x1eda19(0x2a2)],_0x44a160=Object[_0x1eda19(0x250)],_0x2a9c3a=(_0x2303ed,_0x300cc5,_0x1d73a7)=>_0x300cc5 in _0x2303ed?_0x3a3097(_0x2303ed,_0x300cc5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d73a7}):_0x2303ed[_0x300cc5]=_0x1d73a7,_0x4d9662=(_0x2fa555,_0x157002,_0x24d33a,_0x1ae34a)=>{const _0x174254=_0x1eda19;for(var _0x1382f2=_0x1ae34a>0x1?void 0x0:_0x1ae34a?_0x44a160(_0x157002,_0x24d33a):_0x157002,_0x68e222=_0x2fa555[_0x174254(0xfa)]-0x1,_0x4d9df3;_0x68e222>=0x0;_0x68e222--)(_0x4d9df3=_0x2fa555[_0x68e222])&&(_0x1382f2=_0x4d9df3(_0x1382f2)||_0x1382f2);return _0x1382f2;},_0x13f252=(_0x58c5fc,_0xa72bc7)=>(_0x4a3d1a,_0x33350e)=>_0xa72bc7(_0x4a3d1a,_0x33350e,_0x58c5fc),_0x33b5ca=(_0x422d6b,_0xbee245,_0x30c03d)=>_0x2a9c3a(_0x422d6b,_0xbee245+'',_0x30c03d);const _0xb55163=_0x1eda19(0x9b);_0x35533f[_0x1eda19(0x2c0)]=class extends _0x3e70b8[_0x1eda19(0x288)]{constructor(_0x4e84cd=_0x11c272,_0x14662a,_0x11ca85,_0x235d72){const _0x31b8fb=_0x1eda19;super(),this[_0x31b8fb(0x1d8)]=_0x4e84cd,this[_0x31b8fb(0x174)]=_0x14662a,this[_0x31b8fb(0xdd)]=_0x11ca85,this['_configService']=_0x235d72;const {..._0x4f4520}=_0x3e70b8[_0x31b8fb(0x306)]({},_0x11c272,this['_config']);this[_0x31b8fb(0x1f4)][_0x31b8fb(0x257)](_0x1e2954,_0x4f4520);}[_0x1eda19(0x2b0)](){const _0x15c978=_0x1eda19;this['_registerDependencies'](),this[_0x15c978(0x123)]();}[_0x1eda19(0x19b)](){const _0x2f11e5=_0x1eda19;this[_0x2f11e5(0x21d)]();}[_0x1eda19(0x1f8)](){const _0x48f08a=_0x1eda19;var _0x5a9ed9;const _0x570348=[[_0x598ec8],[_0x1beb1d],[_0x169909],[_0x205db0],[_0x1d8f47],[_0x4f6373,{'useClass':_0x54cf63}],[_0x31b241[_0x48f08a(0x2be)],{'useClass':_0x31b241[_0x48f08a(0x312)]}],[_0x4bbaf5['ILocalCacheService'],{'useClass':_0x651f8b}],[_0x35533f[_0x48f08a(0x279)]],[_0x1c9d5b],[_0xd419f7],[_0x2b1c7e],[_0x12d618],[_0x35533f[_0x48f08a(0x208)]]];_0x3e70b8[_0x48f08a(0x23f)](this[_0x48f08a(0xdd)],_0x3e70b8[_0x48f08a(0x14c)](_0x570348,(_0x5a9ed9=this[_0x48f08a(0x1d8)])==null?void 0x0:_0x5a9ed9[_0x48f08a(0x1aa)]));}[_0x1eda19(0x21d)](){const _0xedf6d=_0x1eda19;this['disposeWithMe'](this[_0xedf6d(0x174)][_0xedf6d(0x2a9)](_0x3e70b8[_0xedf6d(0x10e)][_0xedf6d(0x149)],[_0xffd5df])),this[_0xedf6d(0x316)](this[_0xedf6d(0x174)]['registerRenderModule'](_0x3e70b8[_0xedf6d(0x10e)][_0xedf6d(0x124)],[_0x378706]));}[_0x1eda19(0x123)](){const _0x486663=_0x1eda19;_0x3e70b8['touchDependencies'](this[_0x486663(0xdd)],[[_0x2b1c7e],[_0x35533f['DesktopCollaborationStatusDisplayController']],[_0x1c9d5b],[_0xd419f7],[_0x35533f[_0x486663(0x208)]]]);}},_0x33b5ca(_0x35533f[_0x1eda19(0x2c0)],_0x1eda19(0x220),_0xb55163),_0x35533f[_0x1eda19(0x2c0)]=_0x4d9662([_0x3e70b8[_0x1eda19(0x17b)](_0x4bbaf5[_0x1eda19(0x173)]),_0x13f252(0x1,_0x14944b['IRenderManagerService']),_0x13f252(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x13f252(0x3,_0x3e70b8[_0x1eda19(0x27a)])],_0x35533f[_0x1eda19(0x2c0)]);var _0x478975=Object[_0x1eda19(0x250)],_0x1cc269=(_0x585c06,_0x5c7884,_0x20c582,_0x29abda)=>{const _0x322adb=_0x1eda19;for(var _0xc3c7b5=_0x29abda>0x1?void 0x0:_0x29abda?_0x478975(_0x5c7884,_0x20c582):_0x5c7884,_0x31f34e=_0x585c06[_0x322adb(0xfa)]-0x1,_0x44f680;_0x31f34e>=0x0;_0x31f34e--)(_0x44f680=_0x585c06[_0x31f34e])&&(_0xc3c7b5=_0x44f680(_0xc3c7b5)||_0xc3c7b5);return _0xc3c7b5;},_0x5f4083=(_0x404f8d,_0x592878)=>(_0x36afe9,_0x2017ee)=>_0x592878(_0x36afe9,_0x2017ee,_0x404f8d);_0x35533f['BrowserCollaborationSocketService']=class extends _0x4bbaf5[_0x1eda19(0x133)]{constructor(_0x53dd21,_0x26524b,_0x1593ba,_0xfd3029,_0x2b6407){super(_0x53dd21,_0x26524b,_0x1593ba,_0xfd3029,_0x2b6407);}async['createSocket'](_0x24e6bb){const _0x27b025=_0x1eda19,_0x492afc=await this[_0x27b025(0x11a)](),_0x284132=this['_createSocketURL'](_0x24e6bb,_0x492afc);return this[_0x27b025(0x30c)](_0x284132);}[_0x1eda19(0x1d1)](_0x30bb18,_0x10caa0){const _0x164e6a=_0x1eda19,_0x2fbe2f=typeof window>'u'?new URL(_0x30bb18):new URL(_0x30bb18,window[_0x164e6a(0x1b7)][_0x164e6a(0x21c)]);_0x2fbe2f[_0x164e6a(0x2f2)][_0x164e6a(0x1e4)](_0x164e6a(0x2ed),_0x10caa0);const _0x582fb9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x164e6a(0x188)]);return _0x582fb9['get'](_0x164e6a(0x13d))&&_0x2fbe2f[_0x164e6a(0x2f2)][_0x164e6a(0x1e4)](_0x164e6a(0x13d),_0x582fb9[_0x164e6a(0x15d)](_0x164e6a(0x13d))),_0x2fbe2f[_0x164e6a(0x1dd)]();}async['_getSessionTicket'](){const _0xfd1298=_0x1eda19;var _0x4a9242,_0x2748e1,_0x2c6bfa;const _0xbe3b74=this[_0xfd1298(0x1f4)][_0xfd1298(0x129)](_0x4bbaf5[_0xfd1298(0xa1)]),_0x12b5a5=(_0x4a9242=_0xbe3b74==null?void 0x0:_0xbe3b74[_0xfd1298(0xbf)])!=null?_0x4a9242:_0x4bbaf5[_0xfd1298(0x176)];return(_0x2c6bfa=(_0x2748e1=(await this[_0xfd1298(0x30b)][_0xfd1298(0x15d)](_0x12b5a5,{'headers':{'Content-Type':_0xfd1298(0x200)}}))[_0xfd1298(0x15e)])==null?void 0x0:_0x2748e1[_0xfd1298(0xd3)])!=null?_0x2c6bfa:'';}},_0x35533f['BrowserCollaborationSocketService']=_0x1cc269([_0x5f4083(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x5f4083(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x31b241[_0x1eda19(0x2af)])),_0x5f4083(0x2,_0x3e70b8[_0x1eda19(0x27a)]),_0x5f4083(0x3,_0x3e70b8['ILogService']),_0x5f4083(0x4,_0x27c608[_0x1eda19(0x20a)])],_0x35533f[_0x1eda19(0x26b)]);var _0x4f4b1d=(_0x2d6ec4=>(_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2a6)]=0x0]=_0x1eda19(0x2a6),_0x2d6ec4[_0x2d6ec4['OK']=0x1]='OK',_0x2d6ec4[_0x2d6ec4['INTERNAL_ERROR']=0x2]=_0x1eda19(0x108),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1c4)]=0x3]='PERMISSION_DENIED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xf7)]=0x4]='NOT_FOUND',_0x2d6ec4[_0x2d6ec4['UNAUTHENTICATED']=0x5]=_0x1eda19(0x226),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x27d)]=0x6]=_0x1eda19(0x27d),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x167)]=0x7]=_0x1eda19(0x167),_0x2d6ec4[_0x2d6ec4['TOO_MANY_REQUESTS']=0x8]=_0x1eda19(0x218),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1b6)]=0x9]=_0x1eda19(0x1b6),_0x2d6ec4[_0x2d6ec4['LOGIN_FAILED']=0xa]=_0x1eda19(0x1fd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2eb)]=0xb]=_0x1eda19(0x2eb),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x9f)]=0xc]=_0x1eda19(0x9f),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x271)]=0xd]=_0x1eda19(0x271),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2a4)]=0xe]=_0x1eda19(0x2a4),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x189)]=0x1389]=_0x1eda19(0x189),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x19a)]=0x1771]=_0x1eda19(0x19a),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1d9)]=0x1772]=_0x1eda19(0x1d9),_0x2d6ec4[_0x2d6ec4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1eda19(0x267),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x27b)]=0x1b59]=_0x1eda19(0x27b),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1ff)]=0x1b5a]=_0x1eda19(0x1ff),_0x2d6ec4[_0x2d6ec4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1eda19(0x91),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x325)]=0x1b5c]=_0x1eda19(0x325),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x217)]=0x1b5d]='APPLY_DUPLICATED',_0x2d6ec4[_0x2d6ec4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1eda19(0x2cd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2fa)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x8b)]=0x232a]=_0x1eda19(0x8b),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xe7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2d6ec4[_0x2d6ec4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xaf)]=0x232d]=_0x1eda19(0xaf),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1fa)]=0x2711]=_0x1eda19(0x1fa),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x203)]=0x2712]=_0x1eda19(0x203),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2f6)]=0x2713]=_0x1eda19(0x2f6),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x92)]=0x2714]=_0x1eda19(0x92),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1c8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x11e)]=0x271c]=_0x1eda19(0x11e),_0x2d6ec4[_0x2d6ec4['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1eda19(0x259),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2e5)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2c3)]=0x271f]=_0x1eda19(0x2c3),_0x2d6ec4[_0x2d6ec4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1eda19(0x2fd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x20e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x186)]=0x2ee1]=_0x1eda19(0x186),_0x2d6ec4[_0x2d6ec4['INVALID_INVITE_CODE']=0x2ee2]=_0x1eda19(0x175),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x127)]=0x2ee3]=_0x1eda19(0x127),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x213)]=0x2ee4]=_0x1eda19(0x213),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x17e)]=0x2ee5]=_0x1eda19(0x17e),_0x2d6ec4[_0x2d6ec4['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2ef)]=0x32ca]=_0x1eda19(0x2ef),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2c8)]=0x32cb]=_0x1eda19(0x2c8),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x204)]=-0x1]=_0x1eda19(0x204),_0x2d6ec4))(_0x4f4b1d||{}),_0x4a71cc=Object[_0x1eda19(0x250)],_0x503ebf=(_0x34b9c7,_0x2ae402,_0x4abdae,_0x1941ee)=>{for(var _0x384f67=_0x1941ee>0x1?void 0x0:_0x1941ee?_0x4a71cc(_0x2ae402,_0x4abdae):_0x2ae402,_0x43afc9=_0x34b9c7['length']-0x1,_0x5661e5;_0x43afc9>=0x0;_0x43afc9--)(_0x5661e5=_0x34b9c7[_0x43afc9])&&(_0x384f67=_0x5661e5(_0x384f67)||_0x384f67);return _0x384f67;},_0x33017c=(_0x1dbe1d,_0x31f198)=>(_0x470ee3,_0x3238d9)=>_0x31f198(_0x470ee3,_0x3238d9,_0x1dbe1d);_0x35533f[_0x1eda19(0x8f)]=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x32e9d4,_0x48fdd5,_0x595956){const _0x1f3d87=_0x1eda19;super(),this['_instanceService']=_0x32e9d4,this[_0x1f3d87(0x30b)]=_0x48fdd5,this[_0x1f3d87(0x1f4)]=_0x595956;}async[_0x1eda19(0x307)](_0x4cb463,_0x10c0a1,_0x4969a5,..._0x1b5258){const _0x1b8360=_0x1eda19;var _0x5c577b,_0x3d5bf8,_0x29569b,_0x1c5b83;const _0x25b3c8=this[_0x1b8360(0x2ab)][_0x1b8360(0x2b2)]();if(!_0x25b3c8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4510ad=((_0x5c577b=this[_0x1b8360(0x1f4)][_0x1b8360(0x129)](_0x4bbaf5['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5c577b:_0x4bbaf5['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4cb463+_0x1b8360(0x2b1)+_0x10c0a1,_0x3dd1fc=new URL(window['location'][_0x1b8360(0x247)]),_0x3ab5bf={'scriptId':_0x4cb463,'runId':(_0x3d5bf8=_0x3dd1fc[_0x1b8360(0x2f2)][_0x1b8360(0x15d)](_0x1b8360(0x13d)))!=null?_0x3d5bf8:'','function':_0x10c0a1,'unitId':_0x25b3c8['getUnitId'](),'argsOfFunction':JSON[_0x1b8360(0x2bc)](_0x1b5258),'invokeId':(_0x29569b=_0x4969a5['invokeId'])!=null?_0x29569b:'','executionId':(_0x1c5b83=_0x4969a5[_0x1b8360(0x1f6)])!=null?_0x1c5b83:''};try{const _0x12da49=await this['_httpService'][_0x1b8360(0x1a3)](_0x4510ad,{'body':_0x3ab5bf});return _0x12da49[_0x1b8360(0x15e)][_0x1b8360(0x1fe)]&&_0x12da49[_0x1b8360(0x15e)][_0x1b8360(0x1fe)]['code']!==_0x4f4b1d['OK']?_0x1b8360(0xb5):_0x12da49[_0x1b8360(0x15e)]['result'];}catch{return _0x1b8360(0xb5);}}},_0x35533f[_0x1eda19(0x8f)]=_0x503ebf([_0x33017c(0x0,_0x3e70b8['IUniverInstanceService']),_0x33017c(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x31b241['HTTPService'])),_0x33017c(0x2,_0x3e70b8[_0x1eda19(0x27a)])],_0x35533f['RemoteUniscriptService']);const _0x5e10a5=0x7530,_0xbf7394=_0x1eda19(0x277);class _0x492d42 extends _0x3e70b8[_0x1eda19(0x151)]{constructor(){const _0x2d9a8d=_0x1eda19;super(),_0x1d81a2(this,'_id',_0x3e70b8[_0x2d9a8d(0x2cc)]()),_0x1d81a2(this,_0x2d9a8d(0x103),new Set()),_0x1d81a2(this,_0x2d9a8d(0x2d5),new Map()),_0x1d81a2(this,'_heartbeatTimer',null),_0x1d81a2(this,'_clearOtherTimers',new Map()),_0x1d81a2(this,'_unitStatus',new Map()),this[_0x2d9a8d(0x237)]();}[_0x1eda19(0x324)](){const _0x1f36b6=_0x1eda19;super[_0x1f36b6(0x324)](),this['_clearOtherTimers'][_0x1f36b6(0x2a5)]((_0xf360bb,_0x50545b)=>this['_removeClearOtherTimer'](_0x50545b)),this['_heartbeatTimer']&&window[_0x1f36b6(0x18b)](this[_0x1f36b6(0x263)]);}['getUnitStatus$'](_0x1d8b5e){const _0x3e63af=_0x1eda19;return this['_ensureSubject'](_0x1d8b5e)[_0x3e63af(0x136)](_0x294c14[_0x3e63af(0xbc)]());}[_0x1eda19(0x2b6)](_0x15377f){const _0x44fe14=_0x1eda19;this[_0x44fe14(0x103)][_0x44fe14(0xc1)]===0x0&&this[_0x44fe14(0x215)](),this['_selfUnitIDs'][_0x44fe14(0x9e)](_0x15377f),this[_0x44fe14(0x2d2)]({'type':0x0,'memberID':this[_0x44fe14(0xca)],'unitIDs':[_0x15377f],'isForwarded':!0x1});}['disposeUnit'](_0x53cbf0){const _0x2765fe=_0x1eda19;this[_0x2765fe(0x103)][_0x2765fe(0x2d0)](_0x53cbf0),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x2765fe(0x18b)](this[_0x2765fe(0x263)]);}[_0x1eda19(0x237)](){const _0x5161a6=_0x1eda19;this['disposeWithMe'](_0x3e70b8[_0x5161a6(0x2fc)](_0x294c14[_0x5161a6(0x299)](window,_0x5161a6(0x12b))['subscribe'](_0x141264=>{const _0x1ded48=_0x5161a6;if(_0x141264['key']!==_0xbf7394||!_0x141264[_0x1ded48(0x163)])return;const _0x4efd25=JSON[_0x1ded48(0x256)](_0x141264[_0x1ded48(0x163)]);this['_handleEvent'](_0x4efd25);}))),window['addEventListener'](_0x5161a6(0xbe),()=>this[_0x5161a6(0x2d2)]({'type':0x1,'memberID':this[_0x5161a6(0xca)],'unitIDs':Array[_0x5161a6(0xde)](this[_0x5161a6(0x103)])}));}[_0x1eda19(0x172)](_0x322849){const _0x4b2b20=_0x1eda19;switch(_0x322849[_0x4b2b20(0x207)]){case 0x0:this['_handleJoinEvent'](_0x322849);break;case 0x1:this['_handleLeaveEvent'](_0x322849);break;case 0x2:this[_0x4b2b20(0x1f3)](_0x322849);break;}}['_handleJoinEvent'](_0x44ad27){const _0x3b3fa5=_0x1eda19,{unitIDs:_0x30002f,memberID:_0x6febf,isForwarded:_0x30198b}=_0x44ad27;_0x30002f[_0x3b3fa5(0x2a5)](_0x57cf77=>{const _0xfa585d=_0x3b3fa5;if(!_0x30198b&&this[_0xfa585d(0x2d5)][_0xfa585d(0x25b)](_0x57cf77)&&this['_ensureSubject'](_0x57cf77)[_0xfa585d(0x190)](_0x4bbaf5[_0xfa585d(0x326)][_0xfa585d(0x201)]),!this['_unitOnClients'][_0xfa585d(0x25b)](_0x57cf77)||!this[_0xfa585d(0x2d5)]['get'](_0x57cf77)['has'](_0x6febf)){const _0x248a78=this['_unitOnClients'][_0xfa585d(0x15d)](_0x57cf77)||new Set();_0x248a78['add'](_0x6febf),this[_0xfa585d(0x2d5)][_0xfa585d(0x1e4)](_0x57cf77,_0x248a78),this[_0xfa585d(0x113)](_0x6febf);}}),_0x30198b||this[_0x3b3fa5(0x2d2)]({'type':0x0,'memberID':this[_0x3b3fa5(0xca)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1eda19(0x113)](_0x5050e4){const _0x2306c6=_0x1eda19;this[_0x2306c6(0x112)](_0x5050e4);const _0x3beb16=window[_0x2306c6(0x322)](()=>{const _0x180b8f=_0x2306c6;this[_0x180b8f(0x2d5)][_0x180b8f(0x2a5)](_0x5d6a6c=>{_0x5d6a6c['delete'](_0x5050e4);});},_0x5e10a5*0x2);this[_0x2306c6(0x109)]['set'](_0x5050e4,_0x3beb16);}['_removeClearOtherTimer'](_0x2836c5){const _0x33bb19=_0x1eda19;if(this[_0x33bb19(0x109)][_0x33bb19(0x25b)](_0x2836c5)){const _0xf3f6c0=this['_clearOtherTimers'][_0x33bb19(0x15d)](_0x2836c5);_0xf3f6c0&&window[_0x33bb19(0x2a7)](_0xf3f6c0),this[_0x33bb19(0x109)]['set'](_0x2836c5,null);}}[_0x1eda19(0xda)](_0x3f8702){const _0x541fbb=_0x1eda19,{memberID:_0x6e7989,unitIDs:_0x1e235d}=_0x3f8702;_0x1e235d[_0x541fbb(0x2a5)](_0x169a26=>{const _0x188938=_0x541fbb;var _0x306d4e;const _0x1a7f7a=this[_0x188938(0x2d5)]['get'](_0x169a26);_0x1a7f7a&&(_0x1a7f7a['delete'](_0x6e7989),(_0x306d4e=this['_ensureSubject'](_0x169a26))==null||_0x306d4e[_0x188938(0x190)](_0x1a7f7a[_0x188938(0xc1)]===0x0?_0x4bbaf5['UnitStatus'][_0x188938(0x26e)]:_0x4bbaf5[_0x188938(0x326)][_0x188938(0x201)]));}),this[_0x541fbb(0x112)](_0x6e7989);}['_handleHeartbeatEvent'](_0x1e0841){const _0x555384=_0x1eda19;this[_0x555384(0x113)](_0x1e0841[_0x555384(0x20d)]);}['_send'](_0x102e2a){const _0xec6f3b=_0x1eda19;localStorage[_0xec6f3b(0x227)](_0xbf7394,JSON[_0xec6f3b(0x2bc)](_0x102e2a));}[_0x1eda19(0x215)](){const _0xd5b87f=_0x1eda19;this['_heartbeatTimer']=window[_0xd5b87f(0x2d1)](()=>{const _0x8db6f3=_0xd5b87f;this[_0x8db6f3(0x2d2)]({'type':0x2,'memberID':this['_id']});},_0x5e10a5);}['_ensureSubject'](_0x544e23){const _0x1500ff=_0x1eda19;return this[_0x1500ff(0xd4)][_0x1500ff(0x25b)](_0x544e23)||this['_unitStatus'][_0x1500ff(0x1e4)](_0x544e23,new _0x294c14[(_0x1500ff(0x125))](_0x4bbaf5[_0x1500ff(0x326)][_0x1500ff(0x26e)])),this[_0x1500ff(0xd4)][_0x1500ff(0x15d)](_0x544e23);}}_0x35533f[_0x1eda19(0x274)]=_0x4f6373,_0x35533f[_0x1eda19(0x2c6)]=_0x2c3757,_0x35533f[_0x1eda19(0x280)]=_0x492d42,_0x35533f[_0x1eda19(0x199)]=_0x54cf63,Object['defineProperty'](_0x35533f,Symbol[_0x1eda19(0x12c)],{'value':_0x1eda19(0x276)});}));function _0x853e(){const _0x526fff=['_backgroundColor','all','createIdentifier','currentColor','complete','CLOSE_ROOM','extend','icon','requireSession','_handleHeartbeatEvent','_configService','skeleton','executionId','_docTransformSelectionsService','_registerDependencies','_docClipboardService','YUUMI_UNABLE_LOAD_URL','_commandService','color','LOGIN_FAILED','error','APPLY_NON_SEQUENTIAL_REVISION','application/json','OTHER_CLIENTS_EDITING','_anchor','YUUMI_URL_COL_OUT_OF_RANGE','UNRECOGNIZED','CollaborationUIEventId','_updateSubUnitFromURLParams','type','CollaborationDataLoaderController','handleMoveRange','ISnapshotServerService','pushState','createInstance','memberID','PY_RUNTIME_SCRIPT_ERROR','_color','NodePositionConvertToRectRange','function','find','USER_NOT_INVITED_CODE','unitID','_scheduleHeartbeat','endColumn','APPLY_DUPLICATED','TOO_MANY_REQUESTS','svg','IRemoteInstanceService','tag','origin','_registerRenderDependencies','_eventUnsubscribe','collaboration-client-ui.config','pluginName','idSuffix','handleInsertRangeMoveDown','values','getUndoRedoMutationParamsCache','_docTransformIMECacheService','UNAUTHENTICATED','setItem','_revisionService','width','children','LOCAL_CACHE_INTERVAL','registerBeforeClose','getColorFromTheme','_collabCursorState$','text','params','onMouseMove','UniverSheets','_localCacheService','NOT_COLLAB','undoState','_logService','_init','UniverDocsUi','DeleteRangeMoveUpCommandId','transformRemoteChangeset','CONFLICT','mutations','loadOfflineData','switchMap','registerDependencies','unshift','cursorInfo','45GaLBSu','SetWorksheetActivateCommand','url(#$1','activeSheet$','propertyIsEnumerable','href','m2Prime','UniverDocs','LocaleService','handleDeleteRangeMoveLeft','useDependency','_updateURLWithCurrentState','collabStatus.offline','727500uRxsQh','getOwnPropertyDescriptor','sessionStatus$','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','getOwnPropertySymbols','_docSyncEditingCollabCursorService','_onCursorUpdate','parse','setConfig','_beforeCloseService','YUUMI_ALL_TABLES_IS_INVALID','FETCH_MISS','has','_localeService','getParam','_collaborationController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','262784GshzcZ','TEXT_RANGE_LAYER_INDEX','HEADER_MENU','_heartbeatTimer','show','runRefRangeMutations','RECT','ENSURE_SNAPSHOT_EXECUTION','collab-text-anchor-','push','_disabled','BrowserCollaborationSocketService','url(#on-line-icon_clip0_910_349)','UniverCore','NO_OTHER_CLIENTS_EDITING','MessageType','_hovered','EMAIL_VERIFY_CODE_MISMATCH','getSheetBySheetId','getOffsetConfig','IURLService','clipPath','Module','ACTIVE_UNIT_EVENT_CHANNEL','UniverIcon','DesktopCollaborationStatusDisplayController','IConfigService','APPLY_REJECT','IBeforeCloseService','ALREADY_EXISTS','actions','_drawRectRange','WebBrowserSingleActiveUnitService','_range','SheetsSelectionsService','lineTo','filter','ILocalStorageService','RegularPolygon','_cursor','Plugin','_updateCollabCursors','includes','event$','CollaborationSessionService','handleInsertCol','currentTheme$','session.collaboration-timeout','_notificationService','row','setStateCache','evenodd','trim','_getSheetObject','useObservable','bottom','closePath','fromEvent','green.600','Tools','hovered','_refreshCollabCursors','replace','collabStatus.synced','React','_messageService','defineProperty','urlChange$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forEach','UNDEFINED','clearTimeout','_transformPreviousActiveRange','registerRenderModule','Injector','_instanceService','_syncEditingCollabCursorService','hasOwnProperty','UniverProCollaboration','HTTPService','onStarting','/run/','getFocusedUnit','permission.title','useRef','getSheetId','editingUnit','on-line-icon','42766cIlKlK','NodePositionConvertToCursor','min','SetSelectionsOperation','stringify','DOC_RANGE_TYPE','ISocketService','_drawTextRange','UniverCollaborationClientUIPlugin','229761ngrILg','_status$','YUUMI_AI_RUN_FAILED','Optional','DocIMEInputManagerService','SheetCollabCursorShape','_sheetSkeletonManagerService','EMAIL_HAS_BEEN_BOUND','transformSelections','subscribe','subunit','generateRandomId','CONNECTOR_DATA_TOO_LARGE','dispose$','DocStateChangeManagerService','delete','setInterval','_send','IImageIoService','collabStatus.notCollab','_unitOnClients','setParam','_assignedColors','div','SetTextSelectionsOperation','subUnitId','subscribeEvent','eventID','purple.300','session.connection-failed','_entities','getCurrent','YUUMI_ASYNCIO_CANCELLED','DataLoaderService','handleIRemoveRow','isEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','0\x200\x2017\x2016','_univerInstanceService','Warning','_drawAnchor','@univerjs/ui','MOBILE_VERIFY_CODE_MISMATCH','@univerjs/docs-ui','sessionTicket','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','_colorAssignService','hide','searchParams','onCommandExecuted','UniverDesign','off-line-icon_clip0_910_343','YUUMI_RATE_OVER_LIMIT','defs','getUnitId','_docStateChangeManagerService','LICENSE_MAX_UNITS_EXCEEDED','getMemberID','toDisposable','YUUMI_CONNECTOR_URL_NOT_FOUND','white','getCoordByCell','focused$','Shape','jsx','session.will-retry','SOCKET_FAILED','_setupSubUnitSync','merge','runOnServer','_uiPartsService','addObject','_getScale','_httpService','_doCreateSocket','getValue','getSkeleton','getActiveSheet','MemberService','_startSheetCollabCursor','WebSocketService','CollaborationEvent','_getSaveTimeout','_docTransformStateCacheService','disposeWithMe','CollaborationStatus','transformByState','fillText','handleIRemoveCol','entries','_context','unitId','TEXT','name','OFFLINE','Subject','setTimeout','_shapes','dispose','APPLY_PERMISSION_DENIED','UnitStatus','executeCommand','data','onPointerEnter$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-rect-range-','_document','handleDeleteRangeMoveUp','RemoteUniscriptService','indexOf','APPLY_REVISION_CONFILICT','YUUMI_SUBSCRIPTION_NOT_FOUND','COLORS','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverProCollaborationClient','Rectangle','debounce','_getAnchorBounding','collabStatus.conflict','RemoveRowCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onLocalMutation','isActive','add','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOffline','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_colorIndex','textRanges','restore','unsubscribe','m1Prime','startsWith','blue.400','IUniverInstanceService','_handleHover','roomMembers$','Rect','PENDING','getDocRanges','LICENSE_DISTRO_REJECTED','_render','_imageIoService','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','assign','_setupBeforeClosingHandler','Failed','connectInjector','Unknown\x20user','Vector2','throttleTime','CollaborationUIEventService','SheetSkeletonManagerService','distinctUntilChanged','RemoveColCommandId','unload','wsSessionTicketUrl','operators','size','redoState','shareReplay','rgba(255,\x20255,\x20255,\x200.01)','_docSkeletonManagerService','permission.content','saveTaskMap','getCellPositionByOffset','SHEET_VIEWPORT_KEY','_id','isArray','_onCursorDelete','addHandlerCallback','OnLineIcon','_getMergeRange','syncEditingCollabCursor','getUnhiddenWorksheets','RxDisposable','ticket','_unitStatus','collab-text-range-','transformIMECache','FromArray','_cursorInfo$','translate(.97)','_handleLeaveEvent','147aAByKp','triggerDblclick','_injector','from','collabStatus.syncing','UniverSheetsUi','ICommandService','_hideTimer','random','@univerjs/engine-formula','labelPosition','transformMutation','LICENSE_IMPORT_SIZE_EXCEEDED','_scene','_transformHistoryAndStateStack','colorChannel1','xlink:href','deserializeRangeWithSheet','DocCollaborationEntity','range','_lastPointer','LOCAL_CACHE_INTERVAL_KEY','setUndoRedoMutationParamsCache','ILocalCacheService','SessionStatus','send','@univerjs-pro/collaboration-client','arc','NOT_FOUND','getTypeOfUnitAdded$','init','length','with','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','attrs','endRow','_initCommandExecutedListener','getAncestorScale','defIds','fill','_selfUnitIDs','getCollabCursors$','_memberService','UPDATE_CURSOR','replaceState','INTERNAL_ERROR','_clearOtherTimers','getCurrentUnitForType','isTransformMutationsWithChangesetSuccess','collabStatus.fetchMiss','prototype','UniverInstanceType','jiqing.500','BuiltInUIPart','className','_removeClearOtherTimer','_scheduleClearOtherTimer','mapTo','_removeCollabCursors','substring','Workbook','_transformUndoRedoStack','on-line-icon_clip0_910_349','_getSessionTicket','34096172tMGmuE','UniverNetwork','_name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ranges','getRenderById','path','4348224joJxaA','_initDependencies','UNIVER_SHEET','BehaviorSubject','sheetId','INVITE_CODE_REQUIRED','createElement','getConfig','IUIPartsService','storage','toStringTag','_toggleOnline','getRangePointData','_refRangeService','collaboration.closeRoom','ONLINE','AWAITING_WITH_PENDING','CollaborationSocketService','RichTextEditingMutation','string','pipe','_online','cursorInfo$','_roomMembers$','split','call','SUBMIT_CHANGESET_TIMEOUT','runId','onTransformChange$','combineLatest','max','height','OTHER_CLIENT_EDITING','drawWith','popstate','INotificationService','currentSkeleton$','save','getTypeOfUnitDisposed$','UNIVER_DOC','DocSkeletonManagerService','0\x200\x2016\x2016','mergeOverrideWithDependencies','handleInsertRow','setShapeProps','1389105qIQewF','selection','Disposable','EffectRefRangId','_collaborationUIEventService','InsertRangeMoveDownCommandId','history','handleInsertRangeMoveRight','_themeService','_updateLocalCursor','CommandType','_urlService','map','source','get','body','current','takeUntil','yellow.400','_cachedData','newValue','contains','then','forwardRef','INVALID_ARGUMENT','@univerjs/sheets','disableLocalCache','@univerjs/sheets-ui','uni.network.url-service','selections','status$','rxjs/operators','93cZHTmK','_collabSessionService','IMessageService','_handleEvent','UniverCollaborationClientPlugin','_renderManagerService','INVALID_INVITE_CODE','DEFAULT_WS_SESSION_TICKET_URL','getStateCache','_transformService','isTransformMutationFailure','black','DependentOn','@univerjs/network','_collabCursorController','INVITE_CODE_ALREADY_BOUND','_cursors','docStateChange$','debounceTime','_hover','ITransformService','exhaustSavingTask','enableLocalCache','INVITE_CODE_HAS_BEEN_UES','_scheduleSaving','search','CHANGESET_REVISION_CONFILICT','...','clearInterval','object','_initStatusListener','registerRefRange','assignAColorForMemberID','next','_anchorDot','_textBubble','none','_labelPosition','doc.mutation.rich-text-editing','SetDocZoomRatioOperation','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebURLService','SNAPSHOT_INVALID_SNAPSHOT','onRendered','removeParam','SYNCED','font','transformMutationsWithChangeset','_initEvent','8zRNnto','deepClone','post','measureText','rxjs','jsxs','column','_onRefRangeChange','univerjs-icon\x20univerjs-icon-','override','backgroundColor','transformStateCache','_startDocCollabCursor','getLocalCacheKey','getSheetObject','engine','debug','moveTo','DeleteRangeMoveLeftCommandId','some','round','COMPLETION_FINISHED','location','setAlpha','ThemeService','_saveTaskMap','UniverEngineFormula','addClipboardHook','DocSelectionManagerService','Inject','entityInit$','sheetID','asObservable','1em','_initStatusComponent','PERMISSION_DENIED','useCallback','concat','onPointerMove$','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','findNodePositionByCharIndex','USERS_LEAVE','InsertColCommandId','getMember','getVpScrollXYInfoByPosToVp','@univerjs/rpc','MUTATION','_createSocketURL','loadUnit','displayName','JOIN_ROOM_FAILED','_saveCache','[CollaborationDataLoaderController]','top','_config','SNAPSHOT_HAS_BEEN_REMOVED','ILogService','_session','_cursorShapes','toString','exports','_docSkeleton','Error','saveImage','UniverProCollaborationClientUi','TRANSFORM_CHANGE_OBSERVABLE_TYPE','set','_entityInit$','mask','setActiveRange','_initResize','roomMembers'];_0x853e=function(){return _0x526fff;};return _0x853e();}
|
|
1
|
+
function _0x6e2a(_0x43a791,_0x5af8b8){const _0x434d5a=_0x434d();return _0x6e2a=function(_0x6e2a6d,_0x186a4a){_0x6e2a6d=_0x6e2a6d-0xf7;let _0x4b67cc=_0x434d5a[_0x6e2a6d];return _0x4b67cc;},_0x6e2a(_0x43a791,_0x5af8b8);}(function(_0x54edd1,_0x2fa831){const _0x2da7b5=_0x6e2a,_0x33300b=_0x54edd1();while(!![]){try{const _0x29a6c6=parseInt(_0x2da7b5(0x381))/0x1+-parseInt(_0x2da7b5(0x314))/0x2+-parseInt(_0x2da7b5(0x2a8))/0x3*(parseInt(_0x2da7b5(0x29b))/0x4)+parseInt(_0x2da7b5(0x371))/0x5*(parseInt(_0x2da7b5(0x301))/0x6)+parseInt(_0x2da7b5(0x1c8))/0x7*(-parseInt(_0x2da7b5(0x2c6))/0x8)+-parseInt(_0x2da7b5(0x18e))/0x9+-parseInt(_0x2da7b5(0x2c3))/0xa*(-parseInt(_0x2da7b5(0x287))/0xb);if(_0x29a6c6===_0x2fa831)break;else _0x33300b['push'](_0x33300b['shift']());}catch(_0x36da57){_0x33300b['push'](_0x33300b['shift']());}}}(_0x434d,0xc2598),function(_0x26ed8c,_0x3da319){const _0x225213=_0x6e2a;typeof exports==_0x225213(0x1f3)&&typeof module<'u'?_0x3da319(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[_0x225213(0x1e8)]?define([_0x225213(0x2df),_0x225213(0x13e),_0x225213(0x36e),_0x225213(0x128),'@univerjs/ui',_0x225213(0x322),_0x225213(0x343),_0x225213(0x20b),_0x225213(0x36c),'@univerjs/sheets','@univerjs/engine-render',_0x225213(0x2c8),_0x225213(0x271),'@univerjs/drawing',_0x225213(0x201),'@univerjs/docs','@univerjs/engine-formula',_0x225213(0x2e1),_0x225213(0x230)],_0x3da319):(_0x26ed8c=typeof globalThis<'u'?globalThis:_0x26ed8c||self,_0x3da319(_0x26ed8c[_0x225213(0x147)]={},_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2ea)],_0x26ed8c['UniverCore'],_0x26ed8c[_0x225213(0x1fa)],_0x26ed8c[_0x225213(0x322)],_0x26ed8c[_0x225213(0x227)],_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2e5)],_0x26ed8c['UniverSheets'],_0x26ed8c[_0x225213(0x214)],_0x26ed8c[_0x225213(0x123)],_0x26ed8c['UniverDocsUi'],_0x26ed8c[_0x225213(0xfd)],_0x26ed8c['UniverProCollaboration'],_0x26ed8c[_0x225213(0x323)],_0x26ed8c['UniverEngineFormula'],_0x26ed8c[_0x225213(0x322)][_0x225213(0x127)],_0x26ed8c[_0x225213(0x25c)]));}(this,function(_0x5a6766,_0xe1ca0d,_0x27b003,_0x396f24,_0x39278b,_0x1b47d1,_0x262431,_0x10d8dc,_0x13b0b6,_0x2141ef,_0x5841f7,_0x16b348,_0x2752ff,_0x36c19a,_0x19f9e8,_0x54b913,_0x5d9407,_0x19b639,_0x39a301){'use strict';const _0x37c2de=_0x6e2a;var _0x2f1b0e=Object[_0x37c2de(0x1c9)],_0x19a2fb=(_0x351b7e,_0x1e8182,_0x33f257)=>_0x1e8182 in _0x351b7e?_0x2f1b0e(_0x351b7e,_0x1e8182,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f257}):_0x351b7e[_0x1e8182]=_0x33f257,_0x425380=(_0x37863c,_0x5eccbe,_0x2d8e38)=>_0x19a2fb(_0x37863c,typeof _0x5eccbe!=_0x37c2de(0x167)?_0x5eccbe+'':_0x5eccbe,_0x2d8e38),_0x4f1493=function(){const _0x2bbb8e=_0x37c2de;return _0x4f1493=Object[_0x2bbb8e(0x31f)]||function(_0x54d8fc){const _0x30aed9=_0x2bbb8e;for(var _0xe1f18f,_0x1f251f=0x1,_0x240cc5=arguments[_0x30aed9(0x2c4)];_0x1f251f<_0x240cc5;_0x1f251f++){_0xe1f18f=arguments[_0x1f251f];for(var _0x42ff27 in _0xe1f18f)Object['prototype'][_0x30aed9(0x2ac)][_0x30aed9(0x171)](_0xe1f18f,_0x42ff27)&&(_0x54d8fc[_0x42ff27]=_0xe1f18f[_0x42ff27]);}return _0x54d8fc;},_0x4f1493['apply'](this,arguments);},_0x5c3eab=function(_0x54ec84,_0x5e5559){const _0x11911c=_0x37c2de;var _0x1d1c48={};for(var _0x349b66 in _0x54ec84)Object['prototype']['hasOwnProperty'][_0x11911c(0x171)](_0x54ec84,_0x349b66)&&_0x5e5559['indexOf'](_0x349b66)<0x0&&(_0x1d1c48[_0x349b66]=_0x54ec84[_0x349b66]);if(_0x54ec84!=null&&typeof Object[_0x11911c(0x326)]==_0x11911c(0x29d)){for(var _0x3e45eb=0x0,_0x349b66=Object[_0x11911c(0x326)](_0x54ec84);_0x3e45eb<_0x349b66['length'];_0x3e45eb++)_0x5e5559[_0x11911c(0x250)](_0x349b66[_0x3e45eb])<0x0&&Object[_0x11911c(0x27c)]['propertyIsEnumerable']['call'](_0x54ec84,_0x349b66[_0x3e45eb])&&(_0x1d1c48[_0x349b66[_0x3e45eb]]=_0x54ec84[_0x349b66[_0x3e45eb]]);}return _0x1d1c48;},_0x203494=_0x10d8dc['forwardRef'](function(_0x4d55b8,_0x5c6d3b){const _0x2094bd=_0x37c2de;var _0x215ea8=_0x4d55b8['icon'],_0x29aed9=_0x4d55b8['id'],_0x52087a=_0x4d55b8['className'],_0xfa0283=_0x4d55b8[_0x2094bd(0x2d6)],_0x5a91ec=_0x5c3eab(_0x4d55b8,[_0x2094bd(0x252),'id',_0x2094bd(0x348),_0x2094bd(0x2d6)]),_0x4d9edc=_0x2094bd(0x1b5)['concat'](_0x29aed9,'\x20')[_0x2094bd(0x12f)](_0x52087a||'')[_0x2094bd(0x306)](),_0x16132f=_0x10d8dc[_0x2094bd(0x1c0)]('_'[_0x2094bd(0x12f)](_0x86b784()));return _0x15a107(_0x215ea8,''['concat'](_0x29aed9),{'defIds':_0x215ea8[_0x2094bd(0x234)],'idSuffix':_0x16132f[_0x2094bd(0x366)]},_0x4f1493({'ref':_0x5c6d3b,'className':_0x4d9edc},_0x5a91ec),_0xfa0283);});function _0x15a107(_0x2572fa,_0x5c57ca,_0xe2fe56,_0x1f8a34,_0x3499d6){const _0xe0a1ee=_0x37c2de;return _0x10d8dc[_0xe0a1ee(0x362)](_0x2572fa[_0xe0a1ee(0x2ca)],_0x4f1493(_0x4f1493({'key':_0x5c57ca},_0x40ae51(_0x2572fa,_0xe2fe56,_0x3499d6)),_0x1f8a34),(_0x513e47(_0x2572fa,_0xe2fe56)[_0xe0a1ee(0x25d)]||[])['map'](function(_0x29d73e,_0x8a7112){const _0x3fdcfc=_0xe0a1ee;return _0x15a107(_0x29d73e,''[_0x3fdcfc(0x12f)](_0x5c57ca,'-')['concat'](_0x2572fa[_0x3fdcfc(0x2ca)],'-')[_0x3fdcfc(0x12f)](_0x8a7112),_0xe2fe56,void 0x0,_0x3499d6);}));}function _0x40ae51(_0x38b4c9,_0xb7ea33,_0x48eae8){const _0x220a77=_0x37c2de;var _0x51b76f=_0x4f1493({},_0x38b4c9['attrs']);_0x48eae8!=null&&_0x48eae8[_0x220a77(0x11d)]&&_0x51b76f['fill']===_0x220a77(0x11d)&&(_0x51b76f['fill']=_0x48eae8[_0x220a77(0x11d)]),_0x38b4c9[_0x220a77(0x2ca)]===_0x220a77(0x294)&&_0x51b76f['id']&&(_0x51b76f['id']=_0x51b76f['id']+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0xdecb5e){const _0x5c0709=_0x220a77;var _0xb888c4=_0xdecb5e[0x0],_0x18671d=_0xdecb5e[0x1];_0xb888c4===_0x5c0709(0x294)&&typeof _0x18671d==_0x5c0709(0x139)&&(_0x51b76f[_0xb888c4]=_0x18671d[_0x5c0709(0x1e9)](/url\(#(.*)\)/,'url(#$1'[_0x5c0709(0x12f)](_0xb7ea33[_0x5c0709(0x253)],')')));});var _0x1a3721=_0xb7ea33[_0x220a77(0x234)];return!_0x1a3721||_0x1a3721[_0x220a77(0x2c4)]===0x0||(_0x38b4c9[_0x220a77(0x2ca)]==='use'&&_0x51b76f[_0x220a77(0x22c)]&&(_0x51b76f['xlink:href']=_0x51b76f[_0x220a77(0x22c)]+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0x5029b5){const _0x27e133=_0x220a77;var _0x355e8b=_0x5029b5[0x0],_0xbfa46d=_0x5029b5[0x1];typeof _0xbfa46d=='string'&&(_0x51b76f[_0x355e8b]=_0xbfa46d[_0x27e133(0x1e9)](/url\(#(.*)\)/,_0x27e133(0x1a2)[_0x27e133(0x12f)](_0xb7ea33[_0x27e133(0x253)],')')));})),_0x51b76f;}function _0x513e47(_0x45d5ce,_0x1d3f7d){const _0x83182=_0x37c2de;var _0x465b47,_0x1a198d=_0x1d3f7d[_0x83182(0x234)];return!_0x1a198d||_0x1a198d['length']===0x0?_0x45d5ce:_0x45d5ce['tag']==='defs'&&(!((_0x465b47=_0x45d5ce[_0x83182(0x25d)])===null||_0x465b47===void 0x0)&&_0x465b47[_0x83182(0x2c4)])?_0x4f1493(_0x4f1493({},_0x45d5ce),{'children':_0x45d5ce['children'][_0x83182(0x379)](function(_0x4613d6){const _0x4e74c0=_0x83182;return typeof _0x4613d6[_0x4e74c0(0x25f)]['id']=='string'&&_0x1a198d&&_0x1a198d[_0x4e74c0(0x37d)](_0x4613d6[_0x4e74c0(0x25f)]['id'])?_0x4f1493(_0x4f1493({},_0x4613d6),{'attrs':_0x4f1493(_0x4f1493({},_0x4613d6[_0x4e74c0(0x25f)]),{'id':_0x4613d6[_0x4e74c0(0x25f)]['id']+_0x1d3f7d[_0x4e74c0(0x253)]})}):_0x4613d6;})}):_0x45d5ce;}function _0x86b784(){const _0x1ec9a8=_0x37c2de;return Math[_0x1ec9a8(0x130)]()[_0x1ec9a8(0xf9)](0x24)[_0x1ec9a8(0x1e5)](0x2,0x8);}_0x203494[_0x37c2de(0x369)]=_0x37c2de(0x284);var _0x3060c4={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':_0x37c2de(0x2f1),'d':_0x37c2de(0x272),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x312)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'fill':_0x37c2de(0x206),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x37c2de(0x312)]},_0x2a363e=_0x10d8dc[_0x37c2de(0x226)](function(_0x1e2951,_0x48ac79){const _0x4d9ab4=_0x37c2de;return _0x10d8dc[_0x4d9ab4(0x362)](_0x203494,Object['assign']({},_0x1e2951,{'id':_0x4d9ab4(0x106),'ref':_0x48ac79,'icon':_0x3060c4}));});_0x2a363e['displayName']='OffLineIcon';var _0xc664b0={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':_0x37c2de(0x2d5),'width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':_0x37c2de(0x2b4)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':'currentColor','d':_0x37c2de(0x194),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x109)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x37c2de(0x2b9),'transform':_0x37c2de(0x310)}}]}]}],'defIds':[_0x37c2de(0x109)]},_0x41d014=_0x10d8dc[_0x37c2de(0x226)](function(_0x33d57a,_0x21329d){const _0x27387a=_0x37c2de;return _0x10d8dc[_0x27387a(0x362)](_0x203494,Object[_0x27387a(0x31f)]({},_0x33d57a,{'id':_0x27387a(0x26d),'ref':_0x21329d,'icon':_0xc664b0}));});_0x41d014['displayName']=_0x37c2de(0x23c);function _0x143c9a(_0x39f3cc){const _0x4f9109=_0x37c2de;switch(_0x39f3cc){case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x1fc)]:return'collabStatus.offline';case _0x27b003[_0x4f9109(0x317)]['CONFLICT']:return _0x4f9109(0x1dd);case _0x27b003['CollaborationStatus'][_0x4f9109(0x291)]:return _0x4f9109(0x12e);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x182)]:return _0x4f9109(0x110);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x27e)]:case _0x27b003[_0x4f9109(0x317)]['AWAITING_WITH_PENDING']:return _0x4f9109(0x340);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x236)]:case _0x27b003['CollaborationStatus'][_0x4f9109(0x116)]:return _0x4f9109(0x247);}}function _0x3ca8a5(_0xed5426){const _0x495b00=_0x37c2de,{status$:_0x7bdd0c}=_0xed5426,_0xf55835=_0x39278b[_0x495b00(0x23e)](_0x7bdd0c,_0x27b003['CollaborationStatus']['NOT_COLLAB']),_0x315780=_0x39278b['useDependency'](_0x396f24[_0x495b00(0x370)]),_0x21c37b=_0x39278b[_0x495b00(0x10a)](_0x27b003['CollaborationSessionService']),_0x3d041e=_0xf55835!==_0x27b003['CollaborationStatus']['OFFLINE'],_0x1112b4=_0x315780['t'](_0x143c9a(_0xf55835)),_0x11b8a5=_0x3d041e?_0xe1ca0d[_0x495b00(0x259)](_0x41d014,{}):_0xe1ca0d['jsx'](_0x2a363e,{}),_0x51d502=_0x10d8dc[_0x495b00(0x2fe)](()=>{_0x3d041e||_0x21c37b['reconnect']();},[_0x3d041e,_0x21c37b]);function _0x6492be(){const _0x5e07e5=_0x495b00;return _0xe1ca0d[_0x5e07e5(0x22e)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x32b),'onClick':_0x51d502,'children':[_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x262431['clsx'](_0x5e07e5(0x2fa),{'univer-text-green-500':_0x3d041e,'univer-text-red-500':!_0x3d041e}),'children':_0x11b8a5}),_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x277),'children':_0x1112b4})]});}return _0x3d041e?_0x6492be():_0xe1ca0d['jsx'](_0x262431[_0x495b00(0x1f7)],{'title':_0x315780['t'](_0x495b00(0x15b)),'children':_0x6492be()});}var _0x1253dd=Object['getOwnPropertyDescriptor'],_0x2313ca=(_0x31c803,_0x536e29,_0x5b00f6,_0x55ef32)=>{const _0x4cc38c=_0x37c2de;for(var _0xcfa629=_0x55ef32>0x1?void 0x0:_0x55ef32?_0x1253dd(_0x536e29,_0x5b00f6):_0x536e29,_0x386459=_0x31c803[_0x4cc38c(0x2c4)]-0x1,_0x6abbf;_0x386459>=0x0;_0x386459--)(_0x6abbf=_0x31c803[_0x386459])&&(_0xcfa629=_0x6abbf(_0xcfa629)||_0xcfa629);return _0xcfa629;},_0x267b52=(_0x5077ca,_0x4b4f85)=>(_0xc02bd9,_0x35348f)=>_0x4b4f85(_0xc02bd9,_0x35348f,_0x5077ca);_0x5a6766['DesktopCollaborationStatusDisplayController']=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x2fb4c9,_0x1cfe1e,_0x2cf2a3,_0x2352a5){const _0x47f4de=_0x37c2de;super(),_0x425380(this,_0x47f4de(0x376),new _0x1b47d1['BehaviorSubject'](_0x27b003[_0x47f4de(0x317)][_0x47f4de(0x182)])),(this[_0x47f4de(0x332)]=_0x2fb4c9,this[_0x47f4de(0x212)]=_0x1cfe1e,this[_0x47f4de(0x1ec)]=_0x2cf2a3,this[_0x47f4de(0x180)]=_0x2352a5,this[_0x47f4de(0x2b0)](),this['_initStatusListener']());}[_0x37c2de(0x34d)](){const _0x5f389a=_0x37c2de;this[_0x5f389a(0x1c4)](this[_0x5f389a(0x332)][_0x5f389a(0x283)][_0x5f389a(0x2a6)](_0x1b47d1[_0x5f389a(0x335)](()=>{const _0x32ae60=_0x5f389a,_0x47a08a=this['_univerInstanceService'][_0x32ae60(0x2b3)]();return _0x47a08a?this[_0x32ae60(0x1ec)][_0x32ae60(0x25a)](_0x47a08a[_0x32ae60(0x278)]()):_0x1b47d1['of'](null);}),_0x1b47d1['switchMap'](_0x1a8a1e=>_0x1a8a1e?_0x1a8a1e[_0x5f389a(0x173)]:_0x1b47d1['of'](_0x27b003[_0x5f389a(0x317)][_0x5f389a(0x182)])))[_0x5f389a(0x196)](_0x1d90df=>{const _0x556cba=_0x5f389a;this[_0x556cba(0x376)]['next'](_0x1d90df);}));}['_initStatusComponent'](){const _0x4a05f5=_0x37c2de;this[_0x4a05f5(0x1c4)](this[_0x4a05f5(0x180)][_0x4a05f5(0x1cd)](_0x39278b['BuiltInUIPart'][_0x4a05f5(0x1c5)],()=>_0x39278b[_0x4a05f5(0x367)](_0x436386({'status$':this['_status$'][_0x4a05f5(0x281)]()}),this[_0x4a05f5(0x212)])));}},_0x5a6766[_0x37c2de(0x2f5)]=_0x2313ca([_0x267b52(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x267b52(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x267b52(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x267b52(0x3,_0x39278b[_0x37c2de(0x32c)])],_0x5a6766['DesktopCollaborationStatusDisplayController']);function _0x436386(_0x464568){const {status$:_0x44a0a2}=_0x464568;return function(){const _0x3d5db8=_0x6e2a;return _0xe1ca0d[_0x3d5db8(0x259)](_0x3ca8a5,{'status$':_0x44a0a2});};}const _0x2bb386=_0x396f24[_0x37c2de(0x22d)](_0x37c2de(0x164));var _0x93493d=Object[_0x37c2de(0x1ca)],_0x5ce234=(_0xef4053,_0x19f412,_0x238515,_0x4ee59b)=>{for(var _0x309c6b=_0x4ee59b>0x1?void 0x0:_0x4ee59b?_0x93493d(_0x19f412,_0x238515):_0x19f412,_0x1d010a=_0xef4053['length']-0x1,_0x48ee29;_0x1d010a>=0x0;_0x1d010a--)(_0x48ee29=_0xef4053[_0x1d010a])&&(_0x309c6b=_0x48ee29(_0x309c6b)||_0x309c6b);return _0x309c6b;},_0x59d742=(_0x35a8b4,_0x527ebb)=>(_0x37fcfe,_0x4f40d7)=>_0x527ebb(_0x37fcfe,_0x4f40d7,_0x35a8b4);_0x5a6766[_0x37c2de(0x156)]=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x29e57d,_0x715955,_0x2f613a,_0x409113,_0x33f403){const _0x79c210=_0x37c2de;super(),this[_0x79c210(0x262)]=_0x29e57d,this[_0x79c210(0x35d)]=_0x715955,this[_0x79c210(0x30c)]=_0x2f613a,this[_0x79c210(0x11e)]=_0x409113,_0x33f403?_0x33f403==null||_0x33f403[_0x79c210(0x1f5)]()[_0x79c210(0x27f)](()=>this['_init']()):(this[_0x79c210(0x35d)]['debug'](_0x79c210(0x398),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x79c210(0x133)]());}async['_init'](){const _0x3dd123=_0x37c2de,_0x3dfdf4=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x2e0)),_0x38fb6b=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x275)),_0x19fe71=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x347));if(!_0x3dfdf4||!_0x38fb6b){this[_0x3dd123(0x35d)][_0x3dd123(0x243)](_0x3dd123(0x398),_0x3dd123(0x235));return;}const _0x3d58cb=await this['_dataLoaderService'][_0x3dd123(0x148)](_0x3dfdf4,Number(_0x38fb6b),_0x19fe71);_0x3d58cb&&_0x3d58cb instanceof _0x396f24[_0x3dd123(0x141)]&&this[_0x3dd123(0x2a3)](_0x3d58cb);}async[_0x37c2de(0x2a3)](_0x3d1b9f){const _0x3f00e6=_0x37c2de;await this[_0x3f00e6(0x2cb)](_0x3d1b9f),_0x3d1b9f[_0x3f00e6(0x14b)][_0x3f00e6(0x2a6)](_0x1b47d1[_0x3f00e6(0x15c)](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](_0x12eec6=>{_0x12eec6&&this['_updateURLWithCurrentState'](_0x12eec6);}),this[_0x3f00e6(0x262)][_0x3f00e6(0x19d)][_0x3f00e6(0x2a6)](_0x1b47d1['takeUntil'](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](()=>this['_updateSubUnitFromURLParams'](_0x3d1b9f));}[_0x37c2de(0x1d5)](_0x2a0a2e,_0x36e1e5=!0x1){const _0x3d05ab=_0x37c2de,_0x6ea86a=this[_0x3d05ab(0x262)][_0x3d05ab(0x385)](_0x3d05ab(0x347));_0x2a0a2e[_0x3d05ab(0x153)]()!==_0x6ea86a&&this[_0x3d05ab(0x262)]['setParam'](_0x3d05ab(0x347),_0x2a0a2e[_0x3d05ab(0x153)](),_0x36e1e5);}async[_0x37c2de(0x2cb)](_0x71f304){const _0x5d2e85=_0x37c2de;var _0x10b528;const _0xda2548=this[_0x5d2e85(0x262)][_0x5d2e85(0x385)](_0x5d2e85(0x347));if(!_0xda2548||!_0x71f304[_0x5d2e85(0x105)](_0xda2548)){const _0xd79b86=_0x71f304[_0x5d2e85(0x297)]()[0x0],_0x57e1e4=_0x71f304[_0x5d2e85(0x105)](_0xd79b86);if(!_0x57e1e4)return;this[_0x5d2e85(0x1d5)](_0x57e1e4,!0x0),await this[_0x5d2e85(0x30c)]['executeCommand'](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304[_0x5d2e85(0x278)](),'subUnitId':_0xd79b86});return;}((_0x10b528=_0x71f304['getActiveSheet']())==null?void 0x0:_0x10b528[_0x5d2e85(0x153)]())!==_0xda2548&&await this['_commandService'][_0x5d2e85(0x2e4)](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304['getUnitId'](),'subUnitId':_0xda2548});}},_0x5a6766[_0x37c2de(0x156)]=_0x5ce234([_0x59d742(0x0,_0x2bb386),_0x59d742(0x1,_0x396f24['ILogService']),_0x59d742(0x2,_0x396f24[_0x37c2de(0x1a6)]),_0x59d742(0x3,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x2cd)])),_0x59d742(0x4,_0x396f24['Optional'](_0x13b0b6[_0x37c2de(0x2f7)]))],_0x5a6766['CollaborationDataLoaderController']);var _0x12d9d8=Object[_0x37c2de(0x1ca)],_0x2d317b=(_0x5909d1,_0x3a72fc,_0x5d1583,_0x5d93d7)=>{const _0xd4aa9b=_0x37c2de;for(var _0x270b1a=_0x5d93d7>0x1?void 0x0:_0x5d93d7?_0x12d9d8(_0x3a72fc,_0x5d1583):_0x3a72fc,_0xfc33d2=_0x5909d1[_0xd4aa9b(0x2c4)]-0x1,_0x47d0e0;_0xfc33d2>=0x0;_0xfc33d2--)(_0x47d0e0=_0x5909d1[_0xfc33d2])&&(_0x270b1a=_0x47d0e0(_0x270b1a)||_0x270b1a);return _0x270b1a;},_0x9c9bd4=(_0x116a6a,_0x561734)=>(_0x3c4b13,_0xa27e48)=>_0x561734(_0x3c4b13,_0xa27e48,_0x116a6a);let _0x394a4b=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x7ebdc3,_0x454a94){const _0xe07a8c=_0x37c2de;super(),this[_0xe07a8c(0x1bb)]=_0x7ebdc3,this[_0xe07a8c(0x10d)]=_0x454a94,this['_init']();}['_init'](){const _0x288b4e=_0x37c2de,_0x3fc339=this;this[_0x288b4e(0x1c4)](this[_0x288b4e(0x1bb)][_0x288b4e(0x135)]({'onBeforePasteImage':async _0x3aa724=>{const _0x538a6a=_0x288b4e,_0x25baca=await _0x3fc339[_0x538a6a(0x10d)][_0x538a6a(0x1ce)](_0x3aa724);return _0x25baca?{'source':_0x25baca['source'],'imageSourceType':_0x25baca['imageSourceType']}:null;}}));}};_0x394a4b=_0x2d317b([_0x9c9bd4(0x0,_0x2752ff['IDocClipboardService']),_0x9c9bd4(0x1,_0x36c19a[_0x37c2de(0x1c6)])],_0x394a4b);const _0x13438f=[_0x37c2de(0x339),'jiqing.500',_0x37c2de(0x1da),'red.300',_0x37c2de(0x29c),'yellow.400'];class _0x74392a extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x3048d2=_0x37c2de;super(...arguments),_0x425380(this,_0x3048d2(0x242),new Map()),_0x425380(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5af821){const _0x5461cf=_0x37c2de;if(this[_0x5461cf(0x242)]['has'](_0x5af821))return this[_0x5461cf(0x242)][_0x5461cf(0x2de)](_0x5af821);const _0x39e38b=_0x13438f[this[_0x5461cf(0x2ef)]];return this[_0x5461cf(0x2ef)]=(this['_colorIndex']+0x1)%_0x13438f[_0x5461cf(0x2c4)],this[_0x5461cf(0x242)][_0x5461cf(0x117)](_0x5af821,_0x39e38b),_0x39e38b;}}function _0x52b132(_0x211ef5){let _0x533675='';for(const _0x3aef90 of _0x211ef5){const {startOffset:_0x42bf92,endOffset:_0x5b95ce,isActive:_0x57be71,rangeType:_0x2e4132,segmentId:_0x58e10e,segmentPage:_0x36bfe1}=_0x3aef90;_0x533675['length']&&(_0x533675+=','),_0x533675+=_0x42bf92+':'+_0x5b95ce+':'+(_0x57be71?'1':'0')+':'+_0x2e4132+':'+_0x58e10e+':'+_0x36bfe1;}return _0x533675;}function _0x56b693(_0x44b703){const _0x22987a=_0x37c2de,_0x2ec295=_0x44b703[_0x22987a(0x225)](','),_0x2eda42=[];for(const _0x218415 of _0x2ec295){const [_0x511289,_0x171f3e,_0xc32840,_0x6a63a6,_0x5e33af,_0x2bafb4]=_0x218415['split'](':');_0x2eda42[_0x22987a(0x20f)]({'startOffset':Number(_0x511289),'endOffset':Number(_0x171f3e),'collapsed':_0x511289===_0x171f3e,'isActive':_0xc32840==='1','rangeType':_0x6a63a6===_0x396f24['DOC_RANGE_TYPE'][_0x22987a(0x353)]?_0x396f24[_0x22987a(0x21a)][_0x22987a(0x353)]:_0x396f24[_0x22987a(0x21a)][_0x22987a(0x1e0)],'segmentId':typeof _0x5e33af==_0x22987a(0x139)?String(_0x5e33af):'','segmentPage':Number(_0x2bafb4!=null?_0x2bafb4:-0x1)});}return _0x2eda42[_0x22987a(0x220)](_0x57a861=>_0x57a861[_0x22987a(0x351)])||(_0x2eda42[0x0][_0x22987a(0x351)]=!0x0),_0x2eda42;}class _0x25bfb1 extends _0x396f24[_0x37c2de(0x37a)]{constructor(){const _0x5564c5=_0x37c2de;super(...arguments),_0x425380(this,_0x5564c5(0x1be),new _0x1b47d1[(_0x5564c5(0x338))](null)),_0x425380(this,_0x5564c5(0x219),this[_0x5564c5(0x1be)][_0x5564c5(0x281)]());}[_0x37c2de(0x282)](_0x2f55b5){const _0x4aff65=_0x37c2de,{unitID:_0x574140,memberID:_0x44cebd,textRanges:_0x314a11}=_0x2f55b5,_0x9162d4=_0x52b132(_0x314a11);if(_0x9162d4==='')return;const _0x523fc2={'unitID':_0x574140,'memberID':_0x44cebd,'selection':_0x9162d4};this['_collabCursorState$'][_0x4aff65(0x38e)](_0x523fc2);}}var _0x551138=Object['getOwnPropertyDescriptor'],_0x39986e=(_0x184059,_0x156324,_0x32cfbb,_0xb5b643)=>{const _0xef2053=_0x37c2de;for(var _0x19c9ab=_0xb5b643>0x1?void 0x0:_0xb5b643?_0x551138(_0x156324,_0x32cfbb):_0x156324,_0x4ff1bd=_0x184059[_0xef2053(0x2c4)]-0x1,_0x5eca35;_0x4ff1bd>=0x0;_0x4ff1bd--)(_0x5eca35=_0x184059[_0x4ff1bd])&&(_0x19c9ab=_0x5eca35(_0x19c9ab)||_0x19c9ab);return _0x19c9ab;},_0x1561df=(_0x1a4462,_0x656d0)=>(_0x5f4b23,_0x2d44ea)=>_0x656d0(_0x5f4b23,_0x2d44ea,_0x1a4462);const _0x57517c=0x12c,_0x56850a=0x64;let _0x2f7eb2=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x44576c,_0x25d453,_0x39769c,_0x5b875f,_0x980275,_0x192774,_0x1a6312,_0x22b585,_0x2dc8ec){const _0x451cab=_0x37c2de;super(),_0x425380(this,_0x451cab(0x119),!0x1),_0x425380(this,'_init',!0x1),_0x425380(this,_0x451cab(0x13a),new _0x1b47d1[(_0x451cab(0x338))](new Map())),_0x425380(this,_0x451cab(0x24e),this['_cursorInfo$']['asObservable']()),_0x425380(this,'_roomMembers$',new _0x1b47d1[(_0x451cab(0x338))]([])),_0x425380(this,_0x451cab(0x1a1),this[_0x451cab(0x1c7)][_0x451cab(0x2a6)](_0x1b47d1[_0x451cab(0x208)](_0x57517c))),_0x425380(this,_0x451cab(0x305),_0x396f24['debounce'](_0x476a7b=>{const _0x3886d4=_0x451cab,_0x238156={'eventID':_0x19f9e8[_0x3886d4(0x2d3)][_0x3886d4(0x2aa)],'data':{'unitID':this[_0x3886d4(0x246)],'memberID':this[_0x3886d4(0x2f8)][_0x3886d4(0x2a7)](),'selection':_0x52b132(_0x476a7b)}};this['_session'][_0x3886d4(0x1bc)](_0x238156,this['unitID']);},_0x56850a)),(this[_0x451cab(0x246)]=_0x44576c,this['_session']=_0x25d453,this[_0x451cab(0x212)]=_0x39769c,this[_0x451cab(0x1a0)]=_0x5b875f,this['_memberService']=_0x980275,this[_0x451cab(0x146)]=_0x192774,this[_0x451cab(0x1fd)]=_0x1a6312,this[_0x451cab(0x332)]=_0x22b585,this[_0x451cab(0x30c)]=_0x2dc8ec);}get[_0x37c2de(0x1cb)](){const _0x31d210=_0x37c2de;return this[_0x31d210(0x13a)][_0x31d210(0x189)]();}get['roomMembers'](){const _0x579ede=_0x37c2de;return this[_0x579ede(0x1c7)]['getValue']();}[_0x37c2de(0x254)](){const _0x3cf168=_0x37c2de;super[_0x3cf168(0x254)](),this[_0x3cf168(0x13a)]['next'](new Map()),this[_0x3cf168(0x13a)][_0x3cf168(0x373)](),this[_0x3cf168(0x1c7)][_0x3cf168(0x38e)]([]),this[_0x3cf168(0x1c7)][_0x3cf168(0x373)]();}[_0x37c2de(0x337)](){const _0x5551a1=_0x37c2de;this[_0x5551a1(0x133)]||(this[_0x5551a1(0x133)]=!0x0,this[_0x5551a1(0x2f8)]['sessionStatus$'][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0x599504=>{const _0x50672d=_0x5551a1;_0x599504===_0x27b003[_0x50672d(0x29a)][_0x50672d(0x27a)]?this[_0x50672d(0xf8)]():this[_0x50672d(0x28d)]();}),this[_0x5551a1(0x2f8)][_0x5551a1(0x2c5)][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this[_0x5551a1(0x16c)]))[_0x5551a1(0x196)](_0x91c02=>{const _0x412f26=_0x5551a1,_0x3c6c3b=_0x91c02[_0x412f26(0x186)];_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x2aa)]&&this[_0x412f26(0x145)](_0x91c02),_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x311)]&&this['_onCursorDelete'](_0x91c02);}),this['disposeWithMe'](this[_0x5551a1(0x30c)][_0x5551a1(0x27b)](_0xe3908f=>{const _0x2accd8=_0x5551a1,_0x218a87=_0xe3908f['params'];_0x218a87!=null&&this[_0x2accd8(0x119)]&&_0xe3908f['id']===_0x54b913[_0x2accd8(0x1fe)]['id']&&_0x218a87[_0x2accd8(0x22b)]===this[_0x2accd8(0x246)]&&_0x218a87[_0x2accd8(0x38b)]===!0x1&&_0x218a87[_0x2accd8(0x1a8)][_0x2accd8(0x2c4)]>0x0&&this[_0x2accd8(0x305)](_0x218a87[_0x2accd8(0x1a8)]);})),this[_0x5551a1(0x146)][_0x5551a1(0x219)]['pipe'](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0xf3a00e=>{const _0x46326f=_0x5551a1;if((_0xf3a00e==null?void 0x0:_0xf3a00e[_0x46326f(0x246)])!==this['unitID'])return;const _0x3369de={'eventID':_0x19f9e8['CollaborationEvent'][_0x46326f(0x2aa)],'data':_0xf3a00e};this[_0x46326f(0x145)](_0x3369de);}),this[_0x5551a1(0x1c4)](this[_0x5551a1(0x30c)]['onCommandExecuted'](_0x1327dd=>{const _0x2ec56b=_0x5551a1;if(_0x1327dd[_0x2ec56b(0x2e2)]==null)return;const _0x1b9af9=_0x1327dd[_0x2ec56b(0x2e2)];if(_0x1327dd['id']!==_0x54b913[_0x2ec56b(0x26a)]['id']||_0x1b9af9[_0x2ec56b(0x22b)]!==this[_0x2ec56b(0x246)])return;const _0x1d2755={'id':'doc.mutation.rich-text-editing','params':_0x1b9af9},_0x53e2d6=this[_0x2ec56b(0x1cb)];for(const [_0xa6207b,_0x46548e]of _0x53e2d6){const _0x3f21b1={'id':_0x2ec56b(0x35f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x46548e[_0x2ec56b(0x1a8)]}},_0x26a43e=this[_0x2ec56b(0x1fd)][_0x2ec56b(0x1e2)](_0x1d2755,_0x3f21b1,!0x1);if(_0x19f9e8[_0x2ec56b(0x375)](_0x26a43e))throw _0x26a43e[_0x2ec56b(0x1b6)];_0x53e2d6[_0x2ec56b(0x117)](_0xa6207b,{..._0x46548e,'ranges':_0x26a43e[_0x2ec56b(0x191)][_0x2ec56b(0x2e2)]['textRanges']});}queueMicrotask(()=>{const _0x305ce2=_0x2ec56b;this[_0x305ce2(0x13a)][_0x305ce2(0x38e)](_0x53e2d6);});})));}[_0x37c2de(0x145)](_0x313f44){const _0x36af57=_0x37c2de;var _0x265a7a,_0x3f22dc;const {memberID:_0x5624c4,selection:_0xf38398}=_0x313f44[_0x36af57(0x1f4)],_0x419ce5=_0x56b693(_0xf38398),_0xdb6ba8=(_0x3f22dc=(_0x265a7a=this['_memberService']['getMember'](this[_0x36af57(0x246)],_0x5624c4))==null?void 0x0:_0x265a7a[_0x36af57(0x1cf)])!=null?_0x3f22dc:_0x36af57(0x30a),_0x184fa8={'color':this[_0x36af57(0x1a0)][_0x36af57(0x1ef)](_0x5624c4),'name':_0xdb6ba8,'ranges':_0x419ce5},_0x5acc7b=this[_0x36af57(0x1cb)];_0x5acc7b[_0x36af57(0x117)](_0x5624c4,_0x184fa8),this[_0x36af57(0x13a)]['next'](_0x5acc7b);}[_0x37c2de(0x374)](_0x2bf1cb){const _0x51aaff=_0x37c2de,{memberID:_0x5035ca}=_0x2bf1cb['data'],_0x3563ec=this[_0x51aaff(0x1cb)];_0x3563ec[_0x51aaff(0x2b2)](_0x5035ca),this[_0x51aaff(0x13a)][_0x51aaff(0x38e)](_0x3563ec);}[_0x37c2de(0xf8)](){const _0x55fd5e=_0x37c2de;var _0x391c39;if(this[_0x55fd5e(0x119)]=!0x0,((_0x391c39=this[_0x55fd5e(0x332)][_0x55fd5e(0x2b3)]())==null?void 0x0:_0x391c39[_0x55fd5e(0x278)]())!==this[_0x55fd5e(0x246)])return;const _0x2ac16e=this[_0x55fd5e(0x212)][_0x55fd5e(0x2de)](_0x54b913[_0x55fd5e(0x150)])[_0x55fd5e(0x2c2)]();Array[_0x55fd5e(0x224)](_0x2ac16e)&&_0x2ac16e[_0x55fd5e(0x2c4)]>0x0&&this[_0x55fd5e(0x305)](_0x2ac16e);}[_0x37c2de(0x28d)](){const _0x2ad88a=_0x37c2de;this[_0x2ad88a(0x119)]=!0x1;}};_0x2f7eb2=_0x39986e([_0x1561df(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x1561df(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x1561df(0x4,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x345)])),_0x1561df(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x1561df(0x6,_0x19f9e8['ITransformService']),_0x1561df(0x7,_0x396f24[_0x37c2de(0x34f)]),_0x1561df(0x8,_0x396f24[_0x37c2de(0x1a6)])],_0x2f7eb2);var _0x150598=Object[_0x37c2de(0x1ca)],_0x3578e7=(_0x45af46,_0x5b99c5,_0x3bead2,_0xcb8b98)=>{const _0x509835=_0x37c2de;for(var _0x160516=_0xcb8b98>0x1?void 0x0:_0xcb8b98?_0x150598(_0x5b99c5,_0x3bead2):_0x5b99c5,_0x4f7e13=_0x45af46[_0x509835(0x2c4)]-0x1,_0x3278b8;_0x4f7e13>=0x0;_0x4f7e13--)(_0x3278b8=_0x45af46[_0x4f7e13])&&(_0x160516=_0x3278b8(_0x160516)||_0x160516);return _0x160516;},_0x559ca3=(_0x48d011,_0x347877)=>(_0x15e140,_0x355b25)=>_0x347877(_0x15e140,_0x355b25,_0x48d011);const _0x3fa0dd=0x12c,_0x3c147a=0x64,_0x32df79=()=>{let _0x2346cd=[],_0x3cbdf7=!0x1;return _0x5a95c8=>{const _0x9a0dfd=_0x6e2a;_0x2346cd[_0x9a0dfd(0x20f)](_0x5a95c8),_0x3cbdf7||(_0x3cbdf7=!0x0,setTimeout(()=>{const _0x18087b=_0x9a0dfd;_0x2346cd[_0x18087b(0x217)](_0x32a02c=>_0x32a02c()),_0x2346cd=[],_0x3cbdf7=!0x1;}));};};let _0x33c9da=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x49b729,_0x4e249c,_0xa75709,_0x24b7ad,_0x49c79b,_0x35fcfa,_0x4a6a17,_0xafd03){const _0x56e027=_0x37c2de;super(),_0x425380(this,_0x56e027(0x119),!0x1),_0x425380(this,_0x56e027(0x133),!0x1),_0x425380(this,'_cursorInfo$',new _0x1b47d1['BehaviorSubject'](new Map())),_0x425380(this,'cursorInfo$',this[_0x56e027(0x13a)]['asObservable']()),_0x425380(this,_0x56e027(0x1c7),new _0x1b47d1[(_0x56e027(0x338))]([])),_0x425380(this,_0x56e027(0x1a1),this[_0x56e027(0x1c7)][_0x56e027(0x2a6)](_0x1b47d1['debounceTime'](_0x3fa0dd))),_0x425380(this,'_updateLocalCursor',_0x396f24[_0x56e027(0x190)]((_0x1c714e,_0xd9068e)=>{const _0x3fbdd8=_0x56e027,_0xb240dd={'eventID':_0x19f9e8[_0x3fbdd8(0x2d3)][_0x3fbdd8(0x2aa)],'data':{'unitID':this[_0x3fbdd8(0x246)],'memberID':this[_0x3fbdd8(0x2f8)]['getMemberID'](),'selection':_0x5d9407[_0x3fbdd8(0x177)](_0x1c714e,_0xd9068e['range'])}};this[_0x3fbdd8(0x2f8)][_0x3fbdd8(0x1bc)](_0xb240dd,this[_0x3fbdd8(0x246)]);},_0x3c147a)),(this[_0x56e027(0x246)]=_0x49b729,this[_0x56e027(0x2f8)]=_0x4e249c,this['_injector']=_0xa75709,this[_0x56e027(0x1a0)]=_0x24b7ad,this[_0x56e027(0x14f)]=_0x49c79b,this[_0x56e027(0x332)]=_0x35fcfa,this[_0x56e027(0x30c)]=_0x4a6a17,this[_0x56e027(0x159)]=_0xafd03);}get['cursorInfo'](){const _0x29718e=_0x37c2de;return this['_cursorInfo$'][_0x29718e(0x189)]();}get[_0x37c2de(0x2b5)](){const _0x5028a2=_0x37c2de;return this[_0x5028a2(0x1c7)][_0x5028a2(0x189)]();}['dispose'](){const _0x575b21=_0x37c2de;super[_0x575b21(0x254)](),this['_cursorInfo$'][_0x575b21(0x38e)](new Map()),this['_cursorInfo$'][_0x575b21(0x373)](),this[_0x575b21(0x1c7)]['next']([]),this[_0x575b21(0x1c7)][_0x575b21(0x373)]();}[_0x37c2de(0x337)](){const _0x27f552=_0x37c2de;this['_init']||(this[_0x27f552(0x133)]=!0x0,this[_0x27f552(0x2f8)]['sessionStatus$']['pipe'](_0x1b47d1['takeUntil'](this[_0x27f552(0x16c)]))[_0x27f552(0x196)](_0x5da980=>{const _0xed45df=_0x27f552;_0x5da980===_0x27b003[_0xed45df(0x29a)]['ONLINE']?this[_0xed45df(0xf8)]():this[_0xed45df(0x28d)]();}),this['_session'][_0x27f552(0x2c5)][_0x27f552(0x2a6)](_0x1b47d1['takeUntil'](this['dispose$']))['subscribe'](_0x26b58a=>{const _0x2eef52=_0x27f552,_0xa4ad76=_0x26b58a['eventID'];_0xa4ad76===_0x19f9e8[_0x2eef52(0x2d3)]['UPDATE_CURSOR']&&this[_0x2eef52(0x145)](_0x26b58a),_0xa4ad76===_0x19f9e8['CollaborationEvent']['USERS_LEAVE']&&this[_0x2eef52(0x374)](_0x26b58a);}),this[_0x27f552(0x25e)](),this['disposeWithMe'](this[_0x27f552(0x30c)][_0x27f552(0x27b)](_0x4aa1e1=>{const _0x47c082=_0x27f552;if(this['_online']&&_0x4aa1e1['id']===_0x2141ef[_0x47c082(0x1ed)]['id']&&_0x4aa1e1[_0x47c082(0x2e2)]['unitId']===this[_0x47c082(0x246)]){const _0x5317f1=_0x4aa1e1[_0x47c082(0x2e2)];this[_0x47c082(0x305)](_0x5317f1[_0x47c082(0x13b)],_0x5317f1[_0x47c082(0x256)][0x0]);}})));}[_0x37c2de(0x145)](_0x5e3e96){const _0x13b34=_0x37c2de;var _0xad58cb,_0x14efe1;const {memberID:_0x3a19db,selection:_0x2db154}=_0x5e3e96[_0x13b34(0x1f4)],{sheetName:_0x1c2dc1,range:_0xc06b13}=_0x5d9407[_0x13b34(0x245)](_0x2db154),_0x2e6fab={'name':(_0x14efe1=(_0xad58cb=this[_0x13b34(0x14f)][_0x13b34(0x1d4)](this['unitID'],_0x3a19db))==null?void 0x0:_0xad58cb['name'])!=null?_0x14efe1:'Unknown\x20user','range':this[_0x13b34(0x183)](_0x1c2dc1,_0xc06b13),'sheetID':_0x1c2dc1,'color':this[_0x13b34(0x1a0)][_0x13b34(0x1ef)](_0x3a19db),'selection':_0x2db154},_0x35e777=this[_0x13b34(0x1cb)];_0x35e777[_0x13b34(0x117)](_0x3a19db,_0x2e6fab),this[_0x13b34(0x13a)][_0x13b34(0x38e)](_0x35e777);}[_0x37c2de(0x374)](_0x29704b){const _0x449065=_0x37c2de,{memberID:_0x2dde80}=_0x29704b['data'],_0x3e22b9=this[_0x449065(0x1cb)];_0x3e22b9[_0x449065(0x2b2)](_0x2dde80),this[_0x449065(0x13a)][_0x449065(0x38e)](_0x3e22b9);}[_0x37c2de(0x183)](_0x1277a0,_0x538f02){const _0x1d65e5=_0x37c2de;var _0x1009da,_0x1c35cf;const _0x7367c6=(_0x1c35cf=(_0x1009da=this[_0x1d65e5(0x332)]['getUniverSheetInstance'](this[_0x1d65e5(0x246)]))==null?void 0x0:_0x1009da[_0x1d65e5(0x105)](_0x1277a0))==null?void 0x0:_0x1c35cf['getMergeData']();return(_0x7367c6==null?void 0x0:_0x7367c6[_0x1d65e5(0x32a)](_0x5be11c=>_0x396f24['Rectangle'][_0x1d65e5(0x34c)](_0x5be11c,_0x538f02)))||_0x538f02;}[_0x37c2de(0x25e)](){const _0x4bf297=_0x37c2de,_0x355f9e=new _0x396f24[(_0x4bf297(0x2e3))](),_0xc1d52a=_0x32df79(),_0x3a6d74=()=>{const _0x330ba9=_0x4bf297;_0x355f9e[_0x330ba9(0x254)]();const _0x31fbbd=(_0x1f7fc4,_0x444116,_0x416059,_0x22ff85)=>{const _0x1f896c=_0x330ba9;let _0x50345e=[];switch(_0x1f7fc4['id']){case _0x2141ef[_0x1f896c(0x202)]['DeleteRangeMoveLeftCommandId']:{_0x50345e=_0x2141ef['handleDeleteRangeMoveLeft'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x108)]:{_0x50345e=_0x2141ef[_0x1f896c(0x240)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x360)]:{_0x50345e=_0x2141ef[_0x1f896c(0x249)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x50345e=_0x2141ef['handleInsertRangeMoveDown'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)]['InsertRangeMoveRightCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x20e)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRowCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x2e9)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x29f)]:{_0x50345e=_0x2141ef[_0x1f896c(0x1db)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x261)]:{_0x50345e=_0x2141ef[_0x1f896c(0x2f4)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x1d8)]:{_0x50345e=_0x2141ef[_0x1f896c(0x36a)](_0x1f7fc4,_0x22ff85);break;}}const _0x592f0d=_0x2141ef[_0x1f896c(0x17b)](_0x50345e,_0x22ff85),_0x338389=this[_0x1f896c(0x1cb)][_0x1f896c(0x2de)](_0x444116);if(_0x338389&&_0x592f0d){const _0x414441={..._0x338389,'range':_0x592f0d};this[_0x1f896c(0x1cb)][_0x1f896c(0x117)](_0x444116,_0x414441),_0xc1d52a(()=>{const _0xe1254c=_0x1f896c,_0x40d33e=this[_0xe1254c(0x159)][_0xe1254c(0x2bb)](_0x592f0d,_0x146f12=>(_0x40d33e[_0xe1254c(0x254)](),_0x31fbbd(_0x146f12,_0x444116,_0x416059,_0x592f0d)));_0x355f9e['add'](_0x40d33e);});}return{'redos':[],'undos':[]};};this[_0x330ba9(0x1cb)][_0x330ba9(0x217)]((_0x212162,_0x34caa0)=>{const _0x7f4675=_0x330ba9,{range:_0x49a1ae,sheetID:_0x375c24}=_0x212162,_0x8384b7=this[_0x7f4675(0x159)]['registerRefRange'](_0x49a1ae,_0x1090eb=>(_0x8384b7[_0x7f4675(0x254)](),_0x31fbbd(_0x1090eb,_0x34caa0,_0x375c24,_0x49a1ae)));_0x355f9e[_0x7f4675(0x2b1)](_0x8384b7);});};this['disposeWithMe'](_0x396f24[_0x4bf297(0x19c)](this[_0x4bf297(0x13a)]['subscribe'](()=>{_0x3a6d74();})));}[_0x37c2de(0xf8)](){const _0x47a003=_0x37c2de;var _0x37bfc0,_0x4d4750;if(this[_0x47a003(0x119)]=!0x0,((_0x37bfc0=this['_univerInstanceService'][_0x47a003(0x2b3)]())==null?void 0x0:_0x37bfc0['getUnitId']())!==this[_0x47a003(0x246)])return;const _0x577feb=(_0x4d4750=this[_0x47a003(0x212)][_0x47a003(0x2de)](_0x2141ef[_0x47a003(0x292)])[_0x47a003(0x30f)]())==null?void 0x0:_0x4d4750[0x0],_0x145512=this['_univerInstanceService']['getCurrentUnitForType'](_0x396f24[_0x47a003(0x10f)]['UNIVER_SHEET'])[_0x47a003(0x197)]();_0x577feb&&_0x145512&&this[_0x47a003(0x305)](_0x145512[_0x47a003(0x153)](),_0x577feb);}['_toggleOffline'](){const _0x55b379=_0x37c2de;this[_0x55b379(0x119)]=!0x1;}};_0x33c9da=_0x3578e7([_0x559ca3(0x2,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x559ca3(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x559ca3(0x4,_0x396f24['Inject'](_0x27b003[_0x37c2de(0x345)])),_0x559ca3(0x5,_0x396f24[_0x37c2de(0x34f)]),_0x559ca3(0x6,_0x396f24[_0x37c2de(0x1a6)]),_0x559ca3(0x7,_0x396f24[_0x37c2de(0x15e)](_0x2141ef[_0x37c2de(0x293)]))],_0x33c9da);var _0x54bc66=Object['getOwnPropertyDescriptor'],_0x56ccfa=(_0x350459,_0x1f9ce1,_0x5e02d9,_0x2ccfee)=>{for(var _0x369b93=_0x2ccfee>0x1?void 0x0:_0x2ccfee?_0x54bc66(_0x1f9ce1,_0x5e02d9):_0x1f9ce1,_0x17faae=_0x350459['length']-0x1,_0x1c6a55;_0x17faae>=0x0;_0x17faae--)(_0x1c6a55=_0x350459[_0x17faae])&&(_0x369b93=_0x1c6a55(_0x369b93)||_0x369b93);return _0x369b93;},_0x3a4afb=(_0x450bd6,_0x322e90)=>(_0x48be3f,_0x1ccb0b)=>_0x322e90(_0x48be3f,_0x1ccb0b,_0x450bd6);let _0x1789a5=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x1acd10,_0x3333e1,_0x44a53f){const _0x20de8d=_0x37c2de;super(),_0x425380(this,_0x20de8d(0x1e6),new Map()),_0x425380(this,_0x20de8d(0x213),new _0x1b47d1[(_0x20de8d(0x24c))]()),(this[_0x20de8d(0x332)]=_0x1acd10,this[_0x20de8d(0x212)]=_0x3333e1,this[_0x20de8d(0x2be)]=_0x44a53f,this[_0x20de8d(0x133)]());}[_0x37c2de(0x254)](){const _0x2da632=_0x37c2de;super[_0x2da632(0x254)](),this['_entityInit$'][_0x2da632(0x373)](),this['_entities'][_0x2da632(0x217)](_0x54a2c1=>_0x54a2c1[_0x2da632(0x254)]());}['getCollabCursors$'](_0x13693f){const _0x1f7dfd=_0x37c2de;return this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x1ff)](_0x13693f)?this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x2de)](_0x13693f)[_0x1f7dfd(0x24e)]:this[_0x1f7dfd(0x213)][_0x1f7dfd(0x2a6)](_0x1b47d1[_0x1f7dfd(0x203)](_0x1ab3e1=>_0x1ab3e1['unitID']===_0x13693f),_0x1b47d1[_0x1f7dfd(0x335)](_0x352739=>_0x352739[_0x1f7dfd(0x24e)]));}[_0x37c2de(0x133)](){const _0x269c8b=_0x37c2de;this[_0x269c8b(0x332)][_0x269c8b(0x1cc)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x112)])[_0x269c8b(0x2a6)](_0x1b47d1['takeUntil'](this[_0x269c8b(0x16c)]))[_0x269c8b(0x196)](async _0xe87b4d=>{const _0x215032=_0x269c8b,_0x125500=_0xe87b4d[_0x215032(0x278)](),_0x422446=await this[_0x215032(0x265)](_0x125500);this['_entityInit$'][_0x215032(0x38e)](_0x422446),this['_entities']['set'](_0x125500,_0x422446);}),this['_univerInstanceService'][_0x269c8b(0x1cc)](_0x396f24['UniverInstanceType'][_0x269c8b(0x15f)])[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this[_0x269c8b(0x16c)]))['pipe'](_0x1b47d1[_0x269c8b(0x203)](_0x23c345=>!_0x23c345['getUnitId']()[_0x269c8b(0x36d)]('__')))['subscribe'](async _0x25aa1f=>{const _0x55adee=_0x269c8b,_0x1f23ff=_0x25aa1f[_0x55adee(0x278)](),_0x215e56=await this[_0x55adee(0x232)](_0x1f23ff);this['_entityInit$'][_0x55adee(0x38e)](_0x215e56),this[_0x55adee(0x1e6)][_0x55adee(0x117)](_0x1f23ff,_0x215e56);}),_0x1b47d1['merge'](this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x15f)]),this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)]['UNIVER_SHEET']))[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this['dispose$']))[_0x269c8b(0x196)](_0x6fe6bd=>{const _0x3dacf9=_0x269c8b,_0x16cc80=_0x6fe6bd['getUnitId'](),_0x5161c4=this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2de)](_0x16cc80);_0x5161c4&&(_0x5161c4['dispose'](),this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2b2)](_0x16cc80));});}async[_0x37c2de(0x265)](_0x38645a){const _0x7cdc54=_0x37c2de,_0x58c539=await this['_collabSessionService'][_0x7cdc54(0x14a)](_0x38645a),_0x2963ba=this['_injector'][_0x7cdc54(0x35a)](_0x33c9da,_0x38645a,_0x58c539);return _0x2963ba['init'](),_0x2963ba;}async[_0x37c2de(0x232)](_0x3faab7){const _0x229eaa=_0x37c2de,_0x7ddba7=await this[_0x229eaa(0x2be)]['requireSession'](_0x3faab7),_0x11e31c=this[_0x229eaa(0x212)]['createInstance'](_0x2f7eb2,_0x3faab7,_0x7ddba7);return _0x11e31c[_0x229eaa(0x337)](),_0x11e31c;}};_0x1789a5=_0x56ccfa([_0x3a4afb(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x3a4afb(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x3a4afb(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003['CollaborationSessionService']))],_0x1789a5);const _0x5d6f4f=0x14,_0x8392c1=0xc8,_0x48b8e6=0x4,_0x2ac0cb=0x5;function _0x1e19b6(_0x4c0a82,_0x11d313){const _0x4a9331=_0x37c2de;let {radius:_0x5eea0e,width:_0x355392,height:_0x598e28}=_0x11d313;_0x5eea0e=_0x5eea0e!=null?_0x5eea0e:0x0,_0x355392=_0x355392!=null?_0x355392:0x1e,_0x598e28=_0x598e28!=null?_0x598e28:0x1e;let _0x47ef8f=0x0,_0x36059a=0x0,_0x4cf507=0x0;_0x47ef8f=_0x36059a=_0x4cf507=Math[_0x4a9331(0x2fb)](_0x5eea0e,_0x355392/0x2,_0x598e28/0x2),_0x4c0a82[_0x4a9331(0x28f)](),_0x4c0a82[_0x4a9331(0x352)](_0x47ef8f,0x0),_0x4c0a82[_0x4a9331(0x28c)](_0x355392-_0x36059a,0x0),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x36059a,_0x36059a,_0x36059a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c0a82[_0x4a9331(0x28c)](_0x355392,_0x598e28-_0x4cf507),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x4cf507,_0x598e28-_0x4cf507,_0x4cf507,0x0,Math['PI']/0x2,!0x1),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x598e28),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x47ef8f),_0x4c0a82['arc'](_0x47ef8f,_0x47ef8f,_0x47ef8f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c0a82[_0x4a9331(0x387)](),_0x11d313[_0x4a9331(0x1bd)]&&(_0x4c0a82['save'](),_0x4c0a82[_0x4a9331(0x169)]=_0x11d313[_0x4a9331(0x1bd)],_0x11d313[_0x4a9331(0x17f)]===_0x4a9331(0x113)?_0x4c0a82[_0x4a9331(0x1bd)](_0x4a9331(0x113)):_0x4c0a82[_0x4a9331(0x1bd)](),_0x4c0a82['restore']());}class _0xc354e extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x33a71d,_0x4746cd){const _0x3d659d=_0x37c2de;super(_0x33a71d,_0x4746cd),_0x425380(this,_0x3d659d(0x187)),_0x425380(this,_0x3d659d(0x27d)),(this[_0x3d659d(0x187)]=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x187)],this['text']=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x27d)]);}static[_0x37c2de(0x380)](_0x4b0e42,_0x163019){const _0x18da10=_0x37c2de,{text:_0x5afbe6,color:_0x15d4ca}=_0x163019;_0x4b0e42[_0x18da10(0x1d3)](),_0x4b0e42['font']=_0x18da10(0x33d);const _0x11e723=_0x4b0e42[_0x18da10(0xfc)](_0x5afbe6)[_0x18da10(0x356)],_0x3f16ba=Math[_0x18da10(0x2fb)](_0x11e723+0x2*_0x48b8e6,_0x8392c1);_0x1e19b6(_0x4b0e42,{'height':_0x5d6f4f,'radius':0x4,'width':_0x3f16ba,'fill':_0x15d4ca}),_0x4b0e42[_0x18da10(0x169)]='#FFF';const _0x3cc5a3=_0x48b8e6,_0x580dfd=_0x5d6f4f-_0x2ac0cb,_0x143e71=_0x8392c1-0x2*_0x48b8e6;if(_0x11e723>_0x143e71){let _0x27b81b='',_0x441e68=0x0;for(const _0x48171e of _0x5afbe6){const _0x23fac6=_0x4b0e42[_0x18da10(0xfc)](_0x48171e)[_0x18da10(0x356)];if(_0x441e68+_0x23fac6<=_0x143e71-_0x4b0e42['measureText'](_0x18da10(0x132))[_0x18da10(0x356)])_0x27b81b+=_0x48171e,_0x441e68+=_0x23fac6;else{_0x27b81b+=_0x18da10(0x132);break;}}_0x4b0e42[_0x18da10(0x2d4)](_0x27b81b,_0x3cc5a3,_0x580dfd);}else _0x4b0e42[_0x18da10(0x2d4)](_0x5afbe6,_0x3cc5a3,_0x580dfd);_0x4b0e42[_0x18da10(0x21c)]();}[_0x37c2de(0x17d)](_0x11f246){_0xc354e['drawWith'](_0x11f246,this);}}const _0x2b7ae8=_0x37c2de(0x328),_0x92394e=_0x37c2de(0x161),_0x4810f5=_0x37c2de(0x107),_0x24e0e1=0x6,_0xc0b8f9=1.5,_0x525ad2=0x4,_0x40b95e=1.5,_0x4e3754=_0x37c2de(0x165);class _0xdfcf27{constructor(_0x25bbde,_0x4f3d37,_0x55a896,_0x189d48){const _0x1c4951=_0x37c2de;_0x425380(this,_0x1c4951(0x15a),[]),_0x425380(this,'_anchor',null),_0x425380(this,_0x1c4951(0x279),null),_0x425380(this,_0x1c4951(0x21d),null),_0x425380(this,_0x1c4951(0x2f0),null),_0x425380(this,'_eventUnsubscribe',null),(this[_0x1c4951(0x138)]=_0x25bbde,this[_0x1c4951(0x346)]=_0x4f3d37,this[_0x1c4951(0x19e)]=_0x55a896,this['_document']=_0x189d48,this[_0x1c4951(0x1f9)]());}set[_0x37c2de(0x1d9)](_0x438265){const _0x15215f=_0x37c2de;_0x438265?(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)][_0x15215f(0x174)](),this[_0x15215f(0x279)]&&this['_textBubble']['show']()):(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)]['show'](),this[_0x15215f(0x279)]&&this[_0x15215f(0x279)][_0x15215f(0x174)]());}['dispose'](){const _0x48ddfe=_0x37c2de;for(const _0x4d931c of this['_shapes'])_0x4d931c[_0x48ddfe(0x254)]();this[_0x48ddfe(0x279)]&&this[_0x48ddfe(0x279)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x21d)]&&this[_0x48ddfe(0x21d)]['dispose'](),this[_0x48ddfe(0x2c0)]&&this[_0x48ddfe(0x2c0)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x2a2)]&&this[_0x48ddfe(0x2a2)]();}[_0x37c2de(0x1f9)](){const _0x4c9fed=_0x37c2de;var _0x2768e6;const {_docSkeleton:_0x448681,_document:_0x110594}=this,{color:_0x3a30c4,name:_0x5e0c31,ranges:_0x347431}=this[_0x4c9fed(0x138)],_0x594f7b=_0x110594[_0x4c9fed(0x2c9)](),{docsLeft:_0x3fd6e5,docsTop:_0x596b68}=_0x594f7b,_0x4ec237=new _0x2752ff[(_0x4c9fed(0x26c))](_0x594f7b,_0x448681);for(const {startOffset:_0x1bacae,endOffset:_0x321862,rangeType:_0x4d2319,segmentId:_0x1c8eeb,segmentPage:_0x80dce4,collapsed:_0x17a1ed,isActive:_0x273962}of _0x347431){const _0x3960be=_0x448681[_0x4c9fed(0x16f)](_0x1bacae,!0x0,_0x1c8eeb,_0x80dce4);let _0x4fef0a=_0x448681[_0x4c9fed(0x16f)](_0x321862,!0x0,_0x1c8eeb,_0x80dce4);if(_0x4fef0a==null&&(_0x4fef0a=_0x448681['findNodePositionByCharIndex'](_0x321862-0x1,!0x1,_0x1c8eeb,_0x80dce4)),_0x273962){const {contentBoxPointGroup:_0x60f9c8}=_0x4ec237['getRangePointData'](_0x4fef0a,_0x4fef0a);if(_0x60f9c8[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x221)](_0x3a30c4,_0x60f9c8,_0x3fd6e5,_0x596b68,_0x5e0c31),this[_0x4c9fed(0x2a2)]=this[_0x4c9fed(0x2db)]();}if(_0x3960be&&_0x4fef0a){if(_0x4d2319===_0x396f24['DOC_RANGE_TYPE'][_0x4c9fed(0x1e0)]){const _0x52ae4d=new _0x2752ff[(_0x4c9fed(0x18f))](_0x594f7b,_0x448681),{pointGroup:_0x543e73}=(_0x2768e6=_0x52ae4d[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a))!=null?_0x2768e6:{};if(_0x543e73==null||_0x543e73[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x11c)](_0x3a30c4,_0x543e73,_0x3fd6e5,_0x596b68);}else{if(!_0x17a1ed){const {borderBoxPointGroup:_0x3705e7}=_0x4ec237[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a);if(_0x3705e7[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x21b)](_0x3a30c4,_0x3705e7,_0x3fd6e5,_0x596b68);}}}}}[_0x37c2de(0x221)](_0x591a73,_0x190807,_0x522586,_0x522984,_0x4de9de){const _0x1d44cb=_0x37c2de,_0xda7a57=this[_0x1d44cb(0x17e)](_0x190807),{left:_0x258e2b,top:_0x4b3fb4,height:_0x172fc1}=_0xda7a57,_0x36cc47=this[_0x1d44cb(0x1ae)](),_0x399799=_0x40b95e/_0x36cc47,_0x414358=new _0x5841f7[(_0x1d44cb(0x20d))](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984,'height':_0x172fc1,'width':_0xc0b8f9,'fill':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'strokeWidth':_0x399799,'stroke':_0x4e3754,'evented':!0x0});this[_0x1d44cb(0x2c0)]=_0x414358,this['_scene'][_0x1d44cb(0x211)](_0x414358,_0x2752ff[_0x1d44cb(0x349)]);const _0x281a8c=new _0x5841f7['Rect'](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x525ad2/0x2,'height':_0x525ad2,'width':_0x525ad2,'fill':_0x591a73||_0x5841f7['getColor'](_0x396f24[_0x1d44cb(0x26b)][_0x1d44cb(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'evented':!0x1});this[_0x1d44cb(0x21d)]=_0x281a8c,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x281a8c,_0x2752ff[_0x1d44cb(0x349)]);const _0x1e69e8=new _0xc354e(_0x2b7ae8+_0x396f24['generateRandomId'](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x5d6f4f,'text':_0x4de9de,'color':_0x591a73});this[_0x1d44cb(0x279)]=_0x1e69e8,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x1e69e8,_0x2752ff[_0x1d44cb(0x349)]),this[_0x1d44cb(0x1d9)]=!0x1;}[_0x37c2de(0x2db)](){const _0x527321=_0x37c2de,_0x282d8b=this[_0x527321(0x2c0)][_0x527321(0x115)][_0x527321(0x137)](()=>{const _0x3d3bca=_0x527321;this[_0x3d3bca(0x1d9)]=!0x0;}),_0x567280=this[_0x527321(0x2c0)][_0x527321(0x163)][_0x527321(0x137)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x28e680=_0x527321;_0x282d8b[_0x28e680(0x2b8)](),_0x567280[_0x28e680(0x2b8)]();};}[_0x37c2de(0x21b)](_0x3c00ae,_0x594286,_0x7a6678,_0x2bb3a4){const _0xc4adea=_0x37c2de,_0x33dfdd=new _0x396f24[(_0xc4adea(0x1d6))](_0x3c00ae)['setAlpha'](0.2)[_0xc4adea(0x377)](),_0x225020=new _0x5841f7[(_0xc4adea(0x215))](_0x92394e+_0x396f24[_0xc4adea(0x298)](_0x24e0e1),{'pointsGroup':_0x594286,'fill':_0x33dfdd||_0x5841f7[_0xc4adea(0x2bd)](_0x396f24[_0xc4adea(0x26b)][_0xc4adea(0x288)],0.2),'left':_0x7a6678,'top':_0x2bb3a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc4adea(0x15a)]['push'](_0x225020),this[_0xc4adea(0x346)][_0xc4adea(0x211)](_0x225020,_0x2752ff[_0xc4adea(0x349)]);}[_0x37c2de(0x11c)](_0x57d9b3,_0x51e7e4,_0x464a9a,_0x44915a){const _0x55d63b=_0x37c2de,_0x73c4e3=new _0x396f24[(_0x55d63b(0x1d6))](_0x57d9b3)['setAlpha'](0.2)[_0x55d63b(0x377)](),_0xec15a=new _0x5841f7[(_0x55d63b(0x215))](_0x4810f5+_0x396f24[_0x55d63b(0x298)](_0x24e0e1),{'pointsGroup':_0x51e7e4,'fill':_0x73c4e3||_0x5841f7[_0x55d63b(0x2bd)](_0x396f24[_0x55d63b(0x26b)]['black'],0.2),'left':_0x464a9a,'top':_0x44915a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x55d63b(0x20f)](_0xec15a),this[_0x55d63b(0x346)][_0x55d63b(0x211)](_0xec15a,_0x2752ff[_0x55d63b(0x349)]);}[_0x37c2de(0x17e)](_0x1aff78){const _0xfa37=_0x1aff78[0x0],_0x5f14f4=_0xfa37[0x0],_0x222821=_0xfa37[0x2],{x:_0x3fb123,y:_0x33fd8a}=_0x5f14f4,{x:_0x26ec63,y:_0x2c5b8f}=_0x222821;return{'left':_0x3fb123,'top':_0x33fd8a,'width':_0x26ec63-_0x3fb123,'height':_0x2c5b8f-_0x33fd8a};}['_getScale'](){const _0x89c8e5=_0x37c2de,{scaleX:_0x3fcfdf,scaleY:_0x3fbabe}=this['_scene'][_0x89c8e5(0x223)]();return Math[_0x89c8e5(0x238)](_0x3fcfdf,_0x3fbabe);}}var _0x16d347=Object['getOwnPropertyDescriptor'],_0x144ec0=(_0x7b96c6,_0xd9a90c,_0x3f9c36,_0x457e3e)=>{const _0x1dc2f3=_0x37c2de;for(var _0x3e4bb1=_0x457e3e>0x1?void 0x0:_0x457e3e?_0x16d347(_0xd9a90c,_0x3f9c36):_0xd9a90c,_0x119b71=_0x7b96c6[_0x1dc2f3(0x2c4)]-0x1,_0x5cf246;_0x119b71>=0x0;_0x119b71--)(_0x5cf246=_0x7b96c6[_0x119b71])&&(_0x3e4bb1=_0x5cf246(_0x3e4bb1)||_0x3e4bb1);return _0x3e4bb1;},_0x49ed37=(_0x5c3e1b,_0x339e24)=>(_0x1fa8fd,_0x249b41)=>_0x339e24(_0x1fa8fd,_0x249b41,_0x5c3e1b);let _0x48bb14=class extends _0x396f24['RxDisposable']{constructor(_0x2583d0,_0x49ec43,_0x210f9f,_0x20dcf0,_0x45ffb7){const _0x388f16=_0x37c2de;super(),_0x425380(this,_0x388f16(0x1ac),[]),_0x425380(this,_0x388f16(0x303),[]),(this[_0x388f16(0x1a7)]=_0x2583d0,this['_docSkeletonManagerService']=_0x49ec43,this[_0x388f16(0x2ee)]=_0x210f9f,this[_0x388f16(0x30c)]=_0x20dcf0,this[_0x388f16(0x199)]=_0x45ffb7,this['_init']());}[_0x37c2de(0x133)](){const _0x34d8d9=_0x37c2de,_0x482c1a=this[_0x34d8d9(0x1a7)]['unitId'],_0x476cd2=this[_0x34d8d9(0x172)];this[_0x34d8d9(0x1c4)](_0x1b47d1['combineLatest']([this[_0x34d8d9(0x2ee)]['getCollabCursors$'](_0x482c1a),this[_0x34d8d9(0x199)][_0x34d8d9(0x1de)]])[_0x34d8d9(0x2a6)](_0x19b639[_0x34d8d9(0x379)](([_0x359b8c,_0x57cee2])=>({'skeleton':_0x476cd2['getSkeleton'](),'cursors':[..._0x359b8c[_0x34d8d9(0x386)]()]['flatMap'](_0x4966be=>({..._0x4966be,'color':this[_0x34d8d9(0x199)]['getColorFromTheme'](_0x4966be[_0x34d8d9(0x187)])}))})))[_0x34d8d9(0x196)](_0x2ae3e3=>{const _0x1c2127=_0x34d8d9;if(this['_removeCollabCursors'](),_0x2ae3e3){const {skeleton:_0x363d52,cursors:_0xeb1a77}=_0x2ae3e3;this[_0x1c2127(0x166)](_0x363d52,_0xeb1a77);}})),this[_0x34d8d9(0x2ed)](),this[_0x34d8d9(0x13d)]();}['_updateCollabCursors'](_0xbfdef,_0x2b4def){const _0x24dca5=_0x37c2de,{scene:_0x4b60f9,mainComponent:_0x2b2e62}=this[_0x24dca5(0x1a7)],_0x45d90d=_0x2b4def[_0x24dca5(0x379)](_0x90c718=>new _0xdfcf27(_0x90c718,_0x4b60f9,_0xbfdef,_0x2b2e62));this[_0x24dca5(0x1ac)]=_0x45d90d,this[_0x24dca5(0x303)]=_0x2b4def;}['_refreshCollabCursors'](){const _0x1399cf=_0x37c2de;this[_0x1399cf(0x2bf)]();const {scene:_0x37d2bd,mainComponent:_0x3798e3}=this['_context'],_0x51e5fc=this['_docSkeletonManagerService'][_0x1399cf(0x304)](),_0x46ee88=this[_0x1399cf(0x303)][_0x1399cf(0x379)](_0x360471=>new _0xdfcf27(_0x360471,_0x37d2bd,_0x51e5fc,_0x3798e3));this[_0x1399cf(0x1ac)]=_0x46ee88;}[_0x37c2de(0x2bf)](){const _0x585060=_0x37c2de;this[_0x585060(0x1ac)][_0x585060(0x217)](_0x2ed549=>_0x2ed549[_0x585060(0x254)]()),this['_cursorShapes']=[];}[_0x37c2de(0x13d)](){const _0x199869=_0x37c2de,_0x42df51=[_0x2752ff[_0x199869(0x1ea)]['id']];this[_0x199869(0x1c4)](this[_0x199869(0x30c)]['onCommandExecuted'](_0x2b4d5a=>{const _0x526582=_0x199869;_0x42df51[_0x526582(0x37d)](_0x2b4d5a['id'])&&_0x2b4d5a['params'][_0x526582(0x22b)]===this[_0x526582(0x1a7)][_0x526582(0x22b)]&&this[_0x526582(0x15d)]();}));}['_initResize'](){const _0xb5cb22=_0x37c2de;this[_0xb5cb22(0x1c4)](_0x396f24[_0xb5cb22(0x321)](this[_0xb5cb22(0x1a7)]['engine']['onTransformChange$'])['pipe'](_0x19b639['filter'](_0x4727f3=>_0x4727f3['type']===_0x5841f7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0xb5cb22(0x1eb)]),_0x19b639[_0xb5cb22(0x170)](0x10))[_0xb5cb22(0x196)](()=>{const _0x5bc330=_0xb5cb22;this[_0x5bc330(0x15d)]();}));}};_0x48bb14=_0x144ec0([_0x49ed37(0x1,_0x396f24[_0x37c2de(0x15e)](_0x54b913['DocSkeletonManagerService'])),_0x49ed37(0x2,_0x396f24[_0x37c2de(0x15e)](_0x1789a5)),_0x49ed37(0x3,_0x396f24[_0x37c2de(0x1a6)]),_0x49ed37(0x4,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x48bb14);const _0x40bef3=0x1,_0x1fc4be=1.5;class _0x170b20 extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x234691,_0x2ecb5a){const _0xf7b389=_0x37c2de;super(_0x234691,_0x2ecb5a),_0x425380(this,'_color'),_0x425380(this,'_hovered',!0x1),_0x425380(this,_0xf7b389(0x358)),_0x425380(this,_0xf7b389(0x16b),''),_0x425380(this,_0xf7b389(0x1b8),_0xf7b389(0x193)),_0x425380(this,_0xf7b389(0x2f9)),(_0x2ecb5a&&this[_0xf7b389(0x389)](_0x2ecb5a),this[_0xf7b389(0x115)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xf7b389(0x163)][_0xf7b389(0x137)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x37c2de(0x389)](_0x1428f0){const _0x4581d6=_0x37c2de;var _0xb842ef,_0x1251ee,_0x29d8c7,_0x41f5c9,_0x207797,_0x4cd246;this[_0x4581d6(0x2d8)]=(_0xb842ef=_0x1428f0[_0x4581d6(0x187)])!=null?_0xb842ef:this[_0x4581d6(0x2d8)],this[_0x4581d6(0x1af)]=(_0x1251ee=_0x1428f0['hovered'])!=null?_0x1251ee:this['_hovered'],this[_0x4581d6(0x358)]=(_0x29d8c7=_0x1428f0[_0x4581d6(0x274)])!=null?_0x29d8c7:this[_0x4581d6(0x358)],this['_name']=(_0x41f5c9=_0x1428f0[_0x4581d6(0x1cf)])!=null?_0x41f5c9:this[_0x4581d6(0x16b)],this[_0x4581d6(0x1b8)]=(_0x207797=_0x1428f0[_0x4581d6(0x395)])!=null?_0x207797:this['_labelPosition'],this[_0x4581d6(0x2f9)]=(_0x4cd246=_0x1428f0[_0x4581d6(0x320)])!=null?_0x4cd246:this['_backgroundColor'],this[_0x4581d6(0x24f)]({'width':_0x1428f0[_0x4581d6(0x356)],'height':_0x1428f0[_0x4581d6(0x175)]});}[_0x37c2de(0x151)](_0x1f80ff){const _0x106863=_0x37c2de,{row:_0x177b3d,column:_0x5c2dab}=_0x1f80ff;if(_0x177b3d>=this['_range']['startRow']&&_0x177b3d<=this[_0x106863(0x358)][_0x106863(0x2e8)]&&_0x5c2dab>=this[_0x106863(0x358)]['startColumn']&&_0x5c2dab<=this[_0x106863(0x358)][_0x106863(0x31b)]){this[_0x106863(0x389)]({'hovered':!0x0});return;}this[_0x106863(0x389)]({'hovered':!0x1});}[_0x37c2de(0x1ee)](_0x403fd9){return!0x1;}[_0x37c2de(0x17d)](_0x4fa484){const _0x58f25b=_0x37c2de;_0x5841f7[_0x58f25b(0x20d)][_0x58f25b(0x380)](_0x4fa484,{'width':this[_0x58f25b(0x356)],'height':this[_0x58f25b(0x175)],'strokeWidth':_0x1fc4be,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x58f25b(0x2f9)]}),this[_0x58f25b(0x1af)]&&(_0x4fa484['save'](),_0x4fa484[_0x58f25b(0x330)](0x1,0x0,0x0,0x1,this[_0x58f25b(0x356)],this[_0x58f25b(0x1b8)]===_0x58f25b(0x126)?0x0:-_0x5d6f4f),_0xc354e[_0x58f25b(0x380)](_0x4fa484,{'text':this[_0x58f25b(0x16b)],'color':this[_0x58f25b(0x2d8)]}),_0x4fa484[_0x58f25b(0x21c)]());}}var _0x1642a1=Object[_0x37c2de(0x1ca)],_0x2e712a=(_0x3fe09d,_0x1ed4b8,_0x48b15e,_0x2e9b54)=>{const _0x5a07ac=_0x37c2de;for(var _0x37c943=_0x2e9b54>0x1?void 0x0:_0x2e9b54?_0x1642a1(_0x1ed4b8,_0x48b15e):_0x1ed4b8,_0x10b18d=_0x3fe09d[_0x5a07ac(0x2c4)]-0x1,_0x53bbfc;_0x10b18d>=0x0;_0x10b18d--)(_0x53bbfc=_0x3fe09d[_0x10b18d])&&(_0x37c943=_0x53bbfc(_0x37c943)||_0x37c943);return _0x37c943;},_0x50b8c5=(_0x45f12d,_0x22ab2d)=>(_0xece192,_0x27b0a6)=>_0x22ab2d(_0xece192,_0x27b0a6,_0x45f12d);const _0xba5d7a=0x1389;let _0x29d0ef=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x2acfbf,_0x59ccd1,_0x176958,_0x194d72){const _0x4c72eb=_0x37c2de;super(),_0x425380(this,_0x4c72eb(0x303),new Set()),_0x425380(this,_0x4c72eb(0x1d1),null),(this[_0x4c72eb(0x1a7)]=_0x2acfbf,this[_0x4c72eb(0x1ab)]=_0x59ccd1,this[_0x4c72eb(0x2ee)]=_0x176958,this[_0x4c72eb(0x199)]=_0x194d72,this[_0x4c72eb(0x133)]());}['_init'](){const _0x2106e7=_0x37c2de;this[_0x2106e7(0x1ab)]['currentSkeleton$'][_0x2106e7(0x2a6)](_0x19b639['takeUntil'](this[_0x2106e7(0x16c)]),_0x19b639[_0x2106e7(0x335)](_0x2e2623=>{const _0x752d96=_0x2106e7;if(_0x2e2623){const _0x2a0334=_0x2e2623[_0x752d96(0x12d)];return _0x1b47d1[_0x752d96(0x1e4)](this[_0x752d96(0x2ee)]['getCollabCursors$'](this['_context'][_0x752d96(0x22b)]),this['_themeService'][_0x752d96(0x1de)])[_0x752d96(0x2a6)](_0x19b639['map'](([_0x14a8d0,_0x39bcc1])=>{const _0x1f9396=_0x752d96,_0x3ef42e=new Map();return _0x14a8d0[_0x1f9396(0x217)]((_0x514af9,_0x5954e9)=>{const _0x45ff57=_0x1f9396;if(_0x514af9[_0x45ff57(0x13c)]===_0x2a0334){const _0x3492b3={..._0x514af9};_0x3492b3['color']=this['_themeService'][_0x45ff57(0x270)](_0x514af9['color']),_0x3ef42e[_0x45ff57(0x117)](_0x5954e9,_0x3492b3);}}),{'skeleton':_0x2e2623,'cursors':_0x3ef42e};}));}return _0x1b47d1['of']({'skeleton':null,'cursors':new Map()});}))[_0x2106e7(0x196)](({skeleton:_0x52253c,cursors:_0x5bd54c})=>{const _0x4e1ad4=_0x2106e7;this[_0x4e1ad4(0x2bf)](),_0x52253c&&this['_updateCollabCursors'](_0x52253c,_0x5bd54c);}),this[_0x2106e7(0x1ab)][_0x2106e7(0x104)]['subscribe'](_0x49bc08=>{const _0x50af41=_0x2106e7;if(_0x49bc08==null)return;const {skeleton:_0x2911a7}=_0x49bc08,{scene:_0xa9ec0b}=this[_0x50af41(0x1a7)];_0xa9ec0b[_0x50af41(0x18c)]['subscribeEvent'](_0x396f24['debounce'](_0x283b78=>{const _0x275fa6=_0x50af41;var _0x36c624,_0x30a79d;const {offsetX:_0x477cf8,offsetY:_0x198536}=_0x283b78,{x:_0x3fc20b,y:_0x1b3423}=_0xa9ec0b[_0x275fa6(0x378)](_0x5841f7['Vector2'][_0x275fa6(0x255)]([_0x477cf8,_0x198536])),{scaleX:_0x2b091f,scaleY:_0x1cf5cb}=_0xa9ec0b[_0x275fa6(0x223)](),_0x1a3944=_0xa9ec0b[_0x275fa6(0x268)](_0x5841f7[_0x275fa6(0x384)][_0x275fa6(0x114)]),_0x30a6f3=_0xa9ec0b['getVpScrollXYInfoByPosToVp'](_0x5841f7[_0x275fa6(0x12c)]['FromArray']([_0x3fc20b,_0x1b3423]),_0x1a3944),_0x22c312=_0x2911a7['getCellPositionByOffset'](_0x477cf8,_0x198536,_0x2b091f,_0x1cf5cb,_0x30a6f3);((_0x36c624=this['_lastPointer'])==null?void 0x0:_0x36c624[_0x275fa6(0x11f)])===_0x22c312[_0x275fa6(0x11f)]&&((_0x30a79d=this[_0x275fa6(0x1d1)])==null?void 0x0:_0x30a79d['row'])===_0x22c312['row']||this[_0x275fa6(0x303)][_0x275fa6(0x217)](_0x2f0cbc=>{const _0x8e1021=_0x275fa6;_0x2f0cbc[_0x8e1021(0x151)](_0x22c312);});},0x64));});}[_0x37c2de(0x166)](_0x4a81b2,_0x48cf92){const _0x1482b9=_0x37c2de;var _0x800bb2;const _0x51e33f=(_0x800bb2=this[_0x1482b9(0x1ab)]['getCurrent']())==null?void 0x0:_0x800bb2[_0x1482b9(0x302)];if(!_0x51e33f)return;const _0x3b648b=this[_0x1482b9(0x200)]();if(!_0x3b648b)return;this[_0x1482b9(0x303)]['forEach'](_0x3787c3=>{const _0x3ce751=_0x1482b9;_0x3787c3[_0x3ce751(0x100)]();});const {scene:_0x38505e}=_0x3b648b,_0x8b37ff=_0x129ffa(Array[_0x1482b9(0x1f8)](_0x48cf92[_0x1482b9(0x386)]()))[_0x1482b9(0x379)](_0x32b12a=>{const _0xb5f93=_0x1482b9,{color:_0x86f767,range:_0x1375b5,name:_0x2cead9,selection:_0x3ff80c,sheetID:_0x1793e9}=_0x32b12a,{startColumn:_0x87ab64,startRow:_0x536d66,endColumn:_0x162931,endRow:_0x184c29}=_0x1375b5,_0x4fe663=_0x39a301['getCoordByCell'](_0x536d66,_0x87ab64,_0x38505e,_0x51e33f),_0x125bc0=_0x39a301['getCoordByCell'](_0x184c29,_0x162931,_0x38505e,_0x51e33f),{columnHeaderHeightAndMarginTop:_0x2dc5f8}=_0x51e33f,{startX:_0x3ce638,startY:_0x29e677}=_0x4fe663,{endX:_0x1988d8,endY:_0x5c34c0}=_0x125bc0,_0x14413e=_0x1988d8-_0x3ce638,_0x4d1932=_0x5c34c0-_0x29e677,_0x1b44bc={'labelPosition':_0x29e677-_0x2dc5f8>=_0x5d6f4f?'top':_0xb5f93(0x126),'sheetID':_0x1793e9,'range':_0x1375b5,'color':_0x86f767,'name':_0x2cead9,'selection':_0x3ff80c,'left':_0x3ce638,'top':_0x29e677,'width':_0x14413e,'height':_0x4d1932,'evented':!0x1,'zIndex':_0xba5d7a};return new _0x170b20(_0x2cead9,_0x1b44bc);});_0x38505e['addObjects'](_0x8b37ff,_0x40bef3),this[_0x1482b9(0x303)]=new Set(_0x8b37ff);}[_0x37c2de(0x2bf)](){const _0x16d080=_0x37c2de;var _0x4ac4b3;(_0x4ac4b3=this[_0x16d080(0x303)])==null||_0x4ac4b3[_0x16d080(0x217)](_0x314998=>_0x314998[_0x16d080(0x254)]());}[_0x37c2de(0x200)](){const _0x1743b5=_0x37c2de;return _0x39a301[_0x1743b5(0x28a)](this[_0x1743b5(0x1a7)]['unit'],this[_0x1743b5(0x1a7)]);}};_0x29d0ef=_0x2e712a([_0x50b8c5(0x1,_0x396f24[_0x37c2de(0x15e)](_0x39a301['SheetSkeletonManagerService'])),_0x50b8c5(0x2,_0x396f24['Inject'](_0x1789a5)),_0x50b8c5(0x3,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x29d0ef);function _0x129ffa(_0x2e21b4){const _0x550c87=_0x37c2de,_0x360b13=new Map();return _0x2e21b4[_0x550c87(0x217)](_0x154544=>{const _0x40537f=_0x550c87;if(_0x360b13[_0x40537f(0x1ff)](_0x154544[_0x40537f(0x2cf)])){const _0x2445da=_0x360b13[_0x40537f(0x2de)](_0x154544[_0x40537f(0x2cf)]);_0x2445da['name']+=',\x20'+_0x154544[_0x40537f(0x1cf)];}else _0x360b13[_0x40537f(0x117)](_0x154544[_0x40537f(0x2cf)],_0x154544);}),Array[_0x550c87(0x1f8)](_0x360b13[_0x550c87(0x386)]());}var _0x2f1b16=Object[_0x37c2de(0x1ca)],_0xb02059=(_0x13c39b,_0x3a243b,_0x5de078,_0xa1c58c)=>{const _0xa08fa8=_0x37c2de;for(var _0x3d9f82=_0xa1c58c>0x1?void 0x0:_0xa1c58c?_0x2f1b16(_0x3a243b,_0x5de078):_0x3a243b,_0x14cff9=_0x13c39b[_0xa08fa8(0x2c4)]-0x1,_0x227916;_0x14cff9>=0x0;_0x14cff9--)(_0x227916=_0x13c39b[_0x14cff9])&&(_0x3d9f82=_0x227916(_0x3d9f82)||_0x3d9f82);return _0x3d9f82;},_0x3a0206=(_0xd2b64d,_0x32b3d9)=>(_0x27b0c5,_0x9a184a)=>_0x32b3d9(_0x27b0c5,_0x9a184a,_0xd2b64d);let _0x2f45ed=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x305490,_0x581fee,_0x55f8cd,_0x808aa6,_0x521823,_0x1df101){const _0x24432f=_0x37c2de;super(),this[_0x24432f(0x2d1)]=_0x305490,this[_0x24432f(0x1ad)]=_0x581fee,this[_0x24432f(0x13f)]=_0x55f8cd,this[_0x24432f(0x102)]=_0x808aa6,this[_0x24432f(0x2f3)]=_0x521823,this[_0x24432f(0x248)]=_0x1df101,this[_0x24432f(0x22f)](),this['_initEvent']();}[_0x37c2de(0x22f)](){const _0x386ca2=_0x37c2de;this['disposeWithMe'](this[_0x386ca2(0x2d1)][_0x386ca2(0x18d)](()=>{const _0x5aa78c=_0x386ca2;if(this[_0x5aa78c(0x1ad)]['saveTaskMap'][_0x5aa78c(0x38d)])return this[_0x5aa78c(0x248)]['t'](_0x5aa78c(0x354));}));}[_0x37c2de(0x2ad)](){const _0x245fce=_0x37c2de;this[_0x245fce(0x1c4)](this[_0x245fce(0x13f)][_0x245fce(0x2c5)][_0x245fce(0x196)](_0x4f5cce=>{const _0x53f8e9=_0x245fce;_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)]['OTHER_CLIENT_EDITING']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1d0))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x31a)]&&this['_messageService'][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x37f)]&&this[_0x53f8e9(0x2f3)][_0x53f8e9(0x10e)]({'title':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x120)),'content':this[_0x53f8e9(0x248)]['t']('permission.content'),'type':_0x53f8e9(0x1b6),'duration':0x0}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x2fc)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431['MessageType'][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))+'('+_0x4f5cce[_0x53f8e9(0x1f4)]+')'}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x1a9)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x4f5cce['data']||'')}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x181)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)]['Warning'],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x21f))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x32d)]&&this[_0x53f8e9(0x102)]['show']({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1a3))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t']('session.collaboration-timeout')});}));}};_0x2f45ed=_0xb02059([_0x3a0206(0x0,_0x39278b[_0x37c2de(0x260)]),_0x3a0206(0x1,_0x27b003[_0x37c2de(0x22a)]),_0x3a0206(0x2,_0x396f24['Inject'](_0x27b003['CollaborationUIEventService'])),_0x3a0206(0x3,_0x39278b[_0x37c2de(0x24b)]),_0x3a0206(0x4,_0x39278b[_0x37c2de(0x364)]),_0x3a0206(0x5,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0x2f45ed);const _0x142d73='collaboration-client-ui.config',_0x548d5a={};var _0x148df8=Object[_0x37c2de(0x1ca)],_0x3a68f0=(_0x2adc35,_0x157dc9,_0x4645f8,_0x3eab63)=>{const _0x2adb35=_0x37c2de;for(var _0x1cde7a=_0x3eab63>0x1?void 0x0:_0x3eab63?_0x148df8(_0x157dc9,_0x4645f8):_0x157dc9,_0x1b5b8a=_0x2adc35[_0x2adb35(0x2c4)]-0x1,_0x235185;_0x1b5b8a>=0x0;_0x1b5b8a--)(_0x235185=_0x2adc35[_0x1b5b8a])&&(_0x1cde7a=_0x235185(_0x1cde7a)||_0x1cde7a);return _0x1cde7a;},_0x4bf907=(_0x206016,_0x33e3d6)=>(_0x164425,_0x2fe118)=>_0x33e3d6(_0x164425,_0x2fe118,_0x206016);let _0x59c018=class{constructor(_0x307101,_0x20a328){const _0xdfad5f=_0x37c2de;this[_0xdfad5f(0x1fd)]=_0x307101,this[_0xdfad5f(0x1b7)]=_0x20a328;}[_0x37c2de(0x16d)](_0x29496b){this['_transformUndoRedoStack'](_0x29496b),this['_transformPreviousActiveRange'](_0x29496b);}[_0x37c2de(0x2d0)](_0x3a631e){const _0x3a7266=_0x37c2de,{unitID:_0x267d1c}=_0x3a631e,_0x4a0d18=this['_renderManagerService']['getRenderById'](_0x267d1c)[_0x3a7266(0x244)](_0x2752ff[_0x3a7266(0x1b0)]),{redoCache:_0x4b29e7}=_0x4a0d18[_0x3a7266(0x149)]();if(_0x4b29e7[_0x3a7266(0x2c4)]===0x0)return _0x3a631e;let _0xfda147=_0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e[_0x3a7266(0x325)][0x0]);for(let _0x233b5b=0x0;_0x233b5b<_0x4b29e7[_0x3a7266(0x2c4)];_0x233b5b++){const _0x1c600a={'id':_0x3a7266(0x35f),'params':{..._0x4b29e7[_0x233b5b]}},_0x194232=this[_0x3a7266(0x1fd)][_0x3a7266(0x1e2)](_0xfda147,_0x1c600a,!0x1);if(_0x19f9e8[_0x3a7266(0x375)](_0x194232))throw _0x194232[_0x3a7266(0x1b6)];_0xfda147=_0x194232[_0x3a7266(0x154)];}return{..._0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e),'mutations':[_0xfda147]};}['_transformUndoRedoStack'](_0x4cd145){const _0x807582=_0x37c2de,{unitID:_0x2135a2}=_0x4cd145,_0x50b66e=this[_0x807582(0x1b7)]['getRenderById'](_0x2135a2)[_0x807582(0x244)](_0x2752ff[_0x807582(0x1b0)]),{undoCache:_0x34a9c2,redoCache:_0x49ed5b}=_0x50b66e[_0x807582(0x149)]();if(_0x34a9c2[_0x807582(0x2c4)]===0x0||_0x49ed5b['length']===0x0)return;const _0x3777dc=[],_0x43edbb=[];let _0x1e6eac=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]),_0x4ec700=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]);for(let _0x4e1c4d=_0x34a9c2['length']-0x1;_0x4e1c4d>=0x0;_0x4e1c4d--){const _0x34db58={'id':_0x807582(0x35f),'params':{..._0x34a9c2[_0x4e1c4d]}},_0x4eac6f={'id':_0x807582(0x35f),'params':{..._0x49ed5b[_0x4e1c4d]}},_0x11182b=this['_transformService'][_0x807582(0x1e2)](_0x1e6eac,_0x34db58,!0x1),_0x412bbc=this[_0x807582(0x1fd)][_0x807582(0x1e2)](_0x4ec700,_0x4eac6f,!0x1);if(_0x19f9e8[_0x807582(0x375)](_0x11182b))throw _0x11182b[_0x807582(0x1b6)];if(_0x19f9e8[_0x807582(0x375)](_0x412bbc))throw _0x412bbc[_0x807582(0x1b6)];_0x3777dc['unshift'](_0x11182b[_0x807582(0x191)][_0x807582(0x2e2)]),_0x43edbb[_0x807582(0x1d2)](_0x412bbc['m2Prime'][_0x807582(0x2e2)]),_0x1e6eac=_0x11182b[_0x807582(0x154)],_0x4ec700=_0x412bbc[_0x807582(0x154)];}_0x50b66e['setUndoRedoMutationParamsCache']({'undoCache':_0x3777dc,'redoCache':_0x43edbb});}[_0x37c2de(0x176)](_0x1ab181){const _0x4d264c=_0x37c2de,{unitID:_0x1e0139}=_0x1ab181,_0x1fc391=this[_0x4d264c(0x1b7)][_0x4d264c(0x319)](_0x1e0139)[_0x4d264c(0x244)](_0x2752ff[_0x4d264c(0x1b0)]),_0x2b2658=_0x1fc391[_0x4d264c(0x10c)]();if(_0x2b2658==null)return;const _0x20cbd3=[{'id':_0x4d264c(0x35f),'params':{'unitId':_0x1ab181['unitID'],'actions':null,'textRanges':[_0x2b2658]}}],_0x57c099=this[_0x4d264c(0x1fd)]['transformMutationsWithChangeset'](_0x1ab181,_0x20cbd3);if(!_0x19f9e8['isTransformMutationsWithChangesetSuccess'](_0x57c099))throw _0x57c099['error'];const _0x478790=_0x57c099['m2Prime'][0x0][_0x4d264c(0x2e2)][_0x4d264c(0x26e)];Array['isArray'](_0x478790)&&_0x478790['length']&&_0x1fc391[_0x4d264c(0x33b)](_0x478790[0x0]);}};_0x59c018=_0x3a68f0([_0x4bf907(0x0,_0x19f9e8['ITransformService']),_0x4bf907(0x1,_0x5841f7[_0x37c2de(0x178)])],_0x59c018);var _0x29652f=Object[_0x37c2de(0x1ca)],_0xa9caef=(_0x576fe4,_0x461c10,_0x381d2c,_0x3b3c2c)=>{const _0x46ed5b=_0x37c2de;for(var _0x2335b6=_0x3b3c2c>0x1?void 0x0:_0x3b3c2c?_0x29652f(_0x461c10,_0x381d2c):_0x461c10,_0x352067=_0x576fe4[_0x46ed5b(0x2c4)]-0x1,_0x3104d0;_0x352067>=0x0;_0x352067--)(_0x3104d0=_0x576fe4[_0x352067])&&(_0x2335b6=_0x3104d0(_0x2335b6)||_0x2335b6);return _0x2335b6;},_0x209449=(_0x54606d,_0x3d8be0)=>(_0x2af4c8,_0x416bfe)=>_0x3d8be0(_0x2af4c8,_0x416bfe,_0x54606d);let _0xd07721=class{constructor(_0x31f68f,_0x590ec9,_0x51fd28){const _0x35dd05=_0x37c2de;this['_injector']=_0x31f68f,this[_0x35dd05(0x1fd)]=_0x590ec9,this[_0x35dd05(0x122)]=_0x51fd28;}['transformStateCache'](_0x4b98ca){const _0x57d735=_0x37c2de;this[_0x57d735(0x20a)](_0x4b98ca);}[_0x37c2de(0x2d0)](_0x3be9b){const _0x57eb0a=_0x37c2de,{unitID:_0x281a53}=_0x3be9b,{collaboration:_0x4ea9c5}=this[_0x57eb0a(0x122)]['getStateCache'](_0x281a53);if(_0x4ea9c5[_0x57eb0a(0x2c4)]===0x0)return _0x3be9b;let _0xb608a4=_0x396f24[_0x57eb0a(0x2f2)]['deepClone'](_0x3be9b[_0x57eb0a(0x325)][0x0]);for(let _0x3cebab=0x0;_0x3cebab<_0x4ea9c5['length'];_0x3cebab++){const _0x573180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ea9c5[_0x3cebab][_0x57eb0a(0x22b)],..._0x4ea9c5[_0x3cebab][_0x57eb0a(0x229)]}},_0x1b7a9f=this[_0x57eb0a(0x1fd)][_0x57eb0a(0x1e2)](_0xb608a4,_0x573180,!0x1);if(_0x19f9e8[_0x57eb0a(0x375)](_0x1b7a9f))throw _0x1b7a9f['error'];_0xb608a4=_0x1b7a9f[_0x57eb0a(0x154)];}return{..._0x396f24['Tools'][_0x57eb0a(0x231)](_0x3be9b),'mutations':[_0xb608a4]};}[_0x37c2de(0x20a)](_0x88bf16){const _0x3e4d87=_0x37c2de,{unitID:_0x35feeb}=_0x88bf16,{history:_0x527bf8,collaboration:_0x4191b2}=this[_0x3e4d87(0x122)][_0x3e4d87(0x285)](_0x35feeb);if(_0x527bf8[_0x3e4d87(0x2c4)]===0x0&&_0x4191b2[_0x3e4d87(0x2c4)]===0x0)return;const _0x4430a3=[],_0x25fa3f=[];let _0x26946f=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]);for(let _0x4124b6=_0x527bf8[_0x3e4d87(0x2c4)]-0x1;_0x4124b6>=0x0;_0x4124b6--){const _0x5f52b0={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6]['undoState']}},_0x337673={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6][_0x3e4d87(0x229)]}},_0x1ed3ff=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x26946f,_0x5f52b0,!0x1),_0x9e2bd1=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x337673,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1ed3ff))throw _0x1ed3ff[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x9e2bd1))throw _0x9e2bd1[_0x3e4d87(0x1b6)];_0x4430a3[_0x3e4d87(0x1d2)]({..._0x527bf8[_0x4124b6],'undoState':_0x1ed3ff['m2Prime']['params'],'redoState':_0x9e2bd1[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1ed3ff[_0x3e4d87(0x154)],_0x3579b4=_0x9e2bd1[_0x3e4d87(0x154)];}_0x26946f=_0x396f24['Tools'][_0x3e4d87(0x231)](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)][_0x3e4d87(0x231)](_0x88bf16['mutations'][0x0]);for(let _0x16bcbf=_0x4191b2[_0x3e4d87(0x2c4)]-0x1;_0x16bcbf>=0x0;_0x16bcbf--){const _0x585e8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x2d2)]}},_0x7d72f6={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x229)]}},_0x1afae9=this[_0x3e4d87(0x1fd)]['transformMutation'](_0x26946f,_0x585e8d,!0x1),_0x538873=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x7d72f6,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1afae9))throw _0x1afae9[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x538873))throw _0x538873[_0x3e4d87(0x1b6)];_0x25fa3f[_0x3e4d87(0x1d2)]({..._0x4191b2[_0x16bcbf],'undoState':_0x1afae9[_0x3e4d87(0x191)]['params'],'redoState':_0x538873[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1afae9['m1Prime'],_0x3579b4=_0x538873[_0x3e4d87(0x154)];}this['_docStateChangeManagerService'][_0x3e4d87(0x35b)](_0x35feeb,{'history':_0x4430a3,'collaboration':_0x25fa3f});}};_0xd07721=_0xa9caef([_0x209449(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x209449(0x1,_0x19f9e8[_0x37c2de(0x38a)]),_0x209449(0x2,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)]))],_0xd07721);var _0x32a0a1=Object['getOwnPropertyDescriptor'],_0x1070f0=(_0x34aaca,_0x4dac42,_0xa54670,_0x412454)=>{const _0x678305=_0x37c2de;for(var _0x17a1ae=_0x412454>0x1?void 0x0:_0x412454?_0x32a0a1(_0x4dac42,_0xa54670):_0x4dac42,_0x4f8d56=_0x34aaca[_0x678305(0x2c4)]-0x1,_0x31ae42;_0x4f8d56>=0x0;_0x4f8d56--)(_0x31ae42=_0x34aaca[_0x4f8d56])&&(_0x17a1ae=_0x31ae42(_0x17a1ae)||_0x17a1ae);return _0x17a1ae;},_0x5a4ef4=(_0x457fbb,_0x150ced)=>(_0x46e417,_0x2c25db)=>_0x150ced(_0x46e417,_0x2c25db,_0x457fbb);let _0x341f82=class{constructor(_0x42df3b,_0x5061bf){const _0x151bed=_0x37c2de;this[_0x151bed(0x212)]=_0x42df3b,this[_0x151bed(0x1fd)]=_0x5061bf;}[_0x37c2de(0x20c)](_0x2932c7){const _0x15819b=_0x37c2de;var _0x54e230;const _0x273b8c=this['_injector'][_0x15819b(0x2de)](_0x54b913[_0x15819b(0x150)]),_0x16fcd5=(_0x54e230=_0x273b8c[_0x15819b(0x2c2)]())!=null?_0x54e230:[];if(_0x16fcd5[_0x15819b(0x2c4)]===0x0)return;const _0x3c2c01=_0x2932c7[_0x15819b(0x246)],_0x184b16=[{'id':_0x15819b(0x35f),'params':{'unitId':_0x3c2c01,'actions':null,'textRanges':_0x16fcd5}}],_0x9e2f5e=this[_0x15819b(0x1fd)][_0x15819b(0xf7)](_0x2932c7,_0x184b16);if(!_0x19f9e8[_0x15819b(0x33e)](_0x9e2f5e))throw _0x9e2f5e['error'];const _0x311ead=_0x9e2f5e[_0x15819b(0x191)][0x0]['params'][_0x15819b(0x26e)];Array['isArray'](_0x311ead)&&_0x311ead[_0x15819b(0x2c4)]&&_0x273b8c[_0x15819b(0x103)](_0x311ead,{'unitId':_0x3c2c01,'subUnitId':_0x3c2c01},!0x1);}};_0x341f82=_0x1070f0([_0x5a4ef4(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x5a4ef4(0x1,_0x19f9e8['ITransformService'])],_0x341f82);var _0x593d81=Object[_0x37c2de(0x1ca)],_0x60d22e=(_0x1d0495,_0x13af55,_0x23344b,_0x2dd308)=>{const _0x332ec3=_0x37c2de;for(var _0x2e8750=_0x2dd308>0x1?void 0x0:_0x2dd308?_0x593d81(_0x13af55,_0x23344b):_0x13af55,_0x5359a3=_0x1d0495[_0x332ec3(0x2c4)]-0x1,_0x44eef2;_0x5359a3>=0x0;_0x5359a3--)(_0x44eef2=_0x1d0495[_0x5359a3])&&(_0x2e8750=_0x44eef2(_0x2e8750)||_0x2e8750);return _0x2e8750;},_0x21f8e0=(_0x42cb29,_0x16c41b)=>(_0x22b111,_0x49ecf7)=>_0x16c41b(_0x22b111,_0x49ecf7,_0x42cb29);let _0xdc2afa=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0xed524e,_0x4a4bb0,_0x268b9f,_0xf64fa6,_0x1e50b1,_0x371235,_0x49ec60,_0x52460a){const _0x125ebf=_0x37c2de;super(),_0x425380(this,_0x125ebf(0x376),new _0x1b47d1[(_0x125ebf(0x338))](_0x27b003[_0x125ebf(0x317)]['NOT_COLLAB'])),(this[_0x125ebf(0x122)]=_0xed524e,this[_0x125ebf(0x1ec)]=_0x4a4bb0,this[_0x125ebf(0x2ff)]=_0x268b9f,this[_0x125ebf(0x289)]=_0xf64fa6,this[_0x125ebf(0x184)]=_0x1e50b1,this[_0x125ebf(0xff)]=_0x371235,this[_0x125ebf(0x102)]=_0x49ec60,this[_0x125ebf(0x248)]=_0x52460a,this[_0x125ebf(0x17c)]());}['_initEntityListener'](){const _0x2bf77a=_0x37c2de;this['disposeWithMe'](this[_0x2bf77a(0x1ec)][_0x2bf77a(0x361)]['subscribe'](_0x384f93=>{const _0x2d8b0c=_0x2bf77a,_0x45bc32=this[_0x2d8b0c(0x122)]['docStateChange$']['subscribe'](_0x3fc49e=>{const _0x422b93=_0x2d8b0c;if(_0x3fc49e==null)return;const {unitId:_0x2be6be,redoState:_0x158fc5,commandId:_0x134037}=_0x3fc49e;if(_0x2be6be!==_0x384f93[_0x422b93(0x246)])return;const _0x492063={'id':_0x134037,'type':_0x396f24[_0x422b93(0x31d)][_0x422b93(0x2ba)],'params':{'unitId':_0x2be6be,'actions':_0x158fc5[_0x422b93(0x1b4)],'textRanges':null}};_0x384f93[_0x422b93(0x299)](_0x492063);});if(_0x384f93[_0x2d8b0c(0x1c4)](_0x45bc32),_0x384f93 instanceof _0x27b003[_0x2d8b0c(0x218)]){const _0x4a5e4d={'onTransformIME':_0x56fe71=>this['_docTransformIMECacheService']['transformIMECache'](_0x56fe71),'onTransformState':_0x2e920c=>this['_docTransformStateCacheService'][_0x2d8b0c(0x204)](_0x2e920c),'onTransformSelections':_0x29c064=>this[_0x2d8b0c(0x184)][_0x2d8b0c(0x20c)](_0x29c064),'onSyncEditingCollabCursor':_0x22d7e2=>this[_0x2d8b0c(0xff)][_0x2d8b0c(0x282)](_0x22d7e2),'onTransformRemoteChangesetByIMECache':_0x10c3ae=>this[_0x2d8b0c(0x2ff)]['transformRemoteChangeset'](_0x10c3ae),'onTransformRemoteChangesetByStateCache':_0x494f7a=>this[_0x2d8b0c(0x289)]['transformRemoteChangeset'](_0x494f7a)};_0x384f93[_0x2d8b0c(0x158)](_0x4a5e4d);}}));}};_0xdc2afa=_0x60d22e([_0x21f8e0(0x0,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)])),_0x21f8e0(0x1,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x21f8e0(0x2,_0x396f24[_0x37c2de(0x15e)](_0x59c018)),_0x21f8e0(0x3,_0x396f24[_0x37c2de(0x15e)](_0xd07721)),_0x21f8e0(0x4,_0x396f24[_0x37c2de(0x15e)](_0x341f82)),_0x21f8e0(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x21f8e0(0x6,_0x39278b[_0x37c2de(0x24b)]),_0x21f8e0(0x7,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0xdc2afa);var _0x2758dc=Object[_0x37c2de(0x1ca)],_0x4f4a5b=(_0x2a07c6,_0x86e7bd,_0x552049,_0x55f6bc)=>{const _0x523b8d=_0x37c2de;for(var _0x2c343f=_0x55f6bc>0x1?void 0x0:_0x55f6bc?_0x2758dc(_0x86e7bd,_0x552049):_0x86e7bd,_0xa92453=_0x2a07c6[_0x523b8d(0x2c4)]-0x1,_0x2b68c8;_0xa92453>=0x0;_0xa92453--)(_0x2b68c8=_0x2a07c6[_0xa92453])&&(_0x2c343f=_0x2b68c8(_0x2c343f)||_0x2c343f);return _0x2c343f;},_0x4a0a5c=(_0x133b8a,_0x3261a5)=>(_0x4d0ba5,_0x296276)=>_0x3261a5(_0x4d0ba5,_0x296276,_0x133b8a);let _0x3276ed=class extends _0x396f24['Disposable']{constructor(_0x1fa0d6,_0x457f08,_0x4d3063){const _0x32d48e=_0x37c2de;super(),_0x425380(this,'_cachedData',new Map()),_0x425380(this,_0x32d48e(0x36f),new Map()),_0x425380(this,_0x32d48e(0x257),!0x1),(this[_0x32d48e(0x18a)]=_0x1fa0d6,this['_localStorageService']=_0x457f08,this[_0x32d48e(0x210)]=_0x4d3063);}[_0x37c2de(0x195)](){const _0x4ffcd7=_0x37c2de;this[_0x4ffcd7(0x257)]=!0x0;}[_0x37c2de(0x2a9)](){const _0x5dbff9=_0x37c2de;this[_0x5dbff9(0x257)]=!0x1;}get[_0x37c2de(0x19f)](){return this['_saveTaskMap'];}[_0x37c2de(0x254)](){const _0x46c96a=_0x37c2de;this[_0x46c96a(0x327)]()[_0x46c96a(0x27f)](()=>super[_0x46c96a(0x254)]());}async['loadOfflineData'](_0x13c6f9){const _0x550d83=_0x37c2de;return this['_disabled']?null:this[_0x550d83(0x152)]['getItem'](_0x27b003[_0x550d83(0x1f2)](_0x13c6f9));}async[_0x37c2de(0x198)](_0x232e92,_0x1ee53d){const _0x12fb5b=_0x37c2de;return!!this[_0x12fb5b(0x152)][_0x12fb5b(0x31e)](_0x232e92,_0x1ee53d);}[_0x37c2de(0x315)](_0x4ee9ee,_0x243732,_0x24974f,_0xb3b9fe){const _0x78e4b9=_0x37c2de,_0x113196=this[_0x78e4b9(0x210)][_0x78e4b9(0x10b)](_0x4ee9ee);this[_0x78e4b9(0x2dd)]['set'](_0x4ee9ee,{'unitID':_0x4ee9ee,'type':_0x243732,'awaitingChangeset':_0x24974f,'mutations':_0xb3b9fe,'rev':_0x113196}),this[_0x78e4b9(0x36f)]['has'](_0x4ee9ee)||this[_0x78e4b9(0x391)](_0x4ee9ee);}['_scheduleSaving'](_0x6e9481){const _0x9dc495=_0x37c2de,_0x4a6fb4=this[_0x9dc495(0x14c)]();_0x4a6fb4===0x0?this[_0x9dc495(0x333)](_0x6e9481):this[_0x9dc495(0x36f)][_0x9dc495(0x117)](_0x6e9481,setTimeout(()=>this[_0x9dc495(0x333)](_0x6e9481),_0x4a6fb4));}[_0x37c2de(0x14c)](){const _0xcfe7e6=_0x37c2de;var _0x4ec1dc;return(_0x4ec1dc=this['_configService'][_0xcfe7e6(0x336)](_0x27b003[_0xcfe7e6(0x31c)]))!=null?_0x4ec1dc:_0x27b003[_0xcfe7e6(0x2bc)];}[_0x37c2de(0x333)](_0x69473){const _0x3befcd=_0x37c2de,_0x41d8ac=this[_0x3befcd(0x36f)][_0x3befcd(0x2de)](_0x69473);return _0x41d8ac!==void 0x0&&window[_0x3befcd(0x296)](_0x41d8ac),this[_0x3befcd(0x152)][_0x3befcd(0x31e)](_0x27b003[_0x3befcd(0x1f2)](_0x69473),this[_0x3befcd(0x2dd)][_0x3befcd(0x2de)](_0x69473))[_0x3befcd(0x27f)](()=>this['_saveTaskMap'][_0x3befcd(0x2b2)](_0x69473));}async['exhaustSavingTask'](){const _0x4191ff=_0x37c2de,_0x2fd2a1=[];this['_saveTaskMap']['forEach']((_0x3d0921,_0x25a27b)=>{const _0x1b5965=_0x6e2a;window[_0x1b5965(0x296)](_0x3d0921),_0x2fd2a1[_0x1b5965(0x20f)](this['_saveCache'](_0x25a27b)[_0x1b5965(0x27f)](()=>{const _0x3deb26=_0x1b5965;this[_0x3deb26(0x36f)][_0x3deb26(0x2b2)](_0x25a27b);}));}),await Promise[_0x4191ff(0x2ce)](_0x2fd2a1);}};_0x3276ed=_0x4f4a5b([_0x4a0a5c(0x0,_0x396f24[_0x37c2de(0x125)]),_0x4a0a5c(0x1,_0x396f24[_0x37c2de(0x155)]),_0x4a0a5c(0x2,_0x396f24[_0x37c2de(0x15e)](_0x19f9e8['RevisionService']))],_0x3276ed);class _0x196ebe extends _0x396f24['RxDisposable']{constructor(){const _0x5d3ee7=_0x37c2de;super(),_0x425380(this,_0x5d3ee7(0x19d)),this[_0x5d3ee7(0x19d)]=_0x1b47d1[_0x5d3ee7(0x24a)](window,'popstate')[_0x5d3ee7(0x2a6)](_0x1b47d1[_0x5d3ee7(0x15c)](this['dispose$']),_0x1b47d1[_0x5d3ee7(0x2a1)](0x1),_0x1b47d1[_0x5d3ee7(0x342)](void 0x0));}['setParam'](_0x48aad3,_0x4e58d3,_0x5c17c8=!0x1){const _0x345261=_0x37c2de,_0x59b444=new URL(window[_0x345261(0x239)][_0x345261(0x129)]);_0x59b444['searchParams'][_0x345261(0x117)](_0x48aad3,_0x4e58d3),_0x5c17c8?window[_0x345261(0x216)][_0x345261(0x267)]('','',_0x59b444[_0x345261(0xf9)]()):window[_0x345261(0x216)][_0x345261(0x207)]('','',_0x59b444['toString']());}[_0x37c2de(0x355)](_0x79fbde,_0x1c0698=!0x1){const _0xeb32a5=_0x37c2de,_0x4cb030=new URL(window[_0xeb32a5(0x239)]['href']);_0x4cb030[_0xeb32a5(0x12a)][_0xeb32a5(0x2b2)](_0x79fbde),_0x1c0698?window['history'][_0xeb32a5(0x267)]('','',_0x4cb030[_0xeb32a5(0xf9)]()):window['history']['pushState']('','',_0x4cb030[_0xeb32a5(0xf9)]());}[_0x37c2de(0x385)](_0x5bed4c){const _0x26045f=_0x37c2de;var _0x13c6e4;return(_0x13c6e4=new URL(window[_0x26045f(0x239)][_0x26045f(0x129)])['searchParams'][_0x26045f(0x2de)](_0x5bed4c))!=null?_0x13c6e4:void 0x0;}}var _0x4310c7=Object[_0x37c2de(0x1c9)],_0x4577b1=Object[_0x37c2de(0x1ca)],_0x695447=(_0x2e0162,_0x3f2499,_0x4bbbd8)=>_0x3f2499 in _0x2e0162?_0x4310c7(_0x2e0162,_0x3f2499,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bbbd8}):_0x2e0162[_0x3f2499]=_0x4bbbd8,_0x1aa3e2=(_0x27c8b6,_0x53310a,_0x164dbc,_0x4c791e)=>{const _0x26a5e9=_0x37c2de;for(var _0x2923f7=_0x4c791e>0x1?void 0x0:_0x4c791e?_0x4577b1(_0x53310a,_0x164dbc):_0x53310a,_0x567744=_0x27c8b6[_0x26a5e9(0x2c4)]-0x1,_0x44c722;_0x567744>=0x0;_0x567744--)(_0x44c722=_0x27c8b6[_0x567744])&&(_0x2923f7=_0x44c722(_0x2923f7)||_0x2923f7);return _0x2923f7;},_0x405ccc=(_0x842454,_0x3900ee)=>(_0x120bea,_0x842520)=>_0x3900ee(_0x120bea,_0x842520,_0x842454),_0x3826b3=(_0x2fcd5e,_0x26f4c0,_0x39300e)=>_0x695447(_0x2fcd5e,_0x26f4c0+'',_0x39300e);const _0x10fa4f=_0x37c2de(0x290);_0x5a6766[_0x37c2de(0x2d9)]=class extends _0x396f24[_0x37c2de(0x37e)]{constructor(_0x3cf114=_0x548d5a,_0x5da848,_0x556e1a,_0x4d7504){const _0x5f17c2=_0x37c2de;super(),this[_0x5f17c2(0x273)]=_0x3cf114,this[_0x5f17c2(0x1b7)]=_0x5da848,this[_0x5f17c2(0x212)]=_0x556e1a,this[_0x5f17c2(0x18a)]=_0x4d7504;const {..._0x129f4f}=_0x396f24['merge']({},_0x548d5a,this[_0x5f17c2(0x273)]);this[_0x5f17c2(0x18a)][_0x5f17c2(0x331)](_0x142d73,_0x129f4f);}[_0x37c2de(0x1aa)](){const _0x234605=_0x37c2de;this[_0x234605(0x28b)](),this[_0x234605(0x1c2)]();}[_0x37c2de(0x33c)](){this['_registerRenderDependencies']();}[_0x37c2de(0x28b)](){const _0x1f9af5=_0x37c2de;var _0x5c9a87;const _0x474a9a=[[_0x74392a],[_0x341f82],[_0x59c018],[_0xd07721],[_0x25bfb1],[_0x2bb386,{'useClass':_0x196ebe}],[_0x16b348[_0x1f9af5(0x121)],{'useClass':_0x16b348['WebSocketService']}],[_0x27b003['ILocalCacheService'],{'useClass':_0x3276ed}],[_0x5a6766[_0x1f9af5(0x2f5)]],[_0xdc2afa],[_0x2f45ed],[_0x1789a5],[_0x394a4b],[_0x5a6766['CollaborationDataLoaderController']]];_0x396f24[_0x1f9af5(0x237)](this['_injector'],_0x396f24[_0x1f9af5(0x308)](_0x474a9a,(_0x5c9a87=this[_0x1f9af5(0x273)])==null?void 0x0:_0x5c9a87[_0x1f9af5(0x37b)]));}[_0x37c2de(0x359)](){const _0x43a170=_0x37c2de;this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)][_0x43a170(0x222)](_0x396f24[_0x43a170(0x10f)][_0x43a170(0x15f)],[_0x48bb14])),this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)]['registerRenderModule'](_0x396f24['UniverInstanceType']['UNIVER_SHEET'],[_0x29d0ef]));}[_0x37c2de(0x1c2)](){const _0x20cc8=_0x37c2de;_0x396f24['touchDependencies'](this[_0x20cc8(0x212)],[[_0x1789a5],[_0x5a6766['DesktopCollaborationStatusDisplayController']],[_0xdc2afa],[_0x2f45ed],[_0x5a6766[_0x20cc8(0x156)]]]);}},_0x3826b3(_0x5a6766[_0x37c2de(0x2d9)],_0x37c2de(0x16e),_0x10fa4f),_0x5a6766[_0x37c2de(0x2d9)]=_0x1aa3e2([_0x396f24[_0x37c2de(0x18b)](_0x27b003[_0x37c2de(0x241)]),_0x405ccc(0x1,_0x5841f7['IRenderManagerService']),_0x405ccc(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x405ccc(0x3,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x2d9)]);var _0x5a5bc8=Object['getOwnPropertyDescriptor'],_0xc32a51=(_0x1a425f,_0x31b23a,_0x5efc4c,_0x108ce5)=>{const _0xd7d50f=_0x37c2de;for(var _0xbe94f6=_0x108ce5>0x1?void 0x0:_0x108ce5?_0x5a5bc8(_0x31b23a,_0x5efc4c):_0x31b23a,_0x337ff3=_0x1a425f[_0xd7d50f(0x2c4)]-0x1,_0x4464d6;_0x337ff3>=0x0;_0x337ff3--)(_0x4464d6=_0x1a425f[_0x337ff3])&&(_0xbe94f6=_0x4464d6(_0xbe94f6)||_0xbe94f6);return _0xbe94f6;},_0x5b3d1c=(_0x5287d0,_0x142131)=>(_0x1fd1c8,_0x2fafc1)=>_0x142131(_0x1fd1c8,_0x2fafc1,_0x5287d0);_0x5a6766[_0x37c2de(0x34e)]=class extends _0x27b003[_0x37c2de(0x30d)]{constructor(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600){super(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600);}async['createSocket'](_0x2788e9){const _0x42fc26=_0x37c2de,_0x5d8570=await this['_getSessionTicket'](),_0x318c27=this[_0x42fc26(0x118)](_0x2788e9,_0x5d8570);return this[_0x42fc26(0x276)](_0x318c27);}[_0x37c2de(0x118)](_0x2ca717,_0xb07ef){const _0xd7542a=_0x37c2de,_0x27549e=typeof window>'u'?new URL(_0x2ca717):new URL(_0x2ca717,window['location'][_0xd7542a(0x1c3)]);_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('sessionTicket',_0xb07ef);const _0x9ac9ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd7542a(0x239)][_0xd7542a(0x136)]);return _0x9ac9ab[_0xd7542a(0x2de)]('runId')&&_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('runId',_0x9ac9ab[_0xd7542a(0x2de)]('runId')),_0x27549e['toString']();}async[_0x37c2de(0x313)](){const _0x3225db=_0x37c2de;var _0x2c4517,_0x91bc45,_0x173423;const _0x443443=this[_0x3225db(0x18a)]['getConfig'](_0x27b003[_0x3225db(0x11b)]),_0x2c6ef5=(_0x2c4517=_0x443443==null?void 0x0:_0x443443[_0x3225db(0x101)])!=null?_0x2c4517:_0x27b003[_0x3225db(0x14e)];return(_0x173423=(_0x91bc45=(await this[_0x3225db(0x1b2)][_0x3225db(0x2de)](_0x2c6ef5,{'headers':{'Content-Type':_0x3225db(0x1b3)}}))[_0x3225db(0x2fd)])==null?void 0x0:_0x91bc45[_0x3225db(0x23f)])!=null?_0x173423:'';}},_0x5a6766[_0x37c2de(0x34e)]=_0xc32a51([_0x5b3d1c(0x0,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x5b3d1c(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x5b3d1c(0x2,_0x396f24[_0x37c2de(0x125)]),_0x5b3d1c(0x3,_0x396f24['ILogService']),_0x5b3d1c(0x4,_0x19f9e8[_0x37c2de(0x2c1)])],_0x5a6766[_0x37c2de(0x34e)]);var _0x2ffbce=(_0x47fddd=>(_0x47fddd[_0x47fddd[_0x37c2de(0x17a)]=0x0]='UNDEFINED',_0x47fddd[_0x47fddd['OK']=0x1]='OK',_0x47fddd[_0x47fddd['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x47fddd[_0x47fddd[_0x37c2de(0x37f)]=0x3]=_0x37c2de(0x37f),_0x47fddd[_0x47fddd[_0x37c2de(0x32f)]=0x4]=_0x37c2de(0x32f),_0x47fddd[_0x47fddd['UNAUTHENTICATED']=0x5]=_0x37c2de(0x140),_0x47fddd[_0x47fddd[_0x37c2de(0x111)]=0x6]=_0x37c2de(0x111),_0x47fddd[_0x47fddd[_0x37c2de(0x23a)]=0x7]='INVALID_ARGUMENT',_0x47fddd[_0x47fddd[_0x37c2de(0x29e)]=0x8]='TOO_MANY_REQUESTS',_0x47fddd[_0x47fddd[_0x37c2de(0x32e)]=0x9]=_0x37c2de(0x32e),_0x47fddd[_0x47fddd[_0x37c2de(0x1d7)]=0xa]=_0x37c2de(0x1d7),_0x47fddd[_0x47fddd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x37c2de(0x1bf),_0x47fddd[_0x47fddd[_0x37c2de(0x266)]=0xc]=_0x37c2de(0x266),_0x47fddd[_0x47fddd[_0x37c2de(0x35e)]=0xd]=_0x37c2de(0x35e),_0x47fddd[_0x47fddd[_0x37c2de(0x390)]=0xe]=_0x37c2de(0x390),_0x47fddd[_0x47fddd[_0x37c2de(0x394)]=0x1389]=_0x37c2de(0x394),_0x47fddd[_0x47fddd[_0x37c2de(0x157)]=0x1771]=_0x37c2de(0x157),_0x47fddd[_0x47fddd[_0x37c2de(0x233)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x47fddd[_0x47fddd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x37c2de(0x34a),_0x47fddd[_0x47fddd[_0x37c2de(0x38c)]=0x1b59]=_0x37c2de(0x38c),_0x47fddd[_0x47fddd[_0x37c2de(0x1dc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x47fddd[_0x47fddd[_0x37c2de(0x19b)]=0x1b5b]=_0x37c2de(0x19b),_0x47fddd[_0x47fddd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x37c2de(0x26f),_0x47fddd[_0x47fddd[_0x37c2de(0x1a5)]=0x1b5d]=_0x37c2de(0x1a5),_0x47fddd[_0x47fddd[_0x37c2de(0x131)]=0x1f41]=_0x37c2de(0x131),_0x47fddd[_0x47fddd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x37c2de(0xfe),_0x47fddd[_0x47fddd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x37c2de(0x251),_0x47fddd[_0x47fddd[_0x37c2de(0x1b9)]=0x232b]=_0x37c2de(0x1b9),_0x47fddd[_0x47fddd[_0x37c2de(0x33a)]=0x232c]=_0x37c2de(0x33a),_0x47fddd[_0x47fddd[_0x37c2de(0x1f1)]=0x232d]=_0x37c2de(0x1f1),_0x47fddd[_0x47fddd[_0x37c2de(0x2e7)]=0x2711]=_0x37c2de(0x2e7),_0x47fddd[_0x47fddd[_0x37c2de(0x1df)]=0x2712]=_0x37c2de(0x1df),_0x47fddd[_0x47fddd[_0x37c2de(0x372)]=0x2713]=_0x37c2de(0x372),_0x47fddd[_0x47fddd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x37c2de(0x264),_0x47fddd[_0x47fddd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x37c2de(0x300),_0x47fddd[_0x47fddd[_0x37c2de(0x383)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x47fddd[_0x47fddd[_0x37c2de(0x162)]=0x271c]=_0x37c2de(0x162),_0x47fddd[_0x47fddd[_0x37c2de(0x316)]=0x271d]=_0x37c2de(0x316),_0x47fddd[_0x47fddd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x47fddd[_0x47fddd[_0x37c2de(0x144)]=0x271f]=_0x37c2de(0x144),_0x47fddd[_0x47fddd[_0x37c2de(0x209)]=0x2720]=_0x37c2de(0x209),_0x47fddd[_0x47fddd[_0x37c2de(0x2dc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x47fddd[_0x47fddd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x37c2de(0x396),_0x47fddd[_0x47fddd[_0x37c2de(0x318)]=0x2ee2]=_0x37c2de(0x318),_0x47fddd[_0x47fddd[_0x37c2de(0x30e)]=0x2ee3]=_0x37c2de(0x30e),_0x47fddd[_0x47fddd[_0x37c2de(0x35c)]=0x2ee4]=_0x37c2de(0x35c),_0x47fddd[_0x47fddd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37c2de(0x2ae),_0x47fddd[_0x47fddd[_0x37c2de(0x309)]=0x32c9]=_0x37c2de(0x309),_0x47fddd[_0x47fddd[_0x37c2de(0x28e)]=0x32ca]=_0x37c2de(0x28e),_0x47fddd[_0x47fddd[_0x37c2de(0x2ab)]=0x32cb]=_0x37c2de(0x2ab),_0x47fddd[_0x47fddd['UNRECOGNIZED']=-0x1]=_0x37c2de(0x324),_0x47fddd))(_0x2ffbce||{}),_0x3a9711=Object[_0x37c2de(0x1ca)],_0x3b385f=(_0x3fee01,_0x4ef905,_0x245395,_0xdf45b0)=>{const _0x304c49=_0x37c2de;for(var _0x54d26e=_0xdf45b0>0x1?void 0x0:_0xdf45b0?_0x3a9711(_0x4ef905,_0x245395):_0x4ef905,_0x456a75=_0x3fee01[_0x304c49(0x2c4)]-0x1,_0x3cb4ea;_0x456a75>=0x0;_0x456a75--)(_0x3cb4ea=_0x3fee01[_0x456a75])&&(_0x54d26e=_0x3cb4ea(_0x54d26e)||_0x54d26e);return _0x54d26e;},_0x57c6af=(_0x43571c,_0x14848d)=>(_0x12a970,_0x45e632)=>_0x14848d(_0x12a970,_0x45e632,_0x43571c);_0x5a6766['RemoteUniscriptService']=class extends _0x396f24['Disposable']{constructor(_0x511609,_0x3e8a16,_0x466ae5){const _0x59c0b3=_0x37c2de;super(),this[_0x59c0b3(0xfa)]=_0x511609,this['_httpService']=_0x3e8a16,this[_0x59c0b3(0x18a)]=_0x466ae5;}async[_0x37c2de(0x37c)](_0x58d155,_0x1b7a02,_0x4733c3,..._0x8296a3){const _0xfa3120=_0x37c2de;var _0x2ec16e,_0x363aac,_0x43cc5d,_0x3ac5c3;const _0x15bc40=this[_0xfa3120(0xfa)][_0xfa3120(0x2b3)]();if(!_0x15bc40)throw new Error(_0xfa3120(0x143));const _0x509f14=((_0x2ec16e=this[_0xfa3120(0x18a)][_0xfa3120(0x336)](_0x27b003[_0xfa3120(0x36b)]))!=null?_0x2ec16e:_0x27b003[_0xfa3120(0x30b)])+'/'+_0x58d155+'/run/'+_0x1b7a02,_0x38f4be=new URL(window[_0xfa3120(0x239)][_0xfa3120(0x129)]),_0x3d8d9a={'scriptId':_0x58d155,'runId':(_0x363aac=_0x38f4be[_0xfa3120(0x12a)][_0xfa3120(0x2de)](_0xfa3120(0x2b7)))!=null?_0x363aac:'','function':_0x1b7a02,'unitId':_0x15bc40[_0xfa3120(0x278)](),'argsOfFunction':JSON['stringify'](_0x8296a3),'invokeId':(_0x43cc5d=_0x4733c3[_0xfa3120(0x1f6)])!=null?_0x43cc5d:'','executionId':(_0x3ac5c3=_0x4733c3[_0xfa3120(0x263)])!=null?_0x3ac5c3:''};try{const _0x180e3d=await this[_0xfa3120(0x1b2)][_0xfa3120(0x344)](_0x509f14,{'body':_0x3d8d9a});return _0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)]&&_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)][_0xfa3120(0x329)]!==_0x2ffbce['OK']?_0xfa3120(0x11a):_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x34b)];}catch{return _0xfa3120(0x11a);}}},_0x5a6766['RemoteUniscriptService']=_0x3b385f([_0x57c6af(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x57c6af(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x57c6af(0x2,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x1e3)]);const _0x8f0e04=0x7530,_0x3f1f4f=_0x37c2de(0x2c7);class _0x24491d extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x312e1e=_0x37c2de;super(),_0x425380(this,_0x312e1e(0x124),_0x396f24['generateRandomId']()),_0x425380(this,'_selfUnitIDs',new Set()),_0x425380(this,_0x312e1e(0x228),new Map()),_0x425380(this,'_heartbeatTimer',null),_0x425380(this,_0x312e1e(0x33f),new Map()),_0x425380(this,_0x312e1e(0x2d7),new Map()),this[_0x312e1e(0x133)]();}['dispose'](){const _0x44ab98=_0x37c2de;super[_0x44ab98(0x254)](),this[_0x44ab98(0x33f)][_0x44ab98(0x217)]((_0x329ba2,_0x57e00d)=>this['_removeClearOtherTimer'](_0x57e00d)),this[_0x44ab98(0x341)]&&window[_0x44ab98(0x295)](this[_0x44ab98(0x341)]);}['getUnitStatus$'](_0x47f1ab){const _0x4a3a5c=_0x37c2de;return this['_ensureSubject'](_0x47f1ab)[_0x4a3a5c(0x2a6)](_0x1b47d1[_0x4a3a5c(0x2da)]());}[_0x37c2de(0x192)](_0x3c42ee){const _0x47f708=_0x37c2de;this[_0x47f708(0x2af)][_0x47f708(0x38d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x47f708(0x2af)][_0x47f708(0x2b1)](_0x3c42ee),this['_send']({'type':0x0,'memberID':this[_0x47f708(0x124)],'unitIDs':[_0x3c42ee],'isForwarded':!0x1});}[_0x37c2de(0x2eb)](_0x16168f){const _0x162610=_0x37c2de;this['_selfUnitIDs'][_0x162610(0x2b2)](_0x16168f),this[_0x162610(0x2af)][_0x162610(0x38d)]===0x0&&this[_0x162610(0x341)]&&window['clearInterval'](this[_0x162610(0x341)]);}[_0x37c2de(0x133)](){const _0x37e89f=_0x37c2de;this[_0x37e89f(0x1c4)](_0x396f24[_0x37e89f(0x19c)](_0x1b47d1['fromEvent'](window,_0x37e89f(0x168))[_0x37e89f(0x196)](_0x50f67a=>{const _0x4e6ae8=_0x37e89f;if(_0x50f67a[_0x4e6ae8(0x2a4)]!==_0x3f1f4f||!_0x50f67a['newValue'])return;const _0x4cd277=JSON[_0x4e6ae8(0x1c1)](_0x50f67a['newValue']);this[_0x4e6ae8(0x368)](_0x4cd277);}))),window[_0x37e89f(0x185)](_0x37e89f(0x1a4),()=>this[_0x37e89f(0x2b6)]({'type':0x1,'memberID':this[_0x37e89f(0x124)],'unitIDs':Array[_0x37e89f(0x1f8)](this[_0x37e89f(0x2af)])}));}[_0x37c2de(0x368)](_0x377f54){const _0x5342aa=_0x37c2de;switch(_0x377f54[_0x5342aa(0x275)]){case 0x0:this[_0x5342aa(0x24d)](_0x377f54);break;case 0x1:this[_0x5342aa(0x307)](_0x377f54);break;case 0x2:this[_0x5342aa(0x388)](_0x377f54);break;}}[_0x37c2de(0x24d)](_0x2a53de){const _0x42d4f8=_0x37c2de,{unitIDs:_0x5bd860,memberID:_0x5049c8,isForwarded:_0x312d1e}=_0x2a53de;_0x5bd860[_0x42d4f8(0x217)](_0x439043=>{const _0xa8f2f4=_0x42d4f8;if(!_0x312d1e&&this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)&&this[_0xa8f2f4(0x2ec)](_0x439043)[_0xa8f2f4(0x38e)](_0x27b003[_0xa8f2f4(0x160)][_0xa8f2f4(0x2f6)]),!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)||!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)[_0xa8f2f4(0x1ff)](_0x5049c8)){const _0x33c6fc=this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)||new Set();_0x33c6fc['add'](_0x5049c8),this[_0xa8f2f4(0x228)][_0xa8f2f4(0x117)](_0x439043,_0x33c6fc),this[_0xa8f2f4(0x363)](_0x5049c8);}}),_0x312d1e||this['_send']({'type':0x0,'memberID':this[_0x42d4f8(0x124)],'unitIDs':[...this[_0x42d4f8(0x2af)]],'isForwarded':!0x0});}[_0x37c2de(0x363)](_0x59b87c){const _0x1966e5=_0x37c2de;this[_0x1966e5(0x14d)](_0x59b87c);const _0x5b8b3d=window[_0x1966e5(0x365)](()=>{const _0x2f0213=_0x1966e5;this[_0x2f0213(0x228)]['forEach'](_0x181646=>{_0x181646['delete'](_0x59b87c);});},_0x8f0e04*0x2);this[_0x1966e5(0x33f)][_0x1966e5(0x117)](_0x59b87c,_0x5b8b3d);}[_0x37c2de(0x14d)](_0x55e240){const _0x23a0da=_0x37c2de;if(this[_0x23a0da(0x33f)][_0x23a0da(0x1ff)](_0x55e240)){const _0x25cc4e=this['_clearOtherTimers'][_0x23a0da(0x2de)](_0x55e240);_0x25cc4e&&window['clearTimeout'](_0x25cc4e),this['_clearOtherTimers']['set'](_0x55e240,null);}}['_handleLeaveEvent'](_0x1e4c2a){const _0x1cf5bc=_0x37c2de,{memberID:_0x2ebf2a,unitIDs:_0x497673}=_0x1e4c2a;_0x497673[_0x1cf5bc(0x217)](_0x4bc30d=>{const _0x2a1640=_0x1cf5bc;var _0x1243ea;const _0x1dceae=this[_0x2a1640(0x228)][_0x2a1640(0x2de)](_0x4bc30d);_0x1dceae&&(_0x1dceae[_0x2a1640(0x2b2)](_0x2ebf2a),(_0x1243ea=this[_0x2a1640(0x2ec)](_0x4bc30d))==null||_0x1243ea['next'](_0x1dceae[_0x2a1640(0x38d)]===0x0?_0x27b003['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x27b003[_0x2a1640(0x160)][_0x2a1640(0x2f6)]));}),this[_0x1cf5bc(0x14d)](_0x2ebf2a);}[_0x37c2de(0x388)](_0x2e1b1d){const _0x11c07d=_0x37c2de;this[_0x11c07d(0x363)](_0x2e1b1d[_0x11c07d(0x12b)]);}[_0x37c2de(0x2b6)](_0x26dc48){const _0x119d3e=_0x37c2de;localStorage[_0x119d3e(0x31e)](_0x3f1f4f,JSON['stringify'](_0x26dc48));}['_scheduleHeartbeat'](){const _0x2d4e95=_0x37c2de;this[_0x2d4e95(0x341)]=window[_0x2d4e95(0xfb)](()=>{const _0x469bfa=_0x2d4e95;this[_0x469bfa(0x2b6)]({'type':0x2,'memberID':this[_0x469bfa(0x124)]});},_0x8f0e04);}[_0x37c2de(0x2ec)](_0x35a0f6){const _0xe8ad7d=_0x37c2de;return this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x1ff)](_0x35a0f6)||this[_0xe8ad7d(0x2d7)]['set'](_0x35a0f6,new _0x1b47d1[(_0xe8ad7d(0x338))](_0x27b003[_0xe8ad7d(0x160)][_0xe8ad7d(0x357)])),this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x2de)](_0x35a0f6);}}_0x5a6766[_0x37c2de(0x392)]=_0x2bb386,_0x5a6766[_0x37c2de(0x1e7)]=_0x170b20,_0x5a6766[_0x37c2de(0x258)]=_0x24491d,_0x5a6766[_0x37c2de(0x1ba)]=_0x196ebe,Object['defineProperty'](_0x5a6766,Symbol[_0x37c2de(0x179)],{'value':_0x37c2de(0x269)});}));function _0x434d(){const _0x4f9978=['DocIMEInputManagerService','CollaborationController','_httpService','application/json','actions','univerjs-icon\x20univerjs-icon-','error','_renderManagerService','_labelPosition','LICENSE_IMPORT_SIZE_EXCEEDED','WebURLService','_docClipboardService','send','fill','_collabCursorState$','MOBILE_VERIFY_CODE_MISMATCH','useRef','parse','_initDependencies','origin','disposeWithMe','HEADER_MENU','IImageIoService','_roomMembers$','133PPqirN','defineProperty','getOwnPropertyDescriptor','cursorInfo','getTypeOfUnitAdded$','registerComponent','saveImage','name','collaboration.single-unit.warning','_lastPointer','unshift','save','getMember','_updateURLWithCurrentState','ColorKit','LOGIN_FAILED','RemoveRowCommandId','_hover','green.600','handleMoveRange','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','currentTheme$','YUUMI_URL_COL_OUT_OF_RANGE','RECT','SetWorksheetActivateCommand','transformMutation','RemoteUniscriptService','combineLatest','substring','_entities','SheetCollabCursorShape','amd','replace','SetDocZoomRatioOperation','resize','_collaborationController','SetSelectionsOperation','triggerDblclick','assignAColorForMemberID','svg','LICENSE_DISTRO_REJECTED','getLocalCacheKey','object','data','whenReady','invokeId','Tooltip','from','_render','UniverUi','getTypeOfUnitDisposed$','OFFLINE','_transformService','SetTextSelectionsOperation','has','_getSheetObject','@univerjs-pro/collaboration','EffectRefRangId','filter','transformStateCache','Injector','white','pushState','debounceTime','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformHistoryAndStateStack','react','transformSelections','Rect','handleInsertRangeMoveRight','push','_revisionService','addObject','_injector','_entityInit$','UniverEngineRender','RegularPolygon','history','forEach','DocCollaborationEntity','collabCursorState$','DOC_RANGE_TYPE','_drawTextRange','restore','_anchorDot','path','session.will-retry','some','_drawAnchor','registerRenderModule','getAncestorScale','isArray','split','forwardRef','UniverDesign','_unitOnClients','redoState','ILocalCacheService','unitId','xlink:href','createIdentifier','jsxs','_setupBeforeClosingHandler','@univerjs/sheets-ui','deepClone','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','defIds','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SYNCED','registerDependencies','max','location','INVALID_ARGUMENT','MessageType','OnLineIcon','div','useObservable','ticket','handleDeleteRangeMoveUp','UniverCollaborationClientPlugin','_assignedColors','debug','with','deserializeRangeWithSheet','unitID','collabStatus.synced','_localeService','handleInsertCol','fromEvent','IMessageService','Subject','_handleJoinEvent','cursorInfo$','transformByState','indexOf','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','idSuffix','dispose','FromArray','selections','_disabled','WebBrowserSingleActiveUnitService','jsx','getCollabEntity$','HTTPService','UniverSheetsUi','children','_onRefRangeChange','attrs','IBeforeCloseService','RemoveColCommandId','_urlService','executionId','YUUMI_SUBSCRIPTION_NOT_FOUND','_startSheetCollabCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','replaceState','getViewport','Module','RichTextEditingMutation','COLORS','NodePositionConvertToCursor','on-line-icon','textRanges','APPLY_PERMISSION_DENIED','getColorFromTheme','@univerjs/docs-ui','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','_config','range','type','_doCreateSocket','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUnitId','_textBubble','ONLINE','onCommandExecuted','prototype','text','AWAITING','then','CollaborationUIEventId','asObservable','syncEditingCollabCursor','focused$','UniverIcon','getStateCache','1em','33XTmVQQ','black','_docTransformStateCacheService','getSheetObject','_registerDependencies','lineTo','_toggleOffline','MOBILE_HAS_BEEN_BOUND','beginPath','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','FETCH_MISS','SheetsSelectionsService','RefRangeService','mask','clearInterval','clearTimeout','getUnhiddenWorksheets','generateRandomId','onLocalMutation','SessionStatus','12SeUaBm','blue.400','function','TOO_MANY_REQUESTS','MoveRangeCommandId','React','shareReplay','_eventUnsubscribe','_setupSubUnitSync','key','DocStateChangeManagerService','pipe','getMemberID','1249491fQFJQE','enableLocalCache','UPDATE_CURSOR','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_initEvent','INVITE_CODE_ALREADY_BOUND','_selfUnitIDs','_initStatusComponent','add','delete','getFocusedUnit','url(#on-line-icon_clip0_910_349)','roomMembers','_send','runId','unsubscribe','M0\x200H16V16H0z','MUTATION','registerRefRange','LOCAL_CACHE_INTERVAL','getColor','_collabSessionService','_removeCollabCursors','_anchor','ISnapshotServerService','getDocRanges','11634170LuVJan','length','event$','557104vyadJy','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/network','getOffsetConfig','tag','_updateSubUnitFromURLParams','Shape','DataLoaderService','all','selection','transformRemoteChangeset','_beforeCloseService','undoState','CollaborationEvent','fillText','0\x200\x2017\x2016','extend','_unitStatus','_color','UniverCollaborationClientUIPlugin','distinctUntilChanged','_handleHover','PY_RUNTIME_SCRIPT_ERROR','_cachedData','get','exports','unit','rxjs/operators','params','DisposableCollection','executeCommand','UniverRpc','Disposable','YUUMI_UNABLE_LOAD_URL','endRow','handleInsertRow','UniverProCollaborationClient','disposeUnit','_ensureSubject','_initResize','_collabCursorController','_colorIndex','_hideTimer','currentColor','Tools','_notificationService','handleIRemoveCol','DesktopCollaborationStatusDisplayController','OTHER_CLIENTS_EDITING','IRemoteInstanceService','_session','_backgroundColor','univer-mr-2\x20univer-flex\x20univer-text-xl','min','CONFLICT','body','useCallback','_docTransformIMECacheService','YUUMI_NO_CUBOID_FOR_QUESTION','42lCKqZi','skeleton','_cursors','getSkeleton','_updateLocalCursor','trim','_handleLeaveEvent','mergeOverrideWithDependencies','WECHAT_HAS_BEEN_BOUND','Unknown\x20user','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_commandService','CollaborationSocketService','INVITE_CODE_REQUIRED','getCurrentSelections','translate(.97)','USERS_LEAVE','off-line-icon_clip0_910_343','_getSessionTicket','2340306tYJtpG','updateOfflineData','YUUMI_ALL_TABLES_IS_INVALID','CollaborationStatus','INVALID_INVITE_CODE','getRenderById','CLOSE_ROOM','endColumn','LOCAL_CACHE_INTERVAL_KEY','CommandType','setItem','assign','backgroundColor','fromEventSubject','rxjs','UniverDocs','UNRECOGNIZED','mutations','getOwnPropertySymbols','exhaustSavingTask','collab-text-anchor-','code','find','univer-flex\x20univer-items-center','IUIPartsService','SOCKET_FAILED','COMPLETION_FINISHED','NOT_FOUND','transform','setConfig','_univerInstanceService','_saveCache','arc','switchMap','getConfig','init','BehaviorSubject','purple.300','LICENSE_EXPORT_SIZE_EXCEEDED','setActiveRange','onRendered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','collabStatus.syncing','_heartbeatTimer','mapTo','@univerjs/design','post','MemberService','_scene','subunit','className','TEXT_RANGE_LAYER_INDEX','ENSURE_SNAPSHOT_EXECUTION','result','contains','_initStatusListener','BrowserCollaborationSocketService','IUniverInstanceService','Error','isActive','moveTo','TEXT','collaboration-client.offline-data-not-saved','removeParam','width','NO_OTHER_CLIENTS_EDITING','_range','_registerRenderDependencies','createInstance','setStateCache','USER_NOT_INVITED_CODE','_logService','EMAIL_VERIFY_CODE_MISMATCH','doc.mutation.rich-text-editing','InsertColCommandId','entityInit$','createElement','_scheduleClearOtherTimer','INotificationService','setTimeout','current','connectInjector','_handleEvent','displayName','handleIRemoveRow','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/rpc','startsWith','@univerjs-pro/collaboration-client','_saveTaskMap','LocaleService','816665qJfpJS','YUUMI_RATE_OVER_LIMIT','complete','_onCursorDelete','isTransformMutationFailure','_status$','toRgbString','getRelativeToViewportCoord','map','RxDisposable','override','runOnServer','includes','Plugin','PERMISSION_DENIED','drawWith','337153huYrJC','defs','YUUMI_ASYNCIO_CANCELLED','SHEET_VIEWPORT_KEY','getParam','values','closePath','_handleHeartbeatEvent','setShapeProps','ITransformService','isEditing','APPLY_REJECT','size','next','none','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scheduleSaving','IURLService','round','CHANGESET_REVISION_CONFILICT','labelPosition','INVITE_CODE_HAS_BEEN_UES','entries','[CollaborationDataLoaderController]','transformMutationsWithChangeset','_toggleOnline','toString','_instanceService','setInterval','measureText','UniverDrawing','LICENSE_MAX_UNITS_EXCEEDED','_docSyncEditingCollabCursorService','makeDirty','wsSessionTicketUrl','_messageService','replaceDocRanges','currentSkeleton$','getSheetBySheetId','off-line-icon','collab-rect-range-','DeleteRangeMoveUpCommandId','on-line-icon_clip0_910_349','useDependency','getCurrentRevOfUnit','getActiveRange','_imageIoService','show','UniverInstanceType','collabStatus.notCollab','ALREADY_EXISTS','UNIVER_SHEET','evenodd','VIEW_MAIN','onPointerEnter$','PENDING','set','_createSocketURL','_online','Failed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_drawRectRange','colorChannel1','_dataLoaderService','column','permission.title','ISocketService','_docStateChangeManagerService','UniverNetwork','_id','IConfigService','bottom','operators','@univerjs/core','href','searchParams','memberID','Vector2','sheetId','collabStatus.fetchMiss','concat','random','CONNECTOR_DATA_TOO_LARGE','...','_init','ThemeService','addClipboardHook','search','subscribeEvent','_cursor','string','_cursorInfo$','subUnitId','sheetID','_initCommandExecutedListener','react/jsx-runtime','_collaborationUIEventService','UNAUTHENTICATED','Workbook','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_AI_RUN_FAILED','_onCursorUpdate','_syncEditingCollabCursorService','UniverProCollaborationClientUi','loadUnit','getUndoRedoMutationParamsCache','requireSession','activeSheet$','_getSaveTimeout','_removeClearOtherTimer','DEFAULT_WS_SESSION_TICKET_URL','_memberService','DocSelectionManagerService','onMouseMove','_localStorageService','getSheetId','m1Prime','ILocalStorageService','CollaborationDataLoaderController','SNAPSHOT_INVALID_SNAPSHOT','addHandlerCallback','_refRangeService','_shapes','collab-client.tooltip.reconnect','takeUntil','_refreshCollabCursors','Inject','UNIVER_DOC','UnitStatus','collab-text-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onPointerLeave$','uni.network.url-service','rgba(255,\x20255,\x20255,\x200.01)','_updateCollabCursors','symbol','storage','fillStyle','collaboration.closeRoom','_name','dispose$','transformIMECache','pluginName','findNodePositionByCharIndex','throttleTime','call','_docSkeletonManagerService','status$','hide','height','_transformPreviousActiveRange','serializeRangeWithSheet','IRenderManagerService','toStringTag','UNDEFINED','runRefRangeMutations','_initEntityListener','_draw','_getAnchorBounding','fillRule','_uiPartsService','SOCKET_FAILED_RETRY','NOT_COLLAB','_getMergeRange','_docTransformSelectionsService','addEventListener','eventID','color','Warning','getValue','_configService','DependentOn','onPointerMove$','registerBeforeClose','3887217LSghHj','NodePositionConvertToRectRange','debounce','m2Prime','editingUnit','top','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','disableLocalCache','subscribe','getActiveSheet','saveOfflineData','_themeService','http://www.w3.org/2000/svg','APPLY_REVISION_CONFILICT','toDisposable','urlChange$','_docSkeleton','saveTaskMap','_colorAssignService','roomMembers$','url(#$1','session.connection-failed','unload','APPLY_DUPLICATED','ICommandService','_context','ranges','JOIN_ROOM_FAILED','onStarting','_sheetSkeletonManagerService','_cursorShapes','_localCacheService','_getScale','_hovered'];_0x434d=function(){return _0x4f9978;};return _0x434d();}
|