@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20251227-c108ce3 → 0.15.0-insiders.20260106-79b11f9
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x42d75e=_0x24f5;(function(_0x4b4e29,_0x4c1256){const _0x4e5856=_0x24f5,_0x21edf2=_0x4b4e29();while(!![]){try{const _0x356f4a=-parseInt(_0x4e5856(0x1fb))/0x1+parseInt(_0x4e5856(0x261))/0x2+parseInt(_0x4e5856(0x286))/0x3*(parseInt(_0x4e5856(0x219))/0x4)+-parseInt(_0x4e5856(0x317))/0x5*(-parseInt(_0x4e5856(0x31b))/0x6)+parseInt(_0x4e5856(0x11e))/0x7*(parseInt(_0x4e5856(0x1a6))/0x8)+-parseInt(_0x4e5856(0x14b))/0x9+-parseInt(_0x4e5856(0x213))/0xa;if(_0x356f4a===_0x4c1256)break;else _0x21edf2['push'](_0x21edf2['shift']());}catch(_0x49ceb4){_0x21edf2['push'](_0x21edf2['shift']());}}}(_0x4d42,0x90f1d));var Xe=Object['defineProperty'],Ke=(_0x252357,_0x46146d,_0x69d673)=>_0x46146d in _0x252357?Xe(_0x252357,_0x46146d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x69d673}):_0x252357[_0x46146d]=_0x69d673,_=(_0x57f649,_0x2da43f,_0xffab78)=>Ke(_0x57f649,typeof _0x2da43f!=_0x42d75e(0x17f)?_0x2da43f+'':_0x2da43f,_0xffab78);Object[_0x42d75e(0x346)](exports,Symbol['toStringTag'],{'value':_0x42d75e(0x22b)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=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');function pe({ref:_0x350364,..._0xc26036}){const _0x10adff=_0x42d75e,{icon:_0x3ed7a2,id:_0x55a4a7,className:_0x213954,extend:_0x373975,..._0x21dadf}=_0xc26036,_0xf82c9a=(_0x10adff(0x21f)+_0x55a4a7+'\x20'+(_0x213954||''))['trim'](),_0x39b259=A[_0x10adff(0x13f)]('_'+Qe());return $e(_0x3ed7a2,''+_0x55a4a7,{'defIds':_0x3ed7a2[_0x10adff(0x398)],'idSuffix':_0x39b259[_0x10adff(0x1de)]},{'ref':_0x350364,'className':_0xf82c9a,..._0x21dadf},_0x373975);}function $e(_0x214b8e,_0x416778,_0x38522a,_0x3e6b88,_0x12aa6b){const _0x51c4e9=_0x42d75e;return A['createElement'](_0x214b8e[_0x51c4e9(0x399)],{'key':_0x416778,...Je(_0x214b8e,_0x38522a,_0x12aa6b),..._0x3e6b88},(Ze(_0x214b8e,_0x38522a)[_0x51c4e9(0xe2)]||[])[_0x51c4e9(0x2ed)]((_0x56e326,_0x29f5b9)=>$e(_0x56e326,_0x416778+'-'+_0x214b8e[_0x51c4e9(0x399)]+'-'+_0x29f5b9,_0x38522a,void 0x0,_0x12aa6b)));}function Je(_0x3949b0,_0x4a6429,_0x2db908){const _0x4d57ea=_0x42d75e,_0x45dd88={..._0x3949b0[_0x4d57ea(0xf3)]};_0x2db908!=null&&_0x2db908[_0x4d57ea(0x12c)]&&_0x45dd88[_0x4d57ea(0x1c3)]===_0x4d57ea(0x12c)&&(_0x45dd88[_0x4d57ea(0x1c3)]=_0x2db908[_0x4d57ea(0x12c)]),_0x3949b0['tag']===_0x4d57ea(0x30e)&&_0x45dd88['id']&&(_0x45dd88['id']=_0x45dd88['id']+_0x4a6429[_0x4d57ea(0x2fe)]),Object[_0x4d57ea(0xff)](_0x45dd88)[_0x4d57ea(0x122)](([_0x3cb048,_0x2bb9d0])=>{const _0x1cf000=_0x4d57ea;_0x3cb048===_0x1cf000(0x30e)&&typeof _0x2bb9d0==_0x1cf000(0x29e)&&(_0x45dd88[_0x3cb048]=_0x2bb9d0[_0x1cf000(0x29b)](/url\(#(.*)\)/,_0x1cf000(0x2ee)+_0x4a6429[_0x1cf000(0x2fe)]+')'));});const {defIds:_0xfc119b}=_0x4a6429;return!_0xfc119b||_0xfc119b[_0x4d57ea(0x1f2)]===0x0||(_0x3949b0[_0x4d57ea(0x399)]===_0x4d57ea(0x25b)&&_0x45dd88[_0x4d57ea(0x24f)]&&(_0x45dd88[_0x4d57ea(0x24f)]=_0x45dd88[_0x4d57ea(0x24f)]+_0x4a6429['idSuffix']),Object[_0x4d57ea(0xff)](_0x45dd88)[_0x4d57ea(0x122)](([_0x5b5df7,_0x2ecf65])=>{const _0x34ca13=_0x4d57ea;typeof _0x2ecf65=='string'&&(_0x45dd88[_0x5b5df7]=_0x2ecf65[_0x34ca13(0x29b)](/url\(#(.*)\)/,'url(#$1'+_0x4a6429[_0x34ca13(0x2fe)]+')'));})),_0x45dd88;}function Ze(_0x56ba82,_0x190bb0){const _0x2f1fe6=_0x42d75e;var _0x48d128;const {defIds:_0x2a2f63}=_0x190bb0;return!_0x2a2f63||_0x2a2f63['length']===0x0?_0x56ba82:_0x56ba82[_0x2f1fe6(0x399)]===_0x2f1fe6(0x322)&&((_0x48d128=_0x56ba82[_0x2f1fe6(0xe2)])!=null&&_0x48d128[_0x2f1fe6(0x1f2)])?{..._0x56ba82,'children':_0x56ba82['children'][_0x2f1fe6(0x2ed)](_0x55b078=>typeof _0x55b078[_0x2f1fe6(0xf3)]['id']=='string'&&_0x2a2f63&&_0x2a2f63[_0x2f1fe6(0x2dc)](_0x55b078[_0x2f1fe6(0xf3)]['id'])?{..._0x55b078,'attrs':{..._0x55b078[_0x2f1fe6(0xf3)],'id':_0x55b078[_0x2f1fe6(0xf3)]['id']+_0x190bb0[_0x2f1fe6(0x2fe)]}}:_0x55b078)}:_0x56ba82;}function Qe(){const _0x561aa6=_0x42d75e;return Math[_0x561aa6(0x1fd)]()['toString'](0x24)[_0x561aa6(0x335)](0x2,0x8);}pe[_0x42d75e(0x262)]='UniverIcon';function _0x24f5(_0x2a4887,_0x65a273){_0x2a4887=_0x2a4887-0xc9;const _0x4d4270=_0x4d42();let _0x24f5d6=_0x4d4270[_0x2a4887];return _0x24f5d6;}const et={'tag':_0x42d75e(0x1ab),'attrs':{'xmlns':_0x42d75e(0x26b),'fill':'none','viewBox':_0x42d75e(0x347),'width':_0x42d75e(0xd4),'height':_0x42d75e(0xd4)},'children':[{'tag':'g','attrs':{'clipPath':_0x42d75e(0x1db)},'children':[{'tag':_0x42d75e(0x242),'attrs':{'stroke':_0x42d75e(0x289),'d':_0x42d75e(0x26a),'strokeLinecap':'round','strokeLinejoin':_0x42d75e(0x2b8),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x42d75e(0x216),'attrs':{'id':_0x42d75e(0x352)},'children':[{'tag':_0x42d75e(0x242),'attrs':{'fill':'white','d':_0x42d75e(0x207)}}]}]}],'defIds':[_0x42d75e(0x352)]},xe=A[_0x42d75e(0x3a5)](function(_0x25eb87,_0x995787){const _0x433b28=_0x42d75e;return A[_0x433b28(0x297)](pe,Object[_0x433b28(0x2fa)]({},_0x25eb87,{'id':_0x433b28(0x348),'ref':_0x995787,'icon':et}));});xe['displayName']='OffLineIcon';const tt={'tag':_0x42d75e(0x1ab),'attrs':{'xmlns':_0x42d75e(0x26b),'fill':_0x42d75e(0x31f),'viewBox':_0x42d75e(0x19e),'width':_0x42d75e(0xd4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x42d75e(0x344)},'children':[{'tag':_0x42d75e(0x242),'attrs':{'stroke':_0x42d75e(0x289),'d':_0x42d75e(0x331),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x42d75e(0x216),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x42d75e(0x242),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x42d75e(0x32a)]},Be=A['forwardRef'](function(_0x2a07cc,_0xc283dc){const _0x7a5ba=_0x42d75e;return A[_0x7a5ba(0x297)](pe,Object[_0x7a5ba(0x2fa)]({},_0x2a07cc,{'id':_0x7a5ba(0xe6),'ref':_0xc283dc,'icon':tt}));});Be[_0x42d75e(0x262)]=_0x42d75e(0x203);function st(_0x4a0372){const _0xdcfa61=_0x42d75e;switch(_0x4a0372){case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x326)]:return _0xdcfa61(0x15d);case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x25c)]:return'collabStatus.conflict';case u[_0xdcfa61(0x1f5)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x186)]:return _0xdcfa61(0x367);case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x147)]:case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x396)]:return _0xdcfa61(0x215);case u[_0xdcfa61(0x1f5)]['SYNCED']:case u[_0xdcfa61(0x1f5)][_0xdcfa61(0x234)]:return _0xdcfa61(0x152);}}function it(_0x4e2b6f){const _0x18f953=_0x42d75e,{status$:_0x3b21ca}=_0x4e2b6f,_0x1915ef=O[_0x18f953(0x374)](_0x3b21ca,u[_0x18f953(0x1f5)][_0x18f953(0x186)]),_0x42078a=O[_0x18f953(0xd7)](a['LocaleService']),_0x369958=O[_0x18f953(0xd7)](u[_0x18f953(0x1f0)]),_0xceabe7=_0x1915ef!==u[_0x18f953(0x1f5)][_0x18f953(0x326)],_0x1968aa=_0x42078a['t'](st(_0x1915ef)),_0x1bd959=_0xceabe7?M['jsx'](Be,{}):M[_0x18f953(0x2c3)](xe,{}),_0x4d575d=A[_0x18f953(0x22e)](()=>{const _0x2bf1c6=_0x18f953;_0xceabe7||_0x369958[_0x2bf1c6(0x17e)]();},[_0xceabe7,_0x369958]);function _0x17d418(){const _0x23c9f1=_0x18f953;return M[_0x23c9f1(0x28a)]('div',{'className':_0x23c9f1(0x141),'onClick':_0x4d575d,'children':[M[_0x23c9f1(0x2c3)](_0x23c9f1(0x182),{'className':p['clsx'](_0x23c9f1(0x272),{'univer-text-green-500':_0xceabe7,'univer-text-red-500':!_0xceabe7}),'children':_0x1bd959}),M['jsx'](_0x23c9f1(0x182),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1968aa})]});}return _0xceabe7?_0x17d418():M[_0x18f953(0x2c3)](p['Tooltip'],{'title':_0x42078a['t'](_0x18f953(0x391)),'children':_0x17d418()});}var nt=Object[_0x42d75e(0x357)],rt=(_0x46afc4,_0x5218e3,_0x458077,_0x234fb7)=>{for(var _0x2bfc42=_0x234fb7>0x1?void 0x0:_0x234fb7?nt(_0x5218e3,_0x458077):_0x5218e3,_0x4bb0f7=_0x46afc4['length']-0x1,_0x4672d7;_0x4bb0f7>=0x0;_0x4bb0f7--)(_0x4672d7=_0x46afc4[_0x4bb0f7])&&(_0x2bfc42=_0x4672d7(_0x2bfc42)||_0x2bfc42);return _0x2bfc42;},K=(_0x13491a,_0x5912e6)=>(_0x3f7598,_0x20d9e9)=>_0x5912e6(_0x3f7598,_0x20d9e9,_0x13491a);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x2f7a5c,_0x8ecf45,_0x454fe7,_0x3dd79c){const _0x3fa194=_0x42d75e;super(),_(this,_0x3fa194(0x201),new I[(_0x3fa194(0x320))](u[_0x3fa194(0x1f5)][_0x3fa194(0x186)])),(this[_0x3fa194(0x2fc)]=_0x2f7a5c,this[_0x3fa194(0x168)]=_0x8ecf45,this[_0x3fa194(0x313)]=_0x454fe7,this['_uiPartsService']=_0x3dd79c,this[_0x3fa194(0x38e)](),this[_0x3fa194(0x2e7)]());}[_0x42d75e(0x2e7)](){const _0xc88e15=_0x42d75e;this[_0xc88e15(0x155)](this[_0xc88e15(0x2fc)][_0xc88e15(0x1e8)]['pipe'](I[_0xc88e15(0x158)](()=>{const _0x4997f4=_0xc88e15,_0x42fcd1=this[_0x4997f4(0x2fc)]['getFocusedUnit']();return _0x42fcd1?this[_0x4997f4(0x313)][_0x4997f4(0x1ad)](_0x42fcd1[_0x4997f4(0x397)]()):I['of'](null);}),I[_0xc88e15(0x158)](_0x2897ff=>_0x2897ff?_0x2897ff[_0xc88e15(0x2d8)]:I['of'](u[_0xc88e15(0x1f5)][_0xc88e15(0x186)])))[_0xc88e15(0x393)](_0x5071fa=>{this['_status$']['next'](_0x5071fa);}));}[_0x42d75e(0x38e)](){const _0x38b7a1=_0x42d75e;this[_0x38b7a1(0x155)](this[_0x38b7a1(0xf0)][_0x38b7a1(0x115)](O[_0x38b7a1(0x199)][_0x38b7a1(0x23d)],()=>O[_0x38b7a1(0x2e8)](ot({'status$':this['_status$'][_0x38b7a1(0x1dd)]()}),this['_injector'])));}},exports[_0x42d75e(0xd8)]=rt([K(0x0,a[_0x42d75e(0x1e3)]),K(0x1,a[_0x42d75e(0x198)](a['Injector'])),K(0x2,a[_0x42d75e(0x198)](u[_0x42d75e(0x324)])),K(0x3,O[_0x42d75e(0x341)])],exports[_0x42d75e(0xd8)]);function ot(_0x31822e){const {status$:_0x576ccc}=_0x31822e;return function(){const _0x3d33c7=_0x24f5;return M[_0x3d33c7(0x2c3)](it,{'status$':_0x576ccc});};}const Oe=a[_0x42d75e(0x34e)](_0x42d75e(0x38f));var at=Object[_0x42d75e(0x357)],ct=(_0x1b18d5,_0x3daa3c,_0x2a7fdc,_0x5e289c)=>{const _0x28ef2f=_0x42d75e;for(var _0x2a4790=_0x5e289c>0x1?void 0x0:_0x5e289c?at(_0x3daa3c,_0x2a7fdc):_0x3daa3c,_0x49c8a9=_0x1b18d5[_0x28ef2f(0x1f2)]-0x1,_0x544c8a;_0x49c8a9>=0x0;_0x49c8a9--)(_0x544c8a=_0x1b18d5[_0x49c8a9])&&(_0x2a4790=_0x544c8a(_0x2a4790)||_0x2a4790);return _0x2a4790;},Y=(_0x32fd25,_0x101efd)=>(_0x106810,_0x5606d6)=>_0x101efd(_0x106810,_0x5606d6,_0x32fd25);exports[_0x42d75e(0x376)]=class extends a['RxDisposable']{constructor(_0x1ebf33,_0x398e6d,_0x25942a,_0x73aeee,_0x10d895){const _0x3d7f0e=_0x42d75e;super(),this[_0x3d7f0e(0xd2)]=_0x1ebf33,this[_0x3d7f0e(0x2c5)]=_0x398e6d,this['_commandService']=_0x25942a,this[_0x3d7f0e(0x137)]=_0x73aeee,_0x10d895?_0x10d895==null||_0x10d895['whenReady']()[_0x3d7f0e(0x22d)](()=>this[_0x3d7f0e(0x1d3)]()):(this[_0x3d7f0e(0x2c5)][_0x3d7f0e(0x295)](_0x3d7f0e(0x2d1),_0x3d7f0e(0xde)),this['_init']());}async['_init'](){const _0x499043=_0x42d75e,_0x31ea4f=this[_0x499043(0xd2)][_0x499043(0x1e4)](_0x499043(0x238)),_0x88995e=this[_0x499043(0xd2)][_0x499043(0x1e4)](_0x499043(0x2bb)),_0x41cd27=this[_0x499043(0xd2)][_0x499043(0x1e4)](_0x499043(0x2f9));if(!_0x31ea4f||!_0x88995e){this[_0x499043(0x2c5)][_0x499043(0x295)](_0x499043(0x2d1),_0x499043(0x327));return;}const _0x57a670=await this[_0x499043(0x137)][_0x499043(0x12a)](_0x31ea4f,Number(_0x88995e),_0x41cd27);_0x57a670&&_0x57a670 instanceof a[_0x499043(0x2ca)]&&this[_0x499043(0x183)](_0x57a670);}async['_setupSubUnitSync'](_0x37f4ba){const _0x37a9f3=_0x42d75e;await this['_updateSubUnitFromURLParams'](_0x37f4ba),_0x37f4ba['activeSheet$'][_0x37a9f3(0x2da)](I[_0x37a9f3(0x328)](this[_0x37a9f3(0x37a)]))[_0x37a9f3(0x393)](_0x381c78=>{const _0x57206e=_0x37a9f3;_0x381c78&&this[_0x57206e(0x14f)](_0x381c78);}),this[_0x37a9f3(0xd2)][_0x37a9f3(0x37b)][_0x37a9f3(0x2da)](I['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x37a9f3(0x162)](_0x37f4ba));}[_0x42d75e(0x14f)](_0x1a651c,_0x2c26a6=!0x1){const _0x44a665=_0x42d75e,_0x2c5f0e=this[_0x44a665(0xd2)][_0x44a665(0x1e4)]('subunit');_0x1a651c[_0x44a665(0x37c)]()!==_0x2c5f0e&&this[_0x44a665(0xd2)][_0x44a665(0x12b)](_0x44a665(0x2f9),_0x1a651c[_0x44a665(0x37c)](),_0x2c26a6);}async['_updateSubUnitFromURLParams'](_0x412aae){const _0x354e46=_0x42d75e;var _0x3b3829;const _0x4386c9=this[_0x354e46(0xd2)][_0x354e46(0x1e4)]('subunit');if(!_0x4386c9||!_0x412aae[_0x354e46(0x318)](_0x4386c9)){const _0x36b4d0=_0x412aae[_0x354e46(0x315)]()[0x0],_0x3b2b27=_0x412aae[_0x354e46(0x318)](_0x36b4d0);if(!_0x3b2b27)return;this[_0x354e46(0x14f)](_0x3b2b27,!0x0),await this[_0x354e46(0x23a)][_0x354e46(0x1a9)](v[_0x354e46(0x200)]['id'],{'unitId':_0x412aae[_0x354e46(0x397)](),'subUnitId':_0x36b4d0});return;}((_0x3b3829=_0x412aae[_0x354e46(0x235)]())==null?void 0x0:_0x3b3829[_0x354e46(0x37c)]())!==_0x4386c9&&await this[_0x354e46(0x23a)][_0x354e46(0x1a9)](v[_0x354e46(0x200)]['id'],{'unitId':_0x412aae[_0x354e46(0x397)](),'subUnitId':_0x4386c9});}},exports[_0x42d75e(0x376)]=ct([Y(0x0,Oe),Y(0x1,a[_0x42d75e(0x1a1)]),Y(0x2,a[_0x42d75e(0x28d)]),Y(0x3,a[_0x42d75e(0x198)](u[_0x42d75e(0x20a)])),Y(0x4,a['Optional'](qe[_0x42d75e(0x138)]))],exports[_0x42d75e(0x376)]);var lt=Object[_0x42d75e(0x357)],_t=(_0x88fa12,_0x568f49,_0x5e48ad,_0x51b155)=>{const _0x41f018=_0x42d75e;for(var _0x206c62=_0x51b155>0x1?void 0x0:_0x51b155?lt(_0x568f49,_0x5e48ad):_0x568f49,_0x5f2962=_0x88fa12[_0x41f018(0x1f2)]-0x1,_0x3a2e09;_0x5f2962>=0x0;_0x5f2962--)(_0x3a2e09=_0x88fa12[_0x5f2962])&&(_0x206c62=_0x3a2e09(_0x206c62)||_0x206c62);return _0x206c62;},De=(_0xc69289,_0x54a1d0)=>(_0x26af64,_0x4b92b3)=>_0x54a1d0(_0x26af64,_0x4b92b3,_0xc69289);let me=class extends a[_0x42d75e(0x1a2)]{constructor(_0x518dcf,_0x107cd7){const _0x2057a0=_0x42d75e;super(),this[_0x2057a0(0x1c0)]=_0x518dcf,this[_0x2057a0(0x1aa)]=_0x107cd7,this[_0x2057a0(0x1d3)]();}[_0x42d75e(0x1d3)](){const _0x59c216=_0x42d75e,_0x5652d7=this;this[_0x59c216(0x155)](this[_0x59c216(0x1c0)]['addClipboardHook']({'onBeforePasteImage':async _0x2539e3=>{const _0x543e4b=_0x59c216,_0x314564=await _0x5652d7[_0x543e4b(0x1aa)][_0x543e4b(0x2ff)](_0x2539e3);return _0x314564?{'source':_0x314564[_0x543e4b(0x268)],'imageSourceType':_0x314564[_0x543e4b(0x1b0)]}:null;}}));}};me=_t([De(0x0,T[_0x42d75e(0x360)]),De(0x1,ze[_0x42d75e(0x27d)])],me);const Ne=['purple.300',_0x42d75e(0x2db),_0x42d75e(0x332),_0x42d75e(0x245),_0x42d75e(0x359),_0x42d75e(0x337)];class Re extends a['Disposable']{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x42d75e(0x10f)](_0xd54ee3){const _0x508929=_0x42d75e;if(this[_0x508929(0x221)][_0x508929(0x358)](_0xd54ee3))return this[_0x508929(0x221)][_0x508929(0x1b5)](_0xd54ee3);const _0x413299=Ne[this['_colorIndex']];return this[_0x508929(0x35e)]=(this['_colorIndex']+0x1)%Ne[_0x508929(0x1f2)],this[_0x508929(0x221)]['set'](_0xd54ee3,_0x413299),_0x413299;}}function Fe(_0x525cdf){const _0x4b5011=_0x42d75e;let _0x1c621f='';for(const _0x4ce7ea of _0x525cdf){const {startOffset:_0x45240f,endOffset:_0x188aa2,isActive:_0x585118,rangeType:_0x4b92f5,segmentId:_0x4b1590,segmentPage:_0x2c9749}=_0x4ce7ea;_0x1c621f[_0x4b5011(0x1f2)]&&(_0x1c621f+=','),_0x1c621f+=_0x45240f+':'+_0x188aa2+':'+(_0x585118?'1':'0')+':'+_0x4b92f5+':'+_0x4b1590+':'+_0x2c9749;}return _0x1c621f;}function ht(_0x23ccaf){const _0x3b82bb=_0x42d75e,_0xc8ca40=_0x23ccaf[_0x3b82bb(0x127)](','),_0x35b897=[];for(const _0x32aec0 of _0xc8ca40){const [_0xd44a29,_0x6641f8,_0x2097c1,_0x8b421f,_0x3cdf73,_0x4c7916]=_0x32aec0[_0x3b82bb(0x127)](':');_0x35b897[_0x3b82bb(0x1e1)]({'startOffset':Number(_0xd44a29),'endOffset':Number(_0x6641f8),'collapsed':_0xd44a29===_0x6641f8,'isActive':_0x2097c1==='1','rangeType':_0x8b421f===a[_0x3b82bb(0x17d)]['TEXT']?a['DOC_RANGE_TYPE'][_0x3b82bb(0x32c)]:a['DOC_RANGE_TYPE'][_0x3b82bb(0x1e2)],'segmentId':typeof _0x3cdf73=='string'?String(_0x3cdf73):'','segmentPage':Number(_0x4c7916!=null?_0x4c7916:-0x1)});}return _0x35b897['some'](_0x255e00=>_0x255e00[_0x3b82bb(0x120)])||(_0x35b897[0x0][_0x3b82bb(0x120)]=!0x0),_0x35b897;}class be extends a['RxDisposable']{constructor(){const _0x3c9624=_0x42d75e;super(...arguments),_(this,_0x3c9624(0x208),new I[(_0x3c9624(0x320))](null)),_(this,_0x3c9624(0x385),this['_collabCursorState$'][_0x3c9624(0x1dd)]());}[_0x42d75e(0x21b)](_0x2f71a3){const _0x529bb4=_0x42d75e,{unitID:_0xd70fb5,memberID:_0x458b7e,textRanges:_0x56975f}=_0x2f71a3,_0x54f799=Fe(_0x56975f);if(_0x54f799==='')return;const _0x8da919={'unitID':_0xd70fb5,'memberID':_0x458b7e,'selection':_0x54f799};this[_0x529bb4(0x208)][_0x529bb4(0xed)](_0x8da919);}}var ut=Object[_0x42d75e(0x357)],It=(_0x2cda90,_0x41fbe3,_0x301543,_0x28819a)=>{for(var _0x8f469b=_0x28819a>0x1?void 0x0:_0x28819a?ut(_0x41fbe3,_0x301543):_0x41fbe3,_0xe0f2f3=_0x2cda90['length']-0x1,_0x11454c;_0xe0f2f3>=0x0;_0xe0f2f3--)(_0x11454c=_0x2cda90[_0xe0f2f3])&&(_0x8f469b=_0x11454c(_0x8f469b)||_0x8f469b);return _0x8f469b;},U=(_0xc3268f,_0x1e74c9)=>(_0x27def4,_0x46af04)=>_0x1e74c9(_0x27def4,_0x46af04,_0xc3268f);const St=0x12c,dt=0x64;let ve=class extends a[_0x42d75e(0x1a2)]{constructor(_0x36dff8,_0x20d37d,_0x42eb59,_0x4d6366,_0x46d800,_0x4db1c4,_0x29911b,_0x47a9ca,_0x32cf6f){const _0x3002dd=_0x42d75e;super(),_(this,_0x3002dd(0x330),!0x1),_(this,_0x3002dd(0x1d3),!0x1),_(this,'_cursorInfo$',new I['BehaviorSubject'](new Map())),_(this,_0x3002dd(0x371),this[_0x3002dd(0x37f)][_0x3002dd(0x1dd)]()),_(this,'_roomMembers$',new I[(_0x3002dd(0x320))]([])),_(this,_0x3002dd(0x149),this[_0x3002dd(0x2e2)]['pipe'](I[_0x3002dd(0x2ad)](St))),_(this,_0x3002dd(0x18a),a['debounce'](_0xc58a8a=>{const _0x15dea9=_0x3002dd,_0x593b7d={'eventID':g[_0x15dea9(0x291)][_0x15dea9(0xf2)],'data':{'unitID':this[_0x15dea9(0x1b2)],'memberID':this['_session']['getMemberID'](),'selection':Fe(_0xc58a8a)}};this[_0x15dea9(0x161)][_0x15dea9(0x180)](_0x593b7d,this[_0x15dea9(0x1b2)]);},dt)),(this[_0x3002dd(0x1b2)]=_0x36dff8,this['_session']=_0x20d37d,this[_0x3002dd(0x168)]=_0x42eb59,this[_0x3002dd(0x1d9)]=_0x4d6366,this[_0x3002dd(0x1c8)]=_0x46d800,this[_0x3002dd(0x390)]=_0x4db1c4,this['_transformService']=_0x29911b,this[_0x3002dd(0x2fc)]=_0x47a9ca,this[_0x3002dd(0x23a)]=_0x32cf6f);}get[_0x42d75e(0x1e7)](){const _0x24ffb2=_0x42d75e;return this[_0x24ffb2(0x37f)][_0x24ffb2(0x2ab)]();}get[_0x42d75e(0x33a)](){const _0x33a631=_0x42d75e;return this['_roomMembers$'][_0x33a631(0x2ab)]();}[_0x42d75e(0x31d)](){const _0x3a4a84=_0x42d75e;super['dispose'](),this[_0x3a4a84(0x37f)][_0x3a4a84(0xed)](new Map()),this['_cursorInfo$'][_0x3a4a84(0x17c)](),this[_0x3a4a84(0x2e2)][_0x3a4a84(0xed)]([]),this['_roomMembers$'][_0x3a4a84(0x17c)]();}[_0x42d75e(0x38d)](){const _0x2a7514=_0x42d75e;this[_0x2a7514(0x1d3)]||(this[_0x2a7514(0x1d3)]=!0x0,this[_0x2a7514(0x161)][_0x2a7514(0x39d)][_0x2a7514(0x2da)](I[_0x2a7514(0x328)](this[_0x2a7514(0x37a)]))[_0x2a7514(0x393)](_0x782c37=>{const _0x38b755=_0x2a7514;_0x782c37===u[_0x38b755(0x171)]['ONLINE']?this[_0x38b755(0x23c)]():this[_0x38b755(0x2be)]();}),this['_session'][_0x2a7514(0x3a1)][_0x2a7514(0x2da)](I[_0x2a7514(0x328)](this['dispose$']))[_0x2a7514(0x393)](_0x312be0=>{const _0x45a277=_0x2a7514,_0x3e13b6=_0x312be0[_0x45a277(0x12e)];_0x3e13b6===g[_0x45a277(0x291)][_0x45a277(0xf2)]&&this[_0x45a277(0x25f)](_0x312be0),_0x3e13b6===g[_0x45a277(0x291)][_0x45a277(0x319)]&&this[_0x45a277(0x11f)](_0x312be0);}),this['disposeWithMe'](this[_0x2a7514(0x23a)][_0x2a7514(0x31c)](_0x2390ff=>{const _0x8f3d17=_0x2a7514,_0x2092e9=_0x2390ff['params'];_0x2092e9!=null&&this[_0x8f3d17(0x330)]&&_0x2390ff['id']===V[_0x8f3d17(0x2eb)]['id']&&_0x2092e9[_0x8f3d17(0x178)]===this['unitID']&&_0x2092e9[_0x8f3d17(0xe4)]===!0x1&&_0x2092e9[_0x8f3d17(0x32d)][_0x8f3d17(0x1f2)]>0x0&&this[_0x8f3d17(0x18a)](_0x2092e9[_0x8f3d17(0x32d)]);})),this[_0x2a7514(0x390)][_0x2a7514(0x385)][_0x2a7514(0x2da)](I[_0x2a7514(0x328)](this[_0x2a7514(0x37a)]))[_0x2a7514(0x393)](_0x5a7b6d=>{const _0x2799a0=_0x2a7514;if((_0x5a7b6d==null?void 0x0:_0x5a7b6d[_0x2799a0(0x1b2)])!==this[_0x2799a0(0x1b2)])return;const _0x2b5439={'eventID':g[_0x2799a0(0x291)][_0x2799a0(0xf2)],'data':_0x5a7b6d};this[_0x2799a0(0x25f)](_0x2b5439);}),this[_0x2a7514(0x155)](this[_0x2a7514(0x23a)]['onCommandExecuted'](_0x3fb7d1=>{const _0x335c2a=_0x2a7514;if(_0x3fb7d1[_0x335c2a(0x281)]==null)return;const _0x4a04f8=_0x3fb7d1[_0x335c2a(0x281)];if(_0x3fb7d1['id']!==V[_0x335c2a(0x1d8)]['id']||_0x4a04f8[_0x335c2a(0x178)]!==this[_0x335c2a(0x1b2)])return;const _0x4551eb={'id':'doc.mutation.rich-text-editing','params':_0x4a04f8},_0x1b8835=this[_0x335c2a(0x1e7)];for(const [_0x254d0e,_0x372412]of _0x1b8835){const _0x21528d={'id':_0x335c2a(0x2d4),'params':{'unitId':this[_0x335c2a(0x1b2)],'actions':null,'textRanges':_0x372412[_0x335c2a(0x32d)]}},_0x3bd72e=this['_transformService'][_0x335c2a(0xea)](_0x4551eb,_0x21528d,!0x1);if(g['isTransformMutationFailure'](_0x3bd72e))throw _0x3bd72e[_0x335c2a(0x21a)];_0x1b8835['set'](_0x254d0e,{..._0x372412,'ranges':_0x3bd72e[_0x335c2a(0x244)][_0x335c2a(0x281)][_0x335c2a(0x13c)]});}queueMicrotask(()=>{const _0x2cb359=_0x335c2a;this['_cursorInfo$'][_0x2cb359(0xed)](_0x1b8835);});})));}['_onCursorUpdate'](_0x3b0f6f){const _0x305033=_0x42d75e;var _0x113bf5,_0x445872;const {memberID:_0x3eff34,selection:_0x31f57b}=_0x3b0f6f['data'],_0x5badf3=ht(_0x31f57b),_0x494848=(_0x445872=(_0x113bf5=this[_0x305033(0x1c8)]['getMember'](this[_0x305033(0x1b2)],_0x3eff34))==null?void 0x0:_0x113bf5[_0x305033(0x290)])!=null?_0x445872:_0x305033(0xdc),_0x15d471={'color':this[_0x305033(0x1d9)][_0x305033(0x10f)](_0x3eff34),'name':_0x494848,'ranges':_0x5badf3},_0x328daf=this[_0x305033(0x1e7)];_0x328daf[_0x305033(0x380)](_0x3eff34,_0x15d471),this[_0x305033(0x37f)][_0x305033(0xed)](_0x328daf);}[_0x42d75e(0x11f)](_0x48aef5){const _0x3b8c9c=_0x42d75e,{memberID:_0x54c9aa}=_0x48aef5[_0x3b8c9c(0x172)],_0x39bd22=this[_0x3b8c9c(0x1e7)];_0x39bd22[_0x3b8c9c(0x24b)](_0x54c9aa),this['_cursorInfo$']['next'](_0x39bd22);}[_0x42d75e(0x23c)](){const _0x39a03c=_0x42d75e;var _0x5d8226;if(this[_0x39a03c(0x330)]=!0x0,((_0x5d8226=this[_0x39a03c(0x2fc)][_0x39a03c(0x165)]())==null?void 0x0:_0x5d8226[_0x39a03c(0x397)]())!==this[_0x39a03c(0x1b2)])return;const _0x41de14=this[_0x39a03c(0x168)][_0x39a03c(0x1b5)](V['DocSelectionManagerService'])[_0x39a03c(0x354)]();Array['isArray'](_0x41de14)&&_0x41de14[_0x39a03c(0x1f2)]>0x0&&this[_0x39a03c(0x18a)](_0x41de14);}[_0x42d75e(0x2be)](){this['_online']=!0x1;}};ve=It([U(0x2,a[_0x42d75e(0x198)](a[_0x42d75e(0x338)])),U(0x3,a[_0x42d75e(0x198)](Re)),U(0x4,a[_0x42d75e(0x198)](u[_0x42d75e(0x2e6)])),U(0x5,a[_0x42d75e(0x198)](be)),U(0x6,g[_0x42d75e(0x2ce)]),U(0x7,a['IUniverInstanceService']),U(0x8,a[_0x42d75e(0x28d)])],ve);var ft=Object[_0x42d75e(0x357)],mt=(_0xeaba58,_0x3b28cd,_0x69f0b5,_0x1d1a38)=>{const _0x5bc74a=_0x42d75e;for(var _0x5aeba9=_0x1d1a38>0x1?void 0x0:_0x1d1a38?ft(_0x3b28cd,_0x69f0b5):_0x3b28cd,_0x375992=_0xeaba58[_0x5bc74a(0x1f2)]-0x1,_0x588021;_0x375992>=0x0;_0x375992--)(_0x588021=_0xeaba58[_0x375992])&&(_0x5aeba9=_0x588021(_0x5aeba9)||_0x5aeba9);return _0x5aeba9;},w=(_0x875163,_0x81770e)=>(_0x59cf78,_0x179909)=>_0x81770e(_0x59cf78,_0x179909,_0x875163);const vt=0x12c,gt=0x64,Et=()=>{let _0x34d26e=[],_0x17ae37=!0x1;return _0x2a91c6=>{const _0x35e959=_0x24f5;_0x34d26e[_0x35e959(0x1e1)](_0x2a91c6),_0x17ae37||(_0x17ae37=!0x0,setTimeout(()=>{_0x34d26e['forEach'](_0x162c17=>_0x162c17()),_0x34d26e=[],_0x17ae37=!0x1;}));};};let ge=class extends a[_0x42d75e(0x1a2)]{constructor(_0x412aec,_0x215834,_0x28d46f,_0x5a609b,_0x543f86,_0x35b932,_0x5a5481,_0x4cf976){const _0x4381d1=_0x42d75e;super(),_(this,_0x4381d1(0x330),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new I['BehaviorSubject'](new Map())),_(this,_0x4381d1(0x371),this[_0x4381d1(0x37f)]['asObservable']()),_(this,'_roomMembers$',new I['BehaviorSubject']([])),_(this,_0x4381d1(0x149),this[_0x4381d1(0x2e2)][_0x4381d1(0x2da)](I[_0x4381d1(0x2ad)](vt))),_(this,_0x4381d1(0x18a),a[_0x4381d1(0x13d)]((_0x509cc0,_0x1f9826)=>{const _0x38d53e=_0x4381d1,_0x47a4bb={'eventID':g[_0x38d53e(0x291)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x38d53e(0x161)][_0x38d53e(0x14a)](),'selection':B['serializeRangeWithSheet'](_0x509cc0,_0x1f9826['range'])}};this[_0x38d53e(0x161)][_0x38d53e(0x180)](_0x47a4bb,this[_0x38d53e(0x1b2)]);},gt)),(this[_0x4381d1(0x1b2)]=_0x412aec,this[_0x4381d1(0x161)]=_0x215834,this[_0x4381d1(0x168)]=_0x28d46f,this[_0x4381d1(0x1d9)]=_0x5a609b,this[_0x4381d1(0x1c8)]=_0x543f86,this[_0x4381d1(0x2fc)]=_0x35b932,this[_0x4381d1(0x23a)]=_0x5a5481,this[_0x4381d1(0x18f)]=_0x4cf976);}get[_0x42d75e(0x1e7)](){const _0x19c7da=_0x42d75e;return this[_0x19c7da(0x37f)][_0x19c7da(0x2ab)]();}get['roomMembers'](){const _0x456a76=_0x42d75e;return this[_0x456a76(0x2e2)]['getValue']();}[_0x42d75e(0x31d)](){const _0xb5ce5f=_0x42d75e;super[_0xb5ce5f(0x31d)](),this[_0xb5ce5f(0x37f)][_0xb5ce5f(0xed)](new Map()),this[_0xb5ce5f(0x37f)][_0xb5ce5f(0x17c)](),this['_roomMembers$'][_0xb5ce5f(0xed)]([]),this[_0xb5ce5f(0x2e2)][_0xb5ce5f(0x17c)]();}['init'](){const _0x16e952=_0x42d75e;this[_0x16e952(0x1d3)]||(this[_0x16e952(0x1d3)]=!0x0,this[_0x16e952(0x161)][_0x16e952(0x39d)][_0x16e952(0x2da)](I[_0x16e952(0x328)](this['dispose$']))[_0x16e952(0x393)](_0x52c895=>{const _0x1b59f5=_0x16e952;_0x52c895===u[_0x1b59f5(0x171)]['ONLINE']?this['_toggleOnline']():this[_0x1b59f5(0x2be)]();}),this[_0x16e952(0x161)][_0x16e952(0x3a1)]['pipe'](I[_0x16e952(0x328)](this[_0x16e952(0x37a)]))[_0x16e952(0x393)](_0x1fc59b=>{const _0x279ac0=_0x16e952,_0x201908=_0x1fc59b[_0x279ac0(0x12e)];_0x201908===g[_0x279ac0(0x291)]['UPDATE_CURSOR']&&this[_0x279ac0(0x25f)](_0x1fc59b),_0x201908===g[_0x279ac0(0x291)][_0x279ac0(0x319)]&&this[_0x279ac0(0x11f)](_0x1fc59b);}),this[_0x16e952(0x10c)](),this[_0x16e952(0x155)](this[_0x16e952(0x23a)][_0x16e952(0x31c)](_0x5e26d5=>{const _0x4acb3d=_0x16e952;if(this[_0x4acb3d(0x330)]&&_0x5e26d5['id']===v[_0x4acb3d(0x1df)]['id']&&_0x5e26d5[_0x4acb3d(0x281)]['unitId']===this[_0x4acb3d(0x1b2)]){const _0x32d2b8=_0x5e26d5['params'];this[_0x4acb3d(0x18a)](_0x32d2b8[_0x4acb3d(0x110)],_0x32d2b8[_0x4acb3d(0x255)][0x0]);}})));}[_0x42d75e(0x25f)](_0x25dc0e){const _0x33b7d4=_0x42d75e;var _0x1280b2,_0x1af962;const {memberID:_0x3a1c51,selection:_0xe0b9c3}=_0x25dc0e[_0x33b7d4(0x172)],{sheetName:_0x45cefa,range:_0x2a8fb7}=B[_0x33b7d4(0x220)](_0xe0b9c3),_0x2d99e9={'name':(_0x1af962=(_0x1280b2=this['_memberService'][_0x33b7d4(0x364)](this[_0x33b7d4(0x1b2)],_0x3a1c51))==null?void 0x0:_0x1280b2[_0x33b7d4(0x290)])!=null?_0x1af962:_0x33b7d4(0xdc),'range':this[_0x33b7d4(0x395)](_0x45cefa,_0x2a8fb7),'sheetID':_0x45cefa,'color':this[_0x33b7d4(0x1d9)][_0x33b7d4(0x10f)](_0x3a1c51),'selection':_0xe0b9c3},_0x2f0988=this[_0x33b7d4(0x1e7)];_0x2f0988['set'](_0x3a1c51,_0x2d99e9),this[_0x33b7d4(0x37f)]['next'](_0x2f0988);}[_0x42d75e(0x11f)](_0x971cd4){const _0x1e3c52=_0x42d75e,{memberID:_0x425d7d}=_0x971cd4['data'],_0x2fb00c=this['cursorInfo'];_0x2fb00c['delete'](_0x425d7d),this[_0x1e3c52(0x37f)][_0x1e3c52(0xed)](_0x2fb00c);}['_getMergeRange'](_0x3d7a03,_0xe3a599){const _0x36085b=_0x42d75e;var _0x227030,_0xe87875;const _0x130eb1=(_0xe87875=(_0x227030=this[_0x36085b(0x2fc)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x227030[_0x36085b(0x318)](_0x3d7a03))==null?void 0x0:_0xe87875[_0x36085b(0x174)]();return(_0x130eb1==null?void 0x0:_0x130eb1[_0x36085b(0x1ca)](_0x1e5c2b=>a['Rectangle'][_0x36085b(0x184)](_0x1e5c2b,_0xe3a599)))||_0xe3a599;}['_onRefRangeChange'](){const _0x3207ea=_0x42d75e,_0x36ba16=new a[(_0x3207ea(0x1f7))](),_0x39dfa7=Et(),_0x24d285=()=>{const _0x430961=_0x3207ea;_0x36ba16[_0x430961(0x31d)]();const _0x5114d5=(_0x202a58,_0x49097e,_0x3769c1,_0x5944b5)=>{const _0x37af21=_0x430961;let _0x2261de=[];switch(_0x202a58['id']){case v[_0x37af21(0x339)][_0x37af21(0x1be)]:{_0x2261de=v[_0x37af21(0x224)](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0x10d)]:{_0x2261de=v[_0x37af21(0x1dc)](_0x202a58,_0x5944b5);break;}case v['EffectRefRangId'][_0x37af21(0x228)]:{_0x2261de=v[_0x37af21(0x377)](_0x202a58,_0x5944b5);break;}case v['EffectRefRangId'][_0x37af21(0x33f)]:{_0x2261de=v['handleInsertRangeMoveDown'](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0x10e)]:{_0x2261de=v[_0x37af21(0x11a)](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0x279)]:{_0x2261de=v[_0x37af21(0x1b6)](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0x2a8)]:{_0x2261de=v['handleMoveRange'](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0xe5)]:{_0x2261de=v[_0x37af21(0x20c)](_0x202a58,_0x5944b5);break;}case v[_0x37af21(0x339)][_0x37af21(0xfd)]:{_0x2261de=v['handleIRemoveRow'](_0x202a58,_0x5944b5);break;}}const _0x4bb388=v[_0x37af21(0x368)](_0x2261de,_0x5944b5),_0xcfc40e=this[_0x37af21(0x1e7)][_0x37af21(0x1b5)](_0x49097e);if(_0xcfc40e&&_0x4bb388){const _0x256db0={..._0xcfc40e,'range':_0x4bb388};this[_0x37af21(0x1e7)][_0x37af21(0x380)](_0x49097e,_0x256db0),_0x39dfa7(()=>{const _0x5df984=_0x37af21,_0x5ceab9=this['_refRangeService']['registerRefRange'](_0x4bb388,_0x5d150b=>(_0x5ceab9[_0x5df984(0x31d)](),_0x5114d5(_0x5d150b,_0x49097e,_0x3769c1,_0x4bb388)));_0x36ba16[_0x5df984(0x18d)](_0x5ceab9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x430961(0x122)]((_0x2dacbf,_0x49ee34)=>{const _0xe911fd=_0x430961,{range:_0x199c10,sheetID:_0x3e7222}=_0x2dacbf,_0x4d504f=this['_refRangeService'][_0xe911fd(0x2bd)](_0x199c10,_0x3ce3e8=>(_0x4d504f['dispose'](),_0x5114d5(_0x3ce3e8,_0x49ee34,_0x3e7222,_0x199c10)));_0x36ba16[_0xe911fd(0x18d)](_0x4d504f);});};this[_0x3207ea(0x155)](a[_0x3207ea(0x35f)](this[_0x3207ea(0x37f)]['subscribe'](()=>{_0x24d285();})));}[_0x42d75e(0x23c)](){const _0x8d259a=_0x42d75e;var _0x1740dd,_0x2ac82e;if(this[_0x8d259a(0x330)]=!0x0,((_0x1740dd=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1740dd[_0x8d259a(0x397)]())!==this[_0x8d259a(0x1b2)])return;const _0xaa1036=(_0x2ac82e=this[_0x8d259a(0x168)][_0x8d259a(0x1b5)](v[_0x8d259a(0x15b)])[_0x8d259a(0x148)]())==null?void 0x0:_0x2ac82e[0x0],_0x475706=this[_0x8d259a(0x2fc)][_0x8d259a(0x209)](a[_0x8d259a(0x38c)]['UNIVER_SHEET'])[_0x8d259a(0x235)]();_0xaa1036&&_0x475706&&this[_0x8d259a(0x18a)](_0x475706[_0x8d259a(0x37c)](),_0xaa1036);}[_0x42d75e(0x2be)](){const _0x3b14fd=_0x42d75e;this[_0x3b14fd(0x330)]=!0x1;}};ge=mt([w(0x2,a[_0x42d75e(0x198)](a['Injector'])),w(0x3,a[_0x42d75e(0x198)](Re)),w(0x4,a[_0x42d75e(0x198)](u[_0x42d75e(0x2e6)])),w(0x5,a[_0x42d75e(0x1e3)]),w(0x6,a[_0x42d75e(0x28d)]),w(0x7,a[_0x42d75e(0x198)](v[_0x42d75e(0x11b)]))],ge);var Ct=Object[_0x42d75e(0x357)],Tt=(_0x3c13fb,_0x517983,_0x2e87d5,_0x267438)=>{const _0x16ef78=_0x42d75e;for(var _0x391496=_0x267438>0x1?void 0x0:_0x267438?Ct(_0x517983,_0x2e87d5):_0x517983,_0x3bb8d2=_0x3c13fb[_0x16ef78(0x1f2)]-0x1,_0x594b93;_0x3bb8d2>=0x0;_0x3bb8d2--)(_0x594b93=_0x3c13fb[_0x3bb8d2])&&(_0x391496=_0x594b93(_0x391496)||_0x391496);return _0x391496;},ce=(_0x544e6b,_0x51daa8)=>(_0x3b0a51,_0x409986)=>_0x51daa8(_0x3b0a51,_0x409986,_0x544e6b);let F=class extends a[_0x42d75e(0x1a2)]{constructor(_0x5119fe,_0x17b590,_0x474845){const _0x57ab9c=_0x42d75e;super(),_(this,_0x57ab9c(0x365),new Map()),_(this,_0x57ab9c(0xd5),new I[(_0x57ab9c(0x29a))]()),(this[_0x57ab9c(0x2fc)]=_0x5119fe,this[_0x57ab9c(0x168)]=_0x17b590,this[_0x57ab9c(0x301)]=_0x474845,this['_init']());}[_0x42d75e(0x31d)](){const _0x4232ae=_0x42d75e;super[_0x4232ae(0x31d)](),this[_0x4232ae(0xd5)][_0x4232ae(0x17c)](),this[_0x4232ae(0x365)][_0x4232ae(0x122)](_0x5469d0=>_0x5469d0[_0x4232ae(0x31d)]());}[_0x42d75e(0x392)](_0x1b7d3d){const _0x546f9b=_0x42d75e;return this[_0x546f9b(0x365)][_0x546f9b(0x358)](_0x1b7d3d)?this[_0x546f9b(0x365)]['get'](_0x1b7d3d)[_0x546f9b(0x371)]:this['_entityInit$'][_0x546f9b(0x2da)](I[_0x546f9b(0x202)](_0x4c1f97=>_0x4c1f97[_0x546f9b(0x1b2)]===_0x1b7d3d),I[_0x546f9b(0x158)](_0x56bcc5=>_0x56bcc5[_0x546f9b(0x371)]));}['_init'](){const _0x948490=_0x42d75e;this[_0x948490(0x2fc)][_0x948490(0x32f)](a['UniverInstanceType'][_0x948490(0x197)])[_0x948490(0x2da)](I['takeUntil'](this['dispose$']))[_0x948490(0x393)](async _0x2af56d=>{const _0x1abcbf=_0x948490,_0x729127=_0x2af56d[_0x1abcbf(0x397)](),_0x17421e=await this[_0x1abcbf(0x187)](_0x729127);this['_entityInit$'][_0x1abcbf(0xed)](_0x17421e),this[_0x1abcbf(0x365)][_0x1abcbf(0x380)](_0x729127,_0x17421e);}),this[_0x948490(0x2fc)][_0x948490(0x32f)](a[_0x948490(0x38c)][_0x948490(0x1ac)])['pipe'](I[_0x948490(0x328)](this['dispose$']))[_0x948490(0x2da)](I['filter'](_0x1c2f7a=>!_0x1c2f7a['getUnitId']()[_0x948490(0xf8)]('__')))['subscribe'](async _0x59f190=>{const _0x36d871=_0x948490,_0x1a5eaa=_0x59f190[_0x36d871(0x397)](),_0x52ee19=await this['_startDocCollabCursor'](_0x1a5eaa);this['_entityInit$'][_0x36d871(0xed)](_0x52ee19),this[_0x36d871(0x365)][_0x36d871(0x380)](_0x1a5eaa,_0x52ee19);}),I['merge'](this[_0x948490(0x2fc)][_0x948490(0x195)](a[_0x948490(0x38c)][_0x948490(0x1ac)]),this[_0x948490(0x2fc)][_0x948490(0x195)](a[_0x948490(0x38c)]['UNIVER_SHEET']))['pipe'](I['takeUntil'](this[_0x948490(0x37a)]))[_0x948490(0x393)](_0x260272=>{const _0x2b4124=_0x948490,_0x39d2d4=_0x260272[_0x2b4124(0x397)](),_0x1f3896=this['_entities']['get'](_0x39d2d4);_0x1f3896&&(_0x1f3896[_0x2b4124(0x31d)](),this[_0x2b4124(0x365)][_0x2b4124(0x24b)](_0x39d2d4));});}async['_startSheetCollabCursor'](_0x119066){const _0x3654c6=_0x42d75e,_0x3dcdde=await this['_collabSessionService'][_0x3654c6(0x2d3)](_0x119066),_0x86c843=this[_0x3654c6(0x168)][_0x3654c6(0x343)](ge,_0x119066,_0x3dcdde);return _0x86c843[_0x3654c6(0x38d)](),_0x86c843;}async['_startDocCollabCursor'](_0x33de95){const _0x108101=_0x42d75e,_0x3460ce=await this[_0x108101(0x301)][_0x108101(0x2d3)](_0x33de95),_0x1e95b3=this['_injector'][_0x108101(0x343)](ve,_0x33de95,_0x3460ce);return _0x1e95b3[_0x108101(0x38d)](),_0x1e95b3;}};F=Tt([ce(0x0,a['IUniverInstanceService']),ce(0x1,a[_0x42d75e(0x198)](a['Injector'])),ce(0x2,a[_0x42d75e(0x198)](u[_0x42d75e(0x1f0)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0xffac3,_0x5df860){const _0x2e68eb=_0x42d75e;let {radius:_0x59fe31,width:_0x53d39d,height:_0x7019d3}=_0x5df860;_0x59fe31=_0x59fe31!=null?_0x59fe31:0x0,_0x53d39d=_0x53d39d!=null?_0x53d39d:0x1e,_0x7019d3=_0x7019d3!=null?_0x7019d3:0x1e;let _0x3d1cff=0x0,_0x196165=0x0,_0x58adce=0x0;_0x3d1cff=_0x196165=_0x58adce=Math[_0x2e68eb(0x33d)](_0x59fe31,_0x53d39d/0x2,_0x7019d3/0x2),_0xffac3['beginPath'](),_0xffac3['moveTo'](_0x3d1cff,0x0),_0xffac3[_0x2e68eb(0x16b)](_0x53d39d-_0x196165,0x0),_0xffac3[_0x2e68eb(0xdf)](_0x53d39d-_0x196165,_0x196165,_0x196165,Math['PI']*0x3/0x2,0x0,!0x1),_0xffac3[_0x2e68eb(0x16b)](_0x53d39d,_0x7019d3-_0x58adce),_0xffac3[_0x2e68eb(0xdf)](_0x53d39d-_0x58adce,_0x7019d3-_0x58adce,_0x58adce,0x0,Math['PI']/0x2,!0x1),_0xffac3[_0x2e68eb(0x16b)](0x0,_0x7019d3),_0xffac3[_0x2e68eb(0x16b)](0x0,_0x3d1cff),_0xffac3[_0x2e68eb(0xdf)](_0x3d1cff,_0x3d1cff,_0x3d1cff,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xffac3[_0x2e68eb(0x1d2)](),_0x5df860[_0x2e68eb(0x1c3)]&&(_0xffac3[_0x2e68eb(0x29f)](),_0xffac3[_0x2e68eb(0x177)]=_0x5df860[_0x2e68eb(0x1c3)],_0x5df860[_0x2e68eb(0x36e)]==='evenodd'?_0xffac3['fill'](_0x2e68eb(0x26f)):_0xffac3[_0x2e68eb(0x1c3)](),_0xffac3[_0x2e68eb(0x384)]());}class re extends C[_0x42d75e(0x2f0)]{constructor(_0x449407,_0x45740e){const _0x15fc9b=_0x42d75e;super(_0x449407,_0x45740e),_(this,_0x15fc9b(0x309)),_(this,_0x15fc9b(0x113)),(this['color']=_0x45740e==null?void 0x0:_0x45740e['color'],this[_0x15fc9b(0x113)]=_0x45740e==null?void 0x0:_0x45740e[_0x15fc9b(0x113)]);}static['drawWith'](_0x413170,_0x1ec451){const _0x5396e1=_0x42d75e,{text:_0x1b1a6c,color:_0x3669a5}=_0x1ec451;_0x413170['save'](),_0x413170[_0x5396e1(0x117)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2c3b85=_0x413170[_0x5396e1(0x13b)](_0x1b1a6c)[_0x5396e1(0x2e4)],_0x169758=Math['min'](_0x2c3b85+0x2*le,Ue);Ot(_0x413170,{'height':X,'radius':0x4,'width':_0x169758,'fill':_0x3669a5}),_0x413170[_0x5396e1(0x177)]=_0x5396e1(0x38a);const _0x2fa20f=le,_0x1188df=X-pt,_0x37c980=Ue-0x2*le;if(_0x2c3b85>_0x37c980){let _0x26f82d='',_0x4c1416=0x0;for(const _0x320fd0 of _0x1b1a6c){const _0x4ceb96=_0x413170['measureText'](_0x320fd0)['width'];if(_0x4c1416+_0x4ceb96<=_0x37c980-_0x413170['measureText'](_0x5396e1(0x28c))[_0x5396e1(0x2e4)])_0x26f82d+=_0x320fd0,_0x4c1416+=_0x4ceb96;else{_0x26f82d+='...';break;}}_0x413170['fillText'](_0x26f82d,_0x2fa20f,_0x1188df);}else _0x413170[_0x5396e1(0x386)](_0x1b1a6c,_0x2fa20f,_0x1188df);_0x413170[_0x5396e1(0x384)]();}[_0x42d75e(0x181)](_0x20492d){const _0x5b217d=_0x42d75e;re[_0x5b217d(0x38b)](_0x20492d,this);}}const _e='collab-text-anchor-',Rt=_0x42d75e(0xf4),bt=_0x42d75e(0x131),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut='rgba(255,\x20255,\x20255,\x200.01)';class Le{constructor(_0x10167e,_0x42abe6,_0x4b00e,_0x487b7b){const _0x4c79aa=_0x42d75e;_(this,_0x4c79aa(0x22f),[]),_(this,_0x4c79aa(0x30b),null),_(this,_0x4c79aa(0x1e6),null),_(this,_0x4c79aa(0x1b4),null),_(this,_0x4c79aa(0x130),null),_(this,'_eventUnsubscribe',null),(this[_0x4c79aa(0x283)]=_0x10167e,this[_0x4c79aa(0x355)]=_0x42abe6,this[_0x4c79aa(0xcf)]=_0x4b00e,this[_0x4c79aa(0x206)]=_0x487b7b,this[_0x4c79aa(0xfb)]());}set[_0x42d75e(0x1d5)](_0x2ebcdb){const _0x242330=_0x42d75e;_0x2ebcdb?(this[_0x242330(0x1b4)]&&this[_0x242330(0x1b4)][_0x242330(0x175)](),this[_0x242330(0x1e6)]&&this[_0x242330(0x1e6)][_0x242330(0x1b8)]()):(this['_anchorDot']&&this['_anchorDot'][_0x242330(0x1b8)](),this['_textBubble']&&this[_0x242330(0x1e6)][_0x242330(0x175)]());}[_0x42d75e(0x31d)](){const _0x16b04c=_0x42d75e;for(const _0x4a3420 of this[_0x16b04c(0x22f)])_0x4a3420[_0x16b04c(0x31d)]();this[_0x16b04c(0x1e6)]&&this[_0x16b04c(0x1e6)][_0x16b04c(0x31d)](),this['_anchorDot']&&this[_0x16b04c(0x1b4)][_0x16b04c(0x31d)](),this[_0x16b04c(0x30b)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x16b04c(0x310)]();}['_render'](){const _0x277a36=_0x42d75e;var _0x2e9049;const {_docSkeleton:_0x1115f8,_document:_0xd3295c}=this,{color:_0x4cfcff,name:_0x477e3d,ranges:_0x4ad336}=this[_0x277a36(0x283)],_0x4106fa=_0xd3295c['getOffsetConfig'](),{docsLeft:_0x16eed6,docsTop:_0x1f3eac}=_0x4106fa,_0x837907=new T[(_0x277a36(0x34d))](_0x4106fa,_0x1115f8);for(const {startOffset:_0x512451,endOffset:_0x53cefd,rangeType:_0x444759,segmentId:_0x2ef29d,segmentPage:_0x51739f,collapsed:_0x61faeb,isActive:_0x501df7}of _0x4ad336){const _0x39ef8f=_0x1115f8[_0x277a36(0x266)](_0x512451,!0x0,_0x2ef29d,_0x51739f);let _0x3af3d6=_0x1115f8[_0x277a36(0x266)](_0x53cefd,!0x0,_0x2ef29d,_0x51739f);if(_0x3af3d6==null&&(_0x3af3d6=_0x1115f8[_0x277a36(0x266)](_0x53cefd-0x1,!0x1,_0x2ef29d,_0x51739f)),_0x501df7){const {contentBoxPointGroup:_0xb736f3}=_0x837907['getRangePointData'](_0x3af3d6,_0x3af3d6);if(_0xb736f3[_0x277a36(0x1f2)]===0x0)continue;this[_0x277a36(0x280)](_0x4cfcff,_0xb736f3,_0x16eed6,_0x1f3eac,_0x477e3d),this[_0x277a36(0x310)]=this[_0x277a36(0xf5)]();}if(_0x39ef8f&&_0x3af3d6){if(_0x444759===a[_0x277a36(0x17d)]['RECT']){const _0x56350e=new T[(_0x277a36(0x2e1))](_0x4106fa,_0x1115f8),{pointGroup:_0x1439f3}=(_0x2e9049=_0x56350e[_0x277a36(0x36d)](_0x39ef8f,_0x3af3d6))!=null?_0x2e9049:{};if(_0x1439f3==null||_0x1439f3['length']===0x0)continue;this[_0x277a36(0x253)](_0x4cfcff,_0x1439f3,_0x16eed6,_0x1f3eac);}else{if(!_0x61faeb){const {borderBoxPointGroup:_0x19920a}=_0x837907[_0x277a36(0x36d)](_0x39ef8f,_0x3af3d6);if(_0x19920a[_0x277a36(0x1f2)]===0x0)continue;this[_0x277a36(0x1a8)](_0x4cfcff,_0x19920a,_0x16eed6,_0x1f3eac);}}}}}[_0x42d75e(0x280)](_0x584f58,_0x3fd669,_0x3c52f3,_0x4f22cd,_0x1e2308){const _0x5bd5ec=_0x42d75e,_0x6b62d0=this[_0x5bd5ec(0x2c9)](_0x3fd669),{left:_0x3c8262,top:_0x35b458,height:_0x462993}=_0x6b62d0,_0x5cff7a=this[_0x5bd5ec(0x292)](),_0x3f36c4=Nt/_0x5cff7a,_0x4d3984=new C['Rect'](_e+a[_0x5bd5ec(0x132)](H),{'left':_0x3c8262+_0x3c52f3-_0x3f36c4,'top':_0x35b458+_0x4f22cd,'height':_0x462993,'width':Dt,'fill':_0x584f58||C[_0x5bd5ec(0x104)](a[_0x5bd5ec(0x1c4)][_0x5bd5ec(0x126)],0x0),'strokeWidth':_0x3f36c4,'stroke':Ut,'evented':!0x0});this[_0x5bd5ec(0x30b)]=_0x4d3984,this['_scene'][_0x5bd5ec(0x273)](_0x4d3984,T[_0x5bd5ec(0x2df)]);const _0x1ba877=new C[(_0x5bd5ec(0x254))](_e+a[_0x5bd5ec(0x132)](H),{'left':_0x3c8262+_0x3c52f3-_0x3f36c4,'top':_0x35b458+_0x4f22cd-he/0x2,'height':he,'width':he,'fill':_0x584f58||C[_0x5bd5ec(0x104)](a[_0x5bd5ec(0x1c4)][_0x5bd5ec(0x126)],0x0),'strokeWidth':0x0,'stroke':_0x584f58||C[_0x5bd5ec(0x104)](a[_0x5bd5ec(0x1c4)][_0x5bd5ec(0x126)],0x0),'evented':!0x1});this[_0x5bd5ec(0x1b4)]=_0x1ba877,this[_0x5bd5ec(0x355)][_0x5bd5ec(0x273)](_0x1ba877,T['TEXT_RANGE_LAYER_INDEX']);const _0x37ccfe=new re(_e+a['generateRandomId'](H),{'left':_0x3c8262+_0x3c52f3-_0x3f36c4,'top':_0x35b458+_0x4f22cd-X,'text':_0x1e2308,'color':_0x584f58});this[_0x5bd5ec(0x1e6)]=_0x37ccfe,this[_0x5bd5ec(0x355)][_0x5bd5ec(0x273)](_0x37ccfe,T[_0x5bd5ec(0x2df)]),this['_hover']=!0x1;}[_0x42d75e(0xf5)](){const _0x29702d=_0x42d75e,_0x27b324=this[_0x29702d(0x30b)][_0x29702d(0x2ea)][_0x29702d(0xca)](()=>{const _0x207dc2=_0x29702d;this[_0x207dc2(0x1d5)]=!0x0;}),_0x3b2c06=this['_anchor'][_0x29702d(0x2c2)][_0x29702d(0xca)](()=>{const _0x33a7b7=_0x29702d;this['_hideTimer']&&clearTimeout(this[_0x33a7b7(0x130)]),this[_0x33a7b7(0x130)]=setTimeout(()=>{const _0x441845=_0x33a7b7;this[_0x441845(0x1d5)]=!0x1;},0x7d0);});return()=>{const _0x212130=_0x29702d;_0x27b324['unsubscribe'](),_0x3b2c06[_0x212130(0x336)]();};}[_0x42d75e(0x1a8)](_0x3fc09e,_0x348cac,_0x564a6a,_0x4f3828){const _0x1fdcd8=_0x42d75e,_0xed9b00=new a[(_0x1fdcd8(0x34a))](_0x3fc09e)[_0x1fdcd8(0x233)](0.2)[_0x1fdcd8(0x144)](),_0x318e51=new C['RegularPolygon'](Rt+a[_0x1fdcd8(0x132)](H),{'pointsGroup':_0x348cac,'fill':_0xed9b00||C[_0x1fdcd8(0x104)](a[_0x1fdcd8(0x1c4)][_0x1fdcd8(0x126)],0.2),'left':_0x564a6a,'top':_0x4f3828,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fdcd8(0x22f)][_0x1fdcd8(0x1e1)](_0x318e51),this[_0x1fdcd8(0x355)]['addObject'](_0x318e51,T[_0x1fdcd8(0x2df)]);}[_0x42d75e(0x253)](_0x4e5ec6,_0x11cb1f,_0xd883f6,_0x16df4f){const _0x4c213c=_0x42d75e,_0x366efc=new a[(_0x4c213c(0x34a))](_0x4e5ec6)[_0x4c213c(0x233)](0.2)[_0x4c213c(0x144)](),_0x5a5ee5=new C[(_0x4c213c(0x323))](bt+a['generateRandomId'](H),{'pointsGroup':_0x11cb1f,'fill':_0x366efc||C[_0x4c213c(0x104)](a[_0x4c213c(0x1c4)][_0x4c213c(0x126)],0.2),'left':_0xd883f6,'top':_0x16df4f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c213c(0x22f)][_0x4c213c(0x1e1)](_0x5a5ee5),this['_scene'][_0x4c213c(0x273)](_0x5a5ee5,T[_0x4c213c(0x2df)]);}['_getAnchorBounding'](_0x31b7d2){const _0x43bea6=_0x31b7d2[0x0],_0x30742e=_0x43bea6[0x0],_0x2ab341=_0x43bea6[0x2],{x:_0x1bd2c0,y:_0xb8be4e}=_0x30742e,{x:_0x57009f,y:_0xee9d72}=_0x2ab341;return{'left':_0x1bd2c0,'top':_0xb8be4e,'width':_0x57009f-_0x1bd2c0,'height':_0xee9d72-_0xb8be4e};}[_0x42d75e(0x292)](){const _0xdb0828=_0x42d75e,{scaleX:_0x19ab21,scaleY:_0x301753}=this[_0xdb0828(0x355)][_0xdb0828(0x1b3)]();return Math[_0xdb0828(0x1cd)](_0x19ab21,_0x301753);}}var Lt=Object[_0x42d75e(0x357)],Mt=(_0x1f2076,_0x2dce22,_0x41df5e,_0x2ca09a)=>{const _0x1afcc5=_0x42d75e;for(var _0x1ec085=_0x2ca09a>0x1?void 0x0:_0x2ca09a?Lt(_0x2dce22,_0x41df5e):_0x2dce22,_0x40d0f1=_0x1f2076[_0x1afcc5(0x1f2)]-0x1,_0x426be7;_0x40d0f1>=0x0;_0x40d0f1--)(_0x426be7=_0x1f2076[_0x40d0f1])&&(_0x1ec085=_0x426be7(_0x1ec085)||_0x1ec085);return _0x1ec085;},q=(_0x517875,_0x7a8a75)=>(_0x1376d5,_0x28f3f6)=>_0x7a8a75(_0x1376d5,_0x28f3f6,_0x517875);let Ee=class extends a[_0x42d75e(0x1a2)]{constructor(_0x4fb688,_0x2fd373,_0x17143,_0x30ed6a,_0x487cc8){const _0x2a2554=_0x42d75e;super(),_(this,_0x2a2554(0x124),[]),_(this,'_cursors',[]),(this['_context']=_0x4fb688,this[_0x2a2554(0x314)]=_0x2fd373,this[_0x2a2554(0xf9)]=_0x17143,this['_commandService']=_0x30ed6a,this[_0x2a2554(0x1e5)]=_0x487cc8,this[_0x2a2554(0x1d3)]());}[_0x42d75e(0x1d3)](){const _0x342776=_0x42d75e,_0x48bad7=this[_0x342776(0x316)][_0x342776(0x178)],_0x37c30b=this[_0x342776(0x314)];this['disposeWithMe'](I[_0x342776(0x282)]([this[_0x342776(0xf9)]['getCollabCursors$'](_0x48bad7),this['_themeService'][_0x342776(0x154)]])[_0x342776(0x2da)]($[_0x342776(0x2ed)](([_0x4ea2de,_0x5a4975])=>({'skeleton':_0x37c30b[_0x342776(0x26d)](),'cursors':[..._0x4ea2de[_0x342776(0x1ea)]()][_0x342776(0x375)](_0x90984d=>({..._0x90984d,'color':this[_0x342776(0x1e5)][_0x342776(0x218)](_0x90984d[_0x342776(0x309)])}))})))[_0x342776(0x393)](_0x37f162=>{const _0x38a3cb=_0x342776;if(this[_0x38a3cb(0x222)](),_0x37f162){const {skeleton:_0x32a353,cursors:_0x5bd907}=_0x37f162;this[_0x38a3cb(0x2ec)](_0x32a353,_0x5bd907);}})),this[_0x342776(0x304)](),this[_0x342776(0xcc)]();}['_updateCollabCursors'](_0x1dfeb1,_0x618cfe){const _0x47df6d=_0x42d75e,{scene:_0x26c7ae,mainComponent:_0x260129}=this[_0x47df6d(0x316)],_0x2fa779=_0x618cfe[_0x47df6d(0x2ed)](_0x3a76f5=>new Le(_0x3a76f5,_0x26c7ae,_0x1dfeb1,_0x260129));this[_0x47df6d(0x124)]=_0x2fa779,this[_0x47df6d(0xe9)]=_0x618cfe;}[_0x42d75e(0x2ef)](){const _0x4c3164=_0x42d75e;this['_removeCollabCursors']();const {scene:_0x33c87b,mainComponent:_0x58cf87}=this['_context'],_0x1e1439=this[_0x4c3164(0x314)][_0x4c3164(0x26d)](),_0x3d3019=this[_0x4c3164(0xe9)]['map'](_0x4e0bfa=>new Le(_0x4e0bfa,_0x33c87b,_0x1e1439,_0x58cf87));this[_0x4c3164(0x124)]=_0x3d3019;}['_removeCollabCursors'](){const _0x48adf0=_0x42d75e;this[_0x48adf0(0x124)]['forEach'](_0x15008c=>_0x15008c[_0x48adf0(0x31d)]()),this[_0x48adf0(0x124)]=[];}['_initCommandExecutedListener'](){const _0x5b8463=_0x42d75e,_0x449a81=[T['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x5b8463(0x23a)][_0x5b8463(0x31c)](_0x32195d=>{const _0xa9286d=_0x5b8463;_0x449a81[_0xa9286d(0x2dc)](_0x32195d['id'])&&_0x32195d[_0xa9286d(0x281)][_0xa9286d(0x178)]===this[_0xa9286d(0x316)][_0xa9286d(0x178)]&&this[_0xa9286d(0x2ef)]();}));}[_0x42d75e(0x304)](){const _0x474981=_0x42d75e;this[_0x474981(0x155)](a[_0x474981(0x334)](this[_0x474981(0x316)][_0x474981(0x2b3)][_0x474981(0x223)])['pipe']($[_0x474981(0x202)](_0x5be1c4=>_0x5be1c4['type']===C['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x474981(0x373)]),$[_0x474981(0x214)](0x10))[_0x474981(0x393)](()=>{this['_refreshCollabCursors']();}));}};Ee=Mt([q(0x1,a[_0x42d75e(0x198)](V[_0x42d75e(0x106)])),q(0x2,a[_0x42d75e(0x198)](F)),q(0x3,a[_0x42d75e(0x28d)]),q(0x4,a[_0x42d75e(0x198)](a['ThemeService']))],Ee);const At=0x1,Pt=1.5;class je extends C['Shape']{constructor(_0x483c10,_0x248581){const _0x2fd953=_0x42d75e;super(_0x483c10,_0x248581),_(this,_0x2fd953(0x229)),_(this,_0x2fd953(0x136),!0x1),_(this,_0x2fd953(0x2d9)),_(this,_0x2fd953(0x10b),''),_(this,_0x2fd953(0x13e),'top'),_(this,'_backgroundColor'),(_0x248581&&this[_0x2fd953(0x321)](_0x248581),this[_0x2fd953(0x2ea)][_0x2fd953(0xca)](()=>this[_0x2fd953(0x321)]({'hovered':!0x0})),this[_0x2fd953(0x2c2)][_0x2fd953(0xca)](()=>this[_0x2fd953(0x321)]({'hovered':!0x1})));}[_0x42d75e(0x321)](_0x2b7099){const _0x5edb4d=_0x42d75e;var _0x3c62ff,_0x21efec,_0x544e0d,_0xcc8fc7,_0x4e29cf,_0x25de29;this[_0x5edb4d(0x229)]=(_0x3c62ff=_0x2b7099[_0x5edb4d(0x309)])!=null?_0x3c62ff:this['_color'],this[_0x5edb4d(0x136)]=(_0x21efec=_0x2b7099[_0x5edb4d(0x276)])!=null?_0x21efec:this[_0x5edb4d(0x136)],this[_0x5edb4d(0x2d9)]=(_0x544e0d=_0x2b7099[_0x5edb4d(0x1f3)])!=null?_0x544e0d:this[_0x5edb4d(0x2d9)],this[_0x5edb4d(0x10b)]=(_0xcc8fc7=_0x2b7099[_0x5edb4d(0x290)])!=null?_0xcc8fc7:this[_0x5edb4d(0x10b)],this[_0x5edb4d(0x13e)]=(_0x4e29cf=_0x2b7099[_0x5edb4d(0x394)])!=null?_0x4e29cf:this[_0x5edb4d(0x13e)],this[_0x5edb4d(0xf6)]=(_0x25de29=_0x2b7099[_0x5edb4d(0x139)])!=null?_0x25de29:this['_backgroundColor'],this[_0x5edb4d(0x1ec)]({'width':_0x2b7099['width'],'height':_0x2b7099[_0x5edb4d(0x2af)]});}[_0x42d75e(0x33c)](_0xf8568d){const _0x1dc212=_0x42d75e,{row:_0x37c74a,column:_0x5596d0}=_0xf8568d;if(_0x37c74a>=this[_0x1dc212(0x2d9)]['startRow']&&_0x37c74a<=this['_range'][_0x1dc212(0x2f7)]&&_0x5596d0>=this['_range'][_0x1dc212(0x225)]&&_0x5596d0<=this['_range']['endColumn']){this[_0x1dc212(0x321)]({'hovered':!0x0});return;}this[_0x1dc212(0x321)]({'hovered':!0x1});}[_0x42d75e(0x27c)](_0x70897e){return!0x1;}[_0x42d75e(0x181)](_0x5cb0b9){const _0x5a531b=_0x42d75e;C[_0x5a531b(0x254)][_0x5a531b(0x38b)](_0x5cb0b9,{'width':this['width'],'height':this[_0x5a531b(0x2af)],'strokeWidth':Pt,'stroke':this[_0x5a531b(0x229)],'evented':!0x1,'fill':this[_0x5a531b(0xf6)]}),this[_0x5a531b(0x136)]&&(_0x5cb0b9[_0x5a531b(0x29f)](),_0x5cb0b9[_0x5a531b(0x270)](0x1,0x0,0x0,0x1,this['width'],this[_0x5a531b(0x13e)]===_0x5a531b(0x1bc)?0x0:-X),re[_0x5a531b(0x38b)](_0x5cb0b9,{'text':this['_name'],'color':this['_color']}),_0x5cb0b9[_0x5a531b(0x384)]());}}var wt=Object[_0x42d75e(0x357)],yt=(_0x4d7359,_0x306a5a,_0x480a08,_0x2a7101)=>{const _0x49c8dd=_0x42d75e;for(var _0x5d138e=_0x2a7101>0x1?void 0x0:_0x2a7101?wt(_0x306a5a,_0x480a08):_0x306a5a,_0x1563d1=_0x4d7359[_0x49c8dd(0x1f2)]-0x1,_0x990dfe;_0x1563d1>=0x0;_0x1563d1--)(_0x990dfe=_0x4d7359[_0x1563d1])&&(_0x5d138e=_0x990dfe(_0x5d138e)||_0x5d138e);return _0x5d138e;},ue=(_0x14177f,_0x160905)=>(_0x5e3b0c,_0x36e780)=>_0x160905(_0x5e3b0c,_0x36e780,_0x14177f);const $t=0x1389;let Ce=class extends a[_0x42d75e(0x1a2)]{constructor(_0x450114,_0x16f188,_0x66bf2e,_0x1a40ae){const _0x325ae9=_0x42d75e;super(),_(this,_0x325ae9(0xe9),new Set()),_(this,_0x325ae9(0x1ef),null),(this[_0x325ae9(0x316)]=_0x450114,this[_0x325ae9(0x1e0)]=_0x16f188,this[_0x325ae9(0xf9)]=_0x66bf2e,this[_0x325ae9(0x1e5)]=_0x1a40ae,this['_init']());}[_0x42d75e(0x1d3)](){const _0x58bb97=_0x42d75e;this['_sheetSkeletonManagerService'][_0x58bb97(0x39b)][_0x58bb97(0x2da)]($['takeUntil'](this[_0x58bb97(0x37a)]),$['switchMap'](_0x2bbf23=>{const _0x37ec70=_0x58bb97;if(_0x2bbf23){const _0x30d2dc=_0x2bbf23['sheetId'];return I[_0x37ec70(0x282)](this[_0x37ec70(0xf9)][_0x37ec70(0x392)](this[_0x37ec70(0x316)][_0x37ec70(0x178)]),this[_0x37ec70(0x1e5)][_0x37ec70(0x154)])[_0x37ec70(0x2da)]($[_0x37ec70(0x2ed)](([_0xa6c590,_0x21fab7])=>{const _0x2e19be=new Map();return _0xa6c590['forEach']((_0x42c997,_0x5e3925)=>{const _0x1d4a20=_0x24f5;if(_0x42c997[_0x1d4a20(0x35b)]===_0x30d2dc){const _0x58d34f={..._0x42c997};_0x58d34f[_0x1d4a20(0x309)]=this[_0x1d4a20(0x1e5)][_0x1d4a20(0x218)](_0x42c997[_0x1d4a20(0x309)]),_0x2e19be[_0x1d4a20(0x380)](_0x5e3925,_0x58d34f);}}),{'skeleton':_0x2bbf23,'cursors':_0x2e19be};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x58bb97(0x393)](({skeleton:_0x4395bc,cursors:_0x2d7ee1})=>{const _0x57ef20=_0x58bb97;this[_0x57ef20(0x222)](),_0x4395bc&&this[_0x57ef20(0x2ec)](_0x4395bc,_0x2d7ee1);}),this[_0x58bb97(0x1e0)][_0x58bb97(0x39b)][_0x58bb97(0x393)](_0x5a0399=>{const _0x149bb7=_0x58bb97;if(_0x5a0399==null)return;const {skeleton:_0x4e35f4}=_0x5a0399,{scene:_0x3b5dd8}=this[_0x149bb7(0x316)];_0x3b5dd8[_0x149bb7(0x151)][_0x149bb7(0xca)](a[_0x149bb7(0x13d)](_0x213813=>{const _0x4c7abd=_0x149bb7;var _0x14ea69,_0x387fb6;const {offsetX:_0x484224,offsetY:_0x537722}=_0x213813,{x:_0x48925c,y:_0x103154}=_0x3b5dd8[_0x4c7abd(0x18e)](C[_0x4c7abd(0x19c)][_0x4c7abd(0x277)]([_0x484224,_0x537722])),{scaleX:_0x3f2bc4,scaleY:_0x5e1b41}=_0x3b5dd8[_0x4c7abd(0x1b3)](),_0x568632=_0x3b5dd8[_0x4c7abd(0x285)](C[_0x4c7abd(0x160)][_0x4c7abd(0x121)]),_0x1187e1=_0x3b5dd8[_0x4c7abd(0x1ba)](C[_0x4c7abd(0x19c)][_0x4c7abd(0x277)]([_0x48925c,_0x103154]),_0x568632),_0x331959=_0x4e35f4[_0x4c7abd(0x20e)](_0x484224,_0x537722,_0x3f2bc4,_0x5e1b41,_0x1187e1);((_0x14ea69=this[_0x4c7abd(0x1ef)])==null?void 0x0:_0x14ea69[_0x4c7abd(0x108)])===_0x331959[_0x4c7abd(0x108)]&&((_0x387fb6=this[_0x4c7abd(0x1ef)])==null?void 0x0:_0x387fb6['row'])===_0x331959[_0x4c7abd(0x1c5)]||this[_0x4c7abd(0xe9)][_0x4c7abd(0x122)](_0x49be68=>{const _0x5d1896=_0x4c7abd;_0x49be68[_0x5d1896(0x33c)](_0x331959);});},0x64));});}[_0x42d75e(0x2ec)](_0x30d2e7,_0x35feac){const _0x3b4e55=_0x42d75e;var _0x87864b;const _0x474619=(_0x87864b=this[_0x3b4e55(0x1e0)][_0x3b4e55(0x1d6)]())==null?void 0x0:_0x87864b[_0x3b4e55(0x23f)];if(!_0x474619)return;const _0x30990c=this[_0x3b4e55(0x1f4)]();if(!_0x30990c)return;this['_cursors'][_0x3b4e55(0x122)](_0x306a81=>{const _0x460dc2=_0x3b4e55;_0x306a81[_0x460dc2(0x303)]();});const {scene:_0x44a3bf}=_0x30990c,_0x1c469d=xt(Array[_0x3b4e55(0x34f)](_0x35feac[_0x3b4e55(0x1ea)]()))['map'](_0xe51f61=>{const _0x2c6a78=_0x3b4e55,{color:_0x5171f6,range:_0x2fc1be,name:_0xd55765,selection:_0x2bee5a,sheetID:_0x166b1b}=_0xe51f61,{startColumn:_0x5324dc,startRow:_0xa91f08,endColumn:_0x4e4995,endRow:_0x5e6dbf}=_0x2fc1be,_0x571810=J[_0x2c6a78(0x1f1)](_0xa91f08,_0x5324dc,_0x44a3bf,_0x474619),_0x3c316b=J['getCoordByCell'](_0x5e6dbf,_0x4e4995,_0x44a3bf,_0x474619),{columnHeaderHeightAndMarginTop:_0x4f02ab}=_0x474619,{startX:_0x5cf426,startY:_0xd86e64}=_0x571810,{endX:_0x2b294f,endY:_0x46b24e}=_0x3c316b,_0x558365=_0x2b294f-_0x5cf426,_0x4d376e=_0x46b24e-_0xd86e64,_0x4bc96c={'labelPosition':_0xd86e64-_0x4f02ab>=X?_0x2c6a78(0x30c):_0x2c6a78(0x1bc),'sheetID':_0x166b1b,'range':_0x2fc1be,'color':_0x5171f6,'name':_0xd55765,'selection':_0x2bee5a,'left':_0x5cf426,'top':_0xd86e64,'width':_0x558365,'height':_0x4d376e,'evented':!0x1,'zIndex':$t};return new je(_0xd55765,_0x4bc96c);});_0x44a3bf[_0x3b4e55(0x3a0)](_0x1c469d,At),this[_0x3b4e55(0xe9)]=new Set(_0x1c469d);}[_0x42d75e(0x222)](){const _0x3e1d11=_0x42d75e;var _0x3d28f7;(_0x3d28f7=this[_0x3e1d11(0xe9)])==null||_0x3d28f7[_0x3e1d11(0x122)](_0xcfb9d6=>_0xcfb9d6[_0x3e1d11(0x31d)]());}[_0x42d75e(0x1f4)](){const _0xeddd5a=_0x42d75e;return J['getSheetObject'](this[_0xeddd5a(0x316)]['unit'],this['_context']);}};Ce=yt([ue(0x1,a[_0x42d75e(0x198)](J[_0x42d75e(0x21d)])),ue(0x2,a[_0x42d75e(0x198)](F)),ue(0x3,a[_0x42d75e(0x198)](a['ThemeService']))],Ce);function xt(_0x59d61c){const _0x2a0b70=_0x42d75e,_0x25e405=new Map();return _0x59d61c[_0x2a0b70(0x122)](_0x4f4494=>{const _0x421af5=_0x2a0b70;if(_0x25e405[_0x421af5(0x358)](_0x4f4494[_0x421af5(0x325)])){const _0x3f5e3c=_0x25e405[_0x421af5(0x1b5)](_0x4f4494[_0x421af5(0x325)]);_0x3f5e3c[_0x421af5(0x290)]+=',\x20'+_0x4f4494['name'];}else _0x25e405[_0x421af5(0x380)](_0x4f4494['selection'],_0x4f4494);}),Array[_0x2a0b70(0x34f)](_0x25e405[_0x2a0b70(0x1ea)]());}var Bt=Object['getOwnPropertyDescriptor'],Ft=(_0xaf9588,_0x41bf6f,_0x83c845,_0x427f15)=>{const _0x33994d=_0x42d75e;for(var _0x2ed603=_0x427f15>0x1?void 0x0:_0x427f15?Bt(_0x41bf6f,_0x83c845):_0x41bf6f,_0x5975ed=_0xaf9588[_0x33994d(0x1f2)]-0x1,_0x2b792e;_0x5975ed>=0x0;_0x5975ed--)(_0x2b792e=_0xaf9588[_0x5975ed])&&(_0x2ed603=_0x2b792e(_0x2ed603)||_0x2ed603);return _0x2ed603;},y=(_0x26b304,_0x571ba5)=>(_0x3a9bda,_0x44025c)=>_0x571ba5(_0x3a9bda,_0x44025c,_0x26b304);let Z=class extends a['Disposable']{constructor(_0x41767c,_0x379354,_0x1625a0,_0x10b33b,_0x1719ee,_0x4f33ac){const _0x2080f1=_0x42d75e;super(),this[_0x2080f1(0x246)]=_0x41767c,this[_0x2080f1(0x1fc)]=_0x379354,this['_collaborationUIEventService']=_0x1625a0,this[_0x2080f1(0x1ae)]=_0x10b33b,this['_notificationService']=_0x1719ee,this[_0x2080f1(0x39e)]=_0x4f33ac,this[_0x2080f1(0x166)](),this[_0x2080f1(0x36a)]();}[_0x42d75e(0x166)](){const _0x21c035=_0x42d75e;this[_0x21c035(0x155)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x583a5f=_0x21c035;if(this[_0x583a5f(0x1fc)][_0x583a5f(0xd6)][_0x583a5f(0x167)])return this[_0x583a5f(0x39e)]['t']('collaboration.offline-data-not-saved');}));}[_0x42d75e(0x36a)](){const _0x14db2e=_0x42d75e;this[_0x14db2e(0x155)](this[_0x14db2e(0x118)]['event$'][_0x14db2e(0x393)](_0x30513b=>{const _0x5bac68=_0x14db2e;_0x30513b['id']===u[_0x5bac68(0x389)][_0x5bac68(0x1d4)]&&this[_0x5bac68(0x1ae)]['show']({'type':p['MessageType'][_0x5bac68(0x1a4)],'content':this[_0x5bac68(0x39e)]['t'](_0x5bac68(0x1e9))}),_0x30513b['id']===u['CollaborationUIEventId'][_0x5bac68(0x14d)]&&this[_0x5bac68(0x1ae)]['show']({'type':p[_0x5bac68(0x13a)]['Warning'],'content':this['_localeService']['t'](_0x5bac68(0x33b))}),_0x30513b['id']===u[_0x5bac68(0x389)][_0x5bac68(0x258)]&&this['_notificationService']['show']({'title':this[_0x5bac68(0x39e)]['t'](_0x5bac68(0x11d)),'content':this[_0x5bac68(0x39e)]['t'](_0x5bac68(0x350)),'type':_0x5bac68(0x21a),'duration':0x0}),_0x30513b['id']===u[_0x5bac68(0x389)][_0x5bac68(0x25c)]&&this[_0x5bac68(0x1ae)]['show']({'type':p[_0x5bac68(0x13a)][_0x5bac68(0x2ae)],'content':this[_0x5bac68(0x39e)]['t'](_0x5bac68(0x33b))+'('+_0x30513b['data']+')'}),_0x30513b['id']===u[_0x5bac68(0x389)][_0x5bac68(0x296)]&&this[_0x5bac68(0x1ae)][_0x5bac68(0x1b8)]({'type':p[_0x5bac68(0x13a)][_0x5bac68(0x1a4)],'content':this['_localeService']['t'](_0x30513b[_0x5bac68(0x172)]||'')}),_0x30513b['id']===u[_0x5bac68(0x389)]['SOCKET_FAILED_RETRY']&&this[_0x5bac68(0x1ae)][_0x5bac68(0x1b8)]({'type':p['MessageType'][_0x5bac68(0x1a4)],'content':this['_localeService']['t'](_0x5bac68(0x1eb))}),_0x30513b['id']===u[_0x5bac68(0x389)][_0x5bac68(0x1cf)]&&this[_0x5bac68(0x1ae)]['show']({'type':p[_0x5bac68(0x13a)]['Error'],'content':this['_localeService']['t'](_0x5bac68(0x260))}),_0x30513b['id']===u['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5bac68(0x1ae)]['show']({'type':p['MessageType'][_0x5bac68(0x2ae)],'content':this[_0x5bac68(0x39e)]['t'](_0x5bac68(0x194))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x42d75e(0x198)](u['CollaborationUIEventService'])),y(0x3,O[_0x42d75e(0x275)]),y(0x4,O[_0x42d75e(0x2e3)]),y(0x5,a[_0x42d75e(0x198)](a[_0x42d75e(0x12f)]))],Z);var jt=Object[_0x42d75e(0x357)],kt=(_0x117ec5,_0x247d87,_0xb4feb6,_0x3cfa07)=>{const _0x2e6211=_0x42d75e;for(var _0x44d820=_0x3cfa07>0x1?void 0x0:_0x3cfa07?jt(_0x247d87,_0xb4feb6):_0x247d87,_0x291b93=_0x117ec5[_0x2e6211(0x1f2)]-0x1,_0x515ba0;_0x291b93>=0x0;_0x291b93--)(_0x515ba0=_0x117ec5[_0x291b93])&&(_0x44d820=_0x515ba0(_0x44d820)||_0x44d820);return _0x44d820;},z=(_0x1e1c52,_0x28232c)=>(_0x149513,_0x3584d3)=>_0x28232c(_0x149513,_0x3584d3,_0x1e1c52);let Q=class extends a['Disposable']{constructor(_0x24b028,_0xe07420,_0x16c71d,_0x1ff510){const _0x59994a=_0x42d75e;super(),_(this,'_memberID'),(this[_0x59994a(0x168)]=_0x24b028,this['_httpService']=_0xe07420,this[_0x59994a(0x2c5)]=_0x16c71d,this[_0x59994a(0x146)]=_0x1ff510,this[_0x59994a(0x1d3)]());}[_0x42d75e(0x1d3)](){const _0x548465=_0x42d75e;this[_0x548465(0x2a2)](),this[_0x548465(0x29c)](),this[_0x548465(0xfa)](),this[_0x548465(0x188)]();}[_0x42d75e(0x188)](){const _0x404b08=_0x42d75e;this['disposeWithMe'](this['_collaborationSessionService'][_0x404b08(0x2f2)][_0x404b08(0x393)](_0x33b302=>{const _0x5b3918=_0x404b08;this[_0x5b3918(0x299)]=_0x33b302==null?void 0x0:_0x33b302['memberID'];}));}[_0x42d75e(0x2a2)](){const _0x15a6d1=_0x42d75e,_0xe50ef3=_0x41cb57=>{const _0x4b2f68=_0x24f5;var _0x2e4767;this[_0x4b2f68(0x16e)](_0x4b2f68(0x21a),_0x4b2f68(0x173)+_0x41cb57[_0x4b2f68(0x2e0)]+_0x4b2f68(0x300)+_0x41cb57['filename']+':'+_0x41cb57[_0x4b2f68(0x1bb)]+':'+_0x41cb57[_0x4b2f68(0xeb)]+'\x0a'+(((_0x2e4767=_0x41cb57['error'])==null?void 0x0:_0x2e4767[_0x4b2f68(0x381)])||''));};window['addEventListener']('error',_0xe50ef3),this[_0x15a6d1(0x155)](()=>{const _0x48b317=_0x15a6d1;window[_0x48b317(0xd3)](_0x48b317(0x21a),_0xe50ef3);});}['_initUnhandledRejectionListener'](){const _0x1bd59a=_0x42d75e,_0xaa3004=_0x2b92f6=>{const _0xa8fa9f=_0x24f5;this[_0xa8fa9f(0x16e)](_0xa8fa9f(0x21a),'[Unhandled\x20Rejection]:\x20'+_0x2b92f6[_0xa8fa9f(0x288)]);};window[_0x1bd59a(0x2fd)]('unhandledrejection',_0xaa3004),this[_0x1bd59a(0x155)](()=>{const _0x500777=_0x1bd59a;window[_0x500777(0xd3)](_0x500777(0x284),_0xaa3004);});}[_0x42d75e(0xfa)](){const _0x1512b8=_0x42d75e,_0x5bc523=this[_0x1512b8(0x2c5)]['error'][_0x1512b8(0x231)](this[_0x1512b8(0x2c5)]);this['_logService'][_0x1512b8(0x21a)]=(..._0x81d31f)=>{const _0x8c0f37=_0x1512b8,_0x439d3f=_0x81d31f[_0x8c0f37(0x2ed)](_0x5f0e19=>_0x5f0e19 instanceof Error?_0x5f0e19[_0x8c0f37(0x2e0)]+'\x0a'+_0x5f0e19[_0x8c0f37(0x381)]:String(_0x5f0e19))[_0x8c0f37(0x1cb)]('\x20');this['_uploadLog']('error',_0x8c0f37(0x1ed)+_0x439d3f),_0x5bc523(..._0x81d31f);},this[_0x1512b8(0x155)](()=>{const _0xb6fbef=_0x1512b8;this[_0xb6fbef(0x2c5)][_0xb6fbef(0x21a)]=_0x5bc523;});}[_0x42d75e(0x16e)](_0x138f38,_0x558620){const _0x2fccb3=_0x42d75e;try{const _0x47f911={'userId':this[_0x2fccb3(0x299)],'logLabel':_0x138f38,'content':_0x558620};this[_0x2fccb3(0x107)]['post']('/universer-api/frontend/logs',{'body':_0x47f911})[_0x2fccb3(0x109)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x42d75e(0x198)](a[_0x42d75e(0x338)])),z(0x1,a[_0x42d75e(0x198)](x[_0x42d75e(0x240)])),z(0x2,a[_0x42d75e(0x1a1)]),z(0x3,a[_0x42d75e(0x198)](u[_0x42d75e(0x1f0)]))],Q);const Yt=_0x42d75e(0xe8),Me={};function _0x4d42(){const _0x140f1b=['width','EMAIL_VERIFY_CODE_MISMATCH','MemberService','_initStatusListener','connectInjector','LOCAL_CACHE_INTERVAL','onPointerEnter$','SetTextSelectionsOperation','_updateCollabCursors','map','url(#$1','_refreshCollabCursors','Shape','runId','socket$','maxFormulaLimit','_showGuardMessage','post','addHandlerCallback','endRow','DocCollaborationEntity','subunit','assign','RevisionService','_univerInstanceService','addEventListener','idSuffix','saveImage','\x20at\x20','_collabSessionService','_handleEvent','makeDirty','_initResize','with','setActiveRange','SetFormulaCalculationStartMutation','unload','color','_lastResponseTimestamp','_anchor','top','INVITE_CODE_REQUIRED','mask','_maxFormulaLimit','_eventUnsubscribe','_transformPreviousActiveRange','LICENSE_MAX_UNITS_EXCEEDED','_collaborationController','_docSkeletonManagerService','getUnhiddenWorksheets','_context','5OMLiYq','getSheetBySheetId','USERS_LEAVE','ENTITLE_COUPON_USED_UP','4520154bOHRjx','onCommandExecuted','dispose','_docTransformSelectionsService','none','BehaviorSubject','setShapeProps','defs','RegularPolygon','CollaborationController','selection','OFFLINE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','takeUntil','APPLY_PERMISSION_DENIED','on-line-icon_clip0_910_349','UNDEFINED','TEXT','ranges','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','_online','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','green.600','WECHAT_HAS_BEEN_BOUND','fromEventSubject','substring','unsubscribe','yellow.400','Injector','EffectRefRangId','roomMembers','collaboration.closeRoom','onMouseMove','min','/run/','InsertRangeMoveDownCommandId','formula.calculation.unable','IUIPartsService','_createSocketURL','createInstance','url(#on-line-icon_clip0_910_349)','_disabled','defineProperty','0\x200\x2016\x2016','off-line-icon','formula.calculation.waiting','ColorKit','application/json','MOBILE_HAS_BEEN_BOUND','NodePositionConvertToCursor','createIdentifier','from','permission.content','clearTimeout','off-line-icon_clip0_910_343','DocSelectionManagerService','getDocRanges','_scene','?taskId=','getOwnPropertyDescriptor','has','blue.400','SNAPSHOT_INVALID_SNAPSHOT','sheetID','_transformUndoRedoStack','REDEMPTION_CODE_INACTIVE','_colorIndex','toDisposable','IDocClipboardService','_getSaveTimeout','_ensureSubject','_registerRenderDependencies','getMember','_entities','IConfigService','collabStatus.notCollab','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','_initEvent','unshift','PAYMENT_CHANNEL_NOT_SUPPORT','getRangePointData','fillRule','_checkAndWaitForCalculationPermission','releaseFormulaLimitUrl','cursorInfo$','ACTIVE_UNIT_EVENT_CHANNEL','resize','useObservable','flatMap','CollaborationDataLoaderController','handleInsertCol','/universer-api/license/formula/limit/start','_pollingInterval','dispose$','urlChange$','getSheetId','parseInt','getConfig','_cursorInfo$','set','stack','getUnit','CONNECTOR_DATA_TOO_LARGE','restore','collabCursorState$','fillText','AUTHORIZE_CODE_ILLEGAL','history','CollaborationUIEventId','#FFF','drawWith','UniverInstanceType','init','_initStatusComponent','uni.network.url-service','_syncEditingCollabCursorService','collab-client.tooltip.reconnect','getCollabCursors$','subscribe','labelPosition','_getMergeRange','AWAITING_WITH_PENDING','getUnitId','defIds','tag','_docTransformIMECacheService','currentSkeleton$','REDEMPTION_CODE_HAS_BEEN_CREATED','sessionStatus$','_localeService','LOGIN_TOKEN_PROCESSING_FAILED','addObjects','event$','pushState','origin','docStateChange$','forwardRef','_handleJoinEvent','subscribeEvent','_transformHistoryAndStateStack','_initCommandExecutedListener','_applyCommand','currentUsage','_docSkeleton','loadOfflineData','exhaustSavingTask','_urlService','removeEventListener','1em','_entityInit$','saveTaskMap','useDependency','DesktopCollaborationStatusDisplayController','RemoteUniscriptService','UNRECOGNIZED','undoState','Unknown\x20user','UnitStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','arc','_setFormulaLimitStatus','CHANGESET_REVISION_CONFILICT','children','shift','isEditing','RemoveColCommandId','on-line-icon','isTransformMutationFailure','collaboration-client-ui.config','_cursors','transformMutation','colno','_scheduleSaving','next','code','APPLY_DUPLICATED','_uiPartsService','isFormulaId','UPDATE_CURSOR','attrs','collab-text-range-','_handleHover','_backgroundColor','NO_OTHER_CLIENTS_EDITING','startsWith','_collabCursorController','_monkeyPatchLogService','_render','UniverCollaborationClientPlugin','RemoveRowCommandId','replaceState','entries','transformStateCache','/universer-api/license/formula/limit/status','ENTITLE_USE_COUPON_NOT_1ST_TRADE','executionId','getColor','touchDependencies','DocSkeletonManagerService','_httpService','column','catch','_startCalculationLimit','_name','_onRefRangeChange','DeleteRangeMoveUpCommandId','InsertRangeMoveRightCommandId','assignAColorForMemberID','subUnitId','CURRENT_STATUS_CANNOT_OPERATE','_currentUsage','text','_heartbeatTimer','registerComponent','redoState','font','_collaborationUIEventService','CommandType','handleInsertRangeMoveRight','RefRangeService','NOT_FOUND','permission.title','7vrFtaM','_onCursorDelete','isActive','VIEW_MAIN','forEach','onStarting','_cursorShapes','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','black','split','_initCommandInterceptor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loadUnit','setParam','colorChannel1','LOCAL_CACHE_INTERVAL_KEY','eventID','LocaleService','_hideTimer','collab-rect-range-','generateRandomId','all','YUUMI_ASYNCIO_CANCELLED','REDEMPTION_INVALID_CODE','_hovered','_dataLoaderService','IRemoteInstanceService','backgroundColor','MessageType','measureText','textRanges','debounce','_labelPosition','useRef','INVALID_ARGUMENT','univer-flex\x20univer-items-center','IRenderManagerService','fromEvent','toRgbString','MOBILE_VERIFY_CODE_MISMATCH','_collaborationSessionService','AWAITING','getCurrentSelections','roomMembers$','getMemberID','9573777uinfJc','_saveCache','CLOSE_ROOM','deepClone','_updateURLWithCurrentState','ENTITLE_NEED_BILLING_ADDRESS','onPointerMove$','collabStatus.synced','getRenderById','currentTheme$','disposeWithMe','override','ENSURE_SNAPSHOT_EXECUTION','switchMap','isArray','pluginName','SheetsSelectionsService','ENTITLE_INSUFFICIENT_QUOTA','collabStatus.offline','transformSelections','_transformService','SHEET_VIEWPORT_KEY','_session','_updateSubUnitFromURLParams','ENTITLE_INVALID_COUPON_CODE','removeParam','getFocusedUnit','_setupBeforeClosingHandler','size','_injector','registerRenderModule','transformIMECache','lineTo','actions','mutations','_uploadLog','ENTITLE_REPORT_LIMIT_EXCEED','CollaborationSocketService','SessionStatus','data','[Window\x20Error]:\x20','getMergeData','hide','SheetCollabCursorShape','fillStyle','unitId','LICENSE_EXPORT_SIZE_EXCEEDED','saveOfflineData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','complete','DOC_RANGE_TYPE','reconnect','symbol','send','_draw','div','_setupSubUnitSync','contains','_getSessionTicket','NOT_COLLAB','_startSheetCollabCursor','_initUserListener','USER_IS_ANONYMOUS','_updateLocalCursor','_config','LICENSE_IMPORT_SIZE_EXCEEDED','add','getRelativeToViewportCoord','_refRangeService','_getFormulaLimitStatus','_renderManagerService','ALREADY_EXISTS','REDEMPTION_CODE_FULLY_REDEEMED','session.collaboration-timeout','getTypeOfUnitDisposed$','START_CALCULATION','UNIVER_SHEET','Inject','BuiltInUIPart','ILocalStorageService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Vector2','_registerDependencies','0\x200\x2017\x2016','key','ISnapshotServerService','ILogService','RxDisposable','ENTITLE_CHAT_LIMIT_EXCEED','Warning','REDEMPTION_CODE_NOT_STARTED','8859272phcwHn','DependentOn','_drawTextRange','executeCommand','_imageIoService','svg','UNIVER_DOC','getCollabEntity$','_messageService','_docSyncEditingCollabCursorService','imageSourceType','setUndoRedoMutationParamsCache','unitID','getAncestorScale','_anchorDot','get','handleInsertRow','_docTransformStateCacheService','show','parse','getVpScrollXYInfoByPosToVp','lineno','bottom','sessionTicket','DeleteRangeMoveLeftCommandId','APPLY_REVISION_CONFILICT','_docClipboardService','_releaseCalculationLimit','disableLocalCache','fill','COLORS','row','_initDependencies','setStateCache','_memberService','UniverCollaborationClientUIPlugin','find','join','getUndoRedoMutationParamsCache','max','WebBrowserSingleActiveUnitService','SOCKET_FAILED','now','ENTITLE_COUPON_EXPIRED','closePath','_init','OTHER_CLIENT_EDITING','_hover','getCurrent','memberID','RichTextEditingMutation','_colorAssignService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','url(#off-line-icon_clip0_910_343)','handleDeleteRangeMoveUp','asObservable','current','SetSelectionsOperation','_sheetSkeletonManagerService','push','RECT','IUniverInstanceService','getParam','_themeService','_textBubble','cursorInfo','focused$','collaboration.single-unit.warning','values','session.will-retry','transformByState','[LogService\x20Error]:\x20','runOnServer','_lastPointer','CollaborationSessionService','getCoordByCell','length','range','_getSheetObject','CollaborationStatus','getCurrentRevOfUnit','DisposableCollection','setTimeout','INVALID_INVITE_CODE','shareReplay','720994foiFve','_localCacheService','random','SUCCESS','invokeId','SetWorksheetActivateCommand','_status$','filter','OnLineIcon','_clearOtherTimers','USER_NOT_FOUND','_document','M0\x200H16V16H0z','_collabCursorState$','getCurrentUnitForType','DataLoaderService','/universer-api/license/formula/limit/done','handleIRemoveCol','INVITE_CODE_HAS_BEEN_UES','getCellPositionByOffset','limitInfo','_send','getItem','YUUMI_SUBSCRIPTION_NOT_FOUND','5957990NUEGBb','throttleTime','collabStatus.syncing','clipPath','_unitStatus','getColorFromTheme','4luLdKY','error','syncEditingCollabCursor','MUTATION','SheetSkeletonManagerService','_cachedData','univerjs-icon\x20univerjs-icon-','deserializeRangeWithSheet','_assignedColors','_removeCollabCursors','onTransformChange$','handleDeleteRangeMoveLeft','startColumn','_scheduleHeartbeat','ENTITLE_CAN_NOT_BUY_LOWER_OTP','InsertColCommandId','_color','enableFrontendLog','Module','FormulaExecuteStageType','then','useCallback','_shapes','INTERNAL_ERROR','bind','IURLService','setAlpha','PENDING','getActiveSheet','_instanceService','DocIMEInputManagerService','unit','enableLocalCache','_commandService','YUUMI_CONNECTOR_URL_NOT_FOUND','_toggleOnline','HEADER_MENU','YUUMI_ALL_TABLES_IS_INVALID','skeleton','HTTPService','_clearPolling','path','_initEntityListener','m2Prime','red.300','_beforeCloseService','getActiveRange','getStateCache','ENTITLE_DUP_SUBSCRIPTION','ISocketService','delete','Loading','Tools','_scheduleClearOtherTimer','xlink:href','registerDependencies','YUUMI_RATE_OVER_LIMIT','setConfig','_drawRectRange','Rect','selections','[RemoteUniscriptService]:\x20no\x20focused\x20unit','isFormulaString','PERMISSION_DENIED','_handleHeartbeatEvent','APPLY_NON_SEQUENTIAL_REVISION','use','CONFLICT','setItem','newValue','_onCursorUpdate','session.connection-failed','253514ufUhRk','displayName','_checkCalculationAvailable','TOO_MANY_REQUESTS','Disposable','findNodePositionByCharIndex','merge','source','ERROR_AGAIN','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','http://www.w3.org/2000/svg','entityInit$','getSkeleton','_docStateChangeManagerService','evenodd','transform','YUUMI_NO_CUBOID_FOR_QUESTION','univer-mr-2\x20univer-flex\x20univer-text-xl','addObject','Failed','IMessageService','hovered','FromArray','searchParams','InsertRowCommandId','COMPLETION_FINISHED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','triggerDblclick','IImageIoService','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_drawAnchor','params','combineLatest','_cursor','unhandledrejection','getViewport','2960142EluDFl','onLocalMutation','reason','currentColor','jsxs','toString','...','ICommandService','WebURLService','updateOfflineData','name','CollaborationEvent','_getScale','result','formula.calculation.started','debug','JOIN_ROOM_FAILED','createElement','_selfUnitIDs','_memberID','Subject','replace','_initUnhandledRejectionListener','location','string','save','SetFormulaCalculationNotificationMutation','APPLY_REJECT','_initWindowErrorListener','BrowserCollaborationSocketService','ticket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LICENSE_DISTRO_REJECTED','SNAPSHOT_HAS_BEEN_REMOVED','MoveRangeCommandId','_id','_unitOnClients','getValue','getCellMatrix','debounceTime','Error','height','m1Prime','popstate','YUUMI_UNABLE_LOAD_URL','engine','REDEMPTION_USER_NOT_ELIGIBLE','body','_localStorageService','getLocalCacheKey','round','dirtyRanges','setInterval','type','OTHER_CLIENTS_EDITING','registerRefRange','_toggleOffline','_removeClearOtherTimer','_configService','mapTo','onPointerLeave$','jsx','DATA_SOURCE_TOO_LARGE','_logService','EMAIL_HAS_BEEN_BOUND','_taskIds','UNAUTHENTICATED','_getAnchorBounding','Workbook','_hasFormulaInDirtyRanges','transformRemoteChangeset','ILocalCacheService','ITransformService','disposeUnit','distinctUntilChanged','[CollaborationDataLoaderController]','href','requireSession','doc.mutation.rich-text-editing','getUnitStatus$','DocStateChangeManagerService','search','status$','_range','pipe','jiqing.500','includes','clearInterval','_saveTaskMap','TEXT_RANGE_LAYER_INDEX','message','NodePositionConvertToRectRange','_roomMembers$','INotificationService'];_0x4d42=function(){return _0x140f1b;};return _0x4d42();}var Ht=Object[_0x42d75e(0x357)],Wt=(_0x15ed85,_0x580fea,_0x448c71,_0x20b9e0)=>{for(var _0x516e4b=_0x20b9e0>0x1?void 0x0:_0x20b9e0?Ht(_0x580fea,_0x448c71):_0x580fea,_0xdfa98f=_0x15ed85['length']-0x1,_0x38199e;_0xdfa98f>=0x0;_0xdfa98f--)(_0x38199e=_0x15ed85[_0xdfa98f])&&(_0x516e4b=_0x38199e(_0x516e4b)||_0x516e4b);return _0x516e4b;},Ae=(_0x26d0a8,_0x14841f)=>(_0x416a9a,_0xc77a99)=>_0x14841f(_0x416a9a,_0xc77a99,_0x26d0a8);let ee=class{constructor(_0xd5d593,_0x200515){const _0x59d3ce=_0x42d75e;this[_0x59d3ce(0x15f)]=_0xd5d593,this['_renderManagerService']=_0x200515;}['transformIMECache'](_0x4fe843){this['_transformUndoRedoStack'](_0x4fe843),this['_transformPreviousActiveRange'](_0x4fe843);}['transformRemoteChangeset'](_0x2af7d2){const _0x438266=_0x42d75e,{unitID:_0x6f0c84}=_0x2af7d2,_0x40190f=this[_0x438266(0x191)]['getRenderById'](_0x6f0c84)['with'](T['DocIMEInputManagerService']),{redoCache:_0x294c0d}=_0x40190f[_0x438266(0x1cc)]();if(_0x294c0d[_0x438266(0x1f2)]===0x0)return _0x2af7d2;let _0x46374a=a[_0x438266(0x24d)][_0x438266(0x14e)](_0x2af7d2[_0x438266(0x16d)][0x0]);for(let _0x4e7d22=0x0;_0x4e7d22<_0x294c0d[_0x438266(0x1f2)];_0x4e7d22++){const _0x1456ce={'id':_0x438266(0x2d4),'params':{..._0x294c0d[_0x4e7d22]}},_0x148f8e=this[_0x438266(0x15f)][_0x438266(0xea)](_0x46374a,_0x1456ce,!0x1);if(g['isTransformMutationFailure'](_0x148f8e))throw _0x148f8e['error'];_0x46374a=_0x148f8e[_0x438266(0x2b0)];}return{...a[_0x438266(0x24d)][_0x438266(0x14e)](_0x2af7d2),'mutations':[_0x46374a]};}[_0x42d75e(0x35c)](_0x15b803){const _0x389735=_0x42d75e,{unitID:_0x50114c}=_0x15b803,_0x1c5a72=this[_0x389735(0x191)][_0x389735(0x153)](_0x50114c)['with'](T['DocIMEInputManagerService']),{undoCache:_0x2986f7,redoCache:_0x60d6c}=_0x1c5a72[_0x389735(0x1cc)]();if(_0x2986f7[_0x389735(0x1f2)]===0x0||_0x60d6c[_0x389735(0x1f2)]===0x0)return;const _0x4c1f5a=[],_0x3d325c=[];let _0x1ad8a0=a['Tools'][_0x389735(0x14e)](_0x15b803['mutations'][0x0]),_0x5aa5bf=a[_0x389735(0x24d)][_0x389735(0x14e)](_0x15b803[_0x389735(0x16d)][0x0]);for(let _0x4ed32c=_0x2986f7['length']-0x1;_0x4ed32c>=0x0;_0x4ed32c--){const _0x5428d8={'id':_0x389735(0x2d4),'params':{..._0x2986f7[_0x4ed32c]}},_0x4393c1={'id':'doc.mutation.rich-text-editing','params':{..._0x60d6c[_0x4ed32c]}},_0x378cb4=this[_0x389735(0x15f)]['transformMutation'](_0x1ad8a0,_0x5428d8,!0x1),_0x32373f=this[_0x389735(0x15f)][_0x389735(0xea)](_0x5aa5bf,_0x4393c1,!0x1);if(g[_0x389735(0xe7)](_0x378cb4))throw _0x378cb4[_0x389735(0x21a)];if(g['isTransformMutationFailure'](_0x32373f))throw _0x32373f[_0x389735(0x21a)];_0x4c1f5a[_0x389735(0x36b)](_0x378cb4[_0x389735(0x244)][_0x389735(0x281)]),_0x3d325c[_0x389735(0x36b)](_0x32373f['m2Prime'][_0x389735(0x281)]),_0x1ad8a0=_0x378cb4[_0x389735(0x2b0)],_0x5aa5bf=_0x32373f[_0x389735(0x2b0)];}_0x1c5a72[_0x389735(0x1b1)]({'undoCache':_0x4c1f5a,'redoCache':_0x3d325c});}[_0x42d75e(0x311)](_0x3e8bd2){const _0x1dd1d3=_0x42d75e,{unitID:_0x4ec898}=_0x3e8bd2,_0x58da0c=this['_renderManagerService'][_0x1dd1d3(0x153)](_0x4ec898)[_0x1dd1d3(0x305)](T[_0x1dd1d3(0x237)]),_0x44779e=_0x58da0c[_0x1dd1d3(0x247)]();if(_0x44779e==null)return;const _0x14b8ce=[{'id':_0x1dd1d3(0x2d4),'params':{'unitId':_0x3e8bd2[_0x1dd1d3(0x1b2)],'actions':null,'textRanges':[_0x44779e]}}],_0x318a96=this['_transformService']['transformMutationsWithChangeset'](_0x3e8bd2,_0x14b8ce);if(!g[_0x1dd1d3(0x369)](_0x318a96))throw _0x318a96['error'];const _0x390ce5=_0x318a96[_0x1dd1d3(0x244)][0x0][_0x1dd1d3(0x281)][_0x1dd1d3(0x13c)];Array['isArray'](_0x390ce5)&&_0x390ce5[_0x1dd1d3(0x1f2)]&&_0x58da0c[_0x1dd1d3(0x306)](_0x390ce5[0x0]);}};ee=Wt([Ae(0x0,g[_0x42d75e(0x2ce)]),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object[_0x42d75e(0x357)],Gt=(_0x544810,_0x4682b5,_0x5b164f,_0x13e94a)=>{for(var _0x3a9103=_0x13e94a>0x1?void 0x0:_0x13e94a?Vt(_0x4682b5,_0x5b164f):_0x4682b5,_0x4d911d=_0x544810['length']-0x1,_0x3c7d3e;_0x4d911d>=0x0;_0x4d911d--)(_0x3c7d3e=_0x544810[_0x4d911d])&&(_0x3a9103=_0x3c7d3e(_0x3a9103)||_0x3a9103);return _0x3a9103;},Ie=(_0x3223a4,_0x2423fe)=>(_0x53b7ba,_0x57d5ef)=>_0x2423fe(_0x53b7ba,_0x57d5ef,_0x3223a4);let te=class{constructor(_0x329f61,_0x35d463,_0x1bcb68){const _0x32db8f=_0x42d75e;this[_0x32db8f(0x168)]=_0x329f61,this[_0x32db8f(0x15f)]=_0x35d463,this['_docStateChangeManagerService']=_0x1bcb68;}['transformStateCache'](_0xd7c2c5){const _0x3ccea=_0x42d75e;this[_0x3ccea(0xcb)](_0xd7c2c5);}[_0x42d75e(0x2cc)](_0x16d97a){const _0x5a11c4=_0x42d75e,{unitID:_0x38ca33}=_0x16d97a,{collaboration:_0x3b0934}=this[_0x5a11c4(0x26e)]['getStateCache'](_0x38ca33);if(_0x3b0934[_0x5a11c4(0x1f2)]===0x0)return _0x16d97a;let _0xaa8d8e=a['Tools'][_0x5a11c4(0x14e)](_0x16d97a[_0x5a11c4(0x16d)][0x0]);for(let _0x16b85a=0x0;_0x16b85a<_0x3b0934[_0x5a11c4(0x1f2)];_0x16b85a++){const _0x54a743={'id':_0x5a11c4(0x2d4),'params':{'unitId':_0x3b0934[_0x16b85a][_0x5a11c4(0x178)],..._0x3b0934[_0x16b85a][_0x5a11c4(0x116)]}},_0x4cd50f=this['_transformService']['transformMutation'](_0xaa8d8e,_0x54a743,!0x1);if(g[_0x5a11c4(0xe7)](_0x4cd50f))throw _0x4cd50f['error'];_0xaa8d8e=_0x4cd50f[_0x5a11c4(0x2b0)];}return{...a['Tools'][_0x5a11c4(0x14e)](_0x16d97a),'mutations':[_0xaa8d8e]};}[_0x42d75e(0xcb)](_0x1dfde7){const _0x35165c=_0x42d75e,{unitID:_0x3b4a47}=_0x1dfde7,{history:_0x5ce5fd,collaboration:_0x107f1c}=this['_docStateChangeManagerService'][_0x35165c(0x248)](_0x3b4a47);if(_0x5ce5fd[_0x35165c(0x1f2)]===0x0&&_0x107f1c[_0x35165c(0x1f2)]===0x0)return;const _0x1ce492=[],_0x3fee86=[];let _0x31d919=a[_0x35165c(0x24d)][_0x35165c(0x14e)](_0x1dfde7[_0x35165c(0x16d)][0x0]),_0x376f86=a['Tools'][_0x35165c(0x14e)](_0x1dfde7[_0x35165c(0x16d)][0x0]);for(let _0x11ccfc=_0x5ce5fd['length']-0x1;_0x11ccfc>=0x0;_0x11ccfc--){const _0x2161bc={'id':_0x35165c(0x2d4),'params':{'unitId':_0x5ce5fd[_0x11ccfc][_0x35165c(0x178)],..._0x5ce5fd[_0x11ccfc][_0x35165c(0xdb)]}},_0xa2d791={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ce5fd[_0x11ccfc][_0x35165c(0x178)],..._0x5ce5fd[_0x11ccfc][_0x35165c(0x116)]}},_0x685190=this[_0x35165c(0x15f)][_0x35165c(0xea)](_0x31d919,_0x2161bc,!0x1),_0x5b1810=this[_0x35165c(0x15f)][_0x35165c(0xea)](_0x376f86,_0xa2d791,!0x1);if(g['isTransformMutationFailure'](_0x685190))throw _0x685190['error'];if(g['isTransformMutationFailure'](_0x5b1810))throw _0x5b1810[_0x35165c(0x21a)];_0x1ce492[_0x35165c(0x36b)]({..._0x5ce5fd[_0x11ccfc],'undoState':_0x685190['m2Prime'][_0x35165c(0x281)],'redoState':_0x5b1810[_0x35165c(0x244)]['params']}),_0x31d919=_0x685190['m1Prime'],_0x376f86=_0x5b1810['m1Prime'];}_0x31d919=a[_0x35165c(0x24d)][_0x35165c(0x14e)](_0x1dfde7[_0x35165c(0x16d)][0x0]),_0x376f86=a[_0x35165c(0x24d)][_0x35165c(0x14e)](_0x1dfde7[_0x35165c(0x16d)][0x0]);for(let _0x28d689=_0x107f1c[_0x35165c(0x1f2)]-0x1;_0x28d689>=0x0;_0x28d689--){const _0x56bf8b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x107f1c[_0x28d689][_0x35165c(0x178)],..._0x107f1c[_0x28d689][_0x35165c(0xdb)]}},_0x4de347={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x107f1c[_0x28d689]['unitId'],..._0x107f1c[_0x28d689][_0x35165c(0x116)]}},_0x3e8bcb=this[_0x35165c(0x15f)]['transformMutation'](_0x31d919,_0x56bf8b,!0x1),_0x49af1c=this['_transformService']['transformMutation'](_0x376f86,_0x4de347,!0x1);if(g['isTransformMutationFailure'](_0x3e8bcb))throw _0x3e8bcb[_0x35165c(0x21a)];if(g[_0x35165c(0xe7)](_0x49af1c))throw _0x49af1c[_0x35165c(0x21a)];_0x3fee86['unshift']({..._0x107f1c[_0x28d689],'undoState':_0x3e8bcb['m2Prime'][_0x35165c(0x281)],'redoState':_0x49af1c['m2Prime'][_0x35165c(0x281)]}),_0x31d919=_0x3e8bcb[_0x35165c(0x2b0)],_0x376f86=_0x49af1c[_0x35165c(0x2b0)];}this[_0x35165c(0x26e)][_0x35165c(0x1c7)](_0x3b4a47,{'history':_0x1ce492,'collaboration':_0x3fee86});}};te=Gt([Ie(0x0,a[_0x42d75e(0x198)](a[_0x42d75e(0x338)])),Ie(0x1,g['ITransformService']),Ie(0x2,a[_0x42d75e(0x198)](T['DocStateChangeManagerService']))],te);var Xt=Object[_0x42d75e(0x357)],Kt=(_0x430f9f,_0x366b4d,_0x27dad1,_0x678d15)=>{const _0x3f8480=_0x42d75e;for(var _0x3f81cf=_0x678d15>0x1?void 0x0:_0x678d15?Xt(_0x366b4d,_0x27dad1):_0x366b4d,_0x234002=_0x430f9f[_0x3f8480(0x1f2)]-0x1,_0x510c81;_0x234002>=0x0;_0x234002--)(_0x510c81=_0x430f9f[_0x234002])&&(_0x3f81cf=_0x510c81(_0x3f81cf)||_0x3f81cf);return _0x3f81cf;},Pe=(_0xe19d17,_0xf933b8)=>(_0x3cf45e,_0x5d043e)=>_0xf933b8(_0x3cf45e,_0x5d043e,_0xe19d17);let se=class{constructor(_0x81f83d,_0x4845ea){const _0x48e671=_0x42d75e;this[_0x48e671(0x168)]=_0x81f83d,this[_0x48e671(0x15f)]=_0x4845ea;}[_0x42d75e(0x15e)](_0x487575){const _0x3259a1=_0x42d75e;var _0x3e265b;const _0x3eabd7=this[_0x3259a1(0x168)][_0x3259a1(0x1b5)](V[_0x3259a1(0x353)]),_0x3c1c85=(_0x3e265b=_0x3eabd7[_0x3259a1(0x354)]())!=null?_0x3e265b:[];if(_0x3c1c85[_0x3259a1(0x1f2)]===0x0)return;const _0x426a14=_0x487575[_0x3259a1(0x1b2)],_0x148f23=[{'id':_0x3259a1(0x2d4),'params':{'unitId':_0x426a14,'actions':null,'textRanges':_0x3c1c85}}],_0x598ca2=this['_transformService']['transformMutationsWithChangeset'](_0x487575,_0x148f23);if(!g[_0x3259a1(0x369)](_0x598ca2))throw _0x598ca2[_0x3259a1(0x21a)];const _0x4cd521=_0x598ca2[_0x3259a1(0x244)][0x0][_0x3259a1(0x281)][_0x3259a1(0x13c)];Array[_0x3259a1(0x159)](_0x4cd521)&&_0x4cd521[_0x3259a1(0x1f2)]&&_0x3eabd7['replaceDocRanges'](_0x4cd521,{'unitId':_0x426a14,'subUnitId':_0x426a14},!0x1);}};se=Kt([Pe(0x0,a[_0x42d75e(0x198)](a[_0x42d75e(0x338)])),Pe(0x1,g['ITransformService'])],se);var qt=Object['getOwnPropertyDescriptor'],zt=(_0x335469,_0x40940d,_0x554b6a,_0x40844f)=>{const _0x5210b6=_0x42d75e;for(var _0x1eb39f=_0x40844f>0x1?void 0x0:_0x40844f?qt(_0x40940d,_0x554b6a):_0x40940d,_0x182e5b=_0x335469[_0x5210b6(0x1f2)]-0x1,_0x2f1709;_0x182e5b>=0x0;_0x182e5b--)(_0x2f1709=_0x335469[_0x182e5b])&&(_0x1eb39f=_0x2f1709(_0x1eb39f)||_0x1eb39f);return _0x1eb39f;},N=(_0x457a36,_0xabe4d2)=>(_0x1052e3,_0x453e49)=>_0xabe4d2(_0x1052e3,_0x453e49,_0x457a36);let ie=class extends a[_0x42d75e(0x265)]{constructor(_0x4d5b70,_0x2964cd,_0x1145cd,_0x3fa1c3,_0x32b849,_0x21a3ff,_0xfe69f1,_0x4fb072){const _0x4d8e0f=_0x42d75e;super(),_(this,_0x4d8e0f(0x201),new I[(_0x4d8e0f(0x320))](u[_0x4d8e0f(0x1f5)][_0x4d8e0f(0x186)])),(this[_0x4d8e0f(0x26e)]=_0x4d5b70,this[_0x4d8e0f(0x313)]=_0x2964cd,this[_0x4d8e0f(0x39a)]=_0x1145cd,this['_docTransformStateCacheService']=_0x3fa1c3,this[_0x4d8e0f(0x31e)]=_0x32b849,this[_0x4d8e0f(0x1af)]=_0x21a3ff,this[_0x4d8e0f(0x1ae)]=_0xfe69f1,this[_0x4d8e0f(0x39e)]=_0x4fb072,this[_0x4d8e0f(0x243)]());}[_0x42d75e(0x243)](){const _0x2ab3dc=_0x42d75e;this['disposeWithMe'](this['_collaborationController'][_0x2ab3dc(0x26c)]['subscribe'](_0x1f0d1c=>{const _0x2c3685=_0x2ab3dc,_0xf9a110=this['_docStateChangeManagerService'][_0x2c3685(0x3a4)][_0x2c3685(0x393)](_0x5521b4=>{const _0xd6a2f5=_0x2c3685;if(_0x5521b4==null)return;const {unitId:_0x7924b8,redoState:_0x5b0ad0,commandId:_0x1b4bcf}=_0x5521b4;if(_0x7924b8!==_0x1f0d1c[_0xd6a2f5(0x1b2)])return;const _0x199159={'id':_0x1b4bcf,'type':a[_0xd6a2f5(0x119)][_0xd6a2f5(0x21c)],'params':{'unitId':_0x7924b8,'actions':_0x5b0ad0[_0xd6a2f5(0x16c)],'textRanges':null}};_0x1f0d1c[_0xd6a2f5(0x287)](_0x199159);});if(_0x1f0d1c[_0x2c3685(0x155)](_0xf9a110),_0x1f0d1c instanceof u[_0x2c3685(0x2f8)]){const _0x180ae7={'onTransformIME':_0x3abfaf=>this[_0x2c3685(0x39a)][_0x2c3685(0x16a)](_0x3abfaf),'onTransformState':_0x4c8036=>this[_0x2c3685(0x1b7)][_0x2c3685(0x100)](_0x4c8036),'onTransformSelections':_0x2578ad=>this[_0x2c3685(0x31e)]['transformSelections'](_0x2578ad),'onSyncEditingCollabCursor':_0x32ca28=>this[_0x2c3685(0x1af)][_0x2c3685(0x21b)](_0x32ca28),'onTransformRemoteChangesetByIMECache':_0x349840=>this['_docTransformIMECacheService'][_0x2c3685(0x2cc)](_0x349840),'onTransformRemoteChangesetByStateCache':_0x88d19a=>this['_docTransformStateCacheService'][_0x2c3685(0x2cc)](_0x88d19a)};_0x1f0d1c[_0x2c3685(0x2f6)](_0x180ae7);}}));}};ie=zt([N(0x0,a[_0x42d75e(0x198)](T[_0x42d75e(0x2d6)])),N(0x1,a[_0x42d75e(0x198)](u[_0x42d75e(0x324)])),N(0x2,a['Inject'](ee)),N(0x3,a[_0x42d75e(0x198)](te)),N(0x4,a[_0x42d75e(0x198)](se)),N(0x5,a['Inject'](be)),N(0x6,O['IMessageService']),N(0x7,a[_0x42d75e(0x198)](a['LocaleService']))],ie);var G=(_0x2d3300=>(_0x2d3300[_0x2d3300[_0x42d75e(0x32b)]=0x0]=_0x42d75e(0x32b),_0x2d3300[_0x2d3300['OK']=0x1]='OK',_0x2d3300[_0x2d3300[_0x42d75e(0x230)]=0x2]=_0x42d75e(0x230),_0x2d3300[_0x2d3300[_0x42d75e(0x258)]=0x3]=_0x42d75e(0x258),_0x2d3300[_0x2d3300[_0x42d75e(0x11c)]=0x4]=_0x42d75e(0x11c),_0x2d3300[_0x2d3300[_0x42d75e(0x2c8)]=0x5]=_0x42d75e(0x2c8),_0x2d3300[_0x2d3300[_0x42d75e(0x192)]=0x6]=_0x42d75e(0x192),_0x2d3300[_0x2d3300[_0x42d75e(0x140)]=0x7]=_0x42d75e(0x140),_0x2d3300[_0x2d3300[_0x42d75e(0x264)]=0x8]=_0x42d75e(0x264),_0x2d3300[_0x2d3300[_0x42d75e(0x27a)]=0x9]=_0x42d75e(0x27a),_0x2d3300[_0x2d3300['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2d3300[_0x2d3300[_0x42d75e(0x145)]=0xb]=_0x42d75e(0x145),_0x2d3300[_0x2d3300[_0x42d75e(0x129)]=0xc]=_0x42d75e(0x129),_0x2d3300[_0x2d3300['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x42d75e(0x2e5),_0x2d3300[_0x2d3300[_0x42d75e(0x27f)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2d3300[_0x2d3300[_0x42d75e(0x387)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2d3300[_0x2d3300[_0x42d75e(0x39f)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2d3300[_0x2d3300[_0x42d75e(0x111)]=0x64]=_0x42d75e(0x111),_0x2d3300[_0x2d3300['ERROR_AGAIN']=0x65]=_0x42d75e(0x269),_0x2d3300[_0x2d3300[_0x42d75e(0x205)]=0xc9]=_0x42d75e(0x205),_0x2d3300[_0x2d3300[_0x42d75e(0x189)]=0xca]=_0x42d75e(0x189),_0x2d3300[_0x2d3300[_0x42d75e(0xe1)]=0x1389]=_0x42d75e(0xe1),_0x2d3300[_0x2d3300['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x42d75e(0x35a),_0x2d3300[_0x2d3300[_0x42d75e(0x2a7)]=0x1772]=_0x42d75e(0x2a7),_0x2d3300[_0x2d3300[_0x42d75e(0x157)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2d3300[_0x2d3300[_0x42d75e(0x2a1)]=0x1b59]='APPLY_REJECT',_0x2d3300[_0x2d3300[_0x42d75e(0x25a)]=0x1b5a]=_0x42d75e(0x25a),_0x2d3300[_0x2d3300['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x42d75e(0x1bf),_0x2d3300[_0x2d3300['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x42d75e(0x329),_0x2d3300[_0x2d3300[_0x42d75e(0xef)]=0x1b5d]='APPLY_DUPLICATED',_0x2d3300[_0x2d3300[_0x42d75e(0x383)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2d3300[_0x2d3300[_0x42d75e(0x312)]=0x2329]=_0x42d75e(0x312),_0x2d3300[_0x2d3300[_0x42d75e(0x17b)]=0x232a]=_0x42d75e(0x17b),_0x2d3300[_0x2d3300[_0x42d75e(0x18c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2d3300[_0x2d3300[_0x42d75e(0x179)]=0x232c]=_0x42d75e(0x179),_0x2d3300[_0x2d3300[_0x42d75e(0x2a6)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2d3300[_0x2d3300[_0x42d75e(0x2b2)]=0x2711]=_0x42d75e(0x2b2),_0x2d3300[_0x2d3300['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2d3300[_0x2d3300[_0x42d75e(0x251)]=0x2713]=_0x42d75e(0x251),_0x2d3300[_0x2d3300[_0x42d75e(0x212)]=0x2714]=_0x42d75e(0x212),_0x2d3300[_0x2d3300[_0x42d75e(0x271)]=0x271a]=_0x42d75e(0x271),_0x2d3300[_0x2d3300[_0x42d75e(0x134)]=0x271b]=_0x42d75e(0x134),_0x2d3300[_0x2d3300[_0x42d75e(0x2a5)]=0x271c]=_0x42d75e(0x2a5),_0x2d3300[_0x2d3300['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x42d75e(0x23e),_0x2d3300[_0x2d3300[_0x42d75e(0x19b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2d3300[_0x2d3300['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x2d3300[_0x2d3300[_0x42d75e(0x23b)]=0x2720]=_0x42d75e(0x23b),_0x2d3300[_0x2d3300['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x42d75e(0x27e),_0x2d3300[_0x2d3300['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x42d75e(0x20d),_0x2d3300[_0x2d3300['INVALID_INVITE_CODE']=0x2ee2]=_0x42d75e(0x1f9),_0x2d3300[_0x2d3300[_0x42d75e(0x30d)]=0x2ee3]=_0x42d75e(0x30d),_0x2d3300[_0x2d3300[_0x42d75e(0x32e)]=0x2ee4]=_0x42d75e(0x32e),_0x2d3300[_0x2d3300['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2d3300[_0x2d3300[_0x42d75e(0x333)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2d3300[_0x2d3300[_0x42d75e(0x34c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2d3300[_0x2d3300['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x42d75e(0x2c6),_0x2d3300[_0x2d3300[_0x42d75e(0x227)]=0x36b1]=_0x42d75e(0x227),_0x2d3300[_0x2d3300['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2d3300[_0x2d3300[_0x42d75e(0x249)]=0x36b3]=_0x42d75e(0x249),_0x2d3300[_0x2d3300[_0x42d75e(0x36c)]=0x36b4]=_0x42d75e(0x36c),_0x2d3300[_0x2d3300[_0x42d75e(0x163)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2d3300[_0x2d3300['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x42d75e(0x1d1),_0x2d3300[_0x2d3300[_0x42d75e(0x31a)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2d3300[_0x2d3300[_0x42d75e(0x102)]=0x36b8]=_0x42d75e(0x102),_0x2d3300[_0x2d3300['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x42d75e(0x1a3),_0x2d3300[_0x2d3300[_0x42d75e(0x16f)]=0x3716]=_0x42d75e(0x16f),_0x2d3300[_0x2d3300['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x42d75e(0x15c),_0x2d3300[_0x2d3300[_0x42d75e(0x150)]=0x37dd]=_0x42d75e(0x150),_0x2d3300[_0x2d3300[_0x42d75e(0x135)]=0x3a99]=_0x42d75e(0x135),_0x2d3300[_0x2d3300[_0x42d75e(0x35d)]=0x3a9a]=_0x42d75e(0x35d),_0x2d3300[_0x2d3300[_0x42d75e(0x193)]=0x3a9b]=_0x42d75e(0x193),_0x2d3300[_0x2d3300[_0x42d75e(0x1a5)]=0x3a9c]=_0x42d75e(0x1a5),_0x2d3300[_0x2d3300[_0x42d75e(0x2b4)]=0x3a9d]=_0x42d75e(0x2b4),_0x2d3300[_0x2d3300[_0x42d75e(0x1da)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x2d3300[_0x2d3300['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x42d75e(0x39c),_0x2d3300[_0x2d3300[_0x42d75e(0x2c4)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2d3300[_0x2d3300['UNRECOGNIZED']=-0x1]=_0x42d75e(0xda),_0x2d3300))(G||{});function Jt(_0x35b5f2){const _0x556f55=_0x42d75e;var _0x5897e6,_0x43e233;const _0x59018f=(_0x5897e6=_0x35b5f2['stageInfo'])==null?void 0x0:_0x5897e6['stage'],_0x517698=((_0x43e233=_0x35b5f2['stageInfo'])==null?void 0x0:_0x43e233['totalFormulasToCalculate'])||0x0;return _0x59018f===B[_0x556f55(0x22c)][_0x556f55(0x196)]&&_0x517698>0x0;}function Zt(_0x4395bd){const _0x7b38fc=_0x42d75e;return _0x4395bd['functionsExecutedState']===B['FormulaExecutedStateType'][_0x7b38fc(0x1fe)];}var Qt=Object[_0x42d75e(0x357)],es=(_0x5b106f,_0x18cfa9,_0x4561a7,_0x2ef452)=>{for(var _0x2dc6e9=_0x2ef452>0x1?void 0x0:_0x2ef452?Qt(_0x18cfa9,_0x4561a7):_0x18cfa9,_0x33aaf1=_0x5b106f['length']-0x1,_0x101ca0;_0x33aaf1>=0x0;_0x33aaf1--)(_0x101ca0=_0x5b106f[_0x33aaf1])&&(_0x2dc6e9=_0x101ca0(_0x2dc6e9)||_0x2dc6e9);return _0x2dc6e9;},L=(_0x28355b,_0x3d6db8)=>(_0x4b9e44,_0x2c125f)=>_0x3d6db8(_0x4b9e44,_0x2c125f,_0x28355b);const ts=_0x42d75e(0x101),ss=_0x42d75e(0x378),is=_0x42d75e(0x20b);let ne=class extends a[_0x42d75e(0x265)]{constructor(_0x53a120,_0x39f792,_0x123d48,_0x422d04,_0x5afb74,_0xb8453e,_0x227e12){const _0x3fa9fc=_0x42d75e;super(),_(this,_0x3fa9fc(0x379),null),_(this,_0x3fa9fc(0x30f),0x0),_(this,_0x3fa9fc(0x112),0x0),_(this,'_taskIds',[]),_(this,'_lastResponseTimestamp',0x0),(this[_0x3fa9fc(0x1ae)]=_0x53a120,this[_0x3fa9fc(0x23a)]=_0x39f792,this[_0x3fa9fc(0x2c0)]=_0x123d48,this[_0x3fa9fc(0x107)]=_0x422d04,this[_0x3fa9fc(0x2fc)]=_0x5afb74,this[_0x3fa9fc(0x2c5)]=_0xb8453e,this[_0x3fa9fc(0x39e)]=_0x227e12,this['_initCommandInterceptor']());}[_0x42d75e(0x128)](){const _0x503058=_0x42d75e;this[_0x503058(0x155)](this[_0x503058(0x23a)]['beforeCommandExecuted']((_0x1d83f2,_0x9ab248)=>{const _0x26abc2=_0x503058;var _0x56ed2d;if(_0x1d83f2['id']!==B[_0x26abc2(0x307)]['id'])return;const _0x36f290=_0x1d83f2['params'];if(!this[_0x26abc2(0x2cb)]((_0x56ed2d=_0x36f290[_0x26abc2(0x2b9)])!=null?_0x56ed2d:[]))return;if(!this[_0x26abc2(0x263)]())throw this[_0x26abc2(0x36f)](_0x1d83f2,_0x9ab248),this[_0x26abc2(0x2f4)](),new a['CanceledError']();})),this[_0x503058(0x155)](this[_0x503058(0x23a)]['onCommandExecuted']((_0x5da4ae,_0x1419f6)=>{const _0x21de30=_0x503058;if(_0x5da4ae['id']!==B[_0x21de30(0x2a0)]['id'])return;const _0xa7cac5=_0x5da4ae[_0x21de30(0x281)];if(Jt(_0xa7cac5)){const _0x3fe5d8=a[_0x21de30(0x132)]();this[_0x21de30(0x2c7)][_0x21de30(0x1e1)](_0x3fe5d8),this[_0x21de30(0x10a)](_0x3fe5d8);}else{if(Zt(_0xa7cac5)&&this[_0x21de30(0x2c7)][_0x21de30(0x1f2)]>0x0){const _0x56fb1a=this['_taskIds'][_0x21de30(0xe3)]();this[_0x21de30(0x1c1)](_0x56fb1a);}}}));}[_0x42d75e(0x31d)](){const _0x41f12a=_0x42d75e;super[_0x41f12a(0x31d)](),this[_0x41f12a(0x241)](),this[_0x41f12a(0x2c7)]=[],this[_0x41f12a(0x112)]=0x0,this[_0x41f12a(0x30f)]=0x0,this[_0x41f12a(0x30a)]=0x0;}async[_0x42d75e(0x36f)](_0x456120,_0x2b2b0e){const _0x43a5dd=_0x42d75e;for(let _0x15e3ba=0x0;_0x15e3ba<0x1e;_0x15e3ba++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x43a5dd(0xcd)](_0x456120,_0x2b2b0e),this[_0x43a5dd(0x1ae)][_0x43a5dd(0x1b8)]({'content':this[_0x43a5dd(0x39e)]['t'](_0x43a5dd(0x294)),'type':p[_0x43a5dd(0x13a)]['Success']});return;}await new Promise(_0x313439=>{const _0x31d365=_0x43a5dd;this[_0x31d365(0x379)]=window[_0x31d365(0x1f8)](_0x313439,0x3e8);});}catch(_0x586f2c){this['_logService']['error'](_0x586f2c);}this['_messageService'][_0x43a5dd(0x1b8)]({'content':this[_0x43a5dd(0x39e)]['t'](_0x43a5dd(0x340)),'type':p[_0x43a5dd(0x13a)]['Error']});}['_applyCommand'](_0x5d7d4c,_0x178c85){const _0x1fc6c0=_0x42d75e;try{this['_commandService']['executeCommand'](_0x5d7d4c['id'],_0x5d7d4c[_0x1fc6c0(0x281)],_0x178c85);}catch(_0x227df1){this['_logService'][_0x1fc6c0(0x21a)](_0x227df1);}}[_0x42d75e(0xe0)](_0x30c108,_0x34b4b6){const _0x14e6b3=_0x42d75e;_0x34b4b6<this['_lastResponseTimestamp']||(this[_0x14e6b3(0x30a)]=_0x34b4b6,this['_maxFormulaLimit']=Number[_0x14e6b3(0x37d)](_0x30c108[_0x14e6b3(0x2f3)]),this[_0x14e6b3(0x112)]=Number[_0x14e6b3(0x37d)](_0x30c108[_0x14e6b3(0xce)]));}async['_startCalculationLimit'](_0x65e194){const _0x52e4cd=_0x42d75e;var _0x3ae175,_0x1dd422;const _0x197656=Date[_0x52e4cd(0x1d0)]();try{const _0x501aab=((_0x3ae175=this['_configService']['getConfig'](u[_0x52e4cd(0x125)]))==null?void 0x0:_0x3ae175['startFormulaLimitUrl'])||ss,_0x1339f1=(await this[_0x52e4cd(0x107)][_0x52e4cd(0x2f5)](_0x501aab,{'body':JSON['stringify']({'taskId':_0x65e194})}))[_0x52e4cd(0x2b5)];if(((_0x1dd422=_0x1339f1[_0x52e4cd(0x21a)])==null?void 0x0:_0x1dd422[_0x52e4cd(0xee)])!==G['OK'])return;this[_0x52e4cd(0xe0)](_0x1339f1[_0x52e4cd(0x20f)],_0x197656);}catch(_0xe7877e){this['_logService'][_0x52e4cd(0x21a)](_0xe7877e);}}async[_0x42d75e(0x190)](_0x1cd4a3){const _0x149e8f=_0x42d75e;var _0x4727bf,_0x4f1c2a;const _0xa844e0=Date[_0x149e8f(0x1d0)]();try{const _0x395dab=((_0x4727bf=this['_configService'][_0x149e8f(0x37e)](u[_0x149e8f(0x125)]))==null?void 0x0:_0x4727bf['getformulaLimitStatusUrl'])||ts,_0x3ac423=_0x1cd4a3?_0x395dab+_0x149e8f(0x356)+encodeURIComponent(_0x1cd4a3):_0x395dab,_0x1175db=(await this['_httpService'][_0x149e8f(0x1b5)](_0x3ac423))['body'];if(((_0x4f1c2a=_0x1175db[_0x149e8f(0x21a)])==null?void 0x0:_0x4f1c2a[_0x149e8f(0xee)])!==G['OK'])return;this[_0x149e8f(0xe0)](_0x1175db[_0x149e8f(0x20f)],_0xa844e0);}catch(_0x2d790d){this['_logService']['error'](_0x2d790d);}}async[_0x42d75e(0x1c1)](_0x5219d2){const _0x431db9=_0x42d75e;var _0x31ea0a,_0xde78de;const _0x2ae05c=Date[_0x431db9(0x1d0)]();try{const _0x3d775a=((_0x31ea0a=this[_0x431db9(0x2c0)]['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x31ea0a[_0x431db9(0x370)])||is,_0x4ce33e=(await this[_0x431db9(0x107)][_0x431db9(0x2f5)](_0x3d775a,{'body':JSON['stringify']({'taskId':_0x5219d2})}))[_0x431db9(0x2b5)];if(((_0xde78de=_0x4ce33e[_0x431db9(0x21a)])==null?void 0x0:_0xde78de[_0x431db9(0xee)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x4ce33e['limitInfo'],_0x2ae05c);}catch(_0x4cc9cb){this[_0x431db9(0x2c5)][_0x431db9(0x21a)](_0x4cc9cb);}}[_0x42d75e(0x263)](){const _0x48d458=_0x42d75e;return this[_0x48d458(0x30f)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x48d458(0x112)]>0x0;}[_0x42d75e(0x241)](){const _0x358943=_0x42d75e;this['_pollingInterval']&&(clearTimeout(this[_0x358943(0x379)]),this[_0x358943(0x379)]=null);}[_0x42d75e(0x2f4)](){const _0x1767ca=_0x42d75e;this[_0x1767ca(0x1ae)][_0x1767ca(0x1b8)]({'content':this[_0x1767ca(0x39e)]['t'](_0x1767ca(0x349)),'type':p['MessageType'][_0x1767ca(0x24c)]});}['_hasFormulaInDirtyRanges'](_0x4f2b6b){const _0x52f045=_0x42d75e;for(const _0x58b356 of _0x4f2b6b){const {unitId:_0x4433bc,sheetId:_0x440802,range:_0x3f5b15}=_0x58b356,_0x5a1069=this[_0x52f045(0x2fc)][_0x52f045(0x382)](_0x4433bc);if(!_0x5a1069)continue;const _0xe80f21=_0x5a1069[_0x52f045(0x318)](_0x440802);if(!_0xe80f21)continue;const _0x437206=_0xe80f21[_0x52f045(0x2ac)]();for(let _0x4fdfd0=_0x3f5b15['startRow'];_0x4fdfd0<=_0x3f5b15[_0x52f045(0x2f7)];_0x4fdfd0++)for(let _0x43dc4a=_0x3f5b15[_0x52f045(0x225)];_0x43dc4a<=_0x3f5b15['endColumn'];_0x43dc4a++){const _0xd4c1ca=_0x437206[_0x52f045(0x2ab)](_0x4fdfd0,_0x43dc4a);if(_0xd4c1ca&&(a[_0x52f045(0x257)](_0xd4c1ca['f'])||a[_0x52f045(0xf1)](_0xd4c1ca['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a['Inject'](O['IMessageService'])),L(0x1,a[_0x42d75e(0x28d)]),L(0x2,a[_0x42d75e(0x366)]),L(0x3,a[_0x42d75e(0x198)](x[_0x42d75e(0x240)])),L(0x4,a[_0x42d75e(0x1e3)]),L(0x5,a[_0x42d75e(0x1a1)]),L(0x6,a['Inject'](a[_0x42d75e(0x12f)]))],ne);var ns=Object['getOwnPropertyDescriptor'],rs=(_0xfec9dd,_0x5b5aef,_0x33c8b3,_0x515ef0)=>{const _0x1760d1=_0x42d75e;for(var _0x2820b9=_0x515ef0>0x1?void 0x0:_0x515ef0?ns(_0x5b5aef,_0x33c8b3):_0x5b5aef,_0x1af45b=_0xfec9dd[_0x1760d1(0x1f2)]-0x1,_0x253498;_0x1af45b>=0x0;_0x1af45b--)(_0x253498=_0xfec9dd[_0x1af45b])&&(_0x2820b9=_0x253498(_0x2820b9)||_0x2820b9);return _0x2820b9;},Se=(_0x3c9a1e,_0xe87c77)=>(_0x3f4d91,_0x233fa2)=>_0xe87c77(_0x3f4d91,_0x233fa2,_0x3c9a1e);let Te=class extends a[_0x42d75e(0x265)]{constructor(_0x457e2,_0x4acef6,_0x4d466b){const _0x2cef55=_0x42d75e;super(),_(this,_0x2cef55(0x21e),new Map()),_(this,_0x2cef55(0x2de),new Map()),_(this,'_disabled',!0x1),(this[_0x2cef55(0x2c0)]=_0x457e2,this[_0x2cef55(0x2b6)]=_0x4acef6,this['_revisionService']=_0x4d466b);}[_0x42d75e(0x1c2)](){const _0x3c3e32=_0x42d75e;this[_0x3c3e32(0x345)]=!0x0;}[_0x42d75e(0x239)](){const _0xb26fcb=_0x42d75e;this[_0xb26fcb(0x345)]=!0x1;}get[_0x42d75e(0xd6)](){const _0x529d41=_0x42d75e;return this[_0x529d41(0x2de)];}[_0x42d75e(0x31d)](){const _0x13634f=_0x42d75e;this[_0x13634f(0xd1)]()[_0x13634f(0x22d)](()=>super[_0x13634f(0x31d)]());}async[_0x42d75e(0xd0)](_0x181d3){const _0x4cc6a7=_0x42d75e;return this[_0x4cc6a7(0x345)]?null:this[_0x4cc6a7(0x2b6)][_0x4cc6a7(0x211)](u[_0x4cc6a7(0x2b7)](_0x181d3));}async[_0x42d75e(0x17a)](_0xc750c3,_0xc22075){return!!this['_localStorageService']['setItem'](_0xc750c3,_0xc22075);}[_0x42d75e(0x28f)](_0x3bea0e,_0x16dae2,_0x2b5432,_0x3f27d0){const _0x51b303=_0x42d75e,_0x224fa6=this['_revisionService'][_0x51b303(0x1f6)](_0x3bea0e);this[_0x51b303(0x21e)][_0x51b303(0x380)](_0x3bea0e,{'unitID':_0x3bea0e,'type':_0x16dae2,'awaitingChangeset':_0x2b5432,'mutations':_0x3f27d0,'rev':_0x224fa6}),this[_0x51b303(0x2de)][_0x51b303(0x358)](_0x3bea0e)||this[_0x51b303(0xec)](_0x3bea0e);}[_0x42d75e(0xec)](_0x4c66c2){const _0x268229=_0x42d75e,_0x49d980=this[_0x268229(0x361)]();_0x49d980===0x0?this[_0x268229(0x14c)](_0x4c66c2):this[_0x268229(0x2de)][_0x268229(0x380)](_0x4c66c2,setTimeout(()=>this['_saveCache'](_0x4c66c2),_0x49d980));}[_0x42d75e(0x361)](){const _0x2d607f=_0x42d75e;var _0x540e83;return(_0x540e83=this[_0x2d607f(0x2c0)][_0x2d607f(0x37e)](u[_0x2d607f(0x12d)]))!=null?_0x540e83:u[_0x2d607f(0x2e9)];}[_0x42d75e(0x14c)](_0x899ed1){const _0x5799c3=_0x42d75e,_0x310430=this[_0x5799c3(0x2de)][_0x5799c3(0x1b5)](_0x899ed1);return _0x310430!==void 0x0&&window[_0x5799c3(0x351)](_0x310430),this[_0x5799c3(0x2b6)][_0x5799c3(0x25d)](u[_0x5799c3(0x2b7)](_0x899ed1),this[_0x5799c3(0x21e)]['get'](_0x899ed1))[_0x5799c3(0x22d)](()=>this[_0x5799c3(0x2de)]['delete'](_0x899ed1));}async[_0x42d75e(0xd1)](){const _0x380513=_0x42d75e,_0x20101f=[];this[_0x380513(0x2de)]['forEach']((_0x457e9f,_0x5c453e)=>{const _0x3484ad=_0x380513;window['clearTimeout'](_0x457e9f),_0x20101f[_0x3484ad(0x1e1)](this[_0x3484ad(0x14c)](_0x5c453e)['then'](()=>{const _0x121769=_0x3484ad;this[_0x121769(0x2de)][_0x121769(0x24b)](_0x5c453e);}));}),await Promise[_0x380513(0x133)](_0x20101f);}};Te=rs([Se(0x0,a[_0x42d75e(0x366)]),Se(0x1,a[_0x42d75e(0x19a)]),Se(0x2,a[_0x42d75e(0x198)](g[_0x42d75e(0x2fb)]))],Te);class ke extends a[_0x42d75e(0x1a2)]{constructor(){const _0x1b2950=_0x42d75e;super(),_(this,_0x1b2950(0x37b)),this[_0x1b2950(0x37b)]=I[_0x1b2950(0x143)](window,_0x1b2950(0x2b1))['pipe'](I['takeUntil'](this[_0x1b2950(0x37a)]),I[_0x1b2950(0x1fa)](0x1),I[_0x1b2950(0x2c1)](void 0x0));}['setParam'](_0x38a226,_0x44f121,_0xc18b41=!0x1){const _0x524c82=_0x42d75e,_0x1d6fb7=new URL(window['location'][_0x524c82(0x2d2)]);_0x1d6fb7['searchParams']['set'](_0x38a226,_0x44f121),_0xc18b41?window[_0x524c82(0x388)][_0x524c82(0xfe)]('','',_0x1d6fb7[_0x524c82(0x28b)]()):window[_0x524c82(0x388)][_0x524c82(0x3a2)]('','',_0x1d6fb7['toString']());}[_0x42d75e(0x164)](_0x194423,_0x40a988=!0x1){const _0x309da9=_0x42d75e,_0x623378=new URL(window['location'][_0x309da9(0x2d2)]);_0x623378[_0x309da9(0x278)][_0x309da9(0x24b)](_0x194423),_0x40a988?window[_0x309da9(0x388)]['replaceState']('','',_0x623378[_0x309da9(0x28b)]()):window[_0x309da9(0x388)]['pushState']('','',_0x623378[_0x309da9(0x28b)]());}[_0x42d75e(0x1e4)](_0x3531b2){const _0x53d4d9=_0x42d75e;var _0x36825d;return(_0x36825d=new URL(window[_0x53d4d9(0x29d)][_0x53d4d9(0x2d2)])[_0x53d4d9(0x278)][_0x53d4d9(0x1b5)](_0x3531b2))!=null?_0x36825d:void 0x0;}}var os=Object[_0x42d75e(0x346)],as=Object[_0x42d75e(0x357)],cs=(_0x3ffd76,_0x3254ce,_0x5040ef)=>_0x3254ce in _0x3ffd76?os(_0x3ffd76,_0x3254ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5040ef}):_0x3ffd76[_0x3254ce]=_0x5040ef,ls=(_0x296899,_0x576c07,_0x3c7dc6,_0x513e3a)=>{const _0x59c697=_0x42d75e;for(var _0x3e962f=_0x513e3a>0x1?void 0x0:_0x513e3a?as(_0x576c07,_0x3c7dc6):_0x576c07,_0x234b45=_0x296899[_0x59c697(0x1f2)]-0x1,_0x3ddfe6;_0x234b45>=0x0;_0x234b45--)(_0x3ddfe6=_0x296899[_0x234b45])&&(_0x3e962f=_0x3ddfe6(_0x3e962f)||_0x3e962f);return _0x3e962f;},de=(_0x1e1eb3,_0x3048d9)=>(_0x5ca102,_0x147a4e)=>_0x3048d9(_0x5ca102,_0x147a4e,_0x1e1eb3),_s=(_0x551b01,_0x24c301,_0x3e865d)=>cs(_0x551b01,_0x24c301+'',_0x3e865d);const hs=_0x42d75e(0x27b);exports[_0x42d75e(0x1c9)]=class extends a['Plugin']{constructor(_0x5a66d7=Me,_0xc80a7f,_0x1696f9,_0x4c2d1d){const _0x51e76e=_0x42d75e;super(),this[_0x51e76e(0x18b)]=_0x5a66d7,this['_renderManagerService']=_0xc80a7f,this[_0x51e76e(0x168)]=_0x1696f9,this[_0x51e76e(0x2c0)]=_0x4c2d1d;const {..._0x27da36}=a[_0x51e76e(0x267)]({},Me,this['_config']);this['_configService'][_0x51e76e(0x252)](Yt,_0x27da36);}[_0x42d75e(0x123)](){const _0x33684e=_0x42d75e;this[_0x33684e(0x19d)](),this[_0x33684e(0x1c6)]();}['onRendered'](){const _0x3e40fc=_0x42d75e;this[_0x3e40fc(0x363)]();}[_0x42d75e(0x19d)](){const _0x3237dd=_0x42d75e;var _0x31fbac;const _0xcb77f5=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x3237dd(0x24a)],{'useClass':x['WebSocketService']}],[u[_0x3237dd(0x2cd)],{'useClass':Te}],[exports[_0x3237dd(0xd8)]],[ie],[Z],[F],[me],[exports[_0x3237dd(0x376)]]];this[_0x3237dd(0x18b)][_0x3237dd(0x22a)]&&_0xcb77f5[_0x3237dd(0x1e1)]([Q]),a[_0x3237dd(0x250)](this[_0x3237dd(0x168)],a['mergeOverrideWithDependencies'](_0xcb77f5,(_0x31fbac=this[_0x3237dd(0x18b)])==null?void 0x0:_0x31fbac[_0x3237dd(0x156)]));}[_0x42d75e(0x363)](){const _0x54aa02=_0x42d75e;this[_0x54aa02(0x155)](this['_renderManagerService'][_0x54aa02(0x169)](a['UniverInstanceType']['UNIVER_DOC'],[Ee])),this[_0x54aa02(0x155)](this[_0x54aa02(0x191)][_0x54aa02(0x169)](a['UniverInstanceType']['UNIVER_SHEET'],[Ce]));}[_0x42d75e(0x1c6)](){const _0x447672=_0x42d75e;a['touchDependencies'](this[_0x447672(0x168)],[[F],[exports[_0x447672(0xd8)]],[ie],[Z],[exports[_0x447672(0x376)]],[ne]]),this[_0x447672(0x18b)][_0x447672(0x22a)]&&a[_0x447672(0x105)](this['_injector'],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],_0x42d75e(0x15a),hs),exports['UniverCollaborationClientUIPlugin']=ls([a[_0x42d75e(0x1a7)](u[_0x42d75e(0xfc)]),de(0x1,C[_0x42d75e(0x142)]),de(0x2,a[_0x42d75e(0x198)](a[_0x42d75e(0x338)])),de(0x3,a[_0x42d75e(0x366)])],exports[_0x42d75e(0x1c9)]);var us=Object[_0x42d75e(0x357)],Is=(_0x3be940,_0xab428a,_0x2e43e2,_0x482fc1)=>{for(var _0x125cb7=_0x482fc1>0x1?void 0x0:_0x482fc1?us(_0xab428a,_0x2e43e2):_0xab428a,_0x5a3d30=_0x3be940['length']-0x1,_0x4dada2;_0x5a3d30>=0x0;_0x5a3d30--)(_0x4dada2=_0x3be940[_0x5a3d30])&&(_0x125cb7=_0x4dada2(_0x125cb7)||_0x125cb7);return _0x125cb7;},W=(_0x1850b2,_0x5d7ae0)=>(_0x4a3c0e,_0x5901a8)=>_0x5d7ae0(_0x4a3c0e,_0x5901a8,_0x1850b2);exports[_0x42d75e(0x2a3)]=class extends u[_0x42d75e(0x170)]{constructor(_0x572fda,_0x5895ce,_0x1e2db0,_0x57c259,_0x8c91c4){super(_0x572fda,_0x5895ce,_0x1e2db0,_0x57c259,_0x8c91c4);}async['createSocket'](_0x51c7cd){const _0x222b21=_0x42d75e,_0x14d65a=await this['_getSessionTicket'](),_0x1187dd=this[_0x222b21(0x342)](_0x51c7cd,_0x14d65a);return this['_doCreateSocket'](_0x1187dd);}[_0x42d75e(0x342)](_0x2ffb54,_0x2b907b){const _0x42efb9=_0x42d75e,_0xe27d9b=typeof window>'u'?new URL(_0x2ffb54):new URL(_0x2ffb54,window[_0x42efb9(0x29d)][_0x42efb9(0x3a3)]);_0xe27d9b['searchParams'][_0x42efb9(0x380)](_0x42efb9(0x1bd),_0x2b907b);const _0x1266f8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x42efb9(0x29d)][_0x42efb9(0x2d7)]);return _0x1266f8[_0x42efb9(0x1b5)](_0x42efb9(0x2f1))&&_0xe27d9b[_0x42efb9(0x278)]['set'](_0x42efb9(0x2f1),_0x1266f8['get'](_0x42efb9(0x2f1))),_0xe27d9b[_0x42efb9(0x28b)]();}async[_0x42d75e(0x185)](){const _0x1d08f6=_0x42d75e;var _0x29de51,_0x2023b0,_0x3373a8;const _0x412c04=this['_configService']['getConfig'](u[_0x1d08f6(0x125)]),_0x7c14f0=(_0x29de51=_0x412c04==null?void 0x0:_0x412c04['wsSessionTicketUrl'])!=null?_0x29de51:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3373a8=(_0x2023b0=(await this['_httpService'][_0x1d08f6(0x1b5)](_0x7c14f0,{'headers':{'Content-Type':_0x1d08f6(0x34b)}}))[_0x1d08f6(0x2b5)])==null?void 0x0:_0x2023b0[_0x1d08f6(0x2a4)])!=null?_0x3373a8:'';}},exports[_0x42d75e(0x2a3)]=Is([W(0x0,a['Inject'](a[_0x42d75e(0x338)])),W(0x1,a[_0x42d75e(0x198)](x[_0x42d75e(0x240)])),W(0x2,a[_0x42d75e(0x366)]),W(0x3,a[_0x42d75e(0x1a1)]),W(0x4,g[_0x42d75e(0x1a0)])],exports[_0x42d75e(0x2a3)]);var Ss=Object[_0x42d75e(0x357)],ds=(_0x41f3f5,_0x2f4d69,_0x4c6835,_0x47d744)=>{const _0x2ef40d=_0x42d75e;for(var _0x23241e=_0x47d744>0x1?void 0x0:_0x47d744?Ss(_0x2f4d69,_0x4c6835):_0x2f4d69,_0x2bc81a=_0x41f3f5[_0x2ef40d(0x1f2)]-0x1,_0x42ad14;_0x2bc81a>=0x0;_0x2bc81a--)(_0x42ad14=_0x41f3f5[_0x2bc81a])&&(_0x23241e=_0x42ad14(_0x23241e)||_0x23241e);return _0x23241e;},fe=(_0x34bd20,_0x2890da)=>(_0x294f5a,_0xe681e)=>_0x2890da(_0x294f5a,_0xe681e,_0x34bd20);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x1dc4b4,_0x282548,_0x557af2){const _0x4a5f2a=_0x42d75e;super(),this[_0x4a5f2a(0x236)]=_0x1dc4b4,this[_0x4a5f2a(0x107)]=_0x282548,this['_configService']=_0x557af2;}async[_0x42d75e(0x1ee)](_0x58f970,_0xdc95f,_0x1efe29,..._0x1ffcb4){const _0x493ee7=_0x42d75e;var _0x595d91,_0x394870,_0x5e1e73,_0x54a572;const _0x19be86=this[_0x493ee7(0x236)]['getFocusedUnit']();if(!_0x19be86)throw new Error(_0x493ee7(0x256));const _0x21a365=((_0x595d91=this[_0x493ee7(0x2c0)][_0x493ee7(0x37e)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x595d91:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x58f970+_0x493ee7(0x33e)+_0xdc95f,_0x4b474d=new URL(window[_0x493ee7(0x29d)][_0x493ee7(0x2d2)]),_0x1613a2={'scriptId':_0x58f970,'runId':(_0x394870=_0x4b474d['searchParams']['get']('runId'))!=null?_0x394870:'','function':_0xdc95f,'unitId':_0x19be86[_0x493ee7(0x397)](),'argsOfFunction':JSON['stringify'](_0x1ffcb4),'invokeId':(_0x5e1e73=_0x1efe29[_0x493ee7(0x1ff)])!=null?_0x5e1e73:'','executionId':(_0x54a572=_0x1efe29[_0x493ee7(0x103)])!=null?_0x54a572:''};try{const _0x5dea34=await this[_0x493ee7(0x107)][_0x493ee7(0x2f5)](_0x21a365,{'body':_0x1613a2});return _0x5dea34[_0x493ee7(0x2b5)][_0x493ee7(0x21a)]&&_0x5dea34['body']['error']['code']!==G['OK']?_0x493ee7(0x274):_0x5dea34[_0x493ee7(0x2b5)][_0x493ee7(0x293)];}catch{return'Failed';}}},exports[_0x42d75e(0xd9)]=ds([fe(0x0,a[_0x42d75e(0x1e3)]),fe(0x1,a[_0x42d75e(0x198)](x[_0x42d75e(0x240)])),fe(0x2,a[_0x42d75e(0x366)])],exports[_0x42d75e(0xd9)]);const we=0x7530,ye=_0x42d75e(0x372);class fs extends a[_0x42d75e(0x265)]{constructor(){const _0x1c388e=_0x42d75e;super(),_(this,_0x1c388e(0x2a9),a[_0x1c388e(0x132)]()),_(this,_0x1c388e(0x298),new Set()),_(this,_0x1c388e(0x2aa),new Map()),_(this,_0x1c388e(0x114),null),_(this,_0x1c388e(0x204),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x42d75e(0x31d)](){const _0x476c29=_0x42d75e;super[_0x476c29(0x31d)](),this['_clearOtherTimers'][_0x476c29(0x122)]((_0x49f335,_0x589b59)=>this[_0x476c29(0x2bf)](_0x589b59)),this[_0x476c29(0x114)]&&window[_0x476c29(0x2dd)](this[_0x476c29(0x114)]);}[_0x42d75e(0x2d5)](_0x4b89fe){const _0x2691fd=_0x42d75e;return this[_0x2691fd(0x362)](_0x4b89fe)['pipe'](I[_0x2691fd(0x2d0)]());}['editingUnit'](_0x3791c0){const _0x29579f=_0x42d75e;this[_0x29579f(0x298)][_0x29579f(0x167)]===0x0&&this[_0x29579f(0x226)](),this[_0x29579f(0x298)][_0x29579f(0x18d)](_0x3791c0),this[_0x29579f(0x210)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3791c0],'isForwarded':!0x1});}[_0x42d75e(0x2cf)](_0x51b36e){const _0x3907c2=_0x42d75e;this[_0x3907c2(0x298)][_0x3907c2(0x24b)](_0x51b36e),this[_0x3907c2(0x298)][_0x3907c2(0x167)]===0x0&&this['_heartbeatTimer']&&window[_0x3907c2(0x2dd)](this['_heartbeatTimer']);}[_0x42d75e(0x1d3)](){const _0x3dafc9=_0x42d75e;this[_0x3dafc9(0x155)](a[_0x3dafc9(0x35f)](I[_0x3dafc9(0x143)](window,'storage')[_0x3dafc9(0x393)](_0x1bc0dd=>{const _0x314057=_0x3dafc9;if(_0x1bc0dd[_0x314057(0x19f)]!==ye||!_0x1bc0dd[_0x314057(0x25e)])return;const _0x39b3df=JSON[_0x314057(0x1b9)](_0x1bc0dd[_0x314057(0x25e)]);this[_0x314057(0x302)](_0x39b3df);}))),window[_0x3dafc9(0x2fd)](_0x3dafc9(0x308),()=>this[_0x3dafc9(0x210)]({'type':0x1,'memberID':this[_0x3dafc9(0x2a9)],'unitIDs':Array[_0x3dafc9(0x34f)](this[_0x3dafc9(0x298)])}));}[_0x42d75e(0x302)](_0x4e1942){const _0x7bb56d=_0x42d75e;switch(_0x4e1942[_0x7bb56d(0x2bb)]){case 0x0:this['_handleJoinEvent'](_0x4e1942);break;case 0x1:this['_handleLeaveEvent'](_0x4e1942);break;case 0x2:this[_0x7bb56d(0x259)](_0x4e1942);break;}}[_0x42d75e(0xc9)](_0x5c8606){const _0xe61135=_0x42d75e,{unitIDs:_0x402424,memberID:_0x4f3f60,isForwarded:_0x4c8cec}=_0x5c8606;_0x402424['forEach'](_0x28d8ea=>{const _0xb5ec85=_0x24f5;if(!_0x4c8cec&&this[_0xb5ec85(0x2aa)][_0xb5ec85(0x358)](_0x28d8ea)&&this['_ensureSubject'](_0x28d8ea)[_0xb5ec85(0xed)](u[_0xb5ec85(0xdd)]['OTHER_CLIENTS_EDITING']),!this[_0xb5ec85(0x2aa)][_0xb5ec85(0x358)](_0x28d8ea)||!this[_0xb5ec85(0x2aa)][_0xb5ec85(0x1b5)](_0x28d8ea)['has'](_0x4f3f60)){const _0x5a8473=this[_0xb5ec85(0x2aa)][_0xb5ec85(0x1b5)](_0x28d8ea)||new Set();_0x5a8473[_0xb5ec85(0x18d)](_0x4f3f60),this[_0xb5ec85(0x2aa)]['set'](_0x28d8ea,_0x5a8473),this[_0xb5ec85(0x24e)](_0x4f3f60);}}),_0x4c8cec||this[_0xe61135(0x210)]({'type':0x0,'memberID':this[_0xe61135(0x2a9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x42d75e(0x24e)](_0x26da1a){const _0x2d2c57=_0x42d75e;this[_0x2d2c57(0x2bf)](_0x26da1a);const _0x19b48b=window[_0x2d2c57(0x1f8)](()=>{const _0x40378e=_0x2d2c57;this[_0x40378e(0x2aa)][_0x40378e(0x122)](_0x169ef2=>{_0x169ef2['delete'](_0x26da1a);});},we*0x2);this['_clearOtherTimers'][_0x2d2c57(0x380)](_0x26da1a,_0x19b48b);}[_0x42d75e(0x2bf)](_0x2565bf){const _0x4dd012=_0x42d75e;if(this['_clearOtherTimers'][_0x4dd012(0x358)](_0x2565bf)){const _0x251dcd=this[_0x4dd012(0x204)][_0x4dd012(0x1b5)](_0x2565bf);_0x251dcd&&window[_0x4dd012(0x351)](_0x251dcd),this[_0x4dd012(0x204)][_0x4dd012(0x380)](_0x2565bf,null);}}['_handleLeaveEvent'](_0x47afdd){const {memberID:_0x299703,unitIDs:_0x4b6d13}=_0x47afdd;_0x4b6d13['forEach'](_0x2c549a=>{const _0x25bb32=_0x24f5;var _0x8b8393;const _0x595d46=this[_0x25bb32(0x2aa)][_0x25bb32(0x1b5)](_0x2c549a);_0x595d46&&(_0x595d46['delete'](_0x299703),(_0x8b8393=this[_0x25bb32(0x362)](_0x2c549a))==null||_0x8b8393['next'](_0x595d46[_0x25bb32(0x167)]===0x0?u[_0x25bb32(0xdd)][_0x25bb32(0xf7)]:u['UnitStatus'][_0x25bb32(0x2bc)]));}),this['_removeClearOtherTimer'](_0x299703);}['_handleHeartbeatEvent'](_0x1931e3){const _0x1a8626=_0x42d75e;this[_0x1a8626(0x24e)](_0x1931e3[_0x1a8626(0x1d7)]);}['_send'](_0x12343c){const _0x56ae49=_0x42d75e;localStorage[_0x56ae49(0x25d)](ye,JSON['stringify'](_0x12343c));}[_0x42d75e(0x226)](){const _0x4202c7=_0x42d75e;this[_0x4202c7(0x114)]=window[_0x4202c7(0x2ba)](()=>{const _0x24b69c=_0x4202c7;this[_0x24b69c(0x210)]({'type':0x2,'memberID':this[_0x24b69c(0x2a9)]});},we);}[_0x42d75e(0x362)](_0x4d132b){const _0x1c27f7=_0x42d75e;return this[_0x1c27f7(0x217)]['has'](_0x4d132b)||this[_0x1c27f7(0x217)][_0x1c27f7(0x380)](_0x4d132b,new I['BehaviorSubject'](u[_0x1c27f7(0xdd)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1c27f7(0x217)][_0x1c27f7(0x1b5)](_0x4d132b);}}exports[_0x42d75e(0x232)]=Oe,exports[_0x42d75e(0x176)]=je,exports[_0x42d75e(0x1ce)]=fs,exports[_0x42d75e(0x28e)]=ke;
|
|
1
|
+
'use strict';const _0x14293e=_0x3154;(function(_0x55c495,_0xf40605){const _0x3cb5bf=_0x3154,_0x21dc8b=_0x55c495();while(!![]){try{const _0x283e39=-parseInt(_0x3cb5bf(0x358))/0x1*(-parseInt(_0x3cb5bf(0x37c))/0x2)+parseInt(_0x3cb5bf(0x216))/0x3+parseInt(_0x3cb5bf(0x3c9))/0x4+-parseInt(_0x3cb5bf(0x217))/0x5+-parseInt(_0x3cb5bf(0x2be))/0x6+parseInt(_0x3cb5bf(0x473))/0x7*(-parseInt(_0x3cb5bf(0x3c0))/0x8)+-parseInt(_0x3cb5bf(0x32e))/0x9;if(_0x283e39===_0xf40605)break;else _0x21dc8b['push'](_0x21dc8b['shift']());}catch(_0x376c29){_0x21dc8b['push'](_0x21dc8b['shift']());}}}(_0x1fe8,0x1b247));var Xe=Object[_0x14293e(0x24b)],Ke=(_0x53c185,_0xf671f9,_0x1ab05b)=>_0xf671f9 in _0x53c185?Xe(_0x53c185,_0xf671f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab05b}):_0x53c185[_0xf671f9]=_0x1ab05b,_=(_0x4b00ba,_0x546b79,_0x16bfd3)=>Ke(_0x4b00ba,typeof _0x546b79!=_0x14293e(0x377)?_0x546b79+'':_0x546b79,_0x16bfd3);Object[_0x14293e(0x24b)](exports,Symbol[_0x14293e(0x3ae)],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=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');function pe({ref:_0x1235f1,..._0xec0429}){const _0x43d6a1=_0x14293e,{icon:_0x5eda7d,id:_0x178d39,className:_0x5af26d,extend:_0x4f42c7,..._0x32a265}=_0xec0429,_0x8a9e61=('univerjs-icon\x20univerjs-icon-'+_0x178d39+'\x20'+(_0x5af26d||''))[_0x43d6a1(0x26a)](),_0x5d77dc=A[_0x43d6a1(0x3e2)]('_'+Qe());return $e(_0x5eda7d,''+_0x178d39,{'defIds':_0x5eda7d[_0x43d6a1(0x2d7)],'idSuffix':_0x5d77dc[_0x43d6a1(0x2e3)]},{'ref':_0x1235f1,'className':_0x8a9e61,..._0x32a265},_0x4f42c7);}function $e(_0x2b05dc,_0x23d797,_0x4ae390,_0x3b5f5c,_0x5410e8){const _0x54e0e6=_0x14293e;return A['createElement'](_0x2b05dc[_0x54e0e6(0x326)],{'key':_0x23d797,...Je(_0x2b05dc,_0x4ae390,_0x5410e8),..._0x3b5f5c},(Ze(_0x2b05dc,_0x4ae390)[_0x54e0e6(0x3b6)]||[])['map']((_0x3410c1,_0x139ea8)=>$e(_0x3410c1,_0x23d797+'-'+_0x2b05dc[_0x54e0e6(0x326)]+'-'+_0x139ea8,_0x4ae390,void 0x0,_0x5410e8)));}function Je(_0x22a34a,_0x1443b2,_0x322e4e){const _0x2332ec=_0x14293e,_0x1c7b38={..._0x22a34a['attrs']};_0x322e4e!=null&&_0x322e4e[_0x2332ec(0x33a)]&&_0x1c7b38[_0x2332ec(0x2f0)]==='colorChannel1'&&(_0x1c7b38[_0x2332ec(0x2f0)]=_0x322e4e['colorChannel1']),_0x22a34a[_0x2332ec(0x326)]===_0x2332ec(0x25b)&&_0x1c7b38['id']&&(_0x1c7b38['id']=_0x1c7b38['id']+_0x1443b2[_0x2332ec(0x1ec)]),Object['entries'](_0x1c7b38)[_0x2332ec(0x208)](([_0x52427c,_0x2030df])=>{const _0xe7c07d=_0x2332ec;_0x52427c===_0xe7c07d(0x25b)&&typeof _0x2030df==_0xe7c07d(0x428)&&(_0x1c7b38[_0x52427c]=_0x2030df[_0xe7c07d(0x3cc)](/url\(#(.*)\)/,_0xe7c07d(0x3b1)+_0x1443b2[_0xe7c07d(0x1ec)]+')'));});const {defIds:_0x23d974}=_0x1443b2;return!_0x23d974||_0x23d974[_0x2332ec(0x1de)]===0x0||(_0x22a34a[_0x2332ec(0x326)]===_0x2332ec(0x312)&&_0x1c7b38[_0x2332ec(0x31d)]&&(_0x1c7b38[_0x2332ec(0x31d)]=_0x1c7b38[_0x2332ec(0x31d)]+_0x1443b2[_0x2332ec(0x1ec)]),Object[_0x2332ec(0x1e4)](_0x1c7b38)[_0x2332ec(0x208)](([_0x55706e,_0x2f0006])=>{const _0x44aa74=_0x2332ec;typeof _0x2f0006==_0x44aa74(0x428)&&(_0x1c7b38[_0x55706e]=_0x2f0006[_0x44aa74(0x3cc)](/url\(#(.*)\)/,_0x44aa74(0x3b1)+_0x1443b2[_0x44aa74(0x1ec)]+')'));})),_0x1c7b38;}function Ze(_0x22eef5,_0x48c05e){const _0x505485=_0x14293e;var _0x2521a0;const {defIds:_0x22c4f2}=_0x48c05e;return!_0x22c4f2||_0x22c4f2[_0x505485(0x1de)]===0x0?_0x22eef5:_0x22eef5[_0x505485(0x326)]===_0x505485(0x444)&&((_0x2521a0=_0x22eef5[_0x505485(0x3b6)])!=null&&_0x2521a0[_0x505485(0x1de)])?{..._0x22eef5,'children':_0x22eef5['children'][_0x505485(0x3b5)](_0xeff6da=>typeof _0xeff6da[_0x505485(0x25c)]['id']=='string'&&_0x22c4f2&&_0x22c4f2[_0x505485(0x3f2)](_0xeff6da['attrs']['id'])?{..._0xeff6da,'attrs':{..._0xeff6da[_0x505485(0x25c)],'id':_0xeff6da['attrs']['id']+_0x48c05e['idSuffix']}}:_0xeff6da)}:_0x22eef5;}function Qe(){const _0x2eb69b=_0x14293e;return Math[_0x2eb69b(0x405)]()[_0x2eb69b(0x356)](0x24)[_0x2eb69b(0x3a2)](0x2,0x8);}pe[_0x14293e(0x2a4)]=_0x14293e(0x37f);const et={'tag':_0x14293e(0x454),'attrs':{'xmlns':_0x14293e(0x2e7),'fill':'none','viewBox':_0x14293e(0x373),'width':_0x14293e(0x460),'height':_0x14293e(0x460)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x14293e(0x323),'attrs':{'stroke':_0x14293e(0x248),'d':_0x14293e(0x464),'strokeLinecap':_0x14293e(0x35c),'strokeLinejoin':_0x14293e(0x35c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x14293e(0x3f0),'d':_0x14293e(0x451)}}]}]}],'defIds':[_0x14293e(0x243)]},xe=A['forwardRef'](function(_0x36f6eb,_0x2d7561){const _0x1931d7=_0x14293e;return A[_0x1931d7(0x292)](pe,Object[_0x1931d7(0x2fd)]({},_0x36f6eb,{'id':'off-line-icon','ref':_0x2d7561,'icon':et}));});xe[_0x14293e(0x2a4)]=_0x14293e(0x468);const tt={'tag':_0x14293e(0x454),'attrs':{'xmlns':_0x14293e(0x2e7),'fill':_0x14293e(0x2dc),'viewBox':'0\x200\x2017\x2016','width':_0x14293e(0x460),'height':_0x14293e(0x460)},'children':[{'tag':'g','attrs':{'clipPath':_0x14293e(0x36c)},'children':[{'tag':_0x14293e(0x323),'attrs':{'stroke':_0x14293e(0x248),'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':_0x14293e(0x35c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x14293e(0x444),'attrs':{},'children':[{'tag':_0x14293e(0x259),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x14293e(0x323),'attrs':{'fill':_0x14293e(0x3f0),'d':'M0\x200H16V16H0z','transform':_0x14293e(0x415)}}]}]}],'defIds':[_0x14293e(0x3b2)]},Be=A[_0x14293e(0x1e8)](function(_0x399350,_0x595e39){const _0x3bb80f=_0x14293e;return A[_0x3bb80f(0x292)](pe,Object[_0x3bb80f(0x2fd)]({},_0x399350,{'id':_0x3bb80f(0x47f),'ref':_0x595e39,'icon':tt}));});Be[_0x14293e(0x2a4)]=_0x14293e(0x306);function st(_0x11bfb2){const _0x37028d=_0x14293e;switch(_0x11bfb2){case u[_0x37028d(0x34b)][_0x37028d(0x436)]:return _0x37028d(0x374);case u[_0x37028d(0x34b)]['CONFLICT']:return _0x37028d(0x45e);case u[_0x37028d(0x34b)][_0x37028d(0x3f3)]:return _0x37028d(0x317);case u[_0x37028d(0x34b)]['NOT_COLLAB']:return _0x37028d(0x46c);case u[_0x37028d(0x34b)][_0x37028d(0x365)]:case u[_0x37028d(0x34b)][_0x37028d(0x3bc)]:return _0x37028d(0x3aa);case u['CollaborationStatus'][_0x37028d(0x28a)]:case u[_0x37028d(0x34b)]['PENDING']:return _0x37028d(0x3d4);}}function it(_0x233a0f){const _0x3b5334=_0x14293e,{status$:_0x35a999}=_0x233a0f,_0x4d978b=O[_0x3b5334(0x42c)](_0x35a999,u[_0x3b5334(0x34b)][_0x3b5334(0x474)]),_0x55754=O[_0x3b5334(0x2b1)](a['LocaleService']),_0x43f4fe=O[_0x3b5334(0x2b1)](u[_0x3b5334(0x28e)]),_0x2d2f3b=_0x4d978b!==u[_0x3b5334(0x34b)][_0x3b5334(0x436)],_0x462d1f=_0x55754['t'](st(_0x4d978b)),_0x15e2cc=_0x2d2f3b?M[_0x3b5334(0x46a)](Be,{}):M['jsx'](xe,{}),_0x1dde14=A[_0x3b5334(0x3bd)](()=>{const _0xf9c15f=_0x3b5334;_0x2d2f3b||_0x43f4fe[_0xf9c15f(0x487)]();},[_0x2d2f3b,_0x43f4fe]);function _0xf11875(){const _0x1660cf=_0x3b5334;return M[_0x1660cf(0x3c5)](_0x1660cf(0x40d),{'className':_0x1660cf(0x256),'onClick':_0x1dde14,'children':[M[_0x1660cf(0x46a)]('div',{'className':p['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2d2f3b,'univer-text-red-500':!_0x2d2f3b}),'children':_0x15e2cc}),M['jsx'](_0x1660cf(0x40d),{'className':_0x1660cf(0x45f),'children':_0x462d1f})]});}return _0x2d2f3b?_0xf11875():M['jsx'](p[_0x3b5334(0x1ee)],{'title':_0x55754['t'](_0x3b5334(0x350)),'children':_0xf11875()});}var nt=Object['getOwnPropertyDescriptor'],rt=(_0x3f4c00,_0x1bb76e,_0x3112ce,_0x3c28e3)=>{for(var _0x1c188e=_0x3c28e3>0x1?void 0x0:_0x3c28e3?nt(_0x1bb76e,_0x3112ce):_0x1bb76e,_0x18b544=_0x3f4c00['length']-0x1,_0x445abe;_0x18b544>=0x0;_0x18b544--)(_0x445abe=_0x3f4c00[_0x18b544])&&(_0x1c188e=_0x445abe(_0x1c188e)||_0x1c188e);return _0x1c188e;},K=(_0x77ff89,_0x164011)=>(_0x52b2ab,_0x1ced6b)=>_0x164011(_0x52b2ab,_0x1ced6b,_0x77ff89);exports[_0x14293e(0x48f)]=class extends a[_0x14293e(0x37a)]{constructor(_0x3f0573,_0x237037,_0x3bbfba,_0x2b5ea9){const _0x5e14a0=_0x14293e;super(),_(this,'_status$',new I[(_0x5e14a0(0x422))](u['CollaborationStatus'][_0x5e14a0(0x474)])),(this[_0x5e14a0(0x28b)]=_0x3f0573,this['_injector']=_0x237037,this['_collaborationController']=_0x3bbfba,this[_0x5e14a0(0x2a5)]=_0x2b5ea9,this[_0x5e14a0(0x3c7)](),this[_0x5e14a0(0x2de)]());}[_0x14293e(0x2de)](){const _0x406ecb=_0x14293e;this[_0x406ecb(0x463)](this['_univerInstanceService'][_0x406ecb(0x268)][_0x406ecb(0x476)](I['switchMap'](()=>{const _0x2b1dda=_0x406ecb,_0x314e52=this['_univerInstanceService'][_0x2b1dda(0x2a1)]();return _0x314e52?this['_collaborationController'][_0x2b1dda(0x37d)](_0x314e52['getUnitId']()):I['of'](null);}),I['switchMap'](_0x346958=>_0x346958?_0x346958[_0x406ecb(0x1e7)]:I['of'](u[_0x406ecb(0x34b)][_0x406ecb(0x474)])))[_0x406ecb(0x24e)](_0x45526e=>{const _0x2d4628=_0x406ecb;this[_0x2d4628(0x3d5)][_0x2d4628(0x441)](_0x45526e);}));}['_initStatusComponent'](){const _0xec80a1=_0x14293e;this[_0xec80a1(0x463)](this[_0xec80a1(0x2a5)]['registerComponent'](O[_0xec80a1(0x282)]['HEADER_MENU'],()=>O['connectInjector'](ot({'status$':this['_status$'][_0xec80a1(0x245)]()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=rt([K(0x0,a[_0x14293e(0x24d)]),K(0x1,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),K(0x2,a['Inject'](u[_0x14293e(0x1e0)])),K(0x3,O[_0x14293e(0x465)])],exports[_0x14293e(0x48f)]);function ot(_0x436c89){const {status$:_0x3f2f41}=_0x436c89;return function(){return M['jsx'](it,{'status$':_0x3f2f41});};}const Oe=a[_0x14293e(0x41b)](_0x14293e(0x2f5));var at=Object[_0x14293e(0x40b)],ct=(_0xd28410,_0xf98094,_0x2a0b90,_0x31d7c8)=>{const _0x3a3697=_0x14293e;for(var _0x55291b=_0x31d7c8>0x1?void 0x0:_0x31d7c8?at(_0xf98094,_0x2a0b90):_0xf98094,_0x29d4fe=_0xd28410[_0x3a3697(0x1de)]-0x1,_0x126149;_0x29d4fe>=0x0;_0x29d4fe--)(_0x126149=_0xd28410[_0x29d4fe])&&(_0x55291b=_0x126149(_0x55291b)||_0x55291b);return _0x55291b;},Y=(_0x396c4f,_0x233711)=>(_0x23a718,_0x13c400)=>_0x233711(_0x23a718,_0x13c400,_0x396c4f);exports['CollaborationDataLoaderController']=class extends a[_0x14293e(0x429)]{constructor(_0x2d6064,_0x3f7737,_0x50f066,_0x201496,_0x13ecbc){const _0x4c9b10=_0x14293e;super(),this[_0x4c9b10(0x484)]=_0x2d6064,this['_logService']=_0x3f7737,this[_0x4c9b10(0x404)]=_0x50f066,this[_0x4c9b10(0x351)]=_0x201496,_0x13ecbc?_0x13ecbc==null||_0x13ecbc[_0x4c9b10(0x470)]()['then'](()=>this['_init']()):(this[_0x4c9b10(0x3a0)][_0x4c9b10(0x477)](_0x4c9b10(0x3a5),_0x4c9b10(0x247)),this[_0x4c9b10(0x3ab)]());}async[_0x14293e(0x3ab)](){const _0x2225c4=_0x14293e,_0x4d9393=this[_0x2225c4(0x484)][_0x2225c4(0x313)](_0x2225c4(0x1db)),_0x4c638c=this['_urlService'][_0x2225c4(0x313)](_0x2225c4(0x285)),_0x21d011=this[_0x2225c4(0x484)]['getParam'](_0x2225c4(0x2cb));if(!_0x4d9393||!_0x4c638c){this['_logService'][_0x2225c4(0x477)](_0x2225c4(0x3a5),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x117406=await this[_0x2225c4(0x351)]['loadUnit'](_0x4d9393,Number(_0x4c638c),_0x21d011);_0x117406&&_0x117406 instanceof a[_0x2225c4(0x3d2)]&&this[_0x2225c4(0x1df)](_0x117406);}async[_0x14293e(0x1df)](_0x5dca5c){const _0x20006b=_0x14293e;await this[_0x20006b(0x48b)](_0x5dca5c),_0x5dca5c[_0x20006b(0x357)][_0x20006b(0x476)](I['takeUntil'](this[_0x20006b(0x42a)]))['subscribe'](_0x319fa0=>{const _0x1f0cf3=_0x20006b;_0x319fa0&&this[_0x1f0cf3(0x446)](_0x319fa0);}),this[_0x20006b(0x484)][_0x20006b(0x1cd)][_0x20006b(0x476)](I[_0x20006b(0x2ce)](this['dispose$']))[_0x20006b(0x24e)](()=>this[_0x20006b(0x48b)](_0x5dca5c));}[_0x14293e(0x446)](_0x576a7c,_0x30a8b3=!0x1){const _0x5e6ec4=_0x14293e,_0x596acb=this[_0x5e6ec4(0x484)]['getParam'](_0x5e6ec4(0x2cb));_0x576a7c[_0x5e6ec4(0x41c)]()!==_0x596acb&&this[_0x5e6ec4(0x484)][_0x5e6ec4(0x438)](_0x5e6ec4(0x2cb),_0x576a7c[_0x5e6ec4(0x41c)](),_0x30a8b3);}async['_updateSubUnitFromURLParams'](_0x5e24aa){const _0x52ccca=_0x14293e;var _0x13b24f;const _0x31136a=this[_0x52ccca(0x484)]['getParam'](_0x52ccca(0x2cb));if(!_0x31136a||!_0x5e24aa[_0x52ccca(0x354)](_0x31136a)){const _0x59efb5=_0x5e24aa[_0x52ccca(0x427)]()[0x0],_0x355455=_0x5e24aa[_0x52ccca(0x354)](_0x59efb5);if(!_0x355455)return;this[_0x52ccca(0x446)](_0x355455,!0x0),await this[_0x52ccca(0x404)]['executeCommand'](v['SetWorksheetActivateCommand']['id'],{'unitId':_0x5e24aa[_0x52ccca(0x38d)](),'subUnitId':_0x59efb5});return;}((_0x13b24f=_0x5e24aa[_0x52ccca(0x38b)]())==null?void 0x0:_0x13b24f[_0x52ccca(0x41c)]())!==_0x31136a&&await this[_0x52ccca(0x404)][_0x52ccca(0x3fd)](v[_0x52ccca(0x38c)]['id'],{'unitId':_0x5e24aa[_0x52ccca(0x38d)](),'subUnitId':_0x31136a});}},exports[_0x14293e(0x3dc)]=ct([Y(0x0,Oe),Y(0x1,a['ILogService']),Y(0x2,a['ICommandService']),Y(0x3,a[_0x14293e(0x497)](u[_0x14293e(0x286)])),Y(0x4,a[_0x14293e(0x48a)](qe['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var lt=Object[_0x14293e(0x40b)],_t=(_0x407918,_0xe4b4ec,_0x53e879,_0x345ee3)=>{const _0x1f2d92=_0x14293e;for(var _0x14dd8a=_0x345ee3>0x1?void 0x0:_0x345ee3?lt(_0xe4b4ec,_0x53e879):_0xe4b4ec,_0x1f382a=_0x407918[_0x1f2d92(0x1de)]-0x1,_0x1d26cd;_0x1f382a>=0x0;_0x1f382a--)(_0x1d26cd=_0x407918[_0x1f382a])&&(_0x14dd8a=_0x1d26cd(_0x14dd8a)||_0x14dd8a);return _0x14dd8a;},De=(_0x3cb43d,_0x4169c1)=>(_0x159cd2,_0x5c6ef0)=>_0x4169c1(_0x159cd2,_0x5c6ef0,_0x3cb43d);let me=class extends a[_0x14293e(0x429)]{constructor(_0x52dc21,_0x497e99){const _0x3b5cc8=_0x14293e;super(),this['_docClipboardService']=_0x52dc21,this[_0x3b5cc8(0x1e1)]=_0x497e99,this[_0x3b5cc8(0x3ab)]();}[_0x14293e(0x3ab)](){const _0x47b43d=_0x14293e,_0x435efe=this;this[_0x47b43d(0x463)](this[_0x47b43d(0x24c)]['addClipboardHook']({'onBeforePasteImage':async _0x357429=>{const _0x2ec671=_0x47b43d,_0x2b25c0=await _0x435efe[_0x2ec671(0x1e1)][_0x2ec671(0x353)](_0x357429);return _0x2b25c0?{'source':_0x2b25c0[_0x2ec671(0x32b)],'imageSourceType':_0x2b25c0[_0x2ec671(0x39c)]}:null;}}));}};me=_t([De(0x0,T[_0x14293e(0x2c9)]),De(0x1,ze['IImageIoService'])],me);const Ne=[_0x14293e(0x44f),'jiqing.500',_0x14293e(0x254),_0x14293e(0x2e5),'blue.400',_0x14293e(0x393)];class Re extends a[_0x14293e(0x37a)]{constructor(){const _0x775947=_0x14293e;super(...arguments),_(this,_0x775947(0x314),new Map()),_(this,_0x775947(0x2c0),0x0);}[_0x14293e(0x2f7)](_0xcddc59){const _0x4f51a4=_0x14293e;if(this[_0x4f51a4(0x314)]['has'](_0xcddc59))return this[_0x4f51a4(0x314)]['get'](_0xcddc59);const _0xe0e5b3=Ne[this['_colorIndex']];return this[_0x4f51a4(0x2c0)]=(this[_0x4f51a4(0x2c0)]+0x1)%Ne[_0x4f51a4(0x1de)],this[_0x4f51a4(0x314)]['set'](_0xcddc59,_0xe0e5b3),_0xe0e5b3;}}function Fe(_0x501af6){const _0x4938d3=_0x14293e;let _0x1d3995='';for(const _0x2a528a of _0x501af6){const {startOffset:_0x138b13,endOffset:_0x472255,isActive:_0x43ac1f,rangeType:_0x2e4f7a,segmentId:_0x15a52c,segmentPage:_0x26dc5a}=_0x2a528a;_0x1d3995[_0x4938d3(0x1de)]&&(_0x1d3995+=','),_0x1d3995+=_0x138b13+':'+_0x472255+':'+(_0x43ac1f?'1':'0')+':'+_0x2e4f7a+':'+_0x15a52c+':'+_0x26dc5a;}return _0x1d3995;}function ht(_0x413093){const _0x28dcf3=_0x14293e,_0x342344=_0x413093['split'](','),_0x1237a3=[];for(const _0x960d9b of _0x342344){const [_0x33f1dc,_0x299fe7,_0x3e5a3b,_0x5f3fd3,_0x30813f,_0x463e64]=_0x960d9b[_0x28dcf3(0x3c3)](':');_0x1237a3[_0x28dcf3(0x3ef)]({'startOffset':Number(_0x33f1dc),'endOffset':Number(_0x299fe7),'collapsed':_0x33f1dc===_0x299fe7,'isActive':_0x3e5a3b==='1','rangeType':_0x5f3fd3===a['DOC_RANGE_TYPE'][_0x28dcf3(0x40a)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x28dcf3(0x461)][_0x28dcf3(0x289)],'segmentId':typeof _0x30813f==_0x28dcf3(0x428)?String(_0x30813f):'','segmentPage':Number(_0x463e64!=null?_0x463e64:-0x1)});}return _0x1237a3[_0x28dcf3(0x2c4)](_0x3f83b5=>_0x3f83b5[_0x28dcf3(0x207)])||(_0x1237a3[0x0]['isActive']=!0x0),_0x1237a3;}class be extends a[_0x14293e(0x429)]{constructor(){const _0x2a8c25=_0x14293e;super(...arguments),_(this,_0x2a8c25(0x204),new I[(_0x2a8c25(0x422))](null)),_(this,_0x2a8c25(0x425),this[_0x2a8c25(0x204)][_0x2a8c25(0x245)]());}[_0x14293e(0x1e6)](_0x1c7248){const {unitID:_0x24e097,memberID:_0x30000c,textRanges:_0x271e69}=_0x1c7248,_0x5f28e9=Fe(_0x271e69);if(_0x5f28e9==='')return;const _0x2c00f8={'unitID':_0x24e097,'memberID':_0x30000c,'selection':_0x5f28e9};this['_collabCursorState$']['next'](_0x2c00f8);}}var ut=Object[_0x14293e(0x40b)],It=(_0x3e7ccf,_0x410c41,_0x121346,_0x4bd165)=>{const _0x1eaa26=_0x14293e;for(var _0x3391d5=_0x4bd165>0x1?void 0x0:_0x4bd165?ut(_0x410c41,_0x121346):_0x410c41,_0x5e3c96=_0x3e7ccf[_0x1eaa26(0x1de)]-0x1,_0xdb1386;_0x5e3c96>=0x0;_0x5e3c96--)(_0xdb1386=_0x3e7ccf[_0x5e3c96])&&(_0x3391d5=_0xdb1386(_0x3391d5)||_0x3391d5);return _0x3391d5;},U=(_0x412bc1,_0x3372e2)=>(_0x1b7ad3,_0x3f2ef5)=>_0x3372e2(_0x1b7ad3,_0x3f2ef5,_0x412bc1);const St=0x12c,dt=0x64;let ve=class extends a[_0x14293e(0x429)]{constructor(_0x22e87e,_0x3ad20d,_0x392853,_0x18a3da,_0x24038f,_0x678374,_0x1b86f3,_0x54213d,_0x1d8284){const _0x43d8fd=_0x14293e;super(),_(this,_0x43d8fd(0x359),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new I['BehaviorSubject'](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x43d8fd(0x245)]()),_(this,_0x43d8fd(0x3f9),new I[(_0x43d8fd(0x422))]([])),_(this,_0x43d8fd(0x321),this[_0x43d8fd(0x3f9)]['pipe'](I[_0x43d8fd(0x310)](St))),_(this,_0x43d8fd(0x472),a['debounce'](_0x847a7=>{const _0x365dde=_0x43d8fd,_0x48839c={'eventID':g[_0x365dde(0x411)][_0x365dde(0x389)],'data':{'unitID':this['unitID'],'memberID':this[_0x365dde(0x325)][_0x365dde(0x439)](),'selection':Fe(_0x847a7)}};this['_session'][_0x365dde(0x2df)](_0x48839c,this[_0x365dde(0x203)]);},dt)),(this[_0x43d8fd(0x203)]=_0x22e87e,this['_session']=_0x3ad20d,this[_0x43d8fd(0x249)]=_0x392853,this[_0x43d8fd(0x349)]=_0x18a3da,this['_memberService']=_0x24038f,this[_0x43d8fd(0x21f)]=_0x678374,this[_0x43d8fd(0x3ba)]=_0x1b86f3,this['_univerInstanceService']=_0x54213d,this[_0x43d8fd(0x404)]=_0x1d8284);}get['cursorInfo'](){const _0x5224de=_0x14293e;return this[_0x5224de(0x47a)]['getValue']();}get[_0x14293e(0x3c8)](){const _0x133576=_0x14293e;return this[_0x133576(0x3f9)][_0x133576(0x3ee)]();}['dispose'](){const _0x2891d7=_0x14293e;super[_0x2891d7(0x2fc)](),this['_cursorInfo$'][_0x2891d7(0x441)](new Map()),this['_cursorInfo$'][_0x2891d7(0x224)](),this[_0x2891d7(0x3f9)][_0x2891d7(0x441)]([]),this[_0x2891d7(0x3f9)][_0x2891d7(0x224)]();}[_0x14293e(0x3e9)](){const _0x1e93a9=_0x14293e;this['_init']||(this[_0x1e93a9(0x3ab)]=!0x0,this['_session'][_0x1e93a9(0x39d)][_0x1e93a9(0x476)](I['takeUntil'](this[_0x1e93a9(0x42a)]))[_0x1e93a9(0x24e)](_0x221a23=>{const _0x199194=_0x1e93a9;_0x221a23===u[_0x199194(0x397)][_0x199194(0x26f)]?this[_0x199194(0x45a)]():this['_toggleOffline']();}),this[_0x1e93a9(0x325)][_0x1e93a9(0x29d)][_0x1e93a9(0x476)](I[_0x1e93a9(0x2ce)](this[_0x1e93a9(0x42a)]))[_0x1e93a9(0x24e)](_0x25476d=>{const _0x488979=_0x1e93a9,_0x21e852=_0x25476d[_0x488979(0x341)];_0x21e852===g[_0x488979(0x411)]['UPDATE_CURSOR']&&this[_0x488979(0x3fb)](_0x25476d),_0x21e852===g[_0x488979(0x411)][_0x488979(0x3a3)]&&this[_0x488979(0x1e2)](_0x25476d);}),this['disposeWithMe'](this[_0x1e93a9(0x404)][_0x1e93a9(0x369)](_0x5145d3=>{const _0x168751=_0x1e93a9,_0x4995e7=_0x5145d3[_0x168751(0x406)];_0x4995e7!=null&&this['_online']&&_0x5145d3['id']===V[_0x168751(0x329)]['id']&&_0x4995e7[_0x168751(0x2f1)]===this['unitID']&&_0x4995e7[_0x168751(0x45c)]===!0x1&&_0x4995e7[_0x168751(0x3c1)][_0x168751(0x1de)]>0x0&&this[_0x168751(0x472)](_0x4995e7['ranges']);})),this[_0x1e93a9(0x21f)]['collabCursorState$'][_0x1e93a9(0x476)](I['takeUntil'](this[_0x1e93a9(0x42a)]))[_0x1e93a9(0x24e)](_0xf734a5=>{const _0x59a44f=_0x1e93a9;if((_0xf734a5==null?void 0x0:_0xf734a5['unitID'])!==this[_0x59a44f(0x203)])return;const _0x5ec51a={'eventID':g[_0x59a44f(0x411)][_0x59a44f(0x389)],'data':_0xf734a5};this[_0x59a44f(0x3fb)](_0x5ec51a);}),this[_0x1e93a9(0x463)](this[_0x1e93a9(0x404)]['onCommandExecuted'](_0x1ac2ef=>{const _0x385e4a=_0x1e93a9;if(_0x1ac2ef['params']==null)return;const _0x5379a6=_0x1ac2ef[_0x385e4a(0x406)];if(_0x1ac2ef['id']!==V[_0x385e4a(0x23f)]['id']||_0x5379a6['unitId']!==this[_0x385e4a(0x203)])return;const _0x8a919d={'id':_0x385e4a(0x23e),'params':_0x5379a6},_0x964cb=this[_0x385e4a(0x35a)];for(const [_0x2e4375,_0x3a532d]of _0x964cb){const _0xb53756={'id':_0x385e4a(0x23e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3a532d[_0x385e4a(0x3c1)]}},_0x2a12db=this[_0x385e4a(0x3ba)][_0x385e4a(0x2cd)](_0x8a919d,_0xb53756,!0x1);if(g[_0x385e4a(0x478)](_0x2a12db))throw _0x2a12db[_0x385e4a(0x37e)];_0x964cb['set'](_0x2e4375,{..._0x3a532d,'ranges':_0x2a12db['m2Prime'][_0x385e4a(0x406)][_0x385e4a(0x3f1)]});}queueMicrotask(()=>{const _0x49e9df=_0x385e4a;this[_0x49e9df(0x47a)][_0x49e9df(0x441)](_0x964cb);});})));}[_0x14293e(0x3fb)](_0x1f17ca){const _0xb91841=_0x14293e;var _0x5bee6d,_0x1be7ca;const {memberID:_0x1bcf08,selection:_0x3cfe6d}=_0x1f17ca[_0xb91841(0x206)],_0x44c87a=ht(_0x3cfe6d),_0x5973d9=(_0x1be7ca=(_0x5bee6d=this[_0xb91841(0x498)][_0xb91841(0x456)](this[_0xb91841(0x203)],_0x1bcf08))==null?void 0x0:_0x5bee6d[_0xb91841(0x23d)])!=null?_0x1be7ca:'Unknown\x20user',_0x54f71a={'color':this[_0xb91841(0x349)]['assignAColorForMemberID'](_0x1bcf08),'name':_0x5973d9,'ranges':_0x44c87a},_0x168bd3=this['cursorInfo'];_0x168bd3[_0xb91841(0x297)](_0x1bcf08,_0x54f71a),this[_0xb91841(0x47a)][_0xb91841(0x441)](_0x168bd3);}[_0x14293e(0x1e2)](_0x2be2f5){const _0x58365a=_0x14293e,{memberID:_0x3008ad}=_0x2be2f5[_0x58365a(0x206)],_0x1daf40=this[_0x58365a(0x35a)];_0x1daf40['delete'](_0x3008ad),this['_cursorInfo$'][_0x58365a(0x441)](_0x1daf40);}['_toggleOnline'](){const _0x5a4327=_0x14293e;var _0x78bdc1;if(this[_0x5a4327(0x359)]=!0x0,((_0x78bdc1=this[_0x5a4327(0x28b)][_0x5a4327(0x2a1)]())==null?void 0x0:_0x78bdc1['getUnitId']())!==this[_0x5a4327(0x203)])return;const _0xe2b199=this[_0x5a4327(0x249)][_0x5a4327(0x319)](V[_0x5a4327(0x274)])[_0x5a4327(0x2e4)]();Array[_0x5a4327(0x3ad)](_0xe2b199)&&_0xe2b199[_0x5a4327(0x1de)]>0x0&&this[_0x5a4327(0x472)](_0xe2b199);}['_toggleOffline'](){const _0x40b977=_0x14293e;this[_0x40b977(0x359)]=!0x1;}};ve=It([U(0x2,a[_0x14293e(0x497)](a['Injector'])),U(0x3,a[_0x14293e(0x497)](Re)),U(0x4,a[_0x14293e(0x497)](u[_0x14293e(0x363)])),U(0x5,a[_0x14293e(0x497)](be)),U(0x6,g[_0x14293e(0x3b3)]),U(0x7,a[_0x14293e(0x24d)]),U(0x8,a[_0x14293e(0x3f5)])],ve);var ft=Object[_0x14293e(0x40b)],mt=(_0x3cf801,_0x4d94c4,_0x1f6ffa,_0x1de05a)=>{const _0x24436c=_0x14293e;for(var _0x32830d=_0x1de05a>0x1?void 0x0:_0x1de05a?ft(_0x4d94c4,_0x1f6ffa):_0x4d94c4,_0x35752d=_0x3cf801[_0x24436c(0x1de)]-0x1,_0x559eb9;_0x35752d>=0x0;_0x35752d--)(_0x559eb9=_0x3cf801[_0x35752d])&&(_0x32830d=_0x559eb9(_0x32830d)||_0x32830d);return _0x32830d;},w=(_0x2ede0e,_0x1f2021)=>(_0x1c5dd8,_0x103219)=>_0x1f2021(_0x1c5dd8,_0x103219,_0x2ede0e);const vt=0x12c,gt=0x64,Et=()=>{let _0x4c885c=[],_0x5c319c=!0x1;return _0x591f31=>{const _0x552044=_0x3154;_0x4c885c[_0x552044(0x3ef)](_0x591f31),_0x5c319c||(_0x5c319c=!0x0,setTimeout(()=>{const _0x3b469b=_0x552044;_0x4c885c[_0x3b469b(0x208)](_0x45d0b4=>_0x45d0b4()),_0x4c885c=[],_0x5c319c=!0x1;}));};};let ge=class extends a[_0x14293e(0x429)]{constructor(_0x374766,_0x5c5f66,_0x4a2bd7,_0x39c70c,_0x2cf521,_0x137844,_0x2988a8,_0x51b64a){const _0x2e3017=_0x14293e;super(),_(this,'_online',!0x1),_(this,_0x2e3017(0x3ab),!0x1),_(this,_0x2e3017(0x47a),new I['BehaviorSubject'](new Map())),_(this,_0x2e3017(0x480),this[_0x2e3017(0x47a)][_0x2e3017(0x245)]()),_(this,_0x2e3017(0x3f9),new I[(_0x2e3017(0x422))]([])),_(this,_0x2e3017(0x321),this[_0x2e3017(0x3f9)][_0x2e3017(0x476)](I['debounceTime'](vt))),_(this,_0x2e3017(0x472),a[_0x2e3017(0x298)]((_0x2ab431,_0x506f4e)=>{const _0x249e39=_0x2e3017,_0x51bdea={'eventID':g[_0x249e39(0x411)][_0x249e39(0x389)],'data':{'unitID':this[_0x249e39(0x203)],'memberID':this[_0x249e39(0x325)]['getMemberID'](),'selection':B[_0x249e39(0x471)](_0x2ab431,_0x506f4e[_0x249e39(0x2d0)])}};this[_0x249e39(0x325)][_0x249e39(0x2df)](_0x51bdea,this[_0x249e39(0x203)]);},gt)),(this[_0x2e3017(0x203)]=_0x374766,this[_0x2e3017(0x325)]=_0x5c5f66,this[_0x2e3017(0x249)]=_0x4a2bd7,this[_0x2e3017(0x349)]=_0x39c70c,this[_0x2e3017(0x498)]=_0x2cf521,this[_0x2e3017(0x28b)]=_0x137844,this[_0x2e3017(0x404)]=_0x2988a8,this['_refRangeService']=_0x51b64a);}get[_0x14293e(0x35a)](){const _0x445eb0=_0x14293e;return this[_0x445eb0(0x47a)]['getValue']();}get[_0x14293e(0x3c8)](){const _0x156fe0=_0x14293e;return this['_roomMembers$'][_0x156fe0(0x3ee)]();}[_0x14293e(0x2fc)](){const _0xc504f8=_0x14293e;super[_0xc504f8(0x2fc)](),this[_0xc504f8(0x47a)][_0xc504f8(0x441)](new Map()),this[_0xc504f8(0x47a)][_0xc504f8(0x224)](),this[_0xc504f8(0x3f9)][_0xc504f8(0x441)]([]),this[_0xc504f8(0x3f9)][_0xc504f8(0x224)]();}['init'](){const _0x1fe0eb=_0x14293e;this[_0x1fe0eb(0x3ab)]||(this[_0x1fe0eb(0x3ab)]=!0x0,this['_session']['sessionStatus$'][_0x1fe0eb(0x476)](I[_0x1fe0eb(0x2ce)](this[_0x1fe0eb(0x42a)]))[_0x1fe0eb(0x24e)](_0x2b787a=>{const _0x3db93e=_0x1fe0eb;_0x2b787a===u[_0x3db93e(0x397)]['ONLINE']?this[_0x3db93e(0x45a)]():this[_0x3db93e(0x2ba)]();}),this['_session']['event$']['pipe'](I[_0x1fe0eb(0x2ce)](this[_0x1fe0eb(0x42a)]))[_0x1fe0eb(0x24e)](_0x384ff3=>{const _0x2ebf3d=_0x1fe0eb,_0x41cf12=_0x384ff3[_0x2ebf3d(0x341)];_0x41cf12===g[_0x2ebf3d(0x411)]['UPDATE_CURSOR']&&this[_0x2ebf3d(0x3fb)](_0x384ff3),_0x41cf12===g[_0x2ebf3d(0x411)][_0x2ebf3d(0x3a3)]&&this[_0x2ebf3d(0x1e2)](_0x384ff3);}),this[_0x1fe0eb(0x37b)](),this['disposeWithMe'](this[_0x1fe0eb(0x404)]['onCommandExecuted'](_0x55fa39=>{const _0x32c418=_0x1fe0eb;if(this['_online']&&_0x55fa39['id']===v[_0x32c418(0x3e3)]['id']&&_0x55fa39['params'][_0x32c418(0x2f1)]===this[_0x32c418(0x203)]){const _0x4637dc=_0x55fa39[_0x32c418(0x406)];this[_0x32c418(0x472)](_0x4637dc[_0x32c418(0x33f)],_0x4637dc[_0x32c418(0x459)][0x0]);}})));}[_0x14293e(0x3fb)](_0x107696){const _0x3c89b3=_0x14293e;var _0x263860,_0x5405c6;const {memberID:_0x4bbb6c,selection:_0x381e77}=_0x107696[_0x3c89b3(0x206)],{sheetName:_0x43d9fe,range:_0x233146}=B[_0x3c89b3(0x34d)](_0x381e77),_0x182e0a={'name':(_0x5405c6=(_0x263860=this[_0x3c89b3(0x498)][_0x3c89b3(0x456)](this[_0x3c89b3(0x203)],_0x4bbb6c))==null?void 0x0:_0x263860[_0x3c89b3(0x23d)])!=null?_0x5405c6:_0x3c89b3(0x3b0),'range':this[_0x3c89b3(0x2c7)](_0x43d9fe,_0x233146),'sheetID':_0x43d9fe,'color':this['_colorAssignService'][_0x3c89b3(0x2f7)](_0x4bbb6c),'selection':_0x381e77},_0x33b122=this[_0x3c89b3(0x35a)];_0x33b122[_0x3c89b3(0x297)](_0x4bbb6c,_0x182e0a),this[_0x3c89b3(0x47a)][_0x3c89b3(0x441)](_0x33b122);}['_onCursorDelete'](_0x367168){const _0x180b77=_0x14293e,{memberID:_0xd24ef1}=_0x367168['data'],_0x4410f3=this[_0x180b77(0x35a)];_0x4410f3[_0x180b77(0x42f)](_0xd24ef1),this['_cursorInfo$'][_0x180b77(0x441)](_0x4410f3);}[_0x14293e(0x2c7)](_0x5a01f0,_0x29fbe9){const _0x12cb2a=_0x14293e;var _0x540802,_0x4208a7;const _0x403287=(_0x4208a7=(_0x540802=this[_0x12cb2a(0x28b)][_0x12cb2a(0x20a)](this[_0x12cb2a(0x203)]))==null?void 0x0:_0x540802[_0x12cb2a(0x354)](_0x5a01f0))==null?void 0x0:_0x4208a7[_0x12cb2a(0x3ff)]();return(_0x403287==null?void 0x0:_0x403287[_0x12cb2a(0x43c)](_0x43087b=>a[_0x12cb2a(0x2d4)][_0x12cb2a(0x269)](_0x43087b,_0x29fbe9)))||_0x29fbe9;}[_0x14293e(0x37b)](){const _0xf78529=_0x14293e,_0xb155d3=new a[(_0xf78529(0x258))](),_0x3cdb40=Et(),_0x78b1e9=()=>{const _0x2de84c=_0xf78529;_0xb155d3[_0x2de84c(0x2fc)]();const _0x490931=(_0x517ea3,_0x50f4c9,_0x25ff9a,_0x4b872b)=>{const _0x1ac104=_0x2de84c;let _0x2d36c5=[];switch(_0x517ea3['id']){case v['EffectRefRangId'][_0x1ac104(0x3d8)]:{_0x2d36c5=v['handleDeleteRangeMoveLeft'](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x34a)]:{_0x2d36c5=v['handleDeleteRangeMoveUp'](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x2f9)]:{_0x2d36c5=v[_0x1ac104(0x335)](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x48c)]:{_0x2d36c5=v[_0x1ac104(0x238)](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)]['InsertRangeMoveRightCommandId']:{_0x2d36c5=v['handleInsertRangeMoveRight'](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x386)]:{_0x2d36c5=v[_0x1ac104(0x3d1)](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x200)]:{_0x2d36c5=v['handleMoveRange'](_0x517ea3,_0x4b872b);break;}case v['EffectRefRangId'][_0x1ac104(0x1e3)]:{_0x2d36c5=v['handleIRemoveCol'](_0x517ea3,_0x4b872b);break;}case v[_0x1ac104(0x33e)][_0x1ac104(0x1f1)]:{_0x2d36c5=v[_0x1ac104(0x1f5)](_0x517ea3,_0x4b872b);break;}}const _0x443e4a=v[_0x1ac104(0x3eb)](_0x2d36c5,_0x4b872b),_0x1c79c0=this[_0x1ac104(0x35a)][_0x1ac104(0x319)](_0x50f4c9);if(_0x1c79c0&&_0x443e4a){const _0x345ae9={..._0x1c79c0,'range':_0x443e4a};this[_0x1ac104(0x35a)][_0x1ac104(0x297)](_0x50f4c9,_0x345ae9),_0x3cdb40(()=>{const _0x25c5a9=_0x1ac104,_0x183e95=this[_0x25c5a9(0x201)][_0x25c5a9(0x383)](_0x443e4a,_0xacd04=>(_0x183e95[_0x25c5a9(0x2fc)](),_0x490931(_0xacd04,_0x50f4c9,_0x25ff9a,_0x443e4a)));_0xb155d3[_0x25c5a9(0x381)](_0x183e95);});}return{'redos':[],'undos':[]};};this[_0x2de84c(0x35a)][_0x2de84c(0x208)]((_0x3e3538,_0x57e312)=>{const _0x5586fb=_0x2de84c,{range:_0x524187,sheetID:_0x12eded}=_0x3e3538,_0x5858f6=this['_refRangeService']['registerRefRange'](_0x524187,_0x59c63d=>(_0x5858f6[_0x5586fb(0x2fc)](),_0x490931(_0x59c63d,_0x57e312,_0x12eded,_0x524187)));_0xb155d3[_0x5586fb(0x381)](_0x5858f6);});};this[_0xf78529(0x463)](a[_0xf78529(0x221)](this['_cursorInfo$'][_0xf78529(0x24e)](()=>{_0x78b1e9();})));}[_0x14293e(0x45a)](){const _0x21ea75=_0x14293e;var _0x122070,_0x1dab91;if(this['_online']=!0x0,((_0x122070=this[_0x21ea75(0x28b)][_0x21ea75(0x2a1)]())==null?void 0x0:_0x122070[_0x21ea75(0x38d)]())!==this['unitID'])return;const _0x2aeac9=(_0x1dab91=this[_0x21ea75(0x249)][_0x21ea75(0x319)](v[_0x21ea75(0x33d)])[_0x21ea75(0x2b4)]())==null?void 0x0:_0x1dab91[0x0],_0x30714c=this['_univerInstanceService'][_0x21ea75(0x45d)](a[_0x21ea75(0x47d)][_0x21ea75(0x2da)])[_0x21ea75(0x38b)]();_0x2aeac9&&_0x30714c&&this[_0x21ea75(0x472)](_0x30714c['getSheetId'](),_0x2aeac9);}[_0x14293e(0x2ba)](){const _0x3e6620=_0x14293e;this[_0x3e6620(0x359)]=!0x1;}};ge=mt([w(0x2,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),w(0x3,a[_0x14293e(0x497)](Re)),w(0x4,a[_0x14293e(0x497)](u[_0x14293e(0x363)])),w(0x5,a[_0x14293e(0x24d)]),w(0x6,a['ICommandService']),w(0x7,a[_0x14293e(0x497)](v[_0x14293e(0x2db)]))],ge);function _0x1fe8(){const _0x12a27e=['_doCreateSocket','_heartbeatTimer','SheetCollabCursorShape','_transformPreviousActiveRange','width','result','useDependency','message','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getCurrentSelections','maxFormulaLimit','color','UNRECOGNIZED','getUnitStatus$','getRangePointData','_toggleOffline','_instanceService','newValue','_docStateChangeManagerService','178728JNCaUX','UniverCollaborationClientPlugin','_colorIndex','getSkeleton','_handleLeaveEvent','Loading','some','toRgbString','evenodd','_getMergeRange','mutations','IDocClipboardService','clearTimeout','subunit','transform','transformMutation','takeUntil','session.collaboration-timeout','range','resize','CollaborationUIEventId','_render','Rectangle','getCurrentRevOfUnit','_cursors','defIds','height','LOGIN_FAILED','UNIVER_SHEET','RefRangeService','none','_getAnchorBounding','_initStatusListener','send','_docSkeletonManagerService','...','YUUMI_NO_CUBOID_FOR_QUESTION','current','getDocRanges','red.300','_currentUsage','http://www.w3.org/2000/svg','Rect','enableLocalCache','_initUserListener','requireSession','getItem','ACTIVE_UNIT_EVENT_CHANNEL','_startDocCollabCursor','HTTPService','fill','unitId','setAlpha','lineno','_shapes','uni.network.url-service','search','assignAColorForMemberID','rgba(255,\x20255,\x20255,\x200.01)','InsertColCommandId','_docSkeleton','replaceDocRanges','dispose','assign','_initWindowErrorListener','VIEW_MAIN','transformByState','undoState','memberID','APPLY_REJECT','_scheduleHeartbeat','APPLY_REVISION_CONFILICT','OnLineIcon','currentSkeleton$','getCellPositionByOffset','Error','SheetSkeletonManagerService','ERROR_AGAIN','YUUMI_CONNECTOR_URL_NOT_FOUND','fillRule','_drawTextRange','ENTITLE_COUPON_USED_UP','debounceTime','column','use','getParam','_assignedColors','Failed','APPLY_DUPLICATED','collabStatus.fetchMiss','_beforeCloseService','get','_getSaveTimeout','Success','YUUMI_ASYNCIO_CANCELLED','xlink:href','USER_NOT_INVITED_CODE','_httpService','filter','roomMembers$','font','path','MOBILE_VERIFY_CODE_MISMATCH','_session','tag','_handleEvent','measureText','SetTextSelectionsOperation','getConfig','source','updateOfflineData','LICENSE_MAX_UNITS_EXCEEDED','911205rMZxaF','START_CALCULATION','exhaustSavingTask','_getSheetObject','_hovered','UnitStatus','\x20at\x20','handleInsertCol','formula.calculation.started','_localCacheService','OTHER_CLIENT_EDITING','SetFormulaCalculationNotificationMutation','colorChannel1','parseInt','_document','SheetsSelectionsService','EffectRefRangId','subUnitId','generateRandomId','eventID','_showGuardMessage','_updateCollabCursors','deepClone','drawWith','beforeCommandExecuted','INVITE_CODE_REQUIRED','getVpScrollXYInfoByPosToVp','_colorAssignService','DeleteRangeMoveUpCommandId','CollaborationStatus','DocStateChangeManagerService','deserializeRangeWithSheet','removeEventListener','isFormulaId','collab-client.tooltip.reconnect','_dataLoaderService','COLORS','saveImage','getSheetBySheetId','isFormulaString','toString','activeSheet$','83jpUARK','_online','cursorInfo','_getFormulaLimitStatus','round','IURLService','setConfig','setShapeProps','_setFormulaLimitStatus','CHANGESET_REVISION_CONFILICT','_getScale','MemberService','actions','AWAITING','getCellMatrix','CURRENT_STATUS_CANNOT_OPERATE','_memberID','onCommandExecuted','getRenderById','getTypeOfUnitAdded$','url(#on-line-icon_clip0_910_349)','_anchor','setItem','getTypeOfUnitDisposed$','body','collaboration-client-ui.config','_anchorDot','0\x200\x2016\x2016','collabStatus.offline','registerRenderModule','ALREADY_EXISTS','symbol','selection','RemoteUniscriptService','Disposable','_onRefRangeChange','4218yuTdcG','getCollabEntity$','error','UniverIcon','stageInfo','add','runId','registerRefRange','_setupBeforeClosingHandler','Tools','InsertRowCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UPDATE_CURSOR','_selfUnitIDs','getActiveSheet','SetWorksheetActivateCommand','getUnitId','flatMap','_startCalculationLimit','transformSelections','?taskId=','restore','yellow.400','getLocalCacheKey','_hover','currentTheme$','SessionStatus','DocSkeletonManagerService','then','registerBeforeClose','ENTITLE_INVALID_COUPON_CODE','imageSourceType','sessionStatus$','ISnapshotServerService','ILocalStorageService','_logService','saveTaskMap','substring','USERS_LEAVE','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationDataLoaderController]','_entities','PERMISSION_DENIED','redoState','distinctUntilChanged','collabStatus.syncing','_init','findNodePositionByCharIndex','isArray','toStringTag','backgroundColor','Unknown\x20user','url(#$1','on-line-icon_clip0_910_349','ITransformService','loadOfflineData','map','children','endColumn','CommandType','onMouseMove','_transformService','size','AWAITING_WITH_PENDING','useCallback','NO_OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','10680sGhTcZ','ranges','_entityInit$','split','_initDependencies','jsxs','_send','_initStatusComponent','roomMembers','574048OcokYT','APPLY_NON_SEQUENTIAL_REVISION','RegularPolygon','replace','has','key','_collaborationUIEventService','_id','handleInsertRow','Workbook','_handleJoinEvent','collabStatus.synced','_status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','INVALID_INVITE_CODE','DeleteRangeMoveLeftCommandId','getRelativeToViewportCoord','_handleHover','transformMutationsWithChangeset','CollaborationDataLoaderController','createSocket','_saveTaskMap','REDEMPTION_CODE_HAS_BEEN_CREATED','_context','startColumn','useRef','SetSelectionsOperation','ENSURE_SNAPSHOT_EXECUTION','SHEET_VIEWPORT_KEY','setUndoRedoMutationParamsCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','REDEMPTION_CODE_INACTIVE','init','_checkCalculationAvailable','runRefRangeMutations','sheetId','_initResize','getValue','push','white','textRanges','includes','FETCH_MISS','_cursorShapes','ICommandService','save','subscribeEvent','addEventListener','_roomMembers$','setActiveRange','_onCursorUpdate','fromEvent','executeCommand','max','getMergeData','FormulaExecuteStageType','setTimeout','fromEventSubject','_collabCursorController','_commandService','random','params','createInstance','IMessageService','ENTITLE_DUP_SUBSCRIPTION','TEXT','getOwnPropertyDescriptor','with','div','MUTATION','INTERNAL_ERROR','removeParam','CollaborationEvent','throttleTime','_checkAndWaitForCalculationPermission','LocaleService','translate(.97)','limitInfo','COMPLETION_FINISHED','_initEvent','Injector','_createSocketURL','createIdentifier','getSheetId','LOGIN_TOKEN_PROCESSING_FAILED','/universer-api/license/formula/limit/start','_uploadLog','JOIN_ROOM_FAILED','docStateChange$','BehaviorSubject','collaboration.closeRoom','ISocketService','collabCursorState$','getViewport','getUnhiddenWorksheets','string','RxDisposable','dispose$','transformRemoteChangeset','useObservable','_config','_transformHistoryAndStateStack','delete','_lastResponseTimestamp','ENTITLE_REPORT_LIMIT_EXCEED','LICENSE_IMPORT_SIZE_EXCEEDED','DocCollaborationEntity','CollaborationSocketService','combineLatest','OFFLINE','onLocalMutation','setParam','getMemberID','DATA_SOURCE_TOO_LARGE','_lastPointer','find','m2Prime','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','post','next','onRendered','YUUMI_RATE_OVER_LIMIT','defs','getAncestorScale','_updateURLWithCurrentState','CLOSE_ROOM','_drawRectRange','_range','LOCAL_CACHE_INTERVAL_KEY','reason','startRow','unsubscribe','YUUMI_URL_COL_OUT_OF_RANGE','purple.300','/run/','M0\x200H16V16H0z','show','FromArray','svg','_pollingInterval','getMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSessionTicket','selections','_toggleOnline','ILogService','isEditing','getCurrentUnitForType','collabStatus.conflict','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','1em','DOC_RANGE_TYPE','SNAPSHOT_HAS_BEEN_REMOVED','disposeWithMe','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','IUIPartsService','stack','_transformUndoRedoStack','OffLineIcon','fillText','jsx','AUTHORIZE_CODE_ILLEGAL','collabStatus.notCollab','collaboration.single-unit.warning','_hideTimer','Warning','whenReady','serializeRangeWithSheet','_updateLocalCursor','651olJnSC','NOT_COLLAB','INotificationService','pipe','debug','isTransformMutationFailure','ENTITLE_COUPON_EXPIRED','_cursorInfo$','_revisionService','addObject','UniverInstanceType','_handleHeartbeatEvent','on-line-icon','cursorInfo$','REDEMPTION_CODE_NOT_STARTED','stage','_draw','_urlService','ILocalCacheService','merge','reconnect','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','Optional','_updateSubUnitFromURLParams','InsertRangeMoveDownCommandId','Plugin','_clearOtherTimers','DesktopCollaborationStatusDisplayController','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setStateCache','getCoordByCell','values','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','bottom','getCollabCursors$','Inject','_memberService','_unitOnClients','_messageService','_color','_ensureSubject','urlChange$','_configService','setInterval','USER_IS_ANONYMOUS','disposeUnit','_backgroundColor','href','hide','_notificationService','_cursor','REDEMPTION_USER_NOT_ELIGIBLE','NodePositionConvertToRectRange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ThemeService','unit','_scheduleSaving','NodePositionConvertToCursor','length','_setupSubUnitSync','CollaborationController','_imageIoService','_onCursorDelete','RemoveColCommandId','entries','Vector2','syncEditingCollabCursor','status$','forwardRef','all','getUndoRedoMutationParamsCache','_taskIds','idSuffix','permission.content','Tooltip','_themeService','onPointerLeave$','RemoveRowCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_sheetSkeletonManagerService','formula.calculation.waiting','handleIRemoveRow','executionId','searchParams','black','_maxFormulaLimit','INVITE_CODE_ALREADY_BOUND','Shape','session.connection-failed','[LogService\x20Error]:\x20','_scene','_saveCache','MoveRangeCommandId','_refRangeService','WECHAT_HAS_BEEN_BOUND','unitID','_collabCursorState$','moveTo','data','isActive','forEach','_initCommandInterceptor','getUniverSheetInstance','startFormulaLimitUrl','EMAIL_HAS_BEEN_BOUND','from','OTHER_CLIENTS_EDITING','UNIVER_DOC','pushState','location','code','RevisionService','invokeId','_drawAnchor','632247gwmJMH','814725sfnWfw','_registerRenderDependencies','IConfigService','min','unhandledrejection','session.will-retry','collab-text-anchor-','lineTo','_syncEditingCollabCursorService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','toDisposable','mapTo','WebBrowserSingleActiveUnitService','complete','_applyCommand','top','onPointerEnter$','NOT_FOUND','IRenderManagerService','_renderManagerService','_removeCollabCursors','_docTransformSelectionsService','transformStateCache','_collaborationSessionService','_eventUnsubscribe','_localeService','ENTITLE_CHAT_LIMIT_EXCEED','saveOfflineData','_disabled','getStateCache','YUUMI_AI_RUN_FAILED','_labelPosition','[Window\x20Error]:\x20','handleInsertRangeMoveDown','runOnServer','collaboration.offline-data-not-saved','stringify','m1Prime','name','doc.mutation.rich-text-editing','RichTextEditingMutation','REDEMPTION_USER_REDEEM_TIMES_EXCEED','FormulaExecutedStateType','touchDependencies','off-line-icon_clip0_910_343','_docSyncEditingCollabCursorService','asObservable','totalFormulasToCalculate','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentColor','_injector','USER_NOT_FOUND','defineProperty','_docClipboardService','IUniverInstanceService','subscribe','history','registerDependencies','MessageType','_initUnhandledRejectionListener','ENTITLE_INSUFFICIENT_QUOTA','green.600','_initEntityListener','univer-flex\x20univer-items-center','transformIMECache','DisposableCollection','clipPath','origin','mask','attrs','YUUMI_UNABLE_LOAD_URL','text','_startSheetCollabCursor','BrowserCollaborationSocketService','UNDEFINED','UniverCollaborationClientUIPlugin','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_docTransformStateCacheService','SUBMIT_CHANGESET_TIMEOUT','TEXT_RANGE_LAYER_INDEX','focused$','contains','trim','makeDirty','_collabSessionService','getColorFromTheme','_releaseCalculationLimit','ONLINE','now','_monkeyPatchLogService','DependentOn','_refreshCollabCursors','DocSelectionManagerService','ColorKit','wsSessionTicketUrl','PY_RUNTIME_SCRIPT_ERROR','_cachedData','sheetID','Subject','_removeClearOtherTimer','bind','filename','skeleton','hovered','_name','releaseFormulaLimitUrl','BuiltInUIPart','isTransformMutationsWithChangesetSuccess','clearInterval','type','DataLoaderService','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','RECT','SYNCED','_univerInstanceService','CONNECTOR_DATA_TOO_LARGE','_scheduleClearOtherTimer','CollaborationSessionService','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_HAS_BEEN_UES','_localStorageService','createElement','arc','SetFormulaCalculationStartMutation','_unitStatus','DocIMEInputManagerService','set','debounce','SOCKET_FAILED','getColor','triggerDblclick','unshift','event$','REDEMPTION_INVALID_CODE','unload','LICENSE_DISTRO_REJECTED','getFocusedUnit','row','_collaborationController','displayName','_uiPartsService','getActiveRange','_textBubble','switchMap','_clearPolling','ENTITLE_NEED_BILLING_ADDRESS'];_0x1fe8=function(){return _0x12a27e;};return _0x1fe8();}var Ct=Object[_0x14293e(0x40b)],Tt=(_0x7ddcf4,_0x302fd2,_0x11e78a,_0x627975)=>{const _0x5a3bdc=_0x14293e;for(var _0x2b20f8=_0x627975>0x1?void 0x0:_0x627975?Ct(_0x302fd2,_0x11e78a):_0x302fd2,_0x1e8108=_0x7ddcf4[_0x5a3bdc(0x1de)]-0x1,_0x7ab6f5;_0x1e8108>=0x0;_0x1e8108--)(_0x7ab6f5=_0x7ddcf4[_0x1e8108])&&(_0x2b20f8=_0x7ab6f5(_0x2b20f8)||_0x2b20f8);return _0x2b20f8;},ce=(_0x4ccae1,_0x53670e)=>(_0x568836,_0x30ae32)=>_0x53670e(_0x568836,_0x30ae32,_0x4ccae1);let F=class extends a[_0x14293e(0x429)]{constructor(_0x1546ba,_0x415a37,_0x576a1f){const _0x30b1b7=_0x14293e;super(),_(this,_0x30b1b7(0x3a6),new Map()),_(this,'_entityInit$',new I[(_0x30b1b7(0x27a))]()),(this[_0x30b1b7(0x28b)]=_0x1546ba,this[_0x30b1b7(0x249)]=_0x415a37,this[_0x30b1b7(0x26c)]=_0x576a1f,this[_0x30b1b7(0x3ab)]());}[_0x14293e(0x2fc)](){const _0x4cfb8d=_0x14293e;super[_0x4cfb8d(0x2fc)](),this[_0x4cfb8d(0x3c2)][_0x4cfb8d(0x224)](),this['_entities'][_0x4cfb8d(0x208)](_0x574735=>_0x574735[_0x4cfb8d(0x2fc)]());}[_0x14293e(0x496)](_0x3b8947){const _0x41b2fa=_0x14293e;return this[_0x41b2fa(0x3a6)][_0x41b2fa(0x3cd)](_0x3b8947)?this[_0x41b2fa(0x3a6)][_0x41b2fa(0x319)](_0x3b8947)['cursorInfo$']:this[_0x41b2fa(0x3c2)][_0x41b2fa(0x476)](I[_0x41b2fa(0x320)](_0x182a79=>_0x182a79[_0x41b2fa(0x203)]===_0x3b8947),I[_0x41b2fa(0x2a8)](_0xa933a3=>_0xa933a3['cursorInfo$']));}['_init'](){const _0x1b7a08=_0x14293e;this[_0x1b7a08(0x28b)]['getTypeOfUnitAdded$'](a[_0x1b7a08(0x47d)][_0x1b7a08(0x2da)])['pipe'](I[_0x1b7a08(0x2ce)](this[_0x1b7a08(0x42a)]))[_0x1b7a08(0x24e)](async _0x44babe=>{const _0x57b589=_0x1b7a08,_0x817558=_0x44babe[_0x57b589(0x38d)](),_0x3dcbd7=await this['_startSheetCollabCursor'](_0x817558);this[_0x57b589(0x3c2)][_0x57b589(0x441)](_0x3dcbd7),this[_0x57b589(0x3a6)][_0x57b589(0x297)](_0x817558,_0x3dcbd7);}),this['_univerInstanceService'][_0x1b7a08(0x36b)](a[_0x1b7a08(0x47d)][_0x1b7a08(0x20f)])['pipe'](I['takeUntil'](this[_0x1b7a08(0x42a)]))[_0x1b7a08(0x476)](I['filter'](_0x1da826=>!_0x1da826['getUnitId']()['startsWith']('__')))[_0x1b7a08(0x24e)](async _0xf52442=>{const _0x98c983=_0x1b7a08,_0xf11278=_0xf52442[_0x98c983(0x38d)](),_0x41d56c=await this[_0x98c983(0x2ee)](_0xf11278);this[_0x98c983(0x3c2)]['next'](_0x41d56c),this['_entities']['set'](_0xf11278,_0x41d56c);}),I[_0x1b7a08(0x486)](this[_0x1b7a08(0x28b)]['getTypeOfUnitDisposed$'](a[_0x1b7a08(0x47d)]['UNIVER_DOC']),this['_univerInstanceService'][_0x1b7a08(0x36f)](a[_0x1b7a08(0x47d)]['UNIVER_SHEET']))[_0x1b7a08(0x476)](I[_0x1b7a08(0x2ce)](this['dispose$']))[_0x1b7a08(0x24e)](_0x34b226=>{const _0x821848=_0x1b7a08,_0x2bcd1e=_0x34b226[_0x821848(0x38d)](),_0x59da8a=this[_0x821848(0x3a6)][_0x821848(0x319)](_0x2bcd1e);_0x59da8a&&(_0x59da8a[_0x821848(0x2fc)](),this['_entities'][_0x821848(0x42f)](_0x2bcd1e));});}async[_0x14293e(0x25f)](_0x4241f2){const _0x14fc6a=_0x14293e,_0xae3842=await this[_0x14fc6a(0x26c)][_0x14fc6a(0x2eb)](_0x4241f2),_0x4d164f=this[_0x14fc6a(0x249)]['createInstance'](ge,_0x4241f2,_0xae3842);return _0x4d164f[_0x14fc6a(0x3e9)](),_0x4d164f;}async[_0x14293e(0x2ee)](_0x17bd49){const _0x413a89=_0x14293e,_0x350ed8=await this[_0x413a89(0x26c)][_0x413a89(0x2eb)](_0x17bd49),_0x50bb5e=this['_injector'][_0x413a89(0x407)](ve,_0x17bd49,_0x350ed8);return _0x50bb5e[_0x413a89(0x3e9)](),_0x50bb5e;}};F=Tt([ce(0x0,a[_0x14293e(0x24d)]),ce(0x1,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),ce(0x2,a[_0x14293e(0x497)](u[_0x14293e(0x28e)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x43d3e9,_0x59b32d){const _0x40e837=_0x14293e;let {radius:_0x15aaa8,width:_0x391e5d,height:_0x5128cb}=_0x59b32d;_0x15aaa8=_0x15aaa8!=null?_0x15aaa8:0x0,_0x391e5d=_0x391e5d!=null?_0x391e5d:0x1e,_0x5128cb=_0x5128cb!=null?_0x5128cb:0x1e;let _0x598662=0x0,_0x10d676=0x0,_0x4c4d6e=0x0;_0x598662=_0x10d676=_0x4c4d6e=Math[_0x40e837(0x21a)](_0x15aaa8,_0x391e5d/0x2,_0x5128cb/0x2),_0x43d3e9['beginPath'](),_0x43d3e9[_0x40e837(0x205)](_0x598662,0x0),_0x43d3e9[_0x40e837(0x21e)](_0x391e5d-_0x10d676,0x0),_0x43d3e9[_0x40e837(0x293)](_0x391e5d-_0x10d676,_0x10d676,_0x10d676,Math['PI']*0x3/0x2,0x0,!0x1),_0x43d3e9['lineTo'](_0x391e5d,_0x5128cb-_0x4c4d6e),_0x43d3e9[_0x40e837(0x293)](_0x391e5d-_0x4c4d6e,_0x5128cb-_0x4c4d6e,_0x4c4d6e,0x0,Math['PI']/0x2,!0x1),_0x43d3e9[_0x40e837(0x21e)](0x0,_0x5128cb),_0x43d3e9['lineTo'](0x0,_0x598662),_0x43d3e9['arc'](_0x598662,_0x598662,_0x598662,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43d3e9['closePath'](),_0x59b32d[_0x40e837(0x2f0)]&&(_0x43d3e9[_0x40e837(0x3f6)](),_0x43d3e9['fillStyle']=_0x59b32d[_0x40e837(0x2f0)],_0x59b32d[_0x40e837(0x30d)]===_0x40e837(0x2c6)?_0x43d3e9[_0x40e837(0x2f0)](_0x40e837(0x2c6)):_0x43d3e9[_0x40e837(0x2f0)](),_0x43d3e9[_0x40e837(0x392)]());}class re extends C['Shape']{constructor(_0x23b1b5,_0x59b1da){const _0x260c2c=_0x14293e;super(_0x23b1b5,_0x59b1da),_(this,_0x260c2c(0x2b6)),_(this,'text'),(this[_0x260c2c(0x2b6)]=_0x59b1da==null?void 0x0:_0x59b1da['color'],this['text']=_0x59b1da==null?void 0x0:_0x59b1da[_0x260c2c(0x25e)]);}static[_0x14293e(0x345)](_0x339a6d,_0x4ebe10){const _0x3cfac9=_0x14293e,{text:_0x9b4b5a,color:_0x587334}=_0x4ebe10;_0x339a6d['save'](),_0x339a6d[_0x3cfac9(0x322)]=_0x3cfac9(0x1f2);const _0x3759e2=_0x339a6d[_0x3cfac9(0x328)](_0x9b4b5a)[_0x3cfac9(0x2af)],_0x3a0368=Math['min'](_0x3759e2+0x2*le,Ue);Ot(_0x339a6d,{'height':X,'radius':0x4,'width':_0x3a0368,'fill':_0x587334}),_0x339a6d['fillStyle']='#FFF';const _0x4eca3b=le,_0x57c1df=X-pt,_0x2c7af1=Ue-0x2*le;if(_0x3759e2>_0x2c7af1){let _0x1ddb2e='',_0x305f7=0x0;for(const _0xf232ef of _0x9b4b5a){const _0x5ed71e=_0x339a6d[_0x3cfac9(0x328)](_0xf232ef)['width'];if(_0x305f7+_0x5ed71e<=_0x2c7af1-_0x339a6d[_0x3cfac9(0x328)](_0x3cfac9(0x2e1))[_0x3cfac9(0x2af)])_0x1ddb2e+=_0xf232ef,_0x305f7+=_0x5ed71e;else{_0x1ddb2e+='...';break;}}_0x339a6d[_0x3cfac9(0x469)](_0x1ddb2e,_0x4eca3b,_0x57c1df);}else _0x339a6d[_0x3cfac9(0x469)](_0x9b4b5a,_0x4eca3b,_0x57c1df);_0x339a6d[_0x3cfac9(0x392)]();}['_draw'](_0x444c91){const _0x10e181=_0x14293e;re[_0x10e181(0x345)](_0x444c91,this);}}const _e=_0x14293e(0x21d),Rt='collab-text-range-',bt='collab-rect-range-',H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x14293e(0x2f8);class Le{constructor(_0x4fb92,_0x59c31c,_0x3e2ea9,_0x3ee2f5){const _0x108e26=_0x14293e;_(this,_0x108e26(0x2f4),[]),_(this,_0x108e26(0x36d),null),_(this,_0x108e26(0x2a7),null),_(this,_0x108e26(0x372),null),_(this,_0x108e26(0x46e),null),_(this,_0x108e26(0x22f),null),(this[_0x108e26(0x1d6)]=_0x4fb92,this['_scene']=_0x59c31c,this[_0x108e26(0x2fa)]=_0x3e2ea9,this[_0x108e26(0x33c)]=_0x3ee2f5,this[_0x108e26(0x2d3)]());}set['_hover'](_0x5d6091){const _0x5db70e=_0x14293e;_0x5d6091?(this['_anchorDot']&&this[_0x5db70e(0x372)][_0x5db70e(0x1d4)](),this[_0x5db70e(0x2a7)]&&this['_textBubble'][_0x5db70e(0x452)]()):(this[_0x5db70e(0x372)]&&this[_0x5db70e(0x372)][_0x5db70e(0x452)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x14293e(0x2fc)](){const _0x561bd9=_0x14293e;for(const _0x19c072 of this[_0x561bd9(0x2f4)])_0x19c072['dispose']();this[_0x561bd9(0x2a7)]&&this[_0x561bd9(0x2a7)][_0x561bd9(0x2fc)](),this[_0x561bd9(0x372)]&&this[_0x561bd9(0x372)]['dispose'](),this['_anchor']&&this[_0x561bd9(0x36d)]['dispose'](),this[_0x561bd9(0x22f)]&&this[_0x561bd9(0x22f)]();}[_0x14293e(0x2d3)](){const _0x5bd0d2=_0x14293e;var _0x51970a;const {_docSkeleton:_0x5bbb2a,_document:_0x41826a}=this,{color:_0x58255f,name:_0x1418bb,ranges:_0x37127d}=this[_0x5bd0d2(0x1d6)],_0x4f6889=_0x41826a['getOffsetConfig'](),{docsLeft:_0x31a6ef,docsTop:_0x1ab532}=_0x4f6889,_0xded91f=new T[(_0x5bd0d2(0x1dd))](_0x4f6889,_0x5bbb2a);for(const {startOffset:_0x15f2f5,endOffset:_0x26f52b,rangeType:_0x2b6719,segmentId:_0x40bad0,segmentPage:_0x350695,collapsed:_0x25aa4d,isActive:_0x554d89}of _0x37127d){const _0x4f5052=_0x5bbb2a[_0x5bd0d2(0x3ac)](_0x15f2f5,!0x0,_0x40bad0,_0x350695);let _0x2db585=_0x5bbb2a['findNodePositionByCharIndex'](_0x26f52b,!0x0,_0x40bad0,_0x350695);if(_0x2db585==null&&(_0x2db585=_0x5bbb2a['findNodePositionByCharIndex'](_0x26f52b-0x1,!0x1,_0x40bad0,_0x350695)),_0x554d89){const {contentBoxPointGroup:_0x15082d}=_0xded91f[_0x5bd0d2(0x2b9)](_0x2db585,_0x2db585);if(_0x15082d[_0x5bd0d2(0x1de)]===0x0)continue;this[_0x5bd0d2(0x215)](_0x58255f,_0x15082d,_0x31a6ef,_0x1ab532,_0x1418bb),this[_0x5bd0d2(0x22f)]=this[_0x5bd0d2(0x3da)]();}if(_0x4f5052&&_0x2db585){if(_0x2b6719===a['DOC_RANGE_TYPE'][_0x5bd0d2(0x289)]){const _0x214b06=new T[(_0x5bd0d2(0x1d8))](_0x4f6889,_0x5bbb2a),{pointGroup:_0x24b766}=(_0x51970a=_0x214b06[_0x5bd0d2(0x2b9)](_0x4f5052,_0x2db585))!=null?_0x51970a:{};if(_0x24b766==null||_0x24b766['length']===0x0)continue;this[_0x5bd0d2(0x448)](_0x58255f,_0x24b766,_0x31a6ef,_0x1ab532);}else{if(!_0x25aa4d){const {borderBoxPointGroup:_0x3d57ae}=_0xded91f[_0x5bd0d2(0x2b9)](_0x4f5052,_0x2db585);if(_0x3d57ae[_0x5bd0d2(0x1de)]===0x0)continue;this[_0x5bd0d2(0x30e)](_0x58255f,_0x3d57ae,_0x31a6ef,_0x1ab532);}}}}}[_0x14293e(0x215)](_0x38b03a,_0x4aa6d0,_0x166489,_0x5384bb,_0x504106){const _0x29fc3c=_0x14293e,_0x440a87=this[_0x29fc3c(0x2dd)](_0x4aa6d0),{left:_0x5b392f,top:_0x398b89,height:_0x3c7a75}=_0x440a87,_0x16c0f5=this[_0x29fc3c(0x362)](),_0x307906=Nt/_0x16c0f5,_0x182295=new C[(_0x29fc3c(0x2e8))](_e+a[_0x29fc3c(0x340)](H),{'left':_0x5b392f+_0x166489-_0x307906,'top':_0x398b89+_0x5384bb,'height':_0x3c7a75,'width':Dt,'fill':_0x38b03a||C['getColor'](a[_0x29fc3c(0x352)][_0x29fc3c(0x1f8)],0x0),'strokeWidth':_0x307906,'stroke':Ut,'evented':!0x0});this['_anchor']=_0x182295,this[_0x29fc3c(0x1fe)][_0x29fc3c(0x47c)](_0x182295,T[_0x29fc3c(0x267)]);const _0x31259f=new C[(_0x29fc3c(0x2e8))](_e+a[_0x29fc3c(0x340)](H),{'left':_0x5b392f+_0x166489-_0x307906,'top':_0x398b89+_0x5384bb-he/0x2,'height':he,'width':he,'fill':_0x38b03a||C[_0x29fc3c(0x29a)](a['COLORS'][_0x29fc3c(0x1f8)],0x0),'strokeWidth':0x0,'stroke':_0x38b03a||C[_0x29fc3c(0x29a)](a[_0x29fc3c(0x352)][_0x29fc3c(0x1f8)],0x0),'evented':!0x1});this['_anchorDot']=_0x31259f,this[_0x29fc3c(0x1fe)][_0x29fc3c(0x47c)](_0x31259f,T[_0x29fc3c(0x267)]);const _0x58be85=new re(_e+a[_0x29fc3c(0x340)](H),{'left':_0x5b392f+_0x166489-_0x307906,'top':_0x398b89+_0x5384bb-X,'text':_0x504106,'color':_0x38b03a});this[_0x29fc3c(0x2a7)]=_0x58be85,this[_0x29fc3c(0x1fe)][_0x29fc3c(0x47c)](_0x58be85,T[_0x29fc3c(0x267)]),this[_0x29fc3c(0x395)]=!0x1;}[_0x14293e(0x3da)](){const _0x1ec0f7=_0x14293e,_0x204577=this[_0x1ec0f7(0x36d)][_0x1ec0f7(0x227)][_0x1ec0f7(0x3f7)](()=>{const _0x1fb18f=_0x1ec0f7;this[_0x1fb18f(0x395)]=!0x0;}),_0x2c8195=this[_0x1ec0f7(0x36d)][_0x1ec0f7(0x1f0)][_0x1ec0f7(0x3f7)](()=>{const _0x5b19ec=_0x1ec0f7;this['_hideTimer']&&clearTimeout(this[_0x5b19ec(0x46e)]),this['_hideTimer']=setTimeout(()=>{const _0x51f633=_0x5b19ec;this[_0x51f633(0x395)]=!0x1;},0x7d0);});return()=>{const _0x1363f3=_0x1ec0f7;_0x204577[_0x1363f3(0x44d)](),_0x2c8195['unsubscribe']();};}[_0x14293e(0x30e)](_0x36d818,_0xfa6bd3,_0x2d06b2,_0x39d366){const _0x1618ec=_0x14293e,_0x1a1a98=new a['ColorKit'](_0x36d818)[_0x1618ec(0x2f2)](0.2)[_0x1618ec(0x2c5)](),_0x2651ce=new C[(_0x1618ec(0x3cb))](Rt+a[_0x1618ec(0x340)](H),{'pointsGroup':_0xfa6bd3,'fill':_0x1a1a98||C[_0x1618ec(0x29a)](a[_0x1618ec(0x352)]['black'],0.2),'left':_0x2d06b2,'top':_0x39d366,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2651ce),this[_0x1618ec(0x1fe)][_0x1618ec(0x47c)](_0x2651ce,T[_0x1618ec(0x267)]);}[_0x14293e(0x448)](_0x1808d0,_0x30977d,_0x170a16,_0x2ac299){const _0x4848d7=_0x14293e,_0x27f874=new a[(_0x4848d7(0x275))](_0x1808d0)['setAlpha'](0.2)['toRgbString'](),_0x5ea175=new C[(_0x4848d7(0x3cb))](bt+a[_0x4848d7(0x340)](H),{'pointsGroup':_0x30977d,'fill':_0x27f874||C[_0x4848d7(0x29a)](a['COLORS'][_0x4848d7(0x1f8)],0.2),'left':_0x170a16,'top':_0x2ac299,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4848d7(0x2f4)][_0x4848d7(0x3ef)](_0x5ea175),this[_0x4848d7(0x1fe)][_0x4848d7(0x47c)](_0x5ea175,T[_0x4848d7(0x267)]);}['_getAnchorBounding'](_0x34fa23){const _0x37e5fb=_0x34fa23[0x0],_0x2bc86b=_0x37e5fb[0x0],_0x5a5f34=_0x37e5fb[0x2],{x:_0x39ae5e,y:_0x7082e2}=_0x2bc86b,{x:_0x365dbe,y:_0x5a1cbc}=_0x5a5f34;return{'left':_0x39ae5e,'top':_0x7082e2,'width':_0x365dbe-_0x39ae5e,'height':_0x5a1cbc-_0x7082e2};}['_getScale'](){const _0x33e703=_0x14293e,{scaleX:_0x2da878,scaleY:_0x57f80b}=this[_0x33e703(0x1fe)][_0x33e703(0x445)]();return Math[_0x33e703(0x3fe)](_0x2da878,_0x57f80b);}}var Lt=Object['getOwnPropertyDescriptor'],Mt=(_0x4fb924,_0x1bad99,_0x45e91d,_0x38fb60)=>{const _0x5c3c19=_0x14293e;for(var _0x5965dd=_0x38fb60>0x1?void 0x0:_0x38fb60?Lt(_0x1bad99,_0x45e91d):_0x1bad99,_0x1930e3=_0x4fb924[_0x5c3c19(0x1de)]-0x1,_0x21f617;_0x1930e3>=0x0;_0x1930e3--)(_0x21f617=_0x4fb924[_0x1930e3])&&(_0x5965dd=_0x21f617(_0x5965dd)||_0x5965dd);return _0x5965dd;},q=(_0xebddac,_0x56a753)=>(_0x555ff2,_0x46f626)=>_0x56a753(_0x555ff2,_0x46f626,_0xebddac);let Ee=class extends a['RxDisposable']{constructor(_0x1e1447,_0x56081e,_0x3caf15,_0x54a378,_0x59a18e){const _0x16e847=_0x14293e;super(),_(this,_0x16e847(0x3f4),[]),_(this,'_cursors',[]),(this[_0x16e847(0x3e0)]=_0x1e1447,this[_0x16e847(0x2e0)]=_0x56081e,this[_0x16e847(0x403)]=_0x3caf15,this[_0x16e847(0x404)]=_0x54a378,this[_0x16e847(0x1ef)]=_0x59a18e,this[_0x16e847(0x3ab)]());}['_init'](){const _0x32d729=_0x14293e,_0x422dad=this[_0x32d729(0x3e0)][_0x32d729(0x2f1)],_0x445f7d=this[_0x32d729(0x2e0)];this[_0x32d729(0x463)](I[_0x32d729(0x435)]([this[_0x32d729(0x403)][_0x32d729(0x496)](_0x422dad),this[_0x32d729(0x1ef)][_0x32d729(0x396)]])['pipe']($['map'](([_0x2f93af,_0x83e4a9])=>({'skeleton':_0x445f7d[_0x32d729(0x2c1)](),'cursors':[..._0x2f93af[_0x32d729(0x493)]()][_0x32d729(0x38e)](_0x2be588=>({..._0x2be588,'color':this[_0x32d729(0x1ef)][_0x32d729(0x26d)](_0x2be588[_0x32d729(0x2b6)])}))})))[_0x32d729(0x24e)](_0x410504=>{const _0x1bef01=_0x32d729;if(this[_0x1bef01(0x22b)](),_0x410504){const {skeleton:_0x414e8a,cursors:_0x5d404e}=_0x410504;this['_updateCollabCursors'](_0x414e8a,_0x5d404e);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x14293e(0x343)](_0x4f928a,_0x4946e6){const _0x4f23aa=_0x14293e,{scene:_0x4bdcd1,mainComponent:_0x4338c}=this['_context'],_0x13c612=_0x4946e6['map'](_0x1e2649=>new Le(_0x1e2649,_0x4bdcd1,_0x4f928a,_0x4338c));this[_0x4f23aa(0x3f4)]=_0x13c612,this['_cursors']=_0x4946e6;}['_refreshCollabCursors'](){const _0x39a5c9=_0x14293e;this[_0x39a5c9(0x22b)]();const {scene:_0x1b1812,mainComponent:_0x19951d}=this['_context'],_0x2cc6eb=this[_0x39a5c9(0x2e0)][_0x39a5c9(0x2c1)](),_0x2a1454=this[_0x39a5c9(0x2d6)][_0x39a5c9(0x3b5)](_0x4c1483=>new Le(_0x4c1483,_0x1b1812,_0x2cc6eb,_0x19951d));this['_cursorShapes']=_0x2a1454;}[_0x14293e(0x22b)](){const _0x172446=_0x14293e;this[_0x172446(0x3f4)]['forEach'](_0x23244f=>_0x23244f['dispose']()),this[_0x172446(0x3f4)]=[];}['_initCommandExecutedListener'](){const _0x434c47=_0x14293e,_0x3059d2=[T['SetDocZoomRatioOperation']['id']];this[_0x434c47(0x463)](this[_0x434c47(0x404)][_0x434c47(0x369)](_0x146a8f=>{const _0x4c5f44=_0x434c47;_0x3059d2['includes'](_0x146a8f['id'])&&_0x146a8f[_0x4c5f44(0x406)][_0x4c5f44(0x2f1)]===this['_context'][_0x4c5f44(0x2f1)]&&this[_0x4c5f44(0x273)]();}));}[_0x14293e(0x3ed)](){const _0x282b89=_0x14293e;this[_0x282b89(0x463)](a[_0x282b89(0x402)](this[_0x282b89(0x3e0)]['engine']['onTransformChange$'])[_0x282b89(0x476)]($[_0x282b89(0x320)](_0x4e8cc0=>_0x4e8cc0[_0x282b89(0x285)]===C[_0x282b89(0x3e7)][_0x282b89(0x2d1)]),$[_0x282b89(0x412)](0x10))['subscribe'](()=>{const _0x16ce23=_0x282b89;this[_0x16ce23(0x273)]();}));}};Ee=Mt([q(0x1,a[_0x14293e(0x497)](V[_0x14293e(0x398)])),q(0x2,a[_0x14293e(0x497)](F)),q(0x3,a['ICommandService']),q(0x4,a[_0x14293e(0x497)](a['ThemeService']))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x14293e(0x1fb)]{constructor(_0x42e19c,_0x1bd13d){const _0x2dddfa=_0x14293e;super(_0x42e19c,_0x1bd13d),_(this,_0x2dddfa(0x49b)),_(this,_0x2dddfa(0x332),!0x1),_(this,_0x2dddfa(0x449)),_(this,_0x2dddfa(0x280),''),_(this,_0x2dddfa(0x236),_0x2dddfa(0x226)),_(this,_0x2dddfa(0x1d2)),(_0x1bd13d&&this[_0x2dddfa(0x35f)](_0x1bd13d),this[_0x2dddfa(0x227)][_0x2dddfa(0x3f7)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x2dddfa(0x3f7)](()=>this[_0x2dddfa(0x35f)]({'hovered':!0x1})));}[_0x14293e(0x35f)](_0x1b5603){const _0x5ee3ff=_0x14293e;var _0x5cca32,_0x1fa35a,_0xef4305,_0x5e1e89,_0x2b534d,_0x461d6e;this[_0x5ee3ff(0x49b)]=(_0x5cca32=_0x1b5603['color'])!=null?_0x5cca32:this[_0x5ee3ff(0x49b)],this['_hovered']=(_0x1fa35a=_0x1b5603[_0x5ee3ff(0x27f)])!=null?_0x1fa35a:this[_0x5ee3ff(0x332)],this[_0x5ee3ff(0x449)]=(_0xef4305=_0x1b5603[_0x5ee3ff(0x2d0)])!=null?_0xef4305:this[_0x5ee3ff(0x449)],this[_0x5ee3ff(0x280)]=(_0x5e1e89=_0x1b5603[_0x5ee3ff(0x23d)])!=null?_0x5e1e89:this[_0x5ee3ff(0x280)],this[_0x5ee3ff(0x236)]=(_0x2b534d=_0x1b5603['labelPosition'])!=null?_0x2b534d:this['_labelPosition'],this['_backgroundColor']=(_0x461d6e=_0x1b5603[_0x5ee3ff(0x3af)])!=null?_0x461d6e:this[_0x5ee3ff(0x1d2)],this[_0x5ee3ff(0x300)]({'width':_0x1b5603['width'],'height':_0x1b5603[_0x5ee3ff(0x2d8)]});}[_0x14293e(0x3b9)](_0x19777c){const _0xb45f=_0x14293e,{row:_0x4bb007,column:_0x145028}=_0x19777c;if(_0x4bb007>=this['_range']['startRow']&&_0x4bb007<=this[_0xb45f(0x449)]['endRow']&&_0x145028>=this['_range'][_0xb45f(0x3e1)]&&_0x145028<=this[_0xb45f(0x449)][_0xb45f(0x3b7)]){this[_0xb45f(0x35f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x14293e(0x29b)](_0x333c47){return!0x1;}[_0x14293e(0x483)](_0x46d6ba){const _0x16134b=_0x14293e;C[_0x16134b(0x2e8)]['drawWith'](_0x46d6ba,{'width':this[_0x16134b(0x2af)],'height':this[_0x16134b(0x2d8)],'strokeWidth':Pt,'stroke':this[_0x16134b(0x49b)],'evented':!0x1,'fill':this[_0x16134b(0x1d2)]}),this[_0x16134b(0x332)]&&(_0x46d6ba[_0x16134b(0x3f6)](),_0x46d6ba[_0x16134b(0x2cc)](0x1,0x0,0x0,0x1,this['width'],this[_0x16134b(0x236)]===_0x16134b(0x495)?0x0:-X),re['drawWith'](_0x46d6ba,{'text':this['_name'],'color':this[_0x16134b(0x49b)]}),_0x46d6ba[_0x16134b(0x392)]());}}var wt=Object[_0x14293e(0x40b)],yt=(_0x2aff08,_0xa123a3,_0x540b4f,_0x5ccf86)=>{for(var _0x36fbbe=_0x5ccf86>0x1?void 0x0:_0x5ccf86?wt(_0xa123a3,_0x540b4f):_0xa123a3,_0xfca98b=_0x2aff08['length']-0x1,_0x3baad0;_0xfca98b>=0x0;_0xfca98b--)(_0x3baad0=_0x2aff08[_0xfca98b])&&(_0x36fbbe=_0x3baad0(_0x36fbbe)||_0x36fbbe);return _0x36fbbe;},ue=(_0x4b246e,_0xbd6af1)=>(_0x215724,_0x5a8032)=>_0xbd6af1(_0x215724,_0x5a8032,_0x4b246e);const $t=0x1389;let Ce=class extends a['RxDisposable']{constructor(_0x4fe55c,_0x2ad79c,_0x45d1af,_0x42de7a){const _0x5785ad=_0x14293e;super(),_(this,_0x5785ad(0x2d6),new Set()),_(this,_0x5785ad(0x43b),null),(this[_0x5785ad(0x3e0)]=_0x4fe55c,this['_sheetSkeletonManagerService']=_0x2ad79c,this[_0x5785ad(0x403)]=_0x45d1af,this[_0x5785ad(0x1ef)]=_0x42de7a,this[_0x5785ad(0x3ab)]());}[_0x14293e(0x3ab)](){const _0xd6e2da=_0x14293e;this[_0xd6e2da(0x1f3)][_0xd6e2da(0x307)]['pipe']($[_0xd6e2da(0x2ce)](this['dispose$']),$[_0xd6e2da(0x2a8)](_0x5929a1=>{const _0x2001a9=_0xd6e2da;if(_0x5929a1){const _0x45b62e=_0x5929a1[_0x2001a9(0x3ec)];return I[_0x2001a9(0x435)](this[_0x2001a9(0x403)]['getCollabCursors$'](this[_0x2001a9(0x3e0)][_0x2001a9(0x2f1)]),this[_0x2001a9(0x1ef)][_0x2001a9(0x396)])['pipe']($['map'](([_0x3d2912,_0x38c16e])=>{const _0x366825=_0x2001a9,_0x4ce5ea=new Map();return _0x3d2912[_0x366825(0x208)]((_0x3ece07,_0x49857e)=>{const _0x7afe53=_0x366825;if(_0x3ece07[_0x7afe53(0x279)]===_0x45b62e){const _0x26302b={..._0x3ece07};_0x26302b[_0x7afe53(0x2b6)]=this[_0x7afe53(0x1ef)]['getColorFromTheme'](_0x3ece07[_0x7afe53(0x2b6)]),_0x4ce5ea[_0x7afe53(0x297)](_0x49857e,_0x26302b);}}),{'skeleton':_0x5929a1,'cursors':_0x4ce5ea};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3204fa,cursors:_0xa7547f})=>{const _0x5cbe27=_0xd6e2da;this['_removeCollabCursors'](),_0x3204fa&&this[_0x5cbe27(0x343)](_0x3204fa,_0xa7547f);}),this[_0xd6e2da(0x1f3)][_0xd6e2da(0x307)]['subscribe'](_0x35a689=>{const _0x106123=_0xd6e2da;if(_0x35a689==null)return;const {skeleton:_0x35c2d1}=_0x35a689,{scene:_0x4c842c}=this['_context'];_0x4c842c['onPointerMove$']['subscribeEvent'](a[_0x106123(0x298)](_0x1e445d=>{const _0x4b7d61=_0x106123;var _0x2426de,_0x2e399d;const {offsetX:_0x75d454,offsetY:_0x33aa93}=_0x1e445d,{x:_0x369b2e,y:_0x5812a1}=_0x4c842c[_0x4b7d61(0x3d9)](C[_0x4b7d61(0x1e5)][_0x4b7d61(0x453)]([_0x75d454,_0x33aa93])),{scaleX:_0x18e098,scaleY:_0x5dc8cb}=_0x4c842c[_0x4b7d61(0x445)](),_0x520e77=_0x4c842c[_0x4b7d61(0x426)](C[_0x4b7d61(0x3e5)][_0x4b7d61(0x2ff)]),_0x39b1ad=_0x4c842c[_0x4b7d61(0x348)](C[_0x4b7d61(0x1e5)]['FromArray']([_0x369b2e,_0x5812a1]),_0x520e77),_0xffb84e=_0x35c2d1[_0x4b7d61(0x308)](_0x75d454,_0x33aa93,_0x18e098,_0x5dc8cb,_0x39b1ad);((_0x2426de=this['_lastPointer'])==null?void 0x0:_0x2426de['column'])===_0xffb84e[_0x4b7d61(0x311)]&&((_0x2e399d=this[_0x4b7d61(0x43b)])==null?void 0x0:_0x2e399d[_0x4b7d61(0x2a2)])===_0xffb84e[_0x4b7d61(0x2a2)]||this[_0x4b7d61(0x2d6)][_0x4b7d61(0x208)](_0x1ea31b=>{const _0x1c311e=_0x4b7d61;_0x1ea31b[_0x1c311e(0x3b9)](_0xffb84e);});},0x64));});}[_0x14293e(0x343)](_0x3bf0ba,_0x570812){const _0x5434a2=_0x14293e;var _0x35d963;const _0x913d9b=(_0x35d963=this[_0x5434a2(0x1f3)]['getCurrent']())==null?void 0x0:_0x35d963[_0x5434a2(0x27e)];if(!_0x913d9b)return;const _0x4b0a31=this[_0x5434a2(0x331)]();if(!_0x4b0a31)return;this['_cursors']['forEach'](_0x422271=>{const _0x332ba1=_0x5434a2;_0x422271[_0x332ba1(0x26b)]();});const {scene:_0x328490}=_0x4b0a31,_0x18b39d=xt(Array[_0x5434a2(0x20d)](_0x570812['values']()))['map'](_0x26e3e0=>{const _0x1d70f3=_0x5434a2,{color:_0xe6a3a,range:_0x21d584,name:_0x438741,selection:_0x23d59b,sheetID:_0xe24f30}=_0x26e3e0,{startColumn:_0xa238f0,startRow:_0x2eb989,endColumn:_0x515b7d,endRow:_0x1d8be9}=_0x21d584,_0x25fcd4=J[_0x1d70f3(0x492)](_0x2eb989,_0xa238f0,_0x328490,_0x913d9b),_0x2e03cb=J[_0x1d70f3(0x492)](_0x1d8be9,_0x515b7d,_0x328490,_0x913d9b),{columnHeaderHeightAndMarginTop:_0x26d07d}=_0x913d9b,{startX:_0x36b431,startY:_0x532c90}=_0x25fcd4,{endX:_0x55e2bf,endY:_0x1bbb53}=_0x2e03cb,_0xa6649f=_0x55e2bf-_0x36b431,_0x18b767=_0x1bbb53-_0x532c90,_0x1716f3={'labelPosition':_0x532c90-_0x26d07d>=X?'top':_0x1d70f3(0x495),'sheetID':_0xe24f30,'range':_0x21d584,'color':_0xe6a3a,'name':_0x438741,'selection':_0x23d59b,'left':_0x36b431,'top':_0x532c90,'width':_0xa6649f,'height':_0x18b767,'evented':!0x1,'zIndex':$t};return new je(_0x438741,_0x1716f3);});_0x328490['addObjects'](_0x18b39d,At),this[_0x5434a2(0x2d6)]=new Set(_0x18b39d);}[_0x14293e(0x22b)](){const _0x4c7b96=_0x14293e;var _0x201373;(_0x201373=this[_0x4c7b96(0x2d6)])==null||_0x201373[_0x4c7b96(0x208)](_0x39bc6b=>_0x39bc6b[_0x4c7b96(0x2fc)]());}['_getSheetObject'](){const _0x63d620=_0x14293e;return J['getSheetObject'](this['_context'][_0x63d620(0x1db)],this[_0x63d620(0x3e0)]);}};Ce=yt([ue(0x1,a[_0x14293e(0x497)](J[_0x14293e(0x30a)])),ue(0x2,a[_0x14293e(0x497)](F)),ue(0x3,a[_0x14293e(0x497)](a[_0x14293e(0x1da)]))],Ce);function xt(_0x5c410b){const _0x27fb1b=_0x14293e,_0x3102a3=new Map();return _0x5c410b[_0x27fb1b(0x208)](_0x32a555=>{const _0x30578c=_0x27fb1b;if(_0x3102a3[_0x30578c(0x3cd)](_0x32a555['selection'])){const _0xe2537e=_0x3102a3['get'](_0x32a555[_0x30578c(0x378)]);_0xe2537e[_0x30578c(0x23d)]+=',\x20'+_0x32a555[_0x30578c(0x23d)];}else _0x3102a3[_0x30578c(0x297)](_0x32a555[_0x30578c(0x378)],_0x32a555);}),Array['from'](_0x3102a3[_0x27fb1b(0x493)]());}var Bt=Object['getOwnPropertyDescriptor'],Ft=(_0x3a2590,_0x2f44b8,_0xca7b3c,_0x22db9e)=>{const _0x168bcd=_0x14293e;for(var _0x55836a=_0x22db9e>0x1?void 0x0:_0x22db9e?Bt(_0x2f44b8,_0xca7b3c):_0x2f44b8,_0x41cfdb=_0x3a2590[_0x168bcd(0x1de)]-0x1,_0x49651a;_0x41cfdb>=0x0;_0x41cfdb--)(_0x49651a=_0x3a2590[_0x41cfdb])&&(_0x55836a=_0x49651a(_0x55836a)||_0x55836a);return _0x55836a;},y=(_0x7b638,_0x1974db)=>(_0x3602b9,_0x205af4)=>_0x1974db(_0x3602b9,_0x205af4,_0x7b638);let Z=class extends a['Disposable']{constructor(_0x130b74,_0x30a364,_0x1ca3e7,_0x23fb91,_0x4856b,_0x1b6fb9){const _0x15fa48=_0x14293e;super(),this[_0x15fa48(0x318)]=_0x130b74,this[_0x15fa48(0x337)]=_0x30a364,this[_0x15fa48(0x3cf)]=_0x1ca3e7,this[_0x15fa48(0x49a)]=_0x23fb91,this[_0x15fa48(0x1d5)]=_0x4856b,this['_localeService']=_0x1b6fb9,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x14293e(0x384)](){const _0x4827ee=_0x14293e;this[_0x4827ee(0x463)](this[_0x4827ee(0x318)][_0x4827ee(0x39a)](()=>{const _0x24dd67=_0x4827ee;if(this[_0x24dd67(0x337)][_0x24dd67(0x3a1)][_0x24dd67(0x3bb)])return this[_0x24dd67(0x230)]['t'](_0x24dd67(0x23a));}));}[_0x14293e(0x418)](){const _0x1f6cbe=_0x14293e;this[_0x1f6cbe(0x463)](this[_0x1f6cbe(0x3cf)][_0x1f6cbe(0x29d)][_0x1f6cbe(0x24e)](_0x26a4fa=>{const _0x45d375=_0x1f6cbe;_0x26a4fa['id']===u[_0x45d375(0x2d2)][_0x45d375(0x338)]&&this[_0x45d375(0x49a)]['show']({'type':p[_0x45d375(0x251)][_0x45d375(0x46f)],'content':this[_0x45d375(0x230)]['t'](_0x45d375(0x46d))}),_0x26a4fa['id']===u[_0x45d375(0x2d2)][_0x45d375(0x447)]&&this[_0x45d375(0x49a)][_0x45d375(0x452)]({'type':p['MessageType'][_0x45d375(0x46f)],'content':this['_localeService']['t'](_0x45d375(0x423))}),_0x26a4fa['id']===u[_0x45d375(0x2d2)][_0x45d375(0x3a7)]&&this['_notificationService'][_0x45d375(0x452)]({'title':this[_0x45d375(0x230)]['t']('permission.title'),'content':this[_0x45d375(0x230)]['t'](_0x45d375(0x1ed)),'type':_0x45d375(0x37e),'duration':0x0}),_0x26a4fa['id']===u['CollaborationUIEventId']['CONFLICT']&&this[_0x45d375(0x49a)]['show']({'type':p['MessageType'][_0x45d375(0x309)],'content':this[_0x45d375(0x230)]['t']('collaboration.closeRoom')+'('+_0x26a4fa[_0x45d375(0x206)]+')'}),_0x26a4fa['id']===u[_0x45d375(0x2d2)][_0x45d375(0x420)]&&this[_0x45d375(0x49a)]['show']({'type':p[_0x45d375(0x251)][_0x45d375(0x46f)],'content':this['_localeService']['t'](_0x26a4fa[_0x45d375(0x206)]||'')}),_0x26a4fa['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x45d375(0x49a)]['show']({'type':p[_0x45d375(0x251)]['Warning'],'content':this[_0x45d375(0x230)]['t'](_0x45d375(0x21c))}),_0x26a4fa['id']===u['CollaborationUIEventId'][_0x45d375(0x299)]&&this[_0x45d375(0x49a)]['show']({'type':p['MessageType']['Error'],'content':this[_0x45d375(0x230)]['t'](_0x45d375(0x1fc))}),_0x26a4fa['id']===u[_0x45d375(0x2d2)][_0x45d375(0x266)]&&this[_0x45d375(0x49a)][_0x45d375(0x452)]({'type':p[_0x45d375(0x251)][_0x45d375(0x309)],'content':this[_0x45d375(0x230)]['t'](_0x45d375(0x2cf))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x14293e(0x485)]),y(0x2,a[_0x14293e(0x497)](u['CollaborationUIEventService'])),y(0x3,O[_0x14293e(0x408)]),y(0x4,O[_0x14293e(0x475)]),y(0x5,a[_0x14293e(0x497)](a[_0x14293e(0x414)]))],Z);var jt=Object[_0x14293e(0x40b)],kt=(_0x1732b1,_0xdc6dbf,_0x3f374f,_0x47dfcf)=>{const _0x14ab27=_0x14293e;for(var _0x2e7268=_0x47dfcf>0x1?void 0x0:_0x47dfcf?jt(_0xdc6dbf,_0x3f374f):_0xdc6dbf,_0x1a4f29=_0x1732b1[_0x14ab27(0x1de)]-0x1,_0x3dd5ae;_0x1a4f29>=0x0;_0x1a4f29--)(_0x3dd5ae=_0x1732b1[_0x1a4f29])&&(_0x2e7268=_0x3dd5ae(_0x2e7268)||_0x2e7268);return _0x2e7268;},z=(_0x47d693,_0x477099)=>(_0x1def15,_0x42700b)=>_0x477099(_0x1def15,_0x42700b,_0x47d693);let Q=class extends a['Disposable']{constructor(_0xd46f06,_0x257f72,_0x17dbb3,_0x1a808a){const _0x10702d=_0x14293e;super(),_(this,_0x10702d(0x368)),(this[_0x10702d(0x249)]=_0xd46f06,this['_httpService']=_0x257f72,this[_0x10702d(0x3a0)]=_0x17dbb3,this[_0x10702d(0x22e)]=_0x1a808a,this[_0x10702d(0x3ab)]());}['_init'](){const _0x50aec6=_0x14293e;this[_0x50aec6(0x2fe)](),this[_0x50aec6(0x252)](),this[_0x50aec6(0x271)](),this[_0x50aec6(0x2ea)]();}[_0x14293e(0x2ea)](){const _0x3f2f67=_0x14293e;this[_0x3f2f67(0x463)](this[_0x3f2f67(0x22e)]['socket$']['subscribe'](_0x7261ae=>{const _0x7e0f4=_0x3f2f67;this[_0x7e0f4(0x368)]=_0x7261ae==null?void 0x0:_0x7261ae[_0x7e0f4(0x302)];}));}[_0x14293e(0x2fe)](){const _0x1beb02=_0x14293e,_0x7cf4df=_0x5863f2=>{const _0x23a86f=_0x3154;var _0x182b2c;this[_0x23a86f(0x41f)](_0x23a86f(0x37e),_0x23a86f(0x237)+_0x5863f2[_0x23a86f(0x2b2)]+_0x23a86f(0x334)+_0x5863f2[_0x23a86f(0x27d)]+':'+_0x5863f2[_0x23a86f(0x2f3)]+':'+_0x5863f2['colno']+'\x0a'+(((_0x182b2c=_0x5863f2['error'])==null?void 0x0:_0x182b2c[_0x23a86f(0x466)])||''));};window[_0x1beb02(0x3f8)](_0x1beb02(0x37e),_0x7cf4df),this[_0x1beb02(0x463)](()=>{const _0x651e47=_0x1beb02;window['removeEventListener'](_0x651e47(0x37e),_0x7cf4df);});}['_initUnhandledRejectionListener'](){const _0x367755=_0x14293e,_0x2748b6=_0x527b00=>{const _0x4efa1c=_0x3154;this[_0x4efa1c(0x41f)](_0x4efa1c(0x37e),'[Unhandled\x20Rejection]:\x20'+_0x527b00[_0x4efa1c(0x44b)]);};window['addEventListener'](_0x367755(0x21b),_0x2748b6),this['disposeWithMe'](()=>{const _0x24f8e0=_0x367755;window[_0x24f8e0(0x34e)](_0x24f8e0(0x21b),_0x2748b6);});}[_0x14293e(0x271)](){const _0x176823=_0x14293e,_0x4ef3d6=this[_0x176823(0x3a0)][_0x176823(0x37e)][_0x176823(0x27c)](this[_0x176823(0x3a0)]);this[_0x176823(0x3a0)][_0x176823(0x37e)]=(..._0x599889)=>{const _0x190e9d=_0x176823,_0x2e0251=_0x599889[_0x190e9d(0x3b5)](_0x21716d=>_0x21716d instanceof Error?_0x21716d[_0x190e9d(0x2b2)]+'\x0a'+_0x21716d[_0x190e9d(0x466)]:String(_0x21716d))['join']('\x20');this[_0x190e9d(0x41f)](_0x190e9d(0x37e),_0x190e9d(0x1fd)+_0x2e0251),_0x4ef3d6(..._0x599889);},this[_0x176823(0x463)](()=>{const _0x4327bf=_0x176823;this[_0x4327bf(0x3a0)]['error']=_0x4ef3d6;});}[_0x14293e(0x41f)](_0x40f76c,_0x175190){const _0x8ffc51=_0x14293e;try{const _0x3d446f={'userId':this['_memberID'],'logLabel':_0x40f76c,'content':_0x175190};this[_0x8ffc51(0x31f)]['post']('/universer-api/frontend/logs',{'body':_0x3d446f})['catch'](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),z(0x1,a[_0x14293e(0x497)](x[_0x14293e(0x2ef)])),z(0x2,a[_0x14293e(0x45b)]),z(0x3,a[_0x14293e(0x497)](u[_0x14293e(0x28e)]))],Q);const Yt=_0x14293e(0x371),Me={};var Ht=Object[_0x14293e(0x40b)],Wt=(_0x5b42e7,_0xf11e6d,_0x2fcdcb,_0x27bf71)=>{const _0x12e845=_0x14293e;for(var _0x2f19ab=_0x27bf71>0x1?void 0x0:_0x27bf71?Ht(_0xf11e6d,_0x2fcdcb):_0xf11e6d,_0x2e6f55=_0x5b42e7[_0x12e845(0x1de)]-0x1,_0x473a12;_0x2e6f55>=0x0;_0x2e6f55--)(_0x473a12=_0x5b42e7[_0x2e6f55])&&(_0x2f19ab=_0x473a12(_0x2f19ab)||_0x2f19ab);return _0x2f19ab;},Ae=(_0x5496a2,_0xb3b0e)=>(_0x11a5c9,_0x28dc0b)=>_0xb3b0e(_0x11a5c9,_0x28dc0b,_0x5496a2);let ee=class{constructor(_0x2aceb3,_0x295595){const _0x160131=_0x14293e;this[_0x160131(0x3ba)]=_0x2aceb3,this[_0x160131(0x22a)]=_0x295595;}['transformIMECache'](_0x5c046a){const _0x20b824=_0x14293e;this[_0x20b824(0x467)](_0x5c046a),this[_0x20b824(0x2ae)](_0x5c046a);}['transformRemoteChangeset'](_0x4a766b){const _0x24b753=_0x14293e,{unitID:_0x3a750d}=_0x4a766b,_0x1d159e=this[_0x24b753(0x22a)]['getRenderById'](_0x3a750d)[_0x24b753(0x40c)](T[_0x24b753(0x296)]),{redoCache:_0x133873}=_0x1d159e[_0x24b753(0x1ea)]();if(_0x133873[_0x24b753(0x1de)]===0x0)return _0x4a766b;let _0x3cd16e=a[_0x24b753(0x385)][_0x24b753(0x344)](_0x4a766b['mutations'][0x0]);for(let _0x264cde=0x0;_0x264cde<_0x133873[_0x24b753(0x1de)];_0x264cde++){const _0x37bc31={'id':_0x24b753(0x23e),'params':{..._0x133873[_0x264cde]}},_0x155c33=this['_transformService']['transformMutation'](_0x3cd16e,_0x37bc31,!0x1);if(g[_0x24b753(0x478)](_0x155c33))throw _0x155c33[_0x24b753(0x37e)];_0x3cd16e=_0x155c33['m1Prime'];}return{...a['Tools']['deepClone'](_0x4a766b),'mutations':[_0x3cd16e]};}[_0x14293e(0x467)](_0x17ca41){const _0x4abded=_0x14293e,{unitID:_0xf2a172}=_0x17ca41,_0x4d013=this[_0x4abded(0x22a)]['getRenderById'](_0xf2a172)['with'](T[_0x4abded(0x296)]),{undoCache:_0x45c38e,redoCache:_0x145e96}=_0x4d013['getUndoRedoMutationParamsCache']();if(_0x45c38e[_0x4abded(0x1de)]===0x0||_0x145e96[_0x4abded(0x1de)]===0x0)return;const _0xd99c09=[],_0x4a13c0=[];let _0x407f99=a['Tools'][_0x4abded(0x344)](_0x17ca41[_0x4abded(0x2c8)][0x0]),_0x506503=a[_0x4abded(0x385)][_0x4abded(0x344)](_0x17ca41[_0x4abded(0x2c8)][0x0]);for(let _0x2b6fac=_0x45c38e[_0x4abded(0x1de)]-0x1;_0x2b6fac>=0x0;_0x2b6fac--){const _0x86a67d={'id':_0x4abded(0x23e),'params':{..._0x45c38e[_0x2b6fac]}},_0x4e5822={'id':_0x4abded(0x23e),'params':{..._0x145e96[_0x2b6fac]}},_0x3b4aee=this[_0x4abded(0x3ba)]['transformMutation'](_0x407f99,_0x86a67d,!0x1),_0x102b34=this[_0x4abded(0x3ba)][_0x4abded(0x2cd)](_0x506503,_0x4e5822,!0x1);if(g[_0x4abded(0x478)](_0x3b4aee))throw _0x3b4aee[_0x4abded(0x37e)];if(g[_0x4abded(0x478)](_0x102b34))throw _0x102b34[_0x4abded(0x37e)];_0xd99c09[_0x4abded(0x29c)](_0x3b4aee[_0x4abded(0x43d)]['params']),_0x4a13c0[_0x4abded(0x29c)](_0x102b34[_0x4abded(0x43d)][_0x4abded(0x406)]),_0x407f99=_0x3b4aee[_0x4abded(0x23c)],_0x506503=_0x102b34['m1Prime'];}_0x4d013[_0x4abded(0x3e6)]({'undoCache':_0xd99c09,'redoCache':_0x4a13c0});}[_0x14293e(0x2ae)](_0x2cc6ba){const _0x4c0373=_0x14293e,{unitID:_0x4bf775}=_0x2cc6ba,_0x1b81af=this['_renderManagerService'][_0x4c0373(0x36a)](_0x4bf775)['with'](T[_0x4c0373(0x296)]),_0x298016=_0x1b81af[_0x4c0373(0x2a6)]();if(_0x298016==null)return;const _0x24733a=[{'id':_0x4c0373(0x23e),'params':{'unitId':_0x2cc6ba[_0x4c0373(0x203)],'actions':null,'textRanges':[_0x298016]}}],_0x5ac737=this[_0x4c0373(0x3ba)][_0x4c0373(0x3db)](_0x2cc6ba,_0x24733a);if(!g[_0x4c0373(0x283)](_0x5ac737))throw _0x5ac737[_0x4c0373(0x37e)];const _0xa841e0=_0x5ac737[_0x4c0373(0x43d)][0x0][_0x4c0373(0x406)]['textRanges'];Array[_0x4c0373(0x3ad)](_0xa841e0)&&_0xa841e0[_0x4c0373(0x1de)]&&_0x1b81af[_0x4c0373(0x3fa)](_0xa841e0[0x0]);}};ee=Wt([Ae(0x0,g[_0x14293e(0x3b3)]),Ae(0x1,C[_0x14293e(0x229)])],ee);var Vt=Object['getOwnPropertyDescriptor'],Gt=(_0xbf3a3e,_0x4e524a,_0x13958b,_0x2256de)=>{const _0x575a82=_0x14293e;for(var _0x471397=_0x2256de>0x1?void 0x0:_0x2256de?Vt(_0x4e524a,_0x13958b):_0x4e524a,_0x26ec2d=_0xbf3a3e[_0x575a82(0x1de)]-0x1,_0xd5f2ff;_0x26ec2d>=0x0;_0x26ec2d--)(_0xd5f2ff=_0xbf3a3e[_0x26ec2d])&&(_0x471397=_0xd5f2ff(_0x471397)||_0x471397);return _0x471397;},Ie=(_0x32dd06,_0x13b6a1)=>(_0x1772f3,_0x60bc4f)=>_0x13b6a1(_0x1772f3,_0x60bc4f,_0x32dd06);let te=class{constructor(_0x526144,_0x5e4a58,_0x44b1a6){const _0x1aec91=_0x14293e;this[_0x1aec91(0x249)]=_0x526144,this['_transformService']=_0x5e4a58,this[_0x1aec91(0x2bd)]=_0x44b1a6;}[_0x14293e(0x22d)](_0x254f0d){const _0x16ad1e=_0x14293e;this[_0x16ad1e(0x42e)](_0x254f0d);}[_0x14293e(0x42b)](_0x9dc37b){const _0xa82aa3=_0x14293e,{unitID:_0x1131e3}=_0x9dc37b,{collaboration:_0x298053}=this[_0xa82aa3(0x2bd)][_0xa82aa3(0x234)](_0x1131e3);if(_0x298053[_0xa82aa3(0x1de)]===0x0)return _0x9dc37b;let _0x3f1566=a[_0xa82aa3(0x385)][_0xa82aa3(0x344)](_0x9dc37b[_0xa82aa3(0x2c8)][0x0]);for(let _0x256bdc=0x0;_0x256bdc<_0x298053[_0xa82aa3(0x1de)];_0x256bdc++){const _0x8e2357={'id':_0xa82aa3(0x23e),'params':{'unitId':_0x298053[_0x256bdc][_0xa82aa3(0x2f1)],..._0x298053[_0x256bdc]['redoState']}},_0x148a38=this['_transformService'][_0xa82aa3(0x2cd)](_0x3f1566,_0x8e2357,!0x1);if(g[_0xa82aa3(0x478)](_0x148a38))throw _0x148a38[_0xa82aa3(0x37e)];_0x3f1566=_0x148a38[_0xa82aa3(0x23c)];}return{...a[_0xa82aa3(0x385)]['deepClone'](_0x9dc37b),'mutations':[_0x3f1566]};}[_0x14293e(0x42e)](_0x159f01){const _0x5cd02e=_0x14293e,{unitID:_0x41d49c}=_0x159f01,{history:_0x2494e5,collaboration:_0x57c575}=this['_docStateChangeManagerService']['getStateCache'](_0x41d49c);if(_0x2494e5[_0x5cd02e(0x1de)]===0x0&&_0x57c575['length']===0x0)return;const _0x50e4e4=[],_0xf5b85f=[];let _0x8c64da=a['Tools'][_0x5cd02e(0x344)](_0x159f01[_0x5cd02e(0x2c8)][0x0]),_0x4a7ff6=a[_0x5cd02e(0x385)][_0x5cd02e(0x344)](_0x159f01[_0x5cd02e(0x2c8)][0x0]);for(let _0x2425dd=_0x2494e5[_0x5cd02e(0x1de)]-0x1;_0x2425dd>=0x0;_0x2425dd--){const _0x14cdfc={'id':_0x5cd02e(0x23e),'params':{'unitId':_0x2494e5[_0x2425dd]['unitId'],..._0x2494e5[_0x2425dd][_0x5cd02e(0x301)]}},_0x427267={'id':_0x5cd02e(0x23e),'params':{'unitId':_0x2494e5[_0x2425dd][_0x5cd02e(0x2f1)],..._0x2494e5[_0x2425dd][_0x5cd02e(0x3a8)]}},_0x38d319=this['_transformService'][_0x5cd02e(0x2cd)](_0x8c64da,_0x14cdfc,!0x1),_0x277dfb=this[_0x5cd02e(0x3ba)][_0x5cd02e(0x2cd)](_0x4a7ff6,_0x427267,!0x1);if(g[_0x5cd02e(0x478)](_0x38d319))throw _0x38d319[_0x5cd02e(0x37e)];if(g['isTransformMutationFailure'](_0x277dfb))throw _0x277dfb[_0x5cd02e(0x37e)];_0x50e4e4[_0x5cd02e(0x29c)]({..._0x2494e5[_0x2425dd],'undoState':_0x38d319['m2Prime'][_0x5cd02e(0x406)],'redoState':_0x277dfb[_0x5cd02e(0x43d)][_0x5cd02e(0x406)]}),_0x8c64da=_0x38d319[_0x5cd02e(0x23c)],_0x4a7ff6=_0x277dfb['m1Prime'];}_0x8c64da=a[_0x5cd02e(0x385)][_0x5cd02e(0x344)](_0x159f01[_0x5cd02e(0x2c8)][0x0]),_0x4a7ff6=a[_0x5cd02e(0x385)][_0x5cd02e(0x344)](_0x159f01[_0x5cd02e(0x2c8)][0x0]);for(let _0xe32f0e=_0x57c575[_0x5cd02e(0x1de)]-0x1;_0xe32f0e>=0x0;_0xe32f0e--){const _0x1d8a17={'id':_0x5cd02e(0x23e),'params':{'unitId':_0x57c575[_0xe32f0e][_0x5cd02e(0x2f1)],..._0x57c575[_0xe32f0e][_0x5cd02e(0x301)]}},_0x4cb9ab={'id':_0x5cd02e(0x23e),'params':{'unitId':_0x57c575[_0xe32f0e][_0x5cd02e(0x2f1)],..._0x57c575[_0xe32f0e][_0x5cd02e(0x3a8)]}},_0x1db544=this[_0x5cd02e(0x3ba)][_0x5cd02e(0x2cd)](_0x8c64da,_0x1d8a17,!0x1),_0x4bd2ce=this[_0x5cd02e(0x3ba)][_0x5cd02e(0x2cd)](_0x4a7ff6,_0x4cb9ab,!0x1);if(g[_0x5cd02e(0x478)](_0x1db544))throw _0x1db544[_0x5cd02e(0x37e)];if(g[_0x5cd02e(0x478)](_0x4bd2ce))throw _0x4bd2ce['error'];_0xf5b85f['unshift']({..._0x57c575[_0xe32f0e],'undoState':_0x1db544[_0x5cd02e(0x43d)][_0x5cd02e(0x406)],'redoState':_0x4bd2ce[_0x5cd02e(0x43d)][_0x5cd02e(0x406)]}),_0x8c64da=_0x1db544[_0x5cd02e(0x23c)],_0x4a7ff6=_0x4bd2ce[_0x5cd02e(0x23c)];}this[_0x5cd02e(0x2bd)][_0x5cd02e(0x491)](_0x41d49c,{'history':_0x50e4e4,'collaboration':_0xf5b85f});}};te=Gt([Ie(0x0,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),Ie(0x1,g[_0x14293e(0x3b3)]),Ie(0x2,a[_0x14293e(0x497)](T[_0x14293e(0x34c)]))],te);var Xt=Object['getOwnPropertyDescriptor'],Kt=(_0x342332,_0x337b9c,_0x118d7a,_0x3ff522)=>{for(var _0x5ce6ca=_0x3ff522>0x1?void 0x0:_0x3ff522?Xt(_0x337b9c,_0x118d7a):_0x337b9c,_0x3e34aa=_0x342332['length']-0x1,_0x42c3d0;_0x3e34aa>=0x0;_0x3e34aa--)(_0x42c3d0=_0x342332[_0x3e34aa])&&(_0x5ce6ca=_0x42c3d0(_0x5ce6ca)||_0x5ce6ca);return _0x5ce6ca;},Pe=(_0x4dd164,_0x729e06)=>(_0x167aed,_0x2df408)=>_0x729e06(_0x167aed,_0x2df408,_0x4dd164);let se=class{constructor(_0x58e77a,_0x29310a){const _0x481d22=_0x14293e;this[_0x481d22(0x249)]=_0x58e77a,this['_transformService']=_0x29310a;}[_0x14293e(0x390)](_0x3e52fd){const _0x3feb79=_0x14293e;var _0x418040;const _0x44eafa=this['_injector'][_0x3feb79(0x319)](V[_0x3feb79(0x274)]),_0x4b967a=(_0x418040=_0x44eafa[_0x3feb79(0x2e4)]())!=null?_0x418040:[];if(_0x4b967a[_0x3feb79(0x1de)]===0x0)return;const _0x130d4c=_0x3e52fd['unitID'],_0x1b4285=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130d4c,'actions':null,'textRanges':_0x4b967a}}],_0x147464=this['_transformService']['transformMutationsWithChangeset'](_0x3e52fd,_0x1b4285);if(!g['isTransformMutationsWithChangesetSuccess'](_0x147464))throw _0x147464[_0x3feb79(0x37e)];const _0x15272c=_0x147464[_0x3feb79(0x43d)][0x0][_0x3feb79(0x406)][_0x3feb79(0x3f1)];Array['isArray'](_0x15272c)&&_0x15272c['length']&&_0x44eafa[_0x3feb79(0x2fb)](_0x15272c,{'unitId':_0x130d4c,'subUnitId':_0x130d4c},!0x1);}};function _0x3154(_0x24fe5b,_0xc080df){_0x24fe5b=_0x24fe5b-0x1cd;const _0x1fe894=_0x1fe8();let _0x31549a=_0x1fe894[_0x24fe5b];return _0x31549a;}se=Kt([Pe(0x0,a[_0x14293e(0x497)](a['Injector'])),Pe(0x1,g[_0x14293e(0x3b3)])],se);var qt=Object[_0x14293e(0x40b)],zt=(_0x15e523,_0x114a85,_0x3d1962,_0x2d255e)=>{const _0xbf57cb=_0x14293e;for(var _0x3c22be=_0x2d255e>0x1?void 0x0:_0x2d255e?qt(_0x114a85,_0x3d1962):_0x114a85,_0xe27010=_0x15e523[_0xbf57cb(0x1de)]-0x1,_0x185ebc;_0xe27010>=0x0;_0xe27010--)(_0x185ebc=_0x15e523[_0xe27010])&&(_0x3c22be=_0x185ebc(_0x3c22be)||_0x3c22be);return _0x3c22be;},N=(_0x981a97,_0x19fc88)=>(_0x41b509,_0x267f02)=>_0x19fc88(_0x41b509,_0x267f02,_0x981a97);let ie=class extends a[_0x14293e(0x37a)]{constructor(_0xc43d71,_0xb15a62,_0x23ea6c,_0x133ce6,_0x1cf473,_0x484727,_0xde50d5,_0x4f942d){const _0x2d7470=_0x14293e;super(),_(this,_0x2d7470(0x3d5),new I[(_0x2d7470(0x422))](u['CollaborationStatus']['NOT_COLLAB'])),(this[_0x2d7470(0x2bd)]=_0xc43d71,this[_0x2d7470(0x2a3)]=_0xb15a62,this['_docTransformIMECacheService']=_0x23ea6c,this[_0x2d7470(0x265)]=_0x133ce6,this['_docTransformSelectionsService']=_0x1cf473,this[_0x2d7470(0x244)]=_0x484727,this['_messageService']=_0xde50d5,this[_0x2d7470(0x230)]=_0x4f942d,this[_0x2d7470(0x255)]());}[_0x14293e(0x255)](){const _0x4738c5=_0x14293e;this['disposeWithMe'](this[_0x4738c5(0x2a3)]['entityInit$'][_0x4738c5(0x24e)](_0x184de3=>{const _0x219cec=_0x4738c5,_0x552f9a=this[_0x219cec(0x2bd)][_0x219cec(0x421)][_0x219cec(0x24e)](_0x19ca2b=>{const _0x2fe522=_0x219cec;if(_0x19ca2b==null)return;const {unitId:_0x287dfc,redoState:_0x1119f8,commandId:_0x1364ef}=_0x19ca2b;if(_0x287dfc!==_0x184de3[_0x2fe522(0x203)])return;const _0x3027dc={'id':_0x1364ef,'type':a[_0x2fe522(0x3b8)][_0x2fe522(0x40e)],'params':{'unitId':_0x287dfc,'actions':_0x1119f8[_0x2fe522(0x364)],'textRanges':null}};_0x184de3[_0x2fe522(0x437)](_0x3027dc);});if(_0x184de3[_0x219cec(0x463)](_0x552f9a),_0x184de3 instanceof u[_0x219cec(0x433)]){const _0x2f2c00={'onTransformIME':_0x1cccf6=>this['_docTransformIMECacheService'][_0x219cec(0x257)](_0x1cccf6),'onTransformState':_0x240ff7=>this[_0x219cec(0x265)][_0x219cec(0x22d)](_0x240ff7),'onTransformSelections':_0x961fca=>this[_0x219cec(0x22c)][_0x219cec(0x390)](_0x961fca),'onSyncEditingCollabCursor':_0x2ac9c3=>this[_0x219cec(0x244)]['syncEditingCollabCursor'](_0x2ac9c3),'onTransformRemoteChangesetByIMECache':_0x19d1a5=>this['_docTransformIMECacheService'][_0x219cec(0x42b)](_0x19d1a5),'onTransformRemoteChangesetByStateCache':_0x58a2e3=>this[_0x219cec(0x265)]['transformRemoteChangeset'](_0x58a2e3)};_0x184de3['addHandlerCallback'](_0x2f2c00);}}));}};ie=zt([N(0x0,a['Inject'](T['DocStateChangeManagerService'])),N(0x1,a[_0x14293e(0x497)](u[_0x14293e(0x1e0)])),N(0x2,a[_0x14293e(0x497)](ee)),N(0x3,a[_0x14293e(0x497)](te)),N(0x4,a[_0x14293e(0x497)](se)),N(0x5,a['Inject'](be)),N(0x6,O[_0x14293e(0x408)]),N(0x7,a[_0x14293e(0x497)](a['LocaleService']))],ie);var G=(_0x3c9dde=>(_0x3c9dde[_0x3c9dde[_0x14293e(0x261)]=0x0]=_0x14293e(0x261),_0x3c9dde[_0x3c9dde['OK']=0x1]='OK',_0x3c9dde[_0x3c9dde[_0x14293e(0x40f)]=0x2]=_0x14293e(0x40f),_0x3c9dde[_0x3c9dde[_0x14293e(0x3a7)]=0x3]=_0x14293e(0x3a7),_0x3c9dde[_0x3c9dde[_0x14293e(0x228)]=0x4]=_0x14293e(0x228),_0x3c9dde[_0x3c9dde['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3c9dde[_0x3c9dde[_0x14293e(0x376)]=0x6]=_0x14293e(0x376),_0x3c9dde[_0x3c9dde[_0x14293e(0x3bf)]=0x7]='INVALID_ARGUMENT',_0x3c9dde[_0x3c9dde['TOO_MANY_REQUESTS']=0x8]=_0x14293e(0x489),_0x3c9dde[_0x3c9dde[_0x14293e(0x417)]=0x9]='COMPLETION_FINISHED',_0x3c9dde[_0x3c9dde[_0x14293e(0x2d9)]=0xa]=_0x14293e(0x2d9),_0x3c9dde[_0x3c9dde[_0x14293e(0x324)]=0xb]=_0x14293e(0x324),_0x3c9dde[_0x3c9dde[_0x14293e(0x43e)]=0xc]=_0x14293e(0x43e),_0x3c9dde[_0x3c9dde[_0x14293e(0x28f)]=0xd]=_0x14293e(0x28f),_0x3c9dde[_0x3c9dde[_0x14293e(0x264)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c9dde[_0x3c9dde[_0x14293e(0x46b)]=0xf]=_0x14293e(0x46b),_0x3c9dde[_0x3c9dde[_0x14293e(0x41d)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3c9dde[_0x3c9dde[_0x14293e(0x367)]=0x64]=_0x14293e(0x367),_0x3c9dde[_0x3c9dde[_0x14293e(0x30b)]=0x65]='ERROR_AGAIN',_0x3c9dde[_0x3c9dde[_0x14293e(0x24a)]=0xc9]=_0x14293e(0x24a),_0x3c9dde[_0x3c9dde[_0x14293e(0x1d0)]=0xca]=_0x14293e(0x1d0),_0x3c9dde[_0x3c9dde[_0x14293e(0x361)]=0x1389]=_0x14293e(0x361),_0x3c9dde[_0x3c9dde['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x14293e(0x263),_0x3c9dde[_0x3c9dde[_0x14293e(0x462)]=0x1772]=_0x14293e(0x462),_0x3c9dde[_0x3c9dde[_0x14293e(0x3e4)]=0x1773]=_0x14293e(0x3e4),_0x3c9dde[_0x3c9dde[_0x14293e(0x303)]=0x1b59]=_0x14293e(0x303),_0x3c9dde[_0x3c9dde[_0x14293e(0x3ca)]=0x1b5a]=_0x14293e(0x3ca),_0x3c9dde[_0x3c9dde['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x14293e(0x305),_0x3c9dde[_0x3c9dde[_0x14293e(0x488)]=0x1b5c]=_0x14293e(0x488),_0x3c9dde[_0x3c9dde[_0x14293e(0x316)]=0x1b5d]='APPLY_DUPLICATED',_0x3c9dde[_0x3c9dde[_0x14293e(0x28c)]=0x1f41]=_0x14293e(0x28c),_0x3c9dde[_0x3c9dde[_0x14293e(0x32d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3c9dde[_0x3c9dde[_0x14293e(0x457)]=0x232a]=_0x14293e(0x457),_0x3c9dde[_0x3c9dde[_0x14293e(0x432)]=0x232b]=_0x14293e(0x432),_0x3c9dde[_0x3c9dde['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3c9dde[_0x3c9dde[_0x14293e(0x2a0)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3c9dde[_0x3c9dde[_0x14293e(0x25d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3c9dde[_0x3c9dde['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x14293e(0x44e),_0x3c9dde[_0x3c9dde[_0x14293e(0x443)]=0x2713]=_0x14293e(0x443),_0x3c9dde[_0x3c9dde[_0x14293e(0x287)]=0x2714]=_0x14293e(0x287),_0x3c9dde[_0x3c9dde[_0x14293e(0x2e2)]=0x271a]=_0x14293e(0x2e2),_0x3c9dde[_0x3c9dde[_0x14293e(0x31c)]=0x271b]=_0x14293e(0x31c),_0x3c9dde[_0x3c9dde[_0x14293e(0x2b3)]=0x271c]=_0x14293e(0x2b3),_0x3c9dde[_0x3c9dde[_0x14293e(0x3a4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3c9dde[_0x3c9dde[_0x14293e(0x494)]=0x271e]=_0x14293e(0x494),_0x3c9dde[_0x3c9dde[_0x14293e(0x235)]=0x271f]=_0x14293e(0x235),_0x3c9dde[_0x3c9dde['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x14293e(0x30c),_0x3c9dde[_0x3c9dde[_0x14293e(0x277)]=0x2af9]=_0x14293e(0x277),_0x3c9dde[_0x3c9dde['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x14293e(0x290),_0x3c9dde[_0x3c9dde[_0x14293e(0x3d7)]=0x2ee2]='INVALID_INVITE_CODE',_0x3c9dde[_0x3c9dde['INVITE_CODE_REQUIRED']=0x2ee3]=_0x14293e(0x347),_0x3c9dde[_0x3c9dde['USER_NOT_INVITED_CODE']=0x2ee4]=_0x14293e(0x31e),_0x3c9dde[_0x3c9dde['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x14293e(0x1fa),_0x3c9dde[_0x3c9dde[_0x14293e(0x202)]=0x32c9]=_0x14293e(0x202),_0x3c9dde[_0x3c9dde['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x14293e(0x288),_0x3c9dde[_0x3c9dde[_0x14293e(0x20c)]=0x32cb]=_0x14293e(0x20c),_0x3c9dde[_0x3c9dde[_0x14293e(0x43f)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x3c9dde[_0x3c9dde[_0x14293e(0x220)]=0x36b2]=_0x14293e(0x220),_0x3c9dde[_0x3c9dde[_0x14293e(0x409)]=0x36b3]=_0x14293e(0x409),_0x3c9dde[_0x3c9dde['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x3c9dde[_0x3c9dde[_0x14293e(0x39b)]=0x36b5]=_0x14293e(0x39b),_0x3c9dde[_0x3c9dde[_0x14293e(0x479)]=0x36b6]=_0x14293e(0x479),_0x3c9dde[_0x3c9dde[_0x14293e(0x30f)]=0x36b7]=_0x14293e(0x30f),_0x3c9dde[_0x3c9dde[_0x14293e(0x388)]=0x36b8]=_0x14293e(0x388),_0x3c9dde[_0x3c9dde[_0x14293e(0x231)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3c9dde[_0x3c9dde['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x14293e(0x431),_0x3c9dde[_0x3c9dde[_0x14293e(0x253)]=0x3717]=_0x14293e(0x253),_0x3c9dde[_0x3c9dde[_0x14293e(0x2aa)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3c9dde[_0x3c9dde[_0x14293e(0x29e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3c9dde[_0x3c9dde[_0x14293e(0x3e8)]=0x3a9a]=_0x14293e(0x3e8),_0x3c9dde[_0x3c9dde['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x3c9dde[_0x3c9dde[_0x14293e(0x481)]=0x3a9c]=_0x14293e(0x481),_0x3c9dde[_0x3c9dde['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x14293e(0x1d7),_0x3c9dde[_0x3c9dde[_0x14293e(0x240)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3c9dde[_0x3c9dde['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x14293e(0x3df),_0x3c9dde[_0x3c9dde[_0x14293e(0x43a)]=0x3e81]=_0x14293e(0x43a),_0x3c9dde[_0x3c9dde[_0x14293e(0x2b7)]=-0x1]=_0x14293e(0x2b7),_0x3c9dde))(G||{});function Jt(_0x4fe4b0){const _0x103fc4=_0x14293e;var _0xaf774e,_0x4e411f;const _0x50b110=(_0xaf774e=_0x4fe4b0['stageInfo'])==null?void 0x0:_0xaf774e[_0x103fc4(0x482)],_0x16919d=((_0x4e411f=_0x4fe4b0[_0x103fc4(0x380)])==null?void 0x0:_0x4e411f[_0x103fc4(0x246)])||0x0;return _0x50b110===B[_0x103fc4(0x400)][_0x103fc4(0x32f)]&&_0x16919d>0x0;}function Zt(_0x507632){const _0x57a095=_0x14293e;return _0x507632['functionsExecutedState']===B[_0x57a095(0x241)]['SUCCESS'];}var Qt=Object[_0x14293e(0x40b)],es=(_0x1c398b,_0x14ea69,_0x1bfac9,_0x29f6c1)=>{const _0x1b6792=_0x14293e;for(var _0x142316=_0x29f6c1>0x1?void 0x0:_0x29f6c1?Qt(_0x14ea69,_0x1bfac9):_0x14ea69,_0x119222=_0x1c398b[_0x1b6792(0x1de)]-0x1,_0x17ba2f;_0x119222>=0x0;_0x119222--)(_0x17ba2f=_0x1c398b[_0x119222])&&(_0x142316=_0x17ba2f(_0x142316)||_0x142316);return _0x142316;},L=(_0x4905bb,_0x1a7ab5)=>(_0xa915e,_0x4df260)=>_0x1a7ab5(_0xa915e,_0x4df260,_0x4905bb);const ts='/universer-api/license/formula/limit/status',ss=_0x14293e(0x41e),is='/universer-api/license/formula/limit/done';let ne=class extends a[_0x14293e(0x37a)]{constructor(_0xa7ca28,_0x155ab4,_0x1162f0,_0x22621f,_0x10d829,_0x334030,_0x314fdc){const _0x471f51=_0x14293e;super(),_(this,_0x471f51(0x455),null),_(this,_0x471f51(0x1f9),0x0),_(this,'_currentUsage',0x0),_(this,_0x471f51(0x1eb),[]),_(this,_0x471f51(0x430),0x0),(this[_0x471f51(0x49a)]=_0xa7ca28,this[_0x471f51(0x404)]=_0x155ab4,this[_0x471f51(0x1ce)]=_0x1162f0,this[_0x471f51(0x31f)]=_0x22621f,this[_0x471f51(0x28b)]=_0x10d829,this[_0x471f51(0x3a0)]=_0x334030,this[_0x471f51(0x230)]=_0x314fdc,this[_0x471f51(0x209)]());}['_initCommandInterceptor'](){const _0x4dc9bc=_0x14293e;this[_0x4dc9bc(0x463)](this['_commandService'][_0x4dc9bc(0x346)]((_0x388071,_0x1c672c)=>{const _0x43fb95=_0x4dc9bc;var _0x25dc2c;if(_0x388071['id']!==B[_0x43fb95(0x294)]['id'])return;const _0x4d57f6=_0x388071[_0x43fb95(0x406)];if(!this['_hasFormulaInDirtyRanges']((_0x25dc2c=_0x4d57f6['dirtyRanges'])!=null?_0x25dc2c:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x43fb95(0x413)](_0x388071,_0x1c672c),this[_0x43fb95(0x342)](),new a['CanceledError']();})),this[_0x4dc9bc(0x463)](this['_commandService']['onCommandExecuted']((_0x495667,_0x78fb7a)=>{const _0x35d6d1=_0x4dc9bc;if(_0x495667['id']!==B[_0x35d6d1(0x339)]['id'])return;const _0x5b652f=_0x495667[_0x35d6d1(0x406)];if(Jt(_0x5b652f)){const _0x2b5b2f=a[_0x35d6d1(0x340)]();this[_0x35d6d1(0x1eb)]['push'](_0x2b5b2f),this[_0x35d6d1(0x38f)](_0x2b5b2f);}else{if(Zt(_0x5b652f)&&this[_0x35d6d1(0x1eb)]['length']>0x0){const _0x393a41=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x393a41);}}}));}[_0x14293e(0x2fc)](){const _0x38f364=_0x14293e;super['dispose'](),this[_0x38f364(0x2a9)](),this[_0x38f364(0x1eb)]=[],this[_0x38f364(0x2e6)]=0x0,this[_0x38f364(0x1f9)]=0x0,this[_0x38f364(0x430)]=0x0;}async[_0x14293e(0x413)](_0x207f48,_0x268a6c){const _0x36835b=_0x14293e;for(let _0x4dd457=0x0;_0x4dd457<0x1e;_0x4dd457++)try{if(await this[_0x36835b(0x35b)](),this[_0x36835b(0x3ea)]()){this[_0x36835b(0x225)](_0x207f48,_0x268a6c),this[_0x36835b(0x49a)]['show']({'content':this[_0x36835b(0x230)]['t'](_0x36835b(0x336)),'type':p[_0x36835b(0x251)][_0x36835b(0x31b)]});return;}await new Promise(_0x6facbd=>{const _0x3abea6=_0x36835b;this[_0x3abea6(0x455)]=window['setTimeout'](_0x6facbd,0x3e8);});}catch(_0x13b51d){this[_0x36835b(0x3a0)][_0x36835b(0x37e)](_0x13b51d);}this[_0x36835b(0x49a)][_0x36835b(0x452)]({'content':this[_0x36835b(0x230)]['t']('formula.calculation.unable'),'type':p[_0x36835b(0x251)][_0x36835b(0x309)]});}['_applyCommand'](_0xf1481d,_0x4d5ee0){const _0x53cbe8=_0x14293e;try{this['_commandService'][_0x53cbe8(0x3fd)](_0xf1481d['id'],_0xf1481d[_0x53cbe8(0x406)],_0x4d5ee0);}catch(_0x3ba92f){this['_logService'][_0x53cbe8(0x37e)](_0x3ba92f);}}[_0x14293e(0x360)](_0x5d8a49,_0x448187){const _0x10882b=_0x14293e;_0x448187<this[_0x10882b(0x430)]||(this[_0x10882b(0x430)]=_0x448187,this['_maxFormulaLimit']=Number[_0x10882b(0x33b)](_0x5d8a49[_0x10882b(0x2b5)]),this[_0x10882b(0x2e6)]=Number[_0x10882b(0x33b)](_0x5d8a49['currentUsage']));}async[_0x14293e(0x38f)](_0x230531){const _0x5175e6=_0x14293e;var _0x4c75a8,_0x5c7468;const _0xd99adb=Date[_0x5175e6(0x270)]();try{const _0x3414d6=((_0x4c75a8=this[_0x5175e6(0x1ce)][_0x5175e6(0x32a)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4c75a8[_0x5175e6(0x20b)])||ss,_0x16c9f1=(await this[_0x5175e6(0x31f)][_0x5175e6(0x440)](_0x3414d6,{'body':JSON[_0x5175e6(0x23b)]({'taskId':_0x230531})}))[_0x5175e6(0x370)];if(((_0x5c7468=_0x16c9f1[_0x5175e6(0x37e)])==null?void 0x0:_0x5c7468['code'])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x16c9f1[_0x5175e6(0x416)],_0xd99adb);}catch(_0x3d6577){this['_logService']['error'](_0x3d6577);}}async['_getFormulaLimitStatus'](_0x4cac7f){const _0xd44faa=_0x14293e;var _0xa0c092,_0x584fdc;const _0xc67224=Date[_0xd44faa(0x270)]();try{const _0x1aac1d=((_0xa0c092=this[_0xd44faa(0x1ce)]['getConfig'](u[_0xd44faa(0x1d9)]))==null?void 0x0:_0xa0c092['getformulaLimitStatusUrl'])||ts,_0x371e2d=_0x4cac7f?_0x1aac1d+_0xd44faa(0x391)+encodeURIComponent(_0x4cac7f):_0x1aac1d,_0x2f46ae=(await this['_httpService'][_0xd44faa(0x319)](_0x371e2d))[_0xd44faa(0x370)];if(((_0x584fdc=_0x2f46ae[_0xd44faa(0x37e)])==null?void 0x0:_0x584fdc[_0xd44faa(0x212)])!==G['OK'])return;this[_0xd44faa(0x360)](_0x2f46ae['limitInfo'],_0xc67224);}catch(_0x484212){this[_0xd44faa(0x3a0)]['error'](_0x484212);}}async[_0x14293e(0x26e)](_0x34779b){const _0x2dbf49=_0x14293e;var _0x48809b,_0x3295a0;const _0x548e75=Date[_0x2dbf49(0x270)]();try{const _0x1bff28=((_0x48809b=this[_0x2dbf49(0x1ce)][_0x2dbf49(0x32a)](u[_0x2dbf49(0x1d9)]))==null?void 0x0:_0x48809b[_0x2dbf49(0x281)])||is,_0x26e354=(await this[_0x2dbf49(0x31f)][_0x2dbf49(0x440)](_0x1bff28,{'body':JSON[_0x2dbf49(0x23b)]({'taskId':_0x34779b})}))[_0x2dbf49(0x370)];if(((_0x3295a0=_0x26e354[_0x2dbf49(0x37e)])==null?void 0x0:_0x3295a0[_0x2dbf49(0x212)])!==G['OK'])return;this[_0x2dbf49(0x360)](_0x26e354[_0x2dbf49(0x416)],_0x548e75);}catch(_0x146f1b){this[_0x2dbf49(0x3a0)][_0x2dbf49(0x37e)](_0x146f1b);}}[_0x14293e(0x3ea)](){const _0x1288ee=_0x14293e;return this[_0x1288ee(0x1f9)]===0x0?!0x0:this[_0x1288ee(0x1f9)]-this['_currentUsage']>0x0;}[_0x14293e(0x2a9)](){const _0x571a30=_0x14293e;this[_0x571a30(0x455)]&&(clearTimeout(this[_0x571a30(0x455)]),this[_0x571a30(0x455)]=null);}['_showGuardMessage'](){const _0x411b0e=_0x14293e;this['_messageService'][_0x411b0e(0x452)]({'content':this[_0x411b0e(0x230)]['t'](_0x411b0e(0x1f4)),'type':p[_0x411b0e(0x251)][_0x411b0e(0x2c3)]});}['_hasFormulaInDirtyRanges'](_0x3c2e43){const _0x4d8e27=_0x14293e;for(const _0x3b3415 of _0x3c2e43){const {unitId:_0xc2c5e8,sheetId:_0x1a5909,range:_0x2a27ff}=_0x3b3415,_0x1ffffd=this[_0x4d8e27(0x28b)]['getUnit'](_0xc2c5e8);if(!_0x1ffffd)continue;const _0x727045=_0x1ffffd[_0x4d8e27(0x354)](_0x1a5909);if(!_0x727045)continue;const _0x437548=_0x727045[_0x4d8e27(0x366)]();for(let _0x185f31=_0x2a27ff[_0x4d8e27(0x44c)];_0x185f31<=_0x2a27ff['endRow'];_0x185f31++)for(let _0x4f72a2=_0x2a27ff[_0x4d8e27(0x3e1)];_0x4f72a2<=_0x2a27ff[_0x4d8e27(0x3b7)];_0x4f72a2++){const _0x4b896f=_0x437548[_0x4d8e27(0x3ee)](_0x185f31,_0x4f72a2);if(_0x4b896f&&(a[_0x4d8e27(0x355)](_0x4b896f['f'])||a[_0x4d8e27(0x34f)](_0x4b896f['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x14293e(0x497)](O[_0x14293e(0x408)])),L(0x1,a['ICommandService']),L(0x2,a[_0x14293e(0x219)]),L(0x3,a['Inject'](x[_0x14293e(0x2ef)])),L(0x4,a['IUniverInstanceService']),L(0x5,a[_0x14293e(0x45b)]),L(0x6,a['Inject'](a['LocaleService']))],ne);var ns=Object['getOwnPropertyDescriptor'],rs=(_0x14b78a,_0x466667,_0x1445c6,_0x270b67)=>{const _0xc67fa9=_0x14293e;for(var _0xb96726=_0x270b67>0x1?void 0x0:_0x270b67?ns(_0x466667,_0x1445c6):_0x466667,_0x113bcf=_0x14b78a[_0xc67fa9(0x1de)]-0x1,_0x49a2cc;_0x113bcf>=0x0;_0x113bcf--)(_0x49a2cc=_0x14b78a[_0x113bcf])&&(_0xb96726=_0x49a2cc(_0xb96726)||_0xb96726);return _0xb96726;},Se=(_0x28cf77,_0x54be74)=>(_0x3459bf,_0x338b1a)=>_0x54be74(_0x3459bf,_0x338b1a,_0x28cf77);let Te=class extends a['Disposable']{constructor(_0x3b6bc4,_0xed4f44,_0x2ec356){const _0x20b4fb=_0x14293e;super(),_(this,_0x20b4fb(0x278),new Map()),_(this,_0x20b4fb(0x3de),new Map()),_(this,_0x20b4fb(0x233),!0x1),(this[_0x20b4fb(0x1ce)]=_0x3b6bc4,this[_0x20b4fb(0x291)]=_0xed4f44,this[_0x20b4fb(0x47b)]=_0x2ec356);}['disableLocalCache'](){const _0xb43b51=_0x14293e;this[_0xb43b51(0x233)]=!0x0;}[_0x14293e(0x2e9)](){const _0xb26756=_0x14293e;this[_0xb26756(0x233)]=!0x1;}get[_0x14293e(0x3a1)](){return this['_saveTaskMap'];}['dispose'](){const _0xcd015b=_0x14293e;this['exhaustSavingTask']()[_0xcd015b(0x399)](()=>super[_0xcd015b(0x2fc)]());}async[_0x14293e(0x3b4)](_0x3c925f){const _0x54fb3e=_0x14293e;return this[_0x54fb3e(0x233)]?null:this[_0x54fb3e(0x291)][_0x54fb3e(0x2ec)](u[_0x54fb3e(0x394)](_0x3c925f));}async[_0x14293e(0x232)](_0xef0ab3,_0x5e3178){const _0x158ab6=_0x14293e;return!!this[_0x158ab6(0x291)][_0x158ab6(0x36e)](_0xef0ab3,_0x5e3178);}[_0x14293e(0x32c)](_0x3ab8e5,_0x392bec,_0x338406,_0x57b504){const _0x4f9482=_0x14293e,_0x34a06c=this[_0x4f9482(0x47b)][_0x4f9482(0x2d5)](_0x3ab8e5);this[_0x4f9482(0x278)][_0x4f9482(0x297)](_0x3ab8e5,{'unitID':_0x3ab8e5,'type':_0x392bec,'awaitingChangeset':_0x338406,'mutations':_0x57b504,'rev':_0x34a06c}),this[_0x4f9482(0x3de)][_0x4f9482(0x3cd)](_0x3ab8e5)||this[_0x4f9482(0x1dc)](_0x3ab8e5);}[_0x14293e(0x1dc)](_0x446d1c){const _0x233da7=_0x14293e,_0x3413f6=this['_getSaveTimeout']();_0x3413f6===0x0?this[_0x233da7(0x1ff)](_0x446d1c):this[_0x233da7(0x3de)][_0x233da7(0x297)](_0x446d1c,setTimeout(()=>this['_saveCache'](_0x446d1c),_0x3413f6));}[_0x14293e(0x31a)](){const _0x162c5c=_0x14293e;var _0x144588;return(_0x144588=this[_0x162c5c(0x1ce)][_0x162c5c(0x32a)](u[_0x162c5c(0x44a)]))!=null?_0x144588:u['LOCAL_CACHE_INTERVAL'];}[_0x14293e(0x1ff)](_0x593967){const _0x5025e7=_0x14293e,_0x248253=this[_0x5025e7(0x3de)]['get'](_0x593967);return _0x248253!==void 0x0&&window['clearTimeout'](_0x248253),this['_localStorageService'][_0x5025e7(0x36e)](u[_0x5025e7(0x394)](_0x593967),this['_cachedData'][_0x5025e7(0x319)](_0x593967))[_0x5025e7(0x399)](()=>this['_saveTaskMap'][_0x5025e7(0x42f)](_0x593967));}async[_0x14293e(0x330)](){const _0x3b47aa=_0x14293e,_0x4bd100=[];this[_0x3b47aa(0x3de)][_0x3b47aa(0x208)]((_0x35e435,_0x33fe1f)=>{const _0x4a00dc=_0x3b47aa;window[_0x4a00dc(0x2ca)](_0x35e435),_0x4bd100[_0x4a00dc(0x3ef)](this['_saveCache'](_0x33fe1f)[_0x4a00dc(0x399)](()=>{const _0x2c1566=_0x4a00dc;this['_saveTaskMap'][_0x2c1566(0x42f)](_0x33fe1f);}));}),await Promise[_0x3b47aa(0x1e9)](_0x4bd100);}};Te=rs([Se(0x0,a[_0x14293e(0x219)]),Se(0x1,a[_0x14293e(0x39f)]),Se(0x2,a['Inject'](g[_0x14293e(0x213)]))],Te);class ke extends a['RxDisposable']{constructor(){const _0x8db451=_0x14293e;super(),_(this,'urlChange$'),this[_0x8db451(0x1cd)]=I[_0x8db451(0x3fc)](window,'popstate')[_0x8db451(0x476)](I[_0x8db451(0x2ce)](this['dispose$']),I['shareReplay'](0x1),I[_0x8db451(0x222)](void 0x0));}[_0x14293e(0x438)](_0x2059cd,_0x4071be,_0x13ce42=!0x1){const _0x4a35a5=_0x14293e,_0x5be0d3=new URL(window[_0x4a35a5(0x211)][_0x4a35a5(0x1d3)]);_0x5be0d3[_0x4a35a5(0x1f7)][_0x4a35a5(0x297)](_0x2059cd,_0x4071be),_0x13ce42?window['history']['replaceState']('','',_0x5be0d3[_0x4a35a5(0x356)]()):window[_0x4a35a5(0x24f)][_0x4a35a5(0x210)]('','',_0x5be0d3[_0x4a35a5(0x356)]());}[_0x14293e(0x410)](_0x4aa128,_0x3f2bf1=!0x1){const _0x2e686b=_0x14293e,_0x340a57=new URL(window['location']['href']);_0x340a57['searchParams']['delete'](_0x4aa128),_0x3f2bf1?window['history']['replaceState']('','',_0x340a57[_0x2e686b(0x356)]()):window[_0x2e686b(0x24f)]['pushState']('','',_0x340a57[_0x2e686b(0x356)]());}['getParam'](_0x441c77){const _0x323e36=_0x14293e;var _0x2c0ed9;return(_0x2c0ed9=new URL(window['location'][_0x323e36(0x1d3)])[_0x323e36(0x1f7)][_0x323e36(0x319)](_0x441c77))!=null?_0x2c0ed9:void 0x0;}}var os=Object[_0x14293e(0x24b)],as=Object[_0x14293e(0x40b)],cs=(_0x36ad98,_0x501546,_0x282adb)=>_0x501546 in _0x36ad98?os(_0x36ad98,_0x501546,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282adb}):_0x36ad98[_0x501546]=_0x282adb,ls=(_0x338408,_0x47a9a5,_0x45d744,_0x829c21)=>{const _0x3d891b=_0x14293e;for(var _0x1af887=_0x829c21>0x1?void 0x0:_0x829c21?as(_0x47a9a5,_0x45d744):_0x47a9a5,_0x4bf50c=_0x338408[_0x3d891b(0x1de)]-0x1,_0x1f84aa;_0x4bf50c>=0x0;_0x4bf50c--)(_0x1f84aa=_0x338408[_0x4bf50c])&&(_0x1af887=_0x1f84aa(_0x1af887)||_0x1af887);return _0x1af887;},de=(_0x5cddf9,_0x31ef36)=>(_0x304e1b,_0xbab300)=>_0x31ef36(_0x304e1b,_0xbab300,_0x5cddf9),_s=(_0x486aa3,_0x2cf4db,_0xfa62ec)=>cs(_0x486aa3,_0x2cf4db+'',_0xfa62ec);const hs=_0x14293e(0x387);exports[_0x14293e(0x262)]=class extends a[_0x14293e(0x48d)]{constructor(_0x141ca1=Me,_0x6cfa0a,_0x1df05a,_0x1f3744){const _0x3bcf30=_0x14293e;super(),this['_config']=_0x141ca1,this[_0x3bcf30(0x22a)]=_0x6cfa0a,this[_0x3bcf30(0x249)]=_0x1df05a,this['_configService']=_0x1f3744;const {..._0x1da4b5}=a['merge']({},Me,this['_config']);this[_0x3bcf30(0x1ce)][_0x3bcf30(0x35e)](Yt,_0x1da4b5);}['onStarting'](){const _0x2116fd=_0x14293e;this['_registerDependencies'](),this[_0x2116fd(0x3c4)]();}[_0x14293e(0x442)](){const _0x6d2b52=_0x14293e;this[_0x6d2b52(0x218)]();}['_registerDependencies'](){const _0x40014a=_0x14293e;var _0x387b53;const _0x10871f=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x40014a(0x424)],{'useClass':x['WebSocketService']}],[u[_0x40014a(0x485)],{'useClass':Te}],[exports[_0x40014a(0x48f)]],[ie],[Z],[F],[me],[exports[_0x40014a(0x3dc)]]];this[_0x40014a(0x42d)]['enableFrontendLog']&&_0x10871f[_0x40014a(0x3ef)]([Q]),a[_0x40014a(0x250)](this[_0x40014a(0x249)],a['mergeOverrideWithDependencies'](_0x10871f,(_0x387b53=this[_0x40014a(0x42d)])==null?void 0x0:_0x387b53['override']));}[_0x14293e(0x218)](){const _0x4de020=_0x14293e;this[_0x4de020(0x463)](this[_0x4de020(0x22a)][_0x4de020(0x375)](a[_0x4de020(0x47d)][_0x4de020(0x20f)],[Ee])),this['disposeWithMe'](this[_0x4de020(0x22a)][_0x4de020(0x375)](a[_0x4de020(0x47d)][_0x4de020(0x2da)],[Ce]));}[_0x14293e(0x3c4)](){const _0x58b9be=_0x14293e;a[_0x58b9be(0x242)](this[_0x58b9be(0x249)],[[F],[exports['DesktopCollaborationStatusDisplayController']],[ie],[Z],[exports['CollaborationDataLoaderController']],[ne]]),this[_0x58b9be(0x42d)]['enableFrontendLog']&&a[_0x58b9be(0x242)](this[_0x58b9be(0x249)],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],'pluginName',hs),exports[_0x14293e(0x262)]=ls([a[_0x14293e(0x272)](u[_0x14293e(0x2bf)]),de(0x1,C[_0x14293e(0x229)]),de(0x2,a[_0x14293e(0x497)](a[_0x14293e(0x419)])),de(0x3,a[_0x14293e(0x219)])],exports[_0x14293e(0x262)]);var us=Object[_0x14293e(0x40b)],Is=(_0x3bc2d4,_0x33eed5,_0x29fa79,_0x55c00a)=>{for(var _0x1e32f9=_0x55c00a>0x1?void 0x0:_0x55c00a?us(_0x33eed5,_0x29fa79):_0x33eed5,_0x354232=_0x3bc2d4['length']-0x1,_0x5e0256;_0x354232>=0x0;_0x354232--)(_0x5e0256=_0x3bc2d4[_0x354232])&&(_0x1e32f9=_0x5e0256(_0x1e32f9)||_0x1e32f9);return _0x1e32f9;},W=(_0x82834e,_0x7033b9)=>(_0x269a48,_0x4954dc)=>_0x7033b9(_0x269a48,_0x4954dc,_0x82834e);exports[_0x14293e(0x260)]=class extends u[_0x14293e(0x434)]{constructor(_0xb27ee3,_0x1cd8ca,_0x4ba45b,_0x162fdf,_0x58aae3){super(_0xb27ee3,_0x1cd8ca,_0x4ba45b,_0x162fdf,_0x58aae3);}async[_0x14293e(0x3dd)](_0x3510c9){const _0x351bda=_0x14293e,_0x5bd3ec=await this[_0x351bda(0x458)](),_0x1fd037=this[_0x351bda(0x41a)](_0x3510c9,_0x5bd3ec);return this[_0x351bda(0x2ab)](_0x1fd037);}[_0x14293e(0x41a)](_0x5b71da,_0x19578a){const _0x89845b=_0x14293e,_0x1347d4=typeof window>'u'?new URL(_0x5b71da):new URL(_0x5b71da,window[_0x89845b(0x211)][_0x89845b(0x25a)]);_0x1347d4[_0x89845b(0x1f7)][_0x89845b(0x297)]('sessionTicket',_0x19578a);const _0x13fc23=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x89845b(0x211)][_0x89845b(0x2f6)]);return _0x13fc23[_0x89845b(0x319)](_0x89845b(0x382))&&_0x1347d4['searchParams'][_0x89845b(0x297)](_0x89845b(0x382),_0x13fc23[_0x89845b(0x319)](_0x89845b(0x382))),_0x1347d4[_0x89845b(0x356)]();}async[_0x14293e(0x458)](){const _0x404d20=_0x14293e;var _0x58853e,_0x2d2ae7,_0x5be82c;const _0x4cf0ba=this[_0x404d20(0x1ce)][_0x404d20(0x32a)](u[_0x404d20(0x1d9)]),_0x2e5fd0=(_0x58853e=_0x4cf0ba==null?void 0x0:_0x4cf0ba[_0x404d20(0x276)])!=null?_0x58853e:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5be82c=(_0x2d2ae7=(await this[_0x404d20(0x31f)][_0x404d20(0x319)](_0x2e5fd0,{'headers':{'Content-Type':'application/json'}}))[_0x404d20(0x370)])==null?void 0x0:_0x2d2ae7['ticket'])!=null?_0x5be82c:'';}},exports[_0x14293e(0x260)]=Is([W(0x0,a['Inject'](a[_0x14293e(0x419)])),W(0x1,a[_0x14293e(0x497)](x[_0x14293e(0x2ef)])),W(0x2,a[_0x14293e(0x219)]),W(0x3,a['ILogService']),W(0x4,g[_0x14293e(0x39e)])],exports[_0x14293e(0x260)]);var Ss=Object[_0x14293e(0x40b)],ds=(_0xa71f5e,_0x4071e2,_0x57caa7,_0x140f11)=>{for(var _0x51ad11=_0x140f11>0x1?void 0x0:_0x140f11?Ss(_0x4071e2,_0x57caa7):_0x4071e2,_0x394c65=_0xa71f5e['length']-0x1,_0x4a42de;_0x394c65>=0x0;_0x394c65--)(_0x4a42de=_0xa71f5e[_0x394c65])&&(_0x51ad11=_0x4a42de(_0x51ad11)||_0x51ad11);return _0x51ad11;},fe=(_0x3f5918,_0x4570df)=>(_0x29bee4,_0x5e7d24)=>_0x4570df(_0x29bee4,_0x5e7d24,_0x3f5918);exports[_0x14293e(0x379)]=class extends a[_0x14293e(0x37a)]{constructor(_0x58fbbb,_0x202995,_0x431c4e){const _0x45993e=_0x14293e;super(),this[_0x45993e(0x2bb)]=_0x58fbbb,this['_httpService']=_0x202995,this[_0x45993e(0x1ce)]=_0x431c4e;}async[_0x14293e(0x239)](_0x929bd8,_0x221b46,_0x2dfc1a,..._0x238561){const _0x458fd3=_0x14293e;var _0x446334,_0x52f52f,_0x25a231,_0x15245c;const _0x4c6eff=this[_0x458fd3(0x2bb)][_0x458fd3(0x2a1)]();if(!_0x4c6eff)throw new Error(_0x458fd3(0x3d6));const _0x14d682=((_0x446334=this[_0x458fd3(0x1ce)][_0x458fd3(0x32a)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x446334:u[_0x458fd3(0x490)])+'/'+_0x929bd8+_0x458fd3(0x450)+_0x221b46,_0xe67e57=new URL(window[_0x458fd3(0x211)][_0x458fd3(0x1d3)]),_0x5cff03={'scriptId':_0x929bd8,'runId':(_0x52f52f=_0xe67e57[_0x458fd3(0x1f7)]['get']('runId'))!=null?_0x52f52f:'','function':_0x221b46,'unitId':_0x4c6eff[_0x458fd3(0x38d)](),'argsOfFunction':JSON[_0x458fd3(0x23b)](_0x238561),'invokeId':(_0x25a231=_0x2dfc1a[_0x458fd3(0x214)])!=null?_0x25a231:'','executionId':(_0x15245c=_0x2dfc1a[_0x458fd3(0x1f6)])!=null?_0x15245c:''};try{const _0x602ad8=await this[_0x458fd3(0x31f)][_0x458fd3(0x440)](_0x14d682,{'body':_0x5cff03});return _0x602ad8[_0x458fd3(0x370)][_0x458fd3(0x37e)]&&_0x602ad8[_0x458fd3(0x370)]['error'][_0x458fd3(0x212)]!==G['OK']?_0x458fd3(0x315):_0x602ad8[_0x458fd3(0x370)][_0x458fd3(0x2b0)];}catch{return _0x458fd3(0x315);}}},exports[_0x14293e(0x379)]=ds([fe(0x0,a[_0x14293e(0x24d)]),fe(0x1,a['Inject'](x[_0x14293e(0x2ef)])),fe(0x2,a[_0x14293e(0x219)])],exports['RemoteUniscriptService']);const we=0x7530,ye=_0x14293e(0x2ed);class fs extends a['Disposable']{constructor(){const _0x4494f0=_0x14293e;super(),_(this,_0x4494f0(0x3d0),a['generateRandomId']()),_(this,_0x4494f0(0x38a),new Set()),_(this,_0x4494f0(0x499),new Map()),_(this,_0x4494f0(0x2ac),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x4494f0(0x295),new Map()),this[_0x4494f0(0x3ab)]();}['dispose'](){const _0x51cae7=_0x14293e;super[_0x51cae7(0x2fc)](),this['_clearOtherTimers'][_0x51cae7(0x208)]((_0x345727,_0xc42775)=>this[_0x51cae7(0x27b)](_0xc42775)),this[_0x51cae7(0x2ac)]&&window[_0x51cae7(0x284)](this['_heartbeatTimer']);}[_0x14293e(0x2b8)](_0x308083){const _0x566adc=_0x14293e;return this[_0x566adc(0x49c)](_0x308083)[_0x566adc(0x476)](I[_0x566adc(0x3a9)]());}['editingUnit'](_0x4b0417){const _0x5af409=_0x14293e;this[_0x5af409(0x38a)][_0x5af409(0x3bb)]===0x0&&this[_0x5af409(0x304)](),this[_0x5af409(0x38a)][_0x5af409(0x381)](_0x4b0417),this[_0x5af409(0x3c6)]({'type':0x0,'memberID':this[_0x5af409(0x3d0)],'unitIDs':[_0x4b0417],'isForwarded':!0x1});}[_0x14293e(0x1d1)](_0x34d9f5){const _0x194a40=_0x14293e;this[_0x194a40(0x38a)][_0x194a40(0x42f)](_0x34d9f5),this[_0x194a40(0x38a)][_0x194a40(0x3bb)]===0x0&&this[_0x194a40(0x2ac)]&&window[_0x194a40(0x284)](this[_0x194a40(0x2ac)]);}['_init'](){const _0x488723=_0x14293e;this[_0x488723(0x463)](a[_0x488723(0x221)](I[_0x488723(0x3fc)](window,'storage')['subscribe'](_0x5e0a8e=>{const _0x17d0a6=_0x488723;if(_0x5e0a8e[_0x17d0a6(0x3ce)]!==ye||!_0x5e0a8e[_0x17d0a6(0x2bc)])return;const _0x13d222=JSON['parse'](_0x5e0a8e[_0x17d0a6(0x2bc)]);this[_0x17d0a6(0x327)](_0x13d222);}))),window[_0x488723(0x3f8)](_0x488723(0x29f),()=>this[_0x488723(0x3c6)]({'type':0x1,'memberID':this[_0x488723(0x3d0)],'unitIDs':Array[_0x488723(0x20d)](this[_0x488723(0x38a)])}));}[_0x14293e(0x327)](_0x177529){const _0x52ae03=_0x14293e;switch(_0x177529[_0x52ae03(0x285)]){case 0x0:this[_0x52ae03(0x3d3)](_0x177529);break;case 0x1:this[_0x52ae03(0x2c2)](_0x177529);break;case 0x2:this['_handleHeartbeatEvent'](_0x177529);break;}}[_0x14293e(0x3d3)](_0x145de0){const _0x2876e6=_0x14293e,{unitIDs:_0x270f79,memberID:_0x39e8b5,isForwarded:_0x151ae1}=_0x145de0;_0x270f79[_0x2876e6(0x208)](_0x205884=>{const _0x590600=_0x2876e6;if(!_0x151ae1&&this[_0x590600(0x499)]['has'](_0x205884)&&this[_0x590600(0x49c)](_0x205884)['next'](u['UnitStatus'][_0x590600(0x20e)]),!this[_0x590600(0x499)]['has'](_0x205884)||!this[_0x590600(0x499)][_0x590600(0x319)](_0x205884)['has'](_0x39e8b5)){const _0x2a9b6d=this[_0x590600(0x499)][_0x590600(0x319)](_0x205884)||new Set();_0x2a9b6d[_0x590600(0x381)](_0x39e8b5),this[_0x590600(0x499)][_0x590600(0x297)](_0x205884,_0x2a9b6d),this['_scheduleClearOtherTimer'](_0x39e8b5);}}),_0x151ae1||this[_0x2876e6(0x3c6)]({'type':0x0,'memberID':this[_0x2876e6(0x3d0)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x14293e(0x28d)](_0x284813){const _0x2cd939=_0x14293e;this[_0x2cd939(0x27b)](_0x284813);const _0x6a2528=window[_0x2cd939(0x401)](()=>{const _0x48a368=_0x2cd939;this[_0x48a368(0x499)]['forEach'](_0x323eb6=>{_0x323eb6['delete'](_0x284813);});},we*0x2);this[_0x2cd939(0x48e)]['set'](_0x284813,_0x6a2528);}[_0x14293e(0x27b)](_0x2aa6fd){const _0x5133b1=_0x14293e;if(this[_0x5133b1(0x48e)][_0x5133b1(0x3cd)](_0x2aa6fd)){const _0x3ba4cb=this[_0x5133b1(0x48e)][_0x5133b1(0x319)](_0x2aa6fd);_0x3ba4cb&&window[_0x5133b1(0x2ca)](_0x3ba4cb),this['_clearOtherTimers']['set'](_0x2aa6fd,null);}}['_handleLeaveEvent'](_0x66b090){const {memberID:_0x25d22d,unitIDs:_0x405e13}=_0x66b090;_0x405e13['forEach'](_0x4d5209=>{const _0x268099=_0x3154;var _0x5792e4;const _0x1ec851=this[_0x268099(0x499)][_0x268099(0x319)](_0x4d5209);_0x1ec851&&(_0x1ec851[_0x268099(0x42f)](_0x25d22d),(_0x5792e4=this[_0x268099(0x49c)](_0x4d5209))==null||_0x5792e4['next'](_0x1ec851[_0x268099(0x3bb)]===0x0?u[_0x268099(0x333)][_0x268099(0x3be)]:u['UnitStatus'][_0x268099(0x20e)]));}),this['_removeClearOtherTimer'](_0x25d22d);}[_0x14293e(0x47e)](_0x366257){const _0x619ef=_0x14293e;this[_0x619ef(0x28d)](_0x366257[_0x619ef(0x302)]);}[_0x14293e(0x3c6)](_0x39c516){const _0x4c128a=_0x14293e;localStorage[_0x4c128a(0x36e)](ye,JSON[_0x4c128a(0x23b)](_0x39c516));}[_0x14293e(0x304)](){const _0x3e9d89=_0x14293e;this[_0x3e9d89(0x2ac)]=window[_0x3e9d89(0x1cf)](()=>{const _0x441150=_0x3e9d89;this[_0x441150(0x3c6)]({'type':0x2,'memberID':this['_id']});},we);}[_0x14293e(0x49c)](_0x11121f){const _0x328f10=_0x14293e;return this[_0x328f10(0x295)]['has'](_0x11121f)||this[_0x328f10(0x295)][_0x328f10(0x297)](_0x11121f,new I['BehaviorSubject'](u[_0x328f10(0x333)][_0x328f10(0x3be)])),this[_0x328f10(0x295)][_0x328f10(0x319)](_0x11121f);}}exports[_0x14293e(0x35d)]=Oe,exports[_0x14293e(0x2ad)]=je,exports[_0x14293e(0x223)]=fs,exports['WebURLService']=ke;
|