@univerjs-pro/collaboration-client-ui 1.0.0-alpha.1 → 1.0.0-alpha.3
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/README.md +6 -3
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +1 -2
- package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +31 -0
- package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +3 -2
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +1 -1
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +11 -0
- package/lib/types/index.d.ts +0 -2
- package/lib/types/models/cursor.d.ts +12 -8
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +2 -0
- package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +2 -2
- package/lib/types/views/shapes/text-bubble.shape.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +23 -22
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3f925b=_0x43e1;(function(_0x159b1b,_0x141dc3){const _0x338cea=_0x43e1,_0x3b77b4=_0x159b1b();while(!![]){try{const _0x1800cb=-parseInt(_0x338cea(0xff))/0x1*(-parseInt(_0x338cea(0x2e8))/0x2)+-parseInt(_0x338cea(0x1b7))/0x3+-parseInt(_0x338cea(0x1fd))/0x4+parseInt(_0x338cea(0xbe))/0x5*(-parseInt(_0x338cea(0x242))/0x6)+-parseInt(_0x338cea(0xb3))/0x7*(-parseInt(_0x338cea(0x284))/0x8)+parseInt(_0x338cea(0x119))/0x9*(parseInt(_0x338cea(0x275))/0xa)+parseInt(_0x338cea(0x30a))/0xb;if(_0x1800cb===_0x141dc3)break;else _0x3b77b4['push'](_0x3b77b4['shift']());}catch(_0x263414){_0x3b77b4['push'](_0x3b77b4['shift']());}}}(_0x1ffb,0xdc1e7),Object['defineProperty'](exports,Symbol[_0x3f925b(0x1c6)],{'value':'Module'}));let e=require('@univerjs-pro/collaboration-client'),t=require('@univerjs/core'),n=require('@univerjs/ui'),r=require('rxjs'),i=require('rxjs/operators'),a=require('@univerjs/design'),o=require('@univerjs/icons'),s=require('react'),c=require('react/jsx-runtime'),l=require('@univerjs/rpc'),u=require('@univerjs/sheets'),d=require('@univerjs/engine-render'),f=require('@univerjs/network'),p=require('@univerjs/docs-ui'),m=require('@univerjs/drawing'),h=require('@univerjs-pro/collaboration'),g=require('@univerjs/docs'),_=require('@univerjs/engine-formula'),v=require('@univerjs-pro/slides-ui'),y=require('@univerjs/sheets-ui'),b=require('@univerjs/protocol');function ee(_0x1cb8c5){const _0x11c562=_0x3f925b;switch(_0x1cb8c5){case e[_0x11c562(0xfb)][_0x11c562(0x33d)]:return{'icon':(0x0,c['jsx'])(o['OffLineIcon'],{}),'colorClass':_0x11c562(0x221),'i18nKey':_0x11c562(0xd9),'tooltipKey':_0x11c562(0x23f),'clickable':!0x0,'indicator':_0x11c562(0x205)};case e[_0x11c562(0xfb)]['CONFLICT']:return{'icon':(0x0,c[_0x11c562(0x142)])(o['OffLineIcon'],{}),'colorClass':_0x11c562(0xfe),'i18nKey':_0x11c562(0x326),'clickable':!0x1,'indicator':_0x11c562(0x205)};case e[_0x11c562(0xfb)]['FETCH_MISS']:return{'icon':(0x0,c[_0x11c562(0x142)])(o[_0x11c562(0xa0)],{}),'colorClass':'univer-text-blue-500','i18nKey':_0x11c562(0x174),'clickable':!0x1,'indicator':_0x11c562(0x2c4)};case e[_0x11c562(0xfb)][_0x11c562(0x12b)]:return{'icon':(0x0,c['jsx'])(o[_0x11c562(0x12a)],{}),'colorClass':_0x11c562(0x1e6),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x11c562(0x205)};case e['CollaborationStatus'][_0x11c562(0x164)]:case e[_0x11c562(0xfb)][_0x11c562(0x17a)]:return{'icon':(0x0,c['jsx'])(o['LoadingMultiIcon'],{}),'colorClass':_0x11c562(0x259),'i18nKey':_0x11c562(0x185),'clickable':!0x1,'indicator':'spin'};case e['CollaborationStatus'][_0x11c562(0x33b)]:return{'icon':(0x0,c[_0x11c562(0x142)])(o[_0x11c562(0xa0)],{}),'colorClass':'univer-text-blue-500','i18nKey':_0x11c562(0x185),'clickable':!0x1,'indicator':_0x11c562(0x2c4)};case e[_0x11c562(0xfb)][_0x11c562(0x118)]:return{'icon':(0x0,c[_0x11c562(0x142)])(o[_0x11c562(0x12a)],{}),'colorClass':_0x11c562(0xf0),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x11c562(0x205)};}}function te(_0x34b550){const _0x4a0e6d=_0x3f925b;let {status$:_0x4cfb8d}=_0x34b550,_0xc21116=(0x0,n['useObservable'])(_0x4cfb8d,e[_0x4a0e6d(0xfb)]['NOT_COLLAB']),_0x144710=(0x0,n[_0x4a0e6d(0x1dc)])(t[_0x4a0e6d(0x115)]),_0x441ffc=(0x0,n[_0x4a0e6d(0x1dc)])(e[_0x4a0e6d(0x2a6)]),_0x6c380f=(0x0,s['useMemo'])(()=>ee(_0xc21116),[_0xc21116]),_0x4ae88c=_0xc21116!==e[_0x4a0e6d(0xfb)][_0x4a0e6d(0x33d)],_0x2539d2=_0x144710['t'](_0x6c380f[_0x4a0e6d(0xd2)]),_0x23c22b=_0x6c380f[_0x4a0e6d(0x22f)]?_0x144710['t'](_0x6c380f[_0x4a0e6d(0x22f)]):_0x2539d2,_0x466e60=(0x0,s['useCallback'])(()=>{_0x4ae88c||_0x441ffc['reconnect']();},[_0x4ae88c,_0x441ffc]),_0x3385ff=(0x0,s[_0x4a0e6d(0xc8)])(_0x4e3754=>{const _0x569200=_0x4a0e6d;!_0x4ae88c&&(_0x4e3754[_0x569200(0x263)]===_0x569200(0xa5)||_0x4e3754['key']==='\x20')&&(_0x4e3754[_0x569200(0x314)](),_0x441ffc['reconnect']());},[_0x4ae88c,_0x441ffc]),_0x4ce41b=(0x0,c[_0x4a0e6d(0x142)])('span',{'className':(0x0,a['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4a0e6d(0x25c),_0x6c380f['colorClass'],{'univer-animate-spin':_0x6c380f[_0x4a0e6d(0x2e0)]===_0x4a0e6d(0x2c4),'univer-animate-pulse':_0x6c380f['indicator']===_0x4a0e6d(0x333)}),'aria-hidden':_0x4a0e6d(0x316),'children':_0x6c380f[_0x4a0e6d(0x30d)]}),_0x2ae28a=(0x0,c[_0x4a0e6d(0x142)])(_0x4a0e6d(0x168),{'className':(0x0,a[_0x4a0e6d(0x29b)])(_0x4a0e6d(0xb6),_0x4a0e6d(0x2d0),_0x4a0e6d(0x110),_0x4a0e6d(0x17b),_0x4a0e6d(0x15e),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x6c380f[_0x4a0e6d(0x291)],'univer-cursor-default':!_0x6c380f[_0x4a0e6d(0x291)]}),'children':_0x4ce41b});return _0x6c380f[_0x4a0e6d(0x291)]?(0x0,c[_0x4a0e6d(0x142)])(a[_0x4a0e6d(0x25a)],{'title':_0x23c22b,'placement':'bottom','children':(0x0,c[_0x4a0e6d(0x142)])(_0x4a0e6d(0x2f1),{'type':_0x4a0e6d(0x2f1),'onClick':_0x466e60,'onKeyDown':_0x3385ff,'className':(0x0,a[_0x4a0e6d(0x29b)])(_0x4a0e6d(0xe6),_0x4a0e6d(0x2fd),_0x4a0e6d(0x212),_0x4a0e6d(0x226)),'aria-label':_0x2539d2+_0x4a0e6d(0x1f2)+_0x23c22b,'role':'status','aria-live':'polite','aria-atomic':'true','children':_0x2ae28a})}):(0x0,c['jsx'])(a[_0x4a0e6d(0x25a)],{'title':_0x23c22b,'placement':_0x4a0e6d(0x24b),'children':(0x0,c[_0x4a0e6d(0x142)])(_0x4a0e6d(0x2f6),{'className':(0x0,a[_0x4a0e6d(0x29b)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4a0e6d(0x2fd),_0x4a0e6d(0x212)),'aria-label':_0x2539d2,'role':_0x4a0e6d(0x31c),'aria-live':_0x4a0e6d(0x2b5),'aria-atomic':_0x4a0e6d(0x316),'children':_0x2ae28a})});}function x(_0x1b9b10){'@babel/helpers - typeof';const _0x303dc3=_0x3f925b;return x=typeof Symbol==_0x303dc3(0x11d)&&typeof Symbol[_0x303dc3(0x17f)]=='symbol'?function(_0x21c7a7){return typeof _0x21c7a7;}:function(_0x3da93b){const _0x8e6f29=_0x303dc3;return _0x3da93b&&typeof Symbol==_0x8e6f29(0x11d)&&_0x3da93b[_0x8e6f29(0x1a2)]===Symbol&&_0x3da93b!==Symbol[_0x8e6f29(0x1c0)]?'symbol':typeof _0x3da93b;},x(_0x1b9b10);}function ne(_0x5a68f0,_0x154023){const _0x529e25=_0x3f925b;if(x(_0x5a68f0)!=_0x529e25(0x1dd)||!_0x5a68f0)return _0x5a68f0;var _0x4ee763=_0x5a68f0[Symbol[_0x529e25(0x188)]];if(_0x4ee763!==void 0x0){var _0x28b517=_0x4ee763['call'](_0x5a68f0,_0x154023||'default');if(x(_0x28b517)!='object')return _0x28b517;throw TypeError(_0x529e25(0x198));}return(_0x154023===_0x529e25(0xcc)?String:Number)(_0x5a68f0);}function re(_0x3b3b37){const _0xbca79d=_0x3f925b;var _0x2fa56c=ne(_0x3b3b37,_0xbca79d(0xcc));return x(_0x2fa56c)==_0xbca79d(0x266)?_0x2fa56c:_0x2fa56c+'';}function S(_0x5f3488,_0x36089f,_0x4ff4a6){const _0xf63c8=_0x3f925b;return(_0x36089f=re(_0x36089f))in _0x5f3488?Object[_0xf63c8(0xc1)](_0x5f3488,_0x36089f,{'value':_0x4ff4a6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5f3488[_0x36089f]=_0x4ff4a6,_0x5f3488;}function C(_0x237802,_0x26fdff){return function(_0x57e330,_0x4cfde6){_0x26fdff(_0x57e330,_0x4cfde6,_0x237802);};}function w(_0x26a1c4,_0x3df899,_0x54f031,_0x1af9a7){const _0x52fadc=_0x3f925b;var _0x12a6b0=arguments['length'],_0x153ffb=_0x12a6b0<0x3?_0x3df899:_0x1af9a7===null?_0x1af9a7=Object['getOwnPropertyDescriptor'](_0x3df899,_0x54f031):_0x1af9a7,_0x19dae3;if(typeof Reflect==_0x52fadc(0x1dd)&&typeof Reflect['decorate']==_0x52fadc(0x11d))_0x153ffb=Reflect['decorate'](_0x26a1c4,_0x3df899,_0x54f031,_0x1af9a7);else{for(var _0x2b9da6=_0x26a1c4[_0x52fadc(0x165)]-0x1;_0x2b9da6>=0x0;_0x2b9da6--)(_0x19dae3=_0x26a1c4[_0x2b9da6])&&(_0x153ffb=(_0x12a6b0<0x3?_0x19dae3(_0x153ffb):_0x12a6b0>0x3?_0x19dae3(_0x3df899,_0x54f031,_0x153ffb):_0x19dae3(_0x3df899,_0x54f031))||_0x153ffb);}return _0x12a6b0>0x3&&_0x153ffb&&Object[_0x52fadc(0xc1)](_0x3df899,_0x54f031,_0x153ffb),_0x153ffb;}let T=class extends t['Disposable']{constructor(_0x596665,_0x9b0951,_0x39b02c,_0x462b6b){const _0x33f056=_0x3f925b;super(),this[_0x33f056(0xd4)]=_0x596665,this['_injector']=_0x9b0951,this[_0x33f056(0x1db)]=_0x39b02c,this[_0x33f056(0x2ce)]=_0x462b6b,S(this,_0x33f056(0x329),new r['BehaviorSubject'](e[_0x33f056(0xfb)]['NOT_COLLAB'])),this[_0x33f056(0x336)](),this[_0x33f056(0x2dd)]();}[_0x3f925b(0x2dd)](){const _0x3e7e2c=_0x3f925b;this[_0x3e7e2c(0x1da)]((0x0,r[_0x3e7e2c(0x114)])(this[_0x3e7e2c(0xd4)][_0x3e7e2c(0xc2)],this[_0x3e7e2c(0xd4)]['getCurrentTypeOfUnit$'](t[_0x3e7e2c(0x244)]['UNIVER_DOC']),this[_0x3e7e2c(0xd4)][_0x3e7e2c(0xe1)](t[_0x3e7e2c(0x244)][_0x3e7e2c(0x173)]))[_0x3e7e2c(0xa2)]((0x0,i['map'])(()=>ie(this[_0x3e7e2c(0xd4)])),(0x0,i[_0x3e7e2c(0xa7)])(),(0x0,r['switchMap'])(_0x23a05c=>_0x23a05c?this[_0x3e7e2c(0x1db)][_0x3e7e2c(0x2d8)](_0x23a05c):(0x0,r['of'])(null)),(0x0,r[_0x3e7e2c(0x1d6)])(_0x3ea016=>_0x3ea016?_0x3ea016[_0x3e7e2c(0x341)]:(0x0,r['of'])(e[_0x3e7e2c(0xfb)][_0x3e7e2c(0x12b)])))['subscribe'](_0x49f8ab=>{const _0x104a25=_0x3e7e2c;this['_status$'][_0x104a25(0x2f7)](_0x49f8ab);}));}[_0x3f925b(0x336)](){const _0x283b28=_0x3f925b;this['disposeWithMe'](this['_uiPartsService'][_0x283b28(0x2a1)](n[_0x283b28(0x1c1)][_0x283b28(0x246)],()=>(0x0,n[_0x283b28(0x339)])(ae({'status$':this[_0x283b28(0x329)][_0x283b28(0x1a0)]()}),this['_injector'])));}};T=w([C(0x0,t[_0x3f925b(0x345)]),C(0x1,(0x0,t['Inject'])(t[_0x3f925b(0xcb)])),C(0x2,(0x0,t[_0x3f925b(0x2de)])(e['CollaborationController'])),C(0x3,n[_0x3f925b(0x293)])],T);function ie(_0x50d56d){const _0x272362=_0x3f925b;let _0x84dce2=_0x50d56d['getFocusedUnit'](),_0x1e4ae5=_0x84dce2==null?void 0x0:_0x84dce2[_0x272362(0x12e)]();if(_0x1e4ae5&&!(0x0,t[_0x272362(0x207)])(_0x1e4ae5))return _0x1e4ae5;let _0x260a7f=_0x50d56d['getCurrentUnitOfType'](t[_0x272362(0x244)]['UNIVER_DOC']),_0x2219df=_0x260a7f==null?void 0x0:_0x260a7f[_0x272362(0x12e)]();if(_0x2219df&&!(0x0,t[_0x272362(0x207)])(_0x2219df))return _0x2219df;let _0x8f368b=_0x50d56d[_0x272362(0x1cf)](t[_0x272362(0x244)][_0x272362(0x173)]);if(_0x8f368b)return _0x8f368b[_0x272362(0x12e)]();let _0x1715b6=_0x50d56d[_0x272362(0x121)](t[_0x272362(0x244)][_0x272362(0x1ad)])[_0x272362(0x16b)](_0x36c908=>!(0x0,t[_0x272362(0x207)])(_0x36c908['getUnitId']()));return _0x1715b6?_0x1715b6['getUnitId']():null;}function ae(_0xb5bbe2){let {status$:_0x111729}=_0xb5bbe2;return function(){const _0x383b45=_0x43e1;return(0x0,c[_0x383b45(0x142)])(te,{'status$':_0x111729});};}const E=(0x0,t[_0x3f925b(0x245)])(_0x3f925b(0x2ea));let D=class extends t[_0x3f925b(0x33e)]{constructor(_0x1dd40e,_0x110888,_0x4b8482,_0x2ade0c,_0x4437b7){const _0x233ab5=_0x3f925b;super(),this[_0x233ab5(0xcf)]=_0x1dd40e,this['_logService']=_0x110888,this['_commandService']=_0x4b8482,this[_0x233ab5(0xf5)]=_0x2ade0c,_0x4437b7?_0x4437b7==null||_0x4437b7['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x233ab5(0xec)](_0x233ab5(0x1a9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x233ab5(0x237)]());}async[_0x3f925b(0x237)](){const _0x2ae0fb=_0x3f925b;let _0xd17958=this[_0x2ae0fb(0xcf)][_0x2ae0fb(0x34f)](_0x2ae0fb(0x254)),_0x79df89=this[_0x2ae0fb(0xcf)][_0x2ae0fb(0x34f)](_0x2ae0fb(0x2b7)),_0x50acf7=this[_0x2ae0fb(0xcf)][_0x2ae0fb(0x34f)](_0x2ae0fb(0x120));if(!_0xd17958||!_0x79df89){this[_0x2ae0fb(0x32a)][_0x2ae0fb(0xec)](_0x2ae0fb(0x1a9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x1bf2dc=await this['_dataLoaderService'][_0x2ae0fb(0x18d)](_0xd17958,Number(_0x79df89),_0x50acf7);_0x1bf2dc&&_0x1bf2dc instanceof t[_0x2ae0fb(0x10c)]&&this[_0x2ae0fb(0x140)](_0x1bf2dc);}async[_0x3f925b(0x140)](_0x4b2b9a){const _0x8da850=_0x3f925b;await this[_0x8da850(0x2ca)](_0x4b2b9a),_0x4b2b9a[_0x8da850(0x352)][_0x8da850(0xa2)]((0x0,r['takeUntil'])(this['dispose$']))['subscribe'](_0x4f8de7=>{_0x4f8de7&&this['_updateURLWithCurrentState'](_0x4f8de7);}),this[_0x8da850(0xcf)][_0x8da850(0x29e)][_0x8da850(0xa2)]((0x0,r[_0x8da850(0xfd)])(this[_0x8da850(0x2d2)]))[_0x8da850(0x191)](()=>this[_0x8da850(0x2ca)](_0x4b2b9a));}[_0x3f925b(0x34d)](_0x5aebc2,_0x28540b=!0x1){const _0x255312=_0x3f925b;let _0x30724d=this[_0x255312(0xcf)][_0x255312(0x34f)]('subunit');_0x5aebc2[_0x255312(0x1df)]()!==_0x30724d&&this[_0x255312(0xcf)][_0x255312(0x2af)](_0x255312(0x120),_0x5aebc2['getSheetId'](),_0x28540b);}async[_0x3f925b(0x2ca)](_0x277ef7){const _0x1d59b0=_0x3f925b;var _0x4c4eb8;let _0x4eefbc=this[_0x1d59b0(0xcf)][_0x1d59b0(0x34f)](_0x1d59b0(0x120));if(!_0x4eefbc||!_0x277ef7['getSheetBySheetId'](_0x4eefbc)){let _0x4c3ebb=_0x277ef7[_0x1d59b0(0x2eb)]()[0x0],_0x44a204=_0x277ef7[_0x1d59b0(0xde)](_0x4c3ebb);if(!_0x44a204)return;this[_0x1d59b0(0x34d)](_0x44a204,!0x0),await this[_0x1d59b0(0x217)][_0x1d59b0(0xc3)](u['SetWorksheetActivateCommand']['id'],{'unitId':_0x277ef7[_0x1d59b0(0x12e)](),'subUnitId':_0x4c3ebb});return;}((_0x4c4eb8=_0x277ef7['getActiveSheet']())==null?void 0x0:_0x4c4eb8[_0x1d59b0(0x1df)]())!==_0x4eefbc&&await this['_commandService'][_0x1d59b0(0xc3)](u['SetWorksheetActivateCommand']['id'],{'unitId':_0x277ef7[_0x1d59b0(0x12e)](),'subUnitId':_0x4eefbc});}};D=w([C(0x0,E),C(0x1,t['ILogService']),C(0x2,t[_0x3f925b(0x1ea)]),C(0x3,(0x0,t['Inject'])(e[_0x3f925b(0x1a5)])),C(0x4,(0x0,t[_0x3f925b(0x1f5)])(l['IRemoteInstanceService']))],D);var oe=_0x3f925b(0x1cd),se=_0x3f925b(0x15a);const ce={};function _0x43e1(_0x462fb7,_0x4559c2){_0x462fb7=_0x462fb7-0x9a;const _0x1ffbf0=_0x1ffb();let _0x43e1a0=_0x1ffbf0[_0x462fb7];return _0x43e1a0;}let O=class extends t[_0x3f925b(0x33e)]{constructor(_0x32def5,_0xc98e62){const _0x58759b=_0x3f925b;super(),this[_0x58759b(0xef)]=_0x32def5,this[_0x58759b(0x1e9)]=_0xc98e62,this[_0x58759b(0x237)]();}[_0x3f925b(0x237)](){const _0x5d0945=_0x3f925b;let _0x469c25=this;this['disposeWithMe'](this['_docClipboardService'][_0x5d0945(0x278)]({'onBeforePasteImage':async _0x20c611=>{const _0x27caf9=_0x5d0945;let _0x1c45c7=await _0x469c25['_imageIoService']['saveImage'](_0x20c611);return _0x1c45c7?{'source':_0x1c45c7[_0x27caf9(0x11b)],'imageSourceType':_0x1c45c7[_0x27caf9(0x190)]}:null;}}));}};O=w([C(0x0,p['IDocClipboardService']),C(0x1,m['IImageIoService'])],O);const le=[_0x3f925b(0x1c8),'jiqing.500',_0x3f925b(0x29a),_0x3f925b(0xe8),_0x3f925b(0x1bf),_0x3f925b(0x2c5)];var k=class extends t[_0x3f925b(0x318)]{constructor(..._0x6fef3c){const _0x4907c3=_0x3f925b;super(..._0x6fef3c),S(this,_0x4907c3(0x102),new Map()),S(this,_0x4907c3(0x16a),0x0);}[_0x3f925b(0x1b6)](_0x3b02f6){const _0x374500=_0x3f925b;if(this[_0x374500(0x102)][_0x374500(0x355)](_0x3b02f6))return this[_0x374500(0x102)]['get'](_0x3b02f6);let _0x477f3a=le[this[_0x374500(0x16a)]];return this[_0x374500(0x16a)]=(this[_0x374500(0x16a)]+0x1)%le[_0x374500(0x165)],this[_0x374500(0x102)][_0x374500(0x128)](_0x3b02f6,_0x477f3a),_0x477f3a;}};function ue(_0x1da869){const _0x4111c9=_0x3f925b;let _0x4e6adc='';for(let _0x1b4002 of _0x1da869){let {startOffset:_0x2d5520,endOffset:_0x308d28,isActive:_0x1f8189,rangeType:_0x225695,segmentId:_0x36c12a,segmentPage:_0xd05ba5}=_0x1b4002;_0x4e6adc[_0x4111c9(0x165)]&&(_0x4e6adc+=','),_0x4e6adc+=_0x2d5520+':'+_0x308d28+':'+(_0x1f8189?'1':'0')+':'+_0x225695+':'+_0x36c12a+':'+_0xd05ba5;}return _0x4e6adc;}function de(_0x2faace){const _0x540e8f=_0x3f925b;let _0x565077=_0x2faace[_0x540e8f(0x2e6)](','),_0xbc31cf=[];for(let _0x3a526c of _0x565077){let [_0x2f2d07,_0x32b8a0,_0x352291,_0x252378,_0x454381,_0x5cf1d7]=_0x3a526c[_0x540e8f(0x2e6)](':');_0xbc31cf['push']({'startOffset':Number(_0x2f2d07),'endOffset':Number(_0x32b8a0),'collapsed':_0x2f2d07===_0x32b8a0,'isActive':_0x352291==='1','rangeType':_0x252378===t[_0x540e8f(0x2ab)][_0x540e8f(0x34e)]?t[_0x540e8f(0x2ab)][_0x540e8f(0x34e)]:t['DOC_RANGE_TYPE'][_0x540e8f(0x224)],'segmentId':typeof _0x454381==_0x540e8f(0xcc)?String(_0x454381):'','segmentPage':Number(_0x5cf1d7==null?-0x1:_0x5cf1d7)});}return _0xbc31cf[_0x540e8f(0xb9)](_0x5a4fba=>_0x5a4fba['isActive'])||(_0xbc31cf[0x0][_0x540e8f(0x2b9)]=!0x0),_0xbc31cf;}var A=class extends t['RxDisposable']{constructor(..._0xf0380c){const _0x58a7a4=_0x3f925b;super(..._0xf0380c),S(this,_0x58a7a4(0x359),new r[(_0x58a7a4(0x14a))](null)),S(this,_0x58a7a4(0x296),this[_0x58a7a4(0x359)][_0x58a7a4(0x1a0)]());}[_0x3f925b(0xe9)](_0x5c7827){const _0x138834=_0x3f925b;let {unitID:_0x1ad08a,memberID:_0x13c9df,textRanges:_0x40fec2}=_0x5c7827,_0x4408d2=ue(_0x40fec2);if(_0x4408d2==='')return;let _0x2a93cd={'unitID':_0x1ad08a,'memberID':_0x13c9df,'selection':_0x4408d2};this['_collabCursorState$'][_0x138834(0x2f7)](_0x2a93cd);}};let j=class extends t[_0x3f925b(0x33e)]{get[_0x3f925b(0x124)](){const _0x3bd6f1=_0x3f925b;return this[_0x3bd6f1(0xcd)][_0x3bd6f1(0xc5)]();}get[_0x3f925b(0x332)](){const _0x4fac5c=_0x3f925b;return this[_0x4fac5c(0x23b)][_0x4fac5c(0xc5)]();}constructor(_0x8deb06,_0x5df718,_0x1cace8,_0x3955d5,_0x1f8557,_0x17cde9,_0x4e7e29,_0x268858,_0x3cb2a1){const _0x3dc3f9=_0x3f925b;super(),this[_0x3dc3f9(0x17d)]=_0x8deb06,this[_0x3dc3f9(0x243)]=_0x5df718,this[_0x3dc3f9(0x1fc)]=_0x1cace8,this[_0x3dc3f9(0xe2)]=_0x3955d5,this['_memberService']=_0x1f8557,this[_0x3dc3f9(0x25e)]=_0x17cde9,this['_transformService']=_0x4e7e29,this[_0x3dc3f9(0xd4)]=_0x268858,this[_0x3dc3f9(0x217)]=_0x3cb2a1,S(this,'_online',!0x1),S(this,_0x3dc3f9(0x237),!0x1),S(this,_0x3dc3f9(0xcd),new r['BehaviorSubject'](new Map())),S(this,'cursorInfo$',this[_0x3dc3f9(0xcd)][_0x3dc3f9(0x1a0)]()),S(this,'_roomMembers$',new r[(_0x3dc3f9(0x14a))]([])),S(this,_0x3dc3f9(0x169),this['_roomMembers$']['pipe']((0x0,r[_0x3dc3f9(0x2b6)])(0x12c))),S(this,'_updateLocalCursor',(0x0,t[_0x3dc3f9(0x264)])(_0x4cc6ae=>{const _0x153048=_0x3dc3f9;let _0x3603aa={'eventID':h[_0x153048(0x2cb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x153048(0x17d)],'memberID':this[_0x153048(0x243)][_0x153048(0x32f)](),'selection':ue(_0x4cc6ae)}};this[_0x153048(0x243)][_0x153048(0x1cc)](_0x3603aa,this[_0x153048(0x17d)]);},0x64));}[_0x3f925b(0x171)](){const _0x5575a3=_0x3f925b;super['dispose'](),this[_0x5575a3(0xcd)]['next'](new Map()),this[_0x5575a3(0xcd)][_0x5575a3(0x20d)](),this[_0x5575a3(0x23b)][_0x5575a3(0x2f7)]([]),this[_0x5575a3(0x23b)][_0x5575a3(0x20d)]();}[_0x3f925b(0x20b)](){const _0x384d4e=_0x3f925b;this[_0x384d4e(0x237)]||(this[_0x384d4e(0x237)]=!0x0,this[_0x384d4e(0x243)][_0x384d4e(0x21a)][_0x384d4e(0xa2)]((0x0,r[_0x384d4e(0xfd)])(this[_0x384d4e(0x2d2)]))[_0x384d4e(0x191)](_0x2631f6=>{const _0x3dd638=_0x384d4e;_0x2631f6===e['SessionStatus'][_0x3dd638(0xd5)]?this[_0x3dd638(0xea)]():this[_0x3dd638(0x310)]();}),this[_0x384d4e(0x243)][_0x384d4e(0x2c9)][_0x384d4e(0xa2)]((0x0,r['takeUntil'])(this[_0x384d4e(0x2d2)]))[_0x384d4e(0x191)](_0x7aca59=>{const _0x213b02=_0x384d4e;let _0xdeecd6=_0x7aca59[_0x213b02(0x2da)];_0xdeecd6===h['CollaborationEvent'][_0x213b02(0x186)]&&this[_0x213b02(0x11e)](_0x7aca59),_0xdeecd6===h[_0x213b02(0x2cb)]['USERS_LEAVE']&&this[_0x213b02(0x14c)](_0x7aca59);}),this[_0x384d4e(0x1da)](this['_commandService'][_0x384d4e(0x30e)](_0x20c0a4=>{const _0x502f14=_0x384d4e;let _0x31b299=_0x20c0a4[_0x502f14(0x33a)];_0x31b299!=null&&this[_0x502f14(0x265)]&&_0x20c0a4['id']===g[_0x502f14(0x2ff)]['id']&&_0x31b299[_0x502f14(0x16f)]===this[_0x502f14(0x17d)]&&_0x31b299['isEditing']===!0x1&&_0x31b299['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x31b299['ranges']);})),this[_0x384d4e(0x25e)]['collabCursorState$'][_0x384d4e(0xa2)]((0x0,r['takeUntil'])(this[_0x384d4e(0x2d2)]))['subscribe'](_0x4aa0bb=>{const _0x55a035=_0x384d4e;if((_0x4aa0bb==null?void 0x0:_0x4aa0bb[_0x55a035(0x17d)])!==this[_0x55a035(0x17d)])return;let _0x2ee483={'eventID':h[_0x55a035(0x2cb)][_0x55a035(0x186)],'data':_0x4aa0bb};this[_0x55a035(0x11e)](_0x2ee483);}),this[_0x384d4e(0x1da)](this['_commandService']['onCommandExecuted'](_0x40c3b0=>{const _0x5815e0=_0x384d4e;if(_0x40c3b0[_0x5815e0(0x33a)]==null)return;let _0x17dfd4=_0x40c3b0[_0x5815e0(0x33a)];if(_0x40c3b0['id']!==g[_0x5815e0(0x1b5)]['id']||_0x17dfd4[_0x5815e0(0x16f)]!==this[_0x5815e0(0x17d)])return;let _0x48fc21={'id':'doc.mutation.rich-text-editing','params':_0x17dfd4},_0x428e8e=this[_0x5815e0(0x124)];for(let [_0x2444c3,_0x43400f]of _0x428e8e){let _0x3fd3b2={'id':_0x5815e0(0x10f),'params':{'unitId':this[_0x5815e0(0x17d)],'actions':null,'textRanges':_0x43400f[_0x5815e0(0x12d)]}},_0x5e5d65=this[_0x5815e0(0x26e)][_0x5815e0(0x155)](_0x48fc21,_0x3fd3b2,!0x1);if((0x0,h['isTransformMutationFailure'])(_0x5e5d65))throw _0x5e5d65['error'];_0x428e8e[_0x5815e0(0x128)](_0x2444c3,{..._0x43400f,'ranges':_0x5e5d65[_0x5815e0(0x1cb)][_0x5815e0(0x33a)][_0x5815e0(0x25b)]});}queueMicrotask(()=>{const _0x3942cb=_0x5815e0;this[_0x3942cb(0xcd)][_0x3942cb(0x2f7)](_0x428e8e);});})));}[_0x3f925b(0x11e)](_0x298e3d){const _0x48f3bd=_0x3f925b;var _0x3db99,_0x26f190;let {memberID:_0x43ad59,selection:_0x2bdfce}=_0x298e3d[_0x48f3bd(0x125)],_0x4cdab6=de(_0x2bdfce),_0x5bda5b=(_0x3db99=(_0x26f190=this[_0x48f3bd(0x1b3)]['getMember'](this[_0x48f3bd(0x17d)],_0x43ad59))==null?void 0x0:_0x26f190['name'])==null?_0x48f3bd(0x18a):_0x3db99,_0x285a1f={'color':this[_0x48f3bd(0xe2)][_0x48f3bd(0x1b6)](_0x43ad59),'name':_0x5bda5b,'ranges':_0x4cdab6},_0x17ca41=this[_0x48f3bd(0x124)];_0x17ca41[_0x48f3bd(0x128)](_0x43ad59,_0x285a1f),this['_cursorInfo$'][_0x48f3bd(0x2f7)](_0x17ca41);}[_0x3f925b(0x14c)](_0x78bf73){const _0x3cc229=_0x3f925b;let {memberID:_0x206cd1}=_0x78bf73[_0x3cc229(0x125)],_0x5c05fc=this['cursorInfo'];_0x5c05fc[_0x3cc229(0x19d)](_0x206cd1),this[_0x3cc229(0xcd)][_0x3cc229(0x2f7)](_0x5c05fc);}[_0x3f925b(0xea)](){const _0x30ebc5=_0x3f925b;var _0x1ae714;if(this[_0x30ebc5(0x265)]=!0x0,((_0x1ae714=this[_0x30ebc5(0xd4)][_0x30ebc5(0x234)]())==null?void 0x0:_0x1ae714[_0x30ebc5(0x12e)]())!==this[_0x30ebc5(0x17d)])return;let _0x34446a=this[_0x30ebc5(0x1fc)][_0x30ebc5(0x116)](g[_0x30ebc5(0x1f1)])[_0x30ebc5(0xb8)]();Array[_0x30ebc5(0x328)](_0x34446a)&&_0x34446a['length']>0x0&&this[_0x30ebc5(0x184)](_0x34446a);}[_0x3f925b(0x310)](){const _0x132994=_0x3f925b;this[_0x132994(0x265)]=!0x1;}};j=w([C(0x2,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0xcb)])),C(0x3,(0x0,t[_0x3f925b(0x2de)])(k)),C(0x4,(0x0,t['Inject'])(e['MemberService'])),C(0x5,(0x0,t[_0x3f925b(0x2de)])(A)),C(0x6,h[_0x3f925b(0x1ee)]),C(0x7,t[_0x3f925b(0x345)]),C(0x8,t[_0x3f925b(0x1ea)])],j);const fe=()=>{let _0x1e5cb7=[],_0x1bf0e7=!0x1;return _0x3666f6=>{const _0x27ff4a=_0x43e1;_0x1e5cb7[_0x27ff4a(0x267)](_0x3666f6),_0x1bf0e7||(_0x1bf0e7=!0x0,setTimeout(()=>{_0x1e5cb7['forEach'](_0x5abc1a=>_0x5abc1a()),_0x1e5cb7=[],_0x1bf0e7=!0x1;}));};};let M=class extends t[_0x3f925b(0x33e)]{get[_0x3f925b(0x124)](){const _0x10f77e=_0x3f925b;return this[_0x10f77e(0xcd)]['getValue']();}get[_0x3f925b(0x332)](){const _0x3e6b4c=_0x3f925b;return this['_roomMembers$'][_0x3e6b4c(0xc5)]();}constructor(_0x25fdb6,_0x463f0a,_0x19e4a3,_0xcb99f1,_0xe8938f,_0x1335ee,_0x1cfd99,_0x14f104){const _0x34a2ea=_0x3f925b;super(),this[_0x34a2ea(0x17d)]=_0x25fdb6,this['_session']=_0x463f0a,this[_0x34a2ea(0x1fc)]=_0x19e4a3,this[_0x34a2ea(0xe2)]=_0xcb99f1,this[_0x34a2ea(0x1b3)]=_0xe8938f,this[_0x34a2ea(0xd4)]=_0x1335ee,this[_0x34a2ea(0x217)]=_0x1cfd99,this[_0x34a2ea(0x1ca)]=_0x14f104,S(this,'_online',!0x1),S(this,_0x34a2ea(0x237),!0x1),S(this,'_cursorInfo$',new r[(_0x34a2ea(0x14a))](new Map())),S(this,_0x34a2ea(0x270),this['_cursorInfo$'][_0x34a2ea(0x1a0)]()),S(this,_0x34a2ea(0x23b),new r[(_0x34a2ea(0x14a))]([])),S(this,_0x34a2ea(0x169),this[_0x34a2ea(0x23b)][_0x34a2ea(0xa2)]((0x0,r[_0x34a2ea(0x2b6)])(0x12c))),S(this,_0x34a2ea(0x184),(0x0,t['debounce'])((_0x56d764,_0x2ba0b2)=>{const _0x7bd6af=_0x34a2ea;let _0x10e04a={'eventID':h[_0x7bd6af(0x2cb)][_0x7bd6af(0x186)],'data':{'unitID':this[_0x7bd6af(0x17d)],'memberID':this[_0x7bd6af(0x243)][_0x7bd6af(0x32f)](),'selection':(0x0,_[_0x7bd6af(0x347)])(_0x56d764,_0x2ba0b2[_0x7bd6af(0x232)])}};this['_session'][_0x7bd6af(0x1cc)](_0x10e04a,this[_0x7bd6af(0x17d)]);},0x64));}['dispose'](){const _0x42a954=_0x3f925b;super[_0x42a954(0x171)](),this[_0x42a954(0xcd)]['next'](new Map()),this[_0x42a954(0xcd)][_0x42a954(0x20d)](),this[_0x42a954(0x23b)][_0x42a954(0x2f7)]([]),this[_0x42a954(0x23b)][_0x42a954(0x20d)]();}[_0x3f925b(0x20b)](){const _0x3057e3=_0x3f925b;this[_0x3057e3(0x237)]||(this[_0x3057e3(0x237)]=!0x0,this[_0x3057e3(0x243)]['sessionStatus$']['pipe']((0x0,r['takeUntil'])(this[_0x3057e3(0x2d2)]))[_0x3057e3(0x191)](_0x5a70d9=>{const _0x3efc40=_0x3057e3;_0x5a70d9===e['SessionStatus'][_0x3efc40(0xd5)]?this[_0x3efc40(0xea)]():this['_toggleOffline']();}),this[_0x3057e3(0x243)]['event$'][_0x3057e3(0xa2)]((0x0,r[_0x3057e3(0xfd)])(this[_0x3057e3(0x2d2)]))['subscribe'](_0x3ff765=>{const _0x37e834=_0x3057e3;let _0x58e4fb=_0x3ff765['eventID'];_0x58e4fb===h[_0x37e834(0x2cb)][_0x37e834(0x186)]&&this[_0x37e834(0x11e)](_0x3ff765),_0x58e4fb===h['CollaborationEvent'][_0x37e834(0x1d4)]&&this[_0x37e834(0x14c)](_0x3ff765);}),this[_0x3057e3(0x227)](),this['disposeWithMe'](this['_commandService'][_0x3057e3(0x30e)](_0x2a797b=>{const _0x378ad7=_0x3057e3;if(this['_online']&&_0x2a797b['id']===u[_0x378ad7(0x1b9)]['id']&&_0x2a797b[_0x378ad7(0x33a)][_0x378ad7(0x16f)]===this[_0x378ad7(0x17d)]){let _0x9dc38f=_0x2a797b['params'];this[_0x378ad7(0x184)](_0x9dc38f['subUnitId'],_0x9dc38f[_0x378ad7(0x2e5)][0x0]);}})));}[_0x3f925b(0x11e)](_0x5638d3){const _0x37328c=_0x3f925b;var _0x23173a,_0x59f4df;let {memberID:_0x74987,selection:_0xe84bd2}=_0x5638d3[_0x37328c(0x125)],{sheetName:_0x136063,range:_0x168f4c}=(0x0,_[_0x37328c(0x213)])(_0xe84bd2),_0x8a24d3={'name':(_0x23173a=(_0x59f4df=this[_0x37328c(0x1b3)][_0x37328c(0x31a)](this[_0x37328c(0x17d)],_0x74987))==null?void 0x0:_0x59f4df[_0x37328c(0xdf)])==null?'Unknown\x20user':_0x23173a,'range':this[_0x37328c(0x139)](_0x136063,_0x168f4c),'sheetID':_0x136063,'color':this[_0x37328c(0xe2)][_0x37328c(0x1b6)](_0x74987),'selection':_0xe84bd2},_0x2e7986=this[_0x37328c(0x124)];_0x2e7986['set'](_0x74987,_0x8a24d3),this['_cursorInfo$'][_0x37328c(0x2f7)](_0x2e7986);}[_0x3f925b(0x14c)](_0x1ca5fd){const _0x30afad=_0x3f925b;let {memberID:_0x1cdd78}=_0x1ca5fd[_0x30afad(0x125)],_0x95d67b=this[_0x30afad(0x124)];_0x95d67b[_0x30afad(0x19d)](_0x1cdd78),this[_0x30afad(0xcd)][_0x30afad(0x2f7)](_0x95d67b);}[_0x3f925b(0x139)](_0x313db7,_0x1c229b){const _0x32176a=_0x3f925b;var _0x125775;let _0x29e71e=(_0x125775=this[_0x32176a(0xd4)][_0x32176a(0x13b)](this['unitID']))==null||(_0x125775=_0x125775[_0x32176a(0xde)](_0x313db7))==null?void 0x0:_0x125775[_0x32176a(0x32d)]();return(_0x29e71e==null?void 0x0:_0x29e71e[_0x32176a(0x16b)](_0x4b15c5=>t[_0x32176a(0x2a9)][_0x32176a(0x18f)](_0x4b15c5,_0x1c229b)))||_0x1c229b;}[_0x3f925b(0x227)](){const _0x3b0b09=_0x3f925b;let _0x4ef6ca=new t[(_0x3b0b09(0x14d))](),_0x47f6d7=fe(),_0x2b655e=()=>{const _0x582f79=_0x3b0b09;_0x4ef6ca[_0x582f79(0x171)]();let _0x41f365=(_0x3cdcd4,_0x116041,_0x1877e3,_0xb31845)=>{const _0x1c4dd1=_0x582f79;let _0xc24695=[];switch(_0x3cdcd4['id']){case u['EffectRefRangId'][_0x1c4dd1(0x308)]:_0xc24695=(0x0,u[_0x1c4dd1(0x19f)])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0x21b)]:_0xc24695=(0x0,u[_0x1c4dd1(0x151)])(_0x3cdcd4,_0xb31845);break;case u['EffectRefRangId'][_0x1c4dd1(0x2d7)]:_0xc24695=(0x0,u['handleInsertCol'])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0x144)]:_0xc24695=(0x0,u['handleInsertRangeMoveDown'])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0xce)]:_0xc24695=(0x0,u[_0x1c4dd1(0x303)])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0x337)]:_0xc24695=(0x0,u[_0x1c4dd1(0x27d)])(_0x3cdcd4,_0xb31845);break;case u['EffectRefRangId'][_0x1c4dd1(0x9d)]:_0xc24695=(0x0,u[_0x1c4dd1(0x35c)])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0x201)]:_0xc24695=(0x0,u[_0x1c4dd1(0x307)])(_0x3cdcd4,_0xb31845);break;case u[_0x1c4dd1(0x126)][_0x1c4dd1(0x236)]:_0xc24695=(0x0,u['handleIRemoveRow'])(_0x3cdcd4,_0xb31845);break;}let _0x3a7968=(0x0,u['runRefRangeMutations'])(_0xc24695,_0xb31845),_0x3697f1=this['cursorInfo']['get'](_0x116041);if(_0x3697f1&&_0x3a7968){let _0x387022={..._0x3697f1,'range':_0x3a7968};this['cursorInfo'][_0x1c4dd1(0x128)](_0x116041,_0x387022),_0x47f6d7(()=>{const _0x4d7173=_0x1c4dd1;let _0x67684e=this[_0x4d7173(0x1ca)][_0x4d7173(0xc9)](_0x3a7968,_0x191ce3=>(_0x67684e[_0x4d7173(0x171)](),_0x41f365(_0x191ce3,_0x116041,_0x1877e3,_0x3a7968)));_0x4ef6ca[_0x4d7173(0x2b1)](_0x67684e);});}return{'redos':[],'undos':[]};};this[_0x582f79(0x124)]['forEach']((_0xabbe7d,_0x3c33bd)=>{const _0x482268=_0x582f79;let {range:_0x3fdcee,sheetID:_0x1b8831}=_0xabbe7d,_0x1a46b3=this[_0x482268(0x1ca)]['registerRefRange'](_0x3fdcee,_0x34fd31=>(_0x1a46b3[_0x482268(0x171)](),_0x41f365(_0x34fd31,_0x3c33bd,_0x1b8831,_0x3fdcee)));_0x4ef6ca[_0x482268(0x2b1)](_0x1a46b3);});};this[_0x3b0b09(0x1da)]((0x0,t[_0x3b0b09(0x209)])(this[_0x3b0b09(0xcd)][_0x3b0b09(0x191)](()=>{_0x2b655e();})));}[_0x3f925b(0xea)](){const _0xbc8d2c=_0x3f925b;var _0x4a98fe,_0xd671a3;if(this[_0xbc8d2c(0x265)]=!0x0,((_0x4a98fe=this[_0xbc8d2c(0xd4)][_0xbc8d2c(0x234)]())==null?void 0x0:_0x4a98fe[_0xbc8d2c(0x12e)]())!==this[_0xbc8d2c(0x17d)])return;let _0x509793=(_0xd671a3=this[_0xbc8d2c(0x1fc)]['get'](u[_0xbc8d2c(0x233)])['getCurrentSelections']())==null?void 0x0:_0xd671a3[0x0],_0x9ff6ca=this[_0xbc8d2c(0xd4)][_0xbc8d2c(0x1cf)](t[_0xbc8d2c(0x244)][_0xbc8d2c(0x173)])['getActiveSheet']();_0x509793&&_0x9ff6ca&&this[_0xbc8d2c(0x184)](_0x9ff6ca[_0xbc8d2c(0x1df)](),_0x509793);}['_toggleOffline'](){this['_online']=!0x1;}};M=w([C(0x2,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0xcb)])),C(0x3,(0x0,t[_0x3f925b(0x2de)])(k)),C(0x4,(0x0,t[_0x3f925b(0x2de)])(e[_0x3f925b(0x10e)])),C(0x5,t[_0x3f925b(0x345)]),C(0x6,t[_0x3f925b(0x1ea)]),C(0x7,(0x0,t[_0x3f925b(0x2de)])(u[_0x3f925b(0x22e)]))],M);function pe(_0x3eb6a1){const _0x9010be=_0x3f925b;let _0x3c465c;try{_0x3c465c=JSON[_0x9010be(0x241)](_0x3eb6a1);}catch{return null;}if(typeof _0x3c465c!=_0x9010be(0x1dd)||!_0x3c465c)return null;let _0x43ec9f=_0x3c465c;if(_0x43ec9f[_0x9010be(0x187)]!==_0x9010be(0x279)||typeof _0x43ec9f[_0x9010be(0x16f)]!=_0x9010be(0xcc)||typeof _0x43ec9f['subUnitId']!=_0x9010be(0xcc))return null;let _0x510a20=Array[_0x9010be(0x328)](_0x43ec9f[_0x9010be(0x331)])?_0x43ec9f['selectedIds'][_0x9010be(0x107)](_0x172c4e=>typeof _0x172c4e=='string'):[],_0x88c565=typeof _0x43ec9f['focusedId']==_0x9010be(0xcc)?_0x43ec9f[_0x9010be(0x309)]:null;return{'kind':'slide-element-selection','unitId':_0x43ec9f[_0x9010be(0x16f)],'subUnitId':_0x43ec9f[_0x9010be(0x170)],'selectedIds':_0x510a20,'focusedId':_0x88c565};}let N=class extends t['RxDisposable']{get['cursorInfo'](){const _0x3c6dc8=_0x3f925b;return this[_0x3c6dc8(0xcd)][_0x3c6dc8(0xc5)]();}get[_0x3f925b(0x332)](){const _0x4518a6=_0x3f925b;return this['_roomMembers$'][_0x4518a6(0xc5)]();}constructor(_0x52b814,_0x373eaa,_0xac354d,_0x3609d5,_0x32be64){const _0x422c7e=_0x3f925b;super(),this[_0x422c7e(0x17d)]=_0x52b814,this[_0x422c7e(0x243)]=_0x373eaa,this[_0x422c7e(0xe2)]=_0xac354d,this[_0x422c7e(0x1b3)]=_0x3609d5,this[_0x422c7e(0x103)]=_0x32be64,S(this,_0x422c7e(0x265),!0x1),S(this,_0x422c7e(0x237),!0x1),S(this,'_cursorInfo$',new r[(_0x422c7e(0x14a))](new Map())),S(this,_0x422c7e(0x270),this[_0x422c7e(0xcd)][_0x422c7e(0x1a0)]()),S(this,_0x422c7e(0x23b),new r[(_0x422c7e(0x14a))]([])),S(this,_0x422c7e(0x169),this[_0x422c7e(0x23b)][_0x422c7e(0xa2)]((0x0,r['debounceTime'])(0x12c))),S(this,_0x422c7e(0x184),(0x0,t[_0x422c7e(0x264)])(_0x2f584a=>{const _0x5dc139=_0x422c7e;let _0xb6e6de=_0x2f584a['context'];if(!_0xb6e6de||_0xb6e6de[_0x5dc139(0x16f)]!==this[_0x5dc139(0x17d)])return;let _0x2950f3={'kind':_0x5dc139(0x279),'unitId':_0xb6e6de[_0x5dc139(0x16f)],'subUnitId':_0xb6e6de[_0x5dc139(0x170)],'selectedIds':_0x2f584a[_0x5dc139(0x331)][_0x5dc139(0x107)](_0x40de66=>typeof _0x40de66==_0x5dc139(0xcc)),'focusedId':_0x2f584a[_0x5dc139(0x309)]},_0x142cf7={'eventID':h[_0x5dc139(0x2cb)][_0x5dc139(0x186)],'data':{'unitID':this[_0x5dc139(0x17d)],'memberID':this[_0x5dc139(0x243)]['getMemberID'](),'selection':JSON[_0x5dc139(0x177)](_0x2950f3)}};this[_0x5dc139(0x243)]['send'](_0x142cf7,this[_0x5dc139(0x17d)]);},0x64));}[_0x3f925b(0x171)](){const _0x56faa3=_0x3f925b;super['dispose'](),this[_0x56faa3(0xcd)][_0x56faa3(0x2f7)](new Map()),this['_cursorInfo$'][_0x56faa3(0x20d)](),this['_roomMembers$'][_0x56faa3(0x2f7)]([]),this[_0x56faa3(0x23b)][_0x56faa3(0x20d)]();}['init'](){const _0x3af42c=_0x3f925b;this[_0x3af42c(0x237)]||(this['_init']=!0x0,this[_0x3af42c(0x243)]['sessionStatus$']['pipe']((0x0,r[_0x3af42c(0xfd)])(this[_0x3af42c(0x2d2)]))[_0x3af42c(0x191)](_0x569e75=>{const _0x1900df=_0x3af42c;_0x569e75===e[_0x1900df(0x34a)]['ONLINE']?this['_toggleOnline']():this[_0x1900df(0x310)]();}),this[_0x3af42c(0x243)][_0x3af42c(0x2c9)][_0x3af42c(0xa2)]((0x0,r[_0x3af42c(0xfd)])(this[_0x3af42c(0x2d2)]))['subscribe'](_0x5d9456=>{const _0x5884e=_0x3af42c;let _0x415341=_0x5d9456[_0x5884e(0x2da)];_0x415341===h['CollaborationEvent'][_0x5884e(0x186)]&&this[_0x5884e(0x11e)](_0x5d9456),_0x415341===h[_0x5884e(0x2cb)][_0x5884e(0x1d4)]&&this['_onCursorDelete'](_0x5d9456);}),this[_0x3af42c(0x103)][_0x3af42c(0xb5)][_0x3af42c(0xa2)]((0x0,r[_0x3af42c(0xfd)])(this[_0x3af42c(0x2d2)]))['subscribe'](_0x1361ad=>{const _0x47f5ca=_0x3af42c;this[_0x47f5ca(0x265)]&&this[_0x47f5ca(0x184)](_0x1361ad);}));}['_onCursorUpdate'](_0x34d1a7){const _0x4e970e=_0x3f925b;var _0x245884,_0x3d67a8,_0x27cc7c,_0x54b5c9;let {memberID:_0xd7d582,selection:_0x4d073e}=_0x34d1a7['data'];if(_0xd7d582===((_0x245884=(_0x3d67a8=this[_0x4e970e(0x243)])[_0x4e970e(0x32f)])==null?void 0x0:_0x245884['call'](_0x3d67a8)))return;let _0x37fa79=pe(_0x4d073e);if(!_0x37fa79||_0x37fa79[_0x4e970e(0x16f)]!==this['unitID'])return;let _0x1439f3=(_0x27cc7c=(_0x54b5c9=this['_memberService'][_0x4e970e(0x31a)](this[_0x4e970e(0x17d)],_0xd7d582))==null?void 0x0:_0x54b5c9[_0x4e970e(0xdf)])==null?_0x4e970e(0x18a):_0x27cc7c,_0x55d7ba={'color':this['_colorAssignService'][_0x4e970e(0x1b6)](_0xd7d582),'name':_0x1439f3,'unitId':_0x37fa79[_0x4e970e(0x16f)],'subUnitId':_0x37fa79['subUnitId'],'selectedIds':_0x37fa79['selectedIds'],'focusedId':_0x37fa79[_0x4e970e(0x309)],'selection':_0x4d073e},_0x776402=new Map(this[_0x4e970e(0x124)]);_0x776402[_0x4e970e(0x128)](_0xd7d582,_0x55d7ba),this['_cursorInfo$'][_0x4e970e(0x2f7)](_0x776402);}[_0x3f925b(0x14c)](_0x33c7ec){const _0x4c18ca=_0x3f925b;let {memberID:_0x50542a}=_0x33c7ec[_0x4c18ca(0x125)],_0x4c5ca3=new Map(this[_0x4c18ca(0x124)]);_0x4c5ca3['delete'](_0x50542a),this['_cursorInfo$'][_0x4c18ca(0x2f7)](_0x4c5ca3);}['_toggleOnline'](){const _0x118189=_0x3f925b;this['_online']=!0x0,this[_0x118189(0x184)](this['_slideDrawingStateService'][_0x118189(0x2e2)]());}[_0x3f925b(0x310)](){this['_online']=!0x1;}};N=w([C(0x2,(0x0,t[_0x3f925b(0x2de)])(k)),C(0x3,(0x0,t['Inject'])(e[_0x3f925b(0x10e)])),C(0x4,(0x0,t[_0x3f925b(0x2de)])(v['ISlideDrawingStateService']))],N);let P=class extends t[_0x3f925b(0x33e)]{constructor(_0x589788,_0x13ff4c,_0x168d9f){const _0x132cff=_0x3f925b;super(),this[_0x132cff(0xd4)]=_0x589788,this[_0x132cff(0x1fc)]=_0x13ff4c,this[_0x132cff(0x29f)]=_0x168d9f,S(this,_0x132cff(0x2aa),new Map()),S(this,'_entityInit$',new r['Subject']()),this[_0x132cff(0x237)]();}[_0x3f925b(0x171)](){const _0x10f56e=_0x3f925b;super['dispose'](),this[_0x10f56e(0x2c6)][_0x10f56e(0x20d)](),this[_0x10f56e(0x2aa)][_0x10f56e(0xbd)](_0x3bd00c=>_0x3bd00c[_0x10f56e(0x171)]());}[_0x3f925b(0x27f)](_0x119f2f){const _0x2cd978=_0x3f925b;return this[_0x2cd978(0x2aa)][_0x2cd978(0x355)](_0x119f2f)?this[_0x2cd978(0x2aa)][_0x2cd978(0x116)](_0x119f2f)[_0x2cd978(0x270)]:this[_0x2cd978(0x2c6)]['pipe']((0x0,r[_0x2cd978(0x107)])(_0x456856=>_0x456856[_0x2cd978(0x17d)]===_0x119f2f),(0x0,r[_0x2cd978(0x1d6)])(_0x5f3f86=>_0x5f3f86[_0x2cd978(0x270)]));}[_0x3f925b(0x237)](){const _0x36172b=_0x3f925b;this['_univerInstanceService'][_0x36172b(0x35e)](t['UniverInstanceType'][_0x36172b(0x173)])[_0x36172b(0xa2)]((0x0,r[_0x36172b(0xfd)])(this['dispose$']))['subscribe'](async _0x27ed87=>{const _0x5857f5=_0x36172b;let _0x17e6f0=_0x27ed87['unit'][_0x5857f5(0x12e)](),_0x2f646d=await this[_0x5857f5(0x22c)](_0x17e6f0);this[_0x5857f5(0x2c6)][_0x5857f5(0x2f7)](_0x2f646d),this[_0x5857f5(0x2aa)][_0x5857f5(0x128)](_0x17e6f0,_0x2f646d);}),this[_0x36172b(0xd4)][_0x36172b(0x35e)](t[_0x36172b(0x244)][_0x36172b(0x1ad)])['pipe']((0x0,r['takeUntil'])(this[_0x36172b(0x2d2)]))[_0x36172b(0xa2)]((0x0,r['filter'])(_0x1411d6=>!_0x1411d6[_0x36172b(0x254)][_0x36172b(0x12e)]()['startsWith']('__')))[_0x36172b(0x191)](async _0x3ccb8b=>{const _0x3c9b6a=_0x36172b;let {unit:_0x52d6b4}=_0x3ccb8b,_0x303f45=_0x52d6b4[_0x3c9b6a(0x12e)](),_0x7937a6=await this['_startDocCollabCursor'](_0x303f45);this[_0x3c9b6a(0x2c6)][_0x3c9b6a(0x2f7)](_0x7937a6),this[_0x3c9b6a(0x2aa)][_0x3c9b6a(0x128)](_0x303f45,_0x7937a6);}),this[_0x36172b(0xd4)]['getTypeOfUnitAdded$'](t['UniverInstanceType']['UNIVER_SLIDE'])['pipe']((0x0,r[_0x36172b(0xfd)])(this['dispose$']))['subscribe'](async _0x3cbf8e=>{const _0x41819b=_0x36172b;let _0x6ddb4=_0x3cbf8e['unit']['getUnitId'](),_0x56a809=await this[_0x41819b(0x344)](_0x6ddb4);this['_entityInit$'][_0x41819b(0x2f7)](_0x56a809),this[_0x41819b(0x2aa)][_0x41819b(0x128)](_0x6ddb4,_0x56a809);}),(0x0,r['merge'])(this['_univerInstanceService'][_0x36172b(0x181)](t[_0x36172b(0x244)][_0x36172b(0x1ad)]),this[_0x36172b(0xd4)][_0x36172b(0x181)](t['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](t[_0x36172b(0x244)][_0x36172b(0xaa)]))[_0x36172b(0xa2)]((0x0,r['takeUntil'])(this[_0x36172b(0x2d2)]))[_0x36172b(0x191)](_0x5651d9=>{const _0x5d7f4e=_0x36172b;let _0x779f75=_0x5651d9[_0x5d7f4e(0x12e)](),_0x4253d8=this['_entities'][_0x5d7f4e(0x116)](_0x779f75);_0x4253d8&&(_0x4253d8[_0x5d7f4e(0x171)](),this[_0x5d7f4e(0x2aa)]['delete'](_0x779f75));});}async[_0x3f925b(0x22c)](_0x233516){const _0x528b6f=_0x3f925b;let _0x30a70a=await this[_0x528b6f(0x29f)][_0x528b6f(0xc4)](_0x233516),_0x1b5e0e=this[_0x528b6f(0x1fc)][_0x528b6f(0x229)](M,_0x233516,_0x30a70a);return _0x1b5e0e[_0x528b6f(0x20b)](),_0x1b5e0e;}async[_0x3f925b(0x283)](_0x55e046){const _0x26d023=_0x3f925b;let _0x3bf34a=await this[_0x26d023(0x29f)]['requireSession'](_0x55e046),_0x469130=this[_0x26d023(0x1fc)][_0x26d023(0x229)](j,_0x55e046,_0x3bf34a);return _0x469130[_0x26d023(0x20b)](),_0x469130;}async[_0x3f925b(0x344)](_0x443ccb){const _0x258b61=_0x3f925b;let _0xb07a73=await this[_0x258b61(0x29f)]['requireSession'](_0x443ccb),_0x2838b8=this[_0x258b61(0x1fc)][_0x258b61(0x229)](N,_0x443ccb,_0xb07a73);return _0x2838b8[_0x258b61(0x20b)](),_0x2838b8;}};P=w([C(0x0,t['IUniverInstanceService']),C(0x1,(0x0,t[_0x3f925b(0x2de)])(t['Injector'])),C(0x2,(0x0,t[_0x3f925b(0x2de)])(e[_0x3f925b(0x2a6)]))],P);function me(_0x5cef9b,_0x58226a){const _0x2e0754=_0x3f925b;var _0x4cbf38,_0x14eff0,_0x13b262;let {radius:_0x309f58,width:_0x5a4e06,height:_0x35643b}=_0x58226a;_0x309f58=(_0x4cbf38=_0x309f58)==null?0x0:_0x4cbf38,_0x5a4e06=(_0x14eff0=_0x5a4e06)==null?0x1e:_0x14eff0,_0x35643b=(_0x13b262=_0x35643b)==null?0x1e:_0x13b262;let _0x3fc6ca=0x0,_0x518c66=0x0,_0x2b8bad=0x0;_0x3fc6ca=_0x518c66=_0x2b8bad=Math[_0x2e0754(0x2d9)](_0x309f58,_0x5a4e06/0x2,_0x35643b/0x2),_0x5cef9b[_0x2e0754(0x2c0)](),_0x5cef9b[_0x2e0754(0x281)](_0x3fc6ca,0x0),_0x5cef9b['lineTo'](_0x5a4e06-_0x518c66,0x0),_0x5cef9b[_0x2e0754(0xa9)](_0x5a4e06-_0x518c66,_0x518c66,_0x518c66,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cef9b['lineTo'](_0x5a4e06,_0x35643b-_0x2b8bad),_0x5cef9b[_0x2e0754(0xa9)](_0x5a4e06-_0x2b8bad,_0x35643b-_0x2b8bad,_0x2b8bad,0x0,Math['PI']/0x2,!0x1),_0x5cef9b[_0x2e0754(0x2b2)](0x0,_0x35643b),_0x5cef9b[_0x2e0754(0x2b2)](0x0,_0x3fc6ca),_0x5cef9b['arc'](_0x3fc6ca,_0x3fc6ca,_0x3fc6ca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cef9b['closePath'](),_0x58226a['fill']&&(_0x5cef9b['save'](),_0x5cef9b[_0x2e0754(0xae)]=_0x58226a[_0x2e0754(0x14b)],_0x58226a[_0x2e0754(0x273)]==='evenodd'?_0x5cef9b[_0x2e0754(0x14b)]('evenodd'):_0x5cef9b[_0x2e0754(0x14b)](),_0x5cef9b[_0x2e0754(0x27b)]());}var F=class e extends d[_0x3f925b(0x1af)]{constructor(_0x4ea0a8,_0x5b94f8){const _0x542664=_0x3f925b;super(_0x4ea0a8,_0x5b94f8),S(this,_0x542664(0x17c),void 0x0),S(this,_0x542664(0xb2),void 0x0),this[_0x542664(0x17c)]=_0x5b94f8==null?void 0x0:_0x5b94f8[_0x542664(0x17c)],this[_0x542664(0xb2)]=_0x5b94f8==null?void 0x0:_0x5b94f8[_0x542664(0xb2)];}static[_0x3f925b(0x28b)](_0xb6878d,_0x36fca3){const _0x5c623a=_0x3f925b;let {text:_0x1da7f5,color:_0x359bca}=_0x36fca3;_0xb6878d[_0x5c623a(0x34c)](),_0xb6878d['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x213b00=_0xb6878d[_0x5c623a(0x23d)](_0x1da7f5)[_0x5c623a(0x154)];if(me(_0xb6878d,{'height':0x14,'radius':0x4,'width':Math[_0x5c623a(0x2d9)](_0x213b00+0x8,0xc8),'fill':_0x359bca,'evented':!0x1}),_0xb6878d['fillStyle']='#FFF',_0x213b00>0xc0){let _0x316a4f='',_0x10223e=0x0;for(let _0x579774 of _0x1da7f5){let _0x2868de=_0xb6878d[_0x5c623a(0x23d)](_0x579774)[_0x5c623a(0x154)];if(_0x10223e+_0x2868de<=0xc0-_0xb6878d['measureText'](_0x5c623a(0x189))[_0x5c623a(0x154)])_0x316a4f+=_0x579774,_0x10223e+=_0x2868de;else{_0x316a4f+=_0x5c623a(0x189);break;}}_0xb6878d[_0x5c623a(0x30c)](_0x316a4f,0x4,0xf);}else _0xb6878d[_0x5c623a(0x30c)](_0x1da7f5,0x4,0xf);_0xb6878d[_0x5c623a(0x27b)]();}['_draw'](_0x254fce){const _0x5151b7=_0x3f925b;e[_0x5151b7(0x28b)](_0x254fce,this);}};const I='collab-text-anchor-';var L=class{constructor(_0x34420c,_0x3138f7,_0x16f3b8,_0xa969ac){const _0x3f1e72=_0x3f925b;this[_0x3f1e72(0x2d3)]=_0x34420c,this['_scene']=_0x3138f7,this[_0x3f1e72(0x1a6)]=_0x16f3b8,this[_0x3f1e72(0x27e)]=_0xa969ac,S(this,_0x3f1e72(0x137),[]),S(this,'_anchor',null),S(this,_0x3f1e72(0x11a),null),S(this,_0x3f1e72(0x18b),null),S(this,_0x3f1e72(0x1e4),null),S(this,_0x3f1e72(0x300),null),this[_0x3f1e72(0x179)]();}set[_0x3f925b(0x321)](_0x142565){const _0x52fd8b=_0x3f925b;_0x142565?(this[_0x52fd8b(0x18b)]&&this[_0x52fd8b(0x18b)][_0x52fd8b(0x141)](),this[_0x52fd8b(0x11a)]&&this['_textBubble']['show']()):(this[_0x52fd8b(0x18b)]&&this[_0x52fd8b(0x18b)][_0x52fd8b(0x9f)](),this[_0x52fd8b(0x11a)]&&this[_0x52fd8b(0x11a)][_0x52fd8b(0x141)]());}['dispose'](){const _0x7542b=_0x3f925b;for(let _0x212ed5 of this[_0x7542b(0x137)])_0x212ed5[_0x7542b(0x171)]();this['_textBubble']&&this[_0x7542b(0x11a)][_0x7542b(0x171)](),this[_0x7542b(0x18b)]&&this['_anchorDot'][_0x7542b(0x171)](),this['_anchor']&&this[_0x7542b(0x1e5)][_0x7542b(0x171)](),this[_0x7542b(0x300)]&&this[_0x7542b(0x300)]();}[_0x3f925b(0x179)](){const _0x438045=_0x3f925b;let {_docSkeleton:_0x344bc0,_document:_0x4ad445}=this,{color:_0x184186,name:_0x57c1c4,ranges:_0x4d8bf7}=this[_0x438045(0x2d3)],_0x3b5f1c=_0x4ad445[_0x438045(0x2bb)](),{docsLeft:_0x5915a8,docsTop:_0x4fffa0}=_0x3b5f1c,_0x209151=new p[(_0x438045(0x315))](_0x3b5f1c,_0x344bc0);for(let {startOffset:_0x4777d0,endOffset:_0x487a36,rangeType:_0x5bcb3c,segmentId:_0x4ed4e6,segmentPage:_0x431e95,collapsed:_0x161830,isActive:_0x40be3e}of _0x4d8bf7){let _0x2b8b25=_0x344bc0['findNodePositionByCharIndex'](_0x4777d0,!0x0,_0x4ed4e6,_0x431e95),_0x427af9=_0x344bc0[_0x438045(0x298)](_0x487a36,!0x0,_0x4ed4e6,_0x431e95);if(_0x427af9==null&&(_0x427af9=_0x344bc0['findNodePositionByCharIndex'](_0x487a36-0x1,!0x1,_0x4ed4e6,_0x431e95)),_0x40be3e){let {contentBoxPointGroup:_0x170958}=_0x209151[_0x438045(0x1b0)](_0x427af9,_0x427af9);if(_0x170958[_0x438045(0x165)]===0x0)continue;this[_0x438045(0x1d0)](_0x184186,_0x170958,_0x5915a8,_0x4fffa0,_0x57c1c4),this['_eventUnsubscribe']=this[_0x438045(0x289)]();}if(_0x2b8b25&&_0x427af9){if(_0x5bcb3c===t[_0x438045(0x2ab)][_0x438045(0x224)]){var _0x586bb9;let {pointGroup:_0x13e08b}=(_0x586bb9=new p['NodePositionConvertToRectRange'](_0x3b5f1c,_0x344bc0)['getRangePointData'](_0x2b8b25,_0x427af9))==null?{}:_0x586bb9;if(_0x13e08b==null||_0x13e08b['length']===0x0)continue;this[_0x438045(0x255)](_0x184186,_0x13e08b,_0x5915a8,_0x4fffa0);}else{if(!_0x161830){let {borderBoxPointGroup:_0x2d3bc8}=_0x209151[_0x438045(0x1b0)](_0x2b8b25,_0x427af9);if(_0x2d3bc8[_0x438045(0x165)]===0x0)continue;this[_0x438045(0x2ad)](_0x184186,_0x2d3bc8,_0x5915a8,_0x4fffa0);}}}}}['_drawAnchor'](_0x5e1db5,_0x470b03,_0x3227b9,_0x2bbf48,_0x1c09d3){const _0xb9a206=_0x3f925b;let {left:_0x40a20e,top:_0x4de4d2,height:_0x3767e1}=this[_0xb9a206(0x312)](_0x470b03),_0x1761d1=1.5/this[_0xb9a206(0x2a0)](),_0x58de99=new d[(_0xb9a206(0x2ec))](I+(0x0,t[_0xb9a206(0x1fa)])(0x6),{'left':_0x40a20e+_0x3227b9-_0x1761d1,'top':_0x4de4d2+_0x2bbf48,'height':_0x3767e1,'width':1.5,'fill':_0x5e1db5||(0x0,d[_0xb9a206(0x1bb)])(t['COLORS'][_0xb9a206(0x182)],0x0),'strokeWidth':_0x1761d1,'stroke':_0xb9a206(0x2bd),'evented':!0x0});this[_0xb9a206(0x1e5)]=_0x58de99,this[_0xb9a206(0x2e4)]['addObject'](_0x58de99,p[_0xb9a206(0x2fa)]);let _0x1a8507=new d[(_0xb9a206(0x2ec))](I+(0x0,t[_0xb9a206(0x1fa)])(0x6),{'left':_0x40a20e+_0x3227b9-_0x1761d1,'top':_0x4de4d2+_0x2bbf48-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5e1db5||(0x0,d['getColor'])(t['COLORS'][_0xb9a206(0x182)],0x0),'strokeWidth':0x0,'stroke':_0x5e1db5||(0x0,d['getColor'])(t['COLORS'][_0xb9a206(0x182)],0x0),'evented':!0x1});this[_0xb9a206(0x18b)]=_0x1a8507,this[_0xb9a206(0x2e4)]['addObject'](_0x1a8507,p[_0xb9a206(0x2fa)]);let _0x8b4d7=new F(I+(0x0,t[_0xb9a206(0x1fa)])(0x6),{'left':_0x40a20e+_0x3227b9-_0x1761d1,'top':_0x4de4d2+_0x2bbf48-0x14,'text':_0x1c09d3,'color':_0x5e1db5});this[_0xb9a206(0x11a)]=_0x8b4d7,this[_0xb9a206(0x2e4)][_0xb9a206(0x2f9)](_0x8b4d7,p['TEXT_RANGE_LAYER_INDEX']),this[_0xb9a206(0x321)]=!0x1;}[_0x3f925b(0x289)](){const _0x47afe2=_0x3f925b;let _0xcc81ee=this[_0x47afe2(0x1e5)]['onPointerEnter$'][_0x47afe2(0x1e2)](()=>{this['_hover']=!0x0;}),_0x11b6ea=this[_0x47afe2(0x1e5)][_0x47afe2(0x16e)]['subscribeEvent'](()=>{const _0x59242b=_0x47afe2;this['_hideTimer']&&clearTimeout(this[_0x59242b(0x1e4)]),this[_0x59242b(0x1e4)]=setTimeout(()=>{const _0x2709c4=_0x59242b;this[_0x2709c4(0x321)]=!0x1;},0x7d0);});return()=>{_0xcc81ee['unsubscribe'](),_0x11b6ea['unsubscribe']();};}[_0x3f925b(0x2ad)](_0x2e1eec,_0x27e22d,_0x2b7897,_0xd445d0){const _0x498acc=_0x3f925b;let _0x376e72=0.2,_0x49b0ac=new t[(_0x498acc(0x1d3))](_0x2e1eec)[_0x498acc(0x274)](_0x376e72)[_0x498acc(0x33c)](),_0x3841d7=new d[(_0x498acc(0x30f))](_0x498acc(0x1ef)+(0x0,t[_0x498acc(0x1fa)])(0x6),{'pointsGroup':_0x27e22d,'fill':_0x49b0ac||(0x0,d[_0x498acc(0x1bb)])(t[_0x498acc(0x13e)]['black'],_0x376e72),'left':_0x2b7897,'top':_0xd445d0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x498acc(0x267)](_0x3841d7),this[_0x498acc(0x2e4)][_0x498acc(0x2f9)](_0x3841d7,p[_0x498acc(0x2fa)]);}[_0x3f925b(0x255)](_0x1590fb,_0x4cfcb6,_0x3566ea,_0x20b2a4){const _0x42c3bc=_0x3f925b;let _0x1073ca=0.2,_0x5e1ad1=new t[(_0x42c3bc(0x1d3))](_0x1590fb)[_0x42c3bc(0x274)](_0x1073ca)[_0x42c3bc(0x33c)](),_0x6a467d=new d[(_0x42c3bc(0x30f))](_0x42c3bc(0x2fb)+(0x0,t['generateRandomId'])(0x6),{'pointsGroup':_0x4cfcb6,'fill':_0x5e1ad1||(0x0,d[_0x42c3bc(0x1bb)])(t[_0x42c3bc(0x13e)][_0x42c3bc(0x182)],_0x1073ca),'left':_0x3566ea,'top':_0x20b2a4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x6a467d),this['_scene'][_0x42c3bc(0x2f9)](_0x6a467d,p[_0x42c3bc(0x2fa)]);}[_0x3f925b(0x312)](_0x5d7876){let _0x1e5bf4=_0x5d7876[0x0],_0x49a58e=_0x1e5bf4[0x0],_0x1dedf9=_0x1e5bf4[0x2],{x:_0x57c7bd,y:_0x224576}=_0x49a58e,{x:_0x6c406e,y:_0x11abad}=_0x1dedf9;return{'left':_0x57c7bd,'top':_0x224576,'width':_0x6c406e-_0x57c7bd,'height':_0x11abad-_0x224576};}[_0x3f925b(0x2a0)](){const _0x595eca=_0x3f925b;let {scaleX:_0x4bdf5c,scaleY:_0x324340}=this[_0x595eca(0x2e4)]['getAncestorScale']();return Math[_0x595eca(0x252)](_0x4bdf5c,_0x324340);}};let R=class extends t[_0x3f925b(0x33e)]{constructor(_0x6d33e2,_0x1e65f2,_0x516976,_0x10001c,_0x1a3b77){const _0x13fc5e=_0x3f925b;super(),this['_context']=_0x6d33e2,this[_0x13fc5e(0x25d)]=_0x1e65f2,this[_0x13fc5e(0xdb)]=_0x516976,this[_0x13fc5e(0x217)]=_0x10001c,this[_0x13fc5e(0x129)]=_0x1a3b77,S(this,_0x13fc5e(0x235),[]),S(this,_0x13fc5e(0xe0),[]),this['_init']();}[_0x3f925b(0x237)](){const _0x272f3c=_0x3f925b;let _0x27775f=this[_0x272f3c(0x194)][_0x272f3c(0x16f)],_0x2de73e=this['_docSkeletonManagerService'];this[_0x272f3c(0x1da)]((0x0,r[_0x272f3c(0x2df)])([this[_0x272f3c(0xdb)][_0x272f3c(0x27f)](_0x27775f),this[_0x272f3c(0x129)][_0x272f3c(0x1ab)]])['pipe']((0x0,i['map'])(([_0x379dd0,_0x3293e1])=>({'skeleton':_0x2de73e[_0x272f3c(0x238)](),'cursors':[..._0x379dd0['values']()][_0x272f3c(0x2a8)](_0x54458e=>({..._0x54458e,'color':this['_themeService'][_0x272f3c(0x13f)](_0x54458e['color'])}))})))[_0x272f3c(0x191)](_0x16be65=>{const _0x14569a=_0x272f3c;if(this[_0x14569a(0x349)](),_0x16be65){let {skeleton:_0x2a63f3,cursors:_0x2acdc1}=_0x16be65;this[_0x14569a(0x258)](_0x2a63f3,_0x2acdc1);}})),this[_0x272f3c(0xf9)](),this[_0x272f3c(0xd7)]();}[_0x3f925b(0x258)](_0x18208d,_0x189687){const _0x3bbc29=_0x3f925b;let {scene:_0x4913b3,mainComponent:_0x3227cf}=this['_context'],_0x4fe378=_0x189687[_0x3bbc29(0x33f)](_0x2f8d72=>new L(_0x2f8d72,_0x4913b3,_0x18208d,_0x3227cf));this[_0x3bbc29(0x235)]=_0x4fe378,this[_0x3bbc29(0xe0)]=_0x189687;}['_refreshCollabCursors'](){const _0x17ce13=_0x3f925b;this[_0x17ce13(0x349)]();let {scene:_0x1b0477,mainComponent:_0x3858f5}=this[_0x17ce13(0x194)],_0x15de6d=this[_0x17ce13(0x25d)][_0x17ce13(0x238)](),_0x30119d=this[_0x17ce13(0xe0)][_0x17ce13(0x33f)](_0x30d21c=>new L(_0x30d21c,_0x1b0477,_0x15de6d,_0x3858f5));this[_0x17ce13(0x235)]=_0x30119d;}['_removeCollabCursors'](){const _0x2e3133=_0x3f925b;this[_0x2e3133(0x235)]['forEach'](_0x173c3c=>_0x173c3c['dispose']()),this[_0x2e3133(0x235)]=[];}[_0x3f925b(0xd7)](){const _0x218db0=_0x3f925b;let _0x52d835=[p[_0x218db0(0xf8)]['id']];this[_0x218db0(0x1da)](this[_0x218db0(0x217)]['onCommandExecuted'](_0x533211=>{const _0x473a15=_0x218db0;_0x52d835[_0x473a15(0x146)](_0x533211['id'])&&_0x533211['params']['unitId']===this[_0x473a15(0x194)]['unitId']&&this[_0x473a15(0x32b)]();}));}[_0x3f925b(0xf9)](){const _0x5a3578=_0x3f925b;this[_0x5a3578(0x1da)]((0x0,t[_0x5a3578(0x12c)])(this[_0x5a3578(0x194)][_0x5a3578(0x230)]['onTransformChange$'])[_0x5a3578(0xa2)]((0x0,i[_0x5a3578(0x107)])(_0x164751=>_0x164751[_0x5a3578(0x2b7)]===d[_0x5a3578(0x19c)][_0x5a3578(0x26f)]),(0x0,i[_0x5a3578(0x26a)])(0x10))[_0x5a3578(0x191)](()=>{this['_refreshCollabCursors']();}));}};R=w([C(0x1,(0x0,t[_0x3f925b(0x2de)])(g['DocSkeletonManagerService'])),C(0x2,(0x0,t[_0x3f925b(0x2de)])(P)),C(0x3,t[_0x3f925b(0x1ea)]),C(0x4,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0x2a7)]))],R);var z=class extends d[_0x3f925b(0x1af)]{constructor(_0x2cf5b6,_0x1fa407){const _0x2296b7=_0x3f925b;if(super(_0x2cf5b6,_0x1fa407),S(this,_0x2296b7(0x348),void 0x0),S(this,_0x2296b7(0x223),!0x1),S(this,_0x2296b7(0x24c),void 0x0),S(this,_0x2296b7(0x1b8),''),S(this,_0x2296b7(0x240),'top'),S(this,_0x2296b7(0x21f),void 0x0),S(this,'_showText',void 0x0),S(this,_0x2296b7(0x204),void 0x0),S(this,'_highlightSecond',0x4),S(this,'_blinkTimer',void 0x0),S(this,_0x2296b7(0x112),void 0x0),S(this,_0x2296b7(0x31b),!0x0),S(this,_0x2296b7(0x324),0x0),_0x1fa407){var _0x18af2b;if(this[_0x2296b7(0x280)](_0x1fa407),_0x1fa407[_0x2296b7(0x356)]&&((_0x18af2b=_0x1fa407[_0x2296b7(0x1c5)])==null?this[_0x2296b7(0xbf)]:_0x18af2b)){var _0x40aea7;this['_startBlinking']((_0x40aea7=_0x1fa407[_0x2296b7(0x1c5)])==null?this[_0x2296b7(0xbf)]:_0x40aea7);}}this[_0x2296b7(0x161)]['subscribeEvent'](()=>this[_0x2296b7(0x280)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2296b7(0x1e2)](()=>this[_0x2296b7(0x280)]({'hovered':!0x1}));}[_0x3f925b(0x1aa)](_0x5d72f8){const _0x109c66=_0x3f925b;this[_0x109c66(0x324)]=_0x5d72f8;}[_0x3f925b(0x280)](_0x2bb21c){const _0xf9213b=_0x3f925b;var _0x38fbac,_0x420955,_0x456181,_0x47e8d9,_0x315a55,_0x5cdae1,_0x259bd6;this[_0xf9213b(0x348)]=(_0x38fbac=_0x2bb21c['color'])==null?this[_0xf9213b(0x348)]:_0x38fbac,this[_0xf9213b(0x223)]=(_0x420955=_0x2bb21c['hovered'])==null?this[_0xf9213b(0x223)]:_0x420955,this[_0xf9213b(0x24c)]=(_0x456181=_0x2bb21c[_0xf9213b(0x232)])==null?this['_range']:_0x456181,this[_0xf9213b(0x1b8)]=(_0x47e8d9=_0x2bb21c[_0xf9213b(0xdf)])==null?this[_0xf9213b(0x1b8)]:_0x47e8d9,this[_0xf9213b(0x240)]=(_0x315a55=_0x2bb21c[_0xf9213b(0x13d)])==null?this['_labelPosition']:_0x315a55,this['_backgroundColor']=(_0x5cdae1=_0x2bb21c[_0xf9213b(0x30b)])==null?this[_0xf9213b(0x21f)]:_0x5cdae1,this['_showText']=(_0x259bd6=_0x2bb21c[_0xf9213b(0x1e3)])==null?this[_0xf9213b(0x211)]:_0x259bd6,_0x2bb21c[_0xf9213b(0x1c5)]!==void 0x0&&(this[_0xf9213b(0xbf)]=_0x2bb21c['highlightSecond']),_0x2bb21c[_0xf9213b(0x356)]!==void 0x0&&(this[_0xf9213b(0x204)]=_0x2bb21c[_0xf9213b(0x356)]),_0x2bb21c[_0xf9213b(0x257)]!==void 0x0&&(this['_offsetY']=_0x2bb21c['offsetY']),this[_0xf9213b(0x1a1)]({'width':_0x2bb21c[_0xf9213b(0x154)],'height':_0x2bb21c[_0xf9213b(0xd6)]});}[_0x3f925b(0x172)](_0x10e599){const _0x4921c0=_0x3f925b;let {row:_0x59870e,column:_0x377fb7}=_0x10e599;if(_0x59870e>=this['_range'][_0x4921c0(0x2dc)]&&_0x59870e<=this[_0x4921c0(0x24c)][_0x4921c0(0x215)]&&_0x377fb7>=this[_0x4921c0(0x24c)][_0x4921c0(0x2ef)]&&_0x377fb7<=this[_0x4921c0(0x24c)][_0x4921c0(0x159)]){this[_0x4921c0(0x280)]({'hovered':!0x0});return;}this[_0x4921c0(0x280)]({'hovered':!0x1});}[_0x3f925b(0x138)](_0x5b32ee){const _0x4f93db=_0x3f925b;this['_stopBlinking'](),this[_0x4f93db(0x31b)]=!0x0,this[_0x4f93db(0x112)]=window[_0x4f93db(0xac)](()=>{const _0x31e3df=_0x4f93db;this['_isBlinkVisible']=!this[_0x31e3df(0x31b)],this[_0x31e3df(0x342)](!0x0);},0x1f4),this[_0x4f93db(0xb7)]=window[_0x4f93db(0x9c)](()=>{const _0x14c0b3=_0x4f93db;this[_0x14c0b3(0x1e0)](),this[_0x14c0b3(0x31b)]=!0x0,this[_0x14c0b3(0x342)](!0x0);},_0x5b32ee*0x3e8);}['_stopBlinking'](){const _0x3df57f=_0x3f925b;this[_0x3df57f(0x112)]&&(window[_0x3df57f(0x15d)](this['_blinkIntervalTimer']),this[_0x3df57f(0x112)]=void 0x0),this[_0x3df57f(0xb7)]&&(window[_0x3df57f(0x14f)](this['_blinkTimer']),this[_0x3df57f(0xb7)]=void 0x0);}[_0x3f925b(0x2fc)](_0x4cbdc6){return!0x1;}[_0x3f925b(0x171)](){const _0x1572ad=_0x3f925b;this[_0x1572ad(0x1e0)](),super['dispose']();}[_0x3f925b(0x113)](_0x9032af){const _0xe3ebf9=_0x3f925b;let _0x25363c=this[_0xe3ebf9(0x348)],_0x4e0d06=this[_0xe3ebf9(0x21f)];if(this[_0xe3ebf9(0x204)]&&!this[_0xe3ebf9(0x31b)]&&(_0x25363c=this[_0xe3ebf9(0x1f7)](this['_color']),_0x4e0d06=this['_backgroundColor']?this[_0xe3ebf9(0x1f7)](this[_0xe3ebf9(0x21f)]):void 0x0),d[_0xe3ebf9(0x2ec)][_0xe3ebf9(0x28b)](_0x9032af,{'width':this[_0xe3ebf9(0x154)],'height':this['height'],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x25363c,'evented':!0x1,'fill':_0x4e0d06}),this[_0xe3ebf9(0x223)]||this[_0xe3ebf9(0x211)]){var _0x5cdf8f;_0x9032af[_0xe3ebf9(0x34c)](),_0x9032af[_0xe3ebf9(0x1ed)](0x1,0x0,0x0,0x1,this[_0xe3ebf9(0x154)],(this[_0xe3ebf9(0x240)]==='bottom'?0x0:-0x14)+((_0x5cdf8f=this[_0xe3ebf9(0x324)])==null?0x0:_0x5cdf8f)),F[_0xe3ebf9(0x28b)](_0x9032af,{'text':this[_0xe3ebf9(0x1b8)],'color':_0x25363c}),_0x9032af['restore']();}}[_0x3f925b(0x1f7)](_0x25ab0b){const _0xec9140=_0x3f925b;return _0x25ab0b[_0xec9140(0x1d9)]('#')?'rgba('+Number[_0xec9140(0xab)](_0x25ab0b[_0xec9140(0xb4)](0x1,0x3),0x10)+',\x20'+Number[_0xec9140(0xab)](_0x25ab0b[_0xec9140(0xb4)](0x3,0x5),0x10)+',\x20'+Number[_0xec9140(0xab)](_0x25ab0b['slice'](0x5,0x7),0x10)+_0xec9140(0x2a4):_0x25ab0b[_0xec9140(0x1d9)]('rgba')?_0x25ab0b[_0xec9140(0x32e)](/[\d.]+\)$/g,'0.2)'):_0x25ab0b[_0xec9140(0x1d9)](_0xec9140(0x228))?_0x25ab0b['replace'](_0xec9140(0x228),_0xec9140(0x2be))[_0xec9140(0x32e)](')',',\x200.2)'):_0x25ab0b;}};let B=class extends t[_0x3f925b(0x33e)]{constructor(_0x1eb675,_0x31c4de,_0x1e1857,_0x131890){const _0x57270b=_0x3f925b;super(),this[_0x57270b(0x194)]=_0x1eb675,this['_sheetSkeletonManagerService']=_0x31c4de,this[_0x57270b(0xdb)]=_0x1e1857,this[_0x57270b(0x129)]=_0x131890,S(this,_0x57270b(0xe0),new Set()),S(this,_0x57270b(0x2ac),null),S(this,'_pointerMoveDisposable',null),this[_0x57270b(0x237)]();}['_init'](){const _0x4f78d1=_0x3f925b;this[_0x4f78d1(0x105)][_0x4f78d1(0x299)][_0x4f78d1(0xa2)]((0x0,i[_0x4f78d1(0xfd)])(this[_0x4f78d1(0x2d2)]),(0x0,i[_0x4f78d1(0x1d6)])(_0x53b0ed=>{const _0x3f6cc0=_0x4f78d1;if(_0x53b0ed){let _0x111a32=_0x53b0ed[_0x3f6cc0(0x353)];return(0x0,r['combineLatest'])(this[_0x3f6cc0(0xdb)]['getCollabCursors$'](this[_0x3f6cc0(0x194)]['unitId']),this[_0x3f6cc0(0x129)][_0x3f6cc0(0x1ab)])[_0x3f6cc0(0xa2)]((0x0,i['map'])(([_0x1aae3f,_0x1db02e])=>{const _0x7b648b=_0x3f6cc0;let _0x285dee=new Map();return _0x1aae3f[_0x7b648b(0xbd)]((_0x217c81,_0x4c986c)=>{const _0x5500ff=_0x7b648b;if(_0x217c81[_0x5500ff(0x277)]===_0x111a32){let _0x58723c={..._0x217c81};_0x58723c['color']=this[_0x5500ff(0x129)]['getColorFromTheme'](_0x217c81[_0x5500ff(0x17c)]),_0x285dee[_0x5500ff(0x128)](_0x4c986c,_0x58723c);}}),{'skeleton':_0x53b0ed,'cursors':_0x285dee};}));}return(0x0,r['of'])({'skeleton':null,'cursors':new Map()});}))[_0x4f78d1(0x191)](({skeleton:_0x130665,cursors:_0x15fe98})=>{const _0x2b6972=_0x4f78d1;this[_0x2b6972(0x349)](),_0x130665&&this[_0x2b6972(0x258)](_0x130665,_0x15fe98);}),this[_0x4f78d1(0x1da)](this[_0x4f78d1(0x105)][_0x4f78d1(0x299)][_0x4f78d1(0xa2)]((0x0,i[_0x4f78d1(0xfd)])(this[_0x4f78d1(0x2d2)]))[_0x4f78d1(0x191)](_0x30b666=>{const _0x5be7cf=_0x4f78d1;var _0x4a1d09;if(_0x30b666==null)return;(_0x4a1d09=this[_0x5be7cf(0xdc)])==null||_0x4a1d09[_0x5be7cf(0xb1)](),this[_0x5be7cf(0xdc)]=null;let {skeleton:_0x1ee13e}=_0x30b666,{scene:_0x50dc4b}=this[_0x5be7cf(0x194)];this[_0x5be7cf(0xdc)]=_0x50dc4b[_0x5be7cf(0x320)]['subscribeEvent']((0x0,t[_0x5be7cf(0x264)])(_0x279022=>{const _0x501fbc=_0x5be7cf;var _0x479184,_0x51e764;let {offsetX:_0x55f8ec,offsetY:_0x2740d1}=_0x279022,{x:_0x1a4545,y:_0x4c1bf5}=_0x50dc4b['getRelativeToViewportCoord'](d[_0x501fbc(0x239)][_0x501fbc(0x287)]([_0x55f8ec,_0x2740d1])),{scaleX:_0x18d4c0,scaleY:_0xac26fe}=_0x50dc4b[_0x501fbc(0x219)](),_0x10f8ca=_0x50dc4b[_0x501fbc(0x157)](d[_0x501fbc(0x282)][_0x501fbc(0x2d1)]),_0x37796f=_0x50dc4b[_0x501fbc(0x147)](d['Vector2'][_0x501fbc(0x287)]([_0x1a4545,_0x4c1bf5]),_0x10f8ca),_0xc53bbc=_0x1ee13e['getCellPositionByOffset'](_0x55f8ec,_0x2740d1,_0x18d4c0,_0xac26fe,_0x37796f);((_0x479184=this['_lastPointer'])==null?void 0x0:_0x479184[_0x501fbc(0x2b0)])===_0xc53bbc['column']&&((_0x51e764=this['_lastPointer'])==null?void 0x0:_0x51e764[_0x501fbc(0x23c)])===_0xc53bbc[_0x501fbc(0x23c)]||this[_0x501fbc(0xe0)]['forEach'](_0x31d510=>{const _0x59fb0d=_0x501fbc;_0x31d510[_0x59fb0d(0x172)](_0xc53bbc);});},0x64));})),this[_0x4f78d1(0x1da)]((0x0,t[_0x4f78d1(0x209)])(()=>{const _0x189d46=_0x4f78d1;var _0x2244ac;(_0x2244ac=this[_0x189d46(0xdc)])==null||_0x2244ac[_0x189d46(0xb1)](),this[_0x189d46(0xdc)]=null;}));}[_0x3f925b(0x258)](_0x109856,_0x3ecb1e){const _0x9d18e3=_0x3f925b;let _0xb8303c=this['_sheetSkeletonManagerService'][_0x9d18e3(0x261)]();if(!_0xb8303c)return;let _0x5790cd=this['_getSheetObject']();if(!_0x5790cd)return;this[_0x9d18e3(0xe0)]['forEach'](_0x141be1=>{const _0x50f452=_0x9d18e3;_0x141be1[_0x50f452(0x342)]();});let {scene:_0x4ded42}=_0x5790cd,_0x5fcfee=he(Array[_0x9d18e3(0x1a3)](_0x3ecb1e[_0x9d18e3(0xe7)]()))[_0x9d18e3(0x33f)](_0x109fe9=>{const _0x2eabca=_0x9d18e3;let {color:_0x408298,range:_0x25aafa,name:_0x3b118f,selection:_0x259f03,sheetID:_0x528e8b}=_0x109fe9,{startColumn:_0x148a6b,startRow:_0x15d172,endColumn:_0x4d2ca1,endRow:_0xba66cd}=_0x25aafa,_0x4e28af=(0x0,y[_0x2eabca(0x350)])(_0x15d172,_0x148a6b,_0x4ded42,_0xb8303c),_0xb5d2c=(0x0,y['getCoordByCell'])(_0xba66cd,_0x4d2ca1,_0x4ded42,_0xb8303c),{columnHeaderHeightAndMarginTop:_0x1abe78}=_0xb8303c,{startX:_0x458688,startY:_0x169802}=_0x4e28af,{endX:_0x56cf73,endY:_0x4555b9}=_0xb5d2c,_0x2e7b67=_0x56cf73-_0x458688,_0x2b6da7=_0x4555b9-_0x169802;return new z(_0x3b118f,{'labelPosition':_0x169802-_0x1abe78>=0x14?_0x2eabca(0x260):_0x2eabca(0x24b),'sheetID':_0x528e8b,'range':_0x25aafa,'color':_0x408298,'name':_0x3b118f,'selection':_0x259f03,'left':_0x458688,'top':_0x169802,'width':_0x2e7b67,'height':_0x2b6da7,'evented':!0x1,'zIndex':0x1389});});_0x4ded42[_0x9d18e3(0x214)](_0x5fcfee,0x1),this[_0x9d18e3(0xe0)]=new Set(_0x5fcfee);}[_0x3f925b(0x349)](){const _0xbc5d0e=_0x3f925b;var _0x5135cf;(_0x5135cf=this[_0xbc5d0e(0xe0)])==null||_0x5135cf[_0xbc5d0e(0xbd)](_0x1feaa7=>_0x1feaa7['dispose']());}[_0x3f925b(0x1e8)](){const _0x32a4a8=_0x3f925b;return(0x0,y[_0x32a4a8(0xda)])(this[_0x32a4a8(0x194)][_0x32a4a8(0x254)],this[_0x32a4a8(0x194)]);}};B=w([C(0x1,(0x0,t[_0x3f925b(0x2de)])(y[_0x3f925b(0xf1)])),C(0x2,(0x0,t[_0x3f925b(0x2de)])(P)),C(0x3,(0x0,t['Inject'])(t[_0x3f925b(0x2a7)]))],B);function he(_0x52e5b5){const _0x1d619f=_0x3f925b;let _0x4cdca1=new Map();return _0x52e5b5['forEach'](_0x45eb1c=>{const _0x4bfb1c=_0x43e1;if(_0x4cdca1[_0x4bfb1c(0x355)](_0x45eb1c[_0x4bfb1c(0x1d7)])){let _0x496233=_0x4cdca1[_0x4bfb1c(0x116)](_0x45eb1c[_0x4bfb1c(0x1d7)]);_0x496233[_0x4bfb1c(0xdf)]+=',\x20'+_0x45eb1c[_0x4bfb1c(0xdf)];}else _0x4cdca1[_0x4bfb1c(0x128)](_0x45eb1c[_0x4bfb1c(0x1d7)],_0x45eb1c);}),Array[_0x1d619f(0x1a3)](_0x4cdca1[_0x1d619f(0xe7)]());}const ge=0x138a;var _e=class extends d[_0x3f925b(0x1af)]{constructor(_0x48d7cd,_0x3ee1cc){const _0x725409=_0x3f925b;super(_0x48d7cd,{..._0x3ee1cc,'evented':!0x1}),S(this,_0x725409(0x348),'#4f46e5'),S(this,_0x725409(0x1b8),''),S(this,_0x725409(0x211),!0x0),_0x3ee1cc&&this[_0x725409(0x280)](_0x3ee1cc);}['setShapeProps'](_0x46e0f4){const _0xf65b5f=_0x3f925b;var _0x194bfe,_0x36ae32,_0x535f9c,_0xf85d43,_0x496124,_0x36a1d8,_0xf469d8,_0x208e15;this[_0xf65b5f(0x348)]=(_0x194bfe=_0x46e0f4[_0xf65b5f(0x17c)])==null?this[_0xf65b5f(0x348)]:_0x194bfe,this[_0xf65b5f(0x1b8)]=(_0x36ae32=_0x46e0f4[_0xf65b5f(0xdf)])==null?this['_name']:_0x36ae32,this[_0xf65b5f(0x211)]=(_0x535f9c=_0x46e0f4[_0xf65b5f(0x1e3)])==null?this[_0xf65b5f(0x211)]:_0x535f9c,this['evented']=!0x1,this[_0xf65b5f(0x1a1)]({'left':(_0xf85d43=_0x46e0f4[_0xf65b5f(0x19b)])==null?this[_0xf65b5f(0x19b)]:_0xf85d43,'top':(_0x496124=_0x46e0f4['top'])==null?this[_0xf65b5f(0x260)]:_0x496124,'width':(_0x36a1d8=_0x46e0f4[_0xf65b5f(0x154)])==null?this['width']:_0x36a1d8,'height':(_0xf469d8=_0x46e0f4[_0xf65b5f(0xd6)])==null?this[_0xf65b5f(0xd6)]:_0xf469d8,'angle':(_0x208e15=_0x46e0f4['angle'])==null?this[_0xf65b5f(0x20c)]:_0x208e15});}[_0x3f925b(0x113)](_0x520744){const _0x253073=_0x3f925b;_0x520744[_0x253073(0x34c)](),_0x520744[_0x253073(0x1c2)]=this[_0x253073(0x348)],_0x520744[_0x253073(0x1ae)]=this[_0x253073(0x27c)]||1.5,_0x520744['setLineDash']([0x6,0x4]),_0x520744[_0x253073(0x271)](0x0,0x0,this[_0x253073(0x154)],this['height']),_0x520744[_0x253073(0x27b)](),this[_0x253073(0x211)]&&(_0x520744[_0x253073(0x34c)](),_0x520744['transform'](0x1,0x0,0x0,0x1,this[_0x253073(0x154)],-0x14),F[_0x253073(0x28b)](_0x520744,{'text':this[_0x253073(0x1b8)],'color':this[_0x253073(0x348)]}),_0x520744['restore']());}};function _0x1ffb(){const _0x183331=['_selfUnitIDs','_startCalculationLimit','INotificationService','_transformService','resize','cursorInfo$','strokeRect','_saveTaskMap','fillRule','setAlpha','50acFzGX','_messageService','sheetID','addClipboardHook','slide-element-selection','_localeService','restore','strokeWidth','handleInsertRow','_document','getCollabCursors$','setShapeProps','moveTo','SHEET_VIEWPORT_KEY','_startDocCollabCursor','8706120whkchQ','getRenderById','_localCacheService','FromArray','fromEvent','_handleHover','\x20at\x20','drawWith','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformSelectionsService','_docSyncEditingCollabCursorService','isTransformMutationsWithChangesetSuccess','/universer-api/frontend/logs','clickable','undoState','IUIPartsService','DocIMEInputManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabCursorState$','error','findNodePositionByCharIndex','currentSkeleton$','green.600','clsx','_unitOnClients','ISnapshotServerService','urlChange$','_collabSessionService','_getScale','registerComponent','/universer-api/license/formula/limit/start','_initDependencies',',\x200.2)','_localStorageService','CollaborationSessionService','ThemeService','flatMap','Rectangle','_entities','DOC_RANGE_TYPE','_lastPointer','_drawTextRange','addEventListener','setParam','column','add','lineTo','getRealBound','JOIN_ROOM_FAILED','polite','debounceTime','type','bind','isActive','FormulaExecutedStateType','getOffsetConfig','_initEntityListener','rgba(255,\x20255,\x20255,\x200.01)','rgba','_notificationService','beginPath','_currentUsage','editingUnit','unshift','spin','yellow.400','_entityInit$','IBeforeCloseService','_scheduleClearOtherTimer','event$','_updateSubUnitFromURLParams','CollaborationEvent','CanceledError','transformMutationsWithChangeset','_uiPartsService','IConfigService','univer-h-8\x20univer-w-8\x20univer-rounded-lg','VIEW_MAIN','dispose$','_cursor','removeObjects','collaboration-client-ui.conflict.title','Success','InsertColCommandId','getCollabEntity$','min','eventID','_docTransformIMECacheService','startRow','_initStatusListener','Inject','combineLatest','indicator','WebBrowserSingleActiveUnitService','getSnapshot','_revisionService','_scene','selections','split','result','244iJcQsx','_createSocketURL','uni.network.url-service','getUnhiddenWorksheets','Rect','href','_configService','startColumn','collaboration-client-ui.session.will-retry','button','pageManager','_heartbeatTimer','code','_id','div','next','HTTPService','addObject','TEXT_RANGE_LAYER_INDEX','collab-rect-range-','triggerDblclick','univer-border-none\x20univer-bg-transparent','popstate','SetTextSelectionsOperation','_eventUnsubscribe','_registerDependencies','enableFrontendLog','handleInsertRangeMoveRight','colno','OTHER_CLIENTS_EDITING','_beforeCloseService','handleIRemoveCol','DeleteRangeMoveLeftCommandId','focusedId','12486353hYKera','backgroundColor','fillText','icon','onCommandExecuted','RegularPolygon','_toggleOffline','now','_getAnchorBounding','_lastResponseTimestamp','preventDefault','NodePositionConvertToCursor','true','CollaborationUIEventService','Disposable','/run/','getMember','_isBlinkVisible','status','_instanceService','socket$','_clearOtherTimers','onPointerMove$','_hover','PERMISSION_DENIED','setConfig','_offsetY','SheetCollabCursorShape','collaboration-client-ui.collabStatus.conflict','size','isArray','_status$','_logService','_refreshCollabCursors','_renderManagerService','getMergeData','replace','getMemberID','WebSocketService','selectedIds','roomMembers','pulse','version','pushState','_initStatusComponent','InsertRowCommandId','_disabled','connectInjector','params','PENDING','toRgbString','OFFLINE','RxDisposable','map','getItem','status$','makeDirty','post','_startSlideCollabCursor','IUniverInstanceService','_setupBeforeClosingHandler','serializeRangeWithSheet','_color','_removeCollabCursors','SessionStatus','functionsExecutedState','save','_updateURLWithCurrentState','TEXT','getParam','getCoordByCell','then','activeSheet$','sheetId','getStateCache','has','highlight','replaceState','newValue','_collabCursorState$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getActiveSlide','handleMoveRange','collaboration-client-ui.session.collaboration-timeout','getTypeOfUnitAdded$','RevisionService','collaboration-client-ui.formula.calculation.started','override','_checkAndWaitForCalculationPermission','stack','setTimeout','MoveRangeCommandId','ISocketService','show','LoadingMultiIcon','IRenderManagerService','pipe','_initUserListener','DocCollaborationEntity','Enter','mutations','distinctUntilChanged','_handleJoinEvent','arc','UNIVER_SLIDE','parseInt','setInterval','START_CALCULATION','fillStyle','_send','SOCKET_FAILED_RETRY','unsubscribe','text','7JXJTTh','slice','state$','univer-flex\x20univer-items-center\x20univer-justify-center','_blinkTimer','getDocRanges','some','isFormulaId','saveOfflineData','location','forEach','1365hEDcwj','_highlightSecond','disableLocalCache','defineProperty','focused$','executeCommand','requireSession','getValue','/universer-api/license/formula/limit/done','_config','useCallback','registerRefRange','Warning','Injector','string','_cursorInfo$','InsertRangeMoveRightCommandId','_urlService','_maxFormulaLimit','mapTo','i18nKey','unload','_univerInstanceService','ONLINE','height','_initCommandExecutedListener','runOnServer','collaboration-client-ui.collabStatus.offline','getSheetObject','_collabCursorController','_pointerMoveDisposable','origin','getSheetBySheetId','name','_cursors','getCurrentTypeOfUnit$','_colorAssignService','ErrorCode','toString','toISOString','univer-inline-flex\x20univer-items-center\x20univer-justify-center','values','red.300','syncEditingCollabCursor','_toggleOnline','message','debug','stageInfo','enableDocumentCollaborationUI','_docClipboardService','univer-text-green-500','SheetSkeletonManagerService','beforeCommandExecuted','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handleEvent','_dataLoaderService','executionId','MessageType','SetDocZoomRatioOperation','_initResize','_scheduleSaving','CollaborationStatus','_getObjectBounds','takeUntil','univer-text-orange-500','3056dMSDnf','_showGuardMessage','Loading','_assignedColors','_slideDrawingStateService','DependentOn','_sheetSkeletonManagerService','totalFormulasToCalculate','filter','transformRemoteChangeset','transformIMECache','_applyCommand','CollaborationDataLoaderController','Workbook','?taskId=','MemberService','doc.mutation.rich-text-editing','univer-transition-all\x20univer-duration-200','runId','_blinkIntervalTimer','_draw','merge','LocaleService','get','_getFormulaLimitStatus','SYNCED','2020203RvNVxJ','_textBubble','source','SUBMIT_CHANGESET_TIMEOUT','function','_onCursorUpdate','buildDrawingOKey','subunit','getAllUnitsForType','_pollingInterval','getLocalCacheKey','cursorInfo','data','EffectRefRangId','transformSelections','set','_themeService','OnLineIcon','NOT_COLLAB','fromEventSubject','ranges','getUnitId','_scheduleHeartbeat','all','createSocket','_latestCursors','getUndoRedoMutationParamsCache','registerBeforeClose','_collaborationSessionService','[Window\x20Error]:\x20','_shapes','_startBlinking','_getMergeRange','stage','getUniverSheetInstance','WebURLService','labelPosition','COLORS','getColorFromTheme','_setupSubUnitSync','hide','jsx','resolve','InsertRangeMoveDownCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','includes','getVpScrollXYInfoByPosToVp','entityInit$','m1Prime','BehaviorSubject','fill','_onCursorDelete','DisposableCollection','saveTaskMap','clearTimeout','onRendered','handleDeleteRangeMoveUp','_handleHeartbeatEvent','maxFormulaLimit','width','transformMutation','_saveCache','getViewport','registerDependencies','endColumn','1.0.0-alpha.1','_renderScheduled','addHandlerCallback','clearInterval','dark:focus:!univer-ring-offset-gray-800','_monkeyPatchLogService','_releaseCalculationLimit','onPointerEnter$','removeParam','/universer-api/license/formula/limit/status','AWAITING','length','_docStateChangeManagerService','_setFormulaLimitStatus','span','roomMembers$','_colorIndex','find','getCurrentRevOfUnit','_checkCalculationAvailable','onPointerLeave$','unitId','subUnitId','dispose','onMouseMove','UNIVER_SHEET','collaboration-client-ui.collabStatus.fetchMiss','Failed','mergeOverrideWithDependencies','stringify','scene','_render','AWAITING_WITH_PENDING','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','color','unitID','removeEventListener','iterator','_initEvent','getTypeOfUnitDisposed$','black','ILogService','_updateLocalCursor','collaboration-client-ui.collabStatus.syncing','UPDATE_CURSOR','kind','toPrimitive','...','Unknown\x20user','_anchorDot','body','loadUnit','_initWindowErrorListener','contains','imageSourceType','subscribe','replaceDocRanges','[Unhandled\x20Rejection]:\x20','_context','_transformPreviousActiveRange','memberID','storage','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_unitStatus','getConfig','left','TRANSFORM_CHANGE_OBSERVABLE_TYPE','delete','currentUsage','handleDeleteRangeMoveLeft','asObservable','transformByState','constructor','from','CLOSE_ROOM','DataLoaderService','_docSkeleton','searchParams','_initCommandInterceptor','[CollaborationDataLoaderController]','setOffsetY','currentTheme$','_registerRenderDependencies','UNIVER_DOC','lineWidth','Shape','getRangePointData','touchDependencies','deepClone','_memberService','removeObject','RichTextEditingMutation','assignAColorForMemberID','3291369TAniHw','_name','SetSelectionsOperation','limitInfo','getColor','collaboration-client-ui.session.connection-failed','_ensureSubject','_removeClearOtherTimer','blue.400','prototype','BuiltInUIPart','strokeStyle','_cachedData','lineno','highlightSecond','toStringTag','[LogService\x20Error]:\x20','purple.300','shift','_refRangeService','m2Prime','send','@univerjs-pro/collaboration-client-ui','_docTransformStateCacheService','getCurrentUnitOfType','_drawAnchor','_isApplyingOverlays','SUCCESS','ColorKit','USERS_LEAVE','CollaborationController','switchMap','selection','setItem','startsWith','disposeWithMe','_collaborationController','useDependency','object','getObject','getSheetId','_stopBlinking','addObject$','subscribeEvent','showText','_hideTimer','_anchor','univer-text-gray-400','SOCKET_FAILED','_getSheetObject','_imageIoService','ICommandService','IURLService','call','transform','ITransformService','collab-text-range-','_doCreateSocket','DocSelectionManagerService','\x20-\x20','OTHER_CLIENT_EDITING','packageName','Optional','_taskIds','_getLighterColor','application/json','_httpService','generateRandomId','_getSceneObjectByKey','_injector','625416hCxZvV','_uploadLog','collaboration-client-ui.permission.content','enableLocalCache','RemoveColCommandId','_handleLeaveEvent','onStarting','_highlight','static','CollaborationUIEventId','isInternalEditorID','reason','toDisposable','_transformUndoRedoStack','init','angle','complete','updateOfflineData','exhaustSavingTask','_getSessionTicket','_showText','univer-m-0\x20univer-p-0','deserializeRangeWithSheet','addObjects','endRow','_scheduleRender','_commandService','Tools','getAncestorScale','sessionStatus$','DeleteRangeMoveUpCommandId','SetFormulaCalculationNotificationMutation','history','Error','_backgroundColor','CONFLICT','univer-text-red-500','transformStateCache','_hovered','RECT','startFormulaLimitUrl','univer-appearance-none','_onRefRangeChange','rgb','createInstance','search','backupOfflineData','_startSheetCollabCursor','redoState','RefRangeService','tooltipKey','engine','with','range','SheetsSelectionsService','getFocusedUnit','_cursorShapes','RemoveRowCommandId','_init','getSkeleton','Vector2','collaboration-client-ui.formula.calculation.unable','_roomMembers$','row','measureText','UnitStatus','collaboration-client-ui.collabClient.tooltip.reconnect','_labelPosition','parse','34362ubDYza','_session','UniverInstanceType','createIdentifier','HEADER_MENU','IMessageService','disposeUnit','_getSaveTimeout','BrowserCollaborationSocketService','bottom','_range','_hasFormulaInDirtyRanges','LOCAL_CACHE_INTERVAL','isTransformMutationFailure','_transformHistoryAndStateStack','releaseFormulaLimitUrl','max','registerRenderModule','unit','_drawRectRange','DocStateChangeManagerService','offsetY','_updateCollabCursors','univer-text-blue-500','Tooltip','textRanges','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_docSkeletonManagerService','_syncEditingCollabCursorService','_clearPolling','top','getCurrentSkeleton','_memberID','key','debounce','_online','symbol','push','collaboration-client-ui.config','getFormulaLimitStatusUrl','throttleTime'];_0x1ffb=function(){return _0x183331;};return _0x1ffb();}let V=class extends t[_0x3f925b(0x33e)]{constructor(_0x30a243,_0x5a7058,_0x4ef9a3){const _0x4cc875=_0x3f925b;super(),this[_0x4cc875(0x194)]=_0x30a243,this[_0x4cc875(0xdb)]=_0x5a7058,this[_0x4cc875(0x129)]=_0x4ef9a3,S(this,'_cursors',new Set()),S(this,_0x4cc875(0x15b),!0x1),S(this,'_isApplyingOverlays',!0x1),S(this,'_latestCursors',new Map()),this[_0x4cc875(0x237)]();}[_0x3f925b(0x171)](){const _0x1b6ad6=_0x3f925b;this[_0x1b6ad6(0x349)](),super[_0x1b6ad6(0x171)]();}['_init'](){const _0x5eb0be=_0x3f925b;let _0x6ce5e2=this[_0x5eb0be(0x194)][_0x5eb0be(0x254)][_0x5eb0be(0x2f2)]['activeSlideId$'],_0x37c331=this['_collabCursorController']['getCollabCursors$'](this[_0x5eb0be(0x194)]['unitId']);this['disposeWithMe']((0x0,t[_0x5eb0be(0x209)])((0x0,r[_0x5eb0be(0x2df)])([_0x37c331,_0x6ce5e2,this['_themeService'][_0x5eb0be(0x1ab)]])[_0x5eb0be(0xa2)]((0x0,r[_0x5eb0be(0xfd)])(this['dispose$']))[_0x5eb0be(0x191)](([_0x3be7a2,_0x5f24c0])=>{const _0x28eb18=_0x5eb0be;let _0x51c8f3=new Map();_0x3be7a2[_0x28eb18(0xbd)]((_0x526c20,_0x21b7dd)=>{const _0x43d067=_0x28eb18;_0x526c20['subUnitId']===_0x5f24c0&&_0x51c8f3[_0x43d067(0x128)](_0x21b7dd,{..._0x526c20,'color':this['_themeService'][_0x43d067(0x13f)](_0x526c20['color'])});}),this[_0x28eb18(0x132)]=_0x51c8f3,this[_0x28eb18(0x216)]();})));let _0x5b0230=this['_context'][_0x5eb0be(0x178)];this[_0x5eb0be(0x1da)]((0x0,t[_0x5eb0be(0x209)])(_0x5b0230[_0x5eb0be(0x1e1)][_0x5eb0be(0xa2)]((0x0,r['takeUntil'])(this[_0x5eb0be(0x2d2)]))['subscribe'](()=>{const _0x1d8615=_0x5eb0be;this[_0x1d8615(0x1d1)]||this[_0x1d8615(0x216)]();})));}[_0x3f925b(0x216)](){const _0x48b208=_0x3f925b;this[_0x48b208(0x15b)]||(this[_0x48b208(0x15b)]=!0x0,Promise[_0x48b208(0x143)]()['then'](()=>{const _0x408e9d=_0x48b208;this['_renderScheduled']=!0x1,this[_0x408e9d(0x179)]();}));}['_render'](){const _0x394185=_0x3f925b;var _0x5d61b5;this[_0x394185(0x349)]();let _0x33a360=(_0x5d61b5=this[_0x394185(0x194)][_0x394185(0x254)][_0x394185(0x2f2)][_0x394185(0x35b)]())==null?void 0x0:_0x5d61b5['getId']();if(!_0x33a360)return;let _0x252e13=[];if(this[_0x394185(0x132)][_0x394185(0xbd)]((_0x58424b,_0x451165)=>{const _0x584fce=_0x394185;_0x58424b[_0x584fce(0x170)]===_0x33a360&&_0x58424b[_0x584fce(0x331)][_0x584fce(0xbd)](_0x11062a=>{const _0x1f88f8=_0x584fce;let _0xe8a4b4=(0x0,v[_0x1f88f8(0x11f)])(_0x58424b['unitId'],_0x58424b[_0x1f88f8(0x170)],_0x11062a),_0x431aab=this[_0x1f88f8(0x1fb)](_0xe8a4b4);if(!_0x431aab)return;let _0x514c3f=this[_0x1f88f8(0xfc)](_0x431aab);_0x252e13['push'](new _e('slide-collab-cursor-'+_0x451165+'-'+_0x11062a,{..._0x58424b,'left':_0x514c3f[_0x1f88f8(0x19b)],'top':_0x514c3f[_0x1f88f8(0x260)],'width':_0x514c3f[_0x1f88f8(0x154)],'height':_0x514c3f['height'],'angle':_0x431aab['angle'],'evented':!0x1,'zIndex':ge}));});}),_0x252e13[_0x394185(0x165)]===0x0){this[_0x394185(0x194)][_0x394185(0x178)][_0x394185(0x342)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x394185(0x194)][_0x394185(0x178)][_0x394185(0x214)](_0x252e13,ge),this[_0x394185(0x1d1)]=!0x1,this[_0x394185(0xe0)]=new Set(_0x252e13),this[_0x394185(0x194)][_0x394185(0x178)][_0x394185(0x342)](!0x0);}[_0x3f925b(0x349)](){const _0x3ac85c=_0x3f925b;let _0x1170e5=Array[_0x3ac85c(0x1a3)](this[_0x3ac85c(0xe0)]);if(_0x1170e5[_0x3ac85c(0x165)]===0x0)return;let _0x29d6ff=this[_0x3ac85c(0x194)][_0x3ac85c(0x178)];_0x3ac85c(0x2d4)in _0x29d6ff&&typeof _0x29d6ff[_0x3ac85c(0x2d4)]=='function'?_0x29d6ff['removeObjects'](_0x1170e5):_0x1170e5['forEach'](_0x35641e=>{const _0x3054e3=_0x3ac85c;_0x3054e3(0x1b4)in _0x29d6ff&&typeof _0x29d6ff['removeObject']==_0x3054e3(0x11d)?_0x29d6ff[_0x3054e3(0x1b4)](_0x35641e):_0x35641e[_0x3054e3(0x171)]();}),this[_0x3ac85c(0xe0)]['clear'](),_0x29d6ff['makeDirty'](!0x0);}['_getSceneObjectByKey'](_0x12d31c){const _0x47bdb9=_0x3f925b;var _0x24905a,_0x3a0df3,_0x3da97c;let _0x8ef2ec=this['_context'][_0x47bdb9(0x178)];return(_0x24905a=(_0x3a0df3=(_0x3da97c=_0x8ef2ec['getObjectIncludeInGroup'])==null?void 0x0:_0x3da97c[_0x47bdb9(0x1ec)](_0x8ef2ec,_0x12d31c))==null?_0x8ef2ec[_0x47bdb9(0x1de)](_0x12d31c):_0x3a0df3)==null?null:_0x24905a;}[_0x3f925b(0xfc)](_0x346b00){const _0x4a8e17=_0x3f925b;var _0x44dd77,_0x53a3ae;let _0x5f5c74=_0x346b00;return(_0x44dd77=(_0x53a3ae=_0x5f5c74[_0x4a8e17(0x2b3)])==null?void 0x0:_0x53a3ae[_0x4a8e17(0x1ec)](_0x5f5c74))==null?{'left':_0x346b00['left'],'top':_0x346b00['top'],'width':_0x346b00[_0x4a8e17(0x154)],'height':_0x346b00[_0x4a8e17(0xd6)]}:_0x44dd77;}};V=w([C(0x1,(0x0,t[_0x3f925b(0x2de)])(P)),C(0x2,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0x2a7)]))],V);let H=class extends t[_0x3f925b(0x318)]{constructor(_0x3b5b95,_0xaa07f8,_0x5d631e,_0x2284fd,_0x63b67f,_0x1a0bd3){const _0x3e8ed4=_0x3f925b;super(),this[_0x3e8ed4(0x306)]=_0x3b5b95,this['_localCacheService']=_0xaa07f8,this['_collaborationUIEventService']=_0x5d631e,this['_messageService']=_0x2284fd,this[_0x3e8ed4(0x2bf)]=_0x63b67f,this[_0x3e8ed4(0x27a)]=_0x1a0bd3,this[_0x3e8ed4(0x346)](),this[_0x3e8ed4(0x180)]();}[_0x3f925b(0x346)](){const _0x114833=_0x3f925b;this['disposeWithMe'](this[_0x114833(0x306)][_0x114833(0x134)](()=>{const _0x26f2bb=_0x114833;if(this[_0x26f2bb(0x286)][_0x26f2bb(0x14e)][_0x26f2bb(0x327)])return this[_0x26f2bb(0x27a)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x16f309=_0x3f925b;this[_0x16f309(0x1da)](this['_collaborationUIEventService'][_0x16f309(0x2c9)][_0x16f309(0x191)](_0x16d118=>{const _0x5b1212=_0x16f309;_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x1f3)]&&this['_messageService'][_0x5b1212(0x9f)]({'type':a[_0x5b1212(0xf7)][_0x5b1212(0xca)],'content':this[_0x5b1212(0x27a)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x1a4)]&&this['_messageService'][_0x5b1212(0x9f)]({'type':a[_0x5b1212(0xf7)][_0x5b1212(0xca)],'content':this[_0x5b1212(0x27a)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x322)]&&this['_notificationService'][_0x5b1212(0x9f)]({'title':this[_0x5b1212(0x27a)]['t']('collaboration-client-ui.permission.title'),'content':this['_localeService']['t'](_0x5b1212(0x1ff)),'type':_0x5b1212(0x297),'duration':0x0}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x220)]&&this[_0x5b1212(0x2bf)][_0x5b1212(0x9f)]({'title':this[_0x5b1212(0x27a)]['t'](_0x5b1212(0x2d5)),'content':this[_0x5b1212(0x27a)]['t']('collaboration-client-ui.conflict.content'),'type':_0x5b1212(0x297),'duration':0x0}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x2b4)]&&this[_0x5b1212(0x276)]['show']({'type':a[_0x5b1212(0xf7)]['Warning'],'content':this[_0x5b1212(0x27a)]['t'](_0x16d118[_0x5b1212(0x125)]||'')}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0xb0)]&&this['_messageService'][_0x5b1212(0x9f)]({'type':a['MessageType'][_0x5b1212(0xca)],'content':this[_0x5b1212(0x27a)]['t'](_0x5b1212(0x2f0))}),_0x16d118['id']===e[_0x5b1212(0x206)][_0x5b1212(0x1e7)]&&this[_0x5b1212(0x276)][_0x5b1212(0x9f)]({'type':a['MessageType'][_0x5b1212(0x21e)],'content':this[_0x5b1212(0x27a)]['t'](_0x5b1212(0x1bc))}),_0x16d118['id']===e['CollaborationUIEventId'][_0x5b1212(0x11c)]&&this[_0x5b1212(0x276)][_0x5b1212(0x9f)]({'type':a['MessageType']['Error'],'content':this[_0x5b1212(0x27a)]['t'](_0x5b1212(0x35d))});}));}};H=w([C(0x0,n[_0x3f925b(0x2c7)]),C(0x1,e['ILocalCacheService']),C(0x2,(0x0,t[_0x3f925b(0x2de)])(e[_0x3f925b(0x317)])),C(0x3,n[_0x3f925b(0x247)]),C(0x4,n[_0x3f925b(0x26d)]),C(0x5,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0x115)]))],H);let U=class{constructor(_0x3f39ed,_0x1e31ad){const _0x52cedf=_0x3f925b;this['_transformService']=_0x3f39ed,this[_0x52cedf(0x32c)]=_0x1e31ad;}[_0x3f925b(0x109)](_0x3ae00d){const _0x50f6b2=_0x3f925b;this[_0x50f6b2(0x20a)](_0x3ae00d),this[_0x50f6b2(0x195)](_0x3ae00d);}[_0x3f925b(0x108)](_0x2a4750){const _0xd44cf=_0x3f925b;let {unitID:_0x237722}=_0x2a4750,{redoCache:_0x4e683d}=this[_0xd44cf(0x32c)][_0xd44cf(0x285)](_0x237722)[_0xd44cf(0x231)](p[_0xd44cf(0x294)])[_0xd44cf(0x133)]();if(_0x4e683d['length']===0x0)return _0x2a4750;let _0x280a26=t[_0xd44cf(0x218)][_0xd44cf(0x1b2)](_0x2a4750[_0xd44cf(0xa6)][0x0]);for(let _0x57998c=0x0;_0x57998c<_0x4e683d[_0xd44cf(0x165)];_0x57998c++){let _0x59c25d={'id':'doc.mutation.rich-text-editing','params':{..._0x4e683d[_0x57998c]}},_0x2151da=this[_0xd44cf(0x26e)][_0xd44cf(0x155)](_0x280a26,_0x59c25d,!0x1);if((0x0,h['isTransformMutationFailure'])(_0x2151da))throw _0x2151da[_0xd44cf(0x297)];_0x280a26=_0x2151da[_0xd44cf(0x149)];}return{...t[_0xd44cf(0x218)]['deepClone'](_0x2a4750),'mutations':[_0x280a26]};}[_0x3f925b(0x20a)](_0x255fbf){const _0x23c24c=_0x3f925b;let {unitID:_0xb69dbf}=_0x255fbf,_0x307278=this[_0x23c24c(0x32c)][_0x23c24c(0x285)](_0xb69dbf)[_0x23c24c(0x231)](p[_0x23c24c(0x294)]),{undoCache:_0x20f0db,redoCache:_0x47d476}=_0x307278['getUndoRedoMutationParamsCache']();if(_0x20f0db[_0x23c24c(0x165)]===0x0||_0x47d476[_0x23c24c(0x165)]===0x0)return;let _0x1a4f34=[],_0x25b419=[],_0x52c276=t['Tools'][_0x23c24c(0x1b2)](_0x255fbf[_0x23c24c(0xa6)][0x0]),_0x3b10d4=t[_0x23c24c(0x218)][_0x23c24c(0x1b2)](_0x255fbf['mutations'][0x0]);for(let _0xd54b6e=_0x20f0db['length']-0x1;_0xd54b6e>=0x0;_0xd54b6e--){let _0x3a7142={'id':_0x23c24c(0x10f),'params':{..._0x20f0db[_0xd54b6e]}},_0x2bd070={'id':'doc.mutation.rich-text-editing','params':{..._0x47d476[_0xd54b6e]}},_0x19c863=this[_0x23c24c(0x26e)]['transformMutation'](_0x52c276,_0x3a7142,!0x1),_0x5d295a=this[_0x23c24c(0x26e)]['transformMutation'](_0x3b10d4,_0x2bd070,!0x1);if((0x0,h[_0x23c24c(0x24f)])(_0x19c863))throw _0x19c863[_0x23c24c(0x297)];if((0x0,h[_0x23c24c(0x24f)])(_0x5d295a))throw _0x5d295a[_0x23c24c(0x297)];_0x1a4f34['unshift'](_0x19c863[_0x23c24c(0x1cb)][_0x23c24c(0x33a)]),_0x25b419['unshift'](_0x5d295a[_0x23c24c(0x1cb)][_0x23c24c(0x33a)]),_0x52c276=_0x19c863[_0x23c24c(0x149)],_0x3b10d4=_0x5d295a[_0x23c24c(0x149)];}_0x307278['setUndoRedoMutationParamsCache']({'undoCache':_0x1a4f34,'redoCache':_0x25b419});}['_transformPreviousActiveRange'](_0x5d7200){const _0xbf7d32=_0x3f925b;let {unitID:_0x5e458f}=_0x5d7200,_0x5dcdda=this[_0xbf7d32(0x32c)][_0xbf7d32(0x285)](_0x5e458f)['with'](p[_0xbf7d32(0x294)]),_0x281be4=_0x5dcdda['getActiveRange']();if(_0x281be4==null)return;let _0x3fe244=[{'id':_0xbf7d32(0x10f),'params':{'unitId':_0x5d7200['unitID'],'actions':null,'textRanges':[_0x281be4]}}],_0x285e2e=this[_0xbf7d32(0x26e)][_0xbf7d32(0x2cd)](_0x5d7200,_0x3fe244);if(!(0x0,h[_0xbf7d32(0x28f)])(_0x285e2e))throw _0x285e2e['error'];let _0x3def42=_0x285e2e['m2Prime'][0x0][_0xbf7d32(0x33a)][_0xbf7d32(0x25b)];Array[_0xbf7d32(0x328)](_0x3def42)&&_0x3def42[_0xbf7d32(0x165)]&&_0x5dcdda['setActiveRange'](_0x3def42[0x0]);}};U=w([C(0x0,h[_0x3f925b(0x1ee)]),C(0x1,d['IRenderManagerService'])],U);let W=class{constructor(_0xef90ab,_0x5338a7,_0x492b75){const _0x58c401=_0x3f925b;this[_0x58c401(0x1fc)]=_0xef90ab,this['_transformService']=_0x5338a7,this[_0x58c401(0x166)]=_0x492b75;}[_0x3f925b(0x222)](_0x3aedf4){const _0x46fe37=_0x3f925b;this[_0x46fe37(0x250)](_0x3aedf4);}[_0x3f925b(0x108)](_0x14bad4){const _0x117cf1=_0x3f925b;let {unitID:_0x201b18}=_0x14bad4,{collaboration:_0x2e9b07}=this['_docStateChangeManagerService'][_0x117cf1(0x354)](_0x201b18);if(_0x2e9b07[_0x117cf1(0x165)]===0x0)return _0x14bad4;let _0x1ce254=t[_0x117cf1(0x218)][_0x117cf1(0x1b2)](_0x14bad4[_0x117cf1(0xa6)][0x0]);for(let _0x4a34e7=0x0;_0x4a34e7<_0x2e9b07[_0x117cf1(0x165)];_0x4a34e7++){let _0x579f51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e9b07[_0x4a34e7][_0x117cf1(0x16f)],..._0x2e9b07[_0x4a34e7][_0x117cf1(0x22d)]}},_0x263c21=this[_0x117cf1(0x26e)][_0x117cf1(0x155)](_0x1ce254,_0x579f51,!0x1);if((0x0,h[_0x117cf1(0x24f)])(_0x263c21))throw _0x263c21[_0x117cf1(0x297)];_0x1ce254=_0x263c21[_0x117cf1(0x149)];}return{...t['Tools'][_0x117cf1(0x1b2)](_0x14bad4),'mutations':[_0x1ce254]};}[_0x3f925b(0x250)](_0x2a5071){const _0xc08d67=_0x3f925b;let {unitID:_0x35cac9}=_0x2a5071,{history:_0x35b7eb,collaboration:_0x252ceb}=this[_0xc08d67(0x166)][_0xc08d67(0x354)](_0x35cac9);if(_0x35b7eb[_0xc08d67(0x165)]===0x0&&_0x252ceb['length']===0x0)return;let _0x158007=[],_0x45391d=[],_0x115fc2=t[_0xc08d67(0x218)][_0xc08d67(0x1b2)](_0x2a5071[_0xc08d67(0xa6)][0x0]),_0xcb865b=t['Tools'][_0xc08d67(0x1b2)](_0x2a5071[_0xc08d67(0xa6)][0x0]);for(let _0x27c1f8=_0x35b7eb[_0xc08d67(0x165)]-0x1;_0x27c1f8>=0x0;_0x27c1f8--){let _0x3757fb={'id':_0xc08d67(0x10f),'params':{'unitId':_0x35b7eb[_0x27c1f8][_0xc08d67(0x16f)],..._0x35b7eb[_0x27c1f8][_0xc08d67(0x292)]}},_0x2e61cd={'id':_0xc08d67(0x10f),'params':{'unitId':_0x35b7eb[_0x27c1f8][_0xc08d67(0x16f)],..._0x35b7eb[_0x27c1f8][_0xc08d67(0x22d)]}},_0x287a22=this[_0xc08d67(0x26e)]['transformMutation'](_0x115fc2,_0x3757fb,!0x1),_0x174378=this['_transformService']['transformMutation'](_0xcb865b,_0x2e61cd,!0x1);if((0x0,h['isTransformMutationFailure'])(_0x287a22))throw _0x287a22[_0xc08d67(0x297)];if((0x0,h[_0xc08d67(0x24f)])(_0x174378))throw _0x174378['error'];_0x158007[_0xc08d67(0x2c3)]({..._0x35b7eb[_0x27c1f8],'undoState':_0x287a22[_0xc08d67(0x1cb)][_0xc08d67(0x33a)],'redoState':_0x174378[_0xc08d67(0x1cb)][_0xc08d67(0x33a)]}),_0x115fc2=_0x287a22[_0xc08d67(0x149)],_0xcb865b=_0x174378[_0xc08d67(0x149)];}_0x115fc2=t[_0xc08d67(0x218)][_0xc08d67(0x1b2)](_0x2a5071[_0xc08d67(0xa6)][0x0]),_0xcb865b=t[_0xc08d67(0x218)][_0xc08d67(0x1b2)](_0x2a5071[_0xc08d67(0xa6)][0x0]);for(let _0x49fcf0=_0x252ceb[_0xc08d67(0x165)]-0x1;_0x49fcf0>=0x0;_0x49fcf0--){let _0x350d09={'id':_0xc08d67(0x10f),'params':{'unitId':_0x252ceb[_0x49fcf0]['unitId'],..._0x252ceb[_0x49fcf0][_0xc08d67(0x292)]}},_0x3474c2={'id':_0xc08d67(0x10f),'params':{'unitId':_0x252ceb[_0x49fcf0][_0xc08d67(0x16f)],..._0x252ceb[_0x49fcf0][_0xc08d67(0x22d)]}},_0x3c0755=this[_0xc08d67(0x26e)][_0xc08d67(0x155)](_0x115fc2,_0x350d09,!0x1),_0x2f2215=this['_transformService'][_0xc08d67(0x155)](_0xcb865b,_0x3474c2,!0x1);if((0x0,h[_0xc08d67(0x24f)])(_0x3c0755))throw _0x3c0755[_0xc08d67(0x297)];if((0x0,h['isTransformMutationFailure'])(_0x2f2215))throw _0x2f2215[_0xc08d67(0x297)];_0x45391d[_0xc08d67(0x2c3)]({..._0x252ceb[_0x49fcf0],'undoState':_0x3c0755[_0xc08d67(0x1cb)][_0xc08d67(0x33a)],'redoState':_0x2f2215[_0xc08d67(0x1cb)]['params']}),_0x115fc2=_0x3c0755[_0xc08d67(0x149)],_0xcb865b=_0x2f2215[_0xc08d67(0x149)];}this['_docStateChangeManagerService']['setStateCache'](_0x35cac9,{'history':_0x158007,'collaboration':_0x45391d});}};W=w([C(0x0,(0x0,t[_0x3f925b(0x2de)])(t['Injector'])),C(0x1,h[_0x3f925b(0x1ee)]),C(0x2,(0x0,t[_0x3f925b(0x2de)])(g[_0x3f925b(0x256)]))],W);let G=class{constructor(_0x3ab8d4,_0x57eb92){this['_injector']=_0x3ab8d4,this['_transformService']=_0x57eb92;}['transformSelections'](_0x39e7f0){const _0x20bd75=_0x3f925b;var _0x724c2d;let _0x1ddc03=this[_0x20bd75(0x1fc)][_0x20bd75(0x116)](g[_0x20bd75(0x1f1)]),_0x389f46=(_0x724c2d=_0x1ddc03['getDocRanges']())==null?[]:_0x724c2d;if(_0x389f46[_0x20bd75(0x165)]===0x0)return;let _0x4144a9=_0x39e7f0[_0x20bd75(0x17d)],_0x3a0dc3=[{'id':_0x20bd75(0x10f),'params':{'unitId':_0x4144a9,'actions':null,'textRanges':_0x389f46}}],_0x1e9bcb=this[_0x20bd75(0x26e)][_0x20bd75(0x2cd)](_0x39e7f0,_0x3a0dc3);if(!(0x0,h[_0x20bd75(0x28f)])(_0x1e9bcb))throw _0x1e9bcb[_0x20bd75(0x297)];let _0x5adf90=_0x1e9bcb[_0x20bd75(0x1cb)][0x0][_0x20bd75(0x33a)][_0x20bd75(0x25b)];Array[_0x20bd75(0x328)](_0x5adf90)&&_0x5adf90[_0x20bd75(0x165)]&&_0x1ddc03[_0x20bd75(0x192)](_0x5adf90,{'unitId':_0x4144a9,'subUnitId':_0x4144a9},!0x1);}};G=w([C(0x0,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0xcb)])),C(0x1,h[_0x3f925b(0x1ee)])],G);let K=class extends t[_0x3f925b(0x318)]{constructor(_0x47960b,_0x1795f4,_0x2a1d36,_0x42765d,_0x5d309d,_0x214649,_0x2b1e15){const _0x5eee40=_0x3f925b;super(),this['_collaborationController']=_0x47960b,this[_0x5eee40(0x2db)]=_0x1795f4,this[_0x5eee40(0x1ce)]=_0x2a1d36,this[_0x5eee40(0x28d)]=_0x42765d,this[_0x5eee40(0x28e)]=_0x5d309d,this[_0x5eee40(0x276)]=_0x214649,this[_0x5eee40(0x27a)]=_0x2b1e15,S(this,_0x5eee40(0x329),new r[(_0x5eee40(0x14a))](e[_0x5eee40(0xfb)]['NOT_COLLAB'])),this[_0x5eee40(0x2bc)]();}[_0x3f925b(0x2bc)](){const _0x154815=_0x3f925b;this[_0x154815(0x1da)](this[_0x154815(0x1db)][_0x154815(0x148)][_0x154815(0x191)](_0x42d267=>{const _0x39e79c=_0x154815;_0x42d267 instanceof e[_0x39e79c(0xa4)]&&_0x42d267[_0x39e79c(0x15c)]({'onTransformIME':_0x49dacb=>this['_docTransformIMECacheService'][_0x39e79c(0x109)](_0x49dacb),'onTransformState':_0x3314de=>this[_0x39e79c(0x1ce)][_0x39e79c(0x222)](_0x3314de),'onTransformSelections':_0x373c31=>this[_0x39e79c(0x28d)][_0x39e79c(0x127)](_0x373c31),'onSyncEditingCollabCursor':_0xe964eb=>this['_docSyncEditingCollabCursorService'][_0x39e79c(0xe9)](_0xe964eb),'onTransformRemoteChangesetByIMECache':_0x15feff=>this[_0x39e79c(0x2db)][_0x39e79c(0x108)](_0x15feff),'onTransformRemoteChangesetByStateCache':_0x314270=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x314270)});}));}};K=w([C(0x0,(0x0,t['Inject'])(e[_0x3f925b(0x1d5)])),C(0x1,(0x0,t[_0x3f925b(0x2de)])(U)),C(0x2,(0x0,t[_0x3f925b(0x2de)])(W)),C(0x3,(0x0,t[_0x3f925b(0x2de)])(G)),C(0x4,(0x0,t[_0x3f925b(0x2de)])(A)),C(0x5,n['IMessageService']),C(0x6,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0x115)]))],K);let q=class extends t['Disposable']{constructor(_0x173261,_0x32ddaf,_0x1cdde7,_0x1e6c3f){const _0x164e61=_0x3f925b;super(),this[_0x164e61(0x1fc)]=_0x173261,this['_httpService']=_0x32ddaf,this['_logService']=_0x1cdde7,this[_0x164e61(0x135)]=_0x1e6c3f,S(this,_0x164e61(0x262),void 0x0),this[_0x164e61(0x237)]();}[_0x3f925b(0x237)](){const _0x475fe5=_0x3f925b;this[_0x475fe5(0x18e)](),this['_initUnhandledRejectionListener'](),this[_0x475fe5(0x15f)](),this[_0x475fe5(0xa3)]();}['_initUserListener'](){const _0x14d465=_0x3f925b;this[_0x14d465(0x1da)](this[_0x14d465(0x135)][_0x14d465(0x31e)][_0x14d465(0x191)](_0x1423f2=>{const _0x180ef0=_0x14d465;this[_0x180ef0(0x262)]=_0x1423f2==null?void 0x0:_0x1423f2[_0x180ef0(0x196)];}));}[_0x3f925b(0x18e)](){const _0x32a801=_0x3f925b;let _0x6b41ef=_0x36261d=>{const _0x28210b=_0x43e1;var _0x31f6e4;this[_0x28210b(0x1fe)]('error',_0x28210b(0x136)+_0x36261d[_0x28210b(0xeb)]+_0x28210b(0x28a)+_0x36261d['filename']+':'+_0x36261d[_0x28210b(0x1c4)]+':'+_0x36261d[_0x28210b(0x304)]+'\x0a'+(((_0x31f6e4=_0x36261d[_0x28210b(0x297)])==null?void 0x0:_0x31f6e4[_0x28210b(0x9b)])||''));};window[_0x32a801(0x2ae)](_0x32a801(0x297),_0x6b41ef),this[_0x32a801(0x1da)](()=>{const _0x3d6593=_0x32a801;window[_0x3d6593(0x17e)](_0x3d6593(0x297),_0x6b41ef);});}['_initUnhandledRejectionListener'](){const _0x4c5050=_0x3f925b;let _0x9bcbb4=_0x35adbf=>{const _0x59b2b9=_0x43e1;this['_uploadLog']('error',_0x59b2b9(0x193)+_0x35adbf[_0x59b2b9(0x208)]);};window[_0x4c5050(0x2ae)]('unhandledrejection',_0x9bcbb4),this[_0x4c5050(0x1da)](()=>{window['removeEventListener']('unhandledrejection',_0x9bcbb4);});}['_monkeyPatchLogService'](){const _0x1b2c9b=_0x3f925b;let _0x2a3e15=this['_logService'][_0x1b2c9b(0x297)][_0x1b2c9b(0x2b8)](this[_0x1b2c9b(0x32a)]);this[_0x1b2c9b(0x32a)]['error']=(..._0x3ae026)=>{const _0x1868a9=_0x1b2c9b;let _0x18c8cf=_0x3ae026[_0x1868a9(0x33f)](_0xbd9ddf=>_0xbd9ddf instanceof Error?_0xbd9ddf[_0x1868a9(0xeb)]+'\x0a'+_0xbd9ddf[_0x1868a9(0x9b)]:String(_0xbd9ddf))['join']('\x20');this[_0x1868a9(0x1fe)](_0x1868a9(0x297),_0x1868a9(0x1c7)+_0x18c8cf),_0x2a3e15(..._0x3ae026);},this[_0x1b2c9b(0x1da)](()=>{const _0x375d01=_0x1b2c9b;this[_0x375d01(0x32a)][_0x375d01(0x297)]=_0x2a3e15;});}[_0x3f925b(0x1fe)](_0x2ae047,_0x26d560){const _0x3d281b=_0x3f925b;try{let _0x1f23b7={'userId':this[_0x3d281b(0x262)],'logLabel':_0x2ae047,'content':_0x26d560};this[_0x3d281b(0x1f9)][_0x3d281b(0x343)](_0x3d281b(0x290),{'body':_0x1f23b7})['catch'](()=>{});}catch{}}};q=w([C(0x0,(0x0,t[_0x3f925b(0x2de)])(t['Injector'])),C(0x1,(0x0,t[_0x3f925b(0x2de)])(f['HTTPService'])),C(0x2,t[_0x3f925b(0x183)]),C(0x3,(0x0,t[_0x3f925b(0x2de)])(e[_0x3f925b(0x2a6)]))],q);function ve(_0x21de95){const _0x3185cd=_0x3f925b;var _0x55999b,_0x5ab7eb;let _0x3f2322=(_0x55999b=_0x21de95[_0x3185cd(0xed)])==null?void 0x0:_0x55999b[_0x3185cd(0x13a)],_0x34a45c=((_0x5ab7eb=_0x21de95[_0x3185cd(0xed)])==null?void 0x0:_0x5ab7eb[_0x3185cd(0x106)])||0x0;return _0x3f2322===_['FormulaExecuteStageType'][_0x3185cd(0xad)]&&_0x34a45c>0x0;}function ye(_0x4e0db9){const _0x4fccda=_0x3f925b;return _0x4e0db9[_0x4fccda(0x34b)]===_[_0x4fccda(0x2ba)][_0x4fccda(0x1d2)];}let J=class extends t[_0x3f925b(0x318)]{constructor(_0x325563,_0xc7bccf,_0x4bc11b,_0x31e39f,_0xef5f7c,_0xb9253e,_0x5aae6e){const _0x167b76=_0x3f925b;super(),this[_0x167b76(0x276)]=_0x325563,this[_0x167b76(0x217)]=_0xc7bccf,this['_configService']=_0x4bc11b,this[_0x167b76(0x1f9)]=_0x31e39f,this['_univerInstanceService']=_0xef5f7c,this[_0x167b76(0x32a)]=_0xb9253e,this[_0x167b76(0x27a)]=_0x5aae6e,S(this,_0x167b76(0x122),null),S(this,_0x167b76(0xd0),0x0),S(this,_0x167b76(0x2c1),0x0),S(this,_0x167b76(0x1f6),[]),S(this,_0x167b76(0x313),0x0),this['_initCommandInterceptor']();}[_0x3f925b(0x1a8)](){const _0x283187=_0x3f925b;this[_0x283187(0x1da)](this['_commandService'][_0x283187(0xf2)]((_0x496007,_0xa64b)=>{const _0x260f1f=_0x283187;var _0x167d64;if(_0x496007['id']!==_['SetFormulaCalculationStartMutation']['id'])return;let _0x1c2de0=_0x496007['params'];if(this[_0x260f1f(0x24d)]((_0x167d64=_0x1c2de0['dirtyRanges'])==null?[]:_0x167d64)&&!this[_0x260f1f(0x16d)]())throw this[_0x260f1f(0x9a)](_0x496007,_0xa64b),this[_0x260f1f(0x100)](),new t[(_0x260f1f(0x2cc))]();})),this[_0x283187(0x1da)](this[_0x283187(0x217)][_0x283187(0x30e)]((_0x3cbf05,_0x56ad2c)=>{const _0x4a852a=_0x283187;if(_0x3cbf05['id']!==_[_0x4a852a(0x21c)]['id'])return;let _0x3e4397=_0x3cbf05['params'];if(ve(_0x3e4397)){let _0x5bc5a0=(0x0,t[_0x4a852a(0x1fa)])();this['_taskIds'][_0x4a852a(0x267)](_0x5bc5a0),this[_0x4a852a(0x26c)](_0x5bc5a0);}else{if(ye(_0x3e4397)&&this['_taskIds'][_0x4a852a(0x165)]>0x0){let _0x1c9e79=this['_taskIds'][_0x4a852a(0x1c9)]();this[_0x4a852a(0x160)](_0x1c9e79);}}}));}[_0x3f925b(0x171)](){const _0x17c299=_0x3f925b;super[_0x17c299(0x171)](),this[_0x17c299(0x25f)](),this[_0x17c299(0x1f6)]=[],this[_0x17c299(0x2c1)]=0x0,this[_0x17c299(0xd0)]=0x0,this[_0x17c299(0x313)]=0x0;}async[_0x3f925b(0x9a)](_0x45dec2,_0x57db1b){const _0x15661f=_0x3f925b;for(let _0x8d05a6=0x0;_0x8d05a6<0x1e;_0x8d05a6++)try{if(await this[_0x15661f(0x117)](),this[_0x15661f(0x16d)]()){this[_0x15661f(0x10a)](_0x45dec2,_0x57db1b),this[_0x15661f(0x276)][_0x15661f(0x9f)]({'content':this['_localeService']['t'](_0x15661f(0x360)),'type':a['MessageType'][_0x15661f(0x2d6)]});return;}await new Promise(_0x35f057=>{const _0x704340=_0x15661f;this[_0x704340(0x122)]=window[_0x704340(0x9c)](_0x35f057,0x3e8);});}catch(_0x36a92f){this[_0x15661f(0x32a)]['error'](_0x36a92f);}this[_0x15661f(0x276)][_0x15661f(0x9f)]({'content':this[_0x15661f(0x27a)]['t'](_0x15661f(0x23a)),'type':a['MessageType'][_0x15661f(0x21e)]});}['_applyCommand'](_0x55b3ec,_0x385e7e){const _0x35525e=_0x3f925b;try{this['_commandService'][_0x35525e(0xc3)](_0x55b3ec['id'],_0x55b3ec['params'],_0x385e7e);}catch(_0xa4c765){this['_logService'][_0x35525e(0x297)](_0xa4c765);}}['_setFormulaLimitStatus'](_0x2c8b20,_0x222925){const _0xd545e1=_0x3f925b;_0x222925<this[_0xd545e1(0x313)]||(this[_0xd545e1(0x313)]=_0x222925,this[_0xd545e1(0xd0)]=Number[_0xd545e1(0xab)](_0x2c8b20[_0xd545e1(0x153)]),this[_0xd545e1(0x2c1)]=Number['parseInt'](_0x2c8b20[_0xd545e1(0x19e)]));}async[_0x3f925b(0x26c)](_0x3bdafb){const _0x2a97a1=_0x3f925b;let _0x12f813=Date['now']();try{var _0x38da30,_0x393a0a;let _0x4da3dd=((_0x38da30=this['_configService'][_0x2a97a1(0x19a)](e[_0x2a97a1(0x35a)]))==null?void 0x0:_0x38da30[_0x2a97a1(0x225)])||_0x2a97a1(0x2a2),_0x37323c=(await this[_0x2a97a1(0x1f9)][_0x2a97a1(0x343)](_0x4da3dd,{'body':JSON[_0x2a97a1(0x177)]({'taskId':_0x3bdafb})}))[_0x2a97a1(0x18c)];if(((_0x393a0a=_0x37323c[_0x2a97a1(0x297)])==null?void 0x0:_0x393a0a['code'])!==b[_0x2a97a1(0xe3)]['OK'])return;this[_0x2a97a1(0x167)](_0x37323c[_0x2a97a1(0x1ba)],_0x12f813);}catch(_0x5402b6){this[_0x2a97a1(0x32a)][_0x2a97a1(0x297)](_0x5402b6);}}async['_getFormulaLimitStatus'](_0x4cc622){const _0x3229d6=_0x3f925b;let _0x368e5c=Date[_0x3229d6(0x311)]();try{var _0x1f6bf2,_0x3997b9;let _0x3d9dfa=((_0x1f6bf2=this['_configService']['getConfig'](e[_0x3229d6(0x35a)]))==null?void 0x0:_0x1f6bf2[_0x3229d6(0x269)])||_0x3229d6(0x163),_0x3937b3=_0x4cc622?_0x3d9dfa+_0x3229d6(0x10d)+encodeURIComponent(_0x4cc622):_0x3d9dfa,_0x4c13c9=(await this[_0x3229d6(0x1f9)][_0x3229d6(0x116)](_0x3937b3))['body'];if(((_0x3997b9=_0x4c13c9[_0x3229d6(0x297)])==null?void 0x0:_0x3997b9['code'])!==b[_0x3229d6(0xe3)]['OK'])return;this[_0x3229d6(0x167)](_0x4c13c9[_0x3229d6(0x1ba)],_0x368e5c);}catch(_0x3c4fd6){this['_logService'][_0x3229d6(0x297)](_0x3c4fd6);}}async['_releaseCalculationLimit'](_0x5f09a0){const _0x4c9a26=_0x3f925b;let _0x29e57c=Date[_0x4c9a26(0x311)]();try{var _0x29ef89,_0x1320f3;let _0x909c8=((_0x29ef89=this[_0x4c9a26(0x2ee)][_0x4c9a26(0x19a)](e[_0x4c9a26(0x35a)]))==null?void 0x0:_0x29ef89[_0x4c9a26(0x251)])||_0x4c9a26(0xc6),_0x2da0c0=(await this[_0x4c9a26(0x1f9)][_0x4c9a26(0x343)](_0x909c8,{'body':JSON[_0x4c9a26(0x177)]({'taskId':_0x5f09a0})}))[_0x4c9a26(0x18c)];if(((_0x1320f3=_0x2da0c0['error'])==null?void 0x0:_0x1320f3[_0x4c9a26(0x2f4)])!==b[_0x4c9a26(0xe3)]['OK'])return;this['_setFormulaLimitStatus'](_0x2da0c0[_0x4c9a26(0x1ba)],_0x29e57c);}catch(_0x180108){this[_0x4c9a26(0x32a)][_0x4c9a26(0x297)](_0x180108);}}[_0x3f925b(0x16d)](){const _0x290941=_0x3f925b;return this[_0x290941(0xd0)]===0x0?!0x0:this[_0x290941(0xd0)]-this[_0x290941(0x2c1)]>0x0;}[_0x3f925b(0x25f)](){const _0x7bc0e5=_0x3f925b;this[_0x7bc0e5(0x122)]&&(clearTimeout(this['_pollingInterval']),this[_0x7bc0e5(0x122)]=null);}[_0x3f925b(0x100)](){const _0x1be094=_0x3f925b;this['_messageService'][_0x1be094(0x9f)]({'content':this[_0x1be094(0x27a)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':a[_0x1be094(0xf7)][_0x1be094(0x101)]});}[_0x3f925b(0x24d)](_0x1abd39){const _0x612bab=_0x3f925b;for(let _0x5bbca5 of _0x1abd39){let {unitId:_0x4c7005,sheetId:_0x25b269,range:_0x51cdb1}=_0x5bbca5,_0x383046=this[_0x612bab(0xd4)]['getUnit'](_0x4c7005);if(!_0x383046)continue;let _0x5b8b0a=_0x383046[_0x612bab(0xde)](_0x25b269);if(!_0x5b8b0a)continue;let _0x283765=_0x5b8b0a['getCellMatrix']();for(let _0x4f9d86=_0x51cdb1[_0x612bab(0x2dc)];_0x4f9d86<=_0x51cdb1[_0x612bab(0x215)];_0x4f9d86++)for(let _0xea4c43=_0x51cdb1[_0x612bab(0x2ef)];_0xea4c43<=_0x51cdb1['endColumn'];_0xea4c43++){let _0x537ba6=_0x283765[_0x612bab(0xc5)](_0x4f9d86,_0xea4c43);if(_0x537ba6&&((0x0,t['isFormulaString'])(_0x537ba6['f'])||(0x0,t[_0x612bab(0xba)])(_0x537ba6['si'])))return!0x0;}}return!0x1;}};J=w([C(0x0,(0x0,t[_0x3f925b(0x2de)])(n[_0x3f925b(0x247)])),C(0x1,t[_0x3f925b(0x1ea)]),C(0x2,t[_0x3f925b(0x2cf)]),C(0x3,(0x0,t['Inject'])(f[_0x3f925b(0x2f8)])),C(0x4,t['IUniverInstanceService']),C(0x5,t[_0x3f925b(0x183)]),C(0x6,(0x0,t[_0x3f925b(0x2de)])(t['LocaleService']))],J);let Y=class extends t[_0x3f925b(0x318)]{constructor(_0x1d8d0e,_0x4af9a6,_0x1b45e5){const _0x267aa1=_0x3f925b;super(),this[_0x267aa1(0x2ee)]=_0x1d8d0e,this[_0x267aa1(0x2a5)]=_0x4af9a6,this[_0x267aa1(0x2e3)]=_0x1b45e5,S(this,_0x267aa1(0x1c3),new Map()),S(this,_0x267aa1(0x272),new Map()),S(this,_0x267aa1(0x338),!0x1);}[_0x3f925b(0xc0)](){const _0x367df6=_0x3f925b;this[_0x367df6(0x338)]=!0x0;}[_0x3f925b(0x200)](){const _0x2c8ab7=_0x3f925b;this[_0x2c8ab7(0x338)]=!0x1;}get[_0x3f925b(0x14e)](){const _0x1624cb=_0x3f925b;return this[_0x1624cb(0x272)];}[_0x3f925b(0x171)](){const _0x47bb93=_0x3f925b;this[_0x47bb93(0x20f)]()[_0x47bb93(0x351)](()=>super['dispose']());}async['loadOfflineData'](_0x1094c0){const _0x584881=_0x3f925b;return this[_0x584881(0x338)]?null:this[_0x584881(0x2a5)][_0x584881(0x340)]((0x0,e[_0x584881(0x123)])(_0x1094c0));}async[_0x3f925b(0xbb)](_0x4043fa,_0x271196){const _0x65c7f2=_0x3f925b;return!!this[_0x65c7f2(0x2a5)]['setItem']((0x0,e['getLocalCacheKey'])(_0x4043fa),_0x271196);}async[_0x3f925b(0x22b)](_0x3020af,_0x22c269){const _0x390ba6=_0x3f925b;var _0x26eb12;let _0x55aaae=(_0x26eb12=this[_0x390ba6(0x1c3)]['get'](_0x3020af))==null?await this['_localStorageService']['getItem']((0x0,e[_0x390ba6(0x123)])(_0x3020af)):_0x26eb12;if(!_0x55aaae)return;let _0x3d1d8c=Date['now'](),_0x2881cc=new Date(_0x3d1d8c)[_0x390ba6(0xe5)]();await this[_0x390ba6(0x2a5)]['setItem']((0x0,e[_0x390ba6(0x123)])(_0x3020af)+':backup:'+_0x3d1d8c,{'reason':_0x22c269,'createdAt':_0x2881cc,'data':_0x55aaae});}[_0x3f925b(0x20e)](_0x2f7361,_0x38cb62,_0xd4a11c,_0x1e046d){const _0xec0a55=_0x3f925b;let _0x401d65=this[_0xec0a55(0x2e3)][_0xec0a55(0x16c)](_0x2f7361);this[_0xec0a55(0x1c3)]['set'](_0x2f7361,{'unitID':_0x2f7361,'type':_0x38cb62,'awaitingChangeset':_0xd4a11c,'mutations':_0x1e046d,'rev':_0x401d65}),this[_0xec0a55(0x272)][_0xec0a55(0x355)](_0x2f7361)||this[_0xec0a55(0xfa)](_0x2f7361);}[_0x3f925b(0xfa)](_0x36e168){const _0x1ee2e5=_0x3f925b;let _0x2d8ee1=this[_0x1ee2e5(0x249)]();_0x2d8ee1===0x0?this['_saveCache'](_0x36e168):this[_0x1ee2e5(0x272)][_0x1ee2e5(0x128)](_0x36e168,setTimeout(()=>this[_0x1ee2e5(0x156)](_0x36e168),_0x2d8ee1));}[_0x3f925b(0x249)](){const _0x1ec2d6=_0x3f925b;var _0x7f63d3;return(_0x7f63d3=this['_configService'][_0x1ec2d6(0x19a)](e['LOCAL_CACHE_INTERVAL_KEY']))==null?e[_0x1ec2d6(0x24e)]:_0x7f63d3;}['_saveCache'](_0x548f30){const _0x50370e=_0x3f925b;let _0x1177c4=this[_0x50370e(0x272)][_0x50370e(0x116)](_0x548f30);return _0x1177c4!==void 0x0&&window[_0x50370e(0x14f)](_0x1177c4),this[_0x50370e(0x2a5)]['setItem']((0x0,e[_0x50370e(0x123)])(_0x548f30),this[_0x50370e(0x1c3)][_0x50370e(0x116)](_0x548f30))[_0x50370e(0x351)](()=>this[_0x50370e(0x272)][_0x50370e(0x19d)](_0x548f30));}async[_0x3f925b(0x20f)](){const _0x717a1e=_0x3f925b;let _0x4e9dfa=[];this[_0x717a1e(0x272)][_0x717a1e(0xbd)]((_0x457a31,_0x2ec7fc)=>{const _0x37a138=_0x717a1e;window[_0x37a138(0x14f)](_0x457a31),_0x4e9dfa['push'](this[_0x37a138(0x156)](_0x2ec7fc)[_0x37a138(0x351)](()=>{const _0x570ea4=_0x37a138;this[_0x570ea4(0x272)][_0x570ea4(0x19d)](_0x2ec7fc);}));}),await Promise[_0x717a1e(0x130)](_0x4e9dfa);}};Y=w([C(0x0,t[_0x3f925b(0x2cf)]),C(0x1,t['ILocalStorageService']),C(0x2,(0x0,t[_0x3f925b(0x2de)])(h[_0x3f925b(0x35f)]))],Y);var X=class extends t[_0x3f925b(0x33e)]{constructor(){const _0x3e38a5=_0x3f925b;super(),S(this,_0x3e38a5(0x29e),void 0x0),this[_0x3e38a5(0x29e)]=(0x0,r[_0x3e38a5(0x288)])(window,_0x3e38a5(0x2fe))[_0x3e38a5(0xa2)]((0x0,r[_0x3e38a5(0xfd)])(this[_0x3e38a5(0x2d2)]),(0x0,r['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,r[_0x3e38a5(0xd1)])(void 0x0));}[_0x3f925b(0x2af)](_0x4ad2b8,_0x489b6d,_0x1c7143=!0x1){const _0x849762=_0x3f925b;let _0x2ec342=new URL(window[_0x849762(0xbc)][_0x849762(0x2ed)]);_0x2ec342['searchParams'][_0x849762(0x128)](_0x4ad2b8,_0x489b6d),_0x1c7143?window[_0x849762(0x21d)][_0x849762(0x357)]('','',_0x2ec342[_0x849762(0xe4)]()):window[_0x849762(0x21d)][_0x849762(0x335)]('','',_0x2ec342[_0x849762(0xe4)]());}[_0x3f925b(0x162)](_0xc836e3,_0x392ff5=!0x1){const _0x494fe=_0x3f925b;let _0x592b50=new URL(window[_0x494fe(0xbc)][_0x494fe(0x2ed)]);_0x592b50[_0x494fe(0x1a7)]['delete'](_0xc836e3),_0x392ff5?window[_0x494fe(0x21d)][_0x494fe(0x357)]('','',_0x592b50[_0x494fe(0xe4)]()):window['history'][_0x494fe(0x335)]('','',_0x592b50[_0x494fe(0xe4)]());}[_0x3f925b(0x34f)](_0x3351b9){const _0x4e0ca1=_0x3f925b;var _0x3855df;return(_0x3855df=new URL(window['location'][_0x4e0ca1(0x2ed)])['searchParams'][_0x4e0ca1(0x116)](_0x3351b9))==null?void 0x0:_0x3855df;}};let Z=class extends t['Plugin']{constructor(_0x57fe4a=ce,_0x5c8b46,_0x3e4519,_0x174c21){const _0x30f557=_0x3f925b;super(),this[_0x30f557(0xc7)]=_0x57fe4a,this['_renderManagerService']=_0x5c8b46,this[_0x30f557(0x1fc)]=_0x3e4519,this['_configService']=_0x174c21;let {..._0x8818a3}=(0x0,t[_0x30f557(0x114)])({},ce,this[_0x30f557(0xc7)]);this[_0x30f557(0x2ee)][_0x30f557(0x323)](_0x30f557(0x268),_0x8818a3);}[_0x3f925b(0x203)](){const _0x48b2a0=_0x3f925b;this['_registerDependencies'](),this[_0x48b2a0(0x2a3)]();}[_0x3f925b(0x150)](){const _0x183460=_0x3f925b;this[_0x183460(0x1ac)]();}[_0x3f925b(0x301)](){const _0x29859a=_0x3f925b;var _0x2b45f7;let _0x517eac=[[k],[J],[E,{'useClass':X}],[f[_0x29859a(0x9e)],{'useClass':f[_0x29859a(0x330)]}],[e['ILocalCacheService'],{'useClass':Y}],[T],[H],[P],[D]];this[_0x29859a(0xc7)][_0x29859a(0xee)]!==!0x1&&_0x517eac[_0x29859a(0x267)]([G],[U],[W],[A],[K],[O]),this['_config'][_0x29859a(0x302)]&&_0x517eac['push']([q]),(0x0,t[_0x29859a(0x158)])(this[_0x29859a(0x1fc)],(0x0,t[_0x29859a(0x176)])(_0x517eac,(_0x2b45f7=this['_config'])==null?void 0x0:_0x2b45f7[_0x29859a(0x361)]));}['_registerRenderDependencies'](){const _0x3e17e9=_0x3f925b;this['_config'][_0x3e17e9(0xee)]!==!0x1&&this[_0x3e17e9(0x1da)](this['_renderManagerService'][_0x3e17e9(0x253)](t[_0x3e17e9(0x244)][_0x3e17e9(0x1ad)],[R])),this['disposeWithMe'](this[_0x3e17e9(0x32c)][_0x3e17e9(0x253)](t[_0x3e17e9(0x244)][_0x3e17e9(0x173)],[B])),this[_0x3e17e9(0x1da)](this['_renderManagerService'][_0x3e17e9(0x253)](t[_0x3e17e9(0x244)][_0x3e17e9(0xaa)],[V]));}[_0x3f925b(0x2a3)](){const _0xf68321=_0x3f925b;(0x0,t[_0xf68321(0x1b1)])(this['_injector'],[[P],[T],[H],[D],[J]]),this[_0xf68321(0xc7)][_0xf68321(0xee)]!==!0x1&&(0x0,t[_0xf68321(0x1b1)])(this[_0xf68321(0x1fc)],[[K],[O]]),this[_0xf68321(0xc7)][_0xf68321(0x302)]&&(0x0,t['touchDependencies'])(this[_0xf68321(0x1fc)],[[q]]);}};S(Z,'pluginName',_0x3f925b(0x145)),S(Z,_0x3f925b(0x1f4),oe),S(Z,_0x3f925b(0x334),se),Z=w([(0x0,t[_0x3f925b(0x104)])(e['UniverCollaborationClientPlugin']),C(0x1,d[_0x3f925b(0xa1)]),C(0x2,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0xcb)])),C(0x3,t[_0x3f925b(0x2cf)])],Z);let Q=class extends e['CollaborationSocketService']{constructor(_0x2d7460,_0x2600a5,_0x52d789,_0x11f2f1,_0x54059f){super(_0x2d7460,_0x2600a5,_0x52d789,_0x11f2f1,_0x54059f);}async[_0x3f925b(0x131)](_0x3b0ef0){const _0x7180ff=_0x3f925b;let _0xd8adda=await this[_0x7180ff(0x210)](),_0x18f707=this[_0x7180ff(0x2e9)](_0x3b0ef0,_0xd8adda);return this[_0x7180ff(0x1f0)](_0x18f707);}['_createSocketURL'](_0x28bf8a,_0x3aa93b){const _0x72f12f=_0x3f925b;let _0x2782b9=typeof window>'u'?new URL(_0x28bf8a):new URL(_0x28bf8a,window[_0x72f12f(0xbc)][_0x72f12f(0xdd)]);_0x2782b9[_0x72f12f(0x1a7)][_0x72f12f(0x128)]('sessionTicket',_0x3aa93b);let _0xdd0eef=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x72f12f(0xbc)][_0x72f12f(0x22a)]);return _0xdd0eef[_0x72f12f(0x116)](_0x72f12f(0x111))&&_0x2782b9[_0x72f12f(0x1a7)][_0x72f12f(0x128)](_0x72f12f(0x111),_0xdd0eef[_0x72f12f(0x116)](_0x72f12f(0x111))),_0x2782b9[_0x72f12f(0xe4)]();}async[_0x3f925b(0x210)](){const _0x7fbe31=_0x3f925b;var _0x4ebe3e,_0x12378c,_0x3a901c;let _0x5123ac=this[_0x7fbe31(0x2ee)][_0x7fbe31(0x19a)](e[_0x7fbe31(0x35a)]),_0x1ea815=(_0x4ebe3e=_0x5123ac==null?void 0x0:_0x5123ac['wsSessionTicketUrl'])==null?e['DEFAULT_WS_SESSION_TICKET_URL']:_0x4ebe3e;return(_0x12378c=(_0x3a901c=(await this[_0x7fbe31(0x1f9)][_0x7fbe31(0x116)](_0x1ea815,{'headers':{'Content-Type':_0x7fbe31(0x1f8)}}))[_0x7fbe31(0x18c)])==null?void 0x0:_0x3a901c['ticket'])==null?'':_0x12378c;}};Q=w([C(0x0,(0x0,t[_0x3f925b(0x2de)])(t[_0x3f925b(0xcb)])),C(0x1,(0x0,t[_0x3f925b(0x2de)])(f['HTTPService'])),C(0x2,t[_0x3f925b(0x2cf)]),C(0x3,t[_0x3f925b(0x183)]),C(0x4,h[_0x3f925b(0x29d)])],Q);let $=class extends t[_0x3f925b(0x318)]{constructor(_0x5c2cdd,_0x394e3f,_0x579ce7){const _0x246fe5=_0x3f925b;super(),this[_0x246fe5(0x31d)]=_0x5c2cdd,this[_0x246fe5(0x1f9)]=_0x394e3f,this[_0x246fe5(0x2ee)]=_0x579ce7;}async[_0x3f925b(0xd8)](_0x49523f,_0x5a2f4c,_0x575bd7,..._0x36c3b2){const _0x2541d2=_0x3f925b;var _0x29ad06,_0x4cf935,_0x128dec,_0x4d5f38;let _0x197c24=this[_0x2541d2(0x31d)]['getFocusedUnit']();if(!_0x197c24)throw Error(_0x2541d2(0x295));let _0x4a6d85=((_0x29ad06=this[_0x2541d2(0x2ee)][_0x2541d2(0x19a)](e[_0x2541d2(0xf3)]))==null?e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x29ad06)+'/'+_0x49523f+_0x2541d2(0x319)+_0x5a2f4c,_0x2df95b={'scriptId':_0x49523f,'runId':(_0x4cf935=new URL(window['location']['href'])[_0x2541d2(0x1a7)][_0x2541d2(0x116)](_0x2541d2(0x111)))==null?'':_0x4cf935,'function':_0x5a2f4c,'unitId':_0x197c24[_0x2541d2(0x12e)](),'argsOfFunction':JSON['stringify'](_0x36c3b2),'invokeId':(_0x128dec=_0x575bd7['invokeId'])==null?'':_0x128dec,'executionId':(_0x4d5f38=_0x575bd7[_0x2541d2(0xf6)])==null?'':_0x4d5f38};try{let _0x5c77d4=await this[_0x2541d2(0x1f9)][_0x2541d2(0x343)](_0x4a6d85,{'body':_0x2df95b});return _0x5c77d4['body']['error']&&_0x5c77d4[_0x2541d2(0x18c)]['error']['code']!==b[_0x2541d2(0xe3)]['OK']?'Failed':_0x5c77d4['body'][_0x2541d2(0x2e7)];}catch{return _0x2541d2(0x175);}}};$=w([C(0x0,t[_0x3f925b(0x345)]),C(0x1,(0x0,t[_0x3f925b(0x2de)])(f[_0x3f925b(0x2f8)])),C(0x2,t[_0x3f925b(0x2cf)])],$);const be=0x7530,xe=_0x3f925b(0x28c);var Se=class extends t[_0x3f925b(0x318)]{constructor(){const _0x2be1d4=_0x3f925b;super(),S(this,_0x2be1d4(0x2f5),(0x0,t[_0x2be1d4(0x1fa)])()),S(this,_0x2be1d4(0x26b),new Set()),S(this,_0x2be1d4(0x29c),new Map()),S(this,_0x2be1d4(0x2f3),null),S(this,_0x2be1d4(0x31f),new Map()),S(this,'_unitStatus',new Map()),this['_init']();}[_0x3f925b(0x171)](){const _0x1df979=_0x3f925b;super[_0x1df979(0x171)](),this['_clearOtherTimers'][_0x1df979(0xbd)]((_0x6dd48b,_0x48300f)=>this[_0x1df979(0x1be)](_0x48300f)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x1df979(0x2f3)]);}['getUnitStatus$'](_0x88b922){const _0x3a76a9=_0x3f925b;return this['_ensureSubject'](_0x88b922)[_0x3a76a9(0xa2)]((0x0,r['distinctUntilChanged'])());}[_0x3f925b(0x2c2)](_0x57b02e){const _0xffe16d=_0x3f925b;this['_selfUnitIDs']['size']===0x0&&this[_0xffe16d(0x12f)](),this[_0xffe16d(0x26b)][_0xffe16d(0x2b1)](_0x57b02e),this[_0xffe16d(0xaf)]({'type':0x0,'memberID':this[_0xffe16d(0x2f5)],'unitIDs':[_0x57b02e],'isForwarded':!0x1});}[_0x3f925b(0x248)](_0x2a5989){const _0x1ff346=_0x3f925b;this[_0x1ff346(0x26b)][_0x1ff346(0x19d)](_0x2a5989),this[_0x1ff346(0x26b)][_0x1ff346(0x327)]===0x0&&this[_0x1ff346(0x2f3)]&&window[_0x1ff346(0x15d)](this[_0x1ff346(0x2f3)]);}[_0x3f925b(0x237)](){const _0x55e45f=_0x3f925b;this[_0x55e45f(0x1da)]((0x0,t['toDisposable'])((0x0,r[_0x55e45f(0x288)])(window,_0x55e45f(0x197))[_0x55e45f(0x191)](_0x236b2a=>{const _0x12e20f=_0x55e45f;if(_0x236b2a['key']!==xe||!_0x236b2a[_0x12e20f(0x358)])return;let _0x4b29d4=JSON[_0x12e20f(0x241)](_0x236b2a[_0x12e20f(0x358)]);this[_0x12e20f(0xf4)](_0x4b29d4);}))),window[_0x55e45f(0x2ae)](_0x55e45f(0xd3),()=>this[_0x55e45f(0xaf)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x55e45f(0x26b)])}));}[_0x3f925b(0xf4)](_0x1f32b7){const _0x540d02=_0x3f925b;switch(_0x1f32b7[_0x540d02(0x2b7)]){case 0x0:this[_0x540d02(0xa8)](_0x1f32b7);break;case 0x1:this['_handleLeaveEvent'](_0x1f32b7);break;case 0x2:this[_0x540d02(0x152)](_0x1f32b7);break;}}[_0x3f925b(0xa8)](_0x3679c3){const _0x4e02f4=_0x3f925b;let {unitIDs:_0x3e7596,memberID:_0x4264a7,isForwarded:_0x202c1d}=_0x3679c3;_0x3e7596[_0x4e02f4(0xbd)](_0x49d090=>{const _0x5c8806=_0x4e02f4;if(!_0x202c1d&&this[_0x5c8806(0x29c)][_0x5c8806(0x355)](_0x49d090)&&this[_0x5c8806(0x1bd)](_0x49d090)[_0x5c8806(0x2f7)](e['UnitStatus'][_0x5c8806(0x305)]),!this[_0x5c8806(0x29c)][_0x5c8806(0x355)](_0x49d090)||!this['_unitOnClients']['get'](_0x49d090)[_0x5c8806(0x355)](_0x4264a7)){let _0x324539=this[_0x5c8806(0x29c)][_0x5c8806(0x116)](_0x49d090)||new Set();_0x324539[_0x5c8806(0x2b1)](_0x4264a7),this[_0x5c8806(0x29c)][_0x5c8806(0x128)](_0x49d090,_0x324539),this[_0x5c8806(0x2c8)](_0x4264a7);}}),_0x202c1d||this[_0x4e02f4(0xaf)]({'type':0x0,'memberID':this[_0x4e02f4(0x2f5)],'unitIDs':[...this[_0x4e02f4(0x26b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x44c283){const _0x369b5a=_0x3f925b;this[_0x369b5a(0x1be)](_0x44c283);let _0x509c41=window[_0x369b5a(0x9c)](()=>{const _0x4824f2=_0x369b5a;this['_unitOnClients'][_0x4824f2(0xbd)](_0x79c400=>{_0x79c400['delete'](_0x44c283);});},be*0x2);this[_0x369b5a(0x31f)]['set'](_0x44c283,_0x509c41);}[_0x3f925b(0x1be)](_0x3ef4e1){const _0x12747b=_0x3f925b;if(this[_0x12747b(0x31f)][_0x12747b(0x355)](_0x3ef4e1)){let _0x57acb9=this[_0x12747b(0x31f)][_0x12747b(0x116)](_0x3ef4e1);_0x57acb9&&window[_0x12747b(0x14f)](_0x57acb9),this[_0x12747b(0x31f)][_0x12747b(0x128)](_0x3ef4e1,null);}}[_0x3f925b(0x202)](_0x35355a){const _0x1a2ced=_0x3f925b;let {memberID:_0x2beb26,unitIDs:_0x20bddc}=_0x35355a;_0x20bddc['forEach'](_0x225ade=>{const _0x458834=_0x43e1;var _0x4578fc;let _0x22101b=this[_0x458834(0x29c)][_0x458834(0x116)](_0x225ade);_0x22101b&&(_0x22101b[_0x458834(0x19d)](_0x2beb26),(_0x4578fc=this[_0x458834(0x1bd)](_0x225ade))==null||_0x4578fc['next'](_0x22101b[_0x458834(0x327)]===0x0?e[_0x458834(0x23e)]['NO_OTHER_CLIENTS_EDITING']:e[_0x458834(0x23e)][_0x458834(0x305)]));}),this[_0x1a2ced(0x1be)](_0x2beb26);}[_0x3f925b(0x152)](_0x230e0f){const _0x52f822=_0x3f925b;this[_0x52f822(0x2c8)](_0x230e0f[_0x52f822(0x196)]);}[_0x3f925b(0xaf)](_0x574ec5){const _0x2872fa=_0x3f925b;localStorage[_0x2872fa(0x1d8)](xe,JSON[_0x2872fa(0x177)](_0x574ec5));}[_0x3f925b(0x12f)](){const _0x5802f2=_0x3f925b;this[_0x5802f2(0x2f3)]=window['setInterval'](()=>{const _0x19163f=_0x5802f2;this[_0x19163f(0xaf)]({'type':0x2,'memberID':this[_0x19163f(0x2f5)]});},be);}[_0x3f925b(0x1bd)](_0x57a9e7){const _0xd1e299=_0x3f925b;return this['_unitStatus']['has'](_0x57a9e7)||this[_0xd1e299(0x199)][_0xd1e299(0x128)](_0x57a9e7,new r['BehaviorSubject'](e[_0xd1e299(0x23e)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xd1e299(0x116)](_0x57a9e7);}};Object[_0x3f925b(0xc1)](exports,_0x3f925b(0x24a),{'enumerable':!0x0,'get':function(){return Q;}}),Object[_0x3f925b(0xc1)](exports,_0x3f925b(0x10b),{'enumerable':!0x0,'get':function(){return D;}}),Object['defineProperty'](exports,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return T;}}),exports[_0x3f925b(0x1eb)]=E,Object['defineProperty'](exports,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3f925b(0x325)]=z,Object[_0x3f925b(0xc1)](exports,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return Z;}}),exports[_0x3f925b(0x2e1)]=Se,exports[_0x3f925b(0x13c)]=X;
|
|
1
|
+
const _0x437440=_0x30e6;(function(_0x51095f,_0xe8556c){const _0x423209=_0x30e6,_0x26b0dc=_0x51095f();while(!![]){try{const _0x221736=-parseInt(_0x423209(0x251))/0x1*(parseInt(_0x423209(0x2bc))/0x2)+parseInt(_0x423209(0x315))/0x3+parseInt(_0x423209(0x2ab))/0x4+parseInt(_0x423209(0x37f))/0x5*(-parseInt(_0x423209(0x334))/0x6)+parseInt(_0x423209(0x2f8))/0x7*(parseInt(_0x423209(0x28f))/0x8)+-parseInt(_0x423209(0x22a))/0x9*(-parseInt(_0x423209(0x19e))/0xa)+-parseInt(_0x423209(0x212))/0xb;if(_0x221736===_0xe8556c)break;else _0x26b0dc['push'](_0x26b0dc['shift']());}catch(_0x2289b8){_0x26b0dc['push'](_0x26b0dc['shift']());}}}(_0x184f,0xb42b4),Object[_0x437440(0x16a)](exports,Symbol['toStringTag'],{'value':_0x437440(0x28e)}));let e=require('@univerjs-pro/boards-ui'),t=require('@univerjs-pro/collaboration-client'),n=require('@univerjs/core'),r=require('@univerjs/ui'),i=require('rxjs'),a=require('rxjs/operators'),o=require('@univerjs/design'),s=require('@univerjs/icons'),c=require('react'),l=require('react/jsx-runtime'),u=require('@univerjs/engine-render'),d=require('@univerjs/network'),f=require('@univerjs/docs-ui'),p=require('@univerjs-pro/collaboration'),m=require('@univerjs/docs'),h=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),_=require('@univerjs-pro/slides-ui'),v=require('@univerjs/sheets-ui'),ee=require('@univerjs/rpc'),y=require('@univerjs/protocol');function te(_0x50a557){const _0x2d0219=_0x437440;switch(_0x50a557){case t[_0x2d0219(0x361)][_0x2d0219(0x2e2)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x190)],{}),'colorClass':_0x2d0219(0x36a),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x2d0219(0x392),'clickable':!0x0,'indicator':_0x2d0219(0x29b)};case t['CollaborationStatus'][_0x2d0219(0x39e)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x190)],{}),'colorClass':_0x2d0219(0x20b),'i18nKey':_0x2d0219(0x180),'clickable':!0x1,'indicator':'static'};case t[_0x2d0219(0x361)][_0x2d0219(0x418)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x311)],{}),'colorClass':_0x2d0219(0x2ff),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x2d0219(0x162)};case t[_0x2d0219(0x361)]['NOT_COLLAB']:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s['OnLineIcon'],{}),'colorClass':'univer-text-gray-400','i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x2d0219(0x29b)};case t[_0x2d0219(0x361)][_0x2d0219(0x29c)]:case t[_0x2d0219(0x361)][_0x2d0219(0x348)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x311)],{}),'colorClass':_0x2d0219(0x2ff),'i18nKey':_0x2d0219(0x1fa),'clickable':!0x1,'indicator':'spin'};case t[_0x2d0219(0x361)][_0x2d0219(0x1c7)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x311)],{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x2d0219(0x162)};case t[_0x2d0219(0x361)][_0x2d0219(0x25f)]:return{'icon':(0x0,l[_0x2d0219(0x41b)])(s[_0x2d0219(0x34a)],{}),'colorClass':_0x2d0219(0x1e3),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function ne(_0x7b67b){const _0x25fdf9=_0x437440;let {status$:_0x5a173a}=_0x7b67b,_0x245dc7=(0x0,r[_0x25fdf9(0x325)])(_0x5a173a,t[_0x25fdf9(0x361)][_0x25fdf9(0x229)]),_0x383f89=(0x0,r['useDependency'])(n[_0x25fdf9(0x2f3)]),_0xa32d89=(0x0,r[_0x25fdf9(0x237)])(t[_0x25fdf9(0x369)]),_0x3d84a1=(0x0,c[_0x25fdf9(0x175)])(()=>te(_0x245dc7),[_0x245dc7]),_0x44c7bd=_0x245dc7!==t['CollaborationStatus'][_0x25fdf9(0x2e2)],_0x31b15a=_0x383f89['t'](_0x3d84a1[_0x25fdf9(0x1e6)]),_0x5edd65=_0x3d84a1[_0x25fdf9(0x193)]?_0x383f89['t'](_0x3d84a1[_0x25fdf9(0x193)]):_0x31b15a,_0x44fd55=(0x0,c['useCallback'])(()=>{_0x44c7bd||_0xa32d89['reconnect']();},[_0x44c7bd,_0xa32d89]),_0x2c38af=(0x0,c[_0x25fdf9(0x25c)])(_0x295179=>{const _0xc5f015=_0x25fdf9;!_0x44c7bd&&(_0x295179[_0xc5f015(0x149)]==='Enter'||_0x295179[_0xc5f015(0x149)]==='\x20')&&(_0x295179['preventDefault'](),_0xa32d89[_0xc5f015(0x31b)]());},[_0x44c7bd,_0xa32d89]),_0x1e4e8f=(0x0,l[_0x25fdf9(0x41b)])(_0x25fdf9(0x3f5),{'className':(0x0,o[_0x25fdf9(0x2f2)])(_0x25fdf9(0x1ba),_0x25fdf9(0x2df),_0x3d84a1[_0x25fdf9(0x1ef)],{'univer-animate-spin':_0x3d84a1[_0x25fdf9(0x3c4)]===_0x25fdf9(0x162),'univer-animate-pulse':_0x3d84a1[_0x25fdf9(0x3c4)]===_0x25fdf9(0x3c3)}),'aria-hidden':_0x25fdf9(0x198),'children':_0x3d84a1[_0x25fdf9(0x2f6)]}),_0x2cad5b=(0x0,l['jsx'])(_0x25fdf9(0x3f5),{'className':(0x0,o[_0x25fdf9(0x2f2)])(_0x25fdf9(0x1ba),_0x25fdf9(0x37e),_0x25fdf9(0x370),'focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x3d84a1[_0x25fdf9(0x3e1)],'univer-cursor-default':!_0x3d84a1[_0x25fdf9(0x3e1)]}),'children':_0x1e4e8f});return _0x3d84a1[_0x25fdf9(0x3e1)]?(0x0,l[_0x25fdf9(0x41b)])(o[_0x25fdf9(0x32d)],{'title':_0x5edd65,'placement':_0x25fdf9(0x2e5),'children':(0x0,l[_0x25fdf9(0x41b)])(_0x25fdf9(0x1b0),{'type':'button','onClick':_0x44fd55,'onKeyDown':_0x2c38af,'className':(0x0,o[_0x25fdf9(0x2f2)])(_0x25fdf9(0x371),_0x25fdf9(0x2a6),_0x25fdf9(0x2bd),_0x25fdf9(0x3ef)),'aria-label':_0x31b15a+_0x25fdf9(0x26a)+_0x5edd65,'role':_0x25fdf9(0x15c),'aria-live':_0x25fdf9(0x20a),'aria-atomic':_0x25fdf9(0x198),'children':_0x2cad5b})}):(0x0,l[_0x25fdf9(0x41b)])(o['Tooltip'],{'title':_0x5edd65,'placement':'bottom','children':(0x0,l[_0x25fdf9(0x41b)])('div',{'className':(0x0,o[_0x25fdf9(0x2f2)])(_0x25fdf9(0x371),_0x25fdf9(0x2a6),'univer-m-0\x20univer-p-0'),'aria-label':_0x31b15a,'role':_0x25fdf9(0x15c),'aria-live':'polite','aria-atomic':_0x25fdf9(0x198),'children':_0x2cad5b})});}function b(_0x385f8b){'@babel/helpers - typeof';const _0x516847=_0x437440;return b=typeof Symbol==_0x516847(0x16b)&&typeof Symbol[_0x516847(0x389)]=='symbol'?function(_0x4a9828){return typeof _0x4a9828;}:function(_0x3298af){const _0x3a1176=_0x516847;return _0x3298af&&typeof Symbol=='function'&&_0x3298af[_0x3a1176(0x1a3)]===Symbol&&_0x3298af!==Symbol[_0x3a1176(0x30b)]?_0x3a1176(0x22b):typeof _0x3298af;},b(_0x385f8b);}function re(_0x383102,_0x4bc261){const _0x3ea65b=_0x437440;if(b(_0x383102)!=_0x3ea65b(0x415)||!_0x383102)return _0x383102;var _0x330e29=_0x383102[Symbol[_0x3ea65b(0x27e)]];if(_0x330e29!==void 0x0){var _0x1fcd9b=_0x330e29[_0x3ea65b(0x1db)](_0x383102,_0x4bc261||_0x3ea65b(0x185));if(b(_0x1fcd9b)!=_0x3ea65b(0x415))return _0x1fcd9b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4bc261==='string'?String:Number)(_0x383102);}function ie(_0x3f8508){const _0x2d2b22=_0x437440;var _0x2f937a=re(_0x3f8508,_0x2d2b22(0x3ea));return b(_0x2f937a)=='symbol'?_0x2f937a:_0x2f937a+'';}function x(_0x3661e4,_0x31865d,_0x28d208){return(_0x31865d=ie(_0x31865d))in _0x3661e4?Object['defineProperty'](_0x3661e4,_0x31865d,{'value':_0x28d208,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3661e4[_0x31865d]=_0x28d208,_0x3661e4;}function S(_0x145d57,_0x572a75){return function(_0x122f23,_0x4af403){_0x572a75(_0x122f23,_0x4af403,_0x145d57);};}function C(_0x33c80c,_0x4e809d,_0x5579bd,_0x12f210){const _0x2c0d85=_0x437440;var _0x257eec=arguments[_0x2c0d85(0x346)],_0x594e25=_0x257eec<0x3?_0x4e809d:_0x12f210===null?_0x12f210=Object['getOwnPropertyDescriptor'](_0x4e809d,_0x5579bd):_0x12f210,_0x5cbdc6;if(typeof Reflect==_0x2c0d85(0x415)&&typeof Reflect[_0x2c0d85(0x352)]==_0x2c0d85(0x16b))_0x594e25=Reflect[_0x2c0d85(0x352)](_0x33c80c,_0x4e809d,_0x5579bd,_0x12f210);else{for(var _0x58657b=_0x33c80c['length']-0x1;_0x58657b>=0x0;_0x58657b--)(_0x5cbdc6=_0x33c80c[_0x58657b])&&(_0x594e25=(_0x257eec<0x3?_0x5cbdc6(_0x594e25):_0x257eec>0x3?_0x5cbdc6(_0x4e809d,_0x5579bd,_0x594e25):_0x5cbdc6(_0x4e809d,_0x5579bd))||_0x594e25);}return _0x257eec>0x3&&_0x594e25&&Object['defineProperty'](_0x4e809d,_0x5579bd,_0x594e25),_0x594e25;}let w=class extends n[_0x437440(0x2d0)]{constructor(_0xe4f110,_0x8d6df6,_0x50be6d,_0x262fd5){const _0x401712=_0x437440;super(),this[_0x401712(0x3ff)]=_0xe4f110,this[_0x401712(0x323)]=_0x8d6df6,this[_0x401712(0x1d1)]=_0x50be6d,this[_0x401712(0x209)]=_0x262fd5,x(this,'_status$',new i[(_0x401712(0x2e8))](t[_0x401712(0x361)]['NOT_COLLAB'])),this[_0x401712(0x19c)](),this[_0x401712(0x1b8)]();}[_0x437440(0x1b8)](){const _0x2fedfd=_0x437440;this['disposeWithMe']((0x0,i[_0x2fedfd(0x2b5)])(this[_0x2fedfd(0x3ff)][_0x2fedfd(0x205)],this[_0x2fedfd(0x3ff)][_0x2fedfd(0x2b3)](n[_0x2fedfd(0x24a)][_0x2fedfd(0x2ef)]),this[_0x2fedfd(0x3ff)][_0x2fedfd(0x2b3)](n['UniverInstanceType']['UNIVER_SHEET']))[_0x2fedfd(0x1a8)]((0x0,a[_0x2fedfd(0x2c5)])(()=>ae(this[_0x2fedfd(0x3ff)])),(0x0,a[_0x2fedfd(0x3cb)])(),(0x0,i[_0x2fedfd(0x2cf)])(_0x56cd27=>_0x56cd27?this[_0x2fedfd(0x1d1)][_0x2fedfd(0x174)](_0x56cd27):(0x0,i['of'])(null)),(0x0,i[_0x2fedfd(0x2cf)])(_0x493c80=>_0x493c80?_0x493c80[_0x2fedfd(0x2e3)]:(0x0,i['of'])(t['CollaborationStatus'][_0x2fedfd(0x229)])))[_0x2fedfd(0x1d4)](_0x4e7dd6=>{const _0x4e3594=_0x2fedfd;this['_status$'][_0x4e3594(0x2ee)](_0x4e7dd6);}));}[_0x437440(0x19c)](){const _0x54f7b7=_0x437440;this[_0x54f7b7(0x2cb)](this[_0x54f7b7(0x209)]['registerComponent'](r[_0x54f7b7(0x402)][_0x54f7b7(0x182)],()=>(0x0,r['connectInjector'])(se({'status$':this['_status$']['asObservable']()}),this['_injector'])));}};w=C([S(0x0,n[_0x437440(0x22f)]),S(0x1,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x2,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x416)])),S(0x3,r['IUIPartsService'])],w);let T=class extends n[_0x437440(0x2d0)]{constructor(_0x82fff,_0x445af0,_0x419d76,_0x25abca){const _0x18ddbc=_0x437440;super(),this[_0x18ddbc(0x3ff)]=_0x82fff,this[_0x18ddbc(0x323)]=_0x445af0,this[_0x18ddbc(0x1d1)]=_0x419d76,this[_0x18ddbc(0x209)]=_0x25abca,x(this,_0x18ddbc(0x183),new i[(_0x18ddbc(0x2e8))](t[_0x18ddbc(0x361)][_0x18ddbc(0x229)])),this[_0x18ddbc(0x19c)](),this[_0x18ddbc(0x1b8)]();}[_0x437440(0x1b8)](){const _0x240224=_0x437440;this[_0x240224(0x2cb)]((0x0,i[_0x240224(0x2b5)])((0x0,i['of'])(null),this[_0x240224(0x3ff)]['getCurrentTypeOfUnit$'](n[_0x240224(0x24a)][_0x240224(0x2dc)]))[_0x240224(0x1a8)]((0x0,a[_0x240224(0x2c5)])(()=>oe(this['_univerInstanceService'])),(0x0,a[_0x240224(0x3cb)])(),(0x0,i[_0x240224(0x2cf)])(_0x31b976=>_0x31b976?this[_0x240224(0x1d1)][_0x240224(0x174)](_0x31b976):(0x0,i['of'])(null)),(0x0,i[_0x240224(0x2cf)])(_0x3af4a8=>_0x3af4a8?_0x3af4a8[_0x240224(0x2e3)]:(0x0,i['of'])(t[_0x240224(0x361)][_0x240224(0x229)])))[_0x240224(0x1d4)](_0x3679a7=>{const _0x2e096b=_0x240224;this[_0x2e096b(0x183)][_0x2e096b(0x2ee)](_0x3679a7);}));}['_initStatusComponent'](){const _0x3e00c8=_0x437440;this[_0x3e00c8(0x2cb)](this[_0x3e00c8(0x209)][_0x3e00c8(0x358)](e[_0x3e00c8(0x39f)],()=>(0x0,r[_0x3e00c8(0x26e)])(se({'status$':this[_0x3e00c8(0x183)][_0x3e00c8(0x3d1)]()}),this[_0x3e00c8(0x323)])));}};T=C([S(0x0,n[_0x437440(0x22f)]),S(0x1,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x2,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x416)])),S(0x3,r[_0x437440(0x340)])],T);function ae(_0x2f8ff7){const _0x33a4fb=_0x437440;let _0x1db65d=_0x2f8ff7[_0x33a4fb(0x3ec)](),_0x4e0685=_0x1db65d==null?void 0x0:_0x1db65d[_0x33a4fb(0x161)]();if(_0x4e0685&&!(0x0,n[_0x33a4fb(0x1dd)])(_0x4e0685))return _0x4e0685;let _0x5577d9=_0x2f8ff7['getCurrentUnitOfType'](n['UniverInstanceType'][_0x33a4fb(0x2ef)]),_0x87a27f=_0x5577d9==null?void 0x0:_0x5577d9[_0x33a4fb(0x161)]();if(_0x87a27f&&!(0x0,n['isInternalEditorID'])(_0x87a27f))return _0x87a27f;let _0x35648d=_0x2f8ff7[_0x33a4fb(0x3f3)](n['UniverInstanceType'][_0x33a4fb(0x29a)]);if(_0x35648d)return _0x35648d[_0x33a4fb(0x161)]();let _0xa96488=_0x2f8ff7[_0x33a4fb(0x333)](n[_0x33a4fb(0x24a)]['UNIVER_DOC'])[_0x33a4fb(0x3dd)](_0x4cd1d9=>!(0x0,n[_0x33a4fb(0x1dd)])(_0x4cd1d9[_0x33a4fb(0x161)]()));return _0xa96488?_0xa96488['getUnitId']():null;}function oe(_0x36e07f){const _0x4e0709=_0x437440;var _0x51298e;let _0x54f952=_0x36e07f['getCurrentUnitOfType'](n[_0x4e0709(0x24a)][_0x4e0709(0x2dc)]);return(_0x51298e=_0x54f952==null?void 0x0:_0x54f952[_0x4e0709(0x161)]())==null?null:_0x51298e;}function se(_0x392a4a){let {status$:_0x5107e2}=_0x392a4a;return function(){const _0x529e24=_0x30e6;return(0x0,l[_0x529e24(0x41b)])(ne,{'status$':_0x5107e2});};}var ce=_0x437440(0x33b),le=_0x437440(0x222);const ue={};let E=class extends n[_0x437440(0x157)]{constructor(_0x573ed,_0x41b153){const _0x57047d=_0x437440;super(),this['_docClipboardService']=_0x573ed,this['_imageIoService']=_0x41b153,this[_0x57047d(0x329)]();}[_0x437440(0x329)](){const _0x591ed7=_0x437440;let _0x9db968=this;this['disposeWithMe'](this[_0x591ed7(0x23e)][_0x591ed7(0x3f4)]({'onBeforePasteImage':async _0x549b3e=>{const _0x544919=_0x591ed7;let _0x5664fe=await _0x9db968['_imageIoService'][_0x544919(0x2b4)](_0x549b3e);return _0x5664fe?{'source':_0x5664fe['source'],'imageSourceType':_0x5664fe[_0x544919(0x23d)]}:null;}}));}};E=C([S(0x0,f[_0x437440(0x28a)]),S(0x1,n['IImageIoService'])],E);function de(_0xe2af16,_0x4776af){const _0x2a4550=_0x437440;_0xe2af16[_0x2a4550(0x272)](),_0xe2af16[_0x2a4550(0x155)]='bold\x2013px\x20Arial,\x20sans-serif';let _0x4fae21=_0xe2af16['measureText'](_0x4776af)[_0x2a4550(0x2b0)];return _0xe2af16[_0x2a4550(0x292)](),Math[_0x2a4550(0x284)](_0x4fae21+0x8,0xc8);}function fe(_0xb8fa86,_0x139068){const _0x2e8239=_0x437440;var _0x27ebfb,_0x1ddcd2,_0x5f02db;let {radius:_0x1480af,width:_0x211631,height:_0x570c6c}=_0x139068;_0x1480af=(_0x27ebfb=_0x1480af)==null?0x0:_0x27ebfb,_0x211631=(_0x1ddcd2=_0x211631)==null?0x1e:_0x1ddcd2,_0x570c6c=(_0x5f02db=_0x570c6c)==null?0x1e:_0x5f02db;let _0x149a20=0x0,_0x5060c5=0x0,_0x13fbba=0x0;_0x149a20=_0x5060c5=_0x13fbba=Math[_0x2e8239(0x284)](_0x1480af,_0x211631/0x2,_0x570c6c/0x2),_0xb8fa86['beginPath'](),_0xb8fa86[_0x2e8239(0x1b1)](_0x149a20,0x0),_0xb8fa86[_0x2e8239(0x1c9)](_0x211631-_0x5060c5,0x0),_0xb8fa86[_0x2e8239(0x17d)](_0x211631-_0x5060c5,_0x5060c5,_0x5060c5,Math['PI']*0x3/0x2,0x0,!0x1),_0xb8fa86[_0x2e8239(0x1c9)](_0x211631,_0x570c6c-_0x13fbba),_0xb8fa86[_0x2e8239(0x17d)](_0x211631-_0x13fbba,_0x570c6c-_0x13fbba,_0x13fbba,0x0,Math['PI']/0x2,!0x1),_0xb8fa86['lineTo'](0x0,_0x570c6c),_0xb8fa86[_0x2e8239(0x1c9)](0x0,_0x149a20),_0xb8fa86[_0x2e8239(0x17d)](_0x149a20,_0x149a20,_0x149a20,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb8fa86[_0x2e8239(0x35f)](),_0x139068[_0x2e8239(0x18c)]&&(_0xb8fa86[_0x2e8239(0x272)](),_0xb8fa86[_0x2e8239(0x2aa)]=_0x139068[_0x2e8239(0x18c)],_0x139068['fillRule']==='evenodd'?_0xb8fa86['fill']('evenodd'):_0xb8fa86[_0x2e8239(0x18c)](),_0xb8fa86['restore']());}var D=class e extends u[_0x437440(0x38c)]{constructor(_0x57f0a1,_0x494cd1){const _0x3591ca=_0x437440;super(_0x57f0a1,_0x494cd1),x(this,_0x3591ca(0x404),void 0x0),x(this,_0x3591ca(0x1fb),void 0x0),this[_0x3591ca(0x404)]=_0x494cd1==null?void 0x0:_0x494cd1[_0x3591ca(0x404)],this['text']=_0x494cd1==null?void 0x0:_0x494cd1['text'];}static[_0x437440(0x19f)](_0x3249a4,_0x587afa){const _0x528858=_0x437440;let {text:_0x2894ab,color:_0x538695}=_0x587afa;_0x3249a4[_0x528858(0x272)](),_0x3249a4[_0x528858(0x155)]=_0x528858(0x40c);let _0x26b3f5=_0x3249a4[_0x528858(0x2d2)](_0x2894ab)[_0x528858(0x2b0)];if(fe(_0x3249a4,{'height':0x14,'radius':0x4,'width':de(_0x3249a4,_0x2894ab),'fill':_0x538695,'evented':!0x1}),_0x3249a4[_0x528858(0x2aa)]=_0x528858(0x32a),_0x26b3f5>0xc0){let _0x31de15='',_0x383d0b=0x0;for(let _0x4f6548 of _0x2894ab){let _0x49e38f=_0x3249a4[_0x528858(0x2d2)](_0x4f6548)[_0x528858(0x2b0)];if(_0x383d0b+_0x49e38f<=0xc0-_0x3249a4[_0x528858(0x2d2)](_0x528858(0x211))[_0x528858(0x2b0)])_0x31de15+=_0x4f6548,_0x383d0b+=_0x49e38f;else{_0x31de15+=_0x528858(0x211);break;}}_0x3249a4[_0x528858(0x3c7)](_0x31de15,0x4,0xf);}else _0x3249a4[_0x528858(0x3c7)](_0x2894ab,0x4,0xf);_0x3249a4[_0x528858(0x292)]();}['_draw'](_0x514aa4){const _0x3cf768=_0x437440;e[_0x3cf768(0x19f)](_0x514aa4,this);}};const O=0x138a;var pe=class extends u[_0x437440(0x38c)]{constructor(_0x1fb22d,_0x4de1d5){const _0x55e18d=_0x437440;super(_0x1fb22d,{..._0x4de1d5,'evented':!0x1}),x(this,_0x55e18d(0x342),'#4f46e5'),x(this,_0x55e18d(0x3a8),''),x(this,_0x55e18d(0x40e),!0x0),_0x4de1d5&&this[_0x55e18d(0x15e)](_0x4de1d5);}[_0x437440(0x15e)](_0x1df374){const _0x422235=_0x437440;var _0x174819,_0x4d638a,_0x6b0642,_0x1cb293,_0x1e774a,_0x2ee610,_0x172053,_0x235786;this[_0x422235(0x342)]=(_0x174819=_0x1df374[_0x422235(0x404)])==null?this[_0x422235(0x342)]:_0x174819,this['_name']=(_0x4d638a=_0x1df374['name'])==null?this[_0x422235(0x3a8)]:_0x4d638a,this[_0x422235(0x40e)]=(_0x6b0642=_0x1df374[_0x422235(0x387)])==null?this['_showText']:_0x6b0642,this[_0x422235(0x3c2)]=!0x1,this['transformByState']({'left':(_0x1cb293=_0x1df374[_0x422235(0x2e0)])==null?this[_0x422235(0x2e0)]:_0x1cb293,'top':(_0x1e774a=_0x1df374[_0x422235(0x21a)])==null?this['top']:_0x1e774a,'width':(_0x2ee610=_0x1df374['width'])==null?this[_0x422235(0x2b0)]:_0x2ee610,'height':(_0x172053=_0x1df374['height'])==null?this[_0x422235(0x362)]:_0x172053,'angle':(_0x235786=_0x1df374[_0x422235(0x3d6)])==null?this[_0x422235(0x3d6)]:_0x235786});}[_0x437440(0x3d4)](_0x58b83c){const _0xf650c1=_0x437440;_0x58b83c[_0xf650c1(0x272)](),_0x58b83c[_0xf650c1(0x285)]=this[_0xf650c1(0x342)],_0x58b83c[_0xf650c1(0x280)]=this[_0xf650c1(0x1d6)]||1.5,_0x58b83c[_0xf650c1(0x31a)]([0x6,0x4]),_0x58b83c['strokeRect'](0x0,0x0,this['width'],this['height']),_0x58b83c[_0xf650c1(0x292)](),this[_0xf650c1(0x40e)]&&(_0x58b83c['save'](),_0x58b83c[_0xf650c1(0x257)](0x1,0x0,0x0,0x1,this['width'],-0x14),D[_0xf650c1(0x19f)](_0x58b83c,{'text':this[_0xf650c1(0x3a8)],'color':this[_0xf650c1(0x342)]}),_0x58b83c[_0xf650c1(0x292)]());}};const me=[_0x437440(0x36b),_0x437440(0x35e),_0x437440(0x31d),'red.300',_0x437440(0x2f9),_0x437440(0x3a2)];var k=class extends n['Disposable']{constructor(..._0x1a82c3){const _0x4c68a9=_0x437440;super(..._0x1a82c3),x(this,_0x4c68a9(0x2ce),new Map()),x(this,_0x4c68a9(0x22c),0x0);}['assignAColorForMemberID'](_0x1967dd){const _0x100146=_0x437440;if(this[_0x100146(0x2ce)][_0x100146(0x15d)](_0x1967dd))return this['_assignedColors'][_0x100146(0x226)](_0x1967dd);let _0xd3eeaf=me[this[_0x100146(0x22c)]];return this[_0x100146(0x22c)]=(this['_colorIndex']+0x1)%me[_0x100146(0x346)],this['_assignedColors'][_0x100146(0x18b)](_0x1967dd,_0xd3eeaf),_0xd3eeaf;}};function he(_0x4a85f9){const _0x5def9c=_0x437440;let _0x553f31;try{_0x553f31=JSON['parse'](_0x4a85f9);}catch{return null;}if(typeof _0x553f31!=_0x5def9c(0x415)||!_0x553f31)return null;let _0x806bc5=_0x553f31;if(_0x806bc5[_0x5def9c(0x287)]!==_0x5def9c(0x14f)||typeof _0x806bc5['unitId']!=_0x5def9c(0x3ea)||typeof _0x806bc5[_0x5def9c(0x364)]!=_0x5def9c(0x3ea))return null;let _0x50e5ed=Array[_0x5def9c(0x3aa)](_0x806bc5[_0x5def9c(0x274)])?_0x806bc5[_0x5def9c(0x274)][_0x5def9c(0x277)](_0x226b74=>typeof _0x226b74==_0x5def9c(0x3ea)):[],_0x40b84a=typeof _0x806bc5[_0x5def9c(0x396)]==_0x5def9c(0x3ea)?_0x806bc5[_0x5def9c(0x396)]:null;return{'kind':_0x5def9c(0x14f),'unitId':_0x806bc5[_0x5def9c(0x1a1)],'subUnitId':_0x806bc5[_0x5def9c(0x364)],'selectedIds':_0x50e5ed,'focusedId':_0x40b84a};}let A=class extends n['RxDisposable']{get['cursorInfo'](){const _0x826aa7=_0x437440;return this['_cursorInfo$'][_0x826aa7(0x1ee)]();}get['roomMembers'](){const _0x56c666=_0x437440;return this['_roomMembers$'][_0x56c666(0x1ee)]();}constructor(_0x2b8f27,_0x8d058b,_0x3ad9e5,_0x2b2049,_0x31268d){const _0x131de9=_0x437440;super(),this[_0x131de9(0x2b7)]=_0x2b8f27,this[_0x131de9(0x3bd)]=_0x8d058b,this['_colorAssignService']=_0x3ad9e5,this[_0x131de9(0x1ed)]=_0x2b2049,this[_0x131de9(0x337)]=_0x31268d,x(this,'_online',!0x1),x(this,_0x131de9(0x329),!0x1),x(this,'_cursorInfo$',new i['BehaviorSubject'](new Map())),x(this,_0x131de9(0x332),this['_cursorInfo$'][_0x131de9(0x3d1)]()),x(this,_0x131de9(0x246),new i[(_0x131de9(0x2e8))]([])),x(this,'roomMembers$',this[_0x131de9(0x246)][_0x131de9(0x1a8)]((0x0,i[_0x131de9(0x261)])(0x12c))),x(this,'_updateLocalCursor',(0x0,n[_0x131de9(0x3b4)])(_0x4e5db7=>{const _0xdb9420=_0x131de9;let _0x137f8c=_0x4e5db7[_0xdb9420(0x41d)];if(!_0x137f8c||_0x137f8c['unitId']!==this[_0xdb9420(0x2b7)])return;let _0x1c902b={'kind':_0xdb9420(0x14f),'unitId':_0x137f8c[_0xdb9420(0x1a1)],'subUnitId':_0x137f8c[_0xdb9420(0x364)],'selectedIds':_0x4e5db7['selectedIds']['filter'](_0x237367=>typeof _0x237367==_0xdb9420(0x3ea)),'focusedId':_0x4e5db7[_0xdb9420(0x396)]},_0x35bdc5={'eventID':p[_0xdb9420(0x21f)][_0xdb9420(0x345)],'data':{'unitID':this[_0xdb9420(0x2b7)],'memberID':this['_session']['getMemberID'](),'selection':JSON[_0xdb9420(0x3ac)](_0x1c902b)}};this[_0xdb9420(0x3bd)][_0xdb9420(0x30c)](_0x35bdc5,this['unitID']);},0x64));}[_0x437440(0x1c5)](){const _0x2fd38a=_0x437440;super['dispose'](),this[_0x2fd38a(0x1f7)][_0x2fd38a(0x2ee)](new Map()),this[_0x2fd38a(0x1f7)][_0x2fd38a(0x3a0)](),this[_0x2fd38a(0x246)][_0x2fd38a(0x2ee)]([]),this[_0x2fd38a(0x246)][_0x2fd38a(0x3a0)]();}[_0x437440(0x378)](){const _0x565355=_0x437440;this['_init']||(this[_0x565355(0x329)]=!0x0,this[_0x565355(0x3bd)][_0x565355(0x3e2)][_0x565355(0x1a8)]((0x0,i[_0x565355(0x316)])(this[_0x565355(0x20f)]))[_0x565355(0x1d4)](_0x3a907a=>{const _0x35b220=_0x565355;_0x3a907a===t['SessionStatus'][_0x35b220(0x200)]?this[_0x35b220(0x28b)]():this[_0x35b220(0x15a)]();}),this[_0x565355(0x3bd)][_0x565355(0x2c4)][_0x565355(0x1a8)]((0x0,i[_0x565355(0x316)])(this[_0x565355(0x20f)]))[_0x565355(0x1d4)](_0x43c7cb=>{const _0x16ce80=_0x565355;let _0x492bf4=_0x43c7cb[_0x16ce80(0x2c2)];_0x492bf4===p[_0x16ce80(0x21f)][_0x16ce80(0x345)]&&this['_onCursorUpdate'](_0x43c7cb),_0x492bf4===p[_0x16ce80(0x21f)][_0x16ce80(0x321)]&&this[_0x16ce80(0x1b9)](_0x43c7cb);}),this[_0x565355(0x337)][_0x565355(0x2fb)][_0x565355(0x1a8)]((0x0,i[_0x565355(0x316)])(this['dispose$']))[_0x565355(0x1d4)](_0xb7a951=>{const _0x584c2a=_0x565355;this[_0x584c2a(0x191)]&&this[_0x584c2a(0x23c)](_0xb7a951);}));}[_0x437440(0x154)](_0x4c4aeb){const _0x558be1=_0x437440;var _0x1c746d,_0x498403,_0x347eb0,_0xc3aeee;let {memberID:_0x3daae4,selection:_0x115707}=_0x4c4aeb[_0x558be1(0x2a5)];if(_0x3daae4===((_0x1c746d=(_0x498403=this[_0x558be1(0x3bd)])[_0x558be1(0x39b)])==null?void 0x0:_0x1c746d[_0x558be1(0x1db)](_0x498403)))return;let _0x156bbe=he(_0x115707);if(!_0x156bbe||_0x156bbe[_0x558be1(0x1a1)]!==this['unitID'])return;let _0x4ad6d9=(_0x347eb0=(_0xc3aeee=this[_0x558be1(0x1ed)][_0x558be1(0x3f7)](this[_0x558be1(0x2b7)],_0x3daae4))==null?void 0x0:_0xc3aeee['name'])==null?_0x558be1(0x397):_0x347eb0,_0x2f69f2={'color':this['_colorAssignService'][_0x558be1(0x16f)](_0x3daae4),'name':_0x4ad6d9,'unitId':_0x156bbe[_0x558be1(0x1a1)],'subUnitId':_0x156bbe[_0x558be1(0x364)],'selectedIds':_0x156bbe[_0x558be1(0x274)],'focusedId':_0x156bbe[_0x558be1(0x396)],'selection':_0x115707},_0x27427e=new Map(this[_0x558be1(0x16e)]);_0x27427e[_0x558be1(0x18b)](_0x3daae4,_0x2f69f2),this[_0x558be1(0x1f7)]['next'](_0x27427e);}[_0x437440(0x1b9)](_0x336ff7){const _0x5f3696=_0x437440;let {memberID:_0x56925d}=_0x336ff7[_0x5f3696(0x2a5)],_0x31ee7a=new Map(this[_0x5f3696(0x16e)]);_0x31ee7a['delete'](_0x56925d),this[_0x5f3696(0x1f7)]['next'](_0x31ee7a);}[_0x437440(0x28b)](){const _0xa89701=_0x437440;this[_0xa89701(0x191)]=!0x0,this[_0xa89701(0x23c)](this['_boardElementStateService'][_0xa89701(0x18a)]());}[_0x437440(0x15a)](){const _0x3d0bdb=_0x437440;this[_0x3d0bdb(0x191)]=!0x1;}};A=C([S(0x2,(0x0,n[_0x437440(0x16c)])(k)),S(0x3,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x23a)])),S(0x4,(0x0,n[_0x437440(0x16c)])(e[_0x437440(0x35d)]))],A);function ge(_0x1a880c){let _0x5cb9cd='';for(let _0x53a6c1 of _0x1a880c){let {startOffset:_0x21d83d,endOffset:_0x4f42d3,isActive:_0x298271,rangeType:_0x49900e,segmentId:_0x5b0daf,segmentPage:_0x2350c9}=_0x53a6c1;_0x5cb9cd['length']&&(_0x5cb9cd+=','),_0x5cb9cd+=_0x21d83d+':'+_0x4f42d3+':'+(_0x298271?'1':'0')+':'+_0x49900e+':'+_0x5b0daf+':'+_0x2350c9;}return _0x5cb9cd;}function _e(_0x51feeb){const _0x540aed=_0x437440;let _0x132253=_0x51feeb[_0x540aed(0x2d6)](','),_0x424b61=[];for(let _0x1f1f4a of _0x132253){let [_0x5c84c5,_0x1c2793,_0x28fa53,_0x65a67e,_0x670379,_0x28c41e]=_0x1f1f4a[_0x540aed(0x2d6)](':');_0x424b61['push']({'startOffset':Number(_0x5c84c5),'endOffset':Number(_0x1c2793),'collapsed':_0x5c84c5===_0x1c2793,'isActive':_0x28fa53==='1','rangeType':_0x65a67e===n[_0x540aed(0x1fd)][_0x540aed(0x26d)]?n[_0x540aed(0x1fd)]['TEXT']:n['DOC_RANGE_TYPE'][_0x540aed(0x1a9)],'segmentId':typeof _0x670379==_0x540aed(0x3ea)?String(_0x670379):'','segmentPage':Number(_0x28c41e==null?-0x1:_0x28c41e)});}return _0x424b61[_0x540aed(0x197)](_0x6859ee=>_0x6859ee['isActive'])||(_0x424b61[0x0][_0x540aed(0x1df)]=!0x0),_0x424b61;}var j=class extends n[_0x437440(0x157)]{constructor(..._0x2cedc7){const _0x5a1e48=_0x437440;super(..._0x2cedc7),x(this,_0x5a1e48(0x1aa),new i[(_0x5a1e48(0x2e8))](null)),x(this,_0x5a1e48(0x2d1),this[_0x5a1e48(0x1aa)][_0x5a1e48(0x3d1)]());}[_0x437440(0x33e)](_0xc927f4){const _0x23fafa=_0x437440;let {unitID:_0x5d9cad,memberID:_0x2d4e21,textRanges:_0x2fc0e6}=_0xc927f4,_0x3afc2d=ge(_0x2fc0e6);if(_0x3afc2d==='')return;let _0x5d7938={'unitID':_0x5d9cad,'memberID':_0x2d4e21,'selection':_0x3afc2d};this[_0x23fafa(0x1aa)][_0x23fafa(0x2ee)](_0x5d7938);}};let M=class extends n[_0x437440(0x157)]{get[_0x437440(0x16e)](){const _0x246a4e=_0x437440;return this[_0x246a4e(0x1f7)][_0x246a4e(0x1ee)]();}get[_0x437440(0x214)](){const _0xc6fde3=_0x437440;return this['_roomMembers$'][_0xc6fde3(0x1ee)]();}constructor(_0x7506e0,_0x196596,_0x59f6e6,_0x45245b,_0x27691c,_0x33401e,_0x55f62b,_0x194018,_0x53feea){const _0x17a95d=_0x437440;super(),this[_0x17a95d(0x2b7)]=_0x7506e0,this[_0x17a95d(0x3bd)]=_0x196596,this[_0x17a95d(0x323)]=_0x59f6e6,this[_0x17a95d(0x319)]=_0x45245b,this[_0x17a95d(0x1ed)]=_0x27691c,this[_0x17a95d(0x401)]=_0x33401e,this[_0x17a95d(0x312)]=_0x55f62b,this[_0x17a95d(0x3ff)]=_0x194018,this['_commandService']=_0x53feea,x(this,'_online',!0x1),x(this,_0x17a95d(0x329),!0x1),x(this,_0x17a95d(0x1f7),new i[(_0x17a95d(0x2e8))](new Map())),x(this,_0x17a95d(0x332),this['_cursorInfo$'][_0x17a95d(0x3d1)]()),x(this,'_roomMembers$',new i['BehaviorSubject']([])),x(this,_0x17a95d(0x408),this[_0x17a95d(0x246)][_0x17a95d(0x1a8)]((0x0,i[_0x17a95d(0x261)])(0x12c))),x(this,'_updateLocalCursor',(0x0,n['debounce'])(_0x131791=>{const _0x5048cc=_0x17a95d;let _0x2b1139={'eventID':p['CollaborationEvent'][_0x5048cc(0x345)],'data':{'unitID':this[_0x5048cc(0x2b7)],'memberID':this['_session']['getMemberID'](),'selection':ge(_0x131791)}};this[_0x5048cc(0x3bd)][_0x5048cc(0x30c)](_0x2b1139,this[_0x5048cc(0x2b7)]);},0x64));}[_0x437440(0x1c5)](){const _0x2ba0a2=_0x437440;super[_0x2ba0a2(0x1c5)](),this[_0x2ba0a2(0x1f7)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x2ba0a2(0x246)][_0x2ba0a2(0x2ee)]([]),this[_0x2ba0a2(0x246)][_0x2ba0a2(0x3a0)]();}[_0x437440(0x378)](){const _0x2e8934=_0x437440;this['_init']||(this[_0x2e8934(0x329)]=!0x0,this[_0x2e8934(0x3bd)][_0x2e8934(0x3e2)]['pipe']((0x0,i[_0x2e8934(0x316)])(this['dispose$']))['subscribe'](_0x534b96=>{const _0x353474=_0x2e8934;_0x534b96===t['SessionStatus'][_0x353474(0x200)]?this['_toggleOnline']():this[_0x353474(0x15a)]();}),this[_0x2e8934(0x3bd)][_0x2e8934(0x2c4)][_0x2e8934(0x1a8)]((0x0,i[_0x2e8934(0x316)])(this[_0x2e8934(0x20f)]))[_0x2e8934(0x1d4)](_0x41cd42=>{const _0x355ee0=_0x2e8934;let _0x20aa3d=_0x41cd42['eventID'];_0x20aa3d===p[_0x355ee0(0x21f)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x41cd42),_0x20aa3d===p['CollaborationEvent'][_0x355ee0(0x321)]&&this[_0x355ee0(0x1b9)](_0x41cd42);}),this[_0x2e8934(0x2cb)](this[_0x2e8934(0x3f2)][_0x2e8934(0x264)](_0x3cf630=>{const _0x358688=_0x2e8934;let _0x1be786=_0x3cf630[_0x358688(0x367)];_0x1be786!=null&&this[_0x358688(0x191)]&&_0x3cf630['id']===m[_0x358688(0x1da)]['id']&&_0x1be786[_0x358688(0x1a1)]===this['unitID']&&_0x1be786['isEditing']===!0x1&&_0x1be786[_0x358688(0x359)][_0x358688(0x346)]>0x0&&this[_0x358688(0x23c)](_0x1be786[_0x358688(0x359)]);})),this[_0x2e8934(0x401)][_0x2e8934(0x2d1)]['pipe']((0x0,i[_0x2e8934(0x316)])(this['dispose$']))[_0x2e8934(0x1d4)](_0x3706f2=>{const _0x23a7a6=_0x2e8934;if((_0x3706f2==null?void 0x0:_0x3706f2[_0x23a7a6(0x2b7)])!==this['unitID'])return;let _0x169a15={'eventID':p[_0x23a7a6(0x21f)][_0x23a7a6(0x345)],'data':_0x3706f2};this['_onCursorUpdate'](_0x169a15);}),this['disposeWithMe'](this['_commandService'][_0x2e8934(0x264)](_0x3aa970=>{const _0x93aa4b=_0x2e8934;if(_0x3aa970[_0x93aa4b(0x367)]==null)return;let _0x3e9521=_0x3aa970[_0x93aa4b(0x367)];if(_0x3aa970['id']!==m[_0x93aa4b(0x3df)]['id']||_0x3e9521[_0x93aa4b(0x1a1)]!==this[_0x93aa4b(0x2b7)])return;let _0x114c0f={'id':'doc.mutation.rich-text-editing','params':_0x3e9521},_0x44612c=this[_0x93aa4b(0x16e)];for(let [_0x32cf72,_0x6cd02d]of _0x44612c){let _0x38a359={'id':_0x93aa4b(0x242),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x6cd02d[_0x93aa4b(0x359)]}},_0x3b0e65=this[_0x93aa4b(0x312)][_0x93aa4b(0x365)](_0x114c0f,_0x38a359,!0x1);if((0x0,p[_0x93aa4b(0x3ab)])(_0x3b0e65))throw _0x3b0e65[_0x93aa4b(0x196)];_0x44612c[_0x93aa4b(0x18b)](_0x32cf72,{..._0x6cd02d,'ranges':_0x3b0e65['m2Prime']['params'][_0x93aa4b(0x22e)]});}queueMicrotask(()=>{const _0x267d32=_0x93aa4b;this[_0x267d32(0x1f7)][_0x267d32(0x2ee)](_0x44612c);});})));}[_0x437440(0x154)](_0x44d5f1){const _0x11ff28=_0x437440;var _0x2779d7,_0x2d8304;let {memberID:_0x569fa6,selection:_0x408d07}=_0x44d5f1[_0x11ff28(0x2a5)],_0x2c18f1=_e(_0x408d07),_0xb0b7aa=(_0x2779d7=(_0x2d8304=this['_memberService'][_0x11ff28(0x3f7)](this['unitID'],_0x569fa6))==null?void 0x0:_0x2d8304[_0x11ff28(0x159)])==null?_0x11ff28(0x397):_0x2779d7,_0x3f6972={'color':this[_0x11ff28(0x319)]['assignAColorForMemberID'](_0x569fa6),'name':_0xb0b7aa,'ranges':_0x2c18f1},_0x2e5854=this[_0x11ff28(0x16e)];_0x2e5854['set'](_0x569fa6,_0x3f6972),this['_cursorInfo$']['next'](_0x2e5854);}[_0x437440(0x1b9)](_0x273db8){const _0x4a0fd4=_0x437440;let {memberID:_0x23cf11}=_0x273db8[_0x4a0fd4(0x2a5)],_0x19639e=this[_0x4a0fd4(0x16e)];_0x19639e['delete'](_0x23cf11),this['_cursorInfo$'][_0x4a0fd4(0x2ee)](_0x19639e);}[_0x437440(0x28b)](){const _0x5e4efc=_0x437440;var _0x2516d6;if(this['_online']=!0x0,((_0x2516d6=this[_0x5e4efc(0x3ff)][_0x5e4efc(0x3ec)]())==null?void 0x0:_0x2516d6['getUnitId']())!==this[_0x5e4efc(0x2b7)])return;let _0x2a7213=this['_injector'][_0x5e4efc(0x226)](m[_0x5e4efc(0x2e1)])['getDocRanges']();Array['isArray'](_0x2a7213)&&_0x2a7213[_0x5e4efc(0x346)]>0x0&&this[_0x5e4efc(0x23c)](_0x2a7213);}[_0x437440(0x15a)](){const _0x9c10ca=_0x437440;this[_0x9c10ca(0x191)]=!0x1;}};M=C([S(0x2,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x3,(0x0,n[_0x437440(0x16c)])(k)),S(0x4,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x23a)])),S(0x5,(0x0,n['Inject'])(j)),S(0x6,p[_0x437440(0x295)]),S(0x7,n['IUniverInstanceService']),S(0x8,n[_0x437440(0x310)])],M);const ve=()=>{let _0x42eaed=[],_0xb7c651=!0x1;return _0x5b24cb=>{_0x42eaed['push'](_0x5b24cb),_0xb7c651||(_0xb7c651=!0x0,setTimeout(()=>{const _0x202b98=_0x30e6;_0x42eaed[_0x202b98(0x2ac)](_0x4bd94d=>_0x4bd94d()),_0x42eaed=[],_0xb7c651=!0x1;}));};};let N=class extends n[_0x437440(0x157)]{get[_0x437440(0x16e)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x3e17e7=_0x437440;return this[_0x3e17e7(0x246)]['getValue']();}constructor(_0x2307f0,_0x36e1f8,_0x3e2019,_0x3cf4f8,_0x56aed0,_0x303b3a,_0x47ead4,_0x6ef751){const _0x41a174=_0x437440;super(),this[_0x41a174(0x2b7)]=_0x2307f0,this[_0x41a174(0x3bd)]=_0x36e1f8,this[_0x41a174(0x323)]=_0x3e2019,this[_0x41a174(0x319)]=_0x3cf4f8,this[_0x41a174(0x1ed)]=_0x56aed0,this[_0x41a174(0x3ff)]=_0x303b3a,this[_0x41a174(0x3f2)]=_0x47ead4,this[_0x41a174(0x20d)]=_0x6ef751,x(this,'_online',!0x1),x(this,_0x41a174(0x329),!0x1),x(this,_0x41a174(0x1f7),new i['BehaviorSubject'](new Map())),x(this,_0x41a174(0x332),this[_0x41a174(0x1f7)][_0x41a174(0x3d1)]()),x(this,_0x41a174(0x246),new i[(_0x41a174(0x2e8))]([])),x(this,_0x41a174(0x408),this[_0x41a174(0x246)][_0x41a174(0x1a8)]((0x0,i[_0x41a174(0x261)])(0x12c))),x(this,_0x41a174(0x23c),(0x0,n[_0x41a174(0x3b4)])((_0x48db94,_0x610345)=>{const _0x49e9ee=_0x41a174;let _0x525470={'eventID':p['CollaborationEvent'][_0x49e9ee(0x345)],'data':{'unitID':this[_0x49e9ee(0x2b7)],'memberID':this[_0x49e9ee(0x3bd)][_0x49e9ee(0x39b)](),'selection':(0x0,h[_0x49e9ee(0x17c)])(_0x48db94,_0x610345[_0x49e9ee(0x2f5)])}};this[_0x49e9ee(0x3bd)][_0x49e9ee(0x30c)](_0x525470,this[_0x49e9ee(0x2b7)]);},0x64));}[_0x437440(0x1c5)](){const _0x93a945=_0x437440;super[_0x93a945(0x1c5)](),this[_0x93a945(0x1f7)][_0x93a945(0x2ee)](new Map()),this['_cursorInfo$'][_0x93a945(0x3a0)](),this['_roomMembers$'][_0x93a945(0x2ee)]([]),this[_0x93a945(0x246)][_0x93a945(0x3a0)]();}['init'](){const _0x3c4554=_0x437440;this[_0x3c4554(0x329)]||(this[_0x3c4554(0x329)]=!0x0,this['_session']['sessionStatus$'][_0x3c4554(0x1a8)]((0x0,i[_0x3c4554(0x316)])(this[_0x3c4554(0x20f)]))['subscribe'](_0x5c7a01=>{const _0x8ee7cc=_0x3c4554;_0x5c7a01===t[_0x8ee7cc(0x34f)]['ONLINE']?this[_0x8ee7cc(0x28b)]():this[_0x8ee7cc(0x15a)]();}),this['_session']['event$']['pipe']((0x0,i[_0x3c4554(0x316)])(this['dispose$']))[_0x3c4554(0x1d4)](_0x2c3cc6=>{const _0x425a8b=_0x3c4554;let _0x4bf77b=_0x2c3cc6['eventID'];_0x4bf77b===p[_0x425a8b(0x21f)][_0x425a8b(0x345)]&&this[_0x425a8b(0x154)](_0x2c3cc6),_0x4bf77b===p[_0x425a8b(0x21f)][_0x425a8b(0x321)]&&this[_0x425a8b(0x1b9)](_0x2c3cc6);}),this[_0x3c4554(0x1b7)](),this['disposeWithMe'](this[_0x3c4554(0x3f2)][_0x3c4554(0x264)](_0x10535e=>{const _0x504de0=_0x3c4554;if(this['_online']&&_0x10535e['id']===g['SetSelectionsOperation']['id']&&_0x10535e[_0x504de0(0x367)][_0x504de0(0x1a1)]===this[_0x504de0(0x2b7)]){let _0x38fa41=_0x10535e[_0x504de0(0x367)];this[_0x504de0(0x23c)](_0x38fa41['subUnitId'],_0x38fa41['selections'][0x0]);}})));}[_0x437440(0x154)](_0x1e8f4e){const _0x18dd6a=_0x437440;var _0x543c70,_0x1260cd;let {memberID:_0x5e3bd0,selection:_0xcd87bc}=_0x1e8f4e[_0x18dd6a(0x2a5)],{sheetName:_0x577cce,range:_0x149a70}=(0x0,h[_0x18dd6a(0x403)])(_0xcd87bc),_0x230d40={'name':(_0x543c70=(_0x1260cd=this['_memberService']['getMember'](this[_0x18dd6a(0x2b7)],_0x5e3bd0))==null?void 0x0:_0x1260cd[_0x18dd6a(0x159)])==null?'Unknown\x20user':_0x543c70,'range':this[_0x18dd6a(0x373)](_0x577cce,_0x149a70),'sheetID':_0x577cce,'color':this[_0x18dd6a(0x319)][_0x18dd6a(0x16f)](_0x5e3bd0),'selection':_0xcd87bc},_0x46b309=this[_0x18dd6a(0x16e)];_0x46b309[_0x18dd6a(0x18b)](_0x5e3bd0,_0x230d40),this[_0x18dd6a(0x1f7)][_0x18dd6a(0x2ee)](_0x46b309);}['_onCursorDelete'](_0x4a41de){const _0x37c8d5=_0x437440;let {memberID:_0x57b07e}=_0x4a41de[_0x37c8d5(0x2a5)],_0x229156=this[_0x37c8d5(0x16e)];_0x229156[_0x37c8d5(0x244)](_0x57b07e),this[_0x37c8d5(0x1f7)][_0x37c8d5(0x2ee)](_0x229156);}['_getMergeRange'](_0x534698,_0x40f374){const _0x5ed7bc=_0x437440;var _0x480ee0;let _0x56f604=(_0x480ee0=this[_0x5ed7bc(0x3ff)][_0x5ed7bc(0x3e7)](this[_0x5ed7bc(0x2b7)]))==null||(_0x480ee0=_0x480ee0[_0x5ed7bc(0x1f0)](_0x534698))==null?void 0x0:_0x480ee0[_0x5ed7bc(0x225)]();return(_0x56f604==null?void 0x0:_0x56f604['find'](_0xd9a9f2=>n[_0x5ed7bc(0x1d9)][_0x5ed7bc(0x3be)](_0xd9a9f2,_0x40f374)))||_0x40f374;}[_0x437440(0x1b7)](){const _0x94a234=_0x437440;let _0x1bef5b=new n[(_0x94a234(0x3ba))](),_0x256064=ve(),_0x4791f5=()=>{const _0x4b8bdf=_0x94a234;_0x1bef5b[_0x4b8bdf(0x1c5)]();let _0x46c038=(_0x21b1ea,_0x28e65b,_0x1a7e24,_0x4ab918)=>{const _0x288782=_0x4b8bdf;let _0x375816=[];switch(_0x21b1ea['id']){case g[_0x288782(0x3a6)][_0x288782(0x31f)]:_0x375816=(0x0,g[_0x288782(0x409)])(_0x21b1ea,_0x4ab918);break;case g['EffectRefRangId'][_0x288782(0x19a)]:_0x375816=(0x0,g[_0x288782(0x150)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)][_0x288782(0x21e)]:_0x375816=(0x0,g['handleInsertCol'])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)][_0x288782(0x3f9)]:_0x375816=(0x0,g[_0x288782(0x2a9)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)][_0x288782(0x304)]:_0x375816=(0x0,g[_0x288782(0x253)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)][_0x288782(0x34e)]:_0x375816=(0x0,g[_0x288782(0x1b4)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)][_0x288782(0x34b)]:_0x375816=(0x0,g[_0x288782(0x1a6)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)]['RemoveColCommandId']:_0x375816=(0x0,g[_0x288782(0x353)])(_0x21b1ea,_0x4ab918);break;case g[_0x288782(0x3a6)]['RemoveRowCommandId']:_0x375816=(0x0,g[_0x288782(0x249)])(_0x21b1ea,_0x4ab918);break;}let _0x3a3d8d=(0x0,g[_0x288782(0x254)])(_0x375816,_0x4ab918),_0x1dc128=this['cursorInfo'][_0x288782(0x226)](_0x28e65b);if(_0x1dc128&&_0x3a3d8d){let _0x1c0a88={..._0x1dc128,'range':_0x3a3d8d};this['cursorInfo'][_0x288782(0x18b)](_0x28e65b,_0x1c0a88),_0x256064(()=>{const _0x1cee53=_0x288782;let _0x510adf=this[_0x1cee53(0x20d)][_0x1cee53(0x3dc)](_0x3a3d8d,_0x5c6c64=>(_0x510adf[_0x1cee53(0x1c5)](),_0x46c038(_0x5c6c64,_0x28e65b,_0x1a7e24,_0x3a3d8d)));_0x1bef5b[_0x1cee53(0x243)](_0x510adf);});}return{'redos':[],'undos':[]};};this[_0x4b8bdf(0x16e)][_0x4b8bdf(0x2ac)]((_0x5437e4,_0x36c5d2)=>{const _0x2b278d=_0x4b8bdf;let {range:_0x3792d7,sheetID:_0x314a2e}=_0x5437e4,_0x4e447b=this[_0x2b278d(0x20d)][_0x2b278d(0x3dc)](_0x3792d7,_0x277df0=>(_0x4e447b['dispose'](),_0x46c038(_0x277df0,_0x36c5d2,_0x314a2e,_0x3792d7)));_0x1bef5b[_0x2b278d(0x243)](_0x4e447b);});};this[_0x94a234(0x2cb)]((0x0,n[_0x94a234(0x3c0)])(this[_0x94a234(0x1f7)][_0x94a234(0x1d4)](()=>{_0x4791f5();})));}[_0x437440(0x28b)](){const _0x569f77=_0x437440;var _0x439984,_0x5efbbd;if(this[_0x569f77(0x191)]=!0x0,((_0x439984=this[_0x569f77(0x3ff)][_0x569f77(0x3ec)]())==null?void 0x0:_0x439984[_0x569f77(0x161)]())!==this['unitID'])return;let _0x213857=(_0x5efbbd=this[_0x569f77(0x323)][_0x569f77(0x226)](g[_0x569f77(0x148)])[_0x569f77(0x2a1)]())==null?void 0x0:_0x5efbbd[0x0],_0x49e0a1=this['_univerInstanceService'][_0x569f77(0x3f3)](n[_0x569f77(0x24a)][_0x569f77(0x29a)])[_0x569f77(0x2a4)]();_0x213857&&_0x49e0a1&&this[_0x569f77(0x23c)](_0x49e0a1['getSheetId'](),_0x213857);}[_0x437440(0x15a)](){const _0x5e15ae=_0x437440;this[_0x5e15ae(0x191)]=!0x1;}};N=C([S(0x2,(0x0,n['Inject'])(n[_0x437440(0x217)])),S(0x3,(0x0,n[_0x437440(0x16c)])(k)),S(0x4,(0x0,n['Inject'])(t[_0x437440(0x23a)])),S(0x5,n[_0x437440(0x22f)]),S(0x6,n['ICommandService']),S(0x7,(0x0,n[_0x437440(0x16c)])(g[_0x437440(0x207)]))],N);function ye(_0x540c15){const _0x35b698=_0x437440;let _0xd5c1db;try{_0xd5c1db=JSON[_0x35b698(0x360)](_0x540c15);}catch{return null;}if(typeof _0xd5c1db!=_0x35b698(0x415)||!_0xd5c1db)return null;let _0xe76b43=_0xd5c1db;if(_0xe76b43[_0x35b698(0x287)]!==_0x35b698(0x39a)||typeof _0xe76b43[_0x35b698(0x1a1)]!=_0x35b698(0x3ea)||typeof _0xe76b43[_0x35b698(0x364)]!=_0x35b698(0x3ea))return null;let _0x38565b=Array[_0x35b698(0x3aa)](_0xe76b43[_0x35b698(0x274)])?_0xe76b43[_0x35b698(0x274)][_0x35b698(0x277)](_0x2f18a2=>typeof _0x2f18a2==_0x35b698(0x3ea)):[],_0xdedd4e=typeof _0xe76b43[_0x35b698(0x396)]==_0x35b698(0x3ea)?_0xe76b43[_0x35b698(0x396)]:null;return{'kind':_0x35b698(0x39a),'unitId':_0xe76b43[_0x35b698(0x1a1)],'subUnitId':_0xe76b43['subUnitId'],'selectedIds':_0x38565b,'focusedId':_0xdedd4e};}let P=class extends n[_0x437440(0x157)]{get['cursorInfo'](){const _0x274161=_0x437440;return this[_0x274161(0x1f7)][_0x274161(0x1ee)]();}get[_0x437440(0x214)](){const _0x58c854=_0x437440;return this['_roomMembers$'][_0x58c854(0x1ee)]();}constructor(_0xc5530b,_0x250da0,_0x1749bb,_0x3ab784,_0x19a64a){const _0x971b3f=_0x437440;super(),this[_0x971b3f(0x2b7)]=_0xc5530b,this[_0x971b3f(0x3bd)]=_0x250da0,this[_0x971b3f(0x319)]=_0x1749bb,this['_memberService']=_0x3ab784,this[_0x971b3f(0x26f)]=_0x19a64a,x(this,_0x971b3f(0x191),!0x1),x(this,_0x971b3f(0x329),!0x1),x(this,_0x971b3f(0x1f7),new i[(_0x971b3f(0x2e8))](new Map())),x(this,_0x971b3f(0x332),this[_0x971b3f(0x1f7)][_0x971b3f(0x3d1)]()),x(this,'_roomMembers$',new i['BehaviorSubject']([])),x(this,_0x971b3f(0x408),this[_0x971b3f(0x246)][_0x971b3f(0x1a8)]((0x0,i[_0x971b3f(0x261)])(0x12c))),x(this,_0x971b3f(0x23c),(0x0,n[_0x971b3f(0x3b4)])(_0xe19d31=>{const _0x5826de=_0x971b3f;let _0x45b0b2=_0xe19d31[_0x5826de(0x41d)];if(!_0x45b0b2||_0x45b0b2['unitId']!==this[_0x5826de(0x2b7)])return;let _0x15147d={'kind':_0x5826de(0x39a),'unitId':_0x45b0b2[_0x5826de(0x1a1)],'subUnitId':_0x45b0b2[_0x5826de(0x364)],'selectedIds':_0xe19d31[_0x5826de(0x274)]['filter'](_0x656d3=>typeof _0x656d3==_0x5826de(0x3ea)),'focusedId':_0xe19d31[_0x5826de(0x396)]},_0x5a5962={'eventID':p[_0x5826de(0x21f)][_0x5826de(0x345)],'data':{'unitID':this[_0x5826de(0x2b7)],'memberID':this[_0x5826de(0x3bd)]['getMemberID'](),'selection':JSON[_0x5826de(0x3ac)](_0x15147d)}};this[_0x5826de(0x3bd)][_0x5826de(0x30c)](_0x5a5962,this[_0x5826de(0x2b7)]);},0x64));}[_0x437440(0x1c5)](){const _0x2b170d=_0x437440;super[_0x2b170d(0x1c5)](),this[_0x2b170d(0x1f7)][_0x2b170d(0x2ee)](new Map()),this['_cursorInfo$'][_0x2b170d(0x3a0)](),this[_0x2b170d(0x246)][_0x2b170d(0x2ee)]([]),this['_roomMembers$']['complete']();}[_0x437440(0x378)](){const _0x28726a=_0x437440;this[_0x28726a(0x329)]||(this[_0x28726a(0x329)]=!0x0,this[_0x28726a(0x3bd)][_0x28726a(0x3e2)][_0x28726a(0x1a8)]((0x0,i[_0x28726a(0x316)])(this[_0x28726a(0x20f)]))[_0x28726a(0x1d4)](_0x219fa6=>{const _0x5df49c=_0x28726a;_0x219fa6===t[_0x5df49c(0x34f)]['ONLINE']?this['_toggleOnline']():this[_0x5df49c(0x15a)]();}),this['_session']['event$'][_0x28726a(0x1a8)]((0x0,i['takeUntil'])(this[_0x28726a(0x20f)]))[_0x28726a(0x1d4)](_0x2d5ca2=>{const _0x43279d=_0x28726a;let _0x1f4fc7=_0x2d5ca2[_0x43279d(0x2c2)];_0x1f4fc7===p['CollaborationEvent'][_0x43279d(0x345)]&&this[_0x43279d(0x154)](_0x2d5ca2),_0x1f4fc7===p[_0x43279d(0x21f)][_0x43279d(0x321)]&&this[_0x43279d(0x1b9)](_0x2d5ca2);}),this[_0x28726a(0x26f)][_0x28726a(0x2fb)]['pipe']((0x0,i[_0x28726a(0x316)])(this[_0x28726a(0x20f)]))[_0x28726a(0x1d4)](_0x33fd87=>{const _0x252f4e=_0x28726a;this[_0x252f4e(0x191)]&&this[_0x252f4e(0x23c)](_0x33fd87);}));}[_0x437440(0x154)](_0xa9f9a1){const _0x3565e4=_0x437440;var _0x59eae6,_0x4f0fc9,_0xa7f415,_0x1037dc;let {memberID:_0x5eb2d9,selection:_0x31e18e}=_0xa9f9a1[_0x3565e4(0x2a5)];if(_0x5eb2d9===((_0x59eae6=(_0x4f0fc9=this[_0x3565e4(0x3bd)])[_0x3565e4(0x39b)])==null?void 0x0:_0x59eae6['call'](_0x4f0fc9)))return;let _0xdfb9fd=ye(_0x31e18e);if(!_0xdfb9fd||_0xdfb9fd[_0x3565e4(0x1a1)]!==this[_0x3565e4(0x2b7)])return;let _0x3ee697=(_0xa7f415=(_0x1037dc=this[_0x3565e4(0x1ed)][_0x3565e4(0x3f7)](this[_0x3565e4(0x2b7)],_0x5eb2d9))==null?void 0x0:_0x1037dc['name'])==null?'Unknown\x20user':_0xa7f415,_0x3b659a={'color':this[_0x3565e4(0x319)]['assignAColorForMemberID'](_0x5eb2d9),'name':_0x3ee697,'unitId':_0xdfb9fd[_0x3565e4(0x1a1)],'subUnitId':_0xdfb9fd[_0x3565e4(0x364)],'selectedIds':_0xdfb9fd[_0x3565e4(0x274)],'focusedId':_0xdfb9fd[_0x3565e4(0x396)],'selection':_0x31e18e},_0x3e4462=new Map(this[_0x3565e4(0x16e)]);_0x3e4462['set'](_0x5eb2d9,_0x3b659a),this[_0x3565e4(0x1f7)][_0x3565e4(0x2ee)](_0x3e4462);}[_0x437440(0x1b9)](_0x2fb756){const _0x51becf=_0x437440;let {memberID:_0x4880f9}=_0x2fb756[_0x51becf(0x2a5)],_0x4d7b3c=new Map(this[_0x51becf(0x16e)]);_0x4d7b3c[_0x51becf(0x244)](_0x4880f9),this['_cursorInfo$'][_0x51becf(0x2ee)](_0x4d7b3c);}[_0x437440(0x28b)](){const _0x387c1=_0x437440;this['_online']=!0x0,this[_0x387c1(0x23c)](this[_0x387c1(0x26f)][_0x387c1(0x18a)]());}[_0x437440(0x15a)](){const _0x396074=_0x437440;this[_0x396074(0x191)]=!0x1;}};P=C([S(0x2,(0x0,n[_0x437440(0x16c)])(k)),S(0x3,(0x0,n[_0x437440(0x16c)])(t['MemberService'])),S(0x4,(0x0,n[_0x437440(0x16c)])(_['ISlideDrawingStateService']))],P);let F=class extends n[_0x437440(0x157)]{constructor(_0x2b8425,_0x5df2d7,_0x2f79d0){const _0x35e1fd=_0x437440;super(),this['_univerInstanceService']=_0x2b8425,this[_0x35e1fd(0x323)]=_0x5df2d7,this[_0x35e1fd(0x2fc)]=_0x2f79d0,x(this,'_entities',new Map()),x(this,_0x35e1fd(0x2b8),new i['Subject']()),this[_0x35e1fd(0x329)]();}[_0x437440(0x1c5)](){const _0x9d1349=_0x437440;super['dispose'](),this[_0x9d1349(0x2b8)][_0x9d1349(0x3a0)](),this['_entities'][_0x9d1349(0x2ac)](_0x57128a=>_0x57128a[_0x9d1349(0x1c5)]());}['getCollabCursors$'](_0x399816){const _0x32db1d=_0x437440;return this['_entities'][_0x32db1d(0x15d)](_0x399816)?this[_0x32db1d(0x1dc)]['get'](_0x399816)[_0x32db1d(0x332)]:this[_0x32db1d(0x2b8)][_0x32db1d(0x1a8)]((0x0,i[_0x32db1d(0x277)])(_0x29e41d=>_0x29e41d[_0x32db1d(0x2b7)]===_0x399816),(0x0,i[_0x32db1d(0x2cf)])(_0x184a93=>_0x184a93[_0x32db1d(0x332)]));}['_init'](){const _0x771b37=_0x437440;this[_0x771b37(0x3ff)][_0x771b37(0x1cb)](n[_0x771b37(0x24a)][_0x771b37(0x29a)])['pipe']((0x0,i[_0x771b37(0x316)])(this[_0x771b37(0x20f)]))[_0x771b37(0x1d4)](async _0x5af3a7=>{const _0x42330c=_0x771b37;let _0x3ba651=_0x5af3a7['unit'][_0x42330c(0x161)](),_0x13ee68=await this[_0x42330c(0x2bf)](_0x3ba651);this[_0x42330c(0x2b8)][_0x42330c(0x2ee)](_0x13ee68),this[_0x42330c(0x1dc)][_0x42330c(0x18b)](_0x3ba651,_0x13ee68);}),this[_0x771b37(0x3ff)][_0x771b37(0x1cb)](n[_0x771b37(0x24a)][_0x771b37(0x2ef)])['pipe']((0x0,i['takeUntil'])(this['dispose$']))[_0x771b37(0x1a8)]((0x0,i[_0x771b37(0x277)])(_0x15247e=>!_0x15247e[_0x771b37(0x386)]['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5c2ecf=>{const _0x56bdab=_0x771b37;let {unit:_0x258029}=_0x5c2ecf,_0x3afcde=_0x258029[_0x56bdab(0x161)](),_0x40f586=await this[_0x56bdab(0x216)](_0x3afcde);this[_0x56bdab(0x2b8)][_0x56bdab(0x2ee)](_0x40f586),this[_0x56bdab(0x1dc)][_0x56bdab(0x18b)](_0x3afcde,_0x40f586);}),this[_0x771b37(0x3ff)][_0x771b37(0x1cb)](n[_0x771b37(0x24a)][_0x771b37(0x335)])['pipe']((0x0,i[_0x771b37(0x316)])(this['dispose$']))[_0x771b37(0x1d4)](async _0x289a80=>{const _0x1d4f2a=_0x771b37;let _0x5d182a=_0x289a80[_0x1d4f2a(0x386)][_0x1d4f2a(0x161)](),_0xde21b9=await this[_0x1d4f2a(0x260)](_0x5d182a);this[_0x1d4f2a(0x2b8)][_0x1d4f2a(0x2ee)](_0xde21b9),this[_0x1d4f2a(0x1dc)][_0x1d4f2a(0x18b)](_0x5d182a,_0xde21b9);}),this[_0x771b37(0x3ff)][_0x771b37(0x1cb)](n[_0x771b37(0x24a)][_0x771b37(0x2dc)])[_0x771b37(0x1a8)]((0x0,i[_0x771b37(0x316)])(this[_0x771b37(0x20f)]))[_0x771b37(0x1d4)](async _0x48d48c=>{const _0x983833=_0x771b37;let _0x4f7bad=_0x48d48c['unit'][_0x983833(0x161)](),_0x2c595e=await this[_0x983833(0x31e)](_0x4f7bad);this['_entityInit$']['next'](_0x2c595e),this[_0x983833(0x1dc)][_0x983833(0x18b)](_0x4f7bad,_0x2c595e);}),(0x0,i[_0x771b37(0x2b5)])(this[_0x771b37(0x3ff)][_0x771b37(0x24f)](n['UniverInstanceType'][_0x771b37(0x2ef)]),this[_0x771b37(0x3ff)][_0x771b37(0x24f)](n[_0x771b37(0x24a)]['UNIVER_SHEET']),this[_0x771b37(0x3ff)][_0x771b37(0x24f)](n['UniverInstanceType']['UNIVER_SLIDE']),this[_0x771b37(0x3ff)]['getTypeOfUnitDisposed$'](n[_0x771b37(0x24a)][_0x771b37(0x2dc)]))[_0x771b37(0x1a8)]((0x0,i[_0x771b37(0x316)])(this[_0x771b37(0x20f)]))['subscribe'](_0x4a6897=>{const _0x6687d4=_0x771b37;let _0x42e353=_0x4a6897[_0x6687d4(0x161)](),_0x119f99=this[_0x6687d4(0x1dc)][_0x6687d4(0x226)](_0x42e353);_0x119f99&&(_0x119f99[_0x6687d4(0x1c5)](),this[_0x6687d4(0x1dc)][_0x6687d4(0x244)](_0x42e353));});}async[_0x437440(0x2bf)](_0x215402){const _0xa57fee=_0x437440;let _0x5d7ada=await this[_0xa57fee(0x2fc)][_0xa57fee(0x320)](_0x215402),_0x18c3ab=this[_0xa57fee(0x323)][_0xa57fee(0x1ec)](N,_0x215402,_0x5d7ada);return _0x18c3ab[_0xa57fee(0x378)](),_0x18c3ab;}async[_0x437440(0x216)](_0x51de1e){const _0x10caf6=_0x437440;let _0xdd9527=await this['_collabSessionService']['requireSession'](_0x51de1e),_0x53d884=this['_injector'][_0x10caf6(0x1ec)](M,_0x51de1e,_0xdd9527);return _0x53d884[_0x10caf6(0x378)](),_0x53d884;}async['_startSlideCollabCursor'](_0x4433){const _0x40fea5=_0x437440;let _0x1a2a28=await this[_0x40fea5(0x2fc)]['requireSession'](_0x4433),_0x194a7a=this[_0x40fea5(0x323)][_0x40fea5(0x1ec)](P,_0x4433,_0x1a2a28);return _0x194a7a[_0x40fea5(0x378)](),_0x194a7a;}async[_0x437440(0x31e)](_0x354d7e){const _0x32caf4=_0x437440;let _0x3f922e=await this[_0x32caf4(0x2fc)][_0x32caf4(0x320)](_0x354d7e),_0x466170=this[_0x32caf4(0x323)]['createInstance'](A,_0x354d7e,_0x3f922e);return _0x466170['init'](),_0x466170;}};F=C([S(0x0,n[_0x437440(0x22f)]),S(0x1,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x2,(0x0,n[_0x437440(0x16c)])(t['CollaborationSessionService']))],F);let I=class extends n[_0x437440(0x157)]{constructor(_0x5a6827,_0x50b185,_0x2c044b){const _0x53ce5e=_0x437440;super(),this[_0x53ce5e(0x176)]=_0x5a6827,this[_0x53ce5e(0x30e)]=_0x50b185,this[_0x53ce5e(0x32e)]=_0x2c044b,x(this,_0x53ce5e(0x3fa),new Set()),x(this,_0x53ce5e(0x407),!0x1),x(this,'_isApplyingOverlays',!0x1),x(this,_0x53ce5e(0x366),new Map()),this[_0x53ce5e(0x329)]();}[_0x437440(0x1c5)](){const _0x1b546a=_0x437440;this['_removeCollabCursors'](),super[_0x1b546a(0x1c5)]();}[_0x437440(0x329)](){const _0x24162f=_0x437440;let _0x3657ad=this[_0x24162f(0x30e)][_0x24162f(0x34d)](this[_0x24162f(0x176)][_0x24162f(0x1a1)]);this['disposeWithMe']((0x0,n[_0x24162f(0x3c0)])((0x0,i['combineLatest'])([_0x3657ad,this[_0x24162f(0x176)][_0x24162f(0x386)][_0x24162f(0x390)],this[_0x24162f(0x32e)][_0x24162f(0x343)]])[_0x24162f(0x1a8)]((0x0,i[_0x24162f(0x316)])(this[_0x24162f(0x20f)]))[_0x24162f(0x1d4)](([_0x22af89])=>{const _0x1e19c5=_0x24162f;let _0x133a72=this[_0x1e19c5(0x176)]['unit']['getActivePageId'](),_0x461a32=new Map();_0x22af89['forEach']((_0xf66cbe,_0xd636aa)=>{const _0x1a3d7b=_0x1e19c5;_0xf66cbe[_0x1a3d7b(0x364)]===_0x133a72&&_0x461a32[_0x1a3d7b(0x18b)](_0xd636aa,{..._0xf66cbe,'color':this[_0x1a3d7b(0x32e)][_0x1a3d7b(0x2f1)](_0xf66cbe[_0x1a3d7b(0x404)])});}),this[_0x1e19c5(0x366)]=_0x461a32,this[_0x1e19c5(0x3c6)]();})));let _0x55f469=this[_0x24162f(0x176)]['scene'];this['disposeWithMe']((0x0,n['toDisposable'])(_0x55f469[_0x24162f(0x1bc)][_0x24162f(0x1a8)]((0x0,i[_0x24162f(0x316)])(this[_0x24162f(0x20f)]))['subscribe'](()=>{const _0x1ce065=_0x24162f;this['_isApplyingOverlays']||this[_0x1ce065(0x3c6)]();})));}[_0x437440(0x3c6)](){const _0x487a4b=_0x437440;this[_0x487a4b(0x407)]||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x487a4b(0x1e7)](()=>{const _0x32752c=_0x487a4b;this[_0x32752c(0x407)]=!0x1,this['_render']();}));}[_0x437440(0x2cc)](){const _0x2b6e56=_0x437440;this[_0x2b6e56(0x263)]();let _0x105f38=this[_0x2b6e56(0x176)][_0x2b6e56(0x386)][_0x2b6e56(0x22d)](),_0x25ab23=[];if(this[_0x2b6e56(0x366)][_0x2b6e56(0x2ac)]((_0x1af9c9,_0x300de7)=>{const _0x39e8bb=_0x2b6e56;_0x1af9c9[_0x39e8bb(0x364)]===_0x105f38&&_0x1af9c9[_0x39e8bb(0x274)][_0x39e8bb(0x2ac)](_0x1b9165=>{const _0x3ea263=_0x39e8bb;let _0x454be5=(0x0,e[_0x3ea263(0x231)])(_0x1af9c9['unitId'],_0x1b9165),_0x38f7c2=this[_0x3ea263(0x299)](_0x454be5);if(!_0x38f7c2)return;let _0x489b86=this['_getObjectBounds'](_0x38f7c2);_0x25ab23[_0x3ea263(0x3da)](new pe('board-collab-cursor-'+_0x300de7+'-'+_0x1b9165,{..._0x1af9c9,'left':_0x489b86[_0x3ea263(0x2e0)],'top':_0x489b86[_0x3ea263(0x21a)],'width':_0x489b86[_0x3ea263(0x2b0)],'height':_0x489b86[_0x3ea263(0x362)],'angle':_0x38f7c2[_0x3ea263(0x3d6)],'evented':!0x1,'zIndex':O}));});}),_0x25ab23[_0x2b6e56(0x346)]===0x0){this[_0x2b6e56(0x176)][_0x2b6e56(0x339)][_0x2b6e56(0x224)](!0x0);return;}this[_0x2b6e56(0x3d9)]=!0x0,this['_context'][_0x2b6e56(0x339)][_0x2b6e56(0x32b)](_0x25ab23,O),this[_0x2b6e56(0x3d9)]=!0x1,this['_cursors']=new Set(_0x25ab23),this['_context'][_0x2b6e56(0x339)][_0x2b6e56(0x224)](!0x0);}[_0x437440(0x263)](){const _0x58a211=_0x437440;let _0x6d4e5e=Array[_0x58a211(0x167)](this[_0x58a211(0x3fa)]);if(_0x6d4e5e[_0x58a211(0x346)]===0x0)return;let _0x238866=this[_0x58a211(0x176)][_0x58a211(0x339)];_0x58a211(0x3ed)in _0x238866&&typeof _0x238866[_0x58a211(0x3ed)]==_0x58a211(0x16b)?_0x238866[_0x58a211(0x3ed)](_0x6d4e5e):_0x6d4e5e['forEach'](_0x58be29=>{const _0x303176=_0x58a211;_0x303176(0x2b9)in _0x238866&&typeof _0x238866[_0x303176(0x2b9)]==_0x303176(0x16b)?_0x238866[_0x303176(0x2b9)](_0x58be29):_0x58be29[_0x303176(0x1c5)]();}),this[_0x58a211(0x3fa)][_0x58a211(0x204)](),_0x238866[_0x58a211(0x224)](!0x0);}['_getSceneObjectByKey'](_0x889fbd){const _0x891a58=_0x437440;var _0x51b8cf,_0x13ef71,_0x287786;let _0x514ebe=this[_0x891a58(0x176)][_0x891a58(0x339)];return(_0x51b8cf=(_0x13ef71=(_0x287786=_0x514ebe[_0x891a58(0x34c)])==null?void 0x0:_0x287786['call'](_0x514ebe,_0x889fbd))==null?_0x514ebe[_0x891a58(0x2d4)](_0x889fbd):_0x13ef71)==null?null:_0x51b8cf;}[_0x437440(0x302)](_0x390068){const _0x8b4ef9=_0x437440;var _0x909f65,_0x5789ec;let _0x53477a=_0x390068;return(_0x909f65=(_0x5789ec=_0x53477a[_0x8b4ef9(0x30d)])==null?void 0x0:_0x5789ec['call'](_0x53477a))==null?{'left':_0x390068['left'],'top':_0x390068[_0x8b4ef9(0x21a)],'width':_0x390068[_0x8b4ef9(0x2b0)],'height':_0x390068[_0x8b4ef9(0x362)]}:_0x909f65;}};I=C([S(0x1,(0x0,n[_0x437440(0x16c)])(F)),S(0x2,(0x0,n[_0x437440(0x16c)])(n['ThemeService']))],I);const L='collab-text-anchor-';var be=class{constructor(_0x5215f7,_0x25d55e,_0x1c4e20,_0x164527){const _0x3cf667=_0x437440;this['_cursor']=_0x5215f7,this['_scene']=_0x25d55e,this[_0x3cf667(0x1bb)]=_0x1c4e20,this[_0x3cf667(0x384)]=_0x164527,x(this,_0x3cf667(0x220),[]),x(this,'_anchor',null),x(this,_0x3cf667(0x2ed),null),x(this,_0x3cf667(0x290),null),x(this,_0x3cf667(0x3b6),null),x(this,'_eventUnsubscribe',null),this[_0x3cf667(0x2cc)]();}set[_0x437440(0x3eb)](_0x5e256a){const _0x180cad=_0x437440;_0x5e256a?(this[_0x180cad(0x290)]&&this[_0x180cad(0x290)][_0x180cad(0x195)](),this['_textBubble']&&this[_0x180cad(0x2ed)][_0x180cad(0x234)]()):(this[_0x180cad(0x290)]&&this[_0x180cad(0x290)][_0x180cad(0x234)](),this[_0x180cad(0x2ed)]&&this['_textBubble'][_0x180cad(0x195)]());}['dispose'](){const _0x5d68c5=_0x437440;for(let _0x3e0a02 of this[_0x5d68c5(0x220)])_0x3e0a02[_0x5d68c5(0x1c5)]();this[_0x5d68c5(0x2ed)]&&this[_0x5d68c5(0x2ed)][_0x5d68c5(0x1c5)](),this[_0x5d68c5(0x290)]&&this[_0x5d68c5(0x290)][_0x5d68c5(0x1c5)](),this[_0x5d68c5(0x35c)]&&this[_0x5d68c5(0x35c)][_0x5d68c5(0x1c5)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x1eb75e=_0x437440;let {_docSkeleton:_0x272306,_document:_0x2d78ff}=this,{color:_0x336c5e,name:_0x4de518,ranges:_0x10559b}=this['_cursor'],_0xdf67a8=_0x2d78ff[_0x1eb75e(0x1d3)](),{docsLeft:_0x52f79a,docsTop:_0x2fac2f}=_0xdf67a8,_0x2cb5d5=new f['NodePositionConvertToCursor'](_0xdf67a8,_0x272306);for(let {startOffset:_0x3767ea,endOffset:_0x4df9d8,rangeType:_0x5819b4,segmentId:_0x3e3c18,segmentPage:_0x17ddf9,collapsed:_0x42a69e,isActive:_0x18e5a6}of _0x10559b){let _0x4152e6=_0x272306[_0x1eb75e(0x164)](_0x3767ea,!0x0,_0x3e3c18,_0x17ddf9),_0x5177dc=_0x272306[_0x1eb75e(0x164)](_0x4df9d8,!0x0,_0x3e3c18,_0x17ddf9);if(_0x5177dc==null&&(_0x5177dc=_0x272306[_0x1eb75e(0x164)](_0x4df9d8-0x1,!0x1,_0x3e3c18,_0x17ddf9)),_0x18e5a6){let {contentBoxPointGroup:_0x29579c}=_0x2cb5d5['getRangePointData'](_0x5177dc,_0x5177dc);if(_0x29579c[_0x1eb75e(0x346)]===0x0)continue;this['_drawAnchor'](_0x336c5e,_0x29579c,_0x52f79a,_0x2fac2f,_0x4de518),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4152e6&&_0x5177dc){if(_0x5819b4===n[_0x1eb75e(0x1fd)][_0x1eb75e(0x1a9)]){var _0x22265c;let {pointGroup:_0x46c6da}=(_0x22265c=new f[(_0x1eb75e(0x2ec))](_0xdf67a8,_0x272306)[_0x1eb75e(0x293)](_0x4152e6,_0x5177dc))==null?{}:_0x22265c;if(_0x46c6da==null||_0x46c6da[_0x1eb75e(0x346)]===0x0)continue;this[_0x1eb75e(0x172)](_0x336c5e,_0x46c6da,_0x52f79a,_0x2fac2f);}else{if(!_0x42a69e){let {borderBoxPointGroup:_0x59b4f2}=_0x2cb5d5[_0x1eb75e(0x293)](_0x4152e6,_0x5177dc);if(_0x59b4f2['length']===0x0)continue;this[_0x1eb75e(0x14a)](_0x336c5e,_0x59b4f2,_0x52f79a,_0x2fac2f);}}}}}[_0x437440(0x28c)](_0xc3a940,_0x2ae0e2,_0xc1b0c8,_0x20e969,_0x407ae5){const _0x211b35=_0x437440;let {left:_0x44f232,top:_0x17be24,height:_0x15e270}=this[_0x211b35(0x236)](_0x2ae0e2),_0x2e418e=1.5/this['_getScale'](),_0x3436bc=new u[(_0x211b35(0x3b9))](L+(0x0,n[_0x211b35(0x400)])(0x6),{'left':_0x44f232+_0xc1b0c8-_0x2e418e,'top':_0x17be24+_0x20e969,'height':_0x15e270,'width':1.5,'fill':_0xc3a940||(0x0,u['getColor'])(n[_0x211b35(0x296)][_0x211b35(0x3a4)],0x0),'strokeWidth':_0x2e418e,'stroke':_0x211b35(0x40f),'evented':!0x0});this[_0x211b35(0x35c)]=_0x3436bc,this[_0x211b35(0x1c4)][_0x211b35(0x2de)](_0x3436bc,f[_0x211b35(0x192)]);let _0x1feede=new u[(_0x211b35(0x3b9))](L+(0x0,n[_0x211b35(0x400)])(0x6),{'left':_0x44f232+_0xc1b0c8-_0x2e418e,'top':_0x17be24+_0x20e969-0x4/0x2,'height':0x4,'width':0x4,'fill':_0xc3a940||(0x0,u[_0x211b35(0x158)])(n[_0x211b35(0x296)]['black'],0x0),'strokeWidth':0x0,'stroke':_0xc3a940||(0x0,u[_0x211b35(0x158)])(n[_0x211b35(0x296)]['black'],0x0),'evented':!0x1});this[_0x211b35(0x290)]=_0x1feede,this[_0x211b35(0x1c4)]['addObject'](_0x1feede,f['TEXT_RANGE_LAYER_INDEX']);let _0x318a86=new D(L+(0x0,n[_0x211b35(0x400)])(0x6),{'left':_0x44f232+_0xc1b0c8-_0x2e418e,'top':_0x17be24+_0x20e969-0x14,'text':_0x407ae5,'color':_0xc3a940});this['_textBubble']=_0x318a86,this[_0x211b35(0x1c4)][_0x211b35(0x2de)](_0x318a86,f[_0x211b35(0x192)]),this['_hover']=!0x1;}['_handleHover'](){const _0x58230a=_0x437440;let _0xbe5ba3=this[_0x58230a(0x35c)][_0x58230a(0x379)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5c3e00=this[_0x58230a(0x35c)]['onPointerLeave$'][_0x58230a(0x24d)](()=>{const _0x515161=_0x58230a;this[_0x515161(0x3b6)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0xfece0f=_0x515161;this[_0xfece0f(0x3eb)]=!0x1;},0x7d0);});return()=>{const _0x2014f1=_0x58230a;_0xbe5ba3[_0x2014f1(0x219)](),_0x5c3e00['unsubscribe']();};}['_drawTextRange'](_0x2b1d27,_0x17fb7a,_0x1ea8f3,_0x87ccd0){const _0x38c995=_0x437440;let _0x5cf4b4=0.2,_0x51145c=new n[(_0x38c995(0x262))](_0x2b1d27)[_0x38c995(0x3a3)](_0x5cf4b4)[_0x38c995(0x410)](),_0x309af0=new u[(_0x38c995(0x181))](_0x38c995(0x239)+(0x0,n[_0x38c995(0x400)])(0x6),{'pointsGroup':_0x17fb7a,'fill':_0x51145c||(0x0,u[_0x38c995(0x158)])(n['COLORS']['black'],_0x5cf4b4),'left':_0x1ea8f3,'top':_0x87ccd0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38c995(0x220)][_0x38c995(0x3da)](_0x309af0),this['_scene'][_0x38c995(0x2de)](_0x309af0,f[_0x38c995(0x192)]);}['_drawRectRange'](_0x16d45e,_0x5125af,_0x458549,_0x275fe5){const _0x56ed7a=_0x437440;let _0x5c9ed0=0.2,_0x4644c8=new n[(_0x56ed7a(0x262))](_0x16d45e)[_0x56ed7a(0x3a3)](_0x5c9ed0)['toRgbString'](),_0x39a811=new u[(_0x56ed7a(0x181))](_0x56ed7a(0x1af)+(0x0,n['generateRandomId'])(0x6),{'pointsGroup':_0x5125af,'fill':_0x4644c8||(0x0,u[_0x56ed7a(0x158)])(n[_0x56ed7a(0x296)][_0x56ed7a(0x3a4)],_0x5c9ed0),'left':_0x458549,'top':_0x275fe5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56ed7a(0x220)]['push'](_0x39a811),this[_0x56ed7a(0x1c4)][_0x56ed7a(0x2de)](_0x39a811,f[_0x56ed7a(0x192)]);}[_0x437440(0x236)](_0x4e0ed2){let _0x325c77=_0x4e0ed2[0x0],_0x3f32b5=_0x325c77[0x0],_0x31af01=_0x325c77[0x2],{x:_0x3c4bda,y:_0x4d958b}=_0x3f32b5,{x:_0x4f69ce,y:_0x34c954}=_0x31af01;return{'left':_0x3c4bda,'top':_0x4d958b,'width':_0x4f69ce-_0x3c4bda,'height':_0x34c954-_0x4d958b};}[_0x437440(0x26b)](){const _0x1ee9c4=_0x437440;let {scaleX:_0x1671e0,scaleY:_0x247819}=this['_scene'][_0x1ee9c4(0x238)]();return Math[_0x1ee9c4(0x245)](_0x1671e0,_0x247819);}};let R=class extends n[_0x437440(0x157)]{constructor(_0x1bfc92,_0x46626c,_0x4586fd,_0x1117e0,_0x40f1a0){const _0x4f84b6=_0x437440;super(),this[_0x4f84b6(0x176)]=_0x1bfc92,this[_0x4f84b6(0x3cd)]=_0x46626c,this['_collabCursorController']=_0x4586fd,this[_0x4f84b6(0x3f2)]=_0x1117e0,this[_0x4f84b6(0x32e)]=_0x40f1a0,x(this,_0x4f84b6(0x3af),[]),x(this,_0x4f84b6(0x3fa),[]),this['_init']();}[_0x437440(0x329)](){const _0x6d59ea=_0x437440;let _0x3f2605=this[_0x6d59ea(0x176)]['unitId'],_0x58c58e=this['_docSkeletonManagerService'];this[_0x6d59ea(0x2cb)]((0x0,i[_0x6d59ea(0x1e9)])([this[_0x6d59ea(0x30e)][_0x6d59ea(0x34d)](_0x3f2605),this['_themeService'][_0x6d59ea(0x343)]])[_0x6d59ea(0x1a8)]((0x0,a[_0x6d59ea(0x2c5)])(([_0x2677f6,_0x44ea74])=>({'skeleton':_0x58c58e[_0x6d59ea(0x322)](),'cursors':[..._0x2677f6[_0x6d59ea(0x300)]()][_0x6d59ea(0x1c1)](_0x472321=>({..._0x472321,'color':this['_themeService'][_0x6d59ea(0x2f1)](_0x472321[_0x6d59ea(0x404)])}))})))[_0x6d59ea(0x1d4)](_0x1eb682=>{const _0x1d0bd0=_0x6d59ea;if(this[_0x1d0bd0(0x263)](),_0x1eb682){let {skeleton:_0xca860,cursors:_0x3c764e}=_0x1eb682;this[_0x1d0bd0(0x3e9)](_0xca860,_0x3c764e);}})),this[_0x6d59ea(0x269)](),this['_initCommandExecutedListener']();}[_0x437440(0x3e9)](_0x115c8a,_0x34a389){const _0x6de0b4=_0x437440;let {scene:_0x231c5e,mainComponent:_0x66791a}=this[_0x6de0b4(0x176)],_0x3beb26=_0x34a389[_0x6de0b4(0x2c5)](_0x5114d1=>new be(_0x5114d1,_0x231c5e,_0x115c8a,_0x66791a));this[_0x6de0b4(0x3af)]=_0x3beb26,this['_cursors']=_0x34a389;}[_0x437440(0x391)](){const _0xc8ce10=_0x437440;this[_0xc8ce10(0x263)]();let {scene:_0x187b90,mainComponent:_0x4175fc}=this[_0xc8ce10(0x176)],_0x4db070=this[_0xc8ce10(0x3cd)][_0xc8ce10(0x322)](),_0x493783=this[_0xc8ce10(0x3fa)][_0xc8ce10(0x2c5)](_0x4cc98d=>new be(_0x4cc98d,_0x187b90,_0x4db070,_0x4175fc));this['_cursorShapes']=_0x493783;}[_0x437440(0x263)](){const _0x1f76d3=_0x437440;this[_0x1f76d3(0x3af)][_0x1f76d3(0x2ac)](_0x32b2ca=>_0x32b2ca[_0x1f76d3(0x1c5)]()),this[_0x1f76d3(0x3af)]=[];}[_0x437440(0x2f4)](){const _0x164184=_0x437440;let _0x34175b=[f['SetDocZoomRatioOperation']['id']];this[_0x164184(0x2cb)](this['_commandService'][_0x164184(0x264)](_0x189656=>{const _0x560323=_0x164184;_0x34175b[_0x560323(0x2be)](_0x189656['id'])&&_0x189656[_0x560323(0x367)]['unitId']===this['_context'][_0x560323(0x1a1)]&&this[_0x560323(0x391)]();}));}[_0x437440(0x269)](){const _0x585266=_0x437440;this[_0x585266(0x2cb)]((0x0,n[_0x585266(0x40a)])(this[_0x585266(0x176)][_0x585266(0x2d7)][_0x585266(0x2cd)])[_0x585266(0x1a8)]((0x0,a[_0x585266(0x277)])(_0x4ed39f=>_0x4ed39f[_0x585266(0x349)]===u['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x585266(0x3f1)]),(0x0,a['throttleTime'])(0x10))['subscribe'](()=>{const _0x1e7b28=_0x585266;this[_0x1e7b28(0x391)]();}));}};R=C([S(0x1,(0x0,n['Inject'])(m['DocSkeletonManagerService'])),S(0x2,(0x0,n[_0x437440(0x16c)])(F)),S(0x3,n['ICommandService']),S(0x4,(0x0,n[_0x437440(0x16c)])(n['ThemeService']))],R);var xe=class extends u[_0x437440(0x38c)]{constructor(_0x1a7253,_0x563be4){const _0xe563d8=_0x437440;if(super(_0x1a7253,_0x563be4),x(this,'_color',void 0x0),x(this,'_hovered',!0x1),x(this,_0xe563d8(0x3fb),void 0x0),x(this,'_name',''),x(this,_0xe563d8(0x31c),_0xe563d8(0x21a)),x(this,'_backgroundColor',void 0x0),x(this,_0xe563d8(0x40e),void 0x0),x(this,'_highlight',void 0x0),x(this,_0xe563d8(0x179),0x4),x(this,_0xe563d8(0x328),void 0x0),x(this,'_blinkIntervalTimer',void 0x0),x(this,'_isBlinkVisible',!0x0),x(this,_0xe563d8(0x36c),0x0),x(this,_0xe563d8(0x39d),_0xe563d8(0x279)),_0x563be4){var _0x4ba218;if(this[_0xe563d8(0x15e)](_0x563be4),_0x563be4['highlight']&&((_0x4ba218=_0x563be4[_0xe563d8(0x368)])==null?this[_0xe563d8(0x179)]:_0x4ba218)){var _0x21933d;this[_0xe563d8(0x221)]((_0x21933d=_0x563be4['highlightSecond'])==null?this['_highlightSecond']:_0x21933d);}}this[_0xe563d8(0x379)][_0xe563d8(0x24d)](()=>this[_0xe563d8(0x15e)]({'hovered':!0x0})),this[_0xe563d8(0x188)][_0xe563d8(0x24d)](()=>this[_0xe563d8(0x15e)]({'hovered':!0x1}));}[_0x437440(0x3ee)](_0x386fd7){const _0x4a5377=_0x437440;this[_0x4a5377(0x36c)]=_0x386fd7;}[_0x437440(0x15e)](_0x20597b){const _0x3ed35d=_0x437440;var _0x4e5f68,_0x4411d2,_0x62d371,_0x367df4,_0x14b6e5,_0x1f66a4,_0x3d7838,_0x1214e8;this['_color']=(_0x4e5f68=_0x20597b['color'])==null?this[_0x3ed35d(0x342)]:_0x4e5f68,this[_0x3ed35d(0x173)]=(_0x4411d2=_0x20597b[_0x3ed35d(0x1c8)])==null?this[_0x3ed35d(0x173)]:_0x4411d2,this[_0x3ed35d(0x3fb)]=(_0x62d371=_0x20597b[_0x3ed35d(0x2f5)])==null?this['_range']:_0x62d371,this['_name']=(_0x367df4=_0x20597b[_0x3ed35d(0x159)])==null?this[_0x3ed35d(0x3a8)]:_0x367df4,this[_0x3ed35d(0x31c)]=(_0x14b6e5=_0x20597b[_0x3ed35d(0x2e4)])==null?this[_0x3ed35d(0x31c)]:_0x14b6e5,this[_0x3ed35d(0x417)]=(_0x1f66a4=_0x20597b[_0x3ed35d(0x1ae)])==null?this[_0x3ed35d(0x417)]:_0x1f66a4,this['_showText']=(_0x3d7838=_0x20597b[_0x3ed35d(0x387)])==null?this['_showText']:_0x3d7838,this['_labelHorizontalPosition']=(_0x1214e8=_0x20597b[_0x3ed35d(0x2ba)])==null?this['_labelHorizontalPosition']:_0x1214e8,_0x20597b[_0x3ed35d(0x368)]!==void 0x0&&(this[_0x3ed35d(0x179)]=_0x20597b[_0x3ed35d(0x368)]),_0x20597b['highlight']!==void 0x0&&(this[_0x3ed35d(0x2a0)]=_0x20597b['highlight']),_0x20597b[_0x3ed35d(0x14e)]!==void 0x0&&(this[_0x3ed35d(0x36c)]=_0x20597b[_0x3ed35d(0x14e)]),this['transformByState']({'width':_0x20597b[_0x3ed35d(0x2b0)],'height':_0x20597b[_0x3ed35d(0x362)]});}[_0x437440(0x267)](_0x113fbb){const _0x454538=_0x437440;let {row:_0x5e6aa1,column:_0x17c2f8}=_0x113fbb;if(_0x5e6aa1>=this[_0x454538(0x3fb)]['startRow']&&_0x5e6aa1<=this[_0x454538(0x3fb)][_0x454538(0x1ce)]&&_0x17c2f8>=this[_0x454538(0x3fb)][_0x454538(0x350)]&&_0x17c2f8<=this[_0x454538(0x3fb)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x454538(0x15e)]({'hovered':!0x1});}[_0x437440(0x221)](_0xa2e68d){const _0x32a75e=_0x437440;this[_0x32a75e(0x3c5)](),this['_isBlinkVisible']=!0x0,this['_blinkIntervalTimer']=window[_0x32a75e(0x163)](()=>{const _0x4dadb1=_0x32a75e;this[_0x4dadb1(0x307)]=!this[_0x4dadb1(0x307)],this[_0x4dadb1(0x224)](!0x0);},0x1f4),this[_0x32a75e(0x328)]=window['setTimeout'](()=>{const _0x4f2ed6=_0x32a75e;this[_0x4f2ed6(0x3c5)](),this[_0x4f2ed6(0x307)]=!0x0,this[_0x4f2ed6(0x224)](!0x0);},_0xa2e68d*0x3e8);}['_stopBlinking'](){const _0x3a2577=_0x437440;this['_blinkIntervalTimer']&&(window[_0x3a2577(0x16d)](this[_0x3a2577(0x3cf)]),this[_0x3a2577(0x3cf)]=void 0x0),this[_0x3a2577(0x328)]&&(window[_0x3a2577(0x28d)](this[_0x3a2577(0x328)]),this[_0x3a2577(0x328)]=void 0x0);}[_0x437440(0x3c9)](_0x14346d){return!0x1;}[_0x437440(0x1c5)](){const _0x771af9=_0x437440;this['_stopBlinking'](),super[_0x771af9(0x1c5)]();}[_0x437440(0x3d4)](_0x408a62){const _0x2801dc=_0x437440;let _0x392628=this[_0x2801dc(0x342)],_0x190e69=this[_0x2801dc(0x417)];if(this[_0x2801dc(0x2a0)]&&!this['_isBlinkVisible']&&(_0x392628=this['_getLighterColor'](this['_color']),_0x190e69=this[_0x2801dc(0x417)]?this[_0x2801dc(0x301)](this[_0x2801dc(0x417)]):void 0x0),u[_0x2801dc(0x3b9)][_0x2801dc(0x19f)](_0x408a62,{'width':this['width'],'height':this[_0x2801dc(0x362)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x392628,'evented':!0x1,'fill':_0x190e69}),this[_0x2801dc(0x173)]||this[_0x2801dc(0x40e)]){var _0x11ac04;_0x408a62[_0x2801dc(0x272)]();let _0x445c8e=this[_0x2801dc(0x39d)]===_0x2801dc(0x2e0)?-de(_0x408a62,this[_0x2801dc(0x3a8)]):this[_0x2801dc(0x2b0)];_0x408a62['transform'](0x1,0x0,0x0,0x1,_0x445c8e,(this['_labelPosition']===_0x2801dc(0x2e5)?0x0:-0x14)+((_0x11ac04=this[_0x2801dc(0x36c)])==null?0x0:_0x11ac04)),D[_0x2801dc(0x19f)](_0x408a62,{'text':this[_0x2801dc(0x3a8)],'color':_0x392628}),_0x408a62[_0x2801dc(0x292)]();}}['_getLighterColor'](_0x44f5d7){const _0x28e22b=_0x437440;return _0x44f5d7[_0x28e22b(0x38b)]('#')?_0x28e22b(0x273)+Number[_0x28e22b(0x26c)](_0x44f5d7[_0x28e22b(0x32f)](0x1,0x3),0x10)+',\x20'+Number[_0x28e22b(0x26c)](_0x44f5d7['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x44f5d7[_0x28e22b(0x32f)](0x5,0x7),0x10)+_0x28e22b(0x308):_0x44f5d7[_0x28e22b(0x38b)]('rgba')?_0x44f5d7[_0x28e22b(0x1ad)](/[\d.]+\)$/g,'0.2)'):_0x44f5d7[_0x28e22b(0x38b)]('rgb')?_0x44f5d7[_0x28e22b(0x1ad)](_0x28e22b(0x3c8),'rgba')['replace'](')',',\x200.2)'):_0x44f5d7;}};let z=class extends n[_0x437440(0x157)]{constructor(_0x3ba5fb,_0x452f03,_0x2aef66,_0x276c2a){const _0x1c65ab=_0x437440;super(),this['_context']=_0x3ba5fb,this[_0x1c65ab(0x17e)]=_0x452f03,this['_collabCursorController']=_0x2aef66,this[_0x1c65ab(0x32e)]=_0x276c2a,x(this,_0x1c65ab(0x3fa),new Set()),x(this,'_lastPointer',null),x(this,'_pointerMoveDisposable',null),this['_init']();}[_0x437440(0x329)](){const _0x51d86b=_0x437440;this[_0x51d86b(0x17e)][_0x51d86b(0x286)][_0x51d86b(0x1a8)]((0x0,a['takeUntil'])(this['dispose$']),(0x0,a['switchMap'])(_0x5710e5=>{const _0x44c40a=_0x51d86b;if(_0x5710e5){let _0x490f75=_0x5710e5[_0x44c40a(0x206)];return(0x0,i[_0x44c40a(0x1e9)])(this[_0x44c40a(0x30e)][_0x44c40a(0x34d)](this['_context'][_0x44c40a(0x1a1)]),this[_0x44c40a(0x32e)][_0x44c40a(0x343)])['pipe']((0x0,a[_0x44c40a(0x2c5)])(([_0x580de0,_0x563e8e])=>{const _0x4fce3d=_0x44c40a;let _0x157d26=new Map();return _0x580de0[_0x4fce3d(0x2ac)]((_0x5dbbf2,_0x515707)=>{const _0x341760=_0x4fce3d;if(_0x5dbbf2[_0x341760(0x187)]===_0x490f75){let _0x4e2d83={..._0x5dbbf2};_0x4e2d83[_0x341760(0x404)]=this[_0x341760(0x32e)]['getColorFromTheme'](_0x5dbbf2[_0x341760(0x404)]),_0x157d26['set'](_0x515707,_0x4e2d83);}}),{'skeleton':_0x5710e5,'cursors':_0x157d26};}));}return(0x0,i['of'])({'skeleton':null,'cursors':new Map()});}))[_0x51d86b(0x1d4)](({skeleton:_0x2b89b2,cursors:_0xe6a5ba})=>{const _0x437cde=_0x51d86b;this['_removeCollabCursors'](),_0x2b89b2&&this[_0x437cde(0x3e9)](_0x2b89b2,_0xe6a5ba);}),this[_0x51d86b(0x2cb)](this[_0x51d86b(0x17e)]['currentSkeleton$'][_0x51d86b(0x1a8)]((0x0,a[_0x51d86b(0x316)])(this[_0x51d86b(0x20f)]))[_0x51d86b(0x1d4)](_0x373d25=>{const _0x4b7375=_0x51d86b;var _0x2d388f;if(_0x373d25==null)return;(_0x2d388f=this['_pointerMoveDisposable'])==null||_0x2d388f[_0x4b7375(0x219)](),this[_0x4b7375(0x3e3)]=null;let {skeleton:_0x3e4c5a}=_0x373d25,{scene:_0x131e52}=this[_0x4b7375(0x176)];this[_0x4b7375(0x3e3)]=_0x131e52[_0x4b7375(0x1c3)][_0x4b7375(0x24d)]((0x0,n[_0x4b7375(0x3b4)])(_0x1c5d79=>{const _0x146fd8=_0x4b7375;var _0xcb7476,_0x33e722;let {offsetX:_0xb0615d,offsetY:_0x3195e9}=_0x1c5d79,{x:_0x1c8bb8,y:_0x2203af}=_0x131e52['getRelativeToViewportCoord'](u[_0x146fd8(0x241)]['FromArray']([_0xb0615d,_0x3195e9])),{scaleX:_0x69ec11,scaleY:_0x51064b}=_0x131e52['getAncestorScale'](),_0x495913=_0x131e52['getViewport'](u['SHEET_VIEWPORT_KEY'][_0x146fd8(0x1d0)]),_0x173989=_0x131e52[_0x146fd8(0x218)](u['Vector2'][_0x146fd8(0x32c)]([_0x1c8bb8,_0x2203af]),_0x495913),_0x3645a9=_0x3e4c5a[_0x146fd8(0x298)](_0xb0615d,_0x3195e9,_0x69ec11,_0x51064b,_0x173989);((_0xcb7476=this[_0x146fd8(0x256)])==null?void 0x0:_0xcb7476[_0x146fd8(0x291)])===_0x3645a9[_0x146fd8(0x291)]&&((_0x33e722=this['_lastPointer'])==null?void 0x0:_0x33e722[_0x146fd8(0x36f)])===_0x3645a9['row']||this[_0x146fd8(0x3fa)]['forEach'](_0x486831=>{const _0x50c5bf=_0x146fd8;_0x486831[_0x50c5bf(0x267)](_0x3645a9);});},0x64));})),this[_0x51d86b(0x2cb)]((0x0,n[_0x51d86b(0x3c0)])(()=>{const _0x2f4a53=_0x51d86b;var _0x76658d;(_0x76658d=this['_pointerMoveDisposable'])==null||_0x76658d[_0x2f4a53(0x219)](),this[_0x2f4a53(0x3e3)]=null;}));}[_0x437440(0x3e9)](_0x5c76e6,_0x39c580){const _0x31b183=_0x437440;let _0x5554c6=this[_0x31b183(0x17e)][_0x31b183(0x395)]();if(!_0x5554c6)return;let _0xf3dfd5=this[_0x31b183(0x3e6)]();if(!_0xf3dfd5)return;this['_cursors']['forEach'](_0x17d746=>{const _0x43650d=_0x31b183;_0x17d746[_0x43650d(0x224)]();});let {scene:_0x1f014c}=_0xf3dfd5,_0x4a0f53=Se(Array[_0x31b183(0x167)](_0x39c580[_0x31b183(0x300)]()))[_0x31b183(0x2c5)](_0x51fe07=>{const _0x5624f5=_0x31b183;let {color:_0x2d08bf,range:_0x28473b,name:_0x44d36a,selection:_0x4c7be1,sheetID:_0xd5b8e5}=_0x51fe07,{startColumn:_0x251e92,startRow:_0xa29d04,endColumn:_0x3e653e,endRow:_0x1af29a}=_0x28473b,_0x459336=(0x0,v[_0x5624f5(0x38f)])(_0xa29d04,_0x251e92,_0x1f014c,_0x5554c6),_0xca94b2=(0x0,v['getCoordByCell'])(_0x1af29a,_0x3e653e,_0x1f014c,_0x5554c6),{columnHeaderHeightAndMarginTop:_0xe44fbe}=_0x5554c6,{startX:_0x278581,startY:_0xd5d5ac}=_0x459336,{endX:_0x3c21b9,endY:_0x3bbbb6}=_0xca94b2,_0x2af3fb=_0x3c21b9-_0x278581,_0x548746=_0x3bbbb6-_0xd5d5ac;return new xe(_0x44d36a,{'labelPosition':_0xd5d5ac-_0xe44fbe>=0x14?_0x5624f5(0x21a):'bottom','sheetID':_0xd5b8e5,'range':_0x28473b,'color':_0x2d08bf,'name':_0x44d36a,'selection':_0x4c7be1,'left':_0x278581,'top':_0xd5d5ac,'width':_0x2af3fb,'height':_0x548746,'evented':!0x1,'zIndex':0x1389});});_0x1f014c[_0x31b183(0x32b)](_0x4a0f53,0x1),this['_cursors']=new Set(_0x4a0f53);}['_removeCollabCursors'](){const _0x56ca63=_0x437440;var _0x5410b8;(_0x5410b8=this[_0x56ca63(0x3fa)])==null||_0x5410b8['forEach'](_0x532076=>_0x532076[_0x56ca63(0x1c5)]());}[_0x437440(0x3e6)](){const _0x2a275d=_0x437440;return(0x0,v[_0x2a275d(0x258)])(this[_0x2a275d(0x176)][_0x2a275d(0x386)],this[_0x2a275d(0x176)]);}};z=C([S(0x1,(0x0,n[_0x437440(0x16c)])(v[_0x437440(0x1ff)])),S(0x2,(0x0,n[_0x437440(0x16c)])(F)),S(0x3,(0x0,n['Inject'])(n[_0x437440(0x14c)]))],z);function Se(_0x50f047){const _0x3b1892=_0x437440;let _0x19105a=new Map();return _0x50f047['forEach'](_0x330483=>{const _0x146e38=_0x30e6;if(_0x19105a[_0x146e38(0x15d)](_0x330483[_0x146e38(0x2d3)])){let _0x3b47c5=_0x19105a[_0x146e38(0x226)](_0x330483[_0x146e38(0x2d3)]);_0x3b47c5[_0x146e38(0x159)]+=',\x20'+_0x330483[_0x146e38(0x159)];}else _0x19105a[_0x146e38(0x18b)](_0x330483[_0x146e38(0x2d3)],_0x330483);}),Array[_0x3b1892(0x167)](_0x19105a[_0x3b1892(0x300)]());}function _0x30e6(_0x6643ac,_0x3727b5){_0x6643ac=_0x6643ac-0x147;const _0x184f3e=_0x184f();let _0x30e653=_0x184f3e[_0x6643ac];return _0x30e653;}let B=class extends n[_0x437440(0x157)]{constructor(_0x251554,_0x2f549d,_0x1b137c){const _0x22cf5c=_0x437440;super(),this[_0x22cf5c(0x176)]=_0x251554,this['_collabCursorController']=_0x2f549d,this[_0x22cf5c(0x32e)]=_0x1b137c,x(this,'_cursors',new Set()),x(this,_0x22cf5c(0x407),!0x1),x(this,'_isApplyingOverlays',!0x1),x(this,_0x22cf5c(0x366),new Map()),this[_0x22cf5c(0x329)]();}[_0x437440(0x1c5)](){const _0x2a1a4a=_0x437440;this[_0x2a1a4a(0x263)](),super['dispose']();}[_0x437440(0x329)](){const _0x16f24a=_0x437440;let _0x9bb75d=this[_0x16f24a(0x176)][_0x16f24a(0x386)][_0x16f24a(0x1bd)]['activeSlideId$'],_0x27486f=this[_0x16f24a(0x30e)][_0x16f24a(0x34d)](this[_0x16f24a(0x176)][_0x16f24a(0x1a1)]);this[_0x16f24a(0x2cb)]((0x0,n[_0x16f24a(0x3c0)])((0x0,i['combineLatest'])([_0x27486f,_0x9bb75d,this[_0x16f24a(0x32e)][_0x16f24a(0x343)]])[_0x16f24a(0x1a8)]((0x0,i[_0x16f24a(0x316)])(this[_0x16f24a(0x20f)]))[_0x16f24a(0x1d4)](([_0x5d5ddc,_0x115a11])=>{const _0x15316f=_0x16f24a;let _0x170f6f=new Map();_0x5d5ddc[_0x15316f(0x2ac)]((_0x4aeb9a,_0x25ea6c)=>{const _0x991a34=_0x15316f;_0x4aeb9a['subUnitId']===_0x115a11&&_0x170f6f['set'](_0x25ea6c,{..._0x4aeb9a,'color':this[_0x991a34(0x32e)][_0x991a34(0x2f1)](_0x4aeb9a[_0x991a34(0x404)])});}),this[_0x15316f(0x366)]=_0x170f6f,this['_scheduleRender']();})));let _0x5a79b6=this[_0x16f24a(0x176)][_0x16f24a(0x339)];this[_0x16f24a(0x2cb)]((0x0,n[_0x16f24a(0x3c0)])(_0x5a79b6[_0x16f24a(0x1bc)][_0x16f24a(0x1a8)]((0x0,i[_0x16f24a(0x316)])(this[_0x16f24a(0x20f)]))[_0x16f24a(0x1d4)](()=>{const _0x274e3c=_0x16f24a;this[_0x274e3c(0x3d9)]||this[_0x274e3c(0x3c6)]();})));}['_scheduleRender'](){const _0x17ffa4=_0x437440;this[_0x17ffa4(0x407)]||(this[_0x17ffa4(0x407)]=!0x0,Promise[_0x17ffa4(0x2b2)]()[_0x17ffa4(0x1e7)](()=>{const _0x25b737=_0x17ffa4;this[_0x25b737(0x407)]=!0x1,this[_0x25b737(0x2cc)]();}));}[_0x437440(0x2cc)](){const _0x429b9f=_0x437440;var _0x5cc8e8;this[_0x429b9f(0x263)]();let _0x3b4abf=(_0x5cc8e8=this[_0x429b9f(0x176)][_0x429b9f(0x386)][_0x429b9f(0x1bd)]['getActiveSlide']())==null?void 0x0:_0x5cc8e8[_0x429b9f(0x2ae)]();if(!_0x3b4abf)return;let _0xc5ff5d=[];if(this[_0x429b9f(0x366)]['forEach']((_0x1baee9,_0x1a97fa)=>{const _0x22710b=_0x429b9f;_0x1baee9['subUnitId']===_0x3b4abf&&_0x1baee9[_0x22710b(0x274)][_0x22710b(0x2ac)](_0x24f3b2=>{const _0x333d96=_0x22710b;let _0x43c051=(0x0,_['buildDrawingOKey'])(_0x1baee9['unitId'],_0x1baee9[_0x333d96(0x364)],_0x24f3b2),_0x2f3267=this[_0x333d96(0x299)](_0x43c051);if(!_0x2f3267)return;let _0x159449=this[_0x333d96(0x302)](_0x2f3267);_0xc5ff5d[_0x333d96(0x3da)](new pe(_0x333d96(0x250)+_0x1a97fa+'-'+_0x24f3b2,{..._0x1baee9,'left':_0x159449[_0x333d96(0x2e0)],'top':_0x159449['top'],'width':_0x159449['width'],'height':_0x159449[_0x333d96(0x362)],'angle':_0x2f3267[_0x333d96(0x3d6)],'evented':!0x1,'zIndex':O}));});}),_0xc5ff5d[_0x429b9f(0x346)]===0x0){this[_0x429b9f(0x176)][_0x429b9f(0x339)][_0x429b9f(0x224)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x429b9f(0x176)]['scene']['addObjects'](_0xc5ff5d,O),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0xc5ff5d),this[_0x429b9f(0x176)]['scene'][_0x429b9f(0x224)](!0x0);}['_removeCollabCursors'](){const _0x5b016c=_0x437440;let _0x5c26a9=Array[_0x5b016c(0x167)](this[_0x5b016c(0x3fa)]);if(_0x5c26a9[_0x5b016c(0x346)]===0x0)return;let _0x12eee7=this[_0x5b016c(0x176)][_0x5b016c(0x339)];_0x5b016c(0x3ed)in _0x12eee7&&typeof _0x12eee7['removeObjects']==_0x5b016c(0x16b)?_0x12eee7[_0x5b016c(0x3ed)](_0x5c26a9):_0x5c26a9['forEach'](_0xf7936a=>{const _0x19b984=_0x5b016c;_0x19b984(0x2b9)in _0x12eee7&&typeof _0x12eee7['removeObject']==_0x19b984(0x16b)?_0x12eee7[_0x19b984(0x2b9)](_0xf7936a):_0xf7936a[_0x19b984(0x1c5)]();}),this[_0x5b016c(0x3fa)]['clear'](),_0x12eee7['makeDirty'](!0x0);}[_0x437440(0x299)](_0x44fa39){const _0x44cd55=_0x437440;var _0x2f2d73,_0x330311,_0x4f2dd3;let _0x57019e=this[_0x44cd55(0x176)][_0x44cd55(0x339)];return(_0x2f2d73=(_0x330311=(_0x4f2dd3=_0x57019e[_0x44cd55(0x34c)])==null?void 0x0:_0x4f2dd3[_0x44cd55(0x1db)](_0x57019e,_0x44fa39))==null?_0x57019e[_0x44cd55(0x2d4)](_0x44fa39):_0x330311)==null?null:_0x2f2d73;}[_0x437440(0x302)](_0xed9139){const _0xde90cd=_0x437440;var _0x11b545,_0x3b1216;let _0x10b719=_0xed9139;return(_0x11b545=(_0x3b1216=_0x10b719[_0xde90cd(0x30d)])==null?void 0x0:_0x3b1216[_0xde90cd(0x1db)](_0x10b719))==null?{'left':_0xed9139[_0xde90cd(0x2e0)],'top':_0xed9139[_0xde90cd(0x21a)],'width':_0xed9139[_0xde90cd(0x2b0)],'height':_0xed9139[_0xde90cd(0x362)]}:_0x11b545;}};B=C([S(0x1,(0x0,n[_0x437440(0x16c)])(F)),S(0x2,(0x0,n[_0x437440(0x16c)])(n['ThemeService']))],B);let V=class extends n['Disposable']{constructor(_0x458ebc,_0x49acff,_0x17a8e3,_0x73f774,_0x24d560,_0x3b369f){const _0x340bdc=_0x437440;super(),this[_0x340bdc(0x3ae)]=_0x458ebc,this[_0x340bdc(0x1c2)]=_0x49acff,this[_0x340bdc(0x228)]=_0x17a8e3,this['_messageService']=_0x73f774,this[_0x340bdc(0x33a)]=_0x24d560,this[_0x340bdc(0x398)]=_0x3b369f,this[_0x340bdc(0x25d)](),this[_0x340bdc(0x3f6)]();}[_0x437440(0x25d)](){const _0x54e35d=_0x437440;this[_0x54e35d(0x2cb)](this[_0x54e35d(0x3ae)][_0x54e35d(0x344)](()=>{const _0x217c36=_0x54e35d;if(this['_localCacheService'][_0x217c36(0x1eb)][_0x217c36(0x2a2)])return this[_0x217c36(0x398)]['t'](_0x217c36(0x341));}));}[_0x437440(0x3f6)](){const _0x8540f9=_0x437440;this[_0x8540f9(0x2cb)](this['_collaborationUIEventService']['event$']['subscribe'](_0x1fb7ec=>{const _0x52c1d9=_0x8540f9;_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)][_0x52c1d9(0x1e1)]&&this[_0x52c1d9(0x27b)][_0x52c1d9(0x234)]({'type':o[_0x52c1d9(0x3a1)][_0x52c1d9(0x3e8)],'content':this['_localeService']['t'](_0x52c1d9(0x41a))}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)][_0x52c1d9(0x1a7)]&&this[_0x52c1d9(0x27b)][_0x52c1d9(0x234)]({'type':o['MessageType'][_0x52c1d9(0x3e8)],'content':this[_0x52c1d9(0x398)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)]['PERMISSION_DENIED']&&this[_0x52c1d9(0x33a)][_0x52c1d9(0x234)]({'title':this[_0x52c1d9(0x398)]['t'](_0x52c1d9(0x37c)),'content':this['_localeService']['t'](_0x52c1d9(0x171)),'type':_0x52c1d9(0x196),'duration':0x0}),_0x1fb7ec['id']===t['CollaborationUIEventId'][_0x52c1d9(0x39e)]&&this['_notificationService'][_0x52c1d9(0x234)]({'title':this[_0x52c1d9(0x398)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x52c1d9(0x398)]['t'](_0x52c1d9(0x2d9)),'type':'error','duration':0x0}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)][_0x52c1d9(0x294)]&&this['_messageService'][_0x52c1d9(0x234)]({'type':o[_0x52c1d9(0x3a1)][_0x52c1d9(0x3e8)],'content':this[_0x52c1d9(0x398)]['t'](_0x1fb7ec[_0x52c1d9(0x2a5)]||'')}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)][_0x52c1d9(0x1a4)]&&this['_messageService'][_0x52c1d9(0x234)]({'type':o[_0x52c1d9(0x3a1)][_0x52c1d9(0x3e8)],'content':this['_localeService']['t'](_0x52c1d9(0x1b2))}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)]['SOCKET_FAILED']&&this[_0x52c1d9(0x27b)]['show']({'type':o[_0x52c1d9(0x3a1)][_0x52c1d9(0x25a)],'content':this[_0x52c1d9(0x398)]['t'](_0x52c1d9(0x2ad))}),_0x1fb7ec['id']===t[_0x52c1d9(0x2c0)][_0x52c1d9(0x24e)]&&this['_messageService'][_0x52c1d9(0x234)]({'type':o['MessageType']['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.collaboration-timeout')});}));}};V=C([S(0x0,r[_0x437440(0x2fd)]),S(0x1,t[_0x437440(0x388)]),S(0x2,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x1a5)])),S(0x3,r[_0x437440(0x1f5)]),S(0x4,r[_0x437440(0x168)]),S(0x5,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x2f3)]))],V);const H=(0x0,n['createIdentifier'])(_0x437440(0x151));let U=class extends n['RxDisposable']{constructor(_0x39c01a,_0x46bdf6,_0x1d463d,_0x41cf09,_0x293d2f){const _0x1b6fd8=_0x437440;super(),this[_0x1b6fd8(0x215)]=_0x39c01a,this[_0x1b6fd8(0x393)]=_0x46bdf6,this[_0x1b6fd8(0x3f2)]=_0x1d463d,this[_0x1b6fd8(0x29e)]=_0x41cf09,_0x293d2f?_0x293d2f==null||_0x293d2f[_0x1b6fd8(0x25b)]()[_0x1b6fd8(0x1e7)](()=>this['_init']()):(this[_0x1b6fd8(0x393)][_0x1b6fd8(0x282)](_0x1b6fd8(0x376),_0x1b6fd8(0x3fe)),this[_0x1b6fd8(0x329)]());}async[_0x437440(0x329)](){const _0x5c465d=_0x437440;let _0x394a8d=this['_urlService'][_0x5c465d(0x24c)](_0x5c465d(0x386)),_0x32d458=this[_0x5c465d(0x215)][_0x5c465d(0x24c)](_0x5c465d(0x349)),_0x1715dd=this[_0x5c465d(0x215)][_0x5c465d(0x24c)](_0x5c465d(0x288));if(!_0x394a8d||!_0x32d458){this['_logService'][_0x5c465d(0x282)](_0x5c465d(0x376),_0x5c465d(0x3d0));return;}let _0x68be79=await this['_dataLoaderService'][_0x5c465d(0x3d3)](_0x394a8d,Number(_0x32d458),_0x1715dd);_0x68be79&&_0x68be79 instanceof n[_0x5c465d(0x363)]&&this[_0x5c465d(0x275)](_0x68be79);}async[_0x437440(0x275)](_0x53105c){const _0x4a9c6b=_0x437440;await this[_0x4a9c6b(0x355)](_0x53105c),_0x53105c[_0x4a9c6b(0x289)]['pipe']((0x0,i[_0x4a9c6b(0x316)])(this[_0x4a9c6b(0x20f)]))[_0x4a9c6b(0x1d4)](_0xae631d=>{const _0x3c7dfe=_0x4a9c6b;_0xae631d&&this[_0x3c7dfe(0x1d5)](_0xae631d);}),this[_0x4a9c6b(0x215)]['urlChange$']['pipe']((0x0,i[_0x4a9c6b(0x316)])(this[_0x4a9c6b(0x20f)]))[_0x4a9c6b(0x1d4)](()=>this['_updateSubUnitFromURLParams'](_0x53105c));}[_0x437440(0x1d5)](_0x19484c,_0x3e4afa=!0x1){const _0x4e546b=_0x437440;let _0x1c29d9=this[_0x4e546b(0x215)][_0x4e546b(0x24c)](_0x4e546b(0x288));_0x19484c[_0x4e546b(0x33c)]()!==_0x1c29d9&&this[_0x4e546b(0x215)][_0x4e546b(0x309)](_0x4e546b(0x288),_0x19484c['getSheetId'](),_0x3e4afa);}async[_0x437440(0x355)](_0x16be77){const _0x63779a=_0x437440;var _0x520d7d;let _0x17d8d3=this[_0x63779a(0x215)][_0x63779a(0x24c)]('subunit');if(!_0x17d8d3||!_0x16be77[_0x63779a(0x1f0)](_0x17d8d3)){let _0x26bd63=_0x16be77[_0x63779a(0x1d8)]()[0x0],_0x11d062=_0x16be77[_0x63779a(0x1f0)](_0x26bd63);if(!_0x11d062)return;this[_0x63779a(0x1d5)](_0x11d062,!0x0),await this[_0x63779a(0x3f2)][_0x63779a(0x2da)](g[_0x63779a(0x2db)]['id'],{'unitId':_0x16be77['getUnitId'](),'subUnitId':_0x26bd63});return;}((_0x520d7d=_0x16be77[_0x63779a(0x2a4)]())==null?void 0x0:_0x520d7d[_0x63779a(0x33c)]())!==_0x17d8d3&&await this[_0x63779a(0x3f2)][_0x63779a(0x2da)](g[_0x63779a(0x2db)]['id'],{'unitId':_0x16be77[_0x63779a(0x161)](),'subUnitId':_0x17d8d3});}};U=C([S(0x0,H),S(0x1,n[_0x437440(0x306)]),S(0x2,n[_0x437440(0x310)]),S(0x3,(0x0,n['Inject'])(t['DataLoaderService'])),S(0x4,(0x0,n[_0x437440(0x326)])(ee[_0x437440(0x2e7)]))],U);let W=class{constructor(_0x44eaeb,_0x2b9735){const _0x4b9952=_0x437440;this[_0x4b9952(0x312)]=_0x44eaeb,this[_0x4b9952(0x414)]=_0x2b9735;}[_0x437440(0x17f)](_0x217447){const _0xb591db=_0x437440;this[_0xb591db(0x1c0)](_0x217447),this[_0xb591db(0x268)](_0x217447);}['transformRemoteChangeset'](_0x7405a3){const _0x52be1a=_0x437440;let {unitID:_0x3f4f13}=_0x7405a3,{redoCache:_0x21f867}=this['_renderManagerService']['getRenderById'](_0x3f4f13)[_0x52be1a(0x419)](f['DocIMEInputManagerService'])[_0x52be1a(0x35b)]();if(_0x21f867[_0x52be1a(0x346)]===0x0)return _0x7405a3;let _0x14ca5c=n[_0x52be1a(0x2fe)][_0x52be1a(0x2fa)](_0x7405a3[_0x52be1a(0x21b)][0x0]);for(let _0x460610=0x0;_0x460610<_0x21f867[_0x52be1a(0x346)];_0x460610++){let _0x1cd644={'id':'doc.mutation.rich-text-editing','params':{..._0x21f867[_0x460610]}},_0x4a201e=this[_0x52be1a(0x312)][_0x52be1a(0x365)](_0x14ca5c,_0x1cd644,!0x1);if((0x0,p[_0x52be1a(0x3ab)])(_0x4a201e))throw _0x4a201e['error'];_0x14ca5c=_0x4a201e[_0x52be1a(0x203)];}return{...n['Tools'][_0x52be1a(0x2fa)](_0x7405a3),'mutations':[_0x14ca5c]};}['_transformUndoRedoStack'](_0x1c45ee){const _0x5c7cb8=_0x437440;let {unitID:_0x32ea20}=_0x1c45ee,_0xb9ec03=this[_0x5c7cb8(0x414)][_0x5c7cb8(0x406)](_0x32ea20)[_0x5c7cb8(0x419)](f[_0x5c7cb8(0x18d)]),{undoCache:_0x1ecffb,redoCache:_0x2052d8}=_0xb9ec03[_0x5c7cb8(0x35b)]();if(_0x1ecffb[_0x5c7cb8(0x346)]===0x0||_0x2052d8[_0x5c7cb8(0x346)]===0x0)return;let _0x2916cd=[],_0x378261=[],_0x20378e=n[_0x5c7cb8(0x2fe)][_0x5c7cb8(0x2fa)](_0x1c45ee[_0x5c7cb8(0x21b)][0x0]),_0x14586c=n[_0x5c7cb8(0x2fe)][_0x5c7cb8(0x2fa)](_0x1c45ee['mutations'][0x0]);for(let _0xa9fc8b=_0x1ecffb['length']-0x1;_0xa9fc8b>=0x0;_0xa9fc8b--){let _0x597f7f={'id':_0x5c7cb8(0x242),'params':{..._0x1ecffb[_0xa9fc8b]}},_0x41095f={'id':'doc.mutation.rich-text-editing','params':{..._0x2052d8[_0xa9fc8b]}},_0xd3a308=this['_transformService'][_0x5c7cb8(0x365)](_0x20378e,_0x597f7f,!0x1),_0x268aa5=this['_transformService'][_0x5c7cb8(0x365)](_0x14586c,_0x41095f,!0x1);if((0x0,p[_0x5c7cb8(0x3ab)])(_0xd3a308))throw _0xd3a308[_0x5c7cb8(0x196)];if((0x0,p[_0x5c7cb8(0x3ab)])(_0x268aa5))throw _0x268aa5[_0x5c7cb8(0x196)];_0x2916cd[_0x5c7cb8(0x184)](_0xd3a308[_0x5c7cb8(0x3ca)][_0x5c7cb8(0x367)]),_0x378261['unshift'](_0x268aa5[_0x5c7cb8(0x3ca)][_0x5c7cb8(0x367)]),_0x20378e=_0xd3a308[_0x5c7cb8(0x203)],_0x14586c=_0x268aa5[_0x5c7cb8(0x203)];}_0xb9ec03[_0x5c7cb8(0x3c1)]({'undoCache':_0x2916cd,'redoCache':_0x378261});}[_0x437440(0x268)](_0x16497e){const _0x220fd6=_0x437440;let {unitID:_0x28aaa4}=_0x16497e,_0x348a7b=this[_0x220fd6(0x414)][_0x220fd6(0x406)](_0x28aaa4)[_0x220fd6(0x419)](f['DocIMEInputManagerService']),_0x4ce7f5=_0x348a7b[_0x220fd6(0x3a5)]();if(_0x4ce7f5==null)return;let _0x35d67d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x16497e[_0x220fd6(0x2b7)],'actions':null,'textRanges':[_0x4ce7f5]}}],_0x54a22c=this[_0x220fd6(0x312)][_0x220fd6(0x1b5)](_0x16497e,_0x35d67d);if(!(0x0,p[_0x220fd6(0x1e5)])(_0x54a22c))throw _0x54a22c[_0x220fd6(0x196)];let _0x473aaa=_0x54a22c[_0x220fd6(0x3ca)][0x0][_0x220fd6(0x367)][_0x220fd6(0x22e)];Array[_0x220fd6(0x3aa)](_0x473aaa)&&_0x473aaa['length']&&_0x348a7b['setActiveRange'](_0x473aaa[0x0]);}};W=C([S(0x0,p[_0x437440(0x295)]),S(0x1,u['IRenderManagerService'])],W);let G=class{constructor(_0xe1b6cd,_0x1d727f,_0x2cc222){const _0x37354e=_0x437440;this[_0x37354e(0x323)]=_0xe1b6cd,this[_0x37354e(0x312)]=_0x1d727f,this[_0x37354e(0x327)]=_0x2cc222;}['transformStateCache'](_0x34f2b2){const _0x5109da=_0x437440;this[_0x5109da(0x1d7)](_0x34f2b2);}[_0x437440(0x223)](_0x519964){const _0x57edc7=_0x437440;let {unitID:_0x48e1a3}=_0x519964,{collaboration:_0x15dd18}=this[_0x57edc7(0x327)][_0x57edc7(0x3d2)](_0x48e1a3);if(_0x15dd18['length']===0x0)return _0x519964;let _0x19fa60=n[_0x57edc7(0x2fe)][_0x57edc7(0x2fa)](_0x519964['mutations'][0x0]);for(let _0xb83087=0x0;_0xb83087<_0x15dd18[_0x57edc7(0x346)];_0xb83087++){let _0x131f67={'id':_0x57edc7(0x242),'params':{'unitId':_0x15dd18[_0xb83087][_0x57edc7(0x1a1)],..._0x15dd18[_0xb83087][_0x57edc7(0x3b3)]}},_0x56f206=this['_transformService'][_0x57edc7(0x365)](_0x19fa60,_0x131f67,!0x1);if((0x0,p['isTransformMutationFailure'])(_0x56f206))throw _0x56f206[_0x57edc7(0x196)];_0x19fa60=_0x56f206[_0x57edc7(0x203)];}return{...n[_0x57edc7(0x2fe)]['deepClone'](_0x519964),'mutations':[_0x19fa60]};}[_0x437440(0x1d7)](_0x40f125){const _0x4b95b6=_0x437440;let {unitID:_0x3da8d2}=_0x40f125,{history:_0xb83d47,collaboration:_0x2cd95b}=this[_0x4b95b6(0x327)][_0x4b95b6(0x3d2)](_0x3da8d2);if(_0xb83d47[_0x4b95b6(0x346)]===0x0&&_0x2cd95b[_0x4b95b6(0x346)]===0x0)return;let _0x53704b=[],_0xe604eb=[],_0x9e44db=n[_0x4b95b6(0x2fe)]['deepClone'](_0x40f125[_0x4b95b6(0x21b)][0x0]),_0x7bcea3=n[_0x4b95b6(0x2fe)][_0x4b95b6(0x2fa)](_0x40f125[_0x4b95b6(0x21b)][0x0]);for(let _0x21412e=_0xb83d47[_0x4b95b6(0x346)]-0x1;_0x21412e>=0x0;_0x21412e--){let _0x17b3a9={'id':_0x4b95b6(0x242),'params':{'unitId':_0xb83d47[_0x21412e][_0x4b95b6(0x1a1)],..._0xb83d47[_0x21412e][_0x4b95b6(0x3a9)]}},_0x258f8d={'id':_0x4b95b6(0x242),'params':{'unitId':_0xb83d47[_0x21412e][_0x4b95b6(0x1a1)],..._0xb83d47[_0x21412e][_0x4b95b6(0x3b3)]}},_0xb2fb00=this[_0x4b95b6(0x312)][_0x4b95b6(0x365)](_0x9e44db,_0x17b3a9,!0x1),_0x3f7fcd=this[_0x4b95b6(0x312)][_0x4b95b6(0x365)](_0x7bcea3,_0x258f8d,!0x1);if((0x0,p['isTransformMutationFailure'])(_0xb2fb00))throw _0xb2fb00[_0x4b95b6(0x196)];if((0x0,p[_0x4b95b6(0x3ab)])(_0x3f7fcd))throw _0x3f7fcd[_0x4b95b6(0x196)];_0x53704b[_0x4b95b6(0x184)]({..._0xb83d47[_0x21412e],'undoState':_0xb2fb00['m2Prime']['params'],'redoState':_0x3f7fcd['m2Prime'][_0x4b95b6(0x367)]}),_0x9e44db=_0xb2fb00[_0x4b95b6(0x203)],_0x7bcea3=_0x3f7fcd[_0x4b95b6(0x203)];}_0x9e44db=n[_0x4b95b6(0x2fe)][_0x4b95b6(0x2fa)](_0x40f125[_0x4b95b6(0x21b)][0x0]),_0x7bcea3=n[_0x4b95b6(0x2fe)][_0x4b95b6(0x2fa)](_0x40f125['mutations'][0x0]);for(let _0x22bf00=_0x2cd95b[_0x4b95b6(0x346)]-0x1;_0x22bf00>=0x0;_0x22bf00--){let _0x22f617={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2cd95b[_0x22bf00][_0x4b95b6(0x1a1)],..._0x2cd95b[_0x22bf00][_0x4b95b6(0x3a9)]}},_0x4a49da={'id':_0x4b95b6(0x242),'params':{'unitId':_0x2cd95b[_0x22bf00][_0x4b95b6(0x1a1)],..._0x2cd95b[_0x22bf00]['redoState']}},_0x29346c=this[_0x4b95b6(0x312)][_0x4b95b6(0x365)](_0x9e44db,_0x22f617,!0x1),_0x58fc6c=this[_0x4b95b6(0x312)][_0x4b95b6(0x365)](_0x7bcea3,_0x4a49da,!0x1);if((0x0,p['isTransformMutationFailure'])(_0x29346c))throw _0x29346c[_0x4b95b6(0x196)];if((0x0,p[_0x4b95b6(0x3ab)])(_0x58fc6c))throw _0x58fc6c['error'];_0xe604eb[_0x4b95b6(0x184)]({..._0x2cd95b[_0x22bf00],'undoState':_0x29346c[_0x4b95b6(0x3ca)][_0x4b95b6(0x367)],'redoState':_0x58fc6c[_0x4b95b6(0x3ca)][_0x4b95b6(0x367)]}),_0x9e44db=_0x29346c[_0x4b95b6(0x203)],_0x7bcea3=_0x58fc6c['m1Prime'];}this[_0x4b95b6(0x327)][_0x4b95b6(0x1b6)](_0x3da8d2,{'history':_0x53704b,'collaboration':_0xe604eb});}};G=C([S(0x0,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x1,p[_0x437440(0x295)]),S(0x2,(0x0,n['Inject'])(m[_0x437440(0x3ce)]))],G);let K=class{constructor(_0x3f1082,_0x31e5d1){const _0xd316a=_0x437440;this[_0xd316a(0x323)]=_0x3f1082,this['_transformService']=_0x31e5d1;}[_0x437440(0x21c)](_0x348da9){const _0x52d5c2=_0x437440;var _0x108cd0;let _0x17bab9=this['_injector'][_0x52d5c2(0x226)](m[_0x52d5c2(0x2e1)]),_0x204b59=(_0x108cd0=_0x17bab9[_0x52d5c2(0x33f)]())==null?[]:_0x108cd0;if(_0x204b59[_0x52d5c2(0x346)]===0x0)return;let _0x3b2c5f=_0x348da9[_0x52d5c2(0x2b7)],_0x2f6c8e=[{'id':_0x52d5c2(0x242),'params':{'unitId':_0x3b2c5f,'actions':null,'textRanges':_0x204b59}}],_0x21da5f=this[_0x52d5c2(0x312)][_0x52d5c2(0x1b5)](_0x348da9,_0x2f6c8e);if(!(0x0,p['isTransformMutationsWithChangesetSuccess'])(_0x21da5f))throw _0x21da5f[_0x52d5c2(0x196)];let _0x3d890f=_0x21da5f['m2Prime'][0x0][_0x52d5c2(0x367)]['textRanges'];Array[_0x52d5c2(0x3aa)](_0x3d890f)&&_0x3d890f[_0x52d5c2(0x346)]&&_0x17bab9[_0x52d5c2(0x405)](_0x3d890f,{'unitId':_0x3b2c5f,'subUnitId':_0x3b2c5f},!0x1);}};K=C([S(0x0,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x1,p[_0x437440(0x295)])],K);let q=class extends n[_0x437440(0x2d0)]{constructor(_0xb95054,_0x32cf2e,_0x362486,_0x1ebcac,_0x42f2c1,_0x352115,_0x108c25){const _0xa28ccd=_0x437440;super(),this[_0xa28ccd(0x1d1)]=_0xb95054,this[_0xa28ccd(0x1f3)]=_0x32cf2e,this[_0xa28ccd(0x3b5)]=_0x362486,this[_0xa28ccd(0x165)]=_0x1ebcac,this[_0xa28ccd(0x35a)]=_0x42f2c1,this[_0xa28ccd(0x27b)]=_0x352115,this['_localeService']=_0x108c25,x(this,_0xa28ccd(0x183),new i[(_0xa28ccd(0x2e8))](t[_0xa28ccd(0x361)][_0xa28ccd(0x229)])),this[_0xa28ccd(0x14b)]();}[_0x437440(0x14b)](){const _0x113bde=_0x437440;this[_0x113bde(0x2cb)](this[_0x113bde(0x1d1)][_0x113bde(0x3b2)][_0x113bde(0x1d4)](_0x6e87b6=>{const _0x4955d2=_0x113bde;_0x6e87b6 instanceof t[_0x4955d2(0x372)]&&_0x6e87b6[_0x4955d2(0x2f7)]({'onTransformIME':_0x1fce10=>this[_0x4955d2(0x1f3)]['transformIMECache'](_0x1fce10),'onTransformState':_0x565894=>this[_0x4955d2(0x3b5)][_0x4955d2(0x160)](_0x565894),'onTransformSelections':_0x45d884=>this[_0x4955d2(0x165)][_0x4955d2(0x21c)](_0x45d884),'onSyncEditingCollabCursor':_0x3245a8=>this[_0x4955d2(0x35a)][_0x4955d2(0x33e)](_0x3245a8),'onTransformRemoteChangesetByIMECache':_0x217327=>this['_docTransformIMECacheService'][_0x4955d2(0x223)](_0x217327),'onTransformRemoteChangesetByStateCache':_0x1c7b1e=>this[_0x4955d2(0x3b5)][_0x4955d2(0x223)](_0x1c7b1e)});}));}};q=C([S(0x0,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x416)])),S(0x1,(0x0,n[_0x437440(0x16c)])(W)),S(0x2,(0x0,n['Inject'])(G)),S(0x3,(0x0,n['Inject'])(K)),S(0x4,(0x0,n[_0x437440(0x16c)])(j)),S(0x5,r['IMessageService']),S(0x6,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x2f3)]))],q);let J=class extends n[_0x437440(0x2d0)]{constructor(_0xe96901,_0x462dc9,_0xf6e92,_0x32f9a6){const _0x2503a6=_0x437440;super(),this['_injector']=_0xe96901,this[_0x2503a6(0x152)]=_0x462dc9,this[_0x2503a6(0x393)]=_0xf6e92,this[_0x2503a6(0x297)]=_0x32f9a6,x(this,_0x2503a6(0x153),void 0x0),this[_0x2503a6(0x329)]();}[_0x437440(0x329)](){const _0x122aff=_0x437440;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x122aff(0x37a)](),this[_0x122aff(0x19b)]();}[_0x437440(0x19b)](){const _0x1ae1b5=_0x437440;this[_0x1ae1b5(0x2cb)](this[_0x1ae1b5(0x297)][_0x1ae1b5(0x240)]['subscribe'](_0x2433a2=>{const _0x41effb=_0x1ae1b5;this[_0x41effb(0x153)]=_0x2433a2==null?void 0x0:_0x2433a2[_0x41effb(0x413)];}));}[_0x437440(0x377)](){const _0x415bdf=_0x437440;let _0x4d9514=_0x3d67c9=>{const _0x13bb3b=_0x30e6;var _0x3f4cf9;this[_0x13bb3b(0x3bc)]('error',_0x13bb3b(0x2b1)+_0x3d67c9['message']+_0x13bb3b(0x21d)+_0x3d67c9[_0x13bb3b(0x30a)]+':'+_0x3d67c9[_0x13bb3b(0x324)]+':'+_0x3d67c9[_0x13bb3b(0x27f)]+'\x0a'+(((_0x3f4cf9=_0x3d67c9[_0x13bb3b(0x196)])==null?void 0x0:_0x3f4cf9[_0x13bb3b(0x15f)])||''));};window[_0x415bdf(0x233)](_0x415bdf(0x196),_0x4d9514),this[_0x415bdf(0x2cb)](()=>{const _0xb64880=_0x415bdf;window[_0xb64880(0x1a0)]('error',_0x4d9514);});}[_0x437440(0x194)](){const _0x2fbfa6=_0x437440;let _0x25f3e2=_0x147c8e=>{const _0x38b46c=_0x30e6;this[_0x38b46c(0x3bc)](_0x38b46c(0x196),_0x38b46c(0x331)+_0x147c8e[_0x38b46c(0x3e5)]);};window[_0x2fbfa6(0x233)]('unhandledrejection',_0x25f3e2),this[_0x2fbfa6(0x2cb)](()=>{const _0x574a38=_0x2fbfa6;window[_0x574a38(0x1a0)]('unhandledrejection',_0x25f3e2);});}['_monkeyPatchLogService'](){const _0x41b6d8=_0x437440;let _0x47ef5e=this[_0x41b6d8(0x393)][_0x41b6d8(0x196)]['bind'](this[_0x41b6d8(0x393)]);this[_0x41b6d8(0x393)][_0x41b6d8(0x196)]=(..._0x5ceb1b)=>{const _0xe182d9=_0x41b6d8;let _0x4dc2ec=_0x5ceb1b[_0xe182d9(0x2c5)](_0x20652a=>_0x20652a instanceof Error?_0x20652a[_0xe182d9(0x2a3)]+'\x0a'+_0x20652a[_0xe182d9(0x15f)]:String(_0x20652a))['join']('\x20');this[_0xe182d9(0x3bc)](_0xe182d9(0x196),_0xe182d9(0x24b)+_0x4dc2ec),_0x47ef5e(..._0x5ceb1b);},this[_0x41b6d8(0x2cb)](()=>{const _0x7fb6a6=_0x41b6d8;this[_0x7fb6a6(0x393)]['error']=_0x47ef5e;});}[_0x437440(0x3bc)](_0x4968fa,_0x22f0b7){const _0x206031=_0x437440;try{let _0x548faa={'userId':this['_memberID'],'logLabel':_0x4968fa,'content':_0x22f0b7};this[_0x206031(0x152)][_0x206031(0x1b3)](_0x206031(0x1c6),{'body':_0x548faa})[_0x206031(0x394)](()=>{});}catch{}}};J=C([S(0x0,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x1,(0x0,n[_0x437440(0x16c)])(d[_0x437440(0x1f6)])),S(0x2,n['ILogService']),S(0x3,(0x0,n[_0x437440(0x16c)])(t[_0x437440(0x369)]))],J);function Ce(_0x2a00b3){const _0x164053=_0x437440;var _0x4d0d5a,_0x39169b;let _0x344b1d=(_0x4d0d5a=_0x2a00b3[_0x164053(0x1d2)])==null?void 0x0:_0x4d0d5a[_0x164053(0x3b1)],_0x2c1072=((_0x39169b=_0x2a00b3[_0x164053(0x1d2)])==null?void 0x0:_0x39169b[_0x164053(0x252)])||0x0;return _0x344b1d===h[_0x164053(0x3f0)]['START_CALCULATION']&&_0x2c1072>0x0;}function we(_0x257dba){const _0x5add01=_0x437440;return _0x257dba[_0x5add01(0x29d)]===h['FormulaExecutedStateType']['SUCCESS'];}let Y=class extends n[_0x437440(0x2d0)]{constructor(_0x52f483,_0xe5424f,_0x28e0b1,_0x103d10,_0x1b41d2,_0x23ad4a,_0xddedf0){const _0x5c7aef=_0x437440;super(),this[_0x5c7aef(0x27b)]=_0x52f483,this['_commandService']=_0xe5424f,this[_0x5c7aef(0x39c)]=_0x28e0b1,this[_0x5c7aef(0x152)]=_0x103d10,this['_univerInstanceService']=_0x1b41d2,this[_0x5c7aef(0x393)]=_0x23ad4a,this[_0x5c7aef(0x398)]=_0xddedf0,x(this,_0x5c7aef(0x3d7),null),x(this,_0x5c7aef(0x1ac),0x0),x(this,_0x5c7aef(0x2eb),0x0),x(this,_0x5c7aef(0x259),[]),x(this,_0x5c7aef(0x2c9),0x0),this[_0x5c7aef(0x17a)]();}[_0x437440(0x17a)](){const _0x1e55dc=_0x437440;this['disposeWithMe'](this[_0x1e55dc(0x3f2)][_0x1e55dc(0x178)]((_0x39544c,_0x19eb30)=>{const _0x4142dc=_0x1e55dc;var _0x808890;if(_0x39544c['id']!==h['SetFormulaCalculationStartMutation']['id'])return;let _0x328c60=_0x39544c[_0x4142dc(0x367)];if(this['_hasFormulaInDirtyRanges']((_0x808890=_0x328c60[_0x4142dc(0x3de)])==null?[]:_0x808890)&&!this[_0x4142dc(0x1be)]())throw this['_checkAndWaitForCalculationPermission'](_0x39544c,_0x19eb30),this[_0x4142dc(0x36e)](),new n[(_0x4142dc(0x2bb))]();})),this[_0x1e55dc(0x2cb)](this[_0x1e55dc(0x3f2)][_0x1e55dc(0x264)]((_0x45dfb4,_0x35943d)=>{const _0x13f955=_0x1e55dc;if(_0x45dfb4['id']!==h[_0x13f955(0x338)]['id'])return;let _0x27c28d=_0x45dfb4['params'];if(Ce(_0x27c28d)){let _0x310774=(0x0,n[_0x13f955(0x400)])();this[_0x13f955(0x259)][_0x13f955(0x3da)](_0x310774),this[_0x13f955(0x33d)](_0x310774);}else{if(we(_0x27c28d)&&this[_0x13f955(0x259)][_0x13f955(0x346)]>0x0){let _0x2fd450=this[_0x13f955(0x259)][_0x13f955(0x30f)]();this[_0x13f955(0x266)](_0x2fd450);}}}));}[_0x437440(0x1c5)](){const _0x125856=_0x437440;super[_0x125856(0x1c5)](),this[_0x125856(0x25e)](),this[_0x125856(0x259)]=[],this[_0x125856(0x2eb)]=0x0,this[_0x125856(0x1ac)]=0x0,this[_0x125856(0x2c9)]=0x0;}async[_0x437440(0x1cd)](_0x4a1886,_0x449db0){const _0x52b748=_0x437440;for(let _0x18ef98=0x0;_0x18ef98<0x1e;_0x18ef98++)try{if(await this[_0x52b748(0x1f4)](),this[_0x52b748(0x1be)]()){this[_0x52b748(0x374)](_0x4a1886,_0x449db0),this[_0x52b748(0x27b)][_0x52b748(0x234)]({'content':this['_localeService']['t'](_0x52b748(0x3fc)),'type':o[_0x52b748(0x3a1)][_0x52b748(0x2c3)]});return;}await new Promise(_0x46ed2a=>{const _0x16d0f8=_0x52b748;this[_0x16d0f8(0x3d7)]=window[_0x16d0f8(0x208)](_0x46ed2a,0x3e8);});}catch(_0x4bf9e2){this['_logService']['error'](_0x4bf9e2);}this[_0x52b748(0x27b)][_0x52b748(0x234)]({'content':this[_0x52b748(0x398)]['t'](_0x52b748(0x40d)),'type':o[_0x52b748(0x3a1)]['Error']});}['_applyCommand'](_0x97e991,_0x24eb5c){const _0x3d049f=_0x437440;try{this[_0x3d049f(0x3f2)][_0x3d049f(0x2da)](_0x97e991['id'],_0x97e991['params'],_0x24eb5c);}catch(_0x62fa87){this[_0x3d049f(0x393)][_0x3d049f(0x196)](_0x62fa87);}}[_0x437440(0x38e)](_0x1620a1,_0x4231bb){const _0x43766f=_0x437440;_0x4231bb<this[_0x43766f(0x2c9)]||(this[_0x43766f(0x2c9)]=_0x4231bb,this[_0x43766f(0x1ac)]=Number['parseInt'](_0x1620a1[_0x43766f(0x1ab)]),this[_0x43766f(0x2eb)]=Number[_0x43766f(0x26c)](_0x1620a1[_0x43766f(0x23f)]));}async[_0x437440(0x33d)](_0x3bb6dc){const _0x5009f3=_0x437440;let _0x128085=Date[_0x5009f3(0x303)]();try{var _0x4fa48a,_0x59e6dd;let _0x41942c=((_0x4fa48a=this['_configService'][_0x5009f3(0x381)](t[_0x5009f3(0x2ca)]))==null?void 0x0:_0x4fa48a[_0x5009f3(0x3a7)])||'/universer-api/license/formula/limit/start',_0x40d697=(await this[_0x5009f3(0x152)][_0x5009f3(0x1b3)](_0x41942c,{'body':JSON[_0x5009f3(0x3ac)]({'taskId':_0x3bb6dc})}))[_0x5009f3(0x283)];if(((_0x59e6dd=_0x40d697[_0x5009f3(0x196)])==null?void 0x0:_0x59e6dd[_0x5009f3(0x2b6)])!==y[_0x5009f3(0x356)]['OK'])return;this[_0x5009f3(0x38e)](_0x40d697[_0x5009f3(0x199)],_0x128085);}catch(_0x451854){this[_0x5009f3(0x393)][_0x5009f3(0x196)](_0x451854);}}async['_getFormulaLimitStatus'](_0x247944){const _0x473a16=_0x437440;let _0x236d2d=Date[_0x473a16(0x303)]();try{var _0x57b8cf,_0x21bbb3;let _0x2a1a0e=((_0x57b8cf=this['_configService']['getConfig'](t[_0x473a16(0x2ca)]))==null?void 0x0:_0x57b8cf[_0x473a16(0x313)])||'/universer-api/license/formula/limit/status',_0x1c30eb=_0x247944?_0x2a1a0e+_0x473a16(0x1fe)+encodeURIComponent(_0x247944):_0x2a1a0e,_0x1c3f0d=(await this[_0x473a16(0x152)][_0x473a16(0x226)](_0x1c30eb))[_0x473a16(0x283)];if(((_0x21bbb3=_0x1c3f0d[_0x473a16(0x196)])==null?void 0x0:_0x21bbb3[_0x473a16(0x2b6)])!==y['ErrorCode']['OK'])return;this[_0x473a16(0x38e)](_0x1c3f0d['limitInfo'],_0x236d2d);}catch(_0x166e16){this[_0x473a16(0x393)][_0x473a16(0x196)](_0x166e16);}}async[_0x437440(0x266)](_0x91f659){const _0x283283=_0x437440;let _0x5b8617=Date[_0x283283(0x303)]();try{var _0x5469c6,_0x4f0964;let _0x1ae7d8=((_0x5469c6=this['_configService']['getConfig'](t[_0x283283(0x2ca)]))==null?void 0x0:_0x5469c6['releaseFormulaLimitUrl'])||_0x283283(0x255),_0x5b4be5=(await this[_0x283283(0x152)]['post'](_0x1ae7d8,{'body':JSON[_0x283283(0x3ac)]({'taskId':_0x91f659})}))['body'];if(((_0x4f0964=_0x5b4be5['error'])==null?void 0x0:_0x4f0964[_0x283283(0x2b6)])!==y[_0x283283(0x356)]['OK'])return;this[_0x283283(0x38e)](_0x5b4be5[_0x283283(0x199)],_0x5b8617);}catch(_0x32d215){this['_logService']['error'](_0x32d215);}}['_checkCalculationAvailable'](){const _0x4a6d16=_0x437440;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4a6d16(0x1ac)]-this[_0x4a6d16(0x2eb)]>0x0;}[_0x437440(0x25e)](){const _0x101986=_0x437440;this[_0x101986(0x3d7)]&&(clearTimeout(this[_0x101986(0x3d7)]),this[_0x101986(0x3d7)]=null);}[_0x437440(0x36e)](){const _0x420dfe=_0x437440;this[_0x420dfe(0x27b)][_0x420dfe(0x234)]({'content':this[_0x420dfe(0x398)]['t'](_0x420dfe(0x305)),'type':o['MessageType']['Loading']});}[_0x437440(0x2a8)](_0x59778c){const _0x476cc2=_0x437440;for(let _0x4c0935 of _0x59778c){let {unitId:_0x54a7fa,sheetId:_0x4612cd,range:_0x4e6e6f}=_0x4c0935,_0x53112b=this['_univerInstanceService'][_0x476cc2(0x1f2)](_0x54a7fa);if(!_0x53112b)continue;let _0x274550=_0x53112b[_0x476cc2(0x1f0)](_0x4612cd);if(!_0x274550)continue;let _0x3763d5=_0x274550[_0x476cc2(0x1e8)]();for(let _0x4f59d2=_0x4e6e6f[_0x476cc2(0x3b8)];_0x4f59d2<=_0x4e6e6f[_0x476cc2(0x1ce)];_0x4f59d2++)for(let _0x4ac7bc=_0x4e6e6f[_0x476cc2(0x350)];_0x4ac7bc<=_0x4e6e6f[_0x476cc2(0x3d5)];_0x4ac7bc++){let _0x22366e=_0x3763d5[_0x476cc2(0x1ee)](_0x4f59d2,_0x4ac7bc);if(_0x22366e&&((0x0,n[_0x476cc2(0x336)])(_0x22366e['f'])||(0x0,n[_0x476cc2(0x330)])(_0x22366e['si'])))return!0x0;}}return!0x1;}};Y=C([S(0x0,(0x0,n['Inject'])(r[_0x437440(0x1f5)])),S(0x1,n[_0x437440(0x310)]),S(0x2,n[_0x437440(0x1a2)]),S(0x3,(0x0,n[_0x437440(0x16c)])(d[_0x437440(0x1f6)])),S(0x4,n[_0x437440(0x22f)]),S(0x5,n['ILogService']),S(0x6,(0x0,n['Inject'])(n[_0x437440(0x2f3)]))],Y);let X=class extends n[_0x437440(0x2d0)]{constructor(_0x144060,_0x19bb2f,_0x41d453){const _0x32e2f7=_0x437440;super(),this[_0x32e2f7(0x39c)]=_0x144060,this[_0x32e2f7(0x27d)]=_0x19bb2f,this[_0x32e2f7(0x1f8)]=_0x41d453,x(this,_0x32e2f7(0x2dd),new Map()),x(this,_0x32e2f7(0x351),new Map()),x(this,_0x32e2f7(0x156),!0x1);}['disableLocalCache'](){const _0x3d7434=_0x437440;this[_0x3d7434(0x156)]=!0x0;}['enableLocalCache'](){const _0x151074=_0x437440;this[_0x151074(0x156)]=!0x1;}get[_0x437440(0x1eb)](){return this['_saveTaskMap'];}[_0x437440(0x1c5)](){const _0x57c76c=_0x437440;this[_0x57c76c(0x1f1)]()['then'](()=>super[_0x57c76c(0x1c5)]());}async['loadOfflineData'](_0x2db5da){const _0x591e7d=_0x437440;return this[_0x591e7d(0x156)]?null:this[_0x591e7d(0x27d)][_0x591e7d(0x2c1)]((0x0,t[_0x591e7d(0x347)])(_0x2db5da));}async['saveOfflineData'](_0x3a25c4,_0x8ba07){const _0x587f20=_0x437440;return!!this['_localStorageService'][_0x587f20(0x189)]((0x0,t[_0x587f20(0x347)])(_0x3a25c4),_0x8ba07);}async[_0x437440(0x186)](_0x417e4a,_0x3af20b){const _0x31584d=_0x437440;var _0x4bf017;let _0x42ad1a=(_0x4bf017=this[_0x31584d(0x2dd)]['get'](_0x417e4a))==null?await this['_localStorageService'][_0x31584d(0x2c1)]((0x0,t[_0x31584d(0x347)])(_0x417e4a)):_0x4bf017;if(!_0x42ad1a)return;let _0x4f6791=Date[_0x31584d(0x303)](),_0x1f59a7=new Date(_0x4f6791)[_0x31584d(0x1ca)]();await this[_0x31584d(0x27d)]['setItem']((0x0,t[_0x31584d(0x347)])(_0x417e4a)+_0x31584d(0x17b)+_0x4f6791,{'reason':_0x3af20b,'createdAt':_0x1f59a7,'data':_0x42ad1a});}[_0x437440(0x383)](_0x27af29,_0x131a01,_0x477b04,_0x24f42d){const _0x20eb46=_0x437440;let _0x54af9d=this[_0x20eb46(0x1f8)]['getCurrentRevOfUnit'](_0x27af29);this[_0x20eb46(0x2dd)]['set'](_0x27af29,{'unitID':_0x27af29,'type':_0x131a01,'awaitingChangeset':_0x477b04,'mutations':_0x24f42d,'rev':_0x54af9d}),this[_0x20eb46(0x351)][_0x20eb46(0x15d)](_0x27af29)||this['_scheduleSaving'](_0x27af29);}['_scheduleSaving'](_0x1dc429){const _0x4fe5d9=_0x437440;let _0x3a122a=this[_0x4fe5d9(0x37d)]();_0x3a122a===0x0?this[_0x4fe5d9(0x147)](_0x1dc429):this[_0x4fe5d9(0x351)][_0x4fe5d9(0x18b)](_0x1dc429,window[_0x4fe5d9(0x208)](()=>this[_0x4fe5d9(0x147)](_0x1dc429),_0x3a122a));}['_getSaveTimeout'](){const _0x24d361=_0x437440;var _0xac37e7;return(_0xac37e7=this[_0x24d361(0x39c)][_0x24d361(0x381)](t[_0x24d361(0x271)]))==null?t[_0x24d361(0x40b)]:_0xac37e7;}[_0x437440(0x147)](_0x416c1f){const _0x5f104b=_0x437440;let _0x45b9d2=this[_0x5f104b(0x351)][_0x5f104b(0x226)](_0x416c1f);return _0x45b9d2!==void 0x0&&window[_0x5f104b(0x28d)](_0x45b9d2),this['_localStorageService']['setItem']((0x0,t[_0x5f104b(0x347)])(_0x416c1f),this[_0x5f104b(0x2dd)][_0x5f104b(0x226)](_0x416c1f))['then'](()=>this['_saveTaskMap'][_0x5f104b(0x244)](_0x416c1f));}async[_0x437440(0x1f1)](){const _0x20b9df=_0x437440;let _0x37e222=[];this[_0x20b9df(0x351)]['forEach']((_0xe88105,_0x280bef)=>{const _0xa34734=_0x20b9df;window[_0xa34734(0x28d)](_0xe88105),_0x37e222[_0xa34734(0x3da)](this[_0xa34734(0x147)](_0x280bef)[_0xa34734(0x1e7)](()=>{const _0x1e8943=_0xa34734;this[_0x1e8943(0x351)][_0x1e8943(0x244)](_0x280bef);}));}),await Promise[_0x20b9df(0x1ea)](_0x37e222);}};X=C([S(0x0,n[_0x437440(0x1a2)]),S(0x1,n[_0x437440(0x382)]),S(0x2,(0x0,n[_0x437440(0x16c)])(p[_0x437440(0x3db)]))],X);var Te=class extends n[_0x437440(0x157)]{constructor(){const _0x4a9709=_0x437440;super(),x(this,_0x4a9709(0x210),void 0x0),this[_0x4a9709(0x210)]=(0x0,i[_0x4a9709(0x38d)])(window,_0x4a9709(0x385))[_0x4a9709(0x1a8)]((0x0,i[_0x4a9709(0x316)])(this['dispose$']),(0x0,i['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,i[_0x4a9709(0x2a7)])(void 0x0));}[_0x437440(0x309)](_0x4d4c5e,_0x2421b3,_0x5bae94=!0x1){const _0x3304b3=_0x437440;let _0x2b8b25=new URL(window['location'][_0x3304b3(0x2d5)]);_0x2b8b25[_0x3304b3(0x1de)][_0x3304b3(0x18b)](_0x4d4c5e,_0x2421b3),_0x5bae94?window['history'][_0x3304b3(0x276)]('','',_0x2b8b25['toString']()):window[_0x3304b3(0x3b7)]['pushState']('','',_0x2b8b25['toString']());}[_0x437440(0x3cc)](_0x288ebf,_0xfca97a=!0x1){const _0x38efcf=_0x437440;let _0x2665b0=new URL(window[_0x38efcf(0x3b0)][_0x38efcf(0x2d5)]);_0x2665b0[_0x38efcf(0x1de)]['delete'](_0x288ebf),_0xfca97a?window[_0x38efcf(0x3b7)][_0x38efcf(0x276)]('','',_0x2665b0[_0x38efcf(0x1cf)]()):window[_0x38efcf(0x3b7)]['pushState']('','',_0x2665b0['toString']());}[_0x437440(0x24c)](_0x19484e){const _0x68e17b=_0x437440;var _0x195e05;return(_0x195e05=new URL(window['location']['href'])['searchParams'][_0x68e17b(0x226)](_0x19484e))==null?void 0x0:_0x195e05;}};let Z=class extends n[_0x437440(0x354)]{constructor(_0x2deeb3=ue,_0x2a95b0,_0xe9ab30,_0x2aa8f5){const _0x31b241=_0x437440;super(),this[_0x31b241(0x281)]=_0x2deeb3,this[_0x31b241(0x414)]=_0x2a95b0,this[_0x31b241(0x323)]=_0xe9ab30,this[_0x31b241(0x39c)]=_0x2aa8f5;let {..._0x21f610}=(0x0,n[_0x31b241(0x2b5)])({},ue,this[_0x31b241(0x281)]);this['_configService']['setConfig']('collaboration-client-ui.config',_0x21f610);}[_0x437440(0x15b)](){const _0x4f0053=_0x437440;this[_0x4f0053(0x227)](),this['_initDependencies']();}['onRendered'](){const _0x3c20e7=_0x437440;this[_0x3c20e7(0x38a)]();}[_0x437440(0x227)](){const _0x56bf41=_0x437440;var _0x31625d;let _0x5d33cc=[[k],[Y],[H,{'useClass':Te}],[d['ISocketService'],{'useClass':d[_0x56bf41(0x169)]}],[t['ILocalCacheService'],{'useClass':X}],[w],[T],[V],[F],[U]];this[_0x56bf41(0x281)][_0x56bf41(0x2c6)]!==!0x1&&_0x5d33cc[_0x56bf41(0x3da)]([K],[W],[G],[j],[q],[E]),this['_config'][_0x56bf41(0x2e6)]&&_0x5d33cc[_0x56bf41(0x3da)]([J]),(0x0,n[_0x56bf41(0x201)])(this[_0x56bf41(0x323)],(0x0,n[_0x56bf41(0x20c)])(_0x5d33cc,(_0x31625d=this['_config'])==null?void 0x0:_0x31625d[_0x56bf41(0x1f9)]));}[_0x437440(0x38a)](){const _0x24b7df=_0x437440;this[_0x24b7df(0x281)]['enableDocumentCollaborationUI']!==!0x1&&this[_0x24b7df(0x2cb)](this[_0x24b7df(0x414)][_0x24b7df(0x3bb)](n[_0x24b7df(0x24a)]['UNIVER_DOC'],[R])),this['disposeWithMe'](this[_0x24b7df(0x414)][_0x24b7df(0x3bb)](n[_0x24b7df(0x24a)][_0x24b7df(0x29a)],[z])),this[_0x24b7df(0x2cb)](this[_0x24b7df(0x414)][_0x24b7df(0x3bb)](n['UniverInstanceType'][_0x24b7df(0x335)],[B])),this[_0x24b7df(0x2cb)](this[_0x24b7df(0x414)][_0x24b7df(0x3bb)](n[_0x24b7df(0x24a)][_0x24b7df(0x2dc)],[I]));}[_0x437440(0x399)](){const _0x4ab8bf=_0x437440;(0x0,n[_0x4ab8bf(0x19d)])(this[_0x4ab8bf(0x323)],[[F],[w],[T],[V],[U],[Y]]),this[_0x4ab8bf(0x281)][_0x4ab8bf(0x2c6)]!==!0x1&&(0x0,n[_0x4ab8bf(0x19d)])(this[_0x4ab8bf(0x323)],[[q],[E]]),this['_config'][_0x4ab8bf(0x2e6)]&&(0x0,n[_0x4ab8bf(0x19d)])(this[_0x4ab8bf(0x323)],[[J]]);}};x(Z,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),x(Z,_0x437440(0x170),ce),x(Z,'version',le),Z=C([(0x0,n[_0x437440(0x235)])(t['UniverCollaborationClientPlugin']),S(0x1,u['IRenderManagerService']),S(0x2,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x3,n[_0x437440(0x1a2)])],Z);function _0x184f(){const _0x2abbe4=['startsWith','Shape','fromEvent','_setFormulaLimitStatus','getCoordByCell','theme$','_refreshCollabCursors','collaboration-client-ui.collabClient.tooltip.reconnect','_logService','catch','getCurrentSkeleton','focusedId','Unknown\x20user','_localeService','_initDependencies','slide-element-selection','getMemberID','_configService','_labelHorizontalPosition','CONFLICT','BOARD_TOP_RIGHT_MENU_LEADING_PART','complete','MessageType','yellow.400','setAlpha','black','getActiveRange','EffectRefRangId','startFormulaLimitUrl','_name','undoState','isArray','isTransformMutationFailure','stringify','_createSocketURL','_beforeCloseService','_cursorShapes','location','stage','entityInit$','redoState','debounce','_docTransformStateCacheService','_hideTimer','history','startRow','Rect','DisposableCollection','registerRenderModule','_uploadLog','_session','contains','_unitOnClients','toDisposable','setUndoRedoMutationParamsCache','evented','pulse','indicator','_stopBlinking','_scheduleRender','fillText','rgb','triggerDblclick','m2Prime','distinctUntilChanged','removeParam','_docSkeletonManagerService','DocStateChangeManagerService','_blinkIntervalTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','asObservable','getStateCache','loadUnit','_draw','endColumn','angle','_pollingInterval','createSocket','_isApplyingOverlays','push','RevisionService','registerRefRange','find','dirtyRanges','RichTextEditingMutation','Failed','clickable','sessionStatus$','_pointerMoveDisposable','application/json','reason','_getSheetObject','getUniverSheetInstance','Warning','_updateCollabCursors','string','_hover','getFocusedUnit','removeObjects','setOffsetY','univer-appearance-none','FormulaExecuteStageType','resize','_commandService','getCurrentUnitOfType','addClipboardHook','span','_initEvent','getMember','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','InsertRangeMoveDownCommandId','_cursors','_range','collaboration-client-ui.formula.calculation.started','_send','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','generateRandomId','_syncEditingCollabCursorService','BuiltInUIPart','deserializeRangeWithSheet','color','replaceDocRanges','getRenderById','_renderScheduled','roomMembers$','handleDeleteRangeMoveLeft','fromEventSubject','LOCAL_CACHE_INTERVAL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collaboration-client-ui.formula.calculation.unable','_showText','rgba(255,\x20255,\x20255,\x200.01)','toRgbString','OTHER_CLIENTS_EDITING','_id','memberID','_renderManagerService','object','CollaborationController','_backgroundColor','FETCH_MISS','with','collaboration-client-ui.collaboration.single-unit.warning','jsx','_doCreateSocket','context','_saveCache','SheetsSelectionsService','key','_drawTextRange','_initEntityListener','ThemeService','_unitStatus','offsetY','board-element-selection','handleDeleteRangeMoveUp','uni.network.url-service','_httpService','_memberID','_onCursorUpdate','font','_disabled','RxDisposable','getColor','name','_toggleOffline','onStarting','status','has','setShapeProps','stack','transformStateCache','getUnitId','spin','setInterval','findNodePositionByCharIndex','_docTransformSelectionsService','ticket','from','INotificationService','WebSocketService','defineProperty','function','Inject','clearInterval','cursorInfo','assignAColorForMemberID','packageName','collaboration-client-ui.permission.content','_drawRectRange','_hovered','getCollabEntity$','useMemo','_context','BrowserCollaborationSocketService','beforeCommandExecuted','_highlightSecond','_initCommandInterceptor',':backup:','serializeRangeWithSheet','arc','_sheetSkeletonManagerService','transformIMECache','collaboration-client-ui.collabStatus.conflict','RegularPolygon','HEADER_MENU','_status$','unshift','default','backupOfflineData','sheetID','onPointerLeave$','setItem','getSnapshot','set','fill','DocIMEInputManagerService','/run/','_heartbeatTimer','OffLineIcon','_online','TEXT_RANGE_LAYER_INDEX','tooltipKey','_initUnhandledRejectionListener','hide','error','some','true','limitInfo','DeleteRangeMoveUpCommandId','_initUserListener','_initStatusComponent','touchDependencies','10GTkeoz','drawWith','removeEventListener','unitId','IConfigService','constructor','SOCKET_FAILED_RETRY','CollaborationUIEventService','handleMoveRange','CLOSE_ROOM','pipe','RECT','_collabCursorState$','maxFormulaLimit','_maxFormulaLimit','replace','backgroundColor','collab-rect-range-','button','moveTo','collaboration-client-ui.session.will-retry','post','handleInsertRow','transformMutationsWithChangeset','setStateCache','_onRefRangeChange','_initStatusListener','_onCursorDelete','univer-flex\x20univer-items-center\x20univer-justify-center','_docSkeleton','addObject$','pageManager','_checkCalculationAvailable','origin','_transformUndoRedoStack','flatMap','_localCacheService','onPointerMove$','_scene','dispose','/universer-api/frontend/logs','PENDING','hovered','lineTo','toISOString','getTypeOfUnitAdded$','runOnServer','_checkAndWaitForCalculationPermission','endRow','toString','VIEW_MAIN','_collaborationController','stageInfo','getOffsetConfig','subscribe','_updateURLWithCurrentState','strokeWidth','_transformHistoryAndStateStack','getUnhiddenWorksheets','Rectangle','SetTextSelectionsOperation','call','_entities','isInternalEditorID','searchParams','isActive','_instanceService','OTHER_CLIENT_EDITING','IURLService','univer-text-green-500','UnitStatus','isTransformMutationsWithChangesetSuccess','i18nKey','then','getCellMatrix','combineLatest','all','saveTaskMap','createInstance','_memberService','getValue','colorClass','getSheetBySheetId','exhaustSavingTask','getUnit','_docTransformIMECacheService','_getFormulaLimitStatus','IMessageService','HTTPService','_cursorInfo$','_revisionService','override','collaboration-client-ui.collabStatus.syncing','text','DEFAULT_WS_SESSION_TICKET_URL','DOC_RANGE_TYPE','?taskId=','SheetSkeletonManagerService','ONLINE','registerDependencies','UniverCollaborationClientUIPlugin','m1Prime','clear','focused$','sheetId','RefRangeService','setTimeout','_uiPartsService','polite','univer-text-orange-500','mergeOverrideWithDependencies','_refRangeService','executionId','dispose$','urlChange$','...','9621623csctGh','_getSessionTicket','roomMembers','_urlService','_startDocCollabCursor','Injector','getVpScrollXYInfoByPosToVp','unsubscribe','top','mutations','transformSelections','\x20at\x20','InsertColCommandId','CollaborationEvent','_shapes','_startBlinking','1.0.0-alpha.3','transformRemoteChangeset','makeDirty','getMergeData','get','_registerDependencies','_collaborationUIEventService','NOT_COLLAB','1533159vZqVWb','symbol','_colorIndex','getActivePageId','textRanges','IUniverInstanceService','storage','getBoardElementRenderObjectKey','DesktopCollaborationStatusDisplayController','addEventListener','show','DependentOn','_getAnchorBounding','useDependency','getAncestorScale','collab-text-range-','MemberService','_handleEvent','_updateLocalCursor','imageSourceType','_docClipboardService','currentUsage','socket$','Vector2','doc.mutation.rich-text-editing','add','delete','max','_roomMembers$','getUnitStatus$','wsSessionTicketUrl','handleIRemoveRow','UniverInstanceType','[LogService\x20Error]:\x20','getParam','subscribeEvent','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','slide-collab-cursor-','1pRuMrZ','totalFormulasToCalculate','handleInsertRangeMoveRight','runRefRangeMutations','/universer-api/license/formula/limit/done','_lastPointer','transform','getSheetObject','_taskIds','Error','whenReady','useCallback','_setupBeforeClosingHandler','_clearPolling','SYNCED','_startSlideCollabCursor','debounceTime','ColorKit','_removeCollabCursors','onCommandExecuted','SheetCollabCursorShape','_releaseCalculationLimit','onMouseMove','_transformPreviousActiveRange','_initResize','\x20-\x20','_getScale','parseInt','TEXT','connectInjector','_slideDrawingStateService','disposeUnit','LOCAL_CACHE_INTERVAL_KEY','save','rgba(','selectedIds','_setupSubUnitSync','replaceState','filter','WebBrowserSingleActiveUnitService','right','_handleLeaveEvent','_messageService','runId','_localStorageService','toPrimitive','colno','lineWidth','_config','debug','body','min','strokeStyle','currentSkeleton$','kind','subunit','activeSheet$','IDocClipboardService','_toggleOnline','_drawAnchor','clearTimeout','Module','8KrbOkU','_anchorDot','column','restore','getRangePointData','JOIN_ROOM_FAILED','ITransformService','COLORS','_collaborationSessionService','getCellPositionByOffset','_getSceneObjectByKey','UNIVER_SHEET','static','AWAITING','functionsExecutedState','_dataLoaderService','sessionTicket','_highlight','getCurrentSelections','size','message','getActiveSheet','data','univer-border-none\x20univer-bg-transparent','mapTo','_hasFormulaInDirtyRanges','handleInsertRangeMoveDown','fillStyle','4443936NUnnsl','forEach','collaboration-client-ui.session.connection-failed','getId','ACTIVE_UNIT_EVENT_CHANNEL','width','[Window\x20Error]:\x20','resolve','getCurrentTypeOfUnit$','saveImage','merge','code','unitID','_entityInit$','removeObject','labelHorizontalPosition','CanceledError','1803092cOnsui','univer-m-0\x20univer-p-0','includes','_startSheetCollabCursor','CollaborationUIEventId','getItem','eventID','Success','event$','map','enableDocumentCollaborationUI','_scheduleClearOtherTimer','search','_lastResponseTimestamp','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','disposeWithMe','_render','onTransformChange$','_assignedColors','switchMap','Disposable','collabCursorState$','measureText','selection','getObject','href','split','engine','invokeId','collaboration-client-ui.conflict.content','executeCommand','SetWorksheetActivateCommand','UNIVER_BOARD','_cachedData','addObject','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','left','DocSelectionManagerService','OFFLINE','status$','labelPosition','bottom','enableFrontendLog','IRemoteInstanceService','BehaviorSubject','NO_OTHER_CLIENTS_EDITING','_handleHeartbeatEvent','_currentUsage','NodePositionConvertToRectRange','_textBubble','next','UNIVER_DOC','_scheduleHeartbeat','getColorFromTheme','clsx','LocaleService','_initCommandExecutedListener','range','icon','addHandlerCallback','6321777vUKPwG','blue.400','deepClone','state$','_collabSessionService','IBeforeCloseService','Tools','univer-text-blue-500','values','_getLighterColor','_getObjectBounds','now','InsertRangeMoveRightCommandId','collaboration-client-ui.formula.calculation.waiting','ILogService','_isBlinkVisible',',\x200.2)','setParam','filename','prototype','send','getRealBound','_collabCursorController','shift','ICommandService','LoadingMultiIcon','_transformService','getFormulaLimitStatusUrl','_selfUnitIDs','3276303ZqCBWh','takeUntil','_clearOtherTimers','result','_colorAssignService','setLineDash','reconnect','_labelPosition','green.600','_startBoardCollabCursor','DeleteRangeMoveLeftCommandId','requireSession','USERS_LEAVE','getSkeleton','_injector','lineno','useObservable','Optional','_docStateChangeManagerService','_blinkTimer','_init','#FFF','addObjects','FromArray','Tooltip','_themeService','slice','isFormulaId','[Unhandled\x20Rejection]:\x20','cursorInfo$','getAllUnitsForType','190584EOTcBP','UNIVER_SLIDE','isFormulaString','_boardElementStateService','SetFormulaCalculationNotificationMutation','scene','_notificationService','@univerjs-pro/collaboration-client-ui','getSheetId','_startCalculationLimit','syncEditingCollabCursor','getDocRanges','IUIPartsService','collaboration-client-ui.collaboration.offline-data-not-saved','_color','currentTheme$','registerBeforeClose','UPDATE_CURSOR','length','getLocalCacheKey','AWAITING_WITH_PENDING','type','OnLineIcon','MoveRangeCommandId','getObjectIncludeInGroup','getCollabCursors$','InsertRowCommandId','SessionStatus','startColumn','_saveTaskMap','decorate','handleIRemoveCol','Plugin','_updateSubUnitFromURLParams','ErrorCode','_handleJoinEvent','registerComponent','ranges','_docSyncEditingCollabCursorService','getUndoRedoMutationParamsCache','_anchor','IBoardElementStateService','jiqing.500','closePath','parse','CollaborationStatus','height','Workbook','subUnitId','transformMutation','_latestCursors','params','highlightSecond','CollaborationSessionService','univer-text-red-500','purple.300','_offsetY','_ensureSubject','_showGuardMessage','row','univer-transition-all\x20univer-duration-200','univer-inline-flex\x20univer-items-center\x20univer-justify-center','DocCollaborationEntity','_getMergeRange','_applyCommand','newValue','[CollaborationDataLoaderController]','_initWindowErrorListener','init','onPointerEnter$','_monkeyPatchLogService','_removeClearOtherTimer','collaboration-client-ui.permission.title','_getSaveTimeout','univer-h-8\x20univer-w-8\x20univer-rounded-lg','120QMCeTy','CollaborationSocketService','getConfig','ILocalStorageService','updateOfflineData','_document','popstate','unit','showText','ILocalCacheService','iterator','_registerRenderDependencies'];_0x184f=function(){return _0x2abbe4;};return _0x184f();}let Q=class extends t[_0x437440(0x380)]{constructor(_0x1b150a,_0x474f3b,_0x50c9a0,_0x25be98,_0x4a3278){super(_0x1b150a,_0x474f3b,_0x50c9a0,_0x25be98,_0x4a3278);}async[_0x437440(0x3d8)](_0x9d65ce){const _0xa94320=_0x437440;let _0x50dbd6=await this[_0xa94320(0x213)](),_0x1c83cb=this[_0xa94320(0x3ad)](_0x9d65ce,_0x50dbd6);return this[_0xa94320(0x41c)](_0x1c83cb);}['_createSocketURL'](_0x2b1859,_0x3e9aae){const _0x103309=_0x437440;let _0x26c124=typeof window>'u'?new URL(_0x2b1859):new URL(_0x2b1859,window[_0x103309(0x3b0)][_0x103309(0x1bf)]);_0x26c124[_0x103309(0x1de)]['set'](_0x103309(0x29f),_0x3e9aae);let _0x16238d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x103309(0x2c8)]);return _0x16238d[_0x103309(0x226)](_0x103309(0x27c))&&_0x26c124[_0x103309(0x1de)][_0x103309(0x18b)](_0x103309(0x27c),_0x16238d['get']('runId')),_0x26c124[_0x103309(0x1cf)]();}async[_0x437440(0x213)](){const _0x10d2ed=_0x437440;var _0x4f7686,_0x794db7,_0x587d8d;let _0x1a6380=this['_configService']['getConfig'](t[_0x10d2ed(0x2ca)]),_0x1e9954=(_0x4f7686=_0x1a6380==null?void 0x0:_0x1a6380[_0x10d2ed(0x248)])==null?t[_0x10d2ed(0x1fc)]:_0x4f7686;return(_0x794db7=(_0x587d8d=(await this['_httpService'][_0x10d2ed(0x226)](_0x1e9954,{'headers':{'Content-Type':_0x10d2ed(0x3e4)}}))[_0x10d2ed(0x283)])==null?void 0x0:_0x587d8d[_0x10d2ed(0x166)])==null?'':_0x794db7;}};Q=C([S(0x0,(0x0,n[_0x437440(0x16c)])(n[_0x437440(0x217)])),S(0x1,(0x0,n[_0x437440(0x16c)])(d['HTTPService'])),S(0x2,n[_0x437440(0x1a2)]),S(0x3,n[_0x437440(0x306)]),S(0x4,p['ISnapshotServerService'])],Q);let $=class extends n[_0x437440(0x2d0)]{constructor(_0x32d731,_0x2d720f,_0x4ccd87){const _0x1b7aa0=_0x437440;super(),this['_instanceService']=_0x32d731,this[_0x1b7aa0(0x152)]=_0x2d720f,this[_0x1b7aa0(0x39c)]=_0x4ccd87;}async[_0x437440(0x1cc)](_0x24fbfa,_0x6db750,_0x55e311,..._0x22272a){const _0x5891bd=_0x437440;var _0x5456c0,_0x2e1a83,_0x3167f9,_0x5060b1;let _0x5a812a=this[_0x5891bd(0x1e0)][_0x5891bd(0x3ec)]();if(!_0x5a812a)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x370531=((_0x5456c0=this[_0x5891bd(0x39c)][_0x5891bd(0x381)](t[_0x5891bd(0x3f8)]))==null?t['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x5456c0)+'/'+_0x24fbfa+_0x5891bd(0x18e)+_0x6db750,_0x3bcbf9={'scriptId':_0x24fbfa,'runId':(_0x2e1a83=new URL(window[_0x5891bd(0x3b0)][_0x5891bd(0x2d5)])[_0x5891bd(0x1de)][_0x5891bd(0x226)](_0x5891bd(0x27c)))==null?'':_0x2e1a83,'function':_0x6db750,'unitId':_0x5a812a['getUnitId'](),'argsOfFunction':JSON[_0x5891bd(0x3ac)](_0x22272a),'invokeId':(_0x3167f9=_0x55e311[_0x5891bd(0x2d8)])==null?'':_0x3167f9,'executionId':(_0x5060b1=_0x55e311[_0x5891bd(0x20e)])==null?'':_0x5060b1};try{let _0x852c09=await this[_0x5891bd(0x152)][_0x5891bd(0x1b3)](_0x370531,{'body':_0x3bcbf9});return _0x852c09[_0x5891bd(0x283)][_0x5891bd(0x196)]&&_0x852c09[_0x5891bd(0x283)]['error'][_0x5891bd(0x2b6)]!==y[_0x5891bd(0x356)]['OK']?_0x5891bd(0x3e0):_0x852c09[_0x5891bd(0x283)][_0x5891bd(0x318)];}catch{return _0x5891bd(0x3e0);}}};$=C([S(0x0,n[_0x437440(0x22f)]),S(0x1,(0x0,n[_0x437440(0x16c)])(d[_0x437440(0x1f6)])),S(0x2,n[_0x437440(0x1a2)])],$);const Ee=0x7530,De=_0x437440(0x2af);var Oe=class extends n[_0x437440(0x2d0)]{constructor(){const _0x498c95=_0x437440;super(),x(this,_0x498c95(0x412),(0x0,n[_0x498c95(0x400)])()),x(this,'_selfUnitIDs',new Set()),x(this,_0x498c95(0x3bf),new Map()),x(this,'_heartbeatTimer',null),x(this,_0x498c95(0x317),new Map()),x(this,_0x498c95(0x14d),new Map()),this[_0x498c95(0x329)]();}[_0x437440(0x1c5)](){const _0x3b54b8=_0x437440;super[_0x3b54b8(0x1c5)](),this[_0x3b54b8(0x317)][_0x3b54b8(0x2ac)]((_0x531790,_0x6f3c7)=>this[_0x3b54b8(0x37b)](_0x6f3c7)),this[_0x3b54b8(0x18f)]&&window[_0x3b54b8(0x16d)](this[_0x3b54b8(0x18f)]);}[_0x437440(0x247)](_0x2d0709){const _0x708a0d=_0x437440;return this[_0x708a0d(0x36d)](_0x2d0709)['pipe']((0x0,i[_0x708a0d(0x3cb)])());}['editingUnit'](_0x1a45f0){const _0x523395=_0x437440;this[_0x523395(0x314)]['size']===0x0&&this[_0x523395(0x2f0)](),this[_0x523395(0x314)][_0x523395(0x243)](_0x1a45f0),this[_0x523395(0x3fd)]({'type':0x0,'memberID':this[_0x523395(0x412)],'unitIDs':[_0x1a45f0],'isForwarded':!0x1});}[_0x437440(0x270)](_0x40ad1d){const _0x47cb7a=_0x437440;this[_0x47cb7a(0x314)][_0x47cb7a(0x244)](_0x40ad1d),this[_0x47cb7a(0x314)][_0x47cb7a(0x2a2)]===0x0&&this[_0x47cb7a(0x18f)]&&window[_0x47cb7a(0x16d)](this['_heartbeatTimer']);}[_0x437440(0x329)](){const _0x188525=_0x437440;this[_0x188525(0x2cb)]((0x0,n[_0x188525(0x3c0)])((0x0,i[_0x188525(0x38d)])(window,_0x188525(0x230))[_0x188525(0x1d4)](_0x17e54e=>{const _0x5b70f8=_0x188525;if(_0x17e54e['key']!==De||!_0x17e54e['newValue'])return;let _0x3af656=JSON[_0x5b70f8(0x360)](_0x17e54e[_0x5b70f8(0x375)]);this[_0x5b70f8(0x23b)](_0x3af656);}))),window[_0x188525(0x233)]('unload',()=>this[_0x188525(0x3fd)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x188525(0x314)])}));}['_handleEvent'](_0x5ed6b3){const _0xbeb0b1=_0x437440;switch(_0x5ed6b3[_0xbeb0b1(0x349)]){case 0x0:this[_0xbeb0b1(0x357)](_0x5ed6b3);break;case 0x1:this[_0xbeb0b1(0x27a)](_0x5ed6b3);break;case 0x2:this[_0xbeb0b1(0x2ea)](_0x5ed6b3);break;}}['_handleJoinEvent'](_0x3e1f90){const _0xe5ce85=_0x437440;let {unitIDs:_0x4c5443,memberID:_0x5830d2,isForwarded:_0x180810}=_0x3e1f90;_0x4c5443['forEach'](_0x2ee68a=>{const _0x53c4e9=_0x30e6;if(!_0x180810&&this['_unitOnClients'][_0x53c4e9(0x15d)](_0x2ee68a)&&this[_0x53c4e9(0x36d)](_0x2ee68a)[_0x53c4e9(0x2ee)](t[_0x53c4e9(0x1e4)][_0x53c4e9(0x411)]),!this['_unitOnClients']['has'](_0x2ee68a)||!this[_0x53c4e9(0x3bf)][_0x53c4e9(0x226)](_0x2ee68a)[_0x53c4e9(0x15d)](_0x5830d2)){let _0x3521dc=this['_unitOnClients'][_0x53c4e9(0x226)](_0x2ee68a)||new Set();_0x3521dc[_0x53c4e9(0x243)](_0x5830d2),this[_0x53c4e9(0x3bf)][_0x53c4e9(0x18b)](_0x2ee68a,_0x3521dc),this[_0x53c4e9(0x2c7)](_0x5830d2);}}),_0x180810||this[_0xe5ce85(0x3fd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x437440(0x2c7)](_0x2553c7){const _0x194de0=_0x437440;this['_removeClearOtherTimer'](_0x2553c7);let _0x14768d=window[_0x194de0(0x208)](()=>{const _0x574191=_0x194de0;this[_0x574191(0x3bf)][_0x574191(0x2ac)](_0x110faf=>{const _0x36a517=_0x574191;_0x110faf[_0x36a517(0x244)](_0x2553c7);});},Ee*0x2);this[_0x194de0(0x317)][_0x194de0(0x18b)](_0x2553c7,_0x14768d);}[_0x437440(0x37b)](_0x1dd95b){const _0x1fd2f7=_0x437440;if(this['_clearOtherTimers'][_0x1fd2f7(0x15d)](_0x1dd95b)){let _0x3c5b4e=this[_0x1fd2f7(0x317)]['get'](_0x1dd95b);_0x3c5b4e&&window[_0x1fd2f7(0x28d)](_0x3c5b4e),this[_0x1fd2f7(0x317)]['set'](_0x1dd95b,null);}}[_0x437440(0x27a)](_0x402b8d){const _0x5c4cdf=_0x437440;let {memberID:_0x5b8660,unitIDs:_0x238c74}=_0x402b8d;_0x238c74['forEach'](_0x52869e=>{const _0x12b474=_0x30e6;var _0x1e9f02;let _0x418e15=this['_unitOnClients']['get'](_0x52869e);_0x418e15&&(_0x418e15[_0x12b474(0x244)](_0x5b8660),(_0x1e9f02=this['_ensureSubject'](_0x52869e))==null||_0x1e9f02[_0x12b474(0x2ee)](_0x418e15[_0x12b474(0x2a2)]===0x0?t[_0x12b474(0x1e4)][_0x12b474(0x2e9)]:t[_0x12b474(0x1e4)][_0x12b474(0x411)]));}),this[_0x5c4cdf(0x37b)](_0x5b8660);}[_0x437440(0x2ea)](_0x469894){const _0x5c6a3e=_0x437440;this[_0x5c6a3e(0x2c7)](_0x469894['memberID']);}[_0x437440(0x3fd)](_0x2d73d6){const _0x3cd7dc=_0x437440;localStorage[_0x3cd7dc(0x189)](De,JSON[_0x3cd7dc(0x3ac)](_0x2d73d6));}[_0x437440(0x2f0)](){const _0x3e4810=_0x437440;this[_0x3e4810(0x18f)]=window[_0x3e4810(0x163)](()=>{const _0x57bbd1=_0x3e4810;this[_0x57bbd1(0x3fd)]({'type':0x2,'memberID':this['_id']});},Ee);}[_0x437440(0x36d)](_0x93dbc1){const _0x3ae231=_0x437440;return this[_0x3ae231(0x14d)][_0x3ae231(0x15d)](_0x93dbc1)||this[_0x3ae231(0x14d)][_0x3ae231(0x18b)](_0x93dbc1,new i[(_0x3ae231(0x2e8))](t['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x3ae231(0x14d)][_0x3ae231(0x226)](_0x93dbc1);}};Object['defineProperty'](exports,_0x437440(0x177),{'enumerable':!0x0,'get':function(){return Q;}}),Object['defineProperty'](exports,_0x437440(0x232),{'enumerable':!0x0,'get':function(){return w;}}),exports[_0x437440(0x1e2)]=H,Object['defineProperty'](exports,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x437440(0x265)]=xe,Object[_0x437440(0x16a)](exports,_0x437440(0x202),{'enumerable':!0x0,'get':function(){return Z;}}),exports[_0x437440(0x278)]=Oe;
|