@univerjs-pro/collaboration-client 1.3.0 → 1.3.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 (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xa473(_0x599d51,_0x1d11d2){_0x599d51=_0x599d51-0x134;const _0x25e971=_0x25e9();let _0xa473de=_0x25e971[_0x599d51];return _0xa473de;}(function(_0x71a21c,_0x17f683){const _0x479885=_0xa473,_0x5bd812=_0x71a21c();while(!![]){try{const _0x52e4a9=-parseInt(_0x479885(0x3a2))/0x1+-parseInt(_0x479885(0x4e3))/0x2+parseInt(_0x479885(0x24d))/0x3+parseInt(_0x479885(0x407))/0x4*(parseInt(_0x479885(0x39b))/0x5)+-parseInt(_0x479885(0x4da))/0x6*(parseInt(_0x479885(0x4d5))/0x7)+parseInt(_0x479885(0x221))/0x8+parseInt(_0x479885(0x4a9))/0x9*(parseInt(_0x479885(0x390))/0xa);if(_0x52e4a9===_0x17f683)break;else _0x5bd812['push'](_0x5bd812['shift']());}catch(_0x4d1ca2){_0x5bd812['push'](_0x5bd812['shift']());}}}(_0x25e9,0x4437f),function(_0x4062a6,_0x1e6edf){const _0x1e5b12=_0xa473;typeof exports==_0x1e5b12(0x497)&&typeof module<'u'?_0x1e6edf(exports,require('@univerjs/network'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs-pro/slides'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x1e5b12(0x34a)]?define([_0x1e5b12(0x377),'@univerjs/network',_0x1e5b12(0x421),_0x1e5b12(0x2c4),'@univerjs/core',_0x1e5b12(0x4aa),_0x1e5b12(0x4a7),'@univerjs/protocol',_0x1e5b12(0x1f1),_0x1e5b12(0x27c),_0x1e5b12(0x187),'@univerjs-pro/license',_0x1e5b12(0x457)],_0x1e6edf):(_0x4062a6=typeof globalThis<'u'?globalThis:_0x4062a6||self,_0x1e6edf(_0x4062a6[_0x1e5b12(0x280)]={},_0x4062a6[_0x1e5b12(0x3e6)],_0x4062a6[_0x1e5b12(0x421)],_0x4062a6['UniverProCollaboration'],_0x4062a6['UniverCore'],_0x4062a6[_0x1e5b12(0x42d)],_0x4062a6[_0x1e5b12(0x206)],_0x4062a6[_0x1e5b12(0x2a3)],_0x4062a6[_0x1e5b12(0x27e)],_0x4062a6[_0x1e5b12(0x421)][_0x1e5b12(0x21d)],_0x4062a6[_0x1e5b12(0x4ad)],_0x4062a6[_0x1e5b12(0x389)],_0x4062a6[_0x1e5b12(0x1a7)]));}(this,function(_0x373490,_0x5e0f50,_0x144f8e,_0x4f9696,_0x19e1e0,_0x444f1a,_0x442e6a,_0xc3615a,_0x211c45,_0x472409,_0x40560a,_0x463499,_0x5aa41c){const _0x2e0def=_0xa473;Object['defineProperty'](_0x373490,Symbol[_0x2e0def(0x25c)],{'value':_0x2e0def(0x449)});let _0x21d492=_0x2e0def(0x20f),_0x2094b3={};function _0x1d231e(_0x347460){'@babel/helpers - typeof';const _0x1beec8=_0x2e0def;return _0x1d231e=typeof Symbol==_0x1beec8(0x139)&&typeof Symbol['iterator']==_0x1beec8(0x472)?function(_0x3f9ae1){return typeof _0x3f9ae1;}:function(_0x4d495d){const _0x2cfc8e=_0x1beec8;return _0x4d495d&&typeof Symbol==_0x2cfc8e(0x139)&&_0x4d495d[_0x2cfc8e(0x315)]===Symbol&&_0x4d495d!==Symbol[_0x2cfc8e(0x17e)]?_0x2cfc8e(0x472):typeof _0x4d495d;},_0x1d231e(_0x347460);}function _0x275534(_0x554233,_0x16762b){const _0x5deb4c=_0x2e0def;if(_0x1d231e(_0x554233)!='object'||!_0x554233)return _0x554233;var _0x3aa435=_0x554233[Symbol[_0x5deb4c(0x1b7)]];if(_0x3aa435!==void 0x0){var _0x500ba3=_0x3aa435[_0x5deb4c(0x1a2)](_0x554233,_0x16762b||_0x5deb4c(0x395));if(_0x1d231e(_0x500ba3)!=_0x5deb4c(0x497))return _0x500ba3;throw TypeError(_0x5deb4c(0x2f3));}return(_0x16762b==='string'?String:Number)(_0x554233);}function _0x3d4c1a(_0x27f461){const _0x3df060=_0x2e0def;var _0x50e3b8=_0x275534(_0x27f461,_0x3df060(0x464));return _0x1d231e(_0x50e3b8)==_0x3df060(0x472)?_0x50e3b8:_0x50e3b8+'';}function _0xc5e065(_0x49f8d5,_0x2094ec,_0x3f4ab2){const _0x53477d=_0x2e0def;return(_0x2094ec=_0x3d4c1a(_0x2094ec))in _0x49f8d5?Object[_0x53477d(0x496)](_0x49f8d5,_0x2094ec,{'value':_0x3f4ab2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x49f8d5[_0x2094ec]=_0x3f4ab2,_0x49f8d5;}var _0x3786f5=class{constructor(_0x1393d0,_0x104219,_0x4912a9={}){const _0x56b6f8=_0x2e0def;this[_0x56b6f8(0x511)]=_0x104219,this[_0x56b6f8(0x316)]=_0x4912a9,_0xc5e065(this,_0x56b6f8(0x1c9),0x0),_0xc5e065(this,_0x56b6f8(0x45b),void 0x0),_0xc5e065(this,_0x56b6f8(0x398),void 0x0),_0xc5e065(this,'_maxAckTimeout',void 0x0),_0xc5e065(this,_0x56b6f8(0x219),0x0),_0xc5e065(this,'_nextDelay',0x0),_0xc5e065(this,'_timer',null),_0xc5e065(this,'_pendingReason',null),_0xc5e065(this,_0x56b6f8(0x384),null),_0xc5e065(this,_0x56b6f8(0x247),0x0),_0xc5e065(this,_0x56b6f8(0x2fe),!0x1),_0xc5e065(this,_0x56b6f8(0x1a9),void 0x0),_0xc5e065(this,_0x56b6f8(0x4cf),void 0x0),this['_reqId']=_0x1393d0,this[_0x56b6f8(0x398)]=_0x4912a9[_0x56b6f8(0x3b8)]??0x4e20,this[_0x56b6f8(0x3d8)]=Math[_0x56b6f8(0x507)](_0x4912a9[_0x56b6f8(0x181)]??0x1d4c0,this[_0x56b6f8(0x398)]),this[_0x56b6f8(0x1a9)]=_0x4912a9['now']??(()=>Date['now']()),this['_firstSentAt']=this[_0x56b6f8(0x1a9)]();}get['reqId'](){return this['_reqId'];}get[_0x2e0def(0x42b)](){const _0x369b9d=_0x2e0def;return this[_0x369b9d(0x1c9)];}get[_0x2e0def(0x29a)](){return this['_nextDelay'];}get[_0x2e0def(0x369)](){const _0x99e28b=_0x2e0def;return this[_0x99e28b(0x1a9)]()-this[_0x99e28b(0x45b)];}[_0x2e0def(0x2c2)](_0x499448){const _0x1097b6=_0x2e0def;if(this[_0x1097b6(0x2fe)])return;this['_source']=_0x499448;let _0x31dd51=this[_0x1097b6(0x443)];_0x31dd51&&(this[_0x1097b6(0x443)]=null,this['_resend'](_0x31dd51));}[_0x2e0def(0x342)](){const _0x3fab8b=_0x2e0def;this[_0x3fab8b(0x384)]=null;}['submit'](_0x5f463b,_0x8fc947,_0x329066){const _0x328f7d=_0x2e0def;this[_0x328f7d(0x2fe)]||(_0x329066&&this['_countResend'](_0x329066),this[_0x328f7d(0x418)](),this[_0x328f7d(0x193)](_0x5f463b),this[_0x328f7d(0x4cf)]=_0x5f463b['reqId']??this[_0x328f7d(0x4cf)],_0x329066&&this[_0x328f7d(0x480)](_0x329066,_0x8fc947));}[_0x2e0def(0x418)](){const _0x59f6f5=_0x2e0def;this[_0x59f6f5(0x1eb)](this[_0x59f6f5(0x398)],_0x59f6f5(0x3f1));}['requestRetry'](_0x2fbf15=_0x2e0def(0x403)){const _0x19275f=_0x2e0def;this[_0x19275f(0x1eb)](this[_0x19275f(0x219)],_0x2fbf15);}[_0x2e0def(0x2d2)](){const _0x41b999=_0x2e0def;this['_disposed']=!0x0,this[_0x41b999(0x3d5)](),this[_0x41b999(0x384)]=null,this[_0x41b999(0x443)]=null;}['_deliver'](_0x1d2793){const _0x42b2cf=_0x2e0def;let _0x409890=++this['_sendToken'],_0x1e01a7;try{_0x1e01a7=this[_0x42b2cf(0x511)](_0x1d2793,{'timeout':this['_ackTimeout']});}catch(_0x1b5398){this['_onRequestFailed'](_0x409890,_0x1b5398);return;}_0x1e01a7 instanceof Promise&&_0x1e01a7[_0x42b2cf(0x2bd)](_0x240ec2=>this[_0x42b2cf(0x479)](_0x409890,_0x240ec2));}[_0x2e0def(0x479)](_0x63594f,_0xd7e4c1){const _0x1b4d9b=_0x2e0def;if(this[_0x1b4d9b(0x2fe)]||_0x63594f!==this['_sendToken'])return;let _0x6ecc71=_0x1e34d9(_0xd7e4c1,this[_0x1b4d9b(0x219)]);_0x6ecc71!==null&&this[_0x1b4d9b(0x1eb)](_0x6ecc71,_0x1b4d9b(0x434));}[_0x2e0def(0x1eb)](_0x4a468d,_0x45cc04){const _0x48ce78=_0x2e0def;this[_0x48ce78(0x2fe)]||(this[_0x48ce78(0x3d5)](),this[_0x48ce78(0x443)]=null,this[_0x48ce78(0x21a)]=_0x4a468d,this[_0x48ce78(0x2fd)]=setTimeout(()=>{const _0x31e3d8=_0x48ce78;this['_timer']=null,this[_0x31e3d8(0x384)]?this['_resend'](_0x45cc04):this[_0x31e3d8(0x443)]=_0x45cc04;},_0x4a468d));}[_0x2e0def(0x186)](_0x3a7a7b){const _0x43c888=_0x2e0def;let _0xee60dd=this[_0x43c888(0x384)];if(!_0xee60dd||this[_0x43c888(0x2fe)])return;let {changeset:_0x4004e9,unsyncedMutationCount:_0x477ac2}=_0xee60dd();this[_0x43c888(0x211)](_0x3a7a7b),this['armAckTimeout'](),this[_0x43c888(0x193)](_0x4004e9),this['_reqId']=_0x4004e9[_0x43c888(0x4b6)]??this['_reqId'],this[_0x43c888(0x480)](_0x3a7a7b,_0x477ac2);}[_0x2e0def(0x211)](_0x3da24e){const _0x2ab611=_0x2e0def;this[_0x2ab611(0x1c9)]+=0x1,_0x3da24e===_0x2ab611(0x403)||_0x3da24e===_0x2ab611(0x434)||_0x3da24e==='license_editing_connections_exceeded'?this[_0x2ab611(0x219)]=this[_0x2ab611(0x219)]===0x0?0x3e8:Math[_0x2ab611(0x48d)](this[_0x2ab611(0x219)]*0x2,0x4e20):_0x3da24e==='ack_timeout'&&(this['_ackTimeout']=Math[_0x2ab611(0x48d)](this['_ackTimeout']*0x2,this[_0x2ab611(0x3d8)]));}[_0x2e0def(0x480)](_0x5a8f2c,_0xfb3da2){const _0x3ae637=_0x2e0def;var _0x3c470c,_0x2d4ae9;this[_0x3ae637(0x2fe)]||(_0x3c470c=(_0x2d4ae9=this[_0x3ae637(0x316)])[_0x3ae637(0x36a)])==null||_0x3c470c[_0x3ae637(0x1a2)](_0x2d4ae9,{'reqId':this['_reqId'],'reason':_0x5a8f2c,'attempt':this[_0x3ae637(0x1c9)],'elapsedMs':this[_0x3ae637(0x369)],'unsyncedMutationCount':_0xfb3da2,'nextDelayMs':this[_0x3ae637(0x398)]});}[_0x2e0def(0x3d5)](){const _0x37da61=_0x2e0def;this['_timer']!=null&&(clearTimeout(this[_0x37da61(0x2fd)]),this['_timer']=null);}};function _0x1e34d9(_0xd40d5f,_0x2fceb1){const _0x385e03=_0x2e0def;if(_0xd40d5f instanceof _0x144f8e['TimeoutError'])return null;if(_0xd40d5f instanceof _0x5e0f50[_0x385e03(0x2a4)]){let _0x180e5a=_0xd40d5f[_0x385e03(0x47d)]??0x0;return _0x180e5a===0x0||_0x180e5a===0x198||_0x180e5a===0x1ad||_0x180e5a>=0x1f4?Math[_0x385e03(0x507)](_0x2fceb1,_0x75a66d(_0xd40d5f)):null;}return _0x2fceb1;}function _0x75a66d(_0x3ef1aa){const _0x597619=_0x2e0def;var _0x490fb4;let _0x64170b=(_0x490fb4=_0x3ef1aa[_0x597619(0x174)])==null||(_0x490fb4=_0x490fb4['get']('retry-after'))==null?void 0x0:_0x490fb4[0x0],_0x5b96d4=_0x64170b===void 0x0?NaN:Number(_0x64170b);return Number['isFinite'](_0x5b96d4)&&_0x5b96d4>0x0?_0x5b96d4*0x3e8:0x0;}function _0x5ad16d(_0xecfd8a){const _0xe863c1=_0x2e0def;return JSON[_0xe863c1(0x39f)](_0xecfd8a)[_0xe863c1(0x4d4)];}let _0xa1c206=function(_0x493d65){const _0x14d6b2=_0x2e0def;return _0x493d65[_0x14d6b2(0x1be)]=_0x14d6b2(0x1be),_0x493d65[_0x14d6b2(0x229)]=_0x14d6b2(0x229),_0x493d65[_0x14d6b2(0x2b0)]=_0x14d6b2(0x2b0),_0x493d65[_0x14d6b2(0x48b)]=_0x14d6b2(0x48b),_0x493d65[_0x14d6b2(0x1ff)]=_0x14d6b2(0x1ff),_0x493d65['CLOSE_ROOM']='CLOSE_ROOM',_0x493d65[_0x14d6b2(0x207)]='JOIN_ROOM_FAILED',_0x493d65[_0x14d6b2(0x184)]='SOCKET_FAILED_RETRY',_0x493d65[_0x14d6b2(0x327)]=_0x14d6b2(0x327),_0x493d65[_0x14d6b2(0x46a)]=_0x14d6b2(0x46a),_0x493d65[_0x14d6b2(0x25e)]=_0x14d6b2(0x25e),_0x493d65;}({});var _0x1bde53=class{constructor(){const _0x11cac9=_0x2e0def;_0xc5e065(this,'_event$',new _0x144f8e['Subject']()),_0xc5e065(this,_0x11cac9(0x4fb),this[_0x11cac9(0x4a3)][_0x11cac9(0x3e8)]());}[_0x2e0def(0x445)](_0x4c8b72){const _0x2bb262=_0x2e0def;this[_0x2bb262(0x4a3)][_0x2bb262(0x30c)](_0x4c8b72);}},_0x2ace56=class{constructor(){const _0x200071=_0x2e0def;_0xc5e065(this,'_commentUpdate$',new _0x144f8e['Subject']()),_0xc5e065(this,_0x200071(0x2c8),this[_0x200071(0x314)][_0x200071(0x3e8)]());}[_0x2e0def(0x344)](_0x8f0d8f){const _0x1a7a14=_0x2e0def;this[_0x1a7a14(0x314)]['next'](_0x8f0d8f);}};function _0x5d2cb5(_0xe7c307,_0x36a203){return function(_0x1e8874,_0x32bfeb){_0x36a203(_0x1e8874,_0x32bfeb,_0xe7c307);};}function _0x37ed50(_0x1a9bf3,_0x16b4b0,_0x1d44a6,_0x35a9a2){const _0xd861a1=_0x2e0def;var _0x20bdbc=arguments[_0xd861a1(0x4d4)],_0x5eae9f=_0x20bdbc<0x3?_0x16b4b0:_0x35a9a2===null?_0x35a9a2=Object[_0xd861a1(0x249)](_0x16b4b0,_0x1d44a6):_0x35a9a2,_0x475fe0;if(typeof Reflect=='object'&&typeof Reflect[_0xd861a1(0x4d2)]==_0xd861a1(0x139))_0x5eae9f=Reflect[_0xd861a1(0x4d2)](_0x1a9bf3,_0x16b4b0,_0x1d44a6,_0x35a9a2);else{for(var _0xb0b5ee=_0x1a9bf3[_0xd861a1(0x4d4)]-0x1;_0xb0b5ee>=0x0;_0xb0b5ee--)(_0x475fe0=_0x1a9bf3[_0xb0b5ee])&&(_0x5eae9f=(_0x20bdbc<0x3?_0x475fe0(_0x5eae9f):_0x20bdbc>0x3?_0x475fe0(_0x16b4b0,_0x1d44a6,_0x5eae9f):_0x475fe0(_0x16b4b0,_0x1d44a6))||_0x5eae9f);}return _0x20bdbc>0x3&&_0x5eae9f&&Object[_0xd861a1(0x496)](_0x16b4b0,_0x1d44a6,_0x5eae9f),_0x5eae9f;}let _0x4be8dc=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(_0x382787){const _0x1920c7=_0x2e0def;super(),this['_univerInstanceService']=_0x382787,_0xc5e065(this,'_roomMembers',new Map()),_0xc5e065(this,_0x1920c7(0x29d),new _0x144f8e[(_0x1920c7(0x2d3))]()),this['disposeWithMe']((0x0,_0x144f8e[_0x1920c7(0x208)])(this[_0x1920c7(0x4d1)][_0x1920c7(0x1ee)](_0x19e1e0[_0x1920c7(0x3e4)][_0x1920c7(0x3c5)])[_0x1920c7(0x251)]((0x0,_0x472409[_0x1920c7(0x417)])(_0x60496a=>_0x60496a[_0x1920c7(0x465)]())),this[_0x1920c7(0x4d1)][_0x1920c7(0x1ee)](_0x19e1e0[_0x1920c7(0x3e4)][_0x1920c7(0x23c)])['pipe']((0x0,_0x472409[_0x1920c7(0x417)])(_0x3cd35a=>_0x3cd35a[_0x1920c7(0x465)]())),this[_0x1920c7(0x4d1)][_0x1920c7(0x1ee)](_0x19e1e0[_0x1920c7(0x3e4)][_0x1920c7(0x27b)])[_0x1920c7(0x251)]((0x0,_0x472409[_0x1920c7(0x417)])(_0x2fc0ed=>_0x2fc0ed[_0x1920c7(0x465)]())),this['_univerInstanceService'][_0x1920c7(0x1ee)](_0x19e1e0[_0x1920c7(0x3e4)][_0x1920c7(0x335)])[_0x1920c7(0x251)]((0x0,_0x472409[_0x1920c7(0x417)])(_0x39ba79=>_0x39ba79[_0x1920c7(0x465)]())))[_0x1920c7(0x341)](_0x281716=>this['_removeRoom'](_0x281716)));}[_0x2e0def(0x410)](_0x166537){const _0x337fb4=_0x2e0def;return this[_0x337fb4(0x1e2)][_0x337fb4(0x39a)](_0x166537)?(0x0,_0x144f8e['of'])(this['_roomMembers'][_0x337fb4(0x264)](_0x166537)):this[_0x337fb4(0x29d)][_0x337fb4(0x251)]((0x0,_0x472409[_0x337fb4(0x417)])(_0x39168c=>{const _0x77ec40=_0x337fb4;if(_0x39168c===_0x166537)return this['_roomMembers'][_0x77ec40(0x264)](_0x39168c);}));}[_0x2e0def(0x48f)](_0x4a3571,_0xdeb7b){const _0x428064=_0x2e0def;let _0x1a5ced=this[_0x428064(0x1e2)]['get'](_0x4a3571);_0x1a5ced||(_0x1a5ced=new _0x43f26c(),this[_0x428064(0x1e2)]['set'](_0x4a3571,_0x1a5ced),this[_0x428064(0x29d)][_0x428064(0x30c)](_0x4a3571)),_0x1a5ced[_0x428064(0x48f)](_0xdeb7b);}[_0x2e0def(0x3e9)](_0xc685ef,_0x13385b){const _0x35d770=_0x2e0def;let _0x5f7b71=this[_0x35d770(0x1e2)]['get'](_0xc685ef);_0x5f7b71&&_0x5f7b71[_0x35d770(0x3e9)](_0x13385b);}[_0x2e0def(0x239)](_0xc3ca86){const _0x18812e=_0x2e0def;return this[_0x18812e(0x1e2)][_0x18812e(0x264)](_0xc3ca86);}['getMember'](_0x1ec563,_0x4db8b6){const _0x153660=_0x2e0def;let _0x559f82=this[_0x153660(0x1e2)][_0x153660(0x264)](_0x1ec563);if(_0x559f82)return _0x559f82[_0x153660(0x516)](_0x4db8b6);}[_0x2e0def(0x28a)](_0x5c2488){const _0x402840=_0x2e0def;let _0x1f9524=this['_roomMembers'][_0x402840(0x264)](_0x5c2488);_0x1f9524&&(_0x1f9524[_0x402840(0x2d2)](),this['_roomMembers'][_0x402840(0x15c)](_0x5c2488));}[_0x2e0def(0x2d2)](){const _0x1a39e7=_0x2e0def;this[_0x1a39e7(0x1e2)][_0x1a39e7(0x307)](_0x1fb7af=>_0x1fb7af[_0x1a39e7(0x2d2)]()),this[_0x1a39e7(0x1e2)][_0x1a39e7(0x1ef)](),this[_0x1a39e7(0x29d)][_0x1a39e7(0x31e)]();}};_0x4be8dc=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x19c)])],_0x4be8dc);var _0x43f26c=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(..._0x4bf66f){const _0x4284f0=_0x2e0def;super(..._0x4bf66f),_0xc5e065(this,'_members',new Map()),_0xc5e065(this,_0x4284f0(0x256),new _0x144f8e['BehaviorSubject'](this[_0x4284f0(0x4d8)])),_0xc5e065(this,_0x4284f0(0x16d),this[_0x4284f0(0x256)]['asObservable']());}['dispose'](){const _0x1bd20f=_0x2e0def;this[_0x1bd20f(0x4d8)][_0x1bd20f(0x1ef)](),this['_members$'][_0x1bd20f(0x31e)]();}[_0x2e0def(0x48f)](_0x254a94){const _0x83b00d=_0x2e0def;this[_0x83b00d(0x4d8)][_0x83b00d(0x236)](_0x254a94[_0x83b00d(0x281)],_0x254a94),this[_0x83b00d(0x23d)]();}[_0x2e0def(0x3e9)](_0x3b8d4d){const _0x367d8c=_0x2e0def;this[_0x367d8c(0x4d8)]['delete'](_0x3b8d4d),this['_emitMembers']();}[_0x2e0def(0x516)](_0x45598f){const _0x359790=_0x2e0def;return this[_0x359790(0x4d8)][_0x359790(0x264)](_0x45598f);}[_0x2e0def(0x135)](){const _0x2bc1e9=_0x2e0def;return Array[_0x2bc1e9(0x43d)](this[_0x2bc1e9(0x4d8)][_0x2bc1e9(0x3b0)]());}[_0x2e0def(0x23d)](){const _0x4e17bd=_0x2e0def;this[_0x4e17bd(0x256)]['next'](this[_0x4e17bd(0x4d8)]);}};function _0x5096a2(_0x18c3de,_0x1a8cba){const _0x30f2ec=_0x2e0def;if(_0x137641(_0x18c3de))return _0x1a8cba;if(_0x1a8cba['eventID']===_0x4f9696[_0x30f2ec(0x257)][_0x30f2ec(0x2e6)]){let _0xf778e1=_0x3379fa(_0x18c3de),_0x580731=_0x1a8cba;return{..._0x580731,'data':{..._0x580731[_0x30f2ec(0x28c)],'unitID':_0x18c3de[_0x30f2ec(0x4b3)][_0x30f2ec(0x26e)],'unitType':_0x18c3de[_0x30f2ec(0x4b3)]['unitType']??_0x580731[_0x30f2ec(0x28c)]['unitType'],'changeset':_0xf778e1['toRemote'](_0x580731[_0x30f2ec(0x28c)]['changeset'],_0x53c76e(_0x18c3de))}};}if(_0x1a8cba['eventID']===_0x4f9696[_0x30f2ec(0x257)][_0x30f2ec(0x444)]){let _0x29ec4c=_0x1a8cba;return{..._0x29ec4c,'data':{..._0x29ec4c[_0x30f2ec(0x28c)],'unitID':_0x18c3de[_0x30f2ec(0x4b3)]['unitId'],'unitType':_0x18c3de[_0x30f2ec(0x4b3)][_0x30f2ec(0x222)]??_0x29ec4c[_0x30f2ec(0x28c)][_0x30f2ec(0x222)]}};}return _0x1a8cba;}function _0x4e0a1c(_0x1fd85f,_0x4da1c2){const _0x308819=_0x2e0def;if(_0x137641(_0x1fd85f))return[_0x4da1c2];switch(_0x4da1c2['eventID']){case _0x4f9696[_0x308819(0x257)]['NEW_CHANGESETS']:return[_0x2d3784(_0x1fd85f,_0x4da1c2)];case _0x4f9696['CollaborationEvent'][_0x308819(0x4b0)]:return[_0x5861e7(_0x1fd85f,_0x4da1c2)];case _0x4f9696[_0x308819(0x257)][_0x308819(0x28b)]:return[_0x3c3e38(_0x1fd85f,_0x4da1c2)];default:return[_0x4da1c2];}}function _0x137641(_0x9098fe){const _0x29d576=_0x2e0def;return _0x9098fe['target'][_0x29d576(0x3ee)]==null&&_0x9098fe['target'][_0x29d576(0x26e)]===_0x9098fe['localUnitId']&&!_0x9098fe[_0x29d576(0x3cb)];}function _0x2d3784(_0x572682,_0x17795e){const _0x337e38=_0x2e0def;return{..._0x17795e,'data':(0x0,_0x4f9696[_0x337e38(0x1bd)])(_0x589e43(_0x572682,(0x0,_0x4f9696[_0x337e38(0x1d9)])(_0x17795e[_0x337e38(0x28c)])))};}function _0x3c3e38(_0x25628c,_0x231552){return{..._0x231552,'data':_0x589e43(_0x25628c,_0x231552['data'])};}function _0x5861e7(_0x396ba5,_0x17f8cd){const _0x5149c3=_0x2e0def;let _0x324a57=_0x17f8cd['data'];return{..._0x17f8cd,'data':{..._0x324a57,'changesets':_0x324a57['changesets']['map'](_0x57fc59=>(0x0,_0x4f9696[_0x5149c3(0x1bd)])(_0x589e43(_0x396ba5,(0x0,_0x4f9696[_0x5149c3(0x1d9)])(_0x57fc59))))}};}function _0x589e43(_0x2e68dd,_0x14d2c1){const _0x378173=_0x2e0def;return _0x3379fa(_0x2e68dd)[_0x378173(0x173)](_0x14d2c1,_0x53c76e(_0x2e68dd));}function _0x3379fa(_0x17b0fb){const _0x3a0e78=_0x2e0def;if(!_0x17b0fb[_0x3a0e78(0x3cb)])throw Error(_0x3a0e78(0x292));return _0x17b0fb[_0x3a0e78(0x3cb)];}function _0x53c76e(_0x267f6b){const _0x5044c3=_0x2e0def;return{'localUnitId':_0x267f6b['localUnitId'],'unitType':_0x267f6b[_0x5044c3(0x222)],'target':_0x267f6b[_0x5044c3(0x4b3)]};}let _0x27c288=function(_0x49bc59){const _0x243597=_0x2e0def;return _0x49bc59[_0x49bc59[_0x243597(0x295)]=0x0]='IDLE',_0x49bc59[_0x49bc59[_0x243597(0x16e)]=0x1]='JOINING',_0x49bc59[_0x49bc59['OFFLINE']=0x2]=_0x243597(0x2cf),_0x49bc59[_0x49bc59[_0x243597(0x153)]=0x3]=_0x243597(0x153),_0x49bc59;}({}),_0x50aa9b={[_0xc3615a[_0x2e0def(0x4e0)][_0x2e0def(0x396)]]:_0x2e0def(0x4e4),[_0xc3615a['CmdRspCode'][_0x2e0def(0x41b)]]:'session.room-full',[_0xc3615a[_0x2e0def(0x4e0)][_0x2e0def(0x159)]]:_0x2e0def(0x494),[_0xc3615a['CmdRspCode'][_0x2e0def(0x41d)]]:_0x2e0def(0x39e),[_0xc3615a[_0x2e0def(0x4e0)]['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'},_0x50bd25=class extends _0x19e1e0[_0x2e0def(0x505)]{get[_0x2e0def(0x2ad)](){const _0x4209b0=_0x2e0def;return this['_sessionStatus$'][_0x4209b0(0x1fe)]();}constructor(_0x366d9f,_0x5b525d,_0x124306,_0x5c8b13,_0x398e0b,_0x41d9e0,_0x51909b){const _0x8ff505=_0x2e0def;super(),this[_0x8ff505(0x179)]=_0x366d9f,this[_0x8ff505(0x4b1)]=_0x124306,this[_0x8ff505(0x42e)]=_0x5c8b13,this[_0x8ff505(0x423)]=_0x398e0b,this[_0x8ff505(0x3d1)]=_0x41d9e0,this[_0x8ff505(0x170)]=_0x51909b,_0xc5e065(this,_0x8ff505(0x299),new _0x144f8e[(_0x8ff505(0x49d))](0x0)),_0xc5e065(this,_0x8ff505(0x3e1),this[_0x8ff505(0x299)][_0x8ff505(0x3e8)]()),_0xc5e065(this,_0x8ff505(0x4a3),new _0x144f8e[(_0x8ff505(0x2d3))]()),_0xc5e065(this,_0x8ff505(0x4fb),this[_0x8ff505(0x4a3)]['asObservable']()),_0xc5e065(this,'_socket',void 0x0),_0xc5e065(this,_0x8ff505(0x47b),void 0x0),_0xc5e065(this,_0x8ff505(0x158),!0x1),_0xc5e065(this,_0x8ff505(0x2f4),null),this[_0x8ff505(0x158)]=!!this['_telemetryService'],_0x5b525d[_0x8ff505(0x251)]((0x0,_0x144f8e[_0x8ff505(0x357)])(this[_0x8ff505(0x24e)]))[_0x8ff505(0x341)](_0x1f6ef7=>{const _0x2e368d=_0x8ff505;if(_0x1f6ef7!==void 0x0){if(this[_0x2e368d(0x1e8)]=_0x1f6ef7,_0x1f6ef7)this[_0x2e368d(0x3c6)](_0x1f6ef7),this[_0x2e368d(0x47b)]=_0x1f6ef7[_0x2e368d(0x275)][_0x2e368d(0x341)](_0xc9f3ec=>{const _0xec38f6=_0x2e368d;_0xc9f3ec['routeKey']===this[_0xec38f6(0x179)][_0xec38f6(0x4b3)][_0xec38f6(0x26e)]&&this[_0xec38f6(0x4ca)](_0xc9f3ec);});else{var _0x10aebd;this[_0x2e368d(0x3db)](),this['_sessionStatus$'][_0x2e368d(0x30c)](0x2),(_0x10aebd=this[_0x2e368d(0x47b)])==null||_0x10aebd[_0x2e368d(0x45a)](),this['_socketMessageSubscription']=null;}}});}[_0x2e0def(0x168)](){const _0x2cbf7b=_0x2e0def;var _0x110bf9;return((_0x110bf9=this[_0x2cbf7b(0x1e8)])==null?void 0x0:_0x110bf9['memberID'])??null;}[_0x2e0def(0x2d2)](){const _0x3daa68=_0x2e0def;super[_0x3daa68(0x2d2)](),this[_0x3daa68(0x4b9)](),this['dispose$'][_0x3daa68(0x30c)](),this[_0x3daa68(0x24e)][_0x3daa68(0x31e)]();}[_0x2e0def(0x4b9)](){const _0x548ebd=_0x2e0def;var _0x3931a8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3931a8=this['_socket'])==null||_0x3931a8[_0x548ebd(0x388)]({'cmd':_0xc3615a[_0x548ebd(0x349)][_0x548ebd(0x2c1)],'data':{'roomID':this[_0x548ebd(0x179)][_0x548ebd(0x4b3)][_0x548ebd(0x26e)]}}),this[_0x548ebd(0x4a3)][_0x548ebd(0x31e)](),this['_sessionStatus$'][_0x548ebd(0x31e)]();}['_onCombEvent'](_0x29a8d7){const _0x57de71=_0x2e0def;_0x29a8d7[_0x57de71(0x43f)]===_0xc3615a[_0x57de71(0x349)][_0x57de71(0x35a)]?this[_0x57de71(0x339)](_0x29a8d7):_0x29a8d7[_0x57de71(0x43f)]===_0xc3615a['CombCmd']['RECV']&&this[_0x57de71(0x4ec)](_0x29a8d7);}[_0x2e0def(0x3c6)](_0x297e82){const _0x12b29a=_0x2e0def;this['_sessionStatus$'][_0x12b29a(0x30c)](0x1),_0x297e82['send']({'cmd':_0xc3615a[_0x12b29a(0x349)][_0x12b29a(0x35a)],'routeKey':this[_0x12b29a(0x179)][_0x12b29a(0x4b3)][_0x12b29a(0x26e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x12b29a(0x179)]['target'][_0x12b29a(0x26e)]}]}});}[_0x2e0def(0x339)](_0x33c8db){const _0xb6cad5=_0x2e0def;var _0x26ff0c;if(_0x33c8db[_0xb6cad5(0x1cd)]in _0x50aa9b){this[_0xb6cad5(0x3d1)]['emitEvent']({'id':'JOIN_ROOM_FAILED','data':_0x50aa9b[_0x33c8db[_0xb6cad5(0x1cd)]]}),this[_0xb6cad5(0x299)][_0xb6cad5(0x30c)](0x2);return;}this['_sessionStatus$'][_0xb6cad5(0x30c)](0x3);let _0x1763cc=(_0x26ff0c=_0x33c8db[_0xb6cad5(0x28c)][_0xb6cad5(0x526)][this[_0xb6cad5(0x179)]['target'][_0xb6cad5(0x26e)]])==null?void 0x0:_0x26ff0c['members'];_0x1763cc&&_0x1763cc[_0xb6cad5(0x307)](_0x392cee=>this['_memberService'][_0xb6cad5(0x48f)](this[_0xb6cad5(0x179)][_0xb6cad5(0x474)],_0x392cee));}[_0x2e0def(0x4ec)](_0xe1dec){const _0x385c2f=_0x2e0def;try{let _0x1b542c=_0x4e0a1c(this[_0x385c2f(0x179)],_0xe1dec[_0x385c2f(0x28c)]);for(let _0xfc5561 of _0x1b542c)switch(_0xfc5561[_0x385c2f(0x1f2)]){case _0x4f9696[_0x385c2f(0x257)][_0x385c2f(0x1ba)]:this[_0x385c2f(0x426)](_0xfc5561),this[_0x385c2f(0x4a3)]['next'](_0xfc5561);break;case _0x4f9696[_0x385c2f(0x257)][_0x385c2f(0x3de)]:this['_onUserLeave'](_0xfc5561),this[_0x385c2f(0x4a3)][_0x385c2f(0x30c)](_0xfc5561);break;case _0x4f9696[_0x385c2f(0x257)][_0x385c2f(0x3b2)]:case _0x4f9696[_0x385c2f(0x257)]['CHANGESET_SHOULD_RETRY']:this[_0x385c2f(0x183)](),this[_0x385c2f(0x4a3)][_0x385c2f(0x30c)](_0xfc5561);break;case _0x4f9696[_0x385c2f(0x257)][_0x385c2f(0x354)]:this['_logService']['error'](_0x385c2f(0x4cb)+JSON[_0x385c2f(0x39f)](_0xfc5561)),this[_0x385c2f(0x4a3)]['next'](_0xfc5561);break;case _0x4f9696[_0x385c2f(0x257)]['COMMENT_UPDATE']:this['_commentService'][_0x385c2f(0x344)](_0xfc5561['data']),this[_0x385c2f(0x4a3)][_0x385c2f(0x30c)](_0xfc5561);break;default:this[_0x385c2f(0x4a3)]['next'](_0xfc5561);}}catch(_0x3e71aa){this[_0x385c2f(0x4b1)][_0x385c2f(0x340)](_0x3e71aa,_0xe1dec);}}[_0x2e0def(0x426)](_0x4aec28){const _0x1015a3=_0x2e0def;this[_0x1015a3(0x42e)][_0x1015a3(0x48f)](this[_0x1015a3(0x179)][_0x1015a3(0x474)],_0x4aec28[_0x1015a3(0x28c)]);}[_0x2e0def(0x13d)](_0x2f85e7){const _0x49ab2a=_0x2e0def;this[_0x49ab2a(0x42e)][_0x49ab2a(0x3e9)](this[_0x49ab2a(0x179)][_0x49ab2a(0x474)],_0x2f85e7[_0x49ab2a(0x28c)]['memberID']);}async[_0x2e0def(0x388)](_0x4f9b04,_0x35713d,_0x34d4f2){const _0xd7d648=_0x2e0def;if(this['sessionStatus']!==0x3||!this[_0xd7d648(0x1e8)])throw Error(_0xd7d648(0x484));try{let _0x43c49a=_0x5096a2(this['_identity'],_0x4f9b04);_0x43c49a[_0xd7d648(0x1f2)]===_0x4f9696[_0xd7d648(0x257)][_0xd7d648(0x2e6)]&&this[_0xd7d648(0x4bb)](_0x43c49a);let _0x86bfc8={'cmd':_0xc3615a[_0xd7d648(0x349)][_0xd7d648(0x26c)],'routeKey':this[_0xd7d648(0x179)][_0xd7d648(0x4b3)][_0xd7d648(0x26e)],'routeType':'','data':_0x43c49a};return _0x34d4f2===void 0x0?this['_socket'][_0xd7d648(0x388)](_0x86bfc8):this[_0xd7d648(0x1e8)][_0xd7d648(0x388)](_0x86bfc8,_0x34d4f2);}catch(_0xd6bb0f){this['_logService'][_0xd7d648(0x340)](_0xd6bb0f);}}['_startTelemetryCollaborationNewChangeset'](_0x3516b3){const _0x30bc5c=_0x2e0def;if(!this[_0x30bc5c(0x158)])return;let {data:_0x2544c6}=_0x3516b3,{unitID:_0x5ea9b1,changeset:_0x509e96}=_0x2544c6,{mutations:_0x19a15d,type:_0x168330}=_0x509e96;this[_0x30bc5c(0x2f4)]={'unitId':_0x5ea9b1,'type':_0x168330,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5ad16d(_0x19a15d)};}[_0x2e0def(0x183)](){const _0x427233=_0x2e0def;this[_0x427233(0x158)]&&(this[_0x427233(0x2f4)]?(this[_0x427233(0x2f4)][_0x427233(0x3df)]=performance[_0x427233(0x198)](),this[_0x427233(0x2f4)][_0x427233(0x3a3)]=this[_0x427233(0x2f4)][_0x427233(0x3df)]-this[_0x427233(0x2f4)][_0x427233(0x1ed)],this['_telemetryService'][_0x427233(0x1f6)]('collaboration_new_changeset',this[_0x427233(0x2f4)]),this[_0x427233(0x2f4)]=null):this[_0x427233(0x4b1)][_0x427233(0x340)]('[CollaborationSession]',_0x427233(0x367)));}['_throwTelemetryCollaborationNewChangeset'](){const _0x31d807=_0x2e0def;this[_0x31d807(0x2f4)]=null;}};_0x50bd25=_0x37ed50([_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4be8dc)),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x2ace56)),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53)),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x211c45[_0x2e0def(0x3cf)]))],_0x50bd25);let _0x5700e5=(0x0,_0x19e1e0[_0x2e0def(0x373)])(_0x2e0def(0x3d6));function _0x35584b(_0xc6942b,_0x52669d){const _0x2d1700=_0x2e0def;return _0x52669d===''||_0x52669d==null?_0x2d1700(0x405)+_0xc6942b:_0x2d1700(0x405)+_0xc6942b+'-'+encodeURIComponent(_0x52669d);}function _0x5ac8ea(_0x3250fc){const _0x40e9e7=_0x2e0def;let {unitID:_0x2abc9b,mutations:_0x32d4db}=_0x3250fc;return{'unitId':_0x2abc9b,'subUnitId':_0x32d4db[_0x40e9e7(0x4d4)]>0x0?_0x32d4db[0x0][_0x40e9e7(0x4b2)][_0x40e9e7(0x34e)]:null};}let _0x95e1bd=class{constructor(_0x135beb,_0x547615,_0x2fe2de){const _0x213e5=_0x2e0def;this[_0x213e5(0x196)]=_0x135beb,this[_0x213e5(0x4e2)]=_0x547615,this['_instanceService']=_0x2fe2de;}[_0x2e0def(0x322)](_0x530cf9){const _0x3da3b8=_0x2e0def;var _0x4511e4,_0x533497;let _0x4a7eb8=this['_injector'][_0x3da3b8(0x264)](_0x442e6a[_0x3da3b8(0x468)]),{unitId:_0x4cf768,subUnitId:_0x2190a3}=_0x5ac8ea(_0x530cf9),_0xbb0c44=_0x4a7eb8==null?void 0x0:_0x4a7eb8['getWorkbookSelections'](_0x4cf768)[_0x3da3b8(0x1e5)](),_0x3678dd=(_0x4511e4=this[_0x3da3b8(0x413)][_0x3da3b8(0x16b)](_0x4cf768))==null||(_0x4511e4=_0x4511e4['getActiveSheet']())==null?void 0x0:_0x4511e4[_0x3da3b8(0x2fa)]();if(_0xbb0c44[_0x3da3b8(0x4d4)]===0x0||!_0x4cf768||!_0x2190a3)return;let _0x1a6414=[{'id':_0x442e6a['SetSelectionsOperation']['id'],'params':{'unitId':_0x4cf768,'subUnitId':_0x3678dd,'selections':_0x19e1e0[_0x3da3b8(0x372)][_0x3da3b8(0x2f9)](_0xbb0c44)}}],_0x4ef825=this[_0x3da3b8(0x4e2)][_0x3da3b8(0x493)](_0x530cf9,_0x1a6414);if(!(0x0,_0x4f9696[_0x3da3b8(0x43e)])(_0x4ef825))throw _0x4ef825[_0x3da3b8(0x340)];let _0x14470d=(_0x533497=_0x4ef825['m2Prime'][0x0])==null||(_0x533497=_0x533497[_0x3da3b8(0x4b2)])==null?void 0x0:_0x533497['selections'];if(Array[_0x3da3b8(0x521)](_0x14470d)&&_0x14470d['length']){if(_0x14470d[_0x3da3b8(0x4d4)]===_0x1a6414[0x0][_0x3da3b8(0x4b2)]['selections'][_0x3da3b8(0x4d4)]&&_0x14470d[_0x3da3b8(0x285)]((_0x1db5b6,_0x1f068f)=>_0x19e1e0[_0x3da3b8(0x1fa)][_0x3da3b8(0x4bc)](_0x1db5b6[_0x3da3b8(0x44a)],_0x1a6414[0x0][_0x3da3b8(0x4b2)][_0x3da3b8(0x1e4)][_0x1f068f]['range'])))return;this['_injector'][_0x3da3b8(0x264)](_0x19e1e0[_0x3da3b8(0x481)])[_0x3da3b8(0x383)](_0x442e6a[_0x3da3b8(0x138)]['id'],{'unitId':_0x4cf768,'subUnitId':_0x3678dd,'selections':_0x14470d});}}};_0x95e1bd=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x1,_0x4f9696['ITransformService']),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x19c)])],_0x95e1bd);let _0x472208=(0x0,_0x19e1e0[_0x2e0def(0x373)])(_0x2e0def(0x2ce)),_0x2f6ede=function(_0x393dec){const _0x1b9a98=_0x2e0def;return _0x393dec[_0x393dec[_0x1b9a98(0x4d3)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x393dec[_0x393dec[_0x1b9a98(0x24b)]=0x1]=_0x1b9a98(0x24b),_0x393dec;}({});function _0x2696c0(_0x3d5e01){const _0x301cb9=_0x2e0def;var _0x278943;return!!((_0x278943=_0x3d5e01[_0x301cb9(0x4b2)])!=null&&_0x278943[_0x301cb9(0x4ed)]);}let _0x3e3c60=new Set([_0x442e6a[_0x2e0def(0x4fe)]['id']]),_0x3d16d4=new Set([_0x40560a[_0x2e0def(0x446)]['id'],_0x40560a[_0x2e0def(0x155)]['id'],_0x40560a[_0x2e0def(0x319)]['id'],_0x40560a[_0x2e0def(0x514)]['id']]);function _0x271547(_0x424147,_0x547f2d=_0x3e3c60){let _0xbe93e5=[];for(let _0x1f6fed of _0x424147){if(_0x547f2d['has'](_0x1f6fed['id'])||_0x2696c0(_0x1f6fed)){if(_0xbe93e5['length']>0x0)break;_0xbe93e5['push'](_0x1f6fed);break;}_0xbe93e5['push'](_0x1f6fed);}return _0xbe93e5;}function _0x1e2b23(_0x2e4b79,_0x1d01ec,_0x50d83f,_0x169d98,_0x36c797){const _0x28a230=_0x2e0def;let _0x195af5=_0x271547(_0x2e4b79),_0x1e6414=_0x36c797[_0x28a230(0x1da)](),_0x3d245a=(_0x1e6414==null?void 0x0:_0x1e6414[_0x28a230(0x2a1)])??'unknown',_0x1bd243=(_0x1e6414==null?void 0x0:_0x1e6414[_0x28a230(0x281)])??_0x28a230(0x3fd);return{'changeset':{'unitID':_0x1d01ec,'type':(0x0,_0x4f9696[_0x28a230(0x438)])(_0x50d83f[_0x28a230(0x1d4)](_0x1d01ec)),'baseRev':_0x169d98[_0x28a230(0x288)](_0x1d01ec),'revision':0x0,'userID':_0x3d245a,'memberID':_0x1bd243,'mutations':_0x195af5},'pendingMutations':_0x2e4b79[_0x28a230(0x328)](_0x195af5[_0x28a230(0x4d4)])};}let _0x1938e9=_0x1e2b23;function _0x3c006b(_0xc5797d,_0x4a6d84,_0xaa1859,_0x194842,_0x3e9ffe){const _0x48ed23=_0x2e0def;let _0x251720=_0x271547(_0xc5797d,_0x3d16d4),_0x2de99f=_0x3e9ffe[_0x48ed23(0x1da)](),_0x27f33b=(_0x2de99f==null?void 0x0:_0x2de99f[_0x48ed23(0x2a1)])??_0x48ed23(0x3fd),_0x1b917a=(_0x2de99f==null?void 0x0:_0x2de99f['memberID'])??_0x48ed23(0x3fd);return{'changeset':{'unitID':_0x4a6d84,'type':(0x0,_0x4f9696[_0x48ed23(0x438)])(_0xaa1859[_0x48ed23(0x1d4)](_0x4a6d84)),'baseRev':_0x194842[_0x48ed23(0x288)](_0x4a6d84),'revision':0x0,'userID':_0x27f33b,'memberID':_0x1b917a,'mutations':_0x251720},'pendingMutations':_0xc5797d[_0x48ed23(0x328)](_0x251720['length'])};}function _0x4c2a00(_0x18f796,_0x3bfe8c,_0x55c39a,_0x37ac79,_0x4ced62){const _0x28f5bf=_0x2e0def;let _0x484c73=_0x18f796[_0x28f5bf(0x3cd)]((_0x4518d6,_0x32bcda)=>{const _0x1e3ddd=_0x28f5bf;let _0x327ac2=_0x4518d6[_0x4518d6['length']-0x1],{id:_0x415b1d}=_0x327ac2??{},{id:_0x535977,type:_0x477b19}=_0x32bcda,_0xeeec59=_0x32bcda['params'];if(_0x415b1d&&_0x415b1d!==_0x535977)throw Error(_0x1e3ddd(0x2d0)+_0x415b1d+_0x1e3ddd(0x441)+_0x535977+'.');if(!_0x327ac2)return[{'id':_0x535977,'type':_0x477b19,'params':{'unitId':_0xeeec59[_0x1e3ddd(0x26e)],'textRanges':_0xeeec59[_0x1e3ddd(0x2b2)],'actions':_0xeeec59[_0x1e3ddd(0x17d)]}}];let _0x2fe6db=_0x327ac2[_0x1e3ddd(0x4b2)];return _0x3397d9(_0x2fe6db,_0xeeec59)?[..._0x4518d6[_0x1e3ddd(0x328)](0x0,-0x1),{..._0x327ac2,'id':_0x535977,'type':_0x477b19,'params':{'unitId':_0xeeec59['unitId'],'textRanges':_0xeeec59[_0x1e3ddd(0x2b2)],'actions':_0x19e1e0[_0x1e3ddd(0x370)][_0x1e3ddd(0x1db)](_0x2fe6db[_0x1e3ddd(0x17d)],_0xeeec59[_0x1e3ddd(0x17d)])}}]:[..._0x4518d6,{'id':_0x535977,'type':_0x477b19,'params':{'unitId':_0xeeec59['unitId'],'textRanges':_0xeeec59['textRanges'],'actions':_0xeeec59[_0x1e3ddd(0x17d)]}}];},[]),_0x40dfca=_0x4ced62['getCurrentUser'](),_0x36b4a1=(_0x40dfca==null?void 0x0:_0x40dfca[_0x28f5bf(0x2a1)])??_0x28f5bf(0x3fd),_0x34963f=(_0x40dfca==null?void 0x0:_0x40dfca['memberID'])??_0x28f5bf(0x3fd);return{'changeset':{'unitID':_0x3bfe8c,'type':(0x0,_0x4f9696['mapDocumentTypeToUniverInstanceType'])(_0x55c39a[_0x28f5bf(0x1d4)](_0x3bfe8c)),'baseRev':_0x37ac79[_0x28f5bf(0x288)](_0x3bfe8c),'revision':0x0,'userID':_0x36b4a1,'memberID':_0x34963f,'mutations':_0x484c73},'pendingMutations':_0x18f796[_0x28f5bf(0x328)](_0x18f796[_0x28f5bf(0x4d4)])};}function _0x3397d9(_0x495071,_0x57dbde){const _0xab3c4c=_0x2e0def;return!_0x5e9454(_0x495071)&&!_0x5e9454(_0x57dbde)&&_0x3f8421(_0x495071[_0xab3c4c(0x17d)],_0x57dbde[_0xab3c4c(0x17d)]);}function _0x5e9454(_0x1716e8){return _0x1716e8['isCompositionEnd']!==void 0x0;}function _0x3f8421(_0x3184f3,_0x3d320f){return _0x514825(_0x3184f3)&&_0x514825(_0x3d320f)&&!_0x4141b4(_0x3184f3)&&!_0x4141b4(_0x3d320f)&&!_0x97862c(_0x3184f3)&&!_0x97862c(_0x3d320f);}function _0x514825(_0x3335ec){const _0x2d91cd=_0x2e0def;return _0x354f3f(_0x3335ec)[_0x2d91cd(0x202)](_0x69e425=>_0x46f627(_0x69e425)&&_0x69e425['et']===_0x2d91cd(0x425));}function _0x97862c(_0x116d1f){const _0x1ee9e0=_0x2e0def;return _0x354f3f(_0x116d1f)['some'](_0xe3612e=>Array[_0x1ee9e0(0x521)](_0xe3612e)||typeof _0xe3612e==_0x1ee9e0(0x464)||typeof _0xe3612e==_0x1ee9e0(0x137));}function _0x4141b4(_0x327d89){const _0x4c8eea=_0x2e0def;return _0x354f3f(_0x327d89)[_0x4c8eea(0x202)](_0x1576e3=>!_0x46f627(_0x1576e3)||_0x1576e3['et']!==_0x4c8eea(0x425)||!Array[_0x4c8eea(0x521)](_0x1576e3['e'])?!0x1:_0x1576e3['e'][_0x4c8eea(0x202)](_0x499f15=>!_0x46f627(_0x499f15)||!_0x46f627(_0x499f15['body'])?!0x1:Object[_0x4c8eea(0x17e)][_0x4c8eea(0x412)][_0x4c8eea(0x1a2)](_0x499f15['body'],_0x4c8eea(0x406))||Object[_0x4c8eea(0x17e)][_0x4c8eea(0x412)]['call'](_0x499f15[_0x4c8eea(0x2c0)],'columnGroups')||Object[_0x4c8eea(0x17e)]['hasOwnProperty'][_0x4c8eea(0x1a2)](_0x499f15[_0x4c8eea(0x2c0)],_0x4c8eea(0x51f))));}function _0x354f3f(_0x87935b){const _0x2386ca=_0x2e0def;if(!Array[_0x2386ca(0x521)](_0x87935b))return[];let _0x4beff8=_0x87935b['includes'](_0x2386ca(0x2c0))?_0x87935b:_0x87935b[_0x2386ca(0x2d5)](_0x4ccc77=>Array[_0x2386ca(0x521)](_0x4ccc77)&&_0x4ccc77[_0x2386ca(0x298)]('body'));if(!Array[_0x2386ca(0x521)](_0x4beff8))return[];let _0x49954e=_0x4beff8['indexOf'](_0x2386ca(0x2c0));return _0x49954e===-0x1?[]:_0x4beff8[_0x2386ca(0x328)](_0x49954e+0x1);}function _0x46f627(_0x9b9b4){const _0x249f99=_0x2e0def;return typeof _0x9b9b4==_0x249f99(0x497)&&!!_0x9b9b4&&!Array[_0x249f99(0x521)](_0x9b9b4);}function _0x1321c6(_0x356809,_0x14671d){const _0x20a919=_0x2e0def;for(let _0xf5dcab of _0x356809[_0x20a919(0x313)]){if(_0xf5dcab['id']!==_0x4f9696[_0x20a919(0x320)]['id'])continue;let _0x406983=_0xf5dcab[_0x20a919(0x4b2)];if((_0x406983==null?void 0x0:_0x406983[_0x20a919(0x26e)])===_0x14671d&&typeof _0x406983[_0x20a919(0x23e)]==_0x20a919(0x137))return{'unitId':_0x406983[_0x20a919(0x26e)],'revision':_0x406983[_0x20a919(0x23e)]};}return null;}var _0x4c766b,_0x83ed29,_0x150490,_0x46a188=class extends Error{constructor(_0x395f9e){const _0x90a7ff=_0x2e0def;super(_0x395f9e instanceof Error?_0x395f9e[_0x90a7ff(0x195)]:typeof _0x395f9e==_0x90a7ff(0x464)?_0x395f9e:_0x90a7ff(0x40d)),this[_0x90a7ff(0x343)]=_0x395f9e,this[_0x90a7ff(0x1d3)]=_0x90a7ff(0x2e7);}},_0x4c249c=class extends Error{constructor(_0x5474d3){const _0x14ce4c=_0x2e0def;var _0x3c8265;super(_0x14ce4c(0x27f)+((_0x3c8265=_0x5474d3[_0x14ce4c(0x33a)])==null?void 0x0:_0x3c8265[_0x14ce4c(0x23e)])+'.'),this['info']=_0x5474d3,this['name']=_0x14ce4c(0x22a);}};let _0xa733fb=function(_0x3724f8){const _0x42d730=_0x2e0def;return _0x3724f8[_0x42d730(0x477)]=_0x42d730(0x1d7),_0x3724f8[_0x42d730(0x4b4)]=_0x42d730(0x28e),_0x3724f8[_0x42d730(0x30f)]='pending',_0x3724f8[_0x42d730(0x32f)]=_0x42d730(0x22b),_0x3724f8[_0x42d730(0x1bc)]=_0x42d730(0x498),_0x3724f8['FETCH_MISS']=_0x42d730(0x260),_0x3724f8[_0x42d730(0x1ff)]=_0x42d730(0x14d),_0x3724f8[_0x42d730(0x2cf)]='offline',_0x3724f8;}({});var _0x50d616=class{constructor(_0x28efd6,_0x3df4ab,_0x25cebf,_0x5cbbc0,_0x2a3553,_0x3ccc3a,_0x2eeee7,_0x37bcdb,_0x71d317){const _0x1de626=_0x2e0def;this[_0x1de626(0x2d8)]=_0x28efd6,this[_0x1de626(0x33d)]=_0x3df4ab,this[_0x1de626(0x4a6)]=_0x2a3553,this[_0x1de626(0x3f7)]=_0x3ccc3a,this[_0x1de626(0x502)]=_0x2eeee7,this['_revisionService']=_0x37bcdb,this[_0x1de626(0x324)]=_0x71d317,_0xc5e065(this,_0x1de626(0x431),null),_0xc5e065(this,_0x1de626(0x39c),[]),this[_0x1de626(0x431)]=_0x25cebf,this[_0x1de626(0x39c)]=_0x5cbbc0;}[_0x2e0def(0x356)](){const _0x479b25=_0x2e0def;return!!this[_0x479b25(0x431)]||this['_pendingMutations']['length']>0x0;}['dispose'](){}[_0x2e0def(0x17b)](){const _0x207622=_0x2e0def;var _0x47091a;return(((_0x47091a=this['_awaitingChangeset'])==null?void 0x0:_0x47091a[_0x207622(0x313)]['length'])??0x0)+this[_0x207622(0x39c)][_0x207622(0x4d4)];}[_0x2e0def(0x269)](_0x1b4c99){const _0x515078=_0x2e0def;return new _0x3786f5(_0x1b4c99[_0x515078(0x4b6)]??0x0,(_0x1c4425,_0x2768ee)=>this[_0x515078(0x4a6)][_0x515078(0x4e9)](_0x1c4425,_0x2768ee),{...this[_0x515078(0x4a6)]['resendTimeouts'],'onResend':_0x741e87=>{const _0x26bbae=_0x515078;var _0x1b2846,_0x374fec;return(_0x1b2846=(_0x374fec=this[_0x26bbae(0x4a6)])[_0x26bbae(0x416)])==null?void 0x0:_0x1b2846[_0x26bbae(0x1a2)](_0x374fec,_0x741e87);}});}[_0x2e0def(0x18f)](_0x3b9fcd){const _0x42d529=_0x2e0def;if(this['_isEchoedAwaitingChangeset'](_0x3b9fcd))return _0x42d529(0x226);if(_0x1321c6(_0x3b9fcd,this[_0x42d529(0x2d8)]))return _0x42d529(0x303);let _0x5c5bdc=this[_0x42d529(0x4f2)]();return _0x3b9fcd['revision']<=_0x5c5bdc?_0x42d529(0x3dd):_0x3b9fcd[_0x42d529(0x23e)]>_0x5c5bdc+0x1?'missing':_0x42d529(0x2a7);}[_0x2e0def(0x197)](_0x56ff43){const _0x31c68f=_0x2e0def;let _0x1fcdec=this['_getCurrentRevision']();return _0x56ff43[_0x31c68f(0x23e)]<=_0x1fcdec?this[_0x31c68f(0x1b8)](_0x56ff43)?_0x31c68f(0x2e9):_0x31c68f(0x290):_0x56ff43[_0x31c68f(0x23e)]>_0x1fcdec+0x1?_0x31c68f(0x3ea):_0x31c68f(0x30c);}[_0x2e0def(0x3a7)](_0xbcf816,_0x514fc4){const _0x4fc87d=_0x2e0def;switch(this['_classifyRemoteChangeset'](_0xbcf816)){case _0x4fc87d(0x226):return this[_0x4fc87d(0x4bd)](_0xbcf816);case _0x4fc87d(0x303):return _0x514fc4[_0x4fc87d(0x13a)](_0xbcf816);case _0x4fc87d(0x3dd):return this;case _0x4fc87d(0x3ea):return this[_0x4fc87d(0x253)](_0xbcf816[_0x4fc87d(0x23e)]),_0x514fc4['onMissing'](_0xbcf816);case'apply':return _0x514fc4[_0x4fc87d(0x2f0)](_0xbcf816);}}[_0x2e0def(0x460)](_0x40fc2a){const _0x3887fa=_0x2e0def;return{'reason':'remote_revert','revert':{'revision':_0x1321c6(_0x40fc2a,this['unitID'])['revision'],'memberId':_0x40fc2a[_0x3887fa(0x281)],'userId':_0x40fc2a['userID']}};}[_0x2e0def(0x3aa)](_0x2667f6){const _0x33a36c=_0x2e0def;return{'reason':_0x2667f6 instanceof _0x46a188?_0x33a36c(0x334):_0x33a36c(0x47c),'message':_0x2667f6 instanceof Error?_0x2667f6[_0x33a36c(0x195)]:typeof _0x2667f6=='string'?_0x2667f6:void 0x0};}[_0x2e0def(0x437)](_0x2179c4){const _0x1c162c=_0x2e0def;return{'reason':_0x2179c4!=null&&_0x2179c4[_0x1c162c(0x25d)]?_0x1c162c(0x1e7):(_0x2179c4==null?void 0x0:_0x2179c4[_0x1c162c(0x1cd)])===_0xc3615a[_0x1c162c(0x36e)]['LICENSE_UNIT_TYPE_REJECTED']?_0x1c162c(0x1fd):'changeset_rejected','message':_0x2179c4==null?void 0x0:_0x2179c4['reason']};}[_0x2e0def(0x246)](_0x47c4df){const _0x5e1fd7=_0x2e0def;return _0x47c4df===_0xc3615a[_0x5e1fd7(0x36e)][_0x5e1fd7(0x49c)]?'license_editing_connections_exceeded':_0x5e1fd7(0x403);}[_0x2e0def(0x253)](_0xd8a541){const _0x5f0039=_0x2e0def;this[_0x5f0039(0x4a6)][_0x5f0039(0x3ce)]({'from':this[_0x5f0039(0x4f2)](),'to':_0xd8a541-0x1});}[_0x2e0def(0x2a8)](_0x4a5108){const _0xd446ea=_0x2e0def;this[_0xd446ea(0x502)]['transformUndoRedo'](this['unitID'],_0x4a5108);}[_0x2e0def(0x336)](_0x16d7e1){const _0x17862d=_0x2e0def;var _0x4fbab3,_0x5598c2;(_0x4fbab3=(_0x5598c2=this[_0x17862d(0x4a6)])[_0x17862d(0x37e)])==null||_0x4fbab3[_0x17862d(0x1a2)](_0x5598c2,_0x16d7e1);}[_0x2e0def(0x177)](_0x539bad){const _0x457306=_0x2e0def;var _0x399af5,_0x1ec94a;return((_0x399af5=(_0x1ec94a=this['_handler'])['onPrepareTransformSelections'])==null?void 0x0:_0x399af5[_0x457306(0x1a2)](_0x1ec94a,_0x539bad))??null;}['_transformIMECache'](_0xec2099){const _0x307b14=_0x2e0def;var _0x486e57,_0x4d428b;return(_0x486e57=(_0x4d428b=this[_0x307b14(0x4a6)])[_0x307b14(0x201)])==null?void 0x0:_0x486e57[_0x307b14(0x1a2)](_0x4d428b,_0xec2099);}['_transformStateCache'](_0x450364){var _0x280ad2,_0x518b64;return(_0x280ad2=(_0x518b64=this['_handler'])['onTransformState'])==null?void 0x0:_0x280ad2['call'](_0x518b64,_0x450364);}[_0x2e0def(0x48a)](_0x4f6dbe){const _0x564d6f=_0x2e0def;var _0x291a99,_0x151d29;return((_0x291a99=(_0x151d29=this[_0x564d6f(0x4a6)])[_0x564d6f(0x42a)])==null?void 0x0:_0x291a99[_0x564d6f(0x1a2)](_0x151d29,_0x4f6dbe))??_0x4f6dbe;}[_0x2e0def(0x274)](_0xe78d5f){const _0x59304f=_0x2e0def;var _0x335faf,_0x47ad60;return((_0x335faf=(_0x47ad60=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x335faf[_0x59304f(0x1a2)](_0x47ad60,_0xe78d5f))??_0xe78d5f;}[_0x2e0def(0x4de)](_0x1e2fb6){const _0x100435=_0x2e0def;if(this['type']===_0x19e1e0[_0x100435(0x3e4)][_0x100435(0x23c)]){let {unitID:_0x1c9179,mutations:_0x3b6fc3,memberID:_0x657f0e}=_0x1e2fb6,_0x2a2e5b=_0x3b6fc3['length']>0x0?_0x3b6fc3[0x0]['params'][_0x100435(0x2b2)]:[];if(Array[_0x100435(0x521)](_0x2a2e5b)&&_0x2a2e5b[_0x100435(0x4d4)]>0x0){var _0x1ea20f,_0x50ea81;(_0x1ea20f=(_0x50ea81=this[_0x100435(0x4a6)])[_0x100435(0x289)])==null||_0x1ea20f[_0x100435(0x1a2)](_0x50ea81,{'unitID':_0x1c9179,'memberID':_0x657f0e,'textRanges':_0x2a2e5b});}}}[_0x2e0def(0x3e3)](){const _0x3931dd=_0x2e0def;var _0x4595bd;(_0x4595bd=this['_localCacheService'])==null||_0x4595bd['updateOfflineData'](this[_0x3931dd(0x2d8)],this[_0x3931dd(0x33d)],this[_0x3931dd(0x431)],this[_0x3931dd(0x39c)]);}[_0x2e0def(0x4f2)](){const _0x70ff79=_0x2e0def;return this[_0x70ff79(0x4c8)][_0x70ff79(0x288)](this[_0x70ff79(0x2d8)]);}[_0x2e0def(0x1d2)](_0x53f4b7){const _0x5c36ff=_0x2e0def;let _0x2d6219=this['_awaitingChangeset'];return!_0x2d6219||!_0x2d6219[_0x5c36ff(0x14c)]||_0x2d6219['reqId']===null||_0x2d6219['reqId']===void 0x0?!0x1:_0x53f4b7[_0x5c36ff(0x2d8)]===_0x2d6219['unitID']&&_0x53f4b7[_0x5c36ff(0x14c)]===_0x2d6219[_0x5c36ff(0x14c)]&&_0x53f4b7['reqId']===_0x2d6219['reqId'];}[_0x2e0def(0x1b8)](_0x271c1a){const _0x570ba9=_0x2e0def;let _0x281f9a=this[_0x570ba9(0x431)];return!(_0x281f9a!=null&&_0x281f9a['sid'])||_0x281f9a[_0x570ba9(0x4b6)]==null||!_0x271c1a['sid']||_0x271c1a[_0x570ba9(0x4b6)]==null?!0x1:_0x271c1a['sid']===_0x281f9a[_0x570ba9(0x14c)]&&_0x271c1a[_0x570ba9(0x4b6)]===_0x281f9a[_0x570ba9(0x4b6)];}[_0x2e0def(0x399)](){const _0x568219=_0x2e0def;this[_0x568219(0x4c8)][_0x568219(0x4c5)](this[_0x568219(0x2d8)]);}[_0x2e0def(0x3c0)](_0x471c5a){const _0x2a578f=_0x2e0def;let _0x57bdf4=this['_transformRemoteChangesetByIMECache'](_0x471c5a);_0x57bdf4=this[_0x2a578f(0x274)](_0x57bdf4);let _0x29e8c2=this[_0x2a578f(0x177)](_0x57bdf4),_0x5b0fa9=(0x0,_0x19e1e0[_0x2a578f(0x529)])(_0x57bdf4[_0x2a578f(0x313)],this['_commandService'],{'fromCollab':!0x0});if(!_0x5b0fa9['result'])throw _0x29e8c2==null||_0x29e8c2[_0x2a578f(0x3fc)](),new _0x46a188(_0x5b0fa9[_0x2a578f(0x340)]);_0x29e8c2==null||_0x29e8c2[_0x2a578f(0x152)](),this['_transformIMECache'](_0x57bdf4),this[_0x2a578f(0x1a3)](_0x57bdf4),this[_0x2a578f(0x2a8)](_0x471c5a),this[_0x2a578f(0x336)](_0x57bdf4),this[_0x2a578f(0x4de)](_0x57bdf4),this['_incrementRevisionNumber']();}};let _0x55714b=class extends _0x50d616{constructor(_0x4fe591,_0x570fb6,_0x584f7b,_0x2faecb,_0x45e6ee,_0x50f34c,_0x323548,_0x22c519,_0x5de94c,_0x301c6b){const _0x33600=_0x2e0def;super(_0x4fe591,_0x570fb6,null,[],_0x584f7b,_0x323548,_0x50f34c,_0x2faecb,_0x301c6b),this[_0x33600(0x196)]=_0x45e6ee,this[_0x33600(0x4b1)]=_0x22c519,this[_0x33600(0x4e2)]=_0x5de94c,this[_0x33600(0x150)]=_0x301c6b,_0xc5e065(this,'status',_0x33600(0x28e));}[_0x2e0def(0x1bf)](_0x17e72c){const _0x856630=_0x2e0def;let _0x4bf163=this[_0x856630(0x196)][_0x856630(0x2e3)](_0x384508,this[_0x856630(0x2d8)],this['type'],[_0x17e72c],this['_handler']);return _0x4bf163[_0x856630(0x1eb)](),_0x4bf163[_0x856630(0x3e3)](),_0x4bf163;}[_0x2e0def(0x180)](_0x6b2dc4){const _0x53c07c=_0x2e0def;return this['_dispatchRemoteChangeset'](_0x6b2dc4,{'onMissing':()=>this['_injector'][_0x53c07c(0x2e3)](_0x28c4f8,this[_0x53c07c(0x2d8)],this[_0x53c07c(0x33d)],null,[],null,[_0x6b2dc4],this[_0x53c07c(0x4a6)],void 0x0),'onApply':()=>this[_0x53c07c(0x2f7)](_0x6b2dc4),'onRemoteRevert':()=>this['_onConflict'](this[_0x53c07c(0x460)](_0x6b2dc4))});}[_0x2e0def(0x2f7)](_0x548695){const _0x29522e=_0x2e0def;try{let _0x503c8b=this['_transformService'][_0x29522e(0x493)](_0x548695,[_0x4f9696['EmptyMutationInfo']]);if((0x0,_0x4f9696[_0x29522e(0x43e)])(_0x503c8b)){let {c1Prime:_0x23e867}=_0x503c8b;return this['_executeRemoteChangeset'](_0x23e867),this;}throw _0x503c8b['error'];}catch(_0x2110c5){return this[_0x29522e(0x4b1)]['error'](_0x2110c5),this[_0x29522e(0x220)](this[_0x29522e(0x3aa)](_0x2110c5));}}[_0x2e0def(0x220)](_0x14ebe7){const _0x3384da=_0x2e0def;return this[_0x3384da(0x196)][_0x3384da(0x2e3)](_0x28fe8b,this['unitID'],this[_0x3384da(0x33d)],null,[],this[_0x3384da(0x4a6)],_0x14ebe7);}[_0x2e0def(0x4bd)](_0x2fd9bb){if(this['_classifyAck'](_0x2fd9bb)==='stale')return this;throw Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x34add5=_0x2e0def;throw Error(_0x34add5(0x2c9));}[_0x2e0def(0x283)](){return this;}['toggleOffline'](){const _0xfb58d2=_0x2e0def;return this[_0xfb58d2(0x196)][_0xfb58d2(0x2e3)](_0x3e0f8a,this['unitID'],this[_0xfb58d2(0x33d)],null,[],this[_0xfb58d2(0x4a6)]);}[_0x2e0def(0x1b2)](){return this;}[_0x2e0def(0x4a1)](){const _0x4a56cf=_0x2e0def;throw Error(_0x4a56cf(0x1ca));}['fetchMiss'](){const _0x171921=_0x2e0def;let _0x69e9de=this[_0x171921(0x4c8)][_0x171921(0x288)](this[_0x171921(0x2d8)]);return this[_0x171921(0x4a6)]['onMissingChangesets']({'from':_0x69e9de,'to':0x0}),this[_0x171921(0x196)]['createInstance'](_0x28c4f8,this[_0x171921(0x2d8)],this[_0x171921(0x33d)],null,[],null,[],this[_0x171921(0x4a6)],void 0x0);}};_0x55714b=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0['Inject'])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x5,_0x19e1e0[_0x2e0def(0x18e)]),_0x5d2cb5(0x6,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x7,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x8,_0x4f9696[_0x2e0def(0x487)]),_0x5d2cb5(0x9,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x55714b);let _0x384508=_0x4c766b=class extends _0x50d616{constructor(_0x392760,_0xadce30,_0x4f7fc1,_0x1527f8,_0x2bbfa3,_0x5e4acb,_0x5133ea,_0x6ad1c,_0x1f199d,_0x25de2c,_0x3c1ad5,_0x164b79,_0x4fa6dd,_0x231a9f){const _0x4acf5d=_0x2e0def;super(_0x392760,_0xadce30,null,_0x4f7fc1,_0x1527f8,_0x1f199d,_0x4fa6dd,_0x5e4acb,_0x231a9f),this[_0x4acf5d(0x196)]=_0x2bbfa3,this[_0x4acf5d(0x41e)]=_0x5133ea,this[_0x4acf5d(0x4b1)]=_0x6ad1c,this[_0x4acf5d(0x409)]=_0x25de2c,this[_0x4acf5d(0x4e2)]=_0x3c1ad5,this[_0x4acf5d(0x4d1)]=_0x164b79,_0xc5e065(this,_0x4acf5d(0x47d),_0x4acf5d(0x270)),_0xc5e065(this,_0x4acf5d(0x3b1),null),_0xc5e065(this,_0x4acf5d(0x38e),null);}['appendMutation'](_0x395597){const _0x1f9d38=_0x2e0def;return this[_0x1f9d38(0x39c)][_0x1f9d38(0x4d0)](_0x395597),this[_0x1f9d38(0x3e3)](),this;}[_0x2e0def(0x180)](_0x2f2f7c){const _0x33bf75=_0x2e0def;return this[_0x33bf75(0x3a7)](_0x2f2f7c,{'onMissing':()=>(this['_clearScheduledTask'](),this['_injector'][_0x33bf75(0x2e3)](_0x28c4f8,this['unitID'],this[_0x33bf75(0x33d)],null,this[_0x33bf75(0x39c)],null,[_0x2f2f7c],this[_0x33bf75(0x4a6)],void 0x0)),'onApply':()=>this[_0x33bf75(0x2f7)](_0x2f2f7c),'onRemoteRevert':()=>this['_onConflict'](this[_0x33bf75(0x460)](_0x2f2f7c))});}['_transformAndApply'](_0x31e90a){const _0x1623ec=_0x2e0def;try{let _0x28b01a=this['_transformService']['transformMutationsWithChangeset'](_0x31e90a,this[_0x1623ec(0x39c)]);if((0x0,_0x4f9696[_0x1623ec(0x43e)])(_0x28b01a)){let {c1Prime:_0x5bf8f1,m2Prime:_0x17c0f7}=_0x28b01a;this[_0x1623ec(0x3c0)](_0x5bf8f1);let _0x2f0db8=this[_0x1623ec(0x196)][_0x1623ec(0x2e3)](_0x4c766b,this['unitID'],this[_0x1623ec(0x33d)],_0x17c0f7,this['_handler']);_0x2f0db8[_0x1623ec(0x3e3)](),this[_0x1623ec(0x527)]();let _0x3e74a9=new Date()['getTime'](),_0x280efa=this[_0x1623ec(0x3b1)]?Math['max'](this[_0x1623ec(0x3b1)]-_0x3e74a9,0x0):this[_0x1623ec(0x3a4)]();return _0x2f0db8['_schedule'](_0x280efa),_0x2f0db8;}throw _0x28b01a[_0x1623ec(0x340)];}catch(_0x4ac3bf){return this[_0x1623ec(0x4b1)][_0x1623ec(0x340)](_0x4ac3bf),this[_0x1623ec(0x220)](this[_0x1623ec(0x3aa)](_0x4ac3bf));}}[_0x2e0def(0x4bd)](_0xa7b0fe){const _0x435f21=_0x2e0def;if(this[_0x435f21(0x197)](_0xa7b0fe)===_0x435f21(0x290))return this;throw Error(_0x435f21(0x19a));}[_0x2e0def(0x34b)](){throw Error('[PendingState]:\x20received\x20rejection.');}[_0x2e0def(0x283)](){return this;}[_0x2e0def(0x191)](){const _0x3ee3e8=_0x2e0def;return this[_0x3ee3e8(0x527)](),this[_0x3ee3e8(0x196)][_0x3ee3e8(0x2e3)](_0x3e0f8a,this[_0x3ee3e8(0x2d8)],this['type'],null,this[_0x3ee3e8(0x39c)],this[_0x3ee3e8(0x4a6)]);}[_0x2e0def(0x1b2)](){return this;}[_0x2e0def(0x1eb)](_0x4a72d3){const _0x159676=_0x2e0def;let _0x22b560=_0x4a72d3??this[_0x159676(0x3a4)]();this[_0x159676(0x3b1)]=new Date()[_0x159676(0x311)]()+_0x22b560,this[_0x159676(0x38e)]=setTimeout(()=>{const _0x1e2461=_0x159676;this['_clearScheduledTask']();let _0x4e48f0=null;switch(this[_0x1e2461(0x33d)]){case _0x19e1e0[_0x1e2461(0x3e4)]['UNIVER_SHEET']:_0x4e48f0=_0x1e2b23(this[_0x1e2461(0x39c)],this[_0x1e2461(0x2d8)],this[_0x1e2461(0x4d1)],this[_0x1e2461(0x4c8)],this[_0x1e2461(0x41e)]);break;case _0x19e1e0['UniverInstanceType'][_0x1e2461(0x23c)]:_0x4e48f0=this[_0x1e2461(0x39c)][_0x1e2461(0x285)](_0x137a5b=>_0x137a5b['id']===_0x444f1a['RichTextEditingMutation']['id'])?_0x4c2a00(this[_0x1e2461(0x39c)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x1e2461(0x41e)]):_0x1e2b23(this[_0x1e2461(0x39c)],this['unitID'],this[_0x1e2461(0x4d1)],this[_0x1e2461(0x4c8)],this[_0x1e2461(0x41e)]);break;case _0x19e1e0['UniverInstanceType']['UNIVER_SLIDE']:_0x4e48f0=_0x3c006b(this['_pendingMutations'],this[_0x1e2461(0x2d8)],this[_0x1e2461(0x4d1)],this[_0x1e2461(0x4c8)],this['_userManagerService']);break;case _0x19e1e0[_0x1e2461(0x3e4)]['UNIVER_PDF']:_0x4e48f0=_0x1938e9(this[_0x1e2461(0x39c)],this[_0x1e2461(0x2d8)],this['_univerInstanceService'],this['_revisionService'],this[_0x1e2461(0x41e)]);break;case _0x19e1e0[_0x1e2461(0x3e4)][_0x1e2461(0x27b)]:_0x4e48f0=_0x1e2b23(this[_0x1e2461(0x39c)],this[_0x1e2461(0x2d8)],this[_0x1e2461(0x4d1)],this['_revisionService'],this['_userManagerService']);break;case _0x19e1e0[_0x1e2461(0x3e4)]['UNIVER_BASE']:_0x4e48f0=_0x1e2b23(this[_0x1e2461(0x39c)],this[_0x1e2461(0x2d8)],this[_0x1e2461(0x4d1)],this['_revisionService'],this[_0x1e2461(0x41e)]);break;default:throw Error(_0x1e2461(0x4ef)+this[_0x1e2461(0x33d)]+_0x1e2461(0x2db));}let {changeset:_0x10c998,pendingMutations:_0x764aba}=_0x4e48f0,_0x3463c2=this['_createChangesetSubmitter'](_0x10c998);_0x3463c2[_0x1e2461(0x38d)](_0x10c998,_0x10c998[_0x1e2461(0x313)][_0x1e2461(0x4d4)]+_0x764aba[_0x1e2461(0x4d4)]);let _0x1d9a8b=_0x764aba[_0x1e2461(0x4d4)]?this['_injector'][_0x1e2461(0x2e3)](_0x480be6,this[_0x1e2461(0x2d8)],this['type'],_0x10c998,_0x764aba,this[_0x1e2461(0x4a6)],_0x3463c2):this[_0x1e2461(0x196)][_0x1e2461(0x2e3)](_0x4d8940,this[_0x1e2461(0x2d8)],this['type'],_0x10c998,this[_0x1e2461(0x4a6)],_0x3463c2);_0x1d9a8b['_updateLocalCache'](),this['_handler'][_0x1e2461(0x22c)](this,_0x1d9a8b);},_0x22b560);}[_0x2e0def(0x3a4)](){const _0xd892=_0x2e0def;let _0x1b2d2c=this['_configService'][_0xd892(0x277)](_0x21d492);return(_0x1b2d2c==null?void 0x0:_0x1b2d2c['sendChangesetTimeout'])??0x7d0;}['resend'](){const _0x102100=_0x2e0def;throw Error(_0x102100(0x30d));}[_0x2e0def(0x527)](){const _0x5d4377=_0x2e0def;this[_0x5d4377(0x38e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x2e0def(0x2d2)](){const _0xb837ee=_0x2e0def;this[_0xb837ee(0x527)]();}[_0x2e0def(0x220)](_0x32a283){const _0x39749f=_0x2e0def;return this[_0x39749f(0x527)](),this[_0x39749f(0x196)][_0x39749f(0x2e3)](_0x28fe8b,this[_0x39749f(0x2d8)],this[_0x39749f(0x33d)],null,this['_pendingMutations'],this[_0x39749f(0x4a6)],_0x32a283);}};_0x384508=_0x4c766b=_0x37ed50([_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x3f6)])),_0x5d2cb5(0x7,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x9,_0x19e1e0['IConfigService']),_0x5d2cb5(0xa,_0x4f9696[_0x2e0def(0x487)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0xc,_0x19e1e0[_0x2e0def(0x18e)]),_0x5d2cb5(0xd,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x384508);let _0x4d8940=_0x83ed29=class extends _0x50d616{constructor(_0x51d735,_0x4004ec,_0x239f40,_0x8fe0a3,_0x14ba93,_0x409297,_0x26a450,_0x38997a,_0x485047,_0x53c15a,_0x421154,_0x4e5138){const _0x3635a4=_0x2e0def;super(_0x51d735,_0x4004ec,_0x239f40,[],_0x8fe0a3,_0x38997a,_0x421154,_0x26a450,_0x4e5138),this[_0x3635a4(0x196)]=_0x409297,this[_0x3635a4(0x4b1)]=_0x485047,this['_transformService']=_0x53c15a,_0xc5e065(this,_0x3635a4(0x47d),'awaiting'),_0xc5e065(this,_0x3635a4(0x1e1),void 0x0),this[_0x3635a4(0x1e1)]=_0x14ba93??this['_createChangesetSubmitter'](_0x239f40),this[_0x3635a4(0x1e1)][_0x3635a4(0x2c2)](()=>({'changeset':this[_0x3635a4(0x431)],'unsyncedMutationCount':this[_0x3635a4(0x17b)]()})),_0x14ba93||this[_0x3635a4(0x1e1)][_0x3635a4(0x418)]();}[_0x2e0def(0x1bf)](_0x397998){const _0x371331=_0x2e0def;this[_0x371331(0x143)]();let _0x40332f=this[_0x371331(0x196)][_0x371331(0x2e3)](_0x480be6,this[_0x371331(0x2d8)],this[_0x371331(0x33d)],this[_0x371331(0x431)],[_0x397998],this[_0x371331(0x4a6)],this[_0x371331(0x1e1)]);return _0x40332f['_updateLocalCache'](),_0x40332f;}[_0x2e0def(0x180)](_0x4b0759){const _0x38ccfd=_0x2e0def;return this[_0x38ccfd(0x3a7)](_0x4b0759,{'onMissing':()=>(this[_0x38ccfd(0x143)](),this[_0x38ccfd(0x196)][_0x38ccfd(0x2e3)](_0x28c4f8,this[_0x38ccfd(0x2d8)],this[_0x38ccfd(0x33d)],this['_awaitingChangeset'],[],null,[_0x4b0759],this[_0x38ccfd(0x4a6)],this[_0x38ccfd(0x1e1)])),'onApply':()=>this[_0x38ccfd(0x2f7)](_0x4b0759),'onRemoteRevert':()=>this[_0x38ccfd(0x220)](this[_0x38ccfd(0x460)](_0x4b0759))});}['_transformAndApply'](_0x3ad1c7){const _0x10993a=_0x2e0def;try{let _0x512654=this['_transformService'][_0x10993a(0x17a)]([_0x3ad1c7],[this['_awaitingChangeset']],!0x1);if((0x0,_0x4f9696['isTransformChangesetsSuccess'])(_0x512654)){let {c1Prime:_0x23bf8b,c2Prime:_0x221f71}=_0x512654;this['_executeRemoteChangeset'](_0x23bf8b[0x0]),_0x221f71[0x0][_0x10993a(0x414)]=this[_0x10993a(0x4f2)](),this[_0x10993a(0x143)]();let _0x38ea78=this[_0x10993a(0x196)][_0x10993a(0x2e3)](_0x83ed29,this[_0x10993a(0x2d8)],this['type'],_0x221f71[0x0],this[_0x10993a(0x4a6)],this[_0x10993a(0x1e1)]);return _0x38ea78[_0x10993a(0x3e3)](),_0x38ea78;}throw _0x512654[_0x10993a(0x340)];}catch(_0x29b976){return this[_0x10993a(0x4b1)][_0x10993a(0x340)](_0x29b976),this[_0x10993a(0x220)](this[_0x10993a(0x3aa)](_0x29b976));}}[_0x2e0def(0x4bd)](_0x4eea50){const _0xa36a17=_0x2e0def;switch(this['_classifyAck'](_0x4eea50)){case _0xa36a17(0x290):return this[_0xa36a17(0x4b1)][_0xa36a17(0x210)](_0xa36a17(0x363),_0xa36a17(0x517)+_0x4eea50['revision']+_0xa36a17(0x489)+this['_getCurrentRevision']()+'.'),this;case _0xa36a17(0x2e9):return this[_0xa36a17(0x1e1)][_0xa36a17(0x2d2)](),this[_0xa36a17(0x1c2)]();case _0xa36a17(0x3ea):return this[_0xa36a17(0x1e1)][_0xa36a17(0x2d2)](),this[_0xa36a17(0x253)](_0x4eea50[_0xa36a17(0x23e)]),this[_0xa36a17(0x196)]['createInstance'](_0x28c4f8,this[_0xa36a17(0x2d8)],this[_0xa36a17(0x33d)],this[_0xa36a17(0x431)],[],_0x4eea50[_0xa36a17(0x23e)],[],this['_handler'],void 0x0);case _0xa36a17(0x30c):return this[_0xa36a17(0x1e1)][_0xa36a17(0x2d2)](),this[_0xa36a17(0x399)](),this[_0xa36a17(0x1c2)]();}}['_toSynced'](){const _0x507229=_0x2e0def;let _0x4a9457=this[_0x507229(0x196)][_0x507229(0x2e3)](_0x55714b,this[_0x507229(0x2d8)],this[_0x507229(0x33d)],this[_0x507229(0x4a6)]);return _0x4a9457['_updateLocalCache'](),_0x4a9457;}[_0x2e0def(0x34b)](_0x2c53c9){const _0x2e52e9=_0x2e0def;return this[_0x2e52e9(0x220)](this[_0x2e52e9(0x437)](_0x2c53c9));}[_0x2e0def(0x283)](_0x31e67d,_0x4a8613){const _0xec0420=_0x2e0def;var _0x36e3af;return _0x31e67d[_0xec0420(0x4b6)]===((_0x36e3af=this[_0xec0420(0x431)])==null?void 0x0:_0x36e3af[_0xec0420(0x4b6)])&&this[_0xec0420(0x1e1)][_0xec0420(0x2b7)](this['_retryReason'](_0x4a8613)),this;}[_0x2e0def(0x191)](){const _0x1cc3f9=_0x2e0def;return this['_submitter'][_0x1cc3f9(0x2d2)](),this[_0x1cc3f9(0x196)]['createInstance'](_0x3e0f8a,this[_0x1cc3f9(0x2d8)],this[_0x1cc3f9(0x33d)],this[_0x1cc3f9(0x431)],[],this['_handler']);}[_0x2e0def(0x1b2)](){return this;}[_0x2e0def(0x4a1)](_0x5a36a1=_0x2e0def(0x189)){const _0x15cdb6=_0x2e0def;this[_0x15cdb6(0x1e1)][_0x15cdb6(0x38d)](this[_0x15cdb6(0x431)],this[_0x15cdb6(0x17b)](),_0x5a36a1);}['_onConflict'](_0x1961e9){const _0x21aa2c=_0x2e0def;return this[_0x21aa2c(0x1e1)][_0x21aa2c(0x2d2)](),this[_0x21aa2c(0x196)]['createInstance'](_0x28fe8b,this[_0x21aa2c(0x2d8)],this['type'],this[_0x21aa2c(0x431)],[],this[_0x21aa2c(0x4a6)],_0x1961e9);}[_0x2e0def(0x2d2)](){const _0x2b5e50=_0x2e0def;this['_submitter'][_0x2b5e50(0x2d2)]();}[_0x2e0def(0x143)](){const _0x5791be=_0x2e0def;this['_submitter'][_0x5791be(0x342)]();}};_0x4d8940=_0x83ed29=_0x37ed50([_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x8,_0x19e1e0['ILogService']),_0x5d2cb5(0x9,_0x4f9696[_0x2e0def(0x487)]),_0x5d2cb5(0xa,_0x19e1e0['IUndoRedoService']),_0x5d2cb5(0xb,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x4d8940);let _0x480be6=_0x150490=class extends _0x50d616{constructor(_0x2ce5ca,_0x28f3b7,_0x334865,_0x585ea4,_0x28ff13,_0x245dbf,_0x1c7485,_0x3ca8d0,_0x48cd9d,_0x114c14,_0x3dea4c,_0x359640,_0x41ce21){const _0xca3272=_0x2e0def;super(_0x2ce5ca,_0x28f3b7,_0x334865,_0x585ea4,_0x28ff13,_0x48cd9d,_0x359640,_0x3ca8d0,_0x41ce21),this[_0xca3272(0x196)]=_0x1c7485,this[_0xca3272(0x4b1)]=_0x114c14,this[_0xca3272(0x4e2)]=_0x3dea4c,this[_0xca3272(0x150)]=_0x41ce21,_0xc5e065(this,_0xca3272(0x47d),_0xca3272(0x498)),_0xc5e065(this,_0xca3272(0x1e1),void 0x0),this[_0xca3272(0x1e1)]=_0x245dbf??this[_0xca3272(0x269)](_0x334865),this[_0xca3272(0x1e1)][_0xca3272(0x2c2)](()=>({'changeset':this[_0xca3272(0x431)],'unsyncedMutationCount':this['_unsyncedMutationCount']()})),_0x245dbf||this[_0xca3272(0x1e1)]['armAckTimeout']();}['appendMutation'](_0x583ce6){const _0x379e61=_0x2e0def;return this['_pendingMutations'][_0x379e61(0x4d0)](_0x583ce6),this['_updateLocalCache'](),this;}[_0x2e0def(0x180)](_0x31b052){const _0x316796=_0x2e0def;return this[_0x316796(0x3a7)](_0x31b052,{'onMissing':()=>(this[_0x316796(0x143)](),this['_injector']['createInstance'](_0x28c4f8,this[_0x316796(0x2d8)],this[_0x316796(0x33d)],this['_awaitingChangeset'],this[_0x316796(0x39c)],null,[_0x31b052],this['_handler'],this[_0x316796(0x1e1)])),'onApply':()=>this['_transformAndApply'](_0x31b052),'onRemoteRevert':()=>this['_onConflict'](this[_0x316796(0x460)](_0x31b052))});}[_0x2e0def(0x2f7)](_0x24e959){const _0x2a3f35=_0x2e0def;try{let _0x3fcbe3=this['_transformService'][_0x2a3f35(0x17a)]([_0x24e959],[this[_0x2a3f35(0x431)]],!0x1);if((0x0,_0x4f9696[_0x2a3f35(0x36c)])(_0x3fcbe3)){let {c1Prime:_0x3a3cfb,c2Prime:_0x1c604f}=_0x3fcbe3,_0x3d3799=this[_0x2a3f35(0x4e2)][_0x2a3f35(0x493)](_0x3a3cfb[0x0],this['_pendingMutations']);if((0x0,_0x4f9696[_0x2a3f35(0x43e)])(_0x3d3799)){let {c1Prime:_0x40f7f3,m2Prime:_0x2e9832}=_0x3d3799;this['_executeRemoteChangeset'](_0x40f7f3),_0x1c604f[0x0][_0x2a3f35(0x414)]=this[_0x2a3f35(0x4f2)](),this[_0x2a3f35(0x143)]();let _0x3726be=this[_0x2a3f35(0x196)][_0x2a3f35(0x2e3)](_0x150490,this[_0x2a3f35(0x2d8)],this[_0x2a3f35(0x33d)],_0x1c604f[0x0],_0x2e9832,this['_handler'],this[_0x2a3f35(0x1e1)]);return _0x3726be[_0x2a3f35(0x3e3)](),_0x3726be;}throw _0x3d3799[_0x2a3f35(0x340)];}throw _0x3fcbe3['error'];}catch(_0x1c8992){return this[_0x2a3f35(0x4b1)]['error'](_0x1c8992),this[_0x2a3f35(0x220)](this[_0x2a3f35(0x3aa)](_0x1c8992));}}[_0x2e0def(0x4bd)](_0x1b5851){const _0x54d3f7=_0x2e0def;switch(this[_0x54d3f7(0x197)](_0x1b5851)){case _0x54d3f7(0x290):return this[_0x54d3f7(0x4b1)][_0x54d3f7(0x210)]('[AwaitingWithPendingState]','ignored\x20stale\x20ack\x20of\x20revision\x20'+_0x1b5851[_0x54d3f7(0x23e)]+_0x54d3f7(0x489)+this[_0x54d3f7(0x4f2)]()+'.'),this;case _0x54d3f7(0x2e9):return this['_submitter']['dispose'](),this[_0x54d3f7(0x3a8)]();case _0x54d3f7(0x3ea):return this[_0x54d3f7(0x1e1)][_0x54d3f7(0x2d2)](),this[_0x54d3f7(0x253)](_0x1b5851[_0x54d3f7(0x23e)]),this[_0x54d3f7(0x196)]['createInstance'](_0x28c4f8,this[_0x54d3f7(0x2d8)],this[_0x54d3f7(0x33d)],this['_awaitingChangeset'],this[_0x54d3f7(0x39c)],_0x1b5851[_0x54d3f7(0x23e)],[],this[_0x54d3f7(0x4a6)],void 0x0);case _0x54d3f7(0x30c):return this['_submitter']['dispose'](),this[_0x54d3f7(0x399)](),this[_0x54d3f7(0x3a8)]();}}[_0x2e0def(0x3a8)](){const _0x4f28f4=_0x2e0def;let _0x5655f5=this[_0x4f28f4(0x196)][_0x4f28f4(0x2e3)](_0x384508,this[_0x4f28f4(0x2d8)],this[_0x4f28f4(0x33d)],this['_pendingMutations'],this[_0x4f28f4(0x4a6)]);return _0x5655f5[_0x4f28f4(0x1eb)](),_0x5655f5[_0x4f28f4(0x3e3)](),_0x5655f5;}['onRemoteRej'](_0x574542){const _0x3c0bb3=_0x2e0def;return this[_0x3c0bb3(0x220)](this['_rejectionInfo'](_0x574542));}[_0x2e0def(0x283)](_0xea0329,_0x3d8d8a){const _0x39126a=_0x2e0def;var _0x27a9ed;return _0xea0329[_0x39126a(0x4b6)]===((_0x27a9ed=this['_awaitingChangeset'])==null?void 0x0:_0x27a9ed[_0x39126a(0x4b6)])&&this[_0x39126a(0x1e1)]['requestRetry'](this[_0x39126a(0x246)](_0x3d8d8a)),this;}[_0x2e0def(0x191)](){const _0x580919=_0x2e0def;return this[_0x580919(0x1e1)][_0x580919(0x2d2)](),this[_0x580919(0x196)]['createInstance'](_0x3e0f8a,this['unitID'],this[_0x580919(0x33d)],this[_0x580919(0x431)],this[_0x580919(0x39c)],this[_0x580919(0x4a6)]);}[_0x2e0def(0x1b2)](){return this;}[_0x2e0def(0x4a1)](_0xa14de3=_0x2e0def(0x189)){const _0x3a1f7d=_0x2e0def;this[_0x3a1f7d(0x1e1)][_0x3a1f7d(0x38d)](this['_awaitingChangeset'],this[_0x3a1f7d(0x17b)](),_0xa14de3);}['_onConflict'](_0x18db84){const _0x3d2381=_0x2e0def;return this[_0x3d2381(0x1e1)][_0x3d2381(0x2d2)](),this[_0x3d2381(0x196)][_0x3d2381(0x2e3)](_0x28fe8b,this[_0x3d2381(0x2d8)],this[_0x3d2381(0x33d)],this[_0x3d2381(0x431)],this[_0x3d2381(0x39c)],this['_handler'],_0x18db84);}[_0x2e0def(0x2d2)](){const _0x290e84=_0x2e0def;this[_0x290e84(0x1e1)][_0x290e84(0x2d2)]();}['_detachSubmitter'](){const _0x42857d=_0x2e0def;this[_0x42857d(0x1e1)][_0x42857d(0x342)]();}};_0x480be6=_0x150490=_0x37ed50([_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0['Inject'])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x4f9696['ITransformService']),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x18e)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x480be6);let _0x28fe8b=class extends _0x50d616{constructor(_0x1ee084,_0x383986,_0x1da250,_0x1f2f77,_0x3060e5,_0x3768bb,_0x1b5c3c,_0x18bf64,_0x4c94a0,_0x24b7f5,_0x229037,_0x531ae0,_0x4d1dae,_0x3cfeda){const _0x4013b7=_0x2e0def;var _0x485aff;super(_0x1ee084,_0x383986,_0x1da250,_0x1f2f77,_0x3060e5,_0x18bf64,_0x4c94a0,_0x24b7f5,_0x3cfeda),this[_0x4013b7(0x491)]=_0x3768bb,this[_0x4013b7(0x243)]=_0x1b5c3c,this[_0x4013b7(0x41e)]=_0x229037,this[_0x4013b7(0x4b1)]=_0x531ae0,this[_0x4013b7(0x3d1)]=_0x4d1dae,this[_0x4013b7(0x150)]=_0x3cfeda,_0xc5e065(this,'status',_0x4013b7(0x14d)),_0xc5e065(this,_0x4013b7(0x3ca),void 0x0);let _0x4141b1=((_0x485aff=this[_0x4013b7(0x41e)][_0x4013b7(0x1da)]())==null?void 0x0:_0x485aff['userID'])??'';this[_0x4013b7(0x3ca)]=_0x1da250||_0x1f2f77[_0x4013b7(0x4d4)]?{'unitID':_0x1ee084,'userId':_0x4141b1||void 0x0,'type':_0x383986,'rev':this[_0x4013b7(0x4f2)](),'awaitingChangeset':_0x1da250,'mutations':_0x1f2f77}:null,this[_0x4013b7(0x20e)](),this['_showConflictProcessingNotification'](),this['_prepareConflictRecovery'](_0x4141b1)[_0x4013b7(0x2bd)](_0x305a24=>this[_0x4013b7(0x4b1)][_0x4013b7(0x340)](_0x305a24));}async['_prepareConflictRecovery'](_0xee1ef5){const _0x36a48b=_0x2e0def;var _0x37fd29,_0x4b45e0,_0x5e7cac,_0x531742;await((_0x37fd29=this[_0x36a48b(0x324)])==null||(_0x4b45e0=_0x37fd29['backupOfflineData'])==null?void 0x0:_0x4b45e0['call'](_0x37fd29,this[_0x36a48b(0x2d8)],this['info']['reason'],_0xee1ef5)[_0x36a48b(0x2bd)](()=>void 0x0));let _0x24dc57=!0x0;try{var _0x5d44e8;await((_0x5d44e8=this[_0x36a48b(0x324)])==null?void 0x0:_0x5d44e8[_0x36a48b(0x461)](this[_0x36a48b(0x2d8)],_0xee1ef5));}catch{_0x24dc57=!0x1,this[_0x36a48b(0x3d1)][_0x36a48b(0x445)]({'id':'CONFLICT_CACHE_CLEAR_FAILED','unitID':this[_0x36a48b(0x2d8)],'userId':_0xee1ef5});}(_0x5e7cac=(_0x531742=this[_0x36a48b(0x4a6)])[_0x36a48b(0x3c7)])==null||_0x5e7cac['call'](_0x531742,this[_0x36a48b(0x491)],this[_0x36a48b(0x3ca)],_0x24dc57);}[_0x2e0def(0x1bf)](){return this;}[_0x2e0def(0x180)](){return this;}[_0x2e0def(0x4bd)](){return this;}[_0x2e0def(0x34b)](){return this;}[_0x2e0def(0x283)](){return this;}[_0x2e0def(0x191)](){return this;}[_0x2e0def(0x1b2)](){return this;}[_0x2e0def(0x4a1)](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_showConflictProcessingNotification'](){const _0x5c2498=_0x2e0def;this[_0x5c2498(0x3d1)][_0x5c2498(0x445)]({'id':_0x5c2498(0x2b0),'unitID':this['unitID']});}[_0x2e0def(0x20e)](){const _0x5ad24f=_0x2e0def;this[_0x5ad24f(0x243)][_0x5ad24f(0x134)](new _0x442e6a[(_0x5ad24f(0x365))](this[_0x5ad24f(0x2d8)])['id'],!0x1);}};_0x28fe8b=_0x37ed50([_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x419)])),_0x5d2cb5(0x7,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x8,_0x19e1e0['IUndoRedoService']),_0x5d2cb5(0x9,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0xa,(0x0,_0x19e1e0['Inject'])(_0x19e1e0[_0x2e0def(0x3f6)])),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0['Inject'])(_0x1bde53)),_0x5d2cb5(0xd,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x28fe8b);let _0x3e0f8a=class extends _0x50d616{constructor(_0x37af14,_0x3f30ef,_0x4f6b4e,_0x5eff77,_0x262e63,_0x257d94,_0x2bb5f9,_0x37a9b9,_0x1e59dd,_0x40d11f,_0xbf689f){const _0x26099e=_0x2e0def;super(_0x37af14,_0x3f30ef,_0x4f6b4e,_0x5eff77,_0x262e63,_0x37a9b9,_0x1e59dd,_0x2bb5f9,_0xbf689f),this[_0x26099e(0x196)]=_0x257d94,this[_0x26099e(0x4b1)]=_0x40d11f,_0xc5e065(this,'status',_0x26099e(0x167));}[_0x2e0def(0x1bf)](_0x53e5a9){const _0x4d69ae=_0x2e0def;return this[_0x4d69ae(0x39c)]['push'](_0x53e5a9),this[_0x4d69ae(0x3e3)](),this;}[_0x2e0def(0x180)](_0x40dcc7){const _0x350050=_0x2e0def;return this['_logService'][_0x350050(0x210)](_0x350050(0x36f),_0x350050(0x1b1)+_0x40dcc7[_0x350050(0x23e)]+'.'),this;}[_0x2e0def(0x4bd)](_0x4d4349){const _0x1b5eb2=_0x2e0def;return this[_0x1b5eb2(0x4b1)][_0x1b5eb2(0x210)](_0x1b5eb2(0x36f),_0x1b5eb2(0x3b4)+_0x4d4349['revision']+'.'),this;}['onRemoteRej'](){const _0x1f13be=_0x2e0def;return this[_0x1f13be(0x4b1)][_0x1f13be(0x210)]('[OfflineState]',_0x1f13be(0x317)),this;}[_0x2e0def(0x283)](){return this;}[_0x2e0def(0x191)](){return this;}[_0x2e0def(0x1b2)](){const _0x42ff63=_0x2e0def;let {_injector:_0x4f648d,_pendingMutations:_0x169621,_awaitingChangeset:_0x414280,unitID:_0x13e409,_handler:_0x293f0a,type:_0x494a12}=this,_0x144bd3=_0x528754(_0x4f648d,_0x13e409,_0x494a12,_0x414280,_0x169621,_0x293f0a);return _0x144bd3 instanceof _0x384508?_0x144bd3[_0x42ff63(0x1eb)]():(_0x144bd3 instanceof _0x480be6||_0x144bd3 instanceof _0x4d8940)&&_0x144bd3[_0x42ff63(0x4a1)](),_0x144bd3;}['resend'](){const _0xc44919=_0x2e0def;throw Error(_0xc44919(0x141));}};_0x3e0f8a=_0x37ed50([_0x5d2cb5(0x5,(0x0,_0x19e1e0['Inject'])(_0x19e1e0['Injector'])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x18e)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x3e0f8a);let _0x28c4f8=class extends _0x50d616{constructor(_0x321389,_0x3a1541,_0x2fb3cd,_0x5dfc06,_0x1cd523,_0x2dd956,_0x5527ea,_0x6fcf7d,_0x358d9e,_0x4399ed,_0x4e951c,_0x38fe01,_0x13a5ea,_0x25763e,_0x452527){const _0x5a2d96=_0x2e0def;super(_0x321389,_0x3a1541,_0x2fb3cd,_0x5dfc06,_0x5527ea,_0x38fe01,_0x13a5ea,_0x4399ed,_0x452527),this[_0x5a2d96(0x1f0)]=_0x1cd523,this[_0x5a2d96(0x166)]=_0x2dd956,this[_0x5a2d96(0x1e1)]=_0x6fcf7d,this['_injector']=_0x358d9e,this[_0x5a2d96(0x4b1)]=_0x4e951c,this['_transformService']=_0x25763e,this[_0x5a2d96(0x150)]=_0x452527,_0xc5e065(this,_0x5a2d96(0x47d),_0x5a2d96(0x260));}['onMissedChangesetFetched'](_0xe4a7a7){const _0x2dd485=_0x2e0def;try{if(this[_0x2dd485(0x2d9)](_0xe4a7a7)[_0x2dd485(0x4dd)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this[_0x2dd485(0x2d9)]([...this[_0x2dd485(0x166)]][_0x2dd485(0x2d7)]((_0x410e38,_0x62c3ee)=>_0x410e38[_0x2dd485(0x23e)]-_0x62c3ee[_0x2dd485(0x23e)]))[_0x2dd485(0x4dd)])return this[_0x2dd485(0x166)]=[],this['_updateLocalCache'](),this['_handler'][_0x2dd485(0x3ce)]({'from':this['_getCurrentRevision'](),'to':0x0}),this;let _0x1409dd=this['_awaitingChangeset'],_0x93ecaa=this[_0x2dd485(0x39c)],_0x5cbbba;if(_0x1409dd&&_0x93ecaa[_0x2dd485(0x4d4)]!==0x0)_0x5cbbba=this[_0x2dd485(0x196)]['createInstance'](_0x480be6,this[_0x2dd485(0x2d8)],this[_0x2dd485(0x33d)],_0x1409dd,_0x93ecaa,this[_0x2dd485(0x4a6)],this[_0x2dd485(0x1e1)]);else{if(_0x1409dd&&_0x93ecaa[_0x2dd485(0x4d4)]===0x0)_0x1409dd[_0x2dd485(0x414)]=this[_0x2dd485(0x4f2)](),_0x5cbbba=this[_0x2dd485(0x196)][_0x2dd485(0x2e3)](_0x4d8940,this[_0x2dd485(0x2d8)],this['type'],_0x1409dd,this[_0x2dd485(0x4a6)],this[_0x2dd485(0x1e1)]);else{if(_0x93ecaa[_0x2dd485(0x4d4)]!==0x0){let _0xf51f69=this[_0x2dd485(0x196)][_0x2dd485(0x2e3)](_0x384508,this[_0x2dd485(0x2d8)],this['type'],_0x93ecaa,this[_0x2dd485(0x4a6)]);_0xf51f69[_0x2dd485(0x1eb)](),_0x5cbbba=_0xf51f69;}else _0x5cbbba=this[_0x2dd485(0x196)][_0x2dd485(0x2e3)](_0x55714b,this[_0x2dd485(0x2d8)],this[_0x2dd485(0x33d)],this[_0x2dd485(0x4a6)]);}}return _0x5cbbba[_0x2dd485(0x3e3)](),_0x5cbbba;}catch(_0x2b2853){return _0x2b2853 instanceof _0x4c249c?(this[_0x2dd485(0x4b1)][_0x2dd485(0x210)](_0x2dd485(0x3ae),_0x2b2853[_0x2dd485(0x195)]),this[_0x2dd485(0x220)](_0x2b2853['info'])):(this[_0x2dd485(0x4b1)][_0x2dd485(0x340)](_0x2dd485(0x3ae),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2b2853),this[_0x2dd485(0x220)](this[_0x2dd485(0x3aa)](_0x2b2853)));}}[_0x2e0def(0x2d9)](_0xdb4a4c){const _0xa075=_0x2e0def;this[_0xa075(0x4a8)]();for(let _0xbf603e=0x0;_0xbf603e<_0xdb4a4c[_0xa075(0x4d4)];_0xbf603e++){let _0x3f3d9b=_0xdb4a4c[_0xbf603e];switch(this[_0xa075(0x18f)](_0x3f3d9b)){case _0xa075(0x226):{let _0x35167f=this['_getCurrentRevision']();if(_0x3f3d9b['revision']>_0x35167f+0x1)return{'missingChangesets':!0x0};_0x3f3d9b['revision']<=_0x35167f?this[_0xa075(0x471)]():this[_0xa075(0x455)]();break;}case _0xa075(0x303):throw new _0x4c249c(this[_0xa075(0x460)](_0x3f3d9b));case _0xa075(0x3dd):break;case _0xa075(0x3ea):return{'missingChangesets':!0x0};case _0xa075(0x2a7):this[_0xa075(0x23a)](_0x3f3d9b),this['_acknowledgeAwaitingIfReady']();}}return{'missingChangesets':!0x1};}[_0x2e0def(0x23a)](_0x10c54b){const _0x3bbfdc=_0x2e0def;let _0x2343ff=_0x10c54b,_0x5620af=this[_0x3bbfdc(0x431)];if(_0x5620af){let _0x4f4dcf=this[_0x3bbfdc(0x4e2)][_0x3bbfdc(0x17a)]([_0x10c54b],[_0x5620af],!0x1);if(!(0x0,_0x4f9696['isTransformChangesetsSuccess'])(_0x4f4dcf))throw _0x4f4dcf['error'];_0x2343ff=_0x4f4dcf[_0x3bbfdc(0x3ab)][0x0],_0x5620af=_0x4f4dcf[_0x3bbfdc(0x2ba)][0x0];}let _0x200e67=this[_0x3bbfdc(0x39c)];if(_0x200e67[_0x3bbfdc(0x4d4)]){let _0x5c9a3d=this[_0x3bbfdc(0x4e2)][_0x3bbfdc(0x493)](_0x2343ff,_0x200e67);if(!(0x0,_0x4f9696['isTransformMutationsWithChangesetSuccess'])(_0x5c9a3d))throw _0x5c9a3d[_0x3bbfdc(0x340)];_0x2343ff=_0x5c9a3d[_0x3bbfdc(0x3ab)],_0x200e67=_0x5c9a3d['m2Prime'];}this[_0x3bbfdc(0x3c0)](_0x2343ff),_0x5620af&&(_0x5620af[_0x3bbfdc(0x414)]=this['_getCurrentRevision']()),this['_awaitingChangeset']=_0x5620af,this[_0x3bbfdc(0x39c)]=_0x200e67;}[_0x2e0def(0x4a8)](){const _0x4d8033=_0x2e0def;if(!this['_awaitingChangeset']||this[_0x4d8033(0x1f0)]==null)return;let _0x424584=this[_0x4d8033(0x4f2)]();if(this[_0x4d8033(0x1f0)]<=_0x424584)throw Error(_0x4d8033(0x3f9)+this['_acknowledgedAwaitingRevision']+'.');this[_0x4d8033(0x1f0)]===_0x424584+0x1&&this[_0x4d8033(0x455)]();}[_0x2e0def(0x455)](){const _0x29ebfa=_0x2e0def;this[_0x29ebfa(0x399)](),this[_0x29ebfa(0x471)]();}[_0x2e0def(0x471)](){const _0x43df72=_0x2e0def;this[_0x43df72(0x431)]=null,this[_0x43df72(0x1f0)]=null,this[_0x43df72(0x42c)]();}[_0x2e0def(0x42c)](){const _0x10ce11=_0x2e0def;var _0x3eb3b0;(_0x3eb3b0=this[_0x10ce11(0x1e1)])==null||_0x3eb3b0[_0x10ce11(0x2d2)](),this[_0x10ce11(0x1e1)]=void 0x0;}['dispose'](){const _0x511660=_0x2e0def;this[_0x511660(0x42c)]();}[_0x2e0def(0x4a1)](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x2426c9){const _0x49f5ff=_0x2e0def;return this[_0x49f5ff(0x39c)][_0x49f5ff(0x4d0)](_0x2426c9),this['_updateLocalCache'](),this;}[_0x2e0def(0x180)](_0x1139d8){const _0x59a3a7=_0x2e0def;return this[_0x59a3a7(0x166)][_0x59a3a7(0x4d0)](_0x1139d8),this;}[_0x2e0def(0x4bd)](_0x988872){const _0xc8165a=_0x2e0def;let _0x3e184f=this[_0xc8165a(0x197)](_0x988872);if(this['_awaitingChangeset']){switch(_0x3e184f){case _0xc8165a(0x2e9):this[_0xc8165a(0x471)]();break;case _0xc8165a(0x290):break;case'next':this[_0xc8165a(0x455)]();break;case _0xc8165a(0x3ea):this[_0xc8165a(0x1f0)]=_0x988872['revision'],this['_disposeSubmitter']();}return this;}if(_0x3e184f===_0xc8165a(0x290))return this;throw Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2e0def(0x34b)](_0x26376e){const _0x1aed6a=_0x2e0def;return this[_0x1aed6a(0x220)](this[_0x1aed6a(0x437)](_0x26376e));}[_0x2e0def(0x283)](_0x31f627,_0x42a248){const _0x5bd416=_0x2e0def;var _0x4c04cb;return this[_0x5bd416(0x1f0)]!=null||_0x31f627['reqId']!==((_0x4c04cb=this['_awaitingChangeset'])==null?void 0x0:_0x4c04cb[_0x5bd416(0x4b6)])||(this['_submitter']??=this[_0x5bd416(0x269)](this[_0x5bd416(0x431)]),this[_0x5bd416(0x1e1)][_0x5bd416(0x2b7)](this[_0x5bd416(0x246)](_0x42a248))),this;}[_0x2e0def(0x191)](){const _0x3d4019=_0x2e0def;return this[_0x3d4019(0x42c)](),this[_0x3d4019(0x196)][_0x3d4019(0x2e3)](_0x3e0f8a,this[_0x3d4019(0x2d8)],this[_0x3d4019(0x33d)],this[_0x3d4019(0x431)],this[_0x3d4019(0x39c)],this['_handler']);}['toggleOnline'](){return this;}[_0x2e0def(0x220)](_0x4cb120){const _0x195454=_0x2e0def;return this['_disposeSubmitter'](),this[_0x195454(0x196)][_0x195454(0x2e3)](_0x28fe8b,this[_0x195454(0x2d8)],this[_0x195454(0x33d)],this[_0x195454(0x431)],this['_pendingMutations'],this[_0x195454(0x4a6)],_0x4cb120);}};_0x28c4f8=_0x37ed50([_0x5d2cb5(0x8,(0x0,_0x19e1e0['Inject'])(_0x19e1e0['Injector'])),_0x5d2cb5(0x9,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xc,_0x19e1e0[_0x2e0def(0x18e)]),_0x5d2cb5(0xd,_0x4f9696[_0x2e0def(0x487)]),_0x5d2cb5(0xe,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x28c4f8);function _0x528754(_0x26b0d9,_0xc3cbe3,_0x50b95d,_0x844a34,_0x307859,_0x41b9bf){const _0x51326a=_0x2e0def;return _0x844a34&&_0x307859['length']?_0x26b0d9[_0x51326a(0x2e3)](_0x480be6,_0xc3cbe3,_0x50b95d,_0x844a34,_0x307859,_0x41b9bf,void 0x0):_0x844a34?_0x26b0d9[_0x51326a(0x2e3)](_0x4d8940,_0xc3cbe3,_0x50b95d,_0x844a34,_0x41b9bf,void 0x0):_0x307859['length']?_0x26b0d9[_0x51326a(0x2e3)](_0x384508,_0xc3cbe3,_0x50b95d,_0x307859,_0x41b9bf):_0x26b0d9[_0x51326a(0x2e3)](_0x55714b,_0xc3cbe3,_0x50b95d,_0x41b9bf);}let _0x149470=class extends _0x19e1e0[_0x2e0def(0x505)]{get[_0x2e0def(0x237)](){const _0x191b3c=_0x2e0def;return this[_0x191b3c(0x4ac)];}constructor(_0x5ab673,_0x9dd56a,_0xfab95f,_0x45627e,_0x58606f,_0x20caf4,_0x17b682,_0x542414,_0x1fe176,_0x15f09b,_0x148779,_0x14a75f,_0x2709e3,_0x353a77){const _0x54ef1c=_0x2e0def;super(),this[_0x54ef1c(0x2d8)]=_0x5ab673,this[_0x54ef1c(0x144)]=_0x9dd56a,this[_0x54ef1c(0x4dc)]=_0xfab95f,this[_0x54ef1c(0x196)]=_0x45627e,this[_0x54ef1c(0x2bf)]=_0x58606f,this[_0x54ef1c(0x156)]=_0x20caf4,this[_0x54ef1c(0x4c8)]=_0x17b682,this['_eventService']=_0x542414,this[_0x54ef1c(0x4d1)]=_0x1fe176,this['_logService']=_0x15f09b,this[_0x54ef1c(0x3f7)]=_0x148779,this[_0x54ef1c(0x243)]=_0x14a75f,this[_0x54ef1c(0x345)]=_0x2709e3,this[_0x54ef1c(0x324)]=_0x353a77,_0xc5e065(this,'_state$',new _0x144f8e['BehaviorSubject'](null)),_0xc5e065(this,_0x54ef1c(0x50f),this[_0x54ef1c(0x439)][_0x54ef1c(0x3e8)]()),_0xc5e065(this,_0x54ef1c(0x4ac),void 0x0),_0xc5e065(this,_0x54ef1c(0x361),!0x1),_0xc5e065(this,_0x54ef1c(0x35b),''),_0xc5e065(this,'_changesetReqId',0x0),_0xc5e065(this,_0x54ef1c(0x1a1),this[_0x54ef1c(0x50f)][_0x54ef1c(0x251)]((0x0,_0x144f8e[_0x54ef1c(0x417)])(_0x556daa=>_0x556daa?_0x556daa['status']:_0x54ef1c(0x167)),(0x0,_0x144f8e['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}))),_0xc5e065(this,_0x54ef1c(0x428),new _0x144f8e['Subject']()),_0xc5e065(this,_0x54ef1c(0x321),this['_changesetResend$']['asObservable']()),_0xc5e065(this,_0x54ef1c(0x1cc),new _0x144f8e['Subject']()),_0xc5e065(this,_0x54ef1c(0x37d),this[_0x54ef1c(0x1cc)][_0x54ef1c(0x3e8)]()),_0xc5e065(this,_0x54ef1c(0x15b),!0x1),_0xc5e065(this,_0x54ef1c(0x46f),[]);}async[_0x2e0def(0x1c6)](){const _0x6469a=_0x2e0def;if(this[_0x6469a(0x237)])throw Error(_0x6469a(0x3bf));await this['_init']();}['pauseCollaboration'](){const _0x3a5e1d=_0x2e0def;return this[_0x3a5e1d(0x361)]=!0x0,(0x0,_0x19e1e0[_0x3a5e1d(0x228)])(()=>{const _0x2d7935=_0x3a5e1d;this[_0x2d7935(0x361)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2e0def(0x49e)](_0x3e6e5f){this['_onLocalMutation'](_0x3e6e5f);}['hasWritePending'](){const _0xfa86f6=_0x2e0def;var _0xf3818;return((_0xf3818=this[_0xfa86f6(0x4ac)])==null?void 0x0:_0xf3818['hasLocalChanges']())??!0x1;}[_0x2e0def(0x2d2)](){const _0x416129=_0x2e0def;var _0x13df4a;super[_0x416129(0x2d2)](),(_0x13df4a=this[_0x416129(0x4ac)])==null||_0x13df4a['dispose'](),this[_0x416129(0x428)][_0x416129(0x31e)](),this[_0x416129(0x1cc)][_0x416129(0x31e)]();}[_0x2e0def(0x4bf)](_0x5b6943){const _0xa96da1=_0x2e0def;this[_0xa96da1(0x4ac)]=_0x5b6943,this[_0xa96da1(0x439)][_0xa96da1(0x30c)](_0x5b6943);}async['_init'](){const _0x3ced6f=_0x2e0def;if(this[_0x3ced6f(0x4bf)](await this[_0x3ced6f(0x2a6)]()),this[_0x3ced6f(0x345)]){var _0x4d537f;(_0x4d537f=this[_0x3ced6f(0x345)])==null||_0x4d537f[_0x3ced6f(0x44c)](this[_0x3ced6f(0x2d8)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3ced6f(0x18d)](this[_0x3ced6f(0x2d8)])[_0x3ced6f(0x341)](_0x1f82e7=>{const _0x194ad8=_0x3ced6f;this['_logService']['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x1f82e7),_0x1f82e7===0x1?(this[_0x194ad8(0x300)][_0x194ad8(0x445)]({'id':_0x194ad8(0x1be)}),this[_0x194ad8(0x243)]['updatePermissionPoint'](new _0x442e6a['WorkbookEditablePermission'](this[_0x194ad8(0x2d8)])['id'],!0x1),this[_0x194ad8(0x243)]['setShowComponents'](!0x1)):(this[_0x194ad8(0x243)][_0x194ad8(0x134)](new _0x442e6a[(_0x194ad8(0x365))](this[_0x194ad8(0x2d8)])['id'],!0x0),this[_0x194ad8(0x243)][_0x194ad8(0x393)](!0x0));}));}let _0x598141=!0x1;return this[_0x3ced6f(0x47f)](this[_0x3ced6f(0x144)][_0x3ced6f(0x3e1)][_0x3ced6f(0x341)](_0x27c6a3=>{const _0xb78b64=_0x3ced6f;_0x27c6a3===0x3?this[_0xb78b64(0x499)](_0x598141):_0x27c6a3===0x2&&(_0x598141=!0x0,this[_0xb78b64(0x1ac)]());})),this['disposeWithMe'](this['session'][_0x3ced6f(0x4fb)]['subscribe'](_0x498440=>{const _0x2eb396=_0x3ced6f;try{switch(_0x498440[_0x2eb396(0x1f2)]){case _0x4f9696[_0x2eb396(0x257)][_0x2eb396(0x360)]:this[_0x2eb396(0x154)]((0x0,_0x4f9696['parseProtocolChangeset'])(_0x498440[_0x2eb396(0x28c)]));break;case _0x4f9696['CollaborationEvent'][_0x2eb396(0x3b2)]:this[_0x2eb396(0x24a)](_0x498440[_0x2eb396(0x28c)]);break;case _0x4f9696[_0x2eb396(0x257)][_0x2eb396(0x1c7)]:this[_0x2eb396(0x3e7)]({'isPermissionRej':!0x1,'reason':_0x498440['reason'],'code':_0x498440['code']});break;case _0x4f9696[_0x2eb396(0x257)][_0x2eb396(0x28b)]:{let _0x3e9d64=_0x498440;this[_0x2eb396(0x4f3)](_0x3e9d64['data'],_0x3e9d64[_0x2eb396(0x1cd)]);break;}case _0x4f9696[_0x2eb396(0x257)][_0x2eb396(0x4b0)]:this[_0x2eb396(0x433)](_0x498440[_0x2eb396(0x28c)][_0x2eb396(0x2f2)][_0x2eb396(0x417)](_0x1498a0=>(0x0,_0x4f9696[_0x2eb396(0x1d9)])(_0x1498a0)));break;case _0x4f9696['CollaborationEvent']['PERMISSION_REJ']:this[_0x2eb396(0x3e7)]({'isPermissionRej':!0x0,'reason':_0x498440[_0x2eb396(0x2cb)],'code':_0x498440[_0x2eb396(0x1cd)]});break;case _0x4f9696[_0x2eb396(0x257)]['UNISCRIPT_RUN']:}}catch(_0x171753){throw console[_0x2eb396(0x340)](_0x2eb396(0x41a),_0x171753),_0x171753;}})),this[_0x3ced6f(0x4ac)];}[_0x2e0def(0x3a5)](){const _0x51e33c=_0x2e0def;this[_0x51e33c(0x15b)]=!0x1;}[_0x2e0def(0x37f)](){const _0x2de1d7=_0x2e0def;if(this['_transitionLocked'])throw Error(_0x2de1d7(0x4ff));this[_0x2de1d7(0x15b)]=!0x0;}[_0x2e0def(0x38a)](_0x186ea0){const _0x3bb7a6=_0x2e0def;this[_0x3bb7a6(0x37f)]();try{this[_0x3bb7a6(0x4bf)](_0x186ea0());}finally{this['_unlockTransition']();}}[_0x2e0def(0x2a0)](_0x3c6049){this['_transit'](()=>this['_state']['appendMutation'](_0x3c6049));}['_onRemoteChangeset'](_0x1e5da8){const _0x53b6cf=_0x2e0def;this['_collaborationPaused']?this[_0x53b6cf(0x46f)][_0x53b6cf(0x4d0)](_0x1e5da8):this['_applyRemoteChangeset'](_0x1e5da8);}['_exhaustRemoteChangesetQueue'](){const _0x33bf5c=_0x2e0def;this[_0x33bf5c(0x46f)][_0x33bf5c(0x307)](_0x16eb6d=>this[_0x33bf5c(0x3b6)](_0x16eb6d)),this['_remoteChangesetQueue']=[];}[_0x2e0def(0x3b6)](_0x2aee5c){const _0x4cda80=_0x2e0def;let _0x570650=this[_0x4cda80(0x2bf)]['interceptor'][_0x4cda80(0x518)](this[_0x4cda80(0x2bf)][_0x4cda80(0x21c)]['getInterceptPoints']()[_0x4cda80(0x3a6)])(_0x2aee5c[_0x4cda80(0x313)],null)||_0x2aee5c['mutations'],_0x4d0d5b={..._0x2aee5c,'mutations':_0x570650};this[_0x4cda80(0x38a)](()=>this[_0x4cda80(0x4ac)][_0x4cda80(0x180)](_0x4d0d5b));}['_onRemoteACK'](_0x4f6b3f){const _0x2c676a=_0x2e0def;this[_0x2c676a(0x38a)](()=>this[_0x2c676a(0x4ac)][_0x2c676a(0x4bd)](_0x4f6b3f));}['_onRemoteRejected'](_0x3d9a7b){const _0x267c02=_0x2e0def;this[_0x267c02(0x38a)](()=>this[_0x267c02(0x4ac)]['onRemoteRej'](_0x3d9a7b));}['_onRemoteRetry'](_0x4fad5d,_0x1b2ed1){const _0x430d38=_0x2e0def;this['_transit'](()=>this[_0x430d38(0x4ac)][_0x430d38(0x283)](_0x4fad5d,_0x1b2ed1));}[_0x2e0def(0x433)](_0x5bd730){const _0x5321fc=_0x2e0def;let _0x5a06f1=this['_state'];if(!(_0x5a06f1 instanceof _0x28c4f8))throw TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');let _0x475679=_0x5bd730['map'](_0x3701a5=>{const _0x5dcda1=_0xa473;let _0x353a67=this['_compressMutationService'][_0x5dcda1(0x21c)][_0x5dcda1(0x518)](this['_compressMutationService']['interceptor'][_0x5dcda1(0x309)]()['COMPRESS_MUTATION_APPLY'])(_0x3701a5[_0x5dcda1(0x313)],null)||_0x3701a5[_0x5dcda1(0x313)];return{..._0x3701a5,'mutations':_0x353a67};});this['_transit'](()=>_0x5a06f1[_0x5321fc(0x16f)](_0x475679));}[_0x2e0def(0x1ac)](){const _0x18b168=_0x2e0def;this[_0x18b168(0x38a)](()=>this[_0x18b168(0x4ac)][_0x18b168(0x191)]());}['_toggleOnline'](_0x1948ea=!0x1){const _0x3ea223=_0x2e0def;this[_0x3ea223(0x38a)](()=>this[_0x3ea223(0x4ac)][_0x3ea223(0x1b2)]());let _0x56255b=this[_0x3ea223(0x4ac)];_0x1948ea&&_0x56255b instanceof _0x55714b&&this[_0x3ea223(0x38a)](()=>_0x56255b[_0x3ea223(0x41f)]());}async['_createInitialState'](){return new Promise(_0xfc021e=>{const _0x254987=_0xa473;this[_0x254987(0x144)][_0x254987(0x3e1)][_0x254987(0x251)]((0x0,_0x144f8e[_0x254987(0x374)])(0x1))[_0x254987(0x341)](async _0x5df249=>{const _0x360524=_0x254987;_0xfc021e(await this[_0x360524(0x391)](_0x5df249===0x3));});});}[_0x2e0def(0x216)](){const _0x207279=_0x2e0def;let _0x49b695=this[_0x207279(0x2d8)],_0x1a43e6=this[_0x207279(0x196)]['get'](_0x19e1e0[_0x207279(0x4f4)])['getConfig'](_0x21d492);return{'resendTimeouts':{'ackTimeout':_0x1a43e6==null?void 0x0:_0x1a43e6[_0x207279(0x160)],'maxAckTimeout':_0x1a43e6==null?void 0x0:_0x1a43e6[_0x207279(0x4f0)]},'onStateChange':(_0xdd1fce,_0x1cfc38)=>{const _0x5f352a=_0x207279;if(_0xdd1fce!==this[_0x5f352a(0x4ac)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xdd1fce[_0x5f352a(0x47d)]+'\x0aAfter:\x20'+_0x1cfc38[_0x5f352a(0x47d)]+_0x5f352a(0x2e8)+this[_0x5f352a(0x4ac)][_0x5f352a(0x47d)]);this['_updateState'](_0x1cfc38);},'onSendChangeset':(_0x4d4e2b,_0x2df843)=>{const _0x3cc2ab=_0x207279;_0x4d4e2b[_0x3cc2ab(0x14c)]||(_0x4d4e2b[_0x3cc2ab(0x14c)]=this[_0x3cc2ab(0x35b)],_0x4d4e2b[_0x3cc2ab(0x4b6)]=++this[_0x3cc2ab(0x2fc)]);let _0x48f558={'eventID':_0x4f9696['CollaborationEvent'][_0x3cc2ab(0x2e6)],'data':{'unitID':_0x4d4e2b[_0x3cc2ab(0x2d8)],'unitType':this[_0x3cc2ab(0x4dc)],'changeset':_0x4d4e2b,'memberID':this[_0x3cc2ab(0x144)][_0x3cc2ab(0x168)]()}};return this[_0x3cc2ab(0x144)][_0x3cc2ab(0x388)](_0x48f558,this[_0x3cc2ab(0x2d8)],_0x2df843);},'onConflict':(_0x230e7e,_0x42f483,_0x107127)=>{const _0x2ae3b3=_0x207279;this[_0x2ae3b3(0x1cc)][_0x2ae3b3(0x402)]||this[_0x2ae3b3(0x1cc)][_0x2ae3b3(0x30c)]({'unitID':_0x49b695,..._0x230e7e,'localChanges':_0x42f483,'cacheCleared':_0x107127});},'onChangesetResend':_0x31072d=>{const _0x1545ba=_0x207279;this[_0x1545ba(0x4b1)]['debug'](_0x1545ba(0x26b),_0x1545ba(0x4a0)+_0x31072d['reqId']+'\x20('+_0x31072d['reason']+_0x1545ba(0x420)+_0x31072d['attempt']+')'),queueMicrotask(()=>{const _0x1fe864=_0x1545ba;this[_0x1fe864(0x428)][_0x1fe864(0x402)]||this['_changesetResend$']['next']({'unitID':_0x49b695,..._0x31072d});});},'onMissingChangesets':({from:_0x41a922,to:_0x4e405d})=>{const _0xf6584c=_0x207279;this[_0xf6584c(0x4b1)][_0xf6584c(0x210)](_0xf6584c(0x26b),_0xf6584c(0x1c4)+_0x41a922+_0xf6584c(0x3e2)+_0x4e405d);let _0x5c9828={'eventID':_0x4f9696[_0xf6584c(0x257)][_0xf6584c(0x444)],'data':{'unitID':_0x49b695,'unitType':this['_type'],'from':_0x41a922,'to':_0x4e405d}};this[_0xf6584c(0x144)][_0xf6584c(0x388)](_0x5c9828,this[_0xf6584c(0x2d8)]);}};}async[_0x2e0def(0x391)](_0x18152d){const _0x504537=_0x2e0def;var _0x2f95cd;let _0x5d3dbd=await((_0x2f95cd=this[_0x504537(0x324)])==null?void 0x0:_0x2f95cd[_0x504537(0x293)](this[_0x504537(0x2d8)])),_0x4da452=(_0x5d3dbd==null?void 0x0:_0x5d3dbd[_0x504537(0x313)])??[],_0x593957=(_0x5d3dbd==null?void 0x0:_0x5d3dbd['awaitingChangeset'])??null,_0x5b39e3=!!(_0x593957!=null&&_0x593957['sid'])&&!!(_0x593957!=null&&_0x593957[_0x504537(0x4b6)]);this[_0x504537(0x35b)]=_0x5b39e3?_0x593957['sid']:(0x0,_0x4f9696[_0x504537(0x512)])(),this[_0x504537(0x2fc)]=_0x5b39e3?_0x593957[_0x504537(0x4b6)]:0x0;let _0x3a9843=this[_0x504537(0x2d8)];try{this[_0x504537(0x2ac)](_0x593957,_0x4da452);}catch(_0x28ebaf){this[_0x504537(0x4b1)][_0x504537(0x340)](_0x28ebaf);}let _0x50f8e3=this[_0x504537(0x216)]();if(_0x18152d){let _0x3eebb3=_0x528754(this[_0x504537(0x196)],_0x3a9843,this[_0x504537(0x4dc)],_0x593957,_0x4da452,_0x50f8e3);return _0x3eebb3 instanceof _0x384508?_0x3eebb3['_schedule']():(_0x3eebb3 instanceof _0x480be6||_0x3eebb3 instanceof _0x4d8940)&&_0x3eebb3[_0x504537(0x4a1)](),_0x3eebb3;}return this[_0x504537(0x196)][_0x504537(0x2e3)](_0x3e0f8a,_0x3a9843,this['_type'],_0x593957,_0x4da452,_0x50f8e3);}[_0x2e0def(0x2ac)](_0x16e389,_0x113f95){const _0x52f897=_0x2e0def;var _0x345f65,_0x17b531;let _0x158e03=this[_0x52f897(0x2bf)][_0x52f897(0x21c)][_0x52f897(0x518)](this[_0x52f897(0x2bf)]['interceptor']['getInterceptPoints']()[_0x52f897(0x3a6)]);(_0x345f65=_0x158e03((_0x16e389==null?void 0x0:_0x16e389[_0x52f897(0x313)])||[],null))==null||_0x345f65[_0x52f897(0x307)](_0x2db1fc=>this[_0x52f897(0x3f7)][_0x52f897(0x383)](_0x2db1fc['id'],_0x2db1fc[_0x52f897(0x4b2)])),(_0x17b531=_0x158e03(_0x113f95||[],null))==null||_0x17b531[_0x52f897(0x307)](_0x52a3bc=>this[_0x52f897(0x3f7)][_0x52f897(0x383)](_0x52a3bc['id'],_0x52a3bc['params']));}};_0x149470=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0['Injector'])),_0x5d2cb5(0x4,(0x0,_0x19e1e0['Inject'])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0['Inject'])(_0x19e1e0[_0x2e0def(0x3f0)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xd,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x149470);let _0x24fcb7=class extends _0x149470{constructor(_0x42f599,_0x56d3ce,_0x1f4eb2,_0x567632,_0x49e927,_0x287f5d,_0x4ebe70,_0x58e024,_0x488e42,_0x1a67fa,_0x2072b1,_0x11a51c,_0x2ed2c6,_0x496105,_0xd2bbb8){const _0xe65345=_0x2e0def;super(_0x42f599,_0x1f4eb2,_0x56d3ce,_0x567632,_0x49e927,_0x287f5d,_0x4ebe70,_0x58e024,_0x488e42,_0x1a67fa,_0x2072b1,_0x11a51c,_0x496105,_0xd2bbb8),this[_0xe65345(0x2d8)]=_0x42f599,this[_0xe65345(0x33d)]=_0x56d3ce,this[_0xe65345(0x37c)]=_0x2ed2c6,_0xc5e065(this,'_handlerCallback',null);}[_0x2e0def(0x244)](_0x6ab24c){this['_handlerCallback']=_0x6ab24c;}['dispose'](){const _0x54225c=_0x2e0def;this[_0x54225c(0x27a)]=null,super[_0x54225c(0x2d2)]();}[_0x2e0def(0x216)](){const _0x593058=_0x2e0def;let _0x2b85dd=super[_0x593058(0x216)]();return _0x2b85dd[_0x593058(0x201)]=_0xda35e9=>{const _0x347d9c=_0x593058;var _0x3c28c7,_0x7d4910;return(_0x3c28c7=this['_handlerCallback'])==null||(_0x7d4910=_0x3c28c7['onTransformIME'])==null?void 0x0:_0x7d4910[_0x347d9c(0x1a2)](_0x3c28c7,_0xda35e9);},_0x2b85dd[_0x593058(0x338)]=_0x52c1d7=>{const _0xa68834=_0x593058;var _0x580920,_0x47f690;return(_0x580920=this[_0xa68834(0x27a)])==null||(_0x47f690=_0x580920[_0xa68834(0x338)])==null?void 0x0:_0x47f690[_0xa68834(0x1a2)](_0x580920,_0x52c1d7);},_0x2b85dd[_0x593058(0x164)]=_0x23dfee=>{const _0x2960df=_0x593058;var _0x1bc863,_0x2c037a;return((_0x1bc863=this[_0x2960df(0x27a)])==null||(_0x2c037a=_0x1bc863[_0x2960df(0x164)])==null?void 0x0:_0x2c037a[_0x2960df(0x1a2)](_0x1bc863,_0x23dfee))??null;},_0x2b85dd['onTransformSelections']=_0x593ee3=>{const _0x48f9bf=_0x593058;var _0x90ff6c,_0x68bda9;return(_0x90ff6c=this[_0x48f9bf(0x27a)])==null||(_0x68bda9=_0x90ff6c[_0x48f9bf(0x37e)])==null?void 0x0:_0x68bda9['call'](_0x90ff6c,_0x593ee3);},_0x2b85dd[_0x593058(0x289)]=_0x39d1a5=>{const _0x4894e5=_0x593058;var _0x3b85b1,_0x19adce;return(_0x3b85b1=this[_0x4894e5(0x27a)])==null||(_0x19adce=_0x3b85b1[_0x4894e5(0x289)])==null?void 0x0:_0x19adce[_0x4894e5(0x1a2)](_0x3b85b1,_0x39d1a5);},_0x2b85dd[_0x593058(0x42a)]=_0x3807be=>{const _0x3ecf57=_0x593058;var _0x2a063e,_0x2962ba;return((_0x2a063e=this[_0x3ecf57(0x27a)])==null||(_0x2962ba=_0x2a063e[_0x3ecf57(0x42a)])==null?void 0x0:_0x2962ba['call'](_0x2a063e,_0x3807be))??_0x3807be;},_0x2b85dd[_0x593058(0x32c)]=_0x3bae18=>{const _0x7e4253=_0x593058;var _0x8594a4,_0x2c47ac;return((_0x8594a4=this['_handlerCallback'])==null||(_0x2c47ac=_0x8594a4[_0x7e4253(0x32c)])==null?void 0x0:_0x2c47ac[_0x7e4253(0x1a2)](_0x8594a4,_0x3bae18))??_0x3bae18;},_0x2b85dd;}async[_0x2e0def(0x467)](){const _0x264830=_0x2e0def;let _0x25473d=await super[_0x264830(0x467)]();return this[_0x264830(0x47f)](this[_0x264830(0x37c)][_0x264830(0x1b5)]['subscribe'](_0x361d3e=>{const _0xd9be7c=_0x264830;if(_0x361d3e==null||_0x361d3e[_0xd9be7c(0x26e)]!==this[_0xd9be7c(0x2d8)])return;let {commandId:_0x466639,redoState:_0x2f2868,unitId:_0x31d7ef}=_0x361d3e,_0x16d051={'id':_0x466639,'type':_0x19e1e0[_0xd9be7c(0x51d)][_0xd9be7c(0x21f)],'params':{'unitId':_0x31d7ef,'actions':_0x2f2868[_0xd9be7c(0x17d)],'textRanges':null}};this['_onLocalMutation'](_0x16d051);})),this[_0x264830(0x47f)](this[_0x264830(0x3f7)][_0x264830(0x2f5)]((_0x3a0b8b,_0x20e931)=>{const _0x3edd61=_0x264830;if(_0x3a0b8b[_0x3edd61(0x33d)]!==_0x19e1e0['CommandType'][_0x3edd61(0x21f)]||_0x20e931!=null&&_0x20e931[_0x3edd61(0x415)]||_0x20e931!=null&&_0x20e931['onlyLocal']||_0x3a0b8b['id']===_0x444f1a['RichTextEditingMutation']['id'])return;let _0x6d165a=_0x3a0b8b['params'];if((_0x6d165a==null?void 0x0:_0x6d165a[_0x3edd61(0x26e)])!==this[_0x3edd61(0x2d8)])return;let _0xabe84c=_0x3a0b8b,_0x2effcc=this[_0x3edd61(0x2bf)][_0x3edd61(0x21c)][_0x3edd61(0x518)](this[_0x3edd61(0x2bf)]['interceptor'][_0x3edd61(0x309)]()[_0x3edd61(0x392)])([_0xabe84c],this['_univerInstanceService'])||[_0xabe84c];this[_0x3edd61(0x2a0)](_0x2effcc[0x0]);})),_0x25473d;}};_0x24fcb7=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x3f0)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696['RevisionService'])),_0x5d2cb5(0x7,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x444f1a[_0x2e0def(0x43c)])),_0x5d2cb5(0xd,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xe,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x24fcb7);let _0x47d8cb=class extends _0x149470{constructor(_0x223f84,_0x5e45d5,_0x78b797,_0x23748c,_0x59fab4,_0x19de44,_0x56cbb6,_0x4e40b7,_0x5df286,_0x35711a,_0x87a9b8,_0x1faa8d,_0x5d0bcc,_0x49261c){const _0x185142=_0x2e0def;super(_0x223f84,_0x78b797,_0x5e45d5,_0x23748c,_0x59fab4,_0x19de44,_0x56cbb6,_0x4e40b7,_0x5df286,_0x35711a,_0x87a9b8,_0x1faa8d,_0x5d0bcc,_0x49261c),this[_0x185142(0x2d8)]=_0x223f84,this[_0x185142(0x33d)]=_0x5e45d5;}async[_0x2e0def(0x467)](){const _0x19e0b6=_0x2e0def;let _0x904f93=await super[_0x19e0b6(0x467)]();return this['disposeWithMe'](this[_0x19e0b6(0x3f7)][_0x19e0b6(0x2f5)]((_0xf81974,_0x456482)=>{const _0x42bd57=_0x19e0b6;if(_0xf81974['type']!==_0x19e1e0[_0x42bd57(0x51d)][_0x42bd57(0x21f)]||_0x456482!=null&&_0x456482[_0x42bd57(0x415)]||_0x456482!=null&&_0x456482[_0x42bd57(0x217)])return;let _0x1d15c6=_0xf81974[_0x42bd57(0x4b2)];if((_0x1d15c6==null?void 0x0:_0x1d15c6[_0x42bd57(0x26e)])!==this[_0x42bd57(0x2d8)])return;let _0x92be2=_0xf81974,_0x4fc287=this[_0x42bd57(0x2bf)]['interceptor'][_0x42bd57(0x518)](this['_compressMutationService'][_0x42bd57(0x21c)]['getInterceptPoints']()[_0x42bd57(0x392)])([_0x92be2],this['_univerInstanceService'])||[_0x92be2];this['_onLocalMutation'](_0x4fc287[0x0]);})),_0x904f93;}};_0x47d8cb=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0['Inject'])(_0x19e1e0['Injector'])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0['Inject'])(_0x19e1e0['LocaleService'])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0['Inject'])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0['IUniverInstanceService']),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xd,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x47d8cb);let _0x550742=class extends _0x149470{constructor(_0x12ae37,_0x2a2376,_0x360594,_0x1cf66a,_0x3bf011,_0x13cbf5,_0x55488b,_0x7d1d75,_0x5a757a,_0x3f3eb0,_0x4d6a71,_0x1e82a9,_0x1da32c,_0xd77daf,_0xace2e6){const _0x48e7f0=_0x2e0def;super(_0x12ae37,_0x360594,_0x2a2376,_0x1cf66a,_0x3bf011,_0x13cbf5,_0x55488b,_0x5a757a,_0x3f3eb0,_0x4d6a71,_0x1e82a9,_0x1da32c,_0xd77daf,_0xace2e6),this[_0x48e7f0(0x2d8)]=_0x12ae37,this[_0x48e7f0(0x33d)]=_0x2a2376,this[_0x48e7f0(0x1ad)]=_0x7d1d75;}['_createHandler'](){const _0x34cfb2=_0x2e0def;let _0x4f06b6=super[_0x34cfb2(0x216)]();return _0x4f06b6[_0x34cfb2(0x37e)]=_0x137888=>this[_0x34cfb2(0x1ad)][_0x34cfb2(0x322)](_0x137888),_0x4f06b6;}async['_init'](){const _0x35ee25=_0x2e0def;let _0x4c3db5=await super['_init']();return this['disposeWithMe'](this[_0x35ee25(0x3f7)][_0x35ee25(0x2f5)]((_0x3b37db,_0x17401d)=>{const _0x4e1e41=_0x35ee25;if(_0x3b37db['type']!==_0x19e1e0['CommandType'][_0x4e1e41(0x21f)]||_0x17401d!=null&&_0x17401d[_0x4e1e41(0x415)]||_0x17401d!=null&&_0x17401d[_0x4e1e41(0x217)])return;let _0x44aee6=_0x3b37db['params'];if((_0x44aee6==null?void 0x0:_0x44aee6[_0x4e1e41(0x26e)])!==this[_0x4e1e41(0x2d8)])return;let _0x43f480=_0x3b37db,_0x4dad87=this['_compressMutationService'][_0x4e1e41(0x21c)][_0x4e1e41(0x518)](this[_0x4e1e41(0x2bf)][_0x4e1e41(0x21c)][_0x4e1e41(0x309)]()['COMPRESS_MUTATION_SEND'])([_0x43f480],this['_univerInstanceService'])||[_0x43f480];this[_0x4e1e41(0x2a0)](_0x4dad87[0x0]);})),_0x4c3db5;}};_0x550742=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0['Inject'])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0['LocaleService'])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x95e1bd)),_0x5d2cb5(0x8,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53)),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xc,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xd,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xe,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x550742);let _0x27bbc8=class extends _0x149470{constructor(_0x1a3acf,_0x1f8bfb,_0x4b5df4,_0x53cd5e,_0x3a200d,_0x13876a,_0x3d1335,_0x9e3158,_0x2e4b84,_0x3b89c8,_0x31003a,_0x91db0f,_0x4203d6,_0x598ab1){const _0x5f2e4c=_0x2e0def;super(_0x1a3acf,_0x4b5df4,_0x1f8bfb,_0x53cd5e,_0x3a200d,_0x13876a,_0x3d1335,_0x9e3158,_0x2e4b84,_0x3b89c8,_0x31003a,_0x91db0f,_0x4203d6,_0x598ab1),this[_0x5f2e4c(0x2d8)]=_0x1a3acf,this[_0x5f2e4c(0x33d)]=_0x1f8bfb;}async[_0x2e0def(0x467)](){const _0x21938a=_0x2e0def;let _0x3574fe=await super[_0x21938a(0x467)]();return this['disposeWithMe'](this['_commandService'][_0x21938a(0x2f5)]((_0x451233,_0x2c363b)=>{const _0x16eea3=_0x21938a;if(_0x451233[_0x16eea3(0x33d)]!==_0x19e1e0[_0x16eea3(0x51d)]['MUTATION']||_0x2c363b!=null&&_0x2c363b[_0x16eea3(0x415)]||_0x2c363b!=null&&_0x2c363b[_0x16eea3(0x217)])return;let _0x5895cc=_0x451233['params'];if((_0x5895cc==null?void 0x0:_0x5895cc[_0x16eea3(0x26e)])!==this[_0x16eea3(0x2d8)])return;let _0x5347df=_0x451233,_0x531648=this['_compressMutationService'][_0x16eea3(0x21c)][_0x16eea3(0x518)](this['_compressMutationService'][_0x16eea3(0x21c)][_0x16eea3(0x309)]()[_0x16eea3(0x392)])([_0x5347df],this[_0x16eea3(0x4d1)])||[_0x5347df];this[_0x16eea3(0x2a0)](_0x531648[0x0]);})),_0x3574fe;}};_0x27bbc8=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0['Injector'])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x3f0)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0['Inject'])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0['Inject'])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xd,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x27bbc8);let _0x5344a5=class extends _0x149470{constructor(_0x384f11,_0xb5b4d1,_0xe7a756,_0x1efd08,_0x2c1983,_0x2f1d6b,_0x1d171b,_0x48bc4c,_0x1fc91f,_0xcbcf81,_0x346a84,_0x2cef09,_0x1470cb,_0x4a3a98){const _0x5aa17b=_0x2e0def;super(_0x384f11,_0xe7a756,_0xb5b4d1,_0x1efd08,_0x2c1983,_0x2f1d6b,_0x1d171b,_0x48bc4c,_0x1fc91f,_0xcbcf81,_0x346a84,_0x2cef09,_0x1470cb,_0x4a3a98),this[_0x5aa17b(0x2d8)]=_0x384f11,this[_0x5aa17b(0x33d)]=_0xb5b4d1;}async[_0x2e0def(0x467)](){const _0x5b4412=_0x2e0def;let _0x420830=await super['_init']();return this[_0x5b4412(0x47f)](this['_commandService']['onMutationExecutedForCollab']((_0xb662b0,_0x4866d6)=>{const _0x331334=_0x5b4412;if(_0xb662b0[_0x331334(0x33d)]!==_0x19e1e0[_0x331334(0x51d)][_0x331334(0x21f)]||_0x4866d6!=null&&_0x4866d6[_0x331334(0x415)]||_0x4866d6!=null&&_0x4866d6[_0x331334(0x217)])return;let _0x4d553e=_0xb662b0[_0x331334(0x4b2)];if((_0x4d553e==null?void 0x0:_0x4d553e[_0x331334(0x26e)])!==this[_0x331334(0x2d8)])return;let _0x42bafc=_0xb662b0,_0x20ffa9=this['_compressMutationService']['interceptor'][_0x331334(0x518)](this[_0x331334(0x2bf)]['interceptor'][_0x331334(0x309)]()[_0x331334(0x392)])([_0x42bafc],this[_0x331334(0x4d1)])||[_0x42bafc];this[_0x331334(0x2a0)](_0x20ffa9[0x0]);})),_0x420830;}};_0x5344a5=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696['CompressMutationService'])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0['LocaleService'])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x4cd)])),_0x5d2cb5(0x7,(0x0,_0x19e1e0['Inject'])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x9,_0x19e1e0['ILogService']),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0['Optional'])(_0x472208)),_0x5d2cb5(0xd,(0x0,_0x19e1e0['Optional'])(_0x5700e5))],_0x5344a5);let _0x3e1efe=class extends _0x149470{constructor(_0x1bc8d4,_0x34ba68,_0x429546,_0x40e52e,_0x56a5fe,_0x33c743,_0x11ff83,_0xbaeafd,_0x1ee891,_0x22b446,_0x13fcd4,_0x516488,_0x121253,_0x2b3ccd){const _0x37c350=_0x2e0def;super(_0x1bc8d4,_0x429546,_0x34ba68,_0x40e52e,_0x56a5fe,_0x33c743,_0x11ff83,_0xbaeafd,_0x1ee891,_0x22b446,_0x13fcd4,_0x516488,_0x121253,_0x2b3ccd),this[_0x37c350(0x2d8)]=_0x1bc8d4,this[_0x37c350(0x33d)]=_0x34ba68;}async[_0x2e0def(0x467)](){const _0x3b76ce=_0x2e0def;let _0x5cc867=await super[_0x3b76ce(0x467)]();return this[_0x3b76ce(0x47f)](this[_0x3b76ce(0x3f7)][_0x3b76ce(0x2f5)]((_0x7c001c,_0x16b188)=>{const _0x3e1c92=_0x3b76ce;if(_0x7c001c['type']!==_0x19e1e0[_0x3e1c92(0x51d)][_0x3e1c92(0x21f)]||_0x16b188!=null&&_0x16b188[_0x3e1c92(0x415)]||_0x16b188!=null&&_0x16b188[_0x3e1c92(0x217)])return;let _0x3af1ab=_0x7c001c['params'];if((_0x3af1ab==null?void 0x0:_0x3af1ab[_0x3e1c92(0x26e)])!==this[_0x3e1c92(0x2d8)])return;let _0x1efac4=_0x7c001c,_0x3b26f9=this['_compressMutationService'][_0x3e1c92(0x21c)][_0x3e1c92(0x518)](this[_0x3e1c92(0x2bf)][_0x3e1c92(0x21c)][_0x3e1c92(0x309)]()[_0x3e1c92(0x392)])([_0x1efac4],this[_0x3e1c92(0x4d1)])||[_0x1efac4];this[_0x3e1c92(0x2a0)](_0x3b26f9[0x0]);})),_0x5cc867;}};_0x3e1efe=_0x37ed50([_0x5d2cb5(0x3,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x4,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x352)])),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x3f0)])),_0x5d2cb5(0x6,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696['RevisionService'])),_0x5d2cb5(0x7,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53)),_0x5d2cb5(0x8,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x9,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0xa,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0xb,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0xc,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x472208)),_0x5d2cb5(0xd,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x3e1efe);let _0x4cfbe5=(0x0,_0x19e1e0['createIdentifier'])(_0x2e0def(0x1fc));function _0x5f4593(_0x19ef07){const _0x433d1b=_0x2e0def;let _0x1d2e47=_0x19ef07[_0x433d1b(0x28c)],_0x564f8f=JSON[_0x433d1b(0x48c)](_0x1d2e47);switch(_0x564f8f['cmd']){case _0xc3615a[_0x433d1b(0x349)]['HEARTBEAT']:case _0xc3615a['CombCmd']['HELLO']:{let _0x4a42ab=_0x564f8f[_0x433d1b(0x15f)];return{..._0x564f8f,'data':_0x4a42ab,'cmd':_0x564f8f[_0x433d1b(0x43f)]};}case _0xc3615a['CombCmd'][_0x433d1b(0x35a)]:{let _0x21b385=_0x564f8f[_0x433d1b(0x450)];return{..._0x564f8f,'data':_0x21b385,'cmd':_0x564f8f['cmd']};}case _0xc3615a[_0x433d1b(0x349)][_0x433d1b(0x224)]:{let _0x121652=_0x564f8f[_0x433d1b(0x503)];switch(_0x121652[_0x433d1b(0x1f2)]){case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x40b)]:{let {cs:_0x290af4,code:_0x3f38b8,reason:_0x3efb60}=_0x121652[_0x433d1b(0x169)]??{};return{..._0x564f8f,'data':{..._0x121652,'data':_0x290af4,'code':_0x3f38b8,'reason':_0x3efb60},'cmd':_0x564f8f['cmd']};}case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x3b2)]:var _0x2a6fb6;return{..._0x564f8f,'data':{..._0x121652,'data':(_0x2a6fb6=_0x121652['csAckEvent'])==null?void 0x0:_0x2a6fb6['cs']},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x360)]:var _0x4af31f;return{..._0x564f8f,'data':{..._0x121652,'data':(_0x4af31f=_0x121652['newCsEvent'])==null?void 0x0:_0x4af31f['cs']},'cmd':_0x564f8f['cmd']};case _0x4f9696['CollaborationEvent'][_0x433d1b(0x1c7)]:{let {cs:_0x3ff21b,code:_0x4fd90b,reason:_0x5a3559}=_0x121652[_0x433d1b(0x4b8)]??{};return{..._0x564f8f,'data':{..._0x121652,'data':_0x3ff21b,'code':_0x4fd90b,'reason':_0x5a3559},'cmd':_0x564f8f[_0x433d1b(0x43f)]};}case _0x4f9696['CollaborationEvent'][_0x433d1b(0x28b)]:{let {cs:_0x42fd01,code:_0x4ba98b,reason:_0x1df3b5}=_0x121652['csShouldRetryEvent']??{};return{..._0x564f8f,'data':{..._0x121652,'data':_0x42fd01,'code':_0x4ba98b,'reason':_0x1df3b5},'cmd':_0x564f8f['cmd']};}case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x318)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x28d)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x1ba)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x25a)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)]['USERS_LEAVE']:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x513)]},'cmd':_0x564f8f['cmd']};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x241)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652['liveShareNewHost']},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4f9696['CollaborationEvent'][_0x433d1b(0x2d1)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x26f)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x427)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x354)]:return{..._0x564f8f,'data':_0x121652,'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x1df)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x456)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696['CollaborationEvent'][_0x433d1b(0x485)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652['updatePermissionObjEvent']},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)][_0x433d1b(0x4d6)]:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x348)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};case _0x4f9696[_0x433d1b(0x257)]['UNISCRIPT_RUN']:return{..._0x564f8f,'data':{..._0x121652,'data':_0x121652[_0x433d1b(0x33c)]},'cmd':_0x564f8f[_0x433d1b(0x43f)]};default:return _0x564f8f;}}default:return _0x564f8f;}}function _0xe62dd5(_0x424ee0){const _0x2267ca=_0x2e0def;switch(_0x424ee0[_0x2267ca(0x43f)]){case _0xc3615a[_0x2267ca(0x349)]['HEARTBEAT']:case _0xc3615a[_0x2267ca(0x349)][_0x2267ca(0x333)]:return JSON[_0x2267ca(0x39f)]({'cmd':_0x424ee0[_0x2267ca(0x43f)],'routeKey':_0x424ee0[_0x2267ca(0x245)]});case _0xc3615a[_0x2267ca(0x349)][_0x2267ca(0x26c)]:{let _0x4dd625;switch(_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x1f2)]){case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x318)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x318)],'updateCursorEvent':_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x28c)]};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x3de)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x3de)],'leaveEvent':_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x28c)]};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x1ba)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)]['USERS_ENTER'],'joinEvent':_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x28c)]};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x241)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x28c)]};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x2d1)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x424ee0[_0x2267ca(0x28c)]['data']};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x146)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x424ee0[_0x2267ca(0x28c)][_0x2267ca(0x28c)]};break;case _0x4f9696[_0x2267ca(0x257)]['LIVESHARE_REQUEST_HOST']:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x296)],'liveShareRequestHost':_0x424ee0[_0x2267ca(0x28c)]['data']};break;case _0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x19d)]:_0x4dd625={'eventID':_0x4f9696[_0x2267ca(0x257)][_0x2267ca(0x19d)]};break;default:_0x4dd625={'eventID':_0x424ee0[_0x2267ca(0x28c)]['eventID']};}return JSON[_0x2267ca(0x39f)]({'cmd':_0x424ee0[_0x2267ca(0x43f)],'routeKey':_0x424ee0[_0x2267ca(0x245)],'collaMsg':_0x4dd625});}case _0xc3615a[_0x2267ca(0x349)][_0x2267ca(0x35a)]:return JSON[_0x2267ca(0x39f)]({'cmd':_0x424ee0['cmd'],'routeKey':_0x424ee0[_0x2267ca(0x245)],'joinReq':_0x424ee0['data']});case _0xc3615a[_0x2267ca(0x349)]['LEAVE']:return JSON[_0x2267ca(0x39f)]({'cmd':_0x424ee0[_0x2267ca(0x43f)],'routeKey':_0x424ee0['routeKey'],'leaveReq':_0x424ee0['data']});default:throw Error(_0x2267ca(0x266));}}let _0x3e2f68=(0x0,_0x19e1e0[_0x2e0def(0x373)])('univer-pro.collaboration-client-socket-service');function _0x33cd2d(_0x51b18a,_0x395a00,_0x1d8317){const _0x1590a3=_0x2e0def;return _0x51b18a+'/'+_0x395a00+_0x1590a3(0x29e)+_0x1d8317+_0x1590a3(0x20a);}let _0x3ce6a3=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(_0x23a1bc,_0x33c27e,_0x189d39,_0x395d03,_0x1f02aa){const _0x111a11=_0x2e0def;super(),this[_0x111a11(0x196)]=_0x23a1bc,this[_0x111a11(0x21e)]=_0x33c27e,this[_0x111a11(0x409)]=_0x189d39,this['_logService']=_0x395d03,this[_0x111a11(0x175)]=_0x1f02aa;}['_doCreateSocket'](_0x3d1b2a){const _0x3f599c=_0x2e0def;let _0x42a263=this[_0x3f599c(0x196)][_0x3f599c(0x264)](_0x5e0f50[_0x3f599c(0x258)]);if(!_0x42a263)throw Error(_0x3f599c(0x3ac));let _0x398828=_0x42a263['createSocket'](_0x3d1b2a);if(!_0x398828)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');let _0x20d47b=new _0x19e1e0[(_0x3f599c(0x233))](),_0x43a8cf=new _0x144f8e[(_0x3f599c(0x2d3))]();_0x20d47b['add'](_0x398828[_0x3f599c(0x278)]['subscribe'](_0x5c8429=>_0x43a8cf[_0x3f599c(0x30c)](_0x5c8429))),_0x20d47b[_0x3f599c(0x32b)]((0x0,_0x19e1e0[_0x3f599c(0x228)])(()=>_0x43a8cf['complete']()));let _0x5441dc=new _0x144f8e[(_0x3f599c(0x2d3))]();_0x20d47b[_0x3f599c(0x32b)](_0x398828[_0x3f599c(0x4ce)][_0x3f599c(0x341)](_0xc820f1=>_0x5441dc[_0x3f599c(0x30c)](_0xc820f1))),_0x20d47b[_0x3f599c(0x32b)]((0x0,_0x19e1e0[_0x3f599c(0x228)])(()=>_0x5441dc[_0x3f599c(0x31e)]()));let _0x593aac=new _0x144f8e[(_0x3f599c(0x2d3))]();_0x20d47b['add'](_0x398828[_0x3f599c(0x275)][_0x3f599c(0x341)](_0x592e53=>{let _0x13ce0e=_0x5f4593(_0x592e53);_0x593aac['next'](_0x13ce0e);})),_0x20d47b['add']((0x0,_0x19e1e0[_0x3f599c(0x228)])(()=>_0x593aac['complete']()));let _0x44c1b6,_0x2b3892=()=>{const _0x3cb5d0=_0x3f599c;_0x5441dc[_0x3cb5d0(0x30c)](new Event('connection\x20error')),_0x43a8cf[_0x3cb5d0(0x30c)](new Event(_0x3cb5d0(0x3fa))),_0x44c1b6[_0x3cb5d0(0x4b9)]();};return _0x44c1b6={'memberID':'','close$':_0x43a8cf[_0x3f599c(0x3e8)](),'error$':_0x5441dc['asObservable'](),'open$':_0x398828[_0x3f599c(0x436)],'message$':_0x593aac['asObservable'](),'send':(_0x2702a0,_0x3a8b0d)=>{const _0x56b2c9=_0x3f599c;if(_0x2702a0['cmd']===_0xc3615a[_0x56b2c9(0x349)]['INGEST']){if(_0x2702a0['data'][_0x56b2c9(0x1f2)]===_0x4f9696['CollaborationEvent'][_0x56b2c9(0x2e6)]){let _0x170caa=this[_0x56b2c9(0x3d0)](_0x44c1b6,_0x2702a0['data'],(_0x3a8b0d==null?void 0x0:_0x3a8b0d['timeout'])??0x1d4c0);return _0x170caa['catch'](()=>void 0x0),_0x170caa;}if(_0x2702a0[_0x56b2c9(0x28c)][_0x56b2c9(0x1f2)]===_0x4f9696[_0x56b2c9(0x257)]['FETCH_MISSING']){let _0xc05f9e=_0x2702a0['data'];this[_0x56b2c9(0x38b)](_0xc05f9e)['then'](_0x387567=>{const _0x5793de=_0x56b2c9;_0x593aac[_0x5793de(0x30c)]({'cmd':_0xc3615a[_0x5793de(0x349)]['RECV'],'code':_0xc3615a['CmdRspCode']['OK'],'routeKey':_0xc05f9e[_0x5793de(0x28c)][_0x5793de(0x2d8)],'routeType':'','data':{'eventID':_0x4f9696['CollaborationEvent'][_0x5793de(0x4b0)],'data':{'changesets':_0x387567}}});})[_0x56b2c9(0x2bd)](_0x1957ab=>{const _0x4c4f87=_0x56b2c9;this[_0x4c4f87(0x4b1)]['error'](_0x1957ab),_0x2b3892();});return;}}_0x398828[_0x56b2c9(0x388)](_0xe62dd5(_0x2702a0));},'close':()=>{const _0x3222cb=_0x3f599c;_0x398828[_0x3222cb(0x4b9)](),_0x20d47b[_0x3222cb(0x2d2)]();}},_0x44c1b6;}['_submitChangeset'](_0x340cd7,_0x1ea53c,_0x56b4be){const _0x5430f7=_0x2e0def;let {unitType:_0x4ead2c,unitID:_0x5b8b80,changeset:_0x555f72}=_0x1ea53c['data'],_0x4f1124={'unitID':_0x5b8b80,'memberID':_0x340cd7[_0x5430f7(0x281)],'type':_0x4ead2c,'changeset':(0x0,_0x4f9696['parseChangesetToProtocol'])(_0x555f72)},_0x5e70a2=this[_0x5430f7(0x409)][_0x5430f7(0x277)](_0x21d492),_0x2460bd=_0x33cd2d((_0x5e70a2==null?void 0x0:_0x5e70a2['collabSubmitChangesetUrl'])??_0x5430f7(0x34d),_0x4ead2c,_0x5b8b80);return(0x0,_0x144f8e[_0x5430f7(0x3b7)])(this[_0x5430f7(0x21e)][_0x5430f7(0x50a)](_0x5430f7(0x2ed),_0x2460bd,{'body':_0x4f1124})[_0x5430f7(0x251)]((0x0,_0x144f8e[_0x5430f7(0x192)])(_0x3d4777=>_0x3d4777[_0x5430f7(0x33d)]===_0x5e0f50[_0x5430f7(0x27d)][_0x5430f7(0x3cc)]),(0x0,_0x144f8e[_0x5430f7(0x520)])(_0x56b4be)))[_0x5430f7(0x50e)](()=>void 0x0,_0x41e5cf=>{const _0x26ea43=_0x5430f7;throw this[_0x26ea43(0x4b1)][_0x26ea43(0x382)](_0x26ea43(0x1ae),_0x26ea43(0x242)+_0x555f72[_0x26ea43(0x14c)]+':'+_0x555f72[_0x26ea43(0x4b6)]+_0x26ea43(0x235)+_0xb87230(_0x41e5cf)),_0x41e5cf;});}async[_0x2e0def(0x38b)](_0x25eebd){const _0x512edd=_0x2e0def;let {unitID:_0xe9ac1d,from:_0x1c2282,to:_0x4fd868,unitType:_0x5eded8}=_0x25eebd[_0x512edd(0x28c)];return(await this[_0x512edd(0x175)][_0x512edd(0x4d7)]({'metadata':void 0x0},{'unitID':_0xe9ac1d,'type':_0x5eded8,'from':_0x1c2282,'to':_0x4fd868}))[_0x512edd(0x2f2)]['map'](_0xb087f3=>((_0xb087f3[_0x512edd(0x313)]===null||_0xb087f3[_0x512edd(0x313)]===void 0x0)&&(_0xb087f3[_0x512edd(0x313)]=[]),_0xb087f3));}};_0x3ce6a3=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x1,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x5e0f50[_0x2e0def(0x172)])),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x3,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x4,_0x4f9696[_0x2e0def(0x1ec)])],_0x3ce6a3);function _0xb87230(_0x29dce5){const _0xb0f377=_0x2e0def;return _0x29dce5 instanceof _0x5e0f50[_0xb0f377(0x2a4)]?_0xb0f377(0x312)+(_0x29dce5['status']??0x0):_0x29dce5 instanceof Error?_0x29dce5[_0xb0f377(0x1d3)]:String(_0x29dce5);}let _0x325582=(0x0,_0x19e1e0['createIdentifier'])(_0x2e0def(0x254));function _0x349012(_0x40c0cb={}){const _0x3b5f0e=_0x2e0def;return _0x40c0cb['resolveUnit']?{'resolveUnit':_0x40c0cb[_0x3b5f0e(0x50c)]}:{'resolveUnit':_0x2c891f=>({'target':{'unitId':_0x2c891f[_0x3b5f0e(0x26e)],'unitType':_0x2c891f[_0x3b5f0e(0x222)]}})};}function _0x190cff(_0x259543,_0x58ac07,_0x23edb4){const _0x15831f=_0x2e0def;let _0x45e706=_0x23edb4[_0x15831f(0x4b3)][_0x15831f(0x3ee)];if(_0x45e706!=null&&_0x45e706[_0x15831f(0x15a)]()==='')throw Error(_0x15831f(0x2c6));if(!_0x23edb4[_0x15831f(0x4b3)][_0x15831f(0x26e)])throw Error(_0x15831f(0x45f));return{'localUnitId':_0x259543,'unitType':_0x58ac07,'target':{'endpoint':_0x45e706,'unitId':_0x23edb4['target']['unitId'],'unitType':_0x23edb4[_0x15831f(0x4b3)][_0x15831f(0x222)]??_0x58ac07},'changeset':_0x23edb4[_0x15831f(0x3cb)]};}let _0x696f8d=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(_0x266713,_0x314e2f,_0x1aa975,_0x3b5a44,_0x1ac0fc,_0x583a8e){const _0x344103=_0x2e0def;super(),this[_0x344103(0x196)]=_0x266713,this[_0x344103(0x4b1)]=_0x314e2f,this['_configService']=_0x1aa975,this[_0x344103(0x500)]=_0x3b5a44,this[_0x344103(0x3d1)]=_0x1ac0fc,this[_0x344103(0x178)]=_0x583a8e,_0xc5e065(this,_0x344103(0x306),new Map()),_0xc5e065(this,'_pendingSessions',new Map()),_0xc5e065(this,'_sessionChannels',new Map()),_0xc5e065(this,_0x344103(0x23b),new Map()),_0xc5e065(this,_0x344103(0x3ec),void 0x0),_0xc5e065(this,_0x344103(0x225),this[_0x344103(0x1de)](void 0x0)['socket$']['asObservable']()),_0xc5e065(this,_0x344103(0x13f),new _0x144f8e[(_0x344103(0x49d))](0x0)),_0xc5e065(this,_0x344103(0x1a1),this[_0x344103(0x13f)][_0x344103(0x3e8)]());}[_0x2e0def(0x3f2)](){const _0x52eae4=_0x2e0def;this[_0x52eae4(0x3ec)]||(this[_0x52eae4(0x3ec)]=this[_0x52eae4(0x196)]['get'](_0x4cfbe5,_0x19e1e0[_0x52eae4(0x25b)][_0x52eae4(0x185)])??void 0x0,this[_0x52eae4(0x3ec)]&&this[_0x52eae4(0x47f)](this['_networkConditionService'][_0x52eae4(0x4ba)]['subscribe'](_0x1ce72c=>{const _0x57d7df=_0x52eae4;_0x1ce72c&&this['reconnect'](),_0x1ce72c||this['_socketChannels'][_0x57d7df(0x307)](_0x57fbbf=>this['_onOffline'](_0x57fbbf));})));}[_0x2e0def(0x2d2)](){const _0x327de7=_0x2e0def;super[_0x327de7(0x2d2)](),this[_0x327de7(0x23b)][_0x327de7(0x307)](_0x2b0169=>{const _0x32edfa=_0x327de7;var _0x5bf3fe,_0x19ae8b,_0xb721d6;(_0x5bf3fe=_0x2b0169[_0x32edfa(0x4e7)])==null||_0x5bf3fe[_0x32edfa(0x45a)](),_0x2b0169['socketSubscription']=null,this['_clearHandshakeTimer'](_0x2b0169),this['_clearRetryConnectingTimer'](_0x2b0169),this[_0x32edfa(0x1a5)](_0x2b0169),this['_clearHeartbeatTimer'](_0x2b0169),(_0x19ae8b=_0x2b0169[_0x32edfa(0x225)][_0x32edfa(0x1fe)]())==null||_0x19ae8b[_0x32edfa(0x4b9)](),(_0xb721d6=_0x2b0169[_0x32edfa(0x276)])==null||_0xb721d6[_0x32edfa(0x4b9)](),_0x2b0169[_0x32edfa(0x225)]['complete']();}),this[_0x327de7(0x23b)]['clear'](),this[_0x327de7(0x306)][_0x327de7(0x307)](_0x56c250=>_0x56c250[_0x327de7(0x2d2)]()),this[_0x327de7(0x306)][_0x327de7(0x1ef)](),this[_0x327de7(0x408)][_0x327de7(0x1ef)](),this[_0x327de7(0x13f)]['complete']();}async[_0x2e0def(0x1e3)](_0x1a6be7,_0x3d3efa){const _0x4e644b=_0x2e0def;if(this[_0x4e644b(0x3f2)](),this[_0x4e644b(0x306)][_0x4e644b(0x39a)](_0x1a6be7))return this[_0x4e644b(0x306)][_0x4e644b(0x264)](_0x1a6be7);let _0x216fe3=this[_0x4e644b(0x1b6)][_0x4e644b(0x264)](_0x1a6be7);if(_0x216fe3)return _0x216fe3;let _0x561fbf=this[_0x4e644b(0x3c8)](_0x1a6be7,_0x3d3efa);this[_0x4e644b(0x1b6)][_0x4e644b(0x236)](_0x1a6be7,_0x561fbf);try{return await _0x561fbf;}finally{this[_0x4e644b(0x1b6)]['delete'](_0x1a6be7);}}async[_0x2e0def(0x3c8)](_0x72a42c,_0x2f02c6){const _0x98950=_0x2e0def;let _0x5a6fa0=await this[_0x98950(0x355)](_0x72a42c,_0x2f02c6),_0x3aec8f=this[_0x98950(0x1de)](_0x5a6fa0[_0x98950(0x4b3)]['endpoint']);this['_tryEnsureSocket'](_0x3aec8f);let _0x226cad=this[_0x98950(0x196)][_0x98950(0x2e3)](_0x50bd25,_0x5a6fa0,_0x3aec8f[_0x98950(0x225)]['asObservable']());return this['_sessions'][_0x98950(0x236)](_0x72a42c,_0x226cad),this[_0x98950(0x408)][_0x98950(0x236)](_0x72a42c,_0x3aec8f[_0x98950(0x35f)]),_0x226cad;}[_0x2e0def(0x28f)](_0x1d9e03){const _0x143938=_0x2e0def;let _0x13a95a=this[_0x143938(0x306)][_0x143938(0x264)](_0x1d9e03),_0xd98050=this[_0x143938(0x408)][_0x143938(0x264)](_0x1d9e03);if(_0x13a95a&&(this[_0x143938(0x306)][_0x143938(0x15c)](_0x1d9e03),this[_0x143938(0x408)][_0x143938(0x15c)](_0x1d9e03),_0x13a95a[_0x143938(0x4b9)]()),_0xd98050!==void 0x0&&!this['_hasSessionsForEndpoint'](_0xd98050)){let _0x36d9d3=this[_0x143938(0x23b)][_0x143938(0x264)](_0xd98050);_0x36d9d3&&this[_0x143938(0x19e)](_0x36d9d3);}}[_0x2e0def(0x189)](){const _0x1b55cc=_0x2e0def;(this['_socketChannels'][_0x1b55cc(0x30a)]?[...this['_socketChannels']['values']()]:[this[_0x1b55cc(0x1de)](void 0x0)])[_0x1b55cc(0x307)](_0x22dda2=>{const _0x548353=_0x1b55cc;!this[_0x548353(0x2ff)](_0x22dda2[_0x548353(0x35f)])||_0x22dda2[_0x548353(0x4b7)]||_0x22dda2[_0x548353(0x276)]||_0x22dda2[_0x548353(0x35d)]||(_0x22dda2[_0x548353(0x3bc)]=0x0,this[_0x548353(0x39d)](_0x22dda2),this[_0x548353(0x16a)](_0x22dda2));});}[_0x2e0def(0x39d)](_0x4b828d){const _0x3128e5=_0x2e0def;_0x4b828d[_0x3128e5(0x15e)]!=null&&(clearTimeout(_0x4b828d['retryConnectingTimer']),_0x4b828d[_0x3128e5(0x15e)]=null);}[_0x2e0def(0x272)](_0x75ebee){const _0x30a973=_0x2e0def;let _0x530a6a=this[_0x30a973(0x409)][_0x30a973(0x277)](_0x21d492),_0x5f24ee=_0x75ebee[_0x30a973(0x3ee)]??(_0x530a6a==null?void 0x0:_0x530a6a[_0x30a973(0x205)])??_0x30a973(0x42f);return this[_0x30a973(0x500)][_0x30a973(0x43a)](_0x5f24ee);}async[_0x2e0def(0x284)](_0x51d02e){const _0xc448fd=_0x2e0def;var _0x6e1794;if(this[_0xc448fd(0x2fe)]||((_0x6e1794=this[_0xc448fd(0x3ec)])==null?void 0x0:_0x6e1794[_0xc448fd(0x47e)])===!0x1||_0x51d02e[_0xc448fd(0x4b7)]||_0x51d02e[_0xc448fd(0x276)]||_0x51d02e[_0xc448fd(0x35d)])return;let _0x3ef73b={};_0x51d02e[_0xc448fd(0x35d)]=_0x3ef73b;try{let _0x5a7b4b=await this[_0xc448fd(0x272)](_0x51d02e);if(this[_0xc448fd(0x2fe)]||_0x51d02e[_0xc448fd(0x35d)]!==_0x3ef73b){_0x5a7b4b==null||_0x5a7b4b[_0xc448fd(0x4b9)]();return;}if(_0x5a7b4b){var _0x326bdf;_0x51d02e[_0xc448fd(0x276)]=_0x5a7b4b,_0x51d02e['handshakeTimer']=setTimeout(()=>{const _0x3b6734=_0xc448fd;!this[_0x3b6734(0x2fe)]&&_0x51d02e[_0x3b6734(0x276)]===_0x5a7b4b&&this[_0x3b6734(0x2be)](_0x51d02e);},0x4e20);let _0x21781c=_0x5a7b4b['send'];_0x5a7b4b[_0xc448fd(0x388)]=(_0xd93123,_0x387849)=>{const _0x14ffa8=_0xc448fd;_0xd93123[_0x14ffa8(0x43f)]!==_0xc3615a[_0x14ffa8(0x349)]['LEAVE']&&!_0x5980fe(_0xd93123)&&_0x51d02e[_0x14ffa8(0x4b7)]&&_0x51d02e[_0x14ffa8(0x225)]['getValue']()===_0x5a7b4b&&this[_0x14ffa8(0x50b)](_0x51d02e);let _0x527601=_0x387849===void 0x0?_0x21781c['call'](_0x5a7b4b,_0xd93123):_0x21781c['call'](_0x5a7b4b,_0xd93123,_0x387849);return _0x527601 instanceof Promise&&_0x527601[_0x14ffa8(0x2bd)](_0x2b6995=>{const _0x413808=_0x14ffa8;_0xc51cf7(_0x2b6995)&&_0x51d02e['socket$'][_0x413808(0x1fe)]()===_0x5a7b4b&&this['_onLicenseRejected'](_0x51d02e);}),_0x527601;},(_0x326bdf=_0x51d02e[_0xc448fd(0x4e7)])==null||_0x326bdf[_0xc448fd(0x45a)]();let _0x28b919=new _0x144f8e[(_0xc448fd(0x4fa))]();_0x51d02e['socketSubscription']=_0x28b919,_0x28b919['add'](_0x5a7b4b[_0xc448fd(0x275)][_0xc448fd(0x341)](_0x110551=>this['_onMessage'](_0x51d02e,_0x5a7b4b,_0x110551))),_0x28b919['add'](_0x5a7b4b['error$']['pipe']((0x0,_0x472409[_0xc448fd(0x374)])(0x1))[_0xc448fd(0x341)](_0x32856f=>this['_logService'][_0xc448fd(0x340)](_0xc448fd(0x3dc),_0x32856f))),_0x28b919[_0xc448fd(0x32b)](_0x5a7b4b[_0xc448fd(0x436)][_0xc448fd(0x251)]((0x0,_0x472409[_0xc448fd(0x374)])(0x1))[_0xc448fd(0x341)](()=>{const _0x1cc7cc=_0xc448fd;this[_0x1cc7cc(0x3eb)](_0x51d02e,_0x5a7b4b);})),_0x28b919[_0xc448fd(0x32b)](_0x5a7b4b['close$'][_0xc448fd(0x251)]((0x0,_0x472409['take'])(0x1))['subscribe'](_0x354512=>{const _0x442855=_0xc448fd;(_0x51d02e[_0x442855(0x276)]===_0x5a7b4b||_0x51d02e['socket$']['getValue']()===_0x5a7b4b)&&(this[_0x442855(0x4b1)][_0x442855(0x210)]('[CollaborationSessionService]',_0x442855(0x376),_0x354512),this[_0x442855(0x2be)](_0x51d02e));}));}}catch(_0x5b2311){if(_0x51d02e['connectionAttempt']!==_0x3ef73b)return;if(_0xc51cf7(_0x5b2311)){this[_0xc448fd(0x4d9)](_0x51d02e);return;}this['_logService']['error'](_0x5b2311),this[_0xc448fd(0x2be)](_0x51d02e);}finally{_0x51d02e[_0xc448fd(0x35d)]===_0x3ef73b&&(_0x51d02e[_0xc448fd(0x35d)]=null);}}[_0x2e0def(0x3eb)](_0x348be1,_0x40af96){const _0xef4239=_0x2e0def;this[_0xef4239(0x2fe)]||_0x348be1[_0xef4239(0x276)]!==_0x40af96||(this[_0xef4239(0x4b1)][_0xef4239(0x210)](_0xef4239(0x279),_0xef4239(0x302)),_0x40af96[_0xef4239(0x388)]({'cmd':_0xc3615a[_0xef4239(0x349)]['HELLO']}));}[_0x2e0def(0x19e)](_0x3768d3){const _0x2606f5=_0x2e0def;var _0x5a4c68;let _0x137697=_0x3768d3[_0x2606f5(0x225)][_0x2606f5(0x1fe)]()??_0x3768d3['candidateSocket'];_0x3768d3[_0x2606f5(0x35d)]=null,_0x3768d3[_0x2606f5(0x4b7)]=!0x1,_0x3768d3[_0x2606f5(0x276)]=null,(_0x5a4c68=_0x3768d3[_0x2606f5(0x4e7)])==null||_0x5a4c68['unsubscribe'](),_0x3768d3[_0x2606f5(0x4e7)]=null,this['_status$'][_0x2606f5(0x30c)](0x2),_0x3768d3[_0x2606f5(0x225)][_0x2606f5(0x30c)](null),this[_0x2606f5(0x39d)](_0x3768d3),this['_clearHandshakeTimer'](_0x3768d3),this[_0x2606f5(0x1a5)](_0x3768d3),this[_0x2606f5(0x463)](_0x3768d3),_0x137697==null||_0x137697['close']();}[_0x2e0def(0x4d9)](_0x50d8cb){const _0x5481e5=_0x2e0def;this[_0x5481e5(0x19e)](_0x50d8cb),this[_0x5481e5(0x3d1)][_0x5481e5(0x445)]({'id':_0x5481e5(0x46a)});}[_0x2e0def(0x2be)](_0x16ceb2){const _0xfab044=_0x2e0def;var _0x5f0f6b;this[_0xfab044(0x19e)](_0x16ceb2),!this['_disposed']&&((_0x5f0f6b=this[_0xfab044(0x3ec)])==null?void 0x0:_0x5f0f6b[_0xfab044(0x47e)])!==!0x1&&this[_0xfab044(0x2ff)](_0x16ceb2['endpointKey'])&&(_0x16ceb2['retryCount']<(this['_configService'][_0xfab044(0x277)](_0xfab044(0x22d))??0x3)?(this[_0xfab044(0x3d1)][_0xfab044(0x445)]({'id':'SOCKET_FAILED_RETRY'}),this[_0xfab044(0x16a)](_0x16ceb2)):this[_0xfab044(0x3d1)][_0xfab044(0x445)]({'id':_0xfab044(0x327)}));}['_tryReconnect'](_0x277bab){const _0x5b39d3=_0x2e0def;let _0x28845d=_0x277bab[_0x5b39d3(0x3bc)],_0x4a1992=this[_0x5b39d3(0x409)][_0x5b39d3(0x277)](_0x21d492),_0x6e41ed=_0x28845d===0x0?0x0:((_0x4a1992==null?void 0x0:_0x4a1992[_0x5b39d3(0x326)])??0x4e20)*0x2**_0x28845d;_0x277bab[_0x5b39d3(0x15e)]=setTimeout(()=>{const _0x450b74=_0x5b39d3;clearTimeout(_0x277bab[_0x450b74(0x15e)]),_0x277bab['retryConnectingTimer']=null,this['_tryEnsureSocket'](_0x277bab);},_0x6e41ed),_0x277bab[_0x5b39d3(0x3bc)]+=0x1;}async[_0x2e0def(0x355)](_0x3ac4b0,_0x34f298){const _0x51b66b=_0x2e0def;return _0x190cff(_0x3ac4b0,_0x34f298,await this[_0x51b66b(0x178)][_0x51b66b(0x50c)]({'unitId':_0x3ac4b0,'unitType':_0x34f298}));}[_0x2e0def(0x2c7)](_0x4314e,_0x2863ed,_0x214074){const _0x5b72f8=_0x2e0def;if(this[_0x5b72f8(0x2fe)]||_0x4314e[_0x5b72f8(0x276)]!==_0x2863ed&&_0x4314e[_0x5b72f8(0x225)]['getValue']()!==_0x2863ed)return;let {cmd:_0x4ee7e6}=_0x214074;if(_0x4ee7e6===_0xc3615a[_0x5b72f8(0x349)][_0x5b72f8(0x333)]&&!_0x4314e[_0x5b72f8(0x4b7)]){var _0x28b676;if((_0x214074[_0x5b72f8(0x1cd)]??_0xc3615a['CmdRspCode']['OK'])!==_0xc3615a['CmdRspCode']['OK']||!((_0x28b676=_0x214074[_0x5b72f8(0x28c)])!=null&&_0x28b676[_0x5b72f8(0x281)])){this[_0x5b72f8(0x2be)](_0x4314e);return;}this['_clearHandshakeTimer'](_0x4314e),_0x2863ed[_0x5b72f8(0x281)]=_0x214074[_0x5b72f8(0x28c)][_0x5b72f8(0x281)],_0x4314e[_0x5b72f8(0x3bc)]=0x0,_0x4314e[_0x5b72f8(0x4b7)]=!0x0,_0x4314e[_0x5b72f8(0x276)]=null,_0x4314e[_0x5b72f8(0x225)]['next'](_0x2863ed),this[_0x5b72f8(0x13f)][_0x5b72f8(0x30c)](0x3);}_0x4ee7e6===_0xc3615a[_0x5b72f8(0x349)][_0x5b72f8(0x400)]&&this[_0x5b72f8(0x1a5)](_0x4314e),this[_0x5b72f8(0x50b)](_0x4314e);}[_0x2e0def(0x2ff)](_0x15fbdd){const _0x29acd7=_0x2e0def;return[...this[_0x29acd7(0x408)][_0x29acd7(0x3b0)]()]['some'](_0x1b78c2=>_0x1b78c2===_0x15fbdd);}['_getSocketChannel'](_0x4dbc73){const _0x426763=_0x2e0def;let _0x5b93c6=_0x4dbc73??'',_0x22d0fa=this[_0x426763(0x23b)]['get'](_0x5b93c6);if(_0x22d0fa)return _0x22d0fa;let _0x1c36b6={'endpointKey':_0x5b93c6,'endpoint':_0x4dbc73,'socket$':new _0x144f8e[(_0x426763(0x49d))](void 0x0),'candidateSocket':null,'connectionAttempt':null,'socketReady':!0x1,'socketSubscription':null,'handshakeTimer':null,'retryConnectingTimer':null,'retryCount':0x0,'sendHeartbeatTimer':null,'timeoutTimer':null};return this[_0x426763(0x23b)][_0x426763(0x236)](_0x5b93c6,_0x1c36b6),_0x1c36b6;}[_0x2e0def(0x176)](_0x5b81fc){const _0x559696=_0x2e0def;_0x5b81fc[_0x559696(0x240)]!=null&&(clearTimeout(_0x5b81fc['handshakeTimer']),_0x5b81fc[_0x559696(0x240)]=null);}['_rescheduleHeartbeat'](_0x5d4f39){const _0x32ceee=_0x2e0def;this[_0x32ceee(0x463)](_0x5d4f39),_0x5d4f39[_0x32ceee(0x4b7)]&&(_0x5d4f39['sendHeartbeatTimer']=setTimeout(()=>this[_0x32ceee(0x255)](_0x5d4f39),this[_0x32ceee(0x409)][_0x32ceee(0x277)]('HEARTBEAT_INTERVAL')??0x7530));}[_0x2e0def(0x255)](_0x561627){const _0x51be98=_0x2e0def;let _0x45c1e3=_0x561627['socket$'][_0x51be98(0x1fe)]();_0x561627['socketReady']&&_0x45c1e3&&(_0x45c1e3[_0x51be98(0x388)]({'cmd':_0xc3615a[_0x51be98(0x349)][_0x51be98(0x400)]}),this[_0x51be98(0x212)](_0x561627));}[_0x2e0def(0x212)](_0x118a44){const _0x3af382=_0x2e0def;_0x118a44[_0x3af382(0x347)]=setTimeout(()=>this['_onConnectionFailed'](_0x118a44),this[_0x3af382(0x409)]['getConfig'](_0x3af382(0x4c3))??0x4e20);}['_clearHeartbeatTimer'](_0x255a00){const _0x120810=_0x2e0def;_0x255a00[_0x120810(0x282)]!=null&&(clearTimeout(_0x255a00[_0x120810(0x282)]),_0x255a00['sendHeartbeatTimer']=null);}[_0x2e0def(0x1a5)](_0x16ae24){const _0x32c8e5=_0x2e0def;_0x16ae24[_0x32c8e5(0x347)]!=null&&(clearTimeout(_0x16ae24['timeoutTimer']),_0x16ae24[_0x32c8e5(0x347)]=null);}};_0x696f8d=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x3,_0x3e2f68),_0x5d2cb5(0x4,(0x0,_0x19e1e0['Inject'])(_0x1bde53)),_0x5d2cb5(0x5,_0x325582)],_0x696f8d);function _0x5980fe(_0x10601d){const _0x98076d=_0x2e0def;if(_0x10601d['cmd']!==_0xc3615a['CombCmd']['INGEST'])return!0x1;let _0xb5e22a=_0x10601d[_0x98076d(0x28c)]['eventID'];return _0xb5e22a===_0x4f9696[_0x98076d(0x257)][_0x98076d(0x2e6)]||_0xb5e22a===_0x4f9696[_0x98076d(0x257)]['FETCH_MISSING'];}function _0xc51cf7(_0x127c64){const _0x5d83b9=_0x2e0def;var _0x5a7493;if(!(_0x127c64 instanceof _0x5e0f50[_0x5d83b9(0x2a4)])||_0x127c64[_0x5d83b9(0x47d)]!==0x193)return!0x1;let _0x1a159d=_0x127c64['error'];return(_0x1a159d==null||(_0x5a7493=_0x1a159d['error'])==null?void 0x0:_0x5a7493[_0x5d83b9(0x1cd)])===_0xc3615a[_0x5d83b9(0x36e)][_0x5d83b9(0x46a)];}let _0x5fd9b5=class extends _0x19e1e0[_0x2e0def(0x505)]{constructor(_0x63baa4,_0x1d7ce3,_0x4d5aa0,_0x465b27){const _0x1c0624=_0x2e0def;var _0x196c72;super(),this['_injector']=_0x63baa4,this['_collabSessionService']=_0x1d7ce3,this['_configService']=_0x4d5aa0,this['_univerInstanceService']=_0x465b27,_0xc5e065(this,'_entities',new Map()),_0xc5e065(this,_0x1c0624(0x40e),new _0x144f8e[(_0x1c0624(0x2d3))]()),_0xc5e065(this,_0x1c0624(0x1e0),this[_0x1c0624(0x40e)][_0x1c0624(0x3e8)]()),((_0x196c72=this['_configService'][_0x1c0624(0x277)](_0x1c0624(0x20f)))==null?void 0x0:_0x196c72[_0x1c0624(0x163)])!==!0x1&&this[_0x1c0624(0x467)]();}[_0x2e0def(0x2d2)](){const _0x51f2fa=_0x2e0def;super[_0x51f2fa(0x2d2)](),this[_0x51f2fa(0x476)][_0x51f2fa(0x307)](_0x464ee6=>_0x464ee6['dispose']()),this[_0x51f2fa(0x476)][_0x51f2fa(0x1ef)]();}['getCollabEntity'](_0x320569){const _0x2b476e=_0x2e0def;return this['_entities'][_0x2b476e(0x264)](_0x320569)??null;}[_0x2e0def(0x528)](){const _0xec024f=_0x2e0def;return Array[_0xec024f(0x43d)](this[_0xec024f(0x476)]['values']());}[_0x2e0def(0x49b)](_0x200717){const _0x44c55c=_0x2e0def;let _0x3521a2=this[_0x44c55c(0x2c3)](_0x200717);return _0x3521a2?(0x0,_0x144f8e['of'])(_0x3521a2):this[_0x44c55c(0x40e)][_0x44c55c(0x251)]((0x0,_0x472409['filter'])(_0x3846d6=>_0x3846d6[_0x44c55c(0x2d8)]===_0x200717));}['readyForCollab'](_0x19f0a3){const _0x112e41=_0x2e0def;return(0x0,_0x144f8e['firstValueFrom'])(this[_0x112e41(0x49b)](_0x19f0a3)['pipe']((0x0,_0x472409[_0x112e41(0x417)])(()=>void 0x0)));}[_0x2e0def(0x3d3)](_0x1f5891){const _0x502b67=_0x2e0def;if(_0x1f5891!==void 0x0){var _0x1fd6f2;return((_0x1fd6f2=this[_0x502b67(0x476)][_0x502b67(0x264)](_0x1f5891))==null?void 0x0:_0x1fd6f2[_0x502b67(0x3d3)]())??!0x1;}for(let _0x3c34e1 of this[_0x502b67(0x476)]['values']())if(_0x3c34e1[_0x502b67(0x3d3)]())return!0x0;return!0x1;}['_init'](){const _0x375558=_0x2e0def;this[_0x375558(0x4d1)]['getTypeOfUnitAdded$'](_0x19e1e0['UniverInstanceType'][_0x375558(0x3c5)])[_0x375558(0x251)]((0x0,_0x144f8e[_0x375558(0x357)])(this['dispose$']),(0x0,_0x472409[_0x375558(0x2bb)])(0x10))['subscribe'](async _0x735715=>{const _0x5787b1=_0x375558;let _0x591267=_0x735715[_0x5787b1(0x1c3)][_0x5787b1(0x465)](),_0x4a29c7=await this[_0x5787b1(0x29b)](_0x591267,_0x19e1e0[_0x5787b1(0x3e4)][_0x5787b1(0x3c5)]);this[_0x5787b1(0x476)][_0x5787b1(0x236)](_0x591267,_0x4a29c7);}),this[_0x375558(0x4d1)]['getTypeOfUnitAdded$'](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x23c)])[_0x375558(0x251)]((0x0,_0x144f8e[_0x375558(0x357)])(this[_0x375558(0x24e)]),(0x0,_0x472409[_0x375558(0x2bb)])(0x10))[_0x375558(0x251)]((0x0,_0x472409[_0x375558(0x192)])(_0x3c4098=>!_0x3c4098[_0x375558(0x1c3)][_0x375558(0x465)]()['startsWith']('__')))['subscribe'](async _0x1fd94d=>{const _0x229172=_0x375558;let _0x2b0ce8=_0x1fd94d[_0x229172(0x1c3)][_0x229172(0x465)](),_0x3f4e60=await this[_0x229172(0x29b)](_0x2b0ce8,_0x19e1e0[_0x229172(0x3e4)][_0x229172(0x23c)]);this[_0x229172(0x476)][_0x229172(0x236)](_0x2b0ce8,_0x3f4e60);}),this[_0x375558(0x4d1)][_0x375558(0x3fe)](_0x19e1e0[_0x375558(0x3e4)]['UNIVER_SLIDE'])[_0x375558(0x251)]((0x0,_0x144f8e[_0x375558(0x357)])(this[_0x375558(0x24e)]),(0x0,_0x472409[_0x375558(0x2bb)])(0x10))[_0x375558(0x341)](async _0x4050e7=>{const _0x2d61c7=_0x375558;let _0x4437b0=_0x4050e7[_0x2d61c7(0x1c3)][_0x2d61c7(0x465)](),_0x5b45a6=await this[_0x2d61c7(0x29b)](_0x4437b0,_0x19e1e0[_0x2d61c7(0x3e4)][_0x2d61c7(0x261)]);this[_0x2d61c7(0x476)][_0x2d61c7(0x236)](_0x4437b0,_0x5b45a6);}),this[_0x375558(0x4d1)][_0x375558(0x3fe)](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x27b)])['pipe']((0x0,_0x144f8e[_0x375558(0x357)])(this[_0x375558(0x24e)]),(0x0,_0x472409[_0x375558(0x2bb)])(0x10))[_0x375558(0x341)](async _0x3a1d42=>{const _0x158a66=_0x375558;let _0x517010=_0x3a1d42[_0x158a66(0x1c3)][_0x158a66(0x465)](),_0x3cc24f=await this[_0x158a66(0x29b)](_0x517010,_0x19e1e0[_0x158a66(0x3e4)]['UNIVER_BOARD']);this[_0x158a66(0x476)][_0x158a66(0x236)](_0x517010,_0x3cc24f);}),this[_0x375558(0x4d1)][_0x375558(0x3fe)](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x335)])['pipe']((0x0,_0x144f8e['takeUntil'])(this['dispose$']),(0x0,_0x472409['delay'])(0x10))['subscribe'](async _0x8d0a51=>{const _0x3d505f=_0x375558;let _0x2f099f=_0x8d0a51[_0x3d505f(0x1c3)][_0x3d505f(0x465)](),_0x5a99e3=await this[_0x3d505f(0x29b)](_0x2f099f,_0x19e1e0[_0x3d505f(0x3e4)]['UNIVER_BASE']);this[_0x3d505f(0x476)][_0x3d505f(0x236)](_0x2f099f,_0x5a99e3);}),this['_univerInstanceService'][_0x375558(0x3fe)](_0x19e1e0['UniverInstanceType']['UNIVER_PDF'])[_0x375558(0x251)]((0x0,_0x144f8e[_0x375558(0x357)])(this[_0x375558(0x24e)]),(0x0,_0x472409[_0x375558(0x2bb)])(0x10))['subscribe'](async _0x4c35f5=>{const _0x31d2bb=_0x375558;let _0xafa185=_0x4c35f5['unit'][_0x31d2bb(0x465)](),_0x556d4d=await this[_0x31d2bb(0x29b)](_0xafa185,_0x19e1e0[_0x31d2bb(0x3e4)][_0x31d2bb(0x2e2)]);this['_entities'][_0x31d2bb(0x236)](_0xafa185,_0x556d4d);}),(0x0,_0x144f8e[_0x375558(0x208)])(this[_0x375558(0x4d1)][_0x375558(0x1ee)](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x3c5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x23c)]),this['_univerInstanceService'][_0x375558(0x1ee)](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x261)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x27b)]),this[_0x375558(0x4d1)][_0x375558(0x1ee)](_0x19e1e0[_0x375558(0x3e4)]['UNIVER_BASE']),this[_0x375558(0x4d1)][_0x375558(0x1ee)](_0x19e1e0[_0x375558(0x3e4)][_0x375558(0x2e2)]))[_0x375558(0x251)]((0x0,_0x144f8e[_0x375558(0x357)])(this['dispose$']))['subscribe'](_0x573c3e=>{const _0x325955=_0x375558;let _0x28d2da=_0x573c3e[_0x325955(0x465)](),_0x56d52f=this[_0x325955(0x476)][_0x325955(0x264)](_0x28d2da);_0x56d52f&&(_0x56d52f[_0x325955(0x2d2)](),this[_0x325955(0x476)][_0x325955(0x15c)](_0x28d2da));});}async[_0x2e0def(0x29b)](_0x5e26a8,_0x2dccd2){const _0x3b29cc=_0x2e0def;let _0x48460c=await this[_0x3b29cc(0x4be)][_0x3b29cc(0x1e3)](_0x5e26a8),_0x27e3c9=this['_injector'][_0x3b29cc(0x2e3)](this[_0x3b29cc(0x1bb)](_0x2dccd2),_0x5e26a8,_0x2dccd2,_0x48460c);return await _0x27e3c9['init'](),this['_entityInit$'][_0x3b29cc(0x30c)](_0x27e3c9),_0x27e3c9;}[_0x2e0def(0x1bb)](_0x5966b9){const _0x307dcb=_0x2e0def;switch(_0x5966b9){case _0x19e1e0[_0x307dcb(0x3e4)][_0x307dcb(0x23c)]:return _0x24fcb7;case _0x19e1e0['UniverInstanceType'][_0x307dcb(0x3c5)]:return _0x550742;case _0x19e1e0[_0x307dcb(0x3e4)][_0x307dcb(0x261)]:return _0x27bbc8;case _0x19e1e0['UniverInstanceType'][_0x307dcb(0x27b)]:return _0x5344a5;case _0x19e1e0[_0x307dcb(0x3e4)][_0x307dcb(0x335)]:return _0x47d8cb;case _0x19e1e0[_0x307dcb(0x3e4)][_0x307dcb(0x2e2)]:return _0x3e1efe;default:throw Error(_0x307dcb(0x17f)+_0x5966b9);}}};_0x5fd9b5=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x1,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x696f8d)),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x3,_0x19e1e0[_0x2e0def(0x19c)])],_0x5fd9b5);var _0x478bf2=_0x2e0def(0x232),_0x290754='1.3.0';let _0x50c61d=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(_0x4b4157,_0x335f78){super(),this['_univerInstanceService']=_0x4b4157,this['_configService']=_0x335f78,this['_init']();}[_0x2e0def(0x467)](){const _0xa688d6=_0x2e0def;this[_0xa688d6(0x47f)](this[_0xa688d6(0x4d1)]['focused$'][_0xa688d6(0x341)](()=>{const _0x320753=_0xa688d6;let _0xa46e58=this['_univerInstanceService'][_0x320753(0x162)](),_0x337ee6=this[_0x320753(0x409)][_0x320753(0x277)]('DEFAULT_FILE_NAME')??'Univer';_0xa46e58 instanceof _0x19e1e0[_0x320753(0x142)]&&(_0x337ee6=_0xa46e58[_0x320753(0x1d3)]),document[_0x320753(0x2ea)]=_0x337ee6;}));}};_0x50c61d=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x4f4)])],_0x50c61d);let _0x3e5537=(0x0,_0x19e1e0[_0x2e0def(0x373)])(_0x2e0def(0x140)),_0x1be954=class{constructor(_0x4fb635,_0x15a8c4,_0x2fb29c){const _0x527449=_0x2e0def;this[_0x527449(0x21e)]=_0x4fb635,this[_0x527449(0x409)]=_0x15a8c4,this[_0x527449(0x4d1)]=_0x2fb29c;}[_0x2e0def(0x447)](){const _0x5834d6=_0x2e0def;return this[_0x5834d6(0x3d7)]()['attachment']??{};}async[_0x2e0def(0x515)](_0x1ff7fb){const _0x2c4d15=_0x2e0def;let _0x30b28d=this[_0x2c4d15(0x447)]();if(_0x818e8c(_0x1ff7fb,_0x30b28d),_0x30b28d['upload'])return _0x30b28d[_0x2c4d15(0x3f8)](_0x1ff7fb);let _0x3b6cdd=await this[_0x2c4d15(0x40c)](_0x1ff7fb);return{'id':_0x3b6cdd,'name':_0x1ff7fb[_0x2c4d15(0x1d3)],'mimeType':_0x1ff7fb[_0x2c4d15(0x33d)],'size':_0x1ff7fb[_0x2c4d15(0x30a)],'sourceType':_0x19e1e0[_0x2c4d15(0x31d)][_0x2c4d15(0x4f5)],'source':_0x3b6cdd};}async[_0x2e0def(0x4a4)](_0x360997,_0x3f6aa5){const _0x143ad9=_0x2e0def;if(_0x3f6aa5!==_0x19e1e0[_0x143ad9(0x31d)][_0x143ad9(0x4f5)])return _0x360997;let _0x51e3f6=(await this[_0x143ad9(0x21e)][_0x143ad9(0x264)](this[_0x143ad9(0x18b)]()[_0x143ad9(0x33e)]('{fileID}',_0x360997)))[_0x143ad9(0x2c0)];if(_0x51e3f6[_0x143ad9(0x340)]&&_0x51e3f6[_0x143ad9(0x340)]['code']!==_0xc3615a['ErrorCode']['OK'])throw _0x51e3f6['error'];if(!_0x51e3f6['url'])throw Error(_0x143ad9(0x2f6));return(0x0,_0x19e1e0[_0x143ad9(0x332)])(_0x51e3f6[_0x143ad9(0x4f7)],this[_0x143ad9(0x36d)]());}async['_upload'](_0x4ba9dc){const _0x2ebf16=_0x2e0def;let _0x3cbfc6=this['_univerInstanceService'][_0x2ebf16(0x162)](),_0x7a4871=_0x3cbfc6==null?void 0x0:_0x3cbfc6[_0x2ebf16(0x465)]();if(!_0x7a4871)throw Error('[CollaborationAttachmentIoService]:\x20unitId\x20is\x20not\x20found.');let _0x3756b4=new FormData();_0x3756b4['append']('file',_0x4ba9dc);let _0x4c719a=this[_0x2ebf16(0x3c1)]()+_0x2ebf16(0x2da)+_0x4ba9dc['size'][_0x2ebf16(0x2e4)]()+_0x2ebf16(0x2b6)+_0xc3615a['FileSource'][_0x2ebf16(0x1d5)]+_0x2ebf16(0x171)+encodeURIComponent(_0x7a4871),_0x4bcce4=(await this[_0x2ebf16(0x21e)][_0x2ebf16(0x4e5)](_0x4c719a,{'body':_0x3756b4}))[_0x2ebf16(0x2c0)][_0x2ebf16(0x501)];if(typeof _0x4bcce4!=_0x2ebf16(0x464)||!_0x4bcce4)throw Error(_0x2ebf16(0x23f));return _0x4bcce4;}[_0x2e0def(0x3c1)](){const _0x354a58=_0x2e0def;return this[_0x354a58(0x3d7)]()[_0x354a58(0x364)]??_0x354a58(0x385);}[_0x2e0def(0x18b)](){const _0x294572=_0x2e0def;return this['_getConfig']()[_0x294572(0x4fd)]??_0x294572(0x46b);}[_0x2e0def(0x36d)](){const _0x48776f=_0x2e0def;let _0x1fd260=this[_0x48776f(0x3d7)]();return _0x1fd260[_0x48776f(0x1a6)]?_0x1fd260['downloadEndpointUrl']:typeof location<'u'?location[_0x48776f(0x44f)]:_0x1fd260['uploadFileServerUrl']??'';}[_0x2e0def(0x3d7)](){const _0x2cf65c=_0x2e0def;return this['_configService']['getConfig'](_0x2cf65c(0x20f))??{};}};_0x1be954=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x5e0f50[_0x2e0def(0x172)])),_0x5d2cb5(0x1,(0x0,_0x19e1e0['Inject'])(_0x19e1e0[_0x2e0def(0x4f4)])),_0x5d2cb5(0x2,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x19c)]))],_0x1be954);function _0x818e8c(_0x3ac3b3,_0x21ed3a){const _0x36eb9a=_0x2e0def;var _0x3a3d50;if(_0x21ed3a[_0x36eb9a(0x182)]!=null&&_0x3ac3b3['size']>_0x21ed3a[_0x36eb9a(0x182)])throw Error(_0x36eb9a(0x506));if((_0x3a3d50=_0x21ed3a[_0x36eb9a(0x2b9)])!=null&&_0x3a3d50['length']&&!_0x21ed3a[_0x36eb9a(0x2b9)][_0x36eb9a(0x202)](_0x1b3bd2=>_0x3ac3b3[_0x36eb9a(0x33d)]===_0x1b3bd2||_0x3ac3b3[_0x36eb9a(0x1d3)][_0x36eb9a(0x523)](_0x1b3bd2)||_0x1b3bd2[_0x36eb9a(0x523)]('/*')&&_0x3ac3b3[_0x36eb9a(0x33d)][_0x36eb9a(0x331)](_0x1b3bd2['slice'](0x0,-0x1))))throw Error('[CollaborationAttachmentIoService]:\x20attachment\x20type\x20is\x20not\x20accepted.');}let _0x413891=class{constructor(_0x4b665e,_0xa9e48a,_0x346621){const _0x3ae3f6=_0x2e0def;this['_configService']=_0x4b665e,this[_0x3ae3f6(0x21e)]=_0xa9e48a,this[_0x3ae3f6(0x473)]=_0x346621,this[_0x3ae3f6(0x1c6)]();}['init'](){const _0x525624=_0x2e0def;this[_0x525624(0x21e)][_0x525624(0x1d6)]({'priority':0x1,'interceptor':(_0x42f366,_0x4a993e)=>_0x4a993e(_0x42f366)[_0x525624(0x251)]((0x0,_0x144f8e[_0x525624(0x51b)])(async _0x18c7df=>{const _0x210c8b=_0x525624;let _0x984f7e=_0x18c7df;if(_0x984f7e[_0x210c8b(0x47d)]===0x191){if(typeof window>'u')throw Error(_0x210c8b(0x466));if(window[_0x210c8b(0x381)](this[_0x210c8b(0x473)]['t'](_0x210c8b(0x259)))){let _0x44ec40=window[_0x210c8b(0x2fb)](window[_0x210c8b(0x35c)][_0x210c8b(0x33b)]);window['location'][_0x210c8b(0x33b)]=this[_0x210c8b(0x149)]()+_0x210c8b(0x495)+_0x44ec40;}}return _0x984f7e;}))});}[_0x2e0def(0x149)](){const _0x47d486=_0x2e0def;let _0x16b775=this[_0x47d486(0x409)][_0x47d486(0x277)](_0x21d492);return(_0x16b775==null?void 0x0:_0x16b775['loginUrlKey'])??'/universer-api/oidc/authpage';}};_0x413891=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x1,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x5e0f50[_0x2e0def(0x172)])),_0x5d2cb5(0x2,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x3f0)]))],_0x413891);let _0x274190=class extends _0x19e1e0[_0x2e0def(0x404)]{constructor(_0x3daad4,_0x54deb5){const _0x33ba08=_0x2e0def;super(),this[_0x33ba08(0x486)]=_0x3daad4,this['_configService']=_0x54deb5,_0xc5e065(this,'_cfgEnableObjInherit',!0x1),this['_initMergeInterceptor']();}[_0x2e0def(0x3be)](){const _0xac134=_0x2e0def;let _0x338ecf=this;this[_0xac134(0x47f)](this[_0xac134(0x486)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':(0x0,_0x5e0f50[_0xac134(0x2df)])({'isMatch'(_0x5dbab6){const _0x19c157=_0xac134;var _0x558d92;if(_0x5dbab6['method']===_0x19c157(0x2ed)&&(_0x558d92=_0x5dbab6[_0x19c157(0x145)])!=null&&_0x558d92[_0x19c157(0x2c0)]){let {objectID:_0x423490,objectType:_0x2331bd}=_0x5dbab6[_0x19c157(0x145)][_0x19c157(0x2c0)]||{};if(!_0x423490||_0x2331bd===void 0x0)return!0x1;let _0x1f7918=_0x338ecf[_0x19c157(0x2af)]()+'/'+_0x2331bd+_0x19c157(0x51c)+encodeURIComponent(_0x423490)+_0x19c157(0x375);if(_0x5dbab6[_0x19c157(0x4f7)]===_0x1f7918)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x11a3f4){const _0x3d7e02=_0xac134;var _0x4a4e0b;return(_0x4a4e0b=_0x11a3f4[_0x3d7e02(0x145)])==null?void 0x0:_0x4a4e0b['body'];},'mergeParamsToRequest'(_0x2e7019,_0x1c0352){const _0xf567a2=_0xac134;let _0x119ed4=_0x338ecf[_0xf567a2(0x2af)]()+_0xf567a2(0x194),_0x3b8aa=_0x2e7019[_0xf567a2(0x3cd)]((_0x8555a4,_0x398f9b)=>{const _0x2d9fee=_0xf567a2;let {unitID:_0x41dba0,objectID:_0xd6cf3c,objectType:_0x8820c0,actions:_0x390637}=_0x398f9b;return _0x8555a4[_0x41dba0]||(_0x8555a4[_0x41dba0]=Object[_0x2d9fee(0x2dc)](null)),_0x8555a4[_0x41dba0][_0xd6cf3c]||(_0x8555a4[_0x41dba0][_0xd6cf3c]={'objectID':_0xd6cf3c,'objectType':_0x8820c0,'actions':[]}),_0x8555a4[_0x41dba0][_0xd6cf3c][_0x2d9fee(0x17d)]['push'](..._0x390637),_0x8555a4;},Object[_0xf567a2(0x2dc)](null)),_0x1d1834=[];for(let _0xf69191 in _0x3b8aa)for(let _0x23bb1e in _0x3b8aa[_0xf69191]){let {actions:_0xdf46a2,objectType:_0x132492}=_0x3b8aa[_0xf69191][_0x23bb1e],_0x31f018=[...new Set(_0xdf46a2)];_0x1d1834[_0xf567a2(0x4d0)]({'unitID':_0xf69191,'objectID':_0x23bb1e,'objectType':_0x132492,'actions':_0x31f018});}return new _0x5e0f50[(_0xf567a2(0x350))]('POST',_0x119ed4,{'headers':_0x1c0352['headers'],'withCredentials':_0x1c0352[_0xf567a2(0x492)],'responseType':_0x1c0352['responseType'],'body':{'requests':_0x1d1834}});}},{'distributeResult'(_0xeca741,_0x4bedd0){let {objectActions:_0x14242d}=_0xeca741;return _0x4bedd0['map'](_0x3fda69=>{const _0x2c1d02=_0xa473;let {unitID:_0x2ef6ed,objectID:_0x2c14b7,actions:_0x18c6eb}=_0x3fda69,_0x340cdd=_0x14242d['find'](_0x4831a3=>_0x4831a3[_0x2c1d02(0x2d8)]===_0x2ef6ed&&_0x4831a3[_0x2c1d02(0x424)]===_0x2c14b7);return{'config':_0x3fda69,'result':{'actions':_0x18c6eb['map'](_0x3231ab=>_0x340cdd==null?void 0x0:_0x340cdd[_0x2c1d02(0x17d)][_0x2c1d02(0x2d5)](_0x19946b=>_0x19946b['action']===_0x3231ab))[_0x2c1d02(0x192)](_0x56c946=>!!_0x56c946),'error':_0xeca741['error']}};});}})}));}[_0x2e0def(0x2af)](){const _0x18d6ea=_0x2e0def;let _0x3d4e45=this[_0x18d6ea(0x409)][_0x18d6ea(0x277)](_0x21d492);return(_0x3d4e45==null?void 0x0:_0x3d4e45[_0x18d6ea(0x3a1)])??_0x18d6ea(0x3da);}async[_0x2e0def(0x2dc)](_0x2af9e0){const _0x4c7b32=_0x2e0def;let _0x23351e=this[_0x4c7b32(0x2af)]()+'/'+_0x2af9e0[_0x4c7b32(0x1cb)]+'/object';return(await this['_HTTPService'][_0x4c7b32(0x4e5)](_0x23351e,{'body':_0x2af9e0}))[_0x4c7b32(0x2c0)][_0x4c7b32(0x424)]||'';}async[_0x2e0def(0x29f)](_0x9ef47c){const _0x1a9a98=_0x2e0def;let _0x149168=this[_0x1a9a98(0x2af)]()+_0x1a9a98(0x136);return(await this['_HTTPService'][_0x1a9a98(0x4e5)](_0x149168,{'body':_0x9ef47c}))[_0x1a9a98(0x2c0)][_0x1a9a98(0x2c5)];}async[_0x2e0def(0x4c7)](_0x4e417e){const _0x59462b=_0x2e0def;var _0x31cb05;let _0x3c256b=this[_0x59462b(0x2af)]()+'/'+_0x4e417e[_0x59462b(0x1cb)]+'/object/'+encodeURIComponent(_0x4e417e['objectID']),_0x4dbbdf=await this[_0x59462b(0x486)][_0x59462b(0x31c)](_0x3c256b,{'body':_0x4e417e});if((_0x4dbbdf==null||(_0x31cb05=_0x4dbbdf['body'])==null||(_0x31cb05=_0x31cb05[_0x59462b(0x340)])==null?void 0x0:_0x31cb05[_0x59462b(0x1cd)])!==0x1)throw Error(_0x59462b(0x3e0));}async[_0x2e0def(0x31b)](_0x3d7e90){const _0x541988=_0x2e0def;let _0x3ae2f3=this[_0x541988(0x2af)]()+'/'+_0x3d7e90[_0x541988(0x1cb)]+_0x541988(0x51c)+encodeURIComponent(_0x3d7e90[_0x541988(0x424)])+_0x541988(0x375);return(await this[_0x541988(0x486)][_0x541988(0x4e5)](_0x3ae2f3,{'body':_0x3d7e90}))['body']['actions'];}async[_0x2e0def(0x252)](_0x53796c){const _0x2ed177=_0x2e0def;let _0x4e0374=this[_0x2ed177(0x2af)]()+'/-/object/-/batch_allowed';return(await this[_0x2ed177(0x486)]['post'](_0x4e0374,{'body':{'requests':_0x53796c}}))[_0x2ed177(0x2c0)][_0x2ed177(0x3f4)];}async[_0x2e0def(0x359)](_0x26d714){const _0x5f3150=_0x2e0def;let _0x137f05=this[_0x5f3150(0x2af)]()+'/'+_0x26d714[_0x5f3150(0x1cb)]+_0x5f3150(0x18a),_0x35773c=await this[_0x5f3150(0x486)]['post'](_0x137f05,{'body':_0x26d714});return{'roles':_0x35773c[_0x5f3150(0x2c0)][_0x5f3150(0x3d4)],'actions':_0x35773c[_0x5f3150(0x2c0)]['actions']};}async[_0x2e0def(0x209)](_0x3f1b4a){const _0x44e0df=_0x2e0def;let _0x2ed0b7=this[_0x44e0df(0x2af)]()+_0x44e0df(0x161);await this['_HTTPService'][_0x44e0df(0x15c)](_0x2ed0b7,{'params':{'collaboratorID':_0x3f1b4a[_0x44e0df(0x4ea)],'objectID':_0x3f1b4a[_0x44e0df(0x424)],'unitID':_0x3f1b4a['unitID']}});}async[_0x2e0def(0x2bc)](_0x493944){const _0x336a97=_0x2e0def;let _0x1a4acb=this[_0x336a97(0x2af)]()+_0x336a97(0x161);await this[_0x336a97(0x486)][_0x336a97(0x3bb)](_0x1a4acb,{'body':_0x493944});}async['createCollaborator'](_0x3a47ad){const _0xce0419=_0x2e0def;let _0xf1bf07=this['_getAPIPrefixPath']()+_0xce0419(0x161);await this[_0xce0419(0x486)]['post'](_0xf1bf07,{'body':_0x3a47ad});}async[_0x2e0def(0x510)](_0x409e65){const _0x5425d1=_0x2e0def;let _0x14e50b=this[_0x5425d1(0x2af)]()+_0x5425d1(0x161),_0x4785e6=await this[_0x5425d1(0x486)][_0x5425d1(0x264)](_0x14e50b,{'params':{'objectID':_0x409e65[_0x5425d1(0x424)],'unitID':_0x409e65['unitID']}});return this['setCfgEnableObjInherit'](_0x4785e6[_0x5425d1(0x2c0)][_0x5425d1(0x378)]??!0x1),_0x4785e6['body']['collaborators'];}async[_0x2e0def(0x453)](_0x180a4b){const _0x1465f9=_0x2e0def;let _0x4bc53a=this[_0x1465f9(0x2af)]()+_0x1465f9(0x161);await this['_HTTPService'][_0x1465f9(0x31c)](_0x4bc53a,{'body':_0x180a4b});}[_0x2e0def(0x43b)](_0x4fd10e){const _0x123687=_0x2e0def;this[_0x123687(0x330)]=_0x4fd10e;}[_0x2e0def(0x200)](){return this['_cfgEnableObjInherit'];}};_0x274190=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0['Inject'])(_0x5e0f50[_0x2e0def(0x172)])),_0x5d2cb5(0x1,(0x0,_0x19e1e0['Inject'])(_0x19e1e0['IConfigService']))],_0x274190);function _0x3559c0(_0x13bdcb){const _0x4d9e2b=_0x2e0def;return _0x13bdcb instanceof Uint8Array||ArrayBuffer[_0x4d9e2b(0x1d1)](_0x13bdcb)&&_0x13bdcb[_0x4d9e2b(0x315)][_0x4d9e2b(0x1d3)]===_0x4d9e2b(0x190)&&_0x4d9e2b(0x271)in _0x13bdcb&&_0x13bdcb[_0x4d9e2b(0x271)]===0x1;}let _0x46991a=_0x4a918e=>_0x4a918e?'\x22'+_0x4a918e+'\x22\x20':'';function _0x5ecdd2(_0x5752a8,_0xad8726=''){const _0x2a895d=_0x2e0def;if(typeof _0x5752a8!='number')throw TypeError(_0x46991a(_0xad8726)+_0x2a895d(0x3b9)+typeof _0x5752a8);if(!Number['isSafeInteger'](_0x5752a8)||_0x5752a8<0x0)throw RangeError(_0x46991a(_0xad8726)+_0x2a895d(0x32d)+_0x5752a8);return _0x5752a8;}function _0x44bbef(_0x3b6d31,_0x10912c,_0x2944b5=''){const _0x2a7a1c=_0x2e0def;if(_0x3559c0(_0x3b6d31)&&(_0x10912c===void 0x0||_0x3b6d31[_0x2a7a1c(0x4d4)]===_0x10912c))return _0x3b6d31;_0x10912c!==void 0x0&&_0x5ecdd2(_0x10912c,_0x2a7a1c(0x4d4));let _0x476667=_0x3559c0(_0x3b6d31),_0x128443=_0x10912c===void 0x0?'':_0x2a7a1c(0x448)+_0x10912c,_0x3e4b22=_0x476667?_0x2a7a1c(0x20b)+_0x3b6d31['length']:_0x2a7a1c(0x26a)+typeof _0x3b6d31,_0x58f037=_0x46991a(_0x2944b5)+_0x2a7a1c(0x4c0)+_0x128443+_0x2a7a1c(0x1f4)+_0x3e4b22;throw _0x476667?RangeError(_0x58f037):TypeError(_0x58f037);}function _0x3c2142(_0x25b0ee){const _0x8b6e29=_0x2e0def;return new Uint32Array(_0x25b0ee[_0x8b6e29(0x2cc)],_0x25b0ee[_0x8b6e29(0x1ea)],Math['floor'](_0x25b0ee[_0x8b6e29(0x46c)]/0x4));}function _0x349d5a(..._0x8972a8){const _0x12a903=_0x2e0def;for(let _0x29cd31=0x0;_0x29cd31<_0x8972a8[_0x12a903(0x4d4)];_0x29cd31++)_0x8972a8[_0x29cd31][_0x12a903(0x401)](0x0);}let _0x4ef79b=new Uint8Array(new Uint32Array([0x11223344])[_0x2e0def(0x2cc)])[0x0]===0x44;function _0x3e644a(_0x2eb251){return _0x2eb251<<0x18&0xff000000|_0x2eb251<<0x8&0xff0000|_0x2eb251>>>0x8&0xff00|_0x2eb251>>>0x18&0xff;}function _0x3537e6(_0x5bc212){const _0xb3c44a=_0x2e0def;for(let _0x37715b=0x0;_0x37715b<_0x5bc212[_0xb3c44a(0x4d4)];_0x37715b++)_0x5bc212[_0x37715b]=_0x3e644a(_0x5bc212[_0x37715b]);return _0x5bc212;}let _0x474900=_0x4ef79b?_0x49db5e=>_0x49db5e:_0x3537e6;function _0x324cbe(_0x25e5cf){const _0x22240c=_0x2e0def;if(typeof _0x25e5cf!=_0x22240c(0x464))throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()['encode'](_0x25e5cf));}function _0x23630a(_0x2ea0dc,_0x228580){const _0x4b64c2=_0x2e0def;return!_0x2ea0dc['byteLength']||!_0x228580['byteLength']?!0x1:_0x2ea0dc['buffer']===_0x228580[_0x4b64c2(0x2cc)]&&_0x2ea0dc['byteOffset']<_0x228580['byteOffset']+_0x228580[_0x4b64c2(0x46c)]&&_0x228580['byteOffset']<_0x2ea0dc[_0x4b64c2(0x1ea)]+_0x2ea0dc[_0x4b64c2(0x46c)];}function _0x20827c(_0x503455,_0x3ca402){const _0x38f479=_0x2e0def;if(_0x23630a(_0x503455,_0x3ca402)&&_0x503455[_0x38f479(0x1ea)]<_0x3ca402[_0x38f479(0x1ea)])throw Error('complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported');}function _0x4bf368(..._0x2ad9ce){const _0x54b31d=_0x2e0def;let _0x3489e1=0x0;for(let _0x131b1c=0x0;_0x131b1c<_0x2ad9ce[_0x54b31d(0x4d4)];_0x131b1c++){let _0x4f5c4d=_0x2ad9ce[_0x131b1c];_0x44bbef(_0x4f5c4d),_0x3489e1+=_0x4f5c4d[_0x54b31d(0x4d4)];}let _0x41f274=new Uint8Array(_0x3489e1);for(let _0x509c50=0x0,_0xd4a83a=0x0;_0x509c50<_0x2ad9ce['length'];_0x509c50++){let _0x1f74ba=_0x2ad9ce[_0x509c50];_0x41f274[_0x54b31d(0x236)](_0x1f74ba,_0xd4a83a),_0xd4a83a+=_0x1f74ba[_0x54b31d(0x4d4)];}return _0x41f274;}let _0x13a325=(_0x5421b5,_0x14017c)=>{function _0x5e0b27(_0x500eb9,..._0x136e7d){const _0x1cdca1=_0xa473;if(_0x44bbef(_0x500eb9,void 0x0,_0x1cdca1(0x1dc)),_0x5421b5['nonceLength']!==void 0x0){let _0x118a95=_0x136e7d[0x0];_0x44bbef(_0x118a95,_0x5421b5['varSizeNonce']?void 0x0:_0x5421b5[_0x1cdca1(0x522)],'nonce');}let _0x4d3eed=_0x5421b5[_0x1cdca1(0x2b5)],_0x4ba92e=_0x5421b5['nonceLength']===void 0x0?0x0:0x1;if(!_0x5421b5[_0x1cdca1(0x231)]){for(let _0x468492=_0x4ba92e;_0x468492<_0x136e7d[_0x1cdca1(0x4d4)];_0x468492++)if(_0x3559c0(_0x136e7d[_0x468492]))throw Error(_0x1cdca1(0x1b3));}_0x5421b5[_0x1cdca1(0x231)]&&_0x136e7d[_0x4ba92e]!==void 0x0&&_0x44bbef(_0x136e7d[_0x4ba92e],void 0x0,_0x1cdca1(0x3c9));let _0x28a843=_0x14017c(_0x500eb9,..._0x136e7d),_0x309b9e=(_0x39c711,_0xaaf953)=>{const _0x553dc7=_0x1cdca1;if(_0xaaf953!==void 0x0){if(_0x39c711!==0x2)throw Error(_0x553dc7(0x2f1));_0x44bbef(_0xaaf953,void 0x0,'output');}},_0x53f4e6=!0x1;return{'encrypt'(_0x233d7f,_0x5604b9){const _0x18a950=_0x1cdca1;if(_0x53f4e6)throw Error('cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce');return _0x53f4e6=!0x0,_0x44bbef(_0x233d7f,void 0x0,_0x18a950(0x28c)),_0x309b9e(_0x28a843[_0x18a950(0x483)][_0x18a950(0x4d4)],_0x5604b9),_0x28a843['encrypt'](_0x233d7f,_0x5604b9);},'decrypt'(_0x513245,_0x2a24b3){const _0x272dda=_0x1cdca1;if(_0x44bbef(_0x513245,void 0x0,_0x272dda(0x28c)),_0x4d3eed&&_0x513245[_0x272dda(0x4d4)]<_0x4d3eed)throw Error(_0x272dda(0x2e0)+_0x4d3eed);return _0x309b9e(_0x28a843[_0x272dda(0x13b)][_0x272dda(0x4d4)],_0x2a24b3),_0x28a843[_0x272dda(0x13b)](_0x513245,_0x2a24b3);}};}return Object['assign'](_0x5e0b27,_0x5421b5),_0x5e0b27;};function _0x4d5f77(_0x4c032d,_0x17c1ca,_0x143137=!0x0){if(_0x17c1ca===void 0x0)return new Uint8Array(_0x4c032d);if(_0x44bbef(_0x17c1ca,_0x4c032d,'output'),_0x143137&&!_0x5e040a(_0x17c1ca))throw Error('invalid\x20output,\x20must\x20be\x20aligned');return _0x17c1ca;}function _0x5e040a(_0x1e61aa){const _0x19c864=_0x2e0def;return _0x1e61aa[_0x19c864(0x1ea)]%0x4==0x0;}function _0x168e80(_0x5c79e5){const _0x365a56=_0x2e0def;return Uint8Array[_0x365a56(0x43d)](_0x44bbef(_0x5c79e5));}function _0x8c133(_0x1d9ef5=0x20){const _0x5e419c=_0x2e0def;_0x5ecdd2(_0x1d9ef5,_0x5e419c(0x2b8));let _0x3c3824=typeof globalThis==_0x5e419c(0x497)?globalThis[_0x5e419c(0x4f1)]:null;if(typeof(_0x3c3824==null?void 0x0:_0x3c3824[_0x5e419c(0x21b)])!=_0x5e419c(0x139))throw Error('crypto.getRandomValues\x20must\x20be\x20defined');if(_0x1d9ef5>0x10000)throw RangeError(_0x5e419c(0x4e1)+_0x1d9ef5);return _0x3c3824[_0x5e419c(0x21b)](new Uint8Array(_0x1d9ef5));}function _0x53960a(_0x3668c5){const _0x1eb411=_0x2e0def;if(![0x10,0x18,0x20][_0x1eb411(0x298)](_0x3668c5[_0x1eb411(0x4d4)]))throw Error(_0x1eb411(0x452)+_0x3668c5[_0x1eb411(0x4d4)]);}function _0x4e06ec(_0x449f9d){return _0x449f9d<<0x1^0x11b&-(_0x449f9d>>0x7);}function _0x5e5356(_0x51359a,_0x3c09e6){let _0x5918a7=0x0;for(;_0x3c09e6>0x0;_0x3c09e6>>=0x1)_0x5918a7^=_0x51359a&-(_0x3c09e6&0x1),_0x51359a=_0x4e06ec(_0x51359a);return _0x5918a7;}let _0x2b115a=((()=>{let _0x36ba7a=new Uint8Array(0x100);for(let _0x2977ed=0x0,_0x326bde=0x1;_0x2977ed<0x100;_0x2977ed++,_0x326bde^=_0x4e06ec(_0x326bde))_0x36ba7a[_0x2977ed]=_0x326bde;let _0x396cae=new Uint8Array(0x100);_0x396cae[0x0]=0x63;for(let _0x2bf794=0x0;_0x2bf794<0xff;_0x2bf794++){let _0x3ffbb3=_0x36ba7a[0xff-_0x2bf794];_0x3ffbb3|=_0x3ffbb3<<0x8,_0x396cae[_0x36ba7a[_0x2bf794]]=(_0x3ffbb3^_0x3ffbb3>>0x4^_0x3ffbb3>>0x5^_0x3ffbb3>>0x6^_0x3ffbb3>>0x7^0x63)&0xff;}return _0x349d5a(_0x36ba7a),_0x396cae;})()),_0x14ea70=_0x2b115a[_0x2e0def(0x417)]((_0x24fb9b,_0x2bbef9)=>_0x2b115a[_0x2e0def(0x3ef)](_0x2bbef9)),_0x3b4664=_0x16b746=>_0x16b746<<0x18|_0x16b746>>>0x8,_0x14a426=_0x2d7b4e=>_0x2d7b4e<<0x8|_0x2d7b4e>>>0x18;function _0x272819(_0x5294df,_0x1e0dbe){const _0x540451=_0x2e0def;if(_0x5294df['length']!==0x100)throw Error('wrong\x20sbox\x20length');let _0x3221da=new Uint32Array(0x100)[_0x540451(0x417)]((_0x2c86ef,_0x328f7a)=>_0x1e0dbe(_0x5294df[_0x328f7a])),_0x559bcf=_0x3221da[_0x540451(0x417)](_0x14a426),_0x12b093=_0x559bcf[_0x540451(0x417)](_0x14a426),_0x206187=_0x12b093[_0x540451(0x417)](_0x14a426),_0x406666=new Uint32Array(0x10000),_0x4b533c=new Uint32Array(0x10000),_0x24ca2f=new Uint16Array(0x10000);for(let _0x30ce71=0x0;_0x30ce71<0x100;_0x30ce71++)for(let _0x223084=0x0;_0x223084<0x100;_0x223084++){let _0x5e076d=_0x30ce71*0x100+_0x223084;_0x406666[_0x5e076d]=_0x3221da[_0x30ce71]^_0x559bcf[_0x223084],_0x4b533c[_0x5e076d]=_0x12b093[_0x30ce71]^_0x206187[_0x223084],_0x24ca2f[_0x5e076d]=_0x5294df[_0x30ce71]<<0x8|_0x5294df[_0x223084];}return{'sbox':_0x5294df,'sbox2':_0x24ca2f,'T0':_0x3221da,'T1':_0x559bcf,'T2':_0x12b093,'T3':_0x206187,'T01':_0x406666,'T23':_0x4b533c};}let _0x2b071e=_0x272819(_0x2b115a,_0x3f5f5d=>_0x5e5356(_0x3f5f5d,0x3)<<0x18|_0x3f5f5d<<0x10|_0x3f5f5d<<0x8|_0x5e5356(_0x3f5f5d,0x2)),_0x2a7285=_0x272819(_0x14ea70,_0x2a3407=>_0x5e5356(_0x2a3407,0xb)<<0x18|_0x5e5356(_0x2a3407,0xd)<<0x10|_0x5e5356(_0x2a3407,0x9)<<0x8|_0x5e5356(_0x2a3407,0xe)),_0x4fcff6=((()=>{let _0x2fe3ac=new Uint8Array(0x10);for(let _0x1dcbe6=0x0,_0x5b98d6=0x1;_0x1dcbe6<0x10;_0x1dcbe6++,_0x5b98d6=_0x4e06ec(_0x5b98d6))_0x2fe3ac[_0x1dcbe6]=_0x5b98d6;return _0x2fe3ac;})());function _0x1afd1d(_0x2c61f9){const _0x8c5770=_0x2e0def;_0x44bbef(_0x2c61f9);let _0x2ad2dd=_0x2c61f9['length'];_0x53960a(_0x2c61f9);let {sbox2:_0x11e80e}=_0x2b071e,_0x2ed979=[];(!_0x4ef79b||!_0x5e040a(_0x2c61f9))&&_0x2ed979[_0x8c5770(0x4d0)](_0x2c61f9=_0x168e80(_0x2c61f9));let _0x33595e=_0x474900(_0x3c2142(_0x2c61f9)),_0x46fc79=_0x33595e['length'],_0x1b04e1=_0x3d5f8f=>_0x4d8f86(_0x11e80e,_0x3d5f8f,_0x3d5f8f,_0x3d5f8f,_0x3d5f8f),_0x8a7c22=new Uint32Array(_0x2ad2dd+0x1c);_0x8a7c22['set'](_0x33595e);for(let _0x1f32b2=_0x46fc79;_0x1f32b2<_0x8a7c22[_0x8c5770(0x4d4)];_0x1f32b2++){let _0x1c0392=_0x8a7c22[_0x1f32b2-0x1];_0x1f32b2%_0x46fc79===0x0?_0x1c0392=_0x1b04e1(_0x3b4664(_0x1c0392))^_0x4fcff6[_0x1f32b2/_0x46fc79-0x1]:_0x46fc79>0x6&&_0x1f32b2%_0x46fc79===0x4&&(_0x1c0392=_0x1b04e1(_0x1c0392)),_0x8a7c22[_0x1f32b2]=_0x8a7c22[_0x1f32b2-_0x46fc79]^_0x1c0392;}return _0x349d5a(..._0x2ed979),_0x8a7c22;}function _0x133597(_0x18e98d){const _0x3aa011=_0x2e0def;let _0x2fb9ff=_0x1afd1d(_0x18e98d),_0x5dde96=_0x2fb9ff['slice'](),_0x2b4f46=_0x2fb9ff[_0x3aa011(0x4d4)],{sbox2:_0x3ff497}=_0x2b071e,{T0:_0x549900,T1:_0x208a08,T2:_0x4ea2d7,T3:_0x46724c}=_0x2a7285;for(let _0x5876b1=0x0;_0x5876b1<_0x2b4f46;_0x5876b1+=0x4)for(let _0xb95be7=0x0;_0xb95be7<0x4;_0xb95be7++)_0x5dde96[_0x5876b1+_0xb95be7]=_0x2fb9ff[_0x2b4f46-_0x5876b1-0x4+_0xb95be7];_0x349d5a(_0x2fb9ff);for(let _0x8d28a9=0x4;_0x8d28a9<_0x2b4f46-0x4;_0x8d28a9++){let _0x5e6e19=_0x5dde96[_0x8d28a9],_0xdd285b=_0x4d8f86(_0x3ff497,_0x5e6e19,_0x5e6e19,_0x5e6e19,_0x5e6e19);_0x5dde96[_0x8d28a9]=_0x549900[_0xdd285b&0xff]^_0x208a08[_0xdd285b>>>0x8&0xff]^_0x4ea2d7[_0xdd285b>>>0x10&0xff]^_0x46724c[_0xdd285b>>>0x18];}return _0x5dde96;}function _0x314f6b(_0x12fd6d,_0x2a5742,_0x3734bc,_0x463bec,_0xcff11,_0x5215df){return _0x12fd6d[_0x3734bc<<0x8&0xff00|_0x463bec>>>0x8&0xff]^_0x2a5742[_0xcff11>>>0x8&0xff00|_0x5215df>>>0x18&0xff];}function _0x4d8f86(_0x5a4c67,_0xb2b27b,_0x5a817d,_0x5ed4dc,_0x154326){return _0x5a4c67[_0xb2b27b&0xff|_0x5a817d&0xff00]|_0x5a4c67[_0x5ed4dc>>>0x10&0xff|_0x154326>>>0x10&0xff00]<<0x10;}function _0x160c48(_0x53baf5,_0x23eb11,_0xdfcad9,_0x10be44,_0x12febc){const _0x510e59=_0x2e0def;let {sbox2:_0x994d89,T01:_0x542352,T23:_0x55eb5a}=_0x2b071e,_0x554517=0x0;_0x23eb11^=_0x53baf5[_0x554517++],_0xdfcad9^=_0x53baf5[_0x554517++],_0x10be44^=_0x53baf5[_0x554517++],_0x12febc^=_0x53baf5[_0x554517++];let _0x42fcb7=_0x53baf5[_0x510e59(0x4d4)]/0x4-0x2;for(let _0x3685c0=0x0;_0x3685c0<_0x42fcb7;_0x3685c0++){let _0x4ea17b=_0x53baf5[_0x554517++]^_0x314f6b(_0x542352,_0x55eb5a,_0x23eb11,_0xdfcad9,_0x10be44,_0x12febc),_0x3f5aa8=_0x53baf5[_0x554517++]^_0x314f6b(_0x542352,_0x55eb5a,_0xdfcad9,_0x10be44,_0x12febc,_0x23eb11),_0x4232b3=_0x53baf5[_0x554517++]^_0x314f6b(_0x542352,_0x55eb5a,_0x10be44,_0x12febc,_0x23eb11,_0xdfcad9),_0x52b7bd=_0x53baf5[_0x554517++]^_0x314f6b(_0x542352,_0x55eb5a,_0x12febc,_0x23eb11,_0xdfcad9,_0x10be44);_0x23eb11=_0x4ea17b,_0xdfcad9=_0x3f5aa8,_0x10be44=_0x4232b3,_0x12febc=_0x52b7bd;}return{'s0':_0x53baf5[_0x554517++]^_0x4d8f86(_0x994d89,_0x23eb11,_0xdfcad9,_0x10be44,_0x12febc),'s1':_0x53baf5[_0x554517++]^_0x4d8f86(_0x994d89,_0xdfcad9,_0x10be44,_0x12febc,_0x23eb11),'s2':_0x53baf5[_0x554517++]^_0x4d8f86(_0x994d89,_0x10be44,_0x12febc,_0x23eb11,_0xdfcad9),'s3':_0x53baf5[_0x554517++]^_0x4d8f86(_0x994d89,_0x12febc,_0x23eb11,_0xdfcad9,_0x10be44)};}function _0x62ef15(_0x2359eb,_0x201036,_0x5279c4,_0x59f31c,_0x5ca538){const _0x1bf3e8=_0x2e0def;let {sbox2:_0x552bf0,T01:_0xf22b3d,T23:_0x40339d}=_0x2a7285,_0x9322af=0x0;_0x201036^=_0x2359eb[_0x9322af++],_0x5279c4^=_0x2359eb[_0x9322af++],_0x59f31c^=_0x2359eb[_0x9322af++],_0x5ca538^=_0x2359eb[_0x9322af++];let _0x401ee3=_0x2359eb[_0x1bf3e8(0x4d4)]/0x4-0x2;for(let _0x2bb901=0x0;_0x2bb901<_0x401ee3;_0x2bb901++){let _0x1bfa2f=_0x2359eb[_0x9322af++]^_0x314f6b(_0xf22b3d,_0x40339d,_0x201036,_0x5ca538,_0x59f31c,_0x5279c4),_0x703bd9=_0x2359eb[_0x9322af++]^_0x314f6b(_0xf22b3d,_0x40339d,_0x5279c4,_0x201036,_0x5ca538,_0x59f31c),_0x58341a=_0x2359eb[_0x9322af++]^_0x314f6b(_0xf22b3d,_0x40339d,_0x59f31c,_0x5279c4,_0x201036,_0x5ca538),_0x50c193=_0x2359eb[_0x9322af++]^_0x314f6b(_0xf22b3d,_0x40339d,_0x5ca538,_0x59f31c,_0x5279c4,_0x201036);_0x201036=_0x1bfa2f,_0x5279c4=_0x703bd9,_0x59f31c=_0x58341a,_0x5ca538=_0x50c193;}return{'s0':_0x2359eb[_0x9322af++]^_0x4d8f86(_0x552bf0,_0x201036,_0x5ca538,_0x59f31c,_0x5279c4),'s1':_0x2359eb[_0x9322af++]^_0x4d8f86(_0x552bf0,_0x5279c4,_0x201036,_0x5ca538,_0x59f31c),'s2':_0x2359eb[_0x9322af++]^_0x4d8f86(_0x552bf0,_0x59f31c,_0x5279c4,_0x201036,_0x5ca538),'s3':_0x2359eb[_0x9322af++]^_0x4d8f86(_0x552bf0,_0x5ca538,_0x59f31c,_0x5279c4,_0x201036)};}function _0x5a8476(_0x20159b,_0xc77de1){const _0xce3b41=_0x2e0def;if(_0x44bbef(_0x20159b),_0x20159b[_0xce3b41(0x4d4)]%0x10!=0x0)throw Error(_0xce3b41(0x3c3));_0xc77de1!==void 0x0&&(_0x4d5f77(_0x20159b[_0xce3b41(0x4d4)],_0xc77de1),_0x20827c(_0x20159b,_0xc77de1));}function _0x3a1b36(_0x41f204,_0x276a4d,_0x1604fa){const _0x52897f=_0x2e0def;_0x44bbef(_0x41f204);let _0x3f3190=_0x41f204[_0x52897f(0x4d4)],_0x587419=_0x3f3190%0x10;if(!_0x276a4d&&_0x587419!==0x0)throw Error(_0x52897f(0x323));if(_0x276a4d){let _0x11d7ca=0x10-_0x587419;_0x11d7ca||=0x10,_0x3f3190+=_0x11d7ca;}return _0x1604fa!==void 0x0&&(_0x4d5f77(_0x3f3190,_0x1604fa),_0x20827c(_0x41f204,_0x1604fa)),_0x3f3190;}function _0x9d0a63(_0x4bbdf0,_0x375810,_0x12f52d){_0x12f52d===void 0x0&&(_0x12f52d=new Uint8Array(_0x375810)),(!_0x4ef79b||!_0x5e040a(_0x4bbdf0))&&(_0x4bbdf0=_0x168e80(_0x4bbdf0));let _0x3837d0=_0x3c2142(_0x12f52d);return{'b':_0x4bbdf0,'o':_0x3837d0,'out':_0x12f52d};}function _0x3aa6bc(_0x3963e4,_0xd59ba){const _0x350e7f=_0x2e0def;if(!_0xd59ba)return _0x3963e4;let _0xd95f13=_0x3963e4['length'];if(_0xd95f13===0x0)throw Error('pkcs7:\x20empty\x20ciphertext\x20not\x20allowed');let _0x7b990a=_0x3963e4[_0xd95f13-0x1],_0x1ef56f=0x1;_0x1ef56f&=_0x7b990a-0x1>>>0x1f^0x1,_0x1ef56f&=0x10-_0x7b990a>>>0x1f^0x1;for(let _0x2bacad=0x0;_0x2bacad<0x10;_0x2bacad++){let _0xa1339=_0x2bacad-_0x7b990a>>>0x1f,_0x426962=+((_0x3963e4[_0xd95f13-0x1-_0x2bacad]^_0x7b990a)===0x0);_0x1ef56f&=_0x426962|_0xa1339^0x1;}if(!_0x1ef56f)throw Error(_0x350e7f(0x2de));return _0x3963e4[_0x350e7f(0x1ab)](0x0,_0xd95f13-_0x7b990a);}function _0x1aba72(_0x273333){const _0x35fc6c=_0x2e0def;let _0x40ec47=new Uint8Array(0x10),_0x40335a=_0x3c2142(_0x40ec47);_0x40ec47[_0x35fc6c(0x236)](_0x273333);let _0x4e62c3=0x10-_0x273333[_0x35fc6c(0x4d4)];for(let _0x30655b=0x10-_0x4e62c3;_0x30655b<0x10;_0x30655b++)_0x40ec47[_0x30655b]=_0x4e62c3;return _0x40335a;}let _0xefd068=_0x13a325({'blockSize':0x10,'nonceLength':0x10},function(_0xd0ef97,_0x163c22,_0x3e510e={}){const _0x3f5be2=_0x2e0def;let _0x4816fa=!_0x3e510e[_0x3f5be2(0x2a5)];return{'encrypt'(_0x5712c9,_0x4654f7){const _0x27c2dd=_0x3f5be2;let _0x352291=_0x3a1b36(_0x5712c9,_0x4816fa,_0x4654f7),_0xdc6345=_0x1afd1d(_0xd0ef97),{b:_0xf28ef,o:_0x38e969,out:_0x4b8492}=_0x9d0a63(_0x5712c9,_0x352291,_0x4654f7),_0x6dd3e1=_0x3c2142(_0xf28ef);_0x474900(_0x6dd3e1);let _0x5cbf69=_0x163c22,_0x1ff143=[_0xdc6345];(!_0x4ef79b||!_0x5e040a(_0x5cbf69))&&_0x1ff143['push'](_0x5cbf69=_0x168e80(_0x5cbf69));let _0x41b88a=_0x3c2142(_0x5cbf69);_0x474900(_0x41b88a);let _0x576e6f=_0x41b88a[0x0],_0x8b6c4f=_0x41b88a[0x1],_0x44e768=_0x41b88a[0x2],_0x5f47dc=_0x41b88a[0x3],_0x2206d4=0x0;for(;_0x2206d4+0x4<=_0x6dd3e1[_0x27c2dd(0x4d4)];)_0x576e6f^=_0x6dd3e1[_0x2206d4+0x0],_0x8b6c4f^=_0x6dd3e1[_0x2206d4+0x1],_0x44e768^=_0x6dd3e1[_0x2206d4+0x2],_0x5f47dc^=_0x6dd3e1[_0x2206d4+0x3],{s0:_0x576e6f,s1:_0x8b6c4f,s2:_0x44e768,s3:_0x5f47dc}=_0x160c48(_0xdc6345,_0x576e6f,_0x8b6c4f,_0x44e768,_0x5f47dc),_0x38e969[_0x2206d4++]=_0x576e6f,_0x38e969[_0x2206d4++]=_0x8b6c4f,_0x38e969[_0x2206d4++]=_0x44e768,_0x38e969[_0x2206d4++]=_0x5f47dc;if(_0x4816fa){let _0xb8a6aa=_0x1aba72(_0x5712c9[_0x27c2dd(0x1ab)](_0x2206d4*0x4));_0x474900(_0xb8a6aa),_0x576e6f^=_0xb8a6aa[0x0],_0x8b6c4f^=_0xb8a6aa[0x1],_0x44e768^=_0xb8a6aa[0x2],_0x5f47dc^=_0xb8a6aa[0x3],{s0:_0x576e6f,s1:_0x8b6c4f,s2:_0x44e768,s3:_0x5f47dc}=_0x160c48(_0xdc6345,_0x576e6f,_0x8b6c4f,_0x44e768,_0x5f47dc),_0x38e969[_0x2206d4++]=_0x576e6f,_0x38e969[_0x2206d4++]=_0x8b6c4f,_0x38e969[_0x2206d4++]=_0x44e768,_0x38e969[_0x2206d4++]=_0x5f47dc,_0x349d5a(_0xb8a6aa);}return _0x474900(_0x38e969),_0x349d5a(..._0x1ff143),_0xf28ef!==_0x5712c9&&_0x349d5a(_0xf28ef),_0x4b8492;},'decrypt'(_0x269375,_0x21a414){const _0x44920c=_0x3f5be2;_0x5a8476(_0x269375,_0x21a414);let _0x287b8c=_0x133597(_0xd0ef97);_0x21a414===void 0x0&&(_0x21a414=new Uint8Array(_0x269375[_0x44920c(0x4d4)]));let _0x4621ab=_0x163c22,_0x403e7e=[_0x287b8c];(!_0x4ef79b||!_0x5e040a(_0x4621ab))&&_0x403e7e['push'](_0x4621ab=_0x168e80(_0x4621ab));let _0x4f8182=_0x3c2142(_0x4621ab);_0x474900(_0x4f8182),(!_0x4ef79b||!_0x5e040a(_0x269375))&&_0x403e7e[_0x44920c(0x4d0)](_0x269375=_0x168e80(_0x269375));let _0x42cb4a=_0x3c2142(_0x269375),_0x574ed3=_0x3c2142(_0x21a414);_0x474900(_0x42cb4a);let _0x33082f=_0x4f8182[0x0],_0x14e619=_0x4f8182[0x1],_0x209af9=_0x4f8182[0x2],_0x47fd1b=_0x4f8182[0x3];for(let _0x1f2486=0x0;_0x1f2486+0x4<=_0x42cb4a[_0x44920c(0x4d4)];){let _0x204ff0=_0x33082f,_0x43058e=_0x14e619,_0x433843=_0x209af9,_0x3fe944=_0x47fd1b;_0x33082f=_0x42cb4a[_0x1f2486+0x0],_0x14e619=_0x42cb4a[_0x1f2486+0x1],_0x209af9=_0x42cb4a[_0x1f2486+0x2],_0x47fd1b=_0x42cb4a[_0x1f2486+0x3];let {s0:_0xb8b8b3,s1:_0x49a178,s2:_0x536574,s3:_0x597251}=_0x62ef15(_0x287b8c,_0x33082f,_0x14e619,_0x209af9,_0x47fd1b);_0x574ed3[_0x1f2486++]=_0xb8b8b3^_0x204ff0,_0x574ed3[_0x1f2486++]=_0x49a178^_0x43058e,_0x574ed3[_0x1f2486++]=_0x536574^_0x433843,_0x574ed3[_0x1f2486++]=_0x597251^_0x3fe944;}return _0x474900(_0x574ed3),_0x349d5a(..._0x403e7e),_0x3aa6bc(_0x21a414,_0x4816fa);}};});function _0x3c851e(_0x5b98a1){let _0x309733=atob(_0x5b98a1),_0x28f557=new Uint8Array(_0x309733['length']);for(let _0x24d84a=0x0;_0x24d84a<_0x309733['length'];_0x24d84a++)_0x28f557[_0x24d84a]=_0x309733['charCodeAt'](_0x24d84a);return _0x28f557;}function _0x2ebf08(_0x13bff3){const _0xd0f9aa=_0x2e0def;let _0x236ece='';for(let _0x345b58=0x0;_0x345b58<_0x13bff3[_0xd0f9aa(0x4d4)];_0x345b58++)_0x236ece+=String[_0xd0f9aa(0x227)](_0x13bff3[_0x345b58]);return btoa(_0x236ece);}function _0x449ecb(_0x4cedae,_0x5e66df){const _0x43d3ef=_0x2e0def;let _0x2420b9=_0x3c851e(_0x5e66df),_0x15535f=_0x8c133(0x10);return _0x2ebf08(_0x4bf368(_0x15535f,_0xefd068(_0x2420b9,_0x15535f)[_0x43d3ef(0x483)](_0x324cbe(_0x4cedae))));}function _0x4f57ee(){const _0x51a23b=_0x2e0def;let _0x1883f5=(0x0,_0x463499[_0x51a23b(0x267)])()[_0x51a23b(0x509)];if(typeof window<'u'&&window[_0x51a23b(0x35c)]!==void 0x0&&_0x1883f5){let _0x235767={'time':Math['floor'](Date[_0x51a23b(0x198)]()/0x3e8),'domain':location[_0x51a23b(0x3c2)]};return _0x449ecb(JSON[_0x51a23b(0x39f)](_0x235767),_0x1883f5);}}let _0x15906e=class{constructor(_0x8702c9){const _0x3c1f2b=_0x2e0def;this[_0x3c1f2b(0x21e)]=_0x8702c9,this[_0x3c1f2b(0x14b)]();}[_0x2e0def(0x14b)](){const _0x5417b1=_0x2e0def;this[_0x5417b1(0x21e)][_0x5417b1(0x1d6)]({'interceptor':(_0x41ea65,_0x2b0c5d)=>{const _0xda799c=_0x5417b1;let _0x58a295=_0x4f57ee();return _0x58a295&&_0x41ea65[_0xda799c(0x174)][_0xda799c(0x236)](_0xda799c(0x1fb),_0x58a295),_0x2b0c5d(_0x41ea65);}});}};_0x15906e=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0['Inject'])(_0x5e0f50[_0x2e0def(0x172)]))],_0x15906e);let _0x3d1274=class extends _0x19e1e0['RxDisposable']{constructor(_0x5eafec,_0x277267,_0x3beb07){const _0x21bd14=_0x2e0def;super(),this[_0x21bd14(0x4b1)]=_0x5eafec,this[_0x21bd14(0x397)]=_0x277267,this[_0x21bd14(0x324)]=_0x3beb07,_0xc5e065(this,_0x21bd14(0x4c2),new _0x144f8e['BehaviorSubject'](null)),_0xc5e065(this,_0x21bd14(0x432),new _0x144f8e[(_0x21bd14(0x2d3))]()),_0xc5e065(this,'unitInfo$',this[_0x21bd14(0x4c2)][_0x21bd14(0x3e8)]()),_0xc5e065(this,_0x21bd14(0x2ca),this[_0x21bd14(0x432)]['asObservable']());}[_0x2e0def(0x2d2)](){const _0x31b1bb=_0x2e0def;super[_0x31b1bb(0x2d2)](),this[_0x31b1bb(0x432)]['complete'](),this['_unitInfo$']['complete']();}[_0x2e0def(0x37b)](_0x41bd9f,_0x47e42c,_0x1ee6b9,_0x3d4a04,_0x5e93be){return this['_loadUnit'](_0x41bd9f,_0x47e42c,_0x1ee6b9,_0x3d4a04,_0x5e93be);}[_0x2e0def(0x262)](_0x13b34a,_0x535655,_0x2b0f41,_0x1b467f){const _0x649481=_0x2e0def;return this[_0x649481(0x3af)](_0x13b34a,_0x535655,void 0x0,_0x2b0f41,_0x1b467f);}async[_0x2e0def(0x3af)](_0x3e7e84,_0x4725a0,_0x1156a8,_0x3e7cfb,_0x4ac582){const _0x422f70=_0x2e0def;this[_0x422f70(0x4c2)]['next']({'unitId':_0x3e7e84,'type':_0x4725a0,'subUnitId':_0x3e7cfb});let _0x3e02a5=_0x1156a8;if(_0x3e02a5===void 0x0){var _0x25ee19;let _0x20629e=await((_0x25ee19=this[_0x422f70(0x324)])==null?void 0x0:_0x25ee19[_0x422f70(0x293)](_0x3e7e84));_0x3e02a5=_0x20629e&&(_0x20629e[_0x422f70(0x44b)]||_0x20629e[_0x422f70(0x313)][_0x422f70(0x4d4)]!==0x0)?_0x20629e[_0x422f70(0x325)]:0x0,_0x3e02a5===0x0&&this[_0x422f70(0x4b1)][_0x422f70(0x210)]('[DataLoaderService]',_0x422f70(0x2d4));}return this[_0x422f70(0x4fc)](_0x3e7e84,_0x4725a0,_0x3e02a5,_0x3e7cfb,_0x4ac582);}async['_loadSnapshot'](_0x51863c,_0x3e2680,_0x1057d8,_0x32a184,_0x2adc1e){const _0x163741=_0x2e0def;let _0x9a8813=null;switch(_0x3e2680){case _0x19e1e0['UniverInstanceType'][_0x163741(0x3c5)]:_0x9a8813=await this[_0x163741(0x397)][_0x163741(0x223)](_0x51863c,_0x1057d8,_0x2adc1e,{'initialSubUnitId':_0x32a184});break;case _0x19e1e0[_0x163741(0x3e4)][_0x163741(0x23c)]:_0x9a8813=await this[_0x163741(0x397)][_0x163741(0x1dd)](_0x51863c,_0x1057d8,_0x2adc1e);break;case _0x19e1e0[_0x163741(0x3e4)]['UNIVER_SLIDE']:_0x9a8813=await this[_0x163741(0x397)][_0x163741(0x2e5)](_0x51863c,_0x1057d8,_0x2adc1e);break;case _0x19e1e0[_0x163741(0x3e4)]['UNIVER_BOARD']:_0x9a8813=await this['_snapshotService'][_0x163741(0x3f5)](_0x51863c,_0x1057d8,_0x2adc1e);break;case _0x19e1e0['UniverInstanceType'][_0x163741(0x335)]:_0x9a8813=await this[_0x163741(0x397)][_0x163741(0x45c)](_0x51863c,_0x1057d8,_0x2adc1e);break;case _0x19e1e0[_0x163741(0x3e4)][_0x163741(0x2e2)]:_0x9a8813=await this['_snapshotService']['loadPdf'](_0x51863c,_0x1057d8,_0x2adc1e);break;default:this[_0x163741(0x4b1)][_0x163741(0x340)](_0x163741(0x51e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');}return _0x9a8813&&this[_0x163741(0x432)][_0x163741(0x30c)](_0x9a8813),_0x9a8813;}};_0x3d1274=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x1,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x4f9696[_0x2e0def(0x14f)])),_0x5d2cb5(0x2,(0x0,_0x19e1e0[_0x2e0def(0x308)])(_0x5700e5))],_0x3d1274);let _0x325bae=class{constructor(_0x2c5aee,_0x54a03b,_0x2ddb02){const _0x438f84=_0x2e0def;this[_0x438f84(0x21e)]=_0x2c5aee,this[_0x438f84(0x409)]=_0x54a03b,this['_univerInstanceService']=_0x2ddb02,_0xc5e065(this,_0x438f84(0x238),0x0),_0xc5e065(this,_0x438f84(0x3ba),new _0x144f8e[(_0x438f84(0x2d3))]()),_0xc5e065(this,_0x438f84(0x40f),this[_0x438f84(0x3ba)]),_0xc5e065(this,_0x438f84(0x18c),new Map());}['setWaitCount'](_0x33ffd7){const _0x40542e=_0x2e0def;this[_0x40542e(0x238)]=_0x33ffd7,this[_0x40542e(0x3ba)][_0x40542e(0x30c)](_0x33ffd7);}['getImageSourceCache'](_0x2f8d69,_0x4cb653){const _0x3f49d2=_0x2e0def;if(_0x4cb653===_0x19e1e0['ImageSourceType'][_0x3f49d2(0x37a)]){let _0x4dea40=new Image();return _0x4dea40['src']=_0x2f8d69,_0x4dea40;}return this[_0x3f49d2(0x18c)][_0x3f49d2(0x264)](_0x2f8d69);}[_0x2e0def(0x1b9)](_0x15a34f,_0x452cb2,_0x43fb1d){const _0x30a087=_0x2e0def;_0x452cb2!==_0x19e1e0[_0x30a087(0x31d)][_0x30a087(0x37a)]&&_0x43fb1d!=null&&this[_0x30a087(0x18c)]['set'](_0x15a34f,_0x43fb1d);}async[_0x2e0def(0x504)](_0x37a9d2){const _0x3503c3=_0x2e0def;try{let _0x15be1b=this[_0x3503c3(0x46d)](this[_0x3503c3(0x18b)](),''+_0x37a9d2),_0x72587=(await this[_0x3503c3(0x21e)][_0x3503c3(0x264)](_0x15be1b))[_0x3503c3(0x2c0)];if(_0x72587[_0x3503c3(0x340)]&&_0x72587['error'][_0x3503c3(0x1cd)]===_0xc3615a[_0x3503c3(0x36e)]['OK']){let _0x589e81=(0x0,_0x19e1e0[_0x3503c3(0x332)])(_0x72587[_0x3503c3(0x4f7)],this['_getDownloadEndpointURL']());return Promise[_0x3503c3(0x3bd)](_0x589e81);}return Promise[_0x3503c3(0x204)](_0x72587[_0x3503c3(0x340)]);}catch(_0x57b811){return Promise['reject'](_0x57b811);}}async[_0x2e0def(0x3a9)](_0x29d9ef){const _0x3c4747=_0x2e0def;let _0x598148='';if(!_0x5aa41c[_0x3c4747(0x4b5)][_0x3c4747(0x298)](_0x29d9ef['type']))return this[_0x3c4747(0x2e1)](),Promise[_0x3c4747(0x204)](Error(_0x19e1e0[_0x3c4747(0x4a5)][_0x3c4747(0x44e)]));if(_0x29d9ef[_0x3c4747(0x30a)]>(0x0,_0x5aa41c[_0x3c4747(0x430)])())return this[_0x3c4747(0x2e1)](),Promise[_0x3c4747(0x204)](Error(_0x19e1e0[_0x3c4747(0x4a5)][_0x3c4747(0x31f)]));try{let _0x5787f7=new FormData();_0x5787f7['append'](_0x3c4747(0x490),_0x29d9ef);let _0x555a9c=this[_0x3c4747(0x4d1)][_0x3c4747(0x162)](),_0x5cb7e6=_0x555a9c==null?void 0x0:_0x555a9c[_0x3c4747(0x465)]();if(!_0x5cb7e6)throw Error('unitId\x20is\x20not\x20found');let _0x279b94=this[_0x3c4747(0x3c1)]()+_0x3c4747(0x2da)+_0x29d9ef[_0x3c4747(0x30a)]['toString']()+_0x3c4747(0x2b6)+_0xc3615a[_0x3c4747(0x4db)][_0x3c4747(0x1d5)]+'&assign='+encodeURIComponent(_0x5cb7e6),_0x3e7314={'body':_0x5787f7},_0xe79ef7=(await this[_0x3c4747(0x21e)][_0x3c4747(0x4e5)](_0x279b94,_0x3e7314))[_0x3c4747(0x2c0)];if(typeof _0xe79ef7[_0x3c4747(0x501)]!='string')return this[_0x3c4747(0x2e1)](),Promise[_0x3c4747(0x204)](Error(_0x19e1e0[_0x3c4747(0x4a5)][_0x3c4747(0x482)]));_0x598148=_0xe79ef7[_0x3c4747(0x501)];}catch{return this[_0x3c4747(0x2e1)](),Promise[_0x3c4747(0x204)](Error(_0x19e1e0['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0xd7bfbc,_0x1df900)=>{let _0x319240=new FileReader();_0x319240['readAsDataURL'](_0x29d9ef),_0x319240['onload']=_0x513f81=>{const _0xdb900c=_0xa473;var _0x3c69da;let _0x4a1f5a=(_0x3c69da=_0x513f81[_0xdb900c(0x4b3)])==null?void 0x0:_0x3c69da[_0xdb900c(0x165)];_0x4a1f5a==null?(this['_decreaseWaiting'](),_0x1df900(Error(_0x19e1e0['ImageUploadStatusType']['ERROR_IMAGE']))):(_0xd7bfbc({'imageId':(0x0,_0x19e1e0[_0xdb900c(0x47a)])(0x6),'imageSourceType':_0x19e1e0['ImageSourceType'][_0xdb900c(0x4f5)],'source':_0x598148,'base64Cache':_0x4a1f5a,'status':_0x19e1e0[_0xdb900c(0x4a5)]['SUCCUSS']}),this[_0xdb900c(0x2e1)]());};});}[_0x2e0def(0x3c1)](){const _0x289ecb=_0x2e0def;let _0x57b0c9=this[_0x289ecb(0x409)][_0x289ecb(0x277)](_0x21d492);return(_0x57b0c9==null?void 0x0:_0x57b0c9[_0x289ecb(0x364)])??_0x289ecb(0x385);}[_0x2e0def(0x18b)](){const _0x4961f0=_0x2e0def;let _0x2727fd=this[_0x4961f0(0x409)][_0x4961f0(0x277)](_0x21d492);return(_0x2727fd==null?void 0x0:_0x2727fd[_0x4961f0(0x4fd)])??_0x4961f0(0x46b);}[_0x2e0def(0x36d)](){const _0x402d94=_0x2e0def;let _0x1ffb4c=this[_0x402d94(0x409)][_0x402d94(0x277)](_0x21d492);return(_0x1ffb4c==null?void 0x0:_0x1ffb4c[_0x402d94(0x1a6)])??location[_0x402d94(0x44f)];}[_0x2e0def(0x46d)](_0x4a9a9e,_0x3f021b){const _0x52a65e=_0x2e0def;return _0x4a9a9e[_0x52a65e(0x33e)](_0x52a65e(0x2f8),_0x3f021b);}[_0x2e0def(0x2e1)](){const _0x5e7539=_0x2e0def;--this[_0x5e7539(0x238)],this[_0x5e7539(0x3ba)][_0x5e7539(0x30c)](this[_0x5e7539(0x238)]);}};_0x325bae=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0['Inject'])(_0x5e0f50[_0x2e0def(0x172)])),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x2,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x19c)]))],_0x325bae);let _0x5e032f=class{constructor(_0x240df1,_0x136529){const _0x458051=_0x2e0def;this[_0x458051(0x409)]=_0x240df1,this[_0x458051(0x486)]=_0x136529;}[_0x2e0def(0x2af)](){const _0x29f564=_0x2e0def;let _0x35f815=this['_configService'][_0x29f564(0x277)](_0x21d492);return(_0x35f815==null?void 0x0:_0x35f815[_0x29f564(0x3a1)])??'/universer-api/authz';}async[_0x2e0def(0x29f)](_0x32d051){const _0x4bb28c=_0x2e0def;let _0x5aafae=this[_0x4bb28c(0x2af)]()+_0x4bb28c(0x161);return{'list':[{'title':_0x4bb28c(0x273),'mentions':(await this[_0x4bb28c(0x486)][_0x4bb28c(0x264)](_0x5aafae,{'params':{'objectID':_0x32d051[_0x4bb28c(0x26e)],'unitID':_0x32d051[_0x4bb28c(0x26e)]}}))[_0x4bb28c(0x2c0)][_0x4bb28c(0x49f)][_0x4bb28c(0x417)](_0x1aff09=>({'objectId':_0x1aff09['id'],'name':_0x1aff09[_0x4bb28c(0x19f)][_0x4bb28c(0x1d3)],'metadata':{'icon':_0x1aff09[_0x4bb28c(0x19f)]['avatar']},'label':_0x1aff09[_0x4bb28c(0x19f)][_0x4bb28c(0x1d3)],'objectType':_0x19e1e0[_0x4bb28c(0x4f6)][_0x4bb28c(0x250)]})),'metadata':{},'type':_0x19e1e0[_0x4bb28c(0x4f6)]['PERSON']}]};}};_0x5e032f=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0['IConfigService'])),_0x5d2cb5(0x1,(0x0,_0x19e1e0['Inject'])(_0x5e0f50[_0x2e0def(0x172)]))],_0x5e032f);let _0xcd8c0f=class extends _0x19e1e0['RxDisposable']{constructor(_0x26320e,_0x31f120,_0x4ef66b,_0x2f6876,_0x1cff21,_0xbe3894){const _0x3fec4c=_0x2e0def;super(),this[_0x3fec4c(0x196)]=_0x26320e,this[_0x3fec4c(0x4d1)]=_0x31f120,this[_0x3fec4c(0x243)]=_0x4ef66b,this[_0x3fec4c(0x1a8)]=_0x2f6876,this[_0x3fec4c(0x15d)]=_0x1cff21,this['_collaborationUIEventService']=_0xbe3894,_0xc5e065(this,'_closedUnits',new Set()),this[_0x3fec4c(0x47f)](()=>this['_closedUnits'][_0x3fec4c(0x1ef)]()),this[_0x3fec4c(0x47f)](_0x382b3f(this[_0x3fec4c(0x4d1)])[_0x3fec4c(0x341)](({unitId:_0x49a93c})=>this[_0x3fec4c(0x4c6)][_0x3fec4c(0x15c)](_0x49a93c))),this['_initUnitPermissionChange'](),this[_0x3fec4c(0x2aa)](),[_0x19e1e0[_0x3fec4c(0x3e4)][_0x3fec4c(0x23c)],_0x19e1e0[_0x3fec4c(0x3e4)]['UNIVER_SLIDE'],_0x19e1e0[_0x3fec4c(0x3e4)][_0x3fec4c(0x335)],_0x19e1e0['UniverInstanceType'][_0x3fec4c(0x27b)]][_0x3fec4c(0x307)](_0x32dd0e=>{const _0x1eded4=_0x3fec4c;this[_0x1eded4(0x47f)](this[_0x1eded4(0x4d1)][_0x1eded4(0x1ee)](_0x32dd0e)[_0x1eded4(0x341)](_0x443b01=>{const _0x10f1de=_0x1eded4;this[_0x10f1de(0x4c6)][_0x10f1de(0x32b)](_0x443b01[_0x10f1de(0x465)]()),this['_injector']['get'](_0x19e1e0[_0x10f1de(0x337)])[_0x10f1de(0x3d2)](_0x443b01[_0x10f1de(0x465)]());}));});}['_initCloseConn'](){const _0x56a955=_0x2e0def;let _0xeb16fe=async(_0x98f95,_0x4730c3)=>{const _0x3d13d8=_0xa473;let _0x19e4d7=await this[_0x3d13d8(0x15d)][_0x3d13d8(0x1e3)](_0x98f95);this[_0x3d13d8(0x2fe)]||this[_0x3d13d8(0x4c6)][_0x3d13d8(0x39a)](_0x98f95)||!this['_univerInstanceService'][_0x3d13d8(0x16b)](_0x98f95)||_0x19e4d7[_0x3d13d8(0x4fb)][_0x3d13d8(0x251)]((0x0,_0x472409[_0x3d13d8(0x192)])(_0x5c693c=>_0x5c693c[_0x3d13d8(0x1f2)]===_0x4f9696[_0x3d13d8(0x257)]['SHOULD_CLOSE_CONN']),(0x0,_0x472409[_0x3d13d8(0x357)])((0x0,_0x144f8e['merge'])(this[_0x3d13d8(0x24e)],this[_0x3d13d8(0x4d1)]['unitDisposed$']['pipe']((0x0,_0x472409[_0x3d13d8(0x192)])(_0x26828a=>_0x26828a[_0x3d13d8(0x465)]()===_0x98f95)))))[_0x3d13d8(0x341)](_0x2af55b=>{const _0x1e28ff=_0x3d13d8;let {reason:_0x45f3b2}=_0x2af55b[_0x1e28ff(0x28c)];this[_0x1e28ff(0x3d1)][_0x1e28ff(0x445)]({'id':_0x1e28ff(0x213),'data':_0x45f3b2}),this['_closedUnits'][_0x1e28ff(0x32b)](_0x98f95),this[_0x1e28ff(0x196)][_0x1e28ff(0x264)](_0x19e1e0[_0x1e28ff(0x337)])[_0x1e28ff(0x3d2)](_0x98f95);let _0xa9152=_0x36e800(_0x4730c3);_0xa9152!=null&&this[_0x1e28ff(0x353)](_0x98f95,_0xa9152,_0xc3615a[_0x1e28ff(0x45d)]['Edit'],!0x1),this['_collaborationSessionService'][_0x1e28ff(0x28f)](_0x98f95);});};_0x382b3f(this[_0x56a955(0x4d1)])[_0x56a955(0x251)]((0x0,_0x472409[_0x56a955(0x192)])(({unitId:_0xeed3db})=>!(0x0,_0x19e1e0[_0x56a955(0x148)])(_0xeed3db)),(0x0,_0x472409['takeUntil'])(this[_0x56a955(0x24e)]))[_0x56a955(0x341)](({type:_0x2df433,unitId:_0x41c3b8})=>{const _0x4cc425=_0x56a955;_0xeb16fe(_0x41c3b8,_0x2df433)[_0x4cc425(0x2bd)](_0x2d5887=>this['_injector'][_0x4cc425(0x264)](_0x19e1e0['ILogService'])[_0x4cc425(0x340)](_0x2d5887));});}['_initUnitPermissionChange'](){const _0x564e2d=_0x2e0def;let _0x2a366c=async(_0x59f672,_0x17950a)=>{const _0x1c6379=_0xa473;let _0x3fe2cf=await this[_0x1c6379(0x15d)][_0x1c6379(0x1e3)](_0x59f672);if(!(this[_0x1c6379(0x2fe)]||this[_0x1c6379(0x4c6)][_0x1c6379(0x39a)](_0x59f672)||!this['_univerInstanceService'][_0x1c6379(0x16b)](_0x59f672))){if(_0x17950a===_0x19e1e0['UniverInstanceType'][_0x1c6379(0x3c5)]){let _0x2ce93f=this[_0x1c6379(0x196)]['get'](_0x442e6a['SheetPermissionInitController']);await _0x2ce93f[_0x1c6379(0x488)](_0x59f672),_0x3fe2cf[_0x1c6379(0x4fb)][_0x1c6379(0x251)]((0x0,_0x472409['filter'])(_0xf86278=>_0xf86278[_0x1c6379(0x1f2)]===_0x4f9696[_0x1c6379(0x257)]['UPDATE_PERMISSION_OBJ']),(0x0,_0x472409[_0x1c6379(0x357)])((0x0,_0x144f8e[_0x1c6379(0x208)])(this[_0x1c6379(0x24e)],_0x3fe2cf[_0x1c6379(0x4fb)][_0x1c6379(0x251)]((0x0,_0x472409[_0x1c6379(0x192)])(_0x5b3dff=>_0x5b3dff[_0x1c6379(0x1f2)]===_0x4f9696['CollaborationEvent'][_0x1c6379(0x4d6)])),this[_0x1c6379(0x4d1)]['unitDisposed$']['pipe']((0x0,_0x472409[_0x1c6379(0x192)])(_0x2ba711=>_0x2ba711[_0x1c6379(0x465)]()===_0x59f672)))))[_0x1c6379(0x341)](_0x56c760=>{const _0x973d00=_0x1c6379;let {objectId:_0x2f1da7}=_0x56c760[_0x973d00(0x28c)];_0x2f1da7===_0x59f672?_0x2ce93f[_0x973d00(0x488)](_0x59f672):_0x2ce93f[_0x973d00(0x3f3)](_0x59f672,_0x2f1da7);});}else _0x3fe2cf[_0x1c6379(0x4fb)][_0x1c6379(0x251)]((0x0,_0x472409['filter'])(_0x42b23b=>_0x42b23b[_0x1c6379(0x1f2)]===_0x4f9696[_0x1c6379(0x257)]['UPDATE_PERMISSION_OBJ']),(0x0,_0x472409[_0x1c6379(0x357)])((0x0,_0x144f8e[_0x1c6379(0x208)])(this[_0x1c6379(0x24e)],_0x3fe2cf[_0x1c6379(0x4fb)][_0x1c6379(0x251)]((0x0,_0x472409[_0x1c6379(0x192)])(_0x14c10d=>_0x14c10d[_0x1c6379(0x1f2)]===_0x4f9696[_0x1c6379(0x257)][_0x1c6379(0x4d6)])),this[_0x1c6379(0x4d1)][_0x1c6379(0x435)][_0x1c6379(0x251)]((0x0,_0x472409[_0x1c6379(0x192)])(_0x38c90c=>_0x38c90c[_0x1c6379(0x465)]()===_0x59f672)))))[_0x1c6379(0x341)](()=>{const _0x5d18ed=_0x1c6379;this[_0x5d18ed(0x157)](_0x59f672,_0x17950a)[_0x5d18ed(0x2bd)](_0x30564c=>this[_0x5d18ed(0x196)]['get'](_0x19e1e0[_0x5d18ed(0x287)])[_0x5d18ed(0x340)](_0x30564c));}),await this['_refreshUnitPermission'](_0x59f672,_0x17950a);}};_0x382b3f(this[_0x564e2d(0x4d1)])[_0x564e2d(0x251)]((0x0,_0x472409[_0x564e2d(0x192)])(({unitId:_0x2dd9b3})=>!(0x0,_0x19e1e0[_0x564e2d(0x148)])(_0x2dd9b3)),(0x0,_0x472409[_0x564e2d(0x357)])(this['dispose$']))[_0x564e2d(0x341)](({type:_0x35de54,unitId:_0xf2cd97})=>{const _0x29d096=_0x564e2d;_0x2a366c(_0xf2cd97,_0x35de54)[_0x29d096(0x2bd)](_0x31a501=>this[_0x29d096(0x196)]['get'](_0x19e1e0[_0x29d096(0x287)])[_0x29d096(0x340)](_0x31a501));});}async[_0x2e0def(0x157)](_0x438ba6,_0x3d925f){const _0x251c69=_0x2e0def;let _0x1efaa3=_0x36e800(_0x3d925f);if(_0x1efaa3==null)return;let _0x40b2ba=this[_0x251c69(0x196)][_0x251c69(0x264)](_0x19e1e0[_0x251c69(0x337)]);if(_0x40b2ba['supports']({'unitId':_0x438ba6,'objectId':_0x438ba6,'objectType':_0x1efaa3})){await _0x40b2ba[_0x251c69(0x2eb)](_0x438ba6);return;}let _0x4bc32b=this['_getUnitPermissionPoints'](_0x438ba6,_0x1efaa3);if(!_0x4bc32b[_0x251c69(0x4d4)])return;let _0x3e1152=await this['_authzIoService'][_0x251c69(0x31b)]({'objectID':_0x438ba6,'objectType':_0x1efaa3,'unitID':_0x438ba6,'actions':_0x4bc32b[_0x251c69(0x417)](({action:_0x4bab71})=>_0x4bab71)});this[_0x251c69(0x2fe)]||this[_0x251c69(0x4c6)]['has'](_0x438ba6)||!this['_univerInstanceService']['getUnit'](_0x438ba6)||_0x3e1152['forEach'](_0x2de248=>{const _0x3455e7=_0x251c69;let _0x5ac5a3=_0x2de248[_0x3455e7(0x362)],_0x1c9886=_0x2de248['allowed'];_0x5ac5a3!=null&&_0x1c9886!=null&&_0x4bc32b[_0x3455e7(0x192)](_0x38a295=>_0x38a295[_0x3455e7(0x362)]===_0x5ac5a3)[_0x3455e7(0x307)](_0x69ddae=>this['_permissionService'][_0x3455e7(0x134)](_0x69ddae['id'],_0x1c9886));});}[_0x2e0def(0x1e9)](_0x72d892,_0x3c2565){const _0x5143d0=_0x2e0def;let _0x2d7aeb=[];return this[_0x5143d0(0x243)][_0x5143d0(0x25f)]()[_0x5143d0(0x307)]((_0x55e4e2,_0x256041)=>{const _0x59282c=_0x5143d0;_0x55e4e2[_0x59282c(0x341)](_0x20daa1=>{const _0x2d15ac=_0x59282c;_0x20daa1[_0x2d15ac(0x33d)]===_0x3c2565&&'unitId'in _0x20daa1&&_0x20daa1['unitId']===_0x72d892&&(!(_0x2d15ac(0x4c1)in _0x20daa1)||_0x20daa1[_0x2d15ac(0x4c1)]===_0x72d892)&&_0x2d7aeb[_0x2d15ac(0x4d0)]({'id':_0x256041,'action':_0x20daa1[_0x2d15ac(0x4c9)]});})['unsubscribe']();}),_0x2d7aeb;}[_0x2e0def(0x353)](_0x560d1f,_0x1a934a,_0x5819db,_0x3aba8e){const _0x29bcca=_0x2e0def;this[_0x29bcca(0x243)][_0x29bcca(0x25f)]()[_0x29bcca(0x307)]((_0x14ef4b,_0x111a9d)=>{const _0xccfbae=_0x29bcca;let _0x788f46=!0x1;_0x14ef4b[_0xccfbae(0x341)](_0x47c013=>{const _0x3ae2da=_0xccfbae;_0x788f46=_0x47c013[_0x3ae2da(0x33d)]===_0x1a934a&&_0x47c013[_0x3ae2da(0x4c9)]===_0x5819db&&'unitId'in _0x47c013&&_0x47c013[_0x3ae2da(0x26e)]===_0x560d1f&&(!(_0x3ae2da(0x4c1)in _0x47c013)||_0x47c013['objectId']===_0x560d1f);})[_0xccfbae(0x45a)](),_0x788f46&&this[_0xccfbae(0x243)][_0xccfbae(0x134)](_0x111a9d,_0x3aba8e);});}};_0xcd8c0f=_0x37ed50([_0x5d2cb5(0x0,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x419)]),_0x5d2cb5(0x3,_0x19e1e0['IAuthzIoService']),_0x5d2cb5(0x4,(0x0,_0x19e1e0['Inject'])(_0x696f8d)),_0x5d2cb5(0x5,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x1bde53))],_0xcd8c0f);function _0x382b3f(_0x1d9e87){const _0x48e966=_0x2e0def;return(0x0,_0x144f8e[_0x48e966(0x208)])(...[_0x19e1e0[_0x48e966(0x3e4)][_0x48e966(0x3c5)],_0x19e1e0[_0x48e966(0x3e4)][_0x48e966(0x23c)],_0x19e1e0[_0x48e966(0x3e4)][_0x48e966(0x261)],_0x19e1e0[_0x48e966(0x3e4)]['UNIVER_BOARD'],_0x19e1e0['UniverInstanceType']['UNIVER_BASE']][_0x48e966(0x417)](_0x4239a7=>_0x1d9e87[_0x48e966(0x3fe)](_0x4239a7)['pipe']((0x0,_0x472409[_0x48e966(0x417)])(_0xcc5066=>({'type':_0x4239a7,'unitId':_0xcc5066[_0x48e966(0x1c3)][_0x48e966(0x465)]()})))));}function _0x36e800(_0x137122){const _0xa14e7d=_0x2e0def;switch(_0x137122){case _0x19e1e0['UniverInstanceType']['UNIVER_SHEET']:return _0xc3615a[_0xa14e7d(0x2a9)][_0xa14e7d(0x142)];case _0x19e1e0[_0xa14e7d(0x3e4)]['UNIVER_DOC']:return _0xc3615a[_0xa14e7d(0x2a9)][_0xa14e7d(0x2b4)];case _0x19e1e0[_0xa14e7d(0x3e4)][_0xa14e7d(0x261)]:return _0xc3615a[_0xa14e7d(0x2a9)][_0xa14e7d(0x13c)];case _0x19e1e0['UniverInstanceType'][_0xa14e7d(0x27b)]:return _0xc3615a[_0xa14e7d(0x2a9)][_0xa14e7d(0x14a)];case _0x19e1e0[_0xa14e7d(0x3e4)][_0xa14e7d(0x335)]:return _0xc3615a[_0xa14e7d(0x2a9)]['Base'];default:return;}}let _0x531ad2=class{constructor(_0x4b8bfc,_0x1b6b9c){const _0x1675dc=_0x2e0def;this[_0x1675dc(0x409)]=_0x4b8bfc,this[_0x1675dc(0x21e)]=_0x1b6b9c;}async['getUnitOnRev'](_0x59eb87,_0x5c0cb9){const _0x1f99ca=_0x2e0def;var _0x1c8e48;let {unitID:_0x330436,type:_0x262f37,revision:_0x216c75=0x0}=_0x5c0cb9,_0x278946=this[_0x1f99ca(0x14e)]()+'/'+_0x262f37+_0x1f99ca(0x29e)+_0x330436+_0x1f99ca(0x4eb)+_0x216c75,_0x1f669a=(await this['_httpService'][_0x1f99ca(0x264)](_0x278946))[_0x1f99ca(0x2c0)],_0x3a0dbc=(_0x1c8e48=_0x1f669a['snapshot'])==null?void 0x0:_0x1c8e48[_0x1f99ca(0x199)];if(_0x3a0dbc){let _0x2eff76=_0x3a0dbc==null?void 0x0:_0x3a0dbc[_0x1f99ca(0x524)];_0x3a0dbc[_0x1f99ca(0x524)]=_0x4f9696[_0x1f99ca(0x2ef)]['encode']((0x0,_0x4f9696[_0x1f99ca(0x386)])(_0x2eff76)),Object[_0x1f99ca(0x440)](_0x3a0dbc[_0x1f99ca(0x51a)])[_0x1f99ca(0x307)](([,_0xfa6e7d])=>{const _0x309e30=_0x1f99ca;let _0x559e31=_0xfa6e7d[_0x309e30(0x524)];_0xfa6e7d[_0x309e30(0x524)]=_0x4f9696['textEncoder'][_0x309e30(0x358)]((0x0,_0x4f9696[_0x309e30(0x386)])(_0x559e31));});}return _0x1f669a;}async[_0x2e0def(0x394)](_0x3bef46,_0x3daa36){const _0x5f2ae3=_0x2e0def;let {unitID:_0x2a5670,type:_0x2be412,blockID:_0x5891a6}=_0x3daa36,_0x2ef1c6=this[_0x5f2ae3(0x3b3)]()+'/'+_0x2be412+_0x5f2ae3(0x29e)+_0x2a5670+_0x5f2ae3(0x32e)+_0x5891a6;return(await this[_0x5f2ae3(0x21e)]['get'](_0x2ef1c6))[_0x5f2ae3(0x2c0)];}async[_0x2e0def(0x366)](_0x4b7887,_0x5a7a26){const _0x454306=_0x2e0def;let {unitID:_0x2482f9,type:_0x3f5575,blockID:_0x1360ec}=_0x5a7a26,_0x2dfa90=this[_0x454306(0x3b3)]()+'/block/'+_0x3f5575+_0x454306(0x29e)+_0x2482f9+_0x454306(0x32e)+_0x1360ec;return(await this['_httpService'][_0x454306(0x264)](_0x2dfa90))[_0x454306(0x2c0)];}async[_0x2e0def(0x4d7)](_0x2ee0c6,_0x32f9cf){const _0x4b458c=_0x2e0def;let {unitID:_0x50655a,type:_0x282608,from:_0x482d37,to:_0x59543f}=_0x32f9cf,_0x22432e=this[_0x4b458c(0x3b3)]()+'/'+_0x282608+'/unit/'+_0x50655a+'/fetchmissing?from='+_0x482d37+_0x4b458c(0x2ee)+_0x59543f;return(await this[_0x4b458c(0x21e)][_0x4b458c(0x264)](_0x22432e))[_0x4b458c(0x2c0)];}[_0x2e0def(0x14e)](){const _0x3bbe3a=_0x2e0def;return this['_configService'][_0x3bbe3a(0x277)](_0x3bbe3a(0x24f))??this[_0x3bbe3a(0x3b3)]();}['_getAPIPrefix'](){const _0x2d5f8a=_0x2e0def;let _0xe60e5a=this['_configService'][_0x2d5f8a(0x277)](_0x21d492);return(_0xe60e5a==null?void 0x0:_0xe60e5a[_0x2d5f8a(0x50d)])??_0x2d5f8a(0x305);}async[_0x2e0def(0x30e)](_0x4c21bd,_0x6be543){const _0x43c9f9=_0x2e0def;let _0x131707='/universer-api/snapshot/'+_0x6be543['type']+_0x43c9f9(0x29e)+_0x6be543[_0x43c9f9(0x2d8)]+'/resources';return(await this[_0x43c9f9(0x21e)][_0x43c9f9(0x264)](_0x131707,{'params':{'resourceId':JSON[_0x43c9f9(0x39f)](_0x6be543[_0x43c9f9(0x368)])}}))['body'];}[_0x2e0def(0x2dd)](){const _0x2b860d=_0x2e0def;throw Error(_0x2b860d(0x4f9));}[_0x2e0def(0x4df)](){const _0x2c57b9=_0x2e0def;throw Error(_0x2c57b9(0x4f9));}[_0x2e0def(0x45e)](){const _0x53d852=_0x2e0def;throw Error(_0x53d852(0x4f9));}[_0x2e0def(0x268)](){const _0x6a804=_0x2e0def;throw Error(_0x6a804(0x4f9));}[_0x2e0def(0x458)](){const _0x5b09ed=_0x2e0def;throw Error(_0x5b09ed(0x4f9));}[_0x2e0def(0x20d)](){const _0x67d4e6=_0x2e0def;throw Error(_0x67d4e6(0x4f9));}};_0x531ad2=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x4f4)]),_0x5d2cb5(0x1,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x5e0f50[_0x2e0def(0x172)]))],_0x531ad2);let _0x1200af=class extends _0x19e1e0[_0x2e0def(0x1f3)]{constructor(_0x361d30,_0x4cca30,_0x386541,_0xb37b40,_0x367645,_0x32f35a){const _0x2fc8bb=_0x2e0def;super(_0x361d30,_0x4cca30,_0x386541,_0xb37b40),this[_0x2fc8bb(0x4e2)]=_0x367645,this[_0x2fc8bb(0x4b1)]=_0x32f35a;}['transformUndoRedo'](_0x244327,_0xcd6469){const _0x7efaf7=_0x2e0def;let _0x3c8c81=this[_0x7efaf7(0x1c1)](_0x244327);if(_0x3c8c81)try{let _0x2c04c5=this[_0x7efaf7(0x218)](_0x3c8c81,_0xcd6469);this[_0x7efaf7(0x41c)](_0x244327,_0x2c04c5);}catch(_0x2fd7e7){this[_0x7efaf7(0x4b1)]['error']('[CollaborationUndoRedoService]',_0x2fd7e7),this[_0x7efaf7(0x422)](_0x244327);}let _0x588a90=this[_0x7efaf7(0x1e6)](_0x244327);if(_0x588a90)try{let _0x296255=this[_0x7efaf7(0x218)](_0x588a90,_0xcd6469,!0x0);this['_substituteRedoStack'](_0x244327,_0x296255);}catch(_0xb48a72){this[_0x7efaf7(0x4b1)]['error'](_0xb48a72),this[_0x7efaf7(0x147)](_0x244327);}}[_0x2e0def(0x422)](_0x53dcb6){const _0x4f4c82=_0x2e0def;let _0x53cada=this[_0x4f4c82(0x1c1)](_0x53dcb6);_0x53cada&&(_0x53cada[_0x4f4c82(0x4d4)]=0x0,this[_0x4f4c82(0x4ab)]());}[_0x2e0def(0x147)](_0x406dd2){const _0x489f67=_0x2e0def;let _0x518bca=this[_0x489f67(0x1e6)](_0x406dd2);_0x518bca&&(_0x518bca[_0x489f67(0x4d4)]=0x0,this[_0x489f67(0x4ab)]());}[_0x2e0def(0x41c)](_0xa9faf8,_0x2a766e){const _0x73b5bc=_0x2e0def;this[_0x73b5bc(0x263)]['set'](_0xa9faf8,_0x2a766e),this[_0x73b5bc(0x4ab)]();}[_0x2e0def(0x2b3)](_0x443042,_0x5d4d7e){const _0x1f3a36=_0x2e0def;this['_redoStacks'][_0x1f3a36(0x236)](_0x443042,_0x5d4d7e),this['_updateStatus']();}['_transformStack'](_0x58d1f2,_0x38c156,_0x106b3f=!0x1){const _0xa31579=_0x2e0def;if(!_0x58d1f2[_0xa31579(0x4d4)])return[];let _0x26b909=[],_0x4dacb3=_0x38c156,_0x3b897a=_0x38c156[_0xa31579(0x33d)]===_0x19e1e0['UniverInstanceType'][_0xa31579(0x23c)]?this[_0xa31579(0x4d1)][_0xa31579(0x16b)](_0x38c156['unitID'],_0x19e1e0['UniverInstanceType'][_0xa31579(0x23c)]):null,_0x4f8885=_0x3b897a?{'id':_0x3b897a[_0xa31579(0x465)](),'documentStyle':{},'tableSource':_0x19e1e0[_0xa31579(0x372)]['deepClone'](_0x3b897a[_0xa31579(0x3a0)]()[_0xa31579(0x1aa)]??{})}:null;for(let _0x42ea98=_0x58d1f2['length']-0x1;_0x42ea98>=0x0;_0x42ea98--){let {unitID:_0x58f85b,undoMutations:_0x41f8f2,redoMutations:_0x513a62}=_0x58d1f2[_0x42ea98],_0x21bd01=_0x106b3f?_0x513a62:_0x41f8f2,_0x4195bf=this['_transformHistoryMutations'](_0x4dacb3,_0x21bd01);if((0x0,_0x4f9696[_0xa31579(0x1f8)])(_0x4195bf)){this[_0xa31579(0x4b1)]['error'](_0xa31579(0x22e),_0xa31579(0x48e),_0x4195bf);break;}let _0x295265=_0x106b3f?_0x41f8f2:_0x513a62,_0x2bed63=this['_transformHistoryMutations'](_0x4195bf[_0xa31579(0x3ab)],_0x295265);if((0x0,_0x4f9696[_0xa31579(0x1f8)])(_0x2bed63)){this['_logService'][_0xa31579(0x340)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x2bed63);break;}let _0x4320d8=_0x106b3f?_0x2bed63:_0x4195bf,_0x442785=_0x106b3f?_0x4195bf:_0x2bed63;_0x4dacb3=_0x4195bf[_0xa31579(0x3ab)],_0x4f8885&&=this[_0xa31579(0x30b)](_0x4f8885,_0x4195bf['m2Prime'],_0x2bed63['m2Prime']),_0x26b909[_0xa31579(0x4d0)]({'unitID':_0x58f85b,'undoMutations':_0x4320d8[_0xa31579(0x1b0)],'redoMutations':_0x442785[_0xa31579(0x1b0)]});}return _0x26b909['reverse']();}[_0x2e0def(0x4cc)](_0x4863a5,_0x11db70){const _0x3fc7d9=_0x2e0def;if(_0x4863a5[_0x3fc7d9(0x33d)]!==_0x19e1e0[_0x3fc7d9(0x3e4)][_0x3fc7d9(0x23c)]||_0x11db70[_0x3fc7d9(0x202)](_0x4fb1b8=>_0x4fb1b8['id']!==_0x444f1a[_0x3fc7d9(0x49a)]['id']))return this[_0x3fc7d9(0x4e2)]['transformMutationsWithChangeset'](_0x4863a5,_0x11db70);let _0x22221f=_0x19e1e0[_0x3fc7d9(0x372)][_0x3fc7d9(0x2f9)](_0x11db70),_0x36afdc=[];for(let _0x1f1e85 of _0x4863a5[_0x3fc7d9(0x313)]){let _0xa969bc={..._0x4863a5,'mutations':[_0x1f1e85]},_0x560147=[];for(let _0x5447b1 of _0x22221f){_0xa969bc=this['_rebaseParagraphHistory'](_0xa969bc,[_0x5447b1]);let _0x1257f5=this[_0x3fc7d9(0x4e2)][_0x3fc7d9(0x493)](_0xa969bc,[_0x5447b1]);if((0x0,_0x4f9696[_0x3fc7d9(0x1f8)])(_0x1257f5))return _0x1257f5;_0xa969bc=_0x1257f5[_0x3fc7d9(0x3ab)],_0x560147[_0x3fc7d9(0x4d0)](..._0x1257f5[_0x3fc7d9(0x1b0)]);}_0x22221f=_0x560147,_0x36afdc['push'](..._0xa969bc[_0x3fc7d9(0x313)]);}return{'m2Prime':_0x22221f,'c1Prime':{..._0x4863a5,'mutations':_0x36afdc}};}['_rebaseParagraphHistory'](_0x47aa0e,_0x4e8eef){const _0x56afed=_0x2e0def;let _0x3ec18b=new Map(),_0x2ccbb8=_0x19e1e0['JSON1']['type'][_0x56afed(0x230)](_0x4e8eef[0x0]['params'][_0x56afed(0x17d)]);if(_0x2ccbb8['traverse'](null,_0x455f2d=>{const _0x250441=_0x56afed;if(_0x455f2d['et']!==_0x250441(0x425))return;let _0x2a693f=JSON[_0x250441(0x39f)](_0x2ccbb8[_0x250441(0x19b)]()),_0x50d2f8=_0x3ec18b[_0x250441(0x264)](_0x2a693f)??new Map(),_0x1b7da9=0x0;for(let _0x4ea0a7 of _0x455f2d['e']){if(_0x4ea0a7['t']===_0x19e1e0[_0x250441(0x1ce)][_0x250441(0x2ab)]){var _0x559043;for(let _0x4795a6 of((_0x559043=_0x4ea0a7[_0x250441(0x2c0)])==null?void 0x0:_0x559043[_0x250441(0x31a)])??[])_0x50d2f8[_0x250441(0x236)](_0x1b7da9+_0x4795a6[_0x250441(0x469)],{'paragraph':_0x4795a6,'replace':_0x4ea0a7[_0x250441(0x4c4)]===_0x19e1e0[_0x250441(0x411)]['REPLACE']});}_0x4ea0a7['t']!==_0x19e1e0[_0x250441(0x1ce)][_0x250441(0x291)]&&(_0x1b7da9+=_0x4ea0a7[_0x250441(0x214)]);}_0x50d2f8[_0x250441(0x30a)]>0x0&&_0x3ec18b[_0x250441(0x236)](_0x2a693f,_0x50d2f8);}),_0x3ec18b[_0x56afed(0x30a)]===0x0)return _0x47aa0e;let _0x5716fe=_0x19e1e0[_0x56afed(0x372)][_0x56afed(0x2f9)](_0x47aa0e);for(let _0x57e3fb of _0x5716fe['mutations']){if(_0x57e3fb['id']!==_0x444f1a['RichTextEditingMutation']['id'])continue;let _0x51acc6=_0x19e1e0['JSON1'][_0x56afed(0x33d)][_0x56afed(0x230)](_0x57e3fb[_0x56afed(0x4b2)][_0x56afed(0x17d)]);_0x51acc6[_0x56afed(0x3ed)](null,_0x395fbf=>{const _0x1058ed=_0x56afed;if(_0x395fbf['et']!==_0x1058ed(0x425))return;let _0x383b0a=JSON[_0x1058ed(0x39f)](_0x51acc6[_0x1058ed(0x19b)]()),_0x596c38=_0x3ec18b[_0x1058ed(0x264)](_0x383b0a);if(!(_0x596c38!=null&&_0x596c38['size']))return;let _0x2c12b9=0x0;for(let _0x4538ce of _0x395fbf['e']){if(_0x4538ce['t']===_0x19e1e0['TextXActionType'][_0x1058ed(0x2ab)]&&_0x4538ce[_0x1058ed(0x4c4)]===_0x19e1e0[_0x1058ed(0x411)][_0x1058ed(0x33f)]){var _0x27f800;for(let _0x9e5a4 of((_0x27f800=_0x4538ce['body'])==null?void 0x0:_0x27f800[_0x1058ed(0x31a)])??[]){var _0x2be51e;let _0xb18d24=(_0x2be51e=_0x4538ce[_0x1058ed(0x470)])==null||(_0x2be51e=_0x2be51e[_0x1058ed(0x31a)])==null?void 0x0:_0x2be51e['find'](_0x2d04c7=>_0x2d04c7[_0x1058ed(0x469)]===_0x9e5a4[_0x1058ed(0x469)]),_0x50fe64=_0x596c38[_0x1058ed(0x264)](_0x2c12b9+_0x9e5a4[_0x1058ed(0x469)]);if(_0xb18d24&&_0x50fe64){this['_rebaseUnchangedAttributes'](_0x9e5a4,_0xb18d24,_0x50fe64[_0x1058ed(0x1f9)],_0x50fe64[_0x1058ed(0x33e)]);let _0x563cb7=_0x50fe64[_0x1058ed(0x33e)]?new Set([...Object[_0x1058ed(0x36b)](_0x50fe64[_0x1058ed(0x1f9)]),...Object['keys'](_0x9e5a4)]):Object['keys'](_0x50fe64['paragraph']);for(let _0x3c35dc of _0x563cb7){if(_0x3c35dc==='startIndex'||_0x3c35dc==='paragraphId')continue;let _0x372f91=Reflect[_0x1058ed(0x264)](_0x9e5a4,_0x3c35dc);_0x372f91===void 0x0?Reflect[_0x1058ed(0x478)](_0x50fe64['paragraph'],_0x3c35dc):Reflect[_0x1058ed(0x236)](_0x50fe64[_0x1058ed(0x1f9)],_0x3c35dc,_0x19e1e0[_0x1058ed(0x372)][_0x1058ed(0x2f9)](_0x372f91));}}}}_0x4538ce['t']!==_0x19e1e0[_0x1058ed(0x1ce)][_0x1058ed(0x291)]&&(_0x2c12b9+=_0x4538ce[_0x1058ed(0x214)]);}});}return _0x5716fe;}[_0x2e0def(0x442)](_0x287f7,_0x5c8c8e,_0x4d7695,_0x16f508){const _0x426fa2=_0x2e0def;let _0x923d3e=new Set([...Object[_0x426fa2(0x36b)](_0x287f7),...Object[_0x426fa2(0x36b)](_0x5c8c8e),...Object[_0x426fa2(0x36b)](_0x4d7695)]);for(let _0x4b30f6 of _0x923d3e){if(_0x4b30f6===_0x426fa2(0x469)||_0x4b30f6===_0x426fa2(0x1d0))continue;let _0xf9d379=Reflect[_0x426fa2(0x264)](_0x287f7,_0x4b30f6),_0x23ed10=Reflect[_0x426fa2(0x264)](_0x5c8c8e,_0x4b30f6),_0x5eaea4=Reflect[_0x426fa2(0x264)](_0x4d7695,_0x4b30f6);if(_0x16f508||_0x5eaea4!==void 0x0){if(_0x19e1e0[_0x426fa2(0x372)]['diffValue'](_0xf9d379,_0x23ed10))_0x5eaea4===void 0x0?(Reflect[_0x426fa2(0x478)](_0x287f7,_0x4b30f6),Reflect[_0x426fa2(0x478)](_0x5c8c8e,_0x4b30f6)):(Reflect[_0x426fa2(0x236)](_0x287f7,_0x4b30f6,_0x19e1e0[_0x426fa2(0x372)]['deepClone'](_0x5eaea4)),Reflect['set'](_0x5c8c8e,_0x4b30f6,_0x19e1e0[_0x426fa2(0x372)]['deepClone'](_0x5eaea4)));else{if(_0x19e1e0['Tools'][_0x426fa2(0x265)](_0xf9d379)&&(_0x19e1e0[_0x426fa2(0x372)][_0x426fa2(0x265)](_0x23ed10)||_0x23ed10===void 0x0)){let _0x3aab42=_0x23ed10??{};this[_0x426fa2(0x442)](_0xf9d379,_0x3aab42,_0x19e1e0[_0x426fa2(0x372)][_0x426fa2(0x265)](_0x5eaea4)?_0x5eaea4:{},_0x16f508),(_0x23ed10!==void 0x0||Object[_0x426fa2(0x36b)](_0x3aab42)[_0x426fa2(0x4d4)]>0x0)&&Reflect[_0x426fa2(0x236)](_0x5c8c8e,_0x4b30f6,_0x3aab42);}}}}}[_0x2e0def(0x30b)](_0x1deb8a,_0x3145b1,_0x46e605){const _0xd869c8=_0x2e0def;if(_0x3145b1[_0xd869c8(0x4d4)]!==0x1||_0x46e605[_0xd869c8(0x4d4)]!==0x1||_0x3145b1[0x0]['id']!==_0x444f1a[_0xd869c8(0x49a)]['id']||_0x46e605[0x0]['id']!==_0x444f1a[_0xd869c8(0x49a)]['id'])return _0x1deb8a;let _0x41002c=_0x3145b1[0x0][_0xd869c8(0x4b2)],_0xc1fb88=_0x46e605[0x0]['params'],_0x29da87=this[_0xd869c8(0x234)](_0x41002c[_0xd869c8(0x17d)],!0x0);return _0x19e1e0['JSONX']['isNoop'](_0x29da87)?_0x1deb8a:(_0xc1fb88[_0xd869c8(0x17d)]=_0x19e1e0[_0xd869c8(0x370)]['compose'](this['_filterTableActions'](_0xc1fb88[_0xd869c8(0x17d)],!0x1),_0x19e1e0['JSONX'][_0xd869c8(0x4e8)](_0x29da87,_0x1deb8a)),_0x19e1e0[_0xd869c8(0x370)]['apply'](_0x1deb8a,_0x29da87)??_0x1deb8a);}[_0x2e0def(0x234)](_0x37078e,_0x1acf00){const _0x48e052=_0x2e0def;let _0x501753=_0x19e1e0[_0x48e052(0x1cf)][_0x48e052(0x33d)][_0x48e052(0x230)](_0x37078e),_0x1c5786=_0x19e1e0[_0x48e052(0x1cf)][_0x48e052(0x33d)][_0x48e052(0x2cd)]();return _0x501753[_0x48e052(0x3ed)](null,_0x404d31=>{const _0x25e5ce=_0x48e052;let _0x35279c=_0x501753[_0x25e5ce(0x19b)]();if(_0x35279c[0x0]==='tableSource'===_0x1acf00){for(let _0x36711c of Object[_0x25e5ce(0x36b)](_0x404d31))_0x1c5786['writeAtPath'](_0x35279c,_0x36711c,_0x404d31[_0x36711c]);}}),_0x1c5786[_0x48e052(0x264)]();}};_0x1200af=_0x37ed50([_0x5d2cb5(0x0,_0x19e1e0[_0x2e0def(0x19c)]),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x481)]),_0x5d2cb5(0x2,_0x19e1e0[_0x2e0def(0x1a4)]),_0x5d2cb5(0x3,_0x19e1e0['IConfigService']),_0x5d2cb5(0x4,_0x4f9696[_0x2e0def(0x487)]),_0x5d2cb5(0x5,_0x19e1e0[_0x2e0def(0x287)])],_0x1200af);let _0x5b51a0=class extends _0x19e1e0['Plugin']{constructor(_0x32a789=_0x2094b3,_0x5c1383,_0x1646ec,_0x470d18){const _0x137270=_0x2e0def;super(),this[_0x137270(0x451)]=_0x32a789,this[_0x137270(0x4b1)]=_0x5c1383,this[_0x137270(0x196)]=_0x1646ec,this[_0x137270(0x409)]=_0x470d18;let {..._0x216a1c}=(0x0,_0x19e1e0[_0x137270(0x208)])({},_0x2094b3,this['_config']);if(!_0x216a1c[_0x137270(0x301)])throw Error(_0x137270(0x44d));this[_0x137270(0x451)]=_0x216a1c,this[_0x137270(0x409)]['setConfig'](_0x21d492,_0x216a1c);}[_0x2e0def(0x1c8)](){const _0x51079c=_0x2e0def;this[_0x51079c(0x409)]['setConfig'](_0x19e1e0[_0x51079c(0x29c)],this[_0x51079c(0x451)]['objectPermissionTypes']??[]),this[_0x51079c(0x3b5)](),this['_initDependencies']();}[_0x2e0def(0x3b5)](){const _0x53d688=_0x2e0def;var _0x18f73b,_0x56be35;this['_injector'][_0x53d688(0x39a)](_0x19e1e0['IUndoRedoService'])&&this[_0x53d688(0x4b1)]['error'](_0x53d688(0x3fb),_0x53d688(0x1f5));let _0x333c7d=(0x0,_0x19e1e0[_0x53d688(0x13e)])([[_0x19e1e0[_0x53d688(0x18e)],{'useClass':_0x1200af}],[_0x325582,{'useValue':_0x349012()}],[_0x696f8d],[_0x4be8dc],[_0x95e1bd],[_0x413891],[_0x15906e],[_0x2ace56],[_0xcd8c0f],[_0x1bde53],[_0x3d1274],[_0x3e2f68,{'useClass':this[_0x53d688(0x451)][_0x53d688(0x301)]}],[_0x4f9696[_0x53d688(0x1ec)],{'useClass':_0x531ad2}],[_0x19e1e0[_0x53d688(0x371)],{'useClass':_0x274190}],[_0x19e1e0[_0x53d688(0x3ad)],{'useClass':_0x325bae}],[_0x3e5537,{'useClass':_0x1be954}],[_0x19e1e0[_0x53d688(0x387)],{'useClass':_0x5e032f}],[_0x5fd9b5],[_0x50c61d]],(_0x18f73b=this['_config'])==null?void 0x0:_0x18f73b['override']);if(!((_0x56be35=this[_0x53d688(0x451)])!=null&&_0x56be35[_0x53d688(0x429)])){let _0x1e9cdd=_0x333c7d[_0x53d688(0x379)](([_0x18a41f])=>_0x18a41f===_0x472208);_0x1e9cdd!==-0x1&&_0x333c7d[_0x53d688(0x34c)](_0x1e9cdd,0x1);}(0x0,_0x19e1e0['registerDependencies'])(this[_0x53d688(0x196)],_0x333c7d);}[_0x2e0def(0x310)](){const _0x14d655=_0x2e0def;var _0x164ca7,_0x438621;if(this[_0x14d655(0x196)][_0x14d655(0x264)](_0x5e0f50['HTTPService'])[_0x14d655(0x1d6)]({'priority':0x14,'interceptor':(0x0,_0x5e0f50['ThresholdInterceptorFactory'])({'maxParallel':0x6})}),!((_0x164ca7=this[_0x14d655(0x451)])!=null&&_0x164ca7['enableOfflineEditing'])){var _0x5f4478;(_0x5f4478=this[_0x14d655(0x196)][_0x14d655(0x264)](_0x5700e5,_0x19e1e0[_0x14d655(0x25b)][_0x14d655(0x185)]))==null||_0x5f4478[_0x14d655(0x4f8)]();}(_0x438621=this[_0x14d655(0x451)])!=null&&_0x438621[_0x14d655(0x20c)]&&(0x0,_0x19e1e0['touchDependencies'])(this[_0x14d655(0x196)],[[_0x413891]]),(0x0,_0x19e1e0[_0x14d655(0x22f)])(this[_0x14d655(0x196)],[[_0x15906e],[_0x5fd9b5],[_0xcd8c0f]]);}};_0xc5e065(_0x5b51a0,_0x2e0def(0x38c),'UNIVER_COLLABORATION_CLIENT_PLUGIN'),_0xc5e065(_0x5b51a0,'packageName',_0x478bf2),_0xc5e065(_0x5b51a0,_0x2e0def(0x1af),_0x290754),_0x5b51a0=_0x37ed50([(0x0,_0x19e1e0[_0x2e0def(0x2ae)])(_0x463499[_0x2e0def(0x40a)],_0x5e0f50[_0x2e0def(0x1a0)],_0x4f9696['UniverCollaborationPlugin']),_0x5d2cb5(0x1,_0x19e1e0[_0x2e0def(0x287)]),_0x5d2cb5(0x2,(0x0,_0x19e1e0[_0x2e0def(0x508)])(_0x19e1e0[_0x2e0def(0x35e)])),_0x5d2cb5(0x3,_0x19e1e0['IConfigService'])],_0x5b51a0),Object[_0x2e0def(0x496)](_0x373490,'AuthzIoHttpService',{'enumerable':!0x0,'get':function(){return _0x274190;}}),Object['defineProperty'](_0x373490,_0x2e0def(0x203),{'enumerable':!0x0,'get':function(){return _0x4d8940;}}),Object['defineProperty'](_0x373490,_0x2e0def(0x151),{'enumerable':!0x0,'get':function(){return _0x480be6;}}),Object[_0x2e0def(0x496)](_0x373490,'BaseCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x47d8cb;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x38f),{'enumerable':!0x0,'get':function(){return _0x5344a5;}}),_0x373490['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x21d492,_0x373490[_0x2e0def(0x525)]=_0x3786f5,Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x351),{'enumerable':!0x0,'get':function(){return _0x1be954;}}),Object[_0x2e0def(0x496)](_0x373490,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x5fd9b5;}}),Object['defineProperty'](_0x373490,_0x2e0def(0x1b4),{'enumerable':!0x0,'get':function(){return _0x149470;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x380),{'enumerable':!0x0,'get':function(){return _0x325bae;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x3c4),{'enumerable':!0x0,'get':function(){return _0x50bd25;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x2d6),{'enumerable':!0x0,'get':function(){return _0x696f8d;}}),Object['defineProperty'](_0x373490,_0x2e0def(0x4ee),{'enumerable':!0x0,'get':function(){return _0x3ce6a3;}}),_0x373490['CollaborationStatus']=_0xa733fb,_0x373490[_0x2e0def(0x459)]=_0xa1c206,_0x373490[_0x2e0def(0x26d)]=_0x1bde53,Object['defineProperty'](_0x373490,'CollaborativeUndoRedoService',{'enumerable':!0x0,'get':function(){return _0x1200af;}}),_0x373490[_0x2e0def(0x1c5)]=_0x2ace56,Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x16c),{'enumerable':!0x0,'get':function(){return _0x28fe8b;}}),_0x373490[_0x2e0def(0x2ec)]=0x4e20,_0x373490[_0x2e0def(0x297)]='ws://127.0.0.1:8000/universer-api/comb/connect',_0x373490[_0x2e0def(0x4ae)]=_0x2e0def(0x294),_0x373490[_0x2e0def(0x475)]=_0x2e0def(0x3ff),Object[_0x2e0def(0x496)](_0x373490,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x3d1274;}}),Object['defineProperty'](_0x373490,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x24fcb7;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x2b1),{'enumerable':!0x0,'get':function(){return _0x28c4f8;}}),_0x373490[_0x2e0def(0x286)]='HEARTBEAT_INTERVAL',_0x373490[_0x2e0def(0x329)]='HEARTBEAT_TIMEOUT',_0x373490['IAttachmentIoService']=_0x3e5537,_0x373490[_0x2e0def(0x215)]=_0x325582,_0x373490[_0x2e0def(0x46e)]=_0x3e2f68,_0x373490[_0x2e0def(0x1c0)]=_0x5700e5,_0x373490[_0x2e0def(0x2a2)]=_0x4cfbe5,_0x373490[_0x2e0def(0x304)]=_0x472208,_0x373490[_0x2e0def(0x3e5)]=0x3e8,_0x373490[_0x2e0def(0x4e6)]=_0x2e0def(0x3e5),_0x373490['MAX_ACK_TIMEOUT']=0x1d4c0,Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x34f),{'enumerable':!0x0,'get':function(){return _0x4be8dc;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x24c),{'enumerable':!0x0,'get':function(){return _0x5e032f;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x188),{'enumerable':!0x0,'get':function(){return _0x3e0f8a;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x32a),{'enumerable':!0x0,'get':function(){return _0x3e1efe;}}),Object['defineProperty'](_0x373490,'PendingState',{'enumerable':!0x0,'get':function(){return _0x384508;}}),_0x373490['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x2e0def(0x1f7),_0x373490[_0x2e0def(0x4a2)]=_0x2e0def(0x22d),_0x373490[_0x2e0def(0x454)]=_0x27c288,Object[_0x2e0def(0x496)](_0x373490,'SheetCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x550742;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x462),{'enumerable':!0x0,'get':function(){return _0x95e1bd;}}),Object['defineProperty'](_0x373490,_0x2e0def(0x4af),{'enumerable':!0x0,'get':function(){return _0x27bbc8;}}),Object[_0x2e0def(0x496)](_0x373490,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x531ad2;}}),Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x17c),{'enumerable':!0x0,'get':function(){return _0x55714b;}}),_0x373490[_0x2e0def(0x1d8)]=_0x2f6ede,Object[_0x2e0def(0x496)](_0x373490,_0x2e0def(0x3d9),{'enumerable':!0x0,'get':function(){return _0x5b51a0;}}),_0x373490[_0x2e0def(0x519)]=_0x349012,_0x373490[_0x2e0def(0x346)]=_0x5f4593,_0x373490[_0x2e0def(0x248)]=_0x35584b,_0x373490['serializeCombRequest']=_0xe62dd5;}));function _0x25e9(){const _0x5bfb3e=['_event$','getAttachmentUrl','ImageUploadStatusType','_handler','@univerjs/sheets','_acknowledgeAwaitingIfReady','9tkBHLY','@univerjs/docs','_updateStatus','_state','UniverProSlides','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SlideCollaborationEntity','PSEUDO_FETCH_MISSING_RESULT','_logService','params','target','SYNCED','DRAWING_IMAGE_ALLOW_IMAGE_LIST','reqId','socketReady','csRejEvent','close','online$','_startTelemetryCollaborationNewChangeset','equals','onRemoteAck','_collabSessionService','_updateState','expected\x20Uint8Array','objectId','_unitInfo$','HEARTBEAT_TIMEOUT','coverType','incrementRevOfUnit','_closedUnits','update','_revisionService','subType','_onCombEvent','save\x20fail\x20reason\x20is\x20','_transformHistoryMutations','RevisionService','error$','_reqId','push','_univerInstanceService','decorate','NO_OTHER_CLIENTS_EDITING','length','7aGAFjp','SHOULD_CLOSE_CONN','fetchMissingChangesets','_members','_onLicenseRejected','1281102lCCYZw','FileSource','_type','missingChangesets','_syncEditingCollabCursor','updateSnapshot','CmdRspCode','\x22bytesLength\x22\x20expected\x20<=\x2065536,\x20got\x20','_transformService','817298EqpuKf','session.join-failed','post','LOCAL_CACHE_INTERVAL_KEY','socketSubscription','invertWithDoc','onSendChangeset','collaboratorID','/rev/','_onRecvEvent','__splitChunk__','CollaborationSocketService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','maxChangesetAckTimeout','crypto','_getCurrentRevision','_onRemoteRetry','IConfigService','UUID','MentionType','url','disableLocalCache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Subscription','event$','_loadSnapshot','signUrlServerUrl','InsertSheetMutation','[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.','_socketService','FileId','_undoRedoService','collaMsg','getImage','RxDisposable','[CollaborationAttachmentIoService]:\x20attachment\x20exceeds\x20max\x20size.','max','Inject','__Key__','stream','_rescheduleHeartbeat','resolveUnit','snapshotServerUrl','then','state$','listCollaborators','_send','uuidv4','leaveEvent','RemoveSlidePageMutation','saveAttachment','getMember','ignored\x20stale\x20ack\x20of\x20revision\x20','fetchThroughInterceptors','createUniverCollaborationAdapter','sheets','concatMap','/object/','CommandType','[DataLoaderService]','blockRanges','timeout','isArray','nonceLength','endsWith','originalMeta','ChangesetSubmitter','roomInfos','_clearScheduledTask','getCollabEntities','sequenceExecute','updatePermissionPoint','getAllMembers','/-/object/list','number','SetSelectionsOperation','function','onRemoteRevert','decrypt','Slide','_onUserLeave','mergeOverrideWithDependencies','_status$','base-ui.attachment-io.service','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Workbook','_detachSubmitter','session','requestParams','LIVESHARE_TERMINATE','_clearRedo','isInternalEditorID','_getLoginPath','Board','_initRequestHeader','sid','conflict','getSnapshotAPIPath','SnapshotService','localCacheService','AwaitingWithPendingState','commit','ONLINE','_onRemoteChangeset','EnsureSlideMasterPageMutation','_localeService','_refreshUnitPermission','_shouldReportTelemetry','JOIN_ROOM_NOT_EXISTS','trim','_transitionLocked','delete','_collaborationSessionService','retryConnectingTimer','infoRsp','changesetAckTimeout','/collaborator','getFocusedUnit','enableCollaboration','onPrepareTransformSelections','result','_queuedRemoteChangesets','offline','getMemberID','permissionRejEvent','_tryReconnect','getUnit','ConflictState','members$','JOINING','onMissedChangesetFetched','_telemetryService','&assign=','HTTPService','toLocal','headers','_snapshotServerService','_clearHandshakeTimer','_prepareTransformSelections','_adapter','_identity','transformChangesets','_unsyncedMutationCount','SyncedState','actions','prototype','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteChangeset','maxAckTimeout','maxSize','_stopTelemetryCollaborationNewChangeset','SOCKET_FAILED_RETRY','OPTIONAL','_resend','@univerjs-pro/slides','OfflineState','reconnect','/role','_getSignURL','_imageSourceCache','getUnitStatus$','IUndoRedoService','_classifyRemoteChangeset','Uint8Array','toggleOffline','filter','_deliver','/-/object/-/batch_allowed','message','_injector','_classifyAck','now','workbook','[PendingState]:\x20received\x20acknowledgement.','getPath','IUniverInstanceService','LIVESHARE_FETCH_OPERATIONS','_onOffline','subject','UniverNetworkPlugin','status$','call','_transformStateCache','IContextService','_clearTimeoutTimer','downloadEndpointUrl','UniverDrawing','_authzIoService','_now','tableSource','subarray','_toggleOffline','_sheetTransformSelectionsService','[CollaborationSocketService]','version','m2Prime','ignored\x20remote\x20changeset\x20of\x20revision\x20','toggleOnline','AAD\x20not\x20supported','CollaborationEntity','docStateChange$','_pendingSessions','toPrimitive','_isAckOfAwaitingChangeset','addImageSourceCache','USERS_ENTER','_getCtorByUniverInstanceType','AWAITING_WITH_PENDING','parseChangesetToProtocol','OTHER_CLIENT_EDITING','appendMutation','ILocalCacheService','_getUndoStack','_toSynced','unit','fetching\x20missing\x20changesets\x20from\x20','CommentService','init','CHANGESET_REJ','onStarting','_attempt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','_conflict$','code','TextXActionType','JSON1','paragraphId','isView','_isEchoedAwaitingChangeset','name','getUnitType','UnitEmbedded','registerHTTPInterceptor','not_collab','UnitStatus','parseProtocolChangeset','getCurrentUser','compose','key','loadDoc','_getSocketChannel','COMMENT_UPDATE','entityInit$','_submitter','_roomMembers','requireSession','selections','getCurrentSelections','_getRedoStack','permission_rejected','_socket','_getUnitPermissionPoints','byteOffset','_schedule','ISnapshotServerService','startTime','getTypeOfUnitDisposed$','clear','_acknowledgedAwaitingRevision','@univerjs/telemetry','eventID','LocalUndoRedoService',',\x20got\x20','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','capture','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformMutationsWithChangesetFailure','paragraph','Rectangle','x-univer-host','univer-pro.collaboration-client.network-condition.service','license_unit_type_rejected','getValue','CONFLICT','getCfgEnableObjInherit','onTransformIME','some','AwaitingState','reject','collabWebSocketUrl','UniverSheets','JOIN_ROOM_FAILED','merge','deleteCollaborator','/new_changes','length=','enableAuthServer','getLatestCsReqIdBySid','_disableEditing','collaboration-client.config','debug','_countResend','_waitForHeartbeatResponse','CLOSE_ROOM','len','ICollaborationClientAdapterService','_createHandler','onlyLocal','_transformStack','_retryBackoff','_nextDelay','getRandomValues','interceptor','operators','_httpService','MUTATION','_onConflict','26736Insqfy','unitType','loadSheet','RECV','socket$','echo','fromCharCode','toDisposable','PERMISSION_DENIED','RemoteRevertError','awaiting','onStateChange','RETRY_CONNECTING_MAX_COUNT','[CollaborationUndoRedoService]','touchDependencies','readCursor','withAAD','@univerjs-pro/collaboration-client','DisposableCollection','_filterTableActions','\x20failed:\x20','set','state','_waitCount','getRoom','_transformAndApplyRemoteChangeset','_socketChannels','UNIVER_DOC','_emitMembers','revision','[CollaborationAttachmentIoService]:\x20failed\x20to\x20upload\x20attachment.','handshakeTimer','LIVESHARE_NEW_HOST','submitting\x20changeset\x20','_permissionService','addHandlerCallback','routeKey','_retryReason','_sendToken','getLocalCacheKey','getOwnPropertyDescriptor','_onRemoteACK','OTHER_CLIENTS_EDITING','MentionIoHttpService','1160466chFPur','dispose$','SNAPSHOT_URL_KEY','PERSON','pipe','batchAllowed','_requestMissingChangesets','univer-pro.collaboration-client-adapter-service','_sendHeartbeat','_members$','CollaborationEvent','ISocketService','collaboration-client.auth.needGotoLoginAlert','joinEvent','Quantity','toStringTag','isPermissionRej','SUBMIT_CHANGESET_TIMEOUT','getAllPermissionPoint','fetch_missing','UNIVER_SLIDE','loadUnit','_undoStacks','get','isObject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getGlobalObject','saveChangeset','_createChangesetSubmitter','type=','[CollaborationEntity]','INGEST','CollaborationUIEventService','unitId','liveShareOperation','pending','BYTES_PER_ELEMENT','_createSocket','People','_transformRemoteChangesetByStateCache','message$','candidateSocket','getConfig','close$','[CollaborationSessionService]','_handlerCallback','UNIVER_BOARD','rxjs/operators','HTTPEventType','UniverTelemetry','[CollaborationState]:\x20the\x20unit\x20was\x20reverted\x20to\x20revision\x20','UniverProCollaborationClient','memberID','sendHeartbeatTimer','onRemoteRetry','_tryEnsureSocket','every','HEARTBEAT_INTERVAL_KEY','ILogService','getCurrentRevOfUnit','onSyncEditingCollabCursor','_removeRoom','CHANGESET_SHOULD_RETRY','data','updateCursorEvent','synced','closeSession','stale','INSERT','COLLABORATION_CHANGESET_TRANSLATION_REQUIRED','loadOfflineData','/universer-api/uniscript','IDLE','LIVESHARE_REQUEST_HOST','DEFAULT_COLLAB_WEB_SOCKET_URL','includes','_sessionStatus$','nextDelayMs','_startCollaboration','OBJECT_PERMISSION_CONFIG_KEY','_roomCreated$','/unit/','list','_onLocalMutation','userID','INetworkConditionService','UniverProtocol','HTTPResponseError','disablePadding','_createInitialState','apply','_transformUndoredo','UnitObject','_initCloseConn','RETAIN','_replayCachedMutations','sessionStatus','DependentOn','_getAPIPrefixPath','CONFLICT_PROCESSING','FetchingMissState','textRanges','_substituteRedoStack','Document','tagLength','&source=','requestRetry','bytesLength','accept','c2Prime','delay','updateCollaborator','catch','_onConnectionFailed','_compressMutationService','body','LEAVE','bind','getCollabEntity','@univerjs-pro/collaboration','objects','COLLABORATION_ENDPOINT_INVALID','_onMessage','commentUpdate$','[SyncedState]:\x20received\x20rejection.','unitLoaded$','reason','buffer','writeCursor','univer-pro.collaboration-client.single-active-unit-service','OFFLINE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LIVESHARE_OPERATION','dispose','Subject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','find','CollaborationSessionService','sort','unitID','_handleRemoteChangesets','?size=','\x20in\x20_schedule.','create','saveSnapshot','aes:\x20bad\x20decrypt','MergeInterceptorFactory','\x22ciphertext\x22\x20expected\x20length\x20>=\x20tagLength=','_decreaseWaiting','UNIVER_PDF','createInstance','toString','loadSlide','SUBMIT_CHANGESET','RemoteChangesetApplyError','\x0aCurrent:\x20','ack_of_awaiting','title','refreshUnit','DEFAULT_ACK_TIMEOUT','POST','&to=','textEncoder','onApply','cipher\x20output\x20not\x20supported','changesets','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_telemetryInfo','onMutationExecutedForCollab','[CollaborationAttachmentIoService]:\x20failed\x20to\x20resolve\x20attachment\x20URL.','_transformAndApply','{fileID}','deepClone','getSheetId','encodeURIComponent','_changesetReqId','_timer','_disposed','_hasSessionsForEndpoint','_eventService','socketService','socket\x20open.','remote_revert','ISingleActiveUnitService','/universer-api/snapshot','_sessions','forEach','Optional','getInterceptPoints','size','_invertDocumentHistory','next','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getResourcesRequest','PENDING','_initDependencies','getTime','HTTP\x20','mutations','_commentUpdate$','constructor','_options','ignored\x20rejection.','UPDATE_CURSOR','MoveSlidePageMutation','paragraphs','allowed','put','ImageSourceType','complete','ERROR_EXCEED_SIZE','RevertRevisionMutation','changesetResend$','transformSelections','plaintext\x20must\x20be\x20multiple\x20of\x2016','_localCacheService','rev','retryConnectingInterval','SOCKET_FAILED','slice','HEARTBEAT_TIMEOUT_KEY','PdfCollaborationEntity','add','onTransformRemoteChangesetByStateCache','expected\x20integer\x20>=\x200,\x20got\x20','/block/','AWAITING','_cfgEnableObjInherit','startsWith','resolveWithBasePath','HELLO','apply_failed','UNIVER_BASE','_transformSelections','ObjectPermissionService','onTransformState','_onJoinRoomEvent','revert','href','uniscriptRunEvent','type','replace','REPLACE','error','subscribe','unbind','applyError','onCommentUpdate','_singleActiveUnitService','deserializeToCombResponse','timeoutTimer','shouldCloseConn','CombCmd','amd','onRemoteRej','splice','/universer-api/comb','subUnitId','MemberService','HTTPRequest','CollaborationAttachmentIoService','CompressMutationService','_updateUnitPermissionPoint','MSG_FOR_ERROR','_resolveSessionIdentity','hasLocalChanges','takeUntil','encode','listRoles','JOIN','_changesetSessionId','location','connectionAttempt','Injector','endpointKey','NEW_CHANGESETS','_collaborationPaused','action','[AwaitingState]','uploadFileServerUrl','WorkbookEditablePermission','getDeserializedSheetBlock','telemetry\x20info\x20is\x20not\x20initialized','resourceIDs','elapsedMs','onResend','keys','isTransformChangesetsSuccess','_getDownloadEndpointURL','ErrorCode','[OfflineState]','JSONX','IAuthzIoService','Tools','createIdentifier','take','/allowed','socket\x20close','exports','cfgEnableObjInherit','findIndex','BASE64','loadUnitOfRevision','_docStateChangeManagerService','conflict$','onTransformSelections','_lockTransition','CollaborationImageIoService','confirm','warn','executeCommand','_source','/universer-api/stream/file/upload','b64DecodeUnicode','IMentionIOService','send','UniverProLicense','_transit','_fetchMissChangesets','pluginName','submit','_sendingTimer','BoardCollaborationEntity','1700020hwdnfV','_createInitialStateImpl','COMPRESS_MUTATION_SEND','setShowComponents','getSheetBlock','default','FAIL','_snapshotService','_ackTimeout','_incrementRevisionNumber','has','964195Jkbslc','_pendingMutations','_clearRetryConnectingTimer','session.room-permission-denied','stringify','getSnapshot','authzUrl','44255izKzGY','duration','_getSendChangesetTimeout','_unlockTransition','COMPRESS_MUTATION_APPLY','_dispatchRemoteChangeset','_toPending','saveImage','_conflictInfoFromError','c1Prime','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','IImageIoService','[FetchMissState]','_loadUnit','values','_scheduleCompleteTimestamp','CHANGESET_ACK','_getAPIPrefix','ignored\x20acknowledgement\x20of\x20revision\x20','_registerDependencies','_applyRemoteChangeset','firstValueFrom','ackTimeout','expected\x20number,\x20got\x20','_change$','patch','retryCount','resolve','_initMergeInterceptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_executeRemoteChangeset','_getUploadFileURL','hostname','ciphertext\x20must\x20be\x20multiple\x20of\x2016','CollaborationSession','UNIVER_SHEET','_joinRoom','onConflict','_createSession','AAD','localChanges','changeset','Response','reduce','onMissingChangesets','ITelemetryService','_submitChangeset','_collaborationUIEventService','clearUnit','hasWritePending','roles','_clearTimer','collaboration-client.local-cache-service','_getConfig','_maxAckTimeout','UniverCollaborationClientPlugin','/universer-api/authz','_throwTelemetryCollaborationNewChangeset','[CollaborationSessionService]:\x20socket\x20error','applied','USERS_LEAVE','stopTime','Failed\x20to\x20update\x20permission\x20point','sessionStatus$','\x20to\x20','_updateLocalCache','UniverInstanceType','LOCAL_CACHE_INTERVAL','UniverNetwork','_onRemoteRejected','asObservable','removeMember','missing','_onConnectionOpen','_networkConditionService','traverse','endpoint','indexOf','LocaleService','ack_timeout','_listenToNetworkCondition','refreshPermission','objectActions','loadBoard','UserManagerService','_commandService','upload','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','connection\x20error','[UniverCollaborationClientPlugin]','rollback','unknown','getTypeOfUnitAdded$','/universer-api/user/session-ticket','HEARTBEAT','fill','closed','should_retry','Disposable','unit-cache-','tables','8muTBKx','_sessionChannels','_configService','UniverLicensePlugin','PERMISSION_REJ','_upload','[CollaborationState]:\x20apply\x20error!','_entityInit$','change$','waitForRoom$','UpdateDocsAttributeType','hasOwnProperty','_instanceService','baseRev','fromCollab','onChangesetResend','map','armAckTimeout','IPermissionService','Error\x20on\x20receiving\x20event','JOIN_ROOM_FULL','_substituteUndoStack','JOIN_ROOM_PERMISSION_DENIED','_userManagerService','fetchMiss',',\x20attempt\x20','rxjs','_clearUndo','_commentService','objectID','text-x','_onUserJoin','liveShareNewHost','_changesetResend$','enableSingleActiveInstanceLock','onTransformRemoteChangesetByIMECache','attempt','_disposeSubmitter','UniverDocs','_memberService','ws://127.0.0.1:8000/universer-api/comb/connect','getDrawingImageAllowSize','_awaitingChangeset','_unitLoaded$','_onFetchMissResult','request_failed','unitDisposed$','open$','_rejectionInfo','mapDocumentTypeToUniverInstanceType','_state$','createSocket','setCfgEnableObjInherit','DocStateChangeManagerService','from','isTransformMutationsWithChangesetSuccess','cmd','entries','\x20-\x20','_rebaseUnchangedAttributes','_pendingReason','FETCH_MISSING','emitEvent','AddSlidePageMutation','getUploadOptions','\x20of\x20length\x20','Module','range','awaitingChangeset','editingUnit','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ERROR_IMAGE_TYPE','origin','joinRsp','_config','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','putCollaborators','SessionStatus','_acknowledgeAwaiting','commentUpdateEvent','@univerjs/drawing','copyFileMeta','CollaborationUIEventId','unsubscribe','_firstSentAt','loadBase','UnitAction','saveSheetBlock','COLLABORATION_SESSION_TARGET_UNIT_ID_REQUIRED','_remoteRevertInfo','clearOfflineData','SheetTransformSelectionsService','_clearHeartbeatTimer','string','getUnitId','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_init','SheetsSelectionsService','startIndex','LICENSE_DOMAIN_REJECTED','/universer-api/file/{fileID}/sign-url','byteLength','_replaceFileID','ICollaborationSocketService','_remoteChangesetQueue','oldBody','_dropAcknowledgedAwaiting','symbol','localeService','localUnitId','DEFAULT_WS_SESSION_TICKET_URL','_entities','NOT_COLLAB','deleteProperty','_onRequestFailed','generateRandomId','_socketMessageSubscription','transform_failed','status','online','disposeWithMe','_notifyResend','ICommandService','ERROR_IMAGE','encrypt','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UPDATE_PERMISSION_OBJ','_HTTPService','ITransformService','initWorkbookPermissionChange','\x20at\x20revision\x20','_transformRemoteChangesetByIMECache','CONFLICT_CACHE_CLEAR_FAILED','parse','min','transformStack\x20failed!','updateMember','file','info','withCredentials','transformMutationsWithChangeset','session.room-not-exists','?url=','defineProperty','object','awaiting_with_pending','_toggleOnline','RichTextEditingMutation','getCollabEntity$','LICENSE_EDITING_CONNECTIONS_EXCEEDED','BehaviorSubject','onLocalMutation','collaborators','resent\x20changeset\x20','resend','RETRY_CONNECTING_MAX_COUNT_KEY'];_0x25e9=function(){return _0x5bfb3e;};return _0x25e9();}
1
+ function _0x33dd(){const _0x392ae2=['[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','_revisionService','_sendToken','getUnitType','loadBoard','[CollaborationState]:\x20the\x20unit\x20was\x20reverted\x20to\x20revision\x20','localCacheService','_clearRetryConnectingTimer','string\x20expected','JOIN_ROOM_FULL','onApply','_now','CmdRspCode','deleteProperty','_schedule','synced','add','prototype','_notifyResend','WorkbookEditablePermission','reason','unitDisposed$','/collaborator','uniscriptRunEvent','m2Prime','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','elapsedMs','_initCloseConn','should_retry','subType','_toPending','getOwnPropertyDescriptor','_replayCachedMutations','cmd','EmptyMutationInfo','UNIVER_DOC','fetchMissingChangesets','exports','_listenToNetworkCondition','baseRev','expected\x20integer\x20>=\x200,\x20got\x20','serializeCombRequest','updateOfflineData','writeCursor','UniverProLicense','incrementRevOfUnit','_sessions','parseChangesetToProtocol','loadUnitOfRevision','resend','range','CHANGESET_ACK','IUndoRedoService','_fetchMissChangesets','_createSession','IMentionIOService','_getRedoStack','reconnect','isView','hasLocalChanges','2460829XcZRiI','collaboration-client.auth.needGotoLoginAlert','Univer','SnapshotService','UniverTelemetry','&assign=','handshakeTimer','ciphertext\x20must\x20be\x20multiple\x20of\x2016','\x20to\x20','_config','_clearTimer','dispose$','subscribe','refreshPermission','\x22ciphertext\x22\x20expected\x20length\x20>=\x20tagLength=','timeout','isTransformMutationsWithChangesetFailure','COLLABORATION_SESSION_TARGET_UNIT_ID_REQUIRED','@univerjs/core','RETRY_CONNECTING_MAX_COUNT_KEY','number','_undoRedoService','_httpService','getImageSourceCache','_dispatchRemoteChangeset','appendMutation','_acknowledgeAwaitingIfReady','_handlerCallback','onRemoteAck','MentionIoHttpService','allowed','_createChangesetSubmitter','varSizeNonce','_options','refreshUnit','_decreaseWaiting','init','onRemoteRej','@univerjs/drawing','diffValue','_roomCreated$','_commentUpdate$','onMissingChangesets','disablePadding','transformChangesets','_executeRemoteChangeset','_onRequestFailed','withAAD','splice','getUnit','BoardCollaborationEntity','_onRemoteRejected','/universer-api/user/session-ticket','setCfgEnableObjInherit','GLOBAL_ROOMS_CNT_EXCEEDS','set','_substituteUndoStack','/new_changes','POST','UniverLicensePlugin','c2Prime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','trim','Slide','_rejectionInfo','getAllPermissionPoint','list','expected\x20Uint8Array','_ackTimeout','sessionStatus$','_configService','retryConnectingTimer','UniverCore','getMember','_classifyAck','CHANGESET_REJ','_applyRemoteChangeset','open$','unit-cache-','RevertRevisionMutation','UNIVER_SLIDE','requestRetry','_countResend','/universer-api/comb','maxChangesetAckTimeout','indexOf','_conflict$','clear','SheetPermissionInitController','event$','INGEST','FileId','&to=','UniverNetworkPlugin','COMPRESS_MUTATION_SEND','delay','_getAPIPrefix','telemetry\x20info\x20is\x20not\x20initialized','_substituteRedoStack','operators','UniverDocs','UUID','PERSON','onlyLocal','from','onload','Subscription','interceptor','_roomMembers','upload','registerHTTPInterceptor','[CollaborationAttachmentIoService]:\x20attachment\x20type\x20is\x20not\x20accepted.','_snapshotService','length=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x20-\x20','_clearHeartbeatTimer','_doCreateSocket','DisposableCollection','\x22bytesLength\x22\x20expected\x20<=\x2065536,\x20got\x20','ack_timeout','ISocketService','timeoutTimer','LocaleService','onTransformRemoteChangesetByIMECache','HTTPEventType','[CollaborationSessionService]','IDLE','HELLO','HTTPRequest','forEach','rxjs','RemoteChangesetApplyError','replace','LocalUndoRedoService','[CollaborationSession]','_lockTransition','unitId\x20is\x20not\x20found','missing','?url=','size','mergeOverrideWithDependencies','session.join-failed','getUnitId','CombCmd','getConfig','hasOwnProperty','onSyncEditingCollabCursor','getWorkbookSelections','object','conflict','onStarting','_unsyncedMutationCount','ITransformService','_source','expected\x20number,\x20got\x20','[UniverCollaborationClientPlugin]','version','_disableEditing','ImageSourceType','initWorkbookPermissionChange','liveShareOperation','UnitAction','FileSource','socket\x20close','SUBMIT_CHANGESET','roomInfos','_deliver','UnitEmbedded','COLLABORATION_ENDPOINT_INVALID','_onLocalMutation','toggleOnline','min','_clearUndo','unitLoaded$','stopTime','ONLINE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformHistoryMutations','values','_state','code','_invertDocumentHistory','reverse','1076300lJVbdj','failed\x20to\x20apply\x20missed\x20changesets!','\x20of\x20length\x20','floor','_commandService','blockRanges','CollaborationEntity','pipe','_disposed','_entities','OPTIONAL','reduce','UniverInstanceType','MemberService','saveSnapshot','IImageIoService','_getConfig','REPLACE','_acknowledgedAwaitingRevision','DataLoaderService','textEncoder','SheetTransformSelectionsService','message','_tryReconnect','unitId','[CollaborationAttachmentIoService]:\x20unitId\x20is\x20not\x20found.','_unlockTransition','BYTES_PER_ELEMENT','[SyncedState]:\x20received\x20acknowledgement.','Edit','aes:\x20bad\x20decrypt','Quantity','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ERROR_IMAGE','onCommentUpdate','_getAPIPrefixPath','CollaborationStatus','license_unit_type_rejected','sheets','decorate','leaveEvent','_docStateChangeManagerService','_getDownloadEndpointURL','output','getTypeOfUnitAdded$','reject','transformUndoRedo','_transit','backupOfflineData','_pendingReason','unsubscribe','IAuthzIoService','IPermissionService','disposeWithMe','transform_failed','liveShareNewHost','_changesetReqId','JOIN','objects','@univerjs/telemetry','snapshot','JOIN_ROOM_FAILED','HTTPService','unknown','avatar','collabWebSocketUrl','_createHandler','\x20in\x20_schedule.','CollaborationController','downloadEndpointUrl','complete','subject','_acknowledgeAwaiting','transformMutationsWithChangeset','PERMISSION_REJ','getSnapshot','_waitCount','session','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','error','isPermissionRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','univer-pro.collaboration-client-socket-service','SHOULD_CLOSE_CONN','AwaitingWithPendingState','update','ws://127.0.0.1:8000/universer-api/comb/connect','getTypeOfUnitDisposed$','RemoteRevertError','_joinRoom','[CollaborationSocketService]','UNIVER_SHEET','SlideCollaborationEntity','mutations','[DataLoaderService]','authzUrl','getSheetBlock','collaboration_new_changeset','isCompositionEnd','requireSession','_collaborationUIEventService','saveSheetBlock','_compressMutationService','RevisionService','objectID','revert','_incrementRevisionNumber','generateRandomId','_resolveSessionIdentity','UniverSheets','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','PENDING','cipher\x20output\x20not\x20supported','_isAckOfAwaitingChangeset','INetworkConditionService','Rectangle','DEFAULT_FILE_NAME','nonce','accept','objectActions','MUTATION','LIVESHARE_OPERATION','createUniverCollaborationAdapter','textRanges','memberID','retryCount','_telemetryInfo','_getUnitPermissionPoints','readAsDataURL','LIVESHARE_FETCH_OPERATIONS','_univerInstanceService','_updateState','ICollaborationSocketService','_logService','subarray','[CollaborationAttachmentIoService]:\x20attachment\x20exceeds\x20max\x20size.','_collaborationSessionService','close$','_getCtorByUniverInstanceType','_identity','DependentOn','_initUnitPermissionChange','_replaceFileID','UPDATE_PERMISSION_OBJ','?size=','univer-pro.collaboration-client.single-active-unit-service','_userManagerService','[CollaborationUndoRedoService]','_injector','status','onSendChangeset','Subject','close','joinRsp','LICENSE_DOMAIN_REJECTED','/-/object/list','getUploadOptions','updateCollaborator','/rev/','onMissing','_imageSourceCache',',\x20got\x20','_reqId','_event$','commentUpdateEvent','ObjectPermissionService','ChangesetSubmitter','submitting\x20changeset\x20','Injector','traverse','commentUpdate$','_onRecvEvent','collaboration-client.config','_classifyRemoteChangeset','_conflictInfoFromError','removeMember','every','session.room-not-exists','_tryEnsureSocket','enableAuthServer','_socketChannels','_submitter','_getCurrentRevision','collaborators','touchDependencies','RECV','_clearHandshakeTimer','disableLocalCache','_getSocketChannel','_requestMissingChangesets','DEFAULT_WS_SESSION_TICKET_URL','Response','COLLABORATION_CHANGESET_TRANSLATION_REQUIRED','length','_rebaseUnchangedAttributes','onTransformRemoteChangesetByStateCache','bytesLength','ignored\x20acknowledgement\x20of\x20revision\x20','concatMap','_snapshotServerService','changesetAckTimeout','catch','getAttachmentUrl','send','ignored\x20remote\x20changeset\x20of\x20revision\x20','_HTTPService','_onRemoteRetry','[PendingState]:\x20received\x20rejection.','COMPRESS_MUTATION_APPLY','parse','create','_clearTimeoutTimer','HEARTBEAT_INTERVAL','/universer-api/stream/file/upload','endsWith','listCollaborators','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','JSON1','firstValueFrom','99ZFrvOI','/block/','OTHER_CLIENT_EDITING','ack_of_awaiting','_syncEditingCollabCursor','/universer-api/oidc/authpage','8HHXFVA','missingChangesets','getInterceptPoints','_disposeSubmitter','19313767NuqTkK','_registerDependencies','SOCKET_FAILED','collaboration-client.local-cache-service','LICENSE_UNIT_TYPE_REJECTED','sort','headers','_changesetSessionId','actions','_onConnectionOpen','getRandomValues','_cfgEnableObjInherit','setConfig','_remoteRevertInfo','IContextService','_queuedRemoteChangesets','socketReady','filter','localeService','[AwaitingWithPendingState]','_permissionService','LIVESHARE_NEW_HOST','IUniverInstanceService','waitForRoom$','resent\x20changeset\x20','amd','OTHER_CLIENTS_EDITING','CommandType','getValue','LOCAL_CACHE_INTERVAL_KEY','connectionAttempt','state$','startTime','title','ignored\x20stale\x20ack\x20of\x20revision\x20','UniverCollaborationClientPlugin','getCollabEntities','_loadSnapshot','SYNCED','file','_shouldReportTelemetry','Inject','startIndex','nextDelayMs','getFocusedUnit','nonceLength','fill','collaMsg','FETCH_MISS','data','_send','AuthzIoHttpService','_submitChangeset','plaintext\x20must\x20be\x20multiple\x20of\x2016','collaboratorID','getCollabEntity$','IConfigService','/universer-api/authz','_socket','merge','updateSnapshot','loginUrlKey','dispose','_createInitialState','Failed\x20to\x20update\x20permission\x20point','SOCKET_FAILED_RETRY','UNIVER_PDF','resendTimeouts','_toggleOnline','_unitLoaded$','_retryBackoff','_stopTelemetryCollaborationNewChangeset','CONFLICT','BASE64','MSG_FOR_ERROR','tagLength','debug','_transformService','_resend','ignored\x20rejection.','DRAWING_IMAGE_ALLOW_IMAGE_LIST','univer-pro.collaboration-client-adapter-service','UnitObject','_transformSelections','retry-after','maxSize','CompressMutationService','LOCAL_CACHE_INTERVAL','offline','stringify','_onCombEvent','_exhaustRemoteChangesetQueue','_scheduleCompleteTimestamp','ICommandService','SheetsSelectionsService','mapDocumentTypeToUniverInstanceType','Optional','_getLoginPath','CollaborationEvent','permission_rejected','next','createCollaborator','_onUserLeave','symbol','_remoteChangesetQueue','_commentService','UNIVER_BOARD','rev','PendingState','JSONX','[FetchMissState]','[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.','executeCommand','session.room-permission-denied','isTransformChangesetsSuccess','takeUntil','subUnitId','originalMeta','_firstSentAt','_prepareTransformSelections','info','_rescheduleHeartbeat','take','toString','UNIVER_BASE','unit','_sheetTransformSelectionsService','docStateChange$','PdfCollaborationEntity','_timer','_dropAcknowledgedAwaiting','charCodeAt','ErrorCode','resourceIDs','getPath','result','UniverNetwork','onRemoteRetry','SNAPSHOT_URL_KEY',',\x20attempt\x20','save\x20fail\x20reason\x20is\x20','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/allowed','BaseCollaborationEntity','getCollabEntity','fetching\x20missing\x20changesets\x20from\x20','createSocket','_localCacheService','AWAITING_WITH_PENDING','slice','SetSelectionsOperation','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','MentionType','_awaitingChangeset','ImageUploadStatusType','[AwaitingState]','batchAllowed','[CollaborationAttachmentIoService]:\x20failed\x20to\x20upload\x20attachment.','_toSynced','LEAVE','snapshotServerUrl','has','call','JOINING','defineProperty','submit','sendHeartbeatTimer','unitType','paragraph','_changesetResend$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UpdateDocsAttributeType','NEW_CHANGESETS','type=','getSheetId','UniverProSlides','onTransformIME','_handleRemoteChangesets','getRoom','_createSocket','_networkConditionService','_socketService','clearUnit','982Wedxny','@univerjs/network','HEARTBEAT_TIMEOUT_KEY','People','unitInfo$','socketSubscription','paragraphId','attempt','_pendingSessions','roles','loadSlide','parseProtocolChangeset','_members','endpointKey','online$','_maxAckTimeout','1.3.1','remote_revert','12HHCRrA','csShouldRetryEvent','NO_OTHER_CLIENTS_EDITING','HTTPResponseError','CollaborationSocketService','/-/object/-/batch_allowed','_getUndoStack','url','readyForCollab','license_editing_connections_exceeded','COMMENT_UPDATE','_transformAndApplyRemoteChangeset','resolveUnit','_eventService','_transitionLocked','some','[CollaborationAttachmentIoService]:\x20failed\x20to\x20resolve\x20attachment\x20URL.','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','shareReplay','string','_sendingTimer','[CollaborationState]:\x20apply\x20error!','getAllMembers','RxDisposable','applied','requestParams','USERS_ENTER','shouldCloseConn','_emitMembers','patch','updateCursorEvent','195290pSsBpr','name','keys','PSEUDO_FETCH_MISSING_RESULT','FETCH_MISSING','status$','_detachSubmitter','UniverDrawing','_attempt','_prepareConflictRecovery','_sessionStatus$','/object/','resolveWithBasePath','_undoStacks','awaiting_with_pending','getMemberID','ILogService','_transformRemoteChangesetByStateCache','_onJoinRoomEvent','getActiveSheet','encrypt','capture','then','wrong\x20sbox\x20length','LIVESHARE_REQUEST_HOST','setShowComponents','RichTextEditingMutation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_transformIMECache','UNISCRIPT_RUN','fetchThroughInterceptors','columnGroups','addHandlerCallback','unbind','@univerjs/docs','changesetResend$','href','_hasSessionsForEndpoint','_onConnectionFailed','CONFLICT_PROCESSING','_sessionChannels','JOIN_ROOM_NOT_EXISTS','LIVESHARE_TERMINATE','getUnitOnRev','localUnitId','fromCollab','Document','__splitChunk__','[CollaborationEntity]','duration','signUrlServerUrl','HEARTBEAT_INTERVAL_KEY','_throwTelemetryCollaborationNewChangeset','routeKey','_isEchoedAwaitingChangeset','onMissedChangesetFetched','_nextDelay','loadSheet','UniverProCollaboration','tableSource','selections','{fileID}','&source=','loadPdf','_startCollaboration','listRoles','revision','Base','_transformUndoredo','sid','onChangesetResend','CHANGESET_SHOULD_RETRY','_startTelemetryCollaborationNewChangeset','post','armAckTimeout','_initMergeInterceptor','ERROR_IMAGE_TYPE','_collabSessionService','socket$','error$','_initDependencies','eventID','delete','_waitForHeartbeatResponse','Module','objectType','CollaborationAttachmentIoService','SUBMIT_CHANGESET_TIMEOUT','bind','_toggleOffline','[SyncedState]:\x20received\x20rejection.','CommentService','_transformRemoteChangesetByIMECache','CONFLICT_CACHE_CLEAR_FAILED','registerDependencies','push','_showConflictProcessingNotification','toPrimitive','awaitingChangeset','_handler','_authzIoService','OfflineState','hostname','_onConflict','key','BehaviorSubject','getGlobalObject','get','_init','CLOSE_ROOM','closed','toStringTag','origin','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1575XNGvFt','49183pxrQYg','map','USERS_LEAVE','entityInit$','CollaborationUIEventService','UniverCollaborationPlugin','_onUserJoin','_members$','onMutationExecutedForCollab','/universer-api/snapshot','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','byteLength','csAckEvent','closeSession','@univerjs-pro/collaboration-client','_updateUnitPermissionPoint','isFinite','crypto','onConflict','isInternalEditorID','_telemetryService','commit','onTransformSelections','type','_rebaseParagraphHistory','RETAIN','pauseCollaboration','_getSignURL','toDisposable','now','localChanges','updatePermissionObjEvent','UniverProCollaborationClient','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isNoop','getTime','put','max','HEARTBEAT_TIMEOUT','_adapter','/role','CollaborationImageIoService','candidateSocket','HEARTBEAT','text-x','members','PERMISSION_DENIED','RETRY_CONNECTING_MAX_COUNT','cfgEnableObjInherit','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','override','isTransformMutationsWithChangesetSuccess','loadOfflineData','b64DecodeUnicode','rollback','objectId','\x20failed:\x20','_onRemoteACK','encodeURIComponent','retryConnectingInterval','transformSelections','state','UserManagerService','CollaborationSession','SessionStatus','changeset','Tools','userID','assign','request_failed','params','onRemoteChangeset','createInstance','fromCharCode','RemoveSlidePageMutation','stream','Disposable','_collaborationPaused','action','INSERT','_getUploadFileURL','append','_updateStatus','_status$','_entityInit$','_state$','ConflictState','_createInitialStateImpl','_removeRoom','@univerjs-pro/slides','confirm','decrypt','SheetCollaborationEntity','ThresholdInterceptorFactory','sessionStatus','CollaborativeUndoRedoService','permissionRejEvent','compose','getDrawingImageAllowSize','_change$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','location','changesets','entries','UNIVER_COLLABORATION_CLIENT_PLUGIN','infoRsp','function','saveChangeset','changeset_rejected','onTransformState','Workbook','transformStack\x20failed!','c1Prime','_transformStack','updateMember','fetch_missing','getCurrentUser','hasWritePending','enableSingleActiveInstanceLock','onPrepareTransformSelections','oldBody','isSafeInteger','getImage','message$','_redoStacks','@univerjs/protocol','loadBase','TextXActionType','_onOffline','echo','asObservable','session.room-full','_refreshUnitPermission','_type','_pendingMutations','createIdentifier','_memberService','UPDATE_CURSOR','/unit/','MoveSlidePageMutation','_onLicenseRejected','paragraphs','_onFetchMissResult','pending','unitID','_socketMessageSubscription','AAD','body','coverType','reqId','2377104PPtlEA','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','target','[PendingState]:\x20unhandled\x20univer\x20type:\x20','endpoint','buffer','_onRemoteChangeset','Board','byteOffset','isArray','encode','isObject','objectPermissionTypes','_clearScheduledTask','stale','ISnapshotServerService','[CollaborationSessionService]:\x20socket\x20error','includes','updatePermissionPoint','ILocalCacheService','_retryReason','uploadFileServerUrl','iterator','AWAITING','_updateLocalCache','toggleOffline','AddSlidePageMutation','getDeserializedSheetBlock','IAttachmentIoService','online','_instanceService','deleteCollaborator','@univerjs-pro/license','find','startsWith','OBJECT_PERMISSION_CONFIG_KEY','OFFLINE','sendChangesetTimeout','readCursor','_unitInfo$','_closedUnits','responseType','equals','loadUnit','getSnapshotAPIPath','deepClone','_transformAndApply','emitEvent','\x20at\x20revision\x20','AAD\x20not\x20supported','awaiting'];_0x33dd=function(){return _0x392ae2;};return _0x33dd();}function _0x3cef(_0x2a2df1,_0x374737){_0x2a2df1=_0x2a2df1-0xa6;const _0x33dd90=_0x33dd();let _0x3cef60=_0x33dd90[_0x2a2df1];return _0x3cef60;}(function(_0x15dd04,_0x4ec21e){const _0x4e77ec=_0x3cef,_0x51e0d3=_0x15dd04();while(!![]){try{const _0x365860=-parseInt(_0x4e77ec(0x224))/0x1+-parseInt(_0x4e77ec(0x180))/0x2*(parseInt(_0x4e77ec(0x223))/0x3)+-parseInt(_0x4e77ec(0x192))/0x4*(parseInt(_0x4e77ec(0x3e1))/0x5)+parseInt(_0x4e77ec(0x2ba))/0x6+-parseInt(_0x4e77ec(0x329))/0x7*(parseInt(_0x4e77ec(0xc5))/0x8)+parseInt(_0x4e77ec(0xbf))/0x9*(-parseInt(_0x4e77ec(0x1b1))/0xa)+parseInt(_0x4e77ec(0xc9))/0xb;if(_0x365860===_0x4ec21e)break;else _0x51e0d3['push'](_0x51e0d3['shift']());}catch(_0x5eadcd){_0x51e0d3['push'](_0x51e0d3['shift']());}}}(_0x33dd,0x9a82d),function(_0x123dfe,_0x2a604e){const _0x5525e5=_0x3cef;typeof exports==_0x5525e5(0x3be)&&typeof module<'u'?_0x2a604e(exports,require('@univerjs/network'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs-pro/slides'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x5525e5(0x28e)&&define[_0x5525e5(0xe2)]?define([_0x5525e5(0x312),_0x5525e5(0x181),_0x5525e5(0x3ac),'@univerjs-pro/collaboration',_0x5525e5(0x33b),_0x5525e5(0x1d3),'@univerjs/sheets',_0x5525e5(0x2a1),_0x5525e5(0x41c),'rxjs/operators',_0x5525e5(0x27d),_0x5525e5(0x2da),_0x5525e5(0x34f)],_0x2a604e):(_0x123dfe=typeof globalThis<'u'?globalThis:_0x123dfe||self,_0x2a604e(_0x123dfe[_0x5525e5(0x244)]={},_0x123dfe[_0x5525e5(0x151)],_0x123dfe[_0x5525e5(0x3ac)],_0x123dfe[_0x5525e5(0x1eb)],_0x123dfe[_0x5525e5(0x371)],_0x123dfe[_0x5525e5(0x38d)],_0x123dfe[_0x5525e5(0x44e)],_0x123dfe['UniverProtocol'],_0x123dfe[_0x5525e5(0x32d)],_0x123dfe[_0x5525e5(0x3ac)][_0x5525e5(0x38c)],_0x123dfe[_0x5525e5(0x178)],_0x123dfe[_0x5525e5(0x319)],_0x123dfe[_0x5525e5(0x1b8)]));}(this,function(_0x16c048,_0x38af37,_0x5d1b30,_0x59e2cb,_0x594924,_0xbdd057,_0x2f8369,_0x4500fa,_0x276fcd,_0x47dd8f,_0x25004e,_0x350a94,_0x4d18e5){const _0x28ce9c=_0x3cef;Object[_0x28ce9c(0x16d)](_0x16c048,Symbol[_0x28ce9c(0x220)],{'value':_0x28ce9c(0x205)});let _0xe358d2=_0x28ce9c(0x48e),_0x13ba20={};function _0x2abf2d(_0x42f22c){'@babel/helpers - typeof';const _0x200cda=_0x28ce9c;return _0x2abf2d=typeof Symbol=='function'&&typeof Symbol[_0x200cda(0x2d0)]=='symbol'?function(_0x62a3ae){return typeof _0x62a3ae;}:function(_0x5963ec){const _0x3c4643=_0x200cda;return _0x5963ec&&typeof Symbol=='function'&&_0x5963ec['constructor']===Symbol&&_0x5963ec!==Symbol[_0x3c4643(0x2fe)]?_0x3c4643(0x130):typeof _0x5963ec;},_0x2abf2d(_0x42f22c);}function _0x511fa7(_0x1b5a3a,_0x160f5d){const _0x3557f2=_0x28ce9c;if(_0x2abf2d(_0x1b5a3a)!=_0x3557f2(0x3be)||!_0x1b5a3a)return _0x1b5a3a;var _0x4a8c2d=_0x1b5a3a[Symbol[_0x3557f2(0x212)]];if(_0x4a8c2d!==void 0x0){var _0x147fc2=_0x4a8c2d[_0x3557f2(0x16b)](_0x1b5a3a,_0x160f5d||'default');if(_0x2abf2d(_0x147fc2)!=_0x3557f2(0x3be))return _0x147fc2;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x160f5d===_0x3557f2(0x1a5)?String:Number)(_0x1b5a3a);}function _0x556ef3(_0x443644){const _0x470b1d=_0x28ce9c;var _0x5721cd=_0x511fa7(_0x443644,_0x470b1d(0x1a5));return _0x2abf2d(_0x5721cd)==_0x470b1d(0x130)?_0x5721cd:_0x5721cd+'';}function _0x4c0132(_0x102ba0,_0x9f2235,_0x42698d){return(_0x9f2235=_0x556ef3(_0x9f2235))in _0x102ba0?Object['defineProperty'](_0x102ba0,_0x9f2235,{'value':_0x42698d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x102ba0[_0x9f2235]=_0x42698d,_0x102ba0;}var _0x1591bd=class{constructor(_0x155117,_0x4bc87c,_0x1f88a9={}){const _0x5caef9=_0x28ce9c;this[_0x5caef9(0xfb)]=_0x4bc87c,this['_options']=_0x1f88a9,_0x4c0132(this,_0x5caef9(0x1b9),0x0),_0x4c0132(this,_0x5caef9(0x13f),void 0x0),_0x4c0132(this,_0x5caef9(0x36d),void 0x0),_0x4c0132(this,_0x5caef9(0x18f),void 0x0),_0x4c0132(this,_0x5caef9(0x10f),0x0),_0x4c0132(this,'_nextDelay',0x0),_0x4c0132(this,_0x5caef9(0x14a),null),_0x4c0132(this,'_pendingReason',null),_0x4c0132(this,_0x5caef9(0x3c3),null),_0x4c0132(this,_0x5caef9(0x2ef),0x0),_0x4c0132(this,_0x5caef9(0x3e9),!0x1),_0x4c0132(this,_0x5caef9(0x2f8),void 0x0),_0x4c0132(this,_0x5caef9(0x484),void 0x0),this[_0x5caef9(0x484)]=_0x155117,this[_0x5caef9(0x36d)]=_0x1f88a9['ackTimeout']??0x4e20,this[_0x5caef9(0x18f)]=Math[_0x5caef9(0x249)](_0x1f88a9['maxAckTimeout']??0x1d4c0,this['_ackTimeout']),this[_0x5caef9(0x2f8)]=_0x1f88a9['now']??(()=>Date[_0x5caef9(0x241)]()),this[_0x5caef9(0x13f)]=this[_0x5caef9(0x2f8)]();}get[_0x28ce9c(0x2b9)](){const _0x289f03=_0x28ce9c;return this[_0x289f03(0x484)];}get['attempt'](){const _0x210ad0=_0x28ce9c;return this[_0x210ad0(0x1b9)];}get[_0x28ce9c(0xf4)](){const _0x3996e5=_0x28ce9c;return this[_0x3996e5(0x1e9)];}get[_0x28ce9c(0x307)](){const _0x160718=_0x28ce9c;return this[_0x160718(0x2f8)]()-this[_0x160718(0x13f)];}[_0x28ce9c(0x209)](_0x3ecc7e){const _0x4b2407=_0x28ce9c;if(this[_0x4b2407(0x3e9)])return;this['_source']=_0x3ecc7e;let _0x24844b=this[_0x4b2407(0x412)];_0x24844b&&(this[_0x4b2407(0x412)]=null,this[_0x4b2407(0x117)](_0x24844b));}['unbind'](){const _0x3d8f5a=_0x28ce9c;this[_0x3d8f5a(0x3c3)]=null;}[_0x28ce9c(0x16e)](_0x8a570a,_0xcd671c,_0x1f9b4c){const _0x33414a=_0x28ce9c;this['_disposed']||(_0x1f9b4c&&this['_countResend'](_0x1f9b4c),this[_0x33414a(0x1fb)](),this['_deliver'](_0x8a570a),this[_0x33414a(0x484)]=_0x8a570a[_0x33414a(0x2b9)]??this['_reqId'],_0x1f9b4c&&this[_0x33414a(0x2ff)](_0x1f9b4c,_0xcd671c));}[_0x28ce9c(0x1fb)](){const _0x3e25be=_0x28ce9c;this[_0x3e25be(0x2fb)](this[_0x3e25be(0x36d)],'ack_timeout');}[_0x28ce9c(0x37a)](_0xc45617=_0x28ce9c(0x309)){const _0x5989e7=_0x28ce9c;this[_0x5989e7(0x2fb)](this[_0x5989e7(0x10f)],_0xc45617);}[_0x28ce9c(0x107)](){const _0x1a8d89=_0x28ce9c;this['_disposed']=!0x0,this[_0x1a8d89(0x333)](),this['_source']=null,this['_pendingReason']=null;}[_0x28ce9c(0x3d0)](_0x2ee855){const _0x35f4ae=_0x28ce9c;let _0x1e6081=++this[_0x35f4ae(0x2ef)],_0x5eba34;try{_0x5eba34=this['_send'](_0x2ee855,{'timeout':this[_0x35f4ae(0x36d)]});}catch(_0x2d39f2){this['_onRequestFailed'](_0x1e6081,_0x2d39f2);return;}_0x5eba34 instanceof Promise&&_0x5eba34[_0x35f4ae(0xad)](_0x4de9b6=>this[_0x35f4ae(0x357)](_0x1e6081,_0x4de9b6));}[_0x28ce9c(0x357)](_0x2688aa,_0x4600cd){const _0x4e8df9=_0x28ce9c;if(this[_0x4e8df9(0x3e9)]||_0x2688aa!==this['_sendToken'])return;let _0x387dc9=_0x4cf44a(_0x4600cd,this[_0x4e8df9(0x10f)]);_0x387dc9!==null&&this[_0x4e8df9(0x2fb)](_0x387dc9,_0x4e8df9(0x269));}[_0x28ce9c(0x2fb)](_0x5bf3fb,_0x36b1b2){const _0x44df36=_0x28ce9c;this['_disposed']||(this[_0x44df36(0x333)](),this['_pendingReason']=null,this[_0x44df36(0x1e9)]=_0x5bf3fb,this['_timer']=setTimeout(()=>{const _0x205e66=_0x44df36;this['_timer']=null,this[_0x205e66(0x3c3)]?this[_0x205e66(0x117)](_0x36b1b2):this[_0x205e66(0x412)]=_0x36b1b2;},_0x5bf3fb));}[_0x28ce9c(0x117)](_0x2887d6){const _0x51586a=_0x28ce9c;let _0x4f53d8=this[_0x51586a(0x3c3)];if(!_0x4f53d8||this[_0x51586a(0x3e9)])return;let {changeset:_0x404716,unsyncedMutationCount:_0x55e6eb}=_0x4f53d8();this[_0x51586a(0x37b)](_0x2887d6),this[_0x51586a(0x1fb)](),this['_deliver'](_0x404716),this[_0x51586a(0x484)]=_0x404716[_0x51586a(0x2b9)]??this[_0x51586a(0x484)],this['_notifyResend'](_0x2887d6,_0x55e6eb);}['_countResend'](_0x3d608d){const _0x3a4862=_0x28ce9c;this[_0x3a4862(0x1b9)]+=0x1,_0x3d608d===_0x3a4862(0x309)||_0x3d608d===_0x3a4862(0x269)||_0x3d608d===_0x3a4862(0x19b)?this[_0x3a4862(0x10f)]=this[_0x3a4862(0x10f)]===0x0?0x3e8:Math[_0x3a4862(0x3d5)](this[_0x3a4862(0x10f)]*0x2,0x4e20):_0x3d608d===_0x3a4862(0x3a1)&&(this['_ackTimeout']=Math[_0x3a4862(0x3d5)](this[_0x3a4862(0x36d)]*0x2,this['_maxAckTimeout']));}[_0x28ce9c(0x2ff)](_0x17e80e,_0x37bfe6){const _0x3dae2b=_0x28ce9c;var _0x3319db,_0x3e4f13;this[_0x3dae2b(0x3e9)]||(_0x3319db=(_0x3e4f13=this[_0x3dae2b(0x34a)])['onResend'])==null||_0x3319db[_0x3dae2b(0x16b)](_0x3e4f13,{'reqId':this[_0x3dae2b(0x484)],'reason':_0x17e80e,'attempt':this[_0x3dae2b(0x1b9)],'elapsedMs':this[_0x3dae2b(0x307)],'unsyncedMutationCount':_0x37bfe6,'nextDelayMs':this[_0x3dae2b(0x36d)]});}[_0x28ce9c(0x333)](){const _0xcd98c5=_0x28ce9c;this[_0xcd98c5(0x14a)]!=null&&(clearTimeout(this[_0xcd98c5(0x14a)]),this[_0xcd98c5(0x14a)]=null);}};function _0x4cf44a(_0x21c806,_0x4c725d){const _0xb1a1d6=_0x28ce9c;if(_0x21c806 instanceof _0x5d1b30['TimeoutError'])return null;if(_0x21c806 instanceof _0x38af37[_0xb1a1d6(0x195)]){let _0x3c2fb8=_0x21c806[_0xb1a1d6(0x477)]??0x0;return _0x3c2fb8===0x0||_0x3c2fb8===0x198||_0x3c2fb8===0x1ad||_0x3c2fb8>=0x1f4?Math[_0xb1a1d6(0x249)](_0x4c725d,_0x546dda(_0x21c806)):null;}return _0x4c725d;}function _0x546dda(_0x637688){const _0xba4ff7=_0x28ce9c;var _0x344fd7;let _0x2eb7f3=(_0x344fd7=_0x637688[_0xba4ff7(0xcf)])==null||(_0x344fd7=_0x344fd7[_0xba4ff7(0x21c)](_0xba4ff7(0x11d)))==null?void 0x0:_0x344fd7[0x0],_0x53b56b=_0x2eb7f3===void 0x0?NaN:Number(_0x2eb7f3);return Number[_0xba4ff7(0x234)](_0x53b56b)&&_0x53b56b>0x0?_0x53b56b*0x3e8:0x0;}function _0x12d214(_0xf0482d){const _0x25258e=_0x28ce9c;return JSON[_0x25258e(0x122)](_0xf0482d)[_0x25258e(0x4a3)];}let _0x181346=function(_0x16bd94){const _0x4403de=_0x28ce9c;return _0x16bd94[_0x4403de(0xc1)]=_0x4403de(0xc1),_0x16bd94[_0x4403de(0x252)]=_0x4403de(0x252),_0x16bd94[_0x4403de(0x1d8)]=_0x4403de(0x1d8),_0x16bd94[_0x4403de(0x20e)]=_0x4403de(0x20e),_0x16bd94['CONFLICT']=_0x4403de(0x111),_0x16bd94[_0x4403de(0x21e)]=_0x4403de(0x21e),_0x16bd94[_0x4403de(0x41e)]=_0x4403de(0x41e),_0x16bd94[_0x4403de(0x10a)]=_0x4403de(0x10a),_0x16bd94[_0x4403de(0xcb)]=_0x4403de(0xcb),_0x16bd94[_0x4403de(0x47c)]=_0x4403de(0x47c),_0x16bd94[_0x4403de(0x208)]=_0x4403de(0x208),_0x16bd94;}({});var _0x361972=class{constructor(){const _0x57f95d=_0x28ce9c;_0x4c0132(this,'_event$',new _0x5d1b30[(_0x57f95d(0x479))]()),_0x4c0132(this,_0x57f95d(0x382),this[_0x57f95d(0x485)]['asObservable']());}[_0x28ce9c(0x2e9)](_0x199701){const _0x59f557=_0x28ce9c;this[_0x59f557(0x485)][_0x59f557(0x12d)](_0x199701);}},_0x3e652d=class{constructor(){const _0x28cfef=_0x28ce9c;_0x4c0132(this,_0x28cfef(0x352),new _0x5d1b30[(_0x28cfef(0x479))]()),_0x4c0132(this,_0x28cfef(0x48c),this[_0x28cfef(0x352)][_0x28cfef(0x2a6)]());}[_0x28ce9c(0x403)](_0x429873){const _0x3c9811=_0x28ce9c;this['_commentUpdate$'][_0x3c9811(0x12d)](_0x429873);}};function _0x26312a(_0x162878,_0x5edc7b){return function(_0x3fd03d,_0x35f975){_0x5edc7b(_0x3fd03d,_0x35f975,_0x162878);};}function _0x5da6ca(_0x4e9904,_0x52f341,_0x2812d0,_0x1fc31c){const _0x548cfe=_0x28ce9c;var _0x1b96d0=arguments['length'],_0xfa29d8=_0x1b96d0<0x3?_0x52f341:_0x1fc31c===null?_0x1fc31c=Object[_0x548cfe(0x30c)](_0x52f341,_0x2812d0):_0x1fc31c,_0x33c147;if(typeof Reflect==_0x548cfe(0x3be)&&typeof Reflect[_0x548cfe(0x408)]=='function')_0xfa29d8=Reflect[_0x548cfe(0x408)](_0x4e9904,_0x52f341,_0x2812d0,_0x1fc31c);else{for(var _0x35fc23=_0x4e9904[_0x548cfe(0x4a3)]-0x1;_0x35fc23>=0x0;_0x35fc23--)(_0x33c147=_0x4e9904[_0x35fc23])&&(_0xfa29d8=(_0x1b96d0<0x3?_0x33c147(_0xfa29d8):_0x1b96d0>0x3?_0x33c147(_0x52f341,_0x2812d0,_0xfa29d8):_0x33c147(_0x52f341,_0x2812d0))||_0xfa29d8);}return _0x1b96d0>0x3&&_0xfa29d8&&Object[_0x548cfe(0x16d)](_0x52f341,_0x2812d0,_0xfa29d8),_0xfa29d8;}let _0x2a43bc=class extends _0x594924[_0x28ce9c(0x270)]{constructor(_0x152be0){const _0x278982=_0x28ce9c;super(),this['_univerInstanceService']=_0x152be0,_0x4c0132(this,_0x278982(0x395),new Map()),_0x4c0132(this,_0x278982(0x351),new _0x5d1b30[(_0x278982(0x479))]()),this[_0x278982(0x416)]((0x0,_0x5d1b30['merge'])(this[_0x278982(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x278982(0x3ed)][_0x278982(0x43c)])[_0x278982(0x3e8)]((0x0,_0x47dd8f[_0x278982(0x225)])(_0x3f3085=>_0x3f3085[_0x278982(0x3b8)]())),this[_0x278982(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x278982(0x3ed)][_0x278982(0x310)])['pipe']((0x0,_0x47dd8f[_0x278982(0x225)])(_0x51e1db=>_0x51e1db[_0x278982(0x3b8)]())),this[_0x278982(0x464)][_0x278982(0x438)](_0x594924[_0x278982(0x3ed)][_0x278982(0x133)])[_0x278982(0x3e8)]((0x0,_0x47dd8f[_0x278982(0x225)])(_0x2a2725=>_0x2a2725[_0x278982(0x3b8)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x594924[_0x278982(0x3ed)][_0x278982(0x145)])[_0x278982(0x3e8)]((0x0,_0x47dd8f['map'])(_0x29f9df=>_0x29f9df[_0x278982(0x3b8)]())))[_0x278982(0x335)](_0x30375e=>this[_0x278982(0x27c)](_0x30375e)));}[_0x28ce9c(0xe0)](_0x315899){const _0x425ec5=_0x28ce9c;return this[_0x425ec5(0x395)][_0x425ec5(0x16a)](_0x315899)?(0x0,_0x5d1b30['of'])(this['_roomMembers'][_0x425ec5(0x21c)](_0x315899)):this['_roomCreated$'][_0x425ec5(0x3e8)]((0x0,_0x47dd8f[_0x425ec5(0x225)])(_0xbe807e=>{const _0x3dd805=_0x425ec5;if(_0xbe807e===_0x315899)return this['_roomMembers'][_0x3dd805(0x21c)](_0xbe807e);}));}[_0x28ce9c(0x296)](_0x566515,_0x214650){const _0x4110f8=_0x28ce9c;let _0x3be5fd=this[_0x4110f8(0x395)][_0x4110f8(0x21c)](_0x566515);_0x3be5fd||(_0x3be5fd=new _0x40354b(),this[_0x4110f8(0x395)][_0x4110f8(0x360)](_0x566515,_0x3be5fd),this[_0x4110f8(0x351)]['next'](_0x566515)),_0x3be5fd[_0x4110f8(0x296)](_0x214650);}['removeMember'](_0xc26e3d,_0x61e9f2){const _0x53f05d=_0x28ce9c;let _0x44d2b5=this[_0x53f05d(0x395)][_0x53f05d(0x21c)](_0xc26e3d);_0x44d2b5&&_0x44d2b5[_0x53f05d(0x491)](_0x61e9f2);}[_0x28ce9c(0x17b)](_0x51c4f3){const _0x7bc85d=_0x28ce9c;return this['_roomMembers'][_0x7bc85d(0x21c)](_0x51c4f3);}[_0x28ce9c(0x372)](_0x4627d6,_0x2a68d7){const _0x119416=_0x28ce9c;let _0x8f10dd=this[_0x119416(0x395)]['get'](_0x4627d6);if(_0x8f10dd)return _0x8f10dd[_0x119416(0x372)](_0x2a68d7);}[_0x28ce9c(0x27c)](_0x32becf){const _0xf66214=_0x28ce9c;let _0x2597e8=this['_roomMembers'][_0xf66214(0x21c)](_0x32becf);_0x2597e8&&(_0x2597e8[_0xf66214(0x107)](),this[_0xf66214(0x395)][_0xf66214(0x203)](_0x32becf));}[_0x28ce9c(0x107)](){const _0x463023=_0x28ce9c;this[_0x463023(0x395)][_0x463023(0x3ab)](_0x3e3e58=>_0x3e3e58[_0x463023(0x107)]()),this[_0x463023(0x395)][_0x463023(0x380)](),this[_0x463023(0x351)]['complete']();}};_0x2a43bc=_0x5da6ca([_0x26312a(0x0,_0x594924['IUniverInstanceService'])],_0x2a43bc);var _0x40354b=class extends _0x594924[_0x28ce9c(0x270)]{constructor(..._0x2f2fbc){const _0xf117af=_0x28ce9c;super(..._0x2f2fbc),_0x4c0132(this,_0xf117af(0x18c),new Map()),_0x4c0132(this,'_members$',new _0x5d1b30[(_0xf117af(0x21a))](this['_members'])),_0x4c0132(this,'members$',this['_members$']['asObservable']());}['dispose'](){const _0x1f3ca5=_0x28ce9c;this['_members']['clear'](),this[_0x1f3ca5(0x22b)]['complete']();}[_0x28ce9c(0x296)](_0x3ccb0a){const _0x3b20d7=_0x28ce9c;this[_0x3b20d7(0x18c)][_0x3b20d7(0x360)](_0x3ccb0a[_0x3b20d7(0x45e)],_0x3ccb0a),this[_0x3b20d7(0x1ae)]();}[_0x28ce9c(0x491)](_0xcffa39){const _0x5a47c9=_0x28ce9c;this[_0x5a47c9(0x18c)][_0x5a47c9(0x203)](_0xcffa39),this[_0x5a47c9(0x1ae)]();}[_0x28ce9c(0x372)](_0x5178cd){const _0x81e177=_0x28ce9c;return this[_0x81e177(0x18c)][_0x81e177(0x21c)](_0x5178cd);}[_0x28ce9c(0x1a8)](){const _0xac8f20=_0x28ce9c;return Array['from'](this[_0xac8f20(0x18c)][_0xac8f20(0x3dc)]());}[_0x28ce9c(0x1ae)](){const _0x5867e2=_0x28ce9c;this['_members$']['next'](this[_0x5867e2(0x18c)]);}};function _0x5b2e83(_0x237d44,_0x230eb4){const _0xa7c81b=_0x28ce9c;if(_0x387d19(_0x237d44))return _0x230eb4;if(_0x230eb4[_0xa7c81b(0x202)]===_0x59e2cb[_0xa7c81b(0x12b)][_0xa7c81b(0x3ce)]){let _0x15d9a0=_0x2b454c(_0x237d44),_0x419340=_0x230eb4;return{..._0x419340,'data':{..._0x419340[_0xa7c81b(0xfa)],'unitID':_0x237d44[_0xa7c81b(0x2bc)][_0xa7c81b(0x3f9)],'unitType':_0x237d44[_0xa7c81b(0x2bc)][_0xa7c81b(0x170)]??_0x419340[_0xa7c81b(0xfa)][_0xa7c81b(0x170)],'changeset':_0x15d9a0['toRemote'](_0x419340['data'][_0xa7c81b(0x265)],_0x555520(_0x237d44))}};}if(_0x230eb4[_0xa7c81b(0x202)]===_0x59e2cb[_0xa7c81b(0x12b)][_0xa7c81b(0x1b5)]){let _0x300f2d=_0x230eb4;return{..._0x300f2d,'data':{..._0x300f2d[_0xa7c81b(0xfa)],'unitID':_0x237d44[_0xa7c81b(0x2bc)][_0xa7c81b(0x3f9)],'unitType':_0x237d44[_0xa7c81b(0x2bc)][_0xa7c81b(0x170)]??_0x300f2d[_0xa7c81b(0xfa)][_0xa7c81b(0x170)]}};}return _0x230eb4;}function _0x17d79e(_0x28e7c4,_0x3c184d){const _0x55de9a=_0x28ce9c;if(_0x387d19(_0x28e7c4))return[_0x3c184d];switch(_0x3c184d[_0x55de9a(0x202)]){case _0x59e2cb[_0x55de9a(0x12b)][_0x55de9a(0x175)]:return[_0x146e75(_0x28e7c4,_0x3c184d)];case _0x59e2cb[_0x55de9a(0x12b)][_0x55de9a(0x1b4)]:return[_0x41e254(_0x28e7c4,_0x3c184d)];case _0x59e2cb['CollaborationEvent'][_0x55de9a(0x1f8)]:return[_0x7c1ce7(_0x28e7c4,_0x3c184d)];default:return[_0x3c184d];}}function _0x387d19(_0x5d0ff4){const _0x1d093e=_0x28ce9c;return _0x5d0ff4[_0x1d093e(0x2bc)][_0x1d093e(0x2be)]==null&&_0x5d0ff4['target'][_0x1d093e(0x3f9)]===_0x5d0ff4[_0x1d093e(0x1dd)]&&!_0x5d0ff4['changeset'];}function _0x146e75(_0x255a14,_0x2d585c){const _0x676785=_0x28ce9c;return{..._0x2d585c,'data':(0x0,_0x59e2cb[_0x676785(0x31c)])(_0x36322c(_0x255a14,(0x0,_0x59e2cb[_0x676785(0x18b)])(_0x2d585c[_0x676785(0xfa)])))};}function _0x7c1ce7(_0x3efe4e,_0x22300f){const _0x1945c7=_0x28ce9c;return{..._0x22300f,'data':_0x36322c(_0x3efe4e,_0x22300f[_0x1945c7(0xfa)])};}function _0x41e254(_0x4b2721,_0x485d81){const _0x16931d=_0x28ce9c;let _0x177d5e=_0x485d81[_0x16931d(0xfa)];return{..._0x485d81,'data':{..._0x177d5e,'changesets':_0x177d5e[_0x16931d(0x28a)][_0x16931d(0x225)](_0x122bcd=>(0x0,_0x59e2cb[_0x16931d(0x31c)])(_0x36322c(_0x4b2721,(0x0,_0x59e2cb[_0x16931d(0x18b)])(_0x122bcd))))}};}function _0x36322c(_0x5c9b60,_0x54d15f){return _0x2b454c(_0x5c9b60)['toLocal'](_0x54d15f,_0x555520(_0x5c9b60));}function _0x2b454c(_0x5af31d){const _0x4a669e=_0x28ce9c;if(!_0x5af31d[_0x4a669e(0x265)])throw Error(_0x4a669e(0x4a2));return _0x5af31d[_0x4a669e(0x265)];}function _0x555520(_0xa8289f){const _0x442cdc=_0x28ce9c;return{'localUnitId':_0xa8289f[_0x442cdc(0x1dd)],'unitType':_0xa8289f[_0x442cdc(0x170)],'target':_0xa8289f[_0x442cdc(0x2bc)]};}let _0x483f95=function(_0x52e006){const _0x20a5f1=_0x28ce9c;return _0x52e006[_0x52e006[_0x20a5f1(0x3a8)]=0x0]=_0x20a5f1(0x3a8),_0x52e006[_0x52e006[_0x20a5f1(0x16c)]=0x1]=_0x20a5f1(0x16c),_0x52e006[_0x52e006[_0x20a5f1(0x2de)]=0x2]=_0x20a5f1(0x2de),_0x52e006[_0x52e006[_0x20a5f1(0x3d9)]=0x3]=_0x20a5f1(0x3d9),_0x52e006;}({}),_0x316e3e={[_0x4500fa['CmdRspCode']['FAIL']]:_0x28ce9c(0x3b7),[_0x4500fa[_0x28ce9c(0x2f9)][_0x28ce9c(0x2f6)]]:_0x28ce9c(0x2a7),[_0x4500fa[_0x28ce9c(0x2f9)][_0x28ce9c(0x1da)]]:_0x28ce9c(0x493),[_0x4500fa[_0x28ce9c(0x2f9)]['JOIN_ROOM_PERMISSION_DENIED']]:_0x28ce9c(0x13a),[_0x4500fa[_0x28ce9c(0x2f9)][_0x28ce9c(0x35f)]]:'session.room-cnt-exceeds'},_0x5e5039=class extends _0x594924[_0x28ce9c(0x1a9)]{get[_0x28ce9c(0x282)](){const _0x2cbe46=_0x28ce9c;return this[_0x2cbe46(0x1bb)][_0x2cbe46(0xe5)]();}constructor(_0x5cb59b,_0x17619c,_0x200477,_0x35eeb5,_0x5d1206,_0x57a429,_0x254859){const _0x9b7d01=_0x28ce9c;super(),this['_identity']=_0x5cb59b,this[_0x9b7d01(0x467)]=_0x200477,this['_memberService']=_0x35eeb5,this[_0x9b7d01(0x132)]=_0x5d1206,this[_0x9b7d01(0x445)]=_0x57a429,this[_0x9b7d01(0x238)]=_0x254859,_0x4c0132(this,_0x9b7d01(0x1bb),new _0x5d1b30[(_0x9b7d01(0x21a))](0x0)),_0x4c0132(this,'sessionStatus$',this[_0x9b7d01(0x1bb)]['asObservable']()),_0x4c0132(this,'_event$',new _0x5d1b30['Subject']()),_0x4c0132(this,'event$',this[_0x9b7d01(0x485)][_0x9b7d01(0x2a6)]()),_0x4c0132(this,_0x9b7d01(0x103),void 0x0),_0x4c0132(this,_0x9b7d01(0x2b5),void 0x0),_0x4c0132(this,_0x9b7d01(0xf1),!0x1),_0x4c0132(this,_0x9b7d01(0x460),null),this[_0x9b7d01(0xf1)]=!!this['_telemetryService'],_0x17619c[_0x9b7d01(0x3e8)]((0x0,_0x5d1b30[_0x9b7d01(0x13c)])(this['dispose$']))[_0x9b7d01(0x335)](_0x2565cc=>{const _0x54f05f=_0x9b7d01;if(_0x2565cc!==void 0x0){if(this[_0x54f05f(0x103)]=_0x2565cc,_0x2565cc)this[_0x54f05f(0x43a)](_0x2565cc),this[_0x54f05f(0x2b5)]=_0x2565cc[_0x54f05f(0x29f)]['subscribe'](_0x72989d=>{const _0x16871e=_0x54f05f;_0x72989d[_0x16871e(0x1e6)]===this[_0x16871e(0x46d)][_0x16871e(0x2bc)][_0x16871e(0x3f9)]&&this[_0x16871e(0x123)](_0x72989d);});else{var _0x63be7e;this[_0x54f05f(0x1e5)](),this['_sessionStatus$'][_0x54f05f(0x12d)](0x2),(_0x63be7e=this[_0x54f05f(0x2b5)])==null||_0x63be7e[_0x54f05f(0x413)](),this[_0x54f05f(0x2b5)]=null;}}});}[_0x28ce9c(0x1c0)](){const _0x4caca2=_0x28ce9c;var _0x276a07;return((_0x276a07=this[_0x4caca2(0x103)])==null?void 0x0:_0x276a07[_0x4caca2(0x45e)])??null;}['dispose'](){const _0x5f5350=_0x28ce9c;super[_0x5f5350(0x107)](),this['close'](),this[_0x5f5350(0x334)]['next'](),this[_0x5f5350(0x334)]['complete']();}[_0x28ce9c(0x47a)](){const _0x2e4f95=_0x28ce9c;var _0x31062b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x31062b=this['_socket'])==null||_0x31062b['send']({'cmd':_0x4500fa[_0x2e4f95(0x3b9)][_0x2e4f95(0x168)],'data':{'roomID':this[_0x2e4f95(0x46d)][_0x2e4f95(0x2bc)][_0x2e4f95(0x3f9)]}}),this['_event$'][_0x2e4f95(0x427)](),this[_0x2e4f95(0x1bb)][_0x2e4f95(0x427)]();}[_0x28ce9c(0x123)](_0x3513e7){const _0x393369=_0x28ce9c;_0x3513e7[_0x393369(0x30e)]===_0x4500fa[_0x393369(0x3b9)][_0x393369(0x41a)]?this[_0x393369(0x1c3)](_0x3513e7):_0x3513e7[_0x393369(0x30e)]===_0x4500fa[_0x393369(0x3b9)][_0x393369(0x49b)]&&this[_0x393369(0x48d)](_0x3513e7);}[_0x28ce9c(0x43a)](_0x216381){const _0x2661ca=_0x28ce9c;this[_0x2661ca(0x1bb)][_0x2661ca(0x12d)](0x1),_0x216381[_0x2661ca(0xaf)]({'cmd':_0x4500fa[_0x2661ca(0x3b9)][_0x2661ca(0x41a)],'routeKey':this['_identity']['target'][_0x2661ca(0x3f9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2661ca(0x46d)][_0x2661ca(0x2bc)]['unitId']}]}});}[_0x28ce9c(0x1c3)](_0x34676f){const _0x3388cb=_0x28ce9c;var _0x35c21c;if(_0x34676f['code']in _0x316e3e){this['_collaborationUIEventService'][_0x3388cb(0x2e9)]({'id':_0x3388cb(0x41e),'data':_0x316e3e[_0x34676f['code']]}),this[_0x3388cb(0x1bb)][_0x3388cb(0x12d)](0x2);return;}this[_0x3388cb(0x1bb)][_0x3388cb(0x12d)](0x3);let _0x27c0d3=(_0x35c21c=_0x34676f[_0x3388cb(0xfa)][_0x3388cb(0x3cf)][this[_0x3388cb(0x46d)][_0x3388cb(0x2bc)]['unitId']])==null?void 0x0:_0x35c21c[_0x3388cb(0x251)];_0x27c0d3&&_0x27c0d3[_0x3388cb(0x3ab)](_0x2c1238=>this[_0x3388cb(0x2ac)]['updateMember'](this['_identity'][_0x3388cb(0x1dd)],_0x2c1238));}[_0x28ce9c(0x48d)](_0x2d700e){const _0x52c413=_0x28ce9c;try{let _0x2378ad=_0x17d79e(this['_identity'],_0x2d700e[_0x52c413(0xfa)]);for(let _0x583cd7 of _0x2378ad)switch(_0x583cd7[_0x52c413(0x202)]){case _0x59e2cb[_0x52c413(0x12b)]['USERS_ENTER']:this['_onUserJoin'](_0x583cd7),this[_0x52c413(0x485)]['next'](_0x583cd7);break;case _0x59e2cb[_0x52c413(0x12b)][_0x52c413(0x226)]:this['_onUserLeave'](_0x583cd7),this[_0x52c413(0x485)][_0x52c413(0x12d)](_0x583cd7);break;case _0x59e2cb[_0x52c413(0x12b)][_0x52c413(0x320)]:case _0x59e2cb[_0x52c413(0x12b)]['CHANGESET_SHOULD_RETRY']:this[_0x52c413(0x110)](),this['_event$'][_0x52c413(0x12d)](_0x583cd7);break;case _0x59e2cb[_0x52c413(0x12b)]['MSG_FOR_ERROR']:this['_logService'][_0x52c413(0x430)](_0x52c413(0x155)+JSON[_0x52c413(0x122)](_0x583cd7)),this[_0x52c413(0x485)][_0x52c413(0x12d)](_0x583cd7);break;case _0x59e2cb[_0x52c413(0x12b)][_0x52c413(0x19c)]:this[_0x52c413(0x132)][_0x52c413(0x403)](_0x583cd7[_0x52c413(0xfa)]),this[_0x52c413(0x485)]['next'](_0x583cd7);break;default:this[_0x52c413(0x485)][_0x52c413(0x12d)](_0x583cd7);}}catch(_0x267d74){this[_0x52c413(0x467)][_0x52c413(0x430)](_0x267d74,_0x2d700e);}}[_0x28ce9c(0x22a)](_0x3656ae){const _0x9d8e6c=_0x28ce9c;this[_0x9d8e6c(0x2ac)][_0x9d8e6c(0x296)](this[_0x9d8e6c(0x46d)]['localUnitId'],_0x3656ae[_0x9d8e6c(0xfa)]);}[_0x28ce9c(0x12f)](_0x42662b){const _0x494b76=_0x28ce9c;this[_0x494b76(0x2ac)][_0x494b76(0x491)](this[_0x494b76(0x46d)]['localUnitId'],_0x42662b[_0x494b76(0xfa)][_0x494b76(0x45e)]);}async['send'](_0x1f83c0,_0x5ec4df,_0x43e0dc){const _0x524378=_0x28ce9c;if(this[_0x524378(0x282)]!==0x3||!this['_socket'])throw Error(_0x524378(0x3da));try{let _0x5f3c08=_0x5b2e83(this[_0x524378(0x46d)],_0x1f83c0);_0x5f3c08['eventID']===_0x59e2cb[_0x524378(0x12b)]['SUBMIT_CHANGESET']&&this[_0x524378(0x1f9)](_0x5f3c08);let _0xd5a189={'cmd':_0x4500fa[_0x524378(0x3b9)][_0x524378(0x383)],'routeKey':this[_0x524378(0x46d)][_0x524378(0x2bc)]['unitId'],'routeType':'','data':_0x5f3c08};return _0x43e0dc===void 0x0?this['_socket'][_0x524378(0xaf)](_0xd5a189):this[_0x524378(0x103)]['send'](_0xd5a189,_0x43e0dc);}catch(_0x2955e9){this['_logService'][_0x524378(0x430)](_0x2955e9);}}[_0x28ce9c(0x1f9)](_0x5c05e5){const _0x2b48bb=_0x28ce9c;if(!this['_shouldReportTelemetry'])return;let {data:_0x5a2122}=_0x5c05e5,{unitID:_0x1395ae,changeset:_0x3d906f}=_0x5a2122,{mutations:_0x3200a,type:_0x1b1255}=_0x3d906f;this[_0x2b48bb(0x460)]={'unitId':_0x1395ae,'type':_0x1b1255,'startTime':performance[_0x2b48bb(0x241)](),'stopTime':0x0,'duration':0x0,'size':_0x12d214(_0x3200a)};}[_0x28ce9c(0x110)](){const _0x4c2851=_0x28ce9c;this[_0x4c2851(0xf1)]&&(this['_telemetryInfo']?(this[_0x4c2851(0x460)][_0x4c2851(0x3d8)]=performance[_0x4c2851(0x241)](),this[_0x4c2851(0x460)][_0x4c2851(0x1e2)]=this['_telemetryInfo'][_0x4c2851(0x3d8)]-this[_0x4c2851(0x460)][_0x4c2851(0xe9)],this[_0x4c2851(0x238)][_0x4c2851(0x1c6)](_0x4c2851(0x442),this[_0x4c2851(0x460)]),this['_telemetryInfo']=null):this['_logService'][_0x4c2851(0x430)](_0x4c2851(0x3b0),_0x4c2851(0x38a)));}[_0x28ce9c(0x1e5)](){this['_telemetryInfo']=null;}};_0x5e5039=_0x5da6ca([_0x26312a(0x2,_0x594924['ILogService']),_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x2a43bc)),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x3e652d)),_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x276fcd['ITelemetryService']))],_0x5e5039);let _0x2d518e=(0x0,_0x594924[_0x28ce9c(0x2ab)])(_0x28ce9c(0xcc));function _0x2499a5(_0xe65a2d,_0x243925){const _0x333e46=_0x28ce9c;return _0x243925===''||_0x243925==null?_0x333e46(0x377)+_0xe65a2d:_0x333e46(0x377)+_0xe65a2d+'-'+encodeURIComponent(_0x243925);}function _0x55f048(_0x3095f6){const _0x5d70d7=_0x28ce9c;let {unitID:_0xc27ca0,mutations:_0x3275fb}=_0x3095f6;return{'unitId':_0xc27ca0,'subUnitId':_0x3275fb[_0x5d70d7(0x4a3)]>0x0?_0x3275fb[0x0][_0x5d70d7(0x26a)][_0x5d70d7(0x13d)]:null};}let _0x18fc5c=class{constructor(_0x46d7e2,_0x3c9f73,_0x15084c){const _0x14a834=_0x28ce9c;this[_0x14a834(0x476)]=_0x46d7e2,this[_0x14a834(0x116)]=_0x3c9f73,this[_0x14a834(0x2d8)]=_0x15084c;}['transformSelections'](_0x5026c){const _0x22c6a7=_0x28ce9c;var _0x3f2c01,_0x1e3ec1;let _0x4c37d1=this[_0x22c6a7(0x476)][_0x22c6a7(0x21c)](_0x2f8369[_0x22c6a7(0x127)]),{unitId:_0x3f4743,subUnitId:_0x220891}=_0x55f048(_0x5026c),_0x448d1a=_0x4c37d1==null?void 0x0:_0x4c37d1[_0x22c6a7(0x3bd)](_0x3f4743)['getCurrentSelections'](),_0x158930=(_0x3f2c01=this[_0x22c6a7(0x2d8)][_0x22c6a7(0x35a)](_0x3f4743))==null||(_0x3f2c01=_0x3f2c01[_0x22c6a7(0x1c4)]())==null?void 0x0:_0x3f2c01[_0x22c6a7(0x177)]();if(_0x448d1a['length']===0x0||!_0x3f4743||!_0x220891)return;let _0x5b1c47=[{'id':_0x2f8369[_0x22c6a7(0x15f)]['id'],'params':{'unitId':_0x3f4743,'subUnitId':_0x158930,'selections':_0x594924[_0x22c6a7(0x266)][_0x22c6a7(0x2e7)](_0x448d1a)}}],_0x43711f=this[_0x22c6a7(0x116)][_0x22c6a7(0x42a)](_0x5026c,_0x5b1c47);if(!(0x0,_0x59e2cb[_0x22c6a7(0x257)])(_0x43711f))throw _0x43711f[_0x22c6a7(0x430)];let _0x1b03fb=(_0x1e3ec1=_0x43711f[_0x22c6a7(0x305)][0x0])==null||(_0x1e3ec1=_0x1e3ec1[_0x22c6a7(0x26a)])==null?void 0x0:_0x1e3ec1[_0x22c6a7(0x1ed)];if(Array[_0x22c6a7(0x2c3)](_0x1b03fb)&&_0x1b03fb['length']){if(_0x1b03fb[_0x22c6a7(0x4a3)]===_0x5b1c47[0x0][_0x22c6a7(0x26a)][_0x22c6a7(0x1ed)][_0x22c6a7(0x4a3)]&&_0x1b03fb['every']((_0x3c9437,_0x56276e)=>_0x594924[_0x22c6a7(0x455)][_0x22c6a7(0x2e4)](_0x3c9437[_0x22c6a7(0x31f)],_0x5b1c47[0x0]['params'][_0x22c6a7(0x1ed)][_0x56276e][_0x22c6a7(0x31f)])))return;this[_0x22c6a7(0x476)][_0x22c6a7(0x21c)](_0x594924[_0x22c6a7(0x126)])[_0x22c6a7(0x139)](_0x2f8369['SetSelectionsOperation']['id'],{'unitId':_0x3f4743,'subUnitId':_0x158930,'selections':_0x1b03fb});}}};_0x18fc5c=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x1,_0x59e2cb[_0x28ce9c(0x3c2)]),_0x26312a(0x2,_0x594924['IUniverInstanceService'])],_0x18fc5c);let _0x141436=(0x0,_0x594924[_0x28ce9c(0x2ab)])(_0x28ce9c(0x473)),_0x269d12=function(_0x5ab3bd){const _0x4d56c8=_0x28ce9c;return _0x5ab3bd[_0x5ab3bd[_0x4d56c8(0x194)]=0x0]=_0x4d56c8(0x194),_0x5ab3bd[_0x5ab3bd['OTHER_CLIENTS_EDITING']=0x1]=_0x4d56c8(0xe3),_0x5ab3bd;}({});function _0x2e1348(_0x39fea2){const _0x5b0dae=_0x28ce9c;var _0x56094d;return!!((_0x56094d=_0x39fea2[_0x5b0dae(0x26a)])!=null&&_0x56094d[_0x5b0dae(0x1e0)]);}let _0x23d2e2=new Set([_0x2f8369['InsertSheetMutation']['id']]),_0xb4df6=new Set([_0x25004e[_0x28ce9c(0x2d4)]['id'],_0x25004e['EnsureSlideMasterPageMutation']['id'],_0x25004e[_0x28ce9c(0x2af)]['id'],_0x25004e[_0x28ce9c(0x26e)]['id']]);function _0x346ae0(_0x4e7fac,_0x1fc1a4=_0x23d2e2){const _0x17865b=_0x28ce9c;let _0x175af2=[];for(let _0x1a451a of _0x4e7fac){if(_0x1fc1a4[_0x17865b(0x16a)](_0x1a451a['id'])||_0x2e1348(_0x1a451a)){if(_0x175af2[_0x17865b(0x4a3)]>0x0)break;_0x175af2['push'](_0x1a451a);break;}_0x175af2[_0x17865b(0x210)](_0x1a451a);}return _0x175af2;}function _0x2907bf(_0x2ddcf2,_0x5ad065,_0x31a9a1,_0x50df7a,_0x2869d5){const _0x473adc=_0x28ce9c;let _0x2fba56=_0x346ae0(_0x2ddcf2),_0x21e2c7=_0x2869d5[_0x473adc(0x298)](),_0x1f6190=(_0x21e2c7==null?void 0x0:_0x21e2c7[_0x473adc(0x267)])??_0x473adc(0x420),_0x48b91c=(_0x21e2c7==null?void 0x0:_0x21e2c7[_0x473adc(0x45e)])??'unknown';return{'changeset':{'unitID':_0x5ad065,'type':(0x0,_0x59e2cb[_0x473adc(0x128)])(_0x31a9a1[_0x473adc(0x2f0)](_0x5ad065)),'baseRev':_0x50df7a['getCurrentRevOfUnit'](_0x5ad065),'revision':0x0,'userID':_0x1f6190,'memberID':_0x48b91c,'mutations':_0x2fba56},'pendingMutations':_0x2ddcf2['slice'](_0x2fba56[_0x473adc(0x4a3)])};}let _0x1f5471=_0x2907bf;function _0x306945(_0x529225,_0x2752a4,_0x2bc812,_0x426c22,_0x359afd){const _0x5e7f08=_0x28ce9c;let _0x44c16f=_0x346ae0(_0x529225,_0xb4df6),_0x1bc19d=_0x359afd[_0x5e7f08(0x298)](),_0xf59f26=(_0x1bc19d==null?void 0x0:_0x1bc19d[_0x5e7f08(0x267)])??'unknown',_0x18f6ea=(_0x1bc19d==null?void 0x0:_0x1bc19d[_0x5e7f08(0x45e)])??_0x5e7f08(0x420);return{'changeset':{'unitID':_0x2752a4,'type':(0x0,_0x59e2cb['mapDocumentTypeToUniverInstanceType'])(_0x2bc812[_0x5e7f08(0x2f0)](_0x2752a4)),'baseRev':_0x426c22['getCurrentRevOfUnit'](_0x2752a4),'revision':0x0,'userID':_0xf59f26,'memberID':_0x18f6ea,'mutations':_0x44c16f},'pendingMutations':_0x529225[_0x5e7f08(0x15e)](_0x44c16f[_0x5e7f08(0x4a3)])};}function _0x2ee504(_0x5a7ef0,_0x2264cc,_0x95a4fe,_0x2afa68,_0x2e721b){const _0x45b47d=_0x28ce9c;let _0x30dbc2=_0x5a7ef0[_0x45b47d(0x3ec)]((_0x2aaa5e,_0x1b9ef6)=>{const _0xb30809=_0x45b47d;let _0x2a03ba=_0x2aaa5e[_0x2aaa5e[_0xb30809(0x4a3)]-0x1],{id:_0x2b8237}=_0x2a03ba??{},{id:_0x2f1e22,type:_0x26f529}=_0x1b9ef6,_0x5e0657=_0x1b9ef6[_0xb30809(0x26a)];if(_0x2b8237&&_0x2b8237!==_0x2f1e22)throw Error(_0xb30809(0x255)+_0x2b8237+_0xb30809(0x39c)+_0x2f1e22+'.');if(!_0x2a03ba)return[{'id':_0x2f1e22,'type':_0x26f529,'params':{'unitId':_0x5e0657['unitId'],'textRanges':_0x5e0657[_0xb30809(0x45d)],'actions':_0x5e0657[_0xb30809(0xd1)]}}];let _0x5e0784=_0x2a03ba[_0xb30809(0x26a)];return _0x333ef5(_0x5e0784,_0x5e0657)?[..._0x2aaa5e[_0xb30809(0x15e)](0x0,-0x1),{..._0x2a03ba,'id':_0x2f1e22,'type':_0x26f529,'params':{'unitId':_0x5e0657[_0xb30809(0x3f9)],'textRanges':_0x5e0657[_0xb30809(0x45d)],'actions':_0x594924['JSONX'][_0xb30809(0x285)](_0x5e0784[_0xb30809(0xd1)],_0x5e0657[_0xb30809(0xd1)])}}]:[..._0x2aaa5e,{'id':_0x2f1e22,'type':_0x26f529,'params':{'unitId':_0x5e0657[_0xb30809(0x3f9)],'textRanges':_0x5e0657[_0xb30809(0x45d)],'actions':_0x5e0657['actions']}}];},[]),_0x4bf063=_0x2e721b[_0x45b47d(0x298)](),_0x14c770=(_0x4bf063==null?void 0x0:_0x4bf063[_0x45b47d(0x267)])??_0x45b47d(0x420),_0x3a3d2f=(_0x4bf063==null?void 0x0:_0x4bf063[_0x45b47d(0x45e)])??'unknown';return{'changeset':{'unitID':_0x2264cc,'type':(0x0,_0x59e2cb[_0x45b47d(0x128)])(_0x95a4fe[_0x45b47d(0x2f0)](_0x2264cc)),'baseRev':_0x2afa68['getCurrentRevOfUnit'](_0x2264cc),'revision':0x0,'userID':_0x14c770,'memberID':_0x3a3d2f,'mutations':_0x30dbc2},'pendingMutations':_0x5a7ef0[_0x45b47d(0x15e)](_0x5a7ef0[_0x45b47d(0x4a3)])};}function _0x333ef5(_0xc644da,_0x41cb32){const _0x48d9e2=_0x28ce9c;return!_0x575d58(_0xc644da)&&!_0x575d58(_0x41cb32)&&_0x23bcd4(_0xc644da[_0x48d9e2(0xd1)],_0x41cb32[_0x48d9e2(0xd1)]);}function _0x575d58(_0x434350){const _0x5cadd2=_0x28ce9c;return _0x434350[_0x5cadd2(0x443)]!==void 0x0;}function _0x23bcd4(_0x40e860,_0x5202f8){return _0x32081a(_0x40e860)&&_0x32081a(_0x5202f8)&&!_0x210d4e(_0x40e860)&&!_0x210d4e(_0x5202f8)&&!_0x403653(_0x40e860)&&!_0x403653(_0x5202f8);}function _0x32081a(_0x27d919){const _0x1fbab9=_0x28ce9c;return _0x41b5aa(_0x27d919)[_0x1fbab9(0x1a1)](_0x1da7ce=>_0x2f8465(_0x1da7ce)&&_0x1da7ce['et']===_0x1fbab9(0x250));}function _0x403653(_0xe1011){const _0xe00d9=_0x28ce9c;return _0x41b5aa(_0xe1011)[_0xe00d9(0x1a1)](_0x2d53e4=>Array[_0xe00d9(0x2c3)](_0x2d53e4)||typeof _0x2d53e4==_0xe00d9(0x1a5)||typeof _0x2d53e4==_0xe00d9(0x33d));}function _0x210d4e(_0x1e7aa3){const _0x1a5984=_0x28ce9c;return _0x41b5aa(_0x1e7aa3)[_0x1a5984(0x1a1)](_0x17b07d=>!_0x2f8465(_0x17b07d)||_0x17b07d['et']!==_0x1a5984(0x250)||!Array['isArray'](_0x17b07d['e'])?!0x1:_0x17b07d['e']['some'](_0x199cbc=>!_0x2f8465(_0x199cbc)||!_0x2f8465(_0x199cbc[_0x1a5984(0x2b7)])?!0x1:Object[_0x1a5984(0x2fe)]['hasOwnProperty']['call'](_0x199cbc[_0x1a5984(0x2b7)],'tables')||Object[_0x1a5984(0x2fe)][_0x1a5984(0x3bb)][_0x1a5984(0x16b)](_0x199cbc[_0x1a5984(0x2b7)],_0x1a5984(0x1d0))||Object[_0x1a5984(0x2fe)][_0x1a5984(0x3bb)][_0x1a5984(0x16b)](_0x199cbc[_0x1a5984(0x2b7)],_0x1a5984(0x3e6))));}function _0x41b5aa(_0x5a1445){const _0x22b852=_0x28ce9c;if(!Array['isArray'](_0x5a1445))return[];let _0x2d7e47=_0x5a1445[_0x22b852(0x2cb)](_0x22b852(0x2b7))?_0x5a1445:_0x5a1445[_0x22b852(0x2db)](_0x3bbba2=>Array[_0x22b852(0x2c3)](_0x3bbba2)&&_0x3bbba2[_0x22b852(0x2cb)](_0x22b852(0x2b7)));if(!Array['isArray'](_0x2d7e47))return[];let _0x1a3aa6=_0x2d7e47[_0x22b852(0x37e)]('body');return _0x1a3aa6===-0x1?[]:_0x2d7e47[_0x22b852(0x15e)](_0x1a3aa6+0x1);}function _0x2f8465(_0x923197){const _0x5a513f=_0x28ce9c;return typeof _0x923197==_0x5a513f(0x3be)&&!!_0x923197&&!Array[_0x5a513f(0x2c3)](_0x923197);}function _0x27c171(_0x569582,_0x5e7e2f){const _0x2d35a8=_0x28ce9c;for(let _0x196eba of _0x569582[_0x2d35a8(0x43e)]){if(_0x196eba['id']!==_0x59e2cb[_0x2d35a8(0x378)]['id'])continue;let _0x1ff286=_0x196eba['params'];if((_0x1ff286==null?void 0x0:_0x1ff286[_0x2d35a8(0x3f9)])===_0x5e7e2f&&typeof _0x1ff286[_0x2d35a8(0x1f3)]==_0x2d35a8(0x33d))return{'unitId':_0x1ff286['unitId'],'revision':_0x1ff286[_0x2d35a8(0x1f3)]};}return null;}var _0x298b02,_0x2bd4c8,_0x134962,_0xbbbaf8=class extends Error{constructor(_0x1df697){const _0x3f848a=_0x28ce9c;super(_0x1df697 instanceof Error?_0x1df697[_0x3f848a(0x3f7)]:typeof _0x1df697==_0x3f848a(0x1a5)?_0x1df697:_0x3f848a(0x1a7)),this['applyError']=_0x1df697,this[_0x3f848a(0x1b2)]=_0x3f848a(0x3ad);}},_0x5828ce=class extends Error{constructor(_0xe0cd){const _0x5a791e=_0x28ce9c;var _0x598146;super(_0x5a791e(0x2f2)+((_0x598146=_0xe0cd[_0x5a791e(0x44a)])==null?void 0x0:_0x598146[_0x5a791e(0x1f3)])+'.'),this[_0x5a791e(0x141)]=_0xe0cd,this[_0x5a791e(0x1b2)]=_0x5a791e(0x439);}};let _0xe6a82b=function(_0x50355c){const _0x308d92=_0x28ce9c;return _0x50355c['NOT_COLLAB']='not_collab',_0x50355c[_0x308d92(0xef)]=_0x308d92(0x2fc),_0x50355c[_0x308d92(0x451)]=_0x308d92(0x2b3),_0x50355c[_0x308d92(0x2d1)]=_0x308d92(0x2ec),_0x50355c[_0x308d92(0x15d)]=_0x308d92(0x1bf),_0x50355c[_0x308d92(0xf9)]=_0x308d92(0x297),_0x50355c[_0x308d92(0x111)]=_0x308d92(0x3bf),_0x50355c[_0x308d92(0x2de)]='offline',_0x50355c;}({});var _0x4f8c8c=class{constructor(_0x25d176,_0x71f1e5,_0x594b95,_0xf1a7a8,_0x504919,_0x24ad70,_0x7f89bd,_0x3c4d09,_0x4fcd56){const _0x2eda62=_0x28ce9c;this[_0x2eda62(0x2b4)]=_0x25d176,this[_0x2eda62(0x23b)]=_0x71f1e5,this['_handler']=_0x504919,this['_commandService']=_0x24ad70,this[_0x2eda62(0x33e)]=_0x7f89bd,this[_0x2eda62(0x2ee)]=_0x3c4d09,this[_0x2eda62(0x15c)]=_0x4fcd56,_0x4c0132(this,'_awaitingChangeset',null),_0x4c0132(this,_0x2eda62(0x2aa),[]),this[_0x2eda62(0x162)]=_0x594b95,this[_0x2eda62(0x2aa)]=_0xf1a7a8;}[_0x28ce9c(0x328)](){const _0x45f8ea=_0x28ce9c;return!!this[_0x45f8ea(0x162)]||this['_pendingMutations'][_0x45f8ea(0x4a3)]>0x0;}[_0x28ce9c(0x107)](){}[_0x28ce9c(0x3c1)](){const _0x2d7740=_0x28ce9c;var _0x55174d;return(((_0x55174d=this[_0x2d7740(0x162)])==null?void 0x0:_0x55174d['mutations'][_0x2d7740(0x4a3)])??0x0)+this[_0x2d7740(0x2aa)][_0x2d7740(0x4a3)];}[_0x28ce9c(0x348)](_0x460113){const _0x1266a9=_0x28ce9c;return new _0x1591bd(_0x460113[_0x1266a9(0x2b9)]??0x0,(_0x1fe595,_0x268c6e)=>this[_0x1266a9(0x214)][_0x1266a9(0x478)](_0x1fe595,_0x268c6e),{...this['_handler'][_0x1266a9(0x10c)],'onResend':_0x2d08c9=>{const _0x16cb57=_0x1266a9;var _0x333e19,_0x26e1ea;return(_0x333e19=(_0x26e1ea=this[_0x16cb57(0x214)])[_0x16cb57(0x1f7)])==null?void 0x0:_0x333e19[_0x16cb57(0x16b)](_0x26e1ea,_0x2d08c9);}});}[_0x28ce9c(0x48f)](_0x2e53dc){const _0x5d0dd4=_0x28ce9c;if(this['_isEchoedAwaitingChangeset'](_0x2e53dc))return _0x5d0dd4(0x2a5);if(_0x27c171(_0x2e53dc,this[_0x5d0dd4(0x2b4)]))return _0x5d0dd4(0x191);let _0x5e07c7=this[_0x5d0dd4(0x498)]();return _0x2e53dc['revision']<=_0x5e07c7?_0x5d0dd4(0x1aa):_0x2e53dc[_0x5d0dd4(0x1f3)]>_0x5e07c7+0x1?'missing':'apply';}[_0x28ce9c(0x373)](_0x4ca5a4){const _0x1141b4=_0x28ce9c;let _0x5b0858=this[_0x1141b4(0x498)]();return _0x4ca5a4[_0x1141b4(0x1f3)]<=_0x5b0858?this['_isAckOfAwaitingChangeset'](_0x4ca5a4)?_0x1141b4(0xc2):'stale':_0x4ca5a4[_0x1141b4(0x1f3)]>_0x5b0858+0x1?_0x1141b4(0x3b3):_0x1141b4(0x12d);}[_0x28ce9c(0x341)](_0x5bc006,_0x25638b){const _0x54dce3=_0x28ce9c;switch(this[_0x54dce3(0x48f)](_0x5bc006)){case'echo':return this['onRemoteAck'](_0x5bc006);case _0x54dce3(0x191):return _0x25638b['onRemoteRevert'](_0x5bc006);case _0x54dce3(0x1aa):return this;case _0x54dce3(0x3b3):return this[_0x54dce3(0x49f)](_0x5bc006['revision']),_0x25638b[_0x54dce3(0x481)](_0x5bc006);case'apply':return _0x25638b[_0x54dce3(0x2f7)](_0x5bc006);}}[_0x28ce9c(0xd6)](_0x8023f5){const _0x4ad9c1=_0x28ce9c;return{'reason':'remote_revert','revert':{'revision':_0x27c171(_0x8023f5,this[_0x4ad9c1(0x2b4)])[_0x4ad9c1(0x1f3)],'memberId':_0x8023f5[_0x4ad9c1(0x45e)],'userId':_0x8023f5[_0x4ad9c1(0x267)]}};}[_0x28ce9c(0x490)](_0x2996c5){const _0x505f6e=_0x28ce9c;return{'reason':_0x2996c5 instanceof _0xbbbaf8?'apply_failed':_0x505f6e(0x417),'message':_0x2996c5 instanceof Error?_0x2996c5[_0x505f6e(0x3f7)]:typeof _0x2996c5==_0x505f6e(0x1a5)?_0x2996c5:void 0x0};}[_0x28ce9c(0x369)](_0x1cef6e){const _0x5c7371=_0x28ce9c;return{'reason':_0x1cef6e!=null&&_0x1cef6e[_0x5c7371(0x431)]?_0x5c7371(0x12c):(_0x1cef6e==null?void 0x0:_0x1cef6e['code'])===_0x4500fa[_0x5c7371(0x14d)][_0x5c7371(0xcd)]?_0x5c7371(0x406):_0x5c7371(0x290),'message':_0x1cef6e==null?void 0x0:_0x1cef6e['reason']};}['_retryReason'](_0x4b4f7c){const _0x14ec25=_0x28ce9c;return _0x4b4f7c===_0x4500fa['ErrorCode']['LICENSE_EDITING_CONNECTIONS_EXCEEDED']?_0x14ec25(0x19b):_0x14ec25(0x309);}[_0x28ce9c(0x49f)](_0x4060bc){const _0x4aa17c=_0x28ce9c;this['_handler'][_0x4aa17c(0x353)]({'from':this[_0x4aa17c(0x498)](),'to':_0x4060bc-0x1});}['_transformUndoredo'](_0x5f2062){const _0x539341=_0x28ce9c;this[_0x539341(0x33e)][_0x539341(0x40f)](this[_0x539341(0x2b4)],_0x5f2062);}[_0x28ce9c(0x11c)](_0x3d83a4){const _0x200c77=_0x28ce9c;var _0x5ae8e3,_0x5e8fa9;(_0x5ae8e3=(_0x5e8fa9=this[_0x200c77(0x214)])[_0x200c77(0x23a)])==null||_0x5ae8e3[_0x200c77(0x16b)](_0x5e8fa9,_0x3d83a4);}['_prepareTransformSelections'](_0x1c1c1e){const _0x181f41=_0x28ce9c;var _0x4444eb,_0xb9ea0b;return((_0x4444eb=(_0xb9ea0b=this['_handler'])[_0x181f41(0x29b)])==null?void 0x0:_0x4444eb[_0x181f41(0x16b)](_0xb9ea0b,_0x1c1c1e))??null;}[_0x28ce9c(0x1cd)](_0x3e8c87){const _0x13945a=_0x28ce9c;var _0x102b17,_0x1c44b6;return(_0x102b17=(_0x1c44b6=this['_handler'])[_0x13945a(0x179)])==null?void 0x0:_0x102b17[_0x13945a(0x16b)](_0x1c44b6,_0x3e8c87);}['_transformStateCache'](_0x13a69a){const _0x5a3ba3=_0x28ce9c;var _0x926ea5,_0x409445;return(_0x926ea5=(_0x409445=this[_0x5a3ba3(0x214)])[_0x5a3ba3(0x291)])==null?void 0x0:_0x926ea5[_0x5a3ba3(0x16b)](_0x409445,_0x13a69a);}[_0x28ce9c(0x20d)](_0xa2a595){const _0x14f33b=_0x28ce9c;var _0x53ccbd,_0xaf4673;return((_0x53ccbd=(_0xaf4673=this[_0x14f33b(0x214)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x53ccbd[_0x14f33b(0x16b)](_0xaf4673,_0xa2a595))??_0xa2a595;}[_0x28ce9c(0x1c2)](_0x4ced7f){const _0x18b190=_0x28ce9c;var _0xa698aa,_0x3e48a8;return((_0xa698aa=(_0x3e48a8=this[_0x18b190(0x214)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xa698aa['call'](_0x3e48a8,_0x4ced7f))??_0x4ced7f;}['_syncEditingCollabCursor'](_0x4d6c97){const _0x568b8b=_0x28ce9c;if(this[_0x568b8b(0x23b)]===_0x594924['UniverInstanceType']['UNIVER_DOC']){let {unitID:_0x39e99a,mutations:_0xa7f1d4,memberID:_0x36cfdf}=_0x4d6c97,_0x115059=_0xa7f1d4['length']>0x0?_0xa7f1d4[0x0][_0x568b8b(0x26a)]['textRanges']:[];if(Array['isArray'](_0x115059)&&_0x115059[_0x568b8b(0x4a3)]>0x0){var _0x1e6553,_0x11d91b;(_0x1e6553=(_0x11d91b=this[_0x568b8b(0x214)])[_0x568b8b(0x3bc)])==null||_0x1e6553[_0x568b8b(0x16b)](_0x11d91b,{'unitID':_0x39e99a,'memberID':_0x36cfdf,'textRanges':_0x115059});}}}['_updateLocalCache'](){const _0x22bd2c=_0x28ce9c;var _0x56f373;(_0x56f373=this[_0x22bd2c(0x15c)])==null||_0x56f373[_0x22bd2c(0x317)](this[_0x22bd2c(0x2b4)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x28ce9c(0x498)](){const _0xa740ea=_0x28ce9c;return this['_revisionService']['getCurrentRevOfUnit'](this[_0xa740ea(0x2b4)]);}[_0x28ce9c(0x1e7)](_0x2bb350){const _0x381e09=_0x28ce9c;let _0x5923a0=this[_0x381e09(0x162)];return!_0x5923a0||!_0x5923a0[_0x381e09(0x1f6)]||_0x5923a0[_0x381e09(0x2b9)]===null||_0x5923a0[_0x381e09(0x2b9)]===void 0x0?!0x1:_0x2bb350[_0x381e09(0x2b4)]===_0x5923a0['unitID']&&_0x2bb350[_0x381e09(0x1f6)]===_0x5923a0['sid']&&_0x2bb350[_0x381e09(0x2b9)]===_0x5923a0[_0x381e09(0x2b9)];}[_0x28ce9c(0x453)](_0x534885){const _0x4d4af1=_0x28ce9c;let _0x5414fb=this[_0x4d4af1(0x162)];return!(_0x5414fb!=null&&_0x5414fb[_0x4d4af1(0x1f6)])||_0x5414fb[_0x4d4af1(0x2b9)]==null||!_0x534885[_0x4d4af1(0x1f6)]||_0x534885[_0x4d4af1(0x2b9)]==null?!0x1:_0x534885[_0x4d4af1(0x1f6)]===_0x5414fb[_0x4d4af1(0x1f6)]&&_0x534885['reqId']===_0x5414fb['reqId'];}[_0x28ce9c(0x44b)](){const _0x29146a=_0x28ce9c;this[_0x29146a(0x2ee)][_0x29146a(0x31a)](this['unitID']);}['_executeRemoteChangeset'](_0x3a4139){const _0x5abadc=_0x28ce9c;let _0x3cee69=this[_0x5abadc(0x20d)](_0x3a4139);_0x3cee69=this[_0x5abadc(0x1c2)](_0x3cee69);let _0x5c02b0=this[_0x5abadc(0x140)](_0x3cee69),_0xab3fe1=(0x0,_0x594924['sequenceExecute'])(_0x3cee69['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0xab3fe1[_0x5abadc(0x150)])throw _0x5c02b0==null||_0x5c02b0[_0x5abadc(0x25a)](),new _0xbbbaf8(_0xab3fe1[_0x5abadc(0x430)]);_0x5c02b0==null||_0x5c02b0[_0x5abadc(0x239)](),this[_0x5abadc(0x1cd)](_0x3cee69),this['_transformStateCache'](_0x3cee69),this[_0x5abadc(0x1f5)](_0x3a4139),this[_0x5abadc(0x11c)](_0x3cee69),this[_0x5abadc(0xc3)](_0x3cee69),this[_0x5abadc(0x44b)]();}};let _0x200cdc=class extends _0x4f8c8c{constructor(_0x175e96,_0x18b613,_0x67fb8a,_0x40e47d,_0x5d571a,_0x25e4ff,_0x5a0f17,_0x11b939,_0x551867,_0x100011){const _0x106164=_0x28ce9c;super(_0x175e96,_0x18b613,null,[],_0x67fb8a,_0x5a0f17,_0x25e4ff,_0x40e47d,_0x100011),this[_0x106164(0x476)]=_0x5d571a,this['_logService']=_0x11b939,this[_0x106164(0x116)]=_0x551867,this[_0x106164(0x2f3)]=_0x100011,_0x4c0132(this,_0x106164(0x477),'synced');}[_0x28ce9c(0x342)](_0x19f867){const _0x100f3b=_0x28ce9c;let _0x1f5bf0=this[_0x100f3b(0x476)]['createInstance'](_0xd87b49,this[_0x100f3b(0x2b4)],this[_0x100f3b(0x23b)],[_0x19f867],this['_handler']);return _0x1f5bf0[_0x100f3b(0x2fb)](),_0x1f5bf0[_0x100f3b(0x2d2)](),_0x1f5bf0;}[_0x28ce9c(0x26b)](_0x33688f){const _0x134fd9=_0x28ce9c;return this[_0x134fd9(0x341)](_0x33688f,{'onMissing':()=>this['_injector'][_0x134fd9(0x26c)](_0x1b7c12,this[_0x134fd9(0x2b4)],this['type'],null,[],null,[_0x33688f],this[_0x134fd9(0x214)],void 0x0),'onApply':()=>this[_0x134fd9(0x2e8)](_0x33688f),'onRemoteRevert':()=>this[_0x134fd9(0x218)](this['_remoteRevertInfo'](_0x33688f))});}[_0x28ce9c(0x2e8)](_0x6f97db){const _0x57e7c7=_0x28ce9c;try{let _0x5edcde=this['_transformService'][_0x57e7c7(0x42a)](_0x6f97db,[_0x59e2cb[_0x57e7c7(0x30f)]]);if((0x0,_0x59e2cb[_0x57e7c7(0x257)])(_0x5edcde)){let {c1Prime:_0x13bf1d}=_0x5edcde;return this[_0x57e7c7(0x356)](_0x13bf1d),this;}throw _0x5edcde[_0x57e7c7(0x430)];}catch(_0x33d5cc){return this[_0x57e7c7(0x467)][_0x57e7c7(0x430)](_0x33d5cc),this[_0x57e7c7(0x218)](this['_conflictInfoFromError'](_0x33d5cc));}}[_0x28ce9c(0x218)](_0x1983b5){const _0x452eee=_0x28ce9c;return this[_0x452eee(0x476)][_0x452eee(0x26c)](_0x40e010,this['unitID'],this[_0x452eee(0x23b)],null,[],this[_0x452eee(0x214)],_0x1983b5);}['onRemoteAck'](_0x45e408){const _0x3c41fd=_0x28ce9c;if(this[_0x3c41fd(0x373)](_0x45e408)==='stale')return this;throw Error(_0x3c41fd(0x3fd));}[_0x28ce9c(0x34e)](){const _0x1b9c3c=_0x28ce9c;throw Error(_0x1b9c3c(0x20b));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x292a09=_0x28ce9c;return this['_injector'][_0x292a09(0x26c)](_0x1f738c,this['unitID'],this[_0x292a09(0x23b)],null,[],this[_0x292a09(0x214)]);}[_0x28ce9c(0x3d4)](){return this;}[_0x28ce9c(0x31e)](){throw Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x61705a=_0x28ce9c;let _0x294896=this[_0x61705a(0x2ee)]['getCurrentRevOfUnit'](this[_0x61705a(0x2b4)]);return this[_0x61705a(0x214)][_0x61705a(0x353)]({'from':_0x294896,'to':0x0}),this[_0x61705a(0x476)][_0x61705a(0x26c)](_0x1b7c12,this[_0x61705a(0x2b4)],this['type'],null,[],null,[],this[_0x61705a(0x214)],void 0x0);}};_0x200cdc=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x4,(0x0,_0x594924['Inject'])(_0x594924['Injector'])),_0x26312a(0x5,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0x6,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0x7,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x8,_0x59e2cb[_0x28ce9c(0x3c2)]),_0x26312a(0x9,(0x0,_0x594924['Optional'])(_0x2d518e))],_0x200cdc);let _0xd87b49=_0x298b02=class extends _0x4f8c8c{constructor(_0x3ff970,_0x386b58,_0x407967,_0x253477,_0x53f156,_0xadbae6,_0x11cddb,_0x49f28c,_0xd74d41,_0xa756d0,_0x4c8d07,_0x3deace,_0x2dd779,_0x36b9e8){const _0x3c8d38=_0x28ce9c;super(_0x3ff970,_0x386b58,null,_0x407967,_0x253477,_0xd74d41,_0x2dd779,_0xadbae6,_0x36b9e8),this['_injector']=_0x53f156,this[_0x3c8d38(0x474)]=_0x11cddb,this['_logService']=_0x49f28c,this['_configService']=_0xa756d0,this[_0x3c8d38(0x116)]=_0x4c8d07,this[_0x3c8d38(0x464)]=_0x3deace,_0x4c0132(this,_0x3c8d38(0x477),_0x3c8d38(0x2b3)),_0x4c0132(this,_0x3c8d38(0x125),null),_0x4c0132(this,_0x3c8d38(0x1a6),null);}[_0x28ce9c(0x342)](_0x11da69){const _0x443ddc=_0x28ce9c;return this[_0x443ddc(0x2aa)][_0x443ddc(0x210)](_0x11da69),this['_updateLocalCache'](),this;}[_0x28ce9c(0x26b)](_0x117b4a){const _0x2373dd=_0x28ce9c;return this['_dispatchRemoteChangeset'](_0x117b4a,{'onMissing':()=>(this[_0x2373dd(0x2c7)](),this[_0x2373dd(0x476)]['createInstance'](_0x1b7c12,this['unitID'],this[_0x2373dd(0x23b)],null,this[_0x2373dd(0x2aa)],null,[_0x117b4a],this[_0x2373dd(0x214)],void 0x0)),'onApply':()=>this[_0x2373dd(0x2e8)](_0x117b4a),'onRemoteRevert':()=>this[_0x2373dd(0x218)](this['_remoteRevertInfo'](_0x117b4a))});}[_0x28ce9c(0x2e8)](_0x7885a0){const _0x2c38ee=_0x28ce9c;try{let _0x2b4852=this[_0x2c38ee(0x116)][_0x2c38ee(0x42a)](_0x7885a0,this['_pendingMutations']);if((0x0,_0x59e2cb[_0x2c38ee(0x257)])(_0x2b4852)){let {c1Prime:_0x1e98d4,m2Prime:_0x2163de}=_0x2b4852;this['_executeRemoteChangeset'](_0x1e98d4);let _0x3af766=this[_0x2c38ee(0x476)][_0x2c38ee(0x26c)](_0x298b02,this[_0x2c38ee(0x2b4)],this['type'],_0x2163de,this[_0x2c38ee(0x214)]);_0x3af766[_0x2c38ee(0x2d2)](),this['_clearScheduledTask']();let _0x7bfdf6=new Date()[_0x2c38ee(0x247)](),_0x2098ba=this[_0x2c38ee(0x125)]?Math[_0x2c38ee(0x249)](this[_0x2c38ee(0x125)]-_0x7bfdf6,0x0):this['_getSendChangesetTimeout']();return _0x3af766[_0x2c38ee(0x2fb)](_0x2098ba),_0x3af766;}throw _0x2b4852['error'];}catch(_0x266ab5){return this['_logService'][_0x2c38ee(0x430)](_0x266ab5),this[_0x2c38ee(0x218)](this[_0x2c38ee(0x490)](_0x266ab5));}}[_0x28ce9c(0x345)](_0x480f2a){const _0x33bdb3=_0x28ce9c;if(this[_0x33bdb3(0x373)](_0x480f2a)===_0x33bdb3(0x2c8))return this;throw Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x28ce9c(0x34e)](){const _0x54cba5=_0x28ce9c;throw Error(_0x54cba5(0xb3));}[_0x28ce9c(0x152)](){return this;}[_0x28ce9c(0x2d3)](){const _0x178a95=_0x28ce9c;return this[_0x178a95(0x2c7)](),this[_0x178a95(0x476)]['createInstance'](_0x1f738c,this[_0x178a95(0x2b4)],this[_0x178a95(0x23b)],null,this[_0x178a95(0x2aa)],this[_0x178a95(0x214)]);}[_0x28ce9c(0x3d4)](){return this;}[_0x28ce9c(0x2fb)](_0x1ca0a1){const _0x54d451=_0x28ce9c;let _0x49aa1c=_0x1ca0a1??this['_getSendChangesetTimeout']();this[_0x54d451(0x125)]=new Date()['getTime']()+_0x49aa1c,this[_0x54d451(0x1a6)]=setTimeout(()=>{const _0x5ce60c=_0x54d451;this[_0x5ce60c(0x2c7)]();let _0x54e28c=null;switch(this['type']){case _0x594924['UniverInstanceType'][_0x5ce60c(0x43c)]:_0x54e28c=_0x2907bf(this[_0x5ce60c(0x2aa)],this['unitID'],this[_0x5ce60c(0x464)],this['_revisionService'],this[_0x5ce60c(0x474)]);break;case _0x594924[_0x5ce60c(0x3ed)][_0x5ce60c(0x310)]:_0x54e28c=this[_0x5ce60c(0x2aa)][_0x5ce60c(0x492)](_0x19a94e=>_0x19a94e['id']===_0xbdd057[_0x5ce60c(0x1cb)]['id'])?_0x2ee504(this['_pendingMutations'],this[_0x5ce60c(0x2b4)],this[_0x5ce60c(0x464)],this[_0x5ce60c(0x2ee)],this['_userManagerService']):_0x2907bf(this[_0x5ce60c(0x2aa)],this[_0x5ce60c(0x2b4)],this[_0x5ce60c(0x464)],this[_0x5ce60c(0x2ee)],this['_userManagerService']);break;case _0x594924[_0x5ce60c(0x3ed)]['UNIVER_SLIDE']:_0x54e28c=_0x306945(this[_0x5ce60c(0x2aa)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x5ce60c(0x474)]);break;case _0x594924['UniverInstanceType']['UNIVER_PDF']:_0x54e28c=_0x1f5471(this[_0x5ce60c(0x2aa)],this[_0x5ce60c(0x2b4)],this[_0x5ce60c(0x464)],this[_0x5ce60c(0x2ee)],this[_0x5ce60c(0x474)]);break;case _0x594924[_0x5ce60c(0x3ed)]['UNIVER_BOARD']:_0x54e28c=_0x2907bf(this[_0x5ce60c(0x2aa)],this[_0x5ce60c(0x2b4)],this['_univerInstanceService'],this[_0x5ce60c(0x2ee)],this[_0x5ce60c(0x474)]);break;case _0x594924[_0x5ce60c(0x3ed)][_0x5ce60c(0x145)]:_0x54e28c=_0x2907bf(this[_0x5ce60c(0x2aa)],this['unitID'],this['_univerInstanceService'],this[_0x5ce60c(0x2ee)],this[_0x5ce60c(0x474)]);break;default:throw Error(_0x5ce60c(0x2bd)+this['type']+_0x5ce60c(0x424));}let {changeset:_0x47e070,pendingMutations:_0x2d4e05}=_0x54e28c,_0x1927f1=this[_0x5ce60c(0x348)](_0x47e070);_0x1927f1[_0x5ce60c(0x16e)](_0x47e070,_0x47e070[_0x5ce60c(0x43e)]['length']+_0x2d4e05[_0x5ce60c(0x4a3)]);let _0x5796f4=_0x2d4e05[_0x5ce60c(0x4a3)]?this[_0x5ce60c(0x476)][_0x5ce60c(0x26c)](_0x594950,this[_0x5ce60c(0x2b4)],this[_0x5ce60c(0x23b)],_0x47e070,_0x2d4e05,this[_0x5ce60c(0x214)],_0x1927f1):this['_injector'][_0x5ce60c(0x26c)](_0x3d552f,this['unitID'],this[_0x5ce60c(0x23b)],_0x47e070,this['_handler'],_0x1927f1);_0x5796f4['_updateLocalCache'](),this[_0x5ce60c(0x214)]['onStateChange'](this,_0x5796f4);},_0x49aa1c);}['_getSendChangesetTimeout'](){const _0x55e233=_0x28ce9c;let _0x42cb75=this[_0x55e233(0x36f)][_0x55e233(0x3ba)](_0xe358d2);return(_0x42cb75==null?void 0x0:_0x42cb75[_0x55e233(0x2df)])??0x7d0;}['resend'](){const _0x11ef4d=_0x28ce9c;throw Error(_0x11ef4d(0x173));}[_0x28ce9c(0x2c7)](){const _0x40d370=_0x28ce9c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x40d370(0x1a6)]=null);}[_0x28ce9c(0x107)](){const _0x3172e9=_0x28ce9c;this[_0x3172e9(0x2c7)]();}[_0x28ce9c(0x218)](_0x1ebd97){const _0x120725=_0x28ce9c;return this[_0x120725(0x2c7)](),this[_0x120725(0x476)][_0x120725(0x26c)](_0x40e010,this[_0x120725(0x2b4)],this[_0x120725(0x23b)],null,this[_0x120725(0x2aa)],this[_0x120725(0x214)],_0x1ebd97);}};_0xd87b49=_0x298b02=_0x5da6ca([_0x26312a(0x4,(0x0,_0x594924['Inject'])(_0x594924['Injector'])),_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x262)])),_0x26312a(0x7,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x8,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0x9,_0x594924['IConfigService']),_0x26312a(0xa,_0x59e2cb['ITransformService']),_0x26312a(0xb,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0xc,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0xd87b49);let _0x3d552f=_0x2bd4c8=class extends _0x4f8c8c{constructor(_0x25a000,_0x19e983,_0x5de84a,_0x18afd7,_0x53aa18,_0x17e099,_0x4cce0b,_0x9d975e,_0x451247,_0x13beef,_0x57eec3,_0xf99277){const _0x3dee1f=_0x28ce9c;super(_0x25a000,_0x19e983,_0x5de84a,[],_0x18afd7,_0x9d975e,_0x57eec3,_0x4cce0b,_0xf99277),this[_0x3dee1f(0x476)]=_0x17e099,this[_0x3dee1f(0x467)]=_0x451247,this[_0x3dee1f(0x116)]=_0x13beef,_0x4c0132(this,'status',_0x3dee1f(0x2ec)),_0x4c0132(this,'_submitter',void 0x0),this[_0x3dee1f(0x497)]=_0x53aa18??this['_createChangesetSubmitter'](_0x5de84a),this[_0x3dee1f(0x497)][_0x3dee1f(0x209)](()=>({'changeset':this[_0x3dee1f(0x162)],'unsyncedMutationCount':this[_0x3dee1f(0x3c1)]()})),_0x53aa18||this['_submitter'][_0x3dee1f(0x1fb)]();}[_0x28ce9c(0x342)](_0x2272ea){const _0x300dcf=_0x28ce9c;this['_detachSubmitter']();let _0x271f93=this['_injector'][_0x300dcf(0x26c)](_0x594950,this[_0x300dcf(0x2b4)],this[_0x300dcf(0x23b)],this[_0x300dcf(0x162)],[_0x2272ea],this[_0x300dcf(0x214)],this['_submitter']);return _0x271f93[_0x300dcf(0x2d2)](),_0x271f93;}[_0x28ce9c(0x26b)](_0x389e1e){const _0xb78eb8=_0x28ce9c;return this[_0xb78eb8(0x341)](_0x389e1e,{'onMissing':()=>(this['_detachSubmitter'](),this[_0xb78eb8(0x476)][_0xb78eb8(0x26c)](_0x1b7c12,this[_0xb78eb8(0x2b4)],this[_0xb78eb8(0x23b)],this[_0xb78eb8(0x162)],[],null,[_0x389e1e],this[_0xb78eb8(0x214)],this[_0xb78eb8(0x497)])),'onApply':()=>this[_0xb78eb8(0x2e8)](_0x389e1e),'onRemoteRevert':()=>this[_0xb78eb8(0x218)](this[_0xb78eb8(0xd6)](_0x389e1e))});}[_0x28ce9c(0x2e8)](_0x256bfc){const _0x3746ea=_0x28ce9c;try{let _0x324f5a=this[_0x3746ea(0x116)][_0x3746ea(0x355)]([_0x256bfc],[this[_0x3746ea(0x162)]],!0x1);if((0x0,_0x59e2cb[_0x3746ea(0x13b)])(_0x324f5a)){let {c1Prime:_0x5be88a,c2Prime:_0x21424a}=_0x324f5a;this[_0x3746ea(0x356)](_0x5be88a[0x0]),_0x21424a[0x0][_0x3746ea(0x314)]=this['_getCurrentRevision'](),this[_0x3746ea(0x1b7)]();let _0x28be34=this[_0x3746ea(0x476)]['createInstance'](_0x2bd4c8,this[_0x3746ea(0x2b4)],this['type'],_0x21424a[0x0],this[_0x3746ea(0x214)],this[_0x3746ea(0x497)]);return _0x28be34[_0x3746ea(0x2d2)](),_0x28be34;}throw _0x324f5a[_0x3746ea(0x430)];}catch(_0x19f6ed){return this[_0x3746ea(0x467)]['error'](_0x19f6ed),this[_0x3746ea(0x218)](this[_0x3746ea(0x490)](_0x19f6ed));}}[_0x28ce9c(0x345)](_0x283d02){const _0x46d1d7=_0x28ce9c;switch(this['_classifyAck'](_0x283d02)){case _0x46d1d7(0x2c8):return this[_0x46d1d7(0x467)][_0x46d1d7(0x115)](_0x46d1d7(0x164),'ignored\x20stale\x20ack\x20of\x20revision\x20'+_0x283d02[_0x46d1d7(0x1f3)]+_0x46d1d7(0x2ea)+this[_0x46d1d7(0x498)]()+'.'),this;case _0x46d1d7(0xc2):return this[_0x46d1d7(0x497)][_0x46d1d7(0x107)](),this['_toSynced']();case _0x46d1d7(0x3b3):return this['_submitter'][_0x46d1d7(0x107)](),this[_0x46d1d7(0x49f)](_0x283d02[_0x46d1d7(0x1f3)]),this['_injector'][_0x46d1d7(0x26c)](_0x1b7c12,this[_0x46d1d7(0x2b4)],this['type'],this['_awaitingChangeset'],[],_0x283d02[_0x46d1d7(0x1f3)],[],this[_0x46d1d7(0x214)],void 0x0);case'next':return this[_0x46d1d7(0x497)][_0x46d1d7(0x107)](),this[_0x46d1d7(0x44b)](),this[_0x46d1d7(0x167)]();}}[_0x28ce9c(0x167)](){const _0x181f7e=_0x28ce9c;let _0x23da45=this[_0x181f7e(0x476)][_0x181f7e(0x26c)](_0x200cdc,this['unitID'],this[_0x181f7e(0x23b)],this[_0x181f7e(0x214)]);return _0x23da45[_0x181f7e(0x2d2)](),_0x23da45;}[_0x28ce9c(0x34e)](_0xe14ef3){const _0x2202d3=_0x28ce9c;return this[_0x2202d3(0x218)](this[_0x2202d3(0x369)](_0xe14ef3));}[_0x28ce9c(0x152)](_0x4a50ec,_0x4cfe35){const _0x5b4c8b=_0x28ce9c;var _0x27f54b;return _0x4a50ec[_0x5b4c8b(0x2b9)]===((_0x27f54b=this[_0x5b4c8b(0x162)])==null?void 0x0:_0x27f54b[_0x5b4c8b(0x2b9)])&&this[_0x5b4c8b(0x497)]['requestRetry'](this['_retryReason'](_0x4cfe35)),this;}[_0x28ce9c(0x2d3)](){const _0x267ddd=_0x28ce9c;return this[_0x267ddd(0x497)][_0x267ddd(0x107)](),this[_0x267ddd(0x476)][_0x267ddd(0x26c)](_0x1f738c,this[_0x267ddd(0x2b4)],this['type'],this[_0x267ddd(0x162)],[],this[_0x267ddd(0x214)]);}[_0x28ce9c(0x3d4)](){return this;}[_0x28ce9c(0x31e)](_0x23c2b4=_0x28ce9c(0x326)){const _0x2af597=_0x28ce9c;this[_0x2af597(0x497)][_0x2af597(0x16e)](this[_0x2af597(0x162)],this['_unsyncedMutationCount'](),_0x23c2b4);}[_0x28ce9c(0x218)](_0x2486c4){const _0x2b67dd=_0x28ce9c;return this[_0x2b67dd(0x497)]['dispose'](),this[_0x2b67dd(0x476)]['createInstance'](_0x40e010,this[_0x2b67dd(0x2b4)],this[_0x2b67dd(0x23b)],this[_0x2b67dd(0x162)],[],this[_0x2b67dd(0x214)],_0x2486c4);}[_0x28ce9c(0x107)](){this['_submitter']['dispose']();}[_0x28ce9c(0x1b7)](){const _0x615b9d=_0x28ce9c;this[_0x615b9d(0x497)][_0x615b9d(0x1d2)]();}};_0x3d552f=_0x2bd4c8=_0x5da6ca([_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,_0x594924['ICommandService']),_0x26312a(0x8,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x9,_0x59e2cb[_0x28ce9c(0x3c2)]),_0x26312a(0xa,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0xb,(0x0,_0x594924['Optional'])(_0x2d518e))],_0x3d552f);let _0x594950=_0x134962=class extends _0x4f8c8c{constructor(_0x1ebfaa,_0x468172,_0x1e4064,_0x1bbbc4,_0x10414c,_0x6fcde8,_0x4ad608,_0x42e801,_0x2551fa,_0x328cfc,_0x4a94fb,_0x1654e6,_0x50aa7c){const _0x262d56=_0x28ce9c;super(_0x1ebfaa,_0x468172,_0x1e4064,_0x1bbbc4,_0x10414c,_0x2551fa,_0x1654e6,_0x42e801,_0x50aa7c),this[_0x262d56(0x476)]=_0x4ad608,this[_0x262d56(0x467)]=_0x328cfc,this[_0x262d56(0x116)]=_0x4a94fb,this[_0x262d56(0x2f3)]=_0x50aa7c,_0x4c0132(this,'status','awaiting_with_pending'),_0x4c0132(this,_0x262d56(0x497),void 0x0),this['_submitter']=_0x6fcde8??this[_0x262d56(0x348)](_0x1e4064),this[_0x262d56(0x497)][_0x262d56(0x209)](()=>({'changeset':this[_0x262d56(0x162)],'unsyncedMutationCount':this[_0x262d56(0x3c1)]()})),_0x6fcde8||this[_0x262d56(0x497)]['armAckTimeout']();}['appendMutation'](_0x4e939a){const _0x43ddf1=_0x28ce9c;return this[_0x43ddf1(0x2aa)][_0x43ddf1(0x210)](_0x4e939a),this[_0x43ddf1(0x2d2)](),this;}[_0x28ce9c(0x26b)](_0x56e0c9){const _0x38493b=_0x28ce9c;return this[_0x38493b(0x341)](_0x56e0c9,{'onMissing':()=>(this[_0x38493b(0x1b7)](),this['_injector'][_0x38493b(0x26c)](_0x1b7c12,this[_0x38493b(0x2b4)],this['type'],this[_0x38493b(0x162)],this[_0x38493b(0x2aa)],null,[_0x56e0c9],this[_0x38493b(0x214)],this[_0x38493b(0x497)])),'onApply':()=>this[_0x38493b(0x2e8)](_0x56e0c9),'onRemoteRevert':()=>this[_0x38493b(0x218)](this[_0x38493b(0xd6)](_0x56e0c9))});}[_0x28ce9c(0x2e8)](_0x1813b6){const _0x22e6cc=_0x28ce9c;try{let _0x167ec6=this[_0x22e6cc(0x116)][_0x22e6cc(0x355)]([_0x1813b6],[this[_0x22e6cc(0x162)]],!0x1);if((0x0,_0x59e2cb[_0x22e6cc(0x13b)])(_0x167ec6)){let {c1Prime:_0x3c1920,c2Prime:_0x19fc4b}=_0x167ec6,_0x308665=this[_0x22e6cc(0x116)][_0x22e6cc(0x42a)](_0x3c1920[0x0],this[_0x22e6cc(0x2aa)]);if((0x0,_0x59e2cb[_0x22e6cc(0x257)])(_0x308665)){let {c1Prime:_0x9af6a0,m2Prime:_0x350e32}=_0x308665;this[_0x22e6cc(0x356)](_0x9af6a0),_0x19fc4b[0x0][_0x22e6cc(0x314)]=this[_0x22e6cc(0x498)](),this[_0x22e6cc(0x1b7)]();let _0x3eee5f=this['_injector'][_0x22e6cc(0x26c)](_0x134962,this[_0x22e6cc(0x2b4)],this['type'],_0x19fc4b[0x0],_0x350e32,this[_0x22e6cc(0x214)],this[_0x22e6cc(0x497)]);return _0x3eee5f[_0x22e6cc(0x2d2)](),_0x3eee5f;}throw _0x308665['error'];}throw _0x167ec6[_0x22e6cc(0x430)];}catch(_0xd68693){return this[_0x22e6cc(0x467)][_0x22e6cc(0x430)](_0xd68693),this[_0x22e6cc(0x218)](this[_0x22e6cc(0x490)](_0xd68693));}}[_0x28ce9c(0x345)](_0x132325){const _0x378681=_0x28ce9c;switch(this[_0x378681(0x373)](_0x132325)){case'stale':return this[_0x378681(0x467)]['debug'](_0x378681(0xdc),_0x378681(0xeb)+_0x132325[_0x378681(0x1f3)]+_0x378681(0x2ea)+this['_getCurrentRevision']()+'.'),this;case _0x378681(0xc2):return this[_0x378681(0x497)]['dispose'](),this[_0x378681(0x30b)]();case'missing':return this[_0x378681(0x497)][_0x378681(0x107)](),this[_0x378681(0x49f)](_0x132325[_0x378681(0x1f3)]),this[_0x378681(0x476)]['createInstance'](_0x1b7c12,this['unitID'],this[_0x378681(0x23b)],this[_0x378681(0x162)],this['_pendingMutations'],_0x132325[_0x378681(0x1f3)],[],this['_handler'],void 0x0);case _0x378681(0x12d):return this['_submitter']['dispose'](),this[_0x378681(0x44b)](),this['_toPending']();}}['_toPending'](){const _0x5494da=_0x28ce9c;let _0x81b930=this[_0x5494da(0x476)]['createInstance'](_0xd87b49,this[_0x5494da(0x2b4)],this[_0x5494da(0x23b)],this[_0x5494da(0x2aa)],this[_0x5494da(0x214)]);return _0x81b930[_0x5494da(0x2fb)](),_0x81b930['_updateLocalCache'](),_0x81b930;}[_0x28ce9c(0x34e)](_0x113380){const _0x316c32=_0x28ce9c;return this[_0x316c32(0x218)](this[_0x316c32(0x369)](_0x113380));}[_0x28ce9c(0x152)](_0x15b048,_0x107862){const _0x3d391f=_0x28ce9c;var _0x1b3eae;return _0x15b048['reqId']===((_0x1b3eae=this[_0x3d391f(0x162)])==null?void 0x0:_0x1b3eae[_0x3d391f(0x2b9)])&&this[_0x3d391f(0x497)]['requestRetry'](this[_0x3d391f(0x2ce)](_0x107862)),this;}[_0x28ce9c(0x2d3)](){const _0x3de676=_0x28ce9c;return this[_0x3de676(0x497)][_0x3de676(0x107)](),this[_0x3de676(0x476)][_0x3de676(0x26c)](_0x1f738c,this[_0x3de676(0x2b4)],this[_0x3de676(0x23b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3de676(0x214)]);}[_0x28ce9c(0x3d4)](){return this;}[_0x28ce9c(0x31e)](_0x431b65=_0x28ce9c(0x326)){const _0x1ba170=_0x28ce9c;this['_submitter'][_0x1ba170(0x16e)](this[_0x1ba170(0x162)],this[_0x1ba170(0x3c1)](),_0x431b65);}['_onConflict'](_0x52806d){const _0x17aff3=_0x28ce9c;return this[_0x17aff3(0x497)][_0x17aff3(0x107)](),this[_0x17aff3(0x476)][_0x17aff3(0x26c)](_0x40e010,this[_0x17aff3(0x2b4)],this['type'],this[_0x17aff3(0x162)],this['_pendingMutations'],this[_0x17aff3(0x214)],_0x52806d);}['dispose'](){const _0x3cdd01=_0x28ce9c;this[_0x3cdd01(0x497)][_0x3cdd01(0x107)]();}[_0x28ce9c(0x1b7)](){const _0x46648f=_0x28ce9c;this[_0x46648f(0x497)][_0x46648f(0x1d2)]();}};_0x594950=_0x134962=_0x5da6ca([_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924['Injector'])),_0x26312a(0x7,(0x0,_0x594924['Inject'])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x8,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x59e2cb['ITransformService']),_0x26312a(0xb,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x594950);let _0x40e010=class extends _0x4f8c8c{constructor(_0x55ff2f,_0x39e59d,_0x49dc0e,_0x123797,_0x5277f7,_0x206cac,_0xf9452,_0x312d9c,_0x4a7bd4,_0x207c32,_0x5abc2c,_0x453406,_0x1cecb1,_0x298561){const _0x45d071=_0x28ce9c;var _0x45c7c5;super(_0x55ff2f,_0x39e59d,_0x49dc0e,_0x123797,_0x5277f7,_0x312d9c,_0x4a7bd4,_0x207c32,_0x298561),this[_0x45d071(0x141)]=_0x206cac,this[_0x45d071(0xdd)]=_0xf9452,this[_0x45d071(0x474)]=_0x5abc2c,this['_logService']=_0x453406,this['_collaborationUIEventService']=_0x1cecb1,this['localCacheService']=_0x298561,_0x4c0132(this,_0x45d071(0x477),_0x45d071(0x3bf)),_0x4c0132(this,'localChanges',void 0x0);let _0x4799d9=((_0x45c7c5=this[_0x45d071(0x474)][_0x45d071(0x298)]())==null?void 0x0:_0x45c7c5[_0x45d071(0x267)])??'';this[_0x45d071(0x242)]=_0x49dc0e||_0x123797[_0x45d071(0x4a3)]?{'unitID':_0x55ff2f,'userId':_0x4799d9||void 0x0,'type':_0x39e59d,'rev':this[_0x45d071(0x498)](),'awaitingChangeset':_0x49dc0e,'mutations':_0x123797}:null,this['_disableEditing'](),this[_0x45d071(0x211)](),this['_prepareConflictRecovery'](_0x4799d9)[_0x45d071(0xad)](_0x3c1cd6=>this[_0x45d071(0x467)][_0x45d071(0x430)](_0x3c1cd6));}async[_0x28ce9c(0x1ba)](_0x5b512a){const _0x484cab=_0x28ce9c;var _0x58c868,_0x506766,_0x1ba699,_0x246eec;await((_0x58c868=this[_0x484cab(0x15c)])==null||(_0x506766=_0x58c868[_0x484cab(0x411)])==null?void 0x0:_0x506766[_0x484cab(0x16b)](_0x58c868,this[_0x484cab(0x2b4)],this[_0x484cab(0x141)][_0x484cab(0x301)],_0x5b512a)[_0x484cab(0xad)](()=>void 0x0));let _0x4a2820=!0x0;try{var _0x294348;await((_0x294348=this['_localCacheService'])==null?void 0x0:_0x294348['clearOfflineData'](this[_0x484cab(0x2b4)],_0x5b512a));}catch{_0x4a2820=!0x1,this[_0x484cab(0x445)][_0x484cab(0x2e9)]({'id':'CONFLICT_CACHE_CLEAR_FAILED','unitID':this[_0x484cab(0x2b4)],'userId':_0x5b512a});}(_0x1ba699=(_0x246eec=this[_0x484cab(0x214)])[_0x484cab(0x236)])==null||_0x1ba699[_0x484cab(0x16b)](_0x246eec,this[_0x484cab(0x141)],this[_0x484cab(0x242)],_0x4a2820);}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x28ce9c(0x345)](){return this;}['onRemoteRej'](){return this;}[_0x28ce9c(0x152)](){return this;}[_0x28ce9c(0x2d3)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x594abd=_0x28ce9c;throw Error(_0x594abd(0x366));}['_showConflictProcessingNotification'](){const _0x135155=_0x28ce9c;this[_0x135155(0x445)][_0x135155(0x2e9)]({'id':_0x135155(0x1d8),'unitID':this[_0x135155(0x2b4)]});}[_0x28ce9c(0x3c7)](){const _0x208b04=_0x28ce9c;this[_0x208b04(0xdd)]['updatePermissionPoint'](new _0x2f8369[(_0x208b04(0x300))](this['unitID'])['id'],!0x1);}};_0x40e010=_0x5da6ca([_0x26312a(0x6,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x415)])),_0x26312a(0x7,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0x8,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0x9,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0xa,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x262)])),_0x26312a(0xb,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x40e010);let _0x1f738c=class extends _0x4f8c8c{constructor(_0x480e1c,_0x503e1a,_0x2dee56,_0x354140,_0xfa55e4,_0x4a4745,_0x57888c,_0x168922,_0xe4d6af,_0x32be4d,_0x1726e5){const _0x2adf44=_0x28ce9c;super(_0x480e1c,_0x503e1a,_0x2dee56,_0x354140,_0xfa55e4,_0x168922,_0xe4d6af,_0x57888c,_0x1726e5),this[_0x2adf44(0x476)]=_0x4a4745,this[_0x2adf44(0x467)]=_0x32be4d,_0x4c0132(this,_0x2adf44(0x477),_0x2adf44(0x121));}[_0x28ce9c(0x342)](_0x293e52){const _0x8c977f=_0x28ce9c;return this[_0x8c977f(0x2aa)][_0x8c977f(0x210)](_0x293e52),this[_0x8c977f(0x2d2)](),this;}['onRemoteChangeset'](_0x558fb7){const _0x6582cd=_0x28ce9c;return this[_0x6582cd(0x467)]['debug']('[OfflineState]',_0x6582cd(0xb0)+_0x558fb7[_0x6582cd(0x1f3)]+'.'),this;}[_0x28ce9c(0x345)](_0x3245bb){const _0x249b6f=_0x28ce9c;return this[_0x249b6f(0x467)]['debug']('[OfflineState]',_0x249b6f(0xa9)+_0x3245bb['revision']+'.'),this;}['onRemoteRej'](){const _0x2dd8bd=_0x28ce9c;return this['_logService'][_0x2dd8bd(0x115)]('[OfflineState]',_0x2dd8bd(0x118)),this;}[_0x28ce9c(0x152)](){return this;}['toggleOffline'](){return this;}[_0x28ce9c(0x3d4)](){let {_injector:_0x376b41,_pendingMutations:_0x2bb0d7,_awaitingChangeset:_0x4ec399,unitID:_0x2ee63e,_handler:_0x2b7ed5,type:_0x1f15ee}=this,_0x5640bb=_0x394aa8(_0x376b41,_0x2ee63e,_0x1f15ee,_0x4ec399,_0x2bb0d7,_0x2b7ed5);return _0x5640bb instanceof _0xd87b49?_0x5640bb['_schedule']():(_0x5640bb instanceof _0x594950||_0x5640bb instanceof _0x3d552f)&&_0x5640bb['resend'](),_0x5640bb;}[_0x28ce9c(0x31e)](){const _0x47689a=_0x28ce9c;throw Error(_0x47689a(0x44f));}};_0x1f738c=_0x5da6ca([_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,_0x594924['ICommandService']),_0x26312a(0x8,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,(0x0,_0x594924['Optional'])(_0x2d518e))],_0x1f738c);let _0x1b7c12=class extends _0x4f8c8c{constructor(_0x368e1d,_0x55452a,_0x478ab3,_0x2fda66,_0x204ff7,_0x5d2314,_0x319bdc,_0x2f1dc4,_0x477433,_0x356046,_0x45b3d7,_0x399439,_0x7ded0d,_0x4cc716,_0x43c315){const _0x307254=_0x28ce9c;super(_0x368e1d,_0x55452a,_0x478ab3,_0x2fda66,_0x319bdc,_0x399439,_0x7ded0d,_0x356046,_0x43c315),this[_0x307254(0x3f3)]=_0x204ff7,this[_0x307254(0xd8)]=_0x5d2314,this['_submitter']=_0x2f1dc4,this['_injector']=_0x477433,this[_0x307254(0x467)]=_0x45b3d7,this[_0x307254(0x116)]=_0x4cc716,this[_0x307254(0x2f3)]=_0x43c315,_0x4c0132(this,'status',_0x307254(0x297));}[_0x28ce9c(0x1e8)](_0xccff5b){const _0x5758ca=_0x28ce9c;try{if(this['_handleRemoteChangesets'](_0xccff5b)[_0x5758ca(0xc6)])throw Error(_0x5758ca(0x2ed));if(this[_0x5758ca(0x17a)]([...this[_0x5758ca(0xd8)]][_0x5758ca(0xce)]((_0x5e9226,_0x420878)=>_0x5e9226[_0x5758ca(0x1f3)]-_0x420878[_0x5758ca(0x1f3)]))[_0x5758ca(0xc6)])return this['_queuedRemoteChangesets']=[],this[_0x5758ca(0x2d2)](),this['_handler'][_0x5758ca(0x353)]({'from':this[_0x5758ca(0x498)](),'to':0x0}),this;let _0xb607a6=this[_0x5758ca(0x162)],_0x56d16b=this['_pendingMutations'],_0x3b3637;if(_0xb607a6&&_0x56d16b[_0x5758ca(0x4a3)]!==0x0)_0x3b3637=this[_0x5758ca(0x476)]['createInstance'](_0x594950,this[_0x5758ca(0x2b4)],this[_0x5758ca(0x23b)],_0xb607a6,_0x56d16b,this['_handler'],this[_0x5758ca(0x497)]);else{if(_0xb607a6&&_0x56d16b['length']===0x0)_0xb607a6[_0x5758ca(0x314)]=this[_0x5758ca(0x498)](),_0x3b3637=this['_injector'][_0x5758ca(0x26c)](_0x3d552f,this[_0x5758ca(0x2b4)],this[_0x5758ca(0x23b)],_0xb607a6,this[_0x5758ca(0x214)],this['_submitter']);else{if(_0x56d16b['length']!==0x0){let _0x1a54c4=this[_0x5758ca(0x476)][_0x5758ca(0x26c)](_0xd87b49,this[_0x5758ca(0x2b4)],this[_0x5758ca(0x23b)],_0x56d16b,this[_0x5758ca(0x214)]);_0x1a54c4[_0x5758ca(0x2fb)](),_0x3b3637=_0x1a54c4;}else _0x3b3637=this[_0x5758ca(0x476)]['createInstance'](_0x200cdc,this[_0x5758ca(0x2b4)],this[_0x5758ca(0x23b)],this['_handler']);}}return _0x3b3637[_0x5758ca(0x2d2)](),_0x3b3637;}catch(_0x3ee44e){return _0x3ee44e instanceof _0x5828ce?(this['_logService'][_0x5758ca(0x115)](_0x5758ca(0x137),_0x3ee44e[_0x5758ca(0x3f7)]),this[_0x5758ca(0x218)](_0x3ee44e[_0x5758ca(0x141)])):(this['_logService']['error'](_0x5758ca(0x137),_0x5758ca(0x3e2),_0x3ee44e),this['_onConflict'](this[_0x5758ca(0x490)](_0x3ee44e)));}}[_0x28ce9c(0x17a)](_0x5452df){const _0x4801df=_0x28ce9c;this['_acknowledgeAwaitingIfReady']();for(let _0x599c3c=0x0;_0x599c3c<_0x5452df[_0x4801df(0x4a3)];_0x599c3c++){let _0x5ab164=_0x5452df[_0x599c3c];switch(this[_0x4801df(0x48f)](_0x5ab164)){case _0x4801df(0x2a5):{let _0x577541=this[_0x4801df(0x498)]();if(_0x5ab164[_0x4801df(0x1f3)]>_0x577541+0x1)return{'missingChangesets':!0x0};_0x5ab164[_0x4801df(0x1f3)]<=_0x577541?this[_0x4801df(0x14b)]():this[_0x4801df(0x429)]();break;}case _0x4801df(0x191):throw new _0x5828ce(this['_remoteRevertInfo'](_0x5ab164));case _0x4801df(0x1aa):break;case _0x4801df(0x3b3):return{'missingChangesets':!0x0};case'apply':this[_0x4801df(0x19d)](_0x5ab164),this[_0x4801df(0x343)]();}}return{'missingChangesets':!0x1};}['_transformAndApplyRemoteChangeset'](_0x3b2ad2){const _0x164814=_0x28ce9c;let _0x3869a6=_0x3b2ad2,_0xabcab2=this['_awaitingChangeset'];if(_0xabcab2){let _0x4a6dfe=this[_0x164814(0x116)][_0x164814(0x355)]([_0x3b2ad2],[_0xabcab2],!0x1);if(!(0x0,_0x59e2cb['isTransformChangesetsSuccess'])(_0x4a6dfe))throw _0x4a6dfe[_0x164814(0x430)];_0x3869a6=_0x4a6dfe[_0x164814(0x294)][0x0],_0xabcab2=_0x4a6dfe[_0x164814(0x365)][0x0];}let _0x162911=this[_0x164814(0x2aa)];if(_0x162911['length']){let _0x1b615c=this['_transformService'][_0x164814(0x42a)](_0x3869a6,_0x162911);if(!(0x0,_0x59e2cb[_0x164814(0x257)])(_0x1b615c))throw _0x1b615c['error'];_0x3869a6=_0x1b615c['c1Prime'],_0x162911=_0x1b615c[_0x164814(0x305)];}this[_0x164814(0x356)](_0x3869a6),_0xabcab2&&(_0xabcab2[_0x164814(0x314)]=this[_0x164814(0x498)]()),this[_0x164814(0x162)]=_0xabcab2,this[_0x164814(0x2aa)]=_0x162911;}[_0x28ce9c(0x343)](){const _0x2e1940=_0x28ce9c;if(!this[_0x2e1940(0x162)]||this['_acknowledgedAwaitingRevision']==null)return;let _0xa321d6=this[_0x2e1940(0x498)]();if(this['_acknowledgedAwaitingRevision']<=_0xa321d6)throw Error('[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20'+this['_acknowledgedAwaitingRevision']+'.');this['_acknowledgedAwaitingRevision']===_0xa321d6+0x1&&this[_0x2e1940(0x429)]();}[_0x28ce9c(0x429)](){const _0x447a85=_0x28ce9c;this['_incrementRevisionNumber'](),this[_0x447a85(0x14b)]();}['_dropAcknowledgedAwaiting'](){const _0x478a0d=_0x28ce9c;this[_0x478a0d(0x162)]=null,this['_acknowledgedAwaitingRevision']=null,this[_0x478a0d(0xc8)]();}[_0x28ce9c(0xc8)](){const _0x376b90=_0x28ce9c;var _0x1dc033;(_0x1dc033=this[_0x376b90(0x497)])==null||_0x1dc033[_0x376b90(0x107)](),this[_0x376b90(0x497)]=void 0x0;}['dispose'](){const _0x5932ba=_0x28ce9c;this[_0x5932ba(0xc8)]();}[_0x28ce9c(0x31e)](){const _0x4b0c12=_0x28ce9c;throw Error(_0x4b0c12(0x401));}[_0x28ce9c(0x342)](_0x50aa56){const _0x3cca92=_0x28ce9c;return this[_0x3cca92(0x2aa)]['push'](_0x50aa56),this[_0x3cca92(0x2d2)](),this;}[_0x28ce9c(0x26b)](_0x1ffcfb){const _0x2b18d5=_0x28ce9c;return this[_0x2b18d5(0xd8)][_0x2b18d5(0x210)](_0x1ffcfb),this;}[_0x28ce9c(0x345)](_0x3a1569){const _0x424688=_0x28ce9c;let _0x590a2b=this[_0x424688(0x373)](_0x3a1569);if(this[_0x424688(0x162)]){switch(_0x590a2b){case _0x424688(0xc2):this[_0x424688(0x14b)]();break;case _0x424688(0x2c8):break;case _0x424688(0x12d):this[_0x424688(0x429)]();break;case _0x424688(0x3b3):this[_0x424688(0x3f3)]=_0x3a1569[_0x424688(0x1f3)],this[_0x424688(0xc8)]();}return this;}if(_0x590a2b==='stale')return this;throw Error(_0x424688(0x2bb));}['onRemoteRej'](_0x2af68a){const _0x3ee2cf=_0x28ce9c;return this[_0x3ee2cf(0x218)](this[_0x3ee2cf(0x369)](_0x2af68a));}['onRemoteRetry'](_0xddf4fb,_0x529564){const _0xdc484d=_0x28ce9c;var _0x5c6704;return this[_0xdc484d(0x3f3)]!=null||_0xddf4fb[_0xdc484d(0x2b9)]!==((_0x5c6704=this[_0xdc484d(0x162)])==null?void 0x0:_0x5c6704[_0xdc484d(0x2b9)])||(this[_0xdc484d(0x497)]??=this[_0xdc484d(0x348)](this[_0xdc484d(0x162)]),this[_0xdc484d(0x497)]['requestRetry'](this[_0xdc484d(0x2ce)](_0x529564))),this;}[_0x28ce9c(0x2d3)](){const _0x4f0726=_0x28ce9c;return this[_0x4f0726(0xc8)](),this[_0x4f0726(0x476)][_0x4f0726(0x26c)](_0x1f738c,this[_0x4f0726(0x2b4)],this['type'],this[_0x4f0726(0x162)],this['_pendingMutations'],this[_0x4f0726(0x214)]);}[_0x28ce9c(0x3d4)](){return this;}[_0x28ce9c(0x218)](_0x3f4f6c){const _0x2a2de8=_0x28ce9c;return this['_disposeSubmitter'](),this['_injector'][_0x2a2de8(0x26c)](_0x40e010,this[_0x2a2de8(0x2b4)],this[_0x2a2de8(0x23b)],this[_0x2a2de8(0x162)],this['_pendingMutations'],this['_handler'],_0x3f4f6c);}};_0x1b7c12=_0x5da6ca([_0x26312a(0x8,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x9,(0x0,_0x594924['Inject'])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0xa,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xb,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0xc,_0x594924[_0x28ce9c(0x321)]),_0x26312a(0xd,_0x59e2cb[_0x28ce9c(0x3c2)]),_0x26312a(0xe,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x1b7c12);function _0x394aa8(_0x951e8d,_0x416d30,_0x50c27e,_0x8353e2,_0x95ce6f,_0x2641ff){const _0x168921=_0x28ce9c;return _0x8353e2&&_0x95ce6f[_0x168921(0x4a3)]?_0x951e8d[_0x168921(0x26c)](_0x594950,_0x416d30,_0x50c27e,_0x8353e2,_0x95ce6f,_0x2641ff,void 0x0):_0x8353e2?_0x951e8d[_0x168921(0x26c)](_0x3d552f,_0x416d30,_0x50c27e,_0x8353e2,_0x2641ff,void 0x0):_0x95ce6f['length']?_0x951e8d[_0x168921(0x26c)](_0xd87b49,_0x416d30,_0x50c27e,_0x95ce6f,_0x2641ff):_0x951e8d[_0x168921(0x26c)](_0x200cdc,_0x416d30,_0x50c27e,_0x2641ff);}let _0x4e94dc=class extends _0x594924[_0x28ce9c(0x1a9)]{get[_0x28ce9c(0x261)](){const _0x12cd24=_0x28ce9c;return this[_0x12cd24(0x3dd)];}constructor(_0x7e349c,_0xa0fe67,_0x3b2c54,_0x813673,_0x21ca75,_0x789d24,_0xd3875d,_0x562165,_0x2a0996,_0x193bb4,_0x2327d3,_0x5e8f18,_0x1f013e,_0x52b2d1){const _0x372d63=_0x28ce9c;super(),this[_0x372d63(0x2b4)]=_0x7e349c,this[_0x372d63(0x42e)]=_0xa0fe67,this[_0x372d63(0x2a9)]=_0x3b2c54,this['_injector']=_0x813673,this[_0x372d63(0x447)]=_0x21ca75,this['_localeService']=_0x789d24,this['_revisionService']=_0xd3875d,this['_eventService']=_0x562165,this[_0x372d63(0x464)]=_0x2a0996,this[_0x372d63(0x467)]=_0x193bb4,this['_commandService']=_0x2327d3,this['_permissionService']=_0x5e8f18,this[_0x372d63(0x450)]=_0x1f013e,this['_localCacheService']=_0x52b2d1,_0x4c0132(this,'_state$',new _0x5d1b30['BehaviorSubject'](null)),_0x4c0132(this,_0x372d63(0xe8),this[_0x372d63(0x279)][_0x372d63(0x2a6)]()),_0x4c0132(this,_0x372d63(0x3dd),void 0x0),_0x4c0132(this,'_collaborationPaused',!0x1),_0x4c0132(this,_0x372d63(0xd0),''),_0x4c0132(this,_0x372d63(0x419),0x0),_0x4c0132(this,_0x372d63(0x1b6),this[_0x372d63(0xe8)][_0x372d63(0x3e8)]((0x0,_0x5d1b30[_0x372d63(0x225)])(_0x22c811=>_0x22c811?_0x22c811[_0x372d63(0x477)]:_0x372d63(0x121)),(0x0,_0x5d1b30[_0x372d63(0x1a4)])({'bufferSize':0x1,'refCount':!0x0}))),_0x4c0132(this,_0x372d63(0x172),new _0x5d1b30['Subject']()),_0x4c0132(this,_0x372d63(0x1d4),this[_0x372d63(0x172)][_0x372d63(0x2a6)]()),_0x4c0132(this,_0x372d63(0x37f),new _0x5d1b30['Subject']()),_0x4c0132(this,'conflict$',this[_0x372d63(0x37f)][_0x372d63(0x2a6)]()),_0x4c0132(this,'_transitionLocked',!0x1),_0x4c0132(this,_0x372d63(0x131),[]);}async[_0x28ce9c(0x34d)](){const _0x43ff3b=_0x28ce9c;if(this[_0x43ff3b(0x261)])throw Error(_0x43ff3b(0x432));await this[_0x43ff3b(0x21d)]();}[_0x28ce9c(0x23e)](){const _0x11850d=_0x28ce9c;return this[_0x11850d(0x271)]=!0x0,(0x0,_0x594924[_0x11850d(0x240)])(()=>{const _0x2c0d7c=_0x11850d;this['_collaborationPaused']=!0x1,this[_0x2c0d7c(0x124)]();});}['onLocalMutation'](_0x59c5a2){this['_onLocalMutation'](_0x59c5a2);}[_0x28ce9c(0x299)](){const _0x135675=_0x28ce9c;var _0x628010;return((_0x628010=this[_0x135675(0x3dd)])==null?void 0x0:_0x628010['hasLocalChanges']())??!0x1;}['dispose'](){const _0x59486c=_0x28ce9c;var _0x519a14;super[_0x59486c(0x107)](),(_0x519a14=this['_state'])==null||_0x519a14[_0x59486c(0x107)](),this[_0x59486c(0x172)][_0x59486c(0x427)](),this[_0x59486c(0x37f)][_0x59486c(0x427)]();}[_0x28ce9c(0x465)](_0x4b42d0){const _0x32bb0d=_0x28ce9c;this[_0x32bb0d(0x3dd)]=_0x4b42d0,this['_state$'][_0x32bb0d(0x12d)](_0x4b42d0);}async['_init'](){const _0x2b5a50=_0x28ce9c;if(this['_updateState'](await this[_0x2b5a50(0x108)]()),this[_0x2b5a50(0x450)]){var _0xc47edc;(_0xc47edc=this[_0x2b5a50(0x450)])==null||_0xc47edc['editingUnit'](this['unitID']),this[_0x2b5a50(0x416)](this[_0x2b5a50(0x450)]['getUnitStatus$'](this[_0x2b5a50(0x2b4)])[_0x2b5a50(0x335)](_0x3faa4a=>{const _0x320bef=_0x2b5a50;this[_0x320bef(0x467)][_0x320bef(0x115)](_0x320bef(0x1e1),'editing\x20status\x20changed\x20to',_0x3faa4a),_0x3faa4a===0x1?(this[_0x320bef(0x19f)][_0x320bef(0x2e9)]({'id':'OTHER_CLIENT_EDITING'}),this[_0x320bef(0xdd)][_0x320bef(0x2cc)](new _0x2f8369[(_0x320bef(0x300))](this['unitID'])['id'],!0x1),this[_0x320bef(0xdd)][_0x320bef(0x1ca)](!0x1)):(this[_0x320bef(0xdd)]['updatePermissionPoint'](new _0x2f8369[(_0x320bef(0x300))](this[_0x320bef(0x2b4)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));}));}let _0x235cc2=!0x1;return this[_0x2b5a50(0x416)](this[_0x2b5a50(0x42e)][_0x2b5a50(0x36e)][_0x2b5a50(0x335)](_0x19753c=>{const _0x5614c8=_0x2b5a50;_0x19753c===0x3?this[_0x5614c8(0x10d)](_0x235cc2):_0x19753c===0x2&&(_0x235cc2=!0x0,this[_0x5614c8(0x20a)]());})),this[_0x2b5a50(0x416)](this['session'][_0x2b5a50(0x382)][_0x2b5a50(0x335)](_0x2508f0=>{const _0x3c86c0=_0x2b5a50;try{switch(_0x2508f0[_0x3c86c0(0x202)]){case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x175)]:this[_0x3c86c0(0x2c0)]((0x0,_0x59e2cb[_0x3c86c0(0x18b)])(_0x2508f0[_0x3c86c0(0xfa)]));break;case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x320)]:this[_0x3c86c0(0x25d)](_0x2508f0[_0x3c86c0(0xfa)]);break;case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x374)]:this[_0x3c86c0(0x35c)]({'isPermissionRej':!0x1,'reason':_0x2508f0[_0x3c86c0(0x301)],'code':_0x2508f0[_0x3c86c0(0x3de)]});break;case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x1f8)]:{let _0xd851a8=_0x2508f0;this[_0x3c86c0(0xb2)](_0xd851a8[_0x3c86c0(0xfa)],_0xd851a8[_0x3c86c0(0x3de)]);break;}case _0x59e2cb[_0x3c86c0(0x12b)]['PSEUDO_FETCH_MISSING_RESULT']:this[_0x3c86c0(0x2b2)](_0x2508f0['data'][_0x3c86c0(0x28a)][_0x3c86c0(0x225)](_0x1b20c7=>(0x0,_0x59e2cb['parseProtocolChangeset'])(_0x1b20c7)));break;case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x42b)]:this[_0x3c86c0(0x35c)]({'isPermissionRej':!0x0,'reason':_0x2508f0[_0x3c86c0(0x301)],'code':_0x2508f0[_0x3c86c0(0x3de)]});break;case _0x59e2cb[_0x3c86c0(0x12b)][_0x3c86c0(0x1ce)]:}}catch(_0x4871bc){throw console['error']('Error\x20on\x20receiving\x20event',_0x4871bc),_0x4871bc;}})),this[_0x2b5a50(0x3dd)];}[_0x28ce9c(0x3fb)](){const _0x3c7996=_0x28ce9c;this[_0x3c7996(0x1a0)]=!0x1;}[_0x28ce9c(0x3b1)](){const _0x3335f9=_0x28ce9c;if(this[_0x3335f9(0x1a0)])throw Error(_0x3335f9(0x138));this[_0x3335f9(0x1a0)]=!0x0;}['_transit'](_0x5a6433){const _0x546111=_0x28ce9c;this[_0x546111(0x3b1)]();try{this[_0x546111(0x465)](_0x5a6433());}finally{this['_unlockTransition']();}}[_0x28ce9c(0x3d3)](_0x54897f){const _0xfe0d0e=_0x28ce9c;this[_0xfe0d0e(0x410)](()=>this[_0xfe0d0e(0x3dd)][_0xfe0d0e(0x342)](_0x54897f));}['_onRemoteChangeset'](_0x425536){const _0x297b18=_0x28ce9c;this[_0x297b18(0x271)]?this[_0x297b18(0x131)][_0x297b18(0x210)](_0x425536):this[_0x297b18(0x375)](_0x425536);}['_exhaustRemoteChangesetQueue'](){const _0xf80faa=_0x28ce9c;this[_0xf80faa(0x131)]['forEach'](_0x49a89b=>this[_0xf80faa(0x375)](_0x49a89b)),this[_0xf80faa(0x131)]=[];}[_0x28ce9c(0x375)](_0x1d6373){const _0xb1dd6c=_0x28ce9c;let _0x1e6f5b=this['_compressMutationService'][_0xb1dd6c(0x394)][_0xb1dd6c(0x1cf)](this[_0xb1dd6c(0x447)][_0xb1dd6c(0x394)][_0xb1dd6c(0xc7)]()['COMPRESS_MUTATION_APPLY'])(_0x1d6373[_0xb1dd6c(0x43e)],null)||_0x1d6373['mutations'],_0x421bd5={..._0x1d6373,'mutations':_0x1e6f5b};this[_0xb1dd6c(0x410)](()=>this['_state'][_0xb1dd6c(0x26b)](_0x421bd5));}['_onRemoteACK'](_0x354637){const _0x27a9ad=_0x28ce9c;this[_0x27a9ad(0x410)](()=>this[_0x27a9ad(0x3dd)][_0x27a9ad(0x345)](_0x354637));}[_0x28ce9c(0x35c)](_0x1c49bb){const _0x24c475=_0x28ce9c;this[_0x24c475(0x410)](()=>this['_state'][_0x24c475(0x34e)](_0x1c49bb));}[_0x28ce9c(0xb2)](_0x5c6cbf,_0x2d9214){const _0x4bcba7=_0x28ce9c;this['_transit'](()=>this[_0x4bcba7(0x3dd)]['onRemoteRetry'](_0x5c6cbf,_0x2d9214));}[_0x28ce9c(0x2b2)](_0x4e7600){const _0x55e684=_0x28ce9c;let _0x4e0409=this[_0x55e684(0x3dd)];if(!(_0x4e0409 instanceof _0x1b7c12))throw TypeError(_0x55e684(0x1cc));let _0x555331=_0x4e7600[_0x55e684(0x225)](_0x27b3c8=>{const _0x45135f=_0x55e684;let _0x5775bc=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x45135f(0x447)][_0x45135f(0x394)][_0x45135f(0xc7)]()[_0x45135f(0xb4)])(_0x27b3c8['mutations'],null)||_0x27b3c8[_0x45135f(0x43e)];return{..._0x27b3c8,'mutations':_0x5775bc};});this['_transit'](()=>_0x4e0409[_0x55e684(0x1e8)](_0x555331));}[_0x28ce9c(0x20a)](){const _0x4d3889=_0x28ce9c;this[_0x4d3889(0x410)](()=>this[_0x4d3889(0x3dd)][_0x4d3889(0x2d3)]());}[_0x28ce9c(0x10d)](_0x509d73=!0x1){const _0x218603=_0x28ce9c;this[_0x218603(0x410)](()=>this[_0x218603(0x3dd)][_0x218603(0x3d4)]());let _0x58d297=this[_0x218603(0x3dd)];_0x509d73&&_0x58d297 instanceof _0x200cdc&&this[_0x218603(0x410)](()=>_0x58d297['fetchMiss']());}async[_0x28ce9c(0x108)](){return new Promise(_0x308837=>{const _0x471205=_0x3cef;this[_0x471205(0x42e)][_0x471205(0x36e)][_0x471205(0x3e8)]((0x0,_0x5d1b30[_0x471205(0x143)])(0x1))[_0x471205(0x335)](async _0x4aae69=>{const _0xbd834b=_0x471205;_0x308837(await this[_0xbd834b(0x27b)](_0x4aae69===0x3));});});}[_0x28ce9c(0x423)](){const _0x309fae=_0x28ce9c;let _0x1fa633=this[_0x309fae(0x2b4)],_0x50539b=this[_0x309fae(0x476)][_0x309fae(0x21c)](_0x594924[_0x309fae(0x101)])['getConfig'](_0xe358d2);return{'resendTimeouts':{'ackTimeout':_0x50539b==null?void 0x0:_0x50539b[_0x309fae(0xac)],'maxAckTimeout':_0x50539b==null?void 0x0:_0x50539b[_0x309fae(0x37d)]},'onStateChange':(_0x1535e9,_0x46bf48)=>{const _0x4735fb=_0x309fae;if(_0x1535e9!==this[_0x4735fb(0x3dd)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1535e9['status']+'\x0aAfter:\x20'+_0x46bf48['status']+'\x0aCurrent:\x20'+this[_0x4735fb(0x3dd)][_0x4735fb(0x477)]);this[_0x4735fb(0x465)](_0x46bf48);},'onSendChangeset':(_0x24fef2,_0x80ea97)=>{const _0x3cf0f3=_0x309fae;_0x24fef2[_0x3cf0f3(0x1f6)]||(_0x24fef2['sid']=this[_0x3cf0f3(0xd0)],_0x24fef2[_0x3cf0f3(0x2b9)]=++this[_0x3cf0f3(0x419)]);let _0x59d54c={'eventID':_0x59e2cb[_0x3cf0f3(0x12b)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x24fef2['unitID'],'unitType':this[_0x3cf0f3(0x2a9)],'changeset':_0x24fef2,'memberID':this[_0x3cf0f3(0x42e)][_0x3cf0f3(0x1c0)]()}};return this['session']['send'](_0x59d54c,this['unitID'],_0x80ea97);},'onConflict':(_0x41c1c0,_0x20c7e9,_0x24ead0)=>{const _0xbcd32c=_0x309fae;this['_conflict$'][_0xbcd32c(0x21f)]||this[_0xbcd32c(0x37f)][_0xbcd32c(0x12d)]({'unitID':_0x1fa633,..._0x41c1c0,'localChanges':_0x20c7e9,'cacheCleared':_0x24ead0});},'onChangesetResend':_0x939ab5=>{const _0x344ebf=_0x309fae;this[_0x344ebf(0x467)][_0x344ebf(0x115)](_0x344ebf(0x1e1),_0x344ebf(0xe1)+_0x939ab5[_0x344ebf(0x2b9)]+'\x20('+_0x939ab5[_0x344ebf(0x301)]+_0x344ebf(0x154)+_0x939ab5[_0x344ebf(0x187)]+')'),queueMicrotask(()=>{const _0x48ef05=_0x344ebf;this[_0x48ef05(0x172)]['closed']||this[_0x48ef05(0x172)][_0x48ef05(0x12d)]({'unitID':_0x1fa633,..._0x939ab5});});},'onMissingChangesets':({from:_0x581763,to:_0x41abfd})=>{const _0x54818d=_0x309fae;this['_logService'][_0x54818d(0x115)](_0x54818d(0x1e1),_0x54818d(0x15a)+_0x581763+_0x54818d(0x331)+_0x41abfd);let _0x284210={'eventID':_0x59e2cb[_0x54818d(0x12b)][_0x54818d(0x1b5)],'data':{'unitID':_0x1fa633,'unitType':this['_type'],'from':_0x581763,'to':_0x41abfd}};this[_0x54818d(0x42e)][_0x54818d(0xaf)](_0x284210,this['unitID']);}};}async[_0x28ce9c(0x27b)](_0x16efb3){const _0x84051a=_0x28ce9c;var _0x353077;let _0x13f6fe=await((_0x353077=this[_0x84051a(0x15c)])==null?void 0x0:_0x353077[_0x84051a(0x258)](this[_0x84051a(0x2b4)])),_0x230057=(_0x13f6fe==null?void 0x0:_0x13f6fe[_0x84051a(0x43e)])??[],_0x1fb29e=(_0x13f6fe==null?void 0x0:_0x13f6fe[_0x84051a(0x213)])??null,_0x4d59e3=!!(_0x1fb29e!=null&&_0x1fb29e['sid'])&&!!(_0x1fb29e!=null&&_0x1fb29e[_0x84051a(0x2b9)]);this[_0x84051a(0xd0)]=_0x4d59e3?_0x1fb29e[_0x84051a(0x1f6)]:(0x0,_0x59e2cb['uuidv4'])(),this['_changesetReqId']=_0x4d59e3?_0x1fb29e[_0x84051a(0x2b9)]:0x0;let _0x608d6c=this['unitID'];try{this[_0x84051a(0x30d)](_0x1fb29e,_0x230057);}catch(_0x751159){this[_0x84051a(0x467)][_0x84051a(0x430)](_0x751159);}let _0x28ef44=this[_0x84051a(0x423)]();if(_0x16efb3){let _0x1524de=_0x394aa8(this[_0x84051a(0x476)],_0x608d6c,this[_0x84051a(0x2a9)],_0x1fb29e,_0x230057,_0x28ef44);return _0x1524de instanceof _0xd87b49?_0x1524de['_schedule']():(_0x1524de instanceof _0x594950||_0x1524de instanceof _0x3d552f)&&_0x1524de[_0x84051a(0x31e)](),_0x1524de;}return this[_0x84051a(0x476)][_0x84051a(0x26c)](_0x1f738c,_0x608d6c,this[_0x84051a(0x2a9)],_0x1fb29e,_0x230057,_0x28ef44);}[_0x28ce9c(0x30d)](_0x3e1c52,_0x52b733){const _0x51cde2=_0x28ce9c;var _0x4d9591,_0x317578;let _0x34514f=this[_0x51cde2(0x447)][_0x51cde2(0x394)][_0x51cde2(0x1cf)](this['_compressMutationService'][_0x51cde2(0x394)][_0x51cde2(0xc7)]()['COMPRESS_MUTATION_APPLY']);(_0x4d9591=_0x34514f((_0x3e1c52==null?void 0x0:_0x3e1c52[_0x51cde2(0x43e)])||[],null))==null||_0x4d9591[_0x51cde2(0x3ab)](_0x512203=>this[_0x51cde2(0x3e5)]['executeCommand'](_0x512203['id'],_0x512203['params'])),(_0x317578=_0x34514f(_0x52b733||[],null))==null||_0x317578[_0x51cde2(0x3ab)](_0x49d7a1=>this[_0x51cde2(0x3e5)][_0x51cde2(0x139)](_0x49d7a1['id'],_0x49d7a1[_0x51cde2(0x26a)]));}};_0x4e94dc=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x11f)])),_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924['Inject'])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,(0x0,_0x594924['Inject'])(_0x361972)),_0x26312a(0x8,_0x594924['IUniverInstanceService']),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x594924['ICommandService']),_0x26312a(0xb,_0x594924['IPermissionService']),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x141436)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x4e94dc);let _0x4a949e=class extends _0x4e94dc{constructor(_0x535407,_0x3564e6,_0x24e35c,_0x586924,_0x34aba7,_0x57a799,_0x3dcf6a,_0xbde9a1,_0x2d27e3,_0x2299a3,_0x2aa7f4,_0x4edd14,_0x2bffa0,_0x1b929e,_0x340203){const _0x2d4085=_0x28ce9c;super(_0x535407,_0x24e35c,_0x3564e6,_0x586924,_0x34aba7,_0x57a799,_0x3dcf6a,_0xbde9a1,_0x2d27e3,_0x2299a3,_0x2aa7f4,_0x4edd14,_0x1b929e,_0x340203),this['unitID']=_0x535407,this['type']=_0x3564e6,this[_0x2d4085(0x40a)]=_0x2bffa0,_0x4c0132(this,_0x2d4085(0x344),null);}[_0x28ce9c(0x1d1)](_0x45c553){const _0x1a2f06=_0x28ce9c;this[_0x1a2f06(0x344)]=_0x45c553;}['dispose'](){const _0x14f5f4=_0x28ce9c;this[_0x14f5f4(0x344)]=null,super[_0x14f5f4(0x107)]();}[_0x28ce9c(0x423)](){const _0x389d17=_0x28ce9c;let _0x325802=super[_0x389d17(0x423)]();return _0x325802[_0x389d17(0x179)]=_0x31b92c=>{const _0x38af72=_0x389d17;var _0x209541,_0x19c832;return(_0x209541=this[_0x38af72(0x344)])==null||(_0x19c832=_0x209541['onTransformIME'])==null?void 0x0:_0x19c832[_0x38af72(0x16b)](_0x209541,_0x31b92c);},_0x325802[_0x389d17(0x291)]=_0x2e9188=>{const _0x163ae1=_0x389d17;var _0x16e75f,_0x3cc12b;return(_0x16e75f=this[_0x163ae1(0x344)])==null||(_0x3cc12b=_0x16e75f[_0x163ae1(0x291)])==null?void 0x0:_0x3cc12b[_0x163ae1(0x16b)](_0x16e75f,_0x2e9188);},_0x325802['onPrepareTransformSelections']=_0x1e9769=>{const _0x4a69ce=_0x389d17;var _0x27f933,_0x49c30f;return((_0x27f933=this[_0x4a69ce(0x344)])==null||(_0x49c30f=_0x27f933['onPrepareTransformSelections'])==null?void 0x0:_0x49c30f[_0x4a69ce(0x16b)](_0x27f933,_0x1e9769))??null;},_0x325802[_0x389d17(0x23a)]=_0x16d360=>{var _0x3fce12,_0x51f377;return(_0x3fce12=this['_handlerCallback'])==null||(_0x51f377=_0x3fce12['onTransformSelections'])==null?void 0x0:_0x51f377['call'](_0x3fce12,_0x16d360);},_0x325802['onSyncEditingCollabCursor']=_0x423f20=>{const _0x298a35=_0x389d17;var _0x555041,_0x3a0a3b;return(_0x555041=this['_handlerCallback'])==null||(_0x3a0a3b=_0x555041[_0x298a35(0x3bc)])==null?void 0x0:_0x3a0a3b[_0x298a35(0x16b)](_0x555041,_0x423f20);},_0x325802[_0x389d17(0x3a5)]=_0x590870=>{const _0x203188=_0x389d17;var _0xa0067e,_0x3fc3b3;return((_0xa0067e=this['_handlerCallback'])==null||(_0x3fc3b3=_0xa0067e[_0x203188(0x3a5)])==null?void 0x0:_0x3fc3b3[_0x203188(0x16b)](_0xa0067e,_0x590870))??_0x590870;},_0x325802[_0x389d17(0xa7)]=_0x519dfa=>{const _0x56fa78=_0x389d17;var _0x4079b2,_0x3f33e8;return((_0x4079b2=this['_handlerCallback'])==null||(_0x3f33e8=_0x4079b2[_0x56fa78(0xa7)])==null?void 0x0:_0x3f33e8['call'](_0x4079b2,_0x519dfa))??_0x519dfa;},_0x325802;}async['_init'](){const _0x420315=_0x28ce9c;let _0x1e2199=await super[_0x420315(0x21d)]();return this[_0x420315(0x416)](this['_docStateChangeManagerService'][_0x420315(0x148)][_0x420315(0x335)](_0x44f1ea=>{const _0x244423=_0x420315;if(_0x44f1ea==null||_0x44f1ea['unitId']!==this[_0x244423(0x2b4)])return;let {commandId:_0x2775ab,redoState:_0xb8bd2a,unitId:_0x5baff8}=_0x44f1ea,_0x480c65={'id':_0x2775ab,'type':_0x594924['CommandType'][_0x244423(0x45a)],'params':{'unitId':_0x5baff8,'actions':_0xb8bd2a[_0x244423(0xd1)],'textRanges':null}};this[_0x244423(0x3d3)](_0x480c65);})),this[_0x420315(0x416)](this[_0x420315(0x3e5)]['onMutationExecutedForCollab']((_0x22227d,_0x20e618)=>{const _0x523c7f=_0x420315;if(_0x22227d[_0x523c7f(0x23b)]!==_0x594924['CommandType']['MUTATION']||_0x20e618!=null&&_0x20e618[_0x523c7f(0x1de)]||_0x20e618!=null&&_0x20e618[_0x523c7f(0x390)]||_0x22227d['id']===_0xbdd057[_0x523c7f(0x1cb)]['id'])return;let _0x59cf10=_0x22227d[_0x523c7f(0x26a)];if((_0x59cf10==null?void 0x0:_0x59cf10[_0x523c7f(0x3f9)])!==this['unitID'])return;let _0x42cea5=_0x22227d,_0x5a68e1=this['_compressMutationService']['interceptor'][_0x523c7f(0x1cf)](this['_compressMutationService']['interceptor'][_0x523c7f(0xc7)]()[_0x523c7f(0x387)])([_0x42cea5],this[_0x523c7f(0x464)])||[_0x42cea5];this[_0x523c7f(0x3d3)](_0x5a68e1[0x0]);})),_0x1e2199;}};_0x4a949e=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x11f)])),_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x8,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0xb,_0x594924['IPermissionService']),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0xbdd057['DocStateChangeManagerService'])),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x141436)),_0x26312a(0xe,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x4a949e);let _0x4b8df2=class extends _0x4e94dc{constructor(_0x1d8b5c,_0x2c302d,_0x14b4b8,_0x3a2ce0,_0x333cc0,_0x43463f,_0xa8317d,_0x69ec2e,_0x3ccfb6,_0x1724d3,_0x4bd96a,_0x34d3fe,_0x4b6de2,_0x416bf0){const _0x10684b=_0x28ce9c;super(_0x1d8b5c,_0x14b4b8,_0x2c302d,_0x3a2ce0,_0x333cc0,_0x43463f,_0xa8317d,_0x69ec2e,_0x3ccfb6,_0x1724d3,_0x4bd96a,_0x34d3fe,_0x4b6de2,_0x416bf0),this['unitID']=_0x1d8b5c,this[_0x10684b(0x23b)]=_0x2c302d;}async[_0x28ce9c(0x21d)](){const _0x52f298=_0x28ce9c;let _0xa34d0d=await super['_init']();return this[_0x52f298(0x416)](this[_0x52f298(0x3e5)]['onMutationExecutedForCollab']((_0x63dcd3,_0x3c4e67)=>{const _0x4d8d8b=_0x52f298;if(_0x63dcd3[_0x4d8d8b(0x23b)]!==_0x594924[_0x4d8d8b(0xe4)][_0x4d8d8b(0x45a)]||_0x3c4e67!=null&&_0x3c4e67[_0x4d8d8b(0x1de)]||_0x3c4e67!=null&&_0x3c4e67['onlyLocal'])return;let _0xe7ed00=_0x63dcd3[_0x4d8d8b(0x26a)];if((_0xe7ed00==null?void 0x0:_0xe7ed00[_0x4d8d8b(0x3f9)])!==this[_0x4d8d8b(0x2b4)])return;let _0x2fd3c8=_0x63dcd3,_0x2ac43a=this['_compressMutationService'][_0x4d8d8b(0x394)]['fetchThroughInterceptors'](this[_0x4d8d8b(0x447)]['interceptor'][_0x4d8d8b(0xc7)]()['COMPRESS_MUTATION_SEND'])([_0x2fd3c8],this[_0x4d8d8b(0x464)])||[_0x2fd3c8];this[_0x4d8d8b(0x3d3)](_0x2ac43a[0x0]);})),_0xa34d0d;}};_0x4b8df2=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924['Inject'])(_0x594924['Injector'])),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x11f)])),_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x8,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0xb,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0xc,(0x0,_0x594924['Optional'])(_0x141436)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x4b8df2);let _0x5afe54=class extends _0x4e94dc{constructor(_0x8f1438,_0x4bfc8c,_0x1db915,_0x206f3b,_0x551270,_0x431cf6,_0x42b88b,_0x411cca,_0x4bbb4b,_0x199ff2,_0xc1a219,_0x5400ce,_0x373d89,_0x27dd42,_0x1ac92d){const _0x596e4e=_0x28ce9c;super(_0x8f1438,_0x1db915,_0x4bfc8c,_0x206f3b,_0x551270,_0x431cf6,_0x42b88b,_0x4bbb4b,_0x199ff2,_0xc1a219,_0x5400ce,_0x373d89,_0x27dd42,_0x1ac92d),this[_0x596e4e(0x2b4)]=_0x8f1438,this[_0x596e4e(0x23b)]=_0x4bfc8c,this[_0x596e4e(0x147)]=_0x411cca;}['_createHandler'](){const _0xdc9472=_0x28ce9c;let _0x1ac0d4=super[_0xdc9472(0x423)]();return _0x1ac0d4[_0xdc9472(0x23a)]=_0x474835=>this[_0xdc9472(0x147)][_0xdc9472(0x260)](_0x474835),_0x1ac0d4;}async['_init'](){const _0x7750e3=_0x28ce9c;let _0x360c94=await super['_init']();return this[_0x7750e3(0x416)](this[_0x7750e3(0x3e5)][_0x7750e3(0x22c)]((_0x4a6146,_0x16c529)=>{const _0x4ac6eb=_0x7750e3;if(_0x4a6146['type']!==_0x594924['CommandType'][_0x4ac6eb(0x45a)]||_0x16c529!=null&&_0x16c529['fromCollab']||_0x16c529!=null&&_0x16c529[_0x4ac6eb(0x390)])return;let _0x33610d=_0x4a6146[_0x4ac6eb(0x26a)];if((_0x33610d==null?void 0x0:_0x33610d['unitId'])!==this[_0x4ac6eb(0x2b4)])return;let _0x2f253c=_0x4a6146,_0x4047fb=this[_0x4ac6eb(0x447)][_0x4ac6eb(0x394)][_0x4ac6eb(0x1cf)](this[_0x4ac6eb(0x447)][_0x4ac6eb(0x394)][_0x4ac6eb(0xc7)]()[_0x4ac6eb(0x387)])([_0x2f253c],this[_0x4ac6eb(0x464)])||[_0x2f253c];this[_0x4ac6eb(0x3d3)](_0x4047fb[0x0]);})),_0x360c94;}};_0x5afe54=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb['CompressMutationService'])),_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924['LocaleService'])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb['RevisionService'])),_0x26312a(0x7,(0x0,_0x594924['Inject'])(_0x18fc5c)),_0x26312a(0x8,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x9,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0xa,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xb,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0xc,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x141436)),_0x26312a(0xe,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x5afe54);let _0x32033d=class extends _0x4e94dc{constructor(_0x4e50d2,_0x4e9582,_0x9ceac8,_0x99d534,_0x869b6,_0x5021b6,_0x17ee29,_0x58c6fc,_0x54a634,_0x4533b7,_0x4e31d7,_0x40d916,_0x4c4169,_0x3597cc){const _0x299640=_0x28ce9c;super(_0x4e50d2,_0x9ceac8,_0x4e9582,_0x99d534,_0x869b6,_0x5021b6,_0x17ee29,_0x58c6fc,_0x54a634,_0x4533b7,_0x4e31d7,_0x40d916,_0x4c4169,_0x3597cc),this[_0x299640(0x2b4)]=_0x4e50d2,this[_0x299640(0x23b)]=_0x4e9582;}async[_0x28ce9c(0x21d)](){const _0x221367=_0x28ce9c;let _0x4a3c70=await super[_0x221367(0x21d)]();return this[_0x221367(0x416)](this[_0x221367(0x3e5)][_0x221367(0x22c)]((_0x59adc1,_0x2d232e)=>{const _0x4e5640=_0x221367;if(_0x59adc1['type']!==_0x594924['CommandType'][_0x4e5640(0x45a)]||_0x2d232e!=null&&_0x2d232e['fromCollab']||_0x2d232e!=null&&_0x2d232e[_0x4e5640(0x390)])return;let _0x4625fb=_0x59adc1[_0x4e5640(0x26a)];if((_0x4625fb==null?void 0x0:_0x4625fb['unitId'])!==this[_0x4e5640(0x2b4)])return;let _0x19840d=_0x59adc1,_0x42d4c4=this[_0x4e5640(0x447)][_0x4e5640(0x394)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4e5640(0x394)][_0x4e5640(0xc7)]()['COMPRESS_MUTATION_SEND'])([_0x19840d],this[_0x4e5640(0x464)])||[_0x19840d];this[_0x4e5640(0x3d3)](_0x42d4c4[0x0]);})),_0x4a3c70;}};_0x32033d=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924['Inject'])(_0x59e2cb[_0x28ce9c(0x11f)])),_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x8,_0x594924['IUniverInstanceService']),_0x26312a(0x9,_0x594924['ILogService']),_0x26312a(0xa,_0x594924['ICommandService']),_0x26312a(0xb,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x141436)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x32033d);let _0x59d8da=class extends _0x4e94dc{constructor(_0x5b1e1d,_0x1d69c8,_0x5cb287,_0x1b5f50,_0x37a38d,_0x1cab54,_0xf06e05,_0x1be076,_0x2424aa,_0x2af418,_0x57003d,_0x2b631c,_0x3c1bfa,_0x31b843){const _0x5ae1cd=_0x28ce9c;super(_0x5b1e1d,_0x5cb287,_0x1d69c8,_0x1b5f50,_0x37a38d,_0x1cab54,_0xf06e05,_0x1be076,_0x2424aa,_0x2af418,_0x57003d,_0x2b631c,_0x3c1bfa,_0x31b843),this[_0x5ae1cd(0x2b4)]=_0x5b1e1d,this['type']=_0x1d69c8;}async['_init'](){const _0x397327=_0x28ce9c;let _0x5d2d66=await super[_0x397327(0x21d)]();return this[_0x397327(0x416)](this[_0x397327(0x3e5)][_0x397327(0x22c)]((_0x1d732e,_0x2b5269)=>{const _0xf84110=_0x397327;if(_0x1d732e[_0xf84110(0x23b)]!==_0x594924[_0xf84110(0xe4)][_0xf84110(0x45a)]||_0x2b5269!=null&&_0x2b5269[_0xf84110(0x1de)]||_0x2b5269!=null&&_0x2b5269[_0xf84110(0x390)])return;let _0x144433=_0x1d732e['params'];if((_0x144433==null?void 0x0:_0x144433[_0xf84110(0x3f9)])!==this[_0xf84110(0x2b4)])return;let _0x160a96=_0x1d732e,_0x2dfd5a=this[_0xf84110(0x447)]['interceptor']['fetchThroughInterceptors'](this[_0xf84110(0x447)][_0xf84110(0x394)]['getInterceptPoints']()[_0xf84110(0x387)])([_0x160a96],this[_0xf84110(0x464)])||[_0x160a96];this[_0xf84110(0x3d3)](_0x2dfd5a[0x0]);})),_0x5d2d66;}};_0x59d8da=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924['Inject'])(_0x59e2cb['CompressMutationService'])),_0x26312a(0x5,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x448)])),_0x26312a(0x7,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x8,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0xb,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0xc,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x141436)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x59d8da);let _0x2b7afa=class extends _0x4e94dc{constructor(_0x486393,_0x5332c4,_0x4fbd1b,_0x4b8f9c,_0xfe6e9a,_0x43992f,_0x25d417,_0x3422b8,_0x5405c2,_0x21cd86,_0x306236,_0x2a0d03,_0x12d47e,_0x52dfeb){const _0x1f9fc8=_0x28ce9c;super(_0x486393,_0x4fbd1b,_0x5332c4,_0x4b8f9c,_0xfe6e9a,_0x43992f,_0x25d417,_0x3422b8,_0x5405c2,_0x21cd86,_0x306236,_0x2a0d03,_0x12d47e,_0x52dfeb),this[_0x1f9fc8(0x2b4)]=_0x486393,this[_0x1f9fc8(0x23b)]=_0x5332c4;}async[_0x28ce9c(0x21d)](){const _0x4b80d5=_0x28ce9c;let _0x110a64=await super[_0x4b80d5(0x21d)]();return this[_0x4b80d5(0x416)](this[_0x4b80d5(0x3e5)][_0x4b80d5(0x22c)]((_0x107a8d,_0x16dea8)=>{const _0x88dd6b=_0x4b80d5;if(_0x107a8d[_0x88dd6b(0x23b)]!==_0x594924[_0x88dd6b(0xe4)][_0x88dd6b(0x45a)]||_0x16dea8!=null&&_0x16dea8['fromCollab']||_0x16dea8!=null&&_0x16dea8[_0x88dd6b(0x390)])return;let _0x416ad4=_0x107a8d['params'];if((_0x416ad4==null?void 0x0:_0x416ad4[_0x88dd6b(0x3f9)])!==this[_0x88dd6b(0x2b4)])return;let _0x340c38=_0x107a8d,_0x3679c2=this[_0x88dd6b(0x447)][_0x88dd6b(0x394)][_0x88dd6b(0x1cf)](this[_0x88dd6b(0x447)]['interceptor'][_0x88dd6b(0xc7)]()[_0x88dd6b(0x387)])([_0x340c38],this[_0x88dd6b(0x464)])||[_0x340c38];this[_0x88dd6b(0x3d3)](_0x3679c2[0x0]);})),_0x110a64;}};_0x2b7afa=_0x5da6ca([_0x26312a(0x3,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x11f)])),_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x3a4)])),_0x26312a(0x6,(0x0,_0x594924['Inject'])(_0x59e2cb['RevisionService'])),_0x26312a(0x7,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x8,_0x594924['IUniverInstanceService']),_0x26312a(0x9,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0xa,_0x594924['ICommandService']),_0x26312a(0xb,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0xc,(0x0,_0x594924['Optional'])(_0x141436)),_0x26312a(0xd,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x2b7afa);let _0x2ed4c4=(0x0,_0x594924[_0x28ce9c(0x2ab)])('univer-pro.collaboration-client.network-condition.service');function _0x41b36b(_0x4c55d9){const _0x5ef502=_0x28ce9c;let _0x447d38=_0x4c55d9['data'],_0x5e4942=JSON[_0x5ef502(0xb5)](_0x447d38);switch(_0x5e4942['cmd']){case _0x4500fa['CombCmd'][_0x5ef502(0x24f)]:case _0x4500fa[_0x5ef502(0x3b9)][_0x5ef502(0x3a9)]:{let _0x5c50d9=_0x5e4942[_0x5ef502(0x28d)];return{..._0x5e4942,'data':_0x5c50d9,'cmd':_0x5e4942[_0x5ef502(0x30e)]};}case _0x4500fa[_0x5ef502(0x3b9)][_0x5ef502(0x41a)]:{let _0x427745=_0x5e4942[_0x5ef502(0x47b)];return{..._0x5e4942,'data':_0x427745,'cmd':_0x5e4942[_0x5ef502(0x30e)]};}case _0x4500fa[_0x5ef502(0x3b9)][_0x5ef502(0x49b)]:{let _0x3cfbd8=_0x5e4942[_0x5ef502(0xf8)];switch(_0x3cfbd8[_0x5ef502(0x202)]){case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x42b)]:{let {cs:_0x4cd3c4,code:_0x1430b4,reason:_0x420f8c}=_0x3cfbd8[_0x5ef502(0x284)]??{};return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x4cd3c4,'code':_0x1430b4,'reason':_0x420f8c},'cmd':_0x5e4942[_0x5ef502(0x30e)]};}case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x320)]:var _0x1458a6;return{..._0x5e4942,'data':{..._0x3cfbd8,'data':(_0x1458a6=_0x3cfbd8[_0x5ef502(0x230)])==null?void 0x0:_0x1458a6['cs']},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x175)]:var _0xe7aa7;return{..._0x5e4942,'data':{..._0x3cfbd8,'data':(_0xe7aa7=_0x3cfbd8['newCsEvent'])==null?void 0x0:_0xe7aa7['cs']},'cmd':_0x5e4942['cmd']};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x374)]:{let {cs:_0x1a2749,code:_0x2f9e3e,reason:_0x679c19}=_0x3cfbd8['csRejEvent']??{};return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x1a2749,'code':_0x2f9e3e,'reason':_0x679c19},'cmd':_0x5e4942['cmd']};}case _0x59e2cb[_0x5ef502(0x12b)]['CHANGESET_SHOULD_RETRY']:{let {cs:_0x556165,code:_0x31dcff,reason:_0xded66e}=_0x3cfbd8[_0x5ef502(0x193)]??{};return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x556165,'code':_0x31dcff,'reason':_0xded66e},'cmd':_0x5e4942[_0x5ef502(0x30e)]};}case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x2ad)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x1b0)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb['CollaborationEvent']['USERS_ENTER']:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8['joinEvent']},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)]['USERS_LEAVE']:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x409)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0xde)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x418)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x463)]:case _0x59e2cb['CollaborationEvent'][_0x5ef502(0x45b)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x3ca)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x1db)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8['liveShareNewHost']},'cmd':_0x5e4942['cmd']};case _0x59e2cb['CollaborationEvent'][_0x5ef502(0x113)]:return{..._0x5e4942,'data':_0x3cfbd8,'cmd':_0x5e4942['cmd']};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x19c)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x486)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb[_0x5ef502(0x12b)]['UPDATE_PERMISSION_OBJ']:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x243)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};case _0x59e2cb['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x1ad)]},'cmd':_0x5e4942['cmd']};case _0x59e2cb[_0x5ef502(0x12b)][_0x5ef502(0x1ce)]:return{..._0x5e4942,'data':{..._0x3cfbd8,'data':_0x3cfbd8[_0x5ef502(0x304)]},'cmd':_0x5e4942[_0x5ef502(0x30e)]};default:return _0x5e4942;}}default:return _0x5e4942;}}function _0x1e9454(_0x49da7e){const _0x5220d7=_0x28ce9c;switch(_0x49da7e[_0x5220d7(0x30e)]){case _0x4500fa[_0x5220d7(0x3b9)]['HEARTBEAT']:case _0x4500fa['CombCmd'][_0x5220d7(0x3a9)]:return JSON['stringify']({'cmd':_0x49da7e[_0x5220d7(0x30e)],'routeKey':_0x49da7e['routeKey']});case _0x4500fa[_0x5220d7(0x3b9)][_0x5220d7(0x383)]:{let _0x466be5;switch(_0x49da7e[_0x5220d7(0xfa)][_0x5220d7(0x202)]){case _0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x2ad)]:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x2ad)],'updateCursorEvent':_0x49da7e[_0x5220d7(0xfa)]['data']};break;case _0x59e2cb['CollaborationEvent']['USERS_LEAVE']:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x226)],'leaveEvent':_0x49da7e[_0x5220d7(0xfa)][_0x5220d7(0xfa)]};break;case _0x59e2cb['CollaborationEvent'][_0x5220d7(0x1ac)]:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x1ac)],'joinEvent':_0x49da7e[_0x5220d7(0xfa)][_0x5220d7(0xfa)]};break;case _0x59e2cb['CollaborationEvent'][_0x5220d7(0xde)]:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0xde)],'liveShareNewHost':_0x49da7e[_0x5220d7(0xfa)][_0x5220d7(0xfa)]};break;case _0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x45b)]:_0x466be5={'eventID':_0x59e2cb['CollaborationEvent'][_0x5220d7(0x45b)],'liveShareOperation':_0x49da7e[_0x5220d7(0xfa)]['data']};break;case _0x59e2cb['CollaborationEvent'][_0x5220d7(0x1db)]:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x1db)],'liveShareTerminate':_0x49da7e[_0x5220d7(0xfa)]['data']};break;case _0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x1c9)]:_0x466be5={'eventID':_0x59e2cb['CollaborationEvent'][_0x5220d7(0x1c9)],'liveShareRequestHost':_0x49da7e['data'][_0x5220d7(0xfa)]};break;case _0x59e2cb['CollaborationEvent'][_0x5220d7(0x463)]:_0x466be5={'eventID':_0x59e2cb[_0x5220d7(0x12b)][_0x5220d7(0x463)]};break;default:_0x466be5={'eventID':_0x49da7e[_0x5220d7(0xfa)][_0x5220d7(0x202)]};}return JSON[_0x5220d7(0x122)]({'cmd':_0x49da7e[_0x5220d7(0x30e)],'routeKey':_0x49da7e[_0x5220d7(0x1e6)],'collaMsg':_0x466be5});}case _0x4500fa['CombCmd'][_0x5220d7(0x41a)]:return JSON[_0x5220d7(0x122)]({'cmd':_0x49da7e[_0x5220d7(0x30e)],'routeKey':_0x49da7e['routeKey'],'joinReq':_0x49da7e['data']});case _0x4500fa[_0x5220d7(0x3b9)][_0x5220d7(0x168)]:return JSON[_0x5220d7(0x122)]({'cmd':_0x49da7e[_0x5220d7(0x30e)],'routeKey':_0x49da7e['routeKey'],'leaveReq':_0x49da7e[_0x5220d7(0xfa)]});default:throw Error(_0x5220d7(0x22e));}}let _0x51dc05=(0x0,_0x594924[_0x28ce9c(0x2ab)])(_0x28ce9c(0x433));function _0x228f6f(_0x26c3a3,_0x3ece18,_0x529cba){const _0x477c71=_0x28ce9c;return _0x26c3a3+'/'+_0x3ece18+_0x477c71(0x2ae)+_0x529cba+_0x477c71(0x362);}let _0x5bdcdd=class extends _0x594924[_0x28ce9c(0x270)]{constructor(_0x2e301c,_0x4094e8,_0x5db7fc,_0x4be9f1,_0x3cc583){const _0x598043=_0x28ce9c;super(),this[_0x598043(0x476)]=_0x2e301c,this['_httpService']=_0x4094e8,this[_0x598043(0x36f)]=_0x5db7fc,this[_0x598043(0x467)]=_0x4be9f1,this[_0x598043(0xab)]=_0x3cc583;}[_0x28ce9c(0x39e)](_0x31ff6c){const _0x4698c6=_0x28ce9c;let _0x3680b0=this[_0x4698c6(0x476)][_0x4698c6(0x21c)](_0x38af37[_0x4698c6(0x3a2)]);if(!_0x3680b0)throw Error(_0x4698c6(0x156));let _0x2ceddc=_0x3680b0[_0x4698c6(0x15b)](_0x31ff6c);if(!_0x2ceddc)throw Error(_0x4698c6(0x288));let _0x43b811=new _0x594924[(_0x4698c6(0x39f))](),_0x3a7afe=new _0x5d1b30['Subject']();_0x43b811[_0x4698c6(0x2fd)](_0x2ceddc['close$'][_0x4698c6(0x335)](_0x50636c=>_0x3a7afe['next'](_0x50636c))),_0x43b811[_0x4698c6(0x2fd)]((0x0,_0x594924[_0x4698c6(0x240)])(()=>_0x3a7afe['complete']()));let _0x504284=new _0x5d1b30[(_0x4698c6(0x479))]();_0x43b811[_0x4698c6(0x2fd)](_0x2ceddc[_0x4698c6(0x200)][_0x4698c6(0x335)](_0x213cf3=>_0x504284[_0x4698c6(0x12d)](_0x213cf3))),_0x43b811[_0x4698c6(0x2fd)]((0x0,_0x594924['toDisposable'])(()=>_0x504284[_0x4698c6(0x427)]()));let _0xf68492=new _0x5d1b30[(_0x4698c6(0x479))]();_0x43b811[_0x4698c6(0x2fd)](_0x2ceddc[_0x4698c6(0x29f)]['subscribe'](_0x1a70de=>{const _0x5d2c50=_0x4698c6;let _0x19bb73=_0x41b36b(_0x1a70de);_0xf68492[_0x5d2c50(0x12d)](_0x19bb73);})),_0x43b811[_0x4698c6(0x2fd)]((0x0,_0x594924[_0x4698c6(0x240)])(()=>_0xf68492[_0x4698c6(0x427)]()));let _0xd629ce,_0x2c1182=()=>{const _0x4e4a96=_0x4698c6;_0x504284[_0x4e4a96(0x12d)](new Event('connection\x20error')),_0x3a7afe[_0x4e4a96(0x12d)](new Event('connection\x20error')),_0xd629ce[_0x4e4a96(0x47a)]();};return _0xd629ce={'memberID':'','close$':_0x3a7afe[_0x4698c6(0x2a6)](),'error$':_0x504284[_0x4698c6(0x2a6)](),'open$':_0x2ceddc['open$'],'message$':_0xf68492[_0x4698c6(0x2a6)](),'send':(_0x3cc687,_0x9f0b82)=>{const _0x4e0271=_0x4698c6;if(_0x3cc687[_0x4e0271(0x30e)]===_0x4500fa[_0x4e0271(0x3b9)][_0x4e0271(0x383)]){if(_0x3cc687[_0x4e0271(0xfa)][_0x4e0271(0x202)]===_0x59e2cb['CollaborationEvent'][_0x4e0271(0x3ce)]){let _0x409076=this[_0x4e0271(0xfd)](_0xd629ce,_0x3cc687['data'],(_0x9f0b82==null?void 0x0:_0x9f0b82[_0x4e0271(0x338)])??0x1d4c0);return _0x409076[_0x4e0271(0xad)](()=>void 0x0),_0x409076;}if(_0x3cc687[_0x4e0271(0xfa)][_0x4e0271(0x202)]===_0x59e2cb[_0x4e0271(0x12b)][_0x4e0271(0x1b5)]){let _0x1849f6=_0x3cc687[_0x4e0271(0xfa)];this[_0x4e0271(0x322)](_0x1849f6)[_0x4e0271(0x1c7)](_0x3d0788=>{const _0x44e6ef=_0x4e0271;_0xf68492['next']({'cmd':_0x4500fa['CombCmd'][_0x44e6ef(0x49b)],'code':_0x4500fa['CmdRspCode']['OK'],'routeKey':_0x1849f6[_0x44e6ef(0xfa)]['unitID'],'routeType':'','data':{'eventID':_0x59e2cb[_0x44e6ef(0x12b)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3d0788}}});})['catch'](_0x444da6=>{const _0xce004e=_0x4e0271;this[_0xce004e(0x467)][_0xce004e(0x430)](_0x444da6),_0x2c1182();});return;}}_0x2ceddc[_0x4e0271(0xaf)](_0x1e9454(_0x3cc687));},'close':()=>{const _0x34b0ad=_0x4698c6;_0x2ceddc[_0x34b0ad(0x47a)](),_0x43b811[_0x34b0ad(0x107)]();}},_0xd629ce;}[_0x28ce9c(0xfd)](_0x2e6ed2,_0x2eeb50,_0x35580b){const _0x4e86ef=_0x28ce9c;let {unitType:_0xcba00c,unitID:_0x51a084,changeset:_0x33256f}=_0x2eeb50[_0x4e86ef(0xfa)],_0xbb4bd9={'unitID':_0x51a084,'memberID':_0x2e6ed2['memberID'],'type':_0xcba00c,'changeset':(0x0,_0x59e2cb[_0x4e86ef(0x31c)])(_0x33256f)},_0x486b23=this['_configService'][_0x4e86ef(0x3ba)](_0xe358d2),_0x4d825d=_0x228f6f((_0x486b23==null?void 0x0:_0x486b23['collabSubmitChangesetUrl'])??_0x4e86ef(0x37c),_0xcba00c,_0x51a084);return(0x0,_0x5d1b30['firstValueFrom'])(this[_0x4e86ef(0x33f)][_0x4e86ef(0x26f)](_0x4e86ef(0x363),_0x4d825d,{'body':_0xbb4bd9})[_0x4e86ef(0x3e8)]((0x0,_0x5d1b30['filter'])(_0x991a75=>_0x991a75[_0x4e86ef(0x23b)]===_0x38af37[_0x4e86ef(0x3a6)][_0x4e86ef(0x4a1)]),(0x0,_0x5d1b30['timeout'])(_0x35580b)))[_0x4e86ef(0x1c7)](()=>void 0x0,_0x453192=>{const _0x3494c5=_0x4e86ef;throw this[_0x3494c5(0x467)]['warn'](_0x3494c5(0x43b),_0x3494c5(0x489)+_0x33256f['sid']+':'+_0x33256f[_0x3494c5(0x2b9)]+_0x3494c5(0x25c)+_0x590939(_0x453192)),_0x453192;});}async['_fetchMissChangesets'](_0x5e3a9a){const _0x2219b6=_0x28ce9c;let {unitID:_0x16ad76,from:_0x1dcfc9,to:_0x2dd375,unitType:_0x1244ef}=_0x5e3a9a[_0x2219b6(0xfa)];return(await this['_snapshotServerService'][_0x2219b6(0x311)]({'metadata':void 0x0},{'unitID':_0x16ad76,'type':_0x1244ef,'from':_0x1dcfc9,'to':_0x2dd375}))[_0x2219b6(0x28a)][_0x2219b6(0x225)](_0x35a377=>((_0x35a377['mutations']===null||_0x35a377[_0x2219b6(0x43e)]===void 0x0)&&(_0x35a377['mutations']=[]),_0x35a377));}};_0x5bdcdd=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924['Injector'])),_0x26312a(0x1,(0x0,_0x594924['Inject'])(_0x38af37[_0x28ce9c(0x41f)])),_0x26312a(0x2,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x3,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x4,_0x59e2cb['ISnapshotServerService'])],_0x5bdcdd);function _0x590939(_0xcde9d5){const _0xc3bca7=_0x28ce9c;return _0xcde9d5 instanceof _0x38af37['HTTPResponseError']?'HTTP\x20'+(_0xcde9d5[_0xc3bca7(0x477)]??0x0):_0xcde9d5 instanceof Error?_0xcde9d5[_0xc3bca7(0x1b2)]:String(_0xcde9d5);}let _0x8830e8=(0x0,_0x594924['createIdentifier'])(_0x28ce9c(0x11a));function _0x5273fe(_0x7ed67d={}){const _0x591d48=_0x28ce9c;return _0x7ed67d[_0x591d48(0x19e)]?{'resolveUnit':_0x7ed67d[_0x591d48(0x19e)]}:{'resolveUnit':_0x199d3d=>({'target':{'unitId':_0x199d3d[_0x591d48(0x3f9)],'unitType':_0x199d3d[_0x591d48(0x170)]}})};}function _0x5641f6(_0x24c0ad,_0x27c160,_0x49a1be){const _0x4cecb5=_0x28ce9c;let _0x5b3d0a=_0x49a1be['target'][_0x4cecb5(0x2be)];if(_0x5b3d0a!=null&&_0x5b3d0a[_0x4cecb5(0x367)]()==='')throw Error(_0x4cecb5(0x3d2));if(!_0x49a1be[_0x4cecb5(0x2bc)][_0x4cecb5(0x3f9)])throw Error(_0x4cecb5(0x33a));return{'localUnitId':_0x24c0ad,'unitType':_0x27c160,'target':{'endpoint':_0x5b3d0a,'unitId':_0x49a1be['target'][_0x4cecb5(0x3f9)],'unitType':_0x49a1be[_0x4cecb5(0x2bc)][_0x4cecb5(0x170)]??_0x27c160},'changeset':_0x49a1be[_0x4cecb5(0x265)]};}let _0x1c7cac=class extends _0x594924[_0x28ce9c(0x270)]{constructor(_0x3d2ff0,_0x1c51b2,_0x5f140b,_0x3f1bd5,_0x2e457c,_0x413bb0){const _0x1bdc96=_0x28ce9c;super(),this[_0x1bdc96(0x476)]=_0x3d2ff0,this[_0x1bdc96(0x467)]=_0x1c51b2,this['_configService']=_0x5f140b,this[_0x1bdc96(0x17e)]=_0x3f1bd5,this[_0x1bdc96(0x445)]=_0x2e457c,this['_adapter']=_0x413bb0,_0x4c0132(this,'_sessions',new Map()),_0x4c0132(this,_0x1bdc96(0x188),new Map()),_0x4c0132(this,_0x1bdc96(0x1d9),new Map()),_0x4c0132(this,_0x1bdc96(0x496),new Map()),_0x4c0132(this,'_networkConditionService',void 0x0),_0x4c0132(this,'socket$',this['_getSocketChannel'](void 0x0)[_0x1bdc96(0x1ff)]['asObservable']()),_0x4c0132(this,_0x1bdc96(0x277),new _0x5d1b30[(_0x1bdc96(0x21a))](0x0)),_0x4c0132(this,_0x1bdc96(0x1b6),this[_0x1bdc96(0x277)][_0x1bdc96(0x2a6)]());}[_0x28ce9c(0x313)](){const _0x2a2d86=_0x28ce9c;this[_0x2a2d86(0x17d)]||(this[_0x2a2d86(0x17d)]=this['_injector']['get'](_0x2ed4c4,_0x594924[_0x2a2d86(0x400)][_0x2a2d86(0x3eb)])??void 0x0,this[_0x2a2d86(0x17d)]&&this[_0x2a2d86(0x416)](this['_networkConditionService'][_0x2a2d86(0x18e)]['subscribe'](_0xa100a6=>{const _0x2ec441=_0x2a2d86;_0xa100a6&&this['reconnect'](),_0xa100a6||this[_0x2ec441(0x496)][_0x2ec441(0x3ab)](_0x5670ce=>this[_0x2ec441(0x2a4)](_0x5670ce));})));}['dispose'](){const _0x9358fa=_0x28ce9c;super[_0x9358fa(0x107)](),this[_0x9358fa(0x496)][_0x9358fa(0x3ab)](_0x3bf835=>{const _0x3908ad=_0x9358fa;var _0x31be3d,_0x296509,_0x1866fd;(_0x31be3d=_0x3bf835[_0x3908ad(0x185)])==null||_0x31be3d['unsubscribe'](),_0x3bf835[_0x3908ad(0x185)]=null,this[_0x3908ad(0x49c)](_0x3bf835),this[_0x3908ad(0x2f4)](_0x3bf835),this['_clearTimeoutTimer'](_0x3bf835),this[_0x3908ad(0x39d)](_0x3bf835),(_0x296509=_0x3bf835[_0x3908ad(0x1ff)][_0x3908ad(0xe5)]())==null||_0x296509[_0x3908ad(0x47a)](),(_0x1866fd=_0x3bf835['candidateSocket'])==null||_0x1866fd[_0x3908ad(0x47a)](),_0x3bf835[_0x3908ad(0x1ff)]['complete']();}),this[_0x9358fa(0x496)][_0x9358fa(0x380)](),this[_0x9358fa(0x31b)][_0x9358fa(0x3ab)](_0x1157a0=>_0x1157a0[_0x9358fa(0x107)]()),this['_sessions']['clear'](),this[_0x9358fa(0x1d9)][_0x9358fa(0x380)](),this[_0x9358fa(0x277)]['complete']();}async[_0x28ce9c(0x444)](_0x200f28,_0x13e0b3){const _0x554820=_0x28ce9c;if(this[_0x554820(0x313)](),this[_0x554820(0x31b)]['has'](_0x200f28))return this['_sessions'][_0x554820(0x21c)](_0x200f28);let _0x3ecc90=this[_0x554820(0x188)]['get'](_0x200f28);if(_0x3ecc90)return _0x3ecc90;let _0x1957d4=this[_0x554820(0x323)](_0x200f28,_0x13e0b3);this[_0x554820(0x188)]['set'](_0x200f28,_0x1957d4);try{return await _0x1957d4;}finally{this['_pendingSessions'][_0x554820(0x203)](_0x200f28);}}async[_0x28ce9c(0x323)](_0x4ef5d4,_0x21d2f9){const _0x568fec=_0x28ce9c;let _0x305ec8=await this[_0x568fec(0x44d)](_0x4ef5d4,_0x21d2f9),_0x1bf5c8=this[_0x568fec(0x49e)](_0x305ec8[_0x568fec(0x2bc)][_0x568fec(0x2be)]);this[_0x568fec(0x494)](_0x1bf5c8);let _0xfe738d=this['_injector'][_0x568fec(0x26c)](_0x5e5039,_0x305ec8,_0x1bf5c8[_0x568fec(0x1ff)][_0x568fec(0x2a6)]());return this[_0x568fec(0x31b)][_0x568fec(0x360)](_0x4ef5d4,_0xfe738d),this[_0x568fec(0x1d9)]['set'](_0x4ef5d4,_0x1bf5c8[_0x568fec(0x18d)]),_0xfe738d;}[_0x28ce9c(0x231)](_0x1ad185){const _0x5f12fc=_0x28ce9c;let _0x9b798=this['_sessions']['get'](_0x1ad185),_0x115c61=this[_0x5f12fc(0x1d9)][_0x5f12fc(0x21c)](_0x1ad185);if(_0x9b798&&(this[_0x5f12fc(0x31b)]['delete'](_0x1ad185),this[_0x5f12fc(0x1d9)]['delete'](_0x1ad185),_0x9b798[_0x5f12fc(0x47a)]()),_0x115c61!==void 0x0&&!this[_0x5f12fc(0x1d6)](_0x115c61)){let _0x11fde3=this[_0x5f12fc(0x496)][_0x5f12fc(0x21c)](_0x115c61);_0x11fde3&&this[_0x5f12fc(0x2a4)](_0x11fde3);}}[_0x28ce9c(0x326)](){const _0x51de6f=_0x28ce9c;(this['_socketChannels']['size']?[...this[_0x51de6f(0x496)][_0x51de6f(0x3dc)]()]:[this[_0x51de6f(0x49e)](void 0x0)])[_0x51de6f(0x3ab)](_0xb1c09a=>{const _0x5f2f28=_0x51de6f;!this[_0x5f2f28(0x1d6)](_0xb1c09a[_0x5f2f28(0x18d)])||_0xb1c09a[_0x5f2f28(0xd9)]||_0xb1c09a['candidateSocket']||_0xb1c09a[_0x5f2f28(0xe7)]||(_0xb1c09a['retryCount']=0x0,this[_0x5f2f28(0x2f4)](_0xb1c09a),this['_tryReconnect'](_0xb1c09a));});}[_0x28ce9c(0x2f4)](_0x4a6b6f){const _0x4e42bb=_0x28ce9c;_0x4a6b6f[_0x4e42bb(0x370)]!=null&&(clearTimeout(_0x4a6b6f[_0x4e42bb(0x370)]),_0x4a6b6f[_0x4e42bb(0x370)]=null);}[_0x28ce9c(0x17c)](_0x47ac28){const _0x527678=_0x28ce9c;let _0x27e7f0=this[_0x527678(0x36f)]['getConfig'](_0xe358d2),_0x142b21=_0x47ac28[_0x527678(0x2be)]??(_0x27e7f0==null?void 0x0:_0x27e7f0[_0x527678(0x422)])??_0x527678(0x437);return this['_socketService'][_0x527678(0x15b)](_0x142b21);}async[_0x28ce9c(0x494)](_0x3b280b){const _0x772a64=_0x28ce9c;var _0x558760;if(this[_0x772a64(0x3e9)]||((_0x558760=this[_0x772a64(0x17d)])==null?void 0x0:_0x558760[_0x772a64(0x2d7)])===!0x1||_0x3b280b[_0x772a64(0xd9)]||_0x3b280b[_0x772a64(0x24e)]||_0x3b280b[_0x772a64(0xe7)])return;let _0x312d7a={};_0x3b280b['connectionAttempt']=_0x312d7a;try{let _0x1e9a29=await this[_0x772a64(0x17c)](_0x3b280b);if(this[_0x772a64(0x3e9)]||_0x3b280b['connectionAttempt']!==_0x312d7a){_0x1e9a29==null||_0x1e9a29[_0x772a64(0x47a)]();return;}if(_0x1e9a29){var _0x5c1464;_0x3b280b[_0x772a64(0x24e)]=_0x1e9a29,_0x3b280b[_0x772a64(0x32f)]=setTimeout(()=>{const _0x4f8efb=_0x772a64;!this['_disposed']&&_0x3b280b[_0x4f8efb(0x24e)]===_0x1e9a29&&this[_0x4f8efb(0x1d7)](_0x3b280b);},0x4e20);let _0xc1ae4e=_0x1e9a29[_0x772a64(0xaf)];_0x1e9a29['send']=(_0x2511b5,_0x1d4bcd)=>{const _0xe1daca=_0x772a64;_0x2511b5[_0xe1daca(0x30e)]!==_0x4500fa['CombCmd'][_0xe1daca(0x168)]&&!_0x3d169f(_0x2511b5)&&_0x3b280b[_0xe1daca(0xd9)]&&_0x3b280b[_0xe1daca(0x1ff)][_0xe1daca(0xe5)]()===_0x1e9a29&&this[_0xe1daca(0x142)](_0x3b280b);let _0x21ebcb=_0x1d4bcd===void 0x0?_0xc1ae4e[_0xe1daca(0x16b)](_0x1e9a29,_0x2511b5):_0xc1ae4e[_0xe1daca(0x16b)](_0x1e9a29,_0x2511b5,_0x1d4bcd);return _0x21ebcb instanceof Promise&&_0x21ebcb[_0xe1daca(0xad)](_0x540f19=>{const _0xa8ecdd=_0xe1daca;_0x143146(_0x540f19)&&_0x3b280b[_0xa8ecdd(0x1ff)][_0xa8ecdd(0xe5)]()===_0x1e9a29&&this[_0xa8ecdd(0x2b0)](_0x3b280b);}),_0x21ebcb;},(_0x5c1464=_0x3b280b[_0x772a64(0x185)])==null||_0x5c1464[_0x772a64(0x413)]();let _0x52506d=new _0x5d1b30[(_0x772a64(0x393))]();_0x3b280b[_0x772a64(0x185)]=_0x52506d,_0x52506d['add'](_0x1e9a29[_0x772a64(0x29f)]['subscribe'](_0x443083=>this['_onMessage'](_0x3b280b,_0x1e9a29,_0x443083))),_0x52506d['add'](_0x1e9a29[_0x772a64(0x200)][_0x772a64(0x3e8)]((0x0,_0x47dd8f[_0x772a64(0x143)])(0x1))['subscribe'](_0x28edfd=>this[_0x772a64(0x467)][_0x772a64(0x430)](_0x772a64(0x2ca),_0x28edfd))),_0x52506d['add'](_0x1e9a29[_0x772a64(0x376)][_0x772a64(0x3e8)]((0x0,_0x47dd8f[_0x772a64(0x143)])(0x1))[_0x772a64(0x335)](()=>{this['_onConnectionOpen'](_0x3b280b,_0x1e9a29);})),_0x52506d[_0x772a64(0x2fd)](_0x1e9a29[_0x772a64(0x46b)][_0x772a64(0x3e8)]((0x0,_0x47dd8f[_0x772a64(0x143)])(0x1))[_0x772a64(0x335)](_0x239843=>{const _0x1a9e01=_0x772a64;(_0x3b280b[_0x1a9e01(0x24e)]===_0x1e9a29||_0x3b280b['socket$'][_0x1a9e01(0xe5)]()===_0x1e9a29)&&(this[_0x1a9e01(0x467)][_0x1a9e01(0x115)](_0x1a9e01(0x3a7),_0x1a9e01(0x3cd),_0x239843),this[_0x1a9e01(0x1d7)](_0x3b280b));}));}}catch(_0x1e5967){if(_0x3b280b[_0x772a64(0xe7)]!==_0x312d7a)return;if(_0x143146(_0x1e5967)){this[_0x772a64(0x2b0)](_0x3b280b);return;}this[_0x772a64(0x467)][_0x772a64(0x430)](_0x1e5967),this[_0x772a64(0x1d7)](_0x3b280b);}finally{_0x3b280b[_0x772a64(0xe7)]===_0x312d7a&&(_0x3b280b[_0x772a64(0xe7)]=null);}}[_0x28ce9c(0xd2)](_0x4d7120,_0x324eef){const _0x3a4a5e=_0x28ce9c;this[_0x3a4a5e(0x3e9)]||_0x4d7120[_0x3a4a5e(0x24e)]!==_0x324eef||(this[_0x3a4a5e(0x467)][_0x3a4a5e(0x115)](_0x3a4a5e(0x3a7),'socket\x20open.'),_0x324eef[_0x3a4a5e(0xaf)]({'cmd':_0x4500fa[_0x3a4a5e(0x3b9)][_0x3a4a5e(0x3a9)]}));}[_0x28ce9c(0x2a4)](_0x418271){const _0x4c8316=_0x28ce9c;var _0x5b4517;let _0x39b215=_0x418271['socket$'][_0x4c8316(0xe5)]()??_0x418271[_0x4c8316(0x24e)];_0x418271[_0x4c8316(0xe7)]=null,_0x418271[_0x4c8316(0xd9)]=!0x1,_0x418271[_0x4c8316(0x24e)]=null,(_0x5b4517=_0x418271['socketSubscription'])==null||_0x5b4517['unsubscribe'](),_0x418271[_0x4c8316(0x185)]=null,this[_0x4c8316(0x277)][_0x4c8316(0x12d)](0x2),_0x418271[_0x4c8316(0x1ff)][_0x4c8316(0x12d)](null),this[_0x4c8316(0x2f4)](_0x418271),this[_0x4c8316(0x49c)](_0x418271),this[_0x4c8316(0xb7)](_0x418271),this[_0x4c8316(0x39d)](_0x418271),_0x39b215==null||_0x39b215[_0x4c8316(0x47a)]();}[_0x28ce9c(0x2b0)](_0x58593a){const _0x411b0c=_0x28ce9c;this[_0x411b0c(0x2a4)](_0x58593a),this[_0x411b0c(0x445)][_0x411b0c(0x2e9)]({'id':_0x411b0c(0x47c)});}['_onConnectionFailed'](_0x11697f){const _0x344e4e=_0x28ce9c;var _0x5a8b24;this[_0x344e4e(0x2a4)](_0x11697f),!this['_disposed']&&((_0x5a8b24=this[_0x344e4e(0x17d)])==null?void 0x0:_0x5a8b24['online'])!==!0x1&&this['_hasSessionsForEndpoint'](_0x11697f[_0x344e4e(0x18d)])&&(_0x11697f['retryCount']<(this[_0x344e4e(0x36f)]['getConfig'](_0x344e4e(0x253))??0x3)?(this[_0x344e4e(0x445)][_0x344e4e(0x2e9)]({'id':_0x344e4e(0x10a)}),this[_0x344e4e(0x3f8)](_0x11697f)):this['_collaborationUIEventService'][_0x344e4e(0x2e9)]({'id':_0x344e4e(0xcb)}));}[_0x28ce9c(0x3f8)](_0xa47634){const _0xa1ec62=_0x28ce9c;let _0x1e8ce6=_0xa47634[_0xa1ec62(0x45f)],_0x5eb3a3=this['_configService']['getConfig'](_0xe358d2),_0x725619=_0x1e8ce6===0x0?0x0:((_0x5eb3a3==null?void 0x0:_0x5eb3a3[_0xa1ec62(0x25f)])??0x4e20)*0x2**_0x1e8ce6;_0xa47634[_0xa1ec62(0x370)]=setTimeout(()=>{const _0x4a60d2=_0xa1ec62;clearTimeout(_0xa47634[_0x4a60d2(0x370)]),_0xa47634['retryConnectingTimer']=null,this[_0x4a60d2(0x494)](_0xa47634);},_0x725619),_0xa47634[_0xa1ec62(0x45f)]+=0x1;}async[_0x28ce9c(0x44d)](_0x4a7576,_0xecbe18){const _0x383520=_0x28ce9c;return _0x5641f6(_0x4a7576,_0xecbe18,await this[_0x383520(0x24b)]['resolveUnit']({'unitId':_0x4a7576,'unitType':_0xecbe18}));}['_onMessage'](_0x495e1b,_0x531372,_0x27353c){const _0x179281=_0x28ce9c;if(this[_0x179281(0x3e9)]||_0x495e1b[_0x179281(0x24e)]!==_0x531372&&_0x495e1b['socket$']['getValue']()!==_0x531372)return;let {cmd:_0x543ee1}=_0x27353c;if(_0x543ee1===_0x4500fa[_0x179281(0x3b9)][_0x179281(0x3a9)]&&!_0x495e1b[_0x179281(0xd9)]){var _0x79c5b1;if((_0x27353c[_0x179281(0x3de)]??_0x4500fa[_0x179281(0x2f9)]['OK'])!==_0x4500fa[_0x179281(0x2f9)]['OK']||!((_0x79c5b1=_0x27353c[_0x179281(0xfa)])!=null&&_0x79c5b1[_0x179281(0x45e)])){this[_0x179281(0x1d7)](_0x495e1b);return;}this[_0x179281(0x49c)](_0x495e1b),_0x531372[_0x179281(0x45e)]=_0x27353c[_0x179281(0xfa)]['memberID'],_0x495e1b[_0x179281(0x45f)]=0x0,_0x495e1b[_0x179281(0xd9)]=!0x0,_0x495e1b[_0x179281(0x24e)]=null,_0x495e1b[_0x179281(0x1ff)][_0x179281(0x12d)](_0x531372),this[_0x179281(0x277)]['next'](0x3);}_0x543ee1===_0x4500fa[_0x179281(0x3b9)][_0x179281(0x24f)]&&this['_clearTimeoutTimer'](_0x495e1b),this[_0x179281(0x142)](_0x495e1b);}[_0x28ce9c(0x1d6)](_0x10d9de){const _0x2d22da=_0x28ce9c;return[...this[_0x2d22da(0x1d9)][_0x2d22da(0x3dc)]()][_0x2d22da(0x1a1)](_0x1d9ea6=>_0x1d9ea6===_0x10d9de);}['_getSocketChannel'](_0x5650a8){const _0x1f0261=_0x28ce9c;let _0x1d4664=_0x5650a8??'',_0xe66f75=this[_0x1f0261(0x496)][_0x1f0261(0x21c)](_0x1d4664);if(_0xe66f75)return _0xe66f75;let _0x106ed3={'endpointKey':_0x1d4664,'endpoint':_0x5650a8,'socket$':new _0x5d1b30['BehaviorSubject'](void 0x0),'candidateSocket':null,'connectionAttempt':null,'socketReady':!0x1,'socketSubscription':null,'handshakeTimer':null,'retryConnectingTimer':null,'retryCount':0x0,'sendHeartbeatTimer':null,'timeoutTimer':null};return this['_socketChannels'][_0x1f0261(0x360)](_0x1d4664,_0x106ed3),_0x106ed3;}[_0x28ce9c(0x49c)](_0x54f0b2){const _0x41a275=_0x28ce9c;_0x54f0b2[_0x41a275(0x32f)]!=null&&(clearTimeout(_0x54f0b2[_0x41a275(0x32f)]),_0x54f0b2[_0x41a275(0x32f)]=null);}[_0x28ce9c(0x142)](_0x183eab){const _0xdac857=_0x28ce9c;this['_clearHeartbeatTimer'](_0x183eab),_0x183eab[_0xdac857(0xd9)]&&(_0x183eab[_0xdac857(0x16f)]=setTimeout(()=>this['_sendHeartbeat'](_0x183eab),this[_0xdac857(0x36f)]['getConfig'](_0xdac857(0xb8))??0x7530));}['_sendHeartbeat'](_0x1ca8b9){const _0x2247a2=_0x28ce9c;let _0x440722=_0x1ca8b9[_0x2247a2(0x1ff)]['getValue']();_0x1ca8b9['socketReady']&&_0x440722&&(_0x440722['send']({'cmd':_0x4500fa['CombCmd'][_0x2247a2(0x24f)]}),this[_0x2247a2(0x204)](_0x1ca8b9));}[_0x28ce9c(0x204)](_0x5cecf5){const _0x28ca2c=_0x28ce9c;_0x5cecf5['timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](_0x5cecf5),this[_0x28ca2c(0x36f)][_0x28ca2c(0x3ba)](_0x28ca2c(0x24a))??0x4e20);}['_clearHeartbeatTimer'](_0x246f66){const _0xf78845=_0x28ce9c;_0x246f66[_0xf78845(0x16f)]!=null&&(clearTimeout(_0x246f66[_0xf78845(0x16f)]),_0x246f66['sendHeartbeatTimer']=null);}[_0x28ce9c(0xb7)](_0x30949f){const _0x19a8d9=_0x28ce9c;_0x30949f[_0x19a8d9(0x3a3)]!=null&&(clearTimeout(_0x30949f[_0x19a8d9(0x3a3)]),_0x30949f[_0x19a8d9(0x3a3)]=null);}};_0x1c7cac=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x1,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x2,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x3,_0x51dc05),_0x26312a(0x4,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972)),_0x26312a(0x5,_0x8830e8)],_0x1c7cac);function _0x3d169f(_0x27d738){const _0x4c29ba=_0x28ce9c;if(_0x27d738['cmd']!==_0x4500fa[_0x4c29ba(0x3b9)][_0x4c29ba(0x383)])return!0x1;let _0x33e393=_0x27d738['data'][_0x4c29ba(0x202)];return _0x33e393===_0x59e2cb[_0x4c29ba(0x12b)][_0x4c29ba(0x3ce)]||_0x33e393===_0x59e2cb[_0x4c29ba(0x12b)]['FETCH_MISSING'];}function _0x143146(_0x313eda){const _0xeeb3aa=_0x28ce9c;var _0x58596a;if(!(_0x313eda instanceof _0x38af37[_0xeeb3aa(0x195)])||_0x313eda['status']!==0x193)return!0x1;let _0x3b3a8c=_0x313eda[_0xeeb3aa(0x430)];return(_0x3b3a8c==null||(_0x58596a=_0x3b3a8c[_0xeeb3aa(0x430)])==null?void 0x0:_0x58596a[_0xeeb3aa(0x3de)])===_0x4500fa[_0xeeb3aa(0x14d)][_0xeeb3aa(0x47c)];}let _0x22775e=class extends _0x594924[_0x28ce9c(0x1a9)]{constructor(_0x3da362,_0x3c6f3c,_0x23b1e8,_0x4007ec){const _0x49112c=_0x28ce9c;var _0x5b9bb6;super(),this[_0x49112c(0x476)]=_0x3da362,this[_0x49112c(0x1fe)]=_0x3c6f3c,this[_0x49112c(0x36f)]=_0x23b1e8,this[_0x49112c(0x464)]=_0x4007ec,_0x4c0132(this,'_entities',new Map()),_0x4c0132(this,_0x49112c(0x278),new _0x5d1b30[(_0x49112c(0x479))]()),_0x4c0132(this,_0x49112c(0x227),this[_0x49112c(0x278)][_0x49112c(0x2a6)]()),((_0x5b9bb6=this[_0x49112c(0x36f)][_0x49112c(0x3ba)]('collaboration-client.config'))==null?void 0x0:_0x5b9bb6['enableCollaboration'])!==!0x1&&this[_0x49112c(0x21d)]();}[_0x28ce9c(0x107)](){const _0x2502ff=_0x28ce9c;super[_0x2502ff(0x107)](),this[_0x2502ff(0x3ea)]['forEach'](_0xf84dbd=>_0xf84dbd[_0x2502ff(0x107)]()),this[_0x2502ff(0x3ea)][_0x2502ff(0x380)]();}[_0x28ce9c(0x159)](_0x51c602){const _0x45e3cb=_0x28ce9c;return this[_0x45e3cb(0x3ea)][_0x45e3cb(0x21c)](_0x51c602)??null;}[_0x28ce9c(0xed)](){const _0x3131bb=_0x28ce9c;return Array[_0x3131bb(0x391)](this[_0x3131bb(0x3ea)][_0x3131bb(0x3dc)]());}[_0x28ce9c(0x100)](_0xe61a46){const _0x2bbc5f=_0x28ce9c;let _0x129611=this[_0x2bbc5f(0x159)](_0xe61a46);return _0x129611?(0x0,_0x5d1b30['of'])(_0x129611):this[_0x2bbc5f(0x278)][_0x2bbc5f(0x3e8)]((0x0,_0x47dd8f['filter'])(_0x324cbb=>_0x324cbb[_0x2bbc5f(0x2b4)]===_0xe61a46));}[_0x28ce9c(0x19a)](_0x4e160b){const _0x145ef8=_0x28ce9c;return(0x0,_0x5d1b30[_0x145ef8(0xbe)])(this[_0x145ef8(0x100)](_0x4e160b)[_0x145ef8(0x3e8)]((0x0,_0x47dd8f['map'])(()=>void 0x0)));}[_0x28ce9c(0x299)](_0x3d9501){const _0x232b71=_0x28ce9c;if(_0x3d9501!==void 0x0){var _0x3fc5db;return((_0x3fc5db=this[_0x232b71(0x3ea)][_0x232b71(0x21c)](_0x3d9501))==null?void 0x0:_0x3fc5db[_0x232b71(0x299)]())??!0x1;}for(let _0x24e0a0 of this[_0x232b71(0x3ea)][_0x232b71(0x3dc)]())if(_0x24e0a0[_0x232b71(0x299)]())return!0x0;return!0x1;}[_0x28ce9c(0x21d)](){const _0x3fd245=_0x28ce9c;this[_0x3fd245(0x464)][_0x3fd245(0x40d)](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x43c)])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this[_0x3fd245(0x334)]),(0x0,_0x47dd8f[_0x3fd245(0x388)])(0x10))[_0x3fd245(0x335)](async _0x1cb553=>{const _0x34c746=_0x3fd245;let _0x18948c=_0x1cb553[_0x34c746(0x146)][_0x34c746(0x3b8)](),_0x5c90d5=await this[_0x34c746(0x1f1)](_0x18948c,_0x594924['UniverInstanceType'][_0x34c746(0x43c)]);this['_entities'][_0x34c746(0x360)](_0x18948c,_0x5c90d5);}),this[_0x3fd245(0x464)][_0x3fd245(0x40d)](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x310)])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this[_0x3fd245(0x334)]),(0x0,_0x47dd8f[_0x3fd245(0x388)])(0x10))[_0x3fd245(0x3e8)]((0x0,_0x47dd8f[_0x3fd245(0xda)])(_0x7fb864=>!_0x7fb864[_0x3fd245(0x146)][_0x3fd245(0x3b8)]()[_0x3fd245(0x2dc)]('__')))[_0x3fd245(0x335)](async _0x140e8f=>{const _0x35813a=_0x3fd245;let _0x1e2861=_0x140e8f[_0x35813a(0x146)][_0x35813a(0x3b8)](),_0x13a698=await this[_0x35813a(0x1f1)](_0x1e2861,_0x594924[_0x35813a(0x3ed)][_0x35813a(0x310)]);this['_entities'][_0x35813a(0x360)](_0x1e2861,_0x13a698);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x379)])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this[_0x3fd245(0x334)]),(0x0,_0x47dd8f[_0x3fd245(0x388)])(0x10))['subscribe'](async _0x138412=>{const _0x33a8cc=_0x3fd245;let _0x29802e=_0x138412[_0x33a8cc(0x146)][_0x33a8cc(0x3b8)](),_0x128b75=await this[_0x33a8cc(0x1f1)](_0x29802e,_0x594924[_0x33a8cc(0x3ed)]['UNIVER_SLIDE']);this[_0x33a8cc(0x3ea)][_0x33a8cc(0x360)](_0x29802e,_0x128b75);}),this['_univerInstanceService'][_0x3fd245(0x40d)](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x133)])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this['dispose$']),(0x0,_0x47dd8f['delay'])(0x10))[_0x3fd245(0x335)](async _0x295c2d=>{const _0x5da426=_0x3fd245;let _0x1e04b6=_0x295c2d[_0x5da426(0x146)][_0x5da426(0x3b8)](),_0x224b4e=await this['_startCollaboration'](_0x1e04b6,_0x594924[_0x5da426(0x3ed)][_0x5da426(0x133)]);this[_0x5da426(0x3ea)][_0x5da426(0x360)](_0x1e04b6,_0x224b4e);}),this[_0x3fd245(0x464)][_0x3fd245(0x40d)](_0x594924[_0x3fd245(0x3ed)]['UNIVER_BASE'])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this[_0x3fd245(0x334)]),(0x0,_0x47dd8f[_0x3fd245(0x388)])(0x10))[_0x3fd245(0x335)](async _0x5ab8f5=>{const _0x39887a=_0x3fd245;let _0x24f868=_0x5ab8f5['unit']['getUnitId'](),_0x2e2022=await this['_startCollaboration'](_0x24f868,_0x594924[_0x39887a(0x3ed)]['UNIVER_BASE']);this[_0x39887a(0x3ea)][_0x39887a(0x360)](_0x24f868,_0x2e2022);}),this[_0x3fd245(0x464)]['getTypeOfUnitAdded$'](_0x594924['UniverInstanceType'][_0x3fd245(0x10b)])[_0x3fd245(0x3e8)]((0x0,_0x5d1b30[_0x3fd245(0x13c)])(this[_0x3fd245(0x334)]),(0x0,_0x47dd8f[_0x3fd245(0x388)])(0x10))[_0x3fd245(0x335)](async _0x45d813=>{const _0x7cb407=_0x3fd245;let _0x4eb768=_0x45d813['unit'][_0x7cb407(0x3b8)](),_0x1a100c=await this[_0x7cb407(0x1f1)](_0x4eb768,_0x594924[_0x7cb407(0x3ed)]['UNIVER_PDF']);this['_entities']['set'](_0x4eb768,_0x1a100c);}),(0x0,_0x5d1b30[_0x3fd245(0x104)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)]['UNIVER_SHEET']),this[_0x3fd245(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x310)]),this[_0x3fd245(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x379)]),this[_0x3fd245(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)][_0x3fd245(0x133)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)]['UNIVER_BASE']),this[_0x3fd245(0x464)]['getTypeOfUnitDisposed$'](_0x594924[_0x3fd245(0x3ed)]['UNIVER_PDF']))['pipe']((0x0,_0x5d1b30['takeUntil'])(this[_0x3fd245(0x334)]))[_0x3fd245(0x335)](_0x5499d1=>{const _0x337861=_0x3fd245;let _0x3a6d06=_0x5499d1[_0x337861(0x3b8)](),_0x36b08b=this['_entities'][_0x337861(0x21c)](_0x3a6d06);_0x36b08b&&(_0x36b08b[_0x337861(0x107)](),this[_0x337861(0x3ea)][_0x337861(0x203)](_0x3a6d06));});}async[_0x28ce9c(0x1f1)](_0x3ab04b,_0x3a74ee){const _0xd2d5f0=_0x28ce9c;let _0x5869ca=await this[_0xd2d5f0(0x1fe)]['requireSession'](_0x3ab04b),_0x1a849d=this['_injector']['createInstance'](this['_getCtorByUniverInstanceType'](_0x3a74ee),_0x3ab04b,_0x3a74ee,_0x5869ca);return await _0x1a849d[_0xd2d5f0(0x34d)](),this[_0xd2d5f0(0x278)][_0xd2d5f0(0x12d)](_0x1a849d),_0x1a849d;}[_0x28ce9c(0x46c)](_0x5514f7){const _0x8e457c=_0x28ce9c;switch(_0x5514f7){case _0x594924[_0x8e457c(0x3ed)][_0x8e457c(0x310)]:return _0x4a949e;case _0x594924[_0x8e457c(0x3ed)][_0x8e457c(0x43c)]:return _0x5afe54;case _0x594924[_0x8e457c(0x3ed)][_0x8e457c(0x379)]:return _0x32033d;case _0x594924[_0x8e457c(0x3ed)][_0x8e457c(0x133)]:return _0x59d8da;case _0x594924['UniverInstanceType'][_0x8e457c(0x145)]:return _0x4b8df2;case _0x594924[_0x8e457c(0x3ed)][_0x8e457c(0x10b)]:return _0x2b7afa;default:throw Error(_0x8e457c(0x306)+_0x5514f7);}}};_0x22775e=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924['Inject'])(_0x594924['Injector'])),_0x26312a(0x1,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x1c7cac)),_0x26312a(0x2,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x3,_0x594924[_0x28ce9c(0xdf)])],_0x22775e);var _0x3ca81e=_0x28ce9c(0x232),_0xcbc3c0=_0x28ce9c(0x190);let _0x301b65=class extends _0x594924['Disposable']{constructor(_0x5463de,_0x13fdf3){const _0xada7d2=_0x28ce9c;super(),this[_0xada7d2(0x464)]=_0x5463de,this[_0xada7d2(0x36f)]=_0x13fdf3,this[_0xada7d2(0x21d)]();}[_0x28ce9c(0x21d)](){const _0x2dded0=_0x28ce9c;this[_0x2dded0(0x416)](this['_univerInstanceService']['focused$']['subscribe'](()=>{const _0x2155c1=_0x2dded0;let _0x4e16a4=this[_0x2155c1(0x464)][_0x2155c1(0xf5)](),_0x570654=this[_0x2155c1(0x36f)]['getConfig'](_0x2155c1(0x456))??_0x2155c1(0x32b);_0x4e16a4 instanceof _0x594924[_0x2155c1(0x292)]&&(_0x570654=_0x4e16a4['name']),document[_0x2155c1(0xea)]=_0x570654;}));}};_0x301b65=_0x5da6ca([_0x26312a(0x0,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0x1,_0x594924[_0x28ce9c(0x101)])],_0x301b65);let _0x4e9a00=(0x0,_0x594924[_0x28ce9c(0x2ab)])('base-ui.attachment-io.service'),_0x1e204e=class{constructor(_0x280a83,_0x571b98,_0x2dfbbb){const _0x4bcb13=_0x28ce9c;this[_0x4bcb13(0x33f)]=_0x280a83,this[_0x4bcb13(0x36f)]=_0x571b98,this[_0x4bcb13(0x464)]=_0x2dfbbb;}['getUploadOptions'](){const _0x7488bc=_0x28ce9c;return this[_0x7488bc(0x3f1)]()['attachment']??{};}async['saveAttachment'](_0x2060ce){const _0x47ead9=_0x28ce9c;let _0x103a68=this[_0x47ead9(0x47e)]();if(_0x3678aa(_0x2060ce,_0x103a68),_0x103a68[_0x47ead9(0x396)])return _0x103a68[_0x47ead9(0x396)](_0x2060ce);let _0x30e4f7=await this['_upload'](_0x2060ce);return{'id':_0x30e4f7,'name':_0x2060ce[_0x47ead9(0x1b2)],'mimeType':_0x2060ce[_0x47ead9(0x23b)],'size':_0x2060ce[_0x47ead9(0x3b5)],'sourceType':_0x594924[_0x47ead9(0x3c8)][_0x47ead9(0x38e)],'source':_0x30e4f7};}async[_0x28ce9c(0xae)](_0x10bd44,_0x50f4f9){const _0x4bc9ce=_0x28ce9c;if(_0x50f4f9!==_0x594924[_0x4bc9ce(0x3c8)][_0x4bc9ce(0x38e)])return _0x10bd44;let _0x496afc=(await this['_httpService'][_0x4bc9ce(0x21c)](this[_0x4bc9ce(0x23f)]()[_0x4bc9ce(0x3ae)](_0x4bc9ce(0x1ee),_0x10bd44)))['body'];if(_0x496afc[_0x4bc9ce(0x430)]&&_0x496afc[_0x4bc9ce(0x430)][_0x4bc9ce(0x3de)]!==_0x4500fa[_0x4bc9ce(0x14d)]['OK'])throw _0x496afc[_0x4bc9ce(0x430)];if(!_0x496afc[_0x4bc9ce(0x199)])throw Error(_0x4bc9ce(0x1a2));return(0x0,_0x594924[_0x4bc9ce(0x1bd)])(_0x496afc[_0x4bc9ce(0x199)],this[_0x4bc9ce(0x40b)]());}async['_upload'](_0x1b3524){const _0x11f790=_0x28ce9c;let _0x1f6443=this[_0x11f790(0x464)]['getFocusedUnit'](),_0x1dce80=_0x1f6443==null?void 0x0:_0x1f6443[_0x11f790(0x3b8)]();if(!_0x1dce80)throw Error(_0x11f790(0x3fa));let _0xb480ba=new FormData();_0xb480ba[_0x11f790(0x275)](_0x11f790(0xf0),_0x1b3524);let _0x2ad7d8=this['_getUploadFileURL']()+_0x11f790(0x472)+_0x1b3524[_0x11f790(0x3b5)][_0x11f790(0x144)]()+_0x11f790(0x1ef)+_0x4500fa[_0x11f790(0x3cc)][_0x11f790(0x3d1)]+'&assign='+encodeURIComponent(_0x1dce80),_0x22afa4=(await this[_0x11f790(0x33f)][_0x11f790(0x1fa)](_0x2ad7d8,{'body':_0xb480ba}))['body']['FileId'];if(typeof _0x22afa4!=_0x11f790(0x1a5)||!_0x22afa4)throw Error(_0x11f790(0x166));return _0x22afa4;}['_getUploadFileURL'](){const _0x442f77=_0x28ce9c;return this[_0x442f77(0x3f1)]()[_0x442f77(0x2cf)]??_0x442f77(0xb9);}[_0x28ce9c(0x23f)](){const _0x30cc83=_0x28ce9c;return this[_0x30cc83(0x3f1)]()[_0x30cc83(0x1e3)]??'/universer-api/file/{fileID}/sign-url';}['_getDownloadEndpointURL'](){const _0x32e3d9=_0x28ce9c;let _0x460504=this['_getConfig']();return _0x460504['downloadEndpointUrl']?_0x460504[_0x32e3d9(0x426)]:typeof location<'u'?location['origin']:_0x460504[_0x32e3d9(0x2cf)]??'';}[_0x28ce9c(0x3f1)](){const _0xec919e=_0x28ce9c;return this[_0xec919e(0x36f)][_0xec919e(0x3ba)](_0xec919e(0x48e))??{};}};_0x1e204e=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x38af37[_0x28ce9c(0x41f)])),_0x26312a(0x1,(0x0,_0x594924['Inject'])(_0x594924[_0x28ce9c(0x101)])),_0x26312a(0x2,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924['IUniverInstanceService']))],_0x1e204e);function _0x3678aa(_0x493b70,_0x2b436f){const _0x5b08a1=_0x28ce9c;var _0xce53d5;if(_0x2b436f[_0x5b08a1(0x11e)]!=null&&_0x493b70[_0x5b08a1(0x3b5)]>_0x2b436f[_0x5b08a1(0x11e)])throw Error(_0x5b08a1(0x469));if((_0xce53d5=_0x2b436f[_0x5b08a1(0x458)])!=null&&_0xce53d5[_0x5b08a1(0x4a3)]&&!_0x2b436f['accept'][_0x5b08a1(0x1a1)](_0x3bcbba=>_0x493b70['type']===_0x3bcbba||_0x493b70['name']['endsWith'](_0x3bcbba)||_0x3bcbba[_0x5b08a1(0xba)]('/*')&&_0x493b70[_0x5b08a1(0x23b)][_0x5b08a1(0x2dc)](_0x3bcbba[_0x5b08a1(0x15e)](0x0,-0x1))))throw Error(_0x5b08a1(0x398));}let _0x300808=class{constructor(_0x4bf24f,_0x5ec962,_0x2ef7c7){const _0x2851ff=_0x28ce9c;this[_0x2851ff(0x36f)]=_0x4bf24f,this['_httpService']=_0x5ec962,this[_0x2851ff(0xdb)]=_0x2ef7c7,this[_0x2851ff(0x34d)]();}[_0x28ce9c(0x34d)](){const _0x18020b=_0x28ce9c;this[_0x18020b(0x33f)][_0x18020b(0x397)]({'priority':0x1,'interceptor':(_0x5b3080,_0x2d23ce)=>_0x2d23ce(_0x5b3080)[_0x18020b(0x3e8)]((0x0,_0x5d1b30[_0x18020b(0xaa)])(async _0x1c081e=>{const _0xb3366a=_0x18020b;let _0x57d3be=_0x1c081e;if(_0x57d3be[_0xb3366a(0x477)]===0x191){if(typeof window>'u')throw Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0xb3366a(0x27e)](this[_0xb3366a(0xdb)]['t'](_0xb3366a(0x32a)))){let _0x13a1e9=window[_0xb3366a(0x25e)](window[_0xb3366a(0x289)]['href']);window[_0xb3366a(0x289)][_0xb3366a(0x1d5)]=this[_0xb3366a(0x12a)]()+_0xb3366a(0x3b4)+_0x13a1e9;}}return _0x57d3be;}))});}[_0x28ce9c(0x12a)](){const _0x222e3f=_0x28ce9c;let _0x53bc08=this[_0x222e3f(0x36f)]['getConfig'](_0xe358d2);return(_0x53bc08==null?void 0x0:_0x53bc08[_0x222e3f(0x106)])??_0x222e3f(0xc4);}};_0x300808=_0x5da6ca([_0x26312a(0x0,_0x594924['IConfigService']),_0x26312a(0x1,(0x0,_0x594924['Inject'])(_0x38af37['HTTPService'])),_0x26312a(0x2,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x3a4)]))],_0x300808);let _0x30f9ac=class extends _0x594924['Disposable']{constructor(_0x4a3d7e,_0x5494b9){const _0x4e2119=_0x28ce9c;super(),this['_HTTPService']=_0x4a3d7e,this['_configService']=_0x5494b9,_0x4c0132(this,'_cfgEnableObjInherit',!0x1),this[_0x4e2119(0x1fc)]();}[_0x28ce9c(0x1fc)](){const _0x17b284=_0x28ce9c;let _0x510b7e=this;this[_0x17b284(0x416)](this[_0x17b284(0xb1)][_0x17b284(0x397)]({'priority':0x3e7,'interceptor':(0x0,_0x38af37['MergeInterceptorFactory'])({'isMatch'(_0x52202e){const _0x4dd0b6=_0x17b284;var _0x11cf00;if(_0x52202e['method']===_0x4dd0b6(0x363)&&(_0x11cf00=_0x52202e[_0x4dd0b6(0x1ab)])!=null&&_0x11cf00[_0x4dd0b6(0x2b7)]){let {objectID:_0x1cde14,objectType:_0xac2676}=_0x52202e[_0x4dd0b6(0x1ab)][_0x4dd0b6(0x2b7)]||{};if(!_0x1cde14||_0xac2676===void 0x0)return!0x1;let _0x49b498=_0x510b7e[_0x4dd0b6(0x404)]()+'/'+_0xac2676+_0x4dd0b6(0x1bc)+encodeURIComponent(_0x1cde14)+'/allowed';if(_0x52202e[_0x4dd0b6(0x199)]===_0x49b498)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x13e794){const _0x240df3=_0x17b284;var _0x306177;return(_0x306177=_0x13e794[_0x240df3(0x1ab)])==null?void 0x0:_0x306177[_0x240df3(0x2b7)];},'mergeParamsToRequest'(_0x4c20e9,_0x2d2626){const _0x3f883f=_0x17b284;let _0x11e314=_0x510b7e[_0x3f883f(0x404)]()+_0x3f883f(0x197),_0x2680fb=_0x4c20e9[_0x3f883f(0x3ec)]((_0x278a92,_0x58fd79)=>{const _0x2ddc99=_0x3f883f;let {unitID:_0x3845de,objectID:_0x22d47e,objectType:_0x1b253a,actions:_0x4a1aae}=_0x58fd79;return _0x278a92[_0x3845de]||(_0x278a92[_0x3845de]=Object['create'](null)),_0x278a92[_0x3845de][_0x22d47e]||(_0x278a92[_0x3845de][_0x22d47e]={'objectID':_0x22d47e,'objectType':_0x1b253a,'actions':[]}),_0x278a92[_0x3845de][_0x22d47e][_0x2ddc99(0xd1)][_0x2ddc99(0x210)](..._0x4a1aae),_0x278a92;},Object[_0x3f883f(0xb6)](null)),_0x5e8ef4=[];for(let _0x443489 in _0x2680fb)for(let _0x109c41 in _0x2680fb[_0x443489]){let {actions:_0xbfcef2,objectType:_0x5796b9}=_0x2680fb[_0x443489][_0x109c41],_0x5e50ad=[...new Set(_0xbfcef2)];_0x5e8ef4['push']({'unitID':_0x443489,'objectID':_0x109c41,'objectType':_0x5796b9,'actions':_0x5e50ad});}return new _0x38af37[(_0x3f883f(0x3aa))]('POST',_0x11e314,{'headers':_0x2d2626[_0x3f883f(0xcf)],'withCredentials':_0x2d2626['withCredentials'],'responseType':_0x2d2626[_0x3f883f(0x2e3)],'body':{'requests':_0x5e8ef4}});}},{'distributeResult'(_0x5436dc,_0x355cdc){const _0x176662=_0x17b284;let {objectActions:_0x1d9723}=_0x5436dc;return _0x355cdc[_0x176662(0x225)](_0x5cac0e=>{const _0x1a0c96=_0x176662;let {unitID:_0x3d3eb9,objectID:_0x2e1e90,actions:_0xa60862}=_0x5cac0e,_0x4fa2c5=_0x1d9723[_0x1a0c96(0x2db)](_0x3fe476=>_0x3fe476[_0x1a0c96(0x2b4)]===_0x3d3eb9&&_0x3fe476[_0x1a0c96(0x449)]===_0x2e1e90);return{'config':_0x5cac0e,'result':{'actions':_0xa60862[_0x1a0c96(0x225)](_0x54d518=>_0x4fa2c5==null?void 0x0:_0x4fa2c5[_0x1a0c96(0xd1)][_0x1a0c96(0x2db)](_0x2c17a2=>_0x2c17a2[_0x1a0c96(0x272)]===_0x54d518))['filter'](_0x2a83a1=>!!_0x2a83a1),'error':_0x5436dc['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3fca2f=_0x28ce9c;let _0x53b439=this['_configService'][_0x3fca2f(0x3ba)](_0xe358d2);return(_0x53b439==null?void 0x0:_0x53b439[_0x3fca2f(0x440)])??_0x3fca2f(0x102);}async[_0x28ce9c(0xb6)](_0x692d8b){const _0xb2b061=_0x28ce9c;let _0x58ee5a=this[_0xb2b061(0x404)]()+'/'+_0x692d8b[_0xb2b061(0x206)]+'/object';return(await this['_HTTPService'][_0xb2b061(0x1fa)](_0x58ee5a,{'body':_0x692d8b}))[_0xb2b061(0x2b7)]['objectID']||'';}async[_0x28ce9c(0x36b)](_0x1eb97d){const _0x185cfb=_0x28ce9c;let _0x579930=this[_0x185cfb(0x404)]()+_0x185cfb(0x47d);return(await this[_0x185cfb(0xb1)]['post'](_0x579930,{'body':_0x1eb97d}))['body'][_0x185cfb(0x41b)];}async[_0x28ce9c(0x436)](_0x2bed1e){const _0x18c2c2=_0x28ce9c;var _0x120f5a;let _0x4cfca4=this['_getAPIPrefixPath']()+'/'+_0x2bed1e[_0x18c2c2(0x206)]+_0x18c2c2(0x1bc)+encodeURIComponent(_0x2bed1e[_0x18c2c2(0x449)]),_0x5b51d7=await this[_0x18c2c2(0xb1)][_0x18c2c2(0x248)](_0x4cfca4,{'body':_0x2bed1e});if((_0x5b51d7==null||(_0x120f5a=_0x5b51d7[_0x18c2c2(0x2b7)])==null||(_0x120f5a=_0x120f5a[_0x18c2c2(0x430)])==null?void 0x0:_0x120f5a['code'])!==0x1)throw Error(_0x18c2c2(0x109));}async[_0x28ce9c(0x347)](_0x5d115b){const _0x11ca85=_0x28ce9c;let _0x519b36=this[_0x11ca85(0x404)]()+'/'+_0x5d115b[_0x11ca85(0x206)]+_0x11ca85(0x1bc)+encodeURIComponent(_0x5d115b[_0x11ca85(0x449)])+_0x11ca85(0x157);return(await this[_0x11ca85(0xb1)][_0x11ca85(0x1fa)](_0x519b36,{'body':_0x5d115b}))[_0x11ca85(0x2b7)][_0x11ca85(0xd1)];}async[_0x28ce9c(0x165)](_0x4693b5){const _0x271fa4=_0x28ce9c;let _0x410ab9=this[_0x271fa4(0x404)]()+_0x271fa4(0x197);return(await this[_0x271fa4(0xb1)][_0x271fa4(0x1fa)](_0x410ab9,{'body':{'requests':_0x4693b5}}))[_0x271fa4(0x2b7)][_0x271fa4(0x459)];}async[_0x28ce9c(0x1f2)](_0x903d64){const _0x2e88b4=_0x28ce9c;let _0x1b229b=this[_0x2e88b4(0x404)]()+'/'+_0x903d64['objectType']+_0x2e88b4(0x24c),_0x48e111=await this[_0x2e88b4(0xb1)]['post'](_0x1b229b,{'body':_0x903d64});return{'roles':_0x48e111[_0x2e88b4(0x2b7)][_0x2e88b4(0x189)],'actions':_0x48e111[_0x2e88b4(0x2b7)][_0x2e88b4(0xd1)]};}async[_0x28ce9c(0x2d9)](_0x3d922b){const _0x3214eb=_0x28ce9c;let _0x5f3bf6=this[_0x3214eb(0x404)]()+_0x3214eb(0x303);await this[_0x3214eb(0xb1)][_0x3214eb(0x203)](_0x5f3bf6,{'params':{'collaboratorID':_0x3d922b[_0x3214eb(0xff)],'objectID':_0x3d922b[_0x3214eb(0x449)],'unitID':_0x3d922b[_0x3214eb(0x2b4)]}});}async[_0x28ce9c(0x47f)](_0x59b6ad){const _0x47a98b=_0x28ce9c;let _0x2263eb=this[_0x47a98b(0x404)]()+'/collaborator';await this[_0x47a98b(0xb1)][_0x47a98b(0x1af)](_0x2263eb,{'body':_0x59b6ad});}async[_0x28ce9c(0x12e)](_0x253c53){const _0x2667c2=_0x28ce9c;let _0x739172=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2667c2(0xb1)][_0x2667c2(0x1fa)](_0x739172,{'body':_0x253c53});}async[_0x28ce9c(0xbb)](_0x344674){const _0x16efa3=_0x28ce9c;let _0x496cc6=this[_0x16efa3(0x404)]()+_0x16efa3(0x303),_0x1a943f=await this[_0x16efa3(0xb1)][_0x16efa3(0x21c)](_0x496cc6,{'params':{'objectID':_0x344674['objectID'],'unitID':_0x344674[_0x16efa3(0x2b4)]}});return this[_0x16efa3(0x35e)](_0x1a943f[_0x16efa3(0x2b7)][_0x16efa3(0x254)]??!0x1),_0x1a943f[_0x16efa3(0x2b7)][_0x16efa3(0x499)];}async['putCollaborators'](_0x38f8d6){const _0x1c48b8=_0x28ce9c;let _0x546935=this[_0x1c48b8(0x404)]()+_0x1c48b8(0x303);await this[_0x1c48b8(0xb1)]['put'](_0x546935,{'body':_0x38f8d6});}[_0x28ce9c(0x35e)](_0x692736){const _0x27423b=_0x28ce9c;this[_0x27423b(0xd4)]=_0x692736;}['getCfgEnableObjInherit'](){const _0x2de9b2=_0x28ce9c;return this[_0x2de9b2(0xd4)];}};_0x30f9ac=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x38af37['HTTPService'])),_0x26312a(0x1,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x101)]))],_0x30f9ac);function _0x353855(_0x3f5d4c){const _0x5f274f=_0x28ce9c;return _0x3f5d4c instanceof Uint8Array||ArrayBuffer[_0x5f274f(0x327)](_0x3f5d4c)&&_0x3f5d4c['constructor']['name']==='Uint8Array'&&_0x5f274f(0x3fc)in _0x3f5d4c&&_0x3f5d4c[_0x5f274f(0x3fc)]===0x1;}let _0x38b34f=_0x59c5a8=>_0x59c5a8?'\x22'+_0x59c5a8+'\x22\x20':'';function _0x51220a(_0x11ef41,_0x21eac5=''){const _0x462240=_0x28ce9c;if(typeof _0x11ef41!=_0x462240(0x33d))throw TypeError(_0x38b34f(_0x21eac5)+_0x462240(0x3c4)+typeof _0x11ef41);if(!Number[_0x462240(0x29d)](_0x11ef41)||_0x11ef41<0x0)throw RangeError(_0x38b34f(_0x21eac5)+_0x462240(0x315)+_0x11ef41);return _0x11ef41;}function _0xa7c855(_0x562ad4,_0x47f9a2,_0x7a5c7d=''){const _0x1d0f42=_0x28ce9c;if(_0x353855(_0x562ad4)&&(_0x47f9a2===void 0x0||_0x562ad4['length']===_0x47f9a2))return _0x562ad4;_0x47f9a2!==void 0x0&&_0x51220a(_0x47f9a2,'length');let _0x3b948b=_0x353855(_0x562ad4),_0x1bad49=_0x47f9a2===void 0x0?'':_0x1d0f42(0x3e3)+_0x47f9a2,_0x43be93=_0x3b948b?_0x1d0f42(0x39a)+_0x562ad4[_0x1d0f42(0x4a3)]:_0x1d0f42(0x176)+typeof _0x562ad4,_0x1cfdc9=_0x38b34f(_0x7a5c7d)+_0x1d0f42(0x36c)+_0x1bad49+_0x1d0f42(0x483)+_0x43be93;throw _0x3b948b?RangeError(_0x1cfdc9):TypeError(_0x1cfdc9);}function _0x5b41f9(_0x17d9e0){const _0x1d5cc9=_0x28ce9c;return new Uint32Array(_0x17d9e0[_0x1d5cc9(0x2bf)],_0x17d9e0[_0x1d5cc9(0x2c2)],Math['floor'](_0x17d9e0[_0x1d5cc9(0x22f)]/0x4));}function _0x43d9d2(..._0x33114a){const _0x4041af=_0x28ce9c;for(let _0x2904c8=0x0;_0x2904c8<_0x33114a[_0x4041af(0x4a3)];_0x2904c8++)_0x33114a[_0x2904c8][_0x4041af(0xf7)](0x0);}let _0xab4a8=new Uint8Array(new Uint32Array([0x11223344])[_0x28ce9c(0x2bf)])[0x0]===0x44;function _0x32e79b(_0x45c7a7){return _0x45c7a7<<0x18&0xff000000|_0x45c7a7<<0x8&0xff0000|_0x45c7a7>>>0x8&0xff00|_0x45c7a7>>>0x18&0xff;}function _0x2daa10(_0x9dc1a0){const _0x191e29=_0x28ce9c;for(let _0x3979fe=0x0;_0x3979fe<_0x9dc1a0[_0x191e29(0x4a3)];_0x3979fe++)_0x9dc1a0[_0x3979fe]=_0x32e79b(_0x9dc1a0[_0x3979fe]);return _0x9dc1a0;}let _0x590274=_0xab4a8?_0x9ab695=>_0x9ab695:_0x2daa10;function _0x433712(_0x1eb9ff){const _0x4c1ed8=_0x28ce9c;if(typeof _0x1eb9ff!=_0x4c1ed8(0x1a5))throw TypeError(_0x4c1ed8(0x2f5));return new Uint8Array(new TextEncoder()[_0x4c1ed8(0x2c4)](_0x1eb9ff));}function _0x50f7de(_0x236654,_0x59a73b){const _0x34fb96=_0x28ce9c;return!_0x236654[_0x34fb96(0x22f)]||!_0x59a73b[_0x34fb96(0x22f)]?!0x1:_0x236654[_0x34fb96(0x2bf)]===_0x59a73b[_0x34fb96(0x2bf)]&&_0x236654[_0x34fb96(0x2c2)]<_0x59a73b[_0x34fb96(0x2c2)]+_0x59a73b['byteLength']&&_0x59a73b[_0x34fb96(0x2c2)]<_0x236654[_0x34fb96(0x2c2)]+_0x236654[_0x34fb96(0x22f)];}function _0xccb3df(_0x192e11,_0xda1ccb){const _0xddb7eb=_0x28ce9c;if(_0x50f7de(_0x192e11,_0xda1ccb)&&_0x192e11['byteOffset']<_0xda1ccb[_0xddb7eb(0x2c2)])throw Error(_0xddb7eb(0x1a3));}function _0x5bda9f(..._0xe88608){const _0x288d62=_0x28ce9c;let _0x55183d=0x0;for(let _0x3ce11b=0x0;_0x3ce11b<_0xe88608[_0x288d62(0x4a3)];_0x3ce11b++){let _0x30c376=_0xe88608[_0x3ce11b];_0xa7c855(_0x30c376),_0x55183d+=_0x30c376[_0x288d62(0x4a3)];}let _0x148d8e=new Uint8Array(_0x55183d);for(let _0x42b29f=0x0,_0x57e2db=0x0;_0x42b29f<_0xe88608[_0x288d62(0x4a3)];_0x42b29f++){let _0x434992=_0xe88608[_0x42b29f];_0x148d8e[_0x288d62(0x360)](_0x434992,_0x57e2db),_0x57e2db+=_0x434992[_0x288d62(0x4a3)];}return _0x148d8e;}let _0x56531b=(_0x2db41b,_0x36ae19)=>{const _0x2f2d20=_0x28ce9c;function _0x5caf85(_0x127063,..._0x22913b){const _0x1a6cc3=_0x3cef;if(_0xa7c855(_0x127063,void 0x0,_0x1a6cc3(0x219)),_0x2db41b[_0x1a6cc3(0xf6)]!==void 0x0){let _0x4a6158=_0x22913b[0x0];_0xa7c855(_0x4a6158,_0x2db41b[_0x1a6cc3(0x349)]?void 0x0:_0x2db41b[_0x1a6cc3(0xf6)],_0x1a6cc3(0x457));}let _0x59c68f=_0x2db41b[_0x1a6cc3(0x114)],_0x14947e=_0x2db41b[_0x1a6cc3(0xf6)]===void 0x0?0x0:0x1;if(!_0x2db41b['withAAD']){for(let _0x2ba806=_0x14947e;_0x2ba806<_0x22913b[_0x1a6cc3(0x4a3)];_0x2ba806++)if(_0x353855(_0x22913b[_0x2ba806]))throw Error(_0x1a6cc3(0x2eb));}_0x2db41b[_0x1a6cc3(0x358)]&&_0x22913b[_0x14947e]!==void 0x0&&_0xa7c855(_0x22913b[_0x14947e],void 0x0,_0x1a6cc3(0x2b6));let _0x5ab262=_0x36ae19(_0x127063,..._0x22913b),_0x4ca7c0=(_0x567fb9,_0x6dadc3)=>{const _0xfb983a=_0x1a6cc3;if(_0x6dadc3!==void 0x0){if(_0x567fb9!==0x2)throw Error(_0xfb983a(0x452));_0xa7c855(_0x6dadc3,void 0x0,'output');}},_0x2093a4=!0x1;return{'encrypt'(_0x9f46e7,_0x401852){const _0x1d4199=_0x1a6cc3;if(_0x2093a4)throw Error('cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce');return _0x2093a4=!0x0,_0xa7c855(_0x9f46e7,void 0x0,'data'),_0x4ca7c0(_0x5ab262[_0x1d4199(0x1c5)]['length'],_0x401852),_0x5ab262[_0x1d4199(0x1c5)](_0x9f46e7,_0x401852);},'decrypt'(_0x209ed4,_0x5db1d2){const _0x22b220=_0x1a6cc3;if(_0xa7c855(_0x209ed4,void 0x0,_0x22b220(0xfa)),_0x59c68f&&_0x209ed4[_0x22b220(0x4a3)]<_0x59c68f)throw Error(_0x22b220(0x337)+_0x59c68f);return _0x4ca7c0(_0x5ab262[_0x22b220(0x27f)][_0x22b220(0x4a3)],_0x5db1d2),_0x5ab262[_0x22b220(0x27f)](_0x209ed4,_0x5db1d2);}};}return Object[_0x2f2d20(0x268)](_0x5caf85,_0x2db41b),_0x5caf85;};function _0x2d854f(_0x325eba,_0x4fd980,_0x3fbe42=!0x0){const _0x9413d=_0x28ce9c;if(_0x4fd980===void 0x0)return new Uint8Array(_0x325eba);if(_0xa7c855(_0x4fd980,_0x325eba,_0x9413d(0x40c)),_0x3fbe42&&!_0x3e109b(_0x4fd980))throw Error('invalid\x20output,\x20must\x20be\x20aligned');return _0x4fd980;}function _0x3e109b(_0x4f857f){const _0x14376b=_0x28ce9c;return _0x4f857f[_0x14376b(0x2c2)]%0x4==0x0;}function _0x57b968(_0x18aa85){return Uint8Array['from'](_0xa7c855(_0x18aa85));}function _0x4e2e1d(_0x48634d=0x20){const _0x3d26ab=_0x28ce9c;_0x51220a(_0x48634d,_0x3d26ab(0xa8));let _0x47473e=typeof globalThis=='object'?globalThis[_0x3d26ab(0x235)]:null;if(typeof(_0x47473e==null?void 0x0:_0x47473e[_0x3d26ab(0xd3)])!=_0x3d26ab(0x28e))throw Error('crypto.getRandomValues\x20must\x20be\x20defined');if(_0x48634d>0x10000)throw RangeError(_0x3d26ab(0x3a0)+_0x48634d);return _0x47473e[_0x3d26ab(0xd3)](new Uint8Array(_0x48634d));}function _0x215eb3(_0x560458){const _0x485fd0=_0x28ce9c;if(![0x10,0x18,0x20][_0x485fd0(0x2cb)](_0x560458[_0x485fd0(0x4a3)]))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x560458['length']);}function _0x52f7e6(_0x5285a3){return _0x5285a3<<0x1^0x11b&-(_0x5285a3>>0x7);}function _0x158ceb(_0x30e6fc,_0x5bbe90){let _0x34dca0=0x0;for(;_0x5bbe90>0x0;_0x5bbe90>>=0x1)_0x34dca0^=_0x30e6fc&-(_0x5bbe90&0x1),_0x30e6fc=_0x52f7e6(_0x30e6fc);return _0x34dca0;}let _0x56c8e9=((()=>{let _0x652354=new Uint8Array(0x100);for(let _0x2f8dc7=0x0,_0x220641=0x1;_0x2f8dc7<0x100;_0x2f8dc7++,_0x220641^=_0x52f7e6(_0x220641))_0x652354[_0x2f8dc7]=_0x220641;let _0x761f8b=new Uint8Array(0x100);_0x761f8b[0x0]=0x63;for(let _0x346007=0x0;_0x346007<0xff;_0x346007++){let _0x3090cf=_0x652354[0xff-_0x346007];_0x3090cf|=_0x3090cf<<0x8,_0x761f8b[_0x652354[_0x346007]]=(_0x3090cf^_0x3090cf>>0x4^_0x3090cf>>0x5^_0x3090cf>>0x6^_0x3090cf>>0x7^0x63)&0xff;}return _0x43d9d2(_0x652354),_0x761f8b;})()),_0x1bbd61=_0x56c8e9[_0x28ce9c(0x225)]((_0x2d3b62,_0x308a32)=>_0x56c8e9[_0x28ce9c(0x37e)](_0x308a32)),_0x2c985d=_0x2a4d96=>_0x2a4d96<<0x18|_0x2a4d96>>>0x8,_0x4cc244=_0x44962e=>_0x44962e<<0x8|_0x44962e>>>0x18;function _0x4ecbd0(_0x51bc22,_0x571e19){const _0xe4b367=_0x28ce9c;if(_0x51bc22[_0xe4b367(0x4a3)]!==0x100)throw Error(_0xe4b367(0x1c8));let _0x564c70=new Uint32Array(0x100)['map']((_0xf77839,_0x531779)=>_0x571e19(_0x51bc22[_0x531779])),_0x1cdb4f=_0x564c70['map'](_0x4cc244),_0x1e7b26=_0x1cdb4f[_0xe4b367(0x225)](_0x4cc244),_0x2eae34=_0x1e7b26[_0xe4b367(0x225)](_0x4cc244),_0xb5f100=new Uint32Array(0x10000),_0x25be30=new Uint32Array(0x10000),_0x5e4f62=new Uint16Array(0x10000);for(let _0x112c6f=0x0;_0x112c6f<0x100;_0x112c6f++)for(let _0x523d4a=0x0;_0x523d4a<0x100;_0x523d4a++){let _0x24e913=_0x112c6f*0x100+_0x523d4a;_0xb5f100[_0x24e913]=_0x564c70[_0x112c6f]^_0x1cdb4f[_0x523d4a],_0x25be30[_0x24e913]=_0x1e7b26[_0x112c6f]^_0x2eae34[_0x523d4a],_0x5e4f62[_0x24e913]=_0x51bc22[_0x112c6f]<<0x8|_0x51bc22[_0x523d4a];}return{'sbox':_0x51bc22,'sbox2':_0x5e4f62,'T0':_0x564c70,'T1':_0x1cdb4f,'T2':_0x1e7b26,'T3':_0x2eae34,'T01':_0xb5f100,'T23':_0x25be30};}let _0x2edc03=_0x4ecbd0(_0x56c8e9,_0x169556=>_0x158ceb(_0x169556,0x3)<<0x18|_0x169556<<0x10|_0x169556<<0x8|_0x158ceb(_0x169556,0x2)),_0x32c735=_0x4ecbd0(_0x1bbd61,_0x86d85b=>_0x158ceb(_0x86d85b,0xb)<<0x18|_0x158ceb(_0x86d85b,0xd)<<0x10|_0x158ceb(_0x86d85b,0x9)<<0x8|_0x158ceb(_0x86d85b,0xe)),_0x49fb06=((()=>{let _0x1cac55=new Uint8Array(0x10);for(let _0x58e7b5=0x0,_0x343b31=0x1;_0x58e7b5<0x10;_0x58e7b5++,_0x343b31=_0x52f7e6(_0x343b31))_0x1cac55[_0x58e7b5]=_0x343b31;return _0x1cac55;})());function _0x323da(_0x113405){const _0x5db092=_0x28ce9c;_0xa7c855(_0x113405);let _0x4f3a7d=_0x113405[_0x5db092(0x4a3)];_0x215eb3(_0x113405);let {sbox2:_0x749881}=_0x2edc03,_0x3f28d7=[];(!_0xab4a8||!_0x3e109b(_0x113405))&&_0x3f28d7[_0x5db092(0x210)](_0x113405=_0x57b968(_0x113405));let _0x545bcf=_0x590274(_0x5b41f9(_0x113405)),_0x30e66c=_0x545bcf[_0x5db092(0x4a3)],_0x103bdb=_0x5d43d9=>_0x82aee0(_0x749881,_0x5d43d9,_0x5d43d9,_0x5d43d9,_0x5d43d9),_0x39f82e=new Uint32Array(_0x4f3a7d+0x1c);_0x39f82e[_0x5db092(0x360)](_0x545bcf);for(let _0x1f1194=_0x30e66c;_0x1f1194<_0x39f82e[_0x5db092(0x4a3)];_0x1f1194++){let _0x303491=_0x39f82e[_0x1f1194-0x1];_0x1f1194%_0x30e66c===0x0?_0x303491=_0x103bdb(_0x2c985d(_0x303491))^_0x49fb06[_0x1f1194/_0x30e66c-0x1]:_0x30e66c>0x6&&_0x1f1194%_0x30e66c===0x4&&(_0x303491=_0x103bdb(_0x303491)),_0x39f82e[_0x1f1194]=_0x39f82e[_0x1f1194-_0x30e66c]^_0x303491;}return _0x43d9d2(..._0x3f28d7),_0x39f82e;}function _0x229351(_0x298908){const _0x231763=_0x28ce9c;let _0x2ce6ba=_0x323da(_0x298908),_0x1d1e36=_0x2ce6ba['slice'](),_0x109b8d=_0x2ce6ba[_0x231763(0x4a3)],{sbox2:_0x11f15a}=_0x2edc03,{T0:_0x408163,T1:_0x54e71b,T2:_0x5d78b0,T3:_0x328d1f}=_0x32c735;for(let _0x55d07f=0x0;_0x55d07f<_0x109b8d;_0x55d07f+=0x4)for(let _0x12e141=0x0;_0x12e141<0x4;_0x12e141++)_0x1d1e36[_0x55d07f+_0x12e141]=_0x2ce6ba[_0x109b8d-_0x55d07f-0x4+_0x12e141];_0x43d9d2(_0x2ce6ba);for(let _0x136b72=0x4;_0x136b72<_0x109b8d-0x4;_0x136b72++){let _0x5c9e7d=_0x1d1e36[_0x136b72],_0x41c8d2=_0x82aee0(_0x11f15a,_0x5c9e7d,_0x5c9e7d,_0x5c9e7d,_0x5c9e7d);_0x1d1e36[_0x136b72]=_0x408163[_0x41c8d2&0xff]^_0x54e71b[_0x41c8d2>>>0x8&0xff]^_0x5d78b0[_0x41c8d2>>>0x10&0xff]^_0x328d1f[_0x41c8d2>>>0x18];}return _0x1d1e36;}function _0x4c1536(_0x6e40db,_0x1e305d,_0x83ec62,_0x30adad,_0x4a2493,_0x39a4f7){return _0x6e40db[_0x83ec62<<0x8&0xff00|_0x30adad>>>0x8&0xff]^_0x1e305d[_0x4a2493>>>0x8&0xff00|_0x39a4f7>>>0x18&0xff];}function _0x82aee0(_0x47d16c,_0x16454f,_0x13e229,_0x3764,_0x537109){return _0x47d16c[_0x16454f&0xff|_0x13e229&0xff00]|_0x47d16c[_0x3764>>>0x10&0xff|_0x537109>>>0x10&0xff00]<<0x10;}function _0x2b02c0(_0x551cff,_0x248029,_0x17201e,_0x3e4640,_0x40713a){const _0x2e8de4=_0x28ce9c;let {sbox2:_0xb9f380,T01:_0x37938c,T23:_0x3c26b4}=_0x2edc03,_0x165200=0x0;_0x248029^=_0x551cff[_0x165200++],_0x17201e^=_0x551cff[_0x165200++],_0x3e4640^=_0x551cff[_0x165200++],_0x40713a^=_0x551cff[_0x165200++];let _0x36a6fd=_0x551cff[_0x2e8de4(0x4a3)]/0x4-0x2;for(let _0x424c09=0x0;_0x424c09<_0x36a6fd;_0x424c09++){let _0x3c331d=_0x551cff[_0x165200++]^_0x4c1536(_0x37938c,_0x3c26b4,_0x248029,_0x17201e,_0x3e4640,_0x40713a),_0x21b08e=_0x551cff[_0x165200++]^_0x4c1536(_0x37938c,_0x3c26b4,_0x17201e,_0x3e4640,_0x40713a,_0x248029),_0x4fbc19=_0x551cff[_0x165200++]^_0x4c1536(_0x37938c,_0x3c26b4,_0x3e4640,_0x40713a,_0x248029,_0x17201e),_0x3c4d85=_0x551cff[_0x165200++]^_0x4c1536(_0x37938c,_0x3c26b4,_0x40713a,_0x248029,_0x17201e,_0x3e4640);_0x248029=_0x3c331d,_0x17201e=_0x21b08e,_0x3e4640=_0x4fbc19,_0x40713a=_0x3c4d85;}return{'s0':_0x551cff[_0x165200++]^_0x82aee0(_0xb9f380,_0x248029,_0x17201e,_0x3e4640,_0x40713a),'s1':_0x551cff[_0x165200++]^_0x82aee0(_0xb9f380,_0x17201e,_0x3e4640,_0x40713a,_0x248029),'s2':_0x551cff[_0x165200++]^_0x82aee0(_0xb9f380,_0x3e4640,_0x40713a,_0x248029,_0x17201e),'s3':_0x551cff[_0x165200++]^_0x82aee0(_0xb9f380,_0x40713a,_0x248029,_0x17201e,_0x3e4640)};}function _0x494581(_0x59e077,_0x17da25,_0x17a45d,_0x144985,_0x42983a){const _0x4c931d=_0x28ce9c;let {sbox2:_0x4c40aa,T01:_0x27cef4,T23:_0x12e4b4}=_0x32c735,_0x54cfde=0x0;_0x17da25^=_0x59e077[_0x54cfde++],_0x17a45d^=_0x59e077[_0x54cfde++],_0x144985^=_0x59e077[_0x54cfde++],_0x42983a^=_0x59e077[_0x54cfde++];let _0x29825e=_0x59e077[_0x4c931d(0x4a3)]/0x4-0x2;for(let _0x18018e=0x0;_0x18018e<_0x29825e;_0x18018e++){let _0x4a4638=_0x59e077[_0x54cfde++]^_0x4c1536(_0x27cef4,_0x12e4b4,_0x17da25,_0x42983a,_0x144985,_0x17a45d),_0x4d4674=_0x59e077[_0x54cfde++]^_0x4c1536(_0x27cef4,_0x12e4b4,_0x17a45d,_0x17da25,_0x42983a,_0x144985),_0x13bed2=_0x59e077[_0x54cfde++]^_0x4c1536(_0x27cef4,_0x12e4b4,_0x144985,_0x17a45d,_0x17da25,_0x42983a),_0x19e80b=_0x59e077[_0x54cfde++]^_0x4c1536(_0x27cef4,_0x12e4b4,_0x42983a,_0x144985,_0x17a45d,_0x17da25);_0x17da25=_0x4a4638,_0x17a45d=_0x4d4674,_0x144985=_0x13bed2,_0x42983a=_0x19e80b;}return{'s0':_0x59e077[_0x54cfde++]^_0x82aee0(_0x4c40aa,_0x17da25,_0x42983a,_0x144985,_0x17a45d),'s1':_0x59e077[_0x54cfde++]^_0x82aee0(_0x4c40aa,_0x17a45d,_0x17da25,_0x42983a,_0x144985),'s2':_0x59e077[_0x54cfde++]^_0x82aee0(_0x4c40aa,_0x144985,_0x17a45d,_0x17da25,_0x42983a),'s3':_0x59e077[_0x54cfde++]^_0x82aee0(_0x4c40aa,_0x42983a,_0x144985,_0x17a45d,_0x17da25)};}function _0x5b7d45(_0x82c144,_0x702d8c){const _0x13f727=_0x28ce9c;if(_0xa7c855(_0x82c144),_0x82c144[_0x13f727(0x4a3)]%0x10!=0x0)throw Error(_0x13f727(0x330));_0x702d8c!==void 0x0&&(_0x2d854f(_0x82c144['length'],_0x702d8c),_0xccb3df(_0x82c144,_0x702d8c));}function _0x2a8c49(_0x3b17d0,_0x3dc390,_0x1e3478){const _0xa608aa=_0x28ce9c;_0xa7c855(_0x3b17d0);let _0x4d0983=_0x3b17d0[_0xa608aa(0x4a3)],_0x3e6424=_0x4d0983%0x10;if(!_0x3dc390&&_0x3e6424!==0x0)throw Error(_0xa608aa(0xfe));if(_0x3dc390){let _0x258103=0x10-_0x3e6424;_0x258103||=0x10,_0x4d0983+=_0x258103;}return _0x1e3478!==void 0x0&&(_0x2d854f(_0x4d0983,_0x1e3478),_0xccb3df(_0x3b17d0,_0x1e3478)),_0x4d0983;}function _0x1472c9(_0x377517,_0x3557d7,_0x35c4a2){_0x35c4a2===void 0x0&&(_0x35c4a2=new Uint8Array(_0x3557d7)),(!_0xab4a8||!_0x3e109b(_0x377517))&&(_0x377517=_0x57b968(_0x377517));let _0x337565=_0x5b41f9(_0x35c4a2);return{'b':_0x377517,'o':_0x337565,'out':_0x35c4a2};}function _0x25cb51(_0x1c1874,_0x11b624){const _0x278589=_0x28ce9c;if(!_0x11b624)return _0x1c1874;let _0x17adba=_0x1c1874['length'];if(_0x17adba===0x0)throw Error('pkcs7:\x20empty\x20ciphertext\x20not\x20allowed');let _0x1df5a1=_0x1c1874[_0x17adba-0x1],_0x4d0036=0x1;_0x4d0036&=_0x1df5a1-0x1>>>0x1f^0x1,_0x4d0036&=0x10-_0x1df5a1>>>0x1f^0x1;for(let _0x27d7eb=0x0;_0x27d7eb<0x10;_0x27d7eb++){let _0x56e07f=_0x27d7eb-_0x1df5a1>>>0x1f,_0x549e05=+((_0x1c1874[_0x17adba-0x1-_0x27d7eb]^_0x1df5a1)===0x0);_0x4d0036&=_0x549e05|_0x56e07f^0x1;}if(!_0x4d0036)throw Error(_0x278589(0x3ff));return _0x1c1874['subarray'](0x0,_0x17adba-_0x1df5a1);}function _0x36a581(_0x1183cd){const _0x40b8f4=_0x28ce9c;let _0x4579f7=new Uint8Array(0x10),_0x4941af=_0x5b41f9(_0x4579f7);_0x4579f7[_0x40b8f4(0x360)](_0x1183cd);let _0x4beb38=0x10-_0x1183cd[_0x40b8f4(0x4a3)];for(let _0x3c9f17=0x10-_0x4beb38;_0x3c9f17<0x10;_0x3c9f17++)_0x4579f7[_0x3c9f17]=_0x4beb38;return _0x4941af;}let _0x3a9d27=_0x56531b({'blockSize':0x10,'nonceLength':0x10},function(_0x3feb03,_0x77aca0,_0x399dc9={}){const _0x2f5772=_0x28ce9c;let _0x37cbc4=!_0x399dc9[_0x2f5772(0x354)];return{'encrypt'(_0xd66cc0,_0x18fe43){const _0x4a3eae=_0x2f5772;let _0x30b08f=_0x2a8c49(_0xd66cc0,_0x37cbc4,_0x18fe43),_0x5cdad9=_0x323da(_0x3feb03),{b:_0x230216,o:_0x5056d1,out:_0x1ee197}=_0x1472c9(_0xd66cc0,_0x30b08f,_0x18fe43),_0x139a2b=_0x5b41f9(_0x230216);_0x590274(_0x139a2b);let _0x280fa4=_0x77aca0,_0x5031db=[_0x5cdad9];(!_0xab4a8||!_0x3e109b(_0x280fa4))&&_0x5031db[_0x4a3eae(0x210)](_0x280fa4=_0x57b968(_0x280fa4));let _0x5e517e=_0x5b41f9(_0x280fa4);_0x590274(_0x5e517e);let _0x8fc196=_0x5e517e[0x0],_0x23be3d=_0x5e517e[0x1],_0x2ab334=_0x5e517e[0x2],_0x395246=_0x5e517e[0x3],_0x39da2f=0x0;for(;_0x39da2f+0x4<=_0x139a2b[_0x4a3eae(0x4a3)];)_0x8fc196^=_0x139a2b[_0x39da2f+0x0],_0x23be3d^=_0x139a2b[_0x39da2f+0x1],_0x2ab334^=_0x139a2b[_0x39da2f+0x2],_0x395246^=_0x139a2b[_0x39da2f+0x3],{s0:_0x8fc196,s1:_0x23be3d,s2:_0x2ab334,s3:_0x395246}=_0x2b02c0(_0x5cdad9,_0x8fc196,_0x23be3d,_0x2ab334,_0x395246),_0x5056d1[_0x39da2f++]=_0x8fc196,_0x5056d1[_0x39da2f++]=_0x23be3d,_0x5056d1[_0x39da2f++]=_0x2ab334,_0x5056d1[_0x39da2f++]=_0x395246;if(_0x37cbc4){let _0x478b89=_0x36a581(_0xd66cc0[_0x4a3eae(0x468)](_0x39da2f*0x4));_0x590274(_0x478b89),_0x8fc196^=_0x478b89[0x0],_0x23be3d^=_0x478b89[0x1],_0x2ab334^=_0x478b89[0x2],_0x395246^=_0x478b89[0x3],{s0:_0x8fc196,s1:_0x23be3d,s2:_0x2ab334,s3:_0x395246}=_0x2b02c0(_0x5cdad9,_0x8fc196,_0x23be3d,_0x2ab334,_0x395246),_0x5056d1[_0x39da2f++]=_0x8fc196,_0x5056d1[_0x39da2f++]=_0x23be3d,_0x5056d1[_0x39da2f++]=_0x2ab334,_0x5056d1[_0x39da2f++]=_0x395246,_0x43d9d2(_0x478b89);}return _0x590274(_0x5056d1),_0x43d9d2(..._0x5031db),_0x230216!==_0xd66cc0&&_0x43d9d2(_0x230216),_0x1ee197;},'decrypt'(_0x1da432,_0x44c71e){const _0x337133=_0x2f5772;_0x5b7d45(_0x1da432,_0x44c71e);let _0x39ad68=_0x229351(_0x3feb03);_0x44c71e===void 0x0&&(_0x44c71e=new Uint8Array(_0x1da432[_0x337133(0x4a3)]));let _0x240fcc=_0x77aca0,_0x343a67=[_0x39ad68];(!_0xab4a8||!_0x3e109b(_0x240fcc))&&_0x343a67[_0x337133(0x210)](_0x240fcc=_0x57b968(_0x240fcc));let _0x3b9e01=_0x5b41f9(_0x240fcc);_0x590274(_0x3b9e01),(!_0xab4a8||!_0x3e109b(_0x1da432))&&_0x343a67[_0x337133(0x210)](_0x1da432=_0x57b968(_0x1da432));let _0x284098=_0x5b41f9(_0x1da432),_0x150074=_0x5b41f9(_0x44c71e);_0x590274(_0x284098);let _0x5acb0f=_0x3b9e01[0x0],_0x2153a5=_0x3b9e01[0x1],_0xf1a785=_0x3b9e01[0x2],_0x4bbcbb=_0x3b9e01[0x3];for(let _0x3424af=0x0;_0x3424af+0x4<=_0x284098[_0x337133(0x4a3)];){let _0x30cc78=_0x5acb0f,_0x3d6ce7=_0x2153a5,_0x31ae53=_0xf1a785,_0x73b2c8=_0x4bbcbb;_0x5acb0f=_0x284098[_0x3424af+0x0],_0x2153a5=_0x284098[_0x3424af+0x1],_0xf1a785=_0x284098[_0x3424af+0x2],_0x4bbcbb=_0x284098[_0x3424af+0x3];let {s0:_0x17e469,s1:_0x2ed708,s2:_0x20994b,s3:_0x5c0724}=_0x494581(_0x39ad68,_0x5acb0f,_0x2153a5,_0xf1a785,_0x4bbcbb);_0x150074[_0x3424af++]=_0x17e469^_0x30cc78,_0x150074[_0x3424af++]=_0x2ed708^_0x3d6ce7,_0x150074[_0x3424af++]=_0x20994b^_0x31ae53,_0x150074[_0x3424af++]=_0x5c0724^_0x73b2c8;}return _0x590274(_0x150074),_0x43d9d2(..._0x343a67),_0x25cb51(_0x44c71e,_0x37cbc4);}};});function _0x592eb4(_0x2e5755){const _0x313221=_0x28ce9c;let _0x560a4f=atob(_0x2e5755),_0x3ea29b=new Uint8Array(_0x560a4f[_0x313221(0x4a3)]);for(let _0x217318=0x0;_0x217318<_0x560a4f['length'];_0x217318++)_0x3ea29b[_0x217318]=_0x560a4f[_0x313221(0x14c)](_0x217318);return _0x3ea29b;}function _0x3c71cc(_0x1e53e2){const _0x16c9d1=_0x28ce9c;let _0x2ff29f='';for(let _0x362ffd=0x0;_0x362ffd<_0x1e53e2[_0x16c9d1(0x4a3)];_0x362ffd++)_0x2ff29f+=String[_0x16c9d1(0x26d)](_0x1e53e2[_0x362ffd]);return btoa(_0x2ff29f);}function _0x5cfea6(_0x4c462d,_0x4bbb4a){const _0x1795f7=_0x28ce9c;let _0x289bed=_0x592eb4(_0x4bbb4a),_0x323de6=_0x4e2e1d(0x10);return _0x3c71cc(_0x5bda9f(_0x323de6,_0x3a9d27(_0x289bed,_0x323de6)[_0x1795f7(0x1c5)](_0x433712(_0x4c462d))));}function _0x34c55a(){const _0x799fca=_0x28ce9c;let _0x405b97=(0x0,_0x350a94[_0x799fca(0x21b)])()['__Key__'];if(typeof window<'u'&&window['location']!==void 0x0&&_0x405b97){let _0x24ade9={'time':Math[_0x799fca(0x3e4)](Date[_0x799fca(0x241)]()/0x3e8),'domain':location[_0x799fca(0x217)]};return _0x5cfea6(JSON[_0x799fca(0x122)](_0x24ade9),_0x405b97);}}let _0x25e64e=class{constructor(_0x25d1df){const _0x280b5c=_0x28ce9c;this[_0x280b5c(0x33f)]=_0x25d1df,this['_initRequestHeader']();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3bbf0f,_0x503cdc)=>{const _0x1e593d=_0x3cef;let _0x305430=_0x34c55a();return _0x305430&&_0x3bbf0f[_0x1e593d(0xcf)][_0x1e593d(0x360)]('x-univer-host',_0x305430),_0x503cdc(_0x3bbf0f);}});}};_0x25e64e=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924['Inject'])(_0x38af37['HTTPService']))],_0x25e64e);let _0x4cae7c=class extends _0x594924['RxDisposable']{constructor(_0x40172b,_0x2a3888,_0x3707d7){const _0x2e6204=_0x28ce9c;super(),this[_0x2e6204(0x467)]=_0x40172b,this[_0x2e6204(0x399)]=_0x2a3888,this[_0x2e6204(0x15c)]=_0x3707d7,_0x4c0132(this,_0x2e6204(0x2e1),new _0x5d1b30[(_0x2e6204(0x21a))](null)),_0x4c0132(this,_0x2e6204(0x10e),new _0x5d1b30[(_0x2e6204(0x479))]()),_0x4c0132(this,_0x2e6204(0x184),this[_0x2e6204(0x2e1)][_0x2e6204(0x2a6)]()),_0x4c0132(this,_0x2e6204(0x3d7),this['_unitLoaded$'][_0x2e6204(0x2a6)]());}[_0x28ce9c(0x107)](){const _0x218a10=_0x28ce9c;super[_0x218a10(0x107)](),this[_0x218a10(0x10e)]['complete'](),this['_unitInfo$'][_0x218a10(0x427)]();}[_0x28ce9c(0x31d)](_0x4c7410,_0x8cd3b5,_0x4f6e65,_0x4f1bb6,_0x3f50ed){return this['_loadUnit'](_0x4c7410,_0x8cd3b5,_0x4f6e65,_0x4f1bb6,_0x3f50ed);}[_0x28ce9c(0x2e5)](_0x405777,_0xdc5b07,_0x4d1bfc,_0x2e77c3){return this['_loadUnit'](_0x405777,_0xdc5b07,void 0x0,_0x4d1bfc,_0x2e77c3);}async['_loadUnit'](_0x143816,_0x5ce9ba,_0x5ee7c7,_0x58cca9,_0x1368b4){const _0x345f04=_0x28ce9c;this['_unitInfo$']['next']({'unitId':_0x143816,'type':_0x5ce9ba,'subUnitId':_0x58cca9});let _0x11f5cf=_0x5ee7c7;if(_0x11f5cf===void 0x0){var _0x1ac93c;let _0x2a1919=await((_0x1ac93c=this[_0x345f04(0x15c)])==null?void 0x0:_0x1ac93c[_0x345f04(0x258)](_0x143816));_0x11f5cf=_0x2a1919&&(_0x2a1919[_0x345f04(0x213)]||_0x2a1919[_0x345f04(0x43e)][_0x345f04(0x4a3)]!==0x0)?_0x2a1919[_0x345f04(0x134)]:0x0,_0x11f5cf===0x0&&this['_logService']['debug'](_0x345f04(0x43f),_0x345f04(0x160));}return this[_0x345f04(0xee)](_0x143816,_0x5ce9ba,_0x11f5cf,_0x58cca9,_0x1368b4);}async[_0x28ce9c(0xee)](_0x26901a,_0x2db076,_0x2ccb5e,_0x2cca3c,_0x378358){const _0x4c3b80=_0x28ce9c;let _0x567b41=null;switch(_0x2db076){case _0x594924[_0x4c3b80(0x3ed)][_0x4c3b80(0x43c)]:_0x567b41=await this[_0x4c3b80(0x399)][_0x4c3b80(0x1ea)](_0x26901a,_0x2ccb5e,_0x378358,{'initialSubUnitId':_0x2cca3c});break;case _0x594924[_0x4c3b80(0x3ed)]['UNIVER_DOC']:_0x567b41=await this[_0x4c3b80(0x399)]['loadDoc'](_0x26901a,_0x2ccb5e,_0x378358);break;case _0x594924[_0x4c3b80(0x3ed)][_0x4c3b80(0x379)]:_0x567b41=await this['_snapshotService'][_0x4c3b80(0x18a)](_0x26901a,_0x2ccb5e,_0x378358);break;case _0x594924['UniverInstanceType'][_0x4c3b80(0x133)]:_0x567b41=await this[_0x4c3b80(0x399)][_0x4c3b80(0x2f1)](_0x26901a,_0x2ccb5e,_0x378358);break;case _0x594924[_0x4c3b80(0x3ed)][_0x4c3b80(0x145)]:_0x567b41=await this[_0x4c3b80(0x399)][_0x4c3b80(0x2a2)](_0x26901a,_0x2ccb5e,_0x378358);break;case _0x594924['UniverInstanceType'][_0x4c3b80(0x10b)]:_0x567b41=await this[_0x4c3b80(0x399)][_0x4c3b80(0x1f0)](_0x26901a,_0x2ccb5e,_0x378358);break;default:this['_logService'][_0x4c3b80(0x430)](_0x4c3b80(0x43f),_0x4c3b80(0x222));}return _0x567b41&&this['_unitLoaded$'][_0x4c3b80(0x12d)](_0x567b41),_0x567b41;}};_0x4cae7c=_0x5da6ca([_0x26312a(0x0,_0x594924['ILogService']),_0x26312a(0x1,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x59e2cb[_0x28ce9c(0x32c)])),_0x26312a(0x2,(0x0,_0x594924[_0x28ce9c(0x129)])(_0x2d518e))],_0x4cae7c);let _0x42ab22=class{constructor(_0x130ebe,_0x4a19cd,_0x422939){const _0x314584=_0x28ce9c;this[_0x314584(0x33f)]=_0x130ebe,this[_0x314584(0x36f)]=_0x4a19cd,this[_0x314584(0x464)]=_0x422939,_0x4c0132(this,'_waitCount',0x0),_0x4c0132(this,_0x314584(0x287),new _0x5d1b30['Subject']()),_0x4c0132(this,'change$',this[_0x314584(0x287)]),_0x4c0132(this,'_imageSourceCache',new Map());}['setWaitCount'](_0x5de124){const _0x4b1f20=_0x28ce9c;this[_0x4b1f20(0x42d)]=_0x5de124,this['_change$'][_0x4b1f20(0x12d)](_0x5de124);}[_0x28ce9c(0x340)](_0x2a55ac,_0x2e4bd3){const _0x546303=_0x28ce9c;if(_0x2e4bd3===_0x594924['ImageSourceType'][_0x546303(0x112)]){let _0x4ac625=new Image();return _0x4ac625['src']=_0x2a55ac,_0x4ac625;}return this['_imageSourceCache'][_0x546303(0x21c)](_0x2a55ac);}['addImageSourceCache'](_0x8d3e7e,_0x44403d,_0x3604b0){const _0x30e9d9=_0x28ce9c;_0x44403d!==_0x594924[_0x30e9d9(0x3c8)][_0x30e9d9(0x112)]&&_0x3604b0!=null&&this[_0x30e9d9(0x482)][_0x30e9d9(0x360)](_0x8d3e7e,_0x3604b0);}async[_0x28ce9c(0x29e)](_0x41bc24){const _0x131354=_0x28ce9c;try{let _0x5a66d8=this[_0x131354(0x470)](this[_0x131354(0x23f)](),''+_0x41bc24),_0x445167=(await this['_httpService'][_0x131354(0x21c)](_0x5a66d8))[_0x131354(0x2b7)];if(_0x445167['error']&&_0x445167[_0x131354(0x430)][_0x131354(0x3de)]===_0x4500fa[_0x131354(0x14d)]['OK']){let _0x415fd7=(0x0,_0x594924[_0x131354(0x1bd)])(_0x445167['url'],this[_0x131354(0x40b)]());return Promise['resolve'](_0x415fd7);}return Promise['reject'](_0x445167['error']);}catch(_0x10c49a){return Promise[_0x131354(0x40e)](_0x10c49a);}}async['saveImage'](_0x54b34c){const _0x1e4704=_0x28ce9c;let _0x50916d='';if(!_0x4d18e5[_0x1e4704(0x119)]['includes'](_0x54b34c[_0x1e4704(0x23b)]))return this['_decreaseWaiting'](),Promise[_0x1e4704(0x40e)](Error(_0x594924[_0x1e4704(0x163)][_0x1e4704(0x1fd)]));if(_0x54b34c[_0x1e4704(0x3b5)]>(0x0,_0x4d18e5[_0x1e4704(0x286)])())return this[_0x1e4704(0x34c)](),Promise[_0x1e4704(0x40e)](Error(_0x594924[_0x1e4704(0x163)]['ERROR_EXCEED_SIZE']));try{let _0x30fad3=new FormData();_0x30fad3[_0x1e4704(0x275)](_0x1e4704(0xf0),_0x54b34c);let _0x18c4c5=this[_0x1e4704(0x464)][_0x1e4704(0xf5)](),_0x1e2f1e=_0x18c4c5==null?void 0x0:_0x18c4c5[_0x1e4704(0x3b8)]();if(!_0x1e2f1e)throw Error(_0x1e4704(0x3b2));let _0x2536d6=this['_getUploadFileURL']()+_0x1e4704(0x472)+_0x54b34c['size'][_0x1e4704(0x144)]()+_0x1e4704(0x1ef)+_0x4500fa[_0x1e4704(0x3cc)][_0x1e4704(0x3d1)]+_0x1e4704(0x32e)+encodeURIComponent(_0x1e2f1e),_0x5af321={'body':_0x30fad3},_0x44d7a5=(await this[_0x1e4704(0x33f)][_0x1e4704(0x1fa)](_0x2536d6,_0x5af321))[_0x1e4704(0x2b7)];if(typeof _0x44d7a5['FileId']!='string')return this[_0x1e4704(0x34c)](),Promise[_0x1e4704(0x40e)](Error(_0x594924['ImageUploadStatusType'][_0x1e4704(0x402)]));_0x50916d=_0x44d7a5[_0x1e4704(0x384)];}catch{return this[_0x1e4704(0x34c)](),Promise[_0x1e4704(0x40e)](Error(_0x594924[_0x1e4704(0x163)][_0x1e4704(0x402)]));}return new Promise((_0x3408db,_0x1de51b)=>{const _0x9693f8=_0x1e4704;let _0x57c6fe=new FileReader();_0x57c6fe[_0x9693f8(0x462)](_0x54b34c),_0x57c6fe[_0x9693f8(0x392)]=_0x417cf9=>{const _0x10658c=_0x9693f8;var _0x352acb;let _0x3512f6=(_0x352acb=_0x417cf9[_0x10658c(0x2bc)])==null?void 0x0:_0x352acb['result'];_0x3512f6==null?(this[_0x10658c(0x34c)](),_0x1de51b(Error(_0x594924[_0x10658c(0x163)][_0x10658c(0x402)]))):(_0x3408db({'imageId':(0x0,_0x594924[_0x10658c(0x44c)])(0x6),'imageSourceType':_0x594924[_0x10658c(0x3c8)][_0x10658c(0x38e)],'source':_0x50916d,'base64Cache':_0x3512f6,'status':_0x594924[_0x10658c(0x163)]['SUCCUSS']}),this['_decreaseWaiting']());};});}[_0x28ce9c(0x274)](){const _0x58a513=_0x28ce9c;let _0x15ad49=this[_0x58a513(0x36f)][_0x58a513(0x3ba)](_0xe358d2);return(_0x15ad49==null?void 0x0:_0x15ad49[_0x58a513(0x2cf)])??_0x58a513(0xb9);}[_0x28ce9c(0x23f)](){const _0x1a9ca3=_0x28ce9c;let _0x29094e=this[_0x1a9ca3(0x36f)][_0x1a9ca3(0x3ba)](_0xe358d2);return(_0x29094e==null?void 0x0:_0x29094e[_0x1a9ca3(0x1e3)])??'/universer-api/file/{fileID}/sign-url';}[_0x28ce9c(0x40b)](){const _0x588204=_0x28ce9c;let _0x383a11=this[_0x588204(0x36f)][_0x588204(0x3ba)](_0xe358d2);return(_0x383a11==null?void 0x0:_0x383a11[_0x588204(0x426)])??location[_0x588204(0x221)];}['_replaceFileID'](_0x71c751,_0x110fae){const _0x5b2318=_0x28ce9c;return _0x71c751[_0x5b2318(0x3ae)](_0x5b2318(0x1ee),_0x110fae);}['_decreaseWaiting'](){const _0x1c62b3=_0x28ce9c;--this[_0x1c62b3(0x42d)],this['_change$'][_0x1c62b3(0x12d)](this[_0x1c62b3(0x42d)]);}};_0x42ab22=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x38af37['HTTPService'])),_0x26312a(0x1,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x2,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924['IUniverInstanceService']))],_0x42ab22);let _0x10bf02=class{constructor(_0x1946e4,_0x4248e3){const _0x1b761c=_0x28ce9c;this[_0x1b761c(0x36f)]=_0x1946e4,this[_0x1b761c(0xb1)]=_0x4248e3;}[_0x28ce9c(0x404)](){const _0x180429=_0x28ce9c;let _0x5f0243=this[_0x180429(0x36f)][_0x180429(0x3ba)](_0xe358d2);return(_0x5f0243==null?void 0x0:_0x5f0243['authzUrl'])??'/universer-api/authz';}async[_0x28ce9c(0x36b)](_0x5ed740){const _0x26e7e2=_0x28ce9c;let _0x586270=this[_0x26e7e2(0x404)]()+_0x26e7e2(0x303);return{'list':[{'title':_0x26e7e2(0x183),'mentions':(await this[_0x26e7e2(0xb1)][_0x26e7e2(0x21c)](_0x586270,{'params':{'objectID':_0x5ed740[_0x26e7e2(0x3f9)],'unitID':_0x5ed740[_0x26e7e2(0x3f9)]}}))[_0x26e7e2(0x2b7)][_0x26e7e2(0x499)][_0x26e7e2(0x225)](_0x211251=>({'objectId':_0x211251['id'],'name':_0x211251[_0x26e7e2(0x428)][_0x26e7e2(0x1b2)],'metadata':{'icon':_0x211251['subject'][_0x26e7e2(0x421)]},'label':_0x211251['subject'][_0x26e7e2(0x1b2)],'objectType':_0x594924[_0x26e7e2(0x161)][_0x26e7e2(0x38f)]})),'metadata':{},'type':_0x594924[_0x26e7e2(0x161)]['PERSON']}]};}};_0x10bf02=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x101)])),_0x26312a(0x1,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x38af37[_0x28ce9c(0x41f)]))],_0x10bf02);let _0x331bdd=class extends _0x594924[_0x28ce9c(0x1a9)]{constructor(_0x4fb999,_0x374ee5,_0x55599f,_0x8f257,_0x35217a,_0x548f6a){const _0x442890=_0x28ce9c;super(),this[_0x442890(0x476)]=_0x4fb999,this['_univerInstanceService']=_0x374ee5,this[_0x442890(0xdd)]=_0x55599f,this[_0x442890(0x215)]=_0x8f257,this[_0x442890(0x46a)]=_0x35217a,this[_0x442890(0x445)]=_0x548f6a,_0x4c0132(this,_0x442890(0x2e2),new Set()),this[_0x442890(0x416)](()=>this[_0x442890(0x2e2)][_0x442890(0x380)]()),this[_0x442890(0x416)](_0x4a5fa1(this[_0x442890(0x464)])[_0x442890(0x335)](({unitId:_0xdfc1a7})=>this[_0x442890(0x2e2)][_0x442890(0x203)](_0xdfc1a7))),this[_0x442890(0x46f)](),this[_0x442890(0x308)](),[_0x594924[_0x442890(0x3ed)][_0x442890(0x310)],_0x594924['UniverInstanceType'][_0x442890(0x379)],_0x594924['UniverInstanceType'][_0x442890(0x145)],_0x594924[_0x442890(0x3ed)][_0x442890(0x133)]]['forEach'](_0x18b6fd=>{const _0x3b40e9=_0x442890;this['disposeWithMe'](this[_0x3b40e9(0x464)][_0x3b40e9(0x438)](_0x18b6fd)[_0x3b40e9(0x335)](_0x3a00c1=>{const _0x4120f9=_0x3b40e9;this[_0x4120f9(0x2e2)][_0x4120f9(0x2fd)](_0x3a00c1[_0x4120f9(0x3b8)]()),this[_0x4120f9(0x476)][_0x4120f9(0x21c)](_0x594924[_0x4120f9(0x487)])[_0x4120f9(0x17f)](_0x3a00c1[_0x4120f9(0x3b8)]());}));});}[_0x28ce9c(0x308)](){const _0x99cab4=_0x28ce9c;let _0x5163d8=async(_0x4a2688,_0xc979ec)=>{const _0x141916=_0x3cef;let _0xdceeab=await this[_0x141916(0x46a)][_0x141916(0x444)](_0x4a2688);this[_0x141916(0x3e9)]||this[_0x141916(0x2e2)][_0x141916(0x16a)](_0x4a2688)||!this['_univerInstanceService'][_0x141916(0x35a)](_0x4a2688)||_0xdceeab[_0x141916(0x382)][_0x141916(0x3e8)]((0x0,_0x47dd8f[_0x141916(0xda)])(_0x3dcf9c=>_0x3dcf9c[_0x141916(0x202)]===_0x59e2cb[_0x141916(0x12b)][_0x141916(0x434)]),(0x0,_0x47dd8f[_0x141916(0x13c)])((0x0,_0x5d1b30[_0x141916(0x104)])(this['dispose$'],this['_univerInstanceService'][_0x141916(0x302)]['pipe']((0x0,_0x47dd8f[_0x141916(0xda)])(_0xe7e321=>_0xe7e321[_0x141916(0x3b8)]()===_0x4a2688)))))[_0x141916(0x335)](_0x28a967=>{const _0x3d86db=_0x141916;let {reason:_0x5ee17b}=_0x28a967[_0x3d86db(0xfa)];this[_0x3d86db(0x445)][_0x3d86db(0x2e9)]({'id':'CLOSE_ROOM','data':_0x5ee17b}),this[_0x3d86db(0x2e2)][_0x3d86db(0x2fd)](_0x4a2688),this[_0x3d86db(0x476)][_0x3d86db(0x21c)](_0x594924[_0x3d86db(0x487)])[_0x3d86db(0x17f)](_0x4a2688);let _0x2218bc=_0x391a0e(_0xc979ec);_0x2218bc!=null&&this[_0x3d86db(0x233)](_0x4a2688,_0x2218bc,_0x4500fa[_0x3d86db(0x3cb)][_0x3d86db(0x3fe)],!0x1),this[_0x3d86db(0x46a)][_0x3d86db(0x231)](_0x4a2688);});};_0x4a5fa1(this[_0x99cab4(0x464)])[_0x99cab4(0x3e8)]((0x0,_0x47dd8f[_0x99cab4(0xda)])(({unitId:_0x263f9c})=>!(0x0,_0x594924[_0x99cab4(0x237)])(_0x263f9c)),(0x0,_0x47dd8f['takeUntil'])(this[_0x99cab4(0x334)]))[_0x99cab4(0x335)](({type:_0x70176c,unitId:_0x7786dd})=>{const _0x528a38=_0x99cab4;_0x5163d8(_0x7786dd,_0x70176c)[_0x528a38(0xad)](_0xa3e00e=>this[_0x528a38(0x476)]['get'](_0x594924[_0x528a38(0x1c1)])[_0x528a38(0x430)](_0xa3e00e));});}[_0x28ce9c(0x46f)](){const _0x5d7bcf=_0x28ce9c;let _0x513201=async(_0x523626,_0x59a1fb)=>{const _0x2983e7=_0x3cef;let _0x26c81e=await this[_0x2983e7(0x46a)][_0x2983e7(0x444)](_0x523626);if(!(this[_0x2983e7(0x3e9)]||this[_0x2983e7(0x2e2)][_0x2983e7(0x16a)](_0x523626)||!this[_0x2983e7(0x464)][_0x2983e7(0x35a)](_0x523626))){if(_0x59a1fb===_0x594924[_0x2983e7(0x3ed)]['UNIVER_SHEET']){let _0x226e87=this[_0x2983e7(0x476)][_0x2983e7(0x21c)](_0x2f8369[_0x2983e7(0x381)]);await _0x226e87[_0x2983e7(0x3c9)](_0x523626),_0x26c81e[_0x2983e7(0x382)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x4edc98=>_0x4edc98[_0x2983e7(0x202)]===_0x59e2cb[_0x2983e7(0x12b)]['UPDATE_PERMISSION_OBJ']),(0x0,_0x47dd8f[_0x2983e7(0x13c)])((0x0,_0x5d1b30[_0x2983e7(0x104)])(this[_0x2983e7(0x334)],_0x26c81e[_0x2983e7(0x382)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x2bce72=>_0x2bce72['eventID']===_0x59e2cb['CollaborationEvent'][_0x2983e7(0x434)])),this[_0x2983e7(0x464)][_0x2983e7(0x302)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x4f3d37=>_0x4f3d37[_0x2983e7(0x3b8)]()===_0x523626)))))['subscribe'](_0x56f103=>{const _0x12c097=_0x2983e7;let {objectId:_0x28d635}=_0x56f103[_0x12c097(0xfa)];_0x28d635===_0x523626?_0x226e87[_0x12c097(0x3c9)](_0x523626):_0x226e87[_0x12c097(0x336)](_0x523626,_0x28d635);});}else _0x26c81e[_0x2983e7(0x382)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x2bb8c8=>_0x2bb8c8[_0x2983e7(0x202)]===_0x59e2cb['CollaborationEvent'][_0x2983e7(0x471)]),(0x0,_0x47dd8f[_0x2983e7(0x13c)])((0x0,_0x5d1b30[_0x2983e7(0x104)])(this[_0x2983e7(0x334)],_0x26c81e[_0x2983e7(0x382)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x557943=>_0x557943[_0x2983e7(0x202)]===_0x59e2cb[_0x2983e7(0x12b)]['SHOULD_CLOSE_CONN'])),this[_0x2983e7(0x464)][_0x2983e7(0x302)][_0x2983e7(0x3e8)]((0x0,_0x47dd8f[_0x2983e7(0xda)])(_0x85144=>_0x85144[_0x2983e7(0x3b8)]()===_0x523626)))))[_0x2983e7(0x335)](()=>{const _0x5e16cf=_0x2983e7;this['_refreshUnitPermission'](_0x523626,_0x59a1fb)[_0x5e16cf(0xad)](_0x56e276=>this[_0x5e16cf(0x476)][_0x5e16cf(0x21c)](_0x594924[_0x5e16cf(0x1c1)])['error'](_0x56e276));}),await this[_0x2983e7(0x2a8)](_0x523626,_0x59a1fb);}};_0x4a5fa1(this['_univerInstanceService'])[_0x5d7bcf(0x3e8)]((0x0,_0x47dd8f[_0x5d7bcf(0xda)])(({unitId:_0x46370b})=>!(0x0,_0x594924['isInternalEditorID'])(_0x46370b)),(0x0,_0x47dd8f[_0x5d7bcf(0x13c)])(this[_0x5d7bcf(0x334)]))[_0x5d7bcf(0x335)](({type:_0x4b29d3,unitId:_0x4e0a07})=>{const _0x207c06=_0x5d7bcf;_0x513201(_0x4e0a07,_0x4b29d3)['catch'](_0x52d543=>this[_0x207c06(0x476)][_0x207c06(0x21c)](_0x594924[_0x207c06(0x1c1)])['error'](_0x52d543));});}async[_0x28ce9c(0x2a8)](_0x2c41d5,_0x2dd310){const _0xe5f614=_0x28ce9c;let _0x389a00=_0x391a0e(_0x2dd310);if(_0x389a00==null)return;let _0x16bf81=this[_0xe5f614(0x476)][_0xe5f614(0x21c)](_0x594924['ObjectPermissionService']);if(_0x16bf81['supports']({'unitId':_0x2c41d5,'objectId':_0x2c41d5,'objectType':_0x389a00})){await _0x16bf81[_0xe5f614(0x34b)](_0x2c41d5);return;}let _0x51451b=this['_getUnitPermissionPoints'](_0x2c41d5,_0x389a00);if(!_0x51451b[_0xe5f614(0x4a3)])return;let _0x58d7b8=await this[_0xe5f614(0x215)]['allowed']({'objectID':_0x2c41d5,'objectType':_0x389a00,'unitID':_0x2c41d5,'actions':_0x51451b[_0xe5f614(0x225)](({action:_0x5abc6e})=>_0x5abc6e)});this['_disposed']||this[_0xe5f614(0x2e2)][_0xe5f614(0x16a)](_0x2c41d5)||!this[_0xe5f614(0x464)][_0xe5f614(0x35a)](_0x2c41d5)||_0x58d7b8['forEach'](_0x36fcc8=>{const _0x46d504=_0xe5f614;let _0x4a446b=_0x36fcc8['action'],_0x5557ba=_0x36fcc8['allowed'];_0x4a446b!=null&&_0x5557ba!=null&&_0x51451b[_0x46d504(0xda)](_0x7d156c=>_0x7d156c['action']===_0x4a446b)[_0x46d504(0x3ab)](_0x1519ab=>this[_0x46d504(0xdd)][_0x46d504(0x2cc)](_0x1519ab['id'],_0x5557ba));});}[_0x28ce9c(0x461)](_0x257b4d,_0x5774c3){const _0x519cd1=_0x28ce9c;let _0x3d8473=[];return this[_0x519cd1(0xdd)][_0x519cd1(0x36a)]()[_0x519cd1(0x3ab)]((_0x2c3a3b,_0x3f9609)=>{const _0x2b7080=_0x519cd1;_0x2c3a3b[_0x2b7080(0x335)](_0x4145ec=>{const _0x373b2e=_0x2b7080;_0x4145ec[_0x373b2e(0x23b)]===_0x5774c3&&'unitId'in _0x4145ec&&_0x4145ec['unitId']===_0x257b4d&&(!('objectId'in _0x4145ec)||_0x4145ec[_0x373b2e(0x25b)]===_0x257b4d)&&_0x3d8473[_0x373b2e(0x210)]({'id':_0x3f9609,'action':_0x4145ec[_0x373b2e(0x30a)]});})[_0x2b7080(0x413)]();}),_0x3d8473;}[_0x28ce9c(0x233)](_0x1a5aaf,_0x44aae8,_0x88ceb1,_0x10717f){const _0x412cf5=_0x28ce9c;this[_0x412cf5(0xdd)][_0x412cf5(0x36a)]()[_0x412cf5(0x3ab)]((_0x14cbda,_0x5a6e03)=>{const _0x11bce7=_0x412cf5;let _0x2f91e2=!0x1;_0x14cbda[_0x11bce7(0x335)](_0x1b7598=>{const _0x211ae6=_0x11bce7;_0x2f91e2=_0x1b7598[_0x211ae6(0x23b)]===_0x44aae8&&_0x1b7598[_0x211ae6(0x30a)]===_0x88ceb1&&_0x211ae6(0x3f9)in _0x1b7598&&_0x1b7598[_0x211ae6(0x3f9)]===_0x1a5aaf&&(!(_0x211ae6(0x25b)in _0x1b7598)||_0x1b7598[_0x211ae6(0x25b)]===_0x1a5aaf);})[_0x11bce7(0x413)](),_0x2f91e2&&this[_0x11bce7(0xdd)][_0x11bce7(0x2cc)](_0x5a6e03,_0x10717f);});}};_0x331bdd=_0x5da6ca([_0x26312a(0x0,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924[_0x28ce9c(0x48a)])),_0x26312a(0x1,_0x594924[_0x28ce9c(0xdf)]),_0x26312a(0x2,_0x594924[_0x28ce9c(0x415)]),_0x26312a(0x3,_0x594924['IAuthzIoService']),_0x26312a(0x4,(0x0,_0x594924['Inject'])(_0x1c7cac)),_0x26312a(0x5,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x361972))],_0x331bdd);function _0x4a5fa1(_0xb47e1c){const _0x6ca7b=_0x28ce9c;return(0x0,_0x5d1b30[_0x6ca7b(0x104)])(...[_0x594924[_0x6ca7b(0x3ed)][_0x6ca7b(0x43c)],_0x594924[_0x6ca7b(0x3ed)][_0x6ca7b(0x310)],_0x594924['UniverInstanceType'][_0x6ca7b(0x379)],_0x594924[_0x6ca7b(0x3ed)][_0x6ca7b(0x133)],_0x594924[_0x6ca7b(0x3ed)][_0x6ca7b(0x145)]][_0x6ca7b(0x225)](_0x49e817=>_0xb47e1c['getTypeOfUnitAdded$'](_0x49e817)[_0x6ca7b(0x3e8)]((0x0,_0x47dd8f['map'])(_0x2197bb=>({'type':_0x49e817,'unitId':_0x2197bb['unit'][_0x6ca7b(0x3b8)]()})))));}function _0x391a0e(_0x219623){const _0x2713fa=_0x28ce9c;switch(_0x219623){case _0x594924[_0x2713fa(0x3ed)][_0x2713fa(0x43c)]:return _0x4500fa[_0x2713fa(0x11b)][_0x2713fa(0x292)];case _0x594924[_0x2713fa(0x3ed)]['UNIVER_DOC']:return _0x4500fa[_0x2713fa(0x11b)][_0x2713fa(0x1df)];case _0x594924['UniverInstanceType'][_0x2713fa(0x379)]:return _0x4500fa[_0x2713fa(0x11b)][_0x2713fa(0x368)];case _0x594924[_0x2713fa(0x3ed)][_0x2713fa(0x133)]:return _0x4500fa[_0x2713fa(0x11b)][_0x2713fa(0x2c1)];case _0x594924['UniverInstanceType'][_0x2713fa(0x145)]:return _0x4500fa['UnitObject'][_0x2713fa(0x1f4)];default:return;}}let _0x49276e=class{constructor(_0x11fd3f,_0x51320e){const _0x5529af=_0x28ce9c;this[_0x5529af(0x36f)]=_0x11fd3f,this[_0x5529af(0x33f)]=_0x51320e;}async[_0x28ce9c(0x1dc)](_0x344e0e,_0x1daff9){const _0x1e0326=_0x28ce9c;var _0xba9e31;let {unitID:_0x43c92e,type:_0x3bf6bc,revision:_0x166735=0x0}=_0x1daff9,_0x49458e=this[_0x1e0326(0x2e6)]()+'/'+_0x3bf6bc+_0x1e0326(0x2ae)+_0x43c92e+_0x1e0326(0x480)+_0x166735,_0x2f6ed9=(await this[_0x1e0326(0x33f)]['get'](_0x49458e))[_0x1e0326(0x2b7)],_0xab98c=(_0xba9e31=_0x2f6ed9[_0x1e0326(0x41d)])==null?void 0x0:_0xba9e31['workbook'];if(_0xab98c){let _0x3b7ea9=_0xab98c==null?void 0x0:_0xab98c['originalMeta'];_0xab98c['originalMeta']=_0x59e2cb[_0x1e0326(0x3f5)][_0x1e0326(0x2c4)]((0x0,_0x59e2cb[_0x1e0326(0x259)])(_0x3b7ea9)),Object[_0x1e0326(0x28b)](_0xab98c[_0x1e0326(0x407)])[_0x1e0326(0x3ab)](([,_0x235e93])=>{const _0x3c1ec3=_0x1e0326;let _0x3fdf88=_0x235e93[_0x3c1ec3(0x13e)];_0x235e93[_0x3c1ec3(0x13e)]=_0x59e2cb['textEncoder'][_0x3c1ec3(0x2c4)]((0x0,_0x59e2cb[_0x3c1ec3(0x259)])(_0x3fdf88));});}return _0x2f6ed9;}async[_0x28ce9c(0x441)](_0x1cb82c,_0x1e5225){const _0x3a463e=_0x28ce9c;let {unitID:_0x48355e,type:_0x113b1a,blockID:_0x52620e}=_0x1e5225,_0x3f037c=this[_0x3a463e(0x389)]()+'/'+_0x113b1a+_0x3a463e(0x2ae)+_0x48355e+_0x3a463e(0xc0)+_0x52620e;return(await this[_0x3a463e(0x33f)]['get'](_0x3f037c))[_0x3a463e(0x2b7)];}async[_0x28ce9c(0x2d5)](_0xa2903,_0x52c27e){const _0x190228=_0x28ce9c;let {unitID:_0x434af7,type:_0x1c7a51,blockID:_0x4f7cb6}=_0x52c27e,_0x3ecd68=this[_0x190228(0x389)]()+_0x190228(0xc0)+_0x1c7a51+_0x190228(0x2ae)+_0x434af7+_0x190228(0xc0)+_0x4f7cb6;return(await this['_httpService'][_0x190228(0x21c)](_0x3ecd68))[_0x190228(0x2b7)];}async[_0x28ce9c(0x311)](_0x3614e6,_0x54515e){const _0xd5beb=_0x28ce9c;let {unitID:_0x1eb69e,type:_0x3a09f2,from:_0x37bf24,to:_0x3b5a62}=_0x54515e,_0x1e4f9c=this['_getAPIPrefix']()+'/'+_0x3a09f2+_0xd5beb(0x2ae)+_0x1eb69e+'/fetchmissing?from='+_0x37bf24+_0xd5beb(0x385)+_0x3b5a62;return(await this[_0xd5beb(0x33f)][_0xd5beb(0x21c)](_0x1e4f9c))[_0xd5beb(0x2b7)];}[_0x28ce9c(0x2e6)](){const _0x363ee5=_0x28ce9c;return this[_0x363ee5(0x36f)]['getConfig'](_0x363ee5(0x153))??this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xef63f2=_0x28ce9c;let _0x356080=this[_0xef63f2(0x36f)]['getConfig'](_0xe358d2);return(_0x356080==null?void 0x0:_0x356080[_0xef63f2(0x169)])??_0xef63f2(0x22d);}async['getResourcesRequest'](_0xf143d4,_0x48e5d7){const _0x2f5b1b=_0x28ce9c;let _0x18d19d='/universer-api/snapshot/'+_0x48e5d7[_0x2f5b1b(0x23b)]+_0x2f5b1b(0x2ae)+_0x48e5d7[_0x2f5b1b(0x2b4)]+'/resources';return(await this[_0x2f5b1b(0x33f)][_0x2f5b1b(0x21c)](_0x18d19d,{'params':{'resourceId':JSON[_0x2f5b1b(0x122)](_0x48e5d7[_0x2f5b1b(0x14e)])}}))[_0x2f5b1b(0x2b7)];}[_0x28ce9c(0x3ef)](){const _0x54e76f=_0x28ce9c;throw Error(_0x54e76f(0x42f));}[_0x28ce9c(0x105)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x28ce9c(0x446)](){const _0x3ef3d4=_0x28ce9c;throw Error(_0x3ef3d4(0x42f));}[_0x28ce9c(0x28f)](){const _0xe54d73=_0x28ce9c;throw Error(_0xe54d73(0x42f));}['copyFileMeta'](){const _0x3c4875=_0x28ce9c;throw Error(_0x3c4875(0x42f));}['getLatestCsReqIdBySid'](){const _0x74d3d7=_0x28ce9c;throw Error(_0x74d3d7(0x42f));}};_0x49276e=_0x5da6ca([_0x26312a(0x0,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x1,(0x0,_0x594924['Inject'])(_0x38af37[_0x28ce9c(0x41f)]))],_0x49276e);let _0x2c5bf1=class extends _0x594924[_0x28ce9c(0x3af)]{constructor(_0x42278f,_0x3f75f7,_0x41c80a,_0x5eacc6,_0x5ea726,_0x329937){const _0x30a2bf=_0x28ce9c;super(_0x42278f,_0x3f75f7,_0x41c80a,_0x5eacc6),this[_0x30a2bf(0x116)]=_0x5ea726,this[_0x30a2bf(0x467)]=_0x329937;}[_0x28ce9c(0x40f)](_0x5305c6,_0x55e554){const _0x3bfbf9=_0x28ce9c;let _0x113149=this[_0x3bfbf9(0x198)](_0x5305c6);if(_0x113149)try{let _0x5b2572=this[_0x3bfbf9(0x295)](_0x113149,_0x55e554);this['_substituteUndoStack'](_0x5305c6,_0x5b2572);}catch(_0x57af37){this[_0x3bfbf9(0x467)][_0x3bfbf9(0x430)]('[CollaborationUndoRedoService]',_0x57af37),this[_0x3bfbf9(0x3d6)](_0x5305c6);}let _0x50548f=this[_0x3bfbf9(0x325)](_0x5305c6);if(_0x50548f)try{let _0xf77b89=this[_0x3bfbf9(0x295)](_0x50548f,_0x55e554,!0x0);this['_substituteRedoStack'](_0x5305c6,_0xf77b89);}catch(_0x16f3cf){this[_0x3bfbf9(0x467)][_0x3bfbf9(0x430)](_0x16f3cf),this['_clearRedo'](_0x5305c6);}}[_0x28ce9c(0x3d6)](_0x5914b9){const _0x554ae5=_0x28ce9c;let _0x199c7b=this[_0x554ae5(0x198)](_0x5914b9);_0x199c7b&&(_0x199c7b[_0x554ae5(0x4a3)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x57afa4){const _0x5ab1bb=_0x28ce9c;let _0x135a5d=this[_0x5ab1bb(0x325)](_0x57afa4);_0x135a5d&&(_0x135a5d['length']=0x0,this[_0x5ab1bb(0x276)]());}[_0x28ce9c(0x361)](_0x167b17,_0x24d6aa){const _0x2c92bf=_0x28ce9c;this[_0x2c92bf(0x1be)]['set'](_0x167b17,_0x24d6aa),this[_0x2c92bf(0x276)]();}[_0x28ce9c(0x38b)](_0x4659aa,_0x14187d){const _0x216352=_0x28ce9c;this[_0x216352(0x2a0)][_0x216352(0x360)](_0x4659aa,_0x14187d),this[_0x216352(0x276)]();}[_0x28ce9c(0x295)](_0x24a191,_0x4ae282,_0x18ac70=!0x1){const _0x3f8cfe=_0x28ce9c;if(!_0x24a191[_0x3f8cfe(0x4a3)])return[];let _0x3bb140=[],_0x22620f=_0x4ae282,_0x19f814=_0x4ae282[_0x3f8cfe(0x23b)]===_0x594924['UniverInstanceType'][_0x3f8cfe(0x310)]?this[_0x3f8cfe(0x464)][_0x3f8cfe(0x35a)](_0x4ae282[_0x3f8cfe(0x2b4)],_0x594924[_0x3f8cfe(0x3ed)]['UNIVER_DOC']):null,_0x5a4bca=_0x19f814?{'id':_0x19f814[_0x3f8cfe(0x3b8)](),'documentStyle':{},'tableSource':_0x594924[_0x3f8cfe(0x266)][_0x3f8cfe(0x2e7)](_0x19f814[_0x3f8cfe(0x42c)]()[_0x3f8cfe(0x1ec)]??{})}:null;for(let _0x28b42f=_0x24a191['length']-0x1;_0x28b42f>=0x0;_0x28b42f--){let {unitID:_0x4c9742,undoMutations:_0x1e7d1b,redoMutations:_0x16774b}=_0x24a191[_0x28b42f],_0x584b71=_0x18ac70?_0x16774b:_0x1e7d1b,_0x59e61b=this['_transformHistoryMutations'](_0x22620f,_0x584b71);if((0x0,_0x59e2cb[_0x3f8cfe(0x339)])(_0x59e61b)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x3f8cfe(0x293),_0x59e61b);break;}let _0x15b8ac=_0x18ac70?_0x1e7d1b:_0x16774b,_0x27ef9d=this[_0x3f8cfe(0x3db)](_0x59e61b['c1Prime'],_0x15b8ac);if((0x0,_0x59e2cb[_0x3f8cfe(0x339)])(_0x27ef9d)){this[_0x3f8cfe(0x467)]['error'](_0x3f8cfe(0x475),'transformStack\x20failed!',_0x27ef9d);break;}let _0x3cee0d=_0x18ac70?_0x27ef9d:_0x59e61b,_0x1d2d68=_0x18ac70?_0x59e61b:_0x27ef9d;_0x22620f=_0x59e61b[_0x3f8cfe(0x294)],_0x5a4bca&&=this[_0x3f8cfe(0x3df)](_0x5a4bca,_0x59e61b[_0x3f8cfe(0x305)],_0x27ef9d[_0x3f8cfe(0x305)]),_0x3bb140[_0x3f8cfe(0x210)]({'unitID':_0x4c9742,'undoMutations':_0x3cee0d[_0x3f8cfe(0x305)],'redoMutations':_0x1d2d68[_0x3f8cfe(0x305)]});}return _0x3bb140[_0x3f8cfe(0x3e0)]();}[_0x28ce9c(0x3db)](_0x47ebd2,_0x109e09){const _0x67e1fe=_0x28ce9c;if(_0x47ebd2[_0x67e1fe(0x23b)]!==_0x594924[_0x67e1fe(0x3ed)][_0x67e1fe(0x310)]||_0x109e09[_0x67e1fe(0x1a1)](_0x212fc=>_0x212fc['id']!==_0xbdd057[_0x67e1fe(0x1cb)]['id']))return this[_0x67e1fe(0x116)]['transformMutationsWithChangeset'](_0x47ebd2,_0x109e09);let _0x2729a4=_0x594924['Tools'][_0x67e1fe(0x2e7)](_0x109e09),_0x14f5cb=[];for(let _0x13ce86 of _0x47ebd2['mutations']){let _0x32bfe8={..._0x47ebd2,'mutations':[_0x13ce86]},_0x56d75a=[];for(let _0x1b8cd4 of _0x2729a4){_0x32bfe8=this[_0x67e1fe(0x23c)](_0x32bfe8,[_0x1b8cd4]);let _0x581394=this[_0x67e1fe(0x116)][_0x67e1fe(0x42a)](_0x32bfe8,[_0x1b8cd4]);if((0x0,_0x59e2cb[_0x67e1fe(0x339)])(_0x581394))return _0x581394;_0x32bfe8=_0x581394['c1Prime'],_0x56d75a[_0x67e1fe(0x210)](..._0x581394[_0x67e1fe(0x305)]);}_0x2729a4=_0x56d75a,_0x14f5cb[_0x67e1fe(0x210)](..._0x32bfe8['mutations']);}return{'m2Prime':_0x2729a4,'c1Prime':{..._0x47ebd2,'mutations':_0x14f5cb}};}[_0x28ce9c(0x23c)](_0x17d3b3,_0x585cfe){const _0x32aac9=_0x28ce9c;let _0x52d968=new Map(),_0x5c19c9=_0x594924[_0x32aac9(0xbd)][_0x32aac9(0x23b)][_0x32aac9(0x2e0)](_0x585cfe[0x0][_0x32aac9(0x26a)][_0x32aac9(0xd1)]);if(_0x5c19c9[_0x32aac9(0x48b)](null,_0x344176=>{const _0xcb0616=_0x32aac9;if(_0x344176['et']!==_0xcb0616(0x250))return;let _0x9b3938=JSON['stringify'](_0x5c19c9['getPath']()),_0x3a2f19=_0x52d968[_0xcb0616(0x21c)](_0x9b3938)??new Map(),_0x14d522=0x0;for(let _0x329ab4 of _0x344176['e']){if(_0x329ab4['t']===_0x594924[_0xcb0616(0x2a3)][_0xcb0616(0x23d)]){var _0x3574aa;for(let _0xf14db0 of((_0x3574aa=_0x329ab4[_0xcb0616(0x2b7)])==null?void 0x0:_0x3574aa[_0xcb0616(0x2b1)])??[])_0x3a2f19[_0xcb0616(0x360)](_0x14d522+_0xf14db0['startIndex'],{'paragraph':_0xf14db0,'replace':_0x329ab4[_0xcb0616(0x2b8)]===_0x594924[_0xcb0616(0x174)][_0xcb0616(0x3f2)]});}_0x329ab4['t']!==_0x594924[_0xcb0616(0x2a3)][_0xcb0616(0x273)]&&(_0x14d522+=_0x329ab4['len']);}_0x3a2f19[_0xcb0616(0x3b5)]>0x0&&_0x52d968['set'](_0x9b3938,_0x3a2f19);}),_0x52d968[_0x32aac9(0x3b5)]===0x0)return _0x17d3b3;let _0xe85b6a=_0x594924[_0x32aac9(0x266)][_0x32aac9(0x2e7)](_0x17d3b3);for(let _0x561fb6 of _0xe85b6a[_0x32aac9(0x43e)]){if(_0x561fb6['id']!==_0xbdd057[_0x32aac9(0x1cb)]['id'])continue;let _0x2b07b9=_0x594924[_0x32aac9(0xbd)]['type'][_0x32aac9(0x2e0)](_0x561fb6[_0x32aac9(0x26a)]['actions']);_0x2b07b9['traverse'](null,_0x45b18c=>{const _0x421ced=_0x32aac9;if(_0x45b18c['et']!==_0x421ced(0x250))return;let _0x2d0463=JSON[_0x421ced(0x122)](_0x2b07b9[_0x421ced(0x14f)]()),_0x52e7fc=_0x52d968[_0x421ced(0x21c)](_0x2d0463);if(!(_0x52e7fc!=null&&_0x52e7fc[_0x421ced(0x3b5)]))return;let _0x46be3d=0x0;for(let _0x4acd2e of _0x45b18c['e']){if(_0x4acd2e['t']===_0x594924[_0x421ced(0x2a3)]['RETAIN']&&_0x4acd2e['coverType']===_0x594924['UpdateDocsAttributeType']['REPLACE']){var _0x5a0e8d;for(let _0x5ec3e7 of((_0x5a0e8d=_0x4acd2e['body'])==null?void 0x0:_0x5a0e8d[_0x421ced(0x2b1)])??[]){var _0x29912b;let _0x54949d=(_0x29912b=_0x4acd2e[_0x421ced(0x29c)])==null||(_0x29912b=_0x29912b[_0x421ced(0x2b1)])==null?void 0x0:_0x29912b[_0x421ced(0x2db)](_0x34d6fa=>_0x34d6fa[_0x421ced(0xf3)]===_0x5ec3e7[_0x421ced(0xf3)]),_0x4d76ec=_0x52e7fc[_0x421ced(0x21c)](_0x46be3d+_0x5ec3e7['startIndex']);if(_0x54949d&&_0x4d76ec){this[_0x421ced(0xa6)](_0x5ec3e7,_0x54949d,_0x4d76ec['paragraph'],_0x4d76ec[_0x421ced(0x3ae)]);let _0x439320=_0x4d76ec[_0x421ced(0x3ae)]?new Set([...Object[_0x421ced(0x1b3)](_0x4d76ec[_0x421ced(0x171)]),...Object['keys'](_0x5ec3e7)]):Object['keys'](_0x4d76ec[_0x421ced(0x171)]);for(let _0x5e10e1 of _0x439320){if(_0x5e10e1===_0x421ced(0xf3)||_0x5e10e1===_0x421ced(0x186))continue;let _0xd6ecd7=Reflect[_0x421ced(0x21c)](_0x5ec3e7,_0x5e10e1);_0xd6ecd7===void 0x0?Reflect[_0x421ced(0x2fa)](_0x4d76ec[_0x421ced(0x171)],_0x5e10e1):Reflect[_0x421ced(0x360)](_0x4d76ec[_0x421ced(0x171)],_0x5e10e1,_0x594924[_0x421ced(0x266)][_0x421ced(0x2e7)](_0xd6ecd7));}}}}_0x4acd2e['t']!==_0x594924[_0x421ced(0x2a3)][_0x421ced(0x273)]&&(_0x46be3d+=_0x4acd2e['len']);}});}return _0xe85b6a;}[_0x28ce9c(0xa6)](_0x490b4c,_0x4d8bce,_0x4e5001,_0x36d872){const _0x3a3ebe=_0x28ce9c;let _0x95c9d7=new Set([...Object[_0x3a3ebe(0x1b3)](_0x490b4c),...Object[_0x3a3ebe(0x1b3)](_0x4d8bce),...Object[_0x3a3ebe(0x1b3)](_0x4e5001)]);for(let _0x1bb963 of _0x95c9d7){if(_0x1bb963===_0x3a3ebe(0xf3)||_0x1bb963==='paragraphId')continue;let _0x1b25e5=Reflect[_0x3a3ebe(0x21c)](_0x490b4c,_0x1bb963),_0x20ecda=Reflect['get'](_0x4d8bce,_0x1bb963),_0x27d330=Reflect[_0x3a3ebe(0x21c)](_0x4e5001,_0x1bb963);if(_0x36d872||_0x27d330!==void 0x0){if(_0x594924[_0x3a3ebe(0x266)][_0x3a3ebe(0x350)](_0x1b25e5,_0x20ecda))_0x27d330===void 0x0?(Reflect[_0x3a3ebe(0x2fa)](_0x490b4c,_0x1bb963),Reflect['deleteProperty'](_0x4d8bce,_0x1bb963)):(Reflect['set'](_0x490b4c,_0x1bb963,_0x594924[_0x3a3ebe(0x266)]['deepClone'](_0x27d330)),Reflect['set'](_0x4d8bce,_0x1bb963,_0x594924['Tools'][_0x3a3ebe(0x2e7)](_0x27d330)));else{if(_0x594924[_0x3a3ebe(0x266)]['isObject'](_0x1b25e5)&&(_0x594924[_0x3a3ebe(0x266)][_0x3a3ebe(0x2c5)](_0x20ecda)||_0x20ecda===void 0x0)){let _0x31c0f2=_0x20ecda??{};this[_0x3a3ebe(0xa6)](_0x1b25e5,_0x31c0f2,_0x594924['Tools'][_0x3a3ebe(0x2c5)](_0x27d330)?_0x27d330:{},_0x36d872),(_0x20ecda!==void 0x0||Object[_0x3a3ebe(0x1b3)](_0x31c0f2)[_0x3a3ebe(0x4a3)]>0x0)&&Reflect[_0x3a3ebe(0x360)](_0x4d8bce,_0x1bb963,_0x31c0f2);}}}}}[_0x28ce9c(0x3df)](_0xceee33,_0x5eda94,_0x42e1de){const _0x118871=_0x28ce9c;if(_0x5eda94[_0x118871(0x4a3)]!==0x1||_0x42e1de['length']!==0x1||_0x5eda94[0x0]['id']!==_0xbdd057[_0x118871(0x1cb)]['id']||_0x42e1de[0x0]['id']!==_0xbdd057[_0x118871(0x1cb)]['id'])return _0xceee33;let _0x2931d0=_0x5eda94[0x0][_0x118871(0x26a)],_0x198b24=_0x42e1de[0x0][_0x118871(0x26a)],_0x54528f=this['_filterTableActions'](_0x2931d0[_0x118871(0xd1)],!0x0);return _0x594924[_0x118871(0x136)][_0x118871(0x246)](_0x54528f)?_0xceee33:(_0x198b24['actions']=_0x594924[_0x118871(0x136)]['compose'](this['_filterTableActions'](_0x198b24['actions'],!0x1),_0x594924[_0x118871(0x136)]['invertWithDoc'](_0x54528f,_0xceee33)),_0x594924[_0x118871(0x136)]['apply'](_0xceee33,_0x54528f)??_0xceee33);}['_filterTableActions'](_0x329ba6,_0x2c65ab){const _0x37f6fa=_0x28ce9c;let _0x2fe1ef=_0x594924['JSON1'][_0x37f6fa(0x23b)][_0x37f6fa(0x2e0)](_0x329ba6),_0x411dd9=_0x594924['JSON1'][_0x37f6fa(0x23b)][_0x37f6fa(0x318)]();return _0x2fe1ef[_0x37f6fa(0x48b)](null,_0x417d06=>{const _0x5eb1d7=_0x37f6fa;let _0x4e22d4=_0x2fe1ef['getPath']();if(_0x4e22d4[0x0]===_0x5eb1d7(0x1ec)===_0x2c65ab){for(let _0x54a6ea of Object[_0x5eb1d7(0x1b3)](_0x417d06))_0x411dd9['writeAtPath'](_0x4e22d4,_0x54a6ea,_0x417d06[_0x54a6ea]);}}),_0x411dd9[_0x37f6fa(0x21c)]();}};_0x2c5bf1=_0x5da6ca([_0x26312a(0x0,_0x594924['IUniverInstanceService']),_0x26312a(0x1,_0x594924[_0x28ce9c(0x126)]),_0x26312a(0x2,_0x594924[_0x28ce9c(0xd7)]),_0x26312a(0x3,_0x594924[_0x28ce9c(0x101)]),_0x26312a(0x4,_0x59e2cb['ITransformService']),_0x26312a(0x5,_0x594924['ILogService'])],_0x2c5bf1);let _0x2d5a6e=class extends _0x594924['Plugin']{constructor(_0xad0cf=_0x13ba20,_0x5339b9,_0x5245d0,_0x5c24d1){const _0xa62795=_0x28ce9c;super(),this[_0xa62795(0x332)]=_0xad0cf,this[_0xa62795(0x467)]=_0x5339b9,this[_0xa62795(0x476)]=_0x5245d0,this['_configService']=_0x5c24d1;let {..._0x24d922}=(0x0,_0x594924[_0xa62795(0x104)])({},_0x13ba20,this[_0xa62795(0x332)]);if(!_0x24d922['socketService'])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x24d922,this[_0xa62795(0x36f)][_0xa62795(0xd5)](_0xe358d2,_0x24d922);}[_0x28ce9c(0x3c0)](){const _0x32d031=_0x28ce9c;this[_0x32d031(0x36f)]['setConfig'](_0x594924[_0x32d031(0x2dd)],this[_0x32d031(0x332)][_0x32d031(0x2c6)]??[]),this[_0x32d031(0xca)](),this[_0x32d031(0x201)]();}[_0x28ce9c(0xca)](){const _0x266e4d=_0x28ce9c;var _0x1bbbe9,_0x110213;this[_0x266e4d(0x476)][_0x266e4d(0x16a)](_0x594924[_0x266e4d(0x321)])&&this[_0x266e4d(0x467)][_0x266e4d(0x430)](_0x266e4d(0x3c5),_0x266e4d(0xbc));let _0x6f2e2=(0x0,_0x594924[_0x266e4d(0x3b6)])([[_0x594924[_0x266e4d(0x321)],{'useClass':_0x2c5bf1}],[_0x8830e8,{'useValue':_0x5273fe()}],[_0x1c7cac],[_0x2a43bc],[_0x18fc5c],[_0x300808],[_0x25e64e],[_0x3e652d],[_0x331bdd],[_0x361972],[_0x4cae7c],[_0x51dc05,{'useClass':this[_0x266e4d(0x332)]['socketService']}],[_0x59e2cb[_0x266e4d(0x2c9)],{'useClass':_0x49276e}],[_0x594924[_0x266e4d(0x414)],{'useClass':_0x30f9ac}],[_0x594924[_0x266e4d(0x3f0)],{'useClass':_0x42ab22}],[_0x4e9a00,{'useClass':_0x1e204e}],[_0x594924[_0x266e4d(0x324)],{'useClass':_0x10bf02}],[_0x22775e],[_0x301b65]],(_0x1bbbe9=this[_0x266e4d(0x332)])==null?void 0x0:_0x1bbbe9[_0x266e4d(0x256)]);if(!((_0x110213=this[_0x266e4d(0x332)])!=null&&_0x110213[_0x266e4d(0x29a)])){let _0x5b7a86=_0x6f2e2['findIndex'](([_0x327232])=>_0x327232===_0x141436);_0x5b7a86!==-0x1&&_0x6f2e2[_0x266e4d(0x359)](_0x5b7a86,0x1);}(0x0,_0x594924[_0x266e4d(0x20f)])(this['_injector'],_0x6f2e2);}[_0x28ce9c(0x201)](){const _0x583a18=_0x28ce9c;var _0x970334,_0x3c3aa0;if(this[_0x583a18(0x476)][_0x583a18(0x21c)](_0x38af37[_0x583a18(0x41f)])[_0x583a18(0x397)]({'priority':0x14,'interceptor':(0x0,_0x38af37[_0x583a18(0x281)])({'maxParallel':0x6})}),!((_0x970334=this[_0x583a18(0x332)])!=null&&_0x970334['enableOfflineEditing'])){var _0x264e8a;(_0x264e8a=this[_0x583a18(0x476)][_0x583a18(0x21c)](_0x2d518e,_0x594924[_0x583a18(0x400)][_0x583a18(0x3eb)]))==null||_0x264e8a[_0x583a18(0x49d)]();}(_0x3c3aa0=this['_config'])!=null&&_0x3c3aa0[_0x583a18(0x495)]&&(0x0,_0x594924[_0x583a18(0x49a)])(this[_0x583a18(0x476)],[[_0x300808]]),(0x0,_0x594924['touchDependencies'])(this[_0x583a18(0x476)],[[_0x25e64e],[_0x22775e],[_0x331bdd]]);}};_0x4c0132(_0x2d5a6e,'pluginName',_0x28ce9c(0x28c)),_0x4c0132(_0x2d5a6e,'packageName',_0x3ca81e),_0x4c0132(_0x2d5a6e,_0x28ce9c(0x3c6),_0xcbc3c0),_0x2d5a6e=_0x5da6ca([(0x0,_0x594924[_0x28ce9c(0x46e)])(_0x350a94[_0x28ce9c(0x364)],_0x38af37[_0x28ce9c(0x386)],_0x59e2cb[_0x28ce9c(0x229)]),_0x26312a(0x1,_0x594924[_0x28ce9c(0x1c1)]),_0x26312a(0x2,(0x0,_0x594924[_0x28ce9c(0xf2)])(_0x594924['Injector'])),_0x26312a(0x3,_0x594924['IConfigService'])],_0x2d5a6e),Object['defineProperty'](_0x16c048,_0x28ce9c(0xfc),{'enumerable':!0x0,'get':function(){return _0x30f9ac;}}),Object[_0x28ce9c(0x16d)](_0x16c048,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x3d552f;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x435),{'enumerable':!0x0,'get':function(){return _0x594950;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x158),{'enumerable':!0x0,'get':function(){return _0x4b8df2;}}),Object['defineProperty'](_0x16c048,_0x28ce9c(0x35b),{'enumerable':!0x0,'get':function(){return _0x59d8da;}}),_0x16c048[_0x28ce9c(0x245)]=_0xe358d2,_0x16c048[_0x28ce9c(0x488)]=_0x1591bd,Object['defineProperty'](_0x16c048,_0x28ce9c(0x207),{'enumerable':!0x0,'get':function(){return _0x1e204e;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x425),{'enumerable':!0x0,'get':function(){return _0x22775e;}}),Object['defineProperty'](_0x16c048,_0x28ce9c(0x3e7),{'enumerable':!0x0,'get':function(){return _0x4e94dc;}}),Object['defineProperty'](_0x16c048,_0x28ce9c(0x24d),{'enumerable':!0x0,'get':function(){return _0x42ab22;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x263),{'enumerable':!0x0,'get':function(){return _0x5e5039;}}),Object['defineProperty'](_0x16c048,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x1c7cac;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x196),{'enumerable':!0x0,'get':function(){return _0x5bdcdd;}}),_0x16c048[_0x28ce9c(0x405)]=_0xe6a82b,_0x16c048['CollaborationUIEventId']=_0x181346,_0x16c048[_0x28ce9c(0x228)]=_0x361972,Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x283),{'enumerable':!0x0,'get':function(){return _0x2c5bf1;}}),_0x16c048[_0x28ce9c(0x20c)]=_0x3e652d,Object['defineProperty'](_0x16c048,_0x28ce9c(0x27a),{'enumerable':!0x0,'get':function(){return _0x40e010;}}),_0x16c048['DEFAULT_ACK_TIMEOUT']=0x4e20,_0x16c048['DEFAULT_COLLAB_WEB_SOCKET_URL']='ws://127.0.0.1:8000/universer-api/comb/connect',_0x16c048['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']='/universer-api/uniscript',_0x16c048[_0x28ce9c(0x4a0)]=_0x28ce9c(0x35d),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x3f4),{'enumerable':!0x0,'get':function(){return _0x4cae7c;}}),Object[_0x28ce9c(0x16d)](_0x16c048,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x4a949e;}}),Object[_0x28ce9c(0x16d)](_0x16c048,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x1b7c12;}}),_0x16c048[_0x28ce9c(0x1e4)]=_0x28ce9c(0xb8),_0x16c048[_0x28ce9c(0x182)]=_0x28ce9c(0x24a),_0x16c048[_0x28ce9c(0x2d6)]=_0x4e9a00,_0x16c048['ICollaborationClientAdapterService']=_0x8830e8,_0x16c048[_0x28ce9c(0x466)]=_0x51dc05,_0x16c048[_0x28ce9c(0x2cd)]=_0x2d518e,_0x16c048[_0x28ce9c(0x454)]=_0x2ed4c4,_0x16c048['ISingleActiveUnitService']=_0x141436,_0x16c048[_0x28ce9c(0x120)]=0x3e8,_0x16c048[_0x28ce9c(0xe6)]=_0x28ce9c(0x120),_0x16c048['MAX_ACK_TIMEOUT']=0x1d4c0,Object['defineProperty'](_0x16c048,_0x28ce9c(0x3ee),{'enumerable':!0x0,'get':function(){return _0x2a43bc;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x346),{'enumerable':!0x0,'get':function(){return _0x10bf02;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x216),{'enumerable':!0x0,'get':function(){return _0x1f738c;}}),Object['defineProperty'](_0x16c048,_0x28ce9c(0x149),{'enumerable':!0x0,'get':function(){return _0x2b7afa;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x135),{'enumerable':!0x0,'get':function(){return _0xd87b49;}}),_0x16c048['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x28ce9c(0x39b),_0x16c048[_0x28ce9c(0x33c)]='RETRY_CONNECTING_MAX_COUNT',_0x16c048[_0x28ce9c(0x264)]=_0x483f95,Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x280),{'enumerable':!0x0,'get':function(){return _0x5afe54;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x3f6),{'enumerable':!0x0,'get':function(){return _0x18fc5c;}}),Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0x43d),{'enumerable':!0x0,'get':function(){return _0x32033d;}}),Object[_0x28ce9c(0x16d)](_0x16c048,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x49276e;}}),Object[_0x28ce9c(0x16d)](_0x16c048,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x200cdc;}}),_0x16c048['UnitStatus']=_0x269d12,Object[_0x28ce9c(0x16d)](_0x16c048,_0x28ce9c(0xec),{'enumerable':!0x0,'get':function(){return _0x2d5a6e;}}),_0x16c048[_0x28ce9c(0x45c)]=_0x5273fe,_0x16c048['deserializeToCombResponse']=_0x41b36b,_0x16c048['getLocalCacheKey']=_0x2499a5,_0x16c048[_0x28ce9c(0x316)]=_0x1e9454;}));