@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506231607 → 0.8.2-nightly.202506251607

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -0
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -0
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -0
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/locale/ko-KR.d.ts +3 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +1 -1
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -0
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5bafa6=_0x5270;(function(_0x34354b,_0x55d56e){const _0x17a5d6=_0x5270,_0x29daf7=_0x34354b();while(!![]){try{const _0x504d3f=parseInt(_0x17a5d6(0xca))/0x1*(-parseInt(_0x17a5d6(0xc9))/0x2)+parseInt(_0x17a5d6(0xc7))/0x3*(parseInt(_0x17a5d6(0xd2))/0x4)+parseInt(_0x17a5d6(0xce))/0x5*(-parseInt(_0x17a5d6(0xcd))/0x6)+-parseInt(_0x17a5d6(0xd4))/0x7+parseInt(_0x17a5d6(0xd0))/0x8*(-parseInt(_0x17a5d6(0xcc))/0x9)+-parseInt(_0x17a5d6(0xcf))/0xa+parseInt(_0x17a5d6(0xd1))/0xb;if(_0x504d3f===_0x55d56e)break;else _0x29daf7['push'](_0x29daf7['shift']());}catch(_0x598e44){_0x29daf7['push'](_0x29daf7['shift']());}}}(_0x4f95,0xb654c));function _0x4f95(){const _0x253c3c=['40hjpAzj','50273729KvXtoj','969620ADegHT','RemoteUniscriptService','4539521KUEmUV','runOnServer','@univerjs-pro/collaboration-client-ui','_injector','6VBHhts','FUniver','3532yGueYt','827lRBOmU','get','2297421GcwZFh','12eINxyR','1531460pQUjgw','3104070uVPnYC'];_0x4f95=function(){return _0x253c3c;};return _0x4f95();}const t=require(_0x5bafa6(0xc5)),e=require('@univerjs/core/facade');function _0x5270(_0x3d6582,_0x11e101){const _0x4f9561=_0x4f95();return _0x5270=function(_0x5270c0,_0x3d7349){_0x5270c0=_0x5270c0-0xc5;let _0x48ef7f=_0x4f9561[_0x5270c0];return _0x48ef7f;},_0x5270(_0x3d6582,_0x11e101);}class c extends e[_0x5bafa6(0xc8)]{['runOnServer'](_0x227e0c,_0x3fe219,..._0xf55e2d){const _0x2454ab=_0x5bafa6;return this[_0x2454ab(0xc6)][_0x2454ab(0xcb)](t[_0x2454ab(0xd3)])[_0x2454ab(0xd5)](_0x227e0c,_0x3fe219,{},..._0xf55e2d);}}e['FUniver']['extend'](c);
1
+ 'use strict';const _0x57a65f=_0x3c6f;(function(_0x391f92,_0x200758){const _0x3cf047=_0x3c6f,_0x25b914=_0x391f92();while(!![]){try{const _0x5b71dc=parseInt(_0x3cf047(0xd5))/0x1*(-parseInt(_0x3cf047(0xda))/0x2)+parseInt(_0x3cf047(0xd7))/0x3*(parseInt(_0x3cf047(0xd9))/0x4)+parseInt(_0x3cf047(0xdb))/0x5+parseInt(_0x3cf047(0xe2))/0x6+-parseInt(_0x3cf047(0xe1))/0x7*(parseInt(_0x3cf047(0xe4))/0x8)+parseInt(_0x3cf047(0xd2))/0x9*(parseInt(_0x3cf047(0xd6))/0xa)+parseInt(_0x3cf047(0xdc))/0xb*(-parseInt(_0x3cf047(0xdd))/0xc);if(_0x5b71dc===_0x200758)break;else _0x25b914['push'](_0x25b914['shift']());}catch(_0x1d5929){_0x25b914['push'](_0x25b914['shift']());}}}(_0x2aea,0x7414e));const t=require(_0x57a65f(0xd4)),e=require(_0x57a65f(0xe3));function _0x3c6f(_0x2bd093,_0x30bef3){const _0x2aea18=_0x2aea();return _0x3c6f=function(_0x3c6f38,_0x6768ed){_0x3c6f38=_0x3c6f38-0xd2;let _0x585011=_0x2aea18[_0x3c6f38];return _0x585011;},_0x3c6f(_0x2bd093,_0x30bef3);}class c extends e[_0x57a65f(0xd3)]{[_0x57a65f(0xdf)](_0x4c2c49,_0x4181a2,..._0x199db7){const _0x47dd6b=_0x57a65f;return this[_0x47dd6b(0xde)]['get'](t[_0x47dd6b(0xd8)])[_0x47dd6b(0xdf)](_0x4c2c49,_0x4181a2,{},..._0x199db7);}}e[_0x57a65f(0xd3)][_0x57a65f(0xe0)](c);function _0x2aea(){const _0xb701e7=['FUniver','@univerjs-pro/collaboration-client-ui','9hTMwxc','11670FgowCu','3XJuFYx','RemoteUniscriptService','2676084OIfELW','15798ZRwYMq','1138720ORXGwO','11LCePNE','2241732OXxOno','_injector','runOnServer','extend','3869005BLIduT','816498MAvUhz','@univerjs/core/facade','8oZIhod','1953jmLshk'];_0x2aea=function(){return _0xb701e7;};return _0x2aea();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3b20ce=_0x3f21;(function(_0x38bd4a,_0x282d31){const _0x13cdf9=_0x3f21,_0x31a648=_0x38bd4a();while(!![]){try{const _0x3f0dec=-parseInt(_0x13cdf9(0x3fc))/0x1*(parseInt(_0x13cdf9(0x241))/0x2)+parseInt(_0x13cdf9(0x43f))/0x3*(parseInt(_0x13cdf9(0x276))/0x4)+-parseInt(_0x13cdf9(0x2c5))/0x5*(parseInt(_0x13cdf9(0x38e))/0x6)+parseInt(_0x13cdf9(0x373))/0x7+-parseInt(_0x13cdf9(0x3f4))/0x8*(-parseInt(_0x13cdf9(0x2d0))/0x9)+-parseInt(_0x13cdf9(0x1db))/0xa+parseInt(_0x13cdf9(0x254))/0xb*(parseInt(_0x13cdf9(0x42f))/0xc);if(_0x3f0dec===_0x282d31)break;else _0x31a648['push'](_0x31a648['shift']());}catch(_0x520970){_0x31a648['push'](_0x31a648['shift']());}}}(_0x2c3e,0x69042));var Ve=Object[_0x3b20ce(0x353)],Xe=(_0x6892e9,_0x271485,_0x184743)=>_0x271485 in _0x6892e9?Ve(_0x6892e9,_0x271485,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x184743}):_0x6892e9[_0x271485]=_0x184743,h=(_0x63375f,_0x3aeec7,_0x32dbfa)=>Xe(_0x63375f,typeof _0x3aeec7!=_0x3b20ce(0x224)?_0x3aeec7+'':_0x3aeec7,_0x32dbfa);Object['defineProperty'](exports,Symbol[_0x3b20ce(0x39d)],{'value':'Module'});const u=require(_0x3b20ce(0x2e7)),a=require(_0x3b20ce(0x30c)),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require(_0x3b20ce(0x233)),Y=require(_0x3b20ce(0x438)),be=require(_0x3b20ce(0x2ca)),g=require('@univerjs/sheets'),$=require(_0x3b20ce(0x28d)),X=require(_0x3b20ce(0x393)),P=require(_0x3b20ce(0x3a0)),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require(_0x3b20ce(0x2dc)),Ke=require(_0x3b20ce(0x42a));var qe=Object[_0x3b20ce(0x36b)],ze=(_0x55d352,_0x16139d,_0x537ad5,_0x5e10fb)=>{for(var _0x4bc21a=_0x5e10fb>0x1?void 0x0:_0x5e10fb?qe(_0x16139d,_0x537ad5):_0x16139d,_0x435138=_0x55d352['length']-0x1,_0x517e53;_0x435138>=0x0;_0x435138--)(_0x517e53=_0x55d352[_0x435138])&&(_0x4bc21a=_0x517e53(_0x4bc21a)||_0x4bc21a);return _0x4bc21a;},Oe=(_0x4a4e24,_0x2a5a17)=>(_0x15bd69,_0x1f81ff)=>_0x2a5a17(_0x15bd69,_0x1f81ff,_0x4a4e24);let de=class extends a['RxDisposable']{constructor(_0x3be805,_0x1b0148){const _0x512136=_0x3b20ce;super(),this[_0x512136(0x397)]=_0x3be805,this[_0x512136(0x3da)]=_0x1b0148,this['_init']();}[_0x3b20ce(0x3e1)](){const _0x509355=_0x3b20ce,_0x6efdcf=this;this[_0x509355(0x1c3)](this[_0x509355(0x397)][_0x509355(0x2bf)]({'onBeforePasteImage':async _0x4bc1a2=>{const _0x12c9bd=_0x509355,_0x4b5460=await _0x6efdcf[_0x12c9bd(0x3da)][_0x12c9bd(0x3eb)](_0x4bc1a2);return _0x4b5460?{'source':_0x4b5460[_0x12c9bd(0x2b0)],'imageSourceType':_0x4b5460['imageSourceType']}:null;}}));}};de=ze([Oe(0x0,E[_0x3b20ce(0x1d6)]),Oe(0x1,Ge['IImageIoService'])],de);const Te=[_0x3b20ce(0x390),_0x3b20ce(0x3b4),_0x3b20ce(0x251),_0x3b20ce(0x41e),_0x3b20ce(0x24c),_0x3b20ce(0x436)];class me extends a[_0x3b20ce(0x214)]{constructor(){const _0x26b09f=_0x3b20ce;super(...arguments),h(this,_0x26b09f(0x34c),new Map()),h(this,_0x26b09f(0x326),0x0);}[_0x3b20ce(0x3ac)](_0x113232){const _0x491f73=_0x3b20ce;if(this[_0x491f73(0x34c)][_0x491f73(0x2a0)](_0x113232))return this[_0x491f73(0x34c)][_0x491f73(0x3ff)](_0x113232);const _0x397234=Te[this[_0x491f73(0x326)]];return this['_colorIndex']=(this[_0x491f73(0x326)]+0x1)%Te['length'],this[_0x491f73(0x34c)][_0x491f73(0x26a)](_0x113232,_0x397234),_0x397234;}}function Pe(_0x55e9f7){const _0x4c0add=_0x3b20ce;let _0x57bd3d='';for(const _0x118d3f of _0x55e9f7){const {startOffset:_0x3f2a80,endOffset:_0x101552,isActive:_0x211a3b,rangeType:_0x28c4aa,segmentId:_0x141eb7,segmentPage:_0x4578e3}=_0x118d3f;_0x57bd3d[_0x4c0add(0x34f)]&&(_0x57bd3d+=','),_0x57bd3d+=_0x3f2a80+':'+_0x101552+':'+(_0x211a3b?'1':'0')+':'+_0x28c4aa+':'+_0x141eb7+':'+_0x4578e3;}return _0x57bd3d;}function Je(_0x237f9c){const _0x1e9ba1=_0x3b20ce,_0x501707=_0x237f9c[_0x1e9ba1(0x234)](','),_0xec2834=[];for(const _0x4dcde3 of _0x501707){const [_0x35aa57,_0x4a5c42,_0x1ed04e,_0x10b861,_0x43da11,_0x13b62a]=_0x4dcde3[_0x1e9ba1(0x234)](':');_0xec2834[_0x1e9ba1(0x2a5)]({'startOffset':Number(_0x35aa57),'endOffset':Number(_0x4a5c42),'collapsed':_0x35aa57===_0x4a5c42,'isActive':_0x1ed04e==='1','rangeType':_0x10b861===a[_0x1e9ba1(0x204)][_0x1e9ba1(0x3d6)]?a['DOC_RANGE_TYPE'][_0x1e9ba1(0x3d6)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x43da11==_0x1e9ba1(0x1df)?String(_0x43da11):'','segmentPage':Number(_0x13b62a!=null?_0x13b62a:-0x1)});}return _0xec2834[_0x1e9ba1(0x2f2)](_0x3f6d3a=>_0x3f6d3a[_0x1e9ba1(0x336)])||(_0xec2834[0x0][_0x1e9ba1(0x336)]=!0x0),_0xec2834;}class Ce extends a[_0x3b20ce(0x1bb)]{constructor(){const _0x231d91=_0x3b20ce;super(...arguments),h(this,_0x231d91(0x300),new d[(_0x231d91(0x287))](null)),h(this,_0x231d91(0x41a),this[_0x231d91(0x300)]['asObservable']());}[_0x3b20ce(0x2a9)](_0x985a12){const _0xd4c0b7=_0x3b20ce,{unitID:_0x10206,memberID:_0x2409f3,textRanges:_0x433f7a}=_0x985a12,_0x1ffa94=Pe(_0x433f7a);if(_0x1ffa94==='')return;const _0xb73b40={'unitID':_0x10206,'memberID':_0x2409f3,'selection':_0x1ffa94};this[_0xd4c0b7(0x300)][_0xd4c0b7(0x3c7)](_0xb73b40);}}var Ze=Object[_0x3b20ce(0x36b)],Qe=(_0xbd41c,_0x1b66fb,_0x17a645,_0x55acf7)=>{const _0x308fd9=_0x3b20ce;for(var _0x4a5644=_0x55acf7>0x1?void 0x0:_0x55acf7?Ze(_0x1b66fb,_0x17a645):_0x1b66fb,_0x38fcbf=_0xbd41c[_0x308fd9(0x34f)]-0x1,_0x53754b;_0x38fcbf>=0x0;_0x38fcbf--)(_0x53754b=_0xbd41c[_0x38fcbf])&&(_0x4a5644=_0x53754b(_0x4a5644)||_0x4a5644);return _0x4a5644;},L=(_0x1b48a1,_0x4556ed)=>(_0x34c44a,_0x7dfb3)=>_0x4556ed(_0x34c44a,_0x7dfb3,_0x1b48a1);function _0x3f21(_0x1ace08,_0x2a150c){const _0x2c3e14=_0x2c3e();return _0x3f21=function(_0x3f2156,_0x143016){_0x3f2156=_0x3f2156-0x1b6;let _0x1271b6=_0x2c3e14[_0x3f2156];return _0x1271b6;},_0x3f21(_0x1ace08,_0x2a150c);}const et=0x12c,tt=0x64;let Ie=class extends a[_0x3b20ce(0x1bb)]{constructor(_0x5bf606,_0x2fcc82,_0x41d946,_0x4e4568,_0x55b7c5,_0x6c1b15,_0x91ab6c,_0x2cbd31,_0x4cf2fa){const _0x5ce8c8=_0x3b20ce;super(),h(this,_0x5ce8c8(0x21e),!0x1),h(this,_0x5ce8c8(0x3e1),!0x1),h(this,_0x5ce8c8(0x3b7),new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this[_0x5ce8c8(0x3b7)]['asObservable']()),h(this,'_roomMembers$',new d[(_0x5ce8c8(0x287))]([])),h(this,_0x5ce8c8(0x286),this[_0x5ce8c8(0x266)][_0x5ce8c8(0x32f)](d[_0x5ce8c8(0x1d4)](et))),h(this,_0x5ce8c8(0x402),a['debounce'](_0x20435b=>{const _0x140b89=_0x5ce8c8,_0x53894c={'eventID':m[_0x140b89(0x2b3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x140b89(0x225)],'memberID':this[_0x140b89(0x3b6)][_0x140b89(0x23b)](),'selection':Pe(_0x20435b)}};this['_session'][_0x140b89(0x1e1)](_0x53894c,this['unitID']);},tt)),(this[_0x5ce8c8(0x225)]=_0x5bf606,this[_0x5ce8c8(0x3b6)]=_0x2fcc82,this['_injector']=_0x41d946,this[_0x5ce8c8(0x242)]=_0x4e4568,this[_0x5ce8c8(0x277)]=_0x55b7c5,this['_syncEditingCollabCursorService']=_0x6c1b15,this['_transformService']=_0x91ab6c,this[_0x5ce8c8(0x27e)]=_0x2cbd31,this[_0x5ce8c8(0x372)]=_0x4cf2fa);}get[_0x3b20ce(0x3b3)](){return this['_cursorInfo$']['getValue']();}get[_0x3b20ce(0x421)](){const _0x540121=_0x3b20ce;return this[_0x540121(0x266)][_0x540121(0x328)]();}['dispose'](){const _0x187789=_0x3b20ce;super[_0x187789(0x392)](),this[_0x187789(0x3b7)]['next'](new Map()),this[_0x187789(0x3b7)][_0x187789(0x408)](),this[_0x187789(0x266)][_0x187789(0x3c7)]([]),this[_0x187789(0x266)][_0x187789(0x408)]();}[_0x3b20ce(0x2cd)](){const _0x1e3cdc=_0x3b20ce;this[_0x1e3cdc(0x3e1)]||(this[_0x1e3cdc(0x3e1)]=!0x0,this['_session'][_0x1e3cdc(0x310)][_0x1e3cdc(0x32f)](d[_0x1e3cdc(0x2ec)](this[_0x1e3cdc(0x28c)]))['subscribe'](_0xa129c8=>{const _0x57e752=_0x1e3cdc;_0xa129c8===u[_0x57e752(0x1c5)][_0x57e752(0x27b)]?this[_0x57e752(0x1c6)]():this[_0x57e752(0x304)]();}),this[_0x1e3cdc(0x3b6)][_0x1e3cdc(0x3a3)]['pipe'](d['takeUntil'](this[_0x1e3cdc(0x28c)]))['subscribe'](_0x51fdab=>{const _0x1978e0=_0x1e3cdc,_0x558995=_0x51fdab[_0x1978e0(0x3c3)];_0x558995===m[_0x1978e0(0x2b3)][_0x1978e0(0x29c)]&&this[_0x1978e0(0x2ae)](_0x51fdab),_0x558995===m[_0x1978e0(0x2b3)][_0x1978e0(0x3c1)]&&this[_0x1978e0(0x2c6)](_0x51fdab);}),this[_0x1e3cdc(0x1c3)](this[_0x1e3cdc(0x372)]['onCommandExecuted'](_0x2e9fa6=>{const _0x2f3a13=_0x1e3cdc,_0x3d0686=_0x2e9fa6[_0x2f3a13(0x346)];_0x3d0686!=null&&this[_0x2f3a13(0x21e)]&&_0x2e9fa6['id']===Y[_0x2f3a13(0x215)]['id']&&_0x3d0686[_0x2f3a13(0x22a)]===this['unitID']&&_0x3d0686[_0x2f3a13(0x324)]===!0x1&&_0x3d0686[_0x2f3a13(0x387)][_0x2f3a13(0x34f)]>0x0&&this[_0x2f3a13(0x402)](_0x3d0686['ranges']);})),this['_syncEditingCollabCursorService'][_0x1e3cdc(0x41a)][_0x1e3cdc(0x32f)](d[_0x1e3cdc(0x2ec)](this['dispose$']))[_0x1e3cdc(0x3d4)](_0x1d756b=>{const _0x3b7879=_0x1e3cdc;if((_0x1d756b==null?void 0x0:_0x1d756b[_0x3b7879(0x225)])!==this['unitID'])return;const _0x48cae5={'eventID':m[_0x3b7879(0x2b3)]['UPDATE_CURSOR'],'data':_0x1d756b};this['_onCursorUpdate'](_0x48cae5);}),this['disposeWithMe'](this[_0x1e3cdc(0x372)]['onCommandExecuted'](_0x1499f8=>{const _0x285e76=_0x1e3cdc;if(_0x1499f8[_0x285e76(0x346)]==null)return;const _0xa8a7c5=_0x1499f8[_0x285e76(0x346)];if(_0x1499f8['id']!==Y[_0x285e76(0x3de)]['id']||_0xa8a7c5[_0x285e76(0x22a)]!==this[_0x285e76(0x225)])return;const _0x5299fb={'id':_0x285e76(0x431),'params':_0xa8a7c5},_0x2ceaaa=this[_0x285e76(0x3b3)];for(const [_0x35be55,_0x16e6dc]of _0x2ceaaa){const _0x3c24a6={'id':_0x285e76(0x431),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x16e6dc[_0x285e76(0x387)]}},_0x1241fe=this[_0x285e76(0x30f)][_0x285e76(0x440)](_0x5299fb,_0x3c24a6,!0x1);if(m[_0x285e76(0x207)](_0x1241fe))throw _0x1241fe['error'];_0x2ceaaa['set'](_0x35be55,{..._0x16e6dc,'ranges':_0x1241fe['m2Prime'][_0x285e76(0x346)][_0x285e76(0x38f)]});}queueMicrotask(()=>{const _0x20e945=_0x285e76;this[_0x20e945(0x3b7)][_0x20e945(0x3c7)](_0x2ceaaa);});})));}[_0x3b20ce(0x2ae)](_0x13c11c){const _0x1ebe75=_0x3b20ce;var _0x5ba296,_0x42d581;const {memberID:_0x36c35a,selection:_0x319224}=_0x13c11c[_0x1ebe75(0x1d8)],_0x5703e3=Je(_0x319224),_0x1b763b=(_0x42d581=(_0x5ba296=this[_0x1ebe75(0x277)][_0x1ebe75(0x271)](this[_0x1ebe75(0x225)],_0x36c35a))==null?void 0x0:_0x5ba296['name'])!=null?_0x42d581:_0x1ebe75(0x1d3),_0x55725e={'color':this[_0x1ebe75(0x242)][_0x1ebe75(0x3ac)](_0x36c35a),'name':_0x1b763b,'ranges':_0x5703e3},_0x144859=this[_0x1ebe75(0x3b3)];_0x144859[_0x1ebe75(0x26a)](_0x36c35a,_0x55725e),this['_cursorInfo$'][_0x1ebe75(0x3c7)](_0x144859);}[_0x3b20ce(0x2c6)](_0x316d70){const _0x38e83c=_0x3b20ce,{memberID:_0x43953d}=_0x316d70['data'],_0x23ceac=this[_0x38e83c(0x3b3)];_0x23ceac['delete'](_0x43953d),this[_0x38e83c(0x3b7)]['next'](_0x23ceac);}[_0x3b20ce(0x1c6)](){const _0x4cd4f1=_0x3b20ce;var _0x4d49b6;if(this[_0x4cd4f1(0x21e)]=!0x0,((_0x4d49b6=this[_0x4cd4f1(0x27e)][_0x4cd4f1(0x3b8)]())==null?void 0x0:_0x4d49b6[_0x4cd4f1(0x35f)]())!==this[_0x4cd4f1(0x225)])return;const _0x2a5d17=this[_0x4cd4f1(0x411)][_0x4cd4f1(0x3ff)](Y['DocSelectionManagerService'])[_0x4cd4f1(0x418)]();Array['isArray'](_0x2a5d17)&&_0x2a5d17[_0x4cd4f1(0x34f)]>0x0&&this[_0x4cd4f1(0x402)](_0x2a5d17);}[_0x3b20ce(0x304)](){const _0x90058c=_0x3b20ce;this[_0x90058c(0x21e)]=!0x1;}};Ie=Qe([L(0x2,a[_0x3b20ce(0x282)](a[_0x3b20ce(0x366)])),L(0x3,a[_0x3b20ce(0x282)](me)),L(0x4,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x235)])),L(0x5,a[_0x3b20ce(0x282)](Ce)),L(0x6,m[_0x3b20ce(0x1f8)]),L(0x7,a[_0x3b20ce(0x317)]),L(0x8,a['ICommandService'])],Ie);var st=Object['getOwnPropertyDescriptor'],it=(_0x3b8c22,_0x29d42f,_0x47aaa5,_0x253903)=>{const _0x6d971f=_0x3b20ce;for(var _0x2807e3=_0x253903>0x1?void 0x0:_0x253903?st(_0x29d42f,_0x47aaa5):_0x29d42f,_0x371ca1=_0x3b8c22[_0x6d971f(0x34f)]-0x1,_0x2ad50b;_0x371ca1>=0x0;_0x371ca1--)(_0x2ad50b=_0x3b8c22[_0x371ca1])&&(_0x2807e3=_0x2ad50b(_0x2807e3)||_0x2807e3);return _0x2807e3;},A=(_0x186df2,_0x530526)=>(_0x54cd28,_0xcaa9a3)=>_0x530526(_0x54cd28,_0xcaa9a3,_0x186df2);const nt=0x12c,rt=0x64,ot=()=>{let _0x21117e=[],_0x32acbe=!0x1;return _0x4a4b3e=>{const _0xcef11f=_0x3f21;_0x21117e[_0xcef11f(0x2a5)](_0x4a4b3e),_0x32acbe||(_0x32acbe=!0x0,setTimeout(()=>{const _0x1c3df8=_0xcef11f;_0x21117e[_0x1c3df8(0x42b)](_0x106138=>_0x106138()),_0x21117e=[],_0x32acbe=!0x1;}));};};let Se=class extends a[_0x3b20ce(0x1bb)]{constructor(_0x1eb3ee,_0x14a632,_0x2f08bf,_0x2fcc1c,_0x3e34fa,_0x278a69,_0x434b09,_0x4c0f50){const _0xecd6e5=_0x3b20ce;super(),h(this,'_online',!0x1),h(this,_0xecd6e5(0x3e1),!0x1),h(this,_0xecd6e5(0x3b7),new d['BehaviorSubject'](new Map())),h(this,_0xecd6e5(0x3c2),this[_0xecd6e5(0x3b7)][_0xecd6e5(0x22e)]()),h(this,_0xecd6e5(0x266),new d[(_0xecd6e5(0x287))]([])),h(this,_0xecd6e5(0x286),this['_roomMembers$']['pipe'](d['debounceTime'](nt))),h(this,_0xecd6e5(0x402),a[_0xecd6e5(0x246)]((_0xfb2bd7,_0x42a24c)=>{const _0x429778=_0xecd6e5,_0xab2866={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x429778(0x225)],'memberID':this['_session'][_0x429778(0x23b)](),'selection':be[_0x429778(0x2d2)](_0xfb2bd7,_0x42a24c['range'])}};this[_0x429778(0x3b6)]['send'](_0xab2866,this['unitID']);},rt)),(this[_0xecd6e5(0x225)]=_0x1eb3ee,this['_session']=_0x14a632,this['_injector']=_0x2f08bf,this[_0xecd6e5(0x242)]=_0x2fcc1c,this[_0xecd6e5(0x277)]=_0x3e34fa,this[_0xecd6e5(0x27e)]=_0x278a69,this['_commandService']=_0x434b09,this[_0xecd6e5(0x2a6)]=_0x4c0f50);}get[_0x3b20ce(0x3b3)](){const _0xa6fd41=_0x3b20ce;return this[_0xa6fd41(0x3b7)][_0xa6fd41(0x328)]();}get[_0x3b20ce(0x421)](){const _0x3c3ca2=_0x3b20ce;return this[_0x3c3ca2(0x266)][_0x3c3ca2(0x328)]();}['dispose'](){const _0x2f35d5=_0x3b20ce;super[_0x2f35d5(0x392)](),this[_0x2f35d5(0x3b7)][_0x2f35d5(0x3c7)](new Map()),this[_0x2f35d5(0x3b7)][_0x2f35d5(0x408)](),this[_0x2f35d5(0x266)]['next']([]),this[_0x2f35d5(0x266)][_0x2f35d5(0x408)]();}[_0x3b20ce(0x2cd)](){const _0xfc5da6=_0x3b20ce;this[_0xfc5da6(0x3e1)]||(this[_0xfc5da6(0x3e1)]=!0x0,this[_0xfc5da6(0x3b6)][_0xfc5da6(0x310)]['pipe'](d[_0xfc5da6(0x2ec)](this['dispose$']))[_0xfc5da6(0x3d4)](_0x5a67c8=>{const _0x1e95d2=_0xfc5da6;_0x5a67c8===u[_0x1e95d2(0x1c5)]['ONLINE']?this[_0x1e95d2(0x1c6)]():this[_0x1e95d2(0x304)]();}),this[_0xfc5da6(0x3b6)][_0xfc5da6(0x3a3)]['pipe'](d['takeUntil'](this[_0xfc5da6(0x28c)]))[_0xfc5da6(0x3d4)](_0x34a7fa=>{const _0x2f37ef=_0xfc5da6,_0x395db5=_0x34a7fa[_0x2f37ef(0x3c3)];_0x395db5===m['CollaborationEvent'][_0x2f37ef(0x29c)]&&this[_0x2f37ef(0x2ae)](_0x34a7fa),_0x395db5===m[_0x2f37ef(0x2b3)][_0x2f37ef(0x3c1)]&&this[_0x2f37ef(0x2c6)](_0x34a7fa);}),this[_0xfc5da6(0x1eb)](),this[_0xfc5da6(0x1c3)](this['_commandService'][_0xfc5da6(0x29a)](_0x1d1b09=>{const _0x27f22e=_0xfc5da6;if(this[_0x27f22e(0x21e)]&&_0x1d1b09['id']===g[_0x27f22e(0x359)]['id']&&_0x1d1b09[_0x27f22e(0x346)][_0x27f22e(0x22a)]===this[_0x27f22e(0x225)]){const _0x42e293=_0x1d1b09[_0x27f22e(0x346)];this[_0x27f22e(0x402)](_0x42e293['subUnitId'],_0x42e293[_0x27f22e(0x365)][0x0]);}})));}[_0x3b20ce(0x2ae)](_0x25815f){const _0x21aab8=_0x3b20ce;var _0x446f96,_0x324689;const {memberID:_0x5472d3,selection:_0x303e30}=_0x25815f[_0x21aab8(0x1d8)],{sheetName:_0x3b272b,range:_0x5cf15c}=be[_0x21aab8(0x1dd)](_0x303e30),_0x3a8e62={'name':(_0x324689=(_0x446f96=this[_0x21aab8(0x277)]['getMember'](this[_0x21aab8(0x225)],_0x5472d3))==null?void 0x0:_0x446f96['name'])!=null?_0x324689:_0x21aab8(0x1d3),'range':this[_0x21aab8(0x380)](_0x3b272b,_0x5cf15c),'sheetID':_0x3b272b,'color':this['_colorAssignService'][_0x21aab8(0x3ac)](_0x5472d3),'selection':_0x303e30},_0x2ca721=this['cursorInfo'];_0x2ca721[_0x21aab8(0x26a)](_0x5472d3,_0x3a8e62),this[_0x21aab8(0x3b7)][_0x21aab8(0x3c7)](_0x2ca721);}[_0x3b20ce(0x2c6)](_0x53a637){const _0x1b1194=_0x3b20ce,{memberID:_0x25a424}=_0x53a637[_0x1b1194(0x1d8)],_0x4d9412=this[_0x1b1194(0x3b3)];_0x4d9412[_0x1b1194(0x30b)](_0x25a424),this['_cursorInfo$'][_0x1b1194(0x3c7)](_0x4d9412);}[_0x3b20ce(0x380)](_0x83c3cb,_0x5a9122){const _0x3b2ef8=_0x3b20ce;var _0x187bc1,_0x58a391;const _0xe26615=(_0x58a391=(_0x187bc1=this[_0x3b2ef8(0x27e)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x187bc1[_0x3b2ef8(0x32d)](_0x83c3cb))==null?void 0x0:_0x58a391[_0x3b2ef8(0x3ee)]();return(_0xe26615==null?void 0x0:_0xe26615[_0x3b2ef8(0x2e8)](_0x55f741=>a[_0x3b2ef8(0x23a)]['contains'](_0x55f741,_0x5a9122)))||_0x5a9122;}[_0x3b20ce(0x1eb)](){const _0x1d1269=_0x3b20ce,_0x518b23=new a['DisposableCollection'](),_0x3d078c=ot(),_0x1c8132=()=>{const _0x387390=_0x3f21;_0x518b23[_0x387390(0x392)]();const _0x6f56e0=(_0x278345,_0x1d087e,_0x410cd1,_0x5d795d)=>{const _0x32a4df=_0x387390;let _0x44e406=[];switch(_0x278345['id']){case g[_0x32a4df(0x1cb)]['DeleteRangeMoveLeftCommandId']:{_0x44e406=g[_0x32a4df(0x348)](_0x278345,_0x5d795d);break;}case g['EffectRefRangId'][_0x32a4df(0x319)]:{_0x44e406=g[_0x32a4df(0x3b1)](_0x278345,_0x5d795d);break;}case g[_0x32a4df(0x1cb)]['InsertColCommandId']:{_0x44e406=g[_0x32a4df(0x40c)](_0x278345,_0x5d795d);break;}case g[_0x32a4df(0x1cb)][_0x32a4df(0x2f4)]:{_0x44e406=g[_0x32a4df(0x274)](_0x278345,_0x5d795d);break;}case g['EffectRefRangId'][_0x32a4df(0x2fe)]:{_0x44e406=g['handleInsertRangeMoveRight'](_0x278345,_0x5d795d);break;}case g[_0x32a4df(0x1cb)]['InsertRowCommandId']:{_0x44e406=g[_0x32a4df(0x22d)](_0x278345,_0x5d795d);break;}case g[_0x32a4df(0x1cb)]['MoveRangeCommandId']:{_0x44e406=g[_0x32a4df(0x37e)](_0x278345,_0x5d795d);break;}case g['EffectRefRangId']['RemoveColCommandId']:{_0x44e406=g[_0x32a4df(0x2da)](_0x278345,_0x5d795d);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x44e406=g[_0x32a4df(0x1ff)](_0x278345,_0x5d795d);break;}}const _0x39efdf=g['runRefRangeMutations'](_0x44e406,_0x5d795d),_0x190f45=this['cursorInfo'][_0x32a4df(0x3ff)](_0x1d087e);if(_0x190f45&&_0x39efdf){const _0x271c3b={..._0x190f45,'range':_0x39efdf};this[_0x32a4df(0x3b3)]['set'](_0x1d087e,_0x271c3b),_0x3d078c(()=>{const _0xcf8641=_0x32a4df,_0x52dd71=this[_0xcf8641(0x2a6)][_0xcf8641(0x355)](_0x39efdf,_0x56b526=>(_0x52dd71[_0xcf8641(0x392)](),_0x6f56e0(_0x56b526,_0x1d087e,_0x410cd1,_0x39efdf)));_0x518b23[_0xcf8641(0x43e)](_0x52dd71);});}return{'redos':[],'undos':[]};};this[_0x387390(0x3b3)][_0x387390(0x42b)]((_0x22d705,_0x12fad6)=>{const _0x25215b=_0x387390,{range:_0xb7d3f1,sheetID:_0x49b19b}=_0x22d705,_0x1ca0f6=this['_refRangeService'][_0x25215b(0x355)](_0xb7d3f1,_0x18283d=>(_0x1ca0f6[_0x25215b(0x392)](),_0x6f56e0(_0x18283d,_0x12fad6,_0x49b19b,_0xb7d3f1)));_0x518b23[_0x25215b(0x43e)](_0x1ca0f6);});};this[_0x1d1269(0x1c3)](a['toDisposable'](this[_0x1d1269(0x3b7)]['subscribe'](()=>{_0x1c8132();})));}['_toggleOnline'](){const _0x32bf1e=_0x3b20ce;var _0x2defdf,_0x467858;if(this[_0x32bf1e(0x21e)]=!0x0,((_0x2defdf=this[_0x32bf1e(0x27e)][_0x32bf1e(0x3b8)]())==null?void 0x0:_0x2defdf['getUnitId']())!==this['unitID'])return;const _0x17c147=(_0x467858=this[_0x32bf1e(0x411)][_0x32bf1e(0x3ff)](g[_0x32bf1e(0x203)])[_0x32bf1e(0x407)]())==null?void 0x0:_0x467858[0x0],_0x2c62e1=this['_univerInstanceService'][_0x32bf1e(0x3a2)](a['UniverInstanceType'][_0x32bf1e(0x21a)])[_0x32bf1e(0x3f2)]();_0x17c147&&_0x2c62e1&&this[_0x32bf1e(0x402)](_0x2c62e1['getSheetId'](),_0x17c147);}['_toggleOffline'](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x3b20ce(0x282)](a[_0x3b20ce(0x366)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x235)])),A(0x5,a[_0x3b20ce(0x317)]),A(0x6,a[_0x3b20ce(0x340)]),A(0x7,a[_0x3b20ce(0x282)](g[_0x3b20ce(0x217)]))],Se);var at=Object[_0x3b20ce(0x36b)],ct=(_0x4cc633,_0x303756,_0x19f1c1,_0x1e94e0)=>{const _0x3b664a=_0x3b20ce;for(var _0x2e33f9=_0x1e94e0>0x1?void 0x0:_0x1e94e0?at(_0x303756,_0x19f1c1):_0x303756,_0x5ec69c=_0x4cc633[_0x3b664a(0x34f)]-0x1,_0x21ba21;_0x5ec69c>=0x0;_0x5ec69c--)(_0x21ba21=_0x4cc633[_0x5ec69c])&&(_0x2e33f9=_0x21ba21(_0x2e33f9)||_0x2e33f9);return _0x2e33f9;},ie=(_0x4630ed,_0x37a440)=>(_0x2624b4,_0x1cbc28)=>_0x37a440(_0x2624b4,_0x1cbc28,_0x4630ed);let x=class extends a[_0x3b20ce(0x1bb)]{constructor(_0x45539c,_0x5a5bf6,_0x2b5435){const _0x4ad764=_0x3b20ce;super(),h(this,'_entities',new Map()),h(this,_0x4ad764(0x2d4),new d[(_0x4ad764(0x362))]()),(this['_univerInstanceService']=_0x45539c,this[_0x4ad764(0x411)]=_0x5a5bf6,this[_0x4ad764(0x20c)]=_0x2b5435,this[_0x4ad764(0x3e1)]());}['dispose'](){const _0xb902ef=_0x3b20ce;super[_0xb902ef(0x392)](),this[_0xb902ef(0x2d4)][_0xb902ef(0x408)](),this['_entities'][_0xb902ef(0x42b)](_0x1f563d=>_0x1f563d[_0xb902ef(0x392)]());}[_0x3b20ce(0x25a)](_0x141ff0){const _0x152d6f=_0x3b20ce;return this[_0x152d6f(0x40d)][_0x152d6f(0x2a0)](_0x141ff0)?this[_0x152d6f(0x40d)]['get'](_0x141ff0)[_0x152d6f(0x3c2)]:this['_entityInit$']['pipe'](d[_0x152d6f(0x375)](_0x1535df=>_0x1535df[_0x152d6f(0x225)]===_0x141ff0),d[_0x152d6f(0x232)](_0x2e252a=>_0x2e252a[_0x152d6f(0x3c2)]));}['_init'](){const _0xaa2ed1=_0x3b20ce;this['_univerInstanceService'][_0xaa2ed1(0x219)](a['UniverInstanceType']['UNIVER_SHEET'])[_0xaa2ed1(0x32f)](d[_0xaa2ed1(0x2ec)](this[_0xaa2ed1(0x28c)]))[_0xaa2ed1(0x3d4)](async _0x2f59f6=>{const _0x7a39f0=_0xaa2ed1,_0x3a14e7=_0x2f59f6['getUnitId'](),_0x482262=await this[_0x7a39f0(0x405)](_0x3a14e7);this['_entityInit$']['next'](_0x482262),this[_0x7a39f0(0x40d)]['set'](_0x3a14e7,_0x482262);}),this['_univerInstanceService'][_0xaa2ed1(0x219)](a[_0xaa2ed1(0x356)]['UNIVER_DOC'])[_0xaa2ed1(0x32f)](d[_0xaa2ed1(0x2ec)](this[_0xaa2ed1(0x28c)]))[_0xaa2ed1(0x32f)](d['filter'](_0x44b063=>!_0x44b063[_0xaa2ed1(0x35f)]()[_0xaa2ed1(0x335)]('__')))['subscribe'](async _0x2659f8=>{const _0x2ceb60=_0xaa2ed1,_0x2baf23=_0x2659f8[_0x2ceb60(0x35f)](),_0x39d70b=await this[_0x2ceb60(0x2a7)](_0x2baf23);this[_0x2ceb60(0x2d4)][_0x2ceb60(0x3c7)](_0x39d70b),this['_entities'][_0x2ceb60(0x26a)](_0x2baf23,_0x39d70b);}),d['merge'](this[_0xaa2ed1(0x27e)][_0xaa2ed1(0x305)](a['UniverInstanceType'][_0xaa2ed1(0x29b)]),this['_univerInstanceService'][_0xaa2ed1(0x305)](a['UniverInstanceType']['UNIVER_SHEET']))[_0xaa2ed1(0x32f)](d[_0xaa2ed1(0x2ec)](this['dispose$']))['subscribe'](_0x4b4362=>{const _0x311603=_0xaa2ed1,_0xae88a3=_0x4b4362['getUnitId'](),_0x301b33=this['_entities']['get'](_0xae88a3);_0x301b33&&(_0x301b33[_0x311603(0x392)](),this['_entities'][_0x311603(0x30b)](_0xae88a3));});}async[_0x3b20ce(0x405)](_0x52a3c1){const _0x34547d=_0x3b20ce,_0x131eb8=await this[_0x34547d(0x20c)]['requireSession'](_0x52a3c1),_0x36c844=this['_injector'][_0x34547d(0x322)](Se,_0x52a3c1,_0x131eb8);return _0x36c844['init'](),_0x36c844;}async[_0x3b20ce(0x2a7)](_0xd0cd50){const _0x557ade=_0x3b20ce,_0x37b415=await this[_0x557ade(0x20c)][_0x557ade(0x414)](_0xd0cd50),_0x840cf4=this[_0x557ade(0x411)][_0x557ade(0x322)](Ie,_0xd0cd50,_0x37b415);return _0x840cf4[_0x557ade(0x2cd)](),_0x840cf4;}};x=ct([ie(0x0,a[_0x3b20ce(0x317)]),ie(0x1,a['Inject'](a['Injector'])),ie(0x2,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x2ad)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x49f19c,_0x4851d6){const _0x32127b=_0x3b20ce;let {radius:_0x14f305,width:_0x3fe62c,height:_0x55aa25}=_0x4851d6;_0x14f305=_0x14f305!=null?_0x14f305:0x0,_0x3fe62c=_0x3fe62c!=null?_0x3fe62c:0x1e,_0x55aa25=_0x55aa25!=null?_0x55aa25:0x1e;let _0x56327c=0x0,_0x11e19c=0x0,_0x550f7c=0x0;_0x56327c=_0x11e19c=_0x550f7c=Math[_0x32127b(0x290)](_0x14f305,_0x3fe62c/0x2,_0x55aa25/0x2),_0x49f19c['beginPath'](),_0x49f19c[_0x32127b(0x2d5)](_0x56327c,0x0),_0x49f19c[_0x32127b(0x1e9)](_0x3fe62c-_0x11e19c,0x0),_0x49f19c[_0x32127b(0x2f7)](_0x3fe62c-_0x11e19c,_0x11e19c,_0x11e19c,Math['PI']*0x3/0x2,0x0,!0x1),_0x49f19c['lineTo'](_0x3fe62c,_0x55aa25-_0x550f7c),_0x49f19c[_0x32127b(0x2f7)](_0x3fe62c-_0x550f7c,_0x55aa25-_0x550f7c,_0x550f7c,0x0,Math['PI']/0x2,!0x1),_0x49f19c[_0x32127b(0x1e9)](0x0,_0x55aa25),_0x49f19c[_0x32127b(0x1e9)](0x0,_0x56327c),_0x49f19c[_0x32127b(0x2f7)](_0x56327c,_0x56327c,_0x56327c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x49f19c[_0x32127b(0x1ec)](),_0x4851d6['fill']&&(_0x49f19c[_0x32127b(0x1fc)](),_0x49f19c[_0x32127b(0x1cf)]=_0x4851d6[_0x32127b(0x325)],_0x4851d6['fillRule']===_0x32127b(0x2bb)?_0x49f19c['fill'](_0x32127b(0x2bb)):_0x49f19c[_0x32127b(0x325)](),_0x49f19c[_0x32127b(0x43d)]());}class ee extends p[_0x3b20ce(0x1e4)]{constructor(_0x22cb37,_0x25371d){const _0xb1facc=_0x3b20ce;super(_0x22cb37,_0x25371d),h(this,'color'),h(this,_0xb1facc(0x24a)),(this['color']=_0x25371d==null?void 0x0:_0x25371d[_0xb1facc(0x338)],this['text']=_0x25371d==null?void 0x0:_0x25371d[_0xb1facc(0x24a)]);}static[_0x3b20ce(0x2bc)](_0xb29ceb,_0x539578){const _0x54090a=_0x3b20ce,{text:_0x49337a,color:_0x177dbd}=_0x539578;_0xb29ceb[_0x54090a(0x1fc)](),_0xb29ceb[_0x54090a(0x1cc)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x20f5e5=_0xb29ceb['measureText'](_0x49337a)['width'],_0x47957d=Math['min'](_0x20f5e5+0x2*ne,Re);_t(_0xb29ceb,{'height':K,'radius':0x4,'width':_0x47957d,'fill':_0x177dbd}),_0xb29ceb[_0x54090a(0x1cf)]='#FFF';const _0x556a37=ne,_0x5bf865=K-lt,_0x30b2c9=Re-0x2*ne;if(_0x20f5e5>_0x30b2c9){let _0x22ed21='',_0x2372d4=0x0;for(const _0x391d9a of _0x49337a){const _0x115195=_0xb29ceb[_0x54090a(0x31e)](_0x391d9a)[_0x54090a(0x2b2)];if(_0x2372d4+_0x115195<=_0x30b2c9-_0xb29ceb[_0x54090a(0x31e)](_0x54090a(0x2c7))[_0x54090a(0x2b2)])_0x22ed21+=_0x391d9a,_0x2372d4+=_0x115195;else{_0x22ed21+=_0x54090a(0x2c7);break;}}_0xb29ceb['fillText'](_0x22ed21,_0x556a37,_0x5bf865);}else _0xb29ceb[_0x54090a(0x1ef)](_0x49337a,_0x556a37,_0x5bf865);_0xb29ceb[_0x54090a(0x43d)]();}['_draw'](_0x310291){const _0x59e53f=_0x3b20ce;ee[_0x59e53f(0x2bc)](_0x310291,this);}}const re=_0x3b20ce(0x3b2),ht='collab-text-range-',ut=_0x3b20ce(0x437),k=0x6,dt=1.5,oe=0x4,It=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x4cee54,_0x5076b9,_0x207e28,_0x37c6d6){const _0x4eda87=_0x3b20ce;h(this,_0x4eda87(0x404),[]),h(this,_0x4eda87(0x333),null),h(this,_0x4eda87(0x222),null),h(this,_0x4eda87(0x316),null),h(this,'_hideTimer',null),h(this,_0x4eda87(0x23c),null),(this[_0x4eda87(0x262)]=_0x4cee54,this[_0x4eda87(0x422)]=_0x5076b9,this[_0x4eda87(0x3ba)]=_0x207e28,this[_0x4eda87(0x388)]=_0x37c6d6,this[_0x4eda87(0x3c0)]());}set[_0x3b20ce(0x349)](_0x2cefd7){const _0x4440fc=_0x3b20ce;_0x2cefd7?(this[_0x4440fc(0x316)]&&this[_0x4440fc(0x316)][_0x4440fc(0x25c)](),this['_textBubble']&&this[_0x4440fc(0x222)]['show']()):(this[_0x4440fc(0x316)]&&this['_anchorDot'][_0x4440fc(0x3b9)](),this[_0x4440fc(0x222)]&&this[_0x4440fc(0x222)]['hide']());}['dispose'](){const _0x1eed6a=_0x3b20ce;for(const _0x52c0b5 of this[_0x1eed6a(0x404)])_0x52c0b5[_0x1eed6a(0x392)]();this[_0x1eed6a(0x222)]&&this[_0x1eed6a(0x222)][_0x1eed6a(0x392)](),this[_0x1eed6a(0x316)]&&this[_0x1eed6a(0x316)][_0x1eed6a(0x392)](),this[_0x1eed6a(0x333)]&&this[_0x1eed6a(0x333)][_0x1eed6a(0x392)](),this[_0x1eed6a(0x23c)]&&this[_0x1eed6a(0x23c)]();}[_0x3b20ce(0x3c0)](){const _0x8c7d31=_0x3b20ce;var _0xf8ba5;const {_docSkeleton:_0x316833,_document:_0x3e84b2}=this,{color:_0x4dfacc,name:_0x1e39fc,ranges:_0xc9e992}=this[_0x8c7d31(0x262)],_0x73f606=_0x3e84b2[_0x8c7d31(0x347)](),{docsLeft:_0x5b7590,docsTop:_0x3c4b3e}=_0x73f606,_0x1128bd=new E[(_0x8c7d31(0x2de))](_0x73f606,_0x316833);for(const {startOffset:_0x2f70c6,endOffset:_0x177a93,rangeType:_0x9eb310,segmentId:_0x169243,segmentPage:_0x2b3e02,collapsed:_0x2e813e,isActive:_0xc58aed}of _0xc9e992){const _0x324728=_0x316833[_0x8c7d31(0x26b)](_0x2f70c6,!0x0,_0x169243,_0x2b3e02);let _0x3aa67b=_0x316833['findNodePositionByCharIndex'](_0x177a93,!0x0,_0x169243,_0x2b3e02);if(_0x3aa67b==null&&(_0x3aa67b=_0x316833[_0x8c7d31(0x26b)](_0x177a93-0x1,!0x1,_0x169243,_0x2b3e02)),_0xc58aed){const {contentBoxPointGroup:_0x171d18}=_0x1128bd[_0x8c7d31(0x1d1)](_0x3aa67b,_0x3aa67b);if(_0x171d18[_0x8c7d31(0x34f)]===0x0)continue;this['_drawAnchor'](_0x4dfacc,_0x171d18,_0x5b7590,_0x3c4b3e,_0x1e39fc),this[_0x8c7d31(0x23c)]=this[_0x8c7d31(0x435)]();}if(_0x324728&&_0x3aa67b){if(_0x9eb310===a[_0x8c7d31(0x204)][_0x8c7d31(0x3dc)]){const _0x2d12a9=new E[(_0x8c7d31(0x26d))](_0x73f606,_0x316833),{pointGroup:_0x43e7b3}=(_0xf8ba5=_0x2d12a9[_0x8c7d31(0x1d1)](_0x324728,_0x3aa67b))!=null?_0xf8ba5:{};if(_0x43e7b3==null||_0x43e7b3[_0x8c7d31(0x34f)]===0x0)continue;this[_0x8c7d31(0x21f)](_0x4dfacc,_0x43e7b3,_0x5b7590,_0x3c4b3e);}else{if(!_0x2e813e){const {borderBoxPointGroup:_0x344323}=_0x1128bd[_0x8c7d31(0x1d1)](_0x324728,_0x3aa67b);if(_0x344323[_0x8c7d31(0x34f)]===0x0)continue;this[_0x8c7d31(0x2b9)](_0x4dfacc,_0x344323,_0x5b7590,_0x3c4b3e);}}}}}['_drawAnchor'](_0x2862c7,_0x10a4c6,_0x21af66,_0x5778a1,_0x7745b0){const _0x16c45b=_0x3b20ce,_0x5756dd=this['_getAnchorBounding'](_0x10a4c6),{left:_0x298581,top:_0x5eee91,height:_0x1212f1}=_0x5756dd,_0xd3bb7c=this['_getScale'](),_0x1e44c4=It/_0xd3bb7c,_0x3196b4=new p['Rect'](re+a[_0x16c45b(0x42c)][_0x16c45b(0x2cb)](k),{'left':_0x298581+_0x21af66-_0x1e44c4,'top':_0x5eee91+_0x5778a1,'height':_0x1212f1,'width':dt,'fill':_0x2862c7||p[_0x16c45b(0x330)](a[_0x16c45b(0x368)][_0x16c45b(0x1f4)],0x0),'strokeWidth':_0x1e44c4,'stroke':St,'evented':!0x0});this[_0x16c45b(0x333)]=_0x3196b4,this[_0x16c45b(0x422)][_0x16c45b(0x37c)](_0x3196b4,E[_0x16c45b(0x2d9)]);const _0x4eac61=new p['Rect'](re+a[_0x16c45b(0x42c)][_0x16c45b(0x2cb)](k),{'left':_0x298581+_0x21af66-_0x1e44c4,'top':_0x5eee91+_0x5778a1-oe/0x2,'height':oe,'width':oe,'fill':_0x2862c7||p['getColor'](a[_0x16c45b(0x368)][_0x16c45b(0x1f4)],0x0),'strokeWidth':0x0,'stroke':_0x2862c7||p[_0x16c45b(0x330)](a['COLORS'][_0x16c45b(0x1f4)],0x0),'evented':!0x1});this[_0x16c45b(0x316)]=_0x4eac61,this[_0x16c45b(0x422)][_0x16c45b(0x37c)](_0x4eac61,E['TEXT_RANGE_LAYER_INDEX']);const _0x505ea6=new ee(re+a[_0x16c45b(0x42c)][_0x16c45b(0x2cb)](k),{'left':_0x298581+_0x21af66-_0x1e44c4,'top':_0x5eee91+_0x5778a1-K,'text':_0x7745b0,'color':_0x2862c7});this[_0x16c45b(0x222)]=_0x505ea6,this[_0x16c45b(0x422)][_0x16c45b(0x37c)](_0x505ea6,E[_0x16c45b(0x2d9)]),this[_0x16c45b(0x349)]=!0x1;}[_0x3b20ce(0x435)](){const _0x8cabf9=_0x3b20ce,_0x477103=this['_anchor'][_0x8cabf9(0x29d)][_0x8cabf9(0x2e2)](()=>{const _0x15ce37=_0x8cabf9;this[_0x15ce37(0x349)]=!0x0;}),_0x37e36=this[_0x8cabf9(0x333)][_0x8cabf9(0x398)][_0x8cabf9(0x2e2)](()=>{const _0x55d1c2=_0x8cabf9;this[_0x55d1c2(0x24b)]&&clearTimeout(this[_0x55d1c2(0x24b)]),this[_0x55d1c2(0x24b)]=setTimeout(()=>{const _0x2fcb5f=_0x55d1c2;this[_0x2fcb5f(0x349)]=!0x1;},0x7d0);});return()=>{const _0x3fcb6f=_0x8cabf9;_0x477103[_0x3fcb6f(0x3e3)](),_0x37e36['unsubscribe']();};}[_0x3b20ce(0x2b9)](_0x4f78be,_0x57dc03,_0x55712f,_0x480699){const _0x1e0760=_0x3b20ce,_0x46e5b9=new a[(_0x1e0760(0x3d1))](_0x4f78be)[_0x1e0760(0x264)](0.2)[_0x1e0760(0x361)](),_0x23bd4f=new p['RegularPolygon'](ht+a[_0x1e0760(0x42c)][_0x1e0760(0x2cb)](k),{'pointsGroup':_0x57dc03,'fill':_0x46e5b9||p[_0x1e0760(0x330)](a[_0x1e0760(0x368)][_0x1e0760(0x1f4)],0.2),'left':_0x55712f,'top':_0x480699,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1e0760(0x2a5)](_0x23bd4f),this[_0x1e0760(0x422)][_0x1e0760(0x37c)](_0x23bd4f,E[_0x1e0760(0x2d9)]);}[_0x3b20ce(0x21f)](_0x53c090,_0x39f53d,_0x350054,_0x2b446b){const _0x310668=_0x3b20ce,_0x1b2172=new a[(_0x310668(0x3d1))](_0x53c090)[_0x310668(0x264)](0.2)['toRgbString'](),_0x10078b=new p['RegularPolygon'](ut+a[_0x310668(0x42c)][_0x310668(0x2cb)](k),{'pointsGroup':_0x39f53d,'fill':_0x1b2172||p[_0x310668(0x330)](a[_0x310668(0x368)]['black'],0.2),'left':_0x350054,'top':_0x2b446b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x10078b),this[_0x310668(0x422)][_0x310668(0x37c)](_0x10078b,E[_0x310668(0x2d9)]);}[_0x3b20ce(0x327)](_0x1f132b){const _0x159258=_0x1f132b[0x0],_0x33d320=_0x159258[0x0],_0x34f071=_0x159258[0x2],{x:_0x4e6906,y:_0x375557}=_0x33d320,{x:_0x5e9607,y:_0x6e01de}=_0x34f071;return{'left':_0x4e6906,'top':_0x375557,'width':_0x5e9607-_0x4e6906,'height':_0x6e01de-_0x375557};}['_getScale'](){const _0x1c9c2a=_0x3b20ce,{scaleX:_0x49fbdc,scaleY:_0x33e9d0}=this[_0x1c9c2a(0x422)][_0x1c9c2a(0x28b)]();return Math[_0x1c9c2a(0x301)](_0x49fbdc,_0x33e9d0);}}var ft=Object[_0x3b20ce(0x36b)],vt=(_0x3b2b24,_0x5819ea,_0x55e534,_0x490461)=>{for(var _0xdc35ac=_0x490461>0x1?void 0x0:_0x490461?ft(_0x5819ea,_0x55e534):_0x5819ea,_0x462b2a=_0x3b2b24['length']-0x1,_0x509b07;_0x462b2a>=0x0;_0x462b2a--)(_0x509b07=_0x3b2b24[_0x462b2a])&&(_0xdc35ac=_0x509b07(_0xdc35ac)||_0xdc35ac);return _0xdc35ac;},W=(_0x3ac209,_0x619468)=>(_0x5bb533,_0x24f9c9)=>_0x619468(_0x5bb533,_0x24f9c9,_0x3ac209);let fe=class extends a['RxDisposable']{constructor(_0x42a133,_0x26827d,_0x137e9f,_0x547986,_0x237cd5){const _0x1136aa=_0x3b20ce;super(),h(this,'_cursorShapes',[]),h(this,'_cursors',[]),(this[_0x1136aa(0x2c0)]=_0x42a133,this['_docSkeletonManagerService']=_0x26827d,this[_0x1136aa(0x314)]=_0x137e9f,this[_0x1136aa(0x372)]=_0x547986,this[_0x1136aa(0x1f1)]=_0x237cd5,this[_0x1136aa(0x3e1)]());}['_init'](){const _0x263344=_0x3b20ce,_0x3d2b35=this[_0x263344(0x2c0)]['unitId'],_0x36d939=this[_0x263344(0x296)];this['disposeWithMe'](d[_0x263344(0x1c9)]([this[_0x263344(0x314)][_0x263344(0x25a)](_0x3d2b35),this['_themeService'][_0x263344(0x3df)]])[_0x263344(0x32f)]($[_0x263344(0x22c)](([_0x2e424c,_0xa2c660])=>({'skeleton':_0x36d939['getSkeleton'](),'cursors':[..._0x2e424c[_0x263344(0x249)]()][_0x263344(0x308)](_0x249443=>({..._0x249443,'color':this[_0x263344(0x1f1)]['getColorFromTheme'](_0x249443[_0x263344(0x338)])}))})))[_0x263344(0x3d4)](_0x38d7f9=>{const _0x4482b9=_0x263344;if(this[_0x4482b9(0x2b1)](),_0x38d7f9){const {skeleton:_0x31baac,cursors:_0x8075d6}=_0x38d7f9;this[_0x4482b9(0x3cd)](_0x31baac,_0x8075d6);}})),this[_0x263344(0x331)](),this[_0x263344(0x41c)]();}[_0x3b20ce(0x3cd)](_0x276b14,_0x500917){const _0x83a7c6=_0x3b20ce,{scene:_0x98341a,mainComponent:_0x3541ad}=this['_context'],_0x404ede=_0x500917[_0x83a7c6(0x22c)](_0x465b50=>new De(_0x465b50,_0x98341a,_0x276b14,_0x3541ad));this[_0x83a7c6(0x1fb)]=_0x404ede,this[_0x83a7c6(0x258)]=_0x500917;}['_refreshCollabCursors'](){const _0x39386e=_0x3b20ce;this[_0x39386e(0x2b1)]();const {scene:_0xcabc2b,mainComponent:_0x399236}=this[_0x39386e(0x2c0)],_0x543e77=this[_0x39386e(0x296)][_0x39386e(0x3f1)](),_0x584ba2=this['_cursors'][_0x39386e(0x22c)](_0x2f8c23=>new De(_0x2f8c23,_0xcabc2b,_0x543e77,_0x399236));this[_0x39386e(0x1fb)]=_0x584ba2;}['_removeCollabCursors'](){const _0x1bf5db=_0x3b20ce;this[_0x1bf5db(0x1fb)][_0x1bf5db(0x42b)](_0xbe39f=>_0xbe39f[_0x1bf5db(0x392)]()),this[_0x1bf5db(0x1fb)]=[];}[_0x3b20ce(0x41c)](){const _0x151a99=_0x3b20ce,_0x1b36e0=[E[_0x151a99(0x28a)]['id']];this['disposeWithMe'](this[_0x151a99(0x372)]['onCommandExecuted'](_0x47b350=>{const _0x2c27c2=_0x151a99;_0x1b36e0[_0x2c27c2(0x2b8)](_0x47b350['id'])&&_0x47b350['params'][_0x2c27c2(0x22a)]===this[_0x2c27c2(0x2c0)][_0x2c27c2(0x22a)]&&this[_0x2c27c2(0x1d7)]();}));}[_0x3b20ce(0x331)](){const _0x345f3f=_0x3b20ce;this[_0x345f3f(0x1c3)](a[_0x345f3f(0x247)](this['_context'][_0x345f3f(0x38d)][_0x345f3f(0x376)])[_0x345f3f(0x32f)]($[_0x345f3f(0x375)](_0x1cf3b3=>_0x1cf3b3['type']===p[_0x345f3f(0x200)][_0x345f3f(0x439)]),$[_0x345f3f(0x1d9)](0x10))[_0x345f3f(0x3d4)](()=>{const _0x53fee6=_0x345f3f;this[_0x53fee6(0x1d7)]();}));}};fe=vt([W(0x1,a['Inject'](Y[_0x3b20ce(0x3a4)])),W(0x2,a[_0x3b20ce(0x282)](x)),W(0x3,a[_0x3b20ce(0x340)]),W(0x4,a[_0x3b20ce(0x282)](a[_0x3b20ce(0x227)]))],fe);const gt=0x1,mt=1.5;class we extends p[_0x3b20ce(0x1e4)]{constructor(_0x173df5,_0x470eb7){const _0xf07981=_0x3b20ce;super(_0x173df5,_0x470eb7),h(this,'_color'),h(this,_0xf07981(0x38b),!0x1),h(this,_0xf07981(0x20d)),h(this,_0xf07981(0x272),''),h(this,_0xf07981(0x1ed),_0xf07981(0x3d2)),h(this,_0xf07981(0x351)),(_0x470eb7&&this['setShapeProps'](_0x470eb7),this[_0xf07981(0x29d)][_0xf07981(0x2e2)](()=>this[_0xf07981(0x289)]({'hovered':!0x0})),this[_0xf07981(0x398)][_0xf07981(0x2e2)](()=>this[_0xf07981(0x289)]({'hovered':!0x1})));}['setShapeProps'](_0x20b1f6){const _0x2fbf45=_0x3b20ce;var _0x185380,_0x5f4b70,_0x33a425,_0x182fd3,_0x4f0222,_0x464523;this[_0x2fbf45(0x400)]=(_0x185380=_0x20b1f6[_0x2fbf45(0x338)])!=null?_0x185380:this['_color'],this[_0x2fbf45(0x38b)]=(_0x5f4b70=_0x20b1f6[_0x2fbf45(0x267)])!=null?_0x5f4b70:this[_0x2fbf45(0x38b)],this[_0x2fbf45(0x20d)]=(_0x33a425=_0x20b1f6[_0x2fbf45(0x236)])!=null?_0x33a425:this['_range'],this[_0x2fbf45(0x272)]=(_0x182fd3=_0x20b1f6['name'])!=null?_0x182fd3:this[_0x2fbf45(0x272)],this[_0x2fbf45(0x1ed)]=(_0x4f0222=_0x20b1f6[_0x2fbf45(0x33d)])!=null?_0x4f0222:this['_labelPosition'],this[_0x2fbf45(0x351)]=(_0x464523=_0x20b1f6[_0x2fbf45(0x1f2)])!=null?_0x464523:this['_backgroundColor'],this[_0x2fbf45(0x2b6)]({'width':_0x20b1f6[_0x2fbf45(0x2b2)],'height':_0x20b1f6[_0x2fbf45(0x1f3)]});}[_0x3b20ce(0x2aa)](_0x28c51e){const _0x3ae175=_0x3b20ce,{row:_0x46cd04,column:_0x5aab52}=_0x28c51e;if(_0x46cd04>=this[_0x3ae175(0x20d)]['startRow']&&_0x46cd04<=this[_0x3ae175(0x20d)]['endRow']&&_0x5aab52>=this['_range']['startColumn']&&_0x5aab52<=this[_0x3ae175(0x20d)][_0x3ae175(0x263)]){this[_0x3ae175(0x289)]({'hovered':!0x0});return;}this[_0x3ae175(0x289)]({'hovered':!0x1});}['triggerDblclick'](_0x14534a){return!0x1;}[_0x3b20ce(0x40f)](_0x3168b9){const _0x56cb7b=_0x3b20ce;p['Rect']['drawWith'](_0x3168b9,{'width':this[_0x56cb7b(0x2b2)],'height':this[_0x56cb7b(0x1f3)],'strokeWidth':mt,'stroke':this[_0x56cb7b(0x400)],'evented':!0x1,'fill':this[_0x56cb7b(0x351)]}),this[_0x56cb7b(0x38b)]&&(_0x3168b9['save'](),_0x3168b9['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x56cb7b(0x1ed)]===_0x56cb7b(0x34e)?0x0:-0x14),ee[_0x56cb7b(0x2bc)](_0x3168b9,{'text':this[_0x56cb7b(0x272)],'color':this['_color']}),_0x3168b9[_0x56cb7b(0x43d)]());}}var Ct=Object[_0x3b20ce(0x36b)],pt=(_0x3d429d,_0x56a359,_0x4dd9a6,_0x47cde8)=>{for(var _0x154059=_0x47cde8>0x1?void 0x0:_0x47cde8?Ct(_0x56a359,_0x4dd9a6):_0x56a359,_0x5f4820=_0x3d429d['length']-0x1,_0x5486b5;_0x5f4820>=0x0;_0x5f4820--)(_0x5486b5=_0x3d429d[_0x5f4820])&&(_0x154059=_0x5486b5(_0x154059)||_0x154059);return _0x154059;},ae=(_0x3b628c,_0x61a3)=>(_0x4c7367,_0x370b7a)=>_0x61a3(_0x4c7367,_0x370b7a,_0x3b628c);const Et=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x514744,_0x4483f2,_0x9a21f3,_0x28eba2){const _0xa7bc20=_0x3b20ce;super(),h(this,_0xa7bc20(0x258),new Set()),h(this,_0xa7bc20(0x35d),null),(this[_0xa7bc20(0x2c0)]=_0x514744,this[_0xa7bc20(0x298)]=_0x4483f2,this[_0xa7bc20(0x314)]=_0x9a21f3,this['_themeService']=_0x28eba2,this[_0xa7bc20(0x3e1)]());}[_0x3b20ce(0x3e1)](){const _0x2a2433=_0x3b20ce;this[_0x2a2433(0x298)][_0x2a2433(0x37a)]['pipe']($[_0x2a2433(0x2ec)](this[_0x2a2433(0x28c)]),$[_0x2a2433(0x232)](_0x2a5c86=>{const _0x1c6dc5=_0x2a2433;if(_0x2a5c86){const _0x214add=_0x2a5c86[_0x1c6dc5(0x2df)];return d['combineLatest'](this[_0x1c6dc5(0x314)]['getCollabCursors$'](this[_0x1c6dc5(0x2c0)]['unitId']),this['_themeService'][_0x1c6dc5(0x3df)])[_0x1c6dc5(0x32f)]($[_0x1c6dc5(0x22c)](([_0x4f045e,_0x80133b])=>{const _0x40ca59=_0x1c6dc5,_0x12dbdc=new Map();return _0x4f045e[_0x40ca59(0x42b)]((_0x3d5eff,_0x5eec93)=>{const _0x34646f=_0x40ca59;if(_0x3d5eff[_0x34646f(0x256)]===_0x214add){const _0x5d8d7d={..._0x3d5eff};_0x5d8d7d['color']=this[_0x34646f(0x1f1)][_0x34646f(0x1e7)](_0x3d5eff[_0x34646f(0x338)]),_0x12dbdc[_0x34646f(0x26a)](_0x5eec93,_0x5d8d7d);}}),{'skeleton':_0x2a5c86,'cursors':_0x12dbdc};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2a2433(0x3d4)](({skeleton:_0x3a736e,cursors:_0x3ca0bf})=>{const _0xce2c77=_0x2a2433;this[_0xce2c77(0x2b1)](),_0x3a736e&&this['_updateCollabCursors'](_0x3a736e,_0x3ca0bf);}),this[_0x2a2433(0x298)][_0x2a2433(0x37a)]['subscribe'](_0x195e4c=>{const _0x2a6576=_0x2a2433;if(_0x195e4c==null)return;const {skeleton:_0x1ee162}=_0x195e4c,{scene:_0x983a89}=this['_context'];_0x983a89[_0x2a6576(0x1fd)]['subscribeEvent'](a[_0x2a6576(0x246)](_0x35d9e5=>{const _0x152e31=_0x2a6576;var _0x50a70a,_0x14619a;const {offsetX:_0xa0fb9a,offsetY:_0x42f139}=_0x35d9e5,{x:_0x23619c,y:_0x50b789}=_0x983a89[_0x152e31(0x382)](p[_0x152e31(0x433)][_0x152e31(0x1e5)]([_0xa0fb9a,_0x42f139])),{scaleX:_0x483d2e,scaleY:_0x4e13f3}=_0x983a89[_0x152e31(0x28b)](),_0x4033e6=_0x983a89[_0x152e31(0x394)](p[_0x152e31(0x3f8)]['VIEW_MAIN']),_0x24eafd=_0x983a89[_0x152e31(0x39c)](p[_0x152e31(0x433)][_0x152e31(0x1e5)]([_0x23619c,_0x50b789]),_0x4033e6),_0x2c2dc2=_0x1ee162[_0x152e31(0x1be)](_0xa0fb9a,_0x42f139,_0x483d2e,_0x4e13f3,_0x24eafd);((_0x50a70a=this[_0x152e31(0x35d)])==null?void 0x0:_0x50a70a['column'])===_0x2c2dc2[_0x152e31(0x2a3)]&&((_0x14619a=this[_0x152e31(0x35d)])==null?void 0x0:_0x14619a['row'])===_0x2c2dc2[_0x152e31(0x26c)]||this[_0x152e31(0x258)][_0x152e31(0x42b)](_0x27f9b0=>{const _0x4b21e1=_0x152e31;_0x27f9b0[_0x4b21e1(0x2aa)](_0x2c2dc2);});},0x64));});}[_0x3b20ce(0x3cd)](_0x2c06cb,_0x4a6aea){const _0x3c3932=_0x3b20ce;var _0x1edaf4;const _0x3b1d36=(_0x1edaf4=this[_0x3c3932(0x298)][_0x3c3932(0x1f0)]())==null?void 0x0:_0x1edaf4[_0x3c3932(0x33c)];if(!_0x3b1d36)return;const _0x9fcb=this['_getSheetObject']();if(!_0x9fcb)return;this[_0x3c3932(0x258)][_0x3c3932(0x42b)](_0x3f8468=>{const _0x1e0a0f=_0x3c3932;_0x3f8468[_0x1e0a0f(0x443)]();});const {scene:_0x2ff040}=_0x9fcb,_0x50f803=bt(Array[_0x3c3932(0x213)](_0x4a6aea[_0x3c3932(0x249)]()))['map'](_0x5aa568=>{const _0x236974=_0x3c3932,{color:_0x34dfd6,range:_0x478cde,name:_0x5a48ed,selection:_0x4f2092,sheetID:_0x1cc543}=_0x5aa568,{startColumn:_0x1770ed,startRow:_0x56d2de,endColumn:_0x4bac19,endRow:_0x4fa6c8}=_0x478cde,_0x396327=X[_0x236974(0x1b6)](_0x56d2de,_0x1770ed,_0x2ff040,_0x3b1d36),_0x276ab2=X[_0x236974(0x1b6)](_0x4fa6c8,_0x4bac19,_0x2ff040,_0x3b1d36),{columnHeaderHeightAndMarginTop:_0x2f3200}=_0x3b1d36,{startX:_0x1a0ca3,startY:_0x429347}=_0x396327,{endX:_0x26a214,endY:_0x24f6fc}=_0x276ab2,_0x193110=_0x26a214-_0x1a0ca3,_0x5a2b78=_0x24f6fc-_0x429347,_0x4ff500={'labelPosition':_0x429347-_0x2f3200>=K?_0x236974(0x3d2):_0x236974(0x34e),'sheetID':_0x1cc543,'range':_0x478cde,'color':_0x34dfd6,'name':_0x5a48ed,'selection':_0x4f2092,'left':_0x1a0ca3,'top':_0x429347,'width':_0x193110,'height':_0x5a2b78,'evented':!0x1,'zIndex':Et};return new we(_0x5a48ed,_0x4ff500);});_0x2ff040[_0x3c3932(0x2a1)](_0x50f803,gt),this[_0x3c3932(0x258)]=new Set(_0x50f803);}[_0x3b20ce(0x2b1)](){const _0x5d0e41=_0x3b20ce;var _0x1e75c9;(_0x1e75c9=this[_0x5d0e41(0x258)])==null||_0x1e75c9[_0x5d0e41(0x42b)](_0x4ff7f9=>_0x4ff7f9[_0x5d0e41(0x392)]());}[_0x3b20ce(0x216)](){const _0x2258ee=_0x3b20ce;return X[_0x2258ee(0x24e)](this[_0x2258ee(0x2c0)][_0x2258ee(0x1f5)],this[_0x2258ee(0x2c0)]);}};ve=pt([ae(0x1,a[_0x3b20ce(0x282)](X[_0x3b20ce(0x2dd)])),ae(0x2,a[_0x3b20ce(0x282)](x)),ae(0x3,a[_0x3b20ce(0x282)](a[_0x3b20ce(0x227)]))],ve);function bt(_0x135762){const _0x2a0c23=_0x3b20ce,_0x2cf027=new Map();return _0x135762['forEach'](_0x127ca3=>{const _0x19d455=_0x3f21;if(_0x2cf027[_0x19d455(0x2a0)](_0x127ca3[_0x19d455(0x250)])){const _0x198f77=_0x2cf027[_0x19d455(0x3ff)](_0x127ca3['selection']);_0x198f77[_0x19d455(0x427)]+=',\x20'+_0x127ca3[_0x19d455(0x427)];}else _0x2cf027[_0x19d455(0x26a)](_0x127ca3[_0x19d455(0x250)],_0x127ca3);}),Array[_0x2a0c23(0x213)](_0x2cf027[_0x2a0c23(0x249)]());}var b=function(){const _0x437d00=_0x3b20ce;return b=Object[_0x437d00(0x2c3)]||function(_0x2a6ef8){const _0x5439ad=_0x437d00;for(var _0x4c5962,_0x259073=0x1,_0x1367a9=arguments['length'];_0x259073<_0x1367a9;_0x259073++){_0x4c5962=arguments[_0x259073];for(var _0xe51bce in _0x4c5962)Object[_0x5439ad(0x20a)][_0x5439ad(0x3c9)]['call'](_0x4c5962,_0xe51bce)&&(_0x2a6ef8[_0xe51bce]=_0x4c5962[_0xe51bce]);}return _0x2a6ef8;},b[_0x437d00(0x210)](this,arguments);},Ot=function(_0x9744e6,_0x2bd23){const _0x149490=_0x3b20ce;var _0x104078={};for(var _0x3b6037 in _0x9744e6)Object[_0x149490(0x20a)][_0x149490(0x3c9)]['call'](_0x9744e6,_0x3b6037)&&_0x2bd23['indexOf'](_0x3b6037)<0x0&&(_0x104078[_0x3b6037]=_0x9744e6[_0x3b6037]);if(_0x9744e6!=null&&typeof Object[_0x149490(0x389)]==_0x149490(0x2f9)){for(var _0x1c6a59=0x0,_0x3b6037=Object[_0x149490(0x389)](_0x9744e6);_0x1c6a59<_0x3b6037['length'];_0x1c6a59++)_0x2bd23[_0x149490(0x3f3)](_0x3b6037[_0x1c6a59])<0x0&&Object[_0x149490(0x20a)]['propertyIsEnumerable'][_0x149490(0x2a4)](_0x9744e6,_0x3b6037[_0x1c6a59])&&(_0x104078[_0x3b6037[_0x1c6a59]]=_0x9744e6[_0x3b6037[_0x1c6a59]]);}return _0x104078;},pe=M[_0x3b20ce(0x2c1)](function(_0x4d1849,_0x135b53){const _0x4b5c96=_0x3b20ce;var _0x25174c=_0x4d1849[_0x4b5c96(0x1d2)],_0x426c11=_0x4d1849['id'],_0x5dbcc8=_0x4d1849[_0x4b5c96(0x283)],_0xa479f5=_0x4d1849[_0x4b5c96(0x1c0)],_0x2ea703=Ot(_0x4d1849,[_0x4b5c96(0x1d2),'id','className',_0x4b5c96(0x1c0)]),_0x146f45=_0x4b5c96(0x245)['concat'](_0x426c11,'\x20')[_0x4b5c96(0x3a7)](_0x5dbcc8||'')[_0x4b5c96(0x2ac)](),_0x2c8008=M[_0x4b5c96(0x363)]('_'[_0x4b5c96(0x3a7)](Dt()));return Ae(_0x25174c,''[_0x4b5c96(0x3a7)](_0x426c11),{'defIds':_0x25174c[_0x4b5c96(0x2cc)],'idSuffix':_0x2c8008[_0x4b5c96(0x339)]},b({'ref':_0x135b53,'className':_0x146f45},_0x2ea703),_0xa479f5);});function Ae(_0x17ade9,_0x2f47ea,_0x22cb70,_0x57ee37,_0x5543c3){const _0x3fa5cf=_0x3b20ce;return M[_0x3fa5cf(0x1ee)](_0x17ade9[_0x3fa5cf(0x229)],b(b({'key':_0x2f47ea},Tt(_0x17ade9,_0x22cb70,_0x5543c3)),_0x57ee37),(Rt(_0x17ade9,_0x22cb70)['children']||[])[_0x3fa5cf(0x22c)](function(_0x5460dc,_0x30abe0){const _0x4b007a=_0x3fa5cf;return Ae(_0x5460dc,''['concat'](_0x2f47ea,'-')[_0x4b007a(0x3a7)](_0x17ade9[_0x4b007a(0x229)],'-')[_0x4b007a(0x3a7)](_0x30abe0),_0x22cb70,void 0x0,_0x5543c3);}));}function Tt(_0x3df48,_0x18fe34,_0x4216c8){const _0x11de8f=_0x3b20ce;var _0x1086bb=b({},_0x3df48['attrs']);_0x4216c8!=null&&_0x4216c8[_0x11de8f(0x201)]&&_0x1086bb[_0x11de8f(0x325)]==='colorChannel1'&&(_0x1086bb[_0x11de8f(0x325)]=_0x4216c8[_0x11de8f(0x201)]),_0x3df48[_0x11de8f(0x229)]===_0x11de8f(0x2fb)&&_0x1086bb['id']&&(_0x1086bb['id']=_0x1086bb['id']+_0x18fe34[_0x11de8f(0x3f6)]),Object['entries'](_0x1086bb)[_0x11de8f(0x42b)](function(_0x42c784){const _0x4d6241=_0x11de8f;var _0x28e198=_0x42c784[0x0],_0x1b3950=_0x42c784[0x1];_0x28e198===_0x4d6241(0x2fb)&&typeof _0x1b3950==_0x4d6241(0x1df)&&(_0x1086bb[_0x28e198]=_0x1b3950['replace'](/url\(#(.*)\)/,_0x4d6241(0x35a)['concat'](_0x18fe34[_0x4d6241(0x3f6)],')')));});var _0xd1cb41=_0x18fe34[_0x11de8f(0x2cc)];return!_0xd1cb41||_0xd1cb41[_0x11de8f(0x34f)]===0x0||(_0x3df48[_0x11de8f(0x229)]===_0x11de8f(0x369)&&_0x1086bb['xlink:href']&&(_0x1086bb['xlink:href']=_0x1086bb[_0x11de8f(0x43a)]+_0x18fe34[_0x11de8f(0x3f6)]),Object[_0x11de8f(0x211)](_0x1086bb)['forEach'](function(_0x3dc62a){const _0x49dfc5=_0x11de8f;var _0x42a0b0=_0x3dc62a[0x0],_0x4d9f0c=_0x3dc62a[0x1];typeof _0x4d9f0c==_0x49dfc5(0x1df)&&(_0x1086bb[_0x42a0b0]=_0x4d9f0c['replace'](/url\(#(.*)\)/,_0x49dfc5(0x35a)[_0x49dfc5(0x3a7)](_0x18fe34[_0x49dfc5(0x3f6)],')')));})),_0x1086bb;}function Rt(_0x4a3e39,_0x25f220){const _0x17c592=_0x3b20ce;var _0x2c5369,_0x1f904f=_0x25f220[_0x17c592(0x2cc)];return!_0x1f904f||_0x1f904f[_0x17c592(0x34f)]===0x0?_0x4a3e39:_0x4a3e39[_0x17c592(0x229)]===_0x17c592(0x385)&&(!((_0x2c5369=_0x4a3e39[_0x17c592(0x255)])===null||_0x2c5369===void 0x0)&&_0x2c5369[_0x17c592(0x34f)])?b(b({},_0x4a3e39),{'children':_0x4a3e39['children']['map'](function(_0xae9e3d){const _0xb7f78e=_0x17c592;return typeof _0xae9e3d[_0xb7f78e(0x3fa)]['id']==_0xb7f78e(0x1df)&&_0x1f904f&&_0x1f904f[_0xb7f78e(0x2b8)](_0xae9e3d[_0xb7f78e(0x3fa)]['id'])?b(b({},_0xae9e3d),{'attrs':b(b({},_0xae9e3d[_0xb7f78e(0x3fa)]),{'id':_0xae9e3d[_0xb7f78e(0x3fa)]['id']+_0x25f220[_0xb7f78e(0x3f6)]})}):_0xae9e3d;})}):_0x4a3e39;}function Dt(){const _0xf56019=_0x3b20ce;return Math[_0xf56019(0x38a)]()[_0xf56019(0x3e9)](0x24)[_0xf56019(0x1d0)](0x2,0x8);}pe[_0x3b20ce(0x221)]=_0x3b20ce(0x3bc);var Ut={'tag':_0x3b20ce(0x240),'attrs':{'xmlns':_0x3b20ce(0x252),'fill':_0x3b20ce(0x403),'viewBox':_0x3b20ce(0x2d3),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3b20ce(0x2ea)},'children':[{'tag':_0x3b20ce(0x22f),'attrs':{'stroke':_0x3b20ce(0x1ca),'d':_0x3b20ce(0x3d0),'strokeLinecap':_0x3b20ce(0x409),'strokeLinejoin':_0x3b20ce(0x409),'strokeWidth':1.2}}]},{'tag':_0x3b20ce(0x385),'attrs':{},'children':[{'tag':_0x3b20ce(0x1ce),'attrs':{'id':_0x3b20ce(0x1bd)},'children':[{'tag':_0x3b20ce(0x22f),'attrs':{'fill':_0x3b20ce(0x2e1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},ye=M[_0x3b20ce(0x2c1)](function(_0x20b934,_0x197ea7){const _0x3f7e02=_0x3b20ce;return M[_0x3f7e02(0x1ee)](pe,Object[_0x3f7e02(0x2c3)]({},_0x20b934,{'id':_0x3f7e02(0x42e),'ref':_0x197ea7,'icon':Ut}));});ye[_0x3b20ce(0x221)]=_0x3b20ce(0x2ce);function _0x2c3e(){const _0xe1c57f=['SNAPSHOT_INVALID_SNAPSHOT','getSheetBySheetId','disposeUnit','pipe','getColor','_initResize','reconnect','_anchor','_registerDependencies','startsWith','isActive','APPLY_NON_SEQUENTIAL_REVISION','color','current','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','skeleton','labelPosition','LOGIN_FAILED','IRenderManagerService','ICommandService','IConfigService','CollaborationController','TOO_MANY_REQUESTS','with','ACTIVE_UNIT_EVENT_CHANNEL','params','getOffsetConfig','handleDeleteRangeMoveLeft','_hover','clsx','_renderManagerService','_assignedColors','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','bottom','length','Failed','_backgroundColor','getUndoRedoMutationParamsCache','defineProperty','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerRefRange','UniverInstanceType','actions','permission.content','SetSelectionsOperation','url(#$1','clearInterval','_instanceService','_lastPointer','_beforeCloseService','getUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','toRgbString','Subject','useRef','_scheduleClearOtherTimer','selections','Injector','override','COLORS','use','code','getOwnPropertyDescriptor','1em','entityInit$','CollaborationUIEventId','mutations','Error','DesktopCollaborationStatusDisplayController','_commandService','2797186EnrcRQ','CollaborationUIEventService','filter','onTransformChange$','setParam','UniverCollaborationClientUIPlugin','m2Prime','currentSkeleton$','_disabled','addObject','PY_RUNTIME_SCRIPT_ERROR','handleMoveRange','UNAUTHENTICATED','_getMergeRange','executeCommand','getRelativeToViewportCoord','createSocket','useCallback','defs','_setupBeforeClosingHandler','ranges','_document','getOwnPropertySymbols','random','_hovered','_logService','engine','4223334EHyGyh','textRanges','purple.300','invokeId','dispose','@univerjs/sheets-ui','getViewport','DEFAULT_WS_SESSION_TICKET_URL','_configService','_docClipboardService','onPointerLeave$','loadUnit','_initStatusComponent','distinctUntilChanged','getVpScrollXYInfoByPosToVp','toStringTag','LocaleService','Warning','react/jsx-runtime','YUUMI_CONNECTOR_URL_NOT_FOUND','getCurrentUnitForType','event$','DocSkeletonManagerService','_ensureSubject','_heartbeatTimer','concat','collabStatus.conflict','_getSaveTimeout','SNAPSHOT_HAS_BEEN_REMOVED','getItem','assignAColorForMemberID','getCollabEntity$','APPLY_PERMISSION_DENIED','_scheduleSaving','loadOfflineData','handleDeleteRangeMoveUp','collab-text-anchor-','cursorInfo','jiqing.500','Tooltip','_session','_cursorInfo$','getFocusedUnit','show','_docSkeleton','merge','UniverIcon','_unitOnClients','status$','DataLoaderService','_render','USERS_LEAVE','cursorInfo$','eventID','_config','YUUMI_ALL_TABLES_IS_INVALID','_saveCache','next','JOIN_ROOM_FAILED','hasOwnProperty','isArray','_cachedData','key','_updateCollabCursors','_removeClearOtherTimer','SUBMIT_CHANGESET_TIMEOUT','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','ColorKit','top','collaboration.closeRoom','subscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','TEXT','div','debug','onRendered','_imageIoService','_uiPartsService','RECT','LICENSE_DISTRO_REJECTED','RichTextEditingMutation','currentTheme$','createIdentifier','_init','collabStatus.synced','unsubscribe','isTransformMutationsWithChangesetSuccess','_initStatusListener','docStateChange$','INotificationService','getRenderById','toString','LICENSE_IMPORT_SIZE_EXCEEDED','saveImage','_status$','WECHAT_HAS_BEEN_BOUND','getMergeData','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','APPLY_REJECT','getSkeleton','getActiveSheet','indexOf','1216hHbFdw','_docTransformSelectionsService','idSuffix','ENSURE_SNAPSHOT_EXECUTION','SHEET_VIEWPORT_KEY','CollaborationDataLoaderController','attrs','all','91924blchve','transformSelections','parse','get','_color','getConfig','_updateLocalCursor','none','_shapes','_startSheetCollabCursor','onStarting','getCurrentSelections','complete','round','undoState','setItem','handleInsertCol','_entities','body','_draw','CollaborationStatus','_injector','_collaborationController','then','requireSession','getParam','ILogService','YUUMI_URL_COL_OUT_OF_RANGE','getDocRanges','INVALID_INVITE_CODE','collabCursorState$','stringify','_initCommandExecutedListener','_dataLoaderService','red.300','M0\x200H16V16H0z','on-line-icon','roomMembers','_scene','SetWorksheetActivateCommand','SYNCED','INVITE_CODE_REQUIRED','RemoteUniscriptService','name','LOCAL_CACHE_INTERVAL_KEY','addEventListener','@univerjs/rpc','forEach','Tools','AWAITING','off-line-icon','12JRFMxI','HTTPService','doc.mutation.rich-text-editing','_docStateChangeManagerService','Vector2','search','_handleHover','yellow.400','collab-rect-range-','@univerjs/docs','resize','xlink:href','DocIMEInputManagerService','ILocalStorageService','restore','add','13047dNWgvU','transformMutation','redoState','_httpService','makeDirty','MessageType','EMAIL_HAS_BEEN_BOUND','replaceDocRanges','_registerRenderDependencies','getCoordByCell','_updateSubUnitFromURLParams','LOCAL_CACHE_INTERVAL','YUUMI_ASYNCIO_CANCELLED','_saveTaskMap','RxDisposable','YUUMI_AI_RUN_FAILED','off-line-icon_clip0_910_343','getCellPositionByOffset','useDependency','extend','_messageService','on-line-icon_clip0_910_349','disposeWithMe','subunit','SessionStatus','_toggleOnline','MOBILE_VERIFY_CODE_MISMATCH','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','combineLatest','currentColor','EffectRefRangId','font','UniverCollaborationClientPlugin','clipPath','fillStyle','substring','getRangePointData','icon','Unknown\x20user','debounceTime','_createSocketURL','IDocClipboardService','_refreshCollabCursors','data','throttleTime','runId','2035950qApVSa','_getSessionTicket','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','string','CollaborationStatusDisplay','send','CollaborationSocketService','saveOfflineData','Shape','FromArray','univer-mr-2\x20univer-flex\x20univer-text-xl','getColorFromTheme','editingUnit','lineTo','getLocalCacheKey','_onRefRangeChange','closePath','_labelPosition','createElement','fillText','getCurrent','_themeService','backgroundColor','height','black','unit','disableLocalCache','touchDependencies','ITransformService','ISnapshotServerService','fromEvent','_cursorShapes','save','onPointerMove$','searchParams','handleIRemoveRow','TRANSFORM_CHANGE_OBSERVABLE_TYPE','colorChannel1','registerDependencies','SheetsSelectionsService','DOC_RANGE_TYPE','NO_OTHER_CLIENTS_EDITING','collabStatus.fetchMiss','isTransformMutationFailure','urlChange$','uni.network.url-service','prototype','_id','_collabSessionService','_range','BuiltInUIPart','Workbook','apply','entries','YUUMI_RATE_OVER_LIMIT','from','Disposable','SetTextSelectionsOperation','_getSheetObject','RefRangeService','_setupSubUnitSync','getTypeOfUnitAdded$','UNIVER_SHEET','NOT_FOUND','_notificationService','collabStatus.offline','_online','_drawRectRange','CHANGESET_REVISION_CONFILICT','displayName','_textBubble','ALREADY_EXISTS','symbol','unitID','_urlService','ThemeService','removeParam','tag','unitId','location','map','handleInsertRow','asObservable','path','OnLineIcon','_handleEvent','switchMap','@univerjs-pro/collaboration','split','MemberService','range','_docSyncEditingCollabCursorService','BrowserCollaborationSocketService','getActiveRange','Rectangle','getMemberID','_eventUnsubscribe','newValue','_send','RevisionService','svg','10xljzsE','_colorAssignService','session.collaboration-timeout','CLOSE_ROOM','univerjs-icon\x20univerjs-icon-','debounce','fromEventSubject','NOT_COLLAB','values','text','_hideTimer','blue.400','HEADER_MENU','getSheetObject','_revisionService','selection','green.600','http://www.w3.org/2000/svg','history','560945AMgjnk','children','sheetID','INVITE_CODE_HAS_BEEN_UES','_cursors','mapTo','getCollabCursors$','_transformHistoryAndStateStack','hide','_docTransformIMECacheService','_handleJoinEvent','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','LICENSE_EXPORT_SIZE_EXCEEDED','clearTimeout','_cursor','endColumn','setAlpha','storage','_roomMembers$','hovered','ticket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','set','findNodePositionByCharIndex','row','NodePositionConvertToRectRange','IMessageService','APPLY_DUPLICATED','jsx','getMember','_name','_selfUnitIDs','handleInsertRangeMoveDown','0\x200\x2017\x2016','468CrStWQ','_memberService','YUUMI_UNABLE_LOAD_URL','/run/','transformRemoteChangeset','ONLINE','transformIMECache','ILocalCacheService','_univerInstanceService','UnitStatus','DocSelectionManagerService','getStateCache','Inject','className','collabStatus.notCollab','_transformPreviousActiveRange','roomMembers$','BehaviorSubject','_updateURLWithCurrentState','setShapeProps','SetDocZoomRatioOperation','getAncestorScale','dispose$','rxjs/operators','CONNECTOR_DATA_TOO_LARGE','WebBrowserSingleActiveUnitService','min','setActiveRange','PERMISSION_DENIED','saveTaskMap','MOBILE_HAS_BEEN_BOUND','collab-client.tooltip.reconnect','_docSkeletonManagerService','pushState','_sheetSkeletonManagerService','translate(.97)','onCommandExecuted','UNIVER_DOC','UPDATE_CURSOR','onPointerEnter$','_localCacheService','updateOfflineData','has','addObjects','univer-flex\x20univer-items-center','column','call','push','_refRangeService','_startDocCollabCursor','DocStateChangeManagerService','syncEditingCollabCursor','onMouseMove','setTimeout','trim','CollaborationSessionService','_onCursorUpdate','_localStorageService','source','_removeCollabCursors','width','CollaborationEvent','_handleLeaveEvent','transformMutationsWithChangeset','transformByState','_initEntityListener','includes','_drawTextRange','_initDependencies','evenodd','drawWith','_scheduleHeartbeat','_docTransformStateCacheService','addClipboardHook','_context','forwardRef','getSheetId','assign','FETCH_MISS','5HfWzWl','_onCursorDelete','...','_unitStatus','setStateCache','@univerjs/engine-formula','generateRandomId','defIds','init','OffLineIcon','registerRenderModule','49608REtKKF','registerBeforeClose','serializeRangeWithSheet','0\x200\x2016\x2016','_entityInit$','moveTo','deepClone','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','replaceState','TEXT_RANGE_LAYER_INDEX','handleIRemoveCol','_handleHeartbeatEvent','react','SheetSkeletonManagerService','NodePositionConvertToCursor','sheetId','result','white','subscribeEvent','application/json','size','type','OFFLINE','@univerjs-pro/collaboration-client','find','_clearOtherTimers','url(#off-line-icon_clip0_910_343)','ISocketService','takeUntil','UNRECOGNIZED','_doCreateSocket','error','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m1Prime','some','CommandType','InsertRangeMoveDownCommandId','_localeService','LICENSE_MAX_UNITS_EXCEEDED','arc','getCurrentRevOfUnit','function','MUTATION','mask','INTERNAL_ERROR','OTHER_CLIENTS_EDITING','InsertRangeMoveRightCommandId','DependentOn','_collabCursorState$','max','transformStateCache','_transformUndoRedoStack','_toggleOffline','getTypeOfUnitDisposed$','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','flatMap','SOCKET_FAILED','focused$','delete','@univerjs/core','exhaustSavingTask','IRemoteInstanceService','_transformService','sessionStatus$','setUndoRedoMutationParamsCache','IUIPartsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabCursorController','CONFLICT','_anchorDot','IUniverInstanceService','connectInjector','DeleteRangeMoveUpCommandId','toDisposable','UNDEFINED','href','collaboration-client-ui.config','measureText','INVALID_ARGUMENT','[CollaborationDataLoaderController]','enableLocalCache','createInstance','WebSocketService','isEditing','fill','_colorIndex','_getAnchorBounding','getValue','getUnhiddenWorksheets','_collaborationUIEventService','Optional'];_0x2c3e=function(){return _0xe1c57f;};return _0x2c3e();}var Nt={'tag':'svg','attrs':{'xmlns':_0x3b20ce(0x252),'fill':_0x3b20ce(0x403),'viewBox':_0x3b20ce(0x275),'width':_0x3b20ce(0x36c),'height':_0x3b20ce(0x36c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3b20ce(0x22f),'attrs':{'stroke':_0x3b20ce(0x1ca),'d':_0x3b20ce(0x34d),'strokeLinecap':_0x3b20ce(0x409),'strokeLinejoin':_0x3b20ce(0x409),'strokeWidth':1.2}}]},{'tag':_0x3b20ce(0x385),'attrs':{},'children':[{'tag':_0x3b20ce(0x1ce),'attrs':{'id':_0x3b20ce(0x1c2)},'children':[{'tag':_0x3b20ce(0x22f),'attrs':{'fill':'white','d':_0x3b20ce(0x41f),'transform':_0x3b20ce(0x299)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x3b20ce(0x2c1)](function(_0x1e0f95,_0x3eff7){const _0x3ec43a=_0x3b20ce;return M[_0x3ec43a(0x1ee)](pe,Object[_0x3ec43a(0x2c3)]({},_0x1e0f95,{'id':_0x3ec43a(0x420),'ref':_0x3eff7,'icon':Nt}));});$e[_0x3b20ce(0x221)]=_0x3b20ce(0x230);function Mt(_0x35a091){const _0x5e8cfd=_0x3b20ce;switch(_0x35a091){case u[_0x5e8cfd(0x410)][_0x5e8cfd(0x2e6)]:return _0x5e8cfd(0x21d);case u[_0x5e8cfd(0x410)][_0x5e8cfd(0x315)]:return _0x5e8cfd(0x3a8);case u[_0x5e8cfd(0x410)][_0x5e8cfd(0x2c4)]:return _0x5e8cfd(0x206);case u[_0x5e8cfd(0x410)][_0x5e8cfd(0x248)]:return _0x5e8cfd(0x284);case u['CollaborationStatus'][_0x5e8cfd(0x42d)]:case u[_0x5e8cfd(0x410)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u[_0x5e8cfd(0x410)][_0x5e8cfd(0x424)]:case u[_0x5e8cfd(0x410)]['PENDING']:return _0x5e8cfd(0x3e2);}}function xe(_0xd67be6){const _0x330266=_0x3b20ce,{status$:_0x3e738e}=_0xd67be6,_0x4d40b3=O['useObservable'](_0x3e738e,u[_0x330266(0x410)][_0x330266(0x248)]),_0x176444=O['useDependency'](a[_0x330266(0x39e)]),_0x4b4f58=O[_0x330266(0x1bf)](u[_0x330266(0x2ad)]),_0x503af8=_0x4d40b3!==u[_0x330266(0x410)][_0x330266(0x2e6)],_0x463f14=_0x176444['t'](Mt(_0x4d40b3)),_0x272c9b=_0x503af8?P[_0x330266(0x270)]($e,{}):P[_0x330266(0x270)](ye,{}),_0x48495f=M[_0x330266(0x384)](()=>{const _0x27e148=_0x330266;_0x503af8||_0x4b4f58[_0x27e148(0x332)]();},[_0x503af8,_0x4b4f58]);function _0x41b1ea(){const _0x5bc39b=_0x330266;return P['jsxs'](_0x5bc39b(0x3d7),{'className':_0x5bc39b(0x2a2),'onClick':_0x48495f,'children':[P[_0x5bc39b(0x270)]('div',{'className':D[_0x5bc39b(0x34a)](_0x5bc39b(0x1e6),{'univer-text-green-500':_0x503af8,'univer-text-red-500':!_0x503af8}),'children':_0x272c9b}),P[_0x5bc39b(0x270)](_0x5bc39b(0x3d7),{'className':_0x5bc39b(0x25f),'children':_0x463f14})]});}return _0x503af8?_0x41b1ea():P['jsx'](D[_0x330266(0x3b5)],{'title':_0x176444['t'](_0x330266(0x295)),'children':_0x41b1ea()});}var Lt=Object[_0x3b20ce(0x36b)],Pt=(_0x2768ef,_0x20dc3f,_0x5e75fb,_0x21d594)=>{const _0x457e76=_0x3b20ce;for(var _0x131cd5=_0x21d594>0x1?void 0x0:_0x21d594?Lt(_0x20dc3f,_0x5e75fb):_0x20dc3f,_0x544912=_0x2768ef[_0x457e76(0x34f)]-0x1,_0x179821;_0x544912>=0x0;_0x544912--)(_0x179821=_0x2768ef[_0x544912])&&(_0x131cd5=_0x179821(_0x131cd5)||_0x131cd5);return _0x131cd5;},V=(_0x3d0092,_0x1400c9)=>(_0x342fa4,_0x199301)=>_0x1400c9(_0x342fa4,_0x199301,_0x3d0092);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x3b20ce(0x214)]{constructor(_0x3c032d,_0x49a414,_0x4236ab,_0x30e11b){const _0x4f84cb=_0x3b20ce;super(),h(this,_0x4f84cb(0x3ec),new d['BehaviorSubject'](u[_0x4f84cb(0x410)][_0x4f84cb(0x248)])),(this[_0x4f84cb(0x27e)]=_0x3c032d,this[_0x4f84cb(0x411)]=_0x49a414,this[_0x4f84cb(0x412)]=_0x4236ab,this[_0x4f84cb(0x3db)]=_0x30e11b,this[_0x4f84cb(0x39a)](),this['_initStatusListener']());}[_0x3b20ce(0x3e5)](){const _0x4b3d52=_0x3b20ce;this['disposeWithMe'](this[_0x4b3d52(0x27e)][_0x4b3d52(0x30a)]['pipe'](d[_0x4b3d52(0x232)](()=>{const _0x42cbda=_0x4b3d52,_0x5cf32a=this[_0x42cbda(0x27e)][_0x42cbda(0x3b8)]();return _0x5cf32a?this[_0x42cbda(0x412)][_0x42cbda(0x3ad)](_0x5cf32a['getUnitId']()):d['of'](null);}),d[_0x4b3d52(0x232)](_0x385c65=>_0x385c65?_0x385c65[_0x4b3d52(0x3be)]:d['of'](u[_0x4b3d52(0x410)][_0x4b3d52(0x248)])))[_0x4b3d52(0x3d4)](_0x1b5c9a=>{const _0x68d7a4=_0x4b3d52;this[_0x68d7a4(0x3ec)]['next'](_0x1b5c9a);}));}[_0x3b20ce(0x39a)](){const _0x18ea06=_0x3b20ce;this['disposeWithMe'](this[_0x18ea06(0x3db)]['registerComponent'](O[_0x18ea06(0x20e)][_0x18ea06(0x24d)],()=>O[_0x18ea06(0x318)](wt({'status$':this['_status$']['asObservable']()}),this[_0x18ea06(0x411)])));}},exports[_0x3b20ce(0x371)]=Pt([V(0x0,a[_0x3b20ce(0x317)]),V(0x1,a[_0x3b20ce(0x282)](a[_0x3b20ce(0x366)])),V(0x2,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x342)])),V(0x3,O[_0x3b20ce(0x312)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x5a41f5){const {status$:_0x469dbd}=_0x5a41f5;return function(){const _0xa028ff=_0x3f21;return P[_0xa028ff(0x270)](xe,{'status$':_0x469dbd});};}var At=Object[_0x3b20ce(0x36b)],yt=(_0x2d7ec8,_0x445288,_0x520758,_0x513647)=>{for(var _0x514a32=_0x513647>0x1?void 0x0:_0x513647?At(_0x445288,_0x520758):_0x445288,_0x255b98=_0x2d7ec8['length']-0x1,_0x43a547;_0x255b98>=0x0;_0x255b98--)(_0x43a547=_0x2d7ec8[_0x255b98])&&(_0x514a32=_0x43a547(_0x514a32)||_0x514a32);return _0x514a32;},y=(_0x5b1e4b,_0x16d2e8)=>(_0x23b80c,_0x2f0971)=>_0x16d2e8(_0x23b80c,_0x2f0971,_0x5b1e4b);let q=class extends a['Disposable']{constructor(_0x1bfb81,_0x5b6990,_0x37fbb1,_0x5c493f,_0x56fafa,_0x1e7b75){const _0x2ffbd7=_0x3b20ce;super(),this[_0x2ffbd7(0x35e)]=_0x1bfb81,this['_localCacheService']=_0x5b6990,this[_0x2ffbd7(0x32a)]=_0x37fbb1,this[_0x2ffbd7(0x1c1)]=_0x5c493f,this[_0x2ffbd7(0x21c)]=_0x56fafa,this[_0x2ffbd7(0x2f5)]=_0x1e7b75,this[_0x2ffbd7(0x386)](),this['_initEvent']();}[_0x3b20ce(0x386)](){const _0x4c2139=_0x3b20ce;this['disposeWithMe'](this[_0x4c2139(0x35e)][_0x4c2139(0x2d1)](()=>{const _0x239f86=_0x4c2139;if(this[_0x239f86(0x29e)][_0x239f86(0x293)][_0x239f86(0x2e4)])return this[_0x239f86(0x2f5)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x1df044=_0x3b20ce;this[_0x1df044(0x1c3)](this[_0x1df044(0x32a)][_0x1df044(0x3a3)][_0x1df044(0x3d4)](_0x55f6a0=>{const _0x3421d5=_0x1df044;_0x55f6a0['id']===u[_0x3421d5(0x36e)][_0x3421d5(0x1de)]&&this[_0x3421d5(0x1c1)][_0x3421d5(0x3b9)]({'type':D[_0x3421d5(0x444)][_0x3421d5(0x39f)],'content':this[_0x3421d5(0x2f5)]['t']('collaboration.single-unit.warning')}),_0x55f6a0['id']===u[_0x3421d5(0x36e)][_0x3421d5(0x244)]&&this[_0x3421d5(0x1c1)]['show']({'type':D[_0x3421d5(0x444)][_0x3421d5(0x39f)],'content':this[_0x3421d5(0x2f5)]['t'](_0x3421d5(0x3d3))}),_0x55f6a0['id']===u['CollaborationUIEventId'][_0x3421d5(0x292)]&&this['_notificationService'][_0x3421d5(0x3b9)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3421d5(0x2f5)]['t'](_0x3421d5(0x358)),'type':_0x3421d5(0x2ef),'duration':0x0}),_0x55f6a0['id']===u[_0x3421d5(0x36e)][_0x3421d5(0x315)]&&this[_0x3421d5(0x1c1)][_0x3421d5(0x3b9)]({'type':D[_0x3421d5(0x444)][_0x3421d5(0x370)],'content':this[_0x3421d5(0x2f5)]['t'](_0x3421d5(0x3d3))+'('+_0x55f6a0[_0x3421d5(0x1d8)]+')'}),_0x55f6a0['id']===u['CollaborationUIEventId'][_0x3421d5(0x3c8)]&&this[_0x3421d5(0x1c1)]['show']({'type':D['MessageType'][_0x3421d5(0x39f)],'content':this[_0x3421d5(0x2f5)]['t'](_0x55f6a0[_0x3421d5(0x1d8)]||'')}),_0x55f6a0['id']===u[_0x3421d5(0x36e)]['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':D[_0x3421d5(0x444)][_0x3421d5(0x39f)],'content':this[_0x3421d5(0x2f5)]['t']('session.will-retry')}),_0x55f6a0['id']===u[_0x3421d5(0x36e)][_0x3421d5(0x309)]&&this['_messageService'][_0x3421d5(0x3b9)]({'type':D[_0x3421d5(0x444)][_0x3421d5(0x370)],'content':this['_localeService']['t']('session.connection-failed')}),_0x55f6a0['id']===u[_0x3421d5(0x36e)][_0x3421d5(0x3cf)]&&this[_0x3421d5(0x1c1)][_0x3421d5(0x3b9)]({'type':D[_0x3421d5(0x444)][_0x3421d5(0x370)],'content':this[_0x3421d5(0x2f5)]['t'](_0x3421d5(0x243))});}));}};q=yt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x3b20ce(0x27d)]),y(0x2,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x374)])),y(0x3,O[_0x3b20ce(0x26e)]),y(0x4,O[_0x3b20ce(0x3e7)]),y(0x5,a['Inject'](a[_0x3b20ce(0x39e)]))],q);const $t=_0x3b20ce(0x31d),Ue={},Ee=a[_0x3b20ce(0x3e0)](_0x3b20ce(0x209));var xt=Object[_0x3b20ce(0x36b)],Bt=(_0x1883ba,_0x457906,_0x30560c,_0x39b5ad)=>{const _0x381569=_0x3b20ce;for(var _0xba04c8=_0x39b5ad>0x1?void 0x0:_0x39b5ad?xt(_0x457906,_0x30560c):_0x457906,_0x557eea=_0x1883ba[_0x381569(0x34f)]-0x1,_0x3340d2;_0x557eea>=0x0;_0x557eea--)(_0x3340d2=_0x1883ba[_0x557eea])&&(_0xba04c8=_0x3340d2(_0xba04c8)||_0xba04c8);return _0xba04c8;},F=(_0x58c2e8,_0xe78269)=>(_0x163013,_0x3e9245)=>_0xe78269(_0x163013,_0x3e9245,_0x58c2e8);exports[_0x3b20ce(0x3f9)]=class extends a[_0x3b20ce(0x1bb)]{constructor(_0x19545f,_0x4a890c,_0x3eba67,_0x228898,_0x495774){const _0xb53140=_0x3b20ce;super(),this[_0xb53140(0x226)]=_0x19545f,this[_0xb53140(0x38c)]=_0x4a890c,this[_0xb53140(0x372)]=_0x3eba67,this[_0xb53140(0x41d)]=_0x228898,_0x495774?_0x495774==null||_0x495774['whenReady']()[_0xb53140(0x413)](()=>this[_0xb53140(0x3e1)]()):(this[_0xb53140(0x38c)][_0xb53140(0x3d8)](_0xb53140(0x320),_0xb53140(0x2d7)),this[_0xb53140(0x3e1)]());}async['_init'](){const _0x26543e=_0x3b20ce,_0x57f20d=this['_urlService'][_0x26543e(0x415)](_0x26543e(0x1f5)),_0x9c83bb=this['_urlService'][_0x26543e(0x415)](_0x26543e(0x2e5)),_0x1bd7f7=this['_urlService']['getParam']('subunit');if(!_0x57f20d||!_0x9c83bb){this[_0x26543e(0x38c)][_0x26543e(0x3d8)](_0x26543e(0x320),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x9d2d48=await this[_0x26543e(0x41d)][_0x26543e(0x399)](_0x57f20d,Number(_0x9c83bb),_0x1bd7f7);_0x9d2d48&&_0x9d2d48 instanceof a[_0x26543e(0x20f)]&&this[_0x26543e(0x218)](_0x9d2d48);}async[_0x3b20ce(0x218)](_0x4e6fe2){const _0x1b459f=_0x3b20ce;await this[_0x1b459f(0x1b7)](_0x4e6fe2),_0x4e6fe2['activeSheet$'][_0x1b459f(0x32f)](d['takeUntil'](this[_0x1b459f(0x28c)]))[_0x1b459f(0x3d4)](_0x31ae3e=>{const _0x3374bf=_0x1b459f;_0x31ae3e&&this[_0x3374bf(0x288)](_0x31ae3e);}),this[_0x1b459f(0x226)]['urlChange$'][_0x1b459f(0x32f)](d[_0x1b459f(0x2ec)](this['dispose$']))[_0x1b459f(0x3d4)](()=>this[_0x1b459f(0x1b7)](_0x4e6fe2));}[_0x3b20ce(0x288)](_0x7245f4,_0x285dd6=!0x1){const _0x73591=_0x3b20ce,_0x21b4f5=this[_0x73591(0x226)][_0x73591(0x415)]('subunit');_0x7245f4[_0x73591(0x2c2)]()!==_0x21b4f5&&this['_urlService'][_0x73591(0x377)](_0x73591(0x1c4),_0x7245f4[_0x73591(0x2c2)](),_0x285dd6);}async['_updateSubUnitFromURLParams'](_0xa75907){const _0x5d9ce4=_0x3b20ce;var _0x30e7fd;const _0x1d1f08=this[_0x5d9ce4(0x226)][_0x5d9ce4(0x415)]('subunit');if(!_0x1d1f08||!_0xa75907[_0x5d9ce4(0x32d)](_0x1d1f08)){const _0x5b575d=_0xa75907[_0x5d9ce4(0x329)]()[0x0],_0x371855=_0xa75907[_0x5d9ce4(0x32d)](_0x5b575d);if(!_0x371855)return;this['_updateURLWithCurrentState'](_0x371855,!0x0),await this['_commandService'][_0x5d9ce4(0x381)](g[_0x5d9ce4(0x423)]['id'],{'unitId':_0xa75907['getUnitId'](),'subUnitId':_0x5b575d});return;}((_0x30e7fd=_0xa75907[_0x5d9ce4(0x3f2)]())==null?void 0x0:_0x30e7fd[_0x5d9ce4(0x2c2)]())!==_0x1d1f08&&await this[_0x5d9ce4(0x372)]['executeCommand'](g[_0x5d9ce4(0x423)]['id'],{'unitId':_0xa75907[_0x5d9ce4(0x35f)](),'subUnitId':_0x1d1f08});}},exports[_0x3b20ce(0x3f9)]=Bt([F(0x0,Ee),F(0x1,a[_0x3b20ce(0x416)]),F(0x2,a[_0x3b20ce(0x340)]),F(0x3,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x3bf)])),F(0x4,a[_0x3b20ce(0x32b)](Ke[_0x3b20ce(0x30e)]))],exports[_0x3b20ce(0x3f9)]);var jt=Object[_0x3b20ce(0x36b)],kt=(_0xb90c8f,_0x5f4fac,_0x5a2319,_0x5bce52)=>{const _0x20dfaf=_0x3b20ce;for(var _0x406d40=_0x5bce52>0x1?void 0x0:_0x5bce52?jt(_0x5f4fac,_0x5a2319):_0x5f4fac,_0xc482a6=_0xb90c8f[_0x20dfaf(0x34f)]-0x1,_0x210482;_0xc482a6>=0x0;_0xc482a6--)(_0x210482=_0xb90c8f[_0xc482a6])&&(_0x406d40=_0x210482(_0x406d40)||_0x406d40);return _0x406d40;},ce=(_0x5b3241,_0xa265a5)=>(_0x3605e2,_0x5ea329)=>_0xa265a5(_0x3605e2,_0x5ea329,_0x5b3241);let z=class{constructor(_0x2188fb,_0x566461,_0x39ccfc){const _0x39a908=_0x3b20ce;this[_0x39a908(0x411)]=_0x2188fb,this[_0x39a908(0x30f)]=_0x566461,this[_0x39a908(0x34b)]=_0x39ccfc;}['transformIMECache'](_0x4d087){const _0x5092ba=_0x3b20ce;this[_0x5092ba(0x303)](_0x4d087),this['_transformPreviousActiveRange'](_0x4d087);}[_0x3b20ce(0x27a)](_0x4ac43a){const _0x325309=_0x3b20ce,{unitID:_0x2808c7}=_0x4ac43a,_0x3a8afc=this[_0x325309(0x34b)][_0x325309(0x3e8)](_0x2808c7)[_0x325309(0x344)](E[_0x325309(0x43b)]),{redoCache:_0xcb71f}=_0x3a8afc[_0x325309(0x352)]();if(_0xcb71f[_0x325309(0x34f)]===0x0)return _0x4ac43a;let _0x15a6e6=a[_0x325309(0x42c)][_0x325309(0x2d6)](_0x4ac43a[_0x325309(0x36f)][0x0]);for(let _0x202a94=0x0;_0x202a94<_0xcb71f[_0x325309(0x34f)];_0x202a94++){const _0x56de04={'id':_0x325309(0x431),'params':{..._0xcb71f[_0x202a94]}},_0x15dec1=this['_transformService']['transformMutation'](_0x15a6e6,_0x56de04,!0x1);if(m['isTransformMutationFailure'](_0x15dec1))throw _0x15dec1[_0x325309(0x2ef)];_0x15a6e6=_0x15dec1[_0x325309(0x2f1)];}return{...a['Tools'][_0x325309(0x2d6)](_0x4ac43a),'mutations':[_0x15a6e6]};}['_transformUndoRedoStack'](_0xd2a580){const _0x1c244c=_0x3b20ce,{unitID:_0x40fd37}=_0xd2a580,_0x863436=this[_0x1c244c(0x34b)]['getRenderById'](_0x40fd37)[_0x1c244c(0x344)](E[_0x1c244c(0x43b)]),{undoCache:_0x3ba013,redoCache:_0x101941}=_0x863436['getUndoRedoMutationParamsCache']();if(_0x3ba013[_0x1c244c(0x34f)]===0x0||_0x101941['length']===0x0)return;const _0x17f70b=[],_0x4c3408=[];let _0x1456a0=a[_0x1c244c(0x42c)][_0x1c244c(0x2d6)](_0xd2a580['mutations'][0x0]),_0x2d3a22=a[_0x1c244c(0x42c)][_0x1c244c(0x2d6)](_0xd2a580[_0x1c244c(0x36f)][0x0]);for(let _0x2450c2=_0x3ba013[_0x1c244c(0x34f)]-0x1;_0x2450c2>=0x0;_0x2450c2--){const _0xa59284={'id':_0x1c244c(0x431),'params':{..._0x3ba013[_0x2450c2]}},_0x54fba2={'id':'doc.mutation.rich-text-editing','params':{..._0x101941[_0x2450c2]}},_0x1037c0=this[_0x1c244c(0x30f)][_0x1c244c(0x440)](_0x1456a0,_0xa59284,!0x1),_0xd8f365=this['_transformService'][_0x1c244c(0x440)](_0x2d3a22,_0x54fba2,!0x1);if(m['isTransformMutationFailure'](_0x1037c0))throw _0x1037c0[_0x1c244c(0x2ef)];if(m['isTransformMutationFailure'](_0xd8f365))throw _0xd8f365[_0x1c244c(0x2ef)];_0x17f70b['unshift'](_0x1037c0[_0x1c244c(0x379)][_0x1c244c(0x346)]),_0x4c3408['unshift'](_0xd8f365['m2Prime'][_0x1c244c(0x346)]),_0x1456a0=_0x1037c0['m1Prime'],_0x2d3a22=_0xd8f365[_0x1c244c(0x2f1)];}_0x863436[_0x1c244c(0x311)]({'undoCache':_0x17f70b,'redoCache':_0x4c3408});}[_0x3b20ce(0x285)](_0x3aebb9){const _0x4c6a1d=_0x3b20ce,{unitID:_0x436ad3}=_0x3aebb9,_0x30047f=this[_0x4c6a1d(0x34b)][_0x4c6a1d(0x3e8)](_0x436ad3)[_0x4c6a1d(0x344)](E[_0x4c6a1d(0x43b)]),_0xce0513=_0x30047f[_0x4c6a1d(0x239)]();if(_0xce0513==null)return;const _0xd661b7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aebb9[_0x4c6a1d(0x225)],'actions':null,'textRanges':[_0xce0513]}}],_0x60c538=this[_0x4c6a1d(0x30f)][_0x4c6a1d(0x2b5)](_0x3aebb9,_0xd661b7);if(!m[_0x4c6a1d(0x3e4)](_0x60c538))throw _0x60c538[_0x4c6a1d(0x2ef)];const _0x4acdb9=_0x60c538[_0x4c6a1d(0x379)][0x0][_0x4c6a1d(0x346)]['textRanges'];Array[_0x4c6a1d(0x3ca)](_0x4acdb9)&&_0x4acdb9[_0x4c6a1d(0x34f)]&&_0x30047f[_0x4c6a1d(0x291)](_0x4acdb9[0x0]);}};z=kt([ce(0x0,a[_0x3b20ce(0x282)](a['Injector'])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x3b20ce(0x33f)])],z);var Ft=Object[_0x3b20ce(0x36b)],Ht=(_0x56e654,_0x496148,_0x134e37,_0x4fe19d)=>{const _0x118092=_0x3b20ce;for(var _0x57ec70=_0x4fe19d>0x1?void 0x0:_0x4fe19d?Ft(_0x496148,_0x134e37):_0x496148,_0x453cd1=_0x56e654[_0x118092(0x34f)]-0x1,_0x582c86;_0x453cd1>=0x0;_0x453cd1--)(_0x582c86=_0x56e654[_0x453cd1])&&(_0x57ec70=_0x582c86(_0x57ec70)||_0x57ec70);return _0x57ec70;},le=(_0xaab786,_0xfde233)=>(_0x326a67,_0x4066d8)=>_0xfde233(_0x326a67,_0x4066d8,_0xaab786);let J=class{constructor(_0x430ccc,_0x37d7e7,_0x2f04d0){const _0x526470=_0x3b20ce;this[_0x526470(0x411)]=_0x430ccc,this['_transformService']=_0x37d7e7,this[_0x526470(0x432)]=_0x2f04d0;}[_0x3b20ce(0x302)](_0x509378){const _0xaa3e91=_0x3b20ce;this[_0xaa3e91(0x25b)](_0x509378);}[_0x3b20ce(0x27a)](_0x3485da){const _0x573d8d=_0x3b20ce,{unitID:_0x14740c}=_0x3485da,{collaboration:_0x1bd0f6}=this[_0x573d8d(0x432)]['getStateCache'](_0x14740c);if(_0x1bd0f6['length']===0x0)return _0x3485da;let _0x824a1f=a['Tools'][_0x573d8d(0x2d6)](_0x3485da[_0x573d8d(0x36f)][0x0]);for(let _0x26e73a=0x0;_0x26e73a<_0x1bd0f6['length'];_0x26e73a++){const _0x1a27c4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bd0f6[_0x26e73a]['unitId'],..._0x1bd0f6[_0x26e73a][_0x573d8d(0x441)]}},_0x18b0a1=this[_0x573d8d(0x30f)][_0x573d8d(0x440)](_0x824a1f,_0x1a27c4,!0x1);if(m[_0x573d8d(0x207)](_0x18b0a1))throw _0x18b0a1[_0x573d8d(0x2ef)];_0x824a1f=_0x18b0a1['m1Prime'];}return{...a[_0x573d8d(0x42c)]['deepClone'](_0x3485da),'mutations':[_0x824a1f]};}[_0x3b20ce(0x25b)](_0x31b78f){const _0x418259=_0x3b20ce,{unitID:_0x1c7dc6}=_0x31b78f,{history:_0x42a145,collaboration:_0x4e10f8}=this[_0x418259(0x432)][_0x418259(0x281)](_0x1c7dc6);if(_0x42a145[_0x418259(0x34f)]===0x0&&_0x4e10f8['length']===0x0)return;const _0x464190=[],_0x610abd=[];let _0x473480=a[_0x418259(0x42c)][_0x418259(0x2d6)](_0x31b78f[_0x418259(0x36f)][0x0]),_0x28f667=a[_0x418259(0x42c)][_0x418259(0x2d6)](_0x31b78f['mutations'][0x0]);for(let _0xe4310f=_0x42a145['length']-0x1;_0xe4310f>=0x0;_0xe4310f--){const _0x4e16de={'id':_0x418259(0x431),'params':{'unitId':_0x42a145[_0xe4310f][_0x418259(0x22a)],..._0x42a145[_0xe4310f][_0x418259(0x40a)]}},_0x13176e={'id':_0x418259(0x431),'params':{'unitId':_0x42a145[_0xe4310f]['unitId'],..._0x42a145[_0xe4310f][_0x418259(0x441)]}},_0xbef631=this[_0x418259(0x30f)]['transformMutation'](_0x473480,_0x4e16de,!0x1),_0x72b80e=this['_transformService'][_0x418259(0x440)](_0x28f667,_0x13176e,!0x1);if(m['isTransformMutationFailure'](_0xbef631))throw _0xbef631[_0x418259(0x2ef)];if(m['isTransformMutationFailure'](_0x72b80e))throw _0x72b80e[_0x418259(0x2ef)];_0x464190['unshift']({..._0x42a145[_0xe4310f],'undoState':_0xbef631['m2Prime'][_0x418259(0x346)],'redoState':_0x72b80e[_0x418259(0x379)][_0x418259(0x346)]}),_0x473480=_0xbef631[_0x418259(0x2f1)],_0x28f667=_0x72b80e['m1Prime'];}_0x473480=a['Tools']['deepClone'](_0x31b78f[_0x418259(0x36f)][0x0]),_0x28f667=a['Tools'][_0x418259(0x2d6)](_0x31b78f[_0x418259(0x36f)][0x0]);for(let _0x35185f=_0x4e10f8[_0x418259(0x34f)]-0x1;_0x35185f>=0x0;_0x35185f--){const _0x2ad7c7={'id':_0x418259(0x431),'params':{'unitId':_0x4e10f8[_0x35185f][_0x418259(0x22a)],..._0x4e10f8[_0x35185f][_0x418259(0x40a)]}},_0x3cd54f={'id':_0x418259(0x431),'params':{'unitId':_0x4e10f8[_0x35185f][_0x418259(0x22a)],..._0x4e10f8[_0x35185f][_0x418259(0x441)]}},_0x49d28e=this['_transformService']['transformMutation'](_0x473480,_0x2ad7c7,!0x1),_0x18d3f7=this[_0x418259(0x30f)]['transformMutation'](_0x28f667,_0x3cd54f,!0x1);if(m[_0x418259(0x207)](_0x49d28e))throw _0x49d28e[_0x418259(0x2ef)];if(m[_0x418259(0x207)](_0x18d3f7))throw _0x18d3f7[_0x418259(0x2ef)];_0x610abd['unshift']({..._0x4e10f8[_0x35185f],'undoState':_0x49d28e[_0x418259(0x379)][_0x418259(0x346)],'redoState':_0x18d3f7[_0x418259(0x379)]['params']}),_0x473480=_0x49d28e[_0x418259(0x2f1)],_0x28f667=_0x18d3f7[_0x418259(0x2f1)];}this[_0x418259(0x432)][_0x418259(0x2c9)](_0x1c7dc6,{'history':_0x464190,'collaboration':_0x610abd});}};J=Ht([le(0x0,a['Inject'](a[_0x3b20ce(0x366)])),le(0x1,m[_0x3b20ce(0x1f8)]),le(0x2,a[_0x3b20ce(0x282)](E[_0x3b20ce(0x2a8)]))],J);var Yt=Object[_0x3b20ce(0x36b)],Wt=(_0x250f28,_0xdb6cfc,_0x1d0cf3,_0x318021)=>{const _0x2f55ba=_0x3b20ce;for(var _0x1ebd4b=_0x318021>0x1?void 0x0:_0x318021?Yt(_0xdb6cfc,_0x1d0cf3):_0xdb6cfc,_0x7eff2=_0x250f28[_0x2f55ba(0x34f)]-0x1,_0x43b0ae;_0x7eff2>=0x0;_0x7eff2--)(_0x43b0ae=_0x250f28[_0x7eff2])&&(_0x1ebd4b=_0x43b0ae(_0x1ebd4b)||_0x1ebd4b);return _0x1ebd4b;},Ne=(_0x172e2e,_0x560696)=>(_0x527df7,_0x5dbb55)=>_0x560696(_0x527df7,_0x5dbb55,_0x172e2e);let Z=class{constructor(_0x520eec,_0xb3d8a0){const _0x538ae0=_0x3b20ce;this['_injector']=_0x520eec,this[_0x538ae0(0x30f)]=_0xb3d8a0;}[_0x3b20ce(0x3fd)](_0x57fb8c){const _0x20769f=_0x3b20ce;var _0x2cafd5;const _0x17ee55=this[_0x20769f(0x411)]['get'](Y[_0x20769f(0x280)]),_0x4961c6=(_0x2cafd5=_0x17ee55[_0x20769f(0x418)]())!=null?_0x2cafd5:[];if(_0x4961c6[_0x20769f(0x34f)]===0x0)return;const _0x70a271=_0x57fb8c[_0x20769f(0x225)],_0x2af479=[{'id':_0x20769f(0x431),'params':{'unitId':_0x70a271,'actions':null,'textRanges':_0x4961c6}}],_0x1e0592=this['_transformService']['transformMutationsWithChangeset'](_0x57fb8c,_0x2af479);if(!m['isTransformMutationsWithChangesetSuccess'](_0x1e0592))throw _0x1e0592[_0x20769f(0x2ef)];const _0x2e4519=_0x1e0592[_0x20769f(0x379)][0x0]['params']['textRanges'];Array[_0x20769f(0x3ca)](_0x2e4519)&&_0x2e4519[_0x20769f(0x34f)]&&_0x17ee55[_0x20769f(0x446)](_0x2e4519,{'unitId':_0x70a271,'subUnitId':_0x70a271},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a['Injector'])),Ne(0x1,m[_0x3b20ce(0x1f8)])],Z);var Vt=Object[_0x3b20ce(0x36b)],Xt=(_0x2aa6a2,_0x390ea3,_0x2723bd,_0x3ad7c3)=>{const _0x1d8909=_0x3b20ce;for(var _0x1f839e=_0x3ad7c3>0x1?void 0x0:_0x3ad7c3?Vt(_0x390ea3,_0x2723bd):_0x390ea3,_0xe493=_0x2aa6a2[_0x1d8909(0x34f)]-0x1,_0x41bea0;_0xe493>=0x0;_0xe493--)(_0x41bea0=_0x2aa6a2[_0xe493])&&(_0x1f839e=_0x41bea0(_0x1f839e)||_0x1f839e);return _0x1f839e;},N=(_0x16a50b,_0x50707f)=>(_0x25ee37,_0x5a48d7)=>_0x50707f(_0x25ee37,_0x5a48d7,_0x16a50b);let Q=class extends a[_0x3b20ce(0x214)]{constructor(_0x5504ee,_0x31f63c,_0x53e19f,_0x3597c4,_0x46581a,_0x299918,_0x1a80e3,_0x10731a){const _0x57d0b1=_0x3b20ce;super(),h(this,_0x57d0b1(0x3ec),new d[(_0x57d0b1(0x287))](u[_0x57d0b1(0x410)][_0x57d0b1(0x248)])),(this[_0x57d0b1(0x432)]=_0x5504ee,this['_collaborationController']=_0x31f63c,this[_0x57d0b1(0x25d)]=_0x53e19f,this[_0x57d0b1(0x2be)]=_0x3597c4,this[_0x57d0b1(0x3f5)]=_0x46581a,this[_0x57d0b1(0x237)]=_0x299918,this[_0x57d0b1(0x1c1)]=_0x1a80e3,this[_0x57d0b1(0x2f5)]=_0x10731a,this[_0x57d0b1(0x2b7)]());}[_0x3b20ce(0x2b7)](){const _0x46b2a5=_0x3b20ce;this[_0x46b2a5(0x1c3)](this[_0x46b2a5(0x412)][_0x46b2a5(0x36d)][_0x46b2a5(0x3d4)](_0x4d9b98=>{const _0x381729=_0x46b2a5,_0x4487cf=this['_docStateChangeManagerService'][_0x381729(0x3e6)][_0x381729(0x3d4)](_0x1803df=>{const _0x2bcdfd=_0x381729;if(_0x1803df==null)return;const {unitId:_0x46f5f9,redoState:_0x2b3442,commandId:_0xf413e5}=_0x1803df;if(_0x46f5f9!==_0x4d9b98[_0x2bcdfd(0x225)])return;const _0xb521d7={'id':_0xf413e5,'type':a[_0x2bcdfd(0x2f3)][_0x2bcdfd(0x2fa)],'params':{'unitId':_0x46f5f9,'actions':_0x2b3442[_0x2bcdfd(0x357)],'textRanges':null}};_0x4d9b98['onLocalMutation'](_0xb521d7);});if(_0x4d9b98[_0x381729(0x1c3)](_0x4487cf),_0x4d9b98 instanceof u['DocCollaborationEntity']){const _0x4272a6={'onTransformIME':_0x792b03=>this[_0x381729(0x25d)][_0x381729(0x27c)](_0x792b03),'onTransformState':_0x10cd60=>this[_0x381729(0x2be)]['transformStateCache'](_0x10cd60),'onTransformSelections':_0x1463ec=>this['_docTransformSelectionsService']['transformSelections'](_0x1463ec),'onSyncEditingCollabCursor':_0x12da58=>this[_0x381729(0x237)]['syncEditingCollabCursor'](_0x12da58),'onTransformRemoteChangesetByIMECache':_0x3b6ee6=>this[_0x381729(0x25d)][_0x381729(0x27a)](_0x3b6ee6),'onTransformRemoteChangesetByStateCache':_0x133848=>this[_0x381729(0x2be)][_0x381729(0x27a)](_0x133848)};_0x4d9b98['addHandlerCallback'](_0x4272a6);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x3b20ce(0x2a8)])),N(0x1,a[_0x3b20ce(0x282)](u[_0x3b20ce(0x342)])),N(0x2,a[_0x3b20ce(0x282)](z)),N(0x3,a[_0x3b20ce(0x282)](J)),N(0x4,a[_0x3b20ce(0x282)](Z)),N(0x5,a[_0x3b20ce(0x282)](Ce)),N(0x6,O['IMessageService']),N(0x7,a[_0x3b20ce(0x282)](a['LocaleService']))],Q);var Gt=Object[_0x3b20ce(0x36b)],Kt=(_0x56359f,_0x5f5469,_0x7545b7,_0xb2e151)=>{for(var _0x78cec2=_0xb2e151>0x1?void 0x0:_0xb2e151?Gt(_0x5f5469,_0x7545b7):_0x5f5469,_0x18b89d=_0x56359f['length']-0x1,_0x404b68;_0x18b89d>=0x0;_0x18b89d--)(_0x404b68=_0x56359f[_0x18b89d])&&(_0x78cec2=_0x404b68(_0x78cec2)||_0x78cec2);return _0x78cec2;},_e=(_0x588229,_0x5f0a42)=>(_0x2300c0,_0x5c4080)=>_0x5f0a42(_0x2300c0,_0x5c4080,_0x588229);let ge=class extends a[_0x3b20ce(0x214)]{constructor(_0x157979,_0x1164cd,_0x16694b){const _0x33d2d5=_0x3b20ce;super(),h(this,_0x33d2d5(0x3cb),new Map()),h(this,_0x33d2d5(0x1ba),new Map()),h(this,_0x33d2d5(0x37b),!0x1),(this['_configService']=_0x157979,this[_0x33d2d5(0x2af)]=_0x1164cd,this[_0x33d2d5(0x24f)]=_0x16694b);}[_0x3b20ce(0x1f6)](){this['_disabled']=!0x0;}[_0x3b20ce(0x321)](){this['_disabled']=!0x1;}get[_0x3b20ce(0x293)](){const _0x6b42c1=_0x3b20ce;return this[_0x6b42c1(0x1ba)];}[_0x3b20ce(0x392)](){const _0x3dda2f=_0x3b20ce;this[_0x3dda2f(0x30d)]()[_0x3dda2f(0x413)](()=>super[_0x3dda2f(0x392)]());}async[_0x3b20ce(0x3b0)](_0x222aec){const _0x5f206b=_0x3b20ce;return this[_0x5f206b(0x37b)]?null:this[_0x5f206b(0x2af)][_0x5f206b(0x3ab)](u[_0x5f206b(0x1ea)](_0x222aec));}async[_0x3b20ce(0x1e3)](_0x109e54,_0x20a43c){const _0x4ffe6e=_0x3b20ce;return!!this['_localStorageService'][_0x4ffe6e(0x40b)](_0x109e54,_0x20a43c);}[_0x3b20ce(0x29f)](_0x2a8d8e,_0x281784,_0x4e0712,_0x5f2360){const _0x3d7e4a=_0x3b20ce,_0x26a321=this[_0x3d7e4a(0x24f)][_0x3d7e4a(0x2f8)](_0x2a8d8e);this[_0x3d7e4a(0x3cb)]['set'](_0x2a8d8e,{'unitID':_0x2a8d8e,'type':_0x281784,'awaitingChangeset':_0x4e0712,'mutations':_0x5f2360,'rev':_0x26a321}),this[_0x3d7e4a(0x1ba)][_0x3d7e4a(0x2a0)](_0x2a8d8e)||this[_0x3d7e4a(0x3af)](_0x2a8d8e);}['_scheduleSaving'](_0x12c825){const _0x156e71=_0x3b20ce,_0x4df92e=this['_getSaveTimeout']();_0x4df92e===0x0?this[_0x156e71(0x3c6)](_0x12c825):this[_0x156e71(0x1ba)][_0x156e71(0x26a)](_0x12c825,setTimeout(()=>this[_0x156e71(0x3c6)](_0x12c825),_0x4df92e));}[_0x3b20ce(0x3a9)](){const _0xa0f038=_0x3b20ce;var _0x573115;return(_0x573115=this[_0xa0f038(0x396)][_0xa0f038(0x401)](u[_0xa0f038(0x428)]))!=null?_0x573115:u[_0xa0f038(0x1b8)];}[_0x3b20ce(0x3c6)](_0x6cab62){const _0x38c045=_0x3b20ce,_0x584876=this[_0x38c045(0x1ba)][_0x38c045(0x3ff)](_0x6cab62);return _0x584876!==void 0x0&&window['clearTimeout'](_0x584876),this['_localStorageService'][_0x38c045(0x40b)](u[_0x38c045(0x1ea)](_0x6cab62),this[_0x38c045(0x3cb)]['get'](_0x6cab62))[_0x38c045(0x413)](()=>this['_saveTaskMap'][_0x38c045(0x30b)](_0x6cab62));}async['exhaustSavingTask'](){const _0x8f424=_0x3b20ce,_0x4fb204=[];this[_0x8f424(0x1ba)]['forEach']((_0x3b9b04,_0x2e674b)=>{const _0x3c9848=_0x8f424;window[_0x3c9848(0x261)](_0x3b9b04),_0x4fb204[_0x3c9848(0x2a5)](this[_0x3c9848(0x3c6)](_0x2e674b)['then'](()=>{this['_saveTaskMap']['delete'](_0x2e674b);}));}),await Promise[_0x8f424(0x3fb)](_0x4fb204);}};ge=Kt([_e(0x0,a[_0x3b20ce(0x341)]),_e(0x1,a[_0x3b20ce(0x43c)]),_e(0x2,a[_0x3b20ce(0x282)](m[_0x3b20ce(0x23f)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x10893f=_0x3b20ce;super(),h(this,'urlChange$'),this[_0x10893f(0x208)]=d[_0x10893f(0x1fa)](window,'popstate')[_0x10893f(0x32f)](d['takeUntil'](this[_0x10893f(0x28c)]),d['shareReplay'](0x1),d[_0x10893f(0x259)](void 0x0));}['setParam'](_0x138f1d,_0x1e8843,_0x444b95=!0x1){const _0x52c0bc=_0x3b20ce,_0x3cc7f3=new URL(window[_0x52c0bc(0x22b)][_0x52c0bc(0x31c)]);_0x3cc7f3['searchParams']['set'](_0x138f1d,_0x1e8843),_0x444b95?window[_0x52c0bc(0x253)][_0x52c0bc(0x2d8)]('','',_0x3cc7f3[_0x52c0bc(0x3e9)]()):window[_0x52c0bc(0x253)]['pushState']('','',_0x3cc7f3[_0x52c0bc(0x3e9)]());}[_0x3b20ce(0x228)](_0x2c56dc,_0x449bf5=!0x1){const _0x4b8882=_0x3b20ce,_0x2892d6=new URL(window[_0x4b8882(0x22b)]['href']);_0x2892d6['searchParams'][_0x4b8882(0x30b)](_0x2c56dc),_0x449bf5?window[_0x4b8882(0x253)]['replaceState']('','',_0x2892d6[_0x4b8882(0x3e9)]()):window[_0x4b8882(0x253)][_0x4b8882(0x297)]('','',_0x2892d6[_0x4b8882(0x3e9)]());}['getParam'](_0x930f09){const _0x3231d6=_0x3b20ce;var _0x24b606;return(_0x24b606=new URL(window[_0x3231d6(0x22b)]['href'])[_0x3231d6(0x1fe)]['get'](_0x930f09))!=null?_0x24b606:void 0x0;}}var qt=Object[_0x3b20ce(0x353)],zt=Object[_0x3b20ce(0x36b)],Jt=(_0x47ec26,_0x175c0d,_0x132167)=>_0x175c0d in _0x47ec26?qt(_0x47ec26,_0x175c0d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x132167}):_0x47ec26[_0x175c0d]=_0x132167,Zt=(_0x230ce5,_0x21613a,_0x21e66d,_0x4ca3bd)=>{const _0x3a2223=_0x3b20ce;for(var _0x2af739=_0x4ca3bd>0x1?void 0x0:_0x4ca3bd?zt(_0x21613a,_0x21e66d):_0x21613a,_0x2dc8c4=_0x230ce5[_0x3a2223(0x34f)]-0x1,_0x1ec4d7;_0x2dc8c4>=0x0;_0x2dc8c4--)(_0x1ec4d7=_0x230ce5[_0x2dc8c4])&&(_0x2af739=_0x1ec4d7(_0x2af739)||_0x2af739);return _0x2af739;},he=(_0x56d2af,_0x50c8a9)=>(_0x187bd2,_0x5cdf04)=>_0x50c8a9(_0x187bd2,_0x5cdf04,_0x56d2af),Qt=(_0x49a972,_0xff1a2c,_0x2c941a)=>Jt(_0x49a972,_0xff1a2c+'',_0x2c941a);const es=_0x3b20ce(0x3ef);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x14d3f7=Ue,_0xee8f60,_0x39e1b4,_0x43aca0){const _0x25f116=_0x3b20ce;super(),this[_0x25f116(0x3c4)]=_0x14d3f7,this['_renderManagerService']=_0xee8f60,this['_injector']=_0x39e1b4,this[_0x25f116(0x396)]=_0x43aca0;const {..._0x3cc972}=a[_0x25f116(0x3bb)]({},Ue,this[_0x25f116(0x3c4)]);this['_configService']['setConfig']($t,_0x3cc972);}[_0x3b20ce(0x406)](){const _0xbfdf3a=_0x3b20ce;this[_0xbfdf3a(0x334)](),this[_0xbfdf3a(0x2ba)]();}[_0x3b20ce(0x3d9)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3d7183=_0x3b20ce;var _0x127a49;const _0x3c0d83=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x3d7183(0x2eb)],{'useClass':G[_0x3d7183(0x323)]}],[u[_0x3d7183(0x27d)],{'useClass':ge}],[exports[_0x3d7183(0x371)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x3d7183(0x202)](this['_injector'],a['mergeOverrideWithDependencies'](_0x3c0d83,(_0x127a49=this[_0x3d7183(0x3c4)])==null?void 0x0:_0x127a49[_0x3d7183(0x367)]));}[_0x3b20ce(0x447)](){const _0x15a6be=_0x3b20ce;this[_0x15a6be(0x1c3)](this[_0x15a6be(0x34b)]['registerRenderModule'](a[_0x15a6be(0x356)][_0x15a6be(0x29b)],[fe])),this[_0x15a6be(0x1c3)](this[_0x15a6be(0x34b)][_0x15a6be(0x2cf)](a[_0x15a6be(0x356)]['UNIVER_SHEET'],[ve]));}['_initDependencies'](){const _0x2f0a23=_0x3b20ce;a[_0x2f0a23(0x1f7)](this[_0x2f0a23(0x411)],[[x],[exports[_0x2f0a23(0x371)]],[Q],[q],[exports[_0x2f0a23(0x3f9)]]]);}},Qt(exports[_0x3b20ce(0x378)],'pluginName',es),exports['UniverCollaborationClientUIPlugin']=Zt([a[_0x3b20ce(0x2ff)](u[_0x3b20ce(0x1cd)]),he(0x1,p[_0x3b20ce(0x33f)]),he(0x2,a[_0x3b20ce(0x282)](a['Injector'])),he(0x3,a[_0x3b20ce(0x341)])],exports[_0x3b20ce(0x378)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x38c299,_0x5d2b7d,_0x3d8179,_0x588407)=>{const _0x10e900=_0x3b20ce;for(var _0x4b5454=_0x588407>0x1?void 0x0:_0x588407?ts(_0x5d2b7d,_0x3d8179):_0x5d2b7d,_0x28b980=_0x38c299[_0x10e900(0x34f)]-0x1,_0x4d4e59;_0x28b980>=0x0;_0x28b980--)(_0x4d4e59=_0x38c299[_0x28b980])&&(_0x4b5454=_0x4d4e59(_0x4b5454)||_0x4b5454);return _0x4b5454;},H=(_0x513a91,_0x11ad13)=>(_0x12b6d2,_0x36b239)=>_0x11ad13(_0x12b6d2,_0x36b239,_0x513a91);exports[_0x3b20ce(0x238)]=class extends u[_0x3b20ce(0x1e2)]{constructor(_0xcf044a,_0xb24aa0,_0x1915c8,_0x4fdfbe,_0x252fd8){super(_0xcf044a,_0xb24aa0,_0x1915c8,_0x4fdfbe,_0x252fd8);}async[_0x3b20ce(0x383)](_0x3d8b38){const _0x1022a7=_0x3b20ce,_0x3d98d1=await this[_0x1022a7(0x1dc)](),_0x32d2f4=this[_0x1022a7(0x1d5)](_0x3d8b38,_0x3d98d1);return this[_0x1022a7(0x2ee)](_0x32d2f4);}[_0x3b20ce(0x1d5)](_0xc28578,_0x5f2625){const _0x5893de=_0x3b20ce,_0x197e64=typeof window>'u'?new URL(_0xc28578):new URL(_0xc28578,window[_0x5893de(0x22b)]['origin']);_0x197e64[_0x5893de(0x1fe)][_0x5893de(0x26a)]('sessionTicket',_0x5f2625);const _0x4da11a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5893de(0x22b)][_0x5893de(0x434)]);return _0x4da11a['get']('runId')&&_0x197e64['searchParams'][_0x5893de(0x26a)]('runId',_0x4da11a['get'](_0x5893de(0x1da))),_0x197e64[_0x5893de(0x3e9)]();}async[_0x3b20ce(0x1dc)](){const _0x4f2476=_0x3b20ce;var _0x4a2a29,_0x3d0720,_0x4629a6;const _0x456b0d=this['_configService']['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3e1cae=(_0x4a2a29=_0x456b0d==null?void 0x0:_0x456b0d['wsSessionTicketUrl'])!=null?_0x4a2a29:u[_0x4f2476(0x395)];return(_0x4629a6=(_0x3d0720=(await this[_0x4f2476(0x442)][_0x4f2476(0x3ff)](_0x3e1cae,{'headers':{'Content-Type':_0x4f2476(0x2e3)}}))[_0x4f2476(0x40e)])==null?void 0x0:_0x3d0720[_0x4f2476(0x268)])!=null?_0x4629a6:'';}},exports[_0x3b20ce(0x238)]=ss([H(0x0,a[_0x3b20ce(0x282)](a['Injector'])),H(0x1,a[_0x3b20ce(0x282)](G['HTTPService'])),H(0x2,a[_0x3b20ce(0x341)]),H(0x3,a[_0x3b20ce(0x416)]),H(0x4,m[_0x3b20ce(0x1f9)])],exports[_0x3b20ce(0x238)]);const Me=0x7530,Le=_0x3b20ce(0x345);class is extends a[_0x3b20ce(0x214)]{constructor(){const _0x25862a=_0x3b20ce;super(),h(this,'_id',a[_0x25862a(0x2cb)]()),h(this,_0x25862a(0x273),new Set()),h(this,_0x25862a(0x3bd),new Map()),h(this,_0x25862a(0x3a6),null),h(this,_0x25862a(0x2e9),new Map()),h(this,'_unitStatus',new Map()),this[_0x25862a(0x3e1)]();}['dispose'](){const _0x574ed7=_0x3b20ce;super['dispose'](),this['_clearOtherTimers'][_0x574ed7(0x42b)]((_0x1d723b,_0x467075)=>this[_0x574ed7(0x3ce)](_0x467075)),this['_heartbeatTimer']&&window[_0x574ed7(0x35b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1b6c40){const _0x3296fc=_0x3b20ce;return this[_0x3296fc(0x3a5)](_0x1b6c40)[_0x3296fc(0x32f)](d[_0x3296fc(0x39b)]());}[_0x3b20ce(0x1e8)](_0x9850e8){const _0x130130=_0x3b20ce;this[_0x130130(0x273)][_0x130130(0x2e4)]===0x0&&this[_0x130130(0x2bd)](),this[_0x130130(0x273)][_0x130130(0x43e)](_0x9850e8),this['_send']({'type':0x0,'memberID':this[_0x130130(0x20b)],'unitIDs':[_0x9850e8],'isForwarded':!0x1});}[_0x3b20ce(0x32e)](_0x8b7aae){const _0x5a335c=_0x3b20ce;this[_0x5a335c(0x273)][_0x5a335c(0x30b)](_0x8b7aae),this[_0x5a335c(0x273)][_0x5a335c(0x2e4)]===0x0&&this['_heartbeatTimer']&&window[_0x5a335c(0x35b)](this[_0x5a335c(0x3a6)]);}[_0x3b20ce(0x3e1)](){const _0x1868ca=_0x3b20ce;this[_0x1868ca(0x1c3)](a[_0x1868ca(0x31a)](d[_0x1868ca(0x1fa)](window,_0x1868ca(0x265))['subscribe'](_0x566313=>{const _0x25a767=_0x1868ca;if(_0x566313[_0x25a767(0x3cc)]!==Le||!_0x566313[_0x25a767(0x23d)])return;const _0x20de7a=JSON[_0x25a767(0x3fe)](_0x566313[_0x25a767(0x23d)]);this[_0x25a767(0x231)](_0x20de7a);}))),window[_0x1868ca(0x429)]('unload',()=>this[_0x1868ca(0x23e)]({'type':0x1,'memberID':this[_0x1868ca(0x20b)],'unitIDs':Array[_0x1868ca(0x213)](this['_selfUnitIDs'])}));}[_0x3b20ce(0x231)](_0x18f267){const _0x2e91e5=_0x3b20ce;switch(_0x18f267[_0x2e91e5(0x2e5)]){case 0x0:this[_0x2e91e5(0x25e)](_0x18f267);break;case 0x1:this[_0x2e91e5(0x2b4)](_0x18f267);break;case 0x2:this[_0x2e91e5(0x2db)](_0x18f267);break;}}[_0x3b20ce(0x25e)](_0x1a5b8d){const _0x1f1a49=_0x3b20ce,{unitIDs:_0x255625,memberID:_0x25ec51,isForwarded:_0x2fde2}=_0x1a5b8d;_0x255625[_0x1f1a49(0x42b)](_0x4811ea=>{const _0x47392b=_0x1f1a49;if(!_0x2fde2&&this[_0x47392b(0x3bd)][_0x47392b(0x2a0)](_0x4811ea)&&this[_0x47392b(0x3a5)](_0x4811ea)[_0x47392b(0x3c7)](u[_0x47392b(0x27f)][_0x47392b(0x2fd)]),!this[_0x47392b(0x3bd)][_0x47392b(0x2a0)](_0x4811ea)||!this['_unitOnClients'][_0x47392b(0x3ff)](_0x4811ea)[_0x47392b(0x2a0)](_0x25ec51)){const _0x3de0fb=this[_0x47392b(0x3bd)][_0x47392b(0x3ff)](_0x4811ea)||new Set();_0x3de0fb['add'](_0x25ec51),this[_0x47392b(0x3bd)][_0x47392b(0x26a)](_0x4811ea,_0x3de0fb),this[_0x47392b(0x364)](_0x25ec51);}}),_0x2fde2||this[_0x1f1a49(0x23e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1f1a49(0x273)]],'isForwarded':!0x0});}[_0x3b20ce(0x364)](_0x5e35c6){const _0x465fc1=_0x3b20ce;this[_0x465fc1(0x3ce)](_0x5e35c6);const _0x20532b=window[_0x465fc1(0x2ab)](()=>{const _0x112d06=_0x465fc1;this['_unitOnClients'][_0x112d06(0x42b)](_0x6755d0=>{const _0x5c3b87=_0x112d06;_0x6755d0[_0x5c3b87(0x30b)](_0x5e35c6);});},Me*0x2);this[_0x465fc1(0x2e9)][_0x465fc1(0x26a)](_0x5e35c6,_0x20532b);}[_0x3b20ce(0x3ce)](_0x48a3ff){const _0x10df65=_0x3b20ce;if(this['_clearOtherTimers'][_0x10df65(0x2a0)](_0x48a3ff)){const _0x2f41a1=this['_clearOtherTimers'][_0x10df65(0x3ff)](_0x48a3ff);_0x2f41a1&&window[_0x10df65(0x261)](_0x2f41a1),this[_0x10df65(0x2e9)]['set'](_0x48a3ff,null);}}[_0x3b20ce(0x2b4)](_0x2dfbdd){const _0x3377a0=_0x3b20ce,{memberID:_0x9bca76,unitIDs:_0xe425fc}=_0x2dfbdd;_0xe425fc[_0x3377a0(0x42b)](_0x2ff8d4=>{const _0x2edf50=_0x3377a0;var _0x257974;const _0x430c7b=this['_unitOnClients'][_0x2edf50(0x3ff)](_0x2ff8d4);_0x430c7b&&(_0x430c7b[_0x2edf50(0x30b)](_0x9bca76),(_0x257974=this[_0x2edf50(0x3a5)](_0x2ff8d4))==null||_0x257974[_0x2edf50(0x3c7)](_0x430c7b[_0x2edf50(0x2e4)]===0x0?u[_0x2edf50(0x27f)][_0x2edf50(0x205)]:u['UnitStatus'][_0x2edf50(0x2fd)]));}),this[_0x3377a0(0x3ce)](_0x9bca76);}[_0x3b20ce(0x2db)](_0x57b9e2){this['_scheduleClearOtherTimer'](_0x57b9e2['memberID']);}[_0x3b20ce(0x23e)](_0x48148d){const _0x85782f=_0x3b20ce;localStorage[_0x85782f(0x40b)](Le,JSON[_0x85782f(0x41b)](_0x48148d));}[_0x3b20ce(0x2bd)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Me);}[_0x3b20ce(0x3a5)](_0xf7586f){const _0x37f69a=_0x3b20ce;return this['_unitStatus'][_0x37f69a(0x2a0)](_0xf7586f)||this[_0x37f69a(0x2c8)][_0x37f69a(0x26a)](_0xf7586f,new d[(_0x37f69a(0x287))](u[_0x37f69a(0x27f)][_0x37f69a(0x205)])),this[_0x37f69a(0x2c8)][_0x37f69a(0x3ff)](_0xf7586f);}}var je=(_0x543f99=>(_0x543f99[_0x543f99[_0x3b20ce(0x31b)]=0x0]=_0x3b20ce(0x31b),_0x543f99[_0x543f99['OK']=0x1]='OK',_0x543f99[_0x543f99['INTERNAL_ERROR']=0x2]=_0x3b20ce(0x2fc),_0x543f99[_0x543f99[_0x3b20ce(0x292)]=0x3]=_0x3b20ce(0x292),_0x543f99[_0x543f99[_0x3b20ce(0x21b)]=0x4]=_0x3b20ce(0x21b),_0x543f99[_0x543f99[_0x3b20ce(0x37f)]=0x5]='UNAUTHENTICATED',_0x543f99[_0x543f99['ALREADY_EXISTS']=0x6]=_0x3b20ce(0x223),_0x543f99[_0x543f99[_0x3b20ce(0x31f)]=0x7]='INVALID_ARGUMENT',_0x543f99[_0x543f99[_0x3b20ce(0x343)]=0x8]='TOO_MANY_REQUESTS',_0x543f99[_0x543f99[_0x3b20ce(0x306)]=0x9]=_0x3b20ce(0x306),_0x543f99[_0x543f99['LOGIN_FAILED']=0xa]=_0x3b20ce(0x33e),_0x543f99[_0x543f99[_0x3b20ce(0x1c7)]=0xb]=_0x3b20ce(0x1c7),_0x543f99[_0x543f99[_0x3b20ce(0x1c8)]=0xc]=_0x3b20ce(0x1c8),_0x543f99[_0x543f99['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x543f99[_0x543f99[_0x3b20ce(0x2f0)]=0xe]=_0x3b20ce(0x2f0),_0x543f99[_0x543f99[_0x3b20ce(0x220)]=0x1389]=_0x3b20ce(0x220),_0x543f99[_0x543f99[_0x3b20ce(0x32c)]=0x1771]=_0x3b20ce(0x32c),_0x543f99[_0x543f99[_0x3b20ce(0x3aa)]=0x1772]=_0x3b20ce(0x3aa),_0x543f99[_0x543f99[_0x3b20ce(0x3f7)]=0x1773]=_0x3b20ce(0x3f7),_0x543f99[_0x543f99[_0x3b20ce(0x3f0)]=0x1b59]=_0x3b20ce(0x3f0),_0x543f99[_0x543f99[_0x3b20ce(0x337)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x543f99[_0x543f99[_0x3b20ce(0x307)]=0x1b5b]=_0x3b20ce(0x307),_0x543f99[_0x543f99['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3b20ce(0x3ae),_0x543f99[_0x543f99[_0x3b20ce(0x26f)]=0x1b5d]=_0x3b20ce(0x26f),_0x543f99[_0x543f99[_0x3b20ce(0x28e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x543f99[_0x543f99[_0x3b20ce(0x2f6)]=0x2329]=_0x3b20ce(0x2f6),_0x543f99[_0x543f99[_0x3b20ce(0x313)]=0x232a]=_0x3b20ce(0x313),_0x543f99[_0x543f99[_0x3b20ce(0x3ea)]=0x232b]=_0x3b20ce(0x3ea),_0x543f99[_0x543f99[_0x3b20ce(0x260)]=0x232c]=_0x3b20ce(0x260),_0x543f99[_0x543f99[_0x3b20ce(0x3dd)]=0x232d]=_0x3b20ce(0x3dd),_0x543f99[_0x543f99[_0x3b20ce(0x278)]=0x2711]=_0x3b20ce(0x278),_0x543f99[_0x543f99['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3b20ce(0x417),_0x543f99[_0x543f99[_0x3b20ce(0x212)]=0x2713]=_0x3b20ce(0x212),_0x543f99[_0x543f99[_0x3b20ce(0x33b)]=0x2714]=_0x3b20ce(0x33b),_0x543f99[_0x543f99[_0x3b20ce(0x360)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x543f99[_0x543f99[_0x3b20ce(0x1b9)]=0x271b]=_0x3b20ce(0x1b9),_0x543f99[_0x543f99[_0x3b20ce(0x269)]=0x271c]=_0x3b20ce(0x269),_0x543f99[_0x543f99[_0x3b20ce(0x3c5)]=0x271d]=_0x3b20ce(0x3c5),_0x543f99[_0x543f99[_0x3b20ce(0x354)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x543f99[_0x543f99[_0x3b20ce(0x1bc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x543f99[_0x543f99[_0x3b20ce(0x3a1)]=0x2720]=_0x3b20ce(0x3a1),_0x543f99[_0x543f99[_0x3b20ce(0x37d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x543f99[_0x543f99[_0x3b20ce(0x257)]=0x2ee1]=_0x3b20ce(0x257),_0x543f99[_0x543f99[_0x3b20ce(0x419)]=0x2ee2]=_0x3b20ce(0x419),_0x543f99[_0x543f99[_0x3b20ce(0x425)]=0x2ee3]=_0x3b20ce(0x425),_0x543f99[_0x543f99['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x543f99[_0x543f99[_0x3b20ce(0x33a)]=0x2ee5]=_0x3b20ce(0x33a),_0x543f99[_0x543f99[_0x3b20ce(0x3ed)]=0x32c9]=_0x3b20ce(0x3ed),_0x543f99[_0x543f99[_0x3b20ce(0x294)]=0x32ca]=_0x3b20ce(0x294),_0x543f99[_0x543f99[_0x3b20ce(0x445)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x543f99[_0x543f99[_0x3b20ce(0x2ed)]=-0x1]=_0x3b20ce(0x2ed),_0x543f99))(je||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x54972f,_0xef347c,_0x2fb3f3,_0x3886c9)=>{const _0x22e731=_0x3b20ce;for(var _0x36864=_0x3886c9>0x1?void 0x0:_0x3886c9?ns(_0xef347c,_0x2fb3f3):_0xef347c,_0x588f30=_0x54972f[_0x22e731(0x34f)]-0x1,_0x475adf;_0x588f30>=0x0;_0x588f30--)(_0x475adf=_0x54972f[_0x588f30])&&(_0x36864=_0x475adf(_0x36864)||_0x36864);return _0x36864;},ue=(_0x4de26a,_0x240e3d)=>(_0x13e0da,_0x570113)=>_0x240e3d(_0x13e0da,_0x570113,_0x4de26a);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x42cbae,_0x3ebef1,_0x3fa797){const _0x3a9293=_0x3b20ce;super(),this[_0x3a9293(0x35c)]=_0x42cbae,this[_0x3a9293(0x442)]=_0x3ebef1,this[_0x3a9293(0x396)]=_0x3fa797;}async['runOnServer'](_0x4db019,_0x2ae50e,_0x451489,..._0xa12990){const _0x2620ec=_0x3b20ce;var _0xcac8de,_0x1f13aa,_0x4834a3,_0x379407;const _0x4500ae=this[_0x2620ec(0x35c)][_0x2620ec(0x3b8)]();if(!_0x4500ae)throw new Error(_0x2620ec(0x3d5));const _0x2d7ca1=((_0xcac8de=this[_0x2620ec(0x396)][_0x2620ec(0x401)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xcac8de:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4db019+_0x2620ec(0x279)+_0x2ae50e,_0x2fe461=new URL(window[_0x2620ec(0x22b)]['href']),_0x1111ab={'scriptId':_0x4db019,'runId':(_0x1f13aa=_0x2fe461[_0x2620ec(0x1fe)]['get'](_0x2620ec(0x1da)))!=null?_0x1f13aa:'','function':_0x2ae50e,'unitId':_0x4500ae['getUnitId'](),'argsOfFunction':JSON[_0x2620ec(0x41b)](_0xa12990),'invokeId':(_0x4834a3=_0x451489[_0x2620ec(0x391)])!=null?_0x4834a3:'','executionId':(_0x379407=_0x451489['executionId'])!=null?_0x379407:''};try{const _0x56f4f8=await this[_0x2620ec(0x442)]['post'](_0x2d7ca1,{'body':_0x1111ab});return _0x56f4f8['body'][_0x2620ec(0x2ef)]&&_0x56f4f8[_0x2620ec(0x40e)][_0x2620ec(0x2ef)][_0x2620ec(0x36a)]!==je['OK']?_0x2620ec(0x350):_0x56f4f8[_0x2620ec(0x40e)][_0x2620ec(0x2e0)];}catch{return'Failed';}}},exports[_0x3b20ce(0x426)]=rs([ue(0x0,a[_0x3b20ce(0x317)]),ue(0x1,a[_0x3b20ce(0x282)](G[_0x3b20ce(0x430)])),ue(0x2,a['IConfigService'])],exports[_0x3b20ce(0x426)]),exports[_0x3b20ce(0x1e0)]=xe,exports['IURLService']=Ee,exports['SheetCollabCursorShape']=we,exports[_0x3b20ce(0x28f)]=is,exports['WebURLService']=Be;
1
+ 'use strict';const _0x511f53=_0x543b;(function(_0x28ea6d,_0x33bd1e){const _0x3152b7=_0x543b,_0xf9fb6b=_0x28ea6d();while(!![]){try{const _0x3ac38d=parseInt(_0x3152b7(0x3eb))/0x1+parseInt(_0x3152b7(0x261))/0x2+-parseInt(_0x3152b7(0x2f6))/0x3+parseInt(_0x3152b7(0x346))/0x4+parseInt(_0x3152b7(0x239))/0x5*(parseInt(_0x3152b7(0x19b))/0x6)+parseInt(_0x3152b7(0x2cc))/0x7*(parseInt(_0x3152b7(0x3b7))/0x8)+parseInt(_0x3152b7(0x283))/0x9*(-parseInt(_0x3152b7(0x1f0))/0xa);if(_0x3ac38d===_0x33bd1e)break;else _0xf9fb6b['push'](_0xf9fb6b['shift']());}catch(_0xd7d0b9){_0xf9fb6b['push'](_0xf9fb6b['shift']());}}}(_0x5a22,0xbe51d));var Ve=Object['defineProperty'],Xe=(_0x46151d,_0x4320c4,_0x33be17)=>_0x4320c4 in _0x46151d?Ve(_0x46151d,_0x4320c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33be17}):_0x46151d[_0x4320c4]=_0x33be17,h=(_0x39f35b,_0x59f448,_0x4df6e4)=>Xe(_0x39f35b,typeof _0x59f448!=_0x511f53(0x1e1)?_0x59f448+'':_0x59f448,_0x4df6e4);Object['defineProperty'](exports,Symbol[_0x511f53(0x3ec)],{'value':_0x511f53(0x3f1)});const u=require(_0x511f53(0x391)),a=require(_0x511f53(0x343)),p=require(_0x511f53(0x3e3)),G=require(_0x511f53(0x310)),E=require('@univerjs/docs-ui'),Ge=require(_0x511f53(0x32f)),d=require(_0x511f53(0x3fb)),m=require('@univerjs-pro/collaboration'),Y=require(_0x511f53(0x408)),be=require(_0x511f53(0x3ac)),g=require(_0x511f53(0x19d)),$=require(_0x511f53(0x226)),X=require(_0x511f53(0x384)),P=require(_0x511f53(0x357)),O=require(_0x511f53(0x2c4)),D=require(_0x511f53(0x410)),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object['getOwnPropertyDescriptor'],ze=(_0x170fe6,_0x43b8e4,_0xfa03c6,_0x40e770)=>{const _0x10fd3c=_0x511f53;for(var _0x3a16a9=_0x40e770>0x1?void 0x0:_0x40e770?qe(_0x43b8e4,_0xfa03c6):_0x43b8e4,_0x4532a1=_0x170fe6[_0x10fd3c(0x1dc)]-0x1,_0x53d685;_0x4532a1>=0x0;_0x4532a1--)(_0x53d685=_0x170fe6[_0x4532a1])&&(_0x3a16a9=_0x53d685(_0x3a16a9)||_0x3a16a9);return _0x3a16a9;},Oe=(_0x14fc13,_0x168a6c)=>(_0x3caf31,_0x28c4d1)=>_0x168a6c(_0x3caf31,_0x28c4d1,_0x14fc13);let de=class extends a[_0x511f53(0x1e5)]{constructor(_0x447ef5,_0x34d9cb){const _0x1aa401=_0x511f53;super(),this['_docClipboardService']=_0x447ef5,this[_0x1aa401(0x28b)]=_0x34d9cb,this[_0x1aa401(0x3e8)]();}[_0x511f53(0x3e8)](){const _0x402ad0=_0x511f53,_0x533416=this;this[_0x402ad0(0x203)](this[_0x402ad0(0x24f)][_0x402ad0(0x404)]({'onBeforePasteImage':async _0x16a749=>{const _0x1c4ae4=_0x402ad0,_0x5f3af6=await _0x533416[_0x1c4ae4(0x28b)][_0x1c4ae4(0x30b)](_0x16a749);return _0x5f3af6?{'source':_0x5f3af6[_0x1c4ae4(0x2a7)],'imageSourceType':_0x5f3af6[_0x1c4ae4(0x1f6)]}:null;}}));}};de=ze([Oe(0x0,E[_0x511f53(0x228)]),Oe(0x1,Ge[_0x511f53(0x1b6)])],de);const Te=[_0x511f53(0x1ed),_0x511f53(0x34e),_0x511f53(0x31b),_0x511f53(0x246),_0x511f53(0x315),'yellow.400'];class me extends a[_0x511f53(0x22b)]{constructor(){const _0x4e66c7=_0x511f53;super(...arguments),h(this,_0x4e66c7(0x31a),new Map()),h(this,_0x4e66c7(0x211),0x0);}['assignAColorForMemberID'](_0xd21bcf){const _0x2fcd94=_0x511f53;if(this[_0x2fcd94(0x31a)][_0x2fcd94(0x2bd)](_0xd21bcf))return this[_0x2fcd94(0x31a)]['get'](_0xd21bcf);const _0x4961c2=Te[this[_0x2fcd94(0x211)]];return this[_0x2fcd94(0x211)]=(this[_0x2fcd94(0x211)]+0x1)%Te[_0x2fcd94(0x1dc)],this[_0x2fcd94(0x31a)][_0x2fcd94(0x3c7)](_0xd21bcf,_0x4961c2),_0x4961c2;}}function Pe(_0x23ec90){const _0x58ea7a=_0x511f53;let _0x4271fa='';for(const _0x410093 of _0x23ec90){const {startOffset:_0x5eec81,endOffset:_0x12057a,isActive:_0x1a8563,rangeType:_0x406133,segmentId:_0xae90bd,segmentPage:_0x2632ea}=_0x410093;_0x4271fa[_0x58ea7a(0x1dc)]&&(_0x4271fa+=','),_0x4271fa+=_0x5eec81+':'+_0x12057a+':'+(_0x1a8563?'1':'0')+':'+_0x406133+':'+_0xae90bd+':'+_0x2632ea;}return _0x4271fa;}function Je(_0x124d99){const _0x503b5a=_0x511f53,_0x1d6f05=_0x124d99[_0x503b5a(0x300)](','),_0x172667=[];for(const _0x37b69f of _0x1d6f05){const [_0x5edd95,_0x48249b,_0x3b4593,_0x50725e,_0x13f661,_0x546c90]=_0x37b69f[_0x503b5a(0x300)](':');_0x172667[_0x503b5a(0x23b)]({'startOffset':Number(_0x5edd95),'endOffset':Number(_0x48249b),'collapsed':_0x5edd95===_0x48249b,'isActive':_0x3b4593==='1','rangeType':_0x50725e===a[_0x503b5a(0x23d)][_0x503b5a(0x37f)]?a[_0x503b5a(0x23d)][_0x503b5a(0x37f)]:a[_0x503b5a(0x23d)]['RECT'],'segmentId':typeof _0x13f661==_0x503b5a(0x240)?String(_0x13f661):'','segmentPage':Number(_0x546c90!=null?_0x546c90:-0x1)});}return _0x172667[_0x503b5a(0x265)](_0x32b04a=>_0x32b04a[_0x503b5a(0x291)])||(_0x172667[0x0][_0x503b5a(0x291)]=!0x0),_0x172667;}class Ce extends a[_0x511f53(0x1e5)]{constructor(){const _0x107e70=_0x511f53;super(...arguments),h(this,'_collabCursorState$',new d[(_0x107e70(0x263))](null)),h(this,_0x107e70(0x319),this[_0x107e70(0x24a)][_0x107e70(0x3bc)]());}[_0x511f53(0x33f)](_0x59055b){const _0x32ed0b=_0x511f53,{unitID:_0xde6ccd,memberID:_0x34f9a6,textRanges:_0x170ad1}=_0x59055b,_0xdfb228=Pe(_0x170ad1);if(_0xdfb228==='')return;const _0x143aa7={'unitID':_0xde6ccd,'memberID':_0x34f9a6,'selection':_0xdfb228};this[_0x32ed0b(0x24a)][_0x32ed0b(0x262)](_0x143aa7);}}var Ze=Object[_0x511f53(0x1d6)],Qe=(_0x5c9408,_0x3110e9,_0x1de186,_0x4d5c8a)=>{const _0x525747=_0x511f53;for(var _0x5f1eee=_0x4d5c8a>0x1?void 0x0:_0x4d5c8a?Ze(_0x3110e9,_0x1de186):_0x3110e9,_0x3c9d4d=_0x5c9408[_0x525747(0x1dc)]-0x1,_0x4df1a7;_0x3c9d4d>=0x0;_0x3c9d4d--)(_0x4df1a7=_0x5c9408[_0x3c9d4d])&&(_0x5f1eee=_0x4df1a7(_0x5f1eee)||_0x5f1eee);return _0x5f1eee;},L=(_0x5d7ba0,_0x375347)=>(_0x327ba2,_0x5deb57)=>_0x375347(_0x327ba2,_0x5deb57,_0x5d7ba0);const et=0x12c,tt=0x64;let Ie=class extends a[_0x511f53(0x1e5)]{constructor(_0x112c5f,_0x394579,_0x479cc0,_0x3a6003,_0x4c89e1,_0x3a61cf,_0x4ee851,_0x586ff8,_0xd711fe){const _0x29b807=_0x511f53;super(),h(this,_0x29b807(0x28e),!0x1),h(this,_0x29b807(0x3e8),!0x1),h(this,_0x29b807(0x326),new d[(_0x29b807(0x263))](new Map())),h(this,_0x29b807(0x400),this[_0x29b807(0x326)][_0x29b807(0x3bc)]()),h(this,_0x29b807(0x251),new d[(_0x29b807(0x263))]([])),h(this,'roomMembers$',this['_roomMembers$']['pipe'](d['debounceTime'](et))),h(this,_0x29b807(0x20f),a[_0x29b807(0x288)](_0x1eec96=>{const _0x3f647a=_0x29b807,_0x220f1c={'eventID':m['CollaborationEvent'][_0x3f647a(0x2c1)],'data':{'unitID':this[_0x3f647a(0x2ef)],'memberID':this['_session'][_0x3f647a(0x26c)](),'selection':Pe(_0x1eec96)}};this[_0x3f647a(0x271)]['send'](_0x220f1c,this[_0x3f647a(0x2ef)]);},tt)),(this[_0x29b807(0x2ef)]=_0x112c5f,this[_0x29b807(0x271)]=_0x394579,this[_0x29b807(0x32e)]=_0x479cc0,this[_0x29b807(0x3fc)]=_0x3a6003,this[_0x29b807(0x3da)]=_0x4c89e1,this[_0x29b807(0x236)]=_0x3a61cf,this[_0x29b807(0x2b4)]=_0x4ee851,this[_0x29b807(0x1d5)]=_0x586ff8,this['_commandService']=_0xd711fe);}get[_0x511f53(0x26e)](){const _0x8be488=_0x511f53;return this[_0x8be488(0x326)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x408dfd=_0x511f53;super[_0x408dfd(0x23a)](),this['_cursorInfo$'][_0x408dfd(0x262)](new Map()),this[_0x408dfd(0x326)][_0x408dfd(0x2f8)](),this[_0x408dfd(0x251)][_0x408dfd(0x262)]([]),this[_0x408dfd(0x251)]['complete']();}[_0x511f53(0x341)](){const _0x13ec27=_0x511f53;this[_0x13ec27(0x3e8)]||(this['_init']=!0x0,this['_session'][_0x13ec27(0x37a)][_0x13ec27(0x33d)](d['takeUntil'](this[_0x13ec27(0x1cb)]))[_0x13ec27(0x2d0)](_0x1c0288=>{const _0xc86c3=_0x13ec27;_0x1c0288===u['SessionStatus'][_0xc86c3(0x3d7)]?this[_0xc86c3(0x1e8)]():this[_0xc86c3(0x3d4)]();}),this[_0x13ec27(0x271)][_0x13ec27(0x259)][_0x13ec27(0x33d)](d[_0x13ec27(0x207)](this[_0x13ec27(0x1cb)]))['subscribe'](_0x1e0792=>{const _0x1019e8=_0x13ec27,_0x101f76=_0x1e0792['eventID'];_0x101f76===m[_0x1019e8(0x189)]['UPDATE_CURSOR']&&this[_0x1019e8(0x33e)](_0x1e0792),_0x101f76===m[_0x1019e8(0x189)][_0x1019e8(0x329)]&&this[_0x1019e8(0x229)](_0x1e0792);}),this[_0x13ec27(0x203)](this['_commandService'][_0x13ec27(0x32d)](_0xdf48fa=>{const _0x552305=_0x13ec27,_0xafd4da=_0xdf48fa[_0x552305(0x411)];_0xafd4da!=null&&this['_online']&&_0xdf48fa['id']===Y[_0x552305(0x1b3)]['id']&&_0xafd4da[_0x552305(0x32c)]===this[_0x552305(0x2ef)]&&_0xafd4da[_0x552305(0x2bc)]===!0x1&&_0xafd4da[_0x552305(0x2ab)][_0x552305(0x1dc)]>0x0&&this[_0x552305(0x20f)](_0xafd4da[_0x552305(0x2ab)]);})),this[_0x13ec27(0x236)][_0x13ec27(0x319)][_0x13ec27(0x33d)](d[_0x13ec27(0x207)](this[_0x13ec27(0x1cb)]))[_0x13ec27(0x2d0)](_0x2f1be4=>{const _0x5a35f8=_0x13ec27;if((_0x2f1be4==null?void 0x0:_0x2f1be4[_0x5a35f8(0x2ef)])!==this[_0x5a35f8(0x2ef)])return;const _0x36d477={'eventID':m[_0x5a35f8(0x189)][_0x5a35f8(0x2c1)],'data':_0x2f1be4};this['_onCursorUpdate'](_0x36d477);}),this[_0x13ec27(0x203)](this[_0x13ec27(0x1b9)][_0x13ec27(0x32d)](_0x862c0b=>{const _0x21edc2=_0x13ec27;if(_0x862c0b[_0x21edc2(0x411)]==null)return;const _0x34fc29=_0x862c0b[_0x21edc2(0x411)];if(_0x862c0b['id']!==Y['RichTextEditingMutation']['id']||_0x34fc29[_0x21edc2(0x32c)]!==this[_0x21edc2(0x2ef)])return;const _0x424d97={'id':_0x21edc2(0x2f4),'params':_0x34fc29},_0x2cb329=this[_0x21edc2(0x26e)];for(const [_0x515fce,_0x33acc5]of _0x2cb329){const _0xb0d783={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x33acc5[_0x21edc2(0x2ab)]}},_0xd61c7e=this[_0x21edc2(0x2b4)]['transformMutation'](_0x424d97,_0xb0d783,!0x1);if(m[_0x21edc2(0x322)](_0xd61c7e))throw _0xd61c7e[_0x21edc2(0x1bc)];_0x2cb329[_0x21edc2(0x3c7)](_0x515fce,{..._0x33acc5,'ranges':_0xd61c7e['m2Prime'][_0x21edc2(0x411)]['textRanges']});}queueMicrotask(()=>{const _0x13b62d=_0x21edc2;this[_0x13b62d(0x326)][_0x13b62d(0x262)](_0x2cb329);});})));}['_onCursorUpdate'](_0x19c3f2){const _0xaaf93b=_0x511f53;var _0x43dcc0,_0x1d2e58;const {memberID:_0x647eb9,selection:_0x135154}=_0x19c3f2[_0xaaf93b(0x278)],_0x2bb282=Je(_0x135154),_0x1942ca=(_0x1d2e58=(_0x43dcc0=this[_0xaaf93b(0x3da)][_0xaaf93b(0x26d)](this[_0xaaf93b(0x2ef)],_0x647eb9))==null?void 0x0:_0x43dcc0[_0xaaf93b(0x205)])!=null?_0x1d2e58:_0xaaf93b(0x31e),_0x578059={'color':this[_0xaaf93b(0x3fc)]['assignAColorForMemberID'](_0x647eb9),'name':_0x1942ca,'ranges':_0x2bb282},_0x1a1e1d=this['cursorInfo'];_0x1a1e1d[_0xaaf93b(0x3c7)](_0x647eb9,_0x578059),this[_0xaaf93b(0x326)][_0xaaf93b(0x262)](_0x1a1e1d);}['_onCursorDelete'](_0x4431fb){const _0x1b6040=_0x511f53,{memberID:_0x5c5e97}=_0x4431fb[_0x1b6040(0x278)],_0x45194e=this[_0x1b6040(0x26e)];_0x45194e[_0x1b6040(0x2dc)](_0x5c5e97),this[_0x1b6040(0x326)][_0x1b6040(0x262)](_0x45194e);}[_0x511f53(0x1e8)](){const _0x8c83ca=_0x511f53;var _0x279c5d;if(this[_0x8c83ca(0x28e)]=!0x0,((_0x279c5d=this[_0x8c83ca(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x279c5d[_0x8c83ca(0x22f)]())!==this['unitID'])return;const _0x412f80=this['_injector'][_0x8c83ca(0x21f)](Y[_0x8c83ca(0x215)])[_0x8c83ca(0x3b3)]();Array[_0x8c83ca(0x287)](_0x412f80)&&_0x412f80[_0x8c83ca(0x1dc)]>0x0&&this[_0x8c83ca(0x20f)](_0x412f80);}[_0x511f53(0x3d4)](){this['_online']=!0x1;}};Ie=Qe([L(0x2,a[_0x511f53(0x3be)](a['Injector'])),L(0x3,a[_0x511f53(0x3be)](me)),L(0x4,a[_0x511f53(0x3be)](u['MemberService'])),L(0x5,a[_0x511f53(0x3be)](Ce)),L(0x6,m[_0x511f53(0x214)]),L(0x7,a[_0x511f53(0x1be)]),L(0x8,a[_0x511f53(0x27b)])],Ie);var st=Object['getOwnPropertyDescriptor'],it=(_0x2c0dc5,_0x1a2d5c,_0x4980c0,_0xe9c4f3)=>{const _0x2e7383=_0x511f53;for(var _0x99af4a=_0xe9c4f3>0x1?void 0x0:_0xe9c4f3?st(_0x1a2d5c,_0x4980c0):_0x1a2d5c,_0x263310=_0x2c0dc5[_0x2e7383(0x1dc)]-0x1,_0x1cddb2;_0x263310>=0x0;_0x263310--)(_0x1cddb2=_0x2c0dc5[_0x263310])&&(_0x99af4a=_0x1cddb2(_0x99af4a)||_0x99af4a);return _0x99af4a;},A=(_0x7bb7ce,_0x46bb9c)=>(_0x5d9e71,_0x40be95)=>_0x46bb9c(_0x5d9e71,_0x40be95,_0x7bb7ce);const nt=0x12c,rt=0x64,ot=()=>{let _0x37c737=[],_0x32da59=!0x1;return _0x488259=>{const _0x5290ac=_0x543b;_0x37c737[_0x5290ac(0x23b)](_0x488259),_0x32da59||(_0x32da59=!0x0,setTimeout(()=>{_0x37c737['forEach'](_0x32f9dd=>_0x32f9dd()),_0x37c737=[],_0x32da59=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x3a0a9f,_0x408bdb,_0x611466,_0x57f5d7,_0x30b0f8,_0x252e6f,_0x450414,_0x206bfb){const _0x5b2461=_0x511f53;super(),h(this,_0x5b2461(0x28e),!0x1),h(this,_0x5b2461(0x3e8),!0x1),h(this,_0x5b2461(0x326),new d[(_0x5b2461(0x263))](new Map())),h(this,_0x5b2461(0x400),this[_0x5b2461(0x326)][_0x5b2461(0x3bc)]()),h(this,_0x5b2461(0x251),new d['BehaviorSubject']([])),h(this,_0x5b2461(0x256),this[_0x5b2461(0x251)]['pipe'](d[_0x5b2461(0x3f6)](nt))),h(this,_0x5b2461(0x20f),a[_0x5b2461(0x288)]((_0x4e175f,_0x459b6b)=>{const _0x22f0cf=_0x5b2461,_0x2cb9bd={'eventID':m[_0x22f0cf(0x189)][_0x22f0cf(0x2c1)],'data':{'unitID':this['unitID'],'memberID':this[_0x22f0cf(0x271)]['getMemberID'](),'selection':be['serializeRangeWithSheet'](_0x4e175f,_0x459b6b['range'])}};this[_0x22f0cf(0x271)][_0x22f0cf(0x3a0)](_0x2cb9bd,this['unitID']);},rt)),(this['unitID']=_0x3a0a9f,this[_0x5b2461(0x271)]=_0x408bdb,this[_0x5b2461(0x32e)]=_0x611466,this[_0x5b2461(0x3fc)]=_0x57f5d7,this[_0x5b2461(0x3da)]=_0x30b0f8,this[_0x5b2461(0x1d5)]=_0x252e6f,this['_commandService']=_0x450414,this[_0x5b2461(0x23f)]=_0x206bfb);}get[_0x511f53(0x26e)](){const _0x3c5041=_0x511f53;return this[_0x3c5041(0x326)][_0x3c5041(0x378)]();}get[_0x511f53(0x353)](){const _0x5c1bfa=_0x511f53;return this[_0x5c1bfa(0x251)][_0x5c1bfa(0x378)]();}['dispose'](){const _0x5f524d=_0x511f53;super[_0x5f524d(0x23a)](),this['_cursorInfo$'][_0x5f524d(0x262)](new Map()),this[_0x5f524d(0x326)]['complete'](),this[_0x5f524d(0x251)][_0x5f524d(0x262)]([]),this[_0x5f524d(0x251)][_0x5f524d(0x2f8)]();}['init'](){const _0x5d768e=_0x511f53;this[_0x5d768e(0x3e8)]||(this[_0x5d768e(0x3e8)]=!0x0,this[_0x5d768e(0x271)]['sessionStatus$'][_0x5d768e(0x33d)](d['takeUntil'](this[_0x5d768e(0x1cb)]))[_0x5d768e(0x2d0)](_0x5b5216=>{const _0x16fcb0=_0x5d768e;_0x5b5216===u['SessionStatus'][_0x16fcb0(0x3d7)]?this[_0x16fcb0(0x1e8)]():this[_0x16fcb0(0x3d4)]();}),this[_0x5d768e(0x271)][_0x5d768e(0x259)][_0x5d768e(0x33d)](d[_0x5d768e(0x207)](this[_0x5d768e(0x1cb)]))[_0x5d768e(0x2d0)](_0x3c7ff0=>{const _0x4687b4=_0x5d768e,_0x509b6a=_0x3c7ff0[_0x4687b4(0x27d)];_0x509b6a===m[_0x4687b4(0x189)][_0x4687b4(0x2c1)]&&this[_0x4687b4(0x33e)](_0x3c7ff0),_0x509b6a===m[_0x4687b4(0x189)][_0x4687b4(0x329)]&&this['_onCursorDelete'](_0x3c7ff0);}),this[_0x5d768e(0x209)](),this[_0x5d768e(0x203)](this[_0x5d768e(0x1b9)][_0x5d768e(0x32d)](_0x48ab26=>{const _0x4a8935=_0x5d768e;if(this[_0x4a8935(0x28e)]&&_0x48ab26['id']===g[_0x4a8935(0x3d6)]['id']&&_0x48ab26[_0x4a8935(0x411)][_0x4a8935(0x32c)]===this[_0x4a8935(0x2ef)]){const _0x113697=_0x48ab26[_0x4a8935(0x411)];this['_updateLocalCursor'](_0x113697[_0x4a8935(0x25e)],_0x113697[_0x4a8935(0x2e6)][0x0]);}})));}['_onCursorUpdate'](_0x5e7176){const _0x33ec3e=_0x511f53;var _0x2047cb,_0x119484;const {memberID:_0x5e3bc1,selection:_0x5c51f4}=_0x5e7176[_0x33ec3e(0x278)],{sheetName:_0x1107ab,range:_0x3ec40a}=be['deserializeRangeWithSheet'](_0x5c51f4),_0x9723b6={'name':(_0x119484=(_0x2047cb=this['_memberService'][_0x33ec3e(0x26d)](this['unitID'],_0x5e3bc1))==null?void 0x0:_0x2047cb['name'])!=null?_0x119484:'Unknown\x20user','range':this['_getMergeRange'](_0x1107ab,_0x3ec40a),'sheetID':_0x1107ab,'color':this[_0x33ec3e(0x3fc)][_0x33ec3e(0x2fc)](_0x5e3bc1),'selection':_0x5c51f4},_0x1ea6eb=this['cursorInfo'];_0x1ea6eb[_0x33ec3e(0x3c7)](_0x5e3bc1,_0x9723b6),this[_0x33ec3e(0x326)][_0x33ec3e(0x262)](_0x1ea6eb);}['_onCursorDelete'](_0x381f39){const _0x59ab66=_0x511f53,{memberID:_0x2d2239}=_0x381f39['data'],_0x8d7ac5=this[_0x59ab66(0x26e)];_0x8d7ac5[_0x59ab66(0x2dc)](_0x2d2239),this[_0x59ab66(0x326)]['next'](_0x8d7ac5);}['_getMergeRange'](_0x44224d,_0x1f1fb0){const _0x22899e=_0x511f53;var _0x4b257e,_0x492973;const _0x1f19d4=(_0x492973=(_0x4b257e=this[_0x22899e(0x1d5)][_0x22899e(0x2b5)](this[_0x22899e(0x2ef)]))==null?void 0x0:_0x4b257e[_0x22899e(0x359)](_0x44224d))==null?void 0x0:_0x492973[_0x22899e(0x3e2)]();return(_0x1f19d4==null?void 0x0:_0x1f19d4['find'](_0x4d80c0=>a['Rectangle']['contains'](_0x4d80c0,_0x1f1fb0)))||_0x1f1fb0;}['_onRefRangeChange'](){const _0x21de86=_0x511f53,_0x2cc8e8=new a['DisposableCollection'](),_0x567663=ot(),_0x5b6467=()=>{const _0x16278f=_0x543b;_0x2cc8e8['dispose']();const _0x1c0b47=(_0x57e34a,_0x3ab624,_0x7fd273,_0x120f64)=>{const _0x2dbe9a=_0x543b;let _0x4074cf=[];switch(_0x57e34a['id']){case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x1fb)]:{_0x4074cf=g[_0x2dbe9a(0x1aa)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)]['DeleteRangeMoveUpCommandId']:{_0x4074cf=g[_0x2dbe9a(0x266)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x18c)]:{_0x4074cf=g[_0x2dbe9a(0x3a8)](_0x57e34a,_0x120f64);break;}case g['EffectRefRangId'][_0x2dbe9a(0x27c)]:{_0x4074cf=g[_0x2dbe9a(0x234)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x191)]:{_0x4074cf=g[_0x2dbe9a(0x277)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x2a0)]:{_0x4074cf=g[_0x2dbe9a(0x2d5)](_0x57e34a,_0x120f64);break;}case g['EffectRefRangId'][_0x2dbe9a(0x377)]:{_0x4074cf=g[_0x2dbe9a(0x3bd)](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)][_0x2dbe9a(0x1c2)]:{_0x4074cf=g['handleIRemoveCol'](_0x57e34a,_0x120f64);break;}case g[_0x2dbe9a(0x18d)]['RemoveRowCommandId']:{_0x4074cf=g['handleIRemoveRow'](_0x57e34a,_0x120f64);break;}}const _0x4da4be=g[_0x2dbe9a(0x1e3)](_0x4074cf,_0x120f64),_0x2edb40=this[_0x2dbe9a(0x26e)][_0x2dbe9a(0x21f)](_0x3ab624);if(_0x2edb40&&_0x4da4be){const _0x44bed5={..._0x2edb40,'range':_0x4da4be};this['cursorInfo'][_0x2dbe9a(0x3c7)](_0x3ab624,_0x44bed5),_0x567663(()=>{const _0x125168=_0x2dbe9a,_0x4fe177=this[_0x125168(0x23f)][_0x125168(0x1af)](_0x4da4be,_0x4fde0f=>(_0x4fe177[_0x125168(0x23a)](),_0x1c0b47(_0x4fde0f,_0x3ab624,_0x7fd273,_0x4da4be)));_0x2cc8e8[_0x125168(0x2d4)](_0x4fe177);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x16278f(0x29b)]((_0x3db421,_0x216f96)=>{const _0x323bb3=_0x16278f,{range:_0x4c07ae,sheetID:_0x29ff81}=_0x3db421,_0x259f0b=this['_refRangeService'][_0x323bb3(0x1af)](_0x4c07ae,_0x4d01e7=>(_0x259f0b[_0x323bb3(0x23a)](),_0x1c0b47(_0x4d01e7,_0x216f96,_0x29ff81,_0x4c07ae)));_0x2cc8e8[_0x323bb3(0x2d4)](_0x259f0b);});};this[_0x21de86(0x203)](a['toDisposable'](this[_0x21de86(0x326)][_0x21de86(0x2d0)](()=>{_0x5b6467();})));}['_toggleOnline'](){const _0x28d6f1=_0x511f53;var _0x4f4d80,_0x56ca0a;if(this['_online']=!0x0,((_0x4f4d80=this[_0x28d6f1(0x1d5)][_0x28d6f1(0x1f1)]())==null?void 0x0:_0x4f4d80['getUnitId']())!==this[_0x28d6f1(0x2ef)])return;const _0x25dc69=(_0x56ca0a=this[_0x28d6f1(0x32e)]['get'](g[_0x28d6f1(0x19f)])[_0x28d6f1(0x3d3)]())==null?void 0x0:_0x56ca0a[0x0],_0x4015b4=this[_0x28d6f1(0x1d5)]['getCurrentUnitForType'](a[_0x28d6f1(0x19e)]['UNIVER_SHEET'])['getActiveSheet']();_0x25dc69&&_0x4015b4&&this['_updateLocalCursor'](_0x4015b4[_0x28d6f1(0x365)](),_0x25dc69);}[_0x511f53(0x3d4)](){const _0x588691=_0x511f53;this[_0x588691(0x28e)]=!0x1;}};Se=it([A(0x2,a[_0x511f53(0x3be)](a['Injector'])),A(0x3,a[_0x511f53(0x3be)](me)),A(0x4,a[_0x511f53(0x3be)](u['MemberService'])),A(0x5,a[_0x511f53(0x1be)]),A(0x6,a[_0x511f53(0x27b)]),A(0x7,a[_0x511f53(0x3be)](g[_0x511f53(0x2b1)]))],Se);var at=Object[_0x511f53(0x1d6)],ct=(_0x232d0f,_0x388bb4,_0x39fcbf,_0x26d340)=>{const _0x3e59e9=_0x511f53;for(var _0x542f63=_0x26d340>0x1?void 0x0:_0x26d340?at(_0x388bb4,_0x39fcbf):_0x388bb4,_0x5b44f7=_0x232d0f[_0x3e59e9(0x1dc)]-0x1,_0xfbf334;_0x5b44f7>=0x0;_0x5b44f7--)(_0xfbf334=_0x232d0f[_0x5b44f7])&&(_0x542f63=_0xfbf334(_0x542f63)||_0x542f63);return _0x542f63;},ie=(_0x2fcfb9,_0x16ea12)=>(_0x230557,_0x5b5583)=>_0x16ea12(_0x230557,_0x5b5583,_0x2fcfb9);let x=class extends a[_0x511f53(0x1e5)]{constructor(_0x449b15,_0x338a9b,_0x349ba9){const _0x4fa67a=_0x511f53;super(),h(this,_0x4fa67a(0x3fd),new Map()),h(this,'_entityInit$',new d[(_0x4fa67a(0x23e))]()),(this[_0x4fa67a(0x1d5)]=_0x449b15,this[_0x4fa67a(0x32e)]=_0x338a9b,this['_collabSessionService']=_0x349ba9,this['_init']());}[_0x511f53(0x23a)](){const _0x366b7e=_0x511f53;super['dispose'](),this['_entityInit$'][_0x366b7e(0x2f8)](),this[_0x366b7e(0x3fd)][_0x366b7e(0x29b)](_0xe3742f=>_0xe3742f['dispose']());}[_0x511f53(0x345)](_0x243114){const _0x303216=_0x511f53;return this[_0x303216(0x3fd)][_0x303216(0x2bd)](_0x243114)?this[_0x303216(0x3fd)][_0x303216(0x21f)](_0x243114)[_0x303216(0x400)]:this[_0x303216(0x31f)][_0x303216(0x33d)](d['filter'](_0x56b2f5=>_0x56b2f5[_0x303216(0x2ef)]===_0x243114),d[_0x303216(0x258)](_0x41c40e=>_0x41c40e[_0x303216(0x400)]));}[_0x511f53(0x3e8)](){const _0x269d58=_0x511f53;this[_0x269d58(0x1d5)][_0x269d58(0x30d)](a[_0x269d58(0x19e)]['UNIVER_SHEET'])[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))[_0x269d58(0x2d0)](async _0x47d9b9=>{const _0x5d143d=_0x269d58,_0x5de397=_0x47d9b9[_0x5d143d(0x22f)](),_0x5b8681=await this['_startSheetCollabCursor'](_0x5de397);this[_0x5d143d(0x31f)]['next'](_0x5b8681),this[_0x5d143d(0x3fd)][_0x5d143d(0x3c7)](_0x5de397,_0x5b8681);}),this['_univerInstanceService'][_0x269d58(0x30d)](a['UniverInstanceType']['UNIVER_DOC'])[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))['pipe'](d[_0x269d58(0x3bf)](_0xb58892=>!_0xb58892[_0x269d58(0x22f)]()['startsWith']('__')))['subscribe'](async _0x2e731c=>{const _0x38d861=_0x269d58,_0x44eac0=_0x2e731c[_0x38d861(0x22f)](),_0x13c695=await this[_0x38d861(0x3a7)](_0x44eac0);this[_0x38d861(0x31f)][_0x38d861(0x262)](_0x13c695),this[_0x38d861(0x3fd)][_0x38d861(0x3c7)](_0x44eac0,_0x13c695);}),d[_0x269d58(0x33c)](this[_0x269d58(0x1d5)]['getTypeOfUnitDisposed$'](a[_0x269d58(0x19e)][_0x269d58(0x2e4)]),this[_0x269d58(0x1d5)][_0x269d58(0x2e9)](a[_0x269d58(0x19e)][_0x269d58(0x22c)]))[_0x269d58(0x33d)](d[_0x269d58(0x207)](this[_0x269d58(0x1cb)]))[_0x269d58(0x2d0)](_0x4b9417=>{const _0xd13812=_0x269d58,_0x500e7c=_0x4b9417[_0xd13812(0x22f)](),_0x4a1b14=this['_entities'][_0xd13812(0x21f)](_0x500e7c);_0x4a1b14&&(_0x4a1b14[_0xd13812(0x23a)](),this[_0xd13812(0x3fd)][_0xd13812(0x2dc)](_0x500e7c));});}async['_startSheetCollabCursor'](_0x427144){const _0x597c54=_0x511f53,_0x35a236=await this['_collabSessionService'][_0x597c54(0x26b)](_0x427144),_0x309126=this[_0x597c54(0x32e)][_0x597c54(0x2d7)](Se,_0x427144,_0x35a236);return _0x309126[_0x597c54(0x341)](),_0x309126;}async[_0x511f53(0x3a7)](_0x1bd484){const _0x1af2ad=_0x511f53,_0x1ce9f3=await this[_0x1af2ad(0x2d8)]['requireSession'](_0x1bd484),_0x35ee82=this[_0x1af2ad(0x32e)][_0x1af2ad(0x2d7)](Ie,_0x1bd484,_0x1ce9f3);return _0x35ee82[_0x1af2ad(0x341)](),_0x35ee82;}};x=ct([ie(0x0,a[_0x511f53(0x1be)]),ie(0x1,a['Inject'](a[_0x511f53(0x1d8)])),ie(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x3e0)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1005db,_0x532596){const _0x49d960=_0x511f53;let {radius:_0x4dfd9a,width:_0x8648d3,height:_0x2ffb98}=_0x532596;_0x4dfd9a=_0x4dfd9a!=null?_0x4dfd9a:0x0,_0x8648d3=_0x8648d3!=null?_0x8648d3:0x1e,_0x2ffb98=_0x2ffb98!=null?_0x2ffb98:0x1e;let _0x3ef0b3=0x0,_0xafd676=0x0,_0x46f047=0x0;_0x3ef0b3=_0xafd676=_0x46f047=Math['min'](_0x4dfd9a,_0x8648d3/0x2,_0x2ffb98/0x2),_0x1005db[_0x49d960(0x37e)](),_0x1005db[_0x49d960(0x3c6)](_0x3ef0b3,0x0),_0x1005db[_0x49d960(0x3b1)](_0x8648d3-_0xafd676,0x0),_0x1005db[_0x49d960(0x2ea)](_0x8648d3-_0xafd676,_0xafd676,_0xafd676,Math['PI']*0x3/0x2,0x0,!0x1),_0x1005db[_0x49d960(0x3b1)](_0x8648d3,_0x2ffb98-_0x46f047),_0x1005db[_0x49d960(0x2ea)](_0x8648d3-_0x46f047,_0x2ffb98-_0x46f047,_0x46f047,0x0,Math['PI']/0x2,!0x1),_0x1005db[_0x49d960(0x3b1)](0x0,_0x2ffb98),_0x1005db[_0x49d960(0x3b1)](0x0,_0x3ef0b3),_0x1005db[_0x49d960(0x2ea)](_0x3ef0b3,_0x3ef0b3,_0x3ef0b3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1005db[_0x49d960(0x338)](),_0x532596[_0x49d960(0x243)]&&(_0x1005db[_0x49d960(0x31d)](),_0x1005db[_0x49d960(0x1c3)]=_0x532596[_0x49d960(0x243)],_0x532596[_0x49d960(0x187)]===_0x49d960(0x1f4)?_0x1005db[_0x49d960(0x243)](_0x49d960(0x1f4)):_0x1005db[_0x49d960(0x243)](),_0x1005db['restore']());}class ee extends p['Shape']{constructor(_0x21a78c,_0x6932f8){const _0x2420fa=_0x511f53;super(_0x21a78c,_0x6932f8),h(this,_0x2420fa(0x2fd)),h(this,_0x2420fa(0x184)),(this[_0x2420fa(0x2fd)]=_0x6932f8==null?void 0x0:_0x6932f8[_0x2420fa(0x2fd)],this[_0x2420fa(0x184)]=_0x6932f8==null?void 0x0:_0x6932f8[_0x2420fa(0x184)]);}static[_0x511f53(0x188)](_0x1e4b69,_0x3383b3){const _0x4c027f=_0x511f53,{text:_0x2ca053,color:_0x1ed424}=_0x3383b3;_0x1e4b69[_0x4c027f(0x31d)](),_0x1e4b69[_0x4c027f(0x27e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x329f47=_0x1e4b69['measureText'](_0x2ca053)['width'],_0x4a50a2=Math[_0x4c027f(0x1ba)](_0x329f47+0x2*ne,Re);_t(_0x1e4b69,{'height':K,'radius':0x4,'width':_0x4a50a2,'fill':_0x1ed424}),_0x1e4b69[_0x4c027f(0x1c3)]='#FFF';const _0x2728ad=ne,_0x24a2c9=K-lt,_0x1970f4=Re-0x2*ne;if(_0x329f47>_0x1970f4){let _0x281d26='',_0x8c71df=0x0;for(const _0x3d1db8 of _0x2ca053){const _0x44ba91=_0x1e4b69[_0x4c027f(0x1c0)](_0x3d1db8)['width'];if(_0x8c71df+_0x44ba91<=_0x1970f4-_0x1e4b69[_0x4c027f(0x1c0)]('...')[_0x4c027f(0x302)])_0x281d26+=_0x3d1db8,_0x8c71df+=_0x44ba91;else{_0x281d26+='...';break;}}_0x1e4b69[_0x4c027f(0x185)](_0x281d26,_0x2728ad,_0x24a2c9);}else _0x1e4b69['fillText'](_0x2ca053,_0x2728ad,_0x24a2c9);_0x1e4b69['restore']();}[_0x511f53(0x1db)](_0xd0f5f6){const _0x252037=_0x511f53;ee[_0x252037(0x188)](_0xd0f5f6,this);}}const re='collab-text-anchor-',ht=_0x511f53(0x279),ut=_0x511f53(0x2ff),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x511f53(0x324);class De{constructor(_0x27d2f0,_0x590057,_0x1c6ad4,_0x3d80fd){const _0x483213=_0x511f53;h(this,'_shapes',[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,_0x483213(0x1d9),null),h(this,_0x483213(0x1f5),null),h(this,'_eventUnsubscribe',null),(this[_0x483213(0x1a0)]=_0x27d2f0,this[_0x483213(0x386)]=_0x590057,this[_0x483213(0x36a)]=_0x1c6ad4,this['_document']=_0x3d80fd,this[_0x483213(0x2f5)]());}set['_hover'](_0x2b49a6){const _0x5c4a26=_0x511f53;_0x2b49a6?(this[_0x5c4a26(0x1d9)]&&this['_anchorDot'][_0x5c4a26(0x27a)](),this[_0x5c4a26(0x3ea)]&&this['_textBubble'][_0x5c4a26(0x225)]()):(this[_0x5c4a26(0x1d9)]&&this[_0x5c4a26(0x1d9)][_0x5c4a26(0x225)](),this[_0x5c4a26(0x3ea)]&&this[_0x5c4a26(0x3ea)]['hide']());}[_0x511f53(0x23a)](){const _0xf7b8da=_0x511f53;for(const _0x2c42f9 of this[_0xf7b8da(0x2cb)])_0x2c42f9['dispose']();this[_0xf7b8da(0x3ea)]&&this[_0xf7b8da(0x3ea)][_0xf7b8da(0x23a)](),this[_0xf7b8da(0x1d9)]&&this['_anchorDot'][_0xf7b8da(0x23a)](),this[_0xf7b8da(0x1ae)]&&this[_0xf7b8da(0x1ae)]['dispose'](),this[_0xf7b8da(0x362)]&&this[_0xf7b8da(0x362)]();}[_0x511f53(0x2f5)](){const _0x340655=_0x511f53;var _0x506d01;const {_docSkeleton:_0x550c60,_document:_0x504de8}=this,{color:_0x10a7a2,name:_0x148d9f,ranges:_0x42dcc8}=this[_0x340655(0x1a0)],_0x417a7f=_0x504de8[_0x340655(0x317)](),{docsLeft:_0x40ff0d,docsTop:_0x2b59dd}=_0x417a7f,_0x3c1ef4=new E[(_0x340655(0x255))](_0x417a7f,_0x550c60);for(const {startOffset:_0x152306,endOffset:_0x5e680c,rangeType:_0x21ea09,segmentId:_0x3714b3,segmentPage:_0x596e78,collapsed:_0xdb4752,isActive:_0xf7b22f}of _0x42dcc8){const _0x4593e8=_0x550c60[_0x340655(0x350)](_0x152306,!0x0,_0x3714b3,_0x596e78);let _0x4b343f=_0x550c60[_0x340655(0x350)](_0x5e680c,!0x0,_0x3714b3,_0x596e78);if(_0x4b343f==null&&(_0x4b343f=_0x550c60[_0x340655(0x350)](_0x5e680c-0x1,!0x1,_0x3714b3,_0x596e78)),_0xf7b22f){const {contentBoxPointGroup:_0x1978f0}=_0x3c1ef4[_0x340655(0x403)](_0x4b343f,_0x4b343f);if(_0x1978f0[_0x340655(0x1dc)]===0x0)continue;this[_0x340655(0x2d2)](_0x10a7a2,_0x1978f0,_0x40ff0d,_0x2b59dd,_0x148d9f),this[_0x340655(0x362)]=this[_0x340655(0x316)]();}if(_0x4593e8&&_0x4b343f){if(_0x21ea09===a['DOC_RANGE_TYPE'][_0x340655(0x340)]){const _0x1f6d62=new E[(_0x340655(0x18f))](_0x417a7f,_0x550c60),{pointGroup:_0x54ae39}=(_0x506d01=_0x1f6d62[_0x340655(0x403)](_0x4593e8,_0x4b343f))!=null?_0x506d01:{};if(_0x54ae39==null||_0x54ae39[_0x340655(0x1dc)]===0x0)continue;this[_0x340655(0x1a2)](_0x10a7a2,_0x54ae39,_0x40ff0d,_0x2b59dd);}else{if(!_0xdb4752){const {borderBoxPointGroup:_0x3126d7}=_0x3c1ef4[_0x340655(0x403)](_0x4593e8,_0x4b343f);if(_0x3126d7['length']===0x0)continue;this['_drawTextRange'](_0x10a7a2,_0x3126d7,_0x40ff0d,_0x2b59dd);}}}}}[_0x511f53(0x2d2)](_0x51207c,_0x4c725a,_0x5f000f,_0x3ec95f,_0xb3e95a){const _0x2cbf20=_0x511f53,_0x446133=this[_0x2cbf20(0x2b0)](_0x4c725a),{left:_0x4f37f4,top:_0x34dfe1,height:_0x106404}=_0x446133,_0x52c305=this['_getScale'](),_0x1b13bb=It/_0x52c305,_0x2fd333=new p[(_0x2cbf20(0x1df))](re+a['Tools'][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f,'height':_0x106404,'width':dt,'fill':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)]['black'],0x0),'strokeWidth':_0x1b13bb,'stroke':St,'evented':!0x0});this[_0x2cbf20(0x1ae)]=_0x2fd333,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x2fd333,E[_0x2cbf20(0x3fa)]);const _0x40161d=new p[(_0x2cbf20(0x1df))](re+a[_0x2cbf20(0x193)][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f-oe/0x2,'height':oe,'width':oe,'fill':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)][_0x2cbf20(0x200)],0x0),'strokeWidth':0x0,'stroke':_0x51207c||p[_0x2cbf20(0x3f4)](a[_0x2cbf20(0x1a9)][_0x2cbf20(0x200)],0x0),'evented':!0x1});this[_0x2cbf20(0x1d9)]=_0x40161d,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x40161d,E[_0x2cbf20(0x3fa)]);const _0x4c9549=new ee(re+a[_0x2cbf20(0x193)][_0x2cbf20(0x227)](k),{'left':_0x4f37f4+_0x5f000f-_0x1b13bb,'top':_0x34dfe1+_0x3ec95f-K,'text':_0xb3e95a,'color':_0x51207c});this[_0x2cbf20(0x3ea)]=_0x4c9549,this[_0x2cbf20(0x386)][_0x2cbf20(0x280)](_0x4c9549,E[_0x2cbf20(0x3fa)]),this[_0x2cbf20(0x1bf)]=!0x1;}[_0x511f53(0x316)](){const _0x16f442=_0x511f53,_0x23865d=this[_0x16f442(0x1ae)][_0x16f442(0x2b9)][_0x16f442(0x36f)](()=>{const _0xe46e04=_0x16f442;this[_0xe46e04(0x1bf)]=!0x0;}),_0x3dd61f=this[_0x16f442(0x1ae)][_0x16f442(0x383)][_0x16f442(0x36f)](()=>{const _0x4a65ce=_0x16f442;this[_0x4a65ce(0x1f5)]&&clearTimeout(this[_0x4a65ce(0x1f5)]),this[_0x4a65ce(0x1f5)]=setTimeout(()=>{const _0x3ed8eb=_0x4a65ce;this[_0x3ed8eb(0x1bf)]=!0x1;},0x7d0);});return()=>{const _0x446ea2=_0x16f442;_0x23865d[_0x446ea2(0x38b)](),_0x3dd61f[_0x446ea2(0x38b)]();};}[_0x511f53(0x2e1)](_0x405cab,_0x23507a,_0xf7e7f3,_0x36d90d){const _0x419159=_0x511f53,_0x10219f=new a[(_0x419159(0x20b))](_0x405cab)[_0x419159(0x358)](0.2)[_0x419159(0x269)](),_0x2184d7=new p['RegularPolygon'](ht+a[_0x419159(0x193)]['generateRandomId'](k),{'pointsGroup':_0x23507a,'fill':_0x10219f||p[_0x419159(0x3f4)](a['COLORS'][_0x419159(0x200)],0.2),'left':_0xf7e7f3,'top':_0x36d90d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x419159(0x2cb)][_0x419159(0x23b)](_0x2184d7),this['_scene']['addObject'](_0x2184d7,E[_0x419159(0x3fa)]);}['_drawRectRange'](_0x58b314,_0x1a6076,_0x5a92e6,_0x2e7e66){const _0x26f82d=_0x511f53,_0x2cb980=new a[(_0x26f82d(0x20b))](_0x58b314)['setAlpha'](0.2)[_0x26f82d(0x269)](),_0x448ff4=new p[(_0x26f82d(0x32a))](ut+a['Tools'][_0x26f82d(0x227)](k),{'pointsGroup':_0x1a6076,'fill':_0x2cb980||p[_0x26f82d(0x3f4)](a[_0x26f82d(0x1a9)]['black'],0.2),'left':_0x5a92e6,'top':_0x2e7e66,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26f82d(0x2cb)]['push'](_0x448ff4),this[_0x26f82d(0x386)][_0x26f82d(0x280)](_0x448ff4,E[_0x26f82d(0x3fa)]);}[_0x511f53(0x2b0)](_0x1a7a37){const _0xb2dabf=_0x1a7a37[0x0],_0x9eb1dd=_0xb2dabf[0x0],_0x437b7f=_0xb2dabf[0x2],{x:_0x3239da,y:_0x187ca5}=_0x9eb1dd,{x:_0x19563b,y:_0x4b4ebc}=_0x437b7f;return{'left':_0x3239da,'top':_0x187ca5,'width':_0x19563b-_0x3239da,'height':_0x4b4ebc-_0x187ca5};}[_0x511f53(0x2e3)](){const _0x33d7de=_0x511f53,{scaleX:_0x4eb6e5,scaleY:_0x45f64d}=this['_scene'][_0x33d7de(0x38f)]();return Math['max'](_0x4eb6e5,_0x45f64d);}}var ft=Object['getOwnPropertyDescriptor'],vt=(_0x34697d,_0x107358,_0x4cda01,_0x3c8ef6)=>{const _0x2637de=_0x511f53;for(var _0x4a6f24=_0x3c8ef6>0x1?void 0x0:_0x3c8ef6?ft(_0x107358,_0x4cda01):_0x107358,_0x5f00f4=_0x34697d[_0x2637de(0x1dc)]-0x1,_0x15eedf;_0x5f00f4>=0x0;_0x5f00f4--)(_0x15eedf=_0x34697d[_0x5f00f4])&&(_0x4a6f24=_0x15eedf(_0x4a6f24)||_0x4a6f24);return _0x4a6f24;},W=(_0x28ac89,_0x3563d7)=>(_0x175c17,_0x1c43a4)=>_0x3563d7(_0x175c17,_0x1c43a4,_0x28ac89);let fe=class extends a[_0x511f53(0x1e5)]{constructor(_0xd01974,_0x2fdb32,_0x551cc0,_0x14fccb,_0x5d2c26){const _0x4b6b37=_0x511f53;super(),h(this,_0x4b6b37(0x210),[]),h(this,_0x4b6b37(0x17c),[]),(this[_0x4b6b37(0x331)]=_0xd01974,this[_0x4b6b37(0x2e5)]=_0x2fdb32,this[_0x4b6b37(0x181)]=_0x551cc0,this[_0x4b6b37(0x1b9)]=_0x14fccb,this['_themeService']=_0x5d2c26,this[_0x4b6b37(0x3e8)]());}[_0x511f53(0x3e8)](){const _0x55b138=_0x511f53,_0x3b65e6=this[_0x55b138(0x331)][_0x55b138(0x32c)],_0x22a73c=this['_docSkeletonManagerService'];this['disposeWithMe'](d[_0x55b138(0x405)]([this[_0x55b138(0x181)][_0x55b138(0x345)](_0x3b65e6),this[_0x55b138(0x1ef)][_0x55b138(0x275)]])[_0x55b138(0x33d)]($[_0x55b138(0x39e)](([_0x3487fa,_0x5ef893])=>({'skeleton':_0x22a73c[_0x55b138(0x3df)](),'cursors':[..._0x3487fa[_0x55b138(0x38d)]()]['flatMap'](_0xa9eb41=>({..._0xa9eb41,'color':this[_0x55b138(0x1ef)][_0x55b138(0x2b2)](_0xa9eb41[_0x55b138(0x2fd)])}))})))[_0x55b138(0x2d0)](_0x52b52f=>{if(this['_removeCollabCursors'](),_0x52b52f){const {skeleton:_0x5889bf,cursors:_0x480993}=_0x52b52f;this['_updateCollabCursors'](_0x5889bf,_0x480993);}})),this[_0x55b138(0x1ce)](),this[_0x55b138(0x216)]();}[_0x511f53(0x1ad)](_0x52f618,_0x4e9452){const _0x28db0b=_0x511f53,{scene:_0x2997a0,mainComponent:_0x40c846}=this[_0x28db0b(0x331)],_0x4596ce=_0x4e9452[_0x28db0b(0x39e)](_0x3f833c=>new De(_0x3f833c,_0x2997a0,_0x52f618,_0x40c846));this['_cursorShapes']=_0x4596ce,this[_0x28db0b(0x17c)]=_0x4e9452;}[_0x511f53(0x237)](){const _0x4a3e07=_0x511f53;this['_removeCollabCursors']();const {scene:_0x3948c7,mainComponent:_0x6f5761}=this[_0x4a3e07(0x331)],_0x55452d=this['_docSkeletonManagerService']['getSkeleton'](),_0x274fe8=this[_0x4a3e07(0x17c)][_0x4a3e07(0x39e)](_0x4b93fa=>new De(_0x4b93fa,_0x3948c7,_0x55452d,_0x6f5761));this[_0x4a3e07(0x210)]=_0x274fe8;}['_removeCollabCursors'](){const _0x2f1c4b=_0x511f53;this[_0x2f1c4b(0x210)]['forEach'](_0x4cd8db=>_0x4cd8db[_0x2f1c4b(0x23a)]()),this['_cursorShapes']=[];}[_0x511f53(0x216)](){const _0x19947c=_0x511f53,_0xfcefdd=[E[_0x19947c(0x39b)]['id']];this['disposeWithMe'](this[_0x19947c(0x1b9)][_0x19947c(0x32d)](_0xac59a=>{const _0x30598e=_0x19947c;_0xfcefdd[_0x30598e(0x2c2)](_0xac59a['id'])&&_0xac59a[_0x30598e(0x411)][_0x30598e(0x32c)]===this['_context'][_0x30598e(0x32c)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2bd7bb=_0x511f53;this[_0x2bd7bb(0x203)](a[_0x2bd7bb(0x2a3)](this['_context'][_0x2bd7bb(0x2f2)][_0x2bd7bb(0x20c)])[_0x2bd7bb(0x33d)]($[_0x2bd7bb(0x3bf)](_0x2d2cfe=>_0x2d2cfe['type']===p[_0x2bd7bb(0x409)][_0x2bd7bb(0x3e5)]),$[_0x2bd7bb(0x272)](0x10))[_0x2bd7bb(0x2d0)](()=>{this['_refreshCollabCursors']();}));}};fe=vt([W(0x1,a[_0x511f53(0x3be)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x511f53(0x3be)](x)),W(0x3,a[_0x511f53(0x27b)]),W(0x4,a[_0x511f53(0x3be)](a['ThemeService']))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x2bbcfc,_0x5104f3){const _0x9ee1de=_0x511f53;super(_0x2bbcfc,_0x5104f3),h(this,'_color'),h(this,_0x9ee1de(0x366),!0x1),h(this,_0x9ee1de(0x3d1)),h(this,_0x9ee1de(0x25c),''),h(this,_0x9ee1de(0x2a8),_0x9ee1de(0x17d)),h(this,_0x9ee1de(0x390)),(_0x5104f3&&this[_0x9ee1de(0x273)](_0x5104f3),this['onPointerEnter$'][_0x9ee1de(0x36f)](()=>this[_0x9ee1de(0x273)]({'hovered':!0x0})),this['onPointerLeave$'][_0x9ee1de(0x36f)](()=>this[_0x9ee1de(0x273)]({'hovered':!0x1})));}[_0x511f53(0x273)](_0x5e3b35){const _0x35c710=_0x511f53;var _0x2f999c,_0x484a4f,_0x2b7a8e,_0x5d832f,_0x212034,_0x380089;this[_0x35c710(0x1b5)]=(_0x2f999c=_0x5e3b35[_0x35c710(0x2fd)])!=null?_0x2f999c:this['_color'],this[_0x35c710(0x366)]=(_0x484a4f=_0x5e3b35[_0x35c710(0x212)])!=null?_0x484a4f:this[_0x35c710(0x366)],this[_0x35c710(0x3d1)]=(_0x2b7a8e=_0x5e3b35[_0x35c710(0x242)])!=null?_0x2b7a8e:this['_range'],this['_name']=(_0x5d832f=_0x5e3b35[_0x35c710(0x205)])!=null?_0x5d832f:this[_0x35c710(0x25c)],this[_0x35c710(0x2a8)]=(_0x212034=_0x5e3b35['labelPosition'])!=null?_0x212034:this['_labelPosition'],this['_backgroundColor']=(_0x380089=_0x5e3b35[_0x35c710(0x1e0)])!=null?_0x380089:this[_0x35c710(0x390)],this[_0x35c710(0x354)]({'width':_0x5e3b35[_0x35c710(0x302)],'height':_0x5e3b35[_0x35c710(0x1c6)]});}['onMouseMove'](_0x16abfc){const _0x5cfc49=_0x511f53,{row:_0x13bbfe,column:_0xcd4469}=_0x16abfc;if(_0x13bbfe>=this[_0x5cfc49(0x3d1)][_0x5cfc49(0x35f)]&&_0x13bbfe<=this['_range'][_0x5cfc49(0x320)]&&_0xcd4469>=this['_range'][_0x5cfc49(0x2a4)]&&_0xcd4469<=this['_range']['endColumn']){this[_0x5cfc49(0x273)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x511f53(0x2d6)](_0x103778){return!0x1;}[_0x511f53(0x1db)](_0x38f9a7){const _0x1f0fde=_0x511f53;p[_0x1f0fde(0x1df)][_0x1f0fde(0x188)](_0x38f9a7,{'width':this['width'],'height':this[_0x1f0fde(0x1c6)],'strokeWidth':mt,'stroke':this[_0x1f0fde(0x1b5)],'evented':!0x1,'fill':this[_0x1f0fde(0x390)]}),this['_hovered']&&(_0x38f9a7['save'](),_0x38f9a7[_0x1f0fde(0x295)](0x1,0x0,0x0,0x1,this['width'],this[_0x1f0fde(0x2a8)]==='bottom'?0x0:-0x14),ee[_0x1f0fde(0x188)](_0x38f9a7,{'text':this[_0x1f0fde(0x25c)],'color':this['_color']}),_0x38f9a7[_0x1f0fde(0x3f9)]());}}var Ct=Object[_0x511f53(0x1d6)],pt=(_0x41b24b,_0x551161,_0x551686,_0x1b9c86)=>{const _0x1fb754=_0x511f53;for(var _0x2682ff=_0x1b9c86>0x1?void 0x0:_0x1b9c86?Ct(_0x551161,_0x551686):_0x551161,_0x474a65=_0x41b24b[_0x1fb754(0x1dc)]-0x1,_0x365742;_0x474a65>=0x0;_0x474a65--)(_0x365742=_0x41b24b[_0x474a65])&&(_0x2682ff=_0x365742(_0x2682ff)||_0x2682ff);return _0x2682ff;},ae=(_0x2264c0,_0x19e3a2)=>(_0x15d9c8,_0xa60581)=>_0x19e3a2(_0x15d9c8,_0xa60581,_0x2264c0);const Et=0x1389;let ve=class extends a[_0x511f53(0x1e5)]{constructor(_0x505ed1,_0x2d33c3,_0x919c6d,_0x4c292f){const _0x345be0=_0x511f53;super(),h(this,_0x345be0(0x17c),new Set()),h(this,_0x345be0(0x199),null),(this[_0x345be0(0x331)]=_0x505ed1,this[_0x345be0(0x344)]=_0x2d33c3,this['_collabCursorController']=_0x919c6d,this[_0x345be0(0x1ef)]=_0x4c292f,this[_0x345be0(0x3e8)]());}['_init'](){const _0x1883d6=_0x511f53;this[_0x1883d6(0x344)]['currentSkeleton$'][_0x1883d6(0x33d)]($[_0x1883d6(0x207)](this[_0x1883d6(0x1cb)]),$[_0x1883d6(0x258)](_0x14234f=>{const _0x6cfed5=_0x1883d6;if(_0x14234f){const _0x401e5f=_0x14234f[_0x6cfed5(0x332)];return d['combineLatest'](this[_0x6cfed5(0x181)][_0x6cfed5(0x345)](this[_0x6cfed5(0x331)][_0x6cfed5(0x32c)]),this['_themeService'][_0x6cfed5(0x275)])[_0x6cfed5(0x33d)]($[_0x6cfed5(0x39e)](([_0x5e28ea,_0x55c6d7])=>{const _0x1b06e2=_0x6cfed5,_0x1f0486=new Map();return _0x5e28ea[_0x1b06e2(0x29b)]((_0x4889e3,_0xa58a7c)=>{const _0x45c199=_0x1b06e2;if(_0x4889e3[_0x45c199(0x286)]===_0x401e5f){const _0xbff486={..._0x4889e3};_0xbff486[_0x45c199(0x2fd)]=this['_themeService'][_0x45c199(0x2b2)](_0x4889e3[_0x45c199(0x2fd)]),_0x1f0486[_0x45c199(0x3c7)](_0xa58a7c,_0xbff486);}}),{'skeleton':_0x14234f,'cursors':_0x1f0486};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1883d6(0x2d0)](({skeleton:_0x325c87,cursors:_0x3d4f45})=>{const _0x176775=_0x1883d6;this[_0x176775(0x1e9)](),_0x325c87&&this['_updateCollabCursors'](_0x325c87,_0x3d4f45);}),this[_0x1883d6(0x344)][_0x1883d6(0x3ef)][_0x1883d6(0x2d0)](_0x2c8280=>{const _0x52b052=_0x1883d6;if(_0x2c8280==null)return;const {skeleton:_0x45f729}=_0x2c8280,{scene:_0x3f8277}=this['_context'];_0x3f8277[_0x52b052(0x351)][_0x52b052(0x36f)](a['debounce'](_0xa69e0c=>{const _0x2476cb=_0x52b052;var _0x29d842,_0x4b32b7;const {offsetX:_0x370dc7,offsetY:_0x5104ba}=_0xa69e0c,{x:_0x29c9ad,y:_0x2ea913}=_0x3f8277[_0x2476cb(0x396)](p[_0x2476cb(0x1a1)][_0x2476cb(0x3c3)]([_0x370dc7,_0x5104ba])),{scaleX:_0x58aa2f,scaleY:_0x5ae0bd}=_0x3f8277[_0x2476cb(0x38f)](),_0x4822b6=_0x3f8277[_0x2476cb(0x389)](p[_0x2476cb(0x197)][_0x2476cb(0x1f7)]),_0x4dcf74=_0x3f8277[_0x2476cb(0x3d9)](p['Vector2'][_0x2476cb(0x3c3)]([_0x29c9ad,_0x2ea913]),_0x4822b6),_0x133c48=_0x45f729[_0x2476cb(0x224)](_0x370dc7,_0x5104ba,_0x58aa2f,_0x5ae0bd,_0x4dcf74);((_0x29d842=this[_0x2476cb(0x199)])==null?void 0x0:_0x29d842[_0x2476cb(0x22e)])===_0x133c48['column']&&((_0x4b32b7=this[_0x2476cb(0x199)])==null?void 0x0:_0x4b32b7['row'])===_0x133c48[_0x2476cb(0x2e2)]||this['_cursors'][_0x2476cb(0x29b)](_0xdd5af2=>{const _0x33beb2=_0x2476cb;_0xdd5af2[_0x33beb2(0x35d)](_0x133c48);});},0x64));});}[_0x511f53(0x1ad)](_0x1da7ae,_0x54d606){const _0x47ed59=_0x511f53;var _0x3aacf8;const _0x177c23=(_0x3aacf8=this[_0x47ed59(0x344)]['getCurrent']())==null?void 0x0:_0x3aacf8[_0x47ed59(0x394)];if(!_0x177c23)return;const _0x1402cf=this['_getSheetObject']();if(!_0x1402cf)return;this[_0x47ed59(0x17c)][_0x47ed59(0x29b)](_0x5c35f6=>{const _0x4fe907=_0x47ed59;_0x5c35f6[_0x4fe907(0x3dd)]();});const {scene:_0x5596ee}=_0x1402cf,_0x15824b=bt(Array['from'](_0x54d606[_0x47ed59(0x38d)]()))[_0x47ed59(0x39e)](_0x1d376e=>{const _0x1a4503=_0x47ed59,{color:_0x330aae,range:_0x263d70,name:_0x10e803,selection:_0x585a81,sheetID:_0x506bfd}=_0x1d376e,{startColumn:_0x4ea88a,startRow:_0x776108,endColumn:_0x3f357c,endRow:_0x3192db}=_0x263d70,_0xf0f02a=X['getCoordByCell'](_0x776108,_0x4ea88a,_0x5596ee,_0x177c23),_0x1df43f=X[_0x1a4503(0x2c5)](_0x3192db,_0x3f357c,_0x5596ee,_0x177c23),{columnHeaderHeightAndMarginTop:_0x57bd02}=_0x177c23,{startX:_0x6c40b4,startY:_0x5ee47e}=_0xf0f02a,{endX:_0x5df502,endY:_0x1e2d71}=_0x1df43f,_0x2e9ad1=_0x5df502-_0x6c40b4,_0x2eed52=_0x1e2d71-_0x5ee47e,_0x1e1aec={'labelPosition':_0x5ee47e-_0x57bd02>=K?_0x1a4503(0x17d):'bottom','sheetID':_0x506bfd,'range':_0x263d70,'color':_0x330aae,'name':_0x10e803,'selection':_0x585a81,'left':_0x6c40b4,'top':_0x5ee47e,'width':_0x2e9ad1,'height':_0x2eed52,'evented':!0x1,'zIndex':Et};return new we(_0x10e803,_0x1e1aec);});_0x5596ee[_0x47ed59(0x217)](_0x15824b,gt),this[_0x47ed59(0x17c)]=new Set(_0x15824b);}[_0x511f53(0x1e9)](){const _0x182e71=_0x511f53;var _0x210d92;(_0x210d92=this[_0x182e71(0x17c)])==null||_0x210d92[_0x182e71(0x29b)](_0x495505=>_0x495505['dispose']());}[_0x511f53(0x20d)](){const _0x2f19b7=_0x511f53;return X[_0x2f19b7(0x25b)](this[_0x2f19b7(0x331)][_0x2f19b7(0x1fa)],this[_0x2f19b7(0x331)]);}};ve=pt([ae(0x1,a[_0x511f53(0x3be)](X[_0x511f53(0x330)])),ae(0x2,a[_0x511f53(0x3be)](x)),ae(0x3,a[_0x511f53(0x3be)](a[_0x511f53(0x40d)]))],ve);function bt(_0x22cf44){const _0x27036c=_0x511f53,_0x11e0e2=new Map();return _0x22cf44['forEach'](_0x39aff7=>{const _0x589505=_0x543b;if(_0x11e0e2[_0x589505(0x2bd)](_0x39aff7[_0x589505(0x314)])){const _0x57f188=_0x11e0e2[_0x589505(0x21f)](_0x39aff7[_0x589505(0x314)]);_0x57f188[_0x589505(0x205)]+=',\x20'+_0x39aff7['name'];}else _0x11e0e2[_0x589505(0x3c7)](_0x39aff7[_0x589505(0x314)],_0x39aff7);}),Array[_0x27036c(0x19a)](_0x11e0e2[_0x27036c(0x38d)]());}var b=function(){const _0x5662fa=_0x511f53;return b=Object[_0x5662fa(0x19c)]||function(_0x5bec1e){const _0x4daa3b=_0x5662fa;for(var _0x3eb45d,_0x163270=0x1,_0x60ab92=arguments[_0x4daa3b(0x1dc)];_0x163270<_0x60ab92;_0x163270++){_0x3eb45d=arguments[_0x163270];for(var _0x5751f3 in _0x3eb45d)Object['prototype']['hasOwnProperty'][_0x4daa3b(0x1d1)](_0x3eb45d,_0x5751f3)&&(_0x5bec1e[_0x5751f3]=_0x3eb45d[_0x5751f3]);}return _0x5bec1e;},b[_0x5662fa(0x367)](this,arguments);},Ot=function(_0x46479e,_0xd3fd3f){const _0x6a16e3=_0x511f53;var _0x3eea59={};for(var _0x26850e in _0x46479e)Object[_0x6a16e3(0x3db)][_0x6a16e3(0x29d)][_0x6a16e3(0x1d1)](_0x46479e,_0x26850e)&&_0xd3fd3f[_0x6a16e3(0x18a)](_0x26850e)<0x0&&(_0x3eea59[_0x26850e]=_0x46479e[_0x26850e]);if(_0x46479e!=null&&typeof Object[_0x6a16e3(0x2f0)]==_0x6a16e3(0x34d)){for(var _0x4115c9=0x0,_0x26850e=Object[_0x6a16e3(0x2f0)](_0x46479e);_0x4115c9<_0x26850e[_0x6a16e3(0x1dc)];_0x4115c9++)_0xd3fd3f['indexOf'](_0x26850e[_0x4115c9])<0x0&&Object[_0x6a16e3(0x3db)][_0x6a16e3(0x2a5)]['call'](_0x46479e,_0x26850e[_0x4115c9])&&(_0x3eea59[_0x26850e[_0x4115c9]]=_0x46479e[_0x26850e[_0x4115c9]]);}return _0x3eea59;},pe=M[_0x511f53(0x194)](function(_0x5ed3d1,_0x1646cb){const _0x27f527=_0x511f53;var _0x1f9f9c=_0x5ed3d1[_0x27f527(0x3a9)],_0x21541a=_0x5ed3d1['id'],_0x2726b1=_0x5ed3d1[_0x27f527(0x379)],_0x38fc8c=_0x5ed3d1[_0x27f527(0x37c)],_0x46adba=Ot(_0x5ed3d1,[_0x27f527(0x3a9),'id',_0x27f527(0x379),_0x27f527(0x37c)]),_0x118ad2=_0x27f527(0x2d9)[_0x27f527(0x34b)](_0x21541a,'\x20')[_0x27f527(0x34b)](_0x2726b1||'')[_0x27f527(0x282)](),_0x484424=M['useRef']('_'[_0x27f527(0x34b)](Dt()));return Ae(_0x1f9f9c,''[_0x27f527(0x34b)](_0x21541a),{'defIds':_0x1f9f9c[_0x27f527(0x1ff)],'idSuffix':_0x484424[_0x27f527(0x2cd)]},b({'ref':_0x1646cb,'className':_0x118ad2},_0x46adba),_0x38fc8c);});function Ae(_0x15a15a,_0x2adf22,_0x35a1c9,_0x449e94,_0x78fef2){const _0x6692db=_0x511f53;return M['createElement'](_0x15a15a[_0x6692db(0x305)],b(b({'key':_0x2adf22},Tt(_0x15a15a,_0x35a1c9,_0x78fef2)),_0x449e94),(Rt(_0x15a15a,_0x35a1c9)[_0x6692db(0x2ca)]||[])[_0x6692db(0x39e)](function(_0x145389,_0x180861){const _0x3db124=_0x6692db;return Ae(_0x145389,''[_0x3db124(0x34b)](_0x2adf22,'-')['concat'](_0x15a15a[_0x3db124(0x305)],'-')[_0x3db124(0x34b)](_0x180861),_0x35a1c9,void 0x0,_0x78fef2);}));}function Tt(_0x197998,_0xb20195,_0x1962de){const _0x45cc65=_0x511f53;var _0x59656b=b({},_0x197998['attrs']);_0x1962de!=null&&_0x1962de[_0x45cc65(0x22d)]&&_0x59656b['fill']==='colorChannel1'&&(_0x59656b[_0x45cc65(0x243)]=_0x1962de['colorChannel1']),_0x197998[_0x45cc65(0x305)]===_0x45cc65(0x198)&&_0x59656b['id']&&(_0x59656b['id']=_0x59656b['id']+_0xb20195[_0x45cc65(0x3ad)]),Object[_0x45cc65(0x355)](_0x59656b)[_0x45cc65(0x29b)](function(_0x110d94){const _0x53f7d1=_0x45cc65;var _0x2cd014=_0x110d94[0x0],_0x1bc4ba=_0x110d94[0x1];_0x2cd014===_0x53f7d1(0x198)&&typeof _0x1bc4ba=='string'&&(_0x59656b[_0x2cd014]=_0x1bc4ba['replace'](/url\(#(.*)\)/,'url(#$1'[_0x53f7d1(0x34b)](_0xb20195['idSuffix'],')')));});var _0x422fae=_0xb20195[_0x45cc65(0x1ff)];return!_0x422fae||_0x422fae['length']===0x0||(_0x197998['tag']===_0x45cc65(0x1a6)&&_0x59656b['xlink:href']&&(_0x59656b[_0x45cc65(0x23c)]=_0x59656b[_0x45cc65(0x23c)]+_0xb20195[_0x45cc65(0x3ad)]),Object[_0x45cc65(0x355)](_0x59656b)[_0x45cc65(0x29b)](function(_0x5d109f){const _0x39a4d8=_0x45cc65;var _0x988fe4=_0x5d109f[0x0],_0x2c3849=_0x5d109f[0x1];typeof _0x2c3849==_0x39a4d8(0x240)&&(_0x59656b[_0x988fe4]=_0x2c3849['replace'](/url\(#(.*)\)/,_0x39a4d8(0x368)[_0x39a4d8(0x34b)](_0xb20195[_0x39a4d8(0x3ad)],')')));})),_0x59656b;}function Rt(_0x3307e2,_0x59aacd){const _0x3f7058=_0x511f53;var _0x30903c,_0x1ef5fe=_0x59aacd[_0x3f7058(0x1ff)];return!_0x1ef5fe||_0x1ef5fe[_0x3f7058(0x1dc)]===0x0?_0x3307e2:_0x3307e2[_0x3f7058(0x305)]===_0x3f7058(0x1d3)&&(!((_0x30903c=_0x3307e2[_0x3f7058(0x2ca)])===null||_0x30903c===void 0x0)&&_0x30903c[_0x3f7058(0x1dc)])?b(b({},_0x3307e2),{'children':_0x3307e2[_0x3f7058(0x2ca)][_0x3f7058(0x39e)](function(_0x393ebd){const _0x26c00a=_0x3f7058;return typeof _0x393ebd['attrs']['id']==_0x26c00a(0x240)&&_0x1ef5fe&&_0x1ef5fe[_0x26c00a(0x2c2)](_0x393ebd[_0x26c00a(0x301)]['id'])?b(b({},_0x393ebd),{'attrs':b(b({},_0x393ebd[_0x26c00a(0x301)]),{'id':_0x393ebd[_0x26c00a(0x301)]['id']+_0x59aacd[_0x26c00a(0x3ad)]})}):_0x393ebd;})}):_0x3307e2;}function Dt(){const _0x11fe7d=_0x511f53;return Math['random']()[_0x11fe7d(0x312)](0x24)['substring'](0x2,0x8);}pe['displayName']=_0x511f53(0x2d3);var Ut={'tag':_0x511f53(0x21d),'attrs':{'xmlns':_0x511f53(0x3ca),'fill':_0x511f53(0x363),'viewBox':_0x511f53(0x40b),'width':'1em','height':_0x511f53(0x260)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'stroke':_0x511f53(0x232),'d':_0x511f53(0x382),'strokeLinecap':_0x511f53(0x1cc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x511f53(0x1d3),'attrs':{},'children':[{'tag':_0x511f53(0x2fb),'attrs':{'id':_0x511f53(0x2ee)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'fill':_0x511f53(0x267),'d':_0x511f53(0x2f9)}}]}]}],'defIds':[_0x511f53(0x2ee)]},ye=M['forwardRef'](function(_0x3ab75b,_0x43d379){const _0x4ddcd2=_0x511f53;return M['createElement'](pe,Object['assign']({},_0x3ab75b,{'id':_0x4ddcd2(0x2e7),'ref':_0x43d379,'icon':Ut}));});ye[_0x511f53(0x392)]=_0x511f53(0x334);var Nt={'tag':'svg','attrs':{'xmlns':_0x511f53(0x3ca),'fill':_0x511f53(0x363),'viewBox':_0x511f53(0x252),'width':'1em','height':_0x511f53(0x260)},'children':[{'tag':'g','attrs':{'clipPath':_0x511f53(0x2eb)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'stroke':'currentColor','d':_0x511f53(0x311),'strokeLinecap':_0x511f53(0x1cc),'strokeLinejoin':_0x511f53(0x1cc),'strokeWidth':1.2}}]},{'tag':_0x511f53(0x1d3),'attrs':{},'children':[{'tag':_0x511f53(0x2fb),'attrs':{'id':_0x511f53(0x3cb)},'children':[{'tag':_0x511f53(0x3a2),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x511f53(0x1fc)}}]}]}],'defIds':[_0x511f53(0x3cb)]},$e=M[_0x511f53(0x194)](function(_0x1d28de,_0x424c58){const _0x235f06=_0x511f53;return M[_0x235f06(0x2f1)](pe,Object[_0x235f06(0x19c)]({},_0x1d28de,{'id':_0x235f06(0x1c4),'ref':_0x424c58,'icon':Nt}));});function _0x543b(_0x1e8d4e,_0x4b289a){const _0x5a220a=_0x5a22();return _0x543b=function(_0x543b7b,_0x3ba0d1){_0x543b7b=_0x543b7b-0x17c;let _0xf47f78=_0x5a220a[_0x543b7b];return _0xf47f78;},_0x543b(_0x1e8d4e,_0x4b289a);}$e[_0x511f53(0x392)]=_0x511f53(0x206);function Mt(_0x6e7e08){const _0x47b8a0=_0x511f53;switch(_0x6e7e08){case u[_0x47b8a0(0x192)]['OFFLINE']:return _0x47b8a0(0x373);case u['CollaborationStatus'][_0x47b8a0(0x35c)]:return _0x47b8a0(0x364);case u['CollaborationStatus'][_0x47b8a0(0x2c0)]:return _0x47b8a0(0x339);case u[_0x47b8a0(0x192)][_0x47b8a0(0x2c7)]:return _0x47b8a0(0x230);case u[_0x47b8a0(0x192)][_0x47b8a0(0x3c0)]:case u[_0x47b8a0(0x192)][_0x47b8a0(0x2e0)]:return _0x47b8a0(0x374);case u[_0x47b8a0(0x192)][_0x47b8a0(0x31c)]:case u[_0x47b8a0(0x192)][_0x47b8a0(0x1e6)]:return _0x47b8a0(0x292);}}function xe(_0x46dc3d){const _0x100a06=_0x511f53,{status$:_0x126edd}=_0x46dc3d,_0x11f225=O['useObservable'](_0x126edd,u[_0x100a06(0x192)][_0x100a06(0x2c7)]),_0x4eb1cb=O[_0x100a06(0x281)](a['LocaleService']),_0x10b7a7=O[_0x100a06(0x281)](u[_0x100a06(0x3e0)]),_0x487144=_0x11f225!==u[_0x100a06(0x192)][_0x100a06(0x244)],_0x2dbc6e=_0x4eb1cb['t'](Mt(_0x11f225)),_0x5735c2=_0x487144?P[_0x100a06(0x36c)]($e,{}):P[_0x100a06(0x36c)](ye,{}),_0x3d9886=M['useCallback'](()=>{const _0x4dbdb1=_0x100a06;_0x487144||_0x10b7a7[_0x4dbdb1(0x371)]();},[_0x487144,_0x10b7a7]);function _0x3474cd(){const _0x286d5f=_0x100a06;return P['jsxs'](_0x286d5f(0x182),{'className':_0x286d5f(0x1c7),'onClick':_0x3d9886,'children':[P['jsx'](_0x286d5f(0x182),{'className':D[_0x286d5f(0x289)](_0x286d5f(0x1fd),{'univer-text-green-500':_0x487144,'univer-text-red-500':!_0x487144}),'children':_0x5735c2}),P['jsx'](_0x286d5f(0x182),{'className':_0x286d5f(0x1f9),'children':_0x2dbc6e})]});}return _0x487144?_0x3474cd():P['jsx'](D['Tooltip'],{'title':_0x4eb1cb['t'](_0x100a06(0x21b)),'children':_0x3474cd()});}var Lt=Object[_0x511f53(0x1d6)],Pt=(_0x1f5839,_0x617db4,_0xef89c3,_0x21410e)=>{for(var _0x42a3b3=_0x21410e>0x1?void 0x0:_0x21410e?Lt(_0x617db4,_0xef89c3):_0x617db4,_0x4ed017=_0x1f5839['length']-0x1,_0x265b95;_0x4ed017>=0x0;_0x4ed017--)(_0x265b95=_0x1f5839[_0x4ed017])&&(_0x42a3b3=_0x265b95(_0x42a3b3)||_0x42a3b3);return _0x42a3b3;},V=(_0xab9048,_0x285fff)=>(_0x17244c,_0x4fb641)=>_0x285fff(_0x17244c,_0x4fb641,_0xab9048);exports[_0x511f53(0x2bb)]=class extends a[_0x511f53(0x22b)]{constructor(_0x4dfb79,_0x5bd9ee,_0x45fbd3,_0x4ba1de){const _0x8f4362=_0x511f53;super(),h(this,_0x8f4362(0x3aa),new d[(_0x8f4362(0x263))](u[_0x8f4362(0x192)]['NOT_COLLAB'])),(this[_0x8f4362(0x1d5)]=_0x4dfb79,this[_0x8f4362(0x32e)]=_0x5bd9ee,this[_0x8f4362(0x250)]=_0x45fbd3,this['_uiPartsService']=_0x4ba1de,this[_0x8f4362(0x3c2)](),this[_0x8f4362(0x1f3)]());}['_initStatusListener'](){const _0x3f18d7=_0x511f53;this[_0x3f18d7(0x203)](this['_univerInstanceService'][_0x3f18d7(0x183)]['pipe'](d[_0x3f18d7(0x258)](()=>{const _0x5b9042=_0x3f18d7,_0x540955=this['_univerInstanceService'][_0x5b9042(0x1f1)]();return _0x540955?this[_0x5b9042(0x250)]['getCollabEntity$'](_0x540955[_0x5b9042(0x22f)]()):d['of'](null);}),d[_0x3f18d7(0x258)](_0x3d3292=>_0x3d3292?_0x3d3292['status$']:d['of'](u[_0x3f18d7(0x192)][_0x3f18d7(0x2c7)])))[_0x3f18d7(0x2d0)](_0x39248a=>{const _0x51e323=_0x3f18d7;this[_0x51e323(0x3aa)][_0x51e323(0x262)](_0x39248a);}));}['_initStatusComponent'](){const _0x2d1381=_0x511f53;this['disposeWithMe'](this[_0x2d1381(0x2a9)][_0x2d1381(0x2af)](O[_0x2d1381(0x39d)]['HEADER_MENU'],()=>O[_0x2d1381(0x1a3)](wt({'status$':this[_0x2d1381(0x3aa)][_0x2d1381(0x3bc)]()}),this[_0x2d1381(0x32e)])));}},exports[_0x511f53(0x2bb)]=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x511f53(0x3be)](a['Injector'])),V(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x376)])),V(0x3,O[_0x511f53(0x38e)])],exports[_0x511f53(0x2bb)]);function wt(_0x1e84e2){const {status$:_0x961241}=_0x1e84e2;return function(){const _0x56f063=_0x543b;return P[_0x56f063(0x36c)](xe,{'status$':_0x961241});};}var At=Object[_0x511f53(0x1d6)],yt=(_0x293ca2,_0x139def,_0x3870d8,_0x2982e2)=>{const _0x46f1d1=_0x511f53;for(var _0x4613ff=_0x2982e2>0x1?void 0x0:_0x2982e2?At(_0x139def,_0x3870d8):_0x139def,_0x19212b=_0x293ca2[_0x46f1d1(0x1dc)]-0x1,_0x402424;_0x19212b>=0x0;_0x19212b--)(_0x402424=_0x293ca2[_0x19212b])&&(_0x4613ff=_0x402424(_0x4613ff)||_0x4613ff);return _0x4613ff;},y=(_0x4e3f7e,_0x163216)=>(_0x113c0c,_0x42f499)=>_0x163216(_0x113c0c,_0x42f499,_0x4e3f7e);let q=class extends a[_0x511f53(0x22b)]{constructor(_0xf8c4f1,_0x429744,_0xc9815b,_0xd22f1a,_0x2bca34,_0x5346ca){const _0x294162=_0x511f53;super(),this[_0x294162(0x3c8)]=_0xf8c4f1,this[_0x294162(0x1d0)]=_0x429744,this[_0x294162(0x1f2)]=_0xc9815b,this[_0x294162(0x2ba)]=_0xd22f1a,this[_0x294162(0x299)]=_0x2bca34,this[_0x294162(0x290)]=_0x5346ca,this[_0x294162(0x249)](),this[_0x294162(0x30c)]();}[_0x511f53(0x249)](){const _0xb9ed35=_0x511f53;this[_0xb9ed35(0x203)](this[_0xb9ed35(0x3c8)][_0xb9ed35(0x38a)](()=>{const _0x41015d=_0xb9ed35;if(this[_0x41015d(0x1d0)][_0x41015d(0x248)][_0x41015d(0x17e)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x511f53(0x30c)](){const _0x59cd32=_0x511f53;this['disposeWithMe'](this[_0x59cd32(0x1f2)]['event$']['subscribe'](_0x164c85=>{const _0x305c96=_0x59cd32;_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x35b)]&&this[_0x305c96(0x2ba)]['show']({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x2ac))}),_0x164c85['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x223))}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x2ec)]&&this[_0x305c96(0x299)][_0x305c96(0x225)]({'title':this[_0x305c96(0x290)]['t'](_0x305c96(0x1f8)),'content':this[_0x305c96(0x290)]['t']('permission.content'),'type':_0x305c96(0x1bc),'duration':0x0}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x35c)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)]['Error'],'content':this['_localeService']['t'](_0x305c96(0x223))+'('+_0x164c85[_0x305c96(0x278)]+')'}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x29a)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this['_localeService']['t'](_0x164c85['data']||'')}),_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x24e)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1c8)],'content':this['_localeService']['t'](_0x305c96(0x3ed))}),_0x164c85['id']===u[_0x305c96(0x356)][_0x305c96(0x335)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)]['Error'],'content':this['_localeService']['t'](_0x305c96(0x3b4))}),_0x164c85['id']===u['CollaborationUIEventId'][_0x305c96(0x34c)]&&this[_0x305c96(0x2ba)][_0x305c96(0x225)]({'type':D[_0x305c96(0x2f3)][_0x305c96(0x1bb)],'content':this[_0x305c96(0x290)]['t'](_0x305c96(0x2b3))});}));}};q=yt([y(0x0,O[_0x511f53(0x1e2)]),y(0x1,u[_0x511f53(0x328)]),y(0x2,a[_0x511f53(0x3be)](u[_0x511f53(0x3cd)])),y(0x3,O[_0x511f53(0x1d4)]),y(0x4,O['INotificationService']),y(0x5,a[_0x511f53(0x3be)](a[_0x511f53(0x349)]))],q);const $t=_0x511f53(0x3bb),Ue={},Ee=a[_0x511f53(0x39c)](_0x511f53(0x2ad));var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x275a67,_0xbc14c0,_0xd79701,_0x43cf1b)=>{const _0x24db01=_0x511f53;for(var _0x1762ab=_0x43cf1b>0x1?void 0x0:_0x43cf1b?xt(_0xbc14c0,_0xd79701):_0xbc14c0,_0xb887ae=_0x275a67[_0x24db01(0x1dc)]-0x1,_0x236939;_0xb887ae>=0x0;_0xb887ae--)(_0x236939=_0x275a67[_0xb887ae])&&(_0x1762ab=_0x236939(_0x1762ab)||_0x1762ab);return _0x1762ab;},F=(_0x1a8ed4,_0x4e5493)=>(_0x4eed2e,_0x43a5fd)=>_0x4e5493(_0x4eed2e,_0x43a5fd,_0x1a8ed4);exports[_0x511f53(0x3a1)]=class extends a[_0x511f53(0x1e5)]{constructor(_0x387474,_0x41c359,_0x51298c,_0x370535,_0x3f5007){const _0x53a2be=_0x511f53;super(),this[_0x53a2be(0x2de)]=_0x387474,this['_logService']=_0x41c359,this[_0x53a2be(0x1b9)]=_0x51298c,this[_0x53a2be(0x2e8)]=_0x370535,_0x3f5007?_0x3f5007==null||_0x3f5007['whenReady']()[_0x53a2be(0x36e)](()=>this['_init']()):(this['_logService'][_0x53a2be(0x407)](_0x53a2be(0x1c5),_0x53a2be(0x3a6)),this['_init']());}async['_init'](){const _0x10d87e=_0x511f53,_0x172aab=this[_0x10d87e(0x2de)][_0x10d87e(0x1b1)](_0x10d87e(0x1fa)),_0x29eb56=this[_0x10d87e(0x2de)]['getParam']('type'),_0xb31584=this['_urlService'][_0x10d87e(0x1b1)](_0x10d87e(0x39a));if(!_0x172aab||!_0x29eb56){this[_0x10d87e(0x406)][_0x10d87e(0x407)]('[CollaborationDataLoaderController]',_0x10d87e(0x1d7));return;}const _0x35fba0=await this[_0x10d87e(0x2e8)][_0x10d87e(0x40f)](_0x172aab,Number(_0x29eb56),_0xb31584);_0x35fba0&&_0x35fba0 instanceof a[_0x10d87e(0x247)]&&this[_0x10d87e(0x253)](_0x35fba0);}async[_0x511f53(0x253)](_0x42b14b){const _0xfee848=_0x511f53;await this['_updateSubUnitFromURLParams'](_0x42b14b),_0x42b14b[_0xfee848(0x313)][_0xfee848(0x33d)](d[_0xfee848(0x207)](this['dispose$']))[_0xfee848(0x2d0)](_0x12951f=>{const _0x41c137=_0xfee848;_0x12951f&&this[_0x41c137(0x21c)](_0x12951f);}),this[_0xfee848(0x2de)][_0xfee848(0x24c)][_0xfee848(0x33d)](d[_0xfee848(0x207)](this[_0xfee848(0x1cb)]))[_0xfee848(0x2d0)](()=>this[_0xfee848(0x3fe)](_0x42b14b));}[_0x511f53(0x21c)](_0xf40192,_0x3f5af6=!0x1){const _0x383cc6=_0x511f53,_0x5a8a7d=this[_0x383cc6(0x2de)][_0x383cc6(0x1b1)](_0x383cc6(0x39a));_0xf40192[_0x383cc6(0x365)]()!==_0x5a8a7d&&this[_0x383cc6(0x2de)][_0x383cc6(0x303)]('subunit',_0xf40192[_0x383cc6(0x365)](),_0x3f5af6);}async[_0x511f53(0x3fe)](_0x116855){const _0xebeeb8=_0x511f53;var _0x1963c5;const _0x50b8e2=this[_0xebeeb8(0x2de)][_0xebeeb8(0x1b1)](_0xebeeb8(0x39a));if(!_0x50b8e2||!_0x116855[_0xebeeb8(0x359)](_0x50b8e2)){const _0x2bda0d=_0x116855[_0xebeeb8(0x1ac)]()[0x0],_0x357981=_0x116855[_0xebeeb8(0x359)](_0x2bda0d);if(!_0x357981)return;this['_updateURLWithCurrentState'](_0x357981,!0x0),await this[_0xebeeb8(0x1b9)][_0xebeeb8(0x372)](g[_0xebeeb8(0x1d2)]['id'],{'unitId':_0x116855[_0xebeeb8(0x22f)](),'subUnitId':_0x2bda0d});return;}((_0x1963c5=_0x116855[_0xebeeb8(0x308)]())==null?void 0x0:_0x1963c5[_0xebeeb8(0x365)]())!==_0x50b8e2&&await this['_commandService']['executeCommand'](g[_0xebeeb8(0x1d2)]['id'],{'unitId':_0x116855[_0xebeeb8(0x22f)](),'subUnitId':_0x50b8e2});}},exports[_0x511f53(0x3a1)]=Bt([F(0x0,Ee),F(0x1,a[_0x511f53(0x3c9)]),F(0x2,a[_0x511f53(0x27b)]),F(0x3,a['Inject'](u['DataLoaderService'])),F(0x4,a[_0x511f53(0x235)](Ke[_0x511f53(0x3d5)]))],exports[_0x511f53(0x3a1)]);var jt=Object[_0x511f53(0x1d6)],kt=(_0x29bd52,_0x1cedcb,_0x3c13c8,_0x23f6ab)=>{const _0x5a2d5b=_0x511f53;for(var _0x3f9651=_0x23f6ab>0x1?void 0x0:_0x23f6ab?jt(_0x1cedcb,_0x3c13c8):_0x1cedcb,_0x1735bc=_0x29bd52[_0x5a2d5b(0x1dc)]-0x1,_0x5c6f37;_0x1735bc>=0x0;_0x1735bc--)(_0x5c6f37=_0x29bd52[_0x1735bc])&&(_0x3f9651=_0x5c6f37(_0x3f9651)||_0x3f9651);return _0x3f9651;},ce=(_0x47a39b,_0x28e757)=>(_0x27d656,_0xb4fb00)=>_0x28e757(_0x27d656,_0xb4fb00,_0x47a39b);let z=class{constructor(_0x5d77e3,_0x24ad47,_0x5595a0){const _0x2beb0b=_0x511f53;this[_0x2beb0b(0x32e)]=_0x5d77e3,this[_0x2beb0b(0x2b4)]=_0x24ad47,this[_0x2beb0b(0x201)]=_0x5595a0;}[_0x511f53(0x28f)](_0x38f35b){const _0x5cfa95=_0x511f53;this['_transformUndoRedoStack'](_0x38f35b),this[_0x5cfa95(0x2cf)](_0x38f35b);}[_0x511f53(0x323)](_0x3ff248){const _0x5023d5=_0x511f53,{unitID:_0x256ae4}=_0x3ff248,_0x42c75e=this[_0x5023d5(0x201)][_0x5023d5(0x309)](_0x256ae4)[_0x5023d5(0x1c1)](E[_0x5023d5(0x34a)]),{redoCache:_0x4c52fe}=_0x42c75e[_0x5023d5(0x2df)]();if(_0x4c52fe[_0x5023d5(0x1dc)]===0x0)return _0x3ff248;let _0x51117f=a[_0x5023d5(0x193)]['deepClone'](_0x3ff248['mutations'][0x0]);for(let _0x2e00a4=0x0;_0x2e00a4<_0x4c52fe[_0x5023d5(0x1dc)];_0x2e00a4++){const _0x31517f={'id':_0x5023d5(0x2f4),'params':{..._0x4c52fe[_0x2e00a4]}},_0x339716=this['_transformService'][_0x5023d5(0x381)](_0x51117f,_0x31517f,!0x1);if(m['isTransformMutationFailure'](_0x339716))throw _0x339716[_0x5023d5(0x1bc)];_0x51117f=_0x339716[_0x5023d5(0x2aa)];}return{...a[_0x5023d5(0x193)]['deepClone'](_0x3ff248),'mutations':[_0x51117f]};}[_0x511f53(0x36b)](_0x564850){const _0x53c54c=_0x511f53,{unitID:_0x479c15}=_0x564850,_0x416a61=this[_0x53c54c(0x201)][_0x53c54c(0x309)](_0x479c15)[_0x53c54c(0x1c1)](E[_0x53c54c(0x34a)]),{undoCache:_0x317f1c,redoCache:_0x4cffee}=_0x416a61[_0x53c54c(0x2df)]();if(_0x317f1c[_0x53c54c(0x1dc)]===0x0||_0x4cffee[_0x53c54c(0x1dc)]===0x0)return;const _0x19d3f1=[],_0x5b6418=[];let _0x407ee0=a['Tools'][_0x53c54c(0x2bf)](_0x564850[_0x53c54c(0x294)][0x0]),_0x187ab7=a[_0x53c54c(0x193)][_0x53c54c(0x2bf)](_0x564850[_0x53c54c(0x294)][0x0]);for(let _0x1a6550=_0x317f1c['length']-0x1;_0x1a6550>=0x0;_0x1a6550--){const _0x4adc56={'id':_0x53c54c(0x2f4),'params':{..._0x317f1c[_0x1a6550]}},_0x14eb66={'id':_0x53c54c(0x2f4),'params':{..._0x4cffee[_0x1a6550]}},_0xcec39f=this[_0x53c54c(0x2b4)][_0x53c54c(0x381)](_0x407ee0,_0x4adc56,!0x1),_0x772325=this[_0x53c54c(0x2b4)][_0x53c54c(0x381)](_0x187ab7,_0x14eb66,!0x1);if(m['isTransformMutationFailure'](_0xcec39f))throw _0xcec39f[_0x53c54c(0x1bc)];if(m[_0x53c54c(0x322)](_0x772325))throw _0x772325[_0x53c54c(0x1bc)];_0x19d3f1[_0x53c54c(0x3b0)](_0xcec39f[_0x53c54c(0x3d8)][_0x53c54c(0x411)]),_0x5b6418[_0x53c54c(0x3b0)](_0x772325[_0x53c54c(0x3d8)][_0x53c54c(0x411)]),_0x407ee0=_0xcec39f[_0x53c54c(0x2aa)],_0x187ab7=_0x772325[_0x53c54c(0x2aa)];}_0x416a61[_0x53c54c(0x3dc)]({'undoCache':_0x19d3f1,'redoCache':_0x5b6418});}['_transformPreviousActiveRange'](_0x4a0049){const _0x5161bd=_0x511f53,{unitID:_0x6adca}=_0x4a0049,_0x4c0fcd=this[_0x5161bd(0x201)][_0x5161bd(0x309)](_0x6adca)['with'](E[_0x5161bd(0x34a)]),_0x31309c=_0x4c0fcd[_0x5161bd(0x3f3)]();if(_0x31309c==null)return;const _0x1a4dd2=[{'id':_0x5161bd(0x2f4),'params':{'unitId':_0x4a0049[_0x5161bd(0x2ef)],'actions':null,'textRanges':[_0x31309c]}}],_0x40d52d=this[_0x5161bd(0x2b4)][_0x5161bd(0x307)](_0x4a0049,_0x1a4dd2);if(!m['isTransformMutationsWithChangesetSuccess'](_0x40d52d))throw _0x40d52d[_0x5161bd(0x1bc)];const _0x2ce02b=_0x40d52d[_0x5161bd(0x3d8)][0x0][_0x5161bd(0x411)][_0x5161bd(0x30a)];Array[_0x5161bd(0x287)](_0x2ce02b)&&_0x2ce02b['length']&&_0x4c0fcd[_0x5161bd(0x254)](_0x2ce02b[0x0]);}};z=kt([ce(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),ce(0x1,m[_0x511f53(0x214)]),ce(0x2,p[_0x511f53(0x3e7)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x2f5360,_0x33da19,_0x4056b2,_0x47685d)=>{const _0x524d36=_0x511f53;for(var _0x187d41=_0x47685d>0x1?void 0x0:_0x47685d?Ft(_0x33da19,_0x4056b2):_0x33da19,_0x212750=_0x2f5360[_0x524d36(0x1dc)]-0x1,_0x3e10a9;_0x212750>=0x0;_0x212750--)(_0x3e10a9=_0x2f5360[_0x212750])&&(_0x187d41=_0x3e10a9(_0x187d41)||_0x187d41);return _0x187d41;},le=(_0x27703d,_0x265c8e)=>(_0x3301ad,_0x181a7d)=>_0x265c8e(_0x3301ad,_0x181a7d,_0x27703d);let J=class{constructor(_0x547024,_0x19b1ce,_0x486e80){const _0x57fcbe=_0x511f53;this[_0x57fcbe(0x32e)]=_0x547024,this['_transformService']=_0x19b1ce,this[_0x57fcbe(0x3a4)]=_0x486e80;}[_0x511f53(0x37b)](_0xc230ac){const _0x300025=_0x511f53;this[_0x300025(0x231)](_0xc230ac);}[_0x511f53(0x323)](_0x5eb657){const _0x403075=_0x511f53,{unitID:_0x344fac}=_0x5eb657,{collaboration:_0x432ad5}=this[_0x403075(0x3a4)][_0x403075(0x3de)](_0x344fac);if(_0x432ad5[_0x403075(0x1dc)]===0x0)return _0x5eb657;let _0x3cdb65=a['Tools'][_0x403075(0x2bf)](_0x5eb657[_0x403075(0x294)][0x0]);for(let _0x49fa6d=0x0;_0x49fa6d<_0x432ad5['length'];_0x49fa6d++){const _0x5b3cd2={'id':_0x403075(0x2f4),'params':{'unitId':_0x432ad5[_0x49fa6d][_0x403075(0x32c)],..._0x432ad5[_0x49fa6d][_0x403075(0x3f5)]}},_0x669c2e=this['_transformService'][_0x403075(0x381)](_0x3cdb65,_0x5b3cd2,!0x1);if(m[_0x403075(0x322)](_0x669c2e))throw _0x669c2e[_0x403075(0x1bc)];_0x3cdb65=_0x669c2e[_0x403075(0x2aa)];}return{...a[_0x403075(0x193)][_0x403075(0x2bf)](_0x5eb657),'mutations':[_0x3cdb65]};}['_transformHistoryAndStateStack'](_0x33a41a){const _0x9b432c=_0x511f53,{unitID:_0x4dda5b}=_0x33a41a,{history:_0x19c6ca,collaboration:_0x3bb08b}=this[_0x9b432c(0x3a4)][_0x9b432c(0x3de)](_0x4dda5b);if(_0x19c6ca[_0x9b432c(0x1dc)]===0x0&&_0x3bb08b[_0x9b432c(0x1dc)]===0x0)return;const _0xa25d97=[],_0x343446=[];let _0x2788bd=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]),_0x4e8724=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]);for(let _0x4ff343=_0x19c6ca[_0x9b432c(0x1dc)]-0x1;_0x4ff343>=0x0;_0x4ff343--){const _0x23e4ad={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19c6ca[_0x4ff343][_0x9b432c(0x32c)],..._0x19c6ca[_0x4ff343][_0x9b432c(0x3a3)]}},_0x27f5a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19c6ca[_0x4ff343][_0x9b432c(0x32c)],..._0x19c6ca[_0x4ff343][_0x9b432c(0x3f5)]}},_0x101c98=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x2788bd,_0x23e4ad,!0x1),_0x4cf69c=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x4e8724,_0x27f5a8,!0x1);if(m['isTransformMutationFailure'](_0x101c98))throw _0x101c98[_0x9b432c(0x1bc)];if(m[_0x9b432c(0x322)](_0x4cf69c))throw _0x4cf69c[_0x9b432c(0x1bc)];_0xa25d97['unshift']({..._0x19c6ca[_0x4ff343],'undoState':_0x101c98[_0x9b432c(0x3d8)][_0x9b432c(0x411)],'redoState':_0x4cf69c[_0x9b432c(0x3d8)][_0x9b432c(0x411)]}),_0x2788bd=_0x101c98[_0x9b432c(0x2aa)],_0x4e8724=_0x4cf69c['m1Prime'];}_0x2788bd=a[_0x9b432c(0x193)][_0x9b432c(0x2bf)](_0x33a41a[_0x9b432c(0x294)][0x0]),_0x4e8724=a[_0x9b432c(0x193)]['deepClone'](_0x33a41a['mutations'][0x0]);for(let _0x835226=_0x3bb08b[_0x9b432c(0x1dc)]-0x1;_0x835226>=0x0;_0x835226--){const _0xd014d2={'id':_0x9b432c(0x2f4),'params':{'unitId':_0x3bb08b[_0x835226][_0x9b432c(0x32c)],..._0x3bb08b[_0x835226][_0x9b432c(0x3a3)]}},_0x3b8358={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bb08b[_0x835226][_0x9b432c(0x32c)],..._0x3bb08b[_0x835226][_0x9b432c(0x3f5)]}},_0x4fe686=this[_0x9b432c(0x2b4)][_0x9b432c(0x381)](_0x2788bd,_0xd014d2,!0x1),_0x535138=this['_transformService']['transformMutation'](_0x4e8724,_0x3b8358,!0x1);if(m['isTransformMutationFailure'](_0x4fe686))throw _0x4fe686[_0x9b432c(0x1bc)];if(m[_0x9b432c(0x322)](_0x535138))throw _0x535138[_0x9b432c(0x1bc)];_0x343446['unshift']({..._0x3bb08b[_0x835226],'undoState':_0x4fe686[_0x9b432c(0x3d8)][_0x9b432c(0x411)],'redoState':_0x535138[_0x9b432c(0x3d8)][_0x9b432c(0x411)]}),_0x2788bd=_0x4fe686[_0x9b432c(0x2aa)],_0x4e8724=_0x535138[_0x9b432c(0x2aa)];}this[_0x9b432c(0x3a4)]['setStateCache'](_0x4dda5b,{'history':_0xa25d97,'collaboration':_0x343446});}};J=Ht([le(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),le(0x1,m[_0x511f53(0x214)]),le(0x2,a[_0x511f53(0x3be)](E[_0x511f53(0x34f)]))],J);var Yt=Object[_0x511f53(0x1d6)],Wt=(_0x7f6a47,_0x15bfc0,_0x100109,_0x5baaa6)=>{for(var _0x21ed21=_0x5baaa6>0x1?void 0x0:_0x5baaa6?Yt(_0x15bfc0,_0x100109):_0x15bfc0,_0x50a629=_0x7f6a47['length']-0x1,_0x5e7214;_0x50a629>=0x0;_0x50a629--)(_0x5e7214=_0x7f6a47[_0x50a629])&&(_0x21ed21=_0x5e7214(_0x21ed21)||_0x21ed21);return _0x21ed21;},Ne=(_0x1f50bb,_0xad3d70)=>(_0x35a7f8,_0x265b40)=>_0xad3d70(_0x35a7f8,_0x265b40,_0x1f50bb);let Z=class{constructor(_0x5434a3,_0x76ea18){const _0x3693ce=_0x511f53;this[_0x3693ce(0x32e)]=_0x5434a3,this[_0x3693ce(0x2b4)]=_0x76ea18;}[_0x511f53(0x1a5)](_0x54a827){const _0x5c820c=_0x511f53;var _0x2d239c;const _0x1e54a7=this['_injector']['get'](Y[_0x5c820c(0x215)]),_0x5a1ae1=(_0x2d239c=_0x1e54a7[_0x5c820c(0x3b3)]())!=null?_0x2d239c:[];if(_0x5a1ae1[_0x5c820c(0x1dc)]===0x0)return;const _0x3238d2=_0x54a827[_0x5c820c(0x2ef)],_0x371be1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3238d2,'actions':null,'textRanges':_0x5a1ae1}}],_0x36fb1a=this[_0x5c820c(0x2b4)]['transformMutationsWithChangeset'](_0x54a827,_0x371be1);if(!m['isTransformMutationsWithChangesetSuccess'](_0x36fb1a))throw _0x36fb1a['error'];const _0x21e1be=_0x36fb1a[_0x5c820c(0x3d8)][0x0][_0x5c820c(0x411)][_0x5c820c(0x30a)];Array[_0x5c820c(0x287)](_0x21e1be)&&_0x21e1be[_0x5c820c(0x1dc)]&&_0x1e54a7[_0x5c820c(0x33a)](_0x21e1be,{'unitId':_0x3238d2,'subUnitId':_0x3238d2},!0x1);}};Z=Wt([Ne(0x0,a[_0x511f53(0x3be)](a[_0x511f53(0x1d8)])),Ne(0x1,m[_0x511f53(0x214)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x165b7f,_0x2c3f21,_0x2e29b6,_0x3835f2)=>{const _0x5cd82f=_0x511f53;for(var _0x35ed07=_0x3835f2>0x1?void 0x0:_0x3835f2?Vt(_0x2c3f21,_0x2e29b6):_0x2c3f21,_0x152d66=_0x165b7f[_0x5cd82f(0x1dc)]-0x1,_0x4fac7a;_0x152d66>=0x0;_0x152d66--)(_0x4fac7a=_0x165b7f[_0x152d66])&&(_0x35ed07=_0x4fac7a(_0x35ed07)||_0x35ed07);return _0x35ed07;},N=(_0x567049,_0x407eb9)=>(_0x2fec82,_0x5ebd9d)=>_0x407eb9(_0x2fec82,_0x5ebd9d,_0x567049);function _0x5a22(){const _0x1dd549=['path','undoState','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_startDocCollabCursor','handleInsertCol','icon','_status$','result','@univerjs/engine-formula','idSuffix','_send','_cachedData','unshift','lineTo','type','getDocRanges','session.connection-failed','entityInit$','LOCAL_CACHE_INTERVAL','1450776rIluod','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DependentOn','distinctUntilChanged','collaboration-client-ui.config','asObservable','handleMoveRange','Inject','filter','AWAITING','LICENSE_IMPORT_SIZE_EXCEEDED','_initStatusComponent','FromArray','newValue','_selfUnitIDs','moveTo','set','_beforeCloseService','ILogService','http://www.w3.org/2000/svg','on-line-icon_clip0_910_349','exhaustSavingTask','CollaborationUIEventService','INVALID_ARGUMENT','override','onLocalMutation','_range','BrowserCollaborationSocketService','getCurrentSelections','_toggleOffline','IRemoteInstanceService','SetSelectionsOperation','ONLINE','m2Prime','getVpScrollXYInfoByPosToVp','_memberService','prototype','setUndoRedoMutationParamsCache','makeDirty','getStateCache','getSkeleton','CollaborationSessionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getMergeData','@univerjs/engine-render','_registerRenderDependencies','resize','getUnitStatus$','IRenderManagerService','_init','_heartbeatTimer','_textBubble','750615ILXwsz','toStringTag','session.will-retry','RevisionService','currentSkeleton$','mergeOverrideWithDependencies','Module','NO_OTHER_CLIENTS_EDITING','getActiveRange','getColor','redoState','debounceTime','APPLY_DUPLICATED','executionId','restore','TEXT_RANGE_LAYER_INDEX','rxjs','_colorAssignService','_entities','_updateSubUnitFromURLParams','SNAPSHOT_HAS_BEEN_REMOVED','cursorInfo$','history','RemoteUniscriptService','getRangePointData','addClipboardHook','combineLatest','_logService','debug','@univerjs/docs','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_registerDependencies','0\x200\x2016\x2016','MOBILE_HAS_BEEN_BOUND','ThemeService','key','loadUnit','@univerjs/design','params','_cursors','top','size','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','_collabCursorController','div','focused$','text','fillText','_initEntityListener','fillRule','drawWith','CollaborationEvent','indexOf','all','InsertColCommandId','EffectRefRangId','invokeId','NodePositionConvertToRectRange','INVALID_INVITE_CODE','InsertRangeMoveRightCommandId','CollaborationStatus','Tools','forwardRef','saveOfflineData','HTTPService','SHEET_VIEWPORT_KEY','mask','_lastPointer','from','18kGAdLg','assign','@univerjs/sheets','UniverInstanceType','SheetsSelectionsService','_cursor','Vector2','_drawRectRange','connectInjector','_ensureSubject','transformSelections','use','NOT_FOUND','OTHER_CLIENTS_EDITING','COLORS','handleDeleteRangeMoveLeft','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getUnhiddenWorksheets','_updateCollabCursors','_anchor','registerRefRange','WebBrowserSingleActiveUnitService','getParam','Failed','SetTextSelectionsOperation','setTimeout','_color','IImageIoService','editingUnit','mapTo','_commandService','min','Error','error','YUUMI_AI_RUN_FAILED','IUniverInstanceService','_hover','measureText','with','RemoveColCommandId','fillStyle','on-line-icon','[CollaborationDataLoaderController]','height','univer-flex\x20univer-items-center','Warning','registerRenderModule','APPLY_REJECT','dispose$','round','_removeClearOtherTimer','_initResize','replaceState','_localCacheService','call','SetWorksheetActivateCommand','defs','IMessageService','_univerInstanceService','getOwnPropertyDescriptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Injector','_anchorDot','_handleEvent','_draw','length','docStateChange$','UNRECOGNIZED','Rect','backgroundColor','symbol','IBeforeCloseService','runRefRangeMutations','YUUMI_RATE_OVER_LIMIT','RxDisposable','PENDING','SNAPSHOT_INVALID_SNAPSHOT','_toggleOnline','_removeCollabCursors','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','purple.300','_handleHeartbeatEvent','_themeService','13011690NWSpyO','getFocusedUnit','_collaborationUIEventService','_initStatusListener','evenodd','_hideTimer','imageSourceType','VIEW_MAIN','permission.title','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','DeleteRangeMoveLeftCommandId','translate(.97)','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','defIds','black','_renderManagerService','stringify','disposeWithMe','UniverCollaborationClientUIPlugin','name','OnLineIcon','takeUntil','USER_NOT_INVITED_CODE','_onRefRangeChange','ISnapshotServerService','ColorKit','onTransformChange$','_getSheetObject','_scheduleHeartbeat','_updateLocalCursor','_cursorShapes','_colorIndex','hovered','_getSessionTicket','ITransformService','DocSelectionManagerService','_initCommandExecutedListener','addObjects','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationSocketService','pushState','collab-client.tooltip.reconnect','_updateURLWithCurrentState','svg','YUUMI_CONNECTOR_URL_NOT_FOUND','get','disableLocalCache','_id','origin','collaboration.closeRoom','getCellPositionByOffset','show','rxjs/operators','generateRandomId','IDocClipboardService','_onCursorDelete','/run/','Disposable','UNIVER_SHEET','colorChannel1','column','getUnitId','collabStatus.notCollab','_transformHistoryAndStateStack','currentColor','INVITE_CODE_ALREADY_BOUND','handleInsertRangeMoveDown','Optional','_syncEditingCollabCursorService','_refreshCollabCursors','toDisposable','651810SkcVfb','dispose','push','xlink:href','DOC_RANGE_TYPE','Subject','_refRangeService','string','CONNECTOR_DATA_TOO_LARGE','range','fill','OFFLINE','application/json','red.300','Workbook','saveTaskMap','_setupBeforeClosingHandler','_collabCursorState$','shareReplay','urlChange$','IURLService','SOCKET_FAILED_RETRY','_docClipboardService','_collaborationController','_roomMembers$','0\x200\x2017\x2016','_setupSubUnitSync','setActiveRange','NodePositionConvertToCursor','roomMembers$','INTERNAL_ERROR','switchMap','event$','YUUMI_ALL_TABLES_IS_INVALID','getSheetObject','_name','addEventListener','subUnitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','1em','2114174azSIZn','next','BehaviorSubject','YUUMI_UNABLE_LOAD_URL','some','handleDeleteRangeMoveUp','white','_unitOnClients','toRgbString','unload','requireSession','getMemberID','getMember','cursorInfo','CollaborationStatusDisplay','getCurrentRevOfUnit','_session','throttleTime','setShapeProps','_instanceService','currentTheme$','_createSocketURL','handleInsertRangeMoveRight','data','collab-text-range-','hide','ICommandService','InsertRangeMoveDownCommandId','eventID','font','YUUMI_NO_CUBOID_FOR_QUESTION','addObject','useDependency','trim','9xGJdUo','LOCAL_CACHE_INTERVAL_KEY','enableLocalCache','sheetID','isArray','debounce','clsx','APPLY_REVISION_CONFILICT','_imageIoService','CommandType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_online','transformIMECache','_localeService','isActive','collabStatus.synced','disposeUnit','mutations','transform','_saveCache','Plugin','UNDEFINED','_notificationService','JOIN_ROOM_FAILED','forEach','_clearOtherTimers','hasOwnProperty','_docTransformStateCacheService','SheetCollabCursorShape','InsertRowCommandId','_saveTaskMap','_localStorageService','fromEventSubject','startColumn','propertyIsEnumerable','setConfig','source','_labelPosition','_uiPartsService','m1Prime','ranges','collaboration.single-unit.warning','uni.network.url-service','_docTransformIMECacheService','registerComponent','_getAnchorBounding','RefRangeService','getColorFromTheme','session.collaboration-timeout','_transformService','getUniverSheetInstance','_doCreateSocket','_httpService','_unitStatus','onPointerEnter$','_messageService','DesktopCollaborationStatusDisplayController','isEditing','has','CHANGESET_REVISION_CONFILICT','deepClone','FETCH_MISS','UPDATE_CURSOR','includes','runId','@univerjs/ui','getCoordByCell','LICENSE_MAX_UNITS_EXCEEDED','NOT_COLLAB','body','_disabled','children','_shapes','49rzRdfh','current','memberID','_transformPreviousActiveRange','subscribe','_revisionService','_drawAnchor','UniverIcon','add','handleInsertRow','triggerDblclick','createInstance','_collabSessionService','univerjs-icon\x20univerjs-icon-','MUTATION','YUUMI_ASYNCIO_CANCELLED','delete','YUUMI_URL_COL_OUT_OF_RANGE','_urlService','getUndoRedoMutationParamsCache','AWAITING_WITH_PENDING','_drawTextRange','row','_getScale','UNIVER_DOC','_docSkeletonManagerService','selections','off-line-icon','_dataLoaderService','getTypeOfUnitDisposed$','arc','url(#on-line-icon_clip0_910_349)','PERMISSION_DENIED','pluginName','off-line-icon_clip0_910_343','unitID','getOwnPropertySymbols','createElement','engine','MessageType','doc.mutation.rich-text-editing','_render','4557408BqvfTH','runOnServer','complete','M0\x200H16V16H0z','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clipPath','assignAColorForMemberID','color','_getSaveTimeout','collab-rect-range-','split','attrs','width','setParam','_scheduleClearOtherTimer','tag','sessionTicket','transformMutationsWithChangeset','getActiveSheet','getRenderById','textRanges','saveImage','_initEvent','getTypeOfUnitAdded$','createSocket','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/network','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','toString','activeSheet$','selection','blue.400','_handleHover','getOffsetConfig','WebURLService','collabCursorState$','_assignedColors','green.600','SYNCED','save','Unknown\x20user','_entityInit$','endRow','_docTransformSelectionsService','isTransformMutationFailure','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','UnitStatus','_cursorInfo$','setItem','ILocalCacheService','USERS_LEAVE','RegularPolygon','ENSURE_SNAPSHOT_EXECUTION','unitId','onCommandExecuted','_injector','@univerjs/drawing','SheetSkeletonManagerService','_context','sheetId','INVITE_CODE_HAS_BEEN_UES','OffLineIcon','SOCKET_FAILED','_configService','COMPLETION_FINISHED','closePath','collabStatus.fetchMiss','replaceDocRanges','_config','merge','pipe','_onCursorUpdate','syncEditingCollabCursor','RECT','init','addHandlerCallback','@univerjs/core','_sheetSkeletonManagerService','getCollabCursors$','526548ZOvWcU','clearInterval','WECHAT_HAS_BEEN_BOUND','LocaleService','DocIMEInputManagerService','concat','SUBMIT_CHANGESET_TIMEOUT','function','jiqing.500','DocStateChangeManagerService','findNodePositionByCharIndex','onPointerMove$','getLocalCacheKey','roomMembers','transformByState','entries','CollaborationUIEventId','react/jsx-runtime','setAlpha','getSheetBySheetId','_initDependencies','OTHER_CLIENT_EDITING','CONFLICT','onMouseMove','ACTIVE_UNIT_EVENT_CHANNEL','startRow','TOO_MANY_REQUESTS','LOGIN_FAILED','_eventUnsubscribe','none','collabStatus.conflict','getSheetId','_hovered','apply','url(#$1','location','_docSkeleton','_transformUndoRedoStack','jsx','IConfigService','then','subscribeEvent','popstate','reconnect','executeCommand','collabStatus.offline','collabStatus.syncing','updateOfflineData','CollaborationController','MoveRangeCommandId','getValue','className','sessionStatus$','transformStateCache','extend','MOBILE_VERIFY_CODE_MISMATCH','beginPath','TEXT','wsSessionTicketUrl','transformMutation','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','onPointerLeave$','@univerjs/sheets-ui','_handleJoinEvent','_scene','fromEvent','getItem','getViewport','registerBeforeClose','unsubscribe','code','values','IUIPartsService','getAncestorScale','_backgroundColor','@univerjs-pro/collaboration-client','displayName','EMAIL_HAS_BEEN_BOUND','skeleton','searchParams','getRelativeToViewportCoord','href','getConfig','loadOfflineData','subunit','SetDocZoomRatioOperation','createIdentifier','BuiltInUIPart','map','_docSyncEditingCollabCursorService','send','CollaborationDataLoaderController'];_0x5a22=function(){return _0x1dd549;};return _0x5a22();}let Q=class extends a[_0x511f53(0x22b)]{constructor(_0x74cfe3,_0x32ad63,_0x4068f7,_0x5a6356,_0x45ac0f,_0x4e192d,_0x4786ed,_0x3b9885){const _0x4672fb=_0x511f53;super(),h(this,_0x4672fb(0x3aa),new d[(_0x4672fb(0x263))](u[_0x4672fb(0x192)]['NOT_COLLAB'])),(this[_0x4672fb(0x3a4)]=_0x74cfe3,this['_collaborationController']=_0x32ad63,this[_0x4672fb(0x2ae)]=_0x4068f7,this[_0x4672fb(0x29e)]=_0x5a6356,this[_0x4672fb(0x321)]=_0x45ac0f,this[_0x4672fb(0x39f)]=_0x4e192d,this[_0x4672fb(0x2ba)]=_0x4786ed,this[_0x4672fb(0x290)]=_0x3b9885,this[_0x4672fb(0x186)]());}[_0x511f53(0x186)](){const _0x269540=_0x511f53;this[_0x269540(0x203)](this[_0x269540(0x250)][_0x269540(0x3b5)]['subscribe'](_0xa77fe8=>{const _0x334c25=_0x269540,_0x44f011=this[_0x334c25(0x3a4)][_0x334c25(0x1dd)][_0x334c25(0x2d0)](_0x277131=>{const _0xc98e0c=_0x334c25;if(_0x277131==null)return;const {unitId:_0x12608e,redoState:_0x3225b4,commandId:_0x48b73f}=_0x277131;if(_0x12608e!==_0xa77fe8[_0xc98e0c(0x2ef)])return;const _0xacf79c={'id':_0x48b73f,'type':a[_0xc98e0c(0x28c)][_0xc98e0c(0x2da)],'params':{'unitId':_0x12608e,'actions':_0x3225b4['actions'],'textRanges':null}};_0xa77fe8[_0xc98e0c(0x3d0)](_0xacf79c);});if(_0xa77fe8['disposeWithMe'](_0x44f011),_0xa77fe8 instanceof u['DocCollaborationEntity']){const _0x378053={'onTransformIME':_0x1852c1=>this[_0x334c25(0x2ae)][_0x334c25(0x28f)](_0x1852c1),'onTransformState':_0x238bcf=>this[_0x334c25(0x29e)][_0x334c25(0x37b)](_0x238bcf),'onTransformSelections':_0x7100a=>this[_0x334c25(0x321)][_0x334c25(0x1a5)](_0x7100a),'onSyncEditingCollabCursor':_0x1db6bd=>this[_0x334c25(0x39f)]['syncEditingCollabCursor'](_0x1db6bd),'onTransformRemoteChangesetByIMECache':_0x1c80f1=>this[_0x334c25(0x2ae)]['transformRemoteChangeset'](_0x1c80f1),'onTransformRemoteChangesetByStateCache':_0x1d47f2=>this[_0x334c25(0x29e)]['transformRemoteChangeset'](_0x1d47f2)};_0xa77fe8[_0x334c25(0x342)](_0x378053);}}));}};Q=Xt([N(0x0,a[_0x511f53(0x3be)](E[_0x511f53(0x34f)])),N(0x1,a[_0x511f53(0x3be)](u[_0x511f53(0x376)])),N(0x2,a[_0x511f53(0x3be)](z)),N(0x3,a[_0x511f53(0x3be)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x511f53(0x3be)](Ce)),N(0x6,O[_0x511f53(0x1d4)]),N(0x7,a['Inject'](a['LocaleService']))],Q);var Gt=Object[_0x511f53(0x1d6)],Kt=(_0x44db79,_0xbc453e,_0x37ceec,_0x32a66c)=>{for(var _0xef15b0=_0x32a66c>0x1?void 0x0:_0x32a66c?Gt(_0xbc453e,_0x37ceec):_0xbc453e,_0x195d73=_0x44db79['length']-0x1,_0x2426d4;_0x195d73>=0x0;_0x195d73--)(_0x2426d4=_0x44db79[_0x195d73])&&(_0xef15b0=_0x2426d4(_0xef15b0)||_0xef15b0);return _0xef15b0;},_e=(_0x463ec6,_0xd80fcc)=>(_0x50b5ce,_0x72a9f9)=>_0xd80fcc(_0x50b5ce,_0x72a9f9,_0x463ec6);let ge=class extends a[_0x511f53(0x22b)]{constructor(_0x3fe9fb,_0x4727d7,_0x1f9286){const _0x38eb42=_0x511f53;super(),h(this,_0x38eb42(0x3af),new Map()),h(this,_0x38eb42(0x2a1),new Map()),h(this,'_disabled',!0x1),(this[_0x38eb42(0x336)]=_0x3fe9fb,this[_0x38eb42(0x2a2)]=_0x4727d7,this[_0x38eb42(0x2d1)]=_0x1f9286);}[_0x511f53(0x220)](){const _0x5a0e8c=_0x511f53;this[_0x5a0e8c(0x2c9)]=!0x0;}[_0x511f53(0x285)](){const _0x150cc3=_0x511f53;this[_0x150cc3(0x2c9)]=!0x1;}get[_0x511f53(0x248)](){return this['_saveTaskMap'];}[_0x511f53(0x23a)](){const _0x5c2cf0=_0x511f53;this[_0x5c2cf0(0x3cc)]()[_0x5c2cf0(0x36e)](()=>super['dispose']());}async[_0x511f53(0x399)](_0x45f62d){const _0x12ff9a=_0x511f53;return this['_disabled']?null:this[_0x12ff9a(0x2a2)][_0x12ff9a(0x388)](u[_0x12ff9a(0x352)](_0x45f62d));}async[_0x511f53(0x195)](_0x588aa2,_0x258853){const _0x575668=_0x511f53;return!!this[_0x575668(0x2a2)][_0x575668(0x327)](_0x588aa2,_0x258853);}[_0x511f53(0x375)](_0x4c0837,_0x232d6f,_0x1fe59d,_0xb67088){const _0x4e4b44=_0x511f53,_0x3e4758=this['_revisionService'][_0x4e4b44(0x270)](_0x4c0837);this['_cachedData'][_0x4e4b44(0x3c7)](_0x4c0837,{'unitID':_0x4c0837,'type':_0x232d6f,'awaitingChangeset':_0x1fe59d,'mutations':_0xb67088,'rev':_0x3e4758}),this['_saveTaskMap'][_0x4e4b44(0x2bd)](_0x4c0837)||this['_scheduleSaving'](_0x4c0837);}['_scheduleSaving'](_0x52d98a){const _0x214a56=_0x511f53,_0x296013=this[_0x214a56(0x2fe)]();_0x296013===0x0?this['_saveCache'](_0x52d98a):this['_saveTaskMap'][_0x214a56(0x3c7)](_0x52d98a,setTimeout(()=>this[_0x214a56(0x296)](_0x52d98a),_0x296013));}[_0x511f53(0x2fe)](){const _0x56389f=_0x511f53;var _0xccedc5;return(_0xccedc5=this['_configService'][_0x56389f(0x398)](u[_0x56389f(0x284)]))!=null?_0xccedc5:u[_0x56389f(0x3b6)];}[_0x511f53(0x296)](_0x486f8a){const _0x5931f9=_0x511f53,_0x422ee1=this[_0x5931f9(0x2a1)][_0x5931f9(0x21f)](_0x486f8a);return _0x422ee1!==void 0x0&&window['clearTimeout'](_0x422ee1),this[_0x5931f9(0x2a2)][_0x5931f9(0x327)](u[_0x5931f9(0x352)](_0x486f8a),this[_0x5931f9(0x3af)]['get'](_0x486f8a))[_0x5931f9(0x36e)](()=>this['_saveTaskMap']['delete'](_0x486f8a));}async['exhaustSavingTask'](){const _0x5b78dd=_0x511f53,_0x49905c=[];this[_0x5b78dd(0x2a1)][_0x5b78dd(0x29b)]((_0x4aa935,_0x71e446)=>{const _0x351c88=_0x5b78dd;window['clearTimeout'](_0x4aa935),_0x49905c[_0x351c88(0x23b)](this['_saveCache'](_0x71e446)[_0x351c88(0x36e)](()=>{const _0x2183ab=_0x351c88;this[_0x2183ab(0x2a1)]['delete'](_0x71e446);}));}),await Promise[_0x5b78dd(0x18b)](_0x49905c);}};ge=Kt([_e(0x0,a[_0x511f53(0x36d)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x511f53(0x3be)](m[_0x511f53(0x3ee)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x2cc6a9=_0x511f53;super(),h(this,'urlChange$'),this[_0x2cc6a9(0x24c)]=d[_0x2cc6a9(0x387)](window,_0x2cc6a9(0x370))[_0x2cc6a9(0x33d)](d[_0x2cc6a9(0x207)](this[_0x2cc6a9(0x1cb)]),d[_0x2cc6a9(0x24b)](0x1),d[_0x2cc6a9(0x1b8)](void 0x0));}['setParam'](_0x214149,_0x2bf680,_0x408573=!0x1){const _0x410739=_0x511f53,_0x2c6e60=new URL(window[_0x410739(0x369)]['href']);_0x2c6e60[_0x410739(0x395)][_0x410739(0x3c7)](_0x214149,_0x2bf680),_0x408573?window[_0x410739(0x401)][_0x410739(0x1cf)]('','',_0x2c6e60[_0x410739(0x312)]()):window['history']['pushState']('','',_0x2c6e60['toString']());}['removeParam'](_0x36fcbd,_0x424097=!0x1){const _0x3e8b17=_0x511f53,_0x105681=new URL(window[_0x3e8b17(0x369)][_0x3e8b17(0x397)]);_0x105681['searchParams']['delete'](_0x36fcbd),_0x424097?window['history'][_0x3e8b17(0x1cf)]('','',_0x105681['toString']()):window['history'][_0x3e8b17(0x21a)]('','',_0x105681['toString']());}[_0x511f53(0x1b1)](_0x36cc58){const _0x372b86=_0x511f53;var _0x42243f;return(_0x42243f=new URL(window[_0x372b86(0x369)][_0x372b86(0x397)])[_0x372b86(0x395)]['get'](_0x36cc58))!=null?_0x42243f:void 0x0;}}var qt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x2c7da6,_0x57a49d,_0x455c11)=>_0x57a49d in _0x2c7da6?qt(_0x2c7da6,_0x57a49d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x455c11}):_0x2c7da6[_0x57a49d]=_0x455c11,Zt=(_0x4a220b,_0x4e0e21,_0x53870e,_0x14ffbf)=>{const _0x27c87f=_0x511f53;for(var _0x44033b=_0x14ffbf>0x1?void 0x0:_0x14ffbf?zt(_0x4e0e21,_0x53870e):_0x4e0e21,_0x10b92f=_0x4a220b[_0x27c87f(0x1dc)]-0x1,_0x4e9848;_0x10b92f>=0x0;_0x10b92f--)(_0x4e9848=_0x4a220b[_0x10b92f])&&(_0x44033b=_0x4e9848(_0x44033b)||_0x44033b);return _0x44033b;},he=(_0x4a798e,_0x19e65f)=>(_0x519c65,_0xa1f4b5)=>_0x19e65f(_0x519c65,_0xa1f4b5,_0x4a798e),Qt=(_0x56586b,_0x376f95,_0x5e9152)=>Jt(_0x56586b,_0x376f95+'',_0x5e9152);const es=_0x511f53(0x3e1);exports[_0x511f53(0x204)]=class extends a[_0x511f53(0x297)]{constructor(_0x4b9bc2=Ue,_0x3393dd,_0x41e17b,_0x1ec6c8){const _0x2dcf98=_0x511f53;super(),this[_0x2dcf98(0x33b)]=_0x4b9bc2,this[_0x2dcf98(0x201)]=_0x3393dd,this[_0x2dcf98(0x32e)]=_0x41e17b,this['_configService']=_0x1ec6c8;const {..._0x403d9c}=a['merge']({},Ue,this[_0x2dcf98(0x33b)]);this[_0x2dcf98(0x336)][_0x2dcf98(0x2a6)]($t,_0x403d9c);}['onStarting'](){const _0x5c20d1=_0x511f53;this[_0x5c20d1(0x40a)](),this[_0x5c20d1(0x35a)]();}['onRendered'](){const _0x8ab5f2=_0x511f53;this[_0x8ab5f2(0x3e4)]();}[_0x511f53(0x40a)](){const _0x50af2e=_0x511f53;var _0x391c7d;const _0x3aaebc=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G['ISocketService'],{'useClass':G['WebSocketService']}],[u[_0x50af2e(0x328)],{'useClass':ge}],[exports[_0x50af2e(0x2bb)]],[Q],[q],[x],[de],[exports[_0x50af2e(0x3a1)]]];a['registerDependencies'](this[_0x50af2e(0x32e)],a[_0x50af2e(0x3f0)](_0x3aaebc,(_0x391c7d=this[_0x50af2e(0x33b)])==null?void 0x0:_0x391c7d[_0x50af2e(0x3cf)]));}[_0x511f53(0x3e4)](){const _0x19ee52=_0x511f53;this[_0x19ee52(0x203)](this[_0x19ee52(0x201)][_0x19ee52(0x1c9)](a['UniverInstanceType']['UNIVER_DOC'],[fe])),this[_0x19ee52(0x203)](this[_0x19ee52(0x201)][_0x19ee52(0x1c9)](a[_0x19ee52(0x19e)][_0x19ee52(0x22c)],[ve]));}[_0x511f53(0x35a)](){const _0x8da914=_0x511f53;a['touchDependencies'](this['_injector'],[[x],[exports[_0x8da914(0x2bb)]],[Q],[q],[exports[_0x8da914(0x3a1)]]]);}},Qt(exports[_0x511f53(0x204)],_0x511f53(0x2ed),es),exports[_0x511f53(0x204)]=Zt([a[_0x511f53(0x3b9)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x511f53(0x3e7)]),he(0x2,a['Inject'](a[_0x511f53(0x1d8)])),he(0x3,a[_0x511f53(0x36d)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x33c8ae,_0xf40481,_0x4bc894,_0x859a3d)=>{const _0x151327=_0x511f53;for(var _0x2224e5=_0x859a3d>0x1?void 0x0:_0x859a3d?ts(_0xf40481,_0x4bc894):_0xf40481,_0x5d3092=_0x33c8ae[_0x151327(0x1dc)]-0x1,_0x5a24a9;_0x5d3092>=0x0;_0x5d3092--)(_0x5a24a9=_0x33c8ae[_0x5d3092])&&(_0x2224e5=_0x5a24a9(_0x2224e5)||_0x2224e5);return _0x2224e5;},H=(_0x57d35f,_0x422be1)=>(_0x5f327f,_0x10fa09)=>_0x422be1(_0x5f327f,_0x10fa09,_0x57d35f);exports[_0x511f53(0x3d2)]=class extends u[_0x511f53(0x219)]{constructor(_0xc689ab,_0x15c441,_0x194144,_0x12d2d8,_0x1ddcd4){super(_0xc689ab,_0x15c441,_0x194144,_0x12d2d8,_0x1ddcd4);}async[_0x511f53(0x30e)](_0x4abd4f){const _0x51afbd=_0x511f53,_0x3fe695=await this[_0x51afbd(0x213)](),_0x45bea3=this[_0x51afbd(0x276)](_0x4abd4f,_0x3fe695);return this[_0x51afbd(0x2b6)](_0x45bea3);}[_0x511f53(0x276)](_0x3676d7,_0x1aff59){const _0x407b21=_0x511f53,_0x26fccb=typeof window>'u'?new URL(_0x3676d7):new URL(_0x3676d7,window['location'][_0x407b21(0x222)]);_0x26fccb['searchParams'][_0x407b21(0x3c7)](_0x407b21(0x306),_0x1aff59);const _0x4fed8b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4fed8b[_0x407b21(0x21f)](_0x407b21(0x2c3))&&_0x26fccb[_0x407b21(0x395)][_0x407b21(0x3c7)]('runId',_0x4fed8b['get']('runId')),_0x26fccb[_0x407b21(0x312)]();}async[_0x511f53(0x213)](){const _0x219f0e=_0x511f53;var _0x498c09,_0x50a1bb,_0xee106b;const _0x493723=this[_0x219f0e(0x336)][_0x219f0e(0x398)](u[_0x219f0e(0x2fa)]),_0x2fa3d5=(_0x498c09=_0x493723==null?void 0x0:_0x493723[_0x219f0e(0x380)])!=null?_0x498c09:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xee106b=(_0x50a1bb=(await this[_0x219f0e(0x2b7)][_0x219f0e(0x21f)](_0x2fa3d5,{'headers':{'Content-Type':_0x219f0e(0x245)}}))[_0x219f0e(0x2c8)])==null?void 0x0:_0x50a1bb['ticket'])!=null?_0xee106b:'';}},exports[_0x511f53(0x3d2)]=ss([H(0x0,a[_0x511f53(0x3be)](a['Injector'])),H(0x1,a['Inject'](G[_0x511f53(0x196)])),H(0x2,a[_0x511f53(0x36d)]),H(0x3,a['ILogService']),H(0x4,m[_0x511f53(0x20a)])],exports[_0x511f53(0x3d2)]);const Me=0x7530,Le=_0x511f53(0x35e);class is extends a[_0x511f53(0x22b)]{constructor(){const _0x21c0c0=_0x511f53;super(),h(this,_0x21c0c0(0x221),a[_0x21c0c0(0x227)]()),h(this,'_selfUnitIDs',new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x21c0c0(0x3e9),null),h(this,_0x21c0c0(0x29c),new Map()),h(this,_0x21c0c0(0x2b8),new Map()),this[_0x21c0c0(0x3e8)]();}[_0x511f53(0x23a)](){const _0x29192b=_0x511f53;super[_0x29192b(0x23a)](),this[_0x29192b(0x29c)][_0x29192b(0x29b)]((_0x193fc6,_0x2f16cc)=>this[_0x29192b(0x1cd)](_0x2f16cc)),this[_0x29192b(0x3e9)]&&window[_0x29192b(0x347)](this[_0x29192b(0x3e9)]);}[_0x511f53(0x3e6)](_0x20a1bf){const _0x1888a0=_0x511f53;return this[_0x1888a0(0x1a4)](_0x20a1bf)[_0x1888a0(0x33d)](d[_0x1888a0(0x3ba)]());}[_0x511f53(0x1b7)](_0x2eff33){const _0x4e15c0=_0x511f53;this[_0x4e15c0(0x3c5)]['size']===0x0&&this[_0x4e15c0(0x20e)](),this[_0x4e15c0(0x3c5)][_0x4e15c0(0x2d4)](_0x2eff33),this[_0x4e15c0(0x3ae)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2eff33],'isForwarded':!0x1});}[_0x511f53(0x293)](_0x6b1e12){const _0x2ec9f1=_0x511f53;this[_0x2ec9f1(0x3c5)][_0x2ec9f1(0x2dc)](_0x6b1e12),this[_0x2ec9f1(0x3c5)][_0x2ec9f1(0x17e)]===0x0&&this[_0x2ec9f1(0x3e9)]&&window['clearInterval'](this[_0x2ec9f1(0x3e9)]);}[_0x511f53(0x3e8)](){const _0x46afa9=_0x511f53;this[_0x46afa9(0x203)](a[_0x46afa9(0x238)](d[_0x46afa9(0x387)](window,'storage')[_0x46afa9(0x2d0)](_0x3f59ef=>{const _0x4ec996=_0x46afa9;if(_0x3f59ef[_0x4ec996(0x40e)]!==Le||!_0x3f59ef['newValue'])return;const _0x14ffaa=JSON['parse'](_0x3f59ef[_0x4ec996(0x3c4)]);this[_0x4ec996(0x1da)](_0x14ffaa);}))),window[_0x46afa9(0x25d)](_0x46afa9(0x26a),()=>this[_0x46afa9(0x3ae)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x46afa9(0x3c5)])}));}[_0x511f53(0x1da)](_0x5451bd){const _0x522062=_0x511f53;switch(_0x5451bd[_0x522062(0x3b2)]){case 0x0:this[_0x522062(0x385)](_0x5451bd);break;case 0x1:this[_0x522062(0x1fe)](_0x5451bd);break;case 0x2:this[_0x522062(0x1ee)](_0x5451bd);break;}}[_0x511f53(0x385)](_0x23994c){const _0x1a1766=_0x511f53,{unitIDs:_0x3b14f6,memberID:_0xd89d64,isForwarded:_0x47ffcc}=_0x23994c;_0x3b14f6[_0x1a1766(0x29b)](_0x338881=>{const _0x53399b=_0x1a1766;if(!_0x47ffcc&&this[_0x53399b(0x268)]['has'](_0x338881)&&this['_ensureSubject'](_0x338881)[_0x53399b(0x262)](u[_0x53399b(0x325)][_0x53399b(0x1a8)]),!this[_0x53399b(0x268)][_0x53399b(0x2bd)](_0x338881)||!this[_0x53399b(0x268)][_0x53399b(0x21f)](_0x338881)[_0x53399b(0x2bd)](_0xd89d64)){const _0x375d34=this['_unitOnClients'][_0x53399b(0x21f)](_0x338881)||new Set();_0x375d34['add'](_0xd89d64),this[_0x53399b(0x268)][_0x53399b(0x3c7)](_0x338881,_0x375d34),this[_0x53399b(0x304)](_0xd89d64);}}),_0x47ffcc||this[_0x1a1766(0x3ae)]({'type':0x0,'memberID':this[_0x1a1766(0x221)],'unitIDs':[...this[_0x1a1766(0x3c5)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x462a87){const _0x11a5c6=_0x511f53;this[_0x11a5c6(0x1cd)](_0x462a87);const _0x5bad95=window[_0x11a5c6(0x1b4)](()=>{const _0x38b595=_0x11a5c6;this[_0x38b595(0x268)][_0x38b595(0x29b)](_0xdff3fa=>{const _0x32a292=_0x38b595;_0xdff3fa[_0x32a292(0x2dc)](_0x462a87);});},Me*0x2);this[_0x11a5c6(0x29c)]['set'](_0x462a87,_0x5bad95);}[_0x511f53(0x1cd)](_0x2e8ee5){const _0x75c1ba=_0x511f53;if(this[_0x75c1ba(0x29c)]['has'](_0x2e8ee5)){const _0x444769=this[_0x75c1ba(0x29c)][_0x75c1ba(0x21f)](_0x2e8ee5);_0x444769&&window['clearTimeout'](_0x444769),this[_0x75c1ba(0x29c)][_0x75c1ba(0x3c7)](_0x2e8ee5,null);}}[_0x511f53(0x1fe)](_0x345131){const _0x4e71e1=_0x511f53,{memberID:_0x46d5ef,unitIDs:_0x318559}=_0x345131;_0x318559['forEach'](_0x1e7f3b=>{const _0x354f1d=_0x543b;var _0x187712;const _0x115436=this[_0x354f1d(0x268)][_0x354f1d(0x21f)](_0x1e7f3b);_0x115436&&(_0x115436[_0x354f1d(0x2dc)](_0x46d5ef),(_0x187712=this[_0x354f1d(0x1a4)](_0x1e7f3b))==null||_0x187712[_0x354f1d(0x262)](_0x115436[_0x354f1d(0x17e)]===0x0?u[_0x354f1d(0x325)][_0x354f1d(0x3f2)]:u['UnitStatus'][_0x354f1d(0x1a8)]));}),this[_0x4e71e1(0x1cd)](_0x46d5ef);}[_0x511f53(0x1ee)](_0x3d5f69){const _0x3c2348=_0x511f53;this[_0x3c2348(0x304)](_0x3d5f69[_0x3c2348(0x2ce)]);}['_send'](_0x434f8d){const _0x1c675=_0x511f53;localStorage['setItem'](Le,JSON[_0x1c675(0x202)](_0x434f8d));}['_scheduleHeartbeat'](){const _0x506583=_0x511f53;this[_0x506583(0x3e9)]=window['setInterval'](()=>{const _0x3639f1=_0x506583;this[_0x3639f1(0x3ae)]({'type':0x2,'memberID':this[_0x3639f1(0x221)]});},Me);}['_ensureSubject'](_0x6a77a7){const _0x378f58=_0x511f53;return this['_unitStatus'][_0x378f58(0x2bd)](_0x6a77a7)||this[_0x378f58(0x2b8)][_0x378f58(0x3c7)](_0x6a77a7,new d[(_0x378f58(0x263))](u[_0x378f58(0x325)][_0x378f58(0x3f2)])),this[_0x378f58(0x2b8)][_0x378f58(0x21f)](_0x6a77a7);}}var je=(_0x203af0=>(_0x203af0[_0x203af0[_0x511f53(0x298)]=0x0]=_0x511f53(0x298),_0x203af0[_0x203af0['OK']=0x1]='OK',_0x203af0[_0x203af0['INTERNAL_ERROR']=0x2]=_0x511f53(0x257),_0x203af0[_0x203af0['PERMISSION_DENIED']=0x3]=_0x511f53(0x2ec),_0x203af0[_0x203af0[_0x511f53(0x1a7)]=0x4]=_0x511f53(0x1a7),_0x203af0[_0x203af0[_0x511f53(0x1eb)]=0x5]=_0x511f53(0x1eb),_0x203af0[_0x203af0['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x203af0[_0x203af0[_0x511f53(0x3ce)]=0x7]=_0x511f53(0x3ce),_0x203af0[_0x203af0[_0x511f53(0x360)]=0x8]='TOO_MANY_REQUESTS',_0x203af0[_0x203af0['COMPLETION_FINISHED']=0x9]=_0x511f53(0x337),_0x203af0[_0x203af0[_0x511f53(0x361)]=0xa]=_0x511f53(0x361),_0x203af0[_0x203af0[_0x511f53(0x37d)]=0xb]=_0x511f53(0x37d),_0x203af0[_0x203af0[_0x511f53(0x1ea)]=0xc]=_0x511f53(0x1ea),_0x203af0[_0x203af0[_0x511f53(0x30f)]=0xd]=_0x511f53(0x30f),_0x203af0[_0x203af0[_0x511f53(0x218)]=0xe]=_0x511f53(0x218),_0x203af0[_0x203af0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x511f53(0x2be),_0x203af0[_0x203af0[_0x511f53(0x1e7)]=0x1771]=_0x511f53(0x1e7),_0x203af0[_0x203af0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x511f53(0x3ff),_0x203af0[_0x203af0['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x511f53(0x32b),_0x203af0[_0x203af0[_0x511f53(0x1ca)]=0x1b59]='APPLY_REJECT',_0x203af0[_0x203af0[_0x511f53(0x1ec)]=0x1b5a]=_0x511f53(0x1ec),_0x203af0[_0x203af0[_0x511f53(0x28a)]=0x1b5b]=_0x511f53(0x28a),_0x203af0[_0x203af0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x203af0[_0x203af0[_0x511f53(0x3f7)]=0x1b5d]=_0x511f53(0x3f7),_0x203af0[_0x203af0[_0x511f53(0x241)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x203af0[_0x203af0[_0x511f53(0x2c6)]=0x2329]=_0x511f53(0x2c6),_0x203af0[_0x203af0[_0x511f53(0x28d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x203af0[_0x203af0[_0x511f53(0x3c1)]=0x232b]=_0x511f53(0x3c1),_0x203af0[_0x203af0[_0x511f53(0x180)]=0x232c]=_0x511f53(0x180),_0x203af0[_0x203af0[_0x511f53(0x17f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x203af0[_0x203af0[_0x511f53(0x264)]=0x2711]=_0x511f53(0x264),_0x203af0[_0x203af0[_0x511f53(0x2dd)]=0x2712]=_0x511f53(0x2dd),_0x203af0[_0x203af0[_0x511f53(0x1e4)]=0x2713]=_0x511f53(0x1e4),_0x203af0[_0x203af0[_0x511f53(0x3a5)]=0x2714]=_0x511f53(0x3a5),_0x203af0[_0x203af0[_0x511f53(0x27f)]=0x271a]=_0x511f53(0x27f),_0x203af0[_0x203af0[_0x511f53(0x2db)]=0x271b]=_0x511f53(0x2db),_0x203af0[_0x203af0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x203af0[_0x203af0[_0x511f53(0x25a)]=0x271d]=_0x511f53(0x25a),_0x203af0[_0x203af0[_0x511f53(0x25f)]=0x271e]=_0x511f53(0x25f),_0x203af0[_0x203af0[_0x511f53(0x1bd)]=0x271f]=_0x511f53(0x1bd),_0x203af0[_0x203af0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x511f53(0x21e),_0x203af0[_0x203af0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x203af0[_0x203af0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x511f53(0x333),_0x203af0[_0x203af0[_0x511f53(0x190)]=0x2ee2]='INVALID_INVITE_CODE',_0x203af0[_0x203af0['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x203af0[_0x203af0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x511f53(0x208),_0x203af0[_0x203af0[_0x511f53(0x233)]=0x2ee5]=_0x511f53(0x233),_0x203af0[_0x203af0[_0x511f53(0x348)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x203af0[_0x203af0[_0x511f53(0x40c)]=0x32ca]=_0x511f53(0x40c),_0x203af0[_0x203af0[_0x511f53(0x393)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x203af0[_0x203af0['UNRECOGNIZED']=-0x1]=_0x511f53(0x1de),_0x203af0))(je||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x5a85cd,_0x127a24,_0x138d9c,_0x21246e)=>{for(var _0x39ea3a=_0x21246e>0x1?void 0x0:_0x21246e?ns(_0x127a24,_0x138d9c):_0x127a24,_0x436952=_0x5a85cd['length']-0x1,_0x4655ff;_0x436952>=0x0;_0x436952--)(_0x4655ff=_0x5a85cd[_0x436952])&&(_0x39ea3a=_0x4655ff(_0x39ea3a)||_0x39ea3a);return _0x39ea3a;},ue=(_0x441db7,_0x5b69df)=>(_0x3d77cf,_0x94ae87)=>_0x5b69df(_0x3d77cf,_0x94ae87,_0x441db7);exports[_0x511f53(0x402)]=class extends a[_0x511f53(0x22b)]{constructor(_0x73957b,_0x54091b,_0x701a3b){const _0x4e33c0=_0x511f53;super(),this[_0x4e33c0(0x274)]=_0x73957b,this[_0x4e33c0(0x2b7)]=_0x54091b,this[_0x4e33c0(0x336)]=_0x701a3b;}async[_0x511f53(0x2f7)](_0x267b23,_0x597083,_0x5cf8a1,..._0xbd5d7a){const _0xc2cde4=_0x511f53;var _0x94a902,_0x1dadb5,_0x4e8518,_0x57b0b4;const _0x1702f5=this[_0xc2cde4(0x274)][_0xc2cde4(0x1f1)]();if(!_0x1702f5)throw new Error(_0xc2cde4(0x3b8));const _0x427c25=((_0x94a902=this[_0xc2cde4(0x336)][_0xc2cde4(0x398)](u[_0xc2cde4(0x1ab)]))!=null?_0x94a902:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x267b23+_0xc2cde4(0x22a)+_0x597083,_0x276a44=new URL(window['location']['href']),_0x422bea={'scriptId':_0x267b23,'runId':(_0x1dadb5=_0x276a44[_0xc2cde4(0x395)][_0xc2cde4(0x21f)](_0xc2cde4(0x2c3)))!=null?_0x1dadb5:'','function':_0x597083,'unitId':_0x1702f5[_0xc2cde4(0x22f)](),'argsOfFunction':JSON[_0xc2cde4(0x202)](_0xbd5d7a),'invokeId':(_0x4e8518=_0x5cf8a1[_0xc2cde4(0x18e)])!=null?_0x4e8518:'','executionId':(_0x57b0b4=_0x5cf8a1[_0xc2cde4(0x3f8)])!=null?_0x57b0b4:''};try{const _0x55f302=await this['_httpService']['post'](_0x427c25,{'body':_0x422bea});return _0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x1bc)]&&_0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x1bc)][_0xc2cde4(0x38c)]!==je['OK']?_0xc2cde4(0x1b2):_0x55f302[_0xc2cde4(0x2c8)][_0xc2cde4(0x3ab)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x511f53(0x1be)]),ue(0x1,a['Inject'](G[_0x511f53(0x196)])),ue(0x2,a[_0x511f53(0x36d)])],exports['RemoteUniscriptService']),exports[_0x511f53(0x26f)]=xe,exports[_0x511f53(0x24d)]=Ee,exports[_0x511f53(0x29f)]=we,exports[_0x511f53(0x1b0)]=is,exports[_0x511f53(0x318)]=Be;