@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130703 → 0.10.8-nightly.202509200616
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x43db(_0x4842aa,_0x1c0e0c){const _0x419948=_0x4199();return _0x43db=function(_0x43db9c,_0x44ec98){_0x43db9c=_0x43db9c-0x1d5;let _0x3164ff=_0x419948[_0x43db9c];return _0x3164ff;},_0x43db(_0x4842aa,_0x1c0e0c);}(function(_0x2befa0,_0x532fdb){const _0x4e398c=_0x43db,_0x4ec39e=_0x2befa0();while(!![]){try{const _0x22b5eb=-parseInt(_0x4e398c(0x2ae))/0x1+-parseInt(_0x4e398c(0x2c7))/0x2*(-parseInt(_0x4e398c(0x44a))/0x3)+parseInt(_0x4e398c(0x395))/0x4+-parseInt(_0x4e398c(0x27e))/0x5*(-parseInt(_0x4e398c(0x3bc))/0x6)+parseInt(_0x4e398c(0x262))/0x7+-parseInt(_0x4e398c(0x363))/0x8+-parseInt(_0x4e398c(0x279))/0x9;if(_0x22b5eb===_0x532fdb)break;else _0x4ec39e['push'](_0x4ec39e['shift']());}catch(_0x40a0ba){_0x4ec39e['push'](_0x4ec39e['shift']());}}}(_0x4199,0x815d0),function(_0x52c667,_0x4c8fde){const _0x5059d4=_0x43db;typeof exports==_0x5059d4(0x2c1)&&typeof module<'u'?_0x4c8fde(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5059d4(0x248)&&define[_0x5059d4(0x236)]?define([_0x5059d4(0x284),_0x5059d4(0x405),_0x5059d4(0x417),_0x5059d4(0x2b0),'@univerjs/ui',_0x5059d4(0x373),_0x5059d4(0x311),_0x5059d4(0x2ef),_0x5059d4(0x32b),_0x5059d4(0x2a9),_0x5059d4(0x443),'@univerjs/network',_0x5059d4(0x219),_0x5059d4(0x3c1),_0x5059d4(0x43c),_0x5059d4(0x41e),'@univerjs/engine-formula','rxjs/operators',_0x5059d4(0x2db)],_0x4c8fde):(_0x52c667=typeof globalThis<'u'?globalThis:_0x52c667||self,_0x4c8fde(_0x52c667[_0x5059d4(0x36d)]={},_0x52c667[_0x5059d4(0x462)],_0x52c667[_0x5059d4(0x37d)],_0x52c667[_0x5059d4(0x461)],_0x52c667[_0x5059d4(0x305)],_0x52c667[_0x5059d4(0x373)],_0x52c667[_0x5059d4(0x428)],_0x52c667['React'],_0x52c667[_0x5059d4(0x3c9)],_0x52c667['UniverSheets'],_0x52c667['UniverEngineRender'],_0x52c667[_0x5059d4(0x37a)],_0x52c667[_0x5059d4(0x26d)],_0x52c667[_0x5059d4(0x3ed)],_0x52c667[_0x5059d4(0x232)],_0x52c667['UniverDocs'],_0x52c667[_0x5059d4(0x2d3)],_0x52c667[_0x5059d4(0x373)]['operators'],_0x52c667['UniverSheetsUi']));}(this,function(_0x2245a1,_0x447c69,_0x1ac61a,_0x3d05ee,_0x1c4740,_0x353c21,_0xaeffda,_0x729dd1,_0x42cb63,_0x401d6b,_0x1eb76f,_0x4cfd05,_0x50ffa0,_0x372151,_0x4876d5,_0x427dab,_0x447c02,_0x41ab20,_0x316114){'use strict';const _0x52f010=_0x43db;var _0x4ffcaf=Object[_0x52f010(0x41c)],_0x2c9240=(_0x573270,_0x354886,_0x51c11c)=>_0x354886 in _0x573270?_0x4ffcaf(_0x573270,_0x354886,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c11c}):_0x573270[_0x354886]=_0x51c11c,_0x544075=(_0x44bb42,_0x4fcb7b,_0x9f012f)=>_0x2c9240(_0x44bb42,typeof _0x4fcb7b!='symbol'?_0x4fcb7b+'':_0x4fcb7b,_0x9f012f),_0x18b41f=function(){const _0x5801ab=_0x52f010;return _0x18b41f=Object[_0x5801ab(0x410)]||function(_0x2dc9ae){const _0x5a9f6e=_0x5801ab;for(var _0x329558,_0x20d20e=0x1,_0x2ebfe7=arguments[_0x5a9f6e(0x2d4)];_0x20d20e<_0x2ebfe7;_0x20d20e++){_0x329558=arguments[_0x20d20e];for(var _0x2b0dc5 in _0x329558)Object[_0x5a9f6e(0x415)]['hasOwnProperty'][_0x5a9f6e(0x302)](_0x329558,_0x2b0dc5)&&(_0x2dc9ae[_0x2b0dc5]=_0x329558[_0x2b0dc5]);}return _0x2dc9ae;},_0x18b41f[_0x5801ab(0x41a)](this,arguments);},_0x32c777=function(_0x45c59e,_0x22cde5){const _0x3e560f=_0x52f010;var _0x4c8a88={};for(var _0x3d2c60 in _0x45c59e)Object[_0x3e560f(0x415)][_0x3e560f(0x290)][_0x3e560f(0x302)](_0x45c59e,_0x3d2c60)&&_0x22cde5[_0x3e560f(0x296)](_0x3d2c60)<0x0&&(_0x4c8a88[_0x3d2c60]=_0x45c59e[_0x3d2c60]);if(_0x45c59e!=null&&typeof Object[_0x3e560f(0x45d)]=='function'){for(var _0x3681f1=0x0,_0x3d2c60=Object[_0x3e560f(0x45d)](_0x45c59e);_0x3681f1<_0x3d2c60['length'];_0x3681f1++)_0x22cde5[_0x3e560f(0x296)](_0x3d2c60[_0x3681f1])<0x0&&Object[_0x3e560f(0x415)][_0x3e560f(0x38d)]['call'](_0x45c59e,_0x3d2c60[_0x3681f1])&&(_0x4c8a88[_0x3d2c60[_0x3681f1]]=_0x45c59e[_0x3d2c60[_0x3681f1]]);}return _0x4c8a88;},_0x24443e=_0x729dd1[_0x52f010(0x2f7)](function(_0x5cba90,_0x4c6c8d){const _0x2c2e7a=_0x52f010;var _0xff7ef2=_0x5cba90[_0x2c2e7a(0x2e8)],_0x2187cb=_0x5cba90['id'],_0x47ea4f=_0x5cba90[_0x2c2e7a(0x35b)],_0x2eada9=_0x5cba90[_0x2c2e7a(0x369)],_0x130075=_0x32c777(_0x5cba90,['icon','id',_0x2c2e7a(0x35b),_0x2c2e7a(0x369)]),_0x5d50c3=_0x2c2e7a(0x3ef)[_0x2c2e7a(0x273)](_0x2187cb,'\x20')[_0x2c2e7a(0x273)](_0x47ea4f||'')['trim'](),_0x3ec332=_0x729dd1[_0x2c2e7a(0x299)]('_'[_0x2c2e7a(0x273)](_0x4cff3e()));return _0x497fc9(_0xff7ef2,''['concat'](_0x2187cb),{'defIds':_0xff7ef2[_0x2c2e7a(0x249)],'idSuffix':_0x3ec332[_0x2c2e7a(0x2ac)]},_0x18b41f({'ref':_0x4c6c8d,'className':_0x5d50c3},_0x130075),_0x2eada9);});function _0x497fc9(_0x32e82d,_0x2245b1,_0x5821db,_0x5772ae,_0x3016f4){const _0x4fe177=_0x52f010;return _0x729dd1[_0x4fe177(0x31f)](_0x32e82d[_0x4fe177(0x319)],_0x18b41f(_0x18b41f({'key':_0x2245b1},_0x554717(_0x32e82d,_0x5821db,_0x3016f4)),_0x5772ae),(_0x5315e3(_0x32e82d,_0x5821db)[_0x4fe177(0x230)]||[])['map'](function(_0x43c61d,_0x3eddd2){const _0x44bd38=_0x4fe177;return _0x497fc9(_0x43c61d,''[_0x44bd38(0x273)](_0x2245b1,'-')[_0x44bd38(0x273)](_0x32e82d[_0x44bd38(0x319)],'-')[_0x44bd38(0x273)](_0x3eddd2),_0x5821db,void 0x0,_0x3016f4);}));}function _0x554717(_0xf48a30,_0x255496,_0x1b4243){const _0x2617fd=_0x52f010;var _0x10ec7c=_0x18b41f({},_0xf48a30[_0x2617fd(0x24d)]);_0x1b4243!=null&&_0x1b4243['colorChannel1']&&_0x10ec7c['fill']===_0x2617fd(0x2c5)&&(_0x10ec7c['fill']=_0x1b4243[_0x2617fd(0x2c5)]),_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x250)&&_0x10ec7c['id']&&(_0x10ec7c['id']=_0x10ec7c['id']+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)[_0x2617fd(0x2ce)](function(_0x3f1e3c){const _0x3d0672=_0x2617fd;var _0x568aae=_0x3f1e3c[0x0],_0x5f0eae=_0x3f1e3c[0x1];_0x568aae===_0x3d0672(0x250)&&typeof _0x5f0eae==_0x3d0672(0x339)&&(_0x10ec7c[_0x568aae]=_0x5f0eae['replace'](/url\(#(.*)\)/,_0x3d0672(0x37b)[_0x3d0672(0x273)](_0x255496['idSuffix'],')')));});var _0x222c56=_0x255496[_0x2617fd(0x249)];return!_0x222c56||_0x222c56[_0x2617fd(0x2d4)]===0x0||(_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x242)&&_0x10ec7c[_0x2617fd(0x251)]&&(_0x10ec7c['xlink:href']=_0x10ec7c[_0x2617fd(0x251)]+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)['forEach'](function(_0x5eb728){const _0x47b3ca=_0x2617fd;var _0x563dec=_0x5eb728[0x0],_0x4768f0=_0x5eb728[0x1];typeof _0x4768f0=='string'&&(_0x10ec7c[_0x563dec]=_0x4768f0[_0x47b3ca(0x3ea)](/url\(#(.*)\)/,_0x47b3ca(0x37b)['concat'](_0x255496[_0x47b3ca(0x3b4)],')')));})),_0x10ec7c;}function _0x5315e3(_0x33a770,_0x28455b){const _0x374340=_0x52f010;var _0x16820e,_0x10e841=_0x28455b[_0x374340(0x249)];return!_0x10e841||_0x10e841['length']===0x0?_0x33a770:_0x33a770[_0x374340(0x319)]===_0x374340(0x268)&&(!((_0x16820e=_0x33a770[_0x374340(0x230)])===null||_0x16820e===void 0x0)&&_0x16820e[_0x374340(0x2d4)])?_0x18b41f(_0x18b41f({},_0x33a770),{'children':_0x33a770[_0x374340(0x230)][_0x374340(0x2c4)](function(_0x5117b1){const _0x19705d=_0x374340;return typeof _0x5117b1['attrs']['id']==_0x19705d(0x339)&&_0x10e841&&_0x10e841[_0x19705d(0x261)](_0x5117b1[_0x19705d(0x24d)]['id'])?_0x18b41f(_0x18b41f({},_0x5117b1),{'attrs':_0x18b41f(_0x18b41f({},_0x5117b1[_0x19705d(0x24d)]),{'id':_0x5117b1[_0x19705d(0x24d)]['id']+_0x28455b['idSuffix']})}):_0x5117b1;})}):_0x33a770;}function _0x4cff3e(){const _0xb21da9=_0x52f010;return Math[_0xb21da9(0x3a7)]()[_0xb21da9(0x434)](0x24)[_0xb21da9(0x2e0)](0x2,0x8);}_0x24443e['displayName']='UniverIcon';var _0x5cefde={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':'none','viewBox':_0x52f010(0x422),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x52f010(0x35a)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x42d),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52f010(0x367)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'fill':_0x52f010(0x2fb),'d':_0x52f010(0x28e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3c7f05=_0x729dd1[_0x52f010(0x2f7)](function(_0x540fc7,_0x5217f5){const _0x5ba635=_0x52f010;return _0x729dd1[_0x5ba635(0x31f)](_0x24443e,Object[_0x5ba635(0x410)]({},_0x540fc7,{'id':'off-line-icon','ref':_0x5217f5,'icon':_0x5cefde}));});_0x3c7f05[_0x52f010(0x451)]='OffLineIcon';var _0x4e410b={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':_0x52f010(0x30d),'viewBox':_0x52f010(0x46b),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x1ef),'strokeLinecap':_0x52f010(0x347),'strokeLinejoin':_0x52f010(0x347),'strokeWidth':1.2}}]},{'tag':_0x52f010(0x268),'attrs':{},'children':[{'tag':_0x52f010(0x310),'attrs':{'id':_0x52f010(0x2df)},'children':[{'tag':'path','attrs':{'fill':_0x52f010(0x2fb),'d':'M0\x200H16V16H0z','transform':_0x52f010(0x26c)}}]}]}],'defIds':[_0x52f010(0x2df)]},_0x2e4b47=_0x729dd1[_0x52f010(0x2f7)](function(_0x5127fe,_0x3b246f){const _0x201cae=_0x52f010;return _0x729dd1[_0x201cae(0x31f)](_0x24443e,Object['assign']({},_0x5127fe,{'id':_0x201cae(0x386),'ref':_0x3b246f,'icon':_0x4e410b}));});_0x2e4b47[_0x52f010(0x451)]=_0x52f010(0x2c3);function _0x2544ea(_0xbfb6e9){const _0x66152e=_0x52f010;switch(_0xbfb6e9){case _0x1ac61a[_0x66152e(0x30b)]['OFFLINE']:return _0x66152e(0x2f0);case _0x1ac61a['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x1ac61a['CollaborationStatus'][_0x66152e(0x2e3)]:return _0x66152e(0x1ec);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x335)]:return _0x66152e(0x209);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x274)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1e5)]:return _0x66152e(0x3df);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x308)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1d7)]:return'collabStatus.synced';}}function _0x1864d4(_0x4166f6){const _0x4e8366=_0x52f010,{status$:_0x205d64}=_0x4166f6,_0x2a3bc1=_0x1c4740[_0x4e8366(0x28b)](_0x205d64,_0x1ac61a[_0x4e8366(0x30b)][_0x4e8366(0x335)]),_0x1b1a27=_0x1c4740['useDependency'](_0x3d05ee[_0x4e8366(0x2a2)]),_0xf6062c=_0x1c4740[_0x4e8366(0x28c)](_0x1ac61a[_0x4e8366(0x265)]),_0x595443=_0x2a3bc1!==_0x1ac61a['CollaborationStatus'][_0x4e8366(0x206)],_0x21314c=_0x1b1a27['t'](_0x2544ea(_0x2a3bc1)),_0xda432b=_0x595443?_0x447c69[_0x4e8366(0x22a)](_0x2e4b47,{}):_0x447c69[_0x4e8366(0x22a)](_0x3c7f05,{}),_0x5ee5b6=_0x729dd1[_0x4e8366(0x269)](()=>{_0x595443||_0xf6062c['reconnect']();},[_0x595443,_0xf6062c]);function _0x2e7e44(){const _0x32625e=_0x4e8366;return _0x447c69[_0x32625e(0x288)](_0x32625e(0x390),{'className':_0x32625e(0x3c3),'onClick':_0x5ee5b6,'children':[_0x447c69['jsx'](_0x32625e(0x390),{'className':_0xaeffda['clsx'](_0x32625e(0x2eb),{'univer-text-green-500':_0x595443,'univer-text-red-500':!_0x595443}),'children':_0xda432b}),_0x447c69[_0x32625e(0x22a)](_0x32625e(0x390),{'className':_0x32625e(0x247),'children':_0x21314c})]});}return _0x595443?_0x2e7e44():_0x447c69['jsx'](_0xaeffda[_0x4e8366(0x2d2)],{'title':_0x1b1a27['t'](_0x4e8366(0x416)),'children':_0x2e7e44()});}var _0xe6669b=Object[_0x52f010(0x3d4)],_0x5a169c=(_0x81bf31,_0x221eaa,_0x1c89d0,_0x142ba5)=>{const _0x334a30=_0x52f010;for(var _0x22ff16=_0x142ba5>0x1?void 0x0:_0x142ba5?_0xe6669b(_0x221eaa,_0x1c89d0):_0x221eaa,_0x1bb55a=_0x81bf31[_0x334a30(0x2d4)]-0x1,_0x5447a6;_0x1bb55a>=0x0;_0x1bb55a--)(_0x5447a6=_0x81bf31[_0x1bb55a])&&(_0x22ff16=_0x5447a6(_0x22ff16)||_0x22ff16);return _0x22ff16;},_0x17c005=(_0x658c53,_0x283e6c)=>(_0x3cefc7,_0x1482bd)=>_0x283e6c(_0x3cefc7,_0x1482bd,_0x658c53);_0x2245a1[_0x52f010(0x42f)]=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x35b5dd,_0xba616d,_0x17931d,_0xa686da){const _0xe79239=_0x52f010;super(),_0x544075(this,_0xe79239(0x2f4),new _0x353c21['BehaviorSubject'](_0x1ac61a[_0xe79239(0x30b)][_0xe79239(0x335)])),(this[_0xe79239(0x40e)]=_0x35b5dd,this[_0xe79239(0x2c9)]=_0xba616d,this[_0xe79239(0x445)]=_0x17931d,this[_0xe79239(0x35d)]=_0xa686da,this[_0xe79239(0x3fe)](),this[_0xe79239(0x44f)]());}[_0x52f010(0x44f)](){const _0x5c42d2=_0x52f010;this['disposeWithMe'](this[_0x5c42d2(0x40e)][_0x5c42d2(0x25e)][_0x5c42d2(0x38c)](_0x353c21[_0x5c42d2(0x2af)](()=>{const _0x28d292=_0x5c42d2,_0x28c4e7=this['_univerInstanceService'][_0x28d292(0x218)]();return _0x28c4e7?this['_collaborationController'][_0x28d292(0x3b9)](_0x28c4e7[_0x28d292(0x272)]()):_0x353c21['of'](null);}),_0x353c21[_0x5c42d2(0x2af)](_0x537322=>_0x537322?_0x537322[_0x5c42d2(0x2d9)]:_0x353c21['of'](_0x1ac61a['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x58215f=>{const _0xce6e4e=_0x5c42d2;this[_0xce6e4e(0x2f4)][_0xce6e4e(0x1fd)](_0x58215f);}));}[_0x52f010(0x3fe)](){const _0x327aaa=_0x52f010;this[_0x327aaa(0x2ba)](this[_0x327aaa(0x35d)][_0x327aaa(0x40f)](_0x1c4740[_0x327aaa(0x34e)]['HEADER_MENU'],()=>_0x1c4740[_0x327aaa(0x2fe)](_0x5e1139({'status$':this['_status$'][_0x327aaa(0x46d)]()}),this['_injector'])));}},_0x2245a1[_0x52f010(0x42f)]=_0x5a169c([_0x17c005(0x0,_0x3d05ee['IUniverInstanceService']),_0x17c005(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x17c005(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x315)])),_0x17c005(0x3,_0x1c4740['IUIPartsService'])],_0x2245a1[_0x52f010(0x42f)]);function _0x5e1139(_0x373e59){const {status$:_0x3c6684}=_0x373e59;return function(){const _0x1c2737=_0x43db;return _0x447c69[_0x1c2737(0x22a)](_0x1864d4,{'status$':_0x3c6684});};}const _0x40ca0b=_0x3d05ee[_0x52f010(0x43d)]('uni.network.url-service');var _0x5316cc=Object[_0x52f010(0x3d4)],_0x4e7f63=(_0x58f83d,_0x404526,_0x5d15f9,_0x437e6f)=>{const _0x5edce6=_0x52f010;for(var _0x101952=_0x437e6f>0x1?void 0x0:_0x437e6f?_0x5316cc(_0x404526,_0x5d15f9):_0x404526,_0x30ed1d=_0x58f83d[_0x5edce6(0x2d4)]-0x1,_0x2a2fbf;_0x30ed1d>=0x0;_0x30ed1d--)(_0x2a2fbf=_0x58f83d[_0x30ed1d])&&(_0x101952=_0x2a2fbf(_0x101952)||_0x101952);return _0x101952;},_0x25cda5=(_0x1ae7fb,_0x2a213e)=>(_0x344259,_0x58b2fb)=>_0x2a213e(_0x344259,_0x58b2fb,_0x1ae7fb);_0x2245a1[_0x52f010(0x364)]=class extends _0x3d05ee['RxDisposable']{constructor(_0x3eda1f,_0x429d9b,_0x1a4291,_0x55f2f5,_0x8a46c){const _0x434a40=_0x52f010;super(),this[_0x434a40(0x3d9)]=_0x3eda1f,this[_0x434a40(0x456)]=_0x429d9b,this['_commandService']=_0x1a4291,this[_0x434a40(0x454)]=_0x55f2f5,_0x8a46c?_0x8a46c==null||_0x8a46c[_0x434a40(0x298)]()[_0x434a40(0x277)](()=>this[_0x434a40(0x36a)]()):(this[_0x434a40(0x456)]['debug']('[CollaborationDataLoaderController]',_0x434a40(0x40d)),this[_0x434a40(0x36a)]());}async['_init'](){const _0x5977f0=_0x52f010,_0x336a67=this[_0x5977f0(0x3d9)][_0x5977f0(0x3e1)](_0x5977f0(0x293)),_0xd1306e=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x39d)),_0x44c931=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x270));if(!_0x336a67||!_0xd1306e){this[_0x5977f0(0x456)][_0x5977f0(0x3e7)](_0x5977f0(0x379),_0x5977f0(0x406));return;}const _0x322504=await this['_dataLoaderService'][_0x5977f0(0x276)](_0x336a67,Number(_0xd1306e),_0x44c931);_0x322504&&_0x322504 instanceof _0x3d05ee['Workbook']&&this[_0x5977f0(0x436)](_0x322504);}async[_0x52f010(0x436)](_0x4cde0d){const _0x41fd9c=_0x52f010;await this['_updateSubUnitFromURLParams'](_0x4cde0d),_0x4cde0d['activeSheet$'][_0x41fd9c(0x38c)](_0x353c21[_0x41fd9c(0x25f)](this['dispose$']))[_0x41fd9c(0x222)](_0x1390b4=>{const _0x23df47=_0x41fd9c;_0x1390b4&&this[_0x23df47(0x2f9)](_0x1390b4);}),this[_0x41fd9c(0x3d9)][_0x41fd9c(0x38f)][_0x41fd9c(0x38c)](_0x353c21['takeUntil'](this[_0x41fd9c(0x43b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4cde0d));}[_0x52f010(0x2f9)](_0x543b4e,_0x2fe301=!0x1){const _0x3cce6f=_0x52f010,_0x59f1fc=this[_0x3cce6f(0x3d9)][_0x3cce6f(0x3e1)]('subunit');_0x543b4e[_0x3cce6f(0x399)]()!==_0x59f1fc&&this[_0x3cce6f(0x3d9)][_0x3cce6f(0x40a)](_0x3cce6f(0x270),_0x543b4e[_0x3cce6f(0x399)](),_0x2fe301);}async[_0x52f010(0x43e)](_0x2b3d00){const _0x5dbee9=_0x52f010;var _0x4fe502;const _0x97ff66=this[_0x5dbee9(0x3d9)][_0x5dbee9(0x3e1)]('subunit');if(!_0x97ff66||!_0x2b3d00[_0x5dbee9(0x3b6)](_0x97ff66)){const _0x51ea04=_0x2b3d00[_0x5dbee9(0x204)]()[0x0],_0xb12f23=_0x2b3d00[_0x5dbee9(0x3b6)](_0x51ea04);if(!_0xb12f23)return;this[_0x5dbee9(0x2f9)](_0xb12f23,!0x0),await this['_commandService'][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00['getUnitId'](),'subUnitId':_0x51ea04});return;}((_0x4fe502=_0x2b3d00['getActiveSheet']())==null?void 0x0:_0x4fe502[_0x5dbee9(0x399)]())!==_0x97ff66&&await this[_0x5dbee9(0x448)][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00[_0x5dbee9(0x272)](),'subUnitId':_0x97ff66});}},_0x2245a1[_0x52f010(0x364)]=_0x4e7f63([_0x25cda5(0x0,_0x40ca0b),_0x25cda5(0x1,_0x3d05ee[_0x52f010(0x3ae)]),_0x25cda5(0x2,_0x3d05ee[_0x52f010(0x375)]),_0x25cda5(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x27d)])),_0x25cda5(0x4,_0x3d05ee[_0x52f010(0x452)](_0x42cb63[_0x52f010(0x3a0)]))],_0x2245a1[_0x52f010(0x364)]);var _0x3689ae=Object[_0x52f010(0x3d4)],_0x2c9bfd=(_0x97b461,_0x2df871,_0x4f7277,_0x1899ff)=>{for(var _0x3d7073=_0x1899ff>0x1?void 0x0:_0x1899ff?_0x3689ae(_0x2df871,_0x4f7277):_0x2df871,_0x15afeb=_0x97b461['length']-0x1,_0x313da3;_0x15afeb>=0x0;_0x15afeb--)(_0x313da3=_0x97b461[_0x15afeb])&&(_0x3d7073=_0x313da3(_0x3d7073)||_0x3d7073);return _0x3d7073;},_0x40b5cf=(_0x1a0b7b,_0x430e80)=>(_0x418d60,_0x55bccf)=>_0x430e80(_0x418d60,_0x55bccf,_0x1a0b7b);let _0x2d6ba0=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x337705,_0x54034c){const _0x44308e=_0x52f010;super(),this[_0x44308e(0x1e4)]=_0x337705,this[_0x44308e(0x258)]=_0x54034c,this['_init']();}[_0x52f010(0x36a)](){const _0x4041b5=_0x52f010,_0x5bd3db=this;this[_0x4041b5(0x2ba)](this[_0x4041b5(0x1e4)][_0x4041b5(0x1f9)]({'onBeforePasteImage':async _0x1f6202=>{const _0x135e60=_0x4041b5,_0x43ec66=await _0x5bd3db[_0x135e60(0x258)]['saveImage'](_0x1f6202);return _0x43ec66?{'source':_0x43ec66[_0x135e60(0x384)],'imageSourceType':_0x43ec66[_0x135e60(0x259)]}:null;}}));}};_0x2d6ba0=_0x2c9bfd([_0x40b5cf(0x0,_0x50ffa0[_0x52f010(0x24f)]),_0x40b5cf(0x1,_0x372151[_0x52f010(0x22c)])],_0x2d6ba0);const _0x5e8ada=[_0x52f010(0x31b),_0x52f010(0x3ab),_0x52f010(0x271),'red.300','blue.400',_0x52f010(0x38a)];class _0x27e238 extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x413236=_0x52f010;super(...arguments),_0x544075(this,_0x413236(0x3a3),new Map()),_0x544075(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x173b69){const _0x35f2d6=_0x52f010;if(this[_0x35f2d6(0x3a3)][_0x35f2d6(0x350)](_0x173b69))return this[_0x35f2d6(0x3a3)][_0x35f2d6(0x25b)](_0x173b69);const _0x5b4fc9=_0x5e8ada[this[_0x35f2d6(0x460)]];return this[_0x35f2d6(0x460)]=(this[_0x35f2d6(0x460)]+0x1)%_0x5e8ada[_0x35f2d6(0x2d4)],this[_0x35f2d6(0x3a3)][_0x35f2d6(0x3f1)](_0x173b69,_0x5b4fc9),_0x5b4fc9;}}function _0x328dc8(_0x2de6ec){const _0x5c306e=_0x52f010;let _0xfabcc1='';for(const _0x1d6b65 of _0x2de6ec){const {startOffset:_0x4cf36a,endOffset:_0x2af8b3,isActive:_0x1c589b,rangeType:_0x4b3644,segmentId:_0x3b1dd1,segmentPage:_0x4dd824}=_0x1d6b65;_0xfabcc1[_0x5c306e(0x2d4)]&&(_0xfabcc1+=','),_0xfabcc1+=_0x4cf36a+':'+_0x2af8b3+':'+(_0x1c589b?'1':'0')+':'+_0x4b3644+':'+_0x3b1dd1+':'+_0x4dd824;}return _0xfabcc1;}function _0x15082b(_0x1f7d58){const _0x3665c6=_0x52f010,_0x467c24=_0x1f7d58[_0x3665c6(0x3bb)](','),_0x5277af=[];for(const _0x1144cb of _0x467c24){const [_0x423693,_0x45ec85,_0x24ee3a,_0x5df098,_0x4aa5b9,_0x3b43f2]=_0x1144cb[_0x3665c6(0x3bb)](':');_0x5277af[_0x3665c6(0x404)]({'startOffset':Number(_0x423693),'endOffset':Number(_0x45ec85),'collapsed':_0x423693===_0x45ec85,'isActive':_0x24ee3a==='1','rangeType':_0x5df098===_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]?_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]:_0x3d05ee[_0x3665c6(0x368)]['RECT'],'segmentId':typeof _0x4aa5b9==_0x3665c6(0x339)?String(_0x4aa5b9):'','segmentPage':Number(_0x3b43f2!=null?_0x3b43f2:-0x1)});}return _0x5277af['some'](_0x5c3f75=>_0x5c3f75['isActive'])||(_0x5277af[0x0]['isActive']=!0x0),_0x5277af;}class _0x4e98a8 extends _0x3d05ee['RxDisposable']{constructor(){const _0x3368da=_0x52f010;super(...arguments),_0x544075(this,'_collabCursorState$',new _0x353c21[(_0x3368da(0x411))](null)),_0x544075(this,_0x3368da(0x327),this[_0x3368da(0x20d)][_0x3368da(0x46d)]());}[_0x52f010(0x2e1)](_0x1d9826){const _0x591e9e=_0x52f010,{unitID:_0x2f8022,memberID:_0x7889f6,textRanges:_0x406d59}=_0x1d9826,_0x3f6bee=_0x328dc8(_0x406d59);if(_0x3f6bee==='')return;const _0x414d5b={'unitID':_0x2f8022,'memberID':_0x7889f6,'selection':_0x3f6bee};this['_collabCursorState$'][_0x591e9e(0x1fd)](_0x414d5b);}}var _0x30c976=Object[_0x52f010(0x3d4)],_0x285bee=(_0x2adb23,_0xb8cdfe,_0x262f73,_0xc23f4a)=>{const _0x3505e2=_0x52f010;for(var _0x48971b=_0xc23f4a>0x1?void 0x0:_0xc23f4a?_0x30c976(_0xb8cdfe,_0x262f73):_0xb8cdfe,_0x56cbaf=_0x2adb23[_0x3505e2(0x2d4)]-0x1,_0x447ee9;_0x56cbaf>=0x0;_0x56cbaf--)(_0x447ee9=_0x2adb23[_0x56cbaf])&&(_0x48971b=_0x447ee9(_0x48971b)||_0x48971b);return _0x48971b;},_0x2b1627=(_0x40e525,_0x2ec84b)=>(_0x1f09da,_0x53f746)=>_0x2ec84b(_0x1f09da,_0x53f746,_0x40e525);const _0x272ace=0x12c,_0x346fd=0x64;let _0x35be9d=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x3a8caf,_0x27860a,_0x3dbb12,_0x37cb73,_0x4a8800,_0x1e0df8,_0x2446c9,_0x5df840,_0x448fe3){const _0x569b38=_0x52f010;super(),_0x544075(this,'_online',!0x1),_0x544075(this,'_init',!0x1),_0x544075(this,_0x569b38(0x3dd),new _0x353c21[(_0x569b38(0x411))](new Map())),_0x544075(this,'cursorInfo$',this[_0x569b38(0x3dd)]['asObservable']()),_0x544075(this,_0x569b38(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x569b38(0x34a),this[_0x569b38(0x21a)][_0x569b38(0x38c)](_0x353c21[_0x569b38(0x33d)](_0x272ace))),_0x544075(this,_0x569b38(0x40b),_0x3d05ee[_0x569b38(0x46a)](_0x3317df=>{const _0x254c55=_0x569b38,_0x39a4ba={'eventID':_0x4876d5[_0x254c55(0x2d1)][_0x254c55(0x256)],'data':{'unitID':this[_0x254c55(0x412)],'memberID':this[_0x254c55(0x27a)][_0x254c55(0x360)](),'selection':_0x328dc8(_0x3317df)}};this[_0x254c55(0x27a)][_0x254c55(0x1e1)](_0x39a4ba,this[_0x254c55(0x412)]);},_0x346fd)),(this[_0x569b38(0x412)]=_0x3a8caf,this[_0x569b38(0x27a)]=_0x27860a,this[_0x569b38(0x2c9)]=_0x3dbb12,this[_0x569b38(0x238)]=_0x37cb73,this['_memberService']=_0x4a8800,this[_0x569b38(0x2c8)]=_0x1e0df8,this[_0x569b38(0x27f)]=_0x2446c9,this['_univerInstanceService']=_0x5df840,this['_commandService']=_0x448fe3);}get['cursorInfo'](){const _0x124c31=_0x52f010;return this[_0x124c31(0x3dd)]['getValue']();}get['roomMembers'](){const _0x5890d8=_0x52f010;return this[_0x5890d8(0x21a)]['getValue']();}['dispose'](){const _0x3352e8=_0x52f010;super[_0x3352e8(0x244)](),this['_cursorInfo$'][_0x3352e8(0x1fd)](new Map()),this['_cursorInfo$'][_0x3352e8(0x237)](),this[_0x3352e8(0x21a)]['next']([]),this['_roomMembers$'][_0x3352e8(0x237)]();}[_0x52f010(0x39b)](){const _0x13c467=_0x52f010;this[_0x13c467(0x36a)]||(this[_0x13c467(0x36a)]=!0x0,this['_session'][_0x13c467(0x1dc)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this['dispose$']))[_0x13c467(0x222)](_0x534371=>{const _0x4a95e5=_0x13c467;_0x534371===_0x1ac61a[_0x4a95e5(0x20e)]['ONLINE']?this[_0x4a95e5(0x3b2)]():this[_0x4a95e5(0x1f5)]();}),this['_session'][_0x13c467(0x444)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this[_0x13c467(0x43b)]))[_0x13c467(0x222)](_0x294c71=>{const _0xec7056=_0x13c467,_0x4f863f=_0x294c71['eventID'];_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x256)]&&this[_0xec7056(0x391)](_0x294c71),_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x362)]&&this['_onCursorDelete'](_0x294c71);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0xa55485=>{const _0x26c366=_0x13c467,_0x569763=_0xa55485[_0x26c366(0x21c)];_0x569763!=null&&this[_0x26c366(0x26b)]&&_0xa55485['id']===_0x427dab[_0x26c366(0x3c7)]['id']&&_0x569763[_0x26c366(0x32e)]===this[_0x26c366(0x412)]&&_0x569763['isEditing']===!0x1&&_0x569763[_0x26c366(0x313)][_0x26c366(0x2d4)]>0x0&&this['_updateLocalCursor'](_0x569763[_0x26c366(0x313)]);})),this[_0x13c467(0x2c8)][_0x13c467(0x327)][_0x13c467(0x38c)](_0x353c21['takeUntil'](this[_0x13c467(0x43b)]))['subscribe'](_0x169b0a=>{const _0x4a6532=_0x13c467;if((_0x169b0a==null?void 0x0:_0x169b0a['unitID'])!==this[_0x4a6532(0x412)])return;const _0x36c6a9={'eventID':_0x4876d5['CollaborationEvent'][_0x4a6532(0x256)],'data':_0x169b0a};this[_0x4a6532(0x391)](_0x36c6a9);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0x105f4e=>{const _0xc7007=_0x13c467;if(_0x105f4e[_0xc7007(0x21c)]==null)return;const _0xf5004b=_0x105f4e['params'];if(_0x105f4e['id']!==_0x427dab[_0xc7007(0x223)]['id']||_0xf5004b['unitId']!==this['unitID'])return;const _0xa4eeae={'id':_0xc7007(0x23d),'params':_0xf5004b},_0x57f9f1=this[_0xc7007(0x267)];for(const [_0x1faacc,_0x2253ec]of _0x57f9f1){const _0x25877c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xc7007(0x412)],'actions':null,'textRanges':_0x2253ec['ranges']}},_0x5313c4=this[_0xc7007(0x27f)]['transformMutation'](_0xa4eeae,_0x25877c,!0x1);if(_0x4876d5[_0xc7007(0x453)](_0x5313c4))throw _0x5313c4[_0xc7007(0x1e8)];_0x57f9f1[_0xc7007(0x3f1)](_0x1faacc,{..._0x2253ec,'ranges':_0x5313c4[_0xc7007(0x43f)][_0xc7007(0x21c)][_0xc7007(0x301)]});}queueMicrotask(()=>{const _0x564796=_0xc7007;this[_0x564796(0x3dd)][_0x564796(0x1fd)](_0x57f9f1);});})));}[_0x52f010(0x391)](_0x2402bc){const _0x473119=_0x52f010;var _0x4e69b7,_0x2d0453;const {memberID:_0x26f856,selection:_0x286d04}=_0x2402bc[_0x473119(0x3f9)],_0x514126=_0x15082b(_0x286d04),_0x39d969=(_0x2d0453=(_0x4e69b7=this[_0x473119(0x2e7)][_0x473119(0x2b2)](this[_0x473119(0x412)],_0x26f856))==null?void 0x0:_0x4e69b7[_0x473119(0x234)])!=null?_0x2d0453:_0x473119(0x2a6),_0x5da18e={'color':this[_0x473119(0x238)][_0x473119(0x387)](_0x26f856),'name':_0x39d969,'ranges':_0x514126},_0x3dee3f=this[_0x473119(0x267)];_0x3dee3f['set'](_0x26f856,_0x5da18e),this[_0x473119(0x3dd)]['next'](_0x3dee3f);}[_0x52f010(0x3c6)](_0x3405e5){const _0x55c0d5=_0x52f010,{memberID:_0x4142c1}=_0x3405e5[_0x55c0d5(0x3f9)],_0x51903d=this['cursorInfo'];_0x51903d[_0x55c0d5(0x3d1)](_0x4142c1),this[_0x55c0d5(0x3dd)][_0x55c0d5(0x1fd)](_0x51903d);}['_toggleOnline'](){const _0x20879c=_0x52f010;var _0x1d2b92;if(this[_0x20879c(0x26b)]=!0x0,((_0x1d2b92=this[_0x20879c(0x40e)]['getFocusedUnit']())==null?void 0x0:_0x1d2b92[_0x20879c(0x272)]())!==this['unitID'])return;const _0x88e9e7=this[_0x20879c(0x2c9)][_0x20879c(0x25b)](_0x427dab[_0x20879c(0x1d5)])[_0x20879c(0x36b)]();Array[_0x20879c(0x3fb)](_0x88e9e7)&&_0x88e9e7['length']>0x0&&this[_0x20879c(0x40b)](_0x88e9e7);}['_toggleOffline'](){const _0x2f29dc=_0x52f010;this[_0x2f29dc(0x26b)]=!0x1;}};_0x35be9d=_0x285bee([_0x2b1627(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x2b1627(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x2b1627(0x4,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x24b)])),_0x2b1627(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x2b1627(0x6,_0x4876d5[_0x52f010(0x1dd)]),_0x2b1627(0x7,_0x3d05ee[_0x52f010(0x365)]),_0x2b1627(0x8,_0x3d05ee[_0x52f010(0x375)])],_0x35be9d);var _0x4b6a17=Object['getOwnPropertyDescriptor'],_0x7a6911=(_0x1e4ef9,_0x552467,_0x4cfecf,_0x3ea00f)=>{const _0x43ccf0=_0x52f010;for(var _0x4b2431=_0x3ea00f>0x1?void 0x0:_0x3ea00f?_0x4b6a17(_0x552467,_0x4cfecf):_0x552467,_0x5c95b4=_0x1e4ef9[_0x43ccf0(0x2d4)]-0x1,_0x3bf6b8;_0x5c95b4>=0x0;_0x5c95b4--)(_0x3bf6b8=_0x1e4ef9[_0x5c95b4])&&(_0x4b2431=_0x3bf6b8(_0x4b2431)||_0x4b2431);return _0x4b2431;},_0x407587=(_0x477b97,_0x568aea)=>(_0x1673a6,_0x30e05b)=>_0x568aea(_0x1673a6,_0x30e05b,_0x477b97);const _0x478ef6=0x12c,_0x22bf90=0x64,_0x286b72=()=>{let _0x57651e=[],_0x390ad1=!0x1;return _0x3d56e1=>{const _0x19f1cc=_0x43db;_0x57651e[_0x19f1cc(0x404)](_0x3d56e1),_0x390ad1||(_0x390ad1=!0x0,setTimeout(()=>{const _0x1a2d55=_0x19f1cc;_0x57651e[_0x1a2d55(0x2ce)](_0x4480c4=>_0x4480c4()),_0x57651e=[],_0x390ad1=!0x1;}));};};let _0x283ab6=class extends _0x3d05ee['RxDisposable']{constructor(_0x101195,_0x33d840,_0x12aad3,_0x18f985,_0x3f698b,_0x2b2abd,_0x1934e7,_0x10a5b6){const _0x5dd1da=_0x52f010;super(),_0x544075(this,_0x5dd1da(0x26b),!0x1),_0x544075(this,_0x5dd1da(0x36a),!0x1),_0x544075(this,_0x5dd1da(0x3dd),new _0x353c21['BehaviorSubject'](new Map())),_0x544075(this,_0x5dd1da(0x3c5),this['_cursorInfo$'][_0x5dd1da(0x46d)]()),_0x544075(this,_0x5dd1da(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x5dd1da(0x34a),this[_0x5dd1da(0x21a)][_0x5dd1da(0x38c)](_0x353c21[_0x5dd1da(0x33d)](_0x478ef6))),_0x544075(this,_0x5dd1da(0x40b),_0x3d05ee[_0x5dd1da(0x46a)]((_0x5d30c6,_0x52990a)=>{const _0x2dfe87=_0x5dd1da,_0x58b5ac={'eventID':_0x4876d5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2dfe87(0x412)],'memberID':this[_0x2dfe87(0x27a)][_0x2dfe87(0x360)](),'selection':_0x447c02['serializeRangeWithSheet'](_0x5d30c6,_0x52990a[_0x2dfe87(0x3fd)])}};this[_0x2dfe87(0x27a)]['send'](_0x58b5ac,this['unitID']);},_0x22bf90)),(this[_0x5dd1da(0x412)]=_0x101195,this['_session']=_0x33d840,this[_0x5dd1da(0x2c9)]=_0x12aad3,this[_0x5dd1da(0x238)]=_0x18f985,this[_0x5dd1da(0x2e7)]=_0x3f698b,this[_0x5dd1da(0x40e)]=_0x2b2abd,this[_0x5dd1da(0x448)]=_0x1934e7,this[_0x5dd1da(0x427)]=_0x10a5b6);}get[_0x52f010(0x267)](){const _0x5734f3=_0x52f010;return this[_0x5734f3(0x3dd)][_0x5734f3(0x3a4)]();}get[_0x52f010(0x338)](){const _0x4e32a1=_0x52f010;return this[_0x4e32a1(0x21a)][_0x4e32a1(0x3a4)]();}['dispose'](){const _0x6a77f2=_0x52f010;super['dispose'](),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x1fd)](new Map()),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x237)](),this[_0x6a77f2(0x21a)][_0x6a77f2(0x1fd)]([]),this[_0x6a77f2(0x21a)]['complete']();}['init'](){const _0x3cd749=_0x52f010;this[_0x3cd749(0x36a)]||(this[_0x3cd749(0x36a)]=!0x0,this[_0x3cd749(0x27a)][_0x3cd749(0x1dc)]['pipe'](_0x353c21[_0x3cd749(0x25f)](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x1a0e7c=>{const _0x1d5cd8=_0x3cd749;_0x1a0e7c===_0x1ac61a[_0x1d5cd8(0x20e)]['ONLINE']?this[_0x1d5cd8(0x3b2)]():this['_toggleOffline']();}),this[_0x3cd749(0x27a)]['event$']['pipe'](_0x353c21['takeUntil'](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x4d394b=>{const _0x180512=_0x3cd749,_0x278b5c=_0x4d394b[_0x180512(0x397)];_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x256)]&&this['_onCursorUpdate'](_0x4d394b),_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x362)]&&this[_0x180512(0x3c6)](_0x4d394b);}),this[_0x3cd749(0x329)](),this[_0x3cd749(0x2ba)](this[_0x3cd749(0x448)][_0x3cd749(0x2d7)](_0x4c8f23=>{const _0xe37091=_0x3cd749;if(this['_online']&&_0x4c8f23['id']===_0x401d6b['SetSelectionsOperation']['id']&&_0x4c8f23['params'][_0xe37091(0x32e)]===this[_0xe37091(0x412)]){const _0x2eb286=_0x4c8f23[_0xe37091(0x21c)];this[_0xe37091(0x40b)](_0x2eb286[_0xe37091(0x3a9)],_0x2eb286['selections'][0x0]);}})));}[_0x52f010(0x391)](_0xb6367b){const _0x9b0bf5=_0x52f010;var _0x1754e7,_0x2863dd;const {memberID:_0x551eaa,selection:_0x50f6dc}=_0xb6367b[_0x9b0bf5(0x3f9)],{sheetName:_0x4f4eaa,range:_0x534fdc}=_0x447c02['deserializeRangeWithSheet'](_0x50f6dc),_0x1f794b={'name':(_0x2863dd=(_0x1754e7=this[_0x9b0bf5(0x2e7)][_0x9b0bf5(0x2b2)](this[_0x9b0bf5(0x412)],_0x551eaa))==null?void 0x0:_0x1754e7['name'])!=null?_0x2863dd:_0x9b0bf5(0x2a6),'range':this[_0x9b0bf5(0x21b)](_0x4f4eaa,_0x534fdc),'sheetID':_0x4f4eaa,'color':this[_0x9b0bf5(0x238)][_0x9b0bf5(0x387)](_0x551eaa),'selection':_0x50f6dc},_0x519937=this[_0x9b0bf5(0x267)];_0x519937[_0x9b0bf5(0x3f1)](_0x551eaa,_0x1f794b),this[_0x9b0bf5(0x3dd)][_0x9b0bf5(0x1fd)](_0x519937);}[_0x52f010(0x3c6)](_0x1830fd){const _0x57f6cc=_0x52f010,{memberID:_0x2481e5}=_0x1830fd[_0x57f6cc(0x3f9)],_0x19519d=this[_0x57f6cc(0x267)];_0x19519d['delete'](_0x2481e5),this[_0x57f6cc(0x3dd)][_0x57f6cc(0x1fd)](_0x19519d);}[_0x52f010(0x21b)](_0x3d152f,_0x333343){const _0x5e00f1=_0x52f010;var _0x3b45f4,_0x656abc;const _0x510de2=(_0x656abc=(_0x3b45f4=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x5e00f1(0x412)]))==null?void 0x0:_0x3b45f4[_0x5e00f1(0x3b6)](_0x3d152f))==null?void 0x0:_0x656abc[_0x5e00f1(0x1fc)]();return(_0x510de2==null?void 0x0:_0x510de2[_0x5e00f1(0x22d)](_0x321175=>_0x3d05ee[_0x5e00f1(0x292)][_0x5e00f1(0x326)](_0x321175,_0x333343)))||_0x333343;}[_0x52f010(0x329)](){const _0x229353=_0x52f010,_0x53c40e=new _0x3d05ee[(_0x229353(0x3e8))](),_0x32c2ee=_0x286b72(),_0x4552a7=()=>{const _0x66799=_0x229353;_0x53c40e[_0x66799(0x244)]();const _0x98ffd7=(_0x1d6186,_0x4e795b,_0x1bd9c0,_0x5c5ceb)=>{const _0x3ee9ec=_0x66799;let _0x59be15=[];switch(_0x1d6186['id']){case _0x401d6b[_0x3ee9ec(0x2be)]['DeleteRangeMoveLeftCommandId']:{_0x59be15=_0x401d6b['handleDeleteRangeMoveLeft'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fc)]:{_0x59be15=_0x401d6b['handleDeleteRangeMoveUp'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertColCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x241)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertRangeMoveDownCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x30a)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x3ce)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x408)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fa)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x2bf)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x32c)]:{_0x59be15=_0x401d6b['handleMoveRange'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b['EffectRefRangId'][_0x3ee9ec(0x225)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x228)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['RemoveRowCommandId']:{_0x59be15=_0x401d6b['handleIRemoveRow'](_0x1d6186,_0x5c5ceb);break;}}const _0x4c0887=_0x401d6b[_0x3ee9ec(0x2a3)](_0x59be15,_0x5c5ceb),_0x20f8ce=this[_0x3ee9ec(0x267)][_0x3ee9ec(0x25b)](_0x4e795b);if(_0x20f8ce&&_0x4c0887){const _0x35e288={..._0x20f8ce,'range':_0x4c0887};this[_0x3ee9ec(0x267)]['set'](_0x4e795b,_0x35e288),_0x32c2ee(()=>{const _0x42831d=_0x3ee9ec,_0x1e984b=this[_0x42831d(0x427)][_0x42831d(0x2e2)](_0x4c0887,_0x24ccf9=>(_0x1e984b[_0x42831d(0x244)](),_0x98ffd7(_0x24ccf9,_0x4e795b,_0x1bd9c0,_0x4c0887)));_0x53c40e[_0x42831d(0x46c)](_0x1e984b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x66799(0x2ce)]((_0xfc775,_0xdbfb1d)=>{const _0x53be25=_0x66799,{range:_0x32194a,sheetID:_0x11958c}=_0xfc775,_0xf9e3e3=this[_0x53be25(0x427)][_0x53be25(0x2e2)](_0x32194a,_0x5cf9ce=>(_0xf9e3e3[_0x53be25(0x244)](),_0x98ffd7(_0x5cf9ce,_0xdbfb1d,_0x11958c,_0x32194a)));_0x53c40e[_0x53be25(0x46c)](_0xf9e3e3);});};this[_0x229353(0x2ba)](_0x3d05ee[_0x229353(0x20a)](this[_0x229353(0x3dd)][_0x229353(0x222)](()=>{_0x4552a7();})));}['_toggleOnline'](){const _0x38cac3=_0x52f010;var _0x3c76af,_0x4ad02f;if(this['_online']=!0x0,((_0x3c76af=this[_0x38cac3(0x40e)][_0x38cac3(0x218)]())==null?void 0x0:_0x3c76af['getUnitId']())!==this[_0x38cac3(0x412)])return;const _0x58647b=(_0x4ad02f=this[_0x38cac3(0x2c9)][_0x38cac3(0x25b)](_0x401d6b[_0x38cac3(0x323)])[_0x38cac3(0x1db)]())==null?void 0x0:_0x4ad02f[0x0],_0x48fd59=this[_0x38cac3(0x40e)]['getCurrentUnitForType'](_0x3d05ee['UniverInstanceType'][_0x38cac3(0x44b)])[_0x38cac3(0x257)]();_0x58647b&&_0x48fd59&&this['_updateLocalCursor'](_0x48fd59[_0x38cac3(0x399)](),_0x58647b);}[_0x52f010(0x1f5)](){const _0x54b15c=_0x52f010;this[_0x54b15c(0x26b)]=!0x1;}};_0x283ab6=_0x7a6911([_0x407587(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x407587(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x407587(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x24b)])),_0x407587(0x5,_0x3d05ee[_0x52f010(0x365)]),_0x407587(0x6,_0x3d05ee[_0x52f010(0x375)]),_0x407587(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x401d6b[_0x52f010(0x345)]))],_0x283ab6);var _0x165df=Object['getOwnPropertyDescriptor'],_0x306517=(_0x2b992a,_0xff6d7f,_0x2939b4,_0x5d7a16)=>{const _0x4a2b36=_0x52f010;for(var _0x57f913=_0x5d7a16>0x1?void 0x0:_0x5d7a16?_0x165df(_0xff6d7f,_0x2939b4):_0xff6d7f,_0x5e79eb=_0x2b992a[_0x4a2b36(0x2d4)]-0x1,_0x27984a;_0x5e79eb>=0x0;_0x5e79eb--)(_0x27984a=_0x2b992a[_0x5e79eb])&&(_0x57f913=_0x27984a(_0x57f913)||_0x57f913);return _0x57f913;},_0x3a59a5=(_0x480bc2,_0xee8d99)=>(_0x3ac10e,_0x5b1c55)=>_0xee8d99(_0x3ac10e,_0x5b1c55,_0x480bc2);let _0x5d58f9=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x523bb2,_0x1981c2,_0x58e0ec){const _0x17a264=_0x52f010;super(),_0x544075(this,_0x17a264(0x1f8),new Map()),_0x544075(this,_0x17a264(0x1ed),new _0x353c21[(_0x17a264(0x221))]()),(this[_0x17a264(0x40e)]=_0x523bb2,this['_injector']=_0x1981c2,this[_0x17a264(0x465)]=_0x58e0ec,this[_0x17a264(0x36a)]());}[_0x52f010(0x244)](){const _0x5e30ad=_0x52f010;super[_0x5e30ad(0x244)](),this[_0x5e30ad(0x1ed)][_0x5e30ad(0x237)](),this['_entities'][_0x5e30ad(0x2ce)](_0x5113b5=>_0x5113b5[_0x5e30ad(0x244)]());}[_0x52f010(0x2d5)](_0x229fa9){const _0x4e0854=_0x52f010;return this[_0x4e0854(0x1f8)][_0x4e0854(0x350)](_0x229fa9)?this['_entities'][_0x4e0854(0x25b)](_0x229fa9)['cursorInfo$']:this['_entityInit$'][_0x4e0854(0x38c)](_0x353c21[_0x4e0854(0x1d9)](_0x304705=>_0x304705['unitID']===_0x229fa9),_0x353c21[_0x4e0854(0x2af)](_0x34923c=>_0x34923c[_0x4e0854(0x3c5)]));}['_init'](){const _0x5b226c=_0x52f010;this['_univerInstanceService'][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)])['pipe'](_0x353c21['takeUntil'](this['dispose$']))[_0x5b226c(0x222)](async _0x5b02d7=>{const _0x239c5d=_0x5b226c,_0x355c75=_0x5b02d7[_0x239c5d(0x272)](),_0x56b466=await this[_0x239c5d(0x3de)](_0x355c75);this['_entityInit$']['next'](_0x56b466),this['_entities'][_0x239c5d(0x3f1)](_0x355c75,_0x56b466);}),this[_0x5b226c(0x40e)][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)])['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x38c)](_0x353c21[_0x5b226c(0x1d9)](_0x38d66b=>!_0x38d66b['getUnitId']()[_0x5b226c(0x2cd)]('__')))[_0x5b226c(0x222)](async _0x12c10a=>{const _0x363059=_0x5b226c,_0x2a1d5e=_0x12c10a[_0x363059(0x272)](),_0x19d79c=await this[_0x363059(0x372)](_0x2a1d5e);this[_0x363059(0x1ed)][_0x363059(0x1fd)](_0x19d79c),this[_0x363059(0x1f8)][_0x363059(0x3f1)](_0x2a1d5e,_0x19d79c);}),_0x353c21[_0x5b226c(0x36c)](this[_0x5b226c(0x40e)][_0x5b226c(0x1e0)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)]),this[_0x5b226c(0x40e)]['getTypeOfUnitDisposed$'](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)]))['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x222)](_0x5aa6a8=>{const _0x4596ab=_0x5b226c,_0x41660b=_0x5aa6a8[_0x4596ab(0x272)](),_0x4a30f0=this[_0x4596ab(0x1f8)][_0x4596ab(0x25b)](_0x41660b);_0x4a30f0&&(_0x4a30f0[_0x4596ab(0x244)](),this[_0x4596ab(0x1f8)][_0x4596ab(0x3d1)](_0x41660b));});}async[_0x52f010(0x3de)](_0x3f4398){const _0x54fb71=_0x52f010,_0x1c1f21=await this[_0x54fb71(0x465)][_0x54fb71(0x2bd)](_0x3f4398),_0x4c132c=this[_0x54fb71(0x2c9)]['createInstance'](_0x283ab6,_0x3f4398,_0x1c1f21);return _0x4c132c[_0x54fb71(0x39b)](),_0x4c132c;}async[_0x52f010(0x372)](_0x1e7c35){const _0x1b27f=_0x52f010,_0x2c55e3=await this['_collabSessionService'][_0x1b27f(0x2bd)](_0x1e7c35),_0x216a52=this[_0x1b27f(0x2c9)][_0x1b27f(0x437)](_0x35be9d,_0x1e7c35,_0x2c55e3);return _0x216a52[_0x1b27f(0x39b)](),_0x216a52;}};_0x5d58f9=_0x306517([_0x3a59a5(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x3a59a5(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x3a59a5(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x265)]))],_0x5d58f9);const _0x4c4c6b=0x14,_0x4e87c8=0xc8,_0x2ddf94=0x4,_0x448ef8=0x5;function _0x40e5c5(_0x11c48e,_0x1bce0e){const _0x3b968b=_0x52f010;let {radius:_0x35820b,width:_0x51a2a1,height:_0x3bbfdc}=_0x1bce0e;_0x35820b=_0x35820b!=null?_0x35820b:0x0,_0x51a2a1=_0x51a2a1!=null?_0x51a2a1:0x1e,_0x3bbfdc=_0x3bbfdc!=null?_0x3bbfdc:0x1e;let _0x43dbda=0x0,_0x3680a6=0x0,_0x5f11bf=0x0;_0x43dbda=_0x3680a6=_0x5f11bf=Math[_0x3b968b(0x3dc)](_0x35820b,_0x51a2a1/0x2,_0x3bbfdc/0x2),_0x11c48e[_0x3b968b(0x447)](),_0x11c48e[_0x3b968b(0x1e9)](_0x43dbda,0x0),_0x11c48e[_0x3b968b(0x330)](_0x51a2a1-_0x3680a6,0x0),_0x11c48e[_0x3b968b(0x254)](_0x51a2a1-_0x3680a6,_0x3680a6,_0x3680a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11c48e['lineTo'](_0x51a2a1,_0x3bbfdc-_0x5f11bf),_0x11c48e['arc'](_0x51a2a1-_0x5f11bf,_0x3bbfdc-_0x5f11bf,_0x5f11bf,0x0,Math['PI']/0x2,!0x1),_0x11c48e[_0x3b968b(0x330)](0x0,_0x3bbfdc),_0x11c48e[_0x3b968b(0x330)](0x0,_0x43dbda),_0x11c48e[_0x3b968b(0x254)](_0x43dbda,_0x43dbda,_0x43dbda,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11c48e[_0x3b968b(0x325)](),_0x1bce0e[_0x3b968b(0x286)]&&(_0x11c48e[_0x3b968b(0x23b)](),_0x11c48e[_0x3b968b(0x31e)]=_0x1bce0e[_0x3b968b(0x286)],_0x1bce0e[_0x3b968b(0x2b8)]===_0x3b968b(0x464)?_0x11c48e[_0x3b968b(0x286)](_0x3b968b(0x464)):_0x11c48e[_0x3b968b(0x286)](),_0x11c48e['restore']());}class _0x1d7753 extends _0x1eb76f['Shape']{constructor(_0x5aa2cd,_0x3e65f4){const _0x39db7c=_0x52f010;super(_0x5aa2cd,_0x3e65f4),_0x544075(this,_0x39db7c(0x253)),_0x544075(this,_0x39db7c(0x3f7)),(this[_0x39db7c(0x253)]=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x253)],this['text']=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x3f7)]);}static[_0x52f010(0x29c)](_0xda5c66,_0x3b77b5){const _0x1f29a1=_0x52f010,{text:_0x5d679a,color:_0x46469b}=_0x3b77b5;_0xda5c66[_0x1f29a1(0x23b)](),_0xda5c66[_0x1f29a1(0x245)]=_0x1f29a1(0x2a8);const _0x2b031a=_0xda5c66[_0x1f29a1(0x3d7)](_0x5d679a)[_0x1f29a1(0x354)],_0x34aaba=Math[_0x1f29a1(0x3dc)](_0x2b031a+0x2*_0x2ddf94,_0x4e87c8);_0x40e5c5(_0xda5c66,{'height':_0x4c4c6b,'radius':0x4,'width':_0x34aaba,'fill':_0x46469b}),_0xda5c66['fillStyle']=_0x1f29a1(0x449);const _0x5453d0=_0x2ddf94,_0x5a59b1=_0x4c4c6b-_0x448ef8,_0x2f66f2=_0x4e87c8-0x2*_0x2ddf94;if(_0x2b031a>_0x2f66f2){let _0x17230c='',_0x3fbb3=0x0;for(const _0x43d4e0 of _0x5d679a){const _0xc7dbca=_0xda5c66[_0x1f29a1(0x3d7)](_0x43d4e0)['width'];if(_0x3fbb3+_0xc7dbca<=_0x2f66f2-_0xda5c66[_0x1f29a1(0x3d7)](_0x1f29a1(0x25c))[_0x1f29a1(0x354)])_0x17230c+=_0x43d4e0,_0x3fbb3+=_0xc7dbca;else{_0x17230c+=_0x1f29a1(0x25c);break;}}_0xda5c66[_0x1f29a1(0x3b5)](_0x17230c,_0x5453d0,_0x5a59b1);}else _0xda5c66[_0x1f29a1(0x3b5)](_0x5d679a,_0x5453d0,_0x5a59b1);_0xda5c66[_0x1f29a1(0x1fa)]();}[_0x52f010(0x341)](_0x4394bd){_0x1d7753['drawWith'](_0x4394bd,this);}}const _0x47706c=_0x52f010(0x243),_0x4ea2f3=_0x52f010(0x2d8),_0x5d216f=_0x52f010(0x37f),_0x276c29=0x6,_0x4a9d48=1.5,_0x4a2eb5=0x4,_0x7c790c=1.5,_0x1a8a5a=_0x52f010(0x2b4);class _0x2a616a{constructor(_0x1bd953,_0x4a6c6d,_0x3a4c56,_0x15541f){const _0x55658f=_0x52f010;_0x544075(this,_0x55658f(0x23e),[]),_0x544075(this,'_anchor',null),_0x544075(this,_0x55658f(0x44e),null),_0x544075(this,'_anchorDot',null),_0x544075(this,_0x55658f(0x42b),null),_0x544075(this,_0x55658f(0x44d),null),(this[_0x55658f(0x2a5)]=_0x1bd953,this[_0x55658f(0x300)]=_0x4a6c6d,this[_0x55658f(0x440)]=_0x3a4c56,this['_document']=_0x15541f,this['_render']());}set[_0x52f010(0x41b)](_0x29387a){const _0x143a9b=_0x52f010;_0x29387a?(this['_anchorDot']&&this[_0x143a9b(0x285)][_0x143a9b(0x396)](),this[_0x143a9b(0x44e)]&&this['_textBubble']['show']()):(this[_0x143a9b(0x285)]&&this[_0x143a9b(0x285)][_0x143a9b(0x32f)](),this[_0x143a9b(0x44e)]&&this[_0x143a9b(0x44e)]['hide']());}[_0x52f010(0x244)](){const _0x4eb5ee=_0x52f010;for(const _0x278011 of this[_0x4eb5ee(0x23e)])_0x278011[_0x4eb5ee(0x244)]();this['_textBubble']&&this[_0x4eb5ee(0x44e)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x285)]&&this[_0x4eb5ee(0x285)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x36e)]&&this['_anchor'][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x44d)]&&this[_0x4eb5ee(0x44d)]();}['_render'](){const _0x5c68a0=_0x52f010;var _0x1d73e6;const {_docSkeleton:_0x15512b,_document:_0x1ccad6}=this,{color:_0xe1dc6b,name:_0x17f3c2,ranges:_0x170657}=this[_0x5c68a0(0x2a5)],_0x532a3b=_0x1ccad6[_0x5c68a0(0x3ff)](),{docsLeft:_0x2da8f3,docsTop:_0x41349b}=_0x532a3b,_0x3ad2bd=new _0x50ffa0[(_0x5c68a0(0x1f6))](_0x532a3b,_0x15512b);for(const {startOffset:_0x389939,endOffset:_0x4c68ee,rangeType:_0x28a6b4,segmentId:_0x228c49,segmentPage:_0x2c12cc,collapsed:_0x8cbae4,isActive:_0x320877}of _0x170657){const _0x3e84fe=_0x15512b[_0x5c68a0(0x3da)](_0x389939,!0x0,_0x228c49,_0x2c12cc);let _0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee,!0x0,_0x228c49,_0x2c12cc);if(_0x919338==null&&(_0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee-0x1,!0x1,_0x228c49,_0x2c12cc)),_0x320877){const {contentBoxPointGroup:_0x2d3ae7}=_0x3ad2bd[_0x5c68a0(0x227)](_0x919338,_0x919338);if(_0x2d3ae7[_0x5c68a0(0x2d4)]===0x0)continue;this[_0x5c68a0(0x328)](_0xe1dc6b,_0x2d3ae7,_0x2da8f3,_0x41349b,_0x17f3c2),this[_0x5c68a0(0x44d)]=this[_0x5c68a0(0x26e)]();}if(_0x3e84fe&&_0x919338){if(_0x28a6b4===_0x3d05ee['DOC_RANGE_TYPE']['RECT']){const _0xaa15bf=new _0x50ffa0[(_0x5c68a0(0x3e3))](_0x532a3b,_0x15512b),{pointGroup:_0xc86b3c}=(_0x1d73e6=_0xaa15bf[_0x5c68a0(0x227)](_0x3e84fe,_0x919338))!=null?_0x1d73e6:{};if(_0xc86b3c==null||_0xc86b3c['length']===0x0)continue;this['_drawRectRange'](_0xe1dc6b,_0xc86b3c,_0x2da8f3,_0x41349b);}else{if(!_0x8cbae4){const {borderBoxPointGroup:_0x5da154}=_0x3ad2bd[_0x5c68a0(0x227)](_0x3e84fe,_0x919338);if(_0x5da154['length']===0x0)continue;this[_0x5c68a0(0x1f0)](_0xe1dc6b,_0x5da154,_0x2da8f3,_0x41349b);}}}}}[_0x52f010(0x328)](_0x2d9d80,_0x2b6fac,_0x2de296,_0x4ed8d2,_0x5ce66d){const _0x1f58ec=_0x52f010,_0x2376d1=this[_0x1f58ec(0x281)](_0x2b6fac),{left:_0x36628c,top:_0x26b0d1,height:_0x2fc7db}=_0x2376d1,_0x77803a=this['_getScale'](),_0x269fae=_0x7c790c/_0x77803a,_0x386431=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2,'height':_0x2fc7db,'width':_0x4a9d48,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':_0x269fae,'stroke':_0x1a8a5a,'evented':!0x0});this['_anchor']=_0x386431,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x386431,_0x50ffa0[_0x1f58ec(0x21e)]);const _0x483bc0=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee['generateRandomId'](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4a2eb5/0x2,'height':_0x4a2eb5,'width':_0x4a2eb5,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':0x0,'stroke':_0x2d9d80||_0x1eb76f['getColor'](_0x3d05ee[_0x1f58ec(0x3fc)][_0x1f58ec(0x371)],0x0),'evented':!0x1});this[_0x1f58ec(0x285)]=_0x483bc0,this['_scene'][_0x1f58ec(0x381)](_0x483bc0,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);const _0x70c895=new _0x1d7753(_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4c4c6b,'text':_0x5ce66d,'color':_0x2d9d80});this[_0x1f58ec(0x44e)]=_0x70c895,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x70c895,_0x50ffa0[_0x1f58ec(0x21e)]),this[_0x1f58ec(0x41b)]=!0x1;}[_0x52f010(0x26e)](){const _0x6563bd=_0x52f010,_0x22b045=this[_0x6563bd(0x36e)]['onPointerEnter$'][_0x6563bd(0x3cc)](()=>{const _0x131223=_0x6563bd;this[_0x131223(0x41b)]=!0x0;}),_0x33e879=this[_0x6563bd(0x36e)][_0x6563bd(0x235)][_0x6563bd(0x3cc)](()=>{const _0xf1b9da=_0x6563bd;this[_0xf1b9da(0x42b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x46a341=_0xf1b9da;this[_0x46a341(0x41b)]=!0x1;},0x7d0);});return()=>{const _0x3b3fc9=_0x6563bd;_0x22b045[_0x3b3fc9(0x401)](),_0x33e879[_0x3b3fc9(0x401)]();};}[_0x52f010(0x1f0)](_0x2b0267,_0x121d76,_0x276d4b,_0x58adc4){const _0x3ddec3=_0x52f010,_0x5aa732=new _0x3d05ee[(_0x3ddec3(0x34d))](_0x2b0267)[_0x3ddec3(0x2cb)](0.2)[_0x3ddec3(0x3f2)](),_0x29d377=new _0x1eb76f['RegularPolygon'](_0x4ea2f3+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x121d76,'fill':_0x5aa732||_0x1eb76f['getColor'](_0x3d05ee[_0x3ddec3(0x3fc)][_0x3ddec3(0x371)],0.2),'left':_0x276d4b,'top':_0x58adc4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ddec3(0x23e)][_0x3ddec3(0x404)](_0x29d377),this['_scene']['addObject'](_0x29d377,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);}[_0x52f010(0x46f)](_0x1e3045,_0x192444,_0x1c0e3c,_0x1351da){const _0x3154c0=_0x52f010,_0x2a7dfd=new _0x3d05ee[(_0x3154c0(0x34d))](_0x1e3045)[_0x3154c0(0x2cb)](0.2)[_0x3154c0(0x3f2)](),_0x36d728=new _0x1eb76f[(_0x3154c0(0x2f6))](_0x5d216f+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x192444,'fill':_0x2a7dfd||_0x1eb76f[_0x3154c0(0x33c)](_0x3d05ee[_0x3154c0(0x3fc)][_0x3154c0(0x371)],0.2),'left':_0x1c0e3c,'top':_0x1351da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3154c0(0x23e)][_0x3154c0(0x404)](_0x36d728),this[_0x3154c0(0x300)][_0x3154c0(0x381)](_0x36d728,_0x50ffa0[_0x3154c0(0x21e)]);}[_0x52f010(0x281)](_0x117184){const _0x277e8c=_0x117184[0x0],_0x7f08c8=_0x277e8c[0x0],_0xa0d173=_0x277e8c[0x2],{x:_0x2ce671,y:_0x274147}=_0x7f08c8,{x:_0x5d7d0b,y:_0x3e5822}=_0xa0d173;return{'left':_0x2ce671,'top':_0x274147,'width':_0x5d7d0b-_0x2ce671,'height':_0x3e5822-_0x274147};}[_0x52f010(0x425)](){const _0x212268=_0x52f010,{scaleX:_0x34bd53,scaleY:_0xe4e7cf}=this[_0x212268(0x300)][_0x212268(0x421)]();return Math[_0x212268(0x1fb)](_0x34bd53,_0xe4e7cf);}}var _0x2005e9=Object[_0x52f010(0x3d4)],_0x1e06b5=(_0x21e589,_0x700958,_0x53fe87,_0x32c10f)=>{const _0x4939c2=_0x52f010;for(var _0x57591a=_0x32c10f>0x1?void 0x0:_0x32c10f?_0x2005e9(_0x700958,_0x53fe87):_0x700958,_0x4e1267=_0x21e589[_0x4939c2(0x2d4)]-0x1,_0x2c65f3;_0x4e1267>=0x0;_0x4e1267--)(_0x2c65f3=_0x21e589[_0x4e1267])&&(_0x57591a=_0x2c65f3(_0x57591a)||_0x57591a);return _0x57591a;},_0x2c8015=(_0x29c4bb,_0x3fa9b5)=>(_0x3d6af2,_0x2b8b4a)=>_0x3fa9b5(_0x3d6af2,_0x2b8b4a,_0x29c4bb);let _0xf7a1a5=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0xb63731,_0xc7ce95,_0x47b790,_0x484f68,_0x100cc3){const _0x393db6=_0x52f010;super(),_0x544075(this,_0x393db6(0x3ee),[]),_0x544075(this,_0x393db6(0x3d0),[]),(this[_0x393db6(0x3e0)]=_0xb63731,this[_0x393db6(0x214)]=_0xc7ce95,this['_collabCursorController']=_0x47b790,this[_0x393db6(0x448)]=_0x484f68,this[_0x393db6(0x312)]=_0x100cc3,this[_0x393db6(0x36a)]());}[_0x52f010(0x36a)](){const _0x5d4cca=_0x52f010,_0x230c6f=this[_0x5d4cca(0x3e0)][_0x5d4cca(0x32e)],_0x4ba153=this['_docSkeletonManagerService'];this[_0x5d4cca(0x2ba)](_0x353c21[_0x5d4cca(0x400)]([this['_collabCursorController'][_0x5d4cca(0x2d5)](_0x230c6f),this[_0x5d4cca(0x312)]['currentTheme$']])[_0x5d4cca(0x38c)](_0x41ab20['map'](([_0x5e788b,_0x1f5f8d])=>({'skeleton':_0x4ba153[_0x5d4cca(0x450)](),'cursors':[..._0x5e788b['values']()][_0x5d4cca(0x2cf)](_0x25d36e=>({..._0x25d36e,'color':this[_0x5d4cca(0x312)][_0x5d4cca(0x3f8)](_0x25d36e[_0x5d4cca(0x253)])}))})))[_0x5d4cca(0x222)](_0x585ed1=>{const _0x266a7b=_0x5d4cca;if(this[_0x266a7b(0x260)](),_0x585ed1){const {skeleton:_0x3f6566,cursors:_0x15d2f5}=_0x585ed1;this[_0x266a7b(0x432)](_0x3f6566,_0x15d2f5);}})),this[_0x5d4cca(0x3fa)](),this[_0x5d4cca(0x357)]();}['_updateCollabCursors'](_0x579e87,_0x132cb1){const _0xec0327=_0x52f010,{scene:_0x5bf09d,mainComponent:_0x2585d7}=this[_0xec0327(0x3e0)],_0x136951=_0x132cb1[_0xec0327(0x2c4)](_0x22b017=>new _0x2a616a(_0x22b017,_0x5bf09d,_0x579e87,_0x2585d7));this[_0xec0327(0x3ee)]=_0x136951,this[_0xec0327(0x3d0)]=_0x132cb1;}[_0x52f010(0x3ac)](){const _0x4306ae=_0x52f010;this[_0x4306ae(0x260)]();const {scene:_0x2ed6c3,mainComponent:_0x93886e}=this[_0x4306ae(0x3e0)],_0x116804=this[_0x4306ae(0x214)][_0x4306ae(0x450)](),_0x1bbcc6=this[_0x4306ae(0x3d0)][_0x4306ae(0x2c4)](_0x506ade=>new _0x2a616a(_0x506ade,_0x2ed6c3,_0x116804,_0x93886e));this['_cursorShapes']=_0x1bbcc6;}['_removeCollabCursors'](){const _0x18f240=_0x52f010;this[_0x18f240(0x3ee)]['forEach'](_0x112582=>_0x112582['dispose']()),this[_0x18f240(0x3ee)]=[];}[_0x52f010(0x357)](){const _0x4c664e=_0x52f010,_0x471fb1=[_0x50ffa0['SetDocZoomRatioOperation']['id']];this[_0x4c664e(0x2ba)](this[_0x4c664e(0x448)]['onCommandExecuted'](_0x1f8911=>{const _0x596a3b=_0x4c664e;_0x471fb1[_0x596a3b(0x261)](_0x1f8911['id'])&&_0x1f8911['params'][_0x596a3b(0x32e)]===this[_0x596a3b(0x3e0)][_0x596a3b(0x32e)]&&this[_0x596a3b(0x3ac)]();}));}[_0x52f010(0x3fa)](){const _0x39c332=_0x52f010;this[_0x39c332(0x2ba)](_0x3d05ee[_0x39c332(0x3d8)](this[_0x39c332(0x3e0)]['engine']['onTransformChange$'])[_0x39c332(0x38c)](_0x41ab20[_0x39c332(0x1d9)](_0x1fdba6=>_0x1fdba6[_0x39c332(0x39d)]===_0x1eb76f[_0x39c332(0x215)][_0x39c332(0x3ec)]),_0x41ab20[_0x39c332(0x33e)](0x10))[_0x39c332(0x222)](()=>{const _0x6cb293=_0x39c332;this[_0x6cb293(0x3ac)]();}));}};_0xf7a1a5=_0x1e06b5([_0x2c8015(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x427dab[_0x52f010(0x29b)])),_0x2c8015(0x2,_0x3d05ee['Inject'](_0x5d58f9)),_0x2c8015(0x3,_0x3d05ee['ICommandService']),_0x2c8015(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0xf7a1a5);const _0xeec2f8=0x1,_0x4452ce=1.5;class _0x184912 extends _0x1eb76f['Shape']{constructor(_0x1a2215,_0x528ab6){const _0x578f27=_0x52f010;super(_0x1a2215,_0x528ab6),_0x544075(this,_0x578f27(0x3f5)),_0x544075(this,'_hovered',!0x1),_0x544075(this,_0x578f27(0x1ea)),_0x544075(this,_0x578f27(0x23a),''),_0x544075(this,_0x578f27(0x20c),'top'),_0x544075(this,'_backgroundColor'),(_0x528ab6&&this[_0x578f27(0x3db)](_0x528ab6),this['onPointerEnter$'][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x0})),this[_0x578f27(0x235)][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x1})));}[_0x52f010(0x3db)](_0xe7360d){const _0x4c34d9=_0x52f010;var _0x1b61d3,_0x48de2a,_0x204653,_0x41d422,_0x36edd3,_0x59328b;this['_color']=(_0x1b61d3=_0xe7360d[_0x4c34d9(0x253)])!=null?_0x1b61d3:this[_0x4c34d9(0x3f5)],this[_0x4c34d9(0x419)]=(_0x48de2a=_0xe7360d[_0x4c34d9(0x2d6)])!=null?_0x48de2a:this['_hovered'],this[_0x4c34d9(0x1ea)]=(_0x204653=_0xe7360d[_0x4c34d9(0x3fd)])!=null?_0x204653:this[_0x4c34d9(0x1ea)],this[_0x4c34d9(0x23a)]=(_0x41d422=_0xe7360d['name'])!=null?_0x41d422:this['_name'],this[_0x4c34d9(0x20c)]=(_0x36edd3=_0xe7360d[_0x4c34d9(0x264)])!=null?_0x36edd3:this[_0x4c34d9(0x20c)],this[_0x4c34d9(0x351)]=(_0x59328b=_0xe7360d[_0x4c34d9(0x446)])!=null?_0x59328b:this[_0x4c34d9(0x351)],this[_0x4c34d9(0x2b6)]({'width':_0xe7360d[_0x4c34d9(0x354)],'height':_0xe7360d[_0x4c34d9(0x403)]});}[_0x52f010(0x358)](_0x153ff9){const _0x17a9d0=_0x52f010,{row:_0x5f1416,column:_0x1b25bb}=_0x153ff9;if(_0x5f1416>=this['_range'][_0x17a9d0(0x233)]&&_0x5f1416<=this['_range'][_0x17a9d0(0x366)]&&_0x1b25bb>=this['_range'][_0x17a9d0(0x340)]&&_0x1b25bb<=this[_0x17a9d0(0x1ea)]['endColumn']){this[_0x17a9d0(0x3db)]({'hovered':!0x0});return;}this[_0x17a9d0(0x3db)]({'hovered':!0x1});}[_0x52f010(0x240)](_0x21d723){return!0x1;}[_0x52f010(0x341)](_0x1c4796){const _0x5c699e=_0x52f010;_0x1eb76f[_0x5c699e(0x2b5)][_0x5c699e(0x29c)](_0x1c4796,{'width':this[_0x5c699e(0x354)],'height':this[_0x5c699e(0x403)],'strokeWidth':_0x4452ce,'stroke':this[_0x5c699e(0x3f5)],'evented':!0x1,'fill':this[_0x5c699e(0x351)]}),this[_0x5c699e(0x419)]&&(_0x1c4796['save'](),_0x1c4796[_0x5c699e(0x2e9)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c699e(0x20c)]===_0x5c699e(0x36f)?0x0:-_0x4c4c6b),_0x1d7753[_0x5c699e(0x29c)](_0x1c4796,{'text':this[_0x5c699e(0x23a)],'color':this['_color']}),_0x1c4796[_0x5c699e(0x1fa)]());}}var _0xeba64a=Object['getOwnPropertyDescriptor'],_0x55787c=(_0x427aa7,_0x3a50f1,_0x322aef,_0xa3088a)=>{const _0x2edc33=_0x52f010;for(var _0xe87e04=_0xa3088a>0x1?void 0x0:_0xa3088a?_0xeba64a(_0x3a50f1,_0x322aef):_0x3a50f1,_0x489ec0=_0x427aa7[_0x2edc33(0x2d4)]-0x1,_0x1af9a8;_0x489ec0>=0x0;_0x489ec0--)(_0x1af9a8=_0x427aa7[_0x489ec0])&&(_0xe87e04=_0x1af9a8(_0xe87e04)||_0xe87e04);return _0xe87e04;},_0x1bda8=(_0x154a79,_0x14cd2f)=>(_0x109e34,_0x485ca4)=>_0x14cd2f(_0x109e34,_0x485ca4,_0x154a79);const _0x2e46d4=0x1389;let _0x31a600=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x37b5dd,_0x3b85e5,_0x471e0e,_0x5aab1c){const _0x5a8f15=_0x52f010;super(),_0x544075(this,_0x5a8f15(0x3d0),new Set()),_0x544075(this,'_lastPointer',null),(this['_context']=_0x37b5dd,this[_0x5a8f15(0x409)]=_0x3b85e5,this[_0x5a8f15(0x356)]=_0x471e0e,this['_themeService']=_0x5aab1c,this[_0x5a8f15(0x36a)]());}[_0x52f010(0x36a)](){const _0x2dfa18=_0x52f010;this['_sheetSkeletonManagerService'][_0x2dfa18(0x226)][_0x2dfa18(0x38c)](_0x41ab20[_0x2dfa18(0x25f)](this[_0x2dfa18(0x43b)]),_0x41ab20[_0x2dfa18(0x2af)](_0x1a96a2=>{const _0x543763=_0x2dfa18;if(_0x1a96a2){const _0x5c1dbf=_0x1a96a2[_0x543763(0x383)];return _0x353c21[_0x543763(0x400)](this[_0x543763(0x356)][_0x543763(0x2d5)](this['_context'][_0x543763(0x32e)]),this['_themeService'][_0x543763(0x205)])[_0x543763(0x38c)](_0x41ab20[_0x543763(0x2c4)](([_0x1bd957,_0x27ecae])=>{const _0x450767=_0x543763,_0x4ce036=new Map();return _0x1bd957[_0x450767(0x2ce)]((_0xff4bba,_0x3dd83f)=>{const _0x30c221=_0x450767;if(_0xff4bba[_0x30c221(0x3b8)]===_0x5c1dbf){const _0xb62a49={..._0xff4bba};_0xb62a49['color']=this[_0x30c221(0x312)][_0x30c221(0x3f8)](_0xff4bba[_0x30c221(0x253)]),_0x4ce036['set'](_0x3dd83f,_0xb62a49);}}),{'skeleton':_0x1a96a2,'cursors':_0x4ce036};}));}return _0x353c21['of']({'skeleton':null,'cursors':new Map()});}))[_0x2dfa18(0x222)](({skeleton:_0x146133,cursors:_0x50a822})=>{this['_removeCollabCursors'](),_0x146133&&this['_updateCollabCursors'](_0x146133,_0x50a822);}),this[_0x2dfa18(0x409)]['currentSkeleton$'][_0x2dfa18(0x222)](_0x3a8109=>{const _0x2d687b=_0x2dfa18;if(_0x3a8109==null)return;const {skeleton:_0x4b5bb3}=_0x3a8109,{scene:_0x56ea12}=this[_0x2d687b(0x3e0)];_0x56ea12[_0x2d687b(0x467)]['subscribeEvent'](_0x3d05ee[_0x2d687b(0x46a)](_0x10cc38=>{const _0x1c30ef=_0x2d687b;var _0x23af21,_0x2cba86;const {offsetX:_0x7d047e,offsetY:_0x38a8d2}=_0x10cc38,{x:_0x2fce01,y:_0x4b1a4e}=_0x56ea12[_0x1c30ef(0x355)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x7d047e,_0x38a8d2])),{scaleX:_0x40e559,scaleY:_0x48ae40}=_0x56ea12['getAncestorScale'](),_0x38677a=_0x56ea12[_0x1c30ef(0x37c)](_0x1eb76f[_0x1c30ef(0x27c)][_0x1c30ef(0x1e6)]),_0x31424b=_0x56ea12[_0x1c30ef(0x2ea)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x2fce01,_0x4b1a4e]),_0x38677a),_0x55e3f0=_0x4b5bb3[_0x1c30ef(0x2de)](_0x7d047e,_0x38a8d2,_0x40e559,_0x48ae40,_0x31424b);((_0x23af21=this[_0x1c30ef(0x352)])==null?void 0x0:_0x23af21[_0x1c30ef(0x30e)])===_0x55e3f0[_0x1c30ef(0x30e)]&&((_0x2cba86=this[_0x1c30ef(0x352)])==null?void 0x0:_0x2cba86[_0x1c30ef(0x246)])===_0x55e3f0[_0x1c30ef(0x246)]||this[_0x1c30ef(0x3d0)][_0x1c30ef(0x2ce)](_0x303651=>{const _0x10d2d5=_0x1c30ef;_0x303651[_0x10d2d5(0x358)](_0x55e3f0);});},0x64));});}[_0x52f010(0x432)](_0x343b4c,_0x17b4f9){const _0x25ed09=_0x52f010;var _0x1ee74b;const _0x5b855a=(_0x1ee74b=this[_0x25ed09(0x409)][_0x25ed09(0x322)]())==null?void 0x0:_0x1ee74b[_0x25ed09(0x28d)];if(!_0x5b855a)return;const _0x1608bc=this['_getSheetObject']();if(!_0x1608bc)return;this[_0x25ed09(0x3d0)][_0x25ed09(0x2ce)](_0x13dcd5=>{_0x13dcd5['makeDirty']();});const {scene:_0x5891e7}=_0x1608bc,_0x507a83=_0x5f2c70(Array['from'](_0x17b4f9['values']()))[_0x25ed09(0x2c4)](_0x372a7e=>{const _0x2f1223=_0x25ed09,{color:_0x9d2976,range:_0x100531,name:_0x25c208,selection:_0xb79cd5,sheetID:_0x3d9be8}=_0x372a7e,{startColumn:_0x5e76fe,startRow:_0x2619ef,endColumn:_0x38ac0e,endRow:_0xd5ea90}=_0x100531,_0x16fde0=_0x316114['getCoordByCell'](_0x2619ef,_0x5e76fe,_0x5891e7,_0x5b855a),_0x3a01ea=_0x316114[_0x2f1223(0x2cc)](_0xd5ea90,_0x38ac0e,_0x5891e7,_0x5b855a),{columnHeaderHeightAndMarginTop:_0x35b8d9}=_0x5b855a,{startX:_0x4b2935,startY:_0x3ea3c5}=_0x16fde0,{endX:_0x39352c,endY:_0x41eb8c}=_0x3a01ea,_0x375915=_0x39352c-_0x4b2935,_0x4a43c4=_0x41eb8c-_0x3ea3c5,_0x51ea6a={'labelPosition':_0x3ea3c5-_0x35b8d9>=_0x4c4c6b?_0x2f1223(0x3af):_0x2f1223(0x36f),'sheetID':_0x3d9be8,'range':_0x100531,'color':_0x9d2976,'name':_0x25c208,'selection':_0xb79cd5,'left':_0x4b2935,'top':_0x3ea3c5,'width':_0x375915,'height':_0x4a43c4,'evented':!0x1,'zIndex':_0x2e46d4};return new _0x184912(_0x25c208,_0x51ea6a);});_0x5891e7[_0x25ed09(0x22f)](_0x507a83,_0xeec2f8),this[_0x25ed09(0x3d0)]=new Set(_0x507a83);}[_0x52f010(0x260)](){const _0x501225=_0x52f010;var _0x5b37c6;(_0x5b37c6=this[_0x501225(0x3d0)])==null||_0x5b37c6['forEach'](_0x50e88e=>_0x50e88e['dispose']());}['_getSheetObject'](){const _0x2f8b40=_0x52f010;return _0x316114[_0x2f8b40(0x24a)](this[_0x2f8b40(0x3e0)][_0x2f8b40(0x293)],this[_0x2f8b40(0x3e0)]);}};_0x31a600=_0x55787c([_0x1bda8(0x1,_0x3d05ee['Inject'](_0x316114[_0x52f010(0x45e)])),_0x1bda8(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x5d58f9)),_0x1bda8(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0x31a600);function _0x5f2c70(_0x3ce77a){const _0x1e1222=_0x52f010,_0x5c6770=new Map();return _0x3ce77a['forEach'](_0x3142ed=>{const _0x178dbc=_0x43db;if(_0x5c6770['has'](_0x3142ed[_0x178dbc(0x32d)])){const _0x9cbfa9=_0x5c6770[_0x178dbc(0x25b)](_0x3142ed[_0x178dbc(0x32d)]);_0x9cbfa9['name']+=',\x20'+_0x3142ed[_0x178dbc(0x234)];}else _0x5c6770['set'](_0x3142ed['selection'],_0x3142ed);}),Array[_0x1e1222(0x22b)](_0x5c6770[_0x1e1222(0x42c)]());}var _0x533767=Object['getOwnPropertyDescriptor'],_0x56a8a7=(_0x227ee9,_0x3de404,_0x11e77d,_0x3f4016)=>{const _0x104dee=_0x52f010;for(var _0x1a69a2=_0x3f4016>0x1?void 0x0:_0x3f4016?_0x533767(_0x3de404,_0x11e77d):_0x3de404,_0x5309b8=_0x227ee9[_0x104dee(0x2d4)]-0x1,_0x19d8de;_0x5309b8>=0x0;_0x5309b8--)(_0x19d8de=_0x227ee9[_0x5309b8])&&(_0x1a69a2=_0x19d8de(_0x1a69a2)||_0x1a69a2);return _0x1a69a2;},_0x207ac4=(_0x26ae16,_0x47873e)=>(_0x3f7a44,_0x3d16d0)=>_0x47873e(_0x3f7a44,_0x3d16d0,_0x26ae16);let _0x57280f=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x150ccc,_0x49ff9c,_0x113c54,_0x356a6c,_0x489e81,_0x3f6136){const _0x521de1=_0x52f010;super(),this['_beforeCloseService']=_0x150ccc,this[_0x521de1(0x224)]=_0x49ff9c,this[_0x521de1(0x307)]=_0x113c54,this[_0x521de1(0x23f)]=_0x356a6c,this[_0x521de1(0x21f)]=_0x489e81,this[_0x521de1(0x275)]=_0x3f6136,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x52f010(0x343)](){const _0x40ea10=_0x52f010;this[_0x40ea10(0x2ba)](this[_0x40ea10(0x39a)][_0x40ea10(0x42a)](()=>{const _0x522fe5=_0x40ea10;if(this[_0x522fe5(0x224)][_0x522fe5(0x200)][_0x522fe5(0x41d)])return this[_0x522fe5(0x275)]['t'](_0x522fe5(0x45f));}));}['_initEvent'](){const _0x530f65=_0x52f010;this['disposeWithMe'](this['_collaborationUIEventService'][_0x530f65(0x444)][_0x530f65(0x222)](_0x4c84b1=>{const _0x4d4b8e=_0x530f65;_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3cf)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this['_localeService']['t'](_0x4d4b8e(0x213))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3ca)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['PERMISSION_DENIED']&&this[_0x4d4b8e(0x21f)][_0x4d4b8e(0x32f)]({'title':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x35f)),'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2d0)),'type':_0x4d4b8e(0x1e8),'duration':0x0}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['CONFLICT']&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)]['Error'],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')+'('+_0x4c84b1['data']+')'}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['JOIN_ROOM_FAILED']&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4c84b1[_0x4d4b8e(0x3f9)]||'')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x20b)]&&this['_messageService']['show']({'type':_0xaeffda['MessageType']['Warning'],'content':this['_localeService']['t'](_0x4d4b8e(0x370))}),_0x4c84b1['id']===_0x1ac61a['CollaborationUIEventId'][_0x4d4b8e(0x23c)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2f1))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x2ed)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t']('session.collaboration-timeout')});}));}};_0x57280f=_0x56a8a7([_0x207ac4(0x0,_0x1c4740['IBeforeCloseService']),_0x207ac4(0x1,_0x1ac61a[_0x52f010(0x2a1)]),_0x207ac4(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x229)])),_0x207ac4(0x3,_0x1c4740[_0x52f010(0x3c2)]),_0x207ac4(0x4,_0x1c4740[_0x52f010(0x3f0)]),_0x207ac4(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x57280f);const _0x42725f=_0x52f010(0x469),_0x215384={};var _0xf04de0=Object[_0x52f010(0x3d4)],_0xae68d0=(_0x609013,_0x57c227,_0x1cc7b2,_0x265077)=>{const _0x32ceff=_0x52f010;for(var _0x5963a3=_0x265077>0x1?void 0x0:_0x265077?_0xf04de0(_0x57c227,_0x1cc7b2):_0x57c227,_0x3cc179=_0x609013[_0x32ceff(0x2d4)]-0x1,_0x2018e0;_0x3cc179>=0x0;_0x3cc179--)(_0x2018e0=_0x609013[_0x3cc179])&&(_0x5963a3=_0x2018e0(_0x5963a3)||_0x5963a3);return _0x5963a3;},_0x4743ea=(_0x2eebda,_0x2bfbce)=>(_0xb30017,_0xd7eb7b)=>_0x2bfbce(_0xb30017,_0xd7eb7b,_0x2eebda);let _0x3d9de0=class{constructor(_0x1565e,_0x43e724){const _0x5591b0=_0x52f010;this[_0x5591b0(0x27f)]=_0x1565e,this['_renderManagerService']=_0x43e724;}['transformIMECache'](_0x3f85f9){const _0x2832e7=_0x52f010;this[_0x2832e7(0x283)](_0x3f85f9),this['_transformPreviousActiveRange'](_0x3f85f9);}['transformRemoteChangeset'](_0x23988c){const _0x4d4cf9=_0x52f010,{unitID:_0x28fd4e}=_0x23988c,_0x3bbd61=this['_renderManagerService'][_0x4d4cf9(0x280)](_0x28fd4e)[_0x4d4cf9(0x42e)](_0x50ffa0[_0x4d4cf9(0x463)]),{redoCache:_0x347025}=_0x3bbd61[_0x4d4cf9(0x1f3)]();if(_0x347025[_0x4d4cf9(0x2d4)]===0x0)return _0x23988c;let _0x5efa64=_0x3d05ee['Tools'][_0x4d4cf9(0x433)](_0x23988c[_0x4d4cf9(0x306)][0x0]);for(let _0x2cff19=0x0;_0x2cff19<_0x347025[_0x4d4cf9(0x2d4)];_0x2cff19++){const _0xcfc923={'id':'doc.mutation.rich-text-editing','params':{..._0x347025[_0x2cff19]}},_0x52276a=this['_transformService'][_0x4d4cf9(0x470)](_0x5efa64,_0xcfc923,!0x1);if(_0x4876d5['isTransformMutationFailure'](_0x52276a))throw _0x52276a['error'];_0x5efa64=_0x52276a[_0x4d4cf9(0x43a)];}return{..._0x3d05ee[_0x4d4cf9(0x382)][_0x4d4cf9(0x433)](_0x23988c),'mutations':[_0x5efa64]};}[_0x52f010(0x283)](_0x2838f9){const _0x1d8696=_0x52f010,{unitID:_0x21f1b0}=_0x2838f9,_0xb8e75=this['_renderManagerService'][_0x1d8696(0x280)](_0x21f1b0)['with'](_0x50ffa0['DocIMEInputManagerService']),{undoCache:_0x291c72,redoCache:_0x2e8a20}=_0xb8e75['getUndoRedoMutationParamsCache']();if(_0x291c72[_0x1d8696(0x2d4)]===0x0||_0x2e8a20[_0x1d8696(0x2d4)]===0x0)return;const _0x329e5f=[],_0x2f2c5a=[];let _0x527980=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9[_0x1d8696(0x306)][0x0]),_0x2cf947=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9['mutations'][0x0]);for(let _0x4848a4=_0x291c72[_0x1d8696(0x2d4)]-0x1;_0x4848a4>=0x0;_0x4848a4--){const _0x17b43d={'id':_0x1d8696(0x23d),'params':{..._0x291c72[_0x4848a4]}},_0x394ca4={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8a20[_0x4848a4]}},_0x110a7b=this['_transformService'][_0x1d8696(0x470)](_0x527980,_0x17b43d,!0x1),_0x104b3a=this[_0x1d8696(0x27f)][_0x1d8696(0x470)](_0x2cf947,_0x394ca4,!0x1);if(_0x4876d5[_0x1d8696(0x453)](_0x110a7b))throw _0x110a7b[_0x1d8696(0x1e8)];if(_0x4876d5[_0x1d8696(0x453)](_0x104b3a))throw _0x104b3a['error'];_0x329e5f[_0x1d8696(0x438)](_0x110a7b[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x2f2c5a[_0x1d8696(0x438)](_0x104b3a[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x527980=_0x110a7b['m1Prime'],_0x2cf947=_0x104b3a[_0x1d8696(0x43a)];}_0xb8e75[_0x1d8696(0x29d)]({'undoCache':_0x329e5f,'redoCache':_0x2f2c5a});}[_0x52f010(0x2f8)](_0x24bc91){const _0x1cd729=_0x52f010,{unitID:_0x2042c2}=_0x24bc91,_0x4ec23f=this[_0x1cd729(0x334)][_0x1cd729(0x280)](_0x2042c2)[_0x1cd729(0x42e)](_0x50ffa0[_0x1cd729(0x463)]),_0x44c5fc=_0x4ec23f[_0x1cd729(0x39f)]();if(_0x44c5fc==null)return;const _0x5cec30=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24bc91[_0x1cd729(0x412)],'actions':null,'textRanges':[_0x44c5fc]}}],_0x1f339a=this[_0x1cd729(0x27f)]['transformMutationsWithChangeset'](_0x24bc91,_0x5cec30);if(!_0x4876d5['isTransformMutationsWithChangesetSuccess'](_0x1f339a))throw _0x1f339a['error'];const _0x7a6eab=_0x1f339a[_0x1cd729(0x43f)][0x0][_0x1cd729(0x21c)][_0x1cd729(0x301)];Array['isArray'](_0x7a6eab)&&_0x7a6eab[_0x1cd729(0x2d4)]&&_0x4ec23f[_0x1cd729(0x1f2)](_0x7a6eab[0x0]);}};_0x3d9de0=_0xae68d0([_0x4743ea(0x0,_0x4876d5['ITransformService']),_0x4743ea(0x1,_0x1eb76f[_0x52f010(0x3d3)])],_0x3d9de0);var _0x4f1ea3=Object[_0x52f010(0x3d4)],_0xc64858=(_0x1fafba,_0xcebd0d,_0x40bb66,_0x58062d)=>{const _0x1c0c24=_0x52f010;for(var _0x11869d=_0x58062d>0x1?void 0x0:_0x58062d?_0x4f1ea3(_0xcebd0d,_0x40bb66):_0xcebd0d,_0x240be2=_0x1fafba[_0x1c0c24(0x2d4)]-0x1,_0x270324;_0x240be2>=0x0;_0x240be2--)(_0x270324=_0x1fafba[_0x240be2])&&(_0x11869d=_0x270324(_0x11869d)||_0x11869d);return _0x11869d;},_0x40a272=(_0x1fb32c,_0x8aed05)=>(_0x41166e,_0x307f1b)=>_0x8aed05(_0x41166e,_0x307f1b,_0x1fb32c);let _0x422d1f=class{constructor(_0x39e1b3,_0x2e3098,_0x4bd4c2){const _0xdc247=_0x52f010;this[_0xdc247(0x2c9)]=_0x39e1b3,this[_0xdc247(0x27f)]=_0x2e3098,this[_0xdc247(0x291)]=_0x4bd4c2;}[_0x52f010(0x3ba)](_0x5c2b76){const _0x36f8a2=_0x52f010;this[_0x36f8a2(0x2e4)](_0x5c2b76);}[_0x52f010(0x24c)](_0x3e3f3c){const _0x103707=_0x52f010,{unitID:_0x36f2f0}=_0x3e3f3c,{collaboration:_0x46e41e}=this['_docStateChangeManagerService'][_0x103707(0x22e)](_0x36f2f0);if(_0x46e41e['length']===0x0)return _0x3e3f3c;let _0x39a4f6=_0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c[_0x103707(0x306)][0x0]);for(let _0x206158=0x0;_0x206158<_0x46e41e['length'];_0x206158++){const _0x379312={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e41e[_0x206158]['unitId'],..._0x46e41e[_0x206158][_0x103707(0x468)]}},_0xe1dd82=this[_0x103707(0x27f)][_0x103707(0x470)](_0x39a4f6,_0x379312,!0x1);if(_0x4876d5[_0x103707(0x453)](_0xe1dd82))throw _0xe1dd82[_0x103707(0x1e8)];_0x39a4f6=_0xe1dd82[_0x103707(0x43a)];}return{..._0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c),'mutations':[_0x39a4f6]};}[_0x52f010(0x2e4)](_0x19898b){const _0x2469d8=_0x52f010,{unitID:_0x10784b}=_0x19898b,{history:_0x8e379d,collaboration:_0x167974}=this['_docStateChangeManagerService'][_0x2469d8(0x22e)](_0x10784b);if(_0x8e379d[_0x2469d8(0x2d4)]===0x0&&_0x167974[_0x2469d8(0x2d4)]===0x0)return;const _0x487c85=[],_0x5c0005=[];let _0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x16e4d6=_0x8e379d[_0x2469d8(0x2d4)]-0x1;_0x16e4d6>=0x0;_0x16e4d6--){const _0x5b99a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6][_0x2469d8(0x459)]}},_0x3c8d20={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6]['redoState']}},_0x42082f=this['_transformService']['transformMutation'](_0x1dcbce,_0x5b99a5,!0x1),_0x55a0fb=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x3c8d20,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x42082f))throw _0x42082f[_0x2469d8(0x1e8)];if(_0x4876d5[_0x2469d8(0x453)](_0x55a0fb))throw _0x55a0fb[_0x2469d8(0x1e8)];_0x487c85[_0x2469d8(0x438)]({..._0x8e379d[_0x16e4d6],'undoState':_0x42082f[_0x2469d8(0x43f)]['params'],'redoState':_0x55a0fb[_0x2469d8(0x43f)]['params']}),_0x1dcbce=_0x42082f[_0x2469d8(0x43a)],_0x20cc1b=_0x55a0fb[_0x2469d8(0x43a)];}_0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee[_0x2469d8(0x382)]['deepClone'](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x1a390e=_0x167974['length']-0x1;_0x1a390e>=0x0;_0x1a390e--){const _0x3097aa={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e][_0x2469d8(0x32e)],..._0x167974[_0x1a390e]['undoState']}},_0x441899={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e]['unitId'],..._0x167974[_0x1a390e]['redoState']}},_0x50ee7f=this[_0x2469d8(0x27f)]['transformMutation'](_0x1dcbce,_0x3097aa,!0x1),_0x1cf572=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x441899,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x50ee7f))throw _0x50ee7f[_0x2469d8(0x1e8)];if(_0x4876d5['isTransformMutationFailure'](_0x1cf572))throw _0x1cf572[_0x2469d8(0x1e8)];_0x5c0005[_0x2469d8(0x438)]({..._0x167974[_0x1a390e],'undoState':_0x50ee7f['m2Prime']['params'],'redoState':_0x1cf572[_0x2469d8(0x43f)][_0x2469d8(0x21c)]}),_0x1dcbce=_0x50ee7f[_0x2469d8(0x43a)],_0x20cc1b=_0x1cf572[_0x2469d8(0x43a)];}this['_docStateChangeManagerService'][_0x2469d8(0x34f)](_0x10784b,{'history':_0x487c85,'collaboration':_0x5c0005});}};_0x422d1f=_0xc64858([_0x40a272(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x40a272(0x1,_0x4876d5['ITransformService']),_0x40a272(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x50ffa0[_0x52f010(0x220)]))],_0x422d1f);var _0x4900ab=Object[_0x52f010(0x3d4)],_0xf2bc14=(_0x15c8b6,_0x43eaf3,_0x52873d,_0xb7bc40)=>{const _0xe33999=_0x52f010;for(var _0x264e3e=_0xb7bc40>0x1?void 0x0:_0xb7bc40?_0x4900ab(_0x43eaf3,_0x52873d):_0x43eaf3,_0x37d3ad=_0x15c8b6[_0xe33999(0x2d4)]-0x1,_0x2fa60d;_0x37d3ad>=0x0;_0x37d3ad--)(_0x2fa60d=_0x15c8b6[_0x37d3ad])&&(_0x264e3e=_0x2fa60d(_0x264e3e)||_0x264e3e);return _0x264e3e;},_0x14b888=(_0x3d0b42,_0x1449f6)=>(_0x3a46d5,_0x305fcf)=>_0x1449f6(_0x3a46d5,_0x305fcf,_0x3d0b42);let _0x1a0a2c=class{constructor(_0x395982,_0x3027c7){const _0x1ad7ed=_0x52f010;this['_injector']=_0x395982,this[_0x1ad7ed(0x27f)]=_0x3027c7;}[_0x52f010(0x252)](_0x14e6e0){const _0x2e889d=_0x52f010;var _0x3d7670;const _0x37ebe8=this[_0x2e889d(0x2c9)][_0x2e889d(0x25b)](_0x427dab[_0x2e889d(0x1d5)]),_0x3940bf=(_0x3d7670=_0x37ebe8[_0x2e889d(0x36b)]())!=null?_0x3d7670:[];if(_0x3940bf['length']===0x0)return;const _0x1198a0=_0x14e6e0['unitID'],_0x4eccfe=[{'id':_0x2e889d(0x23d),'params':{'unitId':_0x1198a0,'actions':null,'textRanges':_0x3940bf}}],_0x43e0a2=this[_0x2e889d(0x27f)][_0x2e889d(0x1df)](_0x14e6e0,_0x4eccfe);if(!_0x4876d5[_0x2e889d(0x3bd)](_0x43e0a2))throw _0x43e0a2[_0x2e889d(0x1e8)];const _0x189933=_0x43e0a2[_0x2e889d(0x43f)][0x0][_0x2e889d(0x21c)][_0x2e889d(0x301)];Array[_0x2e889d(0x3fb)](_0x189933)&&_0x189933[_0x2e889d(0x2d4)]&&_0x37ebe8[_0x2e889d(0x41f)](_0x189933,{'unitId':_0x1198a0,'subUnitId':_0x1198a0},!0x1);}};_0x1a0a2c=_0xf2bc14([_0x14b888(0x0,_0x3d05ee['Inject'](_0x3d05ee[_0x52f010(0x316)])),_0x14b888(0x1,_0x4876d5[_0x52f010(0x1dd)])],_0x1a0a2c);var _0x297c74=Object['getOwnPropertyDescriptor'],_0x50d072=(_0x1bf917,_0x5b3618,_0x431804,_0x28af21)=>{const _0x25eb11=_0x52f010;for(var _0x183631=_0x28af21>0x1?void 0x0:_0x28af21?_0x297c74(_0x5b3618,_0x431804):_0x5b3618,_0x441f8f=_0x1bf917[_0x25eb11(0x2d4)]-0x1,_0x5491e9;_0x441f8f>=0x0;_0x441f8f--)(_0x5491e9=_0x1bf917[_0x441f8f])&&(_0x183631=_0x5491e9(_0x183631)||_0x183631);return _0x183631;},_0x3eb141=(_0x1f567a,_0x312eba)=>(_0x1dda23,_0x25246f)=>_0x312eba(_0x1dda23,_0x25246f,_0x1f567a);let _0x1027a1=class extends _0x3d05ee['Disposable']{constructor(_0x15ece2,_0xd24945,_0x44ac2c,_0x4bea92,_0x199ab8,_0x4f5b42,_0x7d82e7,_0x3b3004){const _0x35672b=_0x52f010;super(),_0x544075(this,'_status$',new _0x353c21[(_0x35672b(0x411))](_0x1ac61a['CollaborationStatus'][_0x35672b(0x335)])),(this[_0x35672b(0x291)]=_0x15ece2,this['_collaborationController']=_0xd24945,this['_docTransformIMECacheService']=_0x44ac2c,this[_0x35672b(0x418)]=_0x4bea92,this[_0x35672b(0x1eb)]=_0x199ab8,this[_0x35672b(0x26f)]=_0x4f5b42,this[_0x35672b(0x23f)]=_0x7d82e7,this[_0x35672b(0x275)]=_0x3b3004,this[_0x35672b(0x29e)]());}[_0x52f010(0x29e)](){const _0x152c82=_0x52f010;this['disposeWithMe'](this[_0x152c82(0x445)][_0x152c82(0x439)][_0x152c82(0x222)](_0x2ad5fa=>{const _0x5a6b8a=_0x152c82,_0x84d252=this['_docStateChangeManagerService'][_0x5a6b8a(0x2ff)][_0x5a6b8a(0x222)](_0x192f8e=>{const _0x148c1c=_0x5a6b8a;if(_0x192f8e==null)return;const {unitId:_0x33ac9f,redoState:_0x200882,commandId:_0x230f61}=_0x192f8e;if(_0x33ac9f!==_0x2ad5fa[_0x148c1c(0x412)])return;const _0x54437c={'id':_0x230f61,'type':_0x3d05ee['CommandType'][_0x148c1c(0x377)],'params':{'unitId':_0x33ac9f,'actions':_0x200882['actions'],'textRanges':null}};_0x2ad5fa[_0x148c1c(0x398)](_0x54437c);});if(_0x2ad5fa[_0x5a6b8a(0x2ba)](_0x84d252),_0x2ad5fa instanceof _0x1ac61a[_0x5a6b8a(0x342)]){const _0xb08b92={'onTransformIME':_0x132d97=>this[_0x5a6b8a(0x2fd)]['transformIMECache'](_0x132d97),'onTransformState':_0x1666ac=>this[_0x5a6b8a(0x418)][_0x5a6b8a(0x3ba)](_0x1666ac),'onTransformSelections':_0x419ade=>this['_docTransformSelectionsService'][_0x5a6b8a(0x252)](_0x419ade),'onSyncEditingCollabCursor':_0x258fa4=>this[_0x5a6b8a(0x26f)][_0x5a6b8a(0x2e1)](_0x258fa4),'onTransformRemoteChangesetByIMECache':_0x1e9582=>this[_0x5a6b8a(0x2fd)]['transformRemoteChangeset'](_0x1e9582),'onTransformRemoteChangesetByStateCache':_0x3592bf=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3592bf)};_0x2ad5fa[_0x5a6b8a(0x239)](_0xb08b92);}}));}};_0x1027a1=_0x50d072([_0x3eb141(0x0,_0x3d05ee['Inject'](_0x50ffa0[_0x52f010(0x220)])),_0x3eb141(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x315)])),_0x3eb141(0x2,_0x3d05ee['Inject'](_0x3d9de0)),_0x3eb141(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x422d1f)),_0x3eb141(0x4,_0x3d05ee['Inject'](_0x1a0a2c)),_0x3eb141(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x3eb141(0x6,_0x1c4740[_0x52f010(0x3c2)]),_0x3eb141(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x1027a1);var _0x2201c5=Object[_0x52f010(0x3d4)],_0x2726e3=(_0x2c155a,_0x349b6d,_0x28e992,_0x592e2f)=>{const _0x1af93d=_0x52f010;for(var _0x3b5d36=_0x592e2f>0x1?void 0x0:_0x592e2f?_0x2201c5(_0x349b6d,_0x28e992):_0x349b6d,_0x1ba198=_0x2c155a[_0x1af93d(0x2d4)]-0x1,_0x25d909;_0x1ba198>=0x0;_0x1ba198--)(_0x25d909=_0x2c155a[_0x1ba198])&&(_0x3b5d36=_0x25d909(_0x3b5d36)||_0x3b5d36);return _0x3b5d36;},_0x46583a=(_0x142d8f,_0x3655bb)=>(_0x148d4f,_0x83f604)=>_0x3655bb(_0x148d4f,_0x83f604,_0x142d8f);let _0x48d8ce=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x2685c8,_0x5445f1,_0x191aa3){const _0x4fdf09=_0x52f010;super(),_0x544075(this,_0x4fdf09(0x30f),new Map()),_0x544075(this,_0x4fdf09(0x2f5),new Map()),_0x544075(this,_0x4fdf09(0x44c),!0x1),(this[_0x4fdf09(0x202)]=_0x2685c8,this['_localStorageService']=_0x5445f1,this[_0x4fdf09(0x3a2)]=_0x191aa3);}[_0x52f010(0x3c4)](){this['_disabled']=!0x0;}[_0x52f010(0x455)](){const _0x145c86=_0x52f010;this[_0x145c86(0x44c)]=!0x1;}get[_0x52f010(0x200)](){const _0x4b72cf=_0x52f010;return this[_0x4b72cf(0x2f5)];}['dispose'](){const _0x18533d=_0x52f010;this['exhaustSavingTask']()['then'](()=>super[_0x18533d(0x244)]());}async[_0x52f010(0x376)](_0x1d1053){const _0x553e5c=_0x52f010;return this['_disabled']?null:this[_0x553e5c(0x309)][_0x553e5c(0x31a)](_0x1ac61a[_0x553e5c(0x2b1)](_0x1d1053));}async[_0x52f010(0x40c)](_0x3008d4,_0x51c1e3){const _0x3fa0ce=_0x52f010;return!!this[_0x3fa0ce(0x309)][_0x3fa0ce(0x423)](_0x3008d4,_0x51c1e3);}[_0x52f010(0x380)](_0xe4f8ed,_0x107fa4,_0x4dc0eb,_0x4dc409){const _0xe97eb9=_0x52f010,_0x268857=this['_revisionService']['getCurrentRevOfUnit'](_0xe4f8ed);this[_0xe97eb9(0x30f)]['set'](_0xe4f8ed,{'unitID':_0xe4f8ed,'type':_0x107fa4,'awaitingChangeset':_0x4dc0eb,'mutations':_0x4dc409,'rev':_0x268857}),this['_saveTaskMap']['has'](_0xe4f8ed)||this[_0xe97eb9(0x297)](_0xe4f8ed);}[_0x52f010(0x297)](_0x6e28ae){const _0x202b9a=_0x52f010,_0x4fa1e6=this[_0x202b9a(0x3c0)]();_0x4fa1e6===0x0?this[_0x202b9a(0x324)](_0x6e28ae):this[_0x202b9a(0x2f5)][_0x202b9a(0x3f1)](_0x6e28ae,setTimeout(()=>this[_0x202b9a(0x324)](_0x6e28ae),_0x4fa1e6));}[_0x52f010(0x3c0)](){const _0x28dd29=_0x52f010;var _0x4b25ab;return(_0x4b25ab=this[_0x28dd29(0x202)][_0x28dd29(0x34b)](_0x1ac61a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b25ab:_0x1ac61a[_0x28dd29(0x394)];}[_0x52f010(0x324)](_0x5d8cee){const _0x58bd82=_0x52f010,_0x47953a=this[_0x58bd82(0x2f5)][_0x58bd82(0x25b)](_0x5d8cee);return _0x47953a!==void 0x0&&window[_0x58bd82(0x430)](_0x47953a),this[_0x58bd82(0x309)]['setItem'](_0x1ac61a[_0x58bd82(0x2b1)](_0x5d8cee),this['_cachedData']['get'](_0x5d8cee))['then'](()=>this[_0x58bd82(0x2f5)][_0x58bd82(0x3d1)](_0x5d8cee));}async[_0x52f010(0x424)](){const _0x543396=_0x52f010,_0x17b157=[];this[_0x543396(0x2f5)][_0x543396(0x2ce)]((_0xb8bd9b,_0x3435a9)=>{const _0x167b46=_0x543396;window[_0x167b46(0x430)](_0xb8bd9b),_0x17b157[_0x167b46(0x404)](this['_saveCache'](_0x3435a9)['then'](()=>{const _0x370287=_0x167b46;this[_0x370287(0x2f5)][_0x370287(0x3d1)](_0x3435a9);}));}),await Promise[_0x543396(0x2bc)](_0x17b157);}};_0x48d8ce=_0x2726e3([_0x46583a(0x0,_0x3d05ee[_0x52f010(0x3eb)]),_0x46583a(0x1,_0x3d05ee[_0x52f010(0x2f3)]),_0x46583a(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x4876d5[_0x52f010(0x1ee)]))],_0x48d8ce);class _0x353b3b extends _0x3d05ee[_0x52f010(0x442)]{constructor(){const _0x1669a5=_0x52f010;super(),_0x544075(this,_0x1669a5(0x38f)),this[_0x1669a5(0x38f)]=_0x353c21['fromEvent'](window,_0x1669a5(0x3f4))[_0x1669a5(0x38c)](_0x353c21[_0x1669a5(0x25f)](this['dispose$']),_0x353c21[_0x1669a5(0x3a8)](0x1),_0x353c21['mapTo'](void 0x0));}[_0x52f010(0x40a)](_0x128fb5,_0x4b50c8,_0x5030cf=!0x1){const _0x3a32bc=_0x52f010,_0x387f17=new URL(window[_0x3a32bc(0x266)][_0x3a32bc(0x344)]);_0x387f17[_0x3a32bc(0x24e)][_0x3a32bc(0x3f1)](_0x128fb5,_0x4b50c8),_0x5030cf?window['history'][_0x3a32bc(0x2b3)]('','',_0x387f17[_0x3a32bc(0x434)]()):window[_0x3a32bc(0x231)][_0x3a32bc(0x1da)]('','',_0x387f17[_0x3a32bc(0x434)]());}[_0x52f010(0x2f2)](_0x5c1cc5,_0x488a81=!0x1){const _0x5096ea=_0x52f010,_0x4bdd89=new URL(window[_0x5096ea(0x266)][_0x5096ea(0x344)]);_0x4bdd89[_0x5096ea(0x24e)][_0x5096ea(0x3d1)](_0x5c1cc5),_0x488a81?window['history']['replaceState']('','',_0x4bdd89[_0x5096ea(0x434)]()):window[_0x5096ea(0x231)][_0x5096ea(0x1da)]('','',_0x4bdd89[_0x5096ea(0x434)]());}[_0x52f010(0x3e1)](_0x4e0267){const _0x5039c8=_0x52f010;var _0x7e626e;return(_0x7e626e=new URL(window[_0x5039c8(0x266)]['href'])[_0x5039c8(0x24e)][_0x5039c8(0x25b)](_0x4e0267))!=null?_0x7e626e:void 0x0;}}var _0x15f48f=Object[_0x52f010(0x41c)],_0x5954ec=Object[_0x52f010(0x3d4)],_0x5a2563=(_0x27841e,_0x1a8f36,_0x113b3d)=>_0x1a8f36 in _0x27841e?_0x15f48f(_0x27841e,_0x1a8f36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113b3d}):_0x27841e[_0x1a8f36]=_0x113b3d,_0x4575a0=(_0x336f28,_0x426498,_0x2ea188,_0x32da92)=>{const _0x3fe821=_0x52f010;for(var _0x3d1a9a=_0x32da92>0x1?void 0x0:_0x32da92?_0x5954ec(_0x426498,_0x2ea188):_0x426498,_0x415660=_0x336f28[_0x3fe821(0x2d4)]-0x1,_0x4eca83;_0x415660>=0x0;_0x415660--)(_0x4eca83=_0x336f28[_0x415660])&&(_0x3d1a9a=_0x4eca83(_0x3d1a9a)||_0x3d1a9a);return _0x3d1a9a;},_0x57bd72=(_0x37e9be,_0x5ed492)=>(_0x39e148,_0x5be135)=>_0x5ed492(_0x39e148,_0x5be135,_0x37e9be),_0x363c2b=(_0x284bc2,_0x9fed8b,_0x3dcc69)=>_0x5a2563(_0x284bc2,_0x9fed8b+'',_0x3dcc69);const _0x5b0791=_0x52f010(0x331);_0x2245a1[_0x52f010(0x35e)]=class extends _0x3d05ee['Plugin']{constructor(_0x591b5c=_0x215384,_0x48817d,_0x5284a7,_0x988136){const _0x2cec20=_0x52f010;super(),this['_config']=_0x591b5c,this['_renderManagerService']=_0x48817d,this[_0x2cec20(0x2c9)]=_0x5284a7,this[_0x2cec20(0x202)]=_0x988136;const {..._0xbff6cf}=_0x3d05ee[_0x2cec20(0x36c)]({},_0x215384,this[_0x2cec20(0x25a)]);this[_0x2cec20(0x202)]['setConfig'](_0x42725f,_0xbff6cf);}[_0x52f010(0x431)](){const _0x980154=_0x52f010;this[_0x980154(0x2c0)](),this['_initDependencies']();}[_0x52f010(0x3d5)](){this['_registerRenderDependencies']();}[_0x52f010(0x2c0)](){const _0x3877d4=_0x52f010;var _0x84cf03;const _0x26030c=[[_0x27e238],[_0x1a0a2c],[_0x3d9de0],[_0x422d1f],[_0x4e98a8],[_0x40ca0b,{'useClass':_0x353b3b}],[_0x4cfd05[_0x3877d4(0x361)],{'useClass':_0x4cfd05[_0x3877d4(0x32a)]}],[_0x1ac61a[_0x3877d4(0x2a1)],{'useClass':_0x48d8ce}],[_0x2245a1[_0x3877d4(0x42f)]],[_0x1027a1],[_0x57280f],[_0x5d58f9],[_0x2d6ba0],[_0x2245a1[_0x3877d4(0x364)]]];_0x3d05ee[_0x3877d4(0x420)](this[_0x3877d4(0x2c9)],_0x3d05ee[_0x3877d4(0x337)](_0x26030c,(_0x84cf03=this[_0x3877d4(0x25a)])==null?void 0x0:_0x84cf03['override']));}[_0x52f010(0x3aa)](){const _0x5c3f7e=_0x52f010;this[_0x5c3f7e(0x2ba)](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee[_0x5c3f7e(0x287)][_0x5c3f7e(0x2dc)],[_0xf7a1a5])),this['disposeWithMe'](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee['UniverInstanceType'][_0x5c3f7e(0x44b)],[_0x31a600]));}[_0x52f010(0x435)](){const _0x21ea14=_0x52f010;_0x3d05ee[_0x21ea14(0x3c8)](this[_0x21ea14(0x2c9)],[[_0x5d58f9],[_0x2245a1['DesktopCollaborationStatusDisplayController']],[_0x1027a1],[_0x57280f],[_0x2245a1[_0x21ea14(0x364)]]]);}},_0x363c2b(_0x2245a1[_0x52f010(0x35e)],'pluginName',_0x5b0791),_0x2245a1[_0x52f010(0x35e)]=_0x4575a0([_0x3d05ee[_0x52f010(0x378)](_0x1ac61a[_0x52f010(0x318)]),_0x57bd72(0x1,_0x1eb76f[_0x52f010(0x3d3)]),_0x57bd72(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x57bd72(0x3,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['UniverCollaborationClientUIPlugin']);var _0x57b008=Object[_0x52f010(0x3d4)],_0x55c18f=(_0x57180f,_0xd1d2cc,_0x77d94c,_0x4354a2)=>{const _0x3a3d52=_0x52f010;for(var _0x3724cc=_0x4354a2>0x1?void 0x0:_0x4354a2?_0x57b008(_0xd1d2cc,_0x77d94c):_0xd1d2cc,_0x44024d=_0x57180f[_0x3a3d52(0x2d4)]-0x1,_0x32308e;_0x44024d>=0x0;_0x44024d--)(_0x32308e=_0x57180f[_0x44024d])&&(_0x3724cc=_0x32308e(_0x3724cc)||_0x3724cc);return _0x3724cc;},_0x51aa80=(_0x23c3bb,_0x5d1d89)=>(_0x14e7f5,_0x341318)=>_0x5d1d89(_0x14e7f5,_0x341318,_0x23c3bb);_0x2245a1[_0x52f010(0x255)]=class extends _0x1ac61a['CollaborationSocketService']{constructor(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5){super(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5);}async[_0x52f010(0x3b7)](_0x418eb1){const _0x166e46=_0x52f010,_0x33c396=await this[_0x166e46(0x216)](),_0x16a456=this[_0x166e46(0x374)](_0x418eb1,_0x33c396);return this['_doCreateSocket'](_0x16a456);}[_0x52f010(0x374)](_0xb918ec,_0x48ebb2){const _0x4937e0=_0x52f010,_0x3d5e88=typeof window>'u'?new URL(_0xb918ec):new URL(_0xb918ec,window[_0x4937e0(0x266)][_0x4937e0(0x413)]);_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)]('sessionTicket',_0x48ebb2);const _0x214653=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4937e0(0x266)][_0x4937e0(0x2c2)]);return _0x214653[_0x4937e0(0x25b)]('runId')&&_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)](_0x4937e0(0x45c),_0x214653['get']('runId')),_0x3d5e88[_0x4937e0(0x434)]();}async[_0x52f010(0x216)](){const _0x5e6edc=_0x52f010;var _0x437ecb,_0x507452,_0x3968ed;const _0x4ea848=this[_0x5e6edc(0x202)][_0x5e6edc(0x34b)](_0x1ac61a[_0x5e6edc(0x294)]),_0x36398e=(_0x437ecb=_0x4ea848==null?void 0x0:_0x4ea848[_0x5e6edc(0x2c6)])!=null?_0x437ecb:_0x1ac61a[_0x5e6edc(0x21d)];return(_0x3968ed=(_0x507452=(await this[_0x5e6edc(0x1e3)][_0x5e6edc(0x25b)](_0x36398e,{'headers':{'Content-Type':'application/json'}}))[_0x5e6edc(0x28a)])==null?void 0x0:_0x507452[_0x5e6edc(0x31d)])!=null?_0x3968ed:'';}},_0x2245a1[_0x52f010(0x255)]=_0x55c18f([_0x51aa80(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x51aa80(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x51aa80(0x2,_0x3d05ee[_0x52f010(0x3eb)]),_0x51aa80(0x3,_0x3d05ee[_0x52f010(0x3ae)]),_0x51aa80(0x4,_0x4876d5[_0x52f010(0x289)])],_0x2245a1['BrowserCollaborationSocketService']);var _0x592e89=(_0x92d219=>(_0x92d219[_0x92d219[_0x52f010(0x3b1)]=0x0]=_0x52f010(0x3b1),_0x92d219[_0x92d219['OK']=0x1]='OK',_0x92d219[_0x92d219['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x92d219[_0x92d219[_0x52f010(0x1e2)]=0x3]=_0x52f010(0x1e2),_0x92d219[_0x92d219[_0x52f010(0x458)]=0x4]=_0x52f010(0x458),_0x92d219[_0x92d219[_0x52f010(0x2ad)]=0x5]=_0x52f010(0x2ad),_0x92d219[_0x92d219[_0x52f010(0x1de)]=0x6]=_0x52f010(0x1de),_0x92d219[_0x92d219[_0x52f010(0x303)]=0x7]=_0x52f010(0x303),_0x92d219[_0x92d219[_0x52f010(0x429)]=0x8]='TOO_MANY_REQUESTS',_0x92d219[_0x92d219[_0x52f010(0x34c)]=0x9]=_0x52f010(0x34c),_0x92d219[_0x92d219['LOGIN_FAILED']=0xa]=_0x52f010(0x346),_0x92d219[_0x92d219[_0x52f010(0x207)]=0xb]=_0x52f010(0x207),_0x92d219[_0x92d219['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x52f010(0x3cb),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x52f010(0x29f),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x52f010(0x33b),_0x92d219[_0x92d219[_0x52f010(0x3e6)]=0x1389]=_0x52f010(0x3e6),_0x92d219[_0x92d219['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x92d219[_0x92d219[_0x52f010(0x3e5)]=0x1772]=_0x52f010(0x3e5),_0x92d219[_0x92d219[_0x52f010(0x2e6)]=0x1773]=_0x52f010(0x2e6),_0x92d219[_0x92d219[_0x52f010(0x353)]=0x1b59]=_0x52f010(0x353),_0x92d219[_0x92d219['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x52f010(0x201),_0x92d219[_0x92d219['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x92d219[_0x92d219[_0x52f010(0x31c)]=0x1b5c]=_0x52f010(0x31c),_0x92d219[_0x92d219['APPLY_DUPLICATED']=0x1b5d]=_0x52f010(0x407),_0x92d219[_0x92d219[_0x52f010(0x3b3)]=0x1f41]=_0x52f010(0x3b3),_0x92d219[_0x92d219['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x52f010(0x1f1),_0x92d219[_0x92d219[_0x52f010(0x28f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x92d219[_0x92d219[_0x52f010(0x210)]=0x232b]=_0x52f010(0x210),_0x92d219[_0x92d219['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x52f010(0x38b),_0x92d219[_0x92d219['LICENSE_DISTRO_REJECTED']=0x232d]=_0x52f010(0x393),_0x92d219[_0x92d219['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x52f010(0x317),_0x92d219[_0x92d219[_0x52f010(0x211)]=0x2712]=_0x52f010(0x211),_0x92d219[_0x92d219['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x52f010(0x282),_0x92d219[_0x92d219['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x92d219[_0x92d219[_0x52f010(0x33a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x92d219[_0x92d219['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52f010(0x39c),_0x92d219[_0x92d219[_0x52f010(0x39e)]=0x271c]=_0x52f010(0x39e),_0x92d219[_0x92d219[_0x52f010(0x45a)]=0x271d]=_0x52f010(0x45a),_0x92d219[_0x92d219['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x52f010(0x348),_0x92d219[_0x92d219[_0x52f010(0x321)]=0x271f]=_0x52f010(0x321),_0x92d219[_0x92d219[_0x52f010(0x3a1)]=0x2720]=_0x52f010(0x3a1),_0x92d219[_0x92d219['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x92d219[_0x92d219[_0x52f010(0x2e5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x92d219[_0x92d219[_0x52f010(0x333)]=0x2ee2]=_0x52f010(0x333),_0x92d219[_0x92d219['INVITE_CODE_REQUIRED']=0x2ee3]=_0x52f010(0x2a0),_0x92d219[_0x92d219[_0x52f010(0x203)]=0x2ee4]=_0x52f010(0x203),_0x92d219[_0x92d219[_0x52f010(0x3a6)]=0x2ee5]=_0x52f010(0x3a6),_0x92d219[_0x92d219[_0x52f010(0x3f6)]=0x32c9]=_0x52f010(0x3f6),_0x92d219[_0x92d219['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x92d219[_0x92d219[_0x52f010(0x2ab)]=0x32cb]=_0x52f010(0x2ab),_0x92d219[_0x92d219[_0x52f010(0x263)]=-0x1]=_0x52f010(0x263),_0x92d219))(_0x592e89||{}),_0x31cc23=Object['getOwnPropertyDescriptor'],_0x52210f=(_0xe76f25,_0x215b89,_0x527207,_0x4590f4)=>{const _0x332bff=_0x52f010;for(var _0x551c49=_0x4590f4>0x1?void 0x0:_0x4590f4?_0x31cc23(_0x215b89,_0x527207):_0x215b89,_0x251c46=_0xe76f25[_0x332bff(0x2d4)]-0x1,_0x192808;_0x251c46>=0x0;_0x251c46--)(_0x192808=_0xe76f25[_0x251c46])&&(_0x551c49=_0x192808(_0x551c49)||_0x551c49);return _0x551c49;},_0x502bb0=(_0x30915d,_0x4a640b)=>(_0x1f8df6,_0x279350)=>_0x4a640b(_0x1f8df6,_0x279350,_0x30915d);_0x2245a1[_0x52f010(0x3a5)]=class extends _0x3d05ee['Disposable']{constructor(_0x2afeee,_0x52a3a2,_0x2396c7){const _0x5154c9=_0x52f010;super(),this[_0x5154c9(0x471)]=_0x2afeee,this[_0x5154c9(0x1e3)]=_0x52a3a2,this[_0x5154c9(0x202)]=_0x2396c7;}async['runOnServer'](_0x1171cd,_0x51b6d1,_0x57c474,..._0x105e6f){const _0x5094c0=_0x52f010;var _0x20bf84,_0x5f2b06,_0x327d69,_0x53c2d4;const _0x38536f=this['_instanceService'][_0x5094c0(0x218)]();if(!_0x38536f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38a698=((_0x20bf84=this[_0x5094c0(0x202)][_0x5094c0(0x34b)](_0x1ac61a[_0x5094c0(0x29a)]))!=null?_0x20bf84:_0x1ac61a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1171cd+_0x5094c0(0x212)+_0x51b6d1,_0x21a092=new URL(window[_0x5094c0(0x266)][_0x5094c0(0x344)]),_0x2dd84f={'scriptId':_0x1171cd,'runId':(_0x5f2b06=_0x21a092[_0x5094c0(0x24e)]['get'](_0x5094c0(0x45c)))!=null?_0x5f2b06:'','function':_0x51b6d1,'unitId':_0x38536f[_0x5094c0(0x272)](),'argsOfFunction':JSON[_0x5094c0(0x3f3)](_0x105e6f),'invokeId':(_0x327d69=_0x57c474[_0x5094c0(0x26a)])!=null?_0x327d69:'','executionId':(_0x53c2d4=_0x57c474[_0x5094c0(0x314)])!=null?_0x53c2d4:''};try{const _0xc10121=await this[_0x5094c0(0x1e3)][_0x5094c0(0x3b0)](_0x38a698,{'body':_0x2dd84f});return _0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)]&&_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)][_0x5094c0(0x2ca)]!==_0x592e89['OK']?_0x5094c0(0x336):_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x2aa)];}catch{return _0x5094c0(0x336);}}},_0x2245a1[_0x52f010(0x3a5)]=_0x52210f([_0x502bb0(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x502bb0(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x502bb0(0x2,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['RemoteUniscriptService']);const _0x44db39=0x7530,_0x4114e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf1872b extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x4dcc7d=_0x52f010;super(),_0x544075(this,_0x4dcc7d(0x332),_0x3d05ee[_0x4dcc7d(0x426)]()),_0x544075(this,_0x4dcc7d(0x3e4),new Set()),_0x544075(this,_0x4dcc7d(0x1f7),new Map()),_0x544075(this,_0x4dcc7d(0x3bf),null),_0x544075(this,'_clearOtherTimers',new Map()),_0x544075(this,_0x4dcc7d(0x388),new Map()),this[_0x4dcc7d(0x36a)]();}[_0x52f010(0x244)](){const _0xc6a512=_0x52f010;super['dispose'](),this[_0xc6a512(0x1d6)]['forEach']((_0x229427,_0x342cfe)=>this[_0xc6a512(0x208)](_0x342cfe)),this[_0xc6a512(0x3bf)]&&window[_0xc6a512(0x27b)](this[_0xc6a512(0x3bf)]);}[_0x52f010(0x38e)](_0x54d4aa){const _0x358729=_0x52f010;return this[_0x358729(0x2a4)](_0x54d4aa)[_0x358729(0x38c)](_0x353c21['distinctUntilChanged']());}['editingUnit'](_0x311bb9){const _0x29937b=_0x52f010;this[_0x29937b(0x3e4)][_0x29937b(0x41d)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x29937b(0x46c)](_0x311bb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x311bb9],'isForwarded':!0x1});}[_0x52f010(0x2ee)](_0x4734bc){const _0x38923d=_0x52f010;this[_0x38923d(0x3e4)][_0x38923d(0x3d1)](_0x4734bc),this[_0x38923d(0x3e4)]['size']===0x0&&this[_0x38923d(0x3bf)]&&window[_0x38923d(0x27b)](this[_0x38923d(0x3bf)]);}[_0x52f010(0x36a)](){const _0x310dde=_0x52f010;this[_0x310dde(0x2ba)](_0x3d05ee[_0x310dde(0x20a)](_0x353c21['fromEvent'](window,_0x310dde(0x2dd))['subscribe'](_0x418c80=>{const _0x2df1df=_0x310dde;if(_0x418c80['key']!==_0x4114e4||!_0x418c80[_0x2df1df(0x3d2)])return;const _0x5f8e8c=JSON[_0x2df1df(0x295)](_0x418c80[_0x2df1df(0x3d2)]);this[_0x2df1df(0x45b)](_0x5f8e8c);}))),window[_0x310dde(0x359)](_0x310dde(0x392),()=>this[_0x310dde(0x3e9)]({'type':0x1,'memberID':this[_0x310dde(0x332)],'unitIDs':Array[_0x310dde(0x22b)](this['_selfUnitIDs'])}));}[_0x52f010(0x45b)](_0x40db4b){const _0x176f9f=_0x52f010;switch(_0x40db4b[_0x176f9f(0x39d)]){case 0x0:this[_0x176f9f(0x30c)](_0x40db4b);break;case 0x1:this['_handleLeaveEvent'](_0x40db4b);break;case 0x2:this[_0x176f9f(0x349)](_0x40db4b);break;}}[_0x52f010(0x30c)](_0x2ec305){const _0x5a3c39=_0x52f010,{unitIDs:_0x1be541,memberID:_0x3596fa,isForwarded:_0x29efef}=_0x2ec305;_0x1be541[_0x5a3c39(0x2ce)](_0x35d9eb=>{const _0x106151=_0x5a3c39;if(!_0x29efef&&this['_unitOnClients']['has'](_0x35d9eb)&&this[_0x106151(0x2a4)](_0x35d9eb)['next'](_0x1ac61a[_0x106151(0x2bb)][_0x106151(0x35c)]),!this[_0x106151(0x1f7)][_0x106151(0x350)](_0x35d9eb)||!this['_unitOnClients']['get'](_0x35d9eb)[_0x106151(0x350)](_0x3596fa)){const _0x5cea91=this[_0x106151(0x1f7)][_0x106151(0x25b)](_0x35d9eb)||new Set();_0x5cea91[_0x106151(0x46c)](_0x3596fa),this[_0x106151(0x1f7)][_0x106151(0x3f1)](_0x35d9eb,_0x5cea91),this[_0x106151(0x1fe)](_0x3596fa);}}),_0x29efef||this[_0x5a3c39(0x3e9)]({'type':0x0,'memberID':this[_0x5a3c39(0x332)],'unitIDs':[...this[_0x5a3c39(0x3e4)]],'isForwarded':!0x0});}[_0x52f010(0x1fe)](_0x4ca056){const _0x385346=_0x52f010;this[_0x385346(0x208)](_0x4ca056);const _0x15b2ae=window[_0x385346(0x2b9)](()=>{const _0xdbc4d3=_0x385346;this[_0xdbc4d3(0x1f7)][_0xdbc4d3(0x2ce)](_0x5120f6=>{_0x5120f6['delete'](_0x4ca056);});},_0x44db39*0x2);this[_0x385346(0x1d6)][_0x385346(0x3f1)](_0x4ca056,_0x15b2ae);}['_removeClearOtherTimer'](_0x4fa05c){const _0x220659=_0x52f010;if(this['_clearOtherTimers'][_0x220659(0x350)](_0x4fa05c)){const _0x61c38=this['_clearOtherTimers'][_0x220659(0x25b)](_0x4fa05c);_0x61c38&&window[_0x220659(0x430)](_0x61c38),this[_0x220659(0x1d6)]['set'](_0x4fa05c,null);}}[_0x52f010(0x2ec)](_0x1a965d){const _0x20540a=_0x52f010,{memberID:_0x55a981,unitIDs:_0x29c0e8}=_0x1a965d;_0x29c0e8[_0x20540a(0x2ce)](_0x5addcb=>{const _0x14614a=_0x20540a;var _0x32d1aa;const _0x150180=this['_unitOnClients']['get'](_0x5addcb);_0x150180&&(_0x150180[_0x14614a(0x3d1)](_0x55a981),(_0x32d1aa=this['_ensureSubject'](_0x5addcb))==null||_0x32d1aa['next'](_0x150180[_0x14614a(0x41d)]===0x0?_0x1ac61a['UnitStatus'][_0x14614a(0x2da)]:_0x1ac61a['UnitStatus'][_0x14614a(0x35c)]));}),this[_0x20540a(0x208)](_0x55a981);}[_0x52f010(0x349)](_0x43e12a){const _0x32a9e4=_0x52f010;this[_0x32a9e4(0x1fe)](_0x43e12a[_0x32a9e4(0x1ff)]);}[_0x52f010(0x3e9)](_0xf0c8fa){localStorage['setItem'](_0x4114e4,JSON['stringify'](_0xf0c8fa));}[_0x52f010(0x389)](){const _0x2ada17=_0x52f010;this[_0x2ada17(0x3bf)]=window[_0x2ada17(0x37e)](()=>{const _0x3d1404=_0x2ada17;this[_0x3d1404(0x3e9)]({'type':0x2,'memberID':this[_0x3d1404(0x332)]});},_0x44db39);}['_ensureSubject'](_0x4b3bc1){const _0x4a07aa=_0x52f010;return this[_0x4a07aa(0x388)][_0x4a07aa(0x350)](_0x4b3bc1)||this[_0x4a07aa(0x388)][_0x4a07aa(0x3f1)](_0x4b3bc1,new _0x353c21[(_0x4a07aa(0x411))](_0x1ac61a[_0x4a07aa(0x2bb)][_0x4a07aa(0x2da)])),this[_0x4a07aa(0x388)]['get'](_0x4b3bc1);}}_0x2245a1['IURLService']=_0x40ca0b,_0x2245a1[_0x52f010(0x402)]=_0x184912,_0x2245a1[_0x52f010(0x20f)]=_0xf1872b,_0x2245a1[_0x52f010(0x1f4)]=_0x353b3b,Object[_0x52f010(0x41c)](_0x2245a1,Symbol[_0x52f010(0x3e2)],{'value':_0x52f010(0x3be)});}));function _0x4199(){const _0x1c2415=['type','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getActiveRange','IRemoteInstanceService','YUUMI_CONNECTOR_URL_NOT_FOUND','_revisionService','_assignedColors','getValue','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','random','shareReplay','subUnitId','_registerRenderDependencies','jiqing.500','_refreshCollabCursors','FromArray','ILogService','top','post','UNDEFINED','_toggleOnline','CONNECTOR_DATA_TOO_LARGE','idSuffix','fillText','getSheetBySheetId','createSocket','sheetID','getCollabEntity$','transformStateCache','split','102066vuMPmb','isTransformMutationsWithChangesetSuccess','Module','_heartbeatTimer','_getSaveTimeout','@univerjs/drawing','IMessageService','univer-flex\x20univer-items-center','disableLocalCache','cursorInfo$','_onCursorDelete','SetTextSelectionsOperation','touchDependencies','UniverRpc','CLOSE_ROOM','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribeEvent','executeCommand','InsertRangeMoveRightCommandId','OTHER_CLIENT_EDITING','_cursors','delete','newValue','IRenderManagerService','getOwnPropertyDescriptor','onRendered','Disposable','measureText','fromEventSubject','_urlService','findNodePositionByCharIndex','setShapeProps','min','_cursorInfo$','_startSheetCollabCursor','collabStatus.syncing','_context','getParam','toStringTag','NodePositionConvertToRectRange','_selfUnitIDs','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REVISION_CONFILICT','debug','DisposableCollection','_send','replace','IConfigService','resize','UniverDrawing','_cursorShapes','univerjs-icon\x20univerjs-icon-','INotificationService','set','toRgbString','stringify','popstate','_color','WECHAT_HAS_BEEN_BOUND','text','getColorFromTheme','data','_initResize','isArray','COLORS','range','_initStatusComponent','getOffsetConfig','combineLatest','unsubscribe','SheetCollabCursorShape','height','push','react/jsx-runtime','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','handleInsertRangeMoveRight','_sheetSkeletonManagerService','setParam','_updateLocalCursor','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','registerComponent','assign','BehaviorSubject','unitID','origin','svg','prototype','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','_docTransformStateCacheService','_hovered','apply','_hover','defineProperty','size','@univerjs/docs','replaceDocRanges','registerDependencies','getAncestorScale','0\x200\x2016\x2016','setItem','exhaustSavingTask','_getScale','generateRandomId','_refRangeService','UniverDesign','TOO_MANY_REQUESTS','registerBeforeClose','_hideTimer','values','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','with','DesktopCollaborationStatusDisplayController','clearTimeout','onStarting','_updateCollabCursors','deepClone','toString','_initDependencies','_setupSubUnitSync','createInstance','unshift','entityInit$','m1Prime','dispose$','@univerjs-pro/collaboration','createIdentifier','_updateSubUnitFromURLParams','m2Prime','_docSkeleton','Error','RxDisposable','@univerjs/engine-render','event$','_collaborationController','backgroundColor','beginPath','_commandService','#FFF','4527LMxRyL','UNIVER_SHEET','_disabled','_eventUnsubscribe','_textBubble','_initStatusListener','getSkeleton','displayName','Optional','isTransformMutationFailure','_dataLoaderService','enableLocalCache','_logService','Warning','NOT_FOUND','undoState','YUUMI_ALL_TABLES_IS_INVALID','_handleEvent','runId','getOwnPropertySymbols','SheetSkeletonManagerService','collaboration-client.offline-data-not-saved','_colorIndex','UniverCore','React','DocIMEInputManagerService','evenodd','_collabSessionService','MessageType','onPointerMove$','redoState','collaboration-client-ui.config','debounce','0\x200\x2017\x2016','add','asObservable','http://www.w3.org/2000/svg','_drawRectRange','transformMutation','_instanceService','DocSelectionManagerService','_clearOtherTimers','PENDING','1em','filter','pushState','getCurrentSelections','sessionStatus$','ITransformService','ALREADY_EXISTS','transformMutationsWithChangeset','getTypeOfUnitDisposed$','send','PERMISSION_DENIED','_httpService','_docClipboardService','AWAITING_WITH_PENDING','VIEW_MAIN','Inject','error','moveTo','_range','_docTransformSelectionsService','collabStatus.fetchMiss','_entityInit$','RevisionService','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','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getUndoRedoMutationParamsCache','WebURLService','_toggleOffline','NodePositionConvertToCursor','_unitOnClients','_entities','addClipboardHook','restore','max','getMergeData','next','_scheduleClearOtherTimer','memberID','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','_configService','USER_NOT_INVITED_CODE','getUnhiddenWorksheets','currentTheme$','OFFLINE','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','collabStatus.notCollab','toDisposable','SOCKET_FAILED_RETRY','_labelPosition','_collabCursorState$','SessionStatus','WebBrowserSingleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','/run/','collaboration.single-unit.warning','_docSkeletonManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','registerRenderModule','getFocusedUnit','@univerjs/docs-ui','_roomMembers$','_getMergeRange','params','DEFAULT_WS_SESSION_TICKET_URL','TEXT_RANGE_LAYER_INDEX','_notificationService','DocStateChangeManagerService','Subject','subscribe','RichTextEditingMutation','_localCacheService','RemoveColCommandId','currentSkeleton$','getRangePointData','handleIRemoveCol','CollaborationUIEventService','jsx','from','IImageIoService','find','getStateCache','addObjects','children','history','UniverProCollaboration','startRow','name','onPointerLeave$','amd','complete','_colorAssignService','addHandlerCallback','_name','save','SOCKET_FAILED','doc.mutation.rich-text-editing','_shapes','_messageService','triggerDblclick','handleInsertCol','use','collab-text-anchor-','dispose','font','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','defIds','getSheetObject','MemberService','transformRemoteChangeset','attrs','searchParams','IDocClipboardService','mask','xlink:href','transformSelections','color','arc','BrowserCollaborationSocketService','UPDATE_CURSOR','getActiveSheet','_imageIoService','imageSourceType','_config','get','...','entries','focused$','takeUntil','_removeCollabCursors','includes','2401805pojINa','UNRECOGNIZED','labelPosition','CollaborationSessionService','location','cursorInfo','defs','useCallback','invokeId','_online','translate(.97)','UniverDocsUi','_handleHover','_docSyncEditingCollabCursorService','subunit','green.600','getUnitId','concat','AWAITING','_localeService','loadUnit','then','SetWorksheetActivateCommand','2177568DIAZMK','_session','clearInterval','SHEET_VIEWPORT_KEY','DataLoaderService','95wEToaw','_transformService','getRenderById','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','exports','_anchorDot','fill','UniverInstanceType','jsxs','ISnapshotServerService','body','useObservable','useDependency','skeleton','M0\x200H16V16H0z','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_docStateChangeManagerService','Rectangle','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','parse','indexOf','_scheduleSaving','whenReady','useRef','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocSkeletonManagerService','drawWith','setUndoRedoMutationParamsCache','_initEntityListener','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_REQUIRED','ILocalCacheService','LocaleService','runRefRangeMutations','_ensureSubject','_cursor','Unknown\x20user','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/sheets','result','EMAIL_HAS_BEEN_BOUND','current','UNAUTHENTICATED','34179cihvlX','switchMap','@univerjs/core','getLocalCacheKey','getMember','replaceState','rgba(255,\x20255,\x20255,\x200.01)','Rect','transformByState','path','fillRule','setTimeout','disposeWithMe','UnitStatus','all','requireSession','EffectRefRangId','handleInsertRow','_registerDependencies','object','search','OnLineIcon','map','colorChannel1','wsSessionTicketUrl','1086sIQlbb','_syncEditingCollabCursorService','_injector','code','setAlpha','getCoordByCell','startsWith','forEach','flatMap','permission.content','CollaborationEvent','Tooltip','UniverEngineFormula','length','getCollabCursors$','hovered','onCommandExecuted','collab-text-range-','status$','NO_OTHER_CLIENTS_EDITING','@univerjs/sheets-ui','UNIVER_DOC','storage','getCellPositionByOffset','on-line-icon_clip0_910_349','substring','syncEditingCollabCursor','registerRefRange','FETCH_MISS','_transformHistoryAndStateStack','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','_memberService','icon','transform','getVpScrollXYInfoByPosToVp','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','SUBMIT_CHANGESET_TIMEOUT','disposeUnit','react','collabStatus.offline','session.connection-failed','removeParam','ILocalStorageService','_status$','_saveTaskMap','RegularPolygon','forwardRef','_transformPreviousActiveRange','_updateURLWithCurrentState','InsertRowCommandId','white','DeleteRangeMoveUpCommandId','_docTransformIMECacheService','connectInjector','docStateChange$','_scene','textRanges','call','INVALID_ARGUMENT','TEXT','UniverUi','mutations','_collaborationUIEventService','SYNCED','_localStorageService','handleInsertRangeMoveDown','CollaborationStatus','_handleJoinEvent','none','column','_cachedData','clipPath','@univerjs/design','_themeService','ranges','executionId','CollaborationController','Injector','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','tag','getItem','purple.300','APPLY_PERMISSION_DENIED','ticket','fillStyle','createElement','HTTPService','YUUMI_AI_RUN_FAILED','getCurrent','SheetsSelectionsService','_saveCache','closePath','contains','collabCursorState$','_drawAnchor','_onRefRangeChange','WebSocketService','@univerjs/rpc','MoveRangeCommandId','selection','unitId','show','lineTo','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_id','INVALID_INVITE_CODE','_renderManagerService','NOT_COLLAB','Failed','mergeOverrideWithDependencies','roomMembers','string','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getColor','debounceTime','throttleTime','getTypeOfUnitAdded$','startColumn','_draw','DocCollaborationEntity','_setupBeforeClosingHandler','href','RefRangeService','LOGIN_FAILED','round','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','roomMembers$','getConfig','COMPLETION_FINISHED','ColorKit','BuiltInUIPart','setStateCache','has','_backgroundColor','_lastPointer','APPLY_REJECT','width','getRelativeToViewportCoord','_collabCursorController','_initCommandExecutedListener','onMouseMove','addEventListener','url(#off-line-icon_clip0_910_343)','className','OTHER_CLIENTS_EDITING','_uiPartsService','UniverCollaborationClientUIPlugin','permission.title','getMemberID','ISocketService','USERS_LEAVE','8184832mRoVwR','CollaborationDataLoaderController','IUniverInstanceService','endRow','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','extend','_init','getDocRanges','merge','UniverProCollaborationClientUi','_anchor','bottom','session.will-retry','black','_startDocCollabCursor','rxjs','_createSocketURL','ICommandService','loadOfflineData','MUTATION','DependentOn','[CollaborationDataLoaderController]','UniverNetwork','url(#$1','getViewport','UniverProCollaborationClient','setInterval','collab-rect-range-','updateOfflineData','addObject','Tools','sheetId','source','CollaborationUIEventId','on-line-icon','assignAColorForMemberID','_unitStatus','_scheduleHeartbeat','yellow.400','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','propertyIsEnumerable','getUnitStatus$','urlChange$','div','_onCursorUpdate','unload','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','1373584TsqTLk','hide','eventID','onLocalMutation','getSheetId','_beforeCloseService','init','YUUMI_ASYNCIO_CANCELLED'];_0x4199=function(){return _0x1c2415;};return _0x4199();}
|
|
1
|
+
(function(_0x111195,_0x1aed71){const _0x354718=_0x242f,_0x42550d=_0x111195();while(!![]){try{const _0xb0401a=-parseInt(_0x354718(0x268))/0x1+-parseInt(_0x354718(0x43e))/0x2+parseInt(_0x354718(0x2f8))/0x3*(-parseInt(_0x354718(0x3f4))/0x4)+parseInt(_0x354718(0x270))/0x5*(parseInt(_0x354718(0x406))/0x6)+-parseInt(_0x354718(0x2b9))/0x7+-parseInt(_0x354718(0x1df))/0x8*(-parseInt(_0x354718(0x397))/0x9)+-parseInt(_0x354718(0x305))/0xa*(-parseInt(_0x354718(0x329))/0xb);if(_0xb0401a===_0x1aed71)break;else _0x42550d['push'](_0x42550d['shift']());}catch(_0x423910){_0x42550d['push'](_0x42550d['shift']());}}}(_0x3ada,0x40706),function(_0x98e944,_0x17dff6){const _0x4c66b2=_0x242f;typeof exports==_0x4c66b2(0x2ce)&&typeof module<'u'?_0x17dff6(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x4c66b2(0x2f5)&&define[_0x4c66b2(0x290)]?define([_0x4c66b2(0x259),_0x4c66b2(0x200),'@univerjs-pro/collaboration-client',_0x4c66b2(0x292),_0x4c66b2(0x2a1),'rxjs',_0x4c66b2(0x2fe),_0x4c66b2(0x2cb),'@univerjs/rpc',_0x4c66b2(0x2f1),_0x4c66b2(0x3a6),'@univerjs/network',_0x4c66b2(0x2e9),_0x4c66b2(0x2f7),_0x4c66b2(0x306),_0x4c66b2(0x3f3),_0x4c66b2(0x38c),_0x4c66b2(0x36e),_0x4c66b2(0x322)],_0x17dff6):(_0x98e944=typeof globalThis<'u'?globalThis:_0x98e944||self,_0x17dff6(_0x98e944[_0x4c66b2(0x3aa)]={},_0x98e944['React'],_0x98e944[_0x4c66b2(0x207)],_0x98e944[_0x4c66b2(0x42b)],_0x98e944[_0x4c66b2(0x3a7)],_0x98e944[_0x4c66b2(0x393)],_0x98e944['UniverDesign'],_0x98e944[_0x4c66b2(0x3ed)],_0x98e944['UniverRpc'],_0x98e944[_0x4c66b2(0x367)],_0x98e944[_0x4c66b2(0x1c4)],_0x98e944[_0x4c66b2(0x3ca)],_0x98e944['UniverDocsUi'],_0x98e944['UniverDrawing'],_0x98e944['UniverProCollaboration'],_0x98e944[_0x4c66b2(0x229)],_0x98e944[_0x4c66b2(0x315)],_0x98e944[_0x4c66b2(0x393)][_0x4c66b2(0x32a)],_0x98e944[_0x4c66b2(0x310)]));}(this,function(_0x96e8e,_0x237eed,_0x5e077a,_0x1690bf,_0x1887d4,_0x5f3a87,_0x3268b8,_0x5caa15,_0x96ba77,_0x15fec7,_0x33db0a,_0x1df59e,_0x47ddb5,_0x5c1b2d,_0x116245,_0xfb74c4,_0x14ad49,_0x47fb2a,_0xba4c08){'use strict';const _0x27b8a5=_0x242f;var _0x45e489=Object[_0x27b8a5(0x3f7)],_0x552d3e=(_0x58638d,_0x3d6eb9,_0x479932)=>_0x3d6eb9 in _0x58638d?_0x45e489(_0x58638d,_0x3d6eb9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x479932}):_0x58638d[_0x3d6eb9]=_0x479932,_0x42073c=(_0xf21df,_0x1bcc69,_0x55617d)=>_0x552d3e(_0xf21df,typeof _0x1bcc69!=_0x27b8a5(0x21d)?_0x1bcc69+'':_0x1bcc69,_0x55617d),_0x2e5abd=function(){return _0x2e5abd=Object['assign']||function(_0x5df10d){const _0x4d628b=_0x242f;for(var _0x412259,_0x1bb2a4=0x1,_0x2733aa=arguments[_0x4d628b(0x1ce)];_0x1bb2a4<_0x2733aa;_0x1bb2a4++){_0x412259=arguments[_0x1bb2a4];for(var _0x5e2596 in _0x412259)Object[_0x4d628b(0x439)][_0x4d628b(0x33a)][_0x4d628b(0x370)](_0x412259,_0x5e2596)&&(_0x5df10d[_0x5e2596]=_0x412259[_0x5e2596]);}return _0x5df10d;},_0x2e5abd['apply'](this,arguments);},_0x1ed90c=function(_0x5490a0,_0x85ff43){const _0x59c3d3=_0x27b8a5;var _0x42efc2={};for(var _0x4d0336 in _0x5490a0)Object['prototype'][_0x59c3d3(0x33a)][_0x59c3d3(0x370)](_0x5490a0,_0x4d0336)&&_0x85ff43[_0x59c3d3(0x2b7)](_0x4d0336)<0x0&&(_0x42efc2[_0x4d0336]=_0x5490a0[_0x4d0336]);if(_0x5490a0!=null&&typeof Object[_0x59c3d3(0x2b0)]=='function'){for(var _0x319c9c=0x0,_0x4d0336=Object[_0x59c3d3(0x2b0)](_0x5490a0);_0x319c9c<_0x4d0336[_0x59c3d3(0x1ce)];_0x319c9c++)_0x85ff43[_0x59c3d3(0x2b7)](_0x4d0336[_0x319c9c])<0x0&&Object[_0x59c3d3(0x439)][_0x59c3d3(0x1b3)][_0x59c3d3(0x370)](_0x5490a0,_0x4d0336[_0x319c9c])&&(_0x42efc2[_0x4d0336[_0x319c9c]]=_0x5490a0[_0x4d0336[_0x319c9c]]);}return _0x42efc2;},_0x3a8f2f=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x472753,_0x444f59){const _0x5c794d=_0x27b8a5;var _0x3d562f=_0x472753[_0x5c794d(0x3dd)],_0xb03f06=_0x472753['id'],_0x1c2f26=_0x472753[_0x5c794d(0x365)],_0x1a9194=_0x472753[_0x5c794d(0x2d0)],_0x3a375d=_0x1ed90c(_0x472753,[_0x5c794d(0x3dd),'id',_0x5c794d(0x365),_0x5c794d(0x2d0)]),_0x551d0d=_0x5c794d(0x339)[_0x5c794d(0x3bf)](_0xb03f06,'\x20')[_0x5c794d(0x3bf)](_0x1c2f26||'')['trim'](),_0x1ba205=_0x5caa15[_0x5c794d(0x237)]('_'['concat'](_0x3beebb()));return _0xd1ff8(_0x3d562f,''[_0x5c794d(0x3bf)](_0xb03f06),{'defIds':_0x3d562f['defIds'],'idSuffix':_0x1ba205[_0x5c794d(0x228)]},_0x2e5abd({'ref':_0x444f59,'className':_0x551d0d},_0x3a375d),_0x1a9194);});function _0xd1ff8(_0x3f5498,_0x397574,_0x3b13cb,_0xdbaee8,_0x37b0b4){const _0x59fee6=_0x27b8a5;return _0x5caa15[_0x59fee6(0x1fd)](_0x3f5498[_0x59fee6(0x3b4)],_0x2e5abd(_0x2e5abd({'key':_0x397574},_0x3f2dcf(_0x3f5498,_0x3b13cb,_0x37b0b4)),_0xdbaee8),(_0x24e6b6(_0x3f5498,_0x3b13cb)[_0x59fee6(0x22f)]||[])[_0x59fee6(0x347)](function(_0x274637,_0x2c3364){const _0x3327eb=_0x59fee6;return _0xd1ff8(_0x274637,''[_0x3327eb(0x3bf)](_0x397574,'-')['concat'](_0x3f5498[_0x3327eb(0x3b4)],'-')[_0x3327eb(0x3bf)](_0x2c3364),_0x3b13cb,void 0x0,_0x37b0b4);}));}function _0x3f2dcf(_0x35df79,_0x510857,_0x1e0e01){const _0x260293=_0x27b8a5;var _0x19f6eb=_0x2e5abd({},_0x35df79[_0x260293(0x407)]);_0x1e0e01!=null&&_0x1e0e01['colorChannel1']&&_0x19f6eb[_0x260293(0x20a)]===_0x260293(0x296)&&(_0x19f6eb[_0x260293(0x20a)]=_0x1e0e01['colorChannel1']),_0x35df79['tag']==='mask'&&_0x19f6eb['id']&&(_0x19f6eb['id']=_0x19f6eb['id']+_0x510857[_0x260293(0x27b)]),Object[_0x260293(0x22a)](_0x19f6eb)[_0x260293(0x2ad)](function(_0x58e362){const _0x3bcb3b=_0x260293;var _0x1ce617=_0x58e362[0x0],_0x222761=_0x58e362[0x1];_0x1ce617===_0x3bcb3b(0x2ae)&&typeof _0x222761==_0x3bcb3b(0x42c)&&(_0x19f6eb[_0x1ce617]=_0x222761['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x510857['idSuffix'],')')));});var _0x5433ed=_0x510857[_0x260293(0x28e)];return!_0x5433ed||_0x5433ed['length']===0x0||(_0x35df79['tag']===_0x260293(0x328)&&_0x19f6eb['xlink:href']&&(_0x19f6eb[_0x260293(0x271)]=_0x19f6eb[_0x260293(0x271)]+_0x510857[_0x260293(0x27b)]),Object[_0x260293(0x22a)](_0x19f6eb)[_0x260293(0x2ad)](function(_0x45a7f9){const _0x2d0455=_0x260293;var _0x6206a3=_0x45a7f9[0x0],_0xf631e1=_0x45a7f9[0x1];typeof _0xf631e1==_0x2d0455(0x42c)&&(_0x19f6eb[_0x6206a3]=_0xf631e1[_0x2d0455(0x1bc)](/url\(#(.*)\)/,_0x2d0455(0x3fb)[_0x2d0455(0x3bf)](_0x510857['idSuffix'],')')));})),_0x19f6eb;}function _0x24e6b6(_0x5d4f78,_0x26a93d){const _0x333828=_0x27b8a5;var _0x5d7041,_0x349f8a=_0x26a93d[_0x333828(0x28e)];return!_0x349f8a||_0x349f8a[_0x333828(0x1ce)]===0x0?_0x5d4f78:_0x5d4f78[_0x333828(0x3b4)]===_0x333828(0x2b3)&&(!((_0x5d7041=_0x5d4f78['children'])===null||_0x5d7041===void 0x0)&&_0x5d7041[_0x333828(0x1ce)])?_0x2e5abd(_0x2e5abd({},_0x5d4f78),{'children':_0x5d4f78[_0x333828(0x22f)][_0x333828(0x347)](function(_0xf7824f){const _0x5af2e4=_0x333828;return typeof _0xf7824f[_0x5af2e4(0x407)]['id']==_0x5af2e4(0x42c)&&_0x349f8a&&_0x349f8a['includes'](_0xf7824f[_0x5af2e4(0x407)]['id'])?_0x2e5abd(_0x2e5abd({},_0xf7824f),{'attrs':_0x2e5abd(_0x2e5abd({},_0xf7824f[_0x5af2e4(0x407)]),{'id':_0xf7824f[_0x5af2e4(0x407)]['id']+_0x26a93d[_0x5af2e4(0x27b)]})}):_0xf7824f;})}):_0x5d4f78;}function _0x3beebb(){const _0xf05bf4=_0x27b8a5;return Math[_0xf05bf4(0x37e)]()[_0xf05bf4(0x412)](0x24)[_0xf05bf4(0x2c3)](0x2,0x8);}_0x3a8f2f[_0x27b8a5(0x266)]=_0x27b8a5(0x3c0);var _0xee401={'tag':_0x27b8a5(0x34f),'attrs':{'xmlns':_0x27b8a5(0x1eb),'fill':_0x27b8a5(0x32c),'viewBox':_0x27b8a5(0x1b7),'width':_0x27b8a5(0x368),'height':_0x27b8a5(0x368)},'children':[{'tag':'g','attrs':{'clipPath':_0x27b8a5(0x2b1)},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'stroke':_0x27b8a5(0x230),'d':_0x27b8a5(0x2e8),'strokeLinecap':_0x27b8a5(0x297),'strokeLinejoin':_0x27b8a5(0x297),'strokeWidth':1.2}}]},{'tag':_0x27b8a5(0x2b3),'attrs':{},'children':[{'tag':_0x27b8a5(0x391),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'fill':'white','d':_0x27b8a5(0x2ca)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x49b2f1=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x3cd382,_0x30c742){const _0x52c5f6=_0x27b8a5;return _0x5caa15[_0x52c5f6(0x1fd)](_0x3a8f2f,Object[_0x52c5f6(0x42f)]({},_0x3cd382,{'id':_0x52c5f6(0x226),'ref':_0x30c742,'icon':_0xee401}));});_0x49b2f1[_0x27b8a5(0x266)]='OffLineIcon';var _0x39b149={'tag':_0x27b8a5(0x34f),'attrs':{'xmlns':_0x27b8a5(0x1eb),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x27b8a5(0x368),'height':_0x27b8a5(0x368)},'children':[{'tag':'g','attrs':{'clipPath':_0x27b8a5(0x33f)},'children':[{'tag':'path','attrs':{'stroke':_0x27b8a5(0x230),'d':_0x27b8a5(0x3ce),'strokeLinecap':_0x27b8a5(0x297),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x27b8a5(0x2b3),'attrs':{},'children':[{'tag':_0x27b8a5(0x391),'attrs':{'id':_0x27b8a5(0x3ff)},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'fill':'white','d':_0x27b8a5(0x2ca),'transform':_0x27b8a5(0x293)}}]}]}],'defIds':[_0x27b8a5(0x3ff)]},_0x398ad5=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x214e32,_0x51ecf7){const _0x424295=_0x27b8a5;return _0x5caa15[_0x424295(0x1fd)](_0x3a8f2f,Object[_0x424295(0x42f)]({},_0x214e32,{'id':'on-line-icon','ref':_0x51ecf7,'icon':_0x39b149}));});_0x398ad5[_0x27b8a5(0x266)]=_0x27b8a5(0x32d);function _0x51d400(_0x46a569){const _0x39986b=_0x27b8a5;switch(_0x46a569){case _0x5e077a[_0x39986b(0x20e)]['OFFLINE']:return _0x39986b(0x324);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x3e7)]:return _0x39986b(0x388);case _0x5e077a['CollaborationStatus']['FETCH_MISS']:return _0x39986b(0x3e9);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x1fa)]:return _0x39986b(0x2d1);case _0x5e077a['CollaborationStatus'][_0x39986b(0x385)]:case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x378)]:return _0x39986b(0x386);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x2bd)]:case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x3ea)]:return _0x39986b(0x1ea);}}function _0x1707f1(_0x40b93d){const _0x300a65=_0x27b8a5,{status$:_0x3c64bd}=_0x40b93d,_0x46d1e3=_0x1887d4[_0x300a65(0x3a4)](_0x3c64bd,_0x5e077a[_0x300a65(0x20e)][_0x300a65(0x1fa)]),_0x18170d=_0x1887d4[_0x300a65(0x26f)](_0x1690bf[_0x300a65(0x349)]),_0x19645d=_0x1887d4['useDependency'](_0x5e077a[_0x300a65(0x1bd)]),_0x56cf2f=_0x46d1e3!==_0x5e077a[_0x300a65(0x20e)][_0x300a65(0x233)],_0x457ec6=_0x18170d['t'](_0x51d400(_0x46d1e3)),_0x35a731=_0x56cf2f?_0x237eed[_0x300a65(0x2b4)](_0x398ad5,{}):_0x237eed['jsx'](_0x49b2f1,{}),_0x33870d=_0x5caa15[_0x300a65(0x3ab)](()=>{const _0x340516=_0x300a65;_0x56cf2f||_0x19645d[_0x340516(0x43f)]();},[_0x56cf2f,_0x19645d]);function _0x51a1c7(){const _0x55fd04=_0x300a65;return _0x237eed['jsxs'](_0x55fd04(0x1b9),{'className':_0x55fd04(0x3b1),'onClick':_0x33870d,'children':[_0x237eed[_0x55fd04(0x2b4)](_0x55fd04(0x1b9),{'className':_0x3268b8[_0x55fd04(0x418)](_0x55fd04(0x313),{'univer-text-green-500':_0x56cf2f,'univer-text-red-500':!_0x56cf2f}),'children':_0x35a731}),_0x237eed['jsx']('div',{'className':_0x55fd04(0x3b7),'children':_0x457ec6})]});}return _0x56cf2f?_0x51a1c7():_0x237eed['jsx'](_0x3268b8[_0x300a65(0x223)],{'title':_0x18170d['t']('collab-client.tooltip.reconnect'),'children':_0x51a1c7()});}var _0x21cbc2=Object['getOwnPropertyDescriptor'],_0x321c06=(_0xe26eb2,_0x3565b8,_0x19acb2,_0x3a7bca)=>{const _0x434197=_0x27b8a5;for(var _0x34e087=_0x3a7bca>0x1?void 0x0:_0x3a7bca?_0x21cbc2(_0x3565b8,_0x19acb2):_0x3565b8,_0x261d77=_0xe26eb2[_0x434197(0x1ce)]-0x1,_0x6e17b7;_0x261d77>=0x0;_0x261d77--)(_0x6e17b7=_0xe26eb2[_0x261d77])&&(_0x34e087=_0x6e17b7(_0x34e087)||_0x34e087);return _0x34e087;},_0x281dbf=(_0x108112,_0x276caa)=>(_0x248a95,_0x57ec8b)=>_0x276caa(_0x248a95,_0x57ec8b,_0x108112);_0x96e8e[_0x27b8a5(0x376)]=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x13e7e5,_0x21e1ad,_0x51f4f3,_0x553775){const _0xe1207f=_0x27b8a5;super(),_0x42073c(this,_0xe1207f(0x1f8),new _0x5f3a87['BehaviorSubject'](_0x5e077a[_0xe1207f(0x20e)][_0xe1207f(0x1fa)])),(this[_0xe1207f(0x357)]=_0x13e7e5,this['_injector']=_0x21e1ad,this[_0xe1207f(0x1d8)]=_0x51f4f3,this[_0xe1207f(0x1e7)]=_0x553775,this[_0xe1207f(0x221)](),this[_0xe1207f(0x1b5)]());}[_0x27b8a5(0x1b5)](){const _0x117441=_0x27b8a5;this[_0x117441(0x41a)](this[_0x117441(0x357)]['focused$']['pipe'](_0x5f3a87[_0x117441(0x1bb)](()=>{const _0x471907=_0x117441,_0xe3d93d=this[_0x471907(0x357)]['getFocusedUnit']();return _0xe3d93d?this['_collaborationController']['getCollabEntity$'](_0xe3d93d[_0x471907(0x3a0)]()):_0x5f3a87['of'](null);}),_0x5f3a87[_0x117441(0x1bb)](_0x5b9eed=>_0x5b9eed?_0x5b9eed[_0x117441(0x2e7)]:_0x5f3a87['of'](_0x5e077a[_0x117441(0x20e)][_0x117441(0x1fa)])))['subscribe'](_0x2adf8b=>{const _0x1c0d17=_0x117441;this[_0x1c0d17(0x1f8)][_0x1c0d17(0x1b0)](_0x2adf8b);}));}['_initStatusComponent'](){const _0xe59899=_0x27b8a5;this[_0xe59899(0x41a)](this['_uiPartsService'][_0xe59899(0x421)](_0x1887d4[_0xe59899(0x387)][_0xe59899(0x224)],()=>_0x1887d4[_0xe59899(0x2ea)](_0x450017({'status$':this[_0xe59899(0x1f8)][_0xe59899(0x355)]()}),this['_injector'])));}},_0x96e8e[_0x27b8a5(0x376)]=_0x321c06([_0x281dbf(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x281dbf(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x281dbf(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3f9)])),_0x281dbf(0x3,_0x1887d4['IUIPartsService'])],_0x96e8e[_0x27b8a5(0x376)]);function _0x450017(_0x52d308){const {status$:_0x5898cc}=_0x52d308;return function(){const _0x515f35=_0x242f;return _0x237eed[_0x515f35(0x2b4)](_0x1707f1,{'status$':_0x5898cc});};}const _0x42645a=_0x1690bf['createIdentifier']('uni.network.url-service');var _0x4a7c9e=Object[_0x27b8a5(0x23a)],_0x64976d=(_0x4d1ec2,_0xcb803a,_0x206ff0,_0xf82cfc)=>{for(var _0x213c7b=_0xf82cfc>0x1?void 0x0:_0xf82cfc?_0x4a7c9e(_0xcb803a,_0x206ff0):_0xcb803a,_0x489451=_0x4d1ec2['length']-0x1,_0x372d39;_0x489451>=0x0;_0x489451--)(_0x372d39=_0x4d1ec2[_0x489451])&&(_0x213c7b=_0x372d39(_0x213c7b)||_0x213c7b);return _0x213c7b;},_0x4a9544=(_0x1db6a3,_0x2e6b81)=>(_0x4d202a,_0x47d461)=>_0x2e6b81(_0x4d202a,_0x47d461,_0x1db6a3);_0x96e8e[_0x27b8a5(0x1ba)]=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x53033b,_0x1cfa3b,_0xef5c1e,_0x42d2b4,_0x14e270){const _0x26763f=_0x27b8a5;super(),this['_urlService']=_0x53033b,this[_0x26763f(0x35e)]=_0x1cfa3b,this['_commandService']=_0xef5c1e,this['_dataLoaderService']=_0x42d2b4,_0x14e270?_0x14e270==null||_0x14e270['whenReady']()['then'](()=>this[_0x26763f(0x26d)]()):(this['_logService'][_0x26763f(0x1e6)](_0x26763f(0x211),_0x26763f(0x2ff)),this[_0x26763f(0x26d)]());}async[_0x27b8a5(0x26d)](){const _0x1f4fa0=_0x27b8a5,_0x5df59d=this[_0x1f4fa0(0x3f1)][_0x1f4fa0(0x422)]('unit'),_0x169875=this[_0x1f4fa0(0x3f1)]['getParam'](_0x1f4fa0(0x2dd)),_0x15953a=this['_urlService']['getParam'](_0x1f4fa0(0x432));if(!_0x5df59d||!_0x169875){this[_0x1f4fa0(0x35e)][_0x1f4fa0(0x1e6)]('[CollaborationDataLoaderController]',_0x1f4fa0(0x1d5));return;}const _0x57bbf7=await this[_0x1f4fa0(0x245)]['loadUnit'](_0x5df59d,Number(_0x169875),_0x15953a);_0x57bbf7&&_0x57bbf7 instanceof _0x1690bf[_0x1f4fa0(0x431)]&&this['_setupSubUnitSync'](_0x57bbf7);}async[_0x27b8a5(0x343)](_0x52fb37){const _0x56251d=_0x27b8a5;await this[_0x56251d(0x2c0)](_0x52fb37),_0x52fb37[_0x56251d(0x3d9)][_0x56251d(0x424)](_0x5f3a87[_0x56251d(0x404)](this[_0x56251d(0x214)]))[_0x56251d(0x390)](_0x2ebf52=>{_0x2ebf52&&this['_updateURLWithCurrentState'](_0x2ebf52);}),this['_urlService'][_0x56251d(0x1e3)]['pipe'](_0x5f3a87[_0x56251d(0x404)](this[_0x56251d(0x214)]))['subscribe'](()=>this[_0x56251d(0x2c0)](_0x52fb37));}[_0x27b8a5(0x1ee)](_0x588481,_0xd4b6fd=!0x1){const _0x16efd3=_0x27b8a5,_0x5e8f82=this[_0x16efd3(0x3f1)][_0x16efd3(0x422)](_0x16efd3(0x432));_0x588481[_0x16efd3(0x3ac)]()!==_0x5e8f82&&this[_0x16efd3(0x3f1)][_0x16efd3(0x2fb)](_0x16efd3(0x432),_0x588481[_0x16efd3(0x3ac)](),_0xd4b6fd);}async[_0x27b8a5(0x2c0)](_0x317bb5){const _0x4d383c=_0x27b8a5;var _0x40c153;const _0x5e7f21=this[_0x4d383c(0x3f1)][_0x4d383c(0x422)](_0x4d383c(0x432));if(!_0x5e7f21||!_0x317bb5[_0x4d383c(0x212)](_0x5e7f21)){const _0x460489=_0x317bb5[_0x4d383c(0x3f6)]()[0x0],_0x550c67=_0x317bb5[_0x4d383c(0x212)](_0x460489);if(!_0x550c67)return;this[_0x4d383c(0x1ee)](_0x550c67,!0x0),await this[_0x4d383c(0x371)][_0x4d383c(0x341)](_0x15fec7['SetWorksheetActivateCommand']['id'],{'unitId':_0x317bb5[_0x4d383c(0x3a0)](),'subUnitId':_0x460489});return;}((_0x40c153=_0x317bb5['getActiveSheet']())==null?void 0x0:_0x40c153[_0x4d383c(0x3ac)]())!==_0x5e7f21&&await this[_0x4d383c(0x371)][_0x4d383c(0x341)](_0x15fec7[_0x4d383c(0x218)]['id'],{'unitId':_0x317bb5[_0x4d383c(0x3a0)](),'subUnitId':_0x5e7f21});}},_0x96e8e['CollaborationDataLoaderController']=_0x64976d([_0x4a9544(0x0,_0x42645a),_0x4a9544(0x1,_0x1690bf[_0x27b8a5(0x3c3)]),_0x4a9544(0x2,_0x1690bf['ICommandService']),_0x4a9544(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a['DataLoaderService'])),_0x4a9544(0x4,_0x1690bf['Optional'](_0x96ba77[_0x27b8a5(0x287)]))],_0x96e8e[_0x27b8a5(0x1ba)]);var _0xc5280a=Object[_0x27b8a5(0x23a)],_0x544730=(_0x4fd709,_0x3628c4,_0xf0444f,_0x4256ca)=>{for(var _0x1a7f64=_0x4256ca>0x1?void 0x0:_0x4256ca?_0xc5280a(_0x3628c4,_0xf0444f):_0x3628c4,_0x4f60c1=_0x4fd709['length']-0x1,_0x55cca8;_0x4f60c1>=0x0;_0x4f60c1--)(_0x55cca8=_0x4fd709[_0x4f60c1])&&(_0x1a7f64=_0x55cca8(_0x1a7f64)||_0x1a7f64);return _0x1a7f64;},_0x35f262=(_0x3dc5b9,_0x3508f6)=>(_0x2c22c4,_0x153774)=>_0x3508f6(_0x2c22c4,_0x153774,_0x3dc5b9);let _0x24aa6a=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x544ef6,_0x50541e){const _0x34aade=_0x27b8a5;super(),this[_0x34aade(0x249)]=_0x544ef6,this['_imageIoService']=_0x50541e,this[_0x34aade(0x26d)]();}['_init'](){const _0x329579=_0x27b8a5,_0x449101=this;this[_0x329579(0x41a)](this[_0x329579(0x249)][_0x329579(0x29f)]({'onBeforePasteImage':async _0x58ef7b=>{const _0x83cc2f=_0x329579,_0x3c2f95=await _0x449101['_imageIoService'][_0x83cc2f(0x2c1)](_0x58ef7b);return _0x3c2f95?{'source':_0x3c2f95['source'],'imageSourceType':_0x3c2f95['imageSourceType']}:null;}}));}};_0x24aa6a=_0x544730([_0x35f262(0x0,_0x47ddb5['IDocClipboardService']),_0x35f262(0x1,_0x5c1b2d[_0x27b8a5(0x352)])],_0x24aa6a);const _0xa1b0c4=[_0x27b8a5(0x21e),'jiqing.500',_0x27b8a5(0x2af),_0x27b8a5(0x3ba),_0x27b8a5(0x2bb),'yellow.400'];class _0xade64f extends _0x1690bf[_0x27b8a5(0x202)]{constructor(){const _0x4e6058=_0x27b8a5;super(...arguments),_0x42073c(this,_0x4e6058(0x30d),new Map()),_0x42073c(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4bc86d){const _0x5e35d9=_0x27b8a5;if(this['_assignedColors'][_0x5e35d9(0x288)](_0x4bc86d))return this[_0x5e35d9(0x30d)][_0x5e35d9(0x1e0)](_0x4bc86d);const _0x36bb41=_0xa1b0c4[this[_0x5e35d9(0x1b6)]];return this[_0x5e35d9(0x1b6)]=(this[_0x5e35d9(0x1b6)]+0x1)%_0xa1b0c4[_0x5e35d9(0x1ce)],this['_assignedColors'][_0x5e35d9(0x2eb)](_0x4bc86d,_0x36bb41),_0x36bb41;}}function _0x46aa80(_0xe63208){let _0x2922af='';for(const _0x3e69d0 of _0xe63208){const {startOffset:_0x777df5,endOffset:_0x46441f,isActive:_0x496216,rangeType:_0xc60654,segmentId:_0x364497,segmentPage:_0x388ab5}=_0x3e69d0;_0x2922af['length']&&(_0x2922af+=','),_0x2922af+=_0x777df5+':'+_0x46441f+':'+(_0x496216?'1':'0')+':'+_0xc60654+':'+_0x364497+':'+_0x388ab5;}return _0x2922af;}function _0x4fdb75(_0x359e10){const _0x20b66a=_0x27b8a5,_0x33a034=_0x359e10[_0x20b66a(0x361)](','),_0x498648=[];for(const _0x3528bf of _0x33a034){const [_0x218a77,_0x1e6a7a,_0x422ffc,_0x573e6d,_0x20e45e,_0x30f94a]=_0x3528bf[_0x20b66a(0x361)](':');_0x498648[_0x20b66a(0x2a7)]({'startOffset':Number(_0x218a77),'endOffset':Number(_0x1e6a7a),'collapsed':_0x218a77===_0x1e6a7a,'isActive':_0x422ffc==='1','rangeType':_0x573e6d===_0x1690bf['DOC_RANGE_TYPE'][_0x20b66a(0x316)]?_0x1690bf['DOC_RANGE_TYPE'][_0x20b66a(0x316)]:_0x1690bf[_0x20b66a(0x2da)][_0x20b66a(0x30b)],'segmentId':typeof _0x20e45e==_0x20b66a(0x42c)?String(_0x20e45e):'','segmentPage':Number(_0x30f94a!=null?_0x30f94a:-0x1)});}return _0x498648[_0x20b66a(0x216)](_0xa36811=>_0xa36811[_0x20b66a(0x2d7)])||(_0x498648[0x0][_0x20b66a(0x2d7)]=!0x0),_0x498648;}class _0x564128 extends _0x1690bf['RxDisposable']{constructor(){const _0x3bd650=_0x27b8a5;super(...arguments),_0x42073c(this,_0x3bd650(0x2f2),new _0x5f3a87[(_0x3bd650(0x1d9))](null)),_0x42073c(this,_0x3bd650(0x28b),this[_0x3bd650(0x2f2)][_0x3bd650(0x355)]());}[_0x27b8a5(0x37b)](_0x2e862c){const {unitID:_0x1ae4a1,memberID:_0x50c8a0,textRanges:_0x2ebe2c}=_0x2e862c,_0x48e70e=_0x46aa80(_0x2ebe2c);if(_0x48e70e==='')return;const _0x23a589={'unitID':_0x1ae4a1,'memberID':_0x50c8a0,'selection':_0x48e70e};this['_collabCursorState$']['next'](_0x23a589);}}var _0x4988b2=Object[_0x27b8a5(0x23a)],_0x26005c=(_0x421680,_0x548788,_0x147369,_0x5464c3)=>{const _0x18d7f2=_0x27b8a5;for(var _0x41ec12=_0x5464c3>0x1?void 0x0:_0x5464c3?_0x4988b2(_0x548788,_0x147369):_0x548788,_0x3fe158=_0x421680[_0x18d7f2(0x1ce)]-0x1,_0x55cb1b;_0x3fe158>=0x0;_0x3fe158--)(_0x55cb1b=_0x421680[_0x3fe158])&&(_0x41ec12=_0x55cb1b(_0x41ec12)||_0x41ec12);return _0x41ec12;},_0x3da567=(_0x394b2e,_0xf104a0)=>(_0x390ca3,_0x1938ec)=>_0xf104a0(_0x390ca3,_0x1938ec,_0x394b2e);const _0x5cd91b=0x12c,_0x249775=0x64;let _0x1aa1d7=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x3e8d2d,_0x526e56,_0x59d976,_0x3626ce,_0x1d692b,_0x3ff5cf,_0x1ee8f7,_0x3bb48f,_0x590868){const _0x57e6a1=_0x27b8a5;super(),_0x42073c(this,'_online',!0x1),_0x42073c(this,_0x57e6a1(0x26d),!0x1),_0x42073c(this,'_cursorInfo$',new _0x5f3a87[(_0x57e6a1(0x1d9))](new Map())),_0x42073c(this,'cursorInfo$',this[_0x57e6a1(0x281)][_0x57e6a1(0x355)]()),_0x42073c(this,_0x57e6a1(0x31c),new _0x5f3a87[(_0x57e6a1(0x1d9))]([])),_0x42073c(this,'roomMembers$',this[_0x57e6a1(0x31c)][_0x57e6a1(0x424)](_0x5f3a87[_0x57e6a1(0x419)](_0x5cd91b))),_0x42073c(this,_0x57e6a1(0x304),_0x1690bf['debounce'](_0x590071=>{const _0x11b36f=_0x57e6a1,_0x3ff42c={'eventID':_0x116245[_0x11b36f(0x430)][_0x11b36f(0x283)],'data':{'unitID':this[_0x11b36f(0x219)],'memberID':this[_0x11b36f(0x1e1)][_0x11b36f(0x384)](),'selection':_0x46aa80(_0x590071)}};this[_0x11b36f(0x1e1)][_0x11b36f(0x222)](_0x3ff42c,this[_0x11b36f(0x219)]);},_0x249775)),(this['unitID']=_0x3e8d2d,this[_0x57e6a1(0x1e1)]=_0x526e56,this['_injector']=_0x59d976,this[_0x57e6a1(0x358)]=_0x3626ce,this[_0x57e6a1(0x241)]=_0x1d692b,this[_0x57e6a1(0x27e)]=_0x3ff5cf,this[_0x57e6a1(0x3b0)]=_0x1ee8f7,this[_0x57e6a1(0x357)]=_0x3bb48f,this[_0x57e6a1(0x371)]=_0x590868);}get[_0x27b8a5(0x2aa)](){const _0x97e629=_0x27b8a5;return this[_0x97e629(0x281)][_0x97e629(0x331)]();}get[_0x27b8a5(0x35f)](){return this['_roomMembers$']['getValue']();}[_0x27b8a5(0x436)](){const _0x1a00c2=_0x27b8a5;super[_0x1a00c2(0x436)](),this[_0x1a00c2(0x281)][_0x1a00c2(0x1b0)](new Map()),this[_0x1a00c2(0x281)][_0x1a00c2(0x260)](),this[_0x1a00c2(0x31c)][_0x1a00c2(0x1b0)]([]),this[_0x1a00c2(0x31c)]['complete']();}['init'](){const _0x2c5c83=_0x27b8a5;this['_init']||(this[_0x2c5c83(0x26d)]=!0x0,this[_0x2c5c83(0x1e1)]['sessionStatus$'][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))[_0x2c5c83(0x390)](_0x455fe6=>{const _0x3d0ad1=_0x2c5c83;_0x455fe6===_0x5e077a[_0x3d0ad1(0x32e)][_0x3d0ad1(0x3f5)]?this[_0x3d0ad1(0x225)]():this['_toggleOffline']();}),this[_0x2c5c83(0x1e1)][_0x2c5c83(0x3da)][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))['subscribe'](_0x3a7dfc=>{const _0x215b5e=_0x2c5c83,_0x2318ea=_0x3a7dfc[_0x215b5e(0x289)];_0x2318ea===_0x116245[_0x215b5e(0x430)][_0x215b5e(0x283)]&&this[_0x215b5e(0x269)](_0x3a7dfc),_0x2318ea===_0x116245[_0x215b5e(0x430)]['USERS_LEAVE']&&this[_0x215b5e(0x33b)](_0x3a7dfc);}),this[_0x2c5c83(0x41a)](this['_commandService'][_0x2c5c83(0x3e0)](_0x4e0551=>{const _0x3bef4e=_0x2c5c83,_0x2a861d=_0x4e0551[_0x3bef4e(0x342)];_0x2a861d!=null&&this['_online']&&_0x4e0551['id']===_0xfb74c4[_0x3bef4e(0x3ae)]['id']&&_0x2a861d[_0x3bef4e(0x3ec)]===this['unitID']&&_0x2a861d[_0x3bef4e(0x338)]===!0x1&&_0x2a861d[_0x3bef4e(0x209)]['length']>0x0&&this[_0x3bef4e(0x304)](_0x2a861d[_0x3bef4e(0x209)]);})),this['_syncEditingCollabCursorService'][_0x2c5c83(0x28b)][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))[_0x2c5c83(0x390)](_0x53a2f6=>{const _0xce5659=_0x2c5c83;if((_0x53a2f6==null?void 0x0:_0x53a2f6[_0xce5659(0x219)])!==this[_0xce5659(0x219)])return;const _0x168cd3={'eventID':_0x116245[_0xce5659(0x430)]['UPDATE_CURSOR'],'data':_0x53a2f6};this[_0xce5659(0x269)](_0x168cd3);}),this[_0x2c5c83(0x41a)](this[_0x2c5c83(0x371)][_0x2c5c83(0x3e0)](_0x8ab102=>{const _0x2b9c80=_0x2c5c83;if(_0x8ab102['params']==null)return;const _0x3b1a84=_0x8ab102['params'];if(_0x8ab102['id']!==_0xfb74c4['RichTextEditingMutation']['id']||_0x3b1a84[_0x2b9c80(0x3ec)]!==this[_0x2b9c80(0x219)])return;const _0x1c1706={'id':_0x2b9c80(0x22e),'params':_0x3b1a84},_0x514142=this[_0x2b9c80(0x2aa)];for(const [_0x3613ff,_0x3c82c2]of _0x514142){const _0x5db0c9={'id':_0x2b9c80(0x22e),'params':{'unitId':this[_0x2b9c80(0x219)],'actions':null,'textRanges':_0x3c82c2[_0x2b9c80(0x209)]}},_0x29d517=this[_0x2b9c80(0x3b0)][_0x2b9c80(0x354)](_0x1c1706,_0x5db0c9,!0x1);if(_0x116245['isTransformMutationFailure'](_0x29d517))throw _0x29d517['error'];_0x514142[_0x2b9c80(0x2eb)](_0x3613ff,{..._0x3c82c2,'ranges':_0x29d517['m2Prime'][_0x2b9c80(0x342)]['textRanges']});}queueMicrotask(()=>{const _0xc7df56=_0x2b9c80;this[_0xc7df56(0x281)][_0xc7df56(0x1b0)](_0x514142);});})));}[_0x27b8a5(0x269)](_0xe6ba35){const _0x23839c=_0x27b8a5;var _0x576c63,_0x66774a;const {memberID:_0x44e26f,selection:_0x135f4a}=_0xe6ba35[_0x23839c(0x3af)],_0x297795=_0x4fdb75(_0x135f4a),_0x452d5d=(_0x66774a=(_0x576c63=this[_0x23839c(0x241)][_0x23839c(0x1f4)](this['unitID'],_0x44e26f))==null?void 0x0:_0x576c63[_0x23839c(0x254)])!=null?_0x66774a:_0x23839c(0x312),_0x1b20a1={'color':this[_0x23839c(0x358)]['assignAColorForMemberID'](_0x44e26f),'name':_0x452d5d,'ranges':_0x297795},_0x40cd0f=this[_0x23839c(0x2aa)];_0x40cd0f[_0x23839c(0x2eb)](_0x44e26f,_0x1b20a1),this[_0x23839c(0x281)][_0x23839c(0x1b0)](_0x40cd0f);}[_0x27b8a5(0x33b)](_0x34350f){const _0xa445f1=_0x27b8a5,{memberID:_0x49a613}=_0x34350f[_0xa445f1(0x3af)],_0x30f164=this[_0xa445f1(0x2aa)];_0x30f164[_0xa445f1(0x295)](_0x49a613),this[_0xa445f1(0x281)][_0xa445f1(0x1b0)](_0x30f164);}[_0x27b8a5(0x225)](){const _0x4356e0=_0x27b8a5;var _0xf9f860;if(this[_0x4356e0(0x1f5)]=!0x0,((_0xf9f860=this[_0x4356e0(0x357)][_0x4356e0(0x3e8)]())==null?void 0x0:_0xf9f860[_0x4356e0(0x3a0)]())!==this[_0x4356e0(0x219)])return;const _0x2a9d95=this[_0x4356e0(0x3fd)][_0x4356e0(0x1e0)](_0xfb74c4[_0x4356e0(0x258)])[_0x4356e0(0x21a)]();Array[_0x4356e0(0x3a5)](_0x2a9d95)&&_0x2a9d95[_0x4356e0(0x1ce)]>0x0&&this[_0x4356e0(0x304)](_0x2a9d95);}[_0x27b8a5(0x31b)](){const _0x3b8ea2=_0x27b8a5;this[_0x3b8ea2(0x1f5)]=!0x1;}};_0x1aa1d7=_0x26005c([_0x3da567(0x2,_0x1690bf['Inject'](_0x1690bf['Injector'])),_0x3da567(0x3,_0x1690bf['Inject'](_0xade64f)),_0x3da567(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3c2)])),_0x3da567(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x564128)),_0x3da567(0x6,_0x116245[_0x27b8a5(0x41b)]),_0x3da567(0x7,_0x1690bf[_0x27b8a5(0x236)]),_0x3da567(0x8,_0x1690bf[_0x27b8a5(0x3fc)])],_0x1aa1d7);var _0x138c0a=Object['getOwnPropertyDescriptor'],_0x3f4288=(_0x2aad58,_0x5915c4,_0x3dff91,_0x3ae9ba)=>{const _0x2635e8=_0x27b8a5;for(var _0x302ea=_0x3ae9ba>0x1?void 0x0:_0x3ae9ba?_0x138c0a(_0x5915c4,_0x3dff91):_0x5915c4,_0x538ec0=_0x2aad58[_0x2635e8(0x1ce)]-0x1,_0x5cf308;_0x538ec0>=0x0;_0x538ec0--)(_0x5cf308=_0x2aad58[_0x538ec0])&&(_0x302ea=_0x5cf308(_0x302ea)||_0x302ea);return _0x302ea;},_0xa9bb7f=(_0x1fbe3b,_0x4bf5f6)=>(_0x3d5f47,_0x49e88e)=>_0x4bf5f6(_0x3d5f47,_0x49e88e,_0x1fbe3b);const _0x31c966=0x12c,_0x2ca678=0x64,_0xa13c37=()=>{let _0x3c5912=[],_0x388ccf=!0x1;return _0x8cd942=>{_0x3c5912['push'](_0x8cd942),_0x388ccf||(_0x388ccf=!0x0,setTimeout(()=>{const _0x1704ee=_0x242f;_0x3c5912[_0x1704ee(0x2ad)](_0x24bdf8=>_0x24bdf8()),_0x3c5912=[],_0x388ccf=!0x1;}));};};let _0x47113a=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x36afef,_0x2e9e3b,_0x448cb7,_0x5704bb,_0x4a3db4,_0x21c351,_0x3a523e,_0x4f5c01){const _0x53b045=_0x27b8a5;super(),_0x42073c(this,'_online',!0x1),_0x42073c(this,_0x53b045(0x26d),!0x1),_0x42073c(this,_0x53b045(0x281),new _0x5f3a87['BehaviorSubject'](new Map())),_0x42073c(this,_0x53b045(0x363),this[_0x53b045(0x281)][_0x53b045(0x355)]()),_0x42073c(this,_0x53b045(0x31c),new _0x5f3a87[(_0x53b045(0x1d9))]([])),_0x42073c(this,'roomMembers$',this[_0x53b045(0x31c)][_0x53b045(0x424)](_0x5f3a87[_0x53b045(0x419)](_0x31c966))),_0x42073c(this,_0x53b045(0x304),_0x1690bf[_0x53b045(0x3d7)]((_0x3ac6d0,_0x238580)=>{const _0x220ac9=_0x53b045,_0x5be967={'eventID':_0x116245[_0x220ac9(0x430)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x220ac9(0x219)],'memberID':this['_session'][_0x220ac9(0x384)](),'selection':_0x14ad49[_0x220ac9(0x34c)](_0x3ac6d0,_0x238580[_0x220ac9(0x337)])}};this[_0x220ac9(0x1e1)][_0x220ac9(0x222)](_0x5be967,this['unitID']);},_0x2ca678)),(this[_0x53b045(0x219)]=_0x36afef,this[_0x53b045(0x1e1)]=_0x2e9e3b,this['_injector']=_0x448cb7,this['_colorAssignService']=_0x5704bb,this[_0x53b045(0x241)]=_0x4a3db4,this[_0x53b045(0x357)]=_0x21c351,this[_0x53b045(0x371)]=_0x3a523e,this[_0x53b045(0x35a)]=_0x4f5c01);}get[_0x27b8a5(0x2aa)](){const _0x31f067=_0x27b8a5;return this[_0x31f067(0x281)][_0x31f067(0x331)]();}get[_0x27b8a5(0x35f)](){const _0x126daf=_0x27b8a5;return this['_roomMembers$'][_0x126daf(0x331)]();}[_0x27b8a5(0x436)](){const _0x2e28d7=_0x27b8a5;super[_0x2e28d7(0x436)](),this[_0x2e28d7(0x281)][_0x2e28d7(0x1b0)](new Map()),this[_0x2e28d7(0x281)][_0x2e28d7(0x260)](),this[_0x2e28d7(0x31c)]['next']([]),this[_0x2e28d7(0x31c)][_0x2e28d7(0x260)]();}[_0x27b8a5(0x3a3)](){const _0x14eb0c=_0x27b8a5;this[_0x14eb0c(0x26d)]||(this[_0x14eb0c(0x26d)]=!0x0,this['_session'][_0x14eb0c(0x23e)]['pipe'](_0x5f3a87['takeUntil'](this[_0x14eb0c(0x214)]))[_0x14eb0c(0x390)](_0x5edc0f=>{const _0x36b808=_0x14eb0c;_0x5edc0f===_0x5e077a[_0x36b808(0x32e)]['ONLINE']?this[_0x36b808(0x225)]():this[_0x36b808(0x31b)]();}),this[_0x14eb0c(0x1e1)][_0x14eb0c(0x3da)][_0x14eb0c(0x424)](_0x5f3a87[_0x14eb0c(0x404)](this['dispose$']))['subscribe'](_0x4f0959=>{const _0xbf7ac=_0x14eb0c,_0x4ba505=_0x4f0959[_0xbf7ac(0x289)];_0x4ba505===_0x116245['CollaborationEvent'][_0xbf7ac(0x283)]&&this[_0xbf7ac(0x269)](_0x4f0959),_0x4ba505===_0x116245[_0xbf7ac(0x430)][_0xbf7ac(0x2c2)]&&this[_0xbf7ac(0x33b)](_0x4f0959);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x14eb0c(0x371)][_0x14eb0c(0x3e0)](_0x2dc5d4=>{const _0x1efe51=_0x14eb0c;if(this[_0x1efe51(0x1f5)]&&_0x2dc5d4['id']===_0x15fec7['SetSelectionsOperation']['id']&&_0x2dc5d4['params'][_0x1efe51(0x3ec)]===this[_0x1efe51(0x219)]){const _0x167d03=_0x2dc5d4[_0x1efe51(0x342)];this[_0x1efe51(0x304)](_0x167d03[_0x1efe51(0x215)],_0x167d03[_0x1efe51(0x362)][0x0]);}})));}[_0x27b8a5(0x269)](_0x34633b){const _0x5856ce=_0x27b8a5;var _0x142c10,_0x37e40c;const {memberID:_0x4f79e5,selection:_0x591a7a}=_0x34633b[_0x5856ce(0x3af)],{sheetName:_0x587190,range:_0x1cd18b}=_0x14ad49[_0x5856ce(0x1d7)](_0x591a7a),_0xc1b9ed={'name':(_0x37e40c=(_0x142c10=this[_0x5856ce(0x241)][_0x5856ce(0x1f4)](this['unitID'],_0x4f79e5))==null?void 0x0:_0x142c10[_0x5856ce(0x254)])!=null?_0x37e40c:_0x5856ce(0x312),'range':this[_0x5856ce(0x274)](_0x587190,_0x1cd18b),'sheetID':_0x587190,'color':this[_0x5856ce(0x358)]['assignAColorForMemberID'](_0x4f79e5),'selection':_0x591a7a},_0x358d99=this[_0x5856ce(0x2aa)];_0x358d99[_0x5856ce(0x2eb)](_0x4f79e5,_0xc1b9ed),this[_0x5856ce(0x281)]['next'](_0x358d99);}[_0x27b8a5(0x33b)](_0x426280){const _0x539954=_0x27b8a5,{memberID:_0x353724}=_0x426280[_0x539954(0x3af)],_0x4e28e4=this[_0x539954(0x2aa)];_0x4e28e4['delete'](_0x353724),this[_0x539954(0x281)]['next'](_0x4e28e4);}[_0x27b8a5(0x274)](_0x1c7fb2,_0x3390ac){const _0xf331a3=_0x27b8a5;var _0x194b3c,_0x3d91ee;const _0x6e07d9=(_0x3d91ee=(_0x194b3c=this[_0xf331a3(0x357)][_0xf331a3(0x242)](this[_0xf331a3(0x219)]))==null?void 0x0:_0x194b3c[_0xf331a3(0x212)](_0x1c7fb2))==null?void 0x0:_0x3d91ee[_0xf331a3(0x39f)]();return(_0x6e07d9==null?void 0x0:_0x6e07d9[_0xf331a3(0x1b4)](_0x19b22f=>_0x1690bf['Rectangle'][_0xf331a3(0x33e)](_0x19b22f,_0x3390ac)))||_0x3390ac;}[_0x27b8a5(0x252)](){const _0x3ffbbf=_0x27b8a5,_0x16b4b6=new _0x1690bf[(_0x3ffbbf(0x1d6))](),_0x254afc=_0xa13c37(),_0x545992=()=>{const _0x44503e=_0x3ffbbf;_0x16b4b6[_0x44503e(0x436)]();const _0x5bc125=(_0x39ae5a,_0x407266,_0x2f41da,_0xa12110)=>{const _0x569624=_0x44503e;let _0x106e3d=[];switch(_0x39ae5a['id']){case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x348)]:{_0x106e3d=_0x15fec7[_0x569624(0x3b9)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['DeleteRangeMoveUpCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x1d3)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x417)]:{_0x106e3d=_0x15fec7[_0x569624(0x3bd)](_0x39ae5a,_0xa12110);break;}case _0x15fec7['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x25c)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['InsertRangeMoveRightCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x1c0)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x36b)]:{_0x106e3d=_0x15fec7['handleInsertRow'](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['MoveRangeCommandId']:{_0x106e3d=_0x15fec7['handleMoveRange'](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x1fb)]:{_0x106e3d=_0x15fec7[_0x569624(0x320)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x366)]:{_0x106e3d=_0x15fec7['handleIRemoveRow'](_0x39ae5a,_0xa12110);break;}}const _0xf7d227=_0x15fec7[_0x569624(0x3f8)](_0x106e3d,_0xa12110),_0x15b47f=this['cursorInfo'][_0x569624(0x1e0)](_0x407266);if(_0x15b47f&&_0xf7d227){const _0x1c709e={..._0x15b47f,'range':_0xf7d227};this[_0x569624(0x2aa)][_0x569624(0x2eb)](_0x407266,_0x1c709e),_0x254afc(()=>{const _0xd33bdb=_0x569624,_0x43d5ef=this['_refRangeService']['registerRefRange'](_0xf7d227,_0x25817d=>(_0x43d5ef[_0xd33bdb(0x436)](),_0x5bc125(_0x25817d,_0x407266,_0x2f41da,_0xf7d227)));_0x16b4b6['add'](_0x43d5ef);});}return{'redos':[],'undos':[]};};this[_0x44503e(0x2aa)]['forEach']((_0xfd0a5b,_0x16bee6)=>{const _0x35cdf0=_0x44503e,{range:_0x5af3fe,sheetID:_0xdb7b01}=_0xfd0a5b,_0x2b2abe=this['_refRangeService'][_0x35cdf0(0x2e4)](_0x5af3fe,_0x2ffa1b=>(_0x2b2abe['dispose'](),_0x5bc125(_0x2ffa1b,_0x16bee6,_0xdb7b01,_0x5af3fe)));_0x16b4b6[_0x35cdf0(0x2e2)](_0x2b2abe);});};this[_0x3ffbbf(0x41a)](_0x1690bf[_0x3ffbbf(0x278)](this['_cursorInfo$']['subscribe'](()=>{_0x545992();})));}[_0x27b8a5(0x225)](){const _0x197ee6=_0x27b8a5;var _0x44d423,_0x58e44e;if(this[_0x197ee6(0x1f5)]=!0x0,((_0x44d423=this[_0x197ee6(0x357)][_0x197ee6(0x3e8)]())==null?void 0x0:_0x44d423[_0x197ee6(0x3a0)]())!==this[_0x197ee6(0x219)])return;const _0x2ab0c6=(_0x58e44e=this['_injector'][_0x197ee6(0x1e0)](_0x15fec7['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x58e44e[0x0],_0x469fb9=this[_0x197ee6(0x357)][_0x197ee6(0x240)](_0x1690bf[_0x197ee6(0x204)][_0x197ee6(0x400)])[_0x197ee6(0x438)]();_0x2ab0c6&&_0x469fb9&&this[_0x197ee6(0x304)](_0x469fb9[_0x197ee6(0x3ac)](),_0x2ab0c6);}['_toggleOffline'](){this['_online']=!0x1;}};_0x47113a=_0x3f4288([_0xa9bb7f(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0xa9bb7f(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0xade64f)),_0xa9bb7f(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3c2)])),_0xa9bb7f(0x5,_0x1690bf[_0x27b8a5(0x236)]),_0xa9bb7f(0x6,_0x1690bf[_0x27b8a5(0x3fc)]),_0xa9bb7f(0x7,_0x1690bf['Inject'](_0x15fec7[_0x27b8a5(0x273)]))],_0x47113a);var _0x588409=Object['getOwnPropertyDescriptor'],_0x453cd9=(_0x4beae6,_0x1b91b4,_0x456f60,_0x28e04f)=>{const _0x594114=_0x27b8a5;for(var _0x711cbe=_0x28e04f>0x1?void 0x0:_0x28e04f?_0x588409(_0x1b91b4,_0x456f60):_0x1b91b4,_0x5ef711=_0x4beae6[_0x594114(0x1ce)]-0x1,_0x4571f1;_0x5ef711>=0x0;_0x5ef711--)(_0x4571f1=_0x4beae6[_0x5ef711])&&(_0x711cbe=_0x4571f1(_0x711cbe)||_0x711cbe);return _0x711cbe;},_0x1892ce=(_0x3f1a53,_0x4e9e4f)=>(_0x5215fc,_0x2c9d37)=>_0x4e9e4f(_0x5215fc,_0x2c9d37,_0x3f1a53);let _0x4c67b1=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x5b6752,_0x4945a2,_0x59b0e7){const _0xe013d3=_0x27b8a5;super(),_0x42073c(this,_0xe013d3(0x3f2),new Map()),_0x42073c(this,_0xe013d3(0x314),new _0x5f3a87[(_0xe013d3(0x435))]()),(this[_0xe013d3(0x357)]=_0x5b6752,this[_0xe013d3(0x3fd)]=_0x4945a2,this[_0xe013d3(0x42d)]=_0x59b0e7,this[_0xe013d3(0x26d)]());}['dispose'](){const _0x9acc9e=_0x27b8a5;super['dispose'](),this[_0x9acc9e(0x314)][_0x9acc9e(0x260)](),this[_0x9acc9e(0x3f2)][_0x9acc9e(0x2ad)](_0x1a4b1b=>_0x1a4b1b['dispose']());}[_0x27b8a5(0x232)](_0x1a5b3c){const _0x21a05d=_0x27b8a5;return this[_0x21a05d(0x3f2)][_0x21a05d(0x288)](_0x1a5b3c)?this[_0x21a05d(0x3f2)][_0x21a05d(0x1e0)](_0x1a5b3c)[_0x21a05d(0x363)]:this[_0x21a05d(0x314)]['pipe'](_0x5f3a87[_0x21a05d(0x3d3)](_0x1f68d8=>_0x1f68d8['unitID']===_0x1a5b3c),_0x5f3a87[_0x21a05d(0x1bb)](_0x3bf988=>_0x3bf988[_0x21a05d(0x363)]));}[_0x27b8a5(0x26d)](){const _0x67de65=_0x27b8a5;this[_0x67de65(0x357)]['getTypeOfUnitAdded$'](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x400)])[_0x67de65(0x424)](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x390)](async _0x5de01a=>{const _0x419594=_0x67de65,_0xe9b668=_0x5de01a['getUnitId'](),_0x521380=await this[_0x419594(0x433)](_0xe9b668);this[_0x419594(0x314)][_0x419594(0x1b0)](_0x521380),this[_0x419594(0x3f2)][_0x419594(0x2eb)](_0xe9b668,_0x521380);}),this['_univerInstanceService'][_0x67de65(0x27d)](_0x1690bf['UniverInstanceType'][_0x67de65(0x34b)])[_0x67de65(0x424)](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x424)](_0x5f3a87['filter'](_0x41e376=>!_0x41e376['getUnitId']()[_0x67de65(0x40c)]('__')))[_0x67de65(0x390)](async _0x27d716=>{const _0x5eeafc=_0x67de65,_0x5ad422=_0x27d716[_0x5eeafc(0x3a0)](),_0x1181c3=await this['_startDocCollabCursor'](_0x5ad422);this[_0x5eeafc(0x314)][_0x5eeafc(0x1b0)](_0x1181c3),this['_entities']['set'](_0x5ad422,_0x1181c3);}),_0x5f3a87[_0x67de65(0x231)](this['_univerInstanceService'][_0x67de65(0x27a)](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x34b)]),this[_0x67de65(0x357)][_0x67de65(0x27a)](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x400)]))['pipe'](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x390)](_0x2abb7c=>{const _0x16076a=_0x67de65,_0x98c2e3=_0x2abb7c[_0x16076a(0x3a0)](),_0x2364b0=this[_0x16076a(0x3f2)][_0x16076a(0x1e0)](_0x98c2e3);_0x2364b0&&(_0x2364b0[_0x16076a(0x436)](),this[_0x16076a(0x3f2)][_0x16076a(0x295)](_0x98c2e3));});}async[_0x27b8a5(0x433)](_0x460114){const _0x176a90=_0x27b8a5,_0x185a08=await this[_0x176a90(0x42d)][_0x176a90(0x265)](_0x460114),_0x5bc600=this['_injector'][_0x176a90(0x24e)](_0x47113a,_0x460114,_0x185a08);return _0x5bc600['init'](),_0x5bc600;}async[_0x27b8a5(0x42e)](_0x4dd1c6){const _0xe40c14=_0x27b8a5,_0x21f530=await this[_0xe40c14(0x42d)][_0xe40c14(0x265)](_0x4dd1c6),_0x2f8c50=this[_0xe40c14(0x3fd)][_0xe40c14(0x24e)](_0x1aa1d7,_0x4dd1c6,_0x21f530);return _0x2f8c50['init'](),_0x2f8c50;}};_0x4c67b1=_0x453cd9([_0x1892ce(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x1892ce(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x1892ce(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x1bd)]))],_0x4c67b1);const _0x435ca3=0x14,_0x478d45=0xc8,_0x4a4c25=0x4,_0x8fd946=0x5;function _0x3879d5(_0x48f552,_0x468934){const _0x5199be=_0x27b8a5;let {radius:_0x41fedf,width:_0x43af9f,height:_0x1de673}=_0x468934;_0x41fedf=_0x41fedf!=null?_0x41fedf:0x0,_0x43af9f=_0x43af9f!=null?_0x43af9f:0x1e,_0x1de673=_0x1de673!=null?_0x1de673:0x1e;let _0x1cd0fa=0x0,_0x475e75=0x0,_0x4eb87c=0x0;_0x1cd0fa=_0x475e75=_0x4eb87c=Math[_0x5199be(0x3d6)](_0x41fedf,_0x43af9f/0x2,_0x1de673/0x2),_0x48f552[_0x5199be(0x1c8)](),_0x48f552['moveTo'](_0x1cd0fa,0x0),_0x48f552['lineTo'](_0x43af9f-_0x475e75,0x0),_0x48f552['arc'](_0x43af9f-_0x475e75,_0x475e75,_0x475e75,Math['PI']*0x3/0x2,0x0,!0x1),_0x48f552[_0x5199be(0x291)](_0x43af9f,_0x1de673-_0x4eb87c),_0x48f552['arc'](_0x43af9f-_0x4eb87c,_0x1de673-_0x4eb87c,_0x4eb87c,0x0,Math['PI']/0x2,!0x1),_0x48f552[_0x5199be(0x291)](0x0,_0x1de673),_0x48f552[_0x5199be(0x291)](0x0,_0x1cd0fa),_0x48f552[_0x5199be(0x294)](_0x1cd0fa,_0x1cd0fa,_0x1cd0fa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48f552['closePath'](),_0x468934[_0x5199be(0x20a)]&&(_0x48f552[_0x5199be(0x2bf)](),_0x48f552[_0x5199be(0x3db)]=_0x468934[_0x5199be(0x20a)],_0x468934['fillRule']==='evenodd'?_0x48f552[_0x5199be(0x20a)]('evenodd'):_0x48f552['fill'](),_0x48f552[_0x5199be(0x247)]());}class _0x4c70b6 extends _0x33db0a[_0x27b8a5(0x3b6)]{constructor(_0x5c6031,_0x40f1f0){const _0x58e44c=_0x27b8a5;super(_0x5c6031,_0x40f1f0),_0x42073c(this,_0x58e44c(0x40a)),_0x42073c(this,_0x58e44c(0x351)),(this[_0x58e44c(0x40a)]=_0x40f1f0==null?void 0x0:_0x40f1f0[_0x58e44c(0x40a)],this['text']=_0x40f1f0==null?void 0x0:_0x40f1f0[_0x58e44c(0x351)]);}static[_0x27b8a5(0x272)](_0xc1d09,_0x209739){const _0x2085e2=_0x27b8a5,{text:_0x41949b,color:_0xcfe739}=_0x209739;_0xc1d09[_0x2085e2(0x2bf)](),_0xc1d09[_0x2085e2(0x398)]=_0x2085e2(0x3c7);const _0x5ef46f=_0xc1d09['measureText'](_0x41949b)['width'],_0x1996ef=Math[_0x2085e2(0x3d6)](_0x5ef46f+0x2*_0x4a4c25,_0x478d45);_0x3879d5(_0xc1d09,{'height':_0x435ca3,'radius':0x4,'width':_0x1996ef,'fill':_0xcfe739}),_0xc1d09[_0x2085e2(0x3db)]=_0x2085e2(0x35d);const _0x199de7=_0x4a4c25,_0x461435=_0x435ca3-_0x8fd946,_0x45a5c5=_0x478d45-0x2*_0x4a4c25;if(_0x5ef46f>_0x45a5c5){let _0x1ac166='',_0x5493b9=0x0;for(const _0x2d58be of _0x41949b){const _0x50d92f=_0xc1d09[_0x2085e2(0x3d2)](_0x2d58be)[_0x2085e2(0x350)];if(_0x5493b9+_0x50d92f<=_0x45a5c5-_0xc1d09['measureText']('...')['width'])_0x1ac166+=_0x2d58be,_0x5493b9+=_0x50d92f;else{_0x1ac166+=_0x2085e2(0x243);break;}}_0xc1d09[_0x2085e2(0x1cd)](_0x1ac166,_0x199de7,_0x461435);}else _0xc1d09[_0x2085e2(0x1cd)](_0x41949b,_0x199de7,_0x461435);_0xc1d09[_0x2085e2(0x247)]();}[_0x27b8a5(0x299)](_0x3ea09b){const _0x3d897d=_0x27b8a5;_0x4c70b6[_0x3d897d(0x272)](_0x3ea09b,this);}}const _0x1fd0fa='collab-text-anchor-',_0xb847b0=_0x27b8a5(0x2a5),_0x44a538=_0x27b8a5(0x3ef),_0x49be77=0x6,_0x4599d0=1.5,_0x4807c2=0x4,_0x23cbe8=1.5,_0x4e7290=_0x27b8a5(0x317);class _0x43a2a3{constructor(_0x40e820,_0x519d82,_0x3d610a,_0x361f3a){const _0x516362=_0x27b8a5;_0x42073c(this,'_shapes',[]),_0x42073c(this,_0x516362(0x2cf),null),_0x42073c(this,_0x516362(0x235),null),_0x42073c(this,_0x516362(0x377),null),_0x42073c(this,_0x516362(0x359),null),_0x42073c(this,_0x516362(0x1c5),null),(this[_0x516362(0x2d9)]=_0x40e820,this[_0x516362(0x2e0)]=_0x519d82,this[_0x516362(0x2ba)]=_0x3d610a,this['_document']=_0x361f3a,this['_render']());}set[_0x27b8a5(0x35b)](_0x26168d){const _0x545813=_0x27b8a5;_0x26168d?(this['_anchorDot']&&this[_0x545813(0x377)][_0x545813(0x210)](),this[_0x545813(0x235)]&&this[_0x545813(0x235)][_0x545813(0x2ee)]()):(this[_0x545813(0x377)]&&this[_0x545813(0x377)]['show'](),this[_0x545813(0x235)]&&this[_0x545813(0x235)][_0x545813(0x210)]());}['dispose'](){const _0x2969b5=_0x27b8a5;for(const _0x4bca7a of this[_0x2969b5(0x2ab)])_0x4bca7a[_0x2969b5(0x436)]();this[_0x2969b5(0x235)]&&this[_0x2969b5(0x235)][_0x2969b5(0x436)](),this[_0x2969b5(0x377)]&&this[_0x2969b5(0x377)]['dispose'](),this[_0x2969b5(0x2cf)]&&this[_0x2969b5(0x2cf)]['dispose'](),this[_0x2969b5(0x1c5)]&&this[_0x2969b5(0x1c5)]();}['_render'](){const _0x3a47a7=_0x27b8a5;var _0x2162de;const {_docSkeleton:_0x161879,_document:_0x45f203}=this,{color:_0x6a0d12,name:_0x21b0ea,ranges:_0x38c0bf}=this[_0x3a47a7(0x2d9)],_0x5beab3=_0x45f203['getOffsetConfig'](),{docsLeft:_0x567b7f,docsTop:_0x4392d3}=_0x5beab3,_0xe5c972=new _0x47ddb5[(_0x3a47a7(0x3df))](_0x5beab3,_0x161879);for(const {startOffset:_0x49b76e,endOffset:_0x49b371,rangeType:_0x165deb,segmentId:_0xeb7c43,segmentPage:_0x216e16,collapsed:_0x6e8a65,isActive:_0x13114d}of _0x38c0bf){const _0x9a23ba=_0x161879['findNodePositionByCharIndex'](_0x49b76e,!0x0,_0xeb7c43,_0x216e16);let _0x2a92a1=_0x161879[_0x3a47a7(0x24b)](_0x49b371,!0x0,_0xeb7c43,_0x216e16);if(_0x2a92a1==null&&(_0x2a92a1=_0x161879[_0x3a47a7(0x24b)](_0x49b371-0x1,!0x1,_0xeb7c43,_0x216e16)),_0x13114d){const {contentBoxPointGroup:_0x3f2498}=_0xe5c972[_0x3a47a7(0x307)](_0x2a92a1,_0x2a92a1);if(_0x3f2498[_0x3a47a7(0x1ce)]===0x0)continue;this[_0x3a47a7(0x239)](_0x6a0d12,_0x3f2498,_0x567b7f,_0x4392d3,_0x21b0ea),this[_0x3a47a7(0x1c5)]=this[_0x3a47a7(0x25d)]();}if(_0x9a23ba&&_0x2a92a1){if(_0x165deb===_0x1690bf[_0x3a47a7(0x2da)][_0x3a47a7(0x30b)]){const _0x5a2842=new _0x47ddb5[(_0x3a47a7(0x3ad))](_0x5beab3,_0x161879),{pointGroup:_0xd7aaaa}=(_0x2162de=_0x5a2842[_0x3a47a7(0x307)](_0x9a23ba,_0x2a92a1))!=null?_0x2162de:{};if(_0xd7aaaa==null||_0xd7aaaa[_0x3a47a7(0x1ce)]===0x0)continue;this['_drawRectRange'](_0x6a0d12,_0xd7aaaa,_0x567b7f,_0x4392d3);}else{if(!_0x6e8a65){const {borderBoxPointGroup:_0x57db6e}=_0xe5c972['getRangePointData'](_0x9a23ba,_0x2a92a1);if(_0x57db6e[_0x3a47a7(0x1ce)]===0x0)continue;this['_drawTextRange'](_0x6a0d12,_0x57db6e,_0x567b7f,_0x4392d3);}}}}}[_0x27b8a5(0x239)](_0x3fd497,_0x12fb2a,_0x4fe355,_0x10f8bd,_0x2e9ed8){const _0x1b92de=_0x27b8a5,_0x841f45=this[_0x1b92de(0x334)](_0x12fb2a),{left:_0x793ab5,top:_0x48a5bf,height:_0x1f0252}=_0x841f45,_0x5918d8=this[_0x1b92de(0x2ef)](),_0x5ba98a=_0x23cbe8/_0x5918d8,_0x55dc4f=new _0x33db0a[(_0x1b92de(0x3cc))](_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd,'height':_0x1f0252,'width':_0x4599d0,'fill':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf[_0x1b92de(0x2de)]['black'],0x0),'strokeWidth':_0x5ba98a,'stroke':_0x4e7290,'evented':!0x0});this['_anchor']=_0x55dc4f,this[_0x1b92de(0x2e0)][_0x1b92de(0x403)](_0x55dc4f,_0x47ddb5['TEXT_RANGE_LAYER_INDEX']);const _0x144562=new _0x33db0a[(_0x1b92de(0x3cc))](_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd-_0x4807c2/0x2,'height':_0x4807c2,'width':_0x4807c2,'fill':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf['COLORS'][_0x1b92de(0x36c)],0x0),'strokeWidth':0x0,'stroke':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf[_0x1b92de(0x2de)][_0x1b92de(0x36c)],0x0),'evented':!0x1});this[_0x1b92de(0x377)]=_0x144562,this['_scene'][_0x1b92de(0x403)](_0x144562,_0x47ddb5[_0x1b92de(0x3d8)]);const _0x1027de=new _0x4c70b6(_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd-_0x435ca3,'text':_0x2e9ed8,'color':_0x3fd497});this[_0x1b92de(0x235)]=_0x1027de,this['_scene'][_0x1b92de(0x403)](_0x1027de,_0x47ddb5[_0x1b92de(0x3d8)]),this[_0x1b92de(0x35b)]=!0x1;}[_0x27b8a5(0x25d)](){const _0x930a1=_0x27b8a5,_0xfdb62b=this[_0x930a1(0x2cf)][_0x930a1(0x3c5)]['subscribeEvent'](()=>{const _0x4f1539=_0x930a1;this[_0x4f1539(0x35b)]=!0x0;}),_0x1bfa34=this[_0x930a1(0x2cf)][_0x930a1(0x201)]['subscribeEvent'](()=>{const _0x33b0fa=_0x930a1;this[_0x33b0fa(0x359)]&&clearTimeout(this[_0x33b0fa(0x359)]),this[_0x33b0fa(0x359)]=setTimeout(()=>{const _0x204599=_0x33b0fa;this[_0x204599(0x35b)]=!0x1;},0x7d0);});return()=>{const _0x3125ad=_0x930a1;_0xfdb62b[_0x3125ad(0x1db)](),_0x1bfa34['unsubscribe']();};}[_0x27b8a5(0x1e2)](_0x13a6c6,_0x199c2d,_0x29da1f,_0x1e1210){const _0x18ae87=_0x27b8a5,_0xcdda63=new _0x1690bf[(_0x18ae87(0x43c))](_0x13a6c6)[_0x18ae87(0x2cd)](0.2)[_0x18ae87(0x3c8)](),_0x257275=new _0x33db0a['RegularPolygon'](_0xb847b0+_0x1690bf['generateRandomId'](_0x49be77),{'pointsGroup':_0x199c2d,'fill':_0xcdda63||_0x33db0a[_0x18ae87(0x25b)](_0x1690bf['COLORS'][_0x18ae87(0x36c)],0.2),'left':_0x29da1f,'top':_0x1e1210,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18ae87(0x2ab)][_0x18ae87(0x2a7)](_0x257275),this[_0x18ae87(0x2e0)]['addObject'](_0x257275,_0x47ddb5[_0x18ae87(0x3d8)]);}[_0x27b8a5(0x2e3)](_0x50ab8e,_0x38b81c,_0x407195,_0x512ec1){const _0x46a964=_0x27b8a5,_0x40d078=new _0x1690bf[(_0x46a964(0x43c))](_0x50ab8e)[_0x46a964(0x2cd)](0.2)['toRgbString'](),_0x317604=new _0x33db0a[(_0x46a964(0x3e2))](_0x44a538+_0x1690bf['generateRandomId'](_0x49be77),{'pointsGroup':_0x38b81c,'fill':_0x40d078||_0x33db0a['getColor'](_0x1690bf[_0x46a964(0x2de)][_0x46a964(0x36c)],0.2),'left':_0x407195,'top':_0x512ec1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46a964(0x2ab)]['push'](_0x317604),this['_scene'][_0x46a964(0x403)](_0x317604,_0x47ddb5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x24216f){const _0xcde433=_0x24216f[0x0],_0x52a5ca=_0xcde433[0x0],_0x439e7e=_0xcde433[0x2],{x:_0x48d7ac,y:_0x1e166f}=_0x52a5ca,{x:_0x83b5dc,y:_0x30b123}=_0x439e7e;return{'left':_0x48d7ac,'top':_0x1e166f,'width':_0x83b5dc-_0x48d7ac,'height':_0x30b123-_0x1e166f};}['_getScale'](){const _0x48b0e2=_0x27b8a5,{scaleX:_0x507c56,scaleY:_0x5b459c}=this['_scene'][_0x48b0e2(0x33c)]();return Math[_0x48b0e2(0x333)](_0x507c56,_0x5b459c);}}var _0x38e566=Object[_0x27b8a5(0x23a)],_0x5ddc39=(_0xcae26c,_0x1c7982,_0x172f19,_0x1fad3b)=>{for(var _0x5123c1=_0x1fad3b>0x1?void 0x0:_0x1fad3b?_0x38e566(_0x1c7982,_0x172f19):_0x1c7982,_0x3918fe=_0xcae26c['length']-0x1,_0x1e94fb;_0x3918fe>=0x0;_0x3918fe--)(_0x1e94fb=_0xcae26c[_0x3918fe])&&(_0x5123c1=_0x1e94fb(_0x5123c1)||_0x5123c1);return _0x5123c1;},_0x177dc2=(_0x455f7f,_0x3d9d4f)=>(_0x5b911f,_0x334adb)=>_0x3d9d4f(_0x5b911f,_0x334adb,_0x455f7f);let _0x6e7c16=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x2ce878,_0x5ad03d,_0x1996f3,_0xb5eeac,_0x317952){const _0x279e95=_0x27b8a5;super(),_0x42073c(this,'_cursorShapes',[]),_0x42073c(this,'_cursors',[]),(this[_0x279e95(0x36d)]=_0x2ce878,this[_0x279e95(0x364)]=_0x5ad03d,this[_0x279e95(0x26a)]=_0x1996f3,this[_0x279e95(0x371)]=_0xb5eeac,this[_0x279e95(0x2f6)]=_0x317952,this[_0x279e95(0x26d)]());}[_0x27b8a5(0x26d)](){const _0x5bf7c2=_0x27b8a5,_0x10abc2=this['_context'][_0x5bf7c2(0x3ec)],_0x5683ec=this[_0x5bf7c2(0x364)];this['disposeWithMe'](_0x5f3a87[_0x5bf7c2(0x1c7)]([this[_0x5bf7c2(0x26a)][_0x5bf7c2(0x232)](_0x10abc2),this[_0x5bf7c2(0x2f6)]['currentTheme$']])[_0x5bf7c2(0x424)](_0x47fb2a['map'](([_0x564bfb,_0x1dc144])=>({'skeleton':_0x5683ec['getSkeleton'](),'cursors':[..._0x564bfb[_0x5bf7c2(0x1e4)]()]['flatMap'](_0x134fc5=>({..._0x134fc5,'color':this[_0x5bf7c2(0x2f6)][_0x5bf7c2(0x3e1)](_0x134fc5[_0x5bf7c2(0x40a)])}))})))['subscribe'](_0x5f4673=>{const _0x981d97=_0x5bf7c2;if(this['_removeCollabCursors'](),_0x5f4673){const {skeleton:_0x484364,cursors:_0x27eb93}=_0x5f4673;this[_0x981d97(0x276)](_0x484364,_0x27eb93);}})),this['_initResize'](),this[_0x5bf7c2(0x3fe)]();}[_0x27b8a5(0x276)](_0x3dfdb8,_0x4d5afd){const _0x4c8e92=_0x27b8a5,{scene:_0x35d8eb,mainComponent:_0x1af25c}=this[_0x4c8e92(0x36d)],_0x4eb571=_0x4d5afd[_0x4c8e92(0x347)](_0x11a204=>new _0x43a2a3(_0x11a204,_0x35d8eb,_0x3dfdb8,_0x1af25c));this[_0x4c8e92(0x37f)]=_0x4eb571,this['_cursors']=_0x4d5afd;}[_0x27b8a5(0x1be)](){const _0x1d1872=_0x27b8a5;this[_0x1d1872(0x35c)]();const {scene:_0x1e199f,mainComponent:_0xcdd811}=this[_0x1d1872(0x36d)],_0x34514f=this['_docSkeletonManagerService'][_0x1d1872(0x208)](),_0x741d02=this['_cursors']['map'](_0x2ac257=>new _0x43a2a3(_0x2ac257,_0x1e199f,_0x34514f,_0xcdd811));this[_0x1d1872(0x37f)]=_0x741d02;}[_0x27b8a5(0x35c)](){const _0x4df35d=_0x27b8a5;this['_cursorShapes'][_0x4df35d(0x2ad)](_0x8aa549=>_0x8aa549[_0x4df35d(0x436)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0xaf5ba6=_0x27b8a5,_0x5a1f76=[_0x47ddb5[_0xaf5ba6(0x2a6)]['id']];this[_0xaf5ba6(0x41a)](this[_0xaf5ba6(0x371)][_0xaf5ba6(0x3e0)](_0x42c617=>{const _0xf83d7b=_0xaf5ba6;_0x5a1f76[_0xf83d7b(0x3cd)](_0x42c617['id'])&&_0x42c617[_0xf83d7b(0x342)]['unitId']===this['_context'][_0xf83d7b(0x3ec)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x109cef=_0x27b8a5;this[_0x109cef(0x41a)](_0x1690bf[_0x109cef(0x2c7)](this['_context'][_0x109cef(0x1c9)][_0x109cef(0x24c)])[_0x109cef(0x424)](_0x47fb2a[_0x109cef(0x3d3)](_0x7313d1=>_0x7313d1[_0x109cef(0x2dd)]===_0x33db0a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x109cef(0x3b8)]),_0x47fb2a[_0x109cef(0x2e1)](0x10))[_0x109cef(0x390)](()=>{const _0x26bd31=_0x109cef;this[_0x26bd31(0x1be)]();}));}};_0x6e7c16=_0x5ddc39([_0x177dc2(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0xfb74c4['DocSkeletonManagerService'])),_0x177dc2(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x4c67b1)),_0x177dc2(0x3,_0x1690bf[_0x27b8a5(0x3fc)]),_0x177dc2(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x41c)]))],_0x6e7c16);const _0x3db783=0x1,_0xb051ac=1.5;class _0xb2b714 extends _0x33db0a['Shape']{constructor(_0x518878,_0x2751ba){const _0x506666=_0x27b8a5;super(_0x518878,_0x2751ba),_0x42073c(this,'_color'),_0x42073c(this,_0x506666(0x263),!0x1),_0x42073c(this,_0x506666(0x3be)),_0x42073c(this,_0x506666(0x379),''),_0x42073c(this,_0x506666(0x3d1),_0x506666(0x2c6)),_0x42073c(this,'_backgroundColor'),(_0x2751ba&&this[_0x506666(0x2ec)](_0x2751ba),this[_0x506666(0x3c5)][_0x506666(0x356)](()=>this[_0x506666(0x2ec)]({'hovered':!0x0})),this['onPointerLeave$'][_0x506666(0x356)](()=>this[_0x506666(0x2ec)]({'hovered':!0x1})));}[_0x27b8a5(0x2ec)](_0x25c671){const _0x3465ca=_0x27b8a5;var _0x3d6301,_0x467f26,_0x59c89f,_0x15abf5,_0xdbcb48,_0x274415;this[_0x3465ca(0x25a)]=(_0x3d6301=_0x25c671[_0x3465ca(0x40a)])!=null?_0x3d6301:this[_0x3465ca(0x25a)],this[_0x3465ca(0x263)]=(_0x467f26=_0x25c671[_0x3465ca(0x360)])!=null?_0x467f26:this[_0x3465ca(0x263)],this[_0x3465ca(0x3be)]=(_0x59c89f=_0x25c671['range'])!=null?_0x59c89f:this[_0x3465ca(0x3be)],this['_name']=(_0x15abf5=_0x25c671['name'])!=null?_0x15abf5:this[_0x3465ca(0x379)],this[_0x3465ca(0x3d1)]=(_0xdbcb48=_0x25c671[_0x3465ca(0x40d)])!=null?_0xdbcb48:this['_labelPosition'],this['_backgroundColor']=(_0x274415=_0x25c671['backgroundColor'])!=null?_0x274415:this[_0x3465ca(0x1b1)],this[_0x3465ca(0x256)]({'width':_0x25c671[_0x3465ca(0x350)],'height':_0x25c671['height']});}[_0x27b8a5(0x3d5)](_0x28a2b3){const _0x213eb6=_0x27b8a5,{row:_0x2defe3,column:_0x1b1b8b}=_0x28a2b3;if(_0x2defe3>=this[_0x213eb6(0x3be)][_0x213eb6(0x2fa)]&&_0x2defe3<=this[_0x213eb6(0x3be)][_0x213eb6(0x3e5)]&&_0x1b1b8b>=this[_0x213eb6(0x3be)][_0x213eb6(0x1ec)]&&_0x1b1b8b<=this[_0x213eb6(0x3be)][_0x213eb6(0x3d4)]){this[_0x213eb6(0x2ec)]({'hovered':!0x0});return;}this[_0x213eb6(0x2ec)]({'hovered':!0x1});}['triggerDblclick'](_0x30355a){return!0x1;}[_0x27b8a5(0x299)](_0x7db90a){const _0x3d9459=_0x27b8a5;_0x33db0a[_0x3d9459(0x3cc)][_0x3d9459(0x272)](_0x7db90a,{'width':this[_0x3d9459(0x350)],'height':this[_0x3d9459(0x2a9)],'strokeWidth':_0xb051ac,'stroke':this[_0x3d9459(0x25a)],'evented':!0x1,'fill':this[_0x3d9459(0x1b1)]}),this[_0x3d9459(0x263)]&&(_0x7db90a[_0x3d9459(0x2bf)](),_0x7db90a[_0x3d9459(0x203)](0x1,0x0,0x0,0x1,this[_0x3d9459(0x350)],this[_0x3d9459(0x3d1)]===_0x3d9459(0x2b8)?0x0:-_0x435ca3),_0x4c70b6['drawWith'](_0x7db90a,{'text':this[_0x3d9459(0x379)],'color':this['_color']}),_0x7db90a[_0x3d9459(0x247)]());}}var _0x3a71b2=Object[_0x27b8a5(0x23a)],_0xf3136f=(_0x4f047a,_0x437906,_0x44099a,_0x1fb5ee)=>{for(var _0x4f2ad6=_0x1fb5ee>0x1?void 0x0:_0x1fb5ee?_0x3a71b2(_0x437906,_0x44099a):_0x437906,_0x5864ce=_0x4f047a['length']-0x1,_0x293980;_0x5864ce>=0x0;_0x5864ce--)(_0x293980=_0x4f047a[_0x5864ce])&&(_0x4f2ad6=_0x293980(_0x4f2ad6)||_0x4f2ad6);return _0x4f2ad6;},_0x34d33c=(_0xbc0875,_0x3d12ee)=>(_0x593d89,_0x56f74d)=>_0x3d12ee(_0x593d89,_0x56f74d,_0xbc0875);const _0x1ca029=0x1389;let _0xb9b26c=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x4c1feb,_0x5efa92,_0x33fd18,_0x114ec1){const _0x407457=_0x27b8a5;super(),_0x42073c(this,_0x407457(0x1cb),new Set()),_0x42073c(this,_0x407457(0x22c),null),(this[_0x407457(0x36d)]=_0x4c1feb,this['_sheetSkeletonManagerService']=_0x5efa92,this['_collabCursorController']=_0x33fd18,this[_0x407457(0x2f6)]=_0x114ec1,this[_0x407457(0x26d)]());}[_0x27b8a5(0x26d)](){const _0x184b97=_0x27b8a5;this[_0x184b97(0x3b2)][_0x184b97(0x3f0)][_0x184b97(0x424)](_0x47fb2a[_0x184b97(0x404)](this[_0x184b97(0x214)]),_0x47fb2a[_0x184b97(0x1bb)](_0x2cb1cf=>{const _0x42f7e8=_0x184b97;if(_0x2cb1cf){const _0x15327f=_0x2cb1cf[_0x42f7e8(0x28d)];return _0x5f3a87[_0x42f7e8(0x1c7)](this['_collabCursorController'][_0x42f7e8(0x232)](this[_0x42f7e8(0x36d)]['unitId']),this['_themeService']['currentTheme$'])[_0x42f7e8(0x424)](_0x47fb2a['map'](([_0x3879dd,_0x47e70e])=>{const _0x2fbf4f=new Map();return _0x3879dd['forEach']((_0x1f130d,_0x1dfc77)=>{const _0x23f4f8=_0x242f;if(_0x1f130d[_0x23f4f8(0x1da)]===_0x15327f){const _0x33ac2b={..._0x1f130d};_0x33ac2b['color']=this[_0x23f4f8(0x2f6)]['getColorFromTheme'](_0x1f130d[_0x23f4f8(0x40a)]),_0x2fbf4f[_0x23f4f8(0x2eb)](_0x1dfc77,_0x33ac2b);}}),{'skeleton':_0x2cb1cf,'cursors':_0x2fbf4f};}));}return _0x5f3a87['of']({'skeleton':null,'cursors':new Map()});}))[_0x184b97(0x390)](({skeleton:_0x1a3998,cursors:_0x4b0333})=>{const _0x40d5fd=_0x184b97;this[_0x40d5fd(0x35c)](),_0x1a3998&&this[_0x40d5fd(0x276)](_0x1a3998,_0x4b0333);}),this[_0x184b97(0x3b2)][_0x184b97(0x3f0)]['subscribe'](_0x4dc0cd=>{const _0x5f2248=_0x184b97;if(_0x4dc0cd==null)return;const {skeleton:_0x3be978}=_0x4dc0cd,{scene:_0x4ebe8a}=this[_0x5f2248(0x36d)];_0x4ebe8a['onPointerMove$'][_0x5f2248(0x356)](_0x1690bf[_0x5f2248(0x3d7)](_0x1769e3=>{const _0x3379cf=_0x5f2248;var _0x489767,_0x3c7752;const {offsetX:_0x47f12a,offsetY:_0x478081}=_0x1769e3,{x:_0x10c609,y:_0x460f22}=_0x4ebe8a[_0x3379cf(0x325)](_0x33db0a[_0x3379cf(0x34e)][_0x3379cf(0x3cb)]([_0x47f12a,_0x478081])),{scaleX:_0x28d7cd,scaleY:_0x162a1a}=_0x4ebe8a[_0x3379cf(0x33c)](),_0x4d9662=_0x4ebe8a[_0x3379cf(0x3fa)](_0x33db0a['SHEET_VIEWPORT_KEY'][_0x3379cf(0x3b3)]),_0x15db27=_0x4ebe8a['getVpScrollXYInfoByPosToVp'](_0x33db0a[_0x3379cf(0x34e)][_0x3379cf(0x3cb)]([_0x10c609,_0x460f22]),_0x4d9662),_0x441e56=_0x3be978[_0x3379cf(0x264)](_0x47f12a,_0x478081,_0x28d7cd,_0x162a1a,_0x15db27);((_0x489767=this[_0x3379cf(0x22c)])==null?void 0x0:_0x489767[_0x3379cf(0x3c4)])===_0x441e56[_0x3379cf(0x3c4)]&&((_0x3c7752=this[_0x3379cf(0x22c)])==null?void 0x0:_0x3c7752[_0x3379cf(0x309)])===_0x441e56[_0x3379cf(0x309)]||this[_0x3379cf(0x1cb)][_0x3379cf(0x2ad)](_0x74cd31=>{_0x74cd31['onMouseMove'](_0x441e56);});},0x64));});}[_0x27b8a5(0x276)](_0x5c48db,_0x334b83){const _0x406cac=_0x27b8a5;var _0x4db37a;const _0x60df4e=(_0x4db37a=this[_0x406cac(0x3b2)][_0x406cac(0x3bb)]())==null?void 0x0:_0x4db37a['skeleton'];if(!_0x60df4e)return;const _0xe4660b=this[_0x406cac(0x275)]();if(!_0xe4660b)return;this[_0x406cac(0x1cb)][_0x406cac(0x2ad)](_0x64daef=>{const _0x55a988=_0x406cac;_0x64daef[_0x55a988(0x3b5)]();});const {scene:_0x2deb94}=_0xe4660b,_0xbac2c0=_0x983bc6(Array[_0x406cac(0x2b2)](_0x334b83[_0x406cac(0x1e4)]()))[_0x406cac(0x347)](_0x473f50=>{const _0x21afa7=_0x406cac,{color:_0x4b9960,range:_0x1398e9,name:_0x5c4ef0,selection:_0x3b8492,sheetID:_0x32fe7a}=_0x473f50,{startColumn:_0x16d067,startRow:_0x27f32f,endColumn:_0x395b16,endRow:_0x2fde9a}=_0x1398e9,_0x1d7707=_0xba4c08[_0x21afa7(0x284)](_0x27f32f,_0x16d067,_0x2deb94,_0x60df4e),_0x848d63=_0xba4c08[_0x21afa7(0x284)](_0x2fde9a,_0x395b16,_0x2deb94,_0x60df4e),{columnHeaderHeightAndMarginTop:_0x1f6c62}=_0x60df4e,{startX:_0x508a39,startY:_0x12fa83}=_0x1d7707,{endX:_0x5c3bb0,endY:_0x108a11}=_0x848d63,_0x47f4f1=_0x5c3bb0-_0x508a39,_0x318855=_0x108a11-_0x12fa83,_0x1c05d8={'labelPosition':_0x12fa83-_0x1f6c62>=_0x435ca3?_0x21afa7(0x2c6):_0x21afa7(0x2b8),'sheetID':_0x32fe7a,'range':_0x1398e9,'color':_0x4b9960,'name':_0x5c4ef0,'selection':_0x3b8492,'left':_0x508a39,'top':_0x12fa83,'width':_0x47f4f1,'height':_0x318855,'evented':!0x1,'zIndex':_0x1ca029};return new _0xb2b714(_0x5c4ef0,_0x1c05d8);});_0x2deb94[_0x406cac(0x389)](_0xbac2c0,_0x3db783),this['_cursors']=new Set(_0xbac2c0);}[_0x27b8a5(0x35c)](){const _0x5abd19=_0x27b8a5;var _0x4bedd2;(_0x4bedd2=this['_cursors'])==null||_0x4bedd2[_0x5abd19(0x2ad)](_0x38e6f2=>_0x38e6f2[_0x5abd19(0x436)]());}['_getSheetObject'](){const _0x1c5770=_0x27b8a5;return _0xba4c08[_0x1c5770(0x37d)](this[_0x1c5770(0x36d)][_0x1c5770(0x41f)],this['_context']);}};_0xb9b26c=_0xf3136f([_0x34d33c(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0xba4c08[_0x27b8a5(0x3bc)])),_0x34d33c(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x4c67b1)),_0x34d33c(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x41c)]))],_0xb9b26c);function _0x983bc6(_0x572b8c){const _0x21b94f=_0x27b8a5,_0x59fb48=new Map();return _0x572b8c[_0x21b94f(0x2ad)](_0x2e29f0=>{const _0x144d25=_0x21b94f;if(_0x59fb48[_0x144d25(0x288)](_0x2e29f0[_0x144d25(0x20c)])){const _0x71f4b7=_0x59fb48[_0x144d25(0x1e0)](_0x2e29f0['selection']);_0x71f4b7[_0x144d25(0x254)]+=',\x20'+_0x2e29f0[_0x144d25(0x254)];}else _0x59fb48[_0x144d25(0x2eb)](_0x2e29f0[_0x144d25(0x20c)],_0x2e29f0);}),Array['from'](_0x59fb48[_0x21b94f(0x1e4)]());}var _0x194bdc=Object[_0x27b8a5(0x23a)],_0xa874c0=(_0x157cef,_0xd2fda9,_0x4dac1d,_0xd9bd46)=>{const _0x50881f=_0x27b8a5;for(var _0x1a45cd=_0xd9bd46>0x1?void 0x0:_0xd9bd46?_0x194bdc(_0xd2fda9,_0x4dac1d):_0xd2fda9,_0x289d1a=_0x157cef[_0x50881f(0x1ce)]-0x1,_0x114b56;_0x289d1a>=0x0;_0x289d1a--)(_0x114b56=_0x157cef[_0x289d1a])&&(_0x1a45cd=_0x114b56(_0x1a45cd)||_0x1a45cd);return _0x1a45cd;},_0x3cae51=(_0x42a626,_0x5ddc4d)=>(_0x3eacf2,_0x51fe91)=>_0x5ddc4d(_0x3eacf2,_0x51fe91,_0x42a626);let _0x579597=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x2e36be,_0x5398dd,_0x57a094,_0xcab7b3,_0x41c80a,_0x3801c3){const _0x4c8e76=_0x27b8a5;super(),this[_0x4c8e76(0x29b)]=_0x2e36be,this['_localCacheService']=_0x5398dd,this[_0x4c8e76(0x375)]=_0x57a094,this['_messageService']=_0xcab7b3,this[_0x4c8e76(0x3c1)]=_0x41c80a,this[_0x4c8e76(0x2f0)]=_0x3801c3,this['_setupBeforeClosingHandler'](),this[_0x4c8e76(0x3e3)]();}[_0x27b8a5(0x2c4)](){const _0x2f5d9d=_0x27b8a5;this[_0x2f5d9d(0x41a)](this['_beforeCloseService'][_0x2f5d9d(0x344)](()=>{const _0x239a56=_0x2f5d9d;if(this[_0x239a56(0x27f)][_0x239a56(0x1e5)]['size'])return this[_0x239a56(0x2f0)]['t'](_0x239a56(0x43a));}));}['_initEvent'](){const _0xb6297=_0x27b8a5;this['disposeWithMe'](this[_0xb6297(0x375)][_0xb6297(0x3da)]['subscribe'](_0x16e9a=>{const _0x5a03be=_0xb6297;_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x318)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5a03be(0x286))}),_0x16e9a['id']===_0x5e077a['CollaborationUIEventId'][_0x5a03be(0x408)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Warning'],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2b6))}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)]['PERMISSION_DENIED']&&this['_notificationService'][_0x5a03be(0x2ee)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2db)),'type':_0x5a03be(0x29d),'duration':0x0}),_0x16e9a['id']===_0x5e077a['CollaborationUIEventId'][_0x5a03be(0x3e7)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8['MessageType'][_0x5a03be(0x415)],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2b6))+'('+_0x16e9a['data']+')'}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x1d1)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)][_0x5a03be(0x40e)],'content':this[_0x5a03be(0x2f0)]['t'](_0x16e9a['data']||'')}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x2a4)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Warning'],'content':this[_0x5a03be(0x2f0)]['t']('session.will-retry')}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)]['SOCKET_FAILED']&&this['_messageService'][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Error'],'content':this['_localeService']['t'](_0x5a03be(0x220))}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x335)]&&this['_messageService']['show']({'type':_0x3268b8['MessageType'][_0x5a03be(0x415)],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x36a))});}));}};_0x579597=_0xa874c0([_0x3cae51(0x0,_0x1887d4[_0x27b8a5(0x2d8)]),_0x3cae51(0x1,_0x5e077a[_0x27b8a5(0x28f)]),_0x3cae51(0x2,_0x1690bf['Inject'](_0x5e077a[_0x27b8a5(0x2fd)])),_0x3cae51(0x3,_0x1887d4['IMessageService']),_0x3cae51(0x4,_0x1887d4[_0x27b8a5(0x24d)]),_0x3cae51(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x349)]))],_0x579597);const _0x58dca6=_0x27b8a5(0x28a),_0x13c539={};var _0x6d3432=Object['getOwnPropertyDescriptor'],_0x39108d=(_0x5faf90,_0x5306a8,_0x4e51e8,_0x10105e)=>{for(var _0x562efc=_0x10105e>0x1?void 0x0:_0x10105e?_0x6d3432(_0x5306a8,_0x4e51e8):_0x5306a8,_0x2d0d9d=_0x5faf90['length']-0x1,_0x34c9fb;_0x2d0d9d>=0x0;_0x2d0d9d--)(_0x34c9fb=_0x5faf90[_0x2d0d9d])&&(_0x562efc=_0x34c9fb(_0x562efc)||_0x562efc);return _0x562efc;},_0x2a52e6=(_0x476930,_0xa30f6c)=>(_0x45d8f9,_0x1deb6e)=>_0xa30f6c(_0x45d8f9,_0x1deb6e,_0x476930);let _0x3cd479=class{constructor(_0x435004,_0x552992){const _0x4fefbf=_0x27b8a5;this[_0x4fefbf(0x3b0)]=_0x435004,this[_0x4fefbf(0x1d2)]=_0x552992;}[_0x27b8a5(0x2b5)](_0xec23cb){const _0x3fe9cc=_0x27b8a5;this[_0x3fe9cc(0x41e)](_0xec23cb),this[_0x3fe9cc(0x301)](_0xec23cb);}[_0x27b8a5(0x411)](_0x54c20a){const _0x2a0cc8=_0x27b8a5,{unitID:_0x4151b7}=_0x54c20a,_0x567586=this['_renderManagerService']['getRenderById'](_0x4151b7)[_0x2a0cc8(0x2df)](_0x47ddb5[_0x2a0cc8(0x39a)]),{redoCache:_0x18b257}=_0x567586[_0x2a0cc8(0x1f0)]();if(_0x18b257[_0x2a0cc8(0x1ce)]===0x0)return _0x54c20a;let _0x26877b=_0x1690bf['Tools'][_0x2a0cc8(0x267)](_0x54c20a['mutations'][0x0]);for(let _0x3cca9e=0x0;_0x3cca9e<_0x18b257[_0x2a0cc8(0x1ce)];_0x3cca9e++){const _0x256ea6={'id':'doc.mutation.rich-text-editing','params':{..._0x18b257[_0x3cca9e]}},_0x330ee9=this[_0x2a0cc8(0x3b0)][_0x2a0cc8(0x354)](_0x26877b,_0x256ea6,!0x1);if(_0x116245[_0x2a0cc8(0x308)](_0x330ee9))throw _0x330ee9[_0x2a0cc8(0x29d)];_0x26877b=_0x330ee9[_0x2a0cc8(0x285)];}return{..._0x1690bf['Tools'][_0x2a0cc8(0x267)](_0x54c20a),'mutations':[_0x26877b]};}['_transformUndoRedoStack'](_0x1e4732){const _0x401ed6=_0x27b8a5,{unitID:_0x209fc7}=_0x1e4732,_0x36cc24=this[_0x401ed6(0x1d2)][_0x401ed6(0x42a)](_0x209fc7)[_0x401ed6(0x2df)](_0x47ddb5[_0x401ed6(0x39a)]),{undoCache:_0x308718,redoCache:_0x38ffff}=_0x36cc24['getUndoRedoMutationParamsCache']();if(_0x308718[_0x401ed6(0x1ce)]===0x0||_0x38ffff[_0x401ed6(0x1ce)]===0x0)return;const _0x2a151d=[],_0x25b669=[];let _0x174899=_0x1690bf[_0x401ed6(0x302)][_0x401ed6(0x267)](_0x1e4732[_0x401ed6(0x298)][0x0]),_0x2d2318=_0x1690bf[_0x401ed6(0x302)][_0x401ed6(0x267)](_0x1e4732[_0x401ed6(0x298)][0x0]);for(let _0x1d8a1c=_0x308718[_0x401ed6(0x1ce)]-0x1;_0x1d8a1c>=0x0;_0x1d8a1c--){const _0xcd6f4a={'id':'doc.mutation.rich-text-editing','params':{..._0x308718[_0x1d8a1c]}},_0x259421={'id':'doc.mutation.rich-text-editing','params':{..._0x38ffff[_0x1d8a1c]}},_0x2a8373=this[_0x401ed6(0x3b0)][_0x401ed6(0x354)](_0x174899,_0xcd6f4a,!0x1),_0xc4bf7d=this['_transformService'][_0x401ed6(0x354)](_0x2d2318,_0x259421,!0x1);if(_0x116245[_0x401ed6(0x308)](_0x2a8373))throw _0x2a8373[_0x401ed6(0x29d)];if(_0x116245[_0x401ed6(0x308)](_0xc4bf7d))throw _0xc4bf7d[_0x401ed6(0x29d)];_0x2a151d[_0x401ed6(0x410)](_0x2a8373['m2Prime'][_0x401ed6(0x342)]),_0x25b669['unshift'](_0xc4bf7d['m2Prime'][_0x401ed6(0x342)]),_0x174899=_0x2a8373[_0x401ed6(0x285)],_0x2d2318=_0xc4bf7d[_0x401ed6(0x285)];}_0x36cc24['setUndoRedoMutationParamsCache']({'undoCache':_0x2a151d,'redoCache':_0x25b669});}['_transformPreviousActiveRange'](_0x5f58ce){const _0x578462=_0x27b8a5,{unitID:_0x547c41}=_0x5f58ce,_0x43461b=this[_0x578462(0x1d2)][_0x578462(0x42a)](_0x547c41)[_0x578462(0x2df)](_0x47ddb5[_0x578462(0x39a)]),_0x169f41=_0x43461b[_0x578462(0x261)]();if(_0x169f41==null)return;const _0x5bb7a5=[{'id':_0x578462(0x22e),'params':{'unitId':_0x5f58ce[_0x578462(0x219)],'actions':null,'textRanges':[_0x169f41]}}],_0x4b8070=this['_transformService'][_0x578462(0x380)](_0x5f58ce,_0x5bb7a5);if(!_0x116245['isTransformMutationsWithChangesetSuccess'](_0x4b8070))throw _0x4b8070['error'];const _0x474b6c=_0x4b8070[_0x578462(0x372)][0x0]['params']['textRanges'];Array[_0x578462(0x3a5)](_0x474b6c)&&_0x474b6c[_0x578462(0x1ce)]&&_0x43461b[_0x578462(0x38a)](_0x474b6c[0x0]);}};_0x3cd479=_0x39108d([_0x2a52e6(0x0,_0x116245[_0x27b8a5(0x41b)]),_0x2a52e6(0x1,_0x33db0a[_0x27b8a5(0x28c)])],_0x3cd479);var _0x5bfa13=Object[_0x27b8a5(0x23a)],_0x1bae45=(_0x4fb3d7,_0x3bea15,_0x212e42,_0x198f2d)=>{const _0x2ca3c7=_0x27b8a5;for(var _0xedef5=_0x198f2d>0x1?void 0x0:_0x198f2d?_0x5bfa13(_0x3bea15,_0x212e42):_0x3bea15,_0x4d5f89=_0x4fb3d7[_0x2ca3c7(0x1ce)]-0x1,_0x1c00e2;_0x4d5f89>=0x0;_0x4d5f89--)(_0x1c00e2=_0x4fb3d7[_0x4d5f89])&&(_0xedef5=_0x1c00e2(_0xedef5)||_0xedef5);return _0xedef5;},_0x33e04b=(_0x462670,_0x4fccdf)=>(_0x37b52d,_0x4d2bad)=>_0x4fccdf(_0x37b52d,_0x4d2bad,_0x462670);let _0x2577ad=class{constructor(_0x587447,_0x43099d,_0x16ef0b){const _0x1ffb98=_0x27b8a5;this[_0x1ffb98(0x3fd)]=_0x587447,this[_0x1ffb98(0x3b0)]=_0x43099d,this[_0x1ffb98(0x29c)]=_0x16ef0b;}[_0x27b8a5(0x1ef)](_0x21e310){const _0x3d70e1=_0x27b8a5;this[_0x3d70e1(0x1dc)](_0x21e310);}['transformRemoteChangeset'](_0x3684b7){const _0x2579d1=_0x27b8a5,{unitID:_0x16d5ae}=_0x3684b7,{collaboration:_0x5be949}=this[_0x2579d1(0x29c)]['getStateCache'](_0x16d5ae);if(_0x5be949['length']===0x0)return _0x3684b7;let _0x5aa8da=_0x1690bf[_0x2579d1(0x302)][_0x2579d1(0x267)](_0x3684b7[_0x2579d1(0x298)][0x0]);for(let _0x1037e3=0x0;_0x1037e3<_0x5be949[_0x2579d1(0x1ce)];_0x1037e3++){const _0x1ae4bb={'id':_0x2579d1(0x22e),'params':{'unitId':_0x5be949[_0x1037e3][_0x2579d1(0x3ec)],..._0x5be949[_0x1037e3][_0x2579d1(0x440)]}},_0x1edb62=this[_0x2579d1(0x3b0)][_0x2579d1(0x354)](_0x5aa8da,_0x1ae4bb,!0x1);if(_0x116245[_0x2579d1(0x308)](_0x1edb62))throw _0x1edb62['error'];_0x5aa8da=_0x1edb62['m1Prime'];}return{..._0x1690bf['Tools'][_0x2579d1(0x267)](_0x3684b7),'mutations':[_0x5aa8da]};}[_0x27b8a5(0x1dc)](_0x4abf9b){const _0xd3f8c=_0x27b8a5,{unitID:_0x3aad7d}=_0x4abf9b,{history:_0x4e5c82,collaboration:_0x26e8b3}=this['_docStateChangeManagerService']['getStateCache'](_0x3aad7d);if(_0x4e5c82[_0xd3f8c(0x1ce)]===0x0&&_0x26e8b3[_0xd3f8c(0x1ce)]===0x0)return;const _0x2488dd=[],_0x32a75c=[];let _0x52332b=_0x1690bf['Tools'][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]),_0x510772=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]);for(let _0x396cdd=_0x4e5c82[_0xd3f8c(0x1ce)]-0x1;_0x396cdd>=0x0;_0x396cdd--){const _0x2b6210={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x4e5c82[_0x396cdd][_0xd3f8c(0x3ec)],..._0x4e5c82[_0x396cdd]['undoState']}},_0x3eae24={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x4e5c82[_0x396cdd][_0xd3f8c(0x3ec)],..._0x4e5c82[_0x396cdd][_0xd3f8c(0x440)]}},_0x4d5fe5=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x52332b,_0x2b6210,!0x1),_0x21d930=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x510772,_0x3eae24,!0x1);if(_0x116245[_0xd3f8c(0x308)](_0x4d5fe5))throw _0x4d5fe5[_0xd3f8c(0x29d)];if(_0x116245['isTransformMutationFailure'](_0x21d930))throw _0x21d930[_0xd3f8c(0x29d)];_0x2488dd[_0xd3f8c(0x410)]({..._0x4e5c82[_0x396cdd],'undoState':_0x4d5fe5['m2Prime']['params'],'redoState':_0x21d930[_0xd3f8c(0x372)][_0xd3f8c(0x342)]}),_0x52332b=_0x4d5fe5[_0xd3f8c(0x285)],_0x510772=_0x21d930['m1Prime'];}_0x52332b=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]),_0x510772=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]);for(let _0x5c01ad=_0x26e8b3[_0xd3f8c(0x1ce)]-0x1;_0x5c01ad>=0x0;_0x5c01ad--){const _0x54be78={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26e8b3[_0x5c01ad][_0xd3f8c(0x3ec)],..._0x26e8b3[_0x5c01ad][_0xd3f8c(0x1b8)]}},_0x1e93a8={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x26e8b3[_0x5c01ad][_0xd3f8c(0x3ec)],..._0x26e8b3[_0x5c01ad][_0xd3f8c(0x440)]}},_0x26e9be=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x52332b,_0x54be78,!0x1),_0x311f66=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x510772,_0x1e93a8,!0x1);if(_0x116245[_0xd3f8c(0x308)](_0x26e9be))throw _0x26e9be[_0xd3f8c(0x29d)];if(_0x116245[_0xd3f8c(0x308)](_0x311f66))throw _0x311f66[_0xd3f8c(0x29d)];_0x32a75c[_0xd3f8c(0x410)]({..._0x26e8b3[_0x5c01ad],'undoState':_0x26e9be[_0xd3f8c(0x372)][_0xd3f8c(0x342)],'redoState':_0x311f66[_0xd3f8c(0x372)][_0xd3f8c(0x342)]}),_0x52332b=_0x26e9be[_0xd3f8c(0x285)],_0x510772=_0x311f66[_0xd3f8c(0x285)];}this[_0xd3f8c(0x29c)]['setStateCache'](_0x3aad7d,{'history':_0x2488dd,'collaboration':_0x32a75c});}};_0x2577ad=_0x1bae45([_0x33e04b(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x33e04b(0x1,_0x116245['ITransformService']),_0x33e04b(0x2,_0x1690bf['Inject'](_0x47ddb5[_0x27b8a5(0x428)]))],_0x2577ad);var _0x1a8fc1=Object['getOwnPropertyDescriptor'],_0x3f5f23=(_0x476243,_0x36bdd2,_0x431587,_0x40b60e)=>{const _0x38cf5c=_0x27b8a5;for(var _0x1a89a8=_0x40b60e>0x1?void 0x0:_0x40b60e?_0x1a8fc1(_0x36bdd2,_0x431587):_0x36bdd2,_0x117256=_0x476243[_0x38cf5c(0x1ce)]-0x1,_0x3d443e;_0x117256>=0x0;_0x117256--)(_0x3d443e=_0x476243[_0x117256])&&(_0x1a89a8=_0x3d443e(_0x1a89a8)||_0x1a89a8);return _0x1a89a8;},_0x5af18a=(_0xedded3,_0xb4d34f)=>(_0xfd539a,_0xd0adbd)=>_0xb4d34f(_0xfd539a,_0xd0adbd,_0xedded3);let _0x12db23=class{constructor(_0xe773c8,_0x29a867){const _0x506aea=_0x27b8a5;this[_0x506aea(0x3fd)]=_0xe773c8,this[_0x506aea(0x3b0)]=_0x29a867;}[_0x27b8a5(0x29e)](_0x3e1ec3){const _0x141ae9=_0x27b8a5;var _0x3e6806;const _0x3589df=this[_0x141ae9(0x3fd)][_0x141ae9(0x1e0)](_0xfb74c4[_0x141ae9(0x258)]),_0xb7b79=(_0x3e6806=_0x3589df[_0x141ae9(0x21a)]())!=null?_0x3e6806:[];if(_0xb7b79[_0x141ae9(0x1ce)]===0x0)return;const _0x52034e=_0x3e1ec3[_0x141ae9(0x219)],_0x29f192=[{'id':_0x141ae9(0x22e),'params':{'unitId':_0x52034e,'actions':null,'textRanges':_0xb7b79}}],_0x386a82=this[_0x141ae9(0x3b0)]['transformMutationsWithChangeset'](_0x3e1ec3,_0x29f192);if(!_0x116245[_0x141ae9(0x23f)](_0x386a82))throw _0x386a82[_0x141ae9(0x29d)];const _0x102653=_0x386a82[_0x141ae9(0x372)][0x0][_0x141ae9(0x342)]['textRanges'];Array[_0x141ae9(0x3a5)](_0x102653)&&_0x102653[_0x141ae9(0x1ce)]&&_0x3589df[_0x141ae9(0x1c3)](_0x102653,{'unitId':_0x52034e,'subUnitId':_0x52034e},!0x1);}};_0x12db23=_0x3f5f23([_0x5af18a(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x5af18a(0x1,_0x116245[_0x27b8a5(0x41b)])],_0x12db23);var _0x29e69b=Object[_0x27b8a5(0x23a)],_0x384994=(_0x4c40ab,_0x1fc763,_0x672fd6,_0x18b74e)=>{const _0x3b3c61=_0x27b8a5;for(var _0x2e3f18=_0x18b74e>0x1?void 0x0:_0x18b74e?_0x29e69b(_0x1fc763,_0x672fd6):_0x1fc763,_0x1dfc8d=_0x4c40ab[_0x3b3c61(0x1ce)]-0x1,_0x164bec;_0x1dfc8d>=0x0;_0x1dfc8d--)(_0x164bec=_0x4c40ab[_0x1dfc8d])&&(_0x2e3f18=_0x164bec(_0x2e3f18)||_0x2e3f18);return _0x2e3f18;},_0x2aba8b=(_0x57eabc,_0x447335)=>(_0x546e7d,_0x16c0ff)=>_0x447335(_0x546e7d,_0x16c0ff,_0x57eabc);let _0x3d902e=class extends _0x1690bf['Disposable']{constructor(_0x3a1602,_0x5a1f8b,_0x26fe3f,_0x4e08fa,_0x592f6f,_0x305279,_0x1e278a,_0x7eb86c){const _0x34332d=_0x27b8a5;super(),_0x42073c(this,'_status$',new _0x5f3a87[(_0x34332d(0x1d9))](_0x5e077a['CollaborationStatus'][_0x34332d(0x1fa)])),(this['_docStateChangeManagerService']=_0x3a1602,this['_collaborationController']=_0x5a1f8b,this[_0x34332d(0x1ff)]=_0x26fe3f,this[_0x34332d(0x1e8)]=_0x4e08fa,this['_docTransformSelectionsService']=_0x592f6f,this['_docSyncEditingCollabCursorService']=_0x305279,this[_0x34332d(0x20d)]=_0x1e278a,this[_0x34332d(0x2f0)]=_0x7eb86c,this[_0x34332d(0x234)]());}[_0x27b8a5(0x234)](){const _0x4e611a=_0x27b8a5;this[_0x4e611a(0x41a)](this[_0x4e611a(0x1d8)][_0x4e611a(0x21b)][_0x4e611a(0x390)](_0x21bea7=>{const _0x274845=_0x4e611a,_0x58c405=this['_docStateChangeManagerService'][_0x274845(0x280)]['subscribe'](_0x29b9a9=>{const _0xcacaaa=_0x274845;if(_0x29b9a9==null)return;const {unitId:_0x421ccc,redoState:_0xe6ca7c,commandId:_0x4c45d6}=_0x29b9a9;if(_0x421ccc!==_0x21bea7['unitID'])return;const _0x559857={'id':_0x4c45d6,'type':_0x1690bf['CommandType'][_0xcacaaa(0x282)],'params':{'unitId':_0x421ccc,'actions':_0xe6ca7c[_0xcacaaa(0x33d)],'textRanges':null}};_0x21bea7[_0xcacaaa(0x3a9)](_0x559857);});if(_0x21bea7['disposeWithMe'](_0x58c405),_0x21bea7 instanceof _0x5e077a[_0x274845(0x420)]){const _0x4b7cac={'onTransformIME':_0x518197=>this[_0x274845(0x1ff)][_0x274845(0x2b5)](_0x518197),'onTransformState':_0x3e4366=>this['_docTransformStateCacheService'][_0x274845(0x1ef)](_0x3e4366),'onTransformSelections':_0x5069f1=>this[_0x274845(0x22b)][_0x274845(0x29e)](_0x5069f1),'onSyncEditingCollabCursor':_0x44d32c=>this[_0x274845(0x277)]['syncEditingCollabCursor'](_0x44d32c),'onTransformRemoteChangesetByIMECache':_0x5b0ae6=>this[_0x274845(0x1ff)][_0x274845(0x411)](_0x5b0ae6),'onTransformRemoteChangesetByStateCache':_0x3c5189=>this[_0x274845(0x1e8)][_0x274845(0x411)](_0x3c5189)};_0x21bea7[_0x274845(0x423)](_0x4b7cac);}}));}};_0x3d902e=_0x384994([_0x2aba8b(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x47ddb5[_0x27b8a5(0x428)])),_0x2aba8b(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a['CollaborationController'])),_0x2aba8b(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x3cd479)),_0x2aba8b(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x2577ad)),_0x2aba8b(0x4,_0x1690bf['Inject'](_0x12db23)),_0x2aba8b(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x564128)),_0x2aba8b(0x6,_0x1887d4['IMessageService']),_0x2aba8b(0x7,_0x1690bf['Inject'](_0x1690bf[_0x27b8a5(0x349)]))],_0x3d902e);var _0x4d638b=Object[_0x27b8a5(0x23a)],_0x5e062b=(_0x45b72a,_0x4283da,_0x4b9eb6,_0x1af028)=>{const _0x22183b=_0x27b8a5;for(var _0x1094bf=_0x1af028>0x1?void 0x0:_0x1af028?_0x4d638b(_0x4283da,_0x4b9eb6):_0x4283da,_0x515466=_0x45b72a[_0x22183b(0x1ce)]-0x1,_0x3275a8;_0x515466>=0x0;_0x515466--)(_0x3275a8=_0x45b72a[_0x515466])&&(_0x1094bf=_0x3275a8(_0x1094bf)||_0x1094bf);return _0x1094bf;},_0x35efe1=(_0x136045,_0x1fea4f)=>(_0x3632a0,_0x48c6d2)=>_0x1fea4f(_0x3632a0,_0x48c6d2,_0x136045);let _0xcb256a=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x3c72ba,_0x5d849c,_0x5f2062){const _0x3092c4=_0x27b8a5;super(),_0x42073c(this,_0x3092c4(0x405),new Map()),_0x42073c(this,_0x3092c4(0x2d2),new Map()),_0x42073c(this,_0x3092c4(0x38d),!0x1),(this[_0x3092c4(0x394)]=_0x3c72ba,this[_0x3092c4(0x1f1)]=_0x5d849c,this[_0x3092c4(0x25f)]=_0x5f2062);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x27b8a5(0x1af)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x28171f=_0x27b8a5;return this[_0x28171f(0x2d2)];}[_0x27b8a5(0x436)](){const _0xe1240c=_0x27b8a5;this[_0xe1240c(0x396)]()[_0xe1240c(0x29a)](()=>super['dispose']());}async[_0x27b8a5(0x373)](_0x4cfe65){const _0x1a45a5=_0x27b8a5;return this[_0x1a45a5(0x38d)]?null:this[_0x1a45a5(0x1f1)][_0x1a45a5(0x1de)](_0x5e077a[_0x1a45a5(0x36f)](_0x4cfe65));}async[_0x27b8a5(0x39e)](_0x5085a7,_0x3671d8){const _0x34bb61=_0x27b8a5;return!!this[_0x34bb61(0x1f1)][_0x34bb61(0x255)](_0x5085a7,_0x3671d8);}[_0x27b8a5(0x244)](_0x5d7e47,_0x110117,_0x5cc560,_0x3ddede){const _0x4c5514=_0x27b8a5,_0x22ff50=this[_0x4c5514(0x25f)][_0x4c5514(0x2d6)](_0x5d7e47);this[_0x4c5514(0x405)]['set'](_0x5d7e47,{'unitID':_0x5d7e47,'type':_0x110117,'awaitingChangeset':_0x5cc560,'mutations':_0x3ddede,'rev':_0x22ff50}),this[_0x4c5514(0x2d2)][_0x4c5514(0x288)](_0x5d7e47)||this[_0x4c5514(0x23d)](_0x5d7e47);}[_0x27b8a5(0x23d)](_0x32d2c8){const _0x17a1dd=_0x27b8a5,_0xd7096=this[_0x17a1dd(0x37c)]();_0xd7096===0x0?this[_0x17a1dd(0x409)](_0x32d2c8):this['_saveTaskMap']['set'](_0x32d2c8,setTimeout(()=>this['_saveCache'](_0x32d2c8),_0xd7096));}['_getSaveTimeout'](){const _0x2b4359=_0x27b8a5;var _0x800782;return(_0x800782=this[_0x2b4359(0x394)][_0x2b4359(0x2a3)](_0x5e077a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x800782:_0x5e077a[_0x2b4359(0x426)];}[_0x27b8a5(0x409)](_0x4b0f4e){const _0x2d2d63=_0x27b8a5,_0x559d08=this[_0x2d2d63(0x2d2)][_0x2d2d63(0x1e0)](_0x4b0f4e);return _0x559d08!==void 0x0&&window[_0x2d2d63(0x40b)](_0x559d08),this[_0x2d2d63(0x1f1)][_0x2d2d63(0x255)](_0x5e077a[_0x2d2d63(0x36f)](_0x4b0f4e),this[_0x2d2d63(0x405)][_0x2d2d63(0x1e0)](_0x4b0f4e))['then'](()=>this['_saveTaskMap']['delete'](_0x4b0f4e));}async[_0x27b8a5(0x396)](){const _0x346c9a=_0x27b8a5,_0x1e88c6=[];this[_0x346c9a(0x2d2)][_0x346c9a(0x2ad)]((_0x2425f2,_0x1c820a)=>{const _0x4c027e=_0x346c9a;window[_0x4c027e(0x40b)](_0x2425f2),_0x1e88c6[_0x4c027e(0x2a7)](this[_0x4c027e(0x409)](_0x1c820a)['then'](()=>{const _0x3c28a9=_0x4c027e;this['_saveTaskMap'][_0x3c28a9(0x295)](_0x1c820a);}));}),await Promise['all'](_0x1e88c6);}};_0xcb256a=_0x5e062b([_0x35efe1(0x0,_0x1690bf[_0x27b8a5(0x31d)]),_0x35efe1(0x1,_0x1690bf[_0x27b8a5(0x336)]),_0x35efe1(0x2,_0x1690bf['Inject'](_0x116245['RevisionService']))],_0xcb256a);class _0x45a310 extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(){const _0x536c14=_0x27b8a5;super(),_0x42073c(this,_0x536c14(0x1e3)),this['urlChange$']=_0x5f3a87['fromEvent'](window,_0x536c14(0x3c6))[_0x536c14(0x424)](_0x5f3a87[_0x536c14(0x404)](this[_0x536c14(0x214)]),_0x5f3a87[_0x536c14(0x25e)](0x1),_0x5f3a87[_0x536c14(0x413)](void 0x0));}[_0x27b8a5(0x2fb)](_0x332d6c,_0x933f94,_0x4a445e=!0x1){const _0x144c91=_0x27b8a5,_0x4daf79=new URL(window['location'][_0x144c91(0x31a)]);_0x4daf79[_0x144c91(0x2a8)]['set'](_0x332d6c,_0x933f94),_0x4a445e?window[_0x144c91(0x345)][_0x144c91(0x43b)]('','',_0x4daf79[_0x144c91(0x412)]()):window['history']['pushState']('','',_0x4daf79[_0x144c91(0x412)]());}['removeParam'](_0x4717f0,_0x52abd4=!0x1){const _0x1b2123=_0x27b8a5,_0xec7f05=new URL(window['location'][_0x1b2123(0x31a)]);_0xec7f05[_0x1b2123(0x2a8)][_0x1b2123(0x295)](_0x4717f0),_0x52abd4?window[_0x1b2123(0x345)][_0x1b2123(0x43b)]('','',_0xec7f05['toString']()):window[_0x1b2123(0x345)][_0x1b2123(0x434)]('','',_0xec7f05[_0x1b2123(0x412)]());}[_0x27b8a5(0x422)](_0x9d7da7){const _0x131460=_0x27b8a5;var _0xf0f61e;return(_0xf0f61e=new URL(window[_0x131460(0x2ed)][_0x131460(0x31a)])[_0x131460(0x2a8)][_0x131460(0x1e0)](_0x9d7da7))!=null?_0xf0f61e:void 0x0;}}var _0x20be3a=Object[_0x27b8a5(0x3f7)],_0x5b852e=Object[_0x27b8a5(0x23a)],_0x380638=(_0x53e47b,_0x2d003e,_0x3fc7cd)=>_0x2d003e in _0x53e47b?_0x20be3a(_0x53e47b,_0x2d003e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fc7cd}):_0x53e47b[_0x2d003e]=_0x3fc7cd,_0x20bdf2=(_0x2e92c6,_0x21b733,_0x322804,_0x59a20c)=>{const _0x534cab=_0x27b8a5;for(var _0x506719=_0x59a20c>0x1?void 0x0:_0x59a20c?_0x5b852e(_0x21b733,_0x322804):_0x21b733,_0x2804ea=_0x2e92c6[_0x534cab(0x1ce)]-0x1,_0x5678f9;_0x2804ea>=0x0;_0x2804ea--)(_0x5678f9=_0x2e92c6[_0x2804ea])&&(_0x506719=_0x5678f9(_0x506719)||_0x506719);return _0x506719;},_0x142919=(_0x2366bf,_0xf1b2ca)=>(_0x56f91a,_0x264564)=>_0xf1b2ca(_0x56f91a,_0x264564,_0x2366bf),_0x2a8f3d=(_0x336aa1,_0x2f2d72,_0x1feb5f)=>_0x380638(_0x336aa1,_0x2f2d72+'',_0x1feb5f);const _0x1854d9=_0x27b8a5(0x401);_0x96e8e['UniverCollaborationClientUIPlugin']=class extends _0x1690bf[_0x27b8a5(0x402)]{constructor(_0x1f5a23=_0x13c539,_0x14c825,_0x55083b,_0x45955b){const _0x3b02e0=_0x27b8a5;super(),this['_config']=_0x1f5a23,this[_0x3b02e0(0x1d2)]=_0x14c825,this[_0x3b02e0(0x3fd)]=_0x55083b,this[_0x3b02e0(0x394)]=_0x45955b;const {..._0x236f31}=_0x1690bf[_0x3b02e0(0x231)]({},_0x13c539,this[_0x3b02e0(0x383)]);this[_0x3b02e0(0x394)][_0x3b02e0(0x23c)](_0x58dca6,_0x236f31);}['onStarting'](){const _0x89c619=_0x27b8a5;this[_0x89c619(0x2f4)](),this['_initDependencies']();}['onRendered'](){const _0x30df4a=_0x27b8a5;this[_0x30df4a(0x382)]();}['_registerDependencies'](){const _0x32e7d4=_0x27b8a5;var _0x717c57;const _0x1e3690=[[_0xade64f],[_0x12db23],[_0x3cd479],[_0x2577ad],[_0x564128],[_0x42645a,{'useClass':_0x45a310}],[_0x1df59e[_0x32e7d4(0x205)],{'useClass':_0x1df59e[_0x32e7d4(0x32b)]}],[_0x5e077a[_0x32e7d4(0x28f)],{'useClass':_0xcb256a}],[_0x96e8e[_0x32e7d4(0x376)]],[_0x3d902e],[_0x579597],[_0x4c67b1],[_0x24aa6a],[_0x96e8e[_0x32e7d4(0x1ba)]]];_0x1690bf[_0x32e7d4(0x3e4)](this[_0x32e7d4(0x3fd)],_0x1690bf['mergeOverrideWithDependencies'](_0x1e3690,(_0x717c57=this[_0x32e7d4(0x383)])==null?void 0x0:_0x717c57[_0x32e7d4(0x323)]));}[_0x27b8a5(0x382)](){const _0x1664ef=_0x27b8a5;this['disposeWithMe'](this[_0x1664ef(0x1d2)][_0x1664ef(0x38e)](_0x1690bf['UniverInstanceType']['UNIVER_DOC'],[_0x6e7c16])),this[_0x1664ef(0x41a)](this[_0x1664ef(0x1d2)][_0x1664ef(0x38e)](_0x1690bf[_0x1664ef(0x204)][_0x1664ef(0x400)],[_0xb9b26c]));}[_0x27b8a5(0x416)](){const _0x7d6bb1=_0x27b8a5;_0x1690bf[_0x7d6bb1(0x21c)](this['_injector'],[[_0x4c67b1],[_0x96e8e[_0x7d6bb1(0x376)]],[_0x3d902e],[_0x579597],[_0x96e8e[_0x7d6bb1(0x1ba)]]]);}},_0x2a8f3d(_0x96e8e['UniverCollaborationClientUIPlugin'],'pluginName',_0x1854d9),_0x96e8e[_0x27b8a5(0x3c9)]=_0x20bdf2([_0x1690bf[_0x27b8a5(0x21f)](_0x5e077a[_0x27b8a5(0x1c2)]),_0x142919(0x1,_0x33db0a['IRenderManagerService']),_0x142919(0x2,_0x1690bf['Inject'](_0x1690bf[_0x27b8a5(0x238)])),_0x142919(0x3,_0x1690bf[_0x27b8a5(0x31d)])],_0x96e8e[_0x27b8a5(0x3c9)]);var _0x4d29ab=Object[_0x27b8a5(0x23a)],_0x28a4db=(_0xb5142b,_0x1ba0a2,_0xc64d55,_0x3c6a16)=>{for(var _0xb62f19=_0x3c6a16>0x1?void 0x0:_0x3c6a16?_0x4d29ab(_0x1ba0a2,_0xc64d55):_0x1ba0a2,_0x42a444=_0xb5142b['length']-0x1,_0x1de7a2;_0x42a444>=0x0;_0x42a444--)(_0x1de7a2=_0xb5142b[_0x42a444])&&(_0xb62f19=_0x1de7a2(_0xb62f19)||_0xb62f19);return _0xb62f19;},_0x367c4f=(_0x67ff26,_0x49d4cb)=>(_0x6ea6fb,_0x12c0b5)=>_0x49d4cb(_0x6ea6fb,_0x12c0b5,_0x67ff26);_0x96e8e[_0x27b8a5(0x2d5)]=class extends _0x5e077a['CollaborationSocketService']{constructor(_0x544a92,_0x33f23a,_0x5a380a,_0x35e793,_0x3f8bdd){super(_0x544a92,_0x33f23a,_0x5a380a,_0x35e793,_0x3f8bdd);}async[_0x27b8a5(0x31e)](_0x150bef){const _0x2870d7=_0x27b8a5,_0x2a70fc=await this[_0x2870d7(0x3a1)](),_0x5e87c1=this['_createSocketURL'](_0x150bef,_0x2a70fc);return this['_doCreateSocket'](_0x5e87c1);}[_0x27b8a5(0x39b)](_0x33d435,_0x3183b4){const _0x36f9ac=_0x27b8a5,_0x11b341=typeof window>'u'?new URL(_0x33d435):new URL(_0x33d435,window[_0x36f9ac(0x2ed)]['origin']);_0x11b341[_0x36f9ac(0x2a8)][_0x36f9ac(0x2eb)](_0x36f9ac(0x2f9),_0x3183b4);const _0x81426b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x36f9ac(0x2ed)][_0x36f9ac(0x30c)]);return _0x81426b[_0x36f9ac(0x1e0)](_0x36f9ac(0x332))&&_0x11b341[_0x36f9ac(0x2a8)][_0x36f9ac(0x2eb)](_0x36f9ac(0x332),_0x81426b[_0x36f9ac(0x1e0)](_0x36f9ac(0x332))),_0x11b341['toString']();}async['_getSessionTicket'](){const _0x25f7bb=_0x27b8a5;var _0x1fdd02,_0x620a48,_0x3e42b4;const _0x5f187a=this[_0x25f7bb(0x394)][_0x25f7bb(0x2a3)](_0x5e077a[_0x25f7bb(0x3dc)]),_0x5a481b=(_0x1fdd02=_0x5f187a==null?void 0x0:_0x5f187a[_0x25f7bb(0x251)])!=null?_0x1fdd02:_0x5e077a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3e42b4=(_0x620a48=(await this[_0x25f7bb(0x1d0)][_0x25f7bb(0x1e0)](_0x5a481b,{'headers':{'Content-Type':_0x25f7bb(0x1f9)}}))[_0x25f7bb(0x340)])==null?void 0x0:_0x620a48[_0x25f7bb(0x1bf)])!=null?_0x3e42b4:'';}},_0x96e8e[_0x27b8a5(0x2d5)]=_0x28a4db([_0x367c4f(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf['Injector'])),_0x367c4f(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1df59e['HTTPService'])),_0x367c4f(0x2,_0x1690bf['IConfigService']),_0x367c4f(0x3,_0x1690bf[_0x27b8a5(0x3c3)]),_0x367c4f(0x4,_0x116245[_0x27b8a5(0x1ca)])],_0x96e8e[_0x27b8a5(0x2d5)]);var _0x38c789=(_0x2f928c=>(_0x2f928c[_0x2f928c[_0x27b8a5(0x381)]=0x0]=_0x27b8a5(0x381),_0x2f928c[_0x2f928c['OK']=0x1]='OK',_0x2f928c[_0x2f928c[_0x27b8a5(0x427)]=0x2]=_0x27b8a5(0x427),_0x2f928c[_0x2f928c[_0x27b8a5(0x2cc)]=0x3]=_0x27b8a5(0x2cc),_0x2f928c[_0x2f928c['NOT_FOUND']=0x4]=_0x27b8a5(0x34a),_0x2f928c[_0x2f928c[_0x27b8a5(0x326)]=0x5]=_0x27b8a5(0x326),_0x2f928c[_0x2f928c['ALREADY_EXISTS']=0x6]=_0x27b8a5(0x2be),_0x2f928c[_0x2f928c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2f928c[_0x2f928c[_0x27b8a5(0x1fc)]=0x8]=_0x27b8a5(0x1fc),_0x2f928c[_0x2f928c['COMPLETION_FINISHED']=0x9]=_0x27b8a5(0x369),_0x2f928c[_0x2f928c[_0x27b8a5(0x257)]=0xa]=_0x27b8a5(0x257),_0x2f928c[_0x2f928c[_0x27b8a5(0x27c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2f928c[_0x2f928c[_0x27b8a5(0x20b)]=0xc]=_0x27b8a5(0x20b),_0x2f928c[_0x2f928c[_0x27b8a5(0x250)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f928c[_0x2f928c[_0x27b8a5(0x3d0)]=0xe]=_0x27b8a5(0x3d0),_0x2f928c[_0x2f928c[_0x27b8a5(0x20f)]=0x1389]=_0x27b8a5(0x20f),_0x2f928c[_0x2f928c[_0x27b8a5(0x1dd)]=0x1771]=_0x27b8a5(0x1dd),_0x2f928c[_0x2f928c[_0x27b8a5(0x2dc)]=0x1772]=_0x27b8a5(0x2dc),_0x2f928c[_0x2f928c[_0x27b8a5(0x30a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f928c[_0x2f928c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2f928c[_0x2f928c[_0x27b8a5(0x213)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f928c[_0x2f928c[_0x27b8a5(0x3de)]=0x1b5b]=_0x27b8a5(0x3de),_0x2f928c[_0x2f928c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x27b8a5(0x311),_0x2f928c[_0x2f928c[_0x27b8a5(0x319)]=0x1b5d]=_0x27b8a5(0x319),_0x2f928c[_0x2f928c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x27b8a5(0x37a),_0x2f928c[_0x2f928c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x27b8a5(0x425),_0x2f928c[_0x2f928c[_0x27b8a5(0x24f)]=0x232a]=_0x27b8a5(0x24f),_0x2f928c[_0x2f928c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x27b8a5(0x227),_0x2f928c[_0x2f928c[_0x27b8a5(0x303)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f928c[_0x2f928c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x27b8a5(0x2a2),_0x2f928c[_0x2f928c[_0x27b8a5(0x1ae)]=0x2711]=_0x27b8a5(0x1ae),_0x2f928c[_0x2f928c[_0x27b8a5(0x26b)]=0x2712]=_0x27b8a5(0x26b),_0x2f928c[_0x2f928c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x27b8a5(0x217),_0x2f928c[_0x2f928c[_0x27b8a5(0x2fc)]=0x2714]=_0x27b8a5(0x2fc),_0x2f928c[_0x2f928c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x27b8a5(0x3a2),_0x2f928c[_0x2f928c[_0x27b8a5(0x39c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2f928c[_0x2f928c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2f928c[_0x2f928c[_0x27b8a5(0x34d)]=0x271d]=_0x27b8a5(0x34d),_0x2f928c[_0x2f928c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x27b8a5(0x2ac),_0x2f928c[_0x2f928c[_0x27b8a5(0x2e5)]=0x271f]=_0x27b8a5(0x2e5),_0x2f928c[_0x2f928c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2f928c[_0x2f928c[_0x27b8a5(0x253)]=0x2af9]=_0x27b8a5(0x253),_0x2f928c[_0x2f928c[_0x27b8a5(0x2e6)]=0x2ee1]=_0x27b8a5(0x2e6),_0x2f928c[_0x2f928c[_0x27b8a5(0x327)]=0x2ee2]=_0x27b8a5(0x327),_0x2f928c[_0x2f928c['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f928c[_0x2f928c[_0x27b8a5(0x353)]=0x2ee4]=_0x27b8a5(0x353),_0x2f928c[_0x2f928c[_0x27b8a5(0x23b)]=0x2ee5]=_0x27b8a5(0x23b),_0x2f928c[_0x2f928c[_0x27b8a5(0x392)]=0x32c9]=_0x27b8a5(0x392),_0x2f928c[_0x2f928c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x27b8a5(0x300),_0x2f928c[_0x2f928c[_0x27b8a5(0x437)]=0x32cb]=_0x27b8a5(0x437),_0x2f928c[_0x2f928c['UNRECOGNIZED']=-0x1]=_0x27b8a5(0x206),_0x2f928c))(_0x38c789||{}),_0x492e0b=Object['getOwnPropertyDescriptor'],_0xebd4f4=(_0x5270b2,_0x25879f,_0x24c364,_0x5d4a0b)=>{const _0x1e879c=_0x27b8a5;for(var _0x45d1e6=_0x5d4a0b>0x1?void 0x0:_0x5d4a0b?_0x492e0b(_0x25879f,_0x24c364):_0x25879f,_0x20bd1a=_0x5270b2[_0x1e879c(0x1ce)]-0x1,_0x5e7dec;_0x20bd1a>=0x0;_0x20bd1a--)(_0x5e7dec=_0x5270b2[_0x20bd1a])&&(_0x45d1e6=_0x5e7dec(_0x45d1e6)||_0x45d1e6);return _0x45d1e6;},_0x33a47d=(_0x56c386,_0x360679)=>(_0x3affdb,_0x302bd4)=>_0x360679(_0x3affdb,_0x302bd4,_0x56c386);_0x96e8e[_0x27b8a5(0x330)]=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x58832b,_0x1a4507,_0xd9ecf1){const _0x121530=_0x27b8a5;super(),this[_0x121530(0x31f)]=_0x58832b,this[_0x121530(0x1d0)]=_0x1a4507,this['_configService']=_0xd9ecf1;}async[_0x27b8a5(0x1c1)](_0x5a4cf9,_0x111312,_0x14572a,..._0xaa7a38){const _0x1fd1af=_0x27b8a5;var _0x492594,_0x35753c,_0x251080,_0x119447;const _0x3585e1=this['_instanceService'][_0x1fd1af(0x3e8)]();if(!_0x3585e1)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x326419=((_0x492594=this[_0x1fd1af(0x394)][_0x1fd1af(0x2a3)](_0x5e077a[_0x1fd1af(0x279)]))!=null?_0x492594:_0x5e077a[_0x1fd1af(0x374)])+'/'+_0x5a4cf9+_0x1fd1af(0x30e)+_0x111312,_0x352348=new URL(window[_0x1fd1af(0x2ed)][_0x1fd1af(0x31a)]),_0x457cca={'scriptId':_0x5a4cf9,'runId':(_0x35753c=_0x352348[_0x1fd1af(0x2a8)][_0x1fd1af(0x1e0)](_0x1fd1af(0x332)))!=null?_0x35753c:'','function':_0x111312,'unitId':_0x3585e1['getUnitId'](),'argsOfFunction':JSON['stringify'](_0xaa7a38),'invokeId':(_0x251080=_0x14572a[_0x1fd1af(0x38f)])!=null?_0x251080:'','executionId':(_0x119447=_0x14572a[_0x1fd1af(0x248)])!=null?_0x119447:''};try{const _0x4b993c=await this['_httpService'][_0x1fd1af(0x2d3)](_0x326419,{'body':_0x457cca});return _0x4b993c[_0x1fd1af(0x340)]['error']&&_0x4b993c[_0x1fd1af(0x340)][_0x1fd1af(0x29d)][_0x1fd1af(0x3cf)]!==_0x38c789['OK']?'Failed':_0x4b993c[_0x1fd1af(0x340)][_0x1fd1af(0x2d4)];}catch{return _0x1fd1af(0x429);}}},_0x96e8e[_0x27b8a5(0x330)]=_0xebd4f4([_0x33a47d(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x33a47d(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1df59e[_0x27b8a5(0x3a8)])),_0x33a47d(0x2,_0x1690bf[_0x27b8a5(0x31d)])],_0x96e8e[_0x27b8a5(0x330)]);const _0x33efa1=0x7530,_0x481d3a=_0x27b8a5(0x38b);class _0x431154 extends _0x1690bf[_0x27b8a5(0x202)]{constructor(){const _0xcd36b2=_0x27b8a5;super(),_0x42073c(this,_0xcd36b2(0x2a0),_0x1690bf[_0xcd36b2(0x1cf)]()),_0x42073c(this,_0xcd36b2(0x3ee),new Set()),_0x42073c(this,_0xcd36b2(0x26c),new Map()),_0x42073c(this,_0xcd36b2(0x246),null),_0x42073c(this,_0xcd36b2(0x43d),new Map()),_0x42073c(this,'_unitStatus',new Map()),this[_0xcd36b2(0x26d)]();}[_0x27b8a5(0x436)](){const _0x8fa3c3=_0x27b8a5;super[_0x8fa3c3(0x436)](),this[_0x8fa3c3(0x43d)][_0x8fa3c3(0x2ad)]((_0x56a138,_0x5d4d1d)=>this[_0x8fa3c3(0x26e)](_0x5d4d1d)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x8fa3c3(0x246)]);}['getUnitStatus$'](_0xda8f9e){const _0x511108=_0x27b8a5;return this[_0x511108(0x321)](_0xda8f9e)[_0x511108(0x424)](_0x5f3a87[_0x511108(0x395)]());}['editingUnit'](_0x2901f9){const _0x21c2c3=_0x27b8a5;this['_selfUnitIDs'][_0x21c2c3(0x3eb)]===0x0&&this[_0x21c2c3(0x2bc)](),this[_0x21c2c3(0x3ee)][_0x21c2c3(0x2e2)](_0x2901f9),this[_0x21c2c3(0x1cc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2901f9],'isForwarded':!0x1});}[_0x27b8a5(0x346)](_0x42db2f){const _0x5bc9e5=_0x27b8a5;this[_0x5bc9e5(0x3ee)][_0x5bc9e5(0x295)](_0x42db2f),this['_selfUnitIDs'][_0x5bc9e5(0x3eb)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x3b3956=_0x27b8a5;this['disposeWithMe'](_0x1690bf['toDisposable'](_0x5f3a87['fromEvent'](window,'storage')[_0x3b3956(0x390)](_0x3aea3e=>{const _0x420ffe=_0x3b3956;if(_0x3aea3e['key']!==_0x481d3a||!_0x3aea3e['newValue'])return;const _0x504121=JSON[_0x420ffe(0x2c9)](_0x3aea3e[_0x420ffe(0x40f)]);this['_handleEvent'](_0x504121);}))),window[_0x3b3956(0x399)]('unload',()=>this[_0x3b3956(0x1cc)]({'type':0x1,'memberID':this[_0x3b3956(0x2a0)],'unitIDs':Array[_0x3b3956(0x2b2)](this[_0x3b3956(0x3ee)])}));}[_0x27b8a5(0x441)](_0x39c96d){const _0x801a8=_0x27b8a5;switch(_0x39c96d[_0x801a8(0x2dd)]){case 0x0:this[_0x801a8(0x1c6)](_0x39c96d);break;case 0x1:this[_0x801a8(0x1f6)](_0x39c96d);break;case 0x2:this['_handleHeartbeatEvent'](_0x39c96d);break;}}['_handleJoinEvent'](_0x195227){const _0x259021=_0x27b8a5,{unitIDs:_0x810a52,memberID:_0x67750c,isForwarded:_0x563185}=_0x195227;_0x810a52[_0x259021(0x2ad)](_0x516901=>{const _0x3c7aad=_0x259021;if(!_0x563185&&this[_0x3c7aad(0x26c)]['has'](_0x516901)&&this[_0x3c7aad(0x321)](_0x516901)[_0x3c7aad(0x1b0)](_0x5e077a['UnitStatus'][_0x3c7aad(0x1d4)]),!this[_0x3c7aad(0x26c)]['has'](_0x516901)||!this[_0x3c7aad(0x26c)][_0x3c7aad(0x1e0)](_0x516901)[_0x3c7aad(0x288)](_0x67750c)){const _0x562304=this['_unitOnClients'][_0x3c7aad(0x1e0)](_0x516901)||new Set();_0x562304[_0x3c7aad(0x2e2)](_0x67750c),this[_0x3c7aad(0x26c)][_0x3c7aad(0x2eb)](_0x516901,_0x562304),this[_0x3c7aad(0x262)](_0x67750c);}}),_0x563185||this[_0x259021(0x1cc)]({'type':0x0,'memberID':this[_0x259021(0x2a0)],'unitIDs':[...this[_0x259021(0x3ee)]],'isForwarded':!0x0});}[_0x27b8a5(0x262)](_0x162959){const _0x22e502=_0x27b8a5;this[_0x22e502(0x26e)](_0x162959);const _0x5cfbe9=window[_0x22e502(0x1b2)](()=>{const _0x754361=_0x22e502;this['_unitOnClients'][_0x754361(0x2ad)](_0x360896=>{const _0x265c93=_0x754361;_0x360896[_0x265c93(0x295)](_0x162959);});},_0x33efa1*0x2);this[_0x22e502(0x43d)][_0x22e502(0x2eb)](_0x162959,_0x5cfbe9);}['_removeClearOtherTimer'](_0x50135e){const _0x9f7828=_0x27b8a5;if(this[_0x9f7828(0x43d)][_0x9f7828(0x288)](_0x50135e)){const _0x5cfa14=this['_clearOtherTimers'][_0x9f7828(0x1e0)](_0x50135e);_0x5cfa14&&window[_0x9f7828(0x40b)](_0x5cfa14),this[_0x9f7828(0x43d)][_0x9f7828(0x2eb)](_0x50135e,null);}}[_0x27b8a5(0x1f6)](_0x13ce46){const _0x9bbe7b=_0x27b8a5,{memberID:_0x5cbdaa,unitIDs:_0x114bc2}=_0x13ce46;_0x114bc2[_0x9bbe7b(0x2ad)](_0x3bf8d8=>{const _0x562b75=_0x9bbe7b;var _0x2b5ef5;const _0x28ca37=this[_0x562b75(0x26c)][_0x562b75(0x1e0)](_0x3bf8d8);_0x28ca37&&(_0x28ca37[_0x562b75(0x295)](_0x5cbdaa),(_0x2b5ef5=this['_ensureSubject'](_0x3bf8d8))==null||_0x2b5ef5[_0x562b75(0x1b0)](_0x28ca37[_0x562b75(0x3eb)]===0x0?_0x5e077a[_0x562b75(0x3e6)]['NO_OTHER_CLIENTS_EDITING']:_0x5e077a['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x5cbdaa);}['_handleHeartbeatEvent'](_0x433788){const _0x305857=_0x27b8a5;this[_0x305857(0x262)](_0x433788['memberID']);}[_0x27b8a5(0x1cc)](_0x490653){const _0x5bb30b=_0x27b8a5;localStorage[_0x5bb30b(0x255)](_0x481d3a,JSON[_0x5bb30b(0x1f3)](_0x490653));}[_0x27b8a5(0x2bc)](){const _0x2727a3=_0x27b8a5;this[_0x2727a3(0x246)]=window['setInterval'](()=>{const _0x936950=_0x2727a3;this[_0x936950(0x1cc)]({'type':0x2,'memberID':this[_0x936950(0x2a0)]});},_0x33efa1);}['_ensureSubject'](_0x2e4b3d){const _0x4b50fc=_0x27b8a5;return this[_0x4b50fc(0x1f7)][_0x4b50fc(0x288)](_0x2e4b3d)||this[_0x4b50fc(0x1f7)]['set'](_0x2e4b3d,new _0x5f3a87[(_0x4b50fc(0x1d9))](_0x5e077a[_0x4b50fc(0x3e6)][_0x4b50fc(0x2c8)])),this[_0x4b50fc(0x1f7)]['get'](_0x2e4b3d);}}_0x96e8e[_0x27b8a5(0x32f)]=_0x42645a,_0x96e8e[_0x27b8a5(0x2f3)]=_0xb2b714,_0x96e8e[_0x27b8a5(0x39d)]=_0x431154,_0x96e8e[_0x27b8a5(0x30f)]=_0x45a310,Object['defineProperty'](_0x96e8e,Symbol[_0x27b8a5(0x1f2)],{'value':_0x27b8a5(0x24a)});}));function _0x242f(_0x423b73,_0x4a5871){const _0x3adacd=_0x3ada();return _0x242f=function(_0x242ff3,_0x27913d){_0x242ff3=_0x242ff3-0x1ae;let _0x5d650e=_0x3adacd[_0x242ff3];return _0x5d650e;},_0x242f(_0x423b73,_0x4a5871);}function _0x3ada(){const _0x528e7c=['NOT_FOUND','UNIVER_DOC','serializeRangeWithSheet','YUUMI_ALL_TABLES_IS_INVALID','Vector2','svg','width','text','IImageIoService','USER_NOT_INVITED_CODE','transformMutation','asObservable','subscribeEvent','_univerInstanceService','_colorAssignService','_hideTimer','_refRangeService','_hover','_removeCollabCursors','#FFF','_logService','roomMembers','hovered','split','selections','cursorInfo$','_docSkeletonManagerService','className','RemoveRowCommandId','UniverSheets','1em','COMPLETION_FINISHED','session.collaboration-timeout','InsertRowCommandId','black','_context','rxjs/operators','getLocalCacheKey','call','_commandService','m2Prime','loadOfflineData','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','DesktopCollaborationStatusDisplayController','_anchorDot','AWAITING_WITH_PENDING','_name','CONNECTOR_DATA_TOO_LARGE','syncEditingCollabCursor','_getSaveTimeout','getSheetObject','random','_cursorShapes','transformMutationsWithChangeset','UNDEFINED','_registerRenderDependencies','_config','getMemberID','AWAITING','collabStatus.syncing','BuiltInUIPart','collabStatus.conflict','addObjects','setActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','_disabled','registerRenderModule','invokeId','subscribe','clipPath','WECHAT_HAS_BEEN_BOUND','rxjs','_configService','distinctUntilChanged','exhaustSavingTask','3060SgeabV','font','addEventListener','DocIMEInputManagerService','_createSocketURL','YUUMI_ASYNCIO_CANCELLED','WebBrowserSingleActiveUnitService','saveOfflineData','getMergeData','getUnitId','_getSessionTicket','YUUMI_NO_CUBOID_FOR_QUESTION','init','useObservable','isArray','@univerjs/engine-render','UniverUi','HTTPService','onLocalMutation','UniverProCollaborationClientUi','useCallback','getSheetId','NodePositionConvertToRectRange','SetTextSelectionsOperation','data','_transformService','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','VIEW_MAIN','tag','makeDirty','Shape','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','resize','handleDeleteRangeMoveLeft','red.300','getCurrent','SheetSkeletonManagerService','handleInsertCol','_range','concat','UniverIcon','_notificationService','MemberService','ILogService','column','onPointerEnter$','popstate','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toRgbString','UniverCollaborationClientUIPlugin','UniverNetwork','FromArray','Rect','includes','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','code','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_labelPosition','measureText','filter','endColumn','onMouseMove','min','debounce','TEXT_RANGE_LAYER_INDEX','activeSheet$','event$','fillStyle','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','icon','APPLY_REVISION_CONFILICT','NodePositionConvertToCursor','onCommandExecuted','getColorFromTheme','RegularPolygon','_initEvent','registerDependencies','endRow','UnitStatus','CONFLICT','getFocusedUnit','collabStatus.fetchMiss','PENDING','size','unitId','React','_selfUnitIDs','collab-rect-range-','currentSkeleton$','_urlService','_entities','@univerjs/docs','2093668fHAyZP','ONLINE','getUnhiddenWorksheets','defineProperty','runRefRangeMutations','CollaborationController','getViewport','url(#$1','ICommandService','_injector','_initCommandExecutedListener','on-line-icon_clip0_910_349','UNIVER_SHEET','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Plugin','addObject','takeUntil','_cachedData','6648OVYPQm','attrs','CLOSE_ROOM','_saveCache','color','clearTimeout','startsWith','labelPosition','Warning','newValue','unshift','transformRemoteChangeset','toString','mapTo','CollaborationUIEventId','Error','_initDependencies','InsertColCommandId','clsx','debounceTime','disposeWithMe','ITransformService','ThemeService','MessageType','_transformUndoRedoStack','unit','DocCollaborationEntity','registerComponent','getParam','addHandlerCallback','pipe','LICENSE_MAX_UNITS_EXCEEDED','LOCAL_CACHE_INTERVAL','INTERNAL_ERROR','DocStateChangeManagerService','Failed','getRenderById','UniverCore','string','_collabSessionService','_startDocCollabCursor','assign','CollaborationEvent','Workbook','subunit','_startSheetCollabCursor','pushState','Subject','dispose','EMAIL_HAS_BEEN_BOUND','getActiveSheet','prototype','collaboration-client.offline-data-not-saved','replaceState','ColorKit','_clearOtherTimers','352546xCttkS','reconnect','redoState','_handleEvent','YUUMI_UNABLE_LOAD_URL','enableLocalCache','next','_backgroundColor','setTimeout','propertyIsEnumerable','find','_initStatusListener','_colorIndex','0\x200\x2016\x2016','undoState','div','CollaborationDataLoaderController','switchMap','replace','CollaborationSessionService','_refreshCollabCursors','ticket','handleInsertRangeMoveRight','runOnServer','UniverCollaborationClientPlugin','replaceDocRanges','UniverEngineRender','_eventUnsubscribe','_handleJoinEvent','combineLatest','beginPath','engine','ISnapshotServerService','_cursors','_send','fillText','length','generateRandomId','_httpService','JOIN_ROOM_FAILED','_renderManagerService','handleDeleteRangeMoveUp','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DisposableCollection','deserializeRangeWithSheet','_collaborationController','BehaviorSubject','sheetID','unsubscribe','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','getItem','608LDSfFo','get','_session','_drawTextRange','urlChange$','values','saveTaskMap','debug','_uiPartsService','_docTransformStateCacheService','EffectRefRangId','collabStatus.synced','http://www.w3.org/2000/svg','startColumn','forwardRef','_updateURLWithCurrentState','transformStateCache','getUndoRedoMutationParamsCache','_localStorageService','toStringTag','stringify','getMember','_online','_handleLeaveEvent','_unitStatus','_status$','application/json','NOT_COLLAB','RemoveColCommandId','TOO_MANY_REQUESTS','createElement','Inject','_docTransformIMECacheService','react/jsx-runtime','onPointerLeave$','Disposable','transform','UniverInstanceType','ISocketService','UNRECOGNIZED','UniverProCollaborationClient','getSkeleton','ranges','fill','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','selection','_messageService','CollaborationStatus','CHANGESET_REVISION_CONFILICT','hide','[CollaborationDataLoaderController]','getSheetBySheetId','APPLY_NON_SEQUENTIAL_REVISION','dispose$','subUnitId','some','YUUMI_RATE_OVER_LIMIT','SetWorksheetActivateCommand','unitID','getDocRanges','entityInit$','touchDependencies','symbol','purple.300','DependentOn','session.connection-failed','_initStatusComponent','send','Tooltip','HEADER_MENU','_toggleOnline','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','current','UniverDocs','entries','_docTransformSelectionsService','_lastPointer','path','doc.mutation.rich-text-editing','children','currentColor','merge','getCollabCursors$','OFFLINE','_initEntityListener','_textBubble','IUniverInstanceService','useRef','Injector','_drawAnchor','getOwnPropertyDescriptor','INVITE_CODE_ALREADY_BOUND','setConfig','_scheduleSaving','sessionStatus$','isTransformMutationsWithChangesetSuccess','getCurrentUnitForType','_memberService','getUniverSheetInstance','...','updateOfflineData','_dataLoaderService','_heartbeatTimer','restore','executionId','_docClipboardService','Module','findNodePositionByCharIndex','onTransformChange$','INotificationService','createInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_MISMATCH','wsSessionTicketUrl','_onRefRangeChange','PY_RUNTIME_SCRIPT_ERROR','name','setItem','transformByState','LOGIN_FAILED','DocSelectionManagerService','exports','_color','getColor','handleInsertRangeMoveDown','_handleHover','shareReplay','_revisionService','complete','getActiveRange','_scheduleClearOtherTimer','_hovered','getCellPositionByOffset','requireSession','displayName','deepClone','218899qJrkDE','_onCursorUpdate','_collabCursorController','YUUMI_URL_COL_OUT_OF_RANGE','_unitOnClients','_init','_removeClearOtherTimer','useDependency','1795FXDYoj','xlink:href','drawWith','RefRangeService','_getMergeRange','_getSheetObject','_updateCollabCursors','_docSyncEditingCollabCursorService','toDisposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getTypeOfUnitDisposed$','idSuffix','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','_syncEditingCollabCursorService','_localCacheService','docStateChange$','_cursorInfo$','MUTATION','UPDATE_CURSOR','getCoordByCell','m1Prime','collaboration.single-unit.warning','IRemoteInstanceService','has','eventID','collaboration-client-ui.config','collabCursorState$','IRenderManagerService','sheetId','defIds','ILocalCacheService','amd','lineTo','@univerjs/core','translate(.97)','arc','delete','colorChannel1','round','mutations','_draw','then','_beforeCloseService','_docStateChangeManagerService','error','transformSelections','addClipboardHook','_id','@univerjs/ui','LICENSE_DISTRO_REJECTED','getConfig','SOCKET_FAILED_RETRY','collab-text-range-','SetDocZoomRatioOperation','push','searchParams','height','cursorInfo','_shapes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','forEach','mask','green.600','getOwnPropertySymbols','url(#off-line-icon_clip0_910_343)','from','defs','jsx','transformIMECache','collaboration.closeRoom','indexOf','bottom','3373783lQiiMF','_docSkeleton','blue.400','_scheduleHeartbeat','SYNCED','ALREADY_EXISTS','save','_updateSubUnitFromURLParams','saveImage','USERS_LEAVE','substring','_setupBeforeClosingHandler','RxDisposable','top','fromEventSubject','NO_OTHER_CLIENTS_EDITING','parse','M0\x200H16V16H0z','react','PERMISSION_DENIED','setAlpha','object','_anchor','extend','collabStatus.notCollab','_saveTaskMap','post','result','BrowserCollaborationSocketService','getCurrentRevOfUnit','isActive','IBeforeCloseService','_cursor','DOC_RANGE_TYPE','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','type','COLORS','with','_scene','throttleTime','add','_drawRectRange','registerRefRange','YUUMI_AI_RUN_FAILED','INVITE_CODE_HAS_BEEN_UES','status$','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','@univerjs/docs-ui','connectInjector','set','setShapeProps','location','show','_getScale','_localeService','@univerjs/sheets','_collabCursorState$','SheetCollabCursorShape','_registerDependencies','function','_themeService','@univerjs/drawing','3mJScOE','sessionTicket','startRow','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','CollaborationUIEventService','@univerjs/design','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MOBILE_HAS_BEEN_BOUND','_transformPreviousActiveRange','Tools','LICENSE_EXPORT_SIZE_EXCEEDED','_updateLocalCursor','1128080ojTHXX','@univerjs-pro/collaboration','getRangePointData','isTransformMutationFailure','row','ENSURE_SNAPSHOT_EXECUTION','RECT','search','_assignedColors','/run/','WebURLService','UniverSheetsUi','APPLY_PERMISSION_DENIED','Unknown\x20user','univer-mr-2\x20univer-flex\x20univer-text-xl','_entityInit$','UniverEngineFormula','TEXT','rgba(255,\x20255,\x20255,\x200.01)','OTHER_CLIENT_EDITING','APPLY_DUPLICATED','href','_toggleOffline','_roomMembers$','IConfigService','createSocket','_instanceService','handleIRemoveCol','_ensureSubject','@univerjs/sheets-ui','override','collabStatus.offline','getRelativeToViewportCoord','UNAUTHENTICATED','INVALID_INVITE_CODE','use','121nUnQJa','operators','WebSocketService','none','OnLineIcon','SessionStatus','IURLService','RemoteUniscriptService','getValue','runId','max','_getAnchorBounding','SUBMIT_CHANGESET_TIMEOUT','ILocalStorageService','range','isEditing','univerjs-icon\x20univerjs-icon-','hasOwnProperty','_onCursorDelete','getAncestorScale','actions','contains','url(#on-line-icon_clip0_910_349)','body','executeCommand','params','_setupSubUnitSync','registerBeforeClose','history','disposeUnit','map','DeleteRangeMoveLeftCommandId','LocaleService'];_0x3ada=function(){return _0x528e7c;};return _0x3ada();}
|