@univerjs-pro/collaboration-client-ui 0.15.1 → 0.15.2

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2c0f(_0x534dcd,_0x3c8f37){_0x534dcd=_0x534dcd-0x1e6;const _0x467084=_0x4670();let _0x2c0f79=_0x467084[_0x534dcd];return _0x2c0f79;}(function(_0x5bb19a,_0x38c1c4){const _0x6733ab=_0x2c0f,_0x4489ea=_0x5bb19a();while(!![]){try{const _0x59e7db=parseInt(_0x6733ab(0x396))/0x1*(parseInt(_0x6733ab(0x445))/0x2)+parseInt(_0x6733ab(0x2c5))/0x3+-parseInt(_0x6733ab(0x261))/0x4*(parseInt(_0x6733ab(0x2d4))/0x5)+-parseInt(_0x6733ab(0x276))/0x6*(-parseInt(_0x6733ab(0x468))/0x7)+-parseInt(_0x6733ab(0x380))/0x8*(parseInt(_0x6733ab(0x251))/0x9)+-parseInt(_0x6733ab(0x377))/0xa+parseInt(_0x6733ab(0x1fa))/0xb*(-parseInt(_0x6733ab(0x1f1))/0xc);if(_0x59e7db===_0x38c1c4)break;else _0x4489ea['push'](_0x4489ea['shift']());}catch(_0x3cb1c8){_0x4489ea['push'](_0x4489ea['shift']());}}}(_0x4670,0x655a6),function(_0x23c90d,_0x2f4ae1){const _0x376707=_0x2c0f;typeof exports==_0x376707(0x432)&&typeof module<'u'?_0x2f4ae1(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x376707(0x382)&&define['amd']?define(['exports',_0x376707(0x3dc),_0x376707(0x2b3),_0x376707(0x39e),_0x376707(0x2e6),_0x376707(0x240),_0x376707(0x462),_0x376707(0x45b),'@univerjs/rpc',_0x376707(0x3af),_0x376707(0x31c),_0x376707(0x477),_0x376707(0x44f),_0x376707(0x339),'@univerjs-pro/collaboration',_0x376707(0x467),_0x376707(0x2de),'rxjs/operators',_0x376707(0x33e)],_0x2f4ae1):(_0x23c90d=typeof globalThis<'u'?globalThis:_0x23c90d||self,_0x2f4ae1(_0x23c90d['UniverProCollaborationClientUi']={},_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x2b2)],_0x23c90d[_0x376707(0x2d8)],_0x23c90d['UniverUi'],_0x23c90d['rxjs'],_0x23c90d[_0x376707(0x341)],_0x23c90d[_0x376707(0x3f1)],_0x23c90d[_0x376707(0x1fe)],_0x23c90d[_0x376707(0x26a)],_0x23c90d[_0x376707(0x36a)],_0x23c90d['UniverNetwork'],_0x23c90d[_0x376707(0x421)],_0x23c90d[_0x376707(0x245)],_0x23c90d[_0x376707(0x26f)],_0x23c90d[_0x376707(0x3a2)],_0x23c90d[_0x376707(0x3bb)],_0x23c90d[_0x376707(0x240)][_0x376707(0x47d)],_0x23c90d[_0x376707(0x48e)]));}(this,function(_0x7f96f7,_0x5740b5,_0x34c9b1,_0xee8662,_0x2dde38,_0x3b7fba,_0xefc44b,_0x2e943d,_0x969f37,_0x3dd5c8,_0x358391,_0x4d0037,_0x42f82b,_0x2ac31a,_0x597660,_0xf806a0,_0x150340,_0x6bbe09,_0x28bc9b){'use strict';const _0x51d908=_0x2c0f;var _0x3377c9=Object[_0x51d908(0x359)],_0x195903=(_0x5c84a1,_0x41c3d5,_0x55096b)=>_0x41c3d5 in _0x5c84a1?_0x3377c9(_0x5c84a1,_0x41c3d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55096b}):_0x5c84a1[_0x41c3d5]=_0x55096b,_0x3dad76=(_0x3ac692,_0xc085ca,_0x5442f0)=>_0x195903(_0x3ac692,typeof _0xc085ca!=_0x51d908(0x3cf)?_0xc085ca+'':_0xc085ca,_0x5442f0);function _0x2dbb89({ref:_0x11392b,..._0x20b89c}){const _0x48a282=_0x51d908,{icon:_0xd1ad2a,id:_0x4467c7,className:_0x578904,extend:_0x51a0ce,..._0x5afffa}=_0x20b89c,_0x2a2680=(_0x48a282(0x4c9)+_0x4467c7+'\x20'+(_0x578904||''))[_0x48a282(0x31b)](),_0x10c022=_0x2e943d[_0x48a282(0x459)]('_'+_0x3c6c82());return _0xa8da4e(_0xd1ad2a,''+_0x4467c7,{'defIds':_0xd1ad2a[_0x48a282(0x217)],'idSuffix':_0x10c022[_0x48a282(0x306)]},{'ref':_0x11392b,'className':_0x2a2680,..._0x5afffa},_0x51a0ce);}function _0xa8da4e(_0x184571,_0x551fec,_0x54cf50,_0x54d764,_0x3bdb8d){const _0x5a7619=_0x51d908;return _0x2e943d[_0x5a7619(0x2da)](_0x184571['tag'],{'key':_0x551fec,..._0x3abdfe(_0x184571,_0x54cf50,_0x3bdb8d),..._0x54d764},(_0x71f79b(_0x184571,_0x54cf50)['children']||[])[_0x5a7619(0x1e7)]((_0x1153aa,_0x4b69a9)=>_0xa8da4e(_0x1153aa,_0x551fec+'-'+_0x184571[_0x5a7619(0x2b0)]+'-'+_0x4b69a9,_0x54cf50,void 0x0,_0x3bdb8d)));}function _0x3abdfe(_0x4be1e8,_0x3804e8,_0xc50a3a){const _0x468c47=_0x51d908,_0x5825bd={..._0x4be1e8[_0x468c47(0x424)]};_0xc50a3a!=null&&_0xc50a3a[_0x468c47(0x38e)]&&_0x5825bd[_0x468c47(0x405)]==='colorChannel1'&&(_0x5825bd[_0x468c47(0x405)]=_0xc50a3a[_0x468c47(0x38e)]),_0x4be1e8[_0x468c47(0x2b0)]===_0x468c47(0x2bd)&&_0x5825bd['id']&&(_0x5825bd['id']=_0x5825bd['id']+_0x3804e8[_0x468c47(0x410)]),Object[_0x468c47(0x2e0)](_0x5825bd)[_0x468c47(0x204)](([_0x55d95a,_0x2ff35f])=>{const _0xaef68e=_0x468c47;_0x55d95a===_0xaef68e(0x2bd)&&typeof _0x2ff35f=='string'&&(_0x5825bd[_0x55d95a]=_0x2ff35f[_0xaef68e(0x20a)](/url\(#(.*)\)/,_0xaef68e(0x40c)+_0x3804e8[_0xaef68e(0x410)]+')'));});const {defIds:_0x1daf17}=_0x3804e8;return!_0x1daf17||_0x1daf17['length']===0x0||(_0x4be1e8['tag']==='use'&&_0x5825bd[_0x468c47(0x258)]&&(_0x5825bd[_0x468c47(0x258)]=_0x5825bd[_0x468c47(0x258)]+_0x3804e8[_0x468c47(0x410)]),Object['entries'](_0x5825bd)['forEach'](([_0x107109,_0x58c554])=>{const _0x4321d2=_0x468c47;typeof _0x58c554==_0x4321d2(0x255)&&(_0x5825bd[_0x107109]=_0x58c554[_0x4321d2(0x20a)](/url\(#(.*)\)/,_0x4321d2(0x40c)+_0x3804e8['idSuffix']+')'));})),_0x5825bd;}function _0x71f79b(_0x4bbbea,_0x1f91f6){const _0x353ee2=_0x51d908;var _0x41c813;const {defIds:_0x182eba}=_0x1f91f6;return!_0x182eba||_0x182eba['length']===0x0?_0x4bbbea:_0x4bbbea[_0x353ee2(0x2b0)]===_0x353ee2(0x232)&&((_0x41c813=_0x4bbbea[_0x353ee2(0x48c)])!=null&&_0x41c813[_0x353ee2(0x3e5)])?{..._0x4bbbea,'children':_0x4bbbea[_0x353ee2(0x48c)]['map'](_0x481827=>typeof _0x481827[_0x353ee2(0x424)]['id']=='string'&&_0x182eba&&_0x182eba[_0x353ee2(0x3ab)](_0x481827[_0x353ee2(0x424)]['id'])?{..._0x481827,'attrs':{..._0x481827[_0x353ee2(0x424)],'id':_0x481827[_0x353ee2(0x424)]['id']+_0x1f91f6[_0x353ee2(0x410)]}}:_0x481827)}:_0x4bbbea;}function _0x3c6c82(){const _0x15802c=_0x51d908;return Math[_0x15802c(0x349)]()[_0x15802c(0x344)](0x24)['substring'](0x2,0x8);}_0x2dbb89[_0x51d908(0x369)]=_0x51d908(0x20d);const _0x2faee0={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':_0x51d908(0x2ff),'width':_0x51d908(0x4a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x51d908(0x1fb)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x51d908(0x39a),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':_0x51d908(0x232),'attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x312)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':'white','d':_0x51d908(0x375)}}]}]}],'defIds':[_0x51d908(0x312)]},_0x2cb984=_0x2e943d['forwardRef'](function(_0x439c10,_0x49a8dd){const _0xf93020=_0x51d908;return _0x2e943d[_0xf93020(0x2da)](_0x2dbb89,Object['assign']({},_0x439c10,{'id':'off-line-icon','ref':_0x49a8dd,'icon':_0x2faee0}));});_0x2cb984[_0x51d908(0x369)]=_0x51d908(0x403);const _0x3828e5={'tag':_0x51d908(0x4ab),'attrs':{'xmlns':_0x51d908(0x41b),'fill':_0x51d908(0x34a),'viewBox':'0\x200\x2017\x2016','width':_0x51d908(0x4a4),'height':_0x51d908(0x4a4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x51d908(0x48b),'attrs':{'stroke':_0x51d908(0x4aa),'d':_0x51d908(0x3d3),'strokeLinecap':_0x51d908(0x1f2),'strokeLinejoin':_0x51d908(0x1f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x51d908(0x4a0),'attrs':{'id':_0x51d908(0x3c1)},'children':[{'tag':_0x51d908(0x48b),'attrs':{'fill':_0x51d908(0x332),'d':_0x51d908(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c533b=_0x2e943d[_0x51d908(0x36e)](function(_0x16f147,_0x3d1e4b){const _0x3451ee=_0x51d908;return _0x2e943d['createElement'](_0x2dbb89,Object[_0x3451ee(0x35a)]({},_0x16f147,{'id':'on-line-icon','ref':_0x3d1e4b,'icon':_0x3828e5}));});_0x5c533b['displayName']=_0x51d908(0x3b0);function _0x32fce6(_0x3151f4){const _0x2d671c=_0x51d908;switch(_0x3151f4){case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x292)]:return'collabStatus.offline';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x254)]:return _0x2d671c(0x4a6);case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x20b)]:return'collabStatus.fetchMiss';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2a3)]:return'collabStatus.notCollab';case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x223)]:case _0x34c9b1['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x2d671c(0x38b);case _0x34c9b1['CollaborationStatus']['SYNCED']:case _0x34c9b1[_0x2d671c(0x326)][_0x2d671c(0x2c6)]:return _0x2d671c(0x200);}}function _0x401748(_0x1bd21e){const _0x1d8bcf=_0x51d908,{status$:_0x2654cf}=_0x1bd21e,_0x17337c=_0x2dde38['useObservable'](_0x2654cf,_0x34c9b1[_0x1d8bcf(0x326)][_0x1d8bcf(0x2a3)]),_0x59fd12=_0x2dde38['useDependency'](_0xee8662[_0x1d8bcf(0x241)]),_0x1e846a=_0x2dde38[_0x1d8bcf(0x325)](_0x34c9b1[_0x1d8bcf(0x25f)]),_0x44905a=_0x17337c!==_0x34c9b1['CollaborationStatus'][_0x1d8bcf(0x292)],_0x34560c=_0x59fd12['t'](_0x32fce6(_0x17337c)),_0x20253c=_0x44905a?_0x5740b5[_0x1d8bcf(0x330)](_0x5c533b,{}):_0x5740b5[_0x1d8bcf(0x330)](_0x2cb984,{}),_0x3bf655=_0x2e943d['useCallback'](()=>{const _0x3aa8be=_0x1d8bcf;_0x44905a||_0x1e846a[_0x3aa8be(0x450)]();},[_0x44905a,_0x1e846a]);function _0x2ae72a(){const _0x40b976=_0x1d8bcf;return _0x5740b5[_0x40b976(0x2f0)]('div',{'className':_0x40b976(0x26b),'onClick':_0x3bf655,'children':[_0x5740b5[_0x40b976(0x330)](_0x40b976(0x452),{'className':_0xefc44b[_0x40b976(0x3d4)](_0x40b976(0x30f),{'univer-text-green-500':_0x44905a,'univer-text-red-500':!_0x44905a}),'children':_0x20253c}),_0x5740b5['jsx'](_0x40b976(0x452),{'className':_0x40b976(0x4d2),'children':_0x34560c})]});}return _0x44905a?_0x2ae72a():_0x5740b5[_0x1d8bcf(0x330)](_0xefc44b[_0x1d8bcf(0x2dd)],{'title':_0x59fd12['t'](_0x1d8bcf(0x298)),'children':_0x2ae72a()});}var _0x45dc7c=Object[_0x51d908(0x34e)],_0x2ccc78=(_0x5f7199,_0x158ec4,_0x13b415,_0x5665f1)=>{const _0x1ea945=_0x51d908;for(var _0x186cee=_0x5665f1>0x1?void 0x0:_0x5665f1?_0x45dc7c(_0x158ec4,_0x13b415):_0x158ec4,_0x18e8aa=_0x5f7199[_0x1ea945(0x3e5)]-0x1,_0x512a18;_0x18e8aa>=0x0;_0x18e8aa--)(_0x512a18=_0x5f7199[_0x18e8aa])&&(_0x186cee=_0x512a18(_0x186cee)||_0x186cee);return _0x186cee;},_0x1faf92=(_0x53a220,_0x218945)=>(_0x123cab,_0x52535e)=>_0x218945(_0x123cab,_0x52535e,_0x53a220);_0x7f96f7[_0x51d908(0x4b3)]=class extends _0xee8662['Disposable']{constructor(_0x5f2549,_0x480a7d,_0x565c55,_0x243aeb){const _0x3d4a99=_0x51d908;super(),_0x3dad76(this,_0x3d4a99(0x419),new _0x3b7fba[(_0x3d4a99(0x45d))](_0x34c9b1['CollaborationStatus']['NOT_COLLAB'])),(this[_0x3d4a99(0x4c6)]=_0x5f2549,this[_0x3d4a99(0x3e2)]=_0x480a7d,this[_0x3d4a99(0x2cb)]=_0x565c55,this['_uiPartsService']=_0x243aeb,this[_0x3d4a99(0x3f2)](),this[_0x3d4a99(0x273)]());}[_0x51d908(0x273)](){const _0x22516e=_0x51d908;this[_0x22516e(0x45a)](this[_0x22516e(0x4c6)]['focused$'][_0x22516e(0x2ba)](_0x3b7fba['switchMap'](()=>{const _0x5451f6=_0x22516e,_0x1c29c8=this[_0x5451f6(0x4c6)][_0x5451f6(0x247)]();return _0x1c29c8?this['_collaborationController'][_0x5451f6(0x439)](_0x1c29c8[_0x5451f6(0x3d9)]()):_0x3b7fba['of'](null);}),_0x3b7fba[_0x22516e(0x40f)](_0x4c20ba=>_0x4c20ba?_0x4c20ba[_0x22516e(0x346)]:_0x3b7fba['of'](_0x34c9b1['CollaborationStatus'][_0x22516e(0x2a3)])))[_0x22516e(0x329)](_0x43de95=>{const _0x42a073=_0x22516e;this[_0x42a073(0x419)][_0x42a073(0x2e1)](_0x43de95);}));}[_0x51d908(0x3f2)](){const _0x56d832=_0x51d908;this['disposeWithMe'](this[_0x56d832(0x32c)][_0x56d832(0x2fc)](_0x2dde38['BuiltInUIPart'][_0x56d832(0x4b8)],()=>_0x2dde38['connectInjector'](_0x1f9bba({'status$':this[_0x56d832(0x419)][_0x56d832(0x428)]()}),this[_0x56d832(0x3e2)])));}},_0x7f96f7[_0x51d908(0x4b3)]=_0x2ccc78([_0x1faf92(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x1faf92(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x1faf92(0x2,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x1faf92(0x3,_0x2dde38[_0x51d908(0x394)])],_0x7f96f7['DesktopCollaborationStatusDisplayController']);function _0x1f9bba(_0x3180f5){const {status$:_0x1674d5}=_0x3180f5;return function(){const _0x4bcf72=_0x2c0f;return _0x5740b5[_0x4bcf72(0x330)](_0x401748,{'status$':_0x1674d5});};}const _0x188e9b=_0xee8662[_0x51d908(0x4af)](_0x51d908(0x381));var _0x3c84dc=Object['getOwnPropertyDescriptor'],_0x51ebe6=(_0xb613ca,_0x2d5ea0,_0x75b425,_0x578674)=>{const _0x290e3e=_0x51d908;for(var _0x182c49=_0x578674>0x1?void 0x0:_0x578674?_0x3c84dc(_0x2d5ea0,_0x75b425):_0x2d5ea0,_0x46aa41=_0xb613ca[_0x290e3e(0x3e5)]-0x1,_0x748303;_0x46aa41>=0x0;_0x46aa41--)(_0x748303=_0xb613ca[_0x46aa41])&&(_0x182c49=_0x748303(_0x182c49)||_0x182c49);return _0x182c49;},_0x3ac6a5=(_0x2f07e0,_0x4acf8e)=>(_0x4a8479,_0x8e2491)=>_0x4acf8e(_0x4a8479,_0x8e2491,_0x2f07e0);_0x7f96f7[_0x51d908(0x4ca)]=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2c53dc,_0x4538cb,_0xa99b80,_0x352380,_0x41f7ca){const _0x28a91c=_0x51d908;super(),this[_0x28a91c(0x40d)]=_0x2c53dc,this['_logService']=_0x4538cb,this['_commandService']=_0xa99b80,this['_dataLoaderService']=_0x352380,_0x41f7ca?_0x41f7ca==null||_0x41f7ca[_0x28a91c(0x3fd)]()[_0x28a91c(0x2ec)](()=>this[_0x28a91c(0x336)]()):(this[_0x28a91c(0x27c)][_0x28a91c(0x3c9)](_0x28a91c(0x1f6),_0x28a91c(0x34f)),this[_0x28a91c(0x336)]());}async[_0x51d908(0x336)](){const _0x3a462e=_0x51d908,_0x5aae74=this['_urlService'][_0x3a462e(0x2c3)](_0x3a462e(0x267)),_0x3030ce=this[_0x3a462e(0x40d)][_0x3a462e(0x2c3)](_0x3a462e(0x4b1)),_0x4dd1ed=this['_urlService'][_0x3a462e(0x2c3)]('subunit');if(!_0x5aae74||!_0x3030ce){this['_logService'][_0x3a462e(0x3c9)](_0x3a462e(0x1f6),_0x3a462e(0x3c6));return;}const _0x3bda1d=await this[_0x3a462e(0x469)]['loadUnit'](_0x5aae74,Number(_0x3030ce),_0x4dd1ed);_0x3bda1d&&_0x3bda1d instanceof _0xee8662[_0x3a462e(0x253)]&&this['_setupSubUnitSync'](_0x3bda1d);}async[_0x51d908(0x4c1)](_0x5ed162){const _0x2fc6dd=_0x51d908;await this[_0x2fc6dd(0x3e1)](_0x5ed162),_0x5ed162[_0x2fc6dd(0x4cf)][_0x2fc6dd(0x2ba)](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))['subscribe'](_0x10ff77=>{const _0x22e378=_0x2fc6dd;_0x10ff77&&this[_0x22e378(0x361)](_0x10ff77);}),this['_urlService'][_0x2fc6dd(0x2f4)]['pipe'](_0x3b7fba[_0x2fc6dd(0x2a7)](this[_0x2fc6dd(0x3b5)]))[_0x2fc6dd(0x329)](()=>this['_updateSubUnitFromURLParams'](_0x5ed162));}['_updateURLWithCurrentState'](_0x43e43,_0x2103fa=!0x1){const _0x3cd259=_0x51d908,_0x547448=this[_0x3cd259(0x40d)][_0x3cd259(0x2c3)](_0x3cd259(0x461));_0x43e43[_0x3cd259(0x451)]()!==_0x547448&&this['_urlService'][_0x3cd259(0x413)](_0x3cd259(0x461),_0x43e43[_0x3cd259(0x451)](),_0x2103fa);}async[_0x51d908(0x3e1)](_0x269afc){const _0xe850bf=_0x51d908;var _0x1fba28;const _0x454d5e=this['_urlService'][_0xe850bf(0x2c3)](_0xe850bf(0x461));if(!_0x454d5e||!_0x269afc[_0xe850bf(0x3a6)](_0x454d5e)){const _0x424250=_0x269afc[_0xe850bf(0x279)]()[0x0],_0x2f407c=_0x269afc[_0xe850bf(0x3a6)](_0x424250);if(!_0x2f407c)return;this[_0xe850bf(0x361)](_0x2f407c,!0x0),await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x424250});return;}((_0x1fba28=_0x269afc[_0xe850bf(0x23c)]())==null?void 0x0:_0x1fba28[_0xe850bf(0x451)]())!==_0x454d5e&&await this['_commandService'][_0xe850bf(0x45f)](_0x3dd5c8[_0xe850bf(0x37b)]['id'],{'unitId':_0x269afc[_0xe850bf(0x3d9)](),'subUnitId':_0x454d5e});}},_0x7f96f7[_0x51d908(0x4ca)]=_0x51ebe6([_0x3ac6a5(0x0,_0x188e9b),_0x3ac6a5(0x1,_0xee8662[_0x51d908(0x4b0)]),_0x3ac6a5(0x2,_0xee8662[_0x51d908(0x2a9)]),_0x3ac6a5(0x3,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x33b)])),_0x3ac6a5(0x4,_0xee8662[_0x51d908(0x3bf)](_0x969f37[_0x51d908(0x301)]))],_0x7f96f7[_0x51d908(0x4ca)]);var _0x408d39=Object['getOwnPropertyDescriptor'],_0x43d4ce=(_0x3ae927,_0xd43520,_0x2ff21a,_0x5a5ca6)=>{const _0x4b5a6a=_0x51d908;for(var _0x1b62bd=_0x5a5ca6>0x1?void 0x0:_0x5a5ca6?_0x408d39(_0xd43520,_0x2ff21a):_0xd43520,_0x17235f=_0x3ae927[_0x4b5a6a(0x3e5)]-0x1,_0x80d9d8;_0x17235f>=0x0;_0x17235f--)(_0x80d9d8=_0x3ae927[_0x17235f])&&(_0x1b62bd=_0x80d9d8(_0x1b62bd)||_0x1b62bd);return _0x1b62bd;},_0x4a3e9b=(_0x2401df,_0x36e5ab)=>(_0x3de60a,_0x288c52)=>_0x36e5ab(_0x3de60a,_0x288c52,_0x2401df);let _0x124e21=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x191454,_0x60f656){const _0x3bf8b1=_0x51d908;super(),this[_0x3bf8b1(0x45c)]=_0x191454,this[_0x3bf8b1(0x37f)]=_0x60f656,this['_init']();}[_0x51d908(0x336)](){const _0x1d4d3c=_0x51d908,_0x588965=this;this[_0x1d4d3c(0x45a)](this[_0x1d4d3c(0x45c)]['addClipboardHook']({'onBeforePasteImage':async _0x245d36=>{const _0x4b681a=_0x1d4d3c,_0x2f759f=await _0x588965['_imageIoService'][_0x4b681a(0x486)](_0x245d36);return _0x2f759f?{'source':_0x2f759f[_0x4b681a(0x2a6)],'imageSourceType':_0x2f759f[_0x4b681a(0x3ce)]}:null;}}));}};_0x124e21=_0x43d4ce([_0x4a3e9b(0x0,_0x42f82b[_0x51d908(0x209)]),_0x4a3e9b(0x1,_0x2ac31a[_0x51d908(0x285)])],_0x124e21);const _0x4a51d0=[_0x51d908(0x43c),'jiqing.500',_0x51d908(0x495),_0x51d908(0x25d),_0x51d908(0x22c),'yellow.400'];class _0x280e8f extends _0xee8662[_0x51d908(0x4c2)]{constructor(){const _0x460afb=_0x51d908;super(...arguments),_0x3dad76(this,_0x460afb(0x324),new Map()),_0x3dad76(this,'_colorIndex',0x0);}[_0x51d908(0x3db)](_0x1aa977){const _0x321677=_0x51d908;if(this[_0x321677(0x324)][_0x321677(0x398)](_0x1aa977))return this[_0x321677(0x324)][_0x321677(0x2ea)](_0x1aa977);const _0x228992=_0x4a51d0[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x4a51d0['length'],this[_0x321677(0x324)][_0x321677(0x4c5)](_0x1aa977,_0x228992),_0x228992;}}function _0xe96057(_0x4c1d61){let _0xb17285='';for(const _0x917d5 of _0x4c1d61){const {startOffset:_0x524f70,endOffset:_0x4a389b,isActive:_0x4a0fb4,rangeType:_0xdc3cf8,segmentId:_0x217374,segmentPage:_0x4a969a}=_0x917d5;_0xb17285['length']&&(_0xb17285+=','),_0xb17285+=_0x524f70+':'+_0x4a389b+':'+(_0x4a0fb4?'1':'0')+':'+_0xdc3cf8+':'+_0x217374+':'+_0x4a969a;}return _0xb17285;}function _0x60d07a(_0x46c53c){const _0x3264fc=_0x51d908,_0x42d3b5=_0x46c53c[_0x3264fc(0x354)](','),_0x3c13dc=[];for(const _0x40a4a5 of _0x42d3b5){const [_0x20dd91,_0x7a161f,_0x7e5f33,_0x3ddb14,_0x506974,_0xa88b2b]=_0x40a4a5['split'](':');_0x3c13dc[_0x3264fc(0x29f)]({'startOffset':Number(_0x20dd91),'endOffset':Number(_0x7a161f),'collapsed':_0x20dd91===_0x7a161f,'isActive':_0x7e5f33==='1','rangeType':_0x3ddb14===_0xee8662[_0x3264fc(0x417)][_0x3264fc(0x46f)]?_0xee8662[_0x3264fc(0x417)]['TEXT']:_0xee8662['DOC_RANGE_TYPE'][_0x3264fc(0x238)],'segmentId':typeof _0x506974==_0x3264fc(0x255)?String(_0x506974):'','segmentPage':Number(_0xa88b2b!=null?_0xa88b2b:-0x1)});}return _0x3c13dc[_0x3264fc(0x32b)](_0x22e9ac=>_0x22e9ac['isActive'])||(_0x3c13dc[0x0][_0x3264fc(0x474)]=!0x0),_0x3c13dc;}class _0x3808c8 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x4f5d74=_0x51d908;super(...arguments),_0x3dad76(this,'_collabCursorState$',new _0x3b7fba['BehaviorSubject'](null)),_0x3dad76(this,'collabCursorState$',this['_collabCursorState$'][_0x4f5d74(0x428)]());}[_0x51d908(0x3e3)](_0x2e37c8){const _0x288aa7=_0x51d908,{unitID:_0x548912,memberID:_0x305baa,textRanges:_0x2f298f}=_0x2e37c8,_0x5e34c5=_0xe96057(_0x2f298f);if(_0x5e34c5==='')return;const _0x3ae71e={'unitID':_0x548912,'memberID':_0x305baa,'selection':_0x5e34c5};this['_collabCursorState$'][_0x288aa7(0x2e1)](_0x3ae71e);}}var _0x1cfbd0=Object[_0x51d908(0x34e)],_0x51a210=(_0x2284d4,_0xae39ee,_0x24b9ba,_0x5033af)=>{const _0x547f74=_0x51d908;for(var _0x2684cf=_0x5033af>0x1?void 0x0:_0x5033af?_0x1cfbd0(_0xae39ee,_0x24b9ba):_0xae39ee,_0x1764c5=_0x2284d4[_0x547f74(0x3e5)]-0x1,_0x1fec35;_0x1764c5>=0x0;_0x1764c5--)(_0x1fec35=_0x2284d4[_0x1764c5])&&(_0x2684cf=_0x1fec35(_0x2684cf)||_0x2684cf);return _0x2684cf;},_0xc73734=(_0x2a65fa,_0x4bd01a)=>(_0x869807,_0x2d5a1e)=>_0x4bd01a(_0x869807,_0x2d5a1e,_0x2a65fa);const _0x5b6e41=0x12c,_0x52b387=0x64;let _0x20ff4c=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0xd405e,_0x1b6761,_0xe3d5a8,_0x7b052a,_0x155b28,_0x2f5ee5,_0xd5c925,_0x50c252,_0x553216){const _0x788daf=_0x51d908;super(),_0x3dad76(this,'_online',!0x1),_0x3dad76(this,_0x788daf(0x336),!0x1),_0x3dad76(this,_0x788daf(0x43d),new _0x3b7fba[(_0x788daf(0x45d))](new Map())),_0x3dad76(this,_0x788daf(0x485),this['_cursorInfo$'][_0x788daf(0x428)]()),_0x3dad76(this,_0x788daf(0x2a8),new _0x3b7fba[(_0x788daf(0x45d))]([])),_0x3dad76(this,_0x788daf(0x2ac),this['_roomMembers$'][_0x788daf(0x2ba)](_0x3b7fba[_0x788daf(0x4cd)](_0x5b6e41))),_0x3dad76(this,'_updateLocalCursor',_0xee8662[_0x788daf(0x222)](_0x4301b5=>{const _0x1a6549=_0x788daf,_0x4b0e92={'eventID':_0x597660[_0x1a6549(0x331)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1a6549(0x436)],'memberID':this[_0x1a6549(0x29c)][_0x1a6549(0x23a)](),'selection':_0xe96057(_0x4301b5)}};this[_0x1a6549(0x29c)][_0x1a6549(0x320)](_0x4b0e92,this[_0x1a6549(0x436)]);},_0x52b387)),(this[_0x788daf(0x436)]=_0xd405e,this['_session']=_0x1b6761,this[_0x788daf(0x3e2)]=_0xe3d5a8,this[_0x788daf(0x3c7)]=_0x7b052a,this['_memberService']=_0x155b28,this[_0x788daf(0x230)]=_0x2f5ee5,this[_0x788daf(0x2bb)]=_0xd5c925,this['_univerInstanceService']=_0x50c252,this['_commandService']=_0x553216);}get[_0x51d908(0x463)](){const _0x5b8254=_0x51d908;return this[_0x5b8254(0x43d)]['getValue']();}get['roomMembers'](){const _0x4f90fc=_0x51d908;return this[_0x4f90fc(0x2a8)][_0x4f90fc(0x319)]();}['dispose'](){const _0x400444=_0x51d908;super['dispose'](),this[_0x400444(0x43d)][_0x400444(0x2e1)](new Map()),this[_0x400444(0x43d)]['complete'](),this[_0x400444(0x2a8)][_0x400444(0x2e1)]([]),this[_0x400444(0x2a8)][_0x400444(0x24e)]();}[_0x51d908(0x268)](){const _0x270d49=_0x51d908;this[_0x270d49(0x336)]||(this[_0x270d49(0x336)]=!0x0,this[_0x270d49(0x29c)][_0x270d49(0x39d)][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x582adc=>{const _0x48e821=_0x270d49;_0x582adc===_0x34c9b1[_0x48e821(0x1ef)][_0x48e821(0x404)]?this[_0x48e821(0x249)]():this[_0x48e821(0x309)]();}),this[_0x270d49(0x29c)]['event$'][_0x270d49(0x2ba)](_0x3b7fba[_0x270d49(0x2a7)](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0x5d4bdd=>{const _0x5cddeb=_0x270d49,_0x5a3d3a=_0x5d4bdd[_0x5cddeb(0x472)];_0x5a3d3a===_0x597660['CollaborationEvent'][_0x5cddeb(0x4a5)]&&this[_0x5cddeb(0x4c3)](_0x5d4bdd),_0x5a3d3a===_0x597660[_0x5cddeb(0x331)]['USERS_LEAVE']&&this[_0x5cddeb(0x422)](_0x5d4bdd);}),this['disposeWithMe'](this['_commandService'][_0x270d49(0x4c8)](_0x183960=>{const _0x16a0ea=_0x270d49,_0x5ef113=_0x183960[_0x16a0ea(0x41e)];_0x5ef113!=null&&this[_0x16a0ea(0x431)]&&_0x183960['id']===_0xf806a0[_0x16a0ea(0x357)]['id']&&_0x5ef113[_0x16a0ea(0x27a)]===this[_0x16a0ea(0x436)]&&_0x5ef113['isEditing']===!0x1&&_0x5ef113[_0x16a0ea(0x48d)][_0x16a0ea(0x3e5)]>0x0&&this[_0x16a0ea(0x2fd)](_0x5ef113[_0x16a0ea(0x48d)]);})),this[_0x270d49(0x230)]['collabCursorState$'][_0x270d49(0x2ba)](_0x3b7fba['takeUntil'](this[_0x270d49(0x3b5)]))[_0x270d49(0x329)](_0xd7e830=>{const _0x22e8cf=_0x270d49;if((_0xd7e830==null?void 0x0:_0xd7e830[_0x22e8cf(0x436)])!==this[_0x22e8cf(0x436)])return;const _0xe53483={'eventID':_0x597660[_0x22e8cf(0x331)][_0x22e8cf(0x4a5)],'data':_0xd7e830};this[_0x22e8cf(0x4c3)](_0xe53483);}),this[_0x270d49(0x45a)](this[_0x270d49(0x4b6)][_0x270d49(0x4c8)](_0x1d5972=>{const _0x16c5f4=_0x270d49;if(_0x1d5972['params']==null)return;const _0x52fecd=_0x1d5972[_0x16c5f4(0x41e)];if(_0x1d5972['id']!==_0xf806a0[_0x16c5f4(0x416)]['id']||_0x52fecd[_0x16c5f4(0x27a)]!==this[_0x16c5f4(0x436)])return;const _0x1294f4={'id':_0x16c5f4(0x333),'params':_0x52fecd},_0x5508f3=this[_0x16c5f4(0x463)];for(const [_0x722ad8,_0x4190b8]of _0x5508f3){const _0x3b1468={'id':_0x16c5f4(0x333),'params':{'unitId':this[_0x16c5f4(0x436)],'actions':null,'textRanges':_0x4190b8[_0x16c5f4(0x48d)]}},_0x23a22a=this[_0x16c5f4(0x2bb)][_0x16c5f4(0x311)](_0x1294f4,_0x3b1468,!0x1);if(_0x597660[_0x16c5f4(0x338)](_0x23a22a))throw _0x23a22a[_0x16c5f4(0x1f8)];_0x5508f3['set'](_0x722ad8,{..._0x4190b8,'ranges':_0x23a22a[_0x16c5f4(0x41d)][_0x16c5f4(0x41e)][_0x16c5f4(0x3cd)]});}queueMicrotask(()=>{const _0x2483a8=_0x16c5f4;this[_0x2483a8(0x43d)][_0x2483a8(0x2e1)](_0x5508f3);});})));}['_onCursorUpdate'](_0x479f42){const _0x20b6c6=_0x51d908;var _0x1560b0,_0x40377c;const {memberID:_0x1061b1,selection:_0x139711}=_0x479f42[_0x20b6c6(0x3f0)],_0x5474aa=_0x60d07a(_0x139711),_0x2f6cac=(_0x40377c=(_0x1560b0=this[_0x20b6c6(0x4d0)]['getMember'](this[_0x20b6c6(0x436)],_0x1061b1))==null?void 0x0:_0x1560b0[_0x20b6c6(0x2c7)])!=null?_0x40377c:'Unknown\x20user',_0x59ad0f={'color':this[_0x20b6c6(0x3c7)][_0x20b6c6(0x3db)](_0x1061b1),'name':_0x2f6cac,'ranges':_0x5474aa},_0x320cad=this[_0x20b6c6(0x463)];_0x320cad[_0x20b6c6(0x4c5)](_0x1061b1,_0x59ad0f),this[_0x20b6c6(0x43d)][_0x20b6c6(0x2e1)](_0x320cad);}[_0x51d908(0x422)](_0x579c5d){const _0x41121d=_0x51d908,{memberID:_0x4316b8}=_0x579c5d['data'],_0xbe5bfd=this['cursorInfo'];_0xbe5bfd['delete'](_0x4316b8),this[_0x41121d(0x43d)][_0x41121d(0x2e1)](_0xbe5bfd);}[_0x51d908(0x249)](){const _0xa70958=_0x51d908;var _0x1d96c7;if(this[_0xa70958(0x431)]=!0x0,((_0x1d96c7=this['_univerInstanceService'][_0xa70958(0x247)]())==null?void 0x0:_0x1d96c7[_0xa70958(0x3d9)]())!==this[_0xa70958(0x436)])return;const _0x55f7e7=this['_injector'][_0xa70958(0x2ea)](_0xf806a0['DocSelectionManagerService'])['getDocRanges']();Array[_0xa70958(0x1ee)](_0x55f7e7)&&_0x55f7e7[_0xa70958(0x3e5)]>0x0&&this[_0xa70958(0x2fd)](_0x55f7e7);}[_0x51d908(0x309)](){const _0x1e5b3c=_0x51d908;this[_0x1e5b3c(0x431)]=!0x1;}};_0x20ff4c=_0x51a210([_0xc73734(0x2,_0xee8662['Inject'](_0xee8662['Injector'])),_0xc73734(0x3,_0xee8662['Inject'](_0x280e8f)),_0xc73734(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1['MemberService'])),_0xc73734(0x5,_0xee8662['Inject'](_0x3808c8)),_0xc73734(0x6,_0x597660[_0x51d908(0x2ed)]),_0xc73734(0x7,_0xee8662[_0x51d908(0x3b1)]),_0xc73734(0x8,_0xee8662[_0x51d908(0x2a9)])],_0x20ff4c);var _0x143b3a=Object['getOwnPropertyDescriptor'],_0x4e8511=(_0x266a6e,_0x1be96b,_0x349241,_0x55ba8e)=>{const _0x1f5876=_0x51d908;for(var _0x4be22b=_0x55ba8e>0x1?void 0x0:_0x55ba8e?_0x143b3a(_0x1be96b,_0x349241):_0x1be96b,_0x19cbfd=_0x266a6e[_0x1f5876(0x3e5)]-0x1,_0x267ea3;_0x19cbfd>=0x0;_0x19cbfd--)(_0x267ea3=_0x266a6e[_0x19cbfd])&&(_0x4be22b=_0x267ea3(_0x4be22b)||_0x4be22b);return _0x4be22b;},_0x21faeb=(_0x2f21f1,_0x5acc24)=>(_0x14982c,_0x66d213)=>_0x5acc24(_0x14982c,_0x66d213,_0x2f21f1);const _0x3931d9=0x12c,_0x3024e4=0x64,_0x21b005=()=>{let _0x890c8=[],_0x236882=!0x1;return _0x3132b1=>{const _0x5ade21=_0x2c0f;_0x890c8[_0x5ade21(0x29f)](_0x3132b1),_0x236882||(_0x236882=!0x0,setTimeout(()=>{const _0x1a2de0=_0x5ade21;_0x890c8[_0x1a2de0(0x204)](_0x302c0b=>_0x302c0b()),_0x890c8=[],_0x236882=!0x1;}));};};let _0x2216dc=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x201aa6,_0x2f4cd9,_0x561f5d,_0x38b339,_0xf78053,_0x24646c,_0x207a7d,_0x1537c0){const _0x4f939e=_0x51d908;super(),_0x3dad76(this,_0x4f939e(0x431),!0x1),_0x3dad76(this,'_init',!0x1),_0x3dad76(this,_0x4f939e(0x43d),new _0x3b7fba[(_0x4f939e(0x45d))](new Map())),_0x3dad76(this,_0x4f939e(0x485),this[_0x4f939e(0x43d)]['asObservable']()),_0x3dad76(this,_0x4f939e(0x2a8),new _0x3b7fba['BehaviorSubject']([])),_0x3dad76(this,_0x4f939e(0x2ac),this[_0x4f939e(0x2a8)][_0x4f939e(0x2ba)](_0x3b7fba[_0x4f939e(0x4cd)](_0x3931d9))),_0x3dad76(this,_0x4f939e(0x2fd),_0xee8662['debounce']((_0x19d75e,_0x43645f)=>{const _0x3a1c08=_0x4f939e,_0x218464={'eventID':_0x597660['CollaborationEvent'][_0x3a1c08(0x4a5)],'data':{'unitID':this[_0x3a1c08(0x436)],'memberID':this[_0x3a1c08(0x29c)][_0x3a1c08(0x23a)](),'selection':_0x150340[_0x3a1c08(0x302)](_0x19d75e,_0x43645f[_0x3a1c08(0x24b)])}};this['_session'][_0x3a1c08(0x320)](_0x218464,this[_0x3a1c08(0x436)]);},_0x3024e4)),(this[_0x4f939e(0x436)]=_0x201aa6,this[_0x4f939e(0x29c)]=_0x2f4cd9,this[_0x4f939e(0x3e2)]=_0x561f5d,this[_0x4f939e(0x3c7)]=_0x38b339,this[_0x4f939e(0x4d0)]=_0xf78053,this[_0x4f939e(0x4c6)]=_0x24646c,this[_0x4f939e(0x4b6)]=_0x207a7d,this[_0x4f939e(0x2a1)]=_0x1537c0);}get[_0x51d908(0x463)](){const _0x2d498b=_0x51d908;return this[_0x2d498b(0x43d)]['getValue']();}get['roomMembers'](){const _0xea77a5=_0x51d908;return this[_0xea77a5(0x2a8)][_0xea77a5(0x319)]();}[_0x51d908(0x32d)](){const _0x4ad982=_0x51d908;super[_0x4ad982(0x32d)](),this[_0x4ad982(0x43d)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x4ad982(0x2a8)][_0x4ad982(0x24e)]();}[_0x51d908(0x268)](){const _0x1ec847=_0x51d908;this[_0x1ec847(0x336)]||(this[_0x1ec847(0x336)]=!0x0,this[_0x1ec847(0x29c)][_0x1ec847(0x39d)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x553d72=>{const _0x59e287=_0x1ec847;_0x553d72===_0x34c9b1[_0x59e287(0x1ef)]['ONLINE']?this[_0x59e287(0x249)]():this[_0x59e287(0x309)]();}),this[_0x1ec847(0x29c)][_0x1ec847(0x345)][_0x1ec847(0x2ba)](_0x3b7fba[_0x1ec847(0x2a7)](this[_0x1ec847(0x3b5)]))[_0x1ec847(0x329)](_0x498b52=>{const _0x27f139=_0x1ec847,_0xa4ac51=_0x498b52[_0x27f139(0x472)];_0xa4ac51===_0x597660[_0x27f139(0x331)]['UPDATE_CURSOR']&&this[_0x27f139(0x4c3)](_0x498b52),_0xa4ac51===_0x597660['CollaborationEvent'][_0x27f139(0x3b9)]&&this['_onCursorDelete'](_0x498b52);}),this['_onRefRangeChange'](),this[_0x1ec847(0x45a)](this['_commandService'][_0x1ec847(0x4c8)](_0x321f12=>{const _0x317b66=_0x1ec847;if(this[_0x317b66(0x431)]&&_0x321f12['id']===_0x3dd5c8[_0x317b66(0x491)]['id']&&_0x321f12[_0x317b66(0x41e)][_0x317b66(0x27a)]===this[_0x317b66(0x436)]){const _0x3e6621=_0x321f12[_0x317b66(0x41e)];this[_0x317b66(0x2fd)](_0x3e6621['subUnitId'],_0x3e6621[_0x317b66(0x290)][0x0]);}})));}[_0x51d908(0x4c3)](_0x6223d7){const _0x45be00=_0x51d908;var _0x375b6c,_0x3d573a;const {memberID:_0x42aa5e,selection:_0x3d0725}=_0x6223d7[_0x45be00(0x3f0)],{sheetName:_0x36949c,range:_0x1d796a}=_0x150340[_0x45be00(0x313)](_0x3d0725),_0x29bbb7={'name':(_0x3d573a=(_0x375b6c=this[_0x45be00(0x4d0)][_0x45be00(0x214)](this[_0x45be00(0x436)],_0x42aa5e))==null?void 0x0:_0x375b6c[_0x45be00(0x2c7)])!=null?_0x3d573a:'Unknown\x20user','range':this[_0x45be00(0x35f)](_0x36949c,_0x1d796a),'sheetID':_0x36949c,'color':this[_0x45be00(0x3c7)][_0x45be00(0x3db)](_0x42aa5e),'selection':_0x3d0725},_0x2a645b=this[_0x45be00(0x463)];_0x2a645b[_0x45be00(0x4c5)](_0x42aa5e,_0x29bbb7),this[_0x45be00(0x43d)][_0x45be00(0x2e1)](_0x2a645b);}['_onCursorDelete'](_0x2244e5){const _0x48996e=_0x51d908,{memberID:_0x90e38f}=_0x2244e5[_0x48996e(0x3f0)],_0x28c764=this[_0x48996e(0x463)];_0x28c764[_0x48996e(0x3fe)](_0x90e38f),this[_0x48996e(0x43d)][_0x48996e(0x2e1)](_0x28c764);}['_getMergeRange'](_0x2ff337,_0x2da7e2){const _0x3eeb8f=_0x51d908;var _0x3b0918,_0x96acf8;const _0x4844fc=(_0x96acf8=(_0x3b0918=this[_0x3eeb8f(0x4c6)][_0x3eeb8f(0x205)](this[_0x3eeb8f(0x436)]))==null?void 0x0:_0x3b0918['getSheetBySheetId'](_0x2ff337))==null?void 0x0:_0x96acf8[_0x3eeb8f(0x376)]();return(_0x4844fc==null?void 0x0:_0x4844fc[_0x3eeb8f(0x33c)](_0x56804f=>_0xee8662[_0x3eeb8f(0x494)][_0x3eeb8f(0x239)](_0x56804f,_0x2da7e2)))||_0x2da7e2;}[_0x51d908(0x31f)](){const _0x16bc5e=_0x51d908,_0x367078=new _0xee8662['DisposableCollection'](),_0x1df0df=_0x21b005(),_0x5965df=()=>{const _0x5cb64a=_0x2c0f;_0x367078[_0x5cb64a(0x32d)]();const _0x50ff5b=(_0x40789f,_0x25d7c2,_0x431b3b,_0x43b228)=>{const _0x43d28c=_0x5cb64a;let _0x211a2d=[];switch(_0x40789f['id']){case _0x3dd5c8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x2b9)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['DeleteRangeMoveUpCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x34b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId']['InsertColCommandId']:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x237)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x2df)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x42b)](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x4b4)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x4a1)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)]['InsertRowCommandId']:{_0x211a2d=_0x3dd5c8['handleInsertRow'](_0x40789f,_0x43b228);break;}case _0x3dd5c8['EffectRefRangId'][_0x43d28c(0x493)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x233)](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x3e7)]:{_0x211a2d=_0x3dd5c8['handleIRemoveCol'](_0x40789f,_0x43b228);break;}case _0x3dd5c8[_0x43d28c(0x40b)][_0x43d28c(0x295)]:{_0x211a2d=_0x3dd5c8[_0x43d28c(0x40a)](_0x40789f,_0x43b228);break;}}const _0x18a73c=_0x3dd5c8[_0x43d28c(0x34c)](_0x211a2d,_0x43b228),_0x1cc925=this[_0x43d28c(0x463)][_0x43d28c(0x2ea)](_0x25d7c2);if(_0x1cc925&&_0x18a73c){const _0x3a4ad8={..._0x1cc925,'range':_0x18a73c};this[_0x43d28c(0x463)][_0x43d28c(0x4c5)](_0x25d7c2,_0x3a4ad8),_0x1df0df(()=>{const _0x3f0e3d=_0x43d28c,_0x257d8d=this[_0x3f0e3d(0x2a1)][_0x3f0e3d(0x248)](_0x18a73c,_0x3d80ef=>(_0x257d8d['dispose'](),_0x50ff5b(_0x3d80ef,_0x25d7c2,_0x431b3b,_0x18a73c)));_0x367078['add'](_0x257d8d);});}return{'redos':[],'undos':[]};};this[_0x5cb64a(0x463)][_0x5cb64a(0x204)]((_0x393b49,_0x557383)=>{const _0x432aae=_0x5cb64a,{range:_0x17df1d,sheetID:_0x28a7ef}=_0x393b49,_0x204d32=this[_0x432aae(0x2a1)][_0x432aae(0x248)](_0x17df1d,_0x295ea8=>(_0x204d32[_0x432aae(0x32d)](),_0x50ff5b(_0x295ea8,_0x557383,_0x28a7ef,_0x17df1d)));_0x367078[_0x432aae(0x3b7)](_0x204d32);});};this[_0x16bc5e(0x45a)](_0xee8662[_0x16bc5e(0x211)](this[_0x16bc5e(0x43d)][_0x16bc5e(0x329)](()=>{_0x5965df();})));}[_0x51d908(0x249)](){const _0x787681=_0x51d908;var _0x7cbd19,_0x4c4788;if(this[_0x787681(0x431)]=!0x0,((_0x7cbd19=this[_0x787681(0x4c6)][_0x787681(0x247)]())==null?void 0x0:_0x7cbd19['getUnitId']())!==this['unitID'])return;const _0x2c5e8f=(_0x4c4788=this['_injector'][_0x787681(0x2ea)](_0x3dd5c8['SheetsSelectionsService'])[_0x787681(0x3bd)]())==null?void 0x0:_0x4c4788[0x0],_0x11f737=this[_0x787681(0x4c6)]['getCurrentUnitForType'](_0xee8662[_0x787681(0x47c)][_0x787681(0x1eb)])[_0x787681(0x23c)]();_0x2c5e8f&&_0x11f737&&this[_0x787681(0x2fd)](_0x11f737['getSheetId'](),_0x2c5e8f);}['_toggleOffline'](){const _0x419c8d=_0x51d908;this[_0x419c8d(0x431)]=!0x1;}};_0x2216dc=_0x4e8511([_0x21faeb(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21faeb(0x3,_0xee8662[_0x51d908(0x35b)](_0x280e8f)),_0x21faeb(0x4,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x2d9)])),_0x21faeb(0x5,_0xee8662[_0x51d908(0x3b1)]),_0x21faeb(0x6,_0xee8662[_0x51d908(0x2a9)]),_0x21faeb(0x7,_0xee8662[_0x51d908(0x35b)](_0x3dd5c8['RefRangeService']))],_0x2216dc);var _0x5dc663=Object['getOwnPropertyDescriptor'],_0x2e3cc7=(_0x210bb8,_0x160fad,_0x3e74ba,_0x478a85)=>{const _0x5d060c=_0x51d908;for(var _0x1cbfaa=_0x478a85>0x1?void 0x0:_0x478a85?_0x5dc663(_0x160fad,_0x3e74ba):_0x160fad,_0x204cb2=_0x210bb8[_0x5d060c(0x3e5)]-0x1,_0x2b80ed;_0x204cb2>=0x0;_0x204cb2--)(_0x2b80ed=_0x210bb8[_0x204cb2])&&(_0x1cbfaa=_0x2b80ed(_0x1cbfaa)||_0x1cbfaa);return _0x1cbfaa;},_0x21d541=(_0x55d411,_0x16858b)=>(_0x5184ac,_0x2f18a5)=>_0x16858b(_0x5184ac,_0x2f18a5,_0x55d411);let _0x16e293=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x3eca71,_0x397019,_0x28949e){const _0x153fd3=_0x51d908;super(),_0x3dad76(this,_0x153fd3(0x455),new Map()),_0x3dad76(this,'_entityInit$',new _0x3b7fba[(_0x153fd3(0x498))]()),(this['_univerInstanceService']=_0x3eca71,this['_injector']=_0x397019,this['_collabSessionService']=_0x28949e,this[_0x153fd3(0x336)]());}[_0x51d908(0x32d)](){const _0x28464b=_0x51d908;super[_0x28464b(0x32d)](),this[_0x28464b(0x366)]['complete'](),this[_0x28464b(0x455)][_0x28464b(0x204)](_0x486692=>_0x486692[_0x28464b(0x32d)]());}[_0x51d908(0x420)](_0x9d01b){const _0x3639dc=_0x51d908;return this['_entities'][_0x3639dc(0x398)](_0x9d01b)?this[_0x3639dc(0x455)][_0x3639dc(0x2ea)](_0x9d01b)[_0x3639dc(0x485)]:this[_0x3639dc(0x366)][_0x3639dc(0x2ba)](_0x3b7fba[_0x3639dc(0x202)](_0x123d76=>_0x123d76[_0x3639dc(0x436)]===_0x9d01b),_0x3b7fba[_0x3639dc(0x40f)](_0x192660=>_0x192660[_0x3639dc(0x485)]));}[_0x51d908(0x336)](){const _0x2ee84d=_0x51d908;this[_0x2ee84d(0x4c6)][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)])[_0x2ee84d(0x2ba)](_0x3b7fba[_0x2ee84d(0x2a7)](this[_0x2ee84d(0x3b5)]))['subscribe'](async _0x13148a=>{const _0x38470c=_0x2ee84d,_0x43c165=_0x13148a[_0x38470c(0x3d9)](),_0x13d225=await this[_0x38470c(0x27b)](_0x43c165);this['_entityInit$']['next'](_0x13d225),this[_0x38470c(0x455)][_0x38470c(0x4c5)](_0x43c165,_0x13d225);}),this['_univerInstanceService'][_0x2ee84d(0x465)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)])['pipe'](_0x3b7fba[_0x2ee84d(0x2a7)](this['dispose$']))[_0x2ee84d(0x2ba)](_0x3b7fba['filter'](_0x2e1d4c=>!_0x2e1d4c[_0x2ee84d(0x3d9)]()['startsWith']('__')))[_0x2ee84d(0x329)](async _0x26a2a9=>{const _0x361363=_0x2ee84d,_0x5121a1=_0x26a2a9[_0x361363(0x3d9)](),_0x28c3f9=await this[_0x361363(0x318)](_0x5121a1);this[_0x361363(0x366)][_0x361363(0x2e1)](_0x28c3f9),this[_0x361363(0x455)][_0x361363(0x4c5)](_0x5121a1,_0x28c3f9);}),_0x3b7fba[_0x2ee84d(0x378)](this['_univerInstanceService'][_0x2ee84d(0x213)](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x2b1)]),this[_0x2ee84d(0x4c6)]['getTypeOfUnitDisposed$'](_0xee8662[_0x2ee84d(0x47c)][_0x2ee84d(0x1eb)]))[_0x2ee84d(0x2ba)](_0x3b7fba['takeUntil'](this['dispose$']))[_0x2ee84d(0x329)](_0x23b142=>{const _0x4669e2=_0x2ee84d,_0x26c9bf=_0x23b142[_0x4669e2(0x3d9)](),_0x473e30=this[_0x4669e2(0x455)][_0x4669e2(0x2ea)](_0x26c9bf);_0x473e30&&(_0x473e30['dispose'](),this[_0x4669e2(0x455)][_0x4669e2(0x3fe)](_0x26c9bf));});}async[_0x51d908(0x27b)](_0x36af25){const _0x326689=_0x51d908,_0x1b1fbc=await this[_0x326689(0x328)][_0x326689(0x2a4)](_0x36af25),_0x17918f=this[_0x326689(0x3e2)]['createInstance'](_0x2216dc,_0x36af25,_0x1b1fbc);return _0x17918f[_0x326689(0x268)](),_0x17918f;}async[_0x51d908(0x318)](_0x5874b5){const _0x158448=_0x51d908,_0x48960d=await this[_0x158448(0x328)]['requireSession'](_0x5874b5),_0x5c4380=this[_0x158448(0x3e2)][_0x158448(0x21b)](_0x20ff4c,_0x5874b5,_0x48960d);return _0x5c4380[_0x158448(0x268)](),_0x5c4380;}};_0x16e293=_0x2e3cc7([_0x21d541(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x21d541(0x1,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x21d541(0x2,_0xee8662['Inject'](_0x34c9b1['CollaborationSessionService']))],_0x16e293);const _0x3dbef6=0x14,_0x16ae9a=0xc8,_0x1dc4a9=0x4,_0x2ae551=0x5;function _0x539c83(_0x54a6f4,_0x1ef7b6){const _0x2cfadc=_0x51d908;let {radius:_0xb5db2d,width:_0x2a1d16,height:_0x33c2db}=_0x1ef7b6;_0xb5db2d=_0xb5db2d!=null?_0xb5db2d:0x0,_0x2a1d16=_0x2a1d16!=null?_0x2a1d16:0x1e,_0x33c2db=_0x33c2db!=null?_0x33c2db:0x1e;let _0x500941=0x0,_0x55cc91=0x0,_0x540b85=0x0;_0x500941=_0x55cc91=_0x540b85=Math[_0x2cfadc(0x2ae)](_0xb5db2d,_0x2a1d16/0x2,_0x33c2db/0x2),_0x54a6f4[_0x2cfadc(0x389)](),_0x54a6f4[_0x2cfadc(0x453)](_0x500941,0x0),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16-_0x55cc91,0x0),_0x54a6f4[_0x2cfadc(0x1e6)](_0x2a1d16-_0x55cc91,_0x55cc91,_0x55cc91,Math['PI']*0x3/0x2,0x0,!0x1),_0x54a6f4[_0x2cfadc(0x293)](_0x2a1d16,_0x33c2db-_0x540b85),_0x54a6f4['arc'](_0x2a1d16-_0x540b85,_0x33c2db-_0x540b85,_0x540b85,0x0,Math['PI']/0x2,!0x1),_0x54a6f4['lineTo'](0x0,_0x33c2db),_0x54a6f4[_0x2cfadc(0x293)](0x0,_0x500941),_0x54a6f4[_0x2cfadc(0x1e6)](_0x500941,_0x500941,_0x500941,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54a6f4[_0x2cfadc(0x300)](),_0x1ef7b6[_0x2cfadc(0x405)]&&(_0x54a6f4[_0x2cfadc(0x443)](),_0x54a6f4['fillStyle']=_0x1ef7b6[_0x2cfadc(0x405)],_0x1ef7b6[_0x2cfadc(0x384)]===_0x2cfadc(0x478)?_0x54a6f4[_0x2cfadc(0x405)](_0x2cfadc(0x478)):_0x54a6f4[_0x2cfadc(0x405)](),_0x54a6f4[_0x2cfadc(0x2ce)]());}class _0x466339 extends _0x358391[_0x51d908(0x243)]{constructor(_0x3ddb5a,_0x10cc74){const _0x10d021=_0x51d908;super(_0x3ddb5a,_0x10cc74),_0x3dad76(this,_0x10d021(0x3c8)),_0x3dad76(this,'text'),(this[_0x10d021(0x3c8)]=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3c8)],this['text']=_0x10cc74==null?void 0x0:_0x10cc74[_0x10d021(0x3ec)]);}static[_0x51d908(0x3fa)](_0x4e2421,_0x3026c9){const _0x518e86=_0x51d908,{text:_0x3f615f,color:_0x47e744}=_0x3026c9;_0x4e2421['save'](),_0x4e2421[_0x518e86(0x291)]=_0x518e86(0x33f);const _0x2813c1=_0x4e2421[_0x518e86(0x483)](_0x3f615f)[_0x518e86(0x3ff)],_0x516149=Math[_0x518e86(0x2ae)](_0x2813c1+0x2*_0x1dc4a9,_0x16ae9a);_0x539c83(_0x4e2421,{'height':_0x3dbef6,'radius':0x4,'width':_0x516149,'fill':_0x47e744}),_0x4e2421[_0x518e86(0x348)]=_0x518e86(0x4c7);const _0x563ede=_0x1dc4a9,_0x3630e6=_0x3dbef6-_0x2ae551,_0x46b1ff=_0x16ae9a-0x2*_0x1dc4a9;if(_0x2813c1>_0x46b1ff){let _0x447d6c='',_0x35ff69=0x0;for(const _0x199ff1 of _0x3f615f){const _0x57a751=_0x4e2421[_0x518e86(0x483)](_0x199ff1)[_0x518e86(0x3ff)];if(_0x35ff69+_0x57a751<=_0x46b1ff-_0x4e2421[_0x518e86(0x483)](_0x518e86(0x42e))['width'])_0x447d6c+=_0x199ff1,_0x35ff69+=_0x57a751;else{_0x447d6c+=_0x518e86(0x42e);break;}}_0x4e2421[_0x518e86(0x23d)](_0x447d6c,_0x563ede,_0x3630e6);}else _0x4e2421['fillText'](_0x3f615f,_0x563ede,_0x3630e6);_0x4e2421[_0x518e86(0x2ce)]();}[_0x51d908(0x368)](_0x4b3302){_0x466339['drawWith'](_0x4b3302,this);}}const _0x1b4c82=_0x51d908(0x4a7),_0x27b099=_0x51d908(0x3fc),_0x350465=_0x51d908(0x1ea),_0x1b8c2d=0x6,_0xeef53b=1.5,_0x515aba=0x4,_0x1e2581=1.5,_0x2259dc=_0x51d908(0x490);class _0x43cb6d{constructor(_0x596f19,_0x3b2d95,_0x5647ca,_0x28997f){const _0x285b8c=_0x51d908;_0x3dad76(this,_0x285b8c(0x2d2),[]),_0x3dad76(this,_0x285b8c(0x1f3),null),_0x3dad76(this,_0x285b8c(0x3a3),null),_0x3dad76(this,'_anchorDot',null),_0x3dad76(this,_0x285b8c(0x2e4),null),_0x3dad76(this,'_eventUnsubscribe',null),(this[_0x285b8c(0x30d)]=_0x596f19,this[_0x285b8c(0x38f)]=_0x3b2d95,this[_0x285b8c(0x2af)]=_0x5647ca,this[_0x285b8c(0x387)]=_0x28997f,this['_render']());}set['_hover'](_0x4cb16a){const _0x23a64c=_0x51d908;_0x4cb16a?(this[_0x23a64c(0x4bc)]&&this['_anchorDot']['hide'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)][_0x23a64c(0x458)]()):(this['_anchorDot']&&this[_0x23a64c(0x4bc)]['show'](),this[_0x23a64c(0x3a3)]&&this[_0x23a64c(0x3a3)]['hide']());}[_0x51d908(0x32d)](){const _0xa5e2ac=_0x51d908;for(const _0x169fc7 of this[_0xa5e2ac(0x2d2)])_0x169fc7[_0xa5e2ac(0x32d)]();this[_0xa5e2ac(0x3a3)]&&this[_0xa5e2ac(0x3a3)]['dispose'](),this[_0xa5e2ac(0x4bc)]&&this[_0xa5e2ac(0x4bc)][_0xa5e2ac(0x32d)](),this[_0xa5e2ac(0x1f3)]&&this[_0xa5e2ac(0x1f3)][_0xa5e2ac(0x32d)](),this['_eventUnsubscribe']&&this[_0xa5e2ac(0x497)]();}[_0x51d908(0x4d1)](){const _0x139a7f=_0x51d908;var _0x11bd5d;const {_docSkeleton:_0x5537a6,_document:_0xba29aa}=this,{color:_0x5cc912,name:_0x13bdfd,ranges:_0xbd675}=this[_0x139a7f(0x30d)],_0x562049=_0xba29aa[_0x139a7f(0x250)](),{docsLeft:_0x66bae,docsTop:_0xcdc7e1}=_0x562049,_0x339c79=new _0x42f82b[(_0x139a7f(0x1f0))](_0x562049,_0x5537a6);for(const {startOffset:_0x2cd99c,endOffset:_0x359bb3,rangeType:_0x24ad23,segmentId:_0x5e7bc0,segmentPage:_0x889d2e,collapsed:_0x5b5bd7,isActive:_0x2de753}of _0xbd675){const _0x3a8e69=_0x5537a6[_0x139a7f(0x473)](_0x2cd99c,!0x0,_0x5e7bc0,_0x889d2e);let _0x40ef31=_0x5537a6['findNodePositionByCharIndex'](_0x359bb3,!0x0,_0x5e7bc0,_0x889d2e);if(_0x40ef31==null&&(_0x40ef31=_0x5537a6[_0x139a7f(0x473)](_0x359bb3-0x1,!0x1,_0x5e7bc0,_0x889d2e)),_0x2de753){const {contentBoxPointGroup:_0x33944b}=_0x339c79[_0x139a7f(0x2a2)](_0x40ef31,_0x40ef31);if(_0x33944b[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x252)](_0x5cc912,_0x33944b,_0x66bae,_0xcdc7e1,_0x13bdfd),this[_0x139a7f(0x497)]=this[_0x139a7f(0x4a3)]();}if(_0x3a8e69&&_0x40ef31){if(_0x24ad23===_0xee8662['DOC_RANGE_TYPE'][_0x139a7f(0x238)]){const _0x2cf031=new _0x42f82b['NodePositionConvertToRectRange'](_0x562049,_0x5537a6),{pointGroup:_0x2f1e27}=(_0x11bd5d=_0x2cf031[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31))!=null?_0x11bd5d:{};if(_0x2f1e27==null||_0x2f1e27[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x402)](_0x5cc912,_0x2f1e27,_0x66bae,_0xcdc7e1);}else{if(!_0x5b5bd7){const {borderBoxPointGroup:_0x2dd81c}=_0x339c79[_0x139a7f(0x2a2)](_0x3a8e69,_0x40ef31);if(_0x2dd81c[_0x139a7f(0x3e5)]===0x0)continue;this[_0x139a7f(0x353)](_0x5cc912,_0x2dd81c,_0x66bae,_0xcdc7e1);}}}}}['_drawAnchor'](_0x326d1f,_0x4e9580,_0x76b203,_0x1e075b,_0x12327f){const _0x48f09b=_0x51d908,_0x50671d=this[_0x48f09b(0x274)](_0x4e9580),{left:_0x46ee35,top:_0x97ed2a,height:_0x58bb2a}=_0x50671d,_0x200e40=this[_0x48f09b(0x1f7)](),_0x5ad0f2=_0x1e2581/_0x200e40,_0x312767=new _0x358391[(_0x48f09b(0x460))](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b,'height':_0x58bb2a,'width':_0xeef53b,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662[_0x48f09b(0x476)][_0x48f09b(0x208)],0x0),'strokeWidth':_0x5ad0f2,'stroke':_0x2259dc,'evented':!0x0});this[_0x48f09b(0x1f3)]=_0x312767,this[_0x48f09b(0x38f)]['addObject'](_0x312767,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);const _0x47e596=new _0x358391['Rect'](_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x515aba/0x2,'height':_0x515aba,'width':_0x515aba,'fill':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x326d1f||_0x358391[_0x48f09b(0x3d0)](_0xee8662['COLORS'][_0x48f09b(0x208)],0x0),'evented':!0x1});this[_0x48f09b(0x4bc)]=_0x47e596,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x47e596,_0x42f82b[_0x48f09b(0x41a)]);const _0x491a5b=new _0x466339(_0x1b4c82+_0xee8662[_0x48f09b(0x4bf)](_0x1b8c2d),{'left':_0x46ee35+_0x76b203-_0x5ad0f2,'top':_0x97ed2a+_0x1e075b-_0x3dbef6,'text':_0x12327f,'color':_0x326d1f});this[_0x48f09b(0x3a3)]=_0x491a5b,this[_0x48f09b(0x38f)][_0x48f09b(0x372)](_0x491a5b,_0x42f82b[_0x48f09b(0x41a)]),this[_0x48f09b(0x362)]=!0x1;}[_0x51d908(0x4a3)](){const _0x27c291=_0x51d908,_0x1e2ef1=this[_0x27c291(0x1f3)][_0x27c291(0x278)][_0x27c291(0x296)](()=>{const _0x1fd628=_0x27c291;this[_0x1fd628(0x362)]=!0x0;}),_0x1bb858=this[_0x27c291(0x1f3)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4837f7=_0x27c291;this['_hideTimer']&&clearTimeout(this[_0x4837f7(0x2e4)]),this[_0x4837f7(0x2e4)]=setTimeout(()=>{const _0x47de25=_0x4837f7;this[_0x47de25(0x362)]=!0x1;},0x7d0);});return()=>{const _0x986435=_0x27c291;_0x1e2ef1['unsubscribe'](),_0x1bb858[_0x986435(0x21f)]();};}[_0x51d908(0x353)](_0x3770b5,_0x16ebfc,_0x3b4307,_0x4e4aa4){const _0x4cb19d=_0x51d908,_0x27296a=new _0xee8662['ColorKit'](_0x3770b5)[_0x4cb19d(0x3f9)](0.2)['toRgbString'](),_0x35b04b=new _0x358391[(_0x4cb19d(0x406))](_0x27b099+_0xee8662['generateRandomId'](_0x1b8c2d),{'pointsGroup':_0x16ebfc,'fill':_0x27296a||_0x358391['getColor'](_0xee8662['COLORS'][_0x4cb19d(0x208)],0.2),'left':_0x3b4307,'top':_0x4e4aa4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cb19d(0x2d2)][_0x4cb19d(0x29f)](_0x35b04b),this[_0x4cb19d(0x38f)][_0x4cb19d(0x372)](_0x35b04b,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x402)](_0xc83e6,_0x134010,_0xd7ee59,_0x36a830){const _0xc40872=_0x51d908,_0x5cddfa=new _0xee8662['ColorKit'](_0xc83e6)['setAlpha'](0.2)[_0xc40872(0x235)](),_0x5e5667=new _0x358391['RegularPolygon'](_0x350465+_0xee8662[_0xc40872(0x4bf)](_0x1b8c2d),{'pointsGroup':_0x134010,'fill':_0x5cddfa||_0x358391['getColor'](_0xee8662[_0xc40872(0x476)][_0xc40872(0x208)],0.2),'left':_0xd7ee59,'top':_0x36a830,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc40872(0x2d2)][_0xc40872(0x29f)](_0x5e5667),this['_scene']['addObject'](_0x5e5667,_0x42f82b['TEXT_RANGE_LAYER_INDEX']);}[_0x51d908(0x274)](_0x49a817){const _0x38ccb0=_0x49a817[0x0],_0xd54a73=_0x38ccb0[0x0],_0x2d5712=_0x38ccb0[0x2],{x:_0x41d15d,y:_0x2eacf4}=_0xd54a73,{x:_0xf8ad0,y:_0x58c038}=_0x2d5712;return{'left':_0x41d15d,'top':_0x2eacf4,'width':_0xf8ad0-_0x41d15d,'height':_0x58c038-_0x2eacf4};}[_0x51d908(0x1f7)](){const _0x4fc14b=_0x51d908,{scaleX:_0x16a9e6,scaleY:_0x55e9bf}=this[_0x4fc14b(0x38f)][_0x4fc14b(0x2c1)]();return Math['max'](_0x16a9e6,_0x55e9bf);}}var _0x46765f=Object[_0x51d908(0x34e)],_0x4beb14=(_0x36acdc,_0x70b110,_0x471f8f,_0x1cef71)=>{const _0x510bb5=_0x51d908;for(var _0x1fd55e=_0x1cef71>0x1?void 0x0:_0x1cef71?_0x46765f(_0x70b110,_0x471f8f):_0x70b110,_0x115bf3=_0x36acdc[_0x510bb5(0x3e5)]-0x1,_0xacff7e;_0x115bf3>=0x0;_0x115bf3--)(_0xacff7e=_0x36acdc[_0x115bf3])&&(_0x1fd55e=_0xacff7e(_0x1fd55e)||_0x1fd55e);return _0x1fd55e;},_0x144519=(_0xc8cfc3,_0x4b5a11)=>(_0x2315cf,_0x35fb98)=>_0x4b5a11(_0x2315cf,_0x35fb98,_0xc8cfc3);let _0x3a6e42=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x5bc754,_0x2b612e,_0x4fd5b8,_0x171a77,_0x15f589){const _0x322db1=_0x51d908;super(),_0x3dad76(this,'_cursorShapes',[]),_0x3dad76(this,_0x322db1(0x3c3),[]),(this[_0x322db1(0x355)]=_0x5bc754,this[_0x322db1(0x286)]=_0x2b612e,this['_collabCursorController']=_0x4fd5b8,this[_0x322db1(0x4b6)]=_0x171a77,this[_0x322db1(0x429)]=_0x15f589,this['_init']());}[_0x51d908(0x336)](){const _0x2de9e7=_0x51d908,_0x869305=this['_context']['unitId'],_0x947358=this[_0x2de9e7(0x286)];this[_0x2de9e7(0x45a)](_0x3b7fba['combineLatest']([this[_0x2de9e7(0x3f3)][_0x2de9e7(0x420)](_0x869305),this[_0x2de9e7(0x429)][_0x2de9e7(0x343)]])[_0x2de9e7(0x2ba)](_0x6bbe09[_0x2de9e7(0x1e7)](([_0x13893a,_0x4163f1])=>({'skeleton':_0x947358[_0x2de9e7(0x229)](),'cursors':[..._0x13893a['values']()][_0x2de9e7(0x442)](_0x22c238=>({..._0x22c238,'color':this[_0x2de9e7(0x429)][_0x2de9e7(0x38d)](_0x22c238[_0x2de9e7(0x3c8)])}))})))['subscribe'](_0x21bbe3=>{const _0x2019f4=_0x2de9e7;if(this[_0x2019f4(0x4ad)](),_0x21bbe3){const {skeleton:_0x214c1b,cursors:_0x3b712b}=_0x21bbe3;this[_0x2019f4(0x3d8)](_0x214c1b,_0x3b712b);}})),this[_0x2de9e7(0x23e)](),this['_initCommandExecutedListener']();}[_0x51d908(0x3d8)](_0x303b6d,_0x5697cc){const _0x17385b=_0x51d908,{scene:_0x513576,mainComponent:_0x5b5fad}=this[_0x17385b(0x355)],_0x44a8df=_0x5697cc[_0x17385b(0x1e7)](_0x395e64=>new _0x43cb6d(_0x395e64,_0x513576,_0x303b6d,_0x5b5fad));this[_0x17385b(0x44e)]=_0x44a8df,this[_0x17385b(0x3c3)]=_0x5697cc;}[_0x51d908(0x4cb)](){const _0x4ea3c5=_0x51d908;this[_0x4ea3c5(0x4ad)]();const {scene:_0x508bbe,mainComponent:_0x58dbf3}=this['_context'],_0x27c571=this[_0x4ea3c5(0x286)][_0x4ea3c5(0x229)](),_0xcc5151=this[_0x4ea3c5(0x3c3)]['map'](_0x2624a1=>new _0x43cb6d(_0x2624a1,_0x508bbe,_0x27c571,_0x58dbf3));this[_0x4ea3c5(0x44e)]=_0xcc5151;}[_0x51d908(0x4ad)](){const _0x1d4804=_0x51d908;this['_cursorShapes'][_0x1d4804(0x204)](_0x5a4622=>_0x5a4622[_0x1d4804(0x32d)]()),this[_0x1d4804(0x44e)]=[];}[_0x51d908(0x40e)](){const _0x547e0d=_0x51d908,_0x4d061a=[_0x42f82b[_0x547e0d(0x281)]['id']];this[_0x547e0d(0x45a)](this[_0x547e0d(0x4b6)][_0x547e0d(0x4c8)](_0x233f00=>{const _0x1e8acd=_0x547e0d;_0x4d061a['includes'](_0x233f00['id'])&&_0x233f00[_0x1e8acd(0x41e)]['unitId']===this['_context'][_0x1e8acd(0x27a)]&&this[_0x1e8acd(0x4cb)]();}));}[_0x51d908(0x23e)](){const _0x421f1f=_0x51d908;this[_0x421f1f(0x45a)](_0xee8662['fromEventSubject'](this[_0x421f1f(0x355)][_0x421f1f(0x43b)][_0x421f1f(0x303)])[_0x421f1f(0x2ba)](_0x6bbe09[_0x421f1f(0x202)](_0x4fb106=>_0x4fb106[_0x421f1f(0x4b1)]===_0x358391['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x6bbe09[_0x421f1f(0x42f)](0x10))[_0x421f1f(0x329)](()=>{const _0x327d50=_0x421f1f;this[_0x327d50(0x4cb)]();}));}};_0x3a6e42=_0x4beb14([_0x144519(0x1,_0xee8662[_0x51d908(0x35b)](_0xf806a0[_0x51d908(0x35e)])),_0x144519(0x2,_0xee8662[_0x51d908(0x35b)](_0x16e293)),_0x144519(0x3,_0xee8662[_0x51d908(0x2a9)]),_0x144519(0x4,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x257)]))],_0x3a6e42);const _0x2ce8a5=0x1,_0x1340c4=1.5;class _0x118cd0 extends _0x358391[_0x51d908(0x243)]{constructor(_0x116a97,_0x4e19c4){const _0x4116ca=_0x51d908;super(_0x116a97,_0x4e19c4),_0x3dad76(this,'_color'),_0x3dad76(this,_0x4116ca(0x415),!0x1),_0x3dad76(this,_0x4116ca(0x220)),_0x3dad76(this,_0x4116ca(0x2d7),''),_0x3dad76(this,_0x4116ca(0x37a),'top'),_0x3dad76(this,'_backgroundColor'),(_0x4e19c4&&this[_0x4116ca(0x321)](_0x4e19c4),this[_0x4116ca(0x278)][_0x4116ca(0x296)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4116ca(0x44a)][_0x4116ca(0x296)](()=>this[_0x4116ca(0x321)]({'hovered':!0x1})));}[_0x51d908(0x321)](_0x1b3419){const _0x4d8a79=_0x51d908;var _0x2308a7,_0x337847,_0x47aec4,_0x17e779,_0x237523,_0x38b5ff;this[_0x4d8a79(0x2fb)]=(_0x2308a7=_0x1b3419[_0x4d8a79(0x3c8)])!=null?_0x2308a7:this[_0x4d8a79(0x2fb)],this['_hovered']=(_0x337847=_0x1b3419['hovered'])!=null?_0x337847:this[_0x4d8a79(0x415)],this[_0x4d8a79(0x220)]=(_0x47aec4=_0x1b3419[_0x4d8a79(0x24b)])!=null?_0x47aec4:this[_0x4d8a79(0x220)],this[_0x4d8a79(0x2d7)]=(_0x17e779=_0x1b3419[_0x4d8a79(0x2c7)])!=null?_0x17e779:this['_name'],this[_0x4d8a79(0x37a)]=(_0x237523=_0x1b3419['labelPosition'])!=null?_0x237523:this['_labelPosition'],this[_0x4d8a79(0x228)]=(_0x38b5ff=_0x1b3419['backgroundColor'])!=null?_0x38b5ff:this[_0x4d8a79(0x228)],this['transformByState']({'width':_0x1b3419[_0x4d8a79(0x3ff)],'height':_0x1b3419[_0x4d8a79(0x397)]});}['onMouseMove'](_0x1e60f9){const _0xacc8c=_0x51d908,{row:_0x5748e6,column:_0x1c06bd}=_0x1e60f9;if(_0x5748e6>=this[_0xacc8c(0x220)][_0xacc8c(0x25e)]&&_0x5748e6<=this[_0xacc8c(0x220)][_0xacc8c(0x2d5)]&&_0x1c06bd>=this[_0xacc8c(0x220)][_0xacc8c(0x1ec)]&&_0x1c06bd<=this[_0xacc8c(0x220)][_0xacc8c(0x34d)]){this[_0xacc8c(0x321)]({'hovered':!0x0});return;}this[_0xacc8c(0x321)]({'hovered':!0x1});}[_0x51d908(0x395)](_0x129b58){return!0x1;}[_0x51d908(0x368)](_0x47521c){const _0xcb3e9d=_0x51d908;_0x358391[_0xcb3e9d(0x460)][_0xcb3e9d(0x3fa)](_0x47521c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x1340c4,'stroke':this[_0xcb3e9d(0x2fb)],'evented':!0x1,'fill':this[_0xcb3e9d(0x228)]}),this['_hovered']&&(_0x47521c[_0xcb3e9d(0x443)](),_0x47521c[_0xcb3e9d(0x2bf)](0x1,0x0,0x0,0x1,this['width'],this[_0xcb3e9d(0x37a)]===_0xcb3e9d(0x1ff)?0x0:-_0x3dbef6),_0x466339['drawWith'](_0x47521c,{'text':this[_0xcb3e9d(0x2d7)],'color':this[_0xcb3e9d(0x2fb)]}),_0x47521c['restore']());}}var _0x4895b5=Object['getOwnPropertyDescriptor'],_0x2989f2=(_0x4b0067,_0x3682b4,_0x8f2b84,_0x45b4be)=>{const _0x197b57=_0x51d908;for(var _0x466ac4=_0x45b4be>0x1?void 0x0:_0x45b4be?_0x4895b5(_0x3682b4,_0x8f2b84):_0x3682b4,_0x26319a=_0x4b0067[_0x197b57(0x3e5)]-0x1,_0x19e75f;_0x26319a>=0x0;_0x26319a--)(_0x19e75f=_0x4b0067[_0x26319a])&&(_0x466ac4=_0x19e75f(_0x466ac4)||_0x466ac4);return _0x466ac4;},_0x9f0473=(_0x458b40,_0x4f9ebf)=>(_0x22e0a2,_0x57dc95)=>_0x4f9ebf(_0x22e0a2,_0x57dc95,_0x458b40);const _0x2f43a0=0x1389;let _0x21834f=class extends _0xee8662[_0x51d908(0x2eb)]{constructor(_0x2392e5,_0x55f971,_0x2561bb,_0x840e2f){const _0x58faf3=_0x51d908;super(),_0x3dad76(this,_0x58faf3(0x3c3),new Set()),_0x3dad76(this,_0x58faf3(0x2f3),null),(this[_0x58faf3(0x355)]=_0x2392e5,this[_0x58faf3(0x49f)]=_0x55f971,this[_0x58faf3(0x3f3)]=_0x2561bb,this[_0x58faf3(0x429)]=_0x840e2f,this[_0x58faf3(0x336)]());}[_0x51d908(0x336)](){const _0x80f355=_0x51d908;this[_0x80f355(0x49f)][_0x80f355(0x386)][_0x80f355(0x2ba)](_0x6bbe09[_0x80f355(0x2a7)](this[_0x80f355(0x3b5)]),_0x6bbe09[_0x80f355(0x40f)](_0x4bd0f2=>{const _0x2f7e1b=_0x80f355;if(_0x4bd0f2){const _0x24ea42=_0x4bd0f2[_0x2f7e1b(0x383)];return _0x3b7fba[_0x2f7e1b(0x484)](this['_collabCursorController']['getCollabCursors$'](this[_0x2f7e1b(0x355)][_0x2f7e1b(0x27a)]),this['_themeService']['currentTheme$'])[_0x2f7e1b(0x2ba)](_0x6bbe09[_0x2f7e1b(0x1e7)](([_0x2c95a4,_0xaff1a1])=>{const _0x3218e3=_0x2f7e1b,_0x2587f0=new Map();return _0x2c95a4[_0x3218e3(0x204)]((_0x1424a3,_0x99f174)=>{const _0x539772=_0x3218e3;if(_0x1424a3[_0x539772(0x3f6)]===_0x24ea42){const _0x5f34b9={..._0x1424a3};_0x5f34b9[_0x539772(0x3c8)]=this[_0x539772(0x429)][_0x539772(0x38d)](_0x1424a3[_0x539772(0x3c8)]),_0x2587f0[_0x539772(0x4c5)](_0x99f174,_0x5f34b9);}}),{'skeleton':_0x4bd0f2,'cursors':_0x2587f0};}));}return _0x3b7fba['of']({'skeleton':null,'cursors':new Map()});}))[_0x80f355(0x329)](({skeleton:_0xe81286,cursors:_0x463481})=>{const _0x7e1b6d=_0x80f355;this['_removeCollabCursors'](),_0xe81286&&this[_0x7e1b6d(0x3d8)](_0xe81286,_0x463481);}),this[_0x80f355(0x49f)]['currentSkeleton$'][_0x80f355(0x329)](_0x1c1a65=>{const _0x3c62a0=_0x80f355;if(_0x1c1a65==null)return;const {skeleton:_0x1ff114}=_0x1c1a65,{scene:_0x3ee815}=this[_0x3c62a0(0x355)];_0x3ee815['onPointerMove$'][_0x3c62a0(0x296)](_0xee8662['debounce'](_0x2afdcc=>{const _0x104416=_0x3c62a0;var _0x29be8d,_0xf2c70;const {offsetX:_0x40bede,offsetY:_0x286ac9}=_0x2afdcc,{x:_0x3b92a8,y:_0xe9dce9}=_0x3ee815[_0x104416(0x210)](_0x358391[_0x104416(0x3e9)][_0x104416(0x31e)]([_0x40bede,_0x286ac9])),{scaleX:_0x17bb75,scaleY:_0x296d85}=_0x3ee815[_0x104416(0x2c1)](),_0x46945f=_0x3ee815[_0x104416(0x25c)](_0x358391['SHEET_VIEWPORT_KEY'][_0x104416(0x3d2)]),_0x430215=_0x3ee815[_0x104416(0x374)](_0x358391[_0x104416(0x3e9)]['FromArray']([_0x3b92a8,_0xe9dce9]),_0x46945f),_0x2dd544=_0x1ff114[_0x104416(0x218)](_0x40bede,_0x286ac9,_0x17bb75,_0x296d85,_0x430215);((_0x29be8d=this[_0x104416(0x2f3)])==null?void 0x0:_0x29be8d['column'])===_0x2dd544[_0x104416(0x489)]&&((_0xf2c70=this[_0x104416(0x2f3)])==null?void 0x0:_0xf2c70[_0x104416(0x4bb)])===_0x2dd544[_0x104416(0x4bb)]||this[_0x104416(0x3c3)][_0x104416(0x204)](_0x487363=>{const _0xbbce11=_0x104416;_0x487363[_0xbbce11(0x435)](_0x2dd544);});},0x64));});}[_0x51d908(0x3d8)](_0x157e48,_0x311e3d){const _0x2c3134=_0x51d908;var _0x3a0a0e;const _0x5c7b43=(_0x3a0a0e=this['_sheetSkeletonManagerService'][_0x2c3134(0x3d7)]())==null?void 0x0:_0x3a0a0e[_0x2c3134(0x3d1)];if(!_0x5c7b43)return;const _0x4b0277=this[_0x2c3134(0x282)]();if(!_0x4b0277)return;this['_cursors'][_0x2c3134(0x204)](_0x3ee0f1=>{_0x3ee0f1['makeDirty']();});const {scene:_0x59d237}=_0x4b0277,_0x1b5f8a=_0x1bdf4d(Array['from'](_0x311e3d[_0x2c3134(0x3ac)]()))[_0x2c3134(0x1e7)](_0x128f19=>{const _0x115530=_0x2c3134,{color:_0x3db745,range:_0xb393ef,name:_0x30b4f8,selection:_0x3283e3,sheetID:_0x2fe49a}=_0x128f19,{startColumn:_0x3cc093,startRow:_0x2a405d,endColumn:_0x485e12,endRow:_0x5894ec}=_0xb393ef,_0x54c5a5=_0x28bc9b[_0x115530(0x4a2)](_0x2a405d,_0x3cc093,_0x59d237,_0x5c7b43),_0x49a565=_0x28bc9b['getCoordByCell'](_0x5894ec,_0x485e12,_0x59d237,_0x5c7b43),{columnHeaderHeightAndMarginTop:_0x37eb9a}=_0x5c7b43,{startX:_0x323c9c,startY:_0x517e98}=_0x54c5a5,{endX:_0x1fcfed,endY:_0x2b83a3}=_0x49a565,_0x2a4957=_0x1fcfed-_0x323c9c,_0x12c882=_0x2b83a3-_0x517e98,_0x5162bc={'labelPosition':_0x517e98-_0x37eb9a>=_0x3dbef6?_0x115530(0x236):'bottom','sheetID':_0x2fe49a,'range':_0xb393ef,'color':_0x3db745,'name':_0x30b4f8,'selection':_0x3283e3,'left':_0x323c9c,'top':_0x517e98,'width':_0x2a4957,'height':_0x12c882,'evented':!0x1,'zIndex':_0x2f43a0};return new _0x118cd0(_0x30b4f8,_0x5162bc);});_0x59d237[_0x2c3134(0x4ae)](_0x1b5f8a,_0x2ce8a5),this['_cursors']=new Set(_0x1b5f8a);}[_0x51d908(0x4ad)](){const _0xe7cc43=_0x51d908;var _0x1757ba;(_0x1757ba=this[_0xe7cc43(0x3c3)])==null||_0x1757ba[_0xe7cc43(0x204)](_0x43c7fc=>_0x43c7fc[_0xe7cc43(0x32d)]());}['_getSheetObject'](){const _0x81c45d=_0x51d908;return _0x28bc9b['getSheetObject'](this['_context']['unit'],this[_0x81c45d(0x355)]);}};_0x21834f=_0x2989f2([_0x9f0473(0x1,_0xee8662[_0x51d908(0x35b)](_0x28bc9b[_0x51d908(0x22b)])),_0x9f0473(0x2,_0xee8662['Inject'](_0x16e293)),_0x9f0473(0x3,_0xee8662['Inject'](_0xee8662['ThemeService']))],_0x21834f);function _0x1bdf4d(_0x5e750f){const _0x2af8e3=_0x51d908,_0x368fc8=new Map();return _0x5e750f[_0x2af8e3(0x204)](_0x183e8c=>{const _0x34c729=_0x2af8e3;if(_0x368fc8[_0x34c729(0x398)](_0x183e8c[_0x34c729(0x49a)])){const _0x4b5749=_0x368fc8[_0x34c729(0x2ea)](_0x183e8c['selection']);_0x4b5749[_0x34c729(0x2c7)]+=',\x20'+_0x183e8c['name'];}else _0x368fc8[_0x34c729(0x4c5)](_0x183e8c[_0x34c729(0x49a)],_0x183e8c);}),Array['from'](_0x368fc8[_0x2af8e3(0x3ac)]());}var _0x33c20b=Object[_0x51d908(0x34e)],_0x4b76d8=(_0x1b0c9a,_0x5f29af,_0x3c9dd2,_0x26e5f9)=>{const _0x1110d3=_0x51d908;for(var _0x21f4c8=_0x26e5f9>0x1?void 0x0:_0x26e5f9?_0x33c20b(_0x5f29af,_0x3c9dd2):_0x5f29af,_0x5e8169=_0x1b0c9a[_0x1110d3(0x3e5)]-0x1,_0x2b927b;_0x5e8169>=0x0;_0x5e8169--)(_0x2b927b=_0x1b0c9a[_0x5e8169])&&(_0x21f4c8=_0x2b927b(_0x21f4c8)||_0x21f4c8);return _0x21f4c8;},_0x541d48=(_0x2366ee,_0x391fc1)=>(_0x9be950,_0x437798)=>_0x391fc1(_0x9be950,_0x437798,_0x2366ee);let _0x14801f=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x23e4b3,_0x1a4395,_0x226614,_0x3e0d6d,_0x15d149,_0x36060a){const _0x502f72=_0x51d908;super(),this[_0x502f72(0x496)]=_0x23e4b3,this[_0x502f72(0x356)]=_0x1a4395,this[_0x502f72(0x3e6)]=_0x226614,this[_0x502f72(0x423)]=_0x3e0d6d,this[_0x502f72(0x1fd)]=_0x15d149,this[_0x502f72(0x4b9)]=_0x36060a,this[_0x502f72(0x434)](),this[_0x502f72(0x3b4)]();}[_0x51d908(0x434)](){const _0x5d4c25=_0x51d908;this[_0x5d4c25(0x45a)](this[_0x5d4c25(0x496)][_0x5d4c25(0x3f8)](()=>{const _0x2c0156=_0x5d4c25;if(this[_0x2c0156(0x356)][_0x2c0156(0x24d)][_0x2c0156(0x283)])return this['_localeService']['t'](_0x2c0156(0x2c4));}));}[_0x51d908(0x3b4)](){const _0x44e60b=_0x51d908;this['disposeWithMe'](this[_0x44e60b(0x3e6)][_0x44e60b(0x345)][_0x44e60b(0x329)](_0x3a60ce=>{const _0x1e8c65=_0x44e60b;_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x36d)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.single-unit.warning')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x3ea)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)]['Warning'],'content':this[_0x1e8c65(0x4b9)]['t']('collaboration.closeRoom')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x20f)]&&this[_0x1e8c65(0x1fd)]['show']({'title':this['_localeService']['t'](_0x1e8c65(0x4a8)),'content':this[_0x1e8c65(0x4b9)]['t']('permission.content'),'type':'error','duration':0x0}),_0x3a60ce['id']===_0x34c9b1['CollaborationUIEventId'][_0x1e8c65(0x254)]&&this['_messageService'][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x28d))+'('+_0x3a60ce['data']+')'}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x351)]&&this[_0x1e8c65(0x423)]['show']({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x3a60ce['data']||'')}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)][_0x1e8c65(0x48f)]&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType'][_0x1e8c65(0x33a)],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x1f4))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SOCKET_FAILED']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b[_0x1e8c65(0x316)][_0x1e8c65(0x46b)],'content':this['_localeService']['t'](_0x1e8c65(0x2c9))}),_0x3a60ce['id']===_0x34c9b1[_0x1e8c65(0x207)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1e8c65(0x423)][_0x1e8c65(0x458)]({'type':_0xefc44b['MessageType']['Error'],'content':this[_0x1e8c65(0x4b9)]['t'](_0x1e8c65(0x3a1))});}));}};_0x14801f=_0x4b76d8([_0x541d48(0x0,_0x2dde38[_0x51d908(0x28f)]),_0x541d48(0x1,_0x34c9b1['ILocalCacheService']),_0x541d48(0x2,_0xee8662['Inject'](_0x34c9b1[_0x51d908(0x4bd)])),_0x541d48(0x3,_0x2dde38['IMessageService']),_0x541d48(0x4,_0x2dde38[_0x51d908(0x2e9)]),_0x541d48(0x5,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x14801f);var _0x940c4f=Object[_0x51d908(0x34e)],_0xe74c9=(_0x4b3114,_0x14362c,_0x30bddc,_0x41c51f)=>{const _0x4ab8cf=_0x51d908;for(var _0x5cf4b9=_0x41c51f>0x1?void 0x0:_0x41c51f?_0x940c4f(_0x14362c,_0x30bddc):_0x14362c,_0x24898a=_0x4b3114[_0x4ab8cf(0x3e5)]-0x1,_0x4c4352;_0x24898a>=0x0;_0x24898a--)(_0x4c4352=_0x4b3114[_0x24898a])&&(_0x5cf4b9=_0x4c4352(_0x5cf4b9)||_0x5cf4b9);return _0x5cf4b9;},_0x110937=(_0x56a58a,_0x4c445f)=>(_0x30aa6d,_0x4aa67f)=>_0x4c445f(_0x30aa6d,_0x4aa67f,_0x56a58a);let _0x182b9c=class extends _0xee8662['Disposable']{constructor(_0x220e6b,_0x3fa028,_0xb2f52e,_0x24314f){const _0x5f34fb=_0x51d908;super(),_0x3dad76(this,'_memberID'),(this[_0x5f34fb(0x3e2)]=_0x220e6b,this[_0x5f34fb(0x3df)]=_0x3fa028,this[_0x5f34fb(0x27c)]=_0xb2f52e,this['_collaborationSessionService']=_0x24314f,this[_0x5f34fb(0x336)]());}[_0x51d908(0x336)](){const _0x43ac82=_0x51d908;this[_0x43ac82(0x427)](),this[_0x43ac82(0x2f7)](),this['_monkeyPatchLogService'](),this[_0x43ac82(0x2cd)]();}[_0x51d908(0x2cd)](){const _0x33775a=_0x51d908;this[_0x33775a(0x45a)](this[_0x33775a(0x3de)][_0x33775a(0x263)][_0x33775a(0x329)](_0x101dcc=>{const _0x1735b7=_0x33775a;this['_memberID']=_0x101dcc==null?void 0x0:_0x101dcc[_0x1735b7(0x2ab)];}));}[_0x51d908(0x427)](){const _0x14cdb7=_0x51d908,_0x5dffc4=_0x1005ec=>{const _0x5af614=_0x2c0f;var _0x5b1a2a;this[_0x5af614(0x3ba)](_0x5af614(0x1f8),_0x5af614(0x408)+_0x1005ec['message']+'\x20at\x20'+_0x1005ec[_0x5af614(0x226)]+':'+_0x1005ec[_0x5af614(0x244)]+':'+_0x1005ec['colno']+'\x0a'+(((_0x5b1a2a=_0x1005ec[_0x5af614(0x1f8)])==null?void 0x0:_0x5b1a2a[_0x5af614(0x358)])||''));};window[_0x14cdb7(0x438)](_0x14cdb7(0x1f8),_0x5dffc4),this[_0x14cdb7(0x45a)](()=>{const _0x1412dc=_0x14cdb7;window[_0x1412dc(0x4b5)](_0x1412dc(0x1f8),_0x5dffc4);});}[_0x51d908(0x2f7)](){const _0x282bae=_0x51d908,_0x5e6beb=_0x2a1904=>{const _0x3b2a18=_0x2c0f;this[_0x3b2a18(0x3ba)]('error',_0x3b2a18(0x482)+_0x2a1904[_0x3b2a18(0x3b6)]);};window[_0x282bae(0x438)](_0x282bae(0x277),_0x5e6beb),this['disposeWithMe'](()=>{const _0x1f4703=_0x282bae;window[_0x1f4703(0x4b5)](_0x1f4703(0x277),_0x5e6beb);});}[_0x51d908(0x305)](){const _0x198016=_0x51d908,_0xae3df4=this[_0x198016(0x27c)][_0x198016(0x1f8)][_0x198016(0x317)](this[_0x198016(0x27c)]);this[_0x198016(0x27c)][_0x198016(0x1f8)]=(..._0x3c448a)=>{const _0x3076e1=_0x198016,_0x2827af=_0x3c448a[_0x3076e1(0x1e7)](_0x1c3ea4=>_0x1c3ea4 instanceof Error?_0x1c3ea4[_0x3076e1(0x44b)]+'\x0a'+_0x1c3ea4[_0x3076e1(0x358)]:String(_0x1c3ea4))[_0x3076e1(0x457)]('\x20');this[_0x3076e1(0x3ba)](_0x3076e1(0x1f8),_0x3076e1(0x3d6)+_0x2827af),_0xae3df4(..._0x3c448a);},this['disposeWithMe'](()=>{const _0xbf7f8a=_0x198016;this[_0xbf7f8a(0x27c)][_0xbf7f8a(0x1f8)]=_0xae3df4;});}[_0x51d908(0x3ba)](_0x3f5150,_0x339378){const _0x31fd5a=_0x51d908;try{const _0x2361e6={'userId':this[_0x31fd5a(0x234)],'logLabel':_0x3f5150,'content':_0x339378};this[_0x31fd5a(0x3df)][_0x31fd5a(0x3fb)](_0x31fd5a(0x44d),{'body':_0x2361e6})[_0x31fd5a(0x430)](()=>{});}catch{}}};_0x182b9c=_0xe74c9([_0x110937(0x0,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x314)])),_0x110937(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037['HTTPService'])),_0x110937(0x2,_0xee8662['ILogService']),_0x110937(0x3,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x25f)]))],_0x182b9c);const _0x52af33=_0x51d908(0x499),_0x377916={};var _0x29dab6=Object[_0x51d908(0x34e)],_0x24dbb5=(_0x32c7d2,_0x4a90f5,_0x57197a,_0x534ab4)=>{const _0x34d944=_0x51d908;for(var _0x51d051=_0x534ab4>0x1?void 0x0:_0x534ab4?_0x29dab6(_0x4a90f5,_0x57197a):_0x4a90f5,_0x4a37d1=_0x32c7d2[_0x34d944(0x3e5)]-0x1,_0x471779;_0x4a37d1>=0x0;_0x4a37d1--)(_0x471779=_0x32c7d2[_0x4a37d1])&&(_0x51d051=_0x471779(_0x51d051)||_0x51d051);return _0x51d051;},_0x3b2f67=(_0x1e2af3,_0x43d41e)=>(_0x8f3095,_0x11a96b)=>_0x43d41e(_0x8f3095,_0x11a96b,_0x1e2af3);let _0xe97add=class{constructor(_0x4268d9,_0x473535){const _0x1f54ce=_0x51d908;this[_0x1f54ce(0x2bb)]=_0x4268d9,this[_0x1f54ce(0x334)]=_0x473535;}['transformIMECache'](_0x224049){const _0x4069ae=_0x51d908;this['_transformUndoRedoStack'](_0x224049),this[_0x4069ae(0x29b)](_0x224049);}[_0x51d908(0x225)](_0xfa4b03){const _0x42a2ba=_0x51d908,{unitID:_0x5ae651}=_0xfa4b03,_0x56c35a=this[_0x42a2ba(0x334)]['getRenderById'](_0x5ae651)[_0x42a2ba(0x265)](_0x42f82b['DocIMEInputManagerService']),{redoCache:_0x4f241b}=_0x56c35a[_0x42a2ba(0x23b)]();if(_0x4f241b[_0x42a2ba(0x3e5)]===0x0)return _0xfa4b03;let _0x266c45=_0xee8662[_0x42a2ba(0x492)]['deepClone'](_0xfa4b03[_0x42a2ba(0x21e)][0x0]);for(let _0x38507d=0x0;_0x38507d<_0x4f241b[_0x42a2ba(0x3e5)];_0x38507d++){const _0x4ff2e8={'id':_0x42a2ba(0x333),'params':{..._0x4f241b[_0x38507d]}},_0xef410f=this[_0x42a2ba(0x2bb)]['transformMutation'](_0x266c45,_0x4ff2e8,!0x1);if(_0x597660[_0x42a2ba(0x338)](_0xef410f))throw _0xef410f['error'];_0x266c45=_0xef410f[_0x42a2ba(0x2cf)];}return{..._0xee8662[_0x42a2ba(0x492)][_0x42a2ba(0x1ed)](_0xfa4b03),'mutations':[_0x266c45]};}['_transformUndoRedoStack'](_0x46936d){const _0x1d6563=_0x51d908,{unitID:_0x3c151a}=_0x46936d,_0x473460=this[_0x1d6563(0x334)]['getRenderById'](_0x3c151a)[_0x1d6563(0x265)](_0x42f82b['DocIMEInputManagerService']),{undoCache:_0x100791,redoCache:_0x193533}=_0x473460['getUndoRedoMutationParamsCache']();if(_0x100791[_0x1d6563(0x3e5)]===0x0||_0x193533[_0x1d6563(0x3e5)]===0x0)return;const _0x17ac32=[],_0x1c73cf=[];let _0x291e4c=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]),_0x13e022=_0xee8662[_0x1d6563(0x492)][_0x1d6563(0x1ed)](_0x46936d[_0x1d6563(0x21e)][0x0]);for(let _0x3b4aa8=_0x100791['length']-0x1;_0x3b4aa8>=0x0;_0x3b4aa8--){const _0x18390c={'id':'doc.mutation.rich-text-editing','params':{..._0x100791[_0x3b4aa8]}},_0xc8fa4={'id':_0x1d6563(0x333),'params':{..._0x193533[_0x3b4aa8]}},_0x39e71d=this['_transformService'][_0x1d6563(0x311)](_0x291e4c,_0x18390c,!0x1),_0x5bb046=this[_0x1d6563(0x2bb)][_0x1d6563(0x311)](_0x13e022,_0xc8fa4,!0x1);if(_0x597660['isTransformMutationFailure'](_0x39e71d))throw _0x39e71d[_0x1d6563(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x5bb046))throw _0x5bb046[_0x1d6563(0x1f8)];_0x17ac32[_0x1d6563(0x35d)](_0x39e71d[_0x1d6563(0x41d)][_0x1d6563(0x41e)]),_0x1c73cf[_0x1d6563(0x35d)](_0x5bb046['m2Prime'][_0x1d6563(0x41e)]),_0x291e4c=_0x39e71d[_0x1d6563(0x2cf)],_0x13e022=_0x5bb046[_0x1d6563(0x2cf)];}_0x473460[_0x1d6563(0x2fa)]({'undoCache':_0x17ac32,'redoCache':_0x1c73cf});}[_0x51d908(0x29b)](_0x48d341){const _0x1661ec=_0x51d908,{unitID:_0x2a078d}=_0x48d341,_0x4a119b=this['_renderManagerService'][_0x1661ec(0x3ad)](_0x2a078d)[_0x1661ec(0x265)](_0x42f82b[_0x1661ec(0x42c)]),_0x47351f=_0x4a119b['getActiveRange']();if(_0x47351f==null)return;const _0x4376c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48d341['unitID'],'actions':null,'textRanges':[_0x47351f]}}],_0x486ccd=this[_0x1661ec(0x2bb)][_0x1661ec(0x3e8)](_0x48d341,_0x4376c0);if(!_0x597660[_0x1661ec(0x470)](_0x486ccd))throw _0x486ccd[_0x1661ec(0x1f8)];const _0x37c9b7=_0x486ccd[_0x1661ec(0x41d)][0x0][_0x1661ec(0x41e)][_0x1661ec(0x3cd)];Array[_0x1661ec(0x1ee)](_0x37c9b7)&&_0x37c9b7['length']&&_0x4a119b['setActiveRange'](_0x37c9b7[0x0]);}};_0xe97add=_0x24dbb5([_0x3b2f67(0x0,_0x597660['ITransformService']),_0x3b2f67(0x1,_0x358391['IRenderManagerService'])],_0xe97add);var _0x18e25f=Object[_0x51d908(0x34e)],_0xa1e682=(_0x231fb6,_0x43b3e8,_0x1e82d1,_0x164150)=>{const _0x375061=_0x51d908;for(var _0xefcedd=_0x164150>0x1?void 0x0:_0x164150?_0x18e25f(_0x43b3e8,_0x1e82d1):_0x43b3e8,_0x363cc0=_0x231fb6[_0x375061(0x3e5)]-0x1,_0x18e04a;_0x363cc0>=0x0;_0x363cc0--)(_0x18e04a=_0x231fb6[_0x363cc0])&&(_0xefcedd=_0x18e04a(_0xefcedd)||_0xefcedd);return _0xefcedd;},_0x55cf43=(_0x19d9c4,_0x147094)=>(_0x20ccc4,_0x4c4e0d)=>_0x147094(_0x20ccc4,_0x4c4e0d,_0x19d9c4);let _0x149e20=class{constructor(_0x217e46,_0x341b89,_0x5368d2){const _0x1abb85=_0x51d908;this[_0x1abb85(0x3e2)]=_0x217e46,this['_transformService']=_0x341b89,this[_0x1abb85(0x456)]=_0x5368d2;}[_0x51d908(0x2c0)](_0x7d62ac){this['_transformHistoryAndStateStack'](_0x7d62ac);}['transformRemoteChangeset'](_0xb97d90){const _0x46a2a2=_0x51d908,{unitID:_0x4fb426}=_0xb97d90,{collaboration:_0x1099b5}=this[_0x46a2a2(0x456)][_0x46a2a2(0x30e)](_0x4fb426);if(_0x1099b5[_0x46a2a2(0x3e5)]===0x0)return _0xb97d90;let _0x42ef5b=_0xee8662[_0x46a2a2(0x492)][_0x46a2a2(0x1ed)](_0xb97d90[_0x46a2a2(0x21e)][0x0]);for(let _0x3ff972=0x0;_0x3ff972<_0x1099b5[_0x46a2a2(0x3e5)];_0x3ff972++){const _0x37b1fa={'id':_0x46a2a2(0x333),'params':{'unitId':_0x1099b5[_0x3ff972][_0x46a2a2(0x27a)],..._0x1099b5[_0x3ff972][_0x46a2a2(0x2f1)]}},_0x3d6667=this[_0x46a2a2(0x2bb)][_0x46a2a2(0x311)](_0x42ef5b,_0x37b1fa,!0x1);if(_0x597660[_0x46a2a2(0x338)](_0x3d6667))throw _0x3d6667[_0x46a2a2(0x1f8)];_0x42ef5b=_0x3d6667[_0x46a2a2(0x2cf)];}return{..._0xee8662['Tools'][_0x46a2a2(0x1ed)](_0xb97d90),'mutations':[_0x42ef5b]};}['_transformHistoryAndStateStack'](_0xff7797){const _0x12c1b7=_0x51d908,{unitID:_0x1a5dc0}=_0xff7797,{history:_0x2da2f7,collaboration:_0x18af87}=this[_0x12c1b7(0x456)]['getStateCache'](_0x1a5dc0);if(_0x2da2f7[_0x12c1b7(0x3e5)]===0x0&&_0x18af87[_0x12c1b7(0x3e5)]===0x0)return;const _0x4643d8=[],_0x48f769=[];let _0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]),_0x3ef22a=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x4ed15c=_0x2da2f7[_0x12c1b7(0x3e5)]-0x1;_0x4ed15c>=0x0;_0x4ed15c--){const _0xd07f3={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c][_0x12c1b7(0x367)]}},_0x10f7f={'id':_0x12c1b7(0x333),'params':{'unitId':_0x2da2f7[_0x4ed15c][_0x12c1b7(0x27a)],..._0x2da2f7[_0x4ed15c]['redoState']}},_0x13e52c=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0xd07f3,!0x1),_0x4c88f5=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x3ef22a,_0x10f7f,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x13e52c))throw _0x13e52c[_0x12c1b7(0x1f8)];if(_0x597660['isTransformMutationFailure'](_0x4c88f5))throw _0x4c88f5['error'];_0x4643d8['unshift']({..._0x2da2f7[_0x4ed15c],'undoState':_0x13e52c[_0x12c1b7(0x41d)]['params'],'redoState':_0x4c88f5[_0x12c1b7(0x41d)]['params']}),_0x22d049=_0x13e52c[_0x12c1b7(0x2cf)],_0x3ef22a=_0x4c88f5[_0x12c1b7(0x2cf)];}_0x22d049=_0xee8662[_0x12c1b7(0x492)][_0x12c1b7(0x1ed)](_0xff7797['mutations'][0x0]),_0x3ef22a=_0xee8662['Tools'][_0x12c1b7(0x1ed)](_0xff7797[_0x12c1b7(0x21e)][0x0]);for(let _0x590d7d=_0x18af87[_0x12c1b7(0x3e5)]-0x1;_0x590d7d>=0x0;_0x590d7d--){const _0x462707={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d][_0x12c1b7(0x27a)],..._0x18af87[_0x590d7d][_0x12c1b7(0x367)]}},_0x2e0640={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18af87[_0x590d7d]['unitId'],..._0x18af87[_0x590d7d][_0x12c1b7(0x2f1)]}},_0x6d7dd3=this[_0x12c1b7(0x2bb)][_0x12c1b7(0x311)](_0x22d049,_0x462707,!0x1),_0x2b471c=this['_transformService']['transformMutation'](_0x3ef22a,_0x2e0640,!0x1);if(_0x597660[_0x12c1b7(0x338)](_0x6d7dd3))throw _0x6d7dd3[_0x12c1b7(0x1f8)];if(_0x597660[_0x12c1b7(0x338)](_0x2b471c))throw _0x2b471c[_0x12c1b7(0x1f8)];_0x48f769[_0x12c1b7(0x35d)]({..._0x18af87[_0x590d7d],'undoState':_0x6d7dd3[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)],'redoState':_0x2b471c[_0x12c1b7(0x41d)][_0x12c1b7(0x41e)]}),_0x22d049=_0x6d7dd3[_0x12c1b7(0x2cf)],_0x3ef22a=_0x2b471c[_0x12c1b7(0x2cf)];}this[_0x12c1b7(0x456)][_0x12c1b7(0x2be)](_0x1a5dc0,{'history':_0x4643d8,'collaboration':_0x48f769});}};_0x149e20=_0xa1e682([_0x55cf43(0x0,_0xee8662['Inject'](_0xee8662['Injector'])),_0x55cf43(0x1,_0x597660[_0x51d908(0x2ed)]),_0x55cf43(0x2,_0xee8662[_0x51d908(0x35b)](_0x42f82b[_0x51d908(0x1e9)]))],_0x149e20);var _0x1a8c91=Object[_0x51d908(0x34e)],_0x491528=(_0x5d5515,_0x44e6ff,_0x4c8fbf,_0x2b1af4)=>{const _0x21c35a=_0x51d908;for(var _0x43a314=_0x2b1af4>0x1?void 0x0:_0x2b1af4?_0x1a8c91(_0x44e6ff,_0x4c8fbf):_0x44e6ff,_0x194fd8=_0x5d5515[_0x21c35a(0x3e5)]-0x1,_0x1eadea;_0x194fd8>=0x0;_0x194fd8--)(_0x1eadea=_0x5d5515[_0x194fd8])&&(_0x43a314=_0x1eadea(_0x43a314)||_0x43a314);return _0x43a314;},_0x4d9cfd=(_0x25001c,_0x33aec6)=>(_0x1639d0,_0x7dc8d9)=>_0x33aec6(_0x1639d0,_0x7dc8d9,_0x25001c);let _0x359b23=class{constructor(_0xedbe0f,_0x88394a){this['_injector']=_0xedbe0f,this['_transformService']=_0x88394a;}[_0x51d908(0x36c)](_0x2f2c3a){const _0xf08659=_0x51d908;var _0xabeba9;const _0x41e239=this[_0xf08659(0x3e2)][_0xf08659(0x2ea)](_0xf806a0['DocSelectionManagerService']),_0x2a8fc9=(_0xabeba9=_0x41e239['getDocRanges']())!=null?_0xabeba9:[];if(_0x2a8fc9[_0xf08659(0x3e5)]===0x0)return;const _0x9d6fb1=_0x2f2c3a['unitID'],_0x482487=[{'id':_0xf08659(0x333),'params':{'unitId':_0x9d6fb1,'actions':null,'textRanges':_0x2a8fc9}}],_0x11744b=this[_0xf08659(0x2bb)][_0xf08659(0x3e8)](_0x2f2c3a,_0x482487);if(!_0x597660['isTransformMutationsWithChangesetSuccess'](_0x11744b))throw _0x11744b[_0xf08659(0x1f8)];const _0x15a91a=_0x11744b[_0xf08659(0x41d)][0x0][_0xf08659(0x41e)][_0xf08659(0x3cd)];Array[_0xf08659(0x1ee)](_0x15a91a)&&_0x15a91a[_0xf08659(0x3e5)]&&_0x41e239[_0xf08659(0x2b5)](_0x15a91a,{'unitId':_0x9d6fb1,'subUnitId':_0x9d6fb1},!0x1);}};_0x359b23=_0x491528([_0x4d9cfd(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x4d9cfd(0x1,_0x597660['ITransformService'])],_0x359b23);var _0x5b5f26=Object['getOwnPropertyDescriptor'],_0x36d830=(_0x1900b2,_0x20626e,_0x372eb2,_0x43da2a)=>{const _0x4f2674=_0x51d908;for(var _0x48b798=_0x43da2a>0x1?void 0x0:_0x43da2a?_0x5b5f26(_0x20626e,_0x372eb2):_0x20626e,_0x136a52=_0x1900b2[_0x4f2674(0x3e5)]-0x1,_0x2f84a8;_0x136a52>=0x0;_0x136a52--)(_0x2f84a8=_0x1900b2[_0x136a52])&&(_0x48b798=_0x2f84a8(_0x48b798)||_0x48b798);return _0x48b798;},_0x24c039=(_0x2df8da,_0x129c7d)=>(_0x302f21,_0xa1777)=>_0x129c7d(_0x302f21,_0xa1777,_0x2df8da);let _0x4352a6=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x235be7,_0xe9475c,_0x25df4e,_0x54a20f,_0x25c4de,_0x4d1bcd,_0x3bf149,_0x40e747){const _0x143f05=_0x51d908;super(),_0x3dad76(this,_0x143f05(0x419),new _0x3b7fba['BehaviorSubject'](_0x34c9b1[_0x143f05(0x326)][_0x143f05(0x2a3)])),(this[_0x143f05(0x456)]=_0x235be7,this[_0x143f05(0x2cb)]=_0xe9475c,this[_0x143f05(0x280)]=_0x25df4e,this[_0x143f05(0x2e7)]=_0x54a20f,this[_0x143f05(0x242)]=_0x25c4de,this[_0x143f05(0x29d)]=_0x4d1bcd,this['_messageService']=_0x3bf149,this[_0x143f05(0x4b9)]=_0x40e747,this[_0x143f05(0x44c)]());}[_0x51d908(0x44c)](){const _0x166966=_0x51d908;this[_0x166966(0x45a)](this['_collaborationController'][_0x166966(0x27f)]['subscribe'](_0x5e5c8c=>{const _0x358242=_0x166966,_0x1b1b6d=this[_0x358242(0x456)][_0x358242(0x360)]['subscribe'](_0xee2c3f=>{const _0x3655c2=_0x358242;if(_0xee2c3f==null)return;const {unitId:_0x24bed4,redoState:_0xca8cb1,commandId:_0x10a349}=_0xee2c3f;if(_0x24bed4!==_0x5e5c8c[_0x3655c2(0x436)])return;const _0x487a8e={'id':_0x10a349,'type':_0xee8662['CommandType'][_0x3655c2(0x337)],'params':{'unitId':_0x24bed4,'actions':_0xca8cb1[_0x3655c2(0x307)],'textRanges':null}};_0x5e5c8c[_0x3655c2(0x448)](_0x487a8e);});if(_0x5e5c8c[_0x358242(0x45a)](_0x1b1b6d),_0x5e5c8c instanceof _0x34c9b1['DocCollaborationEntity']){const _0x225e1b={'onTransformIME':_0x46e2eb=>this[_0x358242(0x280)]['transformIMECache'](_0x46e2eb),'onTransformState':_0x36bf93=>this[_0x358242(0x2e7)]['transformStateCache'](_0x36bf93),'onTransformSelections':_0xb2ccf8=>this[_0x358242(0x242)][_0x358242(0x36c)](_0xb2ccf8),'onSyncEditingCollabCursor':_0x3ff57b=>this[_0x358242(0x29d)][_0x358242(0x3e3)](_0x3ff57b),'onTransformRemoteChangesetByIMECache':_0x2166f2=>this[_0x358242(0x280)][_0x358242(0x225)](_0x2166f2),'onTransformRemoteChangesetByStateCache':_0x1ee41b=>this['_docTransformStateCacheService'][_0x358242(0x225)](_0x1ee41b)};_0x5e5c8c[_0x358242(0x24c)](_0x225e1b);}}));}};_0x4352a6=_0x36d830([_0x24c039(0x0,_0xee8662['Inject'](_0x42f82b['DocStateChangeManagerService'])),_0x24c039(0x1,_0xee8662[_0x51d908(0x35b)](_0x34c9b1[_0x51d908(0x323)])),_0x24c039(0x2,_0xee8662[_0x51d908(0x35b)](_0xe97add)),_0x24c039(0x3,_0xee8662[_0x51d908(0x35b)](_0x149e20)),_0x24c039(0x4,_0xee8662['Inject'](_0x359b23)),_0x24c039(0x5,_0xee8662[_0x51d908(0x35b)](_0x3808c8)),_0x24c039(0x6,_0x2dde38[_0x51d908(0x3ca)]),_0x24c039(0x7,_0xee8662['Inject'](_0xee8662['LocaleService']))],_0x4352a6);var _0x28a552=(_0x56f67d=>(_0x56f67d[_0x56f67d[_0x51d908(0x30a)]=0x0]=_0x51d908(0x30a),_0x56f67d[_0x56f67d['OK']=0x1]='OK',_0x56f67d[_0x56f67d[_0x51d908(0x2d0)]=0x2]='INTERNAL_ERROR',_0x56f67d[_0x56f67d[_0x51d908(0x20f)]=0x3]='PERMISSION_DENIED',_0x56f67d[_0x56f67d['NOT_FOUND']=0x4]=_0x51d908(0x224),_0x56f67d[_0x56f67d[_0x51d908(0x391)]=0x5]='UNAUTHENTICATED',_0x56f67d[_0x56f67d[_0x51d908(0x36f)]=0x6]=_0x51d908(0x36f),_0x56f67d[_0x56f67d['INVALID_ARGUMENT']=0x7]=_0x51d908(0x2e8),_0x56f67d[_0x56f67d[_0x51d908(0x3a8)]=0x8]=_0x51d908(0x3a8),_0x56f67d[_0x56f67d[_0x51d908(0x327)]=0x9]=_0x51d908(0x327),_0x56f67d[_0x56f67d['LOGIN_FAILED']=0xa]=_0x51d908(0x46c),_0x56f67d[_0x56f67d[_0x51d908(0x437)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x56f67d[_0x56f67d[_0x51d908(0x216)]=0xc]=_0x51d908(0x216),_0x56f67d[_0x56f67d[_0x51d908(0x3c0)]=0xd]=_0x51d908(0x3c0),_0x56f67d[_0x56f67d[_0x51d908(0x3b2)]=0xe]=_0x51d908(0x3b2),_0x56f67d[_0x56f67d[_0x51d908(0x221)]=0xf]=_0x51d908(0x221),_0x56f67d[_0x56f67d[_0x51d908(0x3cc)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x56f67d[_0x56f67d[_0x51d908(0x1f5)]=0x64]=_0x51d908(0x1f5),_0x56f67d[_0x56f67d[_0x51d908(0x2d1)]=0x65]='ERROR_AGAIN',_0x56f67d[_0x56f67d[_0x51d908(0x449)]=0xc9]=_0x51d908(0x449),_0x56f67d[_0x56f67d[_0x51d908(0x41f)]=0xca]='USER_IS_ANONYMOUS',_0x56f67d[_0x56f67d[_0x51d908(0x37c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x56f67d[_0x56f67d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51d908(0x401),_0x56f67d[_0x56f67d[_0x51d908(0x21d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x56f67d[_0x56f67d[_0x51d908(0x32e)]=0x1773]=_0x51d908(0x32e),_0x56f67d[_0x56f67d['APPLY_REJECT']=0x1b59]=_0x51d908(0x488),_0x56f67d[_0x56f67d[_0x51d908(0x308)]=0x1b5a]=_0x51d908(0x308),_0x56f67d[_0x56f67d[_0x51d908(0x21c)]=0x1b5b]=_0x51d908(0x21c),_0x56f67d[_0x56f67d[_0x51d908(0x2ee)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x56f67d[_0x56f67d[_0x51d908(0x481)]=0x1b5d]=_0x51d908(0x481),_0x56f67d[_0x56f67d[_0x51d908(0x2b4)]=0x1f41]=_0x51d908(0x2b4),_0x56f67d[_0x56f67d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x373)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x56f67d[_0x56f67d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51d908(0x4b7),_0x56f67d[_0x56f67d[_0x51d908(0x3a7)]=0x232c]=_0x51d908(0x3a7),_0x56f67d[_0x56f67d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x51d908(0x20e),_0x56f67d[_0x56f67d[_0x51d908(0x260)]=0x2711]=_0x51d908(0x260),_0x56f67d[_0x56f67d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x51d908(0x3a9),_0x56f67d[_0x56f67d[_0x51d908(0x31d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x56f67d[_0x56f67d[_0x51d908(0x3b8)]=0x2714]=_0x51d908(0x3b8),_0x56f67d[_0x56f67d[_0x51d908(0x49c)]=0x271a]=_0x51d908(0x49c),_0x56f67d[_0x56f67d[_0x51d908(0x3f4)]=0x271b]=_0x51d908(0x3f4),_0x56f67d[_0x56f67d[_0x51d908(0x3a4)]=0x271c]=_0x51d908(0x3a4),_0x56f67d[_0x56f67d[_0x51d908(0x371)]=0x271d]=_0x51d908(0x371),_0x56f67d[_0x56f67d[_0x51d908(0x32a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x56f67d[_0x56f67d[_0x51d908(0x27e)]=0x271f]=_0x51d908(0x27e),_0x56f67d[_0x56f67d[_0x51d908(0x2a0)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x56f67d[_0x56f67d[_0x51d908(0x206)]=0x2af9]=_0x51d908(0x206),_0x56f67d[_0x56f67d[_0x51d908(0x270)]=0x2ee1]=_0x51d908(0x270),_0x56f67d[_0x56f67d['INVALID_INVITE_CODE']=0x2ee2]=_0x51d908(0x215),_0x56f67d[_0x56f67d[_0x51d908(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x56f67d[_0x56f67d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51d908(0x49d),_0x56f67d[_0x56f67d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x51d908(0x38c),_0x56f67d[_0x56f67d[_0x51d908(0x3bc)]=0x32c9]=_0x51d908(0x3bc),_0x56f67d[_0x56f67d[_0x51d908(0x46a)]=0x32ca]=_0x51d908(0x46a),_0x56f67d[_0x56f67d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x51d908(0x1f9),_0x56f67d[_0x56f67d[_0x51d908(0x3e0)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x56f67d[_0x56f67d[_0x51d908(0x49e)]=0x36b2]=_0x51d908(0x49e),_0x56f67d[_0x56f67d[_0x51d908(0x294)]=0x36b3]=_0x51d908(0x294),_0x56f67d[_0x56f67d[_0x51d908(0x407)]=0x36b4]=_0x51d908(0x407),_0x56f67d[_0x56f67d['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x51d908(0x3da),_0x56f67d[_0x56f67d[_0x51d908(0x3dd)]=0x36b6]=_0x51d908(0x3dd),_0x56f67d[_0x56f67d[_0x51d908(0x2a5)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x56f67d[_0x56f67d['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x51d908(0x3b3),_0x56f67d[_0x56f67d[_0x51d908(0x411)]=0x3715]=_0x51d908(0x411),_0x56f67d[_0x56f67d[_0x51d908(0x3c4)]=0x3716]=_0x51d908(0x3c4),_0x56f67d[_0x56f67d['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x51d908(0x28a),_0x56f67d[_0x56f67d[_0x51d908(0x33d)]=0x37dd]=_0x51d908(0x33d),_0x56f67d[_0x56f67d[_0x51d908(0x454)]=0x3a99]=_0x51d908(0x454),_0x56f67d[_0x56f67d[_0x51d908(0x426)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x56f67d[_0x56f67d[_0x51d908(0x2b7)]=0x3a9b]=_0x51d908(0x2b7),_0x56f67d[_0x56f67d[_0x51d908(0x22f)]=0x3a9c]=_0x51d908(0x22f),_0x56f67d[_0x56f67d[_0x51d908(0x475)]=0x3a9d]=_0x51d908(0x475),_0x56f67d[_0x56f67d[_0x51d908(0x2b6)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x56f67d[_0x56f67d[_0x51d908(0x393)]=0x3a9f]=_0x51d908(0x393),_0x56f67d[_0x56f67d[_0x51d908(0x2e3)]=0x3e81]=_0x51d908(0x2e3),_0x56f67d[_0x56f67d[_0x51d908(0x340)]=-0x1]=_0x51d908(0x340),_0x56f67d))(_0x28a552||{});function _0x32f173(_0x34dddf){const _0x1d55ae=_0x51d908;var _0x1cb7a5,_0x47c66e;const _0x7c784d=(_0x1cb7a5=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x1cb7a5[_0x1d55ae(0x433)],_0x53a561=((_0x47c66e=_0x34dddf[_0x1d55ae(0x390)])==null?void 0x0:_0x47c66e[_0x1d55ae(0x2bc)])||0x0;return _0x7c784d===_0x150340[_0x1d55ae(0x3ee)][_0x1d55ae(0x2c8)]&&_0x53a561>0x0;}function _0x9ee2b8(_0x44f205){const _0x523896=_0x51d908;return _0x44f205[_0x523896(0x246)]===_0x150340[_0x523896(0x289)][_0x523896(0x297)];}var _0x358438=Object[_0x51d908(0x34e)],_0x3b80b6=(_0x4d8881,_0x40ddb5,_0x363f3c,_0x795c1b)=>{const _0x5e3d62=_0x51d908;for(var _0x216768=_0x795c1b>0x1?void 0x0:_0x795c1b?_0x358438(_0x40ddb5,_0x363f3c):_0x40ddb5,_0x32a51c=_0x4d8881[_0x5e3d62(0x3e5)]-0x1,_0x27a9d1;_0x32a51c>=0x0;_0x32a51c--)(_0x27a9d1=_0x4d8881[_0x32a51c])&&(_0x216768=_0x27a9d1(_0x216768)||_0x216768);return _0x216768;},_0x4b008e=(_0x55da95,_0x5c2ea)=>(_0x5594d8,_0x412c17)=>_0x5c2ea(_0x5594d8,_0x412c17,_0x55da95);const _0x8b4fcc=_0x51d908(0x409),_0x1ee3ff='/universer-api/license/formula/limit/start',_0xeba735=_0x51d908(0x43e);let _0x390518=class extends _0xee8662['Disposable']{constructor(_0x48ebb3,_0x2e1379,_0x8474b8,_0x3c7379,_0x1a2888,_0x416f24,_0xd440c9){const _0x24f739=_0x51d908;super(),_0x3dad76(this,_0x24f739(0x2ca),null),_0x3dad76(this,_0x24f739(0x3c5),0x0),_0x3dad76(this,_0x24f739(0x385),0x0),_0x3dad76(this,_0x24f739(0x310),[]),_0x3dad76(this,_0x24f739(0x2e2),0x0),(this[_0x24f739(0x423)]=_0x48ebb3,this[_0x24f739(0x4b6)]=_0x2e1379,this[_0x24f739(0x4ce)]=_0x8474b8,this[_0x24f739(0x3df)]=_0x3c7379,this[_0x24f739(0x4c6)]=_0x1a2888,this[_0x24f739(0x27c)]=_0x416f24,this['_localeService']=_0xd440c9,this[_0x24f739(0x272)]());}['_initCommandInterceptor'](){const _0x7d2c1c=_0x51d908;this[_0x7d2c1c(0x45a)](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4a9)]((_0x42f309,_0x475ea0)=>{const _0x2beea1=_0x7d2c1c;var _0x33eab4;if(_0x42f309['id']!==_0x150340[_0x2beea1(0x400)]['id'])return;const _0xc809e7=_0x42f309[_0x2beea1(0x41e)];if(!this['_hasFormulaInDirtyRanges']((_0x33eab4=_0xc809e7['dirtyRanges'])!=null?_0x33eab4:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x42f309,_0x475ea0),this[_0x2beea1(0x36b)](),new _0xee8662[(_0x2beea1(0x3e4))]();})),this['disposeWithMe'](this[_0x7d2c1c(0x4b6)][_0x7d2c1c(0x4c8)]((_0x24d801,_0x5aa852)=>{const _0x2da25f=_0x7d2c1c;if(_0x24d801['id']!==_0x150340[_0x2da25f(0x212)]['id'])return;const _0x236954=_0x24d801[_0x2da25f(0x41e)];if(_0x32f173(_0x236954)){const _0x353458=_0xee8662['generateRandomId']();this[_0x2da25f(0x310)][_0x2da25f(0x29f)](_0x353458),this['_startCalculationLimit'](_0x353458);}else{if(_0x9ee2b8(_0x236954)&&this[_0x2da25f(0x310)][_0x2da25f(0x3e5)]>0x0){const _0x36adbf=this[_0x2da25f(0x310)][_0x2da25f(0x49b)]();this[_0x2da25f(0x466)](_0x36adbf);}}}));}[_0x51d908(0x32d)](){const _0x1aab18=_0x51d908;super[_0x1aab18(0x32d)](),this[_0x1aab18(0x38a)](),this[_0x1aab18(0x310)]=[],this[_0x1aab18(0x385)]=0x0,this[_0x1aab18(0x3c5)]=0x0,this[_0x1aab18(0x2e2)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4b9691,_0x275f4d){const _0x5deca6=_0x51d908;for(let _0x541d55=0x0;_0x541d55<0x1e;_0x541d55++)try{if(await this[_0x5deca6(0x46e)](),this[_0x5deca6(0x3ed)]()){this[_0x5deca6(0x365)](_0x4b9691,_0x275f4d),this[_0x5deca6(0x423)]['show']({'content':this['_localeService']['t'](_0x5deca6(0x1e8)),'type':_0xefc44b[_0x5deca6(0x316)][_0x5deca6(0x47b)]});return;}await new Promise(_0x24f26d=>{const _0x1632a1=_0x5deca6;this[_0x1632a1(0x2ca)]=window[_0x1632a1(0x288)](_0x24f26d,0x3e8);});}catch(_0x447b7d){this[_0x5deca6(0x27c)][_0x5deca6(0x1f8)](_0x447b7d);}this[_0x5deca6(0x423)][_0x5deca6(0x458)]({'content':this[_0x5deca6(0x4b9)]['t']('formula.calculation.unable'),'type':_0xefc44b['MessageType'][_0x5deca6(0x46b)]});}[_0x51d908(0x365)](_0x126b44,_0x18bb34){const _0x36bd0b=_0x51d908;try{this[_0x36bd0b(0x4b6)][_0x36bd0b(0x45f)](_0x126b44['id'],_0x126b44['params'],_0x18bb34);}catch(_0x3be1c2){this[_0x36bd0b(0x27c)][_0x36bd0b(0x1f8)](_0x3be1c2);}}['_setFormulaLimitStatus'](_0x5ccf9c,_0x563906){const _0x3200c6=_0x51d908;_0x563906<this[_0x3200c6(0x2e2)]||(this[_0x3200c6(0x2e2)]=_0x563906,this[_0x3200c6(0x3c5)]=Number[_0x3200c6(0x3c2)](_0x5ccf9c[_0x3200c6(0x3be)]),this['_currentUsage']=Number[_0x3200c6(0x3c2)](_0x5ccf9c['currentUsage']));}async[_0x51d908(0x299)](_0x39ec59){const _0x2dae99=_0x51d908;var _0x471afe,_0x3cfb6f;const _0x423758=Date[_0x2dae99(0x335)]();try{const _0x263e04=((_0x471afe=this[_0x2dae99(0x4ce)][_0x2dae99(0x412)](_0x34c9b1[_0x2dae99(0x3eb)]))==null?void 0x0:_0x471afe[_0x2dae99(0x347)])||_0x1ee3ff,_0xe1fabf=(await this[_0x2dae99(0x3df)][_0x2dae99(0x3fb)](_0x263e04,{'body':JSON[_0x2dae99(0x464)]({'taskId':_0x39ec59})}))[_0x2dae99(0x2fe)];if(((_0x3cfb6f=_0xe1fabf[_0x2dae99(0x1f8)])==null?void 0x0:_0x3cfb6f['code'])!==_0x28a552['OK'])return;this[_0x2dae99(0x26c)](_0xe1fabf['limitInfo'],_0x423758);}catch(_0x29ef16){this[_0x2dae99(0x27c)][_0x2dae99(0x1f8)](_0x29ef16);}}async[_0x51d908(0x46e)](_0x2f7e30){const _0x5a4c86=_0x51d908;var _0x3fea4a,_0x74af5d;const _0x13dc01=Date[_0x5a4c86(0x335)]();try{const _0x208e77=((_0x3fea4a=this[_0x5a4c86(0x4ce)][_0x5a4c86(0x412)](_0x34c9b1[_0x5a4c86(0x3eb)]))==null?void 0x0:_0x3fea4a['getformulaLimitStatusUrl'])||_0x8b4fcc,_0x3894c7=_0x2f7e30?_0x208e77+_0x5a4c86(0x2dc)+encodeURIComponent(_0x2f7e30):_0x208e77,_0x24fab1=(await this[_0x5a4c86(0x3df)]['get'](_0x3894c7))[_0x5a4c86(0x2fe)];if(((_0x74af5d=_0x24fab1[_0x5a4c86(0x1f8)])==null?void 0x0:_0x74af5d[_0x5a4c86(0x43f)])!==_0x28a552['OK'])return;this[_0x5a4c86(0x26c)](_0x24fab1[_0x5a4c86(0x26d)],_0x13dc01);}catch(_0x5a5e44){this[_0x5a4c86(0x27c)][_0x5a4c86(0x1f8)](_0x5a5e44);}}async[_0x51d908(0x466)](_0x1902f1){const _0x49f76d=_0x51d908;var _0x2606ac,_0x3fb0b2;const _0x3f14bf=Date[_0x49f76d(0x335)]();try{const _0x40b09a=((_0x2606ac=this['_configService'][_0x49f76d(0x412)](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2606ac['releaseFormulaLimitUrl'])||_0xeba735,_0x3effa8=(await this[_0x49f76d(0x3df)][_0x49f76d(0x3fb)](_0x40b09a,{'body':JSON['stringify']({'taskId':_0x1902f1})}))[_0x49f76d(0x2fe)];if(((_0x3fb0b2=_0x3effa8[_0x49f76d(0x1f8)])==null?void 0x0:_0x3fb0b2[_0x49f76d(0x43f)])!==_0x28a552['OK'])return;this[_0x49f76d(0x26c)](_0x3effa8[_0x49f76d(0x26d)],_0x3f14bf);}catch(_0x386a54){this[_0x49f76d(0x27c)]['error'](_0x386a54);}}[_0x51d908(0x3ed)](){const _0x2aae40=_0x51d908;return this[_0x2aae40(0x3c5)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2aae40(0x385)]>0x0;}['_clearPolling'](){const _0x2fb953=_0x51d908;this[_0x2fb953(0x2ca)]&&(clearTimeout(this[_0x2fb953(0x2ca)]),this[_0x2fb953(0x2ca)]=null);}[_0x51d908(0x36b)](){const _0x55cc16=_0x51d908;this[_0x55cc16(0x423)][_0x55cc16(0x458)]({'content':this[_0x55cc16(0x4b9)]['t'](_0x55cc16(0x446)),'type':_0xefc44b['MessageType'][_0x55cc16(0x287)]});}['_hasFormulaInDirtyRanges'](_0x4ba447){const _0x330f4d=_0x51d908;for(const _0x43738d of _0x4ba447){const {unitId:_0x34a176,sheetId:_0x5dc196,range:_0x32e114}=_0x43738d,_0x99ecb9=this['_univerInstanceService']['getUnit'](_0x34a176);if(!_0x99ecb9)continue;const _0x3349aa=_0x99ecb9[_0x330f4d(0x3a6)](_0x5dc196);if(!_0x3349aa)continue;const _0xce5d96=_0x3349aa[_0x330f4d(0x42d)]();for(let _0x1ba7dd=_0x32e114[_0x330f4d(0x25e)];_0x1ba7dd<=_0x32e114[_0x330f4d(0x2d5)];_0x1ba7dd++)for(let _0x3745e7=_0x32e114[_0x330f4d(0x1ec)];_0x3745e7<=_0x32e114[_0x330f4d(0x34d)];_0x3745e7++){const _0x448cb6=_0xce5d96[_0x330f4d(0x319)](_0x1ba7dd,_0x3745e7);if(_0x448cb6&&(_0xee8662[_0x330f4d(0x43a)](_0x448cb6['f'])||_0xee8662['isFormulaId'](_0x448cb6['si'])))return!0x0;}}return!0x1;}};_0x390518=_0x3b80b6([_0x4b008e(0x0,_0xee8662[_0x51d908(0x35b)](_0x2dde38['IMessageService'])),_0x4b008e(0x1,_0xee8662[_0x51d908(0x2a9)]),_0x4b008e(0x2,_0xee8662[_0x51d908(0x487)]),_0x4b008e(0x3,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x4b008e(0x4,_0xee8662[_0x51d908(0x3b1)]),_0x4b008e(0x5,_0xee8662[_0x51d908(0x4b0)]),_0x4b008e(0x6,_0xee8662[_0x51d908(0x35b)](_0xee8662[_0x51d908(0x241)]))],_0x390518);var _0x19c6c2=Object[_0x51d908(0x34e)],_0x506e2c=(_0x22753c,_0x572196,_0x20e966,_0x4d0bd0)=>{for(var _0x1a2f2d=_0x4d0bd0>0x1?void 0x0:_0x4d0bd0?_0x19c6c2(_0x572196,_0x20e966):_0x572196,_0x5a6776=_0x22753c['length']-0x1,_0x1f30c6;_0x5a6776>=0x0;_0x5a6776--)(_0x1f30c6=_0x22753c[_0x5a6776])&&(_0x1a2f2d=_0x1f30c6(_0x1a2f2d)||_0x1a2f2d);return _0x1a2f2d;},_0xc84cb2=(_0x3ea0bf,_0x4f2011)=>(_0x3dc33a,_0x1b07a4)=>_0x4f2011(_0x3dc33a,_0x1b07a4,_0x3ea0bf);let _0x20f687=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x1f7fb2,_0x57713e,_0x16784c){const _0x5b1b9c=_0x51d908;super(),_0x3dad76(this,_0x5b1b9c(0x20c),new Map()),_0x3dad76(this,_0x5b1b9c(0x48a),new Map()),_0x3dad76(this,'_disabled',!0x1),(this['_configService']=_0x1f7fb2,this[_0x5b1b9c(0x37d)]=_0x57713e,this[_0x5b1b9c(0x3aa)]=_0x16784c);}[_0x51d908(0x29e)](){this['_disabled']=!0x0;}[_0x51d908(0x414)](){const _0x34a77b=_0x51d908;this[_0x34a77b(0x39c)]=!0x1;}get[_0x51d908(0x24d)](){const _0x16c585=_0x51d908;return this[_0x16c585(0x48a)];}[_0x51d908(0x32d)](){const _0xc7287e=_0x51d908;this[_0xc7287e(0x370)]()[_0xc7287e(0x2ec)](()=>super[_0xc7287e(0x32d)]());}async['loadOfflineData'](_0x27fcdc){const _0x5eb4dc=_0x51d908;return this[_0x5eb4dc(0x39c)]?null:this[_0x5eb4dc(0x37d)][_0x5eb4dc(0x2e5)](_0x34c9b1[_0x5eb4dc(0x2f2)](_0x27fcdc));}async[_0x51d908(0x22a)](_0x28a260,_0x133a1a){const _0x3e6c81=_0x51d908;return!!this[_0x3e6c81(0x37d)][_0x3e6c81(0x219)](_0x28a260,_0x133a1a);}['updateOfflineData'](_0x374d2c,_0x28abcc,_0x2824e6,_0x32a087){const _0x2d063b=_0x51d908,_0x20116d=this['_revisionService'][_0x2d063b(0x2b8)](_0x374d2c);this['_cachedData'][_0x2d063b(0x4c5)](_0x374d2c,{'unitID':_0x374d2c,'type':_0x28abcc,'awaitingChangeset':_0x2824e6,'mutations':_0x32a087,'rev':_0x20116d}),this[_0x2d063b(0x48a)][_0x2d063b(0x398)](_0x374d2c)||this[_0x2d063b(0x30b)](_0x374d2c);}[_0x51d908(0x30b)](_0x5072a6){const _0x1e652c=_0x51d908,_0x5c7685=this[_0x1e652c(0x47f)]();_0x5c7685===0x0?this[_0x1e652c(0x41c)](_0x5072a6):this['_saveTaskMap'][_0x1e652c(0x4c5)](_0x5072a6,setTimeout(()=>this['_saveCache'](_0x5072a6),_0x5c7685));}[_0x51d908(0x47f)](){const _0x4aacde=_0x51d908;var _0x21b51f;return(_0x21b51f=this[_0x4aacde(0x4ce)][_0x4aacde(0x412)](_0x34c9b1[_0x4aacde(0x364)]))!=null?_0x21b51f:_0x34c9b1[_0x4aacde(0x256)];}[_0x51d908(0x41c)](_0x5efae1){const _0x2f5087=_0x51d908,_0x3304e7=this[_0x2f5087(0x48a)][_0x2f5087(0x2ea)](_0x5efae1);return _0x3304e7!==void 0x0&&window[_0x2f5087(0x3f7)](_0x3304e7),this[_0x2f5087(0x37d)][_0x2f5087(0x219)](_0x34c9b1[_0x2f5087(0x2f2)](_0x5efae1),this[_0x2f5087(0x20c)][_0x2f5087(0x2ea)](_0x5efae1))[_0x2f5087(0x2ec)](()=>this['_saveTaskMap']['delete'](_0x5efae1));}async[_0x51d908(0x370)](){const _0x128c9d=_0x51d908,_0xd704d4=[];this[_0x128c9d(0x48a)][_0x128c9d(0x204)]((_0x75e55f,_0x10c948)=>{const _0x1ded2e=_0x128c9d;window[_0x1ded2e(0x3f7)](_0x75e55f),_0xd704d4['push'](this[_0x1ded2e(0x41c)](_0x10c948)[_0x1ded2e(0x2ec)](()=>{const _0x22e75b=_0x1ded2e;this[_0x22e75b(0x48a)][_0x22e75b(0x3fe)](_0x10c948);}));}),await Promise['all'](_0xd704d4);}};_0x20f687=_0x506e2c([_0xc84cb2(0x0,_0xee8662[_0x51d908(0x487)]),_0xc84cb2(0x1,_0xee8662[_0x51d908(0x1fc)]),_0xc84cb2(0x2,_0xee8662['Inject'](_0x597660[_0x51d908(0x21a)]))],_0x20f687);class _0xa62502 extends _0xee8662[_0x51d908(0x2eb)]{constructor(){const _0x1a7b65=_0x51d908;super(),_0x3dad76(this,_0x1a7b65(0x2f4)),this[_0x1a7b65(0x2f4)]=_0x3b7fba[_0x1a7b65(0x315)](window,_0x1a7b65(0x3ef))[_0x1a7b65(0x2ba)](_0x3b7fba[_0x1a7b65(0x2a7)](this[_0x1a7b65(0x3b5)]),_0x3b7fba[_0x1a7b65(0x31a)](0x1),_0x3b7fba['mapTo'](void 0x0));}[_0x51d908(0x413)](_0x1f9ea8,_0x372e6d,_0xb3c4d5=!0x1){const _0xc035ab=_0x51d908,_0x21081c=new URL(window[_0xc035ab(0x25a)][_0xc035ab(0x4b2)]);_0x21081c['searchParams'][_0xc035ab(0x4c5)](_0x1f9ea8,_0x372e6d),_0xb3c4d5?window[_0xc035ab(0x444)][_0xc035ab(0x28e)]('','',_0x21081c[_0xc035ab(0x344)]()):window[_0xc035ab(0x444)][_0xc035ab(0x39f)]('','',_0x21081c[_0xc035ab(0x344)]());}[_0x51d908(0x30c)](_0x342fa2,_0x5210df=!0x1){const _0x35bf08=_0x51d908,_0x317b28=new URL(window[_0x35bf08(0x25a)][_0x35bf08(0x4b2)]);_0x317b28['searchParams'][_0x35bf08(0x3fe)](_0x342fa2),_0x5210df?window[_0x35bf08(0x444)][_0x35bf08(0x28e)]('','',_0x317b28['toString']()):window[_0x35bf08(0x444)]['pushState']('','',_0x317b28[_0x35bf08(0x344)]());}[_0x51d908(0x2c3)](_0x4e9252){const _0x17e227=_0x51d908;var _0x44fb2f;return(_0x44fb2f=new URL(window[_0x17e227(0x25a)][_0x17e227(0x4b2)])['searchParams'][_0x17e227(0x2ea)](_0x4e9252))!=null?_0x44fb2f:void 0x0;}}var _0x373fea=Object['defineProperty'],_0x2ed33f=Object[_0x51d908(0x34e)],_0x2320ae=(_0x469b2a,_0xf32d97,_0x2e262f)=>_0xf32d97 in _0x469b2a?_0x373fea(_0x469b2a,_0xf32d97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e262f}):_0x469b2a[_0xf32d97]=_0x2e262f,_0x2f68f7=(_0xac9f73,_0x3ef4bf,_0x50efa5,_0x39b4b7)=>{const _0x5c1637=_0x51d908;for(var _0x3aaf7f=_0x39b4b7>0x1?void 0x0:_0x39b4b7?_0x2ed33f(_0x3ef4bf,_0x50efa5):_0x3ef4bf,_0x4a6f64=_0xac9f73[_0x5c1637(0x3e5)]-0x1,_0x3a4023;_0x4a6f64>=0x0;_0x4a6f64--)(_0x3a4023=_0xac9f73[_0x4a6f64])&&(_0x3aaf7f=_0x3a4023(_0x3aaf7f)||_0x3aaf7f);return _0x3aaf7f;},_0x181ef4=(_0x1df3c1,_0xd8769)=>(_0x13dfcf,_0x4dfd87)=>_0xd8769(_0x13dfcf,_0x4dfd87,_0x1df3c1),_0x13fb9f=(_0x15d076,_0x266c41,_0x5ed013)=>_0x2320ae(_0x15d076,_0x266c41+'',_0x5ed013);const _0x1f5055=_0x51d908(0x259);_0x7f96f7[_0x51d908(0x2cc)]=class extends _0xee8662['Plugin']{constructor(_0x1d8cd4=_0x377916,_0x100b59,_0x1ab0b8,_0x1b13cb){const _0x56cd9d=_0x51d908;super(),this[_0x56cd9d(0x35c)]=_0x1d8cd4,this[_0x56cd9d(0x334)]=_0x100b59,this[_0x56cd9d(0x3e2)]=_0x1ab0b8,this[_0x56cd9d(0x4ce)]=_0x1b13cb;const {..._0x542af6}=_0xee8662[_0x56cd9d(0x378)]({},_0x377916,this[_0x56cd9d(0x35c)]);this['_configService'][_0x56cd9d(0x47a)](_0x52af33,_0x542af6);}['onStarting'](){const _0xb67af7=_0x51d908;this[_0xb67af7(0x2f8)](),this[_0xb67af7(0x4c0)]();}[_0x51d908(0x425)](){const _0x37a922=_0x51d908;this[_0x37a922(0x4ba)]();}[_0x51d908(0x2f8)](){const _0x3025c1=_0x51d908;var _0x2ce44f;const _0x547c39=[[_0x280e8f],[_0x390518],[_0x359b23],[_0xe97add],[_0x149e20],[_0x3808c8],[_0x188e9b,{'useClass':_0xa62502}],[_0x4d0037[_0x3025c1(0x479)],{'useClass':_0x4d0037['WebSocketService']}],[_0x34c9b1['ILocalCacheService'],{'useClass':_0x20f687}],[_0x7f96f7[_0x3025c1(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x16e293],[_0x124e21],[_0x7f96f7[_0x3025c1(0x4ca)]]];this['_config'][_0x3025c1(0x2ad)]&&_0x547c39[_0x3025c1(0x29f)]([_0x182b9c]),_0xee8662[_0x3025c1(0x2d3)](this['_injector'],_0xee8662[_0x3025c1(0x42a)](_0x547c39,(_0x2ce44f=this[_0x3025c1(0x35c)])==null?void 0x0:_0x2ce44f[_0x3025c1(0x352)]));}[_0x51d908(0x4ba)](){const _0x1afcc1=_0x51d908;this['disposeWithMe'](this[_0x1afcc1(0x334)]['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x2b1)],[_0x3a6e42])),this[_0x1afcc1(0x45a)](this['_renderManagerService']['registerRenderModule'](_0xee8662[_0x1afcc1(0x47c)][_0x1afcc1(0x1eb)],[_0x21834f]));}[_0x51d908(0x4c0)](){const _0x404690=_0x51d908;_0xee8662[_0x404690(0x350)](this[_0x404690(0x3e2)],[[_0x16e293],[_0x7f96f7[_0x404690(0x4b3)]],[_0x4352a6],[_0x14801f],[_0x7f96f7[_0x404690(0x4ca)]],[_0x390518]]),this['_config']['enableFrontendLog']&&_0xee8662[_0x404690(0x350)](this['_injector'],[[_0x182b9c]]);}},_0x13fb9f(_0x7f96f7['UniverCollaborationClientUIPlugin'],_0x51d908(0x46d),_0x1f5055),_0x7f96f7[_0x51d908(0x2cc)]=_0x2f68f7([_0xee8662['DependentOn'](_0x34c9b1[_0x51d908(0x45e)]),_0x181ef4(0x1,_0x358391[_0x51d908(0x2d6)]),_0x181ef4(0x2,_0xee8662[_0x51d908(0x35b)](_0xee8662['Injector'])),_0x181ef4(0x3,_0xee8662['IConfigService'])],_0x7f96f7[_0x51d908(0x2cc)]);var _0x18494b=Object[_0x51d908(0x34e)],_0x1f7800=(_0x2e0c43,_0x2d3ef7,_0x13d874,_0x3f7b96)=>{const _0x535a55=_0x51d908;for(var _0x537268=_0x3f7b96>0x1?void 0x0:_0x3f7b96?_0x18494b(_0x2d3ef7,_0x13d874):_0x2d3ef7,_0x284ed1=_0x2e0c43[_0x535a55(0x3e5)]-0x1,_0x479536;_0x284ed1>=0x0;_0x284ed1--)(_0x479536=_0x2e0c43[_0x284ed1])&&(_0x537268=_0x479536(_0x537268)||_0x537268);return _0x537268;},_0x58729f=(_0x2a8747,_0x45febd)=>(_0x44d395,_0x4fee78)=>_0x45febd(_0x44d395,_0x4fee78,_0x2a8747);_0x7f96f7[_0x51d908(0x379)]=class extends _0x34c9b1[_0x51d908(0x2db)]{constructor(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6){super(_0x31397b,_0x3871ca,_0x4e461b,_0x500d5d,_0x4edbb6);}async['createSocket'](_0x46d27e){const _0x3a9719=_0x51d908,_0x40ea73=await this[_0x3a9719(0x39b)](),_0x58f32d=this[_0x3a9719(0x231)](_0x46d27e,_0x40ea73);return this[_0x3a9719(0x440)](_0x58f32d);}[_0x51d908(0x231)](_0x45d0c5,_0x3b3fd9){const _0x4d09e9=_0x51d908,_0x3dbfd3=typeof window>'u'?new URL(_0x45d0c5):new URL(_0x45d0c5,window[_0x4d09e9(0x25a)][_0x4d09e9(0x392)]);_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)](_0x4d09e9(0x227),_0x3b3fd9);const _0x4b9321=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d09e9(0x25a)]['search']);return _0x4b9321['get'](_0x4d09e9(0x4c4))&&_0x3dbfd3[_0x4d09e9(0x2f6)][_0x4d09e9(0x4c5)]('runId',_0x4b9321['get'](_0x4d09e9(0x4c4))),_0x3dbfd3[_0x4d09e9(0x344)]();}async[_0x51d908(0x39b)](){const _0x26eb79=_0x51d908;var _0x254ed9,_0x44a5f4,_0x3616af;const _0xa699c0=this[_0x26eb79(0x4ce)]['getConfig'](_0x34c9b1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x411445=(_0x254ed9=_0xa699c0==null?void 0x0:_0xa699c0['wsSessionTicketUrl'])!=null?_0x254ed9:_0x34c9b1['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3616af=(_0x44a5f4=(await this[_0x26eb79(0x3df)][_0x26eb79(0x2ea)](_0x411445,{'headers':{'Content-Type':_0x26eb79(0x2f9)}}))[_0x26eb79(0x2fe)])==null?void 0x0:_0x44a5f4[_0x26eb79(0x201)])!=null?_0x3616af:'';}},_0x7f96f7[_0x51d908(0x379)]=_0x1f7800([_0x58729f(0x0,_0xee8662['Inject'](_0xee8662[_0x51d908(0x314)])),_0x58729f(0x1,_0xee8662['Inject'](_0x4d0037[_0x51d908(0x32f)])),_0x58729f(0x2,_0xee8662[_0x51d908(0x487)]),_0x58729f(0x3,_0xee8662[_0x51d908(0x4b0)]),_0x58729f(0x4,_0x597660['ISnapshotServerService'])],_0x7f96f7[_0x51d908(0x379)]);var _0x2e334d=Object[_0x51d908(0x34e)],_0x223763=(_0x37ec36,_0x52e91f,_0x1a1b48,_0x84f114)=>{const _0x14be3d=_0x51d908;for(var _0x58816e=_0x84f114>0x1?void 0x0:_0x84f114?_0x2e334d(_0x52e91f,_0x1a1b48):_0x52e91f,_0x394022=_0x37ec36[_0x14be3d(0x3e5)]-0x1,_0x2f53a8;_0x394022>=0x0;_0x394022--)(_0x2f53a8=_0x37ec36[_0x394022])&&(_0x58816e=_0x2f53a8(_0x58816e)||_0x58816e);return _0x58816e;},_0x971ccb=(_0x1b38fa,_0x5447a6)=>(_0x4fb2a9,_0x41fbf4)=>_0x5447a6(_0x4fb2a9,_0x41fbf4,_0x1b38fa);_0x7f96f7[_0x51d908(0x271)]=class extends _0xee8662[_0x51d908(0x4c2)]{constructor(_0x2b92c6,_0xb150e1,_0x33cf42){const _0x4b47de=_0x51d908;super(),this[_0x4b47de(0x27d)]=_0x2b92c6,this['_httpService']=_0xb150e1,this['_configService']=_0x33cf42;}async[_0x51d908(0x441)](_0x3891ac,_0x23bcf8,_0x24606e,..._0x5c0f07){const _0x269ef2=_0x51d908;var _0x26a77f,_0x5dfcf2,_0x42e375,_0x3346f6;const _0x32c718=this[_0x269ef2(0x27d)][_0x269ef2(0x247)]();if(!_0x32c718)throw new Error(_0x269ef2(0x28b));const _0x1d49e9=((_0x26a77f=this[_0x269ef2(0x4ce)][_0x269ef2(0x412)](_0x34c9b1[_0x269ef2(0x262)]))!=null?_0x26a77f:_0x34c9b1[_0x269ef2(0x447)])+'/'+_0x3891ac+_0x269ef2(0x4ac)+_0x23bcf8,_0x162ee2=new URL(window['location'][_0x269ef2(0x4b2)]),_0x3472a6={'scriptId':_0x3891ac,'runId':(_0x5dfcf2=_0x162ee2['searchParams'][_0x269ef2(0x2ea)](_0x269ef2(0x4c4)))!=null?_0x5dfcf2:'','function':_0x23bcf8,'unitId':_0x32c718[_0x269ef2(0x3d9)](),'argsOfFunction':JSON[_0x269ef2(0x464)](_0x5c0f07),'invokeId':(_0x42e375=_0x24606e[_0x269ef2(0x24a)])!=null?_0x42e375:'','executionId':(_0x3346f6=_0x24606e[_0x269ef2(0x264)])!=null?_0x3346f6:''};try{const _0x46aabf=await this['_httpService'][_0x269ef2(0x3fb)](_0x1d49e9,{'body':_0x3472a6});return _0x46aabf['body']['error']&&_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x1f8)][_0x269ef2(0x43f)]!==_0x28a552['OK']?_0x269ef2(0x24f):_0x46aabf[_0x269ef2(0x2fe)][_0x269ef2(0x37e)];}catch{return'Failed';}}},_0x7f96f7['RemoteUniscriptService']=_0x223763([_0x971ccb(0x0,_0xee8662[_0x51d908(0x3b1)]),_0x971ccb(0x1,_0xee8662[_0x51d908(0x35b)](_0x4d0037[_0x51d908(0x32f)])),_0x971ccb(0x2,_0xee8662[_0x51d908(0x487)])],_0x7f96f7[_0x51d908(0x271)]);const _0x67458c=0x7530,_0x50edcd=_0x51d908(0x2c2);class _0x4f0a97 extends _0xee8662['Disposable']{constructor(){const _0x5e9fca=_0x51d908;super(),_0x3dad76(this,_0x5e9fca(0x2ef),_0xee8662['generateRandomId']()),_0x3dad76(this,_0x5e9fca(0x22d),new Set()),_0x3dad76(this,_0x5e9fca(0x304),new Map()),_0x3dad76(this,_0x5e9fca(0x269),null),_0x3dad76(this,_0x5e9fca(0x399),new Map()),_0x3dad76(this,_0x5e9fca(0x25b),new Map()),this[_0x5e9fca(0x336)]();}[_0x51d908(0x32d)](){const _0x29096c=_0x51d908;super[_0x29096c(0x32d)](),this[_0x29096c(0x399)][_0x29096c(0x204)]((_0x1dd37a,_0x2a96d5)=>this[_0x29096c(0x3d5)](_0x2a96d5)),this['_heartbeatTimer']&&window[_0x29096c(0x322)](this[_0x29096c(0x269)]);}[_0x51d908(0x284)](_0x329237){const _0x29de41=_0x51d908;return this[_0x29de41(0x47e)](_0x329237)[_0x29de41(0x2ba)](_0x3b7fba[_0x29de41(0x3a0)]());}[_0x51d908(0x3f5)](_0x1d375d){const _0x9cbb11=_0x51d908;this[_0x9cbb11(0x22d)][_0x9cbb11(0x283)]===0x0&&this[_0x9cbb11(0x26e)](),this[_0x9cbb11(0x22d)][_0x9cbb11(0x3b7)](_0x1d375d),this['_send']({'type':0x0,'memberID':this[_0x9cbb11(0x2ef)],'unitIDs':[_0x1d375d],'isForwarded':!0x1});}[_0x51d908(0x28c)](_0x2be12d){const _0x3688de=_0x51d908;this[_0x3688de(0x22d)]['delete'](_0x2be12d),this[_0x3688de(0x22d)][_0x3688de(0x283)]===0x0&&this[_0x3688de(0x269)]&&window[_0x3688de(0x322)](this['_heartbeatTimer']);}[_0x51d908(0x336)](){const _0xe0928e=_0x51d908;this[_0xe0928e(0x45a)](_0xee8662[_0xe0928e(0x211)](_0x3b7fba[_0xe0928e(0x315)](window,_0xe0928e(0x363))[_0xe0928e(0x329)](_0x28fa74=>{const _0x10a642=_0xe0928e;if(_0x28fa74['key']!==_0x50edcd||!_0x28fa74[_0x10a642(0x4cc)])return;const _0x5e6023=JSON['parse'](_0x28fa74[_0x10a642(0x4cc)]);this['_handleEvent'](_0x5e6023);}))),window[_0xe0928e(0x438)](_0xe0928e(0x471),()=>this[_0xe0928e(0x388)]({'type':0x1,'memberID':this[_0xe0928e(0x2ef)],'unitIDs':Array[_0xe0928e(0x3cb)](this[_0xe0928e(0x22d)])}));}[_0x51d908(0x2aa)](_0x2dee78){const _0xbb9fad=_0x51d908;switch(_0x2dee78[_0xbb9fad(0x4b1)]){case 0x0:this[_0xbb9fad(0x266)](_0x2dee78);break;case 0x1:this['_handleLeaveEvent'](_0x2dee78);break;case 0x2:this[_0xbb9fad(0x29a)](_0x2dee78);break;}}[_0x51d908(0x266)](_0x15b75e){const _0x33374d=_0x51d908,{unitIDs:_0x330e3c,memberID:_0x1003f2,isForwarded:_0x348ebb}=_0x15b75e;_0x330e3c['forEach'](_0x3a74c4=>{const _0x351fda=_0x2c0f;if(!_0x348ebb&&this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)&&this[_0x351fda(0x47e)](_0x3a74c4)[_0x351fda(0x2e1)](_0x34c9b1[_0x351fda(0x2f5)][_0x351fda(0x418)]),!this[_0x351fda(0x304)][_0x351fda(0x398)](_0x3a74c4)||!this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)['has'](_0x1003f2)){const _0xcee430=this[_0x351fda(0x304)][_0x351fda(0x2ea)](_0x3a74c4)||new Set();_0xcee430[_0x351fda(0x3b7)](_0x1003f2),this[_0x351fda(0x304)][_0x351fda(0x4c5)](_0x3a74c4,_0xcee430),this['_scheduleClearOtherTimer'](_0x1003f2);}}),_0x348ebb||this[_0x33374d(0x388)]({'type':0x0,'memberID':this[_0x33374d(0x2ef)],'unitIDs':[...this[_0x33374d(0x22d)]],'isForwarded':!0x0});}[_0x51d908(0x275)](_0x3a24de){const _0x5e15ef=_0x51d908;this['_removeClearOtherTimer'](_0x3a24de);const _0x11b927=window['setTimeout'](()=>{const _0x33014d=_0x2c0f;this[_0x33014d(0x304)][_0x33014d(0x204)](_0x12ab70=>{_0x12ab70['delete'](_0x3a24de);});},_0x67458c*0x2);this[_0x5e15ef(0x399)]['set'](_0x3a24de,_0x11b927);}[_0x51d908(0x3d5)](_0x465ccb){const _0xec26e1=_0x51d908;if(this[_0xec26e1(0x399)][_0xec26e1(0x398)](_0x465ccb)){const _0x45cb84=this[_0xec26e1(0x399)][_0xec26e1(0x2ea)](_0x465ccb);_0x45cb84&&window[_0xec26e1(0x3f7)](_0x45cb84),this[_0xec26e1(0x399)][_0xec26e1(0x4c5)](_0x465ccb,null);}}['_handleLeaveEvent'](_0x3ac982){const _0x4bc887=_0x51d908,{memberID:_0x347b98,unitIDs:_0x259f36}=_0x3ac982;_0x259f36[_0x4bc887(0x204)](_0x363bc3=>{const _0x59f2fe=_0x4bc887;var _0x291684;const _0x3e20fc=this[_0x59f2fe(0x304)][_0x59f2fe(0x2ea)](_0x363bc3);_0x3e20fc&&(_0x3e20fc[_0x59f2fe(0x3fe)](_0x347b98),(_0x291684=this['_ensureSubject'](_0x363bc3))==null||_0x291684[_0x59f2fe(0x2e1)](_0x3e20fc['size']===0x0?_0x34c9b1[_0x59f2fe(0x2f5)]['NO_OTHER_CLIENTS_EDITING']:_0x34c9b1['UnitStatus'][_0x59f2fe(0x418)]));}),this['_removeClearOtherTimer'](_0x347b98);}[_0x51d908(0x29a)](_0x46a850){const _0xe87eba=_0x51d908;this['_scheduleClearOtherTimer'](_0x46a850[_0xe87eba(0x2ab)]);}[_0x51d908(0x388)](_0x8c6d9b){localStorage['setItem'](_0x50edcd,JSON['stringify'](_0x8c6d9b));}[_0x51d908(0x26e)](){const _0x501db2=_0x51d908;this['_heartbeatTimer']=window[_0x501db2(0x342)](()=>{const _0x59528e=_0x501db2;this['_send']({'type':0x2,'memberID':this[_0x59528e(0x2ef)]});},_0x67458c);}[_0x51d908(0x47e)](_0x53a1e5){const _0x19e41f=_0x51d908;return this[_0x19e41f(0x25b)][_0x19e41f(0x398)](_0x53a1e5)||this[_0x19e41f(0x25b)][_0x19e41f(0x4c5)](_0x53a1e5,new _0x3b7fba[(_0x19e41f(0x45d))](_0x34c9b1[_0x19e41f(0x2f5)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x19e41f(0x25b)][_0x19e41f(0x2ea)](_0x53a1e5);}}_0x7f96f7[_0x51d908(0x3a5)]=_0x188e9b,_0x7f96f7[_0x51d908(0x203)]=_0x118cd0,_0x7f96f7[_0x51d908(0x3ae)]=_0x4f0a97,_0x7f96f7[_0x51d908(0x22e)]=_0xa62502,Object[_0x51d908(0x359)](_0x7f96f7,Symbol[_0x51d908(0x4be)],{'value':_0x51d908(0x480)});}));function _0x4670(){const _0x48224d=['addObject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getVpScrollXYInfoByPosToVp','M0\x200H16V16H0z','getMergeData','764460tRyDtR','merge','BrowserCollaborationSocketService','_labelPosition','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','_localStorageService','result','_imageIoService','24dyoGEL','uni.network.url-service','function','sheetId','fillRule','_currentUsage','currentSkeleton$','_document','_send','beginPath','_clearPolling','collabStatus.syncing','INVITE_CODE_ALREADY_BOUND','getColorFromTheme','colorChannel1','_scene','stageInfo','UNAUTHENTICATED','origin','REDEMPTION_CODE_HAS_BEEN_CREATED','IUIPartsService','triggerDblclick','195599qkbVFo','height','has','_clearOtherTimers','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_getSessionTicket','_disabled','sessionStatus$','@univerjs/core','pushState','distinctUntilChanged','session.collaboration-timeout','UniverDocs','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IURLService','getSheetBySheetId','LICENSE_EXPORT_SIZE_EXCEEDED','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','_revisionService','includes','values','getRenderById','WebBrowserSingleActiveUnitService','@univerjs/sheets','OnLineIcon','IUniverInstanceService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_initEvent','dispose$','reason','add','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','_uploadLog','UniverEngineFormula','WECHAT_HAS_BEEN_BOUND','getCurrentSelections','maxFormulaLimit','Optional','EMAIL_VERIFY_CODE_MISMATCH','on-line-icon_clip0_910_349','parseInt','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','_maxFormulaLimit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_colorAssignService','color','debug','IMessageService','from','LOGIN_TOKEN_PROCESSING_FAILED','textRanges','imageSourceType','symbol','getColor','skeleton','VIEW_MAIN','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','clsx','_removeClearOtherTimer','[LogService\x20Error]:\x20','getCurrent','_updateCollabCursors','getUnitId','ENTITLE_INVALID_COUPON_CODE','assignAColorForMemberID','react/jsx-runtime','ENTITLE_COUPON_EXPIRED','_collaborationSessionService','_httpService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_updateSubUnitFromURLParams','_injector','syncEditingCollabCursor','CanceledError','length','_collaborationUIEventService','RemoveColCommandId','transformMutationsWithChangeset','Vector2','CLOSE_ROOM','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','text','_checkCalculationAvailable','FormulaExecuteStageType','popstate','data','React','_initStatusComponent','_collabCursorController','YUUMI_ASYNCIO_CANCELLED','editingUnit','sheetID','clearTimeout','registerBeforeClose','setAlpha','drawWith','post','collab-text-range-','whenReady','delete','width','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','_drawRectRange','OffLineIcon','ONLINE','fill','RegularPolygon','PAYMENT_CHANNEL_NOT_SUPPORT','[Window\x20Error]:\x20','/universer-api/license/formula/limit/status','handleIRemoveRow','EffectRefRangId','url(#$1','_urlService','_initCommandExecutedListener','switchMap','idSuffix','ENTITLE_CHAT_LIMIT_EXCEED','getConfig','setParam','enableLocalCache','_hovered','RichTextEditingMutation','DOC_RANGE_TYPE','OTHER_CLIENTS_EDITING','_status$','TEXT_RANGE_LAYER_INDEX','http://www.w3.org/2000/svg','_saveCache','m2Prime','params','USER_IS_ANONYMOUS','getCollabCursors$','UniverDocsUi','_onCursorDelete','_messageService','attrs','onRendered','REDEMPTION_CODE_INACTIVE','_initWindowErrorListener','asObservable','_themeService','mergeOverrideWithDependencies','handleInsertRangeMoveDown','DocIMEInputManagerService','getCellMatrix','...','throttleTime','catch','_online','object','stage','_setupBeforeClosingHandler','onMouseMove','unitID','MOBILE_VERIFY_CODE_MISMATCH','addEventListener','getCollabEntity$','isFormulaString','engine','purple.300','_cursorInfo$','/universer-api/license/formula/limit/done','code','_doCreateSocket','runOnServer','flatMap','save','history','4EWPQRJ','formula.calculation.waiting','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','USER_NOT_FOUND','onPointerLeave$','message','_initEntityListener','/universer-api/frontend/logs','_cursorShapes','@univerjs/docs-ui','reconnect','getSheetId','div','moveTo','REDEMPTION_INVALID_CODE','_entities','_docStateChangeManagerService','join','show','useRef','disposeWithMe','react','_docClipboardService','BehaviorSubject','UniverCollaborationClientPlugin','executeCommand','Rect','subunit','@univerjs/design','cursorInfo','stringify','getTypeOfUnitAdded$','_releaseCalculationLimit','@univerjs/docs','427MfjwVJ','_dataLoaderService','MOBILE_HAS_BEEN_BOUND','Error','LOGIN_FAILED','pluginName','_getFormulaLimitStatus','TEXT','isTransformMutationsWithChangesetSuccess','unload','eventID','findNodePositionByCharIndex','isActive','REDEMPTION_USER_NOT_ELIGIBLE','COLORS','@univerjs/network','evenodd','ISocketService','setConfig','Success','UniverInstanceType','operators','_ensureSubject','_getSaveTimeout','Module','APPLY_DUPLICATED','[Unhandled\x20Rejection]:\x20','measureText','combineLatest','cursorInfo$','saveImage','IConfigService','APPLY_REJECT','column','_saveTaskMap','path','children','ranges','UniverSheetsUi','SOCKET_FAILED_RETRY','rgba(255,\x20255,\x20255,\x200.01)','SetSelectionsOperation','Tools','MoveRangeCommandId','Rectangle','green.600','_beforeCloseService','_eventUnsubscribe','Subject','collaboration-client-ui.config','selection','shift','YUUMI_NO_CUBOID_FOR_QUESTION','USER_NOT_INVITED_CODE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sheetSkeletonManagerService','clipPath','handleInsertRangeMoveRight','getCoordByCell','_handleHover','1em','UPDATE_CURSOR','collabStatus.conflict','collab-text-anchor-','permission.title','beforeCommandExecuted','currentColor','svg','/run/','_removeCollabCursors','addObjects','createIdentifier','ILogService','type','href','DesktopCollaborationStatusDisplayController','InsertRangeMoveRightCommandId','removeEventListener','_commandService','LICENSE_IMPORT_SIZE_EXCEEDED','HEADER_MENU','_localeService','_registerRenderDependencies','row','_anchorDot','CollaborationUIEventService','toStringTag','generateRandomId','_initDependencies','_setupSubUnitSync','Disposable','_onCursorUpdate','runId','set','_univerInstanceService','#FFF','onCommandExecuted','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','_refreshCollabCursors','newValue','debounceTime','_configService','activeSheet$','_memberService','_render','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','map','formula.calculation.started','DocStateChangeManagerService','collab-rect-range-','UNIVER_SHEET','startColumn','deepClone','isArray','SessionStatus','NodePositionConvertToCursor','156VIgURo','round','_anchor','session.will-retry','CURRENT_STATUS_CANNOT_OPERATE','[CollaborationDataLoaderController]','_getScale','error','EMAIL_HAS_BEEN_BOUND','109208fulQtH','url(#off-line-icon_clip0_910_343)','ILocalStorageService','_notificationService','UniverRpc','bottom','collabStatus.synced','ticket','filter','SheetCollabCursorShape','forEach','getUniverSheetInstance','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventId','black','IDocClipboardService','replace','FETCH_MISS','_cachedData','UniverIcon','LICENSE_DISTRO_REJECTED','PERMISSION_DENIED','getRelativeToViewportCoord','toDisposable','SetFormulaCalculationNotificationMutation','getTypeOfUnitDisposed$','getMember','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defIds','getCellPositionByOffset','setItem','RevisionService','createInstance','APPLY_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','mutations','unsubscribe','_range','AUTHORIZE_CODE_ILLEGAL','debounce','AWAITING','NOT_FOUND','transformRemoteChangeset','filename','sessionTicket','_backgroundColor','getSkeleton','saveOfflineData','SheetSkeletonManagerService','blue.400','_selfUnitIDs','WebURLService','REDEMPTION_CODE_NOT_STARTED','_syncEditingCollabCursorService','_createSocketURL','defs','handleMoveRange','_memberID','toRgbString','top','handleInsertCol','RECT','contains','getMemberID','getUndoRedoMutationParamsCache','getActiveSheet','fillText','_initResize','INVITE_CODE_REQUIRED','rxjs','LocaleService','_docTransformSelectionsService','Shape','lineno','UniverDrawing','functionsExecutedState','getFocusedUnit','registerRefRange','_toggleOnline','invokeId','range','addHandlerCallback','saveTaskMap','complete','Failed','getOffsetConfig','1260999WdqbXe','_drawAnchor','Workbook','CONFLICT','string','LOCAL_CACHE_INTERVAL','ThemeService','xlink:href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','location','_unitStatus','getViewport','red.300','startRow','CollaborationSessionService','YUUMI_UNABLE_LOAD_URL','148SUVJOy','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','socket$','executionId','with','_handleJoinEvent','unit','init','_heartbeatTimer','UniverSheets','univer-flex\x20univer-items-center','_setFormulaLimitStatus','limitInfo','_scheduleHeartbeat','UniverProCollaboration','INVITE_CODE_HAS_BEEN_UES','RemoteUniscriptService','_initCommandInterceptor','_initStatusListener','_getAnchorBounding','_scheduleClearOtherTimer','40692PHQyOq','unhandledrejection','onPointerEnter$','getUnhiddenWorksheets','unitId','_startSheetCollabCursor','_logService','_instanceService','YUUMI_AI_RUN_FAILED','entityInit$','_docTransformIMECacheService','SetDocZoomRatioOperation','_getSheetObject','size','getUnitStatus$','IImageIoService','_docSkeletonManagerService','Loading','setTimeout','FormulaExecutedStateType','ENTITLE_INSUFFICIENT_QUOTA','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeUnit','collaboration.closeRoom','replaceState','IBeforeCloseService','selections','font','OFFLINE','lineTo','ENTITLE_DUP_SUBSCRIPTION','RemoveRowCommandId','subscribeEvent','SUCCESS','collab-client.tooltip.reconnect','_startCalculationLimit','_handleHeartbeatEvent','_transformPreviousActiveRange','_session','_docSyncEditingCollabCursorService','disableLocalCache','push','YUUMI_CONNECTOR_URL_NOT_FOUND','_refRangeService','getRangePointData','NOT_COLLAB','requireSession','ENTITLE_COUPON_USED_UP','source','takeUntil','_roomMembers$','ICommandService','_handleEvent','memberID','roomMembers$','enableFrontendLog','min','_docSkeleton','tag','UNIVER_DOC','UniverProCollaborationClient','@univerjs-pro/collaboration-client','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','REDEMPTION_CODE_FULLY_REDEEMED','getCurrentRevOfUnit','handleDeleteRangeMoveLeft','pipe','_transformService','totalFormulasToCalculate','mask','setStateCache','transform','transformStateCache','getAncestorScale','ACTIVE_UNIT_EVENT_CHANNEL','getParam','collaboration.offline-data-not-saved','1228956TMqrXP','PENDING','name','START_CALCULATION','session.connection-failed','_pollingInterval','_collaborationController','UniverCollaborationClientUIPlugin','_initUserListener','restore','m1Prime','INTERNAL_ERROR','ERROR_AGAIN','_shapes','registerDependencies','23455WLrdVT','endRow','IRenderManagerService','_name','UniverCore','MemberService','createElement','CollaborationSocketService','?taskId=','Tooltip','@univerjs/engine-formula','InsertRangeMoveDownCommandId','entries','next','_lastResponseTimestamp','DATA_SOURCE_TOO_LARGE','_hideTimer','getItem','@univerjs/ui','_docTransformStateCacheService','INVALID_ARGUMENT','INotificationService','get','RxDisposable','then','ITransformService','APPLY_PERMISSION_DENIED','_id','jsxs','redoState','getLocalCacheKey','_lastPointer','urlChange$','UnitStatus','searchParams','_initUnhandledRejectionListener','_registerDependencies','application/json','setUndoRedoMutationParamsCache','_color','registerComponent','_updateLocalCursor','body','0\x200\x2016\x2016','closePath','IRemoteInstanceService','serializeRangeWithSheet','onTransformChange$','_unitOnClients','_monkeyPatchLogService','current','actions','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','UNDEFINED','_scheduleSaving','removeParam','_cursor','getStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','transformMutation','off-line-icon_clip0_910_343','deserializeRangeWithSheet','Injector','fromEvent','MessageType','bind','_startDocCollabCursor','getValue','shareReplay','trim','@univerjs/engine-render','YUUMI_RATE_OVER_LIMIT','FromArray','_onRefRangeChange','send','setShapeProps','clearInterval','CollaborationController','_assignedColors','useDependency','CollaborationStatus','COMPLETION_FINISHED','_collabSessionService','subscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','_uiPartsService','dispose','ENSURE_SNAPSHOT_EXECUTION','HTTPService','jsx','CollaborationEvent','white','doc.mutation.rich-text-editing','_renderManagerService','now','_init','MUTATION','isTransformMutationFailure','@univerjs/drawing','Warning','DataLoaderService','find','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets-ui','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNRECOGNIZED','UniverDesign','setInterval','currentTheme$','toString','event$','status$','startFormulaLimitUrl','fillStyle','random','none','handleDeleteRangeMoveUp','runRefRangeMutations','endColumn','getOwnPropertyDescriptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','touchDependencies','JOIN_ROOM_FAILED','override','_drawTextRange','split','_context','_localCacheService','SetTextSelectionsOperation','stack','defineProperty','assign','Inject','_config','unshift','DocSkeletonManagerService','_getMergeRange','docStateChange$','_updateURLWithCurrentState','_hover','storage','LOCAL_CACHE_INTERVAL_KEY','_applyCommand','_entityInit$','undoState','_draw','displayName','UniverEngineRender','_showGuardMessage','transformSelections','OTHER_CLIENT_EDITING','forwardRef','ALREADY_EXISTS','exhaustSavingTask','YUUMI_ALL_TABLES_IS_INVALID'];_0x4670=function(){return _0x48224d;};return _0x4670();}
1
+ function _0x506f(_0x128d54,_0xba99de){_0x128d54=_0x128d54-0x15d;const _0x277499=_0x2774();let _0x506fd4=_0x277499[_0x128d54];return _0x506fd4;}function _0x2774(){const _0x17689c=['ENTITLE_REPORT_LIMIT_EXCEED','getCurrentSelections','PAYMENT_CHANNEL_NOT_SUPPORT','activeSheet$','UniverCollaborationClientPlugin','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','forwardRef','_lastResponseTimestamp','getTypeOfUnitAdded$','_document','ENTITLE_CHAT_LIMIT_EXCEED','_transformUndoRedoStack','beforeCommandExecuted','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UNDEFINED','useRef','round','CURRENT_STATUS_CANNOT_OPERATE','_collabCursorState$','CHANGESET_REVISION_CONFILICT','lineTo','M0\x200H16V16H0z','univerjs-icon\x20univerjs-icon-','getRelativeToViewportCoord','_initResize','FETCH_MISS','_taskIds','_cursorShapes','origin','_releaseCalculationLimit','React','_docStateChangeManagerService','getUnitStatus$','CanceledError','send','filename','show','catch','Loading','getRenderById','startFormulaLimitUrl','createIdentifier','OnLineIcon','InsertRangeMoveRightCommandId','_ensureSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AWAITING','_cursorInfo$','operators','_collabCursorController','Failed','defs','INVITE_CODE_ALREADY_BOUND','_cursors','getUnit','_getScale','IImageIoService','saveTaskMap','setConfig','join','LocaleService','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','getParam','distinctUntilChanged','Plugin','setShapeProps','_heartbeatTimer','handleIRemoveCol','UniverIcon','_backgroundColor','getMergeData','UniverProCollaborationClient','YUUMI_AI_RUN_FAILED','ILocalStorageService','DATA_SOURCE_TOO_LARGE','collaboration.single-unit.warning','event$','map','has','@univerjs/sheets-ui','SheetSkeletonManagerService','NodePositionConvertToCursor','on-line-icon','_setFormulaLimitStatus','UniverNetwork','UniverRpc','BuiltInUIPart','_updateSubUnitFromURLParams','REDEMPTION_CODE_NOT_STARTED','ACTIVE_UNIT_EVENT_CHANNEL','override','_clearOtherTimers','InsertRangeMoveDownCommandId','search','UniverCore','RegularPolygon','SheetCollabCursorShape','setStateCache','_colorIndex','_uploadLog','clearInterval','drawWith','getLocalCacheKey','PY_RUNTIME_SCRIPT_ERROR','_docTransformIMECacheService','arc','Subject','ENTITLE_NEED_BILLING_ADDRESS','body','getTypeOfUnitDisposed$','@univerjs/core','RemoveRowCommandId','BrowserCollaborationSocketService','forEach','DocStateChangeManagerService','CollaborationStatus','_checkCalculationAvailable','SessionStatus','ERROR_AGAIN','UPDATE_CURSOR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mapTo','_entities','_notificationService','RECT','SetFormulaCalculationStartMutation','useDependency','executionId','_applyCommand','translate(.97)','saveOfflineData','USER_IS_ANONYMOUS','@univerjs/docs-ui','random','height','@univerjs/network','onPointerLeave$','_onRefRangeChange','MOBILE_HAS_BEEN_BOUND','generateRandomId','0\x200\x2016\x2016','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ITransformService','SNAPSHOT_INVALID_SNAPSHOT','getViewport','onTransformChange$','_context','_scene','_transformService','exhaustSavingTask','_session','imageSourceType','1168asoYKE','_doCreateSocket','FromArray','endRow','params','collaboration-client-ui.config','DesktopCollaborationStatusDisplayController','asObservable','REDEMPTION_CODE_HAS_BEEN_CREATED','docStateChange$','InsertColCommandId','_collabSessionService','_initUnhandledRejectionListener','onCommandExecuted','actions','IDocClipboardService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/sheets','_hovered','getCurrentUnitForType','switchMap','formula.calculation.unable','editingUnit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getSkeleton','IConfigService','addEventListener','reconnect','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_themeService','_status$','purple.300','_localStorageService','USERS_LEAVE','CollaborationController','debounce','history','_initEvent','undoState','session.collaboration-timeout','collabStatus.conflict','startRow','roomMembers$','/universer-api/license/formula/limit/status','START_CALCULATION','entityInit$','_selfUnitIDs','getCellMatrix','_uiPartsService','handleInsertRangeMoveRight','getOffsetConfig','_urlService','getValue','isTransformMutationsWithChangesetSuccess','href','_unitOnClients','IUniverInstanceService','closePath','_registerDependencies','OffLineIcon','_getAnchorBounding','url(#off-line-icon_clip0_910_343)','YUUMI_ASYNCIO_CANCELLED','_disabled','reason','clearTimeout','then','_configService','setTimeout','getCellPositionByOffset','onLocalMutation','eventID','_localCacheService','Module','138355hfnckS','merge','assignAColorForMemberID','displayName','permission.content','getCurrentRevOfUnit','_showGuardMessage','CommandType','getformulaLimitStatusUrl','_initEntityListener','dispose','doc.mutation.rich-text-editing','PENDING','deserializeRangeWithSheet','loadOfflineData','_color','YUUMI_ALL_TABLES_IS_INVALID','CollaborationUIEventService','getColor','DataLoaderService','with','getCoordByCell','pushState','Unknown\x20user','path','0\x200\x2017\x2016','m1Prime','error','amd','SetWorksheetActivateCommand','_renderManagerService','LICENSE_DISTRO_REJECTED','name','_config','YUUMI_CONNECTOR_URL_NOT_FOUND','fillRule','_draw','_lastPointer','ALREADY_EXISTS','column','text','unit','currentTheme$','RemoteUniscriptService','UnitStatus','INVITE_CODE_REQUIRED','LOCAL_CACHE_INTERVAL','runOnServer','#FFF','handleInsertRow','UNIVER_SHEET','LICENSE_IMPORT_SIZE_EXCEEDED','colorChannel1','EMAIL_HAS_BEEN_BOUND','toDisposable','TOO_MANY_REQUESTS','urlChange$','skeleton','registerBeforeClose','ONLINE','EffectRefRangId','COLORS','YUUMI_UNABLE_LOAD_URL','status$','UniverProCollaborationClientUi','isArray','ENTITLE_CAN_NOT_BUY_LOWER_OTP','values','ranges','serializeRangeWithSheet','getSheetBySheetId','_cursor','_anchorDot','off-line-icon_clip0_910_343','registerRenderModule','application/json','DeleteRangeMoveUpCommandId','roomMembers','handleDeleteRangeMoveUp','parseInt','onRendered','_onCursorDelete','message','searchParams','_onCursorUpdate','collaboration.closeRoom','unhandledrejection','_setupBeforeClosingHandler','http://www.w3.org/2000/svg','entries','ISocketService','9302knBzLC','mergeOverrideWithDependencies','top','collabStatus.notCollab','_unitStatus','[CollaborationDataLoaderController]','_instanceService','YUUMI_NO_CUBOID_FOR_QUESTION','getCollabCursors$','getStateCache','black','getMember','saveImage','REDEMPTION_CODE_INACTIVE','getDocRanges','disposeWithMe','_handleHeartbeatEvent','fill','functionsExecutedState','UNIVER_DOC','_collaborationController','getMemberID','IRemoteInstanceService','getUndoRedoMutationParamsCache','_id','children','_getSaveTimeout','LICENSE_MAX_UNITS_EXCEEDED','mutations','permission.title','Injector','_handleJoinEvent','connectInjector','_entityInit$','labelPosition','object','getUnitId','_getSessionTicket','PERMISSION_DENIED','combineLatest','location','CLOSE_ROOM','_currentUsage','_getMergeRange','white','bind','TEXT','_refreshCollabCursors','_scheduleHeartbeat','currentColor','onPointerEnter$','LOGIN_TOKEN_PROCESSING_FAILED','beginPath','init','setParam','div','CollaborationSessionService','length','DependentOn','delete','unshift','idSuffix','_docClipboardService','COMPLETION_FINISHED','handleDeleteRangeMoveLeft','fillText','getColorFromTheme','bottom','DocIMEInputManagerService','_toggleOffline','session.will-retry','_saveCache','_beforeCloseService','USER_NOT_FOUND','_toggleOnline','[LogService\x20Error]:\x20','APPLY_DUPLICATED','transformIMECache','restore','registerDependencies','get','socket$','redoState','?taskId=','code','SheetsSelectionsService','_docSkeletonManagerService','yellow.400','Tooltip','INotificationService','key','_init','OFFLINE','touchDependencies','transformSelections','ENTITLE_INVALID_COUPON_CODE','_hasFormulaInDirtyRanges','addHandlerCallback','Warning','LOGIN_FAILED','ThemeService','fromEvent','_transformHistoryAndStateStack','fillStyle','_getSheetObject','@univerjs/docs','DOC_RANGE_TYPE','CollaborationUIEventId','_docTransformStateCacheService','_send','stringify','YUUMI_SUBSCRIPTION_NOT_FOUND','_checkAndWaitForCalculationPermission','_initUserListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearPolling','tag','_pollingInterval','WebURLService','save','createSocket','post','_httpService','_anchor','parse','Success','APPLY_REJECT','removeEventListener','getCollabEntity$','NOT_COLLAB','sheetID','USER_NOT_INVITED_CODE','_startCalculationLimit','ENTITLE_COUPON_EXPIRED','INTERNAL_ERROR','ENTITLE_INSUFFICIENT_QUOTA','storage','toRgbString','116068NhvvVE','_eventUnsubscribe','REDEMPTION_USER_NOT_ELIGIBLE','1em','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mask','addClipboardHook','ENTITLE_DUP_SUBSCRIPTION','substring','Inject','defIds','svg','makeDirty','NO_OTHER_CLIENTS_EDITING','dispose$','1269955hVWIaF','createElement','SYNCED','enableFrontendLog','6NQuKbN','transformMutation','_updateCollabCursors','handleInsertRangeMoveDown','runId','stack','ICommandService','INVITE_CODE_HAS_BEEN_UES','UniverSheets','transformRemoteChangeset','Tools','stageInfo','jsx','replaceDocRanges','defineProperty','collab-client.tooltip.reconnect','disableLocalCache','startColumn','_refRangeService','whenReady','_memberService','none','newValue','_createSocketURL','maxFormulaLimit','getActiveSheet','cursorInfo','unload','ISnapshotServerService','REDEMPTION_INVALID_CODE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleMoveRange','popstate','@univerjs-pro/collaboration-client','UniverDrawing','jsxs','_hideTimer','REDEMPTION_CODE_FULLY_REDEEMED','...','@univerjs/engine-render','_handleEvent','NOT_FOUND','_colorAssignService','_logService','_cachedData','JOIN_ROOM_FAILED','_startSheetCollabCursor','clsx','fromEventSubject','EMAIL_VERIFY_CODE_MISMATCH','toString','sessionTicket','dirtyRanges','_initCommandExecutedListener','_registerRenderDependencies','session.connection-failed','function','sheetId','_monkeyPatchLogService','ENSURE_SNAPSHOT_EXECUTION','UNRECOGNIZED','_commandService','INVALID_INVITE_CODE','CollaborationSocketService','_hover','includes','hide','InsertRowCommandId','deepClone','getUnhiddenWorksheets','UniverInstanceType','_injector','_name','pluginName','getRangePointData','UniverCollaborationClientUIPlugin','off-line-icon','collab-text-range-','SHEET_VIEWPORT_KEY','RxDisposable','m2Prime','26SZUlaz','Disposable','onMouseMove','endColumn','4089536HBVdfn','type','assign','getItem','_drawRectRange','registerComponent','_assignedColors','CollaborationDataLoaderController','range','removeParam','4861680QMztCM','executeCommand','_messageService','getConfig','_saveTaskMap','uni.network.url-service','66sAPJLq','_collaborationSessionService','useObservable','_startDocCollabCursor','set','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getFocusedUnit','limitInfo','REDEMPTION_USER_REDEEM_TIMES_EXCEED','cursorInfo$','source','_handleLeaveEvent','_getFormulaLimitStatus','measureText','getUniverSheetInstance','_dataLoaderService','onStarting','color','DocSkeletonManagerService','Shape','isActive','_scheduleSaving','IBeforeCloseService','replace','_initStatusListener','setActiveRange','Rect','_textBubble','add','_updateLocalCursor','collabStatus.fetchMiss','@univerjs/engine-formula','27774aDlRXg','CollaborationEvent','findNodePositionByCharIndex','_shapes','_removeCollabCursors','registerRefRange','MessageType','_labelPosition','_docTransformSelectionsService','transform','row','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runRefRangeMutations','max','subUnitId','addObject','getAncestorScale','find','BehaviorSubject','_revisionService','OTHER_CLIENT_EDITING','subscribeEvent','releaseFormulaLimitUrl','string','MOBILE_VERIFY_CODE_MISMATCH','memberID','ColorKit','evenodd','loadUnit','_roomMembers$','CONFLICT','react','_localeService','red.300','APPLY_NON_SEQUENTIAL_REVISION','attrs','HTTPService','univer-mr-2\x20univer-flex\x20univer-text-xl','MUTATION','_transformPreviousActiveRange','UNAUTHENTICATED','YUUMI_RATE_OVER_LIMIT','sessionStatus$','blue.400','subunit','isTransformMutationFailure','createInstance','/run/','addObjects','_removeClearOtherTimer','SNAPSHOT_HAS_BEEN_REMOVED','takeUntil','width','unitID','@univerjs/drawing','xlink:href','colno','on-line-icon_clip0_910_349','flatMap','UniverProCollaboration','MemberService','currentSkeleton$','Workbook','url(#on-line-icon_clip0_910_349)','APPLY_REVISION_CONFILICT','data','_sheetSkeletonManagerService','collab-text-anchor-','subscribe','collabCursorState$','disposeUnit','_docSyncEditingCollabCursorService','setAlpha','ILogService','WECHAT_HAS_BEEN_BOUND','SetFormulaCalculationNotificationMutation','AWAITING_WITH_PENDING','isFormulaString','APPLY_PERMISSION_DENIED','_drawTextRange','_memberID','size','@univerjs-pro/collaboration','transformMutationsWithChangeset','isEditing','SetSelectionsOperation','min','NodePositionConvertToRectRange','rxjs','TEXT_RANGE_LAYER_INDEX','collabStatus.syncing','UniverDocsUi','green.600','_initDependencies','_handleHover','_imageIoService','exports','invokeId','_syncEditingCollabCursorService','pipe','IMessageService','@univerjs/rpc','_range','_univerInstanceService','ENTITLE_COUPON_USED_UP','replaceState','Error','OTHER_CLIENTS_EDITING','from','_online','setItem','HEADER_MENU','collab-rect-range-','debug','updateOfflineData','INVALID_ARGUMENT','getSheetId','_collaborationUIEventService','RemoveColCommandId','UniverUi','YUUMI_URL_COL_OUT_OF_RANGE','onPointerMove$','_initWindowErrorListener','getVpScrollXYInfoByPosToVp','symbol','transformStateCache','_setupSubUnitSync','enableLocalCache','_render','getOwnPropertyDescriptor','AUTHORIZE_CODE_ILLEGAL','triggerDblclick','syncEditingCollabCursor','_maxFormulaLimit','unitId','getCurrent','_scheduleClearOtherTimer','filter','next','complete','push','some','selection','/universer-api/license/formula/limit/start','textRanges','focused$','now'];_0x2774=function(){return _0x17689c;};return _0x2774();}(function(_0x339ca1,_0x472cf0){const _0x1e662f=_0x506f,_0x189c7f=_0x339ca1();while(!![]){try{const _0x149dff=parseInt(_0x1e662f(0x1df))/0x1*(parseInt(_0x1e662f(0x3e5))/0x2)+-parseInt(_0x1e662f(0x1f3))/0x3*(parseInt(_0x1e662f(0x17b))/0x4)+parseInt(_0x1e662f(0x18a))/0x5+parseInt(_0x1e662f(0x18e))/0x6*(parseInt(_0x1e662f(0x38a))/0x7)+parseInt(_0x1e662f(0x33f))/0x8*(parseInt(_0x1e662f(0x213))/0x9)+parseInt(_0x1e662f(0x1ed))/0xa+-parseInt(_0x1e662f(0x1e3))/0xb;if(_0x149dff===_0x472cf0)break;else _0x189c7f['push'](_0x189c7f['shift']());}catch(_0x43d0e5){_0x189c7f['push'](_0x189c7f['shift']());}}}(_0x2774,0x4e6e8),function(_0x591dfb,_0x360524){const _0x37df27=_0x506f;typeof exports==_0x37df27(0x408)&&typeof module<'u'?_0x360524(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==_0x37df27(0x1c6)&&define[_0x37df27(0x3a6)]?define([_0x37df27(0x273),'react/jsx-runtime',_0x37df27(0x1af),_0x37df27(0x315),'@univerjs/ui',_0x37df27(0x26b),'@univerjs/design',_0x37df27(0x232),_0x37df27(0x278),_0x37df27(0x350),_0x37df27(0x1b5),_0x37df27(0x32e),_0x37df27(0x32b),_0x37df27(0x249),_0x37df27(0x265),_0x37df27(0x44e),_0x37df27(0x212),'rxjs/operators',_0x37df27(0x2f6)],_0x360524):(_0x591dfb=typeof globalThis<'u'?globalThis:_0x591dfb||self,_0x360524(_0x591dfb[_0x37df27(0x3ca)]={},_0x591dfb['React'],_0x591dfb[_0x37df27(0x2ee)],_0x591dfb[_0x37df27(0x305)],_0x591dfb[_0x37df27(0x28a)],_0x591dfb[_0x37df27(0x26b)],_0x591dfb['UniverDesign'],_0x591dfb[_0x37df27(0x2c5)],_0x591dfb[_0x37df27(0x2fc)],_0x591dfb[_0x37df27(0x196)],_0x591dfb['UniverEngineRender'],_0x591dfb[_0x37df27(0x2fb)],_0x591dfb[_0x37df27(0x26e)],_0x591dfb[_0x37df27(0x1b0)],_0x591dfb[_0x37df27(0x24e)],_0x591dfb['UniverDocs'],_0x591dfb['UniverEngineFormula'],_0x591dfb['rxjs'][_0x37df27(0x2d7)],_0x591dfb['UniverSheetsUi']));}(this,function(_0x3f1a0c,_0x1b1822,_0x322f7a,_0x43d412,_0x5bd884,_0x7c0c7e,_0x312745,_0x56703a,_0x578897,_0x54f415,_0x317937,_0x5bb6d0,_0x17664f,_0x136636,_0x399202,_0x18b0ac,_0x49d49e,_0x39fe90,_0xd46b9b){'use strict';const _0x326f66=_0x506f;var _0x25376f=Object['defineProperty'],_0x5c48d6=(_0x14a739,_0x67e99e,_0x21e63c)=>_0x67e99e in _0x14a739?_0x25376f(_0x14a739,_0x67e99e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21e63c}):_0x14a739[_0x67e99e]=_0x21e63c,_0xe37f1=(_0x111d07,_0x531527,_0x16376b)=>_0x5c48d6(_0x111d07,typeof _0x531527!=_0x326f66(0x28f)?_0x531527+'':_0x531527,_0x16376b);function _0xf6a3a5({ref:_0x4ba21f,..._0x9d6648}){const _0x5834c0=_0x326f66,{icon:_0x513308,id:_0x45224f,className:_0x129835,extend:_0x23ae9e,..._0x390d3a}=_0x9d6648,_0x3e4375=(_0x5834c0(0x2bd)+_0x45224f+'\x20'+(_0x129835||''))['trim'](),_0x3de7f2=_0x56703a[_0x5834c0(0x2b6)]('_'+_0x5e2c6d());return _0x22b8e2(_0x513308,''+_0x45224f,{'defIds':_0x513308[_0x5834c0(0x185)],'idSuffix':_0x3de7f2['current']},{'ref':_0x4ba21f,'className':_0x3e4375,..._0x390d3a},_0x23ae9e);}function _0x22b8e2(_0x221d65,_0x26b37c,_0x6330b9,_0x312990,_0x56aa87){const _0xc1cca9=_0x326f66;return _0x56703a['createElement'](_0x221d65[_0xc1cca9(0x165)],{'key':_0x26b37c,..._0x5be630(_0x221d65,_0x6330b9,_0x56aa87),..._0x312990},(_0x7ef59e(_0x221d65,_0x6330b9)[_0xc1cca9(0x3fe)]||[])['map']((_0x1115e6,_0x3cbf0a)=>_0x22b8e2(_0x1115e6,_0x26b37c+'-'+_0x221d65[_0xc1cca9(0x165)]+'-'+_0x3cbf0a,_0x6330b9,void 0x0,_0x56aa87)));}function _0x5be630(_0x1aebc5,_0x393fbe,_0x362df6){const _0x5a427b=_0x326f66,_0x44d42b={..._0x1aebc5[_0x5a427b(0x236)]};_0x362df6!=null&&_0x362df6['colorChannel1']&&_0x44d42b['fill']==='colorChannel1'&&(_0x44d42b[_0x5a427b(0x3f6)]=_0x362df6[_0x5a427b(0x3be)]),_0x1aebc5[_0x5a427b(0x165)]===_0x5a427b(0x180)&&_0x44d42b['id']&&(_0x44d42b['id']=_0x44d42b['id']+_0x393fbe[_0x5a427b(0x422)]),Object[_0x5a427b(0x3e3)](_0x44d42b)[_0x5a427b(0x318)](([_0x5af702,_0x5d3939])=>{const _0x5f1689=_0x5a427b;_0x5af702===_0x5f1689(0x180)&&typeof _0x5d3939==_0x5f1689(0x22a)&&(_0x44d42b[_0x5af702]=_0x5d3939[_0x5f1689(0x20a)](/url\(#(.*)\)/,'url(#$1'+_0x393fbe[_0x5f1689(0x422)]+')'));});const {defIds:_0x27c59a}=_0x393fbe;return!_0x27c59a||_0x27c59a[_0x5a427b(0x41e)]===0x0||(_0x1aebc5[_0x5a427b(0x165)]==='use'&&_0x44d42b[_0x5a427b(0x24a)]&&(_0x44d42b[_0x5a427b(0x24a)]=_0x44d42b[_0x5a427b(0x24a)]+_0x393fbe[_0x5a427b(0x422)]),Object[_0x5a427b(0x3e3)](_0x44d42b)[_0x5a427b(0x318)](([_0x539cb2,_0x432f63])=>{const _0x4caeb7=_0x5a427b;typeof _0x432f63==_0x4caeb7(0x22a)&&(_0x44d42b[_0x539cb2]=_0x432f63[_0x4caeb7(0x20a)](/url\(#(.*)\)/,_0x4caeb7(0x35b)+_0x393fbe[_0x4caeb7(0x422)]+')'));})),_0x44d42b;}function _0x7ef59e(_0x4fff06,_0x1ab76c){const _0x12843a=_0x326f66;var _0x154285;const {defIds:_0x2b9ef8}=_0x1ab76c;return!_0x2b9ef8||_0x2b9ef8[_0x12843a(0x41e)]===0x0?_0x4fff06:_0x4fff06[_0x12843a(0x165)]==='defs'&&((_0x154285=_0x4fff06['children'])!=null&&_0x154285[_0x12843a(0x41e)])?{..._0x4fff06,'children':_0x4fff06['children']['map'](_0x1a5b23=>typeof _0x1a5b23['attrs']['id']=='string'&&_0x2b9ef8&&_0x2b9ef8[_0x12843a(0x1cf)](_0x1a5b23[_0x12843a(0x236)]['id'])?{..._0x1a5b23,'attrs':{..._0x1a5b23[_0x12843a(0x236)],'id':_0x1a5b23[_0x12843a(0x236)]['id']+_0x1ab76c[_0x12843a(0x422)]}}:_0x1a5b23)}:_0x4fff06;}function _0x5e2c6d(){const _0x212f01=_0x326f66;return Math[_0x212f01(0x32c)]()[_0x212f01(0x1c0)](0x24)[_0x212f01(0x183)](0x2,0x8);}_0xf6a3a5['displayName']=_0x326f66(0x2eb);const _0x620d08={'tag':_0x326f66(0x186),'attrs':{'xmlns':_0x326f66(0x3e2),'fill':_0x326f66(0x1a3),'viewBox':_0x326f66(0x333),'width':_0x326f66(0x17e),'height':_0x326f66(0x17e)},'children':[{'tag':'g','attrs':{'clipPath':_0x326f66(0x37d)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'stroke':_0x326f66(0x416),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x326f66(0x2b7),'strokeWidth':1.2}}]},{'tag':_0x326f66(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x326f66(0x3d3)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'fill':_0x326f66(0x411),'d':_0x326f66(0x2bc)}}]}]}],'defIds':[_0x326f66(0x3d3)]},_0x4f9195=_0x56703a[_0x326f66(0x2ad)](function(_0x484cb6,_0x473333){const _0x3b0103=_0x326f66;return _0x56703a[_0x3b0103(0x18b)](_0xf6a3a5,Object[_0x3b0103(0x1e5)]({},_0x484cb6,{'id':_0x3b0103(0x1da),'ref':_0x473333,'icon':_0x620d08}));});_0x4f9195[_0x326f66(0x38d)]=_0x326f66(0x37b);const _0x4ee788={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x326f66(0x3a3),'width':_0x326f66(0x17e),'height':_0x326f66(0x17e)},'children':[{'tag':'g','attrs':{'clipPath':_0x326f66(0x252)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'stroke':_0x326f66(0x416),'d':_0x326f66(0x2e4),'strokeLinecap':_0x326f66(0x2b7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x326f66(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'fill':_0x326f66(0x411),'d':_0x326f66(0x2bc),'transform':_0x326f66(0x328)}}]}]}],'defIds':[_0x326f66(0x24c)]},_0x4b505b=_0x56703a[_0x326f66(0x2ad)](function(_0x2b70cc,_0x3b3d46){const _0xa9f9f=_0x326f66;return _0x56703a[_0xa9f9f(0x18b)](_0xf6a3a5,Object[_0xa9f9f(0x1e5)]({},_0x2b70cc,{'id':_0xa9f9f(0x2f9),'ref':_0x3b3d46,'icon':_0x4ee788}));});_0x4b505b[_0x326f66(0x38d)]=_0x326f66(0x2d1);function _0x5f4d38(_0x114577){const _0x431f3b=_0x326f66;switch(_0x114577){case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x441)]:return'collabStatus.offline';case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x231)]:return _0x431f3b(0x368);case _0x322f7a['CollaborationStatus'][_0x431f3b(0x2c0)]:return _0x431f3b(0x211);case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x172)]:return _0x431f3b(0x3e8);case _0x322f7a['CollaborationStatus'][_0x431f3b(0x2d5)]:case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x25f)]:return _0x431f3b(0x26d);case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x18c)]:case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x396)]:return'collabStatus.synced';}}function _0x52490c(_0x471eb5){const _0x273bc6=_0x326f66,{status$:_0x5649ba}=_0x471eb5,_0x35a0b2=_0x5bd884[_0x273bc6(0x1f5)](_0x5649ba,_0x322f7a[_0x273bc6(0x31a)][_0x273bc6(0x172)]),_0xdc8297=_0x5bd884[_0x273bc6(0x325)](_0x43d412[_0x273bc6(0x2e3)]),_0x1024bb=_0x5bd884['useDependency'](_0x322f7a[_0x273bc6(0x41d)]),_0x5e76c3=_0x35a0b2!==_0x322f7a[_0x273bc6(0x31a)][_0x273bc6(0x441)],_0x1cff71=_0xdc8297['t'](_0x5f4d38(_0x35a0b2)),_0x5e2a63=_0x5e76c3?_0x1b1822[_0x273bc6(0x19a)](_0x4b505b,{}):_0x1b1822[_0x273bc6(0x19a)](_0x4f9195,{}),_0x16539f=_0x56703a['useCallback'](()=>{const _0x4a41df=_0x273bc6;_0x5e76c3||_0x1024bb[_0x4a41df(0x35a)]();},[_0x5e76c3,_0x1024bb]);function _0x497228(){const _0x21f7fd=_0x273bc6;return _0x1b1822[_0x21f7fd(0x1b1)](_0x21f7fd(0x41c),{'className':'univer-flex\x20univer-items-center','onClick':_0x16539f,'children':[_0x1b1822['jsx']('div',{'className':_0x312745[_0x21f7fd(0x1bd)](_0x21f7fd(0x238),{'univer-text-green-500':_0x5e76c3,'univer-text-red-500':!_0x5e76c3}),'children':_0x5e2a63}),_0x1b1822[_0x21f7fd(0x19a)](_0x21f7fd(0x41c),{'className':_0x21f7fd(0x356),'children':_0x1cff71})]});}return _0x5e76c3?_0x497228():_0x1b1822[_0x273bc6(0x19a)](_0x312745[_0x273bc6(0x43d)],{'title':_0xdc8297['t'](_0x273bc6(0x19d)),'children':_0x497228()});}var _0x1333e9=Object[_0x326f66(0x294)],_0x451a75=(_0x144d73,_0x52c052,_0xc74a0d,_0x2e40f7)=>{const _0x3396d7=_0x326f66;for(var _0x548057=_0x2e40f7>0x1?void 0x0:_0x2e40f7?_0x1333e9(_0x52c052,_0xc74a0d):_0x52c052,_0xad68e1=_0x144d73[_0x3396d7(0x41e)]-0x1,_0xcaac1c;_0xad68e1>=0x0;_0xad68e1--)(_0xcaac1c=_0x144d73[_0xad68e1])&&(_0x548057=_0xcaac1c(_0x548057)||_0x548057);return _0x548057;},_0x187b8c=(_0x93c8cc,_0x18d9db)=>(_0x4b9e5b,_0x4936f8)=>_0x18d9db(_0x4b9e5b,_0x4936f8,_0x93c8cc);_0x3f1a0c[_0x326f66(0x345)]=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x466a8f,_0xc3afb8,_0x54a09e,_0x296179){const _0x282070=_0x326f66;super(),_0xe37f1(this,_0x282070(0x35e),new _0x7c0c7e[(_0x282070(0x225))](_0x322f7a[_0x282070(0x31a)][_0x282070(0x172)])),(this[_0x282070(0x27a)]=_0x466a8f,this[_0x282070(0x1d5)]=_0xc3afb8,this['_collaborationController']=_0x54a09e,this[_0x282070(0x370)]=_0x296179,this['_initStatusComponent'](),this[_0x282070(0x20b)]());}[_0x326f66(0x20b)](){const _0x5d911e=_0x326f66;this['disposeWithMe'](this[_0x5d911e(0x27a)][_0x5d911e(0x2a4)][_0x5d911e(0x276)](_0x7c0c7e[_0x5d911e(0x353)](()=>{const _0x23b297=_0x5d911e,_0x953d66=this[_0x23b297(0x27a)]['getFocusedUnit']();return _0x953d66?this[_0x23b297(0x3f9)][_0x23b297(0x171)](_0x953d66['getUnitId']()):_0x7c0c7e['of'](null);}),_0x7c0c7e[_0x5d911e(0x353)](_0xd575ee=>_0xd575ee?_0xd575ee[_0x5d911e(0x3c9)]:_0x7c0c7e['of'](_0x322f7a['CollaborationStatus']['NOT_COLLAB'])))[_0x5d911e(0x257)](_0x526e6f=>{const _0x2ba87a=_0x5d911e;this['_status$'][_0x2ba87a(0x29d)](_0x526e6f);}));}['_initStatusComponent'](){const _0x2e62aa=_0x326f66;this[_0x2e62aa(0x3f4)](this[_0x2e62aa(0x370)][_0x2e62aa(0x1e8)](_0x5bd884[_0x2e62aa(0x2fd)][_0x2e62aa(0x282)],()=>_0x5bd884[_0x2e62aa(0x405)](_0x36d8c7({'status$':this[_0x2e62aa(0x35e)][_0x2e62aa(0x346)]()}),this[_0x2e62aa(0x1d5)])));}},_0x3f1a0c['DesktopCollaborationStatusDisplayController']=_0x451a75([_0x187b8c(0x0,_0x43d412['IUniverInstanceService']),_0x187b8c(0x1,_0x43d412['Inject'](_0x43d412[_0x326f66(0x403)])),_0x187b8c(0x2,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x362)])),_0x187b8c(0x3,_0x5bd884['IUIPartsService'])],_0x3f1a0c[_0x326f66(0x345)]);function _0x36d8c7(_0x3f5dfa){const {status$:_0x1d7198}=_0x3f5dfa;return function(){const _0x1ba0c5=_0x506f;return _0x1b1822[_0x1ba0c5(0x19a)](_0x52490c,{'status$':_0x1d7198});};}const _0x25a17d=_0x43d412[_0x326f66(0x2d0)](_0x326f66(0x1f2));var _0x44272c=Object[_0x326f66(0x294)],_0xba7bc4=(_0x4f7d23,_0x42e515,_0x1e6acd,_0x28be66)=>{for(var _0x15f86c=_0x28be66>0x1?void 0x0:_0x28be66?_0x44272c(_0x42e515,_0x1e6acd):_0x42e515,_0x489617=_0x4f7d23['length']-0x1,_0x202cb8;_0x489617>=0x0;_0x489617--)(_0x202cb8=_0x4f7d23[_0x489617])&&(_0x15f86c=_0x202cb8(_0x15f86c)||_0x15f86c);return _0x15f86c;},_0x330a0d=(_0x174db4,_0x573a05)=>(_0x5eaa4a,_0x4dfe79)=>_0x573a05(_0x5eaa4a,_0x4dfe79,_0x174db4);_0x3f1a0c[_0x326f66(0x1ea)]=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x1c0c71,_0x5c4fd8,_0x5be705,_0x5c0c25,_0x40a382){const _0x107dce=_0x326f66;super(),this['_urlService']=_0x1c0c71,this[_0x107dce(0x1b9)]=_0x5c4fd8,this[_0x107dce(0x1cb)]=_0x5be705,this[_0x107dce(0x202)]=_0x5c0c25,_0x40a382?_0x40a382==null||_0x40a382[_0x107dce(0x1a1)]()[_0x107dce(0x382)](()=>this[_0x107dce(0x440)]()):(this[_0x107dce(0x1b9)][_0x107dce(0x284)](_0x107dce(0x3ea),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x107dce(0x440)]());}async['_init'](){const _0x28f9d8=_0x326f66,_0x99f966=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)](_0x28f9d8(0x3b3)),_0x4f124e=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)]('type'),_0x2e2319=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)](_0x28f9d8(0x23f));if(!_0x99f966||!_0x4f124e){this[_0x28f9d8(0x1b9)][_0x28f9d8(0x284)](_0x28f9d8(0x3ea),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3b9983=await this[_0x28f9d8(0x202)][_0x28f9d8(0x22f)](_0x99f966,Number(_0x4f124e),_0x2e2319);_0x3b9983&&_0x3b9983 instanceof _0x43d412[_0x28f9d8(0x251)]&&this[_0x28f9d8(0x291)](_0x3b9983);}async[_0x326f66(0x291)](_0x3e2028){const _0x2255fb=_0x326f66;await this[_0x2255fb(0x2fe)](_0x3e2028),_0x3e2028[_0x2255fb(0x2a9)][_0x2255fb(0x276)](_0x7c0c7e[_0x2255fb(0x246)](this['dispose$']))[_0x2255fb(0x257)](_0x436af6=>{_0x436af6&&this['_updateURLWithCurrentState'](_0x436af6);}),this[_0x2255fb(0x373)][_0x2255fb(0x3c2)][_0x2255fb(0x276)](_0x7c0c7e[_0x2255fb(0x246)](this['dispose$']))[_0x2255fb(0x257)](()=>this[_0x2255fb(0x2fe)](_0x3e2028));}['_updateURLWithCurrentState'](_0x109019,_0x462b43=!0x1){const _0x323448=_0x326f66,_0x31191c=this[_0x323448(0x373)][_0x323448(0x2e5)](_0x323448(0x23f));_0x109019['getSheetId']()!==_0x31191c&&this[_0x323448(0x373)][_0x323448(0x41b)](_0x323448(0x23f),_0x109019[_0x323448(0x287)](),_0x462b43);}async[_0x326f66(0x2fe)](_0x4f2ad1){const _0x3f5cd6=_0x326f66;var _0x252d14;const _0xc99fbb=this[_0x3f5cd6(0x373)][_0x3f5cd6(0x2e5)](_0x3f5cd6(0x23f));if(!_0xc99fbb||!_0x4f2ad1[_0x3f5cd6(0x3d0)](_0xc99fbb)){const _0x43ba0e=_0x4f2ad1[_0x3f5cd6(0x1d3)]()[0x0],_0x45452d=_0x4f2ad1[_0x3f5cd6(0x3d0)](_0x43ba0e);if(!_0x45452d)return;this['_updateURLWithCurrentState'](_0x45452d,!0x0),await this[_0x3f5cd6(0x1cb)]['executeCommand'](_0x54f415[_0x3f5cd6(0x3a7)]['id'],{'unitId':_0x4f2ad1[_0x3f5cd6(0x409)](),'subUnitId':_0x43ba0e});return;}((_0x252d14=_0x4f2ad1[_0x3f5cd6(0x1a7)]())==null?void 0x0:_0x252d14[_0x3f5cd6(0x287)]())!==_0xc99fbb&&await this[_0x3f5cd6(0x1cb)][_0x3f5cd6(0x1ee)](_0x54f415[_0x3f5cd6(0x3a7)]['id'],{'unitId':_0x4f2ad1[_0x3f5cd6(0x409)](),'subUnitId':_0xc99fbb});}},_0x3f1a0c[_0x326f66(0x1ea)]=_0xba7bc4([_0x330a0d(0x0,_0x25a17d),_0x330a0d(0x1,_0x43d412[_0x326f66(0x25c)]),_0x330a0d(0x2,_0x43d412['ICommandService']),_0x330a0d(0x3,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x39d)])),_0x330a0d(0x4,_0x43d412['Optional'](_0x578897[_0x326f66(0x3fb)]))],_0x3f1a0c[_0x326f66(0x1ea)]);var _0x223ff4=Object[_0x326f66(0x294)],_0x2e84f8=(_0x1f28d9,_0x21dd43,_0x3b64de,_0x1180bb)=>{for(var _0x10ecde=_0x1180bb>0x1?void 0x0:_0x1180bb?_0x223ff4(_0x21dd43,_0x3b64de):_0x21dd43,_0x279a77=_0x1f28d9['length']-0x1,_0x1c29d0;_0x279a77>=0x0;_0x279a77--)(_0x1c29d0=_0x1f28d9[_0x279a77])&&(_0x10ecde=_0x1c29d0(_0x10ecde)||_0x10ecde);return _0x10ecde;},_0x4735ea=(_0x31e508,_0xfdf706)=>(_0x56d2eb,_0xd357cc)=>_0xfdf706(_0x56d2eb,_0xd357cc,_0x31e508);let _0x45f5c1=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x18668b,_0x428bde){const _0x32bcab=_0x326f66;super(),this[_0x32bcab(0x423)]=_0x18668b,this[_0x32bcab(0x272)]=_0x428bde,this[_0x32bcab(0x440)]();}[_0x326f66(0x440)](){const _0x338159=_0x326f66,_0x2a200f=this;this['disposeWithMe'](this[_0x338159(0x423)][_0x338159(0x181)]({'onBeforePasteImage':async _0x2f873b=>{const _0x2103d6=_0x338159,_0x3131ab=await _0x2a200f[_0x2103d6(0x272)][_0x2103d6(0x3f1)](_0x2f873b);return _0x3131ab?{'source':_0x3131ab[_0x2103d6(0x1fd)],'imageSourceType':_0x3131ab[_0x2103d6(0x33e)]}:null;}}));}};_0x45f5c1=_0x2e84f8([_0x4735ea(0x0,_0x17664f[_0x326f66(0x34e)]),_0x4735ea(0x1,_0x136636[_0x326f66(0x2df)])],_0x45f5c1);const _0x3e6f84=[_0x326f66(0x35f),'jiqing.500',_0x326f66(0x26f),_0x326f66(0x234),_0x326f66(0x23e),_0x326f66(0x43c)];class _0xe0d8fb extends _0x43d412[_0x326f66(0x1e0)]{constructor(){const _0x1e883b=_0x326f66;super(...arguments),_0xe37f1(this,_0x1e883b(0x1e9),new Map()),_0xe37f1(this,_0x1e883b(0x309),0x0);}[_0x326f66(0x38c)](_0x85ebe3){const _0x2ff489=_0x326f66;if(this[_0x2ff489(0x1e9)][_0x2ff489(0x2f5)](_0x85ebe3))return this[_0x2ff489(0x1e9)][_0x2ff489(0x435)](_0x85ebe3);const _0x46189b=_0x3e6f84[this['_colorIndex']];return this[_0x2ff489(0x309)]=(this[_0x2ff489(0x309)]+0x1)%_0x3e6f84[_0x2ff489(0x41e)],this[_0x2ff489(0x1e9)][_0x2ff489(0x1f7)](_0x85ebe3,_0x46189b),_0x46189b;}}function _0x3574b4(_0x335c88){let _0x62c82e='';for(const _0x44074e of _0x335c88){const {startOffset:_0x4df724,endOffset:_0x85fe2e,isActive:_0xba1ca,rangeType:_0x3871c8,segmentId:_0x52e53c,segmentPage:_0x231687}=_0x44074e;_0x62c82e['length']&&(_0x62c82e+=','),_0x62c82e+=_0x4df724+':'+_0x85fe2e+':'+(_0xba1ca?'1':'0')+':'+_0x3871c8+':'+_0x52e53c+':'+_0x231687;}return _0x62c82e;}function _0x462164(_0x1b12c1){const _0x1b1cae=_0x326f66,_0x27a31e=_0x1b12c1['split'](','),_0x5d4a68=[];for(const _0x3a0aae of _0x27a31e){const [_0x2416bc,_0x3bb530,_0xed1d,_0x1de989,_0x5d1268,_0x1486eb]=_0x3a0aae['split'](':');_0x5d4a68[_0x1b1cae(0x29f)]({'startOffset':Number(_0x2416bc),'endOffset':Number(_0x3bb530),'collapsed':_0x2416bc===_0x3bb530,'isActive':_0xed1d==='1','rangeType':_0x1de989===_0x43d412['DOC_RANGE_TYPE'][_0x1b1cae(0x413)]?_0x43d412['DOC_RANGE_TYPE'][_0x1b1cae(0x413)]:_0x43d412[_0x1b1cae(0x44f)][_0x1b1cae(0x323)],'segmentId':typeof _0x5d1268==_0x1b1cae(0x22a)?String(_0x5d1268):'','segmentPage':Number(_0x1486eb!=null?_0x1486eb:-0x1)});}return _0x5d4a68[_0x1b1cae(0x2a0)](_0x281a0a=>_0x281a0a[_0x1b1cae(0x207)])||(_0x5d4a68[0x0][_0x1b1cae(0x207)]=!0x0),_0x5d4a68;}class _0x557965 extends _0x43d412['RxDisposable']{constructor(){const _0x2f1fa0=_0x326f66;super(...arguments),_0xe37f1(this,_0x2f1fa0(0x2b9),new _0x7c0c7e[(_0x2f1fa0(0x225))](null)),_0xe37f1(this,_0x2f1fa0(0x258),this[_0x2f1fa0(0x2b9)][_0x2f1fa0(0x346)]());}[_0x326f66(0x297)](_0xf3fb6f){const _0x3f6c27=_0x326f66,{unitID:_0x210f8b,memberID:_0x5a95a9,textRanges:_0x34b507}=_0xf3fb6f,_0x53e95a=_0x3574b4(_0x34b507);if(_0x53e95a==='')return;const _0x20392e={'unitID':_0x210f8b,'memberID':_0x5a95a9,'selection':_0x53e95a};this[_0x3f6c27(0x2b9)][_0x3f6c27(0x29d)](_0x20392e);}}var _0x105998=Object[_0x326f66(0x294)],_0x27d49c=(_0x1d26a1,_0x4745be,_0x1b9b69,_0x328c62)=>{const _0x4c1b6b=_0x326f66;for(var _0x114ed6=_0x328c62>0x1?void 0x0:_0x328c62?_0x105998(_0x4745be,_0x1b9b69):_0x4745be,_0x4641f3=_0x1d26a1[_0x4c1b6b(0x41e)]-0x1,_0x290453;_0x4641f3>=0x0;_0x4641f3--)(_0x290453=_0x1d26a1[_0x4641f3])&&(_0x114ed6=_0x290453(_0x114ed6)||_0x114ed6);return _0x114ed6;},_0x197128=(_0x5cf9b,_0x47aa5b)=>(_0x4ea840,_0x2457bc)=>_0x47aa5b(_0x4ea840,_0x2457bc,_0x5cf9b);const _0x3fa13b=0x12c,_0x2f488a=0x64;let _0x29000d=class extends _0x43d412['RxDisposable']{constructor(_0x3be51e,_0x4b2209,_0x31d514,_0x41bc6d,_0x469ec4,_0x1a3374,_0xac6afb,_0x8e5d11,_0xaaa32d){const _0x17e16e=_0x326f66;super(),_0xe37f1(this,_0x17e16e(0x280),!0x1),_0xe37f1(this,_0x17e16e(0x440),!0x1),_0xe37f1(this,_0x17e16e(0x2d6),new _0x7c0c7e[(_0x17e16e(0x225))](new Map())),_0xe37f1(this,_0x17e16e(0x1fc),this[_0x17e16e(0x2d6)]['asObservable']()),_0xe37f1(this,_0x17e16e(0x230),new _0x7c0c7e[(_0x17e16e(0x225))]([])),_0xe37f1(this,_0x17e16e(0x36a),this[_0x17e16e(0x230)][_0x17e16e(0x276)](_0x7c0c7e['debounceTime'](_0x3fa13b))),_0xe37f1(this,_0x17e16e(0x210),_0x43d412[_0x17e16e(0x363)](_0x39ffc5=>{const _0x207db7=_0x17e16e,_0x328b58={'eventID':_0x399202[_0x207db7(0x214)][_0x207db7(0x31e)],'data':{'unitID':this['unitID'],'memberID':this[_0x207db7(0x33d)][_0x207db7(0x3fa)](),'selection':_0x3574b4(_0x39ffc5)}};this[_0x207db7(0x33d)]['send'](_0x328b58,this[_0x207db7(0x248)]);},_0x2f488a)),(this[_0x17e16e(0x248)]=_0x3be51e,this['_session']=_0x4b2209,this[_0x17e16e(0x1d5)]=_0x31d514,this[_0x17e16e(0x1b8)]=_0x41bc6d,this[_0x17e16e(0x1a2)]=_0x469ec4,this[_0x17e16e(0x275)]=_0x1a3374,this[_0x17e16e(0x33b)]=_0xac6afb,this[_0x17e16e(0x27a)]=_0x8e5d11,this[_0x17e16e(0x1cb)]=_0xaaa32d);}get[_0x326f66(0x1a8)](){const _0x52ecdd=_0x326f66;return this[_0x52ecdd(0x2d6)][_0x52ecdd(0x374)]();}get[_0x326f66(0x3d7)](){const _0x15e335=_0x326f66;return this[_0x15e335(0x230)][_0x15e335(0x374)]();}['dispose'](){const _0x4afbc9=_0x326f66;super[_0x4afbc9(0x394)](),this['_cursorInfo$'][_0x4afbc9(0x29d)](new Map()),this[_0x4afbc9(0x2d6)][_0x4afbc9(0x29e)](),this[_0x4afbc9(0x230)]['next']([]),this[_0x4afbc9(0x230)][_0x4afbc9(0x29e)]();}[_0x326f66(0x41a)](){const _0x46bafd=_0x326f66;this[_0x46bafd(0x440)]||(this[_0x46bafd(0x440)]=!0x0,this[_0x46bafd(0x33d)][_0x46bafd(0x23d)][_0x46bafd(0x276)](_0x7c0c7e[_0x46bafd(0x246)](this['dispose$']))['subscribe'](_0x950d80=>{const _0x20d57b=_0x46bafd;_0x950d80===_0x322f7a['SessionStatus'][_0x20d57b(0x3c5)]?this[_0x20d57b(0x42f)]():this['_toggleOffline']();}),this[_0x46bafd(0x33d)][_0x46bafd(0x2f3)]['pipe'](_0x7c0c7e[_0x46bafd(0x246)](this[_0x46bafd(0x189)]))[_0x46bafd(0x257)](_0x2275ad=>{const _0x12a49e=_0x46bafd,_0x5ee3df=_0x2275ad['eventID'];_0x5ee3df===_0x399202['CollaborationEvent'][_0x12a49e(0x31e)]&&this[_0x12a49e(0x3de)](_0x2275ad),_0x5ee3df===_0x399202[_0x12a49e(0x214)][_0x12a49e(0x361)]&&this['_onCursorDelete'](_0x2275ad);}),this[_0x46bafd(0x3f4)](this[_0x46bafd(0x1cb)][_0x46bafd(0x34c)](_0x49bf22=>{const _0x36cffd=_0x46bafd,_0x42c41d=_0x49bf22[_0x36cffd(0x343)];_0x42c41d!=null&&this[_0x36cffd(0x280)]&&_0x49bf22['id']===_0x18b0ac['SetTextSelectionsOperation']['id']&&_0x42c41d[_0x36cffd(0x299)]===this['unitID']&&_0x42c41d[_0x36cffd(0x267)]===!0x1&&_0x42c41d['ranges'][_0x36cffd(0x41e)]>0x0&&this[_0x36cffd(0x210)](_0x42c41d[_0x36cffd(0x3ce)]);})),this[_0x46bafd(0x275)][_0x46bafd(0x258)][_0x46bafd(0x276)](_0x7c0c7e[_0x46bafd(0x246)](this[_0x46bafd(0x189)]))[_0x46bafd(0x257)](_0xac346a=>{const _0x494b22=_0x46bafd;if((_0xac346a==null?void 0x0:_0xac346a[_0x494b22(0x248)])!==this[_0x494b22(0x248)])return;const _0x71fe9d={'eventID':_0x399202[_0x494b22(0x214)]['UPDATE_CURSOR'],'data':_0xac346a};this[_0x494b22(0x3de)](_0x71fe9d);}),this[_0x46bafd(0x3f4)](this[_0x46bafd(0x1cb)][_0x46bafd(0x34c)](_0x395f1a=>{const _0x14b4d3=_0x46bafd;if(_0x395f1a[_0x14b4d3(0x343)]==null)return;const _0x40b586=_0x395f1a[_0x14b4d3(0x343)];if(_0x395f1a['id']!==_0x18b0ac['RichTextEditingMutation']['id']||_0x40b586[_0x14b4d3(0x299)]!==this[_0x14b4d3(0x248)])return;const _0x45d9c7={'id':_0x14b4d3(0x395),'params':_0x40b586},_0x52f167=this[_0x14b4d3(0x1a8)];for(const [_0x2bc828,_0x1f2237]of _0x52f167){const _0x4bdc68={'id':_0x14b4d3(0x395),'params':{'unitId':this[_0x14b4d3(0x248)],'actions':null,'textRanges':_0x1f2237[_0x14b4d3(0x3ce)]}},_0x464965=this[_0x14b4d3(0x33b)][_0x14b4d3(0x18f)](_0x45d9c7,_0x4bdc68,!0x1);if(_0x399202['isTransformMutationFailure'](_0x464965))throw _0x464965[_0x14b4d3(0x3a5)];_0x52f167[_0x14b4d3(0x1f7)](_0x2bc828,{..._0x1f2237,'ranges':_0x464965[_0x14b4d3(0x1de)][_0x14b4d3(0x343)][_0x14b4d3(0x2a3)]});}queueMicrotask(()=>{const _0x70930a=_0x14b4d3;this[_0x70930a(0x2d6)][_0x70930a(0x29d)](_0x52f167);});})));}[_0x326f66(0x3de)](_0x4afae8){const _0x2bece8=_0x326f66;var _0x60d295,_0x305fa3;const {memberID:_0x5c57b6,selection:_0x11d62f}=_0x4afae8[_0x2bece8(0x254)],_0x204d8e=_0x462164(_0x11d62f),_0x4deece=(_0x305fa3=(_0x60d295=this[_0x2bece8(0x1a2)][_0x2bece8(0x3f0)](this[_0x2bece8(0x248)],_0x5c57b6))==null?void 0x0:_0x60d295['name'])!=null?_0x305fa3:_0x2bece8(0x3a1),_0x5a670a={'color':this[_0x2bece8(0x1b8)]['assignAColorForMemberID'](_0x5c57b6),'name':_0x4deece,'ranges':_0x204d8e},_0x1de418=this['cursorInfo'];_0x1de418[_0x2bece8(0x1f7)](_0x5c57b6,_0x5a670a),this[_0x2bece8(0x2d6)][_0x2bece8(0x29d)](_0x1de418);}[_0x326f66(0x3db)](_0x4002ec){const _0x73262=_0x326f66,{memberID:_0x59270d}=_0x4002ec[_0x73262(0x254)],_0x348f32=this[_0x73262(0x1a8)];_0x348f32[_0x73262(0x420)](_0x59270d),this['_cursorInfo$'][_0x73262(0x29d)](_0x348f32);}['_toggleOnline'](){const _0x260c80=_0x326f66;var _0x47fd9f;if(this['_online']=!0x0,((_0x47fd9f=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x47fd9f['getUnitId']())!==this[_0x260c80(0x248)])return;const _0x17c1fe=this[_0x260c80(0x1d5)][_0x260c80(0x435)](_0x18b0ac['DocSelectionManagerService'])[_0x260c80(0x3f3)]();Array[_0x260c80(0x3cb)](_0x17c1fe)&&_0x17c1fe[_0x260c80(0x41e)]>0x0&&this[_0x260c80(0x210)](_0x17c1fe);}[_0x326f66(0x42a)](){const _0x1d2014=_0x326f66;this[_0x1d2014(0x280)]=!0x1;}};_0x29000d=_0x27d49c([_0x197128(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412['Injector'])),_0x197128(0x3,_0x43d412[_0x326f66(0x184)](_0xe0d8fb)),_0x197128(0x4,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x24f)])),_0x197128(0x5,_0x43d412[_0x326f66(0x184)](_0x557965)),_0x197128(0x6,_0x399202['ITransformService']),_0x197128(0x7,_0x43d412[_0x326f66(0x378)]),_0x197128(0x8,_0x43d412['ICommandService'])],_0x29000d);var _0x5109d1=Object['getOwnPropertyDescriptor'],_0x17b041=(_0x13aa1c,_0x16fe88,_0x527211,_0x45d839)=>{for(var _0x367697=_0x45d839>0x1?void 0x0:_0x45d839?_0x5109d1(_0x16fe88,_0x527211):_0x16fe88,_0x389d26=_0x13aa1c['length']-0x1,_0x18f780;_0x389d26>=0x0;_0x389d26--)(_0x18f780=_0x13aa1c[_0x389d26])&&(_0x367697=_0x18f780(_0x367697)||_0x367697);return _0x367697;},_0x14ec24=(_0x1b1e7f,_0x47f237)=>(_0xc90d68,_0x112f2a)=>_0x47f237(_0xc90d68,_0x112f2a,_0x1b1e7f);const _0x3884c6=0x12c,_0x175197=0x64,_0x5b9b84=()=>{let _0x23328a=[],_0xff0e0e=!0x1;return _0x3c9840=>{const _0x1641d3=_0x506f;_0x23328a[_0x1641d3(0x29f)](_0x3c9840),_0xff0e0e||(_0xff0e0e=!0x0,setTimeout(()=>{const _0x156c24=_0x1641d3;_0x23328a[_0x156c24(0x318)](_0x25f137=>_0x25f137()),_0x23328a=[],_0xff0e0e=!0x1;}));};};let _0x3137ba=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x11208b,_0x1f0d4c,_0x20d12e,_0x4047cb,_0x3b215d,_0x1817b8,_0x13e925,_0xa65b74){const _0x1826f2=_0x326f66;super(),_0xe37f1(this,'_online',!0x1),_0xe37f1(this,_0x1826f2(0x440),!0x1),_0xe37f1(this,_0x1826f2(0x2d6),new _0x7c0c7e[(_0x1826f2(0x225))](new Map())),_0xe37f1(this,_0x1826f2(0x1fc),this[_0x1826f2(0x2d6)][_0x1826f2(0x346)]()),_0xe37f1(this,'_roomMembers$',new _0x7c0c7e[(_0x1826f2(0x225))]([])),_0xe37f1(this,_0x1826f2(0x36a),this[_0x1826f2(0x230)][_0x1826f2(0x276)](_0x7c0c7e['debounceTime'](_0x3884c6))),_0xe37f1(this,_0x1826f2(0x210),_0x43d412[_0x1826f2(0x363)]((_0xe0026b,_0xc1a362)=>{const _0x28d51a=_0x1826f2,_0x4b0d96={'eventID':_0x399202[_0x28d51a(0x214)][_0x28d51a(0x31e)],'data':{'unitID':this[_0x28d51a(0x248)],'memberID':this['_session'][_0x28d51a(0x3fa)](),'selection':_0x49d49e[_0x28d51a(0x3cf)](_0xe0026b,_0xc1a362[_0x28d51a(0x1eb)])}};this[_0x28d51a(0x33d)][_0x28d51a(0x2c9)](_0x4b0d96,this[_0x28d51a(0x248)]);},_0x175197)),(this['unitID']=_0x11208b,this[_0x1826f2(0x33d)]=_0x1f0d4c,this['_injector']=_0x20d12e,this[_0x1826f2(0x1b8)]=_0x4047cb,this['_memberService']=_0x3b215d,this['_univerInstanceService']=_0x1817b8,this[_0x1826f2(0x1cb)]=_0x13e925,this[_0x1826f2(0x1a0)]=_0xa65b74);}get[_0x326f66(0x1a8)](){const _0x23ef9a=_0x326f66;return this[_0x23ef9a(0x2d6)][_0x23ef9a(0x374)]();}get[_0x326f66(0x3d7)](){return this['_roomMembers$']['getValue']();}[_0x326f66(0x394)](){const _0x280cd8=_0x326f66;super['dispose'](),this[_0x280cd8(0x2d6)][_0x280cd8(0x29d)](new Map()),this['_cursorInfo$'][_0x280cd8(0x29e)](),this['_roomMembers$'][_0x280cd8(0x29d)]([]),this['_roomMembers$'][_0x280cd8(0x29e)]();}[_0x326f66(0x41a)](){const _0x3d7f11=_0x326f66;this[_0x3d7f11(0x440)]||(this['_init']=!0x0,this[_0x3d7f11(0x33d)][_0x3d7f11(0x23d)][_0x3d7f11(0x276)](_0x7c0c7e[_0x3d7f11(0x246)](this[_0x3d7f11(0x189)]))[_0x3d7f11(0x257)](_0x4cfce4=>{const _0x5f5b93=_0x3d7f11;_0x4cfce4===_0x322f7a[_0x5f5b93(0x31c)][_0x5f5b93(0x3c5)]?this[_0x5f5b93(0x42f)]():this[_0x5f5b93(0x42a)]();}),this[_0x3d7f11(0x33d)][_0x3d7f11(0x2f3)][_0x3d7f11(0x276)](_0x7c0c7e[_0x3d7f11(0x246)](this[_0x3d7f11(0x189)]))[_0x3d7f11(0x257)](_0x5efa60=>{const _0x3066b6=_0x3d7f11,_0xa3f497=_0x5efa60[_0x3066b6(0x387)];_0xa3f497===_0x399202[_0x3066b6(0x214)]['UPDATE_CURSOR']&&this[_0x3066b6(0x3de)](_0x5efa60),_0xa3f497===_0x399202[_0x3066b6(0x214)][_0x3066b6(0x361)]&&this[_0x3066b6(0x3db)](_0x5efa60);}),this[_0x3d7f11(0x330)](),this['disposeWithMe'](this[_0x3d7f11(0x1cb)]['onCommandExecuted'](_0x5a5166=>{const _0x5690ff=_0x3d7f11;if(this[_0x5690ff(0x280)]&&_0x5a5166['id']===_0x54f415[_0x5690ff(0x268)]['id']&&_0x5a5166[_0x5690ff(0x343)][_0x5690ff(0x299)]===this[_0x5690ff(0x248)]){const _0x3f5d01=_0x5a5166[_0x5690ff(0x343)];this[_0x5690ff(0x210)](_0x3f5d01[_0x5690ff(0x221)],_0x3f5d01['selections'][0x0]);}})));}[_0x326f66(0x3de)](_0x48a199){const _0x1bcee5=_0x326f66;var _0x52628a,_0x4f7ea8;const {memberID:_0x5d1a94,selection:_0xe33800}=_0x48a199[_0x1bcee5(0x254)],{sheetName:_0x53887b,range:_0x10d5c8}=_0x49d49e[_0x1bcee5(0x397)](_0xe33800),_0x1304d9={'name':(_0x4f7ea8=(_0x52628a=this[_0x1bcee5(0x1a2)][_0x1bcee5(0x3f0)](this[_0x1bcee5(0x248)],_0x5d1a94))==null?void 0x0:_0x52628a[_0x1bcee5(0x3aa)])!=null?_0x4f7ea8:_0x1bcee5(0x3a1),'range':this[_0x1bcee5(0x410)](_0x53887b,_0x10d5c8),'sheetID':_0x53887b,'color':this[_0x1bcee5(0x1b8)][_0x1bcee5(0x38c)](_0x5d1a94),'selection':_0xe33800},_0x4d392b=this[_0x1bcee5(0x1a8)];_0x4d392b['set'](_0x5d1a94,_0x1304d9),this[_0x1bcee5(0x2d6)][_0x1bcee5(0x29d)](_0x4d392b);}[_0x326f66(0x3db)](_0x41a374){const _0x208145=_0x326f66,{memberID:_0x354efe}=_0x41a374['data'],_0xe1b59c=this[_0x208145(0x1a8)];_0xe1b59c[_0x208145(0x420)](_0x354efe),this[_0x208145(0x2d6)][_0x208145(0x29d)](_0xe1b59c);}['_getMergeRange'](_0x3b2b5c,_0xe0633){const _0x4d1942=_0x326f66;var _0x4521c3,_0x5fbea4;const _0x1a550c=(_0x5fbea4=(_0x4521c3=this[_0x4d1942(0x27a)][_0x4d1942(0x201)](this[_0x4d1942(0x248)]))==null?void 0x0:_0x4521c3['getSheetBySheetId'](_0x3b2b5c))==null?void 0x0:_0x5fbea4[_0x4d1942(0x2ed)]();return(_0x1a550c==null?void 0x0:_0x1a550c[_0x4d1942(0x224)](_0x236f3a=>_0x43d412['Rectangle']['contains'](_0x236f3a,_0xe0633)))||_0xe0633;}[_0x326f66(0x330)](){const _0x1003b2=_0x326f66,_0x5e20f8=new _0x43d412['DisposableCollection'](),_0x33a2e2=_0x5b9b84(),_0x2d2687=()=>{const _0x3c4ac3=_0x506f;_0x5e20f8[_0x3c4ac3(0x394)]();const _0x339320=(_0x3a1d10,_0x13a996,_0x191402,_0x4b53ac)=>{const _0x2ef126=_0x3c4ac3;let _0x499ec1=[];switch(_0x3a1d10['id']){case _0x54f415[_0x2ef126(0x3c6)]['DeleteRangeMoveLeftCommandId']:{_0x499ec1=_0x54f415[_0x2ef126(0x425)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x3d6)]:{_0x499ec1=_0x54f415[_0x2ef126(0x3d8)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x349)]:{_0x499ec1=_0x54f415['handleInsertCol'](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x303)]:{_0x499ec1=_0x54f415[_0x2ef126(0x191)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x2d2)]:{_0x499ec1=_0x54f415[_0x2ef126(0x371)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x1d1)]:{_0x499ec1=_0x54f415[_0x2ef126(0x3bb)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)]['MoveRangeCommandId']:{_0x499ec1=_0x54f415[_0x2ef126(0x1ad)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x289)]:{_0x499ec1=_0x54f415[_0x2ef126(0x2ea)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x316)]:{_0x499ec1=_0x54f415['handleIRemoveRow'](_0x3a1d10,_0x4b53ac);break;}}const _0x605697=_0x54f415[_0x2ef126(0x21f)](_0x499ec1,_0x4b53ac),_0x12d19c=this[_0x2ef126(0x1a8)][_0x2ef126(0x435)](_0x13a996);if(_0x12d19c&&_0x605697){const _0xe2158d={..._0x12d19c,'range':_0x605697};this[_0x2ef126(0x1a8)][_0x2ef126(0x1f7)](_0x13a996,_0xe2158d),_0x33a2e2(()=>{const _0xf3b472=_0x2ef126,_0x491e5a=this[_0xf3b472(0x1a0)][_0xf3b472(0x218)](_0x605697,_0x37331b=>(_0x491e5a[_0xf3b472(0x394)](),_0x339320(_0x37331b,_0x13a996,_0x191402,_0x605697)));_0x5e20f8[_0xf3b472(0x20f)](_0x491e5a);});}return{'redos':[],'undos':[]};};this[_0x3c4ac3(0x1a8)][_0x3c4ac3(0x318)]((_0x29bc40,_0xb6a380)=>{const _0x31c6df=_0x3c4ac3,{range:_0x543a66,sheetID:_0x2e0fc5}=_0x29bc40,_0x562d95=this[_0x31c6df(0x1a0)][_0x31c6df(0x218)](_0x543a66,_0x96f9a0=>(_0x562d95[_0x31c6df(0x394)](),_0x339320(_0x96f9a0,_0xb6a380,_0x2e0fc5,_0x543a66)));_0x5e20f8['add'](_0x562d95);});};this[_0x1003b2(0x3f4)](_0x43d412[_0x1003b2(0x3c0)](this[_0x1003b2(0x2d6)][_0x1003b2(0x257)](()=>{_0x2d2687();})));}[_0x326f66(0x42f)](){const _0x1cad4f=_0x326f66;var _0x118eaa,_0x1c757c;if(this[_0x1cad4f(0x280)]=!0x0,((_0x118eaa=this[_0x1cad4f(0x27a)]['getFocusedUnit']())==null?void 0x0:_0x118eaa[_0x1cad4f(0x409)]())!==this[_0x1cad4f(0x248)])return;const _0xd52375=(_0x1c757c=this[_0x1cad4f(0x1d5)][_0x1cad4f(0x435)](_0x54f415[_0x1cad4f(0x43a)])[_0x1cad4f(0x2a7)]())==null?void 0x0:_0x1c757c[0x0],_0x58408f=this[_0x1cad4f(0x27a)][_0x1cad4f(0x352)](_0x43d412[_0x1cad4f(0x1d4)][_0x1cad4f(0x3bc)])[_0x1cad4f(0x1a7)]();_0xd52375&&_0x58408f&&this[_0x1cad4f(0x210)](_0x58408f[_0x1cad4f(0x287)](),_0xd52375);}[_0x326f66(0x42a)](){const _0x29ecab=_0x326f66;this[_0x29ecab(0x280)]=!0x1;}};_0x3137ba=_0x17b041([_0x14ec24(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x14ec24(0x3,_0x43d412['Inject'](_0xe0d8fb)),_0x14ec24(0x4,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x24f)])),_0x14ec24(0x5,_0x43d412[_0x326f66(0x378)]),_0x14ec24(0x6,_0x43d412['ICommandService']),_0x14ec24(0x7,_0x43d412[_0x326f66(0x184)](_0x54f415['RefRangeService']))],_0x3137ba);var _0x41d82d=Object[_0x326f66(0x294)],_0x58c7cd=(_0x132287,_0x4f664e,_0x20a4d2,_0x4ff0b5)=>{for(var _0x3fdb60=_0x4ff0b5>0x1?void 0x0:_0x4ff0b5?_0x41d82d(_0x4f664e,_0x20a4d2):_0x4f664e,_0x513b01=_0x132287['length']-0x1,_0x268cab;_0x513b01>=0x0;_0x513b01--)(_0x268cab=_0x132287[_0x513b01])&&(_0x3fdb60=_0x268cab(_0x3fdb60)||_0x3fdb60);return _0x3fdb60;},_0x186adb=(_0x58b713,_0x20513d)=>(_0x51d0dc,_0x5d7455)=>_0x20513d(_0x51d0dc,_0x5d7455,_0x58b713);let _0x30ef43=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x13f6d7,_0x114a10,_0x3e5fa8){const _0xd7b65f=_0x326f66;super(),_0xe37f1(this,_0xd7b65f(0x321),new Map()),_0xe37f1(this,_0xd7b65f(0x406),new _0x7c0c7e[(_0xd7b65f(0x311))]()),(this[_0xd7b65f(0x27a)]=_0x13f6d7,this[_0xd7b65f(0x1d5)]=_0x114a10,this[_0xd7b65f(0x34a)]=_0x3e5fa8,this['_init']());}[_0x326f66(0x394)](){const _0x4d0077=_0x326f66;super['dispose'](),this[_0x4d0077(0x406)][_0x4d0077(0x29e)](),this[_0x4d0077(0x321)][_0x4d0077(0x318)](_0xfc3ec3=>_0xfc3ec3[_0x4d0077(0x394)]());}[_0x326f66(0x3ed)](_0x212e5f){const _0x6204e9=_0x326f66;return this[_0x6204e9(0x321)][_0x6204e9(0x2f5)](_0x212e5f)?this[_0x6204e9(0x321)][_0x6204e9(0x435)](_0x212e5f)[_0x6204e9(0x1fc)]:this[_0x6204e9(0x406)][_0x6204e9(0x276)](_0x7c0c7e[_0x6204e9(0x29c)](_0x1ed898=>_0x1ed898[_0x6204e9(0x248)]===_0x212e5f),_0x7c0c7e['switchMap'](_0x1e343e=>_0x1e343e[_0x6204e9(0x1fc)]));}[_0x326f66(0x440)](){const _0x5578cd=_0x326f66;this[_0x5578cd(0x27a)][_0x5578cd(0x2af)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3bc)])['pipe'](_0x7c0c7e[_0x5578cd(0x246)](this[_0x5578cd(0x189)]))['subscribe'](async _0x19c6e3=>{const _0x39d688=_0x5578cd,_0x128793=_0x19c6e3[_0x39d688(0x409)](),_0x1f9bed=await this['_startSheetCollabCursor'](_0x128793);this[_0x39d688(0x406)][_0x39d688(0x29d)](_0x1f9bed),this['_entities']['set'](_0x128793,_0x1f9bed);}),this[_0x5578cd(0x27a)][_0x5578cd(0x2af)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3f8)])['pipe'](_0x7c0c7e['takeUntil'](this[_0x5578cd(0x189)]))['pipe'](_0x7c0c7e['filter'](_0x3174cc=>!_0x3174cc[_0x5578cd(0x409)]()['startsWith']('__')))[_0x5578cd(0x257)](async _0x2d050b=>{const _0xbfc562=_0x5578cd,_0x5832b7=_0x2d050b[_0xbfc562(0x409)](),_0x3dd9e2=await this[_0xbfc562(0x1f6)](_0x5832b7);this[_0xbfc562(0x406)][_0xbfc562(0x29d)](_0x3dd9e2),this[_0xbfc562(0x321)]['set'](_0x5832b7,_0x3dd9e2);}),_0x7c0c7e['merge'](this[_0x5578cd(0x27a)]['getTypeOfUnitDisposed$'](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3f8)]),this[_0x5578cd(0x27a)][_0x5578cd(0x314)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3bc)]))['pipe'](_0x7c0c7e['takeUntil'](this[_0x5578cd(0x189)]))[_0x5578cd(0x257)](_0x2a5278=>{const _0x1bea13=_0x5578cd,_0x236488=_0x2a5278[_0x1bea13(0x409)](),_0x1c9e29=this[_0x1bea13(0x321)][_0x1bea13(0x435)](_0x236488);_0x1c9e29&&(_0x1c9e29['dispose'](),this[_0x1bea13(0x321)][_0x1bea13(0x420)](_0x236488));});}async[_0x326f66(0x1bc)](_0x4ab7b4){const _0xeb506b=_0x326f66,_0x25d4ca=await this[_0xeb506b(0x34a)]['requireSession'](_0x4ab7b4),_0x5eb52a=this[_0xeb506b(0x1d5)]['createInstance'](_0x3137ba,_0x4ab7b4,_0x25d4ca);return _0x5eb52a[_0xeb506b(0x41a)](),_0x5eb52a;}async[_0x326f66(0x1f6)](_0x3bad98){const _0x49092e=_0x326f66,_0x16ff05=await this[_0x49092e(0x34a)]['requireSession'](_0x3bad98),_0x2e13c6=this[_0x49092e(0x1d5)][_0x49092e(0x241)](_0x29000d,_0x3bad98,_0x16ff05);return _0x2e13c6[_0x49092e(0x41a)](),_0x2e13c6;}};_0x30ef43=_0x58c7cd([_0x186adb(0x0,_0x43d412['IUniverInstanceService']),_0x186adb(0x1,_0x43d412['Inject'](_0x43d412[_0x326f66(0x403)])),_0x186adb(0x2,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x41d)]))],_0x30ef43);const _0x25c497=0x14,_0x52138b=0xc8,_0x32c3b1=0x4,_0x4cb9f6=0x5;function _0x2eb75b(_0x4ba3a6,_0x5889e1){const _0x2721d1=_0x326f66;let {radius:_0x461085,width:_0x5f51a1,height:_0x53fcf7}=_0x5889e1;_0x461085=_0x461085!=null?_0x461085:0x0,_0x5f51a1=_0x5f51a1!=null?_0x5f51a1:0x1e,_0x53fcf7=_0x53fcf7!=null?_0x53fcf7:0x1e;let _0x4bed39=0x0,_0x413a0c=0x0,_0x1c9f8d=0x0;_0x4bed39=_0x413a0c=_0x1c9f8d=Math[_0x2721d1(0x269)](_0x461085,_0x5f51a1/0x2,_0x53fcf7/0x2),_0x4ba3a6[_0x2721d1(0x419)](),_0x4ba3a6['moveTo'](_0x4bed39,0x0),_0x4ba3a6[_0x2721d1(0x2bb)](_0x5f51a1-_0x413a0c,0x0),_0x4ba3a6[_0x2721d1(0x310)](_0x5f51a1-_0x413a0c,_0x413a0c,_0x413a0c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ba3a6[_0x2721d1(0x2bb)](_0x5f51a1,_0x53fcf7-_0x1c9f8d),_0x4ba3a6[_0x2721d1(0x310)](_0x5f51a1-_0x1c9f8d,_0x53fcf7-_0x1c9f8d,_0x1c9f8d,0x0,Math['PI']/0x2,!0x1),_0x4ba3a6['lineTo'](0x0,_0x53fcf7),_0x4ba3a6[_0x2721d1(0x2bb)](0x0,_0x4bed39),_0x4ba3a6['arc'](_0x4bed39,_0x4bed39,_0x4bed39,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ba3a6[_0x2721d1(0x379)](),_0x5889e1[_0x2721d1(0x3f6)]&&(_0x4ba3a6[_0x2721d1(0x168)](),_0x4ba3a6[_0x2721d1(0x44c)]=_0x5889e1[_0x2721d1(0x3f6)],_0x5889e1[_0x2721d1(0x3ad)]==='evenodd'?_0x4ba3a6[_0x2721d1(0x3f6)](_0x2721d1(0x22e)):_0x4ba3a6[_0x2721d1(0x3f6)](),_0x4ba3a6[_0x2721d1(0x433)]());}class _0x23ab1e extends _0x317937[_0x326f66(0x206)]{constructor(_0x17fc56,_0x4f4b6f){const _0x4cffd3=_0x326f66;super(_0x17fc56,_0x4f4b6f),_0xe37f1(this,_0x4cffd3(0x204)),_0xe37f1(this,'text'),(this[_0x4cffd3(0x204)]=_0x4f4b6f==null?void 0x0:_0x4f4b6f[_0x4cffd3(0x204)],this[_0x4cffd3(0x3b2)]=_0x4f4b6f==null?void 0x0:_0x4f4b6f[_0x4cffd3(0x3b2)]);}static[_0x326f66(0x30c)](_0x588b2a,_0x21d390){const _0x1e8532=_0x326f66,{text:_0x151f3b,color:_0x15a77c}=_0x21d390;_0x588b2a[_0x1e8532(0x168)](),_0x588b2a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x24d6cf=_0x588b2a[_0x1e8532(0x200)](_0x151f3b)[_0x1e8532(0x247)],_0x373fbc=Math[_0x1e8532(0x269)](_0x24d6cf+0x2*_0x32c3b1,_0x52138b);_0x2eb75b(_0x588b2a,{'height':_0x25c497,'radius':0x4,'width':_0x373fbc,'fill':_0x15a77c}),_0x588b2a[_0x1e8532(0x44c)]=_0x1e8532(0x3ba);const _0x26f738=_0x32c3b1,_0x19f718=_0x25c497-_0x4cb9f6,_0x15fc13=_0x52138b-0x2*_0x32c3b1;if(_0x24d6cf>_0x15fc13){let _0x2b8a48='',_0x4cc254=0x0;for(const _0x586009 of _0x151f3b){const _0x11f34a=_0x588b2a[_0x1e8532(0x200)](_0x586009)[_0x1e8532(0x247)];if(_0x4cc254+_0x11f34a<=_0x15fc13-_0x588b2a[_0x1e8532(0x200)](_0x1e8532(0x1b4))[_0x1e8532(0x247)])_0x2b8a48+=_0x586009,_0x4cc254+=_0x11f34a;else{_0x2b8a48+=_0x1e8532(0x1b4);break;}}_0x588b2a[_0x1e8532(0x426)](_0x2b8a48,_0x26f738,_0x19f718);}else _0x588b2a[_0x1e8532(0x426)](_0x151f3b,_0x26f738,_0x19f718);_0x588b2a[_0x1e8532(0x433)]();}[_0x326f66(0x3ae)](_0x27c22b){const _0x525eef=_0x326f66;_0x23ab1e[_0x525eef(0x30c)](_0x27c22b,this);}}const _0x4727a6=_0x326f66(0x256),_0x17b471=_0x326f66(0x1db),_0x237e09=_0x326f66(0x283),_0x4d7ff6=0x6,_0x7ea0dd=1.5,_0x24a554=0x4,_0x41f53a=1.5,_0x16668a='rgba(255,\x20255,\x20255,\x200.01)';class _0x27d2c9{constructor(_0x483827,_0x11ca46,_0x22b939,_0x1688a8){const _0x2cde87=_0x326f66;_0xe37f1(this,_0x2cde87(0x216),[]),_0xe37f1(this,_0x2cde87(0x16c),null),_0xe37f1(this,_0x2cde87(0x20e),null),_0xe37f1(this,_0x2cde87(0x3d2),null),_0xe37f1(this,_0x2cde87(0x1b2),null),_0xe37f1(this,'_eventUnsubscribe',null),(this[_0x2cde87(0x3d1)]=_0x483827,this[_0x2cde87(0x33a)]=_0x11ca46,this['_docSkeleton']=_0x22b939,this[_0x2cde87(0x2b0)]=_0x1688a8,this[_0x2cde87(0x293)]());}set[_0x326f66(0x1ce)](_0x1c8b0d){const _0x2f5837=_0x326f66;_0x1c8b0d?(this[_0x2f5837(0x3d2)]&&this[_0x2f5837(0x3d2)][_0x2f5837(0x1d0)](),this['_textBubble']&&this[_0x2f5837(0x20e)][_0x2f5837(0x2cb)]()):(this['_anchorDot']&&this[_0x2f5837(0x3d2)]['show'](),this[_0x2f5837(0x20e)]&&this[_0x2f5837(0x20e)][_0x2f5837(0x1d0)]());}[_0x326f66(0x394)](){const _0x44b495=_0x326f66;for(const _0x37a80e of this[_0x44b495(0x216)])_0x37a80e[_0x44b495(0x394)]();this['_textBubble']&&this[_0x44b495(0x20e)][_0x44b495(0x394)](),this[_0x44b495(0x3d2)]&&this[_0x44b495(0x3d2)][_0x44b495(0x394)](),this[_0x44b495(0x16c)]&&this['_anchor'][_0x44b495(0x394)](),this[_0x44b495(0x17c)]&&this['_eventUnsubscribe']();}[_0x326f66(0x293)](){const _0x1343c6=_0x326f66;var _0x4f1f24;const {_docSkeleton:_0x2b2781,_document:_0x2ce87c}=this,{color:_0x867a07,name:_0x1cab19,ranges:_0xce4c05}=this[_0x1343c6(0x3d1)],_0x26eb6c=_0x2ce87c[_0x1343c6(0x372)](),{docsLeft:_0x286324,docsTop:_0x380ffe}=_0x26eb6c,_0x20ee91=new _0x17664f[(_0x1343c6(0x2f8))](_0x26eb6c,_0x2b2781);for(const {startOffset:_0x1cb0ce,endOffset:_0x435ba4,rangeType:_0x304e58,segmentId:_0x45f340,segmentPage:_0x5e8f67,collapsed:_0x5e1b9c,isActive:_0x3fcda1}of _0xce4c05){const _0xe1ad0a=_0x2b2781[_0x1343c6(0x215)](_0x1cb0ce,!0x0,_0x45f340,_0x5e8f67);let _0xa4ac07=_0x2b2781['findNodePositionByCharIndex'](_0x435ba4,!0x0,_0x45f340,_0x5e8f67);if(_0xa4ac07==null&&(_0xa4ac07=_0x2b2781[_0x1343c6(0x215)](_0x435ba4-0x1,!0x1,_0x45f340,_0x5e8f67)),_0x3fcda1){const {contentBoxPointGroup:_0x2e074f}=_0x20ee91[_0x1343c6(0x1d8)](_0xa4ac07,_0xa4ac07);if(_0x2e074f[_0x1343c6(0x41e)]===0x0)continue;this['_drawAnchor'](_0x867a07,_0x2e074f,_0x286324,_0x380ffe,_0x1cab19),this[_0x1343c6(0x17c)]=this[_0x1343c6(0x271)]();}if(_0xe1ad0a&&_0xa4ac07){if(_0x304e58===_0x43d412[_0x1343c6(0x44f)][_0x1343c6(0x323)]){const _0x3a2c66=new _0x17664f[(_0x1343c6(0x26a))](_0x26eb6c,_0x2b2781),{pointGroup:_0x2925f1}=(_0x4f1f24=_0x3a2c66[_0x1343c6(0x1d8)](_0xe1ad0a,_0xa4ac07))!=null?_0x4f1f24:{};if(_0x2925f1==null||_0x2925f1['length']===0x0)continue;this['_drawRectRange'](_0x867a07,_0x2925f1,_0x286324,_0x380ffe);}else{if(!_0x5e1b9c){const {borderBoxPointGroup:_0xe4a22f}=_0x20ee91[_0x1343c6(0x1d8)](_0xe1ad0a,_0xa4ac07);if(_0xe4a22f['length']===0x0)continue;this['_drawTextRange'](_0x867a07,_0xe4a22f,_0x286324,_0x380ffe);}}}}}['_drawAnchor'](_0x43f071,_0x38a7ef,_0x3ec7e7,_0x2f9457,_0x20c162){const _0x191584=_0x326f66,_0x1a6b3c=this['_getAnchorBounding'](_0x38a7ef),{left:_0xf6885d,top:_0x5822f5,height:_0x1bcfe1}=_0x1a6b3c,_0x2c9a1a=this[_0x191584(0x2de)](),_0x524a39=_0x41f53a/_0x2c9a1a,_0x24182e=new _0x317937['Rect'](_0x4727a6+_0x43d412[_0x191584(0x332)](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457,'height':_0x1bcfe1,'width':_0x7ea0dd,'fill':_0x43f071||_0x317937['getColor'](_0x43d412['COLORS'][_0x191584(0x3ef)],0x0),'strokeWidth':_0x524a39,'stroke':_0x16668a,'evented':!0x0});this[_0x191584(0x16c)]=_0x24182e,this['_scene'][_0x191584(0x222)](_0x24182e,_0x17664f[_0x191584(0x26c)]);const _0x10e75b=new _0x317937[(_0x191584(0x20d))](_0x4727a6+_0x43d412['generateRandomId'](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457-_0x24a554/0x2,'height':_0x24a554,'width':_0x24a554,'fill':_0x43f071||_0x317937[_0x191584(0x39c)](_0x43d412[_0x191584(0x3c7)][_0x191584(0x3ef)],0x0),'strokeWidth':0x0,'stroke':_0x43f071||_0x317937[_0x191584(0x39c)](_0x43d412['COLORS'][_0x191584(0x3ef)],0x0),'evented':!0x1});this[_0x191584(0x3d2)]=_0x10e75b,this['_scene'][_0x191584(0x222)](_0x10e75b,_0x17664f['TEXT_RANGE_LAYER_INDEX']);const _0x280e5a=new _0x23ab1e(_0x4727a6+_0x43d412[_0x191584(0x332)](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457-_0x25c497,'text':_0x20c162,'color':_0x43f071});this[_0x191584(0x20e)]=_0x280e5a,this[_0x191584(0x33a)][_0x191584(0x222)](_0x280e5a,_0x17664f[_0x191584(0x26c)]),this[_0x191584(0x1ce)]=!0x1;}[_0x326f66(0x271)](){const _0x5f198c=_0x326f66,_0x433518=this[_0x5f198c(0x16c)][_0x5f198c(0x417)][_0x5f198c(0x228)](()=>{const _0x2554b2=_0x5f198c;this[_0x2554b2(0x1ce)]=!0x0;}),_0x3a7574=this[_0x5f198c(0x16c)][_0x5f198c(0x32f)][_0x5f198c(0x228)](()=>{const _0x556668=_0x5f198c;this['_hideTimer']&&clearTimeout(this[_0x556668(0x1b2)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x433518['unsubscribe'](),_0x3a7574['unsubscribe']();};}[_0x326f66(0x262)](_0x743ab2,_0x13a83a,_0x4a9c6d,_0x35063b){const _0x12d65f=_0x326f66,_0xdf1a14=new _0x43d412[(_0x12d65f(0x22d))](_0x743ab2)[_0x12d65f(0x25b)](0.2)[_0x12d65f(0x17a)](),_0x1280e5=new _0x317937[(_0x12d65f(0x306))](_0x17b471+_0x43d412[_0x12d65f(0x332)](_0x4d7ff6),{'pointsGroup':_0x13a83a,'fill':_0xdf1a14||_0x317937['getColor'](_0x43d412[_0x12d65f(0x3c7)][_0x12d65f(0x3ef)],0.2),'left':_0x4a9c6d,'top':_0x35063b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x12d65f(0x29f)](_0x1280e5),this[_0x12d65f(0x33a)][_0x12d65f(0x222)](_0x1280e5,_0x17664f['TEXT_RANGE_LAYER_INDEX']);}[_0x326f66(0x1e7)](_0x438ae8,_0x2b23ef,_0x3e1312,_0x153288){const _0x4ed20e=_0x326f66,_0x2fd524=new _0x43d412[(_0x4ed20e(0x22d))](_0x438ae8)['setAlpha'](0.2)[_0x4ed20e(0x17a)](),_0x41d7f7=new _0x317937[(_0x4ed20e(0x306))](_0x237e09+_0x43d412['generateRandomId'](_0x4d7ff6),{'pointsGroup':_0x2b23ef,'fill':_0x2fd524||_0x317937[_0x4ed20e(0x39c)](_0x43d412[_0x4ed20e(0x3c7)][_0x4ed20e(0x3ef)],0.2),'left':_0x3e1312,'top':_0x153288,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4ed20e(0x29f)](_0x41d7f7),this[_0x4ed20e(0x33a)][_0x4ed20e(0x222)](_0x41d7f7,_0x17664f[_0x4ed20e(0x26c)]);}[_0x326f66(0x37c)](_0x7082e8){const _0x3ec45e=_0x7082e8[0x0],_0x501862=_0x3ec45e[0x0],_0x4b1cb6=_0x3ec45e[0x2],{x:_0x136694,y:_0x230432}=_0x501862,{x:_0x1ef726,y:_0x37aaa4}=_0x4b1cb6;return{'left':_0x136694,'top':_0x230432,'width':_0x1ef726-_0x136694,'height':_0x37aaa4-_0x230432};}[_0x326f66(0x2de)](){const _0x1bb943=_0x326f66,{scaleX:_0x54a581,scaleY:_0x1cb036}=this[_0x1bb943(0x33a)][_0x1bb943(0x223)]();return Math[_0x1bb943(0x220)](_0x54a581,_0x1cb036);}}var _0x2d3673=Object[_0x326f66(0x294)],_0x4e8f5c=(_0x34039b,_0x3a8f6f,_0x5b958e,_0x5d807f)=>{for(var _0x1c321e=_0x5d807f>0x1?void 0x0:_0x5d807f?_0x2d3673(_0x3a8f6f,_0x5b958e):_0x3a8f6f,_0x43552b=_0x34039b['length']-0x1,_0x959736;_0x43552b>=0x0;_0x43552b--)(_0x959736=_0x34039b[_0x43552b])&&(_0x1c321e=_0x959736(_0x1c321e)||_0x1c321e);return _0x1c321e;},_0x30c817=(_0x3361f7,_0x42701c)=>(_0x2462ad,_0x28c699)=>_0x42701c(_0x2462ad,_0x28c699,_0x3361f7);let _0x53898c=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x51818a,_0x1e08d8,_0xd645b7,_0x2335ca,_0x5b90b9){const _0x3b2ce4=_0x326f66;super(),_0xe37f1(this,'_cursorShapes',[]),_0xe37f1(this,'_cursors',[]),(this[_0x3b2ce4(0x339)]=_0x51818a,this['_docSkeletonManagerService']=_0x1e08d8,this[_0x3b2ce4(0x2d8)]=_0xd645b7,this[_0x3b2ce4(0x1cb)]=_0x2335ca,this['_themeService']=_0x5b90b9,this['_init']());}[_0x326f66(0x440)](){const _0x165d39=_0x326f66,_0x1a402d=this[_0x165d39(0x339)][_0x165d39(0x299)],_0x50dbb7=this[_0x165d39(0x43b)];this[_0x165d39(0x3f4)](_0x7c0c7e['combineLatest']([this[_0x165d39(0x2d8)][_0x165d39(0x3ed)](_0x1a402d),this['_themeService'][_0x165d39(0x3b4)]])['pipe'](_0x39fe90[_0x165d39(0x2f4)](([_0x21a6ea,_0x3898b9])=>({'skeleton':_0x50dbb7[_0x165d39(0x357)](),'cursors':[..._0x21a6ea['values']()][_0x165d39(0x24d)](_0x3d7244=>({..._0x3d7244,'color':this[_0x165d39(0x35d)][_0x165d39(0x427)](_0x3d7244[_0x165d39(0x204)])}))})))[_0x165d39(0x257)](_0x41eeee=>{const _0x304862=_0x165d39;if(this['_removeCollabCursors'](),_0x41eeee){const {skeleton:_0xf08cdc,cursors:_0x431fe0}=_0x41eeee;this[_0x304862(0x190)](_0xf08cdc,_0x431fe0);}})),this[_0x165d39(0x2bf)](),this[_0x165d39(0x1c3)]();}['_updateCollabCursors'](_0x1711e2,_0x3eaee1){const _0x51f8f4=_0x326f66,{scene:_0x56f1ef,mainComponent:_0xb7cde4}=this[_0x51f8f4(0x339)],_0x2600b4=_0x3eaee1[_0x51f8f4(0x2f4)](_0x4e8eed=>new _0x27d2c9(_0x4e8eed,_0x56f1ef,_0x1711e2,_0xb7cde4));this[_0x51f8f4(0x2c2)]=_0x2600b4,this[_0x51f8f4(0x2dc)]=_0x3eaee1;}[_0x326f66(0x414)](){const _0x386e87=_0x326f66;this[_0x386e87(0x217)]();const {scene:_0x3e1283,mainComponent:_0x40fe09}=this[_0x386e87(0x339)],_0x48805a=this['_docSkeletonManagerService'][_0x386e87(0x357)](),_0x5f2480=this[_0x386e87(0x2dc)][_0x386e87(0x2f4)](_0x5e892e=>new _0x27d2c9(_0x5e892e,_0x3e1283,_0x48805a,_0x40fe09));this[_0x386e87(0x2c2)]=_0x5f2480;}[_0x326f66(0x217)](){const _0x427c57=_0x326f66;this[_0x427c57(0x2c2)][_0x427c57(0x318)](_0x936d50=>_0x936d50[_0x427c57(0x394)]()),this[_0x427c57(0x2c2)]=[];}['_initCommandExecutedListener'](){const _0x1c6dee=_0x326f66,_0x1065fb=[_0x17664f['SetDocZoomRatioOperation']['id']];this[_0x1c6dee(0x3f4)](this[_0x1c6dee(0x1cb)]['onCommandExecuted'](_0x90c332=>{const _0xb83a98=_0x1c6dee;_0x1065fb['includes'](_0x90c332['id'])&&_0x90c332[_0xb83a98(0x343)][_0xb83a98(0x299)]===this[_0xb83a98(0x339)][_0xb83a98(0x299)]&&this[_0xb83a98(0x414)]();}));}[_0x326f66(0x2bf)](){const _0x29ee12=_0x326f66;this[_0x29ee12(0x3f4)](_0x43d412[_0x29ee12(0x1be)](this[_0x29ee12(0x339)]['engine'][_0x29ee12(0x338)])[_0x29ee12(0x276)](_0x39fe90['filter'](_0xdddaa2=>_0xdddaa2[_0x29ee12(0x1e4)]===_0x317937[_0x29ee12(0x34f)]['resize']),_0x39fe90['throttleTime'](0x10))[_0x29ee12(0x257)](()=>{const _0x16ccdc=_0x29ee12;this[_0x16ccdc(0x414)]();}));}};_0x53898c=_0x4e8f5c([_0x30c817(0x1,_0x43d412[_0x326f66(0x184)](_0x18b0ac[_0x326f66(0x205)])),_0x30c817(0x2,_0x43d412[_0x326f66(0x184)](_0x30ef43)),_0x30c817(0x3,_0x43d412[_0x326f66(0x194)]),_0x30c817(0x4,_0x43d412['Inject'](_0x43d412['ThemeService']))],_0x53898c);const _0x5e2402=0x1,_0x5bf623=1.5;class _0x21a13a extends _0x317937[_0x326f66(0x206)]{constructor(_0x258280,_0x4f7eb5){const _0x1a30b5=_0x326f66;super(_0x258280,_0x4f7eb5),_0xe37f1(this,_0x1a30b5(0x399)),_0xe37f1(this,_0x1a30b5(0x351),!0x1),_0xe37f1(this,_0x1a30b5(0x279)),_0xe37f1(this,_0x1a30b5(0x1d6),''),_0xe37f1(this,_0x1a30b5(0x21a),_0x1a30b5(0x3e7)),_0xe37f1(this,_0x1a30b5(0x2ec)),(_0x4f7eb5&&this['setShapeProps'](_0x4f7eb5),this[_0x1a30b5(0x417)][_0x1a30b5(0x228)](()=>this[_0x1a30b5(0x2e8)]({'hovered':!0x0})),this[_0x1a30b5(0x32f)][_0x1a30b5(0x228)](()=>this[_0x1a30b5(0x2e8)]({'hovered':!0x1})));}[_0x326f66(0x2e8)](_0x3dad20){const _0x1cc553=_0x326f66;var _0x2a5585,_0x28b097,_0x46e686,_0x240855,_0x4c4855,_0x16e010;this[_0x1cc553(0x399)]=(_0x2a5585=_0x3dad20['color'])!=null?_0x2a5585:this[_0x1cc553(0x399)],this[_0x1cc553(0x351)]=(_0x28b097=_0x3dad20['hovered'])!=null?_0x28b097:this[_0x1cc553(0x351)],this['_range']=(_0x46e686=_0x3dad20[_0x1cc553(0x1eb)])!=null?_0x46e686:this[_0x1cc553(0x279)],this[_0x1cc553(0x1d6)]=(_0x240855=_0x3dad20[_0x1cc553(0x3aa)])!=null?_0x240855:this['_name'],this[_0x1cc553(0x21a)]=(_0x4c4855=_0x3dad20[_0x1cc553(0x407)])!=null?_0x4c4855:this[_0x1cc553(0x21a)],this['_backgroundColor']=(_0x16e010=_0x3dad20['backgroundColor'])!=null?_0x16e010:this[_0x1cc553(0x2ec)],this['transformByState']({'width':_0x3dad20[_0x1cc553(0x247)],'height':_0x3dad20['height']});}[_0x326f66(0x1e1)](_0xdd889f){const _0x2a590a=_0x326f66,{row:_0x1f6128,column:_0xfd292e}=_0xdd889f;if(_0x1f6128>=this[_0x2a590a(0x279)][_0x2a590a(0x369)]&&_0x1f6128<=this[_0x2a590a(0x279)]['endRow']&&_0xfd292e>=this[_0x2a590a(0x279)][_0x2a590a(0x19f)]&&_0xfd292e<=this[_0x2a590a(0x279)][_0x2a590a(0x1e2)]){this[_0x2a590a(0x2e8)]({'hovered':!0x0});return;}this[_0x2a590a(0x2e8)]({'hovered':!0x1});}[_0x326f66(0x296)](_0x55cbf6){return!0x1;}['_draw'](_0x5468c5){const _0x4a65f0=_0x326f66;_0x317937['Rect'][_0x4a65f0(0x30c)](_0x5468c5,{'width':this[_0x4a65f0(0x247)],'height':this[_0x4a65f0(0x32d)],'strokeWidth':_0x5bf623,'stroke':this[_0x4a65f0(0x399)],'evented':!0x1,'fill':this[_0x4a65f0(0x2ec)]}),this[_0x4a65f0(0x351)]&&(_0x5468c5[_0x4a65f0(0x168)](),_0x5468c5[_0x4a65f0(0x21c)](0x1,0x0,0x0,0x1,this[_0x4a65f0(0x247)],this['_labelPosition']===_0x4a65f0(0x428)?0x0:-_0x25c497),_0x23ab1e[_0x4a65f0(0x30c)](_0x5468c5,{'text':this[_0x4a65f0(0x1d6)],'color':this[_0x4a65f0(0x399)]}),_0x5468c5[_0x4a65f0(0x433)]());}}var _0x12c06d=Object['getOwnPropertyDescriptor'],_0x39c8af=(_0x4079c8,_0x3bce49,_0x2c16f2,_0x842289)=>{const _0x1a3111=_0x326f66;for(var _0x4fd0bb=_0x842289>0x1?void 0x0:_0x842289?_0x12c06d(_0x3bce49,_0x2c16f2):_0x3bce49,_0x255a70=_0x4079c8[_0x1a3111(0x41e)]-0x1,_0x13942b;_0x255a70>=0x0;_0x255a70--)(_0x13942b=_0x4079c8[_0x255a70])&&(_0x4fd0bb=_0x13942b(_0x4fd0bb)||_0x4fd0bb);return _0x4fd0bb;},_0x1061c7=(_0x35f9f8,_0x2e68fc)=>(_0x1339ff,_0x400205)=>_0x2e68fc(_0x1339ff,_0x400205,_0x35f9f8);const _0x5f1d6c=0x1389;let _0x29b976=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x4850df,_0x610164,_0x5c4ae9,_0xfccddb){const _0x5c8faa=_0x326f66;super(),_0xe37f1(this,'_cursors',new Set()),_0xe37f1(this,_0x5c8faa(0x3af),null),(this[_0x5c8faa(0x339)]=_0x4850df,this[_0x5c8faa(0x255)]=_0x610164,this[_0x5c8faa(0x2d8)]=_0x5c4ae9,this[_0x5c8faa(0x35d)]=_0xfccddb,this[_0x5c8faa(0x440)]());}['_init'](){const _0x244e9d=_0x326f66;this[_0x244e9d(0x255)][_0x244e9d(0x250)][_0x244e9d(0x276)](_0x39fe90[_0x244e9d(0x246)](this[_0x244e9d(0x189)]),_0x39fe90[_0x244e9d(0x353)](_0x529be3=>{const _0x4ccdc1=_0x244e9d;if(_0x529be3){const _0xd070c9=_0x529be3[_0x4ccdc1(0x1c7)];return _0x7c0c7e[_0x4ccdc1(0x40c)](this[_0x4ccdc1(0x2d8)][_0x4ccdc1(0x3ed)](this[_0x4ccdc1(0x339)][_0x4ccdc1(0x299)]),this[_0x4ccdc1(0x35d)]['currentTheme$'])[_0x4ccdc1(0x276)](_0x39fe90['map'](([_0x52fdd9,_0x42ccc0])=>{const _0x335452=new Map();return _0x52fdd9['forEach']((_0x407792,_0x39b51f)=>{const _0x472c92=_0x506f;if(_0x407792[_0x472c92(0x173)]===_0xd070c9){const _0x32b21f={..._0x407792};_0x32b21f['color']=this[_0x472c92(0x35d)]['getColorFromTheme'](_0x407792[_0x472c92(0x204)]),_0x335452[_0x472c92(0x1f7)](_0x39b51f,_0x32b21f);}}),{'skeleton':_0x529be3,'cursors':_0x335452};}));}return _0x7c0c7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x244e9d(0x257)](({skeleton:_0x32e6f4,cursors:_0x27a574})=>{const _0x5158e8=_0x244e9d;this[_0x5158e8(0x217)](),_0x32e6f4&&this['_updateCollabCursors'](_0x32e6f4,_0x27a574);}),this['_sheetSkeletonManagerService'][_0x244e9d(0x250)]['subscribe'](_0x2e3bd=>{const _0x5be29e=_0x244e9d;if(_0x2e3bd==null)return;const {skeleton:_0x114bfb}=_0x2e3bd,{scene:_0x496cb1}=this[_0x5be29e(0x339)];_0x496cb1[_0x5be29e(0x28c)][_0x5be29e(0x228)](_0x43d412[_0x5be29e(0x363)](_0x4d92c6=>{const _0x4c5e40=_0x5be29e;var _0x5f1d97,_0x688893;const {offsetX:_0xd1c308,offsetY:_0x4c58f8}=_0x4d92c6,{x:_0x7b3902,y:_0x2deb5a}=_0x496cb1[_0x4c5e40(0x2be)](_0x317937['Vector2'][_0x4c5e40(0x341)]([_0xd1c308,_0x4c58f8])),{scaleX:_0x19a731,scaleY:_0x289adb}=_0x496cb1[_0x4c5e40(0x223)](),_0x4e958b=_0x496cb1[_0x4c5e40(0x337)](_0x317937[_0x4c5e40(0x1dc)]['VIEW_MAIN']),_0x482cc0=_0x496cb1[_0x4c5e40(0x28e)](_0x317937['Vector2'][_0x4c5e40(0x341)]([_0x7b3902,_0x2deb5a]),_0x4e958b),_0x28e32a=_0x114bfb[_0x4c5e40(0x385)](_0xd1c308,_0x4c58f8,_0x19a731,_0x289adb,_0x482cc0);((_0x5f1d97=this[_0x4c5e40(0x3af)])==null?void 0x0:_0x5f1d97[_0x4c5e40(0x3b1)])===_0x28e32a[_0x4c5e40(0x3b1)]&&((_0x688893=this['_lastPointer'])==null?void 0x0:_0x688893['row'])===_0x28e32a[_0x4c5e40(0x21d)]||this['_cursors'][_0x4c5e40(0x318)](_0x53ce1e=>{const _0x1d6c67=_0x4c5e40;_0x53ce1e[_0x1d6c67(0x1e1)](_0x28e32a);});},0x64));});}[_0x326f66(0x190)](_0x28d9c5,_0x479fdf){const _0x5ec27d=_0x326f66;var _0x24316a;const _0x1a8843=(_0x24316a=this[_0x5ec27d(0x255)][_0x5ec27d(0x29a)]())==null?void 0x0:_0x24316a[_0x5ec27d(0x3c3)];if(!_0x1a8843)return;const _0xb004ef=this[_0x5ec27d(0x44d)]();if(!_0xb004ef)return;this[_0x5ec27d(0x2dc)]['forEach'](_0x4777c5=>{const _0x59bf5b=_0x5ec27d;_0x4777c5[_0x59bf5b(0x187)]();});const {scene:_0x33ef7b}=_0xb004ef,_0x3bf9fe=_0x3a59d1(Array['from'](_0x479fdf[_0x5ec27d(0x3cd)]()))[_0x5ec27d(0x2f4)](_0xeadaa8=>{const _0x2b69a8=_0x5ec27d,{color:_0x26f26d,range:_0x1f72a5,name:_0x579f0b,selection:_0x4e389f,sheetID:_0x3746b2}=_0xeadaa8,{startColumn:_0x273df7,startRow:_0x3f81f5,endColumn:_0x439c93,endRow:_0x3c6be1}=_0x1f72a5,_0x31a1a1=_0xd46b9b[_0x2b69a8(0x39f)](_0x3f81f5,_0x273df7,_0x33ef7b,_0x1a8843),_0x16f515=_0xd46b9b[_0x2b69a8(0x39f)](_0x3c6be1,_0x439c93,_0x33ef7b,_0x1a8843),{columnHeaderHeightAndMarginTop:_0x5bcdca}=_0x1a8843,{startX:_0x42117c,startY:_0x293599}=_0x31a1a1,{endX:_0x4d6707,endY:_0x100cc8}=_0x16f515,_0x5de8c6=_0x4d6707-_0x42117c,_0x19834d=_0x100cc8-_0x293599,_0x14ef8f={'labelPosition':_0x293599-_0x5bcdca>=_0x25c497?_0x2b69a8(0x3e7):_0x2b69a8(0x428),'sheetID':_0x3746b2,'range':_0x1f72a5,'color':_0x26f26d,'name':_0x579f0b,'selection':_0x4e389f,'left':_0x42117c,'top':_0x293599,'width':_0x5de8c6,'height':_0x19834d,'evented':!0x1,'zIndex':_0x5f1d6c};return new _0x21a13a(_0x579f0b,_0x14ef8f);});_0x33ef7b[_0x5ec27d(0x243)](_0x3bf9fe,_0x5e2402),this[_0x5ec27d(0x2dc)]=new Set(_0x3bf9fe);}[_0x326f66(0x217)](){const _0x5f6d03=_0x326f66;var _0x498e1e;(_0x498e1e=this[_0x5f6d03(0x2dc)])==null||_0x498e1e[_0x5f6d03(0x318)](_0x3bd9b1=>_0x3bd9b1[_0x5f6d03(0x394)]());}[_0x326f66(0x44d)](){const _0x4f0b57=_0x326f66;return _0xd46b9b['getSheetObject'](this['_context'][_0x4f0b57(0x3b3)],this[_0x4f0b57(0x339)]);}};_0x29b976=_0x39c8af([_0x1061c7(0x1,_0x43d412['Inject'](_0xd46b9b[_0x326f66(0x2f7)])),_0x1061c7(0x2,_0x43d412[_0x326f66(0x184)](_0x30ef43)),_0x1061c7(0x3,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x449)]))],_0x29b976);function _0x3a59d1(_0x5420f5){const _0x4c6f52=_0x326f66,_0x2422dd=new Map();return _0x5420f5[_0x4c6f52(0x318)](_0x4993a1=>{const _0x105a33=_0x4c6f52;if(_0x2422dd[_0x105a33(0x2f5)](_0x4993a1['selection'])){const _0x2590c9=_0x2422dd[_0x105a33(0x435)](_0x4993a1[_0x105a33(0x2a1)]);_0x2590c9['name']+=',\x20'+_0x4993a1[_0x105a33(0x3aa)];}else _0x2422dd['set'](_0x4993a1[_0x105a33(0x2a1)],_0x4993a1);}),Array[_0x4c6f52(0x27f)](_0x2422dd['values']());}var _0x43ecb3=Object[_0x326f66(0x294)],_0x3fff42=(_0x916d5b,_0x4ecf77,_0x37621f,_0x3fa6d6)=>{const _0x5410f4=_0x326f66;for(var _0x57666a=_0x3fa6d6>0x1?void 0x0:_0x3fa6d6?_0x43ecb3(_0x4ecf77,_0x37621f):_0x4ecf77,_0x40111f=_0x916d5b[_0x5410f4(0x41e)]-0x1,_0x40f56b;_0x40111f>=0x0;_0x40111f--)(_0x40f56b=_0x916d5b[_0x40111f])&&(_0x57666a=_0x40f56b(_0x57666a)||_0x57666a);return _0x57666a;},_0x45f77e=(_0x2dd374,_0x35e122)=>(_0x275366,_0x18bcda)=>_0x35e122(_0x275366,_0x18bcda,_0x2dd374);let _0x19e657=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x52bd16,_0x279c74,_0xb1928b,_0xfdf50c,_0x526ea8,_0x4cb935){const _0x72be69=_0x326f66;super(),this[_0x72be69(0x42d)]=_0x52bd16,this['_localCacheService']=_0x279c74,this[_0x72be69(0x288)]=_0xb1928b,this[_0x72be69(0x1ef)]=_0xfdf50c,this[_0x72be69(0x322)]=_0x526ea8,this[_0x72be69(0x233)]=_0x4cb935,this[_0x72be69(0x3e1)](),this[_0x72be69(0x365)]();}[_0x326f66(0x3e1)](){const _0x1fc866=_0x326f66;this['disposeWithMe'](this[_0x1fc866(0x42d)][_0x1fc866(0x3c4)](()=>{const _0x440503=_0x1fc866;if(this[_0x440503(0x388)][_0x440503(0x2e0)][_0x440503(0x264)])return this[_0x440503(0x233)]['t']('collaboration.offline-data-not-saved');}));}[_0x326f66(0x365)](){const _0x1fa48d=_0x326f66;this[_0x1fa48d(0x3f4)](this[_0x1fa48d(0x288)][_0x1fa48d(0x2f3)][_0x1fa48d(0x257)](_0x13bde4=>{const _0x34d9c5=_0x1fa48d;_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x227)]&&this[_0x34d9c5(0x1ef)]['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x447)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x2f2))}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x40e)]&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745['MessageType']['Warning'],'content':this[_0x34d9c5(0x233)]['t']('collaboration.closeRoom')}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x40b)]&&this['_notificationService'][_0x34d9c5(0x2cb)]({'title':this['_localeService']['t'](_0x34d9c5(0x402)),'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x38e)),'type':_0x34d9c5(0x3a5),'duration':0x0}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x231)]&&this['_messageService']['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x3df))+'('+_0x13bde4[_0x34d9c5(0x254)]+')'}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x1bb)]&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745[_0x34d9c5(0x219)]['Warning'],'content':this[_0x34d9c5(0x233)]['t'](_0x13bde4[_0x34d9c5(0x254)]||'')}),_0x13bde4['id']===_0x322f7a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x312745[_0x34d9c5(0x219)]['Warning'],'content':this['_localeService']['t'](_0x34d9c5(0x42b))}),_0x13bde4['id']===_0x322f7a['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x34d9c5(0x1ef)]['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x1c5))}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x367))});}));}};_0x19e657=_0x3fff42([_0x45f77e(0x0,_0x5bd884[_0x326f66(0x209)]),_0x45f77e(0x1,_0x322f7a['ILocalCacheService']),_0x45f77e(0x2,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x39b)])),_0x45f77e(0x3,_0x5bd884[_0x326f66(0x277)]),_0x45f77e(0x4,_0x5bd884[_0x326f66(0x43e)]),_0x45f77e(0x5,_0x43d412['Inject'](_0x43d412[_0x326f66(0x2e3)]))],_0x19e657);var _0x1f04f0=Object['getOwnPropertyDescriptor'],_0xa7b520=(_0x682075,_0xec9c6e,_0x497c69,_0x4609b2)=>{const _0x241de9=_0x326f66;for(var _0x406e79=_0x4609b2>0x1?void 0x0:_0x4609b2?_0x1f04f0(_0xec9c6e,_0x497c69):_0xec9c6e,_0x4aac6e=_0x682075[_0x241de9(0x41e)]-0x1,_0x5c083c;_0x4aac6e>=0x0;_0x4aac6e--)(_0x5c083c=_0x682075[_0x4aac6e])&&(_0x406e79=_0x5c083c(_0x406e79)||_0x406e79);return _0x406e79;},_0x4dc4eb=(_0xefaff6,_0x498b9e)=>(_0x682df2,_0x49d935)=>_0x498b9e(_0x682df2,_0x49d935,_0xefaff6);let _0xafd165=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x204419,_0x72ec1d,_0x4f66b5,_0x1d5e42){const _0x26438d=_0x326f66;super(),_0xe37f1(this,_0x26438d(0x263)),(this[_0x26438d(0x1d5)]=_0x204419,this[_0x26438d(0x16b)]=_0x72ec1d,this[_0x26438d(0x1b9)]=_0x4f66b5,this[_0x26438d(0x1f4)]=_0x1d5e42,this['_init']());}[_0x326f66(0x440)](){const _0x37ebe=_0x326f66;this[_0x37ebe(0x28d)](),this['_initUnhandledRejectionListener'](),this[_0x37ebe(0x1c8)](),this[_0x37ebe(0x162)]();}[_0x326f66(0x162)](){const _0x172864=_0x326f66;this[_0x172864(0x3f4)](this[_0x172864(0x1f4)][_0x172864(0x436)][_0x172864(0x257)](_0x514334=>{const _0x553179=_0x172864;this[_0x553179(0x263)]=_0x514334==null?void 0x0:_0x514334['memberID'];}));}[_0x326f66(0x28d)](){const _0x659e6e=_0x326f66,_0x3e9205=_0x159acd=>{const _0x4dbf4c=_0x506f;var _0x21260f;this[_0x4dbf4c(0x30a)]('error','[Window\x20Error]:\x20'+_0x159acd[_0x4dbf4c(0x3dc)]+'\x20at\x20'+_0x159acd[_0x4dbf4c(0x2ca)]+':'+_0x159acd['lineno']+':'+_0x159acd[_0x4dbf4c(0x24b)]+'\x0a'+(((_0x21260f=_0x159acd[_0x4dbf4c(0x3a5)])==null?void 0x0:_0x21260f[_0x4dbf4c(0x193)])||''));};window[_0x659e6e(0x359)](_0x659e6e(0x3a5),_0x3e9205),this[_0x659e6e(0x3f4)](()=>{const _0x27c27=_0x659e6e;window[_0x27c27(0x170)]('error',_0x3e9205);});}[_0x326f66(0x34b)](){const _0x5ba2d8=_0x326f66,_0x400e27=_0xddfda4=>{const _0x227ca3=_0x506f;this[_0x227ca3(0x30a)]('error','[Unhandled\x20Rejection]:\x20'+_0xddfda4[_0x227ca3(0x380)]);};window[_0x5ba2d8(0x359)](_0x5ba2d8(0x3e0),_0x400e27),this[_0x5ba2d8(0x3f4)](()=>{const _0x4af48d=_0x5ba2d8;window[_0x4af48d(0x170)](_0x4af48d(0x3e0),_0x400e27);});}['_monkeyPatchLogService'](){const _0x54201f=_0x326f66,_0x54ade6=this[_0x54201f(0x1b9)][_0x54201f(0x3a5)][_0x54201f(0x412)](this['_logService']);this[_0x54201f(0x1b9)][_0x54201f(0x3a5)]=(..._0x22f30d)=>{const _0x3da10e=_0x54201f,_0x4ae13c=_0x22f30d[_0x3da10e(0x2f4)](_0x594741=>_0x594741 instanceof Error?_0x594741[_0x3da10e(0x3dc)]+'\x0a'+_0x594741[_0x3da10e(0x193)]:String(_0x594741))[_0x3da10e(0x2e2)]('\x20');this[_0x3da10e(0x30a)](_0x3da10e(0x3a5),_0x3da10e(0x430)+_0x4ae13c),_0x54ade6(..._0x22f30d);},this[_0x54201f(0x3f4)](()=>{const _0x4c6e15=_0x54201f;this[_0x4c6e15(0x1b9)][_0x4c6e15(0x3a5)]=_0x54ade6;});}[_0x326f66(0x30a)](_0x40711c,_0x483aad){const _0x57493e=_0x326f66;try{const _0x23196c={'userId':this[_0x57493e(0x263)],'logLabel':_0x40711c,'content':_0x483aad};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x23196c})[_0x57493e(0x2cc)](()=>{});}catch{}}};_0xafd165=_0xa7b520([_0x4dc4eb(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x4dc4eb(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0['HTTPService'])),_0x4dc4eb(0x2,_0x43d412['ILogService']),_0x4dc4eb(0x3,_0x43d412[_0x326f66(0x184)](_0x322f7a['CollaborationSessionService']))],_0xafd165);const _0x190675=_0x326f66(0x344),_0x26d491={};var _0x48314f=Object[_0x326f66(0x294)],_0x3cedd2=(_0x5633a7,_0x36f8d5,_0x1333db,_0x52e56e)=>{for(var _0x1963e1=_0x52e56e>0x1?void 0x0:_0x52e56e?_0x48314f(_0x36f8d5,_0x1333db):_0x36f8d5,_0x4759b4=_0x5633a7['length']-0x1,_0x3bb94d;_0x4759b4>=0x0;_0x4759b4--)(_0x3bb94d=_0x5633a7[_0x4759b4])&&(_0x1963e1=_0x3bb94d(_0x1963e1)||_0x1963e1);return _0x1963e1;},_0x39c474=(_0x1fa0d5,_0x1117e4)=>(_0x52aca8,_0xcc6c94)=>_0x1117e4(_0x52aca8,_0xcc6c94,_0x1fa0d5);let _0x486dfe=class{constructor(_0x158d1e,_0x1ee1b1){const _0x1accfc=_0x326f66;this[_0x1accfc(0x33b)]=_0x158d1e,this['_renderManagerService']=_0x1ee1b1;}[_0x326f66(0x432)](_0x1f984c){const _0x1efab6=_0x326f66;this['_transformUndoRedoStack'](_0x1f984c),this[_0x1efab6(0x23a)](_0x1f984c);}[_0x326f66(0x197)](_0x41ac86){const _0x162bde=_0x326f66,{unitID:_0x4cf8ed}=_0x41ac86,_0x80b170=this['_renderManagerService']['getRenderById'](_0x4cf8ed)[_0x162bde(0x39e)](_0x17664f['DocIMEInputManagerService']),{redoCache:_0x4eba40}=_0x80b170[_0x162bde(0x3fc)]();if(_0x4eba40[_0x162bde(0x41e)]===0x0)return _0x41ac86;let _0x2d9090=_0x43d412[_0x162bde(0x198)][_0x162bde(0x1d2)](_0x41ac86[_0x162bde(0x401)][0x0]);for(let _0x54d6ab=0x0;_0x54d6ab<_0x4eba40[_0x162bde(0x41e)];_0x54d6ab++){const _0x3611bc={'id':_0x162bde(0x395),'params':{..._0x4eba40[_0x54d6ab]}},_0x4b529f=this[_0x162bde(0x33b)][_0x162bde(0x18f)](_0x2d9090,_0x3611bc,!0x1);if(_0x399202[_0x162bde(0x240)](_0x4b529f))throw _0x4b529f[_0x162bde(0x3a5)];_0x2d9090=_0x4b529f[_0x162bde(0x3a4)];}return{..._0x43d412[_0x162bde(0x198)][_0x162bde(0x1d2)](_0x41ac86),'mutations':[_0x2d9090]};}[_0x326f66(0x2b2)](_0x261235){const _0x103647=_0x326f66,{unitID:_0x5d1679}=_0x261235,_0x31b99f=this[_0x103647(0x3a8)]['getRenderById'](_0x5d1679)[_0x103647(0x39e)](_0x17664f[_0x103647(0x429)]),{undoCache:_0xb93525,redoCache:_0x7f8986}=_0x31b99f[_0x103647(0x3fc)]();if(_0xb93525[_0x103647(0x41e)]===0x0||_0x7f8986[_0x103647(0x41e)]===0x0)return;const _0x105dfc=[],_0x4cc94d=[];let _0x2100c9=_0x43d412[_0x103647(0x198)][_0x103647(0x1d2)](_0x261235['mutations'][0x0]),_0x4b2528=_0x43d412[_0x103647(0x198)]['deepClone'](_0x261235['mutations'][0x0]);for(let _0x1eed3c=_0xb93525[_0x103647(0x41e)]-0x1;_0x1eed3c>=0x0;_0x1eed3c--){const _0x434edd={'id':_0x103647(0x395),'params':{..._0xb93525[_0x1eed3c]}},_0x51f93b={'id':_0x103647(0x395),'params':{..._0x7f8986[_0x1eed3c]}},_0x4b4ef0=this[_0x103647(0x33b)][_0x103647(0x18f)](_0x2100c9,_0x434edd,!0x1),_0x40ff79=this['_transformService'][_0x103647(0x18f)](_0x4b2528,_0x51f93b,!0x1);if(_0x399202[_0x103647(0x240)](_0x4b4ef0))throw _0x4b4ef0['error'];if(_0x399202[_0x103647(0x240)](_0x40ff79))throw _0x40ff79[_0x103647(0x3a5)];_0x105dfc[_0x103647(0x421)](_0x4b4ef0[_0x103647(0x1de)]['params']),_0x4cc94d[_0x103647(0x421)](_0x40ff79[_0x103647(0x1de)][_0x103647(0x343)]),_0x2100c9=_0x4b4ef0['m1Prime'],_0x4b2528=_0x40ff79[_0x103647(0x3a4)];}_0x31b99f['setUndoRedoMutationParamsCache']({'undoCache':_0x105dfc,'redoCache':_0x4cc94d});}['_transformPreviousActiveRange'](_0x1d71f1){const _0x2d9044=_0x326f66,{unitID:_0x485789}=_0x1d71f1,_0x4ed736=this[_0x2d9044(0x3a8)][_0x2d9044(0x2ce)](_0x485789)[_0x2d9044(0x39e)](_0x17664f[_0x2d9044(0x429)]),_0x45e0c8=_0x4ed736['getActiveRange']();if(_0x45e0c8==null)return;const _0x39cfe6=[{'id':_0x2d9044(0x395),'params':{'unitId':_0x1d71f1['unitID'],'actions':null,'textRanges':[_0x45e0c8]}}],_0x33554b=this[_0x2d9044(0x33b)]['transformMutationsWithChangeset'](_0x1d71f1,_0x39cfe6);if(!_0x399202[_0x2d9044(0x375)](_0x33554b))throw _0x33554b['error'];const _0x21a7af=_0x33554b[_0x2d9044(0x1de)][0x0][_0x2d9044(0x343)]['textRanges'];Array['isArray'](_0x21a7af)&&_0x21a7af[_0x2d9044(0x41e)]&&_0x4ed736[_0x2d9044(0x20c)](_0x21a7af[0x0]);}};_0x486dfe=_0x3cedd2([_0x39c474(0x0,_0x399202['ITransformService']),_0x39c474(0x1,_0x317937[_0x326f66(0x2ac)])],_0x486dfe);var _0x3a1a79=Object[_0x326f66(0x294)],_0x41fdea=(_0x170fb0,_0x451a87,_0xc1c4ff,_0x10e5e8)=>{const _0x33d4c4=_0x326f66;for(var _0x2bf58f=_0x10e5e8>0x1?void 0x0:_0x10e5e8?_0x3a1a79(_0x451a87,_0xc1c4ff):_0x451a87,_0x387bdd=_0x170fb0[_0x33d4c4(0x41e)]-0x1,_0x2de95;_0x387bdd>=0x0;_0x387bdd--)(_0x2de95=_0x170fb0[_0x387bdd])&&(_0x2bf58f=_0x2de95(_0x2bf58f)||_0x2bf58f);return _0x2bf58f;},_0x2db3ae=(_0x479065,_0x13a28f)=>(_0x2ad703,_0x49814d)=>_0x13a28f(_0x2ad703,_0x49814d,_0x479065);let _0x5ce3b4=class{constructor(_0x3790c0,_0x1e56a3,_0x1f142d){const _0xe044d0=_0x326f66;this[_0xe044d0(0x1d5)]=_0x3790c0,this[_0xe044d0(0x33b)]=_0x1e56a3,this[_0xe044d0(0x2c6)]=_0x1f142d;}[_0x326f66(0x290)](_0x507fc7){this['_transformHistoryAndStateStack'](_0x507fc7);}['transformRemoteChangeset'](_0x21e052){const _0x3d9709=_0x326f66,{unitID:_0x590157}=_0x21e052,{collaboration:_0x533193}=this[_0x3d9709(0x2c6)][_0x3d9709(0x3ee)](_0x590157);if(_0x533193[_0x3d9709(0x41e)]===0x0)return _0x21e052;let _0x16d53c=_0x43d412['Tools'][_0x3d9709(0x1d2)](_0x21e052[_0x3d9709(0x401)][0x0]);for(let _0x46a04f=0x0;_0x46a04f<_0x533193[_0x3d9709(0x41e)];_0x46a04f++){const _0x3b45ce={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533193[_0x46a04f][_0x3d9709(0x299)],..._0x533193[_0x46a04f][_0x3d9709(0x437)]}},_0x1b2af8=this['_transformService'][_0x3d9709(0x18f)](_0x16d53c,_0x3b45ce,!0x1);if(_0x399202[_0x3d9709(0x240)](_0x1b2af8))throw _0x1b2af8[_0x3d9709(0x3a5)];_0x16d53c=_0x1b2af8['m1Prime'];}return{..._0x43d412[_0x3d9709(0x198)][_0x3d9709(0x1d2)](_0x21e052),'mutations':[_0x16d53c]};}[_0x326f66(0x44b)](_0x3c1e7e){const _0x41bca9=_0x326f66,{unitID:_0x4cc38f}=_0x3c1e7e,{history:_0x23e2c4,collaboration:_0x164dd5}=this[_0x41bca9(0x2c6)][_0x41bca9(0x3ee)](_0x4cc38f);if(_0x23e2c4[_0x41bca9(0x41e)]===0x0&&_0x164dd5[_0x41bca9(0x41e)]===0x0)return;const _0x514240=[],_0x4702b3=[];let _0x5638c9=_0x43d412['Tools'][_0x41bca9(0x1d2)](_0x3c1e7e[_0x41bca9(0x401)][0x0]),_0x56c251=_0x43d412[_0x41bca9(0x198)]['deepClone'](_0x3c1e7e[_0x41bca9(0x401)][0x0]);for(let _0x1c2ad3=_0x23e2c4[_0x41bca9(0x41e)]-0x1;_0x1c2ad3>=0x0;_0x1c2ad3--){const _0x202b94={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23e2c4[_0x1c2ad3][_0x41bca9(0x299)],..._0x23e2c4[_0x1c2ad3][_0x41bca9(0x366)]}},_0x210301={'id':_0x41bca9(0x395),'params':{'unitId':_0x23e2c4[_0x1c2ad3][_0x41bca9(0x299)],..._0x23e2c4[_0x1c2ad3]['redoState']}},_0x49b3d2=this[_0x41bca9(0x33b)]['transformMutation'](_0x5638c9,_0x202b94,!0x1),_0x5fbfa2=this[_0x41bca9(0x33b)][_0x41bca9(0x18f)](_0x56c251,_0x210301,!0x1);if(_0x399202[_0x41bca9(0x240)](_0x49b3d2))throw _0x49b3d2[_0x41bca9(0x3a5)];if(_0x399202[_0x41bca9(0x240)](_0x5fbfa2))throw _0x5fbfa2[_0x41bca9(0x3a5)];_0x514240['unshift']({..._0x23e2c4[_0x1c2ad3],'undoState':_0x49b3d2[_0x41bca9(0x1de)][_0x41bca9(0x343)],'redoState':_0x5fbfa2[_0x41bca9(0x1de)][_0x41bca9(0x343)]}),_0x5638c9=_0x49b3d2[_0x41bca9(0x3a4)],_0x56c251=_0x5fbfa2['m1Prime'];}_0x5638c9=_0x43d412[_0x41bca9(0x198)][_0x41bca9(0x1d2)](_0x3c1e7e[_0x41bca9(0x401)][0x0]),_0x56c251=_0x43d412[_0x41bca9(0x198)]['deepClone'](_0x3c1e7e[_0x41bca9(0x401)][0x0]);for(let _0x4e7445=_0x164dd5[_0x41bca9(0x41e)]-0x1;_0x4e7445>=0x0;_0x4e7445--){const _0x54cddc={'id':_0x41bca9(0x395),'params':{'unitId':_0x164dd5[_0x4e7445][_0x41bca9(0x299)],..._0x164dd5[_0x4e7445][_0x41bca9(0x366)]}},_0x5022ff={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x164dd5[_0x4e7445][_0x41bca9(0x299)],..._0x164dd5[_0x4e7445]['redoState']}},_0x1a09c4=this['_transformService'][_0x41bca9(0x18f)](_0x5638c9,_0x54cddc,!0x1),_0x331ca4=this[_0x41bca9(0x33b)][_0x41bca9(0x18f)](_0x56c251,_0x5022ff,!0x1);if(_0x399202[_0x41bca9(0x240)](_0x1a09c4))throw _0x1a09c4[_0x41bca9(0x3a5)];if(_0x399202[_0x41bca9(0x240)](_0x331ca4))throw _0x331ca4[_0x41bca9(0x3a5)];_0x4702b3[_0x41bca9(0x421)]({..._0x164dd5[_0x4e7445],'undoState':_0x1a09c4['m2Prime'][_0x41bca9(0x343)],'redoState':_0x331ca4['m2Prime'][_0x41bca9(0x343)]}),_0x5638c9=_0x1a09c4[_0x41bca9(0x3a4)],_0x56c251=_0x331ca4[_0x41bca9(0x3a4)];}this[_0x41bca9(0x2c6)][_0x41bca9(0x308)](_0x4cc38f,{'history':_0x514240,'collaboration':_0x4702b3});}};_0x5ce3b4=_0x41fdea([_0x2db3ae(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x2db3ae(0x1,_0x399202[_0x326f66(0x335)]),_0x2db3ae(0x2,_0x43d412[_0x326f66(0x184)](_0x17664f[_0x326f66(0x319)]))],_0x5ce3b4);var _0x298501=Object[_0x326f66(0x294)],_0x2e22b6=(_0x36b505,_0x3b4d1d,_0x37f186,_0x328738)=>{const _0xf3e8fc=_0x326f66;for(var _0x59117c=_0x328738>0x1?void 0x0:_0x328738?_0x298501(_0x3b4d1d,_0x37f186):_0x3b4d1d,_0x289298=_0x36b505[_0xf3e8fc(0x41e)]-0x1,_0xaf1051;_0x289298>=0x0;_0x289298--)(_0xaf1051=_0x36b505[_0x289298])&&(_0x59117c=_0xaf1051(_0x59117c)||_0x59117c);return _0x59117c;},_0x16e357=(_0x16d10a,_0x44290d)=>(_0x4942b2,_0x42c0b4)=>_0x44290d(_0x4942b2,_0x42c0b4,_0x16d10a);let _0xcada2b=class{constructor(_0x41bf55,_0x3d92d1){const _0x40f918=_0x326f66;this[_0x40f918(0x1d5)]=_0x41bf55,this['_transformService']=_0x3d92d1;}[_0x326f66(0x443)](_0x10474b){const _0x1ba792=_0x326f66;var _0x2fd9c5;const _0x3103b7=this[_0x1ba792(0x1d5)][_0x1ba792(0x435)](_0x18b0ac['DocSelectionManagerService']),_0x1d896d=(_0x2fd9c5=_0x3103b7[_0x1ba792(0x3f3)]())!=null?_0x2fd9c5:[];if(_0x1d896d[_0x1ba792(0x41e)]===0x0)return;const _0x2757ff=_0x10474b[_0x1ba792(0x248)],_0x3cba14=[{'id':_0x1ba792(0x395),'params':{'unitId':_0x2757ff,'actions':null,'textRanges':_0x1d896d}}],_0x397d26=this[_0x1ba792(0x33b)][_0x1ba792(0x266)](_0x10474b,_0x3cba14);if(!_0x399202[_0x1ba792(0x375)](_0x397d26))throw _0x397d26[_0x1ba792(0x3a5)];const _0x5ca92a=_0x397d26[_0x1ba792(0x1de)][0x0][_0x1ba792(0x343)][_0x1ba792(0x2a3)];Array[_0x1ba792(0x3cb)](_0x5ca92a)&&_0x5ca92a[_0x1ba792(0x41e)]&&_0x3103b7[_0x1ba792(0x19b)](_0x5ca92a,{'unitId':_0x2757ff,'subUnitId':_0x2757ff},!0x1);}};_0xcada2b=_0x2e22b6([_0x16e357(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412['Injector'])),_0x16e357(0x1,_0x399202[_0x326f66(0x335)])],_0xcada2b);var _0x41df35=Object['getOwnPropertyDescriptor'],_0x5e55a5=(_0x8a23e,_0x3a3b20,_0x4ff56c,_0x1d3291)=>{for(var _0x4336b3=_0x1d3291>0x1?void 0x0:_0x1d3291?_0x41df35(_0x3a3b20,_0x4ff56c):_0x3a3b20,_0x125be2=_0x8a23e['length']-0x1,_0x3b9756;_0x125be2>=0x0;_0x125be2--)(_0x3b9756=_0x8a23e[_0x125be2])&&(_0x4336b3=_0x3b9756(_0x4336b3)||_0x4336b3);return _0x4336b3;},_0x2047c2=(_0x1df60f,_0x6d7ca9)=>(_0x5e6f5c,_0x3037b5)=>_0x6d7ca9(_0x5e6f5c,_0x3037b5,_0x1df60f);let _0x55f5b8=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x1995c3,_0x39becf,_0x438c0b,_0x3580e0,_0x506bb2,_0x5d8056,_0x41e8ad,_0x40f401){const _0x2ffaca=_0x326f66;super(),_0xe37f1(this,_0x2ffaca(0x35e),new _0x7c0c7e[(_0x2ffaca(0x225))](_0x322f7a[_0x2ffaca(0x31a)][_0x2ffaca(0x172)])),(this[_0x2ffaca(0x2c6)]=_0x1995c3,this[_0x2ffaca(0x3f9)]=_0x39becf,this[_0x2ffaca(0x30f)]=_0x438c0b,this[_0x2ffaca(0x15d)]=_0x3580e0,this[_0x2ffaca(0x21b)]=_0x506bb2,this[_0x2ffaca(0x25a)]=_0x5d8056,this['_messageService']=_0x41e8ad,this[_0x2ffaca(0x233)]=_0x40f401,this[_0x2ffaca(0x393)]());}['_initEntityListener'](){const _0x259070=_0x326f66;this[_0x259070(0x3f4)](this[_0x259070(0x3f9)][_0x259070(0x36d)][_0x259070(0x257)](_0x2373ab=>{const _0x338a43=_0x259070,_0x2ca03b=this[_0x338a43(0x2c6)][_0x338a43(0x348)][_0x338a43(0x257)](_0x12133b=>{const _0x64c271=_0x338a43;if(_0x12133b==null)return;const {unitId:_0x739353,redoState:_0x469240,commandId:_0xe2b82d}=_0x12133b;if(_0x739353!==_0x2373ab[_0x64c271(0x248)])return;const _0x403aef={'id':_0xe2b82d,'type':_0x43d412[_0x64c271(0x391)][_0x64c271(0x239)],'params':{'unitId':_0x739353,'actions':_0x469240[_0x64c271(0x34d)],'textRanges':null}};_0x2373ab[_0x64c271(0x386)](_0x403aef);});if(_0x2373ab[_0x338a43(0x3f4)](_0x2ca03b),_0x2373ab instanceof _0x322f7a['DocCollaborationEntity']){const _0x67ef4d={'onTransformIME':_0x4fbe96=>this[_0x338a43(0x30f)][_0x338a43(0x432)](_0x4fbe96),'onTransformState':_0x5c20a8=>this[_0x338a43(0x15d)]['transformStateCache'](_0x5c20a8),'onTransformSelections':_0x55fc40=>this[_0x338a43(0x21b)][_0x338a43(0x443)](_0x55fc40),'onSyncEditingCollabCursor':_0x2cf750=>this['_docSyncEditingCollabCursorService'][_0x338a43(0x297)](_0x2cf750),'onTransformRemoteChangesetByIMECache':_0x10418e=>this[_0x338a43(0x30f)][_0x338a43(0x197)](_0x10418e),'onTransformRemoteChangesetByStateCache':_0x5f1de0=>this[_0x338a43(0x15d)][_0x338a43(0x197)](_0x5f1de0)};_0x2373ab[_0x338a43(0x446)](_0x67ef4d);}}));}};_0x55f5b8=_0x5e55a5([_0x2047c2(0x0,_0x43d412[_0x326f66(0x184)](_0x17664f[_0x326f66(0x319)])),_0x2047c2(0x1,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x362)])),_0x2047c2(0x2,_0x43d412['Inject'](_0x486dfe)),_0x2047c2(0x3,_0x43d412[_0x326f66(0x184)](_0x5ce3b4)),_0x2047c2(0x4,_0x43d412[_0x326f66(0x184)](_0xcada2b)),_0x2047c2(0x5,_0x43d412[_0x326f66(0x184)](_0x557965)),_0x2047c2(0x6,_0x5bd884['IMessageService']),_0x2047c2(0x7,_0x43d412[_0x326f66(0x184)](_0x43d412['LocaleService']))],_0x55f5b8);var _0xbce51a=(_0x2af47c=>(_0x2af47c[_0x2af47c[_0x326f66(0x2b5)]=0x0]=_0x326f66(0x2b5),_0x2af47c[_0x2af47c['OK']=0x1]='OK',_0x2af47c[_0x2af47c[_0x326f66(0x177)]=0x2]=_0x326f66(0x177),_0x2af47c[_0x2af47c[_0x326f66(0x40b)]=0x3]=_0x326f66(0x40b),_0x2af47c[_0x2af47c[_0x326f66(0x1b7)]=0x4]='NOT_FOUND',_0x2af47c[_0x2af47c['UNAUTHENTICATED']=0x5]=_0x326f66(0x23b),_0x2af47c[_0x2af47c['ALREADY_EXISTS']=0x6]=_0x326f66(0x3b0),_0x2af47c[_0x2af47c[_0x326f66(0x286)]=0x7]=_0x326f66(0x286),_0x2af47c[_0x2af47c[_0x326f66(0x3c1)]=0x8]=_0x326f66(0x3c1),_0x2af47c[_0x2af47c[_0x326f66(0x424)]=0x9]=_0x326f66(0x424),_0x2af47c[_0x2af47c[_0x326f66(0x448)]=0xa]=_0x326f66(0x448),_0x2af47c[_0x2af47c[_0x326f66(0x22b)]=0xb]=_0x326f66(0x22b),_0x2af47c[_0x2af47c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x326f66(0x21e),_0x2af47c[_0x2af47c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x326f66(0x1bf),_0x2af47c[_0x2af47c[_0x326f66(0x334)]=0xe]=_0x326f66(0x334),_0x2af47c[_0x2af47c[_0x326f66(0x295)]=0xf]=_0x326f66(0x295),_0x2af47c[_0x2af47c['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x326f66(0x418),_0x2af47c[_0x2af47c[_0x326f66(0x2b8)]=0x64]=_0x326f66(0x2b8),_0x2af47c[_0x2af47c[_0x326f66(0x31d)]=0x65]='ERROR_AGAIN',_0x2af47c[_0x2af47c[_0x326f66(0x42e)]=0xc9]=_0x326f66(0x42e),_0x2af47c[_0x2af47c[_0x326f66(0x32a)]=0xca]=_0x326f66(0x32a),_0x2af47c[_0x2af47c[_0x326f66(0x2ba)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2af47c[_0x2af47c[_0x326f66(0x336)]=0x1771]=_0x326f66(0x336),_0x2af47c[_0x2af47c[_0x326f66(0x245)]=0x1772]=_0x326f66(0x245),_0x2af47c[_0x2af47c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x326f66(0x1c9),_0x2af47c[_0x2af47c[_0x326f66(0x16f)]=0x1b59]=_0x326f66(0x16f),_0x2af47c[_0x2af47c[_0x326f66(0x235)]=0x1b5a]=_0x326f66(0x235),_0x2af47c[_0x2af47c[_0x326f66(0x253)]=0x1b5b]=_0x326f66(0x253),_0x2af47c[_0x2af47c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x326f66(0x261),_0x2af47c[_0x2af47c[_0x326f66(0x431)]=0x1b5d]='APPLY_DUPLICATED',_0x2af47c[_0x2af47c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x326f66(0x2ab),_0x2af47c[_0x2af47c[_0x326f66(0x400)]=0x2329]=_0x326f66(0x400),_0x2af47c[_0x2af47c[_0x326f66(0x2d4)]=0x232a]=_0x326f66(0x2d4),_0x2af47c[_0x2af47c[_0x326f66(0x3bd)]=0x232b]=_0x326f66(0x3bd),_0x2af47c[_0x2af47c[_0x326f66(0x35c)]=0x232c]=_0x326f66(0x35c),_0x2af47c[_0x2af47c[_0x326f66(0x3a9)]=0x232d]=_0x326f66(0x3a9),_0x2af47c[_0x2af47c[_0x326f66(0x3c8)]=0x2711]=_0x326f66(0x3c8),_0x2af47c[_0x2af47c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x326f66(0x28b),_0x2af47c[_0x2af47c[_0x326f66(0x23c)]=0x2713]=_0x326f66(0x23c),_0x2af47c[_0x2af47c[_0x326f66(0x160)]=0x2714]=_0x326f66(0x160),_0x2af47c[_0x2af47c[_0x326f66(0x3ec)]=0x271a]=_0x326f66(0x3ec),_0x2af47c[_0x2af47c[_0x326f66(0x37e)]=0x271b]=_0x326f66(0x37e),_0x2af47c[_0x2af47c[_0x326f66(0x163)]=0x271c]=_0x326f66(0x163),_0x2af47c[_0x2af47c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x326f66(0x39a),_0x2af47c[_0x2af47c[_0x326f66(0x17f)]=0x271e]=_0x326f66(0x17f),_0x2af47c[_0x2af47c[_0x326f66(0x2ef)]=0x271f]=_0x326f66(0x2ef),_0x2af47c[_0x2af47c[_0x326f66(0x3ac)]=0x2720]=_0x326f66(0x3ac),_0x2af47c[_0x2af47c[_0x326f66(0x30e)]=0x2af9]=_0x326f66(0x30e),_0x2af47c[_0x2af47c[_0x326f66(0x195)]=0x2ee1]=_0x326f66(0x195),_0x2af47c[_0x2af47c[_0x326f66(0x1cc)]=0x2ee2]=_0x326f66(0x1cc),_0x2af47c[_0x2af47c[_0x326f66(0x3b7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2af47c[_0x2af47c[_0x326f66(0x174)]=0x2ee4]=_0x326f66(0x174),_0x2af47c[_0x2af47c[_0x326f66(0x2db)]=0x2ee5]=_0x326f66(0x2db),_0x2af47c[_0x2af47c[_0x326f66(0x25d)]=0x32c9]=_0x326f66(0x25d),_0x2af47c[_0x2af47c[_0x326f66(0x331)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2af47c[_0x2af47c[_0x326f66(0x3bf)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2af47c[_0x2af47c[_0x326f66(0x3cc)]=0x36b1]=_0x326f66(0x3cc),_0x2af47c[_0x2af47c[_0x326f66(0x1f8)]=0x36b2]=_0x326f66(0x1f8),_0x2af47c[_0x2af47c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x326f66(0x182),_0x2af47c[_0x2af47c[_0x326f66(0x2a8)]=0x36b4]=_0x326f66(0x2a8),_0x2af47c[_0x2af47c[_0x326f66(0x444)]=0x36b5]=_0x326f66(0x444),_0x2af47c[_0x2af47c[_0x326f66(0x176)]=0x36b6]=_0x326f66(0x176),_0x2af47c[_0x2af47c[_0x326f66(0x27b)]=0x36b7]=_0x326f66(0x27b),_0x2af47c[_0x2af47c[_0x326f66(0x2b4)]=0x36b8]=_0x326f66(0x2b4),_0x2af47c[_0x2af47c[_0x326f66(0x2b1)]=0x3715]=_0x326f66(0x2b1),_0x2af47c[_0x2af47c[_0x326f66(0x2a6)]=0x3716]=_0x326f66(0x2a6),_0x2af47c[_0x2af47c[_0x326f66(0x178)]=0x3717]=_0x326f66(0x178),_0x2af47c[_0x2af47c[_0x326f66(0x312)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2af47c[_0x2af47c[_0x326f66(0x1ab)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2af47c[_0x2af47c[_0x326f66(0x3f2)]=0x3a9a]=_0x326f66(0x3f2),_0x2af47c[_0x2af47c['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x326f66(0x1b3),_0x2af47c[_0x2af47c[_0x326f66(0x2ff)]=0x3a9c]=_0x326f66(0x2ff),_0x2af47c[_0x2af47c[_0x326f66(0x17d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2af47c[_0x2af47c[_0x326f66(0x1fb)]=0x3a9e]=_0x326f66(0x1fb),_0x2af47c[_0x2af47c['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x326f66(0x347),_0x2af47c[_0x2af47c[_0x326f66(0x2f1)]=0x3e81]=_0x326f66(0x2f1),_0x2af47c[_0x2af47c['UNRECOGNIZED']=-0x1]=_0x326f66(0x1ca),_0x2af47c))(_0xbce51a||{});function _0x1e6822(_0x5aac93){const _0x48f992=_0x326f66;var _0x52d9a0,_0x157fba;const _0x3a351a=(_0x52d9a0=_0x5aac93[_0x48f992(0x199)])==null?void 0x0:_0x52d9a0['stage'],_0x595a29=((_0x157fba=_0x5aac93[_0x48f992(0x199)])==null?void 0x0:_0x157fba['totalFormulasToCalculate'])||0x0;return _0x3a351a===_0x49d49e['FormulaExecuteStageType'][_0x48f992(0x36c)]&&_0x595a29>0x0;}function _0x4d6df2(_0x4ad7bb){const _0x5148ff=_0x326f66;return _0x4ad7bb[_0x5148ff(0x3f7)]===_0x49d49e['FormulaExecutedStateType']['SUCCESS'];}var _0x2116db=Object['getOwnPropertyDescriptor'],_0x37743d=(_0x161433,_0x24fae3,_0x4189aa,_0x10ee39)=>{const _0x5552b4=_0x326f66;for(var _0x30d44e=_0x10ee39>0x1?void 0x0:_0x10ee39?_0x2116db(_0x24fae3,_0x4189aa):_0x24fae3,_0x1782f1=_0x161433[_0x5552b4(0x41e)]-0x1,_0x1cbc80;_0x1782f1>=0x0;_0x1782f1--)(_0x1cbc80=_0x161433[_0x1782f1])&&(_0x30d44e=_0x1cbc80(_0x30d44e)||_0x30d44e);return _0x30d44e;},_0xfcddfc=(_0x4c0e17,_0x529dcf)=>(_0x3950b0,_0x21fb48)=>_0x529dcf(_0x3950b0,_0x21fb48,_0x4c0e17);const _0x1bab4b=_0x326f66(0x36b),_0x338161=_0x326f66(0x2a2),_0x116d0a='/universer-api/license/formula/limit/done';let _0x409d8b=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x41311e,_0x5a0ccd,_0x349557,_0x21c8ad,_0x2f3bdf,_0x47e90a,_0x486bed){const _0x45f5b9=_0x326f66;super(),_0xe37f1(this,_0x45f5b9(0x166),null),_0xe37f1(this,'_maxFormulaLimit',0x0),_0xe37f1(this,'_currentUsage',0x0),_0xe37f1(this,'_taskIds',[]),_0xe37f1(this,_0x45f5b9(0x2ae),0x0),(this['_messageService']=_0x41311e,this[_0x45f5b9(0x1cb)]=_0x5a0ccd,this['_configService']=_0x349557,this['_httpService']=_0x21c8ad,this[_0x45f5b9(0x27a)]=_0x2f3bdf,this[_0x45f5b9(0x1b9)]=_0x47e90a,this[_0x45f5b9(0x233)]=_0x486bed,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0x4adbf3=_0x326f66;this[_0x4adbf3(0x3f4)](this[_0x4adbf3(0x1cb)][_0x4adbf3(0x2b3)]((_0x44c6d2,_0x3fc316)=>{const _0x42d500=_0x4adbf3;var _0x5eb809;if(_0x44c6d2['id']!==_0x49d49e[_0x42d500(0x324)]['id'])return;const _0x2afc=_0x44c6d2[_0x42d500(0x343)];if(!this[_0x42d500(0x445)]((_0x5eb809=_0x2afc[_0x42d500(0x1c2)])!=null?_0x5eb809:[]))return;if(!this[_0x42d500(0x31b)]())throw this[_0x42d500(0x161)](_0x44c6d2,_0x3fc316),this['_showGuardMessage'](),new _0x43d412[(_0x42d500(0x2c8))]();})),this['disposeWithMe'](this[_0x4adbf3(0x1cb)][_0x4adbf3(0x34c)]((_0x53d975,_0x4de726)=>{const _0x27750e=_0x4adbf3;if(_0x53d975['id']!==_0x49d49e[_0x27750e(0x25e)]['id'])return;const _0x1feb91=_0x53d975[_0x27750e(0x343)];if(_0x1e6822(_0x1feb91)){const _0x18e536=_0x43d412[_0x27750e(0x332)]();this[_0x27750e(0x2c1)][_0x27750e(0x29f)](_0x18e536),this[_0x27750e(0x175)](_0x18e536);}else{if(_0x4d6df2(_0x1feb91)&&this['_taskIds'][_0x27750e(0x41e)]>0x0){const _0x58b6db=this[_0x27750e(0x2c1)]['shift']();this[_0x27750e(0x2c4)](_0x58b6db);}}}));}['dispose'](){const _0xcfbb15=_0x326f66;super[_0xcfbb15(0x394)](),this[_0xcfbb15(0x164)](),this[_0xcfbb15(0x2c1)]=[],this['_currentUsage']=0x0,this[_0xcfbb15(0x298)]=0x0,this[_0xcfbb15(0x2ae)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x1b8993,_0x4e18f0){const _0x392732=_0x326f66;for(let _0x250864=0x0;_0x250864<0x1e;_0x250864++)try{if(await this[_0x392732(0x1ff)](),this[_0x392732(0x31b)]()){this['_applyCommand'](_0x1b8993,_0x4e18f0),this[_0x392732(0x1ef)]['show']({'content':this[_0x392732(0x233)]['t']('formula.calculation.started'),'type':_0x312745['MessageType'][_0x392732(0x16e)]});return;}await new Promise(_0x2c096a=>{const _0x43c4d4=_0x392732;this['_pollingInterval']=window[_0x43c4d4(0x384)](_0x2c096a,0x3e8);});}catch(_0x1b79f3){this[_0x392732(0x1b9)]['error'](_0x1b79f3);}this[_0x392732(0x1ef)]['show']({'content':this[_0x392732(0x233)]['t'](_0x392732(0x354)),'type':_0x312745['MessageType'][_0x392732(0x27d)]});}[_0x326f66(0x327)](_0x588c18,_0x4fd301){const _0x244764=_0x326f66;try{this[_0x244764(0x1cb)][_0x244764(0x1ee)](_0x588c18['id'],_0x588c18[_0x244764(0x343)],_0x4fd301);}catch(_0x4ac423){this[_0x244764(0x1b9)][_0x244764(0x3a5)](_0x4ac423);}}['_setFormulaLimitStatus'](_0x3e74cd,_0xa6a1df){const _0x1d2332=_0x326f66;_0xa6a1df<this['_lastResponseTimestamp']||(this[_0x1d2332(0x2ae)]=_0xa6a1df,this[_0x1d2332(0x298)]=Number[_0x1d2332(0x3d9)](_0x3e74cd[_0x1d2332(0x1a6)]),this[_0x1d2332(0x40f)]=Number[_0x1d2332(0x3d9)](_0x3e74cd['currentUsage']));}async['_startCalculationLimit'](_0x25775c){const _0x23c16f=_0x326f66;var _0x1457f6,_0x25288b;const _0x197e8d=Date['now']();try{const _0x229dd8=((_0x1457f6=this[_0x23c16f(0x383)][_0x23c16f(0x1f0)](_0x322f7a[_0x23c16f(0x31f)]))==null?void 0x0:_0x1457f6[_0x23c16f(0x2cf)])||_0x338161,_0x32c48c=(await this['_httpService'][_0x23c16f(0x16a)](_0x229dd8,{'body':JSON[_0x23c16f(0x15f)]({'taskId':_0x25775c})}))[_0x23c16f(0x313)];if(((_0x25288b=_0x32c48c[_0x23c16f(0x3a5)])==null?void 0x0:_0x25288b[_0x23c16f(0x439)])!==_0xbce51a['OK'])return;this[_0x23c16f(0x2fa)](_0x32c48c[_0x23c16f(0x1fa)],_0x197e8d);}catch(_0x966a85){this[_0x23c16f(0x1b9)]['error'](_0x966a85);}}async[_0x326f66(0x1ff)](_0x1b62eb){const _0x51de4b=_0x326f66;var _0x191b25,_0x58a09a;const _0x37865e=Date[_0x51de4b(0x2a5)]();try{const _0x349459=((_0x191b25=this[_0x51de4b(0x383)][_0x51de4b(0x1f0)](_0x322f7a[_0x51de4b(0x31f)]))==null?void 0x0:_0x191b25[_0x51de4b(0x392)])||_0x1bab4b,_0xfa7ac5=_0x1b62eb?_0x349459+_0x51de4b(0x438)+encodeURIComponent(_0x1b62eb):_0x349459,_0x3eaef8=(await this[_0x51de4b(0x16b)][_0x51de4b(0x435)](_0xfa7ac5))[_0x51de4b(0x313)];if(((_0x58a09a=_0x3eaef8[_0x51de4b(0x3a5)])==null?void 0x0:_0x58a09a[_0x51de4b(0x439)])!==_0xbce51a['OK'])return;this[_0x51de4b(0x2fa)](_0x3eaef8[_0x51de4b(0x1fa)],_0x37865e);}catch(_0x1e5cd8){this[_0x51de4b(0x1b9)][_0x51de4b(0x3a5)](_0x1e5cd8);}}async['_releaseCalculationLimit'](_0x5ca903){const _0xc48886=_0x326f66;var _0x53586c,_0x412809;const _0x33a865=Date[_0xc48886(0x2a5)]();try{const _0xb5291a=((_0x53586c=this[_0xc48886(0x383)][_0xc48886(0x1f0)](_0x322f7a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x53586c[_0xc48886(0x229)])||_0x116d0a,_0x192f8e=(await this[_0xc48886(0x16b)][_0xc48886(0x16a)](_0xb5291a,{'body':JSON['stringify']({'taskId':_0x5ca903})}))[_0xc48886(0x313)];if(((_0x412809=_0x192f8e[_0xc48886(0x3a5)])==null?void 0x0:_0x412809[_0xc48886(0x439)])!==_0xbce51a['OK'])return;this[_0xc48886(0x2fa)](_0x192f8e[_0xc48886(0x1fa)],_0x33a865);}catch(_0x59d8bd){this['_logService']['error'](_0x59d8bd);}}[_0x326f66(0x31b)](){const _0x2cbeb6=_0x326f66;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x2cbeb6(0x298)]-this[_0x2cbeb6(0x40f)]>0x0;}[_0x326f66(0x164)](){const _0x416d97=_0x326f66;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x416d97(0x166)]=null);}[_0x326f66(0x390)](){const _0x4dfa72=_0x326f66;this[_0x4dfa72(0x1ef)][_0x4dfa72(0x2cb)]({'content':this[_0x4dfa72(0x233)]['t']('formula.calculation.waiting'),'type':_0x312745['MessageType'][_0x4dfa72(0x2cd)]});}['_hasFormulaInDirtyRanges'](_0x29e27d){const _0x2b62c9=_0x326f66;for(const _0xcff10 of _0x29e27d){const {unitId:_0x1d5c51,sheetId:_0x2f3123,range:_0x5d2238}=_0xcff10,_0x400b29=this['_univerInstanceService'][_0x2b62c9(0x2dd)](_0x1d5c51);if(!_0x400b29)continue;const _0x4d75c3=_0x400b29[_0x2b62c9(0x3d0)](_0x2f3123);if(!_0x4d75c3)continue;const _0x325c85=_0x4d75c3[_0x2b62c9(0x36f)]();for(let _0x52197d=_0x5d2238['startRow'];_0x52197d<=_0x5d2238[_0x2b62c9(0x342)];_0x52197d++)for(let _0x1437e4=_0x5d2238[_0x2b62c9(0x19f)];_0x1437e4<=_0x5d2238[_0x2b62c9(0x1e2)];_0x1437e4++){const _0x338329=_0x325c85['getValue'](_0x52197d,_0x1437e4);if(_0x338329&&(_0x43d412[_0x2b62c9(0x260)](_0x338329['f'])||_0x43d412['isFormulaId'](_0x338329['si'])))return!0x0;}}return!0x1;}};_0x409d8b=_0x37743d([_0xfcddfc(0x0,_0x43d412['Inject'](_0x5bd884['IMessageService'])),_0xfcddfc(0x1,_0x43d412[_0x326f66(0x194)]),_0xfcddfc(0x2,_0x43d412['IConfigService']),_0xfcddfc(0x3,_0x43d412[_0x326f66(0x184)](_0x5bb6d0[_0x326f66(0x237)])),_0xfcddfc(0x4,_0x43d412[_0x326f66(0x378)]),_0xfcddfc(0x5,_0x43d412[_0x326f66(0x25c)]),_0xfcddfc(0x6,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x2e3)]))],_0x409d8b);var _0x14582b=Object[_0x326f66(0x294)],_0x3f2d40=(_0x33a1fb,_0x9e8e31,_0x3d7a21,_0xfbed6c)=>{const _0x124732=_0x326f66;for(var _0x31ef2f=_0xfbed6c>0x1?void 0x0:_0xfbed6c?_0x14582b(_0x9e8e31,_0x3d7a21):_0x9e8e31,_0x78a99a=_0x33a1fb[_0x124732(0x41e)]-0x1,_0x259a73;_0x78a99a>=0x0;_0x78a99a--)(_0x259a73=_0x33a1fb[_0x78a99a])&&(_0x31ef2f=_0x259a73(_0x31ef2f)||_0x31ef2f);return _0x31ef2f;},_0x3ba2f4=(_0x505c09,_0x4427ea)=>(_0x201583,_0xf69c8e)=>_0x4427ea(_0x201583,_0xf69c8e,_0x505c09);let _0x5ea543=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x4d9509,_0x3b8ed6,_0x39a0f6){const _0x32cc5c=_0x326f66;super(),_0xe37f1(this,_0x32cc5c(0x1ba),new Map()),_0xe37f1(this,_0x32cc5c(0x1f1),new Map()),_0xe37f1(this,'_disabled',!0x1),(this[_0x32cc5c(0x383)]=_0x4d9509,this[_0x32cc5c(0x360)]=_0x3b8ed6,this[_0x32cc5c(0x226)]=_0x39a0f6);}[_0x326f66(0x19e)](){this['_disabled']=!0x0;}[_0x326f66(0x292)](){const _0x5e82d8=_0x326f66;this[_0x5e82d8(0x37f)]=!0x1;}get[_0x326f66(0x2e0)](){const _0x596895=_0x326f66;return this[_0x596895(0x1f1)];}[_0x326f66(0x394)](){const _0x266142=_0x326f66;this['exhaustSavingTask']()[_0x266142(0x382)](()=>super['dispose']());}async[_0x326f66(0x398)](_0x179cb8){const _0x472e20=_0x326f66;return this[_0x472e20(0x37f)]?null:this['_localStorageService'][_0x472e20(0x1e6)](_0x322f7a[_0x472e20(0x30d)](_0x179cb8));}async[_0x326f66(0x329)](_0x23fca6,_0x20c011){const _0x1ad020=_0x326f66;return!!this[_0x1ad020(0x360)][_0x1ad020(0x281)](_0x23fca6,_0x20c011);}[_0x326f66(0x285)](_0x376a3b,_0x2e0b5c,_0x30bed5,_0x58eaeb){const _0x1ff134=_0x326f66,_0x5af315=this[_0x1ff134(0x226)][_0x1ff134(0x38f)](_0x376a3b);this[_0x1ff134(0x1ba)][_0x1ff134(0x1f7)](_0x376a3b,{'unitID':_0x376a3b,'type':_0x2e0b5c,'awaitingChangeset':_0x30bed5,'mutations':_0x58eaeb,'rev':_0x5af315}),this['_saveTaskMap'][_0x1ff134(0x2f5)](_0x376a3b)||this[_0x1ff134(0x208)](_0x376a3b);}['_scheduleSaving'](_0x14e090){const _0x196034=_0x326f66,_0xdbf9c5=this[_0x196034(0x3ff)]();_0xdbf9c5===0x0?this[_0x196034(0x42c)](_0x14e090):this[_0x196034(0x1f1)]['set'](_0x14e090,setTimeout(()=>this[_0x196034(0x42c)](_0x14e090),_0xdbf9c5));}[_0x326f66(0x3ff)](){const _0x5d4606=_0x326f66;var _0x24b438;return(_0x24b438=this[_0x5d4606(0x383)][_0x5d4606(0x1f0)](_0x322f7a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x24b438:_0x322f7a[_0x5d4606(0x3b8)];}[_0x326f66(0x42c)](_0x3ccc99){const _0x48a004=_0x326f66,_0x57df1c=this[_0x48a004(0x1f1)][_0x48a004(0x435)](_0x3ccc99);return _0x57df1c!==void 0x0&&window['clearTimeout'](_0x57df1c),this[_0x48a004(0x360)][_0x48a004(0x281)](_0x322f7a[_0x48a004(0x30d)](_0x3ccc99),this[_0x48a004(0x1ba)][_0x48a004(0x435)](_0x3ccc99))[_0x48a004(0x382)](()=>this[_0x48a004(0x1f1)]['delete'](_0x3ccc99));}async[_0x326f66(0x33c)](){const _0x49efbe=_0x326f66,_0x52e487=[];this[_0x49efbe(0x1f1)][_0x49efbe(0x318)]((_0x577ab8,_0x230e3c)=>{const _0x5f24b4=_0x49efbe;window[_0x5f24b4(0x381)](_0x577ab8),_0x52e487[_0x5f24b4(0x29f)](this['_saveCache'](_0x230e3c)[_0x5f24b4(0x382)](()=>{const _0x26dd46=_0x5f24b4;this[_0x26dd46(0x1f1)][_0x26dd46(0x420)](_0x230e3c);}));}),await Promise['all'](_0x52e487);}};_0x5ea543=_0x3f2d40([_0x3ba2f4(0x0,_0x43d412[_0x326f66(0x358)]),_0x3ba2f4(0x1,_0x43d412[_0x326f66(0x2f0)]),_0x3ba2f4(0x2,_0x43d412[_0x326f66(0x184)](_0x399202['RevisionService']))],_0x5ea543);class _0x5cba98 extends _0x43d412[_0x326f66(0x1dd)]{constructor(){const _0x52f0f1=_0x326f66;super(),_0xe37f1(this,_0x52f0f1(0x3c2)),this[_0x52f0f1(0x3c2)]=_0x7c0c7e[_0x52f0f1(0x44a)](window,_0x52f0f1(0x1ae))['pipe'](_0x7c0c7e['takeUntil'](this[_0x52f0f1(0x189)]),_0x7c0c7e['shareReplay'](0x1),_0x7c0c7e[_0x52f0f1(0x320)](void 0x0));}[_0x326f66(0x41b)](_0x2a3bf4,_0x63119a,_0x2cfdbf=!0x1){const _0x75f44f=_0x326f66,_0x26381d=new URL(window[_0x75f44f(0x40d)][_0x75f44f(0x376)]);_0x26381d[_0x75f44f(0x3dd)]['set'](_0x2a3bf4,_0x63119a),_0x2cfdbf?window['history'][_0x75f44f(0x27c)]('','',_0x26381d[_0x75f44f(0x1c0)]()):window[_0x75f44f(0x364)][_0x75f44f(0x3a0)]('','',_0x26381d[_0x75f44f(0x1c0)]());}[_0x326f66(0x1ec)](_0x49a6cb,_0xbe24b1=!0x1){const _0x1bc279=_0x326f66,_0x3b26ce=new URL(window[_0x1bc279(0x40d)][_0x1bc279(0x376)]);_0x3b26ce[_0x1bc279(0x3dd)][_0x1bc279(0x420)](_0x49a6cb),_0xbe24b1?window['history'][_0x1bc279(0x27c)]('','',_0x3b26ce[_0x1bc279(0x1c0)]()):window[_0x1bc279(0x364)]['pushState']('','',_0x3b26ce[_0x1bc279(0x1c0)]());}[_0x326f66(0x2e5)](_0xd4e146){const _0x319ae4=_0x326f66;var _0x4bb8c5;return(_0x4bb8c5=new URL(window[_0x319ae4(0x40d)][_0x319ae4(0x376)])[_0x319ae4(0x3dd)][_0x319ae4(0x435)](_0xd4e146))!=null?_0x4bb8c5:void 0x0;}}var _0xa63685=Object[_0x326f66(0x19c)],_0x11fde8=Object[_0x326f66(0x294)],_0x48fc65=(_0x5143aa,_0x4b8b4f,_0xe6efc5)=>_0x4b8b4f in _0x5143aa?_0xa63685(_0x5143aa,_0x4b8b4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe6efc5}):_0x5143aa[_0x4b8b4f]=_0xe6efc5,_0xbfc658=(_0xba46c9,_0x5369be,_0x212b6b,_0x30c6a0)=>{const _0x140fb8=_0x326f66;for(var _0x4d3b9e=_0x30c6a0>0x1?void 0x0:_0x30c6a0?_0x11fde8(_0x5369be,_0x212b6b):_0x5369be,_0x8a01cf=_0xba46c9[_0x140fb8(0x41e)]-0x1,_0x16f0a6;_0x8a01cf>=0x0;_0x8a01cf--)(_0x16f0a6=_0xba46c9[_0x8a01cf])&&(_0x4d3b9e=_0x16f0a6(_0x4d3b9e)||_0x4d3b9e);return _0x4d3b9e;},_0x131ab0=(_0x5cbc7f,_0x243c54)=>(_0x41f6d6,_0x757b85)=>_0x243c54(_0x41f6d6,_0x757b85,_0x5cbc7f),_0x1ed22a=(_0x38f7ca,_0x59ea7f,_0xf3ba57)=>_0x48fc65(_0x38f7ca,_0x59ea7f+'',_0xf3ba57);const _0x8f9d93='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3f1a0c[_0x326f66(0x1d9)]=class extends _0x43d412[_0x326f66(0x2e7)]{constructor(_0x13bb7c=_0x26d491,_0xce2dbb,_0x3bdcf0,_0x3f5d94){const _0x48da45=_0x326f66;super(),this[_0x48da45(0x3ab)]=_0x13bb7c,this[_0x48da45(0x3a8)]=_0xce2dbb,this[_0x48da45(0x1d5)]=_0x3bdcf0,this['_configService']=_0x3f5d94;const {..._0x2cbee0}=_0x43d412[_0x48da45(0x38b)]({},_0x26d491,this[_0x48da45(0x3ab)]);this[_0x48da45(0x383)][_0x48da45(0x2e1)](_0x190675,_0x2cbee0);}[_0x326f66(0x203)](){const _0x49a407=_0x326f66;this[_0x49a407(0x37a)](),this[_0x49a407(0x270)]();}[_0x326f66(0x3da)](){const _0x28aacb=_0x326f66;this[_0x28aacb(0x1c4)]();}['_registerDependencies'](){const _0x28263e=_0x326f66;var _0x1c493d;const _0x100907=[[_0xe0d8fb],[_0x409d8b],[_0xcada2b],[_0x486dfe],[_0x5ce3b4],[_0x557965],[_0x25a17d,{'useClass':_0x5cba98}],[_0x5bb6d0[_0x28263e(0x3e4)],{'useClass':_0x5bb6d0['WebSocketService']}],[_0x322f7a['ILocalCacheService'],{'useClass':_0x5ea543}],[_0x3f1a0c['DesktopCollaborationStatusDisplayController']],[_0x55f5b8],[_0x19e657],[_0x30ef43],[_0x45f5c1],[_0x3f1a0c[_0x28263e(0x1ea)]]];this[_0x28263e(0x3ab)][_0x28263e(0x18d)]&&_0x100907['push']([_0xafd165]),_0x43d412[_0x28263e(0x434)](this[_0x28263e(0x1d5)],_0x43d412[_0x28263e(0x3e6)](_0x100907,(_0x1c493d=this[_0x28263e(0x3ab)])==null?void 0x0:_0x1c493d[_0x28263e(0x301)]));}[_0x326f66(0x1c4)](){const _0x6a8fa5=_0x326f66;this[_0x6a8fa5(0x3f4)](this[_0x6a8fa5(0x3a8)][_0x6a8fa5(0x3d4)](_0x43d412['UniverInstanceType'][_0x6a8fa5(0x3f8)],[_0x53898c])),this['disposeWithMe'](this[_0x6a8fa5(0x3a8)][_0x6a8fa5(0x3d4)](_0x43d412[_0x6a8fa5(0x1d4)][_0x6a8fa5(0x3bc)],[_0x29b976]));}[_0x326f66(0x270)](){const _0x2a4298=_0x326f66;_0x43d412[_0x2a4298(0x442)](this['_injector'],[[_0x30ef43],[_0x3f1a0c['DesktopCollaborationStatusDisplayController']],[_0x55f5b8],[_0x19e657],[_0x3f1a0c[_0x2a4298(0x1ea)]],[_0x409d8b]]),this[_0x2a4298(0x3ab)][_0x2a4298(0x18d)]&&_0x43d412[_0x2a4298(0x442)](this[_0x2a4298(0x1d5)],[[_0xafd165]]);}},_0x1ed22a(_0x3f1a0c[_0x326f66(0x1d9)],_0x326f66(0x1d7),_0x8f9d93),_0x3f1a0c['UniverCollaborationClientUIPlugin']=_0xbfc658([_0x43d412[_0x326f66(0x41f)](_0x322f7a[_0x326f66(0x2aa)]),_0x131ab0(0x1,_0x317937[_0x326f66(0x2ac)]),_0x131ab0(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x131ab0(0x3,_0x43d412[_0x326f66(0x358)])],_0x3f1a0c[_0x326f66(0x1d9)]);var _0x34f796=Object['getOwnPropertyDescriptor'],_0xef91b4=(_0x119b49,_0x4022fb,_0xb14c11,_0x4f357f)=>{for(var _0x33a895=_0x4f357f>0x1?void 0x0:_0x4f357f?_0x34f796(_0x4022fb,_0xb14c11):_0x4022fb,_0x2d1ca9=_0x119b49['length']-0x1,_0xdcd7fe;_0x2d1ca9>=0x0;_0x2d1ca9--)(_0xdcd7fe=_0x119b49[_0x2d1ca9])&&(_0x33a895=_0xdcd7fe(_0x33a895)||_0x33a895);return _0x33a895;},_0x269cb8=(_0x5b134b,_0x48593c)=>(_0x49bafb,_0xf3db76)=>_0x48593c(_0x49bafb,_0xf3db76,_0x5b134b);_0x3f1a0c[_0x326f66(0x317)]=class extends _0x322f7a[_0x326f66(0x1cd)]{constructor(_0x1651d8,_0x380110,_0x41ead0,_0x22bd91,_0x4c94cd){super(_0x1651d8,_0x380110,_0x41ead0,_0x22bd91,_0x4c94cd);}async[_0x326f66(0x169)](_0x4f9f56){const _0x1e8da3=_0x326f66,_0x1d7704=await this[_0x1e8da3(0x40a)](),_0x48160c=this['_createSocketURL'](_0x4f9f56,_0x1d7704);return this[_0x1e8da3(0x340)](_0x48160c);}[_0x326f66(0x1a5)](_0x5cf8c0,_0x8f8b2e){const _0x2ee8fa=_0x326f66,_0x2b328e=typeof window>'u'?new URL(_0x5cf8c0):new URL(_0x5cf8c0,window[_0x2ee8fa(0x40d)][_0x2ee8fa(0x2c3)]);_0x2b328e[_0x2ee8fa(0x3dd)]['set'](_0x2ee8fa(0x1c1),_0x8f8b2e);const _0x431951=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ee8fa(0x40d)][_0x2ee8fa(0x304)]);return _0x431951[_0x2ee8fa(0x435)](_0x2ee8fa(0x192))&&_0x2b328e['searchParams']['set'](_0x2ee8fa(0x192),_0x431951[_0x2ee8fa(0x435)]('runId')),_0x2b328e[_0x2ee8fa(0x1c0)]();}async[_0x326f66(0x40a)](){const _0x513449=_0x326f66;var _0x552352,_0x33fcf2,_0x160bf2;const _0x10048b=this[_0x513449(0x383)][_0x513449(0x1f0)](_0x322f7a[_0x513449(0x31f)]),_0x3051a5=(_0x552352=_0x10048b==null?void 0x0:_0x10048b['wsSessionTicketUrl'])!=null?_0x552352:_0x322f7a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x160bf2=(_0x33fcf2=(await this[_0x513449(0x16b)][_0x513449(0x435)](_0x3051a5,{'headers':{'Content-Type':_0x513449(0x3d5)}}))[_0x513449(0x313)])==null?void 0x0:_0x33fcf2['ticket'])!=null?_0x160bf2:'';}},_0x3f1a0c['BrowserCollaborationSocketService']=_0xef91b4([_0x269cb8(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x269cb8(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0['HTTPService'])),_0x269cb8(0x2,_0x43d412['IConfigService']),_0x269cb8(0x3,_0x43d412[_0x326f66(0x25c)]),_0x269cb8(0x4,_0x399202[_0x326f66(0x1aa)])],_0x3f1a0c[_0x326f66(0x317)]);var _0x41ed82=Object[_0x326f66(0x294)],_0x5d85c5=(_0x2c4509,_0x2d3a5e,_0x154668,_0x217eb3)=>{const _0x5643a0=_0x326f66;for(var _0x5bac3f=_0x217eb3>0x1?void 0x0:_0x217eb3?_0x41ed82(_0x2d3a5e,_0x154668):_0x2d3a5e,_0x4ea911=_0x2c4509[_0x5643a0(0x41e)]-0x1,_0x37e687;_0x4ea911>=0x0;_0x4ea911--)(_0x37e687=_0x2c4509[_0x4ea911])&&(_0x5bac3f=_0x37e687(_0x5bac3f)||_0x5bac3f);return _0x5bac3f;},_0x1b4cd2=(_0x447a35,_0x241861)=>(_0x41b99e,_0x3a4304)=>_0x241861(_0x41b99e,_0x3a4304,_0x447a35);_0x3f1a0c[_0x326f66(0x3b5)]=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x9527d9,_0x8cbc69,_0x3bf9be){const _0x2628bd=_0x326f66;super(),this[_0x2628bd(0x3eb)]=_0x9527d9,this[_0x2628bd(0x16b)]=_0x8cbc69,this[_0x2628bd(0x383)]=_0x3bf9be;}async[_0x326f66(0x3b9)](_0x404c29,_0x322693,_0x17324a,..._0x5b5d21){const _0x53dfe0=_0x326f66;var _0x4293b8,_0x494f43,_0x516e7f,_0x53ae73;const _0x242f8c=this['_instanceService'][_0x53dfe0(0x1f9)]();if(!_0x242f8c)throw new Error(_0x53dfe0(0x1ac));const _0x446638=((_0x4293b8=this[_0x53dfe0(0x383)][_0x53dfe0(0x1f0)](_0x322f7a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4293b8:_0x322f7a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x404c29+_0x53dfe0(0x242)+_0x322693,_0x140195=new URL(window[_0x53dfe0(0x40d)][_0x53dfe0(0x376)]),_0x217a40={'scriptId':_0x404c29,'runId':(_0x494f43=_0x140195['searchParams'][_0x53dfe0(0x435)](_0x53dfe0(0x192)))!=null?_0x494f43:'','function':_0x322693,'unitId':_0x242f8c[_0x53dfe0(0x409)](),'argsOfFunction':JSON['stringify'](_0x5b5d21),'invokeId':(_0x516e7f=_0x17324a[_0x53dfe0(0x274)])!=null?_0x516e7f:'','executionId':(_0x53ae73=_0x17324a[_0x53dfe0(0x326)])!=null?_0x53ae73:''};try{const _0x24c388=await this[_0x53dfe0(0x16b)][_0x53dfe0(0x16a)](_0x446638,{'body':_0x217a40});return _0x24c388[_0x53dfe0(0x313)][_0x53dfe0(0x3a5)]&&_0x24c388[_0x53dfe0(0x313)][_0x53dfe0(0x3a5)][_0x53dfe0(0x439)]!==_0xbce51a['OK']?_0x53dfe0(0x2d9):_0x24c388[_0x53dfe0(0x313)]['result'];}catch{return'Failed';}}},_0x3f1a0c[_0x326f66(0x3b5)]=_0x5d85c5([_0x1b4cd2(0x0,_0x43d412['IUniverInstanceService']),_0x1b4cd2(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0[_0x326f66(0x237)])),_0x1b4cd2(0x2,_0x43d412[_0x326f66(0x358)])],_0x3f1a0c[_0x326f66(0x3b5)]);const _0x53ec5c=0x7530,_0x1100c6=_0x326f66(0x300);class _0x2a46f9 extends _0x43d412[_0x326f66(0x1e0)]{constructor(){const _0x45631a=_0x326f66;super(),_0xe37f1(this,_0x45631a(0x3fd),_0x43d412[_0x45631a(0x332)]()),_0xe37f1(this,'_selfUnitIDs',new Set()),_0xe37f1(this,_0x45631a(0x377),new Map()),_0xe37f1(this,_0x45631a(0x2e9),null),_0xe37f1(this,_0x45631a(0x302),new Map()),_0xe37f1(this,_0x45631a(0x3e9),new Map()),this['_init']();}[_0x326f66(0x394)](){const _0x1c077e=_0x326f66;super[_0x1c077e(0x394)](),this[_0x1c077e(0x302)][_0x1c077e(0x318)]((_0x1ec5f3,_0x5a3391)=>this[_0x1c077e(0x244)](_0x5a3391)),this[_0x1c077e(0x2e9)]&&window[_0x1c077e(0x30b)](this['_heartbeatTimer']);}[_0x326f66(0x2c7)](_0x5347a2){const _0x45b257=_0x326f66;return this[_0x45b257(0x2d3)](_0x5347a2)[_0x45b257(0x276)](_0x7c0c7e[_0x45b257(0x2e6)]());}[_0x326f66(0x355)](_0x53c161){const _0xa9c9ea=_0x326f66;this[_0xa9c9ea(0x36e)][_0xa9c9ea(0x264)]===0x0&&this[_0xa9c9ea(0x415)](),this['_selfUnitIDs'][_0xa9c9ea(0x20f)](_0x53c161),this['_send']({'type':0x0,'memberID':this[_0xa9c9ea(0x3fd)],'unitIDs':[_0x53c161],'isForwarded':!0x1});}[_0x326f66(0x259)](_0x15f40d){const _0x5efcce=_0x326f66;this[_0x5efcce(0x36e)]['delete'](_0x15f40d),this['_selfUnitIDs']['size']===0x0&&this[_0x5efcce(0x2e9)]&&window[_0x5efcce(0x30b)](this[_0x5efcce(0x2e9)]);}[_0x326f66(0x440)](){const _0x98a7ca=_0x326f66;this['disposeWithMe'](_0x43d412[_0x98a7ca(0x3c0)](_0x7c0c7e[_0x98a7ca(0x44a)](window,_0x98a7ca(0x179))[_0x98a7ca(0x257)](_0x401598=>{const _0x2e4a8f=_0x98a7ca;if(_0x401598[_0x2e4a8f(0x43f)]!==_0x1100c6||!_0x401598['newValue'])return;const _0x5c56a2=JSON[_0x2e4a8f(0x16d)](_0x401598[_0x2e4a8f(0x1a4)]);this[_0x2e4a8f(0x1b6)](_0x5c56a2);}))),window[_0x98a7ca(0x359)](_0x98a7ca(0x1a9),()=>this[_0x98a7ca(0x15e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x98a7ca(0x27f)](this['_selfUnitIDs'])}));}[_0x326f66(0x1b6)](_0x379930){const _0x3af43d=_0x326f66;switch(_0x379930[_0x3af43d(0x1e4)]){case 0x0:this[_0x3af43d(0x404)](_0x379930);break;case 0x1:this[_0x3af43d(0x1fe)](_0x379930);break;case 0x2:this[_0x3af43d(0x3f5)](_0x379930);break;}}[_0x326f66(0x404)](_0xafa655){const _0x4c23ec=_0x326f66,{unitIDs:_0x3cb728,memberID:_0x1118f9,isForwarded:_0x40a61e}=_0xafa655;_0x3cb728[_0x4c23ec(0x318)](_0x50d3d0=>{const _0x4c64cb=_0x4c23ec;if(!_0x40a61e&&this['_unitOnClients'][_0x4c64cb(0x2f5)](_0x50d3d0)&&this[_0x4c64cb(0x2d3)](_0x50d3d0)['next'](_0x322f7a[_0x4c64cb(0x3b6)][_0x4c64cb(0x27e)]),!this[_0x4c64cb(0x377)][_0x4c64cb(0x2f5)](_0x50d3d0)||!this['_unitOnClients'][_0x4c64cb(0x435)](_0x50d3d0)[_0x4c64cb(0x2f5)](_0x1118f9)){const _0x4a8692=this[_0x4c64cb(0x377)][_0x4c64cb(0x435)](_0x50d3d0)||new Set();_0x4a8692['add'](_0x1118f9),this[_0x4c64cb(0x377)][_0x4c64cb(0x1f7)](_0x50d3d0,_0x4a8692),this[_0x4c64cb(0x29b)](_0x1118f9);}}),_0x40a61e||this[_0x4c23ec(0x15e)]({'type':0x0,'memberID':this[_0x4c23ec(0x3fd)],'unitIDs':[...this[_0x4c23ec(0x36e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9474ab){const _0x4cfed1=_0x326f66;this[_0x4cfed1(0x244)](_0x9474ab);const _0x30d89a=window['setTimeout'](()=>{const _0xe2deab=_0x4cfed1;this[_0xe2deab(0x377)][_0xe2deab(0x318)](_0x1c776f=>{const _0x1452ad=_0xe2deab;_0x1c776f[_0x1452ad(0x420)](_0x9474ab);});},_0x53ec5c*0x2);this['_clearOtherTimers'][_0x4cfed1(0x1f7)](_0x9474ab,_0x30d89a);}[_0x326f66(0x244)](_0x1e909b){const _0x1a78e3=_0x326f66;if(this['_clearOtherTimers'][_0x1a78e3(0x2f5)](_0x1e909b)){const _0xe649f2=this[_0x1a78e3(0x302)][_0x1a78e3(0x435)](_0x1e909b);_0xe649f2&&window[_0x1a78e3(0x381)](_0xe649f2),this['_clearOtherTimers'][_0x1a78e3(0x1f7)](_0x1e909b,null);}}[_0x326f66(0x1fe)](_0x2cb1fa){const _0x5c3aab=_0x326f66,{memberID:_0x336a80,unitIDs:_0x4bbff8}=_0x2cb1fa;_0x4bbff8[_0x5c3aab(0x318)](_0x21dcbe=>{const _0x4ea2bd=_0x5c3aab;var _0xb52cc4;const _0x43662d=this['_unitOnClients'][_0x4ea2bd(0x435)](_0x21dcbe);_0x43662d&&(_0x43662d[_0x4ea2bd(0x420)](_0x336a80),(_0xb52cc4=this[_0x4ea2bd(0x2d3)](_0x21dcbe))==null||_0xb52cc4[_0x4ea2bd(0x29d)](_0x43662d[_0x4ea2bd(0x264)]===0x0?_0x322f7a[_0x4ea2bd(0x3b6)][_0x4ea2bd(0x188)]:_0x322f7a['UnitStatus'][_0x4ea2bd(0x27e)]));}),this[_0x5c3aab(0x244)](_0x336a80);}[_0x326f66(0x3f5)](_0x4eb8e1){const _0x106bdb=_0x326f66;this[_0x106bdb(0x29b)](_0x4eb8e1[_0x106bdb(0x22c)]);}[_0x326f66(0x15e)](_0x323be0){const _0x279b33=_0x326f66;localStorage['setItem'](_0x1100c6,JSON[_0x279b33(0x15f)](_0x323be0));}[_0x326f66(0x415)](){const _0x49c606=_0x326f66;this[_0x49c606(0x2e9)]=window['setInterval'](()=>{const _0xd259e6=_0x49c606;this[_0xd259e6(0x15e)]({'type':0x2,'memberID':this[_0xd259e6(0x3fd)]});},_0x53ec5c);}[_0x326f66(0x2d3)](_0x267cbc){const _0x220e0b=_0x326f66;return this[_0x220e0b(0x3e9)]['has'](_0x267cbc)||this['_unitStatus'][_0x220e0b(0x1f7)](_0x267cbc,new _0x7c0c7e[(_0x220e0b(0x225))](_0x322f7a['UnitStatus'][_0x220e0b(0x188)])),this[_0x220e0b(0x3e9)][_0x220e0b(0x435)](_0x267cbc);}}_0x3f1a0c['IURLService']=_0x25a17d,_0x3f1a0c[_0x326f66(0x307)]=_0x21a13a,_0x3f1a0c['WebBrowserSingleActiveUnitService']=_0x2a46f9,_0x3f1a0c[_0x326f66(0x167)]=_0x5cba98,Object[_0x326f66(0x19c)](_0x3f1a0c,Symbol['toStringTag'],{'value':_0x326f66(0x389)});}));