@univerjs/preset-sheets-collaboration 0.25.1 → 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +98 -1
  3. package/lib/cjs/locales/ar-SA.js +17 -1
  4. package/lib/cjs/locales/ca-ES.js +17 -1
  5. package/lib/cjs/locales/de-DE.js +17 -1
  6. package/lib/cjs/locales/en-US.js +17 -1
  7. package/lib/cjs/locales/es-ES.js +17 -1
  8. package/lib/cjs/locales/fa-IR.js +17 -1
  9. package/lib/cjs/locales/fr-FR.js +17 -1
  10. package/lib/cjs/locales/id-ID.js +17 -1
  11. package/lib/cjs/locales/it-IT.js +17 -1
  12. package/lib/cjs/locales/ja-JP.js +17 -1
  13. package/lib/cjs/locales/ko-KR.js +17 -1
  14. package/lib/cjs/locales/pl-PL.js +17 -1
  15. package/lib/cjs/locales/pt-BR.js +17 -1
  16. package/lib/cjs/locales/ru-RU.js +17 -1
  17. package/lib/cjs/locales/sk-SK.js +17 -1
  18. package/lib/cjs/locales/vi-VN.js +17 -1
  19. package/lib/cjs/locales/zh-CN.js +17 -1
  20. package/lib/cjs/locales/zh-HK.js +17 -1
  21. package/lib/cjs/locales/zh-TW.js +17 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/es/index.js +70 -66
  24. package/lib/es/locales/ar-SA.js +11 -14
  25. package/lib/es/locales/ca-ES.js +11 -14
  26. package/lib/es/locales/de-DE.js +11 -14
  27. package/lib/es/locales/en-US.js +11 -14
  28. package/lib/es/locales/es-ES.js +11 -14
  29. package/lib/es/locales/fa-IR.js +11 -14
  30. package/lib/es/locales/fr-FR.js +11 -14
  31. package/lib/es/locales/id-ID.js +11 -14
  32. package/lib/es/locales/it-IT.js +11 -14
  33. package/lib/es/locales/ja-JP.js +11 -14
  34. package/lib/es/locales/ko-KR.js +11 -14
  35. package/lib/es/locales/pl-PL.js +11 -14
  36. package/lib/es/locales/pt-BR.js +11 -14
  37. package/lib/es/locales/ru-RU.js +11 -14
  38. package/lib/es/locales/sk-SK.js +11 -14
  39. package/lib/es/locales/vi-VN.js +11 -14
  40. package/lib/es/locales/zh-CN.js +11 -14
  41. package/lib/es/locales/zh-HK.js +11 -14
  42. package/lib/es/locales/zh-TW.js +11 -14
  43. package/lib/index.css +711 -1
  44. package/lib/index.js +70 -66
  45. package/lib/locales/ar-SA.js +11 -14
  46. package/lib/locales/ca-ES.js +11 -14
  47. package/lib/locales/de-DE.js +11 -14
  48. package/lib/locales/en-US.js +11 -14
  49. package/lib/locales/es-ES.js +11 -14
  50. package/lib/locales/fa-IR.js +11 -14
  51. package/lib/locales/fr-FR.js +11 -14
  52. package/lib/locales/id-ID.js +11 -14
  53. package/lib/locales/it-IT.js +11 -14
  54. package/lib/locales/ja-JP.js +11 -14
  55. package/lib/locales/ko-KR.js +11 -14
  56. package/lib/locales/pl-PL.js +11 -14
  57. package/lib/locales/pt-BR.js +11 -14
  58. package/lib/locales/ru-RU.js +11 -14
  59. package/lib/locales/sk-SK.js +11 -14
  60. package/lib/locales/vi-VN.js +11 -14
  61. package/lib/locales/zh-CN.js +11 -14
  62. package/lib/locales/zh-HK.js +11 -14
  63. package/lib/locales/zh-TW.js +11 -14
  64. package/lib/types/index.d.ts +1 -1
  65. package/lib/types/locales/ar-SA.d.ts +1 -3
  66. package/lib/types/locales/ca-ES.d.ts +1 -3
  67. package/lib/types/locales/de-DE.d.ts +1 -3
  68. package/lib/types/locales/en-US.d.ts +1 -3
  69. package/lib/types/locales/es-ES.d.ts +1 -3
  70. package/lib/types/locales/fa-IR.d.ts +1 -3
  71. package/lib/types/locales/fr-FR.d.ts +1 -3
  72. package/lib/types/locales/id-ID.d.ts +1 -3
  73. package/lib/types/locales/it-IT.d.ts +1 -3
  74. package/lib/types/locales/ja-JP.d.ts +1 -3
  75. package/lib/types/locales/ko-KR.d.ts +1 -3
  76. package/lib/types/locales/pl-PL.d.ts +1 -3
  77. package/lib/types/locales/pt-BR.d.ts +1 -3
  78. package/lib/types/locales/ru-RU.d.ts +1 -3
  79. package/lib/types/locales/sk-SK.d.ts +1 -3
  80. package/lib/types/locales/vi-VN.d.ts +1 -3
  81. package/lib/types/locales/zh-CN.d.ts +1 -3
  82. package/lib/types/locales/zh-HK.d.ts +1 -3
  83. package/lib/types/locales/zh-TW.d.ts +1 -3
  84. package/lib/types/{umd.d.ts → preset.d.ts} +6 -8
  85. package/package.json +21 -24
  86. package/LICENSE +0 -176
  87. package/lib/types/types.d.ts +0 -11
  88. package/lib/umd/index.js +0 -23
  89. package/lib/umd/locales/ar-SA.js +0 -14
  90. package/lib/umd/locales/ca-ES.js +0 -14
  91. package/lib/umd/locales/de-DE.js +0 -14
  92. package/lib/umd/locales/en-US.js +0 -14
  93. package/lib/umd/locales/es-ES.js +0 -14
  94. package/lib/umd/locales/fa-IR.js +0 -14
  95. package/lib/umd/locales/fr-FR.js +0 -14
  96. package/lib/umd/locales/id-ID.js +0 -14
  97. package/lib/umd/locales/it-IT.js +0 -14
  98. package/lib/umd/locales/ja-JP.js +0 -14
  99. package/lib/umd/locales/ko-KR.js +0 -14
  100. package/lib/umd/locales/pl-PL.js +0 -14
  101. package/lib/umd/locales/pt-BR.js +0 -14
  102. package/lib/umd/locales/ru-RU.js +0 -14
  103. package/lib/umd/locales/sk-SK.js +0 -14
  104. package/lib/umd/locales/vi-VN.js +0 -14
  105. package/lib/umd/locales/zh-CN.js +0 -14
  106. package/lib/umd/locales/zh-HK.js +0 -14
  107. package/lib/umd/locales/zh-TW.js +0 -14
package/lib/umd/index.js DELETED
@@ -1,23 +0,0 @@
1
- // @univerjs-pro/collaboration-client/index
2
- (function(_0x2404bf,_0x2a3492){const _0x5ff4f5=_0x1555,_0x523978=_0x2404bf();while(!![]){try{const _0x1a7b58=-parseInt(_0x5ff4f5(0x332))/0x1*(parseInt(_0x5ff4f5(0x2c4))/0x2)+parseInt(_0x5ff4f5(0x2ec))/0x3*(-parseInt(_0x5ff4f5(0x377))/0x4)+parseInt(_0x5ff4f5(0x36c))/0x5+-parseInt(_0x5ff4f5(0x147))/0x6*(-parseInt(_0x5ff4f5(0x207))/0x7)+-parseInt(_0x5ff4f5(0x138))/0x8+parseInt(_0x5ff4f5(0x3a3))/0x9*(parseInt(_0x5ff4f5(0x2b9))/0xa)+-parseInt(_0x5ff4f5(0x365))/0xb*(-parseInt(_0x5ff4f5(0xc1))/0xc);if(_0x1a7b58===_0x2a3492)break;else _0x523978['push'](_0x523978['shift']());}catch(_0x3370da){_0x523978['push'](_0x523978['shift']());}}}(_0x15e6,0x8eb18),function(_0xa183d2,_0x1f34a1){const _0x49ec51=_0x1555;typeof exports==_0x49ec51(0x2d3)&&typeof module<'u'?_0x1f34a1(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x49ec51(0x240)]?define(['exports',_0x49ec51(0x148),_0x49ec51(0x212),'@univerjs/docs','@univerjs/sheets',_0x49ec51(0x19d),'@univerjs/protocol',_0x49ec51(0x29b),_0x49ec51(0xd1),_0x49ec51(0x2fe),_0x49ec51(0x191),_0x49ec51(0xda)],_0x1f34a1):(_0xa183d2=typeof globalThis<'u'?globalThis:_0xa183d2||self,_0x1f34a1(_0xa183d2['UniverProCollaborationClient']={},_0xa183d2[_0x49ec51(0x3c3)],_0xa183d2[_0x49ec51(0x35c)],_0xa183d2[_0x49ec51(0x25e)],_0xa183d2[_0x49ec51(0x215)],_0xa183d2['rxjs'],_0xa183d2['UniverProtocol'],_0xa183d2['UniverTelemetry'],_0xa183d2[_0x49ec51(0x19d)][_0x49ec51(0x282)],_0xa183d2['UniverNetwork'],_0xa183d2[_0x49ec51(0x270)],_0xa183d2['UniverDrawing']));}(this,function(_0x17c4ec,_0x540a4f,_0x305d10,_0x44bc8e,_0x2b86ea,_0x247d93,_0x54f861,_0xc2f67a,_0x38623c,_0x3c9fd5,_0x5f2569,_0x5452c7){const _0x33f14e=_0x1555;Object[_0x33f14e(0x267)](_0x17c4ec,Symbol[_0x33f14e(0x3c0)],{'value':_0x33f14e(0x24d)});let _0x3919fe='ws://127.0.0.1:8000/universer-api/comb/connect',_0x5752cb=0x4e20;function _0x3fc80e(_0x182493){const _0x35b476=_0x33f14e;return JSON[_0x35b476(0x121)](_0x182493)[_0x35b476(0x251)];}function _0x17d55f(_0x185fb1){'@babel/helpers - typeof';const _0x433e25=_0x33f14e;return _0x17d55f=typeof Symbol=='function'&&typeof Symbol[_0x433e25(0x349)]==_0x433e25(0x149)?function(_0x102c46){return typeof _0x102c46;}:function(_0xd07284){const _0x1a3f2f=_0x433e25;return _0xd07284&&typeof Symbol==_0x1a3f2f(0x1b7)&&_0xd07284['constructor']===Symbol&&_0xd07284!==Symbol[_0x1a3f2f(0xe7)]?'symbol':typeof _0xd07284;},_0x17d55f(_0x185fb1);}function _0x1ebd53(_0x3fdfc4,_0x2a9576){const _0x3c4ae3=_0x33f14e;if(_0x17d55f(_0x3fdfc4)!='object'||!_0x3fdfc4)return _0x3fdfc4;var _0x51eafb=_0x3fdfc4[Symbol[_0x3c4ae3(0x114)]];if(_0x51eafb!==void 0x0){var _0x38dc5a=_0x51eafb['call'](_0x3fdfc4,_0x2a9576||_0x3c4ae3(0xfc));if(_0x17d55f(_0x38dc5a)!=_0x3c4ae3(0x2d3))return _0x38dc5a;throw TypeError(_0x3c4ae3(0x1fd));}return(_0x2a9576==='string'?String:Number)(_0x3fdfc4);}function _0x283ebf(_0x5665c8){const _0x20c58e=_0x33f14e;var _0x70fd9d=_0x1ebd53(_0x5665c8,_0x20c58e(0x137));return _0x17d55f(_0x70fd9d)==_0x20c58e(0x149)?_0x70fd9d:_0x70fd9d+'';}function _0x816778(_0x27324f,_0x62929,_0x40859a){const _0x10c05d=_0x33f14e;return(_0x62929=_0x283ebf(_0x62929))in _0x27324f?Object[_0x10c05d(0x267)](_0x27324f,_0x62929,{'value':_0x40859a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27324f[_0x62929]=_0x40859a,_0x27324f;}let _0x29ff30=function(_0x3554b8){const _0x3acb85=_0x33f14e;return _0x3554b8['OTHER_CLIENT_EDITING']=_0x3acb85(0x162),_0x3554b8['PERMISSION_DENIED']=_0x3acb85(0x399),_0x3554b8['CONFLICT']=_0x3acb85(0x225),_0x3554b8[_0x3acb85(0x261)]='CLOSE_ROOM',_0x3554b8[_0x3acb85(0x259)]='JOIN_ROOM_FAILED',_0x3554b8[_0x3acb85(0x37a)]=_0x3acb85(0x37a),_0x3554b8[_0x3acb85(0x237)]=_0x3acb85(0x237),_0x3554b8[_0x3acb85(0x160)]=_0x3acb85(0x160),_0x3554b8;}({});var _0x23b696=class{constructor(){const _0x54652f=_0x33f14e;_0x816778(this,_0x54652f(0x177),new _0x247d93['Subject']()),_0x816778(this,_0x54652f(0x1b0),this[_0x54652f(0x177)][_0x54652f(0x172)]());}[_0x33f14e(0x118)](_0x1cf6f9){const _0x40f79e=_0x33f14e;this[_0x40f79e(0x177)]['next'](_0x1cf6f9);}},_0x1493d1=class{constructor(){const _0x47bcc2=_0x33f14e;_0x816778(this,_0x47bcc2(0x230),new _0x247d93[(_0x47bcc2(0x2be))]()),_0x816778(this,_0x47bcc2(0x31d),this['_commentUpdate$'][_0x47bcc2(0x172)]());}[_0x33f14e(0x236)](_0x1dcd6d){const _0x1b5f50=_0x33f14e;this[_0x1b5f50(0x230)][_0x1b5f50(0x300)](_0x1dcd6d);}};function _0xf01086(_0x3fe12a,_0x454149){return function(_0x2bb408,_0x1686b9){_0x454149(_0x2bb408,_0x1686b9,_0x3fe12a);};}function _0x47fc4c(_0x509d39,_0x2430a4,_0x28fcf4,_0x1edc96){const _0x248088=_0x33f14e;var _0x2c8eaf=arguments[_0x248088(0x251)],_0x1d5a0d=_0x2c8eaf<0x3?_0x2430a4:_0x1edc96===null?_0x1edc96=Object[_0x248088(0x189)](_0x2430a4,_0x28fcf4):_0x1edc96,_0xfda87f;if(typeof Reflect==_0x248088(0x2d3)&&typeof Reflect[_0x248088(0x393)]==_0x248088(0x1b7))_0x1d5a0d=Reflect['decorate'](_0x509d39,_0x2430a4,_0x28fcf4,_0x1edc96);else{for(var _0x4a15a1=_0x509d39[_0x248088(0x251)]-0x1;_0x4a15a1>=0x0;_0x4a15a1--)(_0xfda87f=_0x509d39[_0x4a15a1])&&(_0x1d5a0d=(_0x2c8eaf<0x3?_0xfda87f(_0x1d5a0d):_0x2c8eaf>0x3?_0xfda87f(_0x2430a4,_0x28fcf4,_0x1d5a0d):_0xfda87f(_0x2430a4,_0x28fcf4))||_0x1d5a0d);}return _0x2c8eaf>0x3&&_0x1d5a0d&&Object[_0x248088(0x267)](_0x2430a4,_0x28fcf4,_0x1d5a0d),_0x1d5a0d;}let _0x497a33=class extends _0x305d10['Disposable']{constructor(_0x2e76d6,_0xa3438){const _0x4b6fb1=_0x33f14e;super(),this[_0x4b6fb1(0x35b)]=_0x2e76d6,this['_userManagerService']=_0xa3438,_0x816778(this,_0x4b6fb1(0x151),new Map()),_0x816778(this,'_roomCreated$',new _0x247d93['Subject']()),this['disposeWithMe']((0x0,_0x247d93['merge'])(this['_univerInstanceService'][_0x4b6fb1(0x2b7)](_0x305d10[_0x4b6fb1(0x1c6)][_0x4b6fb1(0x22a)])['pipe']((0x0,_0x38623c[_0x4b6fb1(0x348)])(_0x4c3f89=>_0x4c3f89[_0x4b6fb1(0x1e7)]())),this[_0x4b6fb1(0x35b)]['getTypeOfUnitDisposed$'](_0x305d10[_0x4b6fb1(0x1c6)]['UNIVER_DOC'])[_0x4b6fb1(0x2a9)]((0x0,_0x38623c['map'])(_0x4518e9=>_0x4518e9[_0x4b6fb1(0x1e7)]())))['subscribe'](_0x3c4457=>this[_0x4b6fb1(0x37d)](_0x3c4457)));}[_0x33f14e(0x124)](_0x2f312b){const _0xfc1912=_0x33f14e;return this['_roomMembers'][_0xfc1912(0x354)](_0x2f312b)?(0x0,_0x247d93['of'])(this[_0xfc1912(0x151)][_0xfc1912(0x1a5)](_0x2f312b)):this[_0xfc1912(0x303)]['pipe']((0x0,_0x38623c[_0xfc1912(0x348)])(_0x20a3ba=>{const _0x502e6b=_0xfc1912;if(_0x20a3ba===_0x2f312b)return this['_roomMembers'][_0x502e6b(0x1a5)](_0x20a3ba);}));}['setCurrentUser'](_0x4be55c){const _0x5bb273=_0x33f14e;this[_0x5bb273(0x38e)]['setCurrentUser'](_0x4be55c);}[_0x33f14e(0x2cd)](){const _0x30f150=_0x33f14e;return this['_userManagerService'][_0x30f150(0x2cd)]();}[_0x33f14e(0x10a)](_0x21acd4,_0x12452e){const _0x285cfc=_0x33f14e;let _0x5cc695=this[_0x285cfc(0x151)][_0x285cfc(0x1a5)](_0x21acd4);_0x5cc695||(_0x5cc695=new _0x11f6ad(),this[_0x285cfc(0x151)][_0x285cfc(0x269)](_0x21acd4,_0x5cc695),this['_roomCreated$'][_0x285cfc(0x300)](_0x21acd4)),_0x5cc695[_0x285cfc(0x10a)](_0x12452e);}[_0x33f14e(0x392)](_0x235e09,_0x32fd20){const _0x5be323=_0x33f14e;let _0x1c25ac=this[_0x5be323(0x151)][_0x5be323(0x1a5)](_0x235e09);_0x1c25ac&&_0x1c25ac[_0x5be323(0x392)](_0x32fd20);}[_0x33f14e(0x12f)](_0x232ecc){const _0x14ffef=_0x33f14e;return this[_0x14ffef(0x151)][_0x14ffef(0x1a5)](_0x232ecc);}[_0x33f14e(0x21c)](_0x4d0da2,_0x15a87e){const _0x44b443=_0x33f14e;let _0x23b574=this[_0x44b443(0x151)][_0x44b443(0x1a5)](_0x4d0da2);if(_0x23b574)return _0x23b574[_0x44b443(0x21c)](_0x15a87e);}[_0x33f14e(0x37d)](_0xcaad73){const _0x26fd53=_0x33f14e;let _0x73398e=this[_0x26fd53(0x151)][_0x26fd53(0x1a5)](_0xcaad73);_0x73398e&&(_0x73398e[_0x26fd53(0x366)](),this[_0x26fd53(0x151)][_0x26fd53(0xc0)](_0xcaad73));}['dispose'](){const _0x1fa006=_0x33f14e;this[_0x1fa006(0x151)]['forEach'](_0x59ae0d=>_0x59ae0d[_0x1fa006(0x366)]()),this[_0x1fa006(0x151)][_0x1fa006(0x200)](),this[_0x1fa006(0x303)][_0x1fa006(0x109)]();}};_0x497a33=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x3b5)]))],_0x497a33);var _0x11f6ad=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(..._0x13c500){const _0x2f64c5=_0x33f14e;super(..._0x13c500),_0x816778(this,'_members',new Map()),_0x816778(this,'_members$',new _0x247d93[(_0x2f64c5(0x288))](this[_0x2f64c5(0x2e5)])),_0x816778(this,'members$',this[_0x2f64c5(0xd9)]['asObservable']());}[_0x33f14e(0x366)](){const _0x20ef88=_0x33f14e;this[_0x20ef88(0x2e5)][_0x20ef88(0x200)](),this[_0x20ef88(0xd9)][_0x20ef88(0x109)]();}[_0x33f14e(0x10a)](_0x32fdb0){const _0x4b864b=_0x33f14e;this['_members'][_0x4b864b(0x269)](_0x32fdb0[_0x4b864b(0x277)],_0x32fdb0),this[_0x4b864b(0x1ff)]();}[_0x33f14e(0x392)](_0x26264a){const _0x1c31a2=_0x33f14e;this[_0x1c31a2(0x2e5)][_0x1c31a2(0xc0)](_0x26264a),this['_emitMembers']();}[_0x33f14e(0x21c)](_0x2ef822){const _0x249334=_0x33f14e;return this[_0x249334(0x2e5)][_0x249334(0x1a5)](_0x2ef822);}[_0x33f14e(0x287)](){const _0x3881f3=_0x33f14e;return Array[_0x3881f3(0x2ed)](this[_0x3881f3(0x2e5)]['values']());}[_0x33f14e(0x1ff)](){const _0x2620e3=_0x33f14e;this[_0x2620e3(0xd9)][_0x2620e3(0x300)](this[_0x2620e3(0x2e5)]);}};let _0x475efd=function(_0x1f1353){const _0x378feb=_0x33f14e;return _0x1f1353[_0x1f1353['IDLE']=0x0]='IDLE',_0x1f1353[_0x1f1353['JOINING']=0x1]='JOINING',_0x1f1353[_0x1f1353['OFFLINE']=0x2]=_0x378feb(0x266),_0x1f1353[_0x1f1353[_0x378feb(0x22f)]=0x3]=_0x378feb(0x22f),_0x1f1353;}({}),_0x2c4457={[_0x54f861[_0x33f14e(0x372)]['FAIL']]:'session.join-failed',[_0x54f861['CmdRspCode'][_0x33f14e(0x1bf)]]:_0x33f14e(0x368),[_0x54f861[_0x33f14e(0x372)]['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[_0x54f861[_0x33f14e(0x372)][_0x33f14e(0x2f9)]]:_0x33f14e(0x229),[_0x54f861['CmdRspCode'][_0x33f14e(0x201)]]:_0x33f14e(0x210)},_0x459c7b=class extends _0x305d10['RxDisposable']{get['sessionStatus'](){const _0x4f63cb=_0x33f14e;return this[_0x4f63cb(0xec)][_0x4f63cb(0x3a9)]();}constructor(_0x1f24fc,_0x4b48ef,_0x118237,_0x1d9cd6,_0x336228,_0x293969,_0x4411fe,_0x4a3b72){const _0xd4310b=_0x33f14e;super(),this[_0xd4310b(0x224)]=_0x1f24fc,this[_0xd4310b(0x356)]=_0x118237,this[_0xd4310b(0x333)]=_0x1d9cd6,this[_0xd4310b(0xf7)]=_0x336228,this['_commentService']=_0x293969,this[_0xd4310b(0x17e)]=_0x4411fe,this['_telemetryService']=_0x4a3b72,_0x816778(this,_0xd4310b(0xec),new _0x247d93['BehaviorSubject'](0x0)),_0x816778(this,_0xd4310b(0x3b1),this['_sessionStatus$']['asObservable']()),_0x816778(this,_0xd4310b(0x177),new _0x247d93[(_0xd4310b(0x2be))]()),_0x816778(this,'event$',this[_0xd4310b(0x177)][_0xd4310b(0x172)]()),_0x816778(this,_0xd4310b(0x383),void 0x0),_0x816778(this,_0xd4310b(0x119),void 0x0),_0x816778(this,_0xd4310b(0x3a7),void 0x0),_0x816778(this,_0xd4310b(0xd3),!0x1),_0x816778(this,_0xd4310b(0x233),null),this[_0xd4310b(0xd3)]=!!this[_0xd4310b(0x398)],_0x4b48ef['pipe']((0x0,_0x247d93['takeUntil'])(this[_0xd4310b(0x26d)]))[_0xd4310b(0x305)](_0x250de4=>{const _0x5ec6a4=_0xd4310b;if(_0x250de4!==void 0x0){if(this[_0x5ec6a4(0x383)]=_0x250de4,_0x250de4)this[_0x5ec6a4(0x2ca)](_0x250de4),this[_0x5ec6a4(0x119)]=_0x250de4['message$'][_0x5ec6a4(0x305)](_0x351cc2=>{const _0x27be6a=_0x5ec6a4;_0x351cc2[_0x27be6a(0x2bf)]===this[_0x27be6a(0x224)]&&this[_0x27be6a(0x18d)](_0x351cc2);});else{var _0x1a3cda;this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x5ec6a4(0x300)](0x2),(_0x1a3cda=this[_0x5ec6a4(0x119)])==null||_0x1a3cda[_0x5ec6a4(0x38d)](),this[_0x5ec6a4(0x119)]=null;}}});}[_0x33f14e(0x173)](){const _0x5b1d0e=_0x33f14e;var _0x26aec2,_0x3a8ba9;return(_0x26aec2=(_0x3a8ba9=this['_socket'])==null?void 0x0:_0x3a8ba9[_0x5b1d0e(0x277)])==null?null:_0x26aec2;}['dispose'](){const _0x2a4720=_0x33f14e;super['dispose'](),this[_0x2a4720(0xe4)](),this['dispose$'][_0x2a4720(0x300)](),this[_0x2a4720(0x26d)][_0x2a4720(0x109)]();}[_0x33f14e(0xe4)](){const _0xd26da3=_0x33f14e;var _0x3d5697,_0x36c7f6;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3d5697=this[_0xd26da3(0x383)])==null||_0x3d5697['send']({'cmd':_0x54f861[_0xd26da3(0xb8)]['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x36c7f6=this[_0xd26da3(0x383)])==null||_0x36c7f6[_0xd26da3(0xe4)](),this[_0xd26da3(0x177)][_0xd26da3(0x109)](),this['_sessionStatus$']['complete']();}[_0x33f14e(0x18d)](_0x416ecc){const _0x60ee87=_0x33f14e;_0x416ecc[_0x60ee87(0x38a)]===_0x54f861[_0x60ee87(0xb8)][_0x60ee87(0x2b1)]?this['_onJoinRoomEvent'](_0x416ecc):_0x416ecc[_0x60ee87(0x38a)]===_0x54f861[_0x60ee87(0xb8)][_0x60ee87(0x2f8)]&&this[_0x60ee87(0x158)](_0x416ecc);}[_0x33f14e(0x2ca)](_0x280d6c){const _0x28af88=_0x33f14e;this[_0x28af88(0xec)]['next'](0x1),_0x280d6c[_0x28af88(0x3a8)]({'cmd':_0x54f861['CombCmd'][_0x28af88(0x2b1)],'routeKey':this[_0x28af88(0x224)],'routeType':'','data':{'rooms':[{'roomID':this[_0x28af88(0x224)]}]}});}[_0x33f14e(0x28f)](_0x5f3fcc){const _0x506b1d=_0x33f14e;var _0xd82d76;if(_0x5f3fcc[_0x506b1d(0x361)]in _0x2c4457){this[_0x506b1d(0x17e)][_0x506b1d(0x118)]({'id':_0x506b1d(0x259),'data':_0x2c4457[_0x5f3fcc[_0x506b1d(0x361)]]}),this[_0x506b1d(0xec)][_0x506b1d(0x300)](0x2);return;}this[_0x506b1d(0xec)][_0x506b1d(0x300)](0x3);let _0x40fcb2=(_0xd82d76=_0x5f3fcc['data'][_0x506b1d(0x33d)][this[_0x506b1d(0x224)]])==null?void 0x0:_0xd82d76[_0x506b1d(0x155)];_0x40fcb2&&_0x40fcb2[_0x506b1d(0x1fc)](_0xd28b52=>this['_memberService'][_0x506b1d(0x10a)](this[_0x506b1d(0x224)],_0xd28b52));}[_0x33f14e(0x158)](_0x1a59af){const _0x299cc7=_0x33f14e;try{let _0x341226=_0x1a59af['data'];switch(_0x341226[_0x299cc7(0x2b4)]){case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x285)]:this[_0x299cc7(0x324)](_0x341226),this['_event$']['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x341)]:this[_0x299cc7(0x2da)](_0x341226),this[_0x299cc7(0x177)]['next'](_0x341226);break;case _0x540a4f['CollaborationEvent'][_0x299cc7(0x24c)]:case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x370)]:this[_0x299cc7(0x310)](),this[_0x299cc7(0x13a)](),this['_event$']['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x1d7)]:this[_0x299cc7(0x356)]['error'](_0x299cc7(0x389)+JSON[_0x299cc7(0x121)](_0x341226)),this[_0x299cc7(0x177)]['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x291)]:this['_commentService'][_0x299cc7(0x236)](_0x341226['data']),this[_0x299cc7(0x177)][_0x299cc7(0x300)](_0x341226);break;default:this[_0x299cc7(0x177)][_0x299cc7(0x300)](_0x341226);}}catch(_0x545663){this[_0x299cc7(0x356)][_0x299cc7(0x15f)](_0x545663,_0x1a59af);}}[_0x33f14e(0x324)](_0x427196){const _0x2e2285=_0x33f14e;this[_0x2e2285(0xf7)][_0x2e2285(0x10a)](this['_unitID'],_0x427196[_0x2e2285(0x23d)]);}[_0x33f14e(0x2da)](_0x5583a1){const _0x16b6bc=_0x33f14e;this[_0x16b6bc(0xf7)][_0x16b6bc(0x392)](this[_0x16b6bc(0x224)],_0x5583a1[_0x16b6bc(0x23d)]['memberID']);}async[_0x33f14e(0x3a8)](_0x553f4b,_0x1d4464){const _0x1c4a01=_0x33f14e;if(this[_0x1c4a01(0x1d0)]!==0x3||!this['_socket'])throw Error(_0x1c4a01(0x32a));try{_0x553f4b['eventID']===_0x540a4f[_0x1c4a01(0x38c)]['SUBMIT_CHANGESET']&&(this[_0x1c4a01(0x28b)](),this[_0x1c4a01(0x1c5)](_0x553f4b)),this['_socket'][_0x1c4a01(0x3a8)]({'cmd':_0x54f861[_0x1c4a01(0xb8)][_0x1c4a01(0x23f)],'routeKey':_0x1d4464,'routeType':'','data':_0x553f4b});}catch(_0x2cfafb){this[_0x1c4a01(0x356)][_0x1c4a01(0x15f)](_0x2cfafb);}}[_0x33f14e(0x28b)](){const _0x49bc5e=_0x33f14e;var _0x40b776;this[_0x49bc5e(0x3a7)]=setTimeout(()=>{const _0x597575=_0x49bc5e;this[_0x597575(0x3a7)]=null,this[_0x597575(0x17e)][_0x597575(0x118)]({'id':_0x597575(0x160)});},(_0x40b776=this[_0x49bc5e(0x333)][_0x49bc5e(0x328)]('HEARTBEAT_TIMEOUT'))==null?_0x5752cb:_0x40b776);}[_0x33f14e(0x13a)](){const _0x2aa11f=_0x33f14e;this[_0x2aa11f(0x3a7)]&&(clearTimeout(this[_0x2aa11f(0x3a7)]),this[_0x2aa11f(0x3a7)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f6221){const _0x14304c=_0x33f14e;if(!this['_shouldReportTelemetry'])return;let {data:_0x12d44d}=_0x2f6221,{unitID:_0x3bfd20,changeset:_0x171f90}=_0x12d44d,{mutations:_0x4010a7,type:_0x2326cd}=_0x171f90;this[_0x14304c(0x233)]={'unitId':_0x3bfd20,'type':_0x2326cd,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3fc80e(_0x4010a7)};}[_0x33f14e(0x310)](){const _0x15582a=_0x33f14e;if(this[_0x15582a(0xd3)]){if(!this[_0x15582a(0x233)]){this[_0x15582a(0x356)][_0x15582a(0x15f)](_0x15582a(0x243),_0x15582a(0x2f6));return;}this['_telemetryInfo'][_0x15582a(0x14a)]=performance[_0x15582a(0x11f)](),this['_telemetryInfo'][_0x15582a(0x125)]=this['_telemetryInfo']['stopTime']-this[_0x15582a(0x233)][_0x15582a(0x1f9)],this[_0x15582a(0x398)][_0x15582a(0x338)](_0x15582a(0x2df),this['_telemetryInfo']),this[_0x15582a(0x233)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};_0x459c7b=_0x47fc4c([_0xf01086(0x2,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x497a33)),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x1493d1)),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xc2f67a[_0x33f14e(0x1dc)]))],_0x459c7b);let _0xbd995e=(0x0,_0x305d10[_0x33f14e(0x131)])(_0x33f14e(0x2c5));function _0x3da7c3(_0x4aeefd){const _0x1e2aa7=_0x33f14e;return _0x1e2aa7(0x188)+_0x4aeefd;}function _0x138085(_0x4e4352){const _0x5129e5=_0x33f14e;let {unitID:_0x4315d8,mutations:_0x110371}=_0x4e4352;return{'unitId':_0x4315d8,'subUnitId':_0x110371[_0x5129e5(0x251)]>0x0?_0x110371[0x0][_0x5129e5(0x3c1)][_0x5129e5(0x2c3)]:null};}let _0x2c235d=class{constructor(_0x162e82,_0x5f2734,_0x2958b6){const _0x40effe=_0x33f14e;this[_0x40effe(0x1c7)]=_0x162e82,this['_transformService']=_0x5f2734,this['_instanceService']=_0x2958b6;}[_0x33f14e(0x2e6)](_0x402820){const _0x428d81=_0x33f14e;var _0x4dcf56,_0x3876ca;let _0x4197d9=this[_0x428d81(0x1c7)][_0x428d81(0x1a5)](_0x2b86ea['SheetsSelectionsService']),{unitId:_0x19f009,subUnitId:_0x5ee77d}=_0x138085(_0x402820),_0xe02184=_0x4197d9==null?void 0x0:_0x4197d9[_0x428d81(0x2cc)](_0x19f009)[_0x428d81(0x214)](),_0x379ea0=(_0x4dcf56=this[_0x428d81(0x113)][_0x428d81(0x379)](_0x19f009))==null||(_0x4dcf56=_0x4dcf56['getActiveSheet']())==null?void 0x0:_0x4dcf56[_0x428d81(0x309)]();if(_0xe02184[_0x428d81(0x251)]===0x0||!_0x19f009||!_0x5ee77d)return;let _0x195deb=[{'id':_0x2b86ea['SetSelectionsOperation']['id'],'params':{'unitId':_0x19f009,'subUnitId':_0x379ea0,'selections':_0x305d10[_0x428d81(0x12d)][_0x428d81(0x19c)](_0xe02184)}}],_0xabb2dd=this['_transformService'][_0x428d81(0x141)](_0x402820,_0x195deb);if(!(0x0,_0x540a4f[_0x428d81(0x199)])(_0xabb2dd))throw _0xabb2dd[_0x428d81(0x15f)];let _0x271e73=(_0x3876ca=_0xabb2dd[_0x428d81(0x28c)][0x0])==null||(_0x3876ca=_0x3876ca['params'])==null?void 0x0:_0x3876ca[_0x428d81(0x186)];if(Array['isArray'](_0x271e73)&&_0x271e73[_0x428d81(0x251)]){if(_0x271e73[_0x428d81(0x251)]===_0x195deb[0x0]['params'][_0x428d81(0x186)][_0x428d81(0x251)]&&_0x271e73[_0x428d81(0x11e)]((_0x40aa80,_0x32fc59)=>_0x305d10['Rectangle'][_0x428d81(0x232)](_0x40aa80['range'],_0x195deb[0x0][_0x428d81(0x3c1)][_0x428d81(0x186)][_0x32fc59]['range'])))return;this[_0x428d81(0x1c7)]['get'](_0x305d10[_0x428d81(0x213)])[_0x428d81(0x1b2)](_0x2b86ea[_0x428d81(0x30f)]['id'],{'unitId':_0x19f009,'subUnitId':_0x379ea0,'selections':_0x271e73});}}};_0x2c235d=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x20d)])],_0x2c235d);let _0x4e88b2=(0x0,_0x305d10[_0x33f14e(0x131)])(_0x33f14e(0x385)),_0x3dfa36=function(_0x4d49c4){const _0x4a1ccd=_0x33f14e;return _0x4d49c4[_0x4d49c4['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4a1ccd(0x34c),_0x4d49c4[_0x4d49c4[_0x4a1ccd(0xcf)]=0x1]=_0x4a1ccd(0xcf),_0x4d49c4;}({}),_0x1cf9ab=_0x33f14e(0x2ba),_0x4cbbd4={};function _0x451933(_0x394457){const _0x583799=_0x33f14e;var _0x389e2a;return!!((_0x389e2a=_0x394457[_0x583799(0x3c1)])!=null&&_0x389e2a[_0x583799(0x21a)]);}let _0x34b1bb=new Set([_0x2b86ea[_0x33f14e(0x381)]['id']]);function _0x19ee22(_0x30cf89,_0xc57895,_0x2cf0de,_0x371513,_0x3c27cf){const _0x3a101b=_0x33f14e;var _0x1dd28f,_0x168331,_0x35e9a8,_0x2d03c6;let _0x4df263=[];for(let _0x35fef8 of _0x30cf89){if(_0x34b1bb[_0x3a101b(0x354)](_0x35fef8['id'])){if(_0x4df263[_0x3a101b(0x251)]>0x0)break;_0x4df263[_0x3a101b(0xf8)](_0x35fef8);break;}if(_0x451933(_0x35fef8)){if(_0x4df263['length']>0x0)break;_0x4df263[_0x3a101b(0xf8)](_0x35fef8);break;}_0x4df263[_0x3a101b(0xf8)](_0x35fef8);}let _0x5b400e=(_0x1dd28f=(_0x168331=_0x3c27cf[_0x3a101b(0x2cd)]())==null?void 0x0:_0x168331[_0x3a101b(0x317)])==null?_0x3a101b(0x23e):_0x1dd28f,_0x2caff2=(_0x35e9a8=(_0x2d03c6=_0x3c27cf['getCurrentUser']())==null?void 0x0:_0x2d03c6[_0x3a101b(0x277)])==null?_0x3a101b(0x23e):_0x35e9a8;return{'changeset':{'unitID':_0xc57895,'type':(0x0,_0x540a4f[_0x3a101b(0xf5)])(_0x2cf0de[_0x3a101b(0x174)](_0xc57895)),'baseRev':_0x371513[_0x3a101b(0x15b)](_0xc57895),'revision':0x0,'userID':_0x5b400e,'memberID':_0x2caff2,'mutations':_0x4df263},'pendingMutations':_0x30cf89[_0x3a101b(0x387)](_0x4df263[_0x3a101b(0x251)])};}function _0x1fe0b4(_0xbf91d,_0x16dec3,_0x4fff00,_0xdf9bd2,_0x244d30){const _0x4574c0=_0x33f14e;var _0x26fb60,_0x5b278b,_0x662f3b,_0x9ab48f;let _0x162dae=_0xbf91d['reduce']((_0x27f9bc,_0x1a7296)=>{const _0x46a4e8=_0x1555;let _0x2fea4e=_0x27f9bc[_0x27f9bc[_0x46a4e8(0x251)]-0x1],{id:_0x187ffa}=_0x2fea4e==null?{}:_0x2fea4e,{id:_0x2d8512,type:_0xa83d9e}=_0x1a7296,_0xafeeee=_0x1a7296['params'];if(_0x187ffa&&_0x187ffa!==_0x2d8512)throw Error(_0x46a4e8(0x35a)+_0x187ffa+_0x46a4e8(0x222)+_0x2d8512+'.');if(!_0x2fea4e)return[{'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee[_0x46a4e8(0x34f)],'textRanges':_0xafeeee[_0x46a4e8(0x16f)],'actions':_0xafeeee[_0x46a4e8(0x165)]}}];let _0x3fc225=_0x2fea4e[_0x46a4e8(0x3c1)];return _0x4d4d66(_0x3fc225[_0x46a4e8(0x165)],_0xafeeee['actions'])?[..._0x27f9bc[_0x46a4e8(0x387)](0x0,-0x1),{..._0x2fea4e,'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee['unitId'],'textRanges':_0xafeeee['textRanges'],'actions':_0x305d10[_0x46a4e8(0x308)]['compose'](_0x3fc225[_0x46a4e8(0x165)],_0xafeeee[_0x46a4e8(0x165)])}}]:[..._0x27f9bc,{'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee['unitId'],'textRanges':_0xafeeee['textRanges'],'actions':_0xafeeee[_0x46a4e8(0x165)]}}];},[]),_0xff29db=(_0x26fb60=(_0x5b278b=_0x244d30['getCurrentUser']())==null?void 0x0:_0x5b278b['userID'])==null?'unknown':_0x26fb60,_0xdce05d=(_0x662f3b=(_0x9ab48f=_0x244d30[_0x4574c0(0x2cd)]())==null?void 0x0:_0x9ab48f[_0x4574c0(0x277)])==null?_0x4574c0(0x23e):_0x662f3b;return{'changeset':{'unitID':_0x16dec3,'type':(0x0,_0x540a4f[_0x4574c0(0xf5)])(_0x4fff00['getUnitType'](_0x16dec3)),'baseRev':_0xdf9bd2[_0x4574c0(0x15b)](_0x16dec3),'revision':0x0,'userID':_0xff29db,'memberID':_0xdce05d,'mutations':_0x162dae},'pendingMutations':_0xbf91d[_0x4574c0(0x387)](_0xbf91d['length'])};}function _0x4d4d66(_0xb837d3,_0x5c530a){return!(_0x309e4b(_0xb837d3)&&_0x1761db(_0x5c530a)||_0x1761db(_0xb837d3)&&_0x309e4b(_0x5c530a));}function _0x309e4b(_0x257f9e){const _0x4b827c=_0x33f14e;return _0x2b6663(_0x257f9e)[_0x4b827c(0x382)](_0x351f6f=>_0x3d77ce(_0x351f6f)&&_0x351f6f['et']==='text-x');}function _0x1761db(_0x957ccb){const _0x326ccc=_0x33f14e;return _0x2b6663(_0x957ccb)[_0x326ccc(0x382)](_0x191c9f=>Array[_0x326ccc(0x175)](_0x191c9f)||typeof _0x191c9f==_0x326ccc(0x137)||typeof _0x191c9f==_0x326ccc(0x242));}function _0x2b6663(_0x3e6eab){const _0x249a3f=_0x33f14e;if(!Array['isArray'](_0x3e6eab))return[];let _0x4f8ebc=_0x3e6eab['includes'](_0x249a3f(0x29f))?_0x3e6eab:_0x3e6eab[_0x249a3f(0xfa)](_0x6f95f0=>Array[_0x249a3f(0x175)](_0x6f95f0)&&_0x6f95f0[_0x249a3f(0x1c3)](_0x249a3f(0x29f)));if(!Array[_0x249a3f(0x175)](_0x4f8ebc))return[];let _0x180752=_0x4f8ebc[_0x249a3f(0x156)](_0x249a3f(0x29f));return _0x180752===-0x1?[]:_0x4f8ebc[_0x249a3f(0x387)](_0x180752+0x1);}function _0x3d77ce(_0x1b988a){return typeof _0x1b988a=='object'&&!!_0x1b988a&&!Array['isArray'](_0x1b988a);}function _0x1ecae5(_0x5e95a3,_0x1af4bb){const _0x592eb8=_0x33f14e;let _0x5ee2b4=new _0x247d93['ReplaySubject'](0x1);return setTimeout(()=>_0x5ee2b4[_0x592eb8(0x300)](_0x1af4bb),_0x5e95a3),_0x5ee2b4[_0x592eb8(0x172)]()[_0x592eb8(0x2a9)]((0x0,_0x247d93['take'])(0x1));}var _0x633e0b,_0x54fbde,_0x55bb43;let _0x46a1e9=function(_0x1cbe66){const _0x20a22d=_0x33f14e;return _0x1cbe66[_0x20a22d(0x1e1)]='not_collab',_0x1cbe66['SYNCED']=_0x20a22d(0x255),_0x1cbe66[_0x20a22d(0x1cc)]=_0x20a22d(0x3af),_0x1cbe66[_0x20a22d(0x190)]=_0x20a22d(0xe6),_0x1cbe66[_0x20a22d(0xbd)]=_0x20a22d(0x315),_0x1cbe66['FETCH_MISS']=_0x20a22d(0xe9),_0x1cbe66['CONFLICT']=_0x20a22d(0x182),_0x1cbe66[_0x20a22d(0x266)]=_0x20a22d(0x15d),_0x1cbe66;}({}),_0x47612d=0x4e20,_0x28da41=0x2bf20;var _0xcc4349=class{constructor(_0x355a8b,_0x474467,_0x8f87a7,_0x399f76,_0x585708,_0x29ffb0,_0x3be49d,_0x1045e0,_0x572761){const _0x19e701=_0x33f14e;this[_0x19e701(0x37e)]=_0x355a8b,this[_0x19e701(0x1aa)]=_0x474467,this[_0x19e701(0x1c8)]=_0x585708,this[_0x19e701(0x1f7)]=_0x29ffb0,this['_undoRedoService']=_0x3be49d,this[_0x19e701(0x28d)]=_0x1045e0,this[_0x19e701(0x179)]=_0x572761,_0x816778(this,'_awaitingChangeset',null),_0x816778(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x8f87a7,this[_0x19e701(0x14e)]=_0x399f76;}['_checkMissing'](_0x5021a7){const _0x6374ea=_0x33f14e;let _0x3befd3=this[_0x6374ea(0x28d)][_0x6374ea(0x15b)](this[_0x6374ea(0x37e)]);return _0x5021a7[_0x6374ea(0x2d1)]>_0x3befd3+0x1?(this[_0x6374ea(0x1c8)]['onMissingChangesets']({'from':_0x3befd3,'to':_0x5021a7['revision']-0x1}),!0x0):!0x1;}[_0x33f14e(0x2d6)](_0x3f2fd6){const _0x16a561=_0x33f14e;this[_0x16a561(0x2b8)][_0x16a561(0xf1)](this[_0x16a561(0x37e)],_0x3f2fd6);}[_0x33f14e(0x346)](_0x20a7a3){const _0xb9072d=_0x33f14e;var _0x4b9d76,_0x5ab349;(_0x4b9d76=(_0x5ab349=this[_0xb9072d(0x1c8)])[_0xb9072d(0x2c1)])==null||_0x4b9d76[_0xb9072d(0xdf)](_0x5ab349,_0x20a7a3);}['_transformIMECache'](_0x27ae5d){const _0x167ba7=_0x33f14e;var _0x278d56,_0x247857;return(_0x278d56=(_0x247857=this[_0x167ba7(0x1c8)])['onTransformIME'])==null?void 0x0:_0x278d56['call'](_0x247857,_0x27ae5d);}[_0x33f14e(0xc6)](_0xbca56e){const _0x2122de=_0x33f14e;var _0x1afbde,_0x44bc67;return(_0x1afbde=(_0x44bc67=this[_0x2122de(0x1c8)])[_0x2122de(0x2f0)])==null?void 0x0:_0x1afbde['call'](_0x44bc67,_0xbca56e);}[_0x33f14e(0x2b6)](_0x26957d){const _0x24d8ac=_0x33f14e;var _0x18dd9c,_0x3e0bc9,_0x5c48d1;return(_0x18dd9c=(_0x3e0bc9=(_0x5c48d1=this[_0x24d8ac(0x1c8)])[_0x24d8ac(0x299)])==null?void 0x0:_0x3e0bc9['call'](_0x5c48d1,_0x26957d))==null?_0x26957d:_0x18dd9c;}[_0x33f14e(0x325)](_0x13680e){const _0x53720f=_0x33f14e;var _0x2bd412,_0x46f2a9,_0x886166;return(_0x2bd412=(_0x46f2a9=(_0x886166=this[_0x53720f(0x1c8)])[_0x53720f(0x395)])==null?void 0x0:_0x46f2a9[_0x53720f(0xdf)](_0x886166,_0x13680e))==null?_0x13680e:_0x2bd412;}[_0x33f14e(0x2e4)](_0x4d2ffb){const _0x5cf4e1=_0x33f14e;if(this['type']===_0x305d10[_0x5cf4e1(0x1c6)][_0x5cf4e1(0x26e)]){let {unitID:_0x2fe043,mutations:_0xce858c,memberID:_0xf08aa5}=_0x4d2ffb,_0x1fd0b6=_0xce858c[_0x5cf4e1(0x251)]>0x0?_0xce858c[0x0][_0x5cf4e1(0x3c1)][_0x5cf4e1(0x16f)]:[];if(Array[_0x5cf4e1(0x175)](_0x1fd0b6)&&_0x1fd0b6[_0x5cf4e1(0x251)]>0x0){var _0x5c2cb8,_0xe591e0;(_0x5c2cb8=(_0xe591e0=this[_0x5cf4e1(0x1c8)])[_0x5cf4e1(0x27f)])==null||_0x5c2cb8[_0x5cf4e1(0xdf)](_0xe591e0,{'unitID':_0x2fe043,'memberID':_0xf08aa5,'textRanges':_0x1fd0b6});}}}[_0x33f14e(0x335)](){const _0x1f9405=_0x33f14e;var _0x440f3a;(_0x440f3a=this[_0x1f9405(0x179)])==null||_0x440f3a[_0x1f9405(0x12a)](this['unitID'],this[_0x1f9405(0x1aa)],this['_awaitingChangeset'],this[_0x1f9405(0x14e)]);}['_getCurrentRevision'](){const _0x3545de=_0x33f14e;return this[_0x3545de(0x28d)]['getCurrentRevOfUnit'](this[_0x3545de(0x37e)]);}['_incrementRevisionNumber'](){const _0x286238=_0x33f14e;this['_revisionService']['incrementRevOfUnit'](this[_0x286238(0x37e)]);}[_0x33f14e(0x16b)](_0x1ad632){const _0x2ee9f5=_0x33f14e;let _0x15f3d3=this['_transformRemoteChangesetByIMECache'](_0x1ad632);_0x15f3d3=this[_0x2ee9f5(0x325)](_0x15f3d3);let _0x19e26a=(0x0,_0x305d10['sequenceExecute'])(_0x15f3d3[_0x2ee9f5(0x316)],this[_0x2ee9f5(0x1f7)],{'fromCollab':!0x0});if(!_0x19e26a[_0x2ee9f5(0x1b5)]){var _0x3d0e59;throw _0x19e26a[_0x2ee9f5(0x15f)]instanceof Error?_0x19e26a['error']:Error((_0x3d0e59=_0x19e26a[_0x2ee9f5(0x15f)])==null?_0x2ee9f5(0x1f2):_0x3d0e59);}this[_0x2ee9f5(0x187)](_0x15f3d3),this[_0x2ee9f5(0xc6)](_0x15f3d3),this['_transformUndoredo'](_0x1ad632),this[_0x2ee9f5(0x346)](_0x15f3d3),this[_0x2ee9f5(0x2e4)](_0x15f3d3),this[_0x2ee9f5(0x3b7)]();}};let _0x3f62b4=class extends _0xcc4349{constructor(_0x292f38,_0x5db4d0,_0x31c05f,_0x4730c0,_0x42f86d,_0x9b2d6f,_0xf398f2,_0x147d9c,_0x3f3e29,_0x5af352){const _0x4e075f=_0x33f14e;super(_0x292f38,_0x5db4d0,null,[],_0x31c05f,_0xf398f2,_0x9b2d6f,_0x4730c0,_0x5af352),this[_0x4e075f(0x1c7)]=_0x42f86d,this[_0x4e075f(0x356)]=_0x147d9c,this[_0x4e075f(0x15e)]=_0x3f3e29,this[_0x4e075f(0x302)]=_0x5af352,_0x816778(this,_0x4e075f(0x2fb),'synced');}[_0x33f14e(0x221)](_0x983e0f){const _0x3c7d0d=_0x33f14e;let _0x2a471b=this[_0x3c7d0d(0x1c7)][_0x3c7d0d(0x32f)](_0x40e466,this[_0x3c7d0d(0x37e)],this[_0x3c7d0d(0x1aa)],[_0x983e0f],this[_0x3c7d0d(0x1c8)]);return _0x2a471b['_schedule'](),_0x2a471b[_0x3c7d0d(0x335)](),_0x2a471b;}[_0x33f14e(0x217)](_0x2ee81e){const _0x1ca358=_0x33f14e;if(this[_0x1ca358(0x209)](_0x2ee81e))return this['_injector'][_0x1ca358(0x32f)](_0x69d917,this[_0x1ca358(0x37e)],this[_0x1ca358(0x1aa)],null,[],null,[_0x2ee81e],this[_0x1ca358(0x1c8)]);try{let _0x26a60a=this['_transformService'][_0x1ca358(0x141)](_0x2ee81e,[_0x540a4f[_0x1ca358(0x31b)]]);if((0x0,_0x540a4f['isTransformMutationsWithChangesetSuccess'])(_0x26a60a)){let {c1Prime:_0x2e42a3}=_0x26a60a;return this['_executeRemoteChangeset'](_0x2e42a3),this;}throw _0x26a60a['error'];}catch(_0x1c2b76){return this[_0x1ca358(0x356)][_0x1ca358(0x15f)](_0x1c2b76),this[_0x1ca358(0x358)](!0x1);}}[_0x33f14e(0x358)](_0x404a4f){const _0x133b73=_0x33f14e;return this[_0x133b73(0x1c7)][_0x133b73(0x32f)](_0x50a112,this[_0x133b73(0x37e)],this[_0x133b73(0x1aa)],null,[],this[_0x133b73(0x1c8)],_0x404a4f);}[_0x33f14e(0xc4)](_0x5dce4b){const _0x5521b5=_0x33f14e;if(_0x5dce4b['revision']<=this[_0x5521b5(0x203)]())return this;throw Error(_0x5521b5(0x111));}[_0x33f14e(0x159)](){throw Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x33f14e(0xb3)](){const _0x4c4824=_0x33f14e;return this[_0x4c4824(0x1c7)][_0x4c4824(0x32f)](_0x18cfb2,this[_0x4c4824(0x37e)],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x33f14e(0x150)](){const _0x1bdf26=_0x33f14e;throw Error(_0x1bdf26(0x168));}[_0x33f14e(0x132)](){const _0xd111fe=_0x33f14e;let _0x339e52=this[_0xd111fe(0x28d)][_0xd111fe(0x15b)](this[_0xd111fe(0x37e)]);return this[_0xd111fe(0x1c8)][_0xd111fe(0xd6)]({'from':_0x339e52,'to':0x0}),this['_injector'][_0xd111fe(0x32f)](_0x69d917,this[_0xd111fe(0x37e)],this[_0xd111fe(0x1aa)],null,[],null,[],this[_0xd111fe(0x1c8)]);}};_0x3f62b4=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x5,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x6,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x9,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x3f62b4);let _0x40e466=_0x633e0b=class extends _0xcc4349{constructor(_0x335431,_0x1b9f2e,_0x38cd39,_0x369c08,_0x790fbd,_0x26c4df,_0x3be10b,_0x10bdde,_0x4b62d1,_0x86daae,_0x3e6163,_0x193372,_0xbd0fd,_0x36ec8f){const _0x49fe7d=_0x33f14e;super(_0x335431,_0x1b9f2e,null,_0x38cd39,_0x369c08,_0x4b62d1,_0xbd0fd,_0x26c4df,_0x36ec8f),this[_0x49fe7d(0x1c7)]=_0x790fbd,this['_memberService']=_0x3be10b,this['_logService']=_0x10bdde,this['_configService']=_0x86daae,this[_0x49fe7d(0x15e)]=_0x3e6163,this[_0x49fe7d(0x35b)]=_0x193372,_0x816778(this,_0x49fe7d(0x2fb),_0x49fe7d(0x3af)),_0x816778(this,_0x49fe7d(0x1b3),null),_0x816778(this,_0x49fe7d(0x2bb),null);}[_0x33f14e(0x221)](_0x5921de){const _0x3ec400=_0x33f14e;return this[_0x3ec400(0x14e)][_0x3ec400(0xf8)](_0x5921de),this[_0x3ec400(0x335)](),this;}['onRemoteChangeset'](_0x5ed536){const _0x35878b=_0x33f14e;if(this[_0x35878b(0x209)](_0x5ed536))return this['_clearScheduledTask'](),this[_0x35878b(0x1c7)][_0x35878b(0x32f)](_0x69d917,this[_0x35878b(0x37e)],this[_0x35878b(0x1aa)],null,this[_0x35878b(0x14e)],null,[_0x5ed536],this[_0x35878b(0x1c8)]);try{let _0x590395=this['_transformService'][_0x35878b(0x141)](_0x5ed536,this['_pendingMutations']);if((0x0,_0x540a4f[_0x35878b(0x199)])(_0x590395)){let {c1Prime:_0x20fa95,m2Prime:_0xf86bbb}=_0x590395;this[_0x35878b(0x16b)](_0x20fa95);let _0x148eea=this[_0x35878b(0x1c7)][_0x35878b(0x32f)](_0x633e0b,this['unitID'],this[_0x35878b(0x1aa)],_0xf86bbb,this[_0x35878b(0x1c8)]);this[_0x35878b(0x2ab)]();let _0x361943=new Date()[_0x35878b(0x18f)](),_0x24db7a=this[_0x35878b(0x1b3)]?Math['max'](this[_0x35878b(0x1b3)]-_0x361943,0x0):this['_getSendChangesetTimeout']();return _0x148eea[_0x35878b(0x1d6)](_0x24db7a),_0x148eea;}throw _0x590395['error'];}catch(_0x528321){return this[_0x35878b(0x356)][_0x35878b(0x15f)](_0x528321),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1331f8){const _0x8ea644=_0x33f14e;if(_0x1331f8[_0x8ea644(0x2d1)]<=this[_0x8ea644(0x203)]())return this;throw Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x38a119=_0x33f14e;throw Error(_0x38a119(0xdd));}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){const _0x19c476=_0x33f14e;return this['_clearScheduledTask'](),this[_0x19c476(0x1c7)][_0x19c476(0x32f)](_0x18cfb2,this[_0x19c476(0x37e)],this[_0x19c476(0x1aa)],null,this['_pendingMutations'],this[_0x19c476(0x1c8)]);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x1d6)](_0x364107){const _0xb9b4f2=_0x33f14e;let _0x106b7c=_0x364107==null?this[_0xb9b4f2(0x3ae)]():_0x364107;this[_0xb9b4f2(0x1b3)]=new Date()[_0xb9b4f2(0x18f)]()+_0x106b7c,this[_0xb9b4f2(0x2bb)]=setTimeout(()=>{const _0x29fbff=_0xb9b4f2;this[_0x29fbff(0x2ab)]();let _0x5a7297=null;switch(this[_0x29fbff(0x1aa)]){case _0x305d10['UniverInstanceType'][_0x29fbff(0x22a)]:_0x5a7297=_0x19ee22(this[_0x29fbff(0x14e)],this['unitID'],this[_0x29fbff(0x35b)],this[_0x29fbff(0x28d)],this['_memberService']);break;case _0x305d10[_0x29fbff(0x1c6)][_0x29fbff(0x26e)]:_0x5a7297=this[_0x29fbff(0x14e)][_0x29fbff(0x11e)](_0x3ed38a=>_0x3ed38a['id']===_0x44bc8e[_0x29fbff(0xe8)]['id'])?_0x1fe0b4(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x29fbff(0x28d)],this[_0x29fbff(0xf7)]):_0x19ee22(this[_0x29fbff(0x14e)],this[_0x29fbff(0x37e)],this[_0x29fbff(0x35b)],this[_0x29fbff(0x28d)],this[_0x29fbff(0xf7)]);break;default:throw Error(_0x29fbff(0x16c)+this[_0x29fbff(0x1aa)]+_0x29fbff(0x198));}let {changeset:_0xbb3ba7,pendingMutations:_0x4f36c0}=_0x5a7297;this[_0x29fbff(0x1c8)]['onSendChangeset'](_0xbb3ba7);let _0x575566=_0x4f36c0[_0x29fbff(0x251)]?this['_injector'][_0x29fbff(0x32f)](_0x1f4a11,this[_0x29fbff(0x37e)],this[_0x29fbff(0x1aa)],_0xbb3ba7,_0x4f36c0,this['_handler'],void 0x0):this[_0x29fbff(0x1c7)]['createInstance'](_0x4c5197,this[_0x29fbff(0x37e)],this[_0x29fbff(0x1aa)],_0xbb3ba7,this[_0x29fbff(0x1c8)]);_0x575566[_0x29fbff(0x335)](),this[_0x29fbff(0x1c8)][_0x29fbff(0xbc)](this,_0x575566);},_0x106b7c);}[_0x33f14e(0x3ae)](){const _0x52c51d=_0x33f14e;var _0x2c9ed1;let _0x9107f5=this[_0x52c51d(0x333)][_0x52c51d(0x328)](_0x1cf9ab);return(_0x2c9ed1=_0x9107f5==null?void 0x0:_0x9107f5['sendChangesetTimeout'])==null?0x7d0:_0x2c9ed1;}['resend'](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x33f14e(0x2ab)](){const _0x4c6a10=_0x33f14e;this[_0x4c6a10(0x2bb)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4c6a10(0x2bb)]=null);}[_0x33f14e(0x358)](_0x563bf9){const _0x3e6f84=_0x33f14e;return this[_0x3e6f84(0x2ab)](),this[_0x3e6f84(0x1c7)][_0x3e6f84(0x32f)](_0x50a112,this[_0x3e6f84(0x37e)],this[_0x3e6f84(0x1aa)],null,this[_0x3e6f84(0x14e)],this[_0x3e6f84(0x1c8)],_0x563bf9);}};_0x40e466=_0x633e0b=_0x47fc4c([_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x6,(0x0,_0x305d10['Inject'])(_0x497a33)),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x305d10['ICommandService']),_0xf01086(0x9,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0xa,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0xc,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x40e466);let _0x4c5197=_0x54fbde=class extends _0xcc4349{constructor(_0x1218ba,_0x28267e,_0x55f598,_0x3c656a,_0x4ee38c,_0x5db4a8,_0x26ae2d,_0x163821,_0x50428d,_0x5a6036,_0x1642c9){const _0x40df2a=_0x33f14e;super(_0x1218ba,_0x28267e,_0x55f598,[],_0x3c656a,_0x26ae2d,_0x5a6036,_0x5db4a8,_0x1642c9),this[_0x40df2a(0x1c7)]=_0x4ee38c,this[_0x40df2a(0x356)]=_0x163821,this['_transformService']=_0x50428d,_0x816778(this,_0x40df2a(0x2fb),_0x40df2a(0xe6)),_0x816778(this,_0x40df2a(0x120),0x0),_0x816778(this,_0x40df2a(0x256),0x0),_0x816778(this,_0x40df2a(0x1a6),void 0x0),_0x816778(this,'_sender',void 0x0);}[_0x33f14e(0x221)](_0x2163db){const _0x528fa8=_0x33f14e;this[_0x528fa8(0x2ab)]();let _0x2b9e46=this[_0x528fa8(0x1c7)][_0x528fa8(0x32f)](_0x1f4a11,this[_0x528fa8(0x37e)],this[_0x528fa8(0x1aa)],this[_0x528fa8(0x110)],[_0x2163db],this[_0x528fa8(0x1c8)],this[_0x528fa8(0x1a6)]);return _0x2b9e46[_0x528fa8(0x335)](),_0x2b9e46;}['onRemoteChangeset'](_0x502162){const _0x370dec=_0x33f14e;if(this[_0x370dec(0x209)](_0x502162))return this[_0x370dec(0x2ab)](),this[_0x370dec(0x1c7)]['createInstance'](_0x69d917,this[_0x370dec(0x37e)],this[_0x370dec(0x1aa)],this[_0x370dec(0x110)],[],null,[_0x502162],this[_0x370dec(0x1c8)]);try{let _0x4f0f84=this[_0x370dec(0x15e)][_0x370dec(0x3be)]([_0x502162],[this[_0x370dec(0x110)]],!0x1);if((0x0,_0x540a4f['isTransformChangesetsSuccess'])(_0x4f0f84)){let {c1Prime:_0x16464e,c2Prime:_0x393897}=_0x4f0f84;this[_0x370dec(0x16b)](_0x16464e[0x0]),_0x393897[0x0][_0x370dec(0x1ac)]=this['_getCurrentRevision'](),this[_0x370dec(0x2ab)]();let _0x481dc8=this[_0x370dec(0x1c7)][_0x370dec(0x32f)](_0x54fbde,this['unitID'],this[_0x370dec(0x1aa)],_0x393897[0x0],this[_0x370dec(0x1c8)]);return _0x481dc8[_0x370dec(0x335)](),_0x481dc8;}throw _0x4f0f84[_0x370dec(0x15f)];}catch(_0x2d13dd){return this[_0x370dec(0x356)]['error'](_0x2d13dd),this[_0x370dec(0x358)](!0x1);}}[_0x33f14e(0xc4)](_0x49abc9){const _0x41ed35=_0x33f14e;this[_0x41ed35(0x2ab)]();let _0x49b5d4=this[_0x41ed35(0x28d)][_0x41ed35(0x15b)](this[_0x41ed35(0x37e)]);if(_0x49abc9['revision']<=_0x49b5d4)return this;if(this[_0x41ed35(0x209)](_0x49abc9))return this[_0x41ed35(0x1c7)][_0x41ed35(0x32f)](_0x69d917,this[_0x41ed35(0x37e)],this[_0x41ed35(0x1aa)],this['_awaitingChangeset'],[],_0x49abc9[_0x41ed35(0x2d1)],[],this[_0x41ed35(0x1c8)]);this['_incrementRevisionNumber']();let _0x5e3bc4=this[_0x41ed35(0x1c7)][_0x41ed35(0x32f)](_0x3f62b4,this[_0x41ed35(0x37e)],this[_0x41ed35(0x1aa)],this[_0x41ed35(0x1c8)]);return _0x5e3bc4['_updateLocalCache'](),_0x5e3bc4;}[_0x33f14e(0x159)](_0x184ea1){const _0x764ea7=_0x33f14e;return this['_onConflict'](!!(_0x184ea1!=null&&_0x184ea1[_0x764ea7(0x3bd)]));}[_0x33f14e(0x24f)](_0x25a9e6){const _0x152643=_0x33f14e;return this['_maxTotalRetryTimeout']>_0x28da41?this['toggleOffline']():(this['_resendTimer']=_0x1ecae5(this['_resendTimeout'],{'timeout':this[_0x152643(0x120)],'reqId':_0x25a9e6[_0x152643(0x1e8)]}),this[_0x152643(0x2ff)]=this['_resendTimer'][_0x152643(0x305)](({reqId:_0x3ce18e,timeout:_0x1c6712})=>{const _0x1ccc4f=_0x152643;this[_0x1ccc4f(0x286)](_0x3ce18e,_0x1c6712);}),this);}[_0x33f14e(0xb3)](){const _0x214b0d=_0x33f14e;return this[_0x214b0d(0x2ab)](),this[_0x214b0d(0x1c7)][_0x214b0d(0x32f)](_0x18cfb2,this[_0x214b0d(0x37e)],this[_0x214b0d(0x1aa)],this[_0x214b0d(0x110)],[],this['_handler']);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x58f9ef=_0x33f14e;this['_handler'][_0x58f9ef(0x152)](this['_awaitingChangeset']);}[_0x33f14e(0x358)](_0x207512){const _0x1d003c=_0x33f14e;return this['_clearScheduledTask'](),this[_0x1d003c(0x1c7)][_0x1d003c(0x32f)](_0x50a112,this[_0x1d003c(0x37e)],this[_0x1d003c(0x1aa)],this['_awaitingChangeset'],[],this['_handler'],_0x207512);}[_0x33f14e(0x286)](_0x509e42,_0x1f36d4){const _0x196667=_0x33f14e;var _0x14def6;_0x509e42===((_0x14def6=this['_awaitingChangeset'])==null?void 0x0:_0x14def6[_0x196667(0x1e8)])&&(this[_0x196667(0x150)](),this[_0x196667(0x120)]=_0x1f36d4===0x0?0x3e8:Math[_0x196667(0x276)](_0x1f36d4*0x2,_0x47612d),this[_0x196667(0x256)]+=this[_0x196667(0x120)]);}[_0x33f14e(0x2ab)](){const _0x55a4fa=_0x33f14e;var _0x48e8bb;(_0x48e8bb=this[_0x55a4fa(0x2ff)])==null||_0x48e8bb[_0x55a4fa(0x38d)](),this[_0x55a4fa(0x120)]=0x0,this[_0x55a4fa(0x256)]=0x0;}};_0x4c5197=_0x54fbde=_0x47fc4c([_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f['RevisionService'])),_0xf01086(0x6,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xa,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x4c5197);let _0x1f4a11=_0x55bb43=class extends _0xcc4349{constructor(_0x4f18de,_0x5ee346,_0x3c1ed3,_0x171390,_0x1f057b,_0xa767e5,_0x7d422e,_0x3b4b05,_0x39a92b,_0x376e82,_0x25caf9,_0x3c27f4,_0x8052b6){const _0x3d4a39=_0x33f14e;super(_0x4f18de,_0x5ee346,_0x3c1ed3,_0x171390,_0x1f057b,_0x39a92b,_0x3c27f4,_0x3b4b05,_0x8052b6),this[_0x3d4a39(0x1c7)]=_0x7d422e,this['_logService']=_0x376e82,this[_0x3d4a39(0x15e)]=_0x25caf9,this[_0x3d4a39(0x302)]=_0x8052b6,_0x816778(this,_0x3d4a39(0x2fb),_0x3d4a39(0x315)),_0x816778(this,_0x3d4a39(0x120),0x0),_0x816778(this,'_maxTotalRetryTimeout',0x0),_0x816778(this,_0x3d4a39(0x1a6),void 0x0),_0x816778(this,_0x3d4a39(0x2ff),void 0x0),_0xa767e5&&(this[_0x3d4a39(0x1a6)]=_0xa767e5,this[_0x3d4a39(0x2ff)]=this['_resendTimer'][_0x3d4a39(0x305)](({reqId:_0x186cf0,timeout:_0x4aa35f})=>{const _0x445eca=_0x3d4a39;this[_0x445eca(0x286)](_0x186cf0,_0x4aa35f);}));}[_0x33f14e(0x221)](_0x4b7b9){const _0x5ca261=_0x33f14e;return this[_0x5ca261(0x14e)][_0x5ca261(0xf8)](_0x4b7b9),this;}['onRemoteChangeset'](_0x4a5f14){const _0x159de4=_0x33f14e;if(this[_0x159de4(0x209)](_0x4a5f14))return this[_0x159de4(0x2ab)](),this['_injector'][_0x159de4(0x32f)](_0x69d917,this[_0x159de4(0x37e)],this[_0x159de4(0x1aa)],this[_0x159de4(0x110)],this[_0x159de4(0x14e)],null,[_0x4a5f14],this[_0x159de4(0x1c8)]);try{let _0x5173e9=this[_0x159de4(0x15e)][_0x159de4(0x3be)]([_0x4a5f14],[this['_awaitingChangeset']],!0x1);if((0x0,_0x540a4f[_0x159de4(0x13e)])(_0x5173e9)){let {c1Prime:_0x169dde,c2Prime:_0x20ca7a}=_0x5173e9,_0x54fb2c=this[_0x159de4(0x15e)][_0x159de4(0x141)](_0x169dde[0x0],this['_pendingMutations']);if((0x0,_0x540a4f['isTransformMutationsWithChangesetSuccess'])(_0x54fb2c)){let {c1Prime:_0x1908db,m2Prime:_0x482048}=_0x54fb2c;return this[_0x159de4(0x16b)](_0x1908db),_0x20ca7a[0x0][_0x159de4(0x1ac)]=this['_getCurrentRevision'](),this[_0x159de4(0x2ab)](),this['_injector'][_0x159de4(0x32f)](_0x55bb43,this[_0x159de4(0x37e)],this['type'],_0x20ca7a[0x0],_0x482048,this['_handler'],void 0x0);}throw _0x54fb2c[_0x159de4(0x15f)];}throw _0x5173e9[_0x159de4(0x15f)];}catch(_0x501454){return this[_0x159de4(0x356)][_0x159de4(0x15f)](_0x501454),this[_0x159de4(0x358)](!0x1);}}[_0x33f14e(0xc4)](_0x53e550){const _0x3d5577=_0x33f14e;this[_0x3d5577(0x2ab)]();let _0x125298=this[_0x3d5577(0x203)]();if(_0x53e550[_0x3d5577(0x2d1)]<=_0x125298)return this;if(this[_0x3d5577(0x209)](_0x53e550))return this[_0x3d5577(0x1c7)][_0x3d5577(0x32f)](_0x69d917,this[_0x3d5577(0x37e)],this[_0x3d5577(0x1aa)],this[_0x3d5577(0x110)],this[_0x3d5577(0x14e)],_0x53e550[_0x3d5577(0x2d1)],[],this['_handler']);this['_incrementRevisionNumber']();let _0x5c98ba=this[_0x3d5577(0x1c7)][_0x3d5577(0x32f)](_0x40e466,this[_0x3d5577(0x37e)],this[_0x3d5577(0x1aa)],this[_0x3d5577(0x14e)],this[_0x3d5577(0x1c8)]);return _0x5c98ba[_0x3d5577(0x1d6)](),_0x5c98ba[_0x3d5577(0x335)](),_0x5c98ba;}[_0x33f14e(0x159)](_0x4d4bc8){const _0x180fe9=_0x33f14e;return this[_0x180fe9(0x358)](!!(_0x4d4bc8!=null&&_0x4d4bc8[_0x180fe9(0x3bd)]));}[_0x33f14e(0x24f)](_0xc4ad1){const _0x33d45c=_0x33f14e;return this['_maxTotalRetryTimeout']>_0x28da41?this[_0x33d45c(0xb3)]():(this[_0x33d45c(0x1a6)]=_0x1ecae5(this['_resendTimeout'],{'timeout':this[_0x33d45c(0x120)],'reqId':_0xc4ad1['reqId']}),this[_0x33d45c(0x2ff)]=this[_0x33d45c(0x1a6)][_0x33d45c(0x305)](({reqId:_0x1a03ca,timeout:_0x245cfe})=>{this['_resendWithTimeout'](_0x1a03ca,_0x245cfe);}),this);}[_0x33f14e(0xb3)](){const _0x2628a7=_0x33f14e;return this['_clearScheduledTask'](),this[_0x2628a7(0x1c7)]['createInstance'](_0x18cfb2,this[_0x2628a7(0x37e)],this[_0x2628a7(0x1aa)],this['_awaitingChangeset'],this[_0x2628a7(0x14e)],this[_0x2628a7(0x1c8)]);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x2fb49f=_0x33f14e;this[_0x2fb49f(0x1c8)][_0x2fb49f(0x152)](this[_0x2fb49f(0x110)]);}[_0x33f14e(0x358)](_0x30f957){const _0x283785=_0x33f14e;return this[_0x283785(0x2ab)](),this[_0x283785(0x1c7)][_0x283785(0x32f)](_0x50a112,this['unitID'],this['type'],null,this[_0x283785(0x14e)],this[_0x283785(0x1c8)],_0x30f957);}[_0x33f14e(0x286)](_0x3c0cfa,_0x12396d){const _0x227f59=_0x33f14e;var _0x56255e;_0x3c0cfa===((_0x56255e=this[_0x227f59(0x110)])==null?void 0x0:_0x56255e[_0x227f59(0x1e8)])&&(this[_0x227f59(0x150)](),this[_0x227f59(0x120)]=_0x12396d===0x0?0x3e8:Math[_0x227f59(0x276)](_0x12396d*0x2,_0x47612d),this[_0x227f59(0x256)]+=this[_0x227f59(0x120)]);}[_0x33f14e(0x2ab)](){const _0x45eb67=_0x33f14e;var _0x5c0a20;(_0x5c0a20=this[_0x45eb67(0x2ff)])==null||_0x5c0a20[_0x45eb67(0x38d)](),this[_0x45eb67(0x120)]=0x0,this[_0x45eb67(0x256)]=0x0;}};_0x1f4a11=_0x55bb43=_0x47fc4c([_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x8,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x1f4a11);let _0x50a112=class extends _0xcc4349{constructor(_0x31787d,_0x15170e,_0x4dba88,_0x3c057d,_0x1a375f,_0x24ef1=!0x1,_0x2ceccc,_0x415cf9,_0x191e4b,_0x4a8efc,_0x16d17a,_0x4a60a5,_0x536dbc){const _0x288f21=_0x33f14e;super(_0x31787d,_0x15170e,_0x4dba88,_0x3c057d,_0x1a375f,_0x415cf9,_0x191e4b,_0x4a8efc,_0x536dbc),this[_0x288f21(0x39a)]=_0x24ef1,this['_permissionService']=_0x2ceccc,this['_localeService']=_0x16d17a,this['_collaborationUIEventService']=_0x4a60a5,this['localCacheService']=_0x536dbc,_0x816778(this,_0x288f21(0x2fb),_0x288f21(0x182)),this[_0x288f21(0x29e)](),this[_0x288f21(0x307)](),this['_disableEditing']();}[_0x33f14e(0x221)](){return this;}['onRemoteChangeset'](){return this;}[_0x33f14e(0xc4)](){return this;}[_0x33f14e(0x159)](){return this;}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){return this;}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x6a83b9=_0x33f14e;throw Error(_0x6a83b9(0x1ed));}['_clearLocalCache'](){const _0x335240=_0x33f14e;var _0x80b8ee;(_0x80b8ee=this[_0x335240(0x179)])==null||_0x80b8ee[_0x335240(0x12a)](this[_0x335240(0x37e)],this[_0x335240(0x1aa)],null,[]);}[_0x33f14e(0x29e)](){const _0x18eb99=_0x33f14e;this[_0x18eb99(0x39a)]?this[_0x18eb99(0x17e)]['emitEvent']({'id':_0x18eb99(0x399)}):this['_collaborationUIEventService']['emitEvent']({'id':_0x18eb99(0x225)});}[_0x33f14e(0xdb)](){const _0x154a12=_0x33f14e;this[_0x154a12(0x27e)][_0x154a12(0x378)](new _0x2b86ea['WorkbookEditablePermission'](this[_0x154a12(0x37e)])['id'],!0x1);}};_0x50a112=_0x47fc4c([_0xf01086(0x6,(0x0,_0x305d10['Inject'])(_0x305d10['IPermissionService'])),_0xf01086(0x7,_0x305d10['ICommandService']),_0xf01086(0x8,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x9,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0xa,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0xb,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x50a112);let _0x18cfb2=class extends _0xcc4349{constructor(_0x1e418d,_0xf2207f,_0x287bbe,_0xad63d4,_0x1a7cda,_0x38fa44,_0x40a9a8,_0x4f03ac,_0x40d088,_0x23d0c0){const _0x5c2e52=_0x33f14e;super(_0x1e418d,_0xf2207f,_0x287bbe,_0xad63d4,_0x1a7cda,_0x4f03ac,_0x40d088,_0x40a9a8,_0x23d0c0),this[_0x5c2e52(0x1c7)]=_0x38fa44,_0x816778(this,_0x5c2e52(0x2fb),_0x5c2e52(0x15d));}['appendMutation'](_0x220376){const _0x1cd502=_0x33f14e;return this[_0x1cd502(0x14e)][_0x1cd502(0xf8)](_0x220376),this[_0x1cd502(0x335)](),this;}[_0x33f14e(0x217)](_0x1568ef){const _0x1a2f7c=_0x33f14e;throw Error(_0x1a2f7c(0x3a0));}[_0x33f14e(0xc4)](){const _0x54842f=_0x33f14e;throw Error(_0x54842f(0x25b));}[_0x33f14e(0x159)](){throw Error('[OfflineState]:\x20received\x20rejection.');}[_0x33f14e(0x24f)](){return this;}['toggleOffline'](){return this;}[_0x33f14e(0x2ea)](){const _0x1ef93a=_0x33f14e;let {_injector:_0x4fccb1,_pendingMutations:_0x44555f,_awaitingChangeset:_0x5766b0,unitID:_0x5c11bb,_handler:_0x14fdcd,type:_0x55039b}=this,_0x4b2c19=_0xa73d8b(_0x4fccb1,_0x5c11bb,_0x55039b,_0x5766b0,_0x44555f,_0x14fdcd);return _0x4b2c19 instanceof _0x40e466?_0x4b2c19['_schedule']():(_0x4b2c19 instanceof _0x1f4a11||_0x4b2c19 instanceof _0x4c5197)&&_0x4b2c19[_0x1ef93a(0x150)](),_0x4b2c19;}[_0x33f14e(0x150)](){const _0x11a03a=_0x33f14e;throw Error(_0x11a03a(0x357));}};_0x18cfb2=_0x47fc4c([_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x8,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x9,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x18cfb2);let _0x69d917=class extends _0xcc4349{constructor(_0x2d9350,_0x44417f,_0x19fb88,_0x15cf3d,_0x4d6f16,_0x35c998,_0x215377,_0x5f4305,_0x45c123,_0x279368,_0x113d36,_0x14fd12,_0x2aaa6f,_0x3e05be){const _0x5ea01a=_0x33f14e;super(_0x2d9350,_0x44417f,_0x19fb88,_0x15cf3d,_0x215377,_0x113d36,_0x14fd12,_0x45c123,_0x3e05be),this[_0x5ea01a(0x1ea)]=_0x4d6f16,this[_0x5ea01a(0x319)]=_0x35c998,this['_injector']=_0x5f4305,this['_logService']=_0x279368,this['_transformService']=_0x2aaa6f,this[_0x5ea01a(0x302)]=_0x3e05be,_0x816778(this,_0x5ea01a(0x2fb),_0x5ea01a(0xe9));}[_0x33f14e(0xd5)](_0xe12d30){const _0x3a4a90=_0x33f14e;try{if(this[_0x3a4a90(0x2cf)](_0xe12d30)[_0x3a4a90(0x2e1)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this['_handleRemoteChangesets']([...this[_0x3a4a90(0x319)]][_0x3a4a90(0x1bd)]((_0x4de3bc,_0x56635b)=>_0x4de3bc[_0x3a4a90(0x2d1)]-_0x56635b[_0x3a4a90(0x2d1)]))[_0x3a4a90(0x2e1)])return this[_0x3a4a90(0x319)]=[],this[_0x3a4a90(0x335)](),this['_handler'][_0x3a4a90(0xd6)]({'from':this[_0x3a4a90(0x203)](),'to':0x0}),this;let _0x18d0dc=this[_0x3a4a90(0x110)],_0x485f9a=this[_0x3a4a90(0x14e)],_0x374bdb;if(_0x18d0dc&&_0x485f9a['length']!==0x0)_0x374bdb=this['_injector'][_0x3a4a90(0x32f)](_0x1f4a11,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],_0x18d0dc,_0x485f9a,this['_handler'],void 0x0);else{if(_0x18d0dc&&_0x485f9a['length']===0x0)_0x18d0dc[_0x3a4a90(0x1ac)]=this[_0x3a4a90(0x203)](),_0x374bdb=this[_0x3a4a90(0x1c7)]['createInstance'](_0x4c5197,this['unitID'],this[_0x3a4a90(0x1aa)],_0x18d0dc,this['_handler']);else{if(_0x485f9a[_0x3a4a90(0x251)]!==0x0){let _0x3f02ca=this[_0x3a4a90(0x1c7)]['createInstance'](_0x40e466,this['unitID'],this['type'],_0x485f9a,this[_0x3a4a90(0x1c8)]);_0x3f02ca[_0x3a4a90(0x1d6)](),_0x374bdb=_0x3f02ca;}else _0x374bdb=this['_injector']['createInstance'](_0x3f62b4,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],this[_0x3a4a90(0x1c8)]);}}return _0x374bdb[_0x3a4a90(0x335)](),_0x374bdb;}catch(_0x93055e){return this[_0x3a4a90(0x356)][_0x3a4a90(0x15f)](_0x3a4a90(0x27d),_0x3a4a90(0x1d1),_0x93055e),this['_injector']['createInstance'](_0x50a112,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],this[_0x3a4a90(0x110)],this[_0x3a4a90(0x14e)],this[_0x3a4a90(0x1c8)],!0x1);}}[_0x33f14e(0x2cf)](_0x5bc373){const _0x9b52ac=_0x33f14e;this['_acknowledgeAwaitingIfReady']();for(let _0x34f413=0x0;_0x34f413<_0x5bc373[_0x9b52ac(0x251)];_0x34f413++){let _0x41404d=_0x5bc373[_0x34f413],_0x380e3e=this[_0x9b52ac(0x203)]();if(!(_0x41404d[_0x9b52ac(0x2d1)]<=_0x380e3e)){if(_0x41404d[_0x9b52ac(0x2d1)]>_0x380e3e+0x1)return{'missingChangesets':!0x0};if(this[_0x9b52ac(0x234)](_0x41404d)){this[_0x9b52ac(0xee)]();continue;}this[_0x9b52ac(0x342)](_0x41404d),this[_0x9b52ac(0x275)]();}}return{'missingChangesets':!0x1};}[_0x33f14e(0x342)](_0x77ac01){const _0x2872ed=_0x33f14e;let _0x3f1b89=_0x77ac01,_0x27ac81=this[_0x2872ed(0x110)];if(_0x27ac81){let _0x18b20e=this[_0x2872ed(0x15e)][_0x2872ed(0x3be)]([_0x77ac01],[_0x27ac81],!0x1);if(!(0x0,_0x540a4f[_0x2872ed(0x13e)])(_0x18b20e))throw _0x18b20e[_0x2872ed(0x15f)];_0x3f1b89=_0x18b20e['c1Prime'][0x0],_0x27ac81=_0x18b20e[_0x2872ed(0x22b)][0x0];}let _0x2f245f=this['_pendingMutations'];if(_0x2f245f[_0x2872ed(0x251)]){let _0x5810f0=this[_0x2872ed(0x15e)][_0x2872ed(0x141)](_0x3f1b89,_0x2f245f);if(!(0x0,_0x540a4f[_0x2872ed(0x199)])(_0x5810f0))throw _0x5810f0[_0x2872ed(0x15f)];_0x3f1b89=_0x5810f0['c1Prime'],_0x2f245f=_0x5810f0['m2Prime'];}this[_0x2872ed(0x16b)](_0x3f1b89),_0x27ac81&&(_0x27ac81[_0x2872ed(0x1ac)]=this[_0x2872ed(0x203)]()),this['_awaitingChangeset']=_0x27ac81,this[_0x2872ed(0x14e)]=_0x2f245f;}['_acknowledgeAwaitingIfReady'](){const _0x2762cb=_0x33f14e;if(!this[_0x2762cb(0x110)]||this[_0x2762cb(0x1ea)]==null)return;let _0x3f7964=this[_0x2762cb(0x203)]();if(this[_0x2762cb(0x1ea)]<=_0x3f7964)throw Error(_0x2762cb(0x351)+this['_acknowledgedAwaitingRevision']+'.');this[_0x2762cb(0x1ea)]===_0x3f7964+0x1&&this[_0x2762cb(0xee)]();}['_acknowledgeAwaiting'](){const _0x4122d1=_0x33f14e;this[_0x4122d1(0x3b7)](),this[_0x4122d1(0x110)]=null,this[_0x4122d1(0x1ea)]=null;}[_0x33f14e(0x234)](_0x566903){const _0x10d8d1=_0x33f14e;let _0x3fb967=this[_0x10d8d1(0x110)];return!_0x3fb967||!_0x3fb967[_0x10d8d1(0x39c)]||_0x3fb967[_0x10d8d1(0x1e8)]===null||_0x3fb967[_0x10d8d1(0x1e8)]===void 0x0?!0x1:_0x566903[_0x10d8d1(0x37e)]===_0x3fb967[_0x10d8d1(0x37e)]&&_0x566903[_0x10d8d1(0x39c)]===_0x3fb967['sid']&&_0x566903[_0x10d8d1(0x1e8)]===_0x3fb967[_0x10d8d1(0x1e8)];}[_0x33f14e(0x150)](){const _0x530d79=_0x33f14e;throw Error(_0x530d79(0x220));}[_0x33f14e(0x221)](_0x509a86){const _0x52b199=_0x33f14e;return this[_0x52b199(0x14e)]['push'](_0x509a86),this;}[_0x33f14e(0x217)](_0x4d839f){const _0x132068=_0x33f14e;return this[_0x132068(0x319)]['push'](_0x4d839f),this;}[_0x33f14e(0xc4)](_0x2f2e14){const _0x41a12e=_0x33f14e;if(this[_0x41a12e(0x110)]){let _0x2378fb=this[_0x41a12e(0x203)]();return _0x2f2e14[_0x41a12e(0x2d1)]<=_0x2378fb||(_0x2378fb+0x1===_0x2f2e14[_0x41a12e(0x2d1)]?(this[_0x41a12e(0x3b7)](),this['_awaitingChangeset']=null,this['_acknowledgedAwaitingRevision']=null):this[_0x41a12e(0x1ea)]=_0x2f2e14['revision']),this;}if(_0x2f2e14[_0x41a12e(0x2d1)]<=this[_0x41a12e(0x203)]())return this;throw Error(_0x41a12e(0x130));}['onRemoteRej'](_0x3c6a74){const _0xa98a8c=_0x33f14e;return this[_0xa98a8c(0x358)](!!(_0x3c6a74!=null&&_0x3c6a74['isPermissionRej']));}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){const _0x568c3a=_0x33f14e;return this[_0x568c3a(0x1c7)][_0x568c3a(0x32f)](_0x18cfb2,this[_0x568c3a(0x37e)],this[_0x568c3a(0x1aa)],this[_0x568c3a(0x110)],this[_0x568c3a(0x14e)],this[_0x568c3a(0x1c8)]);}['toggleOnline'](){return this;}[_0x33f14e(0x358)](_0x11d35e){const _0x2d1728=_0x33f14e;return this[_0x2d1728(0x1c7)][_0x2d1728(0x32f)](_0x50a112,this[_0x2d1728(0x37e)],this[_0x2d1728(0x1aa)],this[_0x2d1728(0x110)],this[_0x2d1728(0x14e)],this[_0x2d1728(0x1c8)],_0x11d35e);}};_0x69d917=_0x47fc4c([_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x8,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10['ICommandService']),_0xf01086(0xb,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xc,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x69d917);function _0xa73d8b(_0x226fee,_0x2e4faf,_0x52a65d,_0x137b46,_0x3b13ce,_0x4db61f){const _0x29aeb5=_0x33f14e;return _0x137b46&&_0x3b13ce['length']?_0x226fee[_0x29aeb5(0x32f)](_0x1f4a11,_0x2e4faf,_0x52a65d,_0x137b46,_0x3b13ce,_0x4db61f,void 0x0):_0x137b46?_0x226fee[_0x29aeb5(0x32f)](_0x4c5197,_0x2e4faf,_0x52a65d,_0x137b46,_0x4db61f):_0x3b13ce[_0x29aeb5(0x251)]?_0x226fee[_0x29aeb5(0x32f)](_0x40e466,_0x2e4faf,_0x52a65d,_0x3b13ce,_0x4db61f):_0x226fee[_0x29aeb5(0x32f)](_0x3f62b4,_0x2e4faf,_0x52a65d,_0x4db61f);}let _0x5f0326=class extends _0x305d10[_0x33f14e(0x15a)]{get['state'](){return this['_state'];}constructor(_0x48350c,_0x28bc02,_0x2fb4b4,_0x100c18,_0xb8ec71,_0x4ed3c7,_0x1ad9b1,_0x4af083,_0x18337b,_0x2fd90a,_0xa1c208,_0x5bc666,_0x1fb27e,_0x37d351){const _0x2a13d9=_0x33f14e;super(),this['unitID']=_0x48350c,this[_0x2a13d9(0x20a)]=_0x28bc02,this[_0x2a13d9(0x34a)]=_0x2fb4b4,this[_0x2a13d9(0x1c7)]=_0x100c18,this[_0x2a13d9(0x2ac)]=_0xb8ec71,this[_0x2a13d9(0x35d)]=_0x4ed3c7,this[_0x2a13d9(0x28d)]=_0x1ad9b1,this[_0x2a13d9(0x17a)]=_0x4af083,this[_0x2a13d9(0x35b)]=_0x18337b,this[_0x2a13d9(0x356)]=_0x2fd90a,this[_0x2a13d9(0x1f7)]=_0xa1c208,this[_0x2a13d9(0x27e)]=_0x5bc666,this[_0x2a13d9(0x24a)]=_0x1fb27e,this[_0x2a13d9(0x179)]=_0x37d351,_0x816778(this,_0x2a13d9(0x247),new _0x247d93['BehaviorSubject'](null)),_0x816778(this,_0x2a13d9(0x1a8),this['_state$'][_0x2a13d9(0x172)]()),_0x816778(this,'_state',void 0x0),_0x816778(this,_0x2a13d9(0x1d8),!0x1),_0x816778(this,'_changesetSessionId',''),_0x816778(this,'_changesetReqId',0x0),_0x816778(this,_0x2a13d9(0x363),this[_0x2a13d9(0x1a8)][_0x2a13d9(0x2a9)]((0x0,_0x247d93[_0x2a13d9(0x348)])(_0x3e65ff=>_0x3e65ff?_0x3e65ff[_0x2a13d9(0x2fb)]:'offline'),(0x0,_0x247d93[_0x2a13d9(0x2de)])({'bufferSize':0x1,'refCount':!0x0}))),_0x816778(this,'_transitionLocked',!0x1),_0x816778(this,_0x2a13d9(0x1ec),[]);}async[_0x33f14e(0x32e)](){const _0x515d0a=_0x33f14e;if(this[_0x515d0a(0x204)])throw Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x515d0a(0x205)]();}[_0x33f14e(0x2aa)](){const _0x5bb1c3=_0x33f14e;return this[_0x5bb1c3(0x1d8)]=!0x0,(0x0,_0x305d10['toDisposable'])(()=>{const _0x158b35=_0x5bb1c3;this[_0x158b35(0x1d8)]=!0x1,this[_0x158b35(0x134)]();});}[_0x33f14e(0xf9)](_0x287538){const _0x4ad35e=_0x33f14e;this[_0x4ad35e(0x1ad)](_0x287538);}['_updateState'](_0x147681){const _0x1b3758=_0x33f14e;this[_0x1b3758(0x184)]=_0x147681,this[_0x1b3758(0x247)]['next'](_0x147681);}async[_0x33f14e(0x205)](){const _0x5a6a0f=_0x33f14e;if(this['_updateState'](await this[_0x5a6a0f(0x34b)]()),this['_singleActiveUnitService']){var _0x2dfc70;(_0x2dfc70=this[_0x5a6a0f(0x24a)])==null||_0x2dfc70[_0x5a6a0f(0x1f8)](this[_0x5a6a0f(0x37e)]),this[_0x5a6a0f(0x20b)](this[_0x5a6a0f(0x24a)][_0x5a6a0f(0x38f)](this[_0x5a6a0f(0x37e)])[_0x5a6a0f(0x305)](_0x391207=>{const _0x2b2225=_0x5a6a0f;this['_logService'][_0x2b2225(0x31a)](_0x2b2225(0x2f5),_0x2b2225(0xbe),_0x391207),_0x391207===0x1?(this['_eventService'][_0x2b2225(0x118)]({'id':_0x2b2225(0x162)}),this[_0x2b2225(0x27e)]['updatePermissionPoint'](new _0x2b86ea[(_0x2b2225(0xef))](this[_0x2b2225(0x37e)])['id'],!0x1),this[_0x2b2225(0x27e)]['setShowComponents'](!0x1)):(this[_0x2b2225(0x27e)]['updatePermissionPoint'](new _0x2b86ea[(_0x2b2225(0xef))](this[_0x2b2225(0x37e)])['id'],!0x0),this['_permissionService'][_0x2b2225(0x32d)](!0x0));}));}let _0x9426fa=!0x1;return this[_0x5a6a0f(0x20b)](this[_0x5a6a0f(0x20a)]['sessionStatus$'][_0x5a6a0f(0x305)](_0x5dbf7b=>{_0x5dbf7b===0x3?this['_toggleOnline'](_0x9426fa):_0x5dbf7b===0x2&&(_0x9426fa=!0x0,this['_toggleOffline']());})),this[_0x5a6a0f(0x20b)](this['session'][_0x5a6a0f(0x1b0)][_0x5a6a0f(0x305)](_0x1e0c69=>{const _0x28bbef=_0x5a6a0f;try{switch(_0x1e0c69[_0x28bbef(0x2b4)]){case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x30a)]:this[_0x28bbef(0x2a5)]((0x0,_0x540a4f[_0x28bbef(0x3b0)])(_0x1e0c69['data']));break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x24c)]:this[_0x28bbef(0x3b9)](_0x1e0c69['data']);break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x164)]:this[_0x28bbef(0x397)]();break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x370)]:this['_onRemoteRetry'](_0x1e0c69[_0x28bbef(0x23d)]);break;case _0x540a4f['CollaborationEvent'][_0x28bbef(0x163)]:this[_0x28bbef(0x157)](_0x1e0c69[_0x28bbef(0x23d)][_0x28bbef(0x10e)][_0x28bbef(0x348)](_0x36fd5c=>(0x0,_0x540a4f['parseProtocolChangeset'])(_0x36fd5c)));break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x344)]:this[_0x28bbef(0x397)]({'isPermissionRej':!0x0});break;case _0x540a4f[_0x28bbef(0x38c)]['UNISCRIPT_RUN']:break;}}catch(_0x2ecce5){throw console[_0x28bbef(0x15f)](_0x28bbef(0x22d),_0x2ecce5),_0x2ecce5;}})),this[_0x5a6a0f(0x184)];}['_unlockTransition'](){const _0x10391c=_0x33f14e;this[_0x10391c(0x3b8)]=!0x1;}[_0x33f14e(0x39e)](){const _0xbdbdf4=_0x33f14e;if(this['_transitionLocked'])throw Error(_0xbdbdf4(0x39f));this[_0xbdbdf4(0x3b8)]=!0x0;}[_0x33f14e(0x1ad)](_0xf5418){const _0x411751=_0x33f14e;this[_0x411751(0x39e)](),this[_0x411751(0x30c)](this[_0x411751(0x184)][_0x411751(0x221)](_0xf5418)),this['_unlockTransition']();}[_0x33f14e(0x2a5)](_0x2a3abb){const _0x505e6b=_0x33f14e;if(!(_0x2a3abb['revision']<=this['_revisionService'][_0x505e6b(0x15b)](this[_0x505e6b(0x37e)]))){if(this[_0x505e6b(0x1d8)]){this['_remoteChangesetQueue'][_0x505e6b(0xf8)](_0x2a3abb);return;}this[_0x505e6b(0x2a3)](_0x2a3abb);}}['_exhaustRemoteChangesetQueue'](){const _0x3acfe6=_0x33f14e;this[_0x3acfe6(0x1ec)][_0x3acfe6(0x1fc)](_0x9ad203=>this[_0x3acfe6(0x2a3)](_0x9ad203)),this[_0x3acfe6(0x1ec)]=[];}[_0x33f14e(0x2a3)](_0x4826fc){const _0x2d7ffb=_0x33f14e;let _0x16486e=this[_0x2d7ffb(0x2ac)][_0x2d7ffb(0x2e2)]['fetchThroughInterceptors'](this[_0x2d7ffb(0x2ac)]['interceptor'][_0x2d7ffb(0x31e)]()[_0x2d7ffb(0x17c)])(_0x4826fc[_0x2d7ffb(0x316)],null)||_0x4826fc[_0x2d7ffb(0x316)],_0x16333d={..._0x4826fc,'mutations':_0x16486e};this['_lockTransition'](),this[_0x2d7ffb(0x30c)](this[_0x2d7ffb(0x184)]['onRemoteChangeset'](_0x16333d)),this[_0x2d7ffb(0x330)]();}[_0x33f14e(0x3b9)](_0x73f62){const _0x386412=_0x33f14e;this['_lockTransition'](),this['_updateState'](this[_0x386412(0x184)][_0x386412(0xc4)](_0x73f62)),this[_0x386412(0x330)]();}[_0x33f14e(0x397)](_0x510a44){const _0x3c609e=_0x33f14e;this[_0x3c609e(0x39e)](),this['_updateState'](this[_0x3c609e(0x184)][_0x3c609e(0x159)](_0x510a44)),this[_0x3c609e(0x330)]();}[_0x33f14e(0x176)](_0x31ab89){const _0x1e2057=_0x33f14e;this[_0x1e2057(0x39e)](),this[_0x1e2057(0x30c)](this[_0x1e2057(0x184)]['onRemoteRetry'](_0x31ab89)),this[_0x1e2057(0x330)]();}[_0x33f14e(0x157)](_0xe7de93){const _0x4eed1e=_0x33f14e;if(!(this[_0x4eed1e(0x184)]instanceof _0x69d917))throw TypeError(_0x4eed1e(0x104));let _0x250858=_0xe7de93[_0x4eed1e(0x348)](_0x4ce8f8=>{const _0x371e77=_0x4eed1e;let _0x7477bd=this['_compressMutationService'][_0x371e77(0x2e2)]['fetchThroughInterceptors'](this[_0x371e77(0x2ac)][_0x371e77(0x2e2)][_0x371e77(0x31e)]()[_0x371e77(0x17c)])(_0x4ce8f8[_0x371e77(0x316)],null)||_0x4ce8f8[_0x371e77(0x316)];return{..._0x4ce8f8,'mutations':_0x7477bd};});this[_0x4eed1e(0x39e)](),this[_0x4eed1e(0x30c)](this[_0x4eed1e(0x184)][_0x4eed1e(0xd5)](_0x250858)),this[_0x4eed1e(0x330)]();}[_0x33f14e(0x2e3)](){const _0x2841d9=_0x33f14e;this[_0x2841d9(0x39e)](),this[_0x2841d9(0x30c)](this[_0x2841d9(0x184)]['toggleOffline']()),this[_0x2841d9(0x330)]();}['_toggleOnline'](_0x424774=!0x1){const _0x2ffbb7=_0x33f14e;this[_0x2ffbb7(0x39e)](),this[_0x2ffbb7(0x30c)](this['_state'][_0x2ffbb7(0x2ea)]()),this['_unlockTransition']();let _0x4c1499=this[_0x2ffbb7(0x184)];_0x424774&&_0x4c1499 instanceof _0x3f62b4&&(this[_0x2ffbb7(0x39e)](),this[_0x2ffbb7(0x30c)](_0x4c1499['fetchMiss']()),this[_0x2ffbb7(0x330)]());}async['_createInitialState'](){return new Promise(_0xf2537b=>{const _0x18f3df=_0x1555;this[_0x18f3df(0x20a)]['sessionStatus$']['pipe']((0x0,_0x247d93[_0x18f3df(0x1df)])(0x1))[_0x18f3df(0x305)](async _0x2eae6c=>{_0xf2537b(await this['_createInitialStateImpl'](_0x2eae6c===0x3));});});}[_0x33f14e(0x122)](){const _0x2c7435=_0x33f14e;let _0x3712dc=this[_0x2c7435(0x37e)];return{'onStateChange':(_0x1536e4,_0x54a205)=>{const _0x3fbb1f=_0x2c7435;if(_0x1536e4!==this['_state'])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1536e4[_0x3fbb1f(0x2fb)]+'\x0aAfter:\x20'+_0x54a205[_0x3fbb1f(0x2fb)]+_0x3fbb1f(0x33a)+this[_0x3fbb1f(0x184)][_0x3fbb1f(0x2fb)]);this[_0x3fbb1f(0x30c)](_0x54a205);},'onSendChangeset':_0x5a5987=>{const _0x5c7af6=_0x2c7435;_0x5a5987['sid']||(_0x5a5987[_0x5c7af6(0x39c)]=this[_0x5c7af6(0xbf)],_0x5a5987[_0x5c7af6(0x1e8)]=++this[_0x5c7af6(0x10d)]);let _0x556aef={'eventID':_0x540a4f[_0x5c7af6(0x38c)][_0x5c7af6(0x1e6)],'data':{'unitID':_0x5a5987[_0x5c7af6(0x37e)],'unitType':this[_0x5c7af6(0x34a)],'changeset':_0x5a5987,'memberID':this['session'][_0x5c7af6(0x173)]()}};this[_0x5c7af6(0x20a)]['send'](_0x556aef,this[_0x5c7af6(0x37e)]);},'onMissingChangesets':({from:_0x368bc4,to:_0x36239a})=>{const _0x373b84=_0x2c7435;this[_0x373b84(0x356)][_0x373b84(0x31a)](_0x373b84(0x2f5),_0x373b84(0xc7)+_0x368bc4+_0x373b84(0xed)+_0x36239a);let _0x362566={'eventID':_0x540a4f[_0x373b84(0x38c)][_0x373b84(0x228)],'data':{'unitID':_0x3712dc,'unitType':this['_type'],'from':_0x368bc4,'to':_0x36239a}};this[_0x373b84(0x20a)][_0x373b84(0x3a8)](_0x362566,this[_0x373b84(0x37e)]);}};}async[_0x33f14e(0x206)](_0xfde58f){const _0x190550=_0x33f14e;var _0x1a8167,_0x1b9d63,_0x3de2a3;let _0x3cc0f0=await((_0x1a8167=this['_localCacheService'])==null?void 0x0:_0x1a8167['loadOfflineData'](this['unitID'])),_0x1b1ce8=(_0x1b9d63=_0x3cc0f0==null?void 0x0:_0x3cc0f0['mutations'])==null?[]:_0x1b9d63,_0x48dcec=(_0x3de2a3=_0x3cc0f0==null?void 0x0:_0x3cc0f0[_0x190550(0x166)])==null?null:_0x3de2a3,_0x3d4c87=!!(_0x48dcec!=null&&_0x48dcec[_0x190550(0x39c)])&&!!(_0x48dcec!=null&&_0x48dcec['reqId']);this['_changesetSessionId']=_0x3d4c87?_0x48dcec[_0x190550(0x39c)]:(0x0,_0x540a4f[_0x190550(0x3b2)])(),this['_changesetReqId']=_0x3d4c87?_0x48dcec[_0x190550(0x1e8)]:0x0;let _0x2deebc=this[_0x190550(0x37e)];try{this['_replayCachedMutations'](_0x48dcec,_0x1b1ce8);}catch(_0x4b0320){this[_0x190550(0x356)][_0x190550(0x15f)](_0x4b0320);}let _0x2362e9=this['_createHandler']();if(_0xfde58f){let _0x1721b8=_0xa73d8b(this[_0x190550(0x1c7)],_0x2deebc,this[_0x190550(0x34a)],_0x48dcec,_0x1b1ce8,_0x2362e9);return _0x1721b8 instanceof _0x40e466?_0x1721b8['_schedule']():(_0x1721b8 instanceof _0x1f4a11||_0x1721b8 instanceof _0x4c5197)&&_0x1721b8[_0x190550(0x150)](),_0x1721b8;}return this[_0x190550(0x1c7)]['createInstance'](_0x18cfb2,_0x2deebc,this[_0x190550(0x34a)],_0x48dcec,_0x1b1ce8,_0x2362e9);}[_0x33f14e(0x301)](_0x37f8bc,_0x3b78d6){const _0xeabfdd=_0x33f14e;var _0x497d91,_0x1a4130;let _0x5ff08d=this[_0xeabfdd(0x2ac)][_0xeabfdd(0x2e2)][_0xeabfdd(0x322)](this[_0xeabfdd(0x2ac)]['interceptor'][_0xeabfdd(0x31e)]()[_0xeabfdd(0x17c)]);(_0x497d91=_0x5ff08d((_0x37f8bc==null?void 0x0:_0x37f8bc[_0xeabfdd(0x316)])||[],null))==null||_0x497d91[_0xeabfdd(0x1fc)](_0x42edf6=>this['_commandService'][_0xeabfdd(0x1b2)](_0x42edf6['id'],_0x42edf6['params'])),(_0x1a4130=_0x5ff08d(_0x3b78d6||[],null))==null||_0x1a4130[_0xeabfdd(0x1fc)](_0x1c58ac=>this['_commandService']['executeCommand'](_0x1c58ac['id'],_0x1c58ac[_0xeabfdd(0x3c1)]));}};_0x5f0326=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x8,_0x305d10['IUniverInstanceService']),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x5f0326);let _0x467d36=class extends _0x5f0326{constructor(_0x544571,_0x3a5456,_0x1b1a40,_0x4efd1b,_0x444e41,_0x2f75e7,_0xf87c02,_0x13b5ab,_0xb888a9,_0x598e74,_0x4765ea,_0x3a8a10,_0x5252bf,_0x19ddcd){const _0xf6920a=_0x33f14e;super(_0x544571,_0x1b1a40,_0x3a5456,_0x4efd1b,_0x444e41,_0x2f75e7,_0xf87c02,_0x13b5ab,_0xb888a9,_0x598e74,_0x4765ea,_0x3a8a10,_0x5252bf,_0x19ddcd),this['unitID']=_0x544571,this[_0xf6920a(0x1aa)]=_0x3a5456,_0x816778(this,'_handlerCallback',null);}[_0x33f14e(0xde)](_0xa4fb7f){const _0xf860ab=_0x33f14e;this[_0xf860ab(0x239)]=_0xa4fb7f;}[_0x33f14e(0x366)](){const _0x6a3d3a=_0x33f14e;this['_handlerCallback']=null,super[_0x6a3d3a(0x366)]();}[_0x33f14e(0x122)](){const _0x2e9403=_0x33f14e;let _0x132b36=super[_0x2e9403(0x122)]();return _0x132b36['onTransformIME']=_0x164cf9=>{const _0x504f60=_0x2e9403;var _0x5bd321,_0x5f3c93;return(_0x5bd321=this[_0x504f60(0x239)])==null||(_0x5f3c93=_0x5bd321['onTransformIME'])==null?void 0x0:_0x5f3c93[_0x504f60(0xdf)](_0x5bd321,_0x164cf9);},_0x132b36[_0x2e9403(0x2f0)]=_0x44db14=>{const _0x794096=_0x2e9403;var _0x1a1c43,_0x759f2c;return(_0x1a1c43=this[_0x794096(0x239)])==null||(_0x759f2c=_0x1a1c43['onTransformState'])==null?void 0x0:_0x759f2c[_0x794096(0xdf)](_0x1a1c43,_0x44db14);},_0x132b36['onTransformSelections']=_0x162037=>{const _0x5e4ef0=_0x2e9403;var _0x57a740,_0x76d7fc;return(_0x57a740=this['_handlerCallback'])==null||(_0x76d7fc=_0x57a740[_0x5e4ef0(0x2c1)])==null?void 0x0:_0x76d7fc['call'](_0x57a740,_0x162037);},_0x132b36[_0x2e9403(0x27f)]=_0x2bf1e1=>{const _0x22fcbf=_0x2e9403;var _0x434002,_0x22825a;return(_0x434002=this['_handlerCallback'])==null||(_0x22825a=_0x434002[_0x22fcbf(0x27f)])==null?void 0x0:_0x22825a['call'](_0x434002,_0x2bf1e1);},_0x132b36[_0x2e9403(0x299)]=_0x239259=>{const _0x1db9fe=_0x2e9403;var _0x1bb411,_0x21b2fb,_0x5114c1;if(!((_0x1bb411=this[_0x1db9fe(0x239)])!=null&&_0x1bb411['onTransformRemoteChangesetByIMECache']))throw Error(_0x1db9fe(0x23c));return(_0x21b2fb=this[_0x1db9fe(0x239)])==null||(_0x5114c1=_0x21b2fb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5114c1[_0x1db9fe(0xdf)](_0x21b2fb,_0x239259);},_0x132b36[_0x2e9403(0x395)]=_0x4cc7c5=>{const _0x564051=_0x2e9403;var _0x446837,_0x283e9c,_0x5c4354;if(!((_0x446837=this[_0x564051(0x239)])!=null&&_0x446837[_0x564051(0x395)]))throw Error(_0x564051(0xe0));return(_0x283e9c=this[_0x564051(0x239)])==null||(_0x5c4354=_0x283e9c[_0x564051(0x395)])==null?void 0x0:_0x5c4354[_0x564051(0xdf)](_0x283e9c,_0x4cc7c5);},_0x132b36;}async['_init'](){const _0x1d6439=_0x33f14e;let _0x59ed49=await super[_0x1d6439(0x205)]();return this[_0x1d6439(0x20b)](this[_0x1d6439(0x1f7)][_0x1d6439(0x20c)]((_0x1bf81e,_0x2e8a28)=>{const _0x12af0f=_0x1d6439;if(_0x1bf81e[_0x12af0f(0x1aa)]!==_0x305d10[_0x12af0f(0x244)][_0x12af0f(0xca)]||_0x2e8a28!=null&&_0x2e8a28[_0x12af0f(0x2b2)]||_0x2e8a28!=null&&_0x2e8a28[_0x12af0f(0x16e)]||_0x1bf81e['id']===_0x44bc8e[_0x12af0f(0xe8)]['id'])return;let _0x1a9d8e=_0x1bf81e[_0x12af0f(0x3c1)];if((_0x1a9d8e==null?void 0x0:_0x1a9d8e[_0x12af0f(0x34f)])!==this['unitID'])return;let _0x46207f=_0x1bf81e,_0x4936ca=this['_compressMutationService'][_0x12af0f(0x2e2)][_0x12af0f(0x322)](this[_0x12af0f(0x2ac)]['interceptor'][_0x12af0f(0x31e)]()[_0x12af0f(0x2a2)])([_0x46207f],this[_0x12af0f(0x35b)])||[_0x46207f];this['_onLocalMutation'](_0x4936ca[0x0]);})),_0x59ed49;}};_0x467d36=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x8,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0xb,_0x305d10['IPermissionService']),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x467d36);let _0x3c0dc6=class extends _0x5f0326{constructor(_0x55eaf9,_0x57c0b1,_0x2545e4,_0x4efee9,_0x30b551,_0x42400c,_0x4e1661,_0x460e9e,_0x4dc4f3,_0x39a866,_0x1980d1,_0x14fd69,_0x39f731,_0x449cea,_0x3132a0){const _0x3fed82=_0x33f14e;super(_0x55eaf9,_0x2545e4,_0x57c0b1,_0x4efee9,_0x30b551,_0x42400c,_0x4e1661,_0x4dc4f3,_0x39a866,_0x1980d1,_0x14fd69,_0x39f731,_0x449cea,_0x3132a0),this[_0x3fed82(0x37e)]=_0x55eaf9,this[_0x3fed82(0x1aa)]=_0x57c0b1,this['_sheetTransformSelectionsService']=_0x460e9e;}[_0x33f14e(0x122)](){const _0x544be3=_0x33f14e;let _0x5c1d94=super['_createHandler']();return _0x5c1d94[_0x544be3(0x2c1)]=_0x405843=>this[_0x544be3(0xb1)][_0x544be3(0x2e6)](_0x405843),_0x5c1d94;}async['_init'](){const _0x35c103=_0x33f14e;let _0x27dbbd=await super[_0x35c103(0x205)]();return this[_0x35c103(0x20b)](this[_0x35c103(0x1f7)]['onMutationExecutedForCollab']((_0x565bcc,_0x5c9f3b)=>{const _0x534c3b=_0x35c103;if(_0x565bcc['type']!==_0x305d10[_0x534c3b(0x244)][_0x534c3b(0xca)]||_0x5c9f3b!=null&&_0x5c9f3b['fromCollab']||_0x5c9f3b!=null&&_0x5c9f3b['onlyLocal'])return;let _0x4f16e9=_0x565bcc[_0x534c3b(0x3c1)];if((_0x4f16e9==null?void 0x0:_0x4f16e9['unitId'])!==this[_0x534c3b(0x37e)])return;let _0x22c482=_0x565bcc,_0xa9965f=this[_0x534c3b(0x2ac)][_0x534c3b(0x2e2)][_0x534c3b(0x322)](this[_0x534c3b(0x2ac)][_0x534c3b(0x2e2)][_0x534c3b(0x31e)]()[_0x534c3b(0x2a2)])([_0x22c482],this[_0x534c3b(0x35b)])||[_0x22c482];this[_0x534c3b(0x1ad)](_0xa9965f[0x0]);})),_0x27dbbd;}};_0x3c0dc6=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10['Inject'])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10['Inject'])(_0x2c235d)),_0xf01086(0x8,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x9,_0x305d10['IUniverInstanceService']),_0xf01086(0xa,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xb,_0x305d10['ICommandService']),_0xf01086(0xc,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xe,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x3c0dc6);let _0x515a5c=(0x0,_0x305d10['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x1ab073(_0x182374){const _0x260c5b=_0x33f14e;let _0x4337c1=_0x182374[_0x260c5b(0x23d)],_0x54e37d=JSON[_0x260c5b(0x36d)](_0x4337c1);switch(_0x54e37d[_0x260c5b(0x38a)]){case _0x54f861['CombCmd'][_0x260c5b(0x313)]:case _0x54f861[_0x260c5b(0xb8)][_0x260c5b(0x2f3)]:{let _0x4007bf=_0x54e37d['infoRsp'];return{..._0x54e37d,'data':_0x4007bf,'cmd':_0x54e37d[_0x260c5b(0x38a)]};}case _0x54f861[_0x260c5b(0xb8)]['JOIN']:{let _0x306ff2=_0x54e37d[_0x260c5b(0x327)];return{..._0x54e37d,'data':_0x306ff2,'cmd':_0x54e37d['cmd']};}case _0x54f861[_0x260c5b(0xb8)][_0x260c5b(0x2f8)]:{let _0x1f7842=_0x54e37d[_0x260c5b(0x28e)];switch(_0x1f7842[_0x260c5b(0x2b4)]){case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x344)]:var _0x30ec56;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x30ec56=_0x1f7842[_0x260c5b(0x154)])==null?void 0x0:_0x30ec56['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x24c)]:var _0x5b1fe5;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x5b1fe5=_0x1f7842[_0x260c5b(0x262)])==null?void 0x0:_0x5b1fe5['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)]['NEW_CHANGESETS']:var _0x2558a3;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x2558a3=_0x1f7842[_0x260c5b(0xad)])==null?void 0x0:_0x2558a3['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x164)]:var _0x33f545;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x33f545=_0x1f7842[_0x260c5b(0x2ae)])==null?void 0x0:_0x33f545['cs']},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x370)]:var _0x248ada;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x248ada=_0x1f7842['csShouldRetryEvent'])==null?void 0x0:_0x248ada['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x23a)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x295)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent']['USERS_ENTER']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842['joinEvent']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x341)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0xcb)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x391)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x231)]},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x33b)]:case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x153)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x1f4)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)]['LIVESHARE_TERMINATE']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x231)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x1d7)]:return{..._0x54e37d,'data':_0x1f7842,'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x291)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x107)]},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x272)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x161)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)]['SHOULD_CLOSE_CONN']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x227)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x343)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x22e)]},'cmd':_0x54e37d['cmd']};default:return _0x54e37d;}}default:return _0x54e37d;}}function _0x2d2ccc(_0x16d3d4){const _0x226dce=_0x33f14e;switch(_0x16d3d4[_0x226dce(0x38a)]){case _0x54f861['CombCmd'][_0x226dce(0x313)]:case _0x54f861['CombCmd'][_0x226dce(0x2f3)]:return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4['routeKey']});case _0x54f861[_0x226dce(0xb8)]['INGEST']:{let _0x4a44a0;switch(_0x16d3d4['data'][_0x226dce(0x2b4)]){case _0x540a4f[_0x226dce(0x38c)]['UPDATE_CURSOR']:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x23a)],'updateCursorEvent':_0x16d3d4[_0x226dce(0x23d)][_0x226dce(0x23d)]};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x341)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x341)],'leaveEvent':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x285)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x285)],'joinEvent':_0x16d3d4['data'][_0x226dce(0x23d)]};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x391)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x391)],'liveShareNewHost':_0x16d3d4[_0x226dce(0x23d)][_0x226dce(0x23d)]};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x153)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x16d3d4['data'][_0x226dce(0x23d)]};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x38b)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x2eb)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x2eb)],'liveShareRequestHost':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x33b)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x33b)]};break;default:_0x4a44a0={'eventID':_0x16d3d4['data']['eventID']};}return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4[_0x226dce(0x2bf)],'collaMsg':_0x4a44a0});}case _0x54f861[_0x226dce(0xb8)][_0x226dce(0x2b1)]:return JSON['stringify']({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4[_0x226dce(0x2bf)],'joinReq':_0x16d3d4['data']});case _0x54f861[_0x226dce(0xb8)][_0x226dce(0x2e8)]:return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4['cmd'],'routeKey':_0x16d3d4['routeKey'],'leaveReq':_0x16d3d4['data']});default:throw Error(_0x226dce(0xd4));}}let _0x277be8=(0x0,_0x305d10[_0x33f14e(0x131)])('univer-pro.collaboration-client-socket-service');function _0xc8ac41(_0x4e6baa,_0x58c423,_0xe9982b){const _0x340d43=_0x33f14e;return _0x4e6baa+'/'+_0x58c423+_0x340d43(0x10f)+_0xe9982b+_0x340d43(0x35e);}let _0x4d4d25=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x50775f,_0x42b059,_0x49d67b,_0x43b489,_0x54d43f){const _0x5036a4=_0x33f14e;super(),this['_injector']=_0x50775f,this[_0x5036a4(0x1b1)]=_0x42b059,this[_0x5036a4(0x333)]=_0x49d67b,this[_0x5036a4(0x356)]=_0x43b489,this[_0x5036a4(0x32c)]=_0x54d43f;}[_0x33f14e(0x2c0)](_0xcc5cdd){const _0x53442b=_0x33f14e;let _0x3b0798=this[_0x53442b(0x1c7)][_0x53442b(0x1a5)](_0x3c9fd5[_0x53442b(0x19b)]);if(!_0x3b0798)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');let _0x4c7f7f=_0x3b0798[_0x53442b(0xd8)](_0xcc5cdd);if(!_0x4c7f7f)throw Error(_0x53442b(0x1e2));let _0x4d8258=new _0x305d10[(_0x53442b(0x340))](),_0x12a928=new _0x247d93[(_0x53442b(0x2be))]();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x25f)][_0x53442b(0x305)](_0x49e964=>_0x12a928[_0x53442b(0x300)](_0x49e964))),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x12a928[_0x53442b(0x109)]()));let _0x44426f=new _0x247d93[(_0x53442b(0x2be))]();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x362)][_0x53442b(0x305)](_0x255339=>_0x44426f[_0x53442b(0x300)](_0x255339))),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x44426f[_0x53442b(0x109)]()));let _0x477fe9=new _0x247d93['Subject']();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x260)][_0x53442b(0x305)](_0x5946d1=>{let _0x4e7d5d=_0x1ab073(_0x5946d1);_0x477fe9['next'](_0x4e7d5d);})),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x477fe9[_0x53442b(0x109)]()));let _0x2b0553,_0x9cd2f8=()=>{const _0x8a8efc=_0x53442b;_0x44426f['next'](new Event(_0x8a8efc(0x1fb))),_0x12a928['next'](new Event(_0x8a8efc(0x1fb))),_0x2b0553[_0x8a8efc(0xe4)]();};return _0x2b0553={'memberID':'','close$':_0x12a928[_0x53442b(0x172)](),'error$':_0x44426f['asObservable'](),'open$':_0x4c7f7f[_0x53442b(0x197)],'message$':_0x477fe9[_0x53442b(0x172)](),'send':_0xe96e0c=>{const _0x3dc517=_0x53442b;if(_0xe96e0c[_0x3dc517(0x38a)]===_0x54f861[_0x3dc517(0xb8)][_0x3dc517(0x23f)]){if(_0xe96e0c[_0x3dc517(0x23d)]['eventID']===_0x540a4f['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x3dc517(0x117)](_0x2b0553,_0xe96e0c[_0x3dc517(0x23d)])['catch'](_0x92ab0=>{const _0x46753c=_0x3dc517;this[_0x46753c(0x356)][_0x46753c(0x15f)](_0x92ab0),_0x9cd2f8();});return;}if(_0xe96e0c['data'][_0x3dc517(0x2b4)]===_0x540a4f[_0x3dc517(0x38c)]['FETCH_MISSING']){let _0x47e247=_0xe96e0c['data'];this['_fetchMissChangesets'](_0x47e247)[_0x3dc517(0x181)](_0x30da94=>{const _0x4407bb=_0x3dc517;_0x477fe9[_0x4407bb(0x300)]({'cmd':_0x54f861['CombCmd'][_0x4407bb(0x2f8)],'code':_0x54f861[_0x4407bb(0x372)]['OK'],'routeKey':_0x47e247[_0x4407bb(0x23d)]['unitID'],'routeType':'','data':{'eventID':_0x540a4f['CollaborationEvent'][_0x4407bb(0x163)],'data':{'changesets':_0x30da94}}});})['catch'](_0x278f9f=>{const _0x3401da=_0x3dc517;this[_0x3401da(0x356)][_0x3401da(0x15f)](_0x278f9f),_0x9cd2f8();});return;}}_0x4c7f7f[_0x3dc517(0x3a8)](_0x2d2ccc(_0xe96e0c));},'close':()=>{const _0x25fc8a=_0x53442b;_0x4c7f7f[_0x25fc8a(0xe4)](),_0x4d8258[_0x25fc8a(0x366)]();}},_0x2b0553;}async[_0x33f14e(0x117)](_0x47383a,_0x430ff1){const _0x5913b3=_0x33f14e;var _0x3fc23c;let {unitType:_0x46d76c,unitID:_0x1bd402,changeset:_0x1389ba}=_0x430ff1['data'],_0x5ed2f3={'unitID':_0x1bd402,'memberID':_0x47383a['memberID'],'type':_0x46d76c,'changeset':(0x0,_0x540a4f[_0x5913b3(0x273)])(_0x1389ba)},_0x83a1f9=this[_0x5913b3(0x333)][_0x5913b3(0x328)](_0x1cf9ab),_0x58d1aa=_0xc8ac41((_0x3fc23c=_0x83a1f9==null?void 0x0:_0x83a1f9[_0x5913b3(0x352)])==null?_0x5913b3(0xb0):_0x3fc23c,_0x46d76c,_0x1bd402);try{await this[_0x5913b3(0x1b1)][_0x5913b3(0x2b0)](_0x58d1aa,{'body':_0x5ed2f3});}catch(_0x2c2517){throw this[_0x5913b3(0x356)][_0x5913b3(0x15f)](_0x5913b3(0x243),_0x5913b3(0xf6)),_0x2c2517;}}async[_0x33f14e(0x2fd)](_0x5f071f){const _0x177ba7=_0x33f14e;let {unitID:_0x36beba,from:_0xa3af76,to:_0x47dc60,unitType:_0x5c863d}=_0x5f071f[_0x177ba7(0x23d)];return(await this[_0x177ba7(0x32c)][_0x177ba7(0xea)]({'metadata':void 0x0},{'unitID':_0x36beba,'type':_0x5c863d,'from':_0xa3af76,'to':_0x47dc60}))['changesets'][_0x177ba7(0x348)](_0x52144c=>((_0x52144c[_0x177ba7(0x316)]===null||_0x52144c[_0x177ba7(0x316)]===void 0x0)&&(_0x52144c[_0x177ba7(0x316)]=[]),_0x52144c));}};_0x4d4d25=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,(0x0,_0x305d10['Inject'])(_0x3c9fd5[_0x33f14e(0x195)])),_0xf01086(0x2,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x4,_0x540a4f['ISnapshotServerService'])],_0x4d4d25);let _0x258abc=class extends _0x305d10[_0x33f14e(0x1c2)]{get[_0x33f14e(0x383)](){const _0x39b34d=_0x33f14e;return this['_socket$'][_0x39b34d(0x3a9)]();}constructor(_0x4f2c38,_0x3672d5,_0x22f2c8,_0x4e8835,_0x22ac45,_0x5807a5){const _0x4ab8bc=_0x33f14e;super(),this['_injector']=_0x4f2c38,this[_0x4ab8bc(0x356)]=_0x3672d5,this[_0x4ab8bc(0x333)]=_0x22f2c8,this[_0x4ab8bc(0x2ef)]=_0x4e8835,this[_0x4ab8bc(0x17e)]=_0x22ac45,this[_0x4ab8bc(0x219)]=_0x5807a5,_0x816778(this,_0x4ab8bc(0x12b),new _0x247d93['BehaviorSubject'](void 0x0)),_0x816778(this,'socket$',this[_0x4ab8bc(0x12b)][_0x4ab8bc(0x172)]()),_0x816778(this,_0x4ab8bc(0xb6),null),_0x816778(this,_0x4ab8bc(0x271),new Map()),_0x816778(this,_0x4ab8bc(0x318),new _0x247d93[(_0x4ab8bc(0x288))](0x0)),_0x816778(this,'status$',this['_status$']['asObservable']()),_0x816778(this,_0x4ab8bc(0x3c6),!0x1),_0x816778(this,_0x4ab8bc(0xfd),void 0x0),_0x816778(this,'_retryCount',0x0),_0x816778(this,_0x4ab8bc(0x119),null),_0x816778(this,_0x4ab8bc(0x2e0),void 0x0),_0x816778(this,'_timeoutTimer',void 0x0),this[_0x4ab8bc(0x250)]();}[_0x33f14e(0x250)](){const _0x5f3f9d=_0x33f14e;this['_networkConditionService']&&this[_0x5f3f9d(0x20b)](this[_0x5f3f9d(0x219)]['online$'][_0x5f3f9d(0x305)](_0x543363=>{const _0x129340=_0x5f3f9d;_0x543363&&!this[_0x129340(0x383)]&&this[_0x129340(0x294)](),_0x543363||this[_0x129340(0x26a)]();}));}['dispose'](){const _0x1615c5=_0x33f14e;var _0x3f740f;super['dispose'](),(_0x3f740f=this[_0x1615c5(0x119)])==null||_0x3f740f['unsubscribe'](),this[_0x1615c5(0x119)]=null,this[_0x1615c5(0x32b)](),this[_0x1615c5(0x326)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x1615c5(0x1fc)](_0x353d8f=>_0x353d8f[_0x1615c5(0x366)]()),this[_0x1615c5(0x271)]['clear'](),this[_0x1615c5(0x318)][_0x1615c5(0x109)]();}async[_0x33f14e(0x1ee)](_0x25298a){const _0x37472a=_0x33f14e;if(this[_0x37472a(0x271)][_0x37472a(0x354)](_0x25298a))return this[_0x37472a(0x271)][_0x37472a(0x1a5)](_0x25298a);this['_tryEnsureSocket']();let _0x41fa3e=this[_0x37472a(0x1c7)][_0x37472a(0x32f)](_0x459c7b,_0x25298a,this[_0x37472a(0x12b)][_0x37472a(0x172)]());return this[_0x37472a(0x271)]['set'](_0x25298a,_0x41fa3e),_0x41fa3e;}[_0x33f14e(0x375)](_0x475652){const _0x34bf5e=_0x33f14e;let _0x4ac40a=this[_0x34bf5e(0x271)][_0x34bf5e(0x1a5)](_0x475652);if(_0x4ac40a&&(this[_0x34bf5e(0x271)][_0x34bf5e(0xc0)](_0x475652),_0x4ac40a[_0x34bf5e(0xe4)]()),!this[_0x34bf5e(0x271)]['size']){var _0x4fdffc;(_0x4fdffc=this['_socket'])==null||_0x4fdffc[_0x34bf5e(0xe4)]();}}[_0x33f14e(0x294)](){const _0x5f0aa2=_0x33f14e;this[_0x5f0aa2(0x278)]=0x0,this[_0x5f0aa2(0x32b)](),this[_0x5f0aa2(0x129)]();}['_clearRetryConnectingTimer'](){const _0x4fdddc=_0x33f14e;this[_0x4fdddc(0xfd)]!=null&&(clearTimeout(this[_0x4fdddc(0xfd)]),this['_retryConnectingTimer']=null);}async[_0x33f14e(0x283)](){const _0x902bd0=_0x33f14e;var _0x40ddb8;let _0x4a315e=this[_0x902bd0(0x333)][_0x902bd0(0x328)](_0x1cf9ab),_0x3c6e4f=(_0x40ddb8=_0x4a315e==null?void 0x0:_0x4a315e[_0x902bd0(0x24e)])==null?_0x3919fe:_0x40ddb8,_0x221223=await this[_0x902bd0(0x2ef)]['createSocket'](_0x3c6e4f);return this[_0x902bd0(0xb6)]=_0x221223,_0x221223;}async[_0x33f14e(0x2bc)](){const _0x4d4255=_0x33f14e;try{var _0x2b857b,_0x20b241;let _0x42b07f=(_0x2b857b=(_0x20b241=this[_0x4d4255(0x383)])==null?this[_0x4d4255(0xb6)]:_0x20b241)==null?await this[_0x4d4255(0x283)]():_0x2b857b;if(_0x42b07f){var _0xf89338;let _0x57d863=_0x42b07f[_0x4d4255(0x3a8)];_0x42b07f[_0x4d4255(0x3a8)]=_0x233604=>(_0x233604[_0x4d4255(0x38a)]!==_0x54f861['CombCmd'][_0x4d4255(0x2e8)]&&this[_0x4d4255(0x1e5)](),_0x57d863['apply'](_0x42b07f,[_0x233604])),(_0xf89338=this[_0x4d4255(0x119)])==null||_0xf89338[_0x4d4255(0x38d)](),this[_0x4d4255(0x119)]=null,this['_socketMessageSubscription']=_0x42b07f[_0x4d4255(0x260)][_0x4d4255(0x305)](_0x2e58f4=>this[_0x4d4255(0xb7)](_0x42b07f,_0x2e58f4)),_0x42b07f[_0x4d4255(0x362)][_0x4d4255(0x2a9)]((0x0,_0x38623c['take'])(0x1))[_0x4d4255(0x305)](_0x542ba3=>this[_0x4d4255(0x356)]['error'](_0x4d4255(0x1c9),_0x542ba3)),_0x42b07f[_0x4d4255(0x197)]['pipe']((0x0,_0x38623c[_0x4d4255(0x1df)])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x42b07f);}),_0x42b07f['close$'][_0x4d4255(0x2a9)]((0x0,_0x38623c[_0x4d4255(0x1df)])(0x1))[_0x4d4255(0x305)](_0x1cfec2=>{const _0x28567f=_0x4d4255;this[_0x28567f(0x356)]['debug'](_0x28567f(0x13d),_0x28567f(0x1cb),_0x1cfec2),this[_0x28567f(0x100)]();});}}catch(_0x29846b){this[_0x4d4255(0x356)][_0x4d4255(0x15f)](_0x29846b),this['_onConnectionFailed']();}}[_0x33f14e(0x3ab)](_0x268aed){const _0x4a7f95=_0x33f14e;this[_0x4a7f95(0x356)][_0x4a7f95(0x31a)](_0x4a7f95(0x13d),_0x4a7f95(0x171)),_0x268aed[_0x4a7f95(0x3a8)]({'cmd':_0x54f861['CombCmd']['HELLO']}),this['_rescheduleHeartbeat']();}[_0x33f14e(0x26a)](){const _0x31844c=_0x33f14e;this[_0x31844c(0x3c6)]=!0x1,this['_candidateSocket']=null,this[_0x31844c(0x318)][_0x31844c(0x300)](0x2),this['_socket$'][_0x31844c(0x300)](null),this['_clearTimeoutTimer'](),this[_0x31844c(0x3b4)]();}[_0x33f14e(0x100)](){const _0x37bfac=_0x33f14e;var _0x228a79;this[_0x37bfac(0x26a)](),this['_retryCount']<((_0x228a79=this[_0x37bfac(0x333)][_0x37bfac(0x328)](_0x37bfac(0x2af)))==null?0x3:_0x228a79)?(this[_0x37bfac(0x17e)]['emitEvent']({'id':_0x37bfac(0x37a)}),this[_0x37bfac(0x129)]()):this[_0x37bfac(0x17e)][_0x37bfac(0x118)]({'id':_0x37bfac(0x237)});}['_tryReconnect'](){const _0x4bf89b=_0x33f14e;var _0x3c3b9a;let _0x43a39e=this[_0x4bf89b(0x278)],_0x2df914=this[_0x4bf89b(0x333)][_0x4bf89b(0x328)](_0x1cf9ab),_0x1f9576=_0x43a39e===0x0?0x0:((_0x3c3b9a=_0x2df914==null?void 0x0:_0x2df914['retryConnectingInterval'])==null?0x4e20:_0x3c3b9a)*0x2**_0x43a39e;this[_0x4bf89b(0xfd)]=setTimeout(()=>{const _0x53c845=_0x4bf89b;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x53c845(0x2bc)]();},_0x1f9576),this[_0x4bf89b(0x278)]+=0x1;}[_0x33f14e(0xb7)](_0x315926,_0x3d04ab){const _0x5eb43a=_0x33f14e;let {cmd:_0x972762}=_0x3d04ab;_0x972762===_0x54f861[_0x5eb43a(0xb8)]['HELLO']&&!this['_socketReady']&&(_0x315926['memberID']=_0x3d04ab[_0x5eb43a(0x23d)]['memberID'],this[_0x5eb43a(0x12b)][_0x5eb43a(0x300)](_0x315926),this['_status$'][_0x5eb43a(0x300)](0x3),this['_socketReady']=!0x0,this[_0x5eb43a(0xb6)]=null),_0x972762===_0x54f861['CombCmd'][_0x5eb43a(0x313)]&&this[_0x5eb43a(0x326)](),this['_rescheduleHeartbeat']();}[_0x33f14e(0x1e5)](){const _0x450aee=_0x33f14e;var _0x52173f;this[_0x450aee(0x3b4)](),this[_0x450aee(0x2e0)]=setTimeout(()=>this[_0x450aee(0x103)](),(_0x52173f=this[_0x450aee(0x333)][_0x450aee(0x328)](_0x450aee(0xaf)))==null?0x7530:_0x52173f);}[_0x33f14e(0x103)](){const _0x399000=_0x33f14e;this['_socket'][_0x399000(0x3a8)]({'cmd':_0x54f861[_0x399000(0xb8)][_0x399000(0x313)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0xb957fc=_0x33f14e;var _0x2fe230;this[_0xb957fc(0x202)]=setTimeout(()=>this[_0xb957fc(0x100)](),(_0x2fe230=this[_0xb957fc(0x333)][_0xb957fc(0x328)]('HEARTBEAT_TIMEOUT'))==null?_0x5752cb:_0x2fe230);}[_0x33f14e(0x3b4)](){const _0x1b61c9=_0x33f14e;this[_0x1b61c9(0x2e0)]!=null&&(clearTimeout(this[_0x1b61c9(0x2e0)]),this[_0x1b61c9(0x2e0)]=null);}[_0x33f14e(0x326)](){const _0x1dc964=_0x33f14e;this[_0x1dc964(0x202)]!=null&&(clearTimeout(this[_0x1dc964(0x202)]),this[_0x1dc964(0x202)]=null);}};_0x258abc=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x2,_0x305d10['IConfigService']),_0xf01086(0x3,_0x277be8),_0xf01086(0x4,(0x0,_0x305d10['Inject'])(_0x23b696)),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x515a5c))],_0x258abc);let _0x37b5a8=class extends _0x305d10['RxDisposable']{constructor(_0x12067b,_0x545860,_0xc0feb2,_0x1c5dd0){const _0x2a7fa6=_0x33f14e;var _0x3b6207;super(),this[_0x2a7fa6(0x1c7)]=_0x12067b,this[_0x2a7fa6(0x26f)]=_0x545860,this['_configService']=_0xc0feb2,this[_0x2a7fa6(0x35b)]=_0x1c5dd0,_0x816778(this,_0x2a7fa6(0x258),new Map()),_0x816778(this,_0x2a7fa6(0x1ef),new _0x247d93[(_0x2a7fa6(0x2be))]()),_0x816778(this,'entityInit$',this[_0x2a7fa6(0x1ef)][_0x2a7fa6(0x172)]()),((_0x3b6207=this['_configService'][_0x2a7fa6(0x328)](_0x2a7fa6(0x2ba)))==null?void 0x0:_0x3b6207['enableCollaboration'])!==!0x1&&this['_init']();}[_0x33f14e(0x366)](){const _0x171884=_0x33f14e;super[_0x171884(0x366)](),this['_entities'][_0x171884(0x1fc)](_0x5c5495=>_0x5c5495[_0x171884(0x366)]()),this['_entities'][_0x171884(0x200)]();}[_0x33f14e(0x1d4)](_0x2336cf){const _0x12c3d4=_0x33f14e;var _0x543a1a;return(_0x543a1a=this[_0x12c3d4(0x258)][_0x12c3d4(0x1a5)](_0x2336cf))==null?null:_0x543a1a;}[_0x33f14e(0x3a6)](_0x176cc7){const _0x1d3249=_0x33f14e;let _0x35e318=this[_0x1d3249(0x1d4)](_0x176cc7);return _0x35e318?(0x0,_0x247d93['of'])(_0x35e318):this[_0x1d3249(0x1ef)][_0x1d3249(0x2a9)]((0x0,_0x38623c['filter'])(_0x11fa1d=>_0x11fa1d['unitID']===_0x176cc7));}[_0x33f14e(0x37b)](_0x2d3432){const _0x1997d5=_0x33f14e;return(0x0,_0x247d93[_0x1997d5(0xe2)])(this[_0x1997d5(0x3a6)](_0x2d3432)['pipe']((0x0,_0x38623c['map'])(()=>void 0x0)));}['_init'](){const _0x486fd6=_0x33f14e;this[_0x486fd6(0x35b)]['getTypeOfUnitAdded$'](_0x305d10['UniverInstanceType']['UNIVER_SHEET'])[_0x486fd6(0x2a9)]((0x0,_0x247d93['takeUntil'])(this[_0x486fd6(0x26d)]),(0x0,_0x38623c[_0x486fd6(0x33f)])(0x10))[_0x486fd6(0x305)](async _0x1ce2f8=>{const _0x66bf0b=_0x486fd6;let _0x13ae7a=_0x1ce2f8['unit']['getUnitId'](),_0x556c02=await this['_startCollaboration'](_0x13ae7a,_0x305d10[_0x66bf0b(0x1c6)]['UNIVER_SHEET']);this[_0x66bf0b(0x258)][_0x66bf0b(0x269)](_0x13ae7a,_0x556c02);}),this[_0x486fd6(0x35b)][_0x486fd6(0xc5)](_0x305d10['UniverInstanceType']['UNIVER_DOC'])[_0x486fd6(0x2a9)]((0x0,_0x247d93[_0x486fd6(0x1f5)])(this[_0x486fd6(0x26d)]),(0x0,_0x38623c[_0x486fd6(0x33f)])(0x10))[_0x486fd6(0x2a9)]((0x0,_0x38623c[_0x486fd6(0x306)])(_0xa9465=>!_0xa9465['unit'][_0x486fd6(0x1e7)]()[_0x486fd6(0x11d)]('__')))['subscribe'](async _0x208ca0=>{const _0x15b124=_0x486fd6;let _0x2e42e8=_0x208ca0[_0x15b124(0x265)]['getUnitId'](),_0x18a30b=await this[_0x15b124(0x380)](_0x2e42e8,_0x305d10[_0x15b124(0x1c6)][_0x15b124(0x26e)]);this[_0x15b124(0x258)][_0x15b124(0x269)](_0x2e42e8,_0x18a30b);}),(0x0,_0x247d93[_0x486fd6(0xff)])(this[_0x486fd6(0x35b)][_0x486fd6(0x2b7)](_0x305d10[_0x486fd6(0x1c6)]['UNIVER_SHEET']),this[_0x486fd6(0x35b)][_0x486fd6(0x2b7)](_0x305d10[_0x486fd6(0x1c6)][_0x486fd6(0x26e)]))['pipe']((0x0,_0x247d93[_0x486fd6(0x1f5)])(this[_0x486fd6(0x26d)]))[_0x486fd6(0x305)](_0x2bd9e2=>{const _0x39f82d=_0x486fd6;let _0x5a77c9=_0x2bd9e2['getUnitId'](),_0x5d29f2=this[_0x39f82d(0x258)][_0x39f82d(0x1a5)](_0x5a77c9);_0x5d29f2&&(_0x5d29f2[_0x39f82d(0x366)](),this[_0x39f82d(0x258)]['delete'](_0x5a77c9));});}async[_0x33f14e(0x380)](_0x5be02a,_0x593418){const _0x4b746d=_0x33f14e;let _0x561d2c=await this[_0x4b746d(0x26f)][_0x4b746d(0x1ee)](_0x5be02a),_0x5488ca=this[_0x4b746d(0x1c7)][_0x4b746d(0x32f)](this[_0x4b746d(0x31c)](_0x593418),_0x5be02a,_0x593418,_0x561d2c);return await _0x5488ca[_0x4b746d(0x32e)](),this['_entityInit$']['next'](_0x5488ca),_0x5488ca;}[_0x33f14e(0x31c)](_0x40b146){const _0x458f5e=_0x33f14e;switch(_0x40b146){case _0x305d10[_0x458f5e(0x1c6)][_0x458f5e(0x26e)]:return _0x467d36;case _0x305d10[_0x458f5e(0x1c6)][_0x458f5e(0x22a)]:return _0x3c0dc6;default:throw Error(_0x458f5e(0x1a4)+_0x40b146);}}};_0x37b5a8=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x258abc)),_0xf01086(0x2,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0x20d)])],_0x37b5a8);var _0x53586=_0x33f14e(0x102),_0x453767='0.25.1';let _0x14ac8f=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x2e0795,_0x46b20c){const _0x2eca24=_0x33f14e;super(),this['_univerInstanceService']=_0x2e0795,this[_0x2eca24(0x333)]=_0x46b20c,this[_0x2eca24(0x205)]();}[_0x33f14e(0x205)](){const _0xd777d1=_0x33f14e;this[_0xd777d1(0x20b)](this['_univerInstanceService'][_0xd777d1(0x167)][_0xd777d1(0x305)](()=>{const _0xb1a424=_0xd777d1;var _0x58839c;let _0x26492c=this[_0xb1a424(0x35b)][_0xb1a424(0x2a8)](),_0x4d40c9=(_0x58839c=this['_configService'][_0xb1a424(0x328)](_0xb1a424(0x279)))==null?_0xb1a424(0x248):_0x58839c;_0x26492c instanceof _0x305d10[_0xb1a424(0x115)]&&(_0x4d40c9=_0x26492c['name']),document[_0xb1a424(0x16d)]=_0x4d40c9;}));}};_0x14ac8f=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x1,_0x305d10[_0x33f14e(0xfb)])],_0x14ac8f);let _0x2ed10f=class{constructor(_0x1a5698,_0x2954f7,_0x3f6356){const _0x37d0a5=_0x33f14e;this[_0x37d0a5(0x333)]=_0x1a5698,this[_0x37d0a5(0x1b1)]=_0x2954f7,this[_0x37d0a5(0x37f)]=_0x3f6356,this['init']();}['init'](){const _0x286b06=_0x33f14e;this[_0x286b06(0x1b1)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4172eb,_0x8996a6)=>_0x8996a6(_0x4172eb)[_0x286b06(0x2a9)]((0x0,_0x247d93[_0x286b06(0x208)])(async _0xe0bf99=>{const _0x232597=_0x286b06;let _0x9e8196=_0xe0bf99;if(_0x9e8196['status']===0x191){if(typeof window>'u')throw Error(_0x232597(0x2c8));if(window[_0x232597(0x1a3)](this[_0x232597(0x37f)]['t'](_0x232597(0x1de)))){let _0x432592=window[_0x232597(0x1a7)](window['location'][_0x232597(0xf2)]);window['location'][_0x232597(0xf2)]=this[_0x232597(0x36e)]()+'?url='+_0x432592;}}return _0x9e8196;}))});}['_getLoginPath'](){const _0x532ef4=_0x33f14e;var _0x399f1e;let _0xe80474=this['_configService'][_0x532ef4(0x328)](_0x1cf9ab);return(_0x399f1e=_0xe80474==null?void 0x0:_0xe80474[_0x532ef4(0x304)])==null?_0x532ef4(0x292):_0x399f1e;}};_0x2ed10f=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5['HTTPService'])),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)]))],_0x2ed10f);let _0xc00d62=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x18abb9,_0x5d52ea){const _0x30a501=_0x33f14e;super(),this['_HTTPService']=_0x18abb9,this['_configService']=_0x5d52ea,_0x816778(this,_0x30a501(0xb5),!0x1),this[_0x30a501(0x3a2)]();}[_0x33f14e(0x3a2)](){const _0x126224=_0x33f14e;let _0x2d0a1d=this;this[_0x126224(0x20b)](this[_0x126224(0x15c)][_0x126224(0x3c4)]({'priority':0x3e7,'interceptor':(0x0,_0x3c9fd5[_0x126224(0x24b)])({'isMatch'(_0x1de029){const _0x579e2a=_0x126224;var _0x551072;if(_0x1de029[_0x579e2a(0xf3)]===_0x579e2a(0x3a4)&&(_0x551072=_0x1de029[_0x579e2a(0x26b)])!=null&&_0x551072[_0x579e2a(0x29f)]){let {objectID:_0x237936,objectType:_0x3e8a09}=_0x1de029['requestParams'][_0x579e2a(0x29f)]||{};if(!_0x237936||_0x3e8a09===void 0x0)return!0x1;let _0x31ead2=_0x2d0a1d[_0x579e2a(0x11c)]()+'/'+_0x3e8a09+'/object/'+_0x237936+_0x579e2a(0x2ad);if(_0x1de029[_0x579e2a(0x2dd)]===_0x31ead2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x11a692){const _0x3e680d=_0x126224;var _0x9f5840;return(_0x9f5840=_0x11a692[_0x3e680d(0x26b)])==null?void 0x0:_0x9f5840['body'];},'mergeParamsToRequest'(_0x56fd40,_0x277b3e){const _0x516f12=_0x126224;let _0x37be2d=_0x2d0a1d['_getAPIPrefixPath']()+_0x516f12(0x2b5),_0x2c803d=_0x56fd40[_0x516f12(0x127)]((_0x20ffb1,_0x9b6dee)=>{const _0x1d56aa=_0x516f12;let {unitID:_0x469263,objectID:_0x59c79f,objectType:_0xa52c48,actions:_0x4a2892}=_0x9b6dee;return _0x20ffb1[_0x469263]||(_0x20ffb1[_0x469263]={}),_0x20ffb1[_0x469263][_0x59c79f]||(_0x20ffb1[_0x469263][_0x59c79f]={'objectID':_0x59c79f,'objectType':_0xa52c48,'actions':[]}),_0x20ffb1[_0x469263][_0x59c79f][_0x1d56aa(0x165)]['push'](..._0x4a2892),_0x20ffb1;},{}),_0x20c88b=[];for(let _0x42a549 in _0x2c803d)for(let _0x2e2832 in _0x2c803d[_0x42a549]){let {actions:_0x578042,objectType:_0x19ff73}=_0x2c803d[_0x42a549][_0x2e2832],_0x156375=[...new Set(_0x578042)];_0x20c88b['push']({'unitID':_0x42a549,'objectID':_0x2e2832,'objectType':_0x19ff73,'actions':_0x156375});}return new _0x3c9fd5['HTTPRequest']('POST',_0x37be2d,{'headers':_0x277b3e[_0x516f12(0x144)],'withCredentials':_0x277b3e[_0x516f12(0x1d5)],'responseType':_0x277b3e[_0x516f12(0x14d)],'body':{'requests':_0x20c88b}});}},{'distributeResult'(_0x52d7db,_0x151efc){const _0x2d035f=_0x126224;let {objectActions:_0x52dca3}=_0x52d7db;return _0x151efc[_0x2d035f(0x348)](_0x3799d7=>{const _0x4cee15=_0x2d035f;let {unitID:_0x12ed35,objectID:_0x3d94d6,actions:_0xc63b40}=_0x3799d7,_0xd91932=_0x52dca3[_0x4cee15(0xfa)](_0x4ef514=>_0x4ef514[_0x4cee15(0x37e)]===_0x12ed35&&_0x4ef514[_0x4cee15(0x2fa)]===_0x3d94d6);return{'config':_0x3799d7,'result':{'actions':_0xc63b40[_0x4cee15(0x348)](_0x4c521b=>_0xd91932==null?void 0x0:_0xd91932['actions']['find'](_0x1804b1=>_0x1804b1[_0x4cee15(0x1cd)]===_0x4c521b))[_0x4cee15(0x306)](_0x447a7f=>!!_0x447a7f),'error':_0x52d7db['error']}};});}})}));}[_0x33f14e(0x11c)](){const _0x586b06=_0x33f14e;var _0x539403;let _0x724604=this[_0x586b06(0x333)][_0x586b06(0x328)](_0x1cf9ab);return(_0x539403=_0x724604==null?void 0x0:_0x724604[_0x586b06(0x3bc)])==null?_0x586b06(0x384):_0x539403;}async[_0x33f14e(0x1e0)](_0xd14522){const _0x5bb6ec=_0x33f14e;let _0x46626d=this[_0x5bb6ec(0x11c)]()+'/'+_0xd14522[_0x5bb6ec(0x350)]+'/object';return(await this[_0x5bb6ec(0x15c)][_0x5bb6ec(0x2b0)](_0x46626d,{'body':_0xd14522}))[_0x5bb6ec(0x29f)][_0x5bb6ec(0x2fa)]||'';}async[_0x33f14e(0x1e3)](_0x24914){const _0x52041e=_0x33f14e;let _0x1a24ed=this[_0x52041e(0x11c)]()+'/-/object/list';return(await this[_0x52041e(0x15c)][_0x52041e(0x2b0)](_0x1a24ed,{'body':_0x24914}))[_0x52041e(0x29f)][_0x52041e(0x112)];}async[_0x33f14e(0x12c)](_0x6b8700){const _0xd2e207=_0x33f14e;var _0x2c4bda;let _0x57b8b7=this[_0xd2e207(0x11c)]()+'/'+_0x6b8700[_0xd2e207(0x350)]+'/object/'+_0x6b8700[_0xd2e207(0x2fa)],_0x555946=await this[_0xd2e207(0x15c)]['put'](_0x57b8b7,{'body':_0x6b8700});if((_0x555946==null||(_0x2c4bda=_0x555946[_0xd2e207(0x29f)])==null||(_0x2c4bda=_0x2c4bda[_0xd2e207(0x15f)])==null?void 0x0:_0x2c4bda[_0xd2e207(0x361)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x32f4c1){const _0xfeed1d=_0x33f14e;let _0x1975f6=this[_0xfeed1d(0x11c)]()+'/'+_0x32f4c1[_0xfeed1d(0x350)]+_0xfeed1d(0x101)+_0x32f4c1[_0xfeed1d(0x2fa)]+_0xfeed1d(0x2ad);return(await this[_0xfeed1d(0x15c)]['post'](_0x1975f6,{'body':_0x32f4c1}))['body'][_0xfeed1d(0x165)];}async[_0x33f14e(0x27c)](_0x2be8d8){const _0x4c1c63=_0x33f14e;let _0x15438b=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4c1c63(0x15c)]['post'](_0x15438b,{'body':{'requests':_0x2be8d8}}))[_0x4c1c63(0x29f)][_0x4c1c63(0x3a1)];}async[_0x33f14e(0x2c6)](_0x43e5b6){const _0x4e87c6=_0x33f14e;let _0x1f8a94=this[_0x4e87c6(0x11c)]()+'/'+_0x43e5b6[_0x4e87c6(0x350)]+_0x4e87c6(0x128),_0x4d71af=await this['_HTTPService'][_0x4e87c6(0x2b0)](_0x1f8a94,{'body':_0x43e5b6});return{'roles':_0x4d71af[_0x4e87c6(0x29f)][_0x4e87c6(0x1b9)],'actions':_0x4d71af[_0x4e87c6(0x29f)]['actions']};}async[_0x33f14e(0x3c5)](_0x247de3){const _0x3fb585=_0x33f14e;let _0x4f1f85=this['_getAPIPrefixPath']()+_0x3fb585(0x312);await this[_0x3fb585(0x15c)][_0x3fb585(0xc0)](_0x4f1f85,{'params':{'collaboratorID':_0x247de3['collaboratorID'],'objectID':_0x247de3[_0x3fb585(0x2fa)],'unitID':_0x247de3['unitID']}});}async[_0x33f14e(0x2f7)](_0x32a573){const _0x2a8b96=_0x33f14e;let _0x4b760a=this[_0x2a8b96(0x11c)]()+_0x2a8b96(0x312);await this[_0x2a8b96(0x15c)][_0x2a8b96(0xbb)](_0x4b760a,{'body':_0x32a573});}async['createCollaborator'](_0x139f39){const _0x3a784d=_0x33f14e;let _0x4cb686=this['_getAPIPrefixPath']()+_0x3a784d(0x312);await this[_0x3a784d(0x15c)]['post'](_0x4cb686,{'body':_0x139f39});}async[_0x33f14e(0x373)](_0x516e32){const _0x4e018d=_0x33f14e;var _0x4a2e12;let _0x302ff4=this[_0x4e018d(0x11c)]()+_0x4e018d(0x312),_0x3dfb41=await this[_0x4e018d(0x15c)][_0x4e018d(0x1a5)](_0x302ff4,{'params':{'objectID':_0x516e32[_0x4e018d(0x2fa)],'unitID':_0x516e32[_0x4e018d(0x37e)]}});return this[_0x4e018d(0x2d4)]((_0x4a2e12=_0x3dfb41[_0x4e018d(0x29f)][_0x4e018d(0x18e)])==null?!0x1:_0x4a2e12),_0x3dfb41[_0x4e018d(0x29f)][_0x4e018d(0x26c)];}async[_0x33f14e(0x25a)](_0x32aaea){const _0x5226dc=_0x33f14e;let _0xb099aa=this[_0x5226dc(0x11c)]()+'/collaborator';await this['_HTTPService']['put'](_0xb099aa,{'body':_0x32aaea});}[_0x33f14e(0x2d4)](_0x4848fb){const _0x5c2485=_0x33f14e;this[_0x5c2485(0xb5)]=_0x4848fb;}['getCfgEnableObjInherit'](){const _0x1a11a0=_0x33f14e;return this[_0x1a11a0(0xb5)];}};_0xc00d62=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0xfb)]))],_0xc00d62);function _0x428edd(_0x1629ce){const _0x4ef637=_0x33f14e;return _0x1629ce instanceof Uint8Array||ArrayBuffer[_0x4ef637(0x263)](_0x1629ce)&&_0x1629ce['constructor'][_0x4ef637(0x241)]==='Uint8Array'&&_0x4ef637(0x29d)in _0x1629ce&&_0x1629ce[_0x4ef637(0x29d)]===0x1;}function _0x171b65(_0x4edd66){const _0x2718e2=_0x33f14e;if(typeof _0x4edd66!=_0x2718e2(0x242))throw TypeError(_0x2718e2(0x254)+typeof _0x4edd66);if(!Number[_0x2718e2(0x253)](_0x4edd66)||_0x4edd66<0x0)throw RangeError(_0x2718e2(0x2d9)+_0x4edd66);}function _0x418b3b(_0x7c523b,_0x55dd1d,_0x44e279=''){const _0x1c124a=_0x33f14e;let _0xe1c489=_0x428edd(_0x7c523b),_0x34c259=_0x7c523b==null?void 0x0:_0x7c523b[_0x1c124a(0x251)],_0x4942d1=_0x55dd1d!==void 0x0;if(!_0xe1c489||_0x4942d1&&_0x34c259!==_0x55dd1d){let _0x592dca=_0x44e279&&'\x22'+_0x44e279+'\x22\x20',_0x50f195=_0x4942d1?'\x20of\x20length\x20'+_0x55dd1d:'',_0x421570=_0xe1c489?'length='+_0x34c259:'type='+typeof _0x7c523b,_0x2eafdb=_0x592dca+'expected\x20Uint8Array'+_0x50f195+_0x1c124a(0xc2)+_0x421570;throw _0xe1c489?RangeError(_0x2eafdb):TypeError(_0x2eafdb);}return _0x7c523b;}function _0x5d032b(_0x5d903a){const _0x4fbb70=_0x33f14e;return new Uint32Array(_0x5d903a[_0x4fbb70(0x21e)],_0x5d903a[_0x4fbb70(0x183)],Math[_0x4fbb70(0x2f1)](_0x5d903a[_0x4fbb70(0x21b)]/0x4));}function _0x311a9a(..._0x297522){const _0x10006a=_0x33f14e;for(let _0xd4b5de=0x0;_0xd4b5de<_0x297522[_0x10006a(0x251)];_0xd4b5de++)_0x297522[_0xd4b5de]['fill'](0x0);}let _0x1c5baf=new Uint8Array(new Uint32Array([0x11223344])[_0x33f14e(0x21e)])[0x0]===0x44,_0x34d16d=_0x58d539=>_0x58d539<<0x18&0xff000000|_0x58d539<<0x8&0xff0000|_0x58d539>>>0x8&0xff00|_0x58d539>>>0x18&0xff,_0x59a6c3=_0x1c5baf?_0x6a67f2=>_0x6a67f2:_0x5ef8bc=>{const _0x5e1485=_0x33f14e;for(let _0xdd127f=0x0;_0xdd127f<_0x5ef8bc[_0x5e1485(0x251)];_0xdd127f++)_0x5ef8bc[_0xdd127f]=_0x34d16d(_0x5ef8bc[_0xdd127f]);return _0x5ef8bc;};function _0x46c12c(_0x332432){const _0x4a4249=_0x33f14e;if(typeof _0x332432!=_0x4a4249(0x137))throw TypeError(_0x4a4249(0x320));return new Uint8Array(new TextEncoder()['encode'](_0x332432));}function _0x4fe02a(_0x4fb8d9,_0xd3d7fb){const _0x245e9d=_0x33f14e;return!_0x4fb8d9[_0x245e9d(0x21b)]||!_0xd3d7fb['byteLength']?!0x1:_0x4fb8d9[_0x245e9d(0x21e)]===_0xd3d7fb['buffer']&&_0x4fb8d9['byteOffset']<_0xd3d7fb[_0x245e9d(0x183)]+_0xd3d7fb['byteLength']&&_0xd3d7fb[_0x245e9d(0x183)]<_0x4fb8d9[_0x245e9d(0x183)]+_0x4fb8d9['byteLength'];}function _0x1d2b3a(_0x386435,_0x1d94ef){const _0x5cd6cd=_0x33f14e;if(_0x4fe02a(_0x386435,_0x1d94ef)&&_0x386435[_0x5cd6cd(0x183)]<_0x1d94ef[_0x5cd6cd(0x183)])throw Error(_0x5cd6cd(0x2a1));}function _0x2c1cf3(..._0x5a7d1e){const _0xecf050=_0x33f14e;let _0x4ecea8=0x0;for(let _0x44c206=0x0;_0x44c206<_0x5a7d1e[_0xecf050(0x251)];_0x44c206++){let _0x594cf8=_0x5a7d1e[_0x44c206];_0x418b3b(_0x594cf8),_0x4ecea8+=_0x594cf8[_0xecf050(0x251)];}let _0x3b11c9=new Uint8Array(_0x4ecea8);for(let _0x58dcce=0x0,_0xc2a7ff=0x0;_0x58dcce<_0x5a7d1e[_0xecf050(0x251)];_0x58dcce++){let _0x3933e6=_0x5a7d1e[_0x58dcce];_0x3b11c9[_0xecf050(0x269)](_0x3933e6,_0xc2a7ff),_0xc2a7ff+=_0x3933e6[_0xecf050(0x251)];}return _0x3b11c9;}let _0x556cc6=(_0x404675,_0x134544)=>{const _0x203d9c=_0x33f14e;function _0x5747f3(_0x5e3263,..._0x12191b){const _0x5566ce=_0x1555;if(_0x418b3b(_0x5e3263,void 0x0,_0x5566ce(0xd7)),_0x404675[_0x5566ce(0x1da)]!==void 0x0){let _0x147ff6=_0x12191b[0x0];_0x418b3b(_0x147ff6,_0x404675[_0x5566ce(0x1d9)]?void 0x0:_0x404675[_0x5566ce(0x1da)],_0x5566ce(0x311));}let _0x2387c2=_0x404675[_0x5566ce(0xc3)];_0x2387c2&&_0x12191b[0x1]!==void 0x0&&_0x418b3b(_0x12191b[0x1],void 0x0,_0x5566ce(0x296));let _0x458a2d=_0x134544(_0x5e3263,..._0x12191b),_0x3199b2=(_0x13628b,_0x37bfea)=>{const _0x54a12d=_0x5566ce;if(_0x37bfea!==void 0x0){if(_0x13628b!==0x2)throw Error(_0x54a12d(0x297));_0x418b3b(_0x37bfea,void 0x0,_0x54a12d(0xdc));}},_0x3d1ec5=!0x1;return{'encrypt'(_0x1910ba,_0x2138bc){const _0x19f640=_0x5566ce;if(_0x3d1ec5)throw Error(_0x19f640(0x11b));return _0x3d1ec5=!0x0,_0x418b3b(_0x1910ba),_0x3199b2(_0x458a2d['encrypt'][_0x19f640(0x251)],_0x2138bc),_0x458a2d[_0x19f640(0xd2)](_0x1910ba,_0x2138bc);},'decrypt'(_0x27e610,_0x55e9d7){const _0x33ba45=_0x5566ce;if(_0x418b3b(_0x27e610),_0x2387c2&&_0x27e610['length']<_0x2387c2)throw Error(_0x33ba45(0x1b6)+_0x2387c2);return _0x3199b2(_0x458a2d[_0x33ba45(0x2db)]['length'],_0x55e9d7),_0x458a2d[_0x33ba45(0x2db)](_0x27e610,_0x55e9d7);}};}return Object[_0x203d9c(0x29a)](_0x5747f3,_0x404675),_0x5747f3;};function _0x51c0e7(_0x367d05,_0x156e09,_0x50374d=!0x0){const _0x2ee914=_0x33f14e;if(_0x156e09===void 0x0)return new Uint8Array(_0x367d05);if(_0x418b3b(_0x156e09,void 0x0,_0x2ee914(0xdc)),_0x156e09['length']!==_0x367d05)throw Error(_0x2ee914(0x106)+_0x367d05+',\x20got:\x20'+_0x156e09[_0x2ee914(0x251)]);if(_0x50374d&&!_0x1b8087(_0x156e09))throw Error(_0x2ee914(0x2a0));return _0x156e09;}function _0x1b8087(_0x32371a){const _0x4a5898=_0x33f14e;return _0x32371a[_0x4a5898(0x183)]%0x4==0x0;}function _0x56bb58(_0x289bde){const _0x1dd80f=_0x33f14e;return Uint8Array[_0x1dd80f(0x2ed)](_0x418b3b(_0x289bde));}function _0x30bfa2(_0x1ad07e=0x20){const _0x4f9649=_0x33f14e;_0x171b65(_0x1ad07e);let _0x283931=typeof globalThis==_0x4f9649(0x2d3)?globalThis[_0x4f9649(0x20f)]:null;if(typeof(_0x283931==null?void 0x0:_0x283931[_0x4f9649(0x21f)])!=_0x4f9649(0x1b7))throw Error(_0x4f9649(0x396));return _0x283931[_0x4f9649(0x21f)](new Uint8Array(_0x1ad07e));}function _0x263b43(_0x298449){const _0xcd6641=_0x33f14e;if(![0x10,0x18,0x20][_0xcd6641(0x1c3)](_0x298449[_0xcd6641(0x251)]))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x298449[_0xcd6641(0x251)]);}function _0x7874a8(_0x577b0b){return _0x577b0b<<0x1^0x11b&-(_0x577b0b>>0x7);}function _0x24fbde(_0x212551,_0x18063d){let _0x4b67ce=0x0;for(;_0x18063d>0x0;_0x18063d>>=0x1)_0x4b67ce^=_0x212551&-(_0x18063d&0x1),_0x212551=_0x7874a8(_0x212551);return _0x4b67ce;}let _0x495909=((()=>{let _0x3e3caa=new Uint8Array(0x100);for(let _0x54f60=0x0,_0x4eef10=0x1;_0x54f60<0x100;_0x54f60++,_0x4eef10^=_0x7874a8(_0x4eef10))_0x3e3caa[_0x54f60]=_0x4eef10;let _0x421b51=new Uint8Array(0x100);_0x421b51[0x0]=0x63;for(let _0x58fc00=0x0;_0x58fc00<0xff;_0x58fc00++){let _0x5b00b5=_0x3e3caa[0xff-_0x58fc00];_0x5b00b5|=_0x5b00b5<<0x8,_0x421b51[_0x3e3caa[_0x58fc00]]=(_0x5b00b5^_0x5b00b5>>0x4^_0x5b00b5>>0x5^_0x5b00b5>>0x6^_0x5b00b5>>0x7^0x63)&0xff;}return _0x311a9a(_0x3e3caa),_0x421b51;})()),_0x5e2e27=_0x495909['map']((_0x546269,_0x5e1ac3)=>_0x495909[_0x33f14e(0x156)](_0x5e1ac3)),_0x4b0eca=_0x49918e=>_0x49918e<<0x18|_0x49918e>>>0x8,_0x491c17=_0x43c8ca=>_0x43c8ca<<0x8|_0x43c8ca>>>0x18;function _0x448ea5(_0x551bbc,_0x5b4c3c){const _0x7f1941=_0x33f14e;if(_0x551bbc['length']!==0x100)throw Error(_0x7f1941(0x108));let _0xfef964=new Uint32Array(0x100)['map']((_0x445adf,_0x218df1)=>_0x5b4c3c(_0x551bbc[_0x218df1])),_0x38bbc7=_0xfef964['map'](_0x491c17),_0x13531e=_0x38bbc7[_0x7f1941(0x348)](_0x491c17),_0x3d3f91=_0x13531e[_0x7f1941(0x348)](_0x491c17),_0x5532c4=new Uint32Array(0x100*0x100),_0x49f37a=new Uint32Array(0x100*0x100),_0x2255a1=new Uint16Array(0x100*0x100);for(let _0x3b1ed2=0x0;_0x3b1ed2<0x100;_0x3b1ed2++)for(let _0x1294e3=0x0;_0x1294e3<0x100;_0x1294e3++){let _0x15b104=_0x3b1ed2*0x100+_0x1294e3;_0x5532c4[_0x15b104]=_0xfef964[_0x3b1ed2]^_0x38bbc7[_0x1294e3],_0x49f37a[_0x15b104]=_0x13531e[_0x3b1ed2]^_0x3d3f91[_0x1294e3],_0x2255a1[_0x15b104]=_0x551bbc[_0x3b1ed2]<<0x8|_0x551bbc[_0x1294e3];}return{'sbox':_0x551bbc,'sbox2':_0x2255a1,'T0':_0xfef964,'T1':_0x38bbc7,'T2':_0x13531e,'T3':_0x3d3f91,'T01':_0x5532c4,'T23':_0x49f37a};}let _0x293dbb=_0x448ea5(_0x495909,_0x2902ca=>_0x24fbde(_0x2902ca,0x3)<<0x18|_0x2902ca<<0x10|_0x2902ca<<0x8|_0x24fbde(_0x2902ca,0x2)),_0x537c10=_0x448ea5(_0x5e2e27,_0x4fc045=>_0x24fbde(_0x4fc045,0xb)<<0x18|_0x24fbde(_0x4fc045,0xd)<<0x10|_0x24fbde(_0x4fc045,0x9)<<0x8|_0x24fbde(_0x4fc045,0xe)),_0x226114=((()=>{let _0x486650=new Uint8Array(0x10);for(let _0x33e3a5=0x0,_0x1b7807=0x1;_0x33e3a5<0x10;_0x33e3a5++,_0x1b7807=_0x7874a8(_0x1b7807))_0x486650[_0x33e3a5]=_0x1b7807;return _0x486650;})());function _0x4a5a65(_0x3d745c){const _0x1e859b=_0x33f14e;_0x418b3b(_0x3d745c);let _0x403956=_0x3d745c[_0x1e859b(0x251)];_0x263b43(_0x3d745c);let {sbox2:_0x2c4c95}=_0x293dbb,_0x1d4b9c=[];(!_0x1c5baf||!_0x1b8087(_0x3d745c))&&_0x1d4b9c[_0x1e859b(0xf8)](_0x3d745c=_0x56bb58(_0x3d745c));let _0x5c829a=_0x59a6c3(_0x5d032b(_0x3d745c)),_0x37a2e6=_0x5c829a[_0x1e859b(0x251)],_0x543590=_0x34b1d7=>_0x301d15(_0x2c4c95,_0x34b1d7,_0x34b1d7,_0x34b1d7,_0x34b1d7),_0x13e2d4=new Uint32Array(_0x403956+0x1c);_0x13e2d4[_0x1e859b(0x269)](_0x5c829a);for(let _0x35ac1b=_0x37a2e6;_0x35ac1b<_0x13e2d4[_0x1e859b(0x251)];_0x35ac1b++){let _0x1dc5f3=_0x13e2d4[_0x35ac1b-0x1];_0x35ac1b%_0x37a2e6===0x0?_0x1dc5f3=_0x543590(_0x4b0eca(_0x1dc5f3))^_0x226114[_0x35ac1b/_0x37a2e6-0x1]:_0x37a2e6>0x6&&_0x35ac1b%_0x37a2e6===0x4&&(_0x1dc5f3=_0x543590(_0x1dc5f3)),_0x13e2d4[_0x35ac1b]=_0x13e2d4[_0x35ac1b-_0x37a2e6]^_0x1dc5f3;}return _0x311a9a(..._0x1d4b9c),_0x13e2d4;}function _0x5e6e06(_0x44ba81){const _0x4cb9f7=_0x33f14e;let _0x5488d8=_0x4a5a65(_0x44ba81),_0x257850=_0x5488d8[_0x4cb9f7(0x387)](),_0x4d07db=_0x5488d8[_0x4cb9f7(0x251)],{sbox2:_0x5af10f}=_0x293dbb,{T0:_0x4c0780,T1:_0x414836,T2:_0x45f2c6,T3:_0x32f55a}=_0x537c10;for(let _0x2efa85=0x0;_0x2efa85<_0x4d07db;_0x2efa85+=0x4)for(let _0x33058e=0x0;_0x33058e<0x4;_0x33058e++)_0x257850[_0x2efa85+_0x33058e]=_0x5488d8[_0x4d07db-_0x2efa85-0x4+_0x33058e];_0x311a9a(_0x5488d8);for(let _0x425e1e=0x4;_0x425e1e<_0x4d07db-0x4;_0x425e1e++){let _0x258925=_0x257850[_0x425e1e],_0x4608bb=_0x301d15(_0x5af10f,_0x258925,_0x258925,_0x258925,_0x258925);_0x257850[_0x425e1e]=_0x4c0780[_0x4608bb&0xff]^_0x414836[_0x4608bb>>>0x8&0xff]^_0x45f2c6[_0x4608bb>>>0x10&0xff]^_0x32f55a[_0x4608bb>>>0x18];}return _0x257850;}function _0x5ae9ae(_0x18e968,_0x4fd759,_0x5d09e9,_0x18dae6,_0x2a53de,_0x513859){return _0x18e968[_0x5d09e9<<0x8&0xff00|_0x18dae6>>>0x8&0xff]^_0x4fd759[_0x2a53de>>>0x8&0xff00|_0x513859>>>0x18&0xff];}function _0x301d15(_0x3c227e,_0x3e333e,_0x16a39e,_0x21c2ef,_0x59d8a6){return _0x3c227e[_0x3e333e&0xff|_0x16a39e&0xff00]|_0x3c227e[_0x21c2ef>>>0x10&0xff|_0x59d8a6>>>0x10&0xff00]<<0x10;}function _0xf92b88(_0x13ae07,_0x575ad1,_0xb899c5,_0x35f425,_0x497523){const _0x320f03=_0x33f14e;let {sbox2:_0x3a4246,T01:_0x299a77,T23:_0x4fe826}=_0x293dbb,_0x2cbd2f=0x0;_0x575ad1^=_0x13ae07[_0x2cbd2f++],_0xb899c5^=_0x13ae07[_0x2cbd2f++],_0x35f425^=_0x13ae07[_0x2cbd2f++],_0x497523^=_0x13ae07[_0x2cbd2f++];let _0x2e55b1=_0x13ae07[_0x320f03(0x251)]/0x4-0x2;for(let _0x481ea5=0x0;_0x481ea5<_0x2e55b1;_0x481ea5++){let _0x35afc3=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x575ad1,_0xb899c5,_0x35f425,_0x497523),_0x8ba60=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0xb899c5,_0x35f425,_0x497523,_0x575ad1),_0x2d4193=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x35f425,_0x497523,_0x575ad1,_0xb899c5),_0x116781=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x497523,_0x575ad1,_0xb899c5,_0x35f425);_0x575ad1=_0x35afc3,_0xb899c5=_0x8ba60,_0x35f425=_0x2d4193,_0x497523=_0x116781;}return{'s0':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x575ad1,_0xb899c5,_0x35f425,_0x497523),'s1':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0xb899c5,_0x35f425,_0x497523,_0x575ad1),'s2':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x35f425,_0x497523,_0x575ad1,_0xb899c5),'s3':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x497523,_0x575ad1,_0xb899c5,_0x35f425)};}function _0x4ee388(_0x31b5cb,_0x3a7a6e,_0x229913,_0x4d74dc,_0x197cc9){const _0x250ebe=_0x33f14e;let {sbox2:_0x130e04,T01:_0x3b26df,T23:_0x201c1d}=_0x537c10,_0x346e81=0x0;_0x3a7a6e^=_0x31b5cb[_0x346e81++],_0x229913^=_0x31b5cb[_0x346e81++],_0x4d74dc^=_0x31b5cb[_0x346e81++],_0x197cc9^=_0x31b5cb[_0x346e81++];let _0xfa28be=_0x31b5cb[_0x250ebe(0x251)]/0x4-0x2;for(let _0x43c988=0x0;_0x43c988<_0xfa28be;_0x43c988++){let _0x15b838=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x3a7a6e,_0x197cc9,_0x4d74dc,_0x229913),_0x268674=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x229913,_0x3a7a6e,_0x197cc9,_0x4d74dc),_0x4e467e=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x4d74dc,_0x229913,_0x3a7a6e,_0x197cc9),_0x1d2882=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x197cc9,_0x4d74dc,_0x229913,_0x3a7a6e);_0x3a7a6e=_0x15b838,_0x229913=_0x268674,_0x4d74dc=_0x4e467e,_0x197cc9=_0x1d2882;}return{'s0':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x3a7a6e,_0x197cc9,_0x4d74dc,_0x229913),'s1':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x229913,_0x3a7a6e,_0x197cc9,_0x4d74dc),'s2':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x4d74dc,_0x229913,_0x3a7a6e,_0x197cc9),'s3':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x197cc9,_0x4d74dc,_0x229913,_0x3a7a6e)};}function _0x15d332(_0x2f48b3){const _0x46a9ac=_0x33f14e;if(_0x418b3b(_0x2f48b3),_0x2f48b3[_0x46a9ac(0x251)]%0x10!=0x0)throw Error(_0x46a9ac(0x143));}function _0x13fc6d(_0x156192,_0x212419,_0x141c0b){const _0x279107=_0x33f14e;_0x418b3b(_0x156192);let _0x3ae676=_0x156192['length'],_0x550ba0=_0x3ae676%0x10;if(!_0x212419&&_0x550ba0!==0x0)throw Error(_0x279107(0x1ab));if(_0x212419){let _0x4b9502=0x10-_0x550ba0;_0x4b9502||(_0x4b9502=0x10),_0x3ae676+=_0x4b9502;}_0x141c0b=_0x51c0e7(_0x3ae676,_0x141c0b),_0x1d2b3a(_0x156192,_0x141c0b),(!_0x1c5baf||!_0x1b8087(_0x156192))&&(_0x156192=_0x56bb58(_0x156192));let _0x383ee8=_0x5d032b(_0x156192);return _0x59a6c3(_0x383ee8),{'b':_0x383ee8,'o':_0x5d032b(_0x141c0b),'out':_0x141c0b};}function _0x102e62(_0x2c4f3f,_0x153cd5){const _0x52c7e2=_0x33f14e;if(!_0x153cd5)return _0x2c4f3f;let _0x3f34b6=_0x2c4f3f[_0x52c7e2(0x251)];if(_0x3f34b6===0x0)throw Error(_0x52c7e2(0x264));let _0x23eac7=_0x2c4f3f[_0x3f34b6-0x1],_0x1be472=0x1;_0x1be472&=_0x23eac7-0x1>>>0x1f^0x1,_0x1be472&=0x10-_0x23eac7>>>0x1f^0x1;for(let _0x546177=0x0;_0x546177<0x10;_0x546177++){let _0xe32456=_0x546177-_0x23eac7>>>0x1f,_0x5f3eea=+((_0x2c4f3f[_0x3f34b6-0x1-_0x546177]^_0x23eac7)===0x0);_0x1be472&=_0x5f3eea|_0xe32456^0x1;}if(!_0x1be472)throw Error(_0x52c7e2(0x2c9));return _0x2c4f3f['subarray'](0x0,_0x3f34b6-_0x23eac7);}function _0x22e445(_0x41458f){const _0x173412=_0x33f14e;let _0xa46640=new Uint8Array(0x10),_0x34e45c=_0x5d032b(_0xa46640);_0xa46640[_0x173412(0x269)](_0x41458f);let _0xbc85b4=0x10-_0x41458f['length'];for(let _0x3d8687=0x10-_0xbc85b4;_0x3d8687<0x10;_0x3d8687++)_0xa46640[_0x3d8687]=_0xbc85b4;return _0x34e45c;}let _0x465838=_0x556cc6({'blockSize':0x10,'nonceLength':0x10},function(_0x1f7dfb,_0x18db80,_0x4901df={}){const _0x5be868=_0x33f14e;let _0x1a626c=!_0x4901df[_0x5be868(0x18a)];return{'encrypt'(_0x2f02aa,_0x476343){const _0x1267af=_0x5be868;let _0x191020=_0x4a5a65(_0x1f7dfb),{b:_0xd08573,o:_0x23f4ca,out:_0x1b7b68}=_0x13fc6d(_0x2f02aa,_0x1a626c,_0x476343),_0x545f79=_0x18db80,_0x283e4b=[_0x191020];(!_0x1c5baf||!_0x1b8087(_0x545f79))&&_0x283e4b[_0x1267af(0xf8)](_0x545f79=_0x56bb58(_0x545f79));let _0x444534=_0x5d032b(_0x545f79);_0x59a6c3(_0x444534);let _0x2a9841=_0x444534[0x0],_0x287266=_0x444534[0x1],_0x30fa47=_0x444534[0x2],_0x18e725=_0x444534[0x3],_0x2165d9=0x0;for(;_0x2165d9+0x4<=_0xd08573['length'];)_0x2a9841^=_0xd08573[_0x2165d9+0x0],_0x287266^=_0xd08573[_0x2165d9+0x1],_0x30fa47^=_0xd08573[_0x2165d9+0x2],_0x18e725^=_0xd08573[_0x2165d9+0x3],{s0:_0x2a9841,s1:_0x287266,s2:_0x30fa47,s3:_0x18e725}=_0xf92b88(_0x191020,_0x2a9841,_0x287266,_0x30fa47,_0x18e725),_0x23f4ca[_0x2165d9++]=_0x2a9841,_0x23f4ca[_0x2165d9++]=_0x287266,_0x23f4ca[_0x2165d9++]=_0x30fa47,_0x23f4ca[_0x2165d9++]=_0x18e725;if(_0x1a626c){let _0x411d31=_0x22e445(_0x2f02aa[_0x1267af(0x180)](_0x2165d9*0x4));_0x59a6c3(_0x411d31),_0x2a9841^=_0x411d31[0x0],_0x287266^=_0x411d31[0x1],_0x30fa47^=_0x411d31[0x2],_0x18e725^=_0x411d31[0x3],{s0:_0x2a9841,s1:_0x287266,s2:_0x30fa47,s3:_0x18e725}=_0xf92b88(_0x191020,_0x2a9841,_0x287266,_0x30fa47,_0x18e725),_0x23f4ca[_0x2165d9++]=_0x2a9841,_0x23f4ca[_0x2165d9++]=_0x287266,_0x23f4ca[_0x2165d9++]=_0x30fa47,_0x23f4ca[_0x2165d9++]=_0x18e725;}return _0x59a6c3(_0x23f4ca),_0x311a9a(..._0x283e4b),_0x1b7b68;},'decrypt'(_0x35814a,_0x5d9dc7){const _0x54fa12=_0x5be868;_0x15d332(_0x35814a);let _0x1fafa6=_0x5e6e06(_0x1f7dfb),_0x41d5d1=_0x18db80,_0x24db72=[_0x1fafa6];(!_0x1c5baf||!_0x1b8087(_0x41d5d1))&&_0x24db72[_0x54fa12(0xf8)](_0x41d5d1=_0x56bb58(_0x41d5d1));let _0x848ff1=_0x5d032b(_0x41d5d1);_0x59a6c3(_0x848ff1),_0x5d9dc7=_0x51c0e7(_0x35814a[_0x54fa12(0x251)],_0x5d9dc7),_0x1d2b3a(_0x35814a,_0x5d9dc7),(!_0x1c5baf||!_0x1b8087(_0x35814a))&&_0x24db72[_0x54fa12(0xf8)](_0x35814a=_0x56bb58(_0x35814a));let _0x45a8da=_0x5d032b(_0x35814a),_0x4870af=_0x5d032b(_0x5d9dc7);_0x59a6c3(_0x45a8da);let _0x11e068=_0x848ff1[0x0],_0x349435=_0x848ff1[0x1],_0x4e5b84=_0x848ff1[0x2],_0x1ec6cb=_0x848ff1[0x3];for(let _0x51008c=0x0;_0x51008c+0x4<=_0x45a8da['length'];){let _0x40773d=_0x11e068,_0x56ba4b=_0x349435,_0x5a432a=_0x4e5b84,_0x4c6094=_0x1ec6cb;_0x11e068=_0x45a8da[_0x51008c+0x0],_0x349435=_0x45a8da[_0x51008c+0x1],_0x4e5b84=_0x45a8da[_0x51008c+0x2],_0x1ec6cb=_0x45a8da[_0x51008c+0x3];let {s0:_0x4c3bfe,s1:_0x43133c,s2:_0x2702cb,s3:_0x360435}=_0x4ee388(_0x1fafa6,_0x11e068,_0x349435,_0x4e5b84,_0x1ec6cb);_0x4870af[_0x51008c++]=_0x4c3bfe^_0x40773d,_0x4870af[_0x51008c++]=_0x43133c^_0x56ba4b,_0x4870af[_0x51008c++]=_0x2702cb^_0x5a432a,_0x4870af[_0x51008c++]=_0x360435^_0x4c6094;}return _0x59a6c3(_0x4870af),_0x311a9a(..._0x24db72),_0x102e62(_0x5d9dc7,_0x1a626c);}};});function _0x4e67f5(_0x231652){const _0x301c48=_0x33f14e;let _0x285e77=atob(_0x231652),_0x58de81=new Uint8Array(_0x285e77[_0x301c48(0x251)]);for(let _0x272039=0x0;_0x272039<_0x285e77['length'];_0x272039++)_0x58de81[_0x272039]=_0x285e77['charCodeAt'](_0x272039);return _0x58de81;}function _0x514985(_0x36c30d){const _0x43d24c=_0x33f14e;let _0x14c376='';for(let _0x3021be=0x0;_0x3021be<_0x36c30d[_0x43d24c(0x251)];_0x3021be++)_0x14c376+=String[_0x43d24c(0x268)](_0x36c30d[_0x3021be]);return btoa(_0x14c376);}function _0x475c8c(_0x458b50,_0x463484){const _0xe92f92=_0x33f14e;let _0x29039a=_0x4e67f5(_0x463484),_0x53af98=_0x30bfa2(0x10);return _0x514985(_0x2c1cf3(_0x53af98,_0x465838(_0x29039a,_0x53af98)[_0xe92f92(0xd2)](_0x46c12c(_0x458b50))));}function _0x3c2bb1(){const _0x1f4e96=_0x33f14e;let _0x48026a=(0x0,_0x5f2569[_0x1f4e96(0x13f)])()['__Key__'];if(typeof window<'u'&&window[_0x1f4e96(0x226)]!==void 0x0&&_0x48026a){let _0x20b244={'time':Math['floor'](Date[_0x1f4e96(0x11f)]()/0x3e8),'domain':location[_0x1f4e96(0x331)]};return _0x475c8c(JSON[_0x1f4e96(0x121)](_0x20b244),_0x48026a);}}let _0x13c7f3=class{constructor(_0x22a4d1){const _0x5d716a=_0x33f14e;this[_0x5d716a(0x1b1)]=_0x22a4d1,this[_0x5d716a(0x390)]();}[_0x33f14e(0x390)](){const _0x4ef6a9=_0x33f14e;this[_0x4ef6a9(0x1b1)][_0x4ef6a9(0x3c4)]({'interceptor':(_0x2e936a,_0x3fe226)=>{const _0x632780=_0x4ef6a9;let _0x3919d9=_0x3c2bb1();return _0x3919d9&&_0x2e936a[_0x632780(0x144)]['set'](_0x632780(0x293),_0x3919d9),_0x3fe226(_0x2e936a);}});}};_0x13c7f3=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x13c7f3);let _0x123c3d=class extends _0x305d10[_0x33f14e(0x15a)]{constructor(_0x35673d,_0x4975a0,_0x5a5731){const _0x59f9b1=_0x33f14e;super(),this['_logService']=_0x35673d,this['_snapshotService']=_0x4975a0,this['_localCacheService']=_0x5a5731,_0x816778(this,_0x59f9b1(0x14f),new _0x247d93['BehaviorSubject'](null)),_0x816778(this,_0x59f9b1(0x2fc),this[_0x59f9b1(0x14f)]['asObservable']());}async['loadUnitOfRevision'](_0x44bd2c,_0x5166c4,_0x2e8b5a){const _0x154ac0=_0x33f14e;this[_0x154ac0(0x14f)][_0x154ac0(0x300)]({'unitId':_0x44bd2c,'type':_0x5166c4});let _0x516a5d=null;switch(_0x5166c4){case _0x305d10[_0x154ac0(0x1c6)][_0x154ac0(0x22a)]:_0x516a5d=await this[_0x154ac0(0xc9)][_0x154ac0(0x2d8)](_0x44bd2c,_0x2e8b5a);break;case _0x305d10[_0x154ac0(0x1c6)][_0x154ac0(0x26e)]:_0x516a5d=await this[_0x154ac0(0xc9)]['loadDoc'](_0x44bd2c,_0x2e8b5a);break;default:this[_0x154ac0(0x356)][_0x154ac0(0x15f)]('[DataLoaderService]',_0x154ac0(0x116));break;}return _0x516a5d;}async[_0x33f14e(0x321)](_0x286e24,_0x50bc54,_0x7a3b7b){const _0x172b05=_0x33f14e;var _0x5db8ee;this['_unitInfo$'][_0x172b05(0x300)]({'unitId':_0x286e24,'type':_0x50bc54,'subUnitId':_0x7a3b7b});let _0xd34f5e=0x0,_0x25d94b=await((_0x5db8ee=this['_localCacheService'])==null?void 0x0:_0x5db8ee[_0x172b05(0x298)](_0x286e24));return _0x25d94b&&(_0x25d94b['awaitingChangeset']||_0x25d94b[_0x172b05(0x316)]['length']!==0x0)&&(_0xd34f5e=_0x25d94b[_0x172b05(0x123)]),_0xd34f5e===0x0&&this[_0x172b05(0x356)][_0x172b05(0x31a)](_0x172b05(0x21d),_0x172b05(0x376)),this[_0x172b05(0x13c)](_0x286e24,_0x50bc54,_0xd34f5e);}};_0x123c3d=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x1,(0x0,_0x305d10['Inject'])(_0x540a4f['SnapshotService'])),_0xf01086(0x2,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x123c3d);let _0x357175=class{constructor(_0x40c8b3,_0x5eb094,_0x4dff0b){const _0x1b8d2b=_0x33f14e;this[_0x1b8d2b(0x1b1)]=_0x40c8b3,this[_0x1b8d2b(0x333)]=_0x5eb094,this[_0x1b8d2b(0x35b)]=_0x4dff0b,_0x816778(this,_0x1b8d2b(0x1a1),0x0),_0x816778(this,_0x1b8d2b(0x18b),new _0x247d93['Subject']()),_0x816778(this,'change$',this[_0x1b8d2b(0x18b)]),_0x816778(this,'_imageSourceCache',new Map());}['setWaitCount'](_0x20bfe3){const _0x5f558e=_0x33f14e;this[_0x5f558e(0x1a1)]=_0x20bfe3,this['_change$'][_0x5f558e(0x300)](_0x20bfe3);}['getImageSourceCache'](_0x59429a,_0x3313fd){const _0x384c5c=_0x33f14e;if(_0x3313fd===_0x5452c7['ImageSourceType'][_0x384c5c(0x274)]){let _0x4288a6=new Image();return _0x4288a6['src']=_0x59429a,_0x4288a6;}return this[_0x384c5c(0x2b3)][_0x384c5c(0x1a5)](_0x59429a);}[_0x33f14e(0x13b)](_0x2e7553,_0x1f3157,_0xaf494a){const _0x1c6b26=_0x33f14e;_0x1f3157===_0x5452c7[_0x1c6b26(0x185)][_0x1c6b26(0x274)]||_0xaf494a==null||this[_0x1c6b26(0x2b3)][_0x1c6b26(0x269)](_0x2e7553,_0xaf494a);}async['getImage'](_0x226330){const _0x5b6281=_0x33f14e;try{let _0x2d106f=this[_0x5b6281(0x136)](this[_0x5b6281(0x323)](),''+_0x226330),_0x4a0622=(await this[_0x5b6281(0x1b1)][_0x5b6281(0x1a5)](_0x2d106f))['body'];if(_0x4a0622[_0x5b6281(0x15f)]&&_0x4a0622['error'][_0x5b6281(0x361)]===_0x54f861[_0x5b6281(0x2c2)]['OK']){let _0x48b7cd=(0x0,_0x305d10[_0x5b6281(0x193)])(_0x4a0622['url'],this['_getDownloadEndpointURL']());return Promise[_0x5b6281(0x388)](_0x48b7cd);}return Promise[_0x5b6281(0x22c)](_0x4a0622['error']);}catch(_0x53d195){return Promise[_0x5b6281(0x22c)](_0x53d195);}}async[_0x33f14e(0x252)](_0x21b4a1){const _0x2bfaab=_0x33f14e;let _0x5914a5='';if(!_0x5452c7[_0x2bfaab(0xf0)][_0x2bfaab(0x1c3)](_0x21b4a1['type']))return this[_0x2bfaab(0x211)](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x17f)]));if(_0x21b4a1[_0x2bfaab(0xe1)]>(0x0,_0x5452c7[_0x2bfaab(0x336)])())return this[_0x2bfaab(0x211)](),Promise[_0x2bfaab(0x22c)](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x339)]));try{let _0x4ce27b=new FormData();_0x4ce27b[_0x2bfaab(0x140)](_0x2bfaab(0x1a9),_0x21b4a1);let _0xc80d1a=this[_0x2bfaab(0x35b)][_0x2bfaab(0x2a8)](),_0x44f53e=_0xc80d1a==null?void 0x0:_0xc80d1a[_0x2bfaab(0x1e7)]();if(!_0x44f53e)throw Error(_0x2bfaab(0x3aa));let _0x487179=this[_0x2bfaab(0x10b)]()+_0x2bfaab(0x36f)+_0x21b4a1[_0x2bfaab(0xe1)][_0x2bfaab(0x2e7)]()+_0x2bfaab(0xeb)+_0x54f861[_0x2bfaab(0x1fa)][_0x2bfaab(0x374)]+_0x2bfaab(0x36a)+encodeURIComponent(_0x44f53e),_0x5e10e1={'body':_0x4ce27b},_0x28ed42=(await this[_0x2bfaab(0x1b1)]['post'](_0x487179,_0x5e10e1))[_0x2bfaab(0x29f)];if(typeof _0x28ed42['FileId']!=_0x2bfaab(0x137))return this[_0x2bfaab(0x211)](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)]['ERROR_IMAGE']));_0x5914a5=_0x28ed42[_0x2bfaab(0x3ac)];}catch{return this['_decreaseWaiting'](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x105)]));}return new Promise((_0x327bea,_0xd355f2)=>{const _0x3c08a5=_0x2bfaab;let _0x586eba=new FileReader();_0x586eba[_0x3c08a5(0x28a)](_0x21b4a1),_0x586eba[_0x3c08a5(0x2d2)]=_0x39d348=>{const _0xba81e4=_0x3c08a5;var _0x1b98d0;let _0x203f03=(_0x1b98d0=_0x39d348[_0xba81e4(0x27a)])==null?void 0x0:_0x1b98d0['result'];if(_0x203f03==null){this[_0xba81e4(0x211)](),_0xd355f2(Error(_0x5452c7[_0xba81e4(0x3ba)][_0xba81e4(0x105)]));return;}_0x327bea({'imageId':(0x0,_0x305d10['generateRandomId'])(0x6),'imageSourceType':_0x5452c7[_0xba81e4(0x185)][_0xba81e4(0x1a0)],'source':_0x5914a5,'base64Cache':_0x203f03,'status':_0x5452c7[_0xba81e4(0x3ba)][_0xba81e4(0x29c)]}),this[_0xba81e4(0x211)]();};});}[_0x33f14e(0x10b)](){const _0x45c4da=_0x33f14e;var _0x29b74e;let _0x5d9f2a=this[_0x45c4da(0x333)][_0x45c4da(0x328)](_0x1cf9ab);return(_0x29b74e=_0x5d9f2a==null?void 0x0:_0x5d9f2a[_0x45c4da(0x33e)])==null?_0x45c4da(0x223):_0x29b74e;}[_0x33f14e(0x323)](){const _0x43c7af=_0x33f14e;var _0x5ea814;let _0x57c241=this['_configService']['getConfig'](_0x1cf9ab);return(_0x5ea814=_0x57c241==null?void 0x0:_0x57c241[_0x43c7af(0x1ce)])==null?_0x43c7af(0x1c1):_0x5ea814;}[_0x33f14e(0x36b)](){const _0x27d78d=_0x33f14e;var _0x299653;let _0x13e6c0=this[_0x27d78d(0x333)][_0x27d78d(0x328)](_0x1cf9ab);return(_0x299653=_0x13e6c0==null?void 0x0:_0x13e6c0['downloadEndpointUrl'])==null?location['origin']:_0x299653;}[_0x33f14e(0x136)](_0x1ff2a0,_0x3cbbf4){const _0x1119be=_0x33f14e;return _0x1ff2a0[_0x1119be(0xce)](_0x1119be(0x1d3),_0x3cbbf4);}['_decreaseWaiting'](){const _0x5fcd86=_0x33f14e;--this[_0x5fcd86(0x1a1)],this['_change$'][_0x5fcd86(0x300)](this[_0x5fcd86(0x1a1)]);}};_0x357175=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5['HTTPService'])),_0xf01086(0x1,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['IUniverInstanceService']))],_0x357175);let _0x422fbe=class{constructor(_0x28428e,_0x106a8e){const _0x2f9cc9=_0x33f14e;this[_0x2f9cc9(0x333)]=_0x28428e,this[_0x2f9cc9(0x15c)]=_0x106a8e;}[_0x33f14e(0x11c)](){const _0x7a6c92=_0x33f14e;var _0x542a3b;let _0x2228fa=this['_configService'][_0x7a6c92(0x328)](_0x1cf9ab);return(_0x542a3b=_0x2228fa==null?void 0x0:_0x2228fa[_0x7a6c92(0x3bc)])==null?_0x7a6c92(0x384):_0x542a3b;}async[_0x33f14e(0x1e3)](_0x3f7deb){const _0x1c8dd3=_0x33f14e;let _0x29200b=this[_0x1c8dd3(0x11c)]()+_0x1c8dd3(0x312);return{'list':[{'title':_0x1c8dd3(0x14b),'mentions':(await this[_0x1c8dd3(0x15c)][_0x1c8dd3(0x1a5)](_0x29200b,{'params':{'objectID':_0x3f7deb[_0x1c8dd3(0x34f)],'unitID':_0x3f7deb[_0x1c8dd3(0x34f)]}}))['body'][_0x1c8dd3(0x26c)]['map'](_0x53aee7=>({'objectId':_0x53aee7['id'],'name':_0x53aee7[_0x1c8dd3(0x364)]['name'],'metadata':{'icon':_0x53aee7[_0x1c8dd3(0x364)][_0x1c8dd3(0x329)]},'label':_0x53aee7[_0x1c8dd3(0x364)][_0x1c8dd3(0x241)],'objectType':_0x305d10[_0x1c8dd3(0x146)][_0x1c8dd3(0x1eb)]})),'metadata':{},'type':_0x305d10[_0x1c8dd3(0x146)][_0x1c8dd3(0x1eb)]}]};}};_0x422fbe=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['IConfigService'])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x422fbe);let _0xe87828=class extends _0x305d10['RxDisposable']{constructor(_0x4e337d,_0x3d4281,_0x20736a,_0x5ddcb5,_0x56edf5){const _0x42a37d=_0x33f14e;super(),this['_injector']=_0x4e337d,this[_0x42a37d(0x35b)]=_0x3d4281,this[_0x42a37d(0x27e)]=_0x20736a,this['_collaborationSessionService']=_0x5ddcb5,this[_0x42a37d(0x17e)]=_0x56edf5,this[_0x42a37d(0x245)](),this[_0x42a37d(0x135)]();}['_initCloseConn'](){const _0x24f8f3=_0x33f14e;let _0x2a7826=async _0x33de4a=>{const _0x2bfbee=_0x1555;(await this['_collaborationSessionService'][_0x2bfbee(0x1ee)](_0x33de4a))[_0x2bfbee(0x1b0)][_0x2bfbee(0x2a9)]((0x0,_0x38623c[_0x2bfbee(0x306)])(_0x13c197=>_0x13c197[_0x2bfbee(0x2b4)]===_0x540a4f[_0x2bfbee(0x38c)]['SHOULD_CLOSE_CONN']),(0x0,_0x38623c[_0x2bfbee(0x1f5)])(this[_0x2bfbee(0x26d)]))[_0x2bfbee(0x305)](_0x1c3730=>{const _0x547324=_0x2bfbee;let {reason:_0x18bd97}=_0x1c3730[_0x547324(0x23d)];this[_0x547324(0x17e)][_0x547324(0x118)]({'id':_0x547324(0x261),'data':_0x18bd97}),this[_0x547324(0x27e)][_0x547324(0x378)](new _0x2b86ea[(_0x547324(0xef))](_0x33de4a)['id'],!0x1),this[_0x547324(0x2d0)][_0x547324(0x375)](_0x33de4a);});};(0x0,_0x247d93[_0x24f8f3(0xff)])(this[_0x24f8f3(0x35b)][_0x24f8f3(0xc5)](_0x305d10[_0x24f8f3(0x1c6)][_0x24f8f3(0x22a)]),this['_univerInstanceService'][_0x24f8f3(0xc5)](_0x305d10[_0x24f8f3(0x1c6)][_0x24f8f3(0x26e)]))[_0x24f8f3(0x2a9)]((0x0,_0x38623c[_0x24f8f3(0x348)])(_0x32ace0=>_0x32ace0[_0x24f8f3(0x265)]['getUnitId']()),(0x0,_0x38623c['filter'])(_0x1150ae=>!(0x0,_0x305d10[_0x24f8f3(0x337)])(_0x1150ae)),(0x0,_0x38623c['takeUntil'])(this['dispose$']))[_0x24f8f3(0x305)](_0x1292ac=>{_0x2a7826(_0x1292ac);});}['_initUnitPermissionChange'](){const _0x4df211=_0x33f14e;let _0x1280ea=async _0xdda5a1=>{const _0x2c1839=_0x1555;let _0x4f3350=await this['_collaborationSessionService'][_0x2c1839(0x1ee)](_0xdda5a1),_0x2d7dfb=this[_0x2c1839(0x1c7)][_0x2c1839(0x1a5)](_0x2b86ea[_0x2c1839(0x126)]);_0x4f3350['event$'][_0x2c1839(0x2a9)]((0x0,_0x38623c['filter'])(_0x607d2b=>_0x607d2b[_0x2c1839(0x2b4)]===_0x540a4f[_0x2c1839(0x38c)][_0x2c1839(0x272)]),(0x0,_0x38623c[_0x2c1839(0x1f5)])(this[_0x2c1839(0x26d)]))[_0x2c1839(0x305)](_0xdaf02d=>{const _0x53ff3a=_0x2c1839;let {objectId:_0x17fdda}=_0xdaf02d[_0x53ff3a(0x23d)];_0x17fdda===_0xdda5a1?_0x2d7dfb['initWorkbookPermissionChange'](_0xdda5a1):_0x2d7dfb['refreshPermission'](_0xdda5a1,_0x17fdda);});};(0x0,_0x247d93[_0x4df211(0xff)])(this[_0x4df211(0x35b)][_0x4df211(0xc5)](_0x305d10[_0x4df211(0x1c6)][_0x4df211(0x22a)]))['pipe']((0x0,_0x38623c[_0x4df211(0x348)])(_0x2b4163=>_0x2b4163[_0x4df211(0x265)][_0x4df211(0x1e7)]()),(0x0,_0x38623c[_0x4df211(0x306)])(_0x20b8b0=>!(0x0,_0x305d10[_0x4df211(0x337)])(_0x20b8b0)),(0x0,_0x38623c[_0x4df211(0x1f5)])(this['dispose$']))[_0x4df211(0x305)](_0x5bd506=>{_0x1280ea(_0x5bd506);});}};_0xe87828=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x1,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x258abc)),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696))],_0xe87828);let _0x1e5545=class{constructor(_0x1ece95,_0x4b593d){this['_configService']=_0x1ece95,this['_httpService']=_0x4b593d;}async[_0x33f14e(0xba)](_0x5b48a1,_0x59e732){const _0x136f4a=_0x33f14e;var _0x281174;let {unitID:_0xccf641,type:_0x12681a,revision:_0x50a20e=0x0}=_0x59e732,_0x35604f=this[_0x136f4a(0x367)]()+'/'+_0x12681a+_0x136f4a(0x10f)+_0xccf641+_0x136f4a(0x1cf)+_0x50a20e,_0x59392b=(await this[_0x136f4a(0x1b1)][_0x136f4a(0x1a5)](_0x35604f))[_0x136f4a(0x29f)],_0xd6a3c7=(_0x281174=_0x59392b[_0x136f4a(0x1f0)])==null?void 0x0:_0x281174[_0x136f4a(0x27b)];if(_0xd6a3c7){let _0x14e4c1=_0xd6a3c7==null?void 0x0:_0xd6a3c7['originalMeta'];_0xd6a3c7[_0x136f4a(0x386)]=_0x540a4f[_0x136f4a(0x19e)][_0x136f4a(0x10c)]((0x0,_0x540a4f[_0x136f4a(0x2ce)])(_0x14e4c1)),Object[_0x136f4a(0xb4)](_0xd6a3c7['sheets'])[_0x136f4a(0x1fc)](([,_0x1a3fd7])=>{const _0x46bc2b=_0x136f4a;let _0x2db636=_0x1a3fd7['originalMeta'];_0x1a3fd7[_0x46bc2b(0x386)]=_0x540a4f['textEncoder'][_0x46bc2b(0x10c)]((0x0,_0x540a4f[_0x46bc2b(0x2ce)])(_0x2db636));});}return _0x59392b;}async['getSheetBlock'](_0x3cdde2,_0x50466a){const _0x3e6fff=_0x33f14e;let {unitID:_0x57d434,type:_0x586cf4,blockID:_0x3c6fd0}=_0x50466a,_0x529cf2=this['_getAPIPrefix']()+'/'+_0x586cf4+'/unit/'+_0x57d434+_0x3e6fff(0x11a)+_0x3c6fd0;return(await this['_httpService'][_0x3e6fff(0x1a5)](_0x529cf2))[_0x3e6fff(0x29f)];}async['getDeserializedSheetBlock'](_0x2bb729,_0x15ee32){const _0x33dcc0=_0x33f14e;let {unitID:_0x4630a9,type:_0x5ca07d,blockID:_0x5667ce}=_0x15ee32,_0x375197=this[_0x33dcc0(0x280)]()+_0x33dcc0(0x11a)+_0x5ca07d+'/unit/'+_0x4630a9+_0x33dcc0(0x11a)+_0x5667ce;return(await this[_0x33dcc0(0x1b1)][_0x33dcc0(0x1a5)](_0x375197))[_0x33dcc0(0x29f)];}async[_0x33f14e(0xea)](_0x460947,_0x2dc1f9){const _0xbe782=_0x33f14e;let {unitID:_0xbd1504,type:_0x4ed046,from:_0x3a5e91,to:_0x228268}=_0x2dc1f9,_0x3572b9=this['_getAPIPrefix']()+'/'+_0x4ed046+_0xbe782(0x10f)+_0xbd1504+_0xbe782(0x1ca)+_0x3a5e91+_0xbe782(0x284)+_0x228268;return(await this[_0xbe782(0x1b1)][_0xbe782(0x1a5)](_0x3572b9))[_0xbe782(0x29f)];}['getSnapshotAPIPath'](){const _0x1fe3aa=_0x33f14e;var _0x52315b;return(_0x52315b=this[_0x1fe3aa(0x333)][_0x1fe3aa(0x328)](_0x1fe3aa(0x133)))==null?this[_0x1fe3aa(0x280)]():_0x52315b;}[_0x33f14e(0x280)](){const _0x279f08=_0x33f14e;var _0x34a89f;let _0x177782=this['_configService'][_0x279f08(0x328)](_0x1cf9ab);return(_0x34a89f=_0x177782==null?void 0x0:_0x177782[_0x279f08(0x17d)])==null?_0x279f08(0x1b8):_0x34a89f;}async['getResourcesRequest'](_0x5275c0,_0x265330){const _0x433aab=_0x33f14e;let _0x4396df=_0x433aab(0x30b)+_0x265330[_0x433aab(0x1aa)]+_0x433aab(0x10f)+_0x265330[_0x433aab(0x37e)]+_0x433aab(0x360);return(await this[_0x433aab(0x1b1)]['get'](_0x4396df,{'params':{'resourceId':JSON[_0x433aab(0x121)](_0x265330[_0x433aab(0x1bc)])}}))[_0x433aab(0x29f)];}[_0x33f14e(0x39b)](){const _0x321541=_0x33f14e;throw Error(_0x321541(0x39d));}[_0x33f14e(0x353)](){const _0x649a62=_0x33f14e;throw Error(_0x649a62(0x39d));}[_0x33f14e(0x314)](){const _0x16bb84=_0x33f14e;throw Error(_0x16bb84(0x39d));}[_0x33f14e(0xc8)](){const _0x412ee8=_0x33f14e;throw Error(_0x412ee8(0x39d));}[_0x33f14e(0x142)](){const _0x19fa8f=_0x33f14e;throw Error(_0x19fa8f(0x39d));}[_0x33f14e(0x1c4)](){const _0x5be01a=_0x33f14e;throw Error(_0x5be01a(0x39d));}};_0x1e5545=_0x47fc4c([_0xf01086(0x0,_0x305d10['IConfigService']),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x1e5545);let _0x15e3f7=class extends _0x305d10['LocalUndoRedoService']{constructor(_0x38b3b3,_0x1bf350,_0x1c892b,_0x2102b2,_0x58b651){super(_0x38b3b3,_0x1bf350,_0x1c892b),this['_transformService']=_0x2102b2,this['_logService']=_0x58b651;}[_0x33f14e(0xf1)](_0x239a59,_0x5d05ea){const _0x53196b=_0x33f14e;let _0x58815f=this[_0x53196b(0x19a)](_0x239a59);if(_0x58815f)try{let _0x4932c3=this[_0x53196b(0x194)](_0x58815f,_0x5d05ea);this[_0x53196b(0xfe)](_0x239a59,_0x4932c3);}catch(_0x2a493f){this[_0x53196b(0x356)][_0x53196b(0x15f)](_0x53196b(0x169),_0x2a493f),this[_0x53196b(0x1ba)](_0x239a59);}let _0x2e9f73=this['_getRedoStack'](_0x239a59);if(_0x2e9f73)try{let _0x348e0e=this[_0x53196b(0x194)](_0x2e9f73,_0x5d05ea);this[_0x53196b(0x1fe)](_0x239a59,_0x348e0e);}catch(_0x4f2302){this['_logService']['error'](_0x4f2302),this[_0x53196b(0x1e4)](_0x239a59);}}[_0x33f14e(0x1ba)](_0x324c21){const _0x245f69=_0x33f14e;let _0x1152cb=this[_0x245f69(0x19a)](_0x324c21);_0x1152cb&&(_0x1152cb[_0x245f69(0x251)]=0x0,this[_0x245f69(0x2a6)]());}[_0x33f14e(0x1e4)](_0x12ec01){const _0x5ad3e4=_0x33f14e;let _0x479218=this[_0x5ad3e4(0xae)](_0x12ec01);_0x479218&&(_0x479218[_0x5ad3e4(0x251)]=0x0,this['_updateStatus']());}[_0x33f14e(0xfe)](_0x1841c7,_0x5408a8){const _0x296419=_0x33f14e;this[_0x296419(0x2bd)][_0x296419(0x269)](_0x1841c7,_0x5408a8),this[_0x296419(0x2a6)]();}[_0x33f14e(0x1fe)](_0x1f060c,_0x3661eb){const _0x1013fd=_0x33f14e;this['_redoStacks'][_0x1013fd(0x269)](_0x1f060c,_0x3661eb),this[_0x1013fd(0x2a6)]();}[_0x33f14e(0x194)](_0x24cbe4,_0x184dc6){const _0xca9fc8=_0x33f14e;let _0x540d23=[],_0x3c739f=_0x184dc6,_0x3b35ac=_0x184dc6;for(let _0x1c72b6=_0x24cbe4[_0xca9fc8(0x251)]-0x1;_0x1c72b6>=0x0;_0x1c72b6--){let {unitID:_0x2d2a38,undoMutations:_0x2850f1,redoMutations:_0x28b70a}=_0x24cbe4[_0x1c72b6],_0xc00b76=this[_0xca9fc8(0x15e)][_0xca9fc8(0x141)](_0x3c739f,_0x2850f1),_0x2552ea=this[_0xca9fc8(0x15e)][_0xca9fc8(0x141)](_0x3b35ac,_0x28b70a);if((0x0,_0x540a4f[_0xca9fc8(0x192)])(_0xc00b76)||(0x0,_0x540a4f[_0xca9fc8(0x192)])(_0x2552ea)){this[_0xca9fc8(0x356)]['error'](_0xca9fc8(0x169),_0xca9fc8(0x139),_0xc00b76,_0x2552ea);break;}_0x3c739f=_0xc00b76[_0xca9fc8(0x2cb)],_0x3b35ac=_0x2552ea[_0xca9fc8(0x2cb)],_0x540d23[_0xca9fc8(0xf8)]({'unitID':_0x2d2a38,'undoMutations':_0xc00b76[_0xca9fc8(0x28c)],'redoMutations':_0x2552ea[_0xca9fc8(0x28c)]});}return _0x540d23[_0xca9fc8(0x289)]();}};_0x15e3f7=_0x47fc4c([_0xf01086(0x0,_0x305d10['IUniverInstanceService']),_0xf01086(0x1,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x30d)]),_0xf01086(0x3,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x4,_0x305d10['ILogService'])],_0x15e3f7);let _0x36f5ad=class extends _0x305d10[_0x33f14e(0x3bb)]{constructor(_0x455d6b={},_0x52f4d3,_0x37a327,_0x218454){const _0xb9b52b=_0x33f14e;super(),this[_0xb9b52b(0x1af)]=_0x455d6b,this['_logService']=_0x52f4d3,this[_0xb9b52b(0x1c7)]=_0x37a327,this[_0xb9b52b(0x333)]=_0x218454;let {..._0x428045}=(0x0,_0x305d10[_0xb9b52b(0xff)])({},_0x4cbbd4,_0x455d6b);if(!_0x428045[_0xb9b52b(0xd0)])throw Error(_0xb9b52b(0x34e));this['_config']=_0x428045,this[_0xb9b52b(0x333)]['setConfig'](_0x1cf9ab,_0x428045);}[_0x33f14e(0x359)](){const _0xfe01ab=_0x33f14e;this[_0xfe01ab(0x334)](),this['_initDependencies']();}[_0x33f14e(0x334)](){const _0x1c5715=_0x33f14e;var _0x3be1cc,_0x388783;this[_0x1c5715(0x1c7)][_0x1c5715(0x354)](_0x305d10[_0x1c5715(0xe3)])&&this[_0x1c5715(0x356)][_0x1c5715(0x15f)](_0x1c5715(0x34d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x58e764=(0x0,_0x305d10[_0x1c5715(0x1bb)])([[_0x305d10[_0x1c5715(0xe3)],{'useClass':_0x15e3f7}],[_0x258abc],[_0x497a33],[_0x2c235d],[_0x2ed10f],[_0x13c7f3],[_0x1493d1],[_0xe87828],[_0x23b696],[_0x123c3d],[_0x277be8,{'useClass':this['_config']['socketService']}],[_0x540a4f[_0x1c5715(0x1e9)],{'useClass':_0x1e5545}],[_0x305d10[_0x1c5715(0x369)],{'useClass':_0xc00d62}],[_0x5452c7[_0x1c5715(0x1f1)],{'useClass':_0x357175}],[_0x305d10['IMentionIOService'],{'useClass':_0x422fbe}],[_0x37b5a8],[_0x14ac8f]],(_0x3be1cc=this[_0x1c5715(0x1af)])==null?void 0x0:_0x3be1cc['override']);if(!((_0x388783=this[_0x1c5715(0x1af)])!=null&&_0x388783[_0x1c5715(0x37c)])){let _0x5be32a=_0x58e764[_0x1c5715(0x2d7)](([_0xf2b4d9])=>_0xf2b4d9===_0x4e88b2);_0x5be32a!==-0x1&&_0x58e764[_0x1c5715(0xe5)](_0x5be32a,0x1);}(0x0,_0x305d10[_0x1c5715(0x2e9)])(this[_0x1c5715(0x1c7)],_0x58e764);}[_0x33f14e(0x3ad)](){const _0x3b8be6=_0x33f14e;var _0x4c5e2a,_0x5b11c0;if(this[_0x3b8be6(0x1c7)][_0x3b8be6(0x1a5)](_0x3c9fd5[_0x3b8be6(0x195)])[_0x3b8be6(0x3c4)]({'priority':0x14,'interceptor':(0x0,_0x3c9fd5[_0x3b8be6(0x394)])({'maxParallel':0x6})}),!((_0x4c5e2a=this['_config'])!=null&&_0x4c5e2a['enableOfflineEditing'])){var _0x1d6457;(_0x1d6457=this[_0x3b8be6(0x1c7)][_0x3b8be6(0x1a5)](_0xbd995e,_0x305d10[_0x3b8be6(0x3bf)]['OPTIONAL']))==null||_0x1d6457[_0x3b8be6(0x281)]();}(_0x5b11c0=this[_0x3b8be6(0x1af)])!=null&&_0x5b11c0[_0x3b8be6(0x345)]&&(0x0,_0x305d10[_0x3b8be6(0x218)])(this[_0x3b8be6(0x1c7)],[[_0x2ed10f]]),(0x0,_0x305d10[_0x3b8be6(0x218)])(this['_injector'],[[_0x13c7f3],[_0x37b5a8],[_0xe87828]]);}};_0x816778(_0x36f5ad,_0x33f14e(0x2f4),'UNIVER_COLLABORATION_CLIENT_PLUGIN'),_0x816778(_0x36f5ad,_0x33f14e(0x2c7),_0x53586),_0x816778(_0x36f5ad,_0x33f14e(0xb9),_0x453767),_0x36f5ad=_0x47fc4c([(0x0,_0x305d10[_0x33f14e(0x1ae)])(_0x5f2569[_0x33f14e(0x347)],_0x540a4f[_0x33f14e(0x249)],_0x3c9fd5[_0x33f14e(0x2d5)]),_0xf01086(0x1,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x3,_0x305d10[_0x33f14e(0xfb)])],_0x36f5ad),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x1c0),{'enumerable':!0x0,'get':function(){return _0xc00d62;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x196),{'enumerable':!0x0,'get':function(){return _0x4c5197;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2a7),{'enumerable':!0x0,'get':function(){return _0x1f4a11;}}),_0x17c4ec[_0x33f14e(0x290)]=_0x1cf9ab,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x17b),{'enumerable':!0x0,'get':function(){return _0x37b5a8;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x33c),{'enumerable':!0x0,'get':function(){return _0x5f0326;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x25c),{'enumerable':!0x0,'get':function(){return _0x357175;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x1be),{'enumerable':!0x0,'get':function(){return _0x459c7b;}}),Object['defineProperty'](_0x17c4ec,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x258abc;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x1f3),{'enumerable':!0x0,'get':function(){return _0x4d4d25;}}),_0x17c4ec['CollaborationStatus']=_0x46a1e9,_0x17c4ec[_0x33f14e(0x3c2)]=_0x29ff30,_0x17c4ec['CollaborationUIEventService']=_0x23b696,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x14c),{'enumerable':!0x0,'get':function(){return _0x15e3f7;}}),_0x17c4ec['CommentService']=_0x1493d1,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2f2),{'enumerable':!0x0,'get':function(){return _0x50a112;}}),_0x17c4ec[_0x33f14e(0xb2)]=_0x3919fe,_0x17c4ec[_0x33f14e(0x1d2)]=_0x33f14e(0x31f),_0x17c4ec['DEFAULT_WS_SESSION_TICKET_URL']='/universer-api/user/session-ticket',Object['defineProperty'](_0x17c4ec,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x123c3d;}}),Object[_0x33f14e(0x267)](_0x17c4ec,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x467d36;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x30e),{'enumerable':!0x0,'get':function(){return _0x69d917;}}),_0x17c4ec[_0x33f14e(0xcd)]=_0x33f14e(0xaf),_0x17c4ec[_0x33f14e(0x3a5)]=_0x33f14e(0x1dd),_0x17c4ec['ICollaborationSocketService']=_0x277be8,_0x17c4ec[_0x33f14e(0x1a2)]=_0xbd995e,_0x17c4ec[_0x33f14e(0x238)]=_0x515a5c,_0x17c4ec[_0x33f14e(0x2dc)]=_0x4e88b2,_0x17c4ec[_0x33f14e(0x1f6)]=0x3e8,_0x17c4ec[_0x33f14e(0x3b6)]=_0x33f14e(0x1f6),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x19f),{'enumerable':!0x0,'get':function(){return _0x497a33;}}),Object['defineProperty'](_0x17c4ec,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x422fbe;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x246),{'enumerable':!0x0,'get':function(){return _0x18cfb2;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x1b4),{'enumerable':!0x0,'get':function(){return _0x40e466;}}),_0x17c4ec['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x17c4ec[_0x33f14e(0x1db)]=_0x33f14e(0x2af),_0x17c4ec[_0x33f14e(0x170)]=_0x475efd,Object['defineProperty'](_0x17c4ec,_0x33f14e(0x355),{'enumerable':!0x0,'get':function(){return _0x3c0dc6;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2ee),{'enumerable':!0x0,'get':function(){return _0x2c235d;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x16a),{'enumerable':!0x0,'get':function(){return _0x1e5545;}}),Object[_0x33f14e(0x267)](_0x17c4ec,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x3f62b4;}}),_0x17c4ec[_0x33f14e(0x25d)]=_0x3dfa36,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x18c),{'enumerable':!0x0,'get':function(){return _0x36f5ad;}}),_0x17c4ec[_0x33f14e(0x178)]=_0x1ab073,_0x17c4ec[_0x33f14e(0x3b3)]=_0x3da7c3,_0x17c4ec[_0x33f14e(0x23b)]=_0x2d2ccc;}));function _0x1555(_0x3f1340,_0x3b605f){_0x3f1340=_0x3f1340-0xad;const _0x15e60a=_0x15e6();let _0x155593=_0x15e60a[_0x3f1340];return _0x155593;}function _0x15e6(){const _0x2632fa=['/resources','code','error$','status$','subject','22DvnYpF','dispose','getSnapshotAPIPath','session.room-full','IAuthzIoService','&assign=','_getDownloadEndpointURL','4003310weEBtc','parse','_getLoginPath','?size=','CHANGESET_SHOULD_RETRY','Inject','CmdRspCode','listCollaborators','UnitEmbedded','closeSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','4155532fmTslF','updatePermissionPoint','getUnit','SOCKET_FAILED_RETRY','readyForCollab','enableSingleActiveInstanceLock','_removeRoom','unitID','localeService','_startCollaboration','InsertSheetMutation','some','_socket','/universer-api/authz','univer-pro.collaboration-client.single-active-unit-service','originalMeta','slice','resolve','save\x20fail\x20reason\x20is\x20','cmd','LIVESHARE_TERMINATE','CollaborationEvent','unsubscribe','_userManagerService','getUnitStatus$','_initRequestHeader','LIVESHARE_NEW_HOST','removeMember','decorate','ThresholdInterceptorFactory','onTransformRemoteChangesetByStateCache','crypto.getRandomValues\x20must\x20be\x20defined','_onRemoteRejected','_telemetryService','PERMISSION_DENIED','_isPermissionRej','saveSnapshot','sid','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_lockTransition','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','[OfflineState]:\x20received\x20changeset.','objectActions','_initMergeInterceptor','333MmaRHw','POST','HEARTBEAT_TIMEOUT_KEY','getCollabEntity$','_collaborationTimeoutTimer','send','getValue','unitId\x20is\x20not\x20found','_onConnectionOpen','FileId','_initDependencies','_getSendChangesetTimeout','pending','parseProtocolChangeset','sessionStatus$','uuidv4','getLocalCacheKey','_clearHeartbeatTimer','UserManagerService','LOCAL_CACHE_INTERVAL_KEY','_incrementRevisionNumber','_transitionLocked','_onRemoteACK','ImageUploadStatusType','Plugin','authzUrl','isPermissionRej','transformChangesets','Quantity','toStringTag','params','CollaborationUIEventId','UniverProCollaboration','registerHTTPInterceptor','deleteCollaborator','_socketReady','newCsEvent','_getRedoStack','HEARTBEAT_INTERVAL','/universer-api/comb','_sheetTransformSelectionsService','DEFAULT_COLLAB_WEB_SOCKET_URL','toggleOffline','entries','_cfgEnableObjInherit','_candidateSocket','_onMessage','CombCmd','version','getUnitOnRev','patch','onStateChange','AWAITING_WITH_PENDING','editing\x20status\x20changed\x20to','_changesetSessionId','delete','9888624IxJtDi',',\x20got\x20','tagLength','onRemoteAck','getTypeOfUnitAdded$','_transformStateCache','fetching\x20missing\x20changesets\x20from\x20','saveChangeset','_snapshotService','MUTATION','leaveEvent','toDisposable','HEARTBEAT_INTERVAL_KEY','replace','OTHER_CLIENTS_EDITING','socketService','rxjs/operators','encrypt','_shouldReportTelemetry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onMissedChangesetFetched','onMissingChangesets','key','createSocket','_members$','@univerjs/drawing','_disableEditing','output','[PendingState]:\x20received\x20rejection.','addHandlerCallback','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','size','firstValueFrom','IUndoRedoService','close','splice','awaiting','prototype','RichTextEditingMutation','fetch_missing','fetchMissingChangesets','&source=','_sessionStatus$','\x20to\x20','_acknowledgeAwaiting','WorkbookEditablePermission','DRAWING_IMAGE_ALLOW_IMAGE_LIST','transformUndoRedo','href','method','CompressMutationService','mapDocumentTypeToUniverInstanceType','submit\x20changeset\x20error!','_memberService','push','onLocalMutation','find','IConfigService','default','_retryConnectingTimer','_substituteUndoStack','merge','_onConnectionFailed','/object/','@univerjs-pro/collaboration-client','_sendHeartbeat','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ERROR_IMAGE','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','commentUpdateEvent','Wrong\x20sbox\x20length','complete','updateMember','_getUploadFileURL','encode','_changesetReqId','changesets','/unit/','_awaitingChangeset','[SyncedState]:\x20received\x20acknowledgement.','objects','_instanceService','toPrimitive','Workbook','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_submitChangeset','emitEvent','_socketMessageSubscription','/block/','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','_getAPIPrefixPath','startsWith','every','now','_resendTimeout','stringify','_createHandler','rev','waitForRoom$','duration','SheetPermissionInitController','reduce','/role','_tryReconnect','updateOfflineData','_socket$','update','Tools','ILogService','getRoom','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','createIdentifier','fetchMiss','SNAPSHOT_URL_KEY','_exhaustRemoteChangesetQueue','_initCloseConn','_replaceFileID','string','8526168AKIcci','transformStack\x20failed!','_clearCollaborationTimeoutTimer','addImageSourceCache','loadUnitOfRevision','[CollaborationSessionService]','isTransformChangesetsSuccess','getGlobalObject','append','transformMutationsWithChangeset','copyFileMeta','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','headers','IPermissionService','MentionType','1896aFnxSu','@univerjs-pro/collaboration','symbol','stopTime','People','CollaborativeUndoRedoService','responseType','_pendingMutations','_unitInfo$','resend','_roomMembers','onSendChangeset','LIVESHARE_OPERATION','permissionRejEvent','members','indexOf','_onFetchMissResult','_onRecvEvent','onRemoteRej','RxDisposable','getCurrentRevOfUnit','_HTTPService','offline','_transformService','error','SUBMIT_CHANGESET_TIMEOUT','updatePermissionObjEvent','OTHER_CLIENT_EDITING','PSEUDO_FETCH_MISSING_RESULT','CHANGESET_REJ','actions','awaitingChangeset','focused$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationUndoRedoService]','SnapshotServerOverHTTPService','_executeRemoteChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','title','onlyLocal','textRanges','SessionStatus','socket\x20open.','asObservable','getMemberID','getUnitType','isArray','_onRemoteRetry','_event$','deserializeToCombResponse','_localCacheService','_eventService','CollaborationController','COMPRESS_MUTATION_APPLY','snapshotServerUrl','_collaborationUIEventService','ERROR_IMAGE_TYPE','subarray','then','conflict','byteOffset','_state','ImageSourceType','selections','_transformIMECache','unit-cache-','getOwnPropertyDescriptor','disablePadding','_change$','UniverCollaborationClientPlugin','_onCombEvent','cfgEnableObjInherit','getTime','AWAITING','@univerjs-pro/license','isTransformMutationsWithChangesetFailure','resolveWithBasePath','_transformStack','HTTPService','AwaitingState','open$','\x20in\x20_schedule.','isTransformMutationsWithChangesetSuccess','_getUndoStack','ISocketService','deepClone','rxjs','textEncoder','MemberService','UUID','_waitCount','ILocalCacheService','confirm','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','get','_resendTimer','encodeURIComponent','state$','file','type','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','baseRev','_onLocalMutation','DependentOn','_config','event$','_httpService','executeCommand','_scheduleCompleteTimestamp','PendingState','result','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','function','/universer-api/snapshot','roles','_clearUndo','mergeOverrideWithDependencies','resourceIDs','sort','CollaborationSession','JOIN_ROOM_FULL','AuthzIoHttpService','/universer-api/file/{fileID}/sign-url','Disposable','includes','getLatestCsReqIdBySid','_startTelemetryCollaborationNewChangeset','UniverInstanceType','_injector','_handler','[CollaborationSessionService]:\x20socket\x20error','/fetchmissing?from=','socket\x20close','PENDING','action','signUrlServerUrl','/rev/','sessionStatus','failed\x20to\x20apply\x20missed\x20changesets!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','{fileID}','getCollabEntity','withCredentials','_schedule','MSG_FOR_ERROR','_collaborationPaused','varSizeNonce','nonceLength','RETRY_CONNECTING_MAX_COUNT_KEY','ITelemetryService','HEARTBEAT_TIMEOUT','collaboration-client.auth.needGotoLoginAlert','take','create','NOT_COLLAB','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','list','_clearRedo','_rescheduleHeartbeat','SUBMIT_CHANGESET','getUnitId','reqId','ISnapshotServerService','_acknowledgedAwaitingRevision','PERSON','_remoteChangesetQueue','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','_entityInit$','snapshot','IImageIoService','[CollaborationState]:\x20apply\x20error!','CollaborationSocketService','liveShareOperation','takeUntil','LOCAL_CACHE_INTERVAL','_commandService','editingUnit','startTime','FileSource','connection\x20error','forEach','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_substituteRedoStack','_emitMembers','clear','GLOBAL_ROOMS_CNT_EXCEEDS','_timeoutTimer','_getCurrentRevision','state','_init','_createInitialStateImpl','5383noMtrN','concatMap','_checkMissing','session','disposeWithMe','onMutationExecutedForCollab','IUniverInstanceService','add','crypto','session.room-cnt-exceeds','_decreaseWaiting','@univerjs/core','ICommandService','getCurrentSelections','UniverSheets','Injector','onRemoteChangeset','touchDependencies','_networkConditionService','__splitChunk__','byteLength','getMember','[DataLoaderService]','buffer','getRandomValues','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','appendMutation','\x20-\x20','/universer-api/stream/file/upload','_unitID','CONFLICT','location','shouldCloseConn','FETCH_MISSING','session.room-permission-denied','UNIVER_SHEET','c2Prime','reject','Error\x20on\x20receiving\x20event','uniscriptRunEvent','ONLINE','_commentUpdate$','liveShareNewHost','equals','_telemetryInfo','_isEchoedAwaitingChangeset','Optional','onCommentUpdate','SOCKET_FAILED','INetworkConditionService','_handlerCallback','UPDATE_CURSOR','serializeCombRequest','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','data','unknown','INGEST','amd','name','number','[CollaborationSession]','CommandType','_initUnitPermissionChange','OfflineState','_state$','Univer','UniverCollaborationPlugin','_singleActiveUnitService','MergeInterceptorFactory','CHANGESET_ACK','Module','collabWebSocketUrl','onRemoteRetry','_listenToNetworkCondition','length','saveImage','isSafeInteger','number\x20expected,\x20got\x20','synced','_maxTotalRetryTimeout','ITransformService','_entities','JOIN_ROOM_FAILED','putCollaborators','[OfflineState]:\x20received\x20acknowledgement.','CollaborationImageIoService','UnitStatus','UniverDocs','close$','message$','CLOSE_ROOM','csAckEvent','isView','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','unit','OFFLINE','defineProperty','fromCharCode','set','_onOffline','requestParams','collaborators','dispose$','UNIVER_DOC','_collabSessionService','UniverProLicense','_sessions','UPDATE_PERMISSION_OBJ','parseChangesetToProtocol','BASE64','_acknowledgeAwaitingIfReady','min','memberID','_retryCount','DEFAULT_FILE_NAME','target','workbook','batchAllowed','[FetchMissState]','_permissionService','onSyncEditingCollabCursor','_getAPIPrefix','disableLocalCache','operators','_createSocket','&to=','USERS_ENTER','_resendWithTimeout','getAllMembers','BehaviorSubject','reverse','readAsDataURL','_scheduleCollaborationTimeoutTimer','m2Prime','_revisionService','collaMsg','_onJoinRoomEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','COMMENT_UPDATE','/universer-api/oidc/authpage','x-univer-host','reconnect','updateCursorEvent','AAD','cipher\x20output\x20not\x20supported','loadOfflineData','onTransformRemoteChangesetByIMECache','assign','@univerjs/telemetry','SUCCUSS','BYTES_PER_ELEMENT','_showConflictNotification','body','invalid\x20output,\x20must\x20be\x20aligned','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','COMPRESS_MUTATION_SEND','_applyRemoteChangeset','RevisionService','_onRemoteChangeset','_updateStatus','AwaitingWithPendingState','getFocusedUnit','pipe','pauseCollaboration','_clearScheduledTask','_compressMutationService','/allowed','csRejEvent','RETRY_CONNECTING_MAX_COUNT','post','JOIN','fromCollab','_imageSourceCache','eventID','/-/object/-/batch_allowed','_transformRemoteChangesetByIMECache','getTypeOfUnitDisposed$','_undoRedoService','186340sALHrH','collaboration-client.config','_sendingTimer','_tryEnsureSocket','_undoStacks','Subject','routeKey','_doCreateSocket','onTransformSelections','ErrorCode','subUnitId','692102rHGWmG','collaboration-client.local-cache-service','listRoles','packageName','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','aes/pkcs7:\x20wrong\x20padding','_joinRoom','c1Prime','getWorkbookSelections','getCurrentUser','b64DecodeUnicode','_handleRemoteChangesets','_collaborationSessionService','revision','onload','object','setCfgEnableObjInherit','UniverNetworkPlugin','_transformUndoredo','findIndex','loadSheet','positive\x20integer\x20expected,\x20got\x20','_onUserLeave','decrypt','ISingleActiveUnitService','url','shareReplay','collaboration_new_changeset','_sendHeartbeatTimer','missingChangesets','interceptor','_toggleOffline','_syncEditingCollabCursor','_members','transformSelections','toString','LEAVE','registerDependencies','toggleOnline','LIVESHARE_REQUEST_HOST','3svHPGS','from','SheetTransformSelectionsService','_socketService','onTransformState','floor','ConflictState','HELLO','pluginName','[CollaborationEntity]','telemetry\x20info\x20is\x20not\x20initialized','updateCollaborator','RECV','JOIN_ROOM_PERMISSION_DENIED','objectID','status','unitInfo$','_fetchMissChangesets','@univerjs/network','_sender','next','_replayCachedMutations','localCacheService','_roomCreated$','loginUrlKey','subscribe','filter','_clearLocalCache','JSONX','getSheetId','NEW_CHANGESETS','/universer-api/snapshot/','_updateState','IContextService','FetchingMissState','SetSelectionsOperation','_stopTelemetryCollaborationNewChangeset','nonce','/collaborator','HEARTBEAT','saveSheetBlock','awaiting_with_pending','mutations','userID','_status$','_queuedRemoteChangesets','debug','EmptyMutationInfo','_getCtorByUniverInstanceType','commentUpdate$','getInterceptPoints','/universer-api/uniscript','string\x20expected','loadUnit','fetchThroughInterceptors','_getSignURL','_onUserJoin','_transformRemoteChangesetByStateCache','_clearTimeoutTimer','joinRsp','getConfig','avatar','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRetryConnectingTimer','_snapshotServerService','setShowComponents','init','createInstance','_unlockTransition','hostname','2lnSXlf','_configService','_registerDependencies','_updateLocalCache','getDrawingImageAllowSize','isInternalEditorID','capture','ERROR_EXCEED_SIZE','\x0aCurrent:\x20','LIVESHARE_FETCH_OPERATIONS','CollaborationEntity','roomInfos','uploadFileServerUrl','delay','DisposableCollection','USERS_LEAVE','_transformAndApplyRemoteChangeset','UNISCRIPT_RUN','PERMISSION_REJ','enableAuthServer','_transformSelections','UniverLicensePlugin','map','iterator','_type','_createInitialState','NO_OTHER_CLIENTS_EDITING','[UniverCollaborationClientPlugin]','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId','objectType','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','collabSubmitChangesetUrl','updateSnapshot','has','SheetCollaborationEntity','_logService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConflict','onStarting','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_univerInstanceService','UniverCore','_localeService','/new_changes','LocaleService'];_0x15e6=function(){return _0x2632fa;};return _0x15e6();}
3
-
4
- // @univerjs-pro/collaboration-client/facade
5
- function _0x4f16(){const _0x29acf8=['subscribe','status','FUniver','@univerjs/core/facade','DataLoaderService','switchMap','loadUnit','defineProperty','325794JvYJue','toStringTag','values','state','toDisposable','fireEvent','FEnum','get','1070DDCmXa','getUnitId','FEventName','getUniverSheet','@univerjs/core','getOwnPropertyDescriptor','1068KZzCay','CollaborationStatusChanged','waitForRoom$','NOT_COLLAB','_snapshotService','60950nFpDsF','readyForCollab','CollaborationStatus','UniverCore','CollaborationController','loadActiveSheetAsync','MemberService','Event','amd','94208kHjwrE','UniverProCollaboration','subscribeCollaborators','412344huXKZH','_handler','@univerjs-pro/collaboration-client','extend','16qknCHf','17435sMSzOf','object','loadServerUnitOfRevision','loadActiveSheet','2685ODKUVJ','add','FBase','getCollabEntity','28fXpNqk','from','function','_univerInstanceService','getFocusedUnit','createInstance','UniverCoreFacade','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','entityInit$','rxjs','Inject','UniverProCollaborationClient','_collaborationController','loadSheetAsync','pipe','FCollaboration','disposeWithMe','IUniverInstanceService','status$','623331demgjY','registerEventHandler'];_0x4f16=function(){return _0x29acf8;};return _0x4f16();}function _0x2ed8(_0x3fbedd,_0x240bf){_0x3fbedd=_0x3fbedd-0x13b;const _0x4f169a=_0x4f16();let _0x2ed8a6=_0x4f169a[_0x3fbedd];return _0x2ed8a6;}(function(_0x4ea820,_0x3b7886){const _0x2c0583=_0x2ed8,_0x3ca6e2=_0x4ea820();while(!![]){try{const _0x11c233=-parseInt(_0x2c0583(0x140))/0x1+-parseInt(_0x2c0583(0x181))/0x2+-parseInt(_0x2c0583(0x143))/0x3+parseInt(_0x2c0583(0x17c))/0x4*(-parseInt(_0x2c0583(0x14c))/0x5)+parseInt(_0x2c0583(0x16e))/0x6*(parseInt(_0x2c0583(0x150))/0x7)+-parseInt(_0x2c0583(0x147))/0x8*(-parseInt(_0x2c0583(0x164))/0x9)+-parseInt(_0x2c0583(0x176))/0xa*(-parseInt(_0x2c0583(0x148))/0xb);if(_0x11c233===_0x3b7886)break;else _0x3ca6e2['push'](_0x3ca6e2['shift']());}catch(_0x2007a0){_0x3ca6e2['push'](_0x3ca6e2['shift']());}}}(_0x4f16,0x1d3f7),function(_0x3ba047,_0x5c5b1a){const _0xc2a6b8=_0x2ed8;typeof exports==_0xc2a6b8(0x149)&&typeof module<'u'?_0x5c5b1a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0xc2a6b8(0x152)&&define[_0xc2a6b8(0x13f)]?define(['exports',_0xc2a6b8(0x145),_0xc2a6b8(0x169),_0xc2a6b8(0x17a),'@univerjs-pro/collaboration',_0xc2a6b8(0x15a)],_0x5c5b1a):(_0x3ba047=typeof globalThis<'u'?globalThis:_0x3ba047||self,_0x5c5b1a(_0x3ba047['UniverProCollaborationClientFacade']={},_0x3ba047[_0xc2a6b8(0x15c)],_0x3ba047[_0xc2a6b8(0x156)],_0x3ba047[_0xc2a6b8(0x184)],_0x3ba047[_0xc2a6b8(0x141)],_0x3ba047[_0xc2a6b8(0x15a)]));}(this,function(_0x42c08a,_0x38453c,_0x3f5874,_0x49ed18,_0x2ca723,_0x5b2425){const _0x524525=_0x2ed8;Object['defineProperty'](_0x42c08a,Symbol[_0x524525(0x16f)],{'value':'Module'});var _0x14f7a4=class extends _0x3f5874[_0x524525(0x174)]{get[_0x524525(0x183)](){const _0x82585b=_0x524525;return _0x38453c[_0x82585b(0x183)];}};_0x3f5874[_0x524525(0x174)]['extend'](_0x14f7a4);var _0x20f11a=class extends _0x3f5874['FEventName']{get[_0x524525(0x17d)](){const _0x15d362=_0x524525;return _0x15d362(0x17d);}};_0x3f5874[_0x524525(0x178)][_0x524525(0x146)](_0x20f11a);function _0x44aa76(_0x4856d3,_0x5d5d4f){return function(_0x55ffff,_0x3cef31){_0x5d5d4f(_0x55ffff,_0x3cef31,_0x4856d3);};}function _0xae4797(_0x32b7b5,_0x2c320d,_0x462cd8,_0x4ac79c){const _0x1cd8b2=_0x524525;var _0xb2efa1=arguments['length'],_0x5ce362=_0xb2efa1<0x3?_0x2c320d:_0x4ac79c===null?_0x4ac79c=Object[_0x1cd8b2(0x17b)](_0x2c320d,_0x462cd8):_0x4ac79c,_0xe3d0cb;if(typeof Reflect==_0x1cd8b2(0x149)&&typeof Reflect['decorate']=='function')_0x5ce362=Reflect['decorate'](_0x32b7b5,_0x2c320d,_0x462cd8,_0x4ac79c);else{for(var _0x544419=_0x32b7b5['length']-0x1;_0x544419>=0x0;_0x544419--)(_0xe3d0cb=_0x32b7b5[_0x544419])&&(_0x5ce362=(_0xb2efa1<0x3?_0xe3d0cb(_0x5ce362):_0xb2efa1>0x3?_0xe3d0cb(_0x2c320d,_0x462cd8,_0x5ce362):_0xe3d0cb(_0x2c320d,_0x462cd8))||_0x5ce362);}return _0xb2efa1>0x3&&_0x5ce362&&Object[_0x1cd8b2(0x16d)](_0x2c320d,_0x462cd8,_0x5ce362),_0x5ce362;}let _0x1c820e=class extends _0x3f5874[_0x524525(0x14e)]{constructor(_0x127b57,_0x49b281,_0x20650f,_0x41fd07,_0x4f403a){const _0x2867d9=_0x524525;super(),this[_0x2867d9(0x144)]=_0x127b57,this[_0x2867d9(0x158)]=_0x49b281,this[_0x2867d9(0x153)]=_0x20650f,this['_snapshotService']=_0x41fd07,this[_0x2867d9(0x15d)]=_0x4f403a;}async[_0x524525(0x14b)](){const _0x4ed2e3=_0x524525;return this[_0x4ed2e3(0x13c)]();}async[_0x524525(0x13c)](){const _0xe7c737=_0x524525;throw Error(_0xe7c737(0x157));}async['loadSheet'](_0x379904){const _0x59aaf0=_0x524525;return this[_0x59aaf0(0x15e)](_0x379904);}async['loadSheetAsync'](_0x58bbad,_0x31799a){const _0x58cae0=_0x524525;return await this[_0x58cae0(0x180)]['loadSheet'](_0x58bbad,0x0,_0x31799a)?(await this[_0x58cae0(0x15d)][_0x58cae0(0x182)](_0x58bbad),this[_0x58cae0(0x144)]['getUniverSheet'](_0x58bbad)):null;}[_0x524525(0x142)](_0x19b9ba,_0x5961f8){const _0x17f850=_0x524525;return(0x0,_0x49ed18[_0x17f850(0x172)])(this[_0x17f850(0x158)][_0x17f850(0x175)](_0x38453c[_0x17f850(0x13d)])[_0x17f850(0x17e)](_0x19b9ba)[_0x17f850(0x15f)]((0x0,_0x5b2425[_0x17f850(0x16b)])(_0x7223b7=>_0x7223b7['members$']))['subscribe'](_0x337cfb=>_0x5961f8(Array[_0x17f850(0x151)](_0x337cfb[_0x17f850(0x170)]()))));}['getCollaborationStatus'](_0x5e823e){const _0x5b8782=_0x524525;var _0x3dcf85;let _0x2c8c6d;if(_0x5e823e)_0x2c8c6d=_0x5e823e;else{let _0x1215d7=this['_univerInstanceService'][_0x5b8782(0x154)]();_0x2c8c6d=_0x1215d7==null?void 0x0:_0x1215d7[_0x5b8782(0x177)]();}if(!_0x2c8c6d)return _0x38453c['CollaborationStatus'][_0x5b8782(0x17f)];let _0xd1b217=this['_collaborationController'][_0x5b8782(0x14f)](_0x2c8c6d);return(_0x3dcf85=_0xd1b217==null?void 0x0:_0xd1b217[_0x5b8782(0x171)][_0x5b8782(0x167)])==null?_0x38453c['CollaborationStatus'][_0x5b8782(0x17f)]:_0x3dcf85;}};_0x1c820e=_0xae4797([_0x44aa76(0x1,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x49ed18['Injector'])),_0x44aa76(0x2,_0x49ed18[_0x524525(0x162)]),_0x44aa76(0x3,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x2ca723['SnapshotService'])),_0x44aa76(0x4,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x38453c[_0x524525(0x13b)]))],_0x1c820e);var _0x243ed0=class extends _0x3f5874[_0x524525(0x168)]{['_initialize'](_0x12f827){const _0x5d11db=_0x524525;let _0x306700=_0x12f827['get'](_0x38453c[_0x5d11db(0x13b)]);this[_0x5d11db(0x161)](this[_0x5d11db(0x165)](this['Event'][_0x5d11db(0x17d)],()=>{const _0x3fa8eb=_0x5d11db;let _0xcedb33=new _0x49ed18['DisposableCollection'](),_0x6343d6=_0x306700[_0x3fa8eb(0x159)][_0x3fa8eb(0x166)](_0x2ce3ed=>{const _0x109296=_0x3fa8eb;let _0x4628d1=_0x2ce3ed[_0x109296(0x163)][_0x109296(0x166)](_0x6b54db=>{const _0x24b04c=_0x109296;let _0x4784cb={'unitId':_0x2ce3ed['unitID'],'status':_0x6b54db};this[_0x24b04c(0x173)](this[_0x24b04c(0x13e)]['CollaborationStatusChanged'],_0x4784cb);});_0xcedb33['add']((0x0,_0x49ed18[_0x109296(0x172)])(_0x4628d1));});return _0xcedb33[_0x3fa8eb(0x14d)]((0x0,_0x49ed18[_0x3fa8eb(0x172)])(_0x6343d6)),_0xcedb33;}));}['getCollaboration'](){const _0x31557e=_0x524525;return this['_injector'][_0x31557e(0x155)](_0x1c820e,{'getUniverSheet':_0x1ef89d=>this[_0x31557e(0x179)](_0x1ef89d)});}['loadServerUnit'](_0x56e962,_0xaadb01,_0xf24483){const _0x43e9f4=_0x524525;return this[_0x43e9f4(0x158)]['get'](_0x38453c[_0x43e9f4(0x16a)])[_0x43e9f4(0x16c)](_0x56e962,_0xaadb01,_0xf24483);}[_0x524525(0x14a)](_0x43ae30,_0x1c15ad,_0x54dbb5){const _0x4065b8=_0x524525;return this[_0x4065b8(0x158)][_0x4065b8(0x175)](_0x38453c[_0x4065b8(0x16a)])['loadUnitOfRevision'](_0x43ae30,_0x1c15ad,_0x54dbb5);}};_0x3f5874['FUniver'][_0x524525(0x146)](_0x243ed0),Object['defineProperty'](_0x42c08a,_0x524525(0x160),{'enumerable':!0x0,'get':function(){return _0x1c820e;}});}));
6
-
7
- // @univerjs-pro/collaboration-client-ui/index
8
- function _0x167c(){const _0x223fe2=['collaboration-client-ui.collabStatus.conflict','InsertRowCommandId','defineProperty','_showText','_startCalculationLimit','endColumn','code','@univerjs/engine-render','_getScale','_imageIoService','handleDeleteRangeMoveUp','SetWorksheetActivateCommand','_initWindowErrorListener','sessionTicket','_startDocCollabCursor','_configService','clearInterval','Failed','params','status','_colorIndex','href','subscribe','attrs','M0\x200H16V16H0z','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','WebSocketService','_transformService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','selections','_clearPolling','split','getLocalCacheKey','url(#$1','div','Tools','collaboration-client-ui.collabStatus.offline','React','getStateCache','serializeRangeWithSheet','_getSaveTimeout','TEXT','_showGuardMessage','_collabSessionService','_getFormulaLimitStatus','_instanceService','isFormulaId','_cursorInfo$','set','_handleLeaveEvent','_anchorDot','size','onPointerMove$','_setFormulaLimitStatus','_drawAnchor','i18nKey','_scheduleSaving','UniverProCollaboration','disableLocalCache','some','_assignedColors','_pollingInterval','_handleEvent','with','UniverCore','then','@univerjs/docs-ui','4PxWpch','univer-border-none\x20univer-bg-transparent','SheetSkeletonManagerService','_id','get','Enter','MUTATION','operators','SetTextSelectionsOperation','COLORS','_doCreateSocket','_injector','DependentOn','_offsetY','ILogService','generateRandomId','includes','setParam','univer-appearance-none','error','UPDATE_CURSOR','_memberService','_createSocketURL','push','sheetID','width','tag','VIEW_MAIN','setShapeProps','_setupSubUnitSync','_updateLocalCursor','DocStateChangeManagerService','distinctUntilChanged','all','pulse','_saveCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','clickable','collaboration-client-ui.formula.calculation.unable','fillRule','symbol','useDependency','unshift','START_CALCULATION','executeCommand','_localCacheService','CollaborationSocketService','ISnapshotServerService','ISocketService','MemberService','LocaleService','lineno','unload','stringify','_checkAndWaitForCalculationPermission','_taskIds','univer-inline-flex\x20univer-items-center\x20univer-justify-center','onPointerLeave$','SetFormulaCalculationStartMutation','span','[LogService\x20Error]:\x20','RegularPolygon','debounce','path','\x20-\x20','ticket','getSheetId','NOT_COLLAB','takeUntil','ONLINE','[Window\x20Error]:\x20','loadOfflineData','tooltipKey','forEach','Optional','_toggleOnline','prototype','OFFLINE','m1Prime','wsSessionTicketUrl','univer-m-0\x20univer-p-0','rgba(','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getMemberID','function','_updateCollabCursors','findNodePositionByCharIndex','AWAITING','IMessageService','colorClass','_checkCalculationAvailable','pluginName','functionsExecutedState','docStateChange$','UNIVER_SHEET','_ensureSubject','unsubscribe','getFormulaLimitStatusUrl','_labelPosition','/universer-api/license/formula/limit/start','DocIMEInputManagerService','exports','@univerjs/docs','Error','join','_collaborationController','mutations','@univerjs/protocol','merge','Shape','getAllUnitsForType','#0B9EFB','NO_OTHER_CLIENTS_EDITING','_releaseCalculationLimit','icon','transformMutationsWithChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','transformMutation','_textBubble','InsertColCommandId','registerDependencies','6044936KmHUQH','disposeWithMe','_initStatusListener','labelPosition','runId','_render','_cursor','collaboration-client-ui.session.will-retry','@univerjs/ui','ILocalStorageService','_cursorShapes','_shapes','_updateURLWithCurrentState','http://www.w3.org/2000/svg','SheetsSelectionsService','closePath','whenReady','startColumn','map','_docTransformIMECacheService','IUniverInstanceService','_beforeCloseService','idSuffix','getCollabCursors$','getActiveSheet','trim','_handleHeartbeatEvent','key','useMemo','saveOfflineData','removeParam','substring','LOCAL_CACHE_INTERVAL_KEY','_init','_send','SetFormulaCalculationNotificationMutation','_hideTimer','onCommandExecuted','editingUnit','fromEvent','setUndoRedoMutationParamsCache','UniverCollaborationClientUIPlugin','sheetId','jiqing.500','colno','spin','fillText','mergeOverrideWithDependencies','_messageService','_eventUnsubscribe','text','origin','univerjs-icon\x20univerjs-icon-','getRelativeToViewportCoord','RichTextEditingMutation','send','Plugin','_docTransformSelectionsService','blue.400','button','CollaborationStatus','next','_httpService','getMergeData','row','registerRefRange','collaboration-client-ui.collabClient.tooltip.reconnect','setOffsetY','FETCH_MISS','offsetY','SUCCESS','body','_drawTextRange','search','searchParams','_getMergeRange','rgba','@univerjs/rpc','CONFLICT','univer-text-red-500','?taskId=','_logService','9RfnPus','assignAColorForMemberID','isArray','DesktopCollaborationStatusDisplayController','_getSheetObject','runOnServer','show','addClipboardHook','getColor','ITransformService','1597475HOqSRl','_highlight','_initEvent','moveTo','JOIN_ROOM_FAILED','hovered','collaboration-client-ui.permission.content','undoState','newValue','off-line-icon_clip0_910_343','collaboration-client-ui.session.collaboration-timeout','getVpScrollXYInfoByPosToVp','_selfUnitIDs','svg','createIdentifier','NodePositionConvertToRectRange','MessageType','type','Success','limitInfo','find','max','getTypeOfUnitAdded$','toDisposable','SessionStatus','HTTPService','getUnhiddenWorksheets','_sheetSkeletonManagerService','_heartbeatTimer','_uiPartsService','InsertRangeMoveDownCommandId','black','getSkeleton','createElement','restore','CanceledError','SetSelectionsOperation','startsWith','random','override','isTransformMutationsWithChangesetSuccess','actions','save','stageInfo','iterator','@univerjs-pro/collaboration-client-ui','_collabCursorController','current','Unknown\x20user','stage','CollaborationEvent','entries','reconnect','/universer-api/license/formula/limit/status','translate(.97)','event$','getCurrentSelections','_draw','_entities','Subject','[Unhandled\x20Rejection]:\x20','_urlService','_stopBlinking','transformIMECache','memberID','Vector2','delete','6IHgnCR','_startSheetCollabCursor','handleIRemoveRow','application/json','source','_refreshCollabCursors','color','length','entityInit$','asObservable','doc.mutation.rich-text-editing','uni.network.url-service','purple.300','getCellPositionByOffset','reason','DisposableCollection','IURLService','_setupBeforeClosingHandler','dispose$','rgba(255,\x20255,\x20255,\x200.01)','_localeService','UniverIcon','SHEET_VIEWPORT_KEY','OffLineIcon','handleInsertRangeMoveDown','_online','OnLineIcon','_cursors','_initStatusComponent','TEXT_RANGE_LAYER_INDEX','currentTheme$','flatMap','UniverCollaborationClientPlugin','registerBeforeClose','isTransformMutationFailure','displayName','unitId','indicator','yellow.400','SOCKET_FAILED','preventDefault','collaboration-client-ui.collabStatus.syncing','_color','exhaustSavingTask','storage','on-line-icon_clip0_910_349','_revisionService','parseInt','location','loadUnit','_transformHistoryAndStateStack','IImageIoService','UniverDesign','_docTransformStateCacheService','_blinkIntervalTimer','imageSourceType','CLOSE_ROOM','DOC_RANGE_TYPE','onPointerEnter$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','Inject','beginPath','startFormulaLimitUrl','message','activeSheet$','ThemeService','lineTo','_roomMembers$','_scheduleHeartbeat','slice','@univerjs/engine-formula','univer-text-gray-400','_name','UniverDrawing','CollaborationController','filename','handleInsertRangeMoveRight','rgb','addObjects','Workbook','_lastResponseTimestamp','_initResize','string','transform','univer-text-green-500','onStarting','use','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','SOCKET_FAILED_RETRY','startRow','resize','_registerRenderDependencies','_anchor','switchMap','setTimeout','_config','FromArray','DocCollaborationEntity','on-line-icon','DEFAULT_WS_SESSION_TICKET_URL','_initUnhandledRejectionListener','_docSyncEditingCollabCursorService','registerRenderModule','_hover','useCallback','getTypeOfUnitDisposed$','UniverRpc','_onCursorDelete','EffectRefRangId','history','connectInjector','Injector','static','replaceState','LOCAL_CACHE_INTERVAL','collaboration-client-ui.collabStatus.fetchMiss','call','ICommandService','combineLatest','showText','@univerjs/sheets-ui','_monkeyPatchLogService','ILocalCacheService','values','228170BpUUwE','@univerjs/drawing','clipPath','triggerDblclick','disposeUnit','@univerjs-pro/collaboration-client','INotificationService','forwardRef','redoState','getOffsetConfig','mask','urlChange$','UniverEngineRender','saveImage','strokeWidth','IDocClipboardService','WebURLService','useRef','bind','complete','amd','_hasFormulaInDirtyRanges','now','defs','polite','getUnitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CollaborationSessionService','onRendered','getParam','IConfigService','663468AQWeUx','highlightSecond','_session','enableFrontendLog','collabCursorState$','pushState','handleInsertCol','0\x200\x2017\x2016','arc','font','replaceDocRanges','subUnitId','bottom','defIds','currentColor','getUndoRedoMutationParamsCache','cursorInfo','deepClone','_currentUsage','backgroundColor','_pointerMoveDisposable','_initCommandInterceptor','_disabled','react','rxjs','react/jsx-runtime','_renderManagerService','isActive','CollaborationUIEventService','colorChannel1','init','debug','roomMembers','_isBlinkVisible','getItem','popstate','roomMembers$','Rect','transformSelections','collaboration-client-ui.collaboration.single-unit.warning','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','BehaviorSubject','...','UniverProCollaborationClientUi','_handleJoinEvent','23507440bvGlRa','_cachedData','_collabCursorState$','deserializeRangeWithSheet','setStateCache','_initCommandExecutedListener','eventID','_syncEditingCollabCursorService','_notificationService','_onCursorUpdate','textRanges','_drawRectRange','_removeCollabCursors','pipe','transformRemoteChangeset','getConfig','getActiveRange','selection','_handleHover','getColorFromTheme','FormulaExecuteStageType','addEventListener','fillStyle','UnitStatus','_themeService','height','url(#off-line-icon_clip0_910_343)','add','_univerInstanceService','unitID','registerComponent','default','_scene','white','getCoordByCell','post','invokeId','name','subunit','clsx','subscribeEvent','endRow','debounceTime','true','1499178evZyWU','_localStorageService','getMember','/universer-api/frontend/logs','_maxFormulaLimit','from','4274330EPcyqQ','off-line-icon','setInterval','/universer-api/license/formula/limit/done','ColorKit','_initEntityListener','Warning','_transformUndoRedoStack','getFocusedUnit','_blinkTimer','drawWith','replace','Loading','top','touchDependencies','loading-multi-icon','children','xlink:href','DeleteRangeMoveUpCommandId','collaboration-client-ui.permission.title','Disposable','_unitStatus','useObservable','jsx','SheetCollabCursorShape','data','collaboration-client-ui.collabStatus.synced','BuiltInUIPart','univer-flex\x20univer-items-center\x20univer-justify-center','addHandlerCallback','measureText','_getLighterColor','_toggleOffline','RefRangeService','_clearOtherTimers','@univerjs/sheets','setItem','_refRangeService','fill','highlight','LoadingMultiIcon','_applyCommand','syncEditingCollabCursor','_backgroundColor','Tooltip','getRangePointData','@univerjs-pro/collaboration','ranges','_hovered','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','getOwnPropertyDescriptor','getValue','none','_context','saveTaskMap','_uploadLog','WebBrowserSingleActiveUnitService','shift','PERMISSION_DENIED','filter','univer-text-orange-500','ErrorCode','UniverDocsUi','isFormulaString','collaboration-client-ui.session.connection-failed','handleMoveRange','_highlightSecond','1em','setConfig','USERS_LEAVE','evenodd','RxDisposable','transformStateCache','_collaborationSessionService','onTransformChange$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','IRenderManagerService','_docStateChangeManagerService','decorate','getCurrentUnitOfType','OTHER_CLIENTS_EDITING','has','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','cursorInfo$','toString','_document','\x20at\x20','hide','/run/','object','toPrimitive','0.2)','_getSessionTicket',',\x200.2)','[CollaborationDataLoaderController]','makeDirty','DocSkeletonManagerService','isInternalEditorID','requireSession','28FMUDpA','min','parse','_docClipboardService','_memberID','getAncestorScale','PENDING','RECT','_colorAssignService','getUniverSheetInstance','_entityInit$','getCurrentTypeOfUnit$','UniverSheetsUi','_status$','UniverInstanceType','CollaborationUIEventId','getRenderById','addObject','totalFormulasToCalculate','_updateSubUnitFromURLParams','UNIVER_DOC','dispose','_collaborationUIEventService','round','clearTimeout','getSheetBySheetId','Module','_commandService','_scheduleClearOtherTimer','DocSelectionManagerService','UniverProCollaborationClient','_startBlinking','onMouseMove','_unitOnClients','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setAlpha','_removeClearOtherTimer','_transformPreviousActiveRange','assign','univer-text-blue-500','_range','unit','0.25.1','m2Prime','beforeCommandExecuted','runRefRangeMutations'];_0x167c=function(){return _0x223fe2;};return _0x167c();}function _0x405a(_0x32d589,_0x3c4225){_0x32d589=_0x32d589-0x13e;const _0x167ceb=_0x167c();let _0x405a6e=_0x167ceb[_0x32d589];return _0x405a6e;}(function(_0x2ba2b0,_0x25a278){const _0x5d2637=_0x405a,_0x213447=_0x2ba2b0();while(!![]){try{const _0x24e2c3=parseInt(_0x5d2637(0x2a7))/0x1*(-parseInt(_0x5d2637(0x22a))/0x2)+parseInt(_0x5d2637(0x2c6))/0x3*(-parseInt(_0x5d2637(0x3fa))/0x4)+-parseInt(_0x5d2637(0x1e7))/0x5+-parseInt(_0x5d2637(0x31f))/0x6*(-parseInt(_0x5d2637(0x389))/0x7)+-parseInt(_0x5d2637(0x18b))/0x8+parseInt(_0x5d2637(0x1dd))/0x9*(-parseInt(_0x5d2637(0x325))/0xa)+parseInt(_0x5d2637(0x2f3))/0xb;if(_0x24e2c3===_0x25a278)break;else _0x213447['push'](_0x213447['shift']());}catch(_0x2b64b3){_0x213447['push'](_0x213447['shift']());}}}(_0x167c,0xb1cd9),function(_0x21a902,_0x5e4408){const _0x3af0ae=_0x405a;typeof exports==_0x3af0ae(0x37f)&&typeof module<'u'?_0x5e4408(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),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('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x3af0ae(0x165)&&define[_0x3af0ae(0x2bb)]?define([_0x3af0ae(0x176),_0x3af0ae(0x2ac),'@univerjs/core',_0x3af0ae(0x193),_0x3af0ae(0x2de),'rxjs/operators','@univerjs/design',_0x3af0ae(0x2dd),_0x3af0ae(0x2df),_0x3af0ae(0x1d8),_0x3af0ae(0x348),_0x3af0ae(0x3be),'@univerjs/network',_0x3af0ae(0x3f9),_0x3af0ae(0x2a8),_0x3af0ae(0x353),_0x3af0ae(0x177),_0x3af0ae(0x271),_0x3af0ae(0x2a3),_0x3af0ae(0x17c)],_0x5e4408):(_0x21a902=typeof globalThis<'u'?globalThis:_0x21a902||self,_0x5e4408(_0x21a902[_0x3af0ae(0x2f1)]={},_0x21a902[_0x3af0ae(0x3a7)],_0x21a902[_0x3af0ae(0x3f7)],_0x21a902['UniverUi'],_0x21a902[_0x3af0ae(0x2de)],_0x21a902[_0x3af0ae(0x2de)][_0x3af0ae(0x401)],_0x21a902[_0x3af0ae(0x25e)],_0x21a902[_0x3af0ae(0x3dc)],_0x21a902[_0x3af0ae(0x3dc)],_0x21a902[_0x3af0ae(0x295)],_0x21a902['UniverSheets'],_0x21a902[_0x3af0ae(0x2b3)],_0x21a902['UniverNetwork'],_0x21a902[_0x3af0ae(0x364)],_0x21a902[_0x3af0ae(0x274)],_0x21a902[_0x3af0ae(0x3f0)],_0x21a902['UniverDocs'],_0x21a902['UniverEngineFormula'],_0x21a902[_0x3af0ae(0x395)],_0x21a902['UniverProtocol']));}(this,function(_0x2f94b9,_0x20efb1,_0x1d062f,_0x25f9de,_0x5df150,_0x231056,_0x36848a,_0xac8e66,_0xd5ac84,_0x1a5bc2,_0x396996,_0xc630f2,_0x287543,_0x1c6b1f,_0x55bfd1,_0x600789,_0x55d528,_0x4f0b10,_0x5c8585,_0x3c5971){const _0x339b6f=_0x405a;Object[_0x339b6f(0x3b9)](_0x2f94b9,Symbol['toStringTag'],{'value':_0x339b6f(0x3a3)});function _0x58c7d5({ref:_0x340379,..._0x2c8674}){const _0x508370=_0x339b6f;let {icon:_0x252d4a,id:_0x35b781,className:_0x2a566b,extend:_0x36ab7a,..._0x30ed38}=_0x2c8674,_0x26b5ba=(_0x508370(0x1bf)+_0x35b781+'\x20'+(_0x2a566b||''))[_0x508370(0x1a4)](),_0x57855d=(0x0,_0xac8e66[_0x508370(0x2b8)])('_'+_0x540173());return _0x5c742c(_0x252d4a,''+_0x35b781,{'defIds':_0x252d4a[_0x508370(0x2d3)],'idSuffix':_0x57855d[_0x508370(0x216)]},{'ref':_0x340379,'className':_0x26b5ba,..._0x30ed38},_0x36ab7a);}function _0x5c742c(_0x2a45bf,_0x235f26,_0x5f1eac,_0x2a4263,_0x2dae54){const _0x41f7e0=_0x339b6f;return(0x0,_0xac8e66[_0x41f7e0(0x208)])(_0x2a45bf[_0x41f7e0(0x414)],{'key':_0x235f26,..._0x28609e(_0x2a45bf,_0x5f1eac,_0x2dae54),..._0x2a4263},(_0x329b43(_0x2a45bf,_0x5f1eac)['children']||[])[_0x41f7e0(0x19d)]((_0x49f1fb,_0x394b46)=>_0x5c742c(_0x49f1fb,_0x235f26+'-'+_0x2a45bf[_0x41f7e0(0x414)]+'-'+_0x394b46,_0x5f1eac,void 0x0,_0x2dae54)));}function _0x28609e(_0x3539c0,_0x21f92f,_0x495fe8){const _0x1ddf3f=_0x339b6f;let _0x616746={..._0x3539c0[_0x1ddf3f(0x3ce)]};_0x495fe8!=null&&_0x495fe8['colorChannel1']&&_0x616746[_0x1ddf3f(0x34b)]==='colorChannel1'&&(_0x616746[_0x1ddf3f(0x34b)]=_0x495fe8[_0x1ddf3f(0x2e3)]),_0x3539c0[_0x1ddf3f(0x414)]==='mask'&&_0x616746['id']&&(_0x616746['id']+=_0x21f92f[_0x1ddf3f(0x1a1)]),Object['entries'](_0x616746)[_0x1ddf3f(0x159)](([_0x2d887c,_0x61cef9])=>{const _0x53ce5c=_0x1ddf3f;_0x2d887c===_0x53ce5c(0x2b1)&&typeof _0x61cef9=='string'&&(_0x616746[_0x2d887c]=_0x61cef9[_0x53ce5c(0x330)](/url\(#(.*)\)/,'url(#$1'+_0x21f92f['idSuffix']+')'));});let {defIds:_0x205f5c}=_0x21f92f;return!_0x205f5c||_0x205f5c[_0x1ddf3f(0x231)]===0x0?_0x616746:(_0x3539c0[_0x1ddf3f(0x414)]===_0x1ddf3f(0x281)&&_0x616746[_0x1ddf3f(0x336)]&&(_0x616746[_0x1ddf3f(0x336)]+=_0x21f92f[_0x1ddf3f(0x1a1)]),Object[_0x1ddf3f(0x21a)](_0x616746)[_0x1ddf3f(0x159)](([_0x563186,_0xb01a06])=>{const _0x2775bc=_0x1ddf3f;typeof _0xb01a06==_0x2775bc(0x27d)&&(_0x616746[_0x563186]=_0xb01a06[_0x2775bc(0x330)](/url\(#(.*)\)/,_0x2775bc(0x3d8)+_0x21f92f[_0x2775bc(0x1a1)]+')'));}),_0x616746);}function _0x329b43(_0x1a60a9,_0x5a0b22){const _0x5cd642=_0x339b6f;var _0x57c42e;let {defIds:_0x40e7df}=_0x5a0b22;return!_0x40e7df||_0x40e7df[_0x5cd642(0x231)]===0x0?_0x1a60a9:_0x1a60a9[_0x5cd642(0x414)]===_0x5cd642(0x2be)&&(_0x57c42e=_0x1a60a9[_0x5cd642(0x335)])!=null&&_0x57c42e['length']?{..._0x1a60a9,'children':_0x1a60a9[_0x5cd642(0x335)][_0x5cd642(0x19d)](_0x4ed2e5=>typeof _0x4ed2e5[_0x5cd642(0x3ce)]['id']=='string'&&_0x40e7df&&_0x40e7df[_0x5cd642(0x40a)](_0x4ed2e5[_0x5cd642(0x3ce)]['id'])?{..._0x4ed2e5,'attrs':{..._0x4ed2e5[_0x5cd642(0x3ce)],'id':_0x4ed2e5['attrs']['id']+_0x5a0b22[_0x5cd642(0x1a1)]}}:_0x4ed2e5)}:_0x1a60a9;}function _0x540173(){const _0x50c330=_0x339b6f;return Math[_0x50c330(0x20d)]()['toString'](0x24)[_0x50c330(0x1aa)](0x2,0x8);}_0x58c7d5[_0x339b6f(0x24d)]=_0x339b6f(0x23f);let _0x472634={'tag':_0x339b6f(0x1f4),'attrs':{'xmlns':_0x339b6f(0x198),'fill':_0x339b6f(0x35a),'viewBox':'0\x200\x2016\x2016','width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':'g','attrs':{'clipPath':_0x339b6f(0x30d)},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'stroke':_0x339b6f(0x2d4),'d':_0x339b6f(0x3d0),'strokeLinecap':_0x339b6f(0x3a0),'strokeLinejoin':_0x339b6f(0x3a0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x339b6f(0x2a9),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':_0x339b6f(0x314),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x339b6f(0x1f0)]},_0x3ea82d=(0x0,_0xac8e66[_0x339b6f(0x2ae)])(function(_0xbee988,_0xf5d57){const _0x541897=_0x339b6f;return(0x0,_0xac8e66['createElement'])(_0x58c7d5,Object[_0x541897(0x3af)]({},_0xbee988,{'id':_0x541897(0x326),'ref':_0xf5d57,'icon':_0x472634}));});_0x3ea82d[_0x339b6f(0x24d)]=_0x339b6f(0x241);let _0x5462e4={'tag':'svg','attrs':{'xmlns':_0x339b6f(0x198),'fill':_0x339b6f(0x35a),'viewBox':_0x339b6f(0x2cd),'width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'stroke':_0x339b6f(0x2d4),'d':_0x339b6f(0x282),'strokeLinecap':_0x339b6f(0x3a0),'strokeLinejoin':_0x339b6f(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x339b6f(0x2be),'attrs':{},'children':[{'tag':_0x339b6f(0x2a9),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':_0x339b6f(0x314),'d':_0x339b6f(0x3cf),'transform':_0x339b6f(0x21d)}}]}]}],'defIds':[_0x339b6f(0x257)]},_0x575ca4=(0x0,_0xac8e66[_0x339b6f(0x2ae)])(function(_0x456f49,_0x14a7a2){const _0x54e44c=_0x339b6f;return(0x0,_0xac8e66[_0x54e44c(0x208)])(_0x58c7d5,Object[_0x54e44c(0x3af)]({},_0x456f49,{'id':_0x54e44c(0x28d),'ref':_0x14a7a2,'icon':_0x5462e4}));});_0x575ca4[_0x339b6f(0x24d)]=_0x339b6f(0x244);let _0x5f39e8={'tag':_0x339b6f(0x1f4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x339b6f(0x35a),'viewBox':'0\x200\x2016\x2016','width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':'#0B9EFB','d':_0x339b6f(0x266),'fillOpacity':0.2,'fillRule':_0x339b6f(0x36c),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x339b6f(0x180),'d':_0x339b6f(0x2ee),'fillRule':_0x339b6f(0x36c),'clipRule':_0x339b6f(0x36c)}}]},_0x194ce2=(0x0,_0xac8e66['forwardRef'])(function(_0x3cce8c,_0x4e38cc){const _0x2baeb5=_0x339b6f;return(0x0,_0xac8e66[_0x2baeb5(0x208)])(_0x58c7d5,Object[_0x2baeb5(0x3af)]({},_0x3cce8c,{'id':_0x2baeb5(0x334),'ref':_0x4e38cc,'icon':_0x5f39e8}));});_0x194ce2[_0x339b6f(0x24d)]=_0x339b6f(0x34d);function _0x42a252(_0x487fd0){const _0x270753=_0x339b6f;switch(_0x487fd0){case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x15d)]:return{'icon':(0x0,_0xd5ac84['jsx'])(_0x3ea82d,{}),'colorClass':_0x270753(0x1da),'i18nKey':_0x270753(0x3db),'tooltipKey':_0x270753(0x1cd),'clickable':!0x0,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x1d9)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x3ea82d,{}),'colorClass':_0x270753(0x362),'i18nKey':_0x270753(0x3b7),'clickable':!0x1,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x1cf)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':_0x270753(0x29e),'clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x153)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x575ca4,{}),'colorClass':_0x270753(0x272),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x168)]:case _0x20efb1['CollaborationStatus']['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1['CollaborationStatus'][_0x270753(0x38f)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':_0x270753(0x253),'clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1[_0x270753(0x1c7)]['SYNCED']:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x575ca4,{}),'colorClass':_0x270753(0x27f),'i18nKey':_0x270753(0x33f),'clickable':!0x1,'indicator':_0x270753(0x29b)};}}function _0x4ee0fa(_0x919d0c){const _0x29f38a=_0x339b6f;let {status$:_0x124798}=_0x919d0c,_0x4959e8=(0x0,_0x25f9de[_0x29f38a(0x33b)])(_0x124798,_0x20efb1[_0x29f38a(0x1c7)][_0x29f38a(0x153)]),_0x1f198b=(0x0,_0x25f9de[_0x29f38a(0x423)])(_0x1d062f[_0x29f38a(0x142)]),_0x145c8f=(0x0,_0x25f9de[_0x29f38a(0x423)])(_0x20efb1[_0x29f38a(0x2c2)]),_0x4603c3=(0x0,_0xac8e66[_0x29f38a(0x1a7)])(()=>_0x42a252(_0x4959e8),[_0x4959e8]),_0x518f24=_0x4959e8!==_0x20efb1['CollaborationStatus'][_0x29f38a(0x15d)],_0x43431f=_0x1f198b['t'](_0x4603c3[_0x29f38a(0x3ee)]),_0x158ac2=_0x4603c3[_0x29f38a(0x158)]?_0x1f198b['t'](_0x4603c3['tooltipKey']):_0x43431f,_0x4812e8=(0x0,_0xac8e66[_0x29f38a(0x293)])(()=>{const _0x457ee3=_0x29f38a;_0x518f24||_0x145c8f[_0x457ee3(0x21b)]();},[_0x518f24,_0x145c8f]),_0x4d4334=(0x0,_0xac8e66['useCallback'])(_0x1c7c19=>{const _0x8f0347=_0x29f38a;!_0x518f24&&(_0x1c7c19[_0x8f0347(0x1a6)]===_0x8f0347(0x3ff)||_0x1c7c19['key']==='\x20')&&(_0x1c7c19[_0x8f0347(0x252)](),_0x145c8f[_0x8f0347(0x21b)]());},[_0x518f24,_0x145c8f]),_0x50e7cb=(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x14b),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])(_0x29f38a(0x341),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x4603c3[_0x29f38a(0x16a)],{'univer-animate-spin':_0x4603c3[_0x29f38a(0x24f)]===_0x29f38a(0x1b8),'univer-animate-pulse':_0x4603c3[_0x29f38a(0x24f)]===_0x29f38a(0x41c)}),'aria-hidden':_0x29f38a(0x31e),'children':_0x4603c3[_0x29f38a(0x183)]}),_0x1fbe68=(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x14b),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg','univer-transition-all\x20univer-duration-200',_0x29f38a(0x378),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x4603c3[_0x29f38a(0x41f)],'univer-cursor-default':!_0x4603c3[_0x29f38a(0x41f)]}),'children':_0x50e7cb});return _0x4603c3[_0x29f38a(0x41f)]?(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x36848a[_0x29f38a(0x351)],{'title':_0x158ac2,'placement':_0x29f38a(0x2d2),'children':(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x1c6),{'type':_0x29f38a(0x1c6),'onClick':_0x4812e8,'onKeyDown':_0x4d4334,'className':(0x0,_0x36848a['clsx'])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x29f38a(0x3fb),_0x29f38a(0x160),_0x29f38a(0x40c)),'aria-label':_0x43431f+_0x29f38a(0x150)+_0x158ac2,'role':_0x29f38a(0x3ca),'aria-live':_0x29f38a(0x2bf),'aria-atomic':_0x29f38a(0x31e),'children':_0x1fbe68})}):(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x36848a[_0x29f38a(0x351)],{'title':_0x158ac2,'placement':_0x29f38a(0x2d2),'children':(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x3d9),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])(_0x29f38a(0x148),_0x29f38a(0x3fb),_0x29f38a(0x160)),'aria-label':_0x43431f,'role':_0x29f38a(0x3ca),'aria-live':_0x29f38a(0x2bf),'aria-atomic':_0x29f38a(0x31e),'children':_0x1fbe68})});}function _0x56888d(_0x4a0f2c){'@babel/helpers - typeof';const _0x94c2ff=_0x339b6f;return _0x56888d=typeof Symbol=='function'&&typeof Symbol[_0x94c2ff(0x213)]==_0x94c2ff(0x422)?function(_0x3d42af){return typeof _0x3d42af;}:function(_0x4f93bd){const _0x1e2f41=_0x94c2ff;return _0x4f93bd&&typeof Symbol==_0x1e2f41(0x165)&&_0x4f93bd['constructor']===Symbol&&_0x4f93bd!==Symbol[_0x1e2f41(0x15c)]?_0x1e2f41(0x422):typeof _0x4f93bd;},_0x56888d(_0x4a0f2c);}function _0x37e4d0(_0x590cf6,_0x1f4740){const _0x21431d=_0x339b6f;if(_0x56888d(_0x590cf6)!=_0x21431d(0x37f)||!_0x590cf6)return _0x590cf6;var _0x24e249=_0x590cf6[Symbol[_0x21431d(0x380)]];if(_0x24e249!==void 0x0){var _0x4c74b4=_0x24e249[_0x21431d(0x29f)](_0x590cf6,_0x1f4740||_0x21431d(0x312));if(_0x56888d(_0x4c74b4)!=_0x21431d(0x37f))return _0x4c74b4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1f4740===_0x21431d(0x27d)?String:Number)(_0x590cf6);}function _0x1eb7bb(_0x46ec26){const _0x2f25db=_0x339b6f;var _0x2bc9f3=_0x37e4d0(_0x46ec26,_0x2f25db(0x27d));return _0x56888d(_0x2bc9f3)==_0x2f25db(0x422)?_0x2bc9f3:_0x2bc9f3+'';}function _0x1050e7(_0x330a98,_0x2bf9f6,_0xa3e105){const _0xcbf937=_0x339b6f;return(_0x2bf9f6=_0x1eb7bb(_0x2bf9f6))in _0x330a98?Object[_0xcbf937(0x3b9)](_0x330a98,_0x2bf9f6,{'value':_0xa3e105,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x330a98[_0x2bf9f6]=_0xa3e105,_0x330a98;}function _0x21c55a(_0x2d7a36,_0x1a0316){return function(_0x1080df,_0x54ac25){_0x1a0316(_0x1080df,_0x54ac25,_0x2d7a36);};}function _0x8db4f3(_0xe2d024,_0x564045,_0x188b13,_0x5bdbe6){const _0x52b6aa=_0x339b6f;var _0x452096=arguments[_0x52b6aa(0x231)],_0x1b4fb3=_0x452096<0x3?_0x564045:_0x5bdbe6===null?_0x5bdbe6=Object[_0x52b6aa(0x358)](_0x564045,_0x188b13):_0x5bdbe6,_0x3c756c;if(typeof Reflect=='object'&&typeof Reflect[_0x52b6aa(0x374)]==_0x52b6aa(0x165))_0x1b4fb3=Reflect[_0x52b6aa(0x374)](_0xe2d024,_0x564045,_0x188b13,_0x5bdbe6);else{for(var _0x308e28=_0xe2d024[_0x52b6aa(0x231)]-0x1;_0x308e28>=0x0;_0x308e28--)(_0x3c756c=_0xe2d024[_0x308e28])&&(_0x1b4fb3=(_0x452096<0x3?_0x3c756c(_0x1b4fb3):_0x452096>0x3?_0x3c756c(_0x564045,_0x188b13,_0x1b4fb3):_0x3c756c(_0x564045,_0x188b13))||_0x1b4fb3);}return _0x452096>0x3&&_0x1b4fb3&&Object[_0x52b6aa(0x3b9)](_0x564045,_0x188b13,_0x1b4fb3),_0x1b4fb3;}let _0x22b7f5=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x2bb641,_0x2cb03e,_0x2878e6,_0x41af0a){const _0x71cb39=_0x339b6f;super(),this['_univerInstanceService']=_0x2bb641,this[_0x71cb39(0x405)]=_0x2cb03e,this['_collaborationController']=_0x2878e6,this[_0x71cb39(0x204)]=_0x41af0a,_0x1050e7(this,_0x71cb39(0x396),new _0x5df150['BehaviorSubject'](_0x20efb1['CollaborationStatus'][_0x71cb39(0x153)])),this[_0x71cb39(0x246)](),this['_initStatusListener']();}[_0x339b6f(0x18d)](){const _0x577076=_0x339b6f;this['disposeWithMe']((0x0,_0x5df150['merge'])(this['_univerInstanceService']['focused$'],this[_0x577076(0x30f)][_0x577076(0x394)](_0x1d062f[_0x577076(0x397)][_0x577076(0x39d)]),this[_0x577076(0x30f)][_0x577076(0x394)](_0x1d062f[_0x577076(0x397)][_0x577076(0x16f)]))[_0x577076(0x300)]((0x0,_0x231056[_0x577076(0x19d)])(()=>_0x277f5b(this['_univerInstanceService'])),(0x0,_0x231056[_0x577076(0x41a)])(),(0x0,_0x5df150[_0x577076(0x288)])(_0x34f2e6=>_0x34f2e6?this['_collaborationController']['getCollabEntity$'](_0x34f2e6):(0x0,_0x5df150['of'])(null)),(0x0,_0x5df150[_0x577076(0x288)])(_0x599eee=>_0x599eee?_0x599eee['status$']:(0x0,_0x5df150['of'])(_0x20efb1[_0x577076(0x1c7)][_0x577076(0x153)])))[_0x577076(0x3cd)](_0x2ef6af=>{const _0x27aefd=_0x577076;this['_status$'][_0x27aefd(0x1c8)](_0x2ef6af);}));}['_initStatusComponent'](){const _0x2db265=_0x339b6f;this[_0x2db265(0x18c)](this[_0x2db265(0x204)][_0x2db265(0x311)](_0x25f9de[_0x2db265(0x340)]['HEADER_MENU'],()=>(0x0,_0x25f9de[_0x2db265(0x299)])(_0x7a77eb({'status$':this[_0x2db265(0x396)][_0x2db265(0x233)]()}),this[_0x2db265(0x405)])));}};_0x22b7f5=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x275)])),_0x21c55a(0x3,_0x25f9de['IUIPartsService'])],_0x22b7f5);function _0x277f5b(_0x4d1de8){const _0x491849=_0x339b6f;let _0x1dea84=_0x4d1de8[_0x491849(0x32d)](),_0x5ca663=_0x1dea84==null?void 0x0:_0x1dea84[_0x491849(0x2c0)]();if(_0x5ca663&&!(0x0,_0x1d062f[_0x491849(0x387)])(_0x5ca663))return _0x5ca663;let _0x5b52d5=_0x4d1de8[_0x491849(0x375)](_0x1d062f[_0x491849(0x397)][_0x491849(0x39d)]),_0x5c5833=_0x5b52d5==null?void 0x0:_0x5b52d5[_0x491849(0x2c0)]();if(_0x5c5833&&!(0x0,_0x1d062f[_0x491849(0x387)])(_0x5c5833))return _0x5c5833;let _0x4901a6=_0x4d1de8[_0x491849(0x375)](_0x1d062f['UniverInstanceType']['UNIVER_SHEET']);if(_0x4901a6)return _0x4901a6['getUnitId']();let _0xccb35=_0x4d1de8[_0x491849(0x17f)](_0x1d062f['UniverInstanceType'][_0x491849(0x39d)])[_0x491849(0x1fb)](_0x489c9b=>!(0x0,_0x1d062f[_0x491849(0x387)])(_0x489c9b[_0x491849(0x2c0)]()));return _0xccb35?_0xccb35[_0x491849(0x2c0)]():null;}function _0x7a77eb(_0x4cfbd4){let {status$:_0x16a9e3}=_0x4cfbd4;return function(){const _0x536735=_0x405a;return(0x0,_0xd5ac84[_0x536735(0x33c)])(_0x4ee0fa,{'status$':_0x16a9e3});};}let _0x388e4a=(0x0,_0x1d062f[_0x339b6f(0x1f5)])(_0x339b6f(0x235)),_0x8bd3ea=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0xecf6f5,_0x56f05f,_0x3470d7,_0x2a1a67,_0xc62f92){const _0x62c8e5=_0x339b6f;super(),this['_urlService']=_0xecf6f5,this[_0x62c8e5(0x1dc)]=_0x56f05f,this[_0x62c8e5(0x3a4)]=_0x3470d7,this['_dataLoaderService']=_0x2a1a67,_0xc62f92?_0xc62f92==null||_0xc62f92[_0x62c8e5(0x19b)]()[_0x62c8e5(0x3f8)](()=>this[_0x62c8e5(0x1ac)]()):(this['_logService']['debug'](_0x62c8e5(0x384),_0x62c8e5(0x3ab)),this['_init']());}async[_0x339b6f(0x1ac)](){const _0x33de03=_0x339b6f;let _0x1897a8=this['_urlService']['getParam'](_0x33de03(0x3b2)),_0x361235=this[_0x33de03(0x224)][_0x33de03(0x2c4)](_0x33de03(0x1f8)),_0x41f1d3=this[_0x33de03(0x224)][_0x33de03(0x2c4)](_0x33de03(0x319));if(!_0x1897a8||!_0x361235){this[_0x33de03(0x1dc)][_0x33de03(0x2e5)](_0x33de03(0x384),_0x33de03(0x185));return;}let _0x308d4f=await this['_dataLoaderService'][_0x33de03(0x25b)](_0x1897a8,Number(_0x361235),_0x41f1d3);_0x308d4f&&_0x308d4f instanceof _0x1d062f[_0x33de03(0x27a)]&&this[_0x33de03(0x417)](_0x308d4f);}async[_0x339b6f(0x417)](_0x1cd77d){const _0x34c09a=_0x339b6f;await this[_0x34c09a(0x39c)](_0x1cd77d),_0x1cd77d[_0x34c09a(0x26b)][_0x34c09a(0x300)]((0x0,_0x5df150[_0x34c09a(0x154)])(this[_0x34c09a(0x23c)]))[_0x34c09a(0x3cd)](_0x599b4c=>{const _0x212bb4=_0x34c09a;_0x599b4c&&this[_0x212bb4(0x197)](_0x599b4c);}),this[_0x34c09a(0x224)][_0x34c09a(0x2b2)][_0x34c09a(0x300)]((0x0,_0x5df150['takeUntil'])(this[_0x34c09a(0x23c)]))[_0x34c09a(0x3cd)](()=>this[_0x34c09a(0x39c)](_0x1cd77d));}[_0x339b6f(0x197)](_0xce6784,_0x296474=!0x1){const _0x96c48e=_0x339b6f;let _0x354984=this['_urlService'][_0x96c48e(0x2c4)](_0x96c48e(0x319));_0xce6784[_0x96c48e(0x152)]()!==_0x354984&&this[_0x96c48e(0x224)][_0x96c48e(0x40b)](_0x96c48e(0x319),_0xce6784[_0x96c48e(0x152)](),_0x296474);}async[_0x339b6f(0x39c)](_0x13004f){const _0x20f1af=_0x339b6f;var _0x4454a6;let _0x35cb3=this[_0x20f1af(0x224)]['getParam']('subunit');if(!_0x35cb3||!_0x13004f[_0x20f1af(0x3a2)](_0x35cb3)){let _0x4c2661=_0x13004f[_0x20f1af(0x201)]()[0x0],_0x358875=_0x13004f[_0x20f1af(0x3a2)](_0x4c2661);if(!_0x358875)return;this['_updateURLWithCurrentState'](_0x358875,!0x0),await this[_0x20f1af(0x3a4)][_0x20f1af(0x426)](_0x396996[_0x20f1af(0x3c2)]['id'],{'unitId':_0x13004f[_0x20f1af(0x2c0)](),'subUnitId':_0x4c2661});return;}((_0x4454a6=_0x13004f['getActiveSheet']())==null?void 0x0:_0x4454a6[_0x20f1af(0x152)]())!==_0x35cb3&&await this['_commandService'][_0x20f1af(0x426)](_0x396996[_0x20f1af(0x3c2)]['id'],{'unitId':_0x13004f[_0x20f1af(0x2c0)](),'subUnitId':_0x35cb3});}};_0x8bd3ea=_0x8db4f3([_0x21c55a(0x0,_0x388e4a),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x2,_0x1d062f['ICommandService']),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1['DataLoaderService'])),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x15a)])(_0x1a5bc2['IRemoteInstanceService']))],_0x8bd3ea);var _0x5cf5d0=_0x339b6f(0x214),_0x57d268=_0x339b6f(0x3b3);let _0x57c67b=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x53aa11,_0x5b9649){const _0x79eab6=_0x339b6f;super(),this[_0x79eab6(0x38c)]=_0x53aa11,this[_0x79eab6(0x3c0)]=_0x5b9649,this[_0x79eab6(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x135e2f=_0x339b6f;let _0x11a18e=this;this[_0x135e2f(0x18c)](this['_docClipboardService'][_0x135e2f(0x1e4)]({'onBeforePasteImage':async _0x2dab72=>{const _0x19b5bd=_0x135e2f;let _0x5c997b=await _0x11a18e['_imageIoService'][_0x19b5bd(0x2b4)](_0x2dab72);return _0x5c997b?{'source':_0x5c997b[_0x19b5bd(0x22e)],'imageSourceType':_0x5c997b[_0x19b5bd(0x261)]}:null;}}));}};_0x57c67b=_0x8db4f3([_0x21c55a(0x0,_0x1c6b1f[_0x339b6f(0x2b6)]),_0x21c55a(0x1,_0x55bfd1[_0x339b6f(0x25d)])],_0x57c67b);let _0x1a0ae4=[_0x339b6f(0x236),_0x339b6f(0x1b6),'green.600','red.300',_0x339b6f(0x1c5),_0x339b6f(0x250)];var _0x47fa48=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(..._0x46a497){const _0xd2dd4a=_0x339b6f;super(..._0x46a497),_0x1050e7(this,_0xd2dd4a(0x3f3),new Map()),_0x1050e7(this,_0xd2dd4a(0x3cb),0x0);}['assignAColorForMemberID'](_0x4af2f8){const _0x11e48e=_0x339b6f;if(this[_0x11e48e(0x3f3)][_0x11e48e(0x377)](_0x4af2f8))return this[_0x11e48e(0x3f3)][_0x11e48e(0x3fe)](_0x4af2f8);let _0x2912f3=_0x1a0ae4[this[_0x11e48e(0x3cb)]];return this[_0x11e48e(0x3cb)]=(this['_colorIndex']+0x1)%_0x1a0ae4[_0x11e48e(0x231)],this[_0x11e48e(0x3f3)][_0x11e48e(0x3e7)](_0x4af2f8,_0x2912f3),_0x2912f3;}};function _0x508943(_0x30e04d){let _0x23ab4e='';for(let _0x5183cd of _0x30e04d){let {startOffset:_0x2580d8,endOffset:_0x29318e,isActive:_0x46a557,rangeType:_0x3ab92b,segmentId:_0x52e7d0,segmentPage:_0x268d9b}=_0x5183cd;_0x23ab4e['length']&&(_0x23ab4e+=','),_0x23ab4e+=_0x2580d8+':'+_0x29318e+':'+(_0x46a557?'1':'0')+':'+_0x3ab92b+':'+_0x52e7d0+':'+_0x268d9b;}return _0x23ab4e;}function _0x5283db(_0x4d898d){const _0x53e921=_0x339b6f;let _0x170a31=_0x4d898d[_0x53e921(0x3d6)](','),_0x838153=[];for(let _0x3d2063 of _0x170a31){let [_0x44e79b,_0x4eaa64,_0x3c8633,_0x419eef,_0xd83619,_0x56c15e]=_0x3d2063[_0x53e921(0x3d6)](':');_0x838153[_0x53e921(0x411)]({'startOffset':Number(_0x44e79b),'endOffset':Number(_0x4eaa64),'collapsed':_0x44e79b===_0x4eaa64,'isActive':_0x3c8633==='1','rangeType':_0x419eef===_0x1d062f['DOC_RANGE_TYPE'][_0x53e921(0x3e0)]?_0x1d062f[_0x53e921(0x263)]['TEXT']:_0x1d062f[_0x53e921(0x263)][_0x53e921(0x390)],'segmentId':typeof _0xd83619=='string'?String(_0xd83619):'','segmentPage':Number(_0x56c15e==null?-0x1:_0x56c15e)});}return _0x838153[_0x53e921(0x3f2)](_0x3e4731=>_0x3e4731[_0x53e921(0x2e1)])||(_0x838153[0x0][_0x53e921(0x2e1)]=!0x0),_0x838153;}var _0x2b1e68=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(..._0x16d8bd){const _0x48185c=_0x339b6f;super(..._0x16d8bd),_0x1050e7(this,'_collabCursorState$',new _0x5df150[(_0x48185c(0x2ef))](null)),_0x1050e7(this,_0x48185c(0x2ca),this[_0x48185c(0x2f5)][_0x48185c(0x233)]());}[_0x339b6f(0x34f)](_0x17ae53){const _0x2305c6=_0x339b6f;let {unitID:_0x200e17,memberID:_0x42cf91,textRanges:_0x13b7d2}=_0x17ae53,_0x3ded76=_0x508943(_0x13b7d2);if(_0x3ded76==='')return;let _0x591586={'unitID':_0x200e17,'memberID':_0x42cf91,'selection':_0x3ded76};this[_0x2305c6(0x2f5)][_0x2305c6(0x1c8)](_0x591586);}};let _0x46dd2d=class extends _0x1d062f['RxDisposable']{get[_0x339b6f(0x2d6)](){const _0x1b0df1=_0x339b6f;return this[_0x1b0df1(0x3e6)][_0x1b0df1(0x359)]();}get['roomMembers'](){const _0x36ad9f=_0x339b6f;return this[_0x36ad9f(0x26e)][_0x36ad9f(0x359)]();}constructor(_0xbd439f,_0x6003a4,_0x57469e,_0x578826,_0x4e5efb,_0x11f637,_0x35e397,_0x47789f,_0x2d0b81){const _0x431539=_0x339b6f;super(),this['unitID']=_0xbd439f,this['_session']=_0x6003a4,this[_0x431539(0x405)]=_0x57469e,this[_0x431539(0x391)]=_0x578826,this[_0x431539(0x40f)]=_0x4e5efb,this['_syncEditingCollabCursorService']=_0x11f637,this[_0x431539(0x3d2)]=_0x35e397,this['_univerInstanceService']=_0x47789f,this['_commandService']=_0x2d0b81,_0x1050e7(this,_0x431539(0x243),!0x1),_0x1050e7(this,_0x431539(0x1ac),!0x1),_0x1050e7(this,_0x431539(0x3e6),new _0x5df150['BehaviorSubject'](new Map())),_0x1050e7(this,_0x431539(0x379),this[_0x431539(0x3e6)][_0x431539(0x233)]()),_0x1050e7(this,'_roomMembers$',new _0x5df150[(_0x431539(0x2ef))]([])),_0x1050e7(this,_0x431539(0x2ea),this[_0x431539(0x26e)]['pipe']((0x0,_0x5df150['debounceTime'])(0x12c))),_0x1050e7(this,_0x431539(0x418),(0x0,_0x1d062f[_0x431539(0x14e)])(_0x3d68d4=>{const _0x4ff308=_0x431539;let _0x3f80be={'eventID':_0x600789[_0x4ff308(0x219)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4ff308(0x310)],'memberID':this[_0x4ff308(0x2c8)][_0x4ff308(0x164)](),'selection':_0x508943(_0x3d68d4)}};this[_0x4ff308(0x2c8)]['send'](_0x3f80be,this[_0x4ff308(0x310)]);},0x64));}[_0x339b6f(0x39e)](){const _0x2df67e=_0x339b6f;super[_0x2df67e(0x39e)](),this[_0x2df67e(0x3e6)][_0x2df67e(0x1c8)](new Map()),this[_0x2df67e(0x3e6)][_0x2df67e(0x2ba)](),this['_roomMembers$'][_0x2df67e(0x1c8)]([]),this[_0x2df67e(0x26e)][_0x2df67e(0x2ba)]();}[_0x339b6f(0x2e4)](){const _0x513a9d=_0x339b6f;this['_init']||(this[_0x513a9d(0x1ac)]=!0x0,this[_0x513a9d(0x2c8)]['sessionStatus$'][_0x513a9d(0x300)]((0x0,_0x5df150['takeUntil'])(this['dispose$']))['subscribe'](_0x590975=>{const _0x2c8c80=_0x513a9d;_0x590975===_0x20efb1[_0x2c8c80(0x1ff)][_0x2c8c80(0x155)]?this[_0x2c8c80(0x15b)]():this[_0x2c8c80(0x345)]();}),this[_0x513a9d(0x2c8)][_0x513a9d(0x21e)][_0x513a9d(0x300)]((0x0,_0x5df150[_0x513a9d(0x154)])(this['dispose$']))[_0x513a9d(0x3cd)](_0x346581=>{const _0x4844ba=_0x513a9d;let _0x3fb39b=_0x346581[_0x4844ba(0x2f9)];_0x3fb39b===_0x600789[_0x4844ba(0x219)][_0x4844ba(0x40e)]&&this[_0x4844ba(0x2fc)](_0x346581),_0x3fb39b===_0x600789['CollaborationEvent'][_0x4844ba(0x36b)]&&this['_onCursorDelete'](_0x346581);}),this[_0x513a9d(0x18c)](this[_0x513a9d(0x3a4)][_0x513a9d(0x1b0)](_0x44442c=>{const _0x1ec7ed=_0x513a9d;let _0x3649aa=_0x44442c[_0x1ec7ed(0x3c9)];_0x3649aa!=null&&this[_0x1ec7ed(0x243)]&&_0x44442c['id']===_0x55d528[_0x1ec7ed(0x402)]['id']&&_0x3649aa['unitId']===this[_0x1ec7ed(0x310)]&&_0x3649aa['isEditing']===!0x1&&_0x3649aa[_0x1ec7ed(0x354)]['length']>0x0&&this[_0x1ec7ed(0x418)](_0x3649aa['ranges']);})),this[_0x513a9d(0x2fa)][_0x513a9d(0x2ca)][_0x513a9d(0x300)]((0x0,_0x5df150['takeUntil'])(this['dispose$']))['subscribe'](_0xa307fc=>{const _0x3353a6=_0x513a9d;if((_0xa307fc==null?void 0x0:_0xa307fc['unitID'])!==this[_0x3353a6(0x310)])return;let _0x337417={'eventID':_0x600789[_0x3353a6(0x219)][_0x3353a6(0x40e)],'data':_0xa307fc};this[_0x3353a6(0x2fc)](_0x337417);}),this[_0x513a9d(0x18c)](this[_0x513a9d(0x3a4)][_0x513a9d(0x1b0)](_0x10ca22=>{const _0x4dc43a=_0x513a9d;if(_0x10ca22[_0x4dc43a(0x3c9)]==null)return;let _0x4b3903=_0x10ca22[_0x4dc43a(0x3c9)];if(_0x10ca22['id']!==_0x55d528[_0x4dc43a(0x1c1)]['id']||_0x4b3903[_0x4dc43a(0x24e)]!==this[_0x4dc43a(0x310)])return;let _0x347be7={'id':_0x4dc43a(0x234),'params':_0x4b3903},_0x559fbc=this['cursorInfo'];for(let [_0x2bcef5,_0x4c37d3]of _0x559fbc){let _0x2a3cc1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4dc43a(0x310)],'actions':null,'textRanges':_0x4c37d3[_0x4dc43a(0x354)]}},_0x16653f=this[_0x4dc43a(0x3d2)]['transformMutation'](_0x347be7,_0x2a3cc1,!0x1);if((0x0,_0x600789[_0x4dc43a(0x24c)])(_0x16653f))throw _0x16653f['error'];_0x559fbc[_0x4dc43a(0x3e7)](_0x2bcef5,{..._0x4c37d3,'ranges':_0x16653f[_0x4dc43a(0x3b4)][_0x4dc43a(0x3c9)]['textRanges']});}queueMicrotask(()=>{const _0x3cac36=_0x4dc43a;this[_0x3cac36(0x3e6)][_0x3cac36(0x1c8)](_0x559fbc);});})));}['_onCursorUpdate'](_0x515796){const _0x543538=_0x339b6f;var _0x252b6f,_0x2a4c4b;let {memberID:_0x54b83f,selection:_0x1f6396}=_0x515796[_0x543538(0x33e)],_0x3728e3=_0x5283db(_0x1f6396),_0x3af45b=(_0x252b6f=(_0x2a4c4b=this[_0x543538(0x40f)][_0x543538(0x321)](this[_0x543538(0x310)],_0x54b83f))==null?void 0x0:_0x2a4c4b[_0x543538(0x318)])==null?_0x543538(0x217):_0x252b6f,_0x4824d5={'color':this[_0x543538(0x391)][_0x543538(0x1de)](_0x54b83f),'name':_0x3af45b,'ranges':_0x3728e3},_0x47b93d=this[_0x543538(0x2d6)];_0x47b93d[_0x543538(0x3e7)](_0x54b83f,_0x4824d5),this[_0x543538(0x3e6)][_0x543538(0x1c8)](_0x47b93d);}[_0x339b6f(0x296)](_0x4594e5){const _0x3fc289=_0x339b6f;let {memberID:_0x6ac76}=_0x4594e5[_0x3fc289(0x33e)],_0x53aa6a=this['cursorInfo'];_0x53aa6a[_0x3fc289(0x229)](_0x6ac76),this[_0x3fc289(0x3e6)][_0x3fc289(0x1c8)](_0x53aa6a);}[_0x339b6f(0x15b)](){const _0x379173=_0x339b6f;var _0x1549f7;if(this[_0x379173(0x243)]=!0x0,((_0x1549f7=this[_0x379173(0x30f)][_0x379173(0x32d)]())==null?void 0x0:_0x1549f7[_0x379173(0x2c0)]())!==this['unitID'])return;let _0x450edd=this['_injector'][_0x379173(0x3fe)](_0x55d528[_0x379173(0x3a6)])[_0x379173(0x357)]();Array[_0x379173(0x1df)](_0x450edd)&&_0x450edd[_0x379173(0x231)]>0x0&&this[_0x379173(0x418)](_0x450edd);}['_toggleOffline'](){const _0x3764e2=_0x339b6f;this[_0x3764e2(0x243)]=!0x1;}};_0x46dd2d=_0x8db4f3([_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x47fa48)),_0x21c55a(0x4,(0x0,_0x1d062f['Inject'])(_0x20efb1['MemberService'])),_0x21c55a(0x5,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2b1e68)),_0x21c55a(0x6,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x7,_0x1d062f['IUniverInstanceService']),_0x21c55a(0x8,_0x1d062f[_0x339b6f(0x2a0)])],_0x46dd2d);let _0x1f9a72=()=>{let _0x72d455=[],_0x308392=!0x1;return _0xb2c1dd=>{_0x72d455['push'](_0xb2c1dd),_0x308392||(_0x308392=!0x0,setTimeout(()=>{const _0x25cf5f=_0x405a;_0x72d455[_0x25cf5f(0x159)](_0x55f75b=>_0x55f75b()),_0x72d455=[],_0x308392=!0x1;}));};},_0x2ae18d=class extends _0x1d062f['RxDisposable']{get[_0x339b6f(0x2d6)](){const _0x221736=_0x339b6f;return this[_0x221736(0x3e6)][_0x221736(0x359)]();}get[_0x339b6f(0x2e6)](){const _0x5b5e3a=_0x339b6f;return this[_0x5b5e3a(0x26e)]['getValue']();}constructor(_0x4c5a2f,_0x482618,_0x253231,_0x35a672,_0x4d1f90,_0x42937a,_0x40d8e1,_0x44a212){const _0x304dd5=_0x339b6f;super(),this[_0x304dd5(0x310)]=_0x4c5a2f,this['_session']=_0x482618,this[_0x304dd5(0x405)]=_0x253231,this['_colorAssignService']=_0x35a672,this[_0x304dd5(0x40f)]=_0x4d1f90,this[_0x304dd5(0x30f)]=_0x42937a,this[_0x304dd5(0x3a4)]=_0x40d8e1,this[_0x304dd5(0x34a)]=_0x44a212,_0x1050e7(this,'_online',!0x1),_0x1050e7(this,_0x304dd5(0x1ac),!0x1),_0x1050e7(this,_0x304dd5(0x3e6),new _0x5df150[(_0x304dd5(0x2ef))](new Map())),_0x1050e7(this,_0x304dd5(0x379),this[_0x304dd5(0x3e6)][_0x304dd5(0x233)]()),_0x1050e7(this,_0x304dd5(0x26e),new _0x5df150['BehaviorSubject']([])),_0x1050e7(this,'roomMembers$',this[_0x304dd5(0x26e)][_0x304dd5(0x300)]((0x0,_0x5df150[_0x304dd5(0x31d)])(0x12c))),_0x1050e7(this,_0x304dd5(0x418),(0x0,_0x1d062f[_0x304dd5(0x14e)])((_0x411668,_0xe97204)=>{const _0x3b4178=_0x304dd5;let _0x58abde={'eventID':_0x600789[_0x3b4178(0x219)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3b4178(0x164)](),'selection':(0x0,_0x4f0b10[_0x3b4178(0x3de)])(_0x411668,_0xe97204['range'])}};this[_0x3b4178(0x2c8)][_0x3b4178(0x1c2)](_0x58abde,this[_0x3b4178(0x310)]);},0x64));}['dispose'](){const _0x546bf0=_0x339b6f;super[_0x546bf0(0x39e)](),this['_cursorInfo$'][_0x546bf0(0x1c8)](new Map()),this[_0x546bf0(0x3e6)][_0x546bf0(0x2ba)](),this['_roomMembers$'][_0x546bf0(0x1c8)]([]),this[_0x546bf0(0x26e)][_0x546bf0(0x2ba)]();}['init'](){const _0x824305=_0x339b6f;this['_init']||(this['_init']=!0x0,this[_0x824305(0x2c8)]['sessionStatus$']['pipe']((0x0,_0x5df150['takeUntil'])(this[_0x824305(0x23c)]))[_0x824305(0x3cd)](_0x209100=>{const _0x10f85c=_0x824305;_0x209100===_0x20efb1[_0x10f85c(0x1ff)][_0x10f85c(0x155)]?this[_0x10f85c(0x15b)]():this[_0x10f85c(0x345)]();}),this['_session'][_0x824305(0x21e)]['pipe']((0x0,_0x5df150['takeUntil'])(this[_0x824305(0x23c)]))[_0x824305(0x3cd)](_0x407948=>{const _0x25e592=_0x824305;let _0x29aa2b=_0x407948[_0x25e592(0x2f9)];_0x29aa2b===_0x600789[_0x25e592(0x219)][_0x25e592(0x40e)]&&this['_onCursorUpdate'](_0x407948),_0x29aa2b===_0x600789[_0x25e592(0x219)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x407948);}),this['_onRefRangeChange'](),this[_0x824305(0x18c)](this['_commandService'][_0x824305(0x1b0)](_0x5736bd=>{const _0x5bee4b=_0x824305;if(this[_0x5bee4b(0x243)]&&_0x5736bd['id']===_0x396996[_0x5bee4b(0x20b)]['id']&&_0x5736bd[_0x5bee4b(0x3c9)]['unitId']===this['unitID']){let _0x50d59b=_0x5736bd[_0x5bee4b(0x3c9)];this[_0x5bee4b(0x418)](_0x50d59b[_0x5bee4b(0x2d1)],_0x50d59b[_0x5bee4b(0x3d4)][0x0]);}})));}[_0x339b6f(0x2fc)](_0x483dc4){const _0x45512a=_0x339b6f;var _0x43608b,_0x302a31;let {memberID:_0x37a3a6,selection:_0x2c0e65}=_0x483dc4[_0x45512a(0x33e)],{sheetName:_0x538475,range:_0x78f254}=(0x0,_0x4f0b10[_0x45512a(0x2f6)])(_0x2c0e65),_0x4bb234={'name':(_0x43608b=(_0x302a31=this[_0x45512a(0x40f)][_0x45512a(0x321)](this[_0x45512a(0x310)],_0x37a3a6))==null?void 0x0:_0x302a31[_0x45512a(0x318)])==null?_0x45512a(0x217):_0x43608b,'range':this[_0x45512a(0x1d6)](_0x538475,_0x78f254),'sheetID':_0x538475,'color':this['_colorAssignService'][_0x45512a(0x1de)](_0x37a3a6),'selection':_0x2c0e65},_0x10180c=this['cursorInfo'];_0x10180c[_0x45512a(0x3e7)](_0x37a3a6,_0x4bb234),this[_0x45512a(0x3e6)][_0x45512a(0x1c8)](_0x10180c);}['_onCursorDelete'](_0x374889){const _0x148773=_0x339b6f;let {memberID:_0x2f8f29}=_0x374889['data'],_0x10ff30=this['cursorInfo'];_0x10ff30[_0x148773(0x229)](_0x2f8f29),this['_cursorInfo$']['next'](_0x10ff30);}[_0x339b6f(0x1d6)](_0x119823,_0x439905){const _0x25cb9c=_0x339b6f;var _0x363eb8;let _0x54cc58=(_0x363eb8=this[_0x25cb9c(0x30f)][_0x25cb9c(0x392)](this[_0x25cb9c(0x310)]))==null||(_0x363eb8=_0x363eb8['getSheetBySheetId'](_0x119823))==null?void 0x0:_0x363eb8[_0x25cb9c(0x1ca)]();return(_0x54cc58==null?void 0x0:_0x54cc58[_0x25cb9c(0x1fb)](_0x3084d4=>_0x1d062f['Rectangle']['contains'](_0x3084d4,_0x439905)))||_0x439905;}['_onRefRangeChange'](){const _0xdf8b9=_0x339b6f;let _0x54ea51=new _0x1d062f[(_0xdf8b9(0x239))](),_0x488e7a=_0x1f9a72(),_0x26c0f4=()=>{const _0x520e3e=_0xdf8b9;_0x54ea51[_0x520e3e(0x39e)]();let _0x1ff0b6=(_0x55465a,_0x260a6e,_0xa0efd1,_0x3ca4b1)=>{const _0x36fc85=_0x520e3e;let _0x2d36e1=[];switch(_0x55465a['id']){case _0x396996['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x2d36e1=(0x0,_0x396996['handleDeleteRangeMoveLeft'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x337)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x3c1)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x189)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x2cc)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x205)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x242)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['InsertRangeMoveRightCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x277)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x3b8)]:_0x2d36e1=(0x0,_0x396996['handleInsertRow'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['MoveRangeCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x367)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['RemoveColCommandId']:_0x2d36e1=(0x0,_0x396996['handleIRemoveCol'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['RemoveRowCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x22c)])(_0x55465a,_0x3ca4b1);break;}let _0x269372=(0x0,_0x396996[_0x36fc85(0x3b6)])(_0x2d36e1,_0x3ca4b1),_0x83c5a3=this['cursorInfo'][_0x36fc85(0x3fe)](_0x260a6e);if(_0x83c5a3&&_0x269372){let _0x3f6acf={..._0x83c5a3,'range':_0x269372};this[_0x36fc85(0x2d6)][_0x36fc85(0x3e7)](_0x260a6e,_0x3f6acf),_0x488e7a(()=>{const _0x106381=_0x36fc85;let _0x323e48=this[_0x106381(0x34a)][_0x106381(0x1cc)](_0x269372,_0x4091c8=>(_0x323e48['dispose'](),_0x1ff0b6(_0x4091c8,_0x260a6e,_0xa0efd1,_0x269372)));_0x54ea51[_0x106381(0x30e)](_0x323e48);});}return{'redos':[],'undos':[]};};this[_0x520e3e(0x2d6)][_0x520e3e(0x159)]((_0x7b165,_0x17309c)=>{const _0x4fa7ab=_0x520e3e;let {range:_0x2e4952,sheetID:_0x29a4c0}=_0x7b165,_0x59ae70=this[_0x4fa7ab(0x34a)]['registerRefRange'](_0x2e4952,_0x53de25=>(_0x59ae70[_0x4fa7ab(0x39e)](),_0x1ff0b6(_0x53de25,_0x17309c,_0x29a4c0,_0x2e4952)));_0x54ea51[_0x4fa7ab(0x30e)](_0x59ae70);});};this[_0xdf8b9(0x18c)]((0x0,_0x1d062f[_0xdf8b9(0x1fe)])(this[_0xdf8b9(0x3e6)][_0xdf8b9(0x3cd)](()=>{_0x26c0f4();})));}[_0x339b6f(0x15b)](){const _0x4b67db=_0x339b6f;var _0x1c631f,_0xe8961d;if(this[_0x4b67db(0x243)]=!0x0,((_0x1c631f=this[_0x4b67db(0x30f)]['getFocusedUnit']())==null?void 0x0:_0x1c631f[_0x4b67db(0x2c0)]())!==this[_0x4b67db(0x310)])return;let _0xdb17f8=(_0xe8961d=this[_0x4b67db(0x405)]['get'](_0x396996[_0x4b67db(0x199)])[_0x4b67db(0x21f)]())==null?void 0x0:_0xe8961d[0x0],_0x2a7916=this[_0x4b67db(0x30f)][_0x4b67db(0x375)](_0x1d062f[_0x4b67db(0x397)]['UNIVER_SHEET'])[_0x4b67db(0x1a3)]();_0xdb17f8&&_0x2a7916&&this[_0x4b67db(0x418)](_0x2a7916[_0x4b67db(0x152)](),_0xdb17f8);}[_0x339b6f(0x345)](){const _0x273fb9=_0x339b6f;this[_0x273fb9(0x243)]=!0x1;}};_0x2ae18d=_0x8db4f3([_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,(0x0,_0x1d062f['Inject'])(_0x47fa48)),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x141)])),_0x21c55a(0x5,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x6,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x7,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x396996[_0x339b6f(0x346)]))],_0x2ae18d);let _0xe35be2=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x15123c,_0x4fa4e5,_0x47b97f){const _0xae22e5=_0x339b6f;super(),this['_univerInstanceService']=_0x15123c,this[_0xae22e5(0x405)]=_0x4fa4e5,this[_0xae22e5(0x3e2)]=_0x47b97f,_0x1050e7(this,_0xae22e5(0x221),new Map()),_0x1050e7(this,_0xae22e5(0x393),new _0x5df150[(_0xae22e5(0x222))]()),this['_init']();}[_0x339b6f(0x39e)](){const _0x15a95a=_0x339b6f;super[_0x15a95a(0x39e)](),this[_0x15a95a(0x393)][_0x15a95a(0x2ba)](),this[_0x15a95a(0x221)][_0x15a95a(0x159)](_0x186d63=>_0x186d63[_0x15a95a(0x39e)]());}[_0x339b6f(0x1a2)](_0x36517a){const _0x2475ea=_0x339b6f;return this['_entities'][_0x2475ea(0x377)](_0x36517a)?this[_0x2475ea(0x221)]['get'](_0x36517a)['cursorInfo$']:this[_0x2475ea(0x393)][_0x2475ea(0x300)]((0x0,_0x5df150[_0x2475ea(0x361)])(_0x36093e=>_0x36093e[_0x2475ea(0x310)]===_0x36517a),(0x0,_0x5df150['switchMap'])(_0xf3926d=>_0xf3926d[_0x2475ea(0x379)]));}['_init'](){const _0x4f1eeb=_0x339b6f;this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x1fd)](_0x1d062f['UniverInstanceType']['UNIVER_SHEET'])[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))['subscribe'](async _0x5d4ae4=>{const _0x3ab1e2=_0x4f1eeb;let _0x12e4ed=_0x5d4ae4['unit'][_0x3ab1e2(0x2c0)](),_0x5d2bef=await this[_0x3ab1e2(0x22b)](_0x12e4ed);this[_0x3ab1e2(0x393)][_0x3ab1e2(0x1c8)](_0x5d2bef),this[_0x3ab1e2(0x221)]['set'](_0x12e4ed,_0x5d2bef);}),this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x1fd)](_0x1d062f[_0x4f1eeb(0x397)]['UNIVER_DOC'])[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))[_0x4f1eeb(0x300)]((0x0,_0x5df150['filter'])(_0x1a9263=>!_0x1a9263[_0x4f1eeb(0x3b2)][_0x4f1eeb(0x2c0)]()[_0x4f1eeb(0x20c)]('__')))['subscribe'](async _0x329967=>{const _0x3b66d4=_0x4f1eeb;let {unit:_0x365638}=_0x329967,_0xa8c036=_0x365638[_0x3b66d4(0x2c0)](),_0x52a41c=await this[_0x3b66d4(0x3c5)](_0xa8c036);this['_entityInit$']['next'](_0x52a41c),this[_0x3b66d4(0x221)][_0x3b66d4(0x3e7)](_0xa8c036,_0x52a41c);}),(0x0,_0x5df150[_0x4f1eeb(0x17d)])(this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x294)](_0x1d062f[_0x4f1eeb(0x397)][_0x4f1eeb(0x39d)]),this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x294)](_0x1d062f[_0x4f1eeb(0x397)]['UNIVER_SHEET']))[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))['subscribe'](_0x109259=>{const _0xaf0aa7=_0x4f1eeb;let _0x3b93a5=_0x109259[_0xaf0aa7(0x2c0)](),_0x4ab989=this[_0xaf0aa7(0x221)]['get'](_0x3b93a5);_0x4ab989&&(_0x4ab989[_0xaf0aa7(0x39e)](),this[_0xaf0aa7(0x221)][_0xaf0aa7(0x229)](_0x3b93a5));});}async['_startSheetCollabCursor'](_0x5701ed){const _0x5d9d80=_0x339b6f;let _0x5514f1=await this['_collabSessionService'][_0x5d9d80(0x388)](_0x5701ed),_0x2a8885=this['_injector']['createInstance'](_0x2ae18d,_0x5701ed,_0x5514f1);return _0x2a8885[_0x5d9d80(0x2e4)](),_0x2a8885;}async[_0x339b6f(0x3c5)](_0x101c4d){const _0x491adb=_0x339b6f;let _0xe292be=await this[_0x491adb(0x3e2)][_0x491adb(0x388)](_0x101c4d),_0x4669bf=this[_0x491adb(0x405)]['createInstance'](_0x46dd2d,_0x101c4d,_0xe292be);return _0x4669bf[_0x491adb(0x2e4)](),_0x4669bf;}};_0xe35be2=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f['Injector'])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2c2)]))],_0xe35be2);function _0x5d9e82(_0x5a5d46,_0x145505){const _0x52f867=_0x339b6f;var _0xdf41fa,_0x326d10,_0x90207e;let {radius:_0x29999e,width:_0x463dc5,height:_0x57b60b}=_0x145505;_0x29999e=(_0xdf41fa=_0x29999e)==null?0x0:_0xdf41fa,_0x463dc5=(_0x326d10=_0x463dc5)==null?0x1e:_0x326d10,_0x57b60b=(_0x90207e=_0x57b60b)==null?0x1e:_0x90207e;let _0x6f8f2c=0x0,_0x569592=0x0,_0x24489b=0x0;_0x6f8f2c=_0x569592=_0x24489b=Math[_0x52f867(0x38a)](_0x29999e,_0x463dc5/0x2,_0x57b60b/0x2),_0x5a5d46[_0x52f867(0x268)](),_0x5a5d46[_0x52f867(0x1ea)](_0x6f8f2c,0x0),_0x5a5d46[_0x52f867(0x26d)](_0x463dc5-_0x569592,0x0),_0x5a5d46[_0x52f867(0x2ce)](_0x463dc5-_0x569592,_0x569592,_0x569592,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a5d46[_0x52f867(0x26d)](_0x463dc5,_0x57b60b-_0x24489b),_0x5a5d46['arc'](_0x463dc5-_0x24489b,_0x57b60b-_0x24489b,_0x24489b,0x0,Math['PI']/0x2,!0x1),_0x5a5d46['lineTo'](0x0,_0x57b60b),_0x5a5d46[_0x52f867(0x26d)](0x0,_0x6f8f2c),_0x5a5d46[_0x52f867(0x2ce)](_0x6f8f2c,_0x6f8f2c,_0x6f8f2c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a5d46[_0x52f867(0x19a)](),_0x145505[_0x52f867(0x34b)]&&(_0x5a5d46[_0x52f867(0x211)](),_0x5a5d46[_0x52f867(0x309)]=_0x145505[_0x52f867(0x34b)],_0x145505[_0x52f867(0x421)]===_0x52f867(0x36c)?_0x5a5d46['fill'](_0x52f867(0x36c)):_0x5a5d46[_0x52f867(0x34b)](),_0x5a5d46['restore']());}var _0x34d0f3=class _0x4c44ce extends _0xc630f2[_0x339b6f(0x17e)]{constructor(_0x4c487c,_0x3ae490){const _0x44a19d=_0x339b6f;super(_0x4c487c,_0x3ae490),_0x1050e7(this,'color',void 0x0),_0x1050e7(this,_0x44a19d(0x1bd),void 0x0),this[_0x44a19d(0x230)]=_0x3ae490==null?void 0x0:_0x3ae490[_0x44a19d(0x230)],this['text']=_0x3ae490==null?void 0x0:_0x3ae490[_0x44a19d(0x1bd)];}static['drawWith'](_0x27860b,_0x2972c4){const _0x24fb60=_0x339b6f;let {text:_0x13437a,color:_0x1a7bea}=_0x2972c4;_0x27860b[_0x24fb60(0x211)](),_0x27860b[_0x24fb60(0x2cf)]=_0x24fb60(0x265);let _0x3a2e98=_0x27860b[_0x24fb60(0x343)](_0x13437a)[_0x24fb60(0x413)];if(_0x5d9e82(_0x27860b,{'height':0x14,'radius':0x4,'width':Math[_0x24fb60(0x38a)](_0x3a2e98+0x8,0xc8),'fill':_0x1a7bea,'evented':!0x1}),_0x27860b[_0x24fb60(0x309)]='#FFF',_0x3a2e98>0xc0){let _0x4a8fe7='',_0x5935da=0x0;for(let _0x4ccdef of _0x13437a){let _0x24c898=_0x27860b[_0x24fb60(0x343)](_0x4ccdef)[_0x24fb60(0x413)];if(_0x5935da+_0x24c898<=0xc0-_0x27860b[_0x24fb60(0x343)](_0x24fb60(0x2f0))[_0x24fb60(0x413)])_0x4a8fe7+=_0x4ccdef,_0x5935da+=_0x24c898;else{_0x4a8fe7+='...';break;}}_0x27860b[_0x24fb60(0x1b9)](_0x4a8fe7,0x4,0xf);}else _0x27860b['fillText'](_0x13437a,0x4,0xf);_0x27860b[_0x24fb60(0x209)]();}[_0x339b6f(0x220)](_0x5803ab){const _0x52ea1e=_0x339b6f;_0x4c44ce[_0x52ea1e(0x32f)](_0x5803ab,this);}};let _0x91abee='collab-text-anchor-';var _0x338f74=class{constructor(_0x5e9087,_0xc05dc4,_0x31697b,_0x592f1b){const _0x183fdd=_0x339b6f;this[_0x183fdd(0x191)]=_0x5e9087,this[_0x183fdd(0x313)]=_0xc05dc4,this['_docSkeleton']=_0x31697b,this[_0x183fdd(0x37b)]=_0x592f1b,_0x1050e7(this,_0x183fdd(0x196),[]),_0x1050e7(this,_0x183fdd(0x287),null),_0x1050e7(this,_0x183fdd(0x188),null),_0x1050e7(this,_0x183fdd(0x3e9),null),_0x1050e7(this,_0x183fdd(0x1af),null),_0x1050e7(this,_0x183fdd(0x1bc),null),this[_0x183fdd(0x190)]();}set[_0x339b6f(0x292)](_0x22f37c){const _0x63e7c8=_0x339b6f;_0x22f37c?(this[_0x63e7c8(0x3e9)]&&this[_0x63e7c8(0x3e9)][_0x63e7c8(0x37d)](),this['_textBubble']&&this[_0x63e7c8(0x188)][_0x63e7c8(0x1e3)]()):(this[_0x63e7c8(0x3e9)]&&this[_0x63e7c8(0x3e9)][_0x63e7c8(0x1e3)](),this[_0x63e7c8(0x188)]&&this[_0x63e7c8(0x188)][_0x63e7c8(0x37d)]());}[_0x339b6f(0x39e)](){const _0x19f252=_0x339b6f;for(let _0x204e7f of this[_0x19f252(0x196)])_0x204e7f[_0x19f252(0x39e)]();this['_textBubble']&&this['_textBubble'][_0x19f252(0x39e)](),this[_0x19f252(0x3e9)]&&this[_0x19f252(0x3e9)][_0x19f252(0x39e)](),this[_0x19f252(0x287)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x19f252(0x1bc)]();}[_0x339b6f(0x190)](){const _0x5e98aa=_0x339b6f;let {_docSkeleton:_0x1e82a5,_document:_0x42e02b}=this,{color:_0x4e3ff4,name:_0x467f6d,ranges:_0x158c5a}=this[_0x5e98aa(0x191)],_0x1ba043=_0x42e02b[_0x5e98aa(0x2b0)](),{docsLeft:_0x7b334c,docsTop:_0x2e3919}=_0x1ba043,_0x112c69=new _0x1c6b1f['NodePositionConvertToCursor'](_0x1ba043,_0x1e82a5);for(let {startOffset:_0xf8b5b1,endOffset:_0x5d8d77,rangeType:_0x4292a7,segmentId:_0x5daebb,segmentPage:_0x349a6d,collapsed:_0x50c225,isActive:_0x5362b5}of _0x158c5a){let _0x362aef=_0x1e82a5['findNodePositionByCharIndex'](_0xf8b5b1,!0x0,_0x5daebb,_0x349a6d),_0x50ad21=_0x1e82a5[_0x5e98aa(0x167)](_0x5d8d77,!0x0,_0x5daebb,_0x349a6d);if(_0x50ad21==null&&(_0x50ad21=_0x1e82a5[_0x5e98aa(0x167)](_0x5d8d77-0x1,!0x1,_0x5daebb,_0x349a6d)),_0x5362b5){let {contentBoxPointGroup:_0x39fc84}=_0x112c69[_0x5e98aa(0x352)](_0x50ad21,_0x50ad21);if(_0x39fc84[_0x5e98aa(0x231)]===0x0)continue;this[_0x5e98aa(0x3ed)](_0x4e3ff4,_0x39fc84,_0x7b334c,_0x2e3919,_0x467f6d),this[_0x5e98aa(0x1bc)]=this[_0x5e98aa(0x305)]();}if(_0x362aef&&_0x50ad21){if(_0x4292a7===_0x1d062f['DOC_RANGE_TYPE'][_0x5e98aa(0x390)]){var _0x5f275d;let {pointGroup:_0x51e215}=(_0x5f275d=new _0x1c6b1f[(_0x5e98aa(0x1f6))](_0x1ba043,_0x1e82a5)[_0x5e98aa(0x352)](_0x362aef,_0x50ad21))==null?{}:_0x5f275d;if(_0x51e215==null||_0x51e215['length']===0x0)continue;this[_0x5e98aa(0x2fe)](_0x4e3ff4,_0x51e215,_0x7b334c,_0x2e3919);}else{if(!_0x50c225){let {borderBoxPointGroup:_0x25b057}=_0x112c69[_0x5e98aa(0x352)](_0x362aef,_0x50ad21);if(_0x25b057[_0x5e98aa(0x231)]===0x0)continue;this[_0x5e98aa(0x1d3)](_0x4e3ff4,_0x25b057,_0x7b334c,_0x2e3919);}}}}}[_0x339b6f(0x3ed)](_0x56916f,_0x4f1579,_0x1b85a5,_0x1cae80,_0x8fd2ed){const _0x35111d=_0x339b6f;let {left:_0x2fb7c9,top:_0x3ee6ff,height:_0x90ae99}=this['_getAnchorBounding'](_0x4f1579),_0x18d432=1.5/this[_0x35111d(0x3bf)](),_0x29a359=new _0xc630f2[(_0x35111d(0x2eb))](_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80,'height':_0x90ae99,'width':1.5,'fill':_0x56916f||(0x0,_0xc630f2[_0x35111d(0x1e5)])(_0x1d062f[_0x35111d(0x403)][_0x35111d(0x206)],0x0),'strokeWidth':_0x18d432,'stroke':_0x35111d(0x23d),'evented':!0x0});this[_0x35111d(0x287)]=_0x29a359,this[_0x35111d(0x313)]['addObject'](_0x29a359,_0x1c6b1f[_0x35111d(0x247)]);let _0xf01dc0=new _0xc630f2[(_0x35111d(0x2eb))](_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x56916f||(0x0,_0xc630f2[_0x35111d(0x1e5)])(_0x1d062f[_0x35111d(0x403)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56916f||(0x0,_0xc630f2['getColor'])(_0x1d062f[_0x35111d(0x403)][_0x35111d(0x206)],0x0),'evented':!0x1});this[_0x35111d(0x3e9)]=_0xf01dc0,this[_0x35111d(0x313)][_0x35111d(0x39a)](_0xf01dc0,_0x1c6b1f[_0x35111d(0x247)]);let _0x3f32b2=new _0x34d0f3(_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80-0x14,'text':_0x8fd2ed,'color':_0x56916f});this['_textBubble']=_0x3f32b2,this[_0x35111d(0x313)][_0x35111d(0x39a)](_0x3f32b2,_0x1c6b1f['TEXT_RANGE_LAYER_INDEX']),this[_0x35111d(0x292)]=!0x1;}[_0x339b6f(0x305)](){const _0x2b9ef2=_0x339b6f;let _0x187e89=this['_anchor']['onPointerEnter$'][_0x2b9ef2(0x31b)](()=>{const _0x4e7203=_0x2b9ef2;this[_0x4e7203(0x292)]=!0x0;}),_0x29ef8e=this[_0x2b9ef2(0x287)][_0x2b9ef2(0x149)][_0x2b9ef2(0x31b)](()=>{const _0x1e4380=_0x2b9ef2;this[_0x1e4380(0x1af)]&&clearTimeout(this[_0x1e4380(0x1af)]),this[_0x1e4380(0x1af)]=setTimeout(()=>{const _0xf19f7a=_0x1e4380;this[_0xf19f7a(0x292)]=!0x1;},0x7d0);});return()=>{const _0x1003d6=_0x2b9ef2;_0x187e89[_0x1003d6(0x171)](),_0x29ef8e[_0x1003d6(0x171)]();};}[_0x339b6f(0x1d3)](_0x2080d9,_0x48d8a1,_0x566d0b,_0xe5c0c1){const _0x4d9430=_0x339b6f;let _0x54cdd8=0.2,_0x34d3c9=new _0x1d062f[(_0x4d9430(0x329))](_0x2080d9)[_0x4d9430(0x3ac)](_0x54cdd8)['toRgbString'](),_0x39ebf6=new _0xc630f2[(_0x4d9430(0x14d))]('collab-text-range-'+(0x0,_0x1d062f[_0x4d9430(0x409)])(0x6),{'pointsGroup':_0x48d8a1,'fill':_0x34d3c9||(0x0,_0xc630f2[_0x4d9430(0x1e5)])(_0x1d062f[_0x4d9430(0x403)][_0x4d9430(0x206)],_0x54cdd8),'left':_0x566d0b,'top':_0xe5c0c1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d9430(0x196)][_0x4d9430(0x411)](_0x39ebf6),this['_scene'][_0x4d9430(0x39a)](_0x39ebf6,_0x1c6b1f['TEXT_RANGE_LAYER_INDEX']);}[_0x339b6f(0x2fe)](_0x255656,_0x5750bf,_0x5bcdd7,_0x41bb2a){const _0x1d6606=_0x339b6f;let _0x3d38e3=0.2,_0x5e9ae9=new _0x1d062f[(_0x1d6606(0x329))](_0x255656)[_0x1d6606(0x3ac)](_0x3d38e3)['toRgbString'](),_0x9964be=new _0xc630f2[(_0x1d6606(0x14d))]('collab-rect-range-'+(0x0,_0x1d062f[_0x1d6606(0x409)])(0x6),{'pointsGroup':_0x5750bf,'fill':_0x5e9ae9||(0x0,_0xc630f2[_0x1d6606(0x1e5)])(_0x1d062f[_0x1d6606(0x403)][_0x1d6606(0x206)],_0x3d38e3),'left':_0x5bcdd7,'top':_0x41bb2a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d6606(0x196)]['push'](_0x9964be),this[_0x1d6606(0x313)]['addObject'](_0x9964be,_0x1c6b1f[_0x1d6606(0x247)]);}['_getAnchorBounding'](_0x20680e){let _0x4602fd=_0x20680e[0x0],_0x5c4761=_0x4602fd[0x0],_0x40effb=_0x4602fd[0x2],{x:_0x16f44a,y:_0x5e0f32}=_0x5c4761,{x:_0x592753,y:_0xf3348a}=_0x40effb;return{'left':_0x16f44a,'top':_0x5e0f32,'width':_0x592753-_0x16f44a,'height':_0xf3348a-_0x5e0f32};}[_0x339b6f(0x3bf)](){const _0x198b39=_0x339b6f;let {scaleX:_0x2c2852,scaleY:_0x265997}=this['_scene'][_0x198b39(0x38e)]();return Math[_0x198b39(0x1fc)](_0x2c2852,_0x265997);}};let _0x1993ee=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x88c1a5,_0x193bf8,_0x27b4a7,_0x723228,_0x12da7f){const _0x4ad199=_0x339b6f;super(),this['_context']=_0x88c1a5,this['_docSkeletonManagerService']=_0x193bf8,this[_0x4ad199(0x215)]=_0x27b4a7,this[_0x4ad199(0x3a4)]=_0x723228,this[_0x4ad199(0x30b)]=_0x12da7f,_0x1050e7(this,'_cursorShapes',[]),_0x1050e7(this,_0x4ad199(0x245),[]),this['_init']();}['_init'](){const _0x5d2460=_0x339b6f;let _0x44aa23=this[_0x5d2460(0x35b)]['unitId'],_0x4af419=this['_docSkeletonManagerService'];this[_0x5d2460(0x18c)]((0x0,_0x5df150[_0x5d2460(0x2a1)])([this['_collabCursorController'][_0x5d2460(0x1a2)](_0x44aa23),this[_0x5d2460(0x30b)][_0x5d2460(0x248)]])['pipe']((0x0,_0x231056[_0x5d2460(0x19d)])(([_0x2b6632,_0x1fafed])=>({'skeleton':_0x4af419[_0x5d2460(0x207)](),'cursors':[..._0x2b6632[_0x5d2460(0x2a6)]()][_0x5d2460(0x249)](_0x28a922=>({..._0x28a922,'color':this[_0x5d2460(0x30b)][_0x5d2460(0x306)](_0x28a922[_0x5d2460(0x230)])}))})))[_0x5d2460(0x3cd)](_0x4d0912=>{const _0x11d5c5=_0x5d2460;if(this[_0x11d5c5(0x2ff)](),_0x4d0912){let {skeleton:_0xf23851,cursors:_0x3aa0fc}=_0x4d0912;this[_0x11d5c5(0x166)](_0xf23851,_0x3aa0fc);}})),this[_0x5d2460(0x27c)](),this[_0x5d2460(0x2f8)]();}[_0x339b6f(0x166)](_0x36a711,_0x1255cd){const _0x32fcfa=_0x339b6f;let {scene:_0x4fdbe4,mainComponent:_0x296da2}=this[_0x32fcfa(0x35b)],_0x5db0fc=_0x1255cd['map'](_0x648431=>new _0x338f74(_0x648431,_0x4fdbe4,_0x36a711,_0x296da2));this['_cursorShapes']=_0x5db0fc,this['_cursors']=_0x1255cd;}[_0x339b6f(0x22f)](){const _0x21436e=_0x339b6f;this[_0x21436e(0x2ff)]();let {scene:_0xa93df9,mainComponent:_0x1747cb}=this[_0x21436e(0x35b)],_0x2c45af=this['_docSkeletonManagerService'][_0x21436e(0x207)](),_0x19c356=this[_0x21436e(0x245)][_0x21436e(0x19d)](_0x428f1b=>new _0x338f74(_0x428f1b,_0xa93df9,_0x2c45af,_0x1747cb));this[_0x21436e(0x195)]=_0x19c356;}[_0x339b6f(0x2ff)](){const _0x4cfbc6=_0x339b6f;this[_0x4cfbc6(0x195)][_0x4cfbc6(0x159)](_0x5770df=>_0x5770df['dispose']()),this[_0x4cfbc6(0x195)]=[];}[_0x339b6f(0x2f8)](){const _0x3c3358=_0x339b6f;let _0x2ab33d=[_0x1c6b1f['SetDocZoomRatioOperation']['id']];this[_0x3c3358(0x18c)](this[_0x3c3358(0x3a4)][_0x3c3358(0x1b0)](_0x3661ca=>{const _0x1e1b5f=_0x3c3358;_0x2ab33d[_0x1e1b5f(0x40a)](_0x3661ca['id'])&&_0x3661ca[_0x1e1b5f(0x3c9)][_0x1e1b5f(0x24e)]===this[_0x1e1b5f(0x35b)][_0x1e1b5f(0x24e)]&&this['_refreshCollabCursors']();}));}[_0x339b6f(0x27c)](){const _0x241846=_0x339b6f;this[_0x241846(0x18c)]((0x0,_0x1d062f['fromEventSubject'])(this['_context']['engine'][_0x241846(0x370)])[_0x241846(0x300)]((0x0,_0x231056[_0x241846(0x361)])(_0x3115ed=>_0x3115ed['type']===_0xc630f2[_0x241846(0x163)][_0x241846(0x285)]),(0x0,_0x231056['throttleTime'])(0x10))[_0x241846(0x3cd)](()=>{const _0x2f5ceb=_0x241846;this[_0x2f5ceb(0x22f)]();}));}};_0x1993ee=_0x8db4f3([_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x55d528[_0x339b6f(0x386)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0xe35be2)),_0x21c55a(0x3,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x26c)]))],_0x1993ee);var _0x56d40a=class extends _0xc630f2[_0x339b6f(0x17e)]{constructor(_0x3e708d,_0x5a1a75){const _0x1cf65c=_0x339b6f;if(super(_0x3e708d,_0x5a1a75),_0x1050e7(this,_0x1cf65c(0x254),void 0x0),_0x1050e7(this,'_hovered',!0x1),_0x1050e7(this,_0x1cf65c(0x3b1),void 0x0),_0x1050e7(this,_0x1cf65c(0x273),''),_0x1050e7(this,_0x1cf65c(0x173),'top'),_0x1050e7(this,_0x1cf65c(0x350),void 0x0),_0x1050e7(this,_0x1cf65c(0x3ba),void 0x0),_0x1050e7(this,_0x1cf65c(0x1e8),void 0x0),_0x1050e7(this,_0x1cf65c(0x368),0x4),_0x1050e7(this,_0x1cf65c(0x32e),void 0x0),_0x1050e7(this,_0x1cf65c(0x260),void 0x0),_0x1050e7(this,_0x1cf65c(0x2e7),!0x0),_0x1050e7(this,_0x1cf65c(0x407),0x0),_0x5a1a75){var _0x321109;if(this[_0x1cf65c(0x416)](_0x5a1a75),_0x5a1a75['highlight']&&((_0x321109=_0x5a1a75['highlightSecond'])==null?this['_highlightSecond']:_0x321109)){var _0x6ed8a8;this[_0x1cf65c(0x3a8)]((_0x6ed8a8=_0x5a1a75[_0x1cf65c(0x2c7)])==null?this[_0x1cf65c(0x368)]:_0x6ed8a8);}}this[_0x1cf65c(0x264)][_0x1cf65c(0x31b)](()=>this[_0x1cf65c(0x416)]({'hovered':!0x0})),this[_0x1cf65c(0x149)][_0x1cf65c(0x31b)](()=>this[_0x1cf65c(0x416)]({'hovered':!0x1}));}[_0x339b6f(0x1ce)](_0x467224){const _0x5df469=_0x339b6f;this[_0x5df469(0x407)]=_0x467224;}[_0x339b6f(0x416)](_0x4837e5){const _0x38d849=_0x339b6f;var _0x1e6750,_0x24f204,_0x25c658,_0x12e507,_0x70cf99,_0x570556,_0x32d3dc;this[_0x38d849(0x254)]=(_0x1e6750=_0x4837e5['color'])==null?this[_0x38d849(0x254)]:_0x1e6750,this[_0x38d849(0x355)]=(_0x24f204=_0x4837e5[_0x38d849(0x1ec)])==null?this[_0x38d849(0x355)]:_0x24f204,this[_0x38d849(0x3b1)]=(_0x25c658=_0x4837e5['range'])==null?this[_0x38d849(0x3b1)]:_0x25c658,this[_0x38d849(0x273)]=(_0x12e507=_0x4837e5['name'])==null?this[_0x38d849(0x273)]:_0x12e507,this[_0x38d849(0x173)]=(_0x70cf99=_0x4837e5[_0x38d849(0x18e)])==null?this[_0x38d849(0x173)]:_0x70cf99,this[_0x38d849(0x350)]=(_0x570556=_0x4837e5[_0x38d849(0x2d9)])==null?this[_0x38d849(0x350)]:_0x570556,this[_0x38d849(0x3ba)]=(_0x32d3dc=_0x4837e5[_0x38d849(0x2a2)])==null?this[_0x38d849(0x3ba)]:_0x32d3dc,_0x4837e5[_0x38d849(0x2c7)]!==void 0x0&&(this[_0x38d849(0x368)]=_0x4837e5['highlightSecond']),_0x4837e5[_0x38d849(0x34c)]!==void 0x0&&(this[_0x38d849(0x1e8)]=_0x4837e5['highlight']),_0x4837e5[_0x38d849(0x1d0)]!==void 0x0&&(this[_0x38d849(0x407)]=_0x4837e5[_0x38d849(0x1d0)]),this['transformByState']({'width':_0x4837e5[_0x38d849(0x413)],'height':_0x4837e5[_0x38d849(0x30c)]});}[_0x339b6f(0x3a9)](_0x474513){const _0x5494fb=_0x339b6f;let {row:_0x467bc4,column:_0x50747f}=_0x474513;if(_0x467bc4>=this[_0x5494fb(0x3b1)][_0x5494fb(0x284)]&&_0x467bc4<=this[_0x5494fb(0x3b1)][_0x5494fb(0x31c)]&&_0x50747f>=this[_0x5494fb(0x3b1)][_0x5494fb(0x19c)]&&_0x50747f<=this[_0x5494fb(0x3b1)][_0x5494fb(0x3bc)]){this[_0x5494fb(0x416)]({'hovered':!0x0});return;}this[_0x5494fb(0x416)]({'hovered':!0x1});}['_startBlinking'](_0x5e6455){const _0x1b948b=_0x339b6f;this[_0x1b948b(0x225)](),this[_0x1b948b(0x2e7)]=!0x0,this[_0x1b948b(0x260)]=window[_0x1b948b(0x327)](()=>{const _0x4b6939=_0x1b948b;this[_0x4b6939(0x2e7)]=!this[_0x4b6939(0x2e7)],this[_0x4b6939(0x385)](!0x0);},0x1f4),this[_0x1b948b(0x32e)]=window[_0x1b948b(0x289)](()=>{const _0x35cab0=_0x1b948b;this[_0x35cab0(0x225)](),this[_0x35cab0(0x2e7)]=!0x0,this[_0x35cab0(0x385)](!0x0);},_0x5e6455*0x3e8);}[_0x339b6f(0x225)](){const _0x3fbba5=_0x339b6f;this['_blinkIntervalTimer']&&(window[_0x3fbba5(0x3c7)](this[_0x3fbba5(0x260)]),this['_blinkIntervalTimer']=void 0x0),this[_0x3fbba5(0x32e)]&&(window[_0x3fbba5(0x3a1)](this[_0x3fbba5(0x32e)]),this[_0x3fbba5(0x32e)]=void 0x0);}[_0x339b6f(0x2aa)](_0xfea44a){return!0x1;}[_0x339b6f(0x39e)](){const _0x20c5fc=_0x339b6f;this[_0x20c5fc(0x225)](),super['dispose']();}['_draw'](_0x7283e3){const _0x3ff28d=_0x339b6f;let _0x9a3419=this[_0x3ff28d(0x254)],_0x50c91b=this['_backgroundColor'];if(this[_0x3ff28d(0x1e8)]&&!this[_0x3ff28d(0x2e7)]&&(_0x9a3419=this['_getLighterColor'](this['_color']),_0x50c91b=this[_0x3ff28d(0x350)]?this[_0x3ff28d(0x344)](this['_backgroundColor']):void 0x0),_0xc630f2[_0x3ff28d(0x2eb)][_0x3ff28d(0x32f)](_0x7283e3,{'width':this[_0x3ff28d(0x413)],'height':this[_0x3ff28d(0x30c)],'strokeWidth':this[_0x3ff28d(0x2b5)]||1.5,'stroke':_0x9a3419,'evented':!0x1,'fill':_0x50c91b}),this[_0x3ff28d(0x355)]||this[_0x3ff28d(0x3ba)]){var _0x127c4c;_0x7283e3[_0x3ff28d(0x211)](),_0x7283e3[_0x3ff28d(0x27e)](0x1,0x0,0x0,0x1,this[_0x3ff28d(0x413)],(this[_0x3ff28d(0x173)]===_0x3ff28d(0x2d2)?0x0:-0x14)+((_0x127c4c=this[_0x3ff28d(0x407)])==null?0x0:_0x127c4c)),_0x34d0f3['drawWith'](_0x7283e3,{'text':this[_0x3ff28d(0x273)],'color':_0x9a3419}),_0x7283e3['restore']();}}[_0x339b6f(0x344)](_0x139957){const _0xda22b3=_0x339b6f;return _0x139957[_0xda22b3(0x20c)]('#')?_0xda22b3(0x161)+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x1,0x3),0x10)+',\x20'+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x3,0x5),0x10)+',\x20'+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x5,0x7),0x10)+_0xda22b3(0x383):_0x139957['startsWith'](_0xda22b3(0x1d7))?_0x139957[_0xda22b3(0x330)](/[\d.]+\)$/g,_0xda22b3(0x381)):_0x139957[_0xda22b3(0x20c)](_0xda22b3(0x278))?_0x139957[_0xda22b3(0x330)](_0xda22b3(0x278),'rgba')['replace'](')',_0xda22b3(0x383)):_0x139957;}};let _0x4439c2=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x5aa858,_0x197dc1,_0x5a883e,_0x26aca5){const _0x156d70=_0x339b6f;super(),this[_0x156d70(0x35b)]=_0x5aa858,this[_0x156d70(0x202)]=_0x197dc1,this['_collabCursorController']=_0x5a883e,this[_0x156d70(0x30b)]=_0x26aca5,_0x1050e7(this,_0x156d70(0x245),new Set()),_0x1050e7(this,'_lastPointer',null),_0x1050e7(this,_0x156d70(0x2da),null),this[_0x156d70(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x46f89f=_0x339b6f;this[_0x46f89f(0x202)]['currentSkeleton$']['pipe']((0x0,_0x231056[_0x46f89f(0x154)])(this['dispose$']),(0x0,_0x231056[_0x46f89f(0x288)])(_0x4fd524=>{const _0x3d20e5=_0x46f89f;if(_0x4fd524){let _0x387ebe=_0x4fd524[_0x3d20e5(0x1b5)];return(0x0,_0x5df150[_0x3d20e5(0x2a1)])(this['_collabCursorController'][_0x3d20e5(0x1a2)](this[_0x3d20e5(0x35b)][_0x3d20e5(0x24e)]),this['_themeService'][_0x3d20e5(0x248)])[_0x3d20e5(0x300)]((0x0,_0x231056['map'])(([_0x99b821,_0x307797])=>{const _0xb0baf0=_0x3d20e5;let _0x2fca83=new Map();return _0x99b821[_0xb0baf0(0x159)]((_0x489573,_0x36777f)=>{const _0x29b216=_0xb0baf0;if(_0x489573[_0x29b216(0x412)]===_0x387ebe){let _0x1cd818={..._0x489573};_0x1cd818[_0x29b216(0x230)]=this[_0x29b216(0x30b)][_0x29b216(0x306)](_0x489573[_0x29b216(0x230)]),_0x2fca83[_0x29b216(0x3e7)](_0x36777f,_0x1cd818);}}),{'skeleton':_0x4fd524,'cursors':_0x2fca83};}));}return(0x0,_0x5df150['of'])({'skeleton':null,'cursors':new Map()});}))[_0x46f89f(0x3cd)](({skeleton:_0x7162d7,cursors:_0x133604})=>{const _0x197001=_0x46f89f;this[_0x197001(0x2ff)](),_0x7162d7&&this['_updateCollabCursors'](_0x7162d7,_0x133604);}),this[_0x46f89f(0x18c)](this[_0x46f89f(0x202)]['currentSkeleton$'][_0x46f89f(0x300)]((0x0,_0x231056[_0x46f89f(0x154)])(this[_0x46f89f(0x23c)]))[_0x46f89f(0x3cd)](_0x50839a=>{const _0x493c5f=_0x46f89f;var _0x2f34ac;if(_0x50839a==null)return;(_0x2f34ac=this['_pointerMoveDisposable'])==null||_0x2f34ac[_0x493c5f(0x171)](),this[_0x493c5f(0x2da)]=null;let {skeleton:_0x5247f3}=_0x50839a,{scene:_0x38f524}=this[_0x493c5f(0x35b)];this[_0x493c5f(0x2da)]=_0x38f524[_0x493c5f(0x3eb)][_0x493c5f(0x31b)]((0x0,_0x1d062f[_0x493c5f(0x14e)])(_0x1c54a6=>{const _0x5598dd=_0x493c5f;var _0x482523,_0x4d0e83;let {offsetX:_0x3f9d5c,offsetY:_0x46f13d}=_0x1c54a6,{x:_0x537712,y:_0x25a320}=_0x38f524[_0x5598dd(0x1c0)](_0xc630f2[_0x5598dd(0x228)][_0x5598dd(0x28b)]([_0x3f9d5c,_0x46f13d])),{scaleX:_0x198e67,scaleY:_0x34a0a6}=_0x38f524[_0x5598dd(0x38e)](),_0x2d0742=_0x38f524['getViewport'](_0xc630f2[_0x5598dd(0x240)][_0x5598dd(0x415)]),_0x1a9fcc=_0x38f524[_0x5598dd(0x1f2)](_0xc630f2[_0x5598dd(0x228)][_0x5598dd(0x28b)]([_0x537712,_0x25a320]),_0x2d0742),_0x587547=_0x5247f3[_0x5598dd(0x237)](_0x3f9d5c,_0x46f13d,_0x198e67,_0x34a0a6,_0x1a9fcc);((_0x482523=this['_lastPointer'])==null?void 0x0:_0x482523['column'])===_0x587547['column']&&((_0x4d0e83=this['_lastPointer'])==null?void 0x0:_0x4d0e83[_0x5598dd(0x1cb)])===_0x587547[_0x5598dd(0x1cb)]||this[_0x5598dd(0x245)][_0x5598dd(0x159)](_0x13efa7=>{_0x13efa7['onMouseMove'](_0x587547);});},0x64));})),this[_0x46f89f(0x18c)]((0x0,_0x1d062f[_0x46f89f(0x1fe)])(()=>{const _0x1b7df1=_0x46f89f;var _0x765cc5;(_0x765cc5=this['_pointerMoveDisposable'])==null||_0x765cc5[_0x1b7df1(0x171)](),this[_0x1b7df1(0x2da)]=null;}));}['_updateCollabCursors'](_0x2e0e6f,_0x2d2c15){const _0x31fa6f=_0x339b6f;let _0x2fd09d=this[_0x31fa6f(0x202)]['getCurrentSkeleton']();if(!_0x2fd09d)return;let _0x5adae6=this['_getSheetObject']();if(!_0x5adae6)return;this['_cursors'][_0x31fa6f(0x159)](_0xf7ff08=>{const _0xe76bcc=_0x31fa6f;_0xf7ff08[_0xe76bcc(0x385)]();});let {scene:_0x5e06d3}=_0x5adae6,_0x170198=_0x14305e(Array[_0x31fa6f(0x324)](_0x2d2c15[_0x31fa6f(0x2a6)]()))['map'](_0x50635c=>{const _0x57ae3d=_0x31fa6f;let {color:_0x42d82c,range:_0x1136ce,name:_0x1305bc,selection:_0x3c2f0e,sheetID:_0x124f96}=_0x50635c,{startColumn:_0x1336f2,startRow:_0x17c438,endColumn:_0x18d925,endRow:_0x4bbe1f}=_0x1136ce,_0x24974a=(0x0,_0x5c8585[_0x57ae3d(0x315)])(_0x17c438,_0x1336f2,_0x5e06d3,_0x2fd09d),_0x3836df=(0x0,_0x5c8585['getCoordByCell'])(_0x4bbe1f,_0x18d925,_0x5e06d3,_0x2fd09d),{columnHeaderHeightAndMarginTop:_0x1b1d91}=_0x2fd09d,{startX:_0x34d5fd,startY:_0x145d84}=_0x24974a,{endX:_0x207e7d,endY:_0x73a516}=_0x3836df,_0x5855e3=_0x207e7d-_0x34d5fd,_0x5da4bd=_0x73a516-_0x145d84;return new _0x56d40a(_0x1305bc,{'labelPosition':_0x145d84-_0x1b1d91>=0x14?_0x57ae3d(0x332):_0x57ae3d(0x2d2),'sheetID':_0x124f96,'range':_0x1136ce,'color':_0x42d82c,'name':_0x1305bc,'selection':_0x3c2f0e,'left':_0x34d5fd,'top':_0x145d84,'width':_0x5855e3,'height':_0x5da4bd,'evented':!0x1,'zIndex':0x1389});});_0x5e06d3[_0x31fa6f(0x279)](_0x170198,0x1),this[_0x31fa6f(0x245)]=new Set(_0x170198);}[_0x339b6f(0x2ff)](){const _0x5b1665=_0x339b6f;var _0x213afd;(_0x213afd=this[_0x5b1665(0x245)])==null||_0x213afd[_0x5b1665(0x159)](_0x56189b=>_0x56189b[_0x5b1665(0x39e)]());}[_0x339b6f(0x1e1)](){const _0x20b7e6=_0x339b6f;return(0x0,_0x5c8585['getSheetObject'])(this[_0x20b7e6(0x35b)]['unit'],this['_context']);}};_0x4439c2=_0x8db4f3([_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x5c8585[_0x339b6f(0x3fc)])),_0x21c55a(0x2,(0x0,_0x1d062f['Inject'])(_0xe35be2)),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x26c)]))],_0x4439c2);function _0x14305e(_0x214043){const _0x258499=_0x339b6f;let _0x58d0d4=new Map();return _0x214043['forEach'](_0x363679=>{const _0x2a4324=_0x405a;if(_0x58d0d4[_0x2a4324(0x377)](_0x363679['selection'])){let _0xeff4e8=_0x58d0d4[_0x2a4324(0x3fe)](_0x363679[_0x2a4324(0x304)]);_0xeff4e8[_0x2a4324(0x318)]+=',\x20'+_0x363679[_0x2a4324(0x318)];}else _0x58d0d4[_0x2a4324(0x3e7)](_0x363679[_0x2a4324(0x304)],_0x363679);}),Array[_0x258499(0x324)](_0x58d0d4[_0x258499(0x2a6)]());}let _0x1e8c36=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x2c6cb4,_0x1d891d,_0x277eb8,_0x5d25d7,_0x4eb37b,_0x4da8f8){const _0x35db21=_0x339b6f;super(),this[_0x35db21(0x1a0)]=_0x2c6cb4,this[_0x35db21(0x427)]=_0x1d891d,this[_0x35db21(0x39f)]=_0x277eb8,this[_0x35db21(0x1bb)]=_0x5d25d7,this[_0x35db21(0x2fb)]=_0x4eb37b,this['_localeService']=_0x4da8f8,this[_0x35db21(0x23b)](),this[_0x35db21(0x1e9)]();}[_0x339b6f(0x23b)](){const _0x4734a0=_0x339b6f;this[_0x4734a0(0x18c)](this[_0x4734a0(0x1a0)][_0x4734a0(0x24b)](()=>{const _0x11f2ef=_0x4734a0;if(this[_0x11f2ef(0x427)][_0x11f2ef(0x35c)][_0x11f2ef(0x3ea)])return this[_0x11f2ef(0x23e)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x339b6f(0x1e9)](){const _0x381047=_0x339b6f;this[_0x381047(0x18c)](this['_collaborationUIEventService'][_0x381047(0x21e)][_0x381047(0x3cd)](_0x5d6460=>{const _0x5b3aad=_0x381047;_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)]['OTHER_CLIENT_EDITING']&&this[_0x5b3aad(0x1bb)]['show']({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this['_localeService']['t'](_0x5b3aad(0x2ed))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x262)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x360)]&&this[_0x5b3aad(0x2fb)][_0x5b3aad(0x1e3)]({'title':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x338)),'content':this['_localeService']['t'](_0x5b3aad(0x1ed)),'type':_0x5b3aad(0x40d),'duration':0x0}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x1d9)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x178)],'content':this['_localeService']['t']('collaboration-client-ui.collaboration.closeRoom')+'('+_0x5d6460[_0x5b3aad(0x33e)]+')'}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x1eb)]&&this['_messageService']['show']({'type':_0x36848a['MessageType'][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5d6460['data']||'')}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x283)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x192))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x251)]&&this[_0x5b3aad(0x1bb)]['show']({'type':_0x36848a['MessageType'][_0x5b3aad(0x178)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x366))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x356)]&&this['_messageService'][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x178)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x1f1))});}));}};_0x1e8c36=_0x8db4f3([_0x21c55a(0x0,_0x25f9de['IBeforeCloseService']),_0x21c55a(0x1,_0x20efb1[_0x339b6f(0x2a5)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2e2)])),_0x21c55a(0x3,_0x25f9de[_0x339b6f(0x169)]),_0x21c55a(0x4,_0x25f9de[_0x339b6f(0x2ad)]),_0x21c55a(0x5,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x142)]))],_0x1e8c36);let _0x5f31b3={},_0x2f9daa=class{constructor(_0x2741df,_0x327435){const _0x39b9b8=_0x339b6f;this[_0x39b9b8(0x3d2)]=_0x2741df,this[_0x39b9b8(0x2e0)]=_0x327435;}[_0x339b6f(0x226)](_0x324f4a){const _0x2b67e7=_0x339b6f;this[_0x2b67e7(0x32c)](_0x324f4a),this[_0x2b67e7(0x3ae)](_0x324f4a);}[_0x339b6f(0x301)](_0x11bec9){const _0x47b126=_0x339b6f;let {unitID:_0x2ba42f}=_0x11bec9,{redoCache:_0x3ad925}=this['_renderManagerService']['getRenderById'](_0x2ba42f)['with'](_0x1c6b1f[_0x47b126(0x175)])['getUndoRedoMutationParamsCache']();if(_0x3ad925['length']===0x0)return _0x11bec9;let _0x3e60ea=_0x1d062f[_0x47b126(0x3da)][_0x47b126(0x2d7)](_0x11bec9[_0x47b126(0x17b)][0x0]);for(let _0x205a35=0x0;_0x205a35<_0x3ad925[_0x47b126(0x231)];_0x205a35++){let _0x47dda1={'id':_0x47b126(0x234),'params':{..._0x3ad925[_0x205a35]}},_0x57de10=this[_0x47b126(0x3d2)][_0x47b126(0x187)](_0x3e60ea,_0x47dda1,!0x1);if((0x0,_0x600789[_0x47b126(0x24c)])(_0x57de10))throw _0x57de10[_0x47b126(0x40d)];_0x3e60ea=_0x57de10[_0x47b126(0x15e)];}return{..._0x1d062f['Tools'][_0x47b126(0x2d7)](_0x11bec9),'mutations':[_0x3e60ea]};}[_0x339b6f(0x32c)](_0x492b3b){const _0x401a07=_0x339b6f;let {unitID:_0x38365e}=_0x492b3b,_0x23485d=this[_0x401a07(0x2e0)][_0x401a07(0x399)](_0x38365e)[_0x401a07(0x3f6)](_0x1c6b1f[_0x401a07(0x175)]),{undoCache:_0x39a1ce,redoCache:_0x43534f}=_0x23485d[_0x401a07(0x2d5)]();if(_0x39a1ce['length']===0x0||_0x43534f[_0x401a07(0x231)]===0x0)return;let _0x38b57e=[],_0x9ca92f=[],_0xd57ea7=_0x1d062f['Tools'][_0x401a07(0x2d7)](_0x492b3b[_0x401a07(0x17b)][0x0]),_0x216629=_0x1d062f['Tools'][_0x401a07(0x2d7)](_0x492b3b['mutations'][0x0]);for(let _0x736289=_0x39a1ce[_0x401a07(0x231)]-0x1;_0x736289>=0x0;_0x736289--){let _0x5a09a0={'id':_0x401a07(0x234),'params':{..._0x39a1ce[_0x736289]}},_0x577f11={'id':_0x401a07(0x234),'params':{..._0x43534f[_0x736289]}},_0x242413=this[_0x401a07(0x3d2)][_0x401a07(0x187)](_0xd57ea7,_0x5a09a0,!0x1),_0x577c45=this[_0x401a07(0x3d2)][_0x401a07(0x187)](_0x216629,_0x577f11,!0x1);if((0x0,_0x600789[_0x401a07(0x24c)])(_0x242413))throw _0x242413['error'];if((0x0,_0x600789[_0x401a07(0x24c)])(_0x577c45))throw _0x577c45['error'];_0x38b57e[_0x401a07(0x424)](_0x242413[_0x401a07(0x3b4)][_0x401a07(0x3c9)]),_0x9ca92f[_0x401a07(0x424)](_0x577c45[_0x401a07(0x3b4)][_0x401a07(0x3c9)]),_0xd57ea7=_0x242413['m1Prime'],_0x216629=_0x577c45[_0x401a07(0x15e)];}_0x23485d[_0x401a07(0x1b3)]({'undoCache':_0x38b57e,'redoCache':_0x9ca92f});}['_transformPreviousActiveRange'](_0x49d48b){const _0x5e088e=_0x339b6f;let {unitID:_0x2159e1}=_0x49d48b,_0x5d9a60=this[_0x5e088e(0x2e0)]['getRenderById'](_0x2159e1)[_0x5e088e(0x3f6)](_0x1c6b1f[_0x5e088e(0x175)]),_0x44a3af=_0x5d9a60[_0x5e088e(0x303)]();if(_0x44a3af==null)return;let _0x17f4ca=[{'id':_0x5e088e(0x234),'params':{'unitId':_0x49d48b[_0x5e088e(0x310)],'actions':null,'textRanges':[_0x44a3af]}}],_0x4ec8b=this[_0x5e088e(0x3d2)][_0x5e088e(0x184)](_0x49d48b,_0x17f4ca);if(!(0x0,_0x600789['isTransformMutationsWithChangesetSuccess'])(_0x4ec8b))throw _0x4ec8b[_0x5e088e(0x40d)];let _0x191347=_0x4ec8b[_0x5e088e(0x3b4)][0x0][_0x5e088e(0x3c9)]['textRanges'];Array[_0x5e088e(0x1df)](_0x191347)&&_0x191347[_0x5e088e(0x231)]&&_0x5d9a60['setActiveRange'](_0x191347[0x0]);}};_0x2f9daa=_0x8db4f3([_0x21c55a(0x0,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x1,_0xc630f2['IRenderManagerService'])],_0x2f9daa);let _0x426fe9=class{constructor(_0x392e73,_0x3ddf02,_0x411458){const _0x3b9d28=_0x339b6f;this[_0x3b9d28(0x405)]=_0x392e73,this[_0x3b9d28(0x3d2)]=_0x3ddf02,this[_0x3b9d28(0x373)]=_0x411458;}[_0x339b6f(0x36e)](_0x6a4abd){const _0x298426=_0x339b6f;this[_0x298426(0x25c)](_0x6a4abd);}[_0x339b6f(0x301)](_0x481db4){const _0x437648=_0x339b6f;let {unitID:_0xc15899}=_0x481db4,{collaboration:_0x29d757}=this[_0x437648(0x373)][_0x437648(0x3dd)](_0xc15899);if(_0x29d757[_0x437648(0x231)]===0x0)return _0x481db4;let _0x56b176=_0x1d062f[_0x437648(0x3da)]['deepClone'](_0x481db4[_0x437648(0x17b)][0x0]);for(let _0x2fc5a8=0x0;_0x2fc5a8<_0x29d757[_0x437648(0x231)];_0x2fc5a8++){let _0x5d2ed4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29d757[_0x2fc5a8][_0x437648(0x24e)],..._0x29d757[_0x2fc5a8]['redoState']}},_0x25f5db=this[_0x437648(0x3d2)][_0x437648(0x187)](_0x56b176,_0x5d2ed4,!0x1);if((0x0,_0x600789['isTransformMutationFailure'])(_0x25f5db))throw _0x25f5db[_0x437648(0x40d)];_0x56b176=_0x25f5db[_0x437648(0x15e)];}return{..._0x1d062f[_0x437648(0x3da)][_0x437648(0x2d7)](_0x481db4),'mutations':[_0x56b176]};}[_0x339b6f(0x25c)](_0x1c965a){const _0x3aeea4=_0x339b6f;let {unitID:_0x2ea3df}=_0x1c965a,{history:_0x1fcceb,collaboration:_0x11ac62}=this['_docStateChangeManagerService'][_0x3aeea4(0x3dd)](_0x2ea3df);if(_0x1fcceb[_0x3aeea4(0x231)]===0x0&&_0x11ac62['length']===0x0)return;let _0x4286ad=[],_0x52c9d3=[],_0x4febd4=_0x1d062f[_0x3aeea4(0x3da)]['deepClone'](_0x1c965a[_0x3aeea4(0x17b)][0x0]),_0x22c69c=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a['mutations'][0x0]);for(let _0x1b98f9=_0x1fcceb[_0x3aeea4(0x231)]-0x1;_0x1b98f9>=0x0;_0x1b98f9--){let _0x2a4586={'id':_0x3aeea4(0x234),'params':{'unitId':_0x1fcceb[_0x1b98f9][_0x3aeea4(0x24e)],..._0x1fcceb[_0x1b98f9]['undoState']}},_0x8bd0ae={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fcceb[_0x1b98f9][_0x3aeea4(0x24e)],..._0x1fcceb[_0x1b98f9][_0x3aeea4(0x2af)]}},_0x52f0b5=this[_0x3aeea4(0x3d2)][_0x3aeea4(0x187)](_0x4febd4,_0x2a4586,!0x1),_0x545380=this['_transformService'][_0x3aeea4(0x187)](_0x22c69c,_0x8bd0ae,!0x1);if((0x0,_0x600789['isTransformMutationFailure'])(_0x52f0b5))throw _0x52f0b5['error'];if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x545380))throw _0x545380[_0x3aeea4(0x40d)];_0x4286ad['unshift']({..._0x1fcceb[_0x1b98f9],'undoState':_0x52f0b5[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)],'redoState':_0x545380[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)]}),_0x4febd4=_0x52f0b5[_0x3aeea4(0x15e)],_0x22c69c=_0x545380[_0x3aeea4(0x15e)];}_0x4febd4=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a[_0x3aeea4(0x17b)][0x0]),_0x22c69c=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a[_0x3aeea4(0x17b)][0x0]);for(let _0x21ab90=_0x11ac62[_0x3aeea4(0x231)]-0x1;_0x21ab90>=0x0;_0x21ab90--){let _0x372d9f={'id':_0x3aeea4(0x234),'params':{'unitId':_0x11ac62[_0x21ab90][_0x3aeea4(0x24e)],..._0x11ac62[_0x21ab90][_0x3aeea4(0x1ee)]}},_0x4b4554={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11ac62[_0x21ab90][_0x3aeea4(0x24e)],..._0x11ac62[_0x21ab90][_0x3aeea4(0x2af)]}},_0x53801d=this['_transformService'][_0x3aeea4(0x187)](_0x4febd4,_0x372d9f,!0x1),_0x3291c5=this[_0x3aeea4(0x3d2)][_0x3aeea4(0x187)](_0x22c69c,_0x4b4554,!0x1);if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x53801d))throw _0x53801d[_0x3aeea4(0x40d)];if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x3291c5))throw _0x3291c5['error'];_0x52c9d3[_0x3aeea4(0x424)]({..._0x11ac62[_0x21ab90],'undoState':_0x53801d['m2Prime'][_0x3aeea4(0x3c9)],'redoState':_0x3291c5[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)]}),_0x4febd4=_0x53801d[_0x3aeea4(0x15e)],_0x22c69c=_0x3291c5['m1Prime'];}this[_0x3aeea4(0x373)][_0x3aeea4(0x2f7)](_0x2ea3df,{'history':_0x4286ad,'collaboration':_0x52c9d3});}};_0x426fe9=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f['Injector'])),_0x21c55a(0x1,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1c6b1f[_0x339b6f(0x419)]))],_0x426fe9);let _0x330553=class{constructor(_0x390cb1,_0x3697b3){const _0x38e567=_0x339b6f;this[_0x38e567(0x405)]=_0x390cb1,this[_0x38e567(0x3d2)]=_0x3697b3;}[_0x339b6f(0x2ec)](_0xd35342){const _0x1e3021=_0x339b6f;var _0x44d473;let _0x22b9d1=this[_0x1e3021(0x405)][_0x1e3021(0x3fe)](_0x55d528[_0x1e3021(0x3a6)]),_0x31d66f=(_0x44d473=_0x22b9d1[_0x1e3021(0x357)]())==null?[]:_0x44d473;if(_0x31d66f[_0x1e3021(0x231)]===0x0)return;let _0x124374=_0xd35342[_0x1e3021(0x310)],_0x3b5423=[{'id':_0x1e3021(0x234),'params':{'unitId':_0x124374,'actions':null,'textRanges':_0x31d66f}}],_0x1a0c05=this['_transformService'][_0x1e3021(0x184)](_0xd35342,_0x3b5423);if(!(0x0,_0x600789[_0x1e3021(0x20f)])(_0x1a0c05))throw _0x1a0c05[_0x1e3021(0x40d)];let _0x31b3a3=_0x1a0c05['m2Prime'][0x0][_0x1e3021(0x3c9)][_0x1e3021(0x2fd)];Array[_0x1e3021(0x1df)](_0x31b3a3)&&_0x31b3a3[_0x1e3021(0x231)]&&_0x22b9d1[_0x1e3021(0x2d0)](_0x31b3a3,{'unitId':_0x124374,'subUnitId':_0x124374},!0x1);}};_0x330553=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,_0x600789[_0x339b6f(0x1e6)])],_0x330553);let _0x3a0d44=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x4d3551,_0x55b83a,_0x49d61e,_0x24f92c,_0x17eda3,_0x46d60f,_0x5cf45c,_0x5e5aef){const _0x300022=_0x339b6f;super(),this[_0x300022(0x373)]=_0x4d3551,this[_0x300022(0x17a)]=_0x55b83a,this[_0x300022(0x19e)]=_0x49d61e,this[_0x300022(0x25f)]=_0x24f92c,this[_0x300022(0x1c4)]=_0x17eda3,this[_0x300022(0x290)]=_0x46d60f,this[_0x300022(0x1bb)]=_0x5cf45c,this[_0x300022(0x23e)]=_0x5e5aef,_0x1050e7(this,_0x300022(0x396),new _0x5df150[(_0x300022(0x2ef))](_0x20efb1[_0x300022(0x1c7)][_0x300022(0x153)])),this['_initEntityListener']();}[_0x339b6f(0x32a)](){const _0x1537af=_0x339b6f;this[_0x1537af(0x18c)](this[_0x1537af(0x17a)][_0x1537af(0x232)][_0x1537af(0x3cd)](_0x499291=>{const _0x191c11=_0x1537af;let _0x1ada58=this[_0x191c11(0x373)][_0x191c11(0x16e)][_0x191c11(0x3cd)](_0x22e692=>{const _0xa29cb9=_0x191c11;if(_0x22e692==null)return;let {unitId:_0x25e4a6,redoState:_0x355919,commandId:_0x4d83bf}=_0x22e692;if(_0x25e4a6!==_0x499291[_0xa29cb9(0x310)])return;let _0x5b364a={'id':_0x4d83bf,'type':_0x1d062f['CommandType'][_0xa29cb9(0x400)],'params':{'unitId':_0x25e4a6,'actions':_0x355919[_0xa29cb9(0x210)],'textRanges':null}};_0x499291['onLocalMutation'](_0x5b364a);});_0x499291[_0x191c11(0x18c)](_0x1ada58),_0x499291 instanceof _0x20efb1[_0x191c11(0x28c)]&&_0x499291[_0x191c11(0x342)]({'onTransformIME':_0x3a9e1c=>this['_docTransformIMECacheService'][_0x191c11(0x226)](_0x3a9e1c),'onTransformState':_0x5016b6=>this['_docTransformStateCacheService'][_0x191c11(0x36e)](_0x5016b6),'onTransformSelections':_0x3f489f=>this[_0x191c11(0x1c4)][_0x191c11(0x2ec)](_0x3f489f),'onSyncEditingCollabCursor':_0x311b8a=>this[_0x191c11(0x290)]['syncEditingCollabCursor'](_0x311b8a),'onTransformRemoteChangesetByIMECache':_0x8ef852=>this[_0x191c11(0x19e)][_0x191c11(0x301)](_0x8ef852),'onTransformRemoteChangesetByStateCache':_0x386cfe=>this[_0x191c11(0x25f)][_0x191c11(0x301)](_0x386cfe)});}));}};_0x3a0d44=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1c6b1f[_0x339b6f(0x419)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x275)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2f9daa)),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x426fe9)),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x330553)),_0x21c55a(0x5,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2b1e68)),_0x21c55a(0x6,_0x25f9de[_0x339b6f(0x169)]),_0x21c55a(0x7,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x142)]))],_0x3a0d44);let _0x133a91=class extends _0x1d062f['Disposable']{constructor(_0x4f2ef7,_0x29c3ed,_0x246272,_0x422068){const _0x1e3785=_0x339b6f;super(),this['_injector']=_0x4f2ef7,this[_0x1e3785(0x1c9)]=_0x29c3ed,this[_0x1e3785(0x1dc)]=_0x246272,this[_0x1e3785(0x36f)]=_0x422068,_0x1050e7(this,'_memberID',void 0x0),this[_0x1e3785(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x1ce168=_0x339b6f;this[_0x1ce168(0x3c3)](),this[_0x1ce168(0x28f)](),this[_0x1ce168(0x2a4)](),this['_initUserListener']();}['_initUserListener'](){const _0x309475=_0x339b6f;this[_0x309475(0x18c)](this['_collaborationSessionService']['socket$']['subscribe'](_0x3056fb=>{const _0x106ba0=_0x309475;this[_0x106ba0(0x38d)]=_0x3056fb==null?void 0x0:_0x3056fb[_0x106ba0(0x227)];}));}['_initWindowErrorListener'](){const _0x3698d9=_0x339b6f;let _0x274490=_0x5d59e0=>{const _0xafe2b0=_0x405a;var _0x774674;this[_0xafe2b0(0x35d)](_0xafe2b0(0x40d),_0xafe2b0(0x156)+_0x5d59e0[_0xafe2b0(0x26a)]+_0xafe2b0(0x37c)+_0x5d59e0[_0xafe2b0(0x276)]+':'+_0x5d59e0[_0xafe2b0(0x143)]+':'+_0x5d59e0[_0xafe2b0(0x1b7)]+'\x0a'+(((_0x774674=_0x5d59e0['error'])==null?void 0x0:_0x774674['stack'])||''));};window[_0x3698d9(0x308)](_0x3698d9(0x40d),_0x274490),this[_0x3698d9(0x18c)](()=>{const _0x13d66b=_0x3698d9;window['removeEventListener'](_0x13d66b(0x40d),_0x274490);});}[_0x339b6f(0x28f)](){const _0x397889=_0x339b6f;let _0x3c52eb=_0x418a8a=>{const _0x3983ff=_0x405a;this['_uploadLog'](_0x3983ff(0x40d),_0x3983ff(0x223)+_0x418a8a[_0x3983ff(0x238)]);};window['addEventListener'](_0x397889(0x186),_0x3c52eb),this[_0x397889(0x18c)](()=>{window['removeEventListener']('unhandledrejection',_0x3c52eb);});}['_monkeyPatchLogService'](){const _0x2d8a4c=_0x339b6f;let _0x36803a=this[_0x2d8a4c(0x1dc)]['error'][_0x2d8a4c(0x2b9)](this['_logService']);this[_0x2d8a4c(0x1dc)][_0x2d8a4c(0x40d)]=(..._0x42bbb2)=>{const _0xf54ba0=_0x2d8a4c;let _0x4af86a=_0x42bbb2['map'](_0x2307ab=>_0x2307ab instanceof Error?_0x2307ab['message']+'\x0a'+_0x2307ab['stack']:String(_0x2307ab))[_0xf54ba0(0x179)]('\x20');this[_0xf54ba0(0x35d)](_0xf54ba0(0x40d),_0xf54ba0(0x14c)+_0x4af86a),_0x36803a(..._0x42bbb2);},this[_0x2d8a4c(0x18c)](()=>{const _0x85405d=_0x2d8a4c;this[_0x85405d(0x1dc)]['error']=_0x36803a;});}[_0x339b6f(0x35d)](_0x27fe6c,_0x1066b8){const _0xae86ce=_0x339b6f;try{let _0x2f9a91={'userId':this['_memberID'],'logLabel':_0x27fe6c,'content':_0x1066b8};this[_0xae86ce(0x1c9)][_0xae86ce(0x316)](_0xae86ce(0x322),{'body':_0x2f9a91})['catch'](()=>{});}catch{}}};_0x133a91=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2c2)]))],_0x133a91);function _0x17896e(_0xfb011e){const _0x3197ca=_0x339b6f;var _0x49ce74,_0x1f3606;let _0x57f78e=(_0x49ce74=_0xfb011e['stageInfo'])==null?void 0x0:_0x49ce74[_0x3197ca(0x218)],_0x3c1ec6=((_0x1f3606=_0xfb011e[_0x3197ca(0x212)])==null?void 0x0:_0x1f3606[_0x3197ca(0x39b)])||0x0;return _0x57f78e===_0x4f0b10[_0x3197ca(0x307)][_0x3197ca(0x425)]&&_0x3c1ec6>0x0;}function _0x5a7335(_0x3f5daf){const _0x3d4c3f=_0x339b6f;return _0x3f5daf[_0x3d4c3f(0x16d)]===_0x4f0b10['FormulaExecutedStateType'][_0x3d4c3f(0x1d1)];}let _0x21999d=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x30a0b3,_0x55ebcc,_0x3a59fd,_0x19214a,_0x14de31,_0x2923c0,_0x1aa21d){const _0x541a86=_0x339b6f;super(),this[_0x541a86(0x1bb)]=_0x30a0b3,this['_commandService']=_0x55ebcc,this[_0x541a86(0x3c6)]=_0x3a59fd,this[_0x541a86(0x1c9)]=_0x19214a,this[_0x541a86(0x30f)]=_0x14de31,this[_0x541a86(0x1dc)]=_0x2923c0,this[_0x541a86(0x23e)]=_0x1aa21d,_0x1050e7(this,_0x541a86(0x3f4),null),_0x1050e7(this,'_maxFormulaLimit',0x0),_0x1050e7(this,_0x541a86(0x2d8),0x0),_0x1050e7(this,_0x541a86(0x147),[]),_0x1050e7(this,_0x541a86(0x27b),0x0),this[_0x541a86(0x2db)]();}[_0x339b6f(0x2db)](){const _0xbfe04f=_0x339b6f;this['disposeWithMe'](this[_0xbfe04f(0x3a4)][_0xbfe04f(0x3b5)]((_0xc26415,_0x428a76)=>{const _0x2e75e9=_0xbfe04f;var _0x3f751a;if(_0xc26415['id']!==_0x4f0b10[_0x2e75e9(0x14a)]['id'])return;let _0xd83a07=_0xc26415[_0x2e75e9(0x3c9)];if(this[_0x2e75e9(0x2bc)]((_0x3f751a=_0xd83a07['dirtyRanges'])==null?[]:_0x3f751a)&&!this[_0x2e75e9(0x16b)]())throw this[_0x2e75e9(0x146)](_0xc26415,_0x428a76),this[_0x2e75e9(0x3e1)](),new _0x1d062f[(_0x2e75e9(0x20a))]();})),this[_0xbfe04f(0x18c)](this[_0xbfe04f(0x3a4)][_0xbfe04f(0x1b0)]((_0x1e0401,_0x28bf6c)=>{const _0x19148e=_0xbfe04f;if(_0x1e0401['id']!==_0x4f0b10[_0x19148e(0x1ae)]['id'])return;let _0x4078f4=_0x1e0401['params'];if(_0x17896e(_0x4078f4)){let _0x30277b=(0x0,_0x1d062f[_0x19148e(0x409)])();this[_0x19148e(0x147)][_0x19148e(0x411)](_0x30277b),this[_0x19148e(0x3bb)](_0x30277b);}else{if(_0x5a7335(_0x4078f4)&&this[_0x19148e(0x147)][_0x19148e(0x231)]>0x0){let _0x50360f=this[_0x19148e(0x147)][_0x19148e(0x35f)]();this[_0x19148e(0x182)](_0x50360f);}}}));}['dispose'](){const _0xd414e=_0x339b6f;super['dispose'](),this[_0xd414e(0x3d5)](),this[_0xd414e(0x147)]=[],this[_0xd414e(0x2d8)]=0x0,this[_0xd414e(0x323)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x390f1b,_0x3b5382){const _0xa7b8ec=_0x339b6f;for(let _0x11e5a1=0x0;_0x11e5a1<0x1e;_0x11e5a1++)try{if(await this[_0xa7b8ec(0x3e3)](),this[_0xa7b8ec(0x16b)]()){this[_0xa7b8ec(0x34e)](_0x390f1b,_0x3b5382),this[_0xa7b8ec(0x1bb)][_0xa7b8ec(0x1e3)]({'content':this[_0xa7b8ec(0x23e)]['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x36848a[_0xa7b8ec(0x1f7)][_0xa7b8ec(0x1f9)]});return;}await new Promise(_0x4e3076=>{const _0x4f5742=_0xa7b8ec;this[_0x4f5742(0x3f4)]=window[_0x4f5742(0x289)](_0x4e3076,0x3e8);});}catch(_0x35adf5){this[_0xa7b8ec(0x1dc)][_0xa7b8ec(0x40d)](_0x35adf5);}this[_0xa7b8ec(0x1bb)][_0xa7b8ec(0x1e3)]({'content':this[_0xa7b8ec(0x23e)]['t'](_0xa7b8ec(0x420)),'type':_0x36848a[_0xa7b8ec(0x1f7)]['Error']});}[_0x339b6f(0x34e)](_0x50289c,_0x515fcd){const _0xdc331e=_0x339b6f;try{this[_0xdc331e(0x3a4)]['executeCommand'](_0x50289c['id'],_0x50289c[_0xdc331e(0x3c9)],_0x515fcd);}catch(_0x5781db){this[_0xdc331e(0x1dc)][_0xdc331e(0x40d)](_0x5781db);}}[_0x339b6f(0x3ec)](_0x576e10,_0x2b5826){const _0x59959a=_0x339b6f;_0x2b5826<this[_0x59959a(0x27b)]||(this[_0x59959a(0x27b)]=_0x2b5826,this[_0x59959a(0x323)]=Number['parseInt'](_0x576e10['maxFormulaLimit']),this[_0x59959a(0x2d8)]=Number['parseInt'](_0x576e10['currentUsage']));}async[_0x339b6f(0x3bb)](_0x573beb){const _0x3e4852=_0x339b6f;let _0x5dabb5=Date['now']();try{var _0x294206,_0x67fa1d;let _0x5ea973=((_0x294206=this[_0x3e4852(0x3c6)]['getConfig'](_0x20efb1[_0x3e4852(0x371)]))==null?void 0x0:_0x294206[_0x3e4852(0x269)])||_0x3e4852(0x174),_0x3f9928=(await this['_httpService'][_0x3e4852(0x316)](_0x5ea973,{'body':JSON[_0x3e4852(0x145)]({'taskId':_0x573beb})}))[_0x3e4852(0x1d2)];if(((_0x67fa1d=_0x3f9928['error'])==null?void 0x0:_0x67fa1d[_0x3e4852(0x3bd)])!==_0x3c5971[_0x3e4852(0x363)]['OK'])return;this[_0x3e4852(0x3ec)](_0x3f9928[_0x3e4852(0x1fa)],_0x5dabb5);}catch(_0x12de09){this[_0x3e4852(0x1dc)][_0x3e4852(0x40d)](_0x12de09);}}async[_0x339b6f(0x3e3)](_0x3ee990){const _0x145f6c=_0x339b6f;let _0x2d030c=Date[_0x145f6c(0x2bd)]();try{var _0x3e14ff,_0x2b7697;let _0x3e3cdd=((_0x3e14ff=this[_0x145f6c(0x3c6)][_0x145f6c(0x302)](_0x20efb1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3e14ff[_0x145f6c(0x172)])||_0x145f6c(0x21c),_0x329c79=_0x3ee990?_0x3e3cdd+_0x145f6c(0x1db)+encodeURIComponent(_0x3ee990):_0x3e3cdd,_0xa3e691=(await this[_0x145f6c(0x1c9)]['get'](_0x329c79))['body'];if(((_0x2b7697=_0xa3e691['error'])==null?void 0x0:_0x2b7697['code'])!==_0x3c5971['ErrorCode']['OK'])return;this[_0x145f6c(0x3ec)](_0xa3e691['limitInfo'],_0x2d030c);}catch(_0x422d86){this['_logService'][_0x145f6c(0x40d)](_0x422d86);}}async['_releaseCalculationLimit'](_0x21580d){const _0x35351e=_0x339b6f;let _0x36d994=Date[_0x35351e(0x2bd)]();try{var _0x3f794f,_0x37d715;let _0x2b4d27=((_0x3f794f=this['_configService'][_0x35351e(0x302)](_0x20efb1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3f794f['releaseFormulaLimitUrl'])||_0x35351e(0x328),_0x452eb3=(await this[_0x35351e(0x1c9)][_0x35351e(0x316)](_0x2b4d27,{'body':JSON[_0x35351e(0x145)]({'taskId':_0x21580d})}))[_0x35351e(0x1d2)];if(((_0x37d715=_0x452eb3[_0x35351e(0x40d)])==null?void 0x0:_0x37d715[_0x35351e(0x3bd)])!==_0x3c5971[_0x35351e(0x363)]['OK'])return;this[_0x35351e(0x3ec)](_0x452eb3[_0x35351e(0x1fa)],_0x36d994);}catch(_0x485fb2){this[_0x35351e(0x1dc)][_0x35351e(0x40d)](_0x485fb2);}}[_0x339b6f(0x16b)](){const _0x3ea46e=_0x339b6f;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3ea46e(0x323)]-this[_0x3ea46e(0x2d8)]>0x0;}['_clearPolling'](){const _0x353f22=_0x339b6f;this[_0x353f22(0x3f4)]&&(clearTimeout(this[_0x353f22(0x3f4)]),this['_pollingInterval']=null);}[_0x339b6f(0x3e1)](){const _0x488816=_0x339b6f;this[_0x488816(0x1bb)][_0x488816(0x1e3)]({'content':this[_0x488816(0x23e)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x36848a['MessageType'][_0x488816(0x331)]});}['_hasFormulaInDirtyRanges'](_0xa44bb7){const _0x1fe6cf=_0x339b6f;for(let _0x13c7af of _0xa44bb7){let {unitId:_0x4f2220,sheetId:_0x3da177,range:_0xaf59d6}=_0x13c7af,_0x169b36=this[_0x1fe6cf(0x30f)]['getUnit'](_0x4f2220);if(!_0x169b36)continue;let _0x2a0af4=_0x169b36[_0x1fe6cf(0x3a2)](_0x3da177);if(!_0x2a0af4)continue;let _0x40b502=_0x2a0af4['getCellMatrix']();for(let _0x548f29=_0xaf59d6[_0x1fe6cf(0x284)];_0x548f29<=_0xaf59d6[_0x1fe6cf(0x31c)];_0x548f29++)for(let _0xb8748d=_0xaf59d6[_0x1fe6cf(0x19c)];_0xb8748d<=_0xaf59d6[_0x1fe6cf(0x3bc)];_0xb8748d++){let _0x1cf628=_0x40b502[_0x1fe6cf(0x359)](_0x548f29,_0xb8748d);if(_0x1cf628&&((0x0,_0x1d062f[_0x1fe6cf(0x365)])(_0x1cf628['f'])||(0x0,_0x1d062f[_0x1fe6cf(0x3e5)])(_0x1cf628['si'])))return!0x0;}}return!0x1;}};_0x21999d=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x25f9de[_0x339b6f(0x169)])),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x4,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x5,_0x1d062f['ILogService']),_0x21c55a(0x6,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x142)]))],_0x21999d);let _0x4e1f85=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x40be25,_0x41b3f6,_0x81d36e){const _0x1697ae=_0x339b6f;super(),this[_0x1697ae(0x3c6)]=_0x40be25,this['_localStorageService']=_0x41b3f6,this[_0x1697ae(0x258)]=_0x81d36e,_0x1050e7(this,_0x1697ae(0x2f4),new Map()),_0x1050e7(this,_0x1697ae(0x162),new Map()),_0x1050e7(this,_0x1697ae(0x2dc),!0x1);}[_0x339b6f(0x3f1)](){const _0x258f87=_0x339b6f;this[_0x258f87(0x2dc)]=!0x0;}['enableLocalCache'](){const _0x296eee=_0x339b6f;this[_0x296eee(0x2dc)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x339b6f(0x39e)](){const _0x3b42ce=_0x339b6f;this[_0x3b42ce(0x255)]()['then'](()=>super[_0x3b42ce(0x39e)]());}async[_0x339b6f(0x157)](_0x4f5397){const _0x4573d5=_0x339b6f;return this[_0x4573d5(0x2dc)]?null:this[_0x4573d5(0x320)][_0x4573d5(0x2e8)]((0x0,_0x20efb1['getLocalCacheKey'])(_0x4f5397));}async[_0x339b6f(0x1a8)](_0x3bc5db,_0x325d69){const _0x293bc2=_0x339b6f;return!!this[_0x293bc2(0x320)]['setItem'](_0x3bc5db,_0x325d69);}['updateOfflineData'](_0x482b61,_0x4d8a2e,_0x21323b,_0x2b5610){const _0x6a839f=_0x339b6f;let _0x454a52=this[_0x6a839f(0x258)]['getCurrentRevOfUnit'](_0x482b61);this['_cachedData'][_0x6a839f(0x3e7)](_0x482b61,{'unitID':_0x482b61,'type':_0x4d8a2e,'awaitingChangeset':_0x21323b,'mutations':_0x2b5610,'rev':_0x454a52}),this['_saveTaskMap'][_0x6a839f(0x377)](_0x482b61)||this[_0x6a839f(0x3ef)](_0x482b61);}['_scheduleSaving'](_0x58979e){const _0x5391d4=_0x339b6f;let _0x222a48=this[_0x5391d4(0x3df)]();_0x222a48===0x0?this[_0x5391d4(0x41d)](_0x58979e):this[_0x5391d4(0x162)][_0x5391d4(0x3e7)](_0x58979e,setTimeout(()=>this[_0x5391d4(0x41d)](_0x58979e),_0x222a48));}[_0x339b6f(0x3df)](){const _0x20bb51=_0x339b6f;var _0x27bd96;return(_0x27bd96=this[_0x20bb51(0x3c6)][_0x20bb51(0x302)](_0x20efb1[_0x20bb51(0x1ab)]))==null?_0x20efb1[_0x20bb51(0x29d)]:_0x27bd96;}[_0x339b6f(0x41d)](_0x2e3e75){const _0x1a1b7e=_0x339b6f;let _0x1737cd=this['_saveTaskMap'][_0x1a1b7e(0x3fe)](_0x2e3e75);return _0x1737cd!==void 0x0&&window[_0x1a1b7e(0x3a1)](_0x1737cd),this[_0x1a1b7e(0x320)][_0x1a1b7e(0x349)]((0x0,_0x20efb1[_0x1a1b7e(0x3d7)])(_0x2e3e75),this[_0x1a1b7e(0x2f4)][_0x1a1b7e(0x3fe)](_0x2e3e75))[_0x1a1b7e(0x3f8)](()=>this[_0x1a1b7e(0x162)][_0x1a1b7e(0x229)](_0x2e3e75));}async[_0x339b6f(0x255)](){const _0x1f3270=_0x339b6f;let _0x139d1a=[];this['_saveTaskMap'][_0x1f3270(0x159)]((_0xf8f7ac,_0xd565f7)=>{const _0x21add5=_0x1f3270;window[_0x21add5(0x3a1)](_0xf8f7ac),_0x139d1a['push'](this[_0x21add5(0x41d)](_0xd565f7)[_0x21add5(0x3f8)](()=>{const _0x1f9ec6=_0x21add5;this[_0x1f9ec6(0x162)][_0x1f9ec6(0x229)](_0xd565f7);}));}),await Promise[_0x1f3270(0x41b)](_0x139d1a);}};_0x4e1f85=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x194)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x600789['RevisionService']))],_0x4e1f85);var _0x5af43f=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(){const _0x4e9cec=_0x339b6f;super(),_0x1050e7(this,_0x4e9cec(0x2b2),void 0x0),this[_0x4e9cec(0x2b2)]=(0x0,_0x5df150[_0x4e9cec(0x1b2)])(window,_0x4e9cec(0x2e9))[_0x4e9cec(0x300)]((0x0,_0x5df150[_0x4e9cec(0x154)])(this[_0x4e9cec(0x23c)]),(0x0,_0x5df150['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5df150['mapTo'])(void 0x0));}[_0x339b6f(0x40b)](_0x24d715,_0x532df0,_0x7906d1=!0x1){const _0x2a020d=_0x339b6f;let _0x3ae342=new URL(window[_0x2a020d(0x25a)][_0x2a020d(0x3cc)]);_0x3ae342[_0x2a020d(0x1d5)]['set'](_0x24d715,_0x532df0),_0x7906d1?window[_0x2a020d(0x298)][_0x2a020d(0x29c)]('','',_0x3ae342['toString']()):window[_0x2a020d(0x298)]['pushState']('','',_0x3ae342[_0x2a020d(0x37a)]());}[_0x339b6f(0x1a9)](_0x10c93f,_0xb876c4=!0x1){const _0x8f7c21=_0x339b6f;let _0x22e2cc=new URL(window[_0x8f7c21(0x25a)][_0x8f7c21(0x3cc)]);_0x22e2cc[_0x8f7c21(0x1d5)]['delete'](_0x10c93f),_0xb876c4?window[_0x8f7c21(0x298)][_0x8f7c21(0x29c)]('','',_0x22e2cc['toString']()):window[_0x8f7c21(0x298)][_0x8f7c21(0x2cb)]('','',_0x22e2cc[_0x8f7c21(0x37a)]());}[_0x339b6f(0x2c4)](_0x58cbb6){const _0x549918=_0x339b6f;var _0x3acb4c;return(_0x3acb4c=new URL(window['location'][_0x549918(0x3cc)])[_0x549918(0x1d5)]['get'](_0x58cbb6))==null?void 0x0:_0x3acb4c;}};let _0x1034bb=class extends _0x1d062f[_0x339b6f(0x1c3)]{constructor(_0x510131=_0x5f31b3,_0x4fe85b,_0x56ac43,_0x3c2cbe){const _0x57bd53=_0x339b6f;super(),this[_0x57bd53(0x28a)]=_0x510131,this[_0x57bd53(0x2e0)]=_0x4fe85b,this[_0x57bd53(0x405)]=_0x56ac43,this['_configService']=_0x3c2cbe;let {..._0x104912}=(0x0,_0x1d062f[_0x57bd53(0x17d)])({},_0x5f31b3,this[_0x57bd53(0x28a)]);this[_0x57bd53(0x3c6)][_0x57bd53(0x36a)]('collaboration-client-ui.config',_0x104912);}[_0x339b6f(0x280)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x339b6f(0x2c3)](){const _0x12ec53=_0x339b6f;this[_0x12ec53(0x286)]();}['_registerDependencies'](){const _0x2c820e=_0x339b6f;var _0x3ddf31;let _0x258ac9=[[_0x47fa48],[_0x21999d],[_0x330553],[_0x2f9daa],[_0x426fe9],[_0x2b1e68],[_0x388e4a,{'useClass':_0x5af43f}],[_0x287543[_0x2c820e(0x140)],{'useClass':_0x287543[_0x2c820e(0x3d1)]}],[_0x20efb1[_0x2c820e(0x2a5)],{'useClass':_0x4e1f85}],[_0x22b7f5],[_0x3a0d44],[_0x1e8c36],[_0xe35be2],[_0x57c67b],[_0x8bd3ea]];this['_config'][_0x2c820e(0x2c9)]&&_0x258ac9[_0x2c820e(0x411)]([_0x133a91]),(0x0,_0x1d062f[_0x2c820e(0x18a)])(this[_0x2c820e(0x405)],(0x0,_0x1d062f[_0x2c820e(0x1ba)])(_0x258ac9,(_0x3ddf31=this[_0x2c820e(0x28a)])==null?void 0x0:_0x3ddf31[_0x2c820e(0x20e)]));}[_0x339b6f(0x286)](){const _0x290e17=_0x339b6f;this[_0x290e17(0x18c)](this[_0x290e17(0x2e0)][_0x290e17(0x291)](_0x1d062f[_0x290e17(0x397)]['UNIVER_DOC'],[_0x1993ee])),this[_0x290e17(0x18c)](this['_renderManagerService'][_0x290e17(0x291)](_0x1d062f['UniverInstanceType'][_0x290e17(0x16f)],[_0x4439c2]));}['_initDependencies'](){const _0x3e2b75=_0x339b6f;(0x0,_0x1d062f['touchDependencies'])(this['_injector'],[[_0xe35be2],[_0x22b7f5],[_0x3a0d44],[_0x1e8c36],[_0x8bd3ea],[_0x21999d],[_0x57c67b]]),this[_0x3e2b75(0x28a)][_0x3e2b75(0x2c9)]&&(0x0,_0x1d062f[_0x3e2b75(0x333)])(this['_injector'],[[_0x133a91]]);}};_0x1050e7(_0x1034bb,_0x339b6f(0x16c),_0x339b6f(0x3d3)),_0x1050e7(_0x1034bb,'packageName',_0x5cf5d0),_0x1050e7(_0x1034bb,'version',_0x57d268),_0x1034bb=_0x8db4f3([(0x0,_0x1d062f[_0x339b6f(0x406)])(_0x20efb1[_0x339b6f(0x24a)]),_0x21c55a(0x1,_0xc630f2[_0x339b6f(0x372)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,_0x1d062f['IConfigService'])],_0x1034bb);let _0x272630=class extends _0x20efb1[_0x339b6f(0x13e)]{constructor(_0x34ae52,_0x1dccbf,_0x479aff,_0x78ff83,_0x42a52a){super(_0x34ae52,_0x1dccbf,_0x479aff,_0x78ff83,_0x42a52a);}async['createSocket'](_0x41ecea){const _0x103502=_0x339b6f;let _0x5708db=await this[_0x103502(0x382)](),_0x1d3f80=this[_0x103502(0x410)](_0x41ecea,_0x5708db);return this[_0x103502(0x404)](_0x1d3f80);}[_0x339b6f(0x410)](_0x31dbc4,_0x5fe916){const _0x151b2a=_0x339b6f;let _0x37c2c9=typeof window>'u'?new URL(_0x31dbc4):new URL(_0x31dbc4,window['location'][_0x151b2a(0x1be)]);_0x37c2c9['searchParams'][_0x151b2a(0x3e7)](_0x151b2a(0x3c4),_0x5fe916);let _0x4c6049=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x151b2a(0x1d4)]);return _0x4c6049[_0x151b2a(0x3fe)]('runId')&&_0x37c2c9[_0x151b2a(0x1d5)][_0x151b2a(0x3e7)](_0x151b2a(0x18f),_0x4c6049['get'](_0x151b2a(0x18f))),_0x37c2c9[_0x151b2a(0x37a)]();}async[_0x339b6f(0x382)](){const _0x4a5a91=_0x339b6f;var _0x3922eb,_0x3fe6b7,_0x2a1109;let _0x3a0bfe=this[_0x4a5a91(0x3c6)][_0x4a5a91(0x302)](_0x20efb1[_0x4a5a91(0x371)]),_0x43c228=(_0x3922eb=_0x3a0bfe==null?void 0x0:_0x3a0bfe[_0x4a5a91(0x15f)])==null?_0x20efb1[_0x4a5a91(0x28e)]:_0x3922eb;return(_0x3fe6b7=(_0x2a1109=(await this[_0x4a5a91(0x1c9)][_0x4a5a91(0x3fe)](_0x43c228,{'headers':{'Content-Type':_0x4a5a91(0x22d)}}))[_0x4a5a91(0x1d2)])==null?void 0x0:_0x2a1109[_0x4a5a91(0x151)])==null?'':_0x3fe6b7;}};_0x272630=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x3,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x4,_0x600789[_0x339b6f(0x13f)])],_0x272630);let _0x264939=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x78d6b8,_0x59c109,_0x5ea0f9){const _0x2acd9f=_0x339b6f;super(),this[_0x2acd9f(0x3e4)]=_0x78d6b8,this[_0x2acd9f(0x1c9)]=_0x59c109,this[_0x2acd9f(0x3c6)]=_0x5ea0f9;}async[_0x339b6f(0x1e2)](_0x20db91,_0x3b491e,_0xb436de,..._0x3ddf4e){const _0x4ab4a9=_0x339b6f;var _0x383e2d,_0x49d2bb,_0x4ab72f,_0x153b2a;let _0x3859d7=this['_instanceService'][_0x4ab4a9(0x32d)]();if(!_0x3859d7)throw Error(_0x4ab4a9(0x2c1));let _0x229bb9=((_0x383e2d=this[_0x4ab4a9(0x3c6)][_0x4ab4a9(0x302)](_0x20efb1[_0x4ab4a9(0x41e)]))==null?_0x20efb1['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x383e2d)+'/'+_0x20db91+_0x4ab4a9(0x37e)+_0x3b491e,_0x3a8c20={'scriptId':_0x20db91,'runId':(_0x49d2bb=new URL(window['location']['href'])[_0x4ab4a9(0x1d5)][_0x4ab4a9(0x3fe)](_0x4ab4a9(0x18f)))==null?'':_0x49d2bb,'function':_0x3b491e,'unitId':_0x3859d7[_0x4ab4a9(0x2c0)](),'argsOfFunction':JSON['stringify'](_0x3ddf4e),'invokeId':(_0x4ab72f=_0xb436de[_0x4ab4a9(0x317)])==null?'':_0x4ab72f,'executionId':(_0x153b2a=_0xb436de['executionId'])==null?'':_0x153b2a};try{let _0x479385=await this[_0x4ab4a9(0x1c9)][_0x4ab4a9(0x316)](_0x229bb9,{'body':_0x3a8c20});return _0x479385[_0x4ab4a9(0x1d2)][_0x4ab4a9(0x40d)]&&_0x479385[_0x4ab4a9(0x1d2)][_0x4ab4a9(0x40d)][_0x4ab4a9(0x3bd)]!==_0x3c5971[_0x4ab4a9(0x363)]['OK']?'Failed':_0x479385[_0x4ab4a9(0x1d2)]['result'];}catch{return _0x4ab4a9(0x3c8);}}};_0x264939=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)])],_0x264939);let _0x892552=0x7530,_0x45da45='ACTIVE_UNIT_EVENT_CHANNEL';var _0x37c832=class extends _0x1d062f['Disposable']{constructor(){const _0xb8a7b8=_0x339b6f;super(),_0x1050e7(this,'_id',(0x0,_0x1d062f[_0xb8a7b8(0x409)])()),_0x1050e7(this,_0xb8a7b8(0x1f3),new Set()),_0x1050e7(this,'_unitOnClients',new Map()),_0x1050e7(this,_0xb8a7b8(0x203),null),_0x1050e7(this,_0xb8a7b8(0x347),new Map()),_0x1050e7(this,_0xb8a7b8(0x33a),new Map()),this[_0xb8a7b8(0x1ac)]();}[_0x339b6f(0x39e)](){const _0x5b3f01=_0x339b6f;super[_0x5b3f01(0x39e)](),this['_clearOtherTimers']['forEach']((_0x59f2cd,_0x73fe19)=>this[_0x5b3f01(0x3ad)](_0x73fe19)),this[_0x5b3f01(0x203)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x26d66c){const _0x4504a4=_0x339b6f;return this[_0x4504a4(0x170)](_0x26d66c)['pipe']((0x0,_0x5df150[_0x4504a4(0x41a)])());}[_0x339b6f(0x1b1)](_0x3eebfb){const _0x4e406e=_0x339b6f;this[_0x4e406e(0x1f3)][_0x4e406e(0x3ea)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e406e(0x1f3)][_0x4e406e(0x30e)](_0x3eebfb),this[_0x4e406e(0x1ad)]({'type':0x0,'memberID':this[_0x4e406e(0x3fd)],'unitIDs':[_0x3eebfb],'isForwarded':!0x1});}[_0x339b6f(0x2ab)](_0x4ed507){const _0x1f72ba=_0x339b6f;this[_0x1f72ba(0x1f3)][_0x1f72ba(0x229)](_0x4ed507),this[_0x1f72ba(0x1f3)][_0x1f72ba(0x3ea)]===0x0&&this[_0x1f72ba(0x203)]&&window[_0x1f72ba(0x3c7)](this[_0x1f72ba(0x203)]);}[_0x339b6f(0x1ac)](){const _0x63c9f7=_0x339b6f;this[_0x63c9f7(0x18c)]((0x0,_0x1d062f['toDisposable'])((0x0,_0x5df150[_0x63c9f7(0x1b2)])(window,_0x63c9f7(0x256))[_0x63c9f7(0x3cd)](_0x1092af=>{const _0x48a88e=_0x63c9f7;if(_0x1092af['key']!==_0x45da45||!_0x1092af[_0x48a88e(0x1ef)])return;let _0x51d47a=JSON[_0x48a88e(0x38b)](_0x1092af[_0x48a88e(0x1ef)]);this['_handleEvent'](_0x51d47a);}))),window[_0x63c9f7(0x308)](_0x63c9f7(0x144),()=>this[_0x63c9f7(0x1ad)]({'type':0x1,'memberID':this[_0x63c9f7(0x3fd)],'unitIDs':Array[_0x63c9f7(0x324)](this['_selfUnitIDs'])}));}[_0x339b6f(0x3f5)](_0x136b73){const _0x2c96be=_0x339b6f;switch(_0x136b73[_0x2c96be(0x1f8)]){case 0x0:this['_handleJoinEvent'](_0x136b73);break;case 0x1:this[_0x2c96be(0x3e8)](_0x136b73);break;case 0x2:this[_0x2c96be(0x1a5)](_0x136b73);break;}}[_0x339b6f(0x2f2)](_0x4d85b7){const _0x154e0d=_0x339b6f;let {unitIDs:_0x38e7d1,memberID:_0x29262d,isForwarded:_0x58e6fa}=_0x4d85b7;_0x38e7d1[_0x154e0d(0x159)](_0x4c1d9a=>{const _0x37d5a2=_0x154e0d;if(!_0x58e6fa&&this[_0x37d5a2(0x3aa)]['has'](_0x4c1d9a)&&this[_0x37d5a2(0x170)](_0x4c1d9a)[_0x37d5a2(0x1c8)](_0x20efb1[_0x37d5a2(0x30a)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x37d5a2(0x377)](_0x4c1d9a)||!this['_unitOnClients'][_0x37d5a2(0x3fe)](_0x4c1d9a)[_0x37d5a2(0x377)](_0x29262d)){let _0x3f27b1=this['_unitOnClients'][_0x37d5a2(0x3fe)](_0x4c1d9a)||new Set();_0x3f27b1[_0x37d5a2(0x30e)](_0x29262d),this[_0x37d5a2(0x3aa)]['set'](_0x4c1d9a,_0x3f27b1),this[_0x37d5a2(0x3a5)](_0x29262d);}}),_0x58e6fa||this['_send']({'type':0x0,'memberID':this[_0x154e0d(0x3fd)],'unitIDs':[...this[_0x154e0d(0x1f3)]],'isForwarded':!0x0});}[_0x339b6f(0x3a5)](_0x3ff0be){const _0x252997=_0x339b6f;this[_0x252997(0x3ad)](_0x3ff0be);let _0x4b5d6d=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x30959a=>{const _0x1db19f=_0x405a;_0x30959a[_0x1db19f(0x229)](_0x3ff0be);});},_0x892552*0x2);this['_clearOtherTimers'][_0x252997(0x3e7)](_0x3ff0be,_0x4b5d6d);}['_removeClearOtherTimer'](_0x2e04f2){const _0x2eaa34=_0x339b6f;if(this[_0x2eaa34(0x347)]['has'](_0x2e04f2)){let _0x3721b4=this[_0x2eaa34(0x347)][_0x2eaa34(0x3fe)](_0x2e04f2);_0x3721b4&&window['clearTimeout'](_0x3721b4),this[_0x2eaa34(0x347)][_0x2eaa34(0x3e7)](_0x2e04f2,null);}}[_0x339b6f(0x3e8)](_0x213d5b){let {memberID:_0x3bb102,unitIDs:_0x514b85}=_0x213d5b;_0x514b85['forEach'](_0x148de8=>{const _0x39fbcb=_0x405a;var _0x27b79f;let _0x4303b4=this[_0x39fbcb(0x3aa)][_0x39fbcb(0x3fe)](_0x148de8);_0x4303b4&&(_0x4303b4[_0x39fbcb(0x229)](_0x3bb102),(_0x27b79f=this[_0x39fbcb(0x170)](_0x148de8))==null||_0x27b79f[_0x39fbcb(0x1c8)](_0x4303b4[_0x39fbcb(0x3ea)]===0x0?_0x20efb1['UnitStatus'][_0x39fbcb(0x181)]:_0x20efb1[_0x39fbcb(0x30a)][_0x39fbcb(0x376)]));}),this['_removeClearOtherTimer'](_0x3bb102);}['_handleHeartbeatEvent'](_0x435986){const _0x3950e1=_0x339b6f;this[_0x3950e1(0x3a5)](_0x435986[_0x3950e1(0x227)]);}[_0x339b6f(0x1ad)](_0x17120c){const _0x191d1c=_0x339b6f;localStorage[_0x191d1c(0x349)](_0x45da45,JSON['stringify'](_0x17120c));}[_0x339b6f(0x26f)](){const _0x59135f=_0x339b6f;this[_0x59135f(0x203)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x892552);}['_ensureSubject'](_0x3c1f12){const _0x46dcb6=_0x339b6f;return this['_unitStatus'][_0x46dcb6(0x377)](_0x3c1f12)||this[_0x46dcb6(0x33a)][_0x46dcb6(0x3e7)](_0x3c1f12,new _0x5df150['BehaviorSubject'](_0x20efb1[_0x46dcb6(0x30a)][_0x46dcb6(0x181)])),this['_unitStatus'][_0x46dcb6(0x3fe)](_0x3c1f12);}};Object['defineProperty'](_0x2f94b9,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x272630;}}),Object[_0x339b6f(0x3b9)](_0x2f94b9,'CollaborationDataLoaderController',{'enumerable':!0x0,'get':function(){return _0x8bd3ea;}}),Object[_0x339b6f(0x3b9)](_0x2f94b9,_0x339b6f(0x1e0),{'enumerable':!0x0,'get':function(){return _0x22b7f5;}}),_0x2f94b9[_0x339b6f(0x23a)]=_0x388e4a,Object[_0x339b6f(0x3b9)](_0x2f94b9,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x264939;}}),_0x2f94b9[_0x339b6f(0x33d)]=_0x56d40a,Object[_0x339b6f(0x3b9)](_0x2f94b9,_0x339b6f(0x1b4),{'enumerable':!0x0,'get':function(){return _0x1034bb;}}),_0x2f94b9[_0x339b6f(0x35e)]=_0x37c832,_0x2f94b9[_0x339b6f(0x2b7)]=_0x5af43f;}));
9
-
10
- // @univerjs-pro/collaboration-client-ui/facade
11
- (function(_0x22b8de,_0x2babc2){var _0x5e3977=_0x2f1f,_0x5ee611=_0x22b8de();while(!![]){try{var _0x228ff5=-parseInt(_0x5e3977(0x158))/0x1*(-parseInt(_0x5e3977(0x15f))/0x2)+parseInt(_0x5e3977(0x15c))/0x3+-parseInt(_0x5e3977(0x167))/0x4+parseInt(_0x5e3977(0x159))/0x5*(-parseInt(_0x5e3977(0x161))/0x6)+-parseInt(_0x5e3977(0x157))/0x7*(parseInt(_0x5e3977(0x16a))/0x8)+parseInt(_0x5e3977(0x166))/0x9*(parseInt(_0x5e3977(0x16b))/0xa)+parseInt(_0x5e3977(0x165))/0xb*(-parseInt(_0x5e3977(0x15e))/0xc);if(_0x228ff5===_0x2babc2)break;else _0x5ee611['push'](_0x5ee611['shift']());}catch(_0x46553b){_0x5ee611['push'](_0x5ee611['shift']());}}}(_0x8f91,0xe0d0a),function(_0x5d091b,_0x5eaff9){var _0x2b7024=_0x2f1f;typeof exports=='object'&&typeof module<'u'?_0x5eaff9(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x2b7024(0x163)&&define['amd']?define([_0x2b7024(0x162),_0x2b7024(0x15d)],_0x5eaff9):(_0x5d091b=typeof globalThis<'u'?globalThis:_0x5d091b||self,_0x5eaff9(_0x5d091b['UniverProCollaborationClientUi'],_0x5d091b[_0x2b7024(0x160)]));}(this,function(_0x6666ba,_0x2ffba3){var _0x311bbe=_0x2f1f,_0x770ef=class extends _0x2ffba3[_0x311bbe(0x15a)]{[_0x311bbe(0x164)](_0x4499f7,_0xedda6a,..._0x5f59f0){var _0x4be054=_0x311bbe;return this[_0x4be054(0x168)][_0x4be054(0x15b)](_0x6666ba[_0x4be054(0x169)])[_0x4be054(0x164)](_0x4499f7,_0xedda6a,{},..._0x5f59f0);}};_0x2ffba3[_0x311bbe(0x15a)]['extend'](_0x770ef);}));function _0x2f1f(_0x267db5,_0x3317b5){_0x267db5=_0x267db5-0x157;var _0x8f910c=_0x8f91();var _0x2f1f95=_0x8f910c[_0x267db5];return _0x2f1f95;}function _0x8f91(){var _0x5712e5=['get','3901194UmKOzs','@univerjs/core/facade','63156xrYCpl','2304974zlEXoP','UniverCoreFacade','3094350keoueN','@univerjs-pro/collaboration-client-ui','function','runOnServer','671oiWppv','6702840HeQbWC','3519400ILKMfu','_injector','RemoteUniscriptService','9880GeJCyM','10QILhHh','252tkiwZd','1jlNsZg','10AysPbk','FUniver'];_0x8f91=function(){return _0x5712e5;};return _0x8f91();}
12
-
13
- // @univerjs-pro/thread-comment-datasource/index
14
- function _0x5ebb(_0x5364e5,_0x5d2c8b){_0x5364e5=_0x5364e5-0x12d;const _0x1704cf=_0x1704();let _0x5ebbfc=_0x1704cf[_0x5364e5];return _0x5ebbfc;}function _0x1704(){const _0x614eb=['744780PRbKZP','exports','CustomRangeType','symbol','Solved','delete','getComment','onStarting','UserManagerService','_httpService','@univerjs/thread-comment','Delete','get','UniverThreadCommentUIPlugin','22281tudmAf','@univerjs/protocol','UniverProLicense','listComments','amd','_sessionService','534kYwJYm','pipe','IThreadCommentDataSourceService','requireSession','Solve','bufferTime','Inject','UniverProThreadCommentDatasource','payload','onReady','UniverProCollaborationClient','map','COMMENT','getUnit','OpenOrReOpen','270288OXFEXS','Add','users','userID','disposeWithMe','Disposable','_threadCommentDataSource','/delete','@univerjs/thread-comment-ui','_threadCommentModel','DependentOn','packageName','content','body','_init','slice','IConfigService','addComment','unitId','_commentService','stringify','136xdOIgL','1616vxypTs','getUser','type','personId','1584162oHlPZb','toPrimitive','_config','_userService','forEach','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Reply','@univerjs/core','prototype','getCurrentUser','values','dateKit','@univerjs-pro/thread-comment-datasource','commentUpdate$','_configService','0.25.1','length','/universer-api/comment/unit/','HTTPService','post','customRanges','_threadCommentDataSourceService','/universer-api/user/list','UniverCore','CommentUpdateEventType','comments','UniverCollaborationClientPlugin','17427dmaKiM','/solved','replies','saveCommentToSnapshot','deleteComment','CommentSolvedStatus','toStringTag','addUser','@univerjs/network','replyId','size','getMemberID','call','filter','3207017EMQVWq','decorate','ThreadCommentModel','format','find','/reply','UniverThreadCommentUi','CommentService','comment','solved','UniverProtocol','UniverThreadCommentDataSourcePlugin','10YzmEpS','reply','@univerjs-pro/license','add','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','_initDataSource','default','rxjs','root','function','rangeId','parse','Injector','error','userId','subscribe','syncUpdateMutationToColla','parentId','UniverThreadComment','/add','threadId','defineProperty','CollaborationSessionService','/edit','user','_injector','object','string','updateComment','Plugin','code','createTimestamp','UniverNetwork','resolved','2QLVzid'];_0x1704=function(){return _0x614eb;};return _0x1704();}(function(_0x339319,_0x459c98){const _0x2090e4=_0x5ebb,_0x55ce25=_0x339319();while(!![]){try{const _0x4ae687=parseInt(_0x2090e4(0x164))/0x1*(parseInt(_0x2090e4(0x1a0))/0x2)+parseInt(_0x2090e4(0x1b5))/0x3*(-parseInt(_0x2090e4(0x145))/0x4)+parseInt(_0x2090e4(0x1a1))/0x5+-parseInt(_0x2090e4(0x12f))/0x6+parseInt(_0x2090e4(0x1af))/0x7*(-parseInt(_0x2090e4(0x144))/0x8)+parseInt(_0x2090e4(0x149))/0x9*(-parseInt(_0x2090e4(0x17e))/0xa)+parseInt(_0x2090e4(0x172))/0xb;if(_0x4ae687===_0x459c98)break;else _0x55ce25['push'](_0x55ce25['shift']());}catch(_0x1d8066){_0x55ce25['push'](_0x55ce25['shift']());}}}(_0x1704,0x1b0f9),function(_0x3706bb,_0x3706c7){const _0x519a8d=_0x5ebb;typeof exports==_0x519a8d(0x198)&&typeof module<'u'?_0x3706c7(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/protocol'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x519a8d(0x187)&&define[_0x519a8d(0x1b3)]?define([_0x519a8d(0x1a2),'@univerjs-pro/collaboration-client',_0x519a8d(0x180),_0x519a8d(0x150),_0x519a8d(0x137),_0x519a8d(0x1b0),_0x519a8d(0x1ab),_0x519a8d(0x185),_0x519a8d(0x16c)],_0x3706c7):(_0x3706bb=typeof globalThis<'u'?globalThis:_0x3706bb||self,_0x3706c7(_0x3706bb[_0x519a8d(0x1bc)]={},_0x3706bb[_0x519a8d(0x1bf)],_0x3706bb[_0x519a8d(0x1b1)],_0x3706bb[_0x519a8d(0x160)],_0x3706bb[_0x519a8d(0x178)],_0x3706bb[_0x519a8d(0x17c)],_0x3706bb[_0x519a8d(0x190)],_0x3706bb[_0x519a8d(0x185)],_0x3706bb[_0x519a8d(0x19e)]));}(this,function(_0x33f0e5,_0x24426e,_0x4a513d,_0xcafa72,_0x48398d,_0x34bcc5,_0x36a034,_0x4d6f3c,_0x54a381){const _0x282255=_0x5ebb;Object['defineProperty'](_0x33f0e5,Symbol[_0x282255(0x16a)],{'value':'Module'});var _0xee7654=_0x282255(0x155),_0x1b82ed=_0x282255(0x158);let _0x2793cb=_0x2e070e=>(0x0,_0xcafa72[_0x282255(0x154)])(new Date(+_0x2e070e))[_0x282255(0x175)]('YYYY/MM/DD\x20HH:mm'),_0x1d3002=async(_0x4de39d,_0x2f4b21)=>{const _0x5f59ae=_0x282255;let _0x174d81=_0x4de39d[_0x5f59ae(0x1ad)](_0xcafa72[_0x5f59ae(0x1a9)]),_0x100ae1=_0x4de39d[_0x5f59ae(0x1ad)](_0x54a381['HTTPService']);_0x2f4b21[_0x5f59ae(0x14d)](_0x109ad4=>{const _0xbc0340=_0x5f59ae;_0x174d81[_0xbc0340(0x146)](_0x109ad4)&&_0x2f4b21[_0xbc0340(0x1a6)](_0x109ad4);}),_0x2f4b21[_0x5f59ae(0x16e)]&&(await _0x100ae1['get'](_0x5f59ae(0x15f),{'params':{'userIDs':[..._0x2f4b21]}}))[_0x5f59ae(0x13c)][_0x5f59ae(0x131)]['forEach'](_0x2158c3=>{const _0x1b393d=_0x5f59ae;_0x2158c3&&_0x174d81[_0x1b393d(0x16b)](_0x2158c3);});};function _0x12fa85(_0x6faef3,_0x3a908a){return function(_0x1421bf,_0x884309){_0x3a908a(_0x1421bf,_0x884309,_0x6faef3);};}function _0x443909(_0x4c8afc,_0x420bfc,_0x54af09,_0x2c892d){const _0x3ad38f=_0x282255;var _0x51163b=arguments[_0x3ad38f(0x159)],_0x37a471=_0x51163b<0x3?_0x420bfc:_0x2c892d===null?_0x2c892d=Object['getOwnPropertyDescriptor'](_0x420bfc,_0x54af09):_0x2c892d,_0x447d2a;if(typeof Reflect==_0x3ad38f(0x198)&&typeof Reflect[_0x3ad38f(0x173)]==_0x3ad38f(0x187))_0x37a471=Reflect[_0x3ad38f(0x173)](_0x4c8afc,_0x420bfc,_0x54af09,_0x2c892d);else{for(var _0x318b3e=_0x4c8afc[_0x3ad38f(0x159)]-0x1;_0x318b3e>=0x0;_0x318b3e--)(_0x447d2a=_0x4c8afc[_0x318b3e])&&(_0x37a471=(_0x51163b<0x3?_0x447d2a(_0x37a471):_0x51163b>0x3?_0x447d2a(_0x420bfc,_0x54af09,_0x37a471):_0x447d2a(_0x420bfc,_0x54af09))||_0x37a471);}return _0x51163b>0x3&&_0x37a471&&Object[_0x3ad38f(0x193)](_0x420bfc,_0x54af09,_0x37a471),_0x37a471;}let _0x51eb27=class extends _0xcafa72[_0x282255(0x134)]{constructor(_0x177ecb,_0x39698c,_0x476560,_0x417068){const _0xb600c8=_0x282255;super(),this[_0xb600c8(0x142)]=_0x177ecb,this['_threadCommentModel']=_0x39698c,this[_0xb600c8(0x14c)]=_0x476560,this[_0xb600c8(0x197)]=_0x417068,this['_init'](),this['_initUserSync']();}['_initUserSync'](){const _0x41e85f=_0x282255;this[_0x41e85f(0x133)](this['_threadCommentModel'][_0x41e85f(0x156)][_0x41e85f(0x1b6)]((0x0,_0x4d6f3c[_0x41e85f(0x1ba)])(0x10))[_0x41e85f(0x18d)](_0x46233d=>{const _0x5bd83e=_0x41e85f;let _0x5b668f=new Set();_0x46233d['forEach'](_0x24fd19=>{const _0x1b08e4=_0x5ebb;switch(_0x24fd19[_0x1b08e4(0x147)]){case _0x1b08e4(0x181):{let _0x3215c9=_0x24fd19[_0x1b08e4(0x1bd)][_0x1b08e4(0x148)];_0x5b668f[_0x1b08e4(0x181)](_0x3215c9);break;}default:break;}}),_0x1d3002(this[_0x5bd83e(0x197)],_0x5b668f);}));}[_0x282255(0x13d)](){const _0x4bde80=_0x282255;this[_0x4bde80(0x133)](this[_0x4bde80(0x142)][_0x4bde80(0x156)][_0x4bde80(0x18d)](async _0x5c44d1=>{const _0x4b9353=_0x4bde80;var _0x1cc970;let _0x1cfaf1=(_0x1cc970=this['_threadCommentModel'][_0x4b9353(0x12d)](_0x5c44d1[_0x4b9353(0x141)])['find'](_0x35101f=>_0x35101f[_0x4b9353(0x192)]===_0x5c44d1['threadId']))==null?void 0x0:_0x1cc970['root'];if(!_0x1cfaf1)return;let {unitId:_0x55130a,subUnitId:_0x582222}=_0x1cfaf1;switch(_0x5c44d1[_0x4b9353(0x196)]&&this['_userService'][_0x4b9353(0x16b)](_0x5c44d1[_0x4b9353(0x196)]),_0x5c44d1[_0x4b9353(0x147)]){case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x130)]:break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x14f)]:var _0x1259a2,_0x41a9cb;this[_0x4b9353(0x138)][_0x4b9353(0x140)](_0x55130a,_0x582222,{'unitId':_0x55130a,'subUnitId':_0x582222,'ref':'','id':_0x5c44d1[_0x4b9353(0x16d)],'dT':_0x2793cb(+_0x5c44d1[_0x4b9353(0x19d)]),'threadId':_0x5c44d1[_0x4b9353(0x192)],'personId':(_0x1259a2=(_0x41a9cb=_0x5c44d1[_0x4b9353(0x196)])==null?void 0x0:_0x41a9cb['userID'])==null?_0x5c44d1['userId']:_0x1259a2,'text':JSON[_0x4b9353(0x189)](_0x5c44d1[_0x4b9353(0x13b)]),'parentId':_0x1cfaf1['id']});break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x1ac)]:{let _0x1690f7=this['_threadCommentModel'][_0x4b9353(0x1a7)](_0x55130a,_0x582222,_0x5c44d1[_0x4b9353(0x16d)]);_0x1690f7&&_0x1690f7[_0x4b9353(0x18f)]&&this['_threadCommentModel'][_0x4b9353(0x168)](_0x55130a,_0x582222,_0x5c44d1[_0x4b9353(0x16d)]);break;}case _0x34bcc5[_0x4b9353(0x161)]['Edit']:this[_0x4b9353(0x138)][_0x4b9353(0x19a)](_0x55130a,_0x582222,{'commentId':_0x5c44d1[_0x4b9353(0x16d)],'text':JSON[_0x4b9353(0x189)](_0x5c44d1['content'])});break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x1b9)]:{var _0x1b3b84;let _0x4257fa=(_0x1b3b84=this['_threadCommentModel'][_0x4b9353(0x12d)](_0x5c44d1[_0x4b9353(0x141)])[_0x4b9353(0x176)](_0x3b7099=>_0x3b7099[_0x4b9353(0x192)]===_0x5c44d1[_0x4b9353(0x192)]))==null?void 0x0:_0x1b3b84[_0x4b9353(0x186)];_0x4257fa&&this['_threadCommentModel']['resolveComment'](_0x55130a,_0x582222,_0x4257fa['id'],_0x5c44d1[_0x4b9353(0x17b)]===_0x34bcc5[_0x4b9353(0x169)][_0x4b9353(0x1a5)]);break;}default:break;}}));}};_0x51eb27=_0x443909([_0x12fa85(0x0,(0x0,_0xcafa72['Inject'])(_0x24426e[_0x282255(0x179)])),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x36a034[_0x282255(0x174)])),_0x12fa85(0x2,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x1a9)])),_0x12fa85(0x3,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x18a)]))],_0x51eb27);let _0x59a1a7={};function _0x27cc44(_0x60304c,_0x1be19b){const _0x2f0ab5=_0x282255;let _0x441010=_0x60304c[_0x2f0ab5(0x166)][0x0];return{..._0x1be19b,'id':_0x441010[_0x2f0ab5(0x16d)],'resolved':_0x60304c[_0x2f0ab5(0x17b)]===0x1,'dT':_0x2793cb(_0x441010[_0x2f0ab5(0x19d)]),'personId':_0x441010[_0x2f0ab5(0x18c)],'threadId':_0x441010['threadId']};}function _0x57f6cb(_0x1ccc0c,_0x1d418c,_0x855974){const _0x3f88d9=_0x282255;var _0x56e5f9,_0x279784;if(((_0x56e5f9=_0x1ccc0c==null||(_0x279784=_0x1ccc0c[_0x3f88d9(0x166)])==null?void 0x0:_0x279784['length'])==null?0x0:_0x56e5f9)>0x0){let _0x5447f9=(_0x411b3c,_0x518b6a)=>({'id':_0x411b3c[_0x3f88d9(0x16d)],'threadId':_0x411b3c['threadId'],'dT':_0x2793cb(_0x411b3c[_0x3f88d9(0x19d)]),'personId':_0x411b3c[_0x3f88d9(0x18c)],'resolved':_0x1ccc0c['solved']===_0x34bcc5['CommentSolvedStatus'][_0x3f88d9(0x1a5)],'unitId':_0x1d418c,'subUnitId':_0x855974,'text':JSON[_0x3f88d9(0x189)](_0x411b3c['content']),'parentId':_0x518b6a}),_0x291921=_0x5447f9(_0x1ccc0c[_0x3f88d9(0x166)][0x0]);return{..._0x291921,'children':_0x1ccc0c[_0x3f88d9(0x166)][_0x3f88d9(0x13e)](0x1)[_0x3f88d9(0x1c0)](_0x51f602=>_0x5447f9(_0x51f602,_0x291921['id']))};}return null;}let _0xed0191=class{constructor(_0x287cd6,_0x38e343,_0x4d2667){const _0x3defc6=_0x282255;this[_0x3defc6(0x1aa)]=_0x287cd6,this[_0x3defc6(0x14c)]=_0x38e343,this[_0x3defc6(0x1b4)]=_0x4d2667;}async['addComment'](_0x1968c2){const _0x4d825b=_0x282255;var _0x356122,_0x5073df;let {parentId:_0x20ae10,unitId:_0x4109a3,text:_0x32fc71,threadId:_0x416361}=_0x1968c2,_0x45a5a1=(_0x356122=(_0x5073df=_0x32fc71[_0x4d825b(0x15d)])==null?void 0x0:_0x5073df['filter'](_0x3076d3=>_0x3076d3['rangeType']===_0xcafa72['CustomRangeType'][_0x4d825b(0x1c1)])[_0x4d825b(0x1c0)](_0x559545=>_0x559545['rangeId']))==null?[]:_0x356122,_0x1ae202=JSON[_0x4d825b(0x143)](_0x32fc71),_0x758534=(await this[_0x4d825b(0x1b4)]['requireSession'](_0x4109a3))['getMemberID']();if(_0x20ae10){let _0x68c23={'memberId':_0x758534,'unitId':_0x4109a3,'content':_0x1ae202,'mention':_0x45a5a1,'threadId':_0x416361},_0x1266cf=(await this[_0x4d825b(0x1aa)][_0x4d825b(0x15c)](_0x4d825b(0x15a)+_0x4109a3+_0x4d825b(0x177),{'body':_0x68c23}))[_0x4d825b(0x13c)][_0x4d825b(0x17f)];return{..._0x1968c2,'id':_0x1266cf[_0x4d825b(0x16d)],'dT':(0x0,_0xcafa72[_0x4d825b(0x154)])(+_0x1266cf['createTimestamp'])[_0x4d825b(0x175)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x1266cf['userId']};}else{let _0x29495d={'memberId':_0x758534,'unitId':_0x4109a3,'content':_0x1ae202,'mention':_0x45a5a1};return _0x27cc44((await this[_0x4d825b(0x1aa)][_0x4d825b(0x15c)]('/universer-api/comment/unit/'+_0x4109a3+_0x4d825b(0x191),{'body':_0x29495d}))[_0x4d825b(0x13c)][_0x4d825b(0x17a)],_0x1968c2);}}async['updateComment'](_0x48af7a){const _0x428da3=_0x282255;var _0x1cfd85,_0x3dbd25;let {text:_0x539d3b,unitId:_0x5cf529}=_0x48af7a,_0x146065=(_0x1cfd85=(_0x3dbd25=_0x539d3b['customRanges'])==null?void 0x0:_0x3dbd25[_0x428da3(0x171)](_0x2af93b=>_0x2af93b['rangeType']===_0xcafa72[_0x428da3(0x1a3)][_0x428da3(0x1c1)])['map'](_0x11429e=>_0x11429e[_0x428da3(0x188)]))==null?[]:_0x1cfd85,_0x38debc=JSON['stringify'](_0x539d3b),_0x4a4415=_0x48af7a[_0x428da3(0x192)],_0x364861=_0x48af7a['id'],_0x569828={'memberId':(await this[_0x428da3(0x1b4)][_0x428da3(0x1b8)](_0x5cf529))[_0x428da3(0x16f)](),'unitId':_0x5cf529,'threadId':_0x4a4415,'mention':_0x146065,'content':_0x38debc,'replyId':_0x364861},_0x5b7db0=await this[_0x428da3(0x1aa)][_0x428da3(0x15c)](_0x428da3(0x15a)+_0x5cf529+_0x428da3(0x195),{'body':_0x569828});return!_0x5b7db0[_0x428da3(0x13c)][_0x428da3(0x18b)]||_0x5b7db0['body'][_0x428da3(0x18b)][_0x428da3(0x19c)]===0x1;}async['resolveComment'](_0x3c0325){const _0x251a29=_0x282255;let {unitId:_0x290a2b}=_0x3c0325,_0x8b6e7d=_0x3c0325['threadId'],_0x5aa88b={'memberId':this['_userService'][_0x251a29(0x152)]()[_0x251a29(0x132)],'unitId':_0x290a2b,'threadId':_0x8b6e7d,'solved':_0x3c0325[_0x251a29(0x19f)]?_0x34bcc5[_0x251a29(0x169)]['Solved']:_0x34bcc5[_0x251a29(0x169)][_0x251a29(0x12e)]},_0x1ea437=await this[_0x251a29(0x1aa)]['post'](_0x251a29(0x15a)+_0x290a2b+_0x251a29(0x165),{'body':_0x5aa88b});return!_0x1ea437[_0x251a29(0x13c)][_0x251a29(0x18b)]||_0x1ea437[_0x251a29(0x13c)]['error'][_0x251a29(0x19c)]===0x1;}async[_0x282255(0x168)](_0x1c3013,_0x525dd7,_0x9ffb92,_0x510f82){const _0xc976b4=_0x282255;let _0xd104f5={'memberId':(await this['_sessionService'][_0xc976b4(0x1b8)](_0x1c3013))[_0xc976b4(0x16f)](),'threadId':_0x9ffb92,'replyId':_0x510f82,'unitId':_0x1c3013},_0x2dc3b6=await this[_0xc976b4(0x1aa)][_0xc976b4(0x15c)](_0xc976b4(0x15a)+_0x1c3013+_0xc976b4(0x136),{'body':_0xd104f5});return!_0x2dc3b6[_0xc976b4(0x13c)][_0xc976b4(0x18b)]||_0x2dc3b6[_0xc976b4(0x13c)]['error'][_0xc976b4(0x19c)]===0x1;}async[_0x282255(0x1b2)](_0x229519,_0x3f105b,_0x355f14){const _0x23b20c=_0x282255;let _0x294902={'unitId':_0x229519,'threadId':_0x355f14},_0x58feaa=await this['_httpService']['post'](_0x23b20c(0x15a)+_0x229519+'/list',{'body':_0x294902}),_0x303f54=_0x355f14[_0x23b20c(0x1c0)](_0x5f2cae=>_0x57f6cb(_0x58feaa['body'][_0x23b20c(0x162)][_0x5f2cae],_0x229519,_0x3f105b))['filter'](Boolean);return Object[_0x23b20c(0x153)](_0x58feaa[_0x23b20c(0x13c)][_0x23b20c(0x131)])['forEach'](_0x2c6bad=>{const _0x3fdbbd=_0x23b20c;this[_0x3fdbbd(0x14c)][_0x3fdbbd(0x16b)](_0x2c6bad);}),_0x303f54;}[_0x282255(0x167)](_0x5c6b7f){const _0x8304ae=_0x282255;return{'id':_0x5c6b7f['id'],'threadId':_0x5c6b7f[_0x8304ae(0x192)],'ref':_0x5c6b7f['ref']};}};_0xed0191=_0x443909([_0x12fa85(0x0,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x54a381[_0x282255(0x15b)])),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x1a9)])),_0x12fa85(0x2,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x24426e[_0x282255(0x194)]))],_0xed0191);let _0x3824e5=class extends _0xcafa72[_0x282255(0x134)]{constructor(_0x326af4,_0x5aed8f){const _0x12dd6c=_0x282255;super(),this[_0x12dd6c(0x15e)]=_0x326af4,this[_0x12dd6c(0x135)]=_0x5aed8f,this[_0x12dd6c(0x183)]();}[_0x282255(0x183)](){const _0x5c6d31=_0x282255;this[_0x5c6d31(0x15e)]['dataSource']=this[_0x5c6d31(0x135)],this['_threadCommentDataSourceService'][_0x5c6d31(0x18e)]=!0x1;}};_0x3824e5=_0x443909([_0x12fa85(0x0,_0x36a034[_0x282255(0x1b7)]),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xed0191))],_0x3824e5);function _0x39446a(_0x29c46c){'@babel/helpers - typeof';const _0x1b66ac=_0x282255;return _0x39446a=typeof Symbol==_0x1b66ac(0x187)&&typeof Symbol['iterator']=='symbol'?function(_0x3a4e50){return typeof _0x3a4e50;}:function(_0xbe2e2d){const _0x200ed6=_0x1b66ac;return _0xbe2e2d&&typeof Symbol==_0x200ed6(0x187)&&_0xbe2e2d['constructor']===Symbol&&_0xbe2e2d!==Symbol[_0x200ed6(0x151)]?_0x200ed6(0x1a4):typeof _0xbe2e2d;},_0x39446a(_0x29c46c);}function _0x37691a(_0x5d5835,_0x137d55){const _0x1f7164=_0x282255;if(_0x39446a(_0x5d5835)!=_0x1f7164(0x198)||!_0x5d5835)return _0x5d5835;var _0x313f72=_0x5d5835[Symbol[_0x1f7164(0x14a)]];if(_0x313f72!==void 0x0){var _0x5883fa=_0x313f72[_0x1f7164(0x170)](_0x5d5835,_0x137d55||_0x1f7164(0x184));if(_0x39446a(_0x5883fa)!=_0x1f7164(0x198))return _0x5883fa;throw TypeError(_0x1f7164(0x14e));}return(_0x137d55===_0x1f7164(0x199)?String:Number)(_0x5d5835);}function _0x369642(_0x5e7d56){const _0xa31c96=_0x282255;var _0x1ad395=_0x37691a(_0x5e7d56,_0xa31c96(0x199));return _0x39446a(_0x1ad395)==_0xa31c96(0x1a4)?_0x1ad395:_0x1ad395+'';}function _0xba2950(_0x3ba3c0,_0x257317,_0x50bf5f){const _0x37916f=_0x282255;return(_0x257317=_0x369642(_0x257317))in _0x3ba3c0?Object[_0x37916f(0x193)](_0x3ba3c0,_0x257317,{'value':_0x50bf5f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ba3c0[_0x257317]=_0x50bf5f,_0x3ba3c0;}let _0xd1b644=class extends _0xcafa72[_0x282255(0x19b)]{constructor(_0x58de19=_0x59a1a7,_0x511526,_0x35f073){const _0x457cee=_0x282255;super(),this[_0x457cee(0x14b)]=_0x58de19,this[_0x457cee(0x197)]=_0x511526,this[_0x457cee(0x157)]=_0x35f073;let {..._0xe96e15}=(0x0,_0xcafa72['merge'])({},_0x59a1a7,this['_config']);this[_0x457cee(0x157)]['setConfig']('thread-comment-data-source.config',_0xe96e15);}[_0x282255(0x1a8)](){[[_0xed0191],[_0x3824e5],[_0x51eb27]]['forEach'](_0x15d335=>{const _0x3e61bb=_0x5ebb;this[_0x3e61bb(0x197)]['add'](_0x15d335);});}[_0x282255(0x1be)](){const _0xe0cca=_0x282255;this['_injector'][_0xe0cca(0x1ad)](_0x3824e5),this['_injector'][_0xe0cca(0x1ad)](_0x51eb27);}};_0xba2950(_0xd1b644,'pluginName',_0x282255(0x182)),_0xba2950(_0xd1b644,_0x282255(0x13a),_0xee7654),_0xba2950(_0xd1b644,'version',_0x1b82ed),_0xd1b644=_0x443909([(0x0,_0xcafa72[_0x282255(0x139)])(_0x48398d[_0x282255(0x1ae)],_0x24426e[_0x282255(0x163)],_0x4a513d['UniverLicensePlugin']),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x18a)])),_0x12fa85(0x2,_0xcafa72[_0x282255(0x13f)])],_0xd1b644),Object['defineProperty'](_0x33f0e5,_0x282255(0x17d),{'enumerable':!0x0,'get':function(){return _0xd1b644;}});}));
15
-
16
- // @univerjs-pro/edit-history-viewer/index
17
- function _0x3a5e(){const _0x1960cf=['edit-history-viewer.panel.revertConfirmText','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','userID','UniverSheetsDataValidation','getSubUnitId','editSheet','setDV','labelKey','COLUMN','SetColDataMutation','permissionPointUpdate$','setRangeValues','UniverSheetsMobileUIPlugin','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','ICellEditorManagerService','_sheetPermissionInitController','packageName','SetWorksheetHideMutation','rgba','removeShape','span','ZH_CN','Exited','loadingState$','recalcFilter','historyAIassistantEnabled','highlightRow','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','style','triggerLoadSheet','3NLODtw','defIds','decorate','path','Character','SetGridlinesColorMutation','showCol','/cs?startRevision=','string','Fragment','setPivotOption','Comment','addPivotField','SetPivotCollapseMutation','version','next','univer-text-gray-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','showText','vertical','_sidebarDisposable','_versionDiffService','arrowColumnRanges','some','insertCellRanges','body','setTableFilter','cellValue','fillStyle','InsertColMutation','IDialogService','_maskContainer','18.1758','SheetCollabCursorShape','more-right-icon','getTableInfo','stop','_name','removePivotTable','_creators$','labelPosition','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','setColCount','_getActiveSubUnitId','confirm','InsertSheetsChartMutation','univer-text-2xl\x20dark:!univer-text-white','small','_handleOverlappingShapes','endRow','UpdateSheetsShapeTypeMutation','SetWorksheetColWidthMutation','LoadingMultiIcon','linearGradient','colorChannel1','SetPivotValueFilterMutation','horizontal','isArray','SetColHiddenMutation','_context','deleteWorksheetRangeTheme','UniverCore','IPermissionService','useMemo','MoreDownIcon','restore-icon','back-icon','SetPivotSortMutation','Info','transformByState','ensureVersion','getMinutes','iterator','display','DeleteSheetTableMutation','InsertSheetMutation','triggerLoadVersions','_hasMore','RevertRevisionMutation','getDataRange','setRightToLeft','4631520yqqbCv','entities','univer-flex\x20univer-items-center\x20univer-justify-center','insertBorderRanges','onPointerLeave$','updateTable','all','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','close','addProtection','transformMutations','LocaleService','arc','Error','getSheetObject','edit-history-viewer.panel.filterCollaborator','UniverInstanceType','setCF','removeEventListener','_renderBorderRanges','RemoveRangeThemeMutation','RenameSheet','_renderArrowRanges','RemoveSheetSparklineMutation','ToggleGridlinesMutation','edit-history-viewer.info.loading','100%','updateCellRanges','dateString','DrawingApplyType','deleteProtection','SheetTableService','Injector','getOwnPropertyDescriptor','AddPivotFieldMutation','UpdateFieldPositionMutation','&endRevision=','users','univer-size-8\x20univer-text-gray-400','addObjects','createUnit','connectInjector','updateShapeData','currentVersion','max','from','exited','getInterceptPoints','min','sort','blocks','deleteCF','_renderCellRanges','Button','removeAll','edit-history-viewer.action.insertDrawing','AddDataValidationMutation','SetFrozenMutation','flex','SetTabColorMutation','InsertSheetsShapeMutation','AddSheetSparklineMutation','_findOverlappingShapes','RemoveSheetMutation','attrs','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getRange',',\x200.2)','insertCol','setSparkline','SheetsChartService','UniverProCollaboration','SetSheetTableFilterMutation','setRowHeight','setRowCount','borderBottomClassName','0.31','link','RemoveSheetsChartMutation','getRelativeToViewportCoord','setPivotSort','_stopBlinking','_updateVersions','SetWorksheetRowIsAutoHeightMutation','Unspecified','allRanges','UniverSheetsFilter','http://www.w3.org/2000/svg','triggerDblclick','React','save','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','0.25.1','changesets','lineWidth','Inject','0\x200\x2016\x2017','SetRowDataMutation','ChartUpdateConfigMutation','getCurrentUnitCurrentVersion','ruleId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','range','_createMask','_revertRevision$','UniverDesign','object','function','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','fetchCreatorList','updateValuePosition','subscribe','setRowAutoHeight','getSeconds','setConfig','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','startRow','_permissionService','IConfigService','50%','updateChartConfig','rgba(225,\x20225,\x20225,\x200.5)','mutations','UniverSheetsUi','startsWith','children','current','0\x200\x2020\x2020','Segmented','highlightColumn','univer-animate-spin\x20univer-text-gray-400','creators','Shape','getDeserializedSheetBlock','edit-history-viewer.header.back','substring','subUnitIds','MoveRowsMutation','label','useDependency','className','findAllRectangle','position','SetWorksheetRangeThemeStyleMutation','WorkbookMoveSheetPermission','clear','jsx','#FF557D','useState','fetching$','revertRevision$','column','registerRenderModule','getSelectedVersionIsCurrentVersion','LocaleType','RestoreIcon','IDrawingManagerService','unitId','toPrimitive','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','DeleteWorksheetRangeThemeStyleMutation','loading-multi-icon','userId','join','url(#$1','subUnitId','getCurrentSkeleton','setNumfmt','WorkbookRenameSheetPermission','_combineRanges','setPivotCollapse','includes','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','edit-history-viewer.panel.filterAll','edit-history-viewer.action.revertSheetSuffix','parseProtocolChangeset','3153159OCnvwI','isTransformMutationsSuccess','_createUnit','_workbookDataCache','createSheet','insertRow','univer-text-sm','setOffsetY','hasCommand','19775aVRABt','edit-history-viewer.panel.filterCollaboratorCancel','_isBlinkVisible','params','top','combineLatest','shapeId','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','generateDiffMarks','...','endColumn','CollaborationImageIoService','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','getCurrentVersion','endRevCreateTime','highlight','_uiPartsService','memberId','setPivotPosition','UNIVER_SHEET','arrowRow','categorizeMutationRanges','highlightSecond','setColData','1000','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','edit-history-viewer.action.removeDrawing','currentVersionDiff$','commands','SetWorksheetOrderMutation','direction','getElementById','_compressMutationService','loaded','asObservable','Today','SHEET_VIEWPORT_KEY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setTabColor','RemovePivotFieldMutation','sourceRange','hideCol','getMatrix','lineTo','getSheets','div','ConditionalFormattingRuleModel','workbook','loadInitialVersions','_hovered','rule','parent','drawingIds','MoveConditionalRuleMutation','_cacheKey','parseInt','getAncestorScale','SetPivotFilterMutation','_messageService','RemoveNumfmtMutation','univer-h-[60%]','registerDetailVersion','_startBlinking','-detail-','svg','_loadParams','_historyManagerService','forwardRef','LRUMap','more-down-icon','_highlightSecond','defineProperty','action','setRowIsAutoHeight','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_univerInstanceService','SetWorksheetNameMutation','removeChart','0.655','UpdateDataValidationMutation','ObjectMatrix','HEADER','getMember','_applyWorkbookData','#01C2AA','useEffect','UnitAction','IImageIoService','setPivotFieldFormat','IUIPartsService','mergeCells','removePivotField','tableId','edit-history-viewer.action.revertSheetPrefix','center','univer-m-auto\x20univer-animate-spin','_lastLabel','moveRange','append','univer-flex-1','_yieldToMain','add','VIEW_MAIN','HistoryOrigin','revision','createTime','getPivotTableRangeInfo','viewportScrollX','getUnit','8MpADwY','now','setGridlinesColor','rgba(46,125,50,0.5)','interceptor','getVpScrollXYInfoByPosToVp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','moveCols','merge','onStarting','getHours','left','removeRow','unmergeCells','values','startRevision','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_drawTextBubble','SetWorksheetRowHeightMutation','moveCF','_dataValidationModel','univerjs-icon\x20univerjs-icon-','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SheetsPivotTableConfigModel','find','\x20-\x20','getUnitOnRev','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','SetRangeThemeMutation','origin','drawingId','0\x200\x2016\x2016','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getSheetId','historyPanelComponentKey','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','_getSheetObject','filter','edit-history-viewer.panel.listFetchError','_historyFetchService','_initMaskContainer','white','_registerHeader','_sheetSkeletonManagerService','history-mask','get','history-panel','stringify','rangeInfo','toStringTag','removeTable','Tooltip','UniverIcon','unitId$','value','setWorksheetRangeTheme','slice','_sheetsChartService','button','ruleIds','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','loading','defs','_cellEditorManagerService','makeDirty','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','MoveRangeMutation','Vector2','univer-size-4\x20univer-animate-spin','_confirmService','_getAPIPrefix','univer-size-4\x20univer-shrink-0','updatePivotFieldSource','parse','edit-history-viewer.panel.confirm','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getVersion','jsxs','deleteBorderRanges','setDefaultStyle','rowHeaderWidth','setState','FloatImg','_sheetTableService','_extractRanges','updateShapeType','edit-history-viewer.panel.unknownUser','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','univer-text-xs\x20univer-text-gray-400','evented','edit-history-viewer.config','3485733aJdYwv','#FFF','SetRangeValuesMutation','_sparklineDataSourceModel','removeSheet','edit-history-viewer.panel.cancel','ReCalcSheetsFilterMutation','_blinkTimer','versions','UniverEngineRender','REMOVE','hideDiffMarks','1em','getCellPositionByOffset','FromArray','rgba(198,40,40,0.5)','SetPivotFieldFormatMutation','ISnapshotServerService','currentVersion$','state$','toISOString','reduce','edit-history-viewer.action.','10px','hideSheet','beginPath','getSelectedVersionCanRevert','startRev','toDisposable','fetching','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','start','DeleteConditionalRuleMutation','_sheetsPivotTableConfigModel','RemovePivotTableMutation','rules','moveRows','UniverEditHistoryViewerMobilePlugin','closePath','_configService','SetPivotOptionMutation','block','triggerRevert','_setVersions','UniverSheetsUIPlugin','0px','getCoordByCell','primary','url(#restore-icon_clip0_1247_2)','User','evenodd','replace','UniverSheetsTable','columnHeaderHeight','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','font','removeCol','HistoryModeStatus','_detailVersionsMap','pluginName','SetPivotPositionMutation','_borderDiffs','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','ReorderRangeMutation','loadHistoryCreatorList','ChartUpdateSourceConfigMutation','Dropdown','cfId','getConfig','userSpaceOnUse','Plugin','AddSheetTableMutation','hide','measureText','_snapshotServerService','_localeService','COMPRESS_MUTATION_APPLY','currentColor','length','RemoveColMutation','_removeDiffMarks','mask','SetWorksheetPermissionPointsMutation','has','push','edit-history-viewer.panel.currentUser','_injector','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','isSheetHidden','_showText','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','WorkbookEditablePermission','startRevCreateTime','SetWorksheetRowAutoHeightMutation','UniverEditHistoryViewerPlugin','_color','UpdateValuePositionMutation','m1Prime','insertBorder','hovered','setValue','none','UniverDataValidation','bottom','scrollToShape','random','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_updateWorksheetVisibility','amd','setRangeTheme','type','edit-history-viewer.panel.filterAi','getVersions','showMask','deleteRangeProtection','call','targetRange','insertSheet','getFilterModel','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','SetDrawingApplyMutation','middle','setPivotSubtotalType','UpdateSheetsShapeDataMutation','deleteBorder','setRowData','RemoveDataValidationMutation','SetWorksheetActiveOperation','INSERT','active','closeAll','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','xlink:href','edit-history-viewer.panel.filterCollaboratorConfirm','edit-history-viewer.panel.revertConfirm','rxjs','toString','height','additionalFields','updatePermissionPoint','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','startDateString','map','useCallback','SetWorksheetProtectionMutation','show','addPivotTable','DeleteRangeProtectionMutation','entered','UniverProCollaborationClientUi','hideMask','symbol','hideRow','_status$','UniverNetworkPlugin','restore-icon_clip0_1247_2','getRule','edit-history-viewer.panel.title','HTTPService','_canRevert','renamePivotField','triggerCustomVersions','_dialogOptions$','setFilterCriteria','clipPath','set','reorderRange','funnel-icon','/creators','_openPanel$','forEach','clsx','SetWorksheetColumnCountMutation','_transformMutationByOrder','edit-history-viewer.header.revert','IUniverInstanceService','translateY(-50%)','getRuleById','transparent','SheetDataValidationModel','UpdatePivotFieldSourceInfoMutation','rgba(21,101,192,0.5)','SetRowHiddenMutation','updateBorderRanges','status','_drawVerticalArrow','arrowColumn','insert','removeFilter','_currentVersion$','endRevision','setColWidth','_openPanel','userIds','default','registerComponent','refreshRangeProtectPermission','edit-history-viewer.panel.currentVersion','insertDrawings','confirm-revert-revision','idSuffix','chartModelId','versions$','canRevert','abs','syncExecuteCommand','updateDrawings','edit-history-viewer.action.etc','FunnelIcon','rowData','_direction','_initRender','DependentOn','_conditionalFormattingRuleModel','_renderManagerService','fill','_config','removeRangeTheme','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','constructor','useRef','renameSheet','user','DeleteWorksheetProtectionMutation','ErrorCode','assign','_versions$','_initActiveSwitch','_setFetching','ITransformService','ghost','columnData','_sheetsFilterService','SetColVisibleMutation','RenamePivotFieldMutation','_lastPointer','fillText','tag','update','arrowRowRanges','error','_currentVersionDiff$','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','sparklineConfigMap','Rect','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','setInterval','getDialogs$','trim','onPointerMove$','groupIds','rgb','ICommandService','name','BackIcon','executeCommand','CreateUnitMutation','endDateString','_fetching$','removeNumfmt','split','updateBorder','creators$','deleteDrawings','onMouseMove','removeSparkline','endRev','showRow','date','blockMeta','setRangeProtection','transform','setFilter','pipe','RemoveSheetsFilterMutation','_scrollToShape','1662yLtpGG','scroll','init','openPanel$','updateFieldPosition','setShapeProps','scrollToViewportPos','IMessageService','ROW','_diffs','key','stopPropagation','removeDV','Failed\x20to\x20fetch\x20version\x20details:','entries','SetWorksheetDefaultStyleMutation','recoverTime','univer-absolute\x20univer-top-0\x20univer-h-full','edit-history-viewer.panel.revertDesc','loadMoreVersions','SetSheetTableMutation','updatePivotSource','_members','RangeProtectionRuleModel','register','restore','_transformService','forValue','UniverProEditHistoryViewer','status$','HideSheet','getDrawingByParam','lastLabel','getViewport','RANGE_TYPE','_sidebarService','row','_draw','68cPcZSq','VersionDiffService','-drawing-','SparklineDataSourceModel','CONTENT','flatMap','BehaviorSubject','ranges','_httpService','SetSheetsFilterRangeMutation','_updateDiffMarks','anonymous','_drawHorizontalArrow','addSparkline','#0B9EFB','23069937YLwPJR','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','transformSnapshotToWorkbookData','hidden','flat','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-relative','updateDrawing','useObservable','SetPivotSubtotalTypeMutation','UniverProSheetsChart','_unitCurrentVersionMap','348805XgxKpo','time','use','onPointerEnter$','/universer-api/history','univer-size-4','getSparklineById','currentSkeleton$','7.08645','SetSheetsFilterCriteriaMutation','subType','stroke','setPivotFilter','_arrowDiffs','BuiltInUIPart','subscribeEvent','RemoveSheetsShapeMutation','open','SetSheetSparklineMutation','delete','_blinkIntervalTimer','dispose','_maskElement','_loadingState$','disposeWithMe','setPivotValueFilter','RemoveWorksheetMergeMutation','loadSheet','onSteady','@univerjs-pro/edit-history-viewer','Disposable','SetConditionalRuleMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_categorizeMutationRanges','UpdatePivotTableSourceRangeMutation','SetRowVisibleMutation','AddWorksheetMergeMutation','startColumn','_drawingManagerService','fetchThroughInterceptors','getCurrentLocale','width','#A656FF','createElement','univer-flex\x20univer-items-center\x20univer-gap-2','rect','UniverProtocol','IConfirmService','_init','_commandService','_initPanel','UniverNetwork','sheetId','_componentManager','loadingState','pivotTableId','_unitId$','_renderDrawingHighlights','MoveColsMutation','edit-history-viewer.panel.aiAssistant','_labelPosition','SetRangeProtectionMutation','_highlight','chartId','SnapshotServerOverHTTPService','ComponentManager','getMutationActionMap','718062ffqfFj','displayName','renameWorkbook','moveTo','AddPivotTableMutation','onRendered','getCurrentUnitOfType','SetWorkbookNameMutation','getHistoryChangesets','1px','sparklines','ISidebarService','rev','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','code','UniverProSheetsShape','VIRTUAL_VERSION_NOW','_diffRangesMap','setProtection','SetNumfmtMutation','_historyContainerId','getUnitId','UniverUi','SheetPermissionInitController','deleteCellRanges','keys','_drawingDiffs'];_0x3a5e=function(){return _0x1960cf;};return _0x3a5e();}function _0x352b(_0x56c419,_0x5a35f2){_0x56c419=_0x56c419-0xb2;const _0x3a5e41=_0x3a5e();let _0x352bb5=_0x3a5e41[_0x56c419];return _0x352bb5;}(function(_0x219028,_0x24cb5d){const _0x3dee90=_0x352b,_0x49d418=_0x219028();while(!![]){try{const _0x5d394f=parseInt(_0x3dee90(0x2e9))/0x1*(parseInt(_0x3dee90(0x2b0))/0x2)+parseInt(_0x3dee90(0x118))/0x3+-parseInt(_0x3dee90(0x252))/0x4*(-parseInt(_0x3dee90(0x26d))/0x5)+parseInt(_0x3dee90(0x22c))/0x6*(-parseInt(_0x3dee90(0x3f3))/0x7)+-parseInt(_0x3dee90(0xbc))/0x8*(parseInt(_0x3dee90(0x3ea))/0x9)+parseInt(_0x3dee90(0x33a))/0xa+-parseInt(_0x3dee90(0x261))/0xb;if(_0x5d394f===_0x24cb5d)break;else _0x49d418['push'](_0x49d418['shift']());}catch(_0x707317){_0x49d418['push'](_0x49d418['shift']());}}}(_0x3a5e,0xa0a1e),function(_0x45dc70,_0x549ef5){const _0x39a05a=_0x352b;typeof exports==_0x39a05a(0x3a4)&&typeof module<'u'?_0x549ef5(exports,require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/design'),require('@univerjs/ui'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-table'),require('@univerjs/network'),require('@univerjs/protocol'),require('@univerjs/sheets-data-validation'),require('@univerjs-pro/collaboration-client'),require('react'),require('react/jsx-runtime')):typeof define==_0x39a05a(0x3a5)&&define[_0x39a05a(0x184)]?define(_0x39a05a(0x136)[_0x39a05a(0x21c)]('.'),_0x549ef5):(_0x45dc70=typeof globalThis<'u'?globalThis:_0x45dc70||self,_0x549ef5(_0x45dc70[_0x39a05a(0x248)]={},_0x45dc70[_0x39a05a(0x1ad)],_0x45dc70[_0x39a05a(0x326)],_0x45dc70['UniverDrawing'],_0x45dc70[_0x39a05a(0x121)],_0x45dc70['UniverSheets'],_0x45dc70[_0x39a05a(0x3b5)],_0x45dc70[_0x39a05a(0x19f)],_0x45dc70[_0x39a05a(0x3a3)],_0x45dc70[_0x39a05a(0x2c6)],_0x45dc70[_0x39a05a(0x381)],_0x45dc70[_0x39a05a(0x26b)],_0x45dc70['UniverProSheetsPivot'],_0x45dc70[_0x39a05a(0x2bf)],_0x45dc70['UniverProSheetsSparkline'],_0x45dc70[_0x39a05a(0x17e)],_0x45dc70['UniverSheetsConditionalFormatting'],_0x45dc70['UniverSheetsDrawing'],_0x45dc70[_0x39a05a(0x390)],_0x45dc70[_0x39a05a(0x14c)],_0x45dc70[_0x39a05a(0x2a0)],_0x45dc70[_0x39a05a(0x29b)],_0x45dc70[_0x39a05a(0x2ce)],_0x45dc70['UniverProCollaborationClient'],_0x45dc70[_0x39a05a(0x393)],_0x45dc70['React']));}(this,function(_0x2f0c78,_0x3ff568,_0x1467aa,_0x366565,_0x93fecc,_0x337aad,_0x30725c,_0x197ec0,_0x4d33e2,_0x13a253,_0x4f87fc,_0xd50e28,_0x7a8479,_0xb23317,_0x902a7b,_0x24d04c,_0x3faaa0,_0x3867c2,_0x41ff64,_0x16c297,_0x4b91c0,_0x318c18,_0x217de1,_0x5a3d94,_0x6b906,_0x300d66){const _0x4f2e97=_0x352b;Object[_0x4f2e97(0x43b)](_0x2f0c78,Symbol[_0x4f2e97(0xee)],{'value':'Module'});function _0x356e26(_0xc0fe63=_0x4f2e97(0x12e)){const _0x28a305=_0x4f2e97;return{'collaboration':[{'id':_0x4f87fc[_0x28a305(0x218)]['id'],'action':_0xc0fe63+_0x28a305(0x3ee)},{'id':_0x4f87fc[_0x28a305(0x337)]['id'],'action':_0xc0fe63+'revertSheet'}],'sheets':[{'id':_0x337aad['InsertSheetMutation']['id'],'action':_0xc0fe63+_0x28a305(0x18d)},{'id':_0x337aad[_0x28a305(0x379)]['id'],'action':_0xc0fe63+_0x28a305(0x11c)},{'id':_0x337aad[_0x28a305(0x440)]['id'],'action':_0xc0fe63+_0x28a305(0x1f5)},{'id':_0x337aad[_0x28a305(0x411)]['id'],'action':_0xc0fe63+'reorderSheet'},{'id':_0x337aad[_0x28a305(0x2dc)]['id'],'action':_0xc0fe63+_0x28a305(0x130)},{'id':_0x337aad['CopyWorksheetEndMutation']['id'],'action':_0xc0fe63+'copySheet'},{'id':_0x337aad[_0x28a305(0x375)]['id'],'action':_0xc0fe63+_0x28a305(0x41a)},{'id':_0x337aad[_0x28a305(0x2b7)]['id'],'action':_0xc0fe63+_0x28a305(0x2b2)},{'id':_0x337aad['InsertRowMutation']['id'],'action':_0xc0fe63+_0x28a305(0x3ef)},{'id':_0x337aad['InsertColMutation']['id'],'action':_0xc0fe63+_0x28a305(0x37e)},{'id':_0x337aad['RemoveRowMutation']['id'],'action':_0xc0fe63+_0x28a305(0xc8)},{'id':_0x337aad[_0x28a305(0x167)]['id'],'action':_0xc0fe63+_0x28a305(0x150)},{'id':_0x337aad['MoveRowsMutation']['id'],'action':_0xc0fe63+_0x28a305(0x13c)},{'id':_0x337aad[_0x28a305(0x2a7)]['id'],'action':_0xc0fe63+_0x28a305(0xc3)},{'id':_0x337aad[_0x28a305(0x290)]['id'],'action':_0xc0fe63+_0x28a305(0x223)},{'id':_0x337aad[_0x28a305(0x1ce)]['id'],'action':_0xc0fe63+_0x28a305(0x1b0)},{'id':_0x337aad['SetColVisibleMutation']['id'],'action':_0xc0fe63+_0x28a305(0x2ef)},{'id':_0x337aad[_0x28a305(0x323)]['id'],'action':_0xc0fe63+_0x28a305(0x41d)},{'id':_0x337aad[_0x28a305(0xce)]['id'],'action':_0xc0fe63+_0x28a305(0x383)},{'id':_0x337aad[_0x28a305(0x31c)]['id'],'action':_0xc0fe63+_0x28a305(0x1d7)},{'id':_0x337aad[_0x28a305(0x175)]['id'],'action':_0xc0fe63+_0x28a305(0x3aa)},{'id':_0x337aad[_0x28a305(0x38d)]['id'],'action':_0xc0fe63+_0x28a305(0x43d)},{'id':_0x337aad[_0x28a305(0x39b)]['id'],'action':_0xc0fe63+'setRowData'},{'id':_0x337aad[_0x28a305(0x2d4)]['id'],'action':_0xc0fe63+'setColData'},{'id':_0x337aad['SetWorksheetRowCountMutation']['id'],'action':_0xc0fe63+_0x28a305(0x384)},{'id':_0x337aad[_0x28a305(0x1c4)]['id'],'action':_0xc0fe63+_0x28a305(0x313)},{'id':_0x337aad[_0x28a305(0x11a)]['id'],'action':_0xc0fe63+_0x28a305(0x2d6)},{'id':_0x337aad[_0x28a305(0xff)]['id'],'action':_0xc0fe63+'moveRange'},{'id':_0x337aad[_0x28a305(0x157)]['id'],'action':_0xc0fe63+_0x28a305(0x1be)},{'id':_0x337aad[_0x28a305(0x291)]['id'],'action':_0xc0fe63+_0x28a305(0x44e)},{'id':_0x337aad[_0x28a305(0x287)]['id'],'action':_0xc0fe63+_0x28a305(0xc9)},{'id':_0x337aad[_0x28a305(0x373)]['id'],'action':_0xc0fe63+'setFrozen'},{'id':_0x337aad[_0x28a305(0x352)]['id'],'action':_0xc0fe63+'toggleGridlines'},{'id':_0x337aad[_0x28a305(0x2ee)]['id'],'action':_0xc0fe63+_0x28a305(0xbe)},{'id':_0x337aad['SetWorksheetRightToLeftMutation']['id'],'action':_0xc0fe63+_0x28a305(0x339)},{'id':_0x337aad[_0x28a305(0x23b)]['id'],'action':_0xc0fe63+_0x28a305(0x10c)},{'id':_0x337aad['AddWorksheetProtectionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x343)},{'id':_0x337aad[_0x28a305(0x1a8)]['id'],'action':_0xc0fe63+_0x28a305(0x2c2)},{'id':_0x337aad[_0x28a305(0x1f7)]['id'],'action':_0xc0fe63+_0x28a305(0x358)},{'id':_0x337aad['AddRangeProtectionMutation']['id'],'action':_0xc0fe63+'addRangeProtection'},{'id':_0x337aad[_0x28a305(0x2aa)]['id'],'action':_0xc0fe63+_0x28a305(0x226)},{'id':_0x337aad['DeleteRangeProtectionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x18a)},{'id':_0x337aad[_0x28a305(0x16a)]['id'],'action':_0xc0fe63+'setPermissionPoints'},{'id':_0x337aad[_0x28a305(0x2c3)]['id'],'action':_0xc0fe63+_0x28a305(0x3e1)},{'id':_0x337aad[_0x28a305(0x42f)]['id'],'action':_0xc0fe63+_0x28a305(0x21b)},{'id':_0x337aad['AddRangeThemeMutation']['id'],'action':_0xc0fe63+'addRangeTheme'},{'id':_0x337aad[_0x28a305(0xd9)]['id'],'action':_0xc0fe63+_0x28a305(0x185)},{'id':_0x337aad[_0x28a305(0x34e)]['id'],'action':_0xc0fe63+_0x28a305(0x1f1)},{'id':_0x337aad[_0x28a305(0x3c9)]['id'],'action':_0xc0fe63+_0x28a305(0xf4)},{'id':_0x337aad[_0x28a305(0x3da)]['id'],'action':_0xc0fe63+_0x28a305(0x325)}],'sheetsConditionalFormatting':[{'id':_0x3faaa0['AddConditionalRuleMutation']['id'],'action':_0xc0fe63+'setCF'},{'id':_0x3faaa0[_0x28a305(0x28c)]['id'],'action':_0xc0fe63+_0x28a305(0x34b)},{'id':_0x3faaa0['DeleteConditionalRuleMutation']['id'],'action':_0xc0fe63+_0x28a305(0x36d)},{'id':_0x3faaa0[_0x28a305(0x429)]['id'],'action':_0xc0fe63+'moveCF'}],'sheetsFilter':[{'id':_0x41ff64[_0x28a305(0x25b)]['id'],'action':_0xc0fe63+'setFilter'},{'id':_0x41ff64[_0x28a305(0x276)]['id'],'action':_0xc0fe63+_0x28a305(0x1bb)},{'id':_0x41ff64[_0x28a305(0x22a)]['id'],'action':_0xc0fe63+_0x28a305(0x1d4)},{'id':_0x41ff64[_0x28a305(0x11e)]['id'],'action':_0xc0fe63+_0x28a305(0x2e3)}],'dataValidation':[{'id':_0x24d04c['AddDataValidationMutation']['id'],'action':_0xc0fe63+_0x28a305(0x2d1)},{'id':_0x24d04c[_0x28a305(0x443)]['id'],'action':_0xc0fe63+'setDV'},{'id':_0x24d04c[_0x28a305(0x196)]['id'],'action':_0xc0fe63+_0x28a305(0x238)}],'sheetsChart':[{'id':_0xd50e28[_0x28a305(0x316)]['id'],'action':_0xc0fe63+'insertChart'},{'id':_0xd50e28['RemoveSheetsChartMutation']['id'],'action':_0xc0fe63+_0x28a305(0x441)},{'id':_0xd50e28['ChartUpdateConfigMutation']['id'],'action':_0xc0fe63+_0x28a305(0x3b2)},{'id':_0xd50e28[_0x28a305(0x159)]['id'],'action':_0xc0fe63+'updateChartSource'}],'sheetsSparkline':[{'id':_0x902a7b[_0x28a305(0x377)]['id'],'action':_0xc0fe63+_0x28a305(0x25f)},{'id':_0x902a7b[_0x28a305(0x27f)]['id'],'action':_0xc0fe63+_0x28a305(0x37f)},{'id':_0x902a7b[_0x28a305(0x351)]['id'],'action':_0xc0fe63+_0x28a305(0x221)}],'sheetsPivot':[{'id':_0x7a8479[_0x28a305(0x2b4)]['id'],'action':_0xc0fe63+'addPivotTable'},{'id':_0x7a8479['RemovePivotTableMutation']['id'],'action':_0xc0fe63+_0x28a305(0x30f)},{'id':_0x7a8479[_0x28a305(0x140)]['id'],'action':_0xc0fe63+_0x28a305(0x2f3)},{'id':_0x7a8479[_0x28a305(0x154)]['id'],'action':_0xc0fe63+'setPivotPosition'},{'id':_0x7a8479[_0x28a305(0x28f)]['id'],'action':_0xc0fe63+_0x28a305(0x241)},{'id':_0x7a8479[_0x28a305(0x35c)]['id'],'action':_0xc0fe63+_0x28a305(0x2f5)},{'id':_0x7a8479[_0x28a305(0x41b)]['id'],'action':_0xc0fe63+_0x28a305(0x44f)},{'id':_0x7a8479[_0x28a305(0x202)]['id'],'action':_0xc0fe63+'renamePivotField'},{'id':_0x7a8479['UpdateFieldPositionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x230)},{'id':_0x7a8479[_0x28a305(0x178)]['id'],'action':_0xc0fe63+_0x28a305(0x3a8)},{'id':_0x7a8479[_0x28a305(0x1cc)]['id'],'action':_0xc0fe63+_0x28a305(0x105)},{'id':_0x7a8479[_0x28a305(0x128)]['id'],'action':_0xc0fe63+_0x28a305(0x44c)},{'id':_0x7a8479['SetPivotFilterMutation']['id'],'action':_0xc0fe63+_0x28a305(0x279)},{'id':_0x7a8479[_0x28a305(0x320)]['id'],'action':_0xc0fe63+_0x28a305(0x286)},{'id':_0x7a8479[_0x28a305(0x32c)]['id'],'action':_0xc0fe63+_0x28a305(0x38a)},{'id':_0x7a8479[_0x28a305(0x2f6)]['id'],'action':_0xc0fe63+_0x28a305(0x3e4)},{'id':_0x7a8479['SetPivotSubtotalTypeMutation']['id'],'action':_0xc0fe63+_0x28a305(0x192)}],'sheetsShape':[{'id':_0xb23317[_0x28a305(0x376)]['id'],'action':_0xc0fe63+'insertShape'},{'id':_0xb23317[_0x28a305(0x27d)]['id'],'action':_0xc0fe63+_0x28a305(0x2de)},{'id':_0xb23317[_0x28a305(0x193)]['id'],'action':_0xc0fe63+_0x28a305(0x364)},{'id':_0xb23317['UpdateSheetsShapeTypeMutation']['id'],'action':_0xc0fe63+_0x28a305(0x112)}],'sheetsTable':[{'id':_0x16c297[_0x28a305(0x15f)]['id'],'action':_0xc0fe63+'addTable'},{'id':_0x16c297[_0x28a305(0x333)]['id'],'action':_0xc0fe63+_0x28a305(0xef)},{'id':_0x16c297['SetSheetTableMutation']['id'],'action':_0xc0fe63+_0x28a305(0x33f)},{'id':_0x16c297[_0x28a305(0x382)]['id'],'action':_0xc0fe63+_0x28a305(0x303)}],'sheetsDrawing':[{'id':_0x3867c2[_0x28a305(0x190)]['id'],'action':_0xc0fe63+_0x28a305(0x268)}]};}function _0x283a4b(_0x39e6ab='edit-history-viewer.action.'){const _0x318c16=_0x4f2e97;let _0x24dc18=_0x356e26(_0x39e6ab);return Object[_0x318c16(0xca)](_0x24dc18)[_0x318c16(0x265)]();}let _0xe2fba1=(_0x4d2dbf,_0x2c1a96)=>{const _0x5b9188=_0x4f2e97;if(!_0x4d2dbf)return{'date':'','time':''};let _0x2fde75=new Date(_0x4d2dbf),_0x565693=_0x2fde75['toISOString']()['split']('T')[0x0];switch(_0x2c1a96){case _0x1467aa[_0x5b9188(0x3d4)][_0x5b9188(0x2e0)]:return{'date':_0x1d6711(_0x565693,_0x2c1a96),'time':_0x2fde75[_0x5b9188(0xc6)]()+':'+String(_0x2fde75[_0x5b9188(0x330)]())['padStart'](0x2,'0')+':'+String(_0x2fde75[_0x5b9188(0x3ab)]())['padStart'](0x2,'0')};default:return{'date':_0x1d6711(_0x565693,_0x2c1a96),'time':_0x2fde75[_0x5b9188(0xc6)]()+':'+_0x2fde75[_0x5b9188(0x330)]()+':'+_0x2fde75[_0x5b9188(0x3ab)]()};}},_0x4e0d1b=(_0x1251dd,_0x3b5d06)=>{const _0xfe2ff6=_0x4f2e97;if(_0x1251dd[_0xfe2ff6(0x410)][_0xfe2ff6(0x300)](_0x5b99da=>_0x5b99da===_0x4f87fc[_0xfe2ff6(0x337)]['id'])&&_0x1251dd[_0xfe2ff6(0x23c)]){let _0x286154=_0xe2fba1(_0x1251dd[_0xfe2ff6(0x23c)],_0x3b5d06[_0xfe2ff6(0x295)]()),_0xef236a=_0x286154[_0xfe2ff6(0x224)]+'\x20'+_0x286154['time'];return _0x3b5d06['t'](_0xfe2ff6(0x451))+'\x20'+_0xef236a+'\x20'+_0x3b5d06['t'](_0xfe2ff6(0x3e8));}let _0x265b34=_0x2e529b(_0x1251dd),_0xd27faa=Array['from'](new Set(_0x265b34)),_0x5ac334;if(_0xd27faa['length']===0x1)_0x5ac334=_0x3b5d06['t'](_0xd27faa[0x0]);else{let _0x2cf165=_0xd27faa['slice'](0x0,0x5)[_0xfe2ff6(0x1a6)](_0x70aad4=>_0x3b5d06['t'](_0x70aad4))['join'](',\x20');_0x5ac334=_0xd27faa['length']>0x5?''+_0x2cf165+_0x3b5d06['t'](_0xfe2ff6(0x1e7)):_0x2cf165;}return''+_0x5ac334;};function _0x2e529b(_0x54620b){const _0x1da877=_0x4f2e97;if(_0x54620b[_0x1da877(0x410)][_0x1da877(0x166)]===0x0)return[''];let _0x22f0eb=_0x1da877(0x12e),_0x2bdb74=_0x22f0eb+_0x1da877(0x2d0),_0x3da080=_0x283a4b(_0x22f0eb)[_0x1da877(0xe2)](_0x411e3b=>_0x54620b[_0x1da877(0x410)]['includes'](_0x411e3b['id']));return _0x3da080!=null&&_0x3da080[_0x1da877(0x166)]?_0x3da080[_0x1da877(0x1a6)](_0x2e5d83=>_0x2e5d83[_0x1da877(0x43c)]):[_0x2bdb74];}function _0x1d6711(_0x4eea65,_0x9ee541){const _0x47cdcd=_0x4f2e97;let [_0x1ec7b7,_0x4cc4ad,_0x43b97a]=new Date()[_0x47cdcd(0x12c)]()[_0x47cdcd(0x21c)]('T')[0x0][_0x47cdcd(0x21c)]('-'),[_0x32a02d,_0x4c21d0,_0x5e6a14]=_0x4eea65[_0x47cdcd(0x21c)]('-'),_0x559438=_0x1ec7b7===_0x32a02d&&_0x4cc4ad===_0x4c21d0&&_0x43b97a===_0x5e6a14,_0x2ee5e3='',_0x3c0e7c='',_0xcb2ceb='';switch(_0x9ee541){case _0x1467aa['LocaleType']['ZH_CN']:return _0x559438?'今天':(_0x2ee5e3=_0x1ec7b7===_0x32a02d?'':_0x32a02d+'年',_0x3c0e7c=_0x4c21d0+'月',_0xcb2ceb=_0x5e6a14+'日',''+_0x2ee5e3+_0x3c0e7c+_0xcb2ceb);default:return _0x559438?_0x47cdcd(0x417):(_0x2ee5e3=_0x1ec7b7===_0x32a02d?'':_0x32a02d+'-',_0x3c0e7c=_0x4c21d0+'-',_0xcb2ceb=''+_0x5e6a14,''+_0x2ee5e3+_0x3c0e7c+_0xcb2ceb);}}function _0xb6c8b7(_0x24d870){const _0x3891b6=_0x4f2e97;return _0x24d870?_0x24d870[_0x3891b6(0x12d)]((_0xb41641,_0x1ba374)=>{const _0x264d73=_0x3891b6;let _0x48635a=new Date(_0x1ba374['time'])['toISOString']()[_0x264d73(0x21c)]('T')[0x0],_0x47f10f=_0x1ba374[_0x264d73(0x174)]?new Date(_0x1ba374[_0x264d73(0x174)])[_0x264d73(0x12c)]()[_0x264d73(0x21c)]('T')[0x0]:_0x48635a,_0x3ed280=_0x1ba374[_0x264d73(0x402)]?new Date(_0x1ba374['endRevCreateTime'])['toISOString']()[_0x264d73(0x21c)]('T')[0x0]:_0x48635a;return _0xb41641[_0x264d73(0x166)]>0x0&&_0xb41641[_0xb41641[_0x264d73(0x166)]-0x1][_0x264d73(0x1a5)]===_0x47f10f?_0xb41641[_0xb41641[_0x264d73(0x166)]-0x1][_0x264d73(0x120)]['push'](_0x1ba374):_0xb41641['push']({'dateString':_0x48635a,'startDateString':_0x47f10f,'endDateString':_0x3ed280,'versions':[_0x1ba374]}),_0xb41641;},[]):[];}let _0x4a92fb='edit-history-viewer.config',_0x2b70cf={};function _0x412e57(_0x112f7c){'@babel/helpers - typeof';const _0xf3517b=_0x4f2e97;return _0x412e57=typeof Symbol==_0xf3517b(0x3a5)&&typeof Symbol[_0xf3517b(0x331)]==_0xf3517b(0x1af)?function(_0x4acd70){return typeof _0x4acd70;}:function(_0x47c3eb){const _0x1e8981=_0xf3517b;return _0x47c3eb&&typeof Symbol==_0x1e8981(0x3a5)&&_0x47c3eb[_0x1e8981(0x1f3)]===Symbol&&_0x47c3eb!==Symbol['prototype']?'symbol':typeof _0x47c3eb;},_0x412e57(_0x112f7c);}function _0x5a38a4(_0x2316eb,_0x1c18c9){const _0x46f4a9=_0x4f2e97;if(_0x412e57(_0x2316eb)!='object'||!_0x2316eb)return _0x2316eb;var _0x2c5db6=_0x2316eb[Symbol[_0x46f4a9(0x3d8)]];if(_0x2c5db6!==void 0x0){var _0x240433=_0x2c5db6[_0x46f4a9(0x18b)](_0x2316eb,_0x1c18c9||_0x46f4a9(0x1da));if(_0x412e57(_0x240433)!=_0x46f4a9(0x3a4))return _0x240433;throw TypeError(_0x46f4a9(0x39f));}return(_0x1c18c9===_0x46f4a9(0x2f1)?String:Number)(_0x2316eb);}function _0x7a7859(_0x21951e){const _0x42ced9=_0x4f2e97;var _0x376fdc=_0x5a38a4(_0x21951e,'string');return _0x412e57(_0x376fdc)==_0x42ced9(0x1af)?_0x376fdc:_0x376fdc+'';}function _0x509a17(_0x2006a1,_0x1af075,_0x18f2c2){const _0x594057=_0x4f2e97;return(_0x1af075=_0x7a7859(_0x1af075))in _0x2006a1?Object[_0x594057(0x43b)](_0x2006a1,_0x1af075,{'value':_0x18f2c2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2006a1[_0x1af075]=_0x18f2c2,_0x2006a1;}function _0x3d005c(_0x59a9d4,_0x201503){return function(_0x153cc8,_0x59b79c){_0x201503(_0x153cc8,_0x59b79c,_0x59a9d4);};}function _0x5b67f4(_0x1903f7,_0xcfe01a,_0x46fc6a,_0x4f1448){const _0x2f4f01=_0x4f2e97;var _0x48d44e=arguments[_0x2f4f01(0x166)],_0x5d4284=_0x48d44e<0x3?_0xcfe01a:_0x4f1448===null?_0x4f1448=Object[_0x2f4f01(0x35b)](_0xcfe01a,_0x46fc6a):_0x4f1448,_0x5cecea;if(typeof Reflect=='object'&&typeof Reflect[_0x2f4f01(0x2eb)]=='function')_0x5d4284=Reflect['decorate'](_0x1903f7,_0xcfe01a,_0x46fc6a,_0x4f1448);else{for(var _0x211488=_0x1903f7['length']-0x1;_0x211488>=0x0;_0x211488--)(_0x5cecea=_0x1903f7[_0x211488])&&(_0x5d4284=(_0x48d44e<0x3?_0x5cecea(_0x5d4284):_0x48d44e>0x3?_0x5cecea(_0xcfe01a,_0x46fc6a,_0x5d4284):_0x5cecea(_0xcfe01a,_0x46fc6a))||_0x5d4284);}return _0x48d44e>0x3&&_0x5d4284&&Object[_0x2f4f01(0x43b)](_0xcfe01a,_0x46fc6a,_0x5d4284),_0x5d4284;}let _0x1f6d66=function(_0x1764d5){const _0x20415c=_0x4f2e97;return _0x1764d5[_0x1764d5[_0x20415c(0x38e)]=0x0]='Unspecified',_0x1764d5[_0x1764d5[_0x20415c(0x149)]=0x1]=_0x20415c(0x149),_0x1764d5[_0x1764d5[_0x20415c(0x2ed)]=0x2]='Character',_0x1764d5;}({}),_0x20ac2d=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0xa93821,_0x3d8f49,_0x3db5a3,_0x15c490,_0x3d7dab,_0x1f9ed2,_0x492392){const _0x969bbc=_0x4f2e97;super(),this['_snapshotServerService']=_0xa93821,this[_0x969bbc(0x43f)]=_0x3d8f49,this['_commandService']=_0x3db5a3,this[_0x969bbc(0x13f)]=_0x15c490,this['_httpService']=_0x3d7dab,this[_0x969bbc(0x414)]=_0x1f9ed2,this[_0x969bbc(0x2da)]=_0x492392,_0x509a17(this,_0x969bbc(0x3ed),void 0x0),this['_workbookDataCache']=new _0x1467aa[(_0x969bbc(0x438))](0x3c);}[_0x4f2e97(0x282)](){const _0x146bc6=_0x4f2e97;this[_0x146bc6(0x3ed)][_0x146bc6(0x3cb)](),super['dispose']();}async[_0x4f2e97(0x3a7)](_0x5c1230){const _0x38dfc6=_0x4f2e97;try{let _0x37a45e=(await this[_0x38dfc6(0x25a)]['get'](this[_0x38dfc6(0x103)]()+'/'+_0x5c1230+_0x38dfc6(0x1c0)))[_0x38dfc6(0x302)];if(_0x37a45e&&_0x37a45e[_0x38dfc6(0x208)]&&_0x37a45e[_0x38dfc6(0x208)][_0x38dfc6(0x2be)]===_0x318c18[_0x38dfc6(0x1f8)]['OK'])return _0x37a45e[_0x38dfc6(0x3bd)];}catch(_0x4bc56e){console[_0x38dfc6(0x208)](_0x4bc56e);}return[];}async[_0x4f2e97(0x188)](_0x11c310,_0x2c2b30){const _0x4b4e08=_0x4f2e97;let {userIds:_0x419067,lastLabel:_0x50111b,origin:_0x435622}=_0x2c2b30==null?{}:_0x2c2b30,_0x3192be=new URLSearchParams();_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0x166),'20'),_0x50111b&&_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0x24c),_0x50111b),_0x419067==null||_0x419067[_0x4b4e08(0x1c2)](_0x45f341=>{const _0x449fca=_0x4b4e08;_0x3192be['append'](_0x449fca(0x1d9),_0x45f341);}),_0x435622&&_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0xda),_0x435622[_0x4b4e08(0x1a0)]());let _0x4f3219=this[_0x4b4e08(0x103)]()+'/'+_0x11c310+'/list?'+_0x3192be['toString']();try{let _0x2277ed=(await this[_0x4b4e08(0x25a)][_0x4b4e08(0xea)](_0x4f3219))['body'];if(_0x2277ed&&_0x2277ed[_0x4b4e08(0x208)]&&_0x2277ed[_0x4b4e08(0x208)][_0x4b4e08(0x2be)]===_0x318c18[_0x4b4e08(0x1f8)]['OK']){let {hasMore:_0x847d4a,lastLabel:_0x41c23b}=_0x2277ed;return{'hasMore':_0x847d4a,'lastLabel':_0x41c23b,'versions':_0x3fc2f6(_0x2277ed),'members':_0x2277ed[_0x4b4e08(0x33b)][_0x4b4e08(0x35f)]};}}catch(_0x137da1){console[_0x4b4e08(0x208)](_0x137da1);}return null;}async[_0x4f2e97(0x2b8)](_0x17034c,_0x376d63){const _0x36d199=_0x4f2e97;let {unitId:_0x2dddba,startRevision:_0x56a4eb,endRevision:_0x309267}=_0x376d63,_0x3395b4=this['_getAPIPrefix']()+'/'+_0x2dddba+_0x36d199(0x2f0)+_0x56a4eb+_0x36d199(0x35e)+_0x309267;return(await this[_0x36d199(0x25a)][_0x36d199(0xea)](_0x3395b4))[_0x36d199(0x302)];}[_0x4f2e97(0x103)](){const _0x4d8c30=_0x4f2e97;var _0x5d61ba;let _0x181b1c=this[_0x4d8c30(0x13f)][_0x4d8c30(0x15c)](_0x4a92fb);return(_0x5d61ba=_0x181b1c==null?void 0x0:_0x181b1c['historyListServerUrl'])==null?_0x4d8c30(0x271):_0x5d61ba;}[_0x4f2e97(0x42a)](_0x3428ad,_0x45f1c0){return _0x3428ad+':'+_0x45f1c0;}async[_0x4f2e97(0x288)](_0x1b2ec9,_0x1350a8,_0x3d80c={}){const _0x22869d=_0x4f2e97;var _0x1d4448;let _0x47fad8=this[_0x22869d(0x42a)](_0x1b2ec9,_0x1350a8),_0xa1f536=this[_0x22869d(0x3ed)]['get'](_0x47fad8);if(_0xa1f536){let {workbookData:_0x18e437,changesets:_0x263a72}=_0xa1f536;return await this[_0x22869d(0x447)](_0x18e437,_0x263a72),!0x0;}let {snapshot:_0x4e2079,changesets:_0x16ba72,error:_0x37958a}=await this[_0x22869d(0x162)][_0x22869d(0xd7)](_0x3d80c,{'unitID':_0x1b2ec9,'type':_0x1467aa['UniverInstanceType'][_0x22869d(0x407)],'revision':_0x1350a8});if((0x0,_0x318c18['isError'])(_0x37958a)||!_0x4e2079||!_0x4e2079[_0x22869d(0x423)])throw Error(_0x22869d(0x266));let _0xd4a914=(_0x1d4448=_0x16ba72==null?void 0x0:_0x16ba72[_0x22869d(0x166)])==null?0x0:_0x1d4448;if(_0x1350a8!==0x0&&_0x4e2079[_0x22869d(0x2bc)]+_0xd4a914!==_0x1350a8)throw Error(_0x22869d(0x40d));let {workbook:_0xbe17e0}=_0x4e2079,_0x461ac5=_0xbe17e0[_0x22869d(0x225)]?Object['values'](_0xbe17e0[_0x22869d(0x225)])[_0x22869d(0x257)](_0x28d3c3=>{const _0x4c54ee=_0x22869d;var _0x3f8f52;return(_0x3f8f52=_0x28d3c3[_0x4c54ee(0x36c)])==null?[]:_0x3f8f52;}):[],_0x2ae820=await(0x0,_0x4f87fc[_0x22869d(0x263)])(_0x4e2079,(await Promise[_0x22869d(0x340)](_0x461ac5[_0x22869d(0x1a6)](_0x59bed5=>this[_0x22869d(0x162)][_0x22869d(0x3bf)](_0x3d80c,{'unitID':_0x1b2ec9,'type':_0x1467aa[_0x22869d(0x34a)]['UNIVER_SHEET'],'blockID':_0x59bed5})['then'](_0x2ddbf8=>_0x2ddbf8[_0x22869d(0x141)]))))[_0x22869d(0xe2)](Boolean),_0x3d80c);return this[_0x22869d(0x3ed)][_0x22869d(0x1bd)](_0x47fad8,{'workbookData':_0x2ae820,'changesets':_0x16ba72}),await this['_applyWorkbookData'](_0x2ae820,_0x16ba72),!0x0;}async[_0x4f2e97(0x447)](_0x4bfaf8,_0x4228e1){const _0x55f9a6=_0x4f2e97;let _0x134bed=this[_0x55f9a6(0x43f)][_0x55f9a6(0x2b6)](_0x1467aa[_0x55f9a6(0x34a)]['UNIVER_SHEET']);_0x134bed&&(this[_0x55f9a6(0x43f)]['disposeUnit'](_0x134bed[_0x55f9a6(0x2c5)]()),await Promise['resolve']());let _0x204608=JSON['parse'](JSON[_0x55f9a6(0xec)](_0x4bfaf8));this[_0x55f9a6(0x3ec)](_0x204608,_0x4228e1),this['_sheetPermissionInitController'][_0x55f9a6(0x1dc)]();}[_0x4f2e97(0x3ec)](_0x107e19,_0x44f5cd){const _0x1d7c8b=_0x4f2e97;let _0x2c4990=this[_0x1d7c8b(0x43f)][_0x1d7c8b(0x362)](_0x1467aa[_0x1d7c8b(0x34a)][_0x1d7c8b(0x407)],_0x107e19);this[_0x1d7c8b(0x43f)]['focusUnit'](_0x2c4990[_0x1d7c8b(0x2c5)]());let _0x5dc29c=this['_compressMutationService'][_0x1d7c8b(0xc0)][_0x1d7c8b(0x294)](this[_0x1d7c8b(0x414)][_0x1d7c8b(0xc0)][_0x1d7c8b(0x369)]()[_0x1d7c8b(0x164)]);return _0x44f5cd==null||_0x44f5cd[_0x1d7c8b(0x1c2)](_0x2a0564=>{const _0x473cd9=_0x1d7c8b;let _0x4fca5c=_0x2a0564[_0x473cd9(0x3b4)][_0x473cd9(0x1a6)](_0x4e6d92=>({'id':_0x4e6d92['id'],'params':JSON[_0x473cd9(0x106)](_0x4e6d92['data'])}));(_0x5dc29c(_0x4fca5c,null)||_0x4fca5c)[_0x473cd9(0x1c2)](_0x110da7=>{const _0x3d6f23=_0x473cd9;this['_commandService'][_0x3d6f23(0x3f2)](_0x110da7['id'])&&this[_0x3d6f23(0x29e)][_0x3d6f23(0x1e5)](_0x110da7['id'],_0x110da7['params'],{'fromChangeset':!0x0});});}),_0x2c4990;}};_0x20ac2d=_0x5b67f4([_0x3d005c(0x0,_0x4f87fc['ISnapshotServerService']),_0x3d005c(0x1,_0x1467aa[_0x4f2e97(0x1c7)]),_0x3d005c(0x2,_0x1467aa[_0x4f2e97(0x214)]),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)]),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x4b91c0[_0x4f2e97(0x1b6)])),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x4f87fc['CompressMutationService'])),_0x3d005c(0x6,(0x0,_0x1467aa['Inject'])(_0x337aad[_0x4f2e97(0x2c7)]))],_0x20ac2d);function _0x3fc2f6(_0x4b831a){const _0x4ec591=_0x4f2e97;let _0x35d748=[],{entities:_0x591d1a,historyIds:_0x110b54}=_0x4b831a,{datas:_0x305e15,users:_0x5906cd}=_0x591d1a;for(let _0x576faf of _0x110b54){let _0x166a29=_0x305e15[_0x576faf];if(_0x166a29){var _0x34e64d,_0x4e4107;let _0xf71017=!!((_0x34e64d=_0x5906cd[_0x166a29[_0x4ec591(0x3dc)]])!=null&&_0x34e64d[_0x4ec591(0x25d)]);_0x35d748[_0x4ec591(0x16c)]({'unitId':_0x166a29['unitId'],'user':_0xf71017?'':(_0x5906cd==null||(_0x4e4107=_0x5906cd[_0x166a29[_0x4ec591(0x3dc)]])==null?void 0x0:_0x4e4107['name'])||'','users':_0x166a29[_0x4ec591(0x1d9)][_0x4ec591(0x1a6)](_0x5c8c14=>{const _0x1e6c56=_0x4ec591;var _0x468fcb;return(_0x5906cd==null||(_0x468fcb=_0x5906cd[_0x5c8c14])==null?void 0x0:_0x468fcb[_0x1e6c56(0x215)])||'';})['filter'](_0x4b63e9=>_0x4b63e9),'isAnonymous':_0xf71017,'id':_0x576faf,'time':_0x166a29[_0x4ec591(0xb8)]?Number(_0x166a29[_0x4ec591(0xb8)]):void 0x0,'commands':_0x166a29['command'],'startRev':Number(_0x166a29[_0x4ec591(0xcb)]),'endRev':Number(_0x166a29[_0x4ec591(0x1d6)]),'recoverTime':_0x166a29[_0x4ec591(0x23c)]?Number(_0x166a29['recoverTime']):void 0x0,'additionalFields':_0x166a29[_0x4ec591(0x1a2)],'startRevCreateTime':_0x166a29[_0x4ec591(0x174)]?Number(_0x166a29[_0x4ec591(0x174)]):void 0x0,'endRevCreateTime':_0x166a29[_0x4ec591(0x402)]?Number(_0x166a29[_0x4ec591(0x402)]):void 0x0});}}return _0x35d748;}let _0x4b9631=function(_0x377b5e){const _0x40e612=_0x4f2e97;return _0x377b5e['Entered']='entered',_0x377b5e[_0x40e612(0x2e1)]=_0x40e612(0x368),_0x377b5e[_0x40e612(0x347)]=_0x40e612(0x208),_0x377b5e;}({}),_0x167883=_0x4f2e97(0x2c0),_0x45e9f0=class extends _0x1467aa[_0x4f2e97(0x28b)]{[_0x4f2e97(0x1fc)](_0xc607ac){const _0x33c751=_0x4f2e97;this[_0x33c751(0x21a)][_0x33c751(0x2f8)](_0xc607ac);}get[_0x4f2e97(0x135)](){const _0x640436=_0x4f2e97;return this[_0x640436(0x21a)][_0x640436(0xf3)];}constructor(_0x3d40c1,_0x9be821,_0x40259a,_0x52174f){const _0xeaea7b=_0x4f2e97;super(),this[_0xeaea7b(0x42e)]=_0x3d40c1,this[_0xeaea7b(0x102)]=_0x9be821,this[_0xeaea7b(0x163)]=_0x40259a,this[_0xeaea7b(0xe4)]=_0x52174f,_0x509a17(this,_0xeaea7b(0x1fa),new _0x197ec0[(_0xeaea7b(0x258))]([])),_0x509a17(this,_0xeaea7b(0x1e2),this[_0xeaea7b(0x1fa)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x1d5),new _0x197ec0[(_0xeaea7b(0x258))]('')),_0x509a17(this,_0xeaea7b(0x12a),this[_0xeaea7b(0x1d5)][_0xeaea7b(0x416)]()),_0x509a17(this,'_status$',new _0x197ec0[(_0xeaea7b(0x258))](_0xeaea7b(0x1ac))),_0x509a17(this,_0xeaea7b(0x249),this['_status$'][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x3a2),new _0x197ec0['BehaviorSubject'](0x0)),_0x509a17(this,_0xeaea7b(0x3d0),this[_0xeaea7b(0x3a2)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x2a5),new _0x197ec0[(_0xeaea7b(0x258))]('')),_0x509a17(this,_0xeaea7b(0xf2),this[_0xeaea7b(0x2a5)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x21a),new _0x197ec0[(_0xeaea7b(0x258))](!0x1)),_0x509a17(this,_0xeaea7b(0x3cf),this[_0xeaea7b(0x21a)]['asObservable']()),_0x509a17(this,_0xeaea7b(0x310),new _0x197ec0[(_0xeaea7b(0x258))]([])),_0x509a17(this,_0xeaea7b(0x21e),this['_creators$']['asObservable']()),_0x509a17(this,_0xeaea7b(0x1c1),new _0x197ec0[(_0xeaea7b(0x258))](!0x1)),_0x509a17(this,_0xeaea7b(0x22f),this['_openPanel$'][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x152),new Map()),_0x509a17(this,_0xeaea7b(0x284),new _0x197ec0[(_0xeaea7b(0x258))](_0xeaea7b(0x22e))),_0x509a17(this,'loadingState$',this[_0xeaea7b(0x284)]['asObservable']()),_0x509a17(this,'_lastLabel',null),_0x509a17(this,_0xeaea7b(0x336),!0x0),_0x509a17(this,_0xeaea7b(0x242),new Map()),_0x509a17(this,_0xeaea7b(0x2c4),void 0x0),_0x509a17(this,'_maskContainer',void 0x0),_0x509a17(this,_0xeaea7b(0x283),void 0x0),_0x509a17(this,_0xeaea7b(0x1b7),!0x1),_0x509a17(this,'_loadParams',null),_0x509a17(this,_0xeaea7b(0x26c),new Map());}async[_0x4f2e97(0x335)](_0x268a32,_0x3df5d5,_0xd24e4e){const _0x2fcafc=_0x4f2e97;this[_0x2fcafc(0x2c4)]=_0x3df5d5,this[_0x2fcafc(0x1b7)]=_0xd24e4e,this[_0x2fcafc(0x1c1)][_0x2fcafc(0x2f8)](!0x0),await this['loadInitialVersions'](_0x268a32);}[_0x4f2e97(0x1b9)](_0x58a001,_0x5de6b3='',_0x500c44,_0x5a8875){const _0x337832=_0x4f2e97;let {versions:_0x1f2c9a,hasMore:_0x360f,lastLabel:_0x482311,members:_0x902690}=_0x5a8875,_0x254a4a=_0x1f2c9a[_0x337832(0x166)]>0x0?_0x1f2c9a:[{'unitId':_0x58a001,'id':_0x167883,'startRev':0x1,'endRev':0x0,'time':Date[_0x337832(0xbd)](),'user':this[_0x337832(0x163)]['t'](_0x337832(0x16d)),'users':[this[_0x337832(0x163)]['t'](_0x337832(0x16d))],'commands':[],'isAnonymous':!0x1}];this[_0x337832(0x1b7)]=_0x500c44,this[_0x337832(0x2c4)]=_0x5de6b3,this['_unitId$'][_0x337832(0x2f8)](_0x58a001),this['_updateVersions'](_0x254a4a,_0x360f,_0x482311,!0x1,_0x902690),this[_0x337832(0x1d5)][_0x337832(0x2f8)](_0x254a4a[0x0]['id']);}async['loadInitialVersions'](_0x31f86a,_0x5df9d3){const _0x28e359=_0x4f2e97;this[_0x28e359(0x2a5)]['next'](_0x31f86a),this[_0x28e359(0x435)]=_0x5df9d3==null?null:_0x5df9d3,this[_0x28e359(0x1fc)](!0x0);let _0x1e410c=await this[_0x28e359(0xe4)][_0x28e359(0x188)](_0x31f86a,_0x5df9d3);if(this['_setFetching'](!0x1),_0x1e410c){let {versions:_0x1ca9be,lastLabel:_0x59284f,hasMore:_0x5123a9,members:_0x5846cf}=_0x1e410c;_0x1ca9be['length']===0x0&&_0x1ca9be[_0x28e359(0x16c)]({'unitId':_0x31f86a,'id':_0x167883,'startRev':0x1,'endRev':0x0,'time':Date[_0x28e359(0xbd)](),'user':this[_0x28e359(0x163)]['t'](_0x28e359(0x16d)),'users':[this['_localeService']['t'](_0x28e359(0x16d))],'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x1ca9be,_0x5123a9,_0x59284f,!0x1,_0x5846cf),this[_0x28e359(0x1d5)][_0x28e359(0x2f8)](_0x1ca9be[0x0]['id']),this[_0x28e359(0x26c)][_0x28e359(0x1bd)](_0x31f86a,_0x1ca9be[0x0][_0x28e359(0x222)]);}else this[_0x28e359(0x1b1)]['next'](_0x28e359(0x208));}async[_0x4f2e97(0x23f)](){const _0x14b0c=_0x4f2e97;if(!this[_0x14b0c(0x454)]||!this[_0x14b0c(0x336)]||this[_0x14b0c(0x135)])return!0x1;this[_0x14b0c(0x1fc)](!0x0);let _0x44acbc=await this[_0x14b0c(0xe4)][_0x14b0c(0x188)](this[_0x14b0c(0x3d7)],{'lastLabel':this[_0x14b0c(0x454)],...this[_0x14b0c(0x435)]});if(this['_setFetching'](!0x1),_0x44acbc){let {versions:_0x5e5b7f,lastLabel:_0x3ad93d,hasMore:_0x5092db,members:_0x1a0cc8}=_0x44acbc;this[_0x14b0c(0x38c)](_0x5e5b7f,_0x5092db,_0x3ad93d,!0x0,_0x1a0cc8);}else this[_0x14b0c(0x42e)][_0x14b0c(0x1a9)]({'content':this['_localeService']['t'](_0x14b0c(0xe3)),'type':_0x4d33e2['MessageType'][_0x14b0c(0x347)],'duration':0xbb8});return!0x0;}async[_0x4f2e97(0x158)](){const _0xd19870=_0x4f2e97;let {unitId:_0x782fa1}=this;if(!_0x782fa1)return;let _0x4230c1=await this[_0xd19870(0xe4)][_0xd19870(0x3a7)](_0x782fa1);_0x4230c1&&this[_0xd19870(0x310)]['next'](_0x4230c1);}async[_0x4f2e97(0x2e8)](_0x256fa){const _0x12a5bf=_0x4f2e97;let {endRev:_0x352bd0}=this[_0x12a5bf(0x109)](_0x256fa)||{};_0x352bd0||_0x352bd0===0x0?(this[_0x12a5bf(0x284)][_0x12a5bf(0x2f8)](_0x12a5bf(0xfa)),await this[_0x12a5bf(0xe4)][_0x12a5bf(0x288)](this[_0x12a5bf(0x3d7)],_0x352bd0),this[_0x12a5bf(0x284)][_0x12a5bf(0x2f8)]('loaded')):this['_status$']['next']('error');}async[_0x4f2e97(0x142)](_0x3cbe01){const _0x12da3e=_0x4f2e97;let _0x1875ef=_0x3cbe01?this[_0x12da3e(0x109)](_0x3cbe01):this[_0x12da3e(0x401)]();if(!_0x1875ef)return;let _0x4aa3a9=_0x1875ef[_0x12da3e(0x222)],_0x150cd9=_0xe2fba1(_0x1875ef[_0x12da3e(0x26e)],this[_0x12da3e(0x163)][_0x12da3e(0x295)]());await this[_0x12da3e(0x102)][_0x12da3e(0x315)]({'id':_0x12da3e(0x1df),'title':{'title':this[_0x12da3e(0x163)]['t'](_0x12da3e(0x19e))},'children':{'title':this[_0x12da3e(0x163)]['t'](_0x12da3e(0x2cb))+':\x20('+_0x150cd9[_0x12da3e(0x224)]+'\x20'+_0x150cd9[_0x12da3e(0x26e)]+')'},'cancelText':this['_localeService']['t'](_0x12da3e(0x11d)),'confirmText':this['_localeService']['t'](_0x12da3e(0x107))})&&this['_revertRevision$'][_0x12da3e(0x2f8)](_0x4aa3a9);}[_0x4f2e97(0x38c)](_0x51c8dc,_0x5620f4,_0x2e1bda,_0x5ef08d,_0x4078e8){const _0x1bc781=_0x4f2e97;this[_0x1bc781(0x143)](_0x5ef08d?this['_versions$'][_0x1bc781(0xf3)]['concat'](_0x51c8dc):_0x51c8dc),this[_0x1bc781(0x336)]=_0x5620f4,this[_0x1bc781(0x454)]=_0x2e1bda,_0x4078e8&&Object[_0x1bc781(0x2c9)](_0x4078e8)[_0x1bc781(0x1c2)](_0x3eebab=>this[_0x1bc781(0x242)][_0x1bc781(0x1bd)](_0x3eebab,_0x4078e8[_0x3eebab]));}[_0x4f2e97(0x401)](){const _0x437542=_0x4f2e97;return this[_0x437542(0x109)](this[_0x437542(0x1d5)]['value']);}[_0x4f2e97(0x143)](_0x400c62){const _0xd9c492=_0x4f2e97;this[_0xd9c492(0x1fa)][_0xd9c492(0x2f8)](_0x400c62);}['getVersion'](_0xb582f8){const _0x2f1040=_0x4f2e97;var _0x1d31c5;return((_0x1d31c5=this['_versions$']['value'])==null?void 0x0:_0x1d31c5[_0x2f1040(0xd5)](_0x121e36=>_0x121e36['id']===_0xb582f8))||this[_0x2f1040(0x152)][_0x2f1040(0xea)](_0xb582f8);}['registerDetailVersion'](_0x348792){const _0x5f3e73=_0x4f2e97;this[_0x5f3e73(0x152)][_0x5f3e73(0x1bd)](_0x348792['id'],_0x348792);}[_0x4f2e97(0x39d)](){const _0x5d72c1=_0x4f2e97;if(this[_0x5d72c1(0x3d7)])return this[_0x5d72c1(0x26c)][_0x5d72c1(0xea)](this[_0x5d72c1(0x3d7)]);}[_0x4f2e97(0x3d3)](){const _0x4063d2=_0x4f2e97;var _0xc4e8a1;return((_0xc4e8a1=this[_0x4063d2(0x401)]())==null?void 0x0:_0xc4e8a1[_0x4063d2(0x222)])===this[_0x4063d2(0x39d)]();}[_0x4f2e97(0x132)](){const _0x471b74=_0x4f2e97;return!this[_0x471b74(0x3d3)]()&&this[_0x471b74(0x1e3)];}[_0x4f2e97(0x446)](_0x20e0de){const _0x5eedad=_0x4f2e97;return this[_0x5eedad(0x242)][_0x5eedad(0xea)](_0x20e0de);}['_createMask'](){const _0x41cfac=_0x4f2e97;this[_0x41cfac(0x283)]=document[_0x41cfac(0x298)](_0x41cfac(0x421)),this[_0x41cfac(0x283)][_0x41cfac(0x3c6)]=_0x41cfac(0xe9),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x3c8)]='absolute',this['_maskElement']['style'][_0x41cfac(0x3f7)]='0',this['_maskElement']['style']['left']='0',this['_maskElement'][_0x41cfac(0x2e7)][_0x41cfac(0x296)]=_0x41cfac(0x354),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['height']='100%',this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['backgroundColor']=_0x41cfac(0x3b3),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['color']=_0x41cfac(0xe6),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x332)]=_0x41cfac(0x374),this[_0x41cfac(0x283)]['style']['justifyContent']=_0x41cfac(0x452),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['zIndex']=_0x41cfac(0x40c),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x332)]=_0x41cfac(0x17d),this['_maskContainer'][_0x41cfac(0x456)](this[_0x41cfac(0x283)]);}[_0x4f2e97(0xe5)](){const _0x591005=_0x4f2e97;let _0x8a3622=document[_0x591005(0x413)](this[_0x591005(0x2c4)]);_0x8a3622&&(this[_0x591005(0x308)]=_0x8a3622,this[_0x591005(0x3a1)]());}['showMask'](){const _0x295256=_0x4f2e97;this[_0x295256(0x308)]||this[_0x295256(0xe5)](),this[_0x295256(0x283)]&&(this[_0x295256(0x283)][_0x295256(0x2e7)][_0x295256(0x332)]='flex');}[_0x4f2e97(0x1ae)](){const _0x162785=_0x4f2e97;this['_maskElement']&&(this['_maskElement'][_0x162785(0x2e7)][_0x162785(0x332)]=_0x162785(0x17d));}set[_0x4f2e97(0x1d0)](_0x4a82f5){const _0x29c241=_0x4f2e97;this[_0x29c241(0x1b1)][_0x29c241(0x2f8)](_0x4a82f5);}set['currentVersion'](_0xb6a34b){const _0x209ecc=_0x4f2e97;_0xb6a34b!==this['_currentVersion$'][_0x209ecc(0xf3)]&&this[_0x209ecc(0x1d5)][_0x209ecc(0x2f8)](_0xb6a34b);}get[_0x4f2e97(0x365)](){const _0x4700cf=_0x4f2e97;return this[_0x4700cf(0x1d5)]['value'];}set[_0x4f2e97(0x3d7)](_0x1bc138){const _0x1d394a=_0x4f2e97;this[_0x1d394a(0x2a5)][_0x1d394a(0x2f8)](_0x1bc138);}get[_0x4f2e97(0x3d7)](){return this['_unitId$']['value'];}get[_0x4f2e97(0x1e3)](){const _0x31d97d=_0x4f2e97;return this[_0x31d97d(0x1b7)];}get['loadingState'](){const _0x3ea264=_0x4f2e97;return this[_0x3ea264(0x284)][_0x3ea264(0xf3)];}};_0x45e9f0=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x1,_0x1467aa[_0x4f2e97(0x29c)]),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x20ac2d))],_0x45e9f0);let _0x3222ce=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x5b5a3c,_0x15f9c8,_0x4f9630,_0x290516,_0x455e85,_0x1bf583,_0x55ffca,_0x4ab0f7,_0x43f99b,_0x1c40f6,_0x3513a1,_0x4aad83,_0x48e4f9){const _0x27ba3d=_0x4f2e97;super(),this['_historyManagerService']=_0x5b5a3c,this[_0x27ba3d(0x246)]=_0x15f9c8,this[_0x27ba3d(0x162)]=_0x4f9630,this['_rangeProtectionRuleModel']=_0x290516,this[_0x27ba3d(0x1ed)]=_0x455e85,this[_0x27ba3d(0xd0)]=_0x1bf583,this[_0x27ba3d(0x200)]=_0x55ffca,this[_0x27ba3d(0x11b)]=_0x4ab0f7,this[_0x27ba3d(0x139)]=_0x43f99b,this[_0x27ba3d(0x110)]=_0x1c40f6,this[_0x27ba3d(0x163)]=_0x3513a1,this[_0x27ba3d(0xf6)]=_0x4aad83,this[_0x27ba3d(0xe4)]=_0x48e4f9,_0x509a17(this,'_diffRangesMap',new Map()),_0x509a17(this,_0x27ba3d(0x209),new _0x197ec0[(_0x27ba3d(0x258))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x509a17(this,_0x27ba3d(0x40f),this[_0x27ba3d(0x209)]['asObservable']()),this[_0x27ba3d(0x29d)]();}[_0x4f2e97(0x29d)](){const _0x57a7c9=_0x4f2e97;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x57a7c9(0xf2)][_0x57a7c9(0x3a9)](_0x29011e=>{const _0x5e36ee=_0x57a7c9;_0x29011e&&!this[_0x5e36ee(0x2c1)][_0x5e36ee(0x16b)](_0x29011e)&&this[_0x5e36ee(0x2c1)][_0x5e36ee(0x1bd)](_0x29011e,new Map());})),this[_0x57a7c9(0x285)](this[_0x57a7c9(0x436)][_0x57a7c9(0x12a)][_0x57a7c9(0x3a9)](async _0x2ad976=>{const _0x15a39b=_0x57a7c9;if(_0x2ad976){var _0x48280d;await this[_0x15a39b(0x32f)](_0x2ad976),this[_0x15a39b(0x209)]['next'](((_0x48280d=this[_0x15a39b(0x2c1)]['get'](this[_0x15a39b(0x436)][_0x15a39b(0x3d7)]))==null?void 0x0:_0x48280d['get'](_0x2ad976))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x4f2e97(0x32f)](_0x300437){const _0x526ee4=_0x4f2e97;var _0x39c975,_0x2d6412;let _0x15adb6=this['_historyManagerService']['getVersion'](_0x300437),_0x32245f=this['_historyManagerService'][_0x526ee4(0x3d7)];if(!_0x15adb6||!_0x32245f)return;let _0x3b61d1=this[_0x526ee4(0x2c1)][_0x526ee4(0xea)](_0x32245f);if(_0x3b61d1||this['_diffRangesMap']['set'](_0x32245f,new Map()),(_0x39c975=this[_0x526ee4(0x2c1)][_0x526ee4(0xea)](_0x32245f))!=null&&_0x39c975[_0x526ee4(0x16b)](_0x15adb6['id']))return;let {startRev:_0x31c80b,endRev:_0x1e8cc5}=_0x15adb6;if(_0x31c80b===0x1){_0x3b61d1[_0x526ee4(0x1bd)](_0x15adb6['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x222a79=_0x31c80b,_0x28bb0b=_0x1e8cc5,_0x506d41=await this[_0x526ee4(0xe4)][_0x526ee4(0x2b8)]({},{'unitId':_0x32245f,'startRevision':_0x222a79,'endRevision':_0x28bb0b});if(((_0x2d6412=_0x506d41[_0x526ee4(0x208)])==null?void 0x0:_0x2d6412[_0x526ee4(0x2be)])===_0x318c18[_0x526ee4(0x1f8)]['OK']){let _0x2da2e9=_0x506d41[_0x526ee4(0x397)][_0x526ee4(0x1a6)](_0x3eaa03=>((_0x3eaa03[_0x526ee4(0x3b4)]===null||_0x3eaa03[_0x526ee4(0x3b4)]===void 0x0)&&(_0x3eaa03[_0x526ee4(0x3b4)]=[]),(0x0,_0x4f87fc['parseProtocolChangeset'])(_0x3eaa03)))[_0x526ee4(0x1a6)](_0x462cad=>_0x462cad[_0x526ee4(0x3b4)][_0x526ee4(0x1a6)](_0x2a7d51=>({..._0x2a7d51,'params':{..._0x2a7d51[_0x526ee4(0x3f6)],'memberId':_0x462cad[_0x526ee4(0x2cd)]||'unknownUser'}})))['flat'](),_0x4aed5a=await this[_0x526ee4(0x1c5)](_0x2da2e9),_0x3bd3a5=this[_0x526ee4(0x314)](_0x2da2e9),_0x4056fe=this[_0x526ee4(0x111)](_0x4aed5a);_0x3b61d1['set'](_0x15adb6['id'],{..._0x4056fe,'active':_0x3bd3a5});}}['getMutationActionMap'](){const _0x2131ab=_0x4f2e97;let _0x5ea5d1=_0x356e26(_0x2131ab(0x12e)),_0x92deb4=new Map();return Object['values'](_0x5ea5d1)[_0x2131ab(0x265)]()['forEach'](_0x386b5=>{const _0x434cc4=_0x2131ab;_0x92deb4['set'](_0x386b5['id'],_0x386b5[_0x434cc4(0x43c)]);}),_0x92deb4;}[_0x4f2e97(0x409)](_0x18b9f1,_0x516179){return this['_categorizeMutationRanges'](_0x18b9f1,_0x516179);}async[_0x4f2e97(0x1c5)](_0xc4379c){const _0x272067=_0x4f2e97;let _0x324c24=[];for(let _0x303ae3=0x0;_0x303ae3<_0xc4379c[_0x272067(0x166)];_0x303ae3++){let _0x166bf3=_0xc4379c[_0x303ae3];if(_0x324c24[_0x272067(0x16c)](_0x166bf3),_0x303ae3!==_0xc4379c[_0x272067(0x166)]-0x1){let _0x5b8acd=_0xc4379c[_0x303ae3+0x1],_0x1b8baf=this[_0x272067(0x246)][_0x272067(0x344)](_0x324c24,[_0x5b8acd]);_0x324c24=(0x0,_0x4f87fc[_0x272067(0x3eb)])(_0x1b8baf)?_0x1b8baf[_0x272067(0x179)]:[];}_0x303ae3%0xa==0x0&&_0x303ae3>0x0&&await this[_0x272067(0xb3)]();}return _0x324c24;}[_0x4f2e97(0xb3)](){return new Promise(_0x28b99f=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x28b99f(),{'timeout':0x64}):setTimeout(_0x28b99f,0x0);});}[_0x4f2e97(0x314)](_0x39d21f){const _0x4a1fe6=_0x4f2e97;let _0x345274=[];return _0x39d21f[_0x4a1fe6(0x1c2)](_0x552694=>{const _0x1a5038=_0x4a1fe6;if(_0x552694['id']===_0x337aad[_0x1a5038(0x334)]['id']){let _0x31b6c8=_0x552694['params'];_0x345274['push'](_0x31b6c8['sheet']['id']);}else{if(_0x552694['id']===_0x337aad['RemoveSheetMutation']['id']){let _0x5f07a9=_0x552694[_0x1a5038(0x3f6)];_0x345274[_0x1a5038(0x166)]>0x0&&(_0x345274=_0x345274[_0x1a5038(0xe2)](_0x5b83b3=>_0x5b83b3!==_0x5f07a9['subUnitId']));}else{if(_0x552694['id']===_0x337aad[_0x1a5038(0x2dc)]['id']){let _0x310f9c=_0x552694[_0x1a5038(0x3f6)];_0x310f9c[_0x1a5038(0x264)]?_0x345274=_0x345274['filter'](_0xf84de1=>_0xf84de1!==_0x310f9c[_0x1a5038(0x3df)]):_0x345274[_0x1a5038(0x16c)](_0x310f9c[_0x1a5038(0x3df)]);}else{let _0x38b454=_0x552694['params'];_0x38b454[_0x1a5038(0x3df)]&&_0x345274[_0x1a5038(0x16c)](_0x38b454[_0x1a5038(0x3df)]);}}}}),_0x345274[_0x4a1fe6(0x166)]>0x0?_0x345274[_0x345274[_0x4a1fe6(0x166)]-0x1]:null;}[_0x4f2e97(0x111)](_0x482147){const _0x470961=_0x4f2e97;let _0x5be95d=new Map(),_0x590db5=new Map(),_0x3fe136=new Map(),_0x3797cb=new Map(),_0x5e56f2=new Map(),_0xda7791=new Map(),_0x1c8bac=new Map(),_0x36565e=new Map(),_0x3d8871=new Map(),_0x25381a=new Map(),_0x2ea84e=new Map(),_0x164619=new Map(),_0xd8bbf=new Set(),_0x2ad1ce=this[_0x470961(0x2af)]();return _0x482147[_0x470961(0x1c2)](_0x381a8b=>{const _0x3e7a6b=_0x470961;var _0x275fb4,_0x225325,_0x29ad64,_0x39e272,_0x21d48f,_0x2e31ea,_0x153ba4,_0x2e8742,_0x4ce1c0,_0x23467f,_0x14dfdb,_0x2cca2f,_0x48fe7f;let _0x1d52e2=(_0x275fb4=_0x381a8b[_0x3e7a6b(0x3f6)])==null?void 0x0:_0x275fb4[_0x3e7a6b(0x405)];if(!_0x1d52e2)return;_0x5be95d[_0x3e7a6b(0x16b)](_0x1d52e2)||(_0x5be95d['set'](_0x1d52e2,[]),_0x590db5[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3fe136[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3797cb['set'](_0x1d52e2,[]),_0x5e56f2['set'](_0x1d52e2,[]),_0xda7791[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x1c8bac[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x36565e[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3d8871[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x25381a[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x2ea84e[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x164619['set'](_0x1d52e2,[]));let _0x53e046=this['_categorizeMutationRanges'](_0x381a8b,_0x2ad1ce);_0x53e046[_0x3e7a6b(0x3c2)][_0x3e7a6b(0x1c2)](_0x5e1d7d=>_0xd8bbf[_0x3e7a6b(0xb4)](_0x5e1d7d)),(_0x225325=_0x5be95d[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x225325[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x38f)]),(_0x29ad64=_0x590db5[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x29ad64['push'](..._0x53e046[_0x3e7a6b(0x301)]),(_0x39e272=_0x3fe136[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x39e272[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x2c8)]),(_0x21d48f=_0x3797cb[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x21d48f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x355)]),(_0x2e31ea=_0x5e56f2['get'](_0x1d52e2))==null||_0x2e31ea[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x33d)]),(_0x153ba4=_0xda7791[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x153ba4[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x10b)]),(_0x2e8742=_0x1c8bac[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x2e8742[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x1cf)]),(_0x4ce1c0=_0x36565e[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x4ce1c0[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x207)]),(_0x23467f=_0x3d8871['get'](_0x1d52e2))==null||_0x23467f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x2ff)]),(_0x14dfdb=_0x2ea84e[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x14dfdb[_0x3e7a6b(0x16c)](..._0x53e046['insertDrawings']),(_0x2cca2f=_0x164619[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x2cca2f['push'](..._0x53e046[_0x3e7a6b(0x21f)]),(_0x48fe7f=_0x25381a[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x48fe7f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x1e6)]);}),_0x5be95d['forEach']((_0x1f685e,_0x1ba88c)=>{const _0x9f1edc=_0x470961;_0x5be95d[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x1f685e)),_0x590db5['set'](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x590db5[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x3fe136[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x3fe136['get'](_0x1ba88c)||[])),_0x3797cb['set'](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x3797cb['get'](_0x1ba88c)||[])),_0x5e56f2[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x5e56f2[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0xda7791[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0xda7791[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x1c8bac[_0x9f1edc(0x1bd)](_0x1ba88c,this['_combineRanges'](_0x1c8bac[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x36565e[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x36565e[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x3d8871['set'](_0x1ba88c,this['_combineRanges'](_0x3d8871['get'](_0x1ba88c)||[]));}),{'ranges':_0x5be95d,'insertCellRanges':_0x590db5,'deleteCellRanges':_0x3fe136,'updateCellRanges':_0x3797cb,'insertBorderRanges':_0x5e56f2,'deleteBorderRanges':_0xda7791,'updateBorderRanges':_0x1c8bac,'arrowRowRanges':_0x36565e,'arrowColumnRanges':_0x3d8871,'insertDrawings':_0x2ea84e,'deleteDrawings':_0x164619,'updateDrawings':_0x25381a,'subUnitIds':Array[_0x470961(0x367)](_0xd8bbf)};}[_0x4f2e97(0x28e)](_0xafd221,_0x4aae5a){const _0x26bc2c=_0x4f2e97;let _0x5d9ff9={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x5bb009=_0xafd221['id'],_0x320ca8=_0xafd221['params'],_0x2fcc06=this[_0x26bc2c(0x163)]['t'](_0x4aae5a[_0x26bc2c(0xea)](_0x5bb009)||'');_0x320ca8[_0x26bc2c(0x3df)]&&_0x5d9ff9['subUnitIds'][_0x26bc2c(0x16c)](_0x320ca8[_0x26bc2c(0x3df)]);let _0x272748=(_0x1107df,_0x661256)=>{const _0x5a37ad=_0x26bc2c;let _0x2524e0=_0x1107df[_0x5a37ad(0x1a6)](_0x5b3394=>({..._0x5b3394,'showText':_0x2fcc06}));switch(_0x5d9ff9[_0x5a37ad(0x38f)][_0x5a37ad(0x16c)](..._0x2524e0),_0x661256){case _0x5a37ad(0x1d3):_0x5d9ff9['insertCellRanges']['push'](..._0x2524e0);break;case'delete':_0x5d9ff9[_0x5a37ad(0x2c8)]['push'](..._0x2524e0);break;case _0x5a37ad(0x206):_0x5d9ff9[_0x5a37ad(0x355)][_0x5a37ad(0x16c)](..._0x2524e0);break;case'insertBorder':_0x5d9ff9['insertBorderRanges'][_0x5a37ad(0x16c)](..._0x2524e0);break;case'deleteBorder':_0x5d9ff9[_0x5a37ad(0x10b)][_0x5a37ad(0x16c)](..._0x2524e0);break;case _0x5a37ad(0x21d):_0x5d9ff9[_0x5a37ad(0x1cf)][_0x5a37ad(0x16c)](..._0x2524e0);break;case _0x5a37ad(0x408):_0x5d9ff9[_0x5a37ad(0x207)]['push'](..._0x2524e0);break;case _0x5a37ad(0x1d2):_0x5d9ff9['arrowColumnRanges'][_0x5a37ad(0x16c)](..._0x2524e0);break;}};switch(_0x5bb009){case _0x337aad['InsertRowMutation']['id']:{let _0x4120a4=_0x320ca8;_0x272748([{'range':{..._0x4120a4['range'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x4120a4[_0x26bc2c(0x3d7)],'subUnitId':_0x4120a4['subUnitId'],'showText':_0x26bc2c(0x3ef),'highlightRow':!0x0}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x306)]['id']:{let _0x5db293=_0x320ca8;_0x272748([{'range':{..._0x5db293['range'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x5db293[_0x26bc2c(0x3d7)],'subUnitId':_0x5db293['subUnitId'],'showText':'insertCol','highlightColumn':!0x0}],'insert');break;}case _0x337aad[_0x26bc2c(0x291)]['id']:{let _0x1283b0=_0x320ca8;_0x272748(_0x1283b0['ranges'][_0x26bc2c(0x1a6)](_0x5b27b4=>({'range':_0x5b27b4,'unitId':_0x1283b0[_0x26bc2c(0x3d7)],'subUnitId':_0x1283b0[_0x26bc2c(0x3df)],'showText':'mergeCells'})),_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x2c3)]['id']:{let _0xb1518=_0x320ca8;_0x272748(Object['values'](_0xb1518[_0x26bc2c(0xca)])[_0x26bc2c(0x1a6)](_0x58f070=>_0x58f070[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0xf5c66b=>({'range':_0xf5c66b,'unitId':_0xb1518[_0x26bc2c(0x3d7)],'subUnitId':_0xb1518[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x3e1)})))[_0x26bc2c(0x265)](),_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x287)]['id']:{let _0x57ecfa=_0x320ca8;_0x272748(_0x57ecfa['ranges']['map'](_0x32f9a7=>({'range':_0x32f9a7,'unitId':_0x57ecfa[_0x26bc2c(0x3d7)],'subUnitId':_0x57ecfa[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xc9)})),_0x26bc2c(0x280));break;}case _0x337aad[_0x26bc2c(0x42f)]['id']:{let _0xe1a525=_0x320ca8;_0x272748(_0xe1a525[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x398191=>({'range':_0x398191,'unitId':_0xe1a525[_0x26bc2c(0x3d7)],'subUnitId':_0xe1a525[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x21b)})),_0x26bc2c(0x280));break;}case _0x337aad[_0x26bc2c(0x3c3)]['id']:{let _0x402d7f=_0x320ca8;_0x272748([{'range':{..._0x402d7f['sourceRange'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x402d7f['unitId'],'subUnitId':_0x402d7f['subUnitId'],'showText':_0x26bc2c(0x13c)}],_0x26bc2c(0x280)),_0x272748([{'range':{..._0x402d7f[_0x26bc2c(0x18c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)]['ROW']},'unitId':_0x402d7f[_0x26bc2c(0x3d7)],'subUnitId':_0x402d7f[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x13c)}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x2a7)]['id']:{let _0x2bf5d8=_0x320ca8;_0x272748([{'range':{..._0x2bf5d8[_0x26bc2c(0x41c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x2bf5d8[_0x26bc2c(0x3d7)],'subUnitId':_0x2bf5d8[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xc3)}],_0x26bc2c(0x280)),_0x272748([{'range':{..._0x2bf5d8[_0x26bc2c(0x18c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)]['COLUMN']},'unitId':_0x2bf5d8['unitId'],'subUnitId':_0x2bf5d8['subUnitId'],'showText':_0x26bc2c(0xc3)}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x290)]['id']:{let _0x80854a=_0x320ca8;_0x272748(_0x80854a[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x5debb5=>({'range':{..._0x5debb5,'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x80854a[_0x26bc2c(0x3d7)],'subUnitId':_0x80854a[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x223),'highlightRow':!0x0})),_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0x39b)]['id']:{let _0xeae5e4=_0x320ca8;_0xeae5e4[_0x26bc2c(0x1e9)]&&_0xeae5e4['subUnitId']&&Object[_0x26bc2c(0x2c9)](_0xeae5e4['rowData'])['map'](Number)[_0x26bc2c(0x1c2)](_0x1d79ca=>{const _0x3d928b=_0x26bc2c;_0x272748([{'range':{'startRow':_0x1d79ca,'endRow':_0x1d79ca,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1467aa[_0x3d928b(0x24e)][_0x3d928b(0x234)]},'unitId':_0xeae5e4[_0x3d928b(0x3d7)],'subUnitId':_0xeae5e4['subUnitId'],'showText':_0x3d928b(0x195),'highlightRow':!0x0}],_0x3d928b(0x206));});break;}case _0x337aad[_0x26bc2c(0x201)]['id']:{let _0x362c1=_0x320ca8;_0x272748(_0x362c1['ranges']['map'](_0x4e4238=>({'range':{..._0x4e4238,'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x362c1[_0x26bc2c(0x3d7)],'subUnitId':_0x362c1[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x2ef),'highlightColumn':!0x0})),'update');break;}case _0x337aad['SetColDataMutation']['id']:{let _0x2ec9a8=_0x320ca8;_0x2ec9a8[_0x26bc2c(0x1ff)]&&_0x2ec9a8[_0x26bc2c(0x3df)]&&Object[_0x26bc2c(0x2c9)](_0x2ec9a8[_0x26bc2c(0x1ff)])[_0x26bc2c(0x1a6)](Number)[_0x26bc2c(0x1c2)](_0x2b7d8b=>{const _0x33fa21=_0x26bc2c;_0x272748([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x2b7d8b,'endColumn':_0x2b7d8b,'rangeType':_0x1467aa['RANGE_TYPE']['COLUMN']},'unitId':_0x2ec9a8[_0x33fa21(0x3d7)],'subUnitId':_0x2ec9a8[_0x33fa21(0x3df)],'showText':_0x33fa21(0x40b),'highlightColumn':!0x0}],'update');});break;}case _0x337aad['SetRangeValuesMutation']['id']:{let _0x50812d=_0x320ca8;_0x272748(_0x50812d[_0x26bc2c(0x304)]?_0x377f87(_0x50812d['cellValue'])[_0x26bc2c(0x1a6)](_0x7dc89a=>({'range':_0x7dc89a,'unitId':_0x50812d[_0x26bc2c(0x3d7)],'subUnitId':_0x50812d[_0x26bc2c(0x3df)],'showText':'setRangeValues'})):[],_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0xff)]['id']:{let _0x4f5564=_0xafd221[_0x26bc2c(0x3f6)];_0x272748([{'range':_0x658723(_0x4f5564['from']['value']),'unitId':_0x4f5564[_0x26bc2c(0x3d7)],'subUnitId':_0x4f5564['from'][_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x455)}],_0x26bc2c(0x280)),_0x272748([{'range':_0x658723(_0x4f5564['to']['value']),'unitId':_0x4f5564[_0x26bc2c(0x3d7)],'subUnitId':_0x4f5564['to'][_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x455)}],'insert');break;}case _0x337aad[_0x26bc2c(0x157)]['id']:{let _0x153cbb=_0x320ca8;_0x272748([{'range':_0x153cbb[_0x26bc2c(0x3a0)],'unitId':_0x153cbb[_0x26bc2c(0x3d7)],'subUnitId':_0x153cbb[_0x26bc2c(0x3df)]}],_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0xce)]['id']:{let _0x50c3a8=_0x320ca8;_0x50c3a8[_0x26bc2c(0x259)]&&_0x50c3a8['ranges'][_0x26bc2c(0x166)]>0x0&&_0x50c3a8[_0x26bc2c(0x3df)]&&_0x272748(_0x50c3a8[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x3d0659=>({'range':_0x3d0659,'unitId':_0x50c3a8[_0x26bc2c(0x3d7)],'subUnitId':_0x50c3a8[_0x26bc2c(0x3df)],'showText':'setRowHeight'})),_0x26bc2c(0x408));break;}case _0x337aad[_0x26bc2c(0x31c)]['id']:{let _0x59ee9e=_0x320ca8;_0x59ee9e[_0x26bc2c(0x259)]&&_0x59ee9e[_0x26bc2c(0x259)][_0x26bc2c(0x166)]>0x0&&_0x59ee9e['subUnitId']&&_0x272748(_0x59ee9e[_0x26bc2c(0x259)]['map'](_0x10dbc2=>({'range':_0x10dbc2,'unitId':_0x59ee9e[_0x26bc2c(0x3d7)],'subUnitId':_0x59ee9e[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1d7)})),_0x26bc2c(0x1d2));break;}case _0x337aad['AddRangeProtectionMutation']['id']:{let _0xa4c4b3=_0x320ca8;_0x272748(_0xa4c4b3[_0x26bc2c(0x13b)][_0x26bc2c(0x1a6)](_0x3691c5=>_0x3691c5[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x45eaec=>({'range':_0x45eaec,'unitId':_0xa4c4b3[_0x26bc2c(0x3d7)],'subUnitId':_0xa4c4b3[_0x26bc2c(0x3df)],'showText':'addRangeProtection'})))[_0x26bc2c(0x265)](),'insertBorder');break;}case _0x3faaa0['AddConditionalRuleMutation']['id']:{let _0x4952db=_0x320ca8;_0x272748(_0x4952db[_0x26bc2c(0x426)]['ranges'][_0x26bc2c(0x1a6)](_0x4f2bad=>({'range':_0x4f2bad,'unitId':_0x4952db[_0x26bc2c(0x3d7)],'subUnitId':_0x4952db['subUnitId'],'showText':_0x26bc2c(0x34b)})),_0x26bc2c(0x17a));break;}case _0x24d04c[_0x26bc2c(0x372)]['id']:{let _0x83d75d=_0x320ca8;_0x272748((Array[_0x26bc2c(0x322)](_0x83d75d['rule'])?_0x83d75d[_0x26bc2c(0x426)]:[_0x83d75d['rule']])[_0x26bc2c(0x1a6)](_0x534997=>_0x534997[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x33dd3d=>({'range':_0x33dd3d,'unitId':_0x83d75d[_0x26bc2c(0x3d7)],'subUnitId':_0x83d75d['subUnitId'],'showText':_0x26bc2c(0x2d1)})))[_0x26bc2c(0x265)](),_0x26bc2c(0x17a));break;}case _0x337aad[_0x26bc2c(0x1ab)]['id']:{let _0x269a5e=_0x320ca8,_0x29daf8=_0x269a5e[_0x26bc2c(0x3d7)],_0x361fe4=_0x269a5e[_0x26bc2c(0x3df)];_0x269a5e['ruleIds']&&_0x269a5e[_0x26bc2c(0xf8)][_0x26bc2c(0x166)]>0x0&&_0x269a5e[_0x26bc2c(0x3df)]&&_0x269a5e[_0x26bc2c(0xf8)][_0x26bc2c(0x1c2)](_0x46eae5=>{const _0x3e6afe=_0x26bc2c;let _0x47cd51=this['_rangeProtectionRuleModel'][_0x3e6afe(0x1b4)](_0x29daf8,_0x361fe4,_0x46eae5),_0x400540=(_0x47cd51==null?void 0x0:_0x47cd51['ranges'][_0x3e6afe(0x1a6)](_0x2fe996=>({'range':_0x2fe996,'unitId':_0x29daf8,'subUnitId':_0x361fe4,'showText':_0x3e6afe(0x18a)})))||[];_0x400540[_0x3e6afe(0x166)]>0x0&&_0x272748(_0x400540,_0x3e6afe(0x194));});break;}case _0x3faaa0[_0x26bc2c(0x138)]['id']:{let _0x44a094=_0x320ca8;if(_0x44a094[_0x26bc2c(0x15b)]&&_0x44a094[_0x26bc2c(0x3df)]){let _0x3bed39=this['_conditionalFormattingRuleModel'][_0x26bc2c(0x1b4)](_0x44a094[_0x26bc2c(0x3d7)],_0x44a094['subUnitId'],_0x44a094[_0x26bc2c(0x15b)]);if(_0x3bed39){let _0x334e3b=_0x3bed39[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x3feee0=>({'range':_0x3feee0,'unitId':_0x44a094[_0x26bc2c(0x3d7)],'subUnitId':_0x44a094[_0x26bc2c(0x3df)],'showText':'deleteCF'}));_0x334e3b[_0x26bc2c(0x166)]>0x0&&_0x272748(_0x334e3b,_0x26bc2c(0x194));}}break;}case _0x24d04c[_0x26bc2c(0x196)]['id']:{let _0x2a6a6e=_0x320ca8,_0x58a90d=Array[_0x26bc2c(0x322)](_0x2a6a6e['ruleId'])?_0x2a6a6e[_0x26bc2c(0x39e)]:[_0x2a6a6e['ruleId']];_0x58a90d[_0x26bc2c(0x166)]>0x0&&_0x2a6a6e['subUnitId']&&_0x58a90d[_0x26bc2c(0x1c2)](_0x1bb89f=>{const _0x298d42=_0x26bc2c;let _0x5d2957=this['_dataValidationModel'][_0x298d42(0x1c9)](_0x2a6a6e[_0x298d42(0x3d7)],_0x2a6a6e['subUnitId'],_0x1bb89f),_0x1b2525=(_0x5d2957==null?void 0x0:_0x5d2957['ranges']['map'](_0x24c795=>({'range':_0x24c795,'unitId':_0x2a6a6e[_0x298d42(0x3d7)],'subUnitId':_0x2a6a6e[_0x298d42(0x3df)],'showText':'removeDV'})))||[];_0x1b2525[_0x298d42(0x166)]>0x0&&_0x272748(_0x1b2525,_0x298d42(0x194));});break;}case _0x337aad[_0x26bc2c(0x2aa)]['id']:{let _0x3a2450=_0x320ca8;_0x272748(_0x3a2450[_0x26bc2c(0x426)]['ranges'][_0x26bc2c(0x1a6)](_0xca300e=>({'range':_0xca300e,'unitId':_0x3a2450[_0x26bc2c(0x3d7)],'subUnitId':_0x3a2450[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x226)})),'updateBorder');break;}case _0x337aad[_0x26bc2c(0x3c9)]['id']:{let _0x486551=_0x320ca8;_0x272748([{'range':_0x486551['range'],'unitId':_0x486551[_0x26bc2c(0x3d7)],'subUnitId':_0x486551[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xf4)}],_0x26bc2c(0x21d));break;}case _0x337aad[_0x26bc2c(0x3da)]['id']:{let _0x4d2971=_0x320ca8;_0x272748([{'range':_0x4d2971[_0x26bc2c(0x3a0)],'unitId':_0x4d2971[_0x26bc2c(0x3d7)],'subUnitId':_0x4d2971[_0x26bc2c(0x3df)],'showText':'deleteWorksheetRangeTheme'}],_0x26bc2c(0x21d));break;}case _0x3faaa0['SetConditionalRuleMutation']['id']:{let _0x866091=_0x320ca8;_0x272748(_0x866091['rule'][_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x344a9c=>({'range':_0x344a9c,'unitId':_0x866091['unitId'],'subUnitId':_0x866091[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x34b)})),_0x26bc2c(0x21d));break;}case _0x3faaa0[_0x26bc2c(0x429)]['id']:{let _0x583458=_0x320ca8,_0x2a1ec5=this[_0x26bc2c(0x1ed)][_0x26bc2c(0x1b4)](_0x583458['unitId'],_0x583458[_0x26bc2c(0x3df)],_0x583458[_0x26bc2c(0x137)]['id']),_0x219d68=this[_0x26bc2c(0x1ed)]['getRule'](_0x583458[_0x26bc2c(0x3d7)],_0x583458[_0x26bc2c(0x3df)],_0x583458['end']['id']);_0x2a1ec5&&_0x272748(_0x2a1ec5[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x355e26=>({'range':_0x355e26,'unitId':_0x583458[_0x26bc2c(0x3d7)],'subUnitId':_0x583458[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xcf)})),_0x26bc2c(0x194)),_0x219d68&&_0x272748(_0x219d68['ranges'][_0x26bc2c(0x1a6)](_0x39950c=>({'range':_0x39950c,'unitId':_0x583458['unitId'],'subUnitId':_0x583458[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xcf)})),_0x26bc2c(0x17a));break;}case _0x41ff64[_0x26bc2c(0x25b)]['id']:{let _0x437f9=_0x320ca8;_0x272748([{'range':_0x437f9['range'],'unitId':_0x437f9['unitId'],'subUnitId':_0x437f9[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x228)}],_0x26bc2c(0x21d));break;}case _0x41ff64['SetSheetsFilterCriteriaMutation']['id']:{let _0x5cb20a=_0x320ca8,_0x36004d=this['_sheetsFilterService']['getFilterModel'](_0x5cb20a[_0x26bc2c(0x3d7)],_0x5cb20a[_0x26bc2c(0x3df)]);if(_0x36004d){let _0x239ae0=_0x36004d['getRange']();_0x272748(_0x239ae0?[{'range':_0x239ae0,'unitId':_0x5cb20a[_0x26bc2c(0x3d7)],'subUnitId':_0x5cb20a[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1bb)}]:[],_0x26bc2c(0x21d));}break;}case _0x41ff64[_0x26bc2c(0x22a)]['id']:{let _0xd70a84=_0x320ca8,_0x37cbdb=this[_0x26bc2c(0x200)]['getFilterModel'](_0xd70a84[_0x26bc2c(0x3d7)],_0xd70a84[_0x26bc2c(0x3df)]);if(_0x37cbdb){let _0x55f1a0=_0x37cbdb[_0x26bc2c(0x37c)]();_0x272748(_0x55f1a0?[{'range':_0x55f1a0,'unitId':_0xd70a84[_0x26bc2c(0x3d7)],'subUnitId':_0xd70a84[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1d4)}]:[],_0x26bc2c(0x21d));}break;}case _0x41ff64['ReCalcSheetsFilterMutation']['id']:{let _0x429078=_0x320ca8,_0x33f708=this[_0x26bc2c(0x200)][_0x26bc2c(0x18e)](_0x429078[_0x26bc2c(0x3d7)],_0x429078['subUnitId']);if(_0x33f708){let _0x4a1305=_0x33f708['getRange']();_0x272748(_0x4a1305?[{'range':_0x4a1305,'unitId':_0x429078['unitId'],'subUnitId':_0x429078['subUnitId'],'showText':_0x26bc2c(0x1d4)}]:[],_0x26bc2c(0x21d));}break;}case _0x24d04c[_0x26bc2c(0x443)]['id']:{let _0x48d048=_0x320ca8,_0x56b5a7=this['_dataValidationModel'][_0x26bc2c(0x1c9)](_0x48d048[_0x26bc2c(0x3d7)],_0x48d048[_0x26bc2c(0x3df)],_0x48d048['ruleId']);_0x56b5a7&&_0x272748(_0x56b5a7['ranges'][_0x26bc2c(0x1a6)](_0x289e93=>({'range':_0x289e93,'unitId':_0x48d048[_0x26bc2c(0x3d7)],'subUnitId':_0x48d048[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x2d1)})),'updateBorder');break;}case _0x902a7b[_0x26bc2c(0x377)]['id']:{let _0x3390a0=_0x320ca8,_0x32dc3e=_0x3390a0[_0x26bc2c(0x3d7)],_0x126f68=_0x3390a0[_0x26bc2c(0x3df)],_0x4be32b=_0x3390a0['sparklineConfigMap'];_0x3390a0[_0x26bc2c(0x20b)]&&_0x126f68&&Object[_0x26bc2c(0x2c9)](_0x3390a0['sparklineConfigMap'])[_0x26bc2c(0x1c2)](_0x59c1fb=>{const _0x107df5=_0x26bc2c;let _0x404d66=_0x4be32b[_0x59c1fb];_0x272748(_0x377f87(_0x404d66[_0x107df5(0x2ba)])[_0x107df5(0x1a6)](_0x54c99b=>({'range':_0x54c99b,'unitId':_0x32dc3e,'subUnitId':_0x126f68,'showText':'addSparkline'})),_0x107df5(0x1d3));});break;}case _0x902a7b[_0x26bc2c(0x27f)]['id']:{let _0x2d2812=_0x320ca8;_0x2d2812[_0x26bc2c(0x212)]&&_0x2d2812['groupIds'][_0x26bc2c(0x166)]>0x0&&_0x2d2812['subUnitId']&&_0x2d2812[_0x26bc2c(0x212)][_0x26bc2c(0x1c2)](_0x8df6c1=>{const _0x5847af=_0x26bc2c;let _0x5e4eed=this[_0x5847af(0x11b)][_0x5847af(0x273)](_0x2d2812['unitId'],_0x2d2812[_0x5847af(0x3df)],_0x8df6c1);_0x5e4eed&&_0x272748(_0x377f87(_0x5e4eed['sparklines'][_0x5847af(0x41e)]())[_0x5847af(0x1a6)](_0x3cbaaf=>({'range':_0x3cbaaf,'unitId':_0x2d2812[_0x5847af(0x3d7)],'subUnitId':_0x2d2812[_0x5847af(0x3df)],'showText':'setSparkline'})),_0x5847af(0x206));});break;}case _0x902a7b['RemoveSheetSparklineMutation']['id']:{let _0x5c8268=_0x320ca8;_0x5c8268[_0x26bc2c(0x212)]&&_0x5c8268[_0x26bc2c(0x212)][_0x26bc2c(0x166)]>0x0&&_0x5c8268[_0x26bc2c(0x3df)]&&_0x5c8268['groupIds'][_0x26bc2c(0x1c2)](_0x306432=>{const _0x52ccfe=_0x26bc2c;let _0x5af18c=this[_0x52ccfe(0x11b)][_0x52ccfe(0x273)](_0x5c8268[_0x52ccfe(0x3d7)],_0x5c8268[_0x52ccfe(0x3df)],_0x306432);_0x5af18c&&_0x272748(_0x377f87(_0x5af18c[_0x52ccfe(0x2ba)][_0x52ccfe(0x41e)]())[_0x52ccfe(0x1a6)](_0x110a03=>({'range':_0x110a03,'unitId':_0x5c8268[_0x52ccfe(0x3d7)],'subUnitId':_0x5c8268['subUnitId'],'showText':_0x52ccfe(0x221)})),_0x52ccfe(0x280));});break;}case _0x16c297[_0x26bc2c(0x15f)]['id']:{let _0x5d0952=_0x320ca8;_0x5d0952[_0x26bc2c(0x450)]&&_0x5d0952['subUnitId']&&_0x272748([{'range':_0x5d0952[_0x26bc2c(0x3a0)],'unitId':_0x5d0952[_0x26bc2c(0x3d7)],'subUnitId':_0x5d0952[_0x26bc2c(0x3df)],'showText':'addTable'}],'insert');break;}case _0x16c297['DeleteSheetTableMutation']['id']:{let _0x7d5714=_0x320ca8;if(_0x7d5714[_0x26bc2c(0x450)]&&_0x7d5714[_0x26bc2c(0x3df)]){var _0x4ac4b2;let _0x15f1dc=(_0x4ac4b2=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x7d5714[_0x26bc2c(0x3d7)],_0x7d5714[_0x26bc2c(0x450)]))==null?void 0x0:_0x4ac4b2['range'];_0x15f1dc&&_0x272748([{'range':_0x15f1dc,'unitId':_0x7d5714['unitId'],'subUnitId':_0x7d5714[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xef)}],'delete');}break;}case _0x16c297['SetSheetTableFilterMutation']['id']:{let _0x1c81a7=_0x320ca8;if(_0x1c81a7['tableId']){let _0x1e9b05=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x1c81a7[_0x26bc2c(0x3d7)],_0x1c81a7[_0x26bc2c(0x450)]);_0x1e9b05&&_0x1e9b05[_0x26bc2c(0x3a0)]&&_0x1e9b05['subUnitId']&&(_0x5d9ff9[_0x26bc2c(0x3c2)]['push'](_0x1e9b05[_0x26bc2c(0x3df)]),_0x272748([{'range':_0x1e9b05[_0x26bc2c(0x3a0)],'unitId':_0x1c81a7[_0x26bc2c(0x3d7)],'subUnitId':_0x1e9b05[_0x26bc2c(0x3df)],'showText':'setTableFilter'}],_0x26bc2c(0x206)));}break;}case _0x16c297[_0x26bc2c(0x240)]['id']:{let _0x35948c=_0x320ca8;if(_0x35948c[_0x26bc2c(0x450)]&&_0x35948c[_0x26bc2c(0x3df)]){var _0x3336a8;let _0x30b6d5=(_0x3336a8=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x35948c['unitId'],_0x35948c[_0x26bc2c(0x450)]))==null?void 0x0:_0x3336a8[_0x26bc2c(0x3a0)];_0x30b6d5&&_0x272748([{'range':_0x30b6d5,'unitId':_0x35948c[_0x26bc2c(0x3d7)],'subUnitId':_0x35948c[_0x26bc2c(0x3df)],'showText':'updateTable'}],_0x26bc2c(0x206));}break;}case _0x7a8479[_0x26bc2c(0x2b4)]['id']:{let _0xad311f=_0x320ca8;if(_0xad311f[_0x26bc2c(0x2a4)]&&_0xad311f[_0x26bc2c(0x3df)]){var _0x3db83b;let _0x2765d8=(_0x3db83b=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0xad311f[_0x26bc2c(0x3d7)],_0xad311f[_0x26bc2c(0x3df)],_0xad311f['pivotTableId']))==null?void 0x0:_0x3db83b['rangeInfo'];_0x2765d8&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x2765d8)[_0x26bc2c(0x1a6)](_0x10c9bf=>({'range':_0x10c9bf,'unitId':_0xad311f[_0x26bc2c(0x3d7)],'subUnitId':_0xad311f['subUnitId'],'showText':_0x26bc2c(0x1aa)})),_0x26bc2c(0x1d3));}break;}case _0x7a8479[_0x26bc2c(0x13a)]['id']:{let _0x47fb0f=_0x320ca8;if(_0x47fb0f[_0x26bc2c(0x2a4)]&&_0x47fb0f[_0x26bc2c(0x3df)]){var _0x40e43a;let _0x221128=(_0x40e43a=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0x47fb0f[_0x26bc2c(0x3d7)],_0x47fb0f[_0x26bc2c(0x3df)],_0x47fb0f[_0x26bc2c(0x2a4)]))==null?void 0x0:_0x40e43a[_0x26bc2c(0xed)];_0x221128&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x221128)['map'](_0x736acf=>({'range':_0x736acf,'unitId':_0x47fb0f['unitId'],'subUnitId':_0x47fb0f[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x30f)})),_0x26bc2c(0x280));}break;}case _0x7a8479[_0x26bc2c(0x140)]['id']:case _0x7a8479[_0x26bc2c(0x154)]['id']:case _0x7a8479[_0x26bc2c(0x28f)]['id']:case _0x7a8479[_0x26bc2c(0x35c)]['id']:case _0x7a8479[_0x26bc2c(0x41b)]['id']:case _0x7a8479[_0x26bc2c(0x202)]['id']:case _0x7a8479['UpdateFieldPositionMutation']['id']:case _0x7a8479[_0x26bc2c(0x178)]['id']:case _0x7a8479[_0x26bc2c(0x1cc)]['id']:case _0x7a8479['SetPivotFilterMutation']['id']:case _0x7a8479['SetPivotValueFilterMutation']['id']:case _0x7a8479[_0x26bc2c(0x32c)]['id']:case _0x7a8479['SetPivotCollapseMutation']['id']:case _0x7a8479[_0x26bc2c(0x128)]['id']:case _0x7a8479[_0x26bc2c(0x26a)]['id']:{let _0x55a3e2=_0x320ca8,_0x3318b5=_0x26bc2c(0x2f3);if(_0x5bb009===_0x7a8479[_0x26bc2c(0x140)]['id']?_0x3318b5=_0x26bc2c(0x2f3):_0x5bb009===_0x7a8479[_0x26bc2c(0x154)]['id']?_0x3318b5=_0x26bc2c(0x406):_0x5bb009===_0x7a8479[_0x26bc2c(0x28f)]['id']?_0x3318b5='updatePivotSource':_0x5bb009===_0x7a8479[_0x26bc2c(0x35c)]['id']?_0x3318b5='addPivotField':_0x5bb009===_0x7a8479[_0x26bc2c(0x41b)]['id']?_0x3318b5='removePivotField':_0x5bb009===_0x7a8479[_0x26bc2c(0x202)]['id']?_0x3318b5=_0x26bc2c(0x1b8):_0x5bb009===_0x7a8479[_0x26bc2c(0x35d)]['id']?_0x3318b5=_0x26bc2c(0x230):_0x5bb009===_0x7a8479[_0x26bc2c(0x178)]['id']?_0x3318b5=_0x26bc2c(0x3a8):_0x5bb009===_0x7a8479['UpdatePivotFieldSourceInfoMutation']['id']?_0x3318b5=_0x26bc2c(0x105):_0x5bb009===_0x7a8479[_0x26bc2c(0x42d)]['id']?_0x3318b5='setPivotFilter':_0x5bb009===_0x7a8479[_0x26bc2c(0x320)]['id']?_0x3318b5=_0x26bc2c(0x286):_0x5bb009===_0x7a8479['SetPivotSortMutation']['id']?_0x3318b5=_0x26bc2c(0x38a):_0x5bb009===_0x7a8479['SetPivotCollapseMutation']['id']?_0x3318b5=_0x26bc2c(0x3e4):_0x5bb009===_0x7a8479['SetPivotSubtotalTypeMutation']['id']?_0x3318b5=_0x26bc2c(0x192):_0x5bb009===_0x7a8479[_0x26bc2c(0x128)]['id']&&(_0x3318b5=_0x26bc2c(0x44c)),_0x55a3e2[_0x26bc2c(0x2a4)]&&_0x55a3e2[_0x26bc2c(0x3df)]){var _0x6d31e;let _0x217a55=(_0x6d31e=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0x55a3e2[_0x26bc2c(0x3d7)],_0x55a3e2['subUnitId'],_0x55a3e2['pivotTableId']))==null?void 0x0:_0x6d31e[_0x26bc2c(0xed)];_0x217a55&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x217a55)[_0x26bc2c(0x1a6)](_0x2f771a=>({'range':_0x2f771a,'unitId':_0x55a3e2[_0x26bc2c(0x3d7)],'subUnitId':_0x55a3e2['subUnitId'],'showText':_0x3318b5})),_0x26bc2c(0x206));}break;}case _0xd50e28[_0x26bc2c(0x316)]['id']:{let _0x3520c3=_0x320ca8;_0x3520c3['chartId']&&_0x5d9ff9['insertDrawings']['push']({'drawingId':_0x3520c3['chartId'],'unitId':_0x3520c3['unitId'],'subUnitId':_0x3520c3[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0xd50e28[_0x26bc2c(0x388)]['id']:{let _0x46707f=_0x320ca8;_0x46707f['chartId']&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0x46707f[_0x26bc2c(0x2ac)],'unitId':_0x46707f[_0x26bc2c(0x3d7)],'subUnitId':_0x46707f[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0xd50e28[_0x26bc2c(0x39c)]['id']:{let _0x31849=_0x320ca8;if(_0x31849[_0x26bc2c(0x1e1)]){let _0x347e19=this[_0x26bc2c(0xf6)][_0x26bc2c(0x2cf)](_0x31849['unitId'],_0x31849[_0x26bc2c(0x1e1)]);_0x347e19&&(_0x5d9ff9['subUnitIds'][_0x26bc2c(0x16c)](_0x347e19),_0x5d9ff9[_0x26bc2c(0x1e6)][_0x26bc2c(0x16c)]({'drawingId':_0x31849[_0x26bc2c(0x1e1)],'unitId':_0x31849[_0x26bc2c(0x3d7)],'subUnitId':_0x347e19,'showText':_0x2fcc06}));}break;}case _0xd50e28[_0x26bc2c(0x159)]['id']:{let _0x22421=_0x320ca8;if(_0x22421['chartModelId']){let _0x26a4c1=this['_sheetsChartService'][_0x26bc2c(0x2cf)](_0x22421['unitId'],_0x22421[_0x26bc2c(0x1e1)]);_0x26a4c1&&(_0x5d9ff9[_0x26bc2c(0x3c2)]['push'](_0x26a4c1),_0x5d9ff9['updateDrawings']['push']({'drawingId':_0x22421[_0x26bc2c(0x1e1)],'unitId':_0x22421[_0x26bc2c(0x3d7)],'subUnitId':_0x26a4c1,'showText':_0x2fcc06}));}break;}case _0xb23317[_0x26bc2c(0x376)]['id']:{let _0x5b3e18=_0x320ca8;_0x5b3e18['shapeId']&&_0x5d9ff9[_0x26bc2c(0x1de)][_0x26bc2c(0x16c)]({'drawingId':_0x5b3e18[_0x26bc2c(0x3f9)],'unitId':_0x5b3e18['unitId'],'subUnitId':_0x5b3e18['subUnitId'],'showText':_0x2fcc06});break;}case _0xb23317[_0x26bc2c(0x27d)]['id']:{let _0xe5e59b=_0x320ca8;_0xe5e59b['shapeId']&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0xe5e59b[_0x26bc2c(0x3f9)],'unitId':_0xe5e59b[_0x26bc2c(0x3d7)],'subUnitId':_0xe5e59b['subUnitId'],'showText':_0x2fcc06});break;}case _0xb23317['UpdateSheetsShapeDataMutation']['id']:case _0xb23317[_0x26bc2c(0x31b)]['id']:{let _0x295f29=_0x320ca8;_0x295f29['shapeId']&&_0x5d9ff9[_0x26bc2c(0x1e6)][_0x26bc2c(0x16c)]({'drawingId':_0x295f29[_0x26bc2c(0x3f9)],'unitId':_0x295f29[_0x26bc2c(0x3d7)],'subUnitId':_0x295f29[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0x3867c2[_0x26bc2c(0x190)]['id']:{let _0x3fbb32=_0x320ca8,_0x378a13=_0x3fbb32['objects'],_0x501112=_0x3fbb32[_0x26bc2c(0x186)],_0x134bda=_0x501112!==_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)]&&_0x501112!==_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x122)],_0x578396=_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)],_0x4e3bfa=_0x501112===_0x3867c2['DrawingApplyType'][_0x26bc2c(0x122)],_0x5b5c4b=_0x2fcc06;if(_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)]?_0x5b5c4b=this[_0x26bc2c(0x163)]['t'](_0x26bc2c(0x371)):_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x122)]&&(_0x5b5c4b=this[_0x26bc2c(0x163)]['t'](_0x26bc2c(0x40e))),Array[_0x26bc2c(0x322)](_0x378a13))_0x378a13[_0x26bc2c(0x1c2)](_0x4a0550=>{const _0x591ce1=_0x26bc2c;if(_0x591ce1(0xdb)in _0x4a0550&&_0x4a0550['drawingId'])_0x134bda?_0x5d9ff9[_0x591ce1(0x1e6)]['push']({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x591ce1(0x1de)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x591ce1(0x21f)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b});else{if(_0x591ce1(0x427)in _0x4a0550&&_0x591ce1(0x3b7)in _0x4a0550){var _0x27021c,_0x2a6525;(_0x27021c=_0x4a0550['parent'])!=null&&_0x27021c[_0x591ce1(0xdb)]&&(_0x134bda?_0x5d9ff9['updateDrawings'][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0x427)][_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x591ce1(0x1de)]['push']({'drawingId':_0x4a0550['parent']['drawingId'],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x591ce1(0x21f)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0x427)][_0x591ce1(0xdb)],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b})),(_0x2a6525=_0x4a0550[_0x591ce1(0x3b7)])==null||_0x2a6525[_0x591ce1(0x1c2)](_0x2c9abe=>{const _0x52d056=_0x591ce1;_0x2c9abe[_0x52d056(0xdb)]&&(_0x134bda?_0x5d9ff9[_0x52d056(0x1e6)][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32[_0x52d056(0x3d7)],'subUnitId':_0x3fbb32[_0x52d056(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x52d056(0x1de)][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x52d056(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9['deleteDrawings'][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32[_0x52d056(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}));});}}});else{if(_0x378a13&&typeof _0x378a13==_0x26bc2c(0x3a4)){if('drawingIds'in _0x378a13&&Array[_0x26bc2c(0x322)](_0x378a13[_0x26bc2c(0x428)]))_0x378a13[_0x26bc2c(0x428)][_0x26bc2c(0x1c2)](_0x41179c=>{const _0x58cd30=_0x26bc2c;_0x134bda?_0x5d9ff9[_0x58cd30(0x1e6)][_0x58cd30(0x16c)]({'drawingId':_0x41179c,'unitId':_0x3fbb32[_0x58cd30(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x58cd30(0x1de)]['push']({'drawingId':_0x41179c,'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x58cd30(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9['deleteDrawings'][_0x58cd30(0x16c)]({'drawingId':_0x41179c,'unitId':_0x3fbb32[_0x58cd30(0x3d7)],'subUnitId':_0x3fbb32[_0x58cd30(0x3df)],'showText':_0x5b5c4b});});else{if('parent'in _0x378a13&&_0x26bc2c(0x3b7)in _0x378a13){var _0x58b843,_0x467c5c;(_0x58b843=_0x378a13[_0x26bc2c(0x427)])!=null&&_0x58b843[_0x26bc2c(0xdb)]&&(_0x134bda?_0x5d9ff9['updateDrawings'][_0x26bc2c(0x16c)]({'drawingId':_0x378a13['parent']['drawingId'],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9['insertDrawings'][_0x26bc2c(0x16c)]({'drawingId':_0x378a13[_0x26bc2c(0x427)][_0x26bc2c(0xdb)],'unitId':_0x3fbb32[_0x26bc2c(0x3d7)],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0x378a13['parent']['drawingId'],'unitId':_0x3fbb32[_0x26bc2c(0x3d7)],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b})),(_0x467c5c=_0x378a13[_0x26bc2c(0x3b7)])==null||_0x467c5c[_0x26bc2c(0x1c2)](_0x3f2af1=>{const _0x3da4bb=_0x26bc2c;_0x3f2af1[_0x3da4bb(0xdb)]&&(_0x134bda?_0x5d9ff9[_0x3da4bb(0x1e6)][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1['drawingId'],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9['insertDrawings'][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1[_0x3da4bb(0xdb)],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x3da4bb(0x21f)][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1[_0x3da4bb(0xdb)],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}));});}}}}break;}}return _0x5d9ff9;}[_0x4f2e97(0x3e3)](_0x3185b9){const _0x446dd5=_0x4f2e97;if(_0x3185b9[_0x446dd5(0x166)]<=0x1)return _0x3185b9;let _0x343e81=new Map();return _0x3185b9[_0x446dd5(0x1c2)](_0x45a7dd=>{const _0x11fb1d=_0x446dd5;let {unitId:_0x1489df,subUnitId:_0x35d6a9}=_0x45a7dd,_0x25ce69=_0x1489df+'-'+_0x35d6a9;if(!_0x343e81[_0x11fb1d(0x16b)](_0x25ce69))_0x343e81[_0x11fb1d(0x1bd)](_0x25ce69,[_0x45a7dd]);else{var _0x1c64bb;(_0x1c64bb=_0x343e81[_0x11fb1d(0xea)](_0x25ce69))==null||_0x1c64bb[_0x11fb1d(0x16c)](_0x45a7dd);}}),Array[_0x446dd5(0x367)](_0x343e81['values']())[_0x446dd5(0x1a6)](_0x743dc7=>new _0x337aad['RangeMergeUtil']()['add'](..._0x743dc7[_0x446dd5(0x1a6)](_0x472ec8=>_0x472ec8[_0x446dd5(0x3a0)]))[_0x446dd5(0xc4)]()[_0x446dd5(0x1a6)](_0x45acaf=>({'range':_0x45acaf,'unitId':_0x743dc7[0x0][_0x446dd5(0x3d7)],'subUnitId':_0x743dc7[0x0][_0x446dd5(0x3df)],'showText':_0x743dc7[0x0]['showText'],'highlightRow':_0x743dc7[0x0][_0x446dd5(0x2e5)],'highlightColumn':_0x743dc7[0x0][_0x446dd5(0x3bb)]})))['flat']();}};_0x3222ce=_0x5b67f4([_0x3d005c(0x0,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x1,_0x4f87fc[_0x4f2e97(0x1fd)]),_0x3d005c(0x2,_0x4f87fc['ISnapshotServerService']),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x337aad[_0x4f2e97(0x243)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x3faaa0[_0x4f2e97(0x422)])),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x217de1[_0x4f2e97(0x1cb)])),_0x3d005c(0x6,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x41ff64['SheetsFilterService'])),_0x3d005c(0x7,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x902a7b[_0x4f2e97(0x255)])),_0x3d005c(0x8,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x7a8479[_0x4f2e97(0xd4)])),_0x3d005c(0x9,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x16c297[_0x4f2e97(0x359)])),_0x3d005c(0xa,(0x0,_0x1467aa['Inject'])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0xb,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0xd50e28[_0x4f2e97(0x380)])),_0x3d005c(0xc,(0x0,_0x1467aa['Inject'])(_0x20ac2d))],_0x3222ce);function _0x658723(_0xcc946d){const _0x1e2c16=_0x4f2e97;return new _0x1467aa['ObjectMatrix'](_0xcc946d)[_0x1e2c16(0x338)]();}function _0x377f87(_0x589fa6){const _0x30eb82=_0x4f2e97;let _0x2eafb8=new _0x1467aa[(_0x30eb82(0x444))](_0x589fa6),_0x584d00=new _0x1467aa['ObjectMatrix']();return _0x2eafb8[_0x30eb82(0x247)]((_0x269f6b,_0x5d1235)=>{const _0x83228=_0x30eb82;_0x584d00[_0x83228(0x17c)](_0x269f6b,_0x5d1235,0x1);}),(0x0,_0x337aad[_0x30eb82(0x3c7)])(_0x584d00);}var _0x206b58=class extends _0x93fecc[_0x4f2e97(0x3be)]{constructor(_0x365026,_0x56fcd6){const _0x172c7b=_0x4f2e97;if(super(_0x365026,_0x56fcd6),_0x509a17(this,_0x172c7b(0x177),void 0x0),_0x509a17(this,'_direction',void 0x0),_0x509a17(this,'_highlight',void 0x0),_0x509a17(this,_0x172c7b(0x43a),0x4),_0x509a17(this,_0x172c7b(0x11f),void 0x0),_0x509a17(this,_0x172c7b(0x281),void 0x0),_0x509a17(this,'_isBlinkVisible',!0x0),_0x509a17(this,_0x172c7b(0x30e),''),_0x509a17(this,_0x172c7b(0x425),!0x1),_0x509a17(this,'_labelPosition',_0x172c7b(0x3f7)),_0x509a17(this,_0x172c7b(0x171),void 0x0),_0x56fcd6){var _0x3e2ef9;if(this[_0x172c7b(0x231)](_0x56fcd6),_0x56fcd6[_0x172c7b(0x403)]&&((_0x3e2ef9=_0x56fcd6[_0x172c7b(0x40a)])==null?this[_0x172c7b(0x43a)]:_0x3e2ef9)){var _0x3aff82;this[_0x172c7b(0x432)]((_0x3aff82=_0x56fcd6[_0x172c7b(0x40a)])==null?this[_0x172c7b(0x43a)]:_0x3aff82);}}this[_0x172c7b(0x270)][_0x172c7b(0x27c)](()=>this[_0x172c7b(0x231)]({'hovered':!0x0})),this[_0x172c7b(0x33e)][_0x172c7b(0x27c)](()=>this[_0x172c7b(0x231)]({'hovered':!0x1}));}['setShapeProps'](_0x1a1086){const _0x37f6b2=_0x4f2e97;var _0x1a8eda,_0x2f266e,_0x2de907,_0x562aeb,_0x76e36a,_0x108a9b;this[_0x37f6b2(0x177)]=(_0x1a8eda=_0x1a1086['color'])==null?this['_color']:_0x1a8eda,this['_direction']=(_0x2f266e=_0x1a1086[_0x37f6b2(0x412)])==null?this[_0x37f6b2(0x1ea)]:_0x2f266e,this[_0x37f6b2(0x30e)]=(_0x2de907=_0x1a1086[_0x37f6b2(0x215)])==null?this[_0x37f6b2(0x30e)]:_0x2de907,this[_0x37f6b2(0x425)]=(_0x562aeb=_0x1a1086[_0x37f6b2(0x17b)])==null?this['_hovered']:_0x562aeb,this[_0x37f6b2(0x2a9)]=(_0x76e36a=_0x1a1086[_0x37f6b2(0x311)])==null?this[_0x37f6b2(0x2a9)]:_0x76e36a,this[_0x37f6b2(0x171)]=(_0x108a9b=_0x1a1086[_0x37f6b2(0x2fb)])==null?this[_0x37f6b2(0x171)]:_0x108a9b,_0x1a1086[_0x37f6b2(0x40a)]!==void 0x0&&(this['_highlightSecond']=_0x1a1086[_0x37f6b2(0x40a)]),_0x1a1086[_0x37f6b2(0x403)]!==void 0x0&&(this[_0x37f6b2(0x2ab)]=_0x1a1086[_0x37f6b2(0x403)]),this[_0x37f6b2(0x32e)]({'width':_0x1a1086[_0x37f6b2(0x296)],'height':_0x1a1086[_0x37f6b2(0x1a1)]});}[_0x4f2e97(0x432)](_0x46b987){const _0x4faeaa=_0x4f2e97;this[_0x4faeaa(0x38b)](),this[_0x4faeaa(0x3f5)]=!0x0,this['_blinkIntervalTimer']=window[_0x4faeaa(0x20e)](()=>{const _0x287950=_0x4faeaa;this['_isBlinkVisible']=!this[_0x287950(0x3f5)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x22dfd9=_0x4faeaa;this[_0x22dfd9(0x38b)](),this[_0x22dfd9(0x3f5)]=!0x0,this[_0x22dfd9(0xfd)](!0x0);},_0x46b987*0x3e8);}['_stopBlinking'](){const _0x599615=_0x4f2e97;this['_blinkIntervalTimer']&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x599615(0x281)]=void 0x0),this[_0x599615(0x11f)]&&(window['clearTimeout'](this['_blinkTimer']),this[_0x599615(0x11f)]=void 0x0);}[_0x4f2e97(0x392)](_0x52f1b2){return!0x1;}[_0x4f2e97(0x282)](){const _0x159cea=_0x4f2e97;this[_0x159cea(0x38b)](),super[_0x159cea(0x282)]();}[_0x4f2e97(0x251)](_0x239780){const _0x4c394d=_0x4f2e97;let _0x320bdd=this['_color'];this[_0x4c394d(0x2ab)]&&!this[_0x4c394d(0x3f5)]&&(_0x320bdd=this['_getLighterColor'](this[_0x4c394d(0x177)])),_0x239780[_0x4c394d(0x394)](),_0x239780['strokeStyle']=_0x320bdd,_0x239780[_0x4c394d(0x305)]=_0x320bdd,_0x239780[_0x4c394d(0x398)]=0x4,this[_0x4c394d(0x1ea)]==='horizontal'?this[_0x4c394d(0x25e)](_0x239780):this[_0x4c394d(0x1d1)](_0x239780),_0x239780['restore'](),(this[_0x4c394d(0x425)]||this[_0x4c394d(0x171)])&&this['_name']&&(_0x239780['save'](),this[_0x4c394d(0x1ea)]===_0x4c394d(0x321)?_0x239780[_0x4c394d(0x227)](0x1,0x0,0x0,0x1,this[_0x4c394d(0x296)],this[_0x4c394d(0x2a9)]==='bottom'?0x0:-0x14):_0x239780['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c394d(0x2a9)]==='bottom'?this['height']:-0x14),this[_0x4c394d(0xcd)](_0x239780,this[_0x4c394d(0x30e)],_0x320bdd),_0x239780[_0x4c394d(0x245)]());}[_0x4f2e97(0x25e)](_0xf23d38){const _0x11d3a2=_0x4f2e97;let _0x4f83e4=this[_0x11d3a2(0x1a1)]/0x2,_0xe06525=this['width']-0xc;_0xf23d38[_0x11d3a2(0x131)](),_0xf23d38['moveTo'](0xc,_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](_0xe06525,_0x4f83e4),_0xf23d38[_0x11d3a2(0x278)](),_0xf23d38['beginPath'](),_0xf23d38[_0x11d3a2(0x2b3)](0x0,_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](0xc,_0x4f83e4-0xc/0x2),_0xf23d38['lineTo'](0xc,_0x4f83e4+0xc/0x2),_0xf23d38[_0x11d3a2(0x13e)](),_0xf23d38[_0x11d3a2(0x1ef)](),_0xf23d38[_0x11d3a2(0x131)](),_0xf23d38[_0x11d3a2(0x2b3)](this['width'],_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](this[_0x11d3a2(0x296)]-0xc,_0x4f83e4-0xc/0x2),_0xf23d38[_0x11d3a2(0x41f)](this['width']-0xc,_0x4f83e4+0xc/0x2),_0xf23d38[_0x11d3a2(0x13e)](),_0xf23d38['fill']();}['_drawVerticalArrow'](_0x17c386){const _0x47ca46=_0x4f2e97;let _0x3ca478=this[_0x47ca46(0x296)]/0x2,_0x5ed5ed=this[_0x47ca46(0x1a1)]-0xc;_0x17c386[_0x47ca46(0x131)](),_0x17c386['moveTo'](_0x3ca478,0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478,_0x5ed5ed),_0x17c386[_0x47ca46(0x278)](),_0x17c386['beginPath'](),_0x17c386[_0x47ca46(0x2b3)](_0x3ca478,0x0),_0x17c386[_0x47ca46(0x41f)](_0x3ca478-0xc/0x2,0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478+0xc/0x2,0xc),_0x17c386['closePath'](),_0x17c386[_0x47ca46(0x1ef)](),_0x17c386[_0x47ca46(0x131)](),_0x17c386[_0x47ca46(0x2b3)](_0x3ca478,this[_0x47ca46(0x1a1)]),_0x17c386['lineTo'](_0x3ca478-0xc/0x2,this[_0x47ca46(0x1a1)]-0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478+0xc/0x2,this[_0x47ca46(0x1a1)]-0xc),_0x17c386[_0x47ca46(0x13e)](),_0x17c386[_0x47ca46(0x1ef)]();}[_0x4f2e97(0xcd)](_0x51e611,_0x1f6cc1,_0x4c0f3d){const _0x367017=_0x4f2e97;_0x51e611[_0x367017(0x14f)]=_0x367017(0x2e6);let _0xd680b9=_0x51e611[_0x367017(0x161)](_0x1f6cc1)[_0x367017(0x296)],_0x3bbb70=Math[_0x367017(0x36a)](_0xd680b9+0x8,0xc8);if(_0x51e611[_0x367017(0x305)]=_0x4c0f3d,_0x51e611[_0x367017(0x131)](),_0x51e611[_0x367017(0x2b3)](0x4,0x0),_0x51e611[_0x367017(0x41f)](_0x3bbb70-0x4,0x0),_0x51e611[_0x367017(0x346)](_0x3bbb70-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x51e611['lineTo'](_0x3bbb70,0x10),_0x51e611['arc'](_0x3bbb70-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x51e611['lineTo'](0x0,0x14),_0x51e611[_0x367017(0x41f)](0x0,0x4),_0x51e611[_0x367017(0x346)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51e611[_0x367017(0x13e)](),_0x51e611[_0x367017(0x1ef)](),_0x51e611[_0x367017(0x305)]=_0x367017(0x119),_0xd680b9>0xc0){let _0x4936cb='',_0x1364b1=0x0;for(let _0x547f of _0x1f6cc1){let _0x5de511=_0x51e611[_0x367017(0x161)](_0x547f)['width'];if(_0x1364b1+_0x5de511<=0xc0-_0x51e611[_0x367017(0x161)](_0x367017(0x3fc))[_0x367017(0x296)])_0x4936cb+=_0x547f,_0x1364b1+=_0x5de511;else{_0x4936cb+='...';break;}}_0x51e611[_0x367017(0x204)](_0x4936cb,0x4,0xf);}else _0x51e611[_0x367017(0x204)](_0x1f6cc1,0x4,0xf);}['_getLighterColor'](_0x44c7d9){const _0x5bad3e=_0x4f2e97;return _0x44c7d9[_0x5bad3e(0x3b6)]('#')?'rgba('+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x1,0x3),0x10)+',\x20'+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x3,0x5),0x10)+',\x20'+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x5,0x7),0x10)+_0x5bad3e(0x37d):_0x44c7d9[_0x5bad3e(0x3b6)](_0x5bad3e(0x2dd))?_0x44c7d9[_0x5bad3e(0x14b)](/[\d.]+\)$/g,'0.2)'):_0x44c7d9[_0x5bad3e(0x3b6)]('rgb')?_0x44c7d9['replace'](_0x5bad3e(0x213),_0x5bad3e(0x2dd))[_0x5bad3e(0x14b)](')',_0x5bad3e(0x37d)):_0x44c7d9;}};let _0x5ab053=class extends _0x1467aa['Disposable']{constructor(_0x3b7727,_0x2f0de9,_0x2f24c5,_0x47cd30,_0x2edcfd,_0x2c2fec,_0x1825cc,_0x298043){const _0x18366f=_0x4f2e97;super(),this[_0x18366f(0x324)]=_0x3b7727,this['_historyManagerService']=_0x2f0de9,this[_0x18366f(0x2fe)]=_0x2f24c5,this[_0x18366f(0x43f)]=_0x47cd30,this[_0x18366f(0x1ee)]=_0x2edcfd,this[_0x18366f(0xe8)]=_0x2c2fec,this['_commandService']=_0x1825cc,this[_0x18366f(0x293)]=_0x298043,_0x509a17(this,_0x18366f(0x235),new Set()),_0x509a17(this,_0x18366f(0x155),new Set()),_0x509a17(this,_0x18366f(0x27a),new Set()),_0x509a17(this,'_drawingDiffs',new Set()),_0x509a17(this,_0x18366f(0x203),null),this[_0x18366f(0x29d)]();}['_init'](){const _0x11d672=_0x4f2e97;this[_0x11d672(0x1eb)](),this[_0x11d672(0x1fb)]();}['_initRender'](){const _0x4f939d=_0x4f2e97;this[_0x4f939d(0x285)]((0x0,_0x197ec0[_0x4f939d(0x3f8)])([this['_historyManagerService'][_0x4f939d(0x2e2)],this[_0x4f939d(0xe8)]['currentSkeleton$']])[_0x4f939d(0x229)]((0x0,_0x197ec0['switchMap'])(([_0x364273,_0xc7f5e5])=>{const _0x53d4a4=_0x4f939d;if(_0x364273==='loaded'&&_0xc7f5e5){let _0x19af7a=_0xc7f5e5[_0x53d4a4(0x2a1)];return this['_versionDiffService'][_0x53d4a4(0x40f)][_0x53d4a4(0x229)]((0x0,_0x197ec0['map'])(_0x27c7c9=>_0x27c7c9[_0x53d4a4(0x3c2)][_0x53d4a4(0x166)]===0x0||_0x27c7c9[_0x53d4a4(0x3c2)][_0x53d4a4(0x3e5)](_0x19af7a)?{'skeleton':_0xc7f5e5,'versionDiff':_0x27c7c9,'sheetID':_0x19af7a}:{'skeleton':_0xc7f5e5,'versionDiff':null}));}return(0x0,_0x197ec0['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0x4f939d(0x3a9)](({skeleton:_0x506450,versionDiff:_0x2a8733,sheetID:_0x398d23})=>{const _0x36fa0a=_0x4f939d;this[_0x36fa0a(0x168)](),_0x506450&&_0x2a8733&&_0x398d23&&this[_0x36fa0a(0x25c)](_0x506450,_0x2a8733,_0x398d23);})),this[_0x4f939d(0x285)](this['_sheetSkeletonManagerService'][_0x4f939d(0x274)][_0x4f939d(0x3a9)](_0x2422dc=>{const _0x125286=_0x4f939d;if(_0x2422dc==null)return;let {skeleton:_0x1f8beb}=_0x2422dc,{scene:_0x50ab58}=this['_context'];_0x50ab58[_0x125286(0x211)][_0x125286(0x27c)]((0x0,_0x1467aa['debounce'])(_0x193058=>{const _0x43427c=_0x125286;var _0x49a818,_0x179c1e;let {offsetX:_0x24baf7,offsetY:_0x53500f}=_0x193058,{x:_0x13e5e5,y:_0x10b660}=_0x50ab58[_0x43427c(0x389)](_0x93fecc[_0x43427c(0x100)][_0x43427c(0x126)]([_0x24baf7,_0x53500f])),{scaleX:_0x24f380,scaleY:_0x3c1fbf}=_0x50ab58[_0x43427c(0x42c)](),_0x375392=_0x50ab58['getViewport'](_0x93fecc[_0x43427c(0x418)]['VIEW_MAIN']),_0x52b366=_0x50ab58[_0x43427c(0xc1)](_0x93fecc['Vector2'][_0x43427c(0x126)]([_0x13e5e5,_0x10b660]),_0x375392),_0x114653=_0x1f8beb[_0x43427c(0x125)](_0x24baf7,_0x53500f,_0x24f380,_0x3c1fbf,_0x52b366);((_0x49a818=this[_0x43427c(0x203)])==null?void 0x0:_0x49a818[_0x43427c(0x3d1)])===_0x114653['column']&&((_0x179c1e=this[_0x43427c(0x203)])==null?void 0x0:_0x179c1e[_0x43427c(0x250)])===_0x114653[_0x43427c(0x250)]||this['_diffs']['forEach'](_0x303fa9=>{const _0x114d58=_0x43427c;_0x303fa9[_0x114d58(0x116)]||_0x303fa9[_0x114d58(0x220)](_0x114653);});},0x64));}));}[_0x4f2e97(0x1fb)](){const _0x854900=_0x4f2e97;this['disposeWithMe'](this[_0x854900(0x436)][_0x854900(0x2e2)][_0x854900(0x3a9)](_0x29ec99=>{const _0x1dba22=_0x854900;let _0x1b007f=new _0x1467aa['DisposableCollection']();return _0x29ec99===_0x1dba22(0x415)&&(_0x1b007f[_0x1dba22(0x282)](),_0x1b007f[_0x1dba22(0xb4)](this['_versionDiffService']['currentVersionDiff$'][_0x1dba22(0x3a9)](_0x5214c0=>{const _0x5d2054=_0x1dba22;this['_updateWorksheetVisibility'](_0x5214c0[_0x5d2054(0x3c2)]),_0x5214c0[_0x5d2054(0x199)]&&this['_commandService'][_0x5d2054(0x217)](_0x337aad[_0x5d2054(0x197)]['id'],{'unitId':this['_context'][_0x5d2054(0x3d7)],'subUnitId':_0x5214c0[_0x5d2054(0x199)]});}))),()=>_0x1b007f['dispose']();}));}[_0x4f2e97(0x183)](_0x49b973){const _0xaf718d=_0x4f2e97;let _0x5439b7=this[_0xaf718d(0x43f)][_0xaf718d(0xbb)](this[_0xaf718d(0x324)][_0xaf718d(0x3d7)],_0x1467aa['UniverInstanceType'][_0xaf718d(0x407)]);if(!_0x5439b7)return;let _0x5d11bb=_0x5439b7[_0xaf718d(0x420)]();if(_0x49b973['length']===0x0){_0x5d11bb['forEach'](_0x5cfa8c=>{const _0x2c8756=_0xaf718d;_0x5cfa8c[_0x2c8756(0x170)]()&&this[_0x2c8756(0x29e)]['executeCommand'](_0x337aad[_0x2c8756(0x2dc)]['id'],{'unitId':this[_0x2c8756(0x324)][_0x2c8756(0x3d7)],'subUnitId':_0x5cfa8c[_0x2c8756(0xde)](),'hidden':0x0});});return;}_0x5d11bb[_0xaf718d(0x1c2)](_0x4cdf22=>{const _0x5363b1=_0xaf718d;let _0x5a4236=_0x4cdf22['getSheetId'](),_0x21b908=_0x49b973[_0x5363b1(0x3e5)](_0x5a4236),_0x4baeba=_0x4cdf22[_0x5363b1(0x170)]();_0x21b908&&_0x4baeba?this[_0x5363b1(0x29e)][_0x5363b1(0x217)](_0x337aad[_0x5363b1(0x2dc)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x5a4236,'hidden':0x0}):!_0x21b908&&!_0x4baeba&&this[_0x5363b1(0x29e)][_0x5363b1(0x217)](_0x337aad[_0x5363b1(0x2dc)]['id'],{'unitId':this['_context'][_0x5363b1(0x3d7)],'subUnitId':_0x5a4236,'hidden':0x1});});}[_0x4f2e97(0x25c)](_0x2b4973,_0x22ee38,_0x4089c4){const _0x32bb09=_0x4f2e97;this['_diffs']['forEach'](_0x2a9d9d=>{const _0x711b23=_0x352b;_0x2a9d9d[_0x711b23(0xfd)]();});let _0x515785=this['generateDiffMarks'](_0x22ee38,_0x4089c4);this[_0x32bb09(0x235)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x235f89=>_0x235f89 instanceof _0x3ff568[_0x32bb09(0x30a)])),this[_0x32bb09(0x155)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x25dc2d=>_0x25dc2d instanceof _0x93fecc[_0x32bb09(0x20c)])),this[_0x32bb09(0x27a)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x444262=>_0x444262 instanceof _0x206b58)),_0x515785['length']>0x0&&this[_0x32bb09(0x22b)](_0x515785[0x0],this['_context']['scene']);}[_0x4f2e97(0x3fb)](_0x3dd186,_0x5f53f7){const _0x283908=_0x4f2e97;let _0x44814f=this[_0x283908(0xe8)][_0x283908(0x3e0)]();if(!_0x44814f)return[];let {scene:_0x3e7a24}=this[_0x283908(0x324)],_0x552215=[],_0x496cc1=_0x1ed970=>{const _0x3f97e4=_0x283908;if(!_0x1ed970)return new Map();let _0x307bb8=new Map();return _0x1ed970[_0x3f97e4(0x1c2)]((_0x57fb41,_0x3ae8fd)=>{const _0x471519=_0x3f97e4;let _0x327c61=_0x57fb41[_0x471519(0xe2)](_0x1f3874=>_0x1f3874[_0x471519(0x3df)]===_0x5f53f7);_0x327c61[_0x471519(0x166)]>0x0&&_0x307bb8[_0x471519(0x1bd)](_0x3ae8fd,_0x327c61);}),_0x307bb8;};return this[_0x283908(0x36e)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186['insertCellRanges']),_0x283908(0xbf),_0x552215),this['_renderCellRanges'](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x2c8)]),_0x283908(0x127),_0x552215),this[_0x283908(0x36e)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x355)]),_0x283908(0x1cd),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x33d)]),_0x283908(0xbf),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x10b)]),_0x283908(0x127),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x1cf)]),_0x283908(0x1cd),_0x552215),this[_0x283908(0x350)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x207)]),_0x283908(0x2fc),_0x552215),this['_renderArrowRanges'](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x2ff)]),'horizontal',_0x552215),_0x3dd186[_0x283908(0x1de)]&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186[_0x283908(0x1de)],'rgba(46,125,50,0.5)',_0x552215),_0x3dd186[_0x283908(0x21f)]&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186[_0x283908(0x21f)],_0x283908(0x127),_0x552215),_0x3dd186['updateDrawings']&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186['updateDrawings'],_0x283908(0x1cd),_0x552215),this[_0x283908(0x319)](_0x552215),_0x3e7a24[_0x283908(0x361)](_0x552215,0x14),_0x552215;}[_0x4f2e97(0x123)](){const _0x57a770=_0x4f2e97;this['_diffs'][_0x57a770(0x1c2)](_0x40670f=>{_0x40670f['hide']();}),this['_borderDiffs'][_0x57a770(0x1c2)](_0x9f11e5=>{const _0x19d9c6=_0x57a770;_0x9f11e5[_0x19d9c6(0x160)]();}),this[_0x57a770(0x27a)]['forEach'](_0x366c56=>{const _0x3579f4=_0x57a770;_0x366c56[_0x3579f4(0x160)]();});}['showDiffMarks'](){const _0x376043=_0x4f2e97;this['_diffs'][_0x376043(0x1c2)](_0x1ba715=>{const _0x161922=_0x376043;_0x1ba715[_0x161922(0x1a9)]();}),this['_borderDiffs']['forEach'](_0x17a3be=>{const _0x25ee6f=_0x376043;_0x17a3be[_0x25ee6f(0x1a9)]();}),this[_0x376043(0x27a)]['forEach'](_0x3f9fb6=>{_0x3f9fb6['show']();});}['removeDiffMarks'](){const _0xd9c6ec=_0x4f2e97;this[_0xd9c6ec(0x168)]();}[_0x4f2e97(0x180)](_0x3b88d7,_0x53af67){const _0x5087fb=_0x4f2e97;this[_0x5087fb(0x22b)](_0x3b88d7,_0x53af67);}[_0x4f2e97(0x36e)](_0x48352e,_0xb75246,_0xb9595a,_0x244d5b,_0x4f03c5){const _0x35c979=_0x4f2e97;_0xb9595a[_0x35c979(0x1c2)]((_0x5a32bd,_0x4c20f4)=>{const _0x27877f=_0x35c979;_0x5a32bd[_0x27877f(0x1c2)](_0x126aea=>{const _0x14f4bc=_0x27877f;var _0x2c05c4;let {range:_0x38bbdc,subUnitId:_0x26e232,unitId:_0x9b6151,showText:_0x19805d='',highlightColumn:_0x360767,highlightRow:_0x356dfa}=_0x126aea,{startColumn:_0x3c5981,startRow:_0x57d606,endColumn:_0x4daeca,endRow:_0x4e0a69}=_0x38bbdc,_0x1f6672=(0x0,_0x30725c[_0x14f4bc(0x146)])(_0x57d606,_0x3c5981,_0x48352e,_0xb75246),_0x3cb410=(0x0,_0x30725c[_0x14f4bc(0x146)])(_0x4e0a69,_0x4daeca,_0x48352e,_0xb75246),{columnHeaderHeightAndMarginTop:_0x5537d1}=_0xb75246,{startX:_0x35e80e,startY:_0x1df362}=_0x1f6672,{endX:_0x31ef03,endY:_0x3a52a2}=_0x3cb410,_0x15e469=_0xb75246['rowHeaderWidth'],_0x44a3b1=_0xb75246[_0x14f4bc(0x14d)];_0x356dfa&&(_0x35e80e-=_0x15e469),_0x360767&&(_0x1df362-=_0x44a3b1);let _0x17d523=_0x31ef03-_0x35e80e,_0x438517=_0x3a52a2-_0x1df362,_0x19ed96={'labelPosition':_0x1df362-_0x5537d1>=0x14?_0x14f4bc(0x3f7):'bottom','sheetID':_0x26e232,'range':_0x38bbdc,'color':_0x244d5b,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x244d5b,'name':((_0x2c05c4=this[_0x14f4bc(0x436)]['getMember'](_0x4c20f4))==null?void 0x0:_0x2c05c4[_0x14f4bc(0x215)])+'\x20'+_0x19805d||_0x19805d,'selection':_0x9b6151+'-'+_0x26e232+'-'+_0x38bbdc[_0x14f4bc(0x292)]+'-'+_0x38bbdc[_0x14f4bc(0x3ae)]+'-'+_0x38bbdc[_0x14f4bc(0x3fd)]+'-'+_0x38bbdc[_0x14f4bc(0x31a)],'left':_0x35e80e,'top':_0x1df362,'width':_0x17d523,'height':_0x438517,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x4f03c5['push'](new _0x3ff568['SheetCollabCursorShape']('',_0x19ed96));});});}[_0x4f2e97(0x34d)](_0x2cf26c,_0x3d4bd1,_0x33ed39,_0x2b4753,_0x524058){_0x33ed39['forEach']((_0x493268,_0x5cf477)=>{const _0x13adb3=_0x352b;_0x493268[_0x13adb3(0x1c2)](_0x552d4b=>{const _0x3dd8a8=_0x13adb3;var _0x540826;let {range:_0x160cfb,subUnitId:_0x38988f,unitId:_0x5a07a2,showText:_0x1fb87f=''}=_0x552d4b,{startColumn:_0x338a20,startRow:_0x458457,endColumn:_0xcd2f5b,endRow:_0x1d0c9f}=_0x160cfb,_0x597f2a=(0x0,_0x30725c[_0x3dd8a8(0x146)])(_0x458457,_0x338a20,_0x2cf26c,_0x3d4bd1),_0x1e7a8f=(0x0,_0x30725c['getCoordByCell'])(_0x1d0c9f,_0xcd2f5b,_0x2cf26c,_0x3d4bd1),{columnHeaderHeightAndMarginTop:_0x15cc31}=_0x3d4bd1,{startX:_0x20920f,startY:_0x49b22f}=_0x597f2a,{endX:_0x409911,endY:_0x2f6d37}=_0x1e7a8f,_0x1c32c0=_0x409911-_0x20920f,_0x1c4398=_0x2f6d37-_0x49b22f,_0x51e10e={'labelPosition':_0x49b22f-_0x15cc31>=0x14?_0x3dd8a8(0x3f7):_0x3dd8a8(0x17f),'sheetID':_0x38988f,'range':_0x160cfb,'color':_0x2b4753,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x3dd8a8(0x1ca),'name':((_0x540826=this[_0x3dd8a8(0x436)][_0x3dd8a8(0x446)](_0x5cf477))==null?void 0x0:_0x540826[_0x3dd8a8(0x215)])+'\x20'+_0x1fb87f||_0x1fb87f,'selection':_0x5a07a2+'-'+_0x38988f+'-'+_0x160cfb[_0x3dd8a8(0x292)]+'-'+_0x160cfb[_0x3dd8a8(0x3ae)]+'-'+_0x160cfb[_0x3dd8a8(0x3fd)]+'-'+_0x160cfb[_0x3dd8a8(0x31a)],'left':_0x20920f-0xc/0x2,'top':_0x49b22f-0xc/0x2,'width':_0x1c32c0,'height':_0x1c4398,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x524058[_0x3dd8a8(0x16c)](new _0x3ff568[(_0x3dd8a8(0x30a))]('',_0x51e10e));});});}[_0x4f2e97(0x350)](_0x411601,_0x5bf610,_0x400acf,_0x2bab7a,_0xe8a472){const _0x432498=_0x4f2e97;let _0x3ad204=_0x5bf610[_0x432498(0x10d)],_0x3efb10=_0x5bf610[_0x432498(0x14d)];_0x400acf['forEach']((_0x4deb98,_0x235089)=>{_0x4deb98['forEach'](_0x59d6ee=>{const _0x5374d0=_0x352b;let {range:_0x49159c,showText:_0x1295b3=''}=_0x59d6ee,{startColumn:_0x49f7d2,startRow:_0x5024de,endColumn:_0x58fd1a,endRow:_0x4e59b6}=_0x49159c,_0x52cc76=(0x0,_0x30725c[_0x5374d0(0x146)])(_0x5024de,_0x49f7d2,_0x411601,_0x5bf610),_0x10bf5b=(0x0,_0x30725c[_0x5374d0(0x146)])(_0x4e59b6,_0x58fd1a,_0x411601,_0x5bf610),{startX:_0x4ad631,startY:_0x3ff4dc}=_0x52cc76,{endX:_0x36d8af,endY:_0x3ded82}=_0x10bf5b,{columnHeaderHeightAndMarginTop:_0x41cfb1}=_0x5bf610,_0x5263b7;if(_0x2bab7a===_0x5374d0(0x321)){var _0x57f546;_0x5263b7=new _0x206b58('',{'color':_0x5374d0(0x1cd),'direction':'horizontal','left':_0x4ad631,'top':0x2,'width':_0x36d8af-_0x4ad631,'height':_0x3efb10-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x57f546=this[_0x5374d0(0x436)]['getMember'](_0x235089))==null?void 0x0:_0x57f546[_0x5374d0(0x215)])+'\x20'+_0x1295b3||_0x1295b3,'labelPosition':_0x3ff4dc-_0x41cfb1>=0x14?_0x5374d0(0x3f7):_0x5374d0(0x17f)}),_0xe8a472[_0x5374d0(0x16c)](_0x5263b7);}else{var _0x16c1e7;let _0x32792c=_0x3ded82-_0x3ff4dc;_0x5263b7=new _0x206b58('',{'color':'rgba(21,101,192,0.5)','direction':_0x5374d0(0x2fc),'left':0x2,'top':_0x3ff4dc,'width':_0x3ad204-0x4,'height':_0x32792c,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x16c1e7=this['_historyManagerService'][_0x5374d0(0x446)](_0x235089))==null?void 0x0:_0x16c1e7[_0x5374d0(0x215)])+'\x20'+_0x1295b3||_0x1295b3,'labelPosition':_0x5374d0(0x3f7)}),_0xe8a472[_0x5374d0(0x16c)](_0x5263b7);}});});}[_0x4f2e97(0x2a6)](_0x25916f,_0x3d41cb,_0x580bcc,_0x43d9c1){const _0x5a4140=_0x4f2e97;let _0x3f07e8=this[_0x5a4140(0xe8)][_0x5a4140(0x3e0)]();if(!_0x3f07e8)return;let {columnHeaderHeightAndMarginTop:_0x37493c}=_0x3f07e8;_0x3d41cb[_0x5a4140(0x1c2)]((_0x131e54,_0x3b679c)=>{const _0x459aa3=_0x5a4140;_0x131e54[_0x459aa3(0x1c2)](_0x14c713=>{const _0x203dc8=_0x459aa3;var _0x13a0ce;let {drawingId:_0x13ce36,unitId:_0x2fea77,subUnitId:_0xa7028f,showText:_0x42641e=''}=_0x14c713,_0x4a9ec0=this[_0x203dc8(0x293)][_0x203dc8(0x24b)]({'unitId':_0x2fea77,'subUnitId':_0xa7028f,'drawingId':_0x13ce36});if(!_0x4a9ec0||!_0x4a9ec0[_0x203dc8(0x227)])return;let {left:_0x54d7a9=0x0,top:_0x39c051=0x0,width:_0x244ade,height:_0x3ed3a6}=_0x4a9ec0['transform'],_0x87ca09=new _0x3ff568[(_0x203dc8(0x30a))]('',{'labelPosition':_0x39c051-_0x37493c>=0x14?_0x203dc8(0x3f7):_0x203dc8(0x17f),'sheetID':_0xa7028f,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x580bcc,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x13a0ce=this[_0x203dc8(0x436)][_0x203dc8(0x446)](_0x3b679c))==null?void 0x0:_0x13a0ce[_0x203dc8(0x215)])+'\x20'+_0x42641e||_0x42641e,'selection':_0x2fea77+'-'+_0xa7028f+_0x203dc8(0x254)+_0x13ce36,'left':_0x54d7a9-0xc/0x2,'top':_0x39c051-0xc/0x2,'width':_0x244ade,'height':_0x3ed3a6,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x87ca09[_0x203dc8(0x270)][_0x203dc8(0x27c)](()=>{const _0x32a04c=_0x203dc8;this['_findOverlappingShapes'](_0x87ca09,_0x43d9c1)[_0x32a04c(0x1c2)](_0x1029b9=>{const _0x1f72c3=_0x32a04c;_0x1029b9 instanceof _0x3ff568[_0x1f72c3(0x30a)]&&_0x1029b9[_0x1f72c3(0x231)]({'hovered':!0x0});});}),_0x87ca09[_0x203dc8(0x33e)][_0x203dc8(0x27c)](()=>{this['_findOverlappingShapes'](_0x87ca09,_0x43d9c1)['forEach'](_0x9f0c2e=>{const _0x3ba170=_0x352b;_0x9f0c2e instanceof _0x3ff568['SheetCollabCursorShape']&&_0x9f0c2e[_0x3ba170(0x231)]({'hovered':!0x1});});}),_0x43d9c1[_0x203dc8(0x16c)](_0x87ca09);});});}[_0x4f2e97(0x168)](){const _0xc3435e=_0x4f2e97;var _0xa806a2,_0x6c4450,_0x44a407,_0x1f812c;(_0xa806a2=this[_0xc3435e(0x235)])==null||_0xa806a2[_0xc3435e(0x1c2)](_0x59bd93=>_0x59bd93['dispose']()),(_0x6c4450=this[_0xc3435e(0x155)])==null||_0x6c4450[_0xc3435e(0x1c2)](_0x41e36a=>_0x41e36a[_0xc3435e(0x282)]()),(_0x44a407=this['_arrowDiffs'])==null||_0x44a407[_0xc3435e(0x1c2)](_0xa11f80=>_0xa11f80[_0xc3435e(0x282)]()),(_0x1f812c=this[_0xc3435e(0x2ca)])==null||_0x1f812c['forEach'](_0x310357=>_0x310357[_0xc3435e(0x282)]());}[_0x4f2e97(0x319)](_0x51e59c){const _0x4a02d5=_0x4f2e97;let _0x253206=_0x51e59c[_0x4a02d5(0xe2)](_0x5208e7=>_0x5208e7 instanceof _0x3ff568['SheetCollabCursorShape']);if(_0x253206[_0x4a02d5(0x166)]===0x0)return;let _0xc5dfa8=[],_0x34d5a8=new Set();_0x253206[_0x4a02d5(0x1c2)](_0x3e590c=>{const _0x3ca5fe=_0x4a02d5;if(_0x34d5a8[_0x3ca5fe(0x16b)](_0x3e590c))return;let _0x375808=_0x3e590c[_0x3ca5fe(0xc7)]||0x0,_0x2758c3=_0x3e590c['top']||0x0,_0x35cfac=_0x375808+(_0x3e590c[_0x3ca5fe(0x296)]||0x0),_0xe1634c=_0x2758c3,_0x42527d=[_0x3e590c];_0x34d5a8[_0x3ca5fe(0xb4)](_0x3e590c),_0x253206[_0x3ca5fe(0x1c2)](_0x39d6f9=>{const _0x28c77f=_0x3ca5fe;if(_0x34d5a8['has'](_0x39d6f9))return;let _0x475d96=_0x39d6f9[_0x28c77f(0xc7)]||0x0,_0x1b3fa0=_0x39d6f9['top']||0x0,_0x2aa2c5=_0x475d96+(_0x39d6f9[_0x28c77f(0x296)]||0x0),_0x217ef4=_0x1b3fa0;Math[_0x28c77f(0x1e4)](_0x35cfac-_0x2aa2c5)<=0xa&&Math[_0x28c77f(0x1e4)](_0xe1634c-_0x217ef4)<=0xa&&(_0x42527d[_0x28c77f(0x16c)](_0x39d6f9),_0x34d5a8[_0x28c77f(0xb4)](_0x39d6f9));}),_0x42527d['length']>0x1&&_0xc5dfa8[_0x3ca5fe(0x16c)](_0x42527d);}),_0xc5dfa8[_0x4a02d5(0x1c2)](_0x58c612=>{const _0x3bee6b=_0x4a02d5;_0x58c612[_0x3bee6b(0x36b)]((_0x37c593,_0x4c9a36)=>(_0x37c593[_0x3bee6b(0x3f7)]||0x0)-(_0x4c9a36[_0x3bee6b(0x3f7)]||0x0)),_0x58c612[_0x3bee6b(0x1c2)]((_0x36150d,_0x38cd3b)=>{const _0x735783=_0x3bee6b;let _0x161a49=_0x38cd3b*0x16;_0x36150d[_0x735783(0x3f1)](_0x161a49);});});}[_0x4f2e97(0x378)](_0x1627c3,_0x218b7b){const _0x2de2e4=_0x4f2e97;let _0x3347a3=_0x1627c3['left']||0x0,_0x370ca8=_0x1627c3[_0x2de2e4(0x3f7)]||0x0,_0x2c3241=_0x1627c3['width']||0x0,_0x5126f0=_0x1627c3[_0x2de2e4(0x1a1)]||0x0,_0x560d06=_0x3347a3+_0x2c3241,_0x53a12c=_0x370ca8+_0x5126f0;return _0x218b7b['filter'](_0x541876=>{const _0x536e33=_0x2de2e4;let _0x3dabc9=_0x541876['left']||0x0,_0x41aef9=_0x541876[_0x536e33(0x3f7)]||0x0,_0x2a4c21=_0x541876[_0x536e33(0x296)]||0x0,_0x4320c5=_0x541876['height']||0x0,_0x5a6ce6=_0x3dabc9+_0x2a4c21,_0x5508d8=_0x41aef9+_0x4320c5;return!(_0x560d06<=_0x3dabc9||_0x3347a3>=_0x5a6ce6||_0x53a12c<=_0x41aef9||_0x370ca8>=_0x5508d8);});}[_0x4f2e97(0x22b)](_0x57598d,_0x523361){const _0x9804ed=_0x4f2e97;let _0x101617=_0x523361[_0x9804ed(0x24d)](_0x93fecc[_0x9804ed(0x418)][_0x9804ed(0xb5)]);if(!_0x101617)return;let _0x48f72f=_0x57598d[_0x9804ed(0xc7)]||0x0,_0xcf5d7d=_0x57598d['top']||0x0,_0x5a2274=_0x57598d[_0x9804ed(0x296)]||0x0,_0x42cb70=_0x57598d[_0x9804ed(0x1a1)]||0x0,_0x21d769=_0x101617[_0x9804ed(0x296)]||0x0,_0x5ba4c6=_0x101617[_0x9804ed(0x1a1)]||0x0,_0xdfa299=_0x101617[_0x9804ed(0xba)]||0x0,_0x59a2fb=_0x101617['viewportScrollY']||0x0,_0xe82c7b=_0xdfa299,_0x504146=_0x59a2fb,_0x4b43fd=_0xdfa299+_0x21d769,_0x31f895=_0x59a2fb+_0x5ba4c6;if(_0x48f72f>=_0xe82c7b&&_0xcf5d7d>=_0x504146&&_0x48f72f+_0x5a2274<=_0x4b43fd&&_0xcf5d7d+_0x42cb70<=_0x31f895)return;let _0x14621c=Math[_0x9804ed(0x366)](0x0,_0x48f72f-_0x21d769/0x2+_0x5a2274/0x2),_0x254504=Math['max'](0x0,_0xcf5d7d-_0x5ba4c6/0x2+_0x42cb70/0x2);_0x101617[_0x9804ed(0x232)]({'viewportScrollX':_0x14621c,'viewportScrollY':_0x254504});}[_0x4f2e97(0xe1)](){const _0x557f5b=_0x4f2e97;return(0x0,_0x30725c[_0x557f5b(0x348)])(this[_0x557f5b(0x43f)],this['_renderManagerService']);}};_0x5ab053=_0x5b67f4([_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x3222ce)),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x1c7)]),_0x3d005c(0x4,_0x93fecc['IRenderManagerService']),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x30725c['SheetSkeletonManagerService'])),_0x3d005c(0x6,_0x1467aa['ICommandService']),_0x3d005c(0x7,_0x366565[_0x4f2e97(0x3d6)])],_0x5ab053);var _0x274a62=_0x4f2e97(0x28a),_0x38d248=_0x4f2e97(0x396);let _0x436e91=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x579a81){const _0xd65c59=_0x4f2e97;super(),this[_0xd65c59(0xfc)]=_0x579a81,this[_0xd65c59(0x29d)]();}[_0x4f2e97(0x29d)](){const _0x4ac670=_0x4f2e97;this['disposeWithMe'](this[_0x4ac670(0xfc)][_0x4ac670(0x12b)][_0x4ac670(0x3a9)](_0x44c6ad=>{const _0x753c50=_0x4ac670;_0x44c6ad!=null&&_0x44c6ad[_0x753c50(0x1a9)]&&this['_cellEditorManagerService'][_0x753c50(0x10e)]({'show':!0x1});}));}};_0x436e91=_0x5b67f4([_0x3d005c(0x0,_0x30725c[_0x4f2e97(0x2d9)])],_0x436e91);function _0x1e6a75(){const _0x4ffe97=_0x4f2e97;let _0x23bb66=(0x0,_0x13a253[_0x4ffe97(0x3c5)])(_0x45e9f0),_0x2aa896=(0x0,_0x13a253[_0x4ffe97(0x3c5)])(_0x1467aa['LocaleService']),_0x18c072=(0x0,_0x13a253[_0x4ffe97(0x269)])(_0x23bb66[_0x4ffe97(0x12a)]),_0x40e8f1=(0x0,_0x6b906[_0x4ffe97(0x328)])(()=>_0x18c072?_0x23bb66[_0x4ffe97(0x132)]():!0x1,[_0x23bb66,_0x18c072]),_0x1a6f3b=(0x0,_0x6b906[_0x4ffe97(0x1a7)])(()=>{const _0x213f60=_0x4ffe97;_0x23bb66['status']=_0x213f60(0x368);},[_0x23bb66]),_0x3cf9d9=(0x0,_0x6b906['useCallback'])(()=>{const _0x51b144=_0x4ffe97;_0x23bb66[_0x51b144(0x142)]();},[_0x23bb66]);return(0x0,_0x300d66['jsxs'])(_0x4ffe97(0x421),{'className':_0x4ffe97(0x43e),'children':[(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x4ffe97(0x36f)],{'variant':_0x4ffe97(0x387),'onClick':_0x1a6f3b,'children':_0x2aa896['t'](_0x4ffe97(0x3c0))}),_0x40e8f1?(0x0,_0x300d66['jsx'])(_0x4d33e2['Button'],{'variant':_0x4ffe97(0x387),'onClick':_0x3cf9d9,'children':_0x2aa896['t'](_0x4ffe97(0x1c6))}):(0x0,_0x300d66[_0x4ffe97(0x3cc)])(_0x4ffe97(0x421),{'className':'univer-w-10'})]});}let _0x577951=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x1644eb,_0x1c0e91,_0x27c4cf,_0x5bfc93,_0x3bb8cb,_0x34a8af,_0x4bd6ca){const _0x1d662d=_0x4f2e97;super(),this['_permissionService']=_0x1644eb,this[_0x1d662d(0x404)]=_0x1c0e91,this[_0x1d662d(0x42e)]=_0x27c4cf,this[_0x1d662d(0x163)]=_0x5bfc93,this['_historyManagerService']=_0x3bb8cb,this[_0x1d662d(0x16e)]=_0x34a8af,this[_0x1d662d(0x13f)]=_0x4bd6ca,this['_init']();}[_0x4f2e97(0x29d)](){const _0x2f0d0a=_0x4f2e97;this[_0x2f0d0a(0x285)](this['_historyManagerService']['currentVersion$']['subscribe'](_0x4a3b50=>{const _0x3a2b37=_0x2f0d0a;_0x4a3b50&&this['_historyManagerService'][_0x3a2b37(0x2e8)](_0x4a3b50);})),this[_0x2f0d0a(0x285)](this[_0x2f0d0a(0x3af)][_0x2f0d0a(0x2d5)][_0x2f0d0a(0x3a9)](_0x1abb3e=>{const _0x29af82=_0x2f0d0a;let _0x3048c5=this[_0x29af82(0x436)][_0x29af82(0x3d7)];_0x3048c5&&(_0x1abb3e[_0x29af82(0x277)]===_0x318c18['UnitAction']['Edit']&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x173))](_0x3048c5)['id'],!0x1),_0x1abb3e['subType']===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x34f)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x3e2))](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)]['MoveSheet']&&_0x1abb3e['value']===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x3ca))](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x24a)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookHideSheetPermission'](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x2f4)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookEditablePermission'](_0x3048c5)['id'],!0x1),_0x1abb3e['subType']===_0x318c18[_0x29af82(0x44a)]['FloatImg']&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this['_permissionService'][_0x29af82(0x1a3)](new _0x337aad['WorkbookEditablePermission'](_0x3048c5)['id'],!0x1));})),this[_0x2f0d0a(0xe7)]();let _0x16a2d9;this['disposeWithMe'](this['_historyManagerService'][_0x2f0d0a(0x2e2)]['subscribe'](_0x29b06c=>{const _0x33db54=_0x2f0d0a;this[_0x33db54(0x42e)]['removeAll'](),_0x16a2d9==null||_0x16a2d9[_0x33db54(0x282)](),_0x29b06c===_0x33db54(0xfa)&&(this['_historyManagerService'][_0x33db54(0x189)](),_0x16a2d9=this['_messageService'][_0x33db54(0x1a9)]({'type':_0x4d33e2['MessageType'][_0x33db54(0x32d)],'content':this[_0x33db54(0x163)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x29b06c===_0x33db54(0x415)&&this[_0x33db54(0x436)][_0x33db54(0x1ae)]();}));}[_0x4f2e97(0xe7)](){const _0x294328=_0x4f2e97;var _0x2a34b7;(_0x2a34b7=this['_configService'][_0x294328(0x15c)](_0x294328(0x117)))!=null&&_0x2a34b7['historyPanelHidden']||this[_0x294328(0x285)](this['_uiPartsService'][_0x294328(0x1db)](_0x13a253['BuiltInUIPart'][_0x294328(0x445)],()=>(0x0,_0x13a253[_0x294328(0x363)])(_0x1e6a75,this[_0x294328(0x16e)])));}};_0x577951=_0x5b67f4([_0x3d005c(0x0,_0x1467aa[_0x4f2e97(0x327)]),_0x3d005c(0x1,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x2,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x5,(0x0,_0x1467aa['Inject'])(_0x1467aa['Injector'])),_0x3d005c(0x6,_0x1467aa[_0x4f2e97(0x3b0)])],_0x577951);function _0x155274({ref:_0x3d770d,..._0x3da8a8}){const _0x38b38c=_0x4f2e97;let {icon:_0x5753ae,id:_0x5ed281,className:_0x5ae3a7,extend:_0x58a09c,..._0x421fc8}=_0x3da8a8,_0x2f30c7=(_0x38b38c(0xd1)+_0x5ed281+'\x20'+(_0x5ae3a7||''))[_0x38b38c(0x210)](),_0x1e3b5f=(0x0,_0x6b906['useRef'])('_'+_0xd26aa3());return _0x4d6bad(_0x5753ae,''+_0x5ed281,{'defIds':_0x5753ae[_0x38b38c(0x2ea)],'idSuffix':_0x1e3b5f[_0x38b38c(0x3b8)]},{'ref':_0x3d770d,'className':_0x2f30c7,..._0x421fc8},_0x58a09c);}function _0x4d6bad(_0x5e5db8,_0x4bf1a8,_0x32db45,_0xe702ba,_0x1c6bc9){const _0x2a15f5=_0x4f2e97;return(0x0,_0x6b906[_0x2a15f5(0x298)])(_0x5e5db8['tag'],{'key':_0x4bf1a8,..._0x142768(_0x5e5db8,_0x32db45,_0x1c6bc9),..._0xe702ba},(_0x32898c(_0x5e5db8,_0x32db45)['children']||[])['map']((_0x6a077b,_0x1a9fb7)=>_0x4d6bad(_0x6a077b,_0x4bf1a8+'-'+_0x5e5db8['tag']+'-'+_0x1a9fb7,_0x32db45,void 0x0,_0x1c6bc9)));}function _0x142768(_0x284f7b,_0x53ba01,_0x2b52d8){const _0x373720=_0x4f2e97;let _0x2ab595={..._0x284f7b['attrs']};_0x2b52d8!=null&&_0x2b52d8[_0x373720(0x31f)]&&_0x2ab595[_0x373720(0x1ef)]===_0x373720(0x31f)&&(_0x2ab595[_0x373720(0x1ef)]=_0x2b52d8[_0x373720(0x31f)]),_0x284f7b[_0x373720(0x205)]===_0x373720(0x169)&&_0x2ab595['id']&&(_0x2ab595['id']+=_0x53ba01['idSuffix']),Object[_0x373720(0x23a)](_0x2ab595)['forEach'](([_0x141be7,_0x445871])=>{const _0x7249ef=_0x373720;_0x141be7===_0x7249ef(0x169)&&typeof _0x445871==_0x7249ef(0x2f1)&&(_0x2ab595[_0x141be7]=_0x445871[_0x7249ef(0x14b)](/url\(#(.*)\)/,'url(#$1'+_0x53ba01[_0x7249ef(0x1e0)]+')'));});let {defIds:_0x487ac9}=_0x53ba01;return!_0x487ac9||_0x487ac9[_0x373720(0x166)]===0x0?_0x2ab595:(_0x284f7b['tag']===_0x373720(0x26f)&&_0x2ab595[_0x373720(0x19c)]&&(_0x2ab595['xlink:href']+=_0x53ba01[_0x373720(0x1e0)]),Object['entries'](_0x2ab595)[_0x373720(0x1c2)](([_0x50c6ab,_0x32b321])=>{const _0x118443=_0x373720;typeof _0x32b321==_0x118443(0x2f1)&&(_0x2ab595[_0x50c6ab]=_0x32b321[_0x118443(0x14b)](/url\(#(.*)\)/,_0x118443(0x3de)+_0x53ba01[_0x118443(0x1e0)]+')'));}),_0x2ab595);}function _0x32898c(_0x276923,_0x16a2a3){const _0x3643e4=_0x4f2e97;var _0x18d26b;let {defIds:_0x43d104}=_0x16a2a3;return!_0x43d104||_0x43d104[_0x3643e4(0x166)]===0x0?_0x276923:_0x276923[_0x3643e4(0x205)]===_0x3643e4(0xfb)&&(_0x18d26b=_0x276923[_0x3643e4(0x3b7)])!=null&&_0x18d26b[_0x3643e4(0x166)]?{..._0x276923,'children':_0x276923[_0x3643e4(0x3b7)][_0x3643e4(0x1a6)](_0x10193f=>typeof _0x10193f[_0x3643e4(0x37a)]['id']=='string'&&_0x43d104&&_0x43d104[_0x3643e4(0x3e5)](_0x10193f[_0x3643e4(0x37a)]['id'])?{..._0x10193f,'attrs':{..._0x10193f[_0x3643e4(0x37a)],'id':_0x10193f[_0x3643e4(0x37a)]['id']+_0x16a2a3[_0x3643e4(0x1e0)]}}:_0x10193f)}:_0x276923;}function _0xd26aa3(){const _0x20846d=_0x4f2e97;return Math[_0x20846d(0x181)]()[_0x20846d(0x1a0)](0x24)[_0x20846d(0x3c1)](0x2,0x8);}_0x155274[_0x4f2e97(0x2b1)]=_0x4f2e97(0xf1);let _0x23a5ab={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':'currentColor','d':_0x4f2e97(0x262)}}]},_0xaade35=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x1a0ada,_0x330979){const _0x19ddb9=_0x4f2e97;return(0x0,_0x6b906[_0x19ddb9(0x298)])(_0x155274,Object[_0x19ddb9(0x1f9)]({},_0x1a0ada,{'id':_0x19ddb9(0x32b),'ref':_0x330979,'icon':_0x23a5ab}));});_0xaade35[_0x4f2e97(0x2b1)]=_0x4f2e97(0x216);let _0x5b22e9={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4f2e97(0x114),'fillRule':_0x4f2e97(0x14a),'clipRule':'evenodd'}}]},_0x4516bc=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x47974b,_0x25bfea){const _0x5b010b=_0x4f2e97;return(0x0,_0x6b906[_0x5b010b(0x298)])(_0x155274,Object[_0x5b010b(0x1f9)]({},_0x47974b,{'id':_0x5b010b(0x1bf),'ref':_0x25bfea,'icon':_0x5b22e9}));});_0x4516bc[_0x4f2e97(0x2b1)]=_0x4f2e97(0x1e8);let _0x2507d8={'tag':'svg','attrs':{'xmlns':_0x4f2e97(0x391),'fill':'none','viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':_0x4f2e97(0x165),'d':_0x4f2e97(0x1f2),'fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}}]},_0x331053=(0x0,_0x6b906['forwardRef'])(function(_0x18c560,_0x2a6130){const _0x48692c=_0x4f2e97;return(0x0,_0x6b906[_0x48692c(0x298)])(_0x155274,Object[_0x48692c(0x1f9)]({},_0x18c560,{'id':_0x48692c(0x439),'ref':_0x2a6130,'icon':_0x2507d8}));});_0x331053[_0x4f2e97(0x2b1)]=_0x4f2e97(0x329);let _0x4d4b26={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4f2e97(0x20a),'fillRule':'evenodd','clipRule':_0x4f2e97(0x14a)}}]},_0x1b4ee5=(0x0,_0x6b906['forwardRef'])(function(_0xc0b6de,_0x1a6b32){const _0x5f30a8=_0x4f2e97;return(0x0,_0x6b906[_0x5f30a8(0x298)])(_0x155274,Object[_0x5f30a8(0x1f9)]({},_0xc0b6de,{'id':_0x5f30a8(0x30b),'ref':_0x1a6b32,'icon':_0x4d4b26}));});_0x1b4ee5[_0x4f2e97(0x2b1)]='MoreRightIcon';let _0x20d17b={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0x39a),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'g','attrs':{'fill':_0x4f2e97(0x165),'clipPath':_0x4f2e97(0x148)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'d':_0x4f2e97(0x156)}},{'tag':_0x4f2e97(0x2ec),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x4f2e97(0x14a),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4f2e97(0x1bc),'attrs':{'id':_0x4f2e97(0x1b3)},'children':[{'tag':_0x4f2e97(0x29a),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x4f2e97(0x1b3)]},_0x4cf651=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x1c52c1,_0x22a915){const _0x92e931=_0x4f2e97;return(0x0,_0x6b906[_0x92e931(0x298)])(_0x155274,Object[_0x92e931(0x1f9)]({},_0x1c52c1,{'id':_0x92e931(0x32a),'ref':_0x22a915,'icon':_0x20d17b}));});_0x4cf651['displayName']=_0x4f2e97(0x3d5);let _0x4f3e09={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x4f2e97(0x3d9),'fillOpacity':0.2,'fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}},{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':_0x4f2e97(0x260),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}}]},_0x40ada8=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x30c28e,_0x5afb08){const _0x48a14e=_0x4f2e97;return(0x0,_0x6b906[_0x48a14e(0x298)])(_0x155274,Object[_0x48a14e(0x1f9)]({},_0x30c28e,{'id':_0x48a14e(0x3db),'ref':_0x5afb08,'icon':_0x4f3e09}));});_0x40ada8[_0x4f2e97(0x2b1)]=_0x4f2e97(0x31d);function _0x39ced5(_0x37ceff){const _0x1f19fe=_0x4f2e97;var _0x256d4f;let {item:_0x433ca0,isNewest:_0x2b1090}=_0x37ceff,_0x299cab=(0x0,_0x13a253['useDependency'])(_0x45e9f0),_0xd4baa2=(0x0,_0x13a253[_0x1f19fe(0x3c5)])(_0x3222ce),_0x3ba856=(0x0,_0x13a253['useDependency'])(_0x1467aa[_0x1f19fe(0x345)]),_0x18ffec=(0x0,_0x13a253[_0x1f19fe(0x269)])(_0x299cab['currentVersion$'],'',!0x0)===_0x433ca0['id'],_0x547e96=_0x3ba856[_0x1f19fe(0x295)](),_0x410de7=_0xe2fba1(_0x433ca0[_0x1f19fe(0x26e)],_0x547e96),_0x454b9d=!_0x2b1090&&_0x299cab[_0x1f19fe(0x1e3)],_0x22c6b6=(0x0,_0x6b906['useCallback'])(async()=>{const _0x3703fc=_0x1f19fe;_0x299cab[_0x3703fc(0x2a3)]!==_0x3703fc(0xfa)&&(_0x299cab[_0x3703fc(0x365)]=_0x433ca0['id'],await _0xd4baa2[_0x3703fc(0x32f)](_0x433ca0['id']));},[_0x299cab,_0xd4baa2,_0x433ca0['id']]),_0x51971f=(0x0,_0x6b906[_0x1f19fe(0x1a7)])(_0x5e3fef=>{const _0x13aaef=_0x1f19fe;_0x5e3fef[_0x13aaef(0x237)](),_0x299cab[_0x13aaef(0x142)](_0x433ca0['id']);},[_0x299cab,_0x433ca0['id']]),_0x1fe43a=((_0x256d4f=_0x433ca0[_0x1f19fe(0x35f)])==null?void 0x0:_0x256d4f[_0x1f19fe(0xe2)](Boolean)[_0x1f19fe(0x3dd)](',\x20'))||_0x433ca0[_0x1f19fe(0x1f6)]||_0x3ba856['t'](_0x1f19fe(0x113));return(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':(0x0,_0x4d33e2['clsx'])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x18ffec&&_0x1f19fe(0xc2)),'onClick':_0x22c6b6,'children':[(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x300d66[_0x1f19fe(0x10a)])('div',{'className':_0x1f19fe(0x3fa),'children':[(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0xd2),'children':_0x1fe43a}),_0x2b1090&&(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x182),'children':_0x3ba856['t'](_0x1f19fe(0x1dd))})]}),(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':_0x1f19fe(0x299),'children':[(0x0,_0x300d66['jsx'])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x115),'children':_0x410de7[_0x1f19fe(0x26e)]}),(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x2bd),'children':_0x4e0d1b(_0x433ca0,_0x3ba856)})]})]}),_0x454b9d&&(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x4d33e2[_0x1f19fe(0x36f)],{'size':_0x1f19fe(0x318),'variant':_0x1f19fe(0x147),'onClick':_0x51971f,'children':_0x3ba856['t'](_0x1f19fe(0x1c6))})]});}function _0x3bc086(){const _0x2b3f5c=_0x4f2e97;let _0x43e1fa=(0x0,_0x13a253['useDependency'])(_0x45e9f0),_0x25d707=(0x0,_0x13a253['useDependency'])(_0x1467aa['LocaleService']),_0x2af589=(0x0,_0x13a253[_0x2b3f5c(0x269)])(_0x43e1fa[_0x2b3f5c(0x1e2)]),_0x499433=(0x0,_0x13a253[_0x2b3f5c(0x269)])(_0x43e1fa[_0x2b3f5c(0x3cf)]),_0x2ac1de=(0x0,_0x6b906[_0x2b3f5c(0x1f4)])(null),[_0x1062a7,_0x7591ab]=(0x0,_0x6b906[_0x2b3f5c(0x3ce)])(!0x0);(0x0,_0x6b906[_0x2b3f5c(0x449)])(()=>{const _0x522709=_0x2b3f5c;let _0x3da5f3=_0x2ac1de[_0x522709(0x3b8)];if(!_0x3da5f3||!_0x1062a7)return;let _0xfa24b9,_0x352d71=()=>{clearTimeout(_0xfa24b9),_0xfa24b9=setTimeout(()=>{let {scrollTop:_0x39154f,scrollHeight:_0x4e3a1a,clientHeight:_0x152c73}=_0x3da5f3;_0x39154f+_0x152c73>=_0x4e3a1a-0xa&&_0x43e1fa['loadMoreVersions']();},0x64);};return _0x3da5f3['addEventListener'](_0x522709(0x22d),_0x352d71),()=>{const _0x381a0f=_0x522709;clearTimeout(_0xfa24b9),_0x3da5f3[_0x381a0f(0x34c)](_0x381a0f(0x22d),_0x352d71);};},[_0x43e1fa,_0x1062a7]);let _0x3ec19d=_0xb6c8b7(_0x2af589==null?[]:_0x2af589);return(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'className':(0x0,_0x4d33e2[_0x2b3f5c(0x1c3)])('univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950',_0x1062a7?_0x2b3f5c(0x430):'univer-h-12'),'children':[(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'className':_0x2b3f5c(0x341),'onClick':()=>_0x7591ab(_0x370bf9=>!_0x370bf9),'children':[(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),!_0x1062a7&&(0x0,_0x300d66['jsx'])('span',{'className':'univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','children':_0x25d707['t'](_0x2b3f5c(0x1b5))})]}),_0x1062a7&&(0x0,_0x300d66['jsx'])(_0x300d66[_0x2b3f5c(0x2f2)],{'children':_0x2af589?(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'ref':_0x2ac1de,'className':'univer-flex-1\x20univer-overflow-y-auto','children':[_0x3ec19d[_0x2b3f5c(0x1a6)](_0x5ae38e=>(0x0,_0x300d66['jsxs'])(_0x2b3f5c(0x421),{'children':[(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x1d6711(_0x5ae38e[_0x2b3f5c(0x1a5)],_0x25d707[_0x2b3f5c(0x295)]())}),_0x5ae38e[_0x2b3f5c(0x120)][_0x2b3f5c(0x1a6)]((_0x2328bd,_0x45b99c)=>(0x0,_0x300d66['jsx'])(_0x39ced5,{'item':_0x2328bd,'isNewest':_0x3ec19d[0x0]===_0x5ae38e&&_0x45b99c===0x0},_0x2328bd['id']))]},_0x5ae38e['dateString'])),_0x499433&&(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':_0x2b3f5c(0x2fa),'children':(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x40ada8,{'className':_0x2b3f5c(0x3bc)})})]}):(0x0,_0x300d66['jsx'])('div',{'className':_0x2b3f5c(0x19b),'children':(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x40ada8,{'className':'univer-animate-spin\x20univer-text-gray-400'})})})]})});}let _0x26d727=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x4c44a2,_0x1c7465){const _0x2ff2e7=_0x4f2e97;super(),this['_uiPartsService']=_0x4c44a2,this[_0x2ff2e7(0x16e)]=_0x1c7465,this['disposeWithMe'](this[_0x2ff2e7(0x404)][_0x2ff2e7(0x1db)](_0x13a253['BuiltInUIPart'][_0x2ff2e7(0x256)],()=>(0x0,_0x13a253['connectInjector'])(_0x3bc086,this[_0x2ff2e7(0x16e)])));}};_0x26d727=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x1,(0x0,_0x1467aa['Inject'])(_0x1467aa['Injector']))],_0x26d727);var _0x335e84=class extends _0x1467aa['Disposable']{constructor(){const _0xdf670a=_0x4f2e97;super(),_0x509a17(this,_0xdf670a(0x1ba),new _0x197ec0['Subject']());}['open'](){const _0x2cb007=_0x4f2e97;return(0x0,_0x1467aa[_0x2cb007(0x134)])(()=>{});}[_0x4f2e97(0x342)](){}[_0x4f2e97(0x19a)](_0x3f23f1){}[_0x4f2e97(0x20f)](){const _0x389046=_0x4f2e97;return this[_0x389046(0x1ba)][_0x389046(0x416)]();}};let _0x3c0ceb=class extends _0x1467aa['Plugin']{constructor(_0x28165a=_0x2b70cf,_0x27be0d,_0x4c7354,_0x152803){const _0x29ca7b=_0x4f2e97;super(),this[_0x29ca7b(0x1f0)]=_0x28165a,this[_0x29ca7b(0x16e)]=_0x27be0d,this['_renderManagerService']=_0x4c7354,this[_0x29ca7b(0x13f)]=_0x152803;let {..._0x221997}=(0x0,_0x1467aa['merge'])({},_0x2b70cf,this['_config']);this[_0x29ca7b(0x13f)][_0x29ca7b(0x3ac)](_0x4a92fb,_0x221997);}[_0x4f2e97(0xc5)](){const _0xd16195=_0x4f2e97;[[_0x45e9f0],[_0x577951],[_0x3222ce],[_0x20ac2d],[_0x26d727],[_0x436e91],[_0x4f87fc[_0xd16195(0x129)],{'useClass':_0x5a3d94['SnapshotServerOverHTTPService']}],[_0x13a253[_0xd16195(0x307)],{'useClass':_0x335e84}],[_0x366565['IImageIoService'],{'useClass':_0x5a3d94[_0xd16195(0x3fe)]}]][_0xd16195(0x1c2)](_0x2d1b94=>this[_0xd16195(0x16e)][_0xd16195(0xb4)](_0x2d1b94)),this['_injector'][_0xd16195(0xea)](_0x577951);}[_0x4f2e97(0x2b5)](){const _0xe83a5a=_0x4f2e97;[[_0x5ab053]][_0xe83a5a(0x1c2)](_0x477da1=>{const _0x1dce22=_0xe83a5a;this[_0x1dce22(0x285)](this[_0x1dce22(0x1ee)]['registerRenderModule'](_0x1467aa[_0x1dce22(0x34a)]['UNIVER_SHEET'],_0x477da1));}),this[_0xe83a5a(0x16e)]['get'](_0x436e91),this[_0xe83a5a(0x16e)][_0xe83a5a(0xea)](_0x26d727);}[_0x4f2e97(0x289)](){const _0x3246f9=_0x4f2e97;this['_injector'][_0x3246f9(0xea)](_0x3222ce);}};_0x509a17(_0x3c0ceb,_0x4f2e97(0x153),_0x4f2e97(0x395)),_0x509a17(_0x3c0ceb,_0x4f2e97(0x2db),_0x274a62),_0x509a17(_0x3c0ceb,_0x4f2e97(0x2f7),_0x38d248),_0x3c0ceb=_0x5b67f4([(0x0,_0x1467aa[_0x4f2e97(0x1ec)])(_0x30725c[_0x4f2e97(0x2d7)],_0x4b91c0[_0x4f2e97(0x1b2)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x2,_0x93fecc['IRenderManagerService']),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)])],_0x3c0ceb);function _0x1bbc9d(){const _0x5390ab=_0x4f2e97;let _0x43f6e6=(0x0,_0x13a253[_0x5390ab(0x3c5)])(_0x45e9f0),_0x7fc1b4=(0x0,_0x13a253[_0x5390ab(0x3c5)])(_0x1467aa[_0x5390ab(0x345)]),_0x220056=(0x0,_0x13a253['useObservable'])(_0x43f6e6[_0x5390ab(0x12a)]),_0x3170e3=(0x0,_0x6b906[_0x5390ab(0x328)])(()=>_0x220056?_0x43f6e6[_0x5390ab(0x132)]():!0x1,[_0x43f6e6,_0x220056]),_0x2da5f0=(0x0,_0x6b906[_0x5390ab(0x1a7)])(()=>{const _0x928391=_0x5390ab;_0x43f6e6['status']=_0x928391(0x368);},[_0x43f6e6]),_0x33e37a=(0x0,_0x6b906['useCallback'])(()=>{const _0x38131e=_0x5390ab;_0x43f6e6[_0x38131e(0x142)]();},[_0x43f6e6]);return(0x0,_0x300d66[_0x5390ab(0x10a)])(_0x5390ab(0x421),{'className':(0x0,_0x4d33e2[_0x5390ab(0x1c3)])(_0x5390ab(0x20d),_0x4d33e2[_0x5390ab(0x385)]),'children':[(0x0,_0x300d66['jsx'])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x5390ab(0xf7),'onClick':_0x2da5f0,'children':(0x0,_0x300d66['jsx'])(_0xaade35,{'className':_0x5390ab(0x317)})}),(0x0,_0x300d66[_0x5390ab(0x3cc)])(_0x5390ab(0x421),{'className':_0x5390ab(0x19b),'children':_0x3170e3&&(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x5390ab(0x36f)],{'variant':_0x5390ab(0x147),'onClick':_0x33e37a,'children':_0x7fc1b4['t'](_0x5390ab(0x1c6))})})]});}let _0x1682e8=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x314430,_0x95eb11,_0x53552c,_0x1b3735,_0x3a8cd9,_0x1fbb71,_0x539271){const _0x519ffb=_0x4f2e97;super(),this['_permissionService']=_0x314430,this[_0x519ffb(0x404)]=_0x95eb11,this[_0x519ffb(0x42e)]=_0x53552c,this[_0x519ffb(0x163)]=_0x1b3735,this[_0x519ffb(0x436)]=_0x3a8cd9,this[_0x519ffb(0x16e)]=_0x1fbb71,this['_configService']=_0x539271,this['_init']();}[_0x4f2e97(0x29d)](){const _0x3bd6d8=_0x4f2e97;this['disposeWithMe'](this[_0x3bd6d8(0x436)]['currentVersion$']['subscribe'](_0x29345f=>{const _0x449db9=_0x3bd6d8;_0x29345f&&this[_0x449db9(0x436)][_0x449db9(0x2e8)](_0x29345f);})),this[_0x3bd6d8(0x285)](this[_0x3bd6d8(0x3af)]['permissionPointUpdate$']['subscribe'](_0x1c8a2a=>{const _0x5df71c=_0x3bd6d8;let _0x390baf=this[_0x5df71c(0x436)][_0x5df71c(0x3d7)];_0x390baf&&(_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['Edit']&&_0x1c8a2a['value']===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['RenameSheet']&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookRenameSheetPermission'](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['MoveSheet']&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad[(_0x5df71c(0x3ca))](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)][_0x5df71c(0x24a)]&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this['_permissionService'][_0x5df71c(0x1a3)](new _0x337aad['WorkbookHideSheetPermission'](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18['UnitAction'][_0x5df71c(0x2f4)]&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this['_permissionService'][_0x5df71c(0x1a3)](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1),_0x1c8a2a['subType']===_0x318c18[_0x5df71c(0x44a)][_0x5df71c(0x10f)]&&_0x1c8a2a['value']===!0x0&&this[_0x5df71c(0x3af)][_0x5df71c(0x1a3)](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1));})),this[_0x3bd6d8(0xe7)]();let _0x1a7690;this[_0x3bd6d8(0x285)](this['_historyManagerService']['loadingState$'][_0x3bd6d8(0x3a9)](_0x4d0c1d=>{const _0x45074e=_0x3bd6d8;this[_0x45074e(0x42e)][_0x45074e(0x370)](),_0x1a7690==null||_0x1a7690['dispose'](),_0x4d0c1d==='loading'&&(this[_0x45074e(0x436)][_0x45074e(0x189)](),_0x1a7690=this[_0x45074e(0x42e)][_0x45074e(0x1a9)]({'type':_0x4d33e2['MessageType'][_0x45074e(0x32d)],'content':this[_0x45074e(0x163)]['t'](_0x45074e(0x353)),'duration':0x3e8})),_0x4d0c1d===_0x45074e(0x415)&&this[_0x45074e(0x436)][_0x45074e(0x1ae)]();}));}[_0x4f2e97(0xe7)](){const _0x48f834=_0x4f2e97;var _0x372152;(_0x372152=this['_configService'][_0x48f834(0x15c)]('edit-history-viewer.config'))!=null&&_0x372152['historyPanelHidden']||this['disposeWithMe'](this[_0x48f834(0x404)]['registerComponent'](_0x13a253[_0x48f834(0x27b)][_0x48f834(0x445)],()=>(0x0,_0x13a253['connectInjector'])(_0x1bbc9d,this[_0x48f834(0x16e)])));}};_0x1682e8=_0x5b67f4([_0x3d005c(0x0,_0x1467aa[_0x4f2e97(0x327)]),_0x3d005c(0x1,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x2,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x6,_0x1467aa[_0x4f2e97(0x3b0)])],_0x1682e8);let _0xfe1ce4=[{'key':0x0,'labelKey':_0x4f2e97(0x3e7)},{'key':0x1,'labelKey':'edit-history-viewer.panel.filterUser'},{'key':0x2,'labelKey':_0x4f2e97(0x187)}];function _0x2fad69(_0x2d5ceb){const _0x5405ac=_0x4f2e97;let {className:_0x3d312e}=_0x2d5ceb;return(0x0,_0x300d66[_0x5405ac(0x10a)])(_0x5405ac(0x434),{'className':_0x3d312e,'fill':'none','height':'20','viewBox':_0x5405ac(0x3b9),'width':'20','xmlns':_0x5405ac(0x391),'children':[(0x0,_0x300d66['jsx'])('path',{'d':_0x5405ac(0x400),'fill':'url(#paint0_linear_236_415)'}),(0x0,_0x300d66[_0x5405ac(0x3cc)])(_0x5405ac(0xfb),{'children':(0x0,_0x300d66[_0x5405ac(0x10a)])(_0x5405ac(0x31e),{'gradientUnits':_0x5405ac(0x15d),'id':'paint0_linear_236_415','x1':'1.66418','x2':_0x5405ac(0x309),'y1':_0x5405ac(0x275),'y2':'6.77028','children':[(0x0,_0x300d66['jsx'])(_0x5405ac(0x30d),{'offset':'0.01','stopColor':_0x5405ac(0x3cd)}),(0x0,_0x300d66['jsx'])(_0x5405ac(0x30d),{'offset':_0x5405ac(0x386),'stopColor':_0x5405ac(0x297)}),(0x0,_0x300d66['jsx'])('stop',{'offset':_0x5405ac(0x442),'stopColor':'#2793FF'}),(0x0,_0x300d66[_0x5405ac(0x3cc)])(_0x5405ac(0x30d),{'offset':'1','stopColor':_0x5405ac(0x448)})]})})]});}function _0x9ced87(_0x12b91a){const _0x4e39bf=_0x4f2e97;let {value:_0x2e4fa4,onChange:_0x30defe}=_0x12b91a,_0x565dbe=(0x0,_0x13a253[_0x4e39bf(0x3c5)])(_0x1467aa['LocaleService']);return(0x0,_0x300d66[_0x4e39bf(0x3cc)])('div',{'className':'univer-relative\x20univer-h-8','children':(0x0,_0x300d66[_0x4e39bf(0x3cc)])(_0x4d33e2[_0x4e39bf(0x3ba)],{'items':_0xfe1ce4[_0x4e39bf(0x1a6)](_0x47b401=>({'label':_0x565dbe['t'](_0x47b401[_0x4e39bf(0x2d2)]),'value':_0x47b401['key']})),'value':_0x2e4fa4,'onChange':_0x30defe})});}function _0x146164(){const _0x1535c1=_0x4f2e97;var _0x347b3f,_0x276aee;let _0x5b09ff=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x45e9f0),_0x3bd0ea=(0x0,_0x13a253['useDependency'])(_0x20ac2d),_0x13b05f=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x3222ce),_0x4e086d=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x1467aa[_0x1535c1(0x3b0)]),_0x1029bc=(0x0,_0x13a253[_0x1535c1(0x269)])(_0x5b09ff['versions$']),_0x5d8174=(0x0,_0x13a253[_0x1535c1(0x269)])(_0x5b09ff[_0x1535c1(0x21e)],[]),[_0x293d27,_0x281c2c]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(new Set()),[_0x194416,_0x146026]=(0x0,_0x6b906['useState'])(new Map()),[_0x208b88,_0x3d4467]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(new Set()),[_0x109749,_0x4ba3b7]=(0x0,_0x6b906['useState'])(0x0),_0x6096d1=(0x0,_0x13a253['useDependency'])(_0x1467aa[_0x1535c1(0x345)]),_0x572efb=(0x0,_0x6b906[_0x1535c1(0x1f4)])(null),[_0x59ab87,_0x5ad6da]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(!0x1),[_0x4dec8a,_0x5a6996]=(0x0,_0x6b906['useState'])([]),_0x104d3d=(_0x347b3f=(_0x276aee=_0x4e086d[_0x1535c1(0x15c)]('edit-history-viewer.config'))==null?void 0x0:_0x276aee[_0x1535c1(0x2e4)])==null?!0x1:_0x347b3f,_0x4f0771=_0xb6c8b7(_0x1029bc),[_0xedf64a,_0x355be1]=(0x0,_0x6b906[_0x1535c1(0x3ce)])([]),_0x6c22bf=(0x0,_0x6b906[_0x1535c1(0x328)])(()=>_0x5d8174[_0x1535c1(0x1a6)](_0x3b6043=>({'key':_0x3b6043[_0x1535c1(0x3dc)],'label':_0x3b6043[_0x1535c1(0x215)]})),[_0x5d8174]);(0x0,_0x6b906[_0x1535c1(0x449)])(()=>{_0x5b09ff['loadHistoryCreatorList']();},[]);let _0x35c395=(0x0,_0x6b906[_0x1535c1(0x1a7)])(_0x2bf542=>{const _0x5177ab=_0x1535c1;_0x355be1([]),_0x4ba3b7(_0x2bf542),_0x5b09ff[_0x5177ab(0x3d7)]&&_0x5b09ff[_0x5177ab(0x424)](_0x5b09ff['unitId'],{'origin':_0x2bf542});},[_0x5b09ff]);(0x0,_0x6b906[_0x1535c1(0x449)])(()=>{const _0x328e8b=_0x1535c1;let _0xd10daf=_0x572efb[_0x328e8b(0x3b8)];if(!_0xd10daf)return;let _0x418381,_0xa9d07=_0x2319bb=>{clearTimeout(_0x418381),_0x418381=setTimeout(()=>{const _0x568bfa=_0x352b;let {target:_0x42f2d3}=_0x2319bb;if(_0x42f2d3){let {scrollTop:_0x45232f,scrollHeight:_0x1cca58,clientHeight:_0x50fe2d}=_0x42f2d3;_0x45232f+_0x50fe2d>=_0x1cca58-0x5&&_0x5b09ff[_0x568bfa(0x23f)]();}},0x64);};return _0xd10daf['addEventListener']('scroll',_0xa9d07),()=>{clearTimeout(_0x418381),_0xd10daf['removeEventListener']('scroll',_0xa9d07);};},[_0x5b09ff]);let _0x445646=(0x0,_0x6b906['useCallback'])(async _0x3a4c72=>{const _0x5c007a=_0x1535c1;let _0x1a52ee=_0x3a4c72['id'];if(_0x293d27[_0x5c007a(0x16b)](_0x1a52ee)){_0x281c2c(_0x3e759a=>{const _0xa1c45e=_0x5c007a;let _0x5222e9=new Set(_0x3e759a);return _0x5222e9[_0xa1c45e(0x280)](_0x1a52ee),_0x5222e9;});return;}if(_0x194416[_0x5c007a(0x16b)](_0x1a52ee)){_0x281c2c(_0x3bb3d6=>new Set(_0x3bb3d6)[_0x5c007a(0xb4)](_0x1a52ee));return;}_0x3d4467(_0x4a9eb3=>new Set(_0x4a9eb3)['add'](_0x1a52ee));try{var _0x4142c6;let _0x4cec3c=_0x5b09ff['unitId'];if(!_0x4cec3c)return;let _0x575ffc=await _0x3bd0ea[_0x5c007a(0x2b8)]({},{'unitId':_0x4cec3c,'startRevision':_0x3a4c72['startRev'],'endRevision':_0x3a4c72[_0x5c007a(0x222)]});if(((_0x4142c6=_0x575ffc[_0x5c007a(0x208)])==null?void 0x0:_0x4142c6[_0x5c007a(0x2be)])===0x1&&_0x575ffc['changesets']){let _0x873899=_0x575ffc[_0x5c007a(0x397)]['reverse']()['map'](_0x3a1550=>{const _0x59e322=_0x5c007a;var _0x411fa0,_0x3bc101;let _0x5d655f=(0x0,_0x4f87fc[_0x59e322(0x3e9)])(_0x3a1550),_0x157b9e=_0x3a1550[_0x59e322(0x2cd)]||_0x5d655f['userID'],_0x111e5a=(_0x411fa0=_0x575ffc[_0x59e322(0x35f)])==null?void 0x0:_0x411fa0[_0x157b9e],_0x5a6f91=((_0x3bc101=_0x3a1550['mutations'])==null?void 0x0:_0x3bc101['map'](_0x1b2c60=>_0x1b2c60['id']))||[];return{'id':_0x1a52ee+'-detail-'+_0x3a1550[_0x59e322(0xb7)],'unitId':_0x3a1550['unitID'],'startRev':_0x3a1550[_0x59e322(0xb7)],'endRev':_0x3a1550['revision'],'time':_0x3a1550[_0x59e322(0xb8)]?_0x3a1550[_0x59e322(0xb8)]*0x3e8:void 0x0,'user':(_0x111e5a==null?void 0x0:_0x111e5a[_0x59e322(0x215)])||'','users':[(_0x111e5a==null?void 0x0:_0x111e5a[_0x59e322(0x215)])||''],'commands':_0x5a6f91,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x1a52ee,'additionalFields':_0x3a1550[_0x59e322(0x1a2)]};});_0x146026(_0x1e04ac=>new Map(_0x1e04ac)[_0x5c007a(0x1bd)](_0x1a52ee,_0x873899)),_0x873899[_0x5c007a(0x1c2)](_0x122436=>{const _0x1f6b05=_0x5c007a;_0x5b09ff[_0x1f6b05(0x431)](_0x122436);});for(let _0x519193 of _0x873899)await _0x13b05f[_0x5c007a(0x32f)](_0x519193['id']);_0x281c2c(_0x26caaf=>new Set(_0x26caaf)[_0x5c007a(0xb4)](_0x1a52ee));}}catch(_0x40c343){console[_0x5c007a(0x208)](_0x5c007a(0x239),_0x40c343);}finally{_0x3d4467(_0x580bea=>{const _0x26cedd=_0x5c007a;let _0x42b0c7=new Set(_0x580bea);return _0x42b0c7[_0x26cedd(0x280)](_0x1a52ee),_0x42b0c7;});}},[_0x293d27,_0x194416,_0x5b09ff,_0x3bd0ea,_0x13b05f]);return _0x1029bc?(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'ref':_0x572efb,'className':_0x1535c1(0x37b),'children':[_0x104d3d&&(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'className':_0x1535c1(0x14e),'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0xb2),'children':(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x9ced87,{'value':_0x109749,'onChange':_0x35c395})}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x15a)],{'align':'end','open':_0x59ab87,'onOpenChange':_0x2b6f6b=>{_0x5ad6da(_0x2b6f6b),_0x2b6f6b&&_0x5a6996(_0xedf64a);},'overlay':(0x0,_0x300d66['jsxs'])(_0x1535c1(0x421),{'className':'univer-min-w-[240px]','children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0x18f),'children':_0x6096d1['t'](_0x1535c1(0x349))}),(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0x28d)}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':_0x1535c1(0x2d8),'children':_0x6c22bf[_0x1535c1(0x1a6)](_0x126774=>{const _0x4bc21f=_0x1535c1;let _0x3fe50b=_0x4dec8a[_0x4bc21f(0x3e5)](_0x126774[_0x4bc21f(0x236)]);return(0x0,_0x300d66[_0x4bc21f(0x10a)])(_0x4bc21f(0x421),{'className':_0x4bc21f(0xcc),'onClick':()=>{const _0x3ac1c6=_0x4bc21f;_0x5a6996(_0x3fe50b?_0x4dec8a[_0x3ac1c6(0xe2)](_0x29d62d=>_0x29d62d!==_0x126774['key']):[..._0x4dec8a,_0x126774[_0x3ac1c6(0x236)]]);},'children':[(0x0,_0x300d66['jsx'])(_0x4d33e2['Checkbox'],{'checked':_0x3fe50b}),(0x0,_0x300d66[_0x4bc21f(0x3cc)])('span',{'className':_0x4bc21f(0x3f0),'children':_0x126774[_0x4bc21f(0x3c4)]})]},_0x126774['key']);})}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'className':_0x1535c1(0x108),'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x36f)],{'size':_0x1535c1(0x191),'variant':_0x1535c1(0x1fe),'onClick':()=>{_0x5a6996(_0xedf64a),_0x5ad6da(!0x1);},'children':_0x6096d1['t'](_0x1535c1(0x3f4))}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x36f)],{'size':_0x1535c1(0x191),'onClick':()=>{const _0x146b95=_0x1535c1;_0x355be1(_0x4dec8a),_0x5b09ff[_0x146b95(0x3d7)]&&_0x5b09ff[_0x146b95(0x424)](_0x5b09ff['unitId'],{'origin':_0x109749,'userIds':_0x4dec8a}),_0x5ad6da(!0x1);},'children':_0x6096d1['t'](_0x1535c1(0x19d))})]})]}),'children':(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x1535c1(0x36f)],{'className':_0x1535c1(0x16f),'size':'middle','variant':_0x1535c1(0x1fe),'children':(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4516bc,{'className':(0x0,_0x4d33e2[_0x1535c1(0x1c3)])(_0x1535c1(0x272),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0xedf64a[_0x1535c1(0x166)]>0x0})})})})]}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':_0x1535c1(0x312),'children':_0x4f0771['map']((_0x5612c3,_0x58f2a5)=>(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x6b906['Fragment'],{'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x251cf7,{'date':_0x5612c3[_0x1535c1(0x356)],'startDate':_0x5612c3[_0x1535c1(0x1a5)],'endDate':_0x5612c3[_0x1535c1(0x219)]}),_0x5612c3[_0x1535c1(0x120)][_0x1535c1(0x1a6)]((_0x2b5d04,_0x1c3438)=>{const _0x5364a6=_0x1535c1;let _0x112ae4=_0x293d27[_0x5364a6(0x16b)](_0x2b5d04['id']),_0x10225e=_0x208b88[_0x5364a6(0x16b)](_0x2b5d04['id']),_0x5b4bba=_0x194416[_0x5364a6(0xea)](_0x2b5d04['id'])||[];return(0x0,_0x300d66[_0x5364a6(0x10a)])(_0x6b906['Fragment'],{'children':[(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x2100d8,{'item':_0x2b5d04,'onToggleExpand':_0x445646,'isExpanded':_0x112ae4,'isLoadingDetail':_0x10225e}),_0x112ae4&&_0x5b4bba[_0x5364a6(0x1a6)]((_0x206a9b,_0x573330)=>(0x0,_0x300d66[_0x5364a6(0x10a)])('div',{'className':_0x5364a6(0x267),'style':{'marginTop':_0x5364a6(0x145),'marginBottom':_0x5364a6(0x145)},'children':[(0x0,_0x300d66['jsxs'])('div',{'className':_0x5364a6(0x23d),'style':{'left':'30px','width':_0x5364a6(0x12f)},'children':[_0x573330<_0x5b4bba[_0x5364a6(0x166)]-0x1&&(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0x1a4),'style':{'left':'0','width':_0x5364a6(0x2b9)}}),_0x573330===_0x5b4bba[_0x5364a6(0x166)]-0x1&&(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0xf9),'style':{'left':'0','width':_0x5364a6(0x2b9),'height':_0x5364a6(0x3b1)}}),(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0xdd),'style':{'left':'0','width':'10px','height':_0x5364a6(0x2b9),'transform':_0x5364a6(0x1c8)}})]}),(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x2100d8,{'item':_0x206a9b,'isDetail':!0x0})]},_0x58f2a5+'-'+_0x1c3438+_0x5364a6(0x433)+_0x573330))]},_0x58f2a5+'-'+_0x1c3438);})]},_0x5612c3[_0x1535c1(0x356)]))})]}):(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x754d93,{});}function _0x754d93(){const _0x314c01=_0x4f2e97;return(0x0,_0x300d66[_0x314c01(0x3cc)])(_0x314c01(0x421),{'className':_0x314c01(0x33c),'children':(0x0,_0x300d66['jsx'])(_0x314c01(0x2df),{'className':_0x314c01(0x2f9),'children':(0x0,_0x300d66[_0x314c01(0x3cc)])(_0x40ada8,{'className':_0x314c01(0x453)})})});}function _0x251cf7(_0x3da8b4){const _0x35574a=_0x4f2e97;let _0x2a9597=(0x0,_0x13a253[_0x35574a(0x3c5)])(_0x1467aa[_0x35574a(0x345)]),{date:_0x3bea91,startDate:_0x77b900=_0x3bea91}=_0x3da8b4;return(0x0,_0x300d66[_0x35574a(0x3cc)])(_0x35574a(0x421),{'className':_0x35574a(0xe0),'children':_0x1d6711(_0x77b900,_0x2a9597[_0x35574a(0x295)]())});}function _0x2100d8(_0x367188){const _0x2908e2=_0x4f2e97;let {item:_0x1fc650,onToggleExpand:_0x339d9b,isExpanded:_0x12c617,isLoadingDetail:_0xc2fae,isDetail:_0x781cdc}=_0x367188,{time:_0x37dcf9,user:_0x115c63,startRevCreateTime:_0x2422f5,endRevCreateTime:_0x54a547,users:_0x428a36}=_0x1fc650,_0x4ca871=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x45e9f0),_0x104fb9=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x3222ce),_0x2f4b68=(0x0,_0x13a253['useObservable'])(_0x4ca871[_0x2908e2(0x12a)],'',!0x0)===_0x1fc650['id'],_0x373fac=_0x4ca871[_0x2908e2(0x39d)]()===_0x1fc650[_0x2908e2(0x222)],_0x1b6a4f=!_0x373fac&&_0x4ca871[_0x2908e2(0x1e3)],_0x254b6a=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x1467aa[_0x2908e2(0x345)]),_0xa50056=_0x254b6a[_0x2908e2(0x295)](),_0x4b1ead=_0xe2fba1(_0x37dcf9,_0xa50056),_0x13281d=_0xe2fba1(_0x2422f5,_0xa50056),_0x97dd51=_0xe2fba1(_0x54a547,_0xa50056),_0x2f8bdd=_0x254b6a['t'](_0x2908e2(0x1dd)),_0x38d4d5=_0x1fc650[_0x2908e2(0x133)]!==_0x1fc650[_0x2908e2(0x222)],_0x3ffe18=!!_0x1fc650[_0x2908e2(0x1a2)],_0x5eab14=(0x0,_0x6b906[_0x2908e2(0x328)])(()=>{const _0x396750=_0x2908e2;let _0x39f759=_0x115c63||_0x254b6a['t']('edit-history-viewer.panel.unknownUser');return _0x428a36&&_0x428a36[_0x396750(0xe2)](_0x44c3b5=>_0x44c3b5)['length']>0x0&&(_0x39f759=_0x428a36[_0x396750(0xe2)](_0x51646e=>_0x51646e)[_0x396750(0x3dd)](',\x20')),_0x3ffe18?''+_0x254b6a['t'](_0x396750(0x2a8))+(_0x39f759?'\x20('+_0x39f759+')':''):_0x39f759;},[_0x3ffe18,_0x115c63,_0x428a36,_0x254b6a]),_0x2aaa25=(0x0,_0x6b906[_0x2908e2(0x1a7)])(async _0x2e950e=>{const _0x25ff86=_0x2908e2;_0x4ca871[_0x25ff86(0x2a3)]!==_0x25ff86(0xfa)&&(_0x4ca871['currentVersion']=_0x2e950e,_0x781cdc&&(await _0x104fb9['ensureVersion'](_0x2e950e),await _0x4ca871['triggerLoadSheet'](_0x2e950e)));},[_0x4ca871,_0x104fb9,_0x781cdc]),_0x1be5db=(0x0,_0x6b906['useCallback'])(_0x4ce932=>{const _0x4d19a3=_0x2908e2;_0x4ca871[_0x4d19a3(0x142)](_0x4ce932);},[_0x4ca871]),_0x9ef6ec=(0x0,_0x6b906[_0x2908e2(0x1a7)])(_0x3fef55=>{const _0x3d80cf=_0x2908e2;_0x3fef55[_0x3d80cf(0x237)](),_0x339d9b&&!_0xc2fae&&_0x339d9b(_0x1fc650);},[_0x339d9b,_0x1fc650,_0xc2fae]);return(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':(0x0,_0x4d33e2[_0x2908e2(0x1c3)])(_0x2908e2(0x3e6),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2f4b68,'univer-ml-6':_0x781cdc}),'onClick':()=>_0x2aaa25(_0x1fc650['id']),'children':[(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'className':_0x2908e2(0x33c),'style':{'width':'12px'},'children':_0x38d4d5&&!_0x781cdc&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'onClick':_0x9ef6ec,'className':_0x2908e2(0x2cc),'children':_0xc2fae?(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x40ada8,{'className':_0x2908e2(0x101)}):_0x12c617?(0x0,_0x300d66['jsx'])(_0x331053,{'className':_0x2908e2(0x360)}):(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x1b4ee5,{'className':_0x2908e2(0x360)})})}),(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':_0x2908e2(0x172),'children':[(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':'univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','children':[(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':_0x2908e2(0x3ad),'children':[_0x3ffe18&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2fad69,{'className':_0x2908e2(0x104)}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x2df),{'className':_0x2908e2(0x419),'children':_0x5eab14}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x2df),{'className':_0x2908e2(0xd3),'children':_0x781cdc?_0x4b1ead[_0x2908e2(0x26e)]:_0x2422f5===_0x54a547?_0x13281d[_0x2908e2(0x26e)]:_0x13281d['time']+_0x2908e2(0xd6)+_0x97dd51[_0x2908e2(0x26e)]}),_0x373fac&&(0x0,_0x300d66[_0x2908e2(0x3cc)])('span',{'className':_0x2908e2(0xfe),'children':_0x2f8bdd})]}),(0x0,_0x300d66['jsx'])(_0x2908e2(0x421),{'children':_0x1b6a4f&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x4d33e2[_0x2908e2(0xf0)],{'title':_0x254b6a['t'](_0x2908e2(0x23e)),'children':(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'onClick':_0x4b9fd6=>{const _0x4ea8df=_0x2908e2;_0x4b9fd6[_0x4ea8df(0x237)](),_0x1be5db(_0x1fc650['id']);},'className':_0x2908e2(0x3ff),'children':(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x4cf651,{})})})})]}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'className':_0x2908e2(0xd8),'children':_0x4e0d1b(_0x1fc650,_0x254b6a)})]})]});}let _0x6fe469=_0x4f2e97(0xeb),_0x2f260d=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x317219,_0x592bc2,_0x3dc553,_0x124246,_0x80a193){const _0x414918=_0x4f2e97;super(),this[_0x414918(0x24f)]=_0x317219,this[_0x414918(0x2a2)]=_0x592bc2,this['_localeService']=_0x3dc553,this['_historyManagerService']=_0x124246,this[_0x414918(0x13f)]=_0x80a193,_0x509a17(this,_0x414918(0x2fd),null),this[_0x414918(0x29d)]();}[_0x4f2e97(0x29d)](){const _0xb20b94=_0x4f2e97;this[_0xb20b94(0x29f)]();}[_0x4f2e97(0x1d8)](){const _0x151885=_0x4f2e97;var _0x3b149b;if(this[_0x151885(0x2fd)])return;let _0x4942a5=((_0x3b149b=this[_0x151885(0x13f)][_0x151885(0x15c)](_0x151885(0x117)))==null?void 0x0:_0x3b149b[_0x151885(0xdf)])||_0x6fe469,_0x417db7={'header':{'title':this[_0x151885(0x163)]['t']('edit-history-viewer.panel.title')},'children':{'label':_0x4942a5},'onClose':()=>{const _0x8d13c9=_0x151885;this[_0x8d13c9(0x2fd)]=null,this[_0x8d13c9(0x436)]['status']='exited';}};this[_0x151885(0x2fd)]=this[_0x151885(0x24f)][_0x151885(0x27e)]({..._0x417db7});}[_0x4f2e97(0x29f)](){const _0x247642=_0x4f2e97;this['disposeWithMe'](this[_0x247642(0x2a2)][_0x247642(0x244)](_0x6fe469,_0x146164)),this['disposeWithMe'](this['_historyManagerService'][_0x247642(0x22f)]['subscribe'](_0x553b99=>{const _0x58bc5f=_0x247642;_0x553b99&&this[_0x58bc5f(0x1d8)]();}));}};_0x2f260d=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x2bb)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x13a253[_0x4f2e97(0x2ae)])),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x4,_0x1467aa[_0x4f2e97(0x3b0)])],_0x2f260d);let _0x46f667=class extends _0x1467aa[_0x4f2e97(0x15e)]{constructor(_0x4322ad=_0x2b70cf,_0x4dbc35,_0x52ab6f,_0xc73f5a){const _0x5f3eb9=_0x4f2e97;super(),this['_config']=_0x4322ad,this[_0x5f3eb9(0x16e)]=_0x4dbc35,this[_0x5f3eb9(0x1ee)]=_0x52ab6f,this[_0x5f3eb9(0x13f)]=_0xc73f5a;let {..._0x46125b}=(0x0,_0x1467aa['merge'])({},_0x2b70cf,this[_0x5f3eb9(0x1f0)]);this[_0x5f3eb9(0x13f)][_0x5f3eb9(0x3ac)](_0x4a92fb,_0x46125b);}['onStarting'](){const _0x3c13be=_0x4f2e97;[[_0x45e9f0],[_0x1682e8],[_0x3222ce],[_0x20ac2d],[_0x2f260d],[_0x436e91],[_0x4f87fc[_0x3c13be(0x129)],{'useClass':_0x5a3d94[_0x3c13be(0x2ad)]}],[_0x13a253[_0x3c13be(0x307)],{'useClass':_0x335e84}],[_0x366565[_0x3c13be(0x44b)],{'useClass':_0x5a3d94[_0x3c13be(0x3fe)]}]]['forEach'](_0x4015b1=>this['_injector'][_0x3c13be(0xb4)](_0x4015b1)),this['_injector']['get'](_0x1682e8);}[_0x4f2e97(0x2b5)](){const _0xefec36=_0x4f2e97;[[_0x5ab053]][_0xefec36(0x1c2)](_0x32a532=>{const _0x3c219c=_0xefec36;this[_0x3c219c(0x285)](this['_renderManagerService'][_0x3c219c(0x3d2)](_0x1467aa['UniverInstanceType'][_0x3c219c(0x407)],_0x32a532));}),this[_0xefec36(0x16e)]['get'](_0x436e91),this[_0xefec36(0x16e)][_0xefec36(0xea)](_0x2f260d);}['onSteady'](){const _0x4c9e28=_0x4f2e97;this[_0x4c9e28(0x16e)][_0x4c9e28(0xea)](_0x3222ce);}};_0x509a17(_0x46f667,'pluginName',_0x4f2e97(0x3a6)),_0x509a17(_0x46f667,'packageName',_0x274a62),_0x509a17(_0x46f667,_0x4f2e97(0x2f7),_0x38d248),_0x46f667=_0x5b67f4([(0x0,_0x1467aa[_0x4f2e97(0x1ec)])(_0x30725c[_0x4f2e97(0x144)],_0x4b91c0[_0x4f2e97(0x1b2)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x2,_0x93fecc['IRenderManagerService']),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)])],_0x46f667),Object[_0x4f2e97(0x43b)](_0x2f0c78,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x45e9f0;}}),_0x2f0c78[_0x4f2e97(0x151)]=_0x4b9631,_0x2f0c78[_0x4f2e97(0xb6)]=_0x1f6d66,Object[_0x4f2e97(0x43b)](_0x2f0c78,_0x4f2e97(0x13d),{'enumerable':!0x0,'get':function(){return _0x3c0ceb;}}),Object[_0x4f2e97(0x43b)](_0x2f0c78,_0x4f2e97(0x176),{'enumerable':!0x0,'get':function(){return _0x46f667;}}),Object[_0x4f2e97(0x43b)](_0x2f0c78,'VersionDiffRenderController',{'enumerable':!0x0,'get':function(){return _0x5ab053;}}),Object['defineProperty'](_0x2f0c78,_0x4f2e97(0x253),{'enumerable':!0x0,'get':function(){return _0x3222ce;}});}));
18
-
19
- // @univerjs-pro/edit-history-loader/index
20
- function _0x52c2(){const _0x203c71=['0\x200\x2016\x2016','_selectionProtectionRuleModel','UniverNetwork','UniverProSheetsShapeUi','onSteady','RxDisposable','setTheme','RibbonStartGroup','7477856eicPtZ','__getInjector','workerURL','history-container','UniverSheetsConditionalFormatting','univer-history-container-mobile','unsubscribe','55178vEZvyS','Entered','UniverInstanceType','UniverSheetsDataValidationPlugin','UniverEditHistoryLoaderPlugin','setLocale','Univer','_initContainer','top','_initUniver','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','UniverSheetsConditionalFormattingPlugin','UNIVER_CONTAINER_ID','idSuffix','UniverSheetsDrawing','Module','_componentManager','_localCacheService','triggerLoadVersions','data','edit-history-loader.panel.reverting','pipe','defineProperty','registerPlugin','_initPlugins','object','UniverDrawingPlugin','UniverSheetsPivotTablePlugin','UniverEngineFormula','_commandService','CollaborationController','revertRevision$','height','mountHistoryContent','getCollabEntity','flat','toDisposable','UniverRPCMainThreadPlugin','getParam','getCurrentLocale','_menuManagerService','permissionId','pluginName','UniverSheetsDataValidationMobileUIPlugin','prototype','historyPanelHidden','toPrimitive','values','UniverSheetsUi','dispose$','zIndex','Loading','HistoryModeStatus','_messageService','getElementById','7915885StSWln','UniverDrawingUIPlugin','removeAll','url(#history-icon_clip0_907_281)','historyListServerUrl','UniverDesign','getCurrentRangeDisable$','IAuthzIoService','Injector','session','getOwnPropertyDescriptor','some','UniverSheets','UniverSheetsTablePlugin','disposeWithMe','clear','get','historyPanelComponentKey','HistoryManagerService','UniverFormulaEnginePlugin','UniverNetworkPlugin','SYNCED','eventID','activeSheet$','register','setDarkMode','_config','registerCommand','UniverDocsUi','_localeService','every','display','fill','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tag','4438398KPDxjc','svg','WorksheetEditPermission','UniverLicensePlugin','UniverSheetsMobileUIPlugin','version','url(#$1','AuthzIoHttpService','UniverDocsPlugin','62fAEAii','add','univer.operation.exit-edit-history','1em','UniverSheetsShapeUIPlugin','0.25.1','asObservable','ComponentManager','ThemeService','ISidebarService','UniverSheetsConditionalFormattingUIPlugin','symbol','_collaborationController','WorkbookEditablePermission','function','UniverProCollaboration','IDialogService','UniverProSheetsShape','UNIVER_SHEET','setConfig','entries','_historyManagerService','takeUntil','children','getSheetCommandTarget','UniverSheetsDrawingUi','_checkCanRevert','UniverProSheetsChart','UniverProLicense','set','assign','UniverSheetSparklinePlugin','appendChild','_univerInstanceService','unMountHistoryContent','Error','edit-history-loader.panel.title','_updateURLWithCurrentState','currentColor','BehaviorSubject','7518344uAeZuY','getUnit','Workbook','IMenuManagerService','status$','string','_pluginMap','event$','UniverSheetsPlugin','style','edit-history-loader.config','_injector','edit-history-loader.info.initializing','IConfigService','UniverDocsUIPlugin','Exited','fromCollab','HistoryIcon','UniverDataValidationPlugin','iterator','closeAll','UniverSheetsFormulaUi','default','UniverSheetsDrawingPlugin','7469790YAqmwX','_dataLoaderService','OPERATION','composePermission','packageName','currentTheme$','exhaustSavingTask','univerContainerId','UniverEngineRender','UniverSheetsDataValidationUi','OTHERS','white','call','xlink:href','IImageIoService','menu','length','terminate','UniverSheetsFormulaPlugin','CollaborationStatus','getUnitId','_configService','UniverMobileUIPlugin','div','dispose','edit-history-loader.panel.listFetchError','MenuItemType','getSheetBySheetId','UniverSheetsChartPlugin','ToggleEditHistoryOperation','params','dataset','defs','from','UniverSheetsFilter','100%','forEach','none','forwardRef','getActiveSheet','decorate','Inject','DataLoaderService','subscribe','UniverDrawingUi','DependentOn','value','map','colorChannel1','UniverEditHistoryLoaderMobilePlugin','WorkbookRecoverHistoryPermission','\x20has\x20been\x20registered.','UniverSheetsDrawingUIPlugin','7dDfXKO','urlChange$','UniverSheetsHyperLink','MobileHistoryLoaderService','UniverProCollaborationClientUi','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','20109267mpyOvm','HistoryLoaderService','edit-history-loader.panel.revertFailed','univer-container','constructor','getLocales','UNIVER_CONTAINER_ID_KEY','LS_CONFIG_KEY','attrs','UniverDataValidation','getAllPlugins','UniverCore','getMenuHiddenObservable','MessageType','onStarting','executeCommand','history-icon_clip0_907_281','mutations','IMessageService','UniverDrawing','DisposableCollection','defIds','_revertErrorTimer','UniverSheetsDataValidationUIPlugin','position','_updateSubUnitFromURLParams','combineLatest','_initListener','univerjs-icon\x20univerjs-icon-','_dialogService','show','toStringTag','UniverSheetsShapePlugin','width','@univerjs-pro/edit-history-loader','mask','onCommandExecuted','then','Disposable','_handleRevertAcknowledgement','IUniverInstanceService','getCurrentUnitOfType','type','location','getSheetId','block','React','triggerCustomVersions','UniverCollaborationPlugin','getSheets','_disposableCollection','CHANGESET_ACK','whenReady','substring','_historyUniver$','UniverSheetsConditionalFormattingUi','_urlService','UniverSheetsFormulaUIPlugin','univer.operation.toggle-edit-history','UniverSheetsFilterPlugin','_sidebarService','UniverSheetSparklineUIPlugin','disposeUnit','darkMode$','displayName','UniverProSheetsSparklineUi','path','Plugin','invoke','subunit','has','[HistoryLoaderService]:\x20Plugin\x20','historyUniver','history-icon','next','getSubunitRuleList','IRemoteInstanceService','UniverSheetsFilterUi','_permissionService','RangeProtectionPermissionEditPoint','rxjs','uComp','_themeService','setParam','UniverSheetsNumfmtPlugin','createElement','_init','getConfig','merge','use','UniverSheetsHyperLinkPlugin','UniverUIPlugin','LocaleService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','http://www.w3.org/2000/svg','RevertRevisionMutation','SetWorksheetActivateCommand','state$','UniverDocs','UNIVER_UNKNOWN','_internalWebWorker','useRef','UniverSheetsHyperLinkUIPlugin','BUTTON','status','ICommandService','left','CollaborationEvent','current','_setupSubUnitSync','UniverSheetsChartUIPlugin','ILocalCacheService','close','CommandType','absolute','getUnhiddenWorksheets'];_0x52c2=function(){return _0x203c71;};return _0x52c2();}function _0x1ef0(_0xbb85ce,_0x1beea5){_0xbb85ce=_0xbb85ce-0x144;const _0x52c206=_0x52c2();let _0x1ef017=_0x52c206[_0xbb85ce];return _0x1ef017;}(function(_0x3401dd,_0x224515){const _0x4d29c3=_0x1ef0,_0x4b7810=_0x3401dd();while(!![]){try{const _0x3236bc=-parseInt(_0x4d29c3(0x249))/0x1*(-parseInt(_0x4d29c3(0x14b))/0x2)+parseInt(_0x4d29c3(0x2a3))/0x3+parseInt(_0x4d29c3(0x173))/0x4+-parseInt(_0x4d29c3(0x280))/0x5+-parseInt(_0x4d29c3(0x18b))/0x6*(parseInt(_0x4d29c3(0x1c0))/0x7)+parseInt(_0x4d29c3(0x242))/0x8+-parseInt(_0x4d29c3(0x1c6))/0x9;if(_0x3236bc===_0x224515)break;else _0x4b7810['push'](_0x4b7810['shift']());}catch(_0x53ab29){_0x4b7810['push'](_0x4b7810['shift']());}}}(_0x52c2,0xe5ee5),function(_0x323b7f,_0x28edc2){const _0x4d2a4b=_0x1ef0;typeof exports==_0x4d2a4b(0x262)&&typeof module<'u'?_0x28edc2(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-shape-ui'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/design'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-table'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/collaboration-client-ui'),require('react')):typeof define==_0x4d2a4b(0x159)&&define['amd']?define('exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react'['split']('.'),_0x28edc2):(_0x323b7f=typeof globalThis<'u'?globalThis:_0x323b7f||self,_0x28edc2(_0x323b7f['UniverProEditHistoryLoader']={},_0x323b7f[_0x4d2a4b(0x1d1)],_0x323b7f[_0x4d2a4b(0x28c)],_0x323b7f[_0x4d2a4b(0x15a)],_0x323b7f['UniverProCollaborationClient'],_0x323b7f['UniverProEditHistoryViewer'],_0x323b7f[_0x4d2a4b(0x167)],_0x323b7f[_0x4d2a4b(0x166)],_0x323b7f['UniverProSheetsChartUi'],_0x323b7f['UniverProSheetsPivot'],_0x323b7f[_0x4d2a4b(0x15c)],_0x323b7f[_0x4d2a4b(0x23d)],_0x323b7f['UniverProSheetsSparkline'],_0x323b7f[_0x4d2a4b(0x207)],_0x323b7f[_0x4d2a4b(0x1cf)],_0x323b7f[_0x4d2a4b(0x285)],_0x323b7f[_0x4d2a4b(0x228)],_0x323b7f[_0x4d2a4b(0x29c)],_0x323b7f[_0x4d2a4b(0x1d9)],_0x323b7f[_0x4d2a4b(0x1b7)],_0x323b7f[_0x4d2a4b(0x265)],_0x323b7f[_0x4d2a4b(0x193)],_0x323b7f[_0x4d2a4b(0x23c)],_0x323b7f['UniverRpc'],_0x323b7f[_0x4d2a4b(0x246)],_0x323b7f[_0x4d2a4b(0x1fd)],_0x323b7f['UniverSheetsDataValidation'],_0x323b7f[_0x4d2a4b(0x194)],_0x323b7f[_0x4d2a4b(0x257)],_0x323b7f[_0x4d2a4b(0x164)],_0x323b7f[_0x4d2a4b(0x1ad)],_0x323b7f[_0x4d2a4b(0x213)],_0x323b7f['UniverSheetsFormula'],_0x323b7f[_0x4d2a4b(0x188)],_0x323b7f[_0x4d2a4b(0x1c2)],_0x323b7f['UniverSheetsHyperLinkUi'],_0x323b7f['UniverSheetsNumfmt'],_0x323b7f['UniverSheetsTable'],_0x323b7f[_0x4d2a4b(0x279)],_0x323b7f['UniverUi'],_0x323b7f[_0x4d2a4b(0x216)],_0x323b7f[_0x4d2a4b(0x1c4)],_0x323b7f[_0x4d2a4b(0x1f4)]));}(this,function(_0x420f19,_0x3c94c0,_0x439ca9,_0x3aa7bd,_0x36b005,_0x427580,_0x4c9ae8,_0x11a738,_0x2195a5,_0x1232a5,_0x23545e,_0xe89110,_0x285e93,_0x252d57,_0x2852d7,_0x3654df,_0x365f97,_0x28cfa4,_0x413f1d,_0x4ad995,_0x1011d8,_0x487c14,_0x4cf1a2,_0x23e09e,_0x7ab83,_0x6459ed,_0x399974,_0x3aafb7,_0x1509d9,_0x318ec2,_0xf68838,_0x1779ff,_0x2453e3,_0x545f54,_0x14c3a8,_0x147ecb,_0x34d751,_0x4a068e,_0xee6799,_0x1e9ee3,_0xd2a689,_0x470060,_0x12413c){const _0x48825a=_0x1ef0;Object[_0x48825a(0x25f)](_0x420f19,Symbol[_0x48825a(0x1e5)],{'value':_0x48825a(0x258)});let _0x1894ca=_0x48825a(0x17d),_0x44c328={};function _0x509a30(_0x583408){'@babel/helpers - typeof';const _0x29bfc7=_0x48825a;return _0x509a30=typeof Symbol=='function'&&typeof Symbol[_0x29bfc7(0x186)]==_0x29bfc7(0x156)?function(_0x72c79b){return typeof _0x72c79b;}:function(_0x1adce6){const _0x494bbc=_0x29bfc7;return _0x1adce6&&typeof Symbol==_0x494bbc(0x159)&&_0x1adce6[_0x494bbc(0x1ca)]===Symbol&&_0x1adce6!==Symbol[_0x494bbc(0x275)]?'symbol':typeof _0x1adce6;},_0x509a30(_0x583408);}function _0x4fe7d6(_0x546078,_0x1a9336){const _0x318b28=_0x48825a;if(_0x509a30(_0x546078)!=_0x318b28(0x262)||!_0x546078)return _0x546078;var _0x56248f=_0x546078[Symbol[_0x318b28(0x277)]];if(_0x56248f!==void 0x0){var _0x259d89=_0x56248f[_0x318b28(0x197)](_0x546078,_0x1a9336||_0x318b28(0x189));if(_0x509a30(_0x259d89)!='object')return _0x259d89;throw TypeError(_0x318b28(0x2a1));}return(_0x1a9336===_0x318b28(0x178)?String:Number)(_0x546078);}function _0x4233a6(_0x2014fd){const _0x4ba478=_0x48825a;var _0xe51878=_0x4fe7d6(_0x2014fd,'string');return _0x509a30(_0xe51878)==_0x4ba478(0x156)?_0xe51878:_0xe51878+'';}function _0x29e9ee(_0x425b14,_0x1d175f,_0x2fdcc1){const _0x4e15aa=_0x48825a;return(_0x1d175f=_0x4233a6(_0x1d175f))in _0x425b14?Object[_0x4e15aa(0x25f)](_0x425b14,_0x1d175f,{'value':_0x2fdcc1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x425b14[_0x1d175f]=_0x2fdcc1,_0x425b14;}function _0x2d9990(_0x1c59a1,_0x27a223){return function(_0x341d4d,_0x386662){_0x27a223(_0x341d4d,_0x386662,_0x1c59a1);};}function _0x82e3a8(_0x31fe7f,_0x5922b1,_0x537b7e,_0x326d96){const _0x1b06d8=_0x48825a;var _0x5b6bd6=arguments[_0x1b06d8(0x19b)],_0x21934b=_0x5b6bd6<0x3?_0x5922b1:_0x326d96===null?_0x326d96=Object[_0x1b06d8(0x28a)](_0x5922b1,_0x537b7e):_0x326d96,_0x379d6b;if(typeof Reflect==_0x1b06d8(0x262)&&typeof Reflect[_0x1b06d8(0x1b3)]==_0x1b06d8(0x159))_0x21934b=Reflect[_0x1b06d8(0x1b3)](_0x31fe7f,_0x5922b1,_0x537b7e,_0x326d96);else{for(var _0x47f6a2=_0x31fe7f[_0x1b06d8(0x19b)]-0x1;_0x47f6a2>=0x0;_0x47f6a2--)(_0x379d6b=_0x31fe7f[_0x47f6a2])&&(_0x21934b=(_0x5b6bd6<0x3?_0x379d6b(_0x21934b):_0x5b6bd6>0x3?_0x379d6b(_0x5922b1,_0x537b7e,_0x21934b):_0x379d6b(_0x5922b1,_0x537b7e))||_0x21934b);}return _0x5b6bd6>0x3&&_0x21934b&&Object[_0x1b06d8(0x25f)](_0x5922b1,_0x537b7e,_0x21934b),_0x21934b;}let _0x12f481=_0x48825a(0x255),_0x4e4169='univer-history-container',_0x2f1f30=class extends _0x3c94c0[_0x48825a(0x1ec)]{constructor(_0x46b73b,_0x3f24b1,_0x30a869,_0x682049,_0x39c722,_0x46cb08,_0x1b52d8,_0x1daeab,_0x1444a8,_0x567097){const _0x286d9d=_0x48825a;super(),this[_0x286d9d(0x29d)]=_0x46b73b,this['_univerInstanceService']=_0x3f24b1,this[_0x286d9d(0x1a0)]=_0x30a869,this['_commandService']=_0x682049,this[_0x286d9d(0x27e)]=_0x39c722,this['_permissionService']=_0x46cb08,this['_selectionProtectionRuleModel']=_0x1b52d8,this['_dialogService']=_0x1daeab,this['_sidebarService']=_0x1444a8,this[_0x286d9d(0x218)]=_0x567097,_0x29e9ee(this,'_historyUniver$',new _0xd2a689[(_0x286d9d(0x172))](null)),_0x29e9ee(this,'historyUniver$',this[_0x286d9d(0x1fc)][_0x286d9d(0x151)]()),_0x29e9ee(this,_0x286d9d(0x1f8),new _0x3c94c0[(_0x286d9d(0x1da))]()),_0x29e9ee(this,_0x286d9d(0x179),new Map()),_0x29e9ee(this,'_internalWebWorker',null),this['_init']();}get[_0x48825a(0x20e)](){const _0x352d0b=_0x48825a;return this[_0x352d0b(0x1fc)][_0x352d0b(0x1b9)];}['_init'](){const _0x198436=_0x48825a;this[_0x198436(0x250)](),this[_0x198436(0x261)]();}[_0x48825a(0x250)](){const _0x33d14c=_0x48825a;var _0x41f253;let _0x489cd5=(_0x41f253=this['_configService']['getConfig'](_0x33d14c(0x255)))==null?'univer-container':_0x41f253,_0x4098ed=document[_0x33d14c(0x27f)](_0x489cd5);if(!_0x4098ed)return;let _0x3e4176=document['createElement'](_0x33d14c(0x1a2));_0x3e4176['id']=_0x4e4169,_0x3e4176[_0x33d14c(0x1aa)][_0x33d14c(0x217)]=_0x33d14c(0x245),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x1de)]=_0x33d14c(0x238),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x251)]='0',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x230)]='0',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x1e7)]=_0x33d14c(0x1ae),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x269)]=_0x33d14c(0x1ae),_0x3e4176[_0x33d14c(0x17c)]['zIndex']='49',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x29f)]=_0x33d14c(0x1b0),_0x4098ed[_0x33d14c(0x16b)](_0x3e4176);}[_0x48825a(0x261)](){const _0x1fa633=_0x48825a;[[_0x487c14['UniverRenderEnginePlugin']],[_0x1e9ee3[_0x1fa633(0x221)],{'container':_0x4e4169,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1e9ee3[_0x1fa633(0x15b)],null]]}],[_0x4cf1a2[_0x1fa633(0x294)]],[_0x413f1d['UniverDrawingPlugin'],{'override':[[_0x413f1d[_0x1fa633(0x199)],null]]}],[_0x365f97['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x28cfa4['UniverDocsUIPlugin']],[_0x34d751[_0x1fa633(0x21a)]],[_0x439ca9['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0xee6799['UniverSheetsUIPlugin']],[_0x2453e3[_0x1fa633(0x19d)]],[_0x545f54[_0x1fa633(0x1ff)]],[_0x3aa7bd['UniverCollaborationPlugin']],[_0xf68838[_0x1fa633(0x201)]],[_0x1779ff['UniverSheetsFilterUIPlugin']],[_0x7ab83[_0x1fa633(0x254)]],[_0x6459ed[_0x1fa633(0x155)]],[_0x14c3a8[_0x1fa633(0x220)]],[_0x147ecb[_0x1fa633(0x22c)]],[_0x2852d7['UniverDataValidationPlugin']],[_0x399974[_0x1fa633(0x24c)]],[_0x3aafb7[_0x1fa633(0x1dd)]],[_0x1011d8[_0x1fa633(0x293)],{'notExecuteFormula':!0x0}],[_0x4ad995[_0x1fa633(0x281)]],[_0x1509d9[_0x1fa633(0x18a)]],[_0x318ec2[_0x1fa633(0x1bf)]],[_0x285e93[_0x1fa633(0x16a)]],[_0x252d57[_0x1fa633(0x203)]],[_0x11a738[_0x1fa633(0x1a7)]],[_0x2195a5['UniverSheetsChartUIPlugin']],[_0x23545e[_0x1fa633(0x1e6)]],[_0xe89110[_0x1fa633(0x14f)]],[_0x1232a5['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x4a068e['UniverSheetsTablePlugin']]]['forEach'](([_0x457dee,_0x5e0ac6])=>this[_0x1fa633(0x260)](_0x457dee,_0x5e0ac6));}[_0x48825a(0x1a3)](){const _0x1a0da7=_0x48825a;super[_0x1a0da7(0x1a3)](),this[_0x1a0da7(0x16d)](),this[_0x1a0da7(0x179)][_0x1a0da7(0x28f)]();}[_0x48825a(0x260)](_0x20459f,_0x457909,_0x19f001){const _0x41a136=_0x48825a;if(this['_pluginMap'][_0x41a136(0x20c)](_0x20459f['pluginName'])&&!_0x19f001)throw Error(_0x41a136(0x20d)+_0x20459f[_0x41a136(0x273)]+_0x41a136(0x1be));this[_0x41a136(0x179)][_0x41a136(0x168)](_0x20459f[_0x41a136(0x273)],[_0x20459f,_0x457909]);}[_0x48825a(0x1d0)](){const _0x58fec9=_0x48825a;return Array[_0x58fec9(0x1ac)](this[_0x58fec9(0x179)][_0x58fec9(0x278)]());}['mountHistoryContent'](_0x55533c,_0x1bfcac){const _0x337322=_0x48825a;let _0x15c05c=document[_0x337322(0x27f)](_0x4e4169);_0x15c05c&&(_0x15c05c['style']['display']=_0x337322(0x1f3),this[_0x337322(0x252)](_0x55533c,_0x4e4169,_0x1bfcac));}[_0x48825a(0x16d)](){const _0x241651=_0x48825a;var _0x23f287;this[_0x241651(0x1f8)][_0x241651(0x1a3)](),(_0x23f287=this['historyUniver'])==null||_0x23f287[_0x241651(0x1a3)](),this[_0x241651(0x1fc)][_0x241651(0x210)](null);let _0x4df180=document[_0x241651(0x27f)](_0x4e4169);_0x4df180&&(_0x4df180['style']['display']=_0x241651(0x1b0),this[_0x241651(0x22a)]&&(this['_internalWebWorker'][_0x241651(0x19c)](),this[_0x241651(0x22a)]=null));}['_initUniver'](_0x111ff1,_0x24d1fc,_0x1fc2cd){const _0x5cb789=_0x48825a;var _0x20ce2c,_0x4be54b,_0x43897a,_0x33194e,_0x1b6462;if(this[_0x5cb789(0x20e)])return;let _0x406124=new _0x3c94c0[(_0x5cb789(0x24f))]({'locales':{[this[_0x5cb789(0x29d)][_0x5cb789(0x270)]()]:this[_0x5cb789(0x29d)][_0x5cb789(0x1cb)]()},'override':[[_0x3c94c0['IAuthzIoService'],{'useClass':_0x36b005[_0x5cb789(0x149)]}]]}),_0x35104c=_0x406124['__getInjector']();this[_0x5cb789(0x28e)](this[_0x5cb789(0x218)][_0x5cb789(0x205)][_0x5cb789(0x1b6)](_0x36afc9=>{const _0x1d0d80=_0x5cb789;_0x35104c[_0x1d0d80(0x290)](_0x3c94c0['ThemeService'])[_0x1d0d80(0x299)](_0x36afc9);})),this[_0x5cb789(0x28e)](this[_0x5cb789(0x218)][_0x5cb789(0x190)][_0x5cb789(0x1b6)](_0xaea624=>{const _0x35e24d=_0x5cb789;_0x35104c[_0x35e24d(0x290)](_0x3c94c0[_0x35e24d(0x153)])['setTheme'](_0xaea624);})),_0x35104c[_0x5cb789(0x290)](_0x3c94c0['LocaleService'])[_0x5cb789(0x24e)](this['_localeService'][_0x5cb789(0x270)]()),_0x35104c[_0x5cb789(0x290)](_0x3c94c0[_0x5cb789(0x180)])[_0x5cb789(0x15e)](_0x36b005[_0x5cb789(0x223)],this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x36b005[_0x5cb789(0x223)]));let _0x448f94=this['_configService'][_0x5cb789(0x21d)](_0x4c9ae8[_0x5cb789(0x1cd)]);_0x448f94&&_0x406124[_0x5cb789(0x260)](_0x4c9ae8['UniverLicensePlugin'],{'license':_0x448f94['ls']});let _0x5e6d4e=(_0x20ce2c=this['_configService'][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x20ce2c[_0x5cb789(0x244)],_0xed1d98=!!_0x5e6d4e;_0xed1d98&&(this[_0x5cb789(0x22a)]=_0x5e6d4e instanceof Worker?_0x5e6d4e:null,_0x406124[_0x5cb789(0x260)](_0x23e09e[_0x5cb789(0x26e)],{'workerURL':_0x5e6d4e})),this[_0x5cb789(0x179)][_0x5cb789(0x1af)](([_0x2f7ee2,_0x2eca98])=>{_0x406124['registerPlugin'](_0x2f7ee2,_0x2eca98);}),_0x406124['registerPlugin'](_0x427580['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x4be54b=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x4be54b[_0x5cb789(0x284)],'historyPanelComponentKey':(_0x43897a=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)]('edit-history-loader.config'))==null?void 0x0:_0x43897a[_0x5cb789(0x291)],'historyPanelHidden':(_0x33194e=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x33194e[_0x5cb789(0x276)],'historyAIassistantEnabled':(_0x1b6462=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x1b6462['historyAIassistantEnabled']}),_0x35104c[_0x5cb789(0x20a)](_0x6f35fb=>{const _0x1e1ae0=_0x5cb789;this[_0x1e1ae0(0x1e1)](_0x6f35fb,_0x111ff1);}),this['_historyUniver$'][_0x5cb789(0x210)](_0x406124);let _0x11873a=_0x35104c['get'](_0x427580[_0x5cb789(0x292)]),_0x1b8705=this[_0x5cb789(0x165)](_0x111ff1),_0x53a085=()=>{const _0x2e123f=_0x5cb789;_0x1fc2cd?_0x11873a['triggerCustomVersions'](_0x111ff1,_0x24d1fc,_0x1b8705,_0x1fc2cd):_0x11873a[_0x2e123f(0x25b)](_0x111ff1,_0x24d1fc,_0x1b8705);};if(this[_0x5cb789(0x27e)][_0x5cb789(0x1e4)]({'content':this['_localeService']['t'](_0x5cb789(0x17f)),'type':_0x3654df[_0x5cb789(0x1d3)][_0x5cb789(0x27c)]}),_0xed1d98)try{_0x35104c['get'](_0x23e09e[_0x5cb789(0x212)])['whenReady']()[_0x5cb789(0x1eb)](()=>{_0x53a085();});}catch{_0x53a085();}else _0x53a085();}[_0x48825a(0x1e1)](_0x452876,_0x3b0907){const _0x2a0ed6=_0x48825a;let _0x1ef5c6=_0x452876[_0x2a0ed6(0x290)](_0x427580[_0x2a0ed6(0x292)]);this['_disposableCollection']['add'](_0x1ef5c6[_0x2a0ed6(0x177)][_0x2a0ed6(0x1b6)](_0xc380f7=>{const _0x2f661f=_0x2a0ed6;switch(_0xc380f7){case _0x427580[_0x2f661f(0x27d)]['Entered']:this[_0x2f661f(0x1e3)]['closeAll'](),this[_0x2f661f(0x202)][_0x2f661f(0x236)]();break;case _0x427580[_0x2f661f(0x27d)][_0x2f661f(0x182)]:this['_commandService'][_0x2f661f(0x1d5)](_0x3afd2f['id']),this['unMountHistoryContent']();break;case _0x427580['HistoryModeStatus'][_0x2f661f(0x16e)]:this[_0x2f661f(0x16d)](),this[_0x2f661f(0x27e)][_0x2f661f(0x1e4)]({'content':this[_0x2f661f(0x29d)]['t']('edit-history-loader.panel.listFetchError'),'type':_0x3654df[_0x2f661f(0x1d3)][_0x2f661f(0x16e)],'duration':0xbb8});break;default:break;}})),this[_0x2a0ed6(0x1f8)][_0x2a0ed6(0x14c)](_0x1ef5c6[_0x2a0ed6(0x268)]['subscribe'](async _0x27a95c=>{const _0x3fef11=_0x2a0ed6;_0x27a95c&&this[_0x3fef11(0x266)][_0x3fef11(0x1d5)](_0x3aa7bd[_0x3fef11(0x225)]['id'],{'unitId':_0x3b0907,'revision':_0x27a95c});}));}[_0x48825a(0x165)](_0x3ab0d3){const _0x545ae2=_0x48825a;let _0x564ea9=this[_0x545ae2(0x16c)][_0x545ae2(0x174)](_0x3ab0d3)[_0x545ae2(0x1f7)]()[_0x545ae2(0x1ba)](_0x51fae6=>_0x51fae6[_0x545ae2(0x1f2)]()),_0x169f05=new _0x439ca9[(_0x545ae2(0x158))](_0x3ab0d3)['id'],_0x4993a6=_0x564ea9['map'](_0x5787d4=>new _0x439ca9[(_0x545ae2(0x144))](_0x3ab0d3,_0x5787d4)['id']),_0x19ca20=_0x564ea9[_0x545ae2(0x1ba)](_0x4e5ae9=>this[_0x545ae2(0x23b)]['getSubunitRuleList'](_0x3ab0d3,_0x4e5ae9)[_0x545ae2(0x1ba)](_0x85fe0d=>new _0x439ca9[(_0x545ae2(0x215))](_0x3ab0d3,_0x4e5ae9,_0x85fe0d[_0x545ae2(0x272)])['id']))[_0x545ae2(0x26c)](),_0x38f930=new _0x439ca9[(_0x545ae2(0x1bd))](_0x3ab0d3)['id'];return this[_0x545ae2(0x214)][_0x545ae2(0x18e)]([_0x169f05,..._0x4993a6,..._0x19ca20,_0x38f930])[_0x545ae2(0x29e)](_0x438635=>!!_0x438635[_0x545ae2(0x1b9)]);}};_0x2f1f30=_0x82e3a8([_0x2d9990(0x0,(0x0,_0x3c94c0['Inject'])(_0x3c94c0['LocaleService'])),_0x2d9990(0x1,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)]),_0x2d9990(0x3,_0x3c94c0[_0x48825a(0x22f)]),_0x2d9990(0x4,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x5,_0x3c94c0['IPermissionService']),_0x2d9990(0x6,(0x0,_0x3c94c0['Inject'])(_0x439ca9['RangeProtectionRuleModel'])),_0x2d9990(0x7,(0x0,_0x3c94c0['Inject'])(_0x1e9ee3[_0x48825a(0x15b)])),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3['ISidebarService'])),_0x2d9990(0x9,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['ThemeService']))],_0x2f1f30);let _0x39d9e5={'id':_0x48825a(0x200),'type':_0x3c94c0[_0x48825a(0x237)][_0x48825a(0x18d)],'handler':_0x209d86=>{const _0x2afbfd=_0x48825a;let _0x397089=_0x209d86[_0x2afbfd(0x290)](_0x2f1f30),{unitId:_0x23ead4}=(0x0,_0x439ca9[_0x2afbfd(0x163)])(_0x209d86[_0x2afbfd(0x290)](_0x3c94c0[_0x2afbfd(0x1ee)]))||{};return _0x23ead4?(_0x397089[_0x2afbfd(0x26a)](_0x23ead4),!0x0):!0x1;}},_0x3afd2f={'id':_0x48825a(0x14d),'type':_0x3c94c0[_0x48825a(0x237)]['OPERATION'],'handler':()=>!0x0};var _0x1a2eed=_0x48825a(0x1e8),_0xfa7619=_0x48825a(0x150);function _0x51cb33({ref:_0x3e690e,..._0x57d24d}){const _0x272689=_0x48825a;let {icon:_0x32cd00,id:_0x51c16c,className:_0x421728,extend:_0x4395e1,..._0x185c1e}=_0x57d24d,_0x616245=(_0x272689(0x1e2)+_0x51c16c+'\x20'+(_0x421728||''))['trim'](),_0x307cdf=(0x0,_0x12413c[_0x272689(0x22b)])('_'+_0xa6df11());return _0x40bb23(_0x32cd00,''+_0x51c16c,{'defIds':_0x32cd00[_0x272689(0x1db)],'idSuffix':_0x307cdf[_0x272689(0x232)]},{'ref':_0x3e690e,'className':_0x616245,..._0x185c1e},_0x4395e1);}function _0x40bb23(_0x2e9bbf,_0x159955,_0x1f69ad,_0x54a07c,_0x25d109){const _0x10fe4a=_0x48825a;return(0x0,_0x12413c[_0x10fe4a(0x21b)])(_0x2e9bbf[_0x10fe4a(0x2a2)],{'key':_0x159955,..._0x1529e8(_0x2e9bbf,_0x1f69ad,_0x25d109),..._0x54a07c},(_0x52a7df(_0x2e9bbf,_0x1f69ad)['children']||[])[_0x10fe4a(0x1ba)]((_0x283872,_0x5d7938)=>_0x40bb23(_0x283872,_0x159955+'-'+_0x2e9bbf['tag']+'-'+_0x5d7938,_0x1f69ad,void 0x0,_0x25d109)));}function _0x1529e8(_0x1d3ac9,_0x6634ed,_0x44c123){const _0x16d59e=_0x48825a;let _0x26b780={..._0x1d3ac9[_0x16d59e(0x1ce)]};_0x44c123!=null&&_0x44c123['colorChannel1']&&_0x26b780[_0x16d59e(0x2a0)]===_0x16d59e(0x1bb)&&(_0x26b780['fill']=_0x44c123[_0x16d59e(0x1bb)]),_0x1d3ac9[_0x16d59e(0x2a2)]===_0x16d59e(0x1e9)&&_0x26b780['id']&&(_0x26b780['id']+=_0x6634ed[_0x16d59e(0x256)]),Object[_0x16d59e(0x15f)](_0x26b780)[_0x16d59e(0x1af)](([_0xbfa0e6,_0x41d45f])=>{const _0x327411=_0x16d59e;_0xbfa0e6===_0x327411(0x1e9)&&typeof _0x41d45f==_0x327411(0x178)&&(_0x26b780[_0xbfa0e6]=_0x41d45f['replace'](/url\(#(.*)\)/,_0x327411(0x148)+_0x6634ed[_0x327411(0x256)]+')'));});let {defIds:_0x15058e}=_0x6634ed;return!_0x15058e||_0x15058e[_0x16d59e(0x19b)]===0x0?_0x26b780:(_0x1d3ac9[_0x16d59e(0x2a2)]===_0x16d59e(0x21f)&&_0x26b780[_0x16d59e(0x198)]&&(_0x26b780[_0x16d59e(0x198)]+=_0x6634ed[_0x16d59e(0x256)]),Object[_0x16d59e(0x15f)](_0x26b780)[_0x16d59e(0x1af)](([_0x13fa4e,_0xd9e25])=>{const _0xd67388=_0x16d59e;typeof _0xd9e25==_0xd67388(0x178)&&(_0x26b780[_0x13fa4e]=_0xd9e25['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6634ed[_0xd67388(0x256)]+')'));}),_0x26b780);}function _0x52a7df(_0x131c90,_0x9722e6){const _0x42418b=_0x48825a;var _0x1b5e03;let {defIds:_0x59e83d}=_0x9722e6;return!_0x59e83d||_0x59e83d[_0x42418b(0x19b)]===0x0?_0x131c90:_0x131c90[_0x42418b(0x2a2)]===_0x42418b(0x1ab)&&(_0x1b5e03=_0x131c90[_0x42418b(0x162)])!=null&&_0x1b5e03[_0x42418b(0x19b)]?{..._0x131c90,'children':_0x131c90['children'][_0x42418b(0x1ba)](_0x5da65d=>typeof _0x5da65d[_0x42418b(0x1ce)]['id']==_0x42418b(0x178)&&_0x59e83d&&_0x59e83d['includes'](_0x5da65d[_0x42418b(0x1ce)]['id'])?{..._0x5da65d,'attrs':{..._0x5da65d[_0x42418b(0x1ce)],'id':_0x5da65d[_0x42418b(0x1ce)]['id']+_0x9722e6['idSuffix']}}:_0x5da65d)}:_0x131c90;}function _0xa6df11(){const _0x46788b=_0x48825a;return Math['random']()['toString'](0x24)[_0x46788b(0x1fb)](0x2,0x8);}_0x51cb33[_0x48825a(0x206)]='UniverIcon';let _0x10ea45={'tag':_0x48825a(0x2a4),'attrs':{'xmlns':_0x48825a(0x224),'fill':_0x48825a(0x1b0),'viewBox':_0x48825a(0x23a),'width':_0x48825a(0x14e),'height':_0x48825a(0x14e)},'children':[{'tag':'g','attrs':{'fill':_0x48825a(0x171),'clipPath':_0x48825a(0x283)},'children':[{'tag':'path','attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0x48825a(0x208),'attrs':{'d':_0x48825a(0x1c5)}}]},{'tag':_0x48825a(0x1ab),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x48825a(0x208),'attrs':{'fill':_0x48825a(0x196),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x48825a(0x1d6)]},_0x5938f1=(0x0,_0x12413c[_0x48825a(0x1b1)])(function(_0x589889,_0x5c5dcb){const _0x109f69=_0x48825a;return(0x0,_0x12413c['createElement'])(_0x51cb33,Object[_0x109f69(0x169)]({},_0x589889,{'id':_0x109f69(0x20f),'ref':_0x5c5dcb,'icon':_0x10ea45}));});_0x5938f1[_0x48825a(0x206)]='HistoryIcon';function _0x253403(_0xd89b7e){const _0x472692=_0x48825a;return{'id':_0x39d9e5['id'],'type':_0x1e9ee3[_0x472692(0x1a5)][_0x472692(0x22d)],'icon':_0x472692(0x184),'tooltip':_0x472692(0x16f),'hidden$':(0x0,_0x1e9ee3[_0x472692(0x1d2)])(_0xd89b7e,_0x3c94c0[_0x472692(0x24b)][_0x472692(0x15d)]),'disabled$':(0x0,_0xee6799[_0x472692(0x286)])(_0xd89b7e,{'workbookTypes':[_0x439ca9['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}let _0x332d49={[_0x1e9ee3[_0x48825a(0x241)][_0x48825a(0x195)]]:{[_0x39d9e5['id']]:{'order':0.2,'menuItemFactory':_0x253403}}},_0x1db700=class extends _0x3c94c0['RxDisposable']{constructor(_0x1ae691,_0x592440,_0x5cb8b5,_0x5c160a,_0x1c6bad,_0x2c5795,_0x3cc723,_0x2c4585,_0x4a6f2d,_0x421f0f,_0xcb216f){const _0x1a6f8b=_0x48825a;super(),this['_commandService']=_0x1ae691,this[_0x1a6f8b(0x271)]=_0x592440,this[_0x1a6f8b(0x259)]=_0x5cb8b5,this[_0x1a6f8b(0x160)]=_0x5c160a,this[_0x1a6f8b(0x29d)]=_0x1c6bad,this[_0x1a6f8b(0x27e)]=_0x2c5795,this['_collaborationController']=_0x3cc723,this[_0x1a6f8b(0x25a)]=_0x2c4585,this['_dataLoaderService']=_0x4a6f2d,this[_0x1a6f8b(0x16c)]=_0x421f0f,this['_urlService']=_0xcb216f,_0x29e9ee(this,'_revertErrorTimer',null),this[_0x1a6f8b(0x21c)]();}[_0x48825a(0x21c)](){const _0x305830=_0x48825a;[_0x39d9e5,_0x3afd2f]['forEach'](_0x36edcd=>this['disposeWithMe']((0x0,_0x3c94c0[_0x305830(0x26d)])(this[_0x305830(0x266)][_0x305830(0x29b)](_0x36edcd)))),this[_0x305830(0x28e)](this['_componentManager'][_0x305830(0x298)]('HistoryIcon',_0x5938f1)),this[_0x305830(0x271)]['mergeMenu'](_0x332d49),this[_0x305830(0x28e)](this[_0x305830(0x266)][_0x305830(0x1ea)](async(_0x218719,_0x40c0dd)=>{const _0x31b2ec=_0x305830;if(_0x218719['id']===_0x3aa7bd[_0x31b2ec(0x225)]['id']){let {unitId:_0x4976f6}=_0x218719[_0x31b2ec(0x1a9)];this['_messageService']['show']({'content':this['_localeService']['t'](_0x31b2ec(0x25d)),'type':_0x3654df[_0x31b2ec(0x1d3)][_0x31b2ec(0x27c)],'duration':0x1388});let _0x22d458=this[_0x31b2ec(0x157)][_0x31b2ec(0x26b)](_0x4976f6);_0x40c0dd!=null&&_0x40c0dd[_0x31b2ec(0x183)]?this['_handleRevertAcknowledgement'](_0x22d458,async()=>(setTimeout(()=>window[_0x31b2ec(0x1f1)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x22d458,async()=>{const _0x4c293b=_0x31b2ec;let _0x2a7146=this[_0x4c293b(0x16c)][_0x4c293b(0x1ef)](_0x3c94c0[_0x4c293b(0x24b)][_0x4c293b(0x15d)]),_0x543855=_0x2a7146==null?void 0x0:_0x2a7146[_0x4c293b(0x1b2)]();if(!_0x543855)return!0x1;this[_0x4c293b(0x16c)][_0x4c293b(0x204)](_0x4976f6);let _0x20c6a8=await this[_0x4c293b(0x18c)]['loadUnit'](_0x4976f6,_0x3c94c0[_0x4c293b(0x24b)][_0x4c293b(0x15d)]);return _0x20c6a8&&_0x20c6a8 instanceof _0x3c94c0[_0x4c293b(0x175)]?(await this[_0x4c293b(0x233)](_0x20c6a8,_0x543855['getSheetId']()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x49944a,_0x8328a3,_0x1ab6b2=!0x1){const _0x2f51be=_0x48825a;let _0x3036fd=(0x0,_0xd2a689[_0x2f51be(0x1e0)])([_0x49944a[_0x2f51be(0x289)]['event$'],_0x49944a[_0x2f51be(0x227)]])[_0x2f51be(0x1b6)](async([_0x24746a,_0x26133e])=>{const _0x21c9d2=_0x2f51be;if(_0x24746a[_0x21c9d2(0x296)]===_0x3aa7bd[_0x21c9d2(0x231)][_0x21c9d2(0x1f9)]&&(_0x26133e==null?void 0x0:_0x26133e['status'])===_0x36b005[_0x21c9d2(0x19e)]['SYNCED']&&_0x24746a['data'][_0x21c9d2(0x1d7)]['some'](_0x33d351=>_0x33d351['id']===_0x3aa7bd['RevertRevisionMutation']['id'])&&await _0x8328a3()){var _0x2bdf58;this[_0x21c9d2(0x160)][_0x21c9d2(0x16d)](),_0x3036fd[_0x21c9d2(0x248)](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x2bdf58=this[_0x21c9d2(0x25a)])==null?void 0x0:_0x2bdf58[_0x21c9d2(0x191)]()),this[_0x21c9d2(0x27e)][_0x21c9d2(0x282)]();}});_0x1ab6b2&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x18bd87=_0x2f51be;_0x3036fd['unsubscribe'](),this['_messageService']['show']({'content':this[_0x18bd87(0x29d)]['t'](_0x18bd87(0x1c8)),'type':_0x3654df[_0x18bd87(0x1d3)][_0x18bd87(0x16e)],'duration':0xbb8});},0x1388));}async[_0x48825a(0x233)](_0x30c2a5,_0x50e648){const _0x261533=_0x48825a;await this['_updateSubUnitFromURLParams'](_0x30c2a5,_0x50e648),_0x30c2a5[_0x261533(0x297)][_0x261533(0x25e)]((0x0,_0xd2a689['takeUntil'])(this[_0x261533(0x27a)]))[_0x261533(0x1b6)](_0x4b3f6e=>{const _0x1ddafa=_0x261533;_0x4b3f6e&&this[_0x1ddafa(0x170)](_0x4b3f6e);}),this[_0x261533(0x1fe)][_0x261533(0x1c1)]['pipe']((0x0,_0xd2a689[_0x261533(0x161)])(this[_0x261533(0x27a)]))[_0x261533(0x1b6)](()=>this[_0x261533(0x1df)](_0x30c2a5,_0x50e648));}[_0x48825a(0x170)](_0x5391c2,_0x445f45=!0x1){const _0x1fb6df=_0x48825a;let _0x3b7d62=this[_0x1fb6df(0x1fe)][_0x1fb6df(0x26f)](_0x1fb6df(0x20b));_0x5391c2[_0x1fb6df(0x1f2)]()!==_0x3b7d62&&this['_urlService'][_0x1fb6df(0x219)](_0x1fb6df(0x20b),_0x5391c2['getSheetId'](),_0x445f45);}async[_0x48825a(0x1df)](_0x39c251,_0x2b101d){const _0x3b2168=_0x48825a;var _0x3a32d2;if(!_0x2b101d||!_0x39c251['getSheetBySheetId'](_0x2b101d)){let _0x44c512=_0x39c251['getUnhiddenWorksheets']()[0x0],_0x1b0ba8=_0x39c251[_0x3b2168(0x1a6)](_0x44c512);if(!_0x1b0ba8)return;this[_0x3b2168(0x170)](_0x1b0ba8,!0x0),await this[_0x3b2168(0x266)]['executeCommand'](_0x439ca9['SetWorksheetActivateCommand']['id'],{'unitId':_0x39c251[_0x3b2168(0x19f)](),'subUnitId':_0x44c512});return;}((_0x3a32d2=_0x39c251[_0x3b2168(0x1b2)]())==null?void 0x0:_0x3a32d2[_0x3b2168(0x1f2)]())!==_0x2b101d&&await this[_0x3b2168(0x266)][_0x3b2168(0x1d5)](_0x439ca9[_0x3b2168(0x226)]['id'],{'unitId':_0x39c251[_0x3b2168(0x19f)](),'subUnitId':_0x2b101d});}};_0x1db700=_0x82e3a8([_0x2d9990(0x0,_0x3c94c0['ICommandService']),_0x2d9990(0x1,_0x1e9ee3['IMenuManagerService']),_0x2d9990(0x2,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3['ComponentManager'])),_0x2d9990(0x3,(0x0,_0x3c94c0['Inject'])(_0x2f1f30)),_0x2d9990(0x4,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['LocaleService'])),_0x2d9990(0x5,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x267)])),_0x2d9990(0x7,_0x36b005[_0x48825a(0x235)]),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x1b5)])),_0x2d9990(0x9,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0xa,_0x470060['IURLService'])],_0x1db700);let _0x43fd83=_0x48825a(0x247),_0x571163=class extends _0x3c94c0[_0x48825a(0x1ec)]{constructor(_0x51245d,_0x486a60,_0x745b7b,_0x30232f,_0xd48032,_0x173133,_0x4a5dee,_0x31ce0c,_0x394043,_0x5f171b){const _0x32e76a=_0x48825a;super(),this[_0x32e76a(0x29d)]=_0x51245d,this[_0x32e76a(0x16c)]=_0x486a60,this['_configService']=_0x745b7b,this[_0x32e76a(0x266)]=_0x30232f,this[_0x32e76a(0x27e)]=_0xd48032,this[_0x32e76a(0x214)]=_0x173133,this['_selectionProtectionRuleModel']=_0x4a5dee,this[_0x32e76a(0x1e3)]=_0x31ce0c,this['_sidebarService']=_0x394043,this[_0x32e76a(0x218)]=_0x5f171b,_0x29e9ee(this,'_historyUniver$',new _0xd2a689[(_0x32e76a(0x172))](null)),_0x29e9ee(this,'historyUniver$',this[_0x32e76a(0x1fc)][_0x32e76a(0x151)]()),_0x29e9ee(this,'_disposableCollection',new _0x3c94c0[(_0x32e76a(0x1da))]()),_0x29e9ee(this,_0x32e76a(0x179),new Map()),_0x29e9ee(this,_0x32e76a(0x22a),null),this[_0x32e76a(0x21c)]();}get[_0x48825a(0x20e)](){const _0x1fbb3c=_0x48825a;return this['_historyUniver$'][_0x1fbb3c(0x1b9)];}[_0x48825a(0x21c)](){const _0x4f8dd2=_0x48825a;this[_0x4f8dd2(0x250)](),this[_0x4f8dd2(0x261)]();}[_0x48825a(0x250)](){const _0x3aba50=_0x48825a;var _0x3fb1ae;let _0x240e02=(_0x3fb1ae=this[_0x3aba50(0x1a0)][_0x3aba50(0x21d)](_0x3aba50(0x255)))==null?_0x3aba50(0x1c9):_0x3fb1ae,_0x4857a9=document[_0x3aba50(0x27f)](_0x240e02);if(!_0x4857a9)return;let _0x169108=document[_0x3aba50(0x21b)](_0x3aba50(0x1a2));_0x169108['id']=_0x43fd83,_0x169108[_0x3aba50(0x1aa)][_0x3aba50(0x217)]=_0x3aba50(0x245),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x1de)]='absolute',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x251)]='0',_0x169108[_0x3aba50(0x17c)]['left']='0',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x1e7)]=_0x3aba50(0x1ae),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x269)]=_0x3aba50(0x1ae),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x27b)]='49',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x29f)]=_0x3aba50(0x1b0),_0x4857a9[_0x3aba50(0x16b)](_0x169108);}[_0x48825a(0x261)](){const _0x6c37b7=_0x48825a;[[_0x487c14['UniverRenderEnginePlugin']],[_0x1e9ee3[_0x6c37b7(0x1a1)],{'container':_0x43fd83,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1e9ee3[_0x6c37b7(0x15b)],null]]}],[_0x4cf1a2[_0x6c37b7(0x294)]],[_0x413f1d[_0x6c37b7(0x263)],{'override':[[_0x413f1d[_0x6c37b7(0x199)],null]]}],[_0x365f97[_0x6c37b7(0x14a)],{'hasScroll':!0x1}],[_0x28cfa4[_0x6c37b7(0x181)]],[_0x34d751[_0x6c37b7(0x21a)]],[_0x439ca9[_0x6c37b7(0x17b)],{'notExecuteFormula':!0x0}],[_0xee6799[_0x6c37b7(0x146)]],[_0x2453e3['UniverSheetsFormulaPlugin']],[_0x545f54[_0x6c37b7(0x1ff)]],[_0x3aa7bd[_0x6c37b7(0x1f6)]],[_0xf68838[_0x6c37b7(0x201)]],[_0x7ab83[_0x6c37b7(0x254)]],[_0x14c3a8[_0x6c37b7(0x220)]],[_0x147ecb['UniverSheetsHyperLinkUIPlugin']],[_0x2852d7[_0x6c37b7(0x185)]],[_0x399974[_0x6c37b7(0x24c)]],[_0x3aafb7[_0x6c37b7(0x274)]],[_0x1011d8[_0x6c37b7(0x293)],{'notExecuteFormula':!0x0}],[_0x4ad995[_0x6c37b7(0x281)]],[_0x1509d9['UniverSheetsDrawingPlugin']],[_0x318ec2[_0x6c37b7(0x1bf)]],[_0x285e93[_0x6c37b7(0x16a)]],[_0x252d57[_0x6c37b7(0x203)]],[_0x11a738[_0x6c37b7(0x1a7)]],[_0x2195a5[_0x6c37b7(0x234)]],[_0x23545e[_0x6c37b7(0x1e6)]],[_0xe89110[_0x6c37b7(0x14f)]],[_0x1232a5[_0x6c37b7(0x264)],{'notExecuteFormula':!0x0}],[_0x4a068e[_0x6c37b7(0x28d)]]][_0x6c37b7(0x1af)](([_0x23bf3e,_0x534a57])=>this[_0x6c37b7(0x260)](_0x23bf3e,_0x534a57));}[_0x48825a(0x1a3)](){const _0x1c0f5d=_0x48825a;super[_0x1c0f5d(0x1a3)](),this[_0x1c0f5d(0x16d)](),this[_0x1c0f5d(0x179)]['clear']();}['registerPlugin'](_0xa348f5,_0x5ea979,_0x5933b4){const _0x38fddf=_0x48825a;if(this[_0x38fddf(0x179)]['has'](_0xa348f5[_0x38fddf(0x273)])&&!_0x5933b4)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0xa348f5[_0x38fddf(0x273)]+_0x38fddf(0x1be));this[_0x38fddf(0x179)][_0x38fddf(0x168)](_0xa348f5[_0x38fddf(0x273)],[_0xa348f5,_0x5ea979]);}[_0x48825a(0x1d0)](){const _0x45428d=_0x48825a;return Array[_0x45428d(0x1ac)](this[_0x45428d(0x179)][_0x45428d(0x278)]());}[_0x48825a(0x26a)](_0x3af8d0,_0x4af5df){const _0x151362=_0x48825a;let _0xaa10e8=document[_0x151362(0x27f)](_0x43fd83);_0xaa10e8&&(_0xaa10e8[_0x151362(0x17c)][_0x151362(0x29f)]=_0x151362(0x1f3),this[_0x151362(0x252)](_0x3af8d0,_0x43fd83,_0x4af5df));}[_0x48825a(0x16d)](){const _0x3a9ed9=_0x48825a;var _0x5cd7a9;this['_disposableCollection'][_0x3a9ed9(0x1a3)](),(_0x5cd7a9=this[_0x3a9ed9(0x20e)])==null||_0x5cd7a9[_0x3a9ed9(0x1a3)](),this['_historyUniver$'][_0x3a9ed9(0x210)](null);let _0x2e3268=document['getElementById'](_0x43fd83);_0x2e3268&&(_0x2e3268[_0x3a9ed9(0x17c)][_0x3a9ed9(0x29f)]='none',this['_internalWebWorker']&&(this[_0x3a9ed9(0x22a)][_0x3a9ed9(0x19c)](),this[_0x3a9ed9(0x22a)]=null));}[_0x48825a(0x252)](_0x159ce3,_0xf58e4b,_0x371d09){const _0x15ddb9=_0x48825a;var _0x4dfcea,_0xce0f38,_0x47fedb,_0x1e5e39;if(this[_0x15ddb9(0x20e)])return;let _0x1077d8=new _0x3c94c0[(_0x15ddb9(0x24f))]({'locales':{[this[_0x15ddb9(0x29d)]['getCurrentLocale']()]:this['_localeService'][_0x15ddb9(0x1cb)]()},'override':[[_0x3c94c0[_0x15ddb9(0x287)],{'useClass':_0x36b005[_0x15ddb9(0x149)]}]]}),_0x283d14=_0x1077d8[_0x15ddb9(0x243)]();this[_0x15ddb9(0x28e)](this[_0x15ddb9(0x218)]['darkMode$'][_0x15ddb9(0x1b6)](_0x324707=>{const _0x4ae980=_0x15ddb9;_0x283d14['get'](_0x3c94c0[_0x4ae980(0x153)])['setDarkMode'](_0x324707);})),this[_0x15ddb9(0x28e)](this[_0x15ddb9(0x218)]['currentTheme$'][_0x15ddb9(0x1b6)](_0x5a1867=>{const _0x433aa2=_0x15ddb9;_0x283d14[_0x433aa2(0x290)](_0x3c94c0['ThemeService'])[_0x433aa2(0x240)](_0x5a1867);})),_0x283d14[_0x15ddb9(0x290)](_0x3c94c0[_0x15ddb9(0x222)])['setLocale'](this[_0x15ddb9(0x29d)]['getCurrentLocale']()),_0x283d14[_0x15ddb9(0x290)](_0x3c94c0['IConfigService'])[_0x15ddb9(0x15e)](_0x36b005[_0x15ddb9(0x223)],this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x36b005[_0x15ddb9(0x223)]));let _0x3a3a66=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x4c9ae8[_0x15ddb9(0x1cd)]);_0x3a3a66&&_0x1077d8[_0x15ddb9(0x260)](_0x4c9ae8[_0x15ddb9(0x145)],{'license':_0x3a3a66['ls']});let _0x4390ab=(_0x4dfcea=this['_configService'][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0x4dfcea[_0x15ddb9(0x244)],_0x214791=!!_0x4390ab;_0x214791&&(this[_0x15ddb9(0x22a)]=_0x4390ab instanceof Worker?_0x4390ab:null,_0x1077d8[_0x15ddb9(0x260)](_0x23e09e[_0x15ddb9(0x26e)],{'workerURL':_0x4390ab})),this[_0x15ddb9(0x179)][_0x15ddb9(0x1af)](([_0x17ab06,_0x20e2df])=>{const _0x3eaf62=_0x15ddb9;_0x1077d8[_0x3eaf62(0x260)](_0x17ab06,_0x20e2df);}),_0x1077d8['registerPlugin'](_0x427580['UniverEditHistoryViewerMobilePlugin'],{'historyListServerUrl':(_0xce0f38=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0xce0f38['historyListServerUrl'],'historyPanelComponentKey':(_0x47fedb=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)]('edit-history-loader.config'))==null?void 0x0:_0x47fedb[_0x15ddb9(0x291)],'historyPanelHidden':(_0x1e5e39=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0x1e5e39[_0x15ddb9(0x276)]}),_0x283d14[_0x15ddb9(0x20a)](_0x12fe0e=>{const _0x42858d=_0x15ddb9;this[_0x42858d(0x1e1)](_0x12fe0e,_0x159ce3);}),this[_0x15ddb9(0x1fc)][_0x15ddb9(0x210)](_0x1077d8);let _0x445a65=_0x283d14[_0x15ddb9(0x290)](_0x427580[_0x15ddb9(0x292)]),_0x16f0ab=this[_0x15ddb9(0x165)](_0x159ce3),_0x4d4df5=()=>{const _0x2faf28=_0x15ddb9;_0x371d09?_0x445a65[_0x2faf28(0x1f5)](_0x159ce3,_0xf58e4b,_0x16f0ab,_0x371d09):_0x445a65[_0x2faf28(0x25b)](_0x159ce3,_0xf58e4b,_0x16f0ab);};if(this[_0x15ddb9(0x27e)][_0x15ddb9(0x1e4)]({'content':this['_localeService']['t']('edit-history-loader.info.initializing'),'type':_0x3654df[_0x15ddb9(0x1d3)][_0x15ddb9(0x27c)]}),_0x214791)try{_0x283d14['get'](_0x23e09e[_0x15ddb9(0x212)])[_0x15ddb9(0x1fa)]()['then'](()=>{_0x4d4df5();});}catch{_0x4d4df5();}else _0x4d4df5();}[_0x48825a(0x1e1)](_0x105230,_0x19f55a){const _0x217b45=_0x48825a;let _0x2171ea=_0x105230[_0x217b45(0x290)](_0x427580[_0x217b45(0x292)]);this[_0x217b45(0x1f8)]['add'](_0x2171ea['status$'][_0x217b45(0x1b6)](_0xf55560=>{const _0x47574e=_0x217b45;switch(_0xf55560){case _0x427580['HistoryModeStatus'][_0x47574e(0x24a)]:this[_0x47574e(0x1e3)][_0x47574e(0x187)](),this[_0x47574e(0x202)][_0x47574e(0x236)]();break;case _0x427580[_0x47574e(0x27d)][_0x47574e(0x182)]:this[_0x47574e(0x266)][_0x47574e(0x1d5)](_0x3afd2f['id']),this[_0x47574e(0x16d)]();break;case _0x427580[_0x47574e(0x27d)][_0x47574e(0x16e)]:this[_0x47574e(0x16d)](),this[_0x47574e(0x27e)][_0x47574e(0x1e4)]({'content':this[_0x47574e(0x29d)]['t'](_0x47574e(0x1a4)),'type':_0x3654df[_0x47574e(0x1d3)]['Error'],'duration':0xbb8});break;default:break;}})),this[_0x217b45(0x1f8)][_0x217b45(0x14c)](_0x2171ea[_0x217b45(0x268)][_0x217b45(0x1b6)](async _0x185f9c=>{const _0x5c146c=_0x217b45;_0x185f9c&&this[_0x5c146c(0x266)][_0x5c146c(0x1d5)](_0x3aa7bd[_0x5c146c(0x225)]['id'],{'unitId':_0x19f55a,'revision':_0x185f9c});}));}[_0x48825a(0x165)](_0x15e4f3){const _0x3f4720=_0x48825a;let _0x2e7ad1=this[_0x3f4720(0x16c)][_0x3f4720(0x174)](_0x15e4f3)[_0x3f4720(0x1f7)]()['map'](_0x48c545=>_0x48c545[_0x3f4720(0x1f2)]()),_0x25bbbb=new _0x439ca9[(_0x3f4720(0x158))](_0x15e4f3)['id'],_0x4a8ea8=_0x2e7ad1[_0x3f4720(0x1ba)](_0x34e445=>new _0x439ca9[(_0x3f4720(0x144))](_0x15e4f3,_0x34e445)['id']),_0x1de83e=_0x2e7ad1[_0x3f4720(0x1ba)](_0x519518=>this[_0x3f4720(0x23b)][_0x3f4720(0x211)](_0x15e4f3,_0x519518)[_0x3f4720(0x1ba)](_0xe47dd2=>new _0x439ca9[(_0x3f4720(0x215))](_0x15e4f3,_0x519518,_0xe47dd2[_0x3f4720(0x272)])['id']))[_0x3f4720(0x26c)](),_0x224634=new _0x439ca9['WorkbookRecoverHistoryPermission'](_0x15e4f3)['id'];return this['_permissionService'][_0x3f4720(0x18e)]([_0x25bbbb,..._0x4a8ea8,..._0x1de83e,_0x224634])[_0x3f4720(0x29e)](_0x5f9c70=>!!_0x5f9c70['value']);}};_0x571163=_0x82e3a8([_0x2d9990(0x0,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['LocaleService'])),_0x2d9990(0x1,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)]),_0x2d9990(0x3,_0x3c94c0['ICommandService']),_0x2d9990(0x4,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x5,_0x3c94c0['IPermissionService']),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x439ca9['RangeProtectionRuleModel'])),_0x2d9990(0x7,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x15b)])),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x154)])),_0x2d9990(0x9,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x153)]))],_0x571163);let _0x59fcca=class extends _0x3c94c0[_0x48825a(0x209)]{constructor(_0xbb987a=_0x44c328,_0x2e0ac2,_0x309897){const _0x165031=_0x48825a;super(),this[_0x165031(0x29a)]=_0xbb987a,this[_0x165031(0x17e)]=_0x2e0ac2,this['_configService']=_0x309897;let {menu:_0x551a75,..._0x4090ee}=(0x0,_0x3c94c0[_0x165031(0x21e)])({},_0x44c328,this[_0x165031(0x29a)]);_0x551a75&&this[_0x165031(0x1a0)]['setConfig'](_0x165031(0x19a),_0x551a75,{'merge':!0x0}),this[_0x165031(0x1a0)][_0x165031(0x15e)](_0x1894ca,_0x4090ee),this['_config'][_0x165031(0x192)]&&this['_configService'][_0x165031(0x15e)](_0x165031(0x255),this[_0x165031(0x29a)][_0x165031(0x192)]);}[_0x48825a(0x1d4)](){const _0xeb63ac=_0x48825a;[[_0x2f1f30,{'useClass':_0x571163}],[_0x1db700]][_0xeb63ac(0x1af)](_0x8f51d2=>this[_0xeb63ac(0x17e)][_0xeb63ac(0x14c)](_0x8f51d2));}[_0x48825a(0x23e)](){const _0x2af3a6=_0x48825a;this[_0x2af3a6(0x17e)][_0x2af3a6(0x290)](_0x1db700);}};_0x29e9ee(_0x59fcca,_0x48825a(0x1f0),_0x3c94c0[_0x48825a(0x24b)][_0x48825a(0x229)]),_0x29e9ee(_0x59fcca,'pluginName','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),_0x29e9ee(_0x59fcca,_0x48825a(0x18f),_0x1a2eed),_0x29e9ee(_0x59fcca,_0x48825a(0x147),_0xfa7619),_0x59fcca=_0x82e3a8([(0x0,_0x3c94c0[_0x48825a(0x1b8)])(_0x4c9ae8[_0x48825a(0x145)]),_0x2d9990(0x1,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x288)])),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)])],_0x59fcca);let _0xc749e8=class extends _0x3c94c0[_0x48825a(0x23f)]{constructor(_0x31e477,_0x4ab390,_0x37df90,_0xc57936,_0x14faaa,_0x323db4,_0x1dc02e,_0x5e9deb,_0x250347,_0x5be6ae,_0x295e56){const _0x1a156e=_0x48825a;super(),this['_commandService']=_0x31e477,this[_0x1a156e(0x271)]=_0x4ab390,this['_componentManager']=_0x37df90,this[_0x1a156e(0x160)]=_0xc57936,this[_0x1a156e(0x29d)]=_0x14faaa,this[_0x1a156e(0x27e)]=_0x323db4,this[_0x1a156e(0x157)]=_0x1dc02e,this[_0x1a156e(0x25a)]=_0x5e9deb,this[_0x1a156e(0x18c)]=_0x250347,this[_0x1a156e(0x16c)]=_0x5be6ae,this[_0x1a156e(0x1fe)]=_0x295e56,_0x29e9ee(this,'_revertErrorTimer',null),this[_0x1a156e(0x21c)]();}['_init'](){const _0x30ed51=_0x48825a;[_0x39d9e5,_0x3afd2f][_0x30ed51(0x1af)](_0x14c9ed=>this[_0x30ed51(0x28e)]((0x0,_0x3c94c0[_0x30ed51(0x26d)])(this[_0x30ed51(0x266)]['registerCommand'](_0x14c9ed)))),this[_0x30ed51(0x28e)](this[_0x30ed51(0x259)][_0x30ed51(0x298)](_0x30ed51(0x184),_0x5938f1)),this['_menuManagerService']['mergeMenu'](_0x332d49),this[_0x30ed51(0x28e)](this[_0x30ed51(0x266)][_0x30ed51(0x1ea)](async(_0x15f94b,_0x5e6b00)=>{const _0x5e7d62=_0x30ed51;if(_0x15f94b['id']===_0x3aa7bd[_0x5e7d62(0x225)]['id']){let {unitId:_0x13a822}=_0x15f94b['params'];this[_0x5e7d62(0x27e)]['show']({'content':this['_localeService']['t'](_0x5e7d62(0x25d)),'type':_0x3654df[_0x5e7d62(0x1d3)]['Loading'],'duration':0x1388});let _0x2255cb=this[_0x5e7d62(0x157)][_0x5e7d62(0x26b)](_0x13a822);_0x5e6b00!=null&&_0x5e6b00[_0x5e7d62(0x183)]?this['_handleRevertAcknowledgement'](_0x2255cb,async()=>(setTimeout(()=>window[_0x5e7d62(0x1f1)]['reload']()),!0x0),!0x0):this[_0x5e7d62(0x1ed)](_0x2255cb,async()=>{const _0x1fae05=_0x5e7d62;let _0x284eca=this['_univerInstanceService'][_0x1fae05(0x1ef)](_0x3c94c0['UniverInstanceType'][_0x1fae05(0x15d)]),_0x5ba38d=_0x284eca==null?void 0x0:_0x284eca[_0x1fae05(0x1b2)]();if(!_0x5ba38d)return!0x1;this['_univerInstanceService'][_0x1fae05(0x204)](_0x13a822);let _0x323570=await this[_0x1fae05(0x18c)]['loadUnit'](_0x13a822,_0x3c94c0[_0x1fae05(0x24b)][_0x1fae05(0x15d)]);return _0x323570&&_0x323570 instanceof _0x3c94c0['Workbook']?(await this[_0x1fae05(0x233)](_0x323570,_0x5ba38d[_0x1fae05(0x1f2)]()),!0x0):!0x1;});}}));}[_0x48825a(0x1ed)](_0x1f5134,_0x26a6d8,_0x1e89ef=!0x1){const _0x4737c2=_0x48825a;let _0x31a36a=(0x0,_0xd2a689['combineLatest'])([_0x1f5134[_0x4737c2(0x289)][_0x4737c2(0x17a)],_0x1f5134[_0x4737c2(0x227)]])[_0x4737c2(0x1b6)](async([_0x541967,_0x32665a])=>{const _0x5ebf5e=_0x4737c2;if(_0x541967[_0x5ebf5e(0x296)]===_0x3aa7bd[_0x5ebf5e(0x231)]['CHANGESET_ACK']&&(_0x32665a==null?void 0x0:_0x32665a[_0x5ebf5e(0x22e)])===_0x36b005[_0x5ebf5e(0x19e)][_0x5ebf5e(0x295)]&&_0x541967[_0x5ebf5e(0x25c)]['mutations'][_0x5ebf5e(0x28b)](_0x30febe=>_0x30febe['id']===_0x3aa7bd['RevertRevisionMutation']['id'])&&await _0x26a6d8()){var _0xd44d39;this[_0x5ebf5e(0x160)]['unMountHistoryContent'](),_0x31a36a[_0x5ebf5e(0x248)](),this['_revertErrorTimer']&&clearTimeout(this[_0x5ebf5e(0x1dc)]),await((_0xd44d39=this['_localCacheService'])==null?void 0x0:_0xd44d39[_0x5ebf5e(0x191)]());}});_0x1e89ef&&(this[_0x4737c2(0x1dc)]=setTimeout(()=>{const _0x1d746f=_0x4737c2;_0x31a36a[_0x1d746f(0x248)](),this['_messageService'][_0x1d746f(0x1e4)]({'content':this['_localeService']['t'](_0x1d746f(0x1c8)),'type':_0x3654df[_0x1d746f(0x1d3)][_0x1d746f(0x16e)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x49e8a4,_0x35f9af){const _0x57587f=_0x48825a;await this[_0x57587f(0x1df)](_0x49e8a4,_0x35f9af),_0x49e8a4['activeSheet$'][_0x57587f(0x25e)]((0x0,_0xd2a689[_0x57587f(0x161)])(this[_0x57587f(0x27a)]))[_0x57587f(0x1b6)](_0x29a4cb=>{const _0x6ce27=_0x57587f;_0x29a4cb&&this[_0x6ce27(0x170)](_0x29a4cb);}),this[_0x57587f(0x1fe)][_0x57587f(0x1c1)][_0x57587f(0x25e)]((0x0,_0xd2a689['takeUntil'])(this[_0x57587f(0x27a)]))[_0x57587f(0x1b6)](()=>this[_0x57587f(0x1df)](_0x49e8a4,_0x35f9af));}[_0x48825a(0x170)](_0x48a552,_0xc4978e=!0x1){const _0xe4eced=_0x48825a;let _0x328367=this[_0xe4eced(0x1fe)][_0xe4eced(0x26f)]('subunit');_0x48a552['getSheetId']()!==_0x328367&&this[_0xe4eced(0x1fe)][_0xe4eced(0x219)](_0xe4eced(0x20b),_0x48a552['getSheetId'](),_0xc4978e);}async['_updateSubUnitFromURLParams'](_0x27160d,_0x28f699){const _0x53ea46=_0x48825a;var _0x4b8558;if(!_0x28f699||!_0x27160d[_0x53ea46(0x1a6)](_0x28f699)){let _0x1c7299=_0x27160d[_0x53ea46(0x239)]()[0x0],_0x18ccb5=_0x27160d[_0x53ea46(0x1a6)](_0x1c7299);if(!_0x18ccb5)return;this[_0x53ea46(0x170)](_0x18ccb5,!0x0),await this[_0x53ea46(0x266)]['executeCommand'](_0x439ca9[_0x53ea46(0x226)]['id'],{'unitId':_0x27160d['getUnitId'](),'subUnitId':_0x1c7299});return;}((_0x4b8558=_0x27160d['getActiveSheet']())==null?void 0x0:_0x4b8558[_0x53ea46(0x1f2)]())!==_0x28f699&&await this['_commandService'][_0x53ea46(0x1d5)](_0x439ca9[_0x53ea46(0x226)]['id'],{'unitId':_0x27160d[_0x53ea46(0x19f)](),'subUnitId':_0x28f699});}};_0xc749e8=_0x82e3a8([_0x2d9990(0x0,_0x3c94c0[_0x48825a(0x22f)]),_0x2d9990(0x1,_0x1e9ee3[_0x48825a(0x176)]),_0x2d9990(0x2,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x152)])),_0x2d9990(0x3,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x2f1f30)),_0x2d9990(0x4,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x222)])),_0x2d9990(0x5,_0x1e9ee3['IMessageService']),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005['CollaborationController'])),_0x2d9990(0x7,_0x36b005[_0x48825a(0x235)]),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x1b5)])),_0x2d9990(0x9,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0xa,_0x470060['IURLService'])],_0xc749e8);let _0x1ff8a5=class extends _0x3c94c0[_0x48825a(0x209)]{constructor(_0x29c8dd=_0x44c328,_0xb4a5cd,_0x1dbdea){const _0x32d69f=_0x48825a;super(),this[_0x32d69f(0x29a)]=_0x29c8dd,this[_0x32d69f(0x17e)]=_0xb4a5cd,this[_0x32d69f(0x1a0)]=_0x1dbdea;let {menu:_0x16d51a,..._0x90f9de}=(0x0,_0x3c94c0['merge'])({},_0x44c328,this['_config']);_0x16d51a&&this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)]('menu',_0x16d51a,{'merge':!0x0}),this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)](_0x1894ca,_0x90f9de),this[_0x32d69f(0x29a)]['univerContainerId']&&this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)](_0x12f481,this[_0x32d69f(0x29a)][_0x32d69f(0x192)]);}['onStarting'](){const _0x3452b8=_0x48825a;[[_0x2f1f30],[_0xc749e8]]['forEach'](_0x130867=>this['_injector'][_0x3452b8(0x14c)](_0x130867));}[_0x48825a(0x23e)](){const _0x5e88f3=_0x48825a;this[_0x5e88f3(0x17e)][_0x5e88f3(0x290)](_0xc749e8);}};_0x29e9ee(_0x1ff8a5,_0x48825a(0x1f0),_0x3c94c0[_0x48825a(0x24b)][_0x48825a(0x229)]),_0x29e9ee(_0x1ff8a5,_0x48825a(0x273),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),_0x29e9ee(_0x1ff8a5,_0x48825a(0x18f),_0x1a2eed),_0x29e9ee(_0x1ff8a5,_0x48825a(0x147),_0xfa7619),_0x1ff8a5=_0x82e3a8([(0x0,_0x3c94c0['DependentOn'])(_0x4c9ae8[_0x48825a(0x145)]),_0x2d9990(0x1,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['Injector'])),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)])],_0x1ff8a5),_0x420f19[_0x48825a(0x253)]=_0x1894ca,Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1c7),{'enumerable':!0x0,'get':function(){return _0x2f1f30;}}),Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1c3),{'enumerable':!0x0,'get':function(){return _0x571163;}}),_0x420f19[_0x48825a(0x1a8)]=_0x39d9e5,_0x420f19[_0x48825a(0x1cc)]=_0x12f481,_0x420f19['UNIVER_HISTORY_CONTAINER_ID']=_0x4e4169,Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1bc),{'enumerable':!0x0,'get':function(){return _0x59fcca;}}),Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x24d),{'enumerable':!0x0,'get':function(){return _0x1ff8a5;}});}));
21
-
22
- // index
23
- (function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));