@univerjs-pro/collaboration-client-ui 0.10.11 → 0.10.12
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 +16 -16
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x6c52c3=_0xc584;(function(_0x327732,_0x2f751f){const _0xcb2f1b=_0xc584,_0x2d1689=_0x327732();while(!![]){try{const _0x2e74d2=parseInt(_0xcb2f1b(0x3e0))/0x1+-parseInt(_0xcb2f1b(0x38e))/0x2+-parseInt(_0xcb2f1b(0x290))/0x3+parseInt(_0xcb2f1b(0x396))/0x4+-parseInt(_0xcb2f1b(0x3d1))/0x5+parseInt(_0xcb2f1b(0x229))/0x6+-parseInt(_0xcb2f1b(0x253))/0x7*(parseInt(_0xcb2f1b(0x1f9))/0x8);if(_0x2e74d2===_0x2f751f)break;else _0x2d1689['push'](_0x2d1689['shift']());}catch(_0x270373){_0x2d1689['push'](_0x2d1689['shift']());}}}(_0x4304,0xc31cd));var Ge=Object['defineProperty'],Xe=(_0x2b62d7,_0xfd420a,_0x28aa7d)=>_0xfd420a in _0x2b62d7?Ge(_0x2b62d7,_0xfd420a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28aa7d}):_0x2b62d7[_0xfd420a]=_0x28aa7d,_=(_0x205676,_0x3a0135,_0x40dc51)=>Xe(_0x205676,typeof _0x3a0135!=_0x6c52c3(0x3b3)?_0x3a0135+'':_0x3a0135,_0x40dc51);Object[_0x6c52c3(0x3d2)](exports,Symbol[_0x6c52c3(0x1d5)],{'value':_0x6c52c3(0x419)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),R=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),L=require('react'),Ke=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),X=require('@univerjs/network'),p=require('@univerjs/docs-ui'),qe=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');var O=function(){const _0xa68dd1=_0x6c52c3;return O=Object[_0xa68dd1(0x376)]||function(_0x938469){const _0x5dcc5d=_0xa68dd1;for(var _0x720c70,_0x514965=0x1,_0x28b781=arguments[_0x5dcc5d(0x1f0)];_0x514965<_0x28b781;_0x514965++){_0x720c70=arguments[_0x514965];for(var _0x5ef009 in _0x720c70)Object[_0x5dcc5d(0x418)][_0x5dcc5d(0x28f)][_0x5dcc5d(0x3c4)](_0x720c70,_0x5ef009)&&(_0x938469[_0x5ef009]=_0x720c70[_0x5ef009]);}return _0x938469;},O[_0xa68dd1(0x435)](this,arguments);},ze=function(_0x502f12,_0x5bb590){const _0x273215=_0x6c52c3;var _0x13ead3={};for(var _0x15db27 in _0x502f12)Object[_0x273215(0x418)][_0x273215(0x28f)]['call'](_0x502f12,_0x15db27)&&_0x5bb590[_0x273215(0x433)](_0x15db27)<0x0&&(_0x13ead3[_0x15db27]=_0x502f12[_0x15db27]);if(_0x502f12!=null&&typeof Object[_0x273215(0x3e2)]==_0x273215(0x3b2)){for(var _0x313c84=0x0,_0x15db27=Object[_0x273215(0x3e2)](_0x502f12);_0x313c84<_0x15db27[_0x273215(0x1f0)];_0x313c84++)_0x5bb590['indexOf'](_0x15db27[_0x313c84])<0x0&&Object[_0x273215(0x418)]['propertyIsEnumerable'][_0x273215(0x3c4)](_0x502f12,_0x15db27[_0x313c84])&&(_0x13ead3[_0x15db27[_0x313c84]]=_0x502f12[_0x15db27[_0x313c84]]);}return _0x13ead3;},pe=L[_0x6c52c3(0x232)](function(_0x31697e,_0x460e1a){const _0x80f5d7=_0x6c52c3;var _0x205fd3=_0x31697e[_0x80f5d7(0x2ee)],_0x22c656=_0x31697e['id'],_0x5b938b=_0x31697e['className'],_0x5a4861=_0x31697e[_0x80f5d7(0x37e)],_0x520907=ze(_0x31697e,[_0x80f5d7(0x2ee),'id',_0x80f5d7(0x383),_0x80f5d7(0x37e)]),_0x5cb134=_0x80f5d7(0x292)[_0x80f5d7(0x316)](_0x22c656,'\x20')[_0x80f5d7(0x316)](_0x5b938b||'')[_0x80f5d7(0x408)](),_0x43c74d=L[_0x80f5d7(0x2c2)]('_'['concat'](Qe()));return ye(_0x205fd3,''['concat'](_0x22c656),{'defIds':_0x205fd3[_0x80f5d7(0x320)],'idSuffix':_0x43c74d['current']},O({'ref':_0x460e1a,'className':_0x5cb134},_0x520907),_0x5a4861);});function ye(_0x59d600,_0x4164f4,_0x55895a,_0x37ecf3,_0x2ad7ae){const _0x383789=_0x6c52c3;return L[_0x383789(0x3ab)](_0x59d600[_0x383789(0x1c4)],O(O({'key':_0x4164f4},Je(_0x59d600,_0x55895a,_0x2ad7ae)),_0x37ecf3),(Ze(_0x59d600,_0x55895a)[_0x383789(0x269)]||[])[_0x383789(0x32a)](function(_0x5c0f94,_0x1da221){const _0x2d7f55=_0x383789;return ye(_0x5c0f94,''[_0x2d7f55(0x316)](_0x4164f4,'-')['concat'](_0x59d600[_0x2d7f55(0x1c4)],'-')[_0x2d7f55(0x316)](_0x1da221),_0x55895a,void 0x0,_0x2ad7ae);}));}function Je(_0x4061f9,_0x26ddd8,_0x308a8c){const _0x5464c6=_0x6c52c3;var _0x50d9e5=O({},_0x4061f9[_0x5464c6(0x3fc)]);_0x308a8c!=null&&_0x308a8c[_0x5464c6(0x261)]&&_0x50d9e5[_0x5464c6(0x2fb)]===_0x5464c6(0x261)&&(_0x50d9e5[_0x5464c6(0x2fb)]=_0x308a8c[_0x5464c6(0x261)]),_0x4061f9['tag']===_0x5464c6(0x31f)&&_0x50d9e5['id']&&(_0x50d9e5['id']=_0x50d9e5['id']+_0x26ddd8[_0x5464c6(0x1f2)]),Object['entries'](_0x50d9e5)[_0x5464c6(0x1b1)](function(_0x469ffa){const _0x5ea94a=_0x5464c6;var _0x29628c=_0x469ffa[0x0],_0x2e72ec=_0x469ffa[0x1];_0x29628c==='mask'&&typeof _0x2e72ec==_0x5ea94a(0x2a8)&&(_0x50d9e5[_0x29628c]=_0x2e72ec[_0x5ea94a(0x37a)](/url\(#(.*)\)/,_0x5ea94a(0x38f)['concat'](_0x26ddd8[_0x5ea94a(0x1f2)],')')));});var _0x550ac0=_0x26ddd8['defIds'];return!_0x550ac0||_0x550ac0[_0x5464c6(0x1f0)]===0x0||(_0x4061f9['tag']===_0x5464c6(0x30f)&&_0x50d9e5[_0x5464c6(0x283)]&&(_0x50d9e5[_0x5464c6(0x283)]=_0x50d9e5[_0x5464c6(0x283)]+_0x26ddd8[_0x5464c6(0x1f2)]),Object[_0x5464c6(0x2ff)](_0x50d9e5)[_0x5464c6(0x1b1)](function(_0x43634c){const _0x59960a=_0x5464c6;var _0x24cbe6=_0x43634c[0x0],_0xba7cf4=_0x43634c[0x1];typeof _0xba7cf4==_0x59960a(0x2a8)&&(_0x50d9e5[_0x24cbe6]=_0xba7cf4[_0x59960a(0x37a)](/url\(#(.*)\)/,_0x59960a(0x38f)['concat'](_0x26ddd8[_0x59960a(0x1f2)],')')));})),_0x50d9e5;}function Ze(_0x2f961f,_0x4074f1){const _0x5a56e6=_0x6c52c3;var _0x34ef36,_0x34a49f=_0x4074f1[_0x5a56e6(0x320)];return!_0x34a49f||_0x34a49f[_0x5a56e6(0x1f0)]===0x0?_0x2f961f:_0x2f961f[_0x5a56e6(0x1c4)]===_0x5a56e6(0x21e)&&(!((_0x34ef36=_0x2f961f['children'])===null||_0x34ef36===void 0x0)&&_0x34ef36[_0x5a56e6(0x1f0)])?O(O({},_0x2f961f),{'children':_0x2f961f[_0x5a56e6(0x269)][_0x5a56e6(0x32a)](function(_0x3cc663){const _0x4a6ec6=_0x5a56e6;return typeof _0x3cc663[_0x4a6ec6(0x3fc)]['id']==_0x4a6ec6(0x2a8)&&_0x34a49f&&_0x34a49f[_0x4a6ec6(0x238)](_0x3cc663[_0x4a6ec6(0x3fc)]['id'])?O(O({},_0x3cc663),{'attrs':O(O({},_0x3cc663[_0x4a6ec6(0x3fc)]),{'id':_0x3cc663[_0x4a6ec6(0x3fc)]['id']+_0x4074f1[_0x4a6ec6(0x1f2)]})}):_0x3cc663;})}):_0x2f961f;}function Qe(){const _0x28f411=_0x6c52c3;return Math[_0x28f411(0x3fb)]()['toString'](0x24)[_0x28f411(0x3ac)](0x2,0x8);}pe[_0x6c52c3(0x322)]=_0x6c52c3(0x2a7);var et={'tag':_0x6c52c3(0x432),'attrs':{'xmlns':_0x6c52c3(0x2b2),'fill':_0x6c52c3(0x3f3),'viewBox':'0\x200\x2016\x2016','width':_0x6c52c3(0x28b),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x6c52c3(0x1ae)},'children':[{'tag':_0x6c52c3(0x1b5),'attrs':{'stroke':_0x6c52c3(0x414),'d':_0x6c52c3(0x2b3),'strokeLinecap':_0x6c52c3(0x22e),'strokeLinejoin':_0x6c52c3(0x22e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x6c52c3(0x3b6),'attrs':{'id':_0x6c52c3(0x405)},'children':[{'tag':_0x6c52c3(0x1b5),'attrs':{'fill':_0x6c52c3(0x3d5),'d':_0x6c52c3(0x426)}}]}]}],'defIds':[_0x6c52c3(0x405)]},xe=L[_0x6c52c3(0x232)](function(_0xb6f038,_0x35f5a2){const _0x5134f6=_0x6c52c3;return L[_0x5134f6(0x3ab)](pe,Object[_0x5134f6(0x376)]({},_0xb6f038,{'id':'off-line-icon','ref':_0x35f5a2,'icon':et}));});xe[_0x6c52c3(0x322)]=_0x6c52c3(0x30a);var tt={'tag':'svg','attrs':{'xmlns':_0x6c52c3(0x2b2),'fill':_0x6c52c3(0x3f3),'viewBox':_0x6c52c3(0x43b),'width':_0x6c52c3(0x28b),'height':_0x6c52c3(0x28b)},'children':[{'tag':'g','attrs':{'clipPath':_0x6c52c3(0x36e)},'children':[{'tag':_0x6c52c3(0x1b5),'attrs':{'stroke':_0x6c52c3(0x414),'d':'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','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x6c52c3(0x3a4)},'children':[{'tag':_0x6c52c3(0x1b5),'attrs':{'fill':_0x6c52c3(0x3d5),'d':_0x6c52c3(0x426),'transform':'translate(.97)'}}]}]}],'defIds':[_0x6c52c3(0x3a4)]},$e=L[_0x6c52c3(0x232)](function(_0xbd6205,_0x5f495f){const _0x1fdc16=_0x6c52c3;return L[_0x1fdc16(0x3ab)](pe,Object[_0x1fdc16(0x376)]({},_0xbd6205,{'id':'on-line-icon','ref':_0x5f495f,'icon':tt}));});$e[_0x6c52c3(0x322)]=_0x6c52c3(0x34e);function st(_0x419256){const _0x37f113=_0x6c52c3;switch(_0x419256){case u[_0x37f113(0x1e6)]['OFFLINE']:return _0x37f113(0x3a6);case u[_0x37f113(0x1e6)][_0x37f113(0x1f3)]:return _0x37f113(0x369);case u[_0x37f113(0x1e6)][_0x37f113(0x2e1)]:return _0x37f113(0x24c);case u[_0x37f113(0x1e6)][_0x37f113(0x340)]:return'collabStatus.notCollab';case u[_0x37f113(0x1e6)][_0x37f113(0x1a4)]:case u[_0x37f113(0x1e6)][_0x37f113(0x273)]:return _0x37f113(0x35a);case u[_0x37f113(0x1e6)][_0x37f113(0x3c2)]:case u[_0x37f113(0x1e6)][_0x37f113(0x3f5)]:return _0x37f113(0x3d7);}}function it(_0x1f4803){const _0x1bd012=_0x6c52c3,{status$:_0x36a747}=_0x1f4803,_0x4498db=R['useObservable'](_0x36a747,u[_0x1bd012(0x1e6)][_0x1bd012(0x340)]),_0x3baf40=R['useDependency'](a[_0x1bd012(0x225)]),_0x52232d=R[_0x1bd012(0x2e0)](u[_0x1bd012(0x417)]),_0x598292=_0x4498db!==u[_0x1bd012(0x1e6)][_0x1bd012(0x415)],_0x243e70=_0x3baf40['t'](st(_0x4498db)),_0x20105e=_0x598292?P['jsx']($e,{}):P[_0x1bd012(0x1e7)](xe,{}),_0x497c3f=L['useCallback'](()=>{const _0x56bd8e=_0x1bd012;_0x598292||_0x52232d[_0x56bd8e(0x2a6)]();},[_0x598292,_0x52232d]);function _0x450772(){const _0x3996ea=_0x1bd012;return P[_0x3996ea(0x22b)](_0x3996ea(0x3e3),{'className':_0x3996ea(0x27a),'onClick':_0x497c3f,'children':[P['jsx'](_0x3996ea(0x3e3),{'className':T['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x598292,'univer-text-red-500':!_0x598292}),'children':_0x20105e}),P[_0x3996ea(0x1e7)]('div',{'className':_0x3996ea(0x2d3),'children':_0x243e70})]});}return _0x598292?_0x450772():P['jsx'](T[_0x1bd012(0x39a)],{'title':_0x3baf40['t'](_0x1bd012(0x1d1)),'children':_0x450772()});}var nt=Object[_0x6c52c3(0x2ac)],rt=(_0x36e97b,_0x537fe4,_0x1443dd,_0x24c34e)=>{const _0x34d184=_0x6c52c3;for(var _0x4b414a=_0x24c34e>0x1?void 0x0:_0x24c34e?nt(_0x537fe4,_0x1443dd):_0x537fe4,_0x132522=_0x36e97b[_0x34d184(0x1f0)]-0x1,_0x2ac1a1;_0x132522>=0x0;_0x132522--)(_0x2ac1a1=_0x36e97b[_0x132522])&&(_0x4b414a=_0x2ac1a1(_0x4b414a)||_0x4b414a);return _0x4b414a;},q=(_0x2927e1,_0x321451)=>(_0x49024a,_0x29b6ef)=>_0x321451(_0x49024a,_0x29b6ef,_0x2927e1);exports[_0x6c52c3(0x2e9)]=class extends a['Disposable']{constructor(_0x5d0e62,_0x297ccd,_0x242b48,_0x3a01fe){const _0x283dec=_0x6c52c3;super(),_(this,'_status$',new I['BehaviorSubject'](u[_0x283dec(0x1e6)][_0x283dec(0x340)])),(this['_univerInstanceService']=_0x5d0e62,this[_0x283dec(0x3a1)]=_0x297ccd,this[_0x283dec(0x1de)]=_0x242b48,this[_0x283dec(0x3a9)]=_0x3a01fe,this[_0x283dec(0x3a0)](),this[_0x283dec(0x2b8)]());}['_initStatusListener'](){const _0x47b2e2=_0x6c52c3;this[_0x47b2e2(0x392)](this[_0x47b2e2(0x3dd)][_0x47b2e2(0x1d2)][_0x47b2e2(0x1b7)](I[_0x47b2e2(0x41c)](()=>{const _0x4f0630=_0x47b2e2,_0x2203f9=this[_0x4f0630(0x3dd)][_0x4f0630(0x279)]();return _0x2203f9?this[_0x4f0630(0x1de)][_0x4f0630(0x367)](_0x2203f9['getUnitId']()):I['of'](null);}),I[_0x47b2e2(0x41c)](_0x38a9ba=>_0x38a9ba?_0x38a9ba['status$']:I['of'](u['CollaborationStatus'][_0x47b2e2(0x340)])))[_0x47b2e2(0x403)](_0x53c2ad=>{const _0xc84374=_0x47b2e2;this[_0xc84374(0x3f8)][_0xc84374(0x2c9)](_0x53c2ad);}));}[_0x6c52c3(0x3a0)](){const _0x32a85e=_0x6c52c3;this[_0x32a85e(0x392)](this['_uiPartsService']['registerComponent'](R[_0x32a85e(0x3fa)][_0x32a85e(0x1c9)],()=>R[_0x32a85e(0x1ff)](ot({'status$':this[_0x32a85e(0x3f8)]['asObservable']()}),this[_0x32a85e(0x3a1)])));}},exports['DesktopCollaborationStatusDisplayController']=rt([q(0x0,a['IUniverInstanceService']),q(0x1,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x1f7)])),q(0x2,a['Inject'](u[_0x6c52c3(0x3a5)])),q(0x3,R[_0x6c52c3(0x393)])],exports[_0x6c52c3(0x2e9)]);function ot(_0x392a1b){const {status$:_0x5571a1}=_0x392a1b;return function(){return P['jsx'](it,{'status$':_0x5571a1});};}const Te=a[_0x6c52c3(0x40a)](_0x6c52c3(0x318));var at=Object[_0x6c52c3(0x2ac)],ct=(_0x468c46,_0x5027e2,_0x14e9d9,_0x5dabd3)=>{const _0x3b724d=_0x6c52c3;for(var _0x54ca7d=_0x5dabd3>0x1?void 0x0:_0x5dabd3?at(_0x5027e2,_0x14e9d9):_0x5027e2,_0x212875=_0x468c46[_0x3b724d(0x1f0)]-0x1,_0x3d52d2;_0x212875>=0x0;_0x212875--)(_0x3d52d2=_0x468c46[_0x212875])&&(_0x54ca7d=_0x3d52d2(_0x54ca7d)||_0x54ca7d);return _0x54ca7d;},Y=(_0x410c1b,_0x1e052e)=>(_0x49db1f,_0x4d33bc)=>_0x1e052e(_0x49db1f,_0x4d33bc,_0x410c1b);exports[_0x6c52c3(0x3f2)]=class extends a[_0x6c52c3(0x358)]{constructor(_0xeee457,_0x3785a8,_0x4dddbf,_0x465e1a,_0x3c0a1){const _0x386b65=_0x6c52c3;super(),this['_urlService']=_0xeee457,this[_0x386b65(0x1db)]=_0x3785a8,this['_commandService']=_0x4dddbf,this[_0x386b65(0x2a4)]=_0x465e1a,_0x3c0a1?_0x3c0a1==null||_0x3c0a1[_0x386b65(0x360)]()[_0x386b65(0x1f1)](()=>this[_0x386b65(0x39e)]()):(this['_logService'][_0x386b65(0x21a)](_0x386b65(0x180),_0x386b65(0x3f6)),this['_init']());}async[_0x6c52c3(0x39e)](){const _0x19bd14=_0x6c52c3,_0x2f9695=this['_urlService'][_0x19bd14(0x23e)]('unit'),_0x313ba1=this[_0x19bd14(0x2e3)][_0x19bd14(0x23e)](_0x19bd14(0x333)),_0x350dd2=this['_urlService']['getParam'](_0x19bd14(0x3bf));if(!_0x2f9695||!_0x313ba1){this[_0x19bd14(0x1db)]['debug'](_0x19bd14(0x180),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x24442e=await this[_0x19bd14(0x2a4)][_0x19bd14(0x35d)](_0x2f9695,Number(_0x313ba1),_0x350dd2);_0x24442e&&_0x24442e instanceof a[_0x19bd14(0x23d)]&&this[_0x19bd14(0x33e)](_0x24442e);}async[_0x6c52c3(0x33e)](_0x2d4708){const _0xe5efe2=_0x6c52c3;await this[_0xe5efe2(0x388)](_0x2d4708),_0x2d4708[_0xe5efe2(0x270)]['pipe'](I[_0xe5efe2(0x3c3)](this[_0xe5efe2(0x359)]))['subscribe'](_0x387d1d=>{_0x387d1d&&this['_updateURLWithCurrentState'](_0x387d1d);}),this[_0xe5efe2(0x2e3)]['urlChange$'][_0xe5efe2(0x1b7)](I[_0xe5efe2(0x3c3)](this['dispose$']))[_0xe5efe2(0x403)](()=>this[_0xe5efe2(0x388)](_0x2d4708));}[_0x6c52c3(0x2be)](_0x402033,_0x472f2b=!0x1){const _0x41bfcc=_0x6c52c3,_0xc272b1=this['_urlService'][_0x41bfcc(0x23e)](_0x41bfcc(0x3bf));_0x402033[_0x41bfcc(0x2c6)]()!==_0xc272b1&&this[_0x41bfcc(0x2e3)][_0x41bfcc(0x329)](_0x41bfcc(0x3bf),_0x402033['getSheetId'](),_0x472f2b);}async[_0x6c52c3(0x388)](_0x116a03){const _0x37c10b=_0x6c52c3;var _0x4781a2;const _0x2c0f9d=this['_urlService'][_0x37c10b(0x23e)](_0x37c10b(0x3bf));if(!_0x2c0f9d||!_0x116a03[_0x37c10b(0x375)](_0x2c0f9d)){const _0x5829e8=_0x116a03['getUnhiddenWorksheets']()[0x0],_0x4ae30d=_0x116a03[_0x37c10b(0x375)](_0x5829e8);if(!_0x4ae30d)return;this[_0x37c10b(0x2be)](_0x4ae30d,!0x0),await this[_0x37c10b(0x25f)][_0x37c10b(0x319)](v[_0x37c10b(0x342)]['id'],{'unitId':_0x116a03['getUnitId'](),'subUnitId':_0x5829e8});return;}((_0x4781a2=_0x116a03['getActiveSheet']())==null?void 0x0:_0x4781a2[_0x37c10b(0x2c6)]())!==_0x2c0f9d&&await this[_0x37c10b(0x25f)][_0x37c10b(0x319)](v[_0x37c10b(0x342)]['id'],{'unitId':_0x116a03[_0x37c10b(0x411)](),'subUnitId':_0x2c0f9d});}},exports[_0x6c52c3(0x3f2)]=ct([Y(0x0,Te),Y(0x1,a[_0x6c52c3(0x2ca)]),Y(0x2,a[_0x6c52c3(0x391)]),Y(0x3,a['Inject'](u['DataLoaderService'])),Y(0x4,a[_0x6c52c3(0x1b6)](Ke[_0x6c52c3(0x1e5)]))],exports['CollaborationDataLoaderController']);var lt=Object[_0x6c52c3(0x2ac)],_t=(_0x427223,_0x5c32d5,_0x4a0b88,_0x1dc2e1)=>{const _0x30f383=_0x6c52c3;for(var _0x4dde01=_0x1dc2e1>0x1?void 0x0:_0x1dc2e1?lt(_0x5c32d5,_0x4a0b88):_0x5c32d5,_0x4050ec=_0x427223[_0x30f383(0x1f0)]-0x1,_0xbfa1f4;_0x4050ec>=0x0;_0x4050ec--)(_0xbfa1f4=_0x427223[_0x4050ec])&&(_0x4dde01=_0xbfa1f4(_0x4dde01)||_0x4dde01);return _0x4dde01;},be=(_0x3bca9f,_0x404bfe)=>(_0x113f2b,_0x1ef57c)=>_0x404bfe(_0x113f2b,_0x1ef57c,_0x3bca9f);let fe=class extends a['RxDisposable']{constructor(_0x901f71,_0x2233b1){const _0x190624=_0x6c52c3;super(),this[_0x190624(0x2f2)]=_0x901f71,this[_0x190624(0x25d)]=_0x2233b1,this['_init']();}[_0x6c52c3(0x39e)](){const _0x2d67e5=_0x6c52c3,_0x13be75=this;this[_0x2d67e5(0x392)](this[_0x2d67e5(0x2f2)][_0x2d67e5(0x348)]({'onBeforePasteImage':async _0x2cf500=>{const _0xfe82bc=_0x2d67e5,_0x33ae02=await _0x13be75[_0xfe82bc(0x25d)]['saveImage'](_0x2cf500);return _0x33ae02?{'source':_0x33ae02[_0xfe82bc(0x1ad)],'imageSourceType':_0x33ae02[_0xfe82bc(0x255)]}:null;}}));}};fe=_t([be(0x0,p[_0x6c52c3(0x188)]),be(0x1,qe[_0x6c52c3(0x30d)])],fe);const De=[_0x6c52c3(0x399),_0x6c52c3(0x1bf),_0x6c52c3(0x42d),_0x6c52c3(0x307),_0x6c52c3(0x3a8),'yellow.400'];class Oe extends a[_0x6c52c3(0x413)]{constructor(){const _0x127670=_0x6c52c3;super(...arguments),_(this,_0x127670(0x345),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x7a6688){const _0x17fba7=_0x6c52c3;if(this['_assignedColors'][_0x17fba7(0x27c)](_0x7a6688))return this[_0x17fba7(0x345)][_0x17fba7(0x285)](_0x7a6688);const _0x57d2c7=De[this['_colorIndex']];return this[_0x17fba7(0x309)]=(this[_0x17fba7(0x309)]+0x1)%De[_0x17fba7(0x1f0)],this['_assignedColors'][_0x17fba7(0x33f)](_0x7a6688,_0x57d2c7),_0x57d2c7;}}function Be(_0x592639){const _0x1f32a1=_0x6c52c3;let _0x4903d1='';for(const _0x14b420 of _0x592639){const {startOffset:_0x1626d1,endOffset:_0xe17052,isActive:_0x4b4c62,rangeType:_0x4f6df7,segmentId:_0x5623b7,segmentPage:_0x5a15dd}=_0x14b420;_0x4903d1[_0x1f32a1(0x1f0)]&&(_0x4903d1+=','),_0x4903d1+=_0x1626d1+':'+_0xe17052+':'+(_0x4b4c62?'1':'0')+':'+_0x4f6df7+':'+_0x5623b7+':'+_0x5a15dd;}return _0x4903d1;}function ht(_0x265472){const _0x3dbd5b=_0x6c52c3,_0x473a65=_0x265472[_0x3dbd5b(0x382)](','),_0x2fffbb=[];for(const _0x3d18f6 of _0x473a65){const [_0x285f45,_0x4a2e35,_0x39c56f,_0x17cf9e,_0x25a077,_0x1537c4]=_0x3d18f6[_0x3dbd5b(0x382)](':');_0x2fffbb[_0x3dbd5b(0x221)]({'startOffset':Number(_0x285f45),'endOffset':Number(_0x4a2e35),'collapsed':_0x285f45===_0x4a2e35,'isActive':_0x39c56f==='1','rangeType':_0x17cf9e===a[_0x3dbd5b(0x3f9)][_0x3dbd5b(0x206)]?a[_0x3dbd5b(0x3f9)][_0x3dbd5b(0x206)]:a[_0x3dbd5b(0x3f9)][_0x3dbd5b(0x3c9)],'segmentId':typeof _0x25a077==_0x3dbd5b(0x2a8)?String(_0x25a077):'','segmentPage':Number(_0x1537c4!=null?_0x1537c4:-0x1)});}return _0x2fffbb['some'](_0x3b6797=>_0x3b6797[_0x3dbd5b(0x310)])||(_0x2fffbb[0x0][_0x3dbd5b(0x310)]=!0x0),_0x2fffbb;}class Re extends a[_0x6c52c3(0x358)]{constructor(){const _0x5236da=_0x6c52c3;super(...arguments),_(this,_0x5236da(0x2cd),new I[(_0x5236da(0x22c))](null)),_(this,_0x5236da(0x1ea),this[_0x5236da(0x2cd)][_0x5236da(0x2f3)]());}[_0x6c52c3(0x420)](_0x4bd439){const _0x1a7971=_0x6c52c3,{unitID:_0x19e8f4,memberID:_0x2fd13c,textRanges:_0x211954}=_0x4bd439,_0x27a956=Be(_0x211954);if(_0x27a956==='')return;const _0x22d1e9={'unitID':_0x19e8f4,'memberID':_0x2fd13c,'selection':_0x27a956};this[_0x1a7971(0x2cd)][_0x1a7971(0x2c9)](_0x22d1e9);}}var ut=Object[_0x6c52c3(0x2ac)],It=(_0x5abe5c,_0x837874,_0xc7ec87,_0x12deb2)=>{const _0x5945e8=_0x6c52c3;for(var _0xc26621=_0x12deb2>0x1?void 0x0:_0x12deb2?ut(_0x837874,_0xc7ec87):_0x837874,_0xb4e469=_0x5abe5c[_0x5945e8(0x1f0)]-0x1,_0x31a6a0;_0xb4e469>=0x0;_0xb4e469--)(_0x31a6a0=_0x5abe5c[_0xb4e469])&&(_0xc26621=_0x31a6a0(_0xc26621)||_0xc26621);return _0xc26621;},M=(_0x144c45,_0x5ce4cf)=>(_0x4b2138,_0x4d4b76)=>_0x5ce4cf(_0x4b2138,_0x4d4b76,_0x144c45);const dt=0x12c,St=0x64;let me=class extends a[_0x6c52c3(0x358)]{constructor(_0x5cd5cd,_0x16c39e,_0x3531d4,_0x54c7c1,_0x7ceef2,_0x51e857,_0x2e4824,_0x2174d7,_0x221c1d){const _0x5d236f=_0x6c52c3;super(),_(this,_0x5d236f(0x3cc),!0x1),_(this,_0x5d236f(0x39e),!0x1),_(this,_0x5d236f(0x428),new I[(_0x5d236f(0x22c))](new Map())),_(this,_0x5d236f(0x1cc),this['_cursorInfo$'][_0x5d236f(0x2f3)]()),_(this,_0x5d236f(0x1a2),new I['BehaviorSubject']([])),_(this,'roomMembers$',this[_0x5d236f(0x1a2)][_0x5d236f(0x1b7)](I['debounceTime'](dt))),_(this,_0x5d236f(0x3e6),a[_0x5d236f(0x3d3)](_0x2f2e63=>{const _0x3b4018=_0x5d236f,_0x4f6dbd={'eventID':g[_0x3b4018(0x3e1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3b4018(0x2ec)],'memberID':this[_0x3b4018(0x354)][_0x3b4018(0x18a)](),'selection':Be(_0x2f2e63)}};this[_0x3b4018(0x354)][_0x3b4018(0x346)](_0x4f6dbd,this['unitID']);},St)),(this[_0x5d236f(0x2ec)]=_0x5cd5cd,this['_session']=_0x16c39e,this[_0x5d236f(0x3a1)]=_0x3531d4,this[_0x5d236f(0x2d9)]=_0x54c7c1,this['_memberService']=_0x7ceef2,this[_0x5d236f(0x3c5)]=_0x51e857,this[_0x5d236f(0x3ce)]=_0x2e4824,this[_0x5d236f(0x3dd)]=_0x2174d7,this[_0x5d236f(0x25f)]=_0x221c1d);}get[_0x6c52c3(0x2fa)](){const _0x8ce41b=_0x6c52c3;return this[_0x8ce41b(0x428)][_0x8ce41b(0x2fc)]();}get[_0x6c52c3(0x32e)](){const _0x47a61d=_0x6c52c3;return this[_0x47a61d(0x1a2)][_0x47a61d(0x2fc)]();}[_0x6c52c3(0x18d)](){const _0x4a2fdc=_0x6c52c3;super[_0x4a2fdc(0x18d)](),this[_0x4a2fdc(0x428)][_0x4a2fdc(0x2c9)](new Map()),this['_cursorInfo$'][_0x4a2fdc(0x401)](),this[_0x4a2fdc(0x1a2)][_0x4a2fdc(0x2c9)]([]),this[_0x4a2fdc(0x1a2)]['complete']();}[_0x6c52c3(0x1a3)](){const _0xeda5b=_0x6c52c3;this[_0xeda5b(0x39e)]||(this[_0xeda5b(0x39e)]=!0x0,this[_0xeda5b(0x354)]['sessionStatus$'][_0xeda5b(0x1b7)](I['takeUntil'](this[_0xeda5b(0x359)]))[_0xeda5b(0x403)](_0x16f4d3=>{const _0x23876d=_0xeda5b;_0x16f4d3===u[_0x23876d(0x3b5)]['ONLINE']?this[_0x23876d(0x3f4)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](I['takeUntil'](this['dispose$']))[_0xeda5b(0x403)](_0x544980=>{const _0x32d9c4=_0xeda5b,_0x4e093f=_0x544980[_0x32d9c4(0x21d)];_0x4e093f===g[_0x32d9c4(0x3e1)][_0x32d9c4(0x2b5)]&&this[_0x32d9c4(0x361)](_0x544980),_0x4e093f===g[_0x32d9c4(0x3e1)][_0x32d9c4(0x3ef)]&&this[_0x32d9c4(0x1a8)](_0x544980);}),this['disposeWithMe'](this['_commandService'][_0xeda5b(0x22f)](_0x4b6b22=>{const _0x19ec50=_0xeda5b,_0x1fa898=_0x4b6b22[_0x19ec50(0x2f4)];_0x1fa898!=null&&this[_0x19ec50(0x3cc)]&&_0x4b6b22['id']===V[_0x19ec50(0x3d0)]['id']&&_0x1fa898['unitId']===this[_0x19ec50(0x2ec)]&&_0x1fa898['isEditing']===!0x1&&_0x1fa898[_0x19ec50(0x1c2)][_0x19ec50(0x1f0)]>0x0&&this[_0x19ec50(0x3e6)](_0x1fa898['ranges']);})),this[_0xeda5b(0x3c5)]['collabCursorState$'][_0xeda5b(0x1b7)](I[_0xeda5b(0x3c3)](this['dispose$']))['subscribe'](_0x53273a=>{const _0x3df368=_0xeda5b;if((_0x53273a==null?void 0x0:_0x53273a[_0x3df368(0x2ec)])!==this[_0x3df368(0x2ec)])return;const _0x42d742={'eventID':g[_0x3df368(0x3e1)][_0x3df368(0x2b5)],'data':_0x53273a};this[_0x3df368(0x361)](_0x42d742);}),this[_0xeda5b(0x392)](this['_commandService'][_0xeda5b(0x22f)](_0x148664=>{const _0x248469=_0xeda5b;if(_0x148664[_0x248469(0x2f4)]==null)return;const _0x15a219=_0x148664[_0x248469(0x2f4)];if(_0x148664['id']!==V[_0x248469(0x381)]['id']||_0x15a219[_0x248469(0x2b7)]!==this[_0x248469(0x2ec)])return;const _0x4b5b35={'id':_0x248469(0x339),'params':_0x15a219},_0x1606fd=this[_0x248469(0x2fa)];for(const [_0x203237,_0x1964fd]of _0x1606fd){const _0x31c64b={'id':_0x248469(0x339),'params':{'unitId':this[_0x248469(0x2ec)],'actions':null,'textRanges':_0x1964fd[_0x248469(0x1c2)]}},_0x3f3b3f=this[_0x248469(0x3ce)][_0x248469(0x1a1)](_0x4b5b35,_0x31c64b,!0x1);if(g[_0x248469(0x294)](_0x3f3b3f))throw _0x3f3b3f[_0x248469(0x384)];_0x1606fd['set'](_0x203237,{..._0x1964fd,'ranges':_0x3f3b3f['m2Prime'][_0x248469(0x2f4)][_0x248469(0x350)]});}queueMicrotask(()=>{const _0x36468f=_0x248469;this[_0x36468f(0x428)][_0x36468f(0x2c9)](_0x1606fd);});})));}[_0x6c52c3(0x361)](_0x5d24f6){const _0x403953=_0x6c52c3;var _0x293275,_0x20bda0;const {memberID:_0x23b3ec,selection:_0xa0a730}=_0x5d24f6['data'],_0x343aed=ht(_0xa0a730),_0xe57414=(_0x20bda0=(_0x293275=this[_0x403953(0x18b)][_0x403953(0x335)](this[_0x403953(0x2ec)],_0x23b3ec))==null?void 0x0:_0x293275[_0x403953(0x402)])!=null?_0x20bda0:'Unknown\x20user',_0x29a2f5={'color':this[_0x403953(0x2d9)][_0x403953(0x230)](_0x23b3ec),'name':_0xe57414,'ranges':_0x343aed},_0x6658ec=this[_0x403953(0x2fa)];_0x6658ec[_0x403953(0x33f)](_0x23b3ec,_0x29a2f5),this[_0x403953(0x428)][_0x403953(0x2c9)](_0x6658ec);}['_onCursorDelete'](_0x58965b){const _0x1e3a12=_0x6c52c3,{memberID:_0x69e272}=_0x58965b[_0x1e3a12(0x219)],_0x1be2b6=this['cursorInfo'];_0x1be2b6[_0x1e3a12(0x41a)](_0x69e272),this[_0x1e3a12(0x428)][_0x1e3a12(0x2c9)](_0x1be2b6);}[_0x6c52c3(0x3f4)](){const _0x4a681e=_0x6c52c3;var _0x1113b6;if(this[_0x4a681e(0x3cc)]=!0x0,((_0x1113b6=this[_0x4a681e(0x3dd)][_0x4a681e(0x279)]())==null?void 0x0:_0x1113b6[_0x4a681e(0x411)]())!==this[_0x4a681e(0x2ec)])return;const _0x40fb70=this[_0x4a681e(0x3a1)][_0x4a681e(0x285)](V[_0x4a681e(0x343)])['getDocRanges']();Array[_0x4a681e(0x24b)](_0x40fb70)&&_0x40fb70['length']>0x0&&this[_0x4a681e(0x3e6)](_0x40fb70);}[_0x6c52c3(0x202)](){const _0x3376d9=_0x6c52c3;this[_0x3376d9(0x3cc)]=!0x1;}};me=It([M(0x2,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x1f7)])),M(0x3,a['Inject'](Oe)),M(0x4,a['Inject'](u['MemberService'])),M(0x5,a['Inject'](Re)),M(0x6,g[_0x6c52c3(0x24a)]),M(0x7,a[_0x6c52c3(0x40e)]),M(0x8,a[_0x6c52c3(0x391)])],me);var ft=Object[_0x6c52c3(0x2ac)],mt=(_0x34be9d,_0x118148,_0xb9271f,_0x1c68df)=>{for(var _0x72094e=_0x1c68df>0x1?void 0x0:_0x1c68df?ft(_0x118148,_0xb9271f):_0x118148,_0x3b4bfb=_0x34be9d['length']-0x1,_0x57864d;_0x3b4bfb>=0x0;_0x3b4bfb--)(_0x57864d=_0x34be9d[_0x3b4bfb])&&(_0x72094e=_0x57864d(_0x72094e)||_0x72094e);return _0x72094e;},y=(_0x47aa3e,_0x21fe08)=>(_0x268766,_0xfd0f9b)=>_0x21fe08(_0x268766,_0xfd0f9b,_0x47aa3e);const vt=0x12c,gt=0x64,Et=()=>{let _0x4d8378=[],_0x454b91=!0x1;return _0x4ed4b2=>{const _0x348d06=_0xc584;_0x4d8378[_0x348d06(0x221)](_0x4ed4b2),_0x454b91||(_0x454b91=!0x0,setTimeout(()=>{_0x4d8378['forEach'](_0x5d53fb=>_0x5d53fb()),_0x4d8378=[],_0x454b91=!0x1;}));};};let ve=class extends a[_0x6c52c3(0x358)]{constructor(_0x49cb13,_0x5489e7,_0x16c8c3,_0x517e82,_0x1e29af,_0x229f0a,_0x6d07fd,_0x3a15ea){const _0x402884=_0x6c52c3;super(),_(this,_0x402884(0x3cc),!0x1),_(this,_0x402884(0x39e),!0x1),_(this,_0x402884(0x428),new I[(_0x402884(0x22c))](new Map())),_(this,_0x402884(0x1cc),this['_cursorInfo$']['asObservable']()),_(this,_0x402884(0x1a2),new I[(_0x402884(0x22c))]([])),_(this,_0x402884(0x262),this[_0x402884(0x1a2)][_0x402884(0x1b7)](I['debounceTime'](vt))),_(this,_0x402884(0x3e6),a[_0x402884(0x3d3)]((_0x56e162,_0x1b06ef)=>{const _0x518812=_0x402884,_0x3f3b75={'eventID':g[_0x518812(0x3e1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x518812(0x2ec)],'memberID':this['_session'][_0x518812(0x18a)](),'selection':B[_0x518812(0x372)](_0x56e162,_0x1b06ef[_0x518812(0x404)])}};this['_session']['send'](_0x3f3b75,this[_0x518812(0x2ec)]);},gt)),(this[_0x402884(0x2ec)]=_0x49cb13,this[_0x402884(0x354)]=_0x5489e7,this[_0x402884(0x3a1)]=_0x16c8c3,this[_0x402884(0x2d9)]=_0x517e82,this[_0x402884(0x18b)]=_0x1e29af,this['_univerInstanceService']=_0x229f0a,this[_0x402884(0x25f)]=_0x6d07fd,this[_0x402884(0x228)]=_0x3a15ea);}get[_0x6c52c3(0x2fa)](){const _0x10bf4e=_0x6c52c3;return this[_0x10bf4e(0x428)][_0x10bf4e(0x2fc)]();}get['roomMembers'](){const _0x5ea693=_0x6c52c3;return this[_0x5ea693(0x1a2)][_0x5ea693(0x2fc)]();}[_0x6c52c3(0x18d)](){const _0x48a590=_0x6c52c3;super[_0x48a590(0x18d)](),this[_0x48a590(0x428)][_0x48a590(0x2c9)](new Map()),this['_cursorInfo$'][_0x48a590(0x401)](),this[_0x48a590(0x1a2)][_0x48a590(0x2c9)]([]),this[_0x48a590(0x1a2)][_0x48a590(0x401)]();}[_0x6c52c3(0x1a3)](){const _0x591134=_0x6c52c3;this[_0x591134(0x39e)]||(this['_init']=!0x0,this[_0x591134(0x354)][_0x591134(0x1cf)][_0x591134(0x1b7)](I['takeUntil'](this[_0x591134(0x359)]))[_0x591134(0x403)](_0x556eab=>{const _0x2df48f=_0x591134;_0x556eab===u[_0x2df48f(0x3b5)][_0x2df48f(0x406)]?this[_0x2df48f(0x3f4)]():this[_0x2df48f(0x202)]();}),this['_session']['event$']['pipe'](I[_0x591134(0x3c3)](this[_0x591134(0x359)]))[_0x591134(0x403)](_0xad9bbb=>{const _0x4ff613=_0x591134,_0x2bc03a=_0xad9bbb[_0x4ff613(0x21d)];_0x2bc03a===g['CollaborationEvent'][_0x4ff613(0x2b5)]&&this[_0x4ff613(0x361)](_0xad9bbb),_0x2bc03a===g[_0x4ff613(0x3e1)][_0x4ff613(0x3ef)]&&this[_0x4ff613(0x1a8)](_0xad9bbb);}),this[_0x591134(0x3d9)](),this[_0x591134(0x392)](this[_0x591134(0x25f)][_0x591134(0x22f)](_0x5653af=>{const _0x259224=_0x591134;if(this[_0x259224(0x3cc)]&&_0x5653af['id']===v[_0x259224(0x357)]['id']&&_0x5653af[_0x259224(0x2f4)]['unitId']===this[_0x259224(0x2ec)]){const _0x5b8d39=_0x5653af['params'];this[_0x259224(0x3e6)](_0x5b8d39[_0x259224(0x3ed)],_0x5b8d39[_0x259224(0x242)][0x0]);}})));}[_0x6c52c3(0x361)](_0x1f096b){const _0x58c3ea=_0x6c52c3;var _0xe18c4d,_0x11fb00;const {memberID:_0x526692,selection:_0x5a2769}=_0x1f096b['data'],{sheetName:_0x5145cd,range:_0x2eeac1}=B[_0x58c3ea(0x27d)](_0x5a2769),_0x24981a={'name':(_0x11fb00=(_0xe18c4d=this['_memberService'][_0x58c3ea(0x335)](this['unitID'],_0x526692))==null?void 0x0:_0xe18c4d['name'])!=null?_0x11fb00:'Unknown\x20user','range':this[_0x58c3ea(0x3da)](_0x5145cd,_0x2eeac1),'sheetID':_0x5145cd,'color':this[_0x58c3ea(0x2d9)]['assignAColorForMemberID'](_0x526692),'selection':_0x5a2769},_0x4bfc2e=this[_0x58c3ea(0x2fa)];_0x4bfc2e[_0x58c3ea(0x33f)](_0x526692,_0x24981a),this[_0x58c3ea(0x428)][_0x58c3ea(0x2c9)](_0x4bfc2e);}['_onCursorDelete'](_0x49435a){const _0x3399c1=_0x6c52c3,{memberID:_0x1254a5}=_0x49435a['data'],_0x4c7055=this[_0x3399c1(0x2fa)];_0x4c7055[_0x3399c1(0x41a)](_0x1254a5),this[_0x3399c1(0x428)]['next'](_0x4c7055);}[_0x6c52c3(0x3da)](_0x625402,_0x37e7cf){const _0x559775=_0x6c52c3;var _0x2ab6cd,_0xdb53c9;const _0x3cc341=(_0xdb53c9=(_0x2ab6cd=this[_0x559775(0x3dd)]['getUniverSheetInstance'](this[_0x559775(0x2ec)]))==null?void 0x0:_0x2ab6cd[_0x559775(0x375)](_0x625402))==null?void 0x0:_0xdb53c9[_0x559775(0x30b)]();return(_0x3cc341==null?void 0x0:_0x3cc341[_0x559775(0x2db)](_0x441b34=>a[_0x559775(0x3bc)][_0x559775(0x3cd)](_0x441b34,_0x37e7cf)))||_0x37e7cf;}[_0x6c52c3(0x3d9)](){const _0x291a33=_0x6c52c3,_0x33c7b7=new a[(_0x291a33(0x437))](),_0x227837=Et(),_0x22e3c2=()=>{const _0x53f63f=_0x291a33;_0x33c7b7[_0x53f63f(0x18d)]();const _0x204144=(_0xb916a7,_0x1d9dd5,_0x5e2fe2,_0x454956)=>{const _0x3ec64d=_0x53f63f;let _0x8d5ab9=[];switch(_0xb916a7['id']){case v[_0x3ec64d(0x3a7)][_0x3ec64d(0x434)]:{_0x8d5ab9=v[_0x3ec64d(0x40c)](_0xb916a7,_0x454956);break;}case v[_0x3ec64d(0x3a7)][_0x3ec64d(0x3c8)]:{_0x8d5ab9=v[_0x3ec64d(0x1ca)](_0xb916a7,_0x454956);break;}case v['EffectRefRangId'][_0x3ec64d(0x3f1)]:{_0x8d5ab9=v[_0x3ec64d(0x3f0)](_0xb916a7,_0x454956);break;}case v[_0x3ec64d(0x3a7)]['InsertRangeMoveDownCommandId']:{_0x8d5ab9=v['handleInsertRangeMoveDown'](_0xb916a7,_0x454956);break;}case v['EffectRefRangId'][_0x3ec64d(0x3ba)]:{_0x8d5ab9=v[_0x3ec64d(0x1f4)](_0xb916a7,_0x454956);break;}case v[_0x3ec64d(0x3a7)][_0x3ec64d(0x36a)]:{_0x8d5ab9=v[_0x3ec64d(0x421)](_0xb916a7,_0x454956);break;}case v['EffectRefRangId']['MoveRangeCommandId']:{_0x8d5ab9=v[_0x3ec64d(0x3e8)](_0xb916a7,_0x454956);break;}case v[_0x3ec64d(0x3a7)][_0x3ec64d(0x1a6)]:{_0x8d5ab9=v[_0x3ec64d(0x311)](_0xb916a7,_0x454956);break;}case v[_0x3ec64d(0x3a7)]['RemoveRowCommandId']:{_0x8d5ab9=v['handleIRemoveRow'](_0xb916a7,_0x454956);break;}}const _0x16c3c4=v[_0x3ec64d(0x355)](_0x8d5ab9,_0x454956),_0x323bde=this['cursorInfo']['get'](_0x1d9dd5);if(_0x323bde&&_0x16c3c4){const _0x32cd87={..._0x323bde,'range':_0x16c3c4};this[_0x3ec64d(0x2fa)]['set'](_0x1d9dd5,_0x32cd87),_0x227837(()=>{const _0x19f8ad=_0x3ec64d,_0x4c249f=this['_refRangeService']['registerRefRange'](_0x16c3c4,_0x40e187=>(_0x4c249f[_0x19f8ad(0x18d)](),_0x204144(_0x40e187,_0x1d9dd5,_0x5e2fe2,_0x16c3c4)));_0x33c7b7['add'](_0x4c249f);});}return{'redos':[],'undos':[]};};this[_0x53f63f(0x2fa)][_0x53f63f(0x1b1)]((_0x40d1dd,_0x24f563)=>{const _0x42ed30=_0x53f63f,{range:_0x217951,sheetID:_0x47d2cd}=_0x40d1dd,_0x131d45=this[_0x42ed30(0x228)][_0x42ed30(0x239)](_0x217951,_0x1800de=>(_0x131d45['dispose'](),_0x204144(_0x1800de,_0x24f563,_0x47d2cd,_0x217951)));_0x33c7b7[_0x42ed30(0x194)](_0x131d45);});};this[_0x291a33(0x392)](a[_0x291a33(0x1aa)](this[_0x291a33(0x428)][_0x291a33(0x403)](()=>{_0x22e3c2();})));}[_0x6c52c3(0x3f4)](){const _0x34e094=_0x6c52c3;var _0x8885f1,_0x5efc13;if(this[_0x34e094(0x3cc)]=!0x0,((_0x8885f1=this['_univerInstanceService'][_0x34e094(0x279)]())==null?void 0x0:_0x8885f1[_0x34e094(0x411)]())!==this[_0x34e094(0x2ec)])return;const _0x31c659=(_0x5efc13=this[_0x34e094(0x3a1)][_0x34e094(0x285)](v[_0x34e094(0x1dd)])[_0x34e094(0x2da)]())==null?void 0x0:_0x5efc13[0x0],_0x5328d0=this[_0x34e094(0x3dd)][_0x34e094(0x363)](a[_0x34e094(0x3ec)][_0x34e094(0x24e)])['getActiveSheet']();_0x31c659&&_0x5328d0&&this[_0x34e094(0x3e6)](_0x5328d0[_0x34e094(0x2c6)](),_0x31c659);}[_0x6c52c3(0x202)](){this['_online']=!0x1;}};ve=mt([y(0x2,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x1f7)])),y(0x3,a[_0x6c52c3(0x1ee)](Oe)),y(0x4,a[_0x6c52c3(0x1ee)](u[_0x6c52c3(0x248)])),y(0x5,a['IUniverInstanceService']),y(0x6,a[_0x6c52c3(0x391)]),y(0x7,a[_0x6c52c3(0x1ee)](v[_0x6c52c3(0x258)]))],ve);var Ct=Object[_0x6c52c3(0x2ac)],pt=(_0x37f076,_0x576f2e,_0xff3e2,_0x36de38)=>{const _0x760a10=_0x6c52c3;for(var _0x3f32fc=_0x36de38>0x1?void 0x0:_0x36de38?Ct(_0x576f2e,_0xff3e2):_0x576f2e,_0x470c24=_0x37f076[_0x760a10(0x1f0)]-0x1,_0xa0f315;_0x470c24>=0x0;_0x470c24--)(_0xa0f315=_0x37f076[_0x470c24])&&(_0x3f32fc=_0xa0f315(_0x3f32fc)||_0x3f32fc);return _0x3f32fc;},ae=(_0x56b3e6,_0x5df91c)=>(_0x54c8ab,_0x1140ff)=>_0x5df91c(_0x54c8ab,_0x1140ff,_0x56b3e6);let F=class extends a[_0x6c52c3(0x358)]{constructor(_0x39c5bb,_0x2cb034,_0x374684){const _0x5f0c48=_0x6c52c3;super(),_(this,_0x5f0c48(0x247),new Map()),_(this,_0x5f0c48(0x2b4),new I[(_0x5f0c48(0x1c1))]()),(this[_0x5f0c48(0x3dd)]=_0x39c5bb,this[_0x5f0c48(0x3a1)]=_0x2cb034,this[_0x5f0c48(0x324)]=_0x374684,this[_0x5f0c48(0x39e)]());}[_0x6c52c3(0x18d)](){const _0x50c0ec=_0x6c52c3;super[_0x50c0ec(0x18d)](),this[_0x50c0ec(0x2b4)][_0x50c0ec(0x401)](),this[_0x50c0ec(0x247)][_0x50c0ec(0x1b1)](_0x216851=>_0x216851[_0x50c0ec(0x18d)]());}[_0x6c52c3(0x430)](_0x35d48d){const _0x3bf615=_0x6c52c3;return this['_entities'][_0x3bf615(0x27c)](_0x35d48d)?this['_entities'][_0x3bf615(0x285)](_0x35d48d)[_0x3bf615(0x1cc)]:this[_0x3bf615(0x2b4)][_0x3bf615(0x1b7)](I['filter'](_0x49ceda=>_0x49ceda['unitID']===_0x35d48d),I['switchMap'](_0x3aa61e=>_0x3aa61e[_0x3bf615(0x1cc)]));}[_0x6c52c3(0x39e)](){const _0x5ae4ca=_0x6c52c3;this[_0x5ae4ca(0x3dd)]['getTypeOfUnitAdded$'](a[_0x5ae4ca(0x3ec)]['UNIVER_SHEET'])['pipe'](I['takeUntil'](this[_0x5ae4ca(0x359)]))['subscribe'](async _0x18e5fd=>{const _0x12ab15=_0x5ae4ca,_0x531278=_0x18e5fd[_0x12ab15(0x411)](),_0x55fe23=await this[_0x12ab15(0x1c5)](_0x531278);this[_0x12ab15(0x2b4)][_0x12ab15(0x2c9)](_0x55fe23),this[_0x12ab15(0x247)]['set'](_0x531278,_0x55fe23);}),this[_0x5ae4ca(0x3dd)][_0x5ae4ca(0x2f7)](a[_0x5ae4ca(0x3ec)]['UNIVER_DOC'])[_0x5ae4ca(0x1b7)](I[_0x5ae4ca(0x3c3)](this[_0x5ae4ca(0x359)]))[_0x5ae4ca(0x1b7)](I['filter'](_0x42c535=>!_0x42c535['getUnitId']()[_0x5ae4ca(0x326)]('__')))[_0x5ae4ca(0x403)](async _0x158084=>{const _0x5b1d6b=_0x5ae4ca,_0x167e7c=_0x158084[_0x5b1d6b(0x411)](),_0x4c79da=await this[_0x5b1d6b(0x379)](_0x167e7c);this['_entityInit$'][_0x5b1d6b(0x2c9)](_0x4c79da),this['_entities'][_0x5b1d6b(0x33f)](_0x167e7c,_0x4c79da);}),I[_0x5ae4ca(0x3ff)](this[_0x5ae4ca(0x3dd)][_0x5ae4ca(0x28c)](a[_0x5ae4ca(0x3ec)][_0x5ae4ca(0x231)]),this['_univerInstanceService'][_0x5ae4ca(0x28c)](a[_0x5ae4ca(0x3ec)][_0x5ae4ca(0x24e)]))[_0x5ae4ca(0x1b7)](I[_0x5ae4ca(0x3c3)](this['dispose$']))[_0x5ae4ca(0x403)](_0x151d26=>{const _0x3a937b=_0x5ae4ca,_0x50004d=_0x151d26[_0x3a937b(0x411)](),_0x1a1ded=this['_entities'][_0x3a937b(0x285)](_0x50004d);_0x1a1ded&&(_0x1a1ded[_0x3a937b(0x18d)](),this[_0x3a937b(0x247)]['delete'](_0x50004d));});}async['_startSheetCollabCursor'](_0xce4da5){const _0x459788=_0x6c52c3,_0x3fa18b=await this['_collabSessionService'][_0x459788(0x43e)](_0xce4da5),_0x537c4e=this[_0x459788(0x3a1)][_0x459788(0x20b)](ve,_0xce4da5,_0x3fa18b);return _0x537c4e[_0x459788(0x1a3)](),_0x537c4e;}async[_0x6c52c3(0x379)](_0x406e95){const _0x5c1e5b=_0x6c52c3,_0x54a6c1=await this[_0x5c1e5b(0x324)][_0x5c1e5b(0x43e)](_0x406e95),_0x23eccb=this[_0x5c1e5b(0x3a1)]['createInstance'](me,_0x406e95,_0x54a6c1);return _0x23eccb[_0x5c1e5b(0x1a3)](),_0x23eccb;}};F=pt([ae(0x0,a[_0x6c52c3(0x40e)]),ae(0x1,a['Inject'](a[_0x6c52c3(0x1f7)])),ae(0x2,a[_0x6c52c3(0x1ee)](u[_0x6c52c3(0x417)]))],F);const K=0x14,Ne=0xc8,ce=0x4,Tt=0x5;function Ot(_0x1b5d9f,_0x2ecf56){const _0x45ecf3=_0x6c52c3;let {radius:_0x3708a5,width:_0x82dfe0,height:_0xcff00f}=_0x2ecf56;_0x3708a5=_0x3708a5!=null?_0x3708a5:0x0,_0x82dfe0=_0x82dfe0!=null?_0x82dfe0:0x1e,_0xcff00f=_0xcff00f!=null?_0xcff00f:0x1e;let _0x3ac00b=0x0,_0x4d6b4c=0x0,_0x224f98=0x0;_0x3ac00b=_0x4d6b4c=_0x224f98=Math['min'](_0x3708a5,_0x82dfe0/0x2,_0xcff00f/0x2),_0x1b5d9f[_0x45ecf3(0x192)](),_0x1b5d9f[_0x45ecf3(0x257)](_0x3ac00b,0x0),_0x1b5d9f[_0x45ecf3(0x3e5)](_0x82dfe0-_0x4d6b4c,0x0),_0x1b5d9f[_0x45ecf3(0x3cb)](_0x82dfe0-_0x4d6b4c,_0x4d6b4c,_0x4d6b4c,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b5d9f['lineTo'](_0x82dfe0,_0xcff00f-_0x224f98),_0x1b5d9f[_0x45ecf3(0x3cb)](_0x82dfe0-_0x224f98,_0xcff00f-_0x224f98,_0x224f98,0x0,Math['PI']/0x2,!0x1),_0x1b5d9f[_0x45ecf3(0x3e5)](0x0,_0xcff00f),_0x1b5d9f['lineTo'](0x0,_0x3ac00b),_0x1b5d9f[_0x45ecf3(0x3cb)](_0x3ac00b,_0x3ac00b,_0x3ac00b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b5d9f[_0x45ecf3(0x422)](),_0x2ecf56[_0x45ecf3(0x2fb)]&&(_0x1b5d9f['save'](),_0x1b5d9f[_0x45ecf3(0x2f6)]=_0x2ecf56[_0x45ecf3(0x2fb)],_0x2ecf56[_0x45ecf3(0x2b6)]===_0x45ecf3(0x3b9)?_0x1b5d9f['fill'](_0x45ecf3(0x3b9)):_0x1b5d9f['fill'](),_0x1b5d9f[_0x45ecf3(0x39f)]());}class ne extends C[_0x6c52c3(0x265)]{constructor(_0x191a32,_0x57e2d6){const _0x17fe73=_0x6c52c3;super(_0x191a32,_0x57e2d6),_(this,_0x17fe73(0x2fe)),_(this,'text'),(this['color']=_0x57e2d6==null?void 0x0:_0x57e2d6[_0x17fe73(0x2fe)],this['text']=_0x57e2d6==null?void 0x0:_0x57e2d6[_0x17fe73(0x2d7)]);}static[_0x6c52c3(0x2c5)](_0x1842f,_0x34e02c){const _0x11f356=_0x6c52c3,{text:_0x528e5d,color:_0x1afc97}=_0x34e02c;_0x1842f[_0x11f356(0x314)](),_0x1842f['font']=_0x11f356(0x2b1);const _0x356e73=_0x1842f[_0x11f356(0x344)](_0x528e5d)[_0x11f356(0x37f)],_0x3fe5c4=Math['min'](_0x356e73+0x2*ce,Ne);Ot(_0x1842f,{'height':K,'radius':0x4,'width':_0x3fe5c4,'fill':_0x1afc97}),_0x1842f[_0x11f356(0x2f6)]=_0x11f356(0x226);const _0x4ee401=ce,_0xba8498=K-Tt,_0x38a3d6=Ne-0x2*ce;if(_0x356e73>_0x38a3d6){let _0x273222='',_0x26884d=0x0;for(const _0x22024e of _0x528e5d){const _0x3352c3=_0x1842f['measureText'](_0x22024e)['width'];if(_0x26884d+_0x3352c3<=_0x38a3d6-_0x1842f[_0x11f356(0x344)](_0x11f356(0x182))['width'])_0x273222+=_0x22024e,_0x26884d+=_0x3352c3;else{_0x273222+='...';break;}}_0x1842f[_0x11f356(0x18c)](_0x273222,_0x4ee401,_0xba8498);}else _0x1842f[_0x11f356(0x18c)](_0x528e5d,_0x4ee401,_0xba8498);_0x1842f[_0x11f356(0x39f)]();}[_0x6c52c3(0x2dc)](_0x363174){const _0x30f66e=_0x6c52c3;ne[_0x30f66e(0x2c5)](_0x363174,this);}}const le=_0x6c52c3(0x185),Rt=_0x6c52c3(0x1d9),bt=_0x6c52c3(0x334),H=0x6,Dt=1.5,_e=0x4,Nt=1.5,Ut=_0x6c52c3(0x33d);class Ue{constructor(_0x4ee993,_0x444c1b,_0x3bca80,_0x484656){const _0x2904c4=_0x6c52c3;_(this,_0x2904c4(0x268),[]),_(this,_0x2904c4(0x1ce),null),_(this,'_textBubble',null),_(this,_0x2904c4(0x20c),null),_(this,'_hideTimer',null),_(this,_0x2904c4(0x2d2),null),(this['_cursor']=_0x4ee993,this['_scene']=_0x444c1b,this['_docSkeleton']=_0x3bca80,this['_document']=_0x484656,this[_0x2904c4(0x3e7)]());}set[_0x6c52c3(0x38d)](_0x166e53){const _0x30e090=_0x6c52c3;_0x166e53?(this[_0x30e090(0x20c)]&&this[_0x30e090(0x20c)][_0x30e090(0x1ab)](),this['_textBubble']&&this[_0x30e090(0x2ae)][_0x30e090(0x1d3)]()):(this[_0x30e090(0x20c)]&&this[_0x30e090(0x20c)][_0x30e090(0x1d3)](),this[_0x30e090(0x2ae)]&&this['_textBubble'][_0x30e090(0x1ab)]());}[_0x6c52c3(0x18d)](){const _0x5c6699=_0x6c52c3;for(const _0x528d29 of this['_shapes'])_0x528d29[_0x5c6699(0x18d)]();this[_0x5c6699(0x2ae)]&&this['_textBubble'][_0x5c6699(0x18d)](),this[_0x5c6699(0x20c)]&&this[_0x5c6699(0x20c)]['dispose'](),this[_0x5c6699(0x1ce)]&&this[_0x5c6699(0x1ce)]['dispose'](),this[_0x5c6699(0x2d2)]&&this[_0x5c6699(0x2d2)]();}[_0x6c52c3(0x3e7)](){const _0xb04406=_0x6c52c3;var _0x1b501c;const {_docSkeleton:_0x4fe517,_document:_0x398696}=this,{color:_0x568f20,name:_0x11c0ad,ranges:_0x5c9f7f}=this['_cursor'],_0x30ba48=_0x398696[_0xb04406(0x35c)](),{docsLeft:_0x217f4e,docsTop:_0x368be5}=_0x30ba48,_0x4a0918=new p['NodePositionConvertToCursor'](_0x30ba48,_0x4fe517);for(const {startOffset:_0x296020,endOffset:_0x2ce6fd,rangeType:_0x57d7ae,segmentId:_0x245ad3,segmentPage:_0x4e2a81,collapsed:_0x242350,isActive:_0x441827}of _0x5c9f7f){const _0x590768=_0x4fe517[_0xb04406(0x2d5)](_0x296020,!0x0,_0x245ad3,_0x4e2a81);let _0x389c07=_0x4fe517[_0xb04406(0x2d5)](_0x2ce6fd,!0x0,_0x245ad3,_0x4e2a81);if(_0x389c07==null&&(_0x389c07=_0x4fe517[_0xb04406(0x2d5)](_0x2ce6fd-0x1,!0x1,_0x245ad3,_0x4e2a81)),_0x441827){const {contentBoxPointGroup:_0x2c7401}=_0x4a0918['getRangePointData'](_0x389c07,_0x389c07);if(_0x2c7401['length']===0x0)continue;this[_0xb04406(0x2f9)](_0x568f20,_0x2c7401,_0x217f4e,_0x368be5,_0x11c0ad),this[_0xb04406(0x2d2)]=this['_handleHover']();}if(_0x590768&&_0x389c07){if(_0x57d7ae===a[_0xb04406(0x3f9)][_0xb04406(0x3c9)]){const _0x1b05ec=new p[(_0xb04406(0x3f7))](_0x30ba48,_0x4fe517),{pointGroup:_0x32ffae}=(_0x1b501c=_0x1b05ec[_0xb04406(0x289)](_0x590768,_0x389c07))!=null?_0x1b501c:{};if(_0x32ffae==null||_0x32ffae[_0xb04406(0x1f0)]===0x0)continue;this[_0xb04406(0x184)](_0x568f20,_0x32ffae,_0x217f4e,_0x368be5);}else{if(!_0x242350){const {borderBoxPointGroup:_0x49ba19}=_0x4a0918[_0xb04406(0x289)](_0x590768,_0x389c07);if(_0x49ba19[_0xb04406(0x1f0)]===0x0)continue;this[_0xb04406(0x276)](_0x568f20,_0x49ba19,_0x217f4e,_0x368be5);}}}}}[_0x6c52c3(0x2f9)](_0x1f94c3,_0x1d105c,_0x41ec89,_0x36df61,_0x56727c){const _0x12d09e=_0x6c52c3,_0xf84657=this[_0x12d09e(0x286)](_0x1d105c),{left:_0xd07d05,top:_0x4fd14a,height:_0x353c80}=_0xf84657,_0x22a0fb=this[_0x12d09e(0x352)](),_0x53e490=Nt/_0x22a0fb,_0x329f02=new C['Rect'](le+a[_0x12d09e(0x254)](H),{'left':_0xd07d05+_0x41ec89-_0x53e490,'top':_0x4fd14a+_0x36df61,'height':_0x353c80,'width':Dt,'fill':_0x1f94c3||C['getColor'](a[_0x12d09e(0x267)]['black'],0x0),'strokeWidth':_0x53e490,'stroke':Ut,'evented':!0x0});this[_0x12d09e(0x1ce)]=_0x329f02,this[_0x12d09e(0x2d4)][_0x12d09e(0x2fd)](_0x329f02,p[_0x12d09e(0x19a)]);const _0x3dbdb4=new C['Rect'](le+a[_0x12d09e(0x254)](H),{'left':_0xd07d05+_0x41ec89-_0x53e490,'top':_0x4fd14a+_0x36df61-_e/0x2,'height':_e,'width':_e,'fill':_0x1f94c3||C[_0x12d09e(0x1ef)](a[_0x12d09e(0x267)][_0x12d09e(0x2ba)],0x0),'strokeWidth':0x0,'stroke':_0x1f94c3||C['getColor'](a['COLORS'][_0x12d09e(0x2ba)],0x0),'evented':!0x1});this[_0x12d09e(0x20c)]=_0x3dbdb4,this[_0x12d09e(0x2d4)][_0x12d09e(0x2fd)](_0x3dbdb4,p['TEXT_RANGE_LAYER_INDEX']);const _0x288260=new ne(le+a['generateRandomId'](H),{'left':_0xd07d05+_0x41ec89-_0x53e490,'top':_0x4fd14a+_0x36df61-K,'text':_0x56727c,'color':_0x1f94c3});this['_textBubble']=_0x288260,this[_0x12d09e(0x2d4)]['addObject'](_0x288260,p['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x6c52c3(0x227)](){const _0x3f9ec5=_0x6c52c3,_0x15496a=this[_0x3f9ec5(0x1ce)][_0x3f9ec5(0x2d8)]['subscribeEvent'](()=>{const _0x33cd5c=_0x3f9ec5;this[_0x33cd5c(0x38d)]=!0x0;}),_0x50c9e7=this[_0x3f9ec5(0x1ce)][_0x3f9ec5(0x24d)][_0x3f9ec5(0x34d)](()=>{const _0x4ff4cb=_0x3f9ec5;this[_0x4ff4cb(0x33a)]&&clearTimeout(this[_0x4ff4cb(0x33a)]),this['_hideTimer']=setTimeout(()=>{const _0x1c6dd9=_0x4ff4cb;this[_0x1c6dd9(0x38d)]=!0x1;},0x7d0);});return()=>{const _0x276cec=_0x3f9ec5;_0x15496a[_0x276cec(0x3a2)](),_0x50c9e7['unsubscribe']();};}[_0x6c52c3(0x276)](_0x3719f9,_0x5ea9b4,_0x4c1555,_0x5a773b){const _0x1d7fbe=_0x6c52c3,_0x1eb119=new a[(_0x1d7fbe(0x207))](_0x3719f9)[_0x1d7fbe(0x323)](0.2)[_0x1d7fbe(0x29f)](),_0x1eaa66=new C[(_0x1d7fbe(0x1a7))](Rt+a[_0x1d7fbe(0x254)](H),{'pointsGroup':_0x5ea9b4,'fill':_0x1eb119||C[_0x1d7fbe(0x1ef)](a['COLORS'][_0x1d7fbe(0x2ba)],0.2),'left':_0x4c1555,'top':_0x5a773b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d7fbe(0x268)][_0x1d7fbe(0x221)](_0x1eaa66),this[_0x1d7fbe(0x2d4)]['addObject'](_0x1eaa66,p[_0x1d7fbe(0x19a)]);}[_0x6c52c3(0x184)](_0x289ee0,_0x2199da,_0x23eac3,_0x48fa78){const _0x485925=_0x6c52c3,_0x327529=new a[(_0x485925(0x207))](_0x289ee0)['setAlpha'](0.2)[_0x485925(0x29f)](),_0xe503fb=new C[(_0x485925(0x1a7))](bt+a[_0x485925(0x254)](H),{'pointsGroup':_0x2199da,'fill':_0x327529||C[_0x485925(0x1ef)](a['COLORS'][_0x485925(0x2ba)],0.2),'left':_0x23eac3,'top':_0x48fa78,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x485925(0x221)](_0xe503fb),this[_0x485925(0x2d4)]['addObject'](_0xe503fb,p[_0x485925(0x19a)]);}[_0x6c52c3(0x286)](_0x1832d3){const _0x39f17b=_0x1832d3[0x0],_0x1acbb5=_0x39f17b[0x0],_0x2864f7=_0x39f17b[0x2],{x:_0x13ba6f,y:_0x3f19de}=_0x1acbb5,{x:_0x160ef9,y:_0x23c226}=_0x2864f7;return{'left':_0x13ba6f,'top':_0x3f19de,'width':_0x160ef9-_0x13ba6f,'height':_0x23c226-_0x3f19de};}[_0x6c52c3(0x352)](){const _0x4e9a38=_0x6c52c3,{scaleX:_0x2b9e2d,scaleY:_0x78aae6}=this['_scene'][_0x4e9a38(0x1a5)]();return Math['max'](_0x2b9e2d,_0x78aae6);}}var Lt=Object['getOwnPropertyDescriptor'],Mt=(_0x1ad104,_0x1587a1,_0x31d010,_0x4f660a)=>{const _0x35e775=_0x6c52c3;for(var _0x4db0af=_0x4f660a>0x1?void 0x0:_0x4f660a?Lt(_0x1587a1,_0x31d010):_0x1587a1,_0x584114=_0x1ad104[_0x35e775(0x1f0)]-0x1,_0x5aff27;_0x584114>=0x0;_0x584114--)(_0x5aff27=_0x1ad104[_0x584114])&&(_0x4db0af=_0x5aff27(_0x4db0af)||_0x4db0af);return _0x4db0af;},z=(_0xe0e6b4,_0x5acdf1)=>(_0x253eec,_0x457aa7)=>_0x5acdf1(_0x253eec,_0x457aa7,_0xe0e6b4);let ge=class extends a[_0x6c52c3(0x358)]{constructor(_0x3d440e,_0x898720,_0xc3bf3c,_0x54a6d8,_0x13f1b8){const _0xe8d4a4=_0x6c52c3;super(),_(this,'_cursorShapes',[]),_(this,_0xe8d4a4(0x43c),[]),(this['_context']=_0x3d440e,this[_0xe8d4a4(0x3b4)]=_0x898720,this[_0xe8d4a4(0x1d8)]=_0xc3bf3c,this[_0xe8d4a4(0x25f)]=_0x54a6d8,this[_0xe8d4a4(0x278)]=_0x13f1b8,this['_init']());}[_0x6c52c3(0x39e)](){const _0x380ab7=_0x6c52c3,_0xe6dde5=this[_0x380ab7(0x33c)][_0x380ab7(0x2b7)],_0x586bf9=this[_0x380ab7(0x3b4)];this['disposeWithMe'](I['combineLatest']([this[_0x380ab7(0x1d8)][_0x380ab7(0x430)](_0xe6dde5),this[_0x380ab7(0x278)][_0x380ab7(0x1f6)]])[_0x380ab7(0x1b7)]($[_0x380ab7(0x32a)](([_0x40d4b0,_0x23539e])=>({'skeleton':_0x586bf9[_0x380ab7(0x205)](),'cursors':[..._0x40d4b0['values']()]['flatMap'](_0x48ad69=>({..._0x48ad69,'color':this['_themeService'][_0x380ab7(0x25c)](_0x48ad69[_0x380ab7(0x2fe)])}))})))['subscribe'](_0x3f9245=>{const _0x5f62af=_0x380ab7;if(this['_removeCollabCursors'](),_0x3f9245){const {skeleton:_0x58a725,cursors:_0x3398b7}=_0x3f9245;this[_0x5f62af(0x2cf)](_0x58a725,_0x3398b7);}})),this[_0x380ab7(0x181)](),this[_0x380ab7(0x394)]();}[_0x6c52c3(0x2cf)](_0x366208,_0x52da26){const _0x2c0e2c=_0x6c52c3,{scene:_0x2a1c40,mainComponent:_0x5e719e}=this['_context'],_0x250c9c=_0x52da26[_0x2c0e2c(0x32a)](_0xa7f80d=>new Ue(_0xa7f80d,_0x2a1c40,_0x366208,_0x5e719e));this[_0x2c0e2c(0x385)]=_0x250c9c,this['_cursors']=_0x52da26;}[_0x6c52c3(0x241)](){const _0x21be4f=_0x6c52c3;this['_removeCollabCursors']();const {scene:_0x155cc7,mainComponent:_0x144752}=this['_context'],_0x30a2c9=this[_0x21be4f(0x3b4)][_0x21be4f(0x205)](),_0xd749f5=this[_0x21be4f(0x43c)][_0x21be4f(0x32a)](_0x5e6f87=>new Ue(_0x5e6f87,_0x155cc7,_0x30a2c9,_0x144752));this[_0x21be4f(0x385)]=_0xd749f5;}[_0x6c52c3(0x3bd)](){const _0x1004fc=_0x6c52c3;this[_0x1004fc(0x385)][_0x1004fc(0x1b1)](_0x28eca3=>_0x28eca3[_0x1004fc(0x18d)]()),this[_0x1004fc(0x385)]=[];}[_0x6c52c3(0x394)](){const _0x4244a6=_0x6c52c3,_0x5a42d7=[p[_0x4244a6(0x19c)]['id']];this['disposeWithMe'](this[_0x4244a6(0x25f)][_0x4244a6(0x22f)](_0x1dcb16=>{const _0x59b6a2=_0x4244a6;_0x5a42d7[_0x59b6a2(0x238)](_0x1dcb16['id'])&&_0x1dcb16[_0x59b6a2(0x2f4)][_0x59b6a2(0x2b7)]===this[_0x59b6a2(0x33c)][_0x59b6a2(0x2b7)]&&this['_refreshCollabCursors']();}));}[_0x6c52c3(0x181)](){const _0x57df4c=_0x6c52c3;this['disposeWithMe'](a[_0x57df4c(0x1e3)](this[_0x57df4c(0x33c)][_0x57df4c(0x3c6)][_0x57df4c(0x1a0)])[_0x57df4c(0x1b7)]($[_0x57df4c(0x280)](_0x478d0e=>_0x478d0e[_0x57df4c(0x333)]===C[_0x57df4c(0x1e9)][_0x57df4c(0x325)]),$[_0x57df4c(0x31c)](0x10))[_0x57df4c(0x403)](()=>{this['_refreshCollabCursors']();}));}};function _0x4304(){const _0x75122e=['_uiPartsService','INVALID_ARGUMENT','createElement','substring','_beforeCloseService','searchParams','stageInfo','actions','popstate','function','symbol','_docSkeletonManagerService','SessionStatus','clipPath','_clearPolling','REDEMPTION_INVALID_CODE','evenodd','InsertRangeMoveRightCommandId','LOCAL_CACHE_INTERVAL_KEY','Rectangle','_removeCollabCursors','hovered','subunit','endColumn','shareReplay','SYNCED','takeUntil','call','_syncEditingCollabCursorService','engine','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DeleteRangeMoveUpCommandId','RECT','releaseFormulaLimitUrl','arc','_online','contains','_transformService','_checkCalculationAvailable','SetTextSelectionsOperation','967200tvSkcj','defineProperty','debounce','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','white','_saveCache','collabStatus.synced','USER_NOT_INVITED_CODE','_onRefRangeChange','_getMergeRange','clearTimeout','ALREADY_EXISTS','_univerInstanceService','_removeClearOtherTimer','collaboration.single-unit.warning','1338237EaElzD','CollaborationEvent','getOwnPropertySymbols','div','INVITE_CODE_REQUIRED','lineTo','_updateLocalCursor','_render','handleMoveRange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ILocalCacheService','sessionTicket','UniverInstanceType','subUnitId','SOCKET_FAILED_RETRY','USERS_LEAVE','handleInsertCol','InsertColCommandId','CollaborationDataLoaderController','none','_toggleOnline','PENDING','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','NodePositionConvertToRectRange','_status$','DOC_RANGE_TYPE','BuiltInUIPart','random','attrs','WECHAT_HAS_BEEN_BOUND','setTimeout','merge','totalFormulasToCalculate','complete','name','subscribe','range','off-line-icon_clip0_910_343','ONLINE','enableLocalCache','trim','saveTaskMap','createIdentifier','_heartbeatTimer','handleDeleteRangeMoveLeft','_disabled','IUniverInstanceService','_doCreateSocket','setItem','getUnitId','LICENSE_DISTRO_REJECTED','Disposable','currentColor','OFFLINE','now','CollaborationSessionService','prototype','Module','delete','removeParam','switchMap','YUUMI_RATE_OVER_LIMIT','UNAUTHENTICATED','OTHER_CLIENTS_EDITING','syncEditingCollabCursor','handleInsertRow','closePath','YUUMI_ASYNCIO_CANCELLED','replaceState','_currentUsage','M0\x200H16V16H0z','_localStorageService','_cursorInfo$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_docSyncEditingCollabCursorService','_docTransformSelectionsService','href','green.600','_name','Success','getCollabCursors$','registerRenderModule','svg','indexOf','DeleteRangeMoveLeftCommandId','apply','urlChange$','DisposableCollection','pushState','limitInfo','combineLatest','0\x200\x2017\x2016','_cursors','saveOfflineData','requireSession','[CollaborationDataLoaderController]','_initResize','...','body','_drawRectRange','collab-text-anchor-','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','START_CALCULATION','IDocClipboardService','getUndoRedoMutationParamsCache','getMemberID','_memberService','fillText','dispose','fromEvent','getActiveRange','_sheetSkeletonManagerService','addEventListener','beginPath','getConfig','add','REDEMPTION_USER_NOT_ELIGIBLE','_config','_scheduleHeartbeat','DocIMEInputManagerService','_labelPosition','TEXT_RANGE_LAYER_INDEX','FormulaExecutedStateType','SetDocZoomRatioOperation','getLocalCacheKey','APPLY_NON_SEQUENTIAL_REVISION','UnitStatus','onTransformChange$','transformMutation','_roomMembers$','init','AWAITING','getAncestorScale','RemoveColCommandId','RegularPolygon','_onCursorDelete','_getFormulaLimitStatus','toDisposable','hide','WebURLService','source','url(#off-line-icon_clip0_910_343)','YUUMI_NO_CUBOID_FOR_QUESTION','runOnServer','forEach','backgroundColor','_lastPointer','mapTo','path','Optional','pipe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_id','_backgroundColor','setInterval','top','getViewport','session.connection-failed','jiqing.500','_maxFormulaLimit','Subject','ranges','getCoordByCell','tag','_startSheetCollabCursor','AUTHORIZE_CODE_ILLEGAL','CURRENT_STATUS_CANNOT_OPERATE','IMessageService','HEADER_MENU','handleDeleteRangeMoveUp','_saveTaskMap','cursorInfo$','createSocket','_anchor','sessionStatus$','values','collab-client.tooltip.reconnect','focused$','show','getUnitStatus$','toStringTag','onMouseMove','_checkAndWaitForCalculationPermission','_collabCursorController','collab-text-range-','transformIMECache','_logService','USER_IS_ANONYMOUS','SheetsSelectionsService','_collaborationController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','parse','YUUMI_ALL_TABLES_IS_INVALID','getStateCache','fromEventSubject','session.will-retry','IRemoteInstanceService','CollaborationStatus','jsx','_transformUndoRedoStack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabCursorState$','_scheduleClearOtherTimer','_initDependencies','_configService','Inject','getColor','length','then','idSuffix','CONFLICT','handleInsertRangeMoveRight','MOBILE_HAS_BEEN_BOUND','currentTheme$','Injector','PERMISSION_DENIED','2874376UWJokw','VIEW_MAIN','ENTITLE_NEED_BILLING_ADDRESS','event$','setActiveRange','EMAIL_HAS_BEEN_BOUND','connectInjector','_taskIds','parseInt','_toggleOffline','_docTransformIMECacheService','REDEMPTION_CODE_HAS_BEEN_CREATED','getSkeleton','TEXT','ColorKit','_range','SHEET_VIEWPORT_KEY','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','_anchorDot','onStarting','_docTransformStateCacheService','m1Prime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','all','DocStateChangeManagerService','currentSkeleton$','unload','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_notificationService','mergeOverrideWithDependencies','endRow','data','debug','TOO_MANY_REQUESTS','history','eventID','defs','YUUMI_CONNECTOR_URL_NOT_FOUND','m2Prime','push','Vector2','LOGIN_TOKEN_PROCESSING_FAILED','SOCKET_FAILED','LocaleService','#FFF','_handleHover','_refRangeService','4455450CcHQkE','Rect','jsxs','BehaviorSubject','search','round','onCommandExecuted','assignAColorForMemberID','UNIVER_DOC','forwardRef','CommandType','_instanceService','from','CollaborationSocketService','_clearOtherTimers','includes','registerRefRange','_renderManagerService','LOGIN_FAILED','APPLY_REJECT','Workbook','getParam','deepClone','registerDependencies','_refreshCollabCursors','selections','CHANGESET_REVISION_CONFILICT','_send','_setupBeforeClosingHandler','getCurrent','_entities','MemberService','/universer-api/license/formula/limit/status','ITransformService','isArray','collabStatus.fetchMiss','onPointerLeave$','UNIVER_SHEET','_cachedData','updateOfflineData','DocCollaborationEntity','_ensureSubject','7mJgkND','generateRandomId','imageSourceType','transformRemoteChangeset','moveTo','RefRangeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getformulaLimitStatusUrl','invokeId','getColorFromTheme','_imageIoService','transformStateCache','_commandService','SetFormulaCalculationStartMutation','colorChannel1','roomMembers$','RemoteUniscriptService','stage','Shape','YUUMI_AI_RUN_FAILED','COLORS','_shapes','children','/universer-api/license/formula/limit/start','clearInterval','code','_httpService','IURLService','post','activeSheet$','application/json','Plugin','AWAITING_WITH_PENDING','_hovered','_lastResponseTimestamp','_drawTextRange','_startCalculationLimit','_themeService','getFocusedUnit','univer-flex\x20univer-items-center','PAYMENT_CHANNEL_NOT_SUPPORT','has','deserializeRangeWithSheet','SheetCollabCursorShape','key','filter','INVALID_INVITE_CODE','UNDEFINED','xlink:href','row','get','_getAnchorBounding','getSheetObject','_showGuardMessage','getRangePointData','mutations','1em','getTypeOfUnitDisposed$','redoState','_pollingInterval','hasOwnProperty','1372278wsDGLg','onRendered','univerjs-icon\x20univerjs-icon-','override','isTransformMutationFailure','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_color','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_localeService','WebSocketService','SNAPSHOT_INVALID_SNAPSHOT','getCurrentRevOfUnit','formula.calculation.unable','CONNECTOR_DATA_TOO_LARGE','getUnit','toRgbString','_revisionService','with','IRenderManagerService','startFormulaLimitUrl','_dataLoaderService','INTERNAL_ERROR','reconnect','UniverIcon','string','location','_initEvent','registerBeforeClose','getOwnPropertyDescriptor','ISnapshotServerService','_textBubble','storage','selection','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','http://www.w3.org/2000/svg','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','_entityInit$','UPDATE_CURSOR','fillRule','unitId','_initStatusListener','_hasFormulaInDirtyRanges','black','labelPosition','_handleEvent','MessageType','_updateURLWithCurrentState','SNAPSHOT_HAS_BEEN_REMOVED','beforeCommandExecuted','REDEMPTION_CODE_NOT_STARTED','useRef','undoState','_initCommandInterceptor','drawWith','getSheetId','HTTPService','transformSelections','next','ILogService','_getSaveTimeout','_releaseCalculationLimit','_collabCursorState$','_collaborationUIEventService','_updateCollabCursors','collaboration-client.offline-data-not-saved','session.collaboration-timeout','_eventUnsubscribe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_scene','findNodePositionByCharIndex','ERROR_AGAIN','text','onPointerEnter$','_colorAssignService','getCurrentSelections','find','_draw','isFormulaString','LICENSE_EXPORT_SIZE_EXCEEDED','CLOSE_ROOM','useDependency','FETCH_MISS','replaceDocRanges','_urlService','bottom','UNRECOGNIZED','ENTITLE_DUP_SUBSCRIPTION','_docStateChangeManagerService','_messageService','DesktopCollaborationStatusDisplayController','MOBILE_VERIFY_CODE_MISMATCH','getCellPositionByOffset','unitID','startRow','icon','getItem','_applyCommand','_initEntityListener','_docClipboardService','asObservable','params','JOIN_ROOM_FAILED','fillStyle','getTypeOfUnitAdded$','collaboration.closeRoom','_drawAnchor','cursorInfo','fill','getValue','addObject','color','entries','permission.content','_transformHistoryAndStateStack','stringify','runId','ISocketService','USER_NOT_FOUND','CollaborationUIEventId','red.300','transform','_colorIndex','OffLineIcon','getMergeData','FormulaExecuteStageType','IImageIoService','_registerDependencies','use','isActive','handleIRemoveCol','toString','SUBMIT_CHANGESET_TIMEOUT','save','COMPLETION_FINISHED','concat','_scheduleSaving','uni.network.url-service','executeCommand','ENTITLE_CAN_NOT_BUY_LOWER_OTP','setShapeProps','throttleTime','INVITE_CODE_ALREADY_BOUND','Warning','mask','defIds','sheetId','displayName','setAlpha','_collabSessionService','resize','startsWith','YUUMI_SUBSCRIPTION_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','setParam','map','DEFAULT_WS_SESSION_TICKET_URL','CollaborationUIEventService','setConfig','roomMembers','_setFormulaLimitStatus','touchDependencies','disableLocalCache','_getSheetObject','type','collab-rect-range-','getMember','DependentOn','onPointerMove$','NO_OTHER_CLIENTS_EDITING','doc.mutation.rich-text-editing','_hideTimer','IConfigService','_context','rgba(255,\x20255,\x20255,\x200.01)','_setupSubUnitSync','set','NOT_COLLAB','YUUMI_UNABLE_LOAD_URL','SetWorksheetActivateCommand','DocSelectionManagerService','measureText','_assignedColors','send','addObjects','addClipboardHook','LICENSE_MAX_UNITS_EXCEEDED','setStateCache','origin','/universer-api/license/formula/limit/done','subscribeEvent','OnLineIcon','ENTITLE_REPORT_LIMIT_EXCEED','textRanges','_selfUnitIDs','_getScale','Error','_session','runRefRangeMutations','REDEMPTION_CODE_FULLY_REDEEMED','SetSelectionsOperation','RxDisposable','dispose$','collabStatus.syncing','_createSocketURL','getOffsetConfig','loadUnit','Tools','skeleton','whenReady','_onCursorUpdate','UniverCollaborationClientUIPlugin','getCurrentUnitForType','size','APPLY_REVISION_CONFILICT','_transformPreviousActiveRange','getCollabEntity$','NOT_FOUND','collabStatus.conflict','InsertRowCommandId','_unitStatus','ThemeService','unshift','url(#on-line-icon_clip0_910_349)','APPLY_DUPLICATED','IBeforeCloseService','_getSessionTicket','serializeRangeWithSheet','_handleLeaveEvent','startColumn','getSheetBySheetId','assign','docStateChange$','column','_startDocCollabCursor','replace','formula.calculation.waiting','editingUnit','isTransformMutationsWithChangesetSuccess','extend','width','WebBrowserSingleActiveUnitService','RichTextEditingMutation','split','className','error','_cursorShapes','_handleHeartbeatEvent','exhaustSavingTask','_updateSubUnitFromURLParams','ENTITLE_CHAT_LIMIT_EXCEED','ENSURE_SNAPSHOT_EXECUTION','ticket','getRenderById','_hover','2034826JNhrxl','url(#$1','?taskId=','ICommandService','disposeWithMe','IUIPartsService','_initCommandExecutedListener','Failed','2983780quJyYR','newValue','getCellMatrix','purple.300','Tooltip','transformMutationsWithChangeset','_unitOnClients','wsSessionTicketUrl','_init','restore','_initStatusComponent','_injector','unsubscribe','_localCacheService','on-line-icon_clip0_910_349','CollaborationController','collabStatus.offline','EffectRefRangId','blue.400'];_0x4304=function(){return _0x75122e;};return _0x4304();}ge=Mt([z(0x1,a[_0x6c52c3(0x1ee)](V['DocSkeletonManagerService'])),z(0x2,a['Inject'](F)),z(0x3,a[_0x6c52c3(0x391)]),z(0x4,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x36c)]))],ge);const At=0x1,Pt=1.5;class Fe extends C[_0x6c52c3(0x265)]{constructor(_0x402888,_0x8f2a9d){const _0x4a77a5=_0x6c52c3;super(_0x402888,_0x8f2a9d),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x4a77a5(0x208)),_(this,_0x4a77a5(0x42e),''),_(this,_0x4a77a5(0x199),_0x4a77a5(0x1bc)),_(this,_0x4a77a5(0x1ba)),(_0x8f2a9d&&this[_0x4a77a5(0x31b)](_0x8f2a9d),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x4a77a5(0x31b)]({'hovered':!0x0})),this[_0x4a77a5(0x24d)][_0x4a77a5(0x34d)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x6c52c3(0x31b)](_0x5c24bc){const _0x6368d5=_0x6c52c3;var _0x7dde4,_0x41f7cf,_0x973e3f,_0x473b65,_0x48d70d,_0x2bc745;this['_color']=(_0x7dde4=_0x5c24bc[_0x6368d5(0x2fe)])!=null?_0x7dde4:this[_0x6368d5(0x296)],this[_0x6368d5(0x274)]=(_0x41f7cf=_0x5c24bc[_0x6368d5(0x3be)])!=null?_0x41f7cf:this['_hovered'],this[_0x6368d5(0x208)]=(_0x973e3f=_0x5c24bc[_0x6368d5(0x404)])!=null?_0x973e3f:this[_0x6368d5(0x208)],this['_name']=(_0x473b65=_0x5c24bc[_0x6368d5(0x402)])!=null?_0x473b65:this[_0x6368d5(0x42e)],this[_0x6368d5(0x199)]=(_0x48d70d=_0x5c24bc[_0x6368d5(0x2bb)])!=null?_0x48d70d:this['_labelPosition'],this[_0x6368d5(0x1ba)]=(_0x2bc745=_0x5c24bc[_0x6368d5(0x1b2)])!=null?_0x2bc745:this['_backgroundColor'],this['transformByState']({'width':_0x5c24bc[_0x6368d5(0x37f)],'height':_0x5c24bc['height']});}[_0x6c52c3(0x1d6)](_0x551f5a){const _0x19e1bf=_0x6c52c3,{row:_0x4c2f2c,column:_0x2f3cc4}=_0x551f5a;if(_0x4c2f2c>=this[_0x19e1bf(0x208)][_0x19e1bf(0x2ed)]&&_0x4c2f2c<=this[_0x19e1bf(0x208)][_0x19e1bf(0x218)]&&_0x2f3cc4>=this[_0x19e1bf(0x208)][_0x19e1bf(0x374)]&&_0x2f3cc4<=this[_0x19e1bf(0x208)][_0x19e1bf(0x3c0)]){this[_0x19e1bf(0x31b)]({'hovered':!0x0});return;}this[_0x19e1bf(0x31b)]({'hovered':!0x1});}['triggerDblclick'](_0x2e2105){return!0x1;}[_0x6c52c3(0x2dc)](_0x2fab22){const _0x5cc1e7=_0x6c52c3;C[_0x5cc1e7(0x22a)][_0x5cc1e7(0x2c5)](_0x2fab22,{'width':this[_0x5cc1e7(0x37f)],'height':this['height'],'strokeWidth':Pt,'stroke':this[_0x5cc1e7(0x296)],'evented':!0x1,'fill':this[_0x5cc1e7(0x1ba)]}),this['_hovered']&&(_0x2fab22['save'](),_0x2fab22[_0x5cc1e7(0x308)](0x1,0x0,0x0,0x1,this[_0x5cc1e7(0x37f)],this[_0x5cc1e7(0x199)]===_0x5cc1e7(0x2e4)?0x0:-K),ne[_0x5cc1e7(0x2c5)](_0x2fab22,{'text':this[_0x5cc1e7(0x42e)],'color':this[_0x5cc1e7(0x296)]}),_0x2fab22[_0x5cc1e7(0x39f)]());}}var wt=Object[_0x6c52c3(0x2ac)],yt=(_0x31ae63,_0xef868d,_0xf3514,_0x3689cf)=>{for(var _0x317299=_0x3689cf>0x1?void 0x0:_0x3689cf?wt(_0xef868d,_0xf3514):_0xef868d,_0x780f48=_0x31ae63['length']-0x1,_0x5d57e6;_0x780f48>=0x0;_0x780f48--)(_0x5d57e6=_0x31ae63[_0x780f48])&&(_0x317299=_0x5d57e6(_0x317299)||_0x317299);return _0x317299;},he=(_0x2f7326,_0x4d0a64)=>(_0x26092d,_0x58869c)=>_0x4d0a64(_0x26092d,_0x58869c,_0x2f7326);const xt=0x1389;let Ee=class extends a[_0x6c52c3(0x358)]{constructor(_0x40fa7a,_0x1ab5e4,_0x387ebe,_0x53e38f){const _0x15636c=_0x6c52c3;super(),_(this,_0x15636c(0x43c),new Set()),_(this,_0x15636c(0x1b3),null),(this[_0x15636c(0x33c)]=_0x40fa7a,this['_sheetSkeletonManagerService']=_0x1ab5e4,this[_0x15636c(0x1d8)]=_0x387ebe,this[_0x15636c(0x278)]=_0x53e38f,this[_0x15636c(0x39e)]());}[_0x6c52c3(0x39e)](){const _0x3390ff=_0x6c52c3;this[_0x3390ff(0x190)][_0x3390ff(0x213)]['pipe']($['takeUntil'](this['dispose$']),$[_0x3390ff(0x41c)](_0x2c8e5c=>{const _0x114ddb=_0x3390ff;if(_0x2c8e5c){const _0xf64156=_0x2c8e5c[_0x114ddb(0x321)];return I[_0x114ddb(0x43a)](this[_0x114ddb(0x1d8)]['getCollabCursors$'](this[_0x114ddb(0x33c)][_0x114ddb(0x2b7)]),this[_0x114ddb(0x278)][_0x114ddb(0x1f6)])['pipe']($[_0x114ddb(0x32a)](([_0x4c8e5f,_0x46e619])=>{const _0x2a939e=new Map();return _0x4c8e5f['forEach']((_0x217489,_0x445851)=>{const _0x589f10=_0xc584;if(_0x217489['sheetID']===_0xf64156){const _0x5eb81e={..._0x217489};_0x5eb81e[_0x589f10(0x2fe)]=this['_themeService'][_0x589f10(0x25c)](_0x217489[_0x589f10(0x2fe)]),_0x2a939e[_0x589f10(0x33f)](_0x445851,_0x5eb81e);}}),{'skeleton':_0x2c8e5c,'cursors':_0x2a939e};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x3390ff(0x403)](({skeleton:_0x1275b1,cursors:_0x3fe3ec})=>{const _0x368230=_0x3390ff;this[_0x368230(0x3bd)](),_0x1275b1&&this[_0x368230(0x2cf)](_0x1275b1,_0x3fe3ec);}),this[_0x3390ff(0x190)][_0x3390ff(0x213)]['subscribe'](_0x2ae340=>{const _0x3b4348=_0x3390ff;if(_0x2ae340==null)return;const {skeleton:_0x293f69}=_0x2ae340,{scene:_0x47b6b2}=this[_0x3b4348(0x33c)];_0x47b6b2[_0x3b4348(0x337)][_0x3b4348(0x34d)](a['debounce'](_0x585ed1=>{const _0x191dd4=_0x3b4348;var _0x5165bd,_0xdad584;const {offsetX:_0x386c94,offsetY:_0x3fac48}=_0x585ed1,{x:_0x2f13ff,y:_0x47625d}=_0x47b6b2['getRelativeToViewportCoord'](C[_0x191dd4(0x222)]['FromArray']([_0x386c94,_0x3fac48])),{scaleX:_0x986ddc,scaleY:_0xfc2971}=_0x47b6b2['getAncestorScale'](),_0x22f6c4=_0x47b6b2[_0x191dd4(0x1bd)](C[_0x191dd4(0x209)][_0x191dd4(0x1fa)]),_0x303238=_0x47b6b2['getVpScrollXYInfoByPosToVp'](C[_0x191dd4(0x222)]['FromArray']([_0x2f13ff,_0x47625d]),_0x22f6c4),_0x3c4bc3=_0x293f69[_0x191dd4(0x2eb)](_0x386c94,_0x3fac48,_0x986ddc,_0xfc2971,_0x303238);((_0x5165bd=this['_lastPointer'])==null?void 0x0:_0x5165bd['column'])===_0x3c4bc3[_0x191dd4(0x378)]&&((_0xdad584=this[_0x191dd4(0x1b3)])==null?void 0x0:_0xdad584[_0x191dd4(0x284)])===_0x3c4bc3['row']||this[_0x191dd4(0x43c)][_0x191dd4(0x1b1)](_0x321602=>{const _0x5c65d3=_0x191dd4;_0x321602[_0x5c65d3(0x1d6)](_0x3c4bc3);});},0x64));});}[_0x6c52c3(0x2cf)](_0x64e955,_0xcd0472){const _0x511ef9=_0x6c52c3;var _0x30965c;const _0xb9e2c0=(_0x30965c=this[_0x511ef9(0x190)][_0x511ef9(0x246)]())==null?void 0x0:_0x30965c[_0x511ef9(0x35f)];if(!_0xb9e2c0)return;const _0x253278=this['_getSheetObject']();if(!_0x253278)return;this['_cursors'][_0x511ef9(0x1b1)](_0x15a5dc=>{_0x15a5dc['makeDirty']();});const {scene:_0x5bad62}=_0x253278,_0x250e21=$t(Array['from'](_0xcd0472[_0x511ef9(0x1d0)]()))[_0x511ef9(0x32a)](_0x2260a8=>{const _0x4bf2c5=_0x511ef9,{color:_0x235599,range:_0x37d1c9,name:_0x204c20,selection:_0x550bac,sheetID:_0x568ea5}=_0x2260a8,{startColumn:_0x52aaa9,startRow:_0x15ab1b,endColumn:_0x4a5aad,endRow:_0x4d02d0}=_0x37d1c9,_0x178e71=J['getCoordByCell'](_0x15ab1b,_0x52aaa9,_0x5bad62,_0xb9e2c0),_0x338552=J[_0x4bf2c5(0x1c3)](_0x4d02d0,_0x4a5aad,_0x5bad62,_0xb9e2c0),{columnHeaderHeightAndMarginTop:_0x60817}=_0xb9e2c0,{startX:_0x3fc959,startY:_0x454576}=_0x178e71,{endX:_0x22fe15,endY:_0x588f13}=_0x338552,_0x51061a=_0x22fe15-_0x3fc959,_0x22b099=_0x588f13-_0x454576,_0x5e8098={'labelPosition':_0x454576-_0x60817>=K?_0x4bf2c5(0x1bc):_0x4bf2c5(0x2e4),'sheetID':_0x568ea5,'range':_0x37d1c9,'color':_0x235599,'name':_0x204c20,'selection':_0x550bac,'left':_0x3fc959,'top':_0x454576,'width':_0x51061a,'height':_0x22b099,'evented':!0x1,'zIndex':xt};return new Fe(_0x204c20,_0x5e8098);});_0x5bad62[_0x511ef9(0x347)](_0x250e21,At),this['_cursors']=new Set(_0x250e21);}[_0x6c52c3(0x3bd)](){const _0x9736d4=_0x6c52c3;var _0x1a84fb;(_0x1a84fb=this[_0x9736d4(0x43c)])==null||_0x1a84fb['forEach'](_0x1828c1=>_0x1828c1[_0x9736d4(0x18d)]());}[_0x6c52c3(0x332)](){const _0x3f11fc=_0x6c52c3;return J[_0x3f11fc(0x287)](this['_context']['unit'],this['_context']);}};Ee=yt([he(0x1,a[_0x6c52c3(0x1ee)](J['SheetSkeletonManagerService'])),he(0x2,a[_0x6c52c3(0x1ee)](F)),he(0x3,a['Inject'](a['ThemeService']))],Ee);function $t(_0x18fb12){const _0x1310e4=_0x6c52c3,_0x52e7a5=new Map();return _0x18fb12[_0x1310e4(0x1b1)](_0xa11682=>{const _0x256e6e=_0x1310e4;if(_0x52e7a5[_0x256e6e(0x27c)](_0xa11682[_0x256e6e(0x2b0)])){const _0x11f0b7=_0x52e7a5[_0x256e6e(0x285)](_0xa11682[_0x256e6e(0x2b0)]);_0x11f0b7[_0x256e6e(0x402)]+=',\x20'+_0xa11682[_0x256e6e(0x402)];}else _0x52e7a5[_0x256e6e(0x33f)](_0xa11682[_0x256e6e(0x2b0)],_0xa11682);}),Array[_0x1310e4(0x235)](_0x52e7a5[_0x1310e4(0x1d0)]());}var Bt=Object['getOwnPropertyDescriptor'],Ft=(_0x3fd02c,_0x4a94a0,_0x4db46e,_0x2588f8)=>{for(var _0x12ddef=_0x2588f8>0x1?void 0x0:_0x2588f8?Bt(_0x4a94a0,_0x4db46e):_0x4a94a0,_0x479bf7=_0x3fd02c['length']-0x1,_0x1f09f5;_0x479bf7>=0x0;_0x479bf7--)(_0x1f09f5=_0x3fd02c[_0x479bf7])&&(_0x12ddef=_0x1f09f5(_0x12ddef)||_0x12ddef);return _0x12ddef;},x=(_0x5a45dd,_0x404577)=>(_0x48f2aa,_0xe77bb)=>_0x404577(_0x48f2aa,_0xe77bb,_0x5a45dd);let Z=class extends a[_0x6c52c3(0x413)]{constructor(_0x164a8b,_0x752c3f,_0x43f678,_0x56b882,_0x492352,_0x27f12f){const _0x3b56e2=_0x6c52c3;super(),this[_0x3b56e2(0x3ad)]=_0x164a8b,this[_0x3b56e2(0x3a3)]=_0x752c3f,this['_collaborationUIEventService']=_0x43f678,this[_0x3b56e2(0x2e8)]=_0x56b882,this['_notificationService']=_0x492352,this[_0x3b56e2(0x298)]=_0x27f12f,this[_0x3b56e2(0x245)](),this['_initEvent']();}[_0x6c52c3(0x245)](){const _0x4ca441=_0x6c52c3;this[_0x4ca441(0x392)](this[_0x4ca441(0x3ad)][_0x4ca441(0x2ab)](()=>{const _0x2e51eb=_0x4ca441;if(this[_0x2e51eb(0x3a3)][_0x2e51eb(0x409)][_0x2e51eb(0x364)])return this[_0x2e51eb(0x298)]['t'](_0x2e51eb(0x2d0));}));}[_0x6c52c3(0x2aa)](){const _0x55663a=_0x6c52c3;this[_0x55663a(0x392)](this[_0x55663a(0x2ce)][_0x55663a(0x1fc)][_0x55663a(0x403)](_0x1bb921=>{const _0x3426de=_0x55663a;_0x1bb921['id']===u[_0x3426de(0x306)]['OTHER_CLIENT_EDITING']&&this[_0x3426de(0x2e8)]['show']({'type':T['MessageType'][_0x3426de(0x31e)],'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x3df))}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x2df)]&&this[_0x3426de(0x2e8)][_0x3426de(0x1d3)]({'type':T[_0x3426de(0x2bd)][_0x3426de(0x31e)],'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x2f8))}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x1f8)]&&this[_0x3426de(0x216)][_0x3426de(0x1d3)]({'title':this[_0x3426de(0x298)]['t']('permission.title'),'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x300)),'type':_0x3426de(0x384),'duration':0x0}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x1f3)]&&this[_0x3426de(0x2e8)]['show']({'type':T[_0x3426de(0x2bd)][_0x3426de(0x353)],'content':this[_0x3426de(0x298)]['t']('collaboration.closeRoom')+'('+_0x1bb921[_0x3426de(0x219)]+')'}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x2f5)]&&this[_0x3426de(0x2e8)][_0x3426de(0x1d3)]({'type':T[_0x3426de(0x2bd)]['Warning'],'content':this[_0x3426de(0x298)]['t'](_0x1bb921[_0x3426de(0x219)]||'')}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x3ee)]&&this['_messageService'][_0x3426de(0x1d3)]({'type':T['MessageType']['Warning'],'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x1e4))}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x224)]&&this[_0x3426de(0x2e8)][_0x3426de(0x1d3)]({'type':T[_0x3426de(0x2bd)][_0x3426de(0x353)],'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x1be))}),_0x1bb921['id']===u[_0x3426de(0x306)][_0x3426de(0x313)]&&this['_messageService'][_0x3426de(0x1d3)]({'type':T['MessageType']['Error'],'content':this[_0x3426de(0x298)]['t'](_0x3426de(0x2d1))});}));}};Z=Ft([x(0x0,R[_0x6c52c3(0x370)]),x(0x1,u[_0x6c52c3(0x3ea)]),x(0x2,a['Inject'](u[_0x6c52c3(0x32c)])),x(0x3,R['IMessageService']),x(0x4,R['INotificationService']),x(0x5,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x225)]))],Z);const kt='collaboration-client-ui.config',Le={};var jt=Object[_0x6c52c3(0x2ac)],Yt=(_0x158eb0,_0x5a5b14,_0x58b839,_0x567468)=>{const _0x4ea4d3=_0x6c52c3;for(var _0x2d4e8c=_0x567468>0x1?void 0x0:_0x567468?jt(_0x5a5b14,_0x58b839):_0x5a5b14,_0x279930=_0x158eb0[_0x4ea4d3(0x1f0)]-0x1,_0x1e7ef9;_0x279930>=0x0;_0x279930--)(_0x1e7ef9=_0x158eb0[_0x279930])&&(_0x2d4e8c=_0x1e7ef9(_0x2d4e8c)||_0x2d4e8c);return _0x2d4e8c;},Me=(_0x2caad0,_0x19138b)=>(_0x33457d,_0x4b2e5b)=>_0x19138b(_0x33457d,_0x4b2e5b,_0x2caad0);let Q=class{constructor(_0x1a6af6,_0xcbde58){this['_transformService']=_0x1a6af6,this['_renderManagerService']=_0xcbde58;}[_0x6c52c3(0x1da)](_0x1693bd){const _0x222f67=_0x6c52c3;this[_0x222f67(0x1e8)](_0x1693bd),this['_transformPreviousActiveRange'](_0x1693bd);}['transformRemoteChangeset'](_0x45e24b){const _0x1f7ba2=_0x6c52c3,{unitID:_0x29a99b}=_0x45e24b,_0x5b80c0=this[_0x1f7ba2(0x23a)][_0x1f7ba2(0x38c)](_0x29a99b)['with'](p[_0x1f7ba2(0x198)]),{redoCache:_0x2b4731}=_0x5b80c0[_0x1f7ba2(0x189)]();if(_0x2b4731['length']===0x0)return _0x45e24b;let _0x486abd=a[_0x1f7ba2(0x35e)]['deepClone'](_0x45e24b['mutations'][0x0]);for(let _0x5b3181=0x0;_0x5b3181<_0x2b4731[_0x1f7ba2(0x1f0)];_0x5b3181++){const _0x4e4691={'id':_0x1f7ba2(0x339),'params':{..._0x2b4731[_0x5b3181]}},_0x418d05=this['_transformService']['transformMutation'](_0x486abd,_0x4e4691,!0x1);if(g[_0x1f7ba2(0x294)](_0x418d05))throw _0x418d05[_0x1f7ba2(0x384)];_0x486abd=_0x418d05[_0x1f7ba2(0x20f)];}return{...a[_0x1f7ba2(0x35e)][_0x1f7ba2(0x23f)](_0x45e24b),'mutations':[_0x486abd]};}['_transformUndoRedoStack'](_0x34b1e1){const _0x2b028f=_0x6c52c3,{unitID:_0x3d8b1d}=_0x34b1e1,_0x107dc0=this[_0x2b028f(0x23a)][_0x2b028f(0x38c)](_0x3d8b1d)[_0x2b028f(0x2a1)](p['DocIMEInputManagerService']),{undoCache:_0x329535,redoCache:_0x48f1cc}=_0x107dc0[_0x2b028f(0x189)]();if(_0x329535[_0x2b028f(0x1f0)]===0x0||_0x48f1cc[_0x2b028f(0x1f0)]===0x0)return;const _0x3cbbf2=[],_0x4d1165=[];let _0x64df99=a['Tools'][_0x2b028f(0x23f)](_0x34b1e1['mutations'][0x0]),_0x234328=a[_0x2b028f(0x35e)][_0x2b028f(0x23f)](_0x34b1e1[_0x2b028f(0x28a)][0x0]);for(let _0xfb5a40=_0x329535[_0x2b028f(0x1f0)]-0x1;_0xfb5a40>=0x0;_0xfb5a40--){const _0x1b24a1={'id':_0x2b028f(0x339),'params':{..._0x329535[_0xfb5a40]}},_0x1a22f8={'id':'doc.mutation.rich-text-editing','params':{..._0x48f1cc[_0xfb5a40]}},_0xc1a750=this['_transformService'][_0x2b028f(0x1a1)](_0x64df99,_0x1b24a1,!0x1),_0x2b840d=this[_0x2b028f(0x3ce)][_0x2b028f(0x1a1)](_0x234328,_0x1a22f8,!0x1);if(g[_0x2b028f(0x294)](_0xc1a750))throw _0xc1a750[_0x2b028f(0x384)];if(g[_0x2b028f(0x294)](_0x2b840d))throw _0x2b840d[_0x2b028f(0x384)];_0x3cbbf2[_0x2b028f(0x36d)](_0xc1a750[_0x2b028f(0x220)][_0x2b028f(0x2f4)]),_0x4d1165[_0x2b028f(0x36d)](_0x2b840d[_0x2b028f(0x220)][_0x2b028f(0x2f4)]),_0x64df99=_0xc1a750[_0x2b028f(0x20f)],_0x234328=_0x2b840d[_0x2b028f(0x20f)];}_0x107dc0['setUndoRedoMutationParamsCache']({'undoCache':_0x3cbbf2,'redoCache':_0x4d1165});}[_0x6c52c3(0x366)](_0xb00573){const _0x334c97=_0x6c52c3,{unitID:_0x52c28c}=_0xb00573,_0x251aaf=this[_0x334c97(0x23a)][_0x334c97(0x38c)](_0x52c28c)[_0x334c97(0x2a1)](p['DocIMEInputManagerService']),_0x2a6834=_0x251aaf[_0x334c97(0x18f)]();if(_0x2a6834==null)return;const _0x54aa49=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb00573[_0x334c97(0x2ec)],'actions':null,'textRanges':[_0x2a6834]}}],_0x5dbf8c=this[_0x334c97(0x3ce)][_0x334c97(0x39b)](_0xb00573,_0x54aa49);if(!g[_0x334c97(0x37d)](_0x5dbf8c))throw _0x5dbf8c[_0x334c97(0x384)];const _0x11caf0=_0x5dbf8c[_0x334c97(0x220)][0x0][_0x334c97(0x2f4)][_0x334c97(0x350)];Array[_0x334c97(0x24b)](_0x11caf0)&&_0x11caf0[_0x334c97(0x1f0)]&&_0x251aaf[_0x334c97(0x1fd)](_0x11caf0[0x0]);}};Q=Yt([Me(0x0,g['ITransformService']),Me(0x1,C[_0x6c52c3(0x2a2)])],Q);var Ht=Object[_0x6c52c3(0x2ac)],Wt=(_0xf57b72,_0x4915c4,_0x4c8f91,_0x30eeb7)=>{const _0xe459d4=_0x6c52c3;for(var _0x4793a4=_0x30eeb7>0x1?void 0x0:_0x30eeb7?Ht(_0x4915c4,_0x4c8f91):_0x4915c4,_0x15d731=_0xf57b72[_0xe459d4(0x1f0)]-0x1,_0x42556f;_0x15d731>=0x0;_0x15d731--)(_0x42556f=_0xf57b72[_0x15d731])&&(_0x4793a4=_0x42556f(_0x4793a4)||_0x4793a4);return _0x4793a4;},ue=(_0x535e6f,_0x57e872)=>(_0x56d570,_0x3d2e4b)=>_0x57e872(_0x56d570,_0x3d2e4b,_0x535e6f);let ee=class{constructor(_0x375c6f,_0x3ff286,_0x19fe80){const _0x5206d5=_0x6c52c3;this[_0x5206d5(0x3a1)]=_0x375c6f,this[_0x5206d5(0x3ce)]=_0x3ff286,this[_0x5206d5(0x2e7)]=_0x19fe80;}[_0x6c52c3(0x25e)](_0x4fb539){const _0x2b9c58=_0x6c52c3;this[_0x2b9c58(0x301)](_0x4fb539);}[_0x6c52c3(0x256)](_0xabecff){const _0x37906f=_0x6c52c3,{unitID:_0x38a5f1}=_0xabecff,{collaboration:_0x4b5d9d}=this[_0x37906f(0x2e7)][_0x37906f(0x1e2)](_0x38a5f1);if(_0x4b5d9d[_0x37906f(0x1f0)]===0x0)return _0xabecff;let _0x18cef4=a[_0x37906f(0x35e)][_0x37906f(0x23f)](_0xabecff[_0x37906f(0x28a)][0x0]);for(let _0x4b720b=0x0;_0x4b720b<_0x4b5d9d['length'];_0x4b720b++){const _0x48e91c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b5d9d[_0x4b720b]['unitId'],..._0x4b5d9d[_0x4b720b][_0x37906f(0x28d)]}},_0xb95ec=this[_0x37906f(0x3ce)][_0x37906f(0x1a1)](_0x18cef4,_0x48e91c,!0x1);if(g[_0x37906f(0x294)](_0xb95ec))throw _0xb95ec[_0x37906f(0x384)];_0x18cef4=_0xb95ec[_0x37906f(0x20f)];}return{...a[_0x37906f(0x35e)]['deepClone'](_0xabecff),'mutations':[_0x18cef4]};}[_0x6c52c3(0x301)](_0x10d3ce){const _0x1f25ca=_0x6c52c3,{unitID:_0x2fa7e5}=_0x10d3ce,{history:_0x327579,collaboration:_0x26f9a1}=this[_0x1f25ca(0x2e7)][_0x1f25ca(0x1e2)](_0x2fa7e5);if(_0x327579[_0x1f25ca(0x1f0)]===0x0&&_0x26f9a1[_0x1f25ca(0x1f0)]===0x0)return;const _0x4e5992=[],_0x57f248=[];let _0x5ba08e=a[_0x1f25ca(0x35e)]['deepClone'](_0x10d3ce[_0x1f25ca(0x28a)][0x0]),_0x31ca5a=a[_0x1f25ca(0x35e)]['deepClone'](_0x10d3ce['mutations'][0x0]);for(let _0x65c946=_0x327579[_0x1f25ca(0x1f0)]-0x1;_0x65c946>=0x0;_0x65c946--){const _0x44088e={'id':_0x1f25ca(0x339),'params':{'unitId':_0x327579[_0x65c946]['unitId'],..._0x327579[_0x65c946][_0x1f25ca(0x2c3)]}},_0x181dd5={'id':_0x1f25ca(0x339),'params':{'unitId':_0x327579[_0x65c946]['unitId'],..._0x327579[_0x65c946]['redoState']}},_0x33100a=this['_transformService']['transformMutation'](_0x5ba08e,_0x44088e,!0x1),_0x3dbad6=this[_0x1f25ca(0x3ce)][_0x1f25ca(0x1a1)](_0x31ca5a,_0x181dd5,!0x1);if(g[_0x1f25ca(0x294)](_0x33100a))throw _0x33100a[_0x1f25ca(0x384)];if(g[_0x1f25ca(0x294)](_0x3dbad6))throw _0x3dbad6[_0x1f25ca(0x384)];_0x4e5992['unshift']({..._0x327579[_0x65c946],'undoState':_0x33100a[_0x1f25ca(0x220)][_0x1f25ca(0x2f4)],'redoState':_0x3dbad6[_0x1f25ca(0x220)][_0x1f25ca(0x2f4)]}),_0x5ba08e=_0x33100a[_0x1f25ca(0x20f)],_0x31ca5a=_0x3dbad6['m1Prime'];}_0x5ba08e=a[_0x1f25ca(0x35e)][_0x1f25ca(0x23f)](_0x10d3ce[_0x1f25ca(0x28a)][0x0]),_0x31ca5a=a['Tools'][_0x1f25ca(0x23f)](_0x10d3ce[_0x1f25ca(0x28a)][0x0]);for(let _0x31c86f=_0x26f9a1[_0x1f25ca(0x1f0)]-0x1;_0x31c86f>=0x0;_0x31c86f--){const _0x54f651={'id':_0x1f25ca(0x339),'params':{'unitId':_0x26f9a1[_0x31c86f][_0x1f25ca(0x2b7)],..._0x26f9a1[_0x31c86f][_0x1f25ca(0x2c3)]}},_0x370181={'id':_0x1f25ca(0x339),'params':{'unitId':_0x26f9a1[_0x31c86f][_0x1f25ca(0x2b7)],..._0x26f9a1[_0x31c86f]['redoState']}},_0x3740a4=this[_0x1f25ca(0x3ce)][_0x1f25ca(0x1a1)](_0x5ba08e,_0x54f651,!0x1),_0x598031=this['_transformService']['transformMutation'](_0x31ca5a,_0x370181,!0x1);if(g['isTransformMutationFailure'](_0x3740a4))throw _0x3740a4['error'];if(g[_0x1f25ca(0x294)](_0x598031))throw _0x598031[_0x1f25ca(0x384)];_0x57f248[_0x1f25ca(0x36d)]({..._0x26f9a1[_0x31c86f],'undoState':_0x3740a4[_0x1f25ca(0x220)]['params'],'redoState':_0x598031[_0x1f25ca(0x220)][_0x1f25ca(0x2f4)]}),_0x5ba08e=_0x3740a4['m1Prime'],_0x31ca5a=_0x598031[_0x1f25ca(0x20f)];}this[_0x1f25ca(0x2e7)][_0x1f25ca(0x34a)](_0x2fa7e5,{'history':_0x4e5992,'collaboration':_0x57f248});}};ee=Wt([ue(0x0,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x1f7)])),ue(0x1,g[_0x6c52c3(0x24a)]),ue(0x2,a[_0x6c52c3(0x1ee)](p[_0x6c52c3(0x212)]))],ee);var Vt=Object[_0x6c52c3(0x2ac)],Gt=(_0x2698f9,_0x37731b,_0x6c2220,_0x3d6349)=>{const _0x17319d=_0x6c52c3;for(var _0x1574ec=_0x3d6349>0x1?void 0x0:_0x3d6349?Vt(_0x37731b,_0x6c2220):_0x37731b,_0x5b7cd8=_0x2698f9[_0x17319d(0x1f0)]-0x1,_0x258b0c;_0x5b7cd8>=0x0;_0x5b7cd8--)(_0x258b0c=_0x2698f9[_0x5b7cd8])&&(_0x1574ec=_0x258b0c(_0x1574ec)||_0x1574ec);return _0x1574ec;},Ae=(_0x41952e,_0x32a648)=>(_0x12862c,_0x1672bb)=>_0x32a648(_0x12862c,_0x1672bb,_0x41952e);let te=class{constructor(_0x43cca1,_0x1c5713){const _0x5d8662=_0x6c52c3;this[_0x5d8662(0x3a1)]=_0x43cca1,this[_0x5d8662(0x3ce)]=_0x1c5713;}[_0x6c52c3(0x2c8)](_0x522a3f){const _0x213a76=_0x6c52c3;var _0x5e9cae;const _0x1a69b0=this[_0x213a76(0x3a1)][_0x213a76(0x285)](V[_0x213a76(0x343)]),_0x5d0a97=(_0x5e9cae=_0x1a69b0['getDocRanges']())!=null?_0x5e9cae:[];if(_0x5d0a97[_0x213a76(0x1f0)]===0x0)return;const _0x2587cd=_0x522a3f[_0x213a76(0x2ec)],_0x2371e7=[{'id':_0x213a76(0x339),'params':{'unitId':_0x2587cd,'actions':null,'textRanges':_0x5d0a97}}],_0x2fe3b5=this[_0x213a76(0x3ce)][_0x213a76(0x39b)](_0x522a3f,_0x2371e7);if(!g['isTransformMutationsWithChangesetSuccess'](_0x2fe3b5))throw _0x2fe3b5[_0x213a76(0x384)];const _0x1c145f=_0x2fe3b5['m2Prime'][0x0][_0x213a76(0x2f4)][_0x213a76(0x350)];Array[_0x213a76(0x24b)](_0x1c145f)&&_0x1c145f[_0x213a76(0x1f0)]&&_0x1a69b0[_0x213a76(0x2e2)](_0x1c145f,{'unitId':_0x2587cd,'subUnitId':_0x2587cd},!0x1);}};te=Gt([Ae(0x0,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x1f7)])),Ae(0x1,g[_0x6c52c3(0x24a)])],te);var Xt=Object[_0x6c52c3(0x2ac)],Kt=(_0x746e77,_0x356a4c,_0x416377,_0x5488d7)=>{for(var _0x42539b=_0x5488d7>0x1?void 0x0:_0x5488d7?Xt(_0x356a4c,_0x416377):_0x356a4c,_0x5dad7f=_0x746e77['length']-0x1,_0xcbb9f9;_0x5dad7f>=0x0;_0x5dad7f--)(_0xcbb9f9=_0x746e77[_0x5dad7f])&&(_0x42539b=_0xcbb9f9(_0x42539b)||_0x42539b);return _0x42539b;},U=(_0x5c7569,_0x4c2d1b)=>(_0x456cf3,_0x473f95)=>_0x4c2d1b(_0x456cf3,_0x473f95,_0x5c7569);let se=class extends a[_0x6c52c3(0x413)]{constructor(_0xfe1109,_0xa5f89a,_0x4051db,_0x15c749,_0x401dee,_0x23f4fb,_0x1fbbf1,_0x461759){const _0x249248=_0x6c52c3;super(),_(this,_0x249248(0x3f8),new I['BehaviorSubject'](u['CollaborationStatus'][_0x249248(0x340)])),(this[_0x249248(0x2e7)]=_0xfe1109,this[_0x249248(0x1de)]=_0xa5f89a,this[_0x249248(0x203)]=_0x4051db,this['_docTransformStateCacheService']=_0x15c749,this[_0x249248(0x42b)]=_0x401dee,this[_0x249248(0x42a)]=_0x23f4fb,this[_0x249248(0x2e8)]=_0x1fbbf1,this[_0x249248(0x298)]=_0x461759,this[_0x249248(0x2f1)]());}['_initEntityListener'](){const _0x10d337=_0x6c52c3;this[_0x10d337(0x392)](this['_collaborationController']['entityInit$'][_0x10d337(0x403)](_0x4a73fc=>{const _0x537d15=_0x10d337,_0x3999bb=this[_0x537d15(0x2e7)][_0x537d15(0x377)][_0x537d15(0x403)](_0x127274=>{const _0x532c17=_0x537d15;if(_0x127274==null)return;const {unitId:_0xcc9189,redoState:_0x53bb7f,commandId:_0x3b2691}=_0x127274;if(_0xcc9189!==_0x4a73fc['unitID'])return;const _0x366a45={'id':_0x3b2691,'type':a[_0x532c17(0x233)]['MUTATION'],'params':{'unitId':_0xcc9189,'actions':_0x53bb7f[_0x532c17(0x3b0)],'textRanges':null}};_0x4a73fc['onLocalMutation'](_0x366a45);});if(_0x4a73fc[_0x537d15(0x392)](_0x3999bb),_0x4a73fc instanceof u[_0x537d15(0x251)]){const _0x3fa583={'onTransformIME':_0x3794d9=>this[_0x537d15(0x203)][_0x537d15(0x1da)](_0x3794d9),'onTransformState':_0x7512f=>this[_0x537d15(0x20e)]['transformStateCache'](_0x7512f),'onTransformSelections':_0x569fc8=>this['_docTransformSelectionsService']['transformSelections'](_0x569fc8),'onSyncEditingCollabCursor':_0x5062aa=>this[_0x537d15(0x42a)][_0x537d15(0x420)](_0x5062aa),'onTransformRemoteChangesetByIMECache':_0x391589=>this[_0x537d15(0x203)][_0x537d15(0x256)](_0x391589),'onTransformRemoteChangesetByStateCache':_0x475ebe=>this[_0x537d15(0x20e)][_0x537d15(0x256)](_0x475ebe)};_0x4a73fc['addHandlerCallback'](_0x3fa583);}}));}};se=Kt([U(0x0,a[_0x6c52c3(0x1ee)](p[_0x6c52c3(0x212)])),U(0x1,a[_0x6c52c3(0x1ee)](u[_0x6c52c3(0x3a5)])),U(0x2,a[_0x6c52c3(0x1ee)](Q)),U(0x3,a[_0x6c52c3(0x1ee)](ee)),U(0x4,a['Inject'](te)),U(0x5,a[_0x6c52c3(0x1ee)](Re)),U(0x6,R[_0x6c52c3(0x1c8)]),U(0x7,a[_0x6c52c3(0x1ee)](a[_0x6c52c3(0x225)]))],se);var G=(_0x274d12=>(_0x274d12[_0x274d12['UNDEFINED']=0x0]=_0x6c52c3(0x282),_0x274d12[_0x274d12['OK']=0x1]='OK',_0x274d12[_0x274d12['INTERNAL_ERROR']=0x2]=_0x6c52c3(0x2a5),_0x274d12[_0x274d12[_0x6c52c3(0x1f8)]=0x3]='PERMISSION_DENIED',_0x274d12[_0x274d12[_0x6c52c3(0x368)]=0x4]=_0x6c52c3(0x368),_0x274d12[_0x274d12[_0x6c52c3(0x41e)]=0x5]=_0x6c52c3(0x41e),_0x274d12[_0x274d12[_0x6c52c3(0x3dc)]=0x6]=_0x6c52c3(0x3dc),_0x274d12[_0x274d12[_0x6c52c3(0x3aa)]=0x7]=_0x6c52c3(0x3aa),_0x274d12[_0x274d12['TOO_MANY_REQUESTS']=0x8]=_0x6c52c3(0x21b),_0x274d12[_0x274d12[_0x6c52c3(0x315)]=0x9]=_0x6c52c3(0x315),_0x274d12[_0x274d12[_0x6c52c3(0x23b)]=0xa]=_0x6c52c3(0x23b),_0x274d12[_0x274d12[_0x6c52c3(0x2ea)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x274d12[_0x274d12[_0x6c52c3(0x3d4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x274d12[_0x274d12['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x274d12[_0x274d12[_0x6c52c3(0x429)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x274d12[_0x274d12[_0x6c52c3(0x1c6)]=0xf]=_0x6c52c3(0x1c6),_0x274d12[_0x274d12[_0x6c52c3(0x223)]=0x10]=_0x6c52c3(0x223),_0x274d12[_0x274d12[_0x6c52c3(0x1c7)]=0x64]=_0x6c52c3(0x1c7),_0x274d12[_0x274d12[_0x6c52c3(0x2d6)]=0x65]=_0x6c52c3(0x2d6),_0x274d12[_0x274d12[_0x6c52c3(0x305)]=0xc9]=_0x6c52c3(0x305),_0x274d12[_0x274d12[_0x6c52c3(0x1dc)]=0xca]=_0x6c52c3(0x1dc),_0x274d12[_0x274d12[_0x6c52c3(0x243)]=0x1389]=_0x6c52c3(0x243),_0x274d12[_0x274d12['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x6c52c3(0x29a),_0x274d12[_0x274d12[_0x6c52c3(0x2bf)]=0x1772]=_0x6c52c3(0x2bf),_0x274d12[_0x274d12['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x6c52c3(0x38a),_0x274d12[_0x274d12[_0x6c52c3(0x23c)]=0x1b59]=_0x6c52c3(0x23c),_0x274d12[_0x274d12[_0x6c52c3(0x19e)]=0x1b5a]=_0x6c52c3(0x19e),_0x274d12[_0x274d12[_0x6c52c3(0x365)]=0x1b5b]=_0x6c52c3(0x365),_0x274d12[_0x274d12['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x274d12[_0x274d12[_0x6c52c3(0x36f)]=0x1b5d]=_0x6c52c3(0x36f),_0x274d12[_0x274d12[_0x6c52c3(0x29d)]=0x1f41]=_0x6c52c3(0x29d),_0x274d12[_0x274d12[_0x6c52c3(0x349)]=0x2329]=_0x6c52c3(0x349),_0x274d12[_0x274d12[_0x6c52c3(0x1b8)]=0x232a]=_0x6c52c3(0x1b8),_0x274d12[_0x274d12['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6c52c3(0x20a),_0x274d12[_0x274d12['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x6c52c3(0x2de),_0x274d12[_0x274d12[_0x6c52c3(0x412)]=0x232d]=_0x6c52c3(0x412),_0x274d12[_0x274d12[_0x6c52c3(0x341)]=0x2711]=_0x6c52c3(0x341),_0x274d12[_0x274d12['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x274d12[_0x274d12[_0x6c52c3(0x41d)]=0x2713]=_0x6c52c3(0x41d),_0x274d12[_0x274d12[_0x6c52c3(0x327)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x274d12[_0x274d12[_0x6c52c3(0x1af)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x274d12[_0x274d12[_0x6c52c3(0x423)]=0x271b]=_0x6c52c3(0x423),_0x274d12[_0x274d12[_0x6c52c3(0x210)]=0x271c]=_0x6c52c3(0x210),_0x274d12[_0x274d12[_0x6c52c3(0x1e1)]=0x271d]=_0x6c52c3(0x1e1),_0x274d12[_0x274d12[_0x6c52c3(0x3e9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x274d12[_0x274d12[_0x6c52c3(0x266)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x274d12[_0x274d12[_0x6c52c3(0x21f)]=0x2720]=_0x6c52c3(0x21f),_0x274d12[_0x274d12[_0x6c52c3(0x328)]=0x2af9]=_0x6c52c3(0x328),_0x274d12[_0x274d12['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x274d12[_0x274d12[_0x6c52c3(0x281)]=0x2ee2]=_0x6c52c3(0x281),_0x274d12[_0x274d12[_0x6c52c3(0x3e4)]=0x2ee3]=_0x6c52c3(0x3e4),_0x274d12[_0x274d12['USER_NOT_INVITED_CODE']=0x2ee4]=_0x6c52c3(0x3d8),_0x274d12[_0x274d12[_0x6c52c3(0x31d)]=0x2ee5]=_0x6c52c3(0x31d),_0x274d12[_0x274d12['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x6c52c3(0x3fd),_0x274d12[_0x274d12[_0x6c52c3(0x1f5)]=0x32ca]=_0x6c52c3(0x1f5),_0x274d12[_0x274d12['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x6c52c3(0x1fe),_0x274d12[_0x274d12[_0x6c52c3(0x31a)]=0x36b1]=_0x6c52c3(0x31a),_0x274d12[_0x274d12[_0x6c52c3(0x186)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x274d12[_0x274d12['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x6c52c3(0x2e6),_0x274d12[_0x274d12[_0x6c52c3(0x27b)]=0x36b4]=_0x6c52c3(0x27b),_0x274d12[_0x274d12['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x6c52c3(0x389),_0x274d12[_0x274d12[_0x6c52c3(0x34f)]=0x3716]=_0x6c52c3(0x34f),_0x274d12[_0x274d12['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x6c52c3(0x1fb),_0x274d12[_0x274d12[_0x6c52c3(0x3b8)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x274d12[_0x274d12['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x274d12[_0x274d12[_0x6c52c3(0x356)]=0x3a9b]=_0x6c52c3(0x356),_0x274d12[_0x274d12['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x6c52c3(0x2c1),_0x274d12[_0x274d12[_0x6c52c3(0x195)]=0x3a9d]=_0x6c52c3(0x195),_0x274d12[_0x274d12[_0x6c52c3(0x297)]=0x3a9e]=_0x6c52c3(0x297),_0x274d12[_0x274d12['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x6c52c3(0x204),_0x274d12[_0x274d12[_0x6c52c3(0x2e5)]=-0x1]=_0x6c52c3(0x2e5),_0x274d12))(G||{});function qt(_0x22a654){const _0x317beb=_0x6c52c3;var _0x51ad34,_0x520e74;const _0x144924=(_0x51ad34=_0x22a654[_0x317beb(0x3af)])==null?void 0x0:_0x51ad34[_0x317beb(0x264)],_0x38f361=((_0x520e74=_0x22a654['stageInfo'])==null?void 0x0:_0x520e74[_0x317beb(0x400)])||0x0;return _0x144924===B[_0x317beb(0x30c)][_0x317beb(0x187)]&&_0x38f361>0x0;}function zt(_0x518fd0){const _0x19bac6=_0x6c52c3;return _0x518fd0['functionsExecutedState']===B[_0x19bac6(0x19b)]['SUCCESS'];}var Jt=Object[_0x6c52c3(0x2ac)],Zt=(_0x22f5c1,_0x2bd6e0,_0xd87b0a,_0x59437b)=>{const _0x4225e4=_0x6c52c3;for(var _0x33c53e=_0x59437b>0x1?void 0x0:_0x59437b?Jt(_0x2bd6e0,_0xd87b0a):_0x2bd6e0,_0x11598a=_0x22f5c1[_0x4225e4(0x1f0)]-0x1,_0x4d676e;_0x11598a>=0x0;_0x11598a--)(_0x4d676e=_0x22f5c1[_0x11598a])&&(_0x33c53e=_0x4d676e(_0x33c53e)||_0x33c53e);return _0x33c53e;},A=(_0x580f33,_0x5e7cb2)=>(_0x1bd8c7,_0x37b5c3)=>_0x5e7cb2(_0x1bd8c7,_0x37b5c3,_0x580f33);const Qt=_0x6c52c3(0x249),es=_0x6c52c3(0x26a),ts=_0x6c52c3(0x34c);let ie=class extends a[_0x6c52c3(0x413)]{constructor(_0x1f4079,_0x5a16a1,_0x4e8f18,_0xccb8f2,_0x16509a,_0x5b7917,_0x2af860){const _0xf8b725=_0x6c52c3;super(),_(this,_0xf8b725(0x28e),null),_(this,_0xf8b725(0x1c0),0x0),_(this,_0xf8b725(0x425),0x0),_(this,_0xf8b725(0x200),[]),_(this,_0xf8b725(0x275),0x0),(this[_0xf8b725(0x2e8)]=_0x1f4079,this['_commandService']=_0x5a16a1,this[_0xf8b725(0x1ed)]=_0x4e8f18,this['_httpService']=_0xccb8f2,this[_0xf8b725(0x3dd)]=_0x16509a,this[_0xf8b725(0x1db)]=_0x5b7917,this['_localeService']=_0x2af860,this[_0xf8b725(0x2c4)]());}['_initCommandInterceptor'](){const _0x1e026c=_0x6c52c3;this[_0x1e026c(0x392)](this['_commandService'][_0x1e026c(0x2c0)]((_0x318094,_0x3d539e)=>{const _0x17d70a=_0x1e026c;if(_0x318094['id']!==B[_0x17d70a(0x260)]['id'])return;const _0x2a7b79=_0x318094[_0x17d70a(0x2f4)];if(!this[_0x17d70a(0x2b9)](_0x2a7b79['dirtyRanges']))return;if(!this[_0x17d70a(0x3cf)]())throw this[_0x17d70a(0x1d7)](_0x318094,_0x3d539e),this[_0x17d70a(0x288)](),new a['CanceledError']();})),this[_0x1e026c(0x392)](this['_commandService'][_0x1e026c(0x22f)]((_0x3e1528,_0x2b882b)=>{const _0x1e7c88=_0x1e026c;if(_0x3e1528['id']!==B['SetFormulaCalculationNotificationMutation']['id'])return;const _0xd29848=_0x3e1528[_0x1e7c88(0x2f4)];if(qt(_0xd29848)){const _0x159618=a[_0x1e7c88(0x254)]();this[_0x1e7c88(0x200)]['push'](_0x159618),this[_0x1e7c88(0x277)](_0x159618);}else{if(zt(_0xd29848)&&this['_taskIds'][_0x1e7c88(0x1f0)]>0x0){const _0x13704e=this['_taskIds']['shift']();this[_0x1e7c88(0x2cc)](_0x13704e);}}}));}['dispose'](){const _0x457c7d=_0x6c52c3;super['dispose'](),this[_0x457c7d(0x3b7)](),this['_taskIds']=[],this[_0x457c7d(0x425)]=0x0,this[_0x457c7d(0x1c0)]=0x0,this[_0x457c7d(0x275)]=0x0;}async[_0x6c52c3(0x1d7)](_0x230a55,_0x2c979e){const _0x5160e0=_0x6c52c3;for(let _0x58cc38=0x0;_0x58cc38<0x1e;_0x58cc38++)try{if(await this[_0x5160e0(0x1a9)](),this[_0x5160e0(0x3cf)]()){this[_0x5160e0(0x2f0)](_0x230a55,_0x2c979e),this['_messageService']['show']({'content':this[_0x5160e0(0x298)]['t']('formula.calculation.started'),'type':T[_0x5160e0(0x2bd)][_0x5160e0(0x42f)]});return;}await new Promise(_0x4c7a1a=>{this['_pollingInterval']=window['setTimeout'](_0x4c7a1a,0x3e8);});}catch(_0x4e068d){this[_0x5160e0(0x1db)][_0x5160e0(0x384)](_0x4e068d);}this[_0x5160e0(0x2e8)][_0x5160e0(0x1d3)]({'content':this[_0x5160e0(0x298)]['t'](_0x5160e0(0x29c)),'type':T[_0x5160e0(0x2bd)]['Error']});}[_0x6c52c3(0x2f0)](_0x56dbab,_0x4bd98d){const _0x3a7842=_0x6c52c3;try{this['_commandService'][_0x3a7842(0x319)](_0x56dbab['id'],_0x56dbab[_0x3a7842(0x2f4)],_0x4bd98d);}catch(_0x4640c7){this[_0x3a7842(0x1db)][_0x3a7842(0x384)](_0x4640c7);}}['_setFormulaLimitStatus'](_0x33ef35,_0x7d7641){const _0x3227cf=_0x6c52c3;_0x7d7641<this[_0x3227cf(0x275)]||(this[_0x3227cf(0x275)]=_0x7d7641,this[_0x3227cf(0x1c0)]=Number[_0x3227cf(0x201)](_0x33ef35['maxFormulaLimit']),this[_0x3227cf(0x425)]=Number[_0x3227cf(0x201)](_0x33ef35['currentUsage']));}async[_0x6c52c3(0x277)](_0x208a16){const _0x16d2a0=_0x6c52c3;var _0x458a69,_0x24843d;const _0x3ebddd=Date['now']();try{const _0x3ad42a=((_0x458a69=this[_0x16d2a0(0x1ed)][_0x16d2a0(0x193)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x458a69[_0x16d2a0(0x2a3)])||es,_0x440c9b=(await this['_httpService'][_0x16d2a0(0x26f)](_0x3ad42a,{'body':JSON[_0x16d2a0(0x302)]({'taskId':_0x208a16})}))['body'];if(((_0x24843d=_0x440c9b[_0x16d2a0(0x384)])==null?void 0x0:_0x24843d[_0x16d2a0(0x26c)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x440c9b[_0x16d2a0(0x439)],_0x3ebddd);}catch(_0x2e9dc5){this[_0x16d2a0(0x1db)][_0x16d2a0(0x384)](_0x2e9dc5);}}async['_getFormulaLimitStatus'](_0x4ca71c){const _0xf05b57=_0x6c52c3;var _0x4559bd,_0x5b744d;const _0x19e11a=Date[_0xf05b57(0x416)]();try{const _0x505253=((_0x4559bd=this[_0xf05b57(0x1ed)]['getConfig'](u[_0xf05b57(0x295)]))==null?void 0x0:_0x4559bd[_0xf05b57(0x25a)])||Qt,_0x4c362e=_0x4ca71c?_0x505253+_0xf05b57(0x390)+encodeURIComponent(_0x4ca71c):_0x505253,_0x57b856=(await this[_0xf05b57(0x26d)][_0xf05b57(0x285)](_0x4c362e))['body'];if(((_0x5b744d=_0x57b856[_0xf05b57(0x384)])==null?void 0x0:_0x5b744d[_0xf05b57(0x26c)])!==G['OK'])return;this[_0xf05b57(0x32f)](_0x57b856[_0xf05b57(0x439)],_0x19e11a);}catch(_0x2a3cec){this[_0xf05b57(0x1db)][_0xf05b57(0x384)](_0x2a3cec);}}async[_0x6c52c3(0x2cc)](_0x301184){const _0xa13cd9=_0x6c52c3;var _0x586711,_0x154503;const _0x438a1a=Date[_0xa13cd9(0x416)]();try{const _0x51b420=((_0x586711=this[_0xa13cd9(0x1ed)][_0xa13cd9(0x193)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x586711[_0xa13cd9(0x3ca)])||ts,_0x214660=(await this[_0xa13cd9(0x26d)][_0xa13cd9(0x26f)](_0x51b420,{'body':JSON[_0xa13cd9(0x302)]({'taskId':_0x301184})}))[_0xa13cd9(0x183)];if(((_0x154503=_0x214660[_0xa13cd9(0x384)])==null?void 0x0:_0x154503[_0xa13cd9(0x26c)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x214660[_0xa13cd9(0x439)],_0x438a1a);}catch(_0xc05c02){this[_0xa13cd9(0x1db)]['error'](_0xc05c02);}}[_0x6c52c3(0x3cf)](){const _0x14759b=_0x6c52c3;return this[_0x14759b(0x1c0)]===0x0?!0x0:this[_0x14759b(0x1c0)]-this[_0x14759b(0x425)]>0x0;}[_0x6c52c3(0x3b7)](){const _0x5f27b0=_0x6c52c3;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x5f27b0(0x28e)]=null);}[_0x6c52c3(0x288)](){const _0x3a3d08=_0x6c52c3;this[_0x3a3d08(0x2e8)][_0x3a3d08(0x1d3)]({'content':this[_0x3a3d08(0x298)]['t'](_0x3a3d08(0x37b)),'type':T['MessageType']['Loading']});}[_0x6c52c3(0x2b9)](_0x3034b5){const _0x137ff8=_0x6c52c3;for(const _0x58652c of _0x3034b5){const {unitId:_0x3c47f2,sheetId:_0x292143,range:_0x2f2222}=_0x58652c,_0x4b12c4=this[_0x137ff8(0x3dd)][_0x137ff8(0x29e)](_0x3c47f2);if(!_0x4b12c4)continue;const _0x63cf04=_0x4b12c4[_0x137ff8(0x375)](_0x292143);if(!_0x63cf04)continue;const _0x2a2854=_0x63cf04[_0x137ff8(0x398)]();for(let _0x142895=_0x2f2222['startRow'];_0x142895<=_0x2f2222['endRow'];_0x142895++)for(let _0x238627=_0x2f2222['startColumn'];_0x238627<=_0x2f2222['endColumn'];_0x238627++){const _0x26a5da=_0x2a2854['getValue'](_0x142895,_0x238627);if(_0x26a5da&&(a[_0x137ff8(0x2dd)](_0x26a5da['f'])||a['isFormulaId'](_0x26a5da['si'])))return!0x0;}}return!0x1;}};ie=Zt([A(0x0,a[_0x6c52c3(0x1ee)](R[_0x6c52c3(0x1c8)])),A(0x1,a[_0x6c52c3(0x391)]),A(0x2,a[_0x6c52c3(0x33b)]),A(0x3,a[_0x6c52c3(0x1ee)](X[_0x6c52c3(0x2c7)])),A(0x4,a[_0x6c52c3(0x40e)]),A(0x5,a[_0x6c52c3(0x2ca)]),A(0x6,a['Inject'](a[_0x6c52c3(0x225)]))],ie);var ss=Object[_0x6c52c3(0x2ac)],is=(_0x19e12b,_0x2c5dfd,_0x398084,_0x55ad91)=>{const _0xef012e=_0x6c52c3;for(var _0x51ed51=_0x55ad91>0x1?void 0x0:_0x55ad91?ss(_0x2c5dfd,_0x398084):_0x2c5dfd,_0x263241=_0x19e12b[_0xef012e(0x1f0)]-0x1,_0x565082;_0x263241>=0x0;_0x263241--)(_0x565082=_0x19e12b[_0x263241])&&(_0x51ed51=_0x565082(_0x51ed51)||_0x51ed51);return _0x51ed51;},Ie=(_0x27eb5d,_0x14b326)=>(_0xc1071,_0x54b837)=>_0x14b326(_0xc1071,_0x54b837,_0x27eb5d);let Ce=class extends a[_0x6c52c3(0x413)]{constructor(_0x34fcc9,_0x13d329,_0x38714b){const _0x37d900=_0x6c52c3;super(),_(this,_0x37d900(0x24f),new Map()),_(this,_0x37d900(0x1cb),new Map()),_(this,_0x37d900(0x40d),!0x1),(this[_0x37d900(0x1ed)]=_0x34fcc9,this['_localStorageService']=_0x13d329,this[_0x37d900(0x2a0)]=_0x38714b);}[_0x6c52c3(0x331)](){const _0xec89e2=_0x6c52c3;this[_0xec89e2(0x40d)]=!0x0;}[_0x6c52c3(0x407)](){const _0x2d0f1a=_0x6c52c3;this[_0x2d0f1a(0x40d)]=!0x1;}get['saveTaskMap'](){const _0x38d4e3=_0x6c52c3;return this[_0x38d4e3(0x1cb)];}['dispose'](){const _0x11bafc=_0x6c52c3;this[_0x11bafc(0x387)]()[_0x11bafc(0x1f1)](()=>super[_0x11bafc(0x18d)]());}async['loadOfflineData'](_0x4c6182){const _0x307475=_0x6c52c3;return this[_0x307475(0x40d)]?null:this[_0x307475(0x427)][_0x307475(0x2ef)](u[_0x307475(0x19d)](_0x4c6182));}async[_0x6c52c3(0x43d)](_0x2abc47,_0x3eeab3){const _0x1dd9b0=_0x6c52c3;return!!this[_0x1dd9b0(0x427)][_0x1dd9b0(0x410)](_0x2abc47,_0x3eeab3);}[_0x6c52c3(0x250)](_0x1cb6ac,_0x572560,_0x601769,_0x23b067){const _0x52409e=_0x6c52c3,_0x3835f3=this[_0x52409e(0x2a0)][_0x52409e(0x29b)](_0x1cb6ac);this[_0x52409e(0x24f)][_0x52409e(0x33f)](_0x1cb6ac,{'unitID':_0x1cb6ac,'type':_0x572560,'awaitingChangeset':_0x601769,'mutations':_0x23b067,'rev':_0x3835f3}),this[_0x52409e(0x1cb)][_0x52409e(0x27c)](_0x1cb6ac)||this[_0x52409e(0x317)](_0x1cb6ac);}[_0x6c52c3(0x317)](_0x12897a){const _0x2aa92c=_0x6c52c3,_0x59fc0d=this[_0x2aa92c(0x2cb)]();_0x59fc0d===0x0?this['_saveCache'](_0x12897a):this[_0x2aa92c(0x1cb)][_0x2aa92c(0x33f)](_0x12897a,setTimeout(()=>this['_saveCache'](_0x12897a),_0x59fc0d));}[_0x6c52c3(0x2cb)](){const _0xc76d2b=_0x6c52c3;var _0x53483d;return(_0x53483d=this[_0xc76d2b(0x1ed)][_0xc76d2b(0x193)](u[_0xc76d2b(0x3bb)]))!=null?_0x53483d:u['LOCAL_CACHE_INTERVAL'];}[_0x6c52c3(0x3d6)](_0x970f92){const _0x4012d8=_0x6c52c3,_0x4a1253=this['_saveTaskMap'][_0x4012d8(0x285)](_0x970f92);return _0x4a1253!==void 0x0&&window[_0x4012d8(0x3db)](_0x4a1253),this[_0x4012d8(0x427)]['setItem'](u['getLocalCacheKey'](_0x970f92),this[_0x4012d8(0x24f)][_0x4012d8(0x285)](_0x970f92))[_0x4012d8(0x1f1)](()=>this[_0x4012d8(0x1cb)]['delete'](_0x970f92));}async[_0x6c52c3(0x387)](){const _0x23ad03=_0x6c52c3,_0x45cea4=[];this[_0x23ad03(0x1cb)][_0x23ad03(0x1b1)]((_0x173e95,_0x54ff7d)=>{const _0x30093e=_0x23ad03;window[_0x30093e(0x3db)](_0x173e95),_0x45cea4['push'](this[_0x30093e(0x3d6)](_0x54ff7d)[_0x30093e(0x1f1)](()=>{const _0xdba788=_0x30093e;this[_0xdba788(0x1cb)][_0xdba788(0x41a)](_0x54ff7d);}));}),await Promise[_0x23ad03(0x211)](_0x45cea4);}};Ce=is([Ie(0x0,a[_0x6c52c3(0x33b)]),Ie(0x1,a['ILocalStorageService']),Ie(0x2,a['Inject'](g['RevisionService']))],Ce);class ke extends a['RxDisposable']{constructor(){const _0x1a5c75=_0x6c52c3;super(),_(this,'urlChange$'),this[_0x1a5c75(0x436)]=I[_0x1a5c75(0x18e)](window,_0x1a5c75(0x3b1))[_0x1a5c75(0x1b7)](I[_0x1a5c75(0x3c3)](this[_0x1a5c75(0x359)]),I[_0x1a5c75(0x3c1)](0x1),I[_0x1a5c75(0x1b4)](void 0x0));}[_0x6c52c3(0x329)](_0x2aca2c,_0x1a0b24,_0x4f4af9=!0x1){const _0x40f5b8=_0x6c52c3,_0x3ff9b6=new URL(window[_0x40f5b8(0x2a9)][_0x40f5b8(0x42c)]);_0x3ff9b6[_0x40f5b8(0x3ae)][_0x40f5b8(0x33f)](_0x2aca2c,_0x1a0b24),_0x4f4af9?window['history'][_0x40f5b8(0x424)]('','',_0x3ff9b6[_0x40f5b8(0x312)]()):window[_0x40f5b8(0x21c)][_0x40f5b8(0x438)]('','',_0x3ff9b6[_0x40f5b8(0x312)]());}[_0x6c52c3(0x41b)](_0x1f4fd0,_0x4992b8=!0x1){const _0x409e29=_0x6c52c3,_0x377385=new URL(window[_0x409e29(0x2a9)][_0x409e29(0x42c)]);_0x377385[_0x409e29(0x3ae)][_0x409e29(0x41a)](_0x1f4fd0),_0x4992b8?window[_0x409e29(0x21c)][_0x409e29(0x424)]('','',_0x377385[_0x409e29(0x312)]()):window[_0x409e29(0x21c)]['pushState']('','',_0x377385['toString']());}['getParam'](_0x43e65d){const _0x5a6200=_0x6c52c3;var _0x438d65;return(_0x438d65=new URL(window[_0x5a6200(0x2a9)][_0x5a6200(0x42c)])[_0x5a6200(0x3ae)]['get'](_0x43e65d))!=null?_0x438d65:void 0x0;}}var ns=Object[_0x6c52c3(0x3d2)],rs=Object[_0x6c52c3(0x2ac)],os=(_0x59500c,_0x8566ec,_0x25b64a)=>_0x8566ec in _0x59500c?ns(_0x59500c,_0x8566ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25b64a}):_0x59500c[_0x8566ec]=_0x25b64a,as=(_0x190525,_0x142309,_0x8f1ec8,_0x405a19)=>{const _0x589303=_0x6c52c3;for(var _0x1fdf8b=_0x405a19>0x1?void 0x0:_0x405a19?rs(_0x142309,_0x8f1ec8):_0x142309,_0x345696=_0x190525[_0x589303(0x1f0)]-0x1,_0x4e1672;_0x345696>=0x0;_0x345696--)(_0x4e1672=_0x190525[_0x345696])&&(_0x1fdf8b=_0x4e1672(_0x1fdf8b)||_0x1fdf8b);return _0x1fdf8b;},de=(_0x23d7cf,_0xd00997)=>(_0x154797,_0x32cd1f)=>_0xd00997(_0x154797,_0x32cd1f,_0x23d7cf),cs=(_0x52144e,_0x209ee3,_0x5846f2)=>os(_0x52144e,_0x209ee3+'',_0x5846f2);const ls=_0x6c52c3(0x215);function _0xc584(_0x139c97,_0x5bd1c2){const _0x430406=_0x4304();return _0xc584=function(_0xc584eb,_0x503176){_0xc584eb=_0xc584eb-0x180;let _0x5bfc2a=_0x430406[_0xc584eb];return _0x5bfc2a;},_0xc584(_0x139c97,_0x5bd1c2);}exports[_0x6c52c3(0x362)]=class extends a[_0x6c52c3(0x272)]{constructor(_0x101b85=Le,_0x543b1d,_0x3a39bd,_0x300ba7){const _0x2a24ff=_0x6c52c3;super(),this['_config']=_0x101b85,this[_0x2a24ff(0x23a)]=_0x543b1d,this[_0x2a24ff(0x3a1)]=_0x3a39bd,this[_0x2a24ff(0x1ed)]=_0x300ba7;const {..._0x1bb267}=a[_0x2a24ff(0x3ff)]({},Le,this[_0x2a24ff(0x196)]);this['_configService'][_0x2a24ff(0x32d)](kt,_0x1bb267);}[_0x6c52c3(0x20d)](){const _0x1b1461=_0x6c52c3;this[_0x1b1461(0x30e)](),this[_0x1b1461(0x1ec)]();}[_0x6c52c3(0x291)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x448bf2=_0x6c52c3;var _0x409019;const _0x1d7677=[[Oe],[ie],[te],[Q],[ee],[Re],[Te,{'useClass':ke}],[X[_0x448bf2(0x304)],{'useClass':X[_0x448bf2(0x299)]}],[u[_0x448bf2(0x3ea)],{'useClass':Ce}],[exports[_0x448bf2(0x2e9)]],[se],[Z],[F],[fe],[exports[_0x448bf2(0x3f2)]]];a[_0x448bf2(0x240)](this[_0x448bf2(0x3a1)],a[_0x448bf2(0x217)](_0x1d7677,(_0x409019=this[_0x448bf2(0x196)])==null?void 0x0:_0x409019[_0x448bf2(0x293)]));}['_registerRenderDependencies'](){const _0x262ed7=_0x6c52c3;this[_0x262ed7(0x392)](this[_0x262ed7(0x23a)][_0x262ed7(0x431)](a[_0x262ed7(0x3ec)]['UNIVER_DOC'],[ge])),this[_0x262ed7(0x392)](this[_0x262ed7(0x23a)][_0x262ed7(0x431)](a[_0x262ed7(0x3ec)][_0x262ed7(0x24e)],[Ee]));}[_0x6c52c3(0x1ec)](){const _0x2f0087=_0x6c52c3;a[_0x2f0087(0x330)](this[_0x2f0087(0x3a1)],[[F],[exports['DesktopCollaborationStatusDisplayController']],[se],[Z],[exports[_0x2f0087(0x3f2)]],[ie]]);}},cs(exports[_0x6c52c3(0x362)],'pluginName',ls),exports[_0x6c52c3(0x362)]=as([a[_0x6c52c3(0x336)](u['UniverCollaborationClientPlugin']),de(0x1,C[_0x6c52c3(0x2a2)]),de(0x2,a[_0x6c52c3(0x1ee)](a['Injector'])),de(0x3,a[_0x6c52c3(0x33b)])],exports[_0x6c52c3(0x362)]);var _s=Object[_0x6c52c3(0x2ac)],hs=(_0x7076b9,_0x394f9e,_0x2d080e,_0x550aa1)=>{const _0x2a095b=_0x6c52c3;for(var _0x17c61a=_0x550aa1>0x1?void 0x0:_0x550aa1?_s(_0x394f9e,_0x2d080e):_0x394f9e,_0x208a75=_0x7076b9[_0x2a095b(0x1f0)]-0x1,_0x2838fc;_0x208a75>=0x0;_0x208a75--)(_0x2838fc=_0x7076b9[_0x208a75])&&(_0x17c61a=_0x2838fc(_0x17c61a)||_0x17c61a);return _0x17c61a;},W=(_0x205240,_0x382a42)=>(_0x335316,_0x412eef)=>_0x382a42(_0x335316,_0x412eef,_0x205240);exports['BrowserCollaborationSocketService']=class extends u[_0x6c52c3(0x236)]{constructor(_0x4a6a27,_0x479aa5,_0xa5ec3c,_0x5d86a6,_0x264518){super(_0x4a6a27,_0x479aa5,_0xa5ec3c,_0x5d86a6,_0x264518);}async[_0x6c52c3(0x1cd)](_0x396109){const _0x37a6eb=_0x6c52c3,_0x44a237=await this[_0x37a6eb(0x371)](),_0x54a7ad=this[_0x37a6eb(0x35b)](_0x396109,_0x44a237);return this[_0x37a6eb(0x40f)](_0x54a7ad);}[_0x6c52c3(0x35b)](_0x784f6b,_0xc84d3d){const _0xbcf0=_0x6c52c3,_0x190664=typeof window>'u'?new URL(_0x784f6b):new URL(_0x784f6b,window['location'][_0xbcf0(0x34b)]);_0x190664['searchParams'][_0xbcf0(0x33f)](_0xbcf0(0x3eb),_0xc84d3d);const _0x2e9be7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbcf0(0x2a9)][_0xbcf0(0x22d)]);return _0x2e9be7[_0xbcf0(0x285)]('runId')&&_0x190664[_0xbcf0(0x3ae)][_0xbcf0(0x33f)]('runId',_0x2e9be7['get'](_0xbcf0(0x303))),_0x190664['toString']();}async[_0x6c52c3(0x371)](){const _0x3eaabf=_0x6c52c3;var _0x21b908,_0x3fe932,_0x2ca14f;const _0xebda9d=this[_0x3eaabf(0x1ed)][_0x3eaabf(0x193)](u[_0x3eaabf(0x295)]),_0x5ed642=(_0x21b908=_0xebda9d==null?void 0x0:_0xebda9d[_0x3eaabf(0x39d)])!=null?_0x21b908:u[_0x3eaabf(0x32b)];return(_0x2ca14f=(_0x3fe932=(await this[_0x3eaabf(0x26d)][_0x3eaabf(0x285)](_0x5ed642,{'headers':{'Content-Type':_0x3eaabf(0x271)}}))[_0x3eaabf(0x183)])==null?void 0x0:_0x3fe932[_0x3eaabf(0x38b)])!=null?_0x2ca14f:'';}},exports['BrowserCollaborationSocketService']=hs([W(0x0,a['Inject'](a['Injector'])),W(0x1,a['Inject'](X['HTTPService'])),W(0x2,a[_0x6c52c3(0x33b)]),W(0x3,a[_0x6c52c3(0x2ca)]),W(0x4,g[_0x6c52c3(0x2ad)])],exports['BrowserCollaborationSocketService']);var us=Object['getOwnPropertyDescriptor'],Is=(_0x1fd32a,_0x7a813,_0x3c2ac3,_0x7d0ae3)=>{for(var _0x57a96d=_0x7d0ae3>0x1?void 0x0:_0x7d0ae3?us(_0x7a813,_0x3c2ac3):_0x7a813,_0xabea0b=_0x1fd32a['length']-0x1,_0x4dbb73;_0xabea0b>=0x0;_0xabea0b--)(_0x4dbb73=_0x1fd32a[_0xabea0b])&&(_0x57a96d=_0x4dbb73(_0x57a96d)||_0x57a96d);return _0x57a96d;},Se=(_0x3a893c,_0x1fc87d)=>(_0x50e189,_0x37a40a)=>_0x1fc87d(_0x50e189,_0x37a40a,_0x3a893c);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x3b17e5,_0x47d96a,_0x559678){const _0x32260e=_0x6c52c3;super(),this[_0x32260e(0x234)]=_0x3b17e5,this[_0x32260e(0x26d)]=_0x47d96a,this['_configService']=_0x559678;}async[_0x6c52c3(0x1b0)](_0x23ce8f,_0x137205,_0x3e1c89,..._0x2d942c){const _0x3cd00a=_0x6c52c3;var _0x641608,_0x323353,_0x3467ef,_0x1cf9e7;const _0x137bcc=this[_0x3cd00a(0x234)]['getFocusedUnit']();if(!_0x137bcc)throw new Error(_0x3cd00a(0x1df));const _0x381677=((_0x641608=this[_0x3cd00a(0x1ed)][_0x3cd00a(0x193)](u[_0x3cd00a(0x259)]))!=null?_0x641608:u[_0x3cd00a(0x3c7)])+'/'+_0x23ce8f+'/run/'+_0x137205,_0x49cc56=new URL(window[_0x3cd00a(0x2a9)][_0x3cd00a(0x42c)]),_0x3d7dfa={'scriptId':_0x23ce8f,'runId':(_0x323353=_0x49cc56[_0x3cd00a(0x3ae)]['get']('runId'))!=null?_0x323353:'','function':_0x137205,'unitId':_0x137bcc[_0x3cd00a(0x411)](),'argsOfFunction':JSON[_0x3cd00a(0x302)](_0x2d942c),'invokeId':(_0x3467ef=_0x3e1c89[_0x3cd00a(0x25b)])!=null?_0x3467ef:'','executionId':(_0x1cf9e7=_0x3e1c89['executionId'])!=null?_0x1cf9e7:''};try{const _0x31ada7=await this[_0x3cd00a(0x26d)][_0x3cd00a(0x26f)](_0x381677,{'body':_0x3d7dfa});return _0x31ada7[_0x3cd00a(0x183)]['error']&&_0x31ada7[_0x3cd00a(0x183)]['error'][_0x3cd00a(0x26c)]!==G['OK']?_0x3cd00a(0x395):_0x31ada7[_0x3cd00a(0x183)]['result'];}catch{return'Failed';}}},exports[_0x6c52c3(0x263)]=Is([Se(0x0,a[_0x6c52c3(0x40e)]),Se(0x1,a[_0x6c52c3(0x1ee)](X[_0x6c52c3(0x2c7)])),Se(0x2,a['IConfigService'])],exports[_0x6c52c3(0x263)]);const Pe=0x7530,we='ACTIVE_UNIT_EVENT_CHANNEL';class ds extends a[_0x6c52c3(0x413)]{constructor(){const _0xfdaea5=_0x6c52c3;super(),_(this,_0xfdaea5(0x1b9),a[_0xfdaea5(0x254)]()),_(this,_0xfdaea5(0x351),new Set()),_(this,_0xfdaea5(0x39c),new Map()),_(this,_0xfdaea5(0x40b),null),_(this,'_clearOtherTimers',new Map()),_(this,_0xfdaea5(0x36b),new Map()),this['_init']();}[_0x6c52c3(0x18d)](){const _0x471097=_0x6c52c3;super[_0x471097(0x18d)](),this[_0x471097(0x237)][_0x471097(0x1b1)]((_0xf2d503,_0x5f8ebd)=>this[_0x471097(0x3de)](_0x5f8ebd)),this['_heartbeatTimer']&&window[_0x471097(0x26b)](this[_0x471097(0x40b)]);}[_0x6c52c3(0x1d4)](_0x44ce42){const _0x3b91e2=_0x6c52c3;return this[_0x3b91e2(0x252)](_0x44ce42)[_0x3b91e2(0x1b7)](I['distinctUntilChanged']());}[_0x6c52c3(0x37c)](_0x409eb7){const _0xaa5f69=_0x6c52c3;this['_selfUnitIDs']['size']===0x0&&this[_0xaa5f69(0x197)](),this[_0xaa5f69(0x351)][_0xaa5f69(0x194)](_0x409eb7),this[_0xaa5f69(0x244)]({'type':0x0,'memberID':this[_0xaa5f69(0x1b9)],'unitIDs':[_0x409eb7],'isForwarded':!0x1});}['disposeUnit'](_0x18cf4b){const _0x189727=_0x6c52c3;this[_0x189727(0x351)][_0x189727(0x41a)](_0x18cf4b),this[_0x189727(0x351)][_0x189727(0x364)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x189727(0x40b)]);}[_0x6c52c3(0x39e)](){const _0x5e731b=_0x6c52c3;this[_0x5e731b(0x392)](a[_0x5e731b(0x1aa)](I[_0x5e731b(0x18e)](window,_0x5e731b(0x2af))['subscribe'](_0x103c8f=>{const _0x3d57a7=_0x5e731b;if(_0x103c8f[_0x3d57a7(0x27f)]!==we||!_0x103c8f[_0x3d57a7(0x397)])return;const _0x3d9be8=JSON[_0x3d57a7(0x1e0)](_0x103c8f[_0x3d57a7(0x397)]);this[_0x3d57a7(0x2bc)](_0x3d9be8);}))),window[_0x5e731b(0x191)](_0x5e731b(0x214),()=>this[_0x5e731b(0x244)]({'type':0x1,'memberID':this[_0x5e731b(0x1b9)],'unitIDs':Array[_0x5e731b(0x235)](this[_0x5e731b(0x351)])}));}['_handleEvent'](_0x4230d3){const _0x56d578=_0x6c52c3;switch(_0x4230d3[_0x56d578(0x333)]){case 0x0:this['_handleJoinEvent'](_0x4230d3);break;case 0x1:this['_handleLeaveEvent'](_0x4230d3);break;case 0x2:this[_0x56d578(0x386)](_0x4230d3);break;}}['_handleJoinEvent'](_0x175477){const _0x32690b=_0x6c52c3,{unitIDs:_0x4bf95c,memberID:_0x1561d0,isForwarded:_0xe0b738}=_0x175477;_0x4bf95c[_0x32690b(0x1b1)](_0x2bf343=>{const _0x4fbbeb=_0x32690b;if(!_0xe0b738&&this[_0x4fbbeb(0x39c)][_0x4fbbeb(0x27c)](_0x2bf343)&&this[_0x4fbbeb(0x252)](_0x2bf343)[_0x4fbbeb(0x2c9)](u[_0x4fbbeb(0x19f)][_0x4fbbeb(0x41f)]),!this[_0x4fbbeb(0x39c)]['has'](_0x2bf343)||!this[_0x4fbbeb(0x39c)][_0x4fbbeb(0x285)](_0x2bf343)[_0x4fbbeb(0x27c)](_0x1561d0)){const _0x1f7fae=this[_0x4fbbeb(0x39c)][_0x4fbbeb(0x285)](_0x2bf343)||new Set();_0x1f7fae['add'](_0x1561d0),this['_unitOnClients'][_0x4fbbeb(0x33f)](_0x2bf343,_0x1f7fae),this[_0x4fbbeb(0x1eb)](_0x1561d0);}}),_0xe0b738||this[_0x32690b(0x244)]({'type':0x0,'memberID':this[_0x32690b(0x1b9)],'unitIDs':[...this[_0x32690b(0x351)]],'isForwarded':!0x0});}[_0x6c52c3(0x1eb)](_0x2e4c03){const _0x2bbfea=_0x6c52c3;this[_0x2bbfea(0x3de)](_0x2e4c03);const _0xf125c9=window[_0x2bbfea(0x3fe)](()=>{const _0x702b6=_0x2bbfea;this[_0x702b6(0x39c)][_0x702b6(0x1b1)](_0x1f1b19=>{const _0x4059a3=_0x702b6;_0x1f1b19[_0x4059a3(0x41a)](_0x2e4c03);});},Pe*0x2);this[_0x2bbfea(0x237)][_0x2bbfea(0x33f)](_0x2e4c03,_0xf125c9);}[_0x6c52c3(0x3de)](_0x26d22a){const _0x3d5ba8=_0x6c52c3;if(this['_clearOtherTimers'][_0x3d5ba8(0x27c)](_0x26d22a)){const _0x472059=this[_0x3d5ba8(0x237)]['get'](_0x26d22a);_0x472059&&window[_0x3d5ba8(0x3db)](_0x472059),this[_0x3d5ba8(0x237)][_0x3d5ba8(0x33f)](_0x26d22a,null);}}[_0x6c52c3(0x373)](_0x1695c9){const _0x3ffae4=_0x6c52c3,{memberID:_0x39661e,unitIDs:_0x263d77}=_0x1695c9;_0x263d77[_0x3ffae4(0x1b1)](_0x34a4f9=>{const _0x485632=_0x3ffae4;var _0xd3ebf6;const _0x224bd7=this[_0x485632(0x39c)][_0x485632(0x285)](_0x34a4f9);_0x224bd7&&(_0x224bd7[_0x485632(0x41a)](_0x39661e),(_0xd3ebf6=this['_ensureSubject'](_0x34a4f9))==null||_0xd3ebf6[_0x485632(0x2c9)](_0x224bd7[_0x485632(0x364)]===0x0?u[_0x485632(0x19f)][_0x485632(0x338)]:u[_0x485632(0x19f)][_0x485632(0x41f)]));}),this[_0x3ffae4(0x3de)](_0x39661e);}[_0x6c52c3(0x386)](_0xbd81e1){const _0x58165c=_0x6c52c3;this[_0x58165c(0x1eb)](_0xbd81e1['memberID']);}[_0x6c52c3(0x244)](_0x2372fd){const _0x57af9a=_0x6c52c3;localStorage[_0x57af9a(0x410)](we,JSON[_0x57af9a(0x302)](_0x2372fd));}[_0x6c52c3(0x197)](){const _0x5bb264=_0x6c52c3;this['_heartbeatTimer']=window[_0x5bb264(0x1bb)](()=>{const _0x22f840=_0x5bb264;this[_0x22f840(0x244)]({'type':0x2,'memberID':this[_0x22f840(0x1b9)]});},Pe);}[_0x6c52c3(0x252)](_0x4c398e){const _0xf95efe=_0x6c52c3;return this['_unitStatus'][_0xf95efe(0x27c)](_0x4c398e)||this[_0xf95efe(0x36b)][_0xf95efe(0x33f)](_0x4c398e,new I['BehaviorSubject'](u['UnitStatus'][_0xf95efe(0x338)])),this[_0xf95efe(0x36b)][_0xf95efe(0x285)](_0x4c398e);}}exports[_0x6c52c3(0x26e)]=Te,exports[_0x6c52c3(0x27e)]=Fe,exports[_0x6c52c3(0x380)]=ds,exports[_0x6c52c3(0x1ac)]=ke;
|
|
1
|
+
'use strict';const _0x1aaf2d=_0x4084;(function(_0x2dcca5,_0x2f1fa7){const _0x56ef73=_0x4084,_0x30eabe=_0x2dcca5();while(!![]){try{const _0x40f522=parseInt(_0x56ef73(0x3e5))/0x1*(parseInt(_0x56ef73(0x2e7))/0x2)+parseInt(_0x56ef73(0x477))/0x3+parseInt(_0x56ef73(0x341))/0x4+-parseInt(_0x56ef73(0x208))/0x5+-parseInt(_0x56ef73(0x416))/0x6*(parseInt(_0x56ef73(0x287))/0x7)+parseInt(_0x56ef73(0x33e))/0x8+-parseInt(_0x56ef73(0x3fa))/0x9;if(_0x40f522===_0x2f1fa7)break;else _0x30eabe['push'](_0x30eabe['shift']());}catch(_0x37ea25){_0x30eabe['push'](_0x30eabe['shift']());}}}(_0xa61a,0xf1890));var Ge=Object['defineProperty'],Xe=(_0x500eca,_0x4ad1c9,_0x4ebd58)=>_0x4ad1c9 in _0x500eca?Ge(_0x500eca,_0x4ad1c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ebd58}):_0x500eca[_0x4ad1c9]=_0x4ebd58,_=(_0x222881,_0x300fc2,_0xab20f)=>Xe(_0x222881,typeof _0x300fc2!=_0x1aaf2d(0x244)?_0x300fc2+'':_0x300fc2,_0xab20f);Object[_0x1aaf2d(0x33c)](exports,Symbol[_0x1aaf2d(0x385)],{'value':_0x1aaf2d(0x25a)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),R=require('@univerjs/ui'),I=require('rxjs'),T=require('@univerjs/design'),L=require('react'),Ke=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),X=require('@univerjs/network'),p=require('@univerjs/docs-ui'),qe=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');var O=function(){const _0x2337a3=_0x1aaf2d;return O=Object['assign']||function(_0x4054b9){const _0x4c1a74=_0x4084;for(var _0x259993,_0xab7b41=0x1,_0x16678f=arguments[_0x4c1a74(0x3e3)];_0xab7b41<_0x16678f;_0xab7b41++){_0x259993=arguments[_0xab7b41];for(var _0x598015 in _0x259993)Object['prototype'][_0x4c1a74(0x2ec)]['call'](_0x259993,_0x598015)&&(_0x4054b9[_0x598015]=_0x259993[_0x598015]);}return _0x4054b9;},O[_0x2337a3(0x211)](this,arguments);},ze=function(_0x165b68,_0xd065d7){const _0x2799e8=_0x1aaf2d;var _0xc336e5={};for(var _0x4a53cf in _0x165b68)Object[_0x2799e8(0x3a5)]['hasOwnProperty'][_0x2799e8(0x2b4)](_0x165b68,_0x4a53cf)&&_0xd065d7[_0x2799e8(0x3c2)](_0x4a53cf)<0x0&&(_0xc336e5[_0x4a53cf]=_0x165b68[_0x4a53cf]);if(_0x165b68!=null&&typeof Object['getOwnPropertySymbols']==_0x2799e8(0x259)){for(var _0x83c837=0x0,_0x4a53cf=Object['getOwnPropertySymbols'](_0x165b68);_0x83c837<_0x4a53cf['length'];_0x83c837++)_0xd065d7[_0x2799e8(0x3c2)](_0x4a53cf[_0x83c837])<0x0&&Object['prototype'][_0x2799e8(0x488)][_0x2799e8(0x2b4)](_0x165b68,_0x4a53cf[_0x83c837])&&(_0xc336e5[_0x4a53cf[_0x83c837]]=_0x165b68[_0x4a53cf[_0x83c837]]);}return _0xc336e5;},pe=L[_0x1aaf2d(0x272)](function(_0x3f6310,_0x3169d8){const _0x3a1cc8=_0x1aaf2d;var _0x5c40fb=_0x3f6310[_0x3a1cc8(0x474)],_0x192d79=_0x3f6310['id'],_0x232d90=_0x3f6310[_0x3a1cc8(0x329)],_0x1098ef=_0x3f6310[_0x3a1cc8(0x1dc)],_0x33ec55=ze(_0x3f6310,['icon','id','className',_0x3a1cc8(0x1dc)]),_0x37f456=_0x3a1cc8(0x2d5)[_0x3a1cc8(0x388)](_0x192d79,'\x20')[_0x3a1cc8(0x388)](_0x232d90||'')['trim'](),_0x129dac=L[_0x3a1cc8(0x2e4)]('_'[_0x3a1cc8(0x388)](Qe()));return ye(_0x5c40fb,''[_0x3a1cc8(0x388)](_0x192d79),{'defIds':_0x5c40fb[_0x3a1cc8(0x40d)],'idSuffix':_0x129dac['current']},O({'ref':_0x3169d8,'className':_0x37f456},_0x33ec55),_0x1098ef);});function ye(_0x265999,_0x241c45,_0x1fe8c5,_0x1fcf0f,_0x2cd609){const _0x3f26cb=_0x1aaf2d;return L[_0x3f26cb(0x365)](_0x265999['tag'],O(O({'key':_0x241c45},Je(_0x265999,_0x1fe8c5,_0x2cd609)),_0x1fcf0f),(Ze(_0x265999,_0x1fe8c5)[_0x3f26cb(0x1e5)]||[])[_0x3f26cb(0x3b6)](function(_0x17b058,_0x4be7d2){const _0x59a9db=_0x3f26cb;return ye(_0x17b058,''[_0x59a9db(0x388)](_0x241c45,'-')[_0x59a9db(0x388)](_0x265999[_0x59a9db(0x459)],'-')[_0x59a9db(0x388)](_0x4be7d2),_0x1fe8c5,void 0x0,_0x2cd609);}));}function Je(_0x1385e8,_0x13be0,_0x1edf51){const _0x5ca6c1=_0x1aaf2d;var _0x119118=O({},_0x1385e8[_0x5ca6c1(0x40a)]);_0x1edf51!=null&&_0x1edf51[_0x5ca6c1(0x3ac)]&&_0x119118[_0x5ca6c1(0x431)]==='colorChannel1'&&(_0x119118[_0x5ca6c1(0x431)]=_0x1edf51[_0x5ca6c1(0x3ac)]),_0x1385e8[_0x5ca6c1(0x459)]===_0x5ca6c1(0x41f)&&_0x119118['id']&&(_0x119118['id']=_0x119118['id']+_0x13be0['idSuffix']),Object[_0x5ca6c1(0x38a)](_0x119118)[_0x5ca6c1(0x3da)](function(_0x57f925){const _0xd835b2=_0x5ca6c1;var _0x1035ad=_0x57f925[0x0],_0x542b8e=_0x57f925[0x1];_0x1035ad==='mask'&&typeof _0x542b8e==_0xd835b2(0x306)&&(_0x119118[_0x1035ad]=_0x542b8e['replace'](/url\(#(.*)\)/,_0xd835b2(0x223)[_0xd835b2(0x388)](_0x13be0[_0xd835b2(0x424)],')')));});var _0x24a8ce=_0x13be0[_0x5ca6c1(0x40d)];return!_0x24a8ce||_0x24a8ce[_0x5ca6c1(0x3e3)]===0x0||(_0x1385e8['tag']===_0x5ca6c1(0x48d)&&_0x119118[_0x5ca6c1(0x395)]&&(_0x119118['xlink:href']=_0x119118[_0x5ca6c1(0x395)]+_0x13be0['idSuffix']),Object[_0x5ca6c1(0x38a)](_0x119118)['forEach'](function(_0x438ff1){const _0x68700e=_0x5ca6c1;var _0x5e032e=_0x438ff1[0x0],_0x4047b6=_0x438ff1[0x1];typeof _0x4047b6==_0x68700e(0x306)&&(_0x119118[_0x5e032e]=_0x4047b6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x68700e(0x388)](_0x13be0[_0x68700e(0x424)],')')));})),_0x119118;}function Ze(_0x457678,_0x44b4ce){const _0x2c2608=_0x1aaf2d;var _0x3b3bf6,_0x4d58a1=_0x44b4ce[_0x2c2608(0x40d)];return!_0x4d58a1||_0x4d58a1[_0x2c2608(0x3e3)]===0x0?_0x457678:_0x457678[_0x2c2608(0x459)]===_0x2c2608(0x47b)&&(!((_0x3b3bf6=_0x457678[_0x2c2608(0x1e5)])===null||_0x3b3bf6===void 0x0)&&_0x3b3bf6['length'])?O(O({},_0x457678),{'children':_0x457678['children'][_0x2c2608(0x3b6)](function(_0x4cb76e){const _0x5db93b=_0x2c2608;return typeof _0x4cb76e[_0x5db93b(0x40a)]['id']==_0x5db93b(0x306)&&_0x4d58a1&&_0x4d58a1[_0x5db93b(0x3b2)](_0x4cb76e['attrs']['id'])?O(O({},_0x4cb76e),{'attrs':O(O({},_0x4cb76e[_0x5db93b(0x40a)]),{'id':_0x4cb76e[_0x5db93b(0x40a)]['id']+_0x44b4ce[_0x5db93b(0x424)]})}):_0x4cb76e;})}):_0x457678;}function Qe(){const _0xc68fac=_0x1aaf2d;return Math[_0xc68fac(0x2ef)]()[_0xc68fac(0x36f)](0x24)[_0xc68fac(0x450)](0x2,0x8);}pe[_0x1aaf2d(0x33a)]=_0x1aaf2d(0x448);var et={'tag':_0x1aaf2d(0x22b),'attrs':{'xmlns':_0x1aaf2d(0x458),'fill':'none','viewBox':_0x1aaf2d(0x22a),'width':_0x1aaf2d(0x48f),'height':_0x1aaf2d(0x48f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1aaf2d(0x2cd)},'children':[{'tag':_0x1aaf2d(0x437),'attrs':{'stroke':'currentColor','d':_0x1aaf2d(0x396),'strokeLinecap':_0x1aaf2d(0x453),'strokeLinejoin':_0x1aaf2d(0x453),'strokeWidth':1.2}}]},{'tag':_0x1aaf2d(0x47b),'attrs':{},'children':[{'tag':_0x1aaf2d(0x371),'attrs':{'id':_0x1aaf2d(0x317)},'children':[{'tag':_0x1aaf2d(0x437),'attrs':{'fill':_0x1aaf2d(0x2e5),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1aaf2d(0x317)]},xe=L[_0x1aaf2d(0x272)](function(_0x4a81a9,_0x1c0db4){const _0x1cbd21=_0x1aaf2d;return L[_0x1cbd21(0x365)](pe,Object['assign']({},_0x4a81a9,{'id':_0x1cbd21(0x300),'ref':_0x1c0db4,'icon':et}));});xe[_0x1aaf2d(0x33a)]=_0x1aaf2d(0x1de);var tt={'tag':'svg','attrs':{'xmlns':_0x1aaf2d(0x458),'fill':_0x1aaf2d(0x30d),'viewBox':_0x1aaf2d(0x27c),'width':_0x1aaf2d(0x48f),'height':_0x1aaf2d(0x48f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1aaf2d(0x2db)},'children':[{'tag':_0x1aaf2d(0x437),'attrs':{'stroke':_0x1aaf2d(0x214),'d':'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','strokeLinecap':_0x1aaf2d(0x453),'strokeLinejoin':_0x1aaf2d(0x453),'strokeWidth':1.2}}]},{'tag':_0x1aaf2d(0x47b),'attrs':{},'children':[{'tag':_0x1aaf2d(0x371),'attrs':{'id':_0x1aaf2d(0x3c6)},'children':[{'tag':_0x1aaf2d(0x437),'attrs':{'fill':_0x1aaf2d(0x2e5),'d':_0x1aaf2d(0x203),'transform':_0x1aaf2d(0x3d7)}}]}]}],'defIds':[_0x1aaf2d(0x3c6)]},$e=L[_0x1aaf2d(0x272)](function(_0x3ff6d2,_0x3d5fd4){const _0x224ead=_0x1aaf2d;return L['createElement'](pe,Object[_0x224ead(0x379)]({},_0x3ff6d2,{'id':_0x224ead(0x3ba),'ref':_0x3d5fd4,'icon':tt}));});$e[_0x1aaf2d(0x33a)]=_0x1aaf2d(0x2dc);function st(_0x2f1a46){const _0x288769=_0x1aaf2d;switch(_0x2f1a46){case u['CollaborationStatus'][_0x288769(0x1ef)]:return'collabStatus.offline';case u['CollaborationStatus'][_0x288769(0x375)]:return _0x288769(0x2b8);case u['CollaborationStatus'][_0x288769(0x342)]:return _0x288769(0x33f);case u[_0x288769(0x2dd)][_0x288769(0x3cf)]:return _0x288769(0x2bb);case u[_0x288769(0x2dd)][_0x288769(0x1d8)]:case u[_0x288769(0x2dd)][_0x288769(0x1fe)]:return'collabStatus.syncing';case u[_0x288769(0x2dd)][_0x288769(0x340)]:case u[_0x288769(0x2dd)][_0x288769(0x1f8)]:return'collabStatus.synced';}}function it(_0x14cb8e){const _0x4e690f=_0x1aaf2d,{status$:_0xb1358}=_0x14cb8e,_0x317e8d=R[_0x4e690f(0x274)](_0xb1358,u['CollaborationStatus'][_0x4e690f(0x3cf)]),_0x502114=R['useDependency'](a[_0x4e690f(0x440)]),_0x2298de=R['useDependency'](u[_0x4e690f(0x255)]),_0x396d53=_0x317e8d!==u[_0x4e690f(0x2dd)]['OFFLINE'],_0x3f16ad=_0x502114['t'](st(_0x317e8d)),_0x4bfe93=_0x396d53?P[_0x4e690f(0x27f)]($e,{}):P[_0x4e690f(0x27f)](xe,{}),_0x57aa74=L[_0x4e690f(0x45d)](()=>{const _0x2077f7=_0x4e690f;_0x396d53||_0x2298de[_0x2077f7(0x3bb)]();},[_0x396d53,_0x2298de]);function _0x116ce2(){const _0x314ba6=_0x4e690f;return P[_0x314ba6(0x29b)](_0x314ba6(0x3f0),{'className':_0x314ba6(0x27d),'onClick':_0x57aa74,'children':[P[_0x314ba6(0x27f)]('div',{'className':T[_0x314ba6(0x2e9)](_0x314ba6(0x226),{'univer-text-green-500':_0x396d53,'univer-text-red-500':!_0x396d53}),'children':_0x4bfe93}),P[_0x314ba6(0x27f)](_0x314ba6(0x3f0),{'className':_0x314ba6(0x489),'children':_0x3f16ad})]});}return _0x396d53?_0x116ce2():P[_0x4e690f(0x27f)](T['Tooltip'],{'title':_0x502114['t'](_0x4e690f(0x355)),'children':_0x116ce2()});}var nt=Object[_0x1aaf2d(0x2d2)],rt=(_0x47b3cd,_0x57e7dc,_0x2ae06c,_0x570cb9)=>{const _0x36ee91=_0x1aaf2d;for(var _0x5db29e=_0x570cb9>0x1?void 0x0:_0x570cb9?nt(_0x57e7dc,_0x2ae06c):_0x57e7dc,_0x4e729c=_0x47b3cd[_0x36ee91(0x3e3)]-0x1,_0x1a987c;_0x4e729c>=0x0;_0x4e729c--)(_0x1a987c=_0x47b3cd[_0x4e729c])&&(_0x5db29e=_0x1a987c(_0x5db29e)||_0x5db29e);return _0x5db29e;},q=(_0x1e937f,_0x488b1f)=>(_0x403081,_0x2bf98c)=>_0x488b1f(_0x403081,_0x2bf98c,_0x1e937f);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x1aaf2d(0x2eb)]{constructor(_0x7a4dcc,_0x58bd93,_0x2a0074,_0x438eda){const _0x4e7b16=_0x1aaf2d;super(),_(this,_0x4e7b16(0x2f3),new I['BehaviorSubject'](u[_0x4e7b16(0x2dd)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x7a4dcc,this['_injector']=_0x58bd93,this[_0x4e7b16(0x384)]=_0x2a0074,this[_0x4e7b16(0x2aa)]=_0x438eda,this['_initStatusComponent'](),this[_0x4e7b16(0x202)]());}[_0x1aaf2d(0x202)](){const _0x4ca953=_0x1aaf2d;this[_0x4ca953(0x32f)](this['_univerInstanceService'][_0x4ca953(0x209)]['pipe'](I[_0x4ca953(0x1f3)](()=>{const _0x1770b6=_0x4ca953,_0x228c5a=this[_0x1770b6(0x397)][_0x1770b6(0x3c5)]();return _0x228c5a?this[_0x1770b6(0x384)][_0x1770b6(0x338)](_0x228c5a[_0x1770b6(0x1dd)]()):I['of'](null);}),I[_0x4ca953(0x1f3)](_0x5410da=>_0x5410da?_0x5410da[_0x4ca953(0x3bd)]:I['of'](u[_0x4ca953(0x2dd)]['NOT_COLLAB'])))['subscribe'](_0x1f391e=>{const _0x361cf7=_0x4ca953;this[_0x361cf7(0x2f3)][_0x361cf7(0x2c2)](_0x1f391e);}));}[_0x1aaf2d(0x328)](){const _0x41bd2b=_0x1aaf2d;this['disposeWithMe'](this[_0x41bd2b(0x2aa)][_0x41bd2b(0x432)](R[_0x41bd2b(0x487)][_0x41bd2b(0x37c)],()=>R[_0x41bd2b(0x404)](ot({'status$':this[_0x41bd2b(0x2f3)][_0x41bd2b(0x38b)]()}),this[_0x41bd2b(0x44c)])));}},exports[_0x1aaf2d(0x403)]=rt([q(0x0,a[_0x1aaf2d(0x225)]),q(0x1,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),q(0x2,a[_0x1aaf2d(0x2b5)](u['CollaborationController'])),q(0x3,R[_0x1aaf2d(0x20d)])],exports[_0x1aaf2d(0x403)]);function ot(_0x44afd6){const {status$:_0x439147}=_0x44afd6;return function(){const _0x169c92=_0x4084;return P[_0x169c92(0x27f)](it,{'status$':_0x439147});};}const Te=a[_0x1aaf2d(0x37d)](_0x1aaf2d(0x41c));var at=Object[_0x1aaf2d(0x2d2)],ct=(_0x5d0f82,_0x187ab3,_0x2623b4,_0x8f204b)=>{const _0x176b65=_0x1aaf2d;for(var _0x13c3a1=_0x8f204b>0x1?void 0x0:_0x8f204b?at(_0x187ab3,_0x2623b4):_0x187ab3,_0x3956e1=_0x5d0f82[_0x176b65(0x3e3)]-0x1,_0xf770ef;_0x3956e1>=0x0;_0x3956e1--)(_0xf770ef=_0x5d0f82[_0x3956e1])&&(_0x13c3a1=_0xf770ef(_0x13c3a1)||_0x13c3a1);return _0x13c3a1;},Y=(_0x264c04,_0x2afa4f)=>(_0x40d65,_0x56977d)=>_0x2afa4f(_0x40d65,_0x56977d,_0x264c04);exports[_0x1aaf2d(0x2ed)]=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x561b,_0x1c4809,_0x229e3a,_0x4b2e20,_0x5ad7ad){const _0x2b46b0=_0x1aaf2d;super(),this['_urlService']=_0x561b,this[_0x2b46b0(0x40f)]=_0x1c4809,this[_0x2b46b0(0x323)]=_0x229e3a,this[_0x2b46b0(0x2e0)]=_0x4b2e20,_0x5ad7ad?_0x5ad7ad==null||_0x5ad7ad['whenReady']()[_0x2b46b0(0x277)](()=>this['_init']()):(this[_0x2b46b0(0x40f)][_0x2b46b0(0x293)](_0x2b46b0(0x310),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2b46b0(0x2a5)]());}async['_init'](){const _0x3488ef=_0x1aaf2d,_0x54c0d9=this['_urlService'][_0x3488ef(0x267)](_0x3488ef(0x280)),_0x17fc93=this['_urlService'][_0x3488ef(0x267)](_0x3488ef(0x351)),_0x10f9b3=this['_urlService'][_0x3488ef(0x267)](_0x3488ef(0x3fb));if(!_0x54c0d9||!_0x17fc93){this['_logService'][_0x3488ef(0x293)](_0x3488ef(0x310),_0x3488ef(0x490));return;}const _0x1f5004=await this[_0x3488ef(0x2e0)][_0x3488ef(0x350)](_0x54c0d9,Number(_0x17fc93),_0x10f9b3);_0x1f5004&&_0x1f5004 instanceof a['Workbook']&&this[_0x3488ef(0x40c)](_0x1f5004);}async[_0x1aaf2d(0x40c)](_0x2e5d76){const _0x175d33=_0x1aaf2d;await this[_0x175d33(0x37a)](_0x2e5d76),_0x2e5d76[_0x175d33(0x23a)][_0x175d33(0x2b3)](I[_0x175d33(0x45f)](this[_0x175d33(0x400)]))[_0x175d33(0x2ab)](_0x4fd0fd=>{const _0x303d64=_0x175d33;_0x4fd0fd&&this[_0x303d64(0x2f8)](_0x4fd0fd);}),this[_0x175d33(0x2cf)]['urlChange$'][_0x175d33(0x2b3)](I[_0x175d33(0x45f)](this[_0x175d33(0x400)]))[_0x175d33(0x2ab)](()=>this['_updateSubUnitFromURLParams'](_0x2e5d76));}[_0x1aaf2d(0x2f8)](_0x664532,_0x5cfce0=!0x1){const _0x1abf1d=_0x1aaf2d,_0x257c22=this[_0x1abf1d(0x2cf)]['getParam']('subunit');_0x664532[_0x1abf1d(0x3e8)]()!==_0x257c22&&this[_0x1abf1d(0x2cf)][_0x1abf1d(0x47c)](_0x1abf1d(0x3fb),_0x664532[_0x1abf1d(0x3e8)](),_0x5cfce0);}async[_0x1aaf2d(0x37a)](_0x5a633d){const _0x3cd763=_0x1aaf2d;var _0x20cf25;const _0x1b6636=this[_0x3cd763(0x2cf)][_0x3cd763(0x267)](_0x3cd763(0x3fb));if(!_0x1b6636||!_0x5a633d[_0x3cd763(0x36b)](_0x1b6636)){const _0x4d21e9=_0x5a633d['getUnhiddenWorksheets']()[0x0],_0x3d1c89=_0x5a633d[_0x3cd763(0x36b)](_0x4d21e9);if(!_0x3d1c89)return;this[_0x3cd763(0x2f8)](_0x3d1c89,!0x0),await this['_commandService'][_0x3cd763(0x21f)](v[_0x3cd763(0x390)]['id'],{'unitId':_0x5a633d[_0x3cd763(0x1dd)](),'subUnitId':_0x4d21e9});return;}((_0x20cf25=_0x5a633d[_0x3cd763(0x2bf)]())==null?void 0x0:_0x20cf25[_0x3cd763(0x3e8)]())!==_0x1b6636&&await this[_0x3cd763(0x323)][_0x3cd763(0x21f)](v[_0x3cd763(0x390)]['id'],{'unitId':_0x5a633d[_0x3cd763(0x1dd)](),'subUnitId':_0x1b6636});}},exports['CollaborationDataLoaderController']=ct([Y(0x0,Te),Y(0x1,a['ILogService']),Y(0x2,a[_0x1aaf2d(0x253)]),Y(0x3,a[_0x1aaf2d(0x2b5)](u[_0x1aaf2d(0x235)])),Y(0x4,a[_0x1aaf2d(0x45e)](Ke[_0x1aaf2d(0x3a8)]))],exports[_0x1aaf2d(0x2ed)]);var lt=Object[_0x1aaf2d(0x2d2)],_t=(_0x1b2614,_0x14368a,_0x5c5c9f,_0x4e67bb)=>{const _0x59130f=_0x1aaf2d;for(var _0x48b3ce=_0x4e67bb>0x1?void 0x0:_0x4e67bb?lt(_0x14368a,_0x5c5c9f):_0x14368a,_0x2e1eaa=_0x1b2614[_0x59130f(0x3e3)]-0x1,_0x3fa296;_0x2e1eaa>=0x0;_0x2e1eaa--)(_0x3fa296=_0x1b2614[_0x2e1eaa])&&(_0x48b3ce=_0x3fa296(_0x48b3ce)||_0x48b3ce);return _0x48b3ce;},be=(_0x1ac50b,_0x14cc88)=>(_0x299edd,_0x50e83f)=>_0x14cc88(_0x299edd,_0x50e83f,_0x1ac50b);let fe=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x129e14,_0x3a2c5c){const _0x346a2b=_0x1aaf2d;super(),this[_0x346a2b(0x436)]=_0x129e14,this[_0x346a2b(0x359)]=_0x3a2c5c,this[_0x346a2b(0x2a5)]();}[_0x1aaf2d(0x2a5)](){const _0x10dc75=_0x1aaf2d,_0x37a81a=this;this[_0x10dc75(0x32f)](this[_0x10dc75(0x436)][_0x10dc75(0x222)]({'onBeforePasteImage':async _0x4d2173=>{const _0x2980d3=_0x10dc75,_0x102eaa=await _0x37a81a[_0x2980d3(0x359)][_0x2980d3(0x3ed)](_0x4d2173);return _0x102eaa?{'source':_0x102eaa[_0x2980d3(0x1e0)],'imageSourceType':_0x102eaa[_0x2980d3(0x303)]}:null;}}));}};fe=_t([be(0x0,p[_0x1aaf2d(0x407)]),be(0x1,qe[_0x1aaf2d(0x2de)])],fe);const De=[_0x1aaf2d(0x260),_0x1aaf2d(0x1f5),_0x1aaf2d(0x3dc),_0x1aaf2d(0x3d4),_0x1aaf2d(0x1f9),'yellow.400'];class Oe extends a[_0x1aaf2d(0x2eb)]{constructor(){const _0x3f8f6f=_0x1aaf2d;super(...arguments),_(this,_0x3f8f6f(0x3a4),new Map()),_(this,_0x3f8f6f(0x457),0x0);}['assignAColorForMemberID'](_0x455c2c){const _0x3f2934=_0x1aaf2d;if(this[_0x3f2934(0x3a4)]['has'](_0x455c2c))return this['_assignedColors'][_0x3f2934(0x281)](_0x455c2c);const _0x1b20e6=De[this[_0x3f2934(0x457)]];return this[_0x3f2934(0x457)]=(this[_0x3f2934(0x457)]+0x1)%De[_0x3f2934(0x3e3)],this[_0x3f2934(0x3a4)][_0x3f2934(0x21b)](_0x455c2c,_0x1b20e6),_0x1b20e6;}}function Be(_0x12861c){let _0x15bcc0='';for(const _0x120396 of _0x12861c){const {startOffset:_0x40faeb,endOffset:_0xc0765c,isActive:_0x248aad,rangeType:_0x5788f2,segmentId:_0x1b8e87,segmentPage:_0x564ca1}=_0x120396;_0x15bcc0['length']&&(_0x15bcc0+=','),_0x15bcc0+=_0x40faeb+':'+_0xc0765c+':'+(_0x248aad?'1':'0')+':'+_0x5788f2+':'+_0x1b8e87+':'+_0x564ca1;}return _0x15bcc0;}function ht(_0x31ae50){const _0x16ce61=_0x1aaf2d,_0x4149b4=_0x31ae50['split'](','),_0x413dd4=[];for(const _0x566c78 of _0x4149b4){const [_0x202a1e,_0x3838d2,_0x21c78b,_0x2f9577,_0x2541b1,_0x642d89]=_0x566c78['split'](':');_0x413dd4[_0x16ce61(0x3b7)]({'startOffset':Number(_0x202a1e),'endOffset':Number(_0x3838d2),'collapsed':_0x202a1e===_0x3838d2,'isActive':_0x21c78b==='1','rangeType':_0x2f9577===a[_0x16ce61(0x418)]['TEXT']?a[_0x16ce61(0x418)][_0x16ce61(0x3e6)]:a['DOC_RANGE_TYPE'][_0x16ce61(0x391)],'segmentId':typeof _0x2541b1==_0x16ce61(0x306)?String(_0x2541b1):'','segmentPage':Number(_0x642d89!=null?_0x642d89:-0x1)});}return _0x413dd4[_0x16ce61(0x1ed)](_0x1e101c=>_0x1e101c[_0x16ce61(0x291)])||(_0x413dd4[0x0]['isActive']=!0x0),_0x413dd4;}class Re extends a[_0x1aaf2d(0x3ff)]{constructor(){const _0x39bf7d=_0x1aaf2d;super(...arguments),_(this,'_collabCursorState$',new I[(_0x39bf7d(0x370))](null)),_(this,_0x39bf7d(0x262),this[_0x39bf7d(0x2ea)]['asObservable']());}[_0x1aaf2d(0x3bc)](_0x328c4c){const _0x51e431=_0x1aaf2d,{unitID:_0x494a71,memberID:_0x263d02,textRanges:_0x1a35c1}=_0x328c4c,_0x8e5ef1=Be(_0x1a35c1);if(_0x8e5ef1==='')return;const _0x31f746={'unitID':_0x494a71,'memberID':_0x263d02,'selection':_0x8e5ef1};this[_0x51e431(0x2ea)][_0x51e431(0x2c2)](_0x31f746);}}var ut=Object[_0x1aaf2d(0x2d2)],It=(_0x3b561a,_0x11abb9,_0x455c61,_0x40ee6f)=>{for(var _0xe40fb9=_0x40ee6f>0x1?void 0x0:_0x40ee6f?ut(_0x11abb9,_0x455c61):_0x11abb9,_0xcb0ddb=_0x3b561a['length']-0x1,_0x4fb6b9;_0xcb0ddb>=0x0;_0xcb0ddb--)(_0x4fb6b9=_0x3b561a[_0xcb0ddb])&&(_0xe40fb9=_0x4fb6b9(_0xe40fb9)||_0xe40fb9);return _0xe40fb9;},M=(_0x1a0b52,_0x3df789)=>(_0x5c63b9,_0x7e49b4)=>_0x3df789(_0x5c63b9,_0x7e49b4,_0x1a0b52);const dt=0x12c,St=0x64;let me=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x20e76c,_0x55555c,_0x1f9ce2,_0x35dade,_0x2e00e1,_0x15e368,_0x2b1530,_0x2873fa,_0x3a224a){const _0x176a0c=_0x1aaf2d;super(),_(this,_0x176a0c(0x220),!0x1),_(this,'_init',!0x1),_(this,_0x176a0c(0x1fd),new I['BehaviorSubject'](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x176a0c(0x38b)]()),_(this,_0x176a0c(0x435),new I['BehaviorSubject']([])),_(this,'roomMembers$',this[_0x176a0c(0x435)][_0x176a0c(0x2b3)](I[_0x176a0c(0x1eb)](dt))),_(this,'_updateLocalCursor',a[_0x176a0c(0x438)](_0x370844=>{const _0x2e5124=_0x176a0c,_0x4c24d8={'eventID':g[_0x2e5124(0x3fe)][_0x2e5124(0x247)],'data':{'unitID':this['unitID'],'memberID':this[_0x2e5124(0x472)][_0x2e5124(0x42d)](),'selection':Be(_0x370844)}};this['_session'][_0x2e5124(0x2f6)](_0x4c24d8,this[_0x2e5124(0x3e2)]);},St)),(this[_0x176a0c(0x3e2)]=_0x20e76c,this[_0x176a0c(0x472)]=_0x55555c,this[_0x176a0c(0x44c)]=_0x1f9ce2,this[_0x176a0c(0x378)]=_0x35dade,this[_0x176a0c(0x46c)]=_0x2e00e1,this[_0x176a0c(0x216)]=_0x15e368,this[_0x176a0c(0x387)]=_0x2b1530,this[_0x176a0c(0x397)]=_0x2873fa,this[_0x176a0c(0x323)]=_0x3a224a);}get[_0x1aaf2d(0x230)](){const _0x2ec95b=_0x1aaf2d;return this[_0x2ec95b(0x1fd)][_0x2ec95b(0x357)]();}get[_0x1aaf2d(0x3e4)](){const _0x5a1122=_0x1aaf2d;return this['_roomMembers$'][_0x5a1122(0x357)]();}[_0x1aaf2d(0x2b2)](){const _0x22c217=_0x1aaf2d;super[_0x22c217(0x2b2)](),this[_0x22c217(0x1fd)][_0x22c217(0x2c2)](new Map()),this[_0x22c217(0x1fd)][_0x22c217(0x205)](),this[_0x22c217(0x435)][_0x22c217(0x2c2)]([]),this[_0x22c217(0x435)][_0x22c217(0x205)]();}[_0x1aaf2d(0x430)](){const _0x474903=_0x1aaf2d;this[_0x474903(0x2a5)]||(this[_0x474903(0x2a5)]=!0x0,this[_0x474903(0x472)][_0x474903(0x27b)][_0x474903(0x2b3)](I['takeUntil'](this[_0x474903(0x400)]))[_0x474903(0x2ab)](_0xc180f3=>{const _0x136e7e=_0x474903;_0xc180f3===u[_0x136e7e(0x304)]['ONLINE']?this[_0x136e7e(0x270)]():this[_0x136e7e(0x2b6)]();}),this[_0x474903(0x472)]['event$']['pipe'](I[_0x474903(0x45f)](this[_0x474903(0x400)]))['subscribe'](_0x40a6dd=>{const _0x5f076a=_0x474903,_0xe00cba=_0x40a6dd[_0x5f076a(0x2fe)];_0xe00cba===g[_0x5f076a(0x3fe)][_0x5f076a(0x247)]&&this[_0x5f076a(0x354)](_0x40a6dd),_0xe00cba===g[_0x5f076a(0x3fe)][_0x5f076a(0x1db)]&&this[_0x5f076a(0x261)](_0x40a6dd);}),this[_0x474903(0x32f)](this[_0x474903(0x323)]['onCommandExecuted'](_0x51afe0=>{const _0x53de10=_0x474903,_0x193517=_0x51afe0[_0x53de10(0x316)];_0x193517!=null&&this[_0x53de10(0x220)]&&_0x51afe0['id']===V[_0x53de10(0x26f)]['id']&&_0x193517[_0x53de10(0x428)]===this[_0x53de10(0x3e2)]&&_0x193517[_0x53de10(0x2c1)]===!0x1&&_0x193517[_0x53de10(0x2a3)][_0x53de10(0x3e3)]>0x0&&this[_0x53de10(0x45b)](_0x193517[_0x53de10(0x2a3)]);})),this[_0x474903(0x216)]['collabCursorState$'][_0x474903(0x2b3)](I[_0x474903(0x45f)](this['dispose$']))[_0x474903(0x2ab)](_0x48117d=>{const _0x5b1f70=_0x474903;if((_0x48117d==null?void 0x0:_0x48117d[_0x5b1f70(0x3e2)])!==this[_0x5b1f70(0x3e2)])return;const _0x4a702b={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x48117d};this['_onCursorUpdate'](_0x4a702b);}),this['disposeWithMe'](this[_0x474903(0x323)][_0x474903(0x339)](_0x13b2c7=>{const _0x4b1b83=_0x474903;if(_0x13b2c7[_0x4b1b83(0x316)]==null)return;const _0x1287a4=_0x13b2c7['params'];if(_0x13b2c7['id']!==V[_0x4b1b83(0x1e1)]['id']||_0x1287a4[_0x4b1b83(0x428)]!==this['unitID'])return;const _0x203830={'id':_0x4b1b83(0x3b1),'params':_0x1287a4},_0x1d2696=this[_0x4b1b83(0x230)];for(const [_0x1bc48c,_0xf3816a]of _0x1d2696){const _0x5bc9a2={'id':_0x4b1b83(0x3b1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xf3816a[_0x4b1b83(0x2a3)]}},_0x26c34b=this[_0x4b1b83(0x387)][_0x4b1b83(0x22e)](_0x203830,_0x5bc9a2,!0x1);if(g[_0x4b1b83(0x325)](_0x26c34b))throw _0x26c34b[_0x4b1b83(0x32a)];_0x1d2696[_0x4b1b83(0x21b)](_0x1bc48c,{..._0xf3816a,'ranges':_0x26c34b[_0x4b1b83(0x20b)][_0x4b1b83(0x316)][_0x4b1b83(0x3eb)]});}queueMicrotask(()=>{const _0x4984ae=_0x4b1b83;this[_0x4984ae(0x1fd)][_0x4984ae(0x2c2)](_0x1d2696);});})));}[_0x1aaf2d(0x354)](_0x176043){const _0x130b4b=_0x1aaf2d;var _0x447c78,_0x2c7880;const {memberID:_0x1ea544,selection:_0x266ba6}=_0x176043[_0x130b4b(0x32c)],_0x289d09=ht(_0x266ba6),_0x344172=(_0x2c7880=(_0x447c78=this['_memberService'][_0x130b4b(0x394)](this[_0x130b4b(0x3e2)],_0x1ea544))==null?void 0x0:_0x447c78[_0x130b4b(0x3b0)])!=null?_0x2c7880:_0x130b4b(0x292),_0x391749={'color':this[_0x130b4b(0x378)][_0x130b4b(0x361)](_0x1ea544),'name':_0x344172,'ranges':_0x289d09},_0x509970=this[_0x130b4b(0x230)];_0x509970[_0x130b4b(0x21b)](_0x1ea544,_0x391749),this['_cursorInfo$']['next'](_0x509970);}['_onCursorDelete'](_0x3b3006){const _0x4fd92a=_0x1aaf2d,{memberID:_0xe6cf7d}=_0x3b3006['data'],_0x356f77=this[_0x4fd92a(0x230)];_0x356f77[_0x4fd92a(0x491)](_0xe6cf7d),this[_0x4fd92a(0x1fd)][_0x4fd92a(0x2c2)](_0x356f77);}[_0x1aaf2d(0x270)](){const _0x494986=_0x1aaf2d;var _0x573b3d;if(this[_0x494986(0x220)]=!0x0,((_0x573b3d=this[_0x494986(0x397)]['getFocusedUnit']())==null?void 0x0:_0x573b3d[_0x494986(0x1dd)]())!==this[_0x494986(0x3e2)])return;const _0x485f5c=this[_0x494986(0x44c)][_0x494986(0x281)](V[_0x494986(0x22c)])[_0x494986(0x473)]();Array[_0x494986(0x2fa)](_0x485f5c)&&_0x485f5c['length']>0x0&&this[_0x494986(0x45b)](_0x485f5c);}[_0x1aaf2d(0x2b6)](){const _0x3bbee5=_0x1aaf2d;this[_0x3bbee5(0x220)]=!0x1;}};me=It([M(0x2,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),M(0x3,a[_0x1aaf2d(0x2b5)](Oe)),M(0x4,a['Inject'](u[_0x1aaf2d(0x3e7)])),M(0x5,a[_0x1aaf2d(0x2b5)](Re)),M(0x6,g[_0x1aaf2d(0x334)]),M(0x7,a[_0x1aaf2d(0x225)]),M(0x8,a['ICommandService'])],me);var ft=Object['getOwnPropertyDescriptor'],mt=(_0x141264,_0x536d7e,_0x29b9a9,_0x5f286e)=>{const _0x22fbbb=_0x1aaf2d;for(var _0x128b30=_0x5f286e>0x1?void 0x0:_0x5f286e?ft(_0x536d7e,_0x29b9a9):_0x536d7e,_0x4c302a=_0x141264[_0x22fbbb(0x3e3)]-0x1,_0x3b0270;_0x4c302a>=0x0;_0x4c302a--)(_0x3b0270=_0x141264[_0x4c302a])&&(_0x128b30=_0x3b0270(_0x128b30)||_0x128b30);return _0x128b30;},y=(_0x43a793,_0x243046)=>(_0x1799e7,_0x243b88)=>_0x243046(_0x1799e7,_0x243b88,_0x43a793);const vt=0x12c,gt=0x64,Et=()=>{let _0x1867fa=[],_0x5e2fda=!0x1;return _0x27f882=>{const _0x148a9e=_0x4084;_0x1867fa[_0x148a9e(0x3b7)](_0x27f882),_0x5e2fda||(_0x5e2fda=!0x0,setTimeout(()=>{const _0x1fe4c3=_0x148a9e;_0x1867fa[_0x1fe4c3(0x3da)](_0x39052b=>_0x39052b()),_0x1867fa=[],_0x5e2fda=!0x1;}));};};let ve=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x3f33e7,_0x2b6b94,_0x3f6337,_0x13dfc9,_0x4c9893,_0x12ef9f,_0x9b3d8d,_0x1026f5){const _0x283a2f=_0x1aaf2d;super(),_(this,_0x283a2f(0x220),!0x1),_(this,_0x283a2f(0x2a5),!0x1),_(this,_0x283a2f(0x1fd),new I[(_0x283a2f(0x370))](new Map())),_(this,_0x283a2f(0x29c),this[_0x283a2f(0x1fd)][_0x283a2f(0x38b)]()),_(this,'_roomMembers$',new I[(_0x283a2f(0x370))]([])),_(this,_0x283a2f(0x28c),this[_0x283a2f(0x435)][_0x283a2f(0x2b3)](I['debounceTime'](vt))),_(this,'_updateLocalCursor',a['debounce']((_0x1f6720,_0x48664b)=>{const _0x34fc86=_0x283a2f,_0x1ccb12={'eventID':g[_0x34fc86(0x3fe)][_0x34fc86(0x247)],'data':{'unitID':this[_0x34fc86(0x3e2)],'memberID':this['_session']['getMemberID'](),'selection':B[_0x34fc86(0x47f)](_0x1f6720,_0x48664b['range'])}};this['_session'][_0x34fc86(0x2f6)](_0x1ccb12,this[_0x34fc86(0x3e2)]);},gt)),(this[_0x283a2f(0x3e2)]=_0x3f33e7,this[_0x283a2f(0x472)]=_0x2b6b94,this[_0x283a2f(0x44c)]=_0x3f6337,this[_0x283a2f(0x378)]=_0x13dfc9,this[_0x283a2f(0x46c)]=_0x4c9893,this[_0x283a2f(0x397)]=_0x12ef9f,this[_0x283a2f(0x323)]=_0x9b3d8d,this[_0x283a2f(0x282)]=_0x1026f5);}get[_0x1aaf2d(0x230)](){const _0xa8b9e3=_0x1aaf2d;return this[_0xa8b9e3(0x1fd)][_0xa8b9e3(0x357)]();}get[_0x1aaf2d(0x3e4)](){const _0x296c1b=_0x1aaf2d;return this[_0x296c1b(0x435)][_0x296c1b(0x357)]();}[_0x1aaf2d(0x2b2)](){const _0x18ed1f=_0x1aaf2d;super['dispose'](),this[_0x18ed1f(0x1fd)][_0x18ed1f(0x2c2)](new Map()),this['_cursorInfo$'][_0x18ed1f(0x205)](),this[_0x18ed1f(0x435)][_0x18ed1f(0x2c2)]([]),this[_0x18ed1f(0x435)][_0x18ed1f(0x205)]();}[_0x1aaf2d(0x430)](){const _0x4f23ae=_0x1aaf2d;this[_0x4f23ae(0x2a5)]||(this[_0x4f23ae(0x2a5)]=!0x0,this['_session']['sessionStatus$'][_0x4f23ae(0x2b3)](I['takeUntil'](this['dispose$']))['subscribe'](_0x3950ef=>{const _0x584e13=_0x4f23ae;_0x3950ef===u[_0x584e13(0x304)][_0x584e13(0x471)]?this[_0x584e13(0x270)]():this['_toggleOffline']();}),this[_0x4f23ae(0x472)][_0x4f23ae(0x29f)][_0x4f23ae(0x2b3)](I[_0x4f23ae(0x45f)](this[_0x4f23ae(0x400)]))[_0x4f23ae(0x2ab)](_0x3130e5=>{const _0x3ad721=_0x4f23ae,_0x52974f=_0x3130e5[_0x3ad721(0x2fe)];_0x52974f===g[_0x3ad721(0x3fe)][_0x3ad721(0x247)]&&this['_onCursorUpdate'](_0x3130e5),_0x52974f===g[_0x3ad721(0x3fe)][_0x3ad721(0x1db)]&&this[_0x3ad721(0x261)](_0x3130e5);}),this[_0x4f23ae(0x228)](),this[_0x4f23ae(0x32f)](this['_commandService'][_0x4f23ae(0x339)](_0x2d79be=>{const _0x57445d=_0x4f23ae;if(this[_0x57445d(0x220)]&&_0x2d79be['id']===v['SetSelectionsOperation']['id']&&_0x2d79be[_0x57445d(0x316)][_0x57445d(0x428)]===this[_0x57445d(0x3e2)]){const _0x47306f=_0x2d79be['params'];this[_0x57445d(0x45b)](_0x47306f['subUnitId'],_0x47306f[_0x57445d(0x21c)][0x0]);}})));}[_0x1aaf2d(0x354)](_0x45f085){const _0x548006=_0x1aaf2d;var _0xdf40f,_0x3b7057;const {memberID:_0x5d84c0,selection:_0x167834}=_0x45f085[_0x548006(0x32c)],{sheetName:_0x576731,range:_0x2ab805}=B[_0x548006(0x22d)](_0x167834),_0x369d76={'name':(_0x3b7057=(_0xdf40f=this['_memberService'][_0x548006(0x394)](this[_0x548006(0x3e2)],_0x5d84c0))==null?void 0x0:_0xdf40f[_0x548006(0x3b0)])!=null?_0x3b7057:_0x548006(0x292),'range':this[_0x548006(0x3f8)](_0x576731,_0x2ab805),'sheetID':_0x576731,'color':this[_0x548006(0x378)]['assignAColorForMemberID'](_0x5d84c0),'selection':_0x167834},_0x5f02d9=this[_0x548006(0x230)];_0x5f02d9[_0x548006(0x21b)](_0x5d84c0,_0x369d76),this[_0x548006(0x1fd)][_0x548006(0x2c2)](_0x5f02d9);}[_0x1aaf2d(0x261)](_0x545a4d){const _0x2d9310=_0x1aaf2d,{memberID:_0x15aac7}=_0x545a4d[_0x2d9310(0x32c)],_0x375c9b=this[_0x2d9310(0x230)];_0x375c9b[_0x2d9310(0x491)](_0x15aac7),this['_cursorInfo$'][_0x2d9310(0x2c2)](_0x375c9b);}[_0x1aaf2d(0x3f8)](_0x3dd6a0,_0x1a254d){const _0x3b0318=_0x1aaf2d;var _0x185652,_0x7aef31;const _0x5484c8=(_0x7aef31=(_0x185652=this[_0x3b0318(0x397)][_0x3b0318(0x248)](this[_0x3b0318(0x3e2)]))==null?void 0x0:_0x185652[_0x3b0318(0x36b)](_0x3dd6a0))==null?void 0x0:_0x7aef31['getMergeData']();return(_0x5484c8==null?void 0x0:_0x5484c8[_0x3b0318(0x43e)](_0x359fa6=>a[_0x3b0318(0x305)][_0x3b0318(0x31f)](_0x359fa6,_0x1a254d)))||_0x1a254d;}[_0x1aaf2d(0x228)](){const _0x3f8ae6=_0x1aaf2d,_0x2382b1=new a[(_0x3f8ae6(0x2e1))](),_0x25acfd=Et(),_0x26f20f=()=>{const _0x4bf006=_0x3f8ae6;_0x2382b1[_0x4bf006(0x2b2)]();const _0x3137c5=(_0x3d1423,_0x4897ac,_0x3b9001,_0x3a1c35)=>{const _0x3744ea=_0x4bf006;let _0x6b0189=[];switch(_0x3d1423['id']){case v[_0x3744ea(0x411)]['DeleteRangeMoveLeftCommandId']:{_0x6b0189=v[_0x3744ea(0x46f)](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)]['DeleteRangeMoveUpCommandId']:{_0x6b0189=v['handleDeleteRangeMoveUp'](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)][_0x3744ea(0x1e6)]:{_0x6b0189=v[_0x3744ea(0x3a6)](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)][_0x3744ea(0x319)]:{_0x6b0189=v[_0x3744ea(0x322)](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)][_0x3744ea(0x447)]:{_0x6b0189=v['handleInsertRangeMoveRight'](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)]['InsertRowCommandId']:{_0x6b0189=v[_0x3744ea(0x20f)](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)][_0x3744ea(0x321)]:{_0x6b0189=v[_0x3744ea(0x3ef)](_0x3d1423,_0x3a1c35);break;}case v[_0x3744ea(0x411)][_0x3744ea(0x3d8)]:{_0x6b0189=v[_0x3744ea(0x38c)](_0x3d1423,_0x3a1c35);break;}case v['EffectRefRangId'][_0x3744ea(0x478)]:{_0x6b0189=v[_0x3744ea(0x39f)](_0x3d1423,_0x3a1c35);break;}}const _0x58874f=v[_0x3744ea(0x2ae)](_0x6b0189,_0x3a1c35),_0x30e8cf=this[_0x3744ea(0x230)][_0x3744ea(0x281)](_0x4897ac);if(_0x30e8cf&&_0x58874f){const _0x4279e2={..._0x30e8cf,'range':_0x58874f};this[_0x3744ea(0x230)][_0x3744ea(0x21b)](_0x4897ac,_0x4279e2),_0x25acfd(()=>{const _0x3cabf3=_0x3744ea,_0x19b350=this[_0x3cabf3(0x282)]['registerRefRange'](_0x58874f,_0xf9756=>(_0x19b350[_0x3cabf3(0x2b2)](),_0x3137c5(_0xf9756,_0x4897ac,_0x3b9001,_0x58874f)));_0x2382b1['add'](_0x19b350);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4bf006(0x3da)]((_0x3aedf3,_0x9b84a1)=>{const _0x16486a=_0x4bf006,{range:_0x17c374,sheetID:_0x32e5aa}=_0x3aedf3,_0x52060b=this[_0x16486a(0x282)][_0x16486a(0x252)](_0x17c374,_0x336a1b=>(_0x52060b[_0x16486a(0x2b2)](),_0x3137c5(_0x336a1b,_0x9b84a1,_0x32e5aa,_0x17c374)));_0x2382b1[_0x16486a(0x1ea)](_0x52060b);});};this['disposeWithMe'](a[_0x3f8ae6(0x289)](this[_0x3f8ae6(0x1fd)][_0x3f8ae6(0x2ab)](()=>{_0x26f20f();})));}[_0x1aaf2d(0x270)](){const _0x41a028=_0x1aaf2d;var _0x279592,_0x4110da;if(this[_0x41a028(0x220)]=!0x0,((_0x279592=this[_0x41a028(0x397)][_0x41a028(0x3c5)]())==null?void 0x0:_0x279592[_0x41a028(0x1dd)]())!==this[_0x41a028(0x3e2)])return;const _0x50c433=(_0x4110da=this[_0x41a028(0x44c)][_0x41a028(0x281)](v[_0x41a028(0x46a)])[_0x41a028(0x2c9)]())==null?void 0x0:_0x4110da[0x0],_0xf4cb2d=this[_0x41a028(0x397)][_0x41a028(0x2e8)](a[_0x41a028(0x30e)]['UNIVER_SHEET'])[_0x41a028(0x2bf)]();_0x50c433&&_0xf4cb2d&&this[_0x41a028(0x45b)](_0xf4cb2d[_0x41a028(0x3e8)](),_0x50c433);}['_toggleOffline'](){const _0x38896d=_0x1aaf2d;this[_0x38896d(0x220)]=!0x1;}};ve=mt([y(0x2,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),y(0x3,a[_0x1aaf2d(0x2b5)](Oe)),y(0x4,a['Inject'](u[_0x1aaf2d(0x3e7)])),y(0x5,a[_0x1aaf2d(0x225)]),y(0x6,a[_0x1aaf2d(0x253)]),y(0x7,a['Inject'](v[_0x1aaf2d(0x1e2)]))],ve);var Ct=Object[_0x1aaf2d(0x2d2)],pt=(_0x56d00f,_0x176b82,_0x596856,_0x27ac08)=>{for(var _0x41d0e1=_0x27ac08>0x1?void 0x0:_0x27ac08?Ct(_0x176b82,_0x596856):_0x176b82,_0x5cc6c6=_0x56d00f['length']-0x1,_0x4cf773;_0x5cc6c6>=0x0;_0x5cc6c6--)(_0x4cf773=_0x56d00f[_0x5cc6c6])&&(_0x41d0e1=_0x4cf773(_0x41d0e1)||_0x41d0e1);return _0x41d0e1;},ae=(_0x381a6f,_0x14aa60)=>(_0x286dcf,_0x3d767b)=>_0x14aa60(_0x286dcf,_0x3d767b,_0x381a6f);let F=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x37f403,_0x4947f8,_0x25345f){const _0xdbaee2=_0x1aaf2d;super(),_(this,_0xdbaee2(0x294),new Map()),_(this,_0xdbaee2(0x26c),new I[(_0xdbaee2(0x467))]()),(this[_0xdbaee2(0x397)]=_0x37f403,this[_0xdbaee2(0x44c)]=_0x4947f8,this['_collabSessionService']=_0x25345f,this[_0xdbaee2(0x2a5)]());}[_0x1aaf2d(0x2b2)](){const _0x1f32ae=_0x1aaf2d;super[_0x1f32ae(0x2b2)](),this['_entityInit$'][_0x1f32ae(0x205)](),this[_0x1f32ae(0x294)][_0x1f32ae(0x3da)](_0x457448=>_0x457448[_0x1f32ae(0x2b2)]());}[_0x1aaf2d(0x368)](_0x478970){const _0x1453ec=_0x1aaf2d;return this[_0x1453ec(0x294)][_0x1453ec(0x3d2)](_0x478970)?this[_0x1453ec(0x294)][_0x1453ec(0x281)](_0x478970)['cursorInfo$']:this[_0x1453ec(0x26c)][_0x1453ec(0x2b3)](I[_0x1453ec(0x246)](_0x1a97fd=>_0x1a97fd[_0x1453ec(0x3e2)]===_0x478970),I['switchMap'](_0x350e61=>_0x350e61[_0x1453ec(0x29c)]));}[_0x1aaf2d(0x2a5)](){const _0x4d7393=_0x1aaf2d;this[_0x4d7393(0x397)]['getTypeOfUnitAdded$'](a[_0x4d7393(0x30e)][_0x4d7393(0x462)])['pipe'](I[_0x4d7393(0x45f)](this['dispose$']))[_0x4d7393(0x2ab)](async _0x2ef62d=>{const _0x467568=_0x4d7393,_0x5a18fd=_0x2ef62d[_0x467568(0x1dd)](),_0x2853cb=await this[_0x467568(0x45a)](_0x5a18fd);this[_0x467568(0x26c)]['next'](_0x2853cb),this[_0x467568(0x294)][_0x467568(0x21b)](_0x5a18fd,_0x2853cb);}),this['_univerInstanceService'][_0x4d7393(0x301)](a[_0x4d7393(0x30e)][_0x4d7393(0x2a0)])[_0x4d7393(0x2b3)](I[_0x4d7393(0x45f)](this[_0x4d7393(0x400)]))[_0x4d7393(0x2b3)](I['filter'](_0x5e40bf=>!_0x5e40bf[_0x4d7393(0x1dd)]()['startsWith']('__')))[_0x4d7393(0x2ab)](async _0x297610=>{const _0x53591e=_0x4d7393,_0x148843=_0x297610[_0x53591e(0x1dd)](),_0x593e12=await this[_0x53591e(0x327)](_0x148843);this[_0x53591e(0x26c)][_0x53591e(0x2c2)](_0x593e12),this[_0x53591e(0x294)][_0x53591e(0x21b)](_0x148843,_0x593e12);}),I[_0x4d7393(0x23f)](this[_0x4d7393(0x397)]['getTypeOfUnitDisposed$'](a[_0x4d7393(0x30e)][_0x4d7393(0x2a0)]),this[_0x4d7393(0x397)][_0x4d7393(0x326)](a[_0x4d7393(0x30e)]['UNIVER_SHEET']))[_0x4d7393(0x2b3)](I[_0x4d7393(0x45f)](this[_0x4d7393(0x400)]))[_0x4d7393(0x2ab)](_0x2f93e2=>{const _0x5d2aff=_0x4d7393,_0x2e9ff4=_0x2f93e2[_0x5d2aff(0x1dd)](),_0x1291e1=this['_entities'][_0x5d2aff(0x281)](_0x2e9ff4);_0x1291e1&&(_0x1291e1[_0x5d2aff(0x2b2)](),this[_0x5d2aff(0x294)]['delete'](_0x2e9ff4));});}async[_0x1aaf2d(0x45a)](_0x43ae01){const _0x4555e8=_0x1aaf2d,_0x8f3614=await this[_0x4555e8(0x3a2)][_0x4555e8(0x210)](_0x43ae01),_0x346944=this['_injector'][_0x4555e8(0x475)](ve,_0x43ae01,_0x8f3614);return _0x346944[_0x4555e8(0x430)](),_0x346944;}async['_startDocCollabCursor'](_0x2301cb){const _0x5636e6=_0x1aaf2d,_0x24fa5a=await this[_0x5636e6(0x3a2)][_0x5636e6(0x210)](_0x2301cb),_0x45ecf2=this[_0x5636e6(0x44c)]['createInstance'](me,_0x2301cb,_0x24fa5a);return _0x45ecf2[_0x5636e6(0x430)](),_0x45ecf2;}};F=pt([ae(0x0,a[_0x1aaf2d(0x225)]),ae(0x1,a[_0x1aaf2d(0x2b5)](a['Injector'])),ae(0x2,a['Inject'](u[_0x1aaf2d(0x255)]))],F);const K=0x14,Ne=0xc8,ce=0x4,Tt=0x5;function Ot(_0x4a26a8,_0x1366ea){const _0x257ed8=_0x1aaf2d;let {radius:_0x36ca62,width:_0x4d50ec,height:_0x1ea852}=_0x1366ea;_0x36ca62=_0x36ca62!=null?_0x36ca62:0x0,_0x4d50ec=_0x4d50ec!=null?_0x4d50ec:0x1e,_0x1ea852=_0x1ea852!=null?_0x1ea852:0x1e;let _0x4dc2ff=0x0,_0x415683=0x0,_0x806122=0x0;_0x4dc2ff=_0x415683=_0x806122=Math[_0x257ed8(0x417)](_0x36ca62,_0x4d50ec/0x2,_0x1ea852/0x2),_0x4a26a8[_0x257ed8(0x376)](),_0x4a26a8['moveTo'](_0x4dc2ff,0x0),_0x4a26a8[_0x257ed8(0x401)](_0x4d50ec-_0x415683,0x0),_0x4a26a8[_0x257ed8(0x3a1)](_0x4d50ec-_0x415683,_0x415683,_0x415683,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a26a8['lineTo'](_0x4d50ec,_0x1ea852-_0x806122),_0x4a26a8[_0x257ed8(0x3a1)](_0x4d50ec-_0x806122,_0x1ea852-_0x806122,_0x806122,0x0,Math['PI']/0x2,!0x1),_0x4a26a8[_0x257ed8(0x401)](0x0,_0x1ea852),_0x4a26a8['lineTo'](0x0,_0x4dc2ff),_0x4a26a8[_0x257ed8(0x3a1)](_0x4dc2ff,_0x4dc2ff,_0x4dc2ff,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a26a8[_0x257ed8(0x25b)](),_0x1366ea['fill']&&(_0x4a26a8[_0x257ed8(0x2af)](),_0x4a26a8['fillStyle']=_0x1366ea[_0x257ed8(0x431)],_0x1366ea[_0x257ed8(0x39d)]===_0x257ed8(0x335)?_0x4a26a8['fill'](_0x257ed8(0x335)):_0x4a26a8[_0x257ed8(0x431)](),_0x4a26a8[_0x257ed8(0x239)]());}class ne extends C[_0x1aaf2d(0x34d)]{constructor(_0x2300ce,_0x48486c){const _0x3d7d8b=_0x1aaf2d;super(_0x2300ce,_0x48486c),_(this,_0x3d7d8b(0x29a)),_(this,_0x3d7d8b(0x258)),(this[_0x3d7d8b(0x29a)]=_0x48486c==null?void 0x0:_0x48486c[_0x3d7d8b(0x29a)],this['text']=_0x48486c==null?void 0x0:_0x48486c[_0x3d7d8b(0x258)]);}static['drawWith'](_0x2316d2,_0x5722d4){const _0x4682b0=_0x1aaf2d,{text:_0x22b8cc,color:_0x1f0131}=_0x5722d4;_0x2316d2[_0x4682b0(0x2af)](),_0x2316d2[_0x4682b0(0x2c6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4b38ae=_0x2316d2[_0x4682b0(0x330)](_0x22b8cc)[_0x4682b0(0x3ec)],_0xb7a55c=Math['min'](_0x4b38ae+0x2*ce,Ne);Ot(_0x2316d2,{'height':K,'radius':0x4,'width':_0xb7a55c,'fill':_0x1f0131}),_0x2316d2['fillStyle']='#FFF';const _0x34f09f=ce,_0x2ceeb1=K-Tt,_0x2c2c7d=Ne-0x2*ce;if(_0x4b38ae>_0x2c2c7d){let _0x2e3838='',_0x360a0a=0x0;for(const _0x5a2ca9 of _0x22b8cc){const _0x87fe98=_0x2316d2['measureText'](_0x5a2ca9)[_0x4682b0(0x3ec)];if(_0x360a0a+_0x87fe98<=_0x2c2c7d-_0x2316d2['measureText']('...')[_0x4682b0(0x3ec)])_0x2e3838+=_0x5a2ca9,_0x360a0a+=_0x87fe98;else{_0x2e3838+='...';break;}}_0x2316d2['fillText'](_0x2e3838,_0x34f09f,_0x2ceeb1);}else _0x2316d2[_0x4682b0(0x38d)](_0x22b8cc,_0x34f09f,_0x2ceeb1);_0x2316d2[_0x4682b0(0x239)]();}[_0x1aaf2d(0x284)](_0x789bee){const _0x1c4e3f=_0x1aaf2d;ne[_0x1c4e3f(0x36e)](_0x789bee,this);}}const le=_0x1aaf2d(0x46e),Rt=_0x1aaf2d(0x3fc),bt=_0x1aaf2d(0x48a),H=0x6,Dt=1.5,_e=0x4,Nt=1.5,Ut='rgba(255,\x20255,\x20255,\x200.01)';class Ue{constructor(_0x1e9302,_0x1f4611,_0x58994b,_0x1519ee){const _0x19ee85=_0x1aaf2d;_(this,_0x19ee85(0x367),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,_0x19ee85(0x1ec),null),_(this,'_eventUnsubscribe',null),(this[_0x19ee85(0x461)]=_0x1e9302,this[_0x19ee85(0x410)]=_0x1f4611,this['_docSkeleton']=_0x58994b,this['_document']=_0x1519ee,this[_0x19ee85(0x25e)]());}set[_0x1aaf2d(0x405)](_0x356e2c){const _0xcdf109=_0x1aaf2d;_0x356e2c?(this['_anchorDot']&&this[_0xcdf109(0x363)][_0xcdf109(0x3b5)](),this[_0xcdf109(0x30b)]&&this['_textBubble'][_0xcdf109(0x207)]()):(this[_0xcdf109(0x363)]&&this[_0xcdf109(0x363)][_0xcdf109(0x207)](),this['_textBubble']&&this[_0xcdf109(0x30b)][_0xcdf109(0x3b5)]());}[_0x1aaf2d(0x2b2)](){const _0x3c89ee=_0x1aaf2d;for(const _0x18357e of this[_0x3c89ee(0x367)])_0x18357e[_0x3c89ee(0x2b2)]();this['_textBubble']&&this[_0x3c89ee(0x30b)][_0x3c89ee(0x2b2)](),this[_0x3c89ee(0x363)]&&this[_0x3c89ee(0x363)][_0x3c89ee(0x2b2)](),this[_0x3c89ee(0x443)]&&this['_anchor']['dispose'](),this[_0x3c89ee(0x324)]&&this[_0x3c89ee(0x324)]();}[_0x1aaf2d(0x25e)](){const _0x51dccc=_0x1aaf2d;var _0x5a03d0;const {_docSkeleton:_0x22b346,_document:_0x3f9b31}=this,{color:_0x39b7b2,name:_0x1e1cba,ranges:_0xc737c0}=this['_cursor'],_0x271a03=_0x3f9b31[_0x51dccc(0x233)](),{docsLeft:_0x4fc704,docsTop:_0x197e85}=_0x271a03,_0x3f166f=new p[(_0x51dccc(0x336))](_0x271a03,_0x22b346);for(const {startOffset:_0x153732,endOffset:_0x2c3d94,rangeType:_0x5710c5,segmentId:_0x249a30,segmentPage:_0x569139,collapsed:_0x3c625a,isActive:_0x4dc2c8}of _0xc737c0){const _0x19463b=_0x22b346[_0x51dccc(0x44a)](_0x153732,!0x0,_0x249a30,_0x569139);let _0x30ca67=_0x22b346[_0x51dccc(0x44a)](_0x2c3d94,!0x0,_0x249a30,_0x569139);if(_0x30ca67==null&&(_0x30ca67=_0x22b346[_0x51dccc(0x44a)](_0x2c3d94-0x1,!0x1,_0x249a30,_0x569139)),_0x4dc2c8){const {contentBoxPointGroup:_0x5e883d}=_0x3f166f['getRangePointData'](_0x30ca67,_0x30ca67);if(_0x5e883d['length']===0x0)continue;this[_0x51dccc(0x21a)](_0x39b7b2,_0x5e883d,_0x4fc704,_0x197e85,_0x1e1cba),this[_0x51dccc(0x324)]=this[_0x51dccc(0x32e)]();}if(_0x19463b&&_0x30ca67){if(_0x5710c5===a[_0x51dccc(0x418)][_0x51dccc(0x391)]){const _0x1d5206=new p['NodePositionConvertToRectRange'](_0x271a03,_0x22b346),{pointGroup:_0x2fbc2b}=(_0x5a03d0=_0x1d5206['getRangePointData'](_0x19463b,_0x30ca67))!=null?_0x5a03d0:{};if(_0x2fbc2b==null||_0x2fbc2b[_0x51dccc(0x3e3)]===0x0)continue;this['_drawRectRange'](_0x39b7b2,_0x2fbc2b,_0x4fc704,_0x197e85);}else{if(!_0x3c625a){const {borderBoxPointGroup:_0x5aa597}=_0x3f166f[_0x51dccc(0x2fc)](_0x19463b,_0x30ca67);if(_0x5aa597[_0x51dccc(0x3e3)]===0x0)continue;this[_0x51dccc(0x31b)](_0x39b7b2,_0x5aa597,_0x4fc704,_0x197e85);}}}}}[_0x1aaf2d(0x21a)](_0x21fb2a,_0x57479e,_0x460dc1,_0x469c8c,_0x5108d5){const _0x33a4e6=_0x1aaf2d,_0x3a3140=this[_0x33a4e6(0x36c)](_0x57479e),{left:_0xfed6aa,top:_0x56660b,height:_0x2d24de}=_0x3a3140,_0x584d14=this['_getScale'](),_0x59ad3e=Nt/_0x584d14,_0x36124f=new C['Rect'](le+a[_0x33a4e6(0x486)](H),{'left':_0xfed6aa+_0x460dc1-_0x59ad3e,'top':_0x56660b+_0x469c8c,'height':_0x2d24de,'width':Dt,'fill':_0x21fb2a||C[_0x33a4e6(0x2d6)](a['COLORS'][_0x33a4e6(0x315)],0x0),'strokeWidth':_0x59ad3e,'stroke':Ut,'evented':!0x0});this['_anchor']=_0x36124f,this[_0x33a4e6(0x410)][_0x33a4e6(0x469)](_0x36124f,p[_0x33a4e6(0x3c0)]);const _0x212e6c=new C[(_0x33a4e6(0x352))](le+a['generateRandomId'](H),{'left':_0xfed6aa+_0x460dc1-_0x59ad3e,'top':_0x56660b+_0x469c8c-_e/0x2,'height':_e,'width':_e,'fill':_0x21fb2a||C[_0x33a4e6(0x2d6)](a[_0x33a4e6(0x3fd)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x21fb2a||C[_0x33a4e6(0x2d6)](a['COLORS'][_0x33a4e6(0x315)],0x0),'evented':!0x1});this[_0x33a4e6(0x363)]=_0x212e6c,this[_0x33a4e6(0x410)][_0x33a4e6(0x469)](_0x212e6c,p['TEXT_RANGE_LAYER_INDEX']);const _0x4861bc=new ne(le+a[_0x33a4e6(0x486)](H),{'left':_0xfed6aa+_0x460dc1-_0x59ad3e,'top':_0x56660b+_0x469c8c-K,'text':_0x5108d5,'color':_0x21fb2a});this[_0x33a4e6(0x30b)]=_0x4861bc,this[_0x33a4e6(0x410)][_0x33a4e6(0x469)](_0x4861bc,p[_0x33a4e6(0x3c0)]),this['_hover']=!0x1;}[_0x1aaf2d(0x32e)](){const _0x3cfcee=_0x1aaf2d,_0x53b7bb=this[_0x3cfcee(0x443)][_0x3cfcee(0x3aa)]['subscribeEvent'](()=>{const _0x399bbd=_0x3cfcee;this[_0x399bbd(0x405)]=!0x0;}),_0xc422f=this[_0x3cfcee(0x443)][_0x3cfcee(0x217)][_0x3cfcee(0x314)](()=>{const _0x4e6054=_0x3cfcee;this['_hideTimer']&&clearTimeout(this[_0x4e6054(0x1ec)]),this[_0x4e6054(0x1ec)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2c838b=_0x3cfcee;_0x53b7bb[_0x2c838b(0x35c)](),_0xc422f[_0x2c838b(0x35c)]();};}[_0x1aaf2d(0x31b)](_0x416d79,_0x4fff9c,_0x3f9784,_0x310c4e){const _0x5f3339=_0x1aaf2d,_0x1abbde=new a[(_0x5f3339(0x213))](_0x416d79)['setAlpha'](0.2)[_0x5f3339(0x2fd)](),_0xf62f72=new C[(_0x5f3339(0x219))](Rt+a[_0x5f3339(0x486)](H),{'pointsGroup':_0x4fff9c,'fill':_0x1abbde||C[_0x5f3339(0x2d6)](a[_0x5f3339(0x3fd)]['black'],0.2),'left':_0x3f9784,'top':_0x310c4e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f3339(0x367)][_0x5f3339(0x3b7)](_0xf62f72),this[_0x5f3339(0x410)][_0x5f3339(0x469)](_0xf62f72,p[_0x5f3339(0x3c0)]);}[_0x1aaf2d(0x206)](_0x3b9b5a,_0x453472,_0x70f7c6,_0x52ab9e){const _0x1f8801=_0x1aaf2d,_0x5a0077=new a[(_0x1f8801(0x213))](_0x3b9b5a)[_0x1f8801(0x43a)](0.2)['toRgbString'](),_0x1b8a95=new C['RegularPolygon'](bt+a[_0x1f8801(0x486)](H),{'pointsGroup':_0x453472,'fill':_0x5a0077||C[_0x1f8801(0x2d6)](a[_0x1f8801(0x3fd)][_0x1f8801(0x315)],0.2),'left':_0x70f7c6,'top':_0x52ab9e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1b8a95),this['_scene']['addObject'](_0x1b8a95,p[_0x1f8801(0x3c0)]);}[_0x1aaf2d(0x36c)](_0x4a9338){const _0x32e2df=_0x4a9338[0x0],_0x3f40b8=_0x32e2df[0x0],_0x40bc32=_0x32e2df[0x2],{x:_0x1d4ea4,y:_0x18a3eb}=_0x3f40b8,{x:_0x2dbc17,y:_0x240aa7}=_0x40bc32;return{'left':_0x1d4ea4,'top':_0x18a3eb,'width':_0x2dbc17-_0x1d4ea4,'height':_0x240aa7-_0x18a3eb};}[_0x1aaf2d(0x285)](){const _0x5569f7=_0x1aaf2d,{scaleX:_0x57a396,scaleY:_0x4c20d6}=this[_0x5569f7(0x410)][_0x5569f7(0x2c5)]();return Math[_0x5569f7(0x412)](_0x57a396,_0x4c20d6);}}var Lt=Object[_0x1aaf2d(0x2d2)],Mt=(_0x5bc9ce,_0x3cfc4a,_0x291bb0,_0x16d94e)=>{const _0x2d6d66=_0x1aaf2d;for(var _0x20832c=_0x16d94e>0x1?void 0x0:_0x16d94e?Lt(_0x3cfc4a,_0x291bb0):_0x3cfc4a,_0x32aca3=_0x5bc9ce[_0x2d6d66(0x3e3)]-0x1,_0x220af9;_0x32aca3>=0x0;_0x32aca3--)(_0x220af9=_0x5bc9ce[_0x32aca3])&&(_0x20832c=_0x220af9(_0x20832c)||_0x20832c);return _0x20832c;},z=(_0x307d0d,_0x4d72d9)=>(_0x4344b1,_0x34a774)=>_0x4d72d9(_0x4344b1,_0x34a774,_0x307d0d);let ge=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x4e692f,_0x55007b,_0x2d2b29,_0x12ff27,_0x44849f){const _0xef5353=_0x1aaf2d;super(),_(this,_0xef5353(0x42b),[]),_(this,_0xef5353(0x40b),[]),(this[_0xef5353(0x2a8)]=_0x4e692f,this['_docSkeletonManagerService']=_0x55007b,this[_0xef5353(0x34a)]=_0x2d2b29,this[_0xef5353(0x323)]=_0x12ff27,this[_0xef5353(0x279)]=_0x44849f,this[_0xef5353(0x2a5)]());}[_0x1aaf2d(0x2a5)](){const _0x8e112c=_0x1aaf2d,_0x58289b=this[_0x8e112c(0x2a8)][_0x8e112c(0x428)],_0x32f159=this[_0x8e112c(0x456)];this[_0x8e112c(0x32f)](I[_0x8e112c(0x45c)]([this['_collabCursorController']['getCollabCursors$'](_0x58289b),this[_0x8e112c(0x279)][_0x8e112c(0x2a6)]])[_0x8e112c(0x2b3)]($[_0x8e112c(0x3b6)](([_0x43ba20,_0x367927])=>({'skeleton':_0x32f159['getSkeleton'](),'cursors':[..._0x43ba20[_0x8e112c(0x42e)]()][_0x8e112c(0x32d)](_0x1599ed=>({..._0x1599ed,'color':this[_0x8e112c(0x279)][_0x8e112c(0x377)](_0x1599ed[_0x8e112c(0x29a)])}))})))[_0x8e112c(0x2ab)](_0x5285fb=>{const _0x44f584=_0x8e112c;if(this[_0x44f584(0x236)](),_0x5285fb){const {skeleton:_0x1410e7,cursors:_0x4a9d39}=_0x5285fb;this[_0x44f584(0x237)](_0x1410e7,_0x4a9d39);}})),this[_0x8e112c(0x2c0)](),this[_0x8e112c(0x3a0)]();}[_0x1aaf2d(0x237)](_0x51d1f9,_0x29f855){const _0x1becdc=_0x1aaf2d,{scene:_0x45828b,mainComponent:_0x2af947}=this[_0x1becdc(0x2a8)],_0x5a8889=_0x29f855['map'](_0x28d224=>new Ue(_0x28d224,_0x45828b,_0x51d1f9,_0x2af947));this[_0x1becdc(0x42b)]=_0x5a8889,this[_0x1becdc(0x40b)]=_0x29f855;}['_refreshCollabCursors'](){const _0x58d049=_0x1aaf2d;this[_0x58d049(0x236)]();const {scene:_0x3ce079,mainComponent:_0x1516e9}=this[_0x58d049(0x2a8)],_0x40ca04=this['_docSkeletonManagerService'][_0x58d049(0x24f)](),_0x1eab4d=this[_0x58d049(0x40b)][_0x58d049(0x3b6)](_0x3b01a0=>new Ue(_0x3b01a0,_0x3ce079,_0x40ca04,_0x1516e9));this[_0x58d049(0x42b)]=_0x1eab4d;}['_removeCollabCursors'](){const _0x1beb3=_0x1aaf2d;this[_0x1beb3(0x42b)][_0x1beb3(0x3da)](_0x655426=>_0x655426['dispose']()),this[_0x1beb3(0x42b)]=[];}['_initCommandExecutedListener'](){const _0xf3d960=_0x1aaf2d,_0x819667=[p['SetDocZoomRatioOperation']['id']];this[_0xf3d960(0x32f)](this[_0xf3d960(0x323)][_0xf3d960(0x339)](_0x29e34b=>{const _0x5b42d8=_0xf3d960;_0x819667[_0x5b42d8(0x3b2)](_0x29e34b['id'])&&_0x29e34b[_0x5b42d8(0x316)]['unitId']===this[_0x5b42d8(0x2a8)][_0x5b42d8(0x428)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x302c79=_0x1aaf2d;this[_0x302c79(0x32f)](a['fromEventSubject'](this['_context'][_0x302c79(0x442)][_0x302c79(0x2cc)])[_0x302c79(0x2b3)]($[_0x302c79(0x246)](_0x3ecca2=>_0x3ecca2[_0x302c79(0x351)]===C['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x302c79(0x413)]),$[_0x302c79(0x460)](0x10))[_0x302c79(0x2ab)](()=>{this['_refreshCollabCursors']();}));}};ge=Mt([z(0x1,a[_0x1aaf2d(0x2b5)](V['DocSkeletonManagerService'])),z(0x2,a[_0x1aaf2d(0x2b5)](F)),z(0x3,a['ICommandService']),z(0x4,a['Inject'](a[_0x1aaf2d(0x3b4)]))],ge);const At=0x1,Pt=1.5;class Fe extends C['Shape']{constructor(_0x5cfe1b,_0x3e483e){const _0xe26015=_0x1aaf2d;super(_0x5cfe1b,_0x3e483e),_(this,_0xe26015(0x278)),_(this,_0xe26015(0x257),!0x1),_(this,_0xe26015(0x1d9)),_(this,_0xe26015(0x229),''),_(this,_0xe26015(0x398),'top'),_(this,_0xe26015(0x415)),(_0x3e483e&&this['setShapeProps'](_0x3e483e),this['onPointerEnter$'][_0xe26015(0x314)](()=>this[_0xe26015(0x20e)]({'hovered':!0x0})),this[_0xe26015(0x217)]['subscribeEvent'](()=>this[_0xe26015(0x20e)]({'hovered':!0x1})));}[_0x1aaf2d(0x20e)](_0x26a15c){const _0x40d358=_0x1aaf2d;var _0x7eadc9,_0x51dd41,_0x3869f5,_0x578627,_0xbbe34d,_0x3b7aa4;this[_0x40d358(0x278)]=(_0x7eadc9=_0x26a15c[_0x40d358(0x29a)])!=null?_0x7eadc9:this['_color'],this[_0x40d358(0x257)]=(_0x51dd41=_0x26a15c['hovered'])!=null?_0x51dd41:this[_0x40d358(0x257)],this[_0x40d358(0x1d9)]=(_0x3869f5=_0x26a15c[_0x40d358(0x2b9)])!=null?_0x3869f5:this[_0x40d358(0x1d9)],this[_0x40d358(0x229)]=(_0x578627=_0x26a15c[_0x40d358(0x3b0)])!=null?_0x578627:this[_0x40d358(0x229)],this[_0x40d358(0x398)]=(_0xbbe34d=_0x26a15c[_0x40d358(0x358)])!=null?_0xbbe34d:this[_0x40d358(0x398)],this[_0x40d358(0x415)]=(_0x3b7aa4=_0x26a15c['backgroundColor'])!=null?_0x3b7aa4:this[_0x40d358(0x415)],this[_0x40d358(0x481)]({'width':_0x26a15c[_0x40d358(0x3ec)],'height':_0x26a15c['height']});}[_0x1aaf2d(0x48e)](_0x2bb9e5){const _0x4610cf=_0x1aaf2d,{row:_0x3a487b,column:_0x40f505}=_0x2bb9e5;if(_0x3a487b>=this[_0x4610cf(0x1d9)][_0x4610cf(0x3f5)]&&_0x3a487b<=this[_0x4610cf(0x1d9)]['endRow']&&_0x40f505>=this['_range']['startColumn']&&_0x40f505<=this[_0x4610cf(0x1d9)][_0x4610cf(0x2ac)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1aaf2d(0x374)](_0xa9a6af){return!0x1;}['_draw'](_0x45957f){const _0x4a1cc0=_0x1aaf2d;C['Rect']['drawWith'](_0x45957f,{'width':this[_0x4a1cc0(0x3ec)],'height':this[_0x4a1cc0(0x41b)],'strokeWidth':Pt,'stroke':this[_0x4a1cc0(0x278)],'evented':!0x1,'fill':this[_0x4a1cc0(0x415)]}),this[_0x4a1cc0(0x257)]&&(_0x45957f[_0x4a1cc0(0x2af)](),_0x45957f[_0x4a1cc0(0x3c8)](0x1,0x0,0x0,0x1,this['width'],this[_0x4a1cc0(0x398)]==='bottom'?0x0:-K),ne[_0x4a1cc0(0x36e)](_0x45957f,{'text':this[_0x4a1cc0(0x229)],'color':this[_0x4a1cc0(0x278)]}),_0x45957f[_0x4a1cc0(0x239)]());}}var wt=Object[_0x1aaf2d(0x2d2)],yt=(_0x3b7ea9,_0xcee695,_0xfa5b6c,_0x47e356)=>{const _0x44f95d=_0x1aaf2d;for(var _0x4f1ad0=_0x47e356>0x1?void 0x0:_0x47e356?wt(_0xcee695,_0xfa5b6c):_0xcee695,_0x1a05f3=_0x3b7ea9[_0x44f95d(0x3e3)]-0x1,_0x5a36a5;_0x1a05f3>=0x0;_0x1a05f3--)(_0x5a36a5=_0x3b7ea9[_0x1a05f3])&&(_0x4f1ad0=_0x5a36a5(_0x4f1ad0)||_0x4f1ad0);return _0x4f1ad0;},he=(_0x1d9292,_0x402b1d)=>(_0x436bd9,_0x38f5f8)=>_0x402b1d(_0x436bd9,_0x38f5f8,_0x1d9292);const xt=0x1389;let Ee=class extends a[_0x1aaf2d(0x3ff)]{constructor(_0x8ddecc,_0x3c39ba,_0x3d87d2,_0x1c56c2){const _0x444a30=_0x1aaf2d;super(),_(this,_0x444a30(0x40b),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x8ddecc,this['_sheetSkeletonManagerService']=_0x3c39ba,this[_0x444a30(0x34a)]=_0x3d87d2,this['_themeService']=_0x1c56c2,this[_0x444a30(0x2a5)]());}[_0x1aaf2d(0x2a5)](){const _0x50a2e8=_0x1aaf2d;this[_0x50a2e8(0x3e9)][_0x50a2e8(0x429)][_0x50a2e8(0x2b3)]($['takeUntil'](this[_0x50a2e8(0x400)]),$[_0x50a2e8(0x1f3)](_0x4ea980=>{const _0x278807=_0x50a2e8;if(_0x4ea980){const _0x621d97=_0x4ea980[_0x278807(0x2c3)];return I[_0x278807(0x45c)](this['_collabCursorController'][_0x278807(0x368)](this['_context']['unitId']),this[_0x278807(0x279)][_0x278807(0x2a6)])['pipe']($[_0x278807(0x3b6)](([_0x492f91,_0x3fbf0e])=>{const _0x5f3386=_0x278807,_0x12151a=new Map();return _0x492f91[_0x5f3386(0x3da)]((_0x161864,_0x29037e)=>{const _0x3b673f=_0x5f3386;if(_0x161864[_0x3b673f(0x366)]===_0x621d97){const _0x198b61={..._0x161864};_0x198b61['color']=this[_0x3b673f(0x279)]['getColorFromTheme'](_0x161864[_0x3b673f(0x29a)]),_0x12151a[_0x3b673f(0x21b)](_0x29037e,_0x198b61);}}),{'skeleton':_0x4ea980,'cursors':_0x12151a};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x50a2e8(0x2ab)](({skeleton:_0x48b724,cursors:_0x2d3e23})=>{this['_removeCollabCursors'](),_0x48b724&&this['_updateCollabCursors'](_0x48b724,_0x2d3e23);}),this[_0x50a2e8(0x3e9)][_0x50a2e8(0x429)][_0x50a2e8(0x2ab)](_0xb0960c=>{const _0x413f6a=_0x50a2e8;if(_0xb0960c==null)return;const {skeleton:_0x3ded05}=_0xb0960c,{scene:_0x401a6d}=this[_0x413f6a(0x2a8)];_0x401a6d['onPointerMove$'][_0x413f6a(0x314)](a[_0x413f6a(0x438)](_0x3b0cc7=>{const _0xe16a5=_0x413f6a;var _0x392ca7,_0x5b0a85;const {offsetX:_0x400342,offsetY:_0x2eac1b}=_0x3b0cc7,{x:_0x2801f5,y:_0x2ffbb4}=_0x401a6d[_0xe16a5(0x476)](C['Vector2']['FromArray']([_0x400342,_0x2eac1b])),{scaleX:_0x4a3906,scaleY:_0xd1568f}=_0x401a6d[_0xe16a5(0x2c5)](),_0x28eb29=_0x401a6d[_0xe16a5(0x345)](C[_0xe16a5(0x238)][_0xe16a5(0x3d0)]),_0x18969a=_0x401a6d[_0xe16a5(0x2e6)](C[_0xe16a5(0x1f4)][_0xe16a5(0x26e)]([_0x2801f5,_0x2ffbb4]),_0x28eb29),_0x2064bd=_0x3ded05['getCellPositionByOffset'](_0x400342,_0x2eac1b,_0x4a3906,_0xd1568f,_0x18969a);((_0x392ca7=this[_0xe16a5(0x283)])==null?void 0x0:_0x392ca7[_0xe16a5(0x3f2)])===_0x2064bd[_0xe16a5(0x3f2)]&&((_0x5b0a85=this[_0xe16a5(0x283)])==null?void 0x0:_0x5b0a85[_0xe16a5(0x298)])===_0x2064bd['row']||this['_cursors'][_0xe16a5(0x3da)](_0x1f0ef5=>{const _0xcb9cb8=_0xe16a5;_0x1f0ef5[_0xcb9cb8(0x48e)](_0x2064bd);});},0x64));});}[_0x1aaf2d(0x237)](_0x10abb9,_0x558073){const _0x2c93b0=_0x1aaf2d;var _0x2d6f73;const _0xe1cf9b=(_0x2d6f73=this[_0x2c93b0(0x3e9)]['getCurrent']())==null?void 0x0:_0x2d6f73[_0x2c93b0(0x36d)];if(!_0xe1cf9b)return;const _0x5eb8cd=this[_0x2c93b0(0x444)]();if(!_0x5eb8cd)return;this[_0x2c93b0(0x40b)]['forEach'](_0x50e3ef=>{_0x50e3ef['makeDirty']();});const {scene:_0x23fa23}=_0x5eb8cd,_0x25bcb4=$t(Array[_0x2c93b0(0x451)](_0x558073['values']()))[_0x2c93b0(0x3b6)](_0x3d2933=>{const _0x258ee3=_0x2c93b0,{color:_0x4562ed,range:_0x10f012,name:_0x4a66af,selection:_0x76f66d,sheetID:_0x1a45be}=_0x3d2933,{startColumn:_0x26de4a,startRow:_0x4d7a8d,endColumn:_0x18e149,endRow:_0x4a60eb}=_0x10f012,_0x252bcc=J[_0x258ee3(0x46b)](_0x4d7a8d,_0x26de4a,_0x23fa23,_0xe1cf9b),_0x57e200=J[_0x258ee3(0x46b)](_0x4a60eb,_0x18e149,_0x23fa23,_0xe1cf9b),{columnHeaderHeightAndMarginTop:_0x494679}=_0xe1cf9b,{startX:_0x2e22b6,startY:_0x11b9eb}=_0x252bcc,{endX:_0x567ad6,endY:_0x4f9885}=_0x57e200,_0x3feed3=_0x567ad6-_0x2e22b6,_0x32ab98=_0x4f9885-_0x11b9eb,_0x306752={'labelPosition':_0x11b9eb-_0x494679>=K?_0x258ee3(0x313):_0x258ee3(0x44b),'sheetID':_0x1a45be,'range':_0x10f012,'color':_0x4562ed,'name':_0x4a66af,'selection':_0x76f66d,'left':_0x2e22b6,'top':_0x11b9eb,'width':_0x3feed3,'height':_0x32ab98,'evented':!0x1,'zIndex':xt};return new Fe(_0x4a66af,_0x306752);});_0x23fa23[_0x2c93b0(0x218)](_0x25bcb4,At),this['_cursors']=new Set(_0x25bcb4);}[_0x1aaf2d(0x236)](){const _0x12fc9e=_0x1aaf2d;var _0x4c7053;(_0x4c7053=this[_0x12fc9e(0x40b)])==null||_0x4c7053[_0x12fc9e(0x3da)](_0x5443d6=>_0x5443d6[_0x12fc9e(0x2b2)]());}[_0x1aaf2d(0x444)](){const _0x32aa06=_0x1aaf2d;return J[_0x32aa06(0x3a3)](this[_0x32aa06(0x2a8)]['unit'],this[_0x32aa06(0x2a8)]);}};Ee=yt([he(0x1,a[_0x1aaf2d(0x2b5)](J['SheetSkeletonManagerService'])),he(0x2,a[_0x1aaf2d(0x2b5)](F)),he(0x3,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3b4)]))],Ee);function $t(_0x49aca3){const _0x55bb1a=_0x1aaf2d,_0x2148cd=new Map();return _0x49aca3['forEach'](_0x34f2f1=>{const _0x3b3c49=_0x4084;if(_0x2148cd[_0x3b3c49(0x3d2)](_0x34f2f1[_0x3b3c49(0x3f3)])){const _0x38b8cb=_0x2148cd[_0x3b3c49(0x281)](_0x34f2f1[_0x3b3c49(0x3f3)]);_0x38b8cb[_0x3b3c49(0x3b0)]+=',\x20'+_0x34f2f1[_0x3b3c49(0x3b0)];}else _0x2148cd['set'](_0x34f2f1['selection'],_0x34f2f1);}),Array[_0x55bb1a(0x451)](_0x2148cd[_0x55bb1a(0x42e)]());}var Bt=Object['getOwnPropertyDescriptor'],Ft=(_0x507dbc,_0x59905b,_0x4f3703,_0x33328d)=>{for(var _0x4dd4b4=_0x33328d>0x1?void 0x0:_0x33328d?Bt(_0x59905b,_0x4f3703):_0x59905b,_0x396819=_0x507dbc['length']-0x1,_0x4cf5d1;_0x396819>=0x0;_0x396819--)(_0x4cf5d1=_0x507dbc[_0x396819])&&(_0x4dd4b4=_0x4cf5d1(_0x4dd4b4)||_0x4dd4b4);return _0x4dd4b4;},x=(_0x803ca,_0x31de2e)=>(_0x2ad833,_0x49bd52)=>_0x31de2e(_0x2ad833,_0x49bd52,_0x803ca);let Z=class extends a[_0x1aaf2d(0x2eb)]{constructor(_0x318875,_0x35f51a,_0xc48646,_0x52a06e,_0x37823a,_0x394f51){const _0x1efe87=_0x1aaf2d;super(),this[_0x1efe87(0x386)]=_0x318875,this['_localCacheService']=_0x35f51a,this['_collaborationUIEventService']=_0xc48646,this['_messageService']=_0x52a06e,this[_0x1efe87(0x332)]=_0x37823a,this['_localeService']=_0x394f51,this['_setupBeforeClosingHandler'](),this[_0x1efe87(0x23b)]();}[_0x1aaf2d(0x3db)](){const _0x34a895=_0x1aaf2d;this[_0x34a895(0x32f)](this[_0x34a895(0x386)][_0x34a895(0x3ad)](()=>{const _0x31cfe6=_0x34a895;if(this[_0x31cfe6(0x1df)][_0x31cfe6(0x3f4)][_0x31cfe6(0x380)])return this[_0x31cfe6(0x39b)]['t'](_0x31cfe6(0x309));}));}[_0x1aaf2d(0x23b)](){const _0x92b904=_0x1aaf2d;this[_0x92b904(0x32f)](this[_0x92b904(0x256)]['event$']['subscribe'](_0x32a225=>{const _0x4d0554=_0x92b904;_0x32a225['id']===u[_0x4d0554(0x2b1)][_0x4d0554(0x3ae)]&&this[_0x4d0554(0x30c)][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)][_0x4d0554(0x2d7)],'content':this[_0x4d0554(0x39b)]['t'](_0x4d0554(0x24e))}),_0x32a225['id']===u['CollaborationUIEventId'][_0x4d0554(0x3f1)]&&this[_0x4d0554(0x30c)][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)][_0x4d0554(0x2d7)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x32a225['id']===u[_0x4d0554(0x2b1)][_0x4d0554(0x452)]&&this[_0x4d0554(0x332)][_0x4d0554(0x207)]({'title':this[_0x4d0554(0x39b)]['t'](_0x4d0554(0x26d)),'content':this['_localeService']['t'](_0x4d0554(0x3f7)),'type':'error','duration':0x0}),_0x32a225['id']===u[_0x4d0554(0x2b1)][_0x4d0554(0x375)]&&this['_messageService'][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)][_0x4d0554(0x434)],'content':this[_0x4d0554(0x39b)]['t']('collaboration.closeRoom')+'('+_0x32a225['data']+')'}),_0x32a225['id']===u[_0x4d0554(0x2b1)][_0x4d0554(0x337)]&&this[_0x4d0554(0x30c)][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)]['Warning'],'content':this[_0x4d0554(0x39b)]['t'](_0x32a225[_0x4d0554(0x32c)]||'')}),_0x32a225['id']===u[_0x4d0554(0x2b1)]['SOCKET_FAILED_RETRY']&&this[_0x4d0554(0x30c)][_0x4d0554(0x207)]({'type':T['MessageType']['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x32a225['id']===u['CollaborationUIEventId'][_0x4d0554(0x41a)]&&this['_messageService'][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)][_0x4d0554(0x434)],'content':this[_0x4d0554(0x39b)]['t'](_0x4d0554(0x349))}),_0x32a225['id']===u[_0x4d0554(0x2b1)][_0x4d0554(0x2f2)]&&this[_0x4d0554(0x30c)][_0x4d0554(0x207)]({'type':T[_0x4d0554(0x2d8)][_0x4d0554(0x434)],'content':this[_0x4d0554(0x39b)]['t'](_0x4d0554(0x276))});}));}};Z=Ft([x(0x0,R[_0x1aaf2d(0x43c)]),x(0x1,u[_0x1aaf2d(0x2f5)]),x(0x2,a[_0x1aaf2d(0x2b5)](u[_0x1aaf2d(0x353)])),x(0x3,R[_0x1aaf2d(0x269)]),x(0x4,R[_0x1aaf2d(0x37f)]),x(0x5,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x440)]))],Z);const kt=_0x1aaf2d(0x296),Le={};var jt=Object[_0x1aaf2d(0x2d2)],Yt=(_0x523732,_0x433ddd,_0x2f917e,_0x1c85b1)=>{const _0x17903b=_0x1aaf2d;for(var _0x26e443=_0x1c85b1>0x1?void 0x0:_0x1c85b1?jt(_0x433ddd,_0x2f917e):_0x433ddd,_0x4f4c9b=_0x523732[_0x17903b(0x3e3)]-0x1,_0x317221;_0x4f4c9b>=0x0;_0x4f4c9b--)(_0x317221=_0x523732[_0x4f4c9b])&&(_0x26e443=_0x317221(_0x26e443)||_0x26e443);return _0x26e443;},Me=(_0x2e230c,_0x2daa4b)=>(_0xaf72c5,_0x2ebdf1)=>_0x2daa4b(_0xaf72c5,_0x2ebdf1,_0x2e230c);let Q=class{constructor(_0x352e11,_0x3d785a){const _0x35fc79=_0x1aaf2d;this[_0x35fc79(0x387)]=_0x352e11,this[_0x35fc79(0x2ee)]=_0x3d785a;}[_0x1aaf2d(0x3bf)](_0x254714){const _0x849fda=_0x1aaf2d;this[_0x849fda(0x33b)](_0x254714),this[_0x849fda(0x463)](_0x254714);}['transformRemoteChangeset'](_0x2a78aa){const _0x469192=_0x1aaf2d,{unitID:_0x133c16}=_0x2a78aa,_0x1f348b=this[_0x469192(0x2ee)]['getRenderById'](_0x133c16)[_0x469192(0x27e)](p[_0x469192(0x2d4)]),{redoCache:_0x3b60c0}=_0x1f348b['getUndoRedoMutationParamsCache']();if(_0x3b60c0[_0x469192(0x3e3)]===0x0)return _0x2a78aa;let _0x4322b4=a[_0x469192(0x1f6)]['deepClone'](_0x2a78aa[_0x469192(0x2bd)][0x0]);for(let _0x179b3c=0x0;_0x179b3c<_0x3b60c0[_0x469192(0x3e3)];_0x179b3c++){const _0x3fb628={'id':_0x469192(0x3b1),'params':{..._0x3b60c0[_0x179b3c]}},_0x387306=this[_0x469192(0x387)][_0x469192(0x22e)](_0x4322b4,_0x3fb628,!0x1);if(g[_0x469192(0x325)](_0x387306))throw _0x387306['error'];_0x4322b4=_0x387306[_0x469192(0x290)];}return{...a[_0x469192(0x1f6)][_0x469192(0x445)](_0x2a78aa),'mutations':[_0x4322b4]};}['_transformUndoRedoStack'](_0x5cbdec){const _0x458db0=_0x1aaf2d,{unitID:_0x2b0d01}=_0x5cbdec,_0x142cb6=this[_0x458db0(0x2ee)][_0x458db0(0x249)](_0x2b0d01)[_0x458db0(0x27e)](p[_0x458db0(0x2d4)]),{undoCache:_0x365dc2,redoCache:_0x26d935}=_0x142cb6['getUndoRedoMutationParamsCache']();if(_0x365dc2['length']===0x0||_0x26d935['length']===0x0)return;const _0x51c05a=[],_0x451c58=[];let _0x61e4d5=a['Tools'][_0x458db0(0x445)](_0x5cbdec['mutations'][0x0]),_0x356555=a[_0x458db0(0x1f6)]['deepClone'](_0x5cbdec[_0x458db0(0x2bd)][0x0]);for(let _0xf008ad=_0x365dc2[_0x458db0(0x3e3)]-0x1;_0xf008ad>=0x0;_0xf008ad--){const _0x2d1b76={'id':_0x458db0(0x3b1),'params':{..._0x365dc2[_0xf008ad]}},_0x292fe8={'id':'doc.mutation.rich-text-editing','params':{..._0x26d935[_0xf008ad]}},_0x2947a5=this['_transformService']['transformMutation'](_0x61e4d5,_0x2d1b76,!0x1),_0x324b3a=this['_transformService'][_0x458db0(0x22e)](_0x356555,_0x292fe8,!0x1);if(g[_0x458db0(0x325)](_0x2947a5))throw _0x2947a5['error'];if(g[_0x458db0(0x325)](_0x324b3a))throw _0x324b3a['error'];_0x51c05a[_0x458db0(0x24d)](_0x2947a5[_0x458db0(0x20b)][_0x458db0(0x316)]),_0x451c58[_0x458db0(0x24d)](_0x324b3a[_0x458db0(0x20b)][_0x458db0(0x316)]),_0x61e4d5=_0x2947a5[_0x458db0(0x290)],_0x356555=_0x324b3a[_0x458db0(0x290)];}_0x142cb6[_0x458db0(0x485)]({'undoCache':_0x51c05a,'redoCache':_0x451c58});}['_transformPreviousActiveRange'](_0x21a1ff){const _0x12037d=_0x1aaf2d,{unitID:_0x575cab}=_0x21a1ff,_0x3a1caf=this['_renderManagerService'][_0x12037d(0x249)](_0x575cab)[_0x12037d(0x27e)](p[_0x12037d(0x2d4)]),_0x500bba=_0x3a1caf[_0x12037d(0x2ca)]();if(_0x500bba==null)return;const _0x1ae7a6=[{'id':_0x12037d(0x3b1),'params':{'unitId':_0x21a1ff[_0x12037d(0x3e2)],'actions':null,'textRanges':[_0x500bba]}}],_0x1f99d1=this[_0x12037d(0x387)][_0x12037d(0x465)](_0x21a1ff,_0x1ae7a6);if(!g['isTransformMutationsWithChangesetSuccess'](_0x1f99d1))throw _0x1f99d1['error'];const _0x3ae624=_0x1f99d1[_0x12037d(0x20b)][0x0]['params'][_0x12037d(0x3eb)];Array[_0x12037d(0x2fa)](_0x3ae624)&&_0x3ae624['length']&&_0x3a1caf[_0x12037d(0x242)](_0x3ae624[0x0]);}};Q=Yt([Me(0x0,g[_0x1aaf2d(0x334)]),Me(0x1,C[_0x1aaf2d(0x364)])],Q);var Ht=Object[_0x1aaf2d(0x2d2)],Wt=(_0x2f1dd6,_0x44ae73,_0x419854,_0x3c8e9b)=>{const _0x2204f8=_0x1aaf2d;for(var _0x134886=_0x3c8e9b>0x1?void 0x0:_0x3c8e9b?Ht(_0x44ae73,_0x419854):_0x44ae73,_0x5eb460=_0x2f1dd6[_0x2204f8(0x3e3)]-0x1,_0x12c616;_0x5eb460>=0x0;_0x5eb460--)(_0x12c616=_0x2f1dd6[_0x5eb460])&&(_0x134886=_0x12c616(_0x134886)||_0x134886);return _0x134886;},ue=(_0x4fdb9f,_0x414ffe)=>(_0x552acd,_0x9df24)=>_0x414ffe(_0x552acd,_0x9df24,_0x4fdb9f);let ee=class{constructor(_0x23e1da,_0x991d29,_0xe06307){const _0x52fb32=_0x1aaf2d;this[_0x52fb32(0x44c)]=_0x23e1da,this[_0x52fb32(0x387)]=_0x991d29,this[_0x52fb32(0x425)]=_0xe06307;}[_0x1aaf2d(0x24c)](_0x4b8926){const _0x123366=_0x1aaf2d;this[_0x123366(0x1fb)](_0x4b8926);}['transformRemoteChangeset'](_0x1c8975){const _0x2ad499=_0x1aaf2d,{unitID:_0x4ed853}=_0x1c8975,{collaboration:_0x496842}=this['_docStateChangeManagerService']['getStateCache'](_0x4ed853);if(_0x496842['length']===0x0)return _0x1c8975;let _0x58ccb3=a[_0x2ad499(0x1f6)][_0x2ad499(0x445)](_0x1c8975[_0x2ad499(0x2bd)][0x0]);for(let _0x50a875=0x0;_0x50a875<_0x496842['length'];_0x50a875++){const _0x1469ac={'id':_0x2ad499(0x3b1),'params':{'unitId':_0x496842[_0x50a875]['unitId'],..._0x496842[_0x50a875][_0x2ad499(0x3a9)]}},_0x1bcc8a=this[_0x2ad499(0x387)][_0x2ad499(0x22e)](_0x58ccb3,_0x1469ac,!0x1);if(g['isTransformMutationFailure'](_0x1bcc8a))throw _0x1bcc8a[_0x2ad499(0x32a)];_0x58ccb3=_0x1bcc8a['m1Prime'];}return{...a['Tools']['deepClone'](_0x1c8975),'mutations':[_0x58ccb3]};}[_0x1aaf2d(0x1fb)](_0x33c27e){const _0x5bcb01=_0x1aaf2d,{unitID:_0x4f6584}=_0x33c27e,{history:_0x351e16,collaboration:_0x18bc7c}=this[_0x5bcb01(0x425)][_0x5bcb01(0x44e)](_0x4f6584);if(_0x351e16[_0x5bcb01(0x3e3)]===0x0&&_0x18bc7c[_0x5bcb01(0x3e3)]===0x0)return;const _0x46e7e8=[],_0x18d10a=[];let _0x4ca61e=a[_0x5bcb01(0x1f6)][_0x5bcb01(0x445)](_0x33c27e[_0x5bcb01(0x2bd)][0x0]),_0x5b9188=a['Tools']['deepClone'](_0x33c27e[_0x5bcb01(0x2bd)][0x0]);for(let _0x425114=_0x351e16['length']-0x1;_0x425114>=0x0;_0x425114--){const _0x241de1={'id':_0x5bcb01(0x3b1),'params':{'unitId':_0x351e16[_0x425114][_0x5bcb01(0x428)],..._0x351e16[_0x425114][_0x5bcb01(0x28e)]}},_0x30301b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x351e16[_0x425114][_0x5bcb01(0x428)],..._0x351e16[_0x425114]['redoState']}},_0x53808e=this[_0x5bcb01(0x387)][_0x5bcb01(0x22e)](_0x4ca61e,_0x241de1,!0x1),_0x59c1df=this[_0x5bcb01(0x387)]['transformMutation'](_0x5b9188,_0x30301b,!0x1);if(g[_0x5bcb01(0x325)](_0x53808e))throw _0x53808e[_0x5bcb01(0x32a)];if(g[_0x5bcb01(0x325)](_0x59c1df))throw _0x59c1df[_0x5bcb01(0x32a)];_0x46e7e8[_0x5bcb01(0x24d)]({..._0x351e16[_0x425114],'undoState':_0x53808e[_0x5bcb01(0x20b)][_0x5bcb01(0x316)],'redoState':_0x59c1df[_0x5bcb01(0x20b)][_0x5bcb01(0x316)]}),_0x4ca61e=_0x53808e[_0x5bcb01(0x290)],_0x5b9188=_0x59c1df[_0x5bcb01(0x290)];}_0x4ca61e=a[_0x5bcb01(0x1f6)][_0x5bcb01(0x445)](_0x33c27e[_0x5bcb01(0x2bd)][0x0]),_0x5b9188=a[_0x5bcb01(0x1f6)]['deepClone'](_0x33c27e[_0x5bcb01(0x2bd)][0x0]);for(let _0x25d466=_0x18bc7c[_0x5bcb01(0x3e3)]-0x1;_0x25d466>=0x0;_0x25d466--){const _0x185260={'id':_0x5bcb01(0x3b1),'params':{'unitId':_0x18bc7c[_0x25d466][_0x5bcb01(0x428)],..._0x18bc7c[_0x25d466][_0x5bcb01(0x28e)]}},_0x366d1c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18bc7c[_0x25d466][_0x5bcb01(0x428)],..._0x18bc7c[_0x25d466][_0x5bcb01(0x3a9)]}},_0x4e2a6f=this[_0x5bcb01(0x387)][_0x5bcb01(0x22e)](_0x4ca61e,_0x185260,!0x1),_0x239afc=this['_transformService'][_0x5bcb01(0x22e)](_0x5b9188,_0x366d1c,!0x1);if(g[_0x5bcb01(0x325)](_0x4e2a6f))throw _0x4e2a6f[_0x5bcb01(0x32a)];if(g[_0x5bcb01(0x325)](_0x239afc))throw _0x239afc['error'];_0x18d10a[_0x5bcb01(0x24d)]({..._0x18bc7c[_0x25d466],'undoState':_0x4e2a6f['m2Prime'][_0x5bcb01(0x316)],'redoState':_0x239afc[_0x5bcb01(0x20b)]['params']}),_0x4ca61e=_0x4e2a6f['m1Prime'],_0x5b9188=_0x239afc['m1Prime'];}this[_0x5bcb01(0x425)][_0x5bcb01(0x348)](_0x4f6584,{'history':_0x46e7e8,'collaboration':_0x18d10a});}};ee=Wt([ue(0x0,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),ue(0x1,g['ITransformService']),ue(0x2,a[_0x1aaf2d(0x2b5)](p['DocStateChangeManagerService']))],ee);var Vt=Object[_0x1aaf2d(0x2d2)],Gt=(_0x1e35c2,_0x5144b3,_0x4c36ab,_0x47f728)=>{const _0x1ecf7b=_0x1aaf2d;for(var _0x38f709=_0x47f728>0x1?void 0x0:_0x47f728?Vt(_0x5144b3,_0x4c36ab):_0x5144b3,_0x4e8a0f=_0x1e35c2[_0x1ecf7b(0x3e3)]-0x1,_0x3ed31e;_0x4e8a0f>=0x0;_0x4e8a0f--)(_0x3ed31e=_0x1e35c2[_0x4e8a0f])&&(_0x38f709=_0x3ed31e(_0x38f709)||_0x38f709);return _0x38f709;},Ae=(_0x200c5e,_0x48e8e2)=>(_0x1d86ef,_0x4cbb2d)=>_0x48e8e2(_0x1d86ef,_0x4cbb2d,_0x200c5e);let te=class{constructor(_0x4e685c,_0x1697c1){const _0x262154=_0x1aaf2d;this[_0x262154(0x44c)]=_0x4e685c,this[_0x262154(0x387)]=_0x1697c1;}[_0x1aaf2d(0x1e9)](_0x41a8ff){const _0x442bf9=_0x1aaf2d;var _0x73e710;const _0x3093b5=this[_0x442bf9(0x44c)][_0x442bf9(0x281)](V[_0x442bf9(0x22c)]),_0x16dc1e=(_0x73e710=_0x3093b5['getDocRanges']())!=null?_0x73e710:[];if(_0x16dc1e[_0x442bf9(0x3e3)]===0x0)return;const _0x22c544=_0x41a8ff[_0x442bf9(0x3e2)],_0x5f3f45=[{'id':_0x442bf9(0x3b1),'params':{'unitId':_0x22c544,'actions':null,'textRanges':_0x16dc1e}}],_0x183b85=this['_transformService'][_0x442bf9(0x465)](_0x41a8ff,_0x5f3f45);if(!g[_0x442bf9(0x234)](_0x183b85))throw _0x183b85[_0x442bf9(0x32a)];const _0x27fcce=_0x183b85[_0x442bf9(0x20b)][0x0]['params'][_0x442bf9(0x3eb)];Array[_0x442bf9(0x2fa)](_0x27fcce)&&_0x27fcce['length']&&_0x3093b5[_0x442bf9(0x241)](_0x27fcce,{'unitId':_0x22c544,'subUnitId':_0x22c544},!0x1);}};te=Gt([Ae(0x0,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),Ae(0x1,g[_0x1aaf2d(0x334)])],te);var Xt=Object[_0x1aaf2d(0x2d2)],Kt=(_0x39a843,_0x5e70fd,_0x42af72,_0x2cae37)=>{const _0x3bdc70=_0x1aaf2d;for(var _0x2c4ef0=_0x2cae37>0x1?void 0x0:_0x2cae37?Xt(_0x5e70fd,_0x42af72):_0x5e70fd,_0x1e6a1d=_0x39a843[_0x3bdc70(0x3e3)]-0x1,_0x5b0da6;_0x1e6a1d>=0x0;_0x1e6a1d--)(_0x5b0da6=_0x39a843[_0x1e6a1d])&&(_0x2c4ef0=_0x5b0da6(_0x2c4ef0)||_0x2c4ef0);return _0x2c4ef0;},U=(_0xb8910a,_0x1aa54c)=>(_0x99b768,_0x2dcb8b)=>_0x1aa54c(_0x99b768,_0x2dcb8b,_0xb8910a);let se=class extends a['Disposable']{constructor(_0x26ab21,_0x35f260,_0x423e43,_0x4f73c6,_0x32802a,_0x3cc03f,_0x459b9b,_0x244902){const _0x427488=_0x1aaf2d;super(),_(this,'_status$',new I[(_0x427488(0x370))](u[_0x427488(0x2dd)][_0x427488(0x3cf)])),(this[_0x427488(0x425)]=_0x26ab21,this['_collaborationController']=_0x35f260,this[_0x427488(0x409)]=_0x423e43,this['_docTransformStateCacheService']=_0x4f73c6,this[_0x427488(0x372)]=_0x32802a,this[_0x427488(0x423)]=_0x3cc03f,this[_0x427488(0x30c)]=_0x459b9b,this[_0x427488(0x39b)]=_0x244902,this['_initEntityListener']());}['_initEntityListener'](){const _0x2279e4=_0x1aaf2d;this[_0x2279e4(0x32f)](this[_0x2279e4(0x384)]['entityInit$'][_0x2279e4(0x2ab)](_0x59b261=>{const _0xb6b0bb=_0x2279e4,_0x2fa5b4=this[_0xb6b0bb(0x425)][_0xb6b0bb(0x3c3)]['subscribe'](_0x270748=>{const _0x3f86ff=_0xb6b0bb;if(_0x270748==null)return;const {unitId:_0x54740b,redoState:_0x2beed3,commandId:_0x44c363}=_0x270748;if(_0x54740b!==_0x59b261[_0x3f86ff(0x3e2)])return;const _0x47265f={'id':_0x44c363,'type':a['CommandType'][_0x3f86ff(0x39e)],'params':{'unitId':_0x54740b,'actions':_0x2beed3['actions'],'textRanges':null}};_0x59b261[_0x3f86ff(0x200)](_0x47265f);});if(_0x59b261['disposeWithMe'](_0x2fa5b4),_0x59b261 instanceof u[_0xb6b0bb(0x406)]){const _0x262f1e={'onTransformIME':_0x368fff=>this[_0xb6b0bb(0x409)][_0xb6b0bb(0x3bf)](_0x368fff),'onTransformState':_0x42b62f=>this['_docTransformStateCacheService']['transformStateCache'](_0x42b62f),'onTransformSelections':_0x137755=>this[_0xb6b0bb(0x372)]['transformSelections'](_0x137755),'onSyncEditingCollabCursor':_0x13e3a8=>this[_0xb6b0bb(0x423)][_0xb6b0bb(0x3bc)](_0x13e3a8),'onTransformRemoteChangesetByIMECache':_0x32af28=>this[_0xb6b0bb(0x409)][_0xb6b0bb(0x48c)](_0x32af28),'onTransformRemoteChangesetByStateCache':_0x21502f=>this[_0xb6b0bb(0x346)]['transformRemoteChangeset'](_0x21502f)};_0x59b261[_0xb6b0bb(0x29e)](_0x262f1e);}}));}};se=Kt([U(0x0,a['Inject'](p['DocStateChangeManagerService'])),U(0x1,a[_0x1aaf2d(0x2b5)](u[_0x1aaf2d(0x3b3)])),U(0x2,a['Inject'](Q)),U(0x3,a[_0x1aaf2d(0x2b5)](ee)),U(0x4,a[_0x1aaf2d(0x2b5)](te)),U(0x5,a[_0x1aaf2d(0x2b5)](Re)),U(0x6,R[_0x1aaf2d(0x269)]),U(0x7,a['Inject'](a[_0x1aaf2d(0x440)]))],se);var G=(_0x345ce7=>(_0x345ce7[_0x345ce7[_0x1aaf2d(0x483)]=0x0]=_0x1aaf2d(0x483),_0x345ce7[_0x345ce7['OK']=0x1]='OK',_0x345ce7[_0x345ce7['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x345ce7[_0x345ce7[_0x1aaf2d(0x452)]=0x3]=_0x1aaf2d(0x452),_0x345ce7[_0x345ce7[_0x1aaf2d(0x470)]=0x4]=_0x1aaf2d(0x470),_0x345ce7[_0x345ce7[_0x1aaf2d(0x23e)]=0x5]=_0x1aaf2d(0x23e),_0x345ce7[_0x345ce7[_0x1aaf2d(0x299)]=0x6]=_0x1aaf2d(0x299),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2c4)]=0x7]=_0x1aaf2d(0x2c4),_0x345ce7[_0x345ce7['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x345ce7[_0x345ce7[_0x1aaf2d(0x31e)]=0x9]=_0x1aaf2d(0x31e),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3e0)]=0xa]='LOGIN_FAILED',_0x345ce7[_0x345ce7['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1aaf2d(0x373),_0x345ce7[_0x345ce7[_0x1aaf2d(0x1e4)]=0xc]=_0x1aaf2d(0x1e4),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3ab)]=0xd]=_0x1aaf2d(0x3ab),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3c9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x345ce7[_0x345ce7[_0x1aaf2d(0x2cb)]=0xf]=_0x1aaf2d(0x2cb),_0x345ce7[_0x345ce7[_0x1aaf2d(0x343)]=0x10]=_0x1aaf2d(0x343),_0x345ce7[_0x345ce7[_0x1aaf2d(0x24a)]=0x64]=_0x1aaf2d(0x24a),_0x345ce7[_0x345ce7[_0x1aaf2d(0x26b)]=0x65]=_0x1aaf2d(0x26b),_0x345ce7[_0x345ce7['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x345ce7[_0x345ce7[_0x1aaf2d(0x3ee)]=0xca]=_0x1aaf2d(0x3ee),_0x345ce7[_0x345ce7[_0x1aaf2d(0x47e)]=0x1389]=_0x1aaf2d(0x47e),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2e3)]=0x1771]=_0x1aaf2d(0x2e3),_0x345ce7[_0x345ce7[_0x1aaf2d(0x20a)]=0x1772]=_0x1aaf2d(0x20a),_0x345ce7[_0x345ce7[_0x1aaf2d(0x240)]=0x1773]=_0x1aaf2d(0x240),_0x345ce7[_0x345ce7[_0x1aaf2d(0x268)]=0x1b59]=_0x1aaf2d(0x268),_0x345ce7[_0x345ce7[_0x1aaf2d(0x39a)]=0x1b5a]=_0x1aaf2d(0x39a),_0x345ce7[_0x345ce7[_0x1aaf2d(0x446)]=0x1b5b]=_0x1aaf2d(0x446),_0x345ce7[_0x345ce7[_0x1aaf2d(0x479)]=0x1b5c]=_0x1aaf2d(0x479),_0x345ce7[_0x345ce7[_0x1aaf2d(0x1da)]=0x1b5d]=_0x1aaf2d(0x1da),_0x345ce7[_0x345ce7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x345ce7[_0x345ce7[_0x1aaf2d(0x30f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x345ce7[_0x345ce7[_0x1aaf2d(0x231)]=0x232a]=_0x1aaf2d(0x231),_0x345ce7[_0x345ce7['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1aaf2d(0x414),_0x345ce7[_0x345ce7[_0x1aaf2d(0x466)]=0x232c]=_0x1aaf2d(0x466),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3e1)]=0x232d]=_0x1aaf2d(0x3e1),_0x345ce7[_0x345ce7[_0x1aaf2d(0x1f7)]=0x2711]=_0x1aaf2d(0x1f7),_0x345ce7[_0x345ce7[_0x1aaf2d(0x37b)]=0x2712]=_0x1aaf2d(0x37b),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3d6)]=0x2713]=_0x1aaf2d(0x3d6),_0x345ce7[_0x345ce7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1aaf2d(0x2d9),_0x345ce7[_0x345ce7[_0x1aaf2d(0x43d)]=0x271a]=_0x1aaf2d(0x43d),_0x345ce7[_0x345ce7['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1aaf2d(0x250),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2d1)]=0x271c]=_0x1aaf2d(0x2d1),_0x345ce7[_0x345ce7[_0x1aaf2d(0x33d)]=0x271d]=_0x1aaf2d(0x33d),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2d0)]=0x271e]=_0x1aaf2d(0x2d0),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2ad)]=0x271f]=_0x1aaf2d(0x2ad),_0x345ce7[_0x345ce7['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1aaf2d(0x275),_0x345ce7[_0x345ce7[_0x1aaf2d(0x427)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x345ce7[_0x345ce7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1aaf2d(0x251),_0x345ce7[_0x345ce7[_0x1aaf2d(0x295)]=0x2ee2]=_0x1aaf2d(0x295),_0x345ce7[_0x345ce7[_0x1aaf2d(0x433)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x345ce7[_0x345ce7[_0x1aaf2d(0x34f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x345ce7[_0x345ce7[_0x1aaf2d(0x286)]=0x2ee5]=_0x1aaf2d(0x286),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2df)]=0x32c9]=_0x1aaf2d(0x2df),_0x345ce7[_0x345ce7['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x345ce7[_0x345ce7[_0x1aaf2d(0x307)]=0x32cb]=_0x1aaf2d(0x307),_0x345ce7[_0x345ce7['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1aaf2d(0x3d1),_0x345ce7[_0x345ce7['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x345ce7[_0x345ce7[_0x1aaf2d(0x23d)]=0x36b3]=_0x1aaf2d(0x23d),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3ce)]=0x36b4]=_0x1aaf2d(0x3ce),_0x345ce7[_0x345ce7[_0x1aaf2d(0x46d)]=0x3715]=_0x1aaf2d(0x46d),_0x345ce7[_0x345ce7['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1aaf2d(0x2a2),_0x345ce7[_0x345ce7[_0x1aaf2d(0x3af)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x345ce7[_0x345ce7['REDEMPTION_INVALID_CODE']=0x3a99]=_0x1aaf2d(0x382),_0x345ce7[_0x345ce7[_0x1aaf2d(0x264)]=0x3a9a]=_0x1aaf2d(0x264),_0x345ce7[_0x345ce7[_0x1aaf2d(0x32b)]=0x3a9b]=_0x1aaf2d(0x32b),_0x345ce7[_0x345ce7[_0x1aaf2d(0x2ce)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x345ce7[_0x345ce7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x345ce7[_0x345ce7[_0x1aaf2d(0x393)]=0x3a9e]=_0x1aaf2d(0x393),_0x345ce7[_0x345ce7['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x1aaf2d(0x2c8),_0x345ce7[_0x345ce7[_0x1aaf2d(0x35f)]=-0x1]=_0x1aaf2d(0x35f),_0x345ce7))(G||{});function qt(_0x2d92db){const _0x32aba8=_0x1aaf2d;var _0x51ea42,_0x9da485;const _0x119368=(_0x51ea42=_0x2d92db[_0x32aba8(0x212)])==null?void 0x0:_0x51ea42[_0x32aba8(0x23c)],_0x3c4a5b=((_0x9da485=_0x2d92db[_0x32aba8(0x212)])==null?void 0x0:_0x9da485[_0x32aba8(0x3cd)])||0x0;return _0x119368===B[_0x32aba8(0x25c)][_0x32aba8(0x243)]&&_0x3c4a5b>0x0;}function zt(_0x406ac5){const _0x35e7d6=_0x1aaf2d;return _0x406ac5[_0x35e7d6(0x3c1)]===B[_0x35e7d6(0x31a)]['SUCCESS'];}var Jt=Object[_0x1aaf2d(0x2d2)],Zt=(_0x43d885,_0x285734,_0x390715,_0xc2fb03)=>{for(var _0x530482=_0xc2fb03>0x1?void 0x0:_0xc2fb03?Jt(_0x285734,_0x390715):_0x285734,_0x132e07=_0x43d885['length']-0x1,_0x7bc291;_0x132e07>=0x0;_0x132e07--)(_0x7bc291=_0x43d885[_0x132e07])&&(_0x530482=_0x7bc291(_0x530482)||_0x530482);return _0x530482;},A=(_0x3af00f,_0x13a3b1)=>(_0xd33bb0,_0x5a26db)=>_0x13a3b1(_0xd33bb0,_0x5a26db,_0x3af00f);const Qt=_0x1aaf2d(0x288),es=_0x1aaf2d(0x383),ts='/universer-api/license/formula/limit/done';let ie=class extends a[_0x1aaf2d(0x2eb)]{constructor(_0x31805a,_0x35758f,_0x15f8a4,_0x3543d3,_0x538e1a,_0x134c01,_0x467289){const _0x15c547=_0x1aaf2d;super(),_(this,_0x15c547(0x221),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x15c547(0x302),0x0),_(this,'_taskIds',[]),_(this,_0x15c547(0x254),0x0),(this[_0x15c547(0x30c)]=_0x31805a,this[_0x15c547(0x323)]=_0x35758f,this['_configService']=_0x15f8a4,this['_httpService']=_0x3543d3,this[_0x15c547(0x397)]=_0x538e1a,this['_logService']=_0x134c01,this[_0x15c547(0x39b)]=_0x467289,this[_0x15c547(0x2f4)]());}['_initCommandInterceptor'](){const _0x4560a7=_0x1aaf2d;this[_0x4560a7(0x32f)](this[_0x4560a7(0x323)][_0x4560a7(0x2bc)]((_0x279a09,_0x27a90f)=>{const _0x50a06c=_0x4560a7;if(_0x279a09['id']!==B[_0x50a06c(0x47d)]['id'])return;const _0x8df5ce=_0x279a09[_0x50a06c(0x316)];if(!this[_0x50a06c(0x308)](_0x8df5ce[_0x50a06c(0x29d)]))return;if(!this[_0x50a06c(0x2a7)]())throw this[_0x50a06c(0x28f)](_0x279a09,_0x27a90f),this[_0x50a06c(0x42c)](),new a['CanceledError']();})),this[_0x4560a7(0x32f)](this['_commandService'][_0x4560a7(0x339)]((_0x56de48,_0x361b34)=>{const _0x33e102=_0x4560a7;if(_0x56de48['id']!==B[_0x33e102(0x408)]['id'])return;const _0x430ef3=_0x56de48[_0x33e102(0x316)];if(qt(_0x430ef3)){const _0x26b69d=a[_0x33e102(0x486)]();this[_0x33e102(0x263)][_0x33e102(0x3b7)](_0x26b69d),this[_0x33e102(0x1e3)](_0x26b69d);}else{if(zt(_0x430ef3)&&this[_0x33e102(0x263)][_0x33e102(0x3e3)]>0x0){const _0x1d7e60=this[_0x33e102(0x263)]['shift']();this[_0x33e102(0x331)](_0x1d7e60);}}}));}['dispose'](){const _0x4a07b8=_0x1aaf2d;super[_0x4a07b8(0x2b2)](),this[_0x4a07b8(0x215)](),this[_0x4a07b8(0x263)]=[],this[_0x4a07b8(0x302)]=0x0,this[_0x4a07b8(0x468)]=0x0,this[_0x4a07b8(0x254)]=0x0;}async[_0x1aaf2d(0x28f)](_0x2fbc8c,_0x1d879e){const _0xa52de0=_0x1aaf2d;for(let _0x5305bf=0x0;_0x5305bf<0x1e;_0x5305bf++)try{if(await this[_0xa52de0(0x43b)](),this[_0xa52de0(0x2a7)]()){this[_0xa52de0(0x1f1)](_0x2fbc8c,_0x1d879e),this[_0xa52de0(0x30c)][_0xa52de0(0x207)]({'content':this[_0xa52de0(0x39b)]['t'](_0xa52de0(0x362)),'type':T[_0xa52de0(0x2d8)][_0xa52de0(0x333)]});return;}await new Promise(_0x412740=>{const _0x3ba347=_0xa52de0;this[_0x3ba347(0x221)]=window[_0x3ba347(0x2b0)](_0x412740,0x3e8);});}catch(_0x29289f){this['_logService'][_0xa52de0(0x32a)](_0x29289f);}this[_0xa52de0(0x30c)][_0xa52de0(0x207)]({'content':this[_0xa52de0(0x39b)]['t']('formula.calculation.unable'),'type':T['MessageType']['Error']});}[_0x1aaf2d(0x1f1)](_0x526c21,_0x5a38c1){const _0x21f364=_0x1aaf2d;try{this['_commandService'][_0x21f364(0x21f)](_0x526c21['id'],_0x526c21[_0x21f364(0x316)],_0x5a38c1);}catch(_0x4fa500){this['_logService']['error'](_0x4fa500);}}[_0x1aaf2d(0x1fc)](_0x1fe78d,_0x136177){const _0x90648=_0x1aaf2d;_0x136177<this[_0x90648(0x254)]||(this[_0x90648(0x254)]=_0x136177,this[_0x90648(0x468)]=Number[_0x90648(0x28a)](_0x1fe78d[_0x90648(0x47a)]),this[_0x90648(0x302)]=Number[_0x90648(0x28a)](_0x1fe78d[_0x90648(0x484)]));}async[_0x1aaf2d(0x1e3)](_0x54aa7c){const _0x3548c8=_0x1aaf2d;var _0x5a54b3,_0x56c80c;const _0x108466=Date['now']();try{const _0x59b933=((_0x5a54b3=this[_0x3548c8(0x356)][_0x3548c8(0x464)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5a54b3[_0x3548c8(0x419)])||es,_0x402e20=(await this['_httpService'][_0x3548c8(0x42f)](_0x59b933,{'body':JSON['stringify']({'taskId':_0x54aa7c})}))[_0x3548c8(0x344)];if(((_0x56c80c=_0x402e20[_0x3548c8(0x32a)])==null?void 0x0:_0x56c80c['code'])!==G['OK'])return;this[_0x3548c8(0x1fc)](_0x402e20[_0x3548c8(0x41e)],_0x108466);}catch(_0x21ec29){this[_0x3548c8(0x40f)]['error'](_0x21ec29);}}async[_0x1aaf2d(0x43b)](_0x394601){const _0x103191=_0x1aaf2d;var _0x16cfdf,_0x3debad;const _0x34e16e=Date['now']();try{const _0x56a767=((_0x16cfdf=this[_0x103191(0x356)]['getConfig'](u[_0x103191(0x3f9)]))==null?void 0x0:_0x16cfdf['getformulaLimitStatusUrl'])||Qt,_0x4a05cd=_0x394601?_0x56a767+_0x103191(0x48b)+encodeURIComponent(_0x394601):_0x56a767,_0x3a49be=(await this[_0x103191(0x3cb)][_0x103191(0x281)](_0x4a05cd))[_0x103191(0x344)];if(((_0x3debad=_0x3a49be[_0x103191(0x32a)])==null?void 0x0:_0x3debad['code'])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x3a49be['limitInfo'],_0x34e16e);}catch(_0x11557f){this['_logService'][_0x103191(0x32a)](_0x11557f);}}async[_0x1aaf2d(0x331)](_0x50ae40){const _0x3e96cd=_0x1aaf2d;var _0x2463c1,_0x1db562;const _0x2efd78=Date[_0x3e96cd(0x480)]();try{const _0x2d94f8=((_0x2463c1=this[_0x3e96cd(0x356)][_0x3e96cd(0x464)](u[_0x3e96cd(0x3f9)]))==null?void 0x0:_0x2463c1['releaseFormulaLimitUrl'])||ts,_0x5b525a=(await this[_0x3e96cd(0x3cb)][_0x3e96cd(0x42f)](_0x2d94f8,{'body':JSON[_0x3e96cd(0x28b)]({'taskId':_0x50ae40})}))[_0x3e96cd(0x344)];if(((_0x1db562=_0x5b525a[_0x3e96cd(0x32a)])==null?void 0x0:_0x1db562[_0x3e96cd(0x224)])!==G['OK'])return;this[_0x3e96cd(0x1fc)](_0x5b525a['limitInfo'],_0x2efd78);}catch(_0x2a2c2a){this[_0x3e96cd(0x40f)][_0x3e96cd(0x32a)](_0x2a2c2a);}}[_0x1aaf2d(0x2a7)](){const _0x1b554b=_0x1aaf2d;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x1b554b(0x468)]-this[_0x1b554b(0x302)]>0x0;}[_0x1aaf2d(0x215)](){const _0x279f4b=_0x1aaf2d;this['_pollingInterval']&&(clearTimeout(this[_0x279f4b(0x221)]),this[_0x279f4b(0x221)]=null);}[_0x1aaf2d(0x42c)](){const _0x1c3d53=_0x1aaf2d;this[_0x1c3d53(0x30c)]['show']({'content':this[_0x1c3d53(0x39b)]['t'](_0x1c3d53(0x232)),'type':T['MessageType'][_0x1c3d53(0x3c7)]});}['_hasFormulaInDirtyRanges'](_0xc1e29c){const _0x925abd=_0x1aaf2d;for(const _0x74a3dc of _0xc1e29c){const {unitId:_0x48af0f,sheetId:_0x59c97a,range:_0xf8b264}=_0x74a3dc,_0x40cce5=this[_0x925abd(0x397)][_0x925abd(0x34b)](_0x48af0f);if(!_0x40cce5)continue;const _0x80f4f6=_0x40cce5['getSheetBySheetId'](_0x59c97a);if(!_0x80f4f6)continue;const _0xc1a232=_0x80f4f6[_0x925abd(0x201)]();for(let _0x57be69=_0xf8b264[_0x925abd(0x3f5)];_0x57be69<=_0xf8b264[_0x925abd(0x3a7)];_0x57be69++)for(let _0x2412f8=_0xf8b264[_0x925abd(0x2f9)];_0x2412f8<=_0xf8b264[_0x925abd(0x2ac)];_0x2412f8++){const _0x15435a=_0xc1a232['getValue'](_0x57be69,_0x2412f8);if(_0x15435a&&(a['isFormulaString'](_0x15435a['f'])||a[_0x925abd(0x1e8)](_0x15435a['si'])))return!0x0;}}return!0x1;}};ie=Zt([A(0x0,a[_0x1aaf2d(0x2b5)](R[_0x1aaf2d(0x269)])),A(0x1,a['ICommandService']),A(0x2,a[_0x1aaf2d(0x3b8)]),A(0x3,a['Inject'](X['HTTPService'])),A(0x4,a['IUniverInstanceService']),A(0x5,a['ILogService']),A(0x6,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x440)]))],ie);var ss=Object['getOwnPropertyDescriptor'],is=(_0x4cc09e,_0x427bcd,_0x56c3c6,_0x34bde6)=>{const _0x586d41=_0x1aaf2d;for(var _0x3ec08d=_0x34bde6>0x1?void 0x0:_0x34bde6?ss(_0x427bcd,_0x56c3c6):_0x427bcd,_0x15cd27=_0x4cc09e[_0x586d41(0x3e3)]-0x1,_0x2bd81b;_0x15cd27>=0x0;_0x15cd27--)(_0x2bd81b=_0x4cc09e[_0x15cd27])&&(_0x3ec08d=_0x2bd81b(_0x3ec08d)||_0x3ec08d);return _0x3ec08d;},Ie=(_0x61606,_0x27251b)=>(_0x22b5bb,_0x47e6e1)=>_0x27251b(_0x22b5bb,_0x47e6e1,_0x61606);let Ce=class extends a[_0x1aaf2d(0x2eb)]{constructor(_0x3a6192,_0x114dcd,_0x49ee84){const _0x4bf813=_0x1aaf2d;super(),_(this,_0x4bf813(0x3df),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x4bf813(0x356)]=_0x3a6192,this[_0x4bf813(0x3cc)]=_0x114dcd,this[_0x4bf813(0x455)]=_0x49ee84);}['disableLocalCache'](){const _0x5bfd01=_0x1aaf2d;this[_0x5bfd01(0x31c)]=!0x0;}[_0x1aaf2d(0x422)](){const _0xae2042=_0x1aaf2d;this[_0xae2042(0x31c)]=!0x1;}get[_0x1aaf2d(0x3f4)](){const _0x3ecd9e=_0x1aaf2d;return this[_0x3ecd9e(0x31d)];}[_0x1aaf2d(0x2b2)](){const _0x162be4=_0x1aaf2d;this[_0x162be4(0x311)]()[_0x162be4(0x277)](()=>super[_0x162be4(0x2b2)]());}async[_0x1aaf2d(0x454)](_0x1aefe3){const _0x59d0db=_0x1aaf2d;return this['_disabled']?null:this[_0x59d0db(0x3cc)][_0x59d0db(0x1e7)](u[_0x59d0db(0x44d)](_0x1aefe3));}async['saveOfflineData'](_0x399875,_0x2b0229){const _0x46065e=_0x1aaf2d;return!!this[_0x46065e(0x3cc)][_0x46065e(0x392)](_0x399875,_0x2b0229);}['updateOfflineData'](_0x39cb0f,_0x4fe6b6,_0x49f3a9,_0x4213e3){const _0x1b4693=_0x1aaf2d,_0x6ddb67=this[_0x1b4693(0x455)]['getCurrentRevOfUnit'](_0x39cb0f);this[_0x1b4693(0x3df)][_0x1b4693(0x21b)](_0x39cb0f,{'unitID':_0x39cb0f,'type':_0x4fe6b6,'awaitingChangeset':_0x49f3a9,'mutations':_0x4213e3,'rev':_0x6ddb67}),this[_0x1b4693(0x31d)][_0x1b4693(0x3d2)](_0x39cb0f)||this[_0x1b4693(0x271)](_0x39cb0f);}['_scheduleSaving'](_0xf0819){const _0x4c6d9e=_0x1aaf2d,_0x152853=this[_0x4c6d9e(0x44f)]();_0x152853===0x0?this[_0x4c6d9e(0x227)](_0xf0819):this[_0x4c6d9e(0x31d)][_0x4c6d9e(0x21b)](_0xf0819,setTimeout(()=>this[_0x4c6d9e(0x227)](_0xf0819),_0x152853));}[_0x1aaf2d(0x44f)](){const _0x11d51f=_0x1aaf2d;var _0x13cf9e;return(_0x13cf9e=this['_configService'][_0x11d51f(0x464)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x13cf9e:u[_0x11d51f(0x30a)];}[_0x1aaf2d(0x227)](_0x571c1a){const _0x4d8524=_0x1aaf2d,_0x4523a4=this['_saveTaskMap'][_0x4d8524(0x281)](_0x571c1a);return _0x4523a4!==void 0x0&&window[_0x4d8524(0x3ca)](_0x4523a4),this[_0x4d8524(0x3cc)][_0x4d8524(0x392)](u[_0x4d8524(0x44d)](_0x571c1a),this[_0x4d8524(0x3df)][_0x4d8524(0x281)](_0x571c1a))[_0x4d8524(0x277)](()=>this[_0x4d8524(0x31d)]['delete'](_0x571c1a));}async['exhaustSavingTask'](){const _0x20e7c3=_0x1aaf2d,_0x36e8d2=[];this[_0x20e7c3(0x31d)][_0x20e7c3(0x3da)]((_0x5c51c0,_0x3e0cb5)=>{const _0x3bd784=_0x20e7c3;window['clearTimeout'](_0x5c51c0),_0x36e8d2[_0x3bd784(0x3b7)](this[_0x3bd784(0x227)](_0x3e0cb5)[_0x3bd784(0x277)](()=>{const _0xb8d71f=_0x3bd784;this[_0xb8d71f(0x31d)][_0xb8d71f(0x491)](_0x3e0cb5);}));}),await Promise[_0x20e7c3(0x1f0)](_0x36e8d2);}};Ce=is([Ie(0x0,a[_0x1aaf2d(0x3b8)]),Ie(0x1,a[_0x1aaf2d(0x1fa)]),Ie(0x2,a[_0x1aaf2d(0x2b5)](g['RevisionService']))],Ce);class ke extends a[_0x1aaf2d(0x3ff)]{constructor(){const _0x89ba78=_0x1aaf2d;super(),_(this,'urlChange$'),this['urlChange$']=I[_0x89ba78(0x2f7)](window,_0x89ba78(0x35b))['pipe'](I[_0x89ba78(0x45f)](this[_0x89ba78(0x400)]),I[_0x89ba78(0x36a)](0x1),I[_0x89ba78(0x3de)](void 0x0));}[_0x1aaf2d(0x47c)](_0x25c182,_0x541080,_0x2ce0ae=!0x1){const _0x58866d=_0x1aaf2d,_0x113596=new URL(window[_0x58866d(0x318)][_0x58866d(0x439)]);_0x113596[_0x58866d(0x24b)][_0x58866d(0x21b)](_0x25c182,_0x541080),_0x2ce0ae?window[_0x58866d(0x2da)][_0x58866d(0x3d3)]('','',_0x113596[_0x58866d(0x36f)]()):window['history'][_0x58866d(0x38e)]('','',_0x113596['toString']());}[_0x1aaf2d(0x273)](_0xc350dc,_0x376b81=!0x1){const _0x587876=_0x1aaf2d,_0x5482f2=new URL(window[_0x587876(0x318)][_0x587876(0x439)]);_0x5482f2[_0x587876(0x24b)]['delete'](_0xc350dc),_0x376b81?window[_0x587876(0x2da)][_0x587876(0x3d3)]('','',_0x5482f2[_0x587876(0x36f)]()):window[_0x587876(0x2da)][_0x587876(0x38e)]('','',_0x5482f2['toString']());}[_0x1aaf2d(0x267)](_0x3bfa1a){const _0xa46a9e=_0x1aaf2d;var _0x3985e8;return(_0x3985e8=new URL(window[_0xa46a9e(0x318)][_0xa46a9e(0x439)])['searchParams'][_0xa46a9e(0x281)](_0x3bfa1a))!=null?_0x3985e8:void 0x0;}}function _0x4084(_0x14bff0,_0x1ad6a7){const _0xa61ac0=_0xa61a();return _0x4084=function(_0x4084d1,_0x278f12){_0x4084d1=_0x4084d1-0x1d8;let _0x308fb3=_0xa61ac0[_0x4084d1];return _0x308fb3;},_0x4084(_0x14bff0,_0x1ad6a7);}var ns=Object[_0x1aaf2d(0x33c)],rs=Object['getOwnPropertyDescriptor'],os=(_0x2dbde2,_0x1d8971,_0x595574)=>_0x1d8971 in _0x2dbde2?ns(_0x2dbde2,_0x1d8971,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x595574}):_0x2dbde2[_0x1d8971]=_0x595574,as=(_0x8b391d,_0x543f8b,_0x1ab104,_0x4b169d)=>{const _0x3c1d11=_0x1aaf2d;for(var _0x49d3b4=_0x4b169d>0x1?void 0x0:_0x4b169d?rs(_0x543f8b,_0x1ab104):_0x543f8b,_0x3d8c9a=_0x8b391d[_0x3c1d11(0x3e3)]-0x1,_0x661b41;_0x3d8c9a>=0x0;_0x3d8c9a--)(_0x661b41=_0x8b391d[_0x3d8c9a])&&(_0x49d3b4=_0x661b41(_0x49d3b4)||_0x49d3b4);return _0x49d3b4;},de=(_0x595fb4,_0x4bcf30)=>(_0x3341bd,_0x3a41f8)=>_0x4bcf30(_0x3341bd,_0x3a41f8,_0x595fb4),cs=(_0x56c6a6,_0x171ecd,_0x8340f0)=>os(_0x56c6a6,_0x171ecd+'',_0x8340f0);const ls='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x13dc4e=Le,_0x6e6d06,_0x12b18e,_0x258c4b){const _0x2565c9=_0x1aaf2d;super(),this['_config']=_0x13dc4e,this[_0x2565c9(0x2ee)]=_0x6e6d06,this[_0x2565c9(0x44c)]=_0x12b18e,this[_0x2565c9(0x356)]=_0x258c4b;const {..._0x59e6af}=a[_0x2565c9(0x23f)]({},Le,this[_0x2565c9(0x402)]);this[_0x2565c9(0x356)]['setConfig'](kt,_0x59e6af);}[_0x1aaf2d(0x2d3)](){const _0x2cf1fe=_0x1aaf2d;this[_0x2cf1fe(0x2f0)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x1aaf2d(0x2f0)](){const _0xcd3ac2=_0x1aaf2d;var _0x4ece69;const _0x47a40a=[[Oe],[ie],[te],[Q],[ee],[Re],[Te,{'useClass':ke}],[X[_0xcd3ac2(0x35a)],{'useClass':X[_0xcd3ac2(0x28d)]}],[u[_0xcd3ac2(0x2f5)],{'useClass':Ce}],[exports[_0xcd3ac2(0x403)]],[se],[Z],[F],[fe],[exports[_0xcd3ac2(0x2ed)]]];a['registerDependencies'](this[_0xcd3ac2(0x44c)],a[_0xcd3ac2(0x2b7)](_0x47a40a,(_0x4ece69=this[_0xcd3ac2(0x402)])==null?void 0x0:_0x4ece69['override']));}[_0x1aaf2d(0x2f1)](){const _0x288f3f=_0x1aaf2d;this[_0x288f3f(0x32f)](this[_0x288f3f(0x2ee)]['registerRenderModule'](a[_0x288f3f(0x30e)]['UNIVER_DOC'],[ge])),this[_0x288f3f(0x32f)](this['_renderManagerService']['registerRenderModule'](a[_0x288f3f(0x30e)][_0x288f3f(0x462)],[Ee]));}['_initDependencies'](){const _0x1593dc=_0x1aaf2d;a[_0x1593dc(0x1ff)](this[_0x1593dc(0x44c)],[[F],[exports[_0x1593dc(0x403)]],[se],[Z],[exports['CollaborationDataLoaderController']],[ie]]);}},cs(exports[_0x1aaf2d(0x266)],_0x1aaf2d(0x25f),ls),exports['UniverCollaborationClientUIPlugin']=as([a[_0x1aaf2d(0x312)](u[_0x1aaf2d(0x22f)]),de(0x1,C[_0x1aaf2d(0x364)]),de(0x2,a[_0x1aaf2d(0x2b5)](a[_0x1aaf2d(0x3dd)])),de(0x3,a[_0x1aaf2d(0x3b8)])],exports[_0x1aaf2d(0x266)]);var _s=Object[_0x1aaf2d(0x2d2)],hs=(_0x1a679d,_0x54759c,_0x3f90ad,_0xcd8dd1)=>{const _0x363cc2=_0x1aaf2d;for(var _0x5c4300=_0xcd8dd1>0x1?void 0x0:_0xcd8dd1?_s(_0x54759c,_0x3f90ad):_0x54759c,_0x147c1c=_0x1a679d[_0x363cc2(0x3e3)]-0x1,_0x1ce144;_0x147c1c>=0x0;_0x147c1c--)(_0x1ce144=_0x1a679d[_0x147c1c])&&(_0x5c4300=_0x1ce144(_0x5c4300)||_0x5c4300);return _0x5c4300;},W=(_0x53b948,_0x255e55)=>(_0x42f56c,_0x46512f)=>_0x255e55(_0x42f56c,_0x46512f,_0x53b948);exports['BrowserCollaborationSocketService']=class extends u[_0x1aaf2d(0x41d)]{constructor(_0x12bf82,_0x4b573c,_0x14c9de,_0x2eaf69,_0x1873c1){super(_0x12bf82,_0x4b573c,_0x14c9de,_0x2eaf69,_0x1873c1);}async[_0x1aaf2d(0x39c)](_0x4a592f){const _0x11f5c3=_0x1aaf2d,_0x523673=await this[_0x11f5c3(0x25d)](),_0x11f760=this[_0x11f5c3(0x2be)](_0x4a592f,_0x523673);return this['_doCreateSocket'](_0x11f760);}['_createSocketURL'](_0x5eb784,_0x7cdb10){const _0x322bb0=_0x1aaf2d,_0x49cdbd=typeof window>'u'?new URL(_0x5eb784):new URL(_0x5eb784,window[_0x322bb0(0x318)][_0x322bb0(0x320)]);_0x49cdbd['searchParams'][_0x322bb0(0x21b)](_0x322bb0(0x347),_0x7cdb10);const _0x3cd75a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x322bb0(0x318)]['search']);return _0x3cd75a['get']('runId')&&_0x49cdbd[_0x322bb0(0x24b)]['set'](_0x322bb0(0x245),_0x3cd75a['get'](_0x322bb0(0x245))),_0x49cdbd['toString']();}async['_getSessionTicket'](){const _0x2c306d=_0x1aaf2d;var _0x60609f,_0x1500a1,_0x2230f8;const _0xb32f9d=this[_0x2c306d(0x356)]['getConfig'](u[_0x2c306d(0x3f9)]),_0x1cc90b=(_0x60609f=_0xb32f9d==null?void 0x0:_0xb32f9d[_0x2c306d(0x1ee)])!=null?_0x60609f:u[_0x2c306d(0x2fb)];return(_0x2230f8=(_0x1500a1=(await this[_0x2c306d(0x3cb)][_0x2c306d(0x281)](_0x1cc90b,{'headers':{'Content-Type':_0x2c306d(0x3d5)}}))['body'])==null?void 0x0:_0x1500a1[_0x2c306d(0x369)])!=null?_0x2230f8:'';}},exports[_0x1aaf2d(0x35e)]=hs([W(0x0,a['Inject'](a['Injector'])),W(0x1,a[_0x1aaf2d(0x2b5)](X[_0x1aaf2d(0x27a)])),W(0x2,a[_0x1aaf2d(0x3b8)]),W(0x3,a[_0x1aaf2d(0x3ea)]),W(0x4,g[_0x1aaf2d(0x2c7)])],exports['BrowserCollaborationSocketService']);var us=Object['getOwnPropertyDescriptor'],Is=(_0x498d6e,_0x25190a,_0x486498,_0x396be1)=>{const _0x409e8b=_0x1aaf2d;for(var _0x34b007=_0x396be1>0x1?void 0x0:_0x396be1?us(_0x25190a,_0x486498):_0x25190a,_0x52fcb7=_0x498d6e[_0x409e8b(0x3e3)]-0x1,_0x1a94ab;_0x52fcb7>=0x0;_0x52fcb7--)(_0x1a94ab=_0x498d6e[_0x52fcb7])&&(_0x34b007=_0x1a94ab(_0x34b007)||_0x34b007);return _0x34b007;},Se=(_0x25e658,_0x28f222)=>(_0x1e11c6,_0x3cf3e9)=>_0x28f222(_0x1e11c6,_0x3cf3e9,_0x25e658);exports[_0x1aaf2d(0x421)]=class extends a[_0x1aaf2d(0x2eb)]{constructor(_0x48872a,_0xecfbb8,_0x4541bd){const _0xca5b65=_0x1aaf2d;super(),this[_0xca5b65(0x381)]=_0x48872a,this[_0xca5b65(0x3cb)]=_0xecfbb8,this[_0xca5b65(0x356)]=_0x4541bd;}async[_0x1aaf2d(0x43f)](_0x3ebc1a,_0x344202,_0x6ab71e,..._0x572a22){const _0x385763=_0x1aaf2d;var _0x3a57d0,_0x58fc83,_0x107940,_0xb22c31;const _0x1a6529=this[_0x385763(0x381)][_0x385763(0x3c5)]();if(!_0x1a6529)throw new Error(_0x385763(0x426));const _0x5391f9=((_0x3a57d0=this[_0x385763(0x356)]['getConfig'](u[_0x385763(0x204)]))!=null?_0x3a57d0:u[_0x385763(0x20c)])+'/'+_0x3ebc1a+_0x385763(0x21e)+_0x344202,_0x32c68f=new URL(window[_0x385763(0x318)][_0x385763(0x439)]),_0x17971d={'scriptId':_0x3ebc1a,'runId':(_0x58fc83=_0x32c68f['searchParams'][_0x385763(0x281)](_0x385763(0x245)))!=null?_0x58fc83:'','function':_0x344202,'unitId':_0x1a6529[_0x385763(0x1dd)](),'argsOfFunction':JSON['stringify'](_0x572a22),'invokeId':(_0x107940=_0x6ab71e['invokeId'])!=null?_0x107940:'','executionId':(_0xb22c31=_0x6ab71e['executionId'])!=null?_0xb22c31:''};try{const _0x4add7b=await this[_0x385763(0x3cb)][_0x385763(0x42f)](_0x5391f9,{'body':_0x17971d});return _0x4add7b[_0x385763(0x344)][_0x385763(0x32a)]&&_0x4add7b[_0x385763(0x344)][_0x385763(0x32a)][_0x385763(0x224)]!==G['OK']?'Failed':_0x4add7b[_0x385763(0x344)]['result'];}catch{return _0x385763(0x2ba);}}},exports[_0x1aaf2d(0x421)]=Is([Se(0x0,a['IUniverInstanceService']),Se(0x1,a[_0x1aaf2d(0x2b5)](X[_0x1aaf2d(0x27a)])),Se(0x2,a[_0x1aaf2d(0x3b8)])],exports[_0x1aaf2d(0x421)]);const Pe=0x7530,we=_0x1aaf2d(0x38f);class ds extends a[_0x1aaf2d(0x2eb)]{constructor(){const _0x4e22ed=_0x1aaf2d;super(),_(this,_0x4e22ed(0x42a),a[_0x4e22ed(0x486)]()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4e22ed(0x3be),new Map()),_(this,_0x4e22ed(0x3d9),new Map()),this['_init']();}['dispose'](){const _0x10d61e=_0x1aaf2d;super['dispose'](),this[_0x10d61e(0x3be)]['forEach']((_0x2f7e70,_0x3e266c)=>this[_0x10d61e(0x265)](_0x3e266c)),this[_0x10d61e(0x35d)]&&window['clearInterval'](this[_0x10d61e(0x35d)]);}['getUnitStatus$'](_0x54c627){const _0x576997=_0x1aaf2d;return this[_0x576997(0x2a4)](_0x54c627)['pipe'](I['distinctUntilChanged']());}['editingUnit'](_0x379876){const _0x1e6e55=_0x1aaf2d;this['_selfUnitIDs'][_0x1e6e55(0x380)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1e6e55(0x399)]['add'](_0x379876),this[_0x1e6e55(0x3b9)]({'type':0x0,'memberID':this[_0x1e6e55(0x42a)],'unitIDs':[_0x379876],'isForwarded':!0x1});}['disposeUnit'](_0x5c3356){const _0x25e1db=_0x1aaf2d;this[_0x25e1db(0x399)]['delete'](_0x5c3356),this[_0x25e1db(0x399)][_0x25e1db(0x380)]===0x0&&this[_0x25e1db(0x35d)]&&window[_0x25e1db(0x3f6)](this[_0x25e1db(0x35d)]);}[_0x1aaf2d(0x2a5)](){const _0x2d6e81=_0x1aaf2d;this[_0x2d6e81(0x32f)](a[_0x2d6e81(0x289)](I[_0x2d6e81(0x2f7)](window,_0x2d6e81(0x26a))['subscribe'](_0x33943d=>{const _0x1ecf42=_0x2d6e81;if(_0x33943d[_0x1ecf42(0x2a1)]!==we||!_0x33943d[_0x1ecf42(0x420)])return;const _0x3e6cb5=JSON[_0x1ecf42(0x297)](_0x33943d[_0x1ecf42(0x420)]);this[_0x1ecf42(0x441)](_0x3e6cb5);}))),window[_0x2d6e81(0x21d)](_0x2d6e81(0x34c),()=>this['_send']({'type':0x1,'memberID':this[_0x2d6e81(0x42a)],'unitIDs':Array[_0x2d6e81(0x451)](this[_0x2d6e81(0x399)])}));}[_0x1aaf2d(0x441)](_0x54e7f9){const _0x3f39d8=_0x1aaf2d;switch(_0x54e7f9['type']){case 0x0:this[_0x3f39d8(0x3c4)](_0x54e7f9);break;case 0x1:this[_0x3f39d8(0x449)](_0x54e7f9);break;case 0x2:this[_0x3f39d8(0x360)](_0x54e7f9);break;}}[_0x1aaf2d(0x3c4)](_0xf59201){const _0x37d744=_0x1aaf2d,{unitIDs:_0x53b111,memberID:_0x1e62b3,isForwarded:_0x49729c}=_0xf59201;_0x53b111[_0x37d744(0x3da)](_0x385836=>{const _0x26be6e=_0x37d744;if(!_0x49729c&&this[_0x26be6e(0x2a9)]['has'](_0x385836)&&this['_ensureSubject'](_0x385836)[_0x26be6e(0x2c2)](u['UnitStatus'][_0x26be6e(0x482)]),!this[_0x26be6e(0x2a9)][_0x26be6e(0x3d2)](_0x385836)||!this[_0x26be6e(0x2a9)]['get'](_0x385836)[_0x26be6e(0x3d2)](_0x1e62b3)){const _0x2767c1=this[_0x26be6e(0x2a9)][_0x26be6e(0x281)](_0x385836)||new Set();_0x2767c1[_0x26be6e(0x1ea)](_0x1e62b3),this['_unitOnClients'][_0x26be6e(0x21b)](_0x385836,_0x2767c1),this[_0x26be6e(0x389)](_0x1e62b3);}}),_0x49729c||this[_0x37d744(0x3b9)]({'type':0x0,'memberID':this[_0x37d744(0x42a)],'unitIDs':[...this[_0x37d744(0x399)]],'isForwarded':!0x0});}[_0x1aaf2d(0x389)](_0x5338d7){const _0x458b0a=_0x1aaf2d;this[_0x458b0a(0x265)](_0x5338d7);const _0x58b9b9=window[_0x458b0a(0x2b0)](()=>{const _0x456423=_0x458b0a;this[_0x456423(0x2a9)][_0x456423(0x3da)](_0x23a6fc=>{const _0x1a1477=_0x456423;_0x23a6fc[_0x1a1477(0x491)](_0x5338d7);});},Pe*0x2);this['_clearOtherTimers'][_0x458b0a(0x21b)](_0x5338d7,_0x58b9b9);}[_0x1aaf2d(0x265)](_0x596fd8){const _0x591472=_0x1aaf2d;if(this['_clearOtherTimers'][_0x591472(0x3d2)](_0x596fd8)){const _0x438c6b=this['_clearOtherTimers'][_0x591472(0x281)](_0x596fd8);_0x438c6b&&window[_0x591472(0x3ca)](_0x438c6b),this[_0x591472(0x3be)][_0x591472(0x21b)](_0x596fd8,null);}}[_0x1aaf2d(0x449)](_0x4ae125){const _0x57781e=_0x1aaf2d,{memberID:_0x2c6216,unitIDs:_0x17ec13}=_0x4ae125;_0x17ec13[_0x57781e(0x3da)](_0x626203=>{const _0x2369e8=_0x57781e;var _0x2e4e54;const _0x2c03bd=this['_unitOnClients'][_0x2369e8(0x281)](_0x626203);_0x2c03bd&&(_0x2c03bd[_0x2369e8(0x491)](_0x2c6216),(_0x2e4e54=this[_0x2369e8(0x2a4)](_0x626203))==null||_0x2e4e54[_0x2369e8(0x2c2)](_0x2c03bd[_0x2369e8(0x380)]===0x0?u[_0x2369e8(0x34e)][_0x2369e8(0x2ff)]:u[_0x2369e8(0x34e)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x2c6216);}[_0x1aaf2d(0x360)](_0x4bca51){const _0x63bcff=_0x1aaf2d;this[_0x63bcff(0x389)](_0x4bca51[_0x63bcff(0x2e2)]);}[_0x1aaf2d(0x3b9)](_0x5c51c7){const _0x3787a4=_0x1aaf2d;localStorage[_0x3787a4(0x392)](we,JSON[_0x3787a4(0x28b)](_0x5c51c7));}['_scheduleHeartbeat'](){const _0x42d5cb=_0x1aaf2d;this[_0x42d5cb(0x35d)]=window['setInterval'](()=>{const _0x3ce34b=_0x42d5cb;this[_0x3ce34b(0x3b9)]({'type':0x2,'memberID':this['_id']});},Pe);}[_0x1aaf2d(0x2a4)](_0x40679a){const _0x306e5d=_0x1aaf2d;return this[_0x306e5d(0x3d9)][_0x306e5d(0x3d2)](_0x40679a)||this['_unitStatus'][_0x306e5d(0x21b)](_0x40679a,new I['BehaviorSubject'](u[_0x306e5d(0x34e)][_0x306e5d(0x2ff)])),this[_0x306e5d(0x3d9)]['get'](_0x40679a);}}function _0xa61a(){const _0x48cc00=['height','uni.network.url-service','CollaborationSocketService','limitInfo','mask','newValue','RemoteUniscriptService','enableLocalCache','_docSyncEditingCollabCursorService','idSuffix','_docStateChangeManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','unitId','currentSkeleton$','_id','_cursorShapes','_showGuardMessage','getMemberID','values','post','init','fill','registerComponent','INVITE_CODE_REQUIRED','Error','_roomMembers$','_docClipboardService','path','debounce','href','setAlpha','_getFormulaLimitStatus','IBeforeCloseService','YUUMI_NO_CUBOID_FOR_QUESTION','find','runOnServer','LocaleService','_handleEvent','engine','_anchor','_getSheetObject','deepClone','APPLY_REVISION_CONFILICT','InsertRangeMoveRightCommandId','UniverIcon','_handleLeaveEvent','findNodePositionByCharIndex','bottom','_injector','getLocalCacheKey','getStateCache','_getSaveTimeout','substring','from','PERMISSION_DENIED','round','loadOfflineData','_revisionService','_docSkeletonManagerService','_colorIndex','http://www.w3.org/2000/svg','tag','_startSheetCollabCursor','_updateLocalCursor','combineLatest','useCallback','Optional','takeUntil','throttleTime','_cursor','UNIVER_SHEET','_transformPreviousActiveRange','getConfig','transformMutationsWithChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','Subject','_maxFormulaLimit','addObject','SheetsSelectionsService','getCoordByCell','_memberService','ENTITLE_CHAT_LIMIT_EXCEED','collab-text-anchor-','handleDeleteRangeMoveLeft','NOT_FOUND','ONLINE','_session','getDocRanges','icon','createInstance','getRelativeToViewportCoord','5205090ZnmFpH','RemoveRowCommandId','APPLY_PERMISSION_DENIED','maxFormulaLimit','defs','setParam','SetFormulaCalculationStartMutation','CHANGESET_REVISION_CONFILICT','serializeRangeWithSheet','now','transformByState','OTHER_CLIENTS_EDITING','UNDEFINED','currentUsage','setUndoRedoMutationParamsCache','generateRandomId','BuiltInUIPart','propertyIsEnumerable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collab-rect-range-','?taskId=','transformRemoteChangeset','use','onMouseMove','1em','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','delete','AWAITING','_range','APPLY_DUPLICATED','USERS_LEAVE','extend','getUnitId','OffLineIcon','_localCacheService','source','RichTextEditingMutation','RefRangeService','_startCalculationLimit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','children','InsertColCommandId','getItem','isFormulaId','transformSelections','add','debounceTime','_hideTimer','some','wsSessionTicketUrl','OFFLINE','all','_applyCommand','WebURLService','switchMap','Vector2','jiqing.500','Tools','YUUMI_UNABLE_LOAD_URL','PENDING','blue.400','ILocalStorageService','_transformHistoryAndStateStack','_setFormulaLimitStatus','_cursorInfo$','AWAITING_WITH_PENDING','touchDependencies','onLocalMutation','getCellMatrix','_initStatusListener','M0\x200H16V16H0z','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','complete','_drawRectRange','show','5996410uMbBcZ','focused$','SNAPSHOT_HAS_BEEN_REMOVED','m2Prime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IUIPartsService','setShapeProps','handleInsertRow','requireSession','apply','stageInfo','ColorKit','currentColor','_clearPolling','_syncEditingCollabCursorService','onPointerLeave$','addObjects','RegularPolygon','_drawAnchor','set','selections','addEventListener','/run/','executeCommand','_online','_pollingInterval','addClipboardHook','url(#$1','code','IUniverInstanceService','univer-mr-2\x20univer-flex\x20univer-text-xl','_saveCache','_onRefRangeChange','_name','0\x200\x2016\x2016','svg','DocSelectionManagerService','deserializeRangeWithSheet','transformMutation','UniverCollaborationClientPlugin','cursorInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','formula.calculation.waiting','getOffsetConfig','isTransformMutationsWithChangesetSuccess','DataLoaderService','_removeCollabCursors','_updateCollabCursors','SHEET_VIEWPORT_KEY','restore','activeSheet$','_initEvent','stage','ENTITLE_DUP_SUBSCRIPTION','UNAUTHENTICATED','merge','ENSURE_SNAPSHOT_EXECUTION','replaceDocRanges','setActiveRange','START_CALCULATION','symbol','runId','filter','UPDATE_CURSOR','getUniverSheetInstance','getRenderById','CURRENT_STATUS_CANNOT_OPERATE','searchParams','transformStateCache','unshift','collaboration.single-unit.warning','getSkeleton','YUUMI_ASYNCIO_CANCELLED','INVITE_CODE_HAS_BEEN_UES','registerRefRange','ICommandService','_lastResponseTimestamp','CollaborationSessionService','_collaborationUIEventService','_hovered','text','function','Module','closePath','FormulaExecuteStageType','_getSessionTicket','_render','pluginName','purple.300','_onCursorDelete','collabCursorState$','_taskIds','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','UniverCollaborationClientUIPlugin','getParam','APPLY_REJECT','IMessageService','storage','ERROR_AGAIN','_entityInit$','permission.title','FromArray','SetTextSelectionsOperation','_toggleOnline','_scheduleSaving','forwardRef','removeParam','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','session.collaboration-timeout','then','_color','_themeService','HTTPService','sessionStatus$','0\x200\x2017\x2016','univer-flex\x20univer-items-center','with','jsx','unit','get','_refRangeService','_lastPointer','_draw','_getScale','INVITE_CODE_ALREADY_BOUND','1182440sECdHn','/universer-api/license/formula/limit/status','toDisposable','parseInt','stringify','roomMembers$','WebSocketService','undoState','_checkAndWaitForCalculationPermission','m1Prime','isActive','Unknown\x20user','debug','_entities','INVALID_INVITE_CODE','collaboration-client-ui.config','parse','row','ALREADY_EXISTS','color','jsxs','cursorInfo$','dirtyRanges','addHandlerCallback','event$','UNIVER_DOC','key','ENTITLE_REPORT_LIMIT_EXCEED','ranges','_ensureSubject','_init','currentTheme$','_checkCalculationAvailable','_context','_unitOnClients','_uiPartsService','subscribe','endColumn','YUUMI_AI_RUN_FAILED','runRefRangeMutations','save','setTimeout','CollaborationUIEventId','dispose','pipe','call','Inject','_toggleOffline','mergeOverrideWithDependencies','collabStatus.conflict','range','Failed','collabStatus.notCollab','beforeCommandExecuted','mutations','_createSocketURL','getActiveSheet','_initResize','isEditing','next','sheetId','INVALID_ARGUMENT','getAncestorScale','font','ISnapshotServerService','REDEMPTION_CODE_HAS_BEEN_CREATED','getCurrentSelections','getActiveRange','AUTHORIZE_CODE_ILLEGAL','onTransformChange$','url(#off-line-icon_clip0_910_343)','REDEMPTION_CODE_NOT_STARTED','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertyDescriptor','onStarting','DocIMEInputManagerService','univerjs-icon\x20univerjs-icon-','getColor','Warning','MessageType','YUUMI_SUBSCRIPTION_NOT_FOUND','history','url(#on-line-icon_clip0_910_349)','OnLineIcon','CollaborationStatus','IImageIoService','WECHAT_HAS_BEEN_BOUND','_dataLoaderService','DisposableCollection','memberID','SNAPSHOT_INVALID_SNAPSHOT','useRef','white','getVpScrollXYInfoByPosToVp','4294GvfHXO','getCurrentUnitForType','clsx','_collabCursorState$','Disposable','hasOwnProperty','CollaborationDataLoaderController','_renderManagerService','random','_registerDependencies','_registerRenderDependencies','SUBMIT_CHANGESET_TIMEOUT','_status$','_initCommandInterceptor','ILocalCacheService','send','fromEvent','_updateURLWithCurrentState','startColumn','isArray','DEFAULT_WS_SESSION_TICKET_URL','getRangePointData','toRgbString','eventID','NO_OTHER_CLIENTS_EDITING','off-line-icon','getTypeOfUnitAdded$','_currentUsage','imageSourceType','SessionStatus','Rectangle','string','EMAIL_HAS_BEEN_BOUND','_hasFormulaInDirtyRanges','collaboration-client.offline-data-not-saved','LOCAL_CACHE_INTERVAL','_textBubble','_messageService','none','UniverInstanceType','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationDataLoaderController]','exhaustSavingTask','DependentOn','top','subscribeEvent','black','params','off-line-icon_clip0_910_343','location','InsertRangeMoveDownCommandId','FormulaExecutedStateType','_drawTextRange','_disabled','_saveTaskMap','COMPLETION_FINISHED','contains','origin','MoveRangeCommandId','handleInsertRangeMoveDown','_commandService','_eventUnsubscribe','isTransformMutationFailure','getTypeOfUnitDisposed$','_startDocCollabCursor','_initStatusComponent','className','error','REDEMPTION_CODE_FULLY_REDEEMED','data','flatMap','_handleHover','disposeWithMe','measureText','_releaseCalculationLimit','_notificationService','Success','ITransformService','evenodd','NodePositionConvertToCursor','JOIN_ROOM_FAILED','getCollabEntity$','onCommandExecuted','displayName','_transformUndoRedoStack','defineProperty','YUUMI_ALL_TABLES_IS_INVALID','15288688SkRUEc','collabStatus.fetchMiss','SYNCED','6845408ayoAZP','FETCH_MISS','LOGIN_TOKEN_PROCESSING_FAILED','body','getViewport','_docTransformStateCacheService','sessionTicket','setStateCache','session.connection-failed','_collabCursorController','getUnit','unload','Shape','UnitStatus','USER_NOT_INVITED_CODE','loadUnit','type','Rect','CollaborationUIEventService','_onCursorUpdate','collab-client.tooltip.reconnect','_configService','getValue','labelPosition','_imageIoService','ISocketService','popstate','unsubscribe','_heartbeatTimer','BrowserCollaborationSocketService','UNRECOGNIZED','_handleHeartbeatEvent','assignAColorForMemberID','formula.calculation.started','_anchorDot','IRenderManagerService','createElement','sheetID','_shapes','getCollabCursors$','ticket','shareReplay','getSheetBySheetId','_getAnchorBounding','skeleton','drawWith','toString','BehaviorSubject','clipPath','_docTransformSelectionsService','MOBILE_VERIFY_CODE_MISMATCH','triggerDblclick','CONFLICT','beginPath','getColorFromTheme','_colorAssignService','assign','_updateSubUnitFromURLParams','YUUMI_URL_COL_OUT_OF_RANGE','HEADER_MENU','createIdentifier','IURLService','INotificationService','size','_instanceService','REDEMPTION_INVALID_CODE','/universer-api/license/formula/limit/start','_collaborationController','toStringTag','_beforeCloseService','_transformService','concat','_scheduleClearOtherTimer','entries','asObservable','handleIRemoveCol','fillText','pushState','ACTIVE_UNIT_EVENT_CHANNEL','SetWorksheetActivateCommand','RECT','setItem','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getMember','xlink:href','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','_univerInstanceService','_labelPosition','_selfUnitIDs','APPLY_NON_SEQUENTIAL_REVISION','_localeService','createSocket','fillRule','MUTATION','handleIRemoveRow','_initCommandExecutedListener','arc','_collabSessionService','getSheetObject','_assignedColors','prototype','handleInsertCol','endRow','IRemoteInstanceService','redoState','onPointerEnter$','EMAIL_VERIFY_CODE_MISMATCH','colorChannel1','registerBeforeClose','OTHER_CLIENT_EDITING','ENTITLE_NEED_BILLING_ADDRESS','name','doc.mutation.rich-text-editing','includes','CollaborationController','ThemeService','hide','map','push','IConfigService','_send','on-line-icon','reconnect','syncEditingCollabCursor','status$','_clearOtherTimers','transformIMECache','TEXT_RANGE_LAYER_INDEX','functionsExecutedState','indexOf','docStateChange$','_handleJoinEvent','getFocusedUnit','on-line-icon_clip0_910_349','Loading','transform','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clearTimeout','_httpService','_localStorageService','totalFormulasToCalculate','PAYMENT_CHANNEL_NOT_SUPPORT','NOT_COLLAB','VIEW_MAIN','ENTITLE_CAN_NOT_BUY_LOWER_OTP','has','replaceState','red.300','application/json','YUUMI_RATE_OVER_LIMIT','translate(.97)','RemoveColCommandId','_unitStatus','forEach','_setupBeforeClosingHandler','green.600','Injector','mapTo','_cachedData','LOGIN_FAILED','LICENSE_DISTRO_REJECTED','unitID','length','roomMembers','336mYkfJb','TEXT','MemberService','getSheetId','_sheetSkeletonManagerService','ILogService','textRanges','width','saveImage','USER_IS_ANONYMOUS','handleMoveRange','div','CLOSE_ROOM','column','selection','saveTaskMap','startRow','clearInterval','permission.content','_getMergeRange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','24370290MhqFkn','subunit','collab-text-range-','COLORS','CollaborationEvent','RxDisposable','dispose$','lineTo','_config','DesktopCollaborationStatusDisplayController','connectInjector','_hover','DocCollaborationEntity','IDocClipboardService','SetFormulaCalculationNotificationMutation','_docTransformIMECacheService','attrs','_cursors','_setupSubUnitSync','defIds','WebBrowserSingleActiveUnitService','_logService','_scene','EffectRefRangId','max','resize','LICENSE_IMPORT_SIZE_EXCEEDED','_backgroundColor','42lowurb','min','DOC_RANGE_TYPE','startFormulaLimitUrl','SOCKET_FAILED'];_0xa61a=function(){return _0x48cc00;};return _0xa61a();}exports[_0x1aaf2d(0x37e)]=Te,exports['SheetCollabCursorShape']=Fe,exports[_0x1aaf2d(0x40e)]=ds,exports[_0x1aaf2d(0x1f2)]=ke;
|