@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507181608

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x15a3(_0x3185a0,_0x1e73ea){const _0x1c69e4=_0x1c69();return _0x15a3=function(_0x15a31a,_0x19e043){_0x15a31a=_0x15a31a-0x1e3;let _0x1c3d49=_0x1c69e4[_0x15a31a];return _0x1c3d49;},_0x15a3(_0x3185a0,_0x1e73ea);}const _0x582210=_0x15a3;(function(_0x278794,_0x15434d){const _0x387b5b=_0x15a3,_0x44a883=_0x278794();while(!![]){try{const _0x172fd5=-parseInt(_0x387b5b(0x1e3))/0x1*(parseInt(_0x387b5b(0x1f0))/0x2)+parseInt(_0x387b5b(0x1e4))/0x3+parseInt(_0x387b5b(0x1e5))/0x4+parseInt(_0x387b5b(0x1ef))/0x5+-parseInt(_0x387b5b(0x1ee))/0x6+parseInt(_0x387b5b(0x1f1))/0x7*(parseInt(_0x387b5b(0x1eb))/0x8)+-parseInt(_0x387b5b(0x1e8))/0x9;if(_0x172fd5===_0x15434d)break;else _0x44a883['push'](_0x44a883['shift']());}catch(_0x5609ff){_0x44a883['push'](_0x44a883['shift']());}}}(_0x1c69,0x661eb));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0x582210(0x1ec)]{[_0x582210(0x1e9)](_0x230bcb,_0x5d077d,..._0x3d30b6){const _0x3da510=_0x582210;return this[_0x3da510(0x1e7)][_0x3da510(0x1e6)](t[_0x3da510(0x1ea)])[_0x3da510(0x1e9)](_0x230bcb,_0x5d077d,{},..._0x3d30b6);}}function _0x1c69(){const _0x49f080=['6IprEDT','1654272gBJceh','3335924fDTOtd','get','_injector','8523990sHXLqk','runOnServer','RemoteUniscriptService','464mkkorf','FUniver','extend','2383698glmSCU','999035OpdJhL','215282AscJxp','99365kLjvbC'];_0x1c69=function(){return _0x49f080;};return _0x1c69();}e[_0x582210(0x1ec)][_0x582210(0x1ed)](c);
1
+ 'use strict';const _0x33b0ce=_0x11c7;(function(_0x8e0ad2,_0xe69f40){const _0x472f89=_0x11c7,_0x4f6158=_0x8e0ad2();while(!![]){try{const _0x5ec3b2=parseInt(_0x472f89(0x18f))/0x1*(parseInt(_0x472f89(0x194))/0x2)+-parseInt(_0x472f89(0x196))/0x3*(-parseInt(_0x472f89(0x199))/0x4)+parseInt(_0x472f89(0x190))/0x5+-parseInt(_0x472f89(0x193))/0x6*(parseInt(_0x472f89(0x19a))/0x7)+parseInt(_0x472f89(0x19b))/0x8*(-parseInt(_0x472f89(0x192))/0x9)+-parseInt(_0x472f89(0x195))/0xa*(parseInt(_0x472f89(0x18d))/0xb)+parseInt(_0x472f89(0x18c))/0xc;if(_0x5ec3b2===_0xe69f40)break;else _0x4f6158['push'](_0x4f6158['shift']());}catch(_0x53378a){_0x4f6158['push'](_0x4f6158['shift']());}}}(_0x20e9,0xa87c2));function _0x20e9(){const _0x44b301=['22376cDwXsw','6285672MLohnl','4768214DPAJdI','runOnServer','16921PiqoSO','1233320TAiWfa','extend','1557tEeWmj','54TgCBQm','142rHwGrX','20UKkzGB','170457PMDKpQ','RemoteUniscriptService','FUniver','32yQmybI','299810RBMVXC'];_0x20e9=function(){return _0x44b301;};return _0x20e9();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x11c7(_0x186724,_0x127d10){const _0x20e9b1=_0x20e9();return _0x11c7=function(_0x11c760,_0x1e7275){_0x11c760=_0x11c760-0x18c;let _0x43a152=_0x20e9b1[_0x11c760];return _0x43a152;},_0x11c7(_0x186724,_0x127d10);}class c extends e[_0x33b0ce(0x198)]{[_0x33b0ce(0x18e)](_0xf2073,_0x2a7889,..._0x3f1085){const _0x33bc11=_0x33b0ce;return this['_injector']['get'](t[_0x33bc11(0x197)])['runOnServer'](_0xf2073,_0x2a7889,{},..._0x3f1085);}}e[_0x33b0ce(0x198)][_0x33b0ce(0x191)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3800a1=_0x4499;(function(_0x133259,_0x43f768){const _0x1d7ef7=_0x4499,_0x3c3dd1=_0x133259();while(!![]){try{const _0xf24af1=-parseInt(_0x1d7ef7(0x2f2))/0x1+-parseInt(_0x1d7ef7(0x381))/0x2+parseInt(_0x1d7ef7(0x20b))/0x3+-parseInt(_0x1d7ef7(0x3c3))/0x4+-parseInt(_0x1d7ef7(0x354))/0x5*(parseInt(_0x1d7ef7(0x425))/0x6)+parseInt(_0x1d7ef7(0x3fe))/0x7+parseInt(_0x1d7ef7(0x2d0))/0x8*(parseInt(_0x1d7ef7(0x219))/0x9);if(_0xf24af1===_0x43f768)break;else _0x3c3dd1['push'](_0x3c3dd1['shift']());}catch(_0x7b5baa){_0x3c3dd1['push'](_0x3c3dd1['shift']());}}}(_0x31e5,0x7349a));var Ve=Object['defineProperty'],Xe=(_0x552fd6,_0x50326a,_0xfbfaaa)=>_0x50326a in _0x552fd6?Ve(_0x552fd6,_0x50326a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfbfaaa}):_0x552fd6[_0x50326a]=_0xfbfaaa,h=(_0x11194d,_0x493e6f,_0x48ce9a)=>Xe(_0x11194d,typeof _0x493e6f!=_0x3800a1(0x33c)?_0x493e6f+'':_0x493e6f,_0x48ce9a);Object['defineProperty'](exports,Symbol[_0x3800a1(0x34a)],{'value':_0x3800a1(0x349)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x3800a1(0x3a4)],ze=(_0xe0adf2,_0x18a265,_0x9ce40b,_0x239165)=>{const _0x5ab397=_0x3800a1;for(var _0x38f9af=_0x239165>0x1?void 0x0:_0x239165?qe(_0x18a265,_0x9ce40b):_0x18a265,_0x496a23=_0xe0adf2[_0x5ab397(0x2c4)]-0x1,_0x5a7ae8;_0x496a23>=0x0;_0x496a23--)(_0x5a7ae8=_0xe0adf2[_0x496a23])&&(_0x38f9af=_0x5a7ae8(_0x38f9af)||_0x38f9af);return _0x38f9af;},Oe=(_0x5bfa54,_0x2c7de6)=>(_0x48a0c8,_0x5649f3)=>_0x2c7de6(_0x48a0c8,_0x5649f3,_0x5bfa54);let de=class extends a[_0x3800a1(0x445)]{constructor(_0x2ed0d8,_0x51727e){const _0x12e144=_0x3800a1;super(),this['_docClipboardService']=_0x2ed0d8,this[_0x12e144(0x238)]=_0x51727e,this[_0x12e144(0x3f0)]();}[_0x3800a1(0x3f0)](){const _0x1b8b55=_0x3800a1,_0x5764cd=this;this['disposeWithMe'](this[_0x1b8b55(0x3bd)][_0x1b8b55(0x338)]({'onBeforePasteImage':async _0x27fef5=>{const _0x27498f=_0x1b8b55,_0xdfc40c=await _0x5764cd[_0x27498f(0x238)][_0x27498f(0x32f)](_0x27fef5);return _0xdfc40c?{'source':_0xdfc40c[_0x27498f(0x30d)],'imageSourceType':_0xdfc40c[_0x27498f(0x305)]}:null;}}));}};de=ze([Oe(0x0,E[_0x3800a1(0x438)]),Oe(0x1,Ge[_0x3800a1(0x455)])],de);const Te=['purple.300',_0x3800a1(0x3ea),'green.600',_0x3800a1(0x2d7),_0x3800a1(0x44f),'yellow.400'];class me extends a[_0x3800a1(0x24d)]{constructor(){const _0x2f4a13=_0x3800a1;super(...arguments),h(this,_0x2f4a13(0x2e0),new Map()),h(this,_0x2f4a13(0x258),0x0);}[_0x3800a1(0x30c)](_0x1083c0){const _0x38e357=_0x3800a1;if(this[_0x38e357(0x2e0)][_0x38e357(0x1f7)](_0x1083c0))return this[_0x38e357(0x2e0)][_0x38e357(0x3bf)](_0x1083c0);const _0x33534f=Te[this['_colorIndex']];return this[_0x38e357(0x258)]=(this['_colorIndex']+0x1)%Te[_0x38e357(0x2c4)],this[_0x38e357(0x2e0)][_0x38e357(0x21e)](_0x1083c0,_0x33534f),_0x33534f;}}function Pe(_0x2d7692){const _0x4c166c=_0x3800a1;let _0x10aba0='';for(const _0x474a17 of _0x2d7692){const {startOffset:_0x18af31,endOffset:_0x18ef03,isActive:_0x1bc60d,rangeType:_0x3e1c21,segmentId:_0x2112d0,segmentPage:_0x25a5c2}=_0x474a17;_0x10aba0[_0x4c166c(0x2c4)]&&(_0x10aba0+=','),_0x10aba0+=_0x18af31+':'+_0x18ef03+':'+(_0x1bc60d?'1':'0')+':'+_0x3e1c21+':'+_0x2112d0+':'+_0x25a5c2;}return _0x10aba0;}function Je(_0xb6c992){const _0x36e022=_0x3800a1,_0x2297cc=_0xb6c992[_0x36e022(0x302)](','),_0x490d62=[];for(const _0x3cae6f of _0x2297cc){const [_0x3f50fd,_0x34106e,_0x31c27e,_0x1db4f9,_0x144b50,_0x580e7d]=_0x3cae6f[_0x36e022(0x302)](':');_0x490d62[_0x36e022(0x377)]({'startOffset':Number(_0x3f50fd),'endOffset':Number(_0x34106e),'collapsed':_0x3f50fd===_0x34106e,'isActive':_0x31c27e==='1','rangeType':_0x1db4f9===a[_0x36e022(0x21a)][_0x36e022(0x3b4)]?a[_0x36e022(0x21a)][_0x36e022(0x3b4)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x144b50=='string'?String(_0x144b50):'','segmentPage':Number(_0x580e7d!=null?_0x580e7d:-0x1)});}return _0x490d62[_0x36e022(0x3cd)](_0xf3976=>_0xf3976[_0x36e022(0x366)])||(_0x490d62[0x0][_0x36e022(0x366)]=!0x0),_0x490d62;}class Ce extends a[_0x3800a1(0x445)]{constructor(){const _0x4cea8d=_0x3800a1;super(...arguments),h(this,'_collabCursorState$',new d[(_0x4cea8d(0x34c))](null)),h(this,_0x4cea8d(0x2ec),this[_0x4cea8d(0x1dc)][_0x4cea8d(0x2a5)]());}[_0x3800a1(0x1da)](_0x42fa5d){const {unitID:_0x513a0a,memberID:_0x48a368,textRanges:_0x35fdbc}=_0x42fa5d,_0x588f01=Pe(_0x35fdbc);if(_0x588f01==='')return;const _0x456cc9={'unitID':_0x513a0a,'memberID':_0x48a368,'selection':_0x588f01};this['_collabCursorState$']['next'](_0x456cc9);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x437105,_0x25bd99,_0x12ac6a,_0x280b68)=>{const _0x3e6b85=_0x3800a1;for(var _0x3769d0=_0x280b68>0x1?void 0x0:_0x280b68?Ze(_0x25bd99,_0x12ac6a):_0x25bd99,_0x1b3a9f=_0x437105[_0x3e6b85(0x2c4)]-0x1,_0x121182;_0x1b3a9f>=0x0;_0x1b3a9f--)(_0x121182=_0x437105[_0x1b3a9f])&&(_0x3769d0=_0x121182(_0x3769d0)||_0x3769d0);return _0x3769d0;},L=(_0x5df7fb,_0x56852e)=>(_0x1d6de4,_0x1eb5e8)=>_0x56852e(_0x1d6de4,_0x1eb5e8,_0x5df7fb);const et=0x12c,tt=0x64;let Ie=class extends a[_0x3800a1(0x445)]{constructor(_0x4cf66d,_0x54fb99,_0x103d1d,_0x1748a6,_0x149977,_0x3d5868,_0x5bdd86,_0x2a609a,_0x4bba62){const _0x19acd0=_0x3800a1;super(),h(this,'_online',!0x1),h(this,_0x19acd0(0x3f0),!0x1),h(this,_0x19acd0(0x3df),new d[(_0x19acd0(0x34c))](new Map())),h(this,_0x19acd0(0x3a3),this[_0x19acd0(0x3df)][_0x19acd0(0x2a5)]()),h(this,_0x19acd0(0x42a),new d[(_0x19acd0(0x34c))]([])),h(this,_0x19acd0(0x24e),this[_0x19acd0(0x42a)]['pipe'](d[_0x19acd0(0x2b1)](et))),h(this,_0x19acd0(0x41c),a[_0x19acd0(0x40e)](_0x3d4866=>{const _0x5c6f96=_0x19acd0,_0x28c5e9={'eventID':m[_0x5c6f96(0x1fe)][_0x5c6f96(0x23d)],'data':{'unitID':this[_0x5c6f96(0x456)],'memberID':this[_0x5c6f96(0x3db)][_0x5c6f96(0x3aa)](),'selection':Pe(_0x3d4866)}};this[_0x5c6f96(0x3db)][_0x5c6f96(0x312)](_0x28c5e9,this['unitID']);},tt)),(this[_0x19acd0(0x456)]=_0x4cf66d,this[_0x19acd0(0x3db)]=_0x54fb99,this[_0x19acd0(0x1d9)]=_0x103d1d,this[_0x19acd0(0x40c)]=_0x1748a6,this[_0x19acd0(0x407)]=_0x149977,this[_0x19acd0(0x362)]=_0x3d5868,this['_transformService']=_0x5bdd86,this[_0x19acd0(0x38d)]=_0x2a609a,this[_0x19acd0(0x203)]=_0x4bba62);}get[_0x3800a1(0x2d2)](){const _0x5905fb=_0x3800a1;return this[_0x5905fb(0x3df)][_0x5905fb(0x357)]();}get['roomMembers'](){const _0x34c3ee=_0x3800a1;return this[_0x34c3ee(0x42a)][_0x34c3ee(0x357)]();}[_0x3800a1(0x37f)](){const _0x25bf6a=_0x3800a1;super[_0x25bf6a(0x37f)](),this[_0x25bf6a(0x3df)][_0x25bf6a(0x3ee)](new Map()),this[_0x25bf6a(0x3df)][_0x25bf6a(0x3a5)](),this[_0x25bf6a(0x42a)][_0x25bf6a(0x3ee)]([]),this[_0x25bf6a(0x42a)][_0x25bf6a(0x3a5)]();}[_0x3800a1(0x34f)](){const _0x49f8f5=_0x3800a1;this[_0x49f8f5(0x3f0)]||(this[_0x49f8f5(0x3f0)]=!0x0,this['_session'][_0x49f8f5(0x397)]['pipe'](d['takeUntil'](this['dispose$']))[_0x49f8f5(0x227)](_0x52ae6c=>{const _0x536c7e=_0x49f8f5;_0x52ae6c===u[_0x536c7e(0x337)]['ONLINE']?this[_0x536c7e(0x1e2)]():this[_0x536c7e(0x3e7)]();}),this[_0x49f8f5(0x3db)][_0x49f8f5(0x432)][_0x49f8f5(0x355)](d[_0x49f8f5(0x2cb)](this[_0x49f8f5(0x344)]))[_0x49f8f5(0x227)](_0xdb324e=>{const _0x2bc3a7=_0x49f8f5,_0x227e9a=_0xdb324e[_0x2bc3a7(0x459)];_0x227e9a===m[_0x2bc3a7(0x1fe)][_0x2bc3a7(0x23d)]&&this[_0x2bc3a7(0x2e9)](_0xdb324e),_0x227e9a===m['CollaborationEvent'][_0x2bc3a7(0x412)]&&this[_0x2bc3a7(0x31f)](_0xdb324e);}),this['disposeWithMe'](this[_0x49f8f5(0x203)]['onCommandExecuted'](_0x1f962b=>{const _0x254f9f=_0x49f8f5,_0x310dc1=_0x1f962b[_0x254f9f(0x3a7)];_0x310dc1!=null&&this[_0x254f9f(0x313)]&&_0x1f962b['id']===Y[_0x254f9f(0x422)]['id']&&_0x310dc1[_0x254f9f(0x42f)]===this[_0x254f9f(0x456)]&&_0x310dc1[_0x254f9f(0x439)]===!0x1&&_0x310dc1[_0x254f9f(0x387)][_0x254f9f(0x2c4)]>0x0&&this[_0x254f9f(0x41c)](_0x310dc1[_0x254f9f(0x387)]);})),this['_syncEditingCollabCursorService'][_0x49f8f5(0x2ec)]['pipe'](d['takeUntil'](this[_0x49f8f5(0x344)]))[_0x49f8f5(0x227)](_0x20163c=>{const _0x46c335=_0x49f8f5;if((_0x20163c==null?void 0x0:_0x20163c[_0x46c335(0x456)])!==this['unitID'])return;const _0x24aa42={'eventID':m[_0x46c335(0x1fe)][_0x46c335(0x23d)],'data':_0x20163c};this[_0x46c335(0x2e9)](_0x24aa42);}),this[_0x49f8f5(0x372)](this['_commandService'][_0x49f8f5(0x2c5)](_0x1b0b5f=>{const _0x597b75=_0x49f8f5;if(_0x1b0b5f[_0x597b75(0x3a7)]==null)return;const _0x4bdb45=_0x1b0b5f[_0x597b75(0x3a7)];if(_0x1b0b5f['id']!==Y[_0x597b75(0x2c0)]['id']||_0x4bdb45[_0x597b75(0x42f)]!==this[_0x597b75(0x456)])return;const _0x463500={'id':'doc.mutation.rich-text-editing','params':_0x4bdb45},_0x440909=this[_0x597b75(0x2d2)];for(const [_0x34900f,_0x52d44a]of _0x440909){const _0x5d269={'id':_0x597b75(0x405),'params':{'unitId':this[_0x597b75(0x456)],'actions':null,'textRanges':_0x52d44a[_0x597b75(0x387)]}},_0x798572=this[_0x597b75(0x41b)]['transformMutation'](_0x463500,_0x5d269,!0x1);if(m[_0x597b75(0x39b)](_0x798572))throw _0x798572[_0x597b75(0x3ef)];_0x440909[_0x597b75(0x21e)](_0x34900f,{..._0x52d44a,'ranges':_0x798572[_0x597b75(0x451)][_0x597b75(0x3a7)][_0x597b75(0x3e4)]});}queueMicrotask(()=>{const _0xc87786=_0x597b75;this[_0xc87786(0x3df)][_0xc87786(0x3ee)](_0x440909);});})));}[_0x3800a1(0x2e9)](_0x14c6b7){const _0xa2d05c=_0x3800a1;var _0x45bc4b,_0x1672a9;const {memberID:_0x43ee22,selection:_0x280dfe}=_0x14c6b7[_0xa2d05c(0x406)],_0x40d20d=Je(_0x280dfe),_0x169d7f=(_0x1672a9=(_0x45bc4b=this[_0xa2d05c(0x407)]['getMember'](this[_0xa2d05c(0x456)],_0x43ee22))==null?void 0x0:_0x45bc4b['name'])!=null?_0x1672a9:'Unknown\x20user',_0x179cc3={'color':this['_colorAssignService'][_0xa2d05c(0x30c)](_0x43ee22),'name':_0x169d7f,'ranges':_0x40d20d},_0x39e00f=this['cursorInfo'];_0x39e00f[_0xa2d05c(0x21e)](_0x43ee22,_0x179cc3),this['_cursorInfo$'][_0xa2d05c(0x3ee)](_0x39e00f);}['_onCursorDelete'](_0x33beb8){const _0x4b924f=_0x3800a1,{memberID:_0x22b321}=_0x33beb8['data'],_0x4adcd6=this[_0x4b924f(0x2d2)];_0x4adcd6[_0x4b924f(0x37b)](_0x22b321),this[_0x4b924f(0x3df)]['next'](_0x4adcd6);}[_0x3800a1(0x1e2)](){const _0x3bada1=_0x3800a1;var _0x26fce4;if(this[_0x3bada1(0x313)]=!0x0,((_0x26fce4=this['_univerInstanceService'][_0x3bada1(0x291)]())==null?void 0x0:_0x26fce4[_0x3bada1(0x1f2)]())!==this[_0x3bada1(0x456)])return;const _0xe17bc6=this[_0x3bada1(0x1d9)][_0x3bada1(0x3bf)](Y['DocSelectionManagerService'])[_0x3bada1(0x271)]();Array[_0x3bada1(0x1f3)](_0xe17bc6)&&_0xe17bc6[_0x3bada1(0x2c4)]>0x0&&this[_0x3bada1(0x41c)](_0xe17bc6);}[_0x3800a1(0x3e7)](){const _0x128a8a=_0x3800a1;this[_0x128a8a(0x313)]=!0x1;}};Ie=Qe([L(0x2,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),L(0x3,a[_0x3800a1(0x22f)](me)),L(0x4,a['Inject'](u[_0x3800a1(0x1e1)])),L(0x5,a[_0x3800a1(0x22f)](Ce)),L(0x6,m[_0x3800a1(0x364)]),L(0x7,a[_0x3800a1(0x26a)]),L(0x8,a[_0x3800a1(0x3fa)])],Ie);var st=Object[_0x3800a1(0x3a4)],it=(_0x3de7a0,_0x41dfc4,_0x290110,_0x110535)=>{const _0x3268cd=_0x3800a1;for(var _0x4a33f6=_0x110535>0x1?void 0x0:_0x110535?st(_0x41dfc4,_0x290110):_0x41dfc4,_0x16ccca=_0x3de7a0[_0x3268cd(0x2c4)]-0x1,_0x39c6b0;_0x16ccca>=0x0;_0x16ccca--)(_0x39c6b0=_0x3de7a0[_0x16ccca])&&(_0x4a33f6=_0x39c6b0(_0x4a33f6)||_0x4a33f6);return _0x4a33f6;},A=(_0x326b44,_0x1e4426)=>(_0x3ad64b,_0x32a0bd)=>_0x1e4426(_0x3ad64b,_0x32a0bd,_0x326b44);const nt=0x12c,rt=0x64,ot=()=>{let _0x1688d1=[],_0x196b58=!0x1;return _0x1e74be=>{const _0x3d6862=_0x4499;_0x1688d1[_0x3d6862(0x377)](_0x1e74be),_0x196b58||(_0x196b58=!0x0,setTimeout(()=>{const _0x4805a4=_0x3d6862;_0x1688d1[_0x4805a4(0x316)](_0xde666d=>_0xde666d()),_0x1688d1=[],_0x196b58=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x513640,_0x5da9cb,_0x176e6a,_0x4b3c17,_0x41e2be,_0x4b503e,_0x264398,_0x8c751e){const _0xda372=_0x3800a1;super(),h(this,_0xda372(0x313),!0x1),h(this,_0xda372(0x3f0),!0x1),h(this,_0xda372(0x3df),new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this[_0xda372(0x3df)][_0xda372(0x2a5)]()),h(this,_0xda372(0x42a),new d[(_0xda372(0x34c))]([])),h(this,'roomMembers$',this[_0xda372(0x42a)][_0xda372(0x355)](d[_0xda372(0x2b1)](nt))),h(this,_0xda372(0x41c),a[_0xda372(0x40e)]((_0x466cb1,_0x426f5c)=>{const _0x1a0b26=_0xda372,_0x112bdb={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1a0b26(0x456)],'memberID':this['_session'][_0x1a0b26(0x3aa)](),'selection':be[_0x1a0b26(0x2bb)](_0x466cb1,_0x426f5c[_0x1a0b26(0x1e8)])}};this['_session'][_0x1a0b26(0x312)](_0x112bdb,this[_0x1a0b26(0x456)]);},rt)),(this[_0xda372(0x456)]=_0x513640,this[_0xda372(0x3db)]=_0x5da9cb,this[_0xda372(0x1d9)]=_0x176e6a,this[_0xda372(0x40c)]=_0x4b3c17,this[_0xda372(0x407)]=_0x41e2be,this[_0xda372(0x38d)]=_0x4b503e,this['_commandService']=_0x264398,this['_refRangeService']=_0x8c751e);}get[_0x3800a1(0x2d2)](){const _0xcd663e=_0x3800a1;return this[_0xcd663e(0x3df)][_0xcd663e(0x357)]();}get[_0x3800a1(0x395)](){const _0x4feb67=_0x3800a1;return this[_0x4feb67(0x42a)][_0x4feb67(0x357)]();}['dispose'](){const _0x34269d=_0x3800a1;super[_0x34269d(0x37f)](),this[_0x34269d(0x3df)][_0x34269d(0x3ee)](new Map()),this[_0x34269d(0x3df)][_0x34269d(0x3a5)](),this[_0x34269d(0x42a)][_0x34269d(0x3ee)]([]),this[_0x34269d(0x42a)][_0x34269d(0x3a5)]();}[_0x3800a1(0x34f)](){const _0x239aa0=_0x3800a1;this[_0x239aa0(0x3f0)]||(this[_0x239aa0(0x3f0)]=!0x0,this[_0x239aa0(0x3db)]['sessionStatus$'][_0x239aa0(0x355)](d[_0x239aa0(0x2cb)](this[_0x239aa0(0x344)]))[_0x239aa0(0x227)](_0x34db0c=>{const _0x60fa2e=_0x239aa0;_0x34db0c===u[_0x60fa2e(0x337)]['ONLINE']?this[_0x60fa2e(0x1e2)]():this[_0x60fa2e(0x3e7)]();}),this[_0x239aa0(0x3db)][_0x239aa0(0x432)][_0x239aa0(0x355)](d[_0x239aa0(0x2cb)](this[_0x239aa0(0x344)]))[_0x239aa0(0x227)](_0x4a81cc=>{const _0x19d8e3=_0x239aa0,_0xa36aad=_0x4a81cc['eventID'];_0xa36aad===m[_0x19d8e3(0x1fe)][_0x19d8e3(0x23d)]&&this[_0x19d8e3(0x2e9)](_0x4a81cc),_0xa36aad===m[_0x19d8e3(0x1fe)][_0x19d8e3(0x412)]&&this[_0x19d8e3(0x31f)](_0x4a81cc);}),this[_0x239aa0(0x440)](),this[_0x239aa0(0x372)](this[_0x239aa0(0x203)]['onCommandExecuted'](_0x4202a9=>{const _0x10a5b6=_0x239aa0;if(this[_0x10a5b6(0x313)]&&_0x4202a9['id']===g['SetSelectionsOperation']['id']&&_0x4202a9[_0x10a5b6(0x3a7)]['unitId']===this['unitID']){const _0x1fb079=_0x4202a9[_0x10a5b6(0x3a7)];this[_0x10a5b6(0x41c)](_0x1fb079[_0x10a5b6(0x41e)],_0x1fb079[_0x10a5b6(0x3fd)][0x0]);}})));}['_onCursorUpdate'](_0x56b012){const _0x9930b5=_0x3800a1;var _0x290c12,_0x2698a3;const {memberID:_0x11d761,selection:_0x4c59e8}=_0x56b012[_0x9930b5(0x406)],{sheetName:_0x54fd38,range:_0x483ff6}=be[_0x9930b5(0x25a)](_0x4c59e8),_0x8c9ff0={'name':(_0x2698a3=(_0x290c12=this[_0x9930b5(0x407)][_0x9930b5(0x326)](this[_0x9930b5(0x456)],_0x11d761))==null?void 0x0:_0x290c12[_0x9930b5(0x36e)])!=null?_0x2698a3:_0x9930b5(0x32d),'range':this['_getMergeRange'](_0x54fd38,_0x483ff6),'sheetID':_0x54fd38,'color':this[_0x9930b5(0x40c)]['assignAColorForMemberID'](_0x11d761),'selection':_0x4c59e8},_0x28a14b=this[_0x9930b5(0x2d2)];_0x28a14b[_0x9930b5(0x21e)](_0x11d761,_0x8c9ff0),this[_0x9930b5(0x3df)][_0x9930b5(0x3ee)](_0x28a14b);}[_0x3800a1(0x31f)](_0x5d36a1){const _0x2cf133=_0x3800a1,{memberID:_0x282f70}=_0x5d36a1['data'],_0x1fa3a8=this['cursorInfo'];_0x1fa3a8[_0x2cf133(0x37b)](_0x282f70),this[_0x2cf133(0x3df)][_0x2cf133(0x3ee)](_0x1fa3a8);}[_0x3800a1(0x217)](_0x3e31c1,_0x2c4adf){const _0x5ae1c6=_0x3800a1;var _0x113b60,_0xd8c345;const _0x3bd7bf=(_0xd8c345=(_0x113b60=this[_0x5ae1c6(0x38d)][_0x5ae1c6(0x457)](this[_0x5ae1c6(0x456)]))==null?void 0x0:_0x113b60[_0x5ae1c6(0x43e)](_0x3e31c1))==null?void 0x0:_0xd8c345['getMergeData']();return(_0x3bd7bf==null?void 0x0:_0x3bd7bf[_0x5ae1c6(0x294)](_0x23028a=>a['Rectangle'][_0x5ae1c6(0x1e4)](_0x23028a,_0x2c4adf)))||_0x2c4adf;}[_0x3800a1(0x440)](){const _0xfd92a6=_0x3800a1,_0x345d55=new a[(_0xfd92a6(0x23e))](),_0xf73727=ot(),_0x23901d=()=>{const _0x45eb26=_0xfd92a6;_0x345d55[_0x45eb26(0x37f)]();const _0x220d21=(_0xf836e3,_0x60cb41,_0x13da4b,_0x42c125)=>{const _0x1eb9be=_0x45eb26;let _0x41ebe8=[];switch(_0xf836e3['id']){case g['EffectRefRangId'][_0x1eb9be(0x3d3)]:{_0x41ebe8=g[_0x1eb9be(0x35f)](_0xf836e3,_0x42c125);break;}case g[_0x1eb9be(0x27f)]['DeleteRangeMoveUpCommandId']:{_0x41ebe8=g[_0x1eb9be(0x237)](_0xf836e3,_0x42c125);break;}case g[_0x1eb9be(0x27f)][_0x1eb9be(0x1e9)]:{_0x41ebe8=g[_0x1eb9be(0x255)](_0xf836e3,_0x42c125);break;}case g[_0x1eb9be(0x27f)][_0x1eb9be(0x31d)]:{_0x41ebe8=g[_0x1eb9be(0x3f3)](_0xf836e3,_0x42c125);break;}case g[_0x1eb9be(0x27f)][_0x1eb9be(0x22c)]:{_0x41ebe8=g['handleInsertRangeMoveRight'](_0xf836e3,_0x42c125);break;}case g['EffectRefRangId'][_0x1eb9be(0x3cc)]:{_0x41ebe8=g[_0x1eb9be(0x2b0)](_0xf836e3,_0x42c125);break;}case g['EffectRefRangId'][_0x1eb9be(0x319)]:{_0x41ebe8=g[_0x1eb9be(0x28c)](_0xf836e3,_0x42c125);break;}case g['EffectRefRangId']['RemoveColCommandId']:{_0x41ebe8=g[_0x1eb9be(0x375)](_0xf836e3,_0x42c125);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x41ebe8=g[_0x1eb9be(0x1ef)](_0xf836e3,_0x42c125);break;}}const _0x13650f=g[_0x1eb9be(0x2f9)](_0x41ebe8,_0x42c125),_0x51623=this[_0x1eb9be(0x2d2)][_0x1eb9be(0x3bf)](_0x60cb41);if(_0x51623&&_0x13650f){const _0x219671={..._0x51623,'range':_0x13650f};this[_0x1eb9be(0x2d2)][_0x1eb9be(0x21e)](_0x60cb41,_0x219671),_0xf73727(()=>{const _0x4c7f3c=_0x1eb9be,_0x18fca3=this['_refRangeService'][_0x4c7f3c(0x297)](_0x13650f,_0x1f3162=>(_0x18fca3[_0x4c7f3c(0x37f)](),_0x220d21(_0x1f3162,_0x60cb41,_0x13da4b,_0x13650f)));_0x345d55[_0x4c7f3c(0x23a)](_0x18fca3);});}return{'redos':[],'undos':[]};};this[_0x45eb26(0x2d2)][_0x45eb26(0x316)]((_0x25f9a3,_0x3acac4)=>{const _0x2dd815=_0x45eb26,{range:_0x5785cd,sheetID:_0x494a0e}=_0x25f9a3,_0x544591=this[_0x2dd815(0x2e6)]['registerRefRange'](_0x5785cd,_0x2c85a6=>(_0x544591[_0x2dd815(0x37f)](),_0x220d21(_0x2c85a6,_0x3acac4,_0x494a0e,_0x5785cd)));_0x345d55[_0x2dd815(0x23a)](_0x544591);});};this[_0xfd92a6(0x372)](a[_0xfd92a6(0x384)](this[_0xfd92a6(0x3df)][_0xfd92a6(0x227)](()=>{_0x23901d();})));}[_0x3800a1(0x1e2)](){const _0x4c512c=_0x3800a1;var _0x33fb2b,_0x3c967b;if(this['_online']=!0x0,((_0x33fb2b=this[_0x4c512c(0x38d)][_0x4c512c(0x291)]())==null?void 0x0:_0x33fb2b[_0x4c512c(0x1f2)]())!==this[_0x4c512c(0x456)])return;const _0x492c78=(_0x3c967b=this[_0x4c512c(0x1d9)][_0x4c512c(0x3bf)](g[_0x4c512c(0x233)])['getCurrentSelections']())==null?void 0x0:_0x3c967b[0x0],_0x177592=this[_0x4c512c(0x38d)][_0x4c512c(0x38b)](a['UniverInstanceType'][_0x4c512c(0x2ba)])[_0x4c512c(0x28f)]();_0x492c78&&_0x177592&&this[_0x4c512c(0x41c)](_0x177592[_0x4c512c(0x2b8)](),_0x492c78);}[_0x3800a1(0x3e7)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x3800a1(0x22f)](u[_0x3800a1(0x1e1)])),A(0x5,a[_0x3800a1(0x26a)]),A(0x6,a['ICommandService']),A(0x7,a[_0x3800a1(0x22f)](g[_0x3800a1(0x39e)]))],Se);var at=Object['getOwnPropertyDescriptor'],ct=(_0x4dde0d,_0x4d8d78,_0x8118f0,_0x9b25e)=>{const _0x459dc5=_0x3800a1;for(var _0x22e853=_0x9b25e>0x1?void 0x0:_0x9b25e?at(_0x4d8d78,_0x8118f0):_0x4d8d78,_0x54fd97=_0x4dde0d[_0x459dc5(0x2c4)]-0x1,_0xb19f55;_0x54fd97>=0x0;_0x54fd97--)(_0xb19f55=_0x4dde0d[_0x54fd97])&&(_0x22e853=_0xb19f55(_0x22e853)||_0x22e853);return _0x22e853;},ie=(_0x1e348e,_0x9fbb0b)=>(_0x4aa82d,_0x5601e3)=>_0x9fbb0b(_0x4aa82d,_0x5601e3,_0x1e348e);let x=class extends a['RxDisposable']{constructor(_0x1e3b48,_0x299281,_0x5be74c){const _0x435e19=_0x3800a1;super(),h(this,_0x435e19(0x343),new Map()),h(this,'_entityInit$',new d[(_0x435e19(0x24b))]()),(this[_0x435e19(0x38d)]=_0x1e3b48,this[_0x435e19(0x1d9)]=_0x299281,this[_0x435e19(0x259)]=_0x5be74c,this[_0x435e19(0x3f0)]());}[_0x3800a1(0x37f)](){const _0x540181=_0x3800a1;super[_0x540181(0x37f)](),this[_0x540181(0x43d)][_0x540181(0x3a5)](),this['_entities'][_0x540181(0x316)](_0x40607b=>_0x40607b['dispose']());}[_0x3800a1(0x429)](_0x554eca){const _0x311027=_0x3800a1;return this['_entities']['has'](_0x554eca)?this[_0x311027(0x343)][_0x311027(0x3bf)](_0x554eca)[_0x311027(0x3a3)]:this['_entityInit$'][_0x311027(0x355)](d[_0x311027(0x2af)](_0x131cad=>_0x131cad[_0x311027(0x456)]===_0x554eca),d[_0x311027(0x368)](_0x51fe1c=>_0x51fe1c['cursorInfo$']));}[_0x3800a1(0x3f0)](){const _0x55c4de=_0x3800a1;this['_univerInstanceService'][_0x55c4de(0x2b5)](a['UniverInstanceType'][_0x55c4de(0x2ba)])['pipe'](d[_0x55c4de(0x2cb)](this[_0x55c4de(0x344)]))[_0x55c4de(0x227)](async _0x686044=>{const _0x39a9cb=_0x55c4de,_0xf050d4=_0x686044[_0x39a9cb(0x1f2)](),_0x1440e0=await this[_0x39a9cb(0x35b)](_0xf050d4);this[_0x39a9cb(0x43d)][_0x39a9cb(0x3ee)](_0x1440e0),this[_0x39a9cb(0x343)]['set'](_0xf050d4,_0x1440e0);}),this[_0x55c4de(0x38d)][_0x55c4de(0x2b5)](a[_0x55c4de(0x256)][_0x55c4de(0x298)])[_0x55c4de(0x355)](d[_0x55c4de(0x2cb)](this[_0x55c4de(0x344)]))[_0x55c4de(0x355)](d[_0x55c4de(0x2af)](_0x4956ca=>!_0x4956ca[_0x55c4de(0x1f2)]()[_0x55c4de(0x310)]('__')))[_0x55c4de(0x227)](async _0xa1f2ce=>{const _0x15b090=_0x55c4de,_0x1e960d=_0xa1f2ce[_0x15b090(0x1f2)](),_0x21e561=await this[_0x15b090(0x1dd)](_0x1e960d);this[_0x15b090(0x43d)][_0x15b090(0x3ee)](_0x21e561),this[_0x15b090(0x343)]['set'](_0x1e960d,_0x21e561);}),d[_0x55c4de(0x335)](this[_0x55c4de(0x38d)][_0x55c4de(0x2c6)](a[_0x55c4de(0x256)]['UNIVER_DOC']),this[_0x55c4de(0x38d)][_0x55c4de(0x2c6)](a[_0x55c4de(0x256)]['UNIVER_SHEET']))['pipe'](d[_0x55c4de(0x2cb)](this[_0x55c4de(0x344)]))['subscribe'](_0x23363b=>{const _0x18aae1=_0x55c4de,_0x57b2e4=_0x23363b[_0x18aae1(0x1f2)](),_0x52f5cf=this[_0x18aae1(0x343)]['get'](_0x57b2e4);_0x52f5cf&&(_0x52f5cf[_0x18aae1(0x37f)](),this[_0x18aae1(0x343)][_0x18aae1(0x37b)](_0x57b2e4));});}async[_0x3800a1(0x35b)](_0x1fd6d5){const _0x196165=_0x3800a1,_0x19d03e=await this['_collabSessionService'][_0x196165(0x224)](_0x1fd6d5),_0x5295a7=this[_0x196165(0x1d9)][_0x196165(0x28a)](Se,_0x1fd6d5,_0x19d03e);return _0x5295a7[_0x196165(0x34f)](),_0x5295a7;}async[_0x3800a1(0x1dd)](_0x4f7c56){const _0x842db7=_0x3800a1,_0x3761f2=await this[_0x842db7(0x259)][_0x842db7(0x224)](_0x4f7c56),_0x17616e=this['_injector'][_0x842db7(0x28a)](Ie,_0x4f7c56,_0x3761f2);return _0x17616e[_0x842db7(0x34f)](),_0x17616e;}};x=ct([ie(0x0,a[_0x3800a1(0x26a)]),ie(0x1,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),ie(0x2,a[_0x3800a1(0x22f)](u[_0x3800a1(0x1ec)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x34d9fd,_0x12273e){const _0x4ccec9=_0x3800a1;let {radius:_0x2e28cb,width:_0x11416f,height:_0x117170}=_0x12273e;_0x2e28cb=_0x2e28cb!=null?_0x2e28cb:0x0,_0x11416f=_0x11416f!=null?_0x11416f:0x1e,_0x117170=_0x117170!=null?_0x117170:0x1e;let _0x2769f1=0x0,_0x2bbb5b=0x0,_0xc631f1=0x0;_0x2769f1=_0x2bbb5b=_0xc631f1=Math[_0x4ccec9(0x33e)](_0x2e28cb,_0x11416f/0x2,_0x117170/0x2),_0x34d9fd[_0x4ccec9(0x278)](),_0x34d9fd['moveTo'](_0x2769f1,0x0),_0x34d9fd[_0x4ccec9(0x1fa)](_0x11416f-_0x2bbb5b,0x0),_0x34d9fd[_0x4ccec9(0x2d3)](_0x11416f-_0x2bbb5b,_0x2bbb5b,_0x2bbb5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x34d9fd['lineTo'](_0x11416f,_0x117170-_0xc631f1),_0x34d9fd[_0x4ccec9(0x2d3)](_0x11416f-_0xc631f1,_0x117170-_0xc631f1,_0xc631f1,0x0,Math['PI']/0x2,!0x1),_0x34d9fd[_0x4ccec9(0x1fa)](0x0,_0x117170),_0x34d9fd['lineTo'](0x0,_0x2769f1),_0x34d9fd['arc'](_0x2769f1,_0x2769f1,_0x2769f1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34d9fd[_0x4ccec9(0x1d6)](),_0x12273e['fill']&&(_0x34d9fd[_0x4ccec9(0x292)](),_0x34d9fd['fillStyle']=_0x12273e[_0x4ccec9(0x434)],_0x12273e['fillRule']==='evenodd'?_0x34d9fd[_0x4ccec9(0x434)](_0x4ccec9(0x2ae)):_0x34d9fd[_0x4ccec9(0x434)](),_0x34d9fd['restore']());}class ee extends p[_0x3800a1(0x3fc)]{constructor(_0x24eee4,_0x180fe7){const _0x725c8=_0x3800a1;super(_0x24eee4,_0x180fe7),h(this,_0x725c8(0x26b)),h(this,_0x725c8(0x3f9)),(this['color']=_0x180fe7==null?void 0x0:_0x180fe7[_0x725c8(0x26b)],this[_0x725c8(0x3f9)]=_0x180fe7==null?void 0x0:_0x180fe7[_0x725c8(0x3f9)]);}static[_0x3800a1(0x3d0)](_0x16d3b6,_0x3cc003){const _0x3b9098=_0x3800a1,{text:_0x31449a,color:_0x1f858}=_0x3cc003;_0x16d3b6['save'](),_0x16d3b6[_0x3b9098(0x2df)]=_0x3b9098(0x358);const _0x23bf34=_0x16d3b6[_0x3b9098(0x413)](_0x31449a)[_0x3b9098(0x3cb)],_0x32caf6=Math[_0x3b9098(0x33e)](_0x23bf34+0x2*ne,Re);_t(_0x16d3b6,{'height':K,'radius':0x4,'width':_0x32caf6,'fill':_0x1f858}),_0x16d3b6[_0x3b9098(0x311)]='#FFF';const _0x2fbf46=ne,_0x187b7b=K-lt,_0xba26a6=Re-0x2*ne;if(_0x23bf34>_0xba26a6){let _0x2bb03b='',_0x24f701=0x0;for(const _0x2fe615 of _0x31449a){const _0x21f915=_0x16d3b6[_0x3b9098(0x413)](_0x2fe615)[_0x3b9098(0x3cb)];if(_0x24f701+_0x21f915<=_0xba26a6-_0x16d3b6[_0x3b9098(0x413)]('...')[_0x3b9098(0x3cb)])_0x2bb03b+=_0x2fe615,_0x24f701+=_0x21f915;else{_0x2bb03b+=_0x3b9098(0x386);break;}}_0x16d3b6[_0x3b9098(0x3ce)](_0x2bb03b,_0x2fbf46,_0x187b7b);}else _0x16d3b6[_0x3b9098(0x3ce)](_0x31449a,_0x2fbf46,_0x187b7b);_0x16d3b6[_0x3b9098(0x1de)]();}[_0x3800a1(0x215)](_0x23bec3){ee['drawWith'](_0x23bec3,this);}}const re=_0x3800a1(0x371),ht=_0x3800a1(0x39a),ut=_0x3800a1(0x1e0),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x3800a1(0x206);class De{constructor(_0x9da43e,_0x492b0c,_0x1d068e,_0x18952d){const _0x51c35f=_0x3800a1;h(this,'_shapes',[]),h(this,_0x51c35f(0x356),null),h(this,_0x51c35f(0x45c),null),h(this,_0x51c35f(0x44e),null),h(this,'_hideTimer',null),h(this,_0x51c35f(0x1ee),null),(this[_0x51c35f(0x44b)]=_0x9da43e,this[_0x51c35f(0x331)]=_0x492b0c,this['_docSkeleton']=_0x1d068e,this[_0x51c35f(0x229)]=_0x18952d,this['_render']());}set[_0x3800a1(0x2dd)](_0x104e0d){const _0x47d46e=_0x3800a1;_0x104e0d?(this[_0x47d46e(0x44e)]&&this[_0x47d46e(0x44e)][_0x47d46e(0x31e)](),this[_0x47d46e(0x45c)]&&this[_0x47d46e(0x45c)]['show']()):(this[_0x47d46e(0x44e)]&&this['_anchorDot']['show'](),this[_0x47d46e(0x45c)]&&this[_0x47d46e(0x45c)][_0x47d46e(0x31e)]());}[_0x3800a1(0x37f)](){const _0x7bc603=_0x3800a1;for(const _0x4af8c2 of this[_0x7bc603(0x1f5)])_0x4af8c2[_0x7bc603(0x37f)]();this['_textBubble']&&this[_0x7bc603(0x45c)][_0x7bc603(0x37f)](),this[_0x7bc603(0x44e)]&&this[_0x7bc603(0x44e)][_0x7bc603(0x37f)](),this[_0x7bc603(0x356)]&&this[_0x7bc603(0x356)][_0x7bc603(0x37f)](),this[_0x7bc603(0x1ee)]&&this['_eventUnsubscribe']();}['_render'](){const _0x22da5d=_0x3800a1;var _0x42400b;const {_docSkeleton:_0x3c4407,_document:_0x376b5a}=this,{color:_0x37452c,name:_0x1bf38c,ranges:_0x2b9bf3}=this[_0x22da5d(0x44b)],_0x4bdbf2=_0x376b5a[_0x22da5d(0x29b)](),{docsLeft:_0x4ff69d,docsTop:_0x29e21c}=_0x4bdbf2,_0x1b6217=new E[(_0x22da5d(0x2fc))](_0x4bdbf2,_0x3c4407);for(const {startOffset:_0x49fda8,endOffset:_0x465fad,rangeType:_0x299d51,segmentId:_0x3b847e,segmentPage:_0x29fff5,collapsed:_0x570da6,isActive:_0x55b7c9}of _0x2b9bf3){const _0x2c743e=_0x3c4407[_0x22da5d(0x389)](_0x49fda8,!0x0,_0x3b847e,_0x29fff5);let _0x40da05=_0x3c4407['findNodePositionByCharIndex'](_0x465fad,!0x0,_0x3b847e,_0x29fff5);if(_0x40da05==null&&(_0x40da05=_0x3c4407[_0x22da5d(0x389)](_0x465fad-0x1,!0x1,_0x3b847e,_0x29fff5)),_0x55b7c9){const {contentBoxPointGroup:_0x3a7b41}=_0x1b6217[_0x22da5d(0x29d)](_0x40da05,_0x40da05);if(_0x3a7b41[_0x22da5d(0x2c4)]===0x0)continue;this['_drawAnchor'](_0x37452c,_0x3a7b41,_0x4ff69d,_0x29e21c,_0x1bf38c),this[_0x22da5d(0x1ee)]=this[_0x22da5d(0x418)]();}if(_0x2c743e&&_0x40da05){if(_0x299d51===a[_0x22da5d(0x21a)]['RECT']){const _0x2c5374=new E[(_0x22da5d(0x3b7))](_0x4bdbf2,_0x3c4407),{pointGroup:_0x4a1366}=(_0x42400b=_0x2c5374[_0x22da5d(0x29d)](_0x2c743e,_0x40da05))!=null?_0x42400b:{};if(_0x4a1366==null||_0x4a1366[_0x22da5d(0x2c4)]===0x0)continue;this[_0x22da5d(0x2a8)](_0x37452c,_0x4a1366,_0x4ff69d,_0x29e21c);}else{if(!_0x570da6){const {borderBoxPointGroup:_0x3fb50e}=_0x1b6217[_0x22da5d(0x29d)](_0x2c743e,_0x40da05);if(_0x3fb50e[_0x22da5d(0x2c4)]===0x0)continue;this[_0x22da5d(0x41a)](_0x37452c,_0x3fb50e,_0x4ff69d,_0x29e21c);}}}}}[_0x3800a1(0x23f)](_0xf28017,_0x13df29,_0x5bbb90,_0x36c904,_0x38a80d){const _0x33a347=_0x3800a1,_0x239625=this[_0x33a347(0x3b6)](_0x13df29),{left:_0x576ada,top:_0x2346ff,height:_0x5f2efc}=_0x239625,_0x81b9ab=this['_getScale'](),_0x8742a9=It/_0x81b9ab,_0x1e511d=new p[(_0x33a347(0x3e6))](re+a[_0x33a347(0x2ff)](k),{'left':_0x576ada+_0x5bbb90-_0x8742a9,'top':_0x2346ff+_0x36c904,'height':_0x5f2efc,'width':dt,'fill':_0xf28017||p[_0x33a347(0x25d)](a[_0x33a347(0x3d8)][_0x33a347(0x234)],0x0),'strokeWidth':_0x8742a9,'stroke':St,'evented':!0x0});this[_0x33a347(0x356)]=_0x1e511d,this[_0x33a347(0x331)][_0x33a347(0x240)](_0x1e511d,E[_0x33a347(0x3d6)]);const _0x12898c=new p[(_0x33a347(0x3e6))](re+a['generateRandomId'](k),{'left':_0x576ada+_0x5bbb90-_0x8742a9,'top':_0x2346ff+_0x36c904-oe/0x2,'height':oe,'width':oe,'fill':_0xf28017||p[_0x33a347(0x25d)](a[_0x33a347(0x3d8)][_0x33a347(0x234)],0x0),'strokeWidth':0x0,'stroke':_0xf28017||p[_0x33a347(0x25d)](a[_0x33a347(0x3d8)][_0x33a347(0x234)],0x0),'evented':!0x1});this['_anchorDot']=_0x12898c,this[_0x33a347(0x331)][_0x33a347(0x240)](_0x12898c,E[_0x33a347(0x3d6)]);const _0x4c043c=new ee(re+a[_0x33a347(0x2ff)](k),{'left':_0x576ada+_0x5bbb90-_0x8742a9,'top':_0x2346ff+_0x36c904-K,'text':_0x38a80d,'color':_0xf28017});this[_0x33a347(0x45c)]=_0x4c043c,this['_scene'][_0x33a347(0x240)](_0x4c043c,E['TEXT_RANGE_LAYER_INDEX']),this[_0x33a347(0x2dd)]=!0x1;}[_0x3800a1(0x418)](){const _0xc95e89=_0x3800a1,_0x580abf=this['_anchor'][_0xc95e89(0x361)][_0xc95e89(0x346)](()=>{this['_hover']=!0x0;}),_0x2704cb=this['_anchor'][_0xc95e89(0x40f)][_0xc95e89(0x346)](()=>{const _0x476561=_0xc95e89;this['_hideTimer']&&clearTimeout(this[_0x476561(0x325)]),this[_0x476561(0x325)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x43a436=_0xc95e89;_0x580abf[_0x43a436(0x304)](),_0x2704cb['unsubscribe']();};}[_0x3800a1(0x41a)](_0x3c5171,_0x53a257,_0x3db67b,_0x593e13){const _0x33134f=_0x3800a1,_0x553969=new a['ColorKit'](_0x3c5171)[_0x33134f(0x399)](0.2)[_0x33134f(0x208)](),_0x50b6e5=new p[(_0x33134f(0x2e1))](ht+a[_0x33134f(0x2ff)](k),{'pointsGroup':_0x53a257,'fill':_0x553969||p['getColor'](a[_0x33134f(0x3d8)][_0x33134f(0x234)],0.2),'left':_0x3db67b,'top':_0x593e13,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33134f(0x377)](_0x50b6e5),this[_0x33134f(0x331)][_0x33134f(0x240)](_0x50b6e5,E[_0x33134f(0x3d6)]);}[_0x3800a1(0x2a8)](_0x16b721,_0x3773b2,_0x51350d,_0x1417e5){const _0x3d800f=_0x3800a1,_0x3f26a1=new a[(_0x3d800f(0x222))](_0x16b721)[_0x3d800f(0x399)](0.2)[_0x3d800f(0x208)](),_0x3e4031=new p['RegularPolygon'](ut+a[_0x3d800f(0x2ff)](k),{'pointsGroup':_0x3773b2,'fill':_0x3f26a1||p[_0x3d800f(0x25d)](a[_0x3d800f(0x3d8)][_0x3d800f(0x234)],0.2),'left':_0x51350d,'top':_0x1417e5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d800f(0x1f5)][_0x3d800f(0x377)](_0x3e4031),this['_scene'][_0x3d800f(0x240)](_0x3e4031,E[_0x3d800f(0x3d6)]);}['_getAnchorBounding'](_0x27aac8){const _0x2eafea=_0x27aac8[0x0],_0x8f011b=_0x2eafea[0x0],_0x1922db=_0x2eafea[0x2],{x:_0x429d27,y:_0x164083}=_0x8f011b,{x:_0x3bda4e,y:_0xa41ddb}=_0x1922db;return{'left':_0x429d27,'top':_0x164083,'width':_0x3bda4e-_0x429d27,'height':_0xa41ddb-_0x164083};}[_0x3800a1(0x32c)](){const _0x2bee26=_0x3800a1,{scaleX:_0x47ffc3,scaleY:_0x2c88ab}=this['_scene'][_0x2bee26(0x2fa)]();return Math[_0x2bee26(0x3b3)](_0x47ffc3,_0x2c88ab);}}var ft=Object[_0x3800a1(0x3a4)],vt=(_0x2c5390,_0x296395,_0x403d3f,_0x2b0d1e)=>{for(var _0x4ff570=_0x2b0d1e>0x1?void 0x0:_0x2b0d1e?ft(_0x296395,_0x403d3f):_0x296395,_0x2c055e=_0x2c5390['length']-0x1,_0x5aa6d5;_0x2c055e>=0x0;_0x2c055e--)(_0x5aa6d5=_0x2c5390[_0x2c055e])&&(_0x4ff570=_0x5aa6d5(_0x4ff570)||_0x4ff570);return _0x4ff570;},W=(_0x34d123,_0x2ac4ad)=>(_0x53c304,_0x30edc5)=>_0x2ac4ad(_0x53c304,_0x30edc5,_0x34d123);let fe=class extends a[_0x3800a1(0x445)]{constructor(_0xda8468,_0x552015,_0x3865fb,_0x26cefa,_0x128aff){const _0x161f90=_0x3800a1;super(),h(this,_0x161f90(0x2de),[]),h(this,_0x161f90(0x3ab),[]),(this['_context']=_0xda8468,this[_0x161f90(0x31a)]=_0x552015,this[_0x161f90(0x308)]=_0x3865fb,this[_0x161f90(0x203)]=_0x26cefa,this[_0x161f90(0x34b)]=_0x128aff,this[_0x161f90(0x3f0)]());}[_0x3800a1(0x3f0)](){const _0x23574a=_0x3800a1,_0x4a652c=this[_0x23574a(0x416)][_0x23574a(0x42f)],_0x33d726=this['_docSkeletonManagerService'];this['disposeWithMe'](d[_0x23574a(0x363)]([this[_0x23574a(0x308)]['getCollabCursors$'](_0x4a652c),this[_0x23574a(0x34b)][_0x23574a(0x3c7)]])['pipe']($[_0x23574a(0x3b9)](([_0x456dda,_0x266b0c])=>({'skeleton':_0x33d726[_0x23574a(0x1f9)](),'cursors':[..._0x456dda[_0x23574a(0x315)]()][_0x23574a(0x45a)](_0x526ba2=>({..._0x526ba2,'color':this[_0x23574a(0x34b)]['getColorFromTheme'](_0x526ba2['color'])}))})))[_0x23574a(0x227)](_0x49b21c=>{const _0x44d015=_0x23574a;if(this[_0x44d015(0x40a)](),_0x49b21c){const {skeleton:_0x34b269,cursors:_0x1e2ed1}=_0x49b21c;this[_0x44d015(0x2b4)](_0x34b269,_0x1e2ed1);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x3800a1(0x2b4)](_0x3abedb,_0x22c5bb){const _0x4f4bfc=_0x3800a1,{scene:_0x354db5,mainComponent:_0x298fc2}=this[_0x4f4bfc(0x416)],_0xc2f9eb=_0x22c5bb[_0x4f4bfc(0x3b9)](_0x39745f=>new De(_0x39745f,_0x354db5,_0x3abedb,_0x298fc2));this[_0x4f4bfc(0x2de)]=_0xc2f9eb,this[_0x4f4bfc(0x3ab)]=_0x22c5bb;}[_0x3800a1(0x3ae)](){const _0x168e64=_0x3800a1;this[_0x168e64(0x40a)]();const {scene:_0x50a713,mainComponent:_0x128f9d}=this[_0x168e64(0x416)],_0x5f1bc7=this[_0x168e64(0x31a)]['getSkeleton'](),_0x5ab3f2=this['_cursors'][_0x168e64(0x3b9)](_0x1ebc37=>new De(_0x1ebc37,_0x50a713,_0x5f1bc7,_0x128f9d));this[_0x168e64(0x2de)]=_0x5ab3f2;}['_removeCollabCursors'](){const _0x96505d=_0x3800a1;this[_0x96505d(0x2de)]['forEach'](_0x1835f9=>_0x1835f9[_0x96505d(0x37f)]()),this[_0x96505d(0x2de)]=[];}[_0x3800a1(0x2a3)](){const _0x1c5a91=_0x3800a1,_0x1c275c=[E[_0x1c5a91(0x41d)]['id']];this[_0x1c5a91(0x372)](this[_0x1c5a91(0x203)]['onCommandExecuted'](_0x24600e=>{const _0x4ee57a=_0x1c5a91;_0x1c275c['includes'](_0x24600e['id'])&&_0x24600e[_0x4ee57a(0x3a7)][_0x4ee57a(0x42f)]===this[_0x4ee57a(0x416)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3800a1(0x225)](){const _0x1bc793=_0x3800a1;this[_0x1bc793(0x372)](a[_0x1bc793(0x3c1)](this[_0x1bc793(0x416)][_0x1bc793(0x37e)][_0x1bc793(0x41f)])[_0x1bc793(0x355)]($['filter'](_0x2d091c=>_0x2d091c['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1bc793(0x369)]),$['throttleTime'](0x10))[_0x1bc793(0x227)](()=>{const _0x51949d=_0x1bc793;this[_0x51949d(0x3ae)]();}));}};fe=vt([W(0x1,a['Inject'](Y[_0x3800a1(0x3a6)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x3800a1(0x3fa)]),W(0x4,a['Inject'](a['ThemeService']))],fe);const gt=0x1,mt=1.5;class we extends p[_0x3800a1(0x3fc)]{constructor(_0x4339f8,_0x3da7a6){const _0x440613=_0x3800a1;super(_0x4339f8,_0x3da7a6),h(this,'_color'),h(this,'_hovered',!0x1),h(this,'_range'),h(this,_0x440613(0x265),''),h(this,_0x440613(0x3c8),_0x440613(0x309)),h(this,'_backgroundColor'),(_0x3da7a6&&this[_0x440613(0x2f8)](_0x3da7a6),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x440613(0x2f8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x440613(0x346)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3800a1(0x2f8)](_0x1eb21b){const _0x477f6f=_0x3800a1;var _0x3a3926,_0x58311d,_0x2eee4e,_0x4e98cd,_0xb5da40,_0x3dde3c;this['_color']=(_0x3a3926=_0x1eb21b[_0x477f6f(0x26b)])!=null?_0x3a3926:this['_color'],this[_0x477f6f(0x205)]=(_0x58311d=_0x1eb21b['hovered'])!=null?_0x58311d:this['_hovered'],this[_0x477f6f(0x40b)]=(_0x2eee4e=_0x1eb21b['range'])!=null?_0x2eee4e:this['_range'],this[_0x477f6f(0x265)]=(_0x4e98cd=_0x1eb21b[_0x477f6f(0x36e)])!=null?_0x4e98cd:this[_0x477f6f(0x265)],this[_0x477f6f(0x3c8)]=(_0xb5da40=_0x1eb21b['labelPosition'])!=null?_0xb5da40:this[_0x477f6f(0x3c8)],this['_backgroundColor']=(_0x3dde3c=_0x1eb21b[_0x477f6f(0x446)])!=null?_0x3dde3c:this[_0x477f6f(0x2bc)],this[_0x477f6f(0x334)]({'width':_0x1eb21b[_0x477f6f(0x3cb)],'height':_0x1eb21b['height']});}[_0x3800a1(0x33b)](_0x15e4ce){const _0x1f8ad6=_0x3800a1,{row:_0x5e6043,column:_0x13eb8d}=_0x15e4ce;if(_0x5e6043>=this[_0x1f8ad6(0x40b)]['startRow']&&_0x5e6043<=this['_range'][_0x1f8ad6(0x2ce)]&&_0x13eb8d>=this[_0x1f8ad6(0x40b)]['startColumn']&&_0x13eb8d<=this['_range'][_0x1f8ad6(0x2ee)]){this[_0x1f8ad6(0x2f8)]({'hovered':!0x0});return;}this[_0x1f8ad6(0x2f8)]({'hovered':!0x1});}[_0x3800a1(0x339)](_0x4b934e){return!0x1;}['_draw'](_0x408d21){const _0x3cdbbf=_0x3800a1;p['Rect'][_0x3cdbbf(0x3d0)](_0x408d21,{'width':this['width'],'height':this[_0x3cdbbf(0x433)],'strokeWidth':mt,'stroke':this[_0x3cdbbf(0x27d)],'evented':!0x1,'fill':this[_0x3cdbbf(0x2bc)]}),this[_0x3cdbbf(0x205)]&&(_0x408d21['save'](),_0x408d21['transform'](0x1,0x0,0x0,0x1,this[_0x3cdbbf(0x3cb)],this[_0x3cdbbf(0x3c8)]==='bottom'?0x0:-0x14),ee[_0x3cdbbf(0x3d0)](_0x408d21,{'text':this[_0x3cdbbf(0x265)],'color':this[_0x3cdbbf(0x27d)]}),_0x408d21['restore']());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x4f396d,_0x2c9d5d,_0x2e07e9,_0x3db254)=>{for(var _0x3b51ec=_0x3db254>0x1?void 0x0:_0x3db254?Ct(_0x2c9d5d,_0x2e07e9):_0x2c9d5d,_0x25c9d9=_0x4f396d['length']-0x1,_0xd36750;_0x25c9d9>=0x0;_0x25c9d9--)(_0xd36750=_0x4f396d[_0x25c9d9])&&(_0x3b51ec=_0xd36750(_0x3b51ec)||_0x3b51ec);return _0x3b51ec;},ae=(_0x3ea055,_0x4fc528)=>(_0x842569,_0x2c942f)=>_0x4fc528(_0x842569,_0x2c942f,_0x3ea055);function _0x31e5(){const _0x77c51a=['session.collaboration-timeout','getCurrentUnitForType','collabStatus.syncing','_univerInstanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createIdentifier','LICENSE_IMPORT_SIZE_EXCEEDED','white','ENSURE_SNAPSHOT_EXECUTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','roomMembers','WebURLService','sessionStatus$','_initDependencies','setAlpha','collab-text-range-','isTransformMutationFailure','UniverCollaborationClientUIPlugin','prototype','RefRangeService','M0\x200H16V16H0z','Vector2','whenReady','_saveCache','cursorInfo$','getOwnPropertyDescriptor','complete','DocSkeletonManagerService','params','UniverIcon','collaboration-client-ui.config','getMemberID','_cursors','[CollaborationDataLoaderController]','stringify','_refreshCollabCursors','setInterval','PERMISSION_DENIED','CollaborationDataLoaderController','Workbook','max','TEXT','docStateChange$','_getAnchorBounding','NodePositionConvertToRectRange','RevisionService','map','getUndoRedoMutationParamsCache','/run/','executeCommand','_docClipboardService','_revisionService','get','CONFLICT','fromEventSubject','icon','2191720NFtToF','fromEvent','BuiltInUIPart','pluginName','currentTheme$','_labelPosition','code','uni.network.url-service','width','InsertRowCommandId','some','fillText','disposeUnit','drawWith','transformRemoteChangeset','body','DeleteRangeMoveLeftCommandId','_ensureSubject','getConfig','TEXT_RANGE_LAYER_INDEX','SheetCollabCursorShape','COLORS','transformIMECache','from','_session','YUUMI_ALL_TABLES_IS_INVALID','OTHER_CLIENTS_EDITING','runOnServer','_cursorInfo$','popstate','ThemeService','isTransformMutationsWithChangesetSuccess','collaboration.closeRoom','textRanges','DataLoaderService','Rect','_toggleOffline','indexOf','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','jiqing.500','_createSocketURL','_urlService','currentSkeleton$','next','error','_init','MessageType','makeDirty','handleInsertRangeMoveDown','executionId','extend','TOO_MANY_REQUESTS','replaceState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','text','ICommandService','DocSelectionManagerService','Shape','selections','3066644yNaOGX','deepClone','EMAIL_VERIFY_CODE_MISMATCH','OTHER_CLIENT_EDITING','DocIMEInputManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','VIEW_MAIN','doc.mutation.rich-text-editing','data','_memberService','ILocalCacheService','onPointerMove$','_removeCollabCursors','_range','_colorAssignService','application/json','debounce','onPointerLeave$','IConfigService','YUUMI_CONNECTOR_URL_NOT_FOUND','USERS_LEAVE','measureText','NOT_COLLAB','useObservable','_context','DocStateChangeManagerService','_handleHover','propertyIsEnumerable','_drawTextRange','_transformService','_updateLocalCursor','SetDocZoomRatioOperation','subUnitId','onTransformChange$','jsx','use','SetTextSelectionsOperation','getCurrentRevOfUnit','_unitOnClients','60xfGHQX','Optional','focused$','createElement','getCollabCursors$','_roomMembers$','function','MOBILE_VERIFY_CODE_MISMATCH','_logService','loadOfflineData','unitId','Plugin','override','event$','height','fill','_beforeCloseService','_doCreateSocket','_localStorageService','IDocClipboardService','isEditing','LICENSE_EXPORT_SIZE_EXCEEDED','_disabled','CollaborationUIEventService','_entityInit$','getSheetBySheetId','getOwnPropertySymbols','_onRefRangeChange','UniverCollaborationClientPlugin','YUUMI_AI_RUN_FAILED','_clearOtherTimers','UNRECOGNIZED','RxDisposable','backgroundColor','SUBMIT_CHANGESET_TIMEOUT','none','colorChannel1','defIds','_cursor','clearInterval','UnitStatus','_anchorDot','blue.400','permission.title','m2Prime','substring','apply','collaboration.single-unit.warning','IImageIoService','unitID','getUniverSheetInstance','YUUMI_UNABLE_LOAD_URL','eventID','flatMap','_sheetSkeletonManagerService','_textBubble','onRendered','closePath','getParam','_getSessionTicket','_injector','syncEditingCollabCursor','_messageService','_collabCursorState$','_startDocCollabCursor','restore','off-line-icon_clip0_910_343','collab-rect-range-','MemberService','_toggleOnline','HEADER_MENU','contains','_initStatusListener','_handleJoinEvent','CommandType','range','InsertColCommandId','Tooltip','type','CollaborationSessionService','_collaborationController','_eventUnsubscribe','handleIRemoveRow','_transformUndoRedoStack','_notificationService','getUnitId','isArray','CollaborationStatusDisplay','_shapes','1em','has','reconnect','getSkeleton','lineTo','LOCAL_CACHE_INTERVAL_KEY','SetWorksheetActivateCommand','displayName','CollaborationEvent','APPLY_REVISION_CONFILICT','addObjects','search','YUUMI_URL_COL_OUT_OF_RANGE','_commandService','SOCKET_FAILED_RETRY','_hovered','rgba(255,\x20255,\x20255,\x200.01)','INotificationService','toRgbString','PENDING','RemoteUniscriptService','978798QRHuGM','includes','assign','FETCH_MISS','getUnitStatus$','parse','INTERNAL_ERROR','WebBrowserSingleActiveUnitService','MUTATION','DesktopCollaborationStatusDisplayController','_draw','mask','_getMergeRange','ISocketService','16181973VUgLYi','DOC_RANGE_TYPE','_heartbeatTimer','LICENSE_DISTRO_REJECTED','getCollabEntity$','set','USER_NOT_INVITED_CODE','UNAUTHENTICATED','defs','ColorKit','LICENSE_MAX_UNITS_EXCEEDED','requireSession','_initResize','UNDEFINED','subscribe','collabStatus.synced','_document','SHEET_VIEWPORT_KEY','unit','InsertRangeMoveRightCommandId','ALREADY_EXISTS','_setupBeforeClosingHandler','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transformStateCache','_initEntityListener','SheetsSelectionsService','black','_transformHistoryAndStateStack','setStateCache','handleDeleteRangeMoveUp','_imageIoService','all','add','_lastPointer','href','UPDATE_CURSOR','DisposableCollection','_drawAnchor','addObject','INVITE_CODE_HAS_BEEN_UES','Tools','mergeOverrideWithDependencies','_initStatusComponent','COMPLETION_FINISHED','http://www.w3.org/2000/svg','_id','_selfUnitIDs','key','CONNECTOR_DATA_TOO_LARGE','Subject','pushState','Disposable','roomMembers$','row','unshift','AWAITING_WITH_PENDING','path','transformMutation','LOGIN_FAILED','handleInsertCol','UniverInstanceType','replace','_colorIndex','_collabSessionService','deserializeRangeWithSheet','_scheduleHeartbeat','location','getColor','_docStateChangeManagerService','_handleEvent','jsxs','tag','_collaborationUIEventService','saveOfflineData','hasOwnProperty','_name','registerDependencies','result','SOCKET_FAILED','random','IUniverInstanceService','color','_configService','permission.content','show','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','IUIPartsService','getDocRanges','NOT_FOUND','SheetSkeletonManagerService','_getSaveTimeout','_httpService','_scheduleClearOtherTimer','runId','beginPath','current','SYNCED','with','_docTransformSelectionsService','_color','saveTaskMap','EffectRefRangId','call','memberID','_unitStatus','BrowserCollaborationSocketService','searchParams','APPLY_DUPLICATED','_config','FromArray','exhaustSavingTask','LocaleService','createInstance','subunit','handleMoveRange','IMessageService','Failed','getActiveSheet','shareReplay','getFocusedUnit','save','setUndoRedoMutationParamsCache','find','0\x200\x2017\x2016','_updateURLWithCurrentState','registerRefRange','UNIVER_DOC','getRenderById','disableLocalCache','getOffsetConfig','attrs','getRangePointData','getRelativeToViewportCoord','getSheetObject','updateOfflineData','_scheduleSaving','className','_initCommandExecutedListener','OffLineIcon','asObservable','url(#$1','undoState','_drawRectRange','createSocket','ACTIVE_UNIT_EVENT_CHANNEL','forwardRef','getActiveRange','removeParam','evenodd','filter','handleInsertRow','debounceTime','IRenderManagerService','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','getTypeOfUnitAdded$','on-line-icon','univerjs-icon\x20univerjs-icon-','getSheetId','wsSessionTicketUrl','UNIVER_SHEET','serializeRangeWithSheet','_backgroundColor','clearTimeout','PY_RUNTIME_SCRIPT_ERROR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RichTextEditingMutation','collab-client.tooltip.reconnect','touchDependencies','_docSyncEditingCollabCursorService','length','onCommandExecuted','getTypeOfUnitDisposed$','round','div','status$','string','takeUntil','editingUnit','OFFLINE','endRow','entries','8DEarbZ','_saveTaskMap','cursorInfo','arc','setItem','getCoordByCell','concat','red.300','debug','_initEvent','unload','setActiveRange','CollaborationStatus','_hover','_cursorShapes','font','_assignedColors','RegularPolygon','toString','APPLY_NON_SEQUENTIAL_REVISION','Injector','IBeforeCloseService','_refRangeService','univer-mr-2\x20univer-flex\x20univer-text-xl','getViewport','_onCursorUpdate','APPLY_REJECT','registerRenderModule','collabCursorState$','xlink:href','endColumn','_status$','useRef','_transformPreviousActiveRange','475062qDgCVh','selection','EMAIL_HAS_BEEN_BOUND','_dataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','getVpScrollXYInfoByPosToVp','setShapeProps','runRefRangeMutations','getAncestorScale','HTTPService','NodePositionConvertToCursor','invokeId','_removeClearOtherTimer','generateRandomId','Warning','getItem','split','actions','unsubscribe','imageSourceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_renderManagerService','_collabCursorController','top','on-line-icon_clip0_910_349','_getSheetObject','assignAColorForMemberID','source','enableLocalCache','_cachedData','startsWith','fillStyle','send','_online','OnLineIcon','values','forEach','children','getStateCache','MoveRangeCommandId','_docSkeletonManagerService','_uiPartsService','useCallback','InsertRangeMoveDownCommandId','hide','_onCursorDelete','column','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','useDependency','Error','bottom','_hideTimer','getMember','WebSocketService','INVALID_ARGUMENT','getColorFromTheme','registerComponent','_instanceService','_getScale','Unknown\x20user','currentColor','saveImage','YUUMI_RATE_OVER_LIMIT','_scene','connectInjector','then','transformByState','merge','WECHAT_HAS_BEEN_BOUND','SessionStatus','addClipboardHook','triggerDblclick','entityInit$','onMouseMove','symbol','_registerRenderDependencies','min','size','redoState','_updateSubUnitFromURLParams','0\x200\x2016\x2016','_entities','dispose$','INVITE_CODE_ALREADY_BOUND','subscribeEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','defineProperty','Module','toStringTag','_themeService','BehaviorSubject','CollaborationUIEventId','distinctUntilChanged','init','sheetID','INVITE_CODE_REQUIRED','_registerDependencies','onLocalMutation','223730xfLCiH','pipe','_anchor','getValue','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.fetchMiss','JOIN_ROOM_FAILED','_startSheetCollabCursor','mapTo','_handleLeaveEvent','ILogService','handleDeleteRangeMoveLeft','mutations','onPointerEnter$','_syncEditingCollabCursorService','combineLatest','ITransformService','clipPath','isActive','APPLY_PERMISSION_DENIED','switchMap','resize','_localeService','_send','_docTransformIMECacheService','transformMutationsWithChangeset','name','idSuffix','INVALID_INVITE_CODE','collab-text-anchor-','disposeWithMe','m1Prime','newValue','handleIRemoveCol','sessionTicket','push','getCurrent','urlChange$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','delete','_handleHeartbeatEvent','DependentOn','engine','dispose','history','1239370QOnIIS','YUUMI_SUBSCRIPTION_NOT_FOUND','sheetId','toDisposable','activeSheet$','...','ranges','getLocalCacheKey','findNodePositionByCharIndex'];_0x31e5=function(){return _0x77c51a;};return _0x31e5();}const Et=0x1389;let ve=class extends a[_0x3800a1(0x445)]{constructor(_0x25fd3e,_0x32da4a,_0x3bf27a,_0x43675d){const _0x15d28f=_0x3800a1;super(),h(this,_0x15d28f(0x3ab),new Set()),h(this,_0x15d28f(0x23b),null),(this[_0x15d28f(0x416)]=_0x25fd3e,this['_sheetSkeletonManagerService']=_0x32da4a,this[_0x15d28f(0x308)]=_0x3bf27a,this['_themeService']=_0x43675d,this[_0x15d28f(0x3f0)]());}[_0x3800a1(0x3f0)](){const _0x5ba917=_0x3800a1;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5ba917(0x355)]($[_0x5ba917(0x2cb)](this[_0x5ba917(0x344)]),$[_0x5ba917(0x368)](_0x21ee30=>{const _0x1e9d86=_0x5ba917;if(_0x21ee30){const _0x519b0b=_0x21ee30[_0x1e9d86(0x383)];return d[_0x1e9d86(0x363)](this[_0x1e9d86(0x308)][_0x1e9d86(0x429)](this[_0x1e9d86(0x416)][_0x1e9d86(0x42f)]),this[_0x1e9d86(0x34b)]['currentTheme$'])[_0x1e9d86(0x355)]($[_0x1e9d86(0x3b9)](([_0x261197,_0x4f805d])=>{const _0x4fc449=_0x1e9d86,_0x3e1f0b=new Map();return _0x261197[_0x4fc449(0x316)]((_0x331506,_0xec893)=>{const _0x148de8=_0x4fc449;if(_0x331506[_0x148de8(0x350)]===_0x519b0b){const _0x16d6f8={..._0x331506};_0x16d6f8[_0x148de8(0x26b)]=this[_0x148de8(0x34b)][_0x148de8(0x329)](_0x331506[_0x148de8(0x26b)]),_0x3e1f0b['set'](_0xec893,_0x16d6f8);}}),{'skeleton':_0x21ee30,'cursors':_0x3e1f0b};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ba917(0x227)](({skeleton:_0xcd302c,cursors:_0x4435c0})=>{const _0x559efe=_0x5ba917;this['_removeCollabCursors'](),_0xcd302c&&this[_0x559efe(0x2b4)](_0xcd302c,_0x4435c0);}),this[_0x5ba917(0x45b)][_0x5ba917(0x3ed)][_0x5ba917(0x227)](_0x432946=>{const _0x5e9880=_0x5ba917;if(_0x432946==null)return;const {skeleton:_0x354431}=_0x432946,{scene:_0x43e007}=this[_0x5e9880(0x416)];_0x43e007[_0x5e9880(0x409)][_0x5e9880(0x346)](a[_0x5e9880(0x40e)](_0x538c2e=>{const _0x50dc87=_0x5e9880;var _0x209fe8,_0x19d9c0;const {offsetX:_0x586bfe,offsetY:_0x1cbc4a}=_0x538c2e,{x:_0xbcbeb5,y:_0x5a29f7}=_0x43e007[_0x50dc87(0x29e)](p[_0x50dc87(0x3a0)]['FromArray']([_0x586bfe,_0x1cbc4a])),{scaleX:_0x4b7e60,scaleY:_0x4bd906}=_0x43e007[_0x50dc87(0x2fa)](),_0x13d819=_0x43e007[_0x50dc87(0x2e8)](p[_0x50dc87(0x22a)][_0x50dc87(0x404)]),_0x2f34e2=_0x43e007[_0x50dc87(0x2f7)](p['Vector2'][_0x50dc87(0x287)]([_0xbcbeb5,_0x5a29f7]),_0x13d819),_0x2b5d3a=_0x354431['getCellPositionByOffset'](_0x586bfe,_0x1cbc4a,_0x4b7e60,_0x4bd906,_0x2f34e2);((_0x209fe8=this[_0x50dc87(0x23b)])==null?void 0x0:_0x209fe8['column'])===_0x2b5d3a[_0x50dc87(0x320)]&&((_0x19d9c0=this['_lastPointer'])==null?void 0x0:_0x19d9c0[_0x50dc87(0x24f)])===_0x2b5d3a[_0x50dc87(0x24f)]||this['_cursors'][_0x50dc87(0x316)](_0x218043=>{const _0x1b1f49=_0x50dc87;_0x218043[_0x1b1f49(0x33b)](_0x2b5d3a);});},0x64));});}[_0x3800a1(0x2b4)](_0x1fe312,_0x333a53){const _0x404b99=_0x3800a1;var _0x312ab3;const _0x30af00=(_0x312ab3=this[_0x404b99(0x45b)][_0x404b99(0x378)]())==null?void 0x0:_0x312ab3['skeleton'];if(!_0x30af00)return;const _0x47e352=this[_0x404b99(0x30b)]();if(!_0x47e352)return;this[_0x404b99(0x3ab)][_0x404b99(0x316)](_0x259356=>{const _0x5a1ea1=_0x404b99;_0x259356[_0x5a1ea1(0x3f2)]();});const {scene:_0x283ca3}=_0x47e352,_0x3ebc4e=bt(Array[_0x404b99(0x3da)](_0x333a53['values']()))[_0x404b99(0x3b9)](_0xb37f7d=>{const _0x297cd4=_0x404b99,{color:_0x6566e4,range:_0x43e9f9,name:_0x5568e5,selection:_0x5039ba,sheetID:_0x757823}=_0xb37f7d,{startColumn:_0x286bbb,startRow:_0x186f86,endColumn:_0x32fb89,endRow:_0x383179}=_0x43e9f9,_0x4d2a9c=X[_0x297cd4(0x2d5)](_0x186f86,_0x286bbb,_0x283ca3,_0x30af00),_0xc7d7d5=X['getCoordByCell'](_0x383179,_0x32fb89,_0x283ca3,_0x30af00),{columnHeaderHeightAndMarginTop:_0x1d0ca5}=_0x30af00,{startX:_0x88d3d9,startY:_0x2c9289}=_0x4d2a9c,{endX:_0x596067,endY:_0x5b27af}=_0xc7d7d5,_0x590a33=_0x596067-_0x88d3d9,_0x29e999=_0x5b27af-_0x2c9289,_0x12a693={'labelPosition':_0x2c9289-_0x1d0ca5>=K?_0x297cd4(0x309):_0x297cd4(0x324),'sheetID':_0x757823,'range':_0x43e9f9,'color':_0x6566e4,'name':_0x5568e5,'selection':_0x5039ba,'left':_0x88d3d9,'top':_0x2c9289,'width':_0x590a33,'height':_0x29e999,'evented':!0x1,'zIndex':Et};return new we(_0x5568e5,_0x12a693);});_0x283ca3[_0x404b99(0x200)](_0x3ebc4e,gt),this[_0x404b99(0x3ab)]=new Set(_0x3ebc4e);}[_0x3800a1(0x40a)](){const _0x48d3b2=_0x3800a1;var _0x4a819c;(_0x4a819c=this[_0x48d3b2(0x3ab)])==null||_0x4a819c[_0x48d3b2(0x316)](_0x5500c3=>_0x5500c3['dispose']());}[_0x3800a1(0x30b)](){const _0x40d767=_0x3800a1;return X[_0x40d767(0x29f)](this[_0x40d767(0x416)][_0x40d767(0x22b)],this[_0x40d767(0x416)]);}};ve=pt([ae(0x1,a['Inject'](X[_0x3800a1(0x273)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x3800a1(0x22f)](a[_0x3800a1(0x3e1)]))],ve);function bt(_0x1d3b96){const _0x156af6=_0x3800a1,_0x465609=new Map();return _0x1d3b96[_0x156af6(0x316)](_0x2cb2a7=>{const _0x1f5a0e=_0x156af6;if(_0x465609[_0x1f5a0e(0x1f7)](_0x2cb2a7['selection'])){const _0x2143eb=_0x465609['get'](_0x2cb2a7[_0x1f5a0e(0x2f3)]);_0x2143eb[_0x1f5a0e(0x36e)]+=',\x20'+_0x2cb2a7[_0x1f5a0e(0x36e)];}else _0x465609[_0x1f5a0e(0x21e)](_0x2cb2a7[_0x1f5a0e(0x2f3)],_0x2cb2a7);}),Array[_0x156af6(0x3da)](_0x465609[_0x156af6(0x315)]());}var b=function(){const _0x35b6f8=_0x3800a1;return b=Object[_0x35b6f8(0x20d)]||function(_0x150081){const _0x2119fc=_0x35b6f8;for(var _0x37602c,_0x22546e=0x1,_0x51f7ea=arguments['length'];_0x22546e<_0x51f7ea;_0x22546e++){_0x37602c=arguments[_0x22546e];for(var _0x5df72d in _0x37602c)Object[_0x2119fc(0x39d)][_0x2119fc(0x264)][_0x2119fc(0x280)](_0x37602c,_0x5df72d)&&(_0x150081[_0x5df72d]=_0x37602c[_0x5df72d]);}return _0x150081;},b[_0x35b6f8(0x453)](this,arguments);},Ot=function(_0x15788a,_0x2abff2){const _0x4b9f77=_0x3800a1;var _0x4ed955={};for(var _0x3b838b in _0x15788a)Object[_0x4b9f77(0x39d)][_0x4b9f77(0x264)][_0x4b9f77(0x280)](_0x15788a,_0x3b838b)&&_0x2abff2[_0x4b9f77(0x3e8)](_0x3b838b)<0x0&&(_0x4ed955[_0x3b838b]=_0x15788a[_0x3b838b]);if(_0x15788a!=null&&typeof Object['getOwnPropertySymbols']==_0x4b9f77(0x42b)){for(var _0x49e239=0x0,_0x3b838b=Object[_0x4b9f77(0x43f)](_0x15788a);_0x49e239<_0x3b838b[_0x4b9f77(0x2c4)];_0x49e239++)_0x2abff2['indexOf'](_0x3b838b[_0x49e239])<0x0&&Object[_0x4b9f77(0x39d)][_0x4b9f77(0x419)][_0x4b9f77(0x280)](_0x15788a,_0x3b838b[_0x49e239])&&(_0x4ed955[_0x3b838b[_0x49e239]]=_0x15788a[_0x3b838b[_0x49e239]]);}return _0x4ed955;},pe=M[_0x3800a1(0x2ab)](function(_0x237687,_0x4f5948){const _0x578129=_0x3800a1;var _0x314a6e=_0x237687[_0x578129(0x3c2)],_0x1c505d=_0x237687['id'],_0x409c54=_0x237687[_0x578129(0x2a2)],_0x2e1d59=_0x237687[_0x578129(0x3f5)],_0x5de327=Ot(_0x237687,[_0x578129(0x3c2),'id',_0x578129(0x2a2),_0x578129(0x3f5)]),_0xa88fb2=_0x578129(0x2b7)[_0x578129(0x2d6)](_0x1c505d,'\x20')[_0x578129(0x2d6)](_0x409c54||'')['trim'](),_0x38d2b6=M[_0x578129(0x2f0)]('_'['concat'](Dt()));return Ae(_0x314a6e,''[_0x578129(0x2d6)](_0x1c505d),{'defIds':_0x314a6e[_0x578129(0x44a)],'idSuffix':_0x38d2b6[_0x578129(0x279)]},b({'ref':_0x4f5948,'className':_0xa88fb2},_0x5de327),_0x2e1d59);});function Ae(_0x556f91,_0x51a633,_0x49bfd0,_0x198ff3,_0x55906e){const _0x499b32=_0x3800a1;return M['createElement'](_0x556f91[_0x499b32(0x261)],b(b({'key':_0x51a633},Tt(_0x556f91,_0x49bfd0,_0x55906e)),_0x198ff3),(Rt(_0x556f91,_0x49bfd0)[_0x499b32(0x317)]||[])[_0x499b32(0x3b9)](function(_0x311af1,_0x3d31e4){const _0x55536d=_0x499b32;return Ae(_0x311af1,''[_0x55536d(0x2d6)](_0x51a633,'-')['concat'](_0x556f91[_0x55536d(0x261)],'-')[_0x55536d(0x2d6)](_0x3d31e4),_0x49bfd0,void 0x0,_0x55906e);}));}function Tt(_0x21b114,_0x4059c7,_0x4b3eba){const _0x12314c=_0x3800a1;var _0x365f8a=b({},_0x21b114[_0x12314c(0x29c)]);_0x4b3eba!=null&&_0x4b3eba['colorChannel1']&&_0x365f8a[_0x12314c(0x434)]===_0x12314c(0x449)&&(_0x365f8a[_0x12314c(0x434)]=_0x4b3eba[_0x12314c(0x449)]),_0x21b114[_0x12314c(0x261)]==='mask'&&_0x365f8a['id']&&(_0x365f8a['id']=_0x365f8a['id']+_0x4059c7[_0x12314c(0x36f)]),Object[_0x12314c(0x2cf)](_0x365f8a)[_0x12314c(0x316)](function(_0x95542a){const _0x53413d=_0x12314c;var _0x4ea0a9=_0x95542a[0x0],_0x196f24=_0x95542a[0x1];_0x4ea0a9===_0x53413d(0x216)&&typeof _0x196f24==_0x53413d(0x2ca)&&(_0x365f8a[_0x4ea0a9]=_0x196f24[_0x53413d(0x257)](/url\(#(.*)\)/,_0x53413d(0x2a6)['concat'](_0x4059c7[_0x53413d(0x36f)],')')));});var _0x41b4aa=_0x4059c7['defIds'];return!_0x41b4aa||_0x41b4aa['length']===0x0||(_0x21b114[_0x12314c(0x261)]===_0x12314c(0x421)&&_0x365f8a['xlink:href']&&(_0x365f8a[_0x12314c(0x2ed)]=_0x365f8a[_0x12314c(0x2ed)]+_0x4059c7[_0x12314c(0x36f)]),Object[_0x12314c(0x2cf)](_0x365f8a)[_0x12314c(0x316)](function(_0x48c881){const _0x396cb0=_0x12314c;var _0x22af41=_0x48c881[0x0],_0x5c2086=_0x48c881[0x1];typeof _0x5c2086=='string'&&(_0x365f8a[_0x22af41]=_0x5c2086[_0x396cb0(0x257)](/url\(#(.*)\)/,'url(#$1'[_0x396cb0(0x2d6)](_0x4059c7[_0x396cb0(0x36f)],')')));})),_0x365f8a;}function Rt(_0x3dd608,_0x387371){const _0x4690f7=_0x3800a1;var _0x1e10e9,_0x158623=_0x387371['defIds'];return!_0x158623||_0x158623['length']===0x0?_0x3dd608:_0x3dd608['tag']==='defs'&&(!((_0x1e10e9=_0x3dd608['children'])===null||_0x1e10e9===void 0x0)&&_0x1e10e9[_0x4690f7(0x2c4)])?b(b({},_0x3dd608),{'children':_0x3dd608[_0x4690f7(0x317)][_0x4690f7(0x3b9)](function(_0x110a3b){const _0x4eca02=_0x4690f7;return typeof _0x110a3b[_0x4eca02(0x29c)]['id']==_0x4eca02(0x2ca)&&_0x158623&&_0x158623[_0x4eca02(0x20c)](_0x110a3b[_0x4eca02(0x29c)]['id'])?b(b({},_0x110a3b),{'attrs':b(b({},_0x110a3b['attrs']),{'id':_0x110a3b['attrs']['id']+_0x387371[_0x4eca02(0x36f)]})}):_0x110a3b;})}):_0x3dd608;}function Dt(){const _0x1e6e5f=_0x3800a1;return Math[_0x1e6e5f(0x269)]()[_0x1e6e5f(0x2e2)](0x24)[_0x1e6e5f(0x452)](0x2,0x8);}pe[_0x3800a1(0x1fd)]=_0x3800a1(0x3a8);var Ut={'tag':'svg','attrs':{'xmlns':_0x3800a1(0x246),'fill':_0x3800a1(0x448),'viewBox':_0x3800a1(0x342),'width':_0x3800a1(0x1f6),'height':_0x3800a1(0x1f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3800a1(0x252),'attrs':{'stroke':_0x3800a1(0x32e),'d':_0x3800a1(0x37a),'strokeLinecap':_0x3800a1(0x2c7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3800a1(0x1df)},'children':[{'tag':_0x3800a1(0x252),'attrs':{'fill':_0x3800a1(0x391),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3800a1(0x1df)]},ye=M[_0x3800a1(0x2ab)](function(_0x3db24,_0x1428dd){const _0x1bef79=_0x3800a1;return M['createElement'](pe,Object[_0x1bef79(0x20d)]({},_0x3db24,{'id':'off-line-icon','ref':_0x1428dd,'icon':Ut}));});ye['displayName']=_0x3800a1(0x2a4);var Nt={'tag':'svg','attrs':{'xmlns':_0x3800a1(0x246),'fill':_0x3800a1(0x448),'viewBox':_0x3800a1(0x295),'width':_0x3800a1(0x1f6),'height':_0x3800a1(0x1f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3800a1(0x252),'attrs':{'stroke':_0x3800a1(0x32e),'d':_0x3800a1(0x26f),'strokeLinecap':_0x3800a1(0x2c7),'strokeLinejoin':_0x3800a1(0x2c7),'strokeWidth':1.2}}]},{'tag':_0x3800a1(0x221),'attrs':{},'children':[{'tag':_0x3800a1(0x365),'attrs':{'id':_0x3800a1(0x30a)},'children':[{'tag':_0x3800a1(0x252),'attrs':{'fill':_0x3800a1(0x391),'d':_0x3800a1(0x39f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3800a1(0x30a)]},$e=M[_0x3800a1(0x2ab)](function(_0x196710,_0xdc2a67){const _0x1dcaf5=_0x3800a1;return M[_0x1dcaf5(0x428)](pe,Object[_0x1dcaf5(0x20d)]({},_0x196710,{'id':_0x1dcaf5(0x2b6),'ref':_0xdc2a67,'icon':Nt}));});$e[_0x3800a1(0x1fd)]=_0x3800a1(0x314);function Mt(_0x34446c){const _0x2064d4=_0x3800a1;switch(_0x34446c){case u['CollaborationStatus'][_0x2064d4(0x2cd)]:return'collabStatus.offline';case u[_0x2064d4(0x2dc)]['CONFLICT']:return'collabStatus.conflict';case u['CollaborationStatus'][_0x2064d4(0x20e)]:return _0x2064d4(0x359);case u['CollaborationStatus']['NOT_COLLAB']:return'collabStatus.notCollab';case u[_0x2064d4(0x2dc)]['AWAITING']:case u[_0x2064d4(0x2dc)][_0x2064d4(0x251)]:return _0x2064d4(0x38c);case u[_0x2064d4(0x2dc)][_0x2064d4(0x27a)]:case u[_0x2064d4(0x2dc)][_0x2064d4(0x209)]:return _0x2064d4(0x228);}}function xe(_0x174aec){const _0x11e5ee=_0x3800a1,{status$:_0x11c37e}=_0x174aec,_0x2aba21=O[_0x11e5ee(0x415)](_0x11c37e,u[_0x11e5ee(0x2dc)][_0x11e5ee(0x414)]),_0xeae72=O[_0x11e5ee(0x322)](a[_0x11e5ee(0x289)]),_0x39db43=O['useDependency'](u[_0x11e5ee(0x1ec)]),_0x45be22=_0x2aba21!==u['CollaborationStatus']['OFFLINE'],_0x20617d=_0xeae72['t'](Mt(_0x2aba21)),_0x404efb=_0x45be22?P[_0x11e5ee(0x420)]($e,{}):P[_0x11e5ee(0x420)](ye,{}),_0x644120=M[_0x11e5ee(0x31c)](()=>{const _0x11f53e=_0x11e5ee;_0x45be22||_0x39db43[_0x11f53e(0x1f8)]();},[_0x45be22,_0x39db43]);function _0x58b392(){const _0x33869c=_0x11e5ee;return P[_0x33869c(0x260)](_0x33869c(0x2c8),{'className':'univer-flex\x20univer-items-center','onClick':_0x644120,'children':[P[_0x33869c(0x420)](_0x33869c(0x2c8),{'className':D['clsx'](_0x33869c(0x2e7),{'univer-text-green-500':_0x45be22,'univer-text-red-500':!_0x45be22}),'children':_0x404efb}),P[_0x33869c(0x420)]('div',{'className':_0x33869c(0x321),'children':_0x20617d})]});}return _0x45be22?_0x58b392():P['jsx'](D[_0x11e5ee(0x1ea)],{'title':_0xeae72['t'](_0x11e5ee(0x2c1)),'children':_0x58b392()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x349358,_0x3feae7,_0x54526c,_0x5a1e4b)=>{const _0x382a7d=_0x3800a1;for(var _0x5f07b1=_0x5a1e4b>0x1?void 0x0:_0x5a1e4b?Lt(_0x3feae7,_0x54526c):_0x3feae7,_0x22b438=_0x349358[_0x382a7d(0x2c4)]-0x1,_0x5c1290;_0x22b438>=0x0;_0x22b438--)(_0x5c1290=_0x349358[_0x22b438])&&(_0x5f07b1=_0x5c1290(_0x5f07b1)||_0x5f07b1);return _0x5f07b1;},V=(_0x18e79a,_0x27deb0)=>(_0xd7b6e6,_0x579369)=>_0x27deb0(_0xd7b6e6,_0x579369,_0x18e79a);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x3800a1(0x24d)]{constructor(_0x120703,_0x38e645,_0x1e43e8,_0x3bd2eb){const _0x1756c1=_0x3800a1;super(),h(this,_0x1756c1(0x2ef),new d[(_0x1756c1(0x34c))](u[_0x1756c1(0x2dc)][_0x1756c1(0x414)])),(this[_0x1756c1(0x38d)]=_0x120703,this['_injector']=_0x38e645,this[_0x1756c1(0x1ed)]=_0x1e43e8,this[_0x1756c1(0x31b)]=_0x3bd2eb,this['_initStatusComponent'](),this[_0x1756c1(0x1e5)]());}[_0x3800a1(0x1e5)](){const _0x3d80de=_0x3800a1;this[_0x3d80de(0x372)](this['_univerInstanceService'][_0x3d80de(0x427)][_0x3d80de(0x355)](d[_0x3d80de(0x368)](()=>{const _0x5ddb65=_0x3d80de,_0x297c9b=this[_0x5ddb65(0x38d)]['getFocusedUnit']();return _0x297c9b?this['_collaborationController'][_0x5ddb65(0x21d)](_0x297c9b['getUnitId']()):d['of'](null);}),d[_0x3d80de(0x368)](_0x1c4971=>_0x1c4971?_0x1c4971[_0x3d80de(0x2c9)]:d['of'](u['CollaborationStatus'][_0x3d80de(0x414)])))[_0x3d80de(0x227)](_0x5a4f05=>{const _0x56c5c4=_0x3d80de;this[_0x56c5c4(0x2ef)][_0x56c5c4(0x3ee)](_0x5a4f05);}));}[_0x3800a1(0x244)](){const _0x1f457f=_0x3800a1;this['disposeWithMe'](this[_0x1f457f(0x31b)][_0x1f457f(0x32a)](O[_0x1f457f(0x3c5)][_0x1f457f(0x1e3)],()=>O[_0x1f457f(0x332)](wt({'status$':this[_0x1f457f(0x2ef)]['asObservable']()}),this['_injector'])));}},exports[_0x3800a1(0x214)]=Pt([V(0x0,a[_0x3800a1(0x26a)]),V(0x1,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),V(0x2,a[_0x3800a1(0x22f)](u['CollaborationController'])),V(0x3,O[_0x3800a1(0x270)])],exports[_0x3800a1(0x214)]);function wt(_0x130405){const {status$:_0x275404}=_0x130405;return function(){const _0x139658=_0x4499;return P[_0x139658(0x420)](xe,{'status$':_0x275404});};}var At=Object[_0x3800a1(0x3a4)],yt=(_0x22bd53,_0xd1b98a,_0x3af779,_0x39c653)=>{for(var _0x387c0c=_0x39c653>0x1?void 0x0:_0x39c653?At(_0xd1b98a,_0x3af779):_0xd1b98a,_0x150cc6=_0x22bd53['length']-0x1,_0x392d58;_0x150cc6>=0x0;_0x150cc6--)(_0x392d58=_0x22bd53[_0x150cc6])&&(_0x387c0c=_0x392d58(_0x387c0c)||_0x387c0c);return _0x387c0c;},y=(_0x135752,_0x43afe6)=>(_0x7e63cb,_0x323f0a)=>_0x43afe6(_0x7e63cb,_0x323f0a,_0x135752);let q=class extends a[_0x3800a1(0x24d)]{constructor(_0x52cf28,_0x1d5100,_0x4700af,_0x43dba1,_0x209291,_0x191e11){const _0x354ac5=_0x3800a1;super(),this['_beforeCloseService']=_0x52cf28,this['_localCacheService']=_0x1d5100,this[_0x354ac5(0x262)]=_0x4700af,this['_messageService']=_0x43dba1,this[_0x354ac5(0x1f1)]=_0x209291,this['_localeService']=_0x191e11,this[_0x354ac5(0x22e)](),this[_0x354ac5(0x2d9)]();}['_setupBeforeClosingHandler'](){const _0x5c2498=_0x3800a1;this[_0x5c2498(0x372)](this[_0x5c2498(0x435)]['registerBeforeClose'](()=>{const _0x524b4f=_0x5c2498;if(this['_localCacheService'][_0x524b4f(0x27e)][_0x524b4f(0x33f)])return this[_0x524b4f(0x36a)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2d61c3=_0x3800a1;this['disposeWithMe'](this[_0x2d61c3(0x262)][_0x2d61c3(0x432)][_0x2d61c3(0x227)](_0x78e4b3=>{const _0x52422d=_0x2d61c3;_0x78e4b3['id']===u['CollaborationUIEventId'][_0x52422d(0x401)]&&this[_0x52422d(0x1db)][_0x52422d(0x26e)]({'type':D[_0x52422d(0x3f1)]['Warning'],'content':this['_localeService']['t'](_0x52422d(0x454))}),_0x78e4b3['id']===u[_0x52422d(0x34d)]['CLOSE_ROOM']&&this[_0x52422d(0x1db)]['show']({'type':D[_0x52422d(0x3f1)][_0x52422d(0x300)],'content':this[_0x52422d(0x36a)]['t'](_0x52422d(0x3e3))}),_0x78e4b3['id']===u['CollaborationUIEventId'][_0x52422d(0x3b0)]&&this[_0x52422d(0x1f1)][_0x52422d(0x26e)]({'title':this[_0x52422d(0x36a)]['t'](_0x52422d(0x450)),'content':this[_0x52422d(0x36a)]['t'](_0x52422d(0x26d)),'type':_0x52422d(0x3ef),'duration':0x0}),_0x78e4b3['id']===u[_0x52422d(0x34d)][_0x52422d(0x3c0)]&&this[_0x52422d(0x1db)]['show']({'type':D[_0x52422d(0x3f1)][_0x52422d(0x323)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x78e4b3[_0x52422d(0x406)]+')'}),_0x78e4b3['id']===u[_0x52422d(0x34d)][_0x52422d(0x35a)]&&this[_0x52422d(0x1db)][_0x52422d(0x26e)]({'type':D[_0x52422d(0x3f1)][_0x52422d(0x300)],'content':this['_localeService']['t'](_0x78e4b3[_0x52422d(0x406)]||'')}),_0x78e4b3['id']===u[_0x52422d(0x34d)][_0x52422d(0x204)]&&this[_0x52422d(0x1db)][_0x52422d(0x26e)]({'type':D['MessageType'][_0x52422d(0x300)],'content':this[_0x52422d(0x36a)]['t']('session.will-retry')}),_0x78e4b3['id']===u['CollaborationUIEventId'][_0x52422d(0x268)]&&this[_0x52422d(0x1db)][_0x52422d(0x26e)]({'type':D[_0x52422d(0x3f1)]['Error'],'content':this[_0x52422d(0x36a)]['t']('session.connection-failed')}),_0x78e4b3['id']===u['CollaborationUIEventId'][_0x52422d(0x447)]&&this[_0x52422d(0x1db)][_0x52422d(0x26e)]({'type':D['MessageType'][_0x52422d(0x323)],'content':this[_0x52422d(0x36a)]['t'](_0x52422d(0x38a))});}));}};q=yt([y(0x0,O[_0x3800a1(0x2e5)]),y(0x1,u[_0x3800a1(0x408)]),y(0x2,a[_0x3800a1(0x22f)](u[_0x3800a1(0x43c)])),y(0x3,O[_0x3800a1(0x28d)]),y(0x4,O[_0x3800a1(0x207)]),y(0x5,a[_0x3800a1(0x22f)](a[_0x3800a1(0x289)]))],q);const $t=_0x3800a1(0x3a9),Ue={},Ee=a[_0x3800a1(0x38f)](_0x3800a1(0x3ca));var xt=Object[_0x3800a1(0x3a4)],Bt=(_0x21e659,_0x566e9c,_0x35ec58,_0xd6cdd7)=>{for(var _0x1c10a3=_0xd6cdd7>0x1?void 0x0:_0xd6cdd7?xt(_0x566e9c,_0x35ec58):_0x566e9c,_0x10f55a=_0x21e659['length']-0x1,_0x5211d1;_0x10f55a>=0x0;_0x10f55a--)(_0x5211d1=_0x21e659[_0x10f55a])&&(_0x1c10a3=_0x5211d1(_0x1c10a3)||_0x1c10a3);return _0x1c10a3;},F=(_0x3d3750,_0x467f37)=>(_0x1ff6ce,_0x26a73d)=>_0x467f37(_0x1ff6ce,_0x26a73d,_0x3d3750);exports['CollaborationDataLoaderController']=class extends a[_0x3800a1(0x445)]{constructor(_0x510e3a,_0x17d1e1,_0x3d2c82,_0xe8a71a,_0x5a0b04){const _0x40af40=_0x3800a1;super(),this[_0x40af40(0x3ec)]=_0x510e3a,this['_logService']=_0x17d1e1,this['_commandService']=_0x3d2c82,this['_dataLoaderService']=_0xe8a71a,_0x5a0b04?_0x5a0b04==null||_0x5a0b04[_0x40af40(0x3a1)]()[_0x40af40(0x333)](()=>this[_0x40af40(0x3f0)]()):(this['_logService'][_0x40af40(0x2d8)](_0x40af40(0x3ac),_0x40af40(0x3f8)),this[_0x40af40(0x3f0)]());}async['_init'](){const _0x4bb6dc=_0x3800a1,_0x8e34ee=this[_0x4bb6dc(0x3ec)]['getParam'](_0x4bb6dc(0x22b)),_0x15d049=this[_0x4bb6dc(0x3ec)][_0x4bb6dc(0x1d7)](_0x4bb6dc(0x1eb)),_0x27f3ae=this[_0x4bb6dc(0x3ec)][_0x4bb6dc(0x1d7)](_0x4bb6dc(0x28b));if(!_0x8e34ee||!_0x15d049){this[_0x4bb6dc(0x42d)]['debug'](_0x4bb6dc(0x3ac),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1b9490=await this[_0x4bb6dc(0x2f5)]['loadUnit'](_0x8e34ee,Number(_0x15d049),_0x27f3ae);_0x1b9490&&_0x1b9490 instanceof a[_0x4bb6dc(0x3b2)]&&this['_setupSubUnitSync'](_0x1b9490);}async['_setupSubUnitSync'](_0xf2f0cc){const _0x251aed=_0x3800a1;await this[_0x251aed(0x341)](_0xf2f0cc),_0xf2f0cc[_0x251aed(0x385)][_0x251aed(0x355)](d['takeUntil'](this['dispose$']))[_0x251aed(0x227)](_0x2e01a7=>{const _0x2532c6=_0x251aed;_0x2e01a7&&this[_0x2532c6(0x296)](_0x2e01a7);}),this['_urlService']['urlChange$']['pipe'](d[_0x251aed(0x2cb)](this[_0x251aed(0x344)]))[_0x251aed(0x227)](()=>this[_0x251aed(0x341)](_0xf2f0cc));}['_updateURLWithCurrentState'](_0x1bcdd4,_0x1f6cae=!0x1){const _0x3962ef=_0x3800a1,_0x5d8c2b=this['_urlService']['getParam']('subunit');_0x1bcdd4[_0x3962ef(0x2b8)]()!==_0x5d8c2b&&this['_urlService']['setParam'](_0x3962ef(0x28b),_0x1bcdd4[_0x3962ef(0x2b8)](),_0x1f6cae);}async['_updateSubUnitFromURLParams'](_0x13fab7){const _0x2056cb=_0x3800a1;var _0x557f43;const _0xbcda53=this[_0x2056cb(0x3ec)][_0x2056cb(0x1d7)]('subunit');if(!_0xbcda53||!_0x13fab7['getSheetBySheetId'](_0xbcda53)){const _0x443e3c=_0x13fab7['getUnhiddenWorksheets']()[0x0],_0xc5fff8=_0x13fab7['getSheetBySheetId'](_0x443e3c);if(!_0xc5fff8)return;this[_0x2056cb(0x296)](_0xc5fff8,!0x0),await this[_0x2056cb(0x203)][_0x2056cb(0x3bc)](g[_0x2056cb(0x1fc)]['id'],{'unitId':_0x13fab7['getUnitId'](),'subUnitId':_0x443e3c});return;}((_0x557f43=_0x13fab7[_0x2056cb(0x28f)]())==null?void 0x0:_0x557f43['getSheetId']())!==_0xbcda53&&await this['_commandService'][_0x2056cb(0x3bc)](g[_0x2056cb(0x1fc)]['id'],{'unitId':_0x13fab7[_0x2056cb(0x1f2)](),'subUnitId':_0xbcda53});}},exports[_0x3800a1(0x3b1)]=Bt([F(0x0,Ee),F(0x1,a[_0x3800a1(0x35e)]),F(0x2,a[_0x3800a1(0x3fa)]),F(0x3,a[_0x3800a1(0x22f)](u[_0x3800a1(0x3e5)])),F(0x4,a[_0x3800a1(0x426)](Ke['IRemoteInstanceService']))],exports[_0x3800a1(0x3b1)]);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x29fc97,_0x3f6262,_0x395ee0,_0x356d88)=>{const _0x9de5cc=_0x3800a1;for(var _0x447e72=_0x356d88>0x1?void 0x0:_0x356d88?jt(_0x3f6262,_0x395ee0):_0x3f6262,_0x1d89b9=_0x29fc97[_0x9de5cc(0x2c4)]-0x1,_0x321ee8;_0x1d89b9>=0x0;_0x1d89b9--)(_0x321ee8=_0x29fc97[_0x1d89b9])&&(_0x447e72=_0x321ee8(_0x447e72)||_0x447e72);return _0x447e72;},ce=(_0x2a0609,_0x375193)=>(_0x11d58e,_0x2c00b2)=>_0x375193(_0x11d58e,_0x2c00b2,_0x2a0609);let z=class{constructor(_0x332dc3,_0x4d0bc9,_0x20cebf){const _0xba9c24=_0x3800a1;this[_0xba9c24(0x1d9)]=_0x332dc3,this[_0xba9c24(0x41b)]=_0x4d0bc9,this[_0xba9c24(0x307)]=_0x20cebf;}['transformIMECache'](_0xb82311){const _0x23d79e=_0x3800a1;this['_transformUndoRedoStack'](_0xb82311),this[_0x23d79e(0x2f1)](_0xb82311);}[_0x3800a1(0x3d1)](_0x449580){const _0x10240e=_0x3800a1,{unitID:_0x5771d7}=_0x449580,_0x57f061=this[_0x10240e(0x307)][_0x10240e(0x299)](_0x5771d7)[_0x10240e(0x27b)](E[_0x10240e(0x402)]),{redoCache:_0x4584d5}=_0x57f061['getUndoRedoMutationParamsCache']();if(_0x4584d5['length']===0x0)return _0x449580;let _0x361a67=a['Tools']['deepClone'](_0x449580['mutations'][0x0]);for(let _0x1b6301=0x0;_0x1b6301<_0x4584d5['length'];_0x1b6301++){const _0x256414={'id':'doc.mutation.rich-text-editing','params':{..._0x4584d5[_0x1b6301]}},_0x29966c=this[_0x10240e(0x41b)][_0x10240e(0x253)](_0x361a67,_0x256414,!0x1);if(m[_0x10240e(0x39b)](_0x29966c))throw _0x29966c[_0x10240e(0x3ef)];_0x361a67=_0x29966c[_0x10240e(0x373)];}return{...a[_0x10240e(0x242)][_0x10240e(0x3ff)](_0x449580),'mutations':[_0x361a67]};}[_0x3800a1(0x1f0)](_0x121cea){const _0x1aaa1b=_0x3800a1,{unitID:_0x546be4}=_0x121cea,_0x3ef081=this[_0x1aaa1b(0x307)][_0x1aaa1b(0x299)](_0x546be4)[_0x1aaa1b(0x27b)](E[_0x1aaa1b(0x402)]),{undoCache:_0x4da1da,redoCache:_0x3b32e6}=_0x3ef081[_0x1aaa1b(0x3ba)]();if(_0x4da1da[_0x1aaa1b(0x2c4)]===0x0||_0x3b32e6[_0x1aaa1b(0x2c4)]===0x0)return;const _0x2854b7=[],_0x77408e=[];let _0x2c5890=a[_0x1aaa1b(0x242)][_0x1aaa1b(0x3ff)](_0x121cea[_0x1aaa1b(0x360)][0x0]),_0x52cc22=a['Tools'][_0x1aaa1b(0x3ff)](_0x121cea[_0x1aaa1b(0x360)][0x0]);for(let _0x25760a=_0x4da1da[_0x1aaa1b(0x2c4)]-0x1;_0x25760a>=0x0;_0x25760a--){const _0x162fc4={'id':_0x1aaa1b(0x405),'params':{..._0x4da1da[_0x25760a]}},_0x4477cd={'id':_0x1aaa1b(0x405),'params':{..._0x3b32e6[_0x25760a]}},_0x452636=this[_0x1aaa1b(0x41b)][_0x1aaa1b(0x253)](_0x2c5890,_0x162fc4,!0x1),_0x4e856d=this[_0x1aaa1b(0x41b)][_0x1aaa1b(0x253)](_0x52cc22,_0x4477cd,!0x1);if(m['isTransformMutationFailure'](_0x452636))throw _0x452636['error'];if(m[_0x1aaa1b(0x39b)](_0x4e856d))throw _0x4e856d[_0x1aaa1b(0x3ef)];_0x2854b7['unshift'](_0x452636[_0x1aaa1b(0x451)][_0x1aaa1b(0x3a7)]),_0x77408e[_0x1aaa1b(0x250)](_0x4e856d[_0x1aaa1b(0x451)][_0x1aaa1b(0x3a7)]),_0x2c5890=_0x452636[_0x1aaa1b(0x373)],_0x52cc22=_0x4e856d[_0x1aaa1b(0x373)];}_0x3ef081[_0x1aaa1b(0x293)]({'undoCache':_0x2854b7,'redoCache':_0x77408e});}[_0x3800a1(0x2f1)](_0x3b8971){const _0x596106=_0x3800a1,{unitID:_0x55afcf}=_0x3b8971,_0x2cfdd1=this[_0x596106(0x307)][_0x596106(0x299)](_0x55afcf)[_0x596106(0x27b)](E['DocIMEInputManagerService']),_0x486132=_0x2cfdd1[_0x596106(0x2ac)]();if(_0x486132==null)return;const _0x51767d=[{'id':_0x596106(0x405),'params':{'unitId':_0x3b8971[_0x596106(0x456)],'actions':null,'textRanges':[_0x486132]}}],_0x19e7b3=this[_0x596106(0x41b)][_0x596106(0x36d)](_0x3b8971,_0x51767d);if(!m[_0x596106(0x3e2)](_0x19e7b3))throw _0x19e7b3[_0x596106(0x3ef)];const _0x2ca212=_0x19e7b3[_0x596106(0x451)][0x0][_0x596106(0x3a7)][_0x596106(0x3e4)];Array[_0x596106(0x1f3)](_0x2ca212)&&_0x2ca212[_0x596106(0x2c4)]&&_0x2cfdd1[_0x596106(0x2db)](_0x2ca212[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x3800a1(0x2e4)])),ce(0x1,m[_0x3800a1(0x364)]),ce(0x2,p[_0x3800a1(0x2b2)])],z);var Ft=Object[_0x3800a1(0x3a4)],Ht=(_0x34305b,_0x4092ce,_0x18d32e,_0x4a7aa1)=>{const _0x240f5a=_0x3800a1;for(var _0x33ef17=_0x4a7aa1>0x1?void 0x0:_0x4a7aa1?Ft(_0x4092ce,_0x18d32e):_0x4092ce,_0x3d92f3=_0x34305b[_0x240f5a(0x2c4)]-0x1,_0x201b00;_0x3d92f3>=0x0;_0x3d92f3--)(_0x201b00=_0x34305b[_0x3d92f3])&&(_0x33ef17=_0x201b00(_0x33ef17)||_0x33ef17);return _0x33ef17;},le=(_0x1c47e3,_0x2ef7a5)=>(_0x3d3ae5,_0x1abf30)=>_0x2ef7a5(_0x3d3ae5,_0x1abf30,_0x1c47e3);let J=class{constructor(_0x1bbc21,_0x168bf3,_0x12e92b){const _0xa0b58a=_0x3800a1;this[_0xa0b58a(0x1d9)]=_0x1bbc21,this[_0xa0b58a(0x41b)]=_0x168bf3,this[_0xa0b58a(0x25e)]=_0x12e92b;}[_0x3800a1(0x231)](_0x62647){const _0xc5a94b=_0x3800a1;this[_0xc5a94b(0x235)](_0x62647);}[_0x3800a1(0x3d1)](_0x44a84f){const _0x235b98=_0x3800a1,{unitID:_0x41e354}=_0x44a84f,{collaboration:_0x8dd444}=this[_0x235b98(0x25e)][_0x235b98(0x318)](_0x41e354);if(_0x8dd444[_0x235b98(0x2c4)]===0x0)return _0x44a84f;let _0x5e7830=a[_0x235b98(0x242)][_0x235b98(0x3ff)](_0x44a84f[_0x235b98(0x360)][0x0]);for(let _0x1e8819=0x0;_0x1e8819<_0x8dd444['length'];_0x1e8819++){const _0xfc0301={'id':_0x235b98(0x405),'params':{'unitId':_0x8dd444[_0x1e8819][_0x235b98(0x42f)],..._0x8dd444[_0x1e8819][_0x235b98(0x340)]}},_0x23a3cb=this[_0x235b98(0x41b)][_0x235b98(0x253)](_0x5e7830,_0xfc0301,!0x1);if(m[_0x235b98(0x39b)](_0x23a3cb))throw _0x23a3cb[_0x235b98(0x3ef)];_0x5e7830=_0x23a3cb[_0x235b98(0x373)];}return{...a['Tools']['deepClone'](_0x44a84f),'mutations':[_0x5e7830]};}[_0x3800a1(0x235)](_0x57ef81){const _0x55c01f=_0x3800a1,{unitID:_0x1babf3}=_0x57ef81,{history:_0x4c5406,collaboration:_0xab0298}=this[_0x55c01f(0x25e)][_0x55c01f(0x318)](_0x1babf3);if(_0x4c5406[_0x55c01f(0x2c4)]===0x0&&_0xab0298[_0x55c01f(0x2c4)]===0x0)return;const _0x476a6c=[],_0x2e704d=[];let _0x32dba3=a[_0x55c01f(0x242)][_0x55c01f(0x3ff)](_0x57ef81[_0x55c01f(0x360)][0x0]),_0x914df2=a[_0x55c01f(0x242)]['deepClone'](_0x57ef81['mutations'][0x0]);for(let _0x911a98=_0x4c5406[_0x55c01f(0x2c4)]-0x1;_0x911a98>=0x0;_0x911a98--){const _0x2050cf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c5406[_0x911a98][_0x55c01f(0x42f)],..._0x4c5406[_0x911a98][_0x55c01f(0x2a7)]}},_0x42642={'id':_0x55c01f(0x405),'params':{'unitId':_0x4c5406[_0x911a98][_0x55c01f(0x42f)],..._0x4c5406[_0x911a98][_0x55c01f(0x340)]}},_0x22524d=this[_0x55c01f(0x41b)][_0x55c01f(0x253)](_0x32dba3,_0x2050cf,!0x1),_0x5dc672=this['_transformService']['transformMutation'](_0x914df2,_0x42642,!0x1);if(m[_0x55c01f(0x39b)](_0x22524d))throw _0x22524d['error'];if(m[_0x55c01f(0x39b)](_0x5dc672))throw _0x5dc672[_0x55c01f(0x3ef)];_0x476a6c[_0x55c01f(0x250)]({..._0x4c5406[_0x911a98],'undoState':_0x22524d['m2Prime']['params'],'redoState':_0x5dc672[_0x55c01f(0x451)][_0x55c01f(0x3a7)]}),_0x32dba3=_0x22524d[_0x55c01f(0x373)],_0x914df2=_0x5dc672[_0x55c01f(0x373)];}_0x32dba3=a[_0x55c01f(0x242)][_0x55c01f(0x3ff)](_0x57ef81[_0x55c01f(0x360)][0x0]),_0x914df2=a[_0x55c01f(0x242)][_0x55c01f(0x3ff)](_0x57ef81[_0x55c01f(0x360)][0x0]);for(let _0x3fa625=_0xab0298[_0x55c01f(0x2c4)]-0x1;_0x3fa625>=0x0;_0x3fa625--){const _0x49e8ba={'id':_0x55c01f(0x405),'params':{'unitId':_0xab0298[_0x3fa625]['unitId'],..._0xab0298[_0x3fa625][_0x55c01f(0x2a7)]}},_0x4780df={'id':_0x55c01f(0x405),'params':{'unitId':_0xab0298[_0x3fa625][_0x55c01f(0x42f)],..._0xab0298[_0x3fa625][_0x55c01f(0x340)]}},_0x2b270b=this[_0x55c01f(0x41b)][_0x55c01f(0x253)](_0x32dba3,_0x49e8ba,!0x1),_0x3e42ac=this[_0x55c01f(0x41b)][_0x55c01f(0x253)](_0x914df2,_0x4780df,!0x1);if(m[_0x55c01f(0x39b)](_0x2b270b))throw _0x2b270b['error'];if(m['isTransformMutationFailure'](_0x3e42ac))throw _0x3e42ac[_0x55c01f(0x3ef)];_0x2e704d[_0x55c01f(0x250)]({..._0xab0298[_0x3fa625],'undoState':_0x2b270b[_0x55c01f(0x451)][_0x55c01f(0x3a7)],'redoState':_0x3e42ac[_0x55c01f(0x451)][_0x55c01f(0x3a7)]}),_0x32dba3=_0x2b270b[_0x55c01f(0x373)],_0x914df2=_0x3e42ac[_0x55c01f(0x373)];}this['_docStateChangeManagerService'][_0x55c01f(0x236)](_0x1babf3,{'history':_0x476a6c,'collaboration':_0x2e704d});}};J=Ht([le(0x0,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),le(0x1,m[_0x3800a1(0x364)]),le(0x2,a[_0x3800a1(0x22f)](E[_0x3800a1(0x417)]))],J);var Yt=Object[_0x3800a1(0x3a4)],Wt=(_0x16b0b5,_0xe3e28e,_0x22ce8a,_0x21f946)=>{const _0x2e2467=_0x3800a1;for(var _0x103010=_0x21f946>0x1?void 0x0:_0x21f946?Yt(_0xe3e28e,_0x22ce8a):_0xe3e28e,_0x41013c=_0x16b0b5[_0x2e2467(0x2c4)]-0x1,_0xb3b1e6;_0x41013c>=0x0;_0x41013c--)(_0xb3b1e6=_0x16b0b5[_0x41013c])&&(_0x103010=_0xb3b1e6(_0x103010)||_0x103010);return _0x103010;},Ne=(_0x26283b,_0x567e3a)=>(_0x302234,_0x2efd3a)=>_0x567e3a(_0x302234,_0x2efd3a,_0x26283b);let Z=class{constructor(_0x507ec4,_0x111421){const _0xfc297a=_0x3800a1;this[_0xfc297a(0x1d9)]=_0x507ec4,this[_0xfc297a(0x41b)]=_0x111421;}['transformSelections'](_0xd2f8cd){const _0xa5b951=_0x3800a1;var _0x331b2a;const _0x15c567=this['_injector']['get'](Y[_0xa5b951(0x3fb)]),_0x38af19=(_0x331b2a=_0x15c567[_0xa5b951(0x271)]())!=null?_0x331b2a:[];if(_0x38af19[_0xa5b951(0x2c4)]===0x0)return;const _0x23214e=_0xd2f8cd[_0xa5b951(0x456)],_0x1b30ef=[{'id':_0xa5b951(0x405),'params':{'unitId':_0x23214e,'actions':null,'textRanges':_0x38af19}}],_0x1b5064=this[_0xa5b951(0x41b)][_0xa5b951(0x36d)](_0xd2f8cd,_0x1b30ef);if(!m[_0xa5b951(0x3e2)](_0x1b5064))throw _0x1b5064['error'];const _0x2e0930=_0x1b5064[_0xa5b951(0x451)][0x0][_0xa5b951(0x3a7)]['textRanges'];Array[_0xa5b951(0x1f3)](_0x2e0930)&&_0x2e0930['length']&&_0x15c567['replaceDocRanges'](_0x2e0930,{'unitId':_0x23214e,'subUnitId':_0x23214e},!0x1);}};Z=Wt([Ne(0x0,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),Ne(0x1,m[_0x3800a1(0x364)])],Z);var Vt=Object[_0x3800a1(0x3a4)],Xt=(_0x30ac97,_0x4d8b0b,_0x4fc5f5,_0x1a7619)=>{for(var _0x5e19da=_0x1a7619>0x1?void 0x0:_0x1a7619?Vt(_0x4d8b0b,_0x4fc5f5):_0x4d8b0b,_0x4a6dbc=_0x30ac97['length']-0x1,_0x353947;_0x4a6dbc>=0x0;_0x4a6dbc--)(_0x353947=_0x30ac97[_0x4a6dbc])&&(_0x5e19da=_0x353947(_0x5e19da)||_0x5e19da);return _0x5e19da;},N=(_0x55311e,_0x2e2383)=>(_0x4eaf0e,_0x4b3b6a)=>_0x2e2383(_0x4eaf0e,_0x4b3b6a,_0x55311e);let Q=class extends a[_0x3800a1(0x24d)]{constructor(_0x470dbb,_0x2b9e37,_0x5b1d2a,_0x4fc22f,_0x9e60ae,_0x519765,_0x46fec6,_0x10a582){const _0x39b3b2=_0x3800a1;super(),h(this,'_status$',new d['BehaviorSubject'](u['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x470dbb,this[_0x39b3b2(0x1ed)]=_0x2b9e37,this[_0x39b3b2(0x36c)]=_0x5b1d2a,this['_docTransformStateCacheService']=_0x4fc22f,this['_docTransformSelectionsService']=_0x9e60ae,this[_0x39b3b2(0x2c3)]=_0x519765,this[_0x39b3b2(0x1db)]=_0x46fec6,this[_0x39b3b2(0x36a)]=_0x10a582,this[_0x39b3b2(0x232)]());}[_0x3800a1(0x232)](){const _0x29e9b8=_0x3800a1;this['disposeWithMe'](this[_0x29e9b8(0x1ed)][_0x29e9b8(0x33a)][_0x29e9b8(0x227)](_0x449908=>{const _0x2197f4=_0x29e9b8,_0x1be03b=this['_docStateChangeManagerService'][_0x2197f4(0x3b5)][_0x2197f4(0x227)](_0x312b51=>{const _0x42c4a3=_0x2197f4;if(_0x312b51==null)return;const {unitId:_0x1302ef,redoState:_0x499325,commandId:_0x4a928b}=_0x312b51;if(_0x1302ef!==_0x449908[_0x42c4a3(0x456)])return;const _0x5743f8={'id':_0x4a928b,'type':a[_0x42c4a3(0x1e7)][_0x42c4a3(0x213)],'params':{'unitId':_0x1302ef,'actions':_0x499325[_0x42c4a3(0x303)],'textRanges':null}};_0x449908[_0x42c4a3(0x353)](_0x5743f8);});if(_0x449908['disposeWithMe'](_0x1be03b),_0x449908 instanceof u['DocCollaborationEntity']){const _0x2dbc7d={'onTransformIME':_0x5dea24=>this[_0x2197f4(0x36c)][_0x2197f4(0x3d9)](_0x5dea24),'onTransformState':_0x59d83e=>this['_docTransformStateCacheService'][_0x2197f4(0x231)](_0x59d83e),'onTransformSelections':_0x5b5dd8=>this[_0x2197f4(0x27c)]['transformSelections'](_0x5b5dd8),'onSyncEditingCollabCursor':_0x44580d=>this[_0x2197f4(0x2c3)][_0x2197f4(0x1da)](_0x44580d),'onTransformRemoteChangesetByIMECache':_0x16ab3b=>this[_0x2197f4(0x36c)]['transformRemoteChangeset'](_0x16ab3b),'onTransformRemoteChangesetByStateCache':_0x510746=>this['_docTransformStateCacheService'][_0x2197f4(0x3d1)](_0x510746)};_0x449908['addHandlerCallback'](_0x2dbc7d);}}));}};function _0x4499(_0x42cb41,_0x4c1f22){const _0x31e5a8=_0x31e5();return _0x4499=function(_0x449932,_0x3d42a8){_0x449932=_0x449932-0x1d6;let _0x440a1d=_0x31e5a8[_0x449932];return _0x440a1d;},_0x4499(_0x42cb41,_0x4c1f22);}Q=Xt([N(0x0,a[_0x3800a1(0x22f)](E['DocStateChangeManagerService'])),N(0x1,a[_0x3800a1(0x22f)](u['CollaborationController'])),N(0x2,a[_0x3800a1(0x22f)](z)),N(0x3,a[_0x3800a1(0x22f)](J)),N(0x4,a[_0x3800a1(0x22f)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,O[_0x3800a1(0x28d)]),N(0x7,a[_0x3800a1(0x22f)](a[_0x3800a1(0x289)]))],Q);var Gt=Object[_0x3800a1(0x3a4)],Kt=(_0x53b865,_0x23492e,_0x3cf089,_0x4deee8)=>{for(var _0x2230c1=_0x4deee8>0x1?void 0x0:_0x4deee8?Gt(_0x23492e,_0x3cf089):_0x23492e,_0x4c8046=_0x53b865['length']-0x1,_0x3c6067;_0x4c8046>=0x0;_0x4c8046--)(_0x3c6067=_0x53b865[_0x4c8046])&&(_0x2230c1=_0x3c6067(_0x2230c1)||_0x2230c1);return _0x2230c1;},_e=(_0x426b77,_0x533681)=>(_0x218126,_0x3ed1b6)=>_0x533681(_0x218126,_0x3ed1b6,_0x426b77);let ge=class extends a['Disposable']{constructor(_0x26b62e,_0x76c13d,_0x57ea21){const _0x43a6e4=_0x3800a1;super(),h(this,_0x43a6e4(0x30f),new Map()),h(this,_0x43a6e4(0x2d1),new Map()),h(this,'_disabled',!0x1),(this['_configService']=_0x26b62e,this['_localStorageService']=_0x76c13d,this['_revisionService']=_0x57ea21);}[_0x3800a1(0x29a)](){const _0x524049=_0x3800a1;this[_0x524049(0x43b)]=!0x0;}[_0x3800a1(0x30e)](){const _0x8e0d5c=_0x3800a1;this[_0x8e0d5c(0x43b)]=!0x1;}get[_0x3800a1(0x27e)](){const _0xfe841c=_0x3800a1;return this[_0xfe841c(0x2d1)];}[_0x3800a1(0x37f)](){const _0x5f25aa=_0x3800a1;this[_0x5f25aa(0x288)]()[_0x5f25aa(0x333)](()=>super[_0x5f25aa(0x37f)]());}async[_0x3800a1(0x42e)](_0x13e72f){const _0x1feb92=_0x3800a1;return this[_0x1feb92(0x43b)]?null:this[_0x1feb92(0x437)][_0x1feb92(0x301)](u['getLocalCacheKey'](_0x13e72f));}async[_0x3800a1(0x263)](_0x3ebeec,_0x15d34f){const _0x3d06e1=_0x3800a1;return!!this[_0x3d06e1(0x437)]['setItem'](_0x3ebeec,_0x15d34f);}[_0x3800a1(0x2a0)](_0x546760,_0x13fc67,_0x3e7904,_0x53b5f4){const _0x24651d=_0x3800a1,_0x1a80b3=this[_0x24651d(0x3be)][_0x24651d(0x423)](_0x546760);this[_0x24651d(0x30f)][_0x24651d(0x21e)](_0x546760,{'unitID':_0x546760,'type':_0x13fc67,'awaitingChangeset':_0x3e7904,'mutations':_0x53b5f4,'rev':_0x1a80b3}),this[_0x24651d(0x2d1)][_0x24651d(0x1f7)](_0x546760)||this[_0x24651d(0x2a1)](_0x546760);}[_0x3800a1(0x2a1)](_0x1d4732){const _0x282bca=_0x3800a1,_0x1c56b0=this['_getSaveTimeout']();_0x1c56b0===0x0?this[_0x282bca(0x3a2)](_0x1d4732):this[_0x282bca(0x2d1)][_0x282bca(0x21e)](_0x1d4732,setTimeout(()=>this['_saveCache'](_0x1d4732),_0x1c56b0));}[_0x3800a1(0x274)](){const _0x71c25=_0x3800a1;var _0x13906b;return(_0x13906b=this[_0x71c25(0x26c)]['getConfig'](u[_0x71c25(0x1fb)]))!=null?_0x13906b:u['LOCAL_CACHE_INTERVAL'];}[_0x3800a1(0x3a2)](_0x561af6){const _0x48537a=_0x3800a1,_0x26f262=this[_0x48537a(0x2d1)][_0x48537a(0x3bf)](_0x561af6);return _0x26f262!==void 0x0&&window['clearTimeout'](_0x26f262),this[_0x48537a(0x437)][_0x48537a(0x2d4)](u[_0x48537a(0x388)](_0x561af6),this['_cachedData'][_0x48537a(0x3bf)](_0x561af6))[_0x48537a(0x333)](()=>this[_0x48537a(0x2d1)][_0x48537a(0x37b)](_0x561af6));}async[_0x3800a1(0x288)](){const _0xb62b82=_0x3800a1,_0x2aac4f=[];this['_saveTaskMap'][_0xb62b82(0x316)]((_0x41461d,_0x59d30b)=>{const _0x14c6b3=_0xb62b82;window[_0x14c6b3(0x2bd)](_0x41461d),_0x2aac4f['push'](this['_saveCache'](_0x59d30b)[_0x14c6b3(0x333)](()=>{const _0x3c75fd=_0x14c6b3;this[_0x3c75fd(0x2d1)]['delete'](_0x59d30b);}));}),await Promise[_0xb62b82(0x239)](_0x2aac4f);}};ge=Kt([_e(0x0,a[_0x3800a1(0x410)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x3800a1(0x22f)](m[_0x3800a1(0x3b8)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x563195=_0x3800a1;super(),h(this,_0x563195(0x379)),this[_0x563195(0x379)]=d[_0x563195(0x3c4)](window,_0x563195(0x3e0))[_0x563195(0x355)](d[_0x563195(0x2cb)](this['dispose$']),d[_0x563195(0x290)](0x1),d[_0x563195(0x35c)](void 0x0));}['setParam'](_0x1f4562,_0x4a0f81,_0x1db4a8=!0x1){const _0x5127e6=_0x3800a1,_0x230fd6=new URL(window['location'][_0x5127e6(0x23c)]);_0x230fd6[_0x5127e6(0x284)][_0x5127e6(0x21e)](_0x1f4562,_0x4a0f81),_0x1db4a8?window['history'][_0x5127e6(0x3f7)]('','',_0x230fd6[_0x5127e6(0x2e2)]()):window[_0x5127e6(0x380)][_0x5127e6(0x24c)]('','',_0x230fd6['toString']());}[_0x3800a1(0x2ad)](_0x262d9a,_0xe6fe5f=!0x1){const _0x38ef06=_0x3800a1,_0x27a4e9=new URL(window[_0x38ef06(0x25c)]['href']);_0x27a4e9[_0x38ef06(0x284)][_0x38ef06(0x37b)](_0x262d9a),_0xe6fe5f?window[_0x38ef06(0x380)][_0x38ef06(0x3f7)]('','',_0x27a4e9['toString']()):window[_0x38ef06(0x380)][_0x38ef06(0x24c)]('','',_0x27a4e9['toString']());}[_0x3800a1(0x1d7)](_0x427c93){const _0x1c4382=_0x3800a1;var _0x8e3c58;return(_0x8e3c58=new URL(window['location'][_0x1c4382(0x23c)])[_0x1c4382(0x284)][_0x1c4382(0x3bf)](_0x427c93))!=null?_0x8e3c58:void 0x0;}}var qt=Object[_0x3800a1(0x348)],zt=Object[_0x3800a1(0x3a4)],Jt=(_0x4bf84f,_0x3a543b,_0x106f04)=>_0x3a543b in _0x4bf84f?qt(_0x4bf84f,_0x3a543b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x106f04}):_0x4bf84f[_0x3a543b]=_0x106f04,Zt=(_0x52965b,_0x2296b2,_0x3ba71e,_0x3add15)=>{const _0x5884f7=_0x3800a1;for(var _0xcc0ad2=_0x3add15>0x1?void 0x0:_0x3add15?zt(_0x2296b2,_0x3ba71e):_0x2296b2,_0x44d0ce=_0x52965b[_0x5884f7(0x2c4)]-0x1,_0x1f04ca;_0x44d0ce>=0x0;_0x44d0ce--)(_0x1f04ca=_0x52965b[_0x44d0ce])&&(_0xcc0ad2=_0x1f04ca(_0xcc0ad2)||_0xcc0ad2);return _0xcc0ad2;},he=(_0xe4bcb0,_0x104328)=>(_0xc7700a,_0x20e261)=>_0x104328(_0xc7700a,_0x20e261,_0xe4bcb0),Qt=(_0x29676a,_0x46d58c,_0x2b1786)=>Jt(_0x29676a,_0x46d58c+'',_0x2b1786);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x3800a1(0x39c)]=class extends a[_0x3800a1(0x430)]{constructor(_0x1bf95e=Ue,_0x464b42,_0x28a4d9,_0x3482d2){const _0x4f72c9=_0x3800a1;super(),this[_0x4f72c9(0x286)]=_0x1bf95e,this[_0x4f72c9(0x307)]=_0x464b42,this[_0x4f72c9(0x1d9)]=_0x28a4d9,this[_0x4f72c9(0x26c)]=_0x3482d2;const {..._0x2c4269}=a['merge']({},Ue,this[_0x4f72c9(0x286)]);this[_0x4f72c9(0x26c)]['setConfig']($t,_0x2c4269);}['onStarting'](){const _0x48d1f7=_0x3800a1;this['_registerDependencies'](),this[_0x48d1f7(0x398)]();}[_0x3800a1(0x45d)](){const _0x31e6cc=_0x3800a1;this[_0x31e6cc(0x33d)]();}[_0x3800a1(0x352)](){const _0x15896c=_0x3800a1;var _0x212902;const _0xada186=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x15896c(0x218)],{'useClass':G[_0x15896c(0x327)]}],[u[_0x15896c(0x408)],{'useClass':ge}],[exports[_0x15896c(0x214)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x15896c(0x266)](this[_0x15896c(0x1d9)],a[_0x15896c(0x243)](_0xada186,(_0x212902=this[_0x15896c(0x286)])==null?void 0x0:_0x212902[_0x15896c(0x431)]));}[_0x3800a1(0x33d)](){const _0x4e8acd=_0x3800a1;this[_0x4e8acd(0x372)](this[_0x4e8acd(0x307)][_0x4e8acd(0x2eb)](a['UniverInstanceType']['UNIVER_DOC'],[fe])),this[_0x4e8acd(0x372)](this[_0x4e8acd(0x307)][_0x4e8acd(0x2eb)](a['UniverInstanceType'][_0x4e8acd(0x2ba)],[ve]));}[_0x3800a1(0x398)](){const _0x3c7066=_0x3800a1;a[_0x3c7066(0x2c2)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x3c7066(0x3b1)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x3800a1(0x3c6),es),exports['UniverCollaborationClientUIPlugin']=Zt([a[_0x3800a1(0x37d)](u[_0x3800a1(0x441)]),he(0x1,p['IRenderManagerService']),he(0x2,a['Inject'](a[_0x3800a1(0x2e4)])),he(0x3,a[_0x3800a1(0x410)])],exports[_0x3800a1(0x39c)]);var ts=Object[_0x3800a1(0x3a4)],ss=(_0x23d1c4,_0x125bf1,_0x2edf15,_0xca066c)=>{const _0x497b10=_0x3800a1;for(var _0x38c9d7=_0xca066c>0x1?void 0x0:_0xca066c?ts(_0x125bf1,_0x2edf15):_0x125bf1,_0xc5f425=_0x23d1c4[_0x497b10(0x2c4)]-0x1,_0x3316d1;_0xc5f425>=0x0;_0xc5f425--)(_0x3316d1=_0x23d1c4[_0xc5f425])&&(_0x38c9d7=_0x3316d1(_0x38c9d7)||_0x38c9d7);return _0x38c9d7;},H=(_0x1e4b9a,_0x39b725)=>(_0x297da3,_0x47de3f)=>_0x39b725(_0x297da3,_0x47de3f,_0x1e4b9a);exports[_0x3800a1(0x283)]=class extends u['CollaborationSocketService']{constructor(_0x1eda09,_0x12d470,_0x5ebc82,_0x322c8e,_0x568976){super(_0x1eda09,_0x12d470,_0x5ebc82,_0x322c8e,_0x568976);}async[_0x3800a1(0x2a9)](_0x2d614b){const _0x36b0b1=_0x3800a1,_0x7060a3=await this[_0x36b0b1(0x1d8)](),_0x541733=this[_0x36b0b1(0x3eb)](_0x2d614b,_0x7060a3);return this[_0x36b0b1(0x436)](_0x541733);}['_createSocketURL'](_0xd16442,_0x45b208){const _0x588ccb=_0x3800a1,_0x2a8a7e=typeof window>'u'?new URL(_0xd16442):new URL(_0xd16442,window['location']['origin']);_0x2a8a7e[_0x588ccb(0x284)][_0x588ccb(0x21e)](_0x588ccb(0x376),_0x45b208);const _0x3eb770=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x588ccb(0x25c)][_0x588ccb(0x201)]);return _0x3eb770[_0x588ccb(0x3bf)](_0x588ccb(0x277))&&_0x2a8a7e['searchParams']['set']('runId',_0x3eb770[_0x588ccb(0x3bf)](_0x588ccb(0x277))),_0x2a8a7e[_0x588ccb(0x2e2)]();}async['_getSessionTicket'](){const _0x21be90=_0x3800a1;var _0x3cb1cc,_0x3fb2fb,_0x48e9c5;const _0x3719e1=this[_0x21be90(0x26c)][_0x21be90(0x3d5)](u[_0x21be90(0x2bf)]),_0x13bae6=(_0x3cb1cc=_0x3719e1==null?void 0x0:_0x3719e1[_0x21be90(0x2b9)])!=null?_0x3cb1cc:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x48e9c5=(_0x3fb2fb=(await this[_0x21be90(0x275)][_0x21be90(0x3bf)](_0x13bae6,{'headers':{'Content-Type':_0x21be90(0x40d)}}))['body'])==null?void 0x0:_0x3fb2fb['ticket'])!=null?_0x48e9c5:'';}},exports[_0x3800a1(0x283)]=ss([H(0x0,a[_0x3800a1(0x22f)](a[_0x3800a1(0x2e4)])),H(0x1,a['Inject'](G[_0x3800a1(0x2fb)])),H(0x2,a[_0x3800a1(0x410)]),H(0x3,a['ILogService']),H(0x4,m['ISnapshotServerService'])],exports[_0x3800a1(0x283)]);const Me=0x7530,Le=_0x3800a1(0x2aa);class is extends a[_0x3800a1(0x24d)]{constructor(){const _0x595f66=_0x3800a1;super(),h(this,'_id',a[_0x595f66(0x2ff)]()),h(this,_0x595f66(0x248),new Set()),h(this,_0x595f66(0x424),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x595f66(0x443),new Map()),h(this,'_unitStatus',new Map()),this[_0x595f66(0x3f0)]();}['dispose'](){const _0x153020=_0x3800a1;super[_0x153020(0x37f)](),this[_0x153020(0x443)][_0x153020(0x316)]((_0x1a0164,_0x19e9df)=>this[_0x153020(0x2fe)](_0x19e9df)),this[_0x153020(0x21b)]&&window[_0x153020(0x44c)](this[_0x153020(0x21b)]);}[_0x3800a1(0x20f)](_0x201f5d){const _0xa9f5e5=_0x3800a1;return this['_ensureSubject'](_0x201f5d)[_0xa9f5e5(0x355)](d[_0xa9f5e5(0x34e)]());}[_0x3800a1(0x2cc)](_0x2909b4){const _0x1e6413=_0x3800a1;this[_0x1e6413(0x248)][_0x1e6413(0x33f)]===0x0&&this[_0x1e6413(0x25b)](),this['_selfUnitIDs'][_0x1e6413(0x23a)](_0x2909b4),this[_0x1e6413(0x36b)]({'type':0x0,'memberID':this[_0x1e6413(0x247)],'unitIDs':[_0x2909b4],'isForwarded':!0x1});}[_0x3800a1(0x3cf)](_0x4b5f64){const _0x289ed4=_0x3800a1;this['_selfUnitIDs'][_0x289ed4(0x37b)](_0x4b5f64),this[_0x289ed4(0x248)][_0x289ed4(0x33f)]===0x0&&this[_0x289ed4(0x21b)]&&window[_0x289ed4(0x44c)](this[_0x289ed4(0x21b)]);}[_0x3800a1(0x3f0)](){const _0x1c3265=_0x3800a1;this['disposeWithMe'](a['toDisposable'](d[_0x1c3265(0x3c4)](window,'storage')[_0x1c3265(0x227)](_0x511b78=>{const _0x4aba7f=_0x1c3265;if(_0x511b78[_0x4aba7f(0x249)]!==Le||!_0x511b78['newValue'])return;const _0x3e2181=JSON[_0x4aba7f(0x210)](_0x511b78[_0x4aba7f(0x374)]);this['_handleEvent'](_0x3e2181);}))),window['addEventListener'](_0x1c3265(0x2da),()=>this[_0x1c3265(0x36b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1c3265(0x3da)](this[_0x1c3265(0x248)])}));}[_0x3800a1(0x25f)](_0x1e859c){const _0x420a18=_0x3800a1;switch(_0x1e859c[_0x420a18(0x1eb)]){case 0x0:this[_0x420a18(0x1e6)](_0x1e859c);break;case 0x1:this[_0x420a18(0x35d)](_0x1e859c);break;case 0x2:this['_handleHeartbeatEvent'](_0x1e859c);break;}}['_handleJoinEvent'](_0x37f23e){const _0x72ccce=_0x3800a1,{unitIDs:_0xd49077,memberID:_0x35bd92,isForwarded:_0x1b8993}=_0x37f23e;_0xd49077[_0x72ccce(0x316)](_0x5c8705=>{const _0x44d51c=_0x72ccce;if(!_0x1b8993&&this[_0x44d51c(0x424)]['has'](_0x5c8705)&&this[_0x44d51c(0x3d4)](_0x5c8705)[_0x44d51c(0x3ee)](u[_0x44d51c(0x44d)][_0x44d51c(0x3dd)]),!this[_0x44d51c(0x424)]['has'](_0x5c8705)||!this[_0x44d51c(0x424)]['get'](_0x5c8705)[_0x44d51c(0x1f7)](_0x35bd92)){const _0x44cf93=this[_0x44d51c(0x424)][_0x44d51c(0x3bf)](_0x5c8705)||new Set();_0x44cf93['add'](_0x35bd92),this[_0x44d51c(0x424)][_0x44d51c(0x21e)](_0x5c8705,_0x44cf93),this[_0x44d51c(0x276)](_0x35bd92);}}),_0x1b8993||this[_0x72ccce(0x36b)]({'type':0x0,'memberID':this[_0x72ccce(0x247)],'unitIDs':[...this[_0x72ccce(0x248)]],'isForwarded':!0x0});}[_0x3800a1(0x276)](_0x10dcdf){const _0x59d719=_0x3800a1;this[_0x59d719(0x2fe)](_0x10dcdf);const _0x9b0962=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x5e9ae2=>{_0x5e9ae2['delete'](_0x10dcdf);});},Me*0x2);this['_clearOtherTimers']['set'](_0x10dcdf,_0x9b0962);}[_0x3800a1(0x2fe)](_0x5d6d13){const _0x520bd0=_0x3800a1;if(this['_clearOtherTimers'][_0x520bd0(0x1f7)](_0x5d6d13)){const _0x5efeec=this[_0x520bd0(0x443)]['get'](_0x5d6d13);_0x5efeec&&window[_0x520bd0(0x2bd)](_0x5efeec),this['_clearOtherTimers'][_0x520bd0(0x21e)](_0x5d6d13,null);}}['_handleLeaveEvent'](_0x8c0706){const _0x3c5ea9=_0x3800a1,{memberID:_0xaa0d44,unitIDs:_0xdf718f}=_0x8c0706;_0xdf718f['forEach'](_0x153833=>{const _0x2cfffe=_0x4499;var _0x47caad;const _0x216505=this[_0x2cfffe(0x424)]['get'](_0x153833);_0x216505&&(_0x216505[_0x2cfffe(0x37b)](_0xaa0d44),(_0x47caad=this[_0x2cfffe(0x3d4)](_0x153833))==null||_0x47caad[_0x2cfffe(0x3ee)](_0x216505[_0x2cfffe(0x33f)]===0x0?u[_0x2cfffe(0x44d)]['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus'][_0x2cfffe(0x3dd)]));}),this[_0x3c5ea9(0x2fe)](_0xaa0d44);}[_0x3800a1(0x37c)](_0x17e80f){const _0xe4eb25=_0x3800a1;this[_0xe4eb25(0x276)](_0x17e80f[_0xe4eb25(0x281)]);}[_0x3800a1(0x36b)](_0x566cc1){const _0x4b610c=_0x3800a1;localStorage['setItem'](Le,JSON[_0x4b610c(0x3ad)](_0x566cc1));}[_0x3800a1(0x25b)](){const _0xd6c30d=_0x3800a1;this[_0xd6c30d(0x21b)]=window[_0xd6c30d(0x3af)](()=>{const _0x1121db=_0xd6c30d;this[_0x1121db(0x36b)]({'type':0x2,'memberID':this[_0x1121db(0x247)]});},Me);}['_ensureSubject'](_0x3387ae){const _0x27995b=_0x3800a1;return this['_unitStatus'][_0x27995b(0x1f7)](_0x3387ae)||this[_0x27995b(0x282)][_0x27995b(0x21e)](_0x3387ae,new d[(_0x27995b(0x34c))](u[_0x27995b(0x44d)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x3387ae);}}var je=(_0x23b6fc=>(_0x23b6fc[_0x23b6fc[_0x3800a1(0x226)]=0x0]='UNDEFINED',_0x23b6fc[_0x23b6fc['OK']=0x1]='OK',_0x23b6fc[_0x23b6fc['INTERNAL_ERROR']=0x2]=_0x3800a1(0x211),_0x23b6fc[_0x23b6fc[_0x3800a1(0x3b0)]=0x3]='PERMISSION_DENIED',_0x23b6fc[_0x23b6fc[_0x3800a1(0x272)]=0x4]='NOT_FOUND',_0x23b6fc[_0x23b6fc[_0x3800a1(0x220)]=0x5]=_0x3800a1(0x220),_0x23b6fc[_0x23b6fc[_0x3800a1(0x22d)]=0x6]=_0x3800a1(0x22d),_0x23b6fc[_0x23b6fc[_0x3800a1(0x328)]=0x7]='INVALID_ARGUMENT',_0x23b6fc[_0x23b6fc[_0x3800a1(0x3f6)]=0x8]=_0x3800a1(0x3f6),_0x23b6fc[_0x23b6fc[_0x3800a1(0x245)]=0x9]=_0x3800a1(0x245),_0x23b6fc[_0x23b6fc[_0x3800a1(0x254)]=0xa]='LOGIN_FAILED',_0x23b6fc[_0x23b6fc[_0x3800a1(0x42c)]=0xb]=_0x3800a1(0x42c),_0x23b6fc[_0x23b6fc['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3800a1(0x3e9),_0x23b6fc[_0x23b6fc[_0x3800a1(0x400)]=0xd]=_0x3800a1(0x400),_0x23b6fc[_0x23b6fc[_0x3800a1(0x394)]=0xe]=_0x3800a1(0x394),_0x23b6fc[_0x23b6fc['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x23b6fc[_0x23b6fc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x23b6fc[_0x23b6fc[_0x3800a1(0x2f6)]=0x1772]=_0x3800a1(0x2f6),_0x23b6fc[_0x23b6fc['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3800a1(0x392),_0x23b6fc[_0x23b6fc[_0x3800a1(0x2ea)]=0x1b59]=_0x3800a1(0x2ea),_0x23b6fc[_0x23b6fc[_0x3800a1(0x2e3)]=0x1b5a]=_0x3800a1(0x2e3),_0x23b6fc[_0x23b6fc[_0x3800a1(0x1ff)]=0x1b5b]=_0x3800a1(0x1ff),_0x23b6fc[_0x23b6fc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3800a1(0x367),_0x23b6fc[_0x23b6fc['APPLY_DUPLICATED']=0x1b5d]=_0x3800a1(0x285),_0x23b6fc[_0x23b6fc[_0x3800a1(0x24a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23b6fc[_0x23b6fc[_0x3800a1(0x223)]=0x2329]=_0x3800a1(0x223),_0x23b6fc[_0x23b6fc['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3800a1(0x230),_0x23b6fc[_0x23b6fc[_0x3800a1(0x390)]=0x232b]=_0x3800a1(0x390),_0x23b6fc[_0x23b6fc[_0x3800a1(0x43a)]=0x232c]=_0x3800a1(0x43a),_0x23b6fc[_0x23b6fc[_0x3800a1(0x21c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x23b6fc[_0x23b6fc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3800a1(0x458),_0x23b6fc[_0x23b6fc[_0x3800a1(0x202)]=0x2712]=_0x3800a1(0x202),_0x23b6fc[_0x23b6fc['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3800a1(0x330),_0x23b6fc[_0x23b6fc[_0x3800a1(0x382)]=0x2714]=_0x3800a1(0x382),_0x23b6fc[_0x23b6fc[_0x3800a1(0x403)]=0x271a]=_0x3800a1(0x403),_0x23b6fc[_0x23b6fc['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x23b6fc[_0x23b6fc[_0x3800a1(0x306)]=0x271c]=_0x3800a1(0x306),_0x23b6fc[_0x23b6fc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3800a1(0x3dc),_0x23b6fc[_0x23b6fc[_0x3800a1(0x38e)]=0x271e]=_0x3800a1(0x38e),_0x23b6fc[_0x23b6fc[_0x3800a1(0x442)]=0x271f]=_0x3800a1(0x442),_0x23b6fc[_0x23b6fc[_0x3800a1(0x411)]=0x2720]=_0x3800a1(0x411),_0x23b6fc[_0x23b6fc['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3800a1(0x2be),_0x23b6fc[_0x23b6fc[_0x3800a1(0x241)]=0x2ee1]=_0x3800a1(0x241),_0x23b6fc[_0x23b6fc[_0x3800a1(0x370)]=0x2ee2]=_0x3800a1(0x370),_0x23b6fc[_0x23b6fc[_0x3800a1(0x351)]=0x2ee3]=_0x3800a1(0x351),_0x23b6fc[_0x23b6fc[_0x3800a1(0x21f)]=0x2ee4]=_0x3800a1(0x21f),_0x23b6fc[_0x23b6fc[_0x3800a1(0x345)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x23b6fc[_0x23b6fc[_0x3800a1(0x336)]=0x32c9]=_0x3800a1(0x336),_0x23b6fc[_0x23b6fc[_0x3800a1(0x2b3)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x23b6fc[_0x23b6fc[_0x3800a1(0x2f4)]=0x32cb]=_0x3800a1(0x2f4),_0x23b6fc[_0x23b6fc[_0x3800a1(0x444)]=-0x1]=_0x3800a1(0x444),_0x23b6fc))(je||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0xfb8f86,_0x4b2a44,_0x148acc,_0xdf1e86)=>{const _0xa5823d=_0x3800a1;for(var _0x337c1a=_0xdf1e86>0x1?void 0x0:_0xdf1e86?ns(_0x4b2a44,_0x148acc):_0x4b2a44,_0x426297=_0xfb8f86[_0xa5823d(0x2c4)]-0x1,_0x461392;_0x426297>=0x0;_0x426297--)(_0x461392=_0xfb8f86[_0x426297])&&(_0x337c1a=_0x461392(_0x337c1a)||_0x337c1a);return _0x337c1a;},ue=(_0x1884b9,_0x2bf8c0)=>(_0x11d531,_0xe63a21)=>_0x2bf8c0(_0x11d531,_0xe63a21,_0x1884b9);exports[_0x3800a1(0x20a)]=class extends a[_0x3800a1(0x24d)]{constructor(_0x326a7c,_0x2dddcb,_0x28a2ae){const _0x1fada8=_0x3800a1;super(),this[_0x1fada8(0x32b)]=_0x326a7c,this[_0x1fada8(0x275)]=_0x2dddcb,this[_0x1fada8(0x26c)]=_0x28a2ae;}async[_0x3800a1(0x3de)](_0x33ff02,_0x531714,_0x57463c,..._0x2a30f8){const _0x4565e9=_0x3800a1;var _0x1b6673,_0xf9f53f,_0x330a3e,_0x35fe0e;const _0xd4ce6d=this[_0x4565e9(0x32b)]['getFocusedUnit']();if(!_0xd4ce6d)throw new Error(_0x4565e9(0x347));const _0x319f34=((_0x1b6673=this[_0x4565e9(0x26c)]['getConfig'](u[_0x4565e9(0x393)]))!=null?_0x1b6673:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x33ff02+_0x4565e9(0x3bb)+_0x531714,_0x1c6449=new URL(window[_0x4565e9(0x25c)][_0x4565e9(0x23c)]),_0x32c84b={'scriptId':_0x33ff02,'runId':(_0xf9f53f=_0x1c6449['searchParams']['get'](_0x4565e9(0x277)))!=null?_0xf9f53f:'','function':_0x531714,'unitId':_0xd4ce6d[_0x4565e9(0x1f2)](),'argsOfFunction':JSON[_0x4565e9(0x3ad)](_0x2a30f8),'invokeId':(_0x330a3e=_0x57463c[_0x4565e9(0x2fd)])!=null?_0x330a3e:'','executionId':(_0x35fe0e=_0x57463c[_0x4565e9(0x3f4)])!=null?_0x35fe0e:''};try{const _0x1bbd24=await this['_httpService']['post'](_0x319f34,{'body':_0x32c84b});return _0x1bbd24[_0x4565e9(0x3d2)][_0x4565e9(0x3ef)]&&_0x1bbd24[_0x4565e9(0x3d2)][_0x4565e9(0x3ef)][_0x4565e9(0x3c9)]!==je['OK']?_0x4565e9(0x28e):_0x1bbd24['body'][_0x4565e9(0x267)];}catch{return _0x4565e9(0x28e);}}},exports[_0x3800a1(0x20a)]=rs([ue(0x0,a[_0x3800a1(0x26a)]),ue(0x1,a[_0x3800a1(0x22f)](G[_0x3800a1(0x2fb)])),ue(0x2,a[_0x3800a1(0x410)])],exports[_0x3800a1(0x20a)]),exports[_0x3800a1(0x1f4)]=xe,exports['IURLService']=Ee,exports[_0x3800a1(0x3d7)]=we,exports[_0x3800a1(0x212)]=is,exports[_0x3800a1(0x396)]=Be;
1
+ 'use strict';const _0xb1f837=_0x48f4;(function(_0x3608dd,_0x237221){const _0x1aa5ae=_0x48f4,_0x37151e=_0x3608dd();while(!![]){try{const _0x5c5bb1=parseInt(_0x1aa5ae(0x12f))/0x1*(-parseInt(_0x1aa5ae(0x116))/0x2)+-parseInt(_0x1aa5ae(0x167))/0x3*(parseInt(_0x1aa5ae(0xbf))/0x4)+-parseInt(_0x1aa5ae(0x1a9))/0x5+parseInt(_0x1aa5ae(0x1ef))/0x6*(parseInt(_0x1aa5ae(0x17a))/0x7)+-parseInt(_0x1aa5ae(0x21a))/0x8+-parseInt(_0x1aa5ae(0xab))/0x9+parseInt(_0x1aa5ae(0x2a1))/0xa;if(_0x5c5bb1===_0x237221)break;else _0x37151e['push'](_0x37151e['shift']());}catch(_0x54b833){_0x37151e['push'](_0x37151e['shift']());}}}(_0xd3b9,0xa7d44));var Ve=Object['defineProperty'],Xe=(_0x38d7fa,_0x3109be,_0x591fbb)=>_0x3109be in _0x38d7fa?Ve(_0x38d7fa,_0x3109be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x38d7fa[_0x3109be]=_0x591fbb,h=(_0x71385a,_0x38f520,_0x285afd)=>Xe(_0x71385a,typeof _0x38f520!='symbol'?_0x38f520+'':_0x38f520,_0x285afd);Object[_0xb1f837(0x1ca)](exports,Symbol[_0xb1f837(0x202)],{'value':_0xb1f837(0x139)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0xb1f837(0x19a)],ze=(_0x34a293,_0x223e71,_0x469792,_0x37e7e9)=>{const _0x3379e3=_0xb1f837;for(var _0x1f939b=_0x37e7e9>0x1?void 0x0:_0x37e7e9?qe(_0x223e71,_0x469792):_0x223e71,_0x250244=_0x34a293[_0x3379e3(0x257)]-0x1,_0x4f7c6a;_0x250244>=0x0;_0x250244--)(_0x4f7c6a=_0x34a293[_0x250244])&&(_0x1f939b=_0x4f7c6a(_0x1f939b)||_0x1f939b);return _0x1f939b;},Oe=(_0x243767,_0x5bb6ca)=>(_0x4235f7,_0x9fbd00)=>_0x5bb6ca(_0x4235f7,_0x9fbd00,_0x243767);let de=class extends a[_0xb1f837(0x292)]{constructor(_0x4e527f,_0x2b5b91){const _0x320d83=_0xb1f837;super(),this[_0x320d83(0xa3)]=_0x4e527f,this['_imageIoService']=_0x2b5b91,this['_init']();}[_0xb1f837(0x26a)](){const _0xcb9d10=_0xb1f837,_0x498701=this;this['disposeWithMe'](this[_0xcb9d10(0xa3)][_0xcb9d10(0x101)]({'onBeforePasteImage':async _0x2243e7=>{const _0x28120e=_0xcb9d10,_0x22b179=await _0x498701[_0x28120e(0x2d0)]['saveImage'](_0x2243e7);return _0x22b179?{'source':_0x22b179[_0x28120e(0x28d)],'imageSourceType':_0x22b179[_0x28120e(0x196)]}:null;}}));}};de=ze([Oe(0x0,E['IDocClipboardService']),Oe(0x1,Ge[_0xb1f837(0x200)])],de);const Te=['purple.300',_0xb1f837(0x293),_0xb1f837(0x1bb),_0xb1f837(0xec),_0xb1f837(0x136),_0xb1f837(0x198)];class me extends a['Disposable']{constructor(){const _0x1c8dd9=_0xb1f837;super(...arguments),h(this,_0x1c8dd9(0x26c),new Map()),h(this,_0x1c8dd9(0x23a),0x0);}['assignAColorForMemberID'](_0x1b9bd4){const _0x1b7046=_0xb1f837;if(this[_0x1b7046(0x26c)][_0x1b7046(0x1ea)](_0x1b9bd4))return this[_0x1b7046(0x26c)][_0x1b7046(0xd1)](_0x1b9bd4);const _0x14d5f6=Te[this['_colorIndex']];return this[_0x1b7046(0x23a)]=(this[_0x1b7046(0x23a)]+0x1)%Te[_0x1b7046(0x257)],this['_assignedColors'][_0x1b7046(0x134)](_0x1b9bd4,_0x14d5f6),_0x14d5f6;}}function Pe(_0x17bc09){const _0x33c1e7=_0xb1f837;let _0x4a9685='';for(const _0x41ef4c of _0x17bc09){const {startOffset:_0x33f084,endOffset:_0x40d7f9,isActive:_0x21a022,rangeType:_0xff6ce3,segmentId:_0x5c8a23,segmentPage:_0x51d7ca}=_0x41ef4c;_0x4a9685[_0x33c1e7(0x257)]&&(_0x4a9685+=','),_0x4a9685+=_0x33f084+':'+_0x40d7f9+':'+(_0x21a022?'1':'0')+':'+_0xff6ce3+':'+_0x5c8a23+':'+_0x51d7ca;}return _0x4a9685;}function Je(_0x57bb20){const _0x4c0aaf=_0xb1f837,_0x216439=_0x57bb20['split'](','),_0x383981=[];for(const _0x5a7c32 of _0x216439){const [_0x43a511,_0x4d7745,_0x1990a2,_0x239ce9,_0x19c508,_0x562dcd]=_0x5a7c32['split'](':');_0x383981[_0x4c0aaf(0xf9)]({'startOffset':Number(_0x43a511),'endOffset':Number(_0x4d7745),'collapsed':_0x43a511===_0x4d7745,'isActive':_0x1990a2==='1','rangeType':_0x239ce9===a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x183)]?a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x183)]:a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x216)],'segmentId':typeof _0x19c508==_0x4c0aaf(0x73)?String(_0x19c508):'','segmentPage':Number(_0x562dcd!=null?_0x562dcd:-0x1)});}return _0x383981[_0x4c0aaf(0x1dd)](_0x3055cb=>_0x3055cb[_0x4c0aaf(0x204)])||(_0x383981[0x0][_0x4c0aaf(0x204)]=!0x0),_0x383981;}function _0xd3b9(){const _0x380b9f=['ILogService','_initDependencies','getTypeOfUnitAdded$','INVALID_INVITE_CODE','CONNECTOR_DATA_TOO_LARGE','_syncEditingCollabCursorService','_clearOtherTimers','onMouseMove','InsertRowCommandId','_init','_initEvent','_assignedColors','handleInsertRangeMoveRight','Unknown\x20user','key','_collabSessionService','createInstance','SetWorksheetActivateCommand','forwardRef','_docSkeleton','_commandService','history','_startDocCollabCursor','_urlService','dispose$','PY_RUNTIME_SCRIPT_ERROR','DeleteRangeMoveUpCommandId','IMessageService','post','SUBMIT_CHANGESET_TIMEOUT','white','MemberService','MUTATION','0\x200\x2016\x2016','data','ALREADY_EXISTS','DocSelectionManagerService','setItem','concat','sheetId','assign','location','_drawTextRange','addObjects','source','drawWith','pipe','findNodePositionByCharIndex','add','RxDisposable','jiqing.500','CollaborationSocketService','getLocalCacheKey','_refRangeService','ticket','_startSheetCollabCursor','UnitStatus','UNIVER_DOC','_themeService','_initStatusListener','_anchor','touchDependencies','registerBeforeClose','YUUMI_URL_COL_OUT_OF_RANGE','37488590fiqXLr','UniverIcon','tag','selections','_draw','Workbook','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','newValue','_scheduleClearOtherTimer','toDisposable','_updateURLWithCurrentState','stringify','map','_drawAnchor','Disposable','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationStatusDisplay','1em','bottom','LICENSE_MAX_UNITS_EXCEEDED','measureText','replace','extend','transformStateCache','ACTIVE_UNIT_EVENT_CHANNEL','collabCursorState$','_name','switchMap','_refreshCollabCursors','SetSelectionsOperation','href','SOCKET_FAILED','_collabCursorController','DataLoaderService','getCollabCursors$','YUUMI_CONNECTOR_URL_NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','contains','_docStateChangeManagerService','off-line-icon_clip0_910_343','indexOf','getCoordByCell','debounceTime','JOIN_ROOM_FAILED','getColor','Tools','height','_imageIoService','YUUMI_ASYNCIO_CANCELLED','NOT_FOUND','onStarting','saveTaskMap','_unitOnClients','NodePositionConvertToRectRange','INVITE_CODE_ALREADY_BOUND','fillStyle','from','getUniverSheetInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onPointerLeave$','backgroundColor','Subject','color','executeCommand','transformMutation','isTransformMutationsWithChangesetSuccess','APPLY_PERMISSION_DENIED','_saveCache','sessionTicket','Error','LOCAL_CACHE_INTERVAL','_scene','handleIRemoveRow','_localStorageService','rgba(255,\x20255,\x20255,\x200.01)','clearInterval','RemoteUniscriptService','useDependency','send','_unitStatus','selection','row','collab-client.tooltip.reconnect','prototype','string','pushState','translate(.97)','_univerInstanceService','getUndoRedoMutationParamsCache','unsubscribe','permission.title','DocSkeletonManagerService','_session','function','debug','cursorInfo$','registerRenderModule','WebBrowserSingleActiveUnitService','_render','OffLineIcon','_doCreateSocket','INTERNAL_ERROR','_range','_collaborationController','ColorKit','COLORS','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_IMPORT_SIZE_EXCEEDED','_anchorDot','dispose','startsWith','getMember','width','collab-text-range-','_cachedData','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hide','skeleton','_hover','_removeCollabCursors','arc','enableLocalCache','TEXT_RANGE_LAYER_INDEX','subscribeEvent','isArray','_hideTimer','_toggleOnline','_toggleOffline','toRgbString','subunit','getViewport','getTypeOfUnitDisposed$','_docClipboardService','icon','_localeService','getActiveSheet','none','/run/','hasOwnProperty','m1Prime','1835874ZvbYPw','OnLineIcon','path','setActiveRange','getMergeData','BehaviorSubject','propertyIsEnumerable','Rect','defIds','CollaborationSessionService','_updateLocalCursor','CollaborationController','getRelativeToViewportCoord','_send','handleDeleteRangeMoveUp','max','SOCKET_FAILED_RETRY','mutations','uni.network.url-service','BrowserCollaborationSocketService','64024cIrYTU','_dataLoaderService','defs','flatMap','transformSelections','Vector2','_createSocketURL','colorChannel1','_cursors','handleIRemoveCol','[CollaborationDataLoaderController]','debounce','Plugin','fillText','SheetCollabCursorShape','_docTransformStateCacheService','_removeClearOtherTimer','fill','get','isEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getUnitId','_selfUnitIDs','disposeWithMe','runId','Failed','NO_OTHER_CLIENTS_EDITING','loadUnit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','className','NOT_COLLAB','INotificationService','next','asObservable','replaceState','CollaborationUIEventService','DOC_RANGE_TYPE','transformRemoteChangeset','_getScale','YUUMI_ALL_TABLES_IS_INVALID','INVALID_ARGUMENT','setParam','_online','transformMutationsWithChangeset','all','red.300','_labelPosition','url(#on-line-icon_clip0_910_349)','range','call','_uiPartsService','ILocalCacheService','_logService','DeleteRangeMoveLeftCommandId','current','LOGIN_FAILED','collabStatus.notCollab','useCallback','push','requireSession','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getParam','_docSyncEditingCollabCursorService','DependentOn','params','getConfig','addClipboardHook','with','application/json','_id','ILocalStorageService','disableLocalCache','FETCH_MISS','getMemberID','getCollabEntity$','createElement','_scheduleSaving','doc.mutation.rich-text-editing','_getMergeRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CHANGESET_REVISION_CONFILICT','createSocket','jsx','startRow','collabStatus.synced','min','YUUMI_TABLE_NOT_FOUND_IN_UNIT','2522426ooBlXZ','transformIMECache','_renderManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_DISTRO_REJECTED','_context','distinctUntilChanged','entries','_notificationService','UNIVER_SHEET','collabStatus.syncing','hovered','_getSessionTicket','DisposableCollection','searchParams','_saveTaskMap','ranges','_getSheetObject','collaboration.closeRoom','SYNCED','_configService','DocStateChangeManagerService','reconnect','undoState','getUnitStatus$','1GDwDeE','APPLY_DUPLICATED','_disabled','ENSURE_SNAPSHOT_EXECUTION','MessageType','set','replaceDocRanges','blue.400','handleDeleteRangeMoveLeft','storage','Module','getCurrentRevOfUnit','EMAIL_HAS_BEEN_BOUND','_registerRenderDependencies','entityInit$','currentTheme$','forEach','collaboration.single-unit.warning','getSheetObject','TOO_MANY_REQUESTS','Warning','_injector','jsxs','getOwnPropertySymbols','_updateCollabCursors','IUIPartsService','_initCommandExecutedListener','div','getSheetId','urlChange$','_beforeCloseService','getColorFromTheme','IBeforeCloseService','AWAITING','subUnitId','OTHER_CLIENT_EDITING','PERMISSION_DENIED','LocaleService','onRendered','HEADER_MENU','docStateChange$','black','memberID','getAncestorScale','complete','moveTo','_backgroundColor','_heartbeatTimer','addObject','_eventUnsubscribe','_handleEvent','init','CONFLICT','...','textRanges','_hovered','129TpWlxp','eventID','_cursorShapes','registerRefRange','IRemoteInstanceService','_revisionService','_lastPointer','_collabCursorState$','setShapeProps','_entityInit$','CommandType','Injector','_onCursorUpdate','_config','Inject','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','UniverCollaborationClientUIPlugin','_messageService','7JQahXS','deepClone','_handleLeaveEvent','YUUMI_RATE_OVER_LIMIT','YUUMI_AI_RUN_FAILED','_shapes','toString','Optional','sheetID','TEXT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','assignAColorForMemberID','_initResize','CLOSE_ROOM','#FFF','http://www.w3.org/2000/svg','IUniverInstanceService','labelPosition','on-line-icon','addHandlerCallback','registerDependencies','_handleHover','MoveRangeCommandId','SHEET_VIEWPORT_KEY','show','LOCAL_CACHE_INTERVAL_KEY','DesktopCollaborationStatusDisplayController','attrs','imageSourceType','_onCursorDelete','yellow.400','children','getOwnPropertyDescriptor','M0\x200H16V16H0z','ICommandService','filter','redoState','isTransformMutationFailure','getSkeleton','OTHER_CLIENTS_EDITING','fillRule','override','generateRandomId','getRangePointData','substring','InsertRangeMoveRightCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','5007800gGmndA','endColumn','collabStatus.fetchMiss','_sheetSkeletonManagerService','column','ISocketService','engine','_docTransformSelectionsService','error','delete','handleInsertCol','_handleHeartbeatEvent','exhaustSavingTask','xlink:href','includes','onCommandExecuted','status$','then','green.600','ONLINE','displayName','UniverInstanceType','_roomMembers$','fromEvent','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','ITransformService','YUUMI_SUBSCRIPTION_NOT_FOUND','combineLatest','_registerDependencies','SetTextSelectionsOperation','find','defineProperty','save','_setupBeforeClosingHandler','subscribe','getFocusedUnit','name','session.collaboration-timeout','setStateCache','UNRECOGNIZED','origin','focused$','MOBILE_HAS_BEEN_BOUND','_textBubble','APPLY_NON_SEQUENTIAL_REVISION','clearTimeout','onLocalMutation','url(#$1','idSuffix','_onRefRangeChange','some','clipPath','size','SessionStatus','cursorInfo','unitID','FromArray','font','setInterval','roomMembers$','_cursor','DocCollaborationEntity','_transformHistoryAndStateStack','has','currentSkeleton$','_transformPreviousActiveRange','ISnapshotServerService','round','1548030yTVLmH','getRenderById','ThemeService','getStateCache','activeSheet$','APPLY_REVISION_CONFILICT','CollaborationStatus','_localCacheService','_memberService','_scheduleHeartbeat','transform','UNAUTHENTICATED','use','removeParam','on-line-icon_clip0_910_349','text','CollaborationDataLoaderController','IImageIoService','roomMembers','toStringTag','LICENSE_EXPORT_SIZE_EXCEEDED','isActive','INVITE_CODE_REQUIRED','takeUntil','body','COMPLETION_FINISHED','_handleJoinEvent','DEFAULT_WS_SESSION_TICKET_URL','merge','useObservable','connectInjector','_document','top','mergeOverrideWithDependencies','unitId','_status$','collabStatus.offline','resize','_transformUndoRedoStack','RECT','getVpScrollXYInfoByPosToVp','getDocRanges','random','1315352TQxiis','WECHAT_HAS_BEEN_BOUND','session.connection-failed','RegularPolygon','values','_drawRectRange','_colorAssignService','lineTo','setTimeout','apply','UNDEFINED','_setupSubUnitSync','serializeRangeWithSheet','CollaborationUIEventId','onPointerEnter$','restore','DocIMEInputManagerService','OFFLINE','RemoveColCommandId','_cursorInfo$','_ensureSubject','_docSkeletonManagerService','_httpService','UPDATE_CURSOR','unit','getValue','mapTo','USER_NOT_INVITED_CODE','YUUMI_UNABLE_LOAD_URL','_docTransformIMECacheService','getCurrent','unshift','_colorIndex','_instanceService','EffectRefRangId','event$','RevisionService','_initEntityListener','CollaborationEvent','MOBILE_VERIFY_CODE_MISMATCH','getSheetBySheetId','InsertColCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateSubUnitFromURLParams','mask','_initStatusComponent','getOffsetConfig','HTTPService','transformByState','trim','_color','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','_collaborationUIEventService','_transformService','syncEditingCollabCursor','_getSaveTimeout','IConfigService','RemoveRowCommandId','currentColor','getUnhiddenWorksheets','length','parse','_entities','Tooltip','saveOfflineData','onPointerMove$','UniverCollaborationClientPlugin','USERS_LEAVE','Rectangle','APPLY_REJECT'];_0xd3b9=function(){return _0x380b9f;};return _0xd3b9();}class Ce extends a[_0xb1f837(0x292)]{constructor(){const _0x521f71=_0xb1f837;super(...arguments),h(this,_0x521f71(0x16e),new d[(_0x521f71(0xb0))](null)),h(this,_0x521f71(0x2ba),this[_0x521f71(0x16e)]['asObservable']());}[_0xb1f837(0x251)](_0x243aeb){const _0x4d6be8=_0xb1f837,{unitID:_0x563cee,memberID:_0x477e3e,textRanges:_0x18a888}=_0x243aeb,_0x522687=Pe(_0x18a888);if(_0x522687==='')return;const _0x191600={'unitID':_0x563cee,'memberID':_0x477e3e,'selection':_0x522687};this[_0x4d6be8(0x16e)][_0x4d6be8(0xdf)](_0x191600);}}var Ze=Object[_0xb1f837(0x19a)],Qe=(_0xf63b76,_0x18aba5,_0x52ff09,_0x43def2)=>{const _0x5ae4aa=_0xb1f837;for(var _0x104232=_0x43def2>0x1?void 0x0:_0x43def2?Ze(_0x18aba5,_0x52ff09):_0x18aba5,_0x55bab1=_0xf63b76[_0x5ae4aa(0x257)]-0x1,_0x10c8bf;_0x55bab1>=0x0;_0x55bab1--)(_0x10c8bf=_0xf63b76[_0x55bab1])&&(_0x104232=_0x10c8bf(_0x104232)||_0x104232);return _0x104232;},L=(_0xe48de9,_0x44fd87)=>(_0x35286d,_0x2cfdcd)=>_0x44fd87(_0x35286d,_0x2cfdcd,_0xe48de9);const et=0x12c,tt=0x64;let Ie=class extends a[_0xb1f837(0x292)]{constructor(_0x17cab1,_0x1dcd59,_0x1a496a,_0x102e3c,_0x1a1a68,_0x55141f,_0x1e8edc,_0x658578,_0x4c59eb){const _0x5d6973=_0xb1f837;super(),h(this,_0x5d6973(0xe9),!0x1),h(this,_0x5d6973(0x26a),!0x1),h(this,_0x5d6973(0x22d),new d['BehaviorSubject'](new Map())),h(this,_0x5d6973(0x7e),this['_cursorInfo$'][_0x5d6973(0xe0)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x5d6973(0x1e6),this[_0x5d6973(0x1bf)]['pipe'](d['debounceTime'](et))),h(this,_0x5d6973(0xb5),a[_0x5d6973(0xca)](_0x292cb6=>{const _0x522298=_0x5d6973,_0xeb8ef1={'eventID':m[_0x522298(0x240)][_0x522298(0x231)],'data':{'unitID':this[_0x522298(0x1e2)],'memberID':this['_session'][_0x522298(0x108)](),'selection':Pe(_0x292cb6)}};this['_session'][_0x522298(0x6d)](_0xeb8ef1,this['unitID']);},tt)),(this[_0x5d6973(0x1e2)]=_0x17cab1,this[_0x5d6973(0x7b)]=_0x1dcd59,this[_0x5d6973(0x144)]=_0x1a496a,this[_0x5d6973(0x220)]=_0x102e3c,this[_0x5d6973(0x1f7)]=_0x1a1a68,this[_0x5d6973(0x266)]=_0x55141f,this[_0x5d6973(0x250)]=_0x1e8edc,this[_0x5d6973(0x76)]=_0x658578,this[_0x5d6973(0x275)]=_0x4c59eb);}get['cursorInfo'](){const _0x489bf5=_0xb1f837;return this[_0x489bf5(0x22d)][_0x489bf5(0x233)]();}get[_0xb1f837(0x201)](){const _0x243130=_0xb1f837;return this['_roomMembers$'][_0x243130(0x233)]();}[_0xb1f837(0x8c)](){const _0x15d682=_0xb1f837;super[_0x15d682(0x8c)](),this[_0x15d682(0x22d)]['next'](new Map()),this[_0x15d682(0x22d)][_0x15d682(0x15b)](),this['_roomMembers$'][_0x15d682(0xdf)]([]),this[_0x15d682(0x1bf)]['complete']();}[_0xb1f837(0x162)](){const _0x20f7b5=_0xb1f837;this['_init']||(this[_0x20f7b5(0x26a)]=!0x0,this[_0x20f7b5(0x7b)][_0x20f7b5(0x177)][_0x20f7b5(0x28f)](d[_0x20f7b5(0x206)](this[_0x20f7b5(0x279)]))[_0x20f7b5(0x1cd)](_0x14c572=>{const _0x59228e=_0x20f7b5;_0x14c572===u[_0x59228e(0x1e0)][_0x59228e(0x1bc)]?this[_0x59228e(0x9d)]():this[_0x59228e(0x9e)]();}),this[_0x20f7b5(0x7b)][_0x20f7b5(0x23d)][_0x20f7b5(0x28f)](d['takeUntil'](this[_0x20f7b5(0x279)]))[_0x20f7b5(0x1cd)](_0x3891c0=>{const _0x3b2981=_0x20f7b5,_0x24e78f=_0x3891c0[_0x3b2981(0x168)];_0x24e78f===m['CollaborationEvent'][_0x3b2981(0x231)]&&this[_0x3b2981(0x173)](_0x3891c0),_0x24e78f===m[_0x3b2981(0x240)][_0x3b2981(0x25e)]&&this[_0x3b2981(0x197)](_0x3891c0);}),this[_0x20f7b5(0xd6)](this[_0x20f7b5(0x275)][_0x20f7b5(0x1b8)](_0x16883a=>{const _0x4f22fa=_0x20f7b5,_0x1508fc=_0x16883a['params'];_0x1508fc!=null&&this['_online']&&_0x16883a['id']===Y[_0x4f22fa(0x1c8)]['id']&&_0x1508fc['unitId']===this['unitID']&&_0x1508fc[_0x4f22fa(0xd2)]===!0x1&&_0x1508fc[_0x4f22fa(0x126)]['length']>0x0&&this[_0x4f22fa(0xb5)](_0x1508fc[_0x4f22fa(0x126)]);})),this[_0x20f7b5(0x266)][_0x20f7b5(0x2ba)]['pipe'](d[_0x20f7b5(0x206)](this['dispose$']))[_0x20f7b5(0x1cd)](_0x36822b=>{const _0x509463=_0x20f7b5;if((_0x36822b==null?void 0x0:_0x36822b[_0x509463(0x1e2)])!==this[_0x509463(0x1e2)])return;const _0x38e683={'eventID':m[_0x509463(0x240)][_0x509463(0x231)],'data':_0x36822b};this[_0x509463(0x173)](_0x38e683);}),this[_0x20f7b5(0xd6)](this[_0x20f7b5(0x275)][_0x20f7b5(0x1b8)](_0x49db34=>{const _0x2ac159=_0x20f7b5;if(_0x49db34[_0x2ac159(0xff)]==null)return;const _0x141048=_0x49db34[_0x2ac159(0xff)];if(_0x49db34['id']!==Y['RichTextEditingMutation']['id']||_0x141048[_0x2ac159(0x211)]!==this['unitID'])return;const _0x1325ce={'id':'doc.mutation.rich-text-editing','params':_0x141048},_0x26d83f=this[_0x2ac159(0x1e1)];for(const [_0x2f3780,_0x21a859]of _0x26d83f){const _0x319800={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2ac159(0x1e2)],'actions':null,'textRanges':_0x21a859[_0x2ac159(0x126)]}},_0x9b6527=this[_0x2ac159(0x250)]['transformMutation'](_0x1325ce,_0x319800,!0x1);if(m[_0x2ac159(0x19f)](_0x9b6527))throw _0x9b6527[_0x2ac159(0x1b1)];_0x26d83f['set'](_0x2f3780,{..._0x21a859,'ranges':_0x9b6527['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5bf57a=_0x2ac159;this[_0x5bf57a(0x22d)]['next'](_0x26d83f);});})));}[_0xb1f837(0x173)](_0x54dc94){const _0x4faf7b=_0xb1f837;var _0x463f5f,_0x5e41ee;const {memberID:_0x5f3c5c,selection:_0x487188}=_0x54dc94['data'],_0x5348cb=Je(_0x487188),_0x5e2961=(_0x5e41ee=(_0x463f5f=this['_memberService'][_0x4faf7b(0x8e)](this[_0x4faf7b(0x1e2)],_0x5f3c5c))==null?void 0x0:_0x463f5f['name'])!=null?_0x5e41ee:'Unknown\x20user',_0x3c7269={'color':this['_colorAssignService'][_0x4faf7b(0x185)](_0x5f3c5c),'name':_0x5e2961,'ranges':_0x5348cb},_0x536858=this[_0x4faf7b(0x1e1)];_0x536858[_0x4faf7b(0x134)](_0x5f3c5c,_0x3c7269),this['_cursorInfo$'][_0x4faf7b(0xdf)](_0x536858);}[_0xb1f837(0x197)](_0xef0e49){const _0x20e753=_0xb1f837,{memberID:_0x507298}=_0xef0e49[_0x20e753(0x283)],_0x48476b=this['cursorInfo'];_0x48476b['delete'](_0x507298),this[_0x20e753(0x22d)][_0x20e753(0xdf)](_0x48476b);}['_toggleOnline'](){const _0x3dcc30=_0xb1f837;var _0x1871ed;if(this[_0x3dcc30(0xe9)]=!0x0,((_0x1871ed=this[_0x3dcc30(0x76)][_0x3dcc30(0x1ce)]())==null?void 0x0:_0x1871ed[_0x3dcc30(0xd4)]())!==this[_0x3dcc30(0x1e2)])return;const _0x2ac9e2=this['_injector'][_0x3dcc30(0xd1)](Y['DocSelectionManagerService'])[_0x3dcc30(0x218)]();Array[_0x3dcc30(0x9b)](_0x2ac9e2)&&_0x2ac9e2[_0x3dcc30(0x257)]>0x0&&this[_0x3dcc30(0xb5)](_0x2ac9e2);}[_0xb1f837(0x9e)](){const _0x20131d=_0xb1f837;this[_0x20131d(0xe9)]=!0x1;}};Ie=Qe([L(0x2,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),L(0x3,a[_0xb1f837(0x175)](me)),L(0x4,a['Inject'](u['MemberService'])),L(0x5,a[_0xb1f837(0x175)](Ce)),L(0x6,m[_0xb1f837(0x1c4)]),L(0x7,a[_0xb1f837(0x18a)]),L(0x8,a[_0xb1f837(0x19c)])],Ie);var st=Object[_0xb1f837(0x19a)],it=(_0x3c4f9a,_0x10e4f5,_0x5daf7c,_0x27763f)=>{for(var _0x5054f8=_0x27763f>0x1?void 0x0:_0x27763f?st(_0x10e4f5,_0x5daf7c):_0x10e4f5,_0x57f4de=_0x3c4f9a['length']-0x1,_0x2db314;_0x57f4de>=0x0;_0x57f4de--)(_0x2db314=_0x3c4f9a[_0x57f4de])&&(_0x5054f8=_0x2db314(_0x5054f8)||_0x5054f8);return _0x5054f8;},A=(_0x34e1fa,_0x268fb7)=>(_0x36791d,_0x3962f8)=>_0x268fb7(_0x36791d,_0x3962f8,_0x34e1fa);const nt=0x12c,rt=0x64,ot=()=>{let _0xc4f643=[],_0x4ff7eb=!0x1;return _0x5a0a39=>{_0xc4f643['push'](_0x5a0a39),_0x4ff7eb||(_0x4ff7eb=!0x0,setTimeout(()=>{const _0x26dae4=_0x48f4;_0xc4f643[_0x26dae4(0x13f)](_0x26e1cc=>_0x26e1cc()),_0xc4f643=[],_0x4ff7eb=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x4d2dad,_0x57bcec,_0x393856,_0x4761f9,_0x2ef8bd,_0x18fca2,_0x2177da,_0x5b3c4f){const _0x5344c4=_0xb1f837;super(),h(this,'_online',!0x1),h(this,_0x5344c4(0x26a),!0x1),h(this,_0x5344c4(0x22d),new d['BehaviorSubject'](new Map())),h(this,_0x5344c4(0x7e),this[_0x5344c4(0x22d)][_0x5344c4(0xe0)]()),h(this,'_roomMembers$',new d[(_0x5344c4(0xb0))]([])),h(this,_0x5344c4(0x1e6),this[_0x5344c4(0x1bf)]['pipe'](d[_0x5344c4(0x2cb)](nt))),h(this,_0x5344c4(0xb5),a[_0x5344c4(0xca)]((_0x4ef0fa,_0x310ac4)=>{const _0x5e9cdb=_0x5344c4,_0x1ce614={'eventID':m['CollaborationEvent'][_0x5e9cdb(0x231)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':be[_0x5e9cdb(0x226)](_0x4ef0fa,_0x310ac4[_0x5e9cdb(0xef)])}};this['_session'][_0x5e9cdb(0x6d)](_0x1ce614,this[_0x5e9cdb(0x1e2)]);},rt)),(this['unitID']=_0x4d2dad,this[_0x5344c4(0x7b)]=_0x57bcec,this[_0x5344c4(0x144)]=_0x393856,this[_0x5344c4(0x220)]=_0x4761f9,this[_0x5344c4(0x1f7)]=_0x2ef8bd,this[_0x5344c4(0x76)]=_0x18fca2,this[_0x5344c4(0x275)]=_0x2177da,this['_refRangeService']=_0x5b3c4f);}get['cursorInfo'](){const _0x5b4481=_0xb1f837;return this['_cursorInfo$'][_0x5b4481(0x233)]();}get[_0xb1f837(0x201)](){const _0x31cf12=_0xb1f837;return this[_0x31cf12(0x1bf)][_0x31cf12(0x233)]();}['dispose'](){const _0x5defd4=_0xb1f837;super[_0x5defd4(0x8c)](),this[_0x5defd4(0x22d)][_0x5defd4(0xdf)](new Map()),this['_cursorInfo$'][_0x5defd4(0x15b)](),this[_0x5defd4(0x1bf)][_0x5defd4(0xdf)]([]),this['_roomMembers$'][_0x5defd4(0x15b)]();}[_0xb1f837(0x162)](){const _0x2d42c3=_0xb1f837;this[_0x2d42c3(0x26a)]||(this['_init']=!0x0,this[_0x2d42c3(0x7b)][_0x2d42c3(0x177)][_0x2d42c3(0x28f)](d[_0x2d42c3(0x206)](this[_0x2d42c3(0x279)]))[_0x2d42c3(0x1cd)](_0x54368f=>{const _0x32684f=_0x2d42c3;_0x54368f===u[_0x32684f(0x1e0)][_0x32684f(0x1bc)]?this[_0x32684f(0x9d)]():this[_0x32684f(0x9e)]();}),this['_session']['event$']['pipe'](d[_0x2d42c3(0x206)](this[_0x2d42c3(0x279)]))[_0x2d42c3(0x1cd)](_0x46b768=>{const _0x47e5ae=_0x2d42c3,_0x3f1cea=_0x46b768[_0x47e5ae(0x168)];_0x3f1cea===m['CollaborationEvent'][_0x47e5ae(0x231)]&&this[_0x47e5ae(0x173)](_0x46b768),_0x3f1cea===m[_0x47e5ae(0x240)][_0x47e5ae(0x25e)]&&this[_0x47e5ae(0x197)](_0x46b768);}),this[_0x2d42c3(0x1dc)](),this[_0x2d42c3(0xd6)](this[_0x2d42c3(0x275)]['onCommandExecuted'](_0x45dcf8=>{const _0x45ca45=_0x2d42c3;if(this[_0x45ca45(0xe9)]&&_0x45dcf8['id']===g[_0x45ca45(0x2be)]['id']&&_0x45dcf8[_0x45ca45(0xff)][_0x45ca45(0x211)]===this[_0x45ca45(0x1e2)]){const _0x336542=_0x45dcf8['params'];this[_0x45ca45(0xb5)](_0x336542[_0x45ca45(0x151)],_0x336542[_0x45ca45(0x2a4)][0x0]);}})));}[_0xb1f837(0x173)](_0x223fac){const _0x2aba24=_0xb1f837;var _0x11b069,_0x12257c;const {memberID:_0x3ac1e9,selection:_0x4fae72}=_0x223fac[_0x2aba24(0x283)],{sheetName:_0x4ed1bb,range:_0x2ea872}=be['deserializeRangeWithSheet'](_0x4fae72),_0x219178={'name':(_0x12257c=(_0x11b069=this['_memberService'][_0x2aba24(0x8e)](this['unitID'],_0x3ac1e9))==null?void 0x0:_0x11b069['name'])!=null?_0x12257c:_0x2aba24(0x26e),'range':this[_0x2aba24(0x10d)](_0x4ed1bb,_0x2ea872),'sheetID':_0x4ed1bb,'color':this[_0x2aba24(0x220)][_0x2aba24(0x185)](_0x3ac1e9),'selection':_0x4fae72},_0x1294b8=this[_0x2aba24(0x1e1)];_0x1294b8['set'](_0x3ac1e9,_0x219178),this['_cursorInfo$'][_0x2aba24(0xdf)](_0x1294b8);}[_0xb1f837(0x197)](_0x4deaf5){const _0x55cc80=_0xb1f837,{memberID:_0x19fae9}=_0x4deaf5[_0x55cc80(0x283)],_0x3a287f=this[_0x55cc80(0x1e1)];_0x3a287f[_0x55cc80(0x1b2)](_0x19fae9),this['_cursorInfo$'][_0x55cc80(0xdf)](_0x3a287f);}[_0xb1f837(0x10d)](_0x3c5f21,_0x126858){const _0x18ac6d=_0xb1f837;var _0x496bbd,_0x4b9b29;const _0x1f9d29=(_0x4b9b29=(_0x496bbd=this['_univerInstanceService'][_0x18ac6d(0x2da)](this[_0x18ac6d(0x1e2)]))==null?void 0x0:_0x496bbd['getSheetBySheetId'](_0x3c5f21))==null?void 0x0:_0x4b9b29[_0x18ac6d(0xaf)]();return(_0x1f9d29==null?void 0x0:_0x1f9d29[_0x18ac6d(0x1c9)](_0xbc3001=>a[_0x18ac6d(0x25f)][_0x18ac6d(0x2c6)](_0xbc3001,_0x126858)))||_0x126858;}[_0xb1f837(0x1dc)](){const _0x355586=_0xb1f837,_0x2b226c=new a[(_0x355586(0x123))](),_0x5f4af4=ot(),_0xeb0188=()=>{const _0x5b90ff=_0x355586;_0x2b226c[_0x5b90ff(0x8c)]();const _0x19b73e=(_0x2026bf,_0x514ced,_0x3ccf9a,_0x436a56)=>{const _0x19a7ff=_0x5b90ff;let _0x1acc34=[];switch(_0x2026bf['id']){case g[_0x19a7ff(0x23c)][_0x19a7ff(0xf4)]:{_0x1acc34=g[_0x19a7ff(0x137)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x27b)]:{_0x1acc34=g[_0x19a7ff(0xb9)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x243)]:{_0x1acc34=g[_0x19a7ff(0x1b3)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)]['InsertRangeMoveDownCommandId']:{_0x1acc34=g[_0x19a7ff(0x1c1)](_0x2026bf,_0x436a56);break;}case g['EffectRefRangId'][_0x19a7ff(0x1a7)]:{_0x1acc34=g[_0x19a7ff(0x26d)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x269)]:{_0x1acc34=g['handleInsertRow'](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x190)]:{_0x1acc34=g['handleMoveRange'](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x22c)]:{_0x1acc34=g[_0x19a7ff(0xc8)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x254)]:{_0x1acc34=g[_0x19a7ff(0x2e9)](_0x2026bf,_0x436a56);break;}}const _0x164092=g['runRefRangeMutations'](_0x1acc34,_0x436a56),_0x160f96=this[_0x19a7ff(0x1e1)][_0x19a7ff(0xd1)](_0x514ced);if(_0x160f96&&_0x164092){const _0x199022={..._0x160f96,'range':_0x164092};this['cursorInfo']['set'](_0x514ced,_0x199022),_0x5f4af4(()=>{const _0x3b3eb9=_0x19a7ff,_0x39413e=this[_0x3b3eb9(0x296)]['registerRefRange'](_0x164092,_0x164d7b=>(_0x39413e[_0x3b3eb9(0x8c)](),_0x19b73e(_0x164d7b,_0x514ced,_0x3ccf9a,_0x164092)));_0x2b226c['add'](_0x39413e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5b90ff(0x13f)]((_0x418eea,_0x1028ab)=>{const _0x247172=_0x5b90ff,{range:_0x3d9640,sheetID:_0x579ed7}=_0x418eea,_0x1fe987=this['_refRangeService'][_0x247172(0x16a)](_0x3d9640,_0x1d2caf=>(_0x1fe987['dispose'](),_0x19b73e(_0x1d2caf,_0x1028ab,_0x579ed7,_0x3d9640)));_0x2b226c[_0x247172(0x291)](_0x1fe987);});};this[_0x355586(0xd6)](a[_0x355586(0x2aa)](this['_cursorInfo$'][_0x355586(0x1cd)](()=>{_0xeb0188();})));}[_0xb1f837(0x9d)](){const _0xac19c2=_0xb1f837;var _0x11ca21,_0x56ba36;if(this['_online']=!0x0,((_0x11ca21=this['_univerInstanceService'][_0xac19c2(0x1ce)]())==null?void 0x0:_0x11ca21[_0xac19c2(0xd4)]())!==this[_0xac19c2(0x1e2)])return;const _0x12bcae=(_0x56ba36=this[_0xac19c2(0x144)][_0xac19c2(0xd1)](g['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x56ba36[0x0],_0x4132c8=this[_0xac19c2(0x76)]['getCurrentUnitForType'](a[_0xac19c2(0x1be)]['UNIVER_SHEET'])['getActiveSheet']();_0x12bcae&&_0x4132c8&&this[_0xac19c2(0xb5)](_0x4132c8[_0xac19c2(0x14b)](),_0x12bcae);}[_0xb1f837(0x9e)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),A(0x3,a[_0xb1f837(0x175)](me)),A(0x4,a['Inject'](u[_0xb1f837(0x280)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0xb1f837(0x19c)]),A(0x7,a[_0xb1f837(0x175)](g['RefRangeService']))],Se);var at=Object[_0xb1f837(0x19a)],ct=(_0x2207bc,_0x567e4c,_0x4b30f5,_0x54eb05)=>{const _0x21ce95=_0xb1f837;for(var _0xb848f7=_0x54eb05>0x1?void 0x0:_0x54eb05?at(_0x567e4c,_0x4b30f5):_0x567e4c,_0x19e957=_0x2207bc[_0x21ce95(0x257)]-0x1,_0x363d58;_0x19e957>=0x0;_0x19e957--)(_0x363d58=_0x2207bc[_0x19e957])&&(_0xb848f7=_0x363d58(_0xb848f7)||_0xb848f7);return _0xb848f7;},ie=(_0x41b9b8,_0x2ddcce)=>(_0x65ae80,_0xa7ead3)=>_0x2ddcce(_0x65ae80,_0xa7ead3,_0x41b9b8);let x=class extends a[_0xb1f837(0x292)]{constructor(_0x1687b7,_0x4f9d80,_0x4f9537){const _0x2f85bb=_0xb1f837;super(),h(this,_0x2f85bb(0x259),new Map()),h(this,_0x2f85bb(0x170),new d[(_0x2f85bb(0x2de))]()),(this[_0x2f85bb(0x76)]=_0x1687b7,this['_injector']=_0x4f9d80,this[_0x2f85bb(0x270)]=_0x4f9537,this[_0x2f85bb(0x26a)]());}[_0xb1f837(0x8c)](){const _0x395974=_0xb1f837;super[_0x395974(0x8c)](),this[_0x395974(0x170)][_0x395974(0x15b)](),this['_entities'][_0x395974(0x13f)](_0x53a5f9=>_0x53a5f9['dispose']());}[_0xb1f837(0x2c3)](_0x2091bb){const _0x242b2f=_0xb1f837;return this[_0x242b2f(0x259)]['has'](_0x2091bb)?this['_entities'][_0x242b2f(0xd1)](_0x2091bb)[_0x242b2f(0x7e)]:this[_0x242b2f(0x170)][_0x242b2f(0x28f)](d[_0x242b2f(0x19d)](_0x48c560=>_0x48c560[_0x242b2f(0x1e2)]===_0x2091bb),d['switchMap'](_0x1ec27b=>_0x1ec27b['cursorInfo$']));}['_init'](){const _0x35b233=_0xb1f837;this[_0x35b233(0x76)][_0x35b233(0x263)](a[_0x35b233(0x1be)][_0x35b233(0x11f)])[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))['subscribe'](async _0xae911c=>{const _0x2c2966=_0x35b233,_0x3236f2=_0xae911c[_0x2c2966(0xd4)](),_0x10c3ad=await this[_0x2c2966(0x298)](_0x3236f2);this[_0x2c2966(0x170)][_0x2c2966(0xdf)](_0x10c3ad),this['_entities'][_0x2c2966(0x134)](_0x3236f2,_0x10c3ad);}),this[_0x35b233(0x76)][_0x35b233(0x263)](a[_0x35b233(0x1be)][_0x35b233(0x29a)])[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))[_0x35b233(0x28f)](d[_0x35b233(0x19d)](_0x43fcf6=>!_0x43fcf6[_0x35b233(0xd4)]()[_0x35b233(0x8d)]('__')))['subscribe'](async _0x2fc17e=>{const _0x5cf01c=_0x35b233,_0x3fef6e=_0x2fc17e[_0x5cf01c(0xd4)](),_0x4b8bd0=await this['_startDocCollabCursor'](_0x3fef6e);this['_entityInit$'][_0x5cf01c(0xdf)](_0x4b8bd0),this[_0x5cf01c(0x259)][_0x5cf01c(0x134)](_0x3fef6e,_0x4b8bd0);}),d[_0x35b233(0x20b)](this[_0x35b233(0x76)][_0x35b233(0xa2)](a[_0x35b233(0x1be)][_0x35b233(0x29a)]),this[_0x35b233(0x76)][_0x35b233(0xa2)](a['UniverInstanceType'][_0x35b233(0x11f)]))[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))['subscribe'](_0x515bc5=>{const _0x45187f=_0x35b233,_0x378870=_0x515bc5[_0x45187f(0xd4)](),_0x525a0a=this[_0x45187f(0x259)]['get'](_0x378870);_0x525a0a&&(_0x525a0a[_0x45187f(0x8c)](),this[_0x45187f(0x259)][_0x45187f(0x1b2)](_0x378870));});}async[_0xb1f837(0x298)](_0x1ea965){const _0x2ac999=_0xb1f837,_0x196579=await this[_0x2ac999(0x270)]['requireSession'](_0x1ea965),_0x27aee9=this[_0x2ac999(0x144)]['createInstance'](Se,_0x1ea965,_0x196579);return _0x27aee9[_0x2ac999(0x162)](),_0x27aee9;}async[_0xb1f837(0x277)](_0x752475){const _0x4f1202=_0xb1f837,_0x57dbdb=await this['_collabSessionService'][_0x4f1202(0xfa)](_0x752475),_0x1cbd1b=this[_0x4f1202(0x144)][_0x4f1202(0x271)](Ie,_0x752475,_0x57dbdb);return _0x1cbd1b[_0x4f1202(0x162)](),_0x1cbd1b;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),ie(0x2,a[_0xb1f837(0x175)](u[_0xb1f837(0xb4)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4a82fe,_0x5c9666){const _0x38d3ed=_0xb1f837;let {radius:_0x4cdfae,width:_0x5afed0,height:_0x39d15f}=_0x5c9666;_0x4cdfae=_0x4cdfae!=null?_0x4cdfae:0x0,_0x5afed0=_0x5afed0!=null?_0x5afed0:0x1e,_0x39d15f=_0x39d15f!=null?_0x39d15f:0x1e;let _0x5f2df6=0x0,_0x18864a=0x0,_0x168b7c=0x0;_0x5f2df6=_0x18864a=_0x168b7c=Math[_0x38d3ed(0x114)](_0x4cdfae,_0x5afed0/0x2,_0x39d15f/0x2),_0x4a82fe['beginPath'](),_0x4a82fe[_0x38d3ed(0x15c)](_0x5f2df6,0x0),_0x4a82fe[_0x38d3ed(0x221)](_0x5afed0-_0x18864a,0x0),_0x4a82fe[_0x38d3ed(0x97)](_0x5afed0-_0x18864a,_0x18864a,_0x18864a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a82fe[_0x38d3ed(0x221)](_0x5afed0,_0x39d15f-_0x168b7c),_0x4a82fe['arc'](_0x5afed0-_0x168b7c,_0x39d15f-_0x168b7c,_0x168b7c,0x0,Math['PI']/0x2,!0x1),_0x4a82fe[_0x38d3ed(0x221)](0x0,_0x39d15f),_0x4a82fe['lineTo'](0x0,_0x5f2df6),_0x4a82fe['arc'](_0x5f2df6,_0x5f2df6,_0x5f2df6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a82fe['closePath'](),_0x5c9666[_0x38d3ed(0xd0)]&&(_0x4a82fe['save'](),_0x4a82fe[_0x38d3ed(0x2d8)]=_0x5c9666[_0x38d3ed(0xd0)],_0x5c9666[_0x38d3ed(0x1a2)]==='evenodd'?_0x4a82fe['fill']('evenodd'):_0x4a82fe['fill'](),_0x4a82fe[_0x38d3ed(0x229)]());}class ee extends p['Shape']{constructor(_0x5e7628,_0x467f7b){const _0x354222=_0xb1f837;super(_0x5e7628,_0x467f7b),h(this,_0x354222(0x2df)),h(this,_0x354222(0x1fe)),(this['color']=_0x467f7b==null?void 0x0:_0x467f7b['color'],this[_0x354222(0x1fe)]=_0x467f7b==null?void 0x0:_0x467f7b['text']);}static[_0xb1f837(0x28e)](_0x35cc06,_0x133650){const _0x139330=_0xb1f837,{text:_0x4a8854,color:_0x8d07d9}=_0x133650;_0x35cc06[_0x139330(0x1cb)](),_0x35cc06[_0x139330(0x1e4)]=_0x139330(0xfb);const _0x2794f6=_0x35cc06['measureText'](_0x4a8854)[_0x139330(0x8f)],_0x24cf9d=Math[_0x139330(0x114)](_0x2794f6+0x2*ne,Re);_t(_0x35cc06,{'height':K,'radius':0x4,'width':_0x24cf9d,'fill':_0x8d07d9}),_0x35cc06[_0x139330(0x2d8)]=_0x139330(0x188);const _0x3dfcee=ne,_0xcac2c8=K-lt,_0xbe8d53=Re-0x2*ne;if(_0x2794f6>_0xbe8d53){let _0x1a39f0='',_0x51637f=0x0;for(const _0x54f7ee of _0x4a8854){const _0x29ea4c=_0x35cc06['measureText'](_0x54f7ee)['width'];if(_0x51637f+_0x29ea4c<=_0xbe8d53-_0x35cc06[_0x139330(0x2b5)](_0x139330(0x164))['width'])_0x1a39f0+=_0x54f7ee,_0x51637f+=_0x29ea4c;else{_0x1a39f0+=_0x139330(0x164);break;}}_0x35cc06[_0x139330(0xcc)](_0x1a39f0,_0x3dfcee,_0xcac2c8);}else _0x35cc06['fillText'](_0x4a8854,_0x3dfcee,_0xcac2c8);_0x35cc06[_0x139330(0x229)]();}[_0xb1f837(0x2a5)](_0x4250e3){const _0x1e1ff4=_0xb1f837;ee[_0x1e1ff4(0x28e)](_0x4250e3,this);}}const re='collab-text-anchor-',ht=_0xb1f837(0x90),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0xb1f837(0x2eb);class De{constructor(_0x53925c,_0x5abe4a,_0x93e40f,_0x439b4f){const _0x56c2b0=_0xb1f837;h(this,_0x56c2b0(0x17f),[]),h(this,_0x56c2b0(0x29d),null),h(this,_0x56c2b0(0x1d6),null),h(this,'_anchorDot',null),h(this,_0x56c2b0(0x9c),null),h(this,_0x56c2b0(0x160),null),(this[_0x56c2b0(0x1e7)]=_0x53925c,this['_scene']=_0x5abe4a,this[_0x56c2b0(0x274)]=_0x93e40f,this[_0x56c2b0(0x20e)]=_0x439b4f,this[_0x56c2b0(0x81)]());}set['_hover'](_0xaa9f74){const _0xad53f2=_0xb1f837;_0xaa9f74?(this[_0xad53f2(0x8b)]&&this[_0xad53f2(0x8b)]['hide'](),this[_0xad53f2(0x1d6)]&&this[_0xad53f2(0x1d6)][_0xad53f2(0x192)]()):(this[_0xad53f2(0x8b)]&&this[_0xad53f2(0x8b)][_0xad53f2(0x192)](),this[_0xad53f2(0x1d6)]&&this[_0xad53f2(0x1d6)][_0xad53f2(0x93)]());}[_0xb1f837(0x8c)](){const _0x235f30=_0xb1f837;for(const _0x266aef of this['_shapes'])_0x266aef['dispose']();this['_textBubble']&&this[_0x235f30(0x1d6)][_0x235f30(0x8c)](),this[_0x235f30(0x8b)]&&this['_anchorDot'][_0x235f30(0x8c)](),this[_0x235f30(0x29d)]&&this[_0x235f30(0x29d)][_0x235f30(0x8c)](),this[_0x235f30(0x160)]&&this['_eventUnsubscribe']();}[_0xb1f837(0x81)](){const _0x2ee2b3=_0xb1f837;var _0x11261b;const {_docSkeleton:_0x150245,_document:_0xe11cf0}=this,{color:_0x548914,name:_0x4c5b08,ranges:_0x2ab1e8}=this[_0x2ee2b3(0x1e7)],_0x43948e=_0xe11cf0[_0x2ee2b3(0x248)](),{docsLeft:_0x2cbed9,docsTop:_0x395182}=_0x43948e,_0x582ab9=new E['NodePositionConvertToCursor'](_0x43948e,_0x150245);for(const {startOffset:_0x28d00a,endOffset:_0x21d18c,rangeType:_0x58bde7,segmentId:_0x5b5998,segmentPage:_0x4a98c3,collapsed:_0x262203,isActive:_0x41e34f}of _0x2ab1e8){const _0x10bc69=_0x150245[_0x2ee2b3(0x290)](_0x28d00a,!0x0,_0x5b5998,_0x4a98c3);let _0x2b2efe=_0x150245[_0x2ee2b3(0x290)](_0x21d18c,!0x0,_0x5b5998,_0x4a98c3);if(_0x2b2efe==null&&(_0x2b2efe=_0x150245[_0x2ee2b3(0x290)](_0x21d18c-0x1,!0x1,_0x5b5998,_0x4a98c3)),_0x41e34f){const {contentBoxPointGroup:_0x407eac}=_0x582ab9[_0x2ee2b3(0x1a5)](_0x2b2efe,_0x2b2efe);if(_0x407eac[_0x2ee2b3(0x257)]===0x0)continue;this[_0x2ee2b3(0x2ae)](_0x548914,_0x407eac,_0x2cbed9,_0x395182,_0x4c5b08),this['_eventUnsubscribe']=this[_0x2ee2b3(0x18f)]();}if(_0x10bc69&&_0x2b2efe){if(_0x58bde7===a['DOC_RANGE_TYPE'][_0x2ee2b3(0x216)]){const _0x43aa78=new E[(_0x2ee2b3(0x2d6))](_0x43948e,_0x150245),{pointGroup:_0x2525b6}=(_0x11261b=_0x43aa78[_0x2ee2b3(0x1a5)](_0x10bc69,_0x2b2efe))!=null?_0x11261b:{};if(_0x2525b6==null||_0x2525b6[_0x2ee2b3(0x257)]===0x0)continue;this[_0x2ee2b3(0x21f)](_0x548914,_0x2525b6,_0x2cbed9,_0x395182);}else{if(!_0x262203){const {borderBoxPointGroup:_0xb00c12}=_0x582ab9[_0x2ee2b3(0x1a5)](_0x10bc69,_0x2b2efe);if(_0xb00c12['length']===0x0)continue;this[_0x2ee2b3(0x28b)](_0x548914,_0xb00c12,_0x2cbed9,_0x395182);}}}}}[_0xb1f837(0x2ae)](_0x5a9690,_0x441679,_0x45f750,_0x2bad5e,_0x40bc50){const _0x562e2a=_0xb1f837,_0x275e61=this['_getAnchorBounding'](_0x441679),{left:_0x4d6fb2,top:_0x4bbc1f,height:_0x4ac571}=_0x275e61,_0x31ba20=this[_0x562e2a(0xe5)](),_0xf647c0=It/_0x31ba20,_0x5666cd=new p['Rect'](re+a['generateRandomId'](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e,'height':_0x4ac571,'width':dt,'fill':_0x5a9690||p[_0x562e2a(0x2cd)](a[_0x562e2a(0x88)]['black'],0x0),'strokeWidth':_0xf647c0,'stroke':St,'evented':!0x0});this[_0x562e2a(0x29d)]=_0x5666cd,this['_scene'][_0x562e2a(0x15f)](_0x5666cd,E['TEXT_RANGE_LAYER_INDEX']);const _0x51d4a6=new p[(_0x562e2a(0xb2))](re+a['generateRandomId'](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e-oe/0x2,'height':oe,'width':oe,'fill':_0x5a9690||p['getColor'](a[_0x562e2a(0x88)][_0x562e2a(0x158)],0x0),'strokeWidth':0x0,'stroke':_0x5a9690||p['getColor'](a[_0x562e2a(0x88)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x51d4a6,this[_0x562e2a(0x2e8)][_0x562e2a(0x15f)](_0x51d4a6,E['TEXT_RANGE_LAYER_INDEX']);const _0xce453=new ee(re+a[_0x562e2a(0x1a4)](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e-K,'text':_0x40bc50,'color':_0x5a9690});this[_0x562e2a(0x1d6)]=_0xce453,this['_scene']['addObject'](_0xce453,E[_0x562e2a(0x99)]),this[_0x562e2a(0x95)]=!0x1;}['_handleHover'](){const _0xa8060c=_0xb1f837,_0x516c64=this[_0xa8060c(0x29d)][_0xa8060c(0x228)]['subscribeEvent'](()=>{const _0x3be0f4=_0xa8060c;this[_0x3be0f4(0x95)]=!0x0;}),_0x12fe44=this[_0xa8060c(0x29d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x5b4635=_0xa8060c;this[_0x5b4635(0x9c)]&&clearTimeout(this[_0x5b4635(0x9c)]),this[_0x5b4635(0x9c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x35971f=_0xa8060c;_0x516c64[_0x35971f(0x78)](),_0x12fe44['unsubscribe']();};}[_0xb1f837(0x28b)](_0x289c34,_0x2b90cd,_0x1ceecc,_0x24a711){const _0x306410=_0xb1f837,_0x4bf386=new a[(_0x306410(0x87))](_0x289c34)['setAlpha'](0.2)['toRgbString'](),_0x387ebb=new p[(_0x306410(0x21d))](ht+a['generateRandomId'](k),{'pointsGroup':_0x2b90cd,'fill':_0x4bf386||p[_0x306410(0x2cd)](a[_0x306410(0x88)][_0x306410(0x158)],0.2),'left':_0x1ceecc,'top':_0x24a711,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x306410(0x17f)]['push'](_0x387ebb),this[_0x306410(0x2e8)][_0x306410(0x15f)](_0x387ebb,E[_0x306410(0x99)]);}['_drawRectRange'](_0x82aa3f,_0x2cd9f1,_0x3797a7,_0x5a05d5){const _0x52760a=_0xb1f837,_0x1bba3e=new a[(_0x52760a(0x87))](_0x82aa3f)['setAlpha'](0.2)[_0x52760a(0x9f)](),_0x5afdc9=new p[(_0x52760a(0x21d))](ut+a[_0x52760a(0x1a4)](k),{'pointsGroup':_0x2cd9f1,'fill':_0x1bba3e||p[_0x52760a(0x2cd)](a['COLORS']['black'],0.2),'left':_0x3797a7,'top':_0x5a05d5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52760a(0x17f)]['push'](_0x5afdc9),this[_0x52760a(0x2e8)][_0x52760a(0x15f)](_0x5afdc9,E[_0x52760a(0x99)]);}['_getAnchorBounding'](_0x5deed1){const _0x24280f=_0x5deed1[0x0],_0x2e94b1=_0x24280f[0x0],_0x365f40=_0x24280f[0x2],{x:_0x31e692,y:_0x507bdf}=_0x2e94b1,{x:_0x55e5b7,y:_0x4d0bd8}=_0x365f40;return{'left':_0x31e692,'top':_0x507bdf,'width':_0x55e5b7-_0x31e692,'height':_0x4d0bd8-_0x507bdf};}[_0xb1f837(0xe5)](){const _0xe3360f=_0xb1f837,{scaleX:_0x3c58b7,scaleY:_0x404461}=this[_0xe3360f(0x2e8)][_0xe3360f(0x15a)]();return Math[_0xe3360f(0xba)](_0x3c58b7,_0x404461);}}var ft=Object[_0xb1f837(0x19a)],vt=(_0xa49687,_0x764b4a,_0xabd093,_0x59056a)=>{const _0x3aa602=_0xb1f837;for(var _0x309b9e=_0x59056a>0x1?void 0x0:_0x59056a?ft(_0x764b4a,_0xabd093):_0x764b4a,_0x4750ca=_0xa49687[_0x3aa602(0x257)]-0x1,_0x5cf7bf;_0x4750ca>=0x0;_0x4750ca--)(_0x5cf7bf=_0xa49687[_0x4750ca])&&(_0x309b9e=_0x5cf7bf(_0x309b9e)||_0x309b9e);return _0x309b9e;},W=(_0x212e92,_0x57138a)=>(_0x3c0758,_0x7dd095)=>_0x57138a(_0x3c0758,_0x7dd095,_0x212e92);let fe=class extends a[_0xb1f837(0x292)]{constructor(_0x411fa0,_0x2cb659,_0x3749ff,_0x2b4665,_0x2028b6){const _0x558744=_0xb1f837;super(),h(this,_0x558744(0x169),[]),h(this,_0x558744(0xc7),[]),(this[_0x558744(0x11b)]=_0x411fa0,this[_0x558744(0x22f)]=_0x2cb659,this[_0x558744(0x2c1)]=_0x3749ff,this[_0x558744(0x275)]=_0x2b4665,this[_0x558744(0x29b)]=_0x2028b6,this['_init']());}[_0xb1f837(0x26a)](){const _0x48437f=_0xb1f837,_0x3aed12=this[_0x48437f(0x11b)][_0x48437f(0x211)],_0xd93e25=this['_docSkeletonManagerService'];this[_0x48437f(0xd6)](d[_0x48437f(0x1c6)]([this['_collabCursorController']['getCollabCursors$'](_0x3aed12),this[_0x48437f(0x29b)][_0x48437f(0x13e)]])[_0x48437f(0x28f)]($['map'](([_0x90f6af,_0x5c9e02])=>({'skeleton':_0xd93e25[_0x48437f(0x1a0)](),'cursors':[..._0x90f6af[_0x48437f(0x21e)]()][_0x48437f(0xc2)](_0x37fd95=>({..._0x37fd95,'color':this[_0x48437f(0x29b)]['getColorFromTheme'](_0x37fd95[_0x48437f(0x2df)])}))})))[_0x48437f(0x1cd)](_0xcec307=>{const _0x23eff4=_0x48437f;if(this[_0x23eff4(0x96)](),_0xcec307){const {skeleton:_0x526713,cursors:_0x377da6}=_0xcec307;this[_0x23eff4(0x147)](_0x526713,_0x377da6);}})),this[_0x48437f(0x186)](),this[_0x48437f(0x149)]();}[_0xb1f837(0x147)](_0xfe4011,_0xf8404b){const _0x5d3432=_0xb1f837,{scene:_0x2ffe36,mainComponent:_0xe5c2c5}=this[_0x5d3432(0x11b)],_0x5eb740=_0xf8404b[_0x5d3432(0x2ad)](_0x26ecc6=>new De(_0x26ecc6,_0x2ffe36,_0xfe4011,_0xe5c2c5));this[_0x5d3432(0x169)]=_0x5eb740,this['_cursors']=_0xf8404b;}[_0xb1f837(0x2bd)](){const _0x265570=_0xb1f837;this[_0x265570(0x96)]();const {scene:_0x3122c5,mainComponent:_0xb994a8}=this[_0x265570(0x11b)],_0x4c184a=this['_docSkeletonManagerService'][_0x265570(0x1a0)](),_0x5ca67d=this[_0x265570(0xc7)][_0x265570(0x2ad)](_0x5ea604=>new De(_0x5ea604,_0x3122c5,_0x4c184a,_0xb994a8));this[_0x265570(0x169)]=_0x5ca67d;}[_0xb1f837(0x96)](){const _0x877b8d=_0xb1f837;this['_cursorShapes'][_0x877b8d(0x13f)](_0xbd8d8e=>_0xbd8d8e[_0x877b8d(0x8c)]()),this[_0x877b8d(0x169)]=[];}[_0xb1f837(0x149)](){const _0x3ce523=_0xb1f837,_0x1c6ade=[E['SetDocZoomRatioOperation']['id']];this[_0x3ce523(0xd6)](this[_0x3ce523(0x275)][_0x3ce523(0x1b8)](_0x1da168=>{const _0x23d9fd=_0x3ce523;_0x1c6ade[_0x23d9fd(0x1b7)](_0x1da168['id'])&&_0x1da168[_0x23d9fd(0xff)][_0x23d9fd(0x211)]===this[_0x23d9fd(0x11b)][_0x23d9fd(0x211)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x3f292d=_0xb1f837;this[_0x3f292d(0xd6)](a['fromEventSubject'](this[_0x3f292d(0x11b)][_0x3f292d(0x1af)]['onTransformChange$'])['pipe']($[_0x3f292d(0x19d)](_0x2006ec=>_0x2006ec['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3f292d(0x214)]),$['throttleTime'](0x10))[_0x3f292d(0x1cd)](()=>{const _0x436aff=_0x3f292d;this[_0x436aff(0x2bd)]();}));}};fe=vt([W(0x1,a[_0xb1f837(0x175)](Y[_0xb1f837(0x7a)])),W(0x2,a[_0xb1f837(0x175)](x)),W(0x3,a['ICommandService']),W(0x4,a[_0xb1f837(0x175)](a[_0xb1f837(0x1f1)]))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x4c7b53,_0x797dd7){const _0x440d52=_0xb1f837;super(_0x4c7b53,_0x797dd7),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0x440d52(0x85)),h(this,_0x440d52(0x2bb),''),h(this,_0x440d52(0xed),_0x440d52(0x20f)),h(this,'_backgroundColor'),(_0x797dd7&&this['setShapeProps'](_0x797dd7),this[_0x440d52(0x228)][_0x440d52(0x9a)](()=>this[_0x440d52(0x16f)]({'hovered':!0x0})),this[_0x440d52(0x2dc)]['subscribeEvent'](()=>this[_0x440d52(0x16f)]({'hovered':!0x1})));}[_0xb1f837(0x16f)](_0x1ba00a){const _0x31a791=_0xb1f837;var _0x59b0a3,_0x2c3cf9,_0x3486c6,_0x3d6bc4,_0x4b4f26,_0x37e47b;this[_0x31a791(0x24c)]=(_0x59b0a3=_0x1ba00a['color'])!=null?_0x59b0a3:this[_0x31a791(0x24c)],this['_hovered']=(_0x2c3cf9=_0x1ba00a[_0x31a791(0x121)])!=null?_0x2c3cf9:this[_0x31a791(0x166)],this[_0x31a791(0x85)]=(_0x3486c6=_0x1ba00a['range'])!=null?_0x3486c6:this[_0x31a791(0x85)],this[_0x31a791(0x2bb)]=(_0x3d6bc4=_0x1ba00a[_0x31a791(0x1cf)])!=null?_0x3d6bc4:this[_0x31a791(0x2bb)],this[_0x31a791(0xed)]=(_0x4b4f26=_0x1ba00a[_0x31a791(0x18b)])!=null?_0x4b4f26:this[_0x31a791(0xed)],this[_0x31a791(0x15d)]=(_0x37e47b=_0x1ba00a[_0x31a791(0x2dd)])!=null?_0x37e47b:this['_backgroundColor'],this[_0x31a791(0x24a)]({'width':_0x1ba00a[_0x31a791(0x8f)],'height':_0x1ba00a[_0x31a791(0x2cf)]});}[_0xb1f837(0x268)](_0x4f6519){const _0x38d4ce=_0xb1f837,{row:_0x4d6a7f,column:_0x287ddb}=_0x4f6519;if(_0x4d6a7f>=this[_0x38d4ce(0x85)][_0x38d4ce(0x112)]&&_0x4d6a7f<=this[_0x38d4ce(0x85)]['endRow']&&_0x287ddb>=this[_0x38d4ce(0x85)]['startColumn']&&_0x287ddb<=this[_0x38d4ce(0x85)][_0x38d4ce(0x1aa)]){this[_0x38d4ce(0x16f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x434b41){return!0x1;}[_0xb1f837(0x2a5)](_0xd8a927){const _0x55b400=_0xb1f837;p['Rect'][_0x55b400(0x28e)](_0xd8a927,{'width':this[_0x55b400(0x8f)],'height':this[_0x55b400(0x2cf)],'strokeWidth':mt,'stroke':this[_0x55b400(0x24c)],'evented':!0x1,'fill':this[_0x55b400(0x15d)]}),this[_0x55b400(0x166)]&&(_0xd8a927[_0x55b400(0x1cb)](),_0xd8a927[_0x55b400(0x1f9)](0x1,0x0,0x0,0x1,this[_0x55b400(0x8f)],this['_labelPosition']==='bottom'?0x0:-0x14),ee[_0x55b400(0x28e)](_0xd8a927,{'text':this[_0x55b400(0x2bb)],'color':this[_0x55b400(0x24c)]}),_0xd8a927['restore']());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x30fc8e,_0x5484c6,_0x279519,_0x37ded5)=>{const _0x42ed9a=_0xb1f837;for(var _0x43d283=_0x37ded5>0x1?void 0x0:_0x37ded5?Ct(_0x5484c6,_0x279519):_0x5484c6,_0x50b177=_0x30fc8e[_0x42ed9a(0x257)]-0x1,_0x9f17f8;_0x50b177>=0x0;_0x50b177--)(_0x9f17f8=_0x30fc8e[_0x50b177])&&(_0x43d283=_0x9f17f8(_0x43d283)||_0x43d283);return _0x43d283;},ae=(_0x2aa26a,_0x377826)=>(_0x43ce17,_0xcf2a64)=>_0x377826(_0x43ce17,_0xcf2a64,_0x2aa26a);const Et=0x1389;let ve=class extends a[_0xb1f837(0x292)]{constructor(_0x5c593d,_0x1e85ab,_0x30eea2,_0x4cfe58){const _0x181cdd=_0xb1f837;super(),h(this,_0x181cdd(0xc7),new Set()),h(this,_0x181cdd(0x16d),null),(this[_0x181cdd(0x11b)]=_0x5c593d,this['_sheetSkeletonManagerService']=_0x1e85ab,this[_0x181cdd(0x2c1)]=_0x30eea2,this[_0x181cdd(0x29b)]=_0x4cfe58,this[_0x181cdd(0x26a)]());}[_0xb1f837(0x26a)](){const _0x4ed027=_0xb1f837;this[_0x4ed027(0x1ac)]['currentSkeleton$'][_0x4ed027(0x28f)]($[_0x4ed027(0x206)](this[_0x4ed027(0x279)]),$[_0x4ed027(0x2bc)](_0x44e913=>{const _0x5f58f2=_0x4ed027;if(_0x44e913){const _0x2740d6=_0x44e913[_0x5f58f2(0x288)];return d[_0x5f58f2(0x1c6)](this[_0x5f58f2(0x2c1)][_0x5f58f2(0x2c3)](this[_0x5f58f2(0x11b)][_0x5f58f2(0x211)]),this[_0x5f58f2(0x29b)][_0x5f58f2(0x13e)])['pipe']($[_0x5f58f2(0x2ad)](([_0x1dc910,_0x541fa4])=>{const _0x11afe8=new Map();return _0x1dc910['forEach']((_0x317efa,_0x1ba4d9)=>{const _0x54a43a=_0x48f4;if(_0x317efa[_0x54a43a(0x182)]===_0x2740d6){const _0x220085={..._0x317efa};_0x220085[_0x54a43a(0x2df)]=this['_themeService'][_0x54a43a(0x14e)](_0x317efa[_0x54a43a(0x2df)]),_0x11afe8[_0x54a43a(0x134)](_0x1ba4d9,_0x220085);}}),{'skeleton':_0x44e913,'cursors':_0x11afe8};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x12b71a,cursors:_0x4be9c3})=>{const _0x1c5ae0=_0x4ed027;this[_0x1c5ae0(0x96)](),_0x12b71a&&this[_0x1c5ae0(0x147)](_0x12b71a,_0x4be9c3);}),this['_sheetSkeletonManagerService'][_0x4ed027(0x1eb)][_0x4ed027(0x1cd)](_0x686b2=>{const _0x4816ea=_0x4ed027;if(_0x686b2==null)return;const {skeleton:_0x4d92cd}=_0x686b2,{scene:_0x33427b}=this[_0x4816ea(0x11b)];_0x33427b[_0x4816ea(0x25c)][_0x4816ea(0x9a)](a[_0x4816ea(0xca)](_0x441ff7=>{const _0x52f0d7=_0x4816ea;var _0x410ca7,_0x1b89a3;const {offsetX:_0x45df8b,offsetY:_0x28ccac}=_0x441ff7,{x:_0x3ddacf,y:_0x38d619}=_0x33427b[_0x52f0d7(0xb7)](p[_0x52f0d7(0xc4)][_0x52f0d7(0x1e3)]([_0x45df8b,_0x28ccac])),{scaleX:_0x1eb67a,scaleY:_0x34ed2a}=_0x33427b['getAncestorScale'](),_0x460271=_0x33427b[_0x52f0d7(0xa1)](p[_0x52f0d7(0x191)]['VIEW_MAIN']),_0x5c8393=_0x33427b[_0x52f0d7(0x217)](p[_0x52f0d7(0xc4)][_0x52f0d7(0x1e3)]([_0x3ddacf,_0x38d619]),_0x460271),_0x10d48b=_0x4d92cd['getCellPositionByOffset'](_0x45df8b,_0x28ccac,_0x1eb67a,_0x34ed2a,_0x5c8393);((_0x410ca7=this[_0x52f0d7(0x16d)])==null?void 0x0:_0x410ca7[_0x52f0d7(0x1ad)])===_0x10d48b[_0x52f0d7(0x1ad)]&&((_0x1b89a3=this[_0x52f0d7(0x16d)])==null?void 0x0:_0x1b89a3['row'])===_0x10d48b[_0x52f0d7(0x70)]||this[_0x52f0d7(0xc7)][_0x52f0d7(0x13f)](_0x1d9370=>{_0x1d9370['onMouseMove'](_0x10d48b);});},0x64));});}['_updateCollabCursors'](_0x110e6a,_0x516d9f){const _0x2bd2f4=_0xb1f837;var _0x58edfa;const _0x50e1dc=(_0x58edfa=this[_0x2bd2f4(0x1ac)][_0x2bd2f4(0x238)]())==null?void 0x0:_0x58edfa[_0x2bd2f4(0x94)];if(!_0x50e1dc)return;const _0x29f33c=this['_getSheetObject']();if(!_0x29f33c)return;this['_cursors'][_0x2bd2f4(0x13f)](_0x13d333=>{_0x13d333['makeDirty']();});const {scene:_0x4ab849}=_0x29f33c,_0x2bf76b=bt(Array[_0x2bd2f4(0x2d9)](_0x516d9f['values']()))[_0x2bd2f4(0x2ad)](_0x2676d4=>{const _0x214835=_0x2bd2f4,{color:_0x36853a,range:_0x192ad4,name:_0x5944bf,selection:_0x101c82,sheetID:_0x43431b}=_0x2676d4,{startColumn:_0x34905b,startRow:_0x44f94c,endColumn:_0xa70252,endRow:_0x447a38}=_0x192ad4,_0x2b72c2=X[_0x214835(0x2ca)](_0x44f94c,_0x34905b,_0x4ab849,_0x50e1dc),_0x45d143=X[_0x214835(0x2ca)](_0x447a38,_0xa70252,_0x4ab849,_0x50e1dc),{columnHeaderHeightAndMarginTop:_0xab74c6}=_0x50e1dc,{startX:_0x126406,startY:_0x2a0012}=_0x2b72c2,{endX:_0x5cba44,endY:_0x12164e}=_0x45d143,_0x3afd77=_0x5cba44-_0x126406,_0x7689ea=_0x12164e-_0x2a0012,_0xf8839d={'labelPosition':_0x2a0012-_0xab74c6>=K?'top':_0x214835(0x2b3),'sheetID':_0x43431b,'range':_0x192ad4,'color':_0x36853a,'name':_0x5944bf,'selection':_0x101c82,'left':_0x126406,'top':_0x2a0012,'width':_0x3afd77,'height':_0x7689ea,'evented':!0x1,'zIndex':Et};return new we(_0x5944bf,_0xf8839d);});_0x4ab849[_0x2bd2f4(0x28c)](_0x2bf76b,gt),this['_cursors']=new Set(_0x2bf76b);}[_0xb1f837(0x96)](){const _0x4727c9=_0xb1f837;var _0x5deafd;(_0x5deafd=this[_0x4727c9(0xc7)])==null||_0x5deafd['forEach'](_0x5bc31e=>_0x5bc31e[_0x4727c9(0x8c)]());}[_0xb1f837(0x127)](){const _0x3ec2ed=_0xb1f837;return X[_0x3ec2ed(0x141)](this[_0x3ec2ed(0x11b)][_0x3ec2ed(0x232)],this['_context']);}};ve=pt([ae(0x1,a[_0xb1f837(0x175)](X['SheetSkeletonManagerService'])),ae(0x2,a[_0xb1f837(0x175)](x)),ae(0x3,a[_0xb1f837(0x175)](a[_0xb1f837(0x1f1)]))],ve);function bt(_0x262298){const _0x4565c8=_0xb1f837,_0x1920a1=new Map();return _0x262298['forEach'](_0x18ab5d=>{const _0x37bdb5=_0x48f4;if(_0x1920a1['has'](_0x18ab5d[_0x37bdb5(0x6f)])){const _0x4cec43=_0x1920a1[_0x37bdb5(0xd1)](_0x18ab5d['selection']);_0x4cec43[_0x37bdb5(0x1cf)]+=',\x20'+_0x18ab5d[_0x37bdb5(0x1cf)];}else _0x1920a1[_0x37bdb5(0x134)](_0x18ab5d[_0x37bdb5(0x6f)],_0x18ab5d);}),Array[_0x4565c8(0x2d9)](_0x1920a1[_0x4565c8(0x21e)]());}var b=function(){const _0x4b6138=_0xb1f837;return b=Object['assign']||function(_0x3fb3d4){const _0x349586=_0x48f4;for(var _0x5d308b,_0x4ff4b9=0x1,_0x4c15cf=arguments[_0x349586(0x257)];_0x4ff4b9<_0x4c15cf;_0x4ff4b9++){_0x5d308b=arguments[_0x4ff4b9];for(var _0x2c932e in _0x5d308b)Object[_0x349586(0x72)][_0x349586(0xa9)][_0x349586(0xf0)](_0x5d308b,_0x2c932e)&&(_0x3fb3d4[_0x2c932e]=_0x5d308b[_0x2c932e]);}return _0x3fb3d4;},b[_0x4b6138(0x223)](this,arguments);},Ot=function(_0x2fa42a,_0x5cf83f){const _0x3e13ef=_0xb1f837;var _0x534ecd={};for(var _0x7b26a0 in _0x2fa42a)Object[_0x3e13ef(0x72)][_0x3e13ef(0xa9)][_0x3e13ef(0xf0)](_0x2fa42a,_0x7b26a0)&&_0x5cf83f[_0x3e13ef(0x2c9)](_0x7b26a0)<0x0&&(_0x534ecd[_0x7b26a0]=_0x2fa42a[_0x7b26a0]);if(_0x2fa42a!=null&&typeof Object[_0x3e13ef(0x146)]==_0x3e13ef(0x7c)){for(var _0x5197a6=0x0,_0x7b26a0=Object[_0x3e13ef(0x146)](_0x2fa42a);_0x5197a6<_0x7b26a0['length'];_0x5197a6++)_0x5cf83f[_0x3e13ef(0x2c9)](_0x7b26a0[_0x5197a6])<0x0&&Object['prototype'][_0x3e13ef(0xb1)][_0x3e13ef(0xf0)](_0x2fa42a,_0x7b26a0[_0x5197a6])&&(_0x534ecd[_0x7b26a0[_0x5197a6]]=_0x2fa42a[_0x7b26a0[_0x5197a6]]);}return _0x534ecd;},pe=M[_0xb1f837(0x273)](function(_0x1a7c15,_0xeab5ca){const _0x2a0310=_0xb1f837;var _0x30cb09=_0x1a7c15['icon'],_0x1bd6e5=_0x1a7c15['id'],_0x2439a6=_0x1a7c15[_0x2a0310(0xdc)],_0xd9c136=_0x1a7c15[_0x2a0310(0x2b7)],_0x3c3384=Ot(_0x1a7c15,[_0x2a0310(0xa4),'id',_0x2a0310(0xdc),_0x2a0310(0x2b7)]),_0x3d9135='univerjs-icon\x20univerjs-icon-'[_0x2a0310(0x287)](_0x1bd6e5,'\x20')[_0x2a0310(0x287)](_0x2439a6||'')[_0x2a0310(0x24b)](),_0x4698b8=M['useRef']('_'[_0x2a0310(0x287)](Dt()));return Ae(_0x30cb09,''[_0x2a0310(0x287)](_0x1bd6e5),{'defIds':_0x30cb09['defIds'],'idSuffix':_0x4698b8[_0x2a0310(0xf5)]},b({'ref':_0xeab5ca,'className':_0x3d9135},_0x3c3384),_0xd9c136);});function Ae(_0x3c931e,_0xa7a7de,_0xa02547,_0x5b3466,_0x2559e6){const _0x1a7ca6=_0xb1f837;return M['createElement'](_0x3c931e['tag'],b(b({'key':_0xa7a7de},Tt(_0x3c931e,_0xa02547,_0x2559e6)),_0x5b3466),(Rt(_0x3c931e,_0xa02547)[_0x1a7ca6(0x199)]||[])[_0x1a7ca6(0x2ad)](function(_0x2bb598,_0x1425db){const _0x488651=_0x1a7ca6;return Ae(_0x2bb598,''[_0x488651(0x287)](_0xa7a7de,'-')[_0x488651(0x287)](_0x3c931e[_0x488651(0x2a3)],'-')[_0x488651(0x287)](_0x1425db),_0xa02547,void 0x0,_0x2559e6);}));}function Tt(_0xbbe0a7,_0x5823bc,_0x311bf2){const _0x5ec3ba=_0xb1f837;var _0x2a3101=b({},_0xbbe0a7['attrs']);_0x311bf2!=null&&_0x311bf2[_0x5ec3ba(0xc6)]&&_0x2a3101[_0x5ec3ba(0xd0)]===_0x5ec3ba(0xc6)&&(_0x2a3101['fill']=_0x311bf2['colorChannel1']),_0xbbe0a7[_0x5ec3ba(0x2a3)]===_0x5ec3ba(0x246)&&_0x2a3101['id']&&(_0x2a3101['id']=_0x2a3101['id']+_0x5823bc[_0x5ec3ba(0x1db)]),Object[_0x5ec3ba(0x11d)](_0x2a3101)['forEach'](function(_0x505685){const _0x326a1d=_0x5ec3ba;var _0x578386=_0x505685[0x0],_0x27e616=_0x505685[0x1];_0x578386===_0x326a1d(0x246)&&typeof _0x27e616=='string'&&(_0x2a3101[_0x578386]=_0x27e616[_0x326a1d(0x2b6)](/url\(#(.*)\)/,'url(#$1'[_0x326a1d(0x287)](_0x5823bc['idSuffix'],')')));});var _0x36cd76=_0x5823bc[_0x5ec3ba(0xb3)];return!_0x36cd76||_0x36cd76[_0x5ec3ba(0x257)]===0x0||(_0xbbe0a7[_0x5ec3ba(0x2a3)]===_0x5ec3ba(0x1fb)&&_0x2a3101[_0x5ec3ba(0x1b6)]&&(_0x2a3101[_0x5ec3ba(0x1b6)]=_0x2a3101[_0x5ec3ba(0x1b6)]+_0x5823bc[_0x5ec3ba(0x1db)]),Object['entries'](_0x2a3101)[_0x5ec3ba(0x13f)](function(_0x1130b9){const _0x377d2f=_0x5ec3ba;var _0x3e6a05=_0x1130b9[0x0],_0x1906fe=_0x1130b9[0x1];typeof _0x1906fe=='string'&&(_0x2a3101[_0x3e6a05]=_0x1906fe['replace'](/url\(#(.*)\)/,_0x377d2f(0x1da)['concat'](_0x5823bc[_0x377d2f(0x1db)],')')));})),_0x2a3101;}function Rt(_0x5670e7,_0x5b5331){const _0x12842a=_0xb1f837;var _0x25c89b,_0x55cbac=_0x5b5331[_0x12842a(0xb3)];return!_0x55cbac||_0x55cbac[_0x12842a(0x257)]===0x0?_0x5670e7:_0x5670e7[_0x12842a(0x2a3)]===_0x12842a(0xc1)&&(!((_0x25c89b=_0x5670e7[_0x12842a(0x199)])===null||_0x25c89b===void 0x0)&&_0x25c89b['length'])?b(b({},_0x5670e7),{'children':_0x5670e7['children'][_0x12842a(0x2ad)](function(_0x37f47a){const _0xfe10e1=_0x12842a;return typeof _0x37f47a['attrs']['id']=='string'&&_0x55cbac&&_0x55cbac[_0xfe10e1(0x1b7)](_0x37f47a[_0xfe10e1(0x195)]['id'])?b(b({},_0x37f47a),{'attrs':b(b({},_0x37f47a['attrs']),{'id':_0x37f47a['attrs']['id']+_0x5b5331[_0xfe10e1(0x1db)]})}):_0x37f47a;})}):_0x5670e7;}function Dt(){const _0x4b055b=_0xb1f837;return Math[_0x4b055b(0x219)]()[_0x4b055b(0x180)](0x24)[_0x4b055b(0x1a6)](0x2,0x8);}pe['displayName']=_0xb1f837(0x2a2);var Ut={'tag':'svg','attrs':{'xmlns':_0xb1f837(0x189),'fill':_0xb1f837(0xa7),'viewBox':_0xb1f837(0x282),'width':_0xb1f837(0x2b2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0xb1f837(0x255),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0xb1f837(0x1ee),'strokeWidth':1.2}}]},{'tag':_0xb1f837(0xc1),'attrs':{},'children':[{'tag':_0xb1f837(0x1de),'attrs':{'id':_0xb1f837(0x2c8)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'fill':_0xb1f837(0x27f),'d':_0xb1f837(0x19b)}}]}]}],'defIds':[_0xb1f837(0x2c8)]},ye=M[_0xb1f837(0x273)](function(_0x193720,_0x1d264f){const _0x4d0d9f=_0xb1f837;return M['createElement'](pe,Object[_0x4d0d9f(0x289)]({},_0x193720,{'id':'off-line-icon','ref':_0x1d264f,'icon':Ut}));});ye[_0xb1f837(0x1bd)]=_0xb1f837(0x82);var Nt={'tag':'svg','attrs':{'xmlns':_0xb1f837(0x189),'fill':_0xb1f837(0xa7),'viewBox':'0\x200\x2017\x2016','width':_0xb1f837(0x2b2),'height':_0xb1f837(0x2b2)},'children':[{'tag':'g','attrs':{'clipPath':_0xb1f837(0xee)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'stroke':_0xb1f837(0x255),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xb1f837(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb1f837(0xc1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xb1f837(0x1fd)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'fill':_0xb1f837(0x27f),'d':_0xb1f837(0x19b),'transform':_0xb1f837(0x75)}}]}]}],'defIds':[_0xb1f837(0x1fd)]},$e=M['forwardRef'](function(_0x157ec4,_0x54270b){const _0x54e51a=_0xb1f837;return M[_0x54e51a(0x10a)](pe,Object[_0x54e51a(0x289)]({},_0x157ec4,{'id':_0x54e51a(0x18c),'ref':_0x54270b,'icon':Nt}));});$e[_0xb1f837(0x1bd)]=_0xb1f837(0xac);function Mt(_0x4ad039){const _0x1a8b71=_0xb1f837;switch(_0x4ad039){case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x22b)]:return _0x1a8b71(0x213);case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x163)]:return'collabStatus.conflict';case u['CollaborationStatus'][_0x1a8b71(0x107)]:return _0x1a8b71(0x1ab);case u[_0x1a8b71(0x1f5)]['NOT_COLLAB']:return _0x1a8b71(0xf7);case u['CollaborationStatus'][_0x1a8b71(0x150)]:case u[_0x1a8b71(0x1f5)]['AWAITING_WITH_PENDING']:return _0x1a8b71(0x120);case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x129)]:case u['CollaborationStatus']['PENDING']:return _0x1a8b71(0x113);}}function xe(_0x19e3dc){const _0x3a7831=_0xb1f837,{status$:_0x54ec30}=_0x19e3dc,_0x1820a0=O[_0x3a7831(0x20c)](_0x54ec30,u[_0x3a7831(0x1f5)][_0x3a7831(0xdd)]),_0x13cbe8=O['useDependency'](a['LocaleService']),_0x2aaddb=O[_0x3a7831(0x6c)](u[_0x3a7831(0xb4)]),_0x439a8e=_0x1820a0!==u['CollaborationStatus'][_0x3a7831(0x22b)],_0x259ada=_0x13cbe8['t'](Mt(_0x1820a0)),_0x22a0e0=_0x439a8e?P[_0x3a7831(0x111)]($e,{}):P[_0x3a7831(0x111)](ye,{}),_0x58c935=M[_0x3a7831(0xf8)](()=>{const _0x3231ad=_0x3a7831;_0x439a8e||_0x2aaddb[_0x3231ad(0x12c)]();},[_0x439a8e,_0x2aaddb]);function _0x4727a2(){const _0xcf13f6=_0x3a7831;return P[_0xcf13f6(0x145)](_0xcf13f6(0x14a),{'className':'univer-flex\x20univer-items-center','onClick':_0x58c935,'children':[P[_0xcf13f6(0x111)]('div',{'className':D['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x439a8e,'univer-text-red-500':!_0x439a8e}),'children':_0x22a0e0}),P['jsx']('div',{'className':_0xcf13f6(0xdb),'children':_0x259ada})]});}return _0x439a8e?_0x4727a2():P[_0x3a7831(0x111)](D[_0x3a7831(0x25a)],{'title':_0x13cbe8['t'](_0x3a7831(0x71)),'children':_0x4727a2()});}var Lt=Object[_0xb1f837(0x19a)],Pt=(_0x2e5d61,_0x52e2eb,_0x5880ca,_0x55821c)=>{const _0x47bd3c=_0xb1f837;for(var _0x231ec7=_0x55821c>0x1?void 0x0:_0x55821c?Lt(_0x52e2eb,_0x5880ca):_0x52e2eb,_0x8cb3c1=_0x2e5d61[_0x47bd3c(0x257)]-0x1,_0x64c2a1;_0x8cb3c1>=0x0;_0x8cb3c1--)(_0x64c2a1=_0x2e5d61[_0x8cb3c1])&&(_0x231ec7=_0x64c2a1(_0x231ec7)||_0x231ec7);return _0x231ec7;},V=(_0x35e362,_0x40434d)=>(_0x4363e1,_0x5ea00b)=>_0x40434d(_0x4363e1,_0x5ea00b,_0x35e362);exports[_0xb1f837(0x194)]=class extends a[_0xb1f837(0x2af)]{constructor(_0x2562c2,_0x56e677,_0x13c1f7,_0x1567ff){const _0x1918c1=_0xb1f837;super(),h(this,_0x1918c1(0x212),new d['BehaviorSubject'](u[_0x1918c1(0x1f5)][_0x1918c1(0xdd)])),(this['_univerInstanceService']=_0x2562c2,this[_0x1918c1(0x144)]=_0x56e677,this[_0x1918c1(0x86)]=_0x13c1f7,this[_0x1918c1(0xf1)]=_0x1567ff,this[_0x1918c1(0x247)](),this[_0x1918c1(0x29c)]());}[_0xb1f837(0x29c)](){const _0x20c763=_0xb1f837;this[_0x20c763(0xd6)](this[_0x20c763(0x76)][_0x20c763(0x1d4)]['pipe'](d['switchMap'](()=>{const _0x5533d4=_0x20c763,_0x236265=this['_univerInstanceService'][_0x5533d4(0x1ce)]();return _0x236265?this['_collaborationController'][_0x5533d4(0x109)](_0x236265['getUnitId']()):d['of'](null);}),d[_0x20c763(0x2bc)](_0x2c1ef1=>_0x2c1ef1?_0x2c1ef1[_0x20c763(0x1b9)]:d['of'](u[_0x20c763(0x1f5)]['NOT_COLLAB'])))[_0x20c763(0x1cd)](_0x180e5c=>{const _0xfc5e06=_0x20c763;this['_status$'][_0xfc5e06(0xdf)](_0x180e5c);}));}['_initStatusComponent'](){const _0x56aae1=_0xb1f837;this[_0x56aae1(0xd6)](this[_0x56aae1(0xf1)]['registerComponent'](O['BuiltInUIPart'][_0x56aae1(0x156)],()=>O[_0x56aae1(0x20d)](wt({'status$':this[_0x56aae1(0x212)][_0x56aae1(0xe0)]()}),this[_0x56aae1(0x144)])));}},exports[_0xb1f837(0x194)]=Pt([V(0x0,a[_0xb1f837(0x18a)]),V(0x1,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),V(0x2,a['Inject'](u['CollaborationController'])),V(0x3,O[_0xb1f837(0x148)])],exports[_0xb1f837(0x194)]);function wt(_0x28f58c){const {status$:_0x287119}=_0x28f58c;return function(){const _0x14e8ea=_0x48f4;return P[_0x14e8ea(0x111)](xe,{'status$':_0x287119});};}var At=Object[_0xb1f837(0x19a)],yt=(_0x438d58,_0xd613b7,_0x105050,_0x3c6b17)=>{const _0x5115f4=_0xb1f837;for(var _0x158176=_0x3c6b17>0x1?void 0x0:_0x3c6b17?At(_0xd613b7,_0x105050):_0xd613b7,_0x464901=_0x438d58[_0x5115f4(0x257)]-0x1,_0x51b9e7;_0x464901>=0x0;_0x464901--)(_0x51b9e7=_0x438d58[_0x464901])&&(_0x158176=_0x51b9e7(_0x158176)||_0x158176);return _0x158176;},y=(_0x2d4b02,_0x4db63a)=>(_0x4e0f79,_0x465983)=>_0x4db63a(_0x4e0f79,_0x465983,_0x2d4b02);let q=class extends a['Disposable']{constructor(_0x23e41b,_0x23f3c0,_0x36bd2b,_0x2fd6a1,_0x5606d,_0x5639aa){const _0x164515=_0xb1f837;super(),this[_0x164515(0x14d)]=_0x23e41b,this[_0x164515(0x1f6)]=_0x23f3c0,this[_0x164515(0x24f)]=_0x36bd2b,this[_0x164515(0x179)]=_0x2fd6a1,this[_0x164515(0x11e)]=_0x5606d,this[_0x164515(0xa5)]=_0x5639aa,this['_setupBeforeClosingHandler'](),this[_0x164515(0x26b)]();}[_0xb1f837(0x1cc)](){const _0x5815be=_0xb1f837;this[_0x5815be(0xd6)](this[_0x5815be(0x14d)][_0x5815be(0x29f)](()=>{const _0x10a15b=_0x5815be;if(this[_0x10a15b(0x1f6)][_0x10a15b(0x2d4)][_0x10a15b(0x1df)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xb1f837(0x26b)](){const _0x510478=_0xb1f837;this['disposeWithMe'](this[_0x510478(0x24f)]['event$'][_0x510478(0x1cd)](_0x17e960=>{const _0x5d32ea=_0x510478;_0x17e960['id']===u['CollaborationUIEventId'][_0x5d32ea(0x152)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x143)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x140))}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x187)]&&this['_messageService']['show']({'type':D[_0x5d32ea(0x133)]['Warning'],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x128))}),_0x17e960['id']===u[_0x5d32ea(0x227)]['PERMISSION_DENIED']&&this[_0x5d32ea(0x11e)][_0x5d32ea(0x192)]({'title':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x79)),'content':this[_0x5d32ea(0xa5)]['t']('permission.content'),'type':'error','duration':0x0}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x163)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x128))+'('+_0x17e960[_0x5d32ea(0x283)]+')'}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x2cc)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x143)],'content':this[_0x5d32ea(0xa5)]['t'](_0x17e960[_0x5d32ea(0x283)]||'')}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0xbb)]&&this['_messageService'][_0x5d32ea(0x192)]({'type':D['MessageType'][_0x5d32ea(0x143)],'content':this['_localeService']['t']('session.will-retry')}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x2c0)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x21c))}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x27e)]&&this[_0x5d32ea(0x179)]['show']({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this['_localeService']['t'](_0x5d32ea(0x1d0))});}));}};q=yt([y(0x0,O[_0xb1f837(0x14f)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0xb1f837(0x175)](u[_0xb1f837(0xe2)])),y(0x3,O[_0xb1f837(0x27c)]),y(0x4,O[_0xb1f837(0xde)]),y(0x5,a[_0xb1f837(0x175)](a[_0xb1f837(0x154)]))],q);const $t=_0xb1f837(0x1c3),Ue={},Ee=a['createIdentifier'](_0xb1f837(0xbd));var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x11c3e1,_0x5ef7ed,_0x40594e,_0x5bce7b)=>{const _0x46482d=_0xb1f837;for(var _0x42513f=_0x5bce7b>0x1?void 0x0:_0x5bce7b?xt(_0x5ef7ed,_0x40594e):_0x5ef7ed,_0x29cbdc=_0x11c3e1[_0x46482d(0x257)]-0x1,_0x3418cd;_0x29cbdc>=0x0;_0x29cbdc--)(_0x3418cd=_0x11c3e1[_0x29cbdc])&&(_0x42513f=_0x3418cd(_0x42513f)||_0x42513f);return _0x42513f;},F=(_0x2237d4,_0x1e9ae2)=>(_0x59bc69,_0x28475e)=>_0x1e9ae2(_0x59bc69,_0x28475e,_0x2237d4);exports[_0xb1f837(0x1ff)]=class extends a[_0xb1f837(0x292)]{constructor(_0x52a21d,_0x3291,_0x5122b7,_0x36bc11,_0x2cbb8e){const _0x272531=_0xb1f837;super(),this[_0x272531(0x278)]=_0x52a21d,this[_0x272531(0xf3)]=_0x3291,this[_0x272531(0x275)]=_0x5122b7,this[_0x272531(0xc0)]=_0x36bc11,_0x2cbb8e?_0x2cbb8e==null||_0x2cbb8e['whenReady']()[_0x272531(0x1ba)](()=>this[_0x272531(0x26a)]()):(this['_logService'][_0x272531(0x7d)](_0x272531(0xc9),_0x272531(0x2c5)),this[_0x272531(0x26a)]());}async[_0xb1f837(0x26a)](){const _0x33e881=_0xb1f837,_0x4ea310=this['_urlService'][_0x33e881(0xfc)](_0x33e881(0x232)),_0x5dc0ff=this['_urlService']['getParam']('type'),_0x59772b=this['_urlService'][_0x33e881(0xfc)]('subunit');if(!_0x4ea310||!_0x5dc0ff){this[_0x33e881(0xf3)][_0x33e881(0x7d)](_0x33e881(0xc9),_0x33e881(0x244));return;}const _0x539c2e=await this[_0x33e881(0xc0)][_0x33e881(0xda)](_0x4ea310,Number(_0x5dc0ff),_0x59772b);_0x539c2e&&_0x539c2e instanceof a[_0x33e881(0x2a6)]&&this[_0x33e881(0x225)](_0x539c2e);}async['_setupSubUnitSync'](_0xe58aab){const _0x2b2f61=_0xb1f837;await this[_0x2b2f61(0x245)](_0xe58aab),_0xe58aab[_0x2b2f61(0x1f3)][_0x2b2f61(0x28f)](d['takeUntil'](this[_0x2b2f61(0x279)]))[_0x2b2f61(0x1cd)](_0x503a9f=>{_0x503a9f&&this['_updateURLWithCurrentState'](_0x503a9f);}),this[_0x2b2f61(0x278)][_0x2b2f61(0x14c)][_0x2b2f61(0x28f)](d[_0x2b2f61(0x206)](this[_0x2b2f61(0x279)]))[_0x2b2f61(0x1cd)](()=>this[_0x2b2f61(0x245)](_0xe58aab));}[_0xb1f837(0x2ab)](_0x27e96f,_0x135c25=!0x1){const _0x2ee746=_0xb1f837,_0x439444=this['_urlService'][_0x2ee746(0xfc)](_0x2ee746(0xa0));_0x27e96f[_0x2ee746(0x14b)]()!==_0x439444&&this[_0x2ee746(0x278)]['setParam'](_0x2ee746(0xa0),_0x27e96f[_0x2ee746(0x14b)](),_0x135c25);}async[_0xb1f837(0x245)](_0x175b02){const _0x26fec4=_0xb1f837;var _0x134d74;const _0x21f165=this[_0x26fec4(0x278)]['getParam'](_0x26fec4(0xa0));if(!_0x21f165||!_0x175b02[_0x26fec4(0x242)](_0x21f165)){const _0x2df19f=_0x175b02[_0x26fec4(0x256)]()[0x0],_0x6a4d33=_0x175b02[_0x26fec4(0x242)](_0x2df19f);if(!_0x6a4d33)return;this[_0x26fec4(0x2ab)](_0x6a4d33,!0x0),await this[_0x26fec4(0x275)][_0x26fec4(0x2e0)](g[_0x26fec4(0x272)]['id'],{'unitId':_0x175b02[_0x26fec4(0xd4)](),'subUnitId':_0x2df19f});return;}((_0x134d74=_0x175b02[_0x26fec4(0xa6)]())==null?void 0x0:_0x134d74[_0x26fec4(0x14b)]())!==_0x21f165&&await this['_commandService']['executeCommand'](g[_0x26fec4(0x272)]['id'],{'unitId':_0x175b02[_0x26fec4(0xd4)](),'subUnitId':_0x21f165});}},exports[_0xb1f837(0x1ff)]=Bt([F(0x0,Ee),F(0x1,a[_0xb1f837(0x261)]),F(0x2,a[_0xb1f837(0x19c)]),F(0x3,a[_0xb1f837(0x175)](u[_0xb1f837(0x2c2)])),F(0x4,a[_0xb1f837(0x181)](Ke[_0xb1f837(0x16b)]))],exports[_0xb1f837(0x1ff)]);var jt=Object[_0xb1f837(0x19a)],kt=(_0x2ae741,_0x1be8c0,_0x5b750f,_0x3a846d)=>{const _0x3bb871=_0xb1f837;for(var _0x1246c0=_0x3a846d>0x1?void 0x0:_0x3a846d?jt(_0x1be8c0,_0x5b750f):_0x1be8c0,_0x24144b=_0x2ae741[_0x3bb871(0x257)]-0x1,_0x364b56;_0x24144b>=0x0;_0x24144b--)(_0x364b56=_0x2ae741[_0x24144b])&&(_0x1246c0=_0x364b56(_0x1246c0)||_0x1246c0);return _0x1246c0;},ce=(_0x390e77,_0x48938f)=>(_0x36d30f,_0x1e3825)=>_0x48938f(_0x36d30f,_0x1e3825,_0x390e77);let z=class{constructor(_0x44b821,_0x3a023d,_0x3ec4cf){const _0x332eb3=_0xb1f837;this[_0x332eb3(0x144)]=_0x44b821,this[_0x332eb3(0x250)]=_0x3a023d,this[_0x332eb3(0x118)]=_0x3ec4cf;}[_0xb1f837(0x117)](_0x4d2557){const _0x146414=_0xb1f837;this[_0x146414(0x215)](_0x4d2557),this[_0x146414(0x1ec)](_0x4d2557);}['transformRemoteChangeset'](_0x2d1a00){const _0x4ba10f=_0xb1f837,{unitID:_0x1ba8f8}=_0x2d1a00,_0x5ee9ea=this[_0x4ba10f(0x118)][_0x4ba10f(0x1f0)](_0x1ba8f8)[_0x4ba10f(0x102)](E['DocIMEInputManagerService']),{redoCache:_0x34f4e3}=_0x5ee9ea['getUndoRedoMutationParamsCache']();if(_0x34f4e3[_0x4ba10f(0x257)]===0x0)return _0x2d1a00;let _0x5f50d3=a[_0x4ba10f(0x2ce)][_0x4ba10f(0x17b)](_0x2d1a00[_0x4ba10f(0xbc)][0x0]);for(let _0x195e1c=0x0;_0x195e1c<_0x34f4e3['length'];_0x195e1c++){const _0x169bd3={'id':_0x4ba10f(0x10c),'params':{..._0x34f4e3[_0x195e1c]}},_0x486547=this[_0x4ba10f(0x250)][_0x4ba10f(0x2e1)](_0x5f50d3,_0x169bd3,!0x1);if(m[_0x4ba10f(0x19f)](_0x486547))throw _0x486547['error'];_0x5f50d3=_0x486547[_0x4ba10f(0xaa)];}return{...a['Tools']['deepClone'](_0x2d1a00),'mutations':[_0x5f50d3]};}[_0xb1f837(0x215)](_0x53d259){const _0xb6fd0d=_0xb1f837,{unitID:_0x4ad461}=_0x53d259,_0xe37ab0=this[_0xb6fd0d(0x118)][_0xb6fd0d(0x1f0)](_0x4ad461)[_0xb6fd0d(0x102)](E[_0xb6fd0d(0x22a)]),{undoCache:_0x53f2e8,redoCache:_0x312f63}=_0xe37ab0[_0xb6fd0d(0x77)]();if(_0x53f2e8[_0xb6fd0d(0x257)]===0x0||_0x312f63[_0xb6fd0d(0x257)]===0x0)return;const _0x5bf148=[],_0x4ddf2d=[];let _0x77221c=a[_0xb6fd0d(0x2ce)][_0xb6fd0d(0x17b)](_0x53d259[_0xb6fd0d(0xbc)][0x0]),_0x54d1b1=a[_0xb6fd0d(0x2ce)][_0xb6fd0d(0x17b)](_0x53d259[_0xb6fd0d(0xbc)][0x0]);for(let _0x29c6c4=_0x53f2e8[_0xb6fd0d(0x257)]-0x1;_0x29c6c4>=0x0;_0x29c6c4--){const _0x2731be={'id':_0xb6fd0d(0x10c),'params':{..._0x53f2e8[_0x29c6c4]}},_0x5982bf={'id':_0xb6fd0d(0x10c),'params':{..._0x312f63[_0x29c6c4]}},_0x4f8349=this['_transformService'][_0xb6fd0d(0x2e1)](_0x77221c,_0x2731be,!0x1),_0x64efd0=this[_0xb6fd0d(0x250)]['transformMutation'](_0x54d1b1,_0x5982bf,!0x1);if(m[_0xb6fd0d(0x19f)](_0x4f8349))throw _0x4f8349['error'];if(m['isTransformMutationFailure'](_0x64efd0))throw _0x64efd0[_0xb6fd0d(0x1b1)];_0x5bf148[_0xb6fd0d(0x239)](_0x4f8349['m2Prime'][_0xb6fd0d(0xff)]),_0x4ddf2d['unshift'](_0x64efd0['m2Prime']['params']),_0x77221c=_0x4f8349[_0xb6fd0d(0xaa)],_0x54d1b1=_0x64efd0[_0xb6fd0d(0xaa)];}_0xe37ab0['setUndoRedoMutationParamsCache']({'undoCache':_0x5bf148,'redoCache':_0x4ddf2d});}[_0xb1f837(0x1ec)](_0x35c099){const _0x485873=_0xb1f837,{unitID:_0x511f9d}=_0x35c099,_0x10bd29=this[_0x485873(0x118)][_0x485873(0x1f0)](_0x511f9d)[_0x485873(0x102)](E[_0x485873(0x22a)]),_0x520ba5=_0x10bd29['getActiveRange']();if(_0x520ba5==null)return;const _0x111f18=[{'id':_0x485873(0x10c),'params':{'unitId':_0x35c099[_0x485873(0x1e2)],'actions':null,'textRanges':[_0x520ba5]}}],_0x30dd92=this[_0x485873(0x250)][_0x485873(0xea)](_0x35c099,_0x111f18);if(!m[_0x485873(0x2e2)](_0x30dd92))throw _0x30dd92[_0x485873(0x1b1)];const _0x6789b4=_0x30dd92[_0x485873(0x24e)][0x0][_0x485873(0xff)][_0x485873(0x165)];Array[_0x485873(0x9b)](_0x6789b4)&&_0x6789b4['length']&&_0x10bd29[_0x485873(0xae)](_0x6789b4[0x0]);}};z=kt([ce(0x0,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),ce(0x1,m[_0xb1f837(0x1c4)]),ce(0x2,p['IRenderManagerService'])],z);var Ft=Object[_0xb1f837(0x19a)],Ht=(_0x1d32b0,_0x4844f0,_0x561eed,_0x57118e)=>{for(var _0x28491b=_0x57118e>0x1?void 0x0:_0x57118e?Ft(_0x4844f0,_0x561eed):_0x4844f0,_0x238f48=_0x1d32b0['length']-0x1,_0xdd6c39;_0x238f48>=0x0;_0x238f48--)(_0xdd6c39=_0x1d32b0[_0x238f48])&&(_0x28491b=_0xdd6c39(_0x28491b)||_0x28491b);return _0x28491b;},le=(_0x36e746,_0x4b805e)=>(_0x4b9cf7,_0x22a9f8)=>_0x4b805e(_0x4b9cf7,_0x22a9f8,_0x36e746);let J=class{constructor(_0x18ab27,_0x18d1a2,_0x3234a8){const _0x515351=_0xb1f837;this[_0x515351(0x144)]=_0x18ab27,this[_0x515351(0x250)]=_0x18d1a2,this['_docStateChangeManagerService']=_0x3234a8;}[_0xb1f837(0x2b8)](_0x4f81c6){const _0x69084d=_0xb1f837;this[_0x69084d(0x1e9)](_0x4f81c6);}['transformRemoteChangeset'](_0x24ff37){const _0x2ae374=_0xb1f837,{unitID:_0x2fa0c6}=_0x24ff37,{collaboration:_0x4a2f13}=this[_0x2ae374(0x2c7)][_0x2ae374(0x1f2)](_0x2fa0c6);if(_0x4a2f13[_0x2ae374(0x257)]===0x0)return _0x24ff37;let _0x1e56dd=a['Tools']['deepClone'](_0x24ff37['mutations'][0x0]);for(let _0x104e25=0x0;_0x104e25<_0x4a2f13[_0x2ae374(0x257)];_0x104e25++){const _0x306e17={'id':_0x2ae374(0x10c),'params':{'unitId':_0x4a2f13[_0x104e25][_0x2ae374(0x211)],..._0x4a2f13[_0x104e25][_0x2ae374(0x19e)]}},_0x5a740b=this['_transformService'][_0x2ae374(0x2e1)](_0x1e56dd,_0x306e17,!0x1);if(m[_0x2ae374(0x19f)](_0x5a740b))throw _0x5a740b[_0x2ae374(0x1b1)];_0x1e56dd=_0x5a740b[_0x2ae374(0xaa)];}return{...a[_0x2ae374(0x2ce)][_0x2ae374(0x17b)](_0x24ff37),'mutations':[_0x1e56dd]};}[_0xb1f837(0x1e9)](_0x4ebd39){const _0x4a291f=_0xb1f837,{unitID:_0x4726f0}=_0x4ebd39,{history:_0x33565b,collaboration:_0x27e8a4}=this[_0x4a291f(0x2c7)][_0x4a291f(0x1f2)](_0x4726f0);if(_0x33565b['length']===0x0&&_0x27e8a4[_0x4a291f(0x257)]===0x0)return;const _0xea436e=[],_0x4a371f=[];let _0x2c5401=a['Tools'][_0x4a291f(0x17b)](_0x4ebd39['mutations'][0x0]),_0x37fca3=a[_0x4a291f(0x2ce)][_0x4a291f(0x17b)](_0x4ebd39[_0x4a291f(0xbc)][0x0]);for(let _0x606623=_0x33565b[_0x4a291f(0x257)]-0x1;_0x606623>=0x0;_0x606623--){const _0x3d34aa={'id':_0x4a291f(0x10c),'params':{'unitId':_0x33565b[_0x606623][_0x4a291f(0x211)],..._0x33565b[_0x606623][_0x4a291f(0x12d)]}},_0x2e2727={'id':_0x4a291f(0x10c),'params':{'unitId':_0x33565b[_0x606623][_0x4a291f(0x211)],..._0x33565b[_0x606623]['redoState']}},_0x27c487=this[_0x4a291f(0x250)]['transformMutation'](_0x2c5401,_0x3d34aa,!0x1),_0x3c399b=this[_0x4a291f(0x250)]['transformMutation'](_0x37fca3,_0x2e2727,!0x1);if(m[_0x4a291f(0x19f)](_0x27c487))throw _0x27c487[_0x4a291f(0x1b1)];if(m[_0x4a291f(0x19f)](_0x3c399b))throw _0x3c399b[_0x4a291f(0x1b1)];_0xea436e[_0x4a291f(0x239)]({..._0x33565b[_0x606623],'undoState':_0x27c487[_0x4a291f(0x24e)]['params'],'redoState':_0x3c399b['m2Prime']['params']}),_0x2c5401=_0x27c487[_0x4a291f(0xaa)],_0x37fca3=_0x3c399b[_0x4a291f(0xaa)];}_0x2c5401=a[_0x4a291f(0x2ce)][_0x4a291f(0x17b)](_0x4ebd39['mutations'][0x0]),_0x37fca3=a[_0x4a291f(0x2ce)]['deepClone'](_0x4ebd39[_0x4a291f(0xbc)][0x0]);for(let _0x57eb69=_0x27e8a4[_0x4a291f(0x257)]-0x1;_0x57eb69>=0x0;_0x57eb69--){const _0x54422e={'id':_0x4a291f(0x10c),'params':{'unitId':_0x27e8a4[_0x57eb69][_0x4a291f(0x211)],..._0x27e8a4[_0x57eb69][_0x4a291f(0x12d)]}},_0x659cac={'id':_0x4a291f(0x10c),'params':{'unitId':_0x27e8a4[_0x57eb69][_0x4a291f(0x211)],..._0x27e8a4[_0x57eb69][_0x4a291f(0x19e)]}},_0x1078e3=this['_transformService']['transformMutation'](_0x2c5401,_0x54422e,!0x1),_0x1ed673=this['_transformService']['transformMutation'](_0x37fca3,_0x659cac,!0x1);if(m['isTransformMutationFailure'](_0x1078e3))throw _0x1078e3[_0x4a291f(0x1b1)];if(m[_0x4a291f(0x19f)](_0x1ed673))throw _0x1ed673['error'];_0x4a371f[_0x4a291f(0x239)]({..._0x27e8a4[_0x57eb69],'undoState':_0x1078e3[_0x4a291f(0x24e)][_0x4a291f(0xff)],'redoState':_0x1ed673[_0x4a291f(0x24e)][_0x4a291f(0xff)]}),_0x2c5401=_0x1078e3[_0x4a291f(0xaa)],_0x37fca3=_0x1ed673[_0x4a291f(0xaa)];}this[_0x4a291f(0x2c7)][_0x4a291f(0x1d1)](_0x4726f0,{'history':_0xea436e,'collaboration':_0x4a371f});}};J=Ht([le(0x0,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),le(0x1,m[_0xb1f837(0x1c4)]),le(0x2,a['Inject'](E[_0xb1f837(0x12b)]))],J);var Yt=Object[_0xb1f837(0x19a)],Wt=(_0xa74f42,_0x2228cb,_0x2ec1b7,_0x5ca474)=>{for(var _0x122c23=_0x5ca474>0x1?void 0x0:_0x5ca474?Yt(_0x2228cb,_0x2ec1b7):_0x2228cb,_0x5acd17=_0xa74f42['length']-0x1,_0x519248;_0x5acd17>=0x0;_0x5acd17--)(_0x519248=_0xa74f42[_0x5acd17])&&(_0x122c23=_0x519248(_0x122c23)||_0x122c23);return _0x122c23;},Ne=(_0x45f633,_0x2105c9)=>(_0x400f24,_0x5c4ffa)=>_0x2105c9(_0x400f24,_0x5c4ffa,_0x45f633);function _0x48f4(_0x4d2ba8,_0x52210d){const _0xd3b9a0=_0xd3b9();return _0x48f4=function(_0x48f47,_0x4bc85e){_0x48f47=_0x48f47-0x6a;let _0x7c40b1=_0xd3b9a0[_0x48f47];return _0x7c40b1;},_0x48f4(_0x4d2ba8,_0x52210d);}let Z=class{constructor(_0x2a2540,_0x4b850c){this['_injector']=_0x2a2540,this['_transformService']=_0x4b850c;}[_0xb1f837(0xc3)](_0x5cdd7e){const _0x1f3dc5=_0xb1f837;var _0x51652a;const _0x3d8c41=this[_0x1f3dc5(0x144)][_0x1f3dc5(0xd1)](Y[_0x1f3dc5(0x285)]),_0x5b5bd1=(_0x51652a=_0x3d8c41[_0x1f3dc5(0x218)]())!=null?_0x51652a:[];if(_0x5b5bd1['length']===0x0)return;const _0x1d19e7=_0x5cdd7e[_0x1f3dc5(0x1e2)],_0x59f53c=[{'id':_0x1f3dc5(0x10c),'params':{'unitId':_0x1d19e7,'actions':null,'textRanges':_0x5b5bd1}}],_0x15fed7=this[_0x1f3dc5(0x250)][_0x1f3dc5(0xea)](_0x5cdd7e,_0x59f53c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x15fed7))throw _0x15fed7[_0x1f3dc5(0x1b1)];const _0xa29767=_0x15fed7[_0x1f3dc5(0x24e)][0x0][_0x1f3dc5(0xff)][_0x1f3dc5(0x165)];Array[_0x1f3dc5(0x9b)](_0xa29767)&&_0xa29767['length']&&_0x3d8c41[_0x1f3dc5(0x135)](_0xa29767,{'unitId':_0x1d19e7,'subUnitId':_0x1d19e7},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0xb1f837(0x172)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x1d3b5d,_0x1a57fa,_0x3088cb,_0x225197)=>{const _0x177c9c=_0xb1f837;for(var _0x1ae496=_0x225197>0x1?void 0x0:_0x225197?Vt(_0x1a57fa,_0x3088cb):_0x1a57fa,_0x43ef67=_0x1d3b5d[_0x177c9c(0x257)]-0x1,_0x2dd383;_0x43ef67>=0x0;_0x43ef67--)(_0x2dd383=_0x1d3b5d[_0x43ef67])&&(_0x1ae496=_0x2dd383(_0x1ae496)||_0x1ae496);return _0x1ae496;},N=(_0x5c4ec5,_0x1f26c9)=>(_0x33827c,_0x58030c)=>_0x1f26c9(_0x33827c,_0x58030c,_0x5c4ec5);let Q=class extends a['Disposable']{constructor(_0x17dee0,_0x452e7c,_0x2b3e76,_0x1fc4ff,_0x4719a5,_0x234b7a,_0x468b5c,_0x2b426f){const _0x19fa97=_0xb1f837;super(),h(this,_0x19fa97(0x212),new d['BehaviorSubject'](u[_0x19fa97(0x1f5)][_0x19fa97(0xdd)])),(this['_docStateChangeManagerService']=_0x17dee0,this['_collaborationController']=_0x452e7c,this[_0x19fa97(0x237)]=_0x2b3e76,this[_0x19fa97(0xce)]=_0x1fc4ff,this['_docTransformSelectionsService']=_0x4719a5,this[_0x19fa97(0xfd)]=_0x234b7a,this['_messageService']=_0x468b5c,this[_0x19fa97(0xa5)]=_0x2b426f,this[_0x19fa97(0x23f)]());}[_0xb1f837(0x23f)](){const _0x36b2c9=_0xb1f837;this[_0x36b2c9(0xd6)](this[_0x36b2c9(0x86)][_0x36b2c9(0x13d)][_0x36b2c9(0x1cd)](_0x3cce6d=>{const _0x323436=_0x36b2c9,_0x40019e=this[_0x323436(0x2c7)][_0x323436(0x157)]['subscribe'](_0x322aec=>{const _0x332679=_0x323436;if(_0x322aec==null)return;const {unitId:_0x396ecc,redoState:_0x521a37,commandId:_0x23ce78}=_0x322aec;if(_0x396ecc!==_0x3cce6d[_0x332679(0x1e2)])return;const _0x4b477a={'id':_0x23ce78,'type':a[_0x332679(0x171)][_0x332679(0x281)],'params':{'unitId':_0x396ecc,'actions':_0x521a37['actions'],'textRanges':null}};_0x3cce6d[_0x332679(0x1d9)](_0x4b477a);});if(_0x3cce6d[_0x323436(0xd6)](_0x40019e),_0x3cce6d instanceof u[_0x323436(0x1e8)]){const _0x4d0914={'onTransformIME':_0x5d6cf5=>this['_docTransformIMECacheService'][_0x323436(0x117)](_0x5d6cf5),'onTransformState':_0x4dac9b=>this[_0x323436(0xce)][_0x323436(0x2b8)](_0x4dac9b),'onTransformSelections':_0x32ccee=>this[_0x323436(0x1b0)][_0x323436(0xc3)](_0x32ccee),'onSyncEditingCollabCursor':_0x18d523=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x18d523),'onTransformRemoteChangesetByIMECache':_0x457835=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x457835),'onTransformRemoteChangesetByStateCache':_0x36b29d=>this[_0x323436(0xce)][_0x323436(0xe4)](_0x36b29d)};_0x3cce6d[_0x323436(0x18d)](_0x4d0914);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0xb1f837(0x12b)])),N(0x1,a['Inject'](u[_0xb1f837(0xb6)])),N(0x2,a[_0xb1f837(0x175)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0xb1f837(0x175)](Z)),N(0x5,a[_0xb1f837(0x175)](Ce)),N(0x6,O[_0xb1f837(0x27c)]),N(0x7,a[_0xb1f837(0x175)](a[_0xb1f837(0x154)]))],Q);var Gt=Object[_0xb1f837(0x19a)],Kt=(_0x1d52a2,_0x48460b,_0x4ceed9,_0x5df50b)=>{for(var _0x45dc40=_0x5df50b>0x1?void 0x0:_0x5df50b?Gt(_0x48460b,_0x4ceed9):_0x48460b,_0x413a03=_0x1d52a2['length']-0x1,_0x2afd7a;_0x413a03>=0x0;_0x413a03--)(_0x2afd7a=_0x1d52a2[_0x413a03])&&(_0x45dc40=_0x2afd7a(_0x45dc40)||_0x45dc40);return _0x45dc40;},_e=(_0x53777b,_0x12f8f2)=>(_0x2e1c04,_0x126c02)=>_0x12f8f2(_0x2e1c04,_0x126c02,_0x53777b);let ge=class extends a['Disposable']{constructor(_0x35bd6a,_0x2d868a,_0x58ccd8){const _0x100743=_0xb1f837;super(),h(this,_0x100743(0x91),new Map()),h(this,_0x100743(0x125),new Map()),h(this,_0x100743(0x131),!0x1),(this['_configService']=_0x35bd6a,this[_0x100743(0x2ea)]=_0x2d868a,this[_0x100743(0x16c)]=_0x58ccd8);}[_0xb1f837(0x106)](){const _0x19bd86=_0xb1f837;this[_0x19bd86(0x131)]=!0x0;}[_0xb1f837(0x98)](){const _0x1afdcd=_0xb1f837;this[_0x1afdcd(0x131)]=!0x1;}get['saveTaskMap'](){const _0x5f282f=_0xb1f837;return this[_0x5f282f(0x125)];}[_0xb1f837(0x8c)](){const _0x2a5bad=_0xb1f837;this['exhaustSavingTask']()[_0x2a5bad(0x1ba)](()=>super['dispose']());}async['loadOfflineData'](_0x3eae20){const _0x50707b=_0xb1f837;return this[_0x50707b(0x131)]?null:this[_0x50707b(0x2ea)]['getItem'](u[_0x50707b(0x295)](_0x3eae20));}async[_0xb1f837(0x25b)](_0x10a218,_0x3c39db){const _0x1d2691=_0xb1f837;return!!this[_0x1d2691(0x2ea)][_0x1d2691(0x286)](_0x10a218,_0x3c39db);}['updateOfflineData'](_0x397517,_0x1cf947,_0x4b32a7,_0x570885){const _0x30cf75=_0xb1f837,_0x1e2ffa=this['_revisionService'][_0x30cf75(0x13a)](_0x397517);this[_0x30cf75(0x91)][_0x30cf75(0x134)](_0x397517,{'unitID':_0x397517,'type':_0x1cf947,'awaitingChangeset':_0x4b32a7,'mutations':_0x570885,'rev':_0x1e2ffa}),this[_0x30cf75(0x125)]['has'](_0x397517)||this[_0x30cf75(0x10b)](_0x397517);}[_0xb1f837(0x10b)](_0x134d8c){const _0x554f0c=_0xb1f837,_0x54d5bd=this[_0x554f0c(0x252)]();_0x54d5bd===0x0?this['_saveCache'](_0x134d8c):this[_0x554f0c(0x125)]['set'](_0x134d8c,setTimeout(()=>this['_saveCache'](_0x134d8c),_0x54d5bd));}[_0xb1f837(0x252)](){const _0x3ab6f1=_0xb1f837;var _0x2ef190;return(_0x2ef190=this[_0x3ab6f1(0x12a)][_0x3ab6f1(0x100)](u[_0x3ab6f1(0x193)]))!=null?_0x2ef190:u[_0x3ab6f1(0x2e7)];}[_0xb1f837(0x2e4)](_0xf67444){const _0x25dc92=_0xb1f837,_0x4f77c2=this['_saveTaskMap']['get'](_0xf67444);return _0x4f77c2!==void 0x0&&window[_0x25dc92(0x1d8)](_0x4f77c2),this[_0x25dc92(0x2ea)][_0x25dc92(0x286)](u[_0x25dc92(0x295)](_0xf67444),this[_0x25dc92(0x91)]['get'](_0xf67444))[_0x25dc92(0x1ba)](()=>this[_0x25dc92(0x125)][_0x25dc92(0x1b2)](_0xf67444));}async[_0xb1f837(0x1b5)](){const _0x15860e=_0xb1f837,_0x314456=[];this['_saveTaskMap']['forEach']((_0x318cc3,_0x2f2a67)=>{const _0x1dd3e9=_0x48f4;window[_0x1dd3e9(0x1d8)](_0x318cc3),_0x314456['push'](this[_0x1dd3e9(0x2e4)](_0x2f2a67)['then'](()=>{const _0x4dfea4=_0x1dd3e9;this[_0x4dfea4(0x125)][_0x4dfea4(0x1b2)](_0x2f2a67);}));}),await Promise[_0x15860e(0xeb)](_0x314456);}};ge=Kt([_e(0x0,a[_0xb1f837(0x253)]),_e(0x1,a[_0xb1f837(0x105)]),_e(0x2,a['Inject'](m[_0xb1f837(0x23e)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x19715c=_0xb1f837;super(),h(this,_0x19715c(0x14c)),this['urlChange$']=d['fromEvent'](window,'popstate')[_0x19715c(0x28f)](d[_0x19715c(0x206)](this[_0x19715c(0x279)]),d['shareReplay'](0x1),d[_0x19715c(0x234)](void 0x0));}[_0xb1f837(0xe8)](_0x4c2cb5,_0x29d655,_0x4cb74b=!0x1){const _0x236f33=_0xb1f837,_0x1325b1=new URL(window[_0x236f33(0x28a)]['href']);_0x1325b1[_0x236f33(0x124)][_0x236f33(0x134)](_0x4c2cb5,_0x29d655),_0x4cb74b?window[_0x236f33(0x276)]['replaceState']('','',_0x1325b1['toString']()):window[_0x236f33(0x276)][_0x236f33(0x74)]('','',_0x1325b1['toString']());}[_0xb1f837(0x1fc)](_0x25ca3f,_0x46fdbc=!0x1){const _0xee324c=_0xb1f837,_0x20d2f6=new URL(window[_0xee324c(0x28a)][_0xee324c(0x2bf)]);_0x20d2f6[_0xee324c(0x124)][_0xee324c(0x1b2)](_0x25ca3f),_0x46fdbc?window[_0xee324c(0x276)][_0xee324c(0xe1)]('','',_0x20d2f6['toString']()):window[_0xee324c(0x276)]['pushState']('','',_0x20d2f6[_0xee324c(0x180)]());}[_0xb1f837(0xfc)](_0x546399){const _0x27d923=_0xb1f837;var _0x10c355;return(_0x10c355=new URL(window[_0x27d923(0x28a)][_0x27d923(0x2bf)])[_0x27d923(0x124)][_0x27d923(0xd1)](_0x546399))!=null?_0x10c355:void 0x0;}}var qt=Object[_0xb1f837(0x1ca)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x494147,_0x23791f,_0x5e130b)=>_0x23791f in _0x494147?qt(_0x494147,_0x23791f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e130b}):_0x494147[_0x23791f]=_0x5e130b,Zt=(_0xdec0b1,_0x3e52ca,_0x23aa9d,_0x522ce4)=>{for(var _0x2b510c=_0x522ce4>0x1?void 0x0:_0x522ce4?zt(_0x3e52ca,_0x23aa9d):_0x3e52ca,_0x53d9a2=_0xdec0b1['length']-0x1,_0x3e620c;_0x53d9a2>=0x0;_0x53d9a2--)(_0x3e620c=_0xdec0b1[_0x53d9a2])&&(_0x2b510c=_0x3e620c(_0x2b510c)||_0x2b510c);return _0x2b510c;},he=(_0x2cb4fe,_0x3ca6f3)=>(_0x3fe25e,_0x70892c)=>_0x3ca6f3(_0x3fe25e,_0x70892c,_0x2cb4fe),Qt=(_0x173248,_0x1ef21b,_0x35c077)=>Jt(_0x173248,_0x1ef21b+'',_0x35c077);const es=_0xb1f837(0x184);exports[_0xb1f837(0x178)]=class extends a[_0xb1f837(0xcb)]{constructor(_0x2dfc0d=Ue,_0x52ce36,_0x1707ec,_0x3c21d7){const _0x34f971=_0xb1f837;super(),this[_0x34f971(0x174)]=_0x2dfc0d,this['_renderManagerService']=_0x52ce36,this[_0x34f971(0x144)]=_0x1707ec,this[_0x34f971(0x12a)]=_0x3c21d7;const {..._0x47f3db}=a[_0x34f971(0x20b)]({},Ue,this[_0x34f971(0x174)]);this['_configService']['setConfig']($t,_0x47f3db);}[_0xb1f837(0x2d3)](){const _0x320650=_0xb1f837;this[_0x320650(0x1c7)](),this[_0x320650(0x262)]();}[_0xb1f837(0x155)](){const _0x3ccc5f=_0xb1f837;this[_0x3ccc5f(0x13c)]();}[_0xb1f837(0x1c7)](){const _0x711e65=_0xb1f837;var _0x20914e;const _0x17bd3c=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x711e65(0x1ae)],{'useClass':G['WebSocketService']}],[u[_0x711e65(0xf2)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x711e65(0x1ff)]]];a[_0x711e65(0x18e)](this[_0x711e65(0x144)],a[_0x711e65(0x210)](_0x17bd3c,(_0x20914e=this[_0x711e65(0x174)])==null?void 0x0:_0x20914e[_0x711e65(0x1a3)]));}[_0xb1f837(0x13c)](){const _0x579303=_0xb1f837;this['disposeWithMe'](this[_0x579303(0x118)][_0x579303(0x7f)](a[_0x579303(0x1be)][_0x579303(0x29a)],[fe])),this[_0x579303(0xd6)](this[_0x579303(0x118)][_0x579303(0x7f)](a[_0x579303(0x1be)][_0x579303(0x11f)],[ve]));}[_0xb1f837(0x262)](){const _0x35e3fd=_0xb1f837;a[_0x35e3fd(0x29e)](this[_0x35e3fd(0x144)],[[x],[exports[_0x35e3fd(0x194)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],'pluginName',es),exports[_0xb1f837(0x178)]=Zt([a[_0xb1f837(0xfe)](u[_0xb1f837(0x25d)]),he(0x1,p['IRenderManagerService']),he(0x2,a['Inject'](a[_0xb1f837(0x172)])),he(0x3,a[_0xb1f837(0x253)])],exports[_0xb1f837(0x178)]);var ts=Object[_0xb1f837(0x19a)],ss=(_0xc53a5b,_0x14e784,_0x11243a,_0x2d821b)=>{const _0x5ab469=_0xb1f837;for(var _0xe55518=_0x2d821b>0x1?void 0x0:_0x2d821b?ts(_0x14e784,_0x11243a):_0x14e784,_0x5ccec1=_0xc53a5b[_0x5ab469(0x257)]-0x1,_0x6633bc;_0x5ccec1>=0x0;_0x5ccec1--)(_0x6633bc=_0xc53a5b[_0x5ccec1])&&(_0xe55518=_0x6633bc(_0xe55518)||_0xe55518);return _0xe55518;},H=(_0xb9d7ea,_0x5030c2)=>(_0x459a9d,_0x5f4246)=>_0x5030c2(_0x459a9d,_0x5f4246,_0xb9d7ea);exports['BrowserCollaborationSocketService']=class extends u[_0xb1f837(0x294)]{constructor(_0x5b6b2b,_0x58f1bd,_0x5a0b28,_0x2baa2a,_0x1bcff2){super(_0x5b6b2b,_0x58f1bd,_0x5a0b28,_0x2baa2a,_0x1bcff2);}async[_0xb1f837(0x110)](_0x3a4af4){const _0x530449=_0xb1f837,_0x99e49c=await this[_0x530449(0x122)](),_0x449730=this[_0x530449(0xc5)](_0x3a4af4,_0x99e49c);return this[_0x530449(0x83)](_0x449730);}['_createSocketURL'](_0x356a5f,_0x16ba8d){const _0x3f1ba6=_0xb1f837,_0x4bb9c9=typeof window>'u'?new URL(_0x356a5f):new URL(_0x356a5f,window[_0x3f1ba6(0x28a)][_0x3f1ba6(0x1d3)]);_0x4bb9c9['searchParams'][_0x3f1ba6(0x134)](_0x3f1ba6(0x2e5),_0x16ba8d);const _0x96f99=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f1ba6(0x28a)]['search']);return _0x96f99[_0x3f1ba6(0xd1)]('runId')&&_0x4bb9c9[_0x3f1ba6(0x124)][_0x3f1ba6(0x134)](_0x3f1ba6(0xd7),_0x96f99[_0x3f1ba6(0xd1)](_0x3f1ba6(0xd7))),_0x4bb9c9[_0x3f1ba6(0x180)]();}async[_0xb1f837(0x122)](){const _0x57d343=_0xb1f837;var _0x261735,_0x36e358,_0x19a6c5;const _0x5b700b=this[_0x57d343(0x12a)]['getConfig'](u[_0x57d343(0x2a7)]),_0x422bf3=(_0x261735=_0x5b700b==null?void 0x0:_0x5b700b['wsSessionTicketUrl'])!=null?_0x261735:u[_0x57d343(0x20a)];return(_0x19a6c5=(_0x36e358=(await this['_httpService'][_0x57d343(0xd1)](_0x422bf3,{'headers':{'Content-Type':_0x57d343(0x103)}}))[_0x57d343(0x207)])==null?void 0x0:_0x36e358[_0x57d343(0x297)])!=null?_0x19a6c5:'';}},exports[_0xb1f837(0xbe)]=ss([H(0x0,a['Inject'](a[_0xb1f837(0x172)])),H(0x1,a['Inject'](G[_0xb1f837(0x249)])),H(0x2,a['IConfigService']),H(0x3,a[_0xb1f837(0x261)]),H(0x4,m[_0xb1f837(0x1ed)])],exports[_0xb1f837(0xbe)]);const Me=0x7530,Le=_0xb1f837(0x2b9);class is extends a[_0xb1f837(0x2af)]{constructor(){const _0x5bf4a3=_0xb1f837;super(),h(this,_0x5bf4a3(0x104),a[_0x5bf4a3(0x1a4)]()),h(this,_0x5bf4a3(0xd5),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x5bf4a3(0x15e),null),h(this,_0x5bf4a3(0x267),new Map()),h(this,_0x5bf4a3(0x6e),new Map()),this[_0x5bf4a3(0x26a)]();}[_0xb1f837(0x8c)](){const _0x552e7d=_0xb1f837;super[_0x552e7d(0x8c)](),this[_0x552e7d(0x267)][_0x552e7d(0x13f)]((_0x3f27aa,_0x5e812a)=>this[_0x552e7d(0xcf)](_0x5e812a)),this[_0x552e7d(0x15e)]&&window[_0x552e7d(0x6a)](this[_0x552e7d(0x15e)]);}[_0xb1f837(0x12e)](_0x451f10){const _0x5780bd=_0xb1f837;return this[_0x5780bd(0x22e)](_0x451f10)[_0x5780bd(0x28f)](d[_0x5780bd(0x11c)]());}['editingUnit'](_0x3e6223){const _0x365108=_0xb1f837;this['_selfUnitIDs'][_0x365108(0x1df)]===0x0&&this[_0x365108(0x1f8)](),this['_selfUnitIDs'][_0x365108(0x291)](_0x3e6223),this[_0x365108(0xb8)]({'type':0x0,'memberID':this[_0x365108(0x104)],'unitIDs':[_0x3e6223],'isForwarded':!0x1});}['disposeUnit'](_0x277e01){const _0x46b87d=_0xb1f837;this['_selfUnitIDs'][_0x46b87d(0x1b2)](_0x277e01),this[_0x46b87d(0xd5)][_0x46b87d(0x1df)]===0x0&&this[_0x46b87d(0x15e)]&&window[_0x46b87d(0x6a)](this[_0x46b87d(0x15e)]);}['_init'](){const _0x19b282=_0xb1f837;this[_0x19b282(0xd6)](a[_0x19b282(0x2aa)](d[_0x19b282(0x1c0)](window,_0x19b282(0x138))[_0x19b282(0x1cd)](_0x1eec56=>{const _0x2909e8=_0x19b282;if(_0x1eec56[_0x2909e8(0x26f)]!==Le||!_0x1eec56[_0x2909e8(0x2a8)])return;const _0xe9ebbf=JSON[_0x2909e8(0x258)](_0x1eec56[_0x2909e8(0x2a8)]);this[_0x2909e8(0x161)](_0xe9ebbf);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x19b282(0x104)],'unitIDs':Array[_0x19b282(0x2d9)](this[_0x19b282(0xd5)])}));}[_0xb1f837(0x161)](_0x5ac4fb){const _0x22a37f=_0xb1f837;switch(_0x5ac4fb['type']){case 0x0:this[_0x22a37f(0x209)](_0x5ac4fb);break;case 0x1:this[_0x22a37f(0x17c)](_0x5ac4fb);break;case 0x2:this[_0x22a37f(0x1b4)](_0x5ac4fb);break;}}[_0xb1f837(0x209)](_0x16e364){const _0x355724=_0xb1f837,{unitIDs:_0x378144,memberID:_0x182b1c,isForwarded:_0x21ce93}=_0x16e364;_0x378144['forEach'](_0x4ac8b2=>{const _0x5b325f=_0x48f4;if(!_0x21ce93&&this[_0x5b325f(0x2d5)][_0x5b325f(0x1ea)](_0x4ac8b2)&&this[_0x5b325f(0x22e)](_0x4ac8b2)[_0x5b325f(0xdf)](u[_0x5b325f(0x299)][_0x5b325f(0x1a1)]),!this['_unitOnClients'][_0x5b325f(0x1ea)](_0x4ac8b2)||!this[_0x5b325f(0x2d5)][_0x5b325f(0xd1)](_0x4ac8b2)[_0x5b325f(0x1ea)](_0x182b1c)){const _0x54c143=this[_0x5b325f(0x2d5)][_0x5b325f(0xd1)](_0x4ac8b2)||new Set();_0x54c143[_0x5b325f(0x291)](_0x182b1c),this[_0x5b325f(0x2d5)][_0x5b325f(0x134)](_0x4ac8b2,_0x54c143),this['_scheduleClearOtherTimer'](_0x182b1c);}}),_0x21ce93||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x355724(0xd5)]],'isForwarded':!0x0});}[_0xb1f837(0x2a9)](_0x49a130){const _0x4a4f17=_0xb1f837;this['_removeClearOtherTimer'](_0x49a130);const _0x3cbae2=window[_0x4a4f17(0x222)](()=>{const _0x52bafe=_0x4a4f17;this[_0x52bafe(0x2d5)][_0x52bafe(0x13f)](_0x6415c7=>{const _0x3a5569=_0x52bafe;_0x6415c7[_0x3a5569(0x1b2)](_0x49a130);});},Me*0x2);this[_0x4a4f17(0x267)][_0x4a4f17(0x134)](_0x49a130,_0x3cbae2);}[_0xb1f837(0xcf)](_0xc5b1fa){const _0x2796f5=_0xb1f837;if(this['_clearOtherTimers'][_0x2796f5(0x1ea)](_0xc5b1fa)){const _0x46b2a0=this[_0x2796f5(0x267)][_0x2796f5(0xd1)](_0xc5b1fa);_0x46b2a0&&window[_0x2796f5(0x1d8)](_0x46b2a0),this[_0x2796f5(0x267)]['set'](_0xc5b1fa,null);}}[_0xb1f837(0x17c)](_0x511a7b){const _0x261c18=_0xb1f837,{memberID:_0x5549d1,unitIDs:_0x3005f4}=_0x511a7b;_0x3005f4[_0x261c18(0x13f)](_0x9899a4=>{const _0x1ebed3=_0x261c18;var _0x451358;const _0x2879b1=this[_0x1ebed3(0x2d5)][_0x1ebed3(0xd1)](_0x9899a4);_0x2879b1&&(_0x2879b1[_0x1ebed3(0x1b2)](_0x5549d1),(_0x451358=this['_ensureSubject'](_0x9899a4))==null||_0x451358[_0x1ebed3(0xdf)](_0x2879b1[_0x1ebed3(0x1df)]===0x0?u[_0x1ebed3(0x299)][_0x1ebed3(0xd9)]:u[_0x1ebed3(0x299)][_0x1ebed3(0x1a1)]));}),this['_removeClearOtherTimer'](_0x5549d1);}[_0xb1f837(0x1b4)](_0x1ea991){const _0x28012e=_0xb1f837;this[_0x28012e(0x2a9)](_0x1ea991[_0x28012e(0x159)]);}[_0xb1f837(0xb8)](_0x41e9f5){const _0x336a17=_0xb1f837;localStorage[_0x336a17(0x286)](Le,JSON[_0x336a17(0x2ac)](_0x41e9f5));}[_0xb1f837(0x1f8)](){const _0x131b03=_0xb1f837;this[_0x131b03(0x15e)]=window[_0x131b03(0x1e5)](()=>{const _0x409f44=_0x131b03;this[_0x409f44(0xb8)]({'type':0x2,'memberID':this['_id']});},Me);}['_ensureSubject'](_0x58ba82){const _0x4bf3b6=_0xb1f837;return this[_0x4bf3b6(0x6e)][_0x4bf3b6(0x1ea)](_0x58ba82)||this[_0x4bf3b6(0x6e)][_0x4bf3b6(0x134)](_0x58ba82,new d['BehaviorSubject'](u['UnitStatus'][_0x4bf3b6(0xd9)])),this[_0x4bf3b6(0x6e)]['get'](_0x58ba82);}}var je=(_0x3c24ca=>(_0x3c24ca[_0x3c24ca[_0xb1f837(0x224)]=0x0]=_0xb1f837(0x224),_0x3c24ca[_0x3c24ca['OK']=0x1]='OK',_0x3c24ca[_0x3c24ca['INTERNAL_ERROR']=0x2]=_0xb1f837(0x84),_0x3c24ca[_0x3c24ca[_0xb1f837(0x153)]=0x3]=_0xb1f837(0x153),_0x3c24ca[_0x3c24ca['NOT_FOUND']=0x4]=_0xb1f837(0x2d2),_0x3c24ca[_0x3c24ca['UNAUTHENTICATED']=0x5]=_0xb1f837(0x1fa),_0x3c24ca[_0x3c24ca[_0xb1f837(0x284)]=0x6]=_0xb1f837(0x284),_0x3c24ca[_0x3c24ca[_0xb1f837(0xe7)]=0x7]=_0xb1f837(0xe7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x142)]=0x8]=_0xb1f837(0x142),_0x3c24ca[_0x3c24ca[_0xb1f837(0x208)]=0x9]=_0xb1f837(0x208),_0x3c24ca[_0x3c24ca[_0xb1f837(0xf6)]=0xa]='LOGIN_FAILED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x241)]=0xb]=_0xb1f837(0x241),_0x3c24ca[_0x3c24ca[_0xb1f837(0x24d)]=0xc]=_0xb1f837(0x24d),_0x3c24ca[_0x3c24ca['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3c24ca[_0x3c24ca[_0xb1f837(0x92)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x10f)]=0x1389]=_0xb1f837(0x10f),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1c2)]=0x1771]=_0xb1f837(0x1c2),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2b0)]=0x1772]=_0xb1f837(0x2b0),_0x3c24ca[_0x3c24ca[_0xb1f837(0x132)]=0x1773]=_0xb1f837(0x132),_0x3c24ca[_0x3c24ca['APPLY_REJECT']=0x1b59]=_0xb1f837(0x260),_0x3c24ca[_0x3c24ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xb1f837(0x1d7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1f4)]=0x1b5b]=_0xb1f837(0x1f4),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2e3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x130)]=0x1b5d]=_0xb1f837(0x130),_0x3c24ca[_0x3c24ca['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xb1f837(0x265),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2b4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x2db)]=0x232a]=_0xb1f837(0x2db),_0x3c24ca[_0x3c24ca[_0xb1f837(0x8a)]=0x232b]=_0xb1f837(0x8a),_0x3c24ca[_0x3c24ca[_0xb1f837(0x203)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x11a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x236)]=0x2711]=_0xb1f837(0x236),_0x3c24ca[_0x3c24ca['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xb1f837(0x2a0),_0x3c24ca[_0x3c24ca[_0xb1f837(0x17d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3c24ca[_0x3c24ca[_0xb1f837(0x1c5)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3c24ca[_0x3c24ca[_0xb1f837(0x89)]=0x271a]=_0xb1f837(0x89),_0x3c24ca[_0x3c24ca['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xb1f837(0x2d1),_0x3c24ca[_0x3c24ca[_0xb1f837(0x115)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3c24ca[_0x3c24ca[_0xb1f837(0xe6)]=0x271d]=_0xb1f837(0xe6),_0x3c24ca[_0x3c24ca[_0xb1f837(0xd3)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x17e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x2c4)]=0x2720]=_0xb1f837(0x2c4),_0x3c24ca[_0x3c24ca[_0xb1f837(0x27a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3c24ca[_0x3c24ca[_0xb1f837(0x176)]=0x2ee1]=_0xb1f837(0x176),_0x3c24ca[_0x3c24ca[_0xb1f837(0x264)]=0x2ee2]=_0xb1f837(0x264),_0x3c24ca[_0x3c24ca[_0xb1f837(0x205)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3c24ca[_0x3c24ca['USER_NOT_INVITED_CODE']=0x2ee4]=_0xb1f837(0x235),_0x3c24ca[_0x3c24ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xb1f837(0x2d7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x21b)]=0x32c9]=_0xb1f837(0x21b),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1d5)]=0x32ca]=_0xb1f837(0x1d5),_0x3c24ca[_0x3c24ca[_0xb1f837(0x13b)]=0x32cb]=_0xb1f837(0x13b),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1d2)]=-0x1]=_0xb1f837(0x1d2),_0x3c24ca))(je||{}),ns=Object[_0xb1f837(0x19a)],rs=(_0xc6c893,_0x51fa73,_0x10ba34,_0x1fd2cc)=>{const _0x3a6f14=_0xb1f837;for(var _0x90887=_0x1fd2cc>0x1?void 0x0:_0x1fd2cc?ns(_0x51fa73,_0x10ba34):_0x51fa73,_0x3c34fe=_0xc6c893[_0x3a6f14(0x257)]-0x1,_0x1e97fd;_0x3c34fe>=0x0;_0x3c34fe--)(_0x1e97fd=_0xc6c893[_0x3c34fe])&&(_0x90887=_0x1e97fd(_0x90887)||_0x90887);return _0x90887;},ue=(_0x51db21,_0x7c557b)=>(_0x564e31,_0x2b6fd5)=>_0x7c557b(_0x564e31,_0x2b6fd5,_0x51db21);exports[_0xb1f837(0x6b)]=class extends a[_0xb1f837(0x2af)]{constructor(_0x73fb11,_0x4ab750,_0x5b8d7f){const _0x4e85a2=_0xb1f837;super(),this[_0x4e85a2(0x23b)]=_0x73fb11,this[_0x4e85a2(0x230)]=_0x4ab750,this['_configService']=_0x5b8d7f;}async['runOnServer'](_0x5af24b,_0x104527,_0x54768a,..._0x470134){const _0x21ff6a=_0xb1f837;var _0x4f7920,_0x4a124c,_0x3ba94b,_0xc339fa;const _0x31af48=this[_0x21ff6a(0x23b)][_0x21ff6a(0x1ce)]();if(!_0x31af48)throw new Error(_0x21ff6a(0x10e));const _0xcd7930=((_0x4f7920=this['_configService'][_0x21ff6a(0x100)](u[_0x21ff6a(0x1a8)]))!=null?_0x4f7920:u[_0x21ff6a(0x119)])+'/'+_0x5af24b+_0x21ff6a(0xa8)+_0x104527,_0x4e9b0b=new URL(window[_0x21ff6a(0x28a)][_0x21ff6a(0x2bf)]),_0x1379dd={'scriptId':_0x5af24b,'runId':(_0x4a124c=_0x4e9b0b[_0x21ff6a(0x124)]['get'](_0x21ff6a(0xd7)))!=null?_0x4a124c:'','function':_0x104527,'unitId':_0x31af48[_0x21ff6a(0xd4)](),'argsOfFunction':JSON['stringify'](_0x470134),'invokeId':(_0x3ba94b=_0x54768a['invokeId'])!=null?_0x3ba94b:'','executionId':(_0xc339fa=_0x54768a['executionId'])!=null?_0xc339fa:''};try{const _0x41c80e=await this[_0x21ff6a(0x230)][_0x21ff6a(0x27d)](_0xcd7930,{'body':_0x1379dd});return _0x41c80e[_0x21ff6a(0x207)][_0x21ff6a(0x1b1)]&&_0x41c80e['body'][_0x21ff6a(0x1b1)]['code']!==je['OK']?_0x21ff6a(0xd8):_0x41c80e['body']['result'];}catch{return _0x21ff6a(0xd8);}}},exports[_0xb1f837(0x6b)]=rs([ue(0x0,a[_0xb1f837(0x18a)]),ue(0x1,a['Inject'](G[_0xb1f837(0x249)])),ue(0x2,a['IConfigService'])],exports[_0xb1f837(0x6b)]),exports[_0xb1f837(0x2b1)]=xe,exports['IURLService']=Ee,exports[_0xb1f837(0xcd)]=we,exports[_0xb1f837(0x80)]=is,exports['WebURLService']=Be;
@@ -1 +1 @@
1
- 'use strict';const _0x241801=_0x1fe0;(function(_0x7b7828,_0x417e85){const _0x5e2a8e=_0x1fe0,_0xe29080=_0x7b7828();while(!![]){try{const _0x5561a3=-parseInt(_0x5e2a8e(0x131))/0x1+parseInt(_0x5e2a8e(0x126))/0x2+parseInt(_0x5e2a8e(0x123))/0x3*(parseInt(_0x5e2a8e(0x134))/0x4)+-parseInt(_0x5e2a8e(0x130))/0x5*(parseInt(_0x5e2a8e(0x12b))/0x6)+-parseInt(_0x5e2a8e(0x135))/0x7*(parseInt(_0x5e2a8e(0x12c))/0x8)+parseInt(_0x5e2a8e(0x120))/0x9+parseInt(_0x5e2a8e(0x127))/0xa;if(_0x5561a3===_0x417e85)break;else _0xe29080['push'](_0xe29080['shift']());}catch(_0x40bb31){_0xe29080['push'](_0xe29080['shift']());}}}(_0x3dee,0xe8cf3));function _0x3dee(){const _0x41be9c=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','3767634GAmkLe','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','781743vKvziF','Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1376004LMrlQV','16272480mVSENx','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','42vLRien','3421048DToyFi','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','799805vCdyDH','587043TLkxwg','Authentication\x20Error','Click\x20to\x20Reconnect','12rklMpJ','14obgDNh','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict'];_0x3dee=function(){return _0x41be9c;};return _0x3dee();}function _0x1fe0(_0x9f49f0,_0x1e2508){const _0x3dee7f=_0x3dee();return _0x1fe0=function(_0x1fe00e,_0x5de1fa){_0x1fe00e=_0x1fe00e-0x11d;let _0x59e1c6=_0x3dee7f[_0x1fe00e];return _0x59e1c6;},_0x1fe0(_0x9f49f0,_0x1e2508);}const e={'collab-client':{'tooltip':{'reconnect':_0x241801(0x133)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x241801(0x136),'notCollab':_0x241801(0x124),'synced':'Synced','syncing':'Syncing...','offline':_0x241801(0x122)},'session':{'connection-failed':_0x241801(0x128),'will-retry':_0x241801(0x11d),'room-full':_0x241801(0x121),'collaboration-timeout':_0x241801(0x12a)},'conflict':{'title':_0x241801(0x11e),'content':_0x241801(0x11f)},'permission':{'title':_0x241801(0x132),'content':_0x241801(0x12f)},'collaboration':{'single-unit':{'warning':_0x241801(0x12e)},'closeRoom':_0x241801(0x125)},'auth':{'needGotoLoginAlert':_0x241801(0x129)}},o=e;module[_0x241801(0x12d)]=o;
1
+ 'use strict';const _0x497a5f=_0x3633;function _0x3633(_0x35e0e4,_0x1d0116){const _0xb41c17=_0xb41c();return _0x3633=function(_0x363384,_0x4c782d){_0x363384=_0x363384-0xa6;let _0x3ff74c=_0xb41c17[_0x363384];return _0x3ff74c;},_0x3633(_0x35e0e4,_0x1d0116);}(function(_0x58cf37,_0x555af1){const _0x166b8b=_0x3633,_0x5beb21=_0x58cf37();while(!![]){try{const _0x2aceb0=parseInt(_0x166b8b(0xab))/0x1*(-parseInt(_0x166b8b(0xba))/0x2)+parseInt(_0x166b8b(0xac))/0x3*(parseInt(_0x166b8b(0xaf))/0x4)+-parseInt(_0x166b8b(0xa8))/0x5*(parseInt(_0x166b8b(0xbe))/0x6)+parseInt(_0x166b8b(0xb2))/0x7+-parseInt(_0x166b8b(0xb3))/0x8+parseInt(_0x166b8b(0xbf))/0x9*(-parseInt(_0x166b8b(0xb4))/0xa)+-parseInt(_0x166b8b(0xb1))/0xb*(-parseInt(_0x166b8b(0xad))/0xc);if(_0x2aceb0===_0x555af1)break;else _0x5beb21['push'](_0x5beb21['shift']());}catch(_0x158d92){_0x5beb21['push'](_0x5beb21['shift']());}}}(_0xb41c,0x52a73));const e={'collab-client':{'tooltip':{'reconnect':_0x497a5f(0xb7)}},'collabStatus':{'fetchMiss':_0x497a5f(0xa7),'conflict':_0x497a5f(0xbc),'notCollab':_0x497a5f(0xbd),'synced':_0x497a5f(0xbb),'syncing':_0x497a5f(0xb0),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x497a5f(0xb5),'will-retry':_0x497a5f(0xaa),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x497a5f(0xb9)},'conflict':{'title':_0x497a5f(0xc0),'content':_0x497a5f(0xb8)},'permission':{'title':'Authentication\x20Error','content':_0x497a5f(0xa6)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x497a5f(0xb6)},'auth':{'needGotoLoginAlert':_0x497a5f(0xae)}},o=e;module[_0x497a5f(0xa9)]=o;function _0xb41c(){const _0x286f5a=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2gYCVQx','Synced','Edit\x20conflicts','Local\x20file','56982ULeOcS','1421235qJULmG','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','175KuwrXG','exports','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','240229DVWMIV','34923dHkuPy','3340476ibiZcS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','12lPAonN','Syncing...','66yLqeYJ','1127861eIxBjS','5114264zacALH','20jHcIGA','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect'];_0xb41c=function(){return _0x286f5a;};return _0xb41c();}