@univerjs-pro/collaboration-client-ui 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1b11(_0x4bc4a6,_0x461449){_0x4bc4a6=_0x4bc4a6-0xea;const _0x5942b5=_0x5942();let _0x1b1133=_0x5942b5[_0x4bc4a6];return _0x1b1133;}(function(_0x41e4ec,_0x2f76af){const _0x25169b=_0x1b11,_0x54c780=_0x41e4ec();while(!![]){try{const _0x9af894=-parseInt(_0x25169b(0x2d3))/0x1+-parseInt(_0x25169b(0x178))/0x2*(-parseInt(_0x25169b(0x383))/0x3)+-parseInt(_0x25169b(0x19e))/0x4*(-parseInt(_0x25169b(0x31d))/0x5)+-parseInt(_0x25169b(0x346))/0x6+parseInt(_0x25169b(0x1f1))/0x7+parseInt(_0x25169b(0x282))/0x8*(parseInt(_0x25169b(0x316))/0x9)+-parseInt(_0x25169b(0x371))/0xa;if(_0x9af894===_0x2f76af)break;else _0x54c780['push'](_0x54c780['shift']());}catch(_0x20c881){_0x54c780['push'](_0x54c780['shift']());}}}(_0x5942,0xeac84),function(_0x2444a8,_0x10d435){const _0x434e5f=_0x1b11;typeof exports=='object'&&typeof module<'u'?_0x10d435(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==_0x434e5f(0x23d)&&define[_0x434e5f(0x389)]?define(['exports',_0x434e5f(0x25f),_0x434e5f(0x267),_0x434e5f(0x2f1),'@univerjs/ui',_0x434e5f(0xf4),_0x434e5f(0x170),_0x434e5f(0x114),_0x434e5f(0x205),'@univerjs/sheets',_0x434e5f(0x1ae),_0x434e5f(0x2dd),'@univerjs/docs-ui',_0x434e5f(0xf7),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x434e5f(0x1b1),_0x434e5f(0x25b)],_0x10d435):(_0x2444a8=typeof globalThis<'u'?globalThis:_0x2444a8||self,_0x10d435(_0x2444a8[_0x434e5f(0x3b4)]={},_0x2444a8[_0x434e5f(0x204)],_0x2444a8['UniverProCollaborationClient'],_0x2444a8['UniverCore'],_0x2444a8[_0x434e5f(0x327)],_0x2444a8[_0x434e5f(0xf4)],_0x2444a8['UniverDesign'],_0x2444a8['React'],_0x2444a8['UniverRpc'],_0x2444a8[_0x434e5f(0x303)],_0x2444a8[_0x434e5f(0xed)],_0x2444a8['UniverNetwork'],_0x2444a8[_0x434e5f(0x340)],_0x2444a8[_0x434e5f(0x2d4)],_0x2444a8[_0x434e5f(0x3c6)],_0x2444a8[_0x434e5f(0x171)],_0x2444a8[_0x434e5f(0x118)],_0x2444a8[_0x434e5f(0xf4)][_0x434e5f(0x2e8)],_0x2444a8[_0x434e5f(0x283)]));}(this,function(_0x279e32,_0x54d5e1,_0x44b518,_0x162031,_0x198137,_0xe327d9,_0x3fb0c6,_0x5052d2,_0x4285c8,_0x3f123f,_0x433081,_0x1a6c2d,_0x74e6be,_0x3ae936,_0x4cd710,_0x47f67f,_0xf4950,_0x57b5b5,_0x9b001c){'use strict';const _0x477bc3=_0x1b11;var _0x466ec5=Object[_0x477bc3(0x2e2)],_0x35e16b=(_0x326c08,_0x5771ad,_0x1cc577)=>_0x5771ad in _0x326c08?_0x466ec5(_0x326c08,_0x5771ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc577}):_0x326c08[_0x5771ad]=_0x1cc577,_0x387a01=(_0x335765,_0x3db743,_0x590ce7)=>_0x35e16b(_0x335765,typeof _0x3db743!=_0x477bc3(0x2c8)?_0x3db743+'':_0x3db743,_0x590ce7);function _0x1f6f00({ref:_0x35c15d,..._0x23899f}){const _0x7a8a2d=_0x477bc3,{icon:_0x39d060,id:_0x2f4805,className:_0xe39db5,extend:_0x3fdc21,..._0x5a4eee}=_0x23899f,_0x6ccf5d=(_0x7a8a2d(0x34e)+_0x2f4805+'\x20'+(_0xe39db5||''))['trim'](),_0x289461=_0x5052d2[_0x7a8a2d(0x13a)]('_'+_0x3136ff());return _0x58c339(_0x39d060,''+_0x2f4805,{'defIds':_0x39d060[_0x7a8a2d(0x12c)],'idSuffix':_0x289461[_0x7a8a2d(0x22e)]},{'ref':_0x35c15d,'className':_0x6ccf5d,..._0x5a4eee},_0x3fdc21);}function _0x58c339(_0xed048,_0x20f6c9,_0xcf8ace,_0xb6605a,_0x4cbebd){const _0x132e23=_0x477bc3;return _0x5052d2[_0x132e23(0x14f)](_0xed048[_0x132e23(0x3cb)],{'key':_0x20f6c9,..._0x213258(_0xed048,_0xcf8ace,_0x4cbebd),..._0xb6605a},(_0x56ecfc(_0xed048,_0xcf8ace)[_0x132e23(0x35d)]||[])[_0x132e23(0x239)]((_0x13b362,_0x3aabb)=>_0x58c339(_0x13b362,_0x20f6c9+'-'+_0xed048[_0x132e23(0x3cb)]+'-'+_0x3aabb,_0xcf8ace,void 0x0,_0x4cbebd)));}function _0x213258(_0x2c3fb4,_0x46cfab,_0xf98cc5){const _0x3eac24=_0x477bc3,_0x2de2d1={..._0x2c3fb4[_0x3eac24(0x2fb)]};_0xf98cc5!=null&&_0xf98cc5[_0x3eac24(0x223)]&&_0x2de2d1[_0x3eac24(0x368)]===_0x3eac24(0x223)&&(_0x2de2d1[_0x3eac24(0x368)]=_0xf98cc5[_0x3eac24(0x223)]),_0x2c3fb4['tag']===_0x3eac24(0xff)&&_0x2de2d1['id']&&(_0x2de2d1['id']=_0x2de2d1['id']+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x50f864,_0x478761])=>{const _0x58cbb1=_0x3eac24;_0x50f864===_0x58cbb1(0xff)&&typeof _0x478761==_0x58cbb1(0x1cb)&&(_0x2de2d1[_0x50f864]=_0x478761[_0x58cbb1(0x2e1)](/url\(#(.*)\)/,_0x58cbb1(0x264)+_0x46cfab[_0x58cbb1(0x393)]+')'));});const {defIds:_0x413341}=_0x46cfab;return!_0x413341||_0x413341[_0x3eac24(0x215)]===0x0||(_0x2c3fb4[_0x3eac24(0x3cb)]===_0x3eac24(0x121)&&_0x2de2d1[_0x3eac24(0x29a)]&&(_0x2de2d1['xlink:href']=_0x2de2d1[_0x3eac24(0x29a)]+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x3d5fb0,_0x542a55])=>{const _0x1204e3=_0x3eac24;typeof _0x542a55==_0x1204e3(0x1cb)&&(_0x2de2d1[_0x3d5fb0]=_0x542a55['replace'](/url\(#(.*)\)/,_0x1204e3(0x264)+_0x46cfab[_0x1204e3(0x393)]+')'));})),_0x2de2d1;}function _0x56ecfc(_0x3e045a,_0x398232){const _0x25c09b=_0x477bc3;var _0x3aabef;const {defIds:_0x4427da}=_0x398232;return!_0x4427da||_0x4427da[_0x25c09b(0x215)]===0x0?_0x3e045a:_0x3e045a[_0x25c09b(0x3cb)]===_0x25c09b(0x294)&&((_0x3aabef=_0x3e045a[_0x25c09b(0x35d)])!=null&&_0x3aabef[_0x25c09b(0x215)])?{..._0x3e045a,'children':_0x3e045a[_0x25c09b(0x35d)]['map'](_0x4e62cc=>typeof _0x4e62cc[_0x25c09b(0x2fb)]['id']==_0x25c09b(0x1cb)&&_0x4427da&&_0x4427da[_0x25c09b(0x3aa)](_0x4e62cc[_0x25c09b(0x2fb)]['id'])?{..._0x4e62cc,'attrs':{..._0x4e62cc['attrs'],'id':_0x4e62cc[_0x25c09b(0x2fb)]['id']+_0x398232[_0x25c09b(0x393)]}}:_0x4e62cc)}:_0x3e045a;}function _0x3136ff(){const _0x4fbc6c=_0x477bc3;return Math[_0x4fbc6c(0x3c9)]()[_0x4fbc6c(0x2a6)](0x24)['substring'](0x2,0x8);}_0x1f6f00[_0x477bc3(0x2f9)]=_0x477bc3(0x274);const _0x22e3f7={'tag':_0x477bc3(0x2c7),'attrs':{'xmlns':_0x477bc3(0x1db),'fill':_0x477bc3(0x230),'viewBox':'0\x200\x2016\x2016','width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x21e)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':_0x477bc3(0x2a4),'d':_0x477bc3(0x28e),'strokeLinecap':_0x477bc3(0x2ba),'strokeLinejoin':_0x477bc3(0x2ba),'strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x477bc3(0x11d)]},_0x3acc41=_0x5052d2[_0x477bc3(0x1a2)](function(_0x335fb5,_0x2aa23e){const _0x481cc7=_0x477bc3;return _0x5052d2[_0x481cc7(0x14f)](_0x1f6f00,Object[_0x481cc7(0x3ba)]({},_0x335fb5,{'id':'off-line-icon','ref':_0x2aa23e,'icon':_0x22e3f7}));});_0x3acc41['displayName']=_0x477bc3(0x2bf);const _0x5e11f8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x477bc3(0x230),'viewBox':_0x477bc3(0x2de),'width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x260)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':_0x477bc3(0x2f8)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z','transform':_0x477bc3(0x2c6)}}]}]}],'defIds':[_0x477bc3(0x2f8)]},_0x2e2546=_0x5052d2[_0x477bc3(0x1a2)](function(_0x434459,_0x51802f){const _0x44588d=_0x477bc3;return _0x5052d2[_0x44588d(0x14f)](_0x1f6f00,Object[_0x44588d(0x3ba)]({},_0x434459,{'id':_0x44588d(0x3d9),'ref':_0x51802f,'icon':_0x5e11f8}));});_0x2e2546[_0x477bc3(0x2f9)]=_0x477bc3(0x27b);function _0x8aa2ad(_0x34bc1c){const _0x1f2b13=_0x477bc3;switch(_0x34bc1c){case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x3b8)]:return _0x1f2b13(0x3c2);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x1eb)]:return _0x1f2b13(0x2b1);case _0x44b518['CollaborationStatus'][_0x1f2b13(0x22a)]:return _0x1f2b13(0x2f5);case _0x44b518[_0x1f2b13(0x2c2)]['NOT_COLLAB']:return _0x1f2b13(0x2d5);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x2ef)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x1bd)]:return _0x1f2b13(0x2b7);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x19f)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x12f)]:return _0x1f2b13(0x13d);}}function _0x50f449(_0x3c54f0){const _0x114d18=_0x477bc3,{status$:_0x5dcc64}=_0x3c54f0,_0x35dc72=_0x198137[_0x114d18(0x2d2)](_0x5dcc64,_0x44b518[_0x114d18(0x2c2)][_0x114d18(0x35c)]),_0x2a70c4=_0x198137['useDependency'](_0x162031['LocaleService']),_0x3ee78b=_0x198137[_0x114d18(0x290)](_0x44b518[_0x114d18(0x1e5)]),_0x4fcd08=_0x35dc72!==_0x44b518['CollaborationStatus']['OFFLINE'],_0x45ef2e=_0x2a70c4['t'](_0x8aa2ad(_0x35dc72)),_0x3e9700=_0x4fcd08?_0x54d5e1['jsx'](_0x2e2546,{}):_0x54d5e1[_0x114d18(0x181)](_0x3acc41,{}),_0xf74250=_0x5052d2[_0x114d18(0x23e)](()=>{const _0x356060=_0x114d18;_0x4fcd08||_0x3ee78b[_0x356060(0x329)]();},[_0x4fcd08,_0x3ee78b]);function _0x25a23c(){const _0x2d68ce=_0x114d18;return _0x54d5e1['jsxs'](_0x2d68ce(0x226),{'className':'univer-flex\x20univer-items-center','onClick':_0xf74250,'children':[_0x54d5e1[_0x2d68ce(0x181)](_0x2d68ce(0x226),{'className':_0x3fb0c6[_0x2d68ce(0x29e)](_0x2d68ce(0x333),{'univer-text-green-500':_0x4fcd08,'univer-text-red-500':!_0x4fcd08}),'children':_0x3e9700}),_0x54d5e1[_0x2d68ce(0x181)]('div',{'className':_0x2d68ce(0x3af),'children':_0x45ef2e})]});}return _0x4fcd08?_0x25a23c():_0x54d5e1['jsx'](_0x3fb0c6[_0x114d18(0x137)],{'title':_0x2a70c4['t'](_0x114d18(0x19a)),'children':_0x25a23c()});}var _0x1c8fdd=Object[_0x477bc3(0x1ec)],_0x39656a=(_0x233898,_0x27b967,_0x880d8,_0x4ed502)=>{const _0x5e52e8=_0x477bc3;for(var _0x5daccb=_0x4ed502>0x1?void 0x0:_0x4ed502?_0x1c8fdd(_0x27b967,_0x880d8):_0x27b967,_0x5b52c9=_0x233898[_0x5e52e8(0x215)]-0x1,_0x11e309;_0x5b52c9>=0x0;_0x5b52c9--)(_0x11e309=_0x233898[_0x5b52c9])&&(_0x5daccb=_0x11e309(_0x5daccb)||_0x5daccb);return _0x5daccb;},_0x20f050=(_0x55f3a4,_0x3a5633)=>(_0x1261b2,_0x5935ed)=>_0x3a5633(_0x1261b2,_0x5935ed,_0x55f3a4);_0x279e32[_0x477bc3(0x2b8)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x216994,_0xf1d9d7,_0x4ff177,_0x2e649e){const _0x3207ea=_0x477bc3;super(),_0x387a01(this,_0x3207ea(0x117),new _0xe327d9['BehaviorSubject'](_0x44b518['CollaborationStatus'][_0x3207ea(0x35c)])),(this[_0x3207ea(0x225)]=_0x216994,this['_injector']=_0xf1d9d7,this[_0x3207ea(0x2f2)]=_0x4ff177,this[_0x3207ea(0x17b)]=_0x2e649e,this['_initStatusComponent'](),this[_0x3207ea(0x206)]());}[_0x477bc3(0x206)](){const _0x3252ef=_0x477bc3;this['disposeWithMe'](this[_0x3252ef(0x225)][_0x3252ef(0x253)][_0x3252ef(0x2d1)](_0xe327d9[_0x3252ef(0x220)](()=>{const _0x2da279=_0x3252ef,_0x15b6f9=this['_univerInstanceService'][_0x2da279(0x14b)]();return _0x15b6f9?this[_0x2da279(0x2f2)][_0x2da279(0x307)](_0x15b6f9[_0x2da279(0x161)]()):_0xe327d9['of'](null);}),_0xe327d9[_0x3252ef(0x220)](_0x340f77=>_0x340f77?_0x340f77[_0x3252ef(0x1b2)]:_0xe327d9['of'](_0x44b518[_0x3252ef(0x2c2)]['NOT_COLLAB'])))['subscribe'](_0x3b8c59=>{const _0xff292f=_0x3252ef;this[_0xff292f(0x117)][_0xff292f(0x3be)](_0x3b8c59);}));}[_0x477bc3(0x25a)](){const _0x4cb6d=_0x477bc3;this[_0x4cb6d(0x32e)](this[_0x4cb6d(0x17b)][_0x4cb6d(0x29b)](_0x198137[_0x4cb6d(0x3a9)][_0x4cb6d(0x2b9)],()=>_0x198137[_0x4cb6d(0x2e7)](_0x208e22({'status$':this[_0x4cb6d(0x117)][_0x4cb6d(0x119)]()}),this[_0x4cb6d(0x3da)])));}},_0x279e32['DesktopCollaborationStatusDisplayController']=_0x39656a([_0x20f050(0x0,_0x162031[_0x477bc3(0x21c)]),_0x20f050(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x20f050(0x2,_0x162031['Inject'](_0x44b518[_0x477bc3(0x15a)])),_0x20f050(0x3,_0x198137[_0x477bc3(0x187)])],_0x279e32[_0x477bc3(0x2b8)]);function _0x208e22(_0x213b3c){const {status$:_0x168a17}=_0x213b3c;return function(){const _0x3ef4a7=_0x1b11;return _0x54d5e1[_0x3ef4a7(0x181)](_0x50f449,{'status$':_0x168a17});};}const _0x361122=_0x162031[_0x477bc3(0x3a4)](_0x477bc3(0x39d));var _0x1cd2ca=Object[_0x477bc3(0x1ec)],_0x329221=(_0x4adaa0,_0x2f7471,_0x17d441,_0x40a1c1)=>{for(var _0x281cbe=_0x40a1c1>0x1?void 0x0:_0x40a1c1?_0x1cd2ca(_0x2f7471,_0x17d441):_0x2f7471,_0x1c6c54=_0x4adaa0['length']-0x1,_0x41f548;_0x1c6c54>=0x0;_0x1c6c54--)(_0x41f548=_0x4adaa0[_0x1c6c54])&&(_0x281cbe=_0x41f548(_0x281cbe)||_0x281cbe);return _0x281cbe;},_0xe212eb=(_0x3a8096,_0x56c9ff)=>(_0x5e2280,_0x429073)=>_0x56c9ff(_0x5e2280,_0x429073,_0x3a8096);_0x279e32[_0x477bc3(0x174)]=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x35e221,_0x52832c,_0x2f838f,_0x3befd1,_0x2ad403){const _0x33fa88=_0x477bc3;super(),this[_0x33fa88(0x2d7)]=_0x35e221,this[_0x33fa88(0x297)]=_0x52832c,this[_0x33fa88(0x139)]=_0x2f838f,this[_0x33fa88(0x2ce)]=_0x3befd1,_0x2ad403?_0x2ad403==null||_0x2ad403[_0x33fa88(0x365)]()[_0x33fa88(0x22f)](()=>this[_0x33fa88(0x1ad)]()):(this[_0x33fa88(0x297)][_0x33fa88(0x146)](_0x33fa88(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33fa88(0x1ad)]());}async[_0x477bc3(0x1ad)](){const _0x3455e6=_0x477bc3,_0x2bf745=this['_urlService'][_0x3455e6(0x24e)]('unit'),_0x443c1b=this[_0x3455e6(0x2d7)][_0x3455e6(0x24e)](_0x3455e6(0x24d)),_0x54d9f8=this['_urlService'][_0x3455e6(0x24e)](_0x3455e6(0x2bc));if(!_0x2bf745||!_0x443c1b){this[_0x3455e6(0x297)][_0x3455e6(0x146)](_0x3455e6(0x234),_0x3455e6(0x216));return;}const _0x345e8e=await this[_0x3455e6(0x2ce)][_0x3455e6(0x1a5)](_0x2bf745,Number(_0x443c1b),_0x54d9f8);_0x345e8e&&_0x345e8e instanceof _0x162031[_0x3455e6(0x310)]&&this['_setupSubUnitSync'](_0x345e8e);}async[_0x477bc3(0x18e)](_0x4cc461){const _0x2225ef=_0x477bc3;await this[_0x2225ef(0x20c)](_0x4cc461),_0x4cc461[_0x2225ef(0x3b6)][_0x2225ef(0x2d1)](_0xe327d9[_0x2225ef(0x331)](this['dispose$']))['subscribe'](_0x658764=>{const _0xf1e1c8=_0x2225ef;_0x658764&&this[_0xf1e1c8(0x2f7)](_0x658764);}),this['_urlService']['urlChange$']['pipe'](_0xe327d9[_0x2225ef(0x331)](this[_0x2225ef(0x1c1)]))['subscribe'](()=>this[_0x2225ef(0x20c)](_0x4cc461));}[_0x477bc3(0x2f7)](_0x3fc877,_0x261b10=!0x1){const _0x31b9db=_0x477bc3,_0x597010=this[_0x31b9db(0x2d7)][_0x31b9db(0x24e)](_0x31b9db(0x2bc));_0x3fc877[_0x31b9db(0x2a7)]()!==_0x597010&&this[_0x31b9db(0x2d7)][_0x31b9db(0x33c)](_0x31b9db(0x2bc),_0x3fc877[_0x31b9db(0x2a7)](),_0x261b10);}async['_updateSubUnitFromURLParams'](_0x384c5e){const _0x288c26=_0x477bc3;var _0x3f4118;const _0x197120=this['_urlService'][_0x288c26(0x24e)](_0x288c26(0x2bc));if(!_0x197120||!_0x384c5e['getSheetBySheetId'](_0x197120)){const _0x47b7b4=_0x384c5e[_0x288c26(0x1d0)]()[0x0],_0x43fcfa=_0x384c5e[_0x288c26(0x2ca)](_0x47b7b4);if(!_0x43fcfa)return;this[_0x288c26(0x2f7)](_0x43fcfa,!0x0),await this[_0x288c26(0x139)][_0x288c26(0x269)](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e[_0x288c26(0x161)](),'subUnitId':_0x47b7b4});return;}((_0x3f4118=_0x384c5e['getActiveSheet']())==null?void 0x0:_0x3f4118[_0x288c26(0x2a7)]())!==_0x197120&&await this[_0x288c26(0x139)]['executeCommand'](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e['getUnitId'](),'subUnitId':_0x197120});}},_0x279e32['CollaborationDataLoaderController']=_0x329221([_0xe212eb(0x0,_0x361122),_0xe212eb(0x1,_0x162031[_0x477bc3(0x353)]),_0xe212eb(0x2,_0x162031[_0x477bc3(0x326)]),_0xe212eb(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x2bd)])),_0xe212eb(0x4,_0x162031[_0x477bc3(0x30b)](_0x4285c8[_0x477bc3(0x258)]))],_0x279e32['CollaborationDataLoaderController']);var _0x1f631f=Object[_0x477bc3(0x1ec)],_0x3b9181=(_0x3a8dc7,_0x8535a6,_0x26a632,_0x2cb1a6)=>{for(var _0x2d844d=_0x2cb1a6>0x1?void 0x0:_0x2cb1a6?_0x1f631f(_0x8535a6,_0x26a632):_0x8535a6,_0x212735=_0x3a8dc7['length']-0x1,_0xd023be;_0x212735>=0x0;_0x212735--)(_0xd023be=_0x3a8dc7[_0x212735])&&(_0x2d844d=_0xd023be(_0x2d844d)||_0x2d844d);return _0x2d844d;},_0x21f1aa=(_0x27172d,_0x50fd1c)=>(_0x1a6780,_0x556fe3)=>_0x50fd1c(_0x1a6780,_0x556fe3,_0x27172d);let _0x4b1658=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x5d2b36,_0x34e7f7){const _0x295a42=_0x477bc3;super(),this[_0x295a42(0x268)]=_0x5d2b36,this[_0x295a42(0x3bf)]=_0x34e7f7,this[_0x295a42(0x1ad)]();}['_init'](){const _0x2e4e60=_0x477bc3,_0x254877=this;this['disposeWithMe'](this[_0x2e4e60(0x268)][_0x2e4e60(0x369)]({'onBeforePasteImage':async _0x5ac041=>{const _0x2f9170=_0x2e4e60,_0x199419=await _0x254877[_0x2f9170(0x3bf)][_0x2f9170(0x2cf)](_0x5ac041);return _0x199419?{'source':_0x199419[_0x2f9170(0x285)],'imageSourceType':_0x199419[_0x2f9170(0x382)]}:null;}}));}};_0x4b1658=_0x3b9181([_0x21f1aa(0x0,_0x74e6be[_0x477bc3(0x120)]),_0x21f1aa(0x1,_0x3ae936[_0x477bc3(0x2f4)])],_0x4b1658);const _0x3a99c3=[_0x477bc3(0x2dc),_0x477bc3(0x1dc),_0x477bc3(0x384),'red.300',_0x477bc3(0x1e4),_0x477bc3(0x38f)];class _0x446316 extends _0x162031['Disposable']{constructor(){const _0x4d3501=_0x477bc3;super(...arguments),_0x387a01(this,'_assignedColors',new Map()),_0x387a01(this,_0x4d3501(0x355),0x0);}['assignAColorForMemberID'](_0x951527){const _0x2e6e3c=_0x477bc3;if(this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x3cf)](_0x951527))return this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x375)](_0x951527);const _0x28134b=_0x3a99c3[this[_0x2e6e3c(0x355)]];return this[_0x2e6e3c(0x355)]=(this['_colorIndex']+0x1)%_0x3a99c3['length'],this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x34a)](_0x951527,_0x28134b),_0x28134b;}}function _0x3b41bd(_0x524c93){const _0x50b5a3=_0x477bc3;let _0xe7ffaf='';for(const _0x5dbb4f of _0x524c93){const {startOffset:_0x391a38,endOffset:_0x12a495,isActive:_0xa453e8,rangeType:_0x51df26,segmentId:_0x50d11b,segmentPage:_0x1480a3}=_0x5dbb4f;_0xe7ffaf[_0x50b5a3(0x215)]&&(_0xe7ffaf+=','),_0xe7ffaf+=_0x391a38+':'+_0x12a495+':'+(_0xa453e8?'1':'0')+':'+_0x51df26+':'+_0x50d11b+':'+_0x1480a3;}return _0xe7ffaf;}function _0x121003(_0x57178b){const _0x55e27a=_0x477bc3,_0x246fe0=_0x57178b[_0x55e27a(0xf9)](','),_0x4c8bfb=[];for(const _0x887c3d of _0x246fe0){const [_0x49982a,_0x2153b9,_0x35dba0,_0xcd88b6,_0x37423a,_0xe3e418]=_0x887c3d['split'](':');_0x4c8bfb[_0x55e27a(0x138)]({'startOffset':Number(_0x49982a),'endOffset':Number(_0x2153b9),'collapsed':_0x49982a===_0x2153b9,'isActive':_0x35dba0==='1','rangeType':_0xcd88b6===_0x162031['DOC_RANGE_TYPE'][_0x55e27a(0x252)]?_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x252)]:_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x29d)],'segmentId':typeof _0x37423a==_0x55e27a(0x1cb)?String(_0x37423a):'','segmentPage':Number(_0xe3e418!=null?_0xe3e418:-0x1)});}return _0x4c8bfb[_0x55e27a(0x30e)](_0x23b56e=>_0x23b56e['isActive'])||(_0x4c8bfb[0x0]['isActive']=!0x0),_0x4c8bfb;}class _0x3f7f20 extends _0x162031['RxDisposable']{constructor(){const _0x52bf15=_0x477bc3;super(...arguments),_0x387a01(this,_0x52bf15(0x11e),new _0xe327d9[(_0x52bf15(0x136))](null)),_0x387a01(this,_0x52bf15(0x1ba),this['_collabCursorState$'][_0x52bf15(0x119)]());}[_0x477bc3(0x25d)](_0x28eceb){const _0x570079=_0x477bc3,{unitID:_0x152297,memberID:_0x15c498,textRanges:_0x4bf291}=_0x28eceb,_0x180787=_0x3b41bd(_0x4bf291);if(_0x180787==='')return;const _0x1c350a={'unitID':_0x152297,'memberID':_0x15c498,'selection':_0x180787};this[_0x570079(0x11e)][_0x570079(0x3be)](_0x1c350a);}}var _0x3a4aaa=Object[_0x477bc3(0x1ec)],_0x4246d9=(_0x48b371,_0x381dd9,_0x4f6655,_0x132ae8)=>{const _0x5c457e=_0x477bc3;for(var _0x246701=_0x132ae8>0x1?void 0x0:_0x132ae8?_0x3a4aaa(_0x381dd9,_0x4f6655):_0x381dd9,_0x42cf91=_0x48b371[_0x5c457e(0x215)]-0x1,_0x68757a;_0x42cf91>=0x0;_0x42cf91--)(_0x68757a=_0x48b371[_0x42cf91])&&(_0x246701=_0x68757a(_0x246701)||_0x246701);return _0x246701;},_0x2211aa=(_0x38a445,_0x3a2603)=>(_0x264873,_0x276d1b)=>_0x3a2603(_0x264873,_0x276d1b,_0x38a445);const _0x4b0adc=0x12c,_0x2f001d=0x64;let _0x36b425=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0xf42aeb,_0x1a14f7,_0x424f6d,_0x2353e1,_0x460170,_0x16dd61,_0x80fa2a,_0x20ba75,_0xc16b8c){const _0x31afdf=_0x477bc3;super(),_0x387a01(this,_0x31afdf(0x159),!0x1),_0x387a01(this,_0x31afdf(0x1ad),!0x1),_0x387a01(this,_0x31afdf(0x10e),new _0xe327d9[(_0x31afdf(0x136))](new Map())),_0x387a01(this,_0x31afdf(0x262),this['_cursorInfo$']['asObservable']()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x31afdf(0x136))]([])),_0x387a01(this,_0x31afdf(0x2db),this[_0x31afdf(0x281)][_0x31afdf(0x2d1)](_0xe327d9[_0x31afdf(0x1da)](_0x4b0adc))),_0x387a01(this,_0x31afdf(0x276),_0x162031[_0x31afdf(0x24c)](_0x12f555=>{const _0x5d1c98=_0x31afdf,_0x45553c={'eventID':_0x4cd710[_0x5d1c98(0x22d)][_0x5d1c98(0x164)],'data':{'unitID':this[_0x5d1c98(0x3d0)],'memberID':this[_0x5d1c98(0x20b)][_0x5d1c98(0x3ae)](),'selection':_0x3b41bd(_0x12f555)}};this[_0x5d1c98(0x20b)][_0x5d1c98(0x3a8)](_0x45553c,this['unitID']);},_0x2f001d)),(this[_0x31afdf(0x3d0)]=_0xf42aeb,this['_session']=_0x1a14f7,this[_0x31afdf(0x3da)]=_0x424f6d,this[_0x31afdf(0x343)]=_0x2353e1,this[_0x31afdf(0x1d3)]=_0x460170,this[_0x31afdf(0x304)]=_0x16dd61,this[_0x31afdf(0x22c)]=_0x80fa2a,this[_0x31afdf(0x225)]=_0x20ba75,this[_0x31afdf(0x139)]=_0xc16b8c);}get['cursorInfo'](){const _0x76b1c4=_0x477bc3;return this[_0x76b1c4(0x10e)][_0x76b1c4(0x182)]();}get['roomMembers'](){const _0x5e8db1=_0x477bc3;return this[_0x5e8db1(0x281)][_0x5e8db1(0x182)]();}[_0x477bc3(0x388)](){const _0x309104=_0x477bc3;super['dispose'](),this[_0x309104(0x10e)][_0x309104(0x3be)](new Map()),this[_0x309104(0x10e)]['complete'](),this[_0x309104(0x281)][_0x309104(0x3be)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2ac674=_0x477bc3;this[_0x2ac674(0x1ad)]||(this[_0x2ac674(0x1ad)]=!0x0,this[_0x2ac674(0x20b)][_0x2ac674(0x1af)]['pipe'](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x561f01=>{const _0x1ca633=_0x2ac674;_0x561f01===_0x44b518[_0x1ca633(0x385)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2ac674(0x20b)]['event$'][_0x2ac674(0x2d1)](_0xe327d9['takeUntil'](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x1e2f85=>{const _0x59371c=_0x2ac674,_0x51d66=_0x1e2f85[_0x59371c(0x2ad)];_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x164)]&&this[_0x59371c(0x25c)](_0x1e2f85),_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x314)]&&this['_onCursorDelete'](_0x1e2f85);}),this['disposeWithMe'](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x3619c3=>{const _0x58381e=_0x2ac674,_0x20be0a=_0x3619c3[_0x58381e(0x1ab)];_0x20be0a!=null&&this['_online']&&_0x3619c3['id']===_0x47f67f[_0x58381e(0x2b6)]['id']&&_0x20be0a[_0x58381e(0x150)]===this['unitID']&&_0x20be0a[_0x58381e(0x1a1)]===!0x1&&_0x20be0a[_0x58381e(0x1de)][_0x58381e(0x215)]>0x0&&this[_0x58381e(0x276)](_0x20be0a[_0x58381e(0x1de)]);})),this[_0x2ac674(0x304)]['collabCursorState$'][_0x2ac674(0x2d1)](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x48867b=>{const _0x225024=_0x2ac674;if((_0x48867b==null?void 0x0:_0x48867b[_0x225024(0x3d0)])!==this[_0x225024(0x3d0)])return;const _0x2d2093={'eventID':_0x4cd710[_0x225024(0x22d)][_0x225024(0x164)],'data':_0x48867b};this[_0x225024(0x25c)](_0x2d2093);}),this[_0x2ac674(0x32e)](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x1e9af6=>{const _0x4f0adc=_0x2ac674;if(_0x1e9af6[_0x4f0adc(0x1ab)]==null)return;const _0x170cfe=_0x1e9af6['params'];if(_0x1e9af6['id']!==_0x47f67f['RichTextEditingMutation']['id']||_0x170cfe[_0x4f0adc(0x150)]!==this['unitID'])return;const _0x53e19f={'id':_0x4f0adc(0x20a),'params':_0x170cfe},_0x590fec=this[_0x4f0adc(0x266)];for(const [_0x1a3e26,_0x456c9a]of _0x590fec){const _0x21c02a={'id':_0x4f0adc(0x20a),'params':{'unitId':this[_0x4f0adc(0x3d0)],'actions':null,'textRanges':_0x456c9a[_0x4f0adc(0x1de)]}},_0x4269ab=this[_0x4f0adc(0x22c)]['transformMutation'](_0x53e19f,_0x21c02a,!0x1);if(_0x4cd710[_0x4f0adc(0x3ad)](_0x4269ab))throw _0x4269ab[_0x4f0adc(0x2d0)];_0x590fec[_0x4f0adc(0x34a)](_0x1a3e26,{..._0x456c9a,'ranges':_0x4269ab[_0x4f0adc(0x250)][_0x4f0adc(0x1ab)][_0x4f0adc(0x395)]});}queueMicrotask(()=>{const _0x16a74d=_0x4f0adc;this[_0x16a74d(0x10e)][_0x16a74d(0x3be)](_0x590fec);});})));}[_0x477bc3(0x25c)](_0x49d18b){const _0x1e8498=_0x477bc3;var _0x4855aa,_0xa28809;const {memberID:_0x23e670,selection:_0x47d091}=_0x49d18b[_0x1e8498(0x1f9)],_0x17b7f1=_0x121003(_0x47d091),_0x266ea5=(_0xa28809=(_0x4855aa=this[_0x1e8498(0x1d3)][_0x1e8498(0x271)](this['unitID'],_0x23e670))==null?void 0x0:_0x4855aa[_0x1e8498(0x3d4)])!=null?_0xa28809:_0x1e8498(0x30f),_0x58ec2f={'color':this[_0x1e8498(0x343)][_0x1e8498(0x2ff)](_0x23e670),'name':_0x266ea5,'ranges':_0x17b7f1},_0x5a8c2f=this['cursorInfo'];_0x5a8c2f[_0x1e8498(0x34a)](_0x23e670,_0x58ec2f),this['_cursorInfo$']['next'](_0x5a8c2f);}[_0x477bc3(0x33f)](_0xd23022){const _0x37b767=_0x477bc3,{memberID:_0x948a80}=_0xd23022[_0x37b767(0x1f9)],_0x4b6ea4=this[_0x37b767(0x266)];_0x4b6ea4[_0x37b767(0x32d)](_0x948a80),this[_0x37b767(0x10e)][_0x37b767(0x3be)](_0x4b6ea4);}[_0x477bc3(0x32f)](){const _0x4848a8=_0x477bc3;var _0x40a7e5;if(this[_0x4848a8(0x159)]=!0x0,((_0x40a7e5=this[_0x4848a8(0x225)]['getFocusedUnit']())==null?void 0x0:_0x40a7e5[_0x4848a8(0x161)]())!==this[_0x4848a8(0x3d0)])return;const _0x495625=this[_0x4848a8(0x3da)][_0x4848a8(0x375)](_0x47f67f[_0x4848a8(0x293)])[_0x4848a8(0x28c)]();Array[_0x4848a8(0x165)](_0x495625)&&_0x495625['length']>0x0&&this['_updateLocalCursor'](_0x495625);}[_0x477bc3(0x1dd)](){const _0x554ca7=_0x477bc3;this[_0x554ca7(0x159)]=!0x1;}};_0x36b425=_0x4246d9([_0x2211aa(0x2,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x2211aa(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x2211aa(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x111)])),_0x2211aa(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x2211aa(0x6,_0x4cd710['ITransformService']),_0x2211aa(0x7,_0x162031[_0x477bc3(0x21c)]),_0x2211aa(0x8,_0x162031['ICommandService'])],_0x36b425);var _0x7dc9c=Object[_0x477bc3(0x1ec)],_0x3549ae=(_0x4ea3b8,_0x2047f0,_0x938f38,_0x435686)=>{for(var _0x21e602=_0x435686>0x1?void 0x0:_0x435686?_0x7dc9c(_0x2047f0,_0x938f38):_0x2047f0,_0x31c7ad=_0x4ea3b8['length']-0x1,_0x5d8a83;_0x31c7ad>=0x0;_0x31c7ad--)(_0x5d8a83=_0x4ea3b8[_0x31c7ad])&&(_0x21e602=_0x5d8a83(_0x21e602)||_0x21e602);return _0x21e602;},_0x314842=(_0x4d6efc,_0x230915)=>(_0x4fa9d1,_0x3de934)=>_0x230915(_0x4fa9d1,_0x3de934,_0x4d6efc);const _0x310d61=0x12c,_0x4e7e61=0x64,_0x50f2ad=()=>{let _0x1a6eb1=[],_0x57bc34=!0x1;return _0x58c501=>{_0x1a6eb1['push'](_0x58c501),_0x57bc34||(_0x57bc34=!0x0,setTimeout(()=>{const _0x2307aa=_0x1b11;_0x1a6eb1[_0x2307aa(0x3c7)](_0x404b73=>_0x404b73()),_0x1a6eb1=[],_0x57bc34=!0x1;}));};};let _0x3944c4=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x171d15,_0x285adc,_0x136bfc,_0x23b027,_0x1ff076,_0x2fa3be,_0x41f54e,_0x1ae9b8){const _0x3f4d45=_0x477bc3;super(),_0x387a01(this,_0x3f4d45(0x159),!0x1),_0x387a01(this,'_init',!0x1),_0x387a01(this,_0x3f4d45(0x10e),new _0xe327d9[(_0x3f4d45(0x136))](new Map())),_0x387a01(this,_0x3f4d45(0x262),this[_0x3f4d45(0x10e)][_0x3f4d45(0x119)]()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x3f4d45(0x136))]([])),_0x387a01(this,_0x3f4d45(0x2db),this[_0x3f4d45(0x281)][_0x3f4d45(0x2d1)](_0xe327d9[_0x3f4d45(0x1da)](_0x310d61))),_0x387a01(this,_0x3f4d45(0x276),_0x162031['debounce']((_0x54e2f7,_0x1fad34)=>{const _0x35bcde=_0x3f4d45,_0x67d265={'eventID':_0x4cd710['CollaborationEvent'][_0x35bcde(0x164)],'data':{'unitID':this[_0x35bcde(0x3d0)],'memberID':this[_0x35bcde(0x20b)][_0x35bcde(0x3ae)](),'selection':_0xf4950[_0x35bcde(0x228)](_0x54e2f7,_0x1fad34['range'])}};this[_0x35bcde(0x20b)][_0x35bcde(0x3a8)](_0x67d265,this[_0x35bcde(0x3d0)]);},_0x4e7e61)),(this['unitID']=_0x171d15,this[_0x3f4d45(0x20b)]=_0x285adc,this['_injector']=_0x136bfc,this['_colorAssignService']=_0x23b027,this[_0x3f4d45(0x1d3)]=_0x1ff076,this['_univerInstanceService']=_0x2fa3be,this[_0x3f4d45(0x139)]=_0x41f54e,this[_0x3f4d45(0x1a3)]=_0x1ae9b8);}get[_0x477bc3(0x266)](){const _0x55050e=_0x477bc3;return this[_0x55050e(0x10e)]['getValue']();}get[_0x477bc3(0x26d)](){const _0x25597d=_0x477bc3;return this[_0x25597d(0x281)][_0x25597d(0x182)]();}[_0x477bc3(0x388)](){const _0x4de6f2=_0x477bc3;super[_0x4de6f2(0x388)](),this['_cursorInfo$'][_0x4de6f2(0x3be)](new Map()),this[_0x4de6f2(0x10e)][_0x4de6f2(0x39e)](),this[_0x4de6f2(0x281)][_0x4de6f2(0x3be)]([]),this[_0x4de6f2(0x281)][_0x4de6f2(0x39e)]();}[_0x477bc3(0x10a)](){const _0x11b883=_0x477bc3;this[_0x11b883(0x1ad)]||(this[_0x11b883(0x1ad)]=!0x0,this[_0x11b883(0x20b)]['sessionStatus$'][_0x11b883(0x2d1)](_0xe327d9[_0x11b883(0x331)](this[_0x11b883(0x1c1)]))['subscribe'](_0x3ba9de=>{const _0x5c6639=_0x11b883;_0x3ba9de===_0x44b518[_0x5c6639(0x385)][_0x5c6639(0x39b)]?this[_0x5c6639(0x32f)]():this[_0x5c6639(0x1dd)]();}),this['_session']['event$'][_0x11b883(0x2d1)](_0xe327d9['takeUntil'](this[_0x11b883(0x1c1)]))[_0x11b883(0x2cd)](_0x253f74=>{const _0x41515d=_0x11b883,_0x4a7660=_0x253f74[_0x41515d(0x2ad)];_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x164)]&&this[_0x41515d(0x25c)](_0x253f74),_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x314)]&&this[_0x41515d(0x33f)](_0x253f74);}),this[_0x11b883(0x2a2)](),this['disposeWithMe'](this[_0x11b883(0x139)]['onCommandExecuted'](_0x2a939c=>{const _0x4f2bf7=_0x11b883;if(this[_0x4f2bf7(0x159)]&&_0x2a939c['id']===_0x3f123f[_0x4f2bf7(0x363)]['id']&&_0x2a939c[_0x4f2bf7(0x1ab)][_0x4f2bf7(0x150)]===this[_0x4f2bf7(0x3d0)]){const _0x2349ed=_0x2a939c['params'];this[_0x4f2bf7(0x276)](_0x2349ed[_0x4f2bf7(0x13f)],_0x2349ed[_0x4f2bf7(0xf3)][0x0]);}})));}[_0x477bc3(0x25c)](_0x599e85){const _0x254852=_0x477bc3;var _0x312205,_0x4261a6;const {memberID:_0xcd8dab,selection:_0x3c54b3}=_0x599e85['data'],{sheetName:_0x32a29a,range:_0x59c049}=_0xf4950[_0x254852(0x152)](_0x3c54b3),_0x526f96={'name':(_0x4261a6=(_0x312205=this[_0x254852(0x1d3)]['getMember'](this[_0x254852(0x3d0)],_0xcd8dab))==null?void 0x0:_0x312205[_0x254852(0x3d4)])!=null?_0x4261a6:_0x254852(0x30f),'range':this[_0x254852(0x202)](_0x32a29a,_0x59c049),'sheetID':_0x32a29a,'color':this[_0x254852(0x343)]['assignAColorForMemberID'](_0xcd8dab),'selection':_0x3c54b3},_0x3f3ae2=this[_0x254852(0x266)];_0x3f3ae2['set'](_0xcd8dab,_0x526f96),this[_0x254852(0x10e)][_0x254852(0x3be)](_0x3f3ae2);}['_onCursorDelete'](_0x3b863a){const _0x58ff4a=_0x477bc3,{memberID:_0x4cc127}=_0x3b863a[_0x58ff4a(0x1f9)],_0x3d26b3=this[_0x58ff4a(0x266)];_0x3d26b3[_0x58ff4a(0x32d)](_0x4cc127),this[_0x58ff4a(0x10e)][_0x58ff4a(0x3be)](_0x3d26b3);}['_getMergeRange'](_0x15f6f9,_0x3a3bc2){const _0xa1c253=_0x477bc3;var _0x36716b,_0x23fc84;const _0x58b9d5=(_0x23fc84=(_0x36716b=this[_0xa1c253(0x225)][_0xa1c253(0x3cd)](this['unitID']))==null?void 0x0:_0x36716b['getSheetBySheetId'](_0x15f6f9))==null?void 0x0:_0x23fc84[_0xa1c253(0x392)]();return(_0x58b9d5==null?void 0x0:_0x58b9d5[_0xa1c253(0x295)](_0x1b44d3=>_0x162031['Rectangle']['contains'](_0x1b44d3,_0x3a3bc2)))||_0x3a3bc2;}[_0x477bc3(0x2a2)](){const _0x2aabd9=_0x477bc3,_0x179e81=new _0x162031['DisposableCollection'](),_0x312e17=_0x50f2ad(),_0x18a892=()=>{const _0xdb8232=_0x1b11;_0x179e81[_0xdb8232(0x388)]();const _0x48066a=(_0x19cc6c,_0x210a3a,_0x4fc507,_0x54809c)=>{const _0x5d9072=_0xdb8232;let _0x4303bb=[];switch(_0x19cc6c['id']){case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1d8)]:{_0x4303bb=_0x3f123f['handleDeleteRangeMoveLeft'](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1b6)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x28b)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x154)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x14a)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2c1)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x349)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2a5)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e0)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)]['InsertRowCommandId']:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e8)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2fc)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x241)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x183)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x113)](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1f3)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x2f6)](_0x19cc6c,_0x54809c);break;}}const _0x35eecc=_0x3f123f['runRefRangeMutations'](_0x4303bb,_0x54809c),_0x27357a=this[_0x5d9072(0x266)][_0x5d9072(0x375)](_0x210a3a);if(_0x27357a&&_0x35eecc){const _0x19d255={..._0x27357a,'range':_0x35eecc};this[_0x5d9072(0x266)][_0x5d9072(0x34a)](_0x210a3a,_0x19d255),_0x312e17(()=>{const _0x5ad281=_0x5d9072,_0x3c6b26=this['_refRangeService'][_0x5ad281(0x287)](_0x35eecc,_0x2d4a21=>(_0x3c6b26[_0x5ad281(0x388)](),_0x48066a(_0x2d4a21,_0x210a3a,_0x4fc507,_0x35eecc)));_0x179e81[_0x5ad281(0x1d6)](_0x3c6b26);});}return{'redos':[],'undos':[]};};this[_0xdb8232(0x266)][_0xdb8232(0x3c7)]((_0x5ddf17,_0x15f060)=>{const _0x1f29f5=_0xdb8232,{range:_0x2bcd63,sheetID:_0x92ce5}=_0x5ddf17,_0xf965c=this[_0x1f29f5(0x1a3)][_0x1f29f5(0x287)](_0x2bcd63,_0x36f69f=>(_0xf965c[_0x1f29f5(0x388)](),_0x48066a(_0x36f69f,_0x15f060,_0x92ce5,_0x2bcd63)));_0x179e81[_0x1f29f5(0x1d6)](_0xf965c);});};this[_0x2aabd9(0x32e)](_0x162031[_0x2aabd9(0x16b)](this['_cursorInfo$'][_0x2aabd9(0x2cd)](()=>{_0x18a892();})));}[_0x477bc3(0x32f)](){const _0x1637e3=_0x477bc3;var _0x37388f,_0x1f9aa3;if(this[_0x1637e3(0x159)]=!0x0,((_0x37388f=this[_0x1637e3(0x225)]['getFocusedUnit']())==null?void 0x0:_0x37388f[_0x1637e3(0x161)]())!==this[_0x1637e3(0x3d0)])return;const _0x5b7bf2=(_0x1f9aa3=this[_0x1637e3(0x3da)]['get'](_0x3f123f['SheetsSelectionsService'])[_0x1637e3(0x27c)]())==null?void 0x0:_0x1f9aa3[0x0],_0x1874b9=this[_0x1637e3(0x225)]['getCurrentUnitForType'](_0x162031[_0x1637e3(0x1c9)][_0x1637e3(0x277)])['getActiveSheet']();_0x5b7bf2&&_0x1874b9&&this[_0x1637e3(0x276)](_0x1874b9[_0x1637e3(0x2a7)](),_0x5b7bf2);}[_0x477bc3(0x1dd)](){const _0x5f9419=_0x477bc3;this[_0x5f9419(0x159)]=!0x1;}};_0x3944c4=_0x3549ae([_0x314842(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x314842(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x314842(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518['MemberService'])),_0x314842(0x5,_0x162031[_0x477bc3(0x21c)]),_0x314842(0x6,_0x162031['ICommandService']),_0x314842(0x7,_0x162031['Inject'](_0x3f123f[_0x477bc3(0x209)]))],_0x3944c4);var _0x1a9566=Object[_0x477bc3(0x1ec)],_0x5bdd9f=(_0x5ee5e5,_0x4709cb,_0x804d18,_0x363b7f)=>{for(var _0x58a054=_0x363b7f>0x1?void 0x0:_0x363b7f?_0x1a9566(_0x4709cb,_0x804d18):_0x4709cb,_0x2871bd=_0x5ee5e5['length']-0x1,_0x272321;_0x2871bd>=0x0;_0x2871bd--)(_0x272321=_0x5ee5e5[_0x2871bd])&&(_0x58a054=_0x272321(_0x58a054)||_0x58a054);return _0x58a054;},_0x5225e8=(_0x1088d8,_0x3d0e2d)=>(_0x557ab7,_0x1d3021)=>_0x3d0e2d(_0x557ab7,_0x1d3021,_0x1088d8);let _0x421cc1=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x522773,_0x4e635a,_0x4f954b){const _0x166c40=_0x477bc3;super(),_0x387a01(this,_0x166c40(0x3c1),new Map()),_0x387a01(this,_0x166c40(0x200),new _0xe327d9[(_0x166c40(0x3b7))]()),(this[_0x166c40(0x225)]=_0x522773,this[_0x166c40(0x3da)]=_0x4e635a,this['_collabSessionService']=_0x4f954b,this[_0x166c40(0x1ad)]());}[_0x477bc3(0x388)](){const _0x1aaac0=_0x477bc3;super['dispose'](),this[_0x1aaac0(0x200)][_0x1aaac0(0x39e)](),this['_entities'][_0x1aaac0(0x3c7)](_0x29f867=>_0x29f867[_0x1aaac0(0x388)]());}[_0x477bc3(0x10c)](_0x5672bb){const _0x3ce46d=_0x477bc3;return this[_0x3ce46d(0x3c1)][_0x3ce46d(0x3cf)](_0x5672bb)?this[_0x3ce46d(0x3c1)]['get'](_0x5672bb)[_0x3ce46d(0x262)]:this['_entityInit$'][_0x3ce46d(0x2d1)](_0xe327d9['filter'](_0x27c868=>_0x27c868[_0x3ce46d(0x3d0)]===_0x5672bb),_0xe327d9[_0x3ce46d(0x220)](_0xb2628e=>_0xb2628e[_0x3ce46d(0x262)]));}[_0x477bc3(0x1ad)](){const _0x2c9e3d=_0x477bc3;this['_univerInstanceService'][_0x2c9e3d(0x15c)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)])[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2cd)](async _0x3543c8=>{const _0x3d8607=_0x2c9e3d,_0x2723aa=_0x3543c8[_0x3d8607(0x161)](),_0x17598d=await this[_0x3d8607(0x3b3)](_0x2723aa);this['_entityInit$'][_0x3d8607(0x3be)](_0x17598d),this[_0x3d8607(0x3c1)][_0x3d8607(0x34a)](_0x2723aa,_0x17598d);}),this[_0x2c9e3d(0x225)]['getTypeOfUnitAdded$'](_0x162031['UniverInstanceType'][_0x2c9e3d(0x2c3)])[_0x2c9e3d(0x2d1)](_0xe327d9['takeUntil'](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x124)](_0x15fa09=>!_0x15fa09['getUnitId']()[_0x2c9e3d(0x27d)]('__')))[_0x2c9e3d(0x2cd)](async _0x4ca835=>{const _0x2569db=_0x2c9e3d,_0x1ea1cc=_0x4ca835[_0x2569db(0x161)](),_0x47a71c=await this['_startDocCollabCursor'](_0x1ea1cc);this['_entityInit$'][_0x2569db(0x3be)](_0x47a71c),this[_0x2569db(0x3c1)][_0x2569db(0x34a)](_0x1ea1cc,_0x47a71c);}),_0xe327d9[_0x2c9e3d(0x249)](this[_0x2c9e3d(0x225)][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x2c3)]),this['_univerInstanceService'][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)]))['pipe'](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))['subscribe'](_0x4bafe0=>{const _0x59d98e=_0x2c9e3d,_0x514911=_0x4bafe0[_0x59d98e(0x161)](),_0x11c8d8=this[_0x59d98e(0x3c1)][_0x59d98e(0x375)](_0x514911);_0x11c8d8&&(_0x11c8d8[_0x59d98e(0x388)](),this[_0x59d98e(0x3c1)][_0x59d98e(0x32d)](_0x514911));});}async[_0x477bc3(0x3b3)](_0x462f6e){const _0xfdac2b=_0x477bc3,_0x45c56d=await this['_collabSessionService'][_0xfdac2b(0x107)](_0x462f6e),_0x1a8021=this[_0xfdac2b(0x3da)][_0xfdac2b(0x11c)](_0x3944c4,_0x462f6e,_0x45c56d);return _0x1a8021[_0xfdac2b(0x10a)](),_0x1a8021;}async[_0x477bc3(0x1a9)](_0xd56544){const _0x35b6e5=_0x477bc3,_0x194d6a=await this[_0x35b6e5(0x299)][_0x35b6e5(0x107)](_0xd56544),_0x3e0565=this[_0x35b6e5(0x3da)][_0x35b6e5(0x11c)](_0x36b425,_0xd56544,_0x194d6a);return _0x3e0565[_0x35b6e5(0x10a)](),_0x3e0565;}};_0x421cc1=_0x5bdd9f([_0x5225e8(0x0,_0x162031['IUniverInstanceService']),_0x5225e8(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x5225e8(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x1e5)]))],_0x421cc1);const _0x2a224c=0x14,_0x5b89ee=0xc8,_0x549daf=0x4,_0x41e0cc=0x5;function _0x5746fc(_0x4e5e2c,_0x3951e3){const _0x195657=_0x477bc3;let {radius:_0x519648,width:_0x265520,height:_0x3bebb7}=_0x3951e3;_0x519648=_0x519648!=null?_0x519648:0x0,_0x265520=_0x265520!=null?_0x265520:0x1e,_0x3bebb7=_0x3bebb7!=null?_0x3bebb7:0x1e;let _0x580dbd=0x0,_0x6627c6=0x0,_0xcb984e=0x0;_0x580dbd=_0x6627c6=_0xcb984e=Math[_0x195657(0x270)](_0x519648,_0x265520/0x2,_0x3bebb7/0x2),_0x4e5e2c[_0x195657(0x32a)](),_0x4e5e2c[_0x195657(0x195)](_0x580dbd,0x0),_0x4e5e2c['lineTo'](_0x265520-_0x6627c6,0x0),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0x6627c6,_0x6627c6,_0x6627c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e5e2c[_0x195657(0x108)](_0x265520,_0x3bebb7-_0xcb984e),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0xcb984e,_0x3bebb7-_0xcb984e,_0xcb984e,0x0,Math['PI']/0x2,!0x1),_0x4e5e2c['lineTo'](0x0,_0x3bebb7),_0x4e5e2c[_0x195657(0x108)](0x0,_0x580dbd),_0x4e5e2c[_0x195657(0x129)](_0x580dbd,_0x580dbd,_0x580dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e5e2c['closePath'](),_0x3951e3[_0x195657(0x368)]&&(_0x4e5e2c[_0x195657(0x381)](),_0x4e5e2c[_0x195657(0x3a5)]=_0x3951e3['fill'],_0x3951e3[_0x195657(0x3c8)]==='evenodd'?_0x4e5e2c[_0x195657(0x368)]('evenodd'):_0x4e5e2c['fill'](),_0x4e5e2c[_0x195657(0x1be)]());}class _0x2a34f4 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x7625cb,_0x3fbf26){const _0x356ea6=_0x477bc3;super(_0x7625cb,_0x3fbf26),_0x387a01(this,_0x356ea6(0x370)),_0x387a01(this,_0x356ea6(0x1ff)),(this[_0x356ea6(0x370)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x370)],this[_0x356ea6(0x1ff)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x1ff)]);}static[_0x477bc3(0x145)](_0x3aa136,_0x4bf87f){const _0x80000b=_0x477bc3,{text:_0x2073d2,color:_0x2a64ba}=_0x4bf87f;_0x3aa136[_0x80000b(0x381)](),_0x3aa136['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x576804=_0x3aa136['measureText'](_0x2073d2)[_0x80000b(0x2c0)],_0x5cb21a=Math[_0x80000b(0x270)](_0x576804+0x2*_0x549daf,_0x5b89ee);_0x5746fc(_0x3aa136,{'height':_0x2a224c,'radius':0x4,'width':_0x5cb21a,'fill':_0x2a64ba}),_0x3aa136['fillStyle']=_0x80000b(0x24b);const _0x34d1b3=_0x549daf,_0xb9138f=_0x2a224c-_0x41e0cc,_0x1b1bb6=_0x5b89ee-0x2*_0x549daf;if(_0x576804>_0x1b1bb6){let _0x61d362='',_0x164939=0x0;for(const _0x5e5de5 of _0x2073d2){const _0x46792b=_0x3aa136[_0x80000b(0x378)](_0x5e5de5)[_0x80000b(0x2c0)];if(_0x164939+_0x46792b<=_0x1b1bb6-_0x3aa136['measureText'](_0x80000b(0x240))[_0x80000b(0x2c0)])_0x61d362+=_0x5e5de5,_0x164939+=_0x46792b;else{_0x61d362+='...';break;}}_0x3aa136[_0x80000b(0x2e6)](_0x61d362,_0x34d1b3,_0xb9138f);}else _0x3aa136['fillText'](_0x2073d2,_0x34d1b3,_0xb9138f);_0x3aa136[_0x80000b(0x1be)]();}['_draw'](_0x531ed0){_0x2a34f4['drawWith'](_0x531ed0,this);}}const _0x3fded9=_0x477bc3(0x289),_0x49fae5='collab-text-range-',_0x2b7512='collab-rect-range-',_0x307f23=0x6,_0x5bca90=1.5,_0xcd4d86=0x4,_0x185f72=1.5,_0x384113=_0x477bc3(0x214);class _0x291d53{constructor(_0x1cea1a,_0x46ffa5,_0x431db1,_0x3410d1){const _0x3d405b=_0x477bc3;_0x387a01(this,_0x3d405b(0x100),[]),_0x387a01(this,'_anchor',null),_0x387a01(this,_0x3d405b(0x396),null),_0x387a01(this,_0x3d405b(0x27f),null),_0x387a01(this,_0x3d405b(0x2f3),null),_0x387a01(this,_0x3d405b(0x16a),null),(this[_0x3d405b(0x351)]=_0x1cea1a,this[_0x3d405b(0x2b5)]=_0x46ffa5,this[_0x3d405b(0x123)]=_0x431db1,this[_0x3d405b(0x2af)]=_0x3410d1,this['_render']());}set['_hover'](_0x37ea34){const _0x360abf=_0x477bc3;_0x37ea34?(this[_0x360abf(0x27f)]&&this[_0x360abf(0x27f)][_0x360abf(0x15f)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x348)]()):(this['_anchorDot']&&this[_0x360abf(0x27f)][_0x360abf(0x348)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x15f)]());}[_0x477bc3(0x388)](){const _0x27d86e=_0x477bc3;for(const _0x3e49eb of this[_0x27d86e(0x100)])_0x3e49eb[_0x27d86e(0x388)]();this[_0x27d86e(0x396)]&&this['_textBubble'][_0x27d86e(0x388)](),this[_0x27d86e(0x27f)]&&this['_anchorDot'][_0x27d86e(0x388)](),this[_0x27d86e(0x352)]&&this[_0x27d86e(0x352)][_0x27d86e(0x388)](),this[_0x27d86e(0x16a)]&&this[_0x27d86e(0x16a)]();}['_render'](){const _0x450f87=_0x477bc3;var _0x310bf6;const {_docSkeleton:_0x283018,_document:_0x18e4b2}=this,{color:_0x12cd20,name:_0xc87098,ranges:_0x44221e}=this[_0x450f87(0x351)],_0x19496c=_0x18e4b2[_0x450f87(0x1ed)](),{docsLeft:_0x63c746,docsTop:_0x3bbb3f}=_0x19496c,_0x5ad7b6=new _0x74e6be[(_0x450f87(0x35f))](_0x19496c,_0x283018);for(const {startOffset:_0x425c56,endOffset:_0x45f83d,rangeType:_0xa0b212,segmentId:_0x1675ba,segmentPage:_0xfd2f2a,collapsed:_0x5aaab2,isActive:_0x3b84a3}of _0x44221e){const _0x41f504=_0x283018['findNodePositionByCharIndex'](_0x425c56,!0x0,_0x1675ba,_0xfd2f2a);let _0x3e175e=_0x283018['findNodePositionByCharIndex'](_0x45f83d,!0x0,_0x1675ba,_0xfd2f2a);if(_0x3e175e==null&&(_0x3e175e=_0x283018[_0x450f87(0x33b)](_0x45f83d-0x1,!0x1,_0x1675ba,_0xfd2f2a)),_0x3b84a3){const {contentBoxPointGroup:_0x3efd77}=_0x5ad7b6[_0x450f87(0x324)](_0x3e175e,_0x3e175e);if(_0x3efd77['length']===0x0)continue;this[_0x450f87(0x28a)](_0x12cd20,_0x3efd77,_0x63c746,_0x3bbb3f,_0xc87098),this['_eventUnsubscribe']=this[_0x450f87(0x1f0)]();}if(_0x41f504&&_0x3e175e){if(_0xa0b212===_0x162031[_0x450f87(0x1d9)][_0x450f87(0x29d)]){const _0x345c50=new _0x74e6be[(_0x450f87(0xec))](_0x19496c,_0x283018),{pointGroup:_0x550c17}=(_0x310bf6=_0x345c50[_0x450f87(0x324)](_0x41f504,_0x3e175e))!=null?_0x310bf6:{};if(_0x550c17==null||_0x550c17[_0x450f87(0x215)]===0x0)continue;this[_0x450f87(0x37d)](_0x12cd20,_0x550c17,_0x63c746,_0x3bbb3f);}else{if(!_0x5aaab2){const {borderBoxPointGroup:_0x5a3c85}=_0x5ad7b6[_0x450f87(0x324)](_0x41f504,_0x3e175e);if(_0x5a3c85['length']===0x0)continue;this[_0x450f87(0x1ea)](_0x12cd20,_0x5a3c85,_0x63c746,_0x3bbb3f);}}}}}[_0x477bc3(0x28a)](_0xd7520d,_0x5866f5,_0x96ff79,_0x39d1e3,_0x307eaa){const _0x2cea40=_0x477bc3,_0x696f52=this['_getAnchorBounding'](_0x5866f5),{left:_0x5b5d9b,top:_0x1caa8e,height:_0x1a4d40}=_0x696f52,_0x214211=this[_0x2cea40(0x265)](),_0x4870c9=_0x185f72/_0x214211,_0x1232bc=new _0x433081['Rect'](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3,'height':_0x1a4d40,'width':_0x5bca90,'fill':_0xd7520d||_0x433081['getColor'](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'strokeWidth':_0x4870c9,'stroke':_0x384113,'evented':!0x0});this[_0x2cea40(0x352)]=_0x1232bc,this['_scene'][_0x2cea40(0x208)](_0x1232bc,_0x74e6be[_0x2cea40(0x302)]);const _0x59f298=new _0x433081[(_0x2cea40(0x231))](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0xcd4d86/0x2,'height':_0xcd4d86,'width':_0xcd4d86,'fill':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031['COLORS'][_0x2cea40(0x286)],0x0),'strokeWidth':0x0,'stroke':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'evented':!0x1});this[_0x2cea40(0x27f)]=_0x59f298,this['_scene'][_0x2cea40(0x208)](_0x59f298,_0x74e6be['TEXT_RANGE_LAYER_INDEX']);const _0x535216=new _0x2a34f4(_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0x2a224c,'text':_0x307eaa,'color':_0xd7520d});this[_0x2cea40(0x396)]=_0x535216,this[_0x2cea40(0x2b5)][_0x2cea40(0x208)](_0x535216,_0x74e6be['TEXT_RANGE_LAYER_INDEX']),this[_0x2cea40(0x158)]=!0x1;}[_0x477bc3(0x1f0)](){const _0x1c18b6=_0x477bc3,_0x42a2cf=this[_0x1c18b6(0x352)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x23f5e2=this[_0x1c18b6(0x352)][_0x1c18b6(0x243)]['subscribeEvent'](()=>{const _0x516770=_0x1c18b6;this[_0x516770(0x2f3)]&&clearTimeout(this[_0x516770(0x2f3)]),this[_0x516770(0x2f3)]=setTimeout(()=>{const _0x3e3e1d=_0x516770;this[_0x3e3e1d(0x158)]=!0x1;},0x7d0);});return()=>{const _0x489236=_0x1c18b6;_0x42a2cf[_0x489236(0x345)](),_0x23f5e2[_0x489236(0x345)]();};}[_0x477bc3(0x1ea)](_0x10b38f,_0x5d15e3,_0x567cb9,_0x3de138){const _0xbfbfdf=_0x477bc3,_0x1b7099=new _0x162031[(_0xbfbfdf(0x245))](_0x10b38f)[_0xbfbfdf(0x189)](0.2)[_0xbfbfdf(0x3d5)](),_0x4bcb1a=new _0x433081[(_0xbfbfdf(0x2e4))](_0x49fae5+_0x162031['generateRandomId'](_0x307f23),{'pointsGroup':_0x5d15e3,'fill':_0x1b7099||_0x433081[_0xbfbfdf(0x21a)](_0x162031[_0xbfbfdf(0x254)][_0xbfbfdf(0x286)],0.2),'left':_0x567cb9,'top':_0x3de138,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbfbfdf(0x100)]['push'](_0x4bcb1a),this['_scene']['addObject'](_0x4bcb1a,_0x74e6be[_0xbfbfdf(0x302)]);}[_0x477bc3(0x37d)](_0xe6e0fc,_0xf1f908,_0x2fcdc4,_0x574396){const _0x22b8b4=_0x477bc3,_0x45dc16=new _0x162031[(_0x22b8b4(0x245))](_0xe6e0fc)[_0x22b8b4(0x189)](0.2)[_0x22b8b4(0x3d5)](),_0x400628=new _0x433081['RegularPolygon'](_0x2b7512+_0x162031[_0x22b8b4(0x38e)](_0x307f23),{'pointsGroup':_0xf1f908,'fill':_0x45dc16||_0x433081[_0x22b8b4(0x21a)](_0x162031[_0x22b8b4(0x254)][_0x22b8b4(0x286)],0.2),'left':_0x2fcdc4,'top':_0x574396,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b8b4(0x100)][_0x22b8b4(0x138)](_0x400628),this[_0x22b8b4(0x2b5)]['addObject'](_0x400628,_0x74e6be[_0x22b8b4(0x302)]);}[_0x477bc3(0x323)](_0x505c86){const _0xa5afd2=_0x505c86[0x0],_0x38422b=_0xa5afd2[0x0],_0x183d0a=_0xa5afd2[0x2],{x:_0x25f4d4,y:_0x34a3c1}=_0x38422b,{x:_0x249e11,y:_0x345c5e}=_0x183d0a;return{'left':_0x25f4d4,'top':_0x34a3c1,'width':_0x249e11-_0x25f4d4,'height':_0x345c5e-_0x34a3c1};}['_getScale'](){const _0x206669=_0x477bc3,{scaleX:_0x3b243a,scaleY:_0x59f587}=this['_scene'][_0x206669(0x2e5)]();return Math[_0x206669(0x38b)](_0x3b243a,_0x59f587);}}var _0xceaa62=Object[_0x477bc3(0x1ec)],_0x4c60d3=(_0x2a9156,_0x309792,_0x4120b1,_0x150656)=>{const _0x55482d=_0x477bc3;for(var _0x241c69=_0x150656>0x1?void 0x0:_0x150656?_0xceaa62(_0x309792,_0x4120b1):_0x309792,_0x36d7d3=_0x2a9156[_0x55482d(0x215)]-0x1,_0x3c0d9d;_0x36d7d3>=0x0;_0x36d7d3--)(_0x3c0d9d=_0x2a9156[_0x36d7d3])&&(_0x241c69=_0x3c0d9d(_0x241c69)||_0x241c69);return _0x241c69;},_0x362ca2=(_0x5a971f,_0x1c601a)=>(_0x4d9123,_0x41e98e)=>_0x1c601a(_0x4d9123,_0x41e98e,_0x5a971f);let _0x560482=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x16097d,_0x12a5ee,_0x5cf45e,_0x28fba8,_0x13a3e6){const _0x5aa08e=_0x477bc3;super(),_0x387a01(this,_0x5aa08e(0x284),[]),_0x387a01(this,_0x5aa08e(0x218),[]),(this[_0x5aa08e(0x298)]=_0x16097d,this[_0x5aa08e(0x3a0)]=_0x12a5ee,this[_0x5aa08e(0x26e)]=_0x5cf45e,this[_0x5aa08e(0x139)]=_0x28fba8,this[_0x5aa08e(0x26b)]=_0x13a3e6,this[_0x5aa08e(0x1ad)]());}['_init'](){const _0x5e55b2=_0x477bc3,_0x286cf7=this[_0x5e55b2(0x298)]['unitId'],_0x328a0a=this['_docSkeletonManagerService'];this[_0x5e55b2(0x32e)](_0xe327d9['combineLatest']([this[_0x5e55b2(0x26e)][_0x5e55b2(0x10c)](_0x286cf7),this[_0x5e55b2(0x26b)][_0x5e55b2(0x1e9)]])['pipe'](_0x57b5b5['map'](([_0x55fce3,_0x5a2fec])=>({'skeleton':_0x328a0a[_0x5e55b2(0x115)](),'cursors':[..._0x55fce3[_0x5e55b2(0x3ca)]()][_0x5e55b2(0x1e1)](_0x516680=>({..._0x516680,'color':this[_0x5e55b2(0x26b)]['getColorFromTheme'](_0x516680[_0x5e55b2(0x370)])}))})))[_0x5e55b2(0x2cd)](_0xc8fe7e=>{const _0x2999ac=_0x5e55b2;if(this[_0x2999ac(0x280)](),_0xc8fe7e){const {skeleton:_0x1dbadb,cursors:_0x4c0f70}=_0xc8fe7e;this[_0x2999ac(0x168)](_0x1dbadb,_0x4c0f70);}})),this['_initResize'](),this[_0x5e55b2(0x335)]();}[_0x477bc3(0x168)](_0x1cd659,_0x52ba42){const _0x15b013=_0x477bc3,{scene:_0x14dfc3,mainComponent:_0x5b61ae}=this[_0x15b013(0x298)],_0x50baad=_0x52ba42[_0x15b013(0x239)](_0x3ea7ff=>new _0x291d53(_0x3ea7ff,_0x14dfc3,_0x1cd659,_0x5b61ae));this[_0x15b013(0x284)]=_0x50baad,this[_0x15b013(0x218)]=_0x52ba42;}[_0x477bc3(0x21b)](){const _0x31eda0=_0x477bc3;this[_0x31eda0(0x280)]();const {scene:_0x5245a6,mainComponent:_0x73f0fa}=this[_0x31eda0(0x298)],_0x3f00e0=this['_docSkeletonManagerService'][_0x31eda0(0x115)](),_0x21fe28=this[_0x31eda0(0x218)][_0x31eda0(0x239)](_0x316a9e=>new _0x291d53(_0x316a9e,_0x5245a6,_0x3f00e0,_0x73f0fa));this[_0x31eda0(0x284)]=_0x21fe28;}[_0x477bc3(0x280)](){const _0x23bd6c=_0x477bc3;this[_0x23bd6c(0x284)][_0x23bd6c(0x3c7)](_0x54a03d=>_0x54a03d[_0x23bd6c(0x388)]()),this['_cursorShapes']=[];}[_0x477bc3(0x335)](){const _0x49237a=_0x477bc3,_0x22c1a4=[_0x74e6be['SetDocZoomRatioOperation']['id']];this[_0x49237a(0x32e)](this[_0x49237a(0x139)][_0x49237a(0x1b7)](_0x1d6d3e=>{const _0x349650=_0x49237a;_0x22c1a4['includes'](_0x1d6d3e['id'])&&_0x1d6d3e['params'][_0x349650(0x150)]===this[_0x349650(0x298)][_0x349650(0x150)]&&this[_0x349650(0x21b)]();}));}[_0x477bc3(0x175)](){const _0x324a57=_0x477bc3;this[_0x324a57(0x32e)](_0x162031[_0x324a57(0x3a1)](this['_context'][_0x324a57(0x3d3)][_0x324a57(0x109)])['pipe'](_0x57b5b5[_0x324a57(0x124)](_0x515f97=>_0x515f97[_0x324a57(0x24d)]===_0x433081['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x324a57(0x1f8)]),_0x57b5b5['throttleTime'](0x10))['subscribe'](()=>{const _0x5b9ca4=_0x324a57;this[_0x5b9ca4(0x21b)]();}));}};_0x560482=_0x4c60d3([_0x362ca2(0x1,_0x162031[_0x477bc3(0x2b0)](_0x47f67f[_0x477bc3(0x2e0)])),_0x362ca2(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x362ca2(0x3,_0x162031[_0x477bc3(0x326)]),_0x362ca2(0x4,_0x162031['Inject'](_0x162031[_0x477bc3(0x2be)]))],_0x560482);const _0x49697b=0x1,_0xfe7f48=1.5;class _0x5ff006 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x5505f3,_0x227001){const _0x2c7eb7=_0x477bc3;super(_0x5505f3,_0x227001),_0x387a01(this,_0x2c7eb7(0x24a)),_0x387a01(this,_0x2c7eb7(0x26f),!0x1),_0x387a01(this,_0x2c7eb7(0xf5)),_0x387a01(this,'_name',''),_0x387a01(this,'_labelPosition',_0x2c7eb7(0x16d)),_0x387a01(this,_0x2c7eb7(0x338)),(_0x227001&&this[_0x2c7eb7(0x317)](_0x227001),this[_0x2c7eb7(0x3a6)][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x1})));}[_0x477bc3(0x317)](_0x11e478){const _0x3ed9df=_0x477bc3;var _0x3f7577,_0x174654,_0x405b99,_0x5c1fd9,_0x2a9078,_0x2d5904;this[_0x3ed9df(0x24a)]=(_0x3f7577=_0x11e478[_0x3ed9df(0x370)])!=null?_0x3f7577:this[_0x3ed9df(0x24a)],this['_hovered']=(_0x174654=_0x11e478[_0x3ed9df(0x3c5)])!=null?_0x174654:this[_0x3ed9df(0x26f)],this[_0x3ed9df(0xf5)]=(_0x405b99=_0x11e478[_0x3ed9df(0x2ac)])!=null?_0x405b99:this[_0x3ed9df(0xf5)],this[_0x3ed9df(0x1e6)]=(_0x5c1fd9=_0x11e478[_0x3ed9df(0x3d4)])!=null?_0x5c1fd9:this[_0x3ed9df(0x1e6)],this[_0x3ed9df(0x2fa)]=(_0x2a9078=_0x11e478[_0x3ed9df(0x301)])!=null?_0x2a9078:this[_0x3ed9df(0x2fa)],this[_0x3ed9df(0x338)]=(_0x2d5904=_0x11e478[_0x3ed9df(0x356)])!=null?_0x2d5904:this[_0x3ed9df(0x338)],this[_0x3ed9df(0x16e)]({'width':_0x11e478[_0x3ed9df(0x2c0)],'height':_0x11e478['height']});}[_0x477bc3(0x1a4)](_0x367d9d){const _0x5707ba=_0x477bc3,{row:_0x5f194c,column:_0x58ad06}=_0x367d9d;if(_0x5f194c>=this[_0x5707ba(0xf5)]['startRow']&&_0x5f194c<=this[_0x5707ba(0xf5)]['endRow']&&_0x58ad06>=this[_0x5707ba(0xf5)][_0x5707ba(0x163)]&&_0x58ad06<=this[_0x5707ba(0xf5)][_0x5707ba(0x21f)]){this[_0x5707ba(0x317)]({'hovered':!0x0});return;}this[_0x5707ba(0x317)]({'hovered':!0x1});}['triggerDblclick'](_0x44983d){return!0x1;}['_draw'](_0x3d40ad){const _0x7a12b6=_0x477bc3;_0x433081[_0x7a12b6(0x231)][_0x7a12b6(0x145)](_0x3d40ad,{'width':this[_0x7a12b6(0x2c0)],'height':this[_0x7a12b6(0x291)],'strokeWidth':_0xfe7f48,'stroke':this[_0x7a12b6(0x24a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x7a12b6(0x26f)]&&(_0x3d40ad[_0x7a12b6(0x381)](),_0x3d40ad[_0x7a12b6(0x142)](0x1,0x0,0x0,0x1,this['width'],this[_0x7a12b6(0x2fa)]===_0x7a12b6(0x2f0)?0x0:-_0x2a224c),_0x2a34f4[_0x7a12b6(0x145)](_0x3d40ad,{'text':this[_0x7a12b6(0x1e6)],'color':this[_0x7a12b6(0x24a)]}),_0x3d40ad[_0x7a12b6(0x1be)]());}}var _0x3efdf3=Object[_0x477bc3(0x1ec)],_0x21f188=(_0x4c6140,_0x3cdba1,_0x8752b8,_0x9cf6a1)=>{for(var _0x3a0146=_0x9cf6a1>0x1?void 0x0:_0x9cf6a1?_0x3efdf3(_0x3cdba1,_0x8752b8):_0x3cdba1,_0x553934=_0x4c6140['length']-0x1,_0x2b80c0;_0x553934>=0x0;_0x553934--)(_0x2b80c0=_0x4c6140[_0x553934])&&(_0x3a0146=_0x2b80c0(_0x3a0146)||_0x3a0146);return _0x3a0146;},_0x2b05e5=(_0x482322,_0x4a1065)=>(_0xcea71d,_0x3ace51)=>_0x4a1065(_0xcea71d,_0x3ace51,_0x482322);const _0x3edc2a=0x1389;let _0x2eb725=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x2c055b,_0x176596,_0x268ab8,_0x37435a){const _0x1931d5=_0x477bc3;super(),_0x387a01(this,_0x1931d5(0x218),new Set()),_0x387a01(this,_0x1931d5(0x36e),null),(this[_0x1931d5(0x298)]=_0x2c055b,this[_0x1931d5(0x300)]=_0x176596,this[_0x1931d5(0x26e)]=_0x268ab8,this[_0x1931d5(0x26b)]=_0x37435a,this['_init']());}[_0x477bc3(0x1ad)](){const _0x438ec3=_0x477bc3;this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2d1)](_0x57b5b5[_0x438ec3(0x331)](this[_0x438ec3(0x1c1)]),_0x57b5b5[_0x438ec3(0x220)](_0x24c6f0=>{const _0x50f39b=_0x438ec3;if(_0x24c6f0){const _0xdcc0d3=_0x24c6f0[_0x50f39b(0x39c)];return _0xe327d9[_0x50f39b(0x1fb)](this[_0x50f39b(0x26e)][_0x50f39b(0x10c)](this[_0x50f39b(0x298)]['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x57b5b5[_0x50f39b(0x239)](([_0x22d750,_0x5cddf1])=>{const _0x49e4e6=_0x50f39b,_0x38e03a=new Map();return _0x22d750[_0x49e4e6(0x3c7)]((_0x29f984,_0x42e22d)=>{const _0x3e72ee=_0x49e4e6;if(_0x29f984[_0x3e72ee(0x12e)]===_0xdcc0d3){const _0x675277={..._0x29f984};_0x675277[_0x3e72ee(0x370)]=this['_themeService'][_0x3e72ee(0x1a8)](_0x29f984[_0x3e72ee(0x370)]),_0x38e03a[_0x3e72ee(0x34a)](_0x42e22d,_0x675277);}}),{'skeleton':_0x24c6f0,'cursors':_0x38e03a};}));}return _0xe327d9['of']({'skeleton':null,'cursors':new Map()});}))[_0x438ec3(0x2cd)](({skeleton:_0xf1b502,cursors:_0x2e878b})=>{const _0x374bcd=_0x438ec3;this[_0x374bcd(0x280)](),_0xf1b502&&this[_0x374bcd(0x168)](_0xf1b502,_0x2e878b);}),this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2cd)](_0x4d245a=>{const _0x5d7b4a=_0x438ec3;if(_0x4d245a==null)return;const {skeleton:_0x1ab0ff}=_0x4d245a,{scene:_0x2360ff}=this[_0x5d7b4a(0x298)];_0x2360ff[_0x5d7b4a(0x1c6)][_0x5d7b4a(0x259)](_0x162031['debounce'](_0x10ddb5=>{const _0x5e31f2=_0x5d7b4a;var _0x3ddff7,_0x2f529c;const {offsetX:_0x32244d,offsetY:_0x47d3d2}=_0x10ddb5,{x:_0x1b9fc2,y:_0x182afd}=_0x2360ff['getRelativeToViewportCoord'](_0x433081[_0x5e31f2(0x1d4)][_0x5e31f2(0x373)]([_0x32244d,_0x47d3d2])),{scaleX:_0x59b025,scaleY:_0x343058}=_0x2360ff['getAncestorScale'](),_0x2ef878=_0x2360ff[_0x5e31f2(0x2ec)](_0x433081[_0x5e31f2(0x2ae)][_0x5e31f2(0x191)]),_0x301f56=_0x2360ff[_0x5e31f2(0x235)](_0x433081['Vector2'][_0x5e31f2(0x373)]([_0x1b9fc2,_0x182afd]),_0x2ef878),_0x2884f6=_0x1ab0ff[_0x5e31f2(0x337)](_0x32244d,_0x47d3d2,_0x59b025,_0x343058,_0x301f56);((_0x3ddff7=this[_0x5e31f2(0x36e)])==null?void 0x0:_0x3ddff7[_0x5e31f2(0x364)])===_0x2884f6[_0x5e31f2(0x364)]&&((_0x2f529c=this['_lastPointer'])==null?void 0x0:_0x2f529c['row'])===_0x2884f6[_0x5e31f2(0x1f2)]||this[_0x5e31f2(0x218)]['forEach'](_0x3abd30=>{const _0x57527f=_0x5e31f2;_0x3abd30[_0x57527f(0x1a4)](_0x2884f6);});},0x64));});}[_0x477bc3(0x168)](_0x58042d,_0x4bfec2){const _0x20b7c9=_0x477bc3;var _0x41b450;const _0x12ecc8=(_0x41b450=this['_sheetSkeletonManagerService'][_0x20b7c9(0x31c)]())==null?void 0x0:_0x41b450['skeleton'];if(!_0x12ecc8)return;const _0x38ddc1=this[_0x20b7c9(0x344)]();if(!_0x38ddc1)return;this[_0x20b7c9(0x218)]['forEach'](_0x17dd3d=>{const _0x63bbe7=_0x20b7c9;_0x17dd3d[_0x63bbe7(0x198)]();});const {scene:_0x43766d}=_0x38ddc1,_0x19ba27=_0x2a23ef(Array['from'](_0x4bfec2[_0x20b7c9(0x3ca)]()))[_0x20b7c9(0x239)](_0x45ad3c=>{const _0x58f3a1=_0x20b7c9,{color:_0x58109f,range:_0x332b48,name:_0x263fc6,selection:_0x469b7f,sheetID:_0xeb229e}=_0x45ad3c,{startColumn:_0x144fe7,startRow:_0x5b3c2f,endColumn:_0x4914aa,endRow:_0x5522f6}=_0x332b48,_0x2cd3ae=_0x9b001c[_0x58f3a1(0x1cf)](_0x5b3c2f,_0x144fe7,_0x43766d,_0x12ecc8),_0x148dcf=_0x9b001c[_0x58f3a1(0x1cf)](_0x5522f6,_0x4914aa,_0x43766d,_0x12ecc8),{columnHeaderHeightAndMarginTop:_0x781548}=_0x12ecc8,{startX:_0x47019d,startY:_0x9e982d}=_0x2cd3ae,{endX:_0x49e705,endY:_0x59488c}=_0x148dcf,_0x2fe238=_0x49e705-_0x47019d,_0x78122=_0x59488c-_0x9e982d,_0x5835f7={'labelPosition':_0x9e982d-_0x781548>=_0x2a224c?_0x58f3a1(0x16d):_0x58f3a1(0x2f0),'sheetID':_0xeb229e,'range':_0x332b48,'color':_0x58109f,'name':_0x263fc6,'selection':_0x469b7f,'left':_0x47019d,'top':_0x9e982d,'width':_0x2fe238,'height':_0x78122,'evented':!0x1,'zIndex':_0x3edc2a};return new _0x5ff006(_0x263fc6,_0x5835f7);});_0x43766d[_0x20b7c9(0x28f)](_0x19ba27,_0x49697b),this[_0x20b7c9(0x218)]=new Set(_0x19ba27);}[_0x477bc3(0x280)](){const _0x5e1a86=_0x477bc3;var _0x17504d;(_0x17504d=this[_0x5e1a86(0x218)])==null||_0x17504d[_0x5e1a86(0x3c7)](_0x31c8cd=>_0x31c8cd[_0x5e1a86(0x388)]());}[_0x477bc3(0x344)](){const _0x419428=_0x477bc3;return _0x9b001c[_0x419428(0x1ce)](this[_0x419428(0x298)][_0x419428(0x186)],this['_context']);}};_0x2eb725=_0x21f188([_0x2b05e5(0x1,_0x162031['Inject'](_0x9b001c['SheetSkeletonManagerService'])),_0x2b05e5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x2b05e5(0x3,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x2be)]))],_0x2eb725);function _0x2a23ef(_0x5a35ea){const _0xe870a2=_0x477bc3,_0x14f28f=new Map();return _0x5a35ea[_0xe870a2(0x3c7)](_0x2ac9c1=>{const _0x30465c=_0xe870a2;if(_0x14f28f[_0x30465c(0x3cf)](_0x2ac9c1[_0x30465c(0x197)])){const _0x57dfcc=_0x14f28f['get'](_0x2ac9c1[_0x30465c(0x197)]);_0x57dfcc[_0x30465c(0x3d4)]+=',\x20'+_0x2ac9c1[_0x30465c(0x3d4)];}else _0x14f28f[_0x30465c(0x34a)](_0x2ac9c1[_0x30465c(0x197)],_0x2ac9c1);}),Array[_0xe870a2(0x360)](_0x14f28f[_0xe870a2(0x3ca)]());}var _0x511c4d=Object['getOwnPropertyDescriptor'],_0x43570a=(_0x5c607d,_0x4dc8dc,_0x4f36bf,_0xc75653)=>{const _0x183b6e=_0x477bc3;for(var _0x35e517=_0xc75653>0x1?void 0x0:_0xc75653?_0x511c4d(_0x4dc8dc,_0x4f36bf):_0x4dc8dc,_0x351f52=_0x5c607d[_0x183b6e(0x215)]-0x1,_0x557dce;_0x351f52>=0x0;_0x351f52--)(_0x557dce=_0x5c607d[_0x351f52])&&(_0x35e517=_0x557dce(_0x35e517)||_0x35e517);return _0x35e517;},_0x514557=(_0x38c295,_0x503a3b)=>(_0x3f5773,_0x509603)=>_0x503a3b(_0x3f5773,_0x509603,_0x38c295);let _0x55cb2a=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x5f5adf,_0x30b101,_0x428a9b,_0x36b13d,_0x45b36c,_0x4e01cb){const _0x408c28=_0x477bc3;super(),this[_0x408c28(0x15b)]=_0x5f5adf,this[_0x408c28(0x273)]=_0x30b101,this[_0x408c28(0x227)]=_0x428a9b,this[_0x408c28(0x377)]=_0x36b13d,this[_0x408c28(0x3bc)]=_0x45b36c,this[_0x408c28(0x10b)]=_0x4e01cb,this['_setupBeforeClosingHandler'](),this[_0x408c28(0x25e)]();}[_0x477bc3(0x167)](){const _0x2eac18=_0x477bc3;this[_0x2eac18(0x32e)](this[_0x2eac18(0x15b)][_0x2eac18(0x3a7)](()=>{const _0x24b76f=_0x2eac18;if(this[_0x24b76f(0x273)][_0x24b76f(0x130)][_0x24b76f(0x12d)])return this['_localeService']['t'](_0x24b76f(0x39a));}));}[_0x477bc3(0x25e)](){const _0x4afecc=_0x477bc3;this[_0x4afecc(0x32e)](this[_0x4afecc(0x227)][_0x4afecc(0x177)][_0x4afecc(0x2cd)](_0x491368=>{const _0x46e683=_0x4afecc;_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x184)]&&this['_messageService'][_0x46e683(0x348)]({'type':_0x3fb0c6['MessageType'][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.single-unit.warning')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xee)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['PERMISSION_DENIED']&&this[_0x46e683(0x3bc)][_0x46e683(0x348)]({'title':this['_localeService']['t'](_0x46e683(0x1c4)),'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0xfb)),'type':_0x46e683(0x2d0),'duration':0x0}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x1eb)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')+'('+_0x491368['data']+')'}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x229)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)]['Warning'],'content':this[_0x46e683(0x10b)]['t'](_0x491368[_0x46e683(0x1f9)]||'')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SOCKET_FAILED_RETRY']&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this['_localeService']['t'](_0x46e683(0x10f))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xfd)]&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6['MessageType'][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x27a))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x367))});}));}};_0x55cb2a=_0x43570a([_0x514557(0x0,_0x198137[_0x477bc3(0x374)]),_0x514557(0x1,_0x44b518['ILocalCacheService']),_0x514557(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x2aa)])),_0x514557(0x3,_0x198137[_0x477bc3(0x222)]),_0x514557(0x4,_0x198137[_0x477bc3(0xeb)]),_0x514557(0x5,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x55cb2a);var _0x10bc08=Object[_0x477bc3(0x1ec)],_0x89c985=(_0x4498df,_0xc84eaf,_0x6f5fb3,_0x5d8359)=>{for(var _0x1cde41=_0x5d8359>0x1?void 0x0:_0x5d8359?_0x10bc08(_0xc84eaf,_0x6f5fb3):_0xc84eaf,_0x43b86c=_0x4498df['length']-0x1,_0x15c42e;_0x43b86c>=0x0;_0x43b86c--)(_0x15c42e=_0x4498df[_0x43b86c])&&(_0x1cde41=_0x15c42e(_0x1cde41)||_0x1cde41);return _0x1cde41;},_0x114be6=(_0x59c3e7,_0x476327)=>(_0x3e87d7,_0x2c384c)=>_0x476327(_0x3e87d7,_0x2c384c,_0x59c3e7);let _0x8f72b=class extends _0x162031['Disposable']{constructor(_0xfc81dc,_0x27687c,_0x338324,_0x55dbcf){const _0x3eb3da=_0x477bc3;super(),_0x387a01(this,_0x3eb3da(0x36d)),(this[_0x3eb3da(0x3da)]=_0xfc81dc,this['_httpService']=_0x27687c,this[_0x3eb3da(0x297)]=_0x338324,this['_collaborationSessionService']=_0x55dbcf,this[_0x3eb3da(0x1ad)]());}[_0x477bc3(0x1ad)](){const _0x40163f=_0x477bc3;this[_0x40163f(0x102)](),this[_0x40163f(0x3bb)](),this[_0x40163f(0x334)](),this[_0x40163f(0x38c)]();}[_0x477bc3(0x38c)](){const _0x1711f1=_0x477bc3;this[_0x1711f1(0x32e)](this[_0x1711f1(0x221)][_0x1711f1(0x36f)][_0x1711f1(0x2cd)](_0x570ff6=>{const _0x2b3c6d=_0x1711f1;this[_0x2b3c6d(0x36d)]=_0x570ff6==null?void 0x0:_0x570ff6[_0x2b3c6d(0x3b2)];}));}[_0x477bc3(0x102)](){const _0x5bdcf2=_0x477bc3,_0x512780=_0x19e5f8=>{const _0x510294=_0x1b11;var _0xd01e6e;this[_0x510294(0x131)](_0x510294(0x2d0),_0x510294(0x1b8)+_0x19e5f8['message']+_0x510294(0x347)+_0x19e5f8[_0x510294(0x1bb)]+':'+_0x19e5f8[_0x510294(0xf0)]+':'+_0x19e5f8['colno']+'\x0a'+(((_0xd01e6e=_0x19e5f8[_0x510294(0x2d0)])==null?void 0x0:_0xd01e6e[_0x510294(0x394)])||''));};window[_0x5bdcf2(0x2d6)](_0x5bdcf2(0x2d0),_0x512780),this[_0x5bdcf2(0x32e)](()=>{const _0x3d5467=_0x5bdcf2;window[_0x3d5467(0x279)]('error',_0x512780);});}[_0x477bc3(0x3bb)](){const _0x11fe5e=_0x477bc3,_0x1f0c0a=_0x2bc5ec=>{const _0x33f874=_0x1b11;this[_0x33f874(0x131)]('error',_0x33f874(0x305)+_0x2bc5ec[_0x33f874(0x397)]);};window['addEventListener']('unhandledrejection',_0x1f0c0a),this[_0x11fe5e(0x32e)](()=>{window['removeEventListener']('unhandledrejection',_0x1f0c0a);});}[_0x477bc3(0x334)](){const _0x159ffc=_0x477bc3,_0x2f939f=this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]['bind'](this['_logService']);this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]=(..._0x5b8dad)=>{const _0x1ccb4d=_0x159ffc,_0x49e19b=_0x5b8dad[_0x1ccb4d(0x239)](_0x385673=>_0x385673 instanceof Error?_0x385673['message']+'\x0a'+_0x385673[_0x1ccb4d(0x394)]:String(_0x385673))[_0x1ccb4d(0x122)]('\x20');this[_0x1ccb4d(0x131)](_0x1ccb4d(0x2d0),_0x1ccb4d(0x341)+_0x49e19b),_0x2f939f(..._0x5b8dad);},this[_0x159ffc(0x32e)](()=>{const _0x3fe18b=_0x159ffc;this[_0x3fe18b(0x297)][_0x3fe18b(0x2d0)]=_0x2f939f;});}['_uploadLog'](_0x3b2deb,_0x46f5de){const _0x6bb33c=_0x477bc3;try{const _0x148c42={'userId':this[_0x6bb33c(0x36d)],'logLabel':_0x3b2deb,'content':_0x46f5de};this[_0x6bb33c(0x180)]['post']('/universer-api/frontend/logs',{'body':_0x148c42})[_0x6bb33c(0x23b)](()=>{});}catch{}}};_0x8f72b=_0x89c985([_0x114be6(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x114be6(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0x114be6(0x2,_0x162031['ILogService']),_0x114be6(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x1e5)]))],_0x8f72b);const _0x1050c1=_0x477bc3(0x2df),_0x1b221={};var _0xede3e2=Object[_0x477bc3(0x1ec)],_0x411a7a=(_0x1d83c8,_0x13f5b7,_0x561fb0,_0x28d916)=>{const _0x553f13=_0x477bc3;for(var _0x2f14a6=_0x28d916>0x1?void 0x0:_0x28d916?_0xede3e2(_0x13f5b7,_0x561fb0):_0x13f5b7,_0x33ad8b=_0x1d83c8[_0x553f13(0x215)]-0x1,_0x1b04ca;_0x33ad8b>=0x0;_0x33ad8b--)(_0x1b04ca=_0x1d83c8[_0x33ad8b])&&(_0x2f14a6=_0x1b04ca(_0x2f14a6)||_0x2f14a6);return _0x2f14a6;},_0x15e2ef=(_0x306d24,_0x42b33d)=>(_0x54604f,_0x2fe650)=>_0x42b33d(_0x54604f,_0x2fe650,_0x306d24);let _0x492b1f=class{constructor(_0x232bc1,_0x6f0b38){const _0x2e9eb1=_0x477bc3;this[_0x2e9eb1(0x22c)]=_0x232bc1,this['_renderManagerService']=_0x6f0b38;}[_0x477bc3(0x350)](_0x1708a9){const _0x218516=_0x477bc3;this['_transformUndoRedoStack'](_0x1708a9),this[_0x218516(0x2b4)](_0x1708a9);}['transformRemoteChangeset'](_0xcce728){const _0x3407f0=_0x477bc3,{unitID:_0x41ec38}=_0xcce728,_0x434ba9=this[_0x3407f0(0x1f4)][_0x3407f0(0x288)](_0x41ec38)[_0x3407f0(0x135)](_0x74e6be[_0x3407f0(0x3d7)]),{redoCache:_0x3865a6}=_0x434ba9[_0x3407f0(0x212)]();if(_0x3865a6['length']===0x0)return _0xcce728;let _0x401235=_0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728[_0x3407f0(0x34d)][0x0]);for(let _0x3c9fd8=0x0;_0x3c9fd8<_0x3865a6[_0x3407f0(0x215)];_0x3c9fd8++){const _0x1f5ea9={'id':'doc.mutation.rich-text-editing','params':{..._0x3865a6[_0x3c9fd8]}},_0x56d6e8=this[_0x3407f0(0x22c)]['transformMutation'](_0x401235,_0x1f5ea9,!0x1);if(_0x4cd710[_0x3407f0(0x3ad)](_0x56d6e8))throw _0x56d6e8[_0x3407f0(0x2d0)];_0x401235=_0x56d6e8[_0x3407f0(0x358)];}return{..._0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728),'mutations':[_0x401235]};}['_transformUndoRedoStack'](_0x9ac426){const _0xb26878=_0x477bc3,{unitID:_0x206d4e}=_0x9ac426,_0x2f6137=this['_renderManagerService']['getRenderById'](_0x206d4e)['with'](_0x74e6be['DocIMEInputManagerService']),{undoCache:_0x122881,redoCache:_0x547572}=_0x2f6137[_0xb26878(0x212)]();if(_0x122881[_0xb26878(0x215)]===0x0||_0x547572['length']===0x0)return;const _0x1b7465=[],_0x5b0f54=[];let _0x23ef8c=_0x162031['Tools'][_0xb26878(0x193)](_0x9ac426[_0xb26878(0x34d)][0x0]),_0x197861=_0x162031[_0xb26878(0x31f)][_0xb26878(0x193)](_0x9ac426['mutations'][0x0]);for(let _0x257162=_0x122881[_0xb26878(0x215)]-0x1;_0x257162>=0x0;_0x257162--){const _0x4d81bd={'id':'doc.mutation.rich-text-editing','params':{..._0x122881[_0x257162]}},_0x8747cc={'id':'doc.mutation.rich-text-editing','params':{..._0x547572[_0x257162]}},_0x367b90=this['_transformService']['transformMutation'](_0x23ef8c,_0x4d81bd,!0x1),_0x1981a2=this[_0xb26878(0x22c)][_0xb26878(0x179)](_0x197861,_0x8747cc,!0x1);if(_0x4cd710[_0xb26878(0x3ad)](_0x367b90))throw _0x367b90[_0xb26878(0x2d0)];if(_0x4cd710[_0xb26878(0x3ad)](_0x1981a2))throw _0x1981a2[_0xb26878(0x2d0)];_0x1b7465[_0xb26878(0x188)](_0x367b90[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x5b0f54[_0xb26878(0x188)](_0x1981a2[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x23ef8c=_0x367b90[_0xb26878(0x358)],_0x197861=_0x1981a2[_0xb26878(0x358)];}_0x2f6137[_0xb26878(0x157)]({'undoCache':_0x1b7465,'redoCache':_0x5b0f54});}[_0x477bc3(0x2b4)](_0x4186ec){const _0xd1a9b9=_0x477bc3,{unitID:_0x35495b}=_0x4186ec,_0x5c0c47=this[_0xd1a9b9(0x1f4)][_0xd1a9b9(0x288)](_0x35495b)['with'](_0x74e6be[_0xd1a9b9(0x3d7)]),_0x4c6242=_0x5c0c47[_0xd1a9b9(0x1e3)]();if(_0x4c6242==null)return;const _0x166c6c=[{'id':_0xd1a9b9(0x20a),'params':{'unitId':_0x4186ec[_0xd1a9b9(0x3d0)],'actions':null,'textRanges':[_0x4c6242]}}],_0x33da04=this[_0xd1a9b9(0x22c)][_0xd1a9b9(0x34f)](_0x4186ec,_0x166c6c);if(!_0x4cd710['isTransformMutationsWithChangesetSuccess'](_0x33da04))throw _0x33da04['error'];const _0xbe90a1=_0x33da04[_0xd1a9b9(0x250)][0x0][_0xd1a9b9(0x1ab)][_0xd1a9b9(0x395)];Array[_0xd1a9b9(0x165)](_0xbe90a1)&&_0xbe90a1[_0xd1a9b9(0x215)]&&_0x5c0c47[_0xd1a9b9(0x127)](_0xbe90a1[0x0]);}};_0x492b1f=_0x411a7a([_0x15e2ef(0x0,_0x4cd710['ITransformService']),_0x15e2ef(0x1,_0x433081[_0x477bc3(0x1a7)])],_0x492b1f);var _0x3b9a8b=Object[_0x477bc3(0x1ec)],_0x3c68f3=(_0x2b46f4,_0x509e07,_0x209616,_0x1f0c79)=>{const _0x376b2b=_0x477bc3;for(var _0x31747c=_0x1f0c79>0x1?void 0x0:_0x1f0c79?_0x3b9a8b(_0x509e07,_0x209616):_0x509e07,_0x53c387=_0x2b46f4[_0x376b2b(0x215)]-0x1,_0x110488;_0x53c387>=0x0;_0x53c387--)(_0x110488=_0x2b46f4[_0x53c387])&&(_0x31747c=_0x110488(_0x31747c)||_0x31747c);return _0x31747c;},_0x3bd8c9=(_0x672319,_0x1823c7)=>(_0x31ebc9,_0x435a6e)=>_0x1823c7(_0x31ebc9,_0x435a6e,_0x672319);let _0x35832b=class{constructor(_0x4a28c1,_0x25f8c9,_0xc04570){const _0x5c2cea=_0x477bc3;this[_0x5c2cea(0x3da)]=_0x4a28c1,this['_transformService']=_0x25f8c9,this[_0x5c2cea(0xfc)]=_0xc04570;}[_0x477bc3(0x3cc)](_0x3288fc){const _0x21a4d6=_0x477bc3;this[_0x21a4d6(0x15e)](_0x3288fc);}[_0x477bc3(0x2ee)](_0x188388){const _0x195fc0=_0x477bc3,{unitID:_0x1d8f28}=_0x188388,{collaboration:_0x558dc9}=this[_0x195fc0(0xfc)]['getStateCache'](_0x1d8f28);if(_0x558dc9[_0x195fc0(0x215)]===0x0)return _0x188388;let _0x51614c=_0x162031['Tools'][_0x195fc0(0x193)](_0x188388[_0x195fc0(0x34d)][0x0]);for(let _0x2cc049=0x0;_0x2cc049<_0x558dc9['length'];_0x2cc049++){const _0x55d71f={'id':_0x195fc0(0x20a),'params':{'unitId':_0x558dc9[_0x2cc049][_0x195fc0(0x150)],..._0x558dc9[_0x2cc049][_0x195fc0(0xf1)]}},_0x2acb16=this['_transformService'][_0x195fc0(0x179)](_0x51614c,_0x55d71f,!0x1);if(_0x4cd710[_0x195fc0(0x3ad)](_0x2acb16))throw _0x2acb16[_0x195fc0(0x2d0)];_0x51614c=_0x2acb16[_0x195fc0(0x358)];}return{..._0x162031[_0x195fc0(0x31f)][_0x195fc0(0x193)](_0x188388),'mutations':[_0x51614c]};}[_0x477bc3(0x15e)](_0x54eb0c){const _0x252440=_0x477bc3,{unitID:_0x192443}=_0x54eb0c,{history:_0x470346,collaboration:_0x8d6c9e}=this['_docStateChangeManagerService'][_0x252440(0x19b)](_0x192443);if(_0x470346[_0x252440(0x215)]===0x0&&_0x8d6c9e[_0x252440(0x215)]===0x0)return;const _0x5ad112=[],_0x5e4f9f=[];let _0x52df32=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4e7de4=_0x470346[_0x252440(0x215)]-0x1;_0x4e7de4>=0x0;_0x4e7de4--){const _0x5f56cc={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0x26c)]}},_0x2c2053={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0xf1)]}},_0x25c33b=this[_0x252440(0x22c)]['transformMutation'](_0x52df32,_0x5f56cc,!0x1),_0x23fed0=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x2c2053,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x25c33b))throw _0x25c33b['error'];if(_0x4cd710['isTransformMutationFailure'](_0x23fed0))throw _0x23fed0['error'];_0x5ad112[_0x252440(0x188)]({..._0x470346[_0x4e7de4],'undoState':_0x25c33b[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x23fed0[_0x252440(0x250)][_0x252440(0x1ab)]}),_0x52df32=_0x25c33b[_0x252440(0x358)],_0x2b2636=_0x23fed0[_0x252440(0x358)];}_0x52df32=_0x162031[_0x252440(0x31f)]['deepClone'](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4b03b4=_0x8d6c9e[_0x252440(0x215)]-0x1;_0x4b03b4>=0x0;_0x4b03b4--){const _0x233501={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0x26c)]}},_0x53858b={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0xf1)]}},_0x35417d=this['_transformService'][_0x252440(0x179)](_0x52df32,_0x233501,!0x1),_0x49b19b=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x53858b,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x35417d))throw _0x35417d[_0x252440(0x2d0)];if(_0x4cd710[_0x252440(0x3ad)](_0x49b19b))throw _0x49b19b[_0x252440(0x2d0)];_0x5e4f9f[_0x252440(0x188)]({..._0x8d6c9e[_0x4b03b4],'undoState':_0x35417d[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x49b19b[_0x252440(0x250)]['params']}),_0x52df32=_0x35417d[_0x252440(0x358)],_0x2b2636=_0x49b19b['m1Prime'];}this['_docStateChangeManagerService'][_0x252440(0x31e)](_0x192443,{'history':_0x5ad112,'collaboration':_0x5e4f9f});}};_0x35832b=_0x3c68f3([_0x3bd8c9(0x0,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x3bd8c9(0x1,_0x4cd710['ITransformService']),_0x3bd8c9(0x2,_0x162031[_0x477bc3(0x2b0)](_0x74e6be[_0x477bc3(0x318)]))],_0x35832b);var _0x4fd5fc=Object[_0x477bc3(0x1ec)],_0x4b24d7=(_0x4ee892,_0x35d5ee,_0x5b46b4,_0x25e95b)=>{const _0x53440b=_0x477bc3;for(var _0x418df2=_0x25e95b>0x1?void 0x0:_0x25e95b?_0x4fd5fc(_0x35d5ee,_0x5b46b4):_0x35d5ee,_0x5d6135=_0x4ee892[_0x53440b(0x215)]-0x1,_0x304cfe;_0x5d6135>=0x0;_0x5d6135--)(_0x304cfe=_0x4ee892[_0x5d6135])&&(_0x418df2=_0x304cfe(_0x418df2)||_0x418df2);return _0x418df2;},_0x35db6c=(_0x67b54d,_0x2cfbe5)=>(_0x105132,_0x2bb644)=>_0x2cfbe5(_0x105132,_0x2bb644,_0x67b54d);let _0x1d044c=class{constructor(_0x2af8f7,_0x38e74e){const _0x40240a=_0x477bc3;this[_0x40240a(0x3da)]=_0x2af8f7,this[_0x40240a(0x22c)]=_0x38e74e;}[_0x477bc3(0x2e9)](_0x4d2a31){const _0x4f5634=_0x477bc3;var _0x2b7035;const _0x473c15=this[_0x4f5634(0x3da)][_0x4f5634(0x375)](_0x47f67f[_0x4f5634(0x293)]),_0x1be41f=(_0x2b7035=_0x473c15[_0x4f5634(0x28c)]())!=null?_0x2b7035:[];if(_0x1be41f['length']===0x0)return;const _0x1f2962=_0x4d2a31[_0x4f5634(0x3d0)],_0x5f13a5=[{'id':_0x4f5634(0x20a),'params':{'unitId':_0x1f2962,'actions':null,'textRanges':_0x1be41f}}],_0x59a340=this[_0x4f5634(0x22c)][_0x4f5634(0x34f)](_0x4d2a31,_0x5f13a5);if(!_0x4cd710[_0x4f5634(0x296)](_0x59a340))throw _0x59a340[_0x4f5634(0x2d0)];const _0x55f8ec=_0x59a340[_0x4f5634(0x250)][0x0][_0x4f5634(0x1ab)][_0x4f5634(0x395)];Array[_0x4f5634(0x165)](_0x55f8ec)&&_0x55f8ec['length']&&_0x473c15[_0x4f5634(0x1fe)](_0x55f8ec,{'unitId':_0x1f2962,'subUnitId':_0x1f2962},!0x1);}};_0x1d044c=_0x4b24d7([_0x35db6c(0x0,_0x162031['Inject'](_0x162031['Injector'])),_0x35db6c(0x1,_0x4cd710[_0x477bc3(0x176)])],_0x1d044c);var _0x3bf866=Object['getOwnPropertyDescriptor'],_0x3037ed=(_0x46c7f8,_0x1dc48d,_0x2ccaf8,_0x4c922f)=>{for(var _0x58d0a0=_0x4c922f>0x1?void 0x0:_0x4c922f?_0x3bf866(_0x1dc48d,_0x2ccaf8):_0x1dc48d,_0x5f1826=_0x46c7f8['length']-0x1,_0x43ccce;_0x5f1826>=0x0;_0x5f1826--)(_0x43ccce=_0x46c7f8[_0x5f1826])&&(_0x58d0a0=_0x43ccce(_0x58d0a0)||_0x58d0a0);return _0x58d0a0;},_0x1c8c44=(_0xd06b6b,_0x45d826)=>(_0x206f71,_0x535ba4)=>_0x45d826(_0x206f71,_0x535ba4,_0xd06b6b);let _0x1ba1e0=class extends _0x162031['Disposable']{constructor(_0x1c387e,_0x4edd4c,_0xe8d5b5,_0x23e96d,_0x2a4a80,_0x5adc4a,_0x34e9d6,_0x16ec62){const _0x82ca89=_0x477bc3;super(),_0x387a01(this,_0x82ca89(0x117),new _0xe327d9[(_0x82ca89(0x136))](_0x44b518[_0x82ca89(0x2c2)][_0x82ca89(0x35c)])),(this[_0x82ca89(0xfc)]=_0x1c387e,this[_0x82ca89(0x2f2)]=_0x4edd4c,this[_0x82ca89(0x247)]=_0xe8d5b5,this['_docTransformStateCacheService']=_0x23e96d,this['_docTransformSelectionsService']=_0x2a4a80,this[_0x82ca89(0x35b)]=_0x5adc4a,this[_0x82ca89(0x377)]=_0x34e9d6,this[_0x82ca89(0x10b)]=_0x16ec62,this[_0x82ca89(0x37f)]());}[_0x477bc3(0x37f)](){const _0x375e37=_0x477bc3;this[_0x375e37(0x32e)](this[_0x375e37(0x2f2)]['entityInit$'][_0x375e37(0x2cd)](_0x508a35=>{const _0x1cd8fb=_0x375e37,_0x347cfc=this['_docStateChangeManagerService'][_0x1cd8fb(0x166)][_0x1cd8fb(0x2cd)](_0x3d0692=>{const _0x3d151c=_0x1cd8fb;if(_0x3d0692==null)return;const {unitId:_0x171603,redoState:_0x3007ff,commandId:_0x145f97}=_0x3d0692;if(_0x171603!==_0x508a35['unitID'])return;const _0x319570={'id':_0x145f97,'type':_0x162031['CommandType'][_0x3d151c(0x20d)],'params':{'unitId':_0x171603,'actions':_0x3007ff['actions'],'textRanges':null}};_0x508a35['onLocalMutation'](_0x319570);});if(_0x508a35[_0x1cd8fb(0x32e)](_0x347cfc),_0x508a35 instanceof _0x44b518[_0x1cd8fb(0x194)]){const _0x155ab9={'onTransformIME':_0x261c90=>this[_0x1cd8fb(0x247)][_0x1cd8fb(0x350)](_0x261c90),'onTransformState':_0x213b4e=>this[_0x1cd8fb(0x3ce)][_0x1cd8fb(0x3cc)](_0x213b4e),'onTransformSelections':_0x566e35=>this['_docTransformSelectionsService'][_0x1cd8fb(0x2e9)](_0x566e35),'onSyncEditingCollabCursor':_0x2372d1=>this[_0x1cd8fb(0x35b)]['syncEditingCollabCursor'](_0x2372d1),'onTransformRemoteChangesetByIMECache':_0x3845fa=>this[_0x1cd8fb(0x247)]['transformRemoteChangeset'](_0x3845fa),'onTransformRemoteChangesetByStateCache':_0x11cca4=>this['_docTransformStateCacheService'][_0x1cd8fb(0x2ee)](_0x11cca4)};_0x508a35[_0x1cd8fb(0x143)](_0x155ab9);}}));}};_0x1ba1e0=_0x3037ed([_0x1c8c44(0x0,_0x162031['Inject'](_0x74e6be['DocStateChangeManagerService'])),_0x1c8c44(0x1,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x15a)])),_0x1c8c44(0x2,_0x162031[_0x477bc3(0x2b0)](_0x492b1f)),_0x1c8c44(0x3,_0x162031['Inject'](_0x35832b)),_0x1c8c44(0x4,_0x162031[_0x477bc3(0x2b0)](_0x1d044c)),_0x1c8c44(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x1c8c44(0x6,_0x198137['IMessageService']),_0x1c8c44(0x7,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x1ba1e0);var _0x99761d=(_0x535af9=>(_0x535af9[_0x535af9['UNDEFINED']=0x0]=_0x477bc3(0x255),_0x535af9[_0x535af9['OK']=0x1]='OK',_0x535af9[_0x535af9['INTERNAL_ERROR']=0x2]=_0x477bc3(0x224),_0x535af9[_0x535af9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x535af9[_0x535af9['NOT_FOUND']=0x4]=_0x477bc3(0x1c7),_0x535af9[_0x535af9[_0x477bc3(0x315)]=0x5]=_0x477bc3(0x315),_0x535af9[_0x535af9[_0x477bc3(0x1d1)]=0x6]='ALREADY_EXISTS',_0x535af9[_0x535af9[_0x477bc3(0x149)]=0x7]='INVALID_ARGUMENT',_0x535af9[_0x535af9['TOO_MANY_REQUESTS']=0x8]=_0x477bc3(0x134),_0x535af9[_0x535af9[_0x477bc3(0x13c)]=0x9]=_0x477bc3(0x13c),_0x535af9[_0x535af9[_0x477bc3(0x213)]=0xa]='LOGIN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x151)]=0xb]=_0x477bc3(0x151),_0x535af9[_0x535af9[_0x477bc3(0x32c)]=0xc]=_0x477bc3(0x32c),_0x535af9[_0x535af9[_0x477bc3(0x2b3)]=0xd]=_0x477bc3(0x2b3),_0x535af9[_0x535af9[_0x477bc3(0x162)]=0xe]=_0x477bc3(0x162),_0x535af9[_0x535af9[_0x477bc3(0x36c)]=0xf]=_0x477bc3(0x36c),_0x535af9[_0x535af9[_0x477bc3(0x2c5)]=0x10]=_0x477bc3(0x2c5),_0x535af9[_0x535af9[_0x477bc3(0x237)]=0x64]=_0x477bc3(0x237),_0x535af9[_0x535af9[_0x477bc3(0x2da)]=0x65]='ERROR_AGAIN',_0x535af9[_0x535af9[_0x477bc3(0x3ac)]=0xc9]=_0x477bc3(0x3ac),_0x535af9[_0x535af9[_0x477bc3(0x292)]=0xca]=_0x477bc3(0x292),_0x535af9[_0x535af9[_0x477bc3(0x156)]=0x1389]=_0x477bc3(0x156),_0x535af9[_0x535af9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x477bc3(0x101),_0x535af9[_0x535af9[_0x477bc3(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x535af9[_0x535af9[_0x477bc3(0x217)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x535af9[_0x535af9['APPLY_REJECT']=0x1b59]=_0x477bc3(0x1ac),_0x535af9[_0x535af9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x477bc3(0x29f),_0x535af9[_0x535af9[_0x477bc3(0xfe)]=0x1b5b]=_0x477bc3(0xfe),_0x535af9[_0x535af9[_0x477bc3(0x110)]=0x1b5c]=_0x477bc3(0x110),_0x535af9[_0x535af9[_0x477bc3(0x357)]=0x1b5d]=_0x477bc3(0x357),_0x535af9[_0x535af9[_0x477bc3(0x232)]=0x1f41]=_0x477bc3(0x232),_0x535af9[_0x535af9[_0x477bc3(0x11f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x30d)]=0x232a]=_0x477bc3(0x30d),_0x535af9[_0x535af9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x196)]=0x232c]=_0x477bc3(0x196),_0x535af9[_0x535af9[_0x477bc3(0x155)]=0x232d]=_0x477bc3(0x155),_0x535af9[_0x535af9[_0x477bc3(0x2a3)]=0x2711]=_0x477bc3(0x2a3),_0x535af9[_0x535af9[_0x477bc3(0x313)]=0x2712]=_0x477bc3(0x313),_0x535af9[_0x535af9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x477bc3(0x1c3),_0x535af9[_0x535af9[_0x477bc3(0x38a)]=0x2714]=_0x477bc3(0x38a),_0x535af9[_0x535af9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x477bc3(0x242),_0x535af9[_0x535af9[_0x477bc3(0x278)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x535af9[_0x535af9[_0x477bc3(0x387)]=0x271c]=_0x477bc3(0x387),_0x535af9[_0x535af9[_0x477bc3(0x17e)]=0x271d]=_0x477bc3(0x17e),_0x535af9[_0x535af9[_0x477bc3(0x1c8)]=0x271e]=_0x477bc3(0x1c8),_0x535af9[_0x535af9[_0x477bc3(0x128)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x3ab)]=0x2720]=_0x477bc3(0x3ab),_0x535af9[_0x535af9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x477bc3(0x132),_0x535af9[_0x535af9[_0x477bc3(0x20e)]=0x2ee1]=_0x477bc3(0x20e),_0x535af9[_0x535af9['INVALID_INVITE_CODE']=0x2ee2]=_0x477bc3(0x1f5),_0x535af9[_0x535af9[_0x477bc3(0x22b)]=0x2ee3]=_0x477bc3(0x22b),_0x535af9[_0x535af9[_0x477bc3(0x386)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x535af9[_0x535af9[_0x477bc3(0xf2)]=0x2ee5]=_0x477bc3(0xf2),_0x535af9[_0x535af9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x477bc3(0x27e),_0x535af9[_0x535af9[_0x477bc3(0x210)]=0x32ca]=_0x477bc3(0x210),_0x535af9[_0x535af9[_0x477bc3(0x201)]=0x32cb]=_0x477bc3(0x201),_0x535af9[_0x535af9[_0x477bc3(0x1aa)]=0x36b1]=_0x477bc3(0x1aa),_0x535af9[_0x535af9[_0x477bc3(0x2cc)]=0x36b2]=_0x477bc3(0x2cc),_0x535af9[_0x535af9[_0x477bc3(0x251)]=0x36b3]=_0x477bc3(0x251),_0x535af9[_0x535af9[_0x477bc3(0x2ab)]=0x36b4]=_0x477bc3(0x2ab),_0x535af9[_0x535af9[_0x477bc3(0x23f)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x535af9[_0x535af9[_0x477bc3(0x13b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x535af9[_0x535af9[_0x477bc3(0x1c2)]=0x36b7]=_0x477bc3(0x1c2),_0x535af9[_0x535af9[_0x477bc3(0x275)]=0x36b8]=_0x477bc3(0x275),_0x535af9[_0x535af9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x477bc3(0x336),_0x535af9[_0x535af9[_0x477bc3(0x2c4)]=0x3716]=_0x477bc3(0x2c4),_0x535af9[_0x535af9[_0x477bc3(0x16f)]=0x3717]=_0x477bc3(0x16f),_0x535af9[_0x535af9[_0x477bc3(0x2e3)]=0x37dd]=_0x477bc3(0x2e3),_0x535af9[_0x535af9[_0x477bc3(0x1d7)]=0x3a99]=_0x477bc3(0x1d7),_0x535af9[_0x535af9['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x535af9[_0x535af9[_0x477bc3(0x1a0)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x535af9[_0x535af9[_0x477bc3(0x256)]=0x3a9c]=_0x477bc3(0x256),_0x535af9[_0x535af9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x477bc3(0x1df),_0x535af9[_0x535af9[_0x477bc3(0x2bb)]=0x3a9e]=_0x477bc3(0x2bb),_0x535af9[_0x535af9[_0x477bc3(0x379)]=0x3a9f]=_0x477bc3(0x379),_0x535af9[_0x535af9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x477bc3(0x3d6),_0x535af9[_0x535af9[_0x477bc3(0x104)]=-0x1]=_0x477bc3(0x104),_0x535af9))(_0x99761d||{});function _0x2fcfc8(_0xa99774){const _0x1fc31e=_0x477bc3;var _0x17d3e2,_0x2d4df4;const _0x27584d=(_0x17d3e2=_0xa99774['stageInfo'])==null?void 0x0:_0x17d3e2['stage'],_0x44a13b=((_0x2d4df4=_0xa99774[_0x1fc31e(0x3b1)])==null?void 0x0:_0x2d4df4[_0x1fc31e(0x203)])||0x0;return _0x27584d===_0xf4950[_0x1fc31e(0x18c)][_0x1fc31e(0x30a)]&&_0x44a13b>0x0;}function _0x3af5b8(_0x314a61){const _0x45a2f1=_0x477bc3;return _0x314a61['functionsExecutedState']===_0xf4950[_0x45a2f1(0x153)][_0x45a2f1(0x361)];}var _0x21daf9=Object['getOwnPropertyDescriptor'],_0x25034e=(_0x43f868,_0xead90b,_0xd132ca,_0x3a372b)=>{for(var _0x429d5d=_0x3a372b>0x1?void 0x0:_0x3a372b?_0x21daf9(_0xead90b,_0xd132ca):_0xead90b,_0xb2446c=_0x43f868['length']-0x1,_0x3c5cc2;_0xb2446c>=0x0;_0xb2446c--)(_0x3c5cc2=_0x43f868[_0xb2446c])&&(_0x429d5d=_0x3c5cc2(_0x429d5d)||_0x429d5d);return _0x429d5d;},_0x20a083=(_0x2f073c,_0x33361f)=>(_0x174b9e,_0x555a23)=>_0x33361f(_0x174b9e,_0x555a23,_0x2f073c);const _0x529885=_0x477bc3(0x30c),_0x1cbb51=_0x477bc3(0x1a6),_0x576aca=_0x477bc3(0x36b);let _0x4667cb=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x8520d2,_0x34f2a3,_0xde9b98,_0x38d2e8,_0x57c8c4,_0x50e565,_0x27e734){const _0x5694dc=_0x477bc3;super(),_0x387a01(this,_0x5694dc(0x106),null),_0x387a01(this,_0x5694dc(0x33a),0x0),_0x387a01(this,_0x5694dc(0x1cc),0x0),_0x387a01(this,_0x5694dc(0x311),[]),_0x387a01(this,'_lastResponseTimestamp',0x0),(this[_0x5694dc(0x377)]=_0x8520d2,this[_0x5694dc(0x139)]=_0x34f2a3,this[_0x5694dc(0x219)]=_0xde9b98,this[_0x5694dc(0x180)]=_0x38d2e8,this[_0x5694dc(0x225)]=_0x57c8c4,this[_0x5694dc(0x297)]=_0x50e565,this[_0x5694dc(0x10b)]=_0x27e734,this[_0x5694dc(0x319)]());}[_0x477bc3(0x319)](){const _0x3b28d1=_0x477bc3;this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x18f)]((_0x46b701,_0x276b30)=>{const _0x1aebd9=_0x3b28d1;var _0x40074b;if(_0x46b701['id']!==_0xf4950[_0x1aebd9(0x380)]['id'])return;const _0x250f93=_0x46b701[_0x1aebd9(0x1ab)];if(!this['_hasFormulaInDirtyRanges']((_0x40074b=_0x250f93['dirtyRanges'])!=null?_0x40074b:[]))return;if(!this[_0x1aebd9(0x272)]())throw this['_checkAndWaitForCalculationPermission'](_0x46b701,_0x276b30),this[_0x1aebd9(0x244)](),new _0x162031[(_0x1aebd9(0x2a1))]();})),this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x1b7)]((_0x4b7a34,_0x1bf866)=>{const _0x13e022=_0x3b28d1;if(_0x4b7a34['id']!==_0xf4950[_0x13e022(0x169)]['id'])return;const _0x5c8824=_0x4b7a34[_0x13e022(0x1ab)];if(_0x2fcfc8(_0x5c8824)){const _0xaaad64=_0x162031[_0x13e022(0x38e)]();this[_0x13e022(0x311)]['push'](_0xaaad64),this[_0x13e022(0x2cb)](_0xaaad64);}else{if(_0x3af5b8(_0x5c8824)&&this['_taskIds'][_0x13e022(0x215)]>0x0){const _0x5c7175=this[_0x13e022(0x311)][_0x13e022(0x103)]();this['_releaseCalculationLimit'](_0x5c7175);}}}));}['dispose'](){const _0x1bc361=_0x477bc3;super[_0x1bc361(0x388)](),this['_clearPolling'](),this[_0x1bc361(0x311)]=[],this[_0x1bc361(0x1cc)]=0x0,this[_0x1bc361(0x33a)]=0x0,this[_0x1bc361(0x3d8)]=0x0;}async[_0x477bc3(0x211)](_0x333045,_0x5a9f86){const _0x1e946b=_0x477bc3;for(let _0x4a5fbd=0x0;_0x4a5fbd<0x1e;_0x4a5fbd++)try{if(await this[_0x1e946b(0x3c4)](),this[_0x1e946b(0x272)]()){this['_applyCommand'](_0x333045,_0x5a9f86),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x3fb0c6[_0x1e946b(0x33e)]['Success']});return;}await new Promise(_0x2b3889=>{const _0x3b3bf5=_0x1e946b;this['_pollingInterval']=window[_0x3b3bf5(0x366)](_0x2b3889,0x3e8);});}catch(_0x4e3c0c){this[_0x1e946b(0x297)][_0x1e946b(0x2d0)](_0x4e3c0c);}this[_0x1e946b(0x377)][_0x1e946b(0x348)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x3fb0c6[_0x1e946b(0x33e)][_0x1e946b(0x112)]});}[_0x477bc3(0x185)](_0x4bc622,_0xa900df){const _0x481e73=_0x477bc3;try{this[_0x481e73(0x139)][_0x481e73(0x269)](_0x4bc622['id'],_0x4bc622[_0x481e73(0x1ab)],_0xa900df);}catch(_0x3b1d14){this[_0x481e73(0x297)][_0x481e73(0x2d0)](_0x3b1d14);}}['_setFormulaLimitStatus'](_0x2ff49f,_0x3fc1ee){const _0x56a3c3=_0x477bc3;_0x3fc1ee<this['_lastResponseTimestamp']||(this[_0x56a3c3(0x3d8)]=_0x3fc1ee,this[_0x56a3c3(0x33a)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f['maxFormulaLimit']),this[_0x56a3c3(0x1cc)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f[_0x56a3c3(0x190)]));}async[_0x477bc3(0x2cb)](_0xb6409e){const _0x401fab=_0x477bc3;var _0x5886a6,_0x4c6356;const _0x52cca0=Date[_0x401fab(0xef)]();try{const _0x57948a=((_0x5886a6=this[_0x401fab(0x219)][_0x401fab(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5886a6['startFormulaLimitUrl'])||_0x1cbb51,_0xad5c04=(await this['_httpService']['post'](_0x57948a,{'body':JSON[_0x401fab(0x199)]({'taskId':_0xb6409e})}))[_0x401fab(0x34c)];if(((_0x4c6356=_0xad5c04[_0x401fab(0x2d0)])==null?void 0x0:_0x4c6356[_0x401fab(0x11a)])!==_0x99761d['OK'])return;this[_0x401fab(0x2c9)](_0xad5c04[_0x401fab(0x37e)],_0x52cca0);}catch(_0x4f46ef){this[_0x401fab(0x297)][_0x401fab(0x2d0)](_0x4f46ef);}}async[_0x477bc3(0x3c4)](_0x38d848){const _0x3031be=_0x477bc3;var _0x130d84,_0x1b0558;const _0xff5d9c=Date[_0x3031be(0xef)]();try{const _0xec9d46=((_0x130d84=this['_configService']['getConfig'](_0x44b518[_0x3031be(0x320)]))==null?void 0x0:_0x130d84[_0x3031be(0x359)])||_0x529885,_0x52d747=_0x38d848?_0xec9d46+_0x3031be(0x2fe)+encodeURIComponent(_0x38d848):_0xec9d46,_0x20552b=(await this[_0x3031be(0x180)]['get'](_0x52d747))[_0x3031be(0x34c)];if(((_0x1b0558=_0x20552b['error'])==null?void 0x0:_0x1b0558[_0x3031be(0x11a)])!==_0x99761d['OK'])return;this[_0x3031be(0x2c9)](_0x20552b[_0x3031be(0x37e)],_0xff5d9c);}catch(_0x58c6c6){this['_logService'][_0x3031be(0x2d0)](_0x58c6c6);}}async[_0x477bc3(0x3bd)](_0x130946){const _0xe747e7=_0x477bc3;var _0x50a5c5,_0x1cf393;const _0x3dd63f=Date['now']();try{const _0x48913a=((_0x50a5c5=this[_0xe747e7(0x219)][_0xe747e7(0x248)](_0x44b518[_0xe747e7(0x320)]))==null?void 0x0:_0x50a5c5[_0xe747e7(0x257)])||_0x576aca,_0x5b53d7=(await this[_0xe747e7(0x180)]['post'](_0x48913a,{'body':JSON[_0xe747e7(0x199)]({'taskId':_0x130946})}))['body'];if(((_0x1cf393=_0x5b53d7['error'])==null?void 0x0:_0x1cf393['code'])!==_0x99761d['OK'])return;this[_0xe747e7(0x2c9)](_0x5b53d7[_0xe747e7(0x37e)],_0x3dd63f);}catch(_0x10a895){this[_0xe747e7(0x297)]['error'](_0x10a895);}}[_0x477bc3(0x272)](){const _0x4d763e=_0x477bc3;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4d763e(0x33a)]-this[_0x4d763e(0x1cc)]>0x0;}[_0x477bc3(0x17c)](){const _0x24f34d=_0x477bc3;this[_0x24f34d(0x106)]&&(clearTimeout(this[_0x24f34d(0x106)]),this[_0x24f34d(0x106)]=null);}[_0x477bc3(0x244)](){const _0x11042d=_0x477bc3;this[_0x11042d(0x377)][_0x11042d(0x348)]({'content':this[_0x11042d(0x10b)]['t'](_0x11042d(0x3b0)),'type':_0x3fb0c6[_0x11042d(0x33e)][_0x11042d(0x321)]});}['_hasFormulaInDirtyRanges'](_0x428eaf){const _0x52f986=_0x477bc3;for(const _0x5e7777 of _0x428eaf){const {unitId:_0x438abb,sheetId:_0x59e6e8,range:_0x240773}=_0x5e7777,_0x157de3=this[_0x52f986(0x225)][_0x52f986(0x17f)](_0x438abb);if(!_0x157de3)continue;const _0x47432f=_0x157de3[_0x52f986(0x2ca)](_0x59e6e8);if(!_0x47432f)continue;const _0x3ed0b2=_0x47432f[_0x52f986(0x173)]();for(let _0x1aa148=_0x240773[_0x52f986(0x141)];_0x1aa148<=_0x240773['endRow'];_0x1aa148++)for(let _0xb3165f=_0x240773[_0x52f986(0x163)];_0xb3165f<=_0x240773['endColumn'];_0xb3165f++){const _0x5c37b7=_0x3ed0b2[_0x52f986(0x182)](_0x1aa148,_0xb3165f);if(_0x5c37b7&&(_0x162031[_0x52f986(0x3c3)](_0x5c37b7['f'])||_0x162031['isFormulaId'](_0x5c37b7['si'])))return!0x0;}}return!0x1;}};_0x4667cb=_0x25034e([_0x20a083(0x0,_0x162031[_0x477bc3(0x2b0)](_0x198137[_0x477bc3(0x222)])),_0x20a083(0x1,_0x162031[_0x477bc3(0x326)]),_0x20a083(0x2,_0x162031[_0x477bc3(0x13e)]),_0x20a083(0x3,_0x162031[_0x477bc3(0x2b0)](_0x1a6c2d['HTTPService'])),_0x20a083(0x4,_0x162031['IUniverInstanceService']),_0x20a083(0x5,_0x162031['ILogService']),_0x20a083(0x6,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x4667cb);var _0x3edc4c=Object[_0x477bc3(0x1ec)],_0x24db3c=(_0x57ef9e,_0x539272,_0x50fa33,_0x364f0b)=>{const _0x5f50ce=_0x477bc3;for(var _0x449ed6=_0x364f0b>0x1?void 0x0:_0x364f0b?_0x3edc4c(_0x539272,_0x50fa33):_0x539272,_0x520afd=_0x57ef9e[_0x5f50ce(0x215)]-0x1,_0x19eae8;_0x520afd>=0x0;_0x520afd--)(_0x19eae8=_0x57ef9e[_0x520afd])&&(_0x449ed6=_0x19eae8(_0x449ed6)||_0x449ed6);return _0x449ed6;},_0x4d35c5=(_0xdb43f1,_0x486f9f)=>(_0x5db083,_0x2f7991)=>_0x486f9f(_0x5db083,_0x2f7991,_0xdb43f1);let _0x41ee4b=class extends _0x162031['Disposable']{constructor(_0x2442f4,_0x151e3b,_0x3e95cd){const _0x407f53=_0x477bc3;super(),_0x387a01(this,'_cachedData',new Map()),_0x387a01(this,_0x407f53(0x24f),new Map()),_0x387a01(this,'_disabled',!0x1),(this[_0x407f53(0x219)]=_0x2442f4,this['_localStorageService']=_0x151e3b,this[_0x407f53(0x16c)]=_0x3e95cd);}['disableLocalCache'](){const _0x5c5c81=_0x477bc3;this[_0x5c5c81(0x20f)]=!0x0;}[_0x477bc3(0x339)](){const _0x413899=_0x477bc3;this[_0x413899(0x20f)]=!0x1;}get[_0x477bc3(0x130)](){const _0x4d0f59=_0x477bc3;return this[_0x4d0f59(0x24f)];}['dispose'](){const _0x174452=_0x477bc3;this[_0x174452(0x3a3)]()['then'](()=>super[_0x174452(0x388)]());}async['loadOfflineData'](_0x5027ed){const _0x42fc7a=_0x477bc3;return this[_0x42fc7a(0x20f)]?null:this[_0x42fc7a(0x34b)]['getItem'](_0x44b518[_0x42fc7a(0x37c)](_0x5027ed));}async['saveOfflineData'](_0xf749c0,_0x4fe836){const _0xdcc0=_0x477bc3;return!!this[_0xdcc0(0x34b)][_0xdcc0(0x23c)](_0xf749c0,_0x4fe836);}[_0x477bc3(0x116)](_0x5cf5c8,_0x346719,_0xef599c,_0x529f3c){const _0x3140bb=_0x477bc3,_0x5be622=this[_0x3140bb(0x16c)][_0x3140bb(0x2fd)](_0x5cf5c8);this[_0x3140bb(0x312)]['set'](_0x5cf5c8,{'unitID':_0x5cf5c8,'type':_0x346719,'awaitingChangeset':_0xef599c,'mutations':_0x529f3c,'rev':_0x5be622}),this[_0x3140bb(0x24f)]['has'](_0x5cf5c8)||this['_scheduleSaving'](_0x5cf5c8);}[_0x477bc3(0x3c0)](_0x1798ab){const _0x589a1e=_0x477bc3,_0x53936b=this['_getSaveTimeout']();_0x53936b===0x0?this[_0x589a1e(0x14d)](_0x1798ab):this[_0x589a1e(0x24f)][_0x589a1e(0x34a)](_0x1798ab,setTimeout(()=>this[_0x589a1e(0x14d)](_0x1798ab),_0x53936b));}['_getSaveTimeout'](){const _0x327da0=_0x477bc3;var _0x59d464;return(_0x59d464=this[_0x327da0(0x219)][_0x327da0(0x248)](_0x44b518['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x59d464:_0x44b518['LOCAL_CACHE_INTERVAL'];}[_0x477bc3(0x14d)](_0xdeb557){const _0x47f2a9=_0x477bc3,_0x44e494=this[_0x47f2a9(0x24f)]['get'](_0xdeb557);return _0x44e494!==void 0x0&&window[_0x47f2a9(0x23a)](_0x44e494),this[_0x47f2a9(0x34b)][_0x47f2a9(0x23c)](_0x44b518['getLocalCacheKey'](_0xdeb557),this['_cachedData'][_0x47f2a9(0x375)](_0xdeb557))[_0x47f2a9(0x22f)](()=>this[_0x47f2a9(0x24f)][_0x47f2a9(0x32d)](_0xdeb557));}async[_0x477bc3(0x3a3)](){const _0x124880=_0x477bc3,_0x4ba03b=[];this[_0x124880(0x24f)][_0x124880(0x3c7)]((_0x4541f8,_0x2c6e73)=>{const _0x21ff53=_0x124880;window['clearTimeout'](_0x4541f8),_0x4ba03b[_0x21ff53(0x138)](this[_0x21ff53(0x14d)](_0x2c6e73)['then'](()=>{const _0x16212c=_0x21ff53;this[_0x16212c(0x24f)][_0x16212c(0x32d)](_0x2c6e73);}));}),await Promise[_0x124880(0x2a8)](_0x4ba03b);}};_0x41ee4b=_0x24db3c([_0x4d35c5(0x0,_0x162031[_0x477bc3(0x13e)]),_0x4d35c5(0x1,_0x162031[_0x477bc3(0x1c5)]),_0x4d35c5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x4cd710[_0x477bc3(0x1d5)]))],_0x41ee4b);class _0x48e8ee extends _0x162031[_0x477bc3(0xea)]{constructor(){const _0x14a4a5=_0x477bc3;super(),_0x387a01(this,'urlChange$'),this[_0x14a4a5(0x35a)]=_0xe327d9[_0x14a4a5(0x2a9)](window,'popstate')[_0x14a4a5(0x2d1)](_0xe327d9[_0x14a4a5(0x331)](this[_0x14a4a5(0x1c1)]),_0xe327d9[_0x14a4a5(0x238)](0x1),_0xe327d9['mapTo'](void 0x0));}[_0x477bc3(0x33c)](_0x20e6e0,_0x5348d3,_0x510f82=!0x1){const _0x1a1820=_0x477bc3,_0x2ba932=new URL(window[_0x1a1820(0x32b)][_0x1a1820(0x246)]);_0x2ba932[_0x1a1820(0x1ca)][_0x1a1820(0x34a)](_0x20e6e0,_0x5348d3),_0x510f82?window[_0x1a1820(0x1e7)]['replaceState']('','',_0x2ba932['toString']()):window[_0x1a1820(0x1e7)][_0x1a1820(0x21d)]('','',_0x2ba932['toString']());}['removeParam'](_0x55f874,_0xbb0b6f=!0x1){const _0x84426f=_0x477bc3,_0x5d2fe5=new URL(window[_0x84426f(0x32b)][_0x84426f(0x246)]);_0x5d2fe5[_0x84426f(0x1ca)][_0x84426f(0x32d)](_0x55f874),_0xbb0b6f?window['history'][_0x84426f(0x2eb)]('','',_0x5d2fe5[_0x84426f(0x2a6)]()):window['history']['pushState']('','',_0x5d2fe5[_0x84426f(0x2a6)]());}['getParam'](_0x5b99fe){const _0x59f87a=_0x477bc3;var _0x2fea96;return(_0x2fea96=new URL(window[_0x59f87a(0x32b)][_0x59f87a(0x246)])[_0x59f87a(0x1ca)][_0x59f87a(0x375)](_0x5b99fe))!=null?_0x2fea96:void 0x0;}}var _0x4db249=Object[_0x477bc3(0x2e2)],_0xbad9d6=Object[_0x477bc3(0x1ec)],_0x1690f5=(_0x59003d,_0x4776dd,_0x1742eb)=>_0x4776dd in _0x59003d?_0x4db249(_0x59003d,_0x4776dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1742eb}):_0x59003d[_0x4776dd]=_0x1742eb,_0x270136=(_0x51b438,_0x48c1bb,_0x29bbde,_0x38ff03)=>{const _0x64697f=_0x477bc3;for(var _0x587ec7=_0x38ff03>0x1?void 0x0:_0x38ff03?_0xbad9d6(_0x48c1bb,_0x29bbde):_0x48c1bb,_0x109570=_0x51b438[_0x64697f(0x215)]-0x1,_0x27f125;_0x109570>=0x0;_0x109570--)(_0x27f125=_0x51b438[_0x109570])&&(_0x587ec7=_0x27f125(_0x587ec7)||_0x587ec7);return _0x587ec7;},_0x56b50f=(_0x246d4,_0x57df9a)=>(_0x544cce,_0x389c76)=>_0x57df9a(_0x544cce,_0x389c76,_0x246d4),_0x3efcc8=(_0xe8e028,_0x56903c,_0x17abcc)=>_0x1690f5(_0xe8e028,_0x56903c+'',_0x17abcc);const _0x2735fc=_0x477bc3(0x1b3);_0x279e32['UniverCollaborationClientUIPlugin']=class extends _0x162031[_0x477bc3(0x1fc)]{constructor(_0x47cf8b=_0x1b221,_0xd27834,_0x3327b1,_0x54ac9b){const _0x32e9ba=_0x477bc3;super(),this['_config']=_0x47cf8b,this['_renderManagerService']=_0xd27834,this[_0x32e9ba(0x3da)]=_0x3327b1,this[_0x32e9ba(0x219)]=_0x54ac9b;const {..._0x3b4c0b}=_0x162031[_0x32e9ba(0x249)]({},_0x1b221,this[_0x32e9ba(0x38d)]);this[_0x32e9ba(0x219)][_0x32e9ba(0x14c)](_0x1050c1,_0x3b4c0b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x477bc3(0x19c)](){this['_registerRenderDependencies']();}[_0x477bc3(0x15d)](){const _0x3b637c=_0x477bc3;var _0x52af25;const _0x3cc01d=[[_0x446316],[_0x4667cb],[_0x1d044c],[_0x492b1f],[_0x35832b],[_0x3f7f20],[_0x361122,{'useClass':_0x48e8ee}],[_0x1a6c2d[_0x3b637c(0x354)],{'useClass':_0x1a6c2d['WebSocketService']}],[_0x44b518['ILocalCacheService'],{'useClass':_0x41ee4b}],[_0x279e32[_0x3b637c(0x2b8)]],[_0x1ba1e0],[_0x55cb2a],[_0x421cc1],[_0x4b1658],[_0x279e32[_0x3b637c(0x174)]]];this[_0x3b637c(0x38d)][_0x3b637c(0x12a)]&&_0x3cc01d[_0x3b637c(0x138)]([_0x8f72b]),_0x162031[_0x3b637c(0x328)](this[_0x3b637c(0x3da)],_0x162031[_0x3b637c(0x39f)](_0x3cc01d,(_0x52af25=this[_0x3b637c(0x38d)])==null?void 0x0:_0x52af25[_0x3b637c(0x147)]));}[_0x477bc3(0x2b2)](){const _0x530a83=_0x477bc3;this['disposeWithMe'](this[_0x530a83(0x1f4)]['registerRenderModule'](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x2c3)],[_0x560482])),this[_0x530a83(0x32e)](this[_0x530a83(0x1f4)][_0x530a83(0x233)](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x277)],[_0x2eb725]));}[_0x477bc3(0x126)](){const _0x2b66e1=_0x477bc3;_0x162031['touchDependencies'](this[_0x2b66e1(0x3da)],[[_0x421cc1],[_0x279e32['DesktopCollaborationStatusDisplayController']],[_0x1ba1e0],[_0x55cb2a],[_0x279e32[_0x2b66e1(0x174)]],[_0x4667cb]]),this[_0x2b66e1(0x38d)]['enableFrontendLog']&&_0x162031[_0x2b66e1(0x17d)](this[_0x2b66e1(0x3da)],[[_0x8f72b]]);}},_0x3efcc8(_0x279e32[_0x477bc3(0x37a)],_0x477bc3(0x18d),_0x2735fc),_0x279e32[_0x477bc3(0x37a)]=_0x270136([_0x162031[_0x477bc3(0x207)](_0x44b518[_0x477bc3(0x399)]),_0x56b50f(0x1,_0x433081[_0x477bc3(0x1a7)]),_0x56b50f(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x56b50f(0x3,_0x162031['IConfigService'])],_0x279e32[_0x477bc3(0x37a)]);var _0x2e4e5c=Object[_0x477bc3(0x1ec)],_0x4d860a=(_0x5d176d,_0x55ca8b,_0x20b501,_0x4b4566)=>{const _0x9b316e=_0x477bc3;for(var _0xf330b1=_0x4b4566>0x1?void 0x0:_0x4b4566?_0x2e4e5c(_0x55ca8b,_0x20b501):_0x55ca8b,_0xc7005b=_0x5d176d[_0x9b316e(0x215)]-0x1,_0x3feec9;_0xc7005b>=0x0;_0xc7005b--)(_0x3feec9=_0x5d176d[_0xc7005b])&&(_0xf330b1=_0x3feec9(_0xf330b1)||_0xf330b1);return _0xf330b1;},_0x4183ce=(_0x4b2096,_0x1362da)=>(_0x50f22d,_0x2bfac0)=>_0x1362da(_0x50f22d,_0x2bfac0,_0x4b2096);_0x279e32[_0x477bc3(0x2d8)]=class extends _0x44b518[_0x477bc3(0x192)]{constructor(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63){super(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63);}async[_0x477bc3(0x3b5)](_0x436a56){const _0x3638ef=_0x477bc3,_0x2eab76=await this[_0x3638ef(0x1b0)](),_0x4a4785=this[_0x3638ef(0x1fa)](_0x436a56,_0x2eab76);return this[_0x3638ef(0x308)](_0x4a4785);}[_0x477bc3(0x1fa)](_0x1d439c,_0x5bd1a8){const _0x34a357=_0x477bc3,_0x3a1de4=typeof window>'u'?new URL(_0x1d439c):new URL(_0x1d439c,window[_0x34a357(0x32b)][_0x34a357(0x236)]);_0x3a1de4['searchParams'][_0x34a357(0x34a)]('sessionTicket',_0x5bd1a8);const _0x1d02bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a357(0x32b)][_0x34a357(0x29c)]);return _0x1d02bc[_0x34a357(0x375)](_0x34a357(0x1f6))&&_0x3a1de4[_0x34a357(0x1ca)][_0x34a357(0x34a)](_0x34a357(0x1f6),_0x1d02bc['get'](_0x34a357(0x1f6))),_0x3a1de4['toString']();}async[_0x477bc3(0x1b0)](){const _0xb956c1=_0x477bc3;var _0x2c84f9,_0x57ffee,_0x32d406;const _0x3a3cd8=this[_0xb956c1(0x219)][_0xb956c1(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x570525=(_0x2c84f9=_0x3a3cd8==null?void 0x0:_0x3a3cd8[_0xb956c1(0x28d)])!=null?_0x2c84f9:_0x44b518['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x32d406=(_0x57ffee=(await this[_0xb956c1(0x180)]['get'](_0x570525,{'headers':{'Content-Type':_0xb956c1(0x19d)}}))[_0xb956c1(0x34c)])==null?void 0x0:_0x57ffee['ticket'])!=null?_0x32d406:'';}},_0x279e32[_0x477bc3(0x2d8)]=_0x4d860a([_0x4183ce(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x4183ce(0x1,_0x162031['Inject'](_0x1a6c2d[_0x477bc3(0x133)])),_0x4183ce(0x2,_0x162031['IConfigService']),_0x4183ce(0x3,_0x162031[_0x477bc3(0x353)]),_0x4183ce(0x4,_0x4cd710[_0x477bc3(0x372)])],_0x279e32[_0x477bc3(0x2d8)]);var _0x59b697=Object[_0x477bc3(0x1ec)],_0x556298=(_0x4821fc,_0xeea9cb,_0x207cb7,_0x2073b9)=>{const _0x3b42e0=_0x477bc3;for(var _0x850e71=_0x2073b9>0x1?void 0x0:_0x2073b9?_0x59b697(_0xeea9cb,_0x207cb7):_0xeea9cb,_0x2920d6=_0x4821fc[_0x3b42e0(0x215)]-0x1,_0x1d4ae9;_0x2920d6>=0x0;_0x2920d6--)(_0x1d4ae9=_0x4821fc[_0x2920d6])&&(_0x850e71=_0x1d4ae9(_0x850e71)||_0x850e71);return _0x850e71;},_0xf413bd=(_0x52c0f0,_0x3c8d2c)=>(_0x3e6c87,_0x4c3fbb)=>_0x3c8d2c(_0x3e6c87,_0x4c3fbb,_0x52c0f0);_0x279e32[_0x477bc3(0x1f7)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x58e6b5,_0x2acef5,_0x5abedf){const _0x179706=_0x477bc3;super(),this[_0x179706(0x2ed)]=_0x58e6b5,this[_0x179706(0x180)]=_0x2acef5,this[_0x179706(0x219)]=_0x5abedf;}async['runOnServer'](_0x29ff8f,_0x509acd,_0x5da049,..._0x22f47f){const _0x388afe=_0x477bc3;var _0x151580,_0x179f69,_0x16d3a3,_0x1f703f;const _0x34f208=this[_0x388afe(0x2ed)][_0x388afe(0x14b)]();if(!_0x34f208)throw new Error(_0x388afe(0x2d9));const _0xf681e=((_0x151580=this[_0x388afe(0x219)]['getConfig'](_0x44b518[_0x388afe(0x1b4)]))!=null?_0x151580:_0x44b518[_0x388afe(0x391)])+'/'+_0x29ff8f+_0x388afe(0x1bc)+_0x509acd,_0x1bfccb=new URL(window[_0x388afe(0x32b)][_0x388afe(0x246)]),_0x3d131a={'scriptId':_0x29ff8f,'runId':(_0x179f69=_0x1bfccb[_0x388afe(0x1ca)][_0x388afe(0x375)](_0x388afe(0x1f6)))!=null?_0x179f69:'','function':_0x509acd,'unitId':_0x34f208[_0x388afe(0x161)](),'argsOfFunction':JSON[_0x388afe(0x199)](_0x22f47f),'invokeId':(_0x16d3a3=_0x5da049[_0x388afe(0x1fd)])!=null?_0x16d3a3:'','executionId':(_0x1f703f=_0x5da049[_0x388afe(0x1bf)])!=null?_0x1f703f:''};try{const _0x4f6b2d=await this[_0x388afe(0x180)][_0x388afe(0x376)](_0xf681e,{'body':_0x3d131a});return _0x4f6b2d['body'][_0x388afe(0x2d0)]&&_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x2d0)]['code']!==_0x99761d['OK']?_0x388afe(0x309):_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x37b)];}catch{return _0x388afe(0x309);}}},_0x279e32[_0x477bc3(0x1f7)]=_0x556298([_0xf413bd(0x0,_0x162031['IUniverInstanceService']),_0xf413bd(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0xf413bd(0x2,_0x162031[_0x477bc3(0x13e)])],_0x279e32[_0x477bc3(0x1f7)]);const _0x16821a=0x7530,_0x5c7102=_0x477bc3(0x140);class _0xc6a367 extends _0x162031[_0x477bc3(0x148)]{constructor(){const _0x633a9f=_0x477bc3;super(),_0x387a01(this,_0x633a9f(0x36a),_0x162031[_0x633a9f(0x38e)]()),_0x387a01(this,_0x633a9f(0x160),new Set()),_0x387a01(this,_0x633a9f(0x3db),new Map()),_0x387a01(this,_0x633a9f(0x1c0),null),_0x387a01(this,_0x633a9f(0x33d),new Map()),_0x387a01(this,_0x633a9f(0x26a),new Map()),this[_0x633a9f(0x1ad)]();}[_0x477bc3(0x388)](){const _0x245d35=_0x477bc3;super['dispose'](),this[_0x245d35(0x33d)][_0x245d35(0x3c7)]((_0x137431,_0x30b78e)=>this[_0x245d35(0x18a)](_0x30b78e)),this[_0x245d35(0x1c0)]&&window[_0x245d35(0x261)](this[_0x245d35(0x1c0)]);}['getUnitStatus$'](_0x523e0d){const _0x2389f4=_0x477bc3;return this['_ensureSubject'](_0x523e0d)['pipe'](_0xe327d9[_0x2389f4(0x1d2)]());}[_0x477bc3(0x17a)](_0x595c22){const _0x313e3e=_0x477bc3;this[_0x313e3e(0x160)]['size']===0x0&&this[_0x313e3e(0x1b5)](),this['_selfUnitIDs'][_0x313e3e(0x1d6)](_0x595c22),this[_0x313e3e(0x2ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x595c22],'isForwarded':!0x1});}[_0x477bc3(0x105)](_0x536eea){const _0x544da0=_0x477bc3;this[_0x544da0(0x160)]['delete'](_0x536eea),this[_0x544da0(0x160)][_0x544da0(0x12d)]===0x0&&this[_0x544da0(0x1c0)]&&window['clearInterval'](this[_0x544da0(0x1c0)]);}['_init'](){const _0x12c879=_0x477bc3;this[_0x12c879(0x32e)](_0x162031[_0x12c879(0x16b)](_0xe327d9['fromEvent'](window,_0x12c879(0x31a))[_0x12c879(0x2cd)](_0x50c020=>{const _0x9d7621=_0x12c879;if(_0x50c020[_0x9d7621(0x3b9)]!==_0x5c7102||!_0x50c020[_0x9d7621(0x144)])return;const _0x2bc8dd=JSON[_0x9d7621(0x398)](_0x50c020[_0x9d7621(0x144)]);this[_0x9d7621(0x1ee)](_0x2bc8dd);}))),window[_0x12c879(0x2d6)](_0x12c879(0x390),()=>this[_0x12c879(0x2ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x12c879(0x360)](this[_0x12c879(0x160)])}));}[_0x477bc3(0x1ee)](_0x123150){const _0x435219=_0x477bc3;switch(_0x123150['type']){case 0x0:this['_handleJoinEvent'](_0x123150);break;case 0x1:this[_0x435219(0x330)](_0x123150);break;case 0x2:this['_handleHeartbeatEvent'](_0x123150);break;}}[_0x477bc3(0x342)](_0x42d98f){const _0x29b8b6=_0x477bc3,{unitIDs:_0x2f16f1,memberID:_0x13253a,isForwarded:_0x47c1fe}=_0x42d98f;_0x2f16f1['forEach'](_0x1d98ee=>{const _0xbac29e=_0x1b11;if(!_0x47c1fe&&this[_0xbac29e(0x3db)]['has'](_0x1d98ee)&&this[_0xbac29e(0xf8)](_0x1d98ee)[_0xbac29e(0x3be)](_0x44b518[_0xbac29e(0x306)][_0xbac29e(0x10d)]),!this[_0xbac29e(0x3db)][_0xbac29e(0x3cf)](_0x1d98ee)||!this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)[_0xbac29e(0x3cf)](_0x13253a)){const _0x379181=this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)||new Set();_0x379181[_0xbac29e(0x1d6)](_0x13253a),this[_0xbac29e(0x3db)][_0xbac29e(0x34a)](_0x1d98ee,_0x379181),this['_scheduleClearOtherTimer'](_0x13253a);}}),_0x47c1fe||this['_send']({'type':0x0,'memberID':this[_0x29b8b6(0x36a)],'unitIDs':[...this[_0x29b8b6(0x160)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2e2bbd){const _0x35cc2d=_0x477bc3;this[_0x35cc2d(0x18a)](_0x2e2bbd);const _0x477a2a=window[_0x35cc2d(0x366)](()=>{const _0x52968d=_0x35cc2d;this['_unitOnClients'][_0x52968d(0x3c7)](_0x1086aa=>{_0x1086aa['delete'](_0x2e2bbd);});},_0x16821a*0x2);this[_0x35cc2d(0x33d)][_0x35cc2d(0x34a)](_0x2e2bbd,_0x477a2a);}[_0x477bc3(0x18a)](_0x36e5ae){const _0x2c26f3=_0x477bc3;if(this[_0x2c26f3(0x33d)][_0x2c26f3(0x3cf)](_0x36e5ae)){const _0x3951fb=this['_clearOtherTimers'][_0x2c26f3(0x375)](_0x36e5ae);_0x3951fb&&window['clearTimeout'](_0x3951fb),this[_0x2c26f3(0x33d)][_0x2c26f3(0x34a)](_0x36e5ae,null);}}[_0x477bc3(0x330)](_0x2ffb88){const {memberID:_0x152ab8,unitIDs:_0x4f6daa}=_0x2ffb88;_0x4f6daa['forEach'](_0xe98b55=>{const _0x50ccbd=_0x1b11;var _0x223f7c;const _0x1c73ba=this[_0x50ccbd(0x3db)][_0x50ccbd(0x375)](_0xe98b55);_0x1c73ba&&(_0x1c73ba['delete'](_0x152ab8),(_0x223f7c=this[_0x50ccbd(0xf8)](_0xe98b55))==null||_0x223f7c[_0x50ccbd(0x3be)](_0x1c73ba['size']===0x0?_0x44b518[_0x50ccbd(0x306)]['NO_OTHER_CLIENTS_EDITING']:_0x44b518[_0x50ccbd(0x306)][_0x50ccbd(0x10d)]));}),this['_removeClearOtherTimer'](_0x152ab8);}['_handleHeartbeatEvent'](_0x27f77a){const _0x198da2=_0x477bc3;this[_0x198da2(0x325)](_0x27f77a[_0x198da2(0x3b2)]);}[_0x477bc3(0x2ea)](_0x1fde18){const _0xa48988=_0x477bc3;localStorage[_0xa48988(0x23c)](_0x5c7102,JSON[_0xa48988(0x199)](_0x1fde18));}[_0x477bc3(0x1b5)](){const _0x435645=_0x477bc3;this['_heartbeatTimer']=window[_0x435645(0x18b)](()=>{const _0x12d860=_0x435645;this[_0x12d860(0x2ea)]({'type':0x2,'memberID':this[_0x12d860(0x36a)]});},_0x16821a);}[_0x477bc3(0xf8)](_0x2c91aa){const _0xa4087b=_0x477bc3;return this[_0xa4087b(0x26a)]['has'](_0x2c91aa)||this[_0xa4087b(0x26a)][_0xa4087b(0x34a)](_0x2c91aa,new _0xe327d9['BehaviorSubject'](_0x44b518['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0xa4087b(0x26a)]['get'](_0x2c91aa);}}_0x279e32[_0x477bc3(0x31b)]=_0x361122,_0x279e32[_0x477bc3(0x14e)]=_0x5ff006,_0x279e32[_0x477bc3(0x125)]=_0xc6a367,_0x279e32[_0x477bc3(0x1b9)]=_0x48e8ee,Object[_0x477bc3(0x2e2)](_0x279e32,Symbol[_0x477bc3(0x263)],{'value':'Module'});}));function _0x5942(){const _0x4e0804=['useCallback','ENTITLE_INVALID_COUPON_CODE','...','handleMoveRange','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','_showGuardMessage','ColorKit','href','_docTransformIMECacheService','getConfig','merge','_color','#FFF','debounce','type','getParam','_saveTaskMap','m2Prime','ENTITLE_DUP_SUBSCRIPTION','TEXT','focused$','COLORS','UNDEFINED','REDEMPTION_CODE_NOT_STARTED','releaseFormulaLimitUrl','IRemoteInstanceService','subscribeEvent','_initStatusComponent','@univerjs/sheets-ui','_onCursorUpdate','syncEditingCollabCursor','_initEvent','react/jsx-runtime','url(#on-line-icon_clip0_910_349)','clearInterval','cursorInfo$','toStringTag','url(#$1','_getScale','cursorInfo','@univerjs-pro/collaboration-client','_docClipboardService','executeCommand','_unitStatus','_themeService','undoState','roomMembers','_collabCursorController','_hovered','min','getMember','_checkCalculationAvailable','_localCacheService','UniverIcon','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_updateLocalCursor','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','removeEventListener','session.connection-failed','OnLineIcon','getCurrentSelections','startsWith','WECHAT_HAS_BEEN_BOUND','_anchorDot','_removeCollabCursors','_roomMembers$','6016232jQAWcs','UniverSheetsUi','_cursorShapes','source','black','registerRefRange','getRenderById','collab-text-anchor-','_drawAnchor','handleDeleteRangeMoveUp','getDocRanges','wsSessionTicketUrl','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','addObjects','useDependency','height','USER_IS_ANONYMOUS','DocSelectionManagerService','defs','find','isTransformMutationsWithChangesetSuccess','_logService','_context','_collabSessionService','xlink:href','registerComponent','search','RECT','clsx','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','CanceledError','_onRefRangeChange','YUUMI_UNABLE_LOAD_URL','currentColor','InsertRangeMoveRightCommandId','toString','getSheetId','all','fromEvent','CollaborationUIEventService','PAYMENT_CHANNEL_NOT_SUPPORT','range','eventID','SHEET_VIEWPORT_KEY','_document','Inject','collabStatus.conflict','_registerRenderDependencies','EMAIL_VERIFY_CODE_MISMATCH','_transformPreviousActiveRange','_scene','SetTextSelectionsOperation','collabStatus.syncing','DesktopCollaborationStatusDisplayController','HEADER_MENU','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','subunit','DataLoaderService','ThemeService','OffLineIcon','width','InsertRangeMoveDownCommandId','CollaborationStatus','UNIVER_DOC','ENTITLE_REPORT_LIMIT_EXCEED','LOGIN_TOKEN_PROCESSING_FAILED','translate(.97)','svg','symbol','_setFormulaLimitStatus','getSheetBySheetId','_startCalculationLimit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','subscribe','_dataLoaderService','saveImage','error','pipe','useObservable','981062aqzYLI','UniverDrawing','collabStatus.notCollab','addEventListener','_urlService','BrowserCollaborationSocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ERROR_AGAIN','roomMembers$','purple.300','@univerjs/network','0\x200\x2017\x2016','collaboration-client-ui.config','DocSkeletonManagerService','replace','defineProperty','ENTITLE_NEED_BILLING_ADDRESS','RegularPolygon','getAncestorScale','fillText','connectInjector','operators','transformSelections','_send','replaceState','getViewport','_instanceService','transformRemoteChangeset','AWAITING','bottom','@univerjs/core','_collaborationController','_hideTimer','IImageIoService','collabStatus.fetchMiss','handleIRemoveRow','_updateURLWithCurrentState','on-line-icon_clip0_910_349','displayName','_labelPosition','attrs','MoveRangeCommandId','getCurrentRevOfUnit','?taskId=','assignAColorForMemberID','_sheetSkeletonManagerService','labelPosition','TEXT_RANGE_LAYER_INDEX','UniverSheets','_syncEditingCollabCursorService','[Unhandled\x20Rejection]:\x20','UnitStatus','getCollabEntity$','_doCreateSocket','Failed','START_CALCULATION','Optional','/universer-api/license/formula/limit/status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','some','Unknown\x20user','Workbook','_taskIds','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','UNAUTHENTICATED','9VRMmkJ','setShapeProps','DocStateChangeManagerService','_initCommandInterceptor','storage','IURLService','getCurrent','17260bsJgrd','setStateCache','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Loading','SetWorksheetActivateCommand','_getAnchorBounding','getRangePointData','_scheduleClearOtherTimer','ICommandService','UniverUi','registerDependencies','reconnect','beginPath','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','disposeWithMe','_toggleOnline','_handleLeaveEvent','takeUntil','currentSkeleton$','univer-mr-2\x20univer-flex\x20univer-text-xl','_monkeyPatchLogService','_initCommandExecutedListener','ENTITLE_CHAT_LIMIT_EXCEED','getCellPositionByOffset','_backgroundColor','enableLocalCache','_maxFormulaLimit','findNodePositionByCharIndex','setParam','_clearOtherTimers','MessageType','_onCursorDelete','UniverDocsUi','[LogService\x20Error]:\x20','_handleJoinEvent','_colorAssignService','_getSheetObject','unsubscribe','4315830WdrmgC','\x20at\x20','show','handleInsertRangeMoveDown','set','_localStorageService','body','mutations','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','transformIMECache','_cursor','_anchor','ILogService','ISocketService','_colorIndex','backgroundColor','APPLY_DUPLICATED','m1Prime','getformulaLimitStatusUrl','urlChange$','_docSyncEditingCollabCursorService','NOT_COLLAB','children','EffectRefRangId','NodePositionConvertToCursor','from','SUCCESS','white','SetSelectionsOperation','column','whenReady','setTimeout','session.collaboration-timeout','fill','addClipboardHook','_id','/universer-api/license/formula/limit/done','AUTHORIZE_CODE_ILLEGAL','_memberID','_lastPointer','socket$','color','11010260CyITXJ','ISnapshotServerService','FromArray','IBeforeCloseService','get','post','_messageService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverCollaborationClientUIPlugin','result','getLocalCacheKey','_drawRectRange','limitInfo','_initEntityListener','SetFormulaCalculationStartMutation','save','imageSourceType','74253sDpKQK','green.600','SessionStatus','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose','amd','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_initUserListener','_config','generateRandomId','yellow.400','unload','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','idSuffix','stack','textRanges','_textBubble','reason','parse','UniverCollaborationClientPlugin','collaboration.offline-data-not-saved','ONLINE','sheetId','uni.network.url-service','complete','mergeOverrideWithDependencies','_docSkeletonManagerService','fromEventSubject','parseInt','exhaustSavingTask','createIdentifier','fillStyle','onPointerEnter$','registerBeforeClose','send','BuiltInUIPart','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','USER_NOT_FOUND','isTransformMutationFailure','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','formula.calculation.waiting','stageInfo','memberID','_startSheetCollabCursor','UniverProCollaborationClientUi','createSocket','activeSheet$','Subject','OFFLINE','key','assign','_initUnhandledRejectionListener','_notificationService','_releaseCalculationLimit','next','_imageIoService','_scheduleSaving','_entities','collabStatus.offline','isFormulaString','_getFormulaLimitStatus','hovered','UniverProCollaboration','forEach','fillRule','random','values','tag','transformStateCache','getUniverSheetInstance','_docTransformStateCacheService','has','unitID','1em','getTypeOfUnitDisposed$','engine','name','toRgbString','DATA_SOURCE_TOO_LARGE','DocIMEInputManagerService','_lastResponseTimestamp','on-line-icon','_injector','_unitOnClients','RxDisposable','INotificationService','NodePositionConvertToRectRange','UniverEngineRender','CLOSE_ROOM','now','lineno','redoState','INVITE_CODE_ALREADY_BOUND','selections','rxjs','_range','Shape','@univerjs/drawing','_ensureSubject','split','_assignedColors','permission.content','_docStateChangeManagerService','SOCKET_FAILED','APPLY_REVISION_CONFILICT','mask','_shapes','SNAPSHOT_INVALID_SNAPSHOT','_initWindowErrorListener','shift','UNRECOGNIZED','disposeUnit','_pollingInterval','requireSession','lineTo','onTransformChange$','init','_localeService','getCollabCursors$','OTHER_CLIENTS_EDITING','_cursorInfo$','session.will-retry','APPLY_PERMISSION_DENIED','MemberService','Error','handleIRemoveCol','react','getSkeleton','updateOfflineData','_status$','UniverEngineFormula','asObservable','code','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','off-line-icon_clip0_910_343','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','IDocClipboardService','use','join','_docSkeleton','filter','WebBrowserSingleActiveUnitService','_initDependencies','setActiveRange','YUUMI_AI_RUN_FAILED','arc','enableFrontendLog','path','defIds','size','sheetID','PENDING','saveTaskMap','_uploadLog','PY_RUNTIME_SCRIPT_ERROR','HTTPService','TOO_MANY_REQUESTS','with','BehaviorSubject','Tooltip','push','_commandService','useRef','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','collabStatus.synced','IConfigService','subUnitId','ACTIVE_UNIT_EVENT_CHANNEL','startRow','transform','addHandlerCallback','newValue','drawWith','debug','override','Disposable','INVALID_ARGUMENT','handleInsertCol','getFocusedUnit','setConfig','_saveCache','SheetCollabCursorShape','createElement','unitId','MOBILE_VERIFY_CODE_MISMATCH','deserializeRangeWithSheet','FormulaExecutedStateType','InsertColCommandId','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','setUndoRedoMutationParamsCache','_hover','_online','CollaborationController','_beforeCloseService','getTypeOfUnitAdded$','_registerDependencies','_transformHistoryAndStateStack','hide','_selfUnitIDs','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','UPDATE_CURSOR','isArray','docStateChange$','_setupBeforeClosingHandler','_updateCollabCursors','SetFormulaCalculationNotificationMutation','_eventUnsubscribe','toDisposable','_revisionService','top','transformByState','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/design','UniverDocs','clipPath','getCellMatrix','CollaborationDataLoaderController','_initResize','ITransformService','event$','102aWFpdV','transformMutation','editingUnit','_uiPartsService','_clearPolling','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_httpService','jsx','getValue','RemoveColCommandId','OTHER_CLIENT_EDITING','_applyCommand','unit','IUIPartsService','unshift','setAlpha','_removeClearOtherTimer','setInterval','FormulaExecuteStageType','pluginName','_setupSubUnitSync','beforeCommandExecuted','currentUsage','VIEW_MAIN','CollaborationSocketService','deepClone','DocCollaborationEntity','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','selection','makeDirty','stringify','collab-client.tooltip.reconnect','getStateCache','onRendered','application/json','516lHSYZS','SYNCED','REDEMPTION_CODE_FULLY_REDEEMED','isEditing','forwardRef','_refRangeService','onMouseMove','loadUnit','/universer-api/license/formula/limit/start','IRenderManagerService','getColorFromTheme','_startDocCollabCursor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','params','APPLY_REJECT','_init','@univerjs/engine-render','sessionStatus$','_getSessionTicket','rxjs/operators','status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleHeartbeat','DeleteRangeMoveUpCommandId','onCommandExecuted','[Window\x20Error]:\x20','WebURLService','collabCursorState$','filename','/run/','AWAITING_WITH_PENDING','restore','executionId','_heartbeatTimer','dispose$','ENTITLE_COUPON_USED_UP','YUUMI_RATE_OVER_LIMIT','permission.title','ILocalStorageService','onPointerMove$','NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverInstanceType','searchParams','string','_currentUsage','LocaleService','getSheetObject','getCoordByCell','getUnhiddenWorksheets','ALREADY_EXISTS','distinctUntilChanged','_memberService','Vector2','RevisionService','add','REDEMPTION_INVALID_CODE','DeleteRangeMoveLeftCommandId','DOC_RANGE_TYPE','debounceTime','http://www.w3.org/2000/svg','jiqing.500','_toggleOffline','ranges','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRangeMoveRight','flatMap','Injector','getActiveRange','blue.400','CollaborationSessionService','_name','history','handleInsertRow','currentTheme$','_drawTextRange','CONFLICT','getOwnPropertyDescriptor','getOffsetConfig','_handleEvent','Warning','_handleHover','9123961IfiBMl','row','RemoveRowCommandId','_renderManagerService','INVALID_INVITE_CODE','runId','RemoteUniscriptService','resize','data','_createSocketURL','combineLatest','Plugin','invokeId','replaceDocRanges','text','_entityInit$','EMAIL_HAS_BEEN_BOUND','_getMergeRange','totalFormulasToCalculate','React','@univerjs/rpc','_initStatusListener','DependentOn','addObject','RefRangeService','doc.mutation.rich-text-editing','_session','_updateSubUnitFromURLParams','MUTATION','INVITE_CODE_HAS_BEEN_UES','_disabled','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','getUndoRedoMutationParamsCache','LOGIN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','_cursors','_configService','getColor','_refreshCollabCursors','IUniverInstanceService','pushState','url(#off-line-icon_clip0_910_343)','endColumn','switchMap','_collaborationSessionService','IMessageService','colorChannel1','INTERNAL_ERROR','_univerInstanceService','div','_collaborationUIEventService','serializeRangeWithSheet','JOIN_ROOM_FAILED','FETCH_MISS','INVITE_CODE_REQUIRED','_transformService','CollaborationEvent','current','then','none','Rect','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','origin','CURRENT_STATUS_CANNOT_OPERATE','shareReplay','map','clearTimeout','catch','setItem','function'];_0x5942=function(){return _0x4e0804;};return _0x5942();}
|
|
1
|
+
function _0x2c0f(_0x534dcd,_0x3c8f37){_0x534dcd=_0x534dcd-0x1e6;const _0x467084=_0x4670();let _0x2c0f79=_0x467084[_0x534dcd];return _0x2c0f79;}(function(_0x5bb19a,_0x38c1c4){const _0x6733ab=_0x2c0f,_0x4489ea=_0x5bb19a();while(!![]){try{const _0x59e7db=parseInt(_0x6733ab(0x396))/0x1*(parseInt(_0x6733ab(0x445))/0x2)+parseInt(_0x6733ab(0x2c5))/0x3+-parseInt(_0x6733ab(0x261))/0x4*(parseInt(_0x6733ab(0x2d4))/0x5)+-parseInt(_0x6733ab(0x276))/0x6*(-parseInt(_0x6733ab(0x468))/0x7)+-parseInt(_0x6733ab(0x380))/0x8*(parseInt(_0x6733ab(0x251))/0x9)+-parseInt(_0x6733ab(0x377))/0xa+parseInt(_0x6733ab(0x1fa))/0xb*(-parseInt(_0x6733ab(0x1f1))/0xc);if(_0x59e7db===_0x38c1c4)break;else _0x4489ea['push'](_0x4489ea['shift']());}catch(_0x3cb1c8){_0x4489ea['push'](_0x4489ea['shift']());}}}(_0x4670,0x655a6),function(_0x23c90d,_0x2f4ae1){const _0x376707=_0x2c0f;typeof exports==_0x376707(0x432)&&typeof module<'u'?_0x2f4ae1(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==_0x376707(0x382)&&define['amd']?define(['exports',_0x376707(0x3dc),_0x376707(0x2b3),_0x376707(0x39e),_0x376707(0x2e6),_0x376707(0x240),_0x376707(0x462),_0x376707(0x45b),'@univerjs/rpc',_0x376707(0x3af),_0x376707(0x31c),_0x376707(0x477),_0x376707(0x44f),_0x376707(0x339),'@univerjs-pro/collaboration',_0x376707(0x467),_0x376707(0x2de),'rxjs/operators',_0x376707(0x33e)],_0x2f4ae1):(_0x23c90d=typeof globalThis<'u'?globalThis:_0x23c90d||self,_0x2f4ae1(_0x23c90d['UniverProCollaborationClientUi']={},_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x2b2)],_0x23c90d[_0x376707(0x2d8)],_0x23c90d['UniverUi'],_0x23c90d['rxjs'],_0x23c90d[_0x376707(0x341)],_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x1fe)],_0x23c90d[_0x376707(0x26a)],_0x23c90d[_0x376707(0x36a)],_0x23c90d['UniverNetwork'],_0x23c90d[_0x376707(0x421)],_0x23c90d[_0x376707(0x245)],_0x23c90d[_0x376707(0x26f)],_0x23c90d[_0x376707(0x3a2)],_0x23c90d[_0x376707(0x3bb)],_0x23c90d[_0x376707(0x240)][_0x376707(0x47d)],_0x23c90d[_0x376707(0x48e)]));}(this,function(_0x7f96f7,_0x5740b5,_0x34c9b1,_0xee8662,_0x2dde38,_0x3b7fba,_0xefc44b,_0x2e943d,_0x969f37,_0x3dd5c8,_0x358391,_0x4d0037,_0x42f82b,_0x2ac31a,_0x597660,_0xf806a0,_0x150340,_0x6bbe09,_0x28bc9b){'use strict';const _0x51d908=_0x2c0f;var _0x3377c9=Object[_0x51d908(0x359)],_0x195903=(_0x5c84a1,_0x41c3d5,_0x55096b)=>_0x41c3d5 in _0x5c84a1?_0x3377c9(_0x5c84a1,_0x41c3d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55096b}):_0x5c84a1[_0x41c3d5]=_0x55096b,_0x3dad76=(_0x3ac692,_0xc085ca,_0x5442f0)=>_0x195903(_0x3ac692,typeof _0xc085ca!=_0x51d908(0x3cf)?_0xc085ca+'':_0xc085ca,_0x5442f0);function _0x2dbb89({ref:_0x11392b,..._0x20b89c}){const _0x48a282=_0x51d908,{icon:_0xd1ad2a,id:_0x4467c7,className:_0x578904,extend:_0x51a0ce,..._0x5afffa}=_0x20b89c,_0x2a2680=(_0x48a282(0x4c9)+_0x4467c7+'\x20'+(_0x578904||''))[_0x48a282(0x31b)](),_0x10c022=_0x2e943d[_0x48a282(0x459)]('_'+_0x3c6c82());return _0xa8da4e(_0xd1ad2a,''+_0x4467c7,{'defIds':_0xd1ad2a[_0x48a282(0x217)],'idSuffix':_0x10c022[_0x48a282(0x306)]},{'ref':_0x11392b,'className':_0x2a2680,..._0x5afffa},_0x51a0ce);}function _0xa8da4e(_0x184571,_0x551fec,_0x54cf50,_0x54d764,_0x3bdb8d){const _0x5a7619=_0x51d908;return _0x2e943d[_0x5a7619(0x2da)](_0x184571['tag'],{'key':_0x551fec,..._0x3abdfe(_0x184571,_0x54cf50,_0x3bdb8d),..._0x54d764},(_0x71f79b(_0x184571,_0x54cf50)['children']||[])[_0x5a7619(0x1e7)]((_0x1153aa,_0x4b69a9)=>_0xa8da4e(_0x1153aa,_0x551fec+'-'+_0x184571[_0x5a7619(0x2b0)]+'-'+_0x4b69a9,_0x54cf50,void 0x0,_0x3bdb8d)));}function _0x3abdfe(_0x4be1e8,_0x3804e8,_0xc50a3a){const _0x468c47=_0x51d908,_0x5825bd={..._0x4be1e8[_0x468c47(0x424)]};_0xc50a3a!=null&&_0xc50a3a[_0x468c47(0x38e)]&&_0x5825bd[_0x468c47(0x405)]==='colorChannel1'&&(_0x5825bd[_0x468c47(0x405)]=_0xc50a3a[_0x468c47(0x38e)]),_0x4be1e8[_0x468c47(0x2b0)]===_0x468c47(0x2bd)&&_0x5825bd['id']&&(_0x5825bd['id']=_0x5825bd['id']+_0x3804e8[_0x468c47(0x410)]),Object[_0x468c47(0x2e0)](_0x5825bd)[_0x468c47(0x204)](([_0x55d95a,_0x2ff35f])=>{const _0xaef68e=_0x468c47;_0x55d95a===_0xaef68e(0x2bd)&&typeof _0x2ff35f=='string'&&(_0x5825bd[_0x55d95a]=_0x2ff35f[_0xaef68e(0x20a)](/url\(#(.*)\)/,_0xaef68e(0x40c)+_0x3804e8[_0xaef68e(0x410)]+')'));});const {defIds:_0x1daf17}=_0x3804e8;return!_0x1daf17||_0x1daf17['length']===0x0||(_0x4be1e8['tag']==='use'&&_0x5825bd[_0x468c47(0x258)]&&(_0x5825bd[_0x468c47(0x258)]=_0x5825bd[_0x468c47(0x258)]+_0x3804e8[_0x468c47(0x410)]),Object['entries'](_0x5825bd)['forEach'](([_0x107109,_0x58c554])=>{const _0x4321d2=_0x468c47;typeof _0x58c554==_0x4321d2(0x255)&&(_0x5825bd[_0x107109]=_0x58c554[_0x4321d2(0x20a)](/url\(#(.*)\)/,_0x4321d2(0x40c)+_0x3804e8['idSuffix']+')'));})),_0x5825bd;}function _0x71f79b(_0x4bbbea,_0x1f91f6){const _0x353ee2=_0x51d908;var _0x41c813;const {defIds:_0x182eba}=_0x1f91f6;return!_0x182eba||_0x182eba['length']===0x0?_0x4bbbea:_0x4bbbea[_0x353ee2(0x2b0)]===_0x353ee2(0x232)&&((_0x41c813=_0x4bbbea[_0x353ee2(0x48c)])!=null&&_0x41c813[_0x353ee2(0x3e5)])?{..._0x4bbbea,'children':_0x4bbbea[_0x353ee2(0x48c)]['map'](_0x481827=>typeof _0x481827[_0x353ee2(0x424)]['id']=='string'&&_0x182eba&&_0x182eba[_0x353ee2(0x3ab)](_0x481827[_0x353ee2(0x424)]['id'])?{..._0x481827,'attrs':{..._0x481827[_0x353ee2(0x424)],'id':_0x481827[_0x353ee2(0x424)]['id']+_0x1f91f6[_0x353ee2(0x410)]}}:_0x481827)}:_0x4bbbea;}function _0x3c6c82(){const _0x15802c=_0x51d908;return Math[_0x15802c(0x349)]()[_0x15802c(0x344)](0x24)['substring'](0x2,0x8);}_0x2dbb89[_0x51d908(0x369)]=_0x51d908(0x20d);const _0x2faee0={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':_0x51d908(0x2ff),'width':_0x51d908(0x4a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x51d908(0x1fb)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x51d908(0x39a),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':_0x51d908(0x232),'attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x312)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':'white','d':_0x51d908(0x375)}}]}]}],'defIds':[_0x51d908(0x312)]},_0x2cb984=_0x2e943d['forwardRef'](function(_0x439c10,_0x49a8dd){const _0xf93020=_0x51d908;return _0x2e943d[_0xf93020(0x2da)](_0x2dbb89,Object['assign']({},_0x439c10,{'id':'off-line-icon','ref':_0x49a8dd,'icon':_0x2faee0}));});_0x2cb984[_0x51d908(0x369)]=_0x51d908(0x403);const _0x3828e5={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':'0\x200\x2017\x2016','width':_0x51d908(0x4a4),'height':_0x51d908(0x4a4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x51d908(0x48b),'attrs':{'stroke':_0x51d908(0x4aa),'d':_0x51d908(0x3d3),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x3c1)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':_0x51d908(0x332),'d':_0x51d908(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c533b=_0x2e943d[_0x51d908(0x36e)](function(_0x16f147,_0x3d1e4b){const _0x3451ee=_0x51d908;return _0x2e943d['createElement'](_0x2dbb89,Object[_0x3451ee(0x35a)]({},_0x16f147,{'id':'on-line-icon','ref':_0x3d1e4b,'icon':_0x3828e5}));});_0x5c533b['displayName']=_0x51d908(0x3b0);function _0x32fce6(_0x3151f4){const _0x2d671c=_0x51d908;switch(_0x3151f4){case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x292)]:return'collabStatus.offline';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x254)]:return _0x2d671c(0x4a6);case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x20b)]:return'collabStatus.fetchMiss';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2a3)]:return'collabStatus.notCollab';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x223)]:case _0x34c9b1['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x2d671c(0x38b);case _0x34c9b1['CollaborationStatus']['SYNCED']:case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2c6)]:return _0x2d671c(0x200);}}function _0x401748(_0x1bd21e){const _0x1d8bcf=_0x51d908,{status$:_0x2654cf}=_0x1bd21e,_0x17337c=_0x2dde38['useObservable'](_0x2654cf,_0x34c9b1[_0x1d8bcf(0x326)][_0x1d8bcf(0x2a3)]),_0x59fd12=_0x2dde38['useDependency'](_0xee8662[_0x1d8bcf(0x241)]),_0x1e846a=_0x2dde38[_0x1d8bcf(0x325)](_0x34c9b1[_0x1d8bcf(0x25f)]),_0x44905a=_0x17337c!==_0x34c9b1['CollaborationStatus'][_0x1d8bcf(0x292)],_0x34560c=_0x59fd12['t'](_0x32fce6(_0x17337c)),_0x20253c=_0x44905a?_0x5740b5[_0x1d8bcf(0x330)](_0x5c533b,{}):_0x5740b5[_0x1d8bcf(0x330)](_0x2cb984,{}),_0x3bf655=_0x2e943d['useCallback'](()=>{const _0x3aa8be=_0x1d8bcf;_0x44905a||_0x1e846a[_0x3aa8be(0x450)]();},[_0x44905a,_0x1e846a]);function _0x2ae72a(){const _0x40b976=_0x1d8bcf;return _0x5740b5[_0x40b976(0x2f0)]('div',{'className':_0x40b976(0x26b),'onClick':_0x3bf655,'children':[_0x5740b5[_0x40b976(0x330)](_0x40b976(0x452),{'className':_0xefc44b[_0x40b976(0x3d4)](_0x40b976(0x30f),{'univer-text-green-500':_0x44905a,'univer-text-red-500':!_0x44905a}),'children':_0x20253c}),_0x5740b5['jsx'](_0x40b976(0x452),{'className':_0x40b976(0x4d2),'children':_0x34560c})]});}return _0x44905a?_0x2ae72a():_0x5740b5[_0x1d8bcf(0x330)](_0xefc44b[_0x1d8bcf(0x2dd)],{'title':_0x59fd12['t'](_0x1d8bcf(0x298)),'children':_0x2ae72a()});}var _0x45dc7c=Object[_0x51d908(0x34e)],_0x2ccc78=(_0x5f7199,_0x158ec4,_0x13b415,_0x5665f1)=>{const _0x1ea945=_0x51d908;for(var _0x186cee=_0x5665f1>0x1?void 0x0:_0x5665f1?_0x45dc7c(_0x158ec4,_0x13b415):_0x158ec4,_0x18e8aa=_0x5f7199[_0x1ea945(0x3e5)]-0x1,_0x512a18;_0x18e8aa>=0x0;_0x18e8aa--)(_0x512a18=_0x5f7199[_0x18e8aa])&&(_0x186cee=_0x512a18(_0x186cee)||_0x186cee);return _0x186cee;},_0x1faf92=(_0x53a220,_0x218945)=>(_0x123cab,_0x52535e)=>_0x218945(_0x123cab,_0x52535e,_0x53a220);_0x7f96f7[_0x51d908(0x4b3)]=class extends _0xee8662['Disposable']{constructor(_0x5f2549,_0x480a7d,_0x565c55,_0x243aeb){const _0x3d4a99=_0x51d908;super(),_0x3dad76(this,_0x3d4a99(0x419),new _0x3b7fba[(_0x3d4a99(0x45d))](_0x34c9b1['CollaborationStatus']['NOT_COLLAB'])),(this[_0x3d4a99(0x4c6)]=_0x5f2549,this[_0x3d4a99(0x3e2)]=_0x480a7d,this[_0x3d4a99(0x2cb)]=_0x565c55,this['_uiPartsService']=_0x243aeb,this[_0x3d4a99(0x3f2)](),this[_0x3d4a99(0x273)]());}[_0x51d908(0x273)](){const _0x22516e=_0x51d908;this[_0x22516e(0x45a)](this[_0x22516e(0x4c6)]['focused$'][_0x22516e(0x2ba)](_0x3b7fba['switchMap'](()=>{const _0x5451f6=_0x22516e,_0x1c29c8=this[_0x5451f6(0x4c6)][_0x5451f6(0x247)]();return _0x1c29c8?this['_collaborationController'][_0x5451f6(0x439)](_0x1c29c8[_0x5451f6(0x3d9)]()):_0x3b7fba['of'](null);}),_0x3b7fba[_0x22516e(0x40f)](_0x4c20ba=>_0x4c20ba?_0x4c20ba[_0x22516e(0x346)]:_0x3b7fba['of'](_0x34c9b1['CollaborationStatus'][_0x22516e(0x2a3)])))[_0x22516e(0x329)](_0x43de95=>{const _0x42a073=_0x22516e;this[_0x42a073(0x419)][_0x42a073(0x2e1)](_0x43de95);}));}[_0x51d908(0x3f2)](){const _0x56d832=_0x51d908;this['disposeWithMe'](this[_0x56d832(0x32c)][_0x56d832(0x2fc)](_0x2dde38['BuiltInUIPart'][_0x56d832(0x4b8)],()=>_0x2dde38['connectInjector'](_0x1f9bba({'status$':this[_0x56d832(0x419)][_0x56d832(0x428)]()}),this[_0x56d832(0x3e2)])));}},_0x7f96f7[_0x51d908(0x4b3)]=_0x2ccc78([_0x1faf92(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x1faf92(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x1faf92(0x2,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x1faf92(0x3,_0x2dde38[_0x51d908(0x394)])],_0x7f96f7['DesktopCollaborationStatusDisplayController']);function _0x1f9bba(_0x3180f5){const {status$:_0x1674d5}=_0x3180f5;return function(){const _0x4bcf72=_0x2c0f;return _0x5740b5[_0x4bcf72(0x330)](_0x401748,{'status$':_0x1674d5});};}const _0x188e9b=_0xee8662[_0x51d908(0x4af)](_0x51d908(0x381));var _0x3c84dc=Object['getOwnPropertyDescriptor'],_0x51ebe6=(_0xb613ca,_0x2d5ea0,_0x75b425,_0x578674)=>{const _0x290e3e=_0x51d908;for(var _0x182c49=_0x578674>0x1?void 0x0:_0x578674?_0x3c84dc(_0x2d5ea0,_0x75b425):_0x2d5ea0,_0x46aa41=_0xb613ca[_0x290e3e(0x3e5)]-0x1,_0x748303;_0x46aa41>=0x0;_0x46aa41--)(_0x748303=_0xb613ca[_0x46aa41])&&(_0x182c49=_0x748303(_0x182c49)||_0x182c49);return _0x182c49;},_0x3ac6a5=(_0x2f07e0,_0x4acf8e)=>(_0x4a8479,_0x8e2491)=>_0x4acf8e(_0x4a8479,_0x8e2491,_0x2f07e0);_0x7f96f7[_0x51d908(0x4ca)]=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2c53dc,_0x4538cb,_0xa99b80,_0x352380,_0x41f7ca){const _0x28a91c=_0x51d908;super(),this[_0x28a91c(0x40d)]=_0x2c53dc,this['_logService']=_0x4538cb,this['_commandService']=_0xa99b80,this['_dataLoaderService']=_0x352380,_0x41f7ca?_0x41f7ca==null||_0x41f7ca[_0x28a91c(0x3fd)]()[_0x28a91c(0x2ec)](()=>this[_0x28a91c(0x336)]()):(this[_0x28a91c(0x27c)][_0x28a91c(0x3c9)](_0x28a91c(0x1f6),_0x28a91c(0x34f)),this[_0x28a91c(0x336)]());}async[_0x51d908(0x336)](){const _0x3a462e=_0x51d908,_0x5aae74=this['_urlService'][_0x3a462e(0x2c3)](_0x3a462e(0x267)),_0x3030ce=this[_0x3a462e(0x40d)][_0x3a462e(0x2c3)](_0x3a462e(0x4b1)),_0x4dd1ed=this['_urlService'][_0x3a462e(0x2c3)]('subunit');if(!_0x5aae74||!_0x3030ce){this['_logService'][_0x3a462e(0x3c9)](_0x3a462e(0x1f6),_0x3a462e(0x3c6));return;}const _0x3bda1d=await this[_0x3a462e(0x469)]['loadUnit'](_0x5aae74,Number(_0x3030ce),_0x4dd1ed);_0x3bda1d&&_0x3bda1d instanceof _0xee8662[_0x3a462e(0x253)]&&this['_setupSubUnitSync'](_0x3bda1d);}async[_0x51d908(0x4c1)](_0x5ed162){const _0x2fc6dd=_0x51d908;await this[_0x2fc6dd(0x3e1)](_0x5ed162),_0x5ed162[_0x2fc6dd(0x4cf)][_0x2fc6dd(0x2ba)](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))['subscribe'](_0x10ff77=>{const _0x22e378=_0x2fc6dd;_0x10ff77&&this[_0x22e378(0x361)](_0x10ff77);}),this['_urlService'][_0x2fc6dd(0x2f4)]['pipe'](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))[_0x2fc6dd(0x329)](()=>this['_updateSubUnitFromURLParams'](_0x5ed162));}['_updateURLWithCurrentState'](_0x43e43,_0x2103fa=!0x1){const _0x3cd259=_0x51d908,_0x547448=this[_0x3cd259(0x40d)][_0x3cd259(0x2c3)](_0x3cd259(0x461));_0x43e43[_0x3cd259(0x451)]()!==_0x547448&&this['_urlService'][_0x3cd259(0x413)](_0x3cd259(0x461),_0x43e43[_0x3cd259(0x451)](),_0x2103fa);}async[_0x51d908(0x3e1)](_0x269afc){const _0xe850bf=_0x51d908;var _0x1fba28;const _0x454d5e=this['_urlService'][_0xe850bf(0x2c3)](_0xe850bf(0x461));if(!_0x454d5e||!_0x269afc[_0xe850bf(0x3a6)](_0x454d5e)){const _0x424250=_0x269afc[_0xe850bf(0x279)]()[0x0],_0x2f407c=_0x269afc[_0xe850bf(0x3a6)](_0x424250);if(!_0x2f407c)return;this[_0xe850bf(0x361)](_0x2f407c,!0x0),await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x424250});return;}((_0x1fba28=_0x269afc[_0xe850bf(0x23c)]())==null?void 0x0:_0x1fba28[_0xe850bf(0x451)]())!==_0x454d5e&&await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x454d5e});}},_0x7f96f7[_0x51d908(0x4ca)]=_0x51ebe6([_0x3ac6a5(0x0,_0x188e9b),_0x3ac6a5(0x1,_0xee8662[_0x51d908(0x4b0)]),_0x3ac6a5(0x2,_0xee8662[_0x51d908(0x2a9)]),_0x3ac6a5(0x3,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x33b)])),_0x3ac6a5(0x4,_0xee8662[_0x51d908(0x3bf)](_0x969f37[_0x51d908(0x301)]))],_0x7f96f7[_0x51d908(0x4ca)]);var _0x408d39=Object['getOwnPropertyDescriptor'],_0x43d4ce=(_0x3ae927,_0xd43520,_0x2ff21a,_0x5a5ca6)=>{const _0x4b5a6a=_0x51d908;for(var _0x1b62bd=_0x5a5ca6>0x1?void 0x0:_0x5a5ca6?_0x408d39(_0xd43520,_0x2ff21a):_0xd43520,_0x17235f=_0x3ae927[_0x4b5a6a(0x3e5)]-0x1,_0x80d9d8;_0x17235f>=0x0;_0x17235f--)(_0x80d9d8=_0x3ae927[_0x17235f])&&(_0x1b62bd=_0x80d9d8(_0x1b62bd)||_0x1b62bd);return _0x1b62bd;},_0x4a3e9b=(_0x2401df,_0x36e5ab)=>(_0x3de60a,_0x288c52)=>_0x36e5ab(_0x3de60a,_0x288c52,_0x2401df);let _0x124e21=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x191454,_0x60f656){const _0x3bf8b1=_0x51d908;super(),this[_0x3bf8b1(0x45c)]=_0x191454,this[_0x3bf8b1(0x37f)]=_0x60f656,this['_init']();}[_0x51d908(0x336)](){const _0x1d4d3c=_0x51d908,_0x588965=this;this[_0x1d4d3c(0x45a)](this[_0x1d4d3c(0x45c)]['addClipboardHook']({'onBeforePasteImage':async _0x245d36=>{const _0x4b681a=_0x1d4d3c,_0x2f759f=await _0x588965['_imageIoService'][_0x4b681a(0x486)](_0x245d36);return _0x2f759f?{'source':_0x2f759f[_0x4b681a(0x2a6)],'imageSourceType':_0x2f759f[_0x4b681a(0x3ce)]}:null;}}));}};_0x124e21=_0x43d4ce([_0x4a3e9b(0x0,_0x42f82b[_0x51d908(0x209)]),_0x4a3e9b(0x1,_0x2ac31a[_0x51d908(0x285)])],_0x124e21);const _0x4a51d0=[_0x51d908(0x43c),'jiqing.500',_0x51d908(0x495),_0x51d908(0x25d),_0x51d908(0x22c),'yellow.400'];class _0x280e8f extends _0xee8662[_0x51d908(0x4c2)]{constructor(){const _0x460afb=_0x51d908;super(...arguments),_0x3dad76(this,_0x460afb(0x324),new Map()),_0x3dad76(this,'_colorIndex',0x0);}[_0x51d908(0x3db)](_0x1aa977){const _0x321677=_0x51d908;if(this[_0x321677(0x324)][_0x321677(0x398)](_0x1aa977))return this[_0x321677(0x324)][_0x321677(0x2ea)](_0x1aa977);const _0x228992=_0x4a51d0[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x4a51d0['length'],this[_0x321677(0x324)][_0x321677(0x4c5)](_0x1aa977,_0x228992),_0x228992;}}function _0xe96057(_0x4c1d61){let _0xb17285='';for(const _0x917d5 of _0x4c1d61){const {startOffset:_0x524f70,endOffset:_0x4a389b,isActive:_0x4a0fb4,rangeType:_0xdc3cf8,segmentId:_0x217374,segmentPage:_0x4a969a}=_0x917d5;_0xb17285['length']&&(_0xb17285+=','),_0xb17285+=_0x524f70+':'+_0x4a389b+':'+(_0x4a0fb4?'1':'0')+':'+_0xdc3cf8+':'+_0x217374+':'+_0x4a969a;}return _0xb17285;}function _0x60d07a(_0x46c53c){const _0x3264fc=_0x51d908,_0x42d3b5=_0x46c53c[_0x3264fc(0x354)](','),_0x3c13dc=[];for(const _0x40a4a5 of _0x42d3b5){const [_0x20dd91,_0x7a161f,_0x7e5f33,_0x3ddb14,_0x506974,_0xa88b2b]=_0x40a4a5['split'](':');_0x3c13dc[_0x3264fc(0x29f)]({'startOffset':Number(_0x20dd91),'endOffset':Number(_0x7a161f),'collapsed':_0x20dd91===_0x7a161f,'isActive':_0x7e5f33==='1','rangeType':_0x3ddb14===_0xee8662[_0x3264fc(0x417)][_0x3264fc(0x46f)]?_0xee8662[_0x3264fc(0x417)]['TEXT']:_0xee8662['DOC_RANGE_TYPE'][_0x3264fc(0x238)],'segmentId':typeof _0x506974==_0x3264fc(0x255)?String(_0x506974):'','segmentPage':Number(_0xa88b2b!=null?_0xa88b2b:-0x1)});}return _0x3c13dc[_0x3264fc(0x32b)](_0x22e9ac=>_0x22e9ac['isActive'])||(_0x3c13dc[0x0][_0x3264fc(0x474)]=!0x0),_0x3c13dc;}class _0x3808c8 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x4f5d74=_0x51d908;super(...arguments),_0x3dad76(this,'_collabCursorState$',new _0x3b7fba['BehaviorSubject'](null)),_0x3dad76(this,'collabCursorState$',this['_collabCursorState$'][_0x4f5d74(0x428)]());}[_0x51d908(0x3e3)](_0x2e37c8){const _0x288aa7=_0x51d908,{unitID:_0x548912,memberID:_0x305baa,textRanges:_0x2f298f}=_0x2e37c8,_0x5e34c5=_0xe96057(_0x2f298f);if(_0x5e34c5==='')return;const _0x3ae71e={'unitID':_0x548912,'memberID':_0x305baa,'selection':_0x5e34c5};this['_collabCursorState$'][_0x288aa7(0x2e1)](_0x3ae71e);}}var _0x1cfbd0=Object[_0x51d908(0x34e)],_0x51a210=(_0x2284d4,_0xae39ee,_0x24b9ba,_0x5033af)=>{const _0x547f74=_0x51d908;for(var _0x2684cf=_0x5033af>0x1?void 0x0:_0x5033af?_0x1cfbd0(_0xae39ee,_0x24b9ba):_0xae39ee,_0x1764c5=_0x2284d4[_0x547f74(0x3e5)]-0x1,_0x1fec35;_0x1764c5>=0x0;_0x1764c5--)(_0x1fec35=_0x2284d4[_0x1764c5])&&(_0x2684cf=_0x1fec35(_0x2684cf)||_0x2684cf);return _0x2684cf;},_0xc73734=(_0x2a65fa,_0x4bd01a)=>(_0x869807,_0x2d5a1e)=>_0x4bd01a(_0x869807,_0x2d5a1e,_0x2a65fa);const _0x5b6e41=0x12c,_0x52b387=0x64;let _0x20ff4c=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0xd405e,_0x1b6761,_0xe3d5a8,_0x7b052a,_0x155b28,_0x2f5ee5,_0xd5c925,_0x50c252,_0x553216){const _0x788daf=_0x51d908;super(),_0x3dad76(this,'_online',!0x1),_0x3dad76(this,_0x788daf(0x336),!0x1),_0x3dad76(this,_0x788daf(0x43d),new _0x3b7fba[(_0x788daf(0x45d))](new Map())),_0x3dad76(this,_0x788daf(0x485),this['_cursorInfo$'][_0x788daf(0x428)]()),_0x3dad76(this,_0x788daf(0x2a8),new _0x3b7fba[(_0x788daf(0x45d))]([])),_0x3dad76(this,_0x788daf(0x2ac),this['_roomMembers$'][_0x788daf(0x2ba)](_0x3b7fba[_0x788daf(0x4cd)](_0x5b6e41))),_0x3dad76(this,'_updateLocalCursor',_0xee8662[_0x788daf(0x222)](_0x4301b5=>{const _0x1a6549=_0x788daf,_0x4b0e92={'eventID':_0x597660[_0x1a6549(0x331)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1a6549(0x436)],'memberID':this[_0x1a6549(0x29c)][_0x1a6549(0x23a)](),'selection':_0xe96057(_0x4301b5)}};this[_0x1a6549(0x29c)][_0x1a6549(0x320)](_0x4b0e92,this[_0x1a6549(0x436)]);},_0x52b387)),(this[_0x788daf(0x436)]=_0xd405e,this['_session']=_0x1b6761,this[_0x788daf(0x3e2)]=_0xe3d5a8,this[_0x788daf(0x3c7)]=_0x7b052a,this['_memberService']=_0x155b28,this[_0x788daf(0x230)]=_0x2f5ee5,this[_0x788daf(0x2bb)]=_0xd5c925,this['_univerInstanceService']=_0x50c252,this['_commandService']=_0x553216);}get[_0x51d908(0x463)](){const _0x5b8254=_0x51d908;return this[_0x5b8254(0x43d)]['getValue']();}get['roomMembers'](){const _0x4f90fc=_0x51d908;return this[_0x4f90fc(0x2a8)][_0x4f90fc(0x319)]();}['dispose'](){const _0x400444=_0x51d908;super['dispose'](),this[_0x400444(0x43d)][_0x400444(0x2e1)](new Map()),this[_0x400444(0x43d)]['complete'](),this[_0x400444(0x2a8)][_0x400444(0x2e1)]([]),this[_0x400444(0x2a8)][_0x400444(0x24e)]();}[_0x51d908(0x268)](){const _0x270d49=_0x51d908;this[_0x270d49(0x336)]||(this[_0x270d49(0x336)]=!0x0,this[_0x270d49(0x29c)][_0x270d49(0x39d)][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x582adc=>{const _0x48e821=_0x270d49;_0x582adc===_0x34c9b1[_0x48e821(0x1ef)][_0x48e821(0x404)]?this[_0x48e821(0x249)]():this[_0x48e821(0x309)]();}),this[_0x270d49(0x29c)]['event$'][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x5d4bdd=>{const _0x5cddeb=_0x270d49,_0x5a3d3a=_0x5d4bdd[_0x5cddeb(0x472)];_0x5a3d3a===_0x597660['CollaborationEvent'][_0x5cddeb(0x4a5)]&&this[_0x5cddeb(0x4c3)](_0x5d4bdd),_0x5a3d3a===_0x597660[_0x5cddeb(0x331)]['USERS_LEAVE']&&this[_0x5cddeb(0x422)](_0x5d4bdd);}),this['disposeWithMe'](this['_commandService'][_0x270d49(0x4c8)](_0x183960=>{const _0x16a0ea=_0x270d49,_0x5ef113=_0x183960[_0x16a0ea(0x41e)];_0x5ef113!=null&&this[_0x16a0ea(0x431)]&&_0x183960['id']===_0xf806a0[_0x16a0ea(0x357)]['id']&&_0x5ef113[_0x16a0ea(0x27a)]===this[_0x16a0ea(0x436)]&&_0x5ef113['isEditing']===!0x1&&_0x5ef113[_0x16a0ea(0x48d)][_0x16a0ea(0x3e5)]>0x0&&this[_0x16a0ea(0x2fd)](_0x5ef113[_0x16a0ea(0x48d)]);})),this[_0x270d49(0x230)]['collabCursorState$'][_0x270d49(0x2ba)](_0x3b7fba['takeUntil'](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0xd7e830=>{const _0x22e8cf=_0x270d49;if((_0xd7e830==null?void 0x0:_0xd7e830[_0x22e8cf(0x436)])!==this[_0x22e8cf(0x436)])return;const _0xe53483={'eventID':_0x597660[_0x22e8cf(0x331)][_0x22e8cf(0x4a5)],'data':_0xd7e830};this[_0x22e8cf(0x4c3)](_0xe53483);}),this[_0x270d49(0x45a)](this[_0x270d49(0x4b6)][_0x270d49(0x4c8)](_0x1d5972=>{const _0x16c5f4=_0x270d49;if(_0x1d5972['params']==null)return;const _0x52fecd=_0x1d5972[_0x16c5f4(0x41e)];if(_0x1d5972['id']!==_0xf806a0[_0x16c5f4(0x416)]['id']||_0x52fecd[_0x16c5f4(0x27a)]!==this[_0x16c5f4(0x436)])return;const _0x1294f4={'id':_0x16c5f4(0x333),'params':_0x52fecd},_0x5508f3=this[_0x16c5f4(0x463)];for(const [_0x722ad8,_0x4190b8]of _0x5508f3){const _0x3b1468={'id':_0x16c5f4(0x333),'params':{'unitId':this[_0x16c5f4(0x436)],'actions':null,'textRanges':_0x4190b8[_0x16c5f4(0x48d)]}},_0x23a22a=this[_0x16c5f4(0x2bb)][_0x16c5f4(0x311)](_0x1294f4,_0x3b1468,!0x1);if(_0x597660[_0x16c5f4(0x338)](_0x23a22a))throw _0x23a22a[_0x16c5f4(0x1f8)];_0x5508f3['set'](_0x722ad8,{..._0x4190b8,'ranges':_0x23a22a[_0x16c5f4(0x41d)][_0x16c5f4(0x41e)][_0x16c5f4(0x3cd)]});}queueMicrotask(()=>{const _0x2483a8=_0x16c5f4;this[_0x2483a8(0x43d)][_0x2483a8(0x2e1)](_0x5508f3);});})));}['_onCursorUpdate'](_0x479f42){const _0x20b6c6=_0x51d908;var _0x1560b0,_0x40377c;const {memberID:_0x1061b1,selection:_0x139711}=_0x479f42[_0x20b6c6(0x3f0)],_0x5474aa=_0x60d07a(_0x139711),_0x2f6cac=(_0x40377c=(_0x1560b0=this[_0x20b6c6(0x4d0)]['getMember'](this[_0x20b6c6(0x436)],_0x1061b1))==null?void 0x0:_0x1560b0[_0x20b6c6(0x2c7)])!=null?_0x40377c:'Unknown\x20user',_0x59ad0f={'color':this[_0x20b6c6(0x3c7)][_0x20b6c6(0x3db)](_0x1061b1),'name':_0x2f6cac,'ranges':_0x5474aa},_0x320cad=this[_0x20b6c6(0x463)];_0x320cad[_0x20b6c6(0x4c5)](_0x1061b1,_0x59ad0f),this[_0x20b6c6(0x43d)][_0x20b6c6(0x2e1)](_0x320cad);}[_0x51d908(0x422)](_0x579c5d){const _0x41121d=_0x51d908,{memberID:_0x4316b8}=_0x579c5d['data'],_0xbe5bfd=this['cursorInfo'];_0xbe5bfd['delete'](_0x4316b8),this[_0x41121d(0x43d)][_0x41121d(0x2e1)](_0xbe5bfd);}[_0x51d908(0x249)](){const _0xa70958=_0x51d908;var _0x1d96c7;if(this[_0xa70958(0x431)]=!0x0,((_0x1d96c7=this['_univerInstanceService'][_0xa70958(0x247)]())==null?void 0x0:_0x1d96c7[_0xa70958(0x3d9)]())!==this[_0xa70958(0x436)])return;const _0x55f7e7=this['_injector'][_0xa70958(0x2ea)](_0xf806a0['DocSelectionManagerService'])['getDocRanges']();Array[_0xa70958(0x1ee)](_0x55f7e7)&&_0x55f7e7[_0xa70958(0x3e5)]>0x0&&this[_0xa70958(0x2fd)](_0x55f7e7);}[_0x51d908(0x309)](){const _0x1e5b3c=_0x51d908;this[_0x1e5b3c(0x431)]=!0x1;}};_0x20ff4c=_0x51a210([_0xc73734(0x2,_0xee8662['Inject'](_0xee8662['Injector'])),_0xc73734(0x3,_0xee8662['Inject'](_0x280e8f)),_0xc73734(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1['MemberService'])),_0xc73734(0x5,_0xee8662['Inject'](_0x3808c8)),_0xc73734(0x6,_0x597660[_0x51d908(0x2ed)]),_0xc73734(0x7,_0xee8662[_0x51d908(0x3b1)]),_0xc73734(0x8,_0xee8662[_0x51d908(0x2a9)])],_0x20ff4c);var _0x143b3a=Object['getOwnPropertyDescriptor'],_0x4e8511=(_0x266a6e,_0x1be96b,_0x349241,_0x55ba8e)=>{const _0x1f5876=_0x51d908;for(var _0x4be22b=_0x55ba8e>0x1?void 0x0:_0x55ba8e?_0x143b3a(_0x1be96b,_0x349241):_0x1be96b,_0x19cbfd=_0x266a6e[_0x1f5876(0x3e5)]-0x1,_0x267ea3;_0x19cbfd>=0x0;_0x19cbfd--)(_0x267ea3=_0x266a6e[_0x19cbfd])&&(_0x4be22b=_0x267ea3(_0x4be22b)||_0x4be22b);return _0x4be22b;},_0x21faeb=(_0x2f21f1,_0x5acc24)=>(_0x14982c,_0x66d213)=>_0x5acc24(_0x14982c,_0x66d213,_0x2f21f1);const _0x3931d9=0x12c,_0x3024e4=0x64,_0x21b005=()=>{let _0x890c8=[],_0x236882=!0x1;return _0x3132b1=>{const _0x5ade21=_0x2c0f;_0x890c8[_0x5ade21(0x29f)](_0x3132b1),_0x236882||(_0x236882=!0x0,setTimeout(()=>{const _0x1a2de0=_0x5ade21;_0x890c8[_0x1a2de0(0x204)](_0x302c0b=>_0x302c0b()),_0x890c8=[],_0x236882=!0x1;}));};};let _0x2216dc=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x201aa6,_0x2f4cd9,_0x561f5d,_0x38b339,_0xf78053,_0x24646c,_0x207a7d,_0x1537c0){const _0x4f939e=_0x51d908;super(),_0x3dad76(this,_0x4f939e(0x431),!0x1),_0x3dad76(this,'_init',!0x1),_0x3dad76(this,_0x4f939e(0x43d),new _0x3b7fba[(_0x4f939e(0x45d))](new Map())),_0x3dad76(this,_0x4f939e(0x485),this[_0x4f939e(0x43d)]['asObservable']()),_0x3dad76(this,_0x4f939e(0x2a8),new _0x3b7fba['BehaviorSubject']([])),_0x3dad76(this,_0x4f939e(0x2ac),this[_0x4f939e(0x2a8)][_0x4f939e(0x2ba)](_0x3b7fba[_0x4f939e(0x4cd)](_0x3931d9))),_0x3dad76(this,_0x4f939e(0x2fd),_0xee8662['debounce']((_0x19d75e,_0x43645f)=>{const _0x3a1c08=_0x4f939e,_0x218464={'eventID':_0x597660['CollaborationEvent'][_0x3a1c08(0x4a5)],'data':{'unitID':this[_0x3a1c08(0x436)],'memberID':this[_0x3a1c08(0x29c)][_0x3a1c08(0x23a)](),'selection':_0x150340[_0x3a1c08(0x302)](_0x19d75e,_0x43645f[_0x3a1c08(0x24b)])}};this['_session'][_0x3a1c08(0x320)](_0x218464,this[_0x3a1c08(0x436)]);},_0x3024e4)),(this[_0x4f939e(0x436)]=_0x201aa6,this[_0x4f939e(0x29c)]=_0x2f4cd9,this[_0x4f939e(0x3e2)]=_0x561f5d,this[_0x4f939e(0x3c7)]=_0x38b339,this[_0x4f939e(0x4d0)]=_0xf78053,this[_0x4f939e(0x4c6)]=_0x24646c,this[_0x4f939e(0x4b6)]=_0x207a7d,this[_0x4f939e(0x2a1)]=_0x1537c0);}get[_0x51d908(0x463)](){const _0x2d498b=_0x51d908;return this[_0x2d498b(0x43d)]['getValue']();}get['roomMembers'](){const _0xea77a5=_0x51d908;return this[_0xea77a5(0x2a8)][_0xea77a5(0x319)]();}[_0x51d908(0x32d)](){const _0x4ad982=_0x51d908;super[_0x4ad982(0x32d)](),this[_0x4ad982(0x43d)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x4ad982(0x2a8)][_0x4ad982(0x24e)]();}[_0x51d908(0x268)](){const _0x1ec847=_0x51d908;this[_0x1ec847(0x336)]||(this[_0x1ec847(0x336)]=!0x0,this[_0x1ec847(0x29c)][_0x1ec847(0x39d)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x553d72=>{const _0x59e287=_0x1ec847;_0x553d72===_0x34c9b1[_0x59e287(0x1ef)]['ONLINE']?this[_0x59e287(0x249)]():this[_0x59e287(0x309)]();}),this[_0x1ec847(0x29c)][_0x1ec847(0x345)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x498b52=>{const _0x27f139=_0x1ec847,_0xa4ac51=_0x498b52[_0x27f139(0x472)];_0xa4ac51===_0x597660[_0x27f139(0x331)]['UPDATE_CURSOR']&&this[_0x27f139(0x4c3)](_0x498b52),_0xa4ac51===_0x597660['CollaborationEvent'][_0x27f139(0x3b9)]&&this['_onCursorDelete'](_0x498b52);}),this['_onRefRangeChange'](),this[_0x1ec847(0x45a)](this['_commandService'][_0x1ec847(0x4c8)](_0x321f12=>{const _0x317b66=_0x1ec847;if(this[_0x317b66(0x431)]&&_0x321f12['id']===_0x3dd5c8[_0x317b66(0x491)]['id']&&_0x321f12[_0x317b66(0x41e)][_0x317b66(0x27a)]===this[_0x317b66(0x436)]){const _0x3e6621=_0x321f12[_0x317b66(0x41e)];this[_0x317b66(0x2fd)](_0x3e6621['subUnitId'],_0x3e6621[_0x317b66(0x290)][0x0]);}})));}[_0x51d908(0x4c3)](_0x6223d7){const _0x45be00=_0x51d908;var _0x375b6c,_0x3d573a;const {memberID:_0x42aa5e,selection:_0x3d0725}=_0x6223d7[_0x45be00(0x3f0)],{sheetName:_0x36949c,range:_0x1d796a}=_0x150340[_0x45be00(0x313)](_0x3d0725),_0x29bbb7={'name':(_0x3d573a=(_0x375b6c=this[_0x45be00(0x4d0)][_0x45be00(0x214)](this[_0x45be00(0x436)],_0x42aa5e))==null?void 0x0:_0x375b6c[_0x45be00(0x2c7)])!=null?_0x3d573a:'Unknown\x20user','range':this[_0x45be00(0x35f)](_0x36949c,_0x1d796a),'sheetID':_0x36949c,'color':this[_0x45be00(0x3c7)][_0x45be00(0x3db)](_0x42aa5e),'selection':_0x3d0725},_0x2a645b=this[_0x45be00(0x463)];_0x2a645b[_0x45be00(0x4c5)](_0x42aa5e,_0x29bbb7),this[_0x45be00(0x43d)][_0x45be00(0x2e1)](_0x2a645b);}['_onCursorDelete'](_0x2244e5){const _0x48996e=_0x51d908,{memberID:_0x90e38f}=_0x2244e5[_0x48996e(0x3f0)],_0x28c764=this[_0x48996e(0x463)];_0x28c764[_0x48996e(0x3fe)](_0x90e38f),this[_0x48996e(0x43d)][_0x48996e(0x2e1)](_0x28c764);}['_getMergeRange'](_0x2ff337,_0x2da7e2){const _0x3eeb8f=_0x51d908;var _0x3b0918,_0x96acf8;const _0x4844fc=(_0x96acf8=(_0x3b0918=this[_0x3eeb8f(0x4c6)][_0x3eeb8f(0x205)](this[_0x3eeb8f(0x436)]))==null?void 0x0:_0x3b0918['getSheetBySheetId'](_0x2ff337))==null?void 0x0:_0x96acf8[_0x3eeb8f(0x376)]();return(_0x4844fc==null?void 0x0:_0x4844fc[_0x3eeb8f(0x33c)](_0x56804f=>_0xee8662[_0x3eeb8f(0x494)][_0x3eeb8f(0x239)](_0x56804f,_0x2da7e2)))||_0x2da7e2;}[_0x51d908(0x31f)](){const _0x16bc5e=_0x51d908,_0x367078=new _0xee8662['DisposableCollection'](),_0x1df0df=_0x21b005(),_0x5965df=()=>{const _0x5cb64a=_0x2c0f;_0x367078[_0x5cb64a(0x32d)]();const _0x50ff5b=(_0x40789f,_0x25d7c2,_0x431b3b,_0x43b228)=>{const _0x43d28c=_0x5cb64a;let _0x211a2d=[];switch(_0x40789f['id']){case _0x3dd5c8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x2b9)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['DeleteRangeMoveUpCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x34b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId']['InsertColCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x237)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x2df)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x42b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x4b4)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x4a1)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['InsertRowCommandId']:{_0x211a2d=_0x3dd5c8['handleInsertRow'](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x493)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x233)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x3e7)]:{_0x211a2d=_0x3dd5c8['handleIRemoveCol'](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x295)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x40a)](_0x40789f,_0x43b228);break;}}const _0x18a73c=_0x3dd5c8[_0x43d28c(0x34c)](_0x211a2d,_0x43b228),_0x1cc925=this[_0x43d28c(0x463)][_0x43d28c(0x2ea)](_0x25d7c2);if(_0x1cc925&&_0x18a73c){const _0x3a4ad8={..._0x1cc925,'range':_0x18a73c};this[_0x43d28c(0x463)][_0x43d28c(0x4c5)](_0x25d7c2,_0x3a4ad8),_0x1df0df(()=>{const _0x3f0e3d=_0x43d28c,_0x257d8d=this[_0x3f0e3d(0x2a1)][_0x3f0e3d(0x248)](_0x18a73c,_0x3d80ef=>(_0x257d8d['dispose'](),_0x50ff5b(_0x3d80ef,_0x25d7c2,_0x431b3b,_0x18a73c)));_0x367078['add'](_0x257d8d);});}return{'redos':[],'undos':[]};};this[_0x5cb64a(0x463)][_0x5cb64a(0x204)]((_0x393b49,_0x557383)=>{const _0x432aae=_0x5cb64a,{range:_0x17df1d,sheetID:_0x28a7ef}=_0x393b49,_0x204d32=this[_0x432aae(0x2a1)][_0x432aae(0x248)](_0x17df1d,_0x295ea8=>(_0x204d32[_0x432aae(0x32d)](),_0x50ff5b(_0x295ea8,_0x557383,_0x28a7ef,_0x17df1d)));_0x367078[_0x432aae(0x3b7)](_0x204d32);});};this[_0x16bc5e(0x45a)](_0xee8662[_0x16bc5e(0x211)](this[_0x16bc5e(0x43d)][_0x16bc5e(0x329)](()=>{_0x5965df();})));}[_0x51d908(0x249)](){const _0x787681=_0x51d908;var _0x7cbd19,_0x4c4788;if(this[_0x787681(0x431)]=!0x0,((_0x7cbd19=this[_0x787681(0x4c6)][_0x787681(0x247)]())==null?void 0x0:_0x7cbd19['getUnitId']())!==this['unitID'])return;const _0x2c5e8f=(_0x4c4788=this['_injector'][_0x787681(0x2ea)](_0x3dd5c8['SheetsSelectionsService'])[_0x787681(0x3bd)]())==null?void 0x0:_0x4c4788[0x0],_0x11f737=this[_0x787681(0x4c6)]['getCurrentUnitForType'](_0xee8662[_0x787681(0x47c)][_0x787681(0x1eb)])[_0x787681(0x23c)]();_0x2c5e8f&&_0x11f737&&this[_0x787681(0x2fd)](_0x11f737['getSheetId'](),_0x2c5e8f);}['_toggleOffline'](){const _0x419c8d=_0x51d908;this[_0x419c8d(0x431)]=!0x1;}};_0x2216dc=_0x4e8511([_0x21faeb(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21faeb(0x3,_0xee8662[_0x51d908(0x35b)](_0x280e8f)),_0x21faeb(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x2d9)])),_0x21faeb(0x5,_0xee8662[_0x51d908(0x3b1)]),_0x21faeb(0x6,_0xee8662[_0x51d908(0x2a9)]),_0x21faeb(0x7,_0xee8662[_0x51d908(0x35b)](_0x3dd5c8['RefRangeService']))],_0x2216dc);var _0x5dc663=Object['getOwnPropertyDescriptor'],_0x2e3cc7=(_0x210bb8,_0x160fad,_0x3e74ba,_0x478a85)=>{const _0x5d060c=_0x51d908;for(var _0x1cbfaa=_0x478a85>0x1?void 0x0:_0x478a85?_0x5dc663(_0x160fad,_0x3e74ba):_0x160fad,_0x204cb2=_0x210bb8[_0x5d060c(0x3e5)]-0x1,_0x2b80ed;_0x204cb2>=0x0;_0x204cb2--)(_0x2b80ed=_0x210bb8[_0x204cb2])&&(_0x1cbfaa=_0x2b80ed(_0x1cbfaa)||_0x1cbfaa);return _0x1cbfaa;},_0x21d541=(_0x55d411,_0x16858b)=>(_0x5184ac,_0x2f18a5)=>_0x16858b(_0x5184ac,_0x2f18a5,_0x55d411);let _0x16e293=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x3eca71,_0x397019,_0x28949e){const _0x153fd3=_0x51d908;super(),_0x3dad76(this,_0x153fd3(0x455),new Map()),_0x3dad76(this,'_entityInit$',new _0x3b7fba[(_0x153fd3(0x498))]()),(this['_univerInstanceService']=_0x3eca71,this['_injector']=_0x397019,this['_collabSessionService']=_0x28949e,this[_0x153fd3(0x336)]());}[_0x51d908(0x32d)](){const _0x28464b=_0x51d908;super[_0x28464b(0x32d)](),this[_0x28464b(0x366)]['complete'](),this[_0x28464b(0x455)][_0x28464b(0x204)](_0x486692=>_0x486692[_0x28464b(0x32d)]());}[_0x51d908(0x420)](_0x9d01b){const _0x3639dc=_0x51d908;return this['_entities'][_0x3639dc(0x398)](_0x9d01b)?this[_0x3639dc(0x455)][_0x3639dc(0x2ea)](_0x9d01b)[_0x3639dc(0x485)]:this[_0x3639dc(0x366)][_0x3639dc(0x2ba)](_0x3b7fba[_0x3639dc(0x202)](_0x123d76=>_0x123d76[_0x3639dc(0x436)]===_0x9d01b),_0x3b7fba[_0x3639dc(0x40f)](_0x192660=>_0x192660[_0x3639dc(0x485)]));}[_0x51d908(0x336)](){const _0x2ee84d=_0x51d908;this[_0x2ee84d(0x4c6)][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)])[_0x2ee84d(0x2ba)](_0x3b7fba[_0x2ee84d(0x2a7)](this[_0x2ee84d(0x3b5)]))['subscribe'](async _0x13148a=>{const _0x38470c=_0x2ee84d,_0x43c165=_0x13148a[_0x38470c(0x3d9)](),_0x13d225=await this[_0x38470c(0x27b)](_0x43c165);this['_entityInit$']['next'](_0x13d225),this[_0x38470c(0x455)][_0x38470c(0x4c5)](_0x43c165,_0x13d225);}),this['_univerInstanceService'][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)])['pipe'](_0x3b7fba[_0x2ee84d(0x2a7)](this['dispose$']))[_0x2ee84d(0x2ba)](_0x3b7fba['filter'](_0x2e1d4c=>!_0x2e1d4c[_0x2ee84d(0x3d9)]()['startsWith']('__')))[_0x2ee84d(0x329)](async _0x26a2a9=>{const _0x361363=_0x2ee84d,_0x5121a1=_0x26a2a9[_0x361363(0x3d9)](),_0x28c3f9=await this[_0x361363(0x318)](_0x5121a1);this[_0x361363(0x366)][_0x361363(0x2e1)](_0x28c3f9),this[_0x361363(0x455)][_0x361363(0x4c5)](_0x5121a1,_0x28c3f9);}),_0x3b7fba[_0x2ee84d(0x378)](this['_univerInstanceService'][_0x2ee84d(0x213)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)]),this[_0x2ee84d(0x4c6)]['getTypeOfUnitDisposed$'](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)]))[_0x2ee84d(0x2ba)](_0x3b7fba['takeUntil'](this['dispose$']))[_0x2ee84d(0x329)](_0x23b142=>{const _0x4669e2=_0x2ee84d,_0x26c9bf=_0x23b142[_0x4669e2(0x3d9)](),_0x473e30=this[_0x4669e2(0x455)][_0x4669e2(0x2ea)](_0x26c9bf);_0x473e30&&(_0x473e30['dispose'](),this[_0x4669e2(0x455)][_0x4669e2(0x3fe)](_0x26c9bf));});}async[_0x51d908(0x27b)](_0x36af25){const _0x326689=_0x51d908,_0x1b1fbc=await this[_0x326689(0x328)][_0x326689(0x2a4)](_0x36af25),_0x17918f=this[_0x326689(0x3e2)]['createInstance'](_0x2216dc,_0x36af25,_0x1b1fbc);return _0x17918f[_0x326689(0x268)](),_0x17918f;}async[_0x51d908(0x318)](_0x5874b5){const _0x158448=_0x51d908,_0x48960d=await this[_0x158448(0x328)]['requireSession'](_0x5874b5),_0x5c4380=this[_0x158448(0x3e2)][_0x158448(0x21b)](_0x20ff4c,_0x5874b5,_0x48960d);return _0x5c4380[_0x158448(0x268)](),_0x5c4380;}};_0x16e293=_0x2e3cc7([_0x21d541(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x21d541(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21d541(0x2,_0xee8662['Inject'](_0x34c9b1['CollaborationSessionService']))],_0x16e293);const _0x3dbef6=0x14,_0x16ae9a=0xc8,_0x1dc4a9=0x4,_0x2ae551=0x5;function _0x539c83(_0x54a6f4,_0x1ef7b6){const _0x2cfadc=_0x51d908;let {radius:_0xb5db2d,width:_0x2a1d16,height:_0x33c2db}=_0x1ef7b6;_0xb5db2d=_0xb5db2d!=null?_0xb5db2d:0x0,_0x2a1d16=_0x2a1d16!=null?_0x2a1d16:0x1e,_0x33c2db=_0x33c2db!=null?_0x33c2db:0x1e;let _0x500941=0x0,_0x55cc91=0x0,_0x540b85=0x0;_0x500941=_0x55cc91=_0x540b85=Math[_0x2cfadc(0x2ae)](_0xb5db2d,_0x2a1d16/0x2,_0x33c2db/0x2),_0x54a6f4[_0x2cfadc(0x389)](),_0x54a6f4[_0x2cfadc(0x453)](_0x500941,0x0),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16-_0x55cc91,0x0),_0x54a6f4[_0x2cfadc(0x1e6)](_0x2a1d16-_0x55cc91,_0x55cc91,_0x55cc91,Math['PI']*0x3/0x2,0x0,!0x1),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16,_0x33c2db-_0x540b85),_0x54a6f4['arc'](_0x2a1d16-_0x540b85,_0x33c2db-_0x540b85,_0x540b85,0x0,Math['PI']/0x2,!0x1),_0x54a6f4['lineTo'](0x0,_0x33c2db),_0x54a6f4[_0x2cfadc(0x293)](0x0,_0x500941),_0x54a6f4[_0x2cfadc(0x1e6)](_0x500941,_0x500941,_0x500941,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54a6f4[_0x2cfadc(0x300)](),_0x1ef7b6[_0x2cfadc(0x405)]&&(_0x54a6f4[_0x2cfadc(0x443)](),_0x54a6f4['fillStyle']=_0x1ef7b6[_0x2cfadc(0x405)],_0x1ef7b6[_0x2cfadc(0x384)]===_0x2cfadc(0x478)?_0x54a6f4[_0x2cfadc(0x405)](_0x2cfadc(0x478)):_0x54a6f4[_0x2cfadc(0x405)](),_0x54a6f4[_0x2cfadc(0x2ce)]());}class _0x466339 extends _0x358391[_0x51d908(0x243)]{constructor(_0x3ddb5a,_0x10cc74){const _0x10d021=_0x51d908;super(_0x3ddb5a,_0x10cc74),_0x3dad76(this,_0x10d021(0x3c8)),_0x3dad76(this,'text'),(this[_0x10d021(0x3c8)]=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3c8)],this['text']=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3ec)]);}static[_0x51d908(0x3fa)](_0x4e2421,_0x3026c9){const _0x518e86=_0x51d908,{text:_0x3f615f,color:_0x47e744}=_0x3026c9;_0x4e2421['save'](),_0x4e2421[_0x518e86(0x291)]=_0x518e86(0x33f);const _0x2813c1=_0x4e2421[_0x518e86(0x483)](_0x3f615f)[_0x518e86(0x3ff)],_0x516149=Math[_0x518e86(0x2ae)](_0x2813c1+0x2*_0x1dc4a9,_0x16ae9a);_0x539c83(_0x4e2421,{'height':_0x3dbef6,'radius':0x4,'width':_0x516149,'fill':_0x47e744}),_0x4e2421[_0x518e86(0x348)]=_0x518e86(0x4c7);const _0x563ede=_0x1dc4a9,_0x3630e6=_0x3dbef6-_0x2ae551,_0x46b1ff=_0x16ae9a-0x2*_0x1dc4a9;if(_0x2813c1>_0x46b1ff){let _0x447d6c='',_0x35ff69=0x0;for(const _0x199ff1 of _0x3f615f){const _0x57a751=_0x4e2421[_0x518e86(0x483)](_0x199ff1)[_0x518e86(0x3ff)];if(_0x35ff69+_0x57a751<=_0x46b1ff-_0x4e2421[_0x518e86(0x483)](_0x518e86(0x42e))['width'])_0x447d6c+=_0x199ff1,_0x35ff69+=_0x57a751;else{_0x447d6c+=_0x518e86(0x42e);break;}}_0x4e2421[_0x518e86(0x23d)](_0x447d6c,_0x563ede,_0x3630e6);}else _0x4e2421['fillText'](_0x3f615f,_0x563ede,_0x3630e6);_0x4e2421[_0x518e86(0x2ce)]();}[_0x51d908(0x368)](_0x4b3302){_0x466339['drawWith'](_0x4b3302,this);}}const _0x1b4c82=_0x51d908(0x4a7),_0x27b099=_0x51d908(0x3fc),_0x350465=_0x51d908(0x1ea),_0x1b8c2d=0x6,_0xeef53b=1.5,_0x515aba=0x4,_0x1e2581=1.5,_0x2259dc=_0x51d908(0x490);class _0x43cb6d{constructor(_0x596f19,_0x3b2d95,_0x5647ca,_0x28997f){const _0x285b8c=_0x51d908;_0x3dad76(this,_0x285b8c(0x2d2),[]),_0x3dad76(this,_0x285b8c(0x1f3),null),_0x3dad76(this,_0x285b8c(0x3a3),null),_0x3dad76(this,'_anchorDot',null),_0x3dad76(this,_0x285b8c(0x2e4),null),_0x3dad76(this,'_eventUnsubscribe',null),(this[_0x285b8c(0x30d)]=_0x596f19,this[_0x285b8c(0x38f)]=_0x3b2d95,this[_0x285b8c(0x2af)]=_0x5647ca,this[_0x285b8c(0x387)]=_0x28997f,this['_render']());}set['_hover'](_0x4cb16a){const _0x23a64c=_0x51d908;_0x4cb16a?(this[_0x23a64c(0x4bc)]&&this['_anchorDot']['hide'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)][_0x23a64c(0x458)]()):(this['_anchorDot']&&this[_0x23a64c(0x4bc)]['show'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)]['hide']());}[_0x51d908(0x32d)](){const _0xa5e2ac=_0x51d908;for(const _0x169fc7 of this[_0xa5e2ac(0x2d2)])_0x169fc7[_0xa5e2ac(0x32d)]();this[_0xa5e2ac(0x3a3)]&&this[_0xa5e2ac(0x3a3)]['dispose'](),this[_0xa5e2ac(0x4bc)]&&this[_0xa5e2ac(0x4bc)][_0xa5e2ac(0x32d)](),this[_0xa5e2ac(0x1f3)]&&this[_0xa5e2ac(0x1f3)][_0xa5e2ac(0x32d)](),this['_eventUnsubscribe']&&this[_0xa5e2ac(0x497)]();}[_0x51d908(0x4d1)](){const _0x139a7f=_0x51d908;var _0x11bd5d;const {_docSkeleton:_0x5537a6,_document:_0xba29aa}=this,{color:_0x5cc912,name:_0x13bdfd,ranges:_0xbd675}=this[_0x139a7f(0x30d)],_0x562049=_0xba29aa[_0x139a7f(0x250)](),{docsLeft:_0x66bae,docsTop:_0xcdc7e1}=_0x562049,_0x339c79=new _0x42f82b[(_0x139a7f(0x1f0))](_0x562049,_0x5537a6);for(const {startOffset:_0x2cd99c,endOffset:_0x359bb3,rangeType:_0x24ad23,segmentId:_0x5e7bc0,segmentPage:_0x889d2e,collapsed:_0x5b5bd7,isActive:_0x2de753}of _0xbd675){const _0x3a8e69=_0x5537a6[_0x139a7f(0x473)](_0x2cd99c,!0x0,_0x5e7bc0,_0x889d2e);let _0x40ef31=_0x5537a6['findNodePositionByCharIndex'](_0x359bb3,!0x0,_0x5e7bc0,_0x889d2e);if(_0x40ef31==null&&(_0x40ef31=_0x5537a6[_0x139a7f(0x473)](_0x359bb3-0x1,!0x1,_0x5e7bc0,_0x889d2e)),_0x2de753){const {contentBoxPointGroup:_0x33944b}=_0x339c79[_0x139a7f(0x2a2)](_0x40ef31,_0x40ef31);if(_0x33944b[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x252)](_0x5cc912,_0x33944b,_0x66bae,_0xcdc7e1,_0x13bdfd),this[_0x139a7f(0x497)]=this[_0x139a7f(0x4a3)]();}if(_0x3a8e69&&_0x40ef31){if(_0x24ad23===_0xee8662['DOC_RANGE_TYPE'][_0x139a7f(0x238)]){const _0x2cf031=new _0x42f82b['NodePositionConvertToRectRange'](_0x562049,_0x5537a6),{pointGroup:_0x2f1e27}=(_0x11bd5d=_0x2cf031[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31))!=null?_0x11bd5d:{};if(_0x2f1e27==null||_0x2f1e27[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x402)](_0x5cc912,_0x2f1e27,_0x66bae,_0xcdc7e1);}else{if(!_0x5b5bd7){const {borderBoxPointGroup:_0x2dd81c}=_0x339c79[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31);if(_0x2dd81c[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x353)](_0x5cc912,_0x2dd81c,_0x66bae,_0xcdc7e1);}}}}}['_drawAnchor'](_0x326d1f,_0x4e9580,_0x76b203,_0x1e075b,_0x12327f){const _0x48f09b=_0x51d908,_0x50671d=this[_0x48f09b(0x274)](_0x4e9580),{left:_0x46ee35,top:_0x97ed2a,height:_0x58bb2a}=_0x50671d,_0x200e40=this[_0x48f09b(0x1f7)](),_0x5ad0f2=_0x1e2581/_0x200e40,_0x312767=new _0x358391[(_0x48f09b(0x460))](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b,'height':_0x58bb2a,'width':_0xeef53b,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662[_0x48f09b(0x476)][_0x48f09b(0x208)],0x0),'strokeWidth':_0x5ad0f2,'stroke':_0x2259dc,'evented':!0x0});this[_0x48f09b(0x1f3)]=_0x312767,this[_0x48f09b(0x38f)]['addObject'](_0x312767,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);const _0x47e596=new _0x358391['Rect'](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x515aba/0x2,'height':_0x515aba,'width':_0x515aba,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS'][_0x48f09b(0x208)],0x0),'evented':!0x1});this[_0x48f09b(0x4bc)]=_0x47e596,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x47e596,_0x42f82b[_0x48f09b(0x41a)]);const _0x491a5b=new _0x466339(_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x3dbef6,'text':_0x12327f,'color':_0x326d1f});this[_0x48f09b(0x3a3)]=_0x491a5b,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x491a5b,_0x42f82b[_0x48f09b(0x41a)]),this[_0x48f09b(0x362)]=!0x1;}[_0x51d908(0x4a3)](){const _0x27c291=_0x51d908,_0x1e2ef1=this[_0x27c291(0x1f3)][_0x27c291(0x278)][_0x27c291(0x296)](()=>{const _0x1fd628=_0x27c291;this[_0x1fd628(0x362)]=!0x0;}),_0x1bb858=this[_0x27c291(0x1f3)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4837f7=_0x27c291;this['_hideTimer']&&clearTimeout(this[_0x4837f7(0x2e4)]),this[_0x4837f7(0x2e4)]=setTimeout(()=>{const _0x47de25=_0x4837f7;this[_0x47de25(0x362)]=!0x1;},0x7d0);});return()=>{const _0x986435=_0x27c291;_0x1e2ef1['unsubscribe'](),_0x1bb858[_0x986435(0x21f)]();};}[_0x51d908(0x353)](_0x3770b5,_0x16ebfc,_0x3b4307,_0x4e4aa4){const _0x4cb19d=_0x51d908,_0x27296a=new _0xee8662['ColorKit'](_0x3770b5)[_0x4cb19d(0x3f9)](0.2)['toRgbString'](),_0x35b04b=new _0x358391[(_0x4cb19d(0x406))](_0x27b099+_0xee8662['generateRandomId'](_0x1b8c2d),{'pointsGroup':_0x16ebfc,'fill':_0x27296a||_0x358391['getColor'](_0xee8662['COLORS'][_0x4cb19d(0x208)],0.2),'left':_0x3b4307,'top':_0x4e4aa4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cb19d(0x2d2)][_0x4cb19d(0x29f)](_0x35b04b),this[_0x4cb19d(0x38f)][_0x4cb19d(0x372)](_0x35b04b,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x402)](_0xc83e6,_0x134010,_0xd7ee59,_0x36a830){const _0xc40872=_0x51d908,_0x5cddfa=new _0xee8662['ColorKit'](_0xc83e6)['setAlpha'](0.2)[_0xc40872(0x235)](),_0x5e5667=new _0x358391['RegularPolygon'](_0x350465+_0xee8662[_0xc40872(0x4bf)](_0x1b8c2d),{'pointsGroup':_0x134010,'fill':_0x5cddfa||_0x358391['getColor'](_0xee8662[_0xc40872(0x476)][_0xc40872(0x208)],0.2),'left':_0xd7ee59,'top':_0x36a830,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc40872(0x2d2)][_0xc40872(0x29f)](_0x5e5667),this['_scene']['addObject'](_0x5e5667,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x274)](_0x49a817){const _0x38ccb0=_0x49a817[0x0],_0xd54a73=_0x38ccb0[0x0],_0x2d5712=_0x38ccb0[0x2],{x:_0x41d15d,y:_0x2eacf4}=_0xd54a73,{x:_0xf8ad0,y:_0x58c038}=_0x2d5712;return{'left':_0x41d15d,'top':_0x2eacf4,'width':_0xf8ad0-_0x41d15d,'height':_0x58c038-_0x2eacf4};}[_0x51d908(0x1f7)](){const _0x4fc14b=_0x51d908,{scaleX:_0x16a9e6,scaleY:_0x55e9bf}=this[_0x4fc14b(0x38f)][_0x4fc14b(0x2c1)]();return Math['max'](_0x16a9e6,_0x55e9bf);}}var _0x46765f=Object[_0x51d908(0x34e)],_0x4beb14=(_0x36acdc,_0x70b110,_0x471f8f,_0x1cef71)=>{const _0x510bb5=_0x51d908;for(var _0x1fd55e=_0x1cef71>0x1?void 0x0:_0x1cef71?_0x46765f(_0x70b110,_0x471f8f):_0x70b110,_0x115bf3=_0x36acdc[_0x510bb5(0x3e5)]-0x1,_0xacff7e;_0x115bf3>=0x0;_0x115bf3--)(_0xacff7e=_0x36acdc[_0x115bf3])&&(_0x1fd55e=_0xacff7e(_0x1fd55e)||_0x1fd55e);return _0x1fd55e;},_0x144519=(_0xc8cfc3,_0x4b5a11)=>(_0x2315cf,_0x35fb98)=>_0x4b5a11(_0x2315cf,_0x35fb98,_0xc8cfc3);let _0x3a6e42=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x5bc754,_0x2b612e,_0x4fd5b8,_0x171a77,_0x15f589){const _0x322db1=_0x51d908;super(),_0x3dad76(this,'_cursorShapes',[]),_0x3dad76(this,_0x322db1(0x3c3),[]),(this[_0x322db1(0x355)]=_0x5bc754,this[_0x322db1(0x286)]=_0x2b612e,this['_collabCursorController']=_0x4fd5b8,this[_0x322db1(0x4b6)]=_0x171a77,this[_0x322db1(0x429)]=_0x15f589,this['_init']());}[_0x51d908(0x336)](){const _0x2de9e7=_0x51d908,_0x869305=this['_context']['unitId'],_0x947358=this[_0x2de9e7(0x286)];this[_0x2de9e7(0x45a)](_0x3b7fba['combineLatest']([this[_0x2de9e7(0x3f3)][_0x2de9e7(0x420)](_0x869305),this[_0x2de9e7(0x429)][_0x2de9e7(0x343)]])[_0x2de9e7(0x2ba)](_0x6bbe09[_0x2de9e7(0x1e7)](([_0x13893a,_0x4163f1])=>({'skeleton':_0x947358[_0x2de9e7(0x229)](),'cursors':[..._0x13893a['values']()][_0x2de9e7(0x442)](_0x22c238=>({..._0x22c238,'color':this[_0x2de9e7(0x429)][_0x2de9e7(0x38d)](_0x22c238[_0x2de9e7(0x3c8)])}))})))['subscribe'](_0x21bbe3=>{const _0x2019f4=_0x2de9e7;if(this[_0x2019f4(0x4ad)](),_0x21bbe3){const {skeleton:_0x214c1b,cursors:_0x3b712b}=_0x21bbe3;this[_0x2019f4(0x3d8)](_0x214c1b,_0x3b712b);}})),this[_0x2de9e7(0x23e)](),this['_initCommandExecutedListener']();}[_0x51d908(0x3d8)](_0x303b6d,_0x5697cc){const _0x17385b=_0x51d908,{scene:_0x513576,mainComponent:_0x5b5fad}=this[_0x17385b(0x355)],_0x44a8df=_0x5697cc[_0x17385b(0x1e7)](_0x395e64=>new _0x43cb6d(_0x395e64,_0x513576,_0x303b6d,_0x5b5fad));this[_0x17385b(0x44e)]=_0x44a8df,this[_0x17385b(0x3c3)]=_0x5697cc;}[_0x51d908(0x4cb)](){const _0x4ea3c5=_0x51d908;this[_0x4ea3c5(0x4ad)]();const {scene:_0x508bbe,mainComponent:_0x58dbf3}=this['_context'],_0x27c571=this[_0x4ea3c5(0x286)][_0x4ea3c5(0x229)](),_0xcc5151=this[_0x4ea3c5(0x3c3)]['map'](_0x2624a1=>new _0x43cb6d(_0x2624a1,_0x508bbe,_0x27c571,_0x58dbf3));this[_0x4ea3c5(0x44e)]=_0xcc5151;}[_0x51d908(0x4ad)](){const _0x1d4804=_0x51d908;this['_cursorShapes'][_0x1d4804(0x204)](_0x5a4622=>_0x5a4622[_0x1d4804(0x32d)]()),this[_0x1d4804(0x44e)]=[];}[_0x51d908(0x40e)](){const _0x547e0d=_0x51d908,_0x4d061a=[_0x42f82b[_0x547e0d(0x281)]['id']];this[_0x547e0d(0x45a)](this[_0x547e0d(0x4b6)][_0x547e0d(0x4c8)](_0x233f00=>{const _0x1e8acd=_0x547e0d;_0x4d061a['includes'](_0x233f00['id'])&&_0x233f00[_0x1e8acd(0x41e)]['unitId']===this['_context'][_0x1e8acd(0x27a)]&&this[_0x1e8acd(0x4cb)]();}));}[_0x51d908(0x23e)](){const _0x421f1f=_0x51d908;this[_0x421f1f(0x45a)](_0xee8662['fromEventSubject'](this[_0x421f1f(0x355)][_0x421f1f(0x43b)][_0x421f1f(0x303)])[_0x421f1f(0x2ba)](_0x6bbe09[_0x421f1f(0x202)](_0x4fb106=>_0x4fb106[_0x421f1f(0x4b1)]===_0x358391['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x6bbe09[_0x421f1f(0x42f)](0x10))[_0x421f1f(0x329)](()=>{const _0x327d50=_0x421f1f;this[_0x327d50(0x4cb)]();}));}};_0x3a6e42=_0x4beb14([_0x144519(0x1,_0xee8662[_0x51d908(0x35b)](_0xf806a0[_0x51d908(0x35e)])),_0x144519(0x2,_0xee8662[_0x51d908(0x35b)](_0x16e293)),_0x144519(0x3,_0xee8662[_0x51d908(0x2a9)]),_0x144519(0x4,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x257)]))],_0x3a6e42);const _0x2ce8a5=0x1,_0x1340c4=1.5;class _0x118cd0 extends _0x358391[_0x51d908(0x243)]{constructor(_0x116a97,_0x4e19c4){const _0x4116ca=_0x51d908;super(_0x116a97,_0x4e19c4),_0x3dad76(this,'_color'),_0x3dad76(this,_0x4116ca(0x415),!0x1),_0x3dad76(this,_0x4116ca(0x220)),_0x3dad76(this,_0x4116ca(0x2d7),''),_0x3dad76(this,_0x4116ca(0x37a),'top'),_0x3dad76(this,'_backgroundColor'),(_0x4e19c4&&this[_0x4116ca(0x321)](_0x4e19c4),this[_0x4116ca(0x278)][_0x4116ca(0x296)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4116ca(0x44a)][_0x4116ca(0x296)](()=>this[_0x4116ca(0x321)]({'hovered':!0x1})));}[_0x51d908(0x321)](_0x1b3419){const _0x4d8a79=_0x51d908;var _0x2308a7,_0x337847,_0x47aec4,_0x17e779,_0x237523,_0x38b5ff;this[_0x4d8a79(0x2fb)]=(_0x2308a7=_0x1b3419[_0x4d8a79(0x3c8)])!=null?_0x2308a7:this[_0x4d8a79(0x2fb)],this['_hovered']=(_0x337847=_0x1b3419['hovered'])!=null?_0x337847:this[_0x4d8a79(0x415)],this[_0x4d8a79(0x220)]=(_0x47aec4=_0x1b3419[_0x4d8a79(0x24b)])!=null?_0x47aec4:this[_0x4d8a79(0x220)],this[_0x4d8a79(0x2d7)]=(_0x17e779=_0x1b3419[_0x4d8a79(0x2c7)])!=null?_0x17e779:this['_name'],this[_0x4d8a79(0x37a)]=(_0x237523=_0x1b3419['labelPosition'])!=null?_0x237523:this['_labelPosition'],this[_0x4d8a79(0x228)]=(_0x38b5ff=_0x1b3419['backgroundColor'])!=null?_0x38b5ff:this[_0x4d8a79(0x228)],this['transformByState']({'width':_0x1b3419[_0x4d8a79(0x3ff)],'height':_0x1b3419[_0x4d8a79(0x397)]});}['onMouseMove'](_0x1e60f9){const _0xacc8c=_0x51d908,{row:_0x5748e6,column:_0x1c06bd}=_0x1e60f9;if(_0x5748e6>=this[_0xacc8c(0x220)][_0xacc8c(0x25e)]&&_0x5748e6<=this[_0xacc8c(0x220)][_0xacc8c(0x2d5)]&&_0x1c06bd>=this[_0xacc8c(0x220)][_0xacc8c(0x1ec)]&&_0x1c06bd<=this[_0xacc8c(0x220)][_0xacc8c(0x34d)]){this[_0xacc8c(0x321)]({'hovered':!0x0});return;}this[_0xacc8c(0x321)]({'hovered':!0x1});}[_0x51d908(0x395)](_0x129b58){return!0x1;}[_0x51d908(0x368)](_0x47521c){const _0xcb3e9d=_0x51d908;_0x358391[_0xcb3e9d(0x460)][_0xcb3e9d(0x3fa)](_0x47521c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x1340c4,'stroke':this[_0xcb3e9d(0x2fb)],'evented':!0x1,'fill':this[_0xcb3e9d(0x228)]}),this['_hovered']&&(_0x47521c[_0xcb3e9d(0x443)](),_0x47521c[_0xcb3e9d(0x2bf)](0x1,0x0,0x0,0x1,this['width'],this[_0xcb3e9d(0x37a)]===_0xcb3e9d(0x1ff)?0x0:-_0x3dbef6),_0x466339['drawWith'](_0x47521c,{'text':this[_0xcb3e9d(0x2d7)],'color':this[_0xcb3e9d(0x2fb)]}),_0x47521c['restore']());}}var _0x4895b5=Object['getOwnPropertyDescriptor'],_0x2989f2=(_0x4b0067,_0x3682b4,_0x8f2b84,_0x45b4be)=>{const _0x197b57=_0x51d908;for(var _0x466ac4=_0x45b4be>0x1?void 0x0:_0x45b4be?_0x4895b5(_0x3682b4,_0x8f2b84):_0x3682b4,_0x26319a=_0x4b0067[_0x197b57(0x3e5)]-0x1,_0x19e75f;_0x26319a>=0x0;_0x26319a--)(_0x19e75f=_0x4b0067[_0x26319a])&&(_0x466ac4=_0x19e75f(_0x466ac4)||_0x466ac4);return _0x466ac4;},_0x9f0473=(_0x458b40,_0x4f9ebf)=>(_0x22e0a2,_0x57dc95)=>_0x4f9ebf(_0x22e0a2,_0x57dc95,_0x458b40);const _0x2f43a0=0x1389;let _0x21834f=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2392e5,_0x55f971,_0x2561bb,_0x840e2f){const _0x58faf3=_0x51d908;super(),_0x3dad76(this,_0x58faf3(0x3c3),new Set()),_0x3dad76(this,_0x58faf3(0x2f3),null),(this[_0x58faf3(0x355)]=_0x2392e5,this[_0x58faf3(0x49f)]=_0x55f971,this[_0x58faf3(0x3f3)]=_0x2561bb,this[_0x58faf3(0x429)]=_0x840e2f,this[_0x58faf3(0x336)]());}[_0x51d908(0x336)](){const _0x80f355=_0x51d908;this[_0x80f355(0x49f)][_0x80f355(0x386)][_0x80f355(0x2ba)](_0x6bbe09[_0x80f355(0x2a7)](this[_0x80f355(0x3b5)]),_0x6bbe09[_0x80f355(0x40f)](_0x4bd0f2=>{const _0x2f7e1b=_0x80f355;if(_0x4bd0f2){const _0x24ea42=_0x4bd0f2[_0x2f7e1b(0x383)];return _0x3b7fba[_0x2f7e1b(0x484)](this['_collabCursorController']['getCollabCursors$'](this[_0x2f7e1b(0x355)][_0x2f7e1b(0x27a)]),this['_themeService']['currentTheme$'])[_0x2f7e1b(0x2ba)](_0x6bbe09[_0x2f7e1b(0x1e7)](([_0x2c95a4,_0xaff1a1])=>{const _0x3218e3=_0x2f7e1b,_0x2587f0=new Map();return _0x2c95a4[_0x3218e3(0x204)]((_0x1424a3,_0x99f174)=>{const _0x539772=_0x3218e3;if(_0x1424a3[_0x539772(0x3f6)]===_0x24ea42){const _0x5f34b9={..._0x1424a3};_0x5f34b9[_0x539772(0x3c8)]=this[_0x539772(0x429)][_0x539772(0x38d)](_0x1424a3[_0x539772(0x3c8)]),_0x2587f0[_0x539772(0x4c5)](_0x99f174,_0x5f34b9);}}),{'skeleton':_0x4bd0f2,'cursors':_0x2587f0};}));}return _0x3b7fba['of']({'skeleton':null,'cursors':new Map()});}))[_0x80f355(0x329)](({skeleton:_0xe81286,cursors:_0x463481})=>{const _0x7e1b6d=_0x80f355;this['_removeCollabCursors'](),_0xe81286&&this[_0x7e1b6d(0x3d8)](_0xe81286,_0x463481);}),this[_0x80f355(0x49f)]['currentSkeleton$'][_0x80f355(0x329)](_0x1c1a65=>{const _0x3c62a0=_0x80f355;if(_0x1c1a65==null)return;const {skeleton:_0x1ff114}=_0x1c1a65,{scene:_0x3ee815}=this[_0x3c62a0(0x355)];_0x3ee815['onPointerMove$'][_0x3c62a0(0x296)](_0xee8662['debounce'](_0x2afdcc=>{const _0x104416=_0x3c62a0;var _0x29be8d,_0xf2c70;const {offsetX:_0x40bede,offsetY:_0x286ac9}=_0x2afdcc,{x:_0x3b92a8,y:_0xe9dce9}=_0x3ee815[_0x104416(0x210)](_0x358391[_0x104416(0x3e9)][_0x104416(0x31e)]([_0x40bede,_0x286ac9])),{scaleX:_0x17bb75,scaleY:_0x296d85}=_0x3ee815[_0x104416(0x2c1)](),_0x46945f=_0x3ee815[_0x104416(0x25c)](_0x358391['SHEET_VIEWPORT_KEY'][_0x104416(0x3d2)]),_0x430215=_0x3ee815[_0x104416(0x374)](_0x358391[_0x104416(0x3e9)]['FromArray']([_0x3b92a8,_0xe9dce9]),_0x46945f),_0x2dd544=_0x1ff114[_0x104416(0x218)](_0x40bede,_0x286ac9,_0x17bb75,_0x296d85,_0x430215);((_0x29be8d=this[_0x104416(0x2f3)])==null?void 0x0:_0x29be8d['column'])===_0x2dd544[_0x104416(0x489)]&&((_0xf2c70=this[_0x104416(0x2f3)])==null?void 0x0:_0xf2c70[_0x104416(0x4bb)])===_0x2dd544[_0x104416(0x4bb)]||this[_0x104416(0x3c3)][_0x104416(0x204)](_0x487363=>{const _0xbbce11=_0x104416;_0x487363[_0xbbce11(0x435)](_0x2dd544);});},0x64));});}[_0x51d908(0x3d8)](_0x157e48,_0x311e3d){const _0x2c3134=_0x51d908;var _0x3a0a0e;const _0x5c7b43=(_0x3a0a0e=this['_sheetSkeletonManagerService'][_0x2c3134(0x3d7)]())==null?void 0x0:_0x3a0a0e[_0x2c3134(0x3d1)];if(!_0x5c7b43)return;const _0x4b0277=this[_0x2c3134(0x282)]();if(!_0x4b0277)return;this['_cursors'][_0x2c3134(0x204)](_0x3ee0f1=>{_0x3ee0f1['makeDirty']();});const {scene:_0x59d237}=_0x4b0277,_0x1b5f8a=_0x1bdf4d(Array['from'](_0x311e3d[_0x2c3134(0x3ac)]()))[_0x2c3134(0x1e7)](_0x128f19=>{const _0x115530=_0x2c3134,{color:_0x3db745,range:_0xb393ef,name:_0x30b4f8,selection:_0x3283e3,sheetID:_0x2fe49a}=_0x128f19,{startColumn:_0x3cc093,startRow:_0x2a405d,endColumn:_0x485e12,endRow:_0x5894ec}=_0xb393ef,_0x54c5a5=_0x28bc9b[_0x115530(0x4a2)](_0x2a405d,_0x3cc093,_0x59d237,_0x5c7b43),_0x49a565=_0x28bc9b['getCoordByCell'](_0x5894ec,_0x485e12,_0x59d237,_0x5c7b43),{columnHeaderHeightAndMarginTop:_0x37eb9a}=_0x5c7b43,{startX:_0x323c9c,startY:_0x517e98}=_0x54c5a5,{endX:_0x1fcfed,endY:_0x2b83a3}=_0x49a565,_0x2a4957=_0x1fcfed-_0x323c9c,_0x12c882=_0x2b83a3-_0x517e98,_0x5162bc={'labelPosition':_0x517e98-_0x37eb9a>=_0x3dbef6?_0x115530(0x236):'bottom','sheetID':_0x2fe49a,'range':_0xb393ef,'color':_0x3db745,'name':_0x30b4f8,'selection':_0x3283e3,'left':_0x323c9c,'top':_0x517e98,'width':_0x2a4957,'height':_0x12c882,'evented':!0x1,'zIndex':_0x2f43a0};return new _0x118cd0(_0x30b4f8,_0x5162bc);});_0x59d237[_0x2c3134(0x4ae)](_0x1b5f8a,_0x2ce8a5),this['_cursors']=new Set(_0x1b5f8a);}[_0x51d908(0x4ad)](){const _0xe7cc43=_0x51d908;var _0x1757ba;(_0x1757ba=this[_0xe7cc43(0x3c3)])==null||_0x1757ba[_0xe7cc43(0x204)](_0x43c7fc=>_0x43c7fc[_0xe7cc43(0x32d)]());}['_getSheetObject'](){const _0x81c45d=_0x51d908;return _0x28bc9b['getSheetObject'](this['_context']['unit'],this[_0x81c45d(0x355)]);}};_0x21834f=_0x2989f2([_0x9f0473(0x1,_0xee8662[_0x51d908(0x35b)](_0x28bc9b[_0x51d908(0x22b)])),_0x9f0473(0x2,_0xee8662['Inject'](_0x16e293)),_0x9f0473(0x3,_0xee8662['Inject'](_0xee8662['ThemeService']))],_0x21834f);function _0x1bdf4d(_0x5e750f){const _0x2af8e3=_0x51d908,_0x368fc8=new Map();return _0x5e750f[_0x2af8e3(0x204)](_0x183e8c=>{const _0x34c729=_0x2af8e3;if(_0x368fc8[_0x34c729(0x398)](_0x183e8c[_0x34c729(0x49a)])){const _0x4b5749=_0x368fc8[_0x34c729(0x2ea)](_0x183e8c['selection']);_0x4b5749[_0x34c729(0x2c7)]+=',\x20'+_0x183e8c['name'];}else _0x368fc8[_0x34c729(0x4c5)](_0x183e8c[_0x34c729(0x49a)],_0x183e8c);}),Array['from'](_0x368fc8[_0x2af8e3(0x3ac)]());}var _0x33c20b=Object[_0x51d908(0x34e)],_0x4b76d8=(_0x1b0c9a,_0x5f29af,_0x3c9dd2,_0x26e5f9)=>{const _0x1110d3=_0x51d908;for(var _0x21f4c8=_0x26e5f9>0x1?void 0x0:_0x26e5f9?_0x33c20b(_0x5f29af,_0x3c9dd2):_0x5f29af,_0x5e8169=_0x1b0c9a[_0x1110d3(0x3e5)]-0x1,_0x2b927b;_0x5e8169>=0x0;_0x5e8169--)(_0x2b927b=_0x1b0c9a[_0x5e8169])&&(_0x21f4c8=_0x2b927b(_0x21f4c8)||_0x21f4c8);return _0x21f4c8;},_0x541d48=(_0x2366ee,_0x391fc1)=>(_0x9be950,_0x437798)=>_0x391fc1(_0x9be950,_0x437798,_0x2366ee);let _0x14801f=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x23e4b3,_0x1a4395,_0x226614,_0x3e0d6d,_0x15d149,_0x36060a){const _0x502f72=_0x51d908;super(),this[_0x502f72(0x496)]=_0x23e4b3,this[_0x502f72(0x356)]=_0x1a4395,this[_0x502f72(0x3e6)]=_0x226614,this[_0x502f72(0x423)]=_0x3e0d6d,this[_0x502f72(0x1fd)]=_0x15d149,this[_0x502f72(0x4b9)]=_0x36060a,this[_0x502f72(0x434)](),this[_0x502f72(0x3b4)]();}[_0x51d908(0x434)](){const _0x5d4c25=_0x51d908;this[_0x5d4c25(0x45a)](this[_0x5d4c25(0x496)][_0x5d4c25(0x3f8)](()=>{const _0x2c0156=_0x5d4c25;if(this[_0x2c0156(0x356)][_0x2c0156(0x24d)][_0x2c0156(0x283)])return this['_localeService']['t'](_0x2c0156(0x2c4));}));}[_0x51d908(0x3b4)](){const _0x44e60b=_0x51d908;this['disposeWithMe'](this[_0x44e60b(0x3e6)][_0x44e60b(0x345)][_0x44e60b(0x329)](_0x3a60ce=>{const _0x1e8c65=_0x44e60b;_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x36d)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.single-unit.warning')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x3ea)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.closeRoom')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x20f)]&&this[_0x1e8c65(0x1fd)]['show']({'title':this['_localeService']['t'](_0x1e8c65(0x4a8)),'content':this[_0x1e8c65(0x4b9)]['t']('permission.content'),'type':'error','duration':0x0}),_0x3a60ce['id']===_0x34c9b1['CollaborationUIEventId'][_0x1e8c65(0x254)]&&this['_messageService'][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x28d))+'('+_0x3a60ce['data']+')'}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x351)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x3a60ce['data']||'')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x48f)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x1f4))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SOCKET_FAILED']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this['_localeService']['t'](_0x1e8c65(0x2c9))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType']['Error'],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x3a1))});}));}};_0x14801f=_0x4b76d8([_0x541d48(0x0,_0x2dde38[_0x51d908(0x28f)]),_0x541d48(0x1,_0x34c9b1['ILocalCacheService']),_0x541d48(0x2,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x4bd)])),_0x541d48(0x3,_0x2dde38['IMessageService']),_0x541d48(0x4,_0x2dde38[_0x51d908(0x2e9)]),_0x541d48(0x5,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x14801f);var _0x940c4f=Object[_0x51d908(0x34e)],_0xe74c9=(_0x4b3114,_0x14362c,_0x30bddc,_0x41c51f)=>{const _0x4ab8cf=_0x51d908;for(var _0x5cf4b9=_0x41c51f>0x1?void 0x0:_0x41c51f?_0x940c4f(_0x14362c,_0x30bddc):_0x14362c,_0x24898a=_0x4b3114[_0x4ab8cf(0x3e5)]-0x1,_0x4c4352;_0x24898a>=0x0;_0x24898a--)(_0x4c4352=_0x4b3114[_0x24898a])&&(_0x5cf4b9=_0x4c4352(_0x5cf4b9)||_0x5cf4b9);return _0x5cf4b9;},_0x110937=(_0x56a58a,_0x4c445f)=>(_0x30aa6d,_0x4aa67f)=>_0x4c445f(_0x30aa6d,_0x4aa67f,_0x56a58a);let _0x182b9c=class extends _0xee8662['Disposable']{constructor(_0x220e6b,_0x3fa028,_0xb2f52e,_0x24314f){const _0x5f34fb=_0x51d908;super(),_0x3dad76(this,'_memberID'),(this[_0x5f34fb(0x3e2)]=_0x220e6b,this[_0x5f34fb(0x3df)]=_0x3fa028,this[_0x5f34fb(0x27c)]=_0xb2f52e,this['_collaborationSessionService']=_0x24314f,this[_0x5f34fb(0x336)]());}[_0x51d908(0x336)](){const _0x43ac82=_0x51d908;this[_0x43ac82(0x427)](),this[_0x43ac82(0x2f7)](),this['_monkeyPatchLogService'](),this[_0x43ac82(0x2cd)]();}[_0x51d908(0x2cd)](){const _0x33775a=_0x51d908;this[_0x33775a(0x45a)](this[_0x33775a(0x3de)][_0x33775a(0x263)][_0x33775a(0x329)](_0x101dcc=>{const _0x1735b7=_0x33775a;this['_memberID']=_0x101dcc==null?void 0x0:_0x101dcc[_0x1735b7(0x2ab)];}));}[_0x51d908(0x427)](){const _0x14cdb7=_0x51d908,_0x5dffc4=_0x1005ec=>{const _0x5af614=_0x2c0f;var _0x5b1a2a;this[_0x5af614(0x3ba)](_0x5af614(0x1f8),_0x5af614(0x408)+_0x1005ec['message']+'\x20at\x20'+_0x1005ec[_0x5af614(0x226)]+':'+_0x1005ec[_0x5af614(0x244)]+':'+_0x1005ec['colno']+'\x0a'+(((_0x5b1a2a=_0x1005ec[_0x5af614(0x1f8)])==null?void 0x0:_0x5b1a2a[_0x5af614(0x358)])||''));};window[_0x14cdb7(0x438)](_0x14cdb7(0x1f8),_0x5dffc4),this[_0x14cdb7(0x45a)](()=>{const _0x1412dc=_0x14cdb7;window[_0x1412dc(0x4b5)](_0x1412dc(0x1f8),_0x5dffc4);});}[_0x51d908(0x2f7)](){const _0x282bae=_0x51d908,_0x5e6beb=_0x2a1904=>{const _0x3b2a18=_0x2c0f;this[_0x3b2a18(0x3ba)]('error',_0x3b2a18(0x482)+_0x2a1904[_0x3b2a18(0x3b6)]);};window[_0x282bae(0x438)](_0x282bae(0x277),_0x5e6beb),this['disposeWithMe'](()=>{const _0x1f4703=_0x282bae;window[_0x1f4703(0x4b5)](_0x1f4703(0x277),_0x5e6beb);});}[_0x51d908(0x305)](){const _0x198016=_0x51d908,_0xae3df4=this[_0x198016(0x27c)][_0x198016(0x1f8)][_0x198016(0x317)](this[_0x198016(0x27c)]);this[_0x198016(0x27c)][_0x198016(0x1f8)]=(..._0x3c448a)=>{const _0x3076e1=_0x198016,_0x2827af=_0x3c448a[_0x3076e1(0x1e7)](_0x1c3ea4=>_0x1c3ea4 instanceof Error?_0x1c3ea4[_0x3076e1(0x44b)]+'\x0a'+_0x1c3ea4[_0x3076e1(0x358)]:String(_0x1c3ea4))[_0x3076e1(0x457)]('\x20');this[_0x3076e1(0x3ba)](_0x3076e1(0x1f8),_0x3076e1(0x3d6)+_0x2827af),_0xae3df4(..._0x3c448a);},this['disposeWithMe'](()=>{const _0xbf7f8a=_0x198016;this[_0xbf7f8a(0x27c)][_0xbf7f8a(0x1f8)]=_0xae3df4;});}[_0x51d908(0x3ba)](_0x3f5150,_0x339378){const _0x31fd5a=_0x51d908;try{const _0x2361e6={'userId':this[_0x31fd5a(0x234)],'logLabel':_0x3f5150,'content':_0x339378};this[_0x31fd5a(0x3df)][_0x31fd5a(0x3fb)](_0x31fd5a(0x44d),{'body':_0x2361e6})[_0x31fd5a(0x430)](()=>{});}catch{}}};_0x182b9c=_0xe74c9([_0x110937(0x0,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x110937(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037['HTTPService'])),_0x110937(0x2,_0xee8662['ILogService']),_0x110937(0x3,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x25f)]))],_0x182b9c);const _0x52af33=_0x51d908(0x499),_0x377916={};var _0x29dab6=Object[_0x51d908(0x34e)],_0x24dbb5=(_0x32c7d2,_0x4a90f5,_0x57197a,_0x534ab4)=>{const _0x34d944=_0x51d908;for(var _0x51d051=_0x534ab4>0x1?void 0x0:_0x534ab4?_0x29dab6(_0x4a90f5,_0x57197a):_0x4a90f5,_0x4a37d1=_0x32c7d2[_0x34d944(0x3e5)]-0x1,_0x471779;_0x4a37d1>=0x0;_0x4a37d1--)(_0x471779=_0x32c7d2[_0x4a37d1])&&(_0x51d051=_0x471779(_0x51d051)||_0x51d051);return _0x51d051;},_0x3b2f67=(_0x1e2af3,_0x43d41e)=>(_0x8f3095,_0x11a96b)=>_0x43d41e(_0x8f3095,_0x11a96b,_0x1e2af3);let _0xe97add=class{constructor(_0x4268d9,_0x473535){const _0x1f54ce=_0x51d908;this[_0x1f54ce(0x2bb)]=_0x4268d9,this[_0x1f54ce(0x334)]=_0x473535;}['transformIMECache'](_0x224049){const _0x4069ae=_0x51d908;this['_transformUndoRedoStack'](_0x224049),this[_0x4069ae(0x29b)](_0x224049);}[_0x51d908(0x225)](_0xfa4b03){const _0x42a2ba=_0x51d908,{unitID:_0x5ae651}=_0xfa4b03,_0x56c35a=this[_0x42a2ba(0x334)]['getRenderById'](_0x5ae651)[_0x42a2ba(0x265)](_0x42f82b['DocIMEInputManagerService']),{redoCache:_0x4f241b}=_0x56c35a[_0x42a2ba(0x23b)]();if(_0x4f241b[_0x42a2ba(0x3e5)]===0x0)return _0xfa4b03;let _0x266c45=_0xee8662[_0x42a2ba(0x492)]['deepClone'](_0xfa4b03[_0x42a2ba(0x21e)][0x0]);for(let _0x38507d=0x0;_0x38507d<_0x4f241b[_0x42a2ba(0x3e5)];_0x38507d++){const _0x4ff2e8={'id':_0x42a2ba(0x333),'params':{..._0x4f241b[_0x38507d]}},_0xef410f=this[_0x42a2ba(0x2bb)]['transformMutation'](_0x266c45,_0x4ff2e8,!0x1);if(_0x597660[_0x42a2ba(0x338)](_0xef410f))throw _0xef410f['error'];_0x266c45=_0xef410f[_0x42a2ba(0x2cf)];}return{..._0xee8662[_0x42a2ba(0x492)][_0x42a2ba(0x1ed)](_0xfa4b03),'mutations':[_0x266c45]};}['_transformUndoRedoStack'](_0x46936d){const _0x1d6563=_0x51d908,{unitID:_0x3c151a}=_0x46936d,_0x473460=this[_0x1d6563(0x334)]['getRenderById'](_0x3c151a)[_0x1d6563(0x265)](_0x42f82b['DocIMEInputManagerService']),{undoCache:_0x100791,redoCache:_0x193533}=_0x473460['getUndoRedoMutationParamsCache']();if(_0x100791[_0x1d6563(0x3e5)]===0x0||_0x193533[_0x1d6563(0x3e5)]===0x0)return;const _0x17ac32=[],_0x1c73cf=[];let _0x291e4c=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]),_0x13e022=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]);for(let _0x3b4aa8=_0x100791['length']-0x1;_0x3b4aa8>=0x0;_0x3b4aa8--){const _0x18390c={'id':'doc.mutation.rich-text-editing','params':{..._0x100791[_0x3b4aa8]}},_0xc8fa4={'id':_0x1d6563(0x333),'params':{..._0x193533[_0x3b4aa8]}},_0x39e71d=this['_transformService'][_0x1d6563(0x311)](_0x291e4c,_0x18390c,!0x1),_0x5bb046=this[_0x1d6563(0x2bb)][_0x1d6563(0x311)](_0x13e022,_0xc8fa4,!0x1);if(_0x597660['isTransformMutationFailure'](_0x39e71d))throw _0x39e71d[_0x1d6563(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x5bb046))throw _0x5bb046[_0x1d6563(0x1f8)];_0x17ac32[_0x1d6563(0x35d)](_0x39e71d[_0x1d6563(0x41d)][_0x1d6563(0x41e)]),_0x1c73cf[_0x1d6563(0x35d)](_0x5bb046['m2Prime'][_0x1d6563(0x41e)]),_0x291e4c=_0x39e71d[_0x1d6563(0x2cf)],_0x13e022=_0x5bb046[_0x1d6563(0x2cf)];}_0x473460[_0x1d6563(0x2fa)]({'undoCache':_0x17ac32,'redoCache':_0x1c73cf});}[_0x51d908(0x29b)](_0x48d341){const _0x1661ec=_0x51d908,{unitID:_0x2a078d}=_0x48d341,_0x4a119b=this['_renderManagerService'][_0x1661ec(0x3ad)](_0x2a078d)[_0x1661ec(0x265)](_0x42f82b[_0x1661ec(0x42c)]),_0x47351f=_0x4a119b['getActiveRange']();if(_0x47351f==null)return;const _0x4376c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48d341['unitID'],'actions':null,'textRanges':[_0x47351f]}}],_0x486ccd=this[_0x1661ec(0x2bb)][_0x1661ec(0x3e8)](_0x48d341,_0x4376c0);if(!_0x597660[_0x1661ec(0x470)](_0x486ccd))throw _0x486ccd[_0x1661ec(0x1f8)];const _0x37c9b7=_0x486ccd[_0x1661ec(0x41d)][0x0][_0x1661ec(0x41e)][_0x1661ec(0x3cd)];Array[_0x1661ec(0x1ee)](_0x37c9b7)&&_0x37c9b7['length']&&_0x4a119b['setActiveRange'](_0x37c9b7[0x0]);}};_0xe97add=_0x24dbb5([_0x3b2f67(0x0,_0x597660['ITransformService']),_0x3b2f67(0x1,_0x358391['IRenderManagerService'])],_0xe97add);var _0x18e25f=Object[_0x51d908(0x34e)],_0xa1e682=(_0x231fb6,_0x43b3e8,_0x1e82d1,_0x164150)=>{const _0x375061=_0x51d908;for(var _0xefcedd=_0x164150>0x1?void 0x0:_0x164150?_0x18e25f(_0x43b3e8,_0x1e82d1):_0x43b3e8,_0x363cc0=_0x231fb6[_0x375061(0x3e5)]-0x1,_0x18e04a;_0x363cc0>=0x0;_0x363cc0--)(_0x18e04a=_0x231fb6[_0x363cc0])&&(_0xefcedd=_0x18e04a(_0xefcedd)||_0xefcedd);return _0xefcedd;},_0x55cf43=(_0x19d9c4,_0x147094)=>(_0x20ccc4,_0x4c4e0d)=>_0x147094(_0x20ccc4,_0x4c4e0d,_0x19d9c4);let _0x149e20=class{constructor(_0x217e46,_0x341b89,_0x5368d2){const _0x1abb85=_0x51d908;this[_0x1abb85(0x3e2)]=_0x217e46,this['_transformService']=_0x341b89,this[_0x1abb85(0x456)]=_0x5368d2;}[_0x51d908(0x2c0)](_0x7d62ac){this['_transformHistoryAndStateStack'](_0x7d62ac);}['transformRemoteChangeset'](_0xb97d90){const _0x46a2a2=_0x51d908,{unitID:_0x4fb426}=_0xb97d90,{collaboration:_0x1099b5}=this[_0x46a2a2(0x456)][_0x46a2a2(0x30e)](_0x4fb426);if(_0x1099b5[_0x46a2a2(0x3e5)]===0x0)return _0xb97d90;let _0x42ef5b=_0xee8662[_0x46a2a2(0x492)][_0x46a2a2(0x1ed)](_0xb97d90[_0x46a2a2(0x21e)][0x0]);for(let _0x3ff972=0x0;_0x3ff972<_0x1099b5[_0x46a2a2(0x3e5)];_0x3ff972++){const _0x37b1fa={'id':_0x46a2a2(0x333),'params':{'unitId':_0x1099b5[_0x3ff972][_0x46a2a2(0x27a)],..._0x1099b5[_0x3ff972][_0x46a2a2(0x2f1)]}},_0x3d6667=this[_0x46a2a2(0x2bb)][_0x46a2a2(0x311)](_0x42ef5b,_0x37b1fa,!0x1);if(_0x597660[_0x46a2a2(0x338)](_0x3d6667))throw _0x3d6667[_0x46a2a2(0x1f8)];_0x42ef5b=_0x3d6667[_0x46a2a2(0x2cf)];}return{..._0xee8662['Tools'][_0x46a2a2(0x1ed)](_0xb97d90),'mutations':[_0x42ef5b]};}['_transformHistoryAndStateStack'](_0xff7797){const _0x12c1b7=_0x51d908,{unitID:_0x1a5dc0}=_0xff7797,{history:_0x2da2f7,collaboration:_0x18af87}=this[_0x12c1b7(0x456)]['getStateCache'](_0x1a5dc0);if(_0x2da2f7[_0x12c1b7(0x3e5)]===0x0&&_0x18af87[_0x12c1b7(0x3e5)]===0x0)return;const _0x4643d8=[],_0x48f769=[];let _0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]),_0x3ef22a=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x4ed15c=_0x2da2f7[_0x12c1b7(0x3e5)]-0x1;_0x4ed15c>=0x0;_0x4ed15c--){const _0xd07f3={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c][_0x12c1b7(0x367)]}},_0x10f7f={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c]['redoState']}},_0x13e52c=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0xd07f3,!0x1),_0x4c88f5=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x3ef22a,_0x10f7f,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x13e52c))throw _0x13e52c[_0x12c1b7(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x4c88f5))throw _0x4c88f5['error'];_0x4643d8['unshift']({..._0x2da2f7[_0x4ed15c],'undoState':_0x13e52c[_0x12c1b7(0x41d)]['params'],'redoState':_0x4c88f5[_0x12c1b7(0x41d)]['params']}),_0x22d049=_0x13e52c[_0x12c1b7(0x2cf)],_0x3ef22a=_0x4c88f5[_0x12c1b7(0x2cf)];}_0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797['mutations'][0x0]),_0x3ef22a=_0xee8662['Tools'][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x590d7d=_0x18af87[_0x12c1b7(0x3e5)]-0x1;_0x590d7d>=0x0;_0x590d7d--){const _0x462707={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d][_0x12c1b7(0x27a)],..._0x18af87[_0x590d7d][_0x12c1b7(0x367)]}},_0x2e0640={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d]['unitId'],..._0x18af87[_0x590d7d][_0x12c1b7(0x2f1)]}},_0x6d7dd3=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0x462707,!0x1),_0x2b471c=this['_transformService']['transformMutation'](_0x3ef22a,_0x2e0640,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x6d7dd3))throw _0x6d7dd3[_0x12c1b7(0x1f8)];if(_0x597660[_0x12c1b7(0x338)](_0x2b471c))throw _0x2b471c[_0x12c1b7(0x1f8)];_0x48f769[_0x12c1b7(0x35d)]({..._0x18af87[_0x590d7d],'undoState':_0x6d7dd3[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)],'redoState':_0x2b471c[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)]}),_0x22d049=_0x6d7dd3[_0x12c1b7(0x2cf)],_0x3ef22a=_0x2b471c[_0x12c1b7(0x2cf)];}this[_0x12c1b7(0x456)][_0x12c1b7(0x2be)](_0x1a5dc0,{'history':_0x4643d8,'collaboration':_0x48f769});}};_0x149e20=_0xa1e682([_0x55cf43(0x0,_0xee8662['Inject'](_0xee8662['Injector'])),_0x55cf43(0x1,_0x597660[_0x51d908(0x2ed)]),_0x55cf43(0x2,_0xee8662[_0x51d908(0x35b)](_0x42f82b[_0x51d908(0x1e9)]))],_0x149e20);var _0x1a8c91=Object[_0x51d908(0x34e)],_0x491528=(_0x5d5515,_0x44e6ff,_0x4c8fbf,_0x2b1af4)=>{const _0x21c35a=_0x51d908;for(var _0x43a314=_0x2b1af4>0x1?void 0x0:_0x2b1af4?_0x1a8c91(_0x44e6ff,_0x4c8fbf):_0x44e6ff,_0x194fd8=_0x5d5515[_0x21c35a(0x3e5)]-0x1,_0x1eadea;_0x194fd8>=0x0;_0x194fd8--)(_0x1eadea=_0x5d5515[_0x194fd8])&&(_0x43a314=_0x1eadea(_0x43a314)||_0x43a314);return _0x43a314;},_0x4d9cfd=(_0x25001c,_0x33aec6)=>(_0x1639d0,_0x7dc8d9)=>_0x33aec6(_0x1639d0,_0x7dc8d9,_0x25001c);let _0x359b23=class{constructor(_0xedbe0f,_0x88394a){this['_injector']=_0xedbe0f,this['_transformService']=_0x88394a;}[_0x51d908(0x36c)](_0x2f2c3a){const _0xf08659=_0x51d908;var _0xabeba9;const _0x41e239=this[_0xf08659(0x3e2)][_0xf08659(0x2ea)](_0xf806a0['DocSelectionManagerService']),_0x2a8fc9=(_0xabeba9=_0x41e239['getDocRanges']())!=null?_0xabeba9:[];if(_0x2a8fc9[_0xf08659(0x3e5)]===0x0)return;const _0x9d6fb1=_0x2f2c3a['unitID'],_0x482487=[{'id':_0xf08659(0x333),'params':{'unitId':_0x9d6fb1,'actions':null,'textRanges':_0x2a8fc9}}],_0x11744b=this[_0xf08659(0x2bb)][_0xf08659(0x3e8)](_0x2f2c3a,_0x482487);if(!_0x597660['isTransformMutationsWithChangesetSuccess'](_0x11744b))throw _0x11744b[_0xf08659(0x1f8)];const _0x15a91a=_0x11744b[_0xf08659(0x41d)][0x0][_0xf08659(0x41e)][_0xf08659(0x3cd)];Array[_0xf08659(0x1ee)](_0x15a91a)&&_0x15a91a[_0xf08659(0x3e5)]&&_0x41e239[_0xf08659(0x2b5)](_0x15a91a,{'unitId':_0x9d6fb1,'subUnitId':_0x9d6fb1},!0x1);}};_0x359b23=_0x491528([_0x4d9cfd(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x4d9cfd(0x1,_0x597660['ITransformService'])],_0x359b23);var _0x5b5f26=Object['getOwnPropertyDescriptor'],_0x36d830=(_0x1900b2,_0x20626e,_0x372eb2,_0x43da2a)=>{const _0x4f2674=_0x51d908;for(var _0x48b798=_0x43da2a>0x1?void 0x0:_0x43da2a?_0x5b5f26(_0x20626e,_0x372eb2):_0x20626e,_0x136a52=_0x1900b2[_0x4f2674(0x3e5)]-0x1,_0x2f84a8;_0x136a52>=0x0;_0x136a52--)(_0x2f84a8=_0x1900b2[_0x136a52])&&(_0x48b798=_0x2f84a8(_0x48b798)||_0x48b798);return _0x48b798;},_0x24c039=(_0x2df8da,_0x129c7d)=>(_0x302f21,_0xa1777)=>_0x129c7d(_0x302f21,_0xa1777,_0x2df8da);let _0x4352a6=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x235be7,_0xe9475c,_0x25df4e,_0x54a20f,_0x25c4de,_0x4d1bcd,_0x3bf149,_0x40e747){const _0x143f05=_0x51d908;super(),_0x3dad76(this,_0x143f05(0x419),new _0x3b7fba['BehaviorSubject'](_0x34c9b1[_0x143f05(0x326)][_0x143f05(0x2a3)])),(this[_0x143f05(0x456)]=_0x235be7,this[_0x143f05(0x2cb)]=_0xe9475c,this[_0x143f05(0x280)]=_0x25df4e,this[_0x143f05(0x2e7)]=_0x54a20f,this[_0x143f05(0x242)]=_0x25c4de,this[_0x143f05(0x29d)]=_0x4d1bcd,this['_messageService']=_0x3bf149,this[_0x143f05(0x4b9)]=_0x40e747,this[_0x143f05(0x44c)]());}[_0x51d908(0x44c)](){const _0x166966=_0x51d908;this[_0x166966(0x45a)](this['_collaborationController'][_0x166966(0x27f)]['subscribe'](_0x5e5c8c=>{const _0x358242=_0x166966,_0x1b1b6d=this[_0x358242(0x456)][_0x358242(0x360)]['subscribe'](_0xee2c3f=>{const _0x3655c2=_0x358242;if(_0xee2c3f==null)return;const {unitId:_0x24bed4,redoState:_0xca8cb1,commandId:_0x10a349}=_0xee2c3f;if(_0x24bed4!==_0x5e5c8c[_0x3655c2(0x436)])return;const _0x487a8e={'id':_0x10a349,'type':_0xee8662['CommandType'][_0x3655c2(0x337)],'params':{'unitId':_0x24bed4,'actions':_0xca8cb1[_0x3655c2(0x307)],'textRanges':null}};_0x5e5c8c[_0x3655c2(0x448)](_0x487a8e);});if(_0x5e5c8c[_0x358242(0x45a)](_0x1b1b6d),_0x5e5c8c instanceof _0x34c9b1['DocCollaborationEntity']){const _0x225e1b={'onTransformIME':_0x46e2eb=>this[_0x358242(0x280)]['transformIMECache'](_0x46e2eb),'onTransformState':_0x36bf93=>this[_0x358242(0x2e7)]['transformStateCache'](_0x36bf93),'onTransformSelections':_0xb2ccf8=>this[_0x358242(0x242)][_0x358242(0x36c)](_0xb2ccf8),'onSyncEditingCollabCursor':_0x3ff57b=>this[_0x358242(0x29d)][_0x358242(0x3e3)](_0x3ff57b),'onTransformRemoteChangesetByIMECache':_0x2166f2=>this[_0x358242(0x280)][_0x358242(0x225)](_0x2166f2),'onTransformRemoteChangesetByStateCache':_0x1ee41b=>this['_docTransformStateCacheService'][_0x358242(0x225)](_0x1ee41b)};_0x5e5c8c[_0x358242(0x24c)](_0x225e1b);}}));}};_0x4352a6=_0x36d830([_0x24c039(0x0,_0xee8662['Inject'](_0x42f82b['DocStateChangeManagerService'])),_0x24c039(0x1,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x24c039(0x2,_0xee8662[_0x51d908(0x35b)](_0xe97add)),_0x24c039(0x3,_0xee8662[_0x51d908(0x35b)](_0x149e20)),_0x24c039(0x4,_0xee8662['Inject'](_0x359b23)),_0x24c039(0x5,_0xee8662[_0x51d908(0x35b)](_0x3808c8)),_0x24c039(0x6,_0x2dde38[_0x51d908(0x3ca)]),_0x24c039(0x7,_0xee8662['Inject'](_0xee8662['LocaleService']))],_0x4352a6);var _0x28a552=(_0x56f67d=>(_0x56f67d[_0x56f67d[_0x51d908(0x30a)]=0x0]=_0x51d908(0x30a),_0x56f67d[_0x56f67d['OK']=0x1]='OK',_0x56f67d[_0x56f67d[_0x51d908(0x2d0)]=0x2]='INTERNAL_ERROR',_0x56f67d[_0x56f67d[_0x51d908(0x20f)]=0x3]='PERMISSION_DENIED',_0x56f67d[_0x56f67d['NOT_FOUND']=0x4]=_0x51d908(0x224),_0x56f67d[_0x56f67d[_0x51d908(0x391)]=0x5]='UNAUTHENTICATED',_0x56f67d[_0x56f67d[_0x51d908(0x36f)]=0x6]=_0x51d908(0x36f),_0x56f67d[_0x56f67d['INVALID_ARGUMENT']=0x7]=_0x51d908(0x2e8),_0x56f67d[_0x56f67d[_0x51d908(0x3a8)]=0x8]=_0x51d908(0x3a8),_0x56f67d[_0x56f67d[_0x51d908(0x327)]=0x9]=_0x51d908(0x327),_0x56f67d[_0x56f67d['LOGIN_FAILED']=0xa]=_0x51d908(0x46c),_0x56f67d[_0x56f67d[_0x51d908(0x437)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x56f67d[_0x56f67d[_0x51d908(0x216)]=0xc]=_0x51d908(0x216),_0x56f67d[_0x56f67d[_0x51d908(0x3c0)]=0xd]=_0x51d908(0x3c0),_0x56f67d[_0x56f67d[_0x51d908(0x3b2)]=0xe]=_0x51d908(0x3b2),_0x56f67d[_0x56f67d[_0x51d908(0x221)]=0xf]=_0x51d908(0x221),_0x56f67d[_0x56f67d[_0x51d908(0x3cc)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x56f67d[_0x56f67d[_0x51d908(0x1f5)]=0x64]=_0x51d908(0x1f5),_0x56f67d[_0x56f67d[_0x51d908(0x2d1)]=0x65]='ERROR_AGAIN',_0x56f67d[_0x56f67d[_0x51d908(0x449)]=0xc9]=_0x51d908(0x449),_0x56f67d[_0x56f67d[_0x51d908(0x41f)]=0xca]='USER_IS_ANONYMOUS',_0x56f67d[_0x56f67d[_0x51d908(0x37c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x56f67d[_0x56f67d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51d908(0x401),_0x56f67d[_0x56f67d[_0x51d908(0x21d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x56f67d[_0x56f67d[_0x51d908(0x32e)]=0x1773]=_0x51d908(0x32e),_0x56f67d[_0x56f67d['APPLY_REJECT']=0x1b59]=_0x51d908(0x488),_0x56f67d[_0x56f67d[_0x51d908(0x308)]=0x1b5a]=_0x51d908(0x308),_0x56f67d[_0x56f67d[_0x51d908(0x21c)]=0x1b5b]=_0x51d908(0x21c),_0x56f67d[_0x56f67d[_0x51d908(0x2ee)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x56f67d[_0x56f67d[_0x51d908(0x481)]=0x1b5d]=_0x51d908(0x481),_0x56f67d[_0x56f67d[_0x51d908(0x2b4)]=0x1f41]=_0x51d908(0x2b4),_0x56f67d[_0x56f67d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x373)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x56f67d[_0x56f67d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51d908(0x4b7),_0x56f67d[_0x56f67d[_0x51d908(0x3a7)]=0x232c]=_0x51d908(0x3a7),_0x56f67d[_0x56f67d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x51d908(0x20e),_0x56f67d[_0x56f67d[_0x51d908(0x260)]=0x2711]=_0x51d908(0x260),_0x56f67d[_0x56f67d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x51d908(0x3a9),_0x56f67d[_0x56f67d[_0x51d908(0x31d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x56f67d[_0x56f67d[_0x51d908(0x3b8)]=0x2714]=_0x51d908(0x3b8),_0x56f67d[_0x56f67d[_0x51d908(0x49c)]=0x271a]=_0x51d908(0x49c),_0x56f67d[_0x56f67d[_0x51d908(0x3f4)]=0x271b]=_0x51d908(0x3f4),_0x56f67d[_0x56f67d[_0x51d908(0x3a4)]=0x271c]=_0x51d908(0x3a4),_0x56f67d[_0x56f67d[_0x51d908(0x371)]=0x271d]=_0x51d908(0x371),_0x56f67d[_0x56f67d[_0x51d908(0x32a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x27e)]=0x271f]=_0x51d908(0x27e),_0x56f67d[_0x56f67d[_0x51d908(0x2a0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x56f67d[_0x56f67d[_0x51d908(0x206)]=0x2af9]=_0x51d908(0x206),_0x56f67d[_0x56f67d[_0x51d908(0x270)]=0x2ee1]=_0x51d908(0x270),_0x56f67d[_0x56f67d['INVALID_INVITE_CODE']=0x2ee2]=_0x51d908(0x215),_0x56f67d[_0x56f67d[_0x51d908(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x56f67d[_0x56f67d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51d908(0x49d),_0x56f67d[_0x56f67d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x51d908(0x38c),_0x56f67d[_0x56f67d[_0x51d908(0x3bc)]=0x32c9]=_0x51d908(0x3bc),_0x56f67d[_0x56f67d[_0x51d908(0x46a)]=0x32ca]=_0x51d908(0x46a),_0x56f67d[_0x56f67d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x51d908(0x1f9),_0x56f67d[_0x56f67d[_0x51d908(0x3e0)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x56f67d[_0x56f67d[_0x51d908(0x49e)]=0x36b2]=_0x51d908(0x49e),_0x56f67d[_0x56f67d[_0x51d908(0x294)]=0x36b3]=_0x51d908(0x294),_0x56f67d[_0x56f67d[_0x51d908(0x407)]=0x36b4]=_0x51d908(0x407),_0x56f67d[_0x56f67d['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x51d908(0x3da),_0x56f67d[_0x56f67d[_0x51d908(0x3dd)]=0x36b6]=_0x51d908(0x3dd),_0x56f67d[_0x56f67d[_0x51d908(0x2a5)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x56f67d[_0x56f67d['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x51d908(0x3b3),_0x56f67d[_0x56f67d[_0x51d908(0x411)]=0x3715]=_0x51d908(0x411),_0x56f67d[_0x56f67d[_0x51d908(0x3c4)]=0x3716]=_0x51d908(0x3c4),_0x56f67d[_0x56f67d['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x51d908(0x28a),_0x56f67d[_0x56f67d[_0x51d908(0x33d)]=0x37dd]=_0x51d908(0x33d),_0x56f67d[_0x56f67d[_0x51d908(0x454)]=0x3a99]=_0x51d908(0x454),_0x56f67d[_0x56f67d[_0x51d908(0x426)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x56f67d[_0x56f67d[_0x51d908(0x2b7)]=0x3a9b]=_0x51d908(0x2b7),_0x56f67d[_0x56f67d[_0x51d908(0x22f)]=0x3a9c]=_0x51d908(0x22f),_0x56f67d[_0x56f67d[_0x51d908(0x475)]=0x3a9d]=_0x51d908(0x475),_0x56f67d[_0x56f67d[_0x51d908(0x2b6)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x56f67d[_0x56f67d[_0x51d908(0x393)]=0x3a9f]=_0x51d908(0x393),_0x56f67d[_0x56f67d[_0x51d908(0x2e3)]=0x3e81]=_0x51d908(0x2e3),_0x56f67d[_0x56f67d[_0x51d908(0x340)]=-0x1]=_0x51d908(0x340),_0x56f67d))(_0x28a552||{});function _0x32f173(_0x34dddf){const _0x1d55ae=_0x51d908;var _0x1cb7a5,_0x47c66e;const _0x7c784d=(_0x1cb7a5=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x1cb7a5[_0x1d55ae(0x433)],_0x53a561=((_0x47c66e=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x47c66e[_0x1d55ae(0x2bc)])||0x0;return _0x7c784d===_0x150340[_0x1d55ae(0x3ee)][_0x1d55ae(0x2c8)]&&_0x53a561>0x0;}function _0x9ee2b8(_0x44f205){const _0x523896=_0x51d908;return _0x44f205[_0x523896(0x246)]===_0x150340[_0x523896(0x289)][_0x523896(0x297)];}var _0x358438=Object[_0x51d908(0x34e)],_0x3b80b6=(_0x4d8881,_0x40ddb5,_0x363f3c,_0x795c1b)=>{const _0x5e3d62=_0x51d908;for(var _0x216768=_0x795c1b>0x1?void 0x0:_0x795c1b?_0x358438(_0x40ddb5,_0x363f3c):_0x40ddb5,_0x32a51c=_0x4d8881[_0x5e3d62(0x3e5)]-0x1,_0x27a9d1;_0x32a51c>=0x0;_0x32a51c--)(_0x27a9d1=_0x4d8881[_0x32a51c])&&(_0x216768=_0x27a9d1(_0x216768)||_0x216768);return _0x216768;},_0x4b008e=(_0x55da95,_0x5c2ea)=>(_0x5594d8,_0x412c17)=>_0x5c2ea(_0x5594d8,_0x412c17,_0x55da95);const _0x8b4fcc=_0x51d908(0x409),_0x1ee3ff='/universer-api/license/formula/limit/start',_0xeba735=_0x51d908(0x43e);let _0x390518=class extends _0xee8662['Disposable']{constructor(_0x48ebb3,_0x2e1379,_0x8474b8,_0x3c7379,_0x1a2888,_0x416f24,_0xd440c9){const _0x24f739=_0x51d908;super(),_0x3dad76(this,_0x24f739(0x2ca),null),_0x3dad76(this,_0x24f739(0x3c5),0x0),_0x3dad76(this,_0x24f739(0x385),0x0),_0x3dad76(this,_0x24f739(0x310),[]),_0x3dad76(this,_0x24f739(0x2e2),0x0),(this[_0x24f739(0x423)]=_0x48ebb3,this[_0x24f739(0x4b6)]=_0x2e1379,this[_0x24f739(0x4ce)]=_0x8474b8,this[_0x24f739(0x3df)]=_0x3c7379,this[_0x24f739(0x4c6)]=_0x1a2888,this[_0x24f739(0x27c)]=_0x416f24,this['_localeService']=_0xd440c9,this[_0x24f739(0x272)]());}['_initCommandInterceptor'](){const _0x7d2c1c=_0x51d908;this[_0x7d2c1c(0x45a)](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4a9)]((_0x42f309,_0x475ea0)=>{const _0x2beea1=_0x7d2c1c;var _0x33eab4;if(_0x42f309['id']!==_0x150340[_0x2beea1(0x400)]['id'])return;const _0xc809e7=_0x42f309[_0x2beea1(0x41e)];if(!this['_hasFormulaInDirtyRanges']((_0x33eab4=_0xc809e7['dirtyRanges'])!=null?_0x33eab4:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x42f309,_0x475ea0),this[_0x2beea1(0x36b)](),new _0xee8662[(_0x2beea1(0x3e4))]();})),this['disposeWithMe'](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4c8)]((_0x24d801,_0x5aa852)=>{const _0x2da25f=_0x7d2c1c;if(_0x24d801['id']!==_0x150340[_0x2da25f(0x212)]['id'])return;const _0x236954=_0x24d801[_0x2da25f(0x41e)];if(_0x32f173(_0x236954)){const _0x353458=_0xee8662['generateRandomId']();this[_0x2da25f(0x310)][_0x2da25f(0x29f)](_0x353458),this['_startCalculationLimit'](_0x353458);}else{if(_0x9ee2b8(_0x236954)&&this[_0x2da25f(0x310)][_0x2da25f(0x3e5)]>0x0){const _0x36adbf=this[_0x2da25f(0x310)][_0x2da25f(0x49b)]();this[_0x2da25f(0x466)](_0x36adbf);}}}));}[_0x51d908(0x32d)](){const _0x1aab18=_0x51d908;super[_0x1aab18(0x32d)](),this[_0x1aab18(0x38a)](),this[_0x1aab18(0x310)]=[],this[_0x1aab18(0x385)]=0x0,this[_0x1aab18(0x3c5)]=0x0,this[_0x1aab18(0x2e2)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4b9691,_0x275f4d){const _0x5deca6=_0x51d908;for(let _0x541d55=0x0;_0x541d55<0x1e;_0x541d55++)try{if(await this[_0x5deca6(0x46e)](),this[_0x5deca6(0x3ed)]()){this[_0x5deca6(0x365)](_0x4b9691,_0x275f4d),this[_0x5deca6(0x423)]['show']({'content':this['_localeService']['t'](_0x5deca6(0x1e8)),'type':_0xefc44b[_0x5deca6(0x316)][_0x5deca6(0x47b)]});return;}await new Promise(_0x24f26d=>{const _0x1632a1=_0x5deca6;this[_0x1632a1(0x2ca)]=window[_0x1632a1(0x288)](_0x24f26d,0x3e8);});}catch(_0x447b7d){this[_0x5deca6(0x27c)][_0x5deca6(0x1f8)](_0x447b7d);}this[_0x5deca6(0x423)][_0x5deca6(0x458)]({'content':this[_0x5deca6(0x4b9)]['t']('formula.calculation.unable'),'type':_0xefc44b['MessageType'][_0x5deca6(0x46b)]});}[_0x51d908(0x365)](_0x126b44,_0x18bb34){const _0x36bd0b=_0x51d908;try{this[_0x36bd0b(0x4b6)][_0x36bd0b(0x45f)](_0x126b44['id'],_0x126b44['params'],_0x18bb34);}catch(_0x3be1c2){this[_0x36bd0b(0x27c)][_0x36bd0b(0x1f8)](_0x3be1c2);}}['_setFormulaLimitStatus'](_0x5ccf9c,_0x563906){const _0x3200c6=_0x51d908;_0x563906<this[_0x3200c6(0x2e2)]||(this[_0x3200c6(0x2e2)]=_0x563906,this[_0x3200c6(0x3c5)]=Number[_0x3200c6(0x3c2)](_0x5ccf9c[_0x3200c6(0x3be)]),this['_currentUsage']=Number[_0x3200c6(0x3c2)](_0x5ccf9c['currentUsage']));}async[_0x51d908(0x299)](_0x39ec59){const _0x2dae99=_0x51d908;var _0x471afe,_0x3cfb6f;const _0x423758=Date[_0x2dae99(0x335)]();try{const _0x263e04=((_0x471afe=this[_0x2dae99(0x4ce)][_0x2dae99(0x412)](_0x34c9b1[_0x2dae99(0x3eb)]))==null?void 0x0:_0x471afe[_0x2dae99(0x347)])||_0x1ee3ff,_0xe1fabf=(await this[_0x2dae99(0x3df)][_0x2dae99(0x3fb)](_0x263e04,{'body':JSON[_0x2dae99(0x464)]({'taskId':_0x39ec59})}))[_0x2dae99(0x2fe)];if(((_0x3cfb6f=_0xe1fabf[_0x2dae99(0x1f8)])==null?void 0x0:_0x3cfb6f['code'])!==_0x28a552['OK'])return;this[_0x2dae99(0x26c)](_0xe1fabf['limitInfo'],_0x423758);}catch(_0x29ef16){this[_0x2dae99(0x27c)][_0x2dae99(0x1f8)](_0x29ef16);}}async[_0x51d908(0x46e)](_0x2f7e30){const _0x5a4c86=_0x51d908;var _0x3fea4a,_0x74af5d;const _0x13dc01=Date[_0x5a4c86(0x335)]();try{const _0x208e77=((_0x3fea4a=this[_0x5a4c86(0x4ce)][_0x5a4c86(0x412)](_0x34c9b1[_0x5a4c86(0x3eb)]))==null?void 0x0:_0x3fea4a['getformulaLimitStatusUrl'])||_0x8b4fcc,_0x3894c7=_0x2f7e30?_0x208e77+_0x5a4c86(0x2dc)+encodeURIComponent(_0x2f7e30):_0x208e77,_0x24fab1=(await this[_0x5a4c86(0x3df)]['get'](_0x3894c7))[_0x5a4c86(0x2fe)];if(((_0x74af5d=_0x24fab1[_0x5a4c86(0x1f8)])==null?void 0x0:_0x74af5d[_0x5a4c86(0x43f)])!==_0x28a552['OK'])return;this[_0x5a4c86(0x26c)](_0x24fab1[_0x5a4c86(0x26d)],_0x13dc01);}catch(_0x5a5e44){this[_0x5a4c86(0x27c)][_0x5a4c86(0x1f8)](_0x5a5e44);}}async[_0x51d908(0x466)](_0x1902f1){const _0x49f76d=_0x51d908;var _0x2606ac,_0x3fb0b2;const _0x3f14bf=Date[_0x49f76d(0x335)]();try{const _0x40b09a=((_0x2606ac=this['_configService'][_0x49f76d(0x412)](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2606ac['releaseFormulaLimitUrl'])||_0xeba735,_0x3effa8=(await this[_0x49f76d(0x3df)][_0x49f76d(0x3fb)](_0x40b09a,{'body':JSON['stringify']({'taskId':_0x1902f1})}))[_0x49f76d(0x2fe)];if(((_0x3fb0b2=_0x3effa8[_0x49f76d(0x1f8)])==null?void 0x0:_0x3fb0b2[_0x49f76d(0x43f)])!==_0x28a552['OK'])return;this[_0x49f76d(0x26c)](_0x3effa8[_0x49f76d(0x26d)],_0x3f14bf);}catch(_0x386a54){this[_0x49f76d(0x27c)]['error'](_0x386a54);}}[_0x51d908(0x3ed)](){const _0x2aae40=_0x51d908;return this[_0x2aae40(0x3c5)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2aae40(0x385)]>0x0;}['_clearPolling'](){const _0x2fb953=_0x51d908;this[_0x2fb953(0x2ca)]&&(clearTimeout(this[_0x2fb953(0x2ca)]),this[_0x2fb953(0x2ca)]=null);}[_0x51d908(0x36b)](){const _0x55cc16=_0x51d908;this[_0x55cc16(0x423)][_0x55cc16(0x458)]({'content':this[_0x55cc16(0x4b9)]['t'](_0x55cc16(0x446)),'type':_0xefc44b['MessageType'][_0x55cc16(0x287)]});}['_hasFormulaInDirtyRanges'](_0x4ba447){const _0x330f4d=_0x51d908;for(const _0x43738d of _0x4ba447){const {unitId:_0x34a176,sheetId:_0x5dc196,range:_0x32e114}=_0x43738d,_0x99ecb9=this['_univerInstanceService']['getUnit'](_0x34a176);if(!_0x99ecb9)continue;const _0x3349aa=_0x99ecb9[_0x330f4d(0x3a6)](_0x5dc196);if(!_0x3349aa)continue;const _0xce5d96=_0x3349aa[_0x330f4d(0x42d)]();for(let _0x1ba7dd=_0x32e114[_0x330f4d(0x25e)];_0x1ba7dd<=_0x32e114[_0x330f4d(0x2d5)];_0x1ba7dd++)for(let _0x3745e7=_0x32e114[_0x330f4d(0x1ec)];_0x3745e7<=_0x32e114[_0x330f4d(0x34d)];_0x3745e7++){const _0x448cb6=_0xce5d96[_0x330f4d(0x319)](_0x1ba7dd,_0x3745e7);if(_0x448cb6&&(_0xee8662[_0x330f4d(0x43a)](_0x448cb6['f'])||_0xee8662['isFormulaId'](_0x448cb6['si'])))return!0x0;}}return!0x1;}};_0x390518=_0x3b80b6([_0x4b008e(0x0,_0xee8662[_0x51d908(0x35b)](_0x2dde38['IMessageService'])),_0x4b008e(0x1,_0xee8662[_0x51d908(0x2a9)]),_0x4b008e(0x2,_0xee8662[_0x51d908(0x487)]),_0x4b008e(0x3,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x4b008e(0x4,_0xee8662[_0x51d908(0x3b1)]),_0x4b008e(0x5,_0xee8662[_0x51d908(0x4b0)]),_0x4b008e(0x6,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x390518);var _0x19c6c2=Object[_0x51d908(0x34e)],_0x506e2c=(_0x22753c,_0x572196,_0x20e966,_0x4d0bd0)=>{for(var _0x1a2f2d=_0x4d0bd0>0x1?void 0x0:_0x4d0bd0?_0x19c6c2(_0x572196,_0x20e966):_0x572196,_0x5a6776=_0x22753c['length']-0x1,_0x1f30c6;_0x5a6776>=0x0;_0x5a6776--)(_0x1f30c6=_0x22753c[_0x5a6776])&&(_0x1a2f2d=_0x1f30c6(_0x1a2f2d)||_0x1a2f2d);return _0x1a2f2d;},_0xc84cb2=(_0x3ea0bf,_0x4f2011)=>(_0x3dc33a,_0x1b07a4)=>_0x4f2011(_0x3dc33a,_0x1b07a4,_0x3ea0bf);let _0x20f687=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x1f7fb2,_0x57713e,_0x16784c){const _0x5b1b9c=_0x51d908;super(),_0x3dad76(this,_0x5b1b9c(0x20c),new Map()),_0x3dad76(this,_0x5b1b9c(0x48a),new Map()),_0x3dad76(this,'_disabled',!0x1),(this['_configService']=_0x1f7fb2,this[_0x5b1b9c(0x37d)]=_0x57713e,this[_0x5b1b9c(0x3aa)]=_0x16784c);}[_0x51d908(0x29e)](){this['_disabled']=!0x0;}[_0x51d908(0x414)](){const _0x34a77b=_0x51d908;this[_0x34a77b(0x39c)]=!0x1;}get[_0x51d908(0x24d)](){const _0x16c585=_0x51d908;return this[_0x16c585(0x48a)];}[_0x51d908(0x32d)](){const _0xc7287e=_0x51d908;this[_0xc7287e(0x370)]()[_0xc7287e(0x2ec)](()=>super[_0xc7287e(0x32d)]());}async['loadOfflineData'](_0x27fcdc){const _0x5eb4dc=_0x51d908;return this[_0x5eb4dc(0x39c)]?null:this[_0x5eb4dc(0x37d)][_0x5eb4dc(0x2e5)](_0x34c9b1[_0x5eb4dc(0x2f2)](_0x27fcdc));}async[_0x51d908(0x22a)](_0x28a260,_0x133a1a){const _0x3e6c81=_0x51d908;return!!this[_0x3e6c81(0x37d)][_0x3e6c81(0x219)](_0x28a260,_0x133a1a);}['updateOfflineData'](_0x374d2c,_0x28abcc,_0x2824e6,_0x32a087){const _0x2d063b=_0x51d908,_0x20116d=this['_revisionService'][_0x2d063b(0x2b8)](_0x374d2c);this['_cachedData'][_0x2d063b(0x4c5)](_0x374d2c,{'unitID':_0x374d2c,'type':_0x28abcc,'awaitingChangeset':_0x2824e6,'mutations':_0x32a087,'rev':_0x20116d}),this[_0x2d063b(0x48a)][_0x2d063b(0x398)](_0x374d2c)||this[_0x2d063b(0x30b)](_0x374d2c);}[_0x51d908(0x30b)](_0x5072a6){const _0x1e652c=_0x51d908,_0x5c7685=this[_0x1e652c(0x47f)]();_0x5c7685===0x0?this[_0x1e652c(0x41c)](_0x5072a6):this['_saveTaskMap'][_0x1e652c(0x4c5)](_0x5072a6,setTimeout(()=>this['_saveCache'](_0x5072a6),_0x5c7685));}[_0x51d908(0x47f)](){const _0x4aacde=_0x51d908;var _0x21b51f;return(_0x21b51f=this[_0x4aacde(0x4ce)][_0x4aacde(0x412)](_0x34c9b1[_0x4aacde(0x364)]))!=null?_0x21b51f:_0x34c9b1[_0x4aacde(0x256)];}[_0x51d908(0x41c)](_0x5efae1){const _0x2f5087=_0x51d908,_0x3304e7=this[_0x2f5087(0x48a)][_0x2f5087(0x2ea)](_0x5efae1);return _0x3304e7!==void 0x0&&window[_0x2f5087(0x3f7)](_0x3304e7),this[_0x2f5087(0x37d)][_0x2f5087(0x219)](_0x34c9b1[_0x2f5087(0x2f2)](_0x5efae1),this[_0x2f5087(0x20c)][_0x2f5087(0x2ea)](_0x5efae1))[_0x2f5087(0x2ec)](()=>this['_saveTaskMap']['delete'](_0x5efae1));}async[_0x51d908(0x370)](){const _0x128c9d=_0x51d908,_0xd704d4=[];this[_0x128c9d(0x48a)][_0x128c9d(0x204)]((_0x75e55f,_0x10c948)=>{const _0x1ded2e=_0x128c9d;window[_0x1ded2e(0x3f7)](_0x75e55f),_0xd704d4['push'](this[_0x1ded2e(0x41c)](_0x10c948)[_0x1ded2e(0x2ec)](()=>{const _0x22e75b=_0x1ded2e;this[_0x22e75b(0x48a)][_0x22e75b(0x3fe)](_0x10c948);}));}),await Promise['all'](_0xd704d4);}};_0x20f687=_0x506e2c([_0xc84cb2(0x0,_0xee8662[_0x51d908(0x487)]),_0xc84cb2(0x1,_0xee8662[_0x51d908(0x1fc)]),_0xc84cb2(0x2,_0xee8662['Inject'](_0x597660[_0x51d908(0x21a)]))],_0x20f687);class _0xa62502 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x1a7b65=_0x51d908;super(),_0x3dad76(this,_0x1a7b65(0x2f4)),this[_0x1a7b65(0x2f4)]=_0x3b7fba[_0x1a7b65(0x315)](window,_0x1a7b65(0x3ef))[_0x1a7b65(0x2ba)](_0x3b7fba[_0x1a7b65(0x2a7)](this[_0x1a7b65(0x3b5)]),_0x3b7fba[_0x1a7b65(0x31a)](0x1),_0x3b7fba['mapTo'](void 0x0));}[_0x51d908(0x413)](_0x1f9ea8,_0x372e6d,_0xb3c4d5=!0x1){const _0xc035ab=_0x51d908,_0x21081c=new URL(window[_0xc035ab(0x25a)][_0xc035ab(0x4b2)]);_0x21081c['searchParams'][_0xc035ab(0x4c5)](_0x1f9ea8,_0x372e6d),_0xb3c4d5?window[_0xc035ab(0x444)][_0xc035ab(0x28e)]('','',_0x21081c[_0xc035ab(0x344)]()):window[_0xc035ab(0x444)][_0xc035ab(0x39f)]('','',_0x21081c[_0xc035ab(0x344)]());}[_0x51d908(0x30c)](_0x342fa2,_0x5210df=!0x1){const _0x35bf08=_0x51d908,_0x317b28=new URL(window[_0x35bf08(0x25a)][_0x35bf08(0x4b2)]);_0x317b28['searchParams'][_0x35bf08(0x3fe)](_0x342fa2),_0x5210df?window[_0x35bf08(0x444)][_0x35bf08(0x28e)]('','',_0x317b28['toString']()):window[_0x35bf08(0x444)]['pushState']('','',_0x317b28[_0x35bf08(0x344)]());}[_0x51d908(0x2c3)](_0x4e9252){const _0x17e227=_0x51d908;var _0x44fb2f;return(_0x44fb2f=new URL(window[_0x17e227(0x25a)][_0x17e227(0x4b2)])['searchParams'][_0x17e227(0x2ea)](_0x4e9252))!=null?_0x44fb2f:void 0x0;}}var _0x373fea=Object['defineProperty'],_0x2ed33f=Object[_0x51d908(0x34e)],_0x2320ae=(_0x469b2a,_0xf32d97,_0x2e262f)=>_0xf32d97 in _0x469b2a?_0x373fea(_0x469b2a,_0xf32d97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e262f}):_0x469b2a[_0xf32d97]=_0x2e262f,_0x2f68f7=(_0xac9f73,_0x3ef4bf,_0x50efa5,_0x39b4b7)=>{const _0x5c1637=_0x51d908;for(var _0x3aaf7f=_0x39b4b7>0x1?void 0x0:_0x39b4b7?_0x2ed33f(_0x3ef4bf,_0x50efa5):_0x3ef4bf,_0x4a6f64=_0xac9f73[_0x5c1637(0x3e5)]-0x1,_0x3a4023;_0x4a6f64>=0x0;_0x4a6f64--)(_0x3a4023=_0xac9f73[_0x4a6f64])&&(_0x3aaf7f=_0x3a4023(_0x3aaf7f)||_0x3aaf7f);return _0x3aaf7f;},_0x181ef4=(_0x1df3c1,_0xd8769)=>(_0x13dfcf,_0x4dfd87)=>_0xd8769(_0x13dfcf,_0x4dfd87,_0x1df3c1),_0x13fb9f=(_0x15d076,_0x266c41,_0x5ed013)=>_0x2320ae(_0x15d076,_0x266c41+'',_0x5ed013);const _0x1f5055=_0x51d908(0x259);_0x7f96f7[_0x51d908(0x2cc)]=class extends _0xee8662['Plugin']{constructor(_0x1d8cd4=_0x377916,_0x100b59,_0x1ab0b8,_0x1b13cb){const _0x56cd9d=_0x51d908;super(),this[_0x56cd9d(0x35c)]=_0x1d8cd4,this[_0x56cd9d(0x334)]=_0x100b59,this[_0x56cd9d(0x3e2)]=_0x1ab0b8,this[_0x56cd9d(0x4ce)]=_0x1b13cb;const {..._0x542af6}=_0xee8662[_0x56cd9d(0x378)]({},_0x377916,this[_0x56cd9d(0x35c)]);this['_configService'][_0x56cd9d(0x47a)](_0x52af33,_0x542af6);}['onStarting'](){const _0xb67af7=_0x51d908;this[_0xb67af7(0x2f8)](),this[_0xb67af7(0x4c0)]();}[_0x51d908(0x425)](){const _0x37a922=_0x51d908;this[_0x37a922(0x4ba)]();}[_0x51d908(0x2f8)](){const _0x3025c1=_0x51d908;var _0x2ce44f;const _0x547c39=[[_0x280e8f],[_0x390518],[_0x359b23],[_0xe97add],[_0x149e20],[_0x3808c8],[_0x188e9b,{'useClass':_0xa62502}],[_0x4d0037[_0x3025c1(0x479)],{'useClass':_0x4d0037['WebSocketService']}],[_0x34c9b1['ILocalCacheService'],{'useClass':_0x20f687}],[_0x7f96f7[_0x3025c1(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x16e293],[_0x124e21],[_0x7f96f7[_0x3025c1(0x4ca)]]];this['_config'][_0x3025c1(0x2ad)]&&_0x547c39[_0x3025c1(0x29f)]([_0x182b9c]),_0xee8662[_0x3025c1(0x2d3)](this['_injector'],_0xee8662[_0x3025c1(0x42a)](_0x547c39,(_0x2ce44f=this[_0x3025c1(0x35c)])==null?void 0x0:_0x2ce44f[_0x3025c1(0x352)]));}[_0x51d908(0x4ba)](){const _0x1afcc1=_0x51d908;this['disposeWithMe'](this[_0x1afcc1(0x334)]['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x2b1)],[_0x3a6e42])),this[_0x1afcc1(0x45a)](this['_renderManagerService']['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x1eb)],[_0x21834f]));}[_0x51d908(0x4c0)](){const _0x404690=_0x51d908;_0xee8662[_0x404690(0x350)](this[_0x404690(0x3e2)],[[_0x16e293],[_0x7f96f7[_0x404690(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x7f96f7[_0x404690(0x4ca)]],[_0x390518]]),this['_config']['enableFrontendLog']&&_0xee8662[_0x404690(0x350)](this['_injector'],[[_0x182b9c]]);}},_0x13fb9f(_0x7f96f7['UniverCollaborationClientUIPlugin'],_0x51d908(0x46d),_0x1f5055),_0x7f96f7[_0x51d908(0x2cc)]=_0x2f68f7([_0xee8662['DependentOn'](_0x34c9b1[_0x51d908(0x45e)]),_0x181ef4(0x1,_0x358391[_0x51d908(0x2d6)]),_0x181ef4(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x181ef4(0x3,_0xee8662['IConfigService'])],_0x7f96f7[_0x51d908(0x2cc)]);var _0x18494b=Object[_0x51d908(0x34e)],_0x1f7800=(_0x2e0c43,_0x2d3ef7,_0x13d874,_0x3f7b96)=>{const _0x535a55=_0x51d908;for(var _0x537268=_0x3f7b96>0x1?void 0x0:_0x3f7b96?_0x18494b(_0x2d3ef7,_0x13d874):_0x2d3ef7,_0x284ed1=_0x2e0c43[_0x535a55(0x3e5)]-0x1,_0x479536;_0x284ed1>=0x0;_0x284ed1--)(_0x479536=_0x2e0c43[_0x284ed1])&&(_0x537268=_0x479536(_0x537268)||_0x537268);return _0x537268;},_0x58729f=(_0x2a8747,_0x45febd)=>(_0x44d395,_0x4fee78)=>_0x45febd(_0x44d395,_0x4fee78,_0x2a8747);_0x7f96f7[_0x51d908(0x379)]=class extends _0x34c9b1[_0x51d908(0x2db)]{constructor(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6){super(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6);}async['createSocket'](_0x46d27e){const _0x3a9719=_0x51d908,_0x40ea73=await this[_0x3a9719(0x39b)](),_0x58f32d=this[_0x3a9719(0x231)](_0x46d27e,_0x40ea73);return this[_0x3a9719(0x440)](_0x58f32d);}[_0x51d908(0x231)](_0x45d0c5,_0x3b3fd9){const _0x4d09e9=_0x51d908,_0x3dbfd3=typeof window>'u'?new URL(_0x45d0c5):new URL(_0x45d0c5,window[_0x4d09e9(0x25a)][_0x4d09e9(0x392)]);_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)](_0x4d09e9(0x227),_0x3b3fd9);const _0x4b9321=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d09e9(0x25a)]['search']);return _0x4b9321['get'](_0x4d09e9(0x4c4))&&_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)]('runId',_0x4b9321['get'](_0x4d09e9(0x4c4))),_0x3dbfd3[_0x4d09e9(0x344)]();}async[_0x51d908(0x39b)](){const _0x26eb79=_0x51d908;var _0x254ed9,_0x44a5f4,_0x3616af;const _0xa699c0=this[_0x26eb79(0x4ce)]['getConfig'](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x411445=(_0x254ed9=_0xa699c0==null?void 0x0:_0xa699c0['wsSessionTicketUrl'])!=null?_0x254ed9:_0x34c9b1['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3616af=(_0x44a5f4=(await this[_0x26eb79(0x3df)][_0x26eb79(0x2ea)](_0x411445,{'headers':{'Content-Type':_0x26eb79(0x2f9)}}))[_0x26eb79(0x2fe)])==null?void 0x0:_0x44a5f4[_0x26eb79(0x201)])!=null?_0x3616af:'';}},_0x7f96f7[_0x51d908(0x379)]=_0x1f7800([_0x58729f(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x58729f(0x1,_0xee8662['Inject'](_0x4d0037[_0x51d908(0x32f)])),_0x58729f(0x2,_0xee8662[_0x51d908(0x487)]),_0x58729f(0x3,_0xee8662[_0x51d908(0x4b0)]),_0x58729f(0x4,_0x597660['ISnapshotServerService'])],_0x7f96f7[_0x51d908(0x379)]);var _0x2e334d=Object[_0x51d908(0x34e)],_0x223763=(_0x37ec36,_0x52e91f,_0x1a1b48,_0x84f114)=>{const _0x14be3d=_0x51d908;for(var _0x58816e=_0x84f114>0x1?void 0x0:_0x84f114?_0x2e334d(_0x52e91f,_0x1a1b48):_0x52e91f,_0x394022=_0x37ec36[_0x14be3d(0x3e5)]-0x1,_0x2f53a8;_0x394022>=0x0;_0x394022--)(_0x2f53a8=_0x37ec36[_0x394022])&&(_0x58816e=_0x2f53a8(_0x58816e)||_0x58816e);return _0x58816e;},_0x971ccb=(_0x1b38fa,_0x5447a6)=>(_0x4fb2a9,_0x41fbf4)=>_0x5447a6(_0x4fb2a9,_0x41fbf4,_0x1b38fa);_0x7f96f7[_0x51d908(0x271)]=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x2b92c6,_0xb150e1,_0x33cf42){const _0x4b47de=_0x51d908;super(),this[_0x4b47de(0x27d)]=_0x2b92c6,this['_httpService']=_0xb150e1,this['_configService']=_0x33cf42;}async[_0x51d908(0x441)](_0x3891ac,_0x23bcf8,_0x24606e,..._0x5c0f07){const _0x269ef2=_0x51d908;var _0x26a77f,_0x5dfcf2,_0x42e375,_0x3346f6;const _0x32c718=this[_0x269ef2(0x27d)][_0x269ef2(0x247)]();if(!_0x32c718)throw new Error(_0x269ef2(0x28b));const _0x1d49e9=((_0x26a77f=this[_0x269ef2(0x4ce)][_0x269ef2(0x412)](_0x34c9b1[_0x269ef2(0x262)]))!=null?_0x26a77f:_0x34c9b1[_0x269ef2(0x447)])+'/'+_0x3891ac+_0x269ef2(0x4ac)+_0x23bcf8,_0x162ee2=new URL(window['location'][_0x269ef2(0x4b2)]),_0x3472a6={'scriptId':_0x3891ac,'runId':(_0x5dfcf2=_0x162ee2['searchParams'][_0x269ef2(0x2ea)](_0x269ef2(0x4c4)))!=null?_0x5dfcf2:'','function':_0x23bcf8,'unitId':_0x32c718[_0x269ef2(0x3d9)](),'argsOfFunction':JSON[_0x269ef2(0x464)](_0x5c0f07),'invokeId':(_0x42e375=_0x24606e[_0x269ef2(0x24a)])!=null?_0x42e375:'','executionId':(_0x3346f6=_0x24606e[_0x269ef2(0x264)])!=null?_0x3346f6:''};try{const _0x46aabf=await this['_httpService'][_0x269ef2(0x3fb)](_0x1d49e9,{'body':_0x3472a6});return _0x46aabf['body']['error']&&_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x1f8)][_0x269ef2(0x43f)]!==_0x28a552['OK']?_0x269ef2(0x24f):_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x37e)];}catch{return'Failed';}}},_0x7f96f7['RemoteUniscriptService']=_0x223763([_0x971ccb(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x971ccb(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x971ccb(0x2,_0xee8662[_0x51d908(0x487)])],_0x7f96f7[_0x51d908(0x271)]);const _0x67458c=0x7530,_0x50edcd=_0x51d908(0x2c2);class _0x4f0a97 extends _0xee8662['Disposable']{constructor(){const _0x5e9fca=_0x51d908;super(),_0x3dad76(this,_0x5e9fca(0x2ef),_0xee8662['generateRandomId']()),_0x3dad76(this,_0x5e9fca(0x22d),new Set()),_0x3dad76(this,_0x5e9fca(0x304),new Map()),_0x3dad76(this,_0x5e9fca(0x269),null),_0x3dad76(this,_0x5e9fca(0x399),new Map()),_0x3dad76(this,_0x5e9fca(0x25b),new Map()),this[_0x5e9fca(0x336)]();}[_0x51d908(0x32d)](){const _0x29096c=_0x51d908;super[_0x29096c(0x32d)](),this[_0x29096c(0x399)][_0x29096c(0x204)]((_0x1dd37a,_0x2a96d5)=>this[_0x29096c(0x3d5)](_0x2a96d5)),this['_heartbeatTimer']&&window[_0x29096c(0x322)](this[_0x29096c(0x269)]);}[_0x51d908(0x284)](_0x329237){const _0x29de41=_0x51d908;return this[_0x29de41(0x47e)](_0x329237)[_0x29de41(0x2ba)](_0x3b7fba[_0x29de41(0x3a0)]());}[_0x51d908(0x3f5)](_0x1d375d){const _0x9cbb11=_0x51d908;this[_0x9cbb11(0x22d)][_0x9cbb11(0x283)]===0x0&&this[_0x9cbb11(0x26e)](),this[_0x9cbb11(0x22d)][_0x9cbb11(0x3b7)](_0x1d375d),this['_send']({'type':0x0,'memberID':this[_0x9cbb11(0x2ef)],'unitIDs':[_0x1d375d],'isForwarded':!0x1});}[_0x51d908(0x28c)](_0x2be12d){const _0x3688de=_0x51d908;this[_0x3688de(0x22d)]['delete'](_0x2be12d),this[_0x3688de(0x22d)][_0x3688de(0x283)]===0x0&&this[_0x3688de(0x269)]&&window[_0x3688de(0x322)](this['_heartbeatTimer']);}[_0x51d908(0x336)](){const _0xe0928e=_0x51d908;this[_0xe0928e(0x45a)](_0xee8662[_0xe0928e(0x211)](_0x3b7fba[_0xe0928e(0x315)](window,_0xe0928e(0x363))[_0xe0928e(0x329)](_0x28fa74=>{const _0x10a642=_0xe0928e;if(_0x28fa74['key']!==_0x50edcd||!_0x28fa74[_0x10a642(0x4cc)])return;const _0x5e6023=JSON['parse'](_0x28fa74[_0x10a642(0x4cc)]);this['_handleEvent'](_0x5e6023);}))),window[_0xe0928e(0x438)](_0xe0928e(0x471),()=>this[_0xe0928e(0x388)]({'type':0x1,'memberID':this[_0xe0928e(0x2ef)],'unitIDs':Array[_0xe0928e(0x3cb)](this[_0xe0928e(0x22d)])}));}[_0x51d908(0x2aa)](_0x2dee78){const _0xbb9fad=_0x51d908;switch(_0x2dee78[_0xbb9fad(0x4b1)]){case 0x0:this[_0xbb9fad(0x266)](_0x2dee78);break;case 0x1:this['_handleLeaveEvent'](_0x2dee78);break;case 0x2:this[_0xbb9fad(0x29a)](_0x2dee78);break;}}[_0x51d908(0x266)](_0x15b75e){const _0x33374d=_0x51d908,{unitIDs:_0x330e3c,memberID:_0x1003f2,isForwarded:_0x348ebb}=_0x15b75e;_0x330e3c['forEach'](_0x3a74c4=>{const _0x351fda=_0x2c0f;if(!_0x348ebb&&this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)&&this[_0x351fda(0x47e)](_0x3a74c4)[_0x351fda(0x2e1)](_0x34c9b1[_0x351fda(0x2f5)][_0x351fda(0x418)]),!this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)||!this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)['has'](_0x1003f2)){const _0xcee430=this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)||new Set();_0xcee430[_0x351fda(0x3b7)](_0x1003f2),this[_0x351fda(0x304)][_0x351fda(0x4c5)](_0x3a74c4,_0xcee430),this['_scheduleClearOtherTimer'](_0x1003f2);}}),_0x348ebb||this[_0x33374d(0x388)]({'type':0x0,'memberID':this[_0x33374d(0x2ef)],'unitIDs':[...this[_0x33374d(0x22d)]],'isForwarded':!0x0});}[_0x51d908(0x275)](_0x3a24de){const _0x5e15ef=_0x51d908;this['_removeClearOtherTimer'](_0x3a24de);const _0x11b927=window['setTimeout'](()=>{const _0x33014d=_0x2c0f;this[_0x33014d(0x304)][_0x33014d(0x204)](_0x12ab70=>{_0x12ab70['delete'](_0x3a24de);});},_0x67458c*0x2);this[_0x5e15ef(0x399)]['set'](_0x3a24de,_0x11b927);}[_0x51d908(0x3d5)](_0x465ccb){const _0xec26e1=_0x51d908;if(this[_0xec26e1(0x399)][_0xec26e1(0x398)](_0x465ccb)){const _0x45cb84=this[_0xec26e1(0x399)][_0xec26e1(0x2ea)](_0x465ccb);_0x45cb84&&window[_0xec26e1(0x3f7)](_0x45cb84),this[_0xec26e1(0x399)][_0xec26e1(0x4c5)](_0x465ccb,null);}}['_handleLeaveEvent'](_0x3ac982){const _0x4bc887=_0x51d908,{memberID:_0x347b98,unitIDs:_0x259f36}=_0x3ac982;_0x259f36[_0x4bc887(0x204)](_0x363bc3=>{const _0x59f2fe=_0x4bc887;var _0x291684;const _0x3e20fc=this[_0x59f2fe(0x304)][_0x59f2fe(0x2ea)](_0x363bc3);_0x3e20fc&&(_0x3e20fc[_0x59f2fe(0x3fe)](_0x347b98),(_0x291684=this['_ensureSubject'](_0x363bc3))==null||_0x291684[_0x59f2fe(0x2e1)](_0x3e20fc['size']===0x0?_0x34c9b1[_0x59f2fe(0x2f5)]['NO_OTHER_CLIENTS_EDITING']:_0x34c9b1['UnitStatus'][_0x59f2fe(0x418)]));}),this['_removeClearOtherTimer'](_0x347b98);}[_0x51d908(0x29a)](_0x46a850){const _0xe87eba=_0x51d908;this['_scheduleClearOtherTimer'](_0x46a850[_0xe87eba(0x2ab)]);}[_0x51d908(0x388)](_0x8c6d9b){localStorage['setItem'](_0x50edcd,JSON['stringify'](_0x8c6d9b));}[_0x51d908(0x26e)](){const _0x501db2=_0x51d908;this['_heartbeatTimer']=window[_0x501db2(0x342)](()=>{const _0x59528e=_0x501db2;this['_send']({'type':0x2,'memberID':this[_0x59528e(0x2ef)]});},_0x67458c);}[_0x51d908(0x47e)](_0x53a1e5){const _0x19e41f=_0x51d908;return this[_0x19e41f(0x25b)][_0x19e41f(0x398)](_0x53a1e5)||this[_0x19e41f(0x25b)][_0x19e41f(0x4c5)](_0x53a1e5,new _0x3b7fba[(_0x19e41f(0x45d))](_0x34c9b1[_0x19e41f(0x2f5)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x19e41f(0x25b)][_0x19e41f(0x2ea)](_0x53a1e5);}}_0x7f96f7[_0x51d908(0x3a5)]=_0x188e9b,_0x7f96f7[_0x51d908(0x203)]=_0x118cd0,_0x7f96f7[_0x51d908(0x3ae)]=_0x4f0a97,_0x7f96f7[_0x51d908(0x22e)]=_0xa62502,Object[_0x51d908(0x359)](_0x7f96f7,Symbol[_0x51d908(0x4be)],{'value':_0x51d908(0x480)});}));function _0x4670(){const _0x48224d=['addObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getVpScrollXYInfoByPosToVp','M0\x200H16V16H0z','getMergeData','764460tRyDtR','merge','BrowserCollaborationSocketService','_labelPosition','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','_localStorageService','result','_imageIoService','24dyoGEL','uni.network.url-service','function','sheetId','fillRule','_currentUsage','currentSkeleton$','_document','_send','beginPath','_clearPolling','collabStatus.syncing','INVITE_CODE_ALREADY_BOUND','getColorFromTheme','colorChannel1','_scene','stageInfo','UNAUTHENTICATED','origin','REDEMPTION_CODE_HAS_BEEN_CREATED','IUIPartsService','triggerDblclick','195599qkbVFo','height','has','_clearOtherTimers','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','_getSessionTicket','_disabled','sessionStatus$','@univerjs/core','pushState','distinctUntilChanged','session.collaboration-timeout','UniverDocs','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IURLService','getSheetBySheetId','LICENSE_EXPORT_SIZE_EXCEEDED','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','_revisionService','includes','values','getRenderById','WebBrowserSingleActiveUnitService','@univerjs/sheets','OnLineIcon','IUniverInstanceService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_initEvent','dispose$','reason','add','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','_uploadLog','UniverEngineFormula','WECHAT_HAS_BEEN_BOUND','getCurrentSelections','maxFormulaLimit','Optional','EMAIL_VERIFY_CODE_MISMATCH','on-line-icon_clip0_910_349','parseInt','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','_maxFormulaLimit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_colorAssignService','color','debug','IMessageService','from','LOGIN_TOKEN_PROCESSING_FAILED','textRanges','imageSourceType','symbol','getColor','skeleton','VIEW_MAIN','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','clsx','_removeClearOtherTimer','[LogService\x20Error]:\x20','getCurrent','_updateCollabCursors','getUnitId','ENTITLE_INVALID_COUPON_CODE','assignAColorForMemberID','react/jsx-runtime','ENTITLE_COUPON_EXPIRED','_collaborationSessionService','_httpService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_updateSubUnitFromURLParams','_injector','syncEditingCollabCursor','CanceledError','length','_collaborationUIEventService','RemoveColCommandId','transformMutationsWithChangeset','Vector2','CLOSE_ROOM','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','text','_checkCalculationAvailable','FormulaExecuteStageType','popstate','data','React','_initStatusComponent','_collabCursorController','YUUMI_ASYNCIO_CANCELLED','editingUnit','sheetID','clearTimeout','registerBeforeClose','setAlpha','drawWith','post','collab-text-range-','whenReady','delete','width','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','_drawRectRange','OffLineIcon','ONLINE','fill','RegularPolygon','PAYMENT_CHANNEL_NOT_SUPPORT','[Window\x20Error]:\x20','/universer-api/license/formula/limit/status','handleIRemoveRow','EffectRefRangId','url(#$1','_urlService','_initCommandExecutedListener','switchMap','idSuffix','ENTITLE_CHAT_LIMIT_EXCEED','getConfig','setParam','enableLocalCache','_hovered','RichTextEditingMutation','DOC_RANGE_TYPE','OTHER_CLIENTS_EDITING','_status$','TEXT_RANGE_LAYER_INDEX','http://www.w3.org/2000/svg','_saveCache','m2Prime','params','USER_IS_ANONYMOUS','getCollabCursors$','UniverDocsUi','_onCursorDelete','_messageService','attrs','onRendered','REDEMPTION_CODE_INACTIVE','_initWindowErrorListener','asObservable','_themeService','mergeOverrideWithDependencies','handleInsertRangeMoveDown','DocIMEInputManagerService','getCellMatrix','...','throttleTime','catch','_online','object','stage','_setupBeforeClosingHandler','onMouseMove','unitID','MOBILE_VERIFY_CODE_MISMATCH','addEventListener','getCollabEntity$','isFormulaString','engine','purple.300','_cursorInfo$','/universer-api/license/formula/limit/done','code','_doCreateSocket','runOnServer','flatMap','save','history','4EWPQRJ','formula.calculation.waiting','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','USER_NOT_FOUND','onPointerLeave$','message','_initEntityListener','/universer-api/frontend/logs','_cursorShapes','@univerjs/docs-ui','reconnect','getSheetId','div','moveTo','REDEMPTION_INVALID_CODE','_entities','_docStateChangeManagerService','join','show','useRef','disposeWithMe','react','_docClipboardService','BehaviorSubject','UniverCollaborationClientPlugin','executeCommand','Rect','subunit','@univerjs/design','cursorInfo','stringify','getTypeOfUnitAdded$','_releaseCalculationLimit','@univerjs/docs','427MfjwVJ','_dataLoaderService','MOBILE_HAS_BEEN_BOUND','Error','LOGIN_FAILED','pluginName','_getFormulaLimitStatus','TEXT','isTransformMutationsWithChangesetSuccess','unload','eventID','findNodePositionByCharIndex','isActive','REDEMPTION_USER_NOT_ELIGIBLE','COLORS','@univerjs/network','evenodd','ISocketService','setConfig','Success','UniverInstanceType','operators','_ensureSubject','_getSaveTimeout','Module','APPLY_DUPLICATED','[Unhandled\x20Rejection]:\x20','measureText','combineLatest','cursorInfo$','saveImage','IConfigService','APPLY_REJECT','column','_saveTaskMap','path','children','ranges','UniverSheetsUi','SOCKET_FAILED_RETRY','rgba(255,\x20255,\x20255,\x200.01)','SetSelectionsOperation','Tools','MoveRangeCommandId','Rectangle','green.600','_beforeCloseService','_eventUnsubscribe','Subject','collaboration-client-ui.config','selection','shift','YUUMI_NO_CUBOID_FOR_QUESTION','USER_NOT_INVITED_CODE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sheetSkeletonManagerService','clipPath','handleInsertRangeMoveRight','getCoordByCell','_handleHover','1em','UPDATE_CURSOR','collabStatus.conflict','collab-text-anchor-','permission.title','beforeCommandExecuted','currentColor','svg','/run/','_removeCollabCursors','addObjects','createIdentifier','ILogService','type','href','DesktopCollaborationStatusDisplayController','InsertRangeMoveRightCommandId','removeEventListener','_commandService','LICENSE_IMPORT_SIZE_EXCEEDED','HEADER_MENU','_localeService','_registerRenderDependencies','row','_anchorDot','CollaborationUIEventService','toStringTag','generateRandomId','_initDependencies','_setupSubUnitSync','Disposable','_onCursorUpdate','runId','set','_univerInstanceService','#FFF','onCommandExecuted','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','_refreshCollabCursors','newValue','debounceTime','_configService','activeSheet$','_memberService','_render','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','map','formula.calculation.started','DocStateChangeManagerService','collab-rect-range-','UNIVER_SHEET','startColumn','deepClone','isArray','SessionStatus','NodePositionConvertToCursor','156VIgURo','round','_anchor','session.will-retry','CURRENT_STATUS_CANNOT_OPERATE','[CollaborationDataLoaderController]','_getScale','error','EMAIL_HAS_BEEN_BOUND','109208fulQtH','url(#off-line-icon_clip0_910_343)','ILocalStorageService','_notificationService','UniverRpc','bottom','collabStatus.synced','ticket','filter','SheetCollabCursorShape','forEach','getUniverSheetInstance','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventId','black','IDocClipboardService','replace','FETCH_MISS','_cachedData','UniverIcon','LICENSE_DISTRO_REJECTED','PERMISSION_DENIED','getRelativeToViewportCoord','toDisposable','SetFormulaCalculationNotificationMutation','getTypeOfUnitDisposed$','getMember','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defIds','getCellPositionByOffset','setItem','RevisionService','createInstance','APPLY_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','mutations','unsubscribe','_range','AUTHORIZE_CODE_ILLEGAL','debounce','AWAITING','NOT_FOUND','transformRemoteChangeset','filename','sessionTicket','_backgroundColor','getSkeleton','saveOfflineData','SheetSkeletonManagerService','blue.400','_selfUnitIDs','WebURLService','REDEMPTION_CODE_NOT_STARTED','_syncEditingCollabCursorService','_createSocketURL','defs','handleMoveRange','_memberID','toRgbString','top','handleInsertCol','RECT','contains','getMemberID','getUndoRedoMutationParamsCache','getActiveSheet','fillText','_initResize','INVITE_CODE_REQUIRED','rxjs','LocaleService','_docTransformSelectionsService','Shape','lineno','UniverDrawing','functionsExecutedState','getFocusedUnit','registerRefRange','_toggleOnline','invokeId','range','addHandlerCallback','saveTaskMap','complete','Failed','getOffsetConfig','1260999WdqbXe','_drawAnchor','Workbook','CONFLICT','string','LOCAL_CACHE_INTERVAL','ThemeService','xlink:href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','location','_unitStatus','getViewport','red.300','startRow','CollaborationSessionService','YUUMI_UNABLE_LOAD_URL','148SUVJOy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','socket$','executionId','with','_handleJoinEvent','unit','init','_heartbeatTimer','UniverSheets','univer-flex\x20univer-items-center','_setFormulaLimitStatus','limitInfo','_scheduleHeartbeat','UniverProCollaboration','INVITE_CODE_HAS_BEEN_UES','RemoteUniscriptService','_initCommandInterceptor','_initStatusListener','_getAnchorBounding','_scheduleClearOtherTimer','40692PHQyOq','unhandledrejection','onPointerEnter$','getUnhiddenWorksheets','unitId','_startSheetCollabCursor','_logService','_instanceService','YUUMI_AI_RUN_FAILED','entityInit$','_docTransformIMECacheService','SetDocZoomRatioOperation','_getSheetObject','size','getUnitStatus$','IImageIoService','_docSkeletonManagerService','Loading','setTimeout','FormulaExecutedStateType','ENTITLE_INSUFFICIENT_QUOTA','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeUnit','collaboration.closeRoom','replaceState','IBeforeCloseService','selections','font','OFFLINE','lineTo','ENTITLE_DUP_SUBSCRIPTION','RemoveRowCommandId','subscribeEvent','SUCCESS','collab-client.tooltip.reconnect','_startCalculationLimit','_handleHeartbeatEvent','_transformPreviousActiveRange','_session','_docSyncEditingCollabCursorService','disableLocalCache','push','YUUMI_CONNECTOR_URL_NOT_FOUND','_refRangeService','getRangePointData','NOT_COLLAB','requireSession','ENTITLE_COUPON_USED_UP','source','takeUntil','_roomMembers$','ICommandService','_handleEvent','memberID','roomMembers$','enableFrontendLog','min','_docSkeleton','tag','UNIVER_DOC','UniverProCollaborationClient','@univerjs-pro/collaboration-client','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','REDEMPTION_CODE_FULLY_REDEEMED','getCurrentRevOfUnit','handleDeleteRangeMoveLeft','pipe','_transformService','totalFormulasToCalculate','mask','setStateCache','transform','transformStateCache','getAncestorScale','ACTIVE_UNIT_EVENT_CHANNEL','getParam','collaboration.offline-data-not-saved','1228956TMqrXP','PENDING','name','START_CALCULATION','session.connection-failed','_pollingInterval','_collaborationController','UniverCollaborationClientUIPlugin','_initUserListener','restore','m1Prime','INTERNAL_ERROR','ERROR_AGAIN','_shapes','registerDependencies','23455WLrdVT','endRow','IRenderManagerService','_name','UniverCore','MemberService','createElement','CollaborationSocketService','?taskId=','Tooltip','@univerjs/engine-formula','InsertRangeMoveDownCommandId','entries','next','_lastResponseTimestamp','DATA_SOURCE_TOO_LARGE','_hideTimer','getItem','@univerjs/ui','_docTransformStateCacheService','INVALID_ARGUMENT','INotificationService','get','RxDisposable','then','ITransformService','APPLY_PERMISSION_DENIED','_id','jsxs','redoState','getLocalCacheKey','_lastPointer','urlChange$','UnitStatus','searchParams','_initUnhandledRejectionListener','_registerDependencies','application/json','setUndoRedoMutationParamsCache','_color','registerComponent','_updateLocalCursor','body','0\x200\x2016\x2016','closePath','IRemoteInstanceService','serializeRangeWithSheet','onTransformChange$','_unitOnClients','_monkeyPatchLogService','current','actions','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','UNDEFINED','_scheduleSaving','removeParam','_cursor','getStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','transformMutation','off-line-icon_clip0_910_343','deserializeRangeWithSheet','Injector','fromEvent','MessageType','bind','_startDocCollabCursor','getValue','shareReplay','trim','@univerjs/engine-render','YUUMI_RATE_OVER_LIMIT','FromArray','_onRefRangeChange','send','setShapeProps','clearInterval','CollaborationController','_assignedColors','useDependency','CollaborationStatus','COMPLETION_FINISHED','_collabSessionService','subscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','_uiPartsService','dispose','ENSURE_SNAPSHOT_EXECUTION','HTTPService','jsx','CollaborationEvent','white','doc.mutation.rich-text-editing','_renderManagerService','now','_init','MUTATION','isTransformMutationFailure','@univerjs/drawing','Warning','DataLoaderService','find','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets-ui','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNRECOGNIZED','UniverDesign','setInterval','currentTheme$','toString','event$','status$','startFormulaLimitUrl','fillStyle','random','none','handleDeleteRangeMoveUp','runRefRangeMutations','endColumn','getOwnPropertyDescriptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','touchDependencies','JOIN_ROOM_FAILED','override','_drawTextRange','split','_context','_localCacheService','SetTextSelectionsOperation','stack','defineProperty','assign','Inject','_config','unshift','DocSkeletonManagerService','_getMergeRange','docStateChange$','_updateURLWithCurrentState','_hover','storage','LOCAL_CACHE_INTERVAL_KEY','_applyCommand','_entityInit$','undoState','_draw','displayName','UniverEngineRender','_showGuardMessage','transformSelections','OTHER_CLIENT_EDITING','forwardRef','ALREADY_EXISTS','exhaustSavingTask','YUUMI_ALL_TABLES_IS_INVALID'];_0x4670=function(){return _0x48224d;};return _0x4670();}
|