@univerjs-pro/collaboration-client-ui 0.10.2-nightly.202508080617 → 0.10.3-experimental.20250812-b4b6f1a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x6e2a(_0x43a791,_0x5af8b8){const _0x434d5a=_0x434d();return _0x6e2a=function(_0x6e2a6d,_0x186a4a){_0x6e2a6d=_0x6e2a6d-0xf7;let _0x4b67cc=_0x434d5a[_0x6e2a6d];return _0x4b67cc;},_0x6e2a(_0x43a791,_0x5af8b8);}(function(_0x54edd1,_0x2fa831){const _0x2da7b5=_0x6e2a,_0x33300b=_0x54edd1();while(!![]){try{const _0x29a6c6=parseInt(_0x2da7b5(0x381))/0x1+-parseInt(_0x2da7b5(0x314))/0x2+-parseInt(_0x2da7b5(0x2a8))/0x3*(parseInt(_0x2da7b5(0x29b))/0x4)+parseInt(_0x2da7b5(0x371))/0x5*(parseInt(_0x2da7b5(0x301))/0x6)+parseInt(_0x2da7b5(0x1c8))/0x7*(-parseInt(_0x2da7b5(0x2c6))/0x8)+-parseInt(_0x2da7b5(0x18e))/0x9+-parseInt(_0x2da7b5(0x2c3))/0xa*(-parseInt(_0x2da7b5(0x287))/0xb);if(_0x29a6c6===_0x2fa831)break;else _0x33300b['push'](_0x33300b['shift']());}catch(_0x36da57){_0x33300b['push'](_0x33300b['shift']());}}}(_0x434d,0xc2598),function(_0x26ed8c,_0x3da319){const _0x225213=_0x6e2a;typeof exports==_0x225213(0x1f3)&&typeof module<'u'?_0x3da319(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x225213(0x1e8)]?define([_0x225213(0x2df),_0x225213(0x13e),_0x225213(0x36e),_0x225213(0x128),'@univerjs/ui',_0x225213(0x322),_0x225213(0x343),_0x225213(0x20b),_0x225213(0x36c),'@univerjs/sheets','@univerjs/engine-render',_0x225213(0x2c8),_0x225213(0x271),'@univerjs/drawing',_0x225213(0x201),'@univerjs/docs','@univerjs/engine-formula',_0x225213(0x2e1),_0x225213(0x230)],_0x3da319):(_0x26ed8c=typeof globalThis<'u'?globalThis:_0x26ed8c||self,_0x3da319(_0x26ed8c[_0x225213(0x147)]={},_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2ea)],_0x26ed8c['UniverCore'],_0x26ed8c[_0x225213(0x1fa)],_0x26ed8c[_0x225213(0x322)],_0x26ed8c[_0x225213(0x227)],_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2e5)],_0x26ed8c['UniverSheets'],_0x26ed8c[_0x225213(0x214)],_0x26ed8c[_0x225213(0x123)],_0x26ed8c['UniverDocsUi'],_0x26ed8c[_0x225213(0xfd)],_0x26ed8c['UniverProCollaboration'],_0x26ed8c[_0x225213(0x323)],_0x26ed8c['UniverEngineFormula'],_0x26ed8c[_0x225213(0x322)][_0x225213(0x127)],_0x26ed8c[_0x225213(0x25c)]));}(this,function(_0x5a6766,_0xe1ca0d,_0x27b003,_0x396f24,_0x39278b,_0x1b47d1,_0x262431,_0x10d8dc,_0x13b0b6,_0x2141ef,_0x5841f7,_0x16b348,_0x2752ff,_0x36c19a,_0x19f9e8,_0x54b913,_0x5d9407,_0x19b639,_0x39a301){'use strict';const _0x37c2de=_0x6e2a;var _0x2f1b0e=Object[_0x37c2de(0x1c9)],_0x19a2fb=(_0x351b7e,_0x1e8182,_0x33f257)=>_0x1e8182 in _0x351b7e?_0x2f1b0e(_0x351b7e,_0x1e8182,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f257}):_0x351b7e[_0x1e8182]=_0x33f257,_0x425380=(_0x37863c,_0x5eccbe,_0x2d8e38)=>_0x19a2fb(_0x37863c,typeof _0x5eccbe!=_0x37c2de(0x167)?_0x5eccbe+'':_0x5eccbe,_0x2d8e38),_0x4f1493=function(){const _0x2bbb8e=_0x37c2de;return _0x4f1493=Object[_0x2bbb8e(0x31f)]||function(_0x54d8fc){const _0x30aed9=_0x2bbb8e;for(var _0xe1f18f,_0x1f251f=0x1,_0x240cc5=arguments[_0x30aed9(0x2c4)];_0x1f251f<_0x240cc5;_0x1f251f++){_0xe1f18f=arguments[_0x1f251f];for(var _0x42ff27 in _0xe1f18f)Object['prototype'][_0x30aed9(0x2ac)][_0x30aed9(0x171)](_0xe1f18f,_0x42ff27)&&(_0x54d8fc[_0x42ff27]=_0xe1f18f[_0x42ff27]);}return _0x54d8fc;},_0x4f1493['apply'](this,arguments);},_0x5c3eab=function(_0x54ec84,_0x5e5559){const _0x11911c=_0x37c2de;var _0x1d1c48={};for(var _0x349b66 in _0x54ec84)Object['prototype']['hasOwnProperty'][_0x11911c(0x171)](_0x54ec84,_0x349b66)&&_0x5e5559['indexOf'](_0x349b66)<0x0&&(_0x1d1c48[_0x349b66]=_0x54ec84[_0x349b66]);if(_0x54ec84!=null&&typeof Object[_0x11911c(0x326)]==_0x11911c(0x29d)){for(var _0x3e45eb=0x0,_0x349b66=Object[_0x11911c(0x326)](_0x54ec84);_0x3e45eb<_0x349b66['length'];_0x3e45eb++)_0x5e5559[_0x11911c(0x250)](_0x349b66[_0x3e45eb])<0x0&&Object[_0x11911c(0x27c)]['propertyIsEnumerable']['call'](_0x54ec84,_0x349b66[_0x3e45eb])&&(_0x1d1c48[_0x349b66[_0x3e45eb]]=_0x54ec84[_0x349b66[_0x3e45eb]]);}return _0x1d1c48;},_0x203494=_0x10d8dc['forwardRef'](function(_0x4d55b8,_0x5c6d3b){const _0x2094bd=_0x37c2de;var _0x215ea8=_0x4d55b8['icon'],_0x29aed9=_0x4d55b8['id'],_0x52087a=_0x4d55b8['className'],_0xfa0283=_0x4d55b8[_0x2094bd(0x2d6)],_0x5a91ec=_0x5c3eab(_0x4d55b8,[_0x2094bd(0x252),'id',_0x2094bd(0x348),_0x2094bd(0x2d6)]),_0x4d9edc=_0x2094bd(0x1b5)['concat'](_0x29aed9,'\x20')[_0x2094bd(0x12f)](_0x52087a||'')[_0x2094bd(0x306)](),_0x16132f=_0x10d8dc[_0x2094bd(0x1c0)]('_'[_0x2094bd(0x12f)](_0x86b784()));return _0x15a107(_0x215ea8,''['concat'](_0x29aed9),{'defIds':_0x215ea8[_0x2094bd(0x234)],'idSuffix':_0x16132f[_0x2094bd(0x366)]},_0x4f1493({'ref':_0x5c6d3b,'className':_0x4d9edc},_0x5a91ec),_0xfa0283);});function _0x15a107(_0x2572fa,_0x5c57ca,_0xe2fe56,_0x1f8a34,_0x3499d6){const _0xe0a1ee=_0x37c2de;return _0x10d8dc[_0xe0a1ee(0x362)](_0x2572fa[_0xe0a1ee(0x2ca)],_0x4f1493(_0x4f1493({'key':_0x5c57ca},_0x40ae51(_0x2572fa,_0xe2fe56,_0x3499d6)),_0x1f8a34),(_0x513e47(_0x2572fa,_0xe2fe56)[_0xe0a1ee(0x25d)]||[])['map'](function(_0x29d73e,_0x8a7112){const _0x3fdcfc=_0xe0a1ee;return _0x15a107(_0x29d73e,''[_0x3fdcfc(0x12f)](_0x5c57ca,'-')['concat'](_0x2572fa[_0x3fdcfc(0x2ca)],'-')[_0x3fdcfc(0x12f)](_0x8a7112),_0xe2fe56,void 0x0,_0x3499d6);}));}function _0x40ae51(_0x38b4c9,_0xb7ea33,_0x48eae8){const _0x220a77=_0x37c2de;var _0x51b76f=_0x4f1493({},_0x38b4c9['attrs']);_0x48eae8!=null&&_0x48eae8[_0x220a77(0x11d)]&&_0x51b76f['fill']===_0x220a77(0x11d)&&(_0x51b76f['fill']=_0x48eae8[_0x220a77(0x11d)]),_0x38b4c9[_0x220a77(0x2ca)]===_0x220a77(0x294)&&_0x51b76f['id']&&(_0x51b76f['id']=_0x51b76f['id']+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0xdecb5e){const _0x5c0709=_0x220a77;var _0xb888c4=_0xdecb5e[0x0],_0x18671d=_0xdecb5e[0x1];_0xb888c4===_0x5c0709(0x294)&&typeof _0x18671d==_0x5c0709(0x139)&&(_0x51b76f[_0xb888c4]=_0x18671d[_0x5c0709(0x1e9)](/url\(#(.*)\)/,'url(#$1'[_0x5c0709(0x12f)](_0xb7ea33[_0x5c0709(0x253)],')')));});var _0x1a3721=_0xb7ea33[_0x220a77(0x234)];return!_0x1a3721||_0x1a3721[_0x220a77(0x2c4)]===0x0||(_0x38b4c9[_0x220a77(0x2ca)]==='use'&&_0x51b76f[_0x220a77(0x22c)]&&(_0x51b76f['xlink:href']=_0x51b76f[_0x220a77(0x22c)]+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0x5029b5){const _0x27e133=_0x220a77;var _0x355e8b=_0x5029b5[0x0],_0xbfa46d=_0x5029b5[0x1];typeof _0xbfa46d=='string'&&(_0x51b76f[_0x355e8b]=_0xbfa46d[_0x27e133(0x1e9)](/url\(#(.*)\)/,_0x27e133(0x1a2)[_0x27e133(0x12f)](_0xb7ea33[_0x27e133(0x253)],')')));})),_0x51b76f;}function _0x513e47(_0x45d5ce,_0x1d3f7d){const _0x83182=_0x37c2de;var _0x465b47,_0x1a198d=_0x1d3f7d[_0x83182(0x234)];return!_0x1a198d||_0x1a198d['length']===0x0?_0x45d5ce:_0x45d5ce['tag']==='defs'&&(!((_0x465b47=_0x45d5ce[_0x83182(0x25d)])===null||_0x465b47===void 0x0)&&_0x465b47[_0x83182(0x2c4)])?_0x4f1493(_0x4f1493({},_0x45d5ce),{'children':_0x45d5ce['children'][_0x83182(0x379)](function(_0x4613d6){const _0x4e74c0=_0x83182;return typeof _0x4613d6[_0x4e74c0(0x25f)]['id']=='string'&&_0x1a198d&&_0x1a198d[_0x4e74c0(0x37d)](_0x4613d6[_0x4e74c0(0x25f)]['id'])?_0x4f1493(_0x4f1493({},_0x4613d6),{'attrs':_0x4f1493(_0x4f1493({},_0x4613d6[_0x4e74c0(0x25f)]),{'id':_0x4613d6[_0x4e74c0(0x25f)]['id']+_0x1d3f7d[_0x4e74c0(0x253)]})}):_0x4613d6;})}):_0x45d5ce;}function _0x86b784(){const _0x1ec9a8=_0x37c2de;return Math[_0x1ec9a8(0x130)]()[_0x1ec9a8(0xf9)](0x24)[_0x1ec9a8(0x1e5)](0x2,0x8);}_0x203494[_0x37c2de(0x369)]=_0x37c2de(0x284);var _0x3060c4={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':_0x37c2de(0x2f1),'d':_0x37c2de(0x272),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x312)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'fill':_0x37c2de(0x206),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x37c2de(0x312)]},_0x2a363e=_0x10d8dc[_0x37c2de(0x226)](function(_0x1e2951,_0x48ac79){const _0x4d9ab4=_0x37c2de;return _0x10d8dc[_0x4d9ab4(0x362)](_0x203494,Object['assign']({},_0x1e2951,{'id':_0x4d9ab4(0x106),'ref':_0x48ac79,'icon':_0x3060c4}));});_0x2a363e['displayName']='OffLineIcon';var _0xc664b0={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':_0x37c2de(0x2d5),'width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':_0x37c2de(0x2b4)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':'currentColor','d':_0x37c2de(0x194),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x109)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x37c2de(0x2b9),'transform':_0x37c2de(0x310)}}]}]}],'defIds':[_0x37c2de(0x109)]},_0x41d014=_0x10d8dc[_0x37c2de(0x226)](function(_0x33d57a,_0x21329d){const _0x27387a=_0x37c2de;return _0x10d8dc[_0x27387a(0x362)](_0x203494,Object[_0x27387a(0x31f)]({},_0x33d57a,{'id':_0x27387a(0x26d),'ref':_0x21329d,'icon':_0xc664b0}));});_0x41d014['displayName']=_0x37c2de(0x23c);function _0x143c9a(_0x39f3cc){const _0x4f9109=_0x37c2de;switch(_0x39f3cc){case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x1fc)]:return'collabStatus.offline';case _0x27b003[_0x4f9109(0x317)]['CONFLICT']:return _0x4f9109(0x1dd);case _0x27b003['CollaborationStatus'][_0x4f9109(0x291)]:return _0x4f9109(0x12e);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x182)]:return _0x4f9109(0x110);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x27e)]:case _0x27b003[_0x4f9109(0x317)]['AWAITING_WITH_PENDING']:return _0x4f9109(0x340);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x236)]:case _0x27b003['CollaborationStatus'][_0x4f9109(0x116)]:return _0x4f9109(0x247);}}function _0x3ca8a5(_0xed5426){const _0x495b00=_0x37c2de,{status$:_0x7bdd0c}=_0xed5426,_0xf55835=_0x39278b[_0x495b00(0x23e)](_0x7bdd0c,_0x27b003['CollaborationStatus']['NOT_COLLAB']),_0x315780=_0x39278b['useDependency'](_0x396f24[_0x495b00(0x370)]),_0x21c37b=_0x39278b[_0x495b00(0x10a)](_0x27b003['CollaborationSessionService']),_0x3d041e=_0xf55835!==_0x27b003['CollaborationStatus']['OFFLINE'],_0x1112b4=_0x315780['t'](_0x143c9a(_0xf55835)),_0x11b8a5=_0x3d041e?_0xe1ca0d[_0x495b00(0x259)](_0x41d014,{}):_0xe1ca0d['jsx'](_0x2a363e,{}),_0x51d502=_0x10d8dc[_0x495b00(0x2fe)](()=>{_0x3d041e||_0x21c37b['reconnect']();},[_0x3d041e,_0x21c37b]);function _0x6492be(){const _0x5e07e5=_0x495b00;return _0xe1ca0d[_0x5e07e5(0x22e)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x32b),'onClick':_0x51d502,'children':[_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x262431['clsx'](_0x5e07e5(0x2fa),{'univer-text-green-500':_0x3d041e,'univer-text-red-500':!_0x3d041e}),'children':_0x11b8a5}),_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x277),'children':_0x1112b4})]});}return _0x3d041e?_0x6492be():_0xe1ca0d['jsx'](_0x262431[_0x495b00(0x1f7)],{'title':_0x315780['t'](_0x495b00(0x15b)),'children':_0x6492be()});}var _0x1253dd=Object['getOwnPropertyDescriptor'],_0x2313ca=(_0x31c803,_0x536e29,_0x5b00f6,_0x55ef32)=>{const _0x4cc38c=_0x37c2de;for(var _0xcfa629=_0x55ef32>0x1?void 0x0:_0x55ef32?_0x1253dd(_0x536e29,_0x5b00f6):_0x536e29,_0x386459=_0x31c803[_0x4cc38c(0x2c4)]-0x1,_0x6abbf;_0x386459>=0x0;_0x386459--)(_0x6abbf=_0x31c803[_0x386459])&&(_0xcfa629=_0x6abbf(_0xcfa629)||_0xcfa629);return _0xcfa629;},_0x267b52=(_0x5077ca,_0x4b4f85)=>(_0xc02bd9,_0x35348f)=>_0x4b4f85(_0xc02bd9,_0x35348f,_0x5077ca);_0x5a6766['DesktopCollaborationStatusDisplayController']=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x2fb4c9,_0x1cfe1e,_0x2cf2a3,_0x2352a5){const _0x47f4de=_0x37c2de;super(),_0x425380(this,_0x47f4de(0x376),new _0x1b47d1['BehaviorSubject'](_0x27b003[_0x47f4de(0x317)][_0x47f4de(0x182)])),(this[_0x47f4de(0x332)]=_0x2fb4c9,this[_0x47f4de(0x212)]=_0x1cfe1e,this[_0x47f4de(0x1ec)]=_0x2cf2a3,this[_0x47f4de(0x180)]=_0x2352a5,this[_0x47f4de(0x2b0)](),this['_initStatusListener']());}[_0x37c2de(0x34d)](){const _0x5f389a=_0x37c2de;this[_0x5f389a(0x1c4)](this[_0x5f389a(0x332)][_0x5f389a(0x283)][_0x5f389a(0x2a6)](_0x1b47d1[_0x5f389a(0x335)](()=>{const _0x32ae60=_0x5f389a,_0x47a08a=this['_univerInstanceService'][_0x32ae60(0x2b3)]();return _0x47a08a?this[_0x32ae60(0x1ec)][_0x32ae60(0x25a)](_0x47a08a[_0x32ae60(0x278)]()):_0x1b47d1['of'](null);}),_0x1b47d1['switchMap'](_0x1a8a1e=>_0x1a8a1e?_0x1a8a1e[_0x5f389a(0x173)]:_0x1b47d1['of'](_0x27b003[_0x5f389a(0x317)][_0x5f389a(0x182)])))[_0x5f389a(0x196)](_0x1d90df=>{const _0x556cba=_0x5f389a;this[_0x556cba(0x376)]['next'](_0x1d90df);}));}['_initStatusComponent'](){const _0x4a05f5=_0x37c2de;this[_0x4a05f5(0x1c4)](this[_0x4a05f5(0x180)][_0x4a05f5(0x1cd)](_0x39278b['BuiltInUIPart'][_0x4a05f5(0x1c5)],()=>_0x39278b[_0x4a05f5(0x367)](_0x436386({'status$':this['_status$'][_0x4a05f5(0x281)]()}),this[_0x4a05f5(0x212)])));}},_0x5a6766[_0x37c2de(0x2f5)]=_0x2313ca([_0x267b52(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x267b52(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x267b52(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x267b52(0x3,_0x39278b[_0x37c2de(0x32c)])],_0x5a6766['DesktopCollaborationStatusDisplayController']);function _0x436386(_0x464568){const {status$:_0x44a0a2}=_0x464568;return function(){const _0x3d5db8=_0x6e2a;return _0xe1ca0d[_0x3d5db8(0x259)](_0x3ca8a5,{'status$':_0x44a0a2});};}const _0x2bb386=_0x396f24[_0x37c2de(0x22d)](_0x37c2de(0x164));var _0x93493d=Object[_0x37c2de(0x1ca)],_0x5ce234=(_0xef4053,_0x19f412,_0x238515,_0x4ee59b)=>{for(var _0x309c6b=_0x4ee59b>0x1?void 0x0:_0x4ee59b?_0x93493d(_0x19f412,_0x238515):_0x19f412,_0x1d010a=_0xef4053['length']-0x1,_0x48ee29;_0x1d010a>=0x0;_0x1d010a--)(_0x48ee29=_0xef4053[_0x1d010a])&&(_0x309c6b=_0x48ee29(_0x309c6b)||_0x309c6b);return _0x309c6b;},_0x59d742=(_0x35a8b4,_0x527ebb)=>(_0x37fcfe,_0x4f40d7)=>_0x527ebb(_0x37fcfe,_0x4f40d7,_0x35a8b4);_0x5a6766[_0x37c2de(0x156)]=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x29e57d,_0x715955,_0x2f613a,_0x409113,_0x33f403){const _0x79c210=_0x37c2de;super(),this[_0x79c210(0x262)]=_0x29e57d,this[_0x79c210(0x35d)]=_0x715955,this[_0x79c210(0x30c)]=_0x2f613a,this[_0x79c210(0x11e)]=_0x409113,_0x33f403?_0x33f403==null||_0x33f403[_0x79c210(0x1f5)]()[_0x79c210(0x27f)](()=>this['_init']()):(this[_0x79c210(0x35d)]['debug'](_0x79c210(0x398),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x79c210(0x133)]());}async['_init'](){const _0x3dd123=_0x37c2de,_0x3dfdf4=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x2e0)),_0x38fb6b=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x275)),_0x19fe71=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x347));if(!_0x3dfdf4||!_0x38fb6b){this[_0x3dd123(0x35d)][_0x3dd123(0x243)](_0x3dd123(0x398),_0x3dd123(0x235));return;}const _0x3d58cb=await this['_dataLoaderService'][_0x3dd123(0x148)](_0x3dfdf4,Number(_0x38fb6b),_0x19fe71);_0x3d58cb&&_0x3d58cb instanceof _0x396f24[_0x3dd123(0x141)]&&this[_0x3dd123(0x2a3)](_0x3d58cb);}async[_0x37c2de(0x2a3)](_0x3d1b9f){const _0x3f00e6=_0x37c2de;await this[_0x3f00e6(0x2cb)](_0x3d1b9f),_0x3d1b9f[_0x3f00e6(0x14b)][_0x3f00e6(0x2a6)](_0x1b47d1[_0x3f00e6(0x15c)](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](_0x12eec6=>{_0x12eec6&&this['_updateURLWithCurrentState'](_0x12eec6);}),this[_0x3f00e6(0x262)][_0x3f00e6(0x19d)][_0x3f00e6(0x2a6)](_0x1b47d1['takeUntil'](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](()=>this['_updateSubUnitFromURLParams'](_0x3d1b9f));}[_0x37c2de(0x1d5)](_0x2a0a2e,_0x36e1e5=!0x1){const _0x3d05ab=_0x37c2de,_0x6ea86a=this[_0x3d05ab(0x262)][_0x3d05ab(0x385)](_0x3d05ab(0x347));_0x2a0a2e[_0x3d05ab(0x153)]()!==_0x6ea86a&&this[_0x3d05ab(0x262)]['setParam'](_0x3d05ab(0x347),_0x2a0a2e[_0x3d05ab(0x153)](),_0x36e1e5);}async[_0x37c2de(0x2cb)](_0x71f304){const _0x5d2e85=_0x37c2de;var _0x10b528;const _0xda2548=this[_0x5d2e85(0x262)][_0x5d2e85(0x385)](_0x5d2e85(0x347));if(!_0xda2548||!_0x71f304[_0x5d2e85(0x105)](_0xda2548)){const _0xd79b86=_0x71f304[_0x5d2e85(0x297)]()[0x0],_0x57e1e4=_0x71f304[_0x5d2e85(0x105)](_0xd79b86);if(!_0x57e1e4)return;this[_0x5d2e85(0x1d5)](_0x57e1e4,!0x0),await this[_0x5d2e85(0x30c)]['executeCommand'](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304[_0x5d2e85(0x278)](),'subUnitId':_0xd79b86});return;}((_0x10b528=_0x71f304['getActiveSheet']())==null?void 0x0:_0x10b528[_0x5d2e85(0x153)]())!==_0xda2548&&await this['_commandService'][_0x5d2e85(0x2e4)](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304['getUnitId'](),'subUnitId':_0xda2548});}},_0x5a6766[_0x37c2de(0x156)]=_0x5ce234([_0x59d742(0x0,_0x2bb386),_0x59d742(0x1,_0x396f24['ILogService']),_0x59d742(0x2,_0x396f24[_0x37c2de(0x1a6)]),_0x59d742(0x3,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x2cd)])),_0x59d742(0x4,_0x396f24['Optional'](_0x13b0b6[_0x37c2de(0x2f7)]))],_0x5a6766['CollaborationDataLoaderController']);var _0x12d9d8=Object[_0x37c2de(0x1ca)],_0x2d317b=(_0x5909d1,_0x3a72fc,_0x5d1583,_0x5d93d7)=>{const _0xd4aa9b=_0x37c2de;for(var _0x270b1a=_0x5d93d7>0x1?void 0x0:_0x5d93d7?_0x12d9d8(_0x3a72fc,_0x5d1583):_0x3a72fc,_0xfc33d2=_0x5909d1[_0xd4aa9b(0x2c4)]-0x1,_0x47d0e0;_0xfc33d2>=0x0;_0xfc33d2--)(_0x47d0e0=_0x5909d1[_0xfc33d2])&&(_0x270b1a=_0x47d0e0(_0x270b1a)||_0x270b1a);return _0x270b1a;},_0x9c9bd4=(_0x116a6a,_0x561734)=>(_0x3c4b13,_0xa27e48)=>_0x561734(_0x3c4b13,_0xa27e48,_0x116a6a);let _0x394a4b=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x7ebdc3,_0x454a94){const _0xe07a8c=_0x37c2de;super(),this[_0xe07a8c(0x1bb)]=_0x7ebdc3,this[_0xe07a8c(0x10d)]=_0x454a94,this['_init']();}['_init'](){const _0x288b4e=_0x37c2de,_0x3fc339=this;this[_0x288b4e(0x1c4)](this[_0x288b4e(0x1bb)][_0x288b4e(0x135)]({'onBeforePasteImage':async _0x3aa724=>{const _0x538a6a=_0x288b4e,_0x25baca=await _0x3fc339[_0x538a6a(0x10d)][_0x538a6a(0x1ce)](_0x3aa724);return _0x25baca?{'source':_0x25baca['source'],'imageSourceType':_0x25baca['imageSourceType']}:null;}}));}};_0x394a4b=_0x2d317b([_0x9c9bd4(0x0,_0x2752ff['IDocClipboardService']),_0x9c9bd4(0x1,_0x36c19a[_0x37c2de(0x1c6)])],_0x394a4b);const _0x13438f=[_0x37c2de(0x339),'jiqing.500',_0x37c2de(0x1da),'red.300',_0x37c2de(0x29c),'yellow.400'];class _0x74392a extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x3048d2=_0x37c2de;super(...arguments),_0x425380(this,_0x3048d2(0x242),new Map()),_0x425380(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5af821){const _0x5461cf=_0x37c2de;if(this[_0x5461cf(0x242)]['has'](_0x5af821))return this[_0x5461cf(0x242)][_0x5461cf(0x2de)](_0x5af821);const _0x39e38b=_0x13438f[this[_0x5461cf(0x2ef)]];return this[_0x5461cf(0x2ef)]=(this['_colorIndex']+0x1)%_0x13438f[_0x5461cf(0x2c4)],this[_0x5461cf(0x242)][_0x5461cf(0x117)](_0x5af821,_0x39e38b),_0x39e38b;}}function _0x52b132(_0x211ef5){let _0x533675='';for(const _0x3aef90 of _0x211ef5){const {startOffset:_0x42bf92,endOffset:_0x5b95ce,isActive:_0x57be71,rangeType:_0x2e4132,segmentId:_0x58e10e,segmentPage:_0x36bfe1}=_0x3aef90;_0x533675['length']&&(_0x533675+=','),_0x533675+=_0x42bf92+':'+_0x5b95ce+':'+(_0x57be71?'1':'0')+':'+_0x2e4132+':'+_0x58e10e+':'+_0x36bfe1;}return _0x533675;}function _0x56b693(_0x44b703){const _0x22987a=_0x37c2de,_0x2ec295=_0x44b703[_0x22987a(0x225)](','),_0x2eda42=[];for(const _0x218415 of _0x2ec295){const [_0x511289,_0x171f3e,_0xc32840,_0x6a63a6,_0x5e33af,_0x2bafb4]=_0x218415['split'](':');_0x2eda42[_0x22987a(0x20f)]({'startOffset':Number(_0x511289),'endOffset':Number(_0x171f3e),'collapsed':_0x511289===_0x171f3e,'isActive':_0xc32840==='1','rangeType':_0x6a63a6===_0x396f24['DOC_RANGE_TYPE'][_0x22987a(0x353)]?_0x396f24[_0x22987a(0x21a)][_0x22987a(0x353)]:_0x396f24[_0x22987a(0x21a)][_0x22987a(0x1e0)],'segmentId':typeof _0x5e33af==_0x22987a(0x139)?String(_0x5e33af):'','segmentPage':Number(_0x2bafb4!=null?_0x2bafb4:-0x1)});}return _0x2eda42[_0x22987a(0x220)](_0x57a861=>_0x57a861[_0x22987a(0x351)])||(_0x2eda42[0x0][_0x22987a(0x351)]=!0x0),_0x2eda42;}class _0x25bfb1 extends _0x396f24[_0x37c2de(0x37a)]{constructor(){const _0x5564c5=_0x37c2de;super(...arguments),_0x425380(this,_0x5564c5(0x1be),new _0x1b47d1[(_0x5564c5(0x338))](null)),_0x425380(this,_0x5564c5(0x219),this[_0x5564c5(0x1be)][_0x5564c5(0x281)]());}[_0x37c2de(0x282)](_0x2f55b5){const _0x4aff65=_0x37c2de,{unitID:_0x574140,memberID:_0x44cebd,textRanges:_0x314a11}=_0x2f55b5,_0x9162d4=_0x52b132(_0x314a11);if(_0x9162d4==='')return;const _0x523fc2={'unitID':_0x574140,'memberID':_0x44cebd,'selection':_0x9162d4};this['_collabCursorState$'][_0x4aff65(0x38e)](_0x523fc2);}}var _0x551138=Object['getOwnPropertyDescriptor'],_0x39986e=(_0x184059,_0x156324,_0x32cfbb,_0xb5b643)=>{const _0xef2053=_0x37c2de;for(var _0x19c9ab=_0xb5b643>0x1?void 0x0:_0xb5b643?_0x551138(_0x156324,_0x32cfbb):_0x156324,_0x4ff1bd=_0x184059[_0xef2053(0x2c4)]-0x1,_0x5eca35;_0x4ff1bd>=0x0;_0x4ff1bd--)(_0x5eca35=_0x184059[_0x4ff1bd])&&(_0x19c9ab=_0x5eca35(_0x19c9ab)||_0x19c9ab);return _0x19c9ab;},_0x1561df=(_0x1a4462,_0x656d0)=>(_0x5f4b23,_0x2d44ea)=>_0x656d0(_0x5f4b23,_0x2d44ea,_0x1a4462);const _0x57517c=0x12c,_0x56850a=0x64;let _0x2f7eb2=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x44576c,_0x25d453,_0x39769c,_0x5b875f,_0x980275,_0x192774,_0x1a6312,_0x22b585,_0x2dc8ec){const _0x451cab=_0x37c2de;super(),_0x425380(this,_0x451cab(0x119),!0x1),_0x425380(this,'_init',!0x1),_0x425380(this,_0x451cab(0x13a),new _0x1b47d1[(_0x451cab(0x338))](new Map())),_0x425380(this,_0x451cab(0x24e),this['_cursorInfo$']['asObservable']()),_0x425380(this,'_roomMembers$',new _0x1b47d1[(_0x451cab(0x338))]([])),_0x425380(this,_0x451cab(0x1a1),this[_0x451cab(0x1c7)][_0x451cab(0x2a6)](_0x1b47d1[_0x451cab(0x208)](_0x57517c))),_0x425380(this,_0x451cab(0x305),_0x396f24['debounce'](_0x476a7b=>{const _0x3886d4=_0x451cab,_0x238156={'eventID':_0x19f9e8[_0x3886d4(0x2d3)][_0x3886d4(0x2aa)],'data':{'unitID':this[_0x3886d4(0x246)],'memberID':this[_0x3886d4(0x2f8)][_0x3886d4(0x2a7)](),'selection':_0x52b132(_0x476a7b)}};this['_session'][_0x3886d4(0x1bc)](_0x238156,this['unitID']);},_0x56850a)),(this[_0x451cab(0x246)]=_0x44576c,this['_session']=_0x25d453,this[_0x451cab(0x212)]=_0x39769c,this[_0x451cab(0x1a0)]=_0x5b875f,this['_memberService']=_0x980275,this[_0x451cab(0x146)]=_0x192774,this[_0x451cab(0x1fd)]=_0x1a6312,this[_0x451cab(0x332)]=_0x22b585,this[_0x451cab(0x30c)]=_0x2dc8ec);}get[_0x37c2de(0x1cb)](){const _0x31d210=_0x37c2de;return this[_0x31d210(0x13a)][_0x31d210(0x189)]();}get['roomMembers'](){const _0x579ede=_0x37c2de;return this[_0x579ede(0x1c7)]['getValue']();}[_0x37c2de(0x254)](){const _0x3cf168=_0x37c2de;super[_0x3cf168(0x254)](),this[_0x3cf168(0x13a)]['next'](new Map()),this[_0x3cf168(0x13a)][_0x3cf168(0x373)](),this[_0x3cf168(0x1c7)][_0x3cf168(0x38e)]([]),this[_0x3cf168(0x1c7)][_0x3cf168(0x373)]();}[_0x37c2de(0x337)](){const _0x5551a1=_0x37c2de;this[_0x5551a1(0x133)]||(this[_0x5551a1(0x133)]=!0x0,this[_0x5551a1(0x2f8)]['sessionStatus$'][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0x599504=>{const _0x50672d=_0x5551a1;_0x599504===_0x27b003[_0x50672d(0x29a)][_0x50672d(0x27a)]?this[_0x50672d(0xf8)]():this[_0x50672d(0x28d)]();}),this[_0x5551a1(0x2f8)][_0x5551a1(0x2c5)][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this[_0x5551a1(0x16c)]))[_0x5551a1(0x196)](_0x91c02=>{const _0x412f26=_0x5551a1,_0x3c6c3b=_0x91c02[_0x412f26(0x186)];_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x2aa)]&&this[_0x412f26(0x145)](_0x91c02),_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x311)]&&this['_onCursorDelete'](_0x91c02);}),this['disposeWithMe'](this[_0x5551a1(0x30c)][_0x5551a1(0x27b)](_0xe3908f=>{const _0x2accd8=_0x5551a1,_0x218a87=_0xe3908f['params'];_0x218a87!=null&&this[_0x2accd8(0x119)]&&_0xe3908f['id']===_0x54b913[_0x2accd8(0x1fe)]['id']&&_0x218a87[_0x2accd8(0x22b)]===this[_0x2accd8(0x246)]&&_0x218a87[_0x2accd8(0x38b)]===!0x1&&_0x218a87[_0x2accd8(0x1a8)][_0x2accd8(0x2c4)]>0x0&&this[_0x2accd8(0x305)](_0x218a87[_0x2accd8(0x1a8)]);})),this[_0x5551a1(0x146)][_0x5551a1(0x219)]['pipe'](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0xf3a00e=>{const _0x46326f=_0x5551a1;if((_0xf3a00e==null?void 0x0:_0xf3a00e[_0x46326f(0x246)])!==this['unitID'])return;const _0x3369de={'eventID':_0x19f9e8['CollaborationEvent'][_0x46326f(0x2aa)],'data':_0xf3a00e};this[_0x46326f(0x145)](_0x3369de);}),this[_0x5551a1(0x1c4)](this[_0x5551a1(0x30c)]['onCommandExecuted'](_0x1327dd=>{const _0x2ec56b=_0x5551a1;if(_0x1327dd[_0x2ec56b(0x2e2)]==null)return;const _0x1b9af9=_0x1327dd[_0x2ec56b(0x2e2)];if(_0x1327dd['id']!==_0x54b913[_0x2ec56b(0x26a)]['id']||_0x1b9af9[_0x2ec56b(0x22b)]!==this[_0x2ec56b(0x246)])return;const _0x1d2755={'id':'doc.mutation.rich-text-editing','params':_0x1b9af9},_0x53e2d6=this[_0x2ec56b(0x1cb)];for(const [_0xa6207b,_0x46548e]of _0x53e2d6){const _0x3f21b1={'id':_0x2ec56b(0x35f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x46548e[_0x2ec56b(0x1a8)]}},_0x26a43e=this[_0x2ec56b(0x1fd)][_0x2ec56b(0x1e2)](_0x1d2755,_0x3f21b1,!0x1);if(_0x19f9e8[_0x2ec56b(0x375)](_0x26a43e))throw _0x26a43e[_0x2ec56b(0x1b6)];_0x53e2d6[_0x2ec56b(0x117)](_0xa6207b,{..._0x46548e,'ranges':_0x26a43e[_0x2ec56b(0x191)][_0x2ec56b(0x2e2)]['textRanges']});}queueMicrotask(()=>{const _0x305ce2=_0x2ec56b;this[_0x305ce2(0x13a)][_0x305ce2(0x38e)](_0x53e2d6);});})));}[_0x37c2de(0x145)](_0x313f44){const _0x36af57=_0x37c2de;var _0x265a7a,_0x3f22dc;const {memberID:_0x5624c4,selection:_0xf38398}=_0x313f44[_0x36af57(0x1f4)],_0x419ce5=_0x56b693(_0xf38398),_0xdb6ba8=(_0x3f22dc=(_0x265a7a=this['_memberService']['getMember'](this[_0x36af57(0x246)],_0x5624c4))==null?void 0x0:_0x265a7a[_0x36af57(0x1cf)])!=null?_0x3f22dc:_0x36af57(0x30a),_0x184fa8={'color':this[_0x36af57(0x1a0)][_0x36af57(0x1ef)](_0x5624c4),'name':_0xdb6ba8,'ranges':_0x419ce5},_0x5acc7b=this[_0x36af57(0x1cb)];_0x5acc7b[_0x36af57(0x117)](_0x5624c4,_0x184fa8),this[_0x36af57(0x13a)]['next'](_0x5acc7b);}[_0x37c2de(0x374)](_0x2bf1cb){const _0x51aaff=_0x37c2de,{memberID:_0x5035ca}=_0x2bf1cb['data'],_0x3563ec=this[_0x51aaff(0x1cb)];_0x3563ec[_0x51aaff(0x2b2)](_0x5035ca),this[_0x51aaff(0x13a)][_0x51aaff(0x38e)](_0x3563ec);}[_0x37c2de(0xf8)](){const _0x55fd5e=_0x37c2de;var _0x391c39;if(this[_0x55fd5e(0x119)]=!0x0,((_0x391c39=this[_0x55fd5e(0x332)][_0x55fd5e(0x2b3)]())==null?void 0x0:_0x391c39[_0x55fd5e(0x278)]())!==this[_0x55fd5e(0x246)])return;const _0x2ac16e=this[_0x55fd5e(0x212)][_0x55fd5e(0x2de)](_0x54b913[_0x55fd5e(0x150)])[_0x55fd5e(0x2c2)]();Array[_0x55fd5e(0x224)](_0x2ac16e)&&_0x2ac16e[_0x55fd5e(0x2c4)]>0x0&&this[_0x55fd5e(0x305)](_0x2ac16e);}[_0x37c2de(0x28d)](){const _0x2ad88a=_0x37c2de;this[_0x2ad88a(0x119)]=!0x1;}};_0x2f7eb2=_0x39986e([_0x1561df(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x1561df(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x1561df(0x4,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x345)])),_0x1561df(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x1561df(0x6,_0x19f9e8['ITransformService']),_0x1561df(0x7,_0x396f24[_0x37c2de(0x34f)]),_0x1561df(0x8,_0x396f24[_0x37c2de(0x1a6)])],_0x2f7eb2);var _0x150598=Object[_0x37c2de(0x1ca)],_0x3578e7=(_0x45af46,_0x5b99c5,_0x3bead2,_0xcb8b98)=>{const _0x509835=_0x37c2de;for(var _0x160516=_0xcb8b98>0x1?void 0x0:_0xcb8b98?_0x150598(_0x5b99c5,_0x3bead2):_0x5b99c5,_0x4f7e13=_0x45af46[_0x509835(0x2c4)]-0x1,_0x3278b8;_0x4f7e13>=0x0;_0x4f7e13--)(_0x3278b8=_0x45af46[_0x4f7e13])&&(_0x160516=_0x3278b8(_0x160516)||_0x160516);return _0x160516;},_0x559ca3=(_0x48d011,_0x347877)=>(_0x15e140,_0x355b25)=>_0x347877(_0x15e140,_0x355b25,_0x48d011);const _0x3fa0dd=0x12c,_0x3c147a=0x64,_0x32df79=()=>{let _0x2346cd=[],_0x3cbdf7=!0x1;return _0x5a95c8=>{const _0x9a0dfd=_0x6e2a;_0x2346cd[_0x9a0dfd(0x20f)](_0x5a95c8),_0x3cbdf7||(_0x3cbdf7=!0x0,setTimeout(()=>{const _0x18087b=_0x9a0dfd;_0x2346cd[_0x18087b(0x217)](_0x32a02c=>_0x32a02c()),_0x2346cd=[],_0x3cbdf7=!0x1;}));};};let _0x33c9da=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x49b729,_0x4e249c,_0xa75709,_0x24b7ad,_0x49c79b,_0x35fcfa,_0x4a6a17,_0xafd03){const _0x56e027=_0x37c2de;super(),_0x425380(this,_0x56e027(0x119),!0x1),_0x425380(this,_0x56e027(0x133),!0x1),_0x425380(this,'_cursorInfo$',new _0x1b47d1['BehaviorSubject'](new Map())),_0x425380(this,'cursorInfo$',this[_0x56e027(0x13a)]['asObservable']()),_0x425380(this,_0x56e027(0x1c7),new _0x1b47d1[(_0x56e027(0x338))]([])),_0x425380(this,_0x56e027(0x1a1),this[_0x56e027(0x1c7)][_0x56e027(0x2a6)](_0x1b47d1['debounceTime'](_0x3fa0dd))),_0x425380(this,'_updateLocalCursor',_0x396f24[_0x56e027(0x190)]((_0x1c714e,_0xd9068e)=>{const _0x3fbdd8=_0x56e027,_0xb240dd={'eventID':_0x19f9e8[_0x3fbdd8(0x2d3)][_0x3fbdd8(0x2aa)],'data':{'unitID':this[_0x3fbdd8(0x246)],'memberID':this[_0x3fbdd8(0x2f8)]['getMemberID'](),'selection':_0x5d9407[_0x3fbdd8(0x177)](_0x1c714e,_0xd9068e['range'])}};this[_0x3fbdd8(0x2f8)][_0x3fbdd8(0x1bc)](_0xb240dd,this[_0x3fbdd8(0x246)]);},_0x3c147a)),(this[_0x56e027(0x246)]=_0x49b729,this[_0x56e027(0x2f8)]=_0x4e249c,this['_injector']=_0xa75709,this[_0x56e027(0x1a0)]=_0x24b7ad,this[_0x56e027(0x14f)]=_0x49c79b,this[_0x56e027(0x332)]=_0x35fcfa,this[_0x56e027(0x30c)]=_0x4a6a17,this[_0x56e027(0x159)]=_0xafd03);}get['cursorInfo'](){const _0x29718e=_0x37c2de;return this['_cursorInfo$'][_0x29718e(0x189)]();}get[_0x37c2de(0x2b5)](){const _0x5028a2=_0x37c2de;return this[_0x5028a2(0x1c7)][_0x5028a2(0x189)]();}['dispose'](){const _0x575b21=_0x37c2de;super[_0x575b21(0x254)](),this['_cursorInfo$'][_0x575b21(0x38e)](new Map()),this['_cursorInfo$'][_0x575b21(0x373)](),this[_0x575b21(0x1c7)]['next']([]),this[_0x575b21(0x1c7)][_0x575b21(0x373)]();}[_0x37c2de(0x337)](){const _0x27f552=_0x37c2de;this['_init']||(this[_0x27f552(0x133)]=!0x0,this[_0x27f552(0x2f8)]['sessionStatus$']['pipe'](_0x1b47d1['takeUntil'](this[_0x27f552(0x16c)]))[_0x27f552(0x196)](_0x5da980=>{const _0xed45df=_0x27f552;_0x5da980===_0x27b003[_0xed45df(0x29a)]['ONLINE']?this[_0xed45df(0xf8)]():this[_0xed45df(0x28d)]();}),this['_session'][_0x27f552(0x2c5)][_0x27f552(0x2a6)](_0x1b47d1['takeUntil'](this['dispose$']))['subscribe'](_0x26b58a=>{const _0x2eef52=_0x27f552,_0xa4ad76=_0x26b58a['eventID'];_0xa4ad76===_0x19f9e8[_0x2eef52(0x2d3)]['UPDATE_CURSOR']&&this[_0x2eef52(0x145)](_0x26b58a),_0xa4ad76===_0x19f9e8['CollaborationEvent']['USERS_LEAVE']&&this[_0x2eef52(0x374)](_0x26b58a);}),this[_0x27f552(0x25e)](),this['disposeWithMe'](this[_0x27f552(0x30c)][_0x27f552(0x27b)](_0x4aa1e1=>{const _0x47c082=_0x27f552;if(this['_online']&&_0x4aa1e1['id']===_0x2141ef[_0x47c082(0x1ed)]['id']&&_0x4aa1e1[_0x47c082(0x2e2)]['unitId']===this[_0x47c082(0x246)]){const _0x5317f1=_0x4aa1e1[_0x47c082(0x2e2)];this[_0x47c082(0x305)](_0x5317f1[_0x47c082(0x13b)],_0x5317f1[_0x47c082(0x256)][0x0]);}})));}[_0x37c2de(0x145)](_0x5e3e96){const _0x13b34=_0x37c2de;var _0xad58cb,_0x14efe1;const {memberID:_0x3a19db,selection:_0x2db154}=_0x5e3e96[_0x13b34(0x1f4)],{sheetName:_0x1c2dc1,range:_0xc06b13}=_0x5d9407[_0x13b34(0x245)](_0x2db154),_0x2e6fab={'name':(_0x14efe1=(_0xad58cb=this[_0x13b34(0x14f)][_0x13b34(0x1d4)](this['unitID'],_0x3a19db))==null?void 0x0:_0xad58cb['name'])!=null?_0x14efe1:'Unknown\x20user','range':this[_0x13b34(0x183)](_0x1c2dc1,_0xc06b13),'sheetID':_0x1c2dc1,'color':this[_0x13b34(0x1a0)][_0x13b34(0x1ef)](_0x3a19db),'selection':_0x2db154},_0x35e777=this[_0x13b34(0x1cb)];_0x35e777[_0x13b34(0x117)](_0x3a19db,_0x2e6fab),this[_0x13b34(0x13a)][_0x13b34(0x38e)](_0x35e777);}[_0x37c2de(0x374)](_0x29704b){const _0x449065=_0x37c2de,{memberID:_0x2dde80}=_0x29704b['data'],_0x3e22b9=this[_0x449065(0x1cb)];_0x3e22b9[_0x449065(0x2b2)](_0x2dde80),this[_0x449065(0x13a)][_0x449065(0x38e)](_0x3e22b9);}[_0x37c2de(0x183)](_0x1277a0,_0x538f02){const _0x1d65e5=_0x37c2de;var _0x1009da,_0x1c35cf;const _0x7367c6=(_0x1c35cf=(_0x1009da=this[_0x1d65e5(0x332)]['getUniverSheetInstance'](this[_0x1d65e5(0x246)]))==null?void 0x0:_0x1009da[_0x1d65e5(0x105)](_0x1277a0))==null?void 0x0:_0x1c35cf['getMergeData']();return(_0x7367c6==null?void 0x0:_0x7367c6[_0x1d65e5(0x32a)](_0x5be11c=>_0x396f24['Rectangle'][_0x1d65e5(0x34c)](_0x5be11c,_0x538f02)))||_0x538f02;}[_0x37c2de(0x25e)](){const _0x4bf297=_0x37c2de,_0x355f9e=new _0x396f24[(_0x4bf297(0x2e3))](),_0xc1d52a=_0x32df79(),_0x3a6d74=()=>{const _0x330ba9=_0x4bf297;_0x355f9e[_0x330ba9(0x254)]();const _0x31fbbd=(_0x1f7fc4,_0x444116,_0x416059,_0x22ff85)=>{const _0x1f896c=_0x330ba9;let _0x50345e=[];switch(_0x1f7fc4['id']){case _0x2141ef[_0x1f896c(0x202)]['DeleteRangeMoveLeftCommandId']:{_0x50345e=_0x2141ef['handleDeleteRangeMoveLeft'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x108)]:{_0x50345e=_0x2141ef[_0x1f896c(0x240)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x360)]:{_0x50345e=_0x2141ef[_0x1f896c(0x249)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x50345e=_0x2141ef['handleInsertRangeMoveDown'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)]['InsertRangeMoveRightCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x20e)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRowCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x2e9)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x29f)]:{_0x50345e=_0x2141ef[_0x1f896c(0x1db)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x261)]:{_0x50345e=_0x2141ef[_0x1f896c(0x2f4)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x1d8)]:{_0x50345e=_0x2141ef[_0x1f896c(0x36a)](_0x1f7fc4,_0x22ff85);break;}}const _0x592f0d=_0x2141ef[_0x1f896c(0x17b)](_0x50345e,_0x22ff85),_0x338389=this[_0x1f896c(0x1cb)][_0x1f896c(0x2de)](_0x444116);if(_0x338389&&_0x592f0d){const _0x414441={..._0x338389,'range':_0x592f0d};this[_0x1f896c(0x1cb)][_0x1f896c(0x117)](_0x444116,_0x414441),_0xc1d52a(()=>{const _0xe1254c=_0x1f896c,_0x40d33e=this[_0xe1254c(0x159)][_0xe1254c(0x2bb)](_0x592f0d,_0x146f12=>(_0x40d33e[_0xe1254c(0x254)](),_0x31fbbd(_0x146f12,_0x444116,_0x416059,_0x592f0d)));_0x355f9e['add'](_0x40d33e);});}return{'redos':[],'undos':[]};};this[_0x330ba9(0x1cb)][_0x330ba9(0x217)]((_0x212162,_0x34caa0)=>{const _0x7f4675=_0x330ba9,{range:_0x49a1ae,sheetID:_0x375c24}=_0x212162,_0x8384b7=this[_0x7f4675(0x159)]['registerRefRange'](_0x49a1ae,_0x1090eb=>(_0x8384b7[_0x7f4675(0x254)](),_0x31fbbd(_0x1090eb,_0x34caa0,_0x375c24,_0x49a1ae)));_0x355f9e[_0x7f4675(0x2b1)](_0x8384b7);});};this['disposeWithMe'](_0x396f24[_0x4bf297(0x19c)](this[_0x4bf297(0x13a)]['subscribe'](()=>{_0x3a6d74();})));}[_0x37c2de(0xf8)](){const _0x47a003=_0x37c2de;var _0x37bfc0,_0x4d4750;if(this[_0x47a003(0x119)]=!0x0,((_0x37bfc0=this['_univerInstanceService'][_0x47a003(0x2b3)]())==null?void 0x0:_0x37bfc0['getUnitId']())!==this[_0x47a003(0x246)])return;const _0x577feb=(_0x4d4750=this[_0x47a003(0x212)][_0x47a003(0x2de)](_0x2141ef[_0x47a003(0x292)])[_0x47a003(0x30f)]())==null?void 0x0:_0x4d4750[0x0],_0x145512=this['_univerInstanceService']['getCurrentUnitForType'](_0x396f24[_0x47a003(0x10f)]['UNIVER_SHEET'])[_0x47a003(0x197)]();_0x577feb&&_0x145512&&this[_0x47a003(0x305)](_0x145512[_0x47a003(0x153)](),_0x577feb);}['_toggleOffline'](){const _0x55b379=_0x37c2de;this[_0x55b379(0x119)]=!0x1;}};_0x33c9da=_0x3578e7([_0x559ca3(0x2,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x559ca3(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x559ca3(0x4,_0x396f24['Inject'](_0x27b003[_0x37c2de(0x345)])),_0x559ca3(0x5,_0x396f24[_0x37c2de(0x34f)]),_0x559ca3(0x6,_0x396f24[_0x37c2de(0x1a6)]),_0x559ca3(0x7,_0x396f24[_0x37c2de(0x15e)](_0x2141ef[_0x37c2de(0x293)]))],_0x33c9da);var _0x54bc66=Object['getOwnPropertyDescriptor'],_0x56ccfa=(_0x350459,_0x1f9ce1,_0x5e02d9,_0x2ccfee)=>{for(var _0x369b93=_0x2ccfee>0x1?void 0x0:_0x2ccfee?_0x54bc66(_0x1f9ce1,_0x5e02d9):_0x1f9ce1,_0x17faae=_0x350459['length']-0x1,_0x1c6a55;_0x17faae>=0x0;_0x17faae--)(_0x1c6a55=_0x350459[_0x17faae])&&(_0x369b93=_0x1c6a55(_0x369b93)||_0x369b93);return _0x369b93;},_0x3a4afb=(_0x450bd6,_0x322e90)=>(_0x48be3f,_0x1ccb0b)=>_0x322e90(_0x48be3f,_0x1ccb0b,_0x450bd6);let _0x1789a5=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x1acd10,_0x3333e1,_0x44a53f){const _0x20de8d=_0x37c2de;super(),_0x425380(this,_0x20de8d(0x1e6),new Map()),_0x425380(this,_0x20de8d(0x213),new _0x1b47d1[(_0x20de8d(0x24c))]()),(this[_0x20de8d(0x332)]=_0x1acd10,this[_0x20de8d(0x212)]=_0x3333e1,this[_0x20de8d(0x2be)]=_0x44a53f,this[_0x20de8d(0x133)]());}[_0x37c2de(0x254)](){const _0x2da632=_0x37c2de;super[_0x2da632(0x254)](),this['_entityInit$'][_0x2da632(0x373)](),this['_entities'][_0x2da632(0x217)](_0x54a2c1=>_0x54a2c1[_0x2da632(0x254)]());}['getCollabCursors$'](_0x13693f){const _0x1f7dfd=_0x37c2de;return this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x1ff)](_0x13693f)?this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x2de)](_0x13693f)[_0x1f7dfd(0x24e)]:this[_0x1f7dfd(0x213)][_0x1f7dfd(0x2a6)](_0x1b47d1[_0x1f7dfd(0x203)](_0x1ab3e1=>_0x1ab3e1['unitID']===_0x13693f),_0x1b47d1[_0x1f7dfd(0x335)](_0x352739=>_0x352739[_0x1f7dfd(0x24e)]));}[_0x37c2de(0x133)](){const _0x269c8b=_0x37c2de;this[_0x269c8b(0x332)][_0x269c8b(0x1cc)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x112)])[_0x269c8b(0x2a6)](_0x1b47d1['takeUntil'](this[_0x269c8b(0x16c)]))[_0x269c8b(0x196)](async _0xe87b4d=>{const _0x215032=_0x269c8b,_0x125500=_0xe87b4d[_0x215032(0x278)](),_0x422446=await this[_0x215032(0x265)](_0x125500);this['_entityInit$'][_0x215032(0x38e)](_0x422446),this['_entities']['set'](_0x125500,_0x422446);}),this['_univerInstanceService'][_0x269c8b(0x1cc)](_0x396f24['UniverInstanceType'][_0x269c8b(0x15f)])[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this[_0x269c8b(0x16c)]))['pipe'](_0x1b47d1[_0x269c8b(0x203)](_0x23c345=>!_0x23c345['getUnitId']()[_0x269c8b(0x36d)]('__')))['subscribe'](async _0x25aa1f=>{const _0x55adee=_0x269c8b,_0x1f23ff=_0x25aa1f[_0x55adee(0x278)](),_0x215e56=await this[_0x55adee(0x232)](_0x1f23ff);this['_entityInit$'][_0x55adee(0x38e)](_0x215e56),this[_0x55adee(0x1e6)][_0x55adee(0x117)](_0x1f23ff,_0x215e56);}),_0x1b47d1['merge'](this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x15f)]),this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)]['UNIVER_SHEET']))[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this['dispose$']))[_0x269c8b(0x196)](_0x6fe6bd=>{const _0x3dacf9=_0x269c8b,_0x16cc80=_0x6fe6bd['getUnitId'](),_0x5161c4=this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2de)](_0x16cc80);_0x5161c4&&(_0x5161c4['dispose'](),this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2b2)](_0x16cc80));});}async[_0x37c2de(0x265)](_0x38645a){const _0x7cdc54=_0x37c2de,_0x58c539=await this['_collabSessionService'][_0x7cdc54(0x14a)](_0x38645a),_0x2963ba=this['_injector'][_0x7cdc54(0x35a)](_0x33c9da,_0x38645a,_0x58c539);return _0x2963ba['init'](),_0x2963ba;}async[_0x37c2de(0x232)](_0x3faab7){const _0x229eaa=_0x37c2de,_0x7ddba7=await this[_0x229eaa(0x2be)]['requireSession'](_0x3faab7),_0x11e31c=this[_0x229eaa(0x212)]['createInstance'](_0x2f7eb2,_0x3faab7,_0x7ddba7);return _0x11e31c[_0x229eaa(0x337)](),_0x11e31c;}};_0x1789a5=_0x56ccfa([_0x3a4afb(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x3a4afb(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x3a4afb(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003['CollaborationSessionService']))],_0x1789a5);const _0x5d6f4f=0x14,_0x8392c1=0xc8,_0x48b8e6=0x4,_0x2ac0cb=0x5;function _0x1e19b6(_0x4c0a82,_0x11d313){const _0x4a9331=_0x37c2de;let {radius:_0x5eea0e,width:_0x355392,height:_0x598e28}=_0x11d313;_0x5eea0e=_0x5eea0e!=null?_0x5eea0e:0x0,_0x355392=_0x355392!=null?_0x355392:0x1e,_0x598e28=_0x598e28!=null?_0x598e28:0x1e;let _0x47ef8f=0x0,_0x36059a=0x0,_0x4cf507=0x0;_0x47ef8f=_0x36059a=_0x4cf507=Math[_0x4a9331(0x2fb)](_0x5eea0e,_0x355392/0x2,_0x598e28/0x2),_0x4c0a82[_0x4a9331(0x28f)](),_0x4c0a82[_0x4a9331(0x352)](_0x47ef8f,0x0),_0x4c0a82[_0x4a9331(0x28c)](_0x355392-_0x36059a,0x0),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x36059a,_0x36059a,_0x36059a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c0a82[_0x4a9331(0x28c)](_0x355392,_0x598e28-_0x4cf507),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x4cf507,_0x598e28-_0x4cf507,_0x4cf507,0x0,Math['PI']/0x2,!0x1),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x598e28),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x47ef8f),_0x4c0a82['arc'](_0x47ef8f,_0x47ef8f,_0x47ef8f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c0a82[_0x4a9331(0x387)](),_0x11d313[_0x4a9331(0x1bd)]&&(_0x4c0a82['save'](),_0x4c0a82[_0x4a9331(0x169)]=_0x11d313[_0x4a9331(0x1bd)],_0x11d313[_0x4a9331(0x17f)]===_0x4a9331(0x113)?_0x4c0a82[_0x4a9331(0x1bd)](_0x4a9331(0x113)):_0x4c0a82[_0x4a9331(0x1bd)](),_0x4c0a82['restore']());}class _0xc354e extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x33a71d,_0x4746cd){const _0x3d659d=_0x37c2de;super(_0x33a71d,_0x4746cd),_0x425380(this,_0x3d659d(0x187)),_0x425380(this,_0x3d659d(0x27d)),(this[_0x3d659d(0x187)]=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x187)],this['text']=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x27d)]);}static[_0x37c2de(0x380)](_0x4b0e42,_0x163019){const _0x18da10=_0x37c2de,{text:_0x5afbe6,color:_0x15d4ca}=_0x163019;_0x4b0e42[_0x18da10(0x1d3)](),_0x4b0e42['font']=_0x18da10(0x33d);const _0x11e723=_0x4b0e42[_0x18da10(0xfc)](_0x5afbe6)[_0x18da10(0x356)],_0x3f16ba=Math[_0x18da10(0x2fb)](_0x11e723+0x2*_0x48b8e6,_0x8392c1);_0x1e19b6(_0x4b0e42,{'height':_0x5d6f4f,'radius':0x4,'width':_0x3f16ba,'fill':_0x15d4ca}),_0x4b0e42[_0x18da10(0x169)]='#FFF';const _0x3cc5a3=_0x48b8e6,_0x580dfd=_0x5d6f4f-_0x2ac0cb,_0x143e71=_0x8392c1-0x2*_0x48b8e6;if(_0x11e723>_0x143e71){let _0x27b81b='',_0x441e68=0x0;for(const _0x48171e of _0x5afbe6){const _0x23fac6=_0x4b0e42[_0x18da10(0xfc)](_0x48171e)[_0x18da10(0x356)];if(_0x441e68+_0x23fac6<=_0x143e71-_0x4b0e42['measureText'](_0x18da10(0x132))[_0x18da10(0x356)])_0x27b81b+=_0x48171e,_0x441e68+=_0x23fac6;else{_0x27b81b+=_0x18da10(0x132);break;}}_0x4b0e42[_0x18da10(0x2d4)](_0x27b81b,_0x3cc5a3,_0x580dfd);}else _0x4b0e42[_0x18da10(0x2d4)](_0x5afbe6,_0x3cc5a3,_0x580dfd);_0x4b0e42[_0x18da10(0x21c)]();}[_0x37c2de(0x17d)](_0x11f246){_0xc354e['drawWith'](_0x11f246,this);}}const _0x2b7ae8=_0x37c2de(0x328),_0x92394e=_0x37c2de(0x161),_0x4810f5=_0x37c2de(0x107),_0x24e0e1=0x6,_0xc0b8f9=1.5,_0x525ad2=0x4,_0x40b95e=1.5,_0x4e3754=_0x37c2de(0x165);class _0xdfcf27{constructor(_0x25bbde,_0x4f3d37,_0x55a896,_0x189d48){const _0x1c4951=_0x37c2de;_0x425380(this,_0x1c4951(0x15a),[]),_0x425380(this,'_anchor',null),_0x425380(this,_0x1c4951(0x279),null),_0x425380(this,_0x1c4951(0x21d),null),_0x425380(this,_0x1c4951(0x2f0),null),_0x425380(this,'_eventUnsubscribe',null),(this[_0x1c4951(0x138)]=_0x25bbde,this[_0x1c4951(0x346)]=_0x4f3d37,this[_0x1c4951(0x19e)]=_0x55a896,this['_document']=_0x189d48,this[_0x1c4951(0x1f9)]());}set[_0x37c2de(0x1d9)](_0x438265){const _0x15215f=_0x37c2de;_0x438265?(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)][_0x15215f(0x174)](),this[_0x15215f(0x279)]&&this['_textBubble']['show']()):(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)]['show'](),this[_0x15215f(0x279)]&&this[_0x15215f(0x279)][_0x15215f(0x174)]());}['dispose'](){const _0x48ddfe=_0x37c2de;for(const _0x4d931c of this['_shapes'])_0x4d931c[_0x48ddfe(0x254)]();this[_0x48ddfe(0x279)]&&this[_0x48ddfe(0x279)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x21d)]&&this[_0x48ddfe(0x21d)]['dispose'](),this[_0x48ddfe(0x2c0)]&&this[_0x48ddfe(0x2c0)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x2a2)]&&this[_0x48ddfe(0x2a2)]();}[_0x37c2de(0x1f9)](){const _0x4c9fed=_0x37c2de;var _0x2768e6;const {_docSkeleton:_0x448681,_document:_0x110594}=this,{color:_0x3a30c4,name:_0x5e0c31,ranges:_0x347431}=this[_0x4c9fed(0x138)],_0x594f7b=_0x110594[_0x4c9fed(0x2c9)](),{docsLeft:_0x3fd6e5,docsTop:_0x596b68}=_0x594f7b,_0x4ec237=new _0x2752ff[(_0x4c9fed(0x26c))](_0x594f7b,_0x448681);for(const {startOffset:_0x1bacae,endOffset:_0x321862,rangeType:_0x4d2319,segmentId:_0x1c8eeb,segmentPage:_0x80dce4,collapsed:_0x17a1ed,isActive:_0x273962}of _0x347431){const _0x3960be=_0x448681[_0x4c9fed(0x16f)](_0x1bacae,!0x0,_0x1c8eeb,_0x80dce4);let _0x4fef0a=_0x448681[_0x4c9fed(0x16f)](_0x321862,!0x0,_0x1c8eeb,_0x80dce4);if(_0x4fef0a==null&&(_0x4fef0a=_0x448681['findNodePositionByCharIndex'](_0x321862-0x1,!0x1,_0x1c8eeb,_0x80dce4)),_0x273962){const {contentBoxPointGroup:_0x60f9c8}=_0x4ec237['getRangePointData'](_0x4fef0a,_0x4fef0a);if(_0x60f9c8[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x221)](_0x3a30c4,_0x60f9c8,_0x3fd6e5,_0x596b68,_0x5e0c31),this[_0x4c9fed(0x2a2)]=this[_0x4c9fed(0x2db)]();}if(_0x3960be&&_0x4fef0a){if(_0x4d2319===_0x396f24['DOC_RANGE_TYPE'][_0x4c9fed(0x1e0)]){const _0x52ae4d=new _0x2752ff[(_0x4c9fed(0x18f))](_0x594f7b,_0x448681),{pointGroup:_0x543e73}=(_0x2768e6=_0x52ae4d[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a))!=null?_0x2768e6:{};if(_0x543e73==null||_0x543e73[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x11c)](_0x3a30c4,_0x543e73,_0x3fd6e5,_0x596b68);}else{if(!_0x17a1ed){const {borderBoxPointGroup:_0x3705e7}=_0x4ec237[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a);if(_0x3705e7[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x21b)](_0x3a30c4,_0x3705e7,_0x3fd6e5,_0x596b68);}}}}}[_0x37c2de(0x221)](_0x591a73,_0x190807,_0x522586,_0x522984,_0x4de9de){const _0x1d44cb=_0x37c2de,_0xda7a57=this[_0x1d44cb(0x17e)](_0x190807),{left:_0x258e2b,top:_0x4b3fb4,height:_0x172fc1}=_0xda7a57,_0x36cc47=this[_0x1d44cb(0x1ae)](),_0x399799=_0x40b95e/_0x36cc47,_0x414358=new _0x5841f7[(_0x1d44cb(0x20d))](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984,'height':_0x172fc1,'width':_0xc0b8f9,'fill':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'strokeWidth':_0x399799,'stroke':_0x4e3754,'evented':!0x0});this[_0x1d44cb(0x2c0)]=_0x414358,this['_scene'][_0x1d44cb(0x211)](_0x414358,_0x2752ff[_0x1d44cb(0x349)]);const _0x281a8c=new _0x5841f7['Rect'](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x525ad2/0x2,'height':_0x525ad2,'width':_0x525ad2,'fill':_0x591a73||_0x5841f7['getColor'](_0x396f24[_0x1d44cb(0x26b)][_0x1d44cb(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'evented':!0x1});this[_0x1d44cb(0x21d)]=_0x281a8c,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x281a8c,_0x2752ff[_0x1d44cb(0x349)]);const _0x1e69e8=new _0xc354e(_0x2b7ae8+_0x396f24['generateRandomId'](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x5d6f4f,'text':_0x4de9de,'color':_0x591a73});this[_0x1d44cb(0x279)]=_0x1e69e8,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x1e69e8,_0x2752ff[_0x1d44cb(0x349)]),this[_0x1d44cb(0x1d9)]=!0x1;}[_0x37c2de(0x2db)](){const _0x527321=_0x37c2de,_0x282d8b=this[_0x527321(0x2c0)][_0x527321(0x115)][_0x527321(0x137)](()=>{const _0x3d3bca=_0x527321;this[_0x3d3bca(0x1d9)]=!0x0;}),_0x567280=this[_0x527321(0x2c0)][_0x527321(0x163)][_0x527321(0x137)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x28e680=_0x527321;_0x282d8b[_0x28e680(0x2b8)](),_0x567280[_0x28e680(0x2b8)]();};}[_0x37c2de(0x21b)](_0x3c00ae,_0x594286,_0x7a6678,_0x2bb3a4){const _0xc4adea=_0x37c2de,_0x33dfdd=new _0x396f24[(_0xc4adea(0x1d6))](_0x3c00ae)['setAlpha'](0.2)[_0xc4adea(0x377)](),_0x225020=new _0x5841f7[(_0xc4adea(0x215))](_0x92394e+_0x396f24[_0xc4adea(0x298)](_0x24e0e1),{'pointsGroup':_0x594286,'fill':_0x33dfdd||_0x5841f7[_0xc4adea(0x2bd)](_0x396f24[_0xc4adea(0x26b)][_0xc4adea(0x288)],0.2),'left':_0x7a6678,'top':_0x2bb3a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc4adea(0x15a)]['push'](_0x225020),this[_0xc4adea(0x346)][_0xc4adea(0x211)](_0x225020,_0x2752ff[_0xc4adea(0x349)]);}[_0x37c2de(0x11c)](_0x57d9b3,_0x51e7e4,_0x464a9a,_0x44915a){const _0x55d63b=_0x37c2de,_0x73c4e3=new _0x396f24[(_0x55d63b(0x1d6))](_0x57d9b3)['setAlpha'](0.2)[_0x55d63b(0x377)](),_0xec15a=new _0x5841f7[(_0x55d63b(0x215))](_0x4810f5+_0x396f24[_0x55d63b(0x298)](_0x24e0e1),{'pointsGroup':_0x51e7e4,'fill':_0x73c4e3||_0x5841f7[_0x55d63b(0x2bd)](_0x396f24[_0x55d63b(0x26b)]['black'],0.2),'left':_0x464a9a,'top':_0x44915a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x55d63b(0x20f)](_0xec15a),this[_0x55d63b(0x346)][_0x55d63b(0x211)](_0xec15a,_0x2752ff[_0x55d63b(0x349)]);}[_0x37c2de(0x17e)](_0x1aff78){const _0xfa37=_0x1aff78[0x0],_0x5f14f4=_0xfa37[0x0],_0x222821=_0xfa37[0x2],{x:_0x3fb123,y:_0x33fd8a}=_0x5f14f4,{x:_0x26ec63,y:_0x2c5b8f}=_0x222821;return{'left':_0x3fb123,'top':_0x33fd8a,'width':_0x26ec63-_0x3fb123,'height':_0x2c5b8f-_0x33fd8a};}['_getScale'](){const _0x89c8e5=_0x37c2de,{scaleX:_0x3fcfdf,scaleY:_0x3fbabe}=this['_scene'][_0x89c8e5(0x223)]();return Math[_0x89c8e5(0x238)](_0x3fcfdf,_0x3fbabe);}}var _0x16d347=Object['getOwnPropertyDescriptor'],_0x144ec0=(_0x7b96c6,_0xd9a90c,_0x3f9c36,_0x457e3e)=>{const _0x1dc2f3=_0x37c2de;for(var _0x3e4bb1=_0x457e3e>0x1?void 0x0:_0x457e3e?_0x16d347(_0xd9a90c,_0x3f9c36):_0xd9a90c,_0x119b71=_0x7b96c6[_0x1dc2f3(0x2c4)]-0x1,_0x5cf246;_0x119b71>=0x0;_0x119b71--)(_0x5cf246=_0x7b96c6[_0x119b71])&&(_0x3e4bb1=_0x5cf246(_0x3e4bb1)||_0x3e4bb1);return _0x3e4bb1;},_0x49ed37=(_0x5c3e1b,_0x339e24)=>(_0x1fa8fd,_0x249b41)=>_0x339e24(_0x1fa8fd,_0x249b41,_0x5c3e1b);let _0x48bb14=class extends _0x396f24['RxDisposable']{constructor(_0x2583d0,_0x49ec43,_0x210f9f,_0x20dcf0,_0x45ffb7){const _0x388f16=_0x37c2de;super(),_0x425380(this,_0x388f16(0x1ac),[]),_0x425380(this,_0x388f16(0x303),[]),(this[_0x388f16(0x1a7)]=_0x2583d0,this['_docSkeletonManagerService']=_0x49ec43,this[_0x388f16(0x2ee)]=_0x210f9f,this[_0x388f16(0x30c)]=_0x20dcf0,this[_0x388f16(0x199)]=_0x45ffb7,this['_init']());}[_0x37c2de(0x133)](){const _0x34d8d9=_0x37c2de,_0x482c1a=this[_0x34d8d9(0x1a7)]['unitId'],_0x476cd2=this[_0x34d8d9(0x172)];this[_0x34d8d9(0x1c4)](_0x1b47d1['combineLatest']([this[_0x34d8d9(0x2ee)]['getCollabCursors$'](_0x482c1a),this[_0x34d8d9(0x199)][_0x34d8d9(0x1de)]])[_0x34d8d9(0x2a6)](_0x19b639[_0x34d8d9(0x379)](([_0x359b8c,_0x57cee2])=>({'skeleton':_0x476cd2['getSkeleton'](),'cursors':[..._0x359b8c[_0x34d8d9(0x386)]()]['flatMap'](_0x4966be=>({..._0x4966be,'color':this[_0x34d8d9(0x199)]['getColorFromTheme'](_0x4966be[_0x34d8d9(0x187)])}))})))[_0x34d8d9(0x196)](_0x2ae3e3=>{const _0x1c2127=_0x34d8d9;if(this['_removeCollabCursors'](),_0x2ae3e3){const {skeleton:_0x363d52,cursors:_0xeb1a77}=_0x2ae3e3;this[_0x1c2127(0x166)](_0x363d52,_0xeb1a77);}})),this[_0x34d8d9(0x2ed)](),this[_0x34d8d9(0x13d)]();}['_updateCollabCursors'](_0xbfdef,_0x2b4def){const _0x24dca5=_0x37c2de,{scene:_0x4b60f9,mainComponent:_0x2b2e62}=this[_0x24dca5(0x1a7)],_0x45d90d=_0x2b4def[_0x24dca5(0x379)](_0x90c718=>new _0xdfcf27(_0x90c718,_0x4b60f9,_0xbfdef,_0x2b2e62));this[_0x24dca5(0x1ac)]=_0x45d90d,this[_0x24dca5(0x303)]=_0x2b4def;}['_refreshCollabCursors'](){const _0x1399cf=_0x37c2de;this[_0x1399cf(0x2bf)]();const {scene:_0x37d2bd,mainComponent:_0x3798e3}=this['_context'],_0x51e5fc=this['_docSkeletonManagerService'][_0x1399cf(0x304)](),_0x46ee88=this[_0x1399cf(0x303)][_0x1399cf(0x379)](_0x360471=>new _0xdfcf27(_0x360471,_0x37d2bd,_0x51e5fc,_0x3798e3));this[_0x1399cf(0x1ac)]=_0x46ee88;}[_0x37c2de(0x2bf)](){const _0x585060=_0x37c2de;this[_0x585060(0x1ac)][_0x585060(0x217)](_0x2ed549=>_0x2ed549[_0x585060(0x254)]()),this['_cursorShapes']=[];}[_0x37c2de(0x13d)](){const _0x199869=_0x37c2de,_0x42df51=[_0x2752ff[_0x199869(0x1ea)]['id']];this[_0x199869(0x1c4)](this[_0x199869(0x30c)]['onCommandExecuted'](_0x2b4d5a=>{const _0x526582=_0x199869;_0x42df51[_0x526582(0x37d)](_0x2b4d5a['id'])&&_0x2b4d5a['params'][_0x526582(0x22b)]===this[_0x526582(0x1a7)][_0x526582(0x22b)]&&this[_0x526582(0x15d)]();}));}['_initResize'](){const _0xb5cb22=_0x37c2de;this[_0xb5cb22(0x1c4)](_0x396f24[_0xb5cb22(0x321)](this[_0xb5cb22(0x1a7)]['engine']['onTransformChange$'])['pipe'](_0x19b639['filter'](_0x4727f3=>_0x4727f3['type']===_0x5841f7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0xb5cb22(0x1eb)]),_0x19b639[_0xb5cb22(0x170)](0x10))[_0xb5cb22(0x196)](()=>{const _0x5bc330=_0xb5cb22;this[_0x5bc330(0x15d)]();}));}};_0x48bb14=_0x144ec0([_0x49ed37(0x1,_0x396f24[_0x37c2de(0x15e)](_0x54b913['DocSkeletonManagerService'])),_0x49ed37(0x2,_0x396f24[_0x37c2de(0x15e)](_0x1789a5)),_0x49ed37(0x3,_0x396f24[_0x37c2de(0x1a6)]),_0x49ed37(0x4,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x48bb14);const _0x40bef3=0x1,_0x1fc4be=1.5;class _0x170b20 extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x234691,_0x2ecb5a){const _0xf7b389=_0x37c2de;super(_0x234691,_0x2ecb5a),_0x425380(this,'_color'),_0x425380(this,'_hovered',!0x1),_0x425380(this,_0xf7b389(0x358)),_0x425380(this,_0xf7b389(0x16b),''),_0x425380(this,_0xf7b389(0x1b8),_0xf7b389(0x193)),_0x425380(this,_0xf7b389(0x2f9)),(_0x2ecb5a&&this[_0xf7b389(0x389)](_0x2ecb5a),this[_0xf7b389(0x115)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xf7b389(0x163)][_0xf7b389(0x137)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x37c2de(0x389)](_0x1428f0){const _0x4581d6=_0x37c2de;var _0xb842ef,_0x1251ee,_0x29d8c7,_0x41f5c9,_0x207797,_0x4cd246;this[_0x4581d6(0x2d8)]=(_0xb842ef=_0x1428f0[_0x4581d6(0x187)])!=null?_0xb842ef:this[_0x4581d6(0x2d8)],this[_0x4581d6(0x1af)]=(_0x1251ee=_0x1428f0['hovered'])!=null?_0x1251ee:this['_hovered'],this[_0x4581d6(0x358)]=(_0x29d8c7=_0x1428f0[_0x4581d6(0x274)])!=null?_0x29d8c7:this[_0x4581d6(0x358)],this['_name']=(_0x41f5c9=_0x1428f0[_0x4581d6(0x1cf)])!=null?_0x41f5c9:this[_0x4581d6(0x16b)],this[_0x4581d6(0x1b8)]=(_0x207797=_0x1428f0[_0x4581d6(0x395)])!=null?_0x207797:this['_labelPosition'],this[_0x4581d6(0x2f9)]=(_0x4cd246=_0x1428f0[_0x4581d6(0x320)])!=null?_0x4cd246:this['_backgroundColor'],this[_0x4581d6(0x24f)]({'width':_0x1428f0[_0x4581d6(0x356)],'height':_0x1428f0[_0x4581d6(0x175)]});}[_0x37c2de(0x151)](_0x1f80ff){const _0x106863=_0x37c2de,{row:_0x177b3d,column:_0x5c2dab}=_0x1f80ff;if(_0x177b3d>=this['_range']['startRow']&&_0x177b3d<=this[_0x106863(0x358)][_0x106863(0x2e8)]&&_0x5c2dab>=this[_0x106863(0x358)]['startColumn']&&_0x5c2dab<=this[_0x106863(0x358)][_0x106863(0x31b)]){this[_0x106863(0x389)]({'hovered':!0x0});return;}this[_0x106863(0x389)]({'hovered':!0x1});}[_0x37c2de(0x1ee)](_0x403fd9){return!0x1;}[_0x37c2de(0x17d)](_0x4fa484){const _0x58f25b=_0x37c2de;_0x5841f7[_0x58f25b(0x20d)][_0x58f25b(0x380)](_0x4fa484,{'width':this[_0x58f25b(0x356)],'height':this[_0x58f25b(0x175)],'strokeWidth':_0x1fc4be,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x58f25b(0x2f9)]}),this[_0x58f25b(0x1af)]&&(_0x4fa484['save'](),_0x4fa484[_0x58f25b(0x330)](0x1,0x0,0x0,0x1,this[_0x58f25b(0x356)],this[_0x58f25b(0x1b8)]===_0x58f25b(0x126)?0x0:-_0x5d6f4f),_0xc354e[_0x58f25b(0x380)](_0x4fa484,{'text':this[_0x58f25b(0x16b)],'color':this[_0x58f25b(0x2d8)]}),_0x4fa484[_0x58f25b(0x21c)]());}}var _0x1642a1=Object[_0x37c2de(0x1ca)],_0x2e712a=(_0x3fe09d,_0x1ed4b8,_0x48b15e,_0x2e9b54)=>{const _0x5a07ac=_0x37c2de;for(var _0x37c943=_0x2e9b54>0x1?void 0x0:_0x2e9b54?_0x1642a1(_0x1ed4b8,_0x48b15e):_0x1ed4b8,_0x10b18d=_0x3fe09d[_0x5a07ac(0x2c4)]-0x1,_0x53bbfc;_0x10b18d>=0x0;_0x10b18d--)(_0x53bbfc=_0x3fe09d[_0x10b18d])&&(_0x37c943=_0x53bbfc(_0x37c943)||_0x37c943);return _0x37c943;},_0x50b8c5=(_0x45f12d,_0x22ab2d)=>(_0xece192,_0x27b0a6)=>_0x22ab2d(_0xece192,_0x27b0a6,_0x45f12d);const _0xba5d7a=0x1389;let _0x29d0ef=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x2acfbf,_0x59ccd1,_0x176958,_0x194d72){const _0x4c72eb=_0x37c2de;super(),_0x425380(this,_0x4c72eb(0x303),new Set()),_0x425380(this,_0x4c72eb(0x1d1),null),(this[_0x4c72eb(0x1a7)]=_0x2acfbf,this[_0x4c72eb(0x1ab)]=_0x59ccd1,this[_0x4c72eb(0x2ee)]=_0x176958,this[_0x4c72eb(0x199)]=_0x194d72,this[_0x4c72eb(0x133)]());}['_init'](){const _0x2106e7=_0x37c2de;this[_0x2106e7(0x1ab)]['currentSkeleton$'][_0x2106e7(0x2a6)](_0x19b639['takeUntil'](this[_0x2106e7(0x16c)]),_0x19b639[_0x2106e7(0x335)](_0x2e2623=>{const _0x752d96=_0x2106e7;if(_0x2e2623){const _0x2a0334=_0x2e2623[_0x752d96(0x12d)];return _0x1b47d1[_0x752d96(0x1e4)](this[_0x752d96(0x2ee)]['getCollabCursors$'](this['_context'][_0x752d96(0x22b)]),this['_themeService'][_0x752d96(0x1de)])[_0x752d96(0x2a6)](_0x19b639['map'](([_0x14a8d0,_0x39bcc1])=>{const _0x1f9396=_0x752d96,_0x3ef42e=new Map();return _0x14a8d0[_0x1f9396(0x217)]((_0x514af9,_0x5954e9)=>{const _0x45ff57=_0x1f9396;if(_0x514af9[_0x45ff57(0x13c)]===_0x2a0334){const _0x3492b3={..._0x514af9};_0x3492b3['color']=this['_themeService'][_0x45ff57(0x270)](_0x514af9['color']),_0x3ef42e[_0x45ff57(0x117)](_0x5954e9,_0x3492b3);}}),{'skeleton':_0x2e2623,'cursors':_0x3ef42e};}));}return _0x1b47d1['of']({'skeleton':null,'cursors':new Map()});}))[_0x2106e7(0x196)](({skeleton:_0x52253c,cursors:_0x5bd54c})=>{const _0x4e1ad4=_0x2106e7;this[_0x4e1ad4(0x2bf)](),_0x52253c&&this['_updateCollabCursors'](_0x52253c,_0x5bd54c);}),this[_0x2106e7(0x1ab)][_0x2106e7(0x104)]['subscribe'](_0x49bc08=>{const _0x50af41=_0x2106e7;if(_0x49bc08==null)return;const {skeleton:_0x2911a7}=_0x49bc08,{scene:_0xa9ec0b}=this[_0x50af41(0x1a7)];_0xa9ec0b[_0x50af41(0x18c)]['subscribeEvent'](_0x396f24['debounce'](_0x283b78=>{const _0x275fa6=_0x50af41;var _0x36c624,_0x30a79d;const {offsetX:_0x477cf8,offsetY:_0x198536}=_0x283b78,{x:_0x3fc20b,y:_0x1b3423}=_0xa9ec0b[_0x275fa6(0x378)](_0x5841f7['Vector2'][_0x275fa6(0x255)]([_0x477cf8,_0x198536])),{scaleX:_0x2b091f,scaleY:_0x1cf5cb}=_0xa9ec0b[_0x275fa6(0x223)](),_0x1a3944=_0xa9ec0b[_0x275fa6(0x268)](_0x5841f7[_0x275fa6(0x384)][_0x275fa6(0x114)]),_0x30a6f3=_0xa9ec0b['getVpScrollXYInfoByPosToVp'](_0x5841f7[_0x275fa6(0x12c)]['FromArray']([_0x3fc20b,_0x1b3423]),_0x1a3944),_0x22c312=_0x2911a7['getCellPositionByOffset'](_0x477cf8,_0x198536,_0x2b091f,_0x1cf5cb,_0x30a6f3);((_0x36c624=this['_lastPointer'])==null?void 0x0:_0x36c624[_0x275fa6(0x11f)])===_0x22c312[_0x275fa6(0x11f)]&&((_0x30a79d=this[_0x275fa6(0x1d1)])==null?void 0x0:_0x30a79d['row'])===_0x22c312['row']||this[_0x275fa6(0x303)][_0x275fa6(0x217)](_0x2f0cbc=>{const _0x8e1021=_0x275fa6;_0x2f0cbc[_0x8e1021(0x151)](_0x22c312);});},0x64));});}[_0x37c2de(0x166)](_0x4a81b2,_0x48cf92){const _0x1482b9=_0x37c2de;var _0x800bb2;const _0x51e33f=(_0x800bb2=this[_0x1482b9(0x1ab)]['getCurrent']())==null?void 0x0:_0x800bb2[_0x1482b9(0x302)];if(!_0x51e33f)return;const _0x3b648b=this[_0x1482b9(0x200)]();if(!_0x3b648b)return;this[_0x1482b9(0x303)]['forEach'](_0x3787c3=>{const _0x3ce751=_0x1482b9;_0x3787c3[_0x3ce751(0x100)]();});const {scene:_0x38505e}=_0x3b648b,_0x8b37ff=_0x129ffa(Array[_0x1482b9(0x1f8)](_0x48cf92[_0x1482b9(0x386)]()))[_0x1482b9(0x379)](_0x32b12a=>{const _0xb5f93=_0x1482b9,{color:_0x86f767,range:_0x1375b5,name:_0x2cead9,selection:_0x3ff80c,sheetID:_0x1793e9}=_0x32b12a,{startColumn:_0x87ab64,startRow:_0x536d66,endColumn:_0x162931,endRow:_0x184c29}=_0x1375b5,_0x4fe663=_0x39a301['getCoordByCell'](_0x536d66,_0x87ab64,_0x38505e,_0x51e33f),_0x125bc0=_0x39a301['getCoordByCell'](_0x184c29,_0x162931,_0x38505e,_0x51e33f),{columnHeaderHeightAndMarginTop:_0x2dc5f8}=_0x51e33f,{startX:_0x3ce638,startY:_0x29e677}=_0x4fe663,{endX:_0x1988d8,endY:_0x5c34c0}=_0x125bc0,_0x14413e=_0x1988d8-_0x3ce638,_0x4d1932=_0x5c34c0-_0x29e677,_0x1b44bc={'labelPosition':_0x29e677-_0x2dc5f8>=_0x5d6f4f?'top':_0xb5f93(0x126),'sheetID':_0x1793e9,'range':_0x1375b5,'color':_0x86f767,'name':_0x2cead9,'selection':_0x3ff80c,'left':_0x3ce638,'top':_0x29e677,'width':_0x14413e,'height':_0x4d1932,'evented':!0x1,'zIndex':_0xba5d7a};return new _0x170b20(_0x2cead9,_0x1b44bc);});_0x38505e['addObjects'](_0x8b37ff,_0x40bef3),this[_0x1482b9(0x303)]=new Set(_0x8b37ff);}[_0x37c2de(0x2bf)](){const _0x16d080=_0x37c2de;var _0x4ac4b3;(_0x4ac4b3=this[_0x16d080(0x303)])==null||_0x4ac4b3[_0x16d080(0x217)](_0x314998=>_0x314998[_0x16d080(0x254)]());}[_0x37c2de(0x200)](){const _0x1743b5=_0x37c2de;return _0x39a301[_0x1743b5(0x28a)](this[_0x1743b5(0x1a7)]['unit'],this[_0x1743b5(0x1a7)]);}};_0x29d0ef=_0x2e712a([_0x50b8c5(0x1,_0x396f24[_0x37c2de(0x15e)](_0x39a301['SheetSkeletonManagerService'])),_0x50b8c5(0x2,_0x396f24['Inject'](_0x1789a5)),_0x50b8c5(0x3,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x29d0ef);function _0x129ffa(_0x2e21b4){const _0x550c87=_0x37c2de,_0x360b13=new Map();return _0x2e21b4[_0x550c87(0x217)](_0x154544=>{const _0x40537f=_0x550c87;if(_0x360b13[_0x40537f(0x1ff)](_0x154544[_0x40537f(0x2cf)])){const _0x2445da=_0x360b13[_0x40537f(0x2de)](_0x154544[_0x40537f(0x2cf)]);_0x2445da['name']+=',\x20'+_0x154544[_0x40537f(0x1cf)];}else _0x360b13[_0x40537f(0x117)](_0x154544[_0x40537f(0x2cf)],_0x154544);}),Array[_0x550c87(0x1f8)](_0x360b13[_0x550c87(0x386)]());}var _0x2f1b16=Object[_0x37c2de(0x1ca)],_0xb02059=(_0x13c39b,_0x3a243b,_0x5de078,_0xa1c58c)=>{const _0xa08fa8=_0x37c2de;for(var _0x3d9f82=_0xa1c58c>0x1?void 0x0:_0xa1c58c?_0x2f1b16(_0x3a243b,_0x5de078):_0x3a243b,_0x14cff9=_0x13c39b[_0xa08fa8(0x2c4)]-0x1,_0x227916;_0x14cff9>=0x0;_0x14cff9--)(_0x227916=_0x13c39b[_0x14cff9])&&(_0x3d9f82=_0x227916(_0x3d9f82)||_0x3d9f82);return _0x3d9f82;},_0x3a0206=(_0xd2b64d,_0x32b3d9)=>(_0x27b0c5,_0x9a184a)=>_0x32b3d9(_0x27b0c5,_0x9a184a,_0xd2b64d);let _0x2f45ed=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x305490,_0x581fee,_0x55f8cd,_0x808aa6,_0x521823,_0x1df101){const _0x24432f=_0x37c2de;super(),this[_0x24432f(0x2d1)]=_0x305490,this[_0x24432f(0x1ad)]=_0x581fee,this[_0x24432f(0x13f)]=_0x55f8cd,this[_0x24432f(0x102)]=_0x808aa6,this[_0x24432f(0x2f3)]=_0x521823,this[_0x24432f(0x248)]=_0x1df101,this[_0x24432f(0x22f)](),this['_initEvent']();}[_0x37c2de(0x22f)](){const _0x386ca2=_0x37c2de;this['disposeWithMe'](this[_0x386ca2(0x2d1)][_0x386ca2(0x18d)](()=>{const _0x5aa78c=_0x386ca2;if(this[_0x5aa78c(0x1ad)]['saveTaskMap'][_0x5aa78c(0x38d)])return this[_0x5aa78c(0x248)]['t'](_0x5aa78c(0x354));}));}[_0x37c2de(0x2ad)](){const _0x245fce=_0x37c2de;this[_0x245fce(0x1c4)](this[_0x245fce(0x13f)][_0x245fce(0x2c5)][_0x245fce(0x196)](_0x4f5cce=>{const _0x53f8e9=_0x245fce;_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)]['OTHER_CLIENT_EDITING']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1d0))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x31a)]&&this['_messageService'][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x37f)]&&this[_0x53f8e9(0x2f3)][_0x53f8e9(0x10e)]({'title':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x120)),'content':this[_0x53f8e9(0x248)]['t']('permission.content'),'type':_0x53f8e9(0x1b6),'duration':0x0}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x2fc)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431['MessageType'][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))+'('+_0x4f5cce[_0x53f8e9(0x1f4)]+')'}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x1a9)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x4f5cce['data']||'')}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x181)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)]['Warning'],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x21f))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x32d)]&&this[_0x53f8e9(0x102)]['show']({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1a3))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t']('session.collaboration-timeout')});}));}};_0x2f45ed=_0xb02059([_0x3a0206(0x0,_0x39278b[_0x37c2de(0x260)]),_0x3a0206(0x1,_0x27b003[_0x37c2de(0x22a)]),_0x3a0206(0x2,_0x396f24['Inject'](_0x27b003['CollaborationUIEventService'])),_0x3a0206(0x3,_0x39278b[_0x37c2de(0x24b)]),_0x3a0206(0x4,_0x39278b[_0x37c2de(0x364)]),_0x3a0206(0x5,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0x2f45ed);const _0x142d73='collaboration-client-ui.config',_0x548d5a={};var _0x148df8=Object[_0x37c2de(0x1ca)],_0x3a68f0=(_0x2adc35,_0x157dc9,_0x4645f8,_0x3eab63)=>{const _0x2adb35=_0x37c2de;for(var _0x1cde7a=_0x3eab63>0x1?void 0x0:_0x3eab63?_0x148df8(_0x157dc9,_0x4645f8):_0x157dc9,_0x1b5b8a=_0x2adc35[_0x2adb35(0x2c4)]-0x1,_0x235185;_0x1b5b8a>=0x0;_0x1b5b8a--)(_0x235185=_0x2adc35[_0x1b5b8a])&&(_0x1cde7a=_0x235185(_0x1cde7a)||_0x1cde7a);return _0x1cde7a;},_0x4bf907=(_0x206016,_0x33e3d6)=>(_0x164425,_0x2fe118)=>_0x33e3d6(_0x164425,_0x2fe118,_0x206016);let _0x59c018=class{constructor(_0x307101,_0x20a328){const _0xdfad5f=_0x37c2de;this[_0xdfad5f(0x1fd)]=_0x307101,this[_0xdfad5f(0x1b7)]=_0x20a328;}[_0x37c2de(0x16d)](_0x29496b){this['_transformUndoRedoStack'](_0x29496b),this['_transformPreviousActiveRange'](_0x29496b);}[_0x37c2de(0x2d0)](_0x3a631e){const _0x3a7266=_0x37c2de,{unitID:_0x267d1c}=_0x3a631e,_0x4a0d18=this['_renderManagerService']['getRenderById'](_0x267d1c)[_0x3a7266(0x244)](_0x2752ff[_0x3a7266(0x1b0)]),{redoCache:_0x4b29e7}=_0x4a0d18[_0x3a7266(0x149)]();if(_0x4b29e7[_0x3a7266(0x2c4)]===0x0)return _0x3a631e;let _0xfda147=_0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e[_0x3a7266(0x325)][0x0]);for(let _0x233b5b=0x0;_0x233b5b<_0x4b29e7[_0x3a7266(0x2c4)];_0x233b5b++){const _0x1c600a={'id':_0x3a7266(0x35f),'params':{..._0x4b29e7[_0x233b5b]}},_0x194232=this[_0x3a7266(0x1fd)][_0x3a7266(0x1e2)](_0xfda147,_0x1c600a,!0x1);if(_0x19f9e8[_0x3a7266(0x375)](_0x194232))throw _0x194232[_0x3a7266(0x1b6)];_0xfda147=_0x194232[_0x3a7266(0x154)];}return{..._0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e),'mutations':[_0xfda147]};}['_transformUndoRedoStack'](_0x4cd145){const _0x807582=_0x37c2de,{unitID:_0x2135a2}=_0x4cd145,_0x50b66e=this[_0x807582(0x1b7)]['getRenderById'](_0x2135a2)[_0x807582(0x244)](_0x2752ff[_0x807582(0x1b0)]),{undoCache:_0x34a9c2,redoCache:_0x49ed5b}=_0x50b66e[_0x807582(0x149)]();if(_0x34a9c2[_0x807582(0x2c4)]===0x0||_0x49ed5b['length']===0x0)return;const _0x3777dc=[],_0x43edbb=[];let _0x1e6eac=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]),_0x4ec700=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]);for(let _0x4e1c4d=_0x34a9c2['length']-0x1;_0x4e1c4d>=0x0;_0x4e1c4d--){const _0x34db58={'id':_0x807582(0x35f),'params':{..._0x34a9c2[_0x4e1c4d]}},_0x4eac6f={'id':_0x807582(0x35f),'params':{..._0x49ed5b[_0x4e1c4d]}},_0x11182b=this['_transformService'][_0x807582(0x1e2)](_0x1e6eac,_0x34db58,!0x1),_0x412bbc=this[_0x807582(0x1fd)][_0x807582(0x1e2)](_0x4ec700,_0x4eac6f,!0x1);if(_0x19f9e8[_0x807582(0x375)](_0x11182b))throw _0x11182b[_0x807582(0x1b6)];if(_0x19f9e8[_0x807582(0x375)](_0x412bbc))throw _0x412bbc[_0x807582(0x1b6)];_0x3777dc['unshift'](_0x11182b[_0x807582(0x191)][_0x807582(0x2e2)]),_0x43edbb[_0x807582(0x1d2)](_0x412bbc['m2Prime'][_0x807582(0x2e2)]),_0x1e6eac=_0x11182b[_0x807582(0x154)],_0x4ec700=_0x412bbc[_0x807582(0x154)];}_0x50b66e['setUndoRedoMutationParamsCache']({'undoCache':_0x3777dc,'redoCache':_0x43edbb});}[_0x37c2de(0x176)](_0x1ab181){const _0x4d264c=_0x37c2de,{unitID:_0x1e0139}=_0x1ab181,_0x1fc391=this[_0x4d264c(0x1b7)][_0x4d264c(0x319)](_0x1e0139)[_0x4d264c(0x244)](_0x2752ff[_0x4d264c(0x1b0)]),_0x2b2658=_0x1fc391[_0x4d264c(0x10c)]();if(_0x2b2658==null)return;const _0x20cbd3=[{'id':_0x4d264c(0x35f),'params':{'unitId':_0x1ab181['unitID'],'actions':null,'textRanges':[_0x2b2658]}}],_0x57c099=this[_0x4d264c(0x1fd)]['transformMutationsWithChangeset'](_0x1ab181,_0x20cbd3);if(!_0x19f9e8['isTransformMutationsWithChangesetSuccess'](_0x57c099))throw _0x57c099['error'];const _0x478790=_0x57c099['m2Prime'][0x0][_0x4d264c(0x2e2)][_0x4d264c(0x26e)];Array['isArray'](_0x478790)&&_0x478790['length']&&_0x1fc391[_0x4d264c(0x33b)](_0x478790[0x0]);}};_0x59c018=_0x3a68f0([_0x4bf907(0x0,_0x19f9e8['ITransformService']),_0x4bf907(0x1,_0x5841f7[_0x37c2de(0x178)])],_0x59c018);var _0x29652f=Object[_0x37c2de(0x1ca)],_0xa9caef=(_0x576fe4,_0x461c10,_0x381d2c,_0x3b3c2c)=>{const _0x46ed5b=_0x37c2de;for(var _0x2335b6=_0x3b3c2c>0x1?void 0x0:_0x3b3c2c?_0x29652f(_0x461c10,_0x381d2c):_0x461c10,_0x352067=_0x576fe4[_0x46ed5b(0x2c4)]-0x1,_0x3104d0;_0x352067>=0x0;_0x352067--)(_0x3104d0=_0x576fe4[_0x352067])&&(_0x2335b6=_0x3104d0(_0x2335b6)||_0x2335b6);return _0x2335b6;},_0x209449=(_0x54606d,_0x3d8be0)=>(_0x2af4c8,_0x416bfe)=>_0x3d8be0(_0x2af4c8,_0x416bfe,_0x54606d);let _0xd07721=class{constructor(_0x31f68f,_0x590ec9,_0x51fd28){const _0x35dd05=_0x37c2de;this['_injector']=_0x31f68f,this[_0x35dd05(0x1fd)]=_0x590ec9,this[_0x35dd05(0x122)]=_0x51fd28;}['transformStateCache'](_0x4b98ca){const _0x57d735=_0x37c2de;this[_0x57d735(0x20a)](_0x4b98ca);}[_0x37c2de(0x2d0)](_0x3be9b){const _0x57eb0a=_0x37c2de,{unitID:_0x281a53}=_0x3be9b,{collaboration:_0x4ea9c5}=this[_0x57eb0a(0x122)]['getStateCache'](_0x281a53);if(_0x4ea9c5[_0x57eb0a(0x2c4)]===0x0)return _0x3be9b;let _0xb608a4=_0x396f24[_0x57eb0a(0x2f2)]['deepClone'](_0x3be9b[_0x57eb0a(0x325)][0x0]);for(let _0x3cebab=0x0;_0x3cebab<_0x4ea9c5['length'];_0x3cebab++){const _0x573180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ea9c5[_0x3cebab][_0x57eb0a(0x22b)],..._0x4ea9c5[_0x3cebab][_0x57eb0a(0x229)]}},_0x1b7a9f=this[_0x57eb0a(0x1fd)][_0x57eb0a(0x1e2)](_0xb608a4,_0x573180,!0x1);if(_0x19f9e8[_0x57eb0a(0x375)](_0x1b7a9f))throw _0x1b7a9f['error'];_0xb608a4=_0x1b7a9f[_0x57eb0a(0x154)];}return{..._0x396f24['Tools'][_0x57eb0a(0x231)](_0x3be9b),'mutations':[_0xb608a4]};}[_0x37c2de(0x20a)](_0x88bf16){const _0x3e4d87=_0x37c2de,{unitID:_0x35feeb}=_0x88bf16,{history:_0x527bf8,collaboration:_0x4191b2}=this[_0x3e4d87(0x122)][_0x3e4d87(0x285)](_0x35feeb);if(_0x527bf8[_0x3e4d87(0x2c4)]===0x0&&_0x4191b2[_0x3e4d87(0x2c4)]===0x0)return;const _0x4430a3=[],_0x25fa3f=[];let _0x26946f=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]);for(let _0x4124b6=_0x527bf8[_0x3e4d87(0x2c4)]-0x1;_0x4124b6>=0x0;_0x4124b6--){const _0x5f52b0={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6]['undoState']}},_0x337673={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6][_0x3e4d87(0x229)]}},_0x1ed3ff=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x26946f,_0x5f52b0,!0x1),_0x9e2bd1=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x337673,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1ed3ff))throw _0x1ed3ff[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x9e2bd1))throw _0x9e2bd1[_0x3e4d87(0x1b6)];_0x4430a3[_0x3e4d87(0x1d2)]({..._0x527bf8[_0x4124b6],'undoState':_0x1ed3ff['m2Prime']['params'],'redoState':_0x9e2bd1[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1ed3ff[_0x3e4d87(0x154)],_0x3579b4=_0x9e2bd1[_0x3e4d87(0x154)];}_0x26946f=_0x396f24['Tools'][_0x3e4d87(0x231)](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)][_0x3e4d87(0x231)](_0x88bf16['mutations'][0x0]);for(let _0x16bcbf=_0x4191b2[_0x3e4d87(0x2c4)]-0x1;_0x16bcbf>=0x0;_0x16bcbf--){const _0x585e8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x2d2)]}},_0x7d72f6={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x229)]}},_0x1afae9=this[_0x3e4d87(0x1fd)]['transformMutation'](_0x26946f,_0x585e8d,!0x1),_0x538873=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x7d72f6,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1afae9))throw _0x1afae9[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x538873))throw _0x538873[_0x3e4d87(0x1b6)];_0x25fa3f[_0x3e4d87(0x1d2)]({..._0x4191b2[_0x16bcbf],'undoState':_0x1afae9[_0x3e4d87(0x191)]['params'],'redoState':_0x538873[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1afae9['m1Prime'],_0x3579b4=_0x538873[_0x3e4d87(0x154)];}this['_docStateChangeManagerService'][_0x3e4d87(0x35b)](_0x35feeb,{'history':_0x4430a3,'collaboration':_0x25fa3f});}};_0xd07721=_0xa9caef([_0x209449(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x209449(0x1,_0x19f9e8[_0x37c2de(0x38a)]),_0x209449(0x2,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)]))],_0xd07721);var _0x32a0a1=Object['getOwnPropertyDescriptor'],_0x1070f0=(_0x34aaca,_0x4dac42,_0xa54670,_0x412454)=>{const _0x678305=_0x37c2de;for(var _0x17a1ae=_0x412454>0x1?void 0x0:_0x412454?_0x32a0a1(_0x4dac42,_0xa54670):_0x4dac42,_0x4f8d56=_0x34aaca[_0x678305(0x2c4)]-0x1,_0x31ae42;_0x4f8d56>=0x0;_0x4f8d56--)(_0x31ae42=_0x34aaca[_0x4f8d56])&&(_0x17a1ae=_0x31ae42(_0x17a1ae)||_0x17a1ae);return _0x17a1ae;},_0x5a4ef4=(_0x457fbb,_0x150ced)=>(_0x46e417,_0x2c25db)=>_0x150ced(_0x46e417,_0x2c25db,_0x457fbb);let _0x341f82=class{constructor(_0x42df3b,_0x5061bf){const _0x151bed=_0x37c2de;this[_0x151bed(0x212)]=_0x42df3b,this[_0x151bed(0x1fd)]=_0x5061bf;}[_0x37c2de(0x20c)](_0x2932c7){const _0x15819b=_0x37c2de;var _0x54e230;const _0x273b8c=this['_injector'][_0x15819b(0x2de)](_0x54b913[_0x15819b(0x150)]),_0x16fcd5=(_0x54e230=_0x273b8c[_0x15819b(0x2c2)]())!=null?_0x54e230:[];if(_0x16fcd5[_0x15819b(0x2c4)]===0x0)return;const _0x3c2c01=_0x2932c7[_0x15819b(0x246)],_0x184b16=[{'id':_0x15819b(0x35f),'params':{'unitId':_0x3c2c01,'actions':null,'textRanges':_0x16fcd5}}],_0x9e2f5e=this[_0x15819b(0x1fd)][_0x15819b(0xf7)](_0x2932c7,_0x184b16);if(!_0x19f9e8[_0x15819b(0x33e)](_0x9e2f5e))throw _0x9e2f5e['error'];const _0x311ead=_0x9e2f5e[_0x15819b(0x191)][0x0]['params'][_0x15819b(0x26e)];Array['isArray'](_0x311ead)&&_0x311ead[_0x15819b(0x2c4)]&&_0x273b8c[_0x15819b(0x103)](_0x311ead,{'unitId':_0x3c2c01,'subUnitId':_0x3c2c01},!0x1);}};_0x341f82=_0x1070f0([_0x5a4ef4(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x5a4ef4(0x1,_0x19f9e8['ITransformService'])],_0x341f82);var _0x593d81=Object[_0x37c2de(0x1ca)],_0x60d22e=(_0x1d0495,_0x13af55,_0x23344b,_0x2dd308)=>{const _0x332ec3=_0x37c2de;for(var _0x2e8750=_0x2dd308>0x1?void 0x0:_0x2dd308?_0x593d81(_0x13af55,_0x23344b):_0x13af55,_0x5359a3=_0x1d0495[_0x332ec3(0x2c4)]-0x1,_0x44eef2;_0x5359a3>=0x0;_0x5359a3--)(_0x44eef2=_0x1d0495[_0x5359a3])&&(_0x2e8750=_0x44eef2(_0x2e8750)||_0x2e8750);return _0x2e8750;},_0x21f8e0=(_0x42cb29,_0x16c41b)=>(_0x22b111,_0x49ecf7)=>_0x16c41b(_0x22b111,_0x49ecf7,_0x42cb29);let _0xdc2afa=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0xed524e,_0x4a4bb0,_0x268b9f,_0xf64fa6,_0x1e50b1,_0x371235,_0x49ec60,_0x52460a){const _0x125ebf=_0x37c2de;super(),_0x425380(this,_0x125ebf(0x376),new _0x1b47d1[(_0x125ebf(0x338))](_0x27b003[_0x125ebf(0x317)]['NOT_COLLAB'])),(this[_0x125ebf(0x122)]=_0xed524e,this[_0x125ebf(0x1ec)]=_0x4a4bb0,this[_0x125ebf(0x2ff)]=_0x268b9f,this[_0x125ebf(0x289)]=_0xf64fa6,this[_0x125ebf(0x184)]=_0x1e50b1,this[_0x125ebf(0xff)]=_0x371235,this[_0x125ebf(0x102)]=_0x49ec60,this[_0x125ebf(0x248)]=_0x52460a,this[_0x125ebf(0x17c)]());}['_initEntityListener'](){const _0x2bf77a=_0x37c2de;this['disposeWithMe'](this[_0x2bf77a(0x1ec)][_0x2bf77a(0x361)]['subscribe'](_0x384f93=>{const _0x2d8b0c=_0x2bf77a,_0x45bc32=this[_0x2d8b0c(0x122)]['docStateChange$']['subscribe'](_0x3fc49e=>{const _0x422b93=_0x2d8b0c;if(_0x3fc49e==null)return;const {unitId:_0x2be6be,redoState:_0x158fc5,commandId:_0x134037}=_0x3fc49e;if(_0x2be6be!==_0x384f93[_0x422b93(0x246)])return;const _0x492063={'id':_0x134037,'type':_0x396f24[_0x422b93(0x31d)][_0x422b93(0x2ba)],'params':{'unitId':_0x2be6be,'actions':_0x158fc5[_0x422b93(0x1b4)],'textRanges':null}};_0x384f93[_0x422b93(0x299)](_0x492063);});if(_0x384f93[_0x2d8b0c(0x1c4)](_0x45bc32),_0x384f93 instanceof _0x27b003[_0x2d8b0c(0x218)]){const _0x4a5e4d={'onTransformIME':_0x56fe71=>this['_docTransformIMECacheService']['transformIMECache'](_0x56fe71),'onTransformState':_0x2e920c=>this['_docTransformStateCacheService'][_0x2d8b0c(0x204)](_0x2e920c),'onTransformSelections':_0x29c064=>this[_0x2d8b0c(0x184)][_0x2d8b0c(0x20c)](_0x29c064),'onSyncEditingCollabCursor':_0x22d7e2=>this[_0x2d8b0c(0xff)][_0x2d8b0c(0x282)](_0x22d7e2),'onTransformRemoteChangesetByIMECache':_0x10c3ae=>this[_0x2d8b0c(0x2ff)]['transformRemoteChangeset'](_0x10c3ae),'onTransformRemoteChangesetByStateCache':_0x494f7a=>this[_0x2d8b0c(0x289)]['transformRemoteChangeset'](_0x494f7a)};_0x384f93[_0x2d8b0c(0x158)](_0x4a5e4d);}}));}};_0xdc2afa=_0x60d22e([_0x21f8e0(0x0,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)])),_0x21f8e0(0x1,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x21f8e0(0x2,_0x396f24[_0x37c2de(0x15e)](_0x59c018)),_0x21f8e0(0x3,_0x396f24[_0x37c2de(0x15e)](_0xd07721)),_0x21f8e0(0x4,_0x396f24[_0x37c2de(0x15e)](_0x341f82)),_0x21f8e0(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x21f8e0(0x6,_0x39278b[_0x37c2de(0x24b)]),_0x21f8e0(0x7,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0xdc2afa);var _0x2758dc=Object[_0x37c2de(0x1ca)],_0x4f4a5b=(_0x2a07c6,_0x86e7bd,_0x552049,_0x55f6bc)=>{const _0x523b8d=_0x37c2de;for(var _0x2c343f=_0x55f6bc>0x1?void 0x0:_0x55f6bc?_0x2758dc(_0x86e7bd,_0x552049):_0x86e7bd,_0xa92453=_0x2a07c6[_0x523b8d(0x2c4)]-0x1,_0x2b68c8;_0xa92453>=0x0;_0xa92453--)(_0x2b68c8=_0x2a07c6[_0xa92453])&&(_0x2c343f=_0x2b68c8(_0x2c343f)||_0x2c343f);return _0x2c343f;},_0x4a0a5c=(_0x133b8a,_0x3261a5)=>(_0x4d0ba5,_0x296276)=>_0x3261a5(_0x4d0ba5,_0x296276,_0x133b8a);let _0x3276ed=class extends _0x396f24['Disposable']{constructor(_0x1fa0d6,_0x457f08,_0x4d3063){const _0x32d48e=_0x37c2de;super(),_0x425380(this,'_cachedData',new Map()),_0x425380(this,_0x32d48e(0x36f),new Map()),_0x425380(this,_0x32d48e(0x257),!0x1),(this[_0x32d48e(0x18a)]=_0x1fa0d6,this['_localStorageService']=_0x457f08,this[_0x32d48e(0x210)]=_0x4d3063);}[_0x37c2de(0x195)](){const _0x4ffcd7=_0x37c2de;this[_0x4ffcd7(0x257)]=!0x0;}[_0x37c2de(0x2a9)](){const _0x5dbff9=_0x37c2de;this[_0x5dbff9(0x257)]=!0x1;}get[_0x37c2de(0x19f)](){return this['_saveTaskMap'];}[_0x37c2de(0x254)](){const _0x46c96a=_0x37c2de;this[_0x46c96a(0x327)]()[_0x46c96a(0x27f)](()=>super[_0x46c96a(0x254)]());}async['loadOfflineData'](_0x13c6f9){const _0x550d83=_0x37c2de;return this['_disabled']?null:this[_0x550d83(0x152)]['getItem'](_0x27b003[_0x550d83(0x1f2)](_0x13c6f9));}async[_0x37c2de(0x198)](_0x232e92,_0x1ee53d){const _0x12fb5b=_0x37c2de;return!!this[_0x12fb5b(0x152)][_0x12fb5b(0x31e)](_0x232e92,_0x1ee53d);}[_0x37c2de(0x315)](_0x4ee9ee,_0x243732,_0x24974f,_0xb3b9fe){const _0x78e4b9=_0x37c2de,_0x113196=this[_0x78e4b9(0x210)][_0x78e4b9(0x10b)](_0x4ee9ee);this[_0x78e4b9(0x2dd)]['set'](_0x4ee9ee,{'unitID':_0x4ee9ee,'type':_0x243732,'awaitingChangeset':_0x24974f,'mutations':_0xb3b9fe,'rev':_0x113196}),this[_0x78e4b9(0x36f)]['has'](_0x4ee9ee)||this[_0x78e4b9(0x391)](_0x4ee9ee);}['_scheduleSaving'](_0x6e9481){const _0x9dc495=_0x37c2de,_0x4a6fb4=this[_0x9dc495(0x14c)]();_0x4a6fb4===0x0?this[_0x9dc495(0x333)](_0x6e9481):this[_0x9dc495(0x36f)][_0x9dc495(0x117)](_0x6e9481,setTimeout(()=>this[_0x9dc495(0x333)](_0x6e9481),_0x4a6fb4));}[_0x37c2de(0x14c)](){const _0xcfe7e6=_0x37c2de;var _0x4ec1dc;return(_0x4ec1dc=this['_configService'][_0xcfe7e6(0x336)](_0x27b003[_0xcfe7e6(0x31c)]))!=null?_0x4ec1dc:_0x27b003[_0xcfe7e6(0x2bc)];}[_0x37c2de(0x333)](_0x69473){const _0x3befcd=_0x37c2de,_0x41d8ac=this[_0x3befcd(0x36f)][_0x3befcd(0x2de)](_0x69473);return _0x41d8ac!==void 0x0&&window[_0x3befcd(0x296)](_0x41d8ac),this[_0x3befcd(0x152)][_0x3befcd(0x31e)](_0x27b003[_0x3befcd(0x1f2)](_0x69473),this[_0x3befcd(0x2dd)][_0x3befcd(0x2de)](_0x69473))[_0x3befcd(0x27f)](()=>this['_saveTaskMap'][_0x3befcd(0x2b2)](_0x69473));}async['exhaustSavingTask'](){const _0x4191ff=_0x37c2de,_0x2fd2a1=[];this['_saveTaskMap']['forEach']((_0x3d0921,_0x25a27b)=>{const _0x1b5965=_0x6e2a;window[_0x1b5965(0x296)](_0x3d0921),_0x2fd2a1[_0x1b5965(0x20f)](this['_saveCache'](_0x25a27b)[_0x1b5965(0x27f)](()=>{const _0x3deb26=_0x1b5965;this[_0x3deb26(0x36f)][_0x3deb26(0x2b2)](_0x25a27b);}));}),await Promise[_0x4191ff(0x2ce)](_0x2fd2a1);}};_0x3276ed=_0x4f4a5b([_0x4a0a5c(0x0,_0x396f24[_0x37c2de(0x125)]),_0x4a0a5c(0x1,_0x396f24[_0x37c2de(0x155)]),_0x4a0a5c(0x2,_0x396f24[_0x37c2de(0x15e)](_0x19f9e8['RevisionService']))],_0x3276ed);class _0x196ebe extends _0x396f24['RxDisposable']{constructor(){const _0x5d3ee7=_0x37c2de;super(),_0x425380(this,_0x5d3ee7(0x19d)),this[_0x5d3ee7(0x19d)]=_0x1b47d1[_0x5d3ee7(0x24a)](window,'popstate')[_0x5d3ee7(0x2a6)](_0x1b47d1[_0x5d3ee7(0x15c)](this['dispose$']),_0x1b47d1[_0x5d3ee7(0x2a1)](0x1),_0x1b47d1[_0x5d3ee7(0x342)](void 0x0));}['setParam'](_0x48aad3,_0x4e58d3,_0x5c17c8=!0x1){const _0x345261=_0x37c2de,_0x59b444=new URL(window[_0x345261(0x239)][_0x345261(0x129)]);_0x59b444['searchParams'][_0x345261(0x117)](_0x48aad3,_0x4e58d3),_0x5c17c8?window[_0x345261(0x216)][_0x345261(0x267)]('','',_0x59b444[_0x345261(0xf9)]()):window[_0x345261(0x216)][_0x345261(0x207)]('','',_0x59b444['toString']());}[_0x37c2de(0x355)](_0x79fbde,_0x1c0698=!0x1){const _0xeb32a5=_0x37c2de,_0x4cb030=new URL(window[_0xeb32a5(0x239)]['href']);_0x4cb030[_0xeb32a5(0x12a)][_0xeb32a5(0x2b2)](_0x79fbde),_0x1c0698?window['history'][_0xeb32a5(0x267)]('','',_0x4cb030[_0xeb32a5(0xf9)]()):window['history']['pushState']('','',_0x4cb030[_0xeb32a5(0xf9)]());}[_0x37c2de(0x385)](_0x5bed4c){const _0x26045f=_0x37c2de;var _0x13c6e4;return(_0x13c6e4=new URL(window[_0x26045f(0x239)][_0x26045f(0x129)])['searchParams'][_0x26045f(0x2de)](_0x5bed4c))!=null?_0x13c6e4:void 0x0;}}var _0x4310c7=Object[_0x37c2de(0x1c9)],_0x4577b1=Object[_0x37c2de(0x1ca)],_0x695447=(_0x2e0162,_0x3f2499,_0x4bbbd8)=>_0x3f2499 in _0x2e0162?_0x4310c7(_0x2e0162,_0x3f2499,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bbbd8}):_0x2e0162[_0x3f2499]=_0x4bbbd8,_0x1aa3e2=(_0x27c8b6,_0x53310a,_0x164dbc,_0x4c791e)=>{const _0x26a5e9=_0x37c2de;for(var _0x2923f7=_0x4c791e>0x1?void 0x0:_0x4c791e?_0x4577b1(_0x53310a,_0x164dbc):_0x53310a,_0x567744=_0x27c8b6[_0x26a5e9(0x2c4)]-0x1,_0x44c722;_0x567744>=0x0;_0x567744--)(_0x44c722=_0x27c8b6[_0x567744])&&(_0x2923f7=_0x44c722(_0x2923f7)||_0x2923f7);return _0x2923f7;},_0x405ccc=(_0x842454,_0x3900ee)=>(_0x120bea,_0x842520)=>_0x3900ee(_0x120bea,_0x842520,_0x842454),_0x3826b3=(_0x2fcd5e,_0x26f4c0,_0x39300e)=>_0x695447(_0x2fcd5e,_0x26f4c0+'',_0x39300e);const _0x10fa4f=_0x37c2de(0x290);_0x5a6766[_0x37c2de(0x2d9)]=class extends _0x396f24[_0x37c2de(0x37e)]{constructor(_0x3cf114=_0x548d5a,_0x5da848,_0x556e1a,_0x4d7504){const _0x5f17c2=_0x37c2de;super(),this[_0x5f17c2(0x273)]=_0x3cf114,this[_0x5f17c2(0x1b7)]=_0x5da848,this[_0x5f17c2(0x212)]=_0x556e1a,this[_0x5f17c2(0x18a)]=_0x4d7504;const {..._0x129f4f}=_0x396f24['merge']({},_0x548d5a,this[_0x5f17c2(0x273)]);this[_0x5f17c2(0x18a)][_0x5f17c2(0x331)](_0x142d73,_0x129f4f);}[_0x37c2de(0x1aa)](){const _0x234605=_0x37c2de;this[_0x234605(0x28b)](),this[_0x234605(0x1c2)]();}[_0x37c2de(0x33c)](){this['_registerRenderDependencies']();}[_0x37c2de(0x28b)](){const _0x1f9af5=_0x37c2de;var _0x5c9a87;const _0x474a9a=[[_0x74392a],[_0x341f82],[_0x59c018],[_0xd07721],[_0x25bfb1],[_0x2bb386,{'useClass':_0x196ebe}],[_0x16b348[_0x1f9af5(0x121)],{'useClass':_0x16b348['WebSocketService']}],[_0x27b003['ILocalCacheService'],{'useClass':_0x3276ed}],[_0x5a6766[_0x1f9af5(0x2f5)]],[_0xdc2afa],[_0x2f45ed],[_0x1789a5],[_0x394a4b],[_0x5a6766['CollaborationDataLoaderController']]];_0x396f24[_0x1f9af5(0x237)](this['_injector'],_0x396f24[_0x1f9af5(0x308)](_0x474a9a,(_0x5c9a87=this[_0x1f9af5(0x273)])==null?void 0x0:_0x5c9a87[_0x1f9af5(0x37b)]));}[_0x37c2de(0x359)](){const _0x43a170=_0x37c2de;this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)][_0x43a170(0x222)](_0x396f24[_0x43a170(0x10f)][_0x43a170(0x15f)],[_0x48bb14])),this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)]['registerRenderModule'](_0x396f24['UniverInstanceType']['UNIVER_SHEET'],[_0x29d0ef]));}[_0x37c2de(0x1c2)](){const _0x20cc8=_0x37c2de;_0x396f24['touchDependencies'](this[_0x20cc8(0x212)],[[_0x1789a5],[_0x5a6766['DesktopCollaborationStatusDisplayController']],[_0xdc2afa],[_0x2f45ed],[_0x5a6766[_0x20cc8(0x156)]]]);}},_0x3826b3(_0x5a6766[_0x37c2de(0x2d9)],_0x37c2de(0x16e),_0x10fa4f),_0x5a6766[_0x37c2de(0x2d9)]=_0x1aa3e2([_0x396f24[_0x37c2de(0x18b)](_0x27b003[_0x37c2de(0x241)]),_0x405ccc(0x1,_0x5841f7['IRenderManagerService']),_0x405ccc(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x405ccc(0x3,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x2d9)]);var _0x5a5bc8=Object['getOwnPropertyDescriptor'],_0xc32a51=(_0x1a425f,_0x31b23a,_0x5efc4c,_0x108ce5)=>{const _0xd7d50f=_0x37c2de;for(var _0xbe94f6=_0x108ce5>0x1?void 0x0:_0x108ce5?_0x5a5bc8(_0x31b23a,_0x5efc4c):_0x31b23a,_0x337ff3=_0x1a425f[_0xd7d50f(0x2c4)]-0x1,_0x4464d6;_0x337ff3>=0x0;_0x337ff3--)(_0x4464d6=_0x1a425f[_0x337ff3])&&(_0xbe94f6=_0x4464d6(_0xbe94f6)||_0xbe94f6);return _0xbe94f6;},_0x5b3d1c=(_0x5287d0,_0x142131)=>(_0x1fd1c8,_0x2fafc1)=>_0x142131(_0x1fd1c8,_0x2fafc1,_0x5287d0);_0x5a6766[_0x37c2de(0x34e)]=class extends _0x27b003[_0x37c2de(0x30d)]{constructor(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600){super(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600);}async['createSocket'](_0x2788e9){const _0x42fc26=_0x37c2de,_0x5d8570=await this['_getSessionTicket'](),_0x318c27=this[_0x42fc26(0x118)](_0x2788e9,_0x5d8570);return this[_0x42fc26(0x276)](_0x318c27);}[_0x37c2de(0x118)](_0x2ca717,_0xb07ef){const _0xd7542a=_0x37c2de,_0x27549e=typeof window>'u'?new URL(_0x2ca717):new URL(_0x2ca717,window['location'][_0xd7542a(0x1c3)]);_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('sessionTicket',_0xb07ef);const _0x9ac9ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd7542a(0x239)][_0xd7542a(0x136)]);return _0x9ac9ab[_0xd7542a(0x2de)]('runId')&&_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('runId',_0x9ac9ab[_0xd7542a(0x2de)]('runId')),_0x27549e['toString']();}async[_0x37c2de(0x313)](){const _0x3225db=_0x37c2de;var _0x2c4517,_0x91bc45,_0x173423;const _0x443443=this[_0x3225db(0x18a)]['getConfig'](_0x27b003[_0x3225db(0x11b)]),_0x2c6ef5=(_0x2c4517=_0x443443==null?void 0x0:_0x443443[_0x3225db(0x101)])!=null?_0x2c4517:_0x27b003[_0x3225db(0x14e)];return(_0x173423=(_0x91bc45=(await this[_0x3225db(0x1b2)][_0x3225db(0x2de)](_0x2c6ef5,{'headers':{'Content-Type':_0x3225db(0x1b3)}}))[_0x3225db(0x2fd)])==null?void 0x0:_0x91bc45[_0x3225db(0x23f)])!=null?_0x173423:'';}},_0x5a6766[_0x37c2de(0x34e)]=_0xc32a51([_0x5b3d1c(0x0,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x5b3d1c(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x5b3d1c(0x2,_0x396f24[_0x37c2de(0x125)]),_0x5b3d1c(0x3,_0x396f24['ILogService']),_0x5b3d1c(0x4,_0x19f9e8[_0x37c2de(0x2c1)])],_0x5a6766[_0x37c2de(0x34e)]);var _0x2ffbce=(_0x47fddd=>(_0x47fddd[_0x47fddd[_0x37c2de(0x17a)]=0x0]='UNDEFINED',_0x47fddd[_0x47fddd['OK']=0x1]='OK',_0x47fddd[_0x47fddd['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x47fddd[_0x47fddd[_0x37c2de(0x37f)]=0x3]=_0x37c2de(0x37f),_0x47fddd[_0x47fddd[_0x37c2de(0x32f)]=0x4]=_0x37c2de(0x32f),_0x47fddd[_0x47fddd['UNAUTHENTICATED']=0x5]=_0x37c2de(0x140),_0x47fddd[_0x47fddd[_0x37c2de(0x111)]=0x6]=_0x37c2de(0x111),_0x47fddd[_0x47fddd[_0x37c2de(0x23a)]=0x7]='INVALID_ARGUMENT',_0x47fddd[_0x47fddd[_0x37c2de(0x29e)]=0x8]='TOO_MANY_REQUESTS',_0x47fddd[_0x47fddd[_0x37c2de(0x32e)]=0x9]=_0x37c2de(0x32e),_0x47fddd[_0x47fddd[_0x37c2de(0x1d7)]=0xa]=_0x37c2de(0x1d7),_0x47fddd[_0x47fddd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x37c2de(0x1bf),_0x47fddd[_0x47fddd[_0x37c2de(0x266)]=0xc]=_0x37c2de(0x266),_0x47fddd[_0x47fddd[_0x37c2de(0x35e)]=0xd]=_0x37c2de(0x35e),_0x47fddd[_0x47fddd[_0x37c2de(0x390)]=0xe]=_0x37c2de(0x390),_0x47fddd[_0x47fddd[_0x37c2de(0x394)]=0x1389]=_0x37c2de(0x394),_0x47fddd[_0x47fddd[_0x37c2de(0x157)]=0x1771]=_0x37c2de(0x157),_0x47fddd[_0x47fddd[_0x37c2de(0x233)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x47fddd[_0x47fddd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x37c2de(0x34a),_0x47fddd[_0x47fddd[_0x37c2de(0x38c)]=0x1b59]=_0x37c2de(0x38c),_0x47fddd[_0x47fddd[_0x37c2de(0x1dc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x47fddd[_0x47fddd[_0x37c2de(0x19b)]=0x1b5b]=_0x37c2de(0x19b),_0x47fddd[_0x47fddd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x37c2de(0x26f),_0x47fddd[_0x47fddd[_0x37c2de(0x1a5)]=0x1b5d]=_0x37c2de(0x1a5),_0x47fddd[_0x47fddd[_0x37c2de(0x131)]=0x1f41]=_0x37c2de(0x131),_0x47fddd[_0x47fddd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x37c2de(0xfe),_0x47fddd[_0x47fddd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x37c2de(0x251),_0x47fddd[_0x47fddd[_0x37c2de(0x1b9)]=0x232b]=_0x37c2de(0x1b9),_0x47fddd[_0x47fddd[_0x37c2de(0x33a)]=0x232c]=_0x37c2de(0x33a),_0x47fddd[_0x47fddd[_0x37c2de(0x1f1)]=0x232d]=_0x37c2de(0x1f1),_0x47fddd[_0x47fddd[_0x37c2de(0x2e7)]=0x2711]=_0x37c2de(0x2e7),_0x47fddd[_0x47fddd[_0x37c2de(0x1df)]=0x2712]=_0x37c2de(0x1df),_0x47fddd[_0x47fddd[_0x37c2de(0x372)]=0x2713]=_0x37c2de(0x372),_0x47fddd[_0x47fddd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x37c2de(0x264),_0x47fddd[_0x47fddd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x37c2de(0x300),_0x47fddd[_0x47fddd[_0x37c2de(0x383)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x47fddd[_0x47fddd[_0x37c2de(0x162)]=0x271c]=_0x37c2de(0x162),_0x47fddd[_0x47fddd[_0x37c2de(0x316)]=0x271d]=_0x37c2de(0x316),_0x47fddd[_0x47fddd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x47fddd[_0x47fddd[_0x37c2de(0x144)]=0x271f]=_0x37c2de(0x144),_0x47fddd[_0x47fddd[_0x37c2de(0x209)]=0x2720]=_0x37c2de(0x209),_0x47fddd[_0x47fddd[_0x37c2de(0x2dc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x47fddd[_0x47fddd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x37c2de(0x396),_0x47fddd[_0x47fddd[_0x37c2de(0x318)]=0x2ee2]=_0x37c2de(0x318),_0x47fddd[_0x47fddd[_0x37c2de(0x30e)]=0x2ee3]=_0x37c2de(0x30e),_0x47fddd[_0x47fddd[_0x37c2de(0x35c)]=0x2ee4]=_0x37c2de(0x35c),_0x47fddd[_0x47fddd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37c2de(0x2ae),_0x47fddd[_0x47fddd[_0x37c2de(0x309)]=0x32c9]=_0x37c2de(0x309),_0x47fddd[_0x47fddd[_0x37c2de(0x28e)]=0x32ca]=_0x37c2de(0x28e),_0x47fddd[_0x47fddd[_0x37c2de(0x2ab)]=0x32cb]=_0x37c2de(0x2ab),_0x47fddd[_0x47fddd['UNRECOGNIZED']=-0x1]=_0x37c2de(0x324),_0x47fddd))(_0x2ffbce||{}),_0x3a9711=Object[_0x37c2de(0x1ca)],_0x3b385f=(_0x3fee01,_0x4ef905,_0x245395,_0xdf45b0)=>{const _0x304c49=_0x37c2de;for(var _0x54d26e=_0xdf45b0>0x1?void 0x0:_0xdf45b0?_0x3a9711(_0x4ef905,_0x245395):_0x4ef905,_0x456a75=_0x3fee01[_0x304c49(0x2c4)]-0x1,_0x3cb4ea;_0x456a75>=0x0;_0x456a75--)(_0x3cb4ea=_0x3fee01[_0x456a75])&&(_0x54d26e=_0x3cb4ea(_0x54d26e)||_0x54d26e);return _0x54d26e;},_0x57c6af=(_0x43571c,_0x14848d)=>(_0x12a970,_0x45e632)=>_0x14848d(_0x12a970,_0x45e632,_0x43571c);_0x5a6766['RemoteUniscriptService']=class extends _0x396f24['Disposable']{constructor(_0x511609,_0x3e8a16,_0x466ae5){const _0x59c0b3=_0x37c2de;super(),this[_0x59c0b3(0xfa)]=_0x511609,this['_httpService']=_0x3e8a16,this[_0x59c0b3(0x18a)]=_0x466ae5;}async[_0x37c2de(0x37c)](_0x58d155,_0x1b7a02,_0x4733c3,..._0x8296a3){const _0xfa3120=_0x37c2de;var _0x2ec16e,_0x363aac,_0x43cc5d,_0x3ac5c3;const _0x15bc40=this[_0xfa3120(0xfa)][_0xfa3120(0x2b3)]();if(!_0x15bc40)throw new Error(_0xfa3120(0x143));const _0x509f14=((_0x2ec16e=this[_0xfa3120(0x18a)][_0xfa3120(0x336)](_0x27b003[_0xfa3120(0x36b)]))!=null?_0x2ec16e:_0x27b003[_0xfa3120(0x30b)])+'/'+_0x58d155+'/run/'+_0x1b7a02,_0x38f4be=new URL(window[_0xfa3120(0x239)][_0xfa3120(0x129)]),_0x3d8d9a={'scriptId':_0x58d155,'runId':(_0x363aac=_0x38f4be[_0xfa3120(0x12a)][_0xfa3120(0x2de)](_0xfa3120(0x2b7)))!=null?_0x363aac:'','function':_0x1b7a02,'unitId':_0x15bc40[_0xfa3120(0x278)](),'argsOfFunction':JSON['stringify'](_0x8296a3),'invokeId':(_0x43cc5d=_0x4733c3[_0xfa3120(0x1f6)])!=null?_0x43cc5d:'','executionId':(_0x3ac5c3=_0x4733c3[_0xfa3120(0x263)])!=null?_0x3ac5c3:''};try{const _0x180e3d=await this[_0xfa3120(0x1b2)][_0xfa3120(0x344)](_0x509f14,{'body':_0x3d8d9a});return _0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)]&&_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)][_0xfa3120(0x329)]!==_0x2ffbce['OK']?_0xfa3120(0x11a):_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x34b)];}catch{return _0xfa3120(0x11a);}}},_0x5a6766['RemoteUniscriptService']=_0x3b385f([_0x57c6af(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x57c6af(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x57c6af(0x2,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x1e3)]);const _0x8f0e04=0x7530,_0x3f1f4f=_0x37c2de(0x2c7);class _0x24491d extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x312e1e=_0x37c2de;super(),_0x425380(this,_0x312e1e(0x124),_0x396f24['generateRandomId']()),_0x425380(this,'_selfUnitIDs',new Set()),_0x425380(this,_0x312e1e(0x228),new Map()),_0x425380(this,'_heartbeatTimer',null),_0x425380(this,_0x312e1e(0x33f),new Map()),_0x425380(this,_0x312e1e(0x2d7),new Map()),this[_0x312e1e(0x133)]();}['dispose'](){const _0x44ab98=_0x37c2de;super[_0x44ab98(0x254)](),this[_0x44ab98(0x33f)][_0x44ab98(0x217)]((_0x329ba2,_0x57e00d)=>this['_removeClearOtherTimer'](_0x57e00d)),this[_0x44ab98(0x341)]&&window[_0x44ab98(0x295)](this[_0x44ab98(0x341)]);}['getUnitStatus$'](_0x47f1ab){const _0x4a3a5c=_0x37c2de;return this['_ensureSubject'](_0x47f1ab)[_0x4a3a5c(0x2a6)](_0x1b47d1[_0x4a3a5c(0x2da)]());}[_0x37c2de(0x192)](_0x3c42ee){const _0x47f708=_0x37c2de;this[_0x47f708(0x2af)][_0x47f708(0x38d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x47f708(0x2af)][_0x47f708(0x2b1)](_0x3c42ee),this['_send']({'type':0x0,'memberID':this[_0x47f708(0x124)],'unitIDs':[_0x3c42ee],'isForwarded':!0x1});}[_0x37c2de(0x2eb)](_0x16168f){const _0x162610=_0x37c2de;this['_selfUnitIDs'][_0x162610(0x2b2)](_0x16168f),this[_0x162610(0x2af)][_0x162610(0x38d)]===0x0&&this[_0x162610(0x341)]&&window['clearInterval'](this[_0x162610(0x341)]);}[_0x37c2de(0x133)](){const _0x37e89f=_0x37c2de;this[_0x37e89f(0x1c4)](_0x396f24[_0x37e89f(0x19c)](_0x1b47d1['fromEvent'](window,_0x37e89f(0x168))[_0x37e89f(0x196)](_0x50f67a=>{const _0x4e6ae8=_0x37e89f;if(_0x50f67a[_0x4e6ae8(0x2a4)]!==_0x3f1f4f||!_0x50f67a['newValue'])return;const _0x4cd277=JSON[_0x4e6ae8(0x1c1)](_0x50f67a['newValue']);this[_0x4e6ae8(0x368)](_0x4cd277);}))),window[_0x37e89f(0x185)](_0x37e89f(0x1a4),()=>this[_0x37e89f(0x2b6)]({'type':0x1,'memberID':this[_0x37e89f(0x124)],'unitIDs':Array[_0x37e89f(0x1f8)](this[_0x37e89f(0x2af)])}));}[_0x37c2de(0x368)](_0x377f54){const _0x5342aa=_0x37c2de;switch(_0x377f54[_0x5342aa(0x275)]){case 0x0:this[_0x5342aa(0x24d)](_0x377f54);break;case 0x1:this[_0x5342aa(0x307)](_0x377f54);break;case 0x2:this[_0x5342aa(0x388)](_0x377f54);break;}}[_0x37c2de(0x24d)](_0x2a53de){const _0x42d4f8=_0x37c2de,{unitIDs:_0x5bd860,memberID:_0x5049c8,isForwarded:_0x312d1e}=_0x2a53de;_0x5bd860[_0x42d4f8(0x217)](_0x439043=>{const _0xa8f2f4=_0x42d4f8;if(!_0x312d1e&&this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)&&this[_0xa8f2f4(0x2ec)](_0x439043)[_0xa8f2f4(0x38e)](_0x27b003[_0xa8f2f4(0x160)][_0xa8f2f4(0x2f6)]),!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)||!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)[_0xa8f2f4(0x1ff)](_0x5049c8)){const _0x33c6fc=this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)||new Set();_0x33c6fc['add'](_0x5049c8),this[_0xa8f2f4(0x228)][_0xa8f2f4(0x117)](_0x439043,_0x33c6fc),this[_0xa8f2f4(0x363)](_0x5049c8);}}),_0x312d1e||this['_send']({'type':0x0,'memberID':this[_0x42d4f8(0x124)],'unitIDs':[...this[_0x42d4f8(0x2af)]],'isForwarded':!0x0});}[_0x37c2de(0x363)](_0x59b87c){const _0x1966e5=_0x37c2de;this[_0x1966e5(0x14d)](_0x59b87c);const _0x5b8b3d=window[_0x1966e5(0x365)](()=>{const _0x2f0213=_0x1966e5;this[_0x2f0213(0x228)]['forEach'](_0x181646=>{_0x181646['delete'](_0x59b87c);});},_0x8f0e04*0x2);this[_0x1966e5(0x33f)][_0x1966e5(0x117)](_0x59b87c,_0x5b8b3d);}[_0x37c2de(0x14d)](_0x55e240){const _0x23a0da=_0x37c2de;if(this[_0x23a0da(0x33f)][_0x23a0da(0x1ff)](_0x55e240)){const _0x25cc4e=this['_clearOtherTimers'][_0x23a0da(0x2de)](_0x55e240);_0x25cc4e&&window['clearTimeout'](_0x25cc4e),this['_clearOtherTimers']['set'](_0x55e240,null);}}['_handleLeaveEvent'](_0x1e4c2a){const _0x1cf5bc=_0x37c2de,{memberID:_0x2ebf2a,unitIDs:_0x497673}=_0x1e4c2a;_0x497673[_0x1cf5bc(0x217)](_0x4bc30d=>{const _0x2a1640=_0x1cf5bc;var _0x1243ea;const _0x1dceae=this[_0x2a1640(0x228)][_0x2a1640(0x2de)](_0x4bc30d);_0x1dceae&&(_0x1dceae[_0x2a1640(0x2b2)](_0x2ebf2a),(_0x1243ea=this[_0x2a1640(0x2ec)](_0x4bc30d))==null||_0x1243ea['next'](_0x1dceae[_0x2a1640(0x38d)]===0x0?_0x27b003['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x27b003[_0x2a1640(0x160)][_0x2a1640(0x2f6)]));}),this[_0x1cf5bc(0x14d)](_0x2ebf2a);}[_0x37c2de(0x388)](_0x2e1b1d){const _0x11c07d=_0x37c2de;this[_0x11c07d(0x363)](_0x2e1b1d[_0x11c07d(0x12b)]);}[_0x37c2de(0x2b6)](_0x26dc48){const _0x119d3e=_0x37c2de;localStorage[_0x119d3e(0x31e)](_0x3f1f4f,JSON['stringify'](_0x26dc48));}['_scheduleHeartbeat'](){const _0x2d4e95=_0x37c2de;this[_0x2d4e95(0x341)]=window[_0x2d4e95(0xfb)](()=>{const _0x469bfa=_0x2d4e95;this[_0x469bfa(0x2b6)]({'type':0x2,'memberID':this[_0x469bfa(0x124)]});},_0x8f0e04);}[_0x37c2de(0x2ec)](_0x35a0f6){const _0xe8ad7d=_0x37c2de;return this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x1ff)](_0x35a0f6)||this[_0xe8ad7d(0x2d7)]['set'](_0x35a0f6,new _0x1b47d1[(_0xe8ad7d(0x338))](_0x27b003[_0xe8ad7d(0x160)][_0xe8ad7d(0x357)])),this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x2de)](_0x35a0f6);}}_0x5a6766[_0x37c2de(0x392)]=_0x2bb386,_0x5a6766[_0x37c2de(0x1e7)]=_0x170b20,_0x5a6766[_0x37c2de(0x258)]=_0x24491d,_0x5a6766[_0x37c2de(0x1ba)]=_0x196ebe,Object['defineProperty'](_0x5a6766,Symbol[_0x37c2de(0x179)],{'value':_0x37c2de(0x269)});}));function _0x434d(){const _0x4f9978=['DocIMEInputManagerService','CollaborationController','_httpService','application/json','actions','univerjs-icon\x20univerjs-icon-','error','_renderManagerService','_labelPosition','LICENSE_IMPORT_SIZE_EXCEEDED','WebURLService','_docClipboardService','send','fill','_collabCursorState$','MOBILE_VERIFY_CODE_MISMATCH','useRef','parse','_initDependencies','origin','disposeWithMe','HEADER_MENU','IImageIoService','_roomMembers$','133PPqirN','defineProperty','getOwnPropertyDescriptor','cursorInfo','getTypeOfUnitAdded$','registerComponent','saveImage','name','collaboration.single-unit.warning','_lastPointer','unshift','save','getMember','_updateURLWithCurrentState','ColorKit','LOGIN_FAILED','RemoveRowCommandId','_hover','green.600','handleMoveRange','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','currentTheme$','YUUMI_URL_COL_OUT_OF_RANGE','RECT','SetWorksheetActivateCommand','transformMutation','RemoteUniscriptService','combineLatest','substring','_entities','SheetCollabCursorShape','amd','replace','SetDocZoomRatioOperation','resize','_collaborationController','SetSelectionsOperation','triggerDblclick','assignAColorForMemberID','svg','LICENSE_DISTRO_REJECTED','getLocalCacheKey','object','data','whenReady','invokeId','Tooltip','from','_render','UniverUi','getTypeOfUnitDisposed$','OFFLINE','_transformService','SetTextSelectionsOperation','has','_getSheetObject','@univerjs-pro/collaboration','EffectRefRangId','filter','transformStateCache','Injector','white','pushState','debounceTime','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformHistoryAndStateStack','react','transformSelections','Rect','handleInsertRangeMoveRight','push','_revisionService','addObject','_injector','_entityInit$','UniverEngineRender','RegularPolygon','history','forEach','DocCollaborationEntity','collabCursorState$','DOC_RANGE_TYPE','_drawTextRange','restore','_anchorDot','path','session.will-retry','some','_drawAnchor','registerRenderModule','getAncestorScale','isArray','split','forwardRef','UniverDesign','_unitOnClients','redoState','ILocalCacheService','unitId','xlink:href','createIdentifier','jsxs','_setupBeforeClosingHandler','@univerjs/sheets-ui','deepClone','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','defIds','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SYNCED','registerDependencies','max','location','INVALID_ARGUMENT','MessageType','OnLineIcon','div','useObservable','ticket','handleDeleteRangeMoveUp','UniverCollaborationClientPlugin','_assignedColors','debug','with','deserializeRangeWithSheet','unitID','collabStatus.synced','_localeService','handleInsertCol','fromEvent','IMessageService','Subject','_handleJoinEvent','cursorInfo$','transformByState','indexOf','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','idSuffix','dispose','FromArray','selections','_disabled','WebBrowserSingleActiveUnitService','jsx','getCollabEntity$','HTTPService','UniverSheetsUi','children','_onRefRangeChange','attrs','IBeforeCloseService','RemoveColCommandId','_urlService','executionId','YUUMI_SUBSCRIPTION_NOT_FOUND','_startSheetCollabCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','replaceState','getViewport','Module','RichTextEditingMutation','COLORS','NodePositionConvertToCursor','on-line-icon','textRanges','APPLY_PERMISSION_DENIED','getColorFromTheme','@univerjs/docs-ui','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_config','range','type','_doCreateSocket','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUnitId','_textBubble','ONLINE','onCommandExecuted','prototype','text','AWAITING','then','CollaborationUIEventId','asObservable','syncEditingCollabCursor','focused$','UniverIcon','getStateCache','1em','33XTmVQQ','black','_docTransformStateCacheService','getSheetObject','_registerDependencies','lineTo','_toggleOffline','MOBILE_HAS_BEEN_BOUND','beginPath','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','FETCH_MISS','SheetsSelectionsService','RefRangeService','mask','clearInterval','clearTimeout','getUnhiddenWorksheets','generateRandomId','onLocalMutation','SessionStatus','12SeUaBm','blue.400','function','TOO_MANY_REQUESTS','MoveRangeCommandId','React','shareReplay','_eventUnsubscribe','_setupSubUnitSync','key','DocStateChangeManagerService','pipe','getMemberID','1249491fQFJQE','enableLocalCache','UPDATE_CURSOR','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_initEvent','INVITE_CODE_ALREADY_BOUND','_selfUnitIDs','_initStatusComponent','add','delete','getFocusedUnit','url(#on-line-icon_clip0_910_349)','roomMembers','_send','runId','unsubscribe','M0\x200H16V16H0z','MUTATION','registerRefRange','LOCAL_CACHE_INTERVAL','getColor','_collabSessionService','_removeCollabCursors','_anchor','ISnapshotServerService','getDocRanges','11634170LuVJan','length','event$','557104vyadJy','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/network','getOffsetConfig','tag','_updateSubUnitFromURLParams','Shape','DataLoaderService','all','selection','transformRemoteChangeset','_beforeCloseService','undoState','CollaborationEvent','fillText','0\x200\x2017\x2016','extend','_unitStatus','_color','UniverCollaborationClientUIPlugin','distinctUntilChanged','_handleHover','PY_RUNTIME_SCRIPT_ERROR','_cachedData','get','exports','unit','rxjs/operators','params','DisposableCollection','executeCommand','UniverRpc','Disposable','YUUMI_UNABLE_LOAD_URL','endRow','handleInsertRow','UniverProCollaborationClient','disposeUnit','_ensureSubject','_initResize','_collabCursorController','_colorIndex','_hideTimer','currentColor','Tools','_notificationService','handleIRemoveCol','DesktopCollaborationStatusDisplayController','OTHER_CLIENTS_EDITING','IRemoteInstanceService','_session','_backgroundColor','univer-mr-2\x20univer-flex\x20univer-text-xl','min','CONFLICT','body','useCallback','_docTransformIMECacheService','YUUMI_NO_CUBOID_FOR_QUESTION','42lCKqZi','skeleton','_cursors','getSkeleton','_updateLocalCursor','trim','_handleLeaveEvent','mergeOverrideWithDependencies','WECHAT_HAS_BEEN_BOUND','Unknown\x20user','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_commandService','CollaborationSocketService','INVITE_CODE_REQUIRED','getCurrentSelections','translate(.97)','USERS_LEAVE','off-line-icon_clip0_910_343','_getSessionTicket','2340306tYJtpG','updateOfflineData','YUUMI_ALL_TABLES_IS_INVALID','CollaborationStatus','INVALID_INVITE_CODE','getRenderById','CLOSE_ROOM','endColumn','LOCAL_CACHE_INTERVAL_KEY','CommandType','setItem','assign','backgroundColor','fromEventSubject','rxjs','UniverDocs','UNRECOGNIZED','mutations','getOwnPropertySymbols','exhaustSavingTask','collab-text-anchor-','code','find','univer-flex\x20univer-items-center','IUIPartsService','SOCKET_FAILED','COMPLETION_FINISHED','NOT_FOUND','transform','setConfig','_univerInstanceService','_saveCache','arc','switchMap','getConfig','init','BehaviorSubject','purple.300','LICENSE_EXPORT_SIZE_EXCEEDED','setActiveRange','onRendered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','collabStatus.syncing','_heartbeatTimer','mapTo','@univerjs/design','post','MemberService','_scene','subunit','className','TEXT_RANGE_LAYER_INDEX','ENSURE_SNAPSHOT_EXECUTION','result','contains','_initStatusListener','BrowserCollaborationSocketService','IUniverInstanceService','Error','isActive','moveTo','TEXT','collaboration-client.offline-data-not-saved','removeParam','width','NO_OTHER_CLIENTS_EDITING','_range','_registerRenderDependencies','createInstance','setStateCache','USER_NOT_INVITED_CODE','_logService','EMAIL_VERIFY_CODE_MISMATCH','doc.mutation.rich-text-editing','InsertColCommandId','entityInit$','createElement','_scheduleClearOtherTimer','INotificationService','setTimeout','current','connectInjector','_handleEvent','displayName','handleIRemoveRow','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/rpc','startsWith','@univerjs-pro/collaboration-client','_saveTaskMap','LocaleService','816665qJfpJS','YUUMI_RATE_OVER_LIMIT','complete','_onCursorDelete','isTransformMutationFailure','_status$','toRgbString','getRelativeToViewportCoord','map','RxDisposable','override','runOnServer','includes','Plugin','PERMISSION_DENIED','drawWith','337153huYrJC','defs','YUUMI_ASYNCIO_CANCELLED','SHEET_VIEWPORT_KEY','getParam','values','closePath','_handleHeartbeatEvent','setShapeProps','ITransformService','isEditing','APPLY_REJECT','size','next','none','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scheduleSaving','IURLService','round','CHANGESET_REVISION_CONFILICT','labelPosition','INVITE_CODE_HAS_BEEN_UES','entries','[CollaborationDataLoaderController]','transformMutationsWithChangeset','_toggleOnline','toString','_instanceService','setInterval','measureText','UniverDrawing','LICENSE_MAX_UNITS_EXCEEDED','_docSyncEditingCollabCursorService','makeDirty','wsSessionTicketUrl','_messageService','replaceDocRanges','currentSkeleton$','getSheetBySheetId','off-line-icon','collab-rect-range-','DeleteRangeMoveUpCommandId','on-line-icon_clip0_910_349','useDependency','getCurrentRevOfUnit','getActiveRange','_imageIoService','show','UniverInstanceType','collabStatus.notCollab','ALREADY_EXISTS','UNIVER_SHEET','evenodd','VIEW_MAIN','onPointerEnter$','PENDING','set','_createSocketURL','_online','Failed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_drawRectRange','colorChannel1','_dataLoaderService','column','permission.title','ISocketService','_docStateChangeManagerService','UniverNetwork','_id','IConfigService','bottom','operators','@univerjs/core','href','searchParams','memberID','Vector2','sheetId','collabStatus.fetchMiss','concat','random','CONNECTOR_DATA_TOO_LARGE','...','_init','ThemeService','addClipboardHook','search','subscribeEvent','_cursor','string','_cursorInfo$','subUnitId','sheetID','_initCommandExecutedListener','react/jsx-runtime','_collaborationUIEventService','UNAUTHENTICATED','Workbook','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_AI_RUN_FAILED','_onCursorUpdate','_syncEditingCollabCursorService','UniverProCollaborationClientUi','loadUnit','getUndoRedoMutationParamsCache','requireSession','activeSheet$','_getSaveTimeout','_removeClearOtherTimer','DEFAULT_WS_SESSION_TICKET_URL','_memberService','DocSelectionManagerService','onMouseMove','_localStorageService','getSheetId','m1Prime','ILocalStorageService','CollaborationDataLoaderController','SNAPSHOT_INVALID_SNAPSHOT','addHandlerCallback','_refRangeService','_shapes','collab-client.tooltip.reconnect','takeUntil','_refreshCollabCursors','Inject','UNIVER_DOC','UnitStatus','collab-text-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onPointerLeave$','uni.network.url-service','rgba(255,\x20255,\x20255,\x200.01)','_updateCollabCursors','symbol','storage','fillStyle','collaboration.closeRoom','_name','dispose$','transformIMECache','pluginName','findNodePositionByCharIndex','throttleTime','call','_docSkeletonManagerService','status$','hide','height','_transformPreviousActiveRange','serializeRangeWithSheet','IRenderManagerService','toStringTag','UNDEFINED','runRefRangeMutations','_initEntityListener','_draw','_getAnchorBounding','fillRule','_uiPartsService','SOCKET_FAILED_RETRY','NOT_COLLAB','_getMergeRange','_docTransformSelectionsService','addEventListener','eventID','color','Warning','getValue','_configService','DependentOn','onPointerMove$','registerBeforeClose','3887217LSghHj','NodePositionConvertToRectRange','debounce','m2Prime','editingUnit','top','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','disableLocalCache','subscribe','getActiveSheet','saveOfflineData','_themeService','http://www.w3.org/2000/svg','APPLY_REVISION_CONFILICT','toDisposable','urlChange$','_docSkeleton','saveTaskMap','_colorAssignService','roomMembers$','url(#$1','session.connection-failed','unload','APPLY_DUPLICATED','ICommandService','_context','ranges','JOIN_ROOM_FAILED','onStarting','_sheetSkeletonManagerService','_cursorShapes','_localCacheService','_getScale','_hovered'];_0x434d=function(){return _0x4f9978;};return _0x434d();}
|
|
1
|
+
function _0x39c5(_0x703a98,_0x411ee3){const _0x49805a=_0x4980();return _0x39c5=function(_0x39c547,_0x291b12){_0x39c547=_0x39c547-0x113;let _0x1f3b64=_0x49805a[_0x39c547];return _0x1f3b64;},_0x39c5(_0x703a98,_0x411ee3);}function _0x4980(){const _0x1ea7cb=['color','split','transform','setActiveRange','4093268TOPzQd','defineProperty','_range','getUnitId','_handleJoinEvent','UniverProCollaborationClientUi','Disposable','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','createElement','setTimeout','Warning','type','INVITE_CODE_ALREADY_BOUND','white','_localStorageService','_collabCursorState$','hovered','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','SUBMIT_CHANGESET_TIMEOUT','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','range','collabStatus.syncing','_id','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','off-line-icon','116178lFHMKk','DocCollaborationEntity','@univerjs/sheets-ui','isArray','handleInsertRangeMoveDown','useDependency','UniverRpc','@univerjs-pro/collaboration','then','_backgroundColor','_scene','generateRandomId','translate(.97)','IUniverInstanceService','debug','_initStatusComponent','ColorKit','getConfig','forEach','undoState','_transformPreviousActiveRange','min','BrowserCollaborationSocketService','_shapes','toString','_removeClearOtherTimer','_notificationService','init','_saveCache','_initEntityListener','Inject','merge','text','addObject','forwardRef','drawWith','ranges','UNIVER_SHEET','NOT_FOUND','ACTIVE_UNIT_EVENT_CHANNEL','_eventUnsubscribe','function','getStateCache','eventID','height','RECT','_roomMembers$','TEXT_RANGE_LAYER_INDEX','beginPath','1em','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','@univerjs/rpc','dispose$','size','next','DataLoaderService','prototype','triggerDblclick','WebBrowserSingleActiveUnitService','UniverDocsUi','UPDATE_CURSOR','CollaborationEvent','show','error','transformSelections','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','replaceState','delete','YUUMI_UNABLE_LOAD_URL','tag','@univerjs/engine-render','getMergeData','_handleHeartbeatEvent','trim','ALREADY_EXISTS','complete','9wlKhit','combineLatest','_collaborationController','assignAColorForMemberID','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','getCurrentUnitForType','disposeUnit','green.600','124958ZVIGJr','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','code','390MHHNmd','UNRECOGNIZED','column','use','EffectRefRangId','getMember','with','isTransformMutationFailure','executeCommand','Unknown\x20user','_send','round','UNAUTHENTICATED','MessageType','clipPath','substring','isTransformMutationsWithChangesetSuccess','arc','_selfUnitIDs','RemoteUniscriptService','_updateURLWithCurrentState','APPLY_NON_SEQUENTIAL_REVISION','defs','collab-text-anchor-','NodePositionConvertToRectRange','startsWith','react','handleIRemoveRow','DOC_RANGE_TYPE','_refreshCollabCursors','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','unitId','resize','USER_NOT_INVITED_CODE','getUniverSheetInstance','collaboration.closeRoom','IRenderManagerService','_collaborationUIEventService','ONLINE','OTHER_CLIENT_EDITING','_registerDependencies','editingUnit','_startDocCollabCursor','getOwnPropertySymbols','_logService','_clearOtherTimers','LocaleService','saveImage','top','YUUMI_RATE_OVER_LIMIT','10bGyWhO','RxDisposable','selection','createSocket','add','getSkeleton','_renderManagerService','Error','_getAnchorBounding','_uiPartsService','fromEvent','actions','HTTPService','IImageIoService','_colorIndex','has','OnLineIcon','UNDEFINED','source','addEventListener','UniverDrawing','redoState','_docSyncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','_removeCollabCursors','_dataLoaderService','collab-text-range-','_hideTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverNetwork','DocIMEInputManagerService','updateOfflineData','deepClone','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','fill','_getSessionTicket','unitID','evenodd','_status$','IUIPartsService','_online','HEADER_MENU','subscribeEvent','_httpService','onMouseMove','_textBubble','engine','mapTo','mask','sheetId','href','PERMISSION_DENIED','session.connection-failed','application/json','univer-mr-2\x20univer-flex\x20univer-text-xl','backgroundColor','row','getOffsetConfig','_docTransformStateCacheService','_onRefRangeChange','from','transformIMECache','getRangePointData','getFocusedUnit','SheetCollabCursorShape','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Shape','result','_getMergeRange','INVITE_CODE_REQUIRED','_docTransformIMECacheService','random','_colorAssignService','SOCKET_FAILED_RETRY','CollaborationController','transformStateCache','UniverUi','RegularPolygon','dispose','uni.network.url-service','Tooltip','handleIRemoveCol','endRow','_cursor','debounceTime','_cursors','handleDeleteRangeMoveLeft','_docSkeleton','setShapeProps','purple.300','hasOwnProperty','_document','_render','_onCursorDelete','UniverDocs','serializeRangeWithSheet','data','_updateLocalCursor','idSuffix','exhaustSavingTask','whenReady','labelPosition','LICENSE_DISTRO_REJECTED','_collabSessionService','collaboration.single-unit.warning','_heartbeatTimer','INVALID_ARGUMENT','_drawRectRange','SetWorksheetActivateCommand','contains','endColumn','newValue','touchDependencies','doc.mutation.rich-text-editing','onCommandExecuted','_urlService','flatMap','sheetID','subunit','_setupSubUnitSync','runId','useObservable','includes','_univerInstanceService','body','...','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','_anchorDot','width','_draw','displayName','red.300','stringify','map','toStringTag','currentTheme$','fillText','SOCKET_FAILED','_getSheetObject','runOnServer','jiqing.500','Module','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','closePath','UnitStatus','ILogService','propertyIsEnumerable','getLocalCacheKey','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','toRgbString','2431665ZMnbvV','setItem','m2Prime','extend','getVpScrollXYInfoByPosToVp','_drawAnchor','getOwnPropertyDescriptor','permission.title','M0\x200H16V16H0z','apply','createIdentifier','collab-rect-range-','RichTextEditingMutation','url(#$1','popstate','NO_OTHER_CLIENTS_EDITING','_entities','_memberService','transformRemoteChangeset','getColor','INTERNAL_ERROR','current','mutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_localeService','getCellPositionByOffset','231uBwpwu','_transformUndoRedoStack','invokeId','_lastPointer','cursorInfo$','pushState','onPointerMove$','post','blue.400','handleInsertRow','debounce','addObjects','RevisionService','WebURLService','MoveRangeCommandId','length','getUnitStatus$','0\x200\x2016\x2016','jsx','MemberService','InsertColCommandId','Tools','setInterval','clearInterval','@univerjs/design','syncEditingCollabCursor','InsertRangeMoveDownCommandId','onPointerEnter$','getParam','rxjs/operators','setUndoRedoMutationParamsCache','_handleEvent','_registerRenderDependencies','http://www.w3.org/2000/svg','DocSelectionManagerService','CLOSE_ROOM','10186808dplBAW','USERS_LEAVE','_labelPosition','_transformService','NodePositionConvertToCursor','getCurrent','CollaborationSessionService','exports','replaceDocRanges','FromArray','asObservable','registerRenderModule','_disabled','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','get','_color','_name','UniverSheets','getValue','_docTransformSelectionsService','registerRefRange','_init','getUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','APPLY_REJECT','wsSessionTicketUrl','_initResize','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','TOO_MANY_REQUESTS','YUUMI_ALL_TABLES_IS_INVALID','unit','history','saveTaskMap','shareReplay','unsubscribe','svg','ILocalCacheService','isEditing','_ensureSubject','rxjs','_session','_hovered','textRanges','getCollabCursors$','yellow.400','startColumn','DependentOn','collab-client.tooltip.reconnect','_saveTaskMap','colorChannel1','black','IMessageService','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','_sheetSkeletonManagerService','urlChange$','_unitStatus','values','handleMoveRange','SetDocZoomRatioOperation','SheetSkeletonManagerService','children','218940eQUhVY','SessionStatus','div','ThemeService','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','Workbook','pluginName','defIds','FETCH_MISS','SHEET_VIEWPORT_KEY','IRemoteInstanceService','CollaborationUIEventId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toDisposable','Failed','_scheduleHeartbeat','hide','Injector','useCallback','filter','@univerjs/drawing','_updateSubUnitFromURLParams','font','collaboration-client.offline-data-not-saved','_startSheetCollabCursor','getActiveSheet','OTHER_CLIENTS_EDITING','UniverSheetsUi','DocStateChangeManagerService','docStateChange$','location','_setupBeforeClosingHandler','replace','_scheduleClearOtherTimer','createInstance','focused$','getMemberID','APPLY_DUPLICATED','m1Prime','some','CONNECTOR_DATA_TOO_LARGE','_getScale','ITransformService','unshift','getActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sessionTicket','call','getTypeOfUnitDisposed$','pipe','SNAPSHOT_HAS_BEEN_REMOVED','CONFLICT','subscribe','_drawTextRange','mergeOverrideWithDependencies','setConfig','_cachedData','registerComponent','_commandService','SetTextSelectionsOperation','collabCursorState$','measureText','setParam','_onCursorUpdate','_collabCursorController','name','disableLocalCache','RemoveRowCommandId','ENSURE_SNAPSHOT_EXECUTION','lineTo','onStarting','takeUntil','string','storage','path','_themeService','LOCAL_CACHE_INTERVAL','_getSaveTimeout','clsx','max','MOBILE_HAS_BEEN_BOUND','_entityInit$','removeParam','addHandlerCallback','distinctUntilChanged','TEXT','_injector','APPLY_REVISION_CONFILICT','InsertRowCommandId','getViewport','_docSkeletonManagerService','_docStateChangeManagerService','_initDependencies','@univerjs/network','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_docClipboardService','NOT_COLLAB','IConfigService','_hover','clearTimeout','_cursorInfo$','assign','icon','set','getAncestorScale','currentSkeleton$','searchParams','onPointerLeave$','UniverProCollaborationClient','disposeWithMe','@univerjs/docs','Optional','DeleteRangeMoveLeftCommandId','fillRule','BehaviorSubject','_handleHover','@univerjs/core','DesktopCollaborationStatusDisplayController','ICommandService','requireSession','@univerjs/docs-ui','url(#off-line-icon_clip0_910_343)','origin','off-line-icon_clip0_910_343','setAlpha','WECHAT_HAS_BEEN_BOUND','_toggleOnline','indexOf','startRow','currentColor','loadOfflineData','isActive','OffLineIcon','_refRangeService','handleInsertRangeMoveRight','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','save','DeleteRangeMoveUpCommandId','onLocalMutation','@univerjs/sheets','cursorInfo','getCoordByCell','CHANGESET_REVISION_CONFILICT','restore','none','getRenderById','attrs','_createSocketURL','on-line-icon_clip0_910_349','_beforeCloseService','_anchor','_initEvent','push','IURLService','on-line-icon','symbol','getDocRanges','DocSkeletonManagerService','COLORS','DEFAULT_WS_SESSION_TICKET_URL','_toggleOffline','handleInsertCol','enableLocalCache','Plugin','switchMap','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','_configService','roomMembers','SetSelectionsOperation','_instanceService','OFFLINE','send','/run/','UniverDesign','UNIVER_DOC','INVALID_INVITE_CODE','_updateCollabCursors','UniverInstanceType','connectInjector','fillStyle','getColorFromTheme','onRendered','_unitOnClients','_messageService','params','collabStatus.offline','key','_localCacheService','react/jsx-runtime','EMAIL_VERIFY_CODE_MISMATCH','CollaborationDataLoaderController','saveOfflineData','IDocClipboardService','SheetsSelectionsService','44022OFgNNZ','_initStatusListener','all','_imageIoService','onTransformChange$','JOIN_ROOM_FAILED','imageSourceType','_context','Rect','_assignedColors','Rectangle','LOGIN_FAILED','className'];_0x4980=function(){return _0x1ea7cb;};return _0x4980();}(function(_0x59fd7f,_0x5c6961){const _0x2bac4b=_0x39c5,_0x257687=_0x59fd7f();while(!![]){try{const _0x34cb43=-parseInt(_0x2bac4b(0x300))/0x1*(parseInt(_0x2bac4b(0x336))/0x2)+-parseInt(_0x2bac4b(0x2a8))/0x3+parseInt(_0x2bac4b(0x28a))/0x4+parseInt(_0x2bac4b(0x135))/0x5+parseInt(_0x2bac4b(0x1b4))/0x6*(parseInt(_0x2bac4b(0x14f))/0x7)+parseInt(_0x2bac4b(0x173))/0x8*(-parseInt(_0x2bac4b(0x2f7))/0x9)+parseInt(_0x2bac4b(0x303))/0xa*(parseInt(_0x2bac4b(0x279))/0xb);if(_0x34cb43===_0x5c6961)break;else _0x257687['push'](_0x257687['shift']());}catch(_0x416fc5){_0x257687['push'](_0x257687['shift']());}}}(_0x4980,0xe3ca7),function(_0xfb10e,_0x17f0d2){const _0x2014c5=_0x39c5;typeof exports=='object'&&typeof module<'u'?_0x17f0d2(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2014c5(0x2d1)&&define['amd']?define([_0x2014c5(0x17a),_0x2014c5(0x273),'@univerjs-pro/collaboration-client',_0x2014c5(0x22a),'@univerjs/ui','rxjs',_0x2014c5(0x167),_0x2014c5(0x31d),_0x2014c5(0x2dd),_0x2014c5(0x241),_0x2014c5(0x2f1),_0x2014c5(0x212),_0x2014c5(0x22e),_0x2014c5(0x1c9),_0x2014c5(0x2af),_0x2014c5(0x224),'@univerjs/engine-formula',_0x2014c5(0x16c),_0x2014c5(0x2aa)],_0x17f0d2):(_0xfb10e=typeof globalThis<'u'?globalThis:_0xfb10e||self,_0x17f0d2(_0xfb10e[_0x2014c5(0x28f)]={},_0xfb10e['React'],_0xfb10e[_0x2014c5(0x222)],_0xfb10e['UniverCore'],_0xfb10e[_0x2014c5(0x383)],_0xfb10e[_0x2014c5(0x19d)],_0xfb10e[_0x2014c5(0x264)],_0xfb10e['React'],_0xfb10e[_0x2014c5(0x2ae)],_0xfb10e[_0x2014c5(0x185)],_0xfb10e['UniverEngineRender'],_0xfb10e[_0x2014c5(0x354)],_0xfb10e[_0x2014c5(0x2e5)],_0xfb10e[_0x2014c5(0x34a)],_0xfb10e['UniverProCollaboration'],_0xfb10e[_0x2014c5(0x395)],_0xfb10e['UniverEngineFormula'],_0xfb10e['rxjs']['operators'],_0xfb10e[_0x2014c5(0x1d0)]));}(this,function(_0x218781,_0x5536b0,_0x2600cf,_0x5e3300,_0x48ab34,_0x50b64e,_0x244ea9,_0x3146b7,_0x2f8e17,_0x101dc9,_0x1b825c,_0x5771f5,_0x1b316e,_0xc83503,_0x4384c1,_0x3a8334,_0x5aa429,_0x3987d5,_0x1b0390){'use strict';const _0x41a185=_0x39c5;var _0x11631e=Object['defineProperty'],_0x1c4428=(_0x7b6af,_0x4c04f0,_0x1e3dec)=>_0x4c04f0 in _0x7b6af?_0x11631e(_0x7b6af,_0x4c04f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3dec}):_0x7b6af[_0x4c04f0]=_0x1e3dec,_0x528ae5=(_0x469425,_0x5413c4,_0x28feac)=>_0x1c4428(_0x469425,typeof _0x5413c4!=_0x41a185(0x251)?_0x5413c4+'':_0x5413c4,_0x28feac),_0x1525d3=function(){const _0x41d2c9=_0x41a185;return _0x1525d3=Object[_0x41d2c9(0x21b)]||function(_0x492e41){const _0x44d486=_0x41d2c9;for(var _0x272de9,_0x48aeb6=0x1,_0xd28e50=arguments[_0x44d486(0x15e)];_0x48aeb6<_0xd28e50;_0x48aeb6++){_0x272de9=arguments[_0x48aeb6];for(var _0x1f6ecf in _0x272de9)Object['prototype'][_0x44d486(0x391)][_0x44d486(0x1e4)](_0x272de9,_0x1f6ecf)&&(_0x492e41[_0x1f6ecf]=_0x272de9[_0x1f6ecf]);}return _0x492e41;},_0x1525d3[_0x41d2c9(0x13e)](this,arguments);},_0x1366b=function(_0x3cc3b7,_0x15a958){const _0x256ab9=_0x41a185;var _0x434ca4={};for(var _0x86ecec in _0x3cc3b7)Object[_0x256ab9(0x2e2)][_0x256ab9(0x391)][_0x256ab9(0x1e4)](_0x3cc3b7,_0x86ecec)&&_0x15a958[_0x256ab9(0x235)](_0x86ecec)<0x0&&(_0x434ca4[_0x86ecec]=_0x3cc3b7[_0x86ecec]);if(_0x3cc3b7!=null&&typeof Object[_0x256ab9(0x32f)]==_0x256ab9(0x2d1)){for(var _0x527287=0x0,_0x86ecec=Object['getOwnPropertySymbols'](_0x3cc3b7);_0x527287<_0x86ecec[_0x256ab9(0x15e)];_0x527287++)_0x15a958[_0x256ab9(0x235)](_0x86ecec[_0x527287])<0x0&&Object[_0x256ab9(0x2e2)][_0x256ab9(0x131)]['call'](_0x3cc3b7,_0x86ecec[_0x527287])&&(_0x434ca4[_0x86ecec[_0x527287]]=_0x3cc3b7[_0x86ecec[_0x527287]]);}return _0x434ca4;},_0x146f6c=_0x3146b7['forwardRef'](function(_0x44adda,_0x5c4d50){const _0x25352e=_0x41a185;var _0x1efeaa=_0x44adda[_0x25352e(0x21c)],_0x1a5839=_0x44adda['id'],_0x472620=_0x44adda[_0x25352e(0x285)],_0x4bf3aa=_0x44adda['extend'],_0x57545b=_0x1366b(_0x44adda,[_0x25352e(0x21c),'id','className',_0x25352e(0x138)]),_0x590c22='univerjs-icon\x20univerjs-icon-'[_0x25352e(0x2a6)](_0x1a5839,'\x20')[_0x25352e(0x2a6)](_0x472620||'')[_0x25352e(0x2f4)](),_0x58a350=_0x3146b7['useRef']('_'[_0x25352e(0x2a6)](_0x3665c3()));return _0xdc07d0(_0x1efeaa,''[_0x25352e(0x2a6)](_0x1a5839),{'defIds':_0x1efeaa['defIds'],'idSuffix':_0x58a350[_0x25352e(0x14a)]},_0x1525d3({'ref':_0x5c4d50,'className':_0x590c22},_0x57545b),_0x4bf3aa);});function _0xdc07d0(_0x489d9e,_0x4eb817,_0x163b0e,_0x11551b,_0x3cab57){const _0x152849=_0x41a185;return _0x3146b7[_0x152849(0x294)](_0x489d9e[_0x152849(0x2f0)],_0x1525d3(_0x1525d3({'key':_0x4eb817},_0x516c78(_0x489d9e,_0x163b0e,_0x3cab57)),_0x11551b),(_0x1ac1cd(_0x489d9e,_0x163b0e)[_0x152849(0x1b3)]||[])[_0x152849(0x123)](function(_0x1fbb8c,_0x3abffe){const _0x18d1a8=_0x152849;return _0xdc07d0(_0x1fbb8c,''[_0x18d1a8(0x2a6)](_0x4eb817,'-')['concat'](_0x489d9e['tag'],'-')[_0x18d1a8(0x2a6)](_0x3abffe),_0x163b0e,void 0x0,_0x3cab57);}));}function _0x516c78(_0x4ff139,_0x10a05e,_0x5571b2){const _0x36beec=_0x41a185;var _0x9fea7=_0x1525d3({},_0x4ff139[_0x36beec(0x248)]);_0x5571b2!=null&&_0x5571b2[_0x36beec(0x1a7)]&&_0x9fea7[_0x36beec(0x359)]===_0x36beec(0x1a7)&&(_0x9fea7[_0x36beec(0x359)]=_0x5571b2['colorChannel1']),_0x4ff139[_0x36beec(0x2f0)]===_0x36beec(0x367)&&_0x9fea7['id']&&(_0x9fea7['id']=_0x9fea7['id']+_0x10a05e[_0x36beec(0x399)]),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x3c6ca9){const _0x69ac4f=_0x36beec;var _0x2e108a=_0x3c6ca9[0x0],_0x105d4c=_0x3c6ca9[0x1];_0x2e108a===_0x69ac4f(0x367)&&typeof _0x105d4c==_0x69ac4f(0x1fd)&&(_0x9fea7[_0x2e108a]=_0x105d4c[_0x69ac4f(0x1d5)](/url\(#(.*)\)/,_0x69ac4f(0x142)[_0x69ac4f(0x2a6)](_0x10a05e[_0x69ac4f(0x399)],')')));});var _0x3f4264=_0x10a05e[_0x36beec(0x1bc)];return!_0x3f4264||_0x3f4264[_0x36beec(0x15e)]===0x0||(_0x4ff139['tag']===_0x36beec(0x306)&&_0x9fea7['xlink:href']&&(_0x9fea7[_0x36beec(0x11c)]=_0x9fea7[_0x36beec(0x11c)]+_0x10a05e['idSuffix']),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x287a95){const _0xd3b229=_0x36beec;var _0x25fa78=_0x287a95[0x0],_0x54a79e=_0x287a95[0x1];typeof _0x54a79e=='string'&&(_0x9fea7[_0x25fa78]=_0x54a79e[_0xd3b229(0x1d5)](/url\(#(.*)\)/,'url(#$1'[_0xd3b229(0x2a6)](_0x10a05e[_0xd3b229(0x399)],')')));})),_0x9fea7;}function _0x1ac1cd(_0x22b75,_0x3d941a){const _0x56301b=_0x41a185;var _0x253b38,_0x950b95=_0x3d941a['defIds'];return!_0x950b95||_0x950b95[_0x56301b(0x15e)]===0x0?_0x22b75:_0x22b75['tag']===_0x56301b(0x319)&&(!((_0x253b38=_0x22b75[_0x56301b(0x1b3)])===null||_0x253b38===void 0x0)&&_0x253b38[_0x56301b(0x15e)])?_0x1525d3(_0x1525d3({},_0x22b75),{'children':_0x22b75[_0x56301b(0x1b3)][_0x56301b(0x123)](function(_0x4dae45){const _0x5dd4a3=_0x56301b;return typeof _0x4dae45[_0x5dd4a3(0x248)]['id']==_0x5dd4a3(0x1fd)&&_0x950b95&&_0x950b95[_0x5dd4a3(0x117)](_0x4dae45[_0x5dd4a3(0x248)]['id'])?_0x1525d3(_0x1525d3({},_0x4dae45),{'attrs':_0x1525d3(_0x1525d3({},_0x4dae45[_0x5dd4a3(0x248)]),{'id':_0x4dae45[_0x5dd4a3(0x248)]['id']+_0x3d941a[_0x5dd4a3(0x399)]})}):_0x4dae45;})}):_0x22b75;}function _0x3665c3(){const _0x3a10a3=_0x41a185;return Math[_0x3a10a3(0x37e)]()[_0x3a10a3(0x2c0)](0x24)[_0x3a10a3(0x312)](0x2,0x8);}_0x146f6c[_0x41a185(0x120)]='UniverIcon';var _0x24587d={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':'none','viewBox':_0x41a185(0x160),'width':_0x41a185(0x2d9),'height':_0x41a185(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x22f)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':_0x41a185(0x237),'d':_0x41a185(0x358),'strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x231)},'children':[{'tag':'path','attrs':{'fill':_0x41a185(0x299),'d':_0x41a185(0x13d)}}]}]}],'defIds':[_0x41a185(0x231)]},_0xf3e0b2=_0x3146b7[_0x41a185(0x2ca)](function(_0x4785a2,_0x2a523c){const _0x21b4a1=_0x41a185;return _0x3146b7[_0x21b4a1(0x294)](_0x146f6c,Object[_0x21b4a1(0x21b)]({},_0x4785a2,{'id':_0x21b4a1(0x2a7),'ref':_0x2a523c,'icon':_0x24587d}));});_0xf3e0b2[_0x41a185(0x120)]=_0x41a185(0x23a);var _0x2a8e7f={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':_0x41a185(0x246),'viewBox':'0\x200\x2017\x2016','width':_0x41a185(0x2d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x1ab)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':_0x41a185(0x30e),'strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x24a)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'fill':'white','d':_0x41a185(0x13d),'transform':_0x41a185(0x2b4)}}]}]}],'defIds':[_0x41a185(0x24a)]},_0x2e5f75=_0x3146b7['forwardRef'](function(_0x3b0d28,_0x3f66fd){const _0x383f24=_0x41a185;return _0x3146b7[_0x383f24(0x294)](_0x146f6c,Object['assign']({},_0x3b0d28,{'id':_0x383f24(0x250),'ref':_0x3f66fd,'icon':_0x2a8e7f}));});_0x2e5f75['displayName']=_0x41a185(0x346);function _0x2057fc(_0x488815){const _0x547079=_0x41a185;switch(_0x488815){case _0x2600cf[_0x547079(0x191)][_0x547079(0x261)]:return _0x547079(0x270);case _0x2600cf['CollaborationStatus'][_0x547079(0x1e8)]:return _0x547079(0x214);case _0x2600cf[_0x547079(0x191)][_0x547079(0x1bd)]:return'collabStatus.fetchMiss';case _0x2600cf[_0x547079(0x191)][_0x547079(0x216)]:return'collabStatus.notCollab';case _0x2600cf[_0x547079(0x191)]['AWAITING']:case _0x2600cf['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x547079(0x2a3);case _0x2600cf[_0x547079(0x191)][_0x547079(0x293)]:case _0x2600cf[_0x547079(0x191)]['PENDING']:return'collabStatus.synced';}}function _0x4cb787(_0x5269bf){const _0x282759=_0x41a185,{status$:_0x461e1e}=_0x5269bf,_0x595309=_0x48ab34[_0x282759(0x116)](_0x461e1e,_0x2600cf['CollaborationStatus'][_0x282759(0x216)]),_0x4266ab=_0x48ab34[_0x282759(0x2ad)](_0x5e3300['LocaleService']),_0x39c333=_0x48ab34[_0x282759(0x2ad)](_0x2600cf[_0x282759(0x179)]),_0x47ec3d=_0x595309!==_0x2600cf[_0x282759(0x191)][_0x282759(0x261)],_0x9baa35=_0x4266ab['t'](_0x2057fc(_0x595309)),_0xf2f3bb=_0x47ec3d?_0x5536b0['jsx'](_0x2e5f75,{}):_0x5536b0['jsx'](_0xf3e0b2,{}),_0x240d67=_0x3146b7[_0x282759(0x1c7)](()=>{_0x47ec3d||_0x39c333['reconnect']();},[_0x47ec3d,_0x39c333]);function _0x44d337(){const _0xce0166=_0x282759;return _0x5536b0['jsxs'](_0xce0166(0x1b6),{'className':'univer-flex\x20univer-items-center','onClick':_0x240d67,'children':[_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0x244ea9[_0xce0166(0x203)](_0xce0166(0x36d),{'univer-text-green-500':_0x47ec3d,'univer-text-red-500':!_0x47ec3d}),'children':_0xf2f3bb}),_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0xce0166(0x301),'children':_0x9baa35})]});}return _0x47ec3d?_0x44d337():_0x5536b0[_0x282759(0x161)](_0x244ea9[_0x282759(0x387)],{'title':_0x4266ab['t'](_0x282759(0x1a5)),'children':_0x44d337()});}var _0x2ed400=Object[_0x41a185(0x13b)],_0x52272e=(_0x48116b,_0xfd8363,_0x5dc18a,_0x3adcd2)=>{for(var _0x4f331e=_0x3adcd2>0x1?void 0x0:_0x3adcd2?_0x2ed400(_0xfd8363,_0x5dc18a):_0xfd8363,_0x4ea714=_0x48116b['length']-0x1,_0x1f0484;_0x4ea714>=0x0;_0x4ea714--)(_0x1f0484=_0x48116b[_0x4ea714])&&(_0x4f331e=_0x1f0484(_0x4f331e)||_0x4f331e);return _0x4f331e;},_0xfb8d56=(_0x3f1738,_0x4a52c8)=>(_0x50de1b,_0xa9999b)=>_0x4a52c8(_0x50de1b,_0xa9999b,_0x3f1738);_0x218781['DesktopCollaborationStatusDisplayController']=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x173e2e,_0x6a2e96,_0x361d25,_0x34c541){const _0x2fd43b=_0x41a185;super(),_0x528ae5(this,_0x2fd43b(0x35d),new _0x50b64e[(_0x2fd43b(0x228))](_0x2600cf[_0x2fd43b(0x191)]['NOT_COLLAB'])),(this[_0x2fd43b(0x118)]=_0x173e2e,this[_0x2fd43b(0x20b)]=_0x6a2e96,this[_0x2fd43b(0x2f9)]=_0x361d25,this[_0x2fd43b(0x33f)]=_0x34c541,this['_initStatusComponent'](),this[_0x2fd43b(0x27a)]());}[_0x41a185(0x27a)](){const _0x17cdd1=_0x41a185;this[_0x17cdd1(0x223)](this[_0x17cdd1(0x118)][_0x17cdd1(0x1d8)][_0x17cdd1(0x1e6)](_0x50b64e[_0x17cdd1(0x25a)](()=>{const _0x589c8c=_0x17cdd1,_0x4afb88=this['_univerInstanceService'][_0x589c8c(0x376)]();return _0x4afb88?this[_0x589c8c(0x2f9)]['getCollabEntity$'](_0x4afb88[_0x589c8c(0x28d)]()):_0x50b64e['of'](null);}),_0x50b64e[_0x17cdd1(0x25a)](_0xe49d8b=>_0xe49d8b?_0xe49d8b['status$']:_0x50b64e['of'](_0x2600cf[_0x17cdd1(0x191)][_0x17cdd1(0x216)])))[_0x17cdd1(0x1e9)](_0x58cf47=>{this['_status$']['next'](_0x58cf47);}));}[_0x41a185(0x2b7)](){const _0x11ac1f=_0x41a185;this['disposeWithMe'](this[_0x11ac1f(0x33f)][_0x11ac1f(0x1ee)](_0x48ab34['BuiltInUIPart'][_0x11ac1f(0x360)],()=>_0x48ab34[_0x11ac1f(0x269)](_0x1ce05b({'status$':this[_0x11ac1f(0x35d)][_0x11ac1f(0x17d)]()}),this['_injector'])));}},_0x218781['DesktopCollaborationStatusDisplayController']=_0x52272e([_0xfb8d56(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0xfb8d56(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0xfb8d56(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0xfb8d56(0x3,_0x48ab34[_0x41a185(0x35e)])],_0x218781[_0x41a185(0x22b)]);function _0x1ce05b(_0x34615c){const {status$:_0x336105}=_0x34615c;return function(){const _0x444786=_0x39c5;return _0x5536b0[_0x444786(0x161)](_0x4cb787,{'status$':_0x336105});};}const _0x48a0eb=_0x5e3300[_0x41a185(0x13f)](_0x41a185(0x386));var _0x5bab6f=Object[_0x41a185(0x13b)],_0x56e5ec=(_0x1b5e41,_0x54b5a8,_0x16afa6,_0x1a53b5)=>{const _0x223ca9=_0x41a185;for(var _0x4f844a=_0x1a53b5>0x1?void 0x0:_0x1a53b5?_0x5bab6f(_0x54b5a8,_0x16afa6):_0x54b5a8,_0x2bbb9b=_0x1b5e41[_0x223ca9(0x15e)]-0x1,_0x360012;_0x2bbb9b>=0x0;_0x2bbb9b--)(_0x360012=_0x1b5e41[_0x2bbb9b])&&(_0x4f844a=_0x360012(_0x4f844a)||_0x4f844a);return _0x4f844a;},_0x2cfcdb=(_0x299aa2,_0x1a057c)=>(_0x2fba3b,_0x41c06c)=>_0x1a057c(_0x2fba3b,_0x41c06c,_0x299aa2);_0x218781[_0x41a185(0x275)]=class extends _0x5e3300['RxDisposable']{constructor(_0x29652d,_0x4d2f87,_0x9bf52b,_0x1f98a2,_0x3ca21c){const _0x3720ac=_0x41a185;super(),this[_0x3720ac(0x3aa)]=_0x29652d,this[_0x3720ac(0x330)]=_0x4d2f87,this[_0x3720ac(0x1ef)]=_0x9bf52b,this[_0x3720ac(0x34f)]=_0x1f98a2,_0x3ca21c?_0x3ca21c==null||_0x3ca21c[_0x3720ac(0x39b)]()[_0x3720ac(0x2b0)](()=>this[_0x3720ac(0x189)]()):(this[_0x3720ac(0x330)][_0x3720ac(0x2b6)](_0x3720ac(0x18b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3720ac(0x189)]());}async['_init'](){const _0x26b163=_0x41a185,_0x1d5208=this['_urlService'][_0x26b163(0x16b)](_0x26b163(0x194)),_0x186baa=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x297)),_0x17b814=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x113));if(!_0x1d5208||!_0x186baa){this[_0x26b163(0x330)]['debug']('[CollaborationDataLoaderController]',_0x26b163(0x190));return;}const _0x4e7577=await this[_0x26b163(0x34f)]['loadUnit'](_0x1d5208,Number(_0x186baa),_0x17b814);_0x4e7577&&_0x4e7577 instanceof _0x5e3300[_0x26b163(0x1ba)]&&this[_0x26b163(0x114)](_0x4e7577);}async['_setupSubUnitSync'](_0x404fd9){const _0x18d42d=_0x41a185;await this[_0x18d42d(0x1ca)](_0x404fd9),_0x404fd9['activeSheet$'][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this[_0x18d42d(0x2de)]))[_0x18d42d(0x1e9)](_0x468611=>{_0x468611&&this['_updateURLWithCurrentState'](_0x468611);}),this[_0x18d42d(0x3aa)][_0x18d42d(0x1ad)][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this['dispose$']))[_0x18d42d(0x1e9)](()=>this['_updateSubUnitFromURLParams'](_0x404fd9));}[_0x41a185(0x317)](_0xcbc860,_0x221a86=!0x1){const _0x4d230a=_0x41a185,_0x329180=this['_urlService']['getParam'](_0x4d230a(0x113));_0xcbc860[_0x4d230a(0x291)]()!==_0x329180&&this[_0x4d230a(0x3aa)][_0x4d230a(0x1f3)](_0x4d230a(0x113),_0xcbc860[_0x4d230a(0x291)](),_0x221a86);}async[_0x41a185(0x1ca)](_0x1ec93b){const _0x550f81=_0x41a185;var _0x22e5a0;const _0x5e6fba=this[_0x550f81(0x3aa)][_0x550f81(0x16b)](_0x550f81(0x113));if(!_0x5e6fba||!_0x1ec93b['getSheetBySheetId'](_0x5e6fba)){const _0x277d93=_0x1ec93b['getUnhiddenWorksheets']()[0x0],_0x343297=_0x1ec93b['getSheetBySheetId'](_0x277d93);if(!_0x343297)return;this[_0x550f81(0x317)](_0x343297,!0x0),await this['_commandService']['executeCommand'](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x277d93});return;}((_0x22e5a0=_0x1ec93b[_0x550f81(0x1ce)]())==null?void 0x0:_0x22e5a0[_0x550f81(0x291)]())!==_0x5e6fba&&await this[_0x550f81(0x1ef)][_0x550f81(0x30b)](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x5e6fba});}},_0x218781['CollaborationDataLoaderController']=_0x56e5ec([_0x2cfcdb(0x0,_0x48a0eb),_0x2cfcdb(0x1,_0x5e3300['ILogService']),_0x2cfcdb(0x2,_0x5e3300[_0x41a185(0x22c)]),_0x2cfcdb(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x2e1)])),_0x2cfcdb(0x4,_0x5e3300[_0x41a185(0x225)](_0x2f8e17[_0x41a185(0x1bf)]))],_0x218781[_0x41a185(0x275)]);var _0x21fd32=Object[_0x41a185(0x13b)],_0x16736e=(_0x44cd3f,_0x235db7,_0x5dd57e,_0x32ca39)=>{for(var _0x50229a=_0x32ca39>0x1?void 0x0:_0x32ca39?_0x21fd32(_0x235db7,_0x5dd57e):_0x235db7,_0x1e341e=_0x44cd3f['length']-0x1,_0x1f0502;_0x1e341e>=0x0;_0x1e341e--)(_0x1f0502=_0x44cd3f[_0x1e341e])&&(_0x50229a=_0x1f0502(_0x50229a)||_0x50229a);return _0x50229a;},_0x432b9d=(_0x160484,_0x288d7e)=>(_0x30da2d,_0x1f28ca)=>_0x288d7e(_0x30da2d,_0x1f28ca,_0x160484);let _0x282384=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x514dc9,_0x388bf2){const _0x4d0f1b=_0x41a185;super(),this[_0x4d0f1b(0x215)]=_0x514dc9,this['_imageIoService']=_0x388bf2,this[_0x4d0f1b(0x189)]();}[_0x41a185(0x189)](){const _0x5433d7=_0x41a185,_0x46252c=this;this[_0x5433d7(0x223)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1c45f7=>{const _0x334b25=_0x5433d7,_0x5defc6=await _0x46252c[_0x334b25(0x27c)][_0x334b25(0x333)](_0x1c45f7);return _0x5defc6?{'source':_0x5defc6[_0x334b25(0x348)],'imageSourceType':_0x5defc6[_0x334b25(0x27f)]}:null;}}));}};_0x282384=_0x16736e([_0x432b9d(0x0,_0x1b316e[_0x41a185(0x277)]),_0x432b9d(0x1,_0xc83503[_0x41a185(0x343)])],_0x282384);const _0x58ce6f=[_0x41a185(0x390),_0x41a185(0x12a),_0x41a185(0x2ff),_0x41a185(0x121),_0x41a185(0x157),_0x41a185(0x1a2)];class _0xc0d63f extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x28dca1=_0x41a185;super(...arguments),_0x528ae5(this,_0x28dca1(0x282),new Map()),_0x528ae5(this,'_colorIndex',0x0);}[_0x41a185(0x2fa)](_0x13d34d){const _0x5614e3=_0x41a185;if(this[_0x5614e3(0x282)][_0x5614e3(0x345)](_0x13d34d))return this[_0x5614e3(0x282)][_0x5614e3(0x182)](_0x13d34d);const _0x184fc4=_0x58ce6f[this['_colorIndex']];return this[_0x5614e3(0x344)]=(this['_colorIndex']+0x1)%_0x58ce6f[_0x5614e3(0x15e)],this[_0x5614e3(0x282)][_0x5614e3(0x21d)](_0x13d34d,_0x184fc4),_0x184fc4;}}function _0x3ffd36(_0x582957){const _0x243fd2=_0x41a185;let _0x11b965='';for(const _0x570f38 of _0x582957){const {startOffset:_0x222f63,endOffset:_0x37f53d,isActive:_0x3ffed7,rangeType:_0x1b3e7b,segmentId:_0x2fc253,segmentPage:_0x3a510d}=_0x570f38;_0x11b965[_0x243fd2(0x15e)]&&(_0x11b965+=','),_0x11b965+=_0x222f63+':'+_0x37f53d+':'+(_0x3ffed7?'1':'0')+':'+_0x1b3e7b+':'+_0x2fc253+':'+_0x3a510d;}return _0x11b965;}function _0x87d182(_0x138616){const _0x2d4e94=_0x41a185,_0x22c471=_0x138616[_0x2d4e94(0x287)](','),_0x325615=[];for(const _0x2ffa4c of _0x22c471){const [_0x22ff3f,_0x400c35,_0x3b08f8,_0x4d65fa,_0x32380f,_0x3e1faa]=_0x2ffa4c[_0x2d4e94(0x287)](':');_0x325615['push']({'startOffset':Number(_0x22ff3f),'endOffset':Number(_0x400c35),'collapsed':_0x22ff3f===_0x400c35,'isActive':_0x3b08f8==='1','rangeType':_0x4d65fa===_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]?_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]:_0x5e3300['DOC_RANGE_TYPE'][_0x2d4e94(0x2d5)],'segmentId':typeof _0x32380f==_0x2d4e94(0x1fd)?String(_0x32380f):'','segmentPage':Number(_0x3e1faa!=null?_0x3e1faa:-0x1)});}return _0x325615[_0x2d4e94(0x1dc)](_0xc34d27=>_0xc34d27[_0x2d4e94(0x239)])||(_0x325615[0x0][_0x2d4e94(0x239)]=!0x0),_0x325615;}class _0xa68806 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x33d8f6=_0x41a185;super(...arguments),_0x528ae5(this,_0x33d8f6(0x29b),new _0x50b64e[(_0x33d8f6(0x228))](null)),_0x528ae5(this,_0x33d8f6(0x1f1),this['_collabCursorState$'][_0x33d8f6(0x17d)]());}[_0x41a185(0x168)](_0x1daab5){const _0x3339ed=_0x41a185,{unitID:_0x203d5a,memberID:_0x29e67,textRanges:_0x5817d3}=_0x1daab5,_0x4b596f=_0x3ffd36(_0x5817d3);if(_0x4b596f==='')return;const _0x1fe76a={'unitID':_0x203d5a,'memberID':_0x29e67,'selection':_0x4b596f};this['_collabCursorState$'][_0x3339ed(0x2e0)](_0x1fe76a);}}var _0x573b07=Object[_0x41a185(0x13b)],_0x2bae9f=(_0x55da5b,_0x825df2,_0x1a8a4f,_0x2da851)=>{const _0x471ab6=_0x41a185;for(var _0x9b09a8=_0x2da851>0x1?void 0x0:_0x2da851?_0x573b07(_0x825df2,_0x1a8a4f):_0x825df2,_0x6e9952=_0x55da5b[_0x471ab6(0x15e)]-0x1,_0x203ed3;_0x6e9952>=0x0;_0x6e9952--)(_0x203ed3=_0x55da5b[_0x6e9952])&&(_0x9b09a8=_0x203ed3(_0x9b09a8)||_0x9b09a8);return _0x9b09a8;},_0x3d5c12=(_0x54ecce,_0x5ad027)=>(_0x444fdb,_0x2000f7)=>_0x5ad027(_0x444fdb,_0x2000f7,_0x54ecce);const _0x275a8d=0x12c,_0x57d848=0x64;let _0x2ef3a8=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x25bd14,_0x30a6d8,_0xa90456,_0x14fbe2,_0x5674dc,_0x44d6ab,_0x142ef7,_0x517c57,_0x72a5b5){const _0x7b9ad=_0x41a185;super(),_0x528ae5(this,_0x7b9ad(0x35f),!0x1),_0x528ae5(this,'_init',!0x1),_0x528ae5(this,_0x7b9ad(0x21a),new _0x50b64e[(_0x7b9ad(0x228))](new Map())),_0x528ae5(this,_0x7b9ad(0x153),this[_0x7b9ad(0x21a)]['asObservable']()),_0x528ae5(this,_0x7b9ad(0x2d6),new _0x50b64e['BehaviorSubject']([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x50b64e[_0x7b9ad(0x38b)](_0x275a8d))),_0x528ae5(this,'_updateLocalCursor',_0x5e3300[_0x7b9ad(0x159)](_0x338c2f=>{const _0x25436b=_0x7b9ad,_0x553465={'eventID':_0x4384c1['CollaborationEvent'][_0x25436b(0x2e6)],'data':{'unitID':this[_0x25436b(0x35b)],'memberID':this['_session'][_0x25436b(0x1d9)](),'selection':_0x3ffd36(_0x338c2f)}};this[_0x25436b(0x19e)][_0x25436b(0x262)](_0x553465,this['unitID']);},_0x57d848)),(this[_0x7b9ad(0x35b)]=_0x25bd14,this[_0x7b9ad(0x19e)]=_0x30a6d8,this[_0x7b9ad(0x20b)]=_0xa90456,this['_colorAssignService']=_0x14fbe2,this[_0x7b9ad(0x146)]=_0x5674dc,this['_syncEditingCollabCursorService']=_0x44d6ab,this[_0x7b9ad(0x176)]=_0x142ef7,this[_0x7b9ad(0x118)]=_0x517c57,this['_commandService']=_0x72a5b5);}get['cursorInfo'](){const _0x5cd0c7=_0x41a185;return this[_0x5cd0c7(0x21a)][_0x5cd0c7(0x186)]();}get[_0x41a185(0x25e)](){const _0x245dfe=_0x41a185;return this['_roomMembers$'][_0x245dfe(0x186)]();}[_0x41a185(0x385)](){const _0x556722=_0x41a185;super['dispose'](),this[_0x556722(0x21a)][_0x556722(0x2e0)](new Map()),this[_0x556722(0x21a)][_0x556722(0x2f6)](),this[_0x556722(0x2d6)][_0x556722(0x2e0)]([]),this[_0x556722(0x2d6)][_0x556722(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x56bd86=_0x41a185;this[_0x56bd86(0x189)]||(this[_0x56bd86(0x189)]=!0x0,this[_0x56bd86(0x19e)]['sessionStatus$'][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x12c3e2=>{const _0x2b057e=_0x56bd86;_0x12c3e2===_0x2600cf[_0x2b057e(0x1b5)][_0x2b057e(0x32a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56bd86(0x19e)][_0x56bd86(0x12c)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this['dispose$']))[_0x56bd86(0x1e9)](_0x6bb761=>{const _0x5df52c=_0x56bd86,_0x3d8805=_0x6bb761[_0x5df52c(0x2d3)];_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x2e6)]&&this[_0x5df52c(0x1f4)](_0x6bb761),_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x174)]&&this[_0x5df52c(0x394)](_0x6bb761);}),this[_0x56bd86(0x223)](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x2d4135=>{const _0x489af3=_0x56bd86,_0x530fb0=_0x2d4135[_0x489af3(0x26f)];_0x530fb0!=null&&this['_online']&&_0x2d4135['id']===_0x3a8334[_0x489af3(0x1f0)]['id']&&_0x530fb0['unitId']===this[_0x489af3(0x35b)]&&_0x530fb0[_0x489af3(0x19b)]===!0x1&&_0x530fb0[_0x489af3(0x2cc)][_0x489af3(0x15e)]>0x0&&this[_0x489af3(0x398)](_0x530fb0[_0x489af3(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x56bd86(0x1f1)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x591963=>{const _0x1257f3=_0x56bd86;if((_0x591963==null?void 0x0:_0x591963[_0x1257f3(0x35b)])!==this[_0x1257f3(0x35b)])return;const _0x259de2={'eventID':_0x4384c1['CollaborationEvent'][_0x1257f3(0x2e6)],'data':_0x591963};this['_onCursorUpdate'](_0x259de2);}),this['disposeWithMe'](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x139af5=>{const _0x3ff3b9=_0x56bd86;if(_0x139af5[_0x3ff3b9(0x26f)]==null)return;const _0x1924e4=_0x139af5[_0x3ff3b9(0x26f)];if(_0x139af5['id']!==_0x3a8334[_0x3ff3b9(0x141)]['id']||_0x1924e4[_0x3ff3b9(0x323)]!==this['unitID'])return;const _0x51b1e7={'id':_0x3ff3b9(0x3a8),'params':_0x1924e4},_0x26eab2=this[_0x3ff3b9(0x242)];for(const [_0x54a311,_0x4e08bd]of _0x26eab2){const _0x254ece={'id':_0x3ff3b9(0x3a8),'params':{'unitId':this[_0x3ff3b9(0x35b)],'actions':null,'textRanges':_0x4e08bd[_0x3ff3b9(0x2cc)]}},_0x3f55a5=this['_transformService'][_0x3ff3b9(0x1b9)](_0x51b1e7,_0x254ece,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x3f55a5))throw _0x3f55a5[_0x3ff3b9(0x2e9)];_0x26eab2[_0x3ff3b9(0x21d)](_0x54a311,{..._0x4e08bd,'ranges':_0x3f55a5[_0x3ff3b9(0x137)][_0x3ff3b9(0x26f)][_0x3ff3b9(0x1a0)]});}queueMicrotask(()=>{const _0x13ecad=_0x3ff3b9;this[_0x13ecad(0x21a)]['next'](_0x26eab2);});})));}[_0x41a185(0x1f4)](_0x565d42){const _0x5d9375=_0x41a185;var _0x5499e3,_0x278c79;const {memberID:_0xac4222,selection:_0x1e0b7f}=_0x565d42['data'],_0x2d008f=_0x87d182(_0x1e0b7f),_0x5900ab=(_0x278c79=(_0x5499e3=this[_0x5d9375(0x146)]['getMember'](this[_0x5d9375(0x35b)],_0xac4222))==null?void 0x0:_0x5499e3[_0x5d9375(0x1f6)])!=null?_0x278c79:_0x5d9375(0x30c),_0x42b6ae={'color':this[_0x5d9375(0x37f)][_0x5d9375(0x2fa)](_0xac4222),'name':_0x5900ab,'ranges':_0x2d008f},_0xe0aa00=this[_0x5d9375(0x242)];_0xe0aa00[_0x5d9375(0x21d)](_0xac4222,_0x42b6ae),this[_0x5d9375(0x21a)]['next'](_0xe0aa00);}[_0x41a185(0x394)](_0x4020a5){const _0x32bdf8=_0x41a185,{memberID:_0x58a8a5}=_0x4020a5[_0x32bdf8(0x397)],_0x24829d=this[_0x32bdf8(0x242)];_0x24829d[_0x32bdf8(0x2ee)](_0x58a8a5),this[_0x32bdf8(0x21a)][_0x32bdf8(0x2e0)](_0x24829d);}['_toggleOnline'](){const _0x5cd3d3=_0x41a185;var _0x19fc32;if(this[_0x5cd3d3(0x35f)]=!0x0,((_0x19fc32=this[_0x5cd3d3(0x118)][_0x5cd3d3(0x376)]())==null?void 0x0:_0x19fc32[_0x5cd3d3(0x28d)]())!==this[_0x5cd3d3(0x35b)])return;const _0x5c3243=this[_0x5cd3d3(0x20b)][_0x5cd3d3(0x182)](_0x3a8334[_0x5cd3d3(0x171)])[_0x5cd3d3(0x252)]();Array[_0x5cd3d3(0x2ab)](_0x5c3243)&&_0x5c3243[_0x5cd3d3(0x15e)]>0x0&&this[_0x5cd3d3(0x398)](_0x5c3243);}[_0x41a185(0x256)](){const _0x16d0a7=_0x41a185;this[_0x16d0a7(0x35f)]=!0x1;}};_0x2ef3a8=_0x2bae9f([_0x3d5c12(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x3d5c12(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x3d5c12(0x4,_0x5e3300['Inject'](_0x2600cf[_0x41a185(0x162)])),_0x3d5c12(0x5,_0x5e3300['Inject'](_0xa68806)),_0x3d5c12(0x6,_0x4384c1[_0x41a185(0x1df)]),_0x3d5c12(0x7,_0x5e3300[_0x41a185(0x2b5)]),_0x3d5c12(0x8,_0x5e3300[_0x41a185(0x22c)])],_0x2ef3a8);var _0x402f88=Object[_0x41a185(0x13b)],_0x3a793=(_0x352090,_0x199cad,_0x5e390f,_0x4397bf)=>{const _0x409593=_0x41a185;for(var _0x5def69=_0x4397bf>0x1?void 0x0:_0x4397bf?_0x402f88(_0x199cad,_0x5e390f):_0x199cad,_0x24431c=_0x352090[_0x409593(0x15e)]-0x1,_0x170566;_0x24431c>=0x0;_0x24431c--)(_0x170566=_0x352090[_0x24431c])&&(_0x5def69=_0x170566(_0x5def69)||_0x5def69);return _0x5def69;},_0x354548=(_0x489aee,_0x5b854d)=>(_0x45b3e5,_0x222362)=>_0x5b854d(_0x45b3e5,_0x222362,_0x489aee);const _0x200180=0x12c,_0x57474d=0x64,_0x28324f=()=>{let _0x1a591e=[],_0x54e451=!0x1;return _0x3555de=>{const _0x228243=_0x39c5;_0x1a591e[_0x228243(0x24e)](_0x3555de),_0x54e451||(_0x54e451=!0x0,setTimeout(()=>{_0x1a591e['forEach'](_0x169ba5=>_0x169ba5()),_0x1a591e=[],_0x54e451=!0x1;}));};};let _0x4fce6c=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x5aeaad,_0x58e920,_0x291448,_0x43901b,_0x26e0b6,_0x7bd806,_0x5c038a,_0x2e0a41){const _0xdc9731=_0x41a185;super(),_0x528ae5(this,'_online',!0x1),_0x528ae5(this,_0xdc9731(0x189),!0x1),_0x528ae5(this,_0xdc9731(0x21a),new _0x50b64e[(_0xdc9731(0x228))](new Map())),_0x528ae5(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x528ae5(this,_0xdc9731(0x2d6),new _0x50b64e[(_0xdc9731(0x228))]([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$'][_0xdc9731(0x1e6)](_0x50b64e[_0xdc9731(0x38b)](_0x200180))),_0x528ae5(this,_0xdc9731(0x398),_0x5e3300[_0xdc9731(0x159)]((_0x37e819,_0x58d633)=>{const _0x140349=_0xdc9731,_0x428a3e={'eventID':_0x4384c1[_0x140349(0x2e7)][_0x140349(0x2e6)],'data':{'unitID':this[_0x140349(0x35b)],'memberID':this[_0x140349(0x19e)][_0x140349(0x1d9)](),'selection':_0x5aa429[_0x140349(0x396)](_0x37e819,_0x58d633['range'])}};this[_0x140349(0x19e)][_0x140349(0x262)](_0x428a3e,this[_0x140349(0x35b)]);},_0x57474d)),(this[_0xdc9731(0x35b)]=_0x5aeaad,this[_0xdc9731(0x19e)]=_0x58e920,this[_0xdc9731(0x20b)]=_0x291448,this[_0xdc9731(0x37f)]=_0x43901b,this[_0xdc9731(0x146)]=_0x26e0b6,this['_univerInstanceService']=_0x7bd806,this[_0xdc9731(0x1ef)]=_0x5c038a,this[_0xdc9731(0x23b)]=_0x2e0a41);}get[_0x41a185(0x242)](){return this['_cursorInfo$']['getValue']();}get[_0x41a185(0x25e)](){const _0x1a2bbf=_0x41a185;return this[_0x1a2bbf(0x2d6)]['getValue']();}[_0x41a185(0x385)](){const _0xe308b2=_0x41a185;super[_0xe308b2(0x385)](),this[_0xe308b2(0x21a)][_0xe308b2(0x2e0)](new Map()),this[_0xe308b2(0x21a)][_0xe308b2(0x2f6)](),this[_0xe308b2(0x2d6)][_0xe308b2(0x2e0)]([]),this[_0xe308b2(0x2d6)][_0xe308b2(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x28c568=_0x41a185;this[_0x28c568(0x189)]||(this[_0x28c568(0x189)]=!0x0,this['_session']['sessionStatus$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))['subscribe'](_0x217880=>{const _0x345dd4=_0x28c568;_0x217880===_0x2600cf[_0x345dd4(0x1b5)]['ONLINE']?this[_0x345dd4(0x234)]():this[_0x345dd4(0x256)]();}),this[_0x28c568(0x19e)]['event$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))[_0x28c568(0x1e9)](_0x5dbd04=>{const _0x138c60=_0x28c568,_0x3edcce=_0x5dbd04[_0x138c60(0x2d3)];_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x2e6)]&&this['_onCursorUpdate'](_0x5dbd04),_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x174)]&&this[_0x138c60(0x394)](_0x5dbd04);}),this[_0x28c568(0x372)](),this[_0x28c568(0x223)](this[_0x28c568(0x1ef)][_0x28c568(0x3a9)](_0x2c0120=>{const _0x1fb9c8=_0x28c568;if(this['_online']&&_0x2c0120['id']===_0x101dc9[_0x1fb9c8(0x25f)]['id']&&_0x2c0120[_0x1fb9c8(0x26f)]['unitId']===this[_0x1fb9c8(0x35b)]){const _0x13d848=_0x2c0120[_0x1fb9c8(0x26f)];this[_0x1fb9c8(0x398)](_0x13d848['subUnitId'],_0x13d848['selections'][0x0]);}})));}[_0x41a185(0x1f4)](_0x2d4899){const _0x28e4a2=_0x41a185;var _0x600d5f,_0x115025;const {memberID:_0x5a2d1b,selection:_0x4ec7cd}=_0x2d4899[_0x28e4a2(0x397)],{sheetName:_0x124cf0,range:_0x4a5e9e}=_0x5aa429['deserializeRangeWithSheet'](_0x4ec7cd),_0x3b374a={'name':(_0x115025=(_0x600d5f=this[_0x28e4a2(0x146)][_0x28e4a2(0x308)](this[_0x28e4a2(0x35b)],_0x5a2d1b))==null?void 0x0:_0x600d5f[_0x28e4a2(0x1f6)])!=null?_0x115025:'Unknown\x20user','range':this[_0x28e4a2(0x37b)](_0x124cf0,_0x4a5e9e),'sheetID':_0x124cf0,'color':this[_0x28e4a2(0x37f)]['assignAColorForMemberID'](_0x5a2d1b),'selection':_0x4ec7cd},_0x52f6aa=this[_0x28e4a2(0x242)];_0x52f6aa[_0x28e4a2(0x21d)](_0x5a2d1b,_0x3b374a),this[_0x28e4a2(0x21a)][_0x28e4a2(0x2e0)](_0x52f6aa);}[_0x41a185(0x394)](_0x5b857c){const _0xe38b34=_0x41a185,{memberID:_0x3797f9}=_0x5b857c[_0xe38b34(0x397)],_0x1a7f06=this[_0xe38b34(0x242)];_0x1a7f06[_0xe38b34(0x2ee)](_0x3797f9),this[_0xe38b34(0x21a)][_0xe38b34(0x2e0)](_0x1a7f06);}[_0x41a185(0x37b)](_0x212979,_0x26c49a){const _0x7857b0=_0x41a185;var _0xb5195e,_0xcf3404;const _0x2ddad1=(_0xcf3404=(_0xb5195e=this[_0x7857b0(0x118)][_0x7857b0(0x326)](this[_0x7857b0(0x35b)]))==null?void 0x0:_0xb5195e['getSheetBySheetId'](_0x212979))==null?void 0x0:_0xcf3404[_0x7857b0(0x2f2)]();return(_0x2ddad1==null?void 0x0:_0x2ddad1['find'](_0x27fa93=>_0x5e3300[_0x7857b0(0x283)][_0x7857b0(0x3a4)](_0x27fa93,_0x26c49a)))||_0x26c49a;}[_0x41a185(0x372)](){const _0x42c5ae=_0x41a185,_0x2f8c42=new _0x5e3300['DisposableCollection'](),_0x2ccf39=_0x28324f(),_0x49ce47=()=>{const _0xd824c3=_0x39c5;_0x2f8c42[_0xd824c3(0x385)]();const _0x3c5c8f=(_0x4ba870,_0x4d9ed7,_0x175ddd,_0x3cb7c3)=>{const _0x3a6c92=_0xd824c3;let _0x1f9b07=[];switch(_0x4ba870['id']){case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x226)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x38d)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x23f)]:{_0x1f9b07=_0x101dc9['handleDeleteRangeMoveUp'](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x163)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x257)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x169)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x2ac)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)]['InsertRangeMoveRightCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x23c)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x20d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x158)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x15d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x1b0)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId']['RemoveColCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x388)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x1f8)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x31e)](_0x4ba870,_0x3cb7c3);break;}}const _0x18577a=_0x101dc9['runRefRangeMutations'](_0x1f9b07,_0x3cb7c3),_0x33d0a0=this[_0x3a6c92(0x242)]['get'](_0x4d9ed7);if(_0x33d0a0&&_0x18577a){const _0x29e9a3={..._0x33d0a0,'range':_0x18577a};this['cursorInfo'][_0x3a6c92(0x21d)](_0x4d9ed7,_0x29e9a3),_0x2ccf39(()=>{const _0x234667=_0x3a6c92,_0x4cf24b=this['_refRangeService'][_0x234667(0x188)](_0x18577a,_0x19014a=>(_0x4cf24b[_0x234667(0x385)](),_0x3c5c8f(_0x19014a,_0x4d9ed7,_0x175ddd,_0x18577a)));_0x2f8c42['add'](_0x4cf24b);});}return{'redos':[],'undos':[]};};this[_0xd824c3(0x242)][_0xd824c3(0x2ba)]((_0x3f09e5,_0x5400d9)=>{const _0xf33726=_0xd824c3,{range:_0x28d5ae,sheetID:_0x434eae}=_0x3f09e5,_0x112f83=this[_0xf33726(0x23b)][_0xf33726(0x188)](_0x28d5ae,_0x4a4b97=>(_0x112f83[_0xf33726(0x385)](),_0x3c5c8f(_0x4a4b97,_0x5400d9,_0x434eae,_0x28d5ae)));_0x2f8c42['add'](_0x112f83);});};this['disposeWithMe'](_0x5e3300[_0x42c5ae(0x1c2)](this[_0x42c5ae(0x21a)][_0x42c5ae(0x1e9)](()=>{_0x49ce47();})));}['_toggleOnline'](){const _0x3bcd9a=_0x41a185;var _0x5482e7,_0x2358c3;if(this['_online']=!0x0,((_0x5482e7=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x376)]())==null?void 0x0:_0x5482e7[_0x3bcd9a(0x28d)]())!==this[_0x3bcd9a(0x35b)])return;const _0x44f1b7=(_0x2358c3=this[_0x3bcd9a(0x20b)][_0x3bcd9a(0x182)](_0x101dc9[_0x3bcd9a(0x278)])['getCurrentSelections']())==null?void 0x0:_0x2358c3[0x0],_0x456519=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x2fd)](_0x5e3300[_0x3bcd9a(0x268)]['UNIVER_SHEET'])[_0x3bcd9a(0x1ce)]();_0x44f1b7&&_0x456519&&this[_0x3bcd9a(0x398)](_0x456519[_0x3bcd9a(0x291)](),_0x44f1b7);}[_0x41a185(0x256)](){const _0xa744a8=_0x41a185;this[_0xa744a8(0x35f)]=!0x1;}};_0x4fce6c=_0x3a793([_0x354548(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x354548(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x354548(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x162)])),_0x354548(0x5,_0x5e3300[_0x41a185(0x2b5)]),_0x354548(0x6,_0x5e3300[_0x41a185(0x22c)]),_0x354548(0x7,_0x5e3300['Inject'](_0x101dc9['RefRangeService']))],_0x4fce6c);var _0x5d2fbe=Object[_0x41a185(0x13b)],_0x5077b0=(_0x4ad502,_0x795432,_0x4e5803,_0x1a1c57)=>{const _0x29f6aa=_0x41a185;for(var _0x1e3653=_0x1a1c57>0x1?void 0x0:_0x1a1c57?_0x5d2fbe(_0x795432,_0x4e5803):_0x795432,_0x4bbc2e=_0x4ad502[_0x29f6aa(0x15e)]-0x1,_0x2e7bec;_0x4bbc2e>=0x0;_0x4bbc2e--)(_0x2e7bec=_0x4ad502[_0x4bbc2e])&&(_0x1e3653=_0x2e7bec(_0x1e3653)||_0x1e3653);return _0x1e3653;},_0x1aa2e5=(_0x4a9fba,_0x547fbc)=>(_0xae0f23,_0x275a62)=>_0x547fbc(_0xae0f23,_0x275a62,_0x4a9fba);let _0x17492c=class extends _0x5e3300['RxDisposable']{constructor(_0x8ea94e,_0x57494b,_0x38c0b5){const _0x2c3de3=_0x41a185;super(),_0x528ae5(this,'_entities',new Map()),_0x528ae5(this,_0x2c3de3(0x206),new _0x50b64e['Subject']()),(this[_0x2c3de3(0x118)]=_0x8ea94e,this[_0x2c3de3(0x20b)]=_0x57494b,this['_collabSessionService']=_0x38c0b5,this[_0x2c3de3(0x189)]());}[_0x41a185(0x385)](){const _0x398775=_0x41a185;super[_0x398775(0x385)](),this[_0x398775(0x206)]['complete'](),this[_0x398775(0x145)][_0x398775(0x2ba)](_0x3b6309=>_0x3b6309[_0x398775(0x385)]());}[_0x41a185(0x1a1)](_0x228196){const _0xa16c4e=_0x41a185;return this['_entities']['has'](_0x228196)?this[_0xa16c4e(0x145)][_0xa16c4e(0x182)](_0x228196)[_0xa16c4e(0x153)]:this[_0xa16c4e(0x206)][_0xa16c4e(0x1e6)](_0x50b64e[_0xa16c4e(0x1c8)](_0x63e516=>_0x63e516['unitID']===_0x228196),_0x50b64e[_0xa16c4e(0x25a)](_0x19f13c=>_0x19f13c[_0xa16c4e(0x153)]));}[_0x41a185(0x189)](){const _0xf94fe6=_0x41a185;this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](async _0x57a720=>{const _0x101473=_0xf94fe6,_0x3755be=_0x57a720[_0x101473(0x28d)](),_0x479d99=await this[_0x101473(0x1cd)](_0x3755be);this[_0x101473(0x206)]['next'](_0x479d99),this[_0x101473(0x145)]['set'](_0x3755be,_0x479d99);}),this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x265)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))['pipe'](_0x50b64e[_0xf94fe6(0x1c8)](_0x35e67e=>!_0x35e67e[_0xf94fe6(0x28d)]()[_0xf94fe6(0x31c)]('__')))[_0xf94fe6(0x1e9)](async _0x2af2e7=>{const _0xd1d674=_0xf94fe6,_0x670c5b=_0x2af2e7[_0xd1d674(0x28d)](),_0x31010e=await this[_0xd1d674(0x32e)](_0x670c5b);this['_entityInit$'][_0xd1d674(0x2e0)](_0x31010e),this[_0xd1d674(0x145)][_0xd1d674(0x21d)](_0x670c5b,_0x31010e);}),_0x50b64e[_0xf94fe6(0x2c7)](this[_0xf94fe6(0x118)]['getTypeOfUnitDisposed$'](_0x5e3300[_0xf94fe6(0x268)]['UNIVER_DOC']),this[_0xf94fe6(0x118)][_0xf94fe6(0x1e5)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)]))[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](_0x57c3c8=>{const _0xbbfcbc=_0xf94fe6,_0x3236d9=_0x57c3c8[_0xbbfcbc(0x28d)](),_0x3ebb8d=this['_entities'][_0xbbfcbc(0x182)](_0x3236d9);_0x3ebb8d&&(_0x3ebb8d[_0xbbfcbc(0x385)](),this[_0xbbfcbc(0x145)][_0xbbfcbc(0x2ee)](_0x3236d9));});}async[_0x41a185(0x1cd)](_0x1bf7f2){const _0x4a8d45=_0x41a185,_0x111636=await this[_0x4a8d45(0x39e)][_0x4a8d45(0x22d)](_0x1bf7f2),_0x28f935=this[_0x4a8d45(0x20b)][_0x4a8d45(0x1d7)](_0x4fce6c,_0x1bf7f2,_0x111636);return _0x28f935[_0x4a8d45(0x2c3)](),_0x28f935;}async['_startDocCollabCursor'](_0x47ff84){const _0x3383f7=_0x41a185,_0x390b5e=await this[_0x3383f7(0x39e)][_0x3383f7(0x22d)](_0x47ff84),_0x42a994=this[_0x3383f7(0x20b)][_0x3383f7(0x1d7)](_0x2ef3a8,_0x47ff84,_0x390b5e);return _0x42a994[_0x3383f7(0x2c3)](),_0x42a994;}};_0x17492c=_0x5077b0([_0x1aa2e5(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0x1aa2e5(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x1aa2e5(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x179)]))],_0x17492c);const _0x352025=0x14,_0x27975c=0xc8,_0x47d14b=0x4,_0x1a9088=0x5;function _0x7bf8f1(_0x11a885,_0x58618b){const _0x551b8c=_0x41a185;let {radius:_0x5b6031,width:_0xc60436,height:_0x21f7ae}=_0x58618b;_0x5b6031=_0x5b6031!=null?_0x5b6031:0x0,_0xc60436=_0xc60436!=null?_0xc60436:0x1e,_0x21f7ae=_0x21f7ae!=null?_0x21f7ae:0x1e;let _0xc04b50=0x0,_0x39e0b1=0x0,_0x1958d8=0x0;_0xc04b50=_0x39e0b1=_0x1958d8=Math[_0x551b8c(0x2bd)](_0x5b6031,_0xc60436/0x2,_0x21f7ae/0x2),_0x11a885[_0x551b8c(0x2d8)](),_0x11a885['moveTo'](_0xc04b50,0x0),_0x11a885['lineTo'](_0xc60436-_0x39e0b1,0x0),_0x11a885[_0x551b8c(0x314)](_0xc60436-_0x39e0b1,_0x39e0b1,_0x39e0b1,Math['PI']*0x3/0x2,0x0,!0x1),_0x11a885[_0x551b8c(0x1fa)](_0xc60436,_0x21f7ae-_0x1958d8),_0x11a885['arc'](_0xc60436-_0x1958d8,_0x21f7ae-_0x1958d8,_0x1958d8,0x0,Math['PI']/0x2,!0x1),_0x11a885[_0x551b8c(0x1fa)](0x0,_0x21f7ae),_0x11a885[_0x551b8c(0x1fa)](0x0,_0xc04b50),_0x11a885[_0x551b8c(0x314)](_0xc04b50,_0xc04b50,_0xc04b50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11a885[_0x551b8c(0x12e)](),_0x58618b['fill']&&(_0x11a885[_0x551b8c(0x23e)](),_0x11a885[_0x551b8c(0x26a)]=_0x58618b[_0x551b8c(0x359)],_0x58618b[_0x551b8c(0x227)]===_0x551b8c(0x35c)?_0x11a885[_0x551b8c(0x359)](_0x551b8c(0x35c)):_0x11a885[_0x551b8c(0x359)](),_0x11a885[_0x551b8c(0x245)]());}class _0x128905 extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x1ed0da,_0x2598f9){const _0x518785=_0x41a185;super(_0x1ed0da,_0x2598f9),_0x528ae5(this,'color'),_0x528ae5(this,_0x518785(0x2c8)),(this['color']=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x286)],this[_0x518785(0x2c8)]=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x2c8)]);}static[_0x41a185(0x2cb)](_0x1d73e3,_0x451e35){const _0x54136b=_0x41a185,{text:_0x2eb0b7,color:_0x5dc7d7}=_0x451e35;_0x1d73e3[_0x54136b(0x23e)](),_0x1d73e3[_0x54136b(0x1cb)]=_0x54136b(0x353);const _0x2c3fad=_0x1d73e3[_0x54136b(0x1f2)](_0x2eb0b7)[_0x54136b(0x11e)],_0xd9e4eb=Math[_0x54136b(0x2bd)](_0x2c3fad+0x2*_0x47d14b,_0x27975c);_0x7bf8f1(_0x1d73e3,{'height':_0x352025,'radius':0x4,'width':_0xd9e4eb,'fill':_0x5dc7d7}),_0x1d73e3[_0x54136b(0x26a)]='#FFF';const _0x5b82ac=_0x47d14b,_0xff464=_0x352025-_0x1a9088,_0x272aa0=_0x27975c-0x2*_0x47d14b;if(_0x2c3fad>_0x272aa0){let _0x519bbf='',_0x247499=0x0;for(const _0x3746b0 of _0x2eb0b7){const _0x240f2a=_0x1d73e3[_0x54136b(0x1f2)](_0x3746b0)[_0x54136b(0x11e)];if(_0x247499+_0x240f2a<=_0x272aa0-_0x1d73e3['measureText'](_0x54136b(0x11a))[_0x54136b(0x11e)])_0x519bbf+=_0x3746b0,_0x247499+=_0x240f2a;else{_0x519bbf+=_0x54136b(0x11a);break;}}_0x1d73e3[_0x54136b(0x126)](_0x519bbf,_0x5b82ac,_0xff464);}else _0x1d73e3[_0x54136b(0x126)](_0x2eb0b7,_0x5b82ac,_0xff464);_0x1d73e3['restore']();}[_0x41a185(0x11f)](_0x78ffb1){_0x128905['drawWith'](_0x78ffb1,this);}}const _0xa11a8e=_0x41a185(0x31a),_0x28715d=_0x41a185(0x350),_0x2fad1b=_0x41a185(0x140),_0xaf64a0=0x6,_0x1f02cc=1.5,_0x32de74=0x4,_0x552c09=1.5,_0x56cd5b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f61e7{constructor(_0xfe6a09,_0x30d031,_0x152251,_0x2bcf79){const _0x1e1ff2=_0x41a185;_0x528ae5(this,'_shapes',[]),_0x528ae5(this,_0x1e1ff2(0x24c),null),_0x528ae5(this,'_textBubble',null),_0x528ae5(this,_0x1e1ff2(0x11d),null),_0x528ae5(this,'_hideTimer',null),_0x528ae5(this,'_eventUnsubscribe',null),(this['_cursor']=_0xfe6a09,this[_0x1e1ff2(0x2b2)]=_0x30d031,this[_0x1e1ff2(0x38e)]=_0x152251,this[_0x1e1ff2(0x392)]=_0x2bcf79,this[_0x1e1ff2(0x393)]());}set[_0x41a185(0x218)](_0x55ca80){const _0x62d28c=_0x41a185;_0x55ca80?(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x1c5)](),this['_textBubble']&&this[_0x62d28c(0x364)][_0x62d28c(0x2e8)]()):(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x2e8)](),this[_0x62d28c(0x364)]&&this[_0x62d28c(0x364)][_0x62d28c(0x1c5)]());}[_0x41a185(0x385)](){const _0x4635f9=_0x41a185;for(const _0x4e7fd2 of this[_0x4635f9(0x2bf)])_0x4e7fd2[_0x4635f9(0x385)]();this[_0x4635f9(0x364)]&&this[_0x4635f9(0x364)][_0x4635f9(0x385)](),this[_0x4635f9(0x11d)]&&this[_0x4635f9(0x11d)][_0x4635f9(0x385)](),this[_0x4635f9(0x24c)]&&this['_anchor']['dispose'](),this[_0x4635f9(0x2d0)]&&this[_0x4635f9(0x2d0)]();}[_0x41a185(0x393)](){const _0x145342=_0x41a185;var _0x109d6a;const {_docSkeleton:_0x26d9af,_document:_0x1ddb69}=this,{color:_0x4bfc24,name:_0x531523,ranges:_0x57849f}=this[_0x145342(0x38a)],_0x3d0824=_0x1ddb69[_0x145342(0x370)](),{docsLeft:_0x1b7a0f,docsTop:_0x152b1f}=_0x3d0824,_0x4c1d0f=new _0x1b316e[(_0x145342(0x177))](_0x3d0824,_0x26d9af);for(const {startOffset:_0x2533a4,endOffset:_0x50db23,rangeType:_0x478b30,segmentId:_0x2a33d3,segmentPage:_0x1638e6,collapsed:_0x44a467,isActive:_0x597e61}of _0x57849f){const _0x579d4c=_0x26d9af[_0x145342(0x1aa)](_0x2533a4,!0x0,_0x2a33d3,_0x1638e6);let _0x4653e0=_0x26d9af['findNodePositionByCharIndex'](_0x50db23,!0x0,_0x2a33d3,_0x1638e6);if(_0x4653e0==null&&(_0x4653e0=_0x26d9af[_0x145342(0x1aa)](_0x50db23-0x1,!0x1,_0x2a33d3,_0x1638e6)),_0x597e61){const {contentBoxPointGroup:_0x212531}=_0x4c1d0f[_0x145342(0x375)](_0x4653e0,_0x4653e0);if(_0x212531[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x13a)](_0x4bfc24,_0x212531,_0x1b7a0f,_0x152b1f,_0x531523),this[_0x145342(0x2d0)]=this[_0x145342(0x229)]();}if(_0x579d4c&&_0x4653e0){if(_0x478b30===_0x5e3300[_0x145342(0x31f)][_0x145342(0x2d5)]){const _0x2f12ca=new _0x1b316e[(_0x145342(0x31b))](_0x3d0824,_0x26d9af),{pointGroup:_0x4fa3b4}=(_0x109d6a=_0x2f12ca[_0x145342(0x375)](_0x579d4c,_0x4653e0))!=null?_0x109d6a:{};if(_0x4fa3b4==null||_0x4fa3b4[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x3a2)](_0x4bfc24,_0x4fa3b4,_0x1b7a0f,_0x152b1f);}else{if(!_0x44a467){const {borderBoxPointGroup:_0x48abe8}=_0x4c1d0f[_0x145342(0x375)](_0x579d4c,_0x4653e0);if(_0x48abe8[_0x145342(0x15e)]===0x0)continue;this['_drawTextRange'](_0x4bfc24,_0x48abe8,_0x1b7a0f,_0x152b1f);}}}}}['_drawAnchor'](_0x59f788,_0x6d2a6,_0x5a5480,_0x49f7ee,_0x37e6fe){const _0x494309=_0x41a185,_0x24108f=this[_0x494309(0x33e)](_0x6d2a6),{left:_0x558537,top:_0x5f9656,height:_0x2e7780}=_0x24108f,_0xdb1085=this[_0x494309(0x1de)](),_0x572ee3=_0x552c09/_0xdb1085,_0xd70d=new _0x1b825c[(_0x494309(0x281))](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee,'height':_0x2e7780,'width':_0x1f02cc,'fill':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':_0x572ee3,'stroke':_0x56cd5b,'evented':!0x0});this[_0x494309(0x24c)]=_0xd70d,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0xd70d,_0x1b316e[_0x494309(0x2d7)]);const _0x3c8f7c=new _0x1b825c['Rect'](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x32de74/0x2,'height':_0x32de74,'width':_0x32de74,'fill':_0x59f788||_0x1b825c['getColor'](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':0x0,'stroke':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300['COLORS']['black'],0x0),'evented':!0x1});this[_0x494309(0x11d)]=_0x3c8f7c,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0x3c8f7c,_0x1b316e[_0x494309(0x2d7)]);const _0x514018=new _0x128905(_0xa11a8e+_0x5e3300['generateRandomId'](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x352025,'text':_0x37e6fe,'color':_0x59f788});this[_0x494309(0x364)]=_0x514018,this[_0x494309(0x2b2)]['addObject'](_0x514018,_0x1b316e[_0x494309(0x2d7)]),this['_hover']=!0x1;}[_0x41a185(0x229)](){const _0x1e6265=_0x41a185,_0x115d62=this[_0x1e6265(0x24c)][_0x1e6265(0x16a)][_0x1e6265(0x361)](()=>{const _0x2768c6=_0x1e6265;this[_0x2768c6(0x218)]=!0x0;}),_0x34f040=this[_0x1e6265(0x24c)][_0x1e6265(0x221)][_0x1e6265(0x361)](()=>{const _0x4eceb9=_0x1e6265;this[_0x4eceb9(0x351)]&&clearTimeout(this[_0x4eceb9(0x351)]),this[_0x4eceb9(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1ca0cc=_0x1e6265;_0x115d62[_0x1ca0cc(0x198)](),_0x34f040[_0x1ca0cc(0x198)]();};}[_0x41a185(0x1ea)](_0x5b3f45,_0x480127,_0x185f78,_0xe7241){const _0x5ca5c8=_0x41a185,_0x2addf7=new _0x5e3300[(_0x5ca5c8(0x2b8))](_0x5b3f45)[_0x5ca5c8(0x232)](0.2)[_0x5ca5c8(0x134)](),_0x429967=new _0x1b825c[(_0x5ca5c8(0x384))](_0x28715d+_0x5e3300[_0x5ca5c8(0x2b3)](_0xaf64a0),{'pointsGroup':_0x480127,'fill':_0x2addf7||_0x1b825c[_0x5ca5c8(0x148)](_0x5e3300['COLORS'][_0x5ca5c8(0x1a8)],0.2),'left':_0x185f78,'top':_0xe7241,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x429967),this['_scene']['addObject'](_0x429967,_0x1b316e[_0x5ca5c8(0x2d7)]);}[_0x41a185(0x3a2)](_0x2633d9,_0x72e547,_0x489d15,_0x1043ec){const _0x10ce93=_0x41a185,_0x47f0ba=new _0x5e3300['ColorKit'](_0x2633d9)[_0x10ce93(0x232)](0.2)[_0x10ce93(0x134)](),_0x5cf574=new _0x1b825c['RegularPolygon'](_0x2fad1b+_0x5e3300['generateRandomId'](_0xaf64a0),{'pointsGroup':_0x72e547,'fill':_0x47f0ba||_0x1b825c[_0x10ce93(0x148)](_0x5e3300['COLORS']['black'],0.2),'left':_0x489d15,'top':_0x1043ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10ce93(0x2bf)]['push'](_0x5cf574),this[_0x10ce93(0x2b2)][_0x10ce93(0x2c9)](_0x5cf574,_0x1b316e[_0x10ce93(0x2d7)]);}[_0x41a185(0x33e)](_0x30636e){const _0x45b767=_0x30636e[0x0],_0x5e009f=_0x45b767[0x0],_0xf522d4=_0x45b767[0x2],{x:_0x166667,y:_0x13df5e}=_0x5e009f,{x:_0x245b78,y:_0x1b6496}=_0xf522d4;return{'left':_0x166667,'top':_0x13df5e,'width':_0x245b78-_0x166667,'height':_0x1b6496-_0x13df5e};}[_0x41a185(0x1de)](){const _0x42ed7b=_0x41a185,{scaleX:_0x2ed10e,scaleY:_0x440ad5}=this['_scene']['getAncestorScale']();return Math[_0x42ed7b(0x204)](_0x2ed10e,_0x440ad5);}}var _0x46ccf9=Object[_0x41a185(0x13b)],_0x568611=(_0x121b3e,_0x401077,_0x57b9e8,_0x413f01)=>{for(var _0x1add8b=_0x413f01>0x1?void 0x0:_0x413f01?_0x46ccf9(_0x401077,_0x57b9e8):_0x401077,_0x61228c=_0x121b3e['length']-0x1,_0x134cb4;_0x61228c>=0x0;_0x61228c--)(_0x134cb4=_0x121b3e[_0x61228c])&&(_0x1add8b=_0x134cb4(_0x1add8b)||_0x1add8b);return _0x1add8b;},_0x26e182=(_0x97936b,_0x32ddab)=>(_0x258b4d,_0xb58d93)=>_0x32ddab(_0x258b4d,_0xb58d93,_0x97936b);let _0x54fb8b=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x392916,_0x29bb8f,_0x5e1b8b,_0x561d36,_0x924c67){const _0x372ab6=_0x41a185;super(),_0x528ae5(this,_0x372ab6(0x2eb),[]),_0x528ae5(this,_0x372ab6(0x38c),[]),(this['_context']=_0x392916,this[_0x372ab6(0x20f)]=_0x29bb8f,this[_0x372ab6(0x1f5)]=_0x5e1b8b,this[_0x372ab6(0x1ef)]=_0x561d36,this[_0x372ab6(0x200)]=_0x924c67,this['_init']());}['_init'](){const _0x1bb58d=_0x41a185,_0x25baf7=this[_0x1bb58d(0x280)]['unitId'],_0x336743=this[_0x1bb58d(0x20f)];this[_0x1bb58d(0x223)](_0x50b64e[_0x1bb58d(0x2f8)]([this[_0x1bb58d(0x1f5)]['getCollabCursors$'](_0x25baf7),this[_0x1bb58d(0x200)][_0x1bb58d(0x125)]])['pipe'](_0x3987d5[_0x1bb58d(0x123)](([_0x4876d1,_0x419b1a])=>({'skeleton':_0x336743[_0x1bb58d(0x33b)](),'cursors':[..._0x4876d1['values']()][_0x1bb58d(0x3ab)](_0x283c78=>({..._0x283c78,'color':this[_0x1bb58d(0x200)][_0x1bb58d(0x26b)](_0x283c78[_0x1bb58d(0x286)])}))})))[_0x1bb58d(0x1e9)](_0x1e23b5=>{const _0x52c7ab=_0x1bb58d;if(this['_removeCollabCursors'](),_0x1e23b5){const {skeleton:_0x37a49d,cursors:_0x4e9548}=_0x1e23b5;this[_0x52c7ab(0x267)](_0x37a49d,_0x4e9548);}})),this[_0x1bb58d(0x18e)](),this['_initCommandExecutedListener']();}[_0x41a185(0x267)](_0x10f738,_0x3c4c16){const _0x177ede=_0x41a185,{scene:_0x5f0388,mainComponent:_0x233b65}=this[_0x177ede(0x280)],_0x1da102=_0x3c4c16['map'](_0xaad94c=>new _0x1f61e7(_0xaad94c,_0x5f0388,_0x10f738,_0x233b65));this['_cursorShapes']=_0x1da102,this[_0x177ede(0x38c)]=_0x3c4c16;}[_0x41a185(0x320)](){const _0x198ea3=_0x41a185;this[_0x198ea3(0x34e)]();const {scene:_0x296f26,mainComponent:_0xe27f82}=this[_0x198ea3(0x280)],_0x34f2f9=this[_0x198ea3(0x20f)][_0x198ea3(0x33b)](),_0x3b807c=this[_0x198ea3(0x38c)][_0x198ea3(0x123)](_0x1de0d3=>new _0x1f61e7(_0x1de0d3,_0x296f26,_0x34f2f9,_0xe27f82));this['_cursorShapes']=_0x3b807c;}['_removeCollabCursors'](){const _0x3aceff=_0x41a185;this[_0x3aceff(0x2eb)]['forEach'](_0x75b7af=>_0x75b7af['dispose']()),this[_0x3aceff(0x2eb)]=[];}['_initCommandExecutedListener'](){const _0x436f26=_0x41a185,_0x3923df=[_0x1b316e[_0x436f26(0x1b1)]['id']];this['disposeWithMe'](this[_0x436f26(0x1ef)]['onCommandExecuted'](_0x41ea6b=>{const _0x2fb507=_0x436f26;_0x3923df[_0x2fb507(0x117)](_0x41ea6b['id'])&&_0x41ea6b[_0x2fb507(0x26f)][_0x2fb507(0x323)]===this['_context'][_0x2fb507(0x323)]&&this[_0x2fb507(0x320)]();}));}[_0x41a185(0x18e)](){const _0x52a273=_0x41a185;this['disposeWithMe'](_0x5e3300['fromEventSubject'](this[_0x52a273(0x280)][_0x52a273(0x365)][_0x52a273(0x27d)])[_0x52a273(0x1e6)](_0x3987d5[_0x52a273(0x1c8)](_0x1abab6=>_0x1abab6[_0x52a273(0x297)]===_0x1b825c[_0x52a273(0x1e2)][_0x52a273(0x324)]),_0x3987d5['throttleTime'](0x10))[_0x52a273(0x1e9)](()=>{this['_refreshCollabCursors']();}));}};_0x54fb8b=_0x568611([_0x26e182(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x3a8334[_0x41a185(0x253)])),_0x26e182(0x2,_0x5e3300['Inject'](_0x17492c)),_0x26e182(0x3,_0x5e3300['ICommandService']),_0x26e182(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x54fb8b);const _0x580f25=0x1,_0x2d51ac=1.5;class _0x2a41ec extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x14b45a,_0x234cab){const _0x4c2301=_0x41a185;super(_0x14b45a,_0x234cab),_0x528ae5(this,_0x4c2301(0x183)),_0x528ae5(this,_0x4c2301(0x19f),!0x1),_0x528ae5(this,_0x4c2301(0x28c)),_0x528ae5(this,'_name',''),_0x528ae5(this,_0x4c2301(0x175),_0x4c2301(0x334)),_0x528ae5(this,_0x4c2301(0x2b1)),(_0x234cab&&this['setShapeProps'](_0x234cab),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2301(0x221)]['subscribeEvent'](()=>this[_0x4c2301(0x38f)]({'hovered':!0x1})));}[_0x41a185(0x38f)](_0x3ed06c){const _0xcb5b17=_0x41a185;var _0x4cf1df,_0x337cf1,_0x3a4865,_0xfaba42,_0x5c48ce,_0x3c3f0e;this[_0xcb5b17(0x183)]=(_0x4cf1df=_0x3ed06c[_0xcb5b17(0x286)])!=null?_0x4cf1df:this[_0xcb5b17(0x183)],this[_0xcb5b17(0x19f)]=(_0x337cf1=_0x3ed06c[_0xcb5b17(0x29c)])!=null?_0x337cf1:this[_0xcb5b17(0x19f)],this[_0xcb5b17(0x28c)]=(_0x3a4865=_0x3ed06c[_0xcb5b17(0x2a2)])!=null?_0x3a4865:this[_0xcb5b17(0x28c)],this[_0xcb5b17(0x184)]=(_0xfaba42=_0x3ed06c[_0xcb5b17(0x1f6)])!=null?_0xfaba42:this[_0xcb5b17(0x184)],this['_labelPosition']=(_0x5c48ce=_0x3ed06c[_0xcb5b17(0x39c)])!=null?_0x5c48ce:this[_0xcb5b17(0x175)],this[_0xcb5b17(0x2b1)]=(_0x3c3f0e=_0x3ed06c[_0xcb5b17(0x36e)])!=null?_0x3c3f0e:this['_backgroundColor'],this['transformByState']({'width':_0x3ed06c[_0xcb5b17(0x11e)],'height':_0x3ed06c[_0xcb5b17(0x2d4)]});}[_0x41a185(0x363)](_0xd90b62){const _0x1ba14b=_0x41a185,{row:_0x59486d,column:_0x5466aa}=_0xd90b62;if(_0x59486d>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x236)]&&_0x59486d<=this['_range'][_0x1ba14b(0x389)]&&_0x5466aa>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x1a3)]&&_0x5466aa<=this[_0x1ba14b(0x28c)][_0x1ba14b(0x3a5)]){this[_0x1ba14b(0x38f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x41a185(0x2e3)](_0x53ae7a){return!0x1;}[_0x41a185(0x11f)](_0x41b7df){const _0x64d9f4=_0x41a185;_0x1b825c[_0x64d9f4(0x281)][_0x64d9f4(0x2cb)](_0x41b7df,{'width':this[_0x64d9f4(0x11e)],'height':this[_0x64d9f4(0x2d4)],'strokeWidth':_0x2d51ac,'stroke':this[_0x64d9f4(0x183)],'evented':!0x1,'fill':this[_0x64d9f4(0x2b1)]}),this[_0x64d9f4(0x19f)]&&(_0x41b7df[_0x64d9f4(0x23e)](),_0x41b7df[_0x64d9f4(0x288)](0x1,0x0,0x0,0x1,this[_0x64d9f4(0x11e)],this[_0x64d9f4(0x175)]===_0x64d9f4(0x18f)?0x0:-_0x352025),_0x128905[_0x64d9f4(0x2cb)](_0x41b7df,{'text':this[_0x64d9f4(0x184)],'color':this[_0x64d9f4(0x183)]}),_0x41b7df[_0x64d9f4(0x245)]());}}var _0x23d890=Object[_0x41a185(0x13b)],_0x38884e=(_0x355cfa,_0x518982,_0x3355d3,_0x57e44e)=>{for(var _0x5c7653=_0x57e44e>0x1?void 0x0:_0x57e44e?_0x23d890(_0x518982,_0x3355d3):_0x518982,_0x2bf5e9=_0x355cfa['length']-0x1,_0x1abfb1;_0x2bf5e9>=0x0;_0x2bf5e9--)(_0x1abfb1=_0x355cfa[_0x2bf5e9])&&(_0x5c7653=_0x1abfb1(_0x5c7653)||_0x5c7653);return _0x5c7653;},_0x3ae049=(_0x22e5fd,_0x55eb8f)=>(_0x54f5fb,_0x51ad5d)=>_0x55eb8f(_0x54f5fb,_0x51ad5d,_0x22e5fd);const _0x20ed03=0x1389;let _0x1d9dc1=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x4a99c6,_0x2eb338,_0x4882fe,_0x9ec04f){const _0x87b54a=_0x41a185;super(),_0x528ae5(this,_0x87b54a(0x38c),new Set()),_0x528ae5(this,_0x87b54a(0x152),null),(this[_0x87b54a(0x280)]=_0x4a99c6,this['_sheetSkeletonManagerService']=_0x2eb338,this['_collabCursorController']=_0x4882fe,this[_0x87b54a(0x200)]=_0x9ec04f,this[_0x87b54a(0x189)]());}[_0x41a185(0x189)](){const _0x380740=_0x41a185;this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e6)](_0x3987d5['takeUntil'](this['dispose$']),_0x3987d5[_0x380740(0x25a)](_0xda2748=>{const _0x244477=_0x380740;if(_0xda2748){const _0x2674de=_0xda2748[_0x244477(0x368)];return _0x50b64e[_0x244477(0x2f8)](this[_0x244477(0x1f5)][_0x244477(0x1a1)](this[_0x244477(0x280)][_0x244477(0x323)]),this['_themeService'][_0x244477(0x125)])[_0x244477(0x1e6)](_0x3987d5[_0x244477(0x123)](([_0x16aea6,_0x56b927])=>{const _0x3f36f6=_0x244477,_0x19dad1=new Map();return _0x16aea6[_0x3f36f6(0x2ba)]((_0x20555f,_0x2e368d)=>{const _0x3a4e61=_0x3f36f6;if(_0x20555f[_0x3a4e61(0x3ac)]===_0x2674de){const _0x18c975={..._0x20555f};_0x18c975[_0x3a4e61(0x286)]=this[_0x3a4e61(0x200)][_0x3a4e61(0x26b)](_0x20555f[_0x3a4e61(0x286)]),_0x19dad1[_0x3a4e61(0x21d)](_0x2e368d,_0x18c975);}}),{'skeleton':_0xda2748,'cursors':_0x19dad1};}));}return _0x50b64e['of']({'skeleton':null,'cursors':new Map()});}))[_0x380740(0x1e9)](({skeleton:_0x557034,cursors:_0x106f1e})=>{this['_removeCollabCursors'](),_0x557034&&this['_updateCollabCursors'](_0x557034,_0x106f1e);}),this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e9)](_0x347feb=>{const _0x1d2285=_0x380740;if(_0x347feb==null)return;const {skeleton:_0x18ef68}=_0x347feb,{scene:_0x171f74}=this['_context'];_0x171f74[_0x1d2285(0x155)][_0x1d2285(0x361)](_0x5e3300['debounce'](_0x54a86c=>{const _0x2553a8=_0x1d2285;var _0x4cafe5,_0x348973;const {offsetX:_0x3f5d87,offsetY:_0x2c5e51}=_0x54a86c,{x:_0x48170c,y:_0x4dfc41}=_0x171f74[_0x2553a8(0x181)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x3f5d87,_0x2c5e51])),{scaleX:_0x249ffe,scaleY:_0x400bcc}=_0x171f74[_0x2553a8(0x21e)](),_0x6fecb7=_0x171f74[_0x2553a8(0x20e)](_0x1b825c[_0x2553a8(0x1be)]['VIEW_MAIN']),_0x19f595=_0x171f74[_0x2553a8(0x139)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x48170c,_0x4dfc41]),_0x6fecb7),_0x48b069=_0x18ef68[_0x2553a8(0x14e)](_0x3f5d87,_0x2c5e51,_0x249ffe,_0x400bcc,_0x19f595);((_0x4cafe5=this[_0x2553a8(0x152)])==null?void 0x0:_0x4cafe5[_0x2553a8(0x305)])===_0x48b069[_0x2553a8(0x305)]&&((_0x348973=this['_lastPointer'])==null?void 0x0:_0x348973[_0x2553a8(0x36f)])===_0x48b069['row']||this[_0x2553a8(0x38c)]['forEach'](_0x5e25a8=>{const _0x3aadfb=_0x2553a8;_0x5e25a8[_0x3aadfb(0x363)](_0x48b069);});},0x64));});}[_0x41a185(0x267)](_0x465782,_0x412150){const _0x12cda4=_0x41a185;var _0x4a7682;const _0x161142=(_0x4a7682=this[_0x12cda4(0x1ac)][_0x12cda4(0x178)]())==null?void 0x0:_0x4a7682['skeleton'];if(!_0x161142)return;const _0x13aeb0=this[_0x12cda4(0x128)]();if(!_0x13aeb0)return;this['_cursors'][_0x12cda4(0x2ba)](_0x28e280=>{_0x28e280['makeDirty']();});const {scene:_0x3a235c}=_0x13aeb0,_0x56ce42=_0x51e374(Array[_0x12cda4(0x373)](_0x412150[_0x12cda4(0x1af)]()))['map'](_0x487da8=>{const _0x1bbd0a=_0x12cda4,{color:_0x29eae5,range:_0x4e88bb,name:_0x2d7712,selection:_0x127c94,sheetID:_0x6711fd}=_0x487da8,{startColumn:_0x2352db,startRow:_0x20ae30,endColumn:_0x5eb936,endRow:_0x3621c5}=_0x4e88bb,_0x540f50=_0x1b0390[_0x1bbd0a(0x243)](_0x20ae30,_0x2352db,_0x3a235c,_0x161142),_0x1a5bc6=_0x1b0390[_0x1bbd0a(0x243)](_0x3621c5,_0x5eb936,_0x3a235c,_0x161142),{columnHeaderHeightAndMarginTop:_0x489a84}=_0x161142,{startX:_0x1411b3,startY:_0x9ce280}=_0x540f50,{endX:_0x3ba285,endY:_0xdf85ed}=_0x1a5bc6,_0x242ca9=_0x3ba285-_0x1411b3,_0x2c3f21=_0xdf85ed-_0x9ce280,_0x11e728={'labelPosition':_0x9ce280-_0x489a84>=_0x352025?'top':_0x1bbd0a(0x18f),'sheetID':_0x6711fd,'range':_0x4e88bb,'color':_0x29eae5,'name':_0x2d7712,'selection':_0x127c94,'left':_0x1411b3,'top':_0x9ce280,'width':_0x242ca9,'height':_0x2c3f21,'evented':!0x1,'zIndex':_0x20ed03};return new _0x2a41ec(_0x2d7712,_0x11e728);});_0x3a235c[_0x12cda4(0x15a)](_0x56ce42,_0x580f25),this[_0x12cda4(0x38c)]=new Set(_0x56ce42);}[_0x41a185(0x34e)](){const _0x327984=_0x41a185;var _0x52d12d;(_0x52d12d=this[_0x327984(0x38c)])==null||_0x52d12d[_0x327984(0x2ba)](_0x333256=>_0x333256[_0x327984(0x385)]());}[_0x41a185(0x128)](){const _0x3f90a7=_0x41a185;return _0x1b0390['getSheetObject'](this[_0x3f90a7(0x280)][_0x3f90a7(0x194)],this[_0x3f90a7(0x280)]);}};_0x1d9dc1=_0x38884e([_0x3ae049(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x1b0390[_0x41a185(0x1b2)])),_0x3ae049(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x17492c)),_0x3ae049(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x1d9dc1);function _0x51e374(_0x161b15){const _0x540846=_0x41a185,_0x2bd12d=new Map();return _0x161b15[_0x540846(0x2ba)](_0x2d0492=>{const _0x5f4d87=_0x540846;if(_0x2bd12d[_0x5f4d87(0x345)](_0x2d0492[_0x5f4d87(0x338)])){const _0x2f2889=_0x2bd12d['get'](_0x2d0492[_0x5f4d87(0x338)]);_0x2f2889[_0x5f4d87(0x1f6)]+=',\x20'+_0x2d0492['name'];}else _0x2bd12d['set'](_0x2d0492[_0x5f4d87(0x338)],_0x2d0492);}),Array[_0x540846(0x373)](_0x2bd12d[_0x540846(0x1af)]());}var _0x3a77d5=Object[_0x41a185(0x13b)],_0x1d35c2=(_0x4f51c6,_0x4d7db7,_0x3b18ea,_0x55f0be)=>{const _0x11d727=_0x41a185;for(var _0x2db5c7=_0x55f0be>0x1?void 0x0:_0x55f0be?_0x3a77d5(_0x4d7db7,_0x3b18ea):_0x4d7db7,_0x566c77=_0x4f51c6[_0x11d727(0x15e)]-0x1,_0x1f6168;_0x566c77>=0x0;_0x566c77--)(_0x1f6168=_0x4f51c6[_0x566c77])&&(_0x2db5c7=_0x1f6168(_0x2db5c7)||_0x2db5c7);return _0x2db5c7;},_0x5d9663=(_0x4bd8b1,_0x10dd8f)=>(_0x57276b,_0xdcf5f7)=>_0x10dd8f(_0x57276b,_0xdcf5f7,_0x4bd8b1);let _0x3b66a5=class extends _0x5e3300['Disposable']{constructor(_0x3d5f50,_0x52bbad,_0x3015d2,_0x3419e7,_0x23619f,_0x20dd39){const _0x4aaceb=_0x41a185;super(),this[_0x4aaceb(0x24b)]=_0x3d5f50,this[_0x4aaceb(0x272)]=_0x52bbad,this[_0x4aaceb(0x329)]=_0x3015d2,this[_0x4aaceb(0x26e)]=_0x3419e7,this[_0x4aaceb(0x2c2)]=_0x23619f,this['_localeService']=_0x20dd39,this[_0x4aaceb(0x1d4)](),this[_0x4aaceb(0x24d)]();}[_0x41a185(0x1d4)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x17d3a8=_0x39c5;if(this[_0x17d3a8(0x272)][_0x17d3a8(0x196)][_0x17d3a8(0x2df)])return this[_0x17d3a8(0x14d)]['t'](_0x17d3a8(0x1cc));}));}[_0x41a185(0x24d)](){const _0x4454c4=_0x41a185;this[_0x4454c4(0x223)](this['_collaborationUIEventService'][_0x4454c4(0x12c)]['subscribe'](_0x1595f9=>{const _0xac2ccf=_0x4454c4;_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x32b)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x39f))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x172)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x36a)]&&this[_0xac2ccf(0x2c2)][_0xac2ccf(0x2e8)]({'title':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x13c)),'content':this[_0xac2ccf(0x14d)]['t']('permission.content'),'type':_0xac2ccf(0x2e9),'duration':0x0}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x1e8)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)][_0xac2ccf(0x33d)],'content':this['_localeService']['t'](_0xac2ccf(0x327))+'('+_0x1595f9[_0xac2ccf(0x397)]+')'}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x27e)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x296)],'content':this[_0xac2ccf(0x14d)]['t'](_0x1595f9[_0xac2ccf(0x397)]||'')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x380)]&&this[_0xac2ccf(0x26e)]['show']({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x127)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x36b))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x29f)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t']('session.collaboration-timeout')});}));}};_0x3b66a5=_0x1d35c2([_0x5d9663(0x0,_0x48ab34['IBeforeCloseService']),_0x5d9663(0x1,_0x2600cf['ILocalCacheService']),_0x5d9663(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf['CollaborationUIEventService'])),_0x5d9663(0x3,_0x48ab34[_0x41a185(0x1a9)]),_0x5d9663(0x4,_0x48ab34['INotificationService']),_0x5d9663(0x5,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x3b66a5);const _0x4b6e86='collaboration-client-ui.config',_0x1fb5ee={};var _0x3be7c3=Object[_0x41a185(0x13b)],_0x10a3fa=(_0x55cac1,_0x5c0cea,_0x4b4652,_0x167cbb)=>{const _0x1acf17=_0x41a185;for(var _0x12d0e2=_0x167cbb>0x1?void 0x0:_0x167cbb?_0x3be7c3(_0x5c0cea,_0x4b4652):_0x5c0cea,_0x252c9e=_0x55cac1[_0x1acf17(0x15e)]-0x1,_0x4ddf13;_0x252c9e>=0x0;_0x252c9e--)(_0x4ddf13=_0x55cac1[_0x252c9e])&&(_0x12d0e2=_0x4ddf13(_0x12d0e2)||_0x12d0e2);return _0x12d0e2;},_0x3a8e9b=(_0x4f0bc9,_0x497322)=>(_0x4378a1,_0xdf3270)=>_0x497322(_0x4378a1,_0xdf3270,_0x4f0bc9);let _0x12b6aa=class{constructor(_0x2c49f1,_0xbbadda){this['_transformService']=_0x2c49f1,this['_renderManagerService']=_0xbbadda;}[_0x41a185(0x374)](_0x4a9c1c){const _0x28ee69=_0x41a185;this[_0x28ee69(0x150)](_0x4a9c1c),this[_0x28ee69(0x2bc)](_0x4a9c1c);}[_0x41a185(0x147)](_0x36a4ba){const _0x4bcb17=_0x41a185,{unitID:_0x36b187}=_0x36a4ba,_0x282d52=this[_0x4bcb17(0x33c)][_0x4bcb17(0x247)](_0x36b187)[_0x4bcb17(0x309)](_0x1b316e[_0x4bcb17(0x355)]),{redoCache:_0x2ee152}=_0x282d52[_0x4bcb17(0x18a)]();if(_0x2ee152['length']===0x0)return _0x36a4ba;let _0x23b314=_0x5e3300[_0x4bcb17(0x164)][_0x4bcb17(0x357)](_0x36a4ba[_0x4bcb17(0x14b)][0x0]);for(let _0xc9ced7=0x0;_0xc9ced7<_0x2ee152[_0x4bcb17(0x15e)];_0xc9ced7++){const _0x55205c={'id':_0x4bcb17(0x3a8),'params':{..._0x2ee152[_0xc9ced7]}},_0x4a2eaf=this[_0x4bcb17(0x176)][_0x4bcb17(0x1b9)](_0x23b314,_0x55205c,!0x1);if(_0x4384c1[_0x4bcb17(0x30a)](_0x4a2eaf))throw _0x4a2eaf[_0x4bcb17(0x2e9)];_0x23b314=_0x4a2eaf[_0x4bcb17(0x1db)];}return{..._0x5e3300[_0x4bcb17(0x164)]['deepClone'](_0x36a4ba),'mutations':[_0x23b314]};}['_transformUndoRedoStack'](_0x35edce){const _0x21baa6=_0x41a185,{unitID:_0x7ffb4f}=_0x35edce,_0x2ba60c=this[_0x21baa6(0x33c)][_0x21baa6(0x247)](_0x7ffb4f)['with'](_0x1b316e[_0x21baa6(0x355)]),{undoCache:_0x529a10,redoCache:_0x27b3de}=_0x2ba60c[_0x21baa6(0x18a)]();if(_0x529a10[_0x21baa6(0x15e)]===0x0||_0x27b3de[_0x21baa6(0x15e)]===0x0)return;const _0x276b2a=[],_0xb90e26=[];let _0x359506=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce[_0x21baa6(0x14b)][0x0]),_0x40a339=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce['mutations'][0x0]);for(let _0xdcbe23=_0x529a10[_0x21baa6(0x15e)]-0x1;_0xdcbe23>=0x0;_0xdcbe23--){const _0x1875a7={'id':'doc.mutation.rich-text-editing','params':{..._0x529a10[_0xdcbe23]}},_0x23c26b={'id':'doc.mutation.rich-text-editing','params':{..._0x27b3de[_0xdcbe23]}},_0x43beb1=this[_0x21baa6(0x176)]['transformMutation'](_0x359506,_0x1875a7,!0x1),_0x276f10=this[_0x21baa6(0x176)]['transformMutation'](_0x40a339,_0x23c26b,!0x1);if(_0x4384c1[_0x21baa6(0x30a)](_0x43beb1))throw _0x43beb1[_0x21baa6(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x276f10))throw _0x276f10[_0x21baa6(0x2e9)];_0x276b2a[_0x21baa6(0x1e0)](_0x43beb1['m2Prime'][_0x21baa6(0x26f)]),_0xb90e26[_0x21baa6(0x1e0)](_0x276f10[_0x21baa6(0x137)]['params']),_0x359506=_0x43beb1[_0x21baa6(0x1db)],_0x40a339=_0x276f10[_0x21baa6(0x1db)];}_0x2ba60c[_0x21baa6(0x16d)]({'undoCache':_0x276b2a,'redoCache':_0xb90e26});}['_transformPreviousActiveRange'](_0x444b6f){const _0x3a5bd3=_0x41a185,{unitID:_0x5751c4}=_0x444b6f,_0x260e6b=this[_0x3a5bd3(0x33c)]['getRenderById'](_0x5751c4)['with'](_0x1b316e['DocIMEInputManagerService']),_0x45722c=_0x260e6b[_0x3a5bd3(0x1e1)]();if(_0x45722c==null)return;const _0x18d977=[{'id':_0x3a5bd3(0x3a8),'params':{'unitId':_0x444b6f[_0x3a5bd3(0x35b)],'actions':null,'textRanges':[_0x45722c]}}],_0x53162a=this[_0x3a5bd3(0x176)]['transformMutationsWithChangeset'](_0x444b6f,_0x18d977);if(!_0x4384c1[_0x3a5bd3(0x313)](_0x53162a))throw _0x53162a[_0x3a5bd3(0x2e9)];const _0x2e799f=_0x53162a[_0x3a5bd3(0x137)][0x0][_0x3a5bd3(0x26f)][_0x3a5bd3(0x1a0)];Array['isArray'](_0x2e799f)&&_0x2e799f[_0x3a5bd3(0x15e)]&&_0x260e6b[_0x3a5bd3(0x289)](_0x2e799f[0x0]);}};_0x12b6aa=_0x10a3fa([_0x3a8e9b(0x0,_0x4384c1[_0x41a185(0x1df)]),_0x3a8e9b(0x1,_0x1b825c[_0x41a185(0x328)])],_0x12b6aa);var _0x49fa75=Object[_0x41a185(0x13b)],_0x5d18e9=(_0x18400c,_0x3d7b33,_0x2c3771,_0x3fd66c)=>{const _0x425061=_0x41a185;for(var _0x2577f5=_0x3fd66c>0x1?void 0x0:_0x3fd66c?_0x49fa75(_0x3d7b33,_0x2c3771):_0x3d7b33,_0xae966=_0x18400c[_0x425061(0x15e)]-0x1,_0x277e8e;_0xae966>=0x0;_0xae966--)(_0x277e8e=_0x18400c[_0xae966])&&(_0x2577f5=_0x277e8e(_0x2577f5)||_0x2577f5);return _0x2577f5;},_0x405da9=(_0x49cbe9,_0x45b29b)=>(_0x45498e,_0x2ef852)=>_0x45b29b(_0x45498e,_0x2ef852,_0x49cbe9);let _0x24cfdc=class{constructor(_0x17435c,_0x579c98,_0x4c7664){const _0x4f34fe=_0x41a185;this[_0x4f34fe(0x20b)]=_0x17435c,this[_0x4f34fe(0x176)]=_0x579c98,this[_0x4f34fe(0x210)]=_0x4c7664;}[_0x41a185(0x382)](_0x15796e){this['_transformHistoryAndStateStack'](_0x15796e);}['transformRemoteChangeset'](_0x46ead0){const _0x339f8a=_0x41a185,{unitID:_0x97356}=_0x46ead0,{collaboration:_0x16cf77}=this[_0x339f8a(0x210)][_0x339f8a(0x2d2)](_0x97356);if(_0x16cf77[_0x339f8a(0x15e)]===0x0)return _0x46ead0;let _0x665534=_0x5e3300[_0x339f8a(0x164)][_0x339f8a(0x357)](_0x46ead0[_0x339f8a(0x14b)][0x0]);for(let _0x303671=0x0;_0x303671<_0x16cf77['length'];_0x303671++){const _0x77e338={'id':_0x339f8a(0x3a8),'params':{'unitId':_0x16cf77[_0x303671]['unitId'],..._0x16cf77[_0x303671][_0x339f8a(0x34b)]}},_0x2d86ac=this['_transformService'][_0x339f8a(0x1b9)](_0x665534,_0x77e338,!0x1);if(_0x4384c1[_0x339f8a(0x30a)](_0x2d86ac))throw _0x2d86ac['error'];_0x665534=_0x2d86ac['m1Prime'];}return{..._0x5e3300[_0x339f8a(0x164)]['deepClone'](_0x46ead0),'mutations':[_0x665534]};}['_transformHistoryAndStateStack'](_0x26d7c5){const _0x35825f=_0x41a185,{unitID:_0x59abc4}=_0x26d7c5,{history:_0x43314f,collaboration:_0x719c3}=this[_0x35825f(0x210)][_0x35825f(0x2d2)](_0x59abc4);if(_0x43314f[_0x35825f(0x15e)]===0x0&&_0x719c3[_0x35825f(0x15e)]===0x0)return;const _0x4f622c=[],_0x5d2531=[];let _0x5832a8=_0x5e3300['Tools'][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]),_0x53b5a1=_0x5e3300['Tools']['deepClone'](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0x5a1ba8=_0x43314f['length']-0x1;_0x5a1ba8>=0x0;_0x5a1ba8--){const _0x2a0b1f={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8][_0x35825f(0x323)],..._0x43314f[_0x5a1ba8]['undoState']}},_0x38b77a={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8]['unitId'],..._0x43314f[_0x5a1ba8][_0x35825f(0x34b)]}},_0x3e3df3=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x2a0b1f,!0x1),_0x157467=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x53b5a1,_0x38b77a,!0x1);if(_0x4384c1[_0x35825f(0x30a)](_0x3e3df3))throw _0x3e3df3[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x157467))throw _0x157467[_0x35825f(0x2e9)];_0x4f622c['unshift']({..._0x43314f[_0x5a1ba8],'undoState':_0x3e3df3['m2Prime']['params'],'redoState':_0x157467[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x3e3df3[_0x35825f(0x1db)],_0x53b5a1=_0x157467[_0x35825f(0x1db)];}_0x5832a8=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5['mutations'][0x0]),_0x53b5a1=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0xe6aa82=_0x719c3[_0x35825f(0x15e)]-0x1;_0xe6aa82>=0x0;_0xe6aa82--){const _0x59a862={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x2bb)]}},_0x401e40={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x34b)]}},_0x233ecc=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x59a862,!0x1),_0x3251ca=this['_transformService']['transformMutation'](_0x53b5a1,_0x401e40,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x233ecc))throw _0x233ecc[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x3251ca))throw _0x3251ca[_0x35825f(0x2e9)];_0x5d2531[_0x35825f(0x1e0)]({..._0x719c3[_0xe6aa82],'undoState':_0x233ecc[_0x35825f(0x137)][_0x35825f(0x26f)],'redoState':_0x3251ca[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x233ecc[_0x35825f(0x1db)],_0x53b5a1=_0x3251ca[_0x35825f(0x1db)];}this[_0x35825f(0x210)]['setStateCache'](_0x59abc4,{'history':_0x4f622c,'collaboration':_0x5d2531});}};_0x24cfdc=_0x5d18e9([_0x405da9(0x0,_0x5e3300['Inject'](_0x5e3300[_0x41a185(0x1c6)])),_0x405da9(0x1,_0x4384c1['ITransformService']),_0x405da9(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e[_0x41a185(0x1d1)]))],_0x24cfdc);var _0xdc0b10=Object['getOwnPropertyDescriptor'],_0x4be71e=(_0xfdb84d,_0x44bedb,_0x14110c,_0x56832a)=>{const _0x2cfcfb=_0x41a185;for(var _0x534788=_0x56832a>0x1?void 0x0:_0x56832a?_0xdc0b10(_0x44bedb,_0x14110c):_0x44bedb,_0x5ba1fc=_0xfdb84d[_0x2cfcfb(0x15e)]-0x1,_0x4894fd;_0x5ba1fc>=0x0;_0x5ba1fc--)(_0x4894fd=_0xfdb84d[_0x5ba1fc])&&(_0x534788=_0x4894fd(_0x534788)||_0x534788);return _0x534788;},_0x7ab9c3=(_0x49be84,_0x23a768)=>(_0x2b2484,_0x200da7)=>_0x23a768(_0x2b2484,_0x200da7,_0x49be84);let _0x4c6035=class{constructor(_0x4ab6c9,_0x2221de){const _0x43067a=_0x41a185;this[_0x43067a(0x20b)]=_0x4ab6c9,this[_0x43067a(0x176)]=_0x2221de;}[_0x41a185(0x2ea)](_0xfc2715){const _0x525ce5=_0x41a185;var _0x3973be;const _0x466775=this[_0x525ce5(0x20b)][_0x525ce5(0x182)](_0x3a8334[_0x525ce5(0x171)]),_0x4038e4=(_0x3973be=_0x466775[_0x525ce5(0x252)]())!=null?_0x3973be:[];if(_0x4038e4['length']===0x0)return;const _0x30c548=_0xfc2715[_0x525ce5(0x35b)],_0x2f273a=[{'id':_0x525ce5(0x3a8),'params':{'unitId':_0x30c548,'actions':null,'textRanges':_0x4038e4}}],_0xc7e8cd=this[_0x525ce5(0x176)]['transformMutationsWithChangeset'](_0xfc2715,_0x2f273a);if(!_0x4384c1[_0x525ce5(0x313)](_0xc7e8cd))throw _0xc7e8cd['error'];const _0x453d15=_0xc7e8cd[_0x525ce5(0x137)][0x0][_0x525ce5(0x26f)][_0x525ce5(0x1a0)];Array[_0x525ce5(0x2ab)](_0x453d15)&&_0x453d15['length']&&_0x466775[_0x525ce5(0x17b)](_0x453d15,{'unitId':_0x30c548,'subUnitId':_0x30c548},!0x1);}};_0x4c6035=_0x4be71e([_0x7ab9c3(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x7ab9c3(0x1,_0x4384c1[_0x41a185(0x1df)])],_0x4c6035);var _0x5827b6=Object[_0x41a185(0x13b)],_0x2ec861=(_0x2d5cde,_0x5addc8,_0x3455a9,_0x1f83b0)=>{const _0x284f52=_0x41a185;for(var _0x2cb71b=_0x1f83b0>0x1?void 0x0:_0x1f83b0?_0x5827b6(_0x5addc8,_0x3455a9):_0x5addc8,_0x4ecb54=_0x2d5cde[_0x284f52(0x15e)]-0x1,_0x519489;_0x4ecb54>=0x0;_0x4ecb54--)(_0x519489=_0x2d5cde[_0x4ecb54])&&(_0x2cb71b=_0x519489(_0x2cb71b)||_0x2cb71b);return _0x2cb71b;},_0x271806=(_0x39e8b7,_0x4d28e8)=>(_0x27b85b,_0x204c0d)=>_0x4d28e8(_0x27b85b,_0x204c0d,_0x39e8b7);let _0x216e6e=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x5c5db8,_0x2cb1a5,_0x472323,_0x4e0f23,_0x3ff93f,_0x7a8e9d,_0x57e145,_0x1f8a79){const _0x16f0bc=_0x41a185;super(),_0x528ae5(this,_0x16f0bc(0x35d),new _0x50b64e[(_0x16f0bc(0x228))](_0x2600cf[_0x16f0bc(0x191)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5c5db8,this[_0x16f0bc(0x2f9)]=_0x2cb1a5,this[_0x16f0bc(0x37d)]=_0x472323,this[_0x16f0bc(0x371)]=_0x4e0f23,this[_0x16f0bc(0x187)]=_0x3ff93f,this[_0x16f0bc(0x34c)]=_0x7a8e9d,this[_0x16f0bc(0x26e)]=_0x57e145,this[_0x16f0bc(0x14d)]=_0x1f8a79,this[_0x16f0bc(0x2c5)]());}[_0x41a185(0x2c5)](){const _0x5b01b5=_0x41a185;this[_0x5b01b5(0x223)](this[_0x5b01b5(0x2f9)][_0x5b01b5(0x2fb)][_0x5b01b5(0x1e9)](_0x13fa28=>{const _0x1e15e5=_0x5b01b5,_0x17fd66=this[_0x1e15e5(0x210)][_0x1e15e5(0x1d2)][_0x1e15e5(0x1e9)](_0x383c2d=>{const _0x55491a=_0x1e15e5;if(_0x383c2d==null)return;const {unitId:_0x58474b,redoState:_0x438ddf,commandId:_0x4adacb}=_0x383c2d;if(_0x58474b!==_0x13fa28[_0x55491a(0x35b)])return;const _0x5e36fc={'id':_0x4adacb,'type':_0x5e3300['CommandType']['MUTATION'],'params':{'unitId':_0x58474b,'actions':_0x438ddf[_0x55491a(0x341)],'textRanges':null}};_0x13fa28[_0x55491a(0x240)](_0x5e36fc);});if(_0x13fa28[_0x1e15e5(0x223)](_0x17fd66),_0x13fa28 instanceof _0x2600cf[_0x1e15e5(0x2a9)]){const _0x5a95c4={'onTransformIME':_0x3a0344=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x374)](_0x3a0344),'onTransformState':_0x54a564=>this['_docTransformStateCacheService'][_0x1e15e5(0x382)](_0x54a564),'onTransformSelections':_0x14e3f0=>this[_0x1e15e5(0x187)][_0x1e15e5(0x2ea)](_0x14e3f0),'onSyncEditingCollabCursor':_0x498194=>this[_0x1e15e5(0x34c)][_0x1e15e5(0x168)](_0x498194),'onTransformRemoteChangesetByIMECache':_0x375038=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x147)](_0x375038),'onTransformRemoteChangesetByStateCache':_0x4e21d1=>this[_0x1e15e5(0x371)]['transformRemoteChangeset'](_0x4e21d1)};_0x13fa28[_0x1e15e5(0x208)](_0x5a95c4);}}));}};_0x216e6e=_0x2ec861([_0x271806(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e['DocStateChangeManagerService'])),_0x271806(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0x271806(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x12b6aa)),_0x271806(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x24cfdc)),_0x271806(0x4,_0x5e3300['Inject'](_0x4c6035)),_0x271806(0x5,_0x5e3300['Inject'](_0xa68806)),_0x271806(0x6,_0x48ab34[_0x41a185(0x1a9)]),_0x271806(0x7,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x216e6e);var _0x3b11ed=Object[_0x41a185(0x13b)],_0x4810a6=(_0x234a2d,_0x2c6061,_0x25bc1b,_0x1143df)=>{const _0x479575=_0x41a185;for(var _0x205f1c=_0x1143df>0x1?void 0x0:_0x1143df?_0x3b11ed(_0x2c6061,_0x25bc1b):_0x2c6061,_0x15e6de=_0x234a2d[_0x479575(0x15e)]-0x1,_0xf265a5;_0x15e6de>=0x0;_0x15e6de--)(_0xf265a5=_0x234a2d[_0x15e6de])&&(_0x205f1c=_0xf265a5(_0x205f1c)||_0x205f1c);return _0x205f1c;},_0x3e623e=(_0x370b14,_0x477852)=>(_0x4d293e,_0x53b18a)=>_0x477852(_0x4d293e,_0x53b18a,_0x370b14);let _0x189146=class extends _0x5e3300['Disposable']{constructor(_0x286962,_0x55e1d2,_0xb45f1){const _0x12a438=_0x41a185;super(),_0x528ae5(this,'_cachedData',new Map()),_0x528ae5(this,_0x12a438(0x1a6),new Map()),_0x528ae5(this,_0x12a438(0x17f),!0x1),(this[_0x12a438(0x25d)]=_0x286962,this[_0x12a438(0x29a)]=_0x55e1d2,this['_revisionService']=_0xb45f1);}[_0x41a185(0x1f7)](){const _0x2918dc=_0x41a185;this[_0x2918dc(0x17f)]=!0x0;}[_0x41a185(0x258)](){this['_disabled']=!0x1;}get[_0x41a185(0x196)](){const _0x312dd8=_0x41a185;return this[_0x312dd8(0x1a6)];}[_0x41a185(0x385)](){const _0x413b4a=_0x41a185;this[_0x413b4a(0x39a)]()[_0x413b4a(0x2b0)](()=>super['dispose']());}async[_0x41a185(0x238)](_0x541174){const _0x241357=_0x41a185;return this[_0x241357(0x17f)]?null:this[_0x241357(0x29a)]['getItem'](_0x2600cf['getLocalCacheKey'](_0x541174));}async[_0x41a185(0x276)](_0x1f89b6,_0x4410c9){const _0x366707=_0x41a185;return!!this[_0x366707(0x29a)]['setItem'](_0x1f89b6,_0x4410c9);}[_0x41a185(0x356)](_0x54c5be,_0xc4785f,_0x2106e4,_0xfd5deb){const _0x559a01=_0x41a185,_0x110d23=this['_revisionService']['getCurrentRevOfUnit'](_0x54c5be);this['_cachedData'][_0x559a01(0x21d)](_0x54c5be,{'unitID':_0x54c5be,'type':_0xc4785f,'awaitingChangeset':_0x2106e4,'mutations':_0xfd5deb,'rev':_0x110d23}),this[_0x559a01(0x1a6)]['has'](_0x54c5be)||this['_scheduleSaving'](_0x54c5be);}['_scheduleSaving'](_0x51a5e2){const _0x3d0121=_0x41a185,_0x30fa90=this[_0x3d0121(0x202)]();_0x30fa90===0x0?this['_saveCache'](_0x51a5e2):this['_saveTaskMap'][_0x3d0121(0x21d)](_0x51a5e2,setTimeout(()=>this[_0x3d0121(0x2c4)](_0x51a5e2),_0x30fa90));}[_0x41a185(0x202)](){const _0x21481a=_0x41a185;var _0x14f526;return(_0x14f526=this[_0x21481a(0x25d)][_0x21481a(0x2b9)](_0x2600cf['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x14f526:_0x2600cf[_0x21481a(0x201)];}[_0x41a185(0x2c4)](_0x4382f5){const _0x1d1af8=_0x41a185,_0x3b702b=this[_0x1d1af8(0x1a6)][_0x1d1af8(0x182)](_0x4382f5);return _0x3b702b!==void 0x0&&window[_0x1d1af8(0x219)](_0x3b702b),this['_localStorageService'][_0x1d1af8(0x136)](_0x2600cf[_0x1d1af8(0x132)](_0x4382f5),this[_0x1d1af8(0x1ed)]['get'](_0x4382f5))[_0x1d1af8(0x2b0)](()=>this[_0x1d1af8(0x1a6)][_0x1d1af8(0x2ee)](_0x4382f5));}async[_0x41a185(0x39a)](){const _0x23b45a=_0x41a185,_0x337699=[];this[_0x23b45a(0x1a6)][_0x23b45a(0x2ba)]((_0x49d5e5,_0x291504)=>{const _0xcc572f=_0x23b45a;window['clearTimeout'](_0x49d5e5),_0x337699['push'](this[_0xcc572f(0x2c4)](_0x291504)[_0xcc572f(0x2b0)](()=>{const _0x583a8d=_0xcc572f;this[_0x583a8d(0x1a6)][_0x583a8d(0x2ee)](_0x291504);}));}),await Promise[_0x23b45a(0x27b)](_0x337699);}};_0x189146=_0x4810a6([_0x3e623e(0x0,_0x5e3300[_0x41a185(0x217)]),_0x3e623e(0x1,_0x5e3300['ILocalStorageService']),_0x3e623e(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x4384c1[_0x41a185(0x15b)]))],_0x189146);class _0x325c93 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x368b60=_0x41a185;super(),_0x528ae5(this,'urlChange$'),this[_0x368b60(0x1ad)]=_0x50b64e['fromEvent'](window,_0x368b60(0x143))[_0x368b60(0x1e6)](_0x50b64e[_0x368b60(0x1fc)](this[_0x368b60(0x2de)]),_0x50b64e[_0x368b60(0x197)](0x1),_0x50b64e[_0x368b60(0x366)](void 0x0));}['setParam'](_0xd528b3,_0x1b3a4a,_0x474074=!0x1){const _0x58e0b0=_0x41a185,_0x6fcbd7=new URL(window[_0x58e0b0(0x1d3)][_0x58e0b0(0x369)]);_0x6fcbd7[_0x58e0b0(0x220)][_0x58e0b0(0x21d)](_0xd528b3,_0x1b3a4a),_0x474074?window[_0x58e0b0(0x195)][_0x58e0b0(0x2ed)]('','',_0x6fcbd7[_0x58e0b0(0x2c0)]()):window['history'][_0x58e0b0(0x154)]('','',_0x6fcbd7['toString']());}[_0x41a185(0x207)](_0x1729d3,_0x40359b=!0x1){const _0x1f9048=_0x41a185,_0x42a696=new URL(window[_0x1f9048(0x1d3)][_0x1f9048(0x369)]);_0x42a696[_0x1f9048(0x220)][_0x1f9048(0x2ee)](_0x1729d3),_0x40359b?window[_0x1f9048(0x195)][_0x1f9048(0x2ed)]('','',_0x42a696['toString']()):window[_0x1f9048(0x195)][_0x1f9048(0x154)]('','',_0x42a696[_0x1f9048(0x2c0)]());}[_0x41a185(0x16b)](_0x216298){const _0x99f14f=_0x41a185;var _0x3e706c;return(_0x3e706c=new URL(window[_0x99f14f(0x1d3)][_0x99f14f(0x369)])[_0x99f14f(0x220)][_0x99f14f(0x182)](_0x216298))!=null?_0x3e706c:void 0x0;}}var _0x211859=Object[_0x41a185(0x28b)],_0x21fd79=Object[_0x41a185(0x13b)],_0x134bf8=(_0x5210f2,_0x216055,_0x1627d4)=>_0x216055 in _0x5210f2?_0x211859(_0x5210f2,_0x216055,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1627d4}):_0x5210f2[_0x216055]=_0x1627d4,_0x61d69b=(_0x3e59f4,_0x2cde00,_0x4179e2,_0x33e2c5)=>{const _0x64e92e=_0x41a185;for(var _0x2f5a23=_0x33e2c5>0x1?void 0x0:_0x33e2c5?_0x21fd79(_0x2cde00,_0x4179e2):_0x2cde00,_0x2da053=_0x3e59f4[_0x64e92e(0x15e)]-0x1,_0x19730a;_0x2da053>=0x0;_0x2da053--)(_0x19730a=_0x3e59f4[_0x2da053])&&(_0x2f5a23=_0x19730a(_0x2f5a23)||_0x2f5a23);return _0x2f5a23;},_0x24cc65=(_0x111957,_0xa7f27d)=>(_0x5a490a,_0x18b9e9)=>_0xa7f27d(_0x5a490a,_0x18b9e9,_0x111957),_0x46d61f=(_0x5129fc,_0x1e913f,_0x21fa19)=>_0x134bf8(_0x5129fc,_0x1e913f+'',_0x21fa19);const _0x142c54=_0x41a185(0x23d);_0x218781[_0x41a185(0x25c)]=class extends _0x5e3300[_0x41a185(0x259)]{constructor(_0x164309=_0x1fb5ee,_0x8dd459,_0x3cbbbd,_0x1e2db6){const _0x5a9228=_0x41a185;super(),this['_config']=_0x164309,this[_0x5a9228(0x33c)]=_0x8dd459,this[_0x5a9228(0x20b)]=_0x3cbbbd,this['_configService']=_0x1e2db6;const {..._0x246871}=_0x5e3300['merge']({},_0x1fb5ee,this['_config']);this[_0x5a9228(0x25d)][_0x5a9228(0x1ec)](_0x4b6e86,_0x246871);}[_0x41a185(0x1fb)](){const _0x230ae3=_0x41a185;this[_0x230ae3(0x32c)](),this[_0x230ae3(0x211)]();}[_0x41a185(0x26c)](){const _0x43098d=_0x41a185;this[_0x43098d(0x16f)]();}[_0x41a185(0x32c)](){const _0x2bbda2=_0x41a185;var _0x576478;const _0x25ad4c=[[_0xc0d63f],[_0x4c6035],[_0x12b6aa],[_0x24cfdc],[_0xa68806],[_0x48a0eb,{'useClass':_0x325c93}],[_0x5771f5['ISocketService'],{'useClass':_0x5771f5['WebSocketService']}],[_0x2600cf[_0x2bbda2(0x19a)],{'useClass':_0x189146}],[_0x218781[_0x2bbda2(0x22b)]],[_0x216e6e],[_0x3b66a5],[_0x17492c],[_0x282384],[_0x218781['CollaborationDataLoaderController']]];_0x5e3300['registerDependencies'](this['_injector'],_0x5e3300[_0x2bbda2(0x1eb)](_0x25ad4c,(_0x576478=this['_config'])==null?void 0x0:_0x576478['override']));}[_0x41a185(0x16f)](){const _0x26cb58=_0x41a185;this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)][_0x26cb58(0x17e)](_0x5e3300[_0x26cb58(0x268)]['UNIVER_DOC'],[_0x54fb8b])),this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)]['registerRenderModule'](_0x5e3300[_0x26cb58(0x268)][_0x26cb58(0x2cd)],[_0x1d9dc1]));}['_initDependencies'](){const _0x8cefac=_0x41a185;_0x5e3300[_0x8cefac(0x3a7)](this['_injector'],[[_0x17492c],[_0x218781['DesktopCollaborationStatusDisplayController']],[_0x216e6e],[_0x3b66a5],[_0x218781[_0x8cefac(0x275)]]]);}},_0x46d61f(_0x218781[_0x41a185(0x25c)],_0x41a185(0x1bb),_0x142c54),_0x218781['UniverCollaborationClientUIPlugin']=_0x61d69b([_0x5e3300[_0x41a185(0x1a4)](_0x2600cf['UniverCollaborationClientPlugin']),_0x24cc65(0x1,_0x1b825c[_0x41a185(0x328)]),_0x24cc65(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x24cc65(0x3,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x25c)]);var _0x305af9=Object['getOwnPropertyDescriptor'],_0x7bc798=(_0x5135a9,_0x55ce91,_0x3f6ca0,_0x3667f2)=>{const _0x2f3b91=_0x41a185;for(var _0x52a653=_0x3667f2>0x1?void 0x0:_0x3667f2?_0x305af9(_0x55ce91,_0x3f6ca0):_0x55ce91,_0x4df388=_0x5135a9[_0x2f3b91(0x15e)]-0x1,_0x592570;_0x4df388>=0x0;_0x4df388--)(_0x592570=_0x5135a9[_0x4df388])&&(_0x52a653=_0x592570(_0x52a653)||_0x52a653);return _0x52a653;},_0x1d29fa=(_0x2d66f9,_0x129154)=>(_0xa3d1cb,_0x45253c)=>_0x129154(_0xa3d1cb,_0x45253c,_0x2d66f9);_0x218781[_0x41a185(0x2be)]=class extends _0x2600cf[_0x41a185(0x2dc)]{constructor(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66){super(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66);}async[_0x41a185(0x339)](_0x5d2714){const _0x3c38bf=_0x41a185,_0x1e49e9=await this[_0x3c38bf(0x35a)](),_0x2291b6=this['_createSocketURL'](_0x5d2714,_0x1e49e9);return this['_doCreateSocket'](_0x2291b6);}[_0x41a185(0x249)](_0x2c1ae1,_0x393864){const _0x140e8a=_0x41a185,_0x2c71db=typeof window>'u'?new URL(_0x2c1ae1):new URL(_0x2c1ae1,window['location'][_0x140e8a(0x230)]);_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x1e3),_0x393864);const _0x2bdc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x140e8a(0x1d3)]['search']);return _0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))&&_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x115),_0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))),_0x2c71db[_0x140e8a(0x2c0)]();}async[_0x41a185(0x35a)](){const _0x3f083f=_0x41a185;var _0x5d9faa,_0xeed749,_0x468cca;const _0x44da9a=this['_configService'][_0x3f083f(0x2b9)](_0x2600cf[_0x3f083f(0x133)]),_0x5b34c3=(_0x5d9faa=_0x44da9a==null?void 0x0:_0x44da9a[_0x3f083f(0x18d)])!=null?_0x5d9faa:_0x2600cf[_0x3f083f(0x255)];return(_0x468cca=(_0xeed749=(await this['_httpService'][_0x3f083f(0x182)](_0x5b34c3,{'headers':{'Content-Type':_0x3f083f(0x36c)}}))[_0x3f083f(0x119)])==null?void 0x0:_0xeed749['ticket'])!=null?_0x468cca:'';}},_0x218781[_0x41a185(0x2be)]=_0x7bc798([_0x1d29fa(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300['Injector'])),_0x1d29fa(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x1d29fa(0x2,_0x5e3300['IConfigService']),_0x1d29fa(0x3,_0x5e3300[_0x41a185(0x130)]),_0x1d29fa(0x4,_0x4384c1['ISnapshotServerService'])],_0x218781[_0x41a185(0x2be)]);var _0x22b361=(_0x4a0e5a=>(_0x4a0e5a[_0x4a0e5a[_0x41a185(0x347)]=0x0]='UNDEFINED',_0x4a0e5a[_0x4a0e5a['OK']=0x1]='OK',_0x4a0e5a[_0x4a0e5a['INTERNAL_ERROR']=0x2]=_0x41a185(0x149),_0x4a0e5a[_0x4a0e5a['PERMISSION_DENIED']=0x3]=_0x41a185(0x36a),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ce)]=0x4]=_0x41a185(0x2ce),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x30f)]=0x5]=_0x41a185(0x30f),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2f5)]=0x6]=_0x41a185(0x2f5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x3a1)]=0x7]=_0x41a185(0x3a1),_0x4a0e5a[_0x4a0e5a['TOO_MANY_REQUESTS']=0x8]=_0x41a185(0x192),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x25b)]=0x9]=_0x41a185(0x25b),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x284)]=0xa]=_0x41a185(0x284),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x321)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x274)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1c1)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x244)]=0x1389]=_0x41a185(0x244),_0x4a0e5a[_0x4a0e5a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x41a185(0x2fc),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1e7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1f9)]=0x1773]=_0x41a185(0x1f9),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x18c)]=0x1b59]=_0x41a185(0x18c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x20c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x352)]=0x1b5c]=_0x41a185(0x352),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1da)]=0x1b5d]=_0x41a185(0x1da),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x180)]=0x2329]=_0x41a185(0x180),_0x4a0e5a[_0x4a0e5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1b8)]=0x232b]=_0x41a185(0x1b8),_0x4a0e5a[_0x4a0e5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41a185(0x292),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x39d)]=0x232d]=_0x41a185(0x39d),_0x4a0e5a[_0x4a0e5a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41a185(0x2ef),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2db)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x335)]=0x2713]=_0x41a185(0x335),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2da)]=0x2714]=_0x41a185(0x2da),_0x4a0e5a[_0x4a0e5a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0e5a[_0x4a0e5a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a5)]=0x271c]=_0x41a185(0x2a5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x193)]=0x271d]=_0x41a185(0x193),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x378)]=0x271e]=_0x41a185(0x378),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x29e)]=0x271f]=_0x41a185(0x29e),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a1)]=0x2720]=_0x41a185(0x2a1),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ec)]=0x2af9]=_0x41a185(0x2ec),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x34d)]=0x2ee1]=_0x41a185(0x34d),_0x4a0e5a[_0x4a0e5a['INVALID_INVITE_CODE']=0x2ee2]=_0x41a185(0x266),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x37c)]=0x2ee3]=_0x41a185(0x37c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x298)]=0x2ee5]=_0x41a185(0x298),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x233)]=0x32c9]=_0x41a185(0x233),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x205)]=0x32ca]=_0x41a185(0x205),_0x4a0e5a[_0x4a0e5a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x41a185(0x213),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x304)]=-0x1]='UNRECOGNIZED',_0x4a0e5a))(_0x22b361||{}),_0x231e84=Object[_0x41a185(0x13b)],_0x2c6b4c=(_0x1bbcbe,_0x598719,_0x23b2b7,_0x328407)=>{const _0x4e7cbc=_0x41a185;for(var _0x4829e0=_0x328407>0x1?void 0x0:_0x328407?_0x231e84(_0x598719,_0x23b2b7):_0x598719,_0xbe471e=_0x1bbcbe[_0x4e7cbc(0x15e)]-0x1,_0x29ad36;_0xbe471e>=0x0;_0xbe471e--)(_0x29ad36=_0x1bbcbe[_0xbe471e])&&(_0x4829e0=_0x29ad36(_0x4829e0)||_0x4829e0);return _0x4829e0;},_0x3ce525=(_0x501755,_0x2ff53a)=>(_0x516216,_0x145e7c)=>_0x2ff53a(_0x516216,_0x145e7c,_0x501755);_0x218781[_0x41a185(0x316)]=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x294f4b,_0xc473b4,_0x2f9b96){const _0x62036c=_0x41a185;super(),this[_0x62036c(0x260)]=_0x294f4b,this[_0x62036c(0x362)]=_0xc473b4,this['_configService']=_0x2f9b96;}async[_0x41a185(0x129)](_0x3494ef,_0x1aadd9,_0x351640,..._0x25db27){const _0x27226e=_0x41a185;var _0xd3f9a1,_0x3be72a,_0x1b2f6b,_0xf15ac;const _0x2b21e0=this[_0x27226e(0x260)][_0x27226e(0x376)]();if(!_0x2b21e0)throw new Error(_0x27226e(0x11b));const _0x49fc03=((_0xd3f9a1=this[_0x27226e(0x25d)]['getConfig'](_0x2600cf[_0x27226e(0x14c)]))!=null?_0xd3f9a1:_0x2600cf[_0x27226e(0x12d)])+'/'+_0x3494ef+_0x27226e(0x263)+_0x1aadd9,_0x54a82b=new URL(window[_0x27226e(0x1d3)][_0x27226e(0x369)]),_0x1206fb={'scriptId':_0x3494ef,'runId':(_0x3be72a=_0x54a82b['searchParams']['get'](_0x27226e(0x115)))!=null?_0x3be72a:'','function':_0x1aadd9,'unitId':_0x2b21e0[_0x27226e(0x28d)](),'argsOfFunction':JSON[_0x27226e(0x122)](_0x25db27),'invokeId':(_0x1b2f6b=_0x351640[_0x27226e(0x151)])!=null?_0x1b2f6b:'','executionId':(_0xf15ac=_0x351640['executionId'])!=null?_0xf15ac:''};try{const _0x55d9a3=await this['_httpService'][_0x27226e(0x156)](_0x49fc03,{'body':_0x1206fb});return _0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)]&&_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)][_0x27226e(0x302)]!==_0x22b361['OK']?_0x27226e(0x1c3):_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x37a)];}catch{return _0x27226e(0x1c3);}}},_0x218781[_0x41a185(0x316)]=_0x2c6b4c([_0x3ce525(0x0,_0x5e3300['IUniverInstanceService']),_0x3ce525(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x3ce525(0x2,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x316)]);const _0x565a14=0x7530,_0x2ab163=_0x41a185(0x2cf);class _0xc18a05 extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x4bc1f5=_0x41a185;super(),_0x528ae5(this,'_id',_0x5e3300['generateRandomId']()),_0x528ae5(this,'_selfUnitIDs',new Set()),_0x528ae5(this,'_unitOnClients',new Map()),_0x528ae5(this,'_heartbeatTimer',null),_0x528ae5(this,_0x4bc1f5(0x331),new Map()),_0x528ae5(this,_0x4bc1f5(0x1ae),new Map()),this['_init']();}[_0x41a185(0x385)](){const _0x2ecede=_0x41a185;super[_0x2ecede(0x385)](),this[_0x2ecede(0x331)][_0x2ecede(0x2ba)]((_0x32e710,_0x6dce88)=>this[_0x2ecede(0x2c1)](_0x6dce88)),this['_heartbeatTimer']&&window[_0x2ecede(0x166)](this[_0x2ecede(0x3a0)]);}[_0x41a185(0x15f)](_0x3ccee3){const _0x3f77c5=_0x41a185;return this[_0x3f77c5(0x19c)](_0x3ccee3)[_0x3f77c5(0x1e6)](_0x50b64e[_0x3f77c5(0x209)]());}[_0x41a185(0x32d)](_0x3f184b){const _0x48394e=_0x41a185;this[_0x48394e(0x315)][_0x48394e(0x2df)]===0x0&&this[_0x48394e(0x1c4)](),this['_selfUnitIDs']['add'](_0x3f184b),this[_0x48394e(0x30d)]({'type':0x0,'memberID':this[_0x48394e(0x2a4)],'unitIDs':[_0x3f184b],'isForwarded':!0x1});}[_0x41a185(0x2fe)](_0x15a4f9){const _0x5844ed=_0x41a185;this[_0x5844ed(0x315)][_0x5844ed(0x2ee)](_0x15a4f9),this[_0x5844ed(0x315)][_0x5844ed(0x2df)]===0x0&&this[_0x5844ed(0x3a0)]&&window[_0x5844ed(0x166)](this[_0x5844ed(0x3a0)]);}[_0x41a185(0x189)](){const _0x2d62a6=_0x41a185;this[_0x2d62a6(0x223)](_0x5e3300[_0x2d62a6(0x1c2)](_0x50b64e[_0x2d62a6(0x340)](window,_0x2d62a6(0x1fe))[_0x2d62a6(0x1e9)](_0x1efe90=>{const _0x2c0792=_0x2d62a6;if(_0x1efe90[_0x2c0792(0x271)]!==_0x2ab163||!_0x1efe90[_0x2c0792(0x3a6)])return;const _0x4b44e2=JSON['parse'](_0x1efe90[_0x2c0792(0x3a6)]);this[_0x2c0792(0x16e)](_0x4b44e2);}))),window[_0x2d62a6(0x349)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2d62a6(0x2a4)],'unitIDs':Array[_0x2d62a6(0x373)](this[_0x2d62a6(0x315)])}));}[_0x41a185(0x16e)](_0x4be764){const _0x50a64c=_0x41a185;switch(_0x4be764[_0x50a64c(0x297)]){case 0x0:this[_0x50a64c(0x28e)](_0x4be764);break;case 0x1:this[_0x50a64c(0x29d)](_0x4be764);break;case 0x2:this[_0x50a64c(0x2f3)](_0x4be764);break;}}[_0x41a185(0x28e)](_0x29b160){const _0x4a7f24=_0x41a185,{unitIDs:_0x39a63f,memberID:_0x1873f7,isForwarded:_0x4e6fc8}=_0x29b160;_0x39a63f[_0x4a7f24(0x2ba)](_0x4077a3=>{const _0x54d34f=_0x4a7f24;if(!_0x4e6fc8&&this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)&&this[_0x54d34f(0x19c)](_0x4077a3)[_0x54d34f(0x2e0)](_0x2600cf[_0x54d34f(0x12f)][_0x54d34f(0x1cf)]),!this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)||!this['_unitOnClients']['get'](_0x4077a3)[_0x54d34f(0x345)](_0x1873f7)){const _0x2f961d=this['_unitOnClients']['get'](_0x4077a3)||new Set();_0x2f961d[_0x54d34f(0x33a)](_0x1873f7),this[_0x54d34f(0x26d)]['set'](_0x4077a3,_0x2f961d),this[_0x54d34f(0x1d6)](_0x1873f7);}}),_0x4e6fc8||this['_send']({'type':0x0,'memberID':this[_0x4a7f24(0x2a4)],'unitIDs':[...this[_0x4a7f24(0x315)]],'isForwarded':!0x0});}[_0x41a185(0x1d6)](_0x12b7e8){const _0x36cdc4=_0x41a185;this[_0x36cdc4(0x2c1)](_0x12b7e8);const _0x56f446=window[_0x36cdc4(0x295)](()=>{const _0x2a18fc=_0x36cdc4;this['_unitOnClients'][_0x2a18fc(0x2ba)](_0x47729c=>{const _0x32947e=_0x2a18fc;_0x47729c[_0x32947e(0x2ee)](_0x12b7e8);});},_0x565a14*0x2);this[_0x36cdc4(0x331)]['set'](_0x12b7e8,_0x56f446);}[_0x41a185(0x2c1)](_0x5ee66d){const _0x8dc61a=_0x41a185;if(this['_clearOtherTimers'][_0x8dc61a(0x345)](_0x5ee66d)){const _0x5a35d8=this['_clearOtherTimers']['get'](_0x5ee66d);_0x5a35d8&&window[_0x8dc61a(0x219)](_0x5a35d8),this['_clearOtherTimers'][_0x8dc61a(0x21d)](_0x5ee66d,null);}}['_handleLeaveEvent'](_0x42acd9){const _0x3b615d=_0x41a185,{memberID:_0xd1ab32,unitIDs:_0x1b1761}=_0x42acd9;_0x1b1761[_0x3b615d(0x2ba)](_0x2a377b=>{const _0x5308c0=_0x3b615d;var _0x2545e1;const _0x3b6305=this[_0x5308c0(0x26d)]['get'](_0x2a377b);_0x3b6305&&(_0x3b6305[_0x5308c0(0x2ee)](_0xd1ab32),(_0x2545e1=this[_0x5308c0(0x19c)](_0x2a377b))==null||_0x2545e1[_0x5308c0(0x2e0)](_0x3b6305['size']===0x0?_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x144)]:_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x1cf)]));}),this[_0x3b615d(0x2c1)](_0xd1ab32);}['_handleHeartbeatEvent'](_0x4fb648){const _0x1a1944=_0x41a185;this['_scheduleClearOtherTimer'](_0x4fb648[_0x1a1944(0x2a0)]);}[_0x41a185(0x30d)](_0x537548){const _0x3e99b3=_0x41a185;localStorage[_0x3e99b3(0x136)](_0x2ab163,JSON[_0x3e99b3(0x122)](_0x537548));}[_0x41a185(0x1c4)](){const _0x373ade=_0x41a185;this['_heartbeatTimer']=window[_0x373ade(0x165)](()=>{const _0x4d4906=_0x373ade;this[_0x4d4906(0x30d)]({'type':0x2,'memberID':this[_0x4d4906(0x2a4)]});},_0x565a14);}[_0x41a185(0x19c)](_0x46a580){const _0x37e463=_0x41a185;return this['_unitStatus'][_0x37e463(0x345)](_0x46a580)||this['_unitStatus']['set'](_0x46a580,new _0x50b64e[(_0x37e463(0x228))](_0x2600cf[_0x37e463(0x12f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37e463(0x1ae)][_0x37e463(0x182)](_0x46a580);}}_0x218781[_0x41a185(0x24f)]=_0x48a0eb,_0x218781[_0x41a185(0x377)]=_0x2a41ec,_0x218781[_0x41a185(0x2e4)]=_0xc18a05,_0x218781[_0x41a185(0x15c)]=_0x325c93,Object[_0x41a185(0x28b)](_0x218781,Symbol[_0x41a185(0x124)],{'value':_0x41a185(0x12b)});}));
|