@univerjs-pro/collaboration-client-ui 0.16.1 → 0.17.0
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/sk-SK.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/sk-SK.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/sk-SK.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/types/plugin.d.ts +2 -0
- 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/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x29f525,_0x13b533){const _0x35d19a=_0x4f4a,_0x18e649=_0x29f525();while(!![]){try{const _0x12d7d1=-parseInt(_0x35d19a(0x38c))/0x1+parseInt(_0x35d19a(0x392))/0x2+parseInt(_0x35d19a(0x1ed))/0x3*(parseInt(_0x35d19a(0x2a5))/0x4)+parseInt(_0x35d19a(0x19d))/0x5*(-parseInt(_0x35d19a(0x232))/0x6)+parseInt(_0x35d19a(0xf7))/0x7*(-parseInt(_0x35d19a(0x208))/0x8)+parseInt(_0x35d19a(0x124))/0x9*(parseInt(_0x35d19a(0x158))/0xa)+parseInt(_0x35d19a(0xe8))/0xb;if(_0x12d7d1===_0x13b533)break;else _0x18e649['push'](_0x18e649['shift']());}catch(_0x8a5fe4){_0x18e649['push'](_0x18e649['shift']());}}}(_0x458d,0xcd23a),function(_0x187132,_0x5c6ee8){const _0x206b75=_0x4f4a;typeof exports==_0x206b75(0xd0)&&typeof module<'u'?_0x5c6ee8(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==_0x206b75(0x341)&&define[_0x206b75(0x15a)]?define([_0x206b75(0x132),_0x206b75(0xcc),_0x206b75(0xfd),'@univerjs/core','@univerjs/ui',_0x206b75(0x22e),_0x206b75(0x2c3),_0x206b75(0x318),_0x206b75(0x37d),'@univerjs/sheets','@univerjs/engine-render',_0x206b75(0x156),'@univerjs/docs-ui',_0x206b75(0x20a),'@univerjs-pro/collaboration',_0x206b75(0x339),_0x206b75(0x2e8),_0x206b75(0xe0),_0x206b75(0x204)],_0x5c6ee8):(_0x187132=typeof globalThis<'u'?globalThis:_0x187132||self,_0x5c6ee8(_0x187132[_0x206b75(0x335)]={},_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x316)],_0x187132[_0x206b75(0x389)],_0x187132[_0x206b75(0x20d)],_0x187132['rxjs'],_0x187132[_0x206b75(0x2ad)],_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x33a)],_0x187132['UniverSheets'],_0x187132[_0x206b75(0x353)],_0x187132[_0x206b75(0x269)],_0x187132['UniverDocsUi'],_0x187132[_0x206b75(0x3a2)],_0x187132[_0x206b75(0x329)],_0x187132['UniverDocs'],_0x187132['UniverEngineFormula'],_0x187132[_0x206b75(0x22e)][_0x206b75(0x1c9)],_0x187132[_0x206b75(0xbb)]));}(this,function(_0x12f853,_0x96b66,_0x483f62,_0x2f9c71,_0x97839d,_0x4b9e95,_0x15837d,_0x4301c4,_0x67e237,_0x219559,_0x3281d5,_0x1c1235,_0x244982,_0x484fb1,_0x555c33,_0x20fc77,_0x5a5f64,_0x32e776,_0x4dff07){'use strict';const _0x1203bc=_0x4f4a;var _0x4d54f9=Object[_0x1203bc(0x34f)],_0x389878=(_0x3ea495,_0xa76e66,_0x4d5362)=>_0xa76e66 in _0x3ea495?_0x4d54f9(_0x3ea495,_0xa76e66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d5362}):_0x3ea495[_0xa76e66]=_0x4d5362,_0x5e2d7e=(_0x58980c,_0x3a5d25,_0x1c3e53)=>_0x389878(_0x58980c,typeof _0x3a5d25!=_0x1203bc(0x170)?_0x3a5d25+'':_0x3a5d25,_0x1c3e53);function _0x195981({ref:_0xf9305e,..._0x46b691}){const _0x432d1e=_0x1203bc,{icon:_0x2345d6,id:_0x5a8117,className:_0x59cd59,extend:_0x33c950,..._0x54f83b}=_0x46b691,_0x43e9d5=(_0x432d1e(0x31b)+_0x5a8117+'\x20'+(_0x59cd59||''))[_0x432d1e(0x261)](),_0x2bbca9=_0x4301c4['useRef']('_'+_0x2bf27c());return _0x435068(_0x2345d6,''+_0x5a8117,{'defIds':_0x2345d6[_0x432d1e(0x1c2)],'idSuffix':_0x2bbca9[_0x432d1e(0x360)]},{'ref':_0xf9305e,'className':_0x43e9d5,..._0x54f83b},_0x33c950);}function _0x435068(_0x263044,_0x2201cb,_0x5e9086,_0x1264f9,_0x7cc389){const _0x204963=_0x1203bc;return _0x4301c4[_0x204963(0x36f)](_0x263044[_0x204963(0x31f)],{'key':_0x2201cb,..._0x34f126(_0x263044,_0x5e9086,_0x7cc389),..._0x1264f9},(_0x211b01(_0x263044,_0x5e9086)[_0x204963(0x2ef)]||[])['map']((_0x5bf72e,_0xa40c5c)=>_0x435068(_0x5bf72e,_0x2201cb+'-'+_0x263044['tag']+'-'+_0xa40c5c,_0x5e9086,void 0x0,_0x7cc389)));}function _0x34f126(_0x35626f,_0x1fbed5,_0x4e1d7e){const _0x4ef02c=_0x1203bc,_0x2fbf5b={..._0x35626f[_0x4ef02c(0x310)]};_0x4e1d7e!=null&&_0x4e1d7e['colorChannel1']&&_0x2fbf5b[_0x4ef02c(0x10b)]==='colorChannel1'&&(_0x2fbf5b[_0x4ef02c(0x10b)]=_0x4e1d7e['colorChannel1']),_0x35626f['tag']===_0x4ef02c(0x240)&&_0x2fbf5b['id']&&(_0x2fbf5b['id']=_0x2fbf5b['id']+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x250511,_0x19a5df])=>{const _0x25888e=_0x4ef02c;_0x250511===_0x25888e(0x240)&&typeof _0x19a5df==_0x25888e(0x179)&&(_0x2fbf5b[_0x250511]=_0x19a5df[_0x25888e(0x195)](/url\(#(.*)\)/,'url(#$1'+_0x1fbed5[_0x25888e(0x268)]+')'));});const {defIds:_0x2bb985}=_0x1fbed5;return!_0x2bb985||_0x2bb985['length']===0x0||(_0x35626f[_0x4ef02c(0x31f)]==='use'&&_0x2fbf5b[_0x4ef02c(0xc0)]&&(_0x2fbf5b[_0x4ef02c(0xc0)]=_0x2fbf5b[_0x4ef02c(0xc0)]+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x3e20d6,_0x726668])=>{const _0x2f99af=_0x4ef02c;typeof _0x726668==_0x2f99af(0x179)&&(_0x2fbf5b[_0x3e20d6]=_0x726668[_0x2f99af(0x195)](/url\(#(.*)\)/,_0x2f99af(0x202)+_0x1fbed5[_0x2f99af(0x268)]+')'));})),_0x2fbf5b;}function _0x211b01(_0x2538ad,_0x439785){const _0x2f72d6=_0x1203bc;var _0x27059d;const {defIds:_0x3f7bf6}=_0x439785;return!_0x3f7bf6||_0x3f7bf6['length']===0x0?_0x2538ad:_0x2538ad['tag']===_0x2f72d6(0x24f)&&((_0x27059d=_0x2538ad[_0x2f72d6(0x2ef)])!=null&&_0x27059d[_0x2f72d6(0x381)])?{..._0x2538ad,'children':_0x2538ad[_0x2f72d6(0x2ef)][_0x2f72d6(0x29a)](_0xbf5aa5=>typeof _0xbf5aa5['attrs']['id']==_0x2f72d6(0x179)&&_0x3f7bf6&&_0x3f7bf6['includes'](_0xbf5aa5[_0x2f72d6(0x310)]['id'])?{..._0xbf5aa5,'attrs':{..._0xbf5aa5[_0x2f72d6(0x310)],'id':_0xbf5aa5[_0x2f72d6(0x310)]['id']+_0x439785[_0x2f72d6(0x268)]}}:_0xbf5aa5)}:_0x2538ad;}function _0x2bf27c(){const _0x85907d=_0x1203bc;return Math[_0x85907d(0x11f)]()[_0x85907d(0x24c)](0x24)[_0x85907d(0x393)](0x2,0x8);}_0x195981[_0x1203bc(0x36b)]=_0x1203bc(0x2ab);const _0x4985b7={'tag':_0x1203bc(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1203bc(0x19f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1203bc(0x361)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1203bc(0x160),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':_0x1203bc(0x34b)},'children':[{'tag':_0x1203bc(0x160),'attrs':{'fill':_0x1203bc(0xc8),'d':_0x1203bc(0x289)}}]}]}],'defIds':[_0x1203bc(0x34b)]},_0x52581a=_0x4301c4['forwardRef'](function(_0x270e7f,_0xa491f0){const _0x495bf4=_0x1203bc;return _0x4301c4['createElement'](_0x195981,Object[_0x495bf4(0x122)]({},_0x270e7f,{'id':_0x495bf4(0x16d),'ref':_0xa491f0,'icon':_0x4985b7}));});_0x52581a[_0x1203bc(0x36b)]='OffLineIcon';const _0x214dd1={'tag':_0x1203bc(0x379),'attrs':{'xmlns':_0x1203bc(0x3bc),'fill':_0x1203bc(0x19f),'viewBox':_0x1203bc(0x312),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1203bc(0x362),'d':_0x1203bc(0x3b6),'strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1203bc(0x117)]},_0x85e077=_0x4301c4[_0x1203bc(0x2ae)](function(_0x5e926e,_0x3b1bab){const _0xdad42d=_0x1203bc;return _0x4301c4[_0xdad42d(0x36f)](_0x195981,Object[_0xdad42d(0x122)]({},_0x5e926e,{'id':'on-line-icon','ref':_0x3b1bab,'icon':_0x214dd1}));});_0x85e077[_0x1203bc(0x36b)]=_0x1203bc(0x1d0);function _0x3a4d1c(_0x3ddcd6){const _0x9c242d=_0x1203bc;switch(_0x3ddcd6){case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x397)]:return _0x9c242d(0x394);case _0x483f62['CollaborationStatus'][_0x9c242d(0x277)]:return _0x9c242d(0x2ce);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x399)]:return'collabStatus.fetchMiss';case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x3a7)]:return _0x9c242d(0x1e0);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x33b)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x2f9)]:return'collabStatus.syncing';case _0x483f62['CollaborationStatus'][_0x9c242d(0x1df)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x1b0)]:return _0x9c242d(0xdb);}}function _0x2a3dde(_0xe96f0e){const _0x207331=_0x1203bc,{status$:_0x7037f6}=_0xe96f0e,_0x5d56ef=_0x97839d['useObservable'](_0x7037f6,_0x483f62[_0x207331(0x380)][_0x207331(0x3a7)]),_0x3efe77=_0x97839d[_0x207331(0x142)](_0x2f9c71[_0x207331(0xed)]),_0x1c7112=_0x97839d['useDependency'](_0x483f62[_0x207331(0xcd)]),_0x1becc1=_0x5d56ef!==_0x483f62[_0x207331(0x380)][_0x207331(0x397)],_0xa782ec=_0x3efe77['t'](_0x3a4d1c(_0x5d56ef)),_0x378c5c=_0x1becc1?_0x96b66[_0x207331(0x343)](_0x85e077,{}):_0x96b66[_0x207331(0x343)](_0x52581a,{}),_0x1ab94b=_0x4301c4[_0x207331(0x3a6)](()=>{const _0x3a5eb5=_0x207331;_0x1becc1||_0x1c7112[_0x3a5eb5(0x120)]();},[_0x1becc1,_0x1c7112]);function _0x5c5f75(){const _0x1c1b5f=_0x207331;return _0x96b66[_0x1c1b5f(0x15b)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x2e3),'onClick':_0x1ab94b,'children':[_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x15837d['clsx'](_0x1c1b5f(0x11c),{'univer-text-green-500':_0x1becc1,'univer-text-red-500':!_0x1becc1}),'children':_0x378c5c}),_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x270),'children':_0xa782ec})]});}return _0x1becc1?_0x5c5f75():_0x96b66['jsx'](_0x15837d[_0x207331(0x14f)],{'title':_0x3efe77['t']('collab-client.tooltip.reconnect'),'children':_0x5c5f75()});}var _0x36054f=Object[_0x1203bc(0x29b)],_0x4a9f7a=(_0x2ed028,_0x4cf1ae,_0x3e7ff2,_0x345c82)=>{const _0x2c2f9a=_0x1203bc;for(var _0x2afdcf=_0x345c82>0x1?void 0x0:_0x345c82?_0x36054f(_0x4cf1ae,_0x3e7ff2):_0x4cf1ae,_0x3d235e=_0x2ed028[_0x2c2f9a(0x381)]-0x1,_0x46e285;_0x3d235e>=0x0;_0x3d235e--)(_0x46e285=_0x2ed028[_0x3d235e])&&(_0x2afdcf=_0x46e285(_0x2afdcf)||_0x2afdcf);return _0x2afdcf;},_0x23e03f=(_0x144785,_0x1aaf99)=>(_0x153161,_0xd61431)=>_0x1aaf99(_0x153161,_0xd61431,_0x144785);_0x12f853[_0x1203bc(0x2e9)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x466c32,_0x5ad0cb,_0x26ab69,_0x240c1c){const _0x52b790=_0x1203bc;super(),_0x5e2d7e(this,_0x52b790(0x1a2),new _0x4b9e95[(_0x52b790(0x396))](_0x483f62['CollaborationStatus'][_0x52b790(0x3a7)])),(this[_0x52b790(0xf9)]=_0x466c32,this[_0x52b790(0x2ec)]=_0x5ad0cb,this[_0x52b790(0x15f)]=_0x26ab69,this[_0x52b790(0x12b)]=_0x240c1c,this[_0x52b790(0x31d)](),this[_0x52b790(0x1fd)]());}[_0x1203bc(0x1fd)](){const _0x387ea0=_0x1203bc;this[_0x387ea0(0x293)](this['_univerInstanceService']['focused$'][_0x387ea0(0x1e5)](_0x4b9e95[_0x387ea0(0xfa)](()=>{const _0x3f4a7e=_0x387ea0,_0x3d9703=this[_0x3f4a7e(0xf9)][_0x3f4a7e(0x193)]();return _0x3d9703?this['_collaborationController'][_0x3f4a7e(0x2be)](_0x3d9703[_0x3f4a7e(0x140)]()):_0x4b9e95['of'](null);}),_0x4b9e95['switchMap'](_0x5f0291=>_0x5f0291?_0x5f0291[_0x387ea0(0x330)]:_0x4b9e95['of'](_0x483f62[_0x387ea0(0x380)]['NOT_COLLAB'])))[_0x387ea0(0x33f)](_0x1e4caa=>{const _0x4ba50d=_0x387ea0;this[_0x4ba50d(0x1a2)][_0x4ba50d(0x326)](_0x1e4caa);}));}[_0x1203bc(0x31d)](){const _0x55751d=_0x1203bc;this['disposeWithMe'](this[_0x55751d(0x12b)][_0x55751d(0x25b)](_0x97839d[_0x55751d(0x2d5)]['HEADER_MENU'],()=>_0x97839d[_0x55751d(0x27d)](_0x46db35({'status$':this[_0x55751d(0x1a2)][_0x55751d(0x2f7)]()}),this[_0x55751d(0x2ec)])));}},_0x12f853[_0x1203bc(0x2e9)]=_0x4a9f7a([_0x23e03f(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x23e03f(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x23e03f(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationController'])),_0x23e03f(0x3,_0x97839d[_0x1203bc(0x32c)])],_0x12f853[_0x1203bc(0x2e9)]);function _0x46db35(_0x19202e){const {status$:_0x359aa5}=_0x19202e;return function(){const _0x531725=_0x4f4a;return _0x96b66[_0x531725(0x343)](_0x2a3dde,{'status$':_0x359aa5});};}const _0x34744d=_0x2f9c71[_0x1203bc(0x259)]('uni.network.url-service');var _0x599d13=Object[_0x1203bc(0x29b)],_0x18bd4c=(_0x1244c4,_0x35e8a6,_0x286ed9,_0x3e87ba)=>{for(var _0x10c8fe=_0x3e87ba>0x1?void 0x0:_0x3e87ba?_0x599d13(_0x35e8a6,_0x286ed9):_0x35e8a6,_0x3c77b1=_0x1244c4['length']-0x1,_0x126d8b;_0x3c77b1>=0x0;_0x3c77b1--)(_0x126d8b=_0x1244c4[_0x3c77b1])&&(_0x10c8fe=_0x126d8b(_0x10c8fe)||_0x10c8fe);return _0x10c8fe;},_0x197664=(_0x172e86,_0x5211bd)=>(_0x429ce6,_0x4b47bb)=>_0x5211bd(_0x429ce6,_0x4b47bb,_0x172e86);_0x12f853[_0x1203bc(0x211)]=class extends _0x2f9c71['RxDisposable']{constructor(_0x277a1a,_0x3936e8,_0x591f28,_0x4eb1b8,_0xe45530){const _0x237508=_0x1203bc;super(),this[_0x237508(0x2a8)]=_0x277a1a,this[_0x237508(0x21d)]=_0x3936e8,this['_commandService']=_0x591f28,this[_0x237508(0x1c1)]=_0x4eb1b8,_0xe45530?_0xe45530==null||_0xe45530[_0x237508(0x2ba)]()[_0x237508(0x1ee)](()=>this[_0x237508(0x3ad)]()):(this[_0x237508(0x21d)][_0x237508(0x34e)](_0x237508(0x246),_0x237508(0x308)),this['_init']());}async['_init'](){const _0x10e8a1=_0x1203bc,_0x216805=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0xd3)),_0x4c79ce=this[_0x10e8a1(0x2a8)]['getParam'](_0x10e8a1(0x101)),_0x106227=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0x118));if(!_0x216805||!_0x4c79ce){this[_0x10e8a1(0x21d)]['debug'](_0x10e8a1(0x246),_0x10e8a1(0x241));return;}const _0x2ae4dd=await this['_dataLoaderService'][_0x10e8a1(0x2c1)](_0x216805,Number(_0x4c79ce),_0x106227);_0x2ae4dd&&_0x2ae4dd instanceof _0x2f9c71[_0x10e8a1(0x26b)]&&this['_setupSubUnitSync'](_0x2ae4dd);}async['_setupSubUnitSync'](_0x231aaa){const _0x12d87b=_0x1203bc;await this[_0x12d87b(0x303)](_0x231aaa),_0x231aaa[_0x12d87b(0x23e)]['pipe'](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))['subscribe'](_0x46fd0c=>{const _0x21590a=_0x12d87b;_0x46fd0c&&this[_0x21590a(0x1b6)](_0x46fd0c);}),this['_urlService'][_0x12d87b(0x189)][_0x12d87b(0x1e5)](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))[_0x12d87b(0x33f)](()=>this[_0x12d87b(0x303)](_0x231aaa));}[_0x1203bc(0x1b6)](_0x3b2da5,_0x43ddfa=!0x1){const _0x23bcf5=_0x1203bc,_0x1dd4f6=this['_urlService'][_0x23bcf5(0x229)]('subunit');_0x3b2da5[_0x23bcf5(0x2b0)]()!==_0x1dd4f6&&this[_0x23bcf5(0x2a8)][_0x23bcf5(0x377)]('subunit',_0x3b2da5['getSheetId'](),_0x43ddfa);}async[_0x1203bc(0x303)](_0x50579a){const _0x560294=_0x1203bc;var _0x10b491;const _0x5177f6=this['_urlService'][_0x560294(0x229)](_0x560294(0x118));if(!_0x5177f6||!_0x50579a[_0x560294(0x150)](_0x5177f6)){const _0x33322=_0x50579a[_0x560294(0xde)]()[0x0],_0x4be507=_0x50579a[_0x560294(0x150)](_0x33322);if(!_0x4be507)return;this['_updateURLWithCurrentState'](_0x4be507,!0x0),await this[_0x560294(0x13b)][_0x560294(0x143)](_0x219559[_0x560294(0x27e)]['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x33322});return;}((_0x10b491=_0x50579a[_0x560294(0x36e)]())==null?void 0x0:_0x10b491[_0x560294(0x2b0)]())!==_0x5177f6&&await this['_commandService']['executeCommand'](_0x219559['SetWorksheetActivateCommand']['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x5177f6});}},_0x12f853[_0x1203bc(0x211)]=_0x18bd4c([_0x197664(0x0,_0x34744d),_0x197664(0x1,_0x2f9c71[_0x1203bc(0x220)]),_0x197664(0x2,_0x2f9c71[_0x1203bc(0x183)]),_0x197664(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['DataLoaderService'])),_0x197664(0x4,_0x2f9c71[_0x1203bc(0x36d)](_0x67e237[_0x1203bc(0xee)]))],_0x12f853[_0x1203bc(0x211)]);var _0x25864e=Object[_0x1203bc(0x29b)],_0x301770=(_0xc343fd,_0x278394,_0x1a15af,_0x59a5c4)=>{const _0xc8032d=_0x1203bc;for(var _0x90bd2f=_0x59a5c4>0x1?void 0x0:_0x59a5c4?_0x25864e(_0x278394,_0x1a15af):_0x278394,_0x3527a7=_0xc343fd[_0xc8032d(0x381)]-0x1,_0x4ed143;_0x3527a7>=0x0;_0x3527a7--)(_0x4ed143=_0xc343fd[_0x3527a7])&&(_0x90bd2f=_0x4ed143(_0x90bd2f)||_0x90bd2f);return _0x90bd2f;},_0x898994=(_0x559cd6,_0x4e2012)=>(_0xf89589,_0xbb1d66)=>_0x4e2012(_0xf89589,_0xbb1d66,_0x559cd6);let _0x82a21d=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3e6f1e,_0x5bcb6b){const _0x2c5fcd=_0x1203bc;super(),this[_0x2c5fcd(0x197)]=_0x3e6f1e,this[_0x2c5fcd(0x2e5)]=_0x5bcb6b,this['_init']();}['_init'](){const _0x4ab6e3=_0x1203bc,_0x1a126b=this;this[_0x4ab6e3(0x293)](this[_0x4ab6e3(0x197)]['addClipboardHook']({'onBeforePasteImage':async _0x1c861b=>{const _0x1b0af1=_0x4ab6e3,_0x4a2f89=await _0x1a126b[_0x1b0af1(0x2e5)][_0x1b0af1(0x14d)](_0x1c861b);return _0x4a2f89?{'source':_0x4a2f89[_0x1b0af1(0x10d)],'imageSourceType':_0x4a2f89[_0x1b0af1(0x366)]}:null;}}));}};_0x82a21d=_0x301770([_0x898994(0x0,_0x244982[_0x1203bc(0x1ae)]),_0x898994(0x1,_0x484fb1['IImageIoService'])],_0x82a21d);const _0x1ec272=[_0x1203bc(0x1dc),_0x1203bc(0x163),_0x1203bc(0xf5),_0x1203bc(0x10a),_0x1203bc(0x1e2),'yellow.400'];class _0x3df9df extends _0x2f9c71[_0x1203bc(0x255)]{constructor(){const _0x1a89b4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x1a89b4(0xc9),new Map()),_0x5e2d7e(this,'_colorIndex',0x0);}[_0x1203bc(0x3a5)](_0x241002){const _0x31e197=_0x1203bc;if(this[_0x31e197(0xc9)][_0x31e197(0x1c6)](_0x241002))return this[_0x31e197(0xc9)][_0x31e197(0x28e)](_0x241002);const _0x3f1f39=_0x1ec272[this[_0x31e197(0xdf)]];return this[_0x31e197(0xdf)]=(this[_0x31e197(0xdf)]+0x1)%_0x1ec272[_0x31e197(0x381)],this[_0x31e197(0xc9)][_0x31e197(0x186)](_0x241002,_0x3f1f39),_0x3f1f39;}}function _0x4be0c1(_0x5597de){const _0x34fb6f=_0x1203bc;let _0x141871='';for(const _0xbf18c5 of _0x5597de){const {startOffset:_0x4c83fc,endOffset:_0x32248e,isActive:_0x3bed93,rangeType:_0x1c0d92,segmentId:_0x5b28bc,segmentPage:_0x41ce83}=_0xbf18c5;_0x141871[_0x34fb6f(0x381)]&&(_0x141871+=','),_0x141871+=_0x4c83fc+':'+_0x32248e+':'+(_0x3bed93?'1':'0')+':'+_0x1c0d92+':'+_0x5b28bc+':'+_0x41ce83;}return _0x141871;}function _0x1f250d(_0xb86f58){const _0x504b9d=_0x1203bc,_0x4c0a48=_0xb86f58[_0x504b9d(0x1e6)](','),_0x17d960=[];for(const _0x344c90 of _0x4c0a48){const [_0x505db5,_0x262f8b,_0x24488e,_0x12edad,_0x5d3e31,_0xf639ee]=_0x344c90[_0x504b9d(0x1e6)](':');_0x17d960[_0x504b9d(0x35e)]({'startOffset':Number(_0x505db5),'endOffset':Number(_0x262f8b),'collapsed':_0x505db5===_0x262f8b,'isActive':_0x24488e==='1','rangeType':_0x12edad===_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']?_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']:_0x2f9c71[_0x504b9d(0x2fd)][_0x504b9d(0x234)],'segmentId':typeof _0x5d3e31==_0x504b9d(0x179)?String(_0x5d3e31):'','segmentPage':Number(_0xf639ee!=null?_0xf639ee:-0x1)});}return _0x17d960['some'](_0x42605c=>_0x42605c[_0x504b9d(0x264)])||(_0x17d960[0x0]['isActive']=!0x0),_0x17d960;}class _0x26bb99 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x5c1bc4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x5c1bc4(0x1bd),new _0x4b9e95['BehaviorSubject'](null)),_0x5e2d7e(this,_0x5c1bc4(0x2cc),this[_0x5c1bc4(0x1bd)]['asObservable']());}[_0x1203bc(0x11a)](_0x1081d5){const _0x2d47b9=_0x1203bc,{unitID:_0x3d227f,memberID:_0x54dc3d,textRanges:_0x496ff7}=_0x1081d5,_0x3f0f43=_0x4be0c1(_0x496ff7);if(_0x3f0f43==='')return;const _0x11b9a1={'unitID':_0x3d227f,'memberID':_0x54dc3d,'selection':_0x3f0f43};this[_0x2d47b9(0x1bd)][_0x2d47b9(0x326)](_0x11b9a1);}}var _0x5ba5b3=Object[_0x1203bc(0x29b)],_0x19b86f=(_0xf720b3,_0x4a8e5e,_0x6a464d,_0x37eccb)=>{const _0x5db74f=_0x1203bc;for(var _0x4acf6d=_0x37eccb>0x1?void 0x0:_0x37eccb?_0x5ba5b3(_0x4a8e5e,_0x6a464d):_0x4a8e5e,_0x54b408=_0xf720b3[_0x5db74f(0x381)]-0x1,_0x3a30d0;_0x54b408>=0x0;_0x54b408--)(_0x3a30d0=_0xf720b3[_0x54b408])&&(_0x4acf6d=_0x3a30d0(_0x4acf6d)||_0x4acf6d);return _0x4acf6d;},_0x2b894e=(_0x3eb21a,_0x2e5a6e)=>(_0x202668,_0x334e1a)=>_0x2e5a6e(_0x202668,_0x334e1a,_0x3eb21a);const _0x3cad77=0x12c,_0x273cc9=0x64;let _0x57615a=class extends _0x2f9c71['RxDisposable']{constructor(_0xeb493a,_0x13fe80,_0xaade06,_0x9e3347,_0x572247,_0x5f3e36,_0x4a6681,_0x497bf2,_0x1b3867){const _0x2aaf74=_0x1203bc;super(),_0x5e2d7e(this,_0x2aaf74(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0x2aaf74(0x102),new _0x4b9e95['BehaviorSubject'](new Map())),_0x5e2d7e(this,_0x2aaf74(0x3a0),this[_0x2aaf74(0x102)][_0x2aaf74(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0x2aaf74(0x396))]([])),_0x5e2d7e(this,_0x2aaf74(0x297),this[_0x2aaf74(0x1ff)][_0x2aaf74(0x1e5)](_0x4b9e95[_0x2aaf74(0x306)](_0x3cad77))),_0x5e2d7e(this,'_updateLocalCursor',_0x2f9c71[_0x2aaf74(0x167)](_0x35fd15=>{const _0xaa9006=_0x2aaf74,_0x424611={'eventID':_0x555c33[_0xaa9006(0x230)][_0xaa9006(0xca)],'data':{'unitID':this[_0xaa9006(0x1fe)],'memberID':this[_0xaa9006(0xea)][_0xaa9006(0xbd)](),'selection':_0x4be0c1(_0x35fd15)}};this[_0xaa9006(0xea)][_0xaa9006(0xda)](_0x424611,this[_0xaa9006(0x1fe)]);},_0x273cc9)),(this['unitID']=_0xeb493a,this[_0x2aaf74(0xea)]=_0x13fe80,this[_0x2aaf74(0x2ec)]=_0xaade06,this[_0x2aaf74(0x307)]=_0x9e3347,this['_memberService']=_0x572247,this['_syncEditingCollabCursorService']=_0x5f3e36,this[_0x2aaf74(0x147)]=_0x4a6681,this[_0x2aaf74(0xf9)]=_0x497bf2,this[_0x2aaf74(0x13b)]=_0x1b3867);}get[_0x1203bc(0x2d6)](){const _0x3f7721=_0x1203bc;return this[_0x3f7721(0x102)]['getValue']();}get['roomMembers'](){const _0x486096=_0x1203bc;return this[_0x486096(0x1ff)][_0x486096(0x2f5)]();}['dispose'](){const _0x37b310=_0x1203bc;super[_0x37b310(0x105)](),this[_0x37b310(0x102)]['next'](new Map()),this[_0x37b310(0x102)]['complete'](),this[_0x37b310(0x1ff)][_0x37b310(0x326)]([]),this['_roomMembers$'][_0x37b310(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x1544b1=_0x1203bc;this['_init']||(this[_0x1544b1(0x3ad)]=!0x0,this[_0x1544b1(0xea)][_0x1544b1(0x385)][_0x1544b1(0x1e5)](_0x4b9e95[_0x1544b1(0x300)](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x1db965=>{const _0x39741b=_0x1544b1;_0x1db965===_0x483f62[_0x39741b(0x1a7)][_0x39741b(0x376)]?this[_0x39741b(0x28b)]():this[_0x39741b(0x22b)]();}),this['_session'][_0x1544b1(0x262)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))['subscribe'](_0xd0ca74=>{const _0x5f55b8=_0x1544b1,_0x188d47=_0xd0ca74[_0x5f55b8(0x2de)];_0x188d47===_0x555c33['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xd0ca74),_0x188d47===_0x555c33['CollaborationEvent'][_0x5f55b8(0x278)]&&this[_0x5f55b8(0x19e)](_0xd0ca74);}),this[_0x1544b1(0x293)](this['_commandService'][_0x1544b1(0x395)](_0x415c87=>{const _0x630048=_0x1544b1,_0xa5e46f=_0x415c87[_0x630048(0x285)];_0xa5e46f!=null&&this[_0x630048(0x207)]&&_0x415c87['id']===_0x20fc77[_0x630048(0x146)]['id']&&_0xa5e46f['unitId']===this['unitID']&&_0xa5e46f['isEditing']===!0x1&&_0xa5e46f[_0x630048(0x248)]['length']>0x0&&this['_updateLocalCursor'](_0xa5e46f[_0x630048(0x248)]);})),this[_0x1544b1(0x3b7)][_0x1544b1(0x2cc)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x5a8e52=>{const _0x43d5f2=_0x1544b1;if((_0x5a8e52==null?void 0x0:_0x5a8e52[_0x43d5f2(0x1fe)])!==this[_0x43d5f2(0x1fe)])return;const _0x5edc45={'eventID':_0x555c33['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x5a8e52};this[_0x43d5f2(0x2db)](_0x5edc45);}),this[_0x1544b1(0x293)](this[_0x1544b1(0x13b)][_0x1544b1(0x395)](_0x53326b=>{const _0x34ff56=_0x1544b1;if(_0x53326b[_0x34ff56(0x285)]==null)return;const _0x143a60=_0x53326b[_0x34ff56(0x285)];if(_0x53326b['id']!==_0x20fc77['RichTextEditingMutation']['id']||_0x143a60[_0x34ff56(0x23a)]!==this[_0x34ff56(0x1fe)])return;const _0xe7a31c={'id':'doc.mutation.rich-text-editing','params':_0x143a60},_0x3e564a=this[_0x34ff56(0x2d6)];for(const [_0x44d5c3,_0x3cba64]of _0x3e564a){const _0x185994={'id':_0x34ff56(0x20f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cba64[_0x34ff56(0x248)]}},_0x43322d=this[_0x34ff56(0x147)][_0x34ff56(0x221)](_0xe7a31c,_0x185994,!0x1);if(_0x555c33[_0x34ff56(0x352)](_0x43322d))throw _0x43322d[_0x34ff56(0x2af)];_0x3e564a[_0x34ff56(0x186)](_0x44d5c3,{..._0x3cba64,'ranges':_0x43322d['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x530020=_0x34ff56;this[_0x530020(0x102)][_0x530020(0x326)](_0x3e564a);});})));}[_0x1203bc(0x2db)](_0x3822ec){const _0x194f88=_0x1203bc;var _0x1ede94,_0x1202e1;const {memberID:_0x216dec,selection:_0x4b65a6}=_0x3822ec[_0x194f88(0x39e)],_0x4a1f9e=_0x1f250d(_0x4b65a6),_0x56dd2e=(_0x1202e1=(_0x1ede94=this['_memberService']['getMember'](this[_0x194f88(0x1fe)],_0x216dec))==null?void 0x0:_0x1ede94[_0x194f88(0x29d)])!=null?_0x1202e1:'Unknown\x20user',_0x4f7050={'color':this['_colorAssignService'][_0x194f88(0x3a5)](_0x216dec),'name':_0x56dd2e,'ranges':_0x4a1f9e},_0x5dfe51=this['cursorInfo'];_0x5dfe51[_0x194f88(0x186)](_0x216dec,_0x4f7050),this[_0x194f88(0x102)]['next'](_0x5dfe51);}[_0x1203bc(0x19e)](_0x5b594a){const _0x7fbb05=_0x1203bc,{memberID:_0x38db5c}=_0x5b594a[_0x7fbb05(0x39e)],_0x54ff9c=this[_0x7fbb05(0x2d6)];_0x54ff9c['delete'](_0x38db5c),this[_0x7fbb05(0x102)][_0x7fbb05(0x326)](_0x54ff9c);}[_0x1203bc(0x28b)](){const _0x3811a8=_0x1203bc;var _0x5c604c;if(this[_0x3811a8(0x207)]=!0x0,((_0x5c604c=this['_univerInstanceService'][_0x3811a8(0x193)]())==null?void 0x0:_0x5c604c[_0x3811a8(0x140)]())!==this[_0x3811a8(0x1fe)])return;const _0x450429=this[_0x3811a8(0x2ec)][_0x3811a8(0x28e)](_0x20fc77[_0x3811a8(0xc3)])[_0x3811a8(0x12f)]();Array['isArray'](_0x450429)&&_0x450429[_0x3811a8(0x381)]>0x0&&this[_0x3811a8(0x292)](_0x450429);}[_0x1203bc(0x22b)](){const _0x2032df=_0x1203bc;this[_0x2032df(0x207)]=!0x1;}};_0x57615a=_0x19b86f([_0x2b894e(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2b894e(0x3,_0x2f9c71['Inject'](_0x3df9df)),_0x2b894e(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['MemberService'])),_0x2b894e(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x2b894e(0x6,_0x555c33[_0x1203bc(0x243)]),_0x2b894e(0x7,_0x2f9c71['IUniverInstanceService']),_0x2b894e(0x8,_0x2f9c71['ICommandService'])],_0x57615a);var _0x576251=Object['getOwnPropertyDescriptor'],_0x501c02=(_0x2e9ad7,_0x10efef,_0x48eca9,_0x2b4e4a)=>{const _0x52f9e8=_0x1203bc;for(var _0x992d7a=_0x2b4e4a>0x1?void 0x0:_0x2b4e4a?_0x576251(_0x10efef,_0x48eca9):_0x10efef,_0x5000e4=_0x2e9ad7[_0x52f9e8(0x381)]-0x1,_0xccb650;_0x5000e4>=0x0;_0x5000e4--)(_0xccb650=_0x2e9ad7[_0x5000e4])&&(_0x992d7a=_0xccb650(_0x992d7a)||_0x992d7a);return _0x992d7a;},_0x45cd70=(_0x5fd37b,_0x518ee3)=>(_0x350c40,_0x1fcfe1)=>_0x518ee3(_0x350c40,_0x1fcfe1,_0x5fd37b);const _0x81cc4a=0x12c,_0x78a1e=0x64,_0x23add1=()=>{let _0x569124=[],_0x5d30dd=!0x1;return _0x4afbe8=>{const _0x3a951d=_0x4f4a;_0x569124[_0x3a951d(0x35e)](_0x4afbe8),_0x5d30dd||(_0x5d30dd=!0x0,setTimeout(()=>{const _0x3b6798=_0x3a951d;_0x569124[_0x3b6798(0x2fb)](_0x179352=>_0x179352()),_0x569124=[],_0x5d30dd=!0x1;}));};};let _0x119670=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x34be70,_0x33e8e8,_0x35ace7,_0x591a80,_0x1508db,_0xb57b21,_0x237710,_0xa275e0){const _0xb10a97=_0x1203bc;super(),_0x5e2d7e(this,_0xb10a97(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0xb10a97(0x102),new _0x4b9e95[(_0xb10a97(0x396))](new Map())),_0x5e2d7e(this,'cursorInfo$',this[_0xb10a97(0x102)][_0xb10a97(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0xb10a97(0x396))]([])),_0x5e2d7e(this,_0xb10a97(0x297),this[_0xb10a97(0x1ff)]['pipe'](_0x4b9e95['debounceTime'](_0x81cc4a))),_0x5e2d7e(this,_0xb10a97(0x292),_0x2f9c71[_0xb10a97(0x167)]((_0x124f8a,_0x2fcc13)=>{const _0x361fd7=_0xb10a97,_0x3cba08={'eventID':_0x555c33[_0x361fd7(0x230)][_0x361fd7(0xca)],'data':{'unitID':this[_0x361fd7(0x1fe)],'memberID':this['_session']['getMemberID'](),'selection':_0x5a5f64[_0x361fd7(0x194)](_0x124f8a,_0x2fcc13[_0x361fd7(0xf4)])}};this[_0x361fd7(0xea)][_0x361fd7(0xda)](_0x3cba08,this[_0x361fd7(0x1fe)]);},_0x78a1e)),(this['unitID']=_0x34be70,this[_0xb10a97(0xea)]=_0x33e8e8,this[_0xb10a97(0x2ec)]=_0x35ace7,this[_0xb10a97(0x307)]=_0x591a80,this[_0xb10a97(0xc7)]=_0x1508db,this[_0xb10a97(0xf9)]=_0xb57b21,this['_commandService']=_0x237710,this[_0xb10a97(0x1db)]=_0xa275e0);}get[_0x1203bc(0x2d6)](){const _0x2f6387=_0x1203bc;return this[_0x2f6387(0x102)][_0x2f6387(0x2f5)]();}get['roomMembers'](){const _0x185d77=_0x1203bc;return this[_0x185d77(0x1ff)]['getValue']();}[_0x1203bc(0x105)](){const _0x42d709=_0x1203bc;super[_0x42d709(0x105)](),this[_0x42d709(0x102)][_0x42d709(0x326)](new Map()),this[_0x42d709(0x102)][_0x42d709(0x1a3)](),this[_0x42d709(0x1ff)][_0x42d709(0x326)]([]),this[_0x42d709(0x1ff)][_0x42d709(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x569a04=_0x1203bc;this[_0x569a04(0x3ad)]||(this[_0x569a04(0x3ad)]=!0x0,this['_session']['sessionStatus$'][_0x569a04(0x1e5)](_0x4b9e95[_0x569a04(0x300)](this[_0x569a04(0x17c)]))['subscribe'](_0x265428=>{const _0x1fc4c3=_0x569a04;_0x265428===_0x483f62[_0x1fc4c3(0x1a7)][_0x1fc4c3(0x376)]?this[_0x1fc4c3(0x28b)]():this[_0x1fc4c3(0x22b)]();}),this[_0x569a04(0xea)]['event$']['pipe'](_0x4b9e95['takeUntil'](this[_0x569a04(0x17c)]))[_0x569a04(0x33f)](_0xb3d658=>{const _0x3d505f=_0x569a04,_0x322464=_0xb3d658['eventID'];_0x322464===_0x555c33[_0x3d505f(0x230)][_0x3d505f(0xca)]&&this[_0x3d505f(0x2db)](_0xb3d658),_0x322464===_0x555c33[_0x3d505f(0x230)]['USERS_LEAVE']&&this[_0x3d505f(0x19e)](_0xb3d658);}),this[_0x569a04(0x18c)](),this[_0x569a04(0x293)](this[_0x569a04(0x13b)][_0x569a04(0x395)](_0x24c67a=>{const _0x57f1ad=_0x569a04;if(this[_0x57f1ad(0x207)]&&_0x24c67a['id']===_0x219559[_0x57f1ad(0x1f7)]['id']&&_0x24c67a[_0x57f1ad(0x285)][_0x57f1ad(0x23a)]===this['unitID']){const _0x30884a=_0x24c67a['params'];this[_0x57f1ad(0x292)](_0x30884a[_0x57f1ad(0x2e0)],_0x30884a[_0x57f1ad(0x1c3)][0x0]);}})));}[_0x1203bc(0x2db)](_0x331c7d){const _0x5f39b1=_0x1203bc;var _0x5a3962,_0x412aaa;const {memberID:_0x182dc0,selection:_0xa8ebf5}=_0x331c7d['data'],{sheetName:_0x46cc4c,range:_0x3b0cd1}=_0x5a5f64[_0x5f39b1(0x24e)](_0xa8ebf5),_0x479553={'name':(_0x412aaa=(_0x5a3962=this[_0x5f39b1(0xc7)][_0x5f39b1(0x370)](this[_0x5f39b1(0x1fe)],_0x182dc0))==null?void 0x0:_0x5a3962[_0x5f39b1(0x29d)])!=null?_0x412aaa:_0x5f39b1(0x191),'range':this[_0x5f39b1(0x148)](_0x46cc4c,_0x3b0cd1),'sheetID':_0x46cc4c,'color':this[_0x5f39b1(0x307)][_0x5f39b1(0x3a5)](_0x182dc0),'selection':_0xa8ebf5},_0x2ad183=this['cursorInfo'];_0x2ad183[_0x5f39b1(0x186)](_0x182dc0,_0x479553),this[_0x5f39b1(0x102)][_0x5f39b1(0x326)](_0x2ad183);}['_onCursorDelete'](_0x38b010){const _0x10f355=_0x1203bc,{memberID:_0x1a2b38}=_0x38b010[_0x10f355(0x39e)],_0x50c2be=this[_0x10f355(0x2d6)];_0x50c2be[_0x10f355(0x2eb)](_0x1a2b38),this[_0x10f355(0x102)][_0x10f355(0x326)](_0x50c2be);}['_getMergeRange'](_0x5f7ec8,_0x428aa5){const _0x3d1a73=_0x1203bc;var _0x29b3c8,_0x1e3758;const _0x20550b=(_0x1e3758=(_0x29b3c8=this[_0x3d1a73(0xf9)][_0x3d1a73(0x22a)](this[_0x3d1a73(0x1fe)]))==null?void 0x0:_0x29b3c8[_0x3d1a73(0x150)](_0x5f7ec8))==null?void 0x0:_0x1e3758['getMergeData']();return(_0x20550b==null?void 0x0:_0x20550b[_0x3d1a73(0x214)](_0x5c2e50=>_0x2f9c71[_0x3d1a73(0x244)][_0x3d1a73(0x257)](_0x5c2e50,_0x428aa5)))||_0x428aa5;}[_0x1203bc(0x18c)](){const _0x2775c1=_0x1203bc,_0x3a4aa2=new _0x2f9c71['DisposableCollection'](),_0x8cbea9=_0x23add1(),_0x143547=()=>{const _0x39a01c=_0x4f4a;_0x3a4aa2[_0x39a01c(0x105)]();const _0x2c8249=(_0xe639c9,_0x3036ef,_0x28c885,_0x54f96a)=>{const _0x5a2456=_0x39a01c;let _0x24e6c2=[];switch(_0xe639c9['id']){case _0x219559['EffectRefRangId'][_0x5a2456(0xe4)]:{_0x24e6c2=_0x219559['handleDeleteRangeMoveLeft'](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x1e9)]:{_0x24e6c2=_0x219559[_0x5a2456(0x26d)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['InsertColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x384)](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x1da)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveDown'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x2c8)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveRight'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId']['InsertRowCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x103)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x11b)]:{_0x24e6c2=_0x219559[_0x5a2456(0x110)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x18f)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveRowCommandId']:{_0x24e6c2=_0x219559['handleIRemoveRow'](_0xe639c9,_0x54f96a);break;}}const _0x15ab9e=_0x219559[_0x5a2456(0x35a)](_0x24e6c2,_0x54f96a),_0x59fcf8=this[_0x5a2456(0x2d6)]['get'](_0x3036ef);if(_0x59fcf8&&_0x15ab9e){const _0x5eb9b6={..._0x59fcf8,'range':_0x15ab9e};this[_0x5a2456(0x2d6)][_0x5a2456(0x186)](_0x3036ef,_0x5eb9b6),_0x8cbea9(()=>{const _0x4fed9a=_0x5a2456,_0x344707=this[_0x4fed9a(0x1db)][_0x4fed9a(0x327)](_0x15ab9e,_0x3e3278=>(_0x344707[_0x4fed9a(0x105)](),_0x2c8249(_0x3e3278,_0x3036ef,_0x28c885,_0x15ab9e)));_0x3a4aa2[_0x4fed9a(0x298)](_0x344707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x39d0cf,_0x4449ad)=>{const _0x5487e3=_0x39a01c,{range:_0x1afdeb,sheetID:_0x1c88b2}=_0x39d0cf,_0x383193=this[_0x5487e3(0x1db)]['registerRefRange'](_0x1afdeb,_0x1bc461=>(_0x383193['dispose'](),_0x2c8249(_0x1bc461,_0x4449ad,_0x1c88b2,_0x1afdeb)));_0x3a4aa2['add'](_0x383193);});};this['disposeWithMe'](_0x2f9c71[_0x2775c1(0x1e7)](this['_cursorInfo$'][_0x2775c1(0x33f)](()=>{_0x143547();})));}['_toggleOnline'](){const _0x12fcfb=_0x1203bc;var _0x21784f,_0x1c2570;if(this[_0x12fcfb(0x207)]=!0x0,((_0x21784f=this[_0x12fcfb(0xf9)][_0x12fcfb(0x193)]())==null?void 0x0:_0x21784f[_0x12fcfb(0x140)]())!==this[_0x12fcfb(0x1fe)])return;const _0x54bf84=(_0x1c2570=this[_0x12fcfb(0x2ec)][_0x12fcfb(0x28e)](_0x219559['SheetsSelectionsService'])[_0x12fcfb(0x157)]())==null?void 0x0:_0x1c2570[0x0],_0xe365d2=this[_0x12fcfb(0xf9)][_0x12fcfb(0x35c)](_0x2f9c71['UniverInstanceType'][_0x12fcfb(0x18a)])[_0x12fcfb(0x36e)]();_0x54bf84&&_0xe365d2&&this[_0x12fcfb(0x292)](_0xe365d2[_0x12fcfb(0x2b0)](),_0x54bf84);}[_0x1203bc(0x22b)](){const _0xdcca8f=_0x1203bc;this[_0xdcca8f(0x207)]=!0x1;}};_0x119670=_0x501c02([_0x45cd70(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x45cd70(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3df9df)),_0x45cd70(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x1d9)])),_0x45cd70(0x5,_0x2f9c71[_0x1203bc(0x19b)]),_0x45cd70(0x6,_0x2f9c71['ICommandService']),_0x45cd70(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x219559['RefRangeService']))],_0x119670);var _0x1fe194=Object[_0x1203bc(0x29b)],_0x5cb0a7=(_0x422b62,_0x513a10,_0xe05663,_0x1b24fd)=>{const _0x34c65d=_0x1203bc;for(var _0x39eb9e=_0x1b24fd>0x1?void 0x0:_0x1b24fd?_0x1fe194(_0x513a10,_0xe05663):_0x513a10,_0x6106f9=_0x422b62[_0x34c65d(0x381)]-0x1,_0x36497e;_0x6106f9>=0x0;_0x6106f9--)(_0x36497e=_0x422b62[_0x6106f9])&&(_0x39eb9e=_0x36497e(_0x39eb9e)||_0x39eb9e);return _0x39eb9e;},_0x2d8717=(_0x4ed8a4,_0x5685f2)=>(_0x23f73a,_0x5b2d9a)=>_0x5685f2(_0x23f73a,_0x5b2d9a,_0x4ed8a4);let _0x36bfc6=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x2605d9,_0x3637e0,_0x4205ea){const _0x4cb732=_0x1203bc;super(),_0x5e2d7e(this,'_entities',new Map()),_0x5e2d7e(this,'_entityInit$',new _0x4b9e95[(_0x4cb732(0x272))]()),(this['_univerInstanceService']=_0x2605d9,this[_0x4cb732(0x2ec)]=_0x3637e0,this['_collabSessionService']=_0x4205ea,this['_init']());}[_0x1203bc(0x105)](){const _0xa1bba8=_0x1203bc;super[_0xa1bba8(0x105)](),this[_0xa1bba8(0x24b)]['complete'](),this['_entities'][_0xa1bba8(0x2fb)](_0x1a3c2b=>_0x1a3c2b[_0xa1bba8(0x105)]());}[_0x1203bc(0x2fc)](_0x261a39){const _0x3b2c3d=_0x1203bc;return this[_0x3b2c3d(0x12a)][_0x3b2c3d(0x1c6)](_0x261a39)?this['_entities'][_0x3b2c3d(0x28e)](_0x261a39)[_0x3b2c3d(0x3a0)]:this[_0x3b2c3d(0x24b)]['pipe'](_0x4b9e95[_0x3b2c3d(0x309)](_0xc6a9ec=>_0xc6a9ec[_0x3b2c3d(0x1fe)]===_0x261a39),_0x4b9e95[_0x3b2c3d(0xfa)](_0xb77831=>_0xb77831[_0x3b2c3d(0x3a0)]));}['_init'](){const _0x5968f3=_0x1203bc;this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71['UniverInstanceType'][_0x5968f3(0x18a)])[_0x5968f3(0x1e5)](_0x4b9e95['takeUntil'](this[_0x5968f3(0x17c)]))[_0x5968f3(0x33f)](async _0x52b2e0=>{const _0x2fde7c=_0x5968f3,_0x59a907=_0x52b2e0[_0x2fde7c(0x140)](),_0x3da98a=await this[_0x2fde7c(0xe6)](_0x59a907);this[_0x2fde7c(0x24b)]['next'](_0x3da98a),this[_0x2fde7c(0x12a)]['set'](_0x59a907,_0x3da98a);}),this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC'])[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x300)](this['dispose$']))[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x309)](_0x5f0fe0=>!_0x5f0fe0[_0x5968f3(0x140)]()[_0x5968f3(0x239)]('__')))[_0x5968f3(0x33f)](async _0x1c8789=>{const _0x337ef1=_0x5968f3,_0x32d3a7=_0x1c8789[_0x337ef1(0x140)](),_0x291a43=await this['_startDocCollabCursor'](_0x32d3a7);this[_0x337ef1(0x24b)][_0x337ef1(0x326)](_0x291a43),this[_0x337ef1(0x12a)][_0x337ef1(0x186)](_0x32d3a7,_0x291a43);}),_0x4b9e95[_0x5968f3(0x134)](this[_0x5968f3(0xf9)][_0x5968f3(0x314)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC']),this[_0x5968f3(0xf9)]['getTypeOfUnitDisposed$'](_0x2f9c71[_0x5968f3(0xe2)][_0x5968f3(0x18a)]))['pipe'](_0x4b9e95[_0x5968f3(0x300)](this[_0x5968f3(0x17c)]))['subscribe'](_0x3705d3=>{const _0x40407a=_0x5968f3,_0x161b95=_0x3705d3[_0x40407a(0x140)](),_0x5eb26c=this[_0x40407a(0x12a)][_0x40407a(0x28e)](_0x161b95);_0x5eb26c&&(_0x5eb26c['dispose'](),this[_0x40407a(0x12a)]['delete'](_0x161b95));});}async['_startSheetCollabCursor'](_0x400d1e){const _0x28544b=_0x1203bc,_0x21c131=await this[_0x28544b(0x25d)][_0x28544b(0x171)](_0x400d1e),_0xbdf37e=this[_0x28544b(0x2ec)][_0x28544b(0x238)](_0x119670,_0x400d1e,_0x21c131);return _0xbdf37e[_0x28544b(0x16a)](),_0xbdf37e;}async['_startDocCollabCursor'](_0x21e956){const _0x3420da=_0x1203bc,_0x365f7f=await this[_0x3420da(0x25d)]['requireSession'](_0x21e956),_0x2ab348=this[_0x3420da(0x2ec)][_0x3420da(0x238)](_0x57615a,_0x21e956,_0x365f7f);return _0x2ab348['init'](),_0x2ab348;}};_0x36bfc6=_0x5cb0a7([_0x2d8717(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x2d8717(0x1,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2d8717(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationSessionService']))],_0x36bfc6);const _0xd05176=0x14,_0x4372ef=0xc8,_0xa44669=0x4,_0x3a2f07=0x5;function _0x3d942e(_0xe2300c,_0x72777d){const _0x3bc46c=_0x1203bc;let {radius:_0x2ae5e0,width:_0xaaf1e5,height:_0x936305}=_0x72777d;_0x2ae5e0=_0x2ae5e0!=null?_0x2ae5e0:0x0,_0xaaf1e5=_0xaaf1e5!=null?_0xaaf1e5:0x1e,_0x936305=_0x936305!=null?_0x936305:0x1e;let _0x39063e=0x0,_0x157b6b=0x0,_0x4b2959=0x0;_0x39063e=_0x157b6b=_0x4b2959=Math[_0x3bc46c(0x31e)](_0x2ae5e0,_0xaaf1e5/0x2,_0x936305/0x2),_0xe2300c[_0x3bc46c(0x279)](),_0xe2300c[_0x3bc46c(0x168)](_0x39063e,0x0),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5-_0x157b6b,0x0),_0xe2300c['arc'](_0xaaf1e5-_0x157b6b,_0x157b6b,_0x157b6b,Math['PI']*0x3/0x2,0x0,!0x1),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5,_0x936305-_0x4b2959),_0xe2300c['arc'](_0xaaf1e5-_0x4b2959,_0x936305-_0x4b2959,_0x4b2959,0x0,Math['PI']/0x2,!0x1),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x936305),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x39063e),_0xe2300c[_0x3bc46c(0x249)](_0x39063e,_0x39063e,_0x39063e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe2300c[_0x3bc46c(0x1c7)](),_0x72777d['fill']&&(_0xe2300c[_0x3bc46c(0x125)](),_0xe2300c[_0x3bc46c(0x17d)]=_0x72777d[_0x3bc46c(0x10b)],_0x72777d[_0x3bc46c(0x2c2)]===_0x3bc46c(0x29e)?_0xe2300c[_0x3bc46c(0x10b)](_0x3bc46c(0x29e)):_0xe2300c[_0x3bc46c(0x10b)](),_0xe2300c[_0x3bc46c(0x175)]());}class _0x559954 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x13b599,_0x188511){const _0x284579=_0x1203bc;super(_0x13b599,_0x188511),_0x5e2d7e(this,_0x284579(0x2d3)),_0x5e2d7e(this,_0x284579(0x23d)),(this[_0x284579(0x2d3)]=_0x188511==null?void 0x0:_0x188511['color'],this[_0x284579(0x23d)]=_0x188511==null?void 0x0:_0x188511['text']);}static[_0x1203bc(0x275)](_0x4b1fef,_0x36d412){const _0x4df57f=_0x1203bc,{text:_0x33d167,color:_0xef662f}=_0x36d412;_0x4b1fef[_0x4df57f(0x125)](),_0x4b1fef[_0x4df57f(0x30b)]=_0x4df57f(0x2ac);const _0x30a7ec=_0x4b1fef['measureText'](_0x33d167)[_0x4df57f(0x181)],_0x3c146b=Math['min'](_0x30a7ec+0x2*_0xa44669,_0x4372ef);_0x3d942e(_0x4b1fef,{'height':_0xd05176,'radius':0x4,'width':_0x3c146b,'fill':_0xef662f}),_0x4b1fef['fillStyle']=_0x4df57f(0x16f);const _0x2ed808=_0xa44669,_0x22bd38=_0xd05176-_0x3a2f07,_0x353f96=_0x4372ef-0x2*_0xa44669;if(_0x30a7ec>_0x353f96){let _0x4ad1d4='',_0x54dc67=0x0;for(const _0x76b812 of _0x33d167){const _0x2db4ae=_0x4b1fef[_0x4df57f(0xdd)](_0x76b812)[_0x4df57f(0x181)];if(_0x54dc67+_0x2db4ae<=_0x353f96-_0x4b1fef[_0x4df57f(0xdd)](_0x4df57f(0x27a))[_0x4df57f(0x181)])_0x4ad1d4+=_0x76b812,_0x54dc67+=_0x2db4ae;else{_0x4ad1d4+=_0x4df57f(0x27a);break;}}_0x4b1fef[_0x4df57f(0x1d8)](_0x4ad1d4,_0x2ed808,_0x22bd38);}else _0x4b1fef[_0x4df57f(0x1d8)](_0x33d167,_0x2ed808,_0x22bd38);_0x4b1fef[_0x4df57f(0x175)]();}[_0x1203bc(0x2f2)](_0x16d5c8){const _0x5aeede=_0x1203bc;_0x559954[_0x5aeede(0x275)](_0x16d5c8,this);}}const _0x3b4446=_0x1203bc(0x32d),_0xe5d8ad='collab-text-range-',_0x2e7d8e=_0x1203bc(0x212),_0x21ed4e=0x6,_0x2600dd=1.5,_0x60bfa0=0x4,_0xcf3c6b=1.5,_0x106c5a=_0x1203bc(0x2ea);class _0x2d9246{constructor(_0x1f5520,_0x4ce624,_0x58f3e0,_0x181414){const _0x589105=_0x1203bc;_0x5e2d7e(this,_0x589105(0x18b),[]),_0x5e2d7e(this,_0x589105(0x33d),null),_0x5e2d7e(this,_0x589105(0x371),null),_0x5e2d7e(this,'_anchorDot',null),_0x5e2d7e(this,_0x589105(0x1d7),null),_0x5e2d7e(this,'_eventUnsubscribe',null),(this[_0x589105(0x345)]=_0x1f5520,this[_0x589105(0x242)]=_0x4ce624,this[_0x589105(0x2f6)]=_0x58f3e0,this[_0x589105(0x169)]=_0x181414,this[_0x589105(0x2d1)]());}set['_hover'](_0x247a06){const _0x47a4f4=_0x1203bc;_0x247a06?(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)][_0x47a4f4(0x30e)](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x363)]()):(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)]['show'](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x30e)]());}[_0x1203bc(0x105)](){const _0x386ee9=_0x1203bc;for(const _0x1bf889 of this['_shapes'])_0x1bf889[_0x386ee9(0x105)]();this[_0x386ee9(0x371)]&&this[_0x386ee9(0x371)][_0x386ee9(0x105)](),this['_anchorDot']&&this[_0x386ee9(0x283)][_0x386ee9(0x105)](),this['_anchor']&&this[_0x386ee9(0x33d)][_0x386ee9(0x105)](),this[_0x386ee9(0x2ff)]&&this[_0x386ee9(0x2ff)]();}[_0x1203bc(0x2d1)](){const _0x396901=_0x1203bc;var _0x3dc10e;const {_docSkeleton:_0x2d90a6,_document:_0x3dc91d}=this,{color:_0x493c81,name:_0x87838f,ranges:_0x3c8174}=this[_0x396901(0x345)],_0x1464fc=_0x3dc91d[_0x396901(0x173)](),{docsLeft:_0xdc1164,docsTop:_0x3dcb7f}=_0x1464fc,_0x4b5e2e=new _0x244982[(_0x396901(0x271))](_0x1464fc,_0x2d90a6);for(const {startOffset:_0x2ba660,endOffset:_0x32f1e9,rangeType:_0xfc15d6,segmentId:_0x42c331,segmentPage:_0x312de9,collapsed:_0x206a0e,isActive:_0x525f43}of _0x3c8174){const _0x2188eb=_0x2d90a6[_0x396901(0x37e)](_0x2ba660,!0x0,_0x42c331,_0x312de9);let _0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9,!0x0,_0x42c331,_0x312de9);if(_0x3062b5==null&&(_0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9-0x1,!0x1,_0x42c331,_0x312de9)),_0x525f43){const {contentBoxPointGroup:_0x41ca31}=_0x4b5e2e[_0x396901(0x15c)](_0x3062b5,_0x3062b5);if(_0x41ca31[_0x396901(0x381)]===0x0)continue;this[_0x396901(0x2f4)](_0x493c81,_0x41ca31,_0xdc1164,_0x3dcb7f,_0x87838f),this[_0x396901(0x2ff)]=this[_0x396901(0x1c5)]();}if(_0x2188eb&&_0x3062b5){if(_0xfc15d6===_0x2f9c71['DOC_RANGE_TYPE'][_0x396901(0x234)]){const _0x302dcf=new _0x244982['NodePositionConvertToRectRange'](_0x1464fc,_0x2d90a6),{pointGroup:_0x36ce4a}=(_0x3dc10e=_0x302dcf[_0x396901(0x15c)](_0x2188eb,_0x3062b5))!=null?_0x3dc10e:{};if(_0x36ce4a==null||_0x36ce4a[_0x396901(0x381)]===0x0)continue;this['_drawRectRange'](_0x493c81,_0x36ce4a,_0xdc1164,_0x3dcb7f);}else{if(!_0x206a0e){const {borderBoxPointGroup:_0x143d27}=_0x4b5e2e[_0x396901(0x15c)](_0x2188eb,_0x3062b5);if(_0x143d27['length']===0x0)continue;this[_0x396901(0x131)](_0x493c81,_0x143d27,_0xdc1164,_0x3dcb7f);}}}}}[_0x1203bc(0x2f4)](_0x1c1f7e,_0x34c0a9,_0x757e19,_0x2b415c,_0x318969){const _0x13f016=_0x1203bc,_0x25b661=this[_0x13f016(0x331)](_0x34c0a9),{left:_0x29e4a4,top:_0x23a540,height:_0x1eea3e}=_0x25b661,_0x463f4a=this['_getScale'](),_0x1e42be=_0xcf3c6b/_0x463f4a,_0x2f4e64=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71[_0x13f016(0x188)](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c,'height':_0x1eea3e,'width':_0x2600dd,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':_0x1e42be,'stroke':_0x106c5a,'evented':!0x0});this[_0x13f016(0x33d)]=_0x2f4e64,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x2f4e64,_0x244982[_0x13f016(0x17b)]);const _0x3e99a4=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0x60bfa0/0x2,'height':_0x60bfa0,'width':_0x60bfa0,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':0x0,'stroke':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'evented':!0x1});this[_0x13f016(0x283)]=_0x3e99a4,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x3e99a4,_0x244982[_0x13f016(0x17b)]);const _0x4f6ffb=new _0x559954(_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0xd05176,'text':_0x318969,'color':_0x1c1f7e});this[_0x13f016(0x371)]=_0x4f6ffb,this['_scene'][_0x13f016(0x398)](_0x4f6ffb,_0x244982[_0x13f016(0x17b)]),this[_0x13f016(0x252)]=!0x1;}[_0x1203bc(0x1c5)](){const _0x266a6f=_0x1203bc,_0x36efc7=this[_0x266a6f(0x33d)][_0x266a6f(0x219)]['subscribeEvent'](()=>{const _0x5d0d82=_0x266a6f;this[_0x5d0d82(0x252)]=!0x0;}),_0x1af884=this['_anchor']['onPointerLeave$'][_0x266a6f(0x1ba)](()=>{const _0x258e7a=_0x266a6f;this[_0x258e7a(0x1d7)]&&clearTimeout(this[_0x258e7a(0x1d7)]),this['_hideTimer']=setTimeout(()=>{const _0x432125=_0x258e7a;this[_0x432125(0x252)]=!0x1;},0x7d0);});return()=>{const _0x268391=_0x266a6f;_0x36efc7[_0x268391(0x16c)](),_0x1af884[_0x268391(0x16c)]();};}[_0x1203bc(0x131)](_0x34b4fd,_0x421568,_0x2b180b,_0x44e102){const _0x4e78a4=_0x1203bc,_0x5d4686=new _0x2f9c71['ColorKit'](_0x34b4fd)[_0x4e78a4(0x1d5)](0.2)[_0x4e78a4(0x1b1)](),_0x25d512=new _0x3281d5[(_0x4e78a4(0x296))](_0xe5d8ad+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x421568,'fill':_0x5d4686||_0x3281d5[_0x4e78a4(0x149)](_0x2f9c71[_0x4e78a4(0x216)][_0x4e78a4(0xfe)],0.2),'left':_0x2b180b,'top':_0x44e102,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e78a4(0x18b)][_0x4e78a4(0x35e)](_0x25d512),this[_0x4e78a4(0x242)]['addObject'](_0x25d512,_0x244982[_0x4e78a4(0x17b)]);}[_0x1203bc(0xbe)](_0x223ba7,_0x286809,_0x46caf8,_0x5ccdb5){const _0x300e45=_0x1203bc,_0xdeba5d=new _0x2f9c71[(_0x300e45(0x332))](_0x223ba7)['setAlpha'](0.2)[_0x300e45(0x1b1)](),_0xd9db93=new _0x3281d5[(_0x300e45(0x296))](_0x2e7d8e+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x286809,'fill':_0xdeba5d||_0x3281d5[_0x300e45(0x149)](_0x2f9c71[_0x300e45(0x216)][_0x300e45(0xfe)],0.2),'left':_0x46caf8,'top':_0x5ccdb5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x300e45(0x18b)]['push'](_0xd9db93),this[_0x300e45(0x242)][_0x300e45(0x398)](_0xd9db93,_0x244982[_0x300e45(0x17b)]);}[_0x1203bc(0x331)](_0x44918c){const _0x37cb50=_0x44918c[0x0],_0x2a8186=_0x37cb50[0x0],_0x546f4f=_0x37cb50[0x2],{x:_0x2ffed5,y:_0x2275f7}=_0x2a8186,{x:_0x2fc2cf,y:_0x35544f}=_0x546f4f;return{'left':_0x2ffed5,'top':_0x2275f7,'width':_0x2fc2cf-_0x2ffed5,'height':_0x35544f-_0x2275f7};}[_0x1203bc(0x256)](){const _0x246bba=_0x1203bc,{scaleX:_0x2d79bb,scaleY:_0x5bbbf5}=this[_0x246bba(0x242)][_0x246bba(0x294)]();return Math['max'](_0x2d79bb,_0x5bbbf5);}}var _0x968117=Object[_0x1203bc(0x29b)],_0x573101=(_0x58a024,_0x582c8d,_0x2c07eb,_0x6293f2)=>{const _0x38bbd4=_0x1203bc;for(var _0x155b42=_0x6293f2>0x1?void 0x0:_0x6293f2?_0x968117(_0x582c8d,_0x2c07eb):_0x582c8d,_0x519432=_0x58a024[_0x38bbd4(0x381)]-0x1,_0x22ec87;_0x519432>=0x0;_0x519432--)(_0x22ec87=_0x58a024[_0x519432])&&(_0x155b42=_0x22ec87(_0x155b42)||_0x155b42);return _0x155b42;},_0x14f373=(_0x27d8d0,_0x3d6e96)=>(_0x188106,_0x38fe72)=>_0x3d6e96(_0x188106,_0x38fe72,_0x27d8d0);let _0x574c0a=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x49049a,_0x593524,_0x1a03c4,_0x4d7947,_0x146604){const _0x4edc16=_0x1203bc;super(),_0x5e2d7e(this,_0x4edc16(0x128),[]),_0x5e2d7e(this,_0x4edc16(0x3ac),[]),(this[_0x4edc16(0x301)]=_0x49049a,this[_0x4edc16(0x2a6)]=_0x593524,this['_collabCursorController']=_0x1a03c4,this[_0x4edc16(0x13b)]=_0x4d7947,this[_0x4edc16(0x14c)]=_0x146604,this[_0x4edc16(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x13d08d=_0x1203bc,_0x1b9c5b=this[_0x13d08d(0x301)][_0x13d08d(0x23a)],_0x5334f4=this[_0x13d08d(0x2a6)];this['disposeWithMe'](_0x4b9e95[_0x13d08d(0x190)]([this['_collabCursorController'][_0x13d08d(0x2fc)](_0x1b9c5b),this['_themeService'][_0x13d08d(0x210)]])[_0x13d08d(0x1e5)](_0x32e776[_0x13d08d(0x29a)](([_0x4deb93,_0x175728])=>({'skeleton':_0x5334f4[_0x13d08d(0x2e4)](),'cursors':[..._0x4deb93[_0x13d08d(0x27c)]()][_0x13d08d(0x2e1)](_0x5884da=>({..._0x5884da,'color':this['_themeService'][_0x13d08d(0x2c9)](_0x5884da[_0x13d08d(0x2d3)])}))})))[_0x13d08d(0x33f)](_0x2fc88a=>{const _0x3469e3=_0x13d08d;if(this[_0x3469e3(0x1a0)](),_0x2fc88a){const {skeleton:_0x2f4f04,cursors:_0x12c4fb}=_0x2fc88a;this[_0x3469e3(0x1ad)](_0x2f4f04,_0x12c4fb);}})),this[_0x13d08d(0x136)](),this[_0x13d08d(0xf3)]();}[_0x1203bc(0x1ad)](_0x193167,_0x45a752){const _0x3f80ac=_0x1203bc,{scene:_0x4e2c70,mainComponent:_0x1979a9}=this['_context'],_0x127722=_0x45a752[_0x3f80ac(0x29a)](_0x3e7c68=>new _0x2d9246(_0x3e7c68,_0x4e2c70,_0x193167,_0x1979a9));this[_0x3f80ac(0x128)]=_0x127722,this[_0x3f80ac(0x3ac)]=_0x45a752;}[_0x1203bc(0x359)](){const _0x570e71=_0x1203bc;this[_0x570e71(0x1a0)]();const {scene:_0x301af0,mainComponent:_0xb7117b}=this[_0x570e71(0x301)],_0xcd4bbb=this[_0x570e71(0x2a6)][_0x570e71(0x2e4)](),_0x29a5d6=this[_0x570e71(0x3ac)]['map'](_0x419473=>new _0x2d9246(_0x419473,_0x301af0,_0xcd4bbb,_0xb7117b));this[_0x570e71(0x128)]=_0x29a5d6;}[_0x1203bc(0x1a0)](){const _0x306964=_0x1203bc;this[_0x306964(0x128)][_0x306964(0x2fb)](_0x53c704=>_0x53c704['dispose']()),this['_cursorShapes']=[];}[_0x1203bc(0xf3)](){const _0x58e3f5=_0x1203bc,_0x55ec71=[_0x244982[_0x58e3f5(0x12c)]['id']];this[_0x58e3f5(0x293)](this[_0x58e3f5(0x13b)][_0x58e3f5(0x395)](_0x4eb248=>{const _0x54d70d=_0x58e3f5;_0x55ec71['includes'](_0x4eb248['id'])&&_0x4eb248['params'][_0x54d70d(0x23a)]===this['_context'][_0x54d70d(0x23a)]&&this[_0x54d70d(0x359)]();}));}[_0x1203bc(0x136)](){const _0x33ed1b=_0x1203bc;this[_0x33ed1b(0x293)](_0x2f9c71[_0x33ed1b(0x2d7)](this['_context'][_0x33ed1b(0x387)][_0x33ed1b(0x203)])[_0x33ed1b(0x1e5)](_0x32e776[_0x33ed1b(0x309)](_0x578f04=>_0x578f04[_0x33ed1b(0x101)]===_0x3281d5['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33ed1b(0x383)]),_0x32e776['throttleTime'](0x10))[_0x33ed1b(0x33f)](()=>{this['_refreshCollabCursors']();}));}};_0x574c0a=_0x573101([_0x14f373(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x20fc77['DocSkeletonManagerService'])),_0x14f373(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36bfc6)),_0x14f373(0x3,_0x2f9c71[_0x1203bc(0x183)]),_0x14f373(0x4,_0x2f9c71['Inject'](_0x2f9c71['ThemeService']))],_0x574c0a);const _0x35b26b=0x1,_0x6547b7=1.5;class _0x4486c3 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x551e1b,_0x2b4f7e){const _0x238635=_0x1203bc;var _0x492c26,_0x18502e;super(_0x551e1b,_0x2b4f7e),_0x5e2d7e(this,_0x238635(0x321)),_0x5e2d7e(this,_0x238635(0x192),!0x1),_0x5e2d7e(this,_0x238635(0xc6)),_0x5e2d7e(this,_0x238635(0x2f8),''),_0x5e2d7e(this,_0x238635(0x13f),_0x238635(0x2e2)),_0x5e2d7e(this,_0x238635(0x19c)),_0x5e2d7e(this,'_showText'),_0x5e2d7e(this,_0x238635(0x266)),_0x5e2d7e(this,'_highlightSecond',0x4),_0x5e2d7e(this,_0x238635(0xd9)),_0x5e2d7e(this,_0x238635(0x2c7)),_0x5e2d7e(this,_0x238635(0x106),!0x0),_0x5e2d7e(this,_0x238635(0x231),0x0),(_0x2b4f7e&&(this['setShapeProps'](_0x2b4f7e),_0x2b4f7e[_0x238635(0x17a)]&&((_0x492c26=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x492c26:this[_0x238635(0x1e8)])&&this[_0x238635(0x1f6)]((_0x18502e=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x18502e:this[_0x238635(0x1e8)])),this[_0x238635(0x219)][_0x238635(0x1ba)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x238635(0xf6)][_0x238635(0x1ba)](()=>this[_0x238635(0x224)]({'hovered':!0x1})));}[_0x1203bc(0x299)](_0x21571f){const _0x47c519=_0x1203bc;this[_0x47c519(0x231)]=_0x21571f;}[_0x1203bc(0x224)](_0x145655){const _0x2cfafb=_0x1203bc;var _0x22b5fb,_0x5b40e6,_0x2534c2,_0x2df314,_0x2b0afc,_0x3d90d3,_0x49d743;this['_color']=(_0x22b5fb=_0x145655['color'])!=null?_0x22b5fb:this[_0x2cfafb(0x321)],this[_0x2cfafb(0x192)]=(_0x5b40e6=_0x145655['hovered'])!=null?_0x5b40e6:this[_0x2cfafb(0x192)],this[_0x2cfafb(0xc6)]=(_0x2534c2=_0x145655[_0x2cfafb(0xf4)])!=null?_0x2534c2:this[_0x2cfafb(0xc6)],this[_0x2cfafb(0x2f8)]=(_0x2df314=_0x145655[_0x2cfafb(0x29d)])!=null?_0x2df314:this[_0x2cfafb(0x2f8)],this[_0x2cfafb(0x13f)]=(_0x2b0afc=_0x145655[_0x2cfafb(0xec)])!=null?_0x2b0afc:this[_0x2cfafb(0x13f)],this['_backgroundColor']=(_0x3d90d3=_0x145655['backgroundColor'])!=null?_0x3d90d3:this['_backgroundColor'],this[_0x2cfafb(0x1ac)]=(_0x49d743=_0x145655[_0x2cfafb(0x2a7)])!=null?_0x49d743:this['_showText'],_0x145655[_0x2cfafb(0x2cf)]!==void 0x0&&(this[_0x2cfafb(0x1e8)]=_0x145655['highlightSecond']),_0x145655[_0x2cfafb(0x17a)]!==void 0x0&&(this[_0x2cfafb(0x266)]=_0x145655[_0x2cfafb(0x17a)]),_0x145655[_0x2cfafb(0x32e)]!==void 0x0&&(this[_0x2cfafb(0x231)]=_0x145655['offsetY']),this['transformByState']({'width':_0x145655[_0x2cfafb(0x181)],'height':_0x145655[_0x2cfafb(0x3ab)]});}[_0x1203bc(0x29f)](_0x27ce65){const _0x9c0013=_0x1203bc,{row:_0x4c3393,column:_0x9bd32f}=_0x27ce65;if(_0x4c3393>=this['_range']['startRow']&&_0x4c3393<=this[_0x9c0013(0xc6)][_0x9c0013(0x2e6)]&&_0x9bd32f>=this[_0x9c0013(0xc6)][_0x9c0013(0x390)]&&_0x9bd32f<=this[_0x9c0013(0xc6)]['endColumn']){this[_0x9c0013(0x224)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1203bc(0x1f6)](_0x1150f3){const _0x5878db=_0x1203bc;this[_0x5878db(0x295)](),this[_0x5878db(0x106)]=!0x0,this[_0x5878db(0x2c7)]=window[_0x5878db(0x37f)](()=>{const _0x5d61b0=_0x5878db;this['_isBlinkVisible']=!this['_isBlinkVisible'],this[_0x5d61b0(0x3a8)](!0x0);},0x1f4),this[_0x5878db(0xd9)]=window[_0x5878db(0x1a1)](()=>{const _0x5615ae=_0x5878db;this[_0x5615ae(0x295)](),this[_0x5615ae(0x106)]=!0x0,this[_0x5615ae(0x3a8)](!0x0);},_0x1150f3*0x3e8);}[_0x1203bc(0x295)](){const _0x549161=_0x1203bc;this[_0x549161(0x2c7)]&&(window[_0x549161(0x196)](this[_0x549161(0x2c7)]),this[_0x549161(0x2c7)]=void 0x0),this[_0x549161(0xd9)]&&(window[_0x549161(0x30c)](this[_0x549161(0xd9)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5d9652){return!0x1;}[_0x1203bc(0x105)](){const _0x127e57=_0x1203bc;this[_0x127e57(0x295)](),super[_0x127e57(0x105)]();}[_0x1203bc(0x2f2)](_0x5ec917){const _0xc10335=_0x1203bc;var _0x11631e,_0x3817e5;let _0x1c2319=this[_0xc10335(0x321)],_0x546ada=this[_0xc10335(0x19c)];this['_highlight']&&!this[_0xc10335(0x106)]&&(_0x1c2319=this[_0xc10335(0x22d)](this[_0xc10335(0x321)]),_0x546ada=this[_0xc10335(0x19c)]?this[_0xc10335(0x22d)](this['_backgroundColor']):void 0x0),_0x3281d5[_0xc10335(0x346)][_0xc10335(0x275)](_0x5ec917,{'width':this[_0xc10335(0x181)],'height':this['height'],'strokeWidth':(_0x11631e=this[_0xc10335(0x351)])!=null?_0x11631e:_0x6547b7,'stroke':_0x1c2319,'evented':!0x1,'fill':_0x546ada}),(this[_0xc10335(0x192)]||this[_0xc10335(0x1ac)])&&(_0x5ec917[_0xc10335(0x125)](),_0x5ec917[_0xc10335(0xdc)](0x1,0x0,0x0,0x1,this[_0xc10335(0x181)],(this[_0xc10335(0x13f)]===_0xc10335(0x3ae)?0x0:-_0xd05176)+((_0x3817e5=this[_0xc10335(0x231)])!=null?_0x3817e5:0x0)),_0x559954[_0xc10335(0x275)](_0x5ec917,{'text':this['_name'],'color':_0x1c2319}),_0x5ec917['restore']());}[_0x1203bc(0x22d)](_0x47c26e){const _0x404dc3=_0x1203bc;if(_0x47c26e['startsWith']('#')){const _0x345c88=Number[_0x404dc3(0x344)](_0x47c26e[_0x404dc3(0x3ba)](0x1,0x3),0x10),_0x3cbeaf=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x3,0x5),0x10),_0xe8da20=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x5,0x7),0x10);return _0x404dc3(0x305)+_0x345c88+',\x20'+_0x3cbeaf+',\x20'+_0xe8da20+_0x404dc3(0x2d9);}return _0x47c26e[_0x404dc3(0x239)](_0x404dc3(0x267))?_0x47c26e[_0x404dc3(0x195)](/[\d.]+\)$/g,_0x404dc3(0x14e)):_0x47c26e['startsWith'](_0x404dc3(0x322))?_0x47c26e['replace'](_0x404dc3(0x322),_0x404dc3(0x267))[_0x404dc3(0x195)](')',_0x404dc3(0x2d9)):_0x47c26e;}}var _0x1d1e3d=Object[_0x1203bc(0x29b)],_0x323a1f=(_0x58f51d,_0x4ad0a0,_0x490f1e,_0x5336c3)=>{const _0x52d2fd=_0x1203bc;for(var _0x53057d=_0x5336c3>0x1?void 0x0:_0x5336c3?_0x1d1e3d(_0x4ad0a0,_0x490f1e):_0x4ad0a0,_0x3a1ccb=_0x58f51d[_0x52d2fd(0x381)]-0x1,_0x150456;_0x3a1ccb>=0x0;_0x3a1ccb--)(_0x150456=_0x58f51d[_0x3a1ccb])&&(_0x53057d=_0x150456(_0x53057d)||_0x53057d);return _0x53057d;},_0x1becd4=(_0x971e2,_0x21a6cb)=>(_0x2a6503,_0x4f8622)=>_0x21a6cb(_0x2a6503,_0x4f8622,_0x971e2);const _0x574c8c=0x1389;let _0x1873f7=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3749a7,_0x17441c,_0x77cdb8,_0x1a97ad){const _0x31d43c=_0x1203bc;super(),_0x5e2d7e(this,'_cursors',new Set()),_0x5e2d7e(this,'_lastPointer',null),(this['_context']=_0x3749a7,this[_0x31d43c(0x39a)]=_0x17441c,this[_0x31d43c(0x3af)]=_0x77cdb8,this[_0x31d43c(0x14c)]=_0x1a97ad,this[_0x31d43c(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x4361f2=_0x1203bc;this[_0x4361f2(0x39a)][_0x4361f2(0x104)]['pipe'](_0x32e776[_0x4361f2(0x300)](this[_0x4361f2(0x17c)]),_0x32e776['switchMap'](_0x5342e4=>{const _0x497915=_0x4361f2;if(_0x5342e4){const _0x166d75=_0x5342e4[_0x497915(0x2cd)];return _0x4b9e95[_0x497915(0x190)](this[_0x497915(0x3af)]['getCollabCursors$'](this[_0x497915(0x301)][_0x497915(0x23a)]),this[_0x497915(0x14c)][_0x497915(0x210)])['pipe'](_0x32e776[_0x497915(0x29a)](([_0x59afaa,_0x4094a8])=>{const _0x36e09a=new Map();return _0x59afaa['forEach']((_0xc43f6f,_0xdf9dc4)=>{const _0x43d9bf=_0x4f4a;if(_0xc43f6f[_0x43d9bf(0x2ca)]===_0x166d75){const _0x265f9e={..._0xc43f6f};_0x265f9e[_0x43d9bf(0x2d3)]=this['_themeService'][_0x43d9bf(0x2c9)](_0xc43f6f[_0x43d9bf(0x2d3)]),_0x36e09a[_0x43d9bf(0x186)](_0xdf9dc4,_0x265f9e);}}),{'skeleton':_0x5342e4,'cursors':_0x36e09a};}));}return _0x4b9e95['of']({'skeleton':null,'cursors':new Map()});}))[_0x4361f2(0x33f)](({skeleton:_0x496145,cursors:_0x4cb985})=>{const _0x58777b=_0x4361f2;this[_0x58777b(0x1a0)](),_0x496145&&this['_updateCollabCursors'](_0x496145,_0x4cb985);}),this[_0x4361f2(0x39a)][_0x4361f2(0x104)][_0x4361f2(0x33f)](_0x172ea3=>{const _0x4bc7ac=_0x4361f2;if(_0x172ea3==null)return;const {skeleton:_0x5e2a56}=_0x172ea3,{scene:_0x37b314}=this['_context'];_0x37b314[_0x4bc7ac(0x253)][_0x4bc7ac(0x1ba)](_0x2f9c71[_0x4bc7ac(0x167)](_0x66b67e=>{const _0x23ec1f=_0x4bc7ac;var _0x327887,_0x1990d3;const {offsetX:_0x695f3a,offsetY:_0x153a03}=_0x66b67e,{x:_0x4d335b,y:_0x149c8a}=_0x37b314[_0x23ec1f(0x30f)](_0x3281d5[_0x23ec1f(0xcf)]['FromArray']([_0x695f3a,_0x153a03])),{scaleX:_0xa8e76b,scaleY:_0x2849ec}=_0x37b314[_0x23ec1f(0x294)](),_0x367edb=_0x37b314[_0x23ec1f(0x2f0)](_0x3281d5[_0x23ec1f(0x1b5)][_0x23ec1f(0x28a)]),_0x352812=_0x37b314[_0x23ec1f(0x20c)](_0x3281d5['Vector2'][_0x23ec1f(0x114)]([_0x4d335b,_0x149c8a]),_0x367edb),_0x406748=_0x5e2a56[_0x23ec1f(0x198)](_0x695f3a,_0x153a03,_0xa8e76b,_0x2849ec,_0x352812);((_0x327887=this[_0x23ec1f(0x2a2)])==null?void 0x0:_0x327887[_0x23ec1f(0xd2)])===_0x406748[_0x23ec1f(0xd2)]&&((_0x1990d3=this['_lastPointer'])==null?void 0x0:_0x1990d3['row'])===_0x406748[_0x23ec1f(0x2a3)]||this[_0x23ec1f(0x3ac)][_0x23ec1f(0x2fb)](_0x504b67=>{const _0x247ec8=_0x23ec1f;_0x504b67[_0x247ec8(0x29f)](_0x406748);});},0x64));});}[_0x1203bc(0x1ad)](_0x2c298a,_0x236aba){const _0x2e25ab=_0x1203bc;var _0x3f4bb6;const _0x596a80=(_0x3f4bb6=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3f4bb6[_0x2e25ab(0x368)];if(!_0x596a80)return;const _0x2d6783=this[_0x2e25ab(0xd6)]();if(!_0x2d6783)return;this['_cursors'][_0x2e25ab(0x2fb)](_0x4e6557=>{const _0x3a2a86=_0x2e25ab;_0x4e6557[_0x3a2a86(0x3a8)]();});const {scene:_0x22bb15}=_0x2d6783,_0x3b9997=_0x2081c9(Array[_0x2e25ab(0x1f5)](_0x236aba[_0x2e25ab(0x27c)]()))[_0x2e25ab(0x29a)](_0x36d7bf=>{const _0x2114c3=_0x2e25ab,{color:_0xe92f3e,range:_0x1e6715,name:_0x205c9d,selection:_0x28aa93,sheetID:_0x3c4f8b}=_0x36d7bf,{startColumn:_0x2cc079,startRow:_0x521aa8,endColumn:_0x54dfe4,endRow:_0x3f22cc}=_0x1e6715,_0x2e87e0=_0x4dff07[_0x2114c3(0x274)](_0x521aa8,_0x2cc079,_0x22bb15,_0x596a80),_0x5cd0eb=_0x4dff07[_0x2114c3(0x274)](_0x3f22cc,_0x54dfe4,_0x22bb15,_0x596a80),{columnHeaderHeightAndMarginTop:_0x1db48e}=_0x596a80,{startX:_0x5985c5,startY:_0x3899c6}=_0x2e87e0,{endX:_0x566cd4,endY:_0x3def22}=_0x5cd0eb,_0x21350a=_0x566cd4-_0x5985c5,_0xbe6108=_0x3def22-_0x3899c6,_0x1c75fc={'labelPosition':_0x3899c6-_0x1db48e>=_0xd05176?'top':'bottom','sheetID':_0x3c4f8b,'range':_0x1e6715,'color':_0xe92f3e,'name':_0x205c9d,'selection':_0x28aa93,'left':_0x5985c5,'top':_0x3899c6,'width':_0x21350a,'height':_0xbe6108,'evented':!0x1,'zIndex':_0x574c8c};return new _0x4486c3(_0x205c9d,_0x1c75fc);});_0x22bb15[_0x2e25ab(0x281)](_0x3b9997,_0x35b26b),this[_0x2e25ab(0x3ac)]=new Set(_0x3b9997);}['_removeCollabCursors'](){const _0x4b9d73=_0x1203bc;var _0x2cfc79;(_0x2cfc79=this[_0x4b9d73(0x3ac)])==null||_0x2cfc79[_0x4b9d73(0x2fb)](_0xab6b7b=>_0xab6b7b[_0x4b9d73(0x105)]());}[_0x1203bc(0xd6)](){const _0xfd7b35=_0x1203bc;return _0x4dff07[_0xfd7b35(0xe3)](this[_0xfd7b35(0x301)][_0xfd7b35(0xd3)],this[_0xfd7b35(0x301)]);}};_0x1873f7=_0x323a1f([_0x1becd4(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x4dff07[_0x1203bc(0xce)])),_0x1becd4(0x2,_0x2f9c71['Inject'](_0x36bfc6)),_0x1becd4(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x38e)]))],_0x1873f7);function _0x2081c9(_0x2f06e6){const _0x550c62=_0x1203bc,_0x4e43b2=new Map();return _0x2f06e6['forEach'](_0x3b5756=>{const _0xc4f50=_0x4f4a;if(_0x4e43b2[_0xc4f50(0x1c6)](_0x3b5756[_0xc4f50(0x116)])){const _0x191839=_0x4e43b2['get'](_0x3b5756['selection']);_0x191839[_0xc4f50(0x29d)]+=',\x20'+_0x3b5756[_0xc4f50(0x29d)];}else _0x4e43b2[_0xc4f50(0x186)](_0x3b5756[_0xc4f50(0x116)],_0x3b5756);}),Array[_0x550c62(0x1f5)](_0x4e43b2['values']());}var _0x20b299=Object['getOwnPropertyDescriptor'],_0x4a5461=(_0x425688,_0x5b81d0,_0x264236,_0x3d05db)=>{const _0x19e8da=_0x1203bc;for(var _0x486843=_0x3d05db>0x1?void 0x0:_0x3d05db?_0x20b299(_0x5b81d0,_0x264236):_0x5b81d0,_0x10098f=_0x425688[_0x19e8da(0x381)]-0x1,_0x32aa59;_0x10098f>=0x0;_0x10098f--)(_0x32aa59=_0x425688[_0x10098f])&&(_0x486843=_0x32aa59(_0x486843)||_0x486843);return _0x486843;},_0xc0722a=(_0x2cc2ea,_0x4143f0)=>(_0x6bac97,_0x495051)=>_0x4143f0(_0x6bac97,_0x495051,_0x2cc2ea);let _0x527dfc=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5962a1,_0x43836,_0x3285b2,_0x52d734,_0x38e393,_0xfb7a0c){const _0x25ab76=_0x1203bc;super(),this[_0x25ab76(0x154)]=_0x5962a1,this[_0x25ab76(0x115)]=_0x43836,this[_0x25ab76(0x22c)]=_0x3285b2,this[_0x25ab76(0x250)]=_0x52d734,this[_0x25ab76(0x166)]=_0x38e393,this[_0x25ab76(0x2dc)]=_0xfb7a0c,this['_setupBeforeClosingHandler'](),this[_0x25ab76(0x180)]();}[_0x1203bc(0x2dd)](){const _0xa33559=_0x1203bc;this[_0xa33559(0x293)](this[_0xa33559(0x154)][_0xa33559(0xf0)](()=>{const _0x528a74=_0xa33559;if(this[_0x528a74(0x115)][_0x528a74(0x112)][_0x528a74(0x260)])return this[_0x528a74(0x2dc)]['t'](_0x528a74(0x25a));}));}[_0x1203bc(0x180)](){const _0x277c72=_0x1203bc;this[_0x277c72(0x293)](this[_0x277c72(0x22c)][_0x277c72(0x262)][_0x277c72(0x33f)](_0x16b242=>{const _0x929239=_0x277c72;_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x178)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d['MessageType']['Warning'],'content':this['_localeService']['t'](_0x929239(0x119))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x1ab)]&&this[_0x929239(0x250)]['show']({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['PERMISSION_DENIED']&&this['_notificationService'][_0x929239(0x363)]({'title':this[_0x929239(0x2dc)]['t'](_0x929239(0xe1)),'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x14a)),'type':_0x929239(0x2af),'duration':0x0}),_0x16b242['id']===_0x483f62['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))+'('+_0x16b242['data']+')'}),_0x16b242['id']===_0x483f62['CollaborationUIEventId'][_0x929239(0x20e)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)]['Warning'],'content':this[_0x929239(0x2dc)]['t'](_0x16b242[_0x929239(0x39e)]||'')}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SOCKET_FAILED_RETRY']&&this[_0x929239(0x250)]['show']({'type':_0x15837d['MessageType'][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x237))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x15d)]&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x1c4))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t']('session.collaboration-timeout')});}));}};_0x527dfc=_0x4a5461([_0xc0722a(0x0,_0x97839d[_0x1203bc(0x137)]),_0xc0722a(0x1,_0x483f62['ILocalCacheService']),_0xc0722a(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x2cb)])),_0xc0722a(0x3,_0x97839d[_0x1203bc(0x1f2)]),_0xc0722a(0x4,_0x97839d['INotificationService']),_0xc0722a(0x5,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0xed)]))],_0x527dfc);var _0xc685af=Object[_0x1203bc(0x29b)],_0x371308=(_0x47f9a4,_0x1a556c,_0x3ef694,_0x2d0d4b)=>{for(var _0x2b679d=_0x2d0d4b>0x1?void 0x0:_0x2d0d4b?_0xc685af(_0x1a556c,_0x3ef694):_0x1a556c,_0x51f203=_0x47f9a4['length']-0x1,_0x6dce08;_0x51f203>=0x0;_0x51f203--)(_0x6dce08=_0x47f9a4[_0x51f203])&&(_0x2b679d=_0x6dce08(_0x2b679d)||_0x2b679d);return _0x2b679d;},_0x2e7cd5=(_0x246028,_0x3f928d)=>(_0x5e8fe4,_0x3bd26d)=>_0x3f928d(_0x5e8fe4,_0x3bd26d,_0x246028);let _0x45fd84=class extends _0x2f9c71['Disposable']{constructor(_0x1320c4,_0x49230b,_0x589204,_0x3ff1e2){const _0x1d45b4=_0x1203bc;super(),_0x5e2d7e(this,_0x1d45b4(0x213)),(this[_0x1d45b4(0x2ec)]=_0x1320c4,this['_httpService']=_0x49230b,this['_logService']=_0x589204,this['_collaborationSessionService']=_0x3ff1e2,this['_init']());}[_0x1203bc(0x3ad)](){const _0x5cd137=_0x1203bc;this[_0x5cd137(0x365)](),this['_initUnhandledRejectionListener'](),this[_0x5cd137(0x26f)](),this[_0x5cd137(0x1d2)]();}[_0x1203bc(0x1d2)](){const _0x160b8b=_0x1203bc;this[_0x160b8b(0x293)](this[_0x160b8b(0x2a0)][_0x160b8b(0x174)][_0x160b8b(0x33f)](_0x507ae4=>{const _0x59e4e0=_0x160b8b;this['_memberID']=_0x507ae4==null?void 0x0:_0x507ae4[_0x59e4e0(0x320)];}));}[_0x1203bc(0x365)](){const _0xba927=_0x1203bc,_0x2cfc31=_0x318b58=>{const _0x2faf14=_0x4f4a;var _0x4c8acb;this['_uploadLog'](_0x2faf14(0x2af),_0x2faf14(0x1d3)+_0x318b58[_0x2faf14(0x13a)]+_0x2faf14(0x138)+_0x318b58[_0x2faf14(0x3b9)]+':'+_0x318b58[_0x2faf14(0x1b3)]+':'+_0x318b58['colno']+'\x0a'+(((_0x4c8acb=_0x318b58[_0x2faf14(0x2af)])==null?void 0x0:_0x4c8acb[_0x2faf14(0xc4)])||''));};window[_0xba927(0x18e)](_0xba927(0x2af),_0x2cfc31),this[_0xba927(0x293)](()=>{const _0x4eb90d=_0xba927;window[_0x4eb90d(0x1d6)](_0x4eb90d(0x2af),_0x2cfc31);});}[_0x1203bc(0x164)](){const _0x31cc0c=_0x1203bc,_0x2803cb=_0x367d56=>{const _0x13531b=_0x4f4a;this[_0x13531b(0x30d)]('error',_0x13531b(0x291)+_0x367d56[_0x13531b(0xe7)]);};window[_0x31cc0c(0x18e)]('unhandledrejection',_0x2803cb),this[_0x31cc0c(0x293)](()=>{const _0x3d68b8=_0x31cc0c;window[_0x3d68b8(0x1d6)](_0x3d68b8(0x100),_0x2803cb);});}[_0x1203bc(0x26f)](){const _0x35534d=_0x1203bc,_0x3baae5=this['_logService'][_0x35534d(0x2af)][_0x35534d(0x2f3)](this[_0x35534d(0x21d)]);this['_logService']['error']=(..._0x3f8dcb)=>{const _0x363023=_0x35534d,_0x2be9be=_0x3f8dcb[_0x363023(0x29a)](_0x451b4f=>_0x451b4f instanceof Error?_0x451b4f[_0x363023(0x13a)]+'\x0a'+_0x451b4f[_0x363023(0xc4)]:String(_0x451b4f))['join']('\x20');this['_uploadLog'](_0x363023(0x2af),'[LogService\x20Error]:\x20'+_0x2be9be),_0x3baae5(..._0x3f8dcb);},this[_0x35534d(0x293)](()=>{const _0x5c59b6=_0x35534d;this['_logService'][_0x5c59b6(0x2af)]=_0x3baae5;});}[_0x1203bc(0x30d)](_0x58008a,_0x13e641){const _0x5ae812=_0x1203bc;try{const _0x364b19={'userId':this['_memberID'],'logLabel':_0x58008a,'content':_0x13e641};this[_0x5ae812(0x247)][_0x5ae812(0x2d8)](_0x5ae812(0x1f9),{'body':_0x364b19})[_0x5ae812(0x22f)](()=>{});}catch{}}};_0x45fd84=_0x371308([_0x2e7cd5(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2e7cd5(0x1,_0x2f9c71['Inject'](_0x1c1235['HTTPService'])),_0x2e7cd5(0x2,_0x2f9c71[_0x1203bc(0x220)]),_0x2e7cd5(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xcd)]))],_0x45fd84);const _0x5e1025=_0x1203bc(0x145),_0x4795ce={};var _0x5e8509=Object[_0x1203bc(0x29b)],_0x16495f=(_0x56c938,_0xa9c055,_0x2ef2e1,_0x48768c)=>{const _0x46da02=_0x1203bc;for(var _0x2c9a04=_0x48768c>0x1?void 0x0:_0x48768c?_0x5e8509(_0xa9c055,_0x2ef2e1):_0xa9c055,_0x32d0cb=_0x56c938[_0x46da02(0x381)]-0x1,_0x326d80;_0x32d0cb>=0x0;_0x32d0cb--)(_0x326d80=_0x56c938[_0x32d0cb])&&(_0x2c9a04=_0x326d80(_0x2c9a04)||_0x2c9a04);return _0x2c9a04;},_0x48f5ce=(_0x1ef467,_0x409386)=>(_0x458e56,_0x2e58a3)=>_0x409386(_0x458e56,_0x2e58a3,_0x1ef467);let _0x36697e=class{constructor(_0x49b08d,_0x1b54f1){const _0x338126=_0x1203bc;this[_0x338126(0x147)]=_0x49b08d,this[_0x338126(0x386)]=_0x1b54f1;}[_0x1203bc(0x391)](_0x4e95ac){const _0x569ee6=_0x1203bc;this[_0x569ee6(0x336)](_0x4e95ac),this['_transformPreviousActiveRange'](_0x4e95ac);}['transformRemoteChangeset'](_0x31d54c){const _0x31fd54=_0x1203bc,{unitID:_0x2ab4f5}=_0x31d54c,_0x579709=this[_0x31fd54(0x386)][_0x31fd54(0x206)](_0x2ab4f5)['with'](_0x244982[_0x31fd54(0x199)]),{redoCache:_0x1e341d}=_0x579709[_0x31fd54(0xf8)]();if(_0x1e341d[_0x31fd54(0x381)]===0x0)return _0x31d54c;let _0x348a4c=_0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c[_0x31fd54(0x35f)][0x0]);for(let _0x51178a=0x0;_0x51178a<_0x1e341d[_0x31fd54(0x381)];_0x51178a++){const _0x1cf7c3={'id':'doc.mutation.rich-text-editing','params':{..._0x1e341d[_0x51178a]}},_0x58923f=this[_0x31fd54(0x147)][_0x31fd54(0x221)](_0x348a4c,_0x1cf7c3,!0x1);if(_0x555c33[_0x31fd54(0x352)](_0x58923f))throw _0x58923f['error'];_0x348a4c=_0x58923f[_0x31fd54(0x2c5)];}return{..._0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c),'mutations':[_0x348a4c]};}[_0x1203bc(0x336)](_0x3fa52c){const _0x547cca=_0x1203bc,{unitID:_0x1e9060}=_0x3fa52c,_0x191925=this[_0x547cca(0x386)][_0x547cca(0x206)](_0x1e9060)[_0x547cca(0xd7)](_0x244982[_0x547cca(0x199)]),{undoCache:_0x4f7004,redoCache:_0x5edd07}=_0x191925[_0x547cca(0xf8)]();if(_0x4f7004[_0x547cca(0x381)]===0x0||_0x5edd07[_0x547cca(0x381)]===0x0)return;const _0x36261e=[],_0x16b361=[];let _0x3bb572=_0x2f9c71[_0x547cca(0x28c)][_0x547cca(0x317)](_0x3fa52c[_0x547cca(0x35f)][0x0]),_0x1b0d08=_0x2f9c71[_0x547cca(0x28c)]['deepClone'](_0x3fa52c['mutations'][0x0]);for(let _0x1a1161=_0x4f7004['length']-0x1;_0x1a1161>=0x0;_0x1a1161--){const _0x267e6f={'id':_0x547cca(0x20f),'params':{..._0x4f7004[_0x1a1161]}},_0x2e7c08={'id':_0x547cca(0x20f),'params':{..._0x5edd07[_0x1a1161]}},_0x5aca63=this[_0x547cca(0x147)][_0x547cca(0x221)](_0x3bb572,_0x267e6f,!0x1),_0xc8b37c=this['_transformService'][_0x547cca(0x221)](_0x1b0d08,_0x2e7c08,!0x1);if(_0x555c33[_0x547cca(0x352)](_0x5aca63))throw _0x5aca63['error'];if(_0x555c33['isTransformMutationFailure'](_0xc8b37c))throw _0xc8b37c[_0x547cca(0x2af)];_0x36261e[_0x547cca(0xeb)](_0x5aca63[_0x547cca(0x338)][_0x547cca(0x285)]),_0x16b361[_0x547cca(0xeb)](_0xc8b37c[_0x547cca(0x338)]['params']),_0x3bb572=_0x5aca63[_0x547cca(0x2c5)],_0x1b0d08=_0xc8b37c[_0x547cca(0x2c5)];}_0x191925[_0x547cca(0x144)]({'undoCache':_0x36261e,'redoCache':_0x16b361});}['_transformPreviousActiveRange'](_0x2118e7){const _0x1b1d02=_0x1203bc,{unitID:_0x2b05e9}=_0x2118e7,_0x5977f6=this[_0x1b1d02(0x386)][_0x1b1d02(0x206)](_0x2b05e9)[_0x1b1d02(0xd7)](_0x244982[_0x1b1d02(0x199)]),_0x455900=_0x5977f6[_0x1b1d02(0x1fc)]();if(_0x455900==null)return;const _0x57fcd2=[{'id':_0x1b1d02(0x20f),'params':{'unitId':_0x2118e7[_0x1b1d02(0x1fe)],'actions':null,'textRanges':[_0x455900]}}],_0x648836=this[_0x1b1d02(0x147)][_0x1b1d02(0x24a)](_0x2118e7,_0x57fcd2);if(!_0x555c33[_0x1b1d02(0x218)](_0x648836))throw _0x648836[_0x1b1d02(0x2af)];const _0x3d10a3=_0x648836[_0x1b1d02(0x338)][0x0]['params'][_0x1b1d02(0x25e)];Array[_0x1b1d02(0x364)](_0x3d10a3)&&_0x3d10a3['length']&&_0x5977f6[_0x1b1d02(0x29c)](_0x3d10a3[0x0]);}};_0x36697e=_0x16495f([_0x48f5ce(0x0,_0x555c33[_0x1203bc(0x243)]),_0x48f5ce(0x1,_0x3281d5[_0x1203bc(0x2b9)])],_0x36697e);var _0x443791=Object['getOwnPropertyDescriptor'],_0x2f8c9b=(_0x22c127,_0x556055,_0x43c28e,_0x3be538)=>{const _0x508c36=_0x1203bc;for(var _0x50cdf1=_0x3be538>0x1?void 0x0:_0x3be538?_0x443791(_0x556055,_0x43c28e):_0x556055,_0x17df93=_0x22c127[_0x508c36(0x381)]-0x1,_0x32f700;_0x17df93>=0x0;_0x17df93--)(_0x32f700=_0x22c127[_0x17df93])&&(_0x50cdf1=_0x32f700(_0x50cdf1)||_0x50cdf1);return _0x50cdf1;},_0x38a613=(_0x434f49,_0x42e47e)=>(_0x121da5,_0x25af04)=>_0x42e47e(_0x121da5,_0x25af04,_0x434f49);let _0x3e9655=class{constructor(_0xaeb8a6,_0xf5d195,_0x4838e0){const _0x35f1f2=_0x1203bc;this[_0x35f1f2(0x2ec)]=_0xaeb8a6,this[_0x35f1f2(0x147)]=_0xf5d195,this[_0x35f1f2(0x313)]=_0x4838e0;}[_0x1203bc(0x2c0)](_0x4b0f48){const _0x178f54=_0x1203bc;this[_0x178f54(0x1b9)](_0x4b0f48);}[_0x1203bc(0x17e)](_0x32d496){const _0x2404a6=_0x1203bc,{unitID:_0x2db3a5}=_0x32d496,{collaboration:_0x5ea277}=this[_0x2404a6(0x313)][_0x2404a6(0xd5)](_0x2db3a5);if(_0x5ea277[_0x2404a6(0x381)]===0x0)return _0x32d496;let _0x31061e=_0x2f9c71[_0x2404a6(0x28c)][_0x2404a6(0x317)](_0x32d496[_0x2404a6(0x35f)][0x0]);for(let _0x3e6539=0x0;_0x3e6539<_0x5ea277[_0x2404a6(0x381)];_0x3e6539++){const _0x172448={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea277[_0x3e6539]['unitId'],..._0x5ea277[_0x3e6539]['redoState']}},_0x2548f0=this[_0x2404a6(0x147)][_0x2404a6(0x221)](_0x31061e,_0x172448,!0x1);if(_0x555c33[_0x2404a6(0x352)](_0x2548f0))throw _0x2548f0[_0x2404a6(0x2af)];_0x31061e=_0x2548f0[_0x2404a6(0x2c5)];}return{..._0x2f9c71[_0x2404a6(0x28c)]['deepClone'](_0x32d496),'mutations':[_0x31061e]};}[_0x1203bc(0x1b9)](_0x4c110a){const _0x2c1497=_0x1203bc,{unitID:_0x19b41e}=_0x4c110a,{history:_0x412210,collaboration:_0x24d376}=this[_0x2c1497(0x313)][_0x2c1497(0xd5)](_0x19b41e);if(_0x412210[_0x2c1497(0x381)]===0x0&&_0x24d376[_0x2c1497(0x381)]===0x0)return;const _0x412fea=[],_0x4a72f9=[];let _0xf7a022=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a['mutations'][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x52844e=_0x412210[_0x2c1497(0x381)]-0x1;_0x52844e>=0x0;_0x52844e--){const _0x7e1e6={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e][_0x2c1497(0x23a)],..._0x412210[_0x52844e][_0x2c1497(0x3a9)]}},_0x319255={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e]['unitId'],..._0x412210[_0x52844e][_0x2c1497(0x3a4)]}},_0x3ff626=this['_transformService'][_0x2c1497(0x221)](_0xf7a022,_0x7e1e6,!0x1),_0x5c450f=this['_transformService'][_0x2c1497(0x221)](_0x20f069,_0x319255,!0x1);if(_0x555c33[_0x2c1497(0x352)](_0x3ff626))throw _0x3ff626['error'];if(_0x555c33[_0x2c1497(0x352)](_0x5c450f))throw _0x5c450f[_0x2c1497(0x2af)];_0x412fea['unshift']({..._0x412210[_0x52844e],'undoState':_0x3ff626[_0x2c1497(0x338)]['params'],'redoState':_0x5c450f[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x3ff626[_0x2c1497(0x2c5)],_0x20f069=_0x5c450f[_0x2c1497(0x2c5)];}_0xf7a022=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x15490e=_0x24d376[_0x2c1497(0x381)]-0x1;_0x15490e>=0x0;_0x15490e--){const _0x3876e3={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e][_0x2c1497(0x3a9)]}},_0x33e6db={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e]['redoState']}},_0x4ae584=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0xf7a022,_0x3876e3,!0x1),_0x2b56cd=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0x20f069,_0x33e6db,!0x1);if(_0x555c33['isTransformMutationFailure'](_0x4ae584))throw _0x4ae584[_0x2c1497(0x2af)];if(_0x555c33[_0x2c1497(0x352)](_0x2b56cd))throw _0x2b56cd[_0x2c1497(0x2af)];_0x4a72f9[_0x2c1497(0xeb)]({..._0x24d376[_0x15490e],'undoState':_0x4ae584[_0x2c1497(0x338)][_0x2c1497(0x285)],'redoState':_0x2b56cd[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x4ae584[_0x2c1497(0x2c5)],_0x20f069=_0x2b56cd[_0x2c1497(0x2c5)];}this[_0x2c1497(0x313)][_0x2c1497(0x215)](_0x19b41e,{'history':_0x412fea,'collaboration':_0x4a72f9});}};_0x3e9655=_0x2f8c9b([_0x38a613(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x38a613(0x1,_0x555c33['ITransformService']),_0x38a613(0x2,_0x2f9c71['Inject'](_0x244982[_0x1203bc(0xef)]))],_0x3e9655);var _0x1414af=Object[_0x1203bc(0x29b)],_0x3cbb8d=(_0x3e9b17,_0x4a7f0a,_0x3323d0,_0xadb195)=>{const _0x48cc89=_0x1203bc;for(var _0x418eb9=_0xadb195>0x1?void 0x0:_0xadb195?_0x1414af(_0x4a7f0a,_0x3323d0):_0x4a7f0a,_0x28507c=_0x3e9b17[_0x48cc89(0x381)]-0x1,_0x3f460b;_0x28507c>=0x0;_0x28507c--)(_0x3f460b=_0x3e9b17[_0x28507c])&&(_0x418eb9=_0x3f460b(_0x418eb9)||_0x418eb9);return _0x418eb9;},_0x1ccaf1=(_0x3a7987,_0x381a94)=>(_0x453435,_0x12e6d2)=>_0x381a94(_0x453435,_0x12e6d2,_0x3a7987);let _0x39b66e=class{constructor(_0x19f0fa,_0x398c43){const _0x468cd4=_0x1203bc;this['_injector']=_0x19f0fa,this[_0x468cd4(0x147)]=_0x398c43;}[_0x1203bc(0x33c)](_0x3e7bda){const _0x247d63=_0x1203bc;var _0x32e2c1;const _0x267804=this['_injector'][_0x247d63(0x28e)](_0x20fc77[_0x247d63(0xc3)]),_0x5ac00c=(_0x32e2c1=_0x267804[_0x247d63(0x12f)]())!=null?_0x32e2c1:[];if(_0x5ac00c[_0x247d63(0x381)]===0x0)return;const _0x5e6605=_0x3e7bda[_0x247d63(0x1fe)],_0x5cc6f8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e6605,'actions':null,'textRanges':_0x5ac00c}}],_0x5b927f=this[_0x247d63(0x147)][_0x247d63(0x24a)](_0x3e7bda,_0x5cc6f8);if(!_0x555c33[_0x247d63(0x218)](_0x5b927f))throw _0x5b927f[_0x247d63(0x2af)];const _0x18d369=_0x5b927f[_0x247d63(0x338)][0x0][_0x247d63(0x285)][_0x247d63(0x25e)];Array[_0x247d63(0x364)](_0x18d369)&&_0x18d369[_0x247d63(0x381)]&&_0x267804[_0x247d63(0x39f)](_0x18d369,{'unitId':_0x5e6605,'subUnitId':_0x5e6605},!0x1);}};_0x39b66e=_0x3cbb8d([_0x1ccaf1(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x1ccaf1(0x1,_0x555c33[_0x1203bc(0x243)])],_0x39b66e);var _0x3419e0=Object[_0x1203bc(0x29b)],_0x59396=(_0x2934e3,_0x1d8a5d,_0x2d995f,_0x4c61b6)=>{const _0x3519ff=_0x1203bc;for(var _0x1e6749=_0x4c61b6>0x1?void 0x0:_0x4c61b6?_0x3419e0(_0x1d8a5d,_0x2d995f):_0x1d8a5d,_0x177343=_0x2934e3[_0x3519ff(0x381)]-0x1,_0x5aed69;_0x177343>=0x0;_0x177343--)(_0x5aed69=_0x2934e3[_0x177343])&&(_0x1e6749=_0x5aed69(_0x1e6749)||_0x1e6749);return _0x1e6749;},_0x52362c=(_0x5ec067,_0x21f7eb)=>(_0xda2590,_0x373148)=>_0x21f7eb(_0xda2590,_0x373148,_0x5ec067);let _0x438673=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x20bb8b,_0x412338,_0x35a9e9,_0x4f97af,_0x2cc036,_0x5d600d,_0x4ea25d,_0x35bad2){const _0x5555ad=_0x1203bc;super(),_0x5e2d7e(this,_0x5555ad(0x1a2),new _0x4b9e95[(_0x5555ad(0x396))](_0x483f62[_0x5555ad(0x380)][_0x5555ad(0x3a7)])),(this['_docStateChangeManagerService']=_0x20bb8b,this['_collaborationController']=_0x412338,this[_0x5555ad(0x1d1)]=_0x35a9e9,this[_0x5555ad(0x1ce)]=_0x4f97af,this[_0x5555ad(0x1bb)]=_0x2cc036,this[_0x5555ad(0x3a1)]=_0x5d600d,this[_0x5555ad(0x250)]=_0x4ea25d,this[_0x5555ad(0x2dc)]=_0x35bad2,this['_initEntityListener']());}[_0x1203bc(0x3b2)](){const _0x1ea874=_0x1203bc;this[_0x1ea874(0x293)](this[_0x1ea874(0x15f)][_0x1ea874(0x27b)][_0x1ea874(0x33f)](_0x536fec=>{const _0x22fd53=_0x1ea874,_0x1e7f32=this[_0x22fd53(0x313)][_0x22fd53(0x287)][_0x22fd53(0x33f)](_0x364588=>{const _0x40eccd=_0x22fd53;if(_0x364588==null)return;const {unitId:_0x59f4c5,redoState:_0x21630f,commandId:_0x2b52d5}=_0x364588;if(_0x59f4c5!==_0x536fec[_0x40eccd(0x1fe)])return;const _0xb5af3f={'id':_0x2b52d5,'type':_0x2f9c71[_0x40eccd(0xf2)]['MUTATION'],'params':{'unitId':_0x59f4c5,'actions':_0x21630f[_0x40eccd(0x1f1)],'textRanges':null}};_0x536fec[_0x40eccd(0x227)](_0xb5af3f);});if(_0x536fec[_0x22fd53(0x293)](_0x1e7f32),_0x536fec instanceof _0x483f62[_0x22fd53(0x13d)]){const _0x3d42c3={'onTransformIME':_0x39536f=>this[_0x22fd53(0x1d1)][_0x22fd53(0x391)](_0x39536f),'onTransformState':_0x49c381=>this['_docTransformStateCacheService'][_0x22fd53(0x2c0)](_0x49c381),'onTransformSelections':_0x1934d3=>this[_0x22fd53(0x1bb)][_0x22fd53(0x33c)](_0x1934d3),'onSyncEditingCollabCursor':_0x1ae780=>this['_docSyncEditingCollabCursorService'][_0x22fd53(0x11a)](_0x1ae780),'onTransformRemoteChangesetByIMECache':_0x8c0186=>this[_0x22fd53(0x1d1)]['transformRemoteChangeset'](_0x8c0186),'onTransformRemoteChangesetByStateCache':_0x1d3142=>this[_0x22fd53(0x1ce)][_0x22fd53(0x17e)](_0x1d3142)};_0x536fec[_0x22fd53(0x2d4)](_0x3d42c3);}}));}};_0x438673=_0x59396([_0x52362c(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x244982[_0x1203bc(0xef)])),_0x52362c(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xbf)])),_0x52362c(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36697e)),_0x52362c(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3e9655)),_0x52362c(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x39b66e)),_0x52362c(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x52362c(0x6,_0x97839d[_0x1203bc(0x1f2)]),_0x52362c(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x438673);var _0x4a6838=(_0x45c16f=>(_0x45c16f[_0x45c16f[_0x1203bc(0x2bb)]=0x0]=_0x1203bc(0x2bb),_0x45c16f[_0x45c16f['OK']=0x1]='OK',_0x45c16f[_0x45c16f[_0x1203bc(0x324)]=0x2]=_0x1203bc(0x324),_0x45c16f[_0x45c16f[_0x1203bc(0x223)]=0x3]=_0x1203bc(0x223),_0x45c16f[_0x45c16f[_0x1203bc(0x21e)]=0x4]=_0x1203bc(0x21e),_0x45c16f[_0x45c16f['UNAUTHENTICATED']=0x5]=_0x1203bc(0x1d4),_0x45c16f[_0x45c16f[_0x1203bc(0x302)]=0x6]='ALREADY_EXISTS',_0x45c16f[_0x45c16f[_0x1203bc(0x28f)]=0x7]=_0x1203bc(0x28f),_0x45c16f[_0x45c16f[_0x1203bc(0x280)]=0x8]=_0x1203bc(0x280),_0x45c16f[_0x45c16f[_0x1203bc(0x184)]=0x9]=_0x1203bc(0x184),_0x45c16f[_0x45c16f[_0x1203bc(0x2bd)]=0xa]=_0x1203bc(0x2bd),_0x45c16f[_0x45c16f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1203bc(0x2b5),_0x45c16f[_0x45c16f[_0x1203bc(0x126)]=0xc]=_0x1203bc(0x126),_0x45c16f[_0x45c16f[_0x1203bc(0x37c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x45c16f[_0x45c16f[_0x1203bc(0x245)]=0xe]=_0x1203bc(0x245),_0x45c16f[_0x45c16f[_0x1203bc(0x185)]=0xf]=_0x1203bc(0x185),_0x45c16f[_0x45c16f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1203bc(0x342),_0x45c16f[_0x45c16f['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x45c16f[_0x45c16f['ERROR_AGAIN']=0x65]=_0x1203bc(0x1ef),_0x45c16f[_0x45c16f['USER_NOT_FOUND']=0xc9]=_0x1203bc(0x21a),_0x45c16f[_0x45c16f[_0x1203bc(0xd4)]=0xca]=_0x1203bc(0xd4),_0x45c16f[_0x45c16f[_0x1203bc(0x357)]=0x1389]=_0x1203bc(0x357),_0x45c16f[_0x45c16f[_0x1203bc(0x21c)]=0x1771]=_0x1203bc(0x21c),_0x45c16f[_0x45c16f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1203bc(0x1a4),_0x45c16f[_0x45c16f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1203bc(0xf1),_0x45c16f[_0x45c16f[_0x1203bc(0x107)]=0x1b59]='APPLY_REJECT',_0x45c16f[_0x45c16f[_0x1203bc(0x16e)]=0x1b5a]=_0x1203bc(0x16e),_0x45c16f[_0x45c16f[_0x1203bc(0x311)]=0x1b5b]=_0x1203bc(0x311),_0x45c16f[_0x45c16f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1203bc(0x319),_0x45c16f[_0x45c16f[_0x1203bc(0xbc)]=0x1b5d]='APPLY_DUPLICATED',_0x45c16f[_0x45c16f[_0x1203bc(0x347)]=0x1f41]=_0x1203bc(0x347),_0x45c16f[_0x45c16f[_0x1203bc(0x1b4)]=0x2329]=_0x1203bc(0x1b4),_0x45c16f[_0x45c16f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1203bc(0x21f),_0x45c16f[_0x45c16f[_0x1203bc(0x235)]=0x232b]=_0x1203bc(0x235),_0x45c16f[_0x45c16f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x273)]=0x232d]=_0x1203bc(0x273),_0x45c16f[_0x45c16f[_0x1203bc(0x1bf)]=0x2711]=_0x1203bc(0x1bf),_0x45c16f[_0x45c16f[_0x1203bc(0x2b4)]=0x2712]=_0x1203bc(0x2b4),_0x45c16f[_0x45c16f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1203bc(0x2d0),_0x45c16f[_0x45c16f[_0x1203bc(0x334)]=0x2714]=_0x1203bc(0x334),_0x45c16f[_0x45c16f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1203bc(0x1a6),_0x45c16f[_0x45c16f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1203bc(0x388),_0x45c16f[_0x45c16f[_0x1203bc(0x38b)]=0x271c]=_0x1203bc(0x38b),_0x45c16f[_0x45c16f[_0x1203bc(0x1f3)]=0x271d]=_0x1203bc(0x1f3),_0x45c16f[_0x45c16f[_0x1203bc(0x349)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x325)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x45c16f[_0x45c16f[_0x1203bc(0x19a)]=0x2720]=_0x1203bc(0x19a),_0x45c16f[_0x45c16f[_0x1203bc(0x1ec)]=0x2af9]=_0x1203bc(0x1ec),_0x45c16f[_0x45c16f[_0x1203bc(0x161)]=0x2ee1]=_0x1203bc(0x161),_0x45c16f[_0x45c16f[_0x1203bc(0x3b5)]=0x2ee2]=_0x1203bc(0x3b5),_0x45c16f[_0x45c16f[_0x1203bc(0x12e)]=0x2ee3]=_0x1203bc(0x12e),_0x45c16f[_0x45c16f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1203bc(0x333),_0x45c16f[_0x45c16f[_0x1203bc(0x38d)]=0x2ee5]=_0x1203bc(0x38d),_0x45c16f[_0x45c16f[_0x1203bc(0x2d2)]=0x32c9]=_0x1203bc(0x2d2),_0x45c16f[_0x45c16f[_0x1203bc(0x1af)]=0x32ca]=_0x1203bc(0x1af),_0x45c16f[_0x45c16f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1203bc(0x1fb),_0x45c16f[_0x45c16f['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1203bc(0x3b1),_0x45c16f[_0x45c16f[_0x1203bc(0x2aa)]=0x36b2]=_0x1203bc(0x2aa),_0x45c16f[_0x45c16f[_0x1203bc(0x354)]=0x36b3]=_0x1203bc(0x354),_0x45c16f[_0x45c16f[_0x1203bc(0x111)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x45c16f[_0x45c16f['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1203bc(0x284),_0x45c16f[_0x45c16f[_0x1203bc(0x258)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x45c16f[_0x45c16f[_0x1203bc(0x1eb)]=0x36b7]=_0x1203bc(0x1eb),_0x45c16f[_0x45c16f[_0x1203bc(0x34d)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x45c16f[_0x45c16f[_0x1203bc(0x1bc)]=0x3715]=_0x1203bc(0x1bc),_0x45c16f[_0x45c16f['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1203bc(0x25c),_0x45c16f[_0x45c16f[_0x1203bc(0x304)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x45c16f[_0x45c16f['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1203bc(0x1cc),_0x45c16f[_0x45c16f[_0x1203bc(0x129)]=0x3a99]=_0x1203bc(0x129),_0x45c16f[_0x45c16f[_0x1203bc(0x2ee)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x45c16f[_0x45c16f[_0x1203bc(0xfb)]=0x3a9b]=_0x1203bc(0xfb),_0x45c16f[_0x45c16f['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1203bc(0x2f1),_0x45c16f[_0x45c16f[_0x1203bc(0x2b7)]=0x3a9d]=_0x1203bc(0x2b7),_0x45c16f[_0x45c16f[_0x1203bc(0x35b)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x45c16f[_0x45c16f[_0x1203bc(0x35d)]=0x3a9f]=_0x1203bc(0x35d),_0x45c16f[_0x45c16f['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x45c16f[_0x45c16f[_0x1203bc(0x340)]=-0x1]=_0x1203bc(0x340),_0x45c16f))(_0x4a6838||{});function _0x495f53(_0x22e7dc){const _0x1ceb04=_0x1203bc;var _0x1297c7,_0x13e81e;const _0x52da72=(_0x1297c7=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x1297c7[_0x1ceb04(0x26c)],_0x576ce5=((_0x13e81e=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x13e81e['totalFormulasToCalculate'])||0x0;return _0x52da72===_0x5a5f64[_0x1ceb04(0x1a5)][_0x1ceb04(0x16b)]&&_0x576ce5>0x0;}function _0x173df2(_0x2be568){const _0x2c1438=_0x1203bc;return _0x2be568[_0x2c1438(0x2c4)]===_0x5a5f64[_0x2c1438(0x290)]['SUCCESS'];}var _0x33f215=Object[_0x1203bc(0x29b)],_0x1df6f2=(_0x3bc246,_0x50e924,_0x5e4070,_0x19d1ee)=>{const _0xf2204b=_0x1203bc;for(var _0x3fa361=_0x19d1ee>0x1?void 0x0:_0x19d1ee?_0x33f215(_0x50e924,_0x5e4070):_0x50e924,_0x206fb2=_0x3bc246[_0xf2204b(0x381)]-0x1,_0x4a2baa;_0x206fb2>=0x0;_0x206fb2--)(_0x4a2baa=_0x3bc246[_0x206fb2])&&(_0x3fa361=_0x4a2baa(_0x3fa361)||_0x3fa361);return _0x3fa361;},_0x14de57=(_0x2fb7e7,_0x3dc11a)=>(_0x1a4fa7,_0x4c6f46)=>_0x3dc11a(_0x1a4fa7,_0x4c6f46,_0x2fb7e7);const _0x23d3ee=_0x1203bc(0x2fa),_0x3d8b05=_0x1203bc(0x1b8),_0x15c3ca='/universer-api/license/formula/limit/done';let _0x368987=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x4e6549,_0x30966b,_0x4841da,_0x2394c6,_0x11070e,_0x4671b9,_0x56358b){const _0x8715b4=_0x1203bc;super(),_0x5e2d7e(this,'_pollingInterval',null),_0x5e2d7e(this,_0x8715b4(0x10e),0x0),_0x5e2d7e(this,'_currentUsage',0x0),_0x5e2d7e(this,_0x8715b4(0x350),[]),_0x5e2d7e(this,_0x8715b4(0xc1),0x0),(this['_messageService']=_0x4e6549,this['_commandService']=_0x30966b,this[_0x8715b4(0x233)]=_0x4841da,this[_0x8715b4(0x247)]=_0x2394c6,this['_univerInstanceService']=_0x11070e,this['_logService']=_0x4671b9,this[_0x8715b4(0x2dc)]=_0x56358b,this[_0x8715b4(0x374)]());}[_0x1203bc(0x374)](){const _0x1f02af=_0x1203bc;this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)]['beforeCommandExecuted']((_0x35f9a9,_0x1385dc)=>{const _0x164be3=_0x1f02af;var _0x2ad5be;if(_0x35f9a9['id']!==_0x5a5f64[_0x164be3(0x37b)]['id'])return;const _0x185abe=_0x35f9a9[_0x164be3(0x285)];if(!this[_0x164be3(0x1f8)]((_0x2ad5be=_0x185abe[_0x164be3(0x323)])!=null?_0x2ad5be:[]))return;if(!this[_0x164be3(0x11e)]())throw this['_checkAndWaitForCalculationPermission'](_0x35f9a9,_0x1385dc),this[_0x164be3(0x130)](),new _0x2f9c71[(_0x164be3(0x1aa))]();})),this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)][_0x1f02af(0x395)]((_0x38b17d,_0x38b44c)=>{const _0x50ea2e=_0x1f02af;if(_0x38b17d['id']!==_0x5a5f64[_0x50ea2e(0x265)]['id'])return;const _0xcd5430=_0x38b17d['params'];if(_0x495f53(_0xcd5430)){const _0x44edc1=_0x2f9c71[_0x50ea2e(0x188)]();this[_0x50ea2e(0x350)][_0x50ea2e(0x35e)](_0x44edc1),this[_0x50ea2e(0x39d)](_0x44edc1);}else{if(_0x173df2(_0xcd5430)&&this['_taskIds'][_0x50ea2e(0x381)]>0x0){const _0x26fc64=this['_taskIds']['shift']();this[_0x50ea2e(0x1c0)](_0x26fc64);}}}));}[_0x1203bc(0x105)](){const _0xa6ddf0=_0x1203bc;super['dispose'](),this[_0xa6ddf0(0x328)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0xa6ddf0(0x10e)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x1203bc(0x337)](_0x5b4e93,_0x2bfd98){const _0x394e8a=_0x1203bc;for(let _0x12b2df=0x0;_0x12b2df<0x1e;_0x12b2df++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x394e8a(0x14b)](_0x5b4e93,_0x2bfd98),this[_0x394e8a(0x250)][_0x394e8a(0x363)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x15837d[_0x394e8a(0x176)]['Success']});return;}await new Promise(_0x397b6f=>{const _0x34ca4a=_0x394e8a;this['_pollingInterval']=window[_0x34ca4a(0x1a1)](_0x397b6f,0x3e8);});}catch(_0x1dfd30){this['_logService']['error'](_0x1dfd30);}this[_0x394e8a(0x250)]['show']({'content':this[_0x394e8a(0x2dc)]['t']('formula.calculation.unable'),'type':_0x15837d[_0x394e8a(0x176)]['Error']});}['_applyCommand'](_0x1fe25,_0x3377e2){const _0x44cf88=_0x1203bc;try{this[_0x44cf88(0x13b)][_0x44cf88(0x143)](_0x1fe25['id'],_0x1fe25[_0x44cf88(0x285)],_0x3377e2);}catch(_0x2d6e44){this['_logService']['error'](_0x2d6e44);}}[_0x1203bc(0xd8)](_0x1c6684,_0x4dd8cc){const _0x4e3a40=_0x1203bc;_0x4dd8cc<this[_0x4e3a40(0xc1)]||(this[_0x4e3a40(0xc1)]=_0x4dd8cc,this[_0x4e3a40(0x10e)]=Number[_0x4e3a40(0x344)](_0x1c6684['maxFormulaLimit']),this[_0x4e3a40(0x135)]=Number[_0x4e3a40(0x344)](_0x1c6684[_0x4e3a40(0x367)]));}async[_0x1203bc(0x39d)](_0x462473){const _0x24518f=_0x1203bc;var _0x363c7d,_0x5d2404;const _0x2decf4=Date[_0x24518f(0x20b)]();try{const _0x8836c8=((_0x363c7d=this[_0x24518f(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x363c7d[_0x24518f(0x187)])||_0x3d8b05,_0xc07248=(await this[_0x24518f(0x247)][_0x24518f(0x2d8)](_0x8836c8,{'body':JSON[_0x24518f(0x2b2)]({'taskId':_0x462473})}))[_0x24518f(0x24d)];if(((_0x5d2404=_0xc07248[_0x24518f(0x2af)])==null?void 0x0:_0x5d2404[_0x24518f(0x1e3)])!==_0x4a6838['OK'])return;this['_setFormulaLimitStatus'](_0xc07248[_0x24518f(0x226)],_0x2decf4);}catch(_0x434c71){this[_0x24518f(0x21d)]['error'](_0x434c71);}}async['_getFormulaLimitStatus'](_0x2d6b10){const _0x211de7=_0x1203bc;var _0xa7dbe,_0x479f09;const _0xbd8651=Date['now']();try{const _0x1fc96a=((_0xa7dbe=this[_0x211de7(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xa7dbe['getFormulaLimitStatusUrl'])||_0x23d3ee,_0x3ab193=_0x2d6b10?_0x1fc96a+_0x211de7(0x39c)+encodeURIComponent(_0x2d6b10):_0x1fc96a,_0x311239=(await this['_httpService']['get'](_0x3ab193))[_0x211de7(0x24d)];if(((_0x479f09=_0x311239[_0x211de7(0x2af)])==null?void 0x0:_0x479f09[_0x211de7(0x1e3)])!==_0x4a6838['OK'])return;this[_0x211de7(0xd8)](_0x311239[_0x211de7(0x226)],_0xbd8651);}catch(_0x2d5c6b){this[_0x211de7(0x21d)][_0x211de7(0x2af)](_0x2d5c6b);}}async[_0x1203bc(0x1c0)](_0xc148f1){const _0xd6e16b=_0x1203bc;var _0x2dd10e,_0x2704e4;const _0x2c1731=Date[_0xd6e16b(0x20b)]();try{const _0x5f29fb=((_0x2dd10e=this[_0xd6e16b(0x233)][_0xd6e16b(0x36a)](_0x483f62[_0xd6e16b(0x2c6)]))==null?void 0x0:_0x2dd10e['releaseFormulaLimitUrl'])||_0x15c3ca,_0x3b9a14=(await this[_0xd6e16b(0x247)][_0xd6e16b(0x2d8)](_0x5f29fb,{'body':JSON[_0xd6e16b(0x2b2)]({'taskId':_0xc148f1})}))[_0xd6e16b(0x24d)];if(((_0x2704e4=_0x3b9a14[_0xd6e16b(0x2af)])==null?void 0x0:_0x2704e4[_0xd6e16b(0x1e3)])!==_0x4a6838['OK'])return;this[_0xd6e16b(0xd8)](_0x3b9a14['limitInfo'],_0x2c1731);}catch(_0x2477d9){this['_logService'][_0xd6e16b(0x2af)](_0x2477d9);}}['_checkCalculationAvailable'](){const _0x60e26a=_0x1203bc;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x60e26a(0x10e)]-this[_0x60e26a(0x135)]>0x0;}[_0x1203bc(0x328)](){const _0xecd2f1=_0x1203bc;this[_0xecd2f1(0x28d)]&&(clearTimeout(this[_0xecd2f1(0x28d)]),this['_pollingInterval']=null);}[_0x1203bc(0x130)](){const _0x11cf0d=_0x1203bc;this[_0x11cf0d(0x250)][_0x11cf0d(0x363)]({'content':this[_0x11cf0d(0x2dc)]['t'](_0x11cf0d(0x263)),'type':_0x15837d[_0x11cf0d(0x176)][_0x11cf0d(0x2ed)]});}['_hasFormulaInDirtyRanges'](_0x403328){const _0x199646=_0x1203bc;for(const _0x3b3d42 of _0x403328){const {unitId:_0x5727b5,sheetId:_0x1823d2,range:_0x187f67}=_0x3b3d42,_0x19d4e0=this[_0x199646(0xf9)][_0x199646(0x369)](_0x5727b5);if(!_0x19d4e0)continue;const _0x5110e9=_0x19d4e0['getSheetBySheetId'](_0x1823d2);if(!_0x5110e9)continue;const _0x110d71=_0x5110e9[_0x199646(0x1a8)]();for(let _0x30c2ae=_0x187f67[_0x199646(0x152)];_0x30c2ae<=_0x187f67[_0x199646(0x2e6)];_0x30c2ae++)for(let _0xda3887=_0x187f67[_0x199646(0x390)];_0xda3887<=_0x187f67[_0x199646(0x139)];_0xda3887++){const _0x221960=_0x110d71[_0x199646(0x2f5)](_0x30c2ae,_0xda3887);if(_0x221960&&(_0x2f9c71['isFormulaString'](_0x221960['f'])||_0x2f9c71[_0x199646(0xe9)](_0x221960['si'])))return!0x0;}}return!0x1;}};_0x368987=_0x1df6f2([_0x14de57(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x97839d[_0x1203bc(0x1f2)])),_0x14de57(0x1,_0x2f9c71[_0x1203bc(0x183)]),_0x14de57(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x14de57(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x14de57(0x4,_0x2f9c71[_0x1203bc(0x19b)]),_0x14de57(0x5,_0x2f9c71[_0x1203bc(0x220)]),_0x14de57(0x6,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x368987);var _0x5e4b19=Object['getOwnPropertyDescriptor'],_0x495ba0=(_0x19298b,_0x38d222,_0x454adf,_0x22cc69)=>{const _0x4e3346=_0x1203bc;for(var _0x1196f8=_0x22cc69>0x1?void 0x0:_0x22cc69?_0x5e4b19(_0x38d222,_0x454adf):_0x38d222,_0x3395a4=_0x19298b[_0x4e3346(0x381)]-0x1,_0x527f14;_0x3395a4>=0x0;_0x3395a4--)(_0x527f14=_0x19298b[_0x3395a4])&&(_0x1196f8=_0x527f14(_0x1196f8)||_0x1196f8);return _0x1196f8;},_0x5456a3=(_0x5827f4,_0xa49079)=>(_0x428ba0,_0x24f691)=>_0xa49079(_0x428ba0,_0x24f691,_0x5827f4);let _0x4da336=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5bd9c8,_0x245ebf,_0x32d4fc){const _0x2d24f3=_0x1203bc;super(),_0x5e2d7e(this,'_cachedData',new Map()),_0x5e2d7e(this,_0x2d24f3(0xd1),new Map()),_0x5e2d7e(this,_0x2d24f3(0x113),!0x1),(this[_0x2d24f3(0x233)]=_0x5bd9c8,this[_0x2d24f3(0x2a9)]=_0x245ebf,this[_0x2d24f3(0x33e)]=_0x32d4fc);}[_0x1203bc(0x31a)](){const _0x24a052=_0x1203bc;this[_0x24a052(0x113)]=!0x0;}[_0x1203bc(0x13c)](){this['_disabled']=!0x1;}get[_0x1203bc(0x112)](){const _0x21113f=_0x1203bc;return this[_0x21113f(0xd1)];}['dispose'](){const _0x1b20d1=_0x1203bc;this[_0x1b20d1(0x18d)]()[_0x1b20d1(0x1ee)](()=>super['dispose']());}async[_0x1203bc(0x251)](_0x4768bc){const _0x362f51=_0x1203bc;return this[_0x362f51(0x113)]?null:this[_0x362f51(0x2a9)]['getItem'](_0x483f62[_0x362f51(0x276)](_0x4768bc));}async[_0x1203bc(0x39b)](_0x43fcbc,_0x16324a){const _0x4ea8a3=_0x1203bc;return!!this[_0x4ea8a3(0x2a9)]['setItem'](_0x43fcbc,_0x16324a);}[_0x1203bc(0xfc)](_0x687b89,_0x3d3350,_0x4c51e3,_0x70bfb1){const _0x210d14=_0x1203bc,_0x59c1de=this[_0x210d14(0x33e)]['getCurrentRevOfUnit'](_0x687b89);this[_0x210d14(0x21b)][_0x210d14(0x186)](_0x687b89,{'unitID':_0x687b89,'type':_0x3d3350,'awaitingChangeset':_0x4c51e3,'mutations':_0x70bfb1,'rev':_0x59c1de}),this[_0x210d14(0xd1)][_0x210d14(0x1c6)](_0x687b89)||this['_scheduleSaving'](_0x687b89);}[_0x1203bc(0x32a)](_0x4be823){const _0x349e60=_0x1203bc,_0xc692a9=this[_0x349e60(0x1a9)]();_0xc692a9===0x0?this[_0x349e60(0x1fa)](_0x4be823):this[_0x349e60(0xd1)][_0x349e60(0x186)](_0x4be823,setTimeout(()=>this[_0x349e60(0x1fa)](_0x4be823),_0xc692a9));}[_0x1203bc(0x1a9)](){const _0x7791c0=_0x1203bc;var _0x28e8d4;return(_0x28e8d4=this[_0x7791c0(0x233)]['getConfig'](_0x483f62[_0x7791c0(0x2bc)]))!=null?_0x28e8d4:_0x483f62['LOCAL_CACHE_INTERVAL'];}[_0x1203bc(0x1fa)](_0x3ac8a7){const _0x2f34d8=_0x1203bc,_0x1ceadb=this[_0x2f34d8(0xd1)][_0x2f34d8(0x28e)](_0x3ac8a7);return _0x1ceadb!==void 0x0&&window[_0x2f34d8(0x30c)](_0x1ceadb),this[_0x2f34d8(0x2a9)][_0x2f34d8(0x32b)](_0x483f62['getLocalCacheKey'](_0x3ac8a7),this[_0x2f34d8(0x21b)]['get'](_0x3ac8a7))[_0x2f34d8(0x1ee)](()=>this[_0x2f34d8(0xd1)]['delete'](_0x3ac8a7));}async[_0x1203bc(0x18d)](){const _0x385b26=_0x1203bc,_0x5b671d=[];this['_saveTaskMap'][_0x385b26(0x2fb)]((_0x399482,_0x568903)=>{const _0x3bf4cf=_0x385b26;window['clearTimeout'](_0x399482),_0x5b671d[_0x3bf4cf(0x35e)](this[_0x3bf4cf(0x1fa)](_0x568903)[_0x3bf4cf(0x1ee)](()=>{const _0x55a6d5=_0x3bf4cf;this[_0x55a6d5(0xd1)][_0x55a6d5(0x2eb)](_0x568903);}));}),await Promise[_0x385b26(0x1dd)](_0x5b671d);}};_0x4da336=_0x495ba0([_0x5456a3(0x0,_0x2f9c71[_0x1203bc(0xff)]),_0x5456a3(0x1,_0x2f9c71[_0x1203bc(0x2b3)]),_0x5456a3(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x555c33[_0x1203bc(0x3b3)]))],_0x4da336);class _0x29b4a8 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x503272=_0x1203bc;super(),_0x5e2d7e(this,_0x503272(0x189)),this['urlChange$']=_0x4b9e95['fromEvent'](window,_0x503272(0x2b6))[_0x503272(0x1e5)](_0x4b9e95[_0x503272(0x300)](this[_0x503272(0x17c)]),_0x4b9e95[_0x503272(0x153)](0x1),_0x4b9e95[_0x503272(0x172)](void 0x0));}[_0x1203bc(0x377)](_0x55a47a,_0x5ff7d4,_0x5e18a6=!0x1){const _0x4c844b=_0x1203bc,_0x4150ad=new URL(window[_0x4c844b(0x1e1)][_0x4c844b(0x13e)]);_0x4150ad[_0x4c844b(0x348)][_0x4c844b(0x186)](_0x55a47a,_0x5ff7d4),_0x5e18a6?window[_0x4c844b(0x10c)][_0x4c844b(0x177)]('','',_0x4150ad['toString']()):window['history']['pushState']('','',_0x4150ad[_0x4c844b(0x24c)]());}[_0x1203bc(0x34a)](_0x50d8ae,_0x559719=!0x1){const _0x1d3de9=_0x1203bc,_0xea18b6=new URL(window[_0x1d3de9(0x1e1)][_0x1d3de9(0x13e)]);_0xea18b6['searchParams'][_0x1d3de9(0x2eb)](_0x50d8ae),_0x559719?window[_0x1d3de9(0x10c)][_0x1d3de9(0x177)]('','',_0xea18b6[_0x1d3de9(0x24c)]()):window[_0x1d3de9(0x10c)]['pushState']('','',_0xea18b6[_0x1d3de9(0x24c)]());}[_0x1203bc(0x229)](_0x1dc9b2){const _0x297071=_0x1203bc;var _0x476346;return(_0x476346=new URL(window['location'][_0x297071(0x13e)])[_0x297071(0x348)][_0x297071(0x28e)](_0x1dc9b2))!=null?_0x476346:void 0x0;}}var _0xc3dee6=Object[_0x1203bc(0x34f)],_0x34cf1d=Object[_0x1203bc(0x29b)],_0x42903a=(_0x4407f2,_0x4c0271,_0x2d0f31)=>_0x4c0271 in _0x4407f2?_0xc3dee6(_0x4407f2,_0x4c0271,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0f31}):_0x4407f2[_0x4c0271]=_0x2d0f31,_0x9fe56f=(_0x50be3c,_0x28f70a,_0x457eb2,_0x1ac430)=>{for(var _0x4d395b=_0x1ac430>0x1?void 0x0:_0x1ac430?_0x34cf1d(_0x28f70a,_0x457eb2):_0x28f70a,_0x467939=_0x50be3c['length']-0x1,_0x5841b7;_0x467939>=0x0;_0x467939--)(_0x5841b7=_0x50be3c[_0x467939])&&(_0x4d395b=_0x5841b7(_0x4d395b)||_0x4d395b);return _0x4d395b;},_0x35d4f9=(_0x2113b0,_0x464874)=>(_0x49f3e5,_0x1adc30)=>_0x464874(_0x49f3e5,_0x1adc30,_0x2113b0),_0x55406a=(_0x5f1b1a,_0x57fa41,_0x16ae79)=>_0x42903a(_0x5f1b1a,_0x57fa41+'',_0x16ae79);const _0x1e5233=_0x1203bc(0x288);_0x12f853[_0x1203bc(0x3b0)]=class extends _0x2f9c71['Plugin']{constructor(_0x5a379c=_0x4795ce,_0x1ff696,_0x4493e9,_0x5d15f5){const _0x43be0b=_0x1203bc;super(),this[_0x43be0b(0x37a)]=_0x5a379c,this[_0x43be0b(0x386)]=_0x1ff696,this[_0x43be0b(0x2ec)]=_0x4493e9,this[_0x43be0b(0x233)]=_0x5d15f5;const {..._0x329284}=_0x2f9c71[_0x43be0b(0x134)]({},_0x4795ce,this[_0x43be0b(0x37a)]);this['_configService'][_0x43be0b(0x38f)](_0x5e1025,_0x329284);}[_0x1203bc(0x378)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1203bc(0x15e)](){this['_registerRenderDependencies']();}[_0x1203bc(0x228)](){const _0x2bdb08=_0x1203bc;var _0x3a5aa0;const _0x4d717b=[[_0x3df9df],[_0x368987],[_0x39b66e],[_0x36697e],[_0x3e9655],[_0x26bb99],[_0x34744d,{'useClass':_0x29b4a8}],[_0x1c1235[_0x2bdb08(0x2b1)],{'useClass':_0x1c1235['WebSocketService']}],[_0x483f62['ILocalCacheService'],{'useClass':_0x4da336}],[_0x12f853['DesktopCollaborationStatusDisplayController']],[_0x438673],[_0x527dfc],[_0x36bfc6],[_0x82a21d],[_0x12f853[_0x2bdb08(0x211)]]];this[_0x2bdb08(0x37a)][_0x2bdb08(0x282)]&&_0x4d717b[_0x2bdb08(0x35e)]([_0x45fd84]),_0x2f9c71[_0x2bdb08(0x32f)](this['_injector'],_0x2f9c71[_0x2bdb08(0x1be)](_0x4d717b,(_0x3a5aa0=this['_config'])==null?void 0x0:_0x3a5aa0[_0x2bdb08(0x1b2)]));}['_registerRenderDependencies'](){const _0x353e8d=_0x1203bc;this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71[_0x353e8d(0xe2)][_0x353e8d(0x1ea)],[_0x574c0a])),this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71['UniverInstanceType'][_0x353e8d(0x18a)],[_0x1873f7]));}[_0x1203bc(0xcb)](){const _0x35b33e=_0x1203bc;_0x2f9c71[_0x35b33e(0x1cb)](this[_0x35b33e(0x2ec)],[[_0x36bfc6],[_0x12f853[_0x35b33e(0x2e9)]],[_0x438673],[_0x527dfc],[_0x12f853['CollaborationDataLoaderController']],[_0x368987]]),this['_config']['enableFrontendLog']&&_0x2f9c71[_0x35b33e(0x1cb)](this['_injector'],[[_0x45fd84]]);}},_0x55406a(_0x12f853[_0x1203bc(0x3b0)],_0x1203bc(0x1c8),_0x1e5233),_0x12f853[_0x1203bc(0x3b0)]=_0x9fe56f([_0x2f9c71[_0x1203bc(0xc2)](_0x483f62[_0x1203bc(0x2fe)]),_0x35d4f9(0x1,_0x3281d5['IRenderManagerService']),_0x35d4f9(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x35d4f9(0x3,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x3b0)]);var _0x448232=Object[_0x1203bc(0x29b)],_0x291ce1=(_0x45e29a,_0x2ea9de,_0x4ec5bc,_0x322c1a)=>{for(var _0x4dc779=_0x322c1a>0x1?void 0x0:_0x322c1a?_0x448232(_0x2ea9de,_0x4ec5bc):_0x2ea9de,_0x58b3aa=_0x45e29a['length']-0x1,_0x26cfa8;_0x58b3aa>=0x0;_0x58b3aa--)(_0x26cfa8=_0x45e29a[_0x58b3aa])&&(_0x4dc779=_0x26cfa8(_0x4dc779)||_0x4dc779);return _0x4dc779;},_0x321dfb=(_0x2bf8e4,_0x18e937)=>(_0x195df2,_0x5c8fac)=>_0x18e937(_0x195df2,_0x5c8fac,_0x2bf8e4);_0x12f853[_0x1203bc(0x3b4)]=class extends _0x483f62['CollaborationSocketService']{constructor(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b){super(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b);}async[_0x1203bc(0xc5)](_0x2c67f3){const _0x5cdb9f=_0x1203bc,_0x1e440a=await this[_0x5cdb9f(0x31c)](),_0x13b70b=this[_0x5cdb9f(0x36c)](_0x2c67f3,_0x1e440a);return this[_0x5cdb9f(0x2df)](_0x13b70b);}[_0x1203bc(0x36c)](_0x41617d,_0x29edef){const _0x284264=_0x1203bc,_0x2d7596=typeof window>'u'?new URL(_0x41617d):new URL(_0x41617d,window[_0x284264(0x1e1)][_0x284264(0x155)]);_0x2d7596[_0x284264(0x348)][_0x284264(0x186)](_0x284264(0x1f4),_0x29edef);const _0x4f4240=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x284264(0x1e1)][_0x284264(0x162)]);return _0x4f4240[_0x284264(0x28e)](_0x284264(0x3a3))&&_0x2d7596[_0x284264(0x348)]['set'](_0x284264(0x3a3),_0x4f4240['get'](_0x284264(0x3a3))),_0x2d7596['toString']();}async[_0x1203bc(0x31c)](){const _0x6232b9=_0x1203bc;var _0x2f309a,_0x4ab5d7,_0x225eda;const _0x55df1d=this['_configService']['getConfig'](_0x483f62[_0x6232b9(0x2c6)]),_0x589a0=(_0x2f309a=_0x55df1d==null?void 0x0:_0x55df1d[_0x6232b9(0x1f0)])!=null?_0x2f309a:_0x483f62[_0x6232b9(0x358)];return(_0x225eda=(_0x4ab5d7=(await this[_0x6232b9(0x247)][_0x6232b9(0x28e)](_0x589a0,{'headers':{'Content-Type':_0x6232b9(0x1e4)}}))[_0x6232b9(0x24d)])==null?void 0x0:_0x4ab5d7[_0x6232b9(0x315)])!=null?_0x225eda:'';}},_0x12f853[_0x1203bc(0x3b4)]=_0x291ce1([_0x321dfb(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x321dfb(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x321dfb(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x321dfb(0x3,_0x2f9c71[_0x1203bc(0x220)]),_0x321dfb(0x4,_0x555c33[_0x1203bc(0x26a)])],_0x12f853[_0x1203bc(0x3b4)]);var _0x31126f=Object[_0x1203bc(0x29b)],_0xc32723=(_0x2ea642,_0x105da2,_0x2d7721,_0x7eb7a7)=>{const _0x14b9e2=_0x1203bc;for(var _0x5dd060=_0x7eb7a7>0x1?void 0x0:_0x7eb7a7?_0x31126f(_0x105da2,_0x2d7721):_0x105da2,_0x31709b=_0x2ea642[_0x14b9e2(0x381)]-0x1,_0x93c027;_0x31709b>=0x0;_0x31709b--)(_0x93c027=_0x2ea642[_0x31709b])&&(_0x5dd060=_0x93c027(_0x5dd060)||_0x5dd060);return _0x5dd060;},_0x7a1df2=(_0x12fdc1,_0x4679fe)=>(_0x568a37,_0x152efd)=>_0x4679fe(_0x568a37,_0x152efd,_0x12fdc1);_0x12f853[_0x1203bc(0x127)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x57025b,_0x45a223,_0x100136){const _0x2e89b7=_0x1203bc;super(),this['_instanceService']=_0x57025b,this[_0x2e89b7(0x247)]=_0x45a223,this[_0x2e89b7(0x233)]=_0x100136;}async['runOnServer'](_0x5c709b,_0x2bd209,_0x43bc49,..._0x12c122){const _0xd29922=_0x1203bc;var _0x52d537,_0x5e376f,_0x4b94ac,_0x17a7d5;const _0x236dac=this['_instanceService'][_0xd29922(0x193)]();if(!_0x236dac)throw new Error(_0xd29922(0x1ca));const _0x4ed675=((_0x52d537=this[_0xd29922(0x233)]['getConfig'](_0x483f62[_0xd29922(0x121)]))!=null?_0x52d537:_0x483f62['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5c709b+_0xd29922(0x222)+_0x2bd209,_0x3812c2=new URL(window['location'][_0xd29922(0x13e)]),_0x15327e={'scriptId':_0x5c709b,'runId':(_0x5e376f=_0x3812c2[_0xd29922(0x348)][_0xd29922(0x28e)]('runId'))!=null?_0x5e376f:'','function':_0x2bd209,'unitId':_0x236dac[_0xd29922(0x140)](),'argsOfFunction':JSON['stringify'](_0x12c122),'invokeId':(_0x4b94ac=_0x43bc49[_0xd29922(0x23b)])!=null?_0x4b94ac:'','executionId':(_0x17a7d5=_0x43bc49[_0xd29922(0x2da)])!=null?_0x17a7d5:''};try{const _0x136c59=await this[_0xd29922(0x247)][_0xd29922(0x2d8)](_0x4ed675,{'body':_0x15327e});return _0x136c59['body']['error']&&_0x136c59[_0xd29922(0x24d)]['error'][_0xd29922(0x1e3)]!==_0x4a6838['OK']?_0xd29922(0x1b7):_0x136c59['body'][_0xd29922(0x159)];}catch{return _0xd29922(0x1b7);}}},_0x12f853['RemoteUniscriptService']=_0xc32723([_0x7a1df2(0x0,_0x2f9c71['IUniverInstanceService']),_0x7a1df2(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x7a1df2(0x2,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x127)]);const _0x1eec61=0x7530,_0x200768='ACTIVE_UNIT_EVENT_CHANNEL';class _0x495ce4 extends _0x2f9c71['Disposable']{constructor(){const _0x3e1cfb=_0x1203bc;super(),_0x5e2d7e(this,'_id',_0x2f9c71['generateRandomId']()),_0x5e2d7e(this,_0x3e1cfb(0x123),new Set()),_0x5e2d7e(this,_0x3e1cfb(0x34c),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x286),null),_0x5e2d7e(this,_0x3e1cfb(0x3b8),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x25f),new Map()),this['_init']();}[_0x1203bc(0x105)](){const _0x3f1727=_0x1203bc;super[_0x3f1727(0x105)](),this[_0x3f1727(0x3b8)]['forEach']((_0x3e7e27,_0x51fbff)=>this[_0x3f1727(0x27f)](_0x51fbff)),this[_0x3f1727(0x286)]&&window[_0x3f1727(0x196)](this[_0x3f1727(0x286)]);}[_0x1203bc(0x108)](_0x4fe474){const _0x496169=_0x1203bc;return this[_0x496169(0x356)](_0x4fe474)['pipe'](_0x4b9e95['distinctUntilChanged']());}[_0x1203bc(0x23c)](_0x32b73e){const _0x1659ca=_0x1203bc;this[_0x1659ca(0x123)][_0x1659ca(0x260)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1659ca(0x298)](_0x32b73e),this[_0x1659ca(0x109)]({'type':0x0,'memberID':this[_0x1659ca(0x254)],'unitIDs':[_0x32b73e],'isForwarded':!0x1});}[_0x1203bc(0x133)](_0x19854c){const _0x3db240=_0x1203bc;this[_0x3db240(0x123)][_0x3db240(0x2eb)](_0x19854c),this['_selfUnitIDs'][_0x3db240(0x260)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3db240(0x286)]);}[_0x1203bc(0x3ad)](){const _0x4609a0=_0x1203bc;this[_0x4609a0(0x293)](_0x2f9c71[_0x4609a0(0x1e7)](_0x4b9e95[_0x4609a0(0x205)](window,_0x4609a0(0x382))['subscribe'](_0x53e443=>{const _0x12f2d9=_0x4609a0;if(_0x53e443[_0x12f2d9(0x17f)]!==_0x200768||!_0x53e443[_0x12f2d9(0x10f)])return;const _0x434d99=JSON[_0x12f2d9(0x225)](_0x53e443['newValue']);this['_handleEvent'](_0x434d99);}))),window[_0x4609a0(0x18e)]('unload',()=>this[_0x4609a0(0x109)]({'type':0x1,'memberID':this[_0x4609a0(0x254)],'unitIDs':Array[_0x4609a0(0x1f5)](this[_0x4609a0(0x123)])}));}[_0x1203bc(0x355)](_0x16668b){const _0x9c1370=_0x1203bc;switch(_0x16668b[_0x9c1370(0x101)]){case 0x0:this[_0x9c1370(0x2e7)](_0x16668b);break;case 0x1:this[_0x9c1370(0x372)](_0x16668b);break;case 0x2:this[_0x9c1370(0x1cf)](_0x16668b);break;}}['_handleJoinEvent'](_0x32ee86){const _0x59d014=_0x1203bc,{unitIDs:_0x43dd0c,memberID:_0x41f5b5,isForwarded:_0x2b88cb}=_0x32ee86;_0x43dd0c['forEach'](_0x33eded=>{const _0x21c3ac=_0x4f4a;if(!_0x2b88cb&&this[_0x21c3ac(0x34c)][_0x21c3ac(0x1c6)](_0x33eded)&&this[_0x21c3ac(0x356)](_0x33eded)[_0x21c3ac(0x326)](_0x483f62[_0x21c3ac(0x2bf)][_0x21c3ac(0x2a1)]),!this[_0x21c3ac(0x34c)]['has'](_0x33eded)||!this['_unitOnClients'][_0x21c3ac(0x28e)](_0x33eded)[_0x21c3ac(0x1c6)](_0x41f5b5)){const _0x11494f=this[_0x21c3ac(0x34c)][_0x21c3ac(0x28e)](_0x33eded)||new Set();_0x11494f[_0x21c3ac(0x298)](_0x41f5b5),this[_0x21c3ac(0x34c)][_0x21c3ac(0x186)](_0x33eded,_0x11494f),this['_scheduleClearOtherTimer'](_0x41f5b5);}}),_0x2b88cb||this[_0x59d014(0x109)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x59d014(0x123)]],'isForwarded':!0x0});}[_0x1203bc(0x30a)](_0x41ef2f){const _0x46b0e8=_0x1203bc;this[_0x46b0e8(0x27f)](_0x41ef2f);const _0xa168e4=window[_0x46b0e8(0x1a1)](()=>{const _0x1dc31b=_0x46b0e8;this[_0x1dc31b(0x34c)]['forEach'](_0x5419e5=>{const _0x20be0f=_0x1dc31b;_0x5419e5[_0x20be0f(0x2eb)](_0x41ef2f);});},_0x1eec61*0x2);this['_clearOtherTimers'][_0x46b0e8(0x186)](_0x41ef2f,_0xa168e4);}[_0x1203bc(0x27f)](_0x3f7a0e){const _0x552025=_0x1203bc;if(this[_0x552025(0x3b8)][_0x552025(0x1c6)](_0x3f7a0e)){const _0x11f4f7=this['_clearOtherTimers'][_0x552025(0x28e)](_0x3f7a0e);_0x11f4f7&&window['clearTimeout'](_0x11f4f7),this['_clearOtherTimers'][_0x552025(0x186)](_0x3f7a0e,null);}}['_handleLeaveEvent'](_0x28ceff){const _0x578e69=_0x1203bc,{memberID:_0x102499,unitIDs:_0x185362}=_0x28ceff;_0x185362[_0x578e69(0x2fb)](_0x990b4a=>{const _0x5a2a10=_0x578e69;var _0xc74f2f;const _0x27f906=this[_0x5a2a10(0x34c)][_0x5a2a10(0x28e)](_0x990b4a);_0x27f906&&(_0x27f906['delete'](_0x102499),(_0xc74f2f=this['_ensureSubject'](_0x990b4a))==null||_0xc74f2f['next'](_0x27f906[_0x5a2a10(0x260)]===0x0?_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x141)]:_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x2a1)]));}),this[_0x578e69(0x27f)](_0x102499);}[_0x1203bc(0x1cf)](_0x594d32){const _0x2e05f7=_0x1203bc;this[_0x2e05f7(0x30a)](_0x594d32[_0x2e05f7(0x320)]);}[_0x1203bc(0x109)](_0x1fd62f){const _0x3c7888=_0x1203bc;localStorage[_0x3c7888(0x32b)](_0x200768,JSON[_0x3c7888(0x2b2)](_0x1fd62f));}['_scheduleHeartbeat'](){const _0x58a35b=_0x1203bc;this[_0x58a35b(0x286)]=window[_0x58a35b(0x37f)](()=>{const _0x3bade9=_0x58a35b;this[_0x3bade9(0x109)]({'type':0x2,'memberID':this[_0x3bade9(0x254)]});},_0x1eec61);}[_0x1203bc(0x356)](_0xb44b48){const _0x40031a=_0x1203bc;return this[_0x40031a(0x25f)][_0x40031a(0x1c6)](_0xb44b48)||this[_0x40031a(0x25f)][_0x40031a(0x186)](_0xb44b48,new _0x4b9e95[(_0x40031a(0x396))](_0x483f62[_0x40031a(0x2bf)][_0x40031a(0x141)])),this[_0x40031a(0x25f)]['get'](_0xb44b48);}}_0x12f853[_0x1203bc(0x182)]=_0x34744d,_0x12f853['SheetCollabCursorShape']=_0x4486c3,_0x12f853[_0x1203bc(0x11d)]=_0x495ce4,_0x12f853['WebURLService']=_0x29b4a8,Object['defineProperty'](_0x12f853,Symbol[_0x1203bc(0x151)],{'value':_0x1203bc(0x217)});}));function _0x4f4a(_0x121786,_0x2ada10){_0x121786=_0x121786-0xbb;const _0x458d66=_0x458d();let _0x4f4aec=_0x458d66[_0x121786];return _0x4f4aec;}function _0x458d(){const _0x166f88=['getUniverSheetInstance','_toggleOffline','_collaborationUIEventService','_getLighterColor','rxjs','catch','CollaborationEvent','_offsetY','6MHuTpD','_configService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','session.will-retry','createInstance','startsWith','unitId','invokeId','editingUnit','text','activeSheet$','HTTPService','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scene','ITransformService','Rectangle','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationDataLoaderController]','_httpService','ranges','arc','transformMutationsWithChangeset','_entityInit$','toString','body','deserializeRangeWithSheet','defs','_messageService','loadOfflineData','_hover','onPointerMove$','_id','Disposable','_getScale','contains','ENTITLE_COUPON_EXPIRED','createIdentifier','collaboration.offline-data-not-saved','registerComponent','ENTITLE_REPORT_LIMIT_EXCEED','_collabSessionService','textRanges','_unitStatus','size','trim','event$','formula.calculation.waiting','isActive','SetFormulaCalculationNotificationMutation','_highlight','rgba','idSuffix','UniverNetwork','ISnapshotServerService','Workbook','stage','handleDeleteRangeMoveUp','EffectRefRangId','_monkeyPatchLogService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','NodePositionConvertToCursor','Subject','LICENSE_DISTRO_REJECTED','getCoordByCell','drawWith','getLocalCacheKey','CONFLICT','USERS_LEAVE','beginPath','...','entityInit$','values','connectInjector','SetWorksheetActivateCommand','_removeClearOtherTimer','TOO_MANY_REQUESTS','addObjects','enableFrontendLog','_anchorDot','ENTITLE_INVALID_COUPON_CODE','params','_heartbeatTimer','docStateChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','VIEW_MAIN','_toggleOnline','Tools','_pollingInterval','get','INVALID_ARGUMENT','FormulaExecutedStateType','[Unhandled\x20Rejection]:\x20','_updateLocalCursor','disposeWithMe','getAncestorScale','_stopBlinking','RegularPolygon','roomMembers$','add','setOffsetY','map','getOwnPropertyDescriptor','setActiveRange','name','evenodd','onMouseMove','_collaborationSessionService','OTHER_CLIENTS_EDITING','_lastPointer','row','round','7316BDGEvH','_docSkeletonManagerService','showText','_urlService','_localStorageService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverIcon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDesign','forwardRef','error','getSheetId','ISocketService','stringify','ILocalStorageService','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_VERIFY_CODE_MISMATCH','popstate','REDEMPTION_USER_NOT_ELIGIBLE','Shape','IRenderManagerService','whenReady','UNDEFINED','LOCAL_CACHE_INTERVAL_KEY','LOGIN_FAILED','getCollabEntity$','UnitStatus','transformStateCache','loadUnit','fillRule','@univerjs/design','functionsExecutedState','m1Prime','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_blinkIntervalTimer','InsertRangeMoveRightCommandId','getColorFromTheme','sheetID','CollaborationUIEventService','collabCursorState$','sheetId','collabStatus.conflict','highlightSecond','YUUMI_RATE_OVER_LIMIT','_render','WECHAT_HAS_BEEN_BOUND','color','addHandlerCallback','BuiltInUIPart','cursorInfo','fromEventSubject','post',',\x200.2)','executionId','_onCursorUpdate','_localeService','_setupBeforeClosingHandler','eventID','_doCreateSocket','subUnitId','flatMap','top','univer-flex\x20univer-items-center','getSkeleton','_imageIoService','endRow','_handleJoinEvent','@univerjs/engine-formula','DesktopCollaborationStatusDisplayController','rgba(255,\x20255,\x20255,\x200.01)','delete','_injector','Loading','REDEMPTION_CODE_INACTIVE','children','getViewport','REDEMPTION_CODE_NOT_STARTED','_draw','bind','_drawAnchor','getValue','_docSkeleton','asObservable','_name','AWAITING_WITH_PENDING','/universer-api/license/formula/limit/status','forEach','getCollabCursors$','DOC_RANGE_TYPE','UniverCollaborationClientPlugin','_eventUnsubscribe','takeUntil','_context','ALREADY_EXISTS','_updateSubUnitFromURLParams','ENTITLE_INSUFFICIENT_QUOTA','rgba(','debounceTime','_colorAssignService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','filter','_scheduleClearOtherTimer','font','clearTimeout','_uploadLog','hide','getRelativeToViewportCoord','attrs','APPLY_REVISION_CONFILICT','0\x200\x2017\x2016','_docStateChangeManagerService','getTypeOfUnitDisposed$','ticket','UniverProCollaborationClient','deepClone','react','APPLY_PERMISSION_DENIED','disableLocalCache','univerjs-icon\x20univerjs-icon-','_getSessionTicket','_initStatusComponent','min','tag','memberID','_color','rgb','dirtyRanges','INTERNAL_ERROR','YUUMI_AI_RUN_FAILED','next','registerRefRange','_clearPolling','UniverProCollaboration','_scheduleSaving','setItem','IUIPartsService','collab-text-anchor-','offsetY','registerDependencies','status$','_getAnchorBounding','ColorKit','USER_NOT_INVITED_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverProCollaborationClientUi','_transformUndoRedoStack','_checkAndWaitForCalculationPermission','m2Prime','@univerjs/docs','UniverRpc','AWAITING','transformSelections','_anchor','_revisionService','subscribe','UNRECOGNIZED','function','LOGIN_TOKEN_PROCESSING_FAILED','jsx','parseInt','_cursor','Rect','CONNECTOR_DATA_TOO_LARGE','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','removeParam','off-line-icon_clip0_910_343','_unitOnClients','ENTITLE_USE_COUPON_NOT_1ST_TRADE','debug','defineProperty','_taskIds','strokeWidth','isTransformMutationFailure','UniverEngineRender','ENTITLE_DUP_SUBSCRIPTION','_handleEvent','_ensureSubject','CHANGESET_REVISION_CONFILICT','DEFAULT_WS_SESSION_TICKET_URL','_refreshCollabCursors','runRefRangeMutations','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentUnitForType','REDEMPTION_CODE_HAS_BEEN_CREATED','push','mutations','current','1em','currentColor','show','isArray','_initWindowErrorListener','imageSourceType','currentUsage','skeleton','getUnit','getConfig','displayName','_createSocketURL','Optional','getActiveSheet','createElement','getMember','_textBubble','_handleLeaveEvent','Warning','_initCommandInterceptor','Error','ONLINE','setParam','onStarting','svg','_config','SetFormulaCalculationStartMutation','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/rpc','findNodePositionByCharIndex','setInterval','CollaborationStatus','length','storage','resize','handleInsertCol','sessionStatus$','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','UniverCore','registerRenderModule','YUUMI_TABLE_NOT_FOUND_IN_UNIT','365660tnfgdP','INVITE_CODE_ALREADY_BOUND','ThemeService','setConfig','startColumn','transformIMECache','2549358YLCsER','substring','collabStatus.offline','onCommandExecuted','BehaviorSubject','OFFLINE','addObject','FETCH_MISS','_sheetSkeletonManagerService','saveOfflineData','?taskId=','_startCalculationLimit','data','replaceDocRanges','cursorInfo$','_docSyncEditingCollabCursorService','UniverDrawing','runId','redoState','assignAColorForMemberID','useCallback','NOT_COLLAB','makeDirty','undoState','collaboration.closeRoom','height','_cursors','_init','bottom','_collabCursorController','UniverCollaborationClientUIPlugin','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initEntityListener','RevisionService','BrowserCollaborationSocketService','INVALID_INVITE_CODE','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','_syncEditingCollabCursorService','_clearOtherTimers','filename','slice','getTypeOfUnitAdded$','http://www.w3.org/2000/svg','UniverSheetsUi','APPLY_DUPLICATED','getMemberID','_drawRectRange','CollaborationController','xlink:href','_lastResponseTimestamp','DependentOn','DocSelectionManagerService','stack','createSocket','_range','_memberService','white','_assignedColors','UPDATE_CURSOR','_initDependencies','react/jsx-runtime','CollaborationSessionService','SheetSkeletonManagerService','Vector2','object','_saveTaskMap','column','unit','USER_IS_ANONYMOUS','getStateCache','_getSheetObject','with','_setFormulaLimitStatus','_blinkTimer','send','collabStatus.synced','transform','measureText','getUnhiddenWorksheets','_colorIndex','rxjs/operators','permission.title','UniverInstanceType','getSheetObject','DeleteRangeMoveLeftCommandId','CollaborationUIEventId','_startSheetCollabCursor','reason','11675554BZCLEf','isFormulaId','_session','unshift','labelPosition','LocaleService','IRemoteInstanceService','DocStateChangeManagerService','registerBeforeClose','ENSURE_SNAPSHOT_EXECUTION','CommandType','_initCommandExecutedListener','range','green.600','onPointerLeave$','7scSKag','getUndoRedoMutationParamsCache','_univerInstanceService','switchMap','REDEMPTION_CODE_FULLY_REDEEMED','updateOfflineData','@univerjs-pro/collaboration-client','black','IConfigService','unhandledrejection','type','_cursorInfo$','handleInsertRow','currentSkeleton$','dispose','_isBlinkVisible','APPLY_REJECT','getUnitStatus$','_send','red.300','fill','history','source','_maxFormulaLimit','newValue','handleMoveRange','PAYMENT_CHANNEL_NOT_SUPPORT','saveTaskMap','_disabled','FromArray','_localCacheService','selection','on-line-icon_clip0_910_349','subunit','collaboration.single-unit.warning','syncEditingCollabCursor','MoveRangeCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','WebBrowserSingleActiveUnitService','_checkCalculationAvailable','random','reconnect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assign','_selfUnitIDs','18CkHToN','save','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoteUniscriptService','_cursorShapes','REDEMPTION_INVALID_CODE','_entities','_uiPartsService','SetDocZoomRatioOperation','stageInfo','INVITE_CODE_REQUIRED','getDocRanges','_showGuardMessage','_drawTextRange','exports','disposeUnit','merge','_currentUsage','_initResize','IBeforeCloseService','\x20at\x20','endColumn','message','_commandService','enableLocalCache','DocCollaborationEntity','href','_labelPosition','getUnitId','NO_OTHER_CLIENTS_EDITING','useDependency','executeCommand','setUndoRedoMutationParamsCache','collaboration-client-ui.config','SetTextSelectionsOperation','_transformService','_getMergeRange','getColor','permission.content','_applyCommand','_themeService','saveImage','0.2)','Tooltip','getSheetBySheetId','toStringTag','startRow','shareReplay','_beforeCloseService','origin','@univerjs/network','getCurrentSelections','2650550qsjjwp','result','amd','jsxs','getRangePointData','SOCKET_FAILED','onRendered','_collaborationController','path','INVITE_CODE_HAS_BEEN_UES','search','jiqing.500','_initUnhandledRejectionListener','Inject','_notificationService','debounce','moveTo','_document','init','START_CALCULATION','unsubscribe','off-line-icon','APPLY_NON_SEQUENTIAL_REVISION','#FFF','symbol','requireSession','mapTo','getOffsetConfig','socket$','restore','MessageType','replaceState','OTHER_CLIENT_EDITING','string','highlight','TEXT_RANGE_LAYER_INDEX','dispose$','fillStyle','transformRemoteChangeset','key','_initEvent','width','IURLService','ICommandService','COMPLETION_FINISHED','AUTHORIZE_CODE_ILLEGAL','set','startFormulaLimitUrl','generateRandomId','urlChange$','UNIVER_SHEET','_shapes','_onRefRangeChange','exhaustSavingTask','addEventListener','handleIRemoveCol','combineLatest','Unknown\x20user','_hovered','getFocusedUnit','serializeRangeWithSheet','replace','clearInterval','_docClipboardService','getCellPositionByOffset','DocIMEInputManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_backgroundColor','7360055EcqddW','_onCursorDelete','none','_removeCollabCursors','setTimeout','_status$','complete','SNAPSHOT_HAS_BEEN_REMOVED','FormulaExecuteStageType','YUUMI_NO_CUBOID_FOR_QUESTION','SessionStatus','getCellMatrix','_getSaveTimeout','CanceledError','CLOSE_ROOM','_showText','_updateCollabCursors','IDocClipboardService','MOBILE_HAS_BEEN_BOUND','PENDING','toRgbString','override','lineno','LICENSE_MAX_UNITS_EXCEEDED','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','Failed','/universer-api/license/formula/limit/start','_transformHistoryAndStateStack','subscribeEvent','_docTransformSelectionsService','ENTITLE_CHAT_LIMIT_EXCEED','_collabCursorState$','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','_releaseCalculationLimit','_dataLoaderService','defIds','selections','session.connection-failed','_handleHover','has','closePath','pluginName','operators','[RemoteUniscriptService]:\x20no\x20focused\x20unit','touchDependencies','ENTITLE_NEED_BILLING_ADDRESS','Injector','_docTransformStateCacheService','_handleHeartbeatEvent','OnLineIcon','_docTransformIMECacheService','_initUserListener','[Window\x20Error]:\x20','UNAUTHENTICATED','setAlpha','removeEventListener','_hideTimer','fillText','MemberService','InsertRangeMoveDownCommandId','_refRangeService','purple.300','all','React','SYNCED','collabStatus.notCollab','location','blue.400','code','application/json','pipe','split','toDisposable','_highlightSecond','DeleteRangeMoveUpCommandId','UNIVER_DOC','ENTITLE_COUPON_USED_UP','PY_RUNTIME_SCRIPT_ERROR','375Fmterv','then','ERROR_AGAIN','wsSessionTicketUrl','actions','IMessageService','YUUMI_ALL_TABLES_IS_INVALID','sessionTicket','from','_startBlinking','SetSelectionsOperation','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_saveCache','EMAIL_HAS_BEEN_BOUND','getActiveRange','_initStatusListener','unitID','_roomMembers$','lineTo','RxDisposable','url(#$1','onTransformChange$','@univerjs/sheets-ui','fromEvent','getRenderById','_online','3335256oiReVT','div','@univerjs/drawing','now','getVpScrollXYInfoByPosToVp','UniverUi','JOIN_ROOM_FAILED','doc.mutation.rich-text-editing','currentTheme$','CollaborationDataLoaderController','collab-rect-range-','_memberID','find','setStateCache','COLORS','Module','isTransformMutationsWithChangesetSuccess','onPointerEnter$','USER_NOT_FOUND','_cachedData','SNAPSHOT_INVALID_SNAPSHOT','_logService','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ILogService','transformMutation','/run/','PERMISSION_DENIED','setShapeProps','parse','limitInfo','onLocalMutation','_registerDependencies','getParam'];_0x458d=function(){return _0x166f88;};return _0x458d();}
|
|
1
|
+
function _0x43cc(_0x349140,_0x58a075){_0x349140=_0x349140-0x1de;const _0xa1711b=_0xa171();let _0x43cc66=_0xa1711b[_0x349140];return _0x43cc66;}(function(_0x48d50d,_0x3a0bca){const _0x4eaa70=_0x43cc,_0x5814fd=_0x48d50d();while(!![]){try{const _0x223f32=parseInt(_0x4eaa70(0x311))/0x1+parseInt(_0x4eaa70(0x334))/0x2+-parseInt(_0x4eaa70(0x4cd))/0x3*(-parseInt(_0x4eaa70(0x3e4))/0x4)+parseInt(_0x4eaa70(0x220))/0x5+parseInt(_0x4eaa70(0x2a3))/0x6+-parseInt(_0x4eaa70(0x2d2))/0x7*(-parseInt(_0x4eaa70(0x453))/0x8)+-parseInt(_0x4eaa70(0x3b1))/0x9;if(_0x223f32===_0x3a0bca)break;else _0x5814fd['push'](_0x5814fd['shift']());}catch(_0x3e21c7){_0x5814fd['push'](_0x5814fd['shift']());}}}(_0xa171,0x7b804),function(_0x8b0612,_0x3458bf){const _0x16c940=_0x43cc;typeof exports=='object'&&typeof module<'u'?_0x3458bf(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==_0x16c940(0x48e)&&define['amd']?define(['exports','react/jsx-runtime','@univerjs-pro/collaboration-client',_0x16c940(0x41f),'@univerjs/ui',_0x16c940(0x378),'@univerjs/design',_0x16c940(0x2bd),_0x16c940(0x4a6),_0x16c940(0x3ee),_0x16c940(0x385),_0x16c940(0x3c4),_0x16c940(0x3cd),_0x16c940(0x340),_0x16c940(0x439),'@univerjs/docs',_0x16c940(0x417),'rxjs/operators',_0x16c940(0x1ef)],_0x3458bf):(_0x8b0612=typeof globalThis<'u'?globalThis:_0x8b0612||self,_0x3458bf(_0x8b0612[_0x16c940(0x37d)]={},_0x8b0612[_0x16c940(0x2ad)],_0x8b0612[_0x16c940(0x414)],_0x8b0612[_0x16c940(0x236)],_0x8b0612[_0x16c940(0x25b)],_0x8b0612[_0x16c940(0x378)],_0x8b0612[_0x16c940(0x251)],_0x8b0612['React'],_0x8b0612['UniverRpc'],_0x8b0612[_0x16c940(0x392)],_0x8b0612[_0x16c940(0x4d0)],_0x8b0612[_0x16c940(0x455)],_0x8b0612['UniverDocsUi'],_0x8b0612[_0x16c940(0x34e)],_0x8b0612['UniverProCollaboration'],_0x8b0612[_0x16c940(0x397)],_0x8b0612['UniverEngineFormula'],_0x8b0612[_0x16c940(0x378)][_0x16c940(0x253)],_0x8b0612[_0x16c940(0x37a)]));}(this,function(_0x2d9fff,_0x174d1c,_0xc712b5,_0x2d11dc,_0x95a23a,_0x433dcc,_0x1bfc45,_0x1d9c9d,_0x2335c2,_0x3b63cc,_0x371184,_0x5a38fd,_0x1ff6d4,_0x31e87a,_0x1509c8,_0x30435f,_0x17936f,_0xbeb681,_0xd80992){'use strict';const _0x392691=_0x43cc;var _0x7ca67d=Object['defineProperty'],_0xaea4e8=(_0x122a37,_0x3d4ef1,_0x2065f3)=>_0x3d4ef1 in _0x122a37?_0x7ca67d(_0x122a37,_0x3d4ef1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2065f3}):_0x122a37[_0x3d4ef1]=_0x2065f3,_0x4a3e10=(_0x357e62,_0x1cfb2e,_0xa08a57)=>_0xaea4e8(_0x357e62,typeof _0x1cfb2e!='symbol'?_0x1cfb2e+'':_0x1cfb2e,_0xa08a57);function _0x247df8({ref:_0x6f24c1,..._0x4ba230}){const _0x5bbc05=_0x43cc,{icon:_0x479ef6,id:_0x4bf51c,className:_0x40d499,extend:_0x126848,..._0xad670e}=_0x4ba230,_0x28b41b=(_0x5bbc05(0x319)+_0x4bf51c+'\x20'+(_0x40d499||''))[_0x5bbc05(0x2f9)](),_0x193cde=_0x1d9c9d[_0x5bbc05(0x28d)]('_'+_0x36a881());return _0x5d768f(_0x479ef6,''+_0x4bf51c,{'defIds':_0x479ef6[_0x5bbc05(0x4aa)],'idSuffix':_0x193cde[_0x5bbc05(0x48c)]},{'ref':_0x6f24c1,'className':_0x28b41b,..._0xad670e},_0x126848);}function _0x5d768f(_0x30f3e6,_0x216131,_0x39601b,_0x325bad,_0x59858d){const _0x3590d2=_0x43cc;return _0x1d9c9d[_0x3590d2(0x4e2)](_0x30f3e6[_0x3590d2(0x2f8)],{'key':_0x216131,..._0x5e38de(_0x30f3e6,_0x39601b,_0x59858d),..._0x325bad},(_0x6ccc1f(_0x30f3e6,_0x39601b)[_0x3590d2(0x215)]||[])[_0x3590d2(0x337)]((_0x2cf6b8,_0x16ba69)=>_0x5d768f(_0x2cf6b8,_0x216131+'-'+_0x30f3e6['tag']+'-'+_0x16ba69,_0x39601b,void 0x0,_0x59858d)));}function _0x5e38de(_0x5be755,_0x5cec55,_0x1917d6){const _0x11031c=_0x43cc,_0x2206da={..._0x5be755['attrs']};_0x1917d6!=null&&_0x1917d6['colorChannel1']&&_0x2206da[_0x11031c(0x44e)]===_0x11031c(0x382)&&(_0x2206da[_0x11031c(0x44e)]=_0x1917d6[_0x11031c(0x382)]),_0x5be755[_0x11031c(0x2f8)]===_0x11031c(0x295)&&_0x2206da['id']&&(_0x2206da['id']=_0x2206da['id']+_0x5cec55[_0x11031c(0x3b7)]),Object[_0x11031c(0x30a)](_0x2206da)['forEach'](([_0x38d245,_0x24ab74])=>{const _0xac4766=_0x11031c;_0x38d245==='mask'&&typeof _0x24ab74==_0xac4766(0x450)&&(_0x2206da[_0x38d245]=_0x24ab74['replace'](/url\(#(.*)\)/,_0xac4766(0x489)+_0x5cec55[_0xac4766(0x3b7)]+')'));});const {defIds:_0x30774d}=_0x5cec55;return!_0x30774d||_0x30774d[_0x11031c(0x30c)]===0x0||(_0x5be755[_0x11031c(0x2f8)]===_0x11031c(0x3fb)&&_0x2206da['xlink:href']&&(_0x2206da[_0x11031c(0x2f3)]=_0x2206da[_0x11031c(0x2f3)]+_0x5cec55['idSuffix']),Object[_0x11031c(0x30a)](_0x2206da)['forEach'](([_0x9ecbc3,_0x2607de])=>{const _0x5377fa=_0x11031c;typeof _0x2607de==_0x5377fa(0x450)&&(_0x2206da[_0x9ecbc3]=_0x2607de[_0x5377fa(0x4a4)](/url\(#(.*)\)/,_0x5377fa(0x489)+_0x5cec55[_0x5377fa(0x3b7)]+')'));})),_0x2206da;}function _0x6ccc1f(_0x2c1882,_0x3e39c5){const _0x3c2505=_0x43cc;var _0x3fb4fc;const {defIds:_0xb2302b}=_0x3e39c5;return!_0xb2302b||_0xb2302b[_0x3c2505(0x30c)]===0x0?_0x2c1882:_0x2c1882[_0x3c2505(0x2f8)]===_0x3c2505(0x430)&&((_0x3fb4fc=_0x2c1882[_0x3c2505(0x215)])!=null&&_0x3fb4fc[_0x3c2505(0x30c)])?{..._0x2c1882,'children':_0x2c1882[_0x3c2505(0x215)][_0x3c2505(0x337)](_0x18ff2f=>typeof _0x18ff2f[_0x3c2505(0x3d4)]['id']==_0x3c2505(0x450)&&_0xb2302b&&_0xb2302b[_0x3c2505(0x390)](_0x18ff2f[_0x3c2505(0x3d4)]['id'])?{..._0x18ff2f,'attrs':{..._0x18ff2f[_0x3c2505(0x3d4)],'id':_0x18ff2f[_0x3c2505(0x3d4)]['id']+_0x3e39c5[_0x3c2505(0x3b7)]}}:_0x18ff2f)}:_0x2c1882;}function _0x36a881(){const _0x19e8eb=_0x43cc;return Math[_0x19e8eb(0x44b)]()[_0x19e8eb(0x40b)](0x24)[_0x19e8eb(0x216)](0x2,0x8);}_0x247df8['displayName']=_0x392691(0x34d);const _0x1df558={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x392691(0x240),'viewBox':_0x392691(0x1ec),'width':_0x392691(0x4ee),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x392691(0x2f6)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'stroke':_0x392691(0x270),'d':_0x392691(0x470),'strokeLinecap':_0x392691(0x459),'strokeLinejoin':_0x392691(0x459),'strokeWidth':1.2}}]},{'tag':_0x392691(0x430),'attrs':{},'children':[{'tag':_0x392691(0x372),'attrs':{'id':_0x392691(0x318)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'fill':_0x392691(0x1ea),'d':_0x392691(0x432)}}]}]}],'defIds':[_0x392691(0x318)]},_0x5a0428=_0x1d9c9d['forwardRef'](function(_0x37fc4b,_0x54a6a5){const _0x281f0a=_0x392691;return _0x1d9c9d[_0x281f0a(0x4e2)](_0x247df8,Object['assign']({},_0x37fc4b,{'id':_0x281f0a(0x29b),'ref':_0x54a6a5,'icon':_0x1df558}));});_0x5a0428[_0x392691(0x4ba)]='OffLineIcon';const _0x5cb7d8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x392691(0x240),'viewBox':_0x392691(0x284),'width':_0x392691(0x4ee),'height':_0x392691(0x4ee)},'children':[{'tag':'g','attrs':{'clipPath':_0x392691(0x43b)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'stroke':_0x392691(0x270),'d':_0x392691(0x1fa),'strokeLinecap':'round','strokeLinejoin':_0x392691(0x459),'strokeWidth':1.2}}]},{'tag':_0x392691(0x430),'attrs':{},'children':[{'tag':_0x392691(0x372),'attrs':{'id':_0x392691(0x2c2)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x392691(0x2ea)}}]}]}],'defIds':[_0x392691(0x2c2)]},_0x4d015c=_0x1d9c9d[_0x392691(0x4b3)](function(_0x586292,_0x54cb6e){const _0x540a45=_0x392691;return _0x1d9c9d[_0x540a45(0x4e2)](_0x247df8,Object['assign']({},_0x586292,{'id':_0x540a45(0x23b),'ref':_0x54cb6e,'icon':_0x5cb7d8}));});_0x4d015c[_0x392691(0x4ba)]='OnLineIcon';function _0x110955(_0x165597){const _0x20baca=_0x392691;switch(_0x165597){case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x4c0)]:return _0x20baca(0x3b3);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x492)]:return _0x20baca(0x420);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x481)]:return'collabStatus.fetchMiss';case _0xc712b5[_0x20baca(0x207)]['NOT_COLLAB']:return _0x20baca(0x1eb);case _0xc712b5['CollaborationStatus'][_0x20baca(0x21d)]:case _0xc712b5['CollaborationStatus'][_0x20baca(0x324)]:return _0x20baca(0x4ca);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x2e8)]:case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x389)]:return _0x20baca(0x23c);}}function _0x50f78b(_0x1b8668){const _0x5dbb1d=_0x392691,{status$:_0x44cbe0}=_0x1b8668,_0x36088b=_0x95a23a[_0x5dbb1d(0x3c1)](_0x44cbe0,_0xc712b5[_0x5dbb1d(0x207)][_0x5dbb1d(0x447)]),_0x36f7a0=_0x95a23a['useDependency'](_0x2d11dc['LocaleService']),_0x5281f5=_0x95a23a['useDependency'](_0xc712b5[_0x5dbb1d(0x3ba)]),_0x3b48e2=_0x36088b!==_0xc712b5[_0x5dbb1d(0x207)]['OFFLINE'],_0x1860d9=_0x36f7a0['t'](_0x110955(_0x36088b)),_0x56ecfe=_0x3b48e2?_0x174d1c[_0x5dbb1d(0x485)](_0x4d015c,{}):_0x174d1c['jsx'](_0x5a0428,{}),_0x1ea68b=_0x1d9c9d[_0x5dbb1d(0x3a2)](()=>{const _0x4a54f0=_0x5dbb1d;_0x3b48e2||_0x5281f5[_0x4a54f0(0x26d)]();},[_0x3b48e2,_0x5281f5]);function _0x1c87f9(){const _0x47545a=_0x5dbb1d;return _0x174d1c[_0x47545a(0x47a)]('div',{'className':_0x47545a(0x437),'onClick':_0x1ea68b,'children':[_0x174d1c['jsx']('div',{'className':_0x1bfc45[_0x47545a(0x317)](_0x47545a(0x2a9),{'univer-text-green-500':_0x3b48e2,'univer-text-red-500':!_0x3b48e2}),'children':_0x56ecfe}),_0x174d1c[_0x47545a(0x485)](_0x47545a(0x369),{'className':_0x47545a(0x3b2),'children':_0x1860d9})]});}return _0x3b48e2?_0x1c87f9():_0x174d1c[_0x5dbb1d(0x485)](_0x1bfc45[_0x5dbb1d(0x3a5)],{'title':_0x36f7a0['t'](_0x5dbb1d(0x2db)),'children':_0x1c87f9()});}var _0x16aa9c=Object[_0x392691(0x39f)],_0x310a24=(_0x15e238,_0x76619d,_0x22a83a,_0x743735)=>{const _0x31216f=_0x392691;for(var _0x53cd68=_0x743735>0x1?void 0x0:_0x743735?_0x16aa9c(_0x76619d,_0x22a83a):_0x76619d,_0x312f20=_0x15e238[_0x31216f(0x30c)]-0x1,_0x3070d2;_0x312f20>=0x0;_0x312f20--)(_0x3070d2=_0x15e238[_0x312f20])&&(_0x53cd68=_0x3070d2(_0x53cd68)||_0x53cd68);return _0x53cd68;},_0x447e2c=(_0x2dba0c,_0x1bb13e)=>(_0x32e1ad,_0x553d7d)=>_0x1bb13e(_0x32e1ad,_0x553d7d,_0x2dba0c);_0x2d9fff['DesktopCollaborationStatusDisplayController']=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x1b2d1a,_0x3cb657,_0x5ed20b,_0x1a8f70){const _0x1ddfe4=_0x392691;super(),_0x4a3e10(this,_0x1ddfe4(0x360),new _0x433dcc[(_0x1ddfe4(0x42a))](_0xc712b5[_0x1ddfe4(0x207)]['NOT_COLLAB'])),(this[_0x1ddfe4(0x401)]=_0x1b2d1a,this['_injector']=_0x3cb657,this[_0x1ddfe4(0x2ca)]=_0x5ed20b,this[_0x1ddfe4(0x443)]=_0x1a8f70,this[_0x1ddfe4(0x273)](),this['_initStatusListener']());}[_0x392691(0x497)](){const _0x21fa3c=_0x392691;this[_0x21fa3c(0x2c5)](this[_0x21fa3c(0x401)]['focused$'][_0x21fa3c(0x38d)](_0x433dcc['switchMap'](()=>{const _0x59f281=_0x21fa3c,_0xeed5ea=this[_0x59f281(0x401)][_0x59f281(0x364)]();return _0xeed5ea?this[_0x59f281(0x2ca)]['getCollabEntity$'](_0xeed5ea[_0x59f281(0x33a)]()):_0x433dcc['of'](null);}),_0x433dcc[_0x21fa3c(0x33c)](_0x2a013c=>_0x2a013c?_0x2a013c[_0x21fa3c(0x34c)]:_0x433dcc['of'](_0xc712b5[_0x21fa3c(0x207)][_0x21fa3c(0x447)])))[_0x21fa3c(0x47f)](_0x3f30eb=>{const _0x35e300=_0x21fa3c;this[_0x35e300(0x360)][_0x35e300(0x1fb)](_0x3f30eb);}));}[_0x392691(0x273)](){const _0x1a7b5a=_0x392691;this[_0x1a7b5a(0x2c5)](this[_0x1a7b5a(0x443)]['registerComponent'](_0x95a23a[_0x1a7b5a(0x330)][_0x1a7b5a(0x25e)],()=>_0x95a23a['connectInjector'](_0x3e5ab2({'status$':this[_0x1a7b5a(0x360)][_0x1a7b5a(0x4c5)]()}),this[_0x1a7b5a(0x248)])));}},_0x2d9fff[_0x392691(0x22f)]=_0x310a24([_0x447e2c(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x447e2c(0x1,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x447e2c(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x255)])),_0x447e2c(0x3,_0x95a23a[_0x392691(0x202)])],_0x2d9fff[_0x392691(0x22f)]);function _0x3e5ab2(_0x2a1485){const {status$:_0x57f21e}=_0x2a1485;return function(){return _0x174d1c['jsx'](_0x50f78b,{'status$':_0x57f21e});};}const _0x2f7718=_0x2d11dc[_0x392691(0x1ff)]('uni.network.url-service');var _0x202bae=Object[_0x392691(0x39f)],_0x3228ca=(_0x1f8ea7,_0x32304e,_0x22c7a1,_0x4c9008)=>{for(var _0x13a86d=_0x4c9008>0x1?void 0x0:_0x4c9008?_0x202bae(_0x32304e,_0x22c7a1):_0x32304e,_0x42b1b7=_0x1f8ea7['length']-0x1,_0x3b2be0;_0x42b1b7>=0x0;_0x42b1b7--)(_0x3b2be0=_0x1f8ea7[_0x42b1b7])&&(_0x13a86d=_0x3b2be0(_0x13a86d)||_0x13a86d);return _0x13a86d;},_0x2fa474=(_0x4277f5,_0x2dc3fa)=>(_0x59fe39,_0x3678a0)=>_0x2dc3fa(_0x59fe39,_0x3678a0,_0x4277f5);_0x2d9fff['CollaborationDataLoaderController']=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x2fb301,_0x4ac6b7,_0x484b24,_0xc1cbdf,_0x4cb88a){const _0x1a47ca=_0x392691;super(),this[_0x1a47ca(0x231)]=_0x2fb301,this[_0x1a47ca(0x307)]=_0x4ac6b7,this[_0x1a47ca(0x3cf)]=_0x484b24,this[_0x1a47ca(0x4b5)]=_0xc1cbdf,_0x4cb88a?_0x4cb88a==null||_0x4cb88a[_0x1a47ca(0x380)]()[_0x1a47ca(0x258)](()=>this[_0x1a47ca(0x411)]()):(this[_0x1a47ca(0x307)][_0x1a47ca(0x491)](_0x1a47ca(0x29c),_0x1a47ca(0x358)),this[_0x1a47ca(0x411)]());}async['_init'](){const _0x4a78a4=_0x392691,_0x4101f9=this[_0x4a78a4(0x231)]['getParam'](_0x4a78a4(0x362)),_0x3b64ab=this[_0x4a78a4(0x231)][_0x4a78a4(0x4ea)]('type'),_0x290bf2=this[_0x4a78a4(0x231)][_0x4a78a4(0x4ea)](_0x4a78a4(0x35d));if(!_0x4101f9||!_0x3b64ab){this[_0x4a78a4(0x307)][_0x4a78a4(0x491)](_0x4a78a4(0x29c),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x134b9d=await this[_0x4a78a4(0x4b5)][_0x4a78a4(0x3da)](_0x4101f9,Number(_0x3b64ab),_0x290bf2);_0x134b9d&&_0x134b9d instanceof _0x2d11dc[_0x4a78a4(0x283)]&&this[_0x4a78a4(0x4a0)](_0x134b9d);}async[_0x392691(0x4a0)](_0x2926ab){const _0x234ab1=_0x392691;await this['_updateSubUnitFromURLParams'](_0x2926ab),_0x2926ab[_0x234ab1(0x31c)][_0x234ab1(0x38d)](_0x433dcc['takeUntil'](this[_0x234ab1(0x1f8)]))[_0x234ab1(0x47f)](_0xa41225=>{const _0x1f4bad=_0x234ab1;_0xa41225&&this[_0x1f4bad(0x2fb)](_0xa41225);}),this[_0x234ab1(0x231)][_0x234ab1(0x239)][_0x234ab1(0x38d)](_0x433dcc['takeUntil'](this[_0x234ab1(0x1f8)]))[_0x234ab1(0x47f)](()=>this[_0x234ab1(0x347)](_0x2926ab));}['_updateURLWithCurrentState'](_0x1f73a6,_0x466704=!0x1){const _0x215e3f=_0x392691,_0x3b7f93=this[_0x215e3f(0x231)][_0x215e3f(0x4ea)]('subunit');_0x1f73a6[_0x215e3f(0x39d)]()!==_0x3b7f93&&this[_0x215e3f(0x231)][_0x215e3f(0x25a)]('subunit',_0x1f73a6[_0x215e3f(0x39d)](),_0x466704);}async[_0x392691(0x347)](_0x1e706e){const _0x264fef=_0x392691;var _0x37b50d;const _0x33ac13=this[_0x264fef(0x231)][_0x264fef(0x4ea)](_0x264fef(0x35d));if(!_0x33ac13||!_0x1e706e['getSheetBySheetId'](_0x33ac13)){const _0x79188=_0x1e706e[_0x264fef(0x278)]()[0x0],_0x19af9b=_0x1e706e[_0x264fef(0x363)](_0x79188);if(!_0x19af9b)return;this[_0x264fef(0x2fb)](_0x19af9b,!0x0),await this[_0x264fef(0x3cf)][_0x264fef(0x373)](_0x3b63cc[_0x264fef(0x367)]['id'],{'unitId':_0x1e706e['getUnitId'](),'subUnitId':_0x79188});return;}((_0x37b50d=_0x1e706e[_0x264fef(0x290)]())==null?void 0x0:_0x37b50d[_0x264fef(0x39d)]())!==_0x33ac13&&await this[_0x264fef(0x3cf)][_0x264fef(0x373)](_0x3b63cc[_0x264fef(0x367)]['id'],{'unitId':_0x1e706e[_0x264fef(0x33a)](),'subUnitId':_0x33ac13});}},_0x2d9fff['CollaborationDataLoaderController']=_0x3228ca([_0x2fa474(0x0,_0x2f7718),_0x2fa474(0x1,_0x2d11dc[_0x392691(0x4a1)]),_0x2fa474(0x2,_0x2d11dc[_0x392691(0x3aa)]),_0x2fa474(0x3,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x435)])),_0x2fa474(0x4,_0x2d11dc[_0x392691(0x259)](_0x2335c2['IRemoteInstanceService']))],_0x2d9fff[_0x392691(0x406)]);const _0x5cab09={'name':_0x392691(0x4b4),'version':_0x392691(0x2df)};var _0x56c884=Object[_0x392691(0x39f)],_0x3458df=(_0x5997d9,_0x16afdd,_0x5e4b05,_0x10d043)=>{const _0x404fe3=_0x392691;for(var _0x8d6096=_0x10d043>0x1?void 0x0:_0x10d043?_0x56c884(_0x16afdd,_0x5e4b05):_0x16afdd,_0x186083=_0x5997d9[_0x404fe3(0x30c)]-0x1,_0x484e51;_0x186083>=0x0;_0x186083--)(_0x484e51=_0x5997d9[_0x186083])&&(_0x8d6096=_0x484e51(_0x8d6096)||_0x8d6096);return _0x8d6096;},_0x36224a=(_0x5612b1,_0x32a655)=>(_0x4e0c2a,_0x20733b)=>_0x32a655(_0x4e0c2a,_0x20733b,_0x5612b1);let _0x147aca=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x174513,_0x8e0cb5){const _0x4c585d=_0x392691;super(),this[_0x4c585d(0x304)]=_0x174513,this[_0x4c585d(0x4af)]=_0x8e0cb5,this['_init']();}[_0x392691(0x411)](){const _0x2bef25=_0x392691,_0x4ab12e=this;this[_0x2bef25(0x2c5)](this[_0x2bef25(0x304)]['addClipboardHook']({'onBeforePasteImage':async _0x1db33a=>{const _0x381441=_0x2bef25,_0xbc6dd2=await _0x4ab12e[_0x381441(0x4af)][_0x381441(0x36b)](_0x1db33a);return _0xbc6dd2?{'source':_0xbc6dd2[_0x381441(0x4e9)],'imageSourceType':_0xbc6dd2[_0x381441(0x204)]}:null;}}));}};_0x147aca=_0x3458df([_0x36224a(0x0,_0x1ff6d4['IDocClipboardService']),_0x36224a(0x1,_0x31e87a[_0x392691(0x440)])],_0x147aca);const _0x170ce0=['purple.300',_0x392691(0x4e1),_0x392691(0x3fa),_0x392691(0x393),_0x392691(0x4e7),_0x392691(0x3bb)];class _0x478943 extends _0x2d11dc[_0x392691(0x1e0)]{constructor(){const _0x597abc=_0x392691;super(...arguments),_0x4a3e10(this,_0x597abc(0x3d6),new Map()),_0x4a3e10(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4fb086){const _0xee1338=_0x392691;if(this[_0xee1338(0x3d6)][_0xee1338(0x4ab)](_0x4fb086))return this['_assignedColors'][_0xee1338(0x2fe)](_0x4fb086);const _0x45f736=_0x170ce0[this['_colorIndex']];return this[_0xee1338(0x4cc)]=(this['_colorIndex']+0x1)%_0x170ce0[_0xee1338(0x30c)],this[_0xee1338(0x3d6)][_0xee1338(0x250)](_0x4fb086,_0x45f736),_0x45f736;}}function _0x1dbf56(_0xf0ccfb){const _0x40ced0=_0x392691;let _0x4ad86f='';for(const _0x561231 of _0xf0ccfb){const {startOffset:_0x5c1fa9,endOffset:_0x44268b,isActive:_0x246a54,rangeType:_0x470ed8,segmentId:_0x47b42b,segmentPage:_0x36b854}=_0x561231;_0x4ad86f[_0x40ced0(0x30c)]&&(_0x4ad86f+=','),_0x4ad86f+=_0x5c1fa9+':'+_0x44268b+':'+(_0x246a54?'1':'0')+':'+_0x470ed8+':'+_0x47b42b+':'+_0x36b854;}return _0x4ad86f;}function _0x214c7b(_0x3e33bf){const _0xa280c8=_0x392691,_0x2047db=_0x3e33bf[_0xa280c8(0x39c)](','),_0x31ef1c=[];for(const _0xdd3460 of _0x2047db){const [_0x415f0b,_0x15456,_0x55a91c,_0x585e5c,_0x2c04cf,_0x11c1e8]=_0xdd3460[_0xa280c8(0x39c)](':');_0x31ef1c[_0xa280c8(0x381)]({'startOffset':Number(_0x415f0b),'endOffset':Number(_0x15456),'collapsed':_0x415f0b===_0x15456,'isActive':_0x55a91c==='1','rangeType':_0x585e5c===_0x2d11dc[_0xa280c8(0x2e7)][_0xa280c8(0x2cb)]?_0x2d11dc[_0xa280c8(0x2e7)]['TEXT']:_0x2d11dc['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2c04cf=='string'?String(_0x2c04cf):'','segmentPage':Number(_0x11c1e8!=null?_0x11c1e8:-0x1)});}return _0x31ef1c['some'](_0x3ac502=>_0x3ac502[_0xa280c8(0x480)])||(_0x31ef1c[0x0]['isActive']=!0x0),_0x31ef1c;}class _0x549909 extends _0x2d11dc[_0x392691(0x2bb)]{constructor(){const _0x291791=_0x392691;super(...arguments),_0x4a3e10(this,_0x291791(0x1fc),new _0x433dcc[(_0x291791(0x42a))](null)),_0x4a3e10(this,_0x291791(0x260),this['_collabCursorState$'][_0x291791(0x4c5)]());}[_0x392691(0x2f1)](_0x238d59){const _0x2123d8=_0x392691,{unitID:_0x47dc4c,memberID:_0x51e57e,textRanges:_0x1dc25b}=_0x238d59,_0x15c69d=_0x1dbf56(_0x1dc25b);if(_0x15c69d==='')return;const _0x438c6a={'unitID':_0x47dc4c,'memberID':_0x51e57e,'selection':_0x15c69d};this[_0x2123d8(0x1fc)]['next'](_0x438c6a);}}var _0x4e2f9f=Object[_0x392691(0x39f)],_0x2c9586=(_0x192306,_0x427dfe,_0x38d092,_0x216ec2)=>{for(var _0x4c2d3b=_0x216ec2>0x1?void 0x0:_0x216ec2?_0x4e2f9f(_0x427dfe,_0x38d092):_0x427dfe,_0x196ec6=_0x192306['length']-0x1,_0x5997c8;_0x196ec6>=0x0;_0x196ec6--)(_0x5997c8=_0x192306[_0x196ec6])&&(_0x4c2d3b=_0x5997c8(_0x4c2d3b)||_0x4c2d3b);return _0x4c2d3b;},_0x3ac3d8=(_0x508c75,_0x303cee)=>(_0x1fa080,_0x509f0c)=>_0x303cee(_0x1fa080,_0x509f0c,_0x508c75);const _0x2f64f8=0x12c,_0x5efacd=0x64;let _0x518c40=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x5a2a4a,_0xf7fedb,_0x346f9f,_0x523daf,_0x424b18,_0x11bd1b,_0x4ee987,_0x3b8e67,_0x56d833){const _0x5ba8a6=_0x392691;super(),_0x4a3e10(this,_0x5ba8a6(0x415),!0x1),_0x4a3e10(this,'_init',!0x1),_0x4a3e10(this,_0x5ba8a6(0x3d7),new _0x433dcc[(_0x5ba8a6(0x42a))](new Map())),_0x4a3e10(this,_0x5ba8a6(0x4c9),this[_0x5ba8a6(0x3d7)][_0x5ba8a6(0x4c5)]()),_0x4a3e10(this,'_roomMembers$',new _0x433dcc[(_0x5ba8a6(0x42a))]([])),_0x4a3e10(this,_0x5ba8a6(0x454),this[_0x5ba8a6(0x272)][_0x5ba8a6(0x38d)](_0x433dcc[_0x5ba8a6(0x25c)](_0x2f64f8))),_0x4a3e10(this,'_updateLocalCursor',_0x2d11dc['debounce'](_0x181fe5=>{const _0x4f5bff=_0x5ba8a6,_0x15410c={'eventID':_0x1509c8[_0x4f5bff(0x327)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f5bff(0x391)],'memberID':this[_0x4f5bff(0x3f9)][_0x4f5bff(0x3bc)](),'selection':_0x1dbf56(_0x181fe5)}};this[_0x4f5bff(0x3f9)][_0x4f5bff(0x27a)](_0x15410c,this[_0x4f5bff(0x391)]);},_0x5efacd)),(this['unitID']=_0x5a2a4a,this[_0x5ba8a6(0x3f9)]=_0xf7fedb,this[_0x5ba8a6(0x248)]=_0x346f9f,this[_0x5ba8a6(0x3df)]=_0x523daf,this[_0x5ba8a6(0x39e)]=_0x424b18,this[_0x5ba8a6(0x427)]=_0x11bd1b,this[_0x5ba8a6(0x3c6)]=_0x4ee987,this[_0x5ba8a6(0x401)]=_0x3b8e67,this['_commandService']=_0x56d833);}get[_0x392691(0x49a)](){const _0x86e174=_0x392691;return this[_0x86e174(0x3d7)][_0x86e174(0x20c)]();}get['roomMembers'](){const _0x3190b7=_0x392691;return this[_0x3190b7(0x272)][_0x3190b7(0x20c)]();}['dispose'](){const _0x57b6e7=_0x392691;super[_0x57b6e7(0x2a5)](),this[_0x57b6e7(0x3d7)][_0x57b6e7(0x1fb)](new Map()),this['_cursorInfo$'][_0x57b6e7(0x262)](),this['_roomMembers$'][_0x57b6e7(0x1fb)]([]),this[_0x57b6e7(0x272)]['complete']();}[_0x392691(0x423)](){const _0x91aa55=_0x392691;this[_0x91aa55(0x411)]||(this['_init']=!0x0,this[_0x91aa55(0x3f9)][_0x91aa55(0x24a)][_0x91aa55(0x38d)](_0x433dcc[_0x91aa55(0x28c)](this[_0x91aa55(0x1f8)]))[_0x91aa55(0x47f)](_0x23ce60=>{const _0x3d8f46=_0x91aa55;_0x23ce60===_0xc712b5[_0x3d8f46(0x3b5)][_0x3d8f46(0x37b)]?this[_0x3d8f46(0x2a8)]():this[_0x3d8f46(0x24f)]();}),this[_0x91aa55(0x3f9)]['event$'][_0x91aa55(0x38d)](_0x433dcc[_0x91aa55(0x28c)](this[_0x91aa55(0x1f8)]))[_0x91aa55(0x47f)](_0xc3b121=>{const _0x12eff3=_0x91aa55,_0x10abab=_0xc3b121[_0x12eff3(0x4c8)];_0x10abab===_0x1509c8['CollaborationEvent'][_0x12eff3(0x1e7)]&&this[_0x12eff3(0x276)](_0xc3b121),_0x10abab===_0x1509c8[_0x12eff3(0x327)][_0x12eff3(0x289)]&&this['_onCursorDelete'](_0xc3b121);}),this[_0x91aa55(0x2c5)](this['_commandService'][_0x91aa55(0x1ee)](_0x48298c=>{const _0x39e735=_0x91aa55,_0x5d294f=_0x48298c[_0x39e735(0x44a)];_0x5d294f!=null&&this[_0x39e735(0x415)]&&_0x48298c['id']===_0x30435f[_0x39e735(0x438)]['id']&&_0x5d294f[_0x39e735(0x20f)]===this[_0x39e735(0x391)]&&_0x5d294f[_0x39e735(0x30d)]===!0x1&&_0x5d294f[_0x39e735(0x296)][_0x39e735(0x30c)]>0x0&&this[_0x39e735(0x26e)](_0x5d294f[_0x39e735(0x296)]);})),this[_0x91aa55(0x427)][_0x91aa55(0x260)]['pipe'](_0x433dcc[_0x91aa55(0x28c)](this['dispose$']))[_0x91aa55(0x47f)](_0x618c08=>{const _0x1f45b4=_0x91aa55;if((_0x618c08==null?void 0x0:_0x618c08[_0x1f45b4(0x391)])!==this[_0x1f45b4(0x391)])return;const _0x20f603={'eventID':_0x1509c8['CollaborationEvent'][_0x1f45b4(0x1e7)],'data':_0x618c08};this[_0x1f45b4(0x276)](_0x20f603);}),this[_0x91aa55(0x2c5)](this[_0x91aa55(0x3cf)][_0x91aa55(0x1ee)](_0x503540=>{const _0x37f3c4=_0x91aa55;if(_0x503540[_0x37f3c4(0x44a)]==null)return;const _0x2a30f6=_0x503540[_0x37f3c4(0x44a)];if(_0x503540['id']!==_0x30435f[_0x37f3c4(0x465)]['id']||_0x2a30f6[_0x37f3c4(0x20f)]!==this['unitID'])return;const _0x8af6e4={'id':_0x37f3c4(0x3e3),'params':_0x2a30f6},_0x127885=this[_0x37f3c4(0x49a)];for(const [_0x2b76b0,_0x343b0f]of _0x127885){const _0x20e903={'id':_0x37f3c4(0x3e3),'params':{'unitId':this[_0x37f3c4(0x391)],'actions':null,'textRanges':_0x343b0f[_0x37f3c4(0x296)]}},_0x37f330=this[_0x37f3c4(0x3c6)][_0x37f3c4(0x1e4)](_0x8af6e4,_0x20e903,!0x1);if(_0x1509c8[_0x37f3c4(0x279)](_0x37f330))throw _0x37f330[_0x37f3c4(0x4f1)];_0x127885[_0x37f3c4(0x250)](_0x2b76b0,{..._0x343b0f,'ranges':_0x37f330[_0x37f3c4(0x227)][_0x37f3c4(0x44a)][_0x37f3c4(0x200)]});}queueMicrotask(()=>{const _0x4b2618=_0x37f3c4;this[_0x4b2618(0x3d7)][_0x4b2618(0x1fb)](_0x127885);});})));}['_onCursorUpdate'](_0x410040){const _0xa829c7=_0x392691;var _0xc04b9b,_0x1aa8a1;const {memberID:_0x3ea09c,selection:_0xdf689b}=_0x410040[_0xa829c7(0x4a8)],_0x431171=_0x214c7b(_0xdf689b),_0x136d4f=(_0x1aa8a1=(_0xc04b9b=this[_0xa829c7(0x39e)][_0xa829c7(0x3d5)](this[_0xa829c7(0x391)],_0x3ea09c))==null?void 0x0:_0xc04b9b[_0xa829c7(0x3c3)])!=null?_0x1aa8a1:_0xa829c7(0x1ed),_0x3d0ac8={'color':this[_0xa829c7(0x3df)]['assignAColorForMemberID'](_0x3ea09c),'name':_0x136d4f,'ranges':_0x431171},_0x17baee=this['cursorInfo'];_0x17baee['set'](_0x3ea09c,_0x3d0ac8),this['_cursorInfo$'][_0xa829c7(0x1fb)](_0x17baee);}[_0x392691(0x42f)](_0x2edd70){const _0xf55843=_0x392691,{memberID:_0x27dcb5}=_0x2edd70[_0xf55843(0x4a8)],_0xc80647=this[_0xf55843(0x49a)];_0xc80647[_0xf55843(0x34b)](_0x27dcb5),this[_0xf55843(0x3d7)][_0xf55843(0x1fb)](_0xc80647);}[_0x392691(0x2a8)](){const _0x415ca2=_0x392691;var _0x31b5a0;if(this[_0x415ca2(0x415)]=!0x0,((_0x31b5a0=this['_univerInstanceService'][_0x415ca2(0x364)]())==null?void 0x0:_0x31b5a0['getUnitId']())!==this[_0x415ca2(0x391)])return;const _0x1db8f7=this[_0x415ca2(0x248)][_0x415ca2(0x2fe)](_0x30435f[_0x415ca2(0x241)])['getDocRanges']();Array['isArray'](_0x1db8f7)&&_0x1db8f7[_0x415ca2(0x30c)]>0x0&&this[_0x415ca2(0x26e)](_0x1db8f7);}[_0x392691(0x24f)](){const _0x36a0a1=_0x392691;this[_0x36a0a1(0x415)]=!0x1;}};_0x518c40=_0x2c9586([_0x3ac3d8(0x2,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x47d)])),_0x3ac3d8(0x3,_0x2d11dc[_0x392691(0x36d)](_0x478943)),_0x3ac3d8(0x4,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x2c0)])),_0x3ac3d8(0x5,_0x2d11dc[_0x392691(0x36d)](_0x549909)),_0x3ac3d8(0x6,_0x1509c8['ITransformService']),_0x3ac3d8(0x7,_0x2d11dc[_0x392691(0x27d)]),_0x3ac3d8(0x8,_0x2d11dc['ICommandService'])],_0x518c40);var _0x32b52b=Object['getOwnPropertyDescriptor'],_0x4b01dc=(_0x33d2f6,_0x340edf,_0x2fd704,_0x33221a)=>{const _0x2840c6=_0x392691;for(var _0x5f1df9=_0x33221a>0x1?void 0x0:_0x33221a?_0x32b52b(_0x340edf,_0x2fd704):_0x340edf,_0x141609=_0x33d2f6[_0x2840c6(0x30c)]-0x1,_0x1b5cfc;_0x141609>=0x0;_0x141609--)(_0x1b5cfc=_0x33d2f6[_0x141609])&&(_0x5f1df9=_0x1b5cfc(_0x5f1df9)||_0x5f1df9);return _0x5f1df9;},_0x5c9596=(_0x591d9d,_0x5bb632)=>(_0x2bc5b6,_0x400e38)=>_0x5bb632(_0x2bc5b6,_0x400e38,_0x591d9d);const _0x3eeaad=0x12c,_0x1c3f25=0x64,_0x526dfa=()=>{let _0x5f4edf=[],_0x302f3f=!0x1;return _0x13b307=>{const _0x498be6=_0x43cc;_0x5f4edf[_0x498be6(0x381)](_0x13b307),_0x302f3f||(_0x302f3f=!0x0,setTimeout(()=>{const _0x156e2f=_0x498be6;_0x5f4edf[_0x156e2f(0x34f)](_0x25aa38=>_0x25aa38()),_0x5f4edf=[],_0x302f3f=!0x1;}));};};let _0x30ed65=class extends _0x2d11dc['RxDisposable']{constructor(_0x33f15c,_0x297e75,_0xbc9793,_0x107e51,_0xb71ad0,_0x1c3b56,_0x297523,_0x183759){const _0x1fa801=_0x392691;super(),_0x4a3e10(this,_0x1fa801(0x415),!0x1),_0x4a3e10(this,'_init',!0x1),_0x4a3e10(this,_0x1fa801(0x3d7),new _0x433dcc[(_0x1fa801(0x42a))](new Map())),_0x4a3e10(this,_0x1fa801(0x4c9),this['_cursorInfo$'][_0x1fa801(0x4c5)]()),_0x4a3e10(this,'_roomMembers$',new _0x433dcc[(_0x1fa801(0x42a))]([])),_0x4a3e10(this,_0x1fa801(0x454),this[_0x1fa801(0x272)][_0x1fa801(0x38d)](_0x433dcc[_0x1fa801(0x25c)](_0x3eeaad))),_0x4a3e10(this,_0x1fa801(0x26e),_0x2d11dc['debounce']((_0x2bb48d,_0x5ccdf6)=>{const _0x177d57=_0x1fa801,_0x1a4a97={'eventID':_0x1509c8[_0x177d57(0x327)][_0x177d57(0x1e7)],'data':{'unitID':this['unitID'],'memberID':this[_0x177d57(0x3f9)][_0x177d57(0x3bc)](),'selection':_0x17936f['serializeRangeWithSheet'](_0x2bb48d,_0x5ccdf6[_0x177d57(0x4d8)])}};this['_session'][_0x177d57(0x27a)](_0x1a4a97,this[_0x177d57(0x391)]);},_0x1c3f25)),(this[_0x1fa801(0x391)]=_0x33f15c,this['_session']=_0x297e75,this['_injector']=_0xbc9793,this[_0x1fa801(0x3df)]=_0x107e51,this[_0x1fa801(0x39e)]=_0xb71ad0,this[_0x1fa801(0x401)]=_0x1c3b56,this[_0x1fa801(0x3cf)]=_0x297523,this['_refRangeService']=_0x183759);}get[_0x392691(0x49a)](){const _0x3dabdc=_0x392691;return this[_0x3dabdc(0x3d7)][_0x3dabdc(0x20c)]();}get[_0x392691(0x387)](){const _0x41557c=_0x392691;return this['_roomMembers$'][_0x41557c(0x20c)]();}[_0x392691(0x2a5)](){const _0x49f0d1=_0x392691;super[_0x49f0d1(0x2a5)](),this[_0x49f0d1(0x3d7)][_0x49f0d1(0x1fb)](new Map()),this['_cursorInfo$'][_0x49f0d1(0x262)](),this[_0x49f0d1(0x272)][_0x49f0d1(0x1fb)]([]),this['_roomMembers$'][_0x49f0d1(0x262)]();}[_0x392691(0x423)](){const _0x2dd708=_0x392691;this['_init']||(this[_0x2dd708(0x411)]=!0x0,this[_0x2dd708(0x3f9)]['sessionStatus$'][_0x2dd708(0x38d)](_0x433dcc[_0x2dd708(0x28c)](this[_0x2dd708(0x1f8)]))[_0x2dd708(0x47f)](_0x55140b=>{const _0x3a4db2=_0x2dd708;_0x55140b===_0xc712b5[_0x3a4db2(0x3b5)][_0x3a4db2(0x37b)]?this['_toggleOnline']():this[_0x3a4db2(0x24f)]();}),this[_0x2dd708(0x3f9)][_0x2dd708(0x2f0)]['pipe'](_0x433dcc[_0x2dd708(0x28c)](this[_0x2dd708(0x1f8)]))[_0x2dd708(0x47f)](_0x18ba4c=>{const _0xf1f246=_0x2dd708,_0x185f99=_0x18ba4c[_0xf1f246(0x4c8)];_0x185f99===_0x1509c8[_0xf1f246(0x327)][_0xf1f246(0x1e7)]&&this[_0xf1f246(0x276)](_0x18ba4c),_0x185f99===_0x1509c8[_0xf1f246(0x327)]['USERS_LEAVE']&&this[_0xf1f246(0x42f)](_0x18ba4c);}),this[_0x2dd708(0x477)](),this[_0x2dd708(0x2c5)](this[_0x2dd708(0x3cf)]['onCommandExecuted'](_0x2ef848=>{const _0x42f043=_0x2dd708;if(this['_online']&&_0x2ef848['id']===_0x3b63cc[_0x42f043(0x462)]['id']&&_0x2ef848[_0x42f043(0x44a)]['unitId']===this[_0x42f043(0x391)]){const _0xde6a4=_0x2ef848[_0x42f043(0x44a)];this[_0x42f043(0x26e)](_0xde6a4['subUnitId'],_0xde6a4['selections'][0x0]);}})));}[_0x392691(0x276)](_0x3d31ec){const _0x485a84=_0x392691;var _0x8714b3,_0x5033b3;const {memberID:_0x2c0de1,selection:_0x170e33}=_0x3d31ec[_0x485a84(0x4a8)],{sheetName:_0x2f7570,range:_0x8ee278}=_0x17936f[_0x485a84(0x3b9)](_0x170e33),_0x40a40c={'name':(_0x5033b3=(_0x8714b3=this['_memberService'][_0x485a84(0x3d5)](this['unitID'],_0x2c0de1))==null?void 0x0:_0x8714b3[_0x485a84(0x3c3)])!=null?_0x5033b3:_0x485a84(0x1ed),'range':this[_0x485a84(0x24e)](_0x2f7570,_0x8ee278),'sheetID':_0x2f7570,'color':this[_0x485a84(0x3df)][_0x485a84(0x495)](_0x2c0de1),'selection':_0x170e33},_0x2daaa6=this[_0x485a84(0x49a)];_0x2daaa6[_0x485a84(0x250)](_0x2c0de1,_0x40a40c),this[_0x485a84(0x3d7)][_0x485a84(0x1fb)](_0x2daaa6);}['_onCursorDelete'](_0x4a0c9b){const _0x10e158=_0x392691,{memberID:_0x584ccb}=_0x4a0c9b[_0x10e158(0x4a8)],_0x5c5d29=this['cursorInfo'];_0x5c5d29[_0x10e158(0x34b)](_0x584ccb),this['_cursorInfo$'][_0x10e158(0x1fb)](_0x5c5d29);}['_getMergeRange'](_0x4d6989,_0x3bf192){const _0x36d010=_0x392691;var _0x59f17c,_0x51fd47;const _0x11576e=(_0x51fd47=(_0x59f17c=this[_0x36d010(0x401)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x59f17c['getSheetBySheetId'](_0x4d6989))==null?void 0x0:_0x51fd47[_0x36d010(0x40d)]();return(_0x11576e==null?void 0x0:_0x11576e[_0x36d010(0x25d)](_0x1a5bbb=>_0x2d11dc[_0x36d010(0x471)][_0x36d010(0x4a9)](_0x1a5bbb,_0x3bf192)))||_0x3bf192;}[_0x392691(0x477)](){const _0x36deb3=_0x392691,_0x3a2659=new _0x2d11dc[(_0x36deb3(0x4c1))](),_0x33f129=_0x526dfa(),_0x4ee347=()=>{const _0x56825d=_0x36deb3;_0x3a2659['dispose']();const _0x2fec3d=(_0x44c81f,_0x13481d,_0x31c41a,_0x5d6474)=>{const _0x2d9b0d=_0x43cc;let _0x63251c=[];switch(_0x44c81f['id']){case _0x3b63cc[_0x2d9b0d(0x46a)]['DeleteRangeMoveLeftCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x468)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x368)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x2ed)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc['EffectRefRangId'][_0x2d9b0d(0x2fc)]:{_0x63251c=_0x3b63cc['handleInsertCol'](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x310)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x29f)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x457)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x229)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)]['InsertRowCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x36a)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x4c7)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x475)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x303)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x29a)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)]['RemoveRowCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x43a)](_0x44c81f,_0x5d6474);break;}}const _0x3f0f78=_0x3b63cc[_0x2d9b0d(0x205)](_0x63251c,_0x5d6474),_0x424b49=this['cursorInfo']['get'](_0x13481d);if(_0x424b49&&_0x3f0f78){const _0x632ab9={..._0x424b49,'range':_0x3f0f78};this['cursorInfo'][_0x2d9b0d(0x250)](_0x13481d,_0x632ab9),_0x33f129(()=>{const _0x12ca49=_0x2d9b0d,_0x4fd1ef=this[_0x12ca49(0x472)][_0x12ca49(0x2ec)](_0x3f0f78,_0x514881=>(_0x4fd1ef[_0x12ca49(0x2a5)](),_0x2fec3d(_0x514881,_0x13481d,_0x31c41a,_0x3f0f78)));_0x3a2659[_0x12ca49(0x4ac)](_0x4fd1ef);});}return{'redos':[],'undos':[]};};this[_0x56825d(0x49a)]['forEach']((_0x2cd399,_0x1d3e3b)=>{const _0x34d216=_0x56825d,{range:_0x59051b,sheetID:_0x1bebaf}=_0x2cd399,_0x2e89e4=this[_0x34d216(0x472)][_0x34d216(0x2ec)](_0x59051b,_0x372a00=>(_0x2e89e4[_0x34d216(0x2a5)](),_0x2fec3d(_0x372a00,_0x1d3e3b,_0x1bebaf,_0x59051b)));_0x3a2659[_0x34d216(0x4ac)](_0x2e89e4);});};this[_0x36deb3(0x2c5)](_0x2d11dc[_0x36deb3(0x39b)](this[_0x36deb3(0x3d7)][_0x36deb3(0x47f)](()=>{_0x4ee347();})));}[_0x392691(0x2a8)](){const _0x2317c8=_0x392691;var _0xe6ba1b,_0x5e2439;if(this[_0x2317c8(0x415)]=!0x0,((_0xe6ba1b=this[_0x2317c8(0x401)][_0x2317c8(0x364)]())==null?void 0x0:_0xe6ba1b[_0x2317c8(0x33a)]())!==this['unitID'])return;const _0x18a90d=(_0x5e2439=this[_0x2317c8(0x248)][_0x2317c8(0x2fe)](_0x3b63cc[_0x2317c8(0x297)])[_0x2317c8(0x39a)]())==null?void 0x0:_0x5e2439[0x0],_0x3ab4f9=this[_0x2317c8(0x401)][_0x2317c8(0x47e)](_0x2d11dc['UniverInstanceType'][_0x2317c8(0x3e2)])[_0x2317c8(0x290)]();_0x18a90d&&_0x3ab4f9&&this['_updateLocalCursor'](_0x3ab4f9[_0x2317c8(0x39d)](),_0x18a90d);}[_0x392691(0x24f)](){this['_online']=!0x1;}};_0x30ed65=_0x4b01dc([_0x5c9596(0x2,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x47d)])),_0x5c9596(0x3,_0x2d11dc['Inject'](_0x478943)),_0x5c9596(0x4,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x2c0)])),_0x5c9596(0x5,_0x2d11dc[_0x392691(0x27d)]),_0x5c9596(0x6,_0x2d11dc[_0x392691(0x3aa)]),_0x5c9596(0x7,_0x2d11dc[_0x392691(0x36d)](_0x3b63cc['RefRangeService']))],_0x30ed65);var _0x316a1e=Object[_0x392691(0x39f)],_0x5cae46=(_0x3723ba,_0x4951db,_0x2ad6b6,_0x4295f7)=>{const _0x2d5689=_0x392691;for(var _0x399250=_0x4295f7>0x1?void 0x0:_0x4295f7?_0x316a1e(_0x4951db,_0x2ad6b6):_0x4951db,_0xc3d5c7=_0x3723ba[_0x2d5689(0x30c)]-0x1,_0x4f3dec;_0xc3d5c7>=0x0;_0xc3d5c7--)(_0x4f3dec=_0x3723ba[_0xc3d5c7])&&(_0x399250=_0x4f3dec(_0x399250)||_0x399250);return _0x399250;},_0x3dad5d=(_0x1976ad,_0x5847da)=>(_0x1fea6f,_0x244342)=>_0x5847da(_0x1fea6f,_0x244342,_0x1976ad);let _0x3d0a15=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x34d9f7,_0x4a9944,_0xaef1fc){const _0x339f7e=_0x392691;super(),_0x4a3e10(this,_0x339f7e(0x4db),new Map()),_0x4a3e10(this,_0x339f7e(0x22e),new _0x433dcc[(_0x339f7e(0x35b))]()),(this['_univerInstanceService']=_0x34d9f7,this[_0x339f7e(0x248)]=_0x4a9944,this[_0x339f7e(0x352)]=_0xaef1fc,this[_0x339f7e(0x411)]());}['dispose'](){const _0x2c26c3=_0x392691;super[_0x2c26c3(0x2a5)](),this[_0x2c26c3(0x22e)][_0x2c26c3(0x262)](),this['_entities']['forEach'](_0x2bae0d=>_0x2bae0d[_0x2c26c3(0x2a5)]());}[_0x392691(0x23a)](_0x49455f){const _0x2f63ce=_0x392691;return this[_0x2f63ce(0x4db)][_0x2f63ce(0x4ab)](_0x49455f)?this[_0x2f63ce(0x4db)][_0x2f63ce(0x2fe)](_0x49455f)[_0x2f63ce(0x4c9)]:this['_entityInit$'][_0x2f63ce(0x38d)](_0x433dcc[_0x2f63ce(0x4d2)](_0xfd05d1=>_0xfd05d1[_0x2f63ce(0x391)]===_0x49455f),_0x433dcc[_0x2f63ce(0x33c)](_0x1c8fc8=>_0x1c8fc8[_0x2f63ce(0x4c9)]));}[_0x392691(0x411)](){const _0x12c689=_0x392691;this[_0x12c689(0x401)][_0x12c689(0x2c7)](_0x2d11dc[_0x12c689(0x238)][_0x12c689(0x3e2)])[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this[_0x12c689(0x1f8)]))[_0x12c689(0x47f)](async _0x1af62e=>{const _0x2d39a4=_0x12c689,_0x5ce580=_0x1af62e['getUnitId'](),_0x9e3849=await this[_0x2d39a4(0x29e)](_0x5ce580);this['_entityInit$'][_0x2d39a4(0x1fb)](_0x9e3849),this['_entities'][_0x2d39a4(0x250)](_0x5ce580,_0x9e3849);}),this[_0x12c689(0x401)]['getTypeOfUnitAdded$'](_0x2d11dc['UniverInstanceType'][_0x12c689(0x230)])[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this['dispose$']))[_0x12c689(0x38d)](_0x433dcc['filter'](_0x574a39=>!_0x574a39[_0x12c689(0x33a)]()['startsWith']('__')))[_0x12c689(0x47f)](async _0x2a426d=>{const _0x9b7928=_0x12c689,_0x1c390f=_0x2a426d['getUnitId'](),_0x256575=await this[_0x9b7928(0x408)](_0x1c390f);this['_entityInit$'][_0x9b7928(0x1fb)](_0x256575),this[_0x9b7928(0x4db)][_0x9b7928(0x250)](_0x1c390f,_0x256575);}),_0x433dcc[_0x12c689(0x24d)](this[_0x12c689(0x401)][_0x12c689(0x30e)](_0x2d11dc['UniverInstanceType'][_0x12c689(0x230)]),this[_0x12c689(0x401)][_0x12c689(0x30e)](_0x2d11dc[_0x12c689(0x238)][_0x12c689(0x3e2)]))[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this[_0x12c689(0x1f8)]))[_0x12c689(0x47f)](_0x359df8=>{const _0x2c07d1=_0x12c689,_0x586d9e=_0x359df8[_0x2c07d1(0x33a)](),_0x4ab7f4=this['_entities'][_0x2c07d1(0x2fe)](_0x586d9e);_0x4ab7f4&&(_0x4ab7f4[_0x2c07d1(0x2a5)](),this['_entities'][_0x2c07d1(0x34b)](_0x586d9e));});}async['_startSheetCollabCursor'](_0x2c8279){const _0x14ebb7=_0x392691,_0x4da5f0=await this[_0x14ebb7(0x352)][_0x14ebb7(0x30b)](_0x2c8279),_0x345b77=this[_0x14ebb7(0x248)][_0x14ebb7(0x3ce)](_0x30ed65,_0x2c8279,_0x4da5f0);return _0x345b77['init'](),_0x345b77;}async[_0x392691(0x408)](_0x4e271e){const _0x1c7c18=_0x392691,_0x44d778=await this[_0x1c7c18(0x352)][_0x1c7c18(0x30b)](_0x4e271e),_0x51223d=this[_0x1c7c18(0x248)][_0x1c7c18(0x3ce)](_0x518c40,_0x4e271e,_0x44d778);return _0x51223d[_0x1c7c18(0x423)](),_0x51223d;}};_0x3d0a15=_0x5cae46([_0x3dad5d(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x3dad5d(0x1,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x3dad5d(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5['CollaborationSessionService']))],_0x3d0a15);const _0x5ce148=0x14,_0x46e16a=0xc8,_0xf1a88c=0x4,_0x7bf3e=0x5;function _0x51c0fc(_0x1e85f1,_0x1a9e61){const _0x24d1dc=_0x392691;let {radius:_0x122d42,width:_0x595ccf,height:_0x2e95d7}=_0x1a9e61;_0x122d42=_0x122d42!=null?_0x122d42:0x0,_0x595ccf=_0x595ccf!=null?_0x595ccf:0x1e,_0x2e95d7=_0x2e95d7!=null?_0x2e95d7:0x1e;let _0x59d946=0x0,_0x41cfc9=0x0,_0x4be64a=0x0;_0x59d946=_0x41cfc9=_0x4be64a=Math[_0x24d1dc(0x1f2)](_0x122d42,_0x595ccf/0x2,_0x2e95d7/0x2),_0x1e85f1[_0x24d1dc(0x261)](),_0x1e85f1[_0x24d1dc(0x275)](_0x59d946,0x0),_0x1e85f1['lineTo'](_0x595ccf-_0x41cfc9,0x0),_0x1e85f1[_0x24d1dc(0x4e4)](_0x595ccf-_0x41cfc9,_0x41cfc9,_0x41cfc9,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e85f1[_0x24d1dc(0x4e8)](_0x595ccf,_0x2e95d7-_0x4be64a),_0x1e85f1[_0x24d1dc(0x4e4)](_0x595ccf-_0x4be64a,_0x2e95d7-_0x4be64a,_0x4be64a,0x0,Math['PI']/0x2,!0x1),_0x1e85f1['lineTo'](0x0,_0x2e95d7),_0x1e85f1[_0x24d1dc(0x4e8)](0x0,_0x59d946),_0x1e85f1[_0x24d1dc(0x4e4)](_0x59d946,_0x59d946,_0x59d946,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e85f1[_0x24d1dc(0x4e3)](),_0x1a9e61['fill']&&(_0x1e85f1[_0x24d1dc(0x3a4)](),_0x1e85f1[_0x24d1dc(0x405)]=_0x1a9e61[_0x24d1dc(0x44e)],_0x1a9e61[_0x24d1dc(0x33f)]===_0x24d1dc(0x26a)?_0x1e85f1[_0x24d1dc(0x44e)]('evenodd'):_0x1e85f1[_0x24d1dc(0x44e)](),_0x1e85f1[_0x24d1dc(0x403)]());}class _0x4d22ab extends _0x371184[_0x392691(0x254)]{constructor(_0x45ef28,_0x51addd){const _0x9d14be=_0x392691;super(_0x45ef28,_0x51addd),_0x4a3e10(this,_0x9d14be(0x49f)),_0x4a3e10(this,'text'),(this[_0x9d14be(0x49f)]=_0x51addd==null?void 0x0:_0x51addd[_0x9d14be(0x49f)],this[_0x9d14be(0x354)]=_0x51addd==null?void 0x0:_0x51addd[_0x9d14be(0x354)]);}static[_0x392691(0x21b)](_0x1a2e5b,_0x8a398f){const _0x35ff7c=_0x392691,{text:_0x49ea57,color:_0x21a350}=_0x8a398f;_0x1a2e5b['save'](),_0x1a2e5b[_0x35ff7c(0x4a3)]=_0x35ff7c(0x43c);const _0x2353e3=_0x1a2e5b[_0x35ff7c(0x345)](_0x49ea57)[_0x35ff7c(0x32d)],_0x129d12=Math['min'](_0x2353e3+0x2*_0xf1a88c,_0x46e16a);_0x51c0fc(_0x1a2e5b,{'height':_0x5ce148,'radius':0x4,'width':_0x129d12,'fill':_0x21a350}),_0x1a2e5b[_0x35ff7c(0x405)]='#FFF';const _0x1036c3=_0xf1a88c,_0x986372=_0x5ce148-_0x7bf3e,_0x3cd7a5=_0x46e16a-0x2*_0xf1a88c;if(_0x2353e3>_0x3cd7a5){let _0x3d4fa1='',_0x1136c1=0x0;for(const _0x1c5b0b of _0x49ea57){const _0x1ffb94=_0x1a2e5b[_0x35ff7c(0x345)](_0x1c5b0b)[_0x35ff7c(0x32d)];if(_0x1136c1+_0x1ffb94<=_0x3cd7a5-_0x1a2e5b[_0x35ff7c(0x345)]('...')[_0x35ff7c(0x32d)])_0x3d4fa1+=_0x1c5b0b,_0x1136c1+=_0x1ffb94;else{_0x3d4fa1+=_0x35ff7c(0x3bf);break;}}_0x1a2e5b[_0x35ff7c(0x281)](_0x3d4fa1,_0x1036c3,_0x986372);}else _0x1a2e5b[_0x35ff7c(0x281)](_0x49ea57,_0x1036c3,_0x986372);_0x1a2e5b[_0x35ff7c(0x403)]();}['_draw'](_0x59d9c4){const _0x41ab7e=_0x392691;_0x4d22ab[_0x41ab7e(0x21b)](_0x59d9c4,this);}}const _0x3adddc='collab-text-anchor-',_0x37f06f=_0x392691(0x42e),_0x2412d9=_0x392691(0x479),_0x16880f=0x6,_0x274f14=1.5,_0x30f878=0x4,_0x3ca638=1.5,_0x4ed0cc=_0x392691(0x348);class _0x5cacfc{constructor(_0x2c375c,_0x3378ba,_0x272a0f,_0x13c74d){const _0x2759d0=_0x392691;_0x4a3e10(this,_0x2759d0(0x42c),[]),_0x4a3e10(this,_0x2759d0(0x35c),null),_0x4a3e10(this,_0x2759d0(0x37e),null),_0x4a3e10(this,_0x2759d0(0x2b8),null),_0x4a3e10(this,'_hideTimer',null),_0x4a3e10(this,'_eventUnsubscribe',null),(this[_0x2759d0(0x3d3)]=_0x2c375c,this[_0x2759d0(0x359)]=_0x3378ba,this[_0x2759d0(0x44c)]=_0x272a0f,this[_0x2759d0(0x41c)]=_0x13c74d,this[_0x2759d0(0x3fc)]());}set[_0x392691(0x2af)](_0x2285a7){const _0x188c10=_0x392691;_0x2285a7?(this[_0x188c10(0x2b8)]&&this[_0x188c10(0x2b8)][_0x188c10(0x4da)](),this[_0x188c10(0x37e)]&&this[_0x188c10(0x37e)]['show']()):(this[_0x188c10(0x2b8)]&&this[_0x188c10(0x2b8)][_0x188c10(0x442)](),this[_0x188c10(0x37e)]&&this[_0x188c10(0x37e)][_0x188c10(0x4da)]());}[_0x392691(0x2a5)](){const _0x302cbf=_0x392691;for(const _0x28543d of this[_0x302cbf(0x42c)])_0x28543d['dispose']();this['_textBubble']&&this[_0x302cbf(0x37e)][_0x302cbf(0x2a5)](),this[_0x302cbf(0x2b8)]&&this[_0x302cbf(0x2b8)]['dispose'](),this['_anchor']&&this[_0x302cbf(0x35c)][_0x302cbf(0x2a5)](),this[_0x302cbf(0x2cf)]&&this[_0x302cbf(0x2cf)]();}[_0x392691(0x3fc)](){const _0x42ff0b=_0x392691;var _0x466c89;const {_docSkeleton:_0x5752fc,_document:_0x4b1f50}=this,{color:_0x427a7b,name:_0x490646,ranges:_0xda62ef}=this[_0x42ff0b(0x3d3)],_0x2513a3=_0x4b1f50[_0x42ff0b(0x208)](),{docsLeft:_0x36d6fa,docsTop:_0x142828}=_0x2513a3,_0x5f634d=new _0x1ff6d4[(_0x42ff0b(0x498))](_0x2513a3,_0x5752fc);for(const {startOffset:_0x41a00a,endOffset:_0x15ba1a,rangeType:_0x55bbc9,segmentId:_0x310705,segmentPage:_0x61d891,collapsed:_0x1a3041,isActive:_0xbcf605}of _0xda62ef){const _0x3d5ab4=_0x5752fc[_0x42ff0b(0x209)](_0x41a00a,!0x0,_0x310705,_0x61d891);let _0xd0f04b=_0x5752fc[_0x42ff0b(0x209)](_0x15ba1a,!0x0,_0x310705,_0x61d891);if(_0xd0f04b==null&&(_0xd0f04b=_0x5752fc[_0x42ff0b(0x209)](_0x15ba1a-0x1,!0x1,_0x310705,_0x61d891)),_0xbcf605){const {contentBoxPointGroup:_0x5269a4}=_0x5f634d['getRangePointData'](_0xd0f04b,_0xd0f04b);if(_0x5269a4[_0x42ff0b(0x30c)]===0x0)continue;this[_0x42ff0b(0x379)](_0x427a7b,_0x5269a4,_0x36d6fa,_0x142828,_0x490646),this['_eventUnsubscribe']=this[_0x42ff0b(0x2d9)]();}if(_0x3d5ab4&&_0xd0f04b){if(_0x55bbc9===_0x2d11dc[_0x42ff0b(0x2e7)][_0x42ff0b(0x2ba)]){const _0x1728ae=new _0x1ff6d4['NodePositionConvertToRectRange'](_0x2513a3,_0x5752fc),{pointGroup:_0x45826d}=(_0x466c89=_0x1728ae[_0x42ff0b(0x26c)](_0x3d5ab4,_0xd0f04b))!=null?_0x466c89:{};if(_0x45826d==null||_0x45826d['length']===0x0)continue;this[_0x42ff0b(0x4ad)](_0x427a7b,_0x45826d,_0x36d6fa,_0x142828);}else{if(!_0x1a3041){const {borderBoxPointGroup:_0xa325b0}=_0x5f634d[_0x42ff0b(0x26c)](_0x3d5ab4,_0xd0f04b);if(_0xa325b0['length']===0x0)continue;this[_0x42ff0b(0x460)](_0x427a7b,_0xa325b0,_0x36d6fa,_0x142828);}}}}}['_drawAnchor'](_0xf5cf94,_0x15ad0a,_0x5f3d85,_0x10dbc8,_0x39367c){const _0x4572c2=_0x392691,_0x2dfbdc=this[_0x4572c2(0x3ca)](_0x15ad0a),{left:_0xddfec8,top:_0x3cfc15,height:_0x1264ee}=_0x2dfbdc,_0x457ed3=this[_0x4572c2(0x3e8)](),_0x4bd1f0=_0x3ca638/_0x457ed3,_0x597ce7=new _0x371184[(_0x4572c2(0x2aa))](_0x3adddc+_0x2d11dc[_0x4572c2(0x269)](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8,'height':_0x1264ee,'width':_0x274f14,'fill':_0xf5cf94||_0x371184['getColor'](_0x2d11dc['COLORS'][_0x4572c2(0x293)],0x0),'strokeWidth':_0x4bd1f0,'stroke':_0x4ed0cc,'evented':!0x0});this[_0x4572c2(0x35c)]=_0x597ce7,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x597ce7,_0x1ff6d4[_0x4572c2(0x424)]);const _0x42574c=new _0x371184['Rect'](_0x3adddc+_0x2d11dc[_0x4572c2(0x269)](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8-_0x30f878/0x2,'height':_0x30f878,'width':_0x30f878,'fill':_0xf5cf94||_0x371184[_0x4572c2(0x2bf)](_0x2d11dc[_0x4572c2(0x474)][_0x4572c2(0x293)],0x0),'strokeWidth':0x0,'stroke':_0xf5cf94||_0x371184[_0x4572c2(0x2bf)](_0x2d11dc[_0x4572c2(0x474)]['black'],0x0),'evented':!0x1});this[_0x4572c2(0x2b8)]=_0x42574c,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x42574c,_0x1ff6d4[_0x4572c2(0x424)]);const _0x1b8e6b=new _0x4d22ab(_0x3adddc+_0x2d11dc['generateRandomId'](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8-_0x5ce148,'text':_0x39367c,'color':_0xf5cf94});this[_0x4572c2(0x37e)]=_0x1b8e6b,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x1b8e6b,_0x1ff6d4[_0x4572c2(0x424)]),this['_hover']=!0x1;}[_0x392691(0x2d9)](){const _0x1ab143=_0x392691,_0x52b06f=this[_0x1ab143(0x35c)][_0x1ab143(0x2ce)][_0x1ab143(0x288)](()=>{const _0x1295f9=_0x1ab143;this[_0x1295f9(0x2af)]=!0x0;}),_0x4a3b53=this[_0x1ab143(0x35c)][_0x1ab143(0x2a6)]['subscribeEvent'](()=>{const _0x1d2252=_0x1ab143;this[_0x1d2252(0x222)]&&clearTimeout(this[_0x1d2252(0x222)]),this[_0x1d2252(0x222)]=setTimeout(()=>{const _0x16b5fb=_0x1d2252;this[_0x16b5fb(0x2af)]=!0x1;},0x7d0);});return()=>{const _0x2685ab=_0x1ab143;_0x52b06f[_0x2685ab(0x38f)](),_0x4a3b53['unsubscribe']();};}[_0x392691(0x460)](_0x2f9ce7,_0x5df4b7,_0x449556,_0xa950d1){const _0x215cdf=_0x392691,_0x499fa2=new _0x2d11dc[(_0x215cdf(0x321))](_0x2f9ce7)['setAlpha'](0.2)['toRgbString'](),_0x5c2128=new _0x371184['RegularPolygon'](_0x37f06f+_0x2d11dc[_0x215cdf(0x269)](_0x16880f),{'pointsGroup':_0x5df4b7,'fill':_0x499fa2||_0x371184[_0x215cdf(0x2bf)](_0x2d11dc[_0x215cdf(0x474)][_0x215cdf(0x293)],0.2),'left':_0x449556,'top':_0xa950d1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x215cdf(0x381)](_0x5c2128),this[_0x215cdf(0x359)][_0x215cdf(0x24b)](_0x5c2128,_0x1ff6d4[_0x215cdf(0x424)]);}['_drawRectRange'](_0x519dad,_0x5cf7a6,_0x4c4221,_0x5e4d1c){const _0x54e0f5=_0x392691,_0x427b83=new _0x2d11dc['ColorKit'](_0x519dad)[_0x54e0f5(0x482)](0.2)['toRgbString'](),_0x444145=new _0x371184[(_0x54e0f5(0x27f))](_0x2412d9+_0x2d11dc[_0x54e0f5(0x269)](_0x16880f),{'pointsGroup':_0x5cf7a6,'fill':_0x427b83||_0x371184[_0x54e0f5(0x2bf)](_0x2d11dc[_0x54e0f5(0x474)]['black'],0.2),'left':_0x4c4221,'top':_0x5e4d1c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54e0f5(0x42c)][_0x54e0f5(0x381)](_0x444145),this[_0x54e0f5(0x359)][_0x54e0f5(0x24b)](_0x444145,_0x1ff6d4[_0x54e0f5(0x424)]);}[_0x392691(0x3ca)](_0x4e9da0){const _0xfc38f5=_0x4e9da0[0x0],_0x5370a0=_0xfc38f5[0x0],_0x37deb8=_0xfc38f5[0x2],{x:_0x47cfb6,y:_0x397493}=_0x5370a0,{x:_0x5825ef,y:_0x1bcaee}=_0x37deb8;return{'left':_0x47cfb6,'top':_0x397493,'width':_0x5825ef-_0x47cfb6,'height':_0x1bcaee-_0x397493};}['_getScale'](){const _0x5a7a17=_0x392691,{scaleX:_0xcadda8,scaleY:_0x385c38}=this[_0x5a7a17(0x359)][_0x5a7a17(0x376)]();return Math['max'](_0xcadda8,_0x385c38);}}var _0x1dd45b=Object['getOwnPropertyDescriptor'],_0x21d693=(_0x24dea6,_0x2c0427,_0x166df3,_0x4c6201)=>{const _0x374970=_0x392691;for(var _0x29cd06=_0x4c6201>0x1?void 0x0:_0x4c6201?_0x1dd45b(_0x2c0427,_0x166df3):_0x2c0427,_0x4306bb=_0x24dea6[_0x374970(0x30c)]-0x1,_0xc6fbfa;_0x4306bb>=0x0;_0x4306bb--)(_0xc6fbfa=_0x24dea6[_0x4306bb])&&(_0x29cd06=_0xc6fbfa(_0x29cd06)||_0x29cd06);return _0x29cd06;},_0x193f3=(_0x5d44ae,_0x2d8168)=>(_0x16a660,_0x3bcd93)=>_0x2d8168(_0x16a660,_0x3bcd93,_0x5d44ae);let _0x872bc4=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x981018,_0x538b2e,_0x1392d3,_0x3b0609,_0x2505d4){const _0x3ca7dd=_0x392691;super(),_0x4a3e10(this,_0x3ca7dd(0x383),[]),_0x4a3e10(this,'_cursors',[]),(this['_context']=_0x981018,this[_0x3ca7dd(0x32c)]=_0x538b2e,this['_collabCursorController']=_0x1392d3,this[_0x3ca7dd(0x3cf)]=_0x3b0609,this[_0x3ca7dd(0x422)]=_0x2505d4,this['_init']());}['_init'](){const _0x2850ee=_0x392691,_0xc78624=this[_0x2850ee(0x2d0)][_0x2850ee(0x20f)],_0x5c6fd1=this[_0x2850ee(0x32c)];this[_0x2850ee(0x2c5)](_0x433dcc[_0x2850ee(0x2eb)]([this['_collabCursorController'][_0x2850ee(0x23a)](_0xc78624),this[_0x2850ee(0x422)][_0x2850ee(0x394)]])[_0x2850ee(0x38d)](_0xbeb681['map'](([_0x4d2f3a,_0x2f66a4])=>({'skeleton':_0x5c6fd1[_0x2850ee(0x3d1)](),'cursors':[..._0x4d2f3a['values']()][_0x2850ee(0x257)](_0x2caf0e=>({..._0x2caf0e,'color':this[_0x2850ee(0x422)]['getColorFromTheme'](_0x2caf0e[_0x2850ee(0x49f)])}))})))['subscribe'](_0xcd1175=>{const _0x284497=_0x2850ee;if(this[_0x284497(0x256)](),_0xcd1175){const {skeleton:_0x4e4b5f,cursors:_0x4639ff}=_0xcd1175;this[_0x284497(0x3c5)](_0x4e4b5f,_0x4639ff);}})),this[_0x2850ee(0x225)](),this[_0x2850ee(0x28e)]();}[_0x392691(0x3c5)](_0x19ebdc,_0x34c9e8){const _0x1513ae=_0x392691,{scene:_0x143a2c,mainComponent:_0x23661b}=this[_0x1513ae(0x2d0)],_0xac4f5e=_0x34c9e8[_0x1513ae(0x337)](_0x276b2e=>new _0x5cacfc(_0x276b2e,_0x143a2c,_0x19ebdc,_0x23661b));this['_cursorShapes']=_0xac4f5e,this['_cursors']=_0x34c9e8;}[_0x392691(0x3d9)](){const _0x557188=_0x392691;this['_removeCollabCursors']();const {scene:_0x40fbda,mainComponent:_0xb20672}=this['_context'],_0x15d88=this['_docSkeletonManagerService'][_0x557188(0x3d1)](),_0x1edc03=this[_0x557188(0x218)][_0x557188(0x337)](_0x215c33=>new _0x5cacfc(_0x215c33,_0x40fbda,_0x15d88,_0xb20672));this[_0x557188(0x383)]=_0x1edc03;}[_0x392691(0x256)](){const _0x39542d=_0x392691;this[_0x39542d(0x383)][_0x39542d(0x34f)](_0x363fde=>_0x363fde[_0x39542d(0x2a5)]()),this[_0x39542d(0x383)]=[];}[_0x392691(0x28e)](){const _0x29e346=_0x392691,_0x5d72f2=[_0x1ff6d4['SetDocZoomRatioOperation']['id']];this[_0x29e346(0x2c5)](this['_commandService'][_0x29e346(0x1ee)](_0x11de64=>{const _0x462ec7=_0x29e346;_0x5d72f2['includes'](_0x11de64['id'])&&_0x11de64['params'][_0x462ec7(0x20f)]===this['_context'][_0x462ec7(0x20f)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0xdfde9=_0x392691;this[_0xdfde9(0x2c5)](_0x2d11dc[_0xdfde9(0x446)](this[_0xdfde9(0x2d0)][_0xdfde9(0x36f)][_0xdfde9(0x31d)])['pipe'](_0xbeb681[_0xdfde9(0x4d2)](_0x4d01f3=>_0x4d01f3[_0xdfde9(0x3d8)]===_0x371184[_0xdfde9(0x493)][_0xdfde9(0x316)]),_0xbeb681[_0xdfde9(0x286)](0x10))['subscribe'](()=>{const _0x36ebfc=_0xdfde9;this[_0x36ebfc(0x3d9)]();}));}};_0x872bc4=_0x21d693([_0x193f3(0x1,_0x2d11dc['Inject'](_0x30435f['DocSkeletonManagerService'])),_0x193f3(0x2,_0x2d11dc[_0x392691(0x36d)](_0x3d0a15)),_0x193f3(0x3,_0x2d11dc[_0x392691(0x3aa)]),_0x193f3(0x4,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x246)]))],_0x872bc4);const _0x41b1d6=0x1,_0x3b9cee=1.5;class _0x895cf0 extends _0x371184[_0x392691(0x254)]{constructor(_0x39fcb6,_0x4b190e){const _0x40f544=_0x392691;var _0x5adc9c,_0x51074e;super(_0x39fcb6,_0x4b190e),_0x4a3e10(this,_0x40f544(0x38c)),_0x4a3e10(this,'_hovered',!0x1),_0x4a3e10(this,_0x40f544(0x412)),_0x4a3e10(this,'_name',''),_0x4a3e10(this,_0x40f544(0x421),_0x40f544(0x2d5)),_0x4a3e10(this,_0x40f544(0x21e)),_0x4a3e10(this,_0x40f544(0x1fd)),_0x4a3e10(this,'_highlight'),_0x4a3e10(this,'_highlightSecond',0x4),_0x4a3e10(this,'_blinkTimer'),_0x4a3e10(this,_0x40f544(0x274)),_0x4a3e10(this,_0x40f544(0x235),!0x0),_0x4a3e10(this,_0x40f544(0x2dc),0x0),(_0x4b190e&&(this['setShapeProps'](_0x4b190e),_0x4b190e[_0x40f544(0x355)]&&((_0x5adc9c=_0x4b190e[_0x40f544(0x35f)])!=null?_0x5adc9c:this[_0x40f544(0x375)])&&this[_0x40f544(0x26b)]((_0x51074e=_0x4b190e[_0x40f544(0x35f)])!=null?_0x51074e:this[_0x40f544(0x375)])),this[_0x40f544(0x2ce)][_0x40f544(0x288)](()=>this[_0x40f544(0x461)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x40f544(0x461)]({'hovered':!0x1})));}[_0x392691(0x3d2)](_0x556a20){this['_offsetY']=_0x556a20;}[_0x392691(0x461)](_0x18e4b5){const _0x22dc1a=_0x392691;var _0x2e980c,_0x686638,_0x45c3bc,_0xce840a,_0x1db9b6,_0xb76cb3,_0x3408a2;this[_0x22dc1a(0x38c)]=(_0x2e980c=_0x18e4b5[_0x22dc1a(0x49f)])!=null?_0x2e980c:this[_0x22dc1a(0x38c)],this['_hovered']=(_0x686638=_0x18e4b5[_0x22dc1a(0x371)])!=null?_0x686638:this[_0x22dc1a(0x1fe)],this[_0x22dc1a(0x412)]=(_0x45c3bc=_0x18e4b5[_0x22dc1a(0x4d8)])!=null?_0x45c3bc:this['_range'],this['_name']=(_0xce840a=_0x18e4b5[_0x22dc1a(0x3c3)])!=null?_0xce840a:this[_0x22dc1a(0x426)],this[_0x22dc1a(0x421)]=(_0x1db9b6=_0x18e4b5[_0x22dc1a(0x3b6)])!=null?_0x1db9b6:this[_0x22dc1a(0x421)],this['_backgroundColor']=(_0xb76cb3=_0x18e4b5['backgroundColor'])!=null?_0xb76cb3:this[_0x22dc1a(0x21e)],this[_0x22dc1a(0x1fd)]=(_0x3408a2=_0x18e4b5[_0x22dc1a(0x370)])!=null?_0x3408a2:this[_0x22dc1a(0x1fd)],_0x18e4b5[_0x22dc1a(0x35f)]!==void 0x0&&(this['_highlightSecond']=_0x18e4b5['highlightSecond']),_0x18e4b5[_0x22dc1a(0x355)]!==void 0x0&&(this[_0x22dc1a(0x4e0)]=_0x18e4b5[_0x22dc1a(0x355)]),_0x18e4b5[_0x22dc1a(0x384)]!==void 0x0&&(this[_0x22dc1a(0x2dc)]=_0x18e4b5[_0x22dc1a(0x384)]),this[_0x22dc1a(0x2e1)]({'width':_0x18e4b5[_0x22dc1a(0x32d)],'height':_0x18e4b5['height']});}['onMouseMove'](_0x2ff5c0){const _0x8de2f8=_0x392691,{row:_0x27252e,column:_0x13b4e6}=_0x2ff5c0;if(_0x27252e>=this['_range'][_0x8de2f8(0x47b)]&&_0x27252e<=this[_0x8de2f8(0x412)][_0x8de2f8(0x4b2)]&&_0x13b4e6>=this[_0x8de2f8(0x412)][_0x8de2f8(0x46e)]&&_0x13b4e6<=this[_0x8de2f8(0x412)][_0x8de2f8(0x45b)]){this[_0x8de2f8(0x461)]({'hovered':!0x0});return;}this[_0x8de2f8(0x461)]({'hovered':!0x1});}[_0x392691(0x26b)](_0x180f75){const _0x1599a0=_0x392691;this['_stopBlinking'](),this[_0x1599a0(0x235)]=!0x0,this['_blinkIntervalTimer']=window[_0x1599a0(0x3f1)](()=>{const _0x561b2c=_0x1599a0;this['_isBlinkVisible']=!this[_0x561b2c(0x235)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x1599a0(0x243)](()=>{const _0x25f57a=_0x1599a0;this[_0x25f57a(0x287)](),this[_0x25f57a(0x235)]=!0x0,this[_0x25f57a(0x322)](!0x0);},_0x180f75*0x3e8);}['_stopBlinking'](){const _0x1a9495=_0x392691;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x1a9495(0x274)]),this[_0x1a9495(0x274)]=void 0x0),this[_0x1a9495(0x4d5)]&&(window[_0x1a9495(0x201)](this[_0x1a9495(0x4d5)]),this['_blinkTimer']=void 0x0);}[_0x392691(0x38b)](_0x45b545){return!0x1;}[_0x392691(0x2a5)](){const _0x2ff563=_0x392691;this[_0x2ff563(0x287)](),super['dispose']();}[_0x392691(0x25f)](_0x8bf51c){const _0x370a13=_0x392691;var _0x3baa5c,_0x142045;let _0x1d5e80=this[_0x370a13(0x38c)],_0x64d95b=this[_0x370a13(0x21e)];this[_0x370a13(0x4e0)]&&!this[_0x370a13(0x235)]&&(_0x1d5e80=this['_getLighterColor'](this['_color']),_0x64d95b=this[_0x370a13(0x21e)]?this['_getLighterColor'](this[_0x370a13(0x21e)]):void 0x0),_0x371184[_0x370a13(0x2aa)][_0x370a13(0x21b)](_0x8bf51c,{'width':this['width'],'height':this[_0x370a13(0x346)],'strokeWidth':(_0x3baa5c=this[_0x370a13(0x22c)])!=null?_0x3baa5c:_0x3b9cee,'stroke':_0x1d5e80,'evented':!0x1,'fill':_0x64d95b}),(this[_0x370a13(0x1fe)]||this[_0x370a13(0x1fd)])&&(_0x8bf51c[_0x370a13(0x3a4)](),_0x8bf51c['transform'](0x1,0x0,0x0,0x1,this[_0x370a13(0x32d)],(this[_0x370a13(0x421)]==='bottom'?0x0:-_0x5ce148)+((_0x142045=this[_0x370a13(0x2dc)])!=null?_0x142045:0x0)),_0x4d22ab[_0x370a13(0x21b)](_0x8bf51c,{'text':this[_0x370a13(0x426)],'color':_0x1d5e80}),_0x8bf51c['restore']());}['_getLighterColor'](_0x4dbf60){const _0x238d67=_0x392691;if(_0x4dbf60[_0x238d67(0x416)]('#')){const _0x38ed2f=Number[_0x238d67(0x361)](_0x4dbf60[_0x238d67(0x425)](0x1,0x3),0x10),_0x2ff406=Number[_0x238d67(0x361)](_0x4dbf60[_0x238d67(0x425)](0x3,0x5),0x10),_0x387388=Number[_0x238d67(0x361)](_0x4dbf60['slice'](0x5,0x7),0x10);return _0x238d67(0x3b4)+_0x38ed2f+',\x20'+_0x2ff406+',\x20'+_0x387388+_0x238d67(0x40c);}return _0x4dbf60[_0x238d67(0x416)](_0x238d67(0x228))?_0x4dbf60['replace'](/[\d.]+\)$/g,_0x238d67(0x41e)):_0x4dbf60[_0x238d67(0x416)](_0x238d67(0x3c8))?_0x4dbf60[_0x238d67(0x4a4)]('rgb',_0x238d67(0x228))['replace'](')',_0x238d67(0x40c)):_0x4dbf60;}}var _0x2204e5=Object[_0x392691(0x39f)],_0x3cdcf4=(_0x37dcfa,_0x213824,_0x4f0d7d,_0x31ecf1)=>{const _0x130c0a=_0x392691;for(var _0x270515=_0x31ecf1>0x1?void 0x0:_0x31ecf1?_0x2204e5(_0x213824,_0x4f0d7d):_0x213824,_0x2fedfa=_0x37dcfa[_0x130c0a(0x30c)]-0x1,_0x59d3fa;_0x2fedfa>=0x0;_0x2fedfa--)(_0x59d3fa=_0x37dcfa[_0x2fedfa])&&(_0x270515=_0x59d3fa(_0x270515)||_0x270515);return _0x270515;},_0x526237=(_0x41755c,_0x3a6d2c)=>(_0x558f37,_0x3b66bd)=>_0x3a6d2c(_0x558f37,_0x3b66bd,_0x41755c);const _0x4e6bca=0x1389;let _0x34444f=class extends _0x2d11dc['RxDisposable']{constructor(_0x154812,_0x55b2c1,_0x5b12b7,_0x3e30a0){const _0x2ae207=_0x392691;super(),_0x4a3e10(this,_0x2ae207(0x218),new Set()),_0x4a3e10(this,_0x2ae207(0x1df),null),(this[_0x2ae207(0x2d0)]=_0x154812,this['_sheetSkeletonManagerService']=_0x55b2c1,this['_collabCursorController']=_0x5b12b7,this[_0x2ae207(0x422)]=_0x3e30a0,this[_0x2ae207(0x411)]());}[_0x392691(0x411)](){const _0x1d7d28=_0x392691;this[_0x1d7d28(0x247)][_0x1d7d28(0x2e2)]['pipe'](_0xbeb681[_0x1d7d28(0x28c)](this[_0x1d7d28(0x1f8)]),_0xbeb681['switchMap'](_0x313b96=>{const _0xdc5206=_0x1d7d28;if(_0x313b96){const _0x1aa423=_0x313b96['sheetId'];return _0x433dcc['combineLatest'](this[_0xdc5206(0x2be)][_0xdc5206(0x23a)](this[_0xdc5206(0x2d0)]['unitId']),this[_0xdc5206(0x422)][_0xdc5206(0x394)])[_0xdc5206(0x38d)](_0xbeb681[_0xdc5206(0x337)](([_0x1534fd,_0x58d095])=>{const _0x35dc5a=new Map();return _0x1534fd['forEach']((_0x26399c,_0x342b2a)=>{const _0x2594a9=_0x43cc;if(_0x26399c['sheetID']===_0x1aa423){const _0x3619f8={..._0x26399c};_0x3619f8['color']=this[_0x2594a9(0x422)][_0x2594a9(0x436)](_0x26399c[_0x2594a9(0x49f)]),_0x35dc5a[_0x2594a9(0x250)](_0x342b2a,_0x3619f8);}}),{'skeleton':_0x313b96,'cursors':_0x35dc5a};}));}return _0x433dcc['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d7d28(0x47f)](({skeleton:_0x3e3562,cursors:_0x519915})=>{const _0x5bc669=_0x1d7d28;this[_0x5bc669(0x256)](),_0x3e3562&&this[_0x5bc669(0x3c5)](_0x3e3562,_0x519915);}),this[_0x1d7d28(0x247)]['currentSkeleton$'][_0x1d7d28(0x47f)](_0x128519=>{const _0x5d87fe=_0x1d7d28;if(_0x128519==null)return;const {skeleton:_0xd9d8d1}=_0x128519,{scene:_0xcb51e6}=this[_0x5d87fe(0x2d0)];_0xcb51e6[_0x5d87fe(0x452)]['subscribeEvent'](_0x2d11dc[_0x5d87fe(0x45a)](_0x4a9bd2=>{const _0x253f12=_0x5d87fe;var _0x2f125e,_0x466353;const {offsetX:_0xd6650,offsetY:_0x1d04cd}=_0x4a9bd2,{x:_0x1a2b13,y:_0xbaa63c}=_0xcb51e6[_0x253f12(0x49d)](_0x371184['Vector2']['FromArray']([_0xd6650,_0x1d04cd])),{scaleX:_0x126628,scaleY:_0x11b9d5}=_0xcb51e6['getAncestorScale'](),_0x3cd25f=_0xcb51e6[_0x253f12(0x2dd)](_0x371184[_0x253f12(0x488)][_0x253f12(0x234)]),_0x441600=_0xcb51e6[_0x253f12(0x3c0)](_0x371184[_0x253f12(0x2a0)][_0x253f12(0x3af)]([_0x1a2b13,_0xbaa63c]),_0x3cd25f),_0xa2be6f=_0xd9d8d1[_0x253f12(0x407)](_0xd6650,_0x1d04cd,_0x126628,_0x11b9d5,_0x441600);((_0x2f125e=this[_0x253f12(0x1df)])==null?void 0x0:_0x2f125e['column'])===_0xa2be6f[_0x253f12(0x2c3)]&&((_0x466353=this[_0x253f12(0x1df)])==null?void 0x0:_0x466353[_0x253f12(0x3e5)])===_0xa2be6f['row']||this[_0x253f12(0x218)][_0x253f12(0x34f)](_0x32ae5f=>{const _0x411a96=_0x253f12;_0x32ae5f[_0x411a96(0x344)](_0xa2be6f);});},0x64));});}['_updateCollabCursors'](_0x18947c,_0x3eaabc){const _0x37487b=_0x392691;var _0x554074;const _0x4dd514=(_0x554074=this[_0x37487b(0x247)]['getCurrent']())==null?void 0x0:_0x554074[_0x37487b(0x41d)];if(!_0x4dd514)return;const _0x3e4a1d=this[_0x37487b(0x3c2)]();if(!_0x3e4a1d)return;this[_0x37487b(0x218)][_0x37487b(0x34f)](_0x17c0f4=>{_0x17c0f4['makeDirty']();});const {scene:_0x23eebd}=_0x3e4a1d,_0x22e600=_0x453dd2(Array[_0x37487b(0x4d1)](_0x3eaabc['values']()))[_0x37487b(0x337)](_0x4abea8=>{const _0x1c073e=_0x37487b,{color:_0x337c0e,range:_0x47ad5e,name:_0x1df66a,selection:_0xe3225,sheetID:_0x4039dd}=_0x4abea8,{startColumn:_0x29925c,startRow:_0x3ad0f2,endColumn:_0x3eb110,endRow:_0x576646}=_0x47ad5e,_0x1dbe5d=_0xd80992[_0x1c073e(0x365)](_0x3ad0f2,_0x29925c,_0x23eebd,_0x4dd514),_0x3bd412=_0xd80992[_0x1c073e(0x365)](_0x576646,_0x3eb110,_0x23eebd,_0x4dd514),{columnHeaderHeightAndMarginTop:_0x55a4c9}=_0x4dd514,{startX:_0x9013c7,startY:_0x64c9d8}=_0x1dbe5d,{endX:_0x1e31ab,endY:_0x3449b8}=_0x3bd412,_0x42f19f=_0x1e31ab-_0x9013c7,_0x196223=_0x3449b8-_0x64c9d8,_0x3ce986={'labelPosition':_0x64c9d8-_0x55a4c9>=_0x5ce148?_0x1c073e(0x2d5):_0x1c073e(0x42d),'sheetID':_0x4039dd,'range':_0x47ad5e,'color':_0x337c0e,'name':_0x1df66a,'selection':_0xe3225,'left':_0x9013c7,'top':_0x64c9d8,'width':_0x42f19f,'height':_0x196223,'evented':!0x1,'zIndex':_0x4e6bca};return new _0x895cf0(_0x1df66a,_0x3ce986);});_0x23eebd[_0x37487b(0x34a)](_0x22e600,_0x41b1d6),this['_cursors']=new Set(_0x22e600);}[_0x392691(0x256)](){const _0x37632b=_0x392691;var _0x44a340;(_0x44a340=this[_0x37632b(0x218)])==null||_0x44a340[_0x37632b(0x34f)](_0x4137c6=>_0x4137c6['dispose']());}[_0x392691(0x3c2)](){const _0x1bc1d1=_0x392691;return _0xd80992[_0x1bc1d1(0x3e6)](this[_0x1bc1d1(0x2d0)]['unit'],this[_0x1bc1d1(0x2d0)]);}};_0x34444f=_0x3cdcf4([_0x526237(0x1,_0x2d11dc[_0x392691(0x36d)](_0xd80992[_0x392691(0x484)])),_0x526237(0x2,_0x2d11dc[_0x392691(0x36d)](_0x3d0a15)),_0x526237(0x3,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x246)]))],_0x34444f);function _0x453dd2(_0x2fcb24){const _0x3c98d4=_0x392691,_0x419b9f=new Map();return _0x2fcb24[_0x3c98d4(0x34f)](_0x50e96f=>{const _0x4b2f5c=_0x3c98d4;if(_0x419b9f[_0x4b2f5c(0x4ab)](_0x50e96f[_0x4b2f5c(0x2ef)])){const _0x33aefb=_0x419b9f['get'](_0x50e96f[_0x4b2f5c(0x2ef)]);_0x33aefb[_0x4b2f5c(0x3c3)]+=',\x20'+_0x50e96f[_0x4b2f5c(0x3c3)];}else _0x419b9f['set'](_0x50e96f[_0x4b2f5c(0x2ef)],_0x50e96f);}),Array['from'](_0x419b9f[_0x3c98d4(0x33e)]());}var _0x33878f=Object[_0x392691(0x39f)],_0x2359aa=(_0x45cec6,_0x52b0c4,_0x5d389f,_0x49da9a)=>{const _0x5a2619=_0x392691;for(var _0x3d4195=_0x49da9a>0x1?void 0x0:_0x49da9a?_0x33878f(_0x52b0c4,_0x5d389f):_0x52b0c4,_0x3d391d=_0x45cec6[_0x5a2619(0x30c)]-0x1,_0x13391a;_0x3d391d>=0x0;_0x3d391d--)(_0x13391a=_0x45cec6[_0x3d391d])&&(_0x3d4195=_0x13391a(_0x3d4195)||_0x3d4195);return _0x3d4195;},_0xe250b4=(_0x3c311e,_0x3afe99)=>(_0x20c809,_0x1e8421)=>_0x3afe99(_0x20c809,_0x1e8421,_0x3c311e);let _0x2647f1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x28c7e6,_0x100246,_0x55e36f,_0x31cea6,_0x33b886,_0x3b000f){const _0x254e92=_0x392691;super(),this['_beforeCloseService']=_0x28c7e6,this[_0x254e92(0x2a1)]=_0x100246,this['_collaborationUIEventService']=_0x55e36f,this['_messageService']=_0x31cea6,this[_0x254e92(0x343)]=_0x33b886,this['_localeService']=_0x3b000f,this[_0x254e92(0x233)](),this[_0x254e92(0x483)]();}[_0x392691(0x233)](){const _0xcf6ecf=_0x392691;this[_0xcf6ecf(0x2c5)](this['_beforeCloseService'][_0xcf6ecf(0x469)](()=>{const _0x3692b0=_0xcf6ecf;if(this[_0x3692b0(0x2a1)][_0x3692b0(0x298)][_0x3692b0(0x299)])return this['_localeService']['t'](_0x3692b0(0x2e4));}));}[_0x392691(0x483)](){const _0x14d5cd=_0x392691;this['disposeWithMe'](this[_0x14d5cd(0x3a1)][_0x14d5cd(0x2f0)]['subscribe'](_0x2c8b3c=>{const _0x218b30=_0x14d5cd;_0x2c8b3c['id']===_0xc712b5['CollaborationUIEventId'][_0x218b30(0x476)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45['MessageType'][_0x218b30(0x43d)],'content':this['_localeService']['t'](_0x218b30(0x2d8))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x263)]&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this[_0x218b30(0x226)]['t']('collaboration.closeRoom')}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x3b8)]&&this[_0x218b30(0x343)][_0x218b30(0x442)]({'title':this['_localeService']['t'](_0x218b30(0x2d1)),'content':this['_localeService']['t'](_0x218b30(0x429)),'type':'error','duration':0x0}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)]['CONFLICT']&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)]['Error'],'content':this[_0x218b30(0x226)]['t']('collaboration.closeRoom')+'('+_0x2c8b3c[_0x218b30(0x4a8)]+')'}),_0x2c8b3c['id']===_0xc712b5['CollaborationUIEventId'][_0x218b30(0x46d)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this['_localeService']['t'](_0x2c8b3c[_0x218b30(0x4a8)]||'')}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x302)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x3a7))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x3ea)]&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45['MessageType'][_0x218b30(0x395)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x264))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x395)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x28a))});}));}};_0x2647f1=_0x2359aa([_0xe250b4(0x0,_0x95a23a[_0x392691(0x2fa)]),_0xe250b4(0x1,_0xc712b5[_0x392691(0x3f5)]),_0xe250b4(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x451)])),_0xe250b4(0x3,_0x95a23a[_0x392691(0x2b0)]),_0xe250b4(0x4,_0x95a23a['INotificationService']),_0xe250b4(0x5,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x32b)]))],_0x2647f1);const _0x34c500='collaboration-client-ui.config',_0x4e002a={};var _0x467e9d=Object[_0x392691(0x39f)],_0x5c366b=(_0x19546f,_0x279fd0,_0x3081fd,_0x1003c0)=>{const _0x1402a6=_0x392691;for(var _0x28e41a=_0x1003c0>0x1?void 0x0:_0x1003c0?_0x467e9d(_0x279fd0,_0x3081fd):_0x279fd0,_0x59152a=_0x19546f[_0x1402a6(0x30c)]-0x1,_0xe6b0fd;_0x59152a>=0x0;_0x59152a--)(_0xe6b0fd=_0x19546f[_0x59152a])&&(_0x28e41a=_0xe6b0fd(_0x28e41a)||_0x28e41a);return _0x28e41a;},_0x294a34=(_0x15fb4b,_0x4ddef2)=>(_0xd61519,_0x1a38fc)=>_0x4ddef2(_0xd61519,_0x1a38fc,_0x15fb4b);let _0x2ae871=class{constructor(_0xf8fdbc,_0x3afb3b){const _0x293d07=_0x392691;this[_0x293d07(0x3c6)]=_0xf8fdbc,this[_0x293d07(0x3e7)]=_0x3afb3b;}['transformIMECache'](_0x1705cd){const _0x5b0bd4=_0x392691;this['_transformUndoRedoStack'](_0x1705cd),this[_0x5b0bd4(0x48a)](_0x1705cd);}[_0x392691(0x336)](_0xacce96){const _0x2c7040=_0x392691,{unitID:_0x2662d5}=_0xacce96,_0x2bc0b2=this[_0x2c7040(0x3e7)]['getRenderById'](_0x2662d5)[_0x2c7040(0x3fd)](_0x1ff6d4[_0x2c7040(0x32a)]),{redoCache:_0x2fe03e}=_0x2bc0b2['getUndoRedoMutationParamsCache']();if(_0x2fe03e[_0x2c7040(0x30c)]===0x0)return _0xacce96;let _0x4697af=_0x2d11dc[_0x2c7040(0x396)][_0x2c7040(0x31b)](_0xacce96['mutations'][0x0]);for(let _0x2a14dc=0x0;_0x2a14dc<_0x2fe03e[_0x2c7040(0x30c)];_0x2a14dc++){const _0x515756={'id':'doc.mutation.rich-text-editing','params':{..._0x2fe03e[_0x2a14dc]}},_0x508396=this[_0x2c7040(0x3c6)][_0x2c7040(0x1e4)](_0x4697af,_0x515756,!0x1);if(_0x1509c8[_0x2c7040(0x279)](_0x508396))throw _0x508396[_0x2c7040(0x4f1)];_0x4697af=_0x508396['m1Prime'];}return{..._0x2d11dc[_0x2c7040(0x396)][_0x2c7040(0x31b)](_0xacce96),'mutations':[_0x4697af]};}[_0x392691(0x1f9)](_0x14cd9c){const _0x58f0f6=_0x392691,{unitID:_0x2ffac6}=_0x14cd9c,_0x4fc542=this[_0x58f0f6(0x3e7)]['getRenderById'](_0x2ffac6)[_0x58f0f6(0x3fd)](_0x1ff6d4[_0x58f0f6(0x32a)]),{undoCache:_0x2514e6,redoCache:_0x5e5b08}=_0x4fc542[_0x58f0f6(0x456)]();if(_0x2514e6[_0x58f0f6(0x30c)]===0x0||_0x5e5b08[_0x58f0f6(0x30c)]===0x0)return;const _0x1b4b21=[],_0x1df6de=[];let _0x581dc8=_0x2d11dc[_0x58f0f6(0x396)][_0x58f0f6(0x31b)](_0x14cd9c['mutations'][0x0]),_0x292638=_0x2d11dc[_0x58f0f6(0x396)][_0x58f0f6(0x31b)](_0x14cd9c['mutations'][0x0]);for(let _0x61e342=_0x2514e6['length']-0x1;_0x61e342>=0x0;_0x61e342--){const _0x1eae43={'id':_0x58f0f6(0x3e3),'params':{..._0x2514e6[_0x61e342]}},_0x406bd0={'id':_0x58f0f6(0x3e3),'params':{..._0x5e5b08[_0x61e342]}},_0x3d1a69=this[_0x58f0f6(0x3c6)][_0x58f0f6(0x1e4)](_0x581dc8,_0x1eae43,!0x1),_0xedb399=this[_0x58f0f6(0x3c6)]['transformMutation'](_0x292638,_0x406bd0,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x3d1a69))throw _0x3d1a69['error'];if(_0x1509c8[_0x58f0f6(0x279)](_0xedb399))throw _0xedb399['error'];_0x1b4b21[_0x58f0f6(0x487)](_0x3d1a69[_0x58f0f6(0x227)][_0x58f0f6(0x44a)]),_0x1df6de[_0x58f0f6(0x487)](_0xedb399[_0x58f0f6(0x227)][_0x58f0f6(0x44a)]),_0x581dc8=_0x3d1a69[_0x58f0f6(0x3e9)],_0x292638=_0xedb399[_0x58f0f6(0x3e9)];}_0x4fc542[_0x58f0f6(0x48b)]({'undoCache':_0x1b4b21,'redoCache':_0x1df6de});}[_0x392691(0x48a)](_0x59a61a){const _0x52f73c=_0x392691,{unitID:_0x2484a4}=_0x59a61a,_0x1c23b0=this[_0x52f73c(0x3e7)][_0x52f73c(0x4a5)](_0x2484a4)['with'](_0x1ff6d4['DocIMEInputManagerService']),_0x41f57c=_0x1c23b0[_0x52f73c(0x339)]();if(_0x41f57c==null)return;const _0x22c249=[{'id':_0x52f73c(0x3e3),'params':{'unitId':_0x59a61a[_0x52f73c(0x391)],'actions':null,'textRanges':[_0x41f57c]}}],_0x41f318=this[_0x52f73c(0x3c6)][_0x52f73c(0x21c)](_0x59a61a,_0x22c249);if(!_0x1509c8[_0x52f73c(0x2ae)](_0x41f318))throw _0x41f318['error'];const _0x427023=_0x41f318[_0x52f73c(0x227)][0x0]['params'][_0x52f73c(0x200)];Array['isArray'](_0x427023)&&_0x427023['length']&&_0x1c23b0[_0x52f73c(0x211)](_0x427023[0x0]);}};_0x2ae871=_0x5c366b([_0x294a34(0x0,_0x1509c8['ITransformService']),_0x294a34(0x1,_0x371184[_0x392691(0x3ad)])],_0x2ae871);var _0x49417f=Object[_0x392691(0x39f)],_0x1b29e3=(_0x5071f1,_0x210167,_0x3270d8,_0x4b0548)=>{for(var _0x1eff7a=_0x4b0548>0x1?void 0x0:_0x4b0548?_0x49417f(_0x210167,_0x3270d8):_0x210167,_0x18e29e=_0x5071f1['length']-0x1,_0x536886;_0x18e29e>=0x0;_0x18e29e--)(_0x536886=_0x5071f1[_0x18e29e])&&(_0x1eff7a=_0x536886(_0x1eff7a)||_0x1eff7a);return _0x1eff7a;},_0x175910=(_0x1d6b38,_0x32d8b6)=>(_0x5af9b0,_0x2a4487)=>_0x32d8b6(_0x5af9b0,_0x2a4487,_0x1d6b38);let _0x59057e=class{constructor(_0x512c31,_0x1faa19,_0x1e039f){const _0x2e5d51=_0x392691;this[_0x2e5d51(0x248)]=_0x512c31,this[_0x2e5d51(0x3c6)]=_0x1faa19,this['_docStateChangeManagerService']=_0x1e039f;}[_0x392691(0x3f6)](_0x3d3684){const _0x2ded58=_0x392691;this[_0x2ded58(0x291)](_0x3d3684);}[_0x392691(0x336)](_0x3ecf6d){const _0x3f58b6=_0x392691,{unitID:_0x274c2f}=_0x3ecf6d,{collaboration:_0x8bbc52}=this[_0x3f58b6(0x3f4)][_0x3f58b6(0x431)](_0x274c2f);if(_0x8bbc52['length']===0x0)return _0x3ecf6d;let _0x558ebd=_0x2d11dc[_0x3f58b6(0x396)][_0x3f58b6(0x31b)](_0x3ecf6d['mutations'][0x0]);for(let _0x4bbced=0x0;_0x4bbced<_0x8bbc52[_0x3f58b6(0x30c)];_0x4bbced++){const _0x1c2cdd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8bbc52[_0x4bbced]['unitId'],..._0x8bbc52[_0x4bbced]['redoState']}},_0x1a83ea=this[_0x3f58b6(0x3c6)]['transformMutation'](_0x558ebd,_0x1c2cdd,!0x1);if(_0x1509c8[_0x3f58b6(0x279)](_0x1a83ea))throw _0x1a83ea[_0x3f58b6(0x4f1)];_0x558ebd=_0x1a83ea[_0x3f58b6(0x3e9)];}return{..._0x2d11dc[_0x3f58b6(0x396)][_0x3f58b6(0x31b)](_0x3ecf6d),'mutations':[_0x558ebd]};}[_0x392691(0x291)](_0x31dfae){const _0x3670e7=_0x392691,{unitID:_0x42db59}=_0x31dfae,{history:_0xd824b3,collaboration:_0x352a94}=this[_0x3670e7(0x3f4)][_0x3670e7(0x431)](_0x42db59);if(_0xd824b3[_0x3670e7(0x30c)]===0x0&&_0x352a94[_0x3670e7(0x30c)]===0x0)return;const _0x319146=[],_0x337201=[];let _0x578cfb=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae['mutations'][0x0]),_0x53dc3d=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]);for(let _0x2fe3a9=_0xd824b3[_0x3670e7(0x30c)]-0x1;_0x2fe3a9>=0x0;_0x2fe3a9--){const _0x9c0525={'id':_0x3670e7(0x3e3),'params':{'unitId':_0xd824b3[_0x2fe3a9][_0x3670e7(0x20f)],..._0xd824b3[_0x2fe3a9][_0x3670e7(0x22d)]}},_0x2ce022={'id':_0x3670e7(0x3e3),'params':{'unitId':_0xd824b3[_0x2fe3a9][_0x3670e7(0x20f)],..._0xd824b3[_0x2fe3a9][_0x3670e7(0x441)]}},_0x4846df=this['_transformService'][_0x3670e7(0x1e4)](_0x578cfb,_0x9c0525,!0x1),_0x239d33=this[_0x3670e7(0x3c6)]['transformMutation'](_0x53dc3d,_0x2ce022,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x4846df))throw _0x4846df['error'];if(_0x1509c8[_0x3670e7(0x279)](_0x239d33))throw _0x239d33[_0x3670e7(0x4f1)];_0x319146[_0x3670e7(0x487)]({..._0xd824b3[_0x2fe3a9],'undoState':_0x4846df[_0x3670e7(0x227)][_0x3670e7(0x44a)],'redoState':_0x239d33['m2Prime'][_0x3670e7(0x44a)]}),_0x578cfb=_0x4846df[_0x3670e7(0x3e9)],_0x53dc3d=_0x239d33['m1Prime'];}_0x578cfb=_0x2d11dc['Tools'][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]),_0x53dc3d=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]);for(let _0x86f68a=_0x352a94['length']-0x1;_0x86f68a>=0x0;_0x86f68a--){const _0x15d93c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x352a94[_0x86f68a][_0x3670e7(0x20f)],..._0x352a94[_0x86f68a][_0x3670e7(0x22d)]}},_0x53f87f={'id':_0x3670e7(0x3e3),'params':{'unitId':_0x352a94[_0x86f68a][_0x3670e7(0x20f)],..._0x352a94[_0x86f68a][_0x3670e7(0x441)]}},_0x271a38=this[_0x3670e7(0x3c6)][_0x3670e7(0x1e4)](_0x578cfb,_0x15d93c,!0x1),_0x109d2e=this[_0x3670e7(0x3c6)]['transformMutation'](_0x53dc3d,_0x53f87f,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x271a38))throw _0x271a38[_0x3670e7(0x4f1)];if(_0x1509c8['isTransformMutationFailure'](_0x109d2e))throw _0x109d2e[_0x3670e7(0x4f1)];_0x337201[_0x3670e7(0x487)]({..._0x352a94[_0x86f68a],'undoState':_0x271a38[_0x3670e7(0x227)]['params'],'redoState':_0x109d2e[_0x3670e7(0x227)]['params']}),_0x578cfb=_0x271a38[_0x3670e7(0x3e9)],_0x53dc3d=_0x109d2e['m1Prime'];}this[_0x3670e7(0x3f4)]['setStateCache'](_0x42db59,{'history':_0x319146,'collaboration':_0x337201});}};_0x59057e=_0x1b29e3([_0x175910(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x175910(0x1,_0x1509c8[_0x392691(0x237)]),_0x175910(0x2,_0x2d11dc[_0x392691(0x36d)](_0x1ff6d4[_0x392691(0x2b7)]))],_0x59057e);var _0x75f636=Object['getOwnPropertyDescriptor'],_0x403f5d=(_0xfa76b0,_0x176503,_0x371b20,_0x44a8ca)=>{const _0x2f305d=_0x392691;for(var _0x3b45dc=_0x44a8ca>0x1?void 0x0:_0x44a8ca?_0x75f636(_0x176503,_0x371b20):_0x176503,_0x20fe60=_0xfa76b0[_0x2f305d(0x30c)]-0x1,_0x80ae2b;_0x20fe60>=0x0;_0x20fe60--)(_0x80ae2b=_0xfa76b0[_0x20fe60])&&(_0x3b45dc=_0x80ae2b(_0x3b45dc)||_0x3b45dc);return _0x3b45dc;},_0x12010e=(_0x23d725,_0x396d89)=>(_0x314c34,_0x86cdd4)=>_0x396d89(_0x314c34,_0x86cdd4,_0x23d725);let _0x32e2e9=class{constructor(_0x212c0b,_0x263696){const _0x1bf5a6=_0x392691;this['_injector']=_0x212c0b,this[_0x1bf5a6(0x3c6)]=_0x263696;}[_0x392691(0x3ab)](_0x33dcdf){const _0x435a40=_0x392691;var _0x3ceb15;const _0x377844=this[_0x435a40(0x248)][_0x435a40(0x2fe)](_0x30435f[_0x435a40(0x241)]),_0x197988=(_0x3ceb15=_0x377844[_0x435a40(0x1e3)]())!=null?_0x3ceb15:[];if(_0x197988['length']===0x0)return;const _0xdac4de=_0x33dcdf[_0x435a40(0x391)],_0x549549=[{'id':_0x435a40(0x3e3),'params':{'unitId':_0xdac4de,'actions':null,'textRanges':_0x197988}}],_0x4996e9=this['_transformService'][_0x435a40(0x21c)](_0x33dcdf,_0x549549);if(!_0x1509c8['isTransformMutationsWithChangesetSuccess'](_0x4996e9))throw _0x4996e9[_0x435a40(0x4f1)];const _0x2f995b=_0x4996e9[_0x435a40(0x227)][0x0][_0x435a40(0x44a)][_0x435a40(0x200)];Array[_0x435a40(0x329)](_0x2f995b)&&_0x2f995b['length']&&_0x377844[_0x435a40(0x27c)](_0x2f995b,{'unitId':_0xdac4de,'subUnitId':_0xdac4de},!0x1);}};_0x32e2e9=_0x403f5d([_0x12010e(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x12010e(0x1,_0x1509c8['ITransformService'])],_0x32e2e9);var _0x4aa303=Object[_0x392691(0x39f)],_0x3a72f5=(_0x589a61,_0xe0427a,_0x552971,_0xa7657)=>{const _0x1290ac=_0x392691;for(var _0x241855=_0xa7657>0x1?void 0x0:_0xa7657?_0x4aa303(_0xe0427a,_0x552971):_0xe0427a,_0x1450ba=_0x589a61[_0x1290ac(0x30c)]-0x1,_0x4c8c60;_0x1450ba>=0x0;_0x1450ba--)(_0x4c8c60=_0x589a61[_0x1450ba])&&(_0x241855=_0x4c8c60(_0x241855)||_0x241855);return _0x241855;},_0x5c18f7=(_0x2709d1,_0xe45ef8)=>(_0xc2727c,_0x4e191b)=>_0xe45ef8(_0xc2727c,_0x4e191b,_0x2709d1);let _0x4518ef=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x207d4d,_0x7a843c,_0xf7581d,_0x55596a,_0x568988,_0x165f76,_0x3a11f7,_0x471420){const _0x576ecc=_0x392691;super(),_0x4a3e10(this,'_status$',new _0x433dcc[(_0x576ecc(0x42a))](_0xc712b5[_0x576ecc(0x207)][_0x576ecc(0x447)])),(this[_0x576ecc(0x3f4)]=_0x207d4d,this[_0x576ecc(0x2ca)]=_0x7a843c,this['_docTransformIMECacheService']=_0xf7581d,this[_0x576ecc(0x3cb)]=_0x55596a,this['_docTransformSelectionsService']=_0x568988,this[_0x576ecc(0x38a)]=_0x165f76,this['_messageService']=_0x3a11f7,this[_0x576ecc(0x226)]=_0x471420,this['_initEntityListener']());}['_initEntityListener'](){const _0x309e59=_0x392691;this['disposeWithMe'](this[_0x309e59(0x2ca)][_0x309e59(0x458)][_0x309e59(0x47f)](_0x1ed940=>{const _0x12d1d3=_0x309e59,_0x5f42d5=this[_0x12d1d3(0x3f4)][_0x12d1d3(0x3f2)][_0x12d1d3(0x47f)](_0x170a00=>{const _0x1ef2c9=_0x12d1d3;if(_0x170a00==null)return;const {unitId:_0x69dfc7,redoState:_0xf7d42a,commandId:_0x20aaf9}=_0x170a00;if(_0x69dfc7!==_0x1ed940[_0x1ef2c9(0x391)])return;const _0x1e1845={'id':_0x20aaf9,'type':_0x2d11dc[_0x1ef2c9(0x494)][_0x1ef2c9(0x2bc)],'params':{'unitId':_0x69dfc7,'actions':_0xf7d42a[_0x1ef2c9(0x32f)],'textRanges':null}};_0x1ed940['onLocalMutation'](_0x1e1845);});if(_0x1ed940['disposeWithMe'](_0x5f42d5),_0x1ed940 instanceof _0xc712b5['DocCollaborationEntity']){const _0x476f19={'onTransformIME':_0x4f0904=>this[_0x12d1d3(0x3d0)][_0x12d1d3(0x449)](_0x4f0904),'onTransformState':_0x158d32=>this[_0x12d1d3(0x3cb)][_0x12d1d3(0x3f6)](_0x158d32),'onTransformSelections':_0xd44047=>this[_0x12d1d3(0x2f2)][_0x12d1d3(0x3ab)](_0xd44047),'onSyncEditingCollabCursor':_0x423f18=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x423f18),'onTransformRemoteChangesetByIMECache':_0x18491a=>this['_docTransformIMECacheService'][_0x12d1d3(0x336)](_0x18491a),'onTransformRemoteChangesetByStateCache':_0x217b93=>this[_0x12d1d3(0x3cb)][_0x12d1d3(0x336)](_0x217b93)};_0x1ed940[_0x12d1d3(0x323)](_0x476f19);}}));}};_0x4518ef=_0x3a72f5([_0x5c18f7(0x0,_0x2d11dc[_0x392691(0x36d)](_0x1ff6d4['DocStateChangeManagerService'])),_0x5c18f7(0x1,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x255)])),_0x5c18f7(0x2,_0x2d11dc[_0x392691(0x36d)](_0x2ae871)),_0x5c18f7(0x3,_0x2d11dc[_0x392691(0x36d)](_0x59057e)),_0x5c18f7(0x4,_0x2d11dc['Inject'](_0x32e2e9)),_0x5c18f7(0x5,_0x2d11dc['Inject'](_0x549909)),_0x5c18f7(0x6,_0x95a23a[_0x392691(0x2b0)]),_0x5c18f7(0x7,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x32b)]))],_0x4518ef);var _0x41495e=Object[_0x392691(0x39f)],_0x2a0a87=(_0x493cf4,_0x8aa5,_0x67db4d,_0x3e4d70)=>{for(var _0x56b808=_0x3e4d70>0x1?void 0x0:_0x3e4d70?_0x41495e(_0x8aa5,_0x67db4d):_0x8aa5,_0x595e55=_0x493cf4['length']-0x1,_0x52dbe1;_0x595e55>=0x0;_0x595e55--)(_0x52dbe1=_0x493cf4[_0x595e55])&&(_0x56b808=_0x52dbe1(_0x56b808)||_0x56b808);return _0x56b808;},_0x344db3=(_0x4a7295,_0xf3cd2a)=>(_0x43de87,_0xb8849f)=>_0xf3cd2a(_0x43de87,_0xb8849f,_0x4a7295);let _0x2137b1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x50a9f3,_0x495a49,_0x501697,_0x213944){const _0x30557a=_0x392691;super(),_0x4a3e10(this,'_memberID'),(this['_injector']=_0x50a9f3,this['_httpService']=_0x495a49,this[_0x30557a(0x307)]=_0x501697,this[_0x30557a(0x24c)]=_0x213944,this[_0x30557a(0x411)]());}['_init'](){const _0x56b07c=_0x392691;this[_0x56b07c(0x214)](),this[_0x56b07c(0x3cc)](),this[_0x56b07c(0x308)](),this['_initUserListener']();}['_initUserListener'](){const _0x23c942=_0x392691;this['disposeWithMe'](this[_0x23c942(0x24c)]['socket$'][_0x23c942(0x47f)](_0x52ce2e=>{const _0x405f5c=_0x23c942;this[_0x405f5c(0x280)]=_0x52ce2e==null?void 0x0:_0x52ce2e[_0x405f5c(0x4b9)];}));}[_0x392691(0x214)](){const _0x38682d=_0x392691,_0x3be5d1=_0x38cbc4=>{const _0x59dd38=_0x43cc;var _0x19c375;this[_0x59dd38(0x466)](_0x59dd38(0x4f1),_0x59dd38(0x467)+_0x38cbc4[_0x59dd38(0x22b)]+'\x20at\x20'+_0x38cbc4[_0x59dd38(0x356)]+':'+_0x38cbc4[_0x59dd38(0x38e)]+':'+_0x38cbc4[_0x59dd38(0x335)]+'\x0a'+(((_0x19c375=_0x38cbc4[_0x59dd38(0x4f1)])==null?void 0x0:_0x19c375[_0x59dd38(0x277)])||''));};window[_0x38682d(0x1e8)](_0x38682d(0x4f1),_0x3be5d1),this[_0x38682d(0x2c5)](()=>{const _0x491954=_0x38682d;window[_0x491954(0x1e5)]('error',_0x3be5d1);});}['_initUnhandledRejectionListener'](){const _0x155bb7=_0x392691,_0x1675e1=_0x154e61=>{const _0x30f33b=_0x43cc;this[_0x30f33b(0x466)]('error',_0x30f33b(0x20b)+_0x154e61[_0x30f33b(0x2e0)]);};window[_0x155bb7(0x1e8)](_0x155bb7(0x3c7),_0x1675e1),this['disposeWithMe'](()=>{const _0x1a24b7=_0x155bb7;window[_0x1a24b7(0x1e5)](_0x1a24b7(0x3c7),_0x1675e1);});}[_0x392691(0x308)](){const _0x2c28c1=_0x392691,_0x2dcee2=this[_0x2c28c1(0x307)][_0x2c28c1(0x4f1)]['bind'](this[_0x2c28c1(0x307)]);this[_0x2c28c1(0x307)][_0x2c28c1(0x4f1)]=(..._0x46fa4d)=>{const _0x496aef=_0x2c28c1,_0x50e077=_0x46fa4d[_0x496aef(0x337)](_0x4ee718=>_0x4ee718 instanceof Error?_0x4ee718[_0x496aef(0x22b)]+'\x0a'+_0x4ee718[_0x496aef(0x277)]:String(_0x4ee718))['join']('\x20');this[_0x496aef(0x466)]('error','[LogService\x20Error]:\x20'+_0x50e077),_0x2dcee2(..._0x46fa4d);},this[_0x2c28c1(0x2c5)](()=>{const _0x554872=_0x2c28c1;this[_0x554872(0x307)][_0x554872(0x4f1)]=_0x2dcee2;});}[_0x392691(0x466)](_0x3e63d8,_0x45ed26){const _0x26cce8=_0x392691;try{const _0x462176={'userId':this[_0x26cce8(0x280)],'logLabel':_0x3e63d8,'content':_0x45ed26};this[_0x26cce8(0x21a)][_0x26cce8(0x252)](_0x26cce8(0x4d9),{'body':_0x462176})[_0x26cce8(0x1f0)](()=>{});}catch{}}};_0x2137b1=_0x2a0a87([_0x344db3(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x344db3(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd[_0x392691(0x42b)])),_0x344db3(0x2,_0x2d11dc[_0x392691(0x4a1)]),_0x344db3(0x3,_0x2d11dc[_0x392691(0x36d)](_0xc712b5['CollaborationSessionService']))],_0x2137b1);var _0x38fd21=(_0x333f0d=>(_0x333f0d[_0x333f0d[_0x392691(0x366)]=0x0]='UNDEFINED',_0x333f0d[_0x333f0d['OK']=0x1]='OK',_0x333f0d[_0x333f0d[_0x392691(0x309)]=0x2]=_0x392691(0x309),_0x333f0d[_0x333f0d[_0x392691(0x3b8)]=0x3]=_0x392691(0x3b8),_0x333f0d[_0x333f0d[_0x392691(0x448)]=0x4]=_0x392691(0x448),_0x333f0d[_0x333f0d[_0x392691(0x473)]=0x5]=_0x392691(0x473),_0x333f0d[_0x333f0d[_0x392691(0x20a)]=0x6]='ALREADY_EXISTS',_0x333f0d[_0x333f0d[_0x392691(0x217)]=0x7]=_0x392691(0x217),_0x333f0d[_0x333f0d['TOO_MANY_REQUESTS']=0x8]=_0x392691(0x496),_0x333f0d[_0x333f0d[_0x392691(0x31e)]=0x9]='COMPLETION_FINISHED',_0x333f0d[_0x333f0d['LOGIN_FAILED']=0xa]=_0x392691(0x249),_0x333f0d[_0x333f0d[_0x392691(0x315)]=0xb]=_0x392691(0x315),_0x333f0d[_0x333f0d[_0x392691(0x31a)]=0xc]=_0x392691(0x31a),_0x333f0d[_0x333f0d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x392691(0x20e),_0x333f0d[_0x333f0d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x392691(0x203),_0x333f0d[_0x333f0d[_0x392691(0x341)]=0xf]=_0x392691(0x341),_0x333f0d[_0x333f0d[_0x392691(0x2b1)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x333f0d[_0x333f0d[_0x392691(0x2b5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x333f0d[_0x333f0d[_0x392691(0x4bb)]=0x65]='ERROR_AGAIN',_0x333f0d[_0x333f0d[_0x392691(0x325)]=0xc9]=_0x392691(0x325),_0x333f0d[_0x333f0d[_0x392691(0x2b4)]=0xca]='USER_IS_ANONYMOUS',_0x333f0d[_0x333f0d[_0x392691(0x45f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x333f0d[_0x333f0d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x392691(0x2b9),_0x333f0d[_0x333f0d[_0x392691(0x45c)]=0x1772]=_0x392691(0x45c),_0x333f0d[_0x333f0d[_0x392691(0x219)]=0x1773]=_0x392691(0x219),_0x333f0d[_0x333f0d[_0x392691(0x294)]=0x1b59]=_0x392691(0x294),_0x333f0d[_0x333f0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x392691(0x44f),_0x333f0d[_0x333f0d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x392691(0x4ce),_0x333f0d[_0x333f0d[_0x392691(0x2ff)]=0x1b5c]=_0x392691(0x2ff),_0x333f0d[_0x333f0d[_0x392691(0x46f)]=0x1b5d]=_0x392691(0x46f),_0x333f0d[_0x333f0d[_0x392691(0x2cd)]=0x1f41]=_0x392691(0x2cd),_0x333f0d[_0x333f0d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x392691(0x433),_0x333f0d[_0x333f0d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x392691(0x206),_0x333f0d[_0x333f0d[_0x392691(0x3ec)]=0x232b]=_0x392691(0x3ec),_0x333f0d[_0x333f0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x333f0d[_0x333f0d[_0x392691(0x4b0)]=0x232d]=_0x392691(0x4b0),_0x333f0d[_0x333f0d[_0x392691(0x3a3)]=0x2711]=_0x392691(0x3a3),_0x333f0d[_0x333f0d[_0x392691(0x3be)]=0x2712]=_0x392691(0x3be),_0x333f0d[_0x333f0d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x392691(0x463),_0x333f0d[_0x333f0d[_0x392691(0x4b6)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x333f0d[_0x333f0d[_0x392691(0x4ef)]=0x271a]=_0x392691(0x4ef),_0x333f0d[_0x333f0d[_0x392691(0x2ee)]=0x271b]=_0x392691(0x2ee),_0x333f0d[_0x333f0d[_0x392691(0x478)]=0x271c]=_0x392691(0x478),_0x333f0d[_0x333f0d[_0x392691(0x1de)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x333f0d[_0x333f0d[_0x392691(0x266)]=0x271e]=_0x392691(0x266),_0x333f0d[_0x333f0d['YUUMI_AI_RUN_FAILED']=0x271f]=_0x392691(0x26f),_0x333f0d[_0x333f0d[_0x392691(0x3de)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x333f0d[_0x333f0d[_0x392691(0x292)]=0x2af9]=_0x392691(0x292),_0x333f0d[_0x333f0d[_0x392691(0x2da)]=0x2ee1]=_0x392691(0x2da),_0x333f0d[_0x333f0d['INVALID_INVITE_CODE']=0x2ee2]=_0x392691(0x43f),_0x333f0d[_0x333f0d[_0x392691(0x28f)]=0x2ee3]=_0x392691(0x28f),_0x333f0d[_0x333f0d[_0x392691(0x4eb)]=0x2ee4]=_0x392691(0x4eb),_0x333f0d[_0x333f0d[_0x392691(0x1f5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x333f0d[_0x333f0d[_0x392691(0x428)]=0x32c9]=_0x392691(0x428),_0x333f0d[_0x333f0d[_0x392691(0x305)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x333f0d[_0x333f0d[_0x392691(0x2fd)]=0x32cb]=_0x392691(0x2fd),_0x333f0d[_0x333f0d['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x392691(0x31f),_0x333f0d[_0x333f0d[_0x392691(0x4d6)]=0x36b2]=_0x392691(0x4d6),_0x333f0d[_0x333f0d[_0x392691(0x1e1)]=0x36b3]=_0x392691(0x1e1),_0x333f0d[_0x333f0d['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x392691(0x3ac),_0x333f0d[_0x333f0d[_0x392691(0x271)]=0x36b5]=_0x392691(0x271),_0x333f0d[_0x333f0d[_0x392691(0x1e9)]=0x36b6]=_0x392691(0x1e9),_0x333f0d[_0x333f0d[_0x392691(0x3dc)]=0x36b7]=_0x392691(0x3dc),_0x333f0d[_0x333f0d[_0x392691(0x2a2)]=0x36b8]=_0x392691(0x2a2),_0x333f0d[_0x333f0d[_0x392691(0x41b)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x333f0d[_0x333f0d[_0x392691(0x312)]=0x3716]=_0x392691(0x312),_0x333f0d[_0x333f0d[_0x392691(0x267)]=0x3717]=_0x392691(0x267),_0x333f0d[_0x333f0d[_0x392691(0x331)]=0x37dd]=_0x392691(0x331),_0x333f0d[_0x333f0d[_0x392691(0x2b2)]=0x3a99]=_0x392691(0x2b2),_0x333f0d[_0x333f0d[_0x392691(0x4de)]=0x3a9a]=_0x392691(0x4de),_0x333f0d[_0x333f0d[_0x392691(0x434)]=0x3a9b]=_0x392691(0x434),_0x333f0d[_0x333f0d[_0x392691(0x4cf)]=0x3a9c]=_0x392691(0x4cf),_0x333f0d[_0x333f0d[_0x392691(0x4c2)]=0x3a9d]=_0x392691(0x4c2),_0x333f0d[_0x333f0d[_0x392691(0x2d4)]=0x3a9e]=_0x392691(0x2d4),_0x333f0d[_0x333f0d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x392691(0x4f0),_0x333f0d[_0x333f0d[_0x392691(0x418)]=0x3e81]=_0x392691(0x418),_0x333f0d[_0x333f0d[_0x392691(0x4bc)]=-0x1]='UNRECOGNIZED',_0x333f0d))(_0x38fd21||{});function _0x2b5c02(_0x171914){const _0x15311d=_0x392691;var _0x1e3ebc,_0x9720fd;const _0x3d841e=(_0x1e3ebc=_0x171914[_0x15311d(0x28b)])==null?void 0x0:_0x1e3ebc[_0x15311d(0x36e)],_0x573a8b=((_0x9720fd=_0x171914[_0x15311d(0x28b)])==null?void 0x0:_0x9720fd['totalFormulasToCalculate'])||0x0;return _0x3d841e===_0x17936f[_0x15311d(0x232)][_0x15311d(0x4b7)]&&_0x573a8b>0x0;}function _0x8c7beb(_0x1ea6e8){const _0x3a3008=_0x392691;return _0x1ea6e8['functionsExecutedState']===_0x17936f[_0x3a3008(0x4dd)]['SUCCESS'];}var _0x4e5a7f=Object[_0x392691(0x39f)],_0x5287a4=(_0x4573ad,_0x24a40a,_0x7fe17e,_0x108503)=>{const _0x5f11fd=_0x392691;for(var _0x5ca37c=_0x108503>0x1?void 0x0:_0x108503?_0x4e5a7f(_0x24a40a,_0x7fe17e):_0x24a40a,_0xd4eb44=_0x4573ad[_0x5f11fd(0x30c)]-0x1,_0x1e04c4;_0xd4eb44>=0x0;_0xd4eb44--)(_0x1e04c4=_0x4573ad[_0xd4eb44])&&(_0x5ca37c=_0x1e04c4(_0x5ca37c)||_0x5ca37c);return _0x5ca37c;},_0x697519=(_0x22fb1c,_0x206319)=>(_0x65ecac,_0x3bba96)=>_0x206319(_0x65ecac,_0x3bba96,_0x22fb1c);const _0xbfd331=_0x392691(0x399),_0x3cf3e6=_0x392691(0x332),_0x56da87=_0x392691(0x3f0);let _0x538ef3=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x2f84bf,_0x3dabcd,_0x5dce12,_0x20a484,_0x29480c,_0x2ed2ad,_0x56ae04){const _0xc2a4b0=_0x392691;super(),_0x4a3e10(this,'_pollingInterval',null),_0x4a3e10(this,'_maxFormulaLimit',0x0),_0x4a3e10(this,'_currentUsage',0x0),_0x4a3e10(this,'_taskIds',[]),_0x4a3e10(this,_0xc2a4b0(0x49b),0x0),(this[_0xc2a4b0(0x2c4)]=_0x2f84bf,this['_commandService']=_0x3dabcd,this['_configService']=_0x5dce12,this[_0xc2a4b0(0x21a)]=_0x20a484,this['_univerInstanceService']=_0x29480c,this[_0xc2a4b0(0x307)]=_0x2ed2ad,this[_0xc2a4b0(0x226)]=_0x56ae04,this[_0xc2a4b0(0x3e0)]());}[_0x392691(0x3e0)](){const _0x47401a=_0x392691;this[_0x47401a(0x2c5)](this[_0x47401a(0x3cf)]['beforeCommandExecuted']((_0x565d6d,_0xd8b055)=>{const _0x1706a4=_0x47401a;var _0x5d2690;if(_0x565d6d['id']!==_0x17936f[_0x1706a4(0x2a7)]['id'])return;const _0x3a84d9=_0x565d6d['params'];if(!this['_hasFormulaInDirtyRanges']((_0x5d2690=_0x3a84d9['dirtyRanges'])!=null?_0x5d2690:[]))return;if(!this[_0x1706a4(0x285)]())throw this[_0x1706a4(0x265)](_0x565d6d,_0xd8b055),this[_0x1706a4(0x2b6)](),new _0x2d11dc[(_0x1706a4(0x23d))]();})),this['disposeWithMe'](this[_0x47401a(0x3cf)][_0x47401a(0x1ee)]((_0xa38bff,_0x38a39a)=>{const _0x2274cf=_0x47401a;if(_0xa38bff['id']!==_0x17936f[_0x2274cf(0x3f7)]['id'])return;const _0x277e82=_0xa38bff[_0x2274cf(0x44a)];if(_0x2b5c02(_0x277e82)){const _0x12559e=_0x2d11dc[_0x2274cf(0x269)]();this[_0x2274cf(0x32e)][_0x2274cf(0x381)](_0x12559e),this['_startCalculationLimit'](_0x12559e);}else{if(_0x8c7beb(_0x277e82)&&this[_0x2274cf(0x32e)][_0x2274cf(0x30c)]>0x0){const _0x4828c3=this[_0x2274cf(0x32e)][_0x2274cf(0x45d)]();this['_releaseCalculationLimit'](_0x4828c3);}}}));}[_0x392691(0x2a5)](){const _0x2eb93e=_0x392691;super['dispose'](),this['_clearPolling'](),this[_0x2eb93e(0x32e)]=[],this[_0x2eb93e(0x1f1)]=0x0,this[_0x2eb93e(0x2e5)]=0x0,this[_0x2eb93e(0x49b)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5b5db5,_0x5bf870){const _0x48d420=_0x392691;for(let _0x2c9d33=0x0;_0x2c9d33<0x1e;_0x2c9d33++)try{if(await this[_0x48d420(0x3a9)](),this[_0x48d420(0x285)]()){this[_0x48d420(0x3a8)](_0x5b5db5,_0x5bf870),this[_0x48d420(0x2c4)][_0x48d420(0x442)]({'content':this[_0x48d420(0x226)]['t'](_0x48d420(0x404)),'type':_0x1bfc45[_0x48d420(0x2de)]['Success']});return;}await new Promise(_0x50ecd1=>{const _0x24ec52=_0x48d420;this[_0x24ec52(0x413)]=window['setTimeout'](_0x50ecd1,0x3e8);});}catch(_0x225c9f){this[_0x48d420(0x307)][_0x48d420(0x4f1)](_0x225c9f);}this[_0x48d420(0x2c4)][_0x48d420(0x442)]({'content':this['_localeService']['t'](_0x48d420(0x4e5)),'type':_0x1bfc45['MessageType']['Error']});}[_0x392691(0x3a8)](_0x3af3f9,_0x231a49){const _0x36eeca=_0x392691;try{this[_0x36eeca(0x3cf)][_0x36eeca(0x373)](_0x3af3f9['id'],_0x3af3f9[_0x36eeca(0x44a)],_0x231a49);}catch(_0x5d0a96){this[_0x36eeca(0x307)][_0x36eeca(0x4f1)](_0x5d0a96);}}[_0x392691(0x3ef)](_0x2712b9,_0x5de3d0){const _0xeae0b6=_0x392691;_0x5de3d0<this[_0xeae0b6(0x49b)]||(this[_0xeae0b6(0x49b)]=_0x5de3d0,this[_0xeae0b6(0x2e5)]=Number[_0xeae0b6(0x361)](_0x2712b9[_0xeae0b6(0x4c6)]),this[_0xeae0b6(0x1f1)]=Number[_0xeae0b6(0x361)](_0x2712b9[_0xeae0b6(0x419)]));}async[_0x392691(0x223)](_0x2e5721){const _0x11b78d=_0x392691;var _0x4488e2,_0x4b4255;const _0x119ccf=Date['now']();try{const _0xc9b29e=((_0x4488e2=this['_configService'][_0x11b78d(0x36c)](_0xc712b5[_0x11b78d(0x4b8)]))==null?void 0x0:_0x4488e2[_0x11b78d(0x282)])||_0x3cf3e6,_0x2f6669=(await this[_0x11b78d(0x21a)][_0x11b78d(0x252)](_0xc9b29e,{'body':JSON[_0x11b78d(0x2e3)]({'taskId':_0x2e5721})}))[_0x11b78d(0x35e)];if(((_0x4b4255=_0x2f6669[_0x11b78d(0x4f1)])==null?void 0x0:_0x4b4255[_0x11b78d(0x445)])!==_0x38fd21['OK'])return;this[_0x11b78d(0x3ef)](_0x2f6669['limitInfo'],_0x119ccf);}catch(_0x7ce96c){this[_0x11b78d(0x307)][_0x11b78d(0x4f1)](_0x7ce96c);}}async['_getFormulaLimitStatus'](_0x22014e){const _0x490524=_0x392691;var _0x487c17,_0x16ee49;const _0x10ccc2=Date['now']();try{const _0x1852fe=((_0x487c17=this['_configService'][_0x490524(0x36c)](_0xc712b5[_0x490524(0x4b8)]))==null?void 0x0:_0x487c17[_0x490524(0x314)])||_0xbfd331,_0x3e5c20=_0x22014e?_0x1852fe+_0x490524(0x4c4)+encodeURIComponent(_0x22014e):_0x1852fe,_0x7cbaaa=(await this[_0x490524(0x21a)][_0x490524(0x2fe)](_0x3e5c20))[_0x490524(0x35e)];if(((_0x16ee49=_0x7cbaaa[_0x490524(0x4f1)])==null?void 0x0:_0x16ee49[_0x490524(0x445)])!==_0x38fd21['OK'])return;this['_setFormulaLimitStatus'](_0x7cbaaa['limitInfo'],_0x10ccc2);}catch(_0x1ccb60){this['_logService'][_0x490524(0x4f1)](_0x1ccb60);}}async[_0x392691(0x1f6)](_0x13944c){const _0x163b08=_0x392691;var _0x54766b,_0x23584f;const _0xba3919=Date['now']();try{const _0x140352=((_0x54766b=this['_configService']['getConfig'](_0xc712b5[_0x163b08(0x4b8)]))==null?void 0x0:_0x54766b[_0x163b08(0x242)])||_0x56da87,_0x2ef4da=(await this[_0x163b08(0x21a)][_0x163b08(0x252)](_0x140352,{'body':JSON[_0x163b08(0x2e3)]({'taskId':_0x13944c})}))['body'];if(((_0x23584f=_0x2ef4da[_0x163b08(0x4f1)])==null?void 0x0:_0x23584f[_0x163b08(0x445)])!==_0x38fd21['OK'])return;this[_0x163b08(0x3ef)](_0x2ef4da[_0x163b08(0x4ae)],_0xba3919);}catch(_0x19faf6){this[_0x163b08(0x307)][_0x163b08(0x4f1)](_0x19faf6);}}[_0x392691(0x285)](){const _0x16f60b=_0x392691;return this[_0x16f60b(0x2e5)]===0x0?!0x0:this[_0x16f60b(0x2e5)]-this[_0x16f60b(0x1f1)]>0x0;}[_0x392691(0x306)](){const _0x76497b=_0x392691;this[_0x76497b(0x413)]&&(clearTimeout(this['_pollingInterval']),this[_0x76497b(0x413)]=null);}[_0x392691(0x2b6)](){const _0x461770=_0x392691;this[_0x461770(0x2c4)][_0x461770(0x442)]({'content':this[_0x461770(0x226)]['t'](_0x461770(0x353)),'type':_0x1bfc45[_0x461770(0x2de)][_0x461770(0x49e)]});}[_0x392691(0x3e1)](_0x27601c){const _0x262724=_0x392691;for(const _0x4d0f27 of _0x27601c){const {unitId:_0x2b04c9,sheetId:_0x4c29a,range:_0xbc0e3d}=_0x4d0f27,_0x1d38ad=this[_0x262724(0x401)][_0x262724(0x27b)](_0x2b04c9);if(!_0x1d38ad)continue;const _0x21d585=_0x1d38ad[_0x262724(0x363)](_0x4c29a);if(!_0x21d585)continue;const _0x341224=_0x21d585['getCellMatrix']();for(let _0x595fd0=_0xbc0e3d['startRow'];_0x595fd0<=_0xbc0e3d[_0x262724(0x4b2)];_0x595fd0++)for(let _0xdc3dc4=_0xbc0e3d[_0x262724(0x46e)];_0xdc3dc4<=_0xbc0e3d['endColumn'];_0xdc3dc4++){const _0x343481=_0x341224[_0x262724(0x20c)](_0x595fd0,_0xdc3dc4);if(_0x343481&&(_0x2d11dc['isFormulaString'](_0x343481['f'])||_0x2d11dc['isFormulaId'](_0x343481['si'])))return!0x0;}}return!0x1;}};_0x538ef3=_0x5287a4([_0x697519(0x0,_0x2d11dc[_0x392691(0x36d)](_0x95a23a[_0x392691(0x2b0)])),_0x697519(0x1,_0x2d11dc['ICommandService']),_0x697519(0x2,_0x2d11dc[_0x392691(0x37c)]),_0x697519(0x3,_0x2d11dc['Inject'](_0x5a38fd[_0x392691(0x42b)])),_0x697519(0x4,_0x2d11dc['IUniverInstanceService']),_0x697519(0x5,_0x2d11dc[_0x392691(0x4a1)]),_0x697519(0x6,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc['LocaleService']))],_0x538ef3);var _0x448dee=Object[_0x392691(0x39f)],_0x360fde=(_0x23e644,_0x3b15aa,_0x43b428,_0x576e33)=>{const _0x56f3db=_0x392691;for(var _0x13cfca=_0x576e33>0x1?void 0x0:_0x576e33?_0x448dee(_0x3b15aa,_0x43b428):_0x3b15aa,_0x2ba186=_0x23e644[_0x56f3db(0x30c)]-0x1,_0x18ab40;_0x2ba186>=0x0;_0x2ba186--)(_0x18ab40=_0x23e644[_0x2ba186])&&(_0x13cfca=_0x18ab40(_0x13cfca)||_0x13cfca);return _0x13cfca;},_0x37a402=(_0x201d0c,_0x4c1269)=>(_0x10a8c9,_0x29bb69)=>_0x4c1269(_0x10a8c9,_0x29bb69,_0x201d0c);let _0x4c1ed1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x531729,_0x2e90d5,_0x370e25){const _0x2975e6=_0x392691;super(),_0x4a3e10(this,_0x2975e6(0x46b),new Map()),_0x4a3e10(this,_0x2975e6(0x40a),new Map()),_0x4a3e10(this,'_disabled',!0x1),(this[_0x2975e6(0x499)]=_0x531729,this[_0x2975e6(0x4be)]=_0x2e90d5,this[_0x2975e6(0x2f4)]=_0x370e25);}[_0x392691(0x48d)](){const _0x1d7da1=_0x392691;this[_0x1d7da1(0x3a6)]=!0x0;}['enableLocalCache'](){const _0x422f44=_0x392691;this[_0x422f44(0x3a6)]=!0x1;}get[_0x392691(0x298)](){const _0x20c65a=_0x392691;return this[_0x20c65a(0x40a)];}['dispose'](){const _0x52977a=_0x392691;this[_0x52977a(0x349)]()[_0x52977a(0x258)](()=>super[_0x52977a(0x2a5)]());}async['loadOfflineData'](_0x26795e){const _0xd57861=_0x392691;return this[_0xd57861(0x3a6)]?null:this[_0xd57861(0x4be)][_0xd57861(0x320)](_0xc712b5[_0xd57861(0x210)](_0x26795e));}async[_0x392691(0x2c8)](_0xd3314d,_0x4ce9e9){const _0x442f06=_0x392691;return!!this['_localStorageService'][_0x442f06(0x22a)](_0xd3314d,_0x4ce9e9);}[_0x392691(0x212)](_0x48f8a5,_0x1573ed,_0x4bcda7,_0x5a1555){const _0x48b8f3=_0x392691,_0x25c3f9=this[_0x48b8f3(0x2f4)][_0x48b8f3(0x410)](_0x48f8a5);this['_cachedData'][_0x48b8f3(0x250)](_0x48f8a5,{'unitID':_0x48f8a5,'type':_0x1573ed,'awaitingChangeset':_0x4bcda7,'mutations':_0x5a1555,'rev':_0x25c3f9}),this['_saveTaskMap'][_0x48b8f3(0x4ab)](_0x48f8a5)||this['_scheduleSaving'](_0x48f8a5);}[_0x392691(0x1f4)](_0x2639ac){const _0x3075c9=_0x392691,_0x58fa90=this[_0x3075c9(0x1f3)]();_0x58fa90===0x0?this[_0x3075c9(0x3dd)](_0x2639ac):this[_0x3075c9(0x40a)][_0x3075c9(0x250)](_0x2639ac,setTimeout(()=>this[_0x3075c9(0x3dd)](_0x2639ac),_0x58fa90));}['_getSaveTimeout'](){const _0x3afe4f=_0x392691;var _0x59889e;return(_0x59889e=this[_0x3afe4f(0x499)][_0x3afe4f(0x36c)](_0xc712b5[_0x3afe4f(0x4d3)]))!=null?_0x59889e:_0xc712b5[_0x3afe4f(0x3eb)];}[_0x392691(0x3dd)](_0x2147a4){const _0x5a7635=_0x392691,_0x32badc=this[_0x5a7635(0x40a)][_0x5a7635(0x2fe)](_0x2147a4);return _0x32badc!==void 0x0&&window[_0x5a7635(0x201)](_0x32badc),this[_0x5a7635(0x4be)][_0x5a7635(0x22a)](_0xc712b5['getLocalCacheKey'](_0x2147a4),this[_0x5a7635(0x46b)][_0x5a7635(0x2fe)](_0x2147a4))[_0x5a7635(0x258)](()=>this[_0x5a7635(0x40a)][_0x5a7635(0x34b)](_0x2147a4));}async[_0x392691(0x349)](){const _0x5e6f67=[];this['_saveTaskMap']['forEach']((_0x4656ae,_0x564ee4)=>{const _0x3b6eb9=_0x43cc;window[_0x3b6eb9(0x201)](_0x4656ae),_0x5e6f67[_0x3b6eb9(0x381)](this[_0x3b6eb9(0x3dd)](_0x564ee4)['then'](()=>{const _0x1b886f=_0x3b6eb9;this[_0x1b886f(0x40a)][_0x1b886f(0x34b)](_0x564ee4);}));}),await Promise['all'](_0x5e6f67);}};_0x4c1ed1=_0x360fde([_0x37a402(0x0,_0x2d11dc[_0x392691(0x37c)]),_0x37a402(0x1,_0x2d11dc[_0x392691(0x2c1)]),_0x37a402(0x2,_0x2d11dc[_0x392691(0x36d)](_0x1509c8['RevisionService']))],_0x4c1ed1);class _0x9713ed extends _0x2d11dc[_0x392691(0x2bb)]{constructor(){const _0xe79d8b=_0x392691;super(),_0x4a3e10(this,'urlChange$'),this[_0xe79d8b(0x239)]=_0x433dcc[_0xe79d8b(0x47c)](window,_0xe79d8b(0x23e))[_0xe79d8b(0x38d)](_0x433dcc[_0xe79d8b(0x28c)](this[_0xe79d8b(0x1f8)]),_0x433dcc[_0xe79d8b(0x3f8)](0x1),_0x433dcc[_0xe79d8b(0x1e6)](void 0x0));}[_0x392691(0x25a)](_0x569ffc,_0x2068ca,_0x351cb7=!0x1){const _0x3116f7=_0x392691,_0x106622=new URL(window[_0x3116f7(0x357)]['href']);_0x106622[_0x3116f7(0x3a0)][_0x3116f7(0x250)](_0x569ffc,_0x2068ca),_0x351cb7?window[_0x3116f7(0x29d)][_0x3116f7(0x2c6)]('','',_0x106622[_0x3116f7(0x40b)]()):window['history']['pushState']('','',_0x106622[_0x3116f7(0x40b)]());}[_0x392691(0x3c9)](_0x47e2e8,_0x3a8060=!0x1){const _0x575951=_0x392691,_0x226b59=new URL(window[_0x575951(0x357)][_0x575951(0x48f)]);_0x226b59[_0x575951(0x3a0)]['delete'](_0x47e2e8),_0x3a8060?window[_0x575951(0x29d)]['replaceState']('','',_0x226b59[_0x575951(0x40b)]()):window[_0x575951(0x29d)][_0x575951(0x245)]('','',_0x226b59[_0x575951(0x40b)]());}[_0x392691(0x4ea)](_0x478298){const _0x41df9f=_0x392691;var _0x196ae1;return(_0x196ae1=new URL(window['location']['href'])['searchParams'][_0x41df9f(0x2fe)](_0x478298))!=null?_0x196ae1:void 0x0;}}var _0x33f469=Object[_0x392691(0x44d)],_0x1a20a7=Object[_0x392691(0x39f)],_0x2037a4=(_0x5603c9,_0x416638,_0x3950ab)=>_0x416638 in _0x5603c9?_0x33f469(_0x5603c9,_0x416638,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3950ab}):_0x5603c9[_0x416638]=_0x3950ab,_0x57abad=(_0x557e31,_0x2d75e4,_0x387bf9,_0x3140de)=>{const _0x47398c=_0x392691;for(var _0x3d3f11=_0x3140de>0x1?void 0x0:_0x3140de?_0x1a20a7(_0x2d75e4,_0x387bf9):_0x2d75e4,_0x156ddd=_0x557e31[_0x47398c(0x30c)]-0x1,_0x4b7a48;_0x156ddd>=0x0;_0x156ddd--)(_0x4b7a48=_0x557e31[_0x156ddd])&&(_0x3d3f11=_0x4b7a48(_0x3d3f11)||_0x3d3f11);return _0x3d3f11;},_0x2078a7=(_0x455544,_0x1e46c1)=>(_0x22ce6c,_0x1c2db6)=>_0x1e46c1(_0x22ce6c,_0x1c2db6,_0x455544),_0x5b0a82=(_0x356997,_0x1a30e0,_0x51f5fb)=>_0x2037a4(_0x356997,typeof _0x1a30e0!=_0x392691(0x30f)?_0x1a30e0+'':_0x1a30e0,_0x51f5fb);_0x2d9fff[_0x392691(0x402)]=class extends _0x2d11dc[_0x392691(0x20d)]{constructor(_0x42c619=_0x4e002a,_0x5e1ee3,_0x4b76d0,_0x7032a2){const _0x861fd=_0x392691;super(),this[_0x861fd(0x213)]=_0x42c619,this[_0x861fd(0x3e7)]=_0x5e1ee3,this[_0x861fd(0x248)]=_0x4b76d0,this[_0x861fd(0x499)]=_0x7032a2;const {..._0x7584db}=_0x2d11dc[_0x861fd(0x24d)]({},_0x4e002a,this[_0x861fd(0x213)]);this['_configService']['setConfig'](_0x34c500,_0x7584db);}[_0x392691(0x2e6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x392691(0x326)](){const _0x18d1e2=_0x392691;this[_0x18d1e2(0x33b)]();}[_0x392691(0x3fe)](){const _0x90d246=_0x392691;var _0x80a5cb;const _0x300e6e=[[_0x478943],[_0x538ef3],[_0x32e2e9],[_0x2ae871],[_0x59057e],[_0x549909],[_0x2f7718,{'useClass':_0x9713ed}],[_0x5a38fd[_0x90d246(0x49c)],{'useClass':_0x5a38fd[_0x90d246(0x4bf)]}],[_0xc712b5[_0x90d246(0x3f5)],{'useClass':_0x4c1ed1}],[_0x2d9fff[_0x90d246(0x22f)]],[_0x4518ef],[_0x2647f1],[_0x3d0a15],[_0x147aca],[_0x2d9fff[_0x90d246(0x406)]]];this[_0x90d246(0x213)]['enableFrontendLog']&&_0x300e6e[_0x90d246(0x381)]([_0x2137b1]),_0x2d11dc[_0x90d246(0x4f2)](this[_0x90d246(0x248)],_0x2d11dc[_0x90d246(0x388)](_0x300e6e,(_0x80a5cb=this[_0x90d246(0x213)])==null?void 0x0:_0x80a5cb[_0x90d246(0x409)]));}[_0x392691(0x33b)](){const _0x38c20c=_0x392691;this[_0x38c20c(0x2c5)](this[_0x38c20c(0x3e7)][_0x38c20c(0x2a4)](_0x2d11dc[_0x38c20c(0x238)]['UNIVER_DOC'],[_0x872bc4])),this[_0x38c20c(0x2c5)](this[_0x38c20c(0x3e7)][_0x38c20c(0x2a4)](_0x2d11dc['UniverInstanceType'][_0x38c20c(0x3e2)],[_0x34444f]));}[_0x392691(0x45e)](){const _0x22dcb7=_0x392691;_0x2d11dc['touchDependencies'](this[_0x22dcb7(0x248)],[[_0x3d0a15],[_0x2d9fff[_0x22dcb7(0x22f)]],[_0x4518ef],[_0x2647f1],[_0x2d9fff[_0x22dcb7(0x406)]],[_0x538ef3]]),this[_0x22dcb7(0x213)]['enableFrontendLog']&&_0x2d11dc[_0x22dcb7(0x221)](this[_0x22dcb7(0x248)],[[_0x2137b1]]);}},_0x5b0a82(_0x2d9fff[_0x392691(0x402)],'pluginName',_0x392691(0x490)),_0x5b0a82(_0x2d9fff[_0x392691(0x402)],_0x392691(0x338),_0x5cab09[_0x392691(0x3c3)]),_0x5b0a82(_0x2d9fff[_0x392691(0x402)],_0x392691(0x1f7),_0x5cab09[_0x392691(0x1f7)]),_0x2d9fff[_0x392691(0x402)]=_0x57abad([_0x2d11dc[_0x392691(0x4d7)](_0xc712b5[_0x392691(0x21f)]),_0x2078a7(0x1,_0x371184[_0x392691(0x3ad)]),_0x2078a7(0x2,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x2078a7(0x3,_0x2d11dc[_0x392691(0x37c)])],_0x2d9fff[_0x392691(0x402)]);var _0x409863=Object[_0x392691(0x39f)],_0x5ee72a=(_0x5192a1,_0x3086bd,_0x2d0443,_0x2a7bec)=>{for(var _0x496f54=_0x2a7bec>0x1?void 0x0:_0x2a7bec?_0x409863(_0x3086bd,_0x2d0443):_0x3086bd,_0x3778cf=_0x5192a1['length']-0x1,_0xa59e5;_0x3778cf>=0x0;_0x3778cf--)(_0xa59e5=_0x5192a1[_0x3778cf])&&(_0x496f54=_0xa59e5(_0x496f54)||_0x496f54);return _0x496f54;},_0x5d3f29=(_0x138d44,_0xdeb745)=>(_0x606f3e,_0x31c313)=>_0xdeb745(_0x606f3e,_0x31c313,_0x138d44);_0x2d9fff[_0x392691(0x386)]=class extends _0xc712b5[_0x392691(0x486)]{constructor(_0x35c47b,_0x254aa3,_0x3b710f,_0x3e313f,_0x4ae1e6){super(_0x35c47b,_0x254aa3,_0x3b710f,_0x3e313f,_0x4ae1e6);}async[_0x392691(0x444)](_0x13a61f){const _0x2a57ea=_0x392691,_0xbc47e2=await this[_0x2a57ea(0x377)](),_0x2c5b11=this['_createSocketURL'](_0x13a61f,_0xbc47e2);return this[_0x2a57ea(0x4a2)](_0x2c5b11);}[_0x392691(0x400)](_0x2b603d,_0x4ad794){const _0x4c1926=_0x392691,_0x38b18c=typeof window>'u'?new URL(_0x2b603d):new URL(_0x2b603d,window['location'][_0x4c1926(0x4c3)]);_0x38b18c[_0x4c1926(0x3a0)]['set']('sessionTicket',_0x4ad794);const _0x25b872=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4c1926(0x268)]);return _0x25b872['get'](_0x4c1926(0x3ed))&&_0x38b18c['searchParams']['set'](_0x4c1926(0x3ed),_0x25b872[_0x4c1926(0x2fe)](_0x4c1926(0x3ed))),_0x38b18c['toString']();}async[_0x392691(0x377)](){const _0x40f423=_0x392691;var _0x345c3d,_0xd17829,_0x58fc9b;const _0x228c9a=this[_0x40f423(0x499)][_0x40f423(0x36c)](_0xc712b5[_0x40f423(0x4b8)]),_0x182902=(_0x345c3d=_0x228c9a==null?void 0x0:_0x228c9a[_0x40f423(0x328)])!=null?_0x345c3d:_0xc712b5[_0x40f423(0x2f7)];return(_0x58fc9b=(_0xd17829=(await this['_httpService'][_0x40f423(0x2fe)](_0x182902,{'headers':{'Content-Type':_0x40f423(0x4df)}}))['body'])==null?void 0x0:_0xd17829[_0x40f423(0x3bd)])!=null?_0x58fc9b:'';}},_0x2d9fff[_0x392691(0x386)]=_0x5ee72a([_0x5d3f29(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x5d3f29(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd['HTTPService'])),_0x5d3f29(0x2,_0x2d11dc[_0x392691(0x37c)]),_0x5d3f29(0x3,_0x2d11dc[_0x392691(0x4a1)]),_0x5d3f29(0x4,_0x1509c8[_0x392691(0x40f)])],_0x2d9fff['BrowserCollaborationSocketService']);var _0x106dc3=Object[_0x392691(0x39f)],_0x58ec89=(_0x5dd3da,_0x2f1307,_0x2f48de,_0x741edf)=>{for(var _0x39ad25=_0x741edf>0x1?void 0x0:_0x741edf?_0x106dc3(_0x2f1307,_0x2f48de):_0x2f1307,_0x592d43=_0x5dd3da['length']-0x1,_0x6de58b;_0x592d43>=0x0;_0x592d43--)(_0x6de58b=_0x5dd3da[_0x592d43])&&(_0x39ad25=_0x6de58b(_0x39ad25)||_0x39ad25);return _0x39ad25;},_0x28e23c=(_0x1c3dc8,_0x25f2b2)=>(_0xac733b,_0x1d0691)=>_0x25f2b2(_0xac733b,_0x1d0691,_0x1c3dc8);_0x2d9fff[_0x392691(0x40e)]=class extends _0x2d11dc['Disposable']{constructor(_0x3d895b,_0x286ddc,_0x3bd70c){const _0x59e29b=_0x392691;super(),this[_0x59e29b(0x4e6)]=_0x3d895b,this[_0x59e29b(0x21a)]=_0x286ddc,this[_0x59e29b(0x499)]=_0x3bd70c;}async[_0x392691(0x33d)](_0x4b8c59,_0x41127e,_0x3b6fbf,..._0x4cc513){const _0x2b501c=_0x392691;var _0x571756,_0x5e806c,_0x184730,_0xdf9178;const _0x5f0c0d=this[_0x2b501c(0x4e6)]['getFocusedUnit']();if(!_0x5f0c0d)throw new Error(_0x2b501c(0x351));const _0x269014=((_0x571756=this[_0x2b501c(0x499)][_0x2b501c(0x36c)](_0xc712b5[_0x2b501c(0x3ff)]))!=null?_0x571756:_0xc712b5[_0x2b501c(0x2d3)])+'/'+_0x4b8c59+_0x2b501c(0x224)+_0x41127e,_0x35ce23=new URL(window['location'][_0x2b501c(0x48f)]),_0x46deda={'scriptId':_0x4b8c59,'runId':(_0x5e806c=_0x35ce23[_0x2b501c(0x3a0)][_0x2b501c(0x2fe)]('runId'))!=null?_0x5e806c:'','function':_0x41127e,'unitId':_0x5f0c0d[_0x2b501c(0x33a)](),'argsOfFunction':JSON[_0x2b501c(0x2e3)](_0x4cc513),'invokeId':(_0x184730=_0x3b6fbf[_0x2b501c(0x2c9)])!=null?_0x184730:'','executionId':(_0xdf9178=_0x3b6fbf[_0x2b501c(0x1e2)])!=null?_0xdf9178:''};try{const _0x3e0157=await this[_0x2b501c(0x21a)]['post'](_0x269014,{'body':_0x46deda});return _0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x4f1)]&&_0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x4f1)][_0x2b501c(0x445)]!==_0x38fd21['OK']?_0x2b501c(0x398):_0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x2ac)];}catch{return'Failed';}}},_0x2d9fff['RemoteUniscriptService']=_0x58ec89([_0x28e23c(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x28e23c(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd[_0x392691(0x42b)])),_0x28e23c(0x2,_0x2d11dc[_0x392691(0x37c)])],_0x2d9fff[_0x392691(0x40e)]);const _0x278ef7=0x7530,_0x33bee2=_0x392691(0x3ae);class _0x5ce158 extends _0x2d11dc['Disposable']{constructor(){const _0x2b15f2=_0x392691;super(),_0x4a3e10(this,'_id',_0x2d11dc[_0x2b15f2(0x269)]()),_0x4a3e10(this,'_selfUnitIDs',new Set()),_0x4a3e10(this,_0x2b15f2(0x41a),new Map()),_0x4a3e10(this,'_heartbeatTimer',null),_0x4a3e10(this,'_clearOtherTimers',new Map()),_0x4a3e10(this,_0x2b15f2(0x313),new Map()),this[_0x2b15f2(0x411)]();}[_0x392691(0x2a5)](){const _0x56ed6b=_0x392691;super['dispose'](),this[_0x56ed6b(0x4cb)]['forEach']((_0x20ae0c,_0x73d182)=>this[_0x56ed6b(0x464)](_0x73d182)),this[_0x56ed6b(0x374)]&&window[_0x56ed6b(0x43e)](this[_0x56ed6b(0x374)]);}[_0x392691(0x2b3)](_0x3687e3){const _0x3f5c8d=_0x392691;return this[_0x3f5c8d(0x333)](_0x3687e3)[_0x3f5c8d(0x38d)](_0x433dcc[_0x3f5c8d(0x3b0)]());}[_0x392691(0x4a7)](_0x563ce7){const _0x5dcd86=_0x392691;this[_0x5dcd86(0x244)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x5dcd86(0x4ac)](_0x563ce7),this[_0x5dcd86(0x4ed)]({'type':0x0,'memberID':this[_0x5dcd86(0x46c)],'unitIDs':[_0x563ce7],'isForwarded':!0x1});}[_0x392691(0x300)](_0xbccbb){const _0x6ca51b=_0x392691;this[_0x6ca51b(0x244)][_0x6ca51b(0x34b)](_0xbccbb),this[_0x6ca51b(0x244)][_0x6ca51b(0x299)]===0x0&&this['_heartbeatTimer']&&window[_0x6ca51b(0x43e)](this[_0x6ca51b(0x374)]);}[_0x392691(0x411)](){const _0x3aa773=_0x392691;this[_0x3aa773(0x2c5)](_0x2d11dc['toDisposable'](_0x433dcc[_0x3aa773(0x47c)](window,_0x3aa773(0x4dc))['subscribe'](_0x4410cb=>{const _0x32044f=_0x3aa773;if(_0x4410cb['key']!==_0x33bee2||!_0x4410cb[_0x32044f(0x342)])return;const _0x5c9894=JSON[_0x32044f(0x2d6)](_0x4410cb[_0x32044f(0x342)]);this[_0x32044f(0x2e9)](_0x5c9894);}))),window[_0x3aa773(0x1e8)](_0x3aa773(0x35a),()=>this['_send']({'type':0x1,'memberID':this[_0x3aa773(0x46c)],'unitIDs':Array[_0x3aa773(0x4d1)](this[_0x3aa773(0x244)])}));}[_0x392691(0x2e9)](_0x993b64){const _0x5aa644=_0x392691;switch(_0x993b64['type']){case 0x0:this[_0x5aa644(0x4b1)](_0x993b64);break;case 0x1:this['_handleLeaveEvent'](_0x993b64);break;case 0x2:this[_0x5aa644(0x2d7)](_0x993b64);break;}}[_0x392691(0x4b1)](_0x3f99c0){const _0x5937ff=_0x392691,{unitIDs:_0x551952,memberID:_0x2d9507,isForwarded:_0x3b9e84}=_0x3f99c0;_0x551952[_0x5937ff(0x34f)](_0x3fb29e=>{const _0x58487a=_0x5937ff;if(!_0x3b9e84&&this[_0x58487a(0x41a)][_0x58487a(0x4ab)](_0x3fb29e)&&this[_0x58487a(0x333)](_0x3fb29e)[_0x58487a(0x1fb)](_0xc712b5['UnitStatus'][_0x58487a(0x4ec)]),!this[_0x58487a(0x41a)][_0x58487a(0x4ab)](_0x3fb29e)||!this[_0x58487a(0x41a)]['get'](_0x3fb29e)['has'](_0x2d9507)){const _0x3a4e6f=this[_0x58487a(0x41a)][_0x58487a(0x2fe)](_0x3fb29e)||new Set();_0x3a4e6f[_0x58487a(0x4ac)](_0x2d9507),this['_unitOnClients']['set'](_0x3fb29e,_0x3a4e6f),this[_0x58487a(0x4bd)](_0x2d9507);}}),_0x3b9e84||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5937ff(0x244)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x38bf00){const _0x3576ac=_0x392691;this[_0x3576ac(0x464)](_0x38bf00);const _0x4feb55=window[_0x3576ac(0x243)](()=>{const _0x31c478=_0x3576ac;this[_0x31c478(0x41a)]['forEach'](_0x1e39d9=>{const _0x18534a=_0x31c478;_0x1e39d9[_0x18534a(0x34b)](_0x38bf00);});},_0x278ef7*0x2);this[_0x3576ac(0x4cb)]['set'](_0x38bf00,_0x4feb55);}[_0x392691(0x464)](_0x343f89){const _0xf01231=_0x392691;if(this['_clearOtherTimers'][_0xf01231(0x4ab)](_0x343f89)){const _0x57d65b=this[_0xf01231(0x4cb)][_0xf01231(0x2fe)](_0x343f89);_0x57d65b&&window[_0xf01231(0x201)](_0x57d65b),this[_0xf01231(0x4cb)][_0xf01231(0x250)](_0x343f89,null);}}[_0x392691(0x37f)](_0x5cd156){const _0x1eddd3=_0x392691,{memberID:_0x4e40bb,unitIDs:_0x4e92e7}=_0x5cd156;_0x4e92e7['forEach'](_0x4e9c35=>{const _0x5f1c01=_0x43cc;var _0x3b9551;const _0x5709bd=this[_0x5f1c01(0x41a)][_0x5f1c01(0x2fe)](_0x4e9c35);_0x5709bd&&(_0x5709bd['delete'](_0x4e40bb),(_0x3b9551=this[_0x5f1c01(0x333)](_0x4e9c35))==null||_0x3b9551[_0x5f1c01(0x1fb)](_0x5709bd[_0x5f1c01(0x299)]===0x0?_0xc712b5[_0x5f1c01(0x350)][_0x5f1c01(0x4d4)]:_0xc712b5['UnitStatus'][_0x5f1c01(0x4ec)]));}),this[_0x1eddd3(0x464)](_0x4e40bb);}[_0x392691(0x2d7)](_0x4aaf98){const _0x72def0=_0x392691;this['_scheduleClearOtherTimer'](_0x4aaf98[_0x72def0(0x4b9)]);}[_0x392691(0x4ed)](_0x46f30c){const _0x5a1fa5=_0x392691;localStorage[_0x5a1fa5(0x22a)](_0x33bee2,JSON[_0x5a1fa5(0x2e3)](_0x46f30c));}[_0x392691(0x27e)](){const _0x46060b=_0x392691;this[_0x46060b(0x374)]=window[_0x46060b(0x3f1)](()=>{const _0x710d27=_0x46060b;this[_0x710d27(0x4ed)]({'type':0x2,'memberID':this[_0x710d27(0x46c)]});},_0x278ef7);}['_ensureSubject'](_0x1db953){const _0x1956df=_0x392691;return this[_0x1956df(0x313)]['has'](_0x1db953)||this[_0x1956df(0x313)][_0x1956df(0x250)](_0x1db953,new _0x433dcc[(_0x1956df(0x42a))](_0xc712b5[_0x1956df(0x350)][_0x1956df(0x4d4)])),this[_0x1956df(0x313)][_0x1956df(0x2fe)](_0x1db953);}}_0x2d9fff['IURLService']=_0x2f7718,_0x2d9fff[_0x392691(0x23f)]=_0x895cf0,_0x2d9fff[_0x392691(0x2f5)]=_0x5ce158,_0x2d9fff[_0x392691(0x3db)]=_0x9713ed,Object[_0x392691(0x44d)](_0x2d9fff,Symbol['toStringTag'],{'value':_0x392691(0x3f3)});}));function _0xa171(){const _0x1eb1b3=['SessionStatus','labelPosition','idSuffix','PERMISSION_DENIED','deserializeRangeWithSheet','CollaborationSessionService','yellow.400','getMemberID','ticket','YUUMI_URL_COL_OUT_OF_RANGE','...','getVpScrollXYInfoByPosToVp','useObservable','_getSheetObject','name','@univerjs/network','_updateCollabCursors','_transformService','unhandledrejection','rgb','removeParam','_getAnchorBounding','_docTransformStateCacheService','_initUnhandledRejectionListener','@univerjs/docs-ui','createInstance','_commandService','_docTransformIMECacheService','getSkeleton','setOffsetY','_cursor','attrs','getMember','_assignedColors','_cursorInfo$','type','_refreshCollabCursors','loadUnit','WebURLService','ENTITLE_COUPON_USED_UP','_saveCache','YUUMI_CONNECTOR_URL_NOT_FOUND','_colorAssignService','_initCommandInterceptor','_hasFormulaInDirtyRanges','UNIVER_SHEET','doc.mutation.rich-text-editing','4YppiTf','row','getSheetObject','_renderManagerService','_getScale','m1Prime','SOCKET_FAILED','LOCAL_CACHE_INTERVAL','LICENSE_IMPORT_SIZE_EXCEEDED','runId','@univerjs/sheets','_setFormulaLimitStatus','/universer-api/license/formula/limit/done','setInterval','docStateChange$','Module','_docStateChangeManagerService','ILocalCacheService','transformStateCache','SetFormulaCalculationNotificationMutation','shareReplay','_session','green.600','use','_render','with','_registerDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocketURL','_univerInstanceService','UniverCollaborationClientUIPlugin','restore','formula.calculation.started','fillStyle','CollaborationDataLoaderController','getCellPositionByOffset','_startDocCollabCursor','override','_saveTaskMap','toString',',\x200.2)','getMergeData','RemoteUniscriptService','ISnapshotServerService','getCurrentRevOfUnit','_init','_range','_pollingInterval','UniverProCollaborationClient','_online','startsWith','@univerjs/engine-formula','DATA_SOURCE_TOO_LARGE','currentUsage','_unitOnClients','ENTITLE_CHAT_LIMIT_EXCEED','_document','skeleton','0.2)','@univerjs/core','collabStatus.conflict','_labelPosition','_themeService','init','TEXT_RANGE_LAYER_INDEX','slice','_name','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','permission.content','BehaviorSubject','HTTPService','_shapes','bottom','collab-text-range-','_onCursorDelete','defs','getStateCache','M0\x200H16V16H0z','LICENSE_MAX_UNITS_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','DataLoaderService','getColorFromTheme','univer-flex\x20univer-items-center','SetTextSelectionsOperation','@univerjs-pro/collaboration','handleIRemoveRow','url(#on-line-icon_clip0_910_349)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Warning','clearInterval','INVALID_INVITE_CODE','IImageIoService','redoState','show','_uiPartsService','createSocket','code','fromEventSubject','NOT_COLLAB','NOT_FOUND','transformIMECache','params','random','_docSkeleton','defineProperty','fill','APPLY_NON_SEQUENTIAL_REVISION','string','CollaborationUIEventService','onPointerMove$','56RAOySe','roomMembers$','UniverNetwork','getUndoRedoMutationParamsCache','InsertRangeMoveRightCommandId','entityInit$','round','debounce','endColumn','SNAPSHOT_HAS_BEEN_REMOVED','shift','_initDependencies','CHANGESET_REVISION_CONFILICT','_drawTextRange','setShapeProps','SetSelectionsOperation','YUUMI_RATE_OVER_LIMIT','_removeClearOtherTimer','RichTextEditingMutation','_uploadLog','[Window\x20Error]:\x20','handleDeleteRangeMoveLeft','registerBeforeClose','EffectRefRangId','_cachedData','_id','JOIN_ROOM_FAILED','startColumn','APPLY_DUPLICATED','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','Rectangle','_refRangeService','UNAUTHENTICATED','COLORS','handleMoveRange','OTHER_CLIENT_EDITING','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-rect-range-','jsxs','startRow','fromEvent','Injector','getCurrentUnitForType','subscribe','isActive','FETCH_MISS','setAlpha','_initEvent','SheetSkeletonManagerService','jsx','CollaborationSocketService','unshift','SHEET_VIEWPORT_KEY','url(#$1','_transformPreviousActiveRange','setUndoRedoMutationParamsCache','current','disableLocalCache','function','href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','debug','CONFLICT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CommandType','assignAColorForMemberID','TOO_MANY_REQUESTS','_initStatusListener','NodePositionConvertToCursor','_configService','cursorInfo','_lastResponseTimestamp','ISocketService','getRelativeToViewportCoord','Loading','color','_setupSubUnitSync','ILogService','_doCreateSocket','font','replace','getRenderById','@univerjs/rpc','editingUnit','data','contains','defIds','has','add','_drawRectRange','limitInfo','_imageIoService','LICENSE_DISTRO_REJECTED','_handleJoinEvent','endRow','forwardRef','@univerjs-pro/collaboration-client-ui','_dataLoaderService','YUUMI_SUBSCRIPTION_NOT_FOUND','START_CALCULATION','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','memberID','displayName','ERROR_AGAIN','UNRECOGNIZED','_scheduleClearOtherTimer','_localStorageService','WebSocketService','OFFLINE','DisposableCollection','REDEMPTION_USER_NOT_ELIGIBLE','origin','?taskId=','asObservable','maxFormulaLimit','MoveRangeCommandId','eventID','cursorInfo$','collabStatus.syncing','_clearOtherTimers','_colorIndex','653181KhAYiX','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_NOT_STARTED','UniverEngineRender','from','filter','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','_blinkTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','DependentOn','range','/universer-api/frontend/logs','hide','_entities','storage','FormulaExecutedStateType','REDEMPTION_CODE_INACTIVE','application/json','_highlight','jiqing.500','createElement','closePath','arc','formula.calculation.unable','_instanceService','blue.400','lineTo','source','getParam','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','_send','1em','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_CODE_HAS_BEEN_CREATED','error','registerDependencies','YUUMI_ALL_TABLES_IS_INVALID','_lastPointer','Disposable','ENTITLE_DUP_SUBSCRIPTION','executionId','getDocRanges','transformMutation','removeEventListener','mapTo','UPDATE_CURSOR','addEventListener','ENTITLE_COUPON_EXPIRED','white','collabStatus.notCollab','0\x200\x2016\x2016','Unknown\x20user','onCommandExecuted','@univerjs/sheets-ui','catch','_currentUsage','min','_getSaveTimeout','_scheduleSaving','INVITE_CODE_ALREADY_BOUND','_releaseCalculationLimit','version','dispose$','_transformUndoRedoStack','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','next','_collabCursorState$','_showText','_hovered','createIdentifier','textRanges','clearTimeout','IUIPartsService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','imageSourceType','runRefRangeMutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationStatus','getOffsetConfig','findNodePositionByCharIndex','ALREADY_EXISTS','[Unhandled\x20Rejection]:\x20','getValue','Plugin','EMAIL_VERIFY_CODE_MISMATCH','unitId','getLocalCacheKey','setActiveRange','updateOfflineData','_config','_initWindowErrorListener','children','substring','INVALID_ARGUMENT','_cursors','ENSURE_SNAPSHOT_EXECUTION','_httpService','drawWith','transformMutationsWithChangeset','AWAITING','_backgroundColor','UniverCollaborationClientPlugin','3966700ZeoXwe','touchDependencies','_hideTimer','_startCalculationLimit','/run/','_initResize','_localeService','m2Prime','rgba','handleInsertRangeMoveRight','setItem','message','strokeWidth','undoState','_entityInit$','DesktopCollaborationStatusDisplayController','UNIVER_DOC','_urlService','FormulaExecuteStageType','_setupBeforeClosingHandler','VIEW_MAIN','_isBlinkVisible','UniverCore','ITransformService','UniverInstanceType','urlChange$','getCollabCursors$','on-line-icon','collabStatus.synced','CanceledError','popstate','SheetCollabCursorShape','none','DocSelectionManagerService','releaseFormulaLimitUrl','setTimeout','_selfUnitIDs','pushState','ThemeService','_sheetSkeletonManagerService','_injector','LOGIN_FAILED','sessionStatus$','addObject','_collaborationSessionService','merge','_getMergeRange','_toggleOffline','set','UniverDesign','post','operators','Shape','CollaborationController','_removeCollabCursors','flatMap','then','Optional','setParam','UniverUi','debounceTime','find','HEADER_MENU','_draw','collabCursorState$','beginPath','complete','CLOSE_ROOM','session.connection-failed','_checkAndWaitForCalculationPermission','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_INSUFFICIENT_QUOTA','search','generateRandomId','evenodd','_startBlinking','getRangePointData','reconnect','_updateLocalCursor','YUUMI_AI_RUN_FAILED','currentColor','ENTITLE_INVALID_COUPON_CODE','_roomMembers$','_initStatusComponent','_blinkIntervalTimer','moveTo','_onCursorUpdate','stack','getUnhiddenWorksheets','isTransformMutationFailure','send','getUnit','replaceDocRanges','IUniverInstanceService','_scheduleHeartbeat','RegularPolygon','_memberID','fillText','startFormulaLimitUrl','Workbook','0\x200\x2017\x2016','_checkCalculationAvailable','throttleTime','_stopBlinking','subscribeEvent','USERS_LEAVE','session.collaboration-timeout','stageInfo','takeUntil','useRef','_initCommandExecutedListener','INVITE_CODE_REQUIRED','getActiveSheet','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','black','APPLY_REJECT','mask','ranges','SheetsSelectionsService','saveTaskMap','size','handleIRemoveCol','off-line-icon','[CollaborationDataLoaderController]','history','_startSheetCollabCursor','handleInsertRangeMoveDown','Vector2','_localCacheService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','3662850vJIJBl','registerRenderModule','dispose','onPointerLeave$','SetFormulaCalculationStartMutation','_toggleOnline','univer-mr-2\x20univer-flex\x20univer-text-xl','Rect','path','result','React','isTransformMutationsWithChangesetSuccess','_hover','IMessageService','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_INVALID_CODE','getUnitStatus$','USER_IS_ANONYMOUS','CURRENT_STATUS_CANNOT_OPERATE','_showGuardMessage','DocStateChangeManagerService','_anchorDot','SNAPSHOT_INVALID_SNAPSHOT','RECT','RxDisposable','MUTATION','react','_collabCursorController','getColor','MemberService','ILocalStorageService','on-line-icon_clip0_910_349','column','_messageService','disposeWithMe','replaceState','getTypeOfUnitAdded$','saveOfflineData','invokeId','_collaborationController','TEXT','mutations','CONNECTOR_DATA_TOO_LARGE','onPointerEnter$','_eventUnsubscribe','_context','permission.title','194257MDXlEP','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','top','parse','_handleHeartbeatEvent','collaboration.single-unit.warning','_handleHover','INVITE_CODE_HAS_BEEN_UES','collab-client.tooltip.reconnect','_offsetY','getViewport','MessageType','0.17.0','reason','transformByState','currentSkeleton$','stringify','collaboration.offline-data-not-saved','_maxFormulaLimit','onStarting','DOC_RANGE_TYPE','SYNCED','_handleEvent','translate(.97)','combineLatest','registerRefRange','handleDeleteRangeMoveUp','YUUMI_ASYNCIO_CANCELLED','selection','event$','syncEditingCollabCursor','_docTransformSelectionsService','xlink:href','_revisionService','WebBrowserSingleActiveUnitService','url(#off-line-icon_clip0_910_343)','DEFAULT_WS_SESSION_TICKET_URL','tag','trim','IBeforeCloseService','_updateURLWithCurrentState','InsertColCommandId','EMAIL_HAS_BEEN_BOUND','get','APPLY_PERMISSION_DENIED','disposeUnit','CollaborationUIEventId','SOCKET_FAILED_RETRY','RemoveColCommandId','_docClipboardService','MOBILE_HAS_BEEN_BOUND','_clearPolling','_logService','_monkeyPatchLogService','INTERNAL_ERROR','entries','requireSession','length','isEditing','getTypeOfUnitDisposed$','symbol','InsertRangeMoveDownCommandId','955268ZBkSnS','ENTITLE_REPORT_LIMIT_EXCEED','_unitStatus','getFormulaLimitStatusUrl','MOBILE_VERIFY_CODE_MISMATCH','resize','clsx','off-line-icon_clip0_910_343','univerjs-icon\x20univerjs-icon-','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deepClone','activeSheet$','onTransformChange$','COMPLETION_FINISHED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getItem','ColorKit','makeDirty','addHandlerCallback','AWAITING_WITH_PENDING','USER_NOT_FOUND','onRendered','CollaborationEvent','wsSessionTicketUrl','isArray','DocIMEInputManagerService','LocaleService','_docSkeletonManagerService','width','_taskIds','actions','BuiltInUIPart','ENTITLE_NEED_BILLING_ADDRESS','/universer-api/license/formula/limit/start','_ensureSubject','1443738xaSoNn','colno','transformRemoteChangeset','map','packageName','getActiveRange','getUnitId','_registerRenderDependencies','switchMap','runOnServer','values','fillRule','@univerjs/drawing','AUTHORIZE_CODE_ILLEGAL','newValue','_notificationService','onMouseMove','measureText','height','_updateSubUnitFromURLParams','rgba(255,\x20255,\x20255,\x200.01)','exhaustSavingTask','addObjects','delete','status$','UniverIcon','UniverDrawing','forEach','UnitStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_collabSessionService','formula.calculation.waiting','text','highlight','filename','location','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','unload','Subject','_anchor','subunit','body','highlightSecond','_status$','parseInt','unit','getSheetBySheetId','getFocusedUnit','getCoordByCell','UNDEFINED','SetWorksheetActivateCommand','DeleteRangeMoveUpCommandId','div','handleInsertRow','saveImage','getConfig','Inject','stage','engine','showText','hovered','clipPath','executeCommand','_heartbeatTimer','_highlightSecond','getAncestorScale','_getSessionTicket','rxjs','_drawAnchor','UniverSheetsUi','ONLINE','IConfigService','UniverProCollaborationClientUi','_textBubble','_handleLeaveEvent','whenReady','push','colorChannel1','_cursorShapes','offsetY','@univerjs/engine-render','BrowserCollaborationSocketService','roomMembers','mergeOverrideWithDependencies','PENDING','_docSyncEditingCollabCursorService','triggerDblclick','_color','pipe','lineno','unsubscribe','includes','unitID','UniverSheets','red.300','currentTheme$','Error','Tools','UniverDocs','Failed','/universer-api/license/formula/limit/status','getCurrentSelections','toDisposable','split','getSheetId','_memberService','getOwnPropertyDescriptor','searchParams','_collaborationUIEventService','useCallback','YUUMI_UNABLE_LOAD_URL','save','Tooltip','_disabled','session.will-retry','_applyCommand','_getFormulaLimitStatus','ICommandService','transformSelections','PAYMENT_CHANNEL_NOT_SUPPORT','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','FromArray','distinctUntilChanged','26883684PWqsFs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collabStatus.offline','rgba('];_0xa171=function(){return _0x1eb1b3;};return _0xa171();}
|